Hello all:
I was giving Geany a try on my NetBSD machines. It compiled and ran on both an Athlon XP and my Alpha on the first try with no warnings - good job on the portability!
The trouble came with actually using it. The editor window shows up black on black, and when highlighting anything it stays black.
As far as I can tell, everything else works perfectly - the scratch pad, symbol browser, even the text inside the window is being written correctly as you can see an effect with line numbers after a click and drag.
I doubt Scintilla is the issue as SciTE works on both machines. I suspect something simple but subtle and I'm uncertain where to start looking.
Oh, and for reference, both machines have GTK+/Glib 2.8.16.
On Wed, 3 May 2006 00:25:05 -0400, Aaron Bader sparked@zadzmo.org wrote:
Hi,
I was giving Geany a try on my NetBSD machines. It compiled and ran on both an Athlon XP and my Alpha on the first try with no warnings - good job on the portability!
Thanks, nice to hear that it almost works ;-).
The trouble came with actually using it. The editor window shows up black on black, and when highlighting anything it stays black.
I experienced the same problem under Windows. And after reading the NetBSD manpage of strtod(), I guess that this is the problem. In Geany I use strtod() to read hex colour values from the filetype defintion files for syntax highlighting. strtod() is an ANSI-C function, but the functionality for reading hex colours seems to be added in ANSI-C99 and the NetBSD manpage of strtod() refer to ANSI-C89. I have written my own implementation of strtod, wo only read hex colour values, and using this on NetBSD could solve the problem. To test, I've uploaded a tarball, where my implementation of strtod() is used, to http://www.uvena.de/tmp/geany-0.6netbsd.tar.bz2.
It would be nice, if you could test it and if it works, I will change the Geany code.
regards, Enrico
On Wed, 3 May 2006 16:44:25 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
It would be nice, if you could test it and if it works, I will change the Geany code.
You were right - that tarball worked flawlessly.
My employer has de-facto standardized on Geany now, with the last of us migrating from KDevelop today. We're quite thankful to have something that isn't burning memory anymore.
On Wed, 3 May 2006 17:38:28 -0400, Aaron Bader sparked@zadzmo.org wrote:
On Wed, 3 May 2006 16:44:25 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
It would be nice, if you could test it and if it works, I will change the Geany code.
You were right - that tarball worked flawlessly.
My employer has de-facto standardized on Geany now, with the last of us migrating from KDevelop today. We're quite thankful to have something that isn't burning memory anymore.
I'm thankful that you use it ;-)
happy coding, Enrico