Hi,
Geany 0.11 has been released.
There have been many changes since Geany 0.10.2. An almost complete list can be found on http://geany.uvena.de/Documentation/ReleaseNotes.
Some important notes for existing users: * Tab is now used for construct completion (for, if, etc.), but it is configurable with the new 'Complete construct' keybinding. * Template files are now stored in ~/.geany/templates/ and the 'template.' filename prefix is no longer used. You will need to move any custom template files you have. * Inserting a file header is now optional for filetype templates. Use the string '{fileheader}' to mark where the file header should be placed. * Drag'n'Drop of text inside the editor widget will now move the text instead of copying it.
And the most important new feature: Project Management ;-).
We want to thank all the translators who updated and added their translations as well as the many contributors for this release. 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
For Windows users: There is a new installer based on the Nullsoft Installer and it is available as a base installer which contains Geany with all related files and there is a full installer which contains also a complete GTK runtime environment. If you already have GTK installed on your system, you should use the base installer but it won't hurt if you choose the full installer.
Happy coding, Enrico
Hi Enrico,
Maybe you've noticed an announcement about "powertop" utility released by Intel devs: http://www.linuxpowertop.org/powertop.php
/* PowerTOP is a Linux tool that finds the software component(s) that make your laptop use more power than necessary while it is idle. As of Linux kernel version 2.6.21, the kernel no longer has a fixed 1000Hz timer tick. This will (in theory) give a huge power savings because the CPU stays in low power mode for longer periods of time during system idle. */
So, basically I've seen this on my instance of powertop:
Top causes for wakeups: 44.3% (154.0) firefox-bin : schedule_timeout (process_timeout) 18.1% (62.8) <interrupt> : uhci_hcd:usb3 9.0% (31.2) : do_setitimer (it_real_fn) 6.2% (21.4) <interrupt> : eth0 4.0% (14.0) geany : schedule_timeout (process_timeout)
And here is a irc log with one of the devs:
(10:49:42) kj_synack: guys, what would be suspicious piece of code when looking at source code? (10:49:58) arjan: kj_synack: g_timeout_add() is something to look for in glib/gtk apps 10:50 (10:50:11) kj_synack: arjan: thanx (10:50:11) arjan: select() or poll() syscalls in generic non-glib code (10:50:33) arjan: also nanosleep() in non-glib code (10:50:39) arjan: or usleep()
I don't know if it's possible to improve the code to ensure better battery uptime... I've seen "timeout_add", "nanosleep" when grep in the source code...
Just wanted to share with you guys...
On Mon, 21 May 2007 20:16:16 +0200 / Enrico Tröger wrote: With a subject: [Geany] New Release: Geany 0.11
Hi,
Geany 0.11 has been released.
On Tue, 22 May 2007 11:11:55 +0800, Kamchybek Jusupov kjusupov@gmail.com wrote:
Hi,
Maybe you've noticed an announcement about "powertop" utility released by Intel devs: http://www.linuxpowertop.org/powertop.php
So, basically I've seen this on my instance of powertop:
Top causes for wakeups: 44.3% (154.0) firefox-bin : schedule_timeout (process_timeout) 18.1% (62.8) <interrupt> : uhci_hcd:usb3 9.0% (31.2) : do_setitimer (it_real_fn) 6.2% (21.4) <interrupt> : eth0 4.0% (14.0) geany : schedule_timeout (process_timeout)
I don't know if it's possible to improve the code to ensure better battery uptime... I've seen "timeout_add", "nanosleep" when grep in the source code...
The only timeout_add I found is in Scintilla and it is used among others for the blinking caret. So, it doesn't make much sense to disable it in any way.
Where did you found nanosleep?
There is one select call in the code for using an already running instance. This can be easily disabled by starting Geany with --new-instance (see docs).
Just wanted to share with you guys...
Thanks, nice idea.
Regards, Enrico
Hi Enrico,
I'm not that good at reading the source code :)
On Tue, 22 May 2007 09:43:25 +0200 / Enrico Tröger wrote: With a subject: Re: [Geany] New Release: Geany 0.11
I don't know if it's possible to improve the code to ensure better battery uptime... I've seen "timeout_add", "nanosleep" when grep in the source code...
The only timeout_add I found is in Scintilla and it is used among others for the blinking caret. So, it doesn't make much sense to disable it in any way.
Where did you found nanosleep?
synack@deimos geany-0.11 $ grep -nir "timeout_add" * | cut -f1-2 -d":" data/global.tags:9100 data/global.tags:9101 data/global.tags:12756 data/global.tags:12757 scintilla/ScintillaGTK.cxx:959 src/main.c:753
synack@deimos geany-0.11 $ grep -nir "nanosleep" * | cut -f1-2 -d":" data/global.tags:7652 data/global.tags:13570
There is one select call in the code for using an already running instance. This can be easily disabled by starting Geany with --new-instance (see docs).
Will try that option, and see if any difference...
On Tue, 22 May 2007 16:01:03 +0800, Kamchybek Jusupov kjusupov@gmail.com wrote:
I'm not that good at reading the source code :)
No problem.
Where did you found nanosleep?
synack@deimos geany-0.11 $ grep -nir "timeout_add" * | cut -f1-2 -d":" data/global.tags:9100 data/global.tags:9101 data/global.tags:12756 data/global.tags:12757
global.tags is only a big list of available symbols in certain libraries. This is not source code.
scintilla/ScintillaGTK.cxx:959
The result I mentioned in my last mail.
src/main.c:753
This is only a comment, so not source code.
synack@deimos geany-0.11 $ grep -nir "nanosleep" * | cut -f1-2 -d":" data/global.tags:7652 data/global.tags:13570
See above.
Regards, Enrico