I found the following problems in Win64:
1. On my machine, the correct sourceview dll was named with a
trailing ".1", which had to be removed. Presumably the install unzip
renamed it, rather than overwrite the original.
2. There was a bug in creating a sourcebuffer when sourceview is not
available, fixed now.
3. There is a problem with syntax highlighting in Win64 that I do not
understand. For the nonce, it is disabled in Win64.
The jal code is updated, so you can do more testing on Win64.
The syntax highlighting code that fails in Win64 is in verb newsb1:
...
if. #filename do.
sl=. gtk_source_language_manager_guess_language lm;filename;<<0
end.
if. sl = 0 do.
sl=. gtk_source_language_manager_get_language lm;,DefLang
end.
Both the gtk calls hang in Win64. Perhaps the cd spec is incorrect?
On Tue, Nov 23, 2010 at 11:53 AM, bill lam <[email protected]> wrote:
> Yes, that should be dbstk
> if the gtksourceview dll is there, it is possible that some of dll that
> required by gtksourceview.dll is missing. This can be checked using
> depend.exe
>
> Пнд, 22 Ноя 2010, Dan Bron писал(а):
>> Bill wrote:
>> > modify the file ~addons/gui/gtk/gtk.ijs ...
>>
>> OK, by doing that and running
>>
>> load'debug'
>> dbr 1
>>
>> I got the system into a suspended state.
>>
>> > dbctx''
>> > dbdtk''
>>
>> These commands gave me value errors. It's been a long time since I used
>> debug, but assuming the latter command is just dbstk'' (stack), I think the
>> error is in:
>>
>> gtk_source_language_manager_get_default
>>
>> I ran this with an argument of '' (like in the script) and I get a domain
>> error. That verb's definition is
>>
>> 'libgtksourceview-2.0-0.dll gtk_source_language_manager_get_default >+
>> x'&(15!:0)
>>
>> and so I tried cder'' and got 1 0 which implies J can't find
>> libgtksourceview-2.0-0.dll (though, oddly, cderx gives 0;'The operation
>> completed successfully.').
>>
>> And indeed, I can't seem to find that file (or anything like
>> libgtksourceview*.dll) anywhere under my J7 install. Though digging a
>> little, I did find:
>>
>>
>> http://www.jsoftware.com/svn/addons/trunk/gui/gtk/lib64/libgtksourceview-2.0-0.dll
>>
>> which seems like what I need.
>>
>> That said, I checked out
>> http://projects.gnome.org/gtksourceview/download.html and the only Windows
>> binaries it links to have "win32" in the URL. Changing that to "win64":
>>
>> http://ftp.gnome.org/pub/gnome/binaries/win64/gtksourceview/
>>
>> I see binaries for versions 2.9 and 2.10, but I don't know if these are
>> compatible with the GTK libraries downloaded by getgtkbin .
>>
>> So now I'm kind of stuck.
>>
>> -Dan
>>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm