Hi all,
Geany 0.14 is available!
For a comprehensive list of changes to Geany 0.13, please see http://geany.uvena.de/Documentation/ReleaseNotes. A very detailed and complete list of changes can be found in the ChangeLog, included in the source packages as well as in the Windows binary files.
Some of the highlights: - Add configurable plugin keybindings support. - Add a pkg-config file and install header files for external plugins. - Update PHP tags file to latest PHP API docs (including mysli functions) - Update Scintilla to version 1.76 - Add (basic) column mode editing - Resolve Windows shortcuts when opening files - Make the Version Diffplugin to work on Windows - Improve documentation - and of course many bug fixes and improvements - New translations: Romanian, many updated translations
Notes for Windows users: - Geany currently doesn't run on Windows with GLib version 2.16.0 and above. Please use GLib 2.14.x.
We want to thank all translators who have contributed new or updated translations to this release as well as all people who contributed to this release with patches, feedback, bug reports and so on. Thank you!
All downloads can be found as usual on http://geany.uvena.de/ http://files.uvena.de/geany/ or https://sourceforge.net/project/showfiles.php?group_id=153444
Please note the full installer for Windows (geany-0.13_setup.exe) can only be used on Windows 2000 or newer. Windows 98 users should use the small installer or the zip file together with a GTK 2.6 runtime environment (available on http://gimp-win.sourceforge.net/stable.html).
Happy coding, Enrico
On Sat, 19 Apr 2008 11:52:03 +0200, Enrico Tröger enrico.troeger@uvena.de wrote:
Hi all,
[...]
Please note the full installer for Windows (geany-0.13_setup.exe) can
Of course this should have been geany-0.14_setup.exe (obligatory typo ;-)).
Regards, Enrico
Enrico Tröger wrote:
Hi all,
Geany 0.14 is available!
For a comprehensive list of changes to Geany 0.13, please see http://geany.uvena.de/Documentation/ReleaseNotes. A very detailed and complete list of changes can be found in the ChangeLog, included in the source packages as well as in the Windows binary files.
Some of the highlights:
- Add configurable plugin keybindings support.
- Add a pkg-config file and install header files for external plugins.
- Update PHP tags file to latest PHP API docs (including mysli
functions)
- Update Scintilla to version 1.76
- Add (basic) column mode editing
- Resolve Windows shortcuts when opening files
- Make the Version Diffplugin to work on Windows
- Improve documentation
- and of course many bug fixes and improvements
- New translations: Romanian, many updated translations
Notes for Windows users:
- Geany currently doesn't run on Windows with GLib version 2.16.0 and
above. Please use GLib 2.14.x.
We want to thank all translators who have contributed new or updated translations to this release as well as all people who contributed to this release with patches, feedback, bug reports and so on. Thank you!
All downloads can be found as usual on http://geany.uvena.de/ http://files.uvena.de/geany/ or https://sourceforge.net/project/showfiles.php?group_id=153444
Please note the full installer for Windows (geany-0.13_setup.exe) can only be used on Windows 2000 or newer. Windows 98 users should use the small installer or the zip file together with a GTK 2.6 runtime environment (available on http://gimp-win.sourceforge.net/stable.html).
Happy coding, Enrico
Great! Thanks very much, Enrico (and all others who've contributed... :) ) The new release seems to tick over nicely on my FreeBSD 7.0 box (compiled it from source). One thing I'm wondering... (This pertains to running Haskell code in Geany)
I'm getting into some simple Haskell coding at the moment. I'm using GHC 6.8.2 (the most recent release, I believe). That seems to have two ways of running Haskell code, as follows (say I have a program called prog.hs ) $ runhaskell prog.hs Or.... $ ghc --make prog.hs ( You then execute the binary with "./prog" )
Geany lists the make program as /usr/bin/make (which is ok, that's standard). What I'm wondering is - how should I change that to run my Haskell code in Geany? ( I should mention that when I open my Haskell program, both the "compile" and "execute" buttons are greyed out. ) Very many thanks in advance - - Andy ( p.s. - If (on replying to this) you don't get an immediate reply back from me, it'll be because I'm popping off to bed any minute now - it's not because I'm ungrateful...;) It's getting late here... ;) )
On Sun, 20 Apr 2008 00:16:16 +1200, Andy Elvey andy.elvey@paradise.net.nz wrote:
Enrico Tröger wrote:
Hi all,
Geany 0.14 is available!
[...]
Great! Thanks very much, Enrico (and all others who've contributed... :) )
You should thank Nick at least in the same way as me...he did most of work ;-). And of course, the contributors.
I'm getting into some simple Haskell coding at the moment. I'm using GHC 6.8.2 (the most recent release, I believe). That seems to have two ways of running Haskell code, as follows (say I have a program called prog.hs ) $ runhaskell prog.hs Or.... $ ghc --make prog.hs ( You then execute the binary with "./prog" )
"ghc --make prog.hs" should work, this is the default compile command in Geany for Haskell files.
Geany lists the make program as /usr/bin/make (which is ok, that's standard). What I'm wondering is - how should I change that to run my Haskell code in Geany?
You don't need to change the make command, it's completely independent from the problem.
( I should mention that when I open my Haskell program, both the "compile" and "execute" buttons are greyed out. )
This is the real problem. Start Geany on a console with the command line option "-d" to enable some debug messages and check whether Geany complains about a file filetypes.haskell which can't be opened.
( p.s. - If (on replying to this) you don't get an immediate reply back from me, it'll be because I'm popping off to bed any minute now
- it's not because I'm ungrateful...;) It's getting late here... ;) )
Good night ;-). Or better good morning when you read this...
Regards, Enrico
Enrico Tröger wrote:
On Sun, 20 Apr 2008 00:16:16 +1200, Andy Elvey andy.elvey@paradise.net.nz wrote:
Enrico Tröger wrote:
Hi all,
Geany 0.14 is available!
[...]
Great! Thanks very much, Enrico (and all others who've contributed... :) )
You should thank Nick at least in the same way as me...he did most of work ;-). And of course, the contributors.
I'm getting into some simple Haskell coding at the moment. I'm using GHC 6.8.2 (the most recent release, I believe). That seems to have two ways of running Haskell code, as follows (say I have a program called prog.hs ) $ runhaskell prog.hs Or.... $ ghc --make prog.hs ( You then execute the binary with "./prog" )
"ghc --make prog.hs" should work, this is the default compile command in Geany for Haskell files.
Geany lists the make program as /usr/bin/make (which is ok, that's standard). What I'm wondering is - how should I change that to run my Haskell code in Geany?
You don't need to change the make command, it's completely independent from the problem.
( I should mention that when I open my Haskell program, both the "compile" and "execute" buttons are greyed out. )
This is the real problem. Start Geany on a console with the command line option "-d" to enable some debug messages and check whether Geany complains about a file filetypes.haskell which can't be opened.
( p.s. - If (on replying to this) you don't get an immediate reply back from me, it'll be because I'm popping off to bed any minute now
- it's not because I'm ungrateful...;) It's getting late here... ;) )
Good night ;-). Or better good morning when you read this...
Regards, Enrico
Good morning Enrico! Thanks for that, that's very helpful -
I've started Geany from the console (as suggested) and this is the output I get -
*** Start of output *** $ geany -d ** INFO: Geany 0.14, GTK+ 2.12.1, GLib 2.14.2
(geany:1163): Vte-WARNING **: Error setting PTY size: Resource temporarily unavailable.
(geany:1163): Vte-WARNING **: Error reading PTY size, using defaults: Resource temporarily unavailable. ** INFO: /home/andy/haskell/grades2.hs : Haskell (UTF-8) ** INFO: Failed to open /usr/local/share/geany//filetypes.haskell (No such file or directory) regex: regcomp <h1>[ ]*(.*+)[ ]*</h1>: repetition-operator operand invalid regex: regcomp <h2>[ ]*(.*+)[ ]*</h2>: repetition-operator operand invalid regex: regcomp <h3>[ ]*(.*+)[ ]*</h3>: repetition-operator operand invalid
(geany:1163): Vte-WARNING **: Error reading PTY size, using defaults: Resource temporarily unavailable.
(geany:1163): Vte-WARNING **: Error setting PTY size: Resource temporarily unavailable.
(geany:1163): Vte-WARNING **: Error reading PTY size, using defaults: Resource temporarily unavailable.
(geany:1163): Vte-WARNING **: Error reading PTY size, using defaults: Resource temporarily unavailable. *** End of output ***
Just a note - there is a double-slash just before "filetypes.haskell" above - I wonder if that should be a single-slash?
Anyway, I went into /usr/local/share/gean and there wasn't a filetypes.haskell file there. So, that might be the problem. Thanks again - bye for now - - Andy
On Sun, 20 Apr 2008 09:44:16 +1200, Andy Elvey andy.elvey@paradise.net.nz wrote:
Hi,
I've started Geany from the console (as suggested) and this is the output I get -
*** Start of output *** $ geany -d ** INFO: Geany 0.14, GTK+ 2.12.1, GLib 2.14.2
(geany:1163): Vte-WARNING **: Error setting PTY size: Resource temporarily unavailable.
Huh, what's this? It's completely independent from the original problem but interesting, does the embedded VTE still work for you?
** INFO: Failed to open /usr/local/share/geany//filetypes.haskell (No such file or directory)
This message is the reason why the compile & run buttons don't work.
regex: regcomp <h1>[ ]*(.*+)[ ]*</h1>: repetition-operator operand invalid
Huh again. Did you have opened any HTML files? What distribution are you using?
Just a note - there is a double-slash just before "filetypes.haskell" above - I wonder if that should be a single-slash?
No, the double slash is no problem at all. It has absolutely no effect.
Anyway, I went into /usr/local/share/gean and there wasn't a filetypes.haskell file there. So, that might be the problem.
Yes, it is the problem. How did you install Geany (from source, from package management of your distro, ...)? Do you have any other files /usr/local/share/geany/? If you installed from source, did you use any installation prefix?
In /usr/local/share/geany there should be a file filetypes.haskell together with many other files (filetypes.* and a few others).
Regards, Enrico
( snip )
Anyway, I went into /usr/local/share/gean and there wasn't a filetypes.haskell file there. So, that might be the problem.
Yes, it is the problem. How did you install Geany (from source, from package management of your distro, ...)? Do you have any other files /usr/local/share/geany/? If you installed from source, did you use any installation prefix?
In /usr/local/share/geany there should be a file filetypes.haskell together with many other files (filetypes.* and a few others).
Regards, Enrico
Hi Enrico -
My mistake - sorry...
I'm using FreeBSD 7.0. I originally installed Geany using its package system ( pkg_add -r geany). That was quite an old version (0.10.2, iirc ).
I didn't uninstall that (as I should have) before grabbing the Geany 0.14 source and compiling it (no "custom" settings used) so I'd say that there's "interference" between the two versions. Apologies for that...
I'll do an uninstall of the old version and will go from there. I'm sure that once I add the missing Haskell file, all will be well... ;) Anyway, I'd say the original problem is solved ( the missing "filetypes.haskell" ). Hopefully adding that will activate those two buttons (Compile and Execute).
Thanks again - bye for now - - Andy
On Sun, 20 Apr 2008 11:45:30 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
On Sun, 20 Apr 2008 09:44:16 +1200, Andy Elvey andy.elvey@paradise.net.nz wrote:
regex: regcomp <h1>[ ]*(.*+)[ ]*</h1>: repetition-operator operand invalid
Huh again. Did you have opened any HTML files?
I think this is the problem in tagmanager/html.c:
#define INNER_HEADING "[ \t]*(.*+)[ \t]*"
In (.*+) the + operator is not allowed to follow the * operator, it doesn't make sense. Maybe you meant '(.+)'.
Regards, Nick
On Tue, 22 Apr 2008 15:18:51 +0100, Nick Treleaven nick.treleaven@btinternet.com wrote:
On Sun, 20 Apr 2008 11:45:30 +0200 Enrico Tröger enrico.troeger@uvena.de wrote:
On Sun, 20 Apr 2008 09:44:16 +1200, Andy Elvey andy.elvey@paradise.net.nz wrote:
regex: regcomp <h1>[ ]*(.*+)[ ]*</h1>: repetition-operator operand invalid
Huh again. Did you have opened any HTML files?
I think this is the problem in tagmanager/html.c:
#define INNER_HEADING "[ \t]*(.*+)[ \t]*"
In (.*+) the + operator is not allowed to follow the * operator, it doesn't make sense. Maybe you meant '(.+)'.
Probably I meant this ;-), Fixed in SVN.
One more proof, regular expressions are not my friends...
Regards, Enrico