Re: [Geany-devel] build geany-plugins on Windows

2010-08-24 Thread Enrico Tröger
On Fri, 20 Aug 2010 12:35:48 +0100, Nick wrote: On Fri, 20 Aug 2010 09:48:18 +0200 Johann SAUNIER jsaunier.de...@gmail.com wrote: I need to apply my own patches to Geany and Geany-plugins too, but I now work on Windows. I can build Geany using makefile.win32 but I can't find an equivalent for

Re: [Geany-devel] build geany-plugins on Windows

2010-08-24 Thread Enrico Tröger
On Sat, 21 Aug 2010 01:32:21 -0500, Oliver wrote: Hopefully someone will correct me if wrong. To work with autotools under windows, you need MSYS. I have never had any luck building anything with MSYS, even after googling and reading the instructions. It seems the default plugins that

Re: [Geany-devel] What's the point of compiling geany without regex support?

2010-08-15 Thread Enrico Tröger
On Sun, 15 Aug 2010 13:55:11 +1000, Lex wrote: On 14 August 2010 22:17, Jiří Techet tec...@gmail.com wrote: Hi, I started implementing the idea of indenting based on regular expressions and have noticed that geany can be compiled without regex support. Obviously in this case the indent thing

Re: [Geany-devel] ANN: Geany Plugins 0.19 released

2010-07-31 Thread Enrico Tröger
On Wed, 16 Jun 2010 01:07:18 +0200, Colomban wrote: Hey, PS: @geany devs: wouldn't it be cool to add the domain from where messages comes in the debug window? Not sure it is easily doable, but would probably be better for debugging purpose :) Yes, absolutely. I planned to do this but didn't

Re: [Geany-devel] [PATCH 2/3] Prevent -Wmissing-prototypes report warning when compiling a plugin

2010-06-13 Thread Enrico Tröger
On Sat, 12 Jun 2010 19:46:00 +0200, Jiří wrote: 2010/6/12 Enrico Tröger enrico.troe...@uvena.de: On Thu, 10 Jun 2010 13:33:44 +0200, Jiří wrote: On Thu, Jun 10, 2010 at 13:05, Nick Treleaven nick.trelea...@btinternet.com wrote: On Wed,  9 Jun 2010 21:40:58 +0200 Jiří Techet tec

Re: [Geany-devel] [PATCH] Changebar port from codeblocks

2010-06-13 Thread Enrico Tröger
On Sat, 12 Jun 2010 20:23:56 +0200, Jiří wrote: 2010/6/12 Enrico Tröger enrico.troe...@uvena.de: On Thu, 10 Jun 2010 09:29:18 +1000, Lex wrote: Hi Jiri, I'd recommend that you send your patches as attachments, putting them in the mail body can get them wrapped. +1, Nick also said

Re: [Geany-devel] Git switch

2010-06-13 Thread Enrico Tröger
On Sun, 13 Jun 2010 06:50:57 +0200, Thomas wrote: Maybe it would be a good idea to find some hosting which also has a bug tracker, otherwise it would seem strange to stick to sourceforge for bugs but XY.com for the code hosting. Has anyone tried the sourceforge git hosting? Ah, that raises

Re: [Geany-devel] Git switch

2010-06-13 Thread Enrico Tröger
On Sun, 13 Jun 2010 10:05:26 +1000, Lex wrote: As I'm looking at potential hosting services for the first time, Gitorious and Github don't actually look to me to be any more socially oriented than sourceforge, both seem to emphasise hosting and then offer other apps as well just like

Re: [Geany-devel] Git switch

2010-06-13 Thread Enrico Tröger
On Sat, 12 Jun 2010 21:30:24 +0200, Jiří wrote: This choice will also influence the workflow in which you will use git. If contributors cannot have their branches hosted easily, then the the Linus model (one pusher pulling from contributors) will be harder to realize. I doubt we want that.

Re: [Geany-devel] Git switch

2010-06-13 Thread Enrico Tröger
On Sun, 13 Jun 2010 14:17:54 +0200, Frank wrote: On Sun, 13 Jun 2010 16:14:57 +0400 Eugene Arshinov earshi...@gmail.com wrote: On Sun, 13 Jun 2010 14:11:05 +0200% Frank Lanitz fr...@frank.uvena.de wrote: On Sun, 13 Jun 2010 14:01:02 +0200 Daniel Marjamäki

Re: [Geany-devel] GIO

2010-06-12 Thread Enrico Tröger
On Mon, 07 Jun 2010 15:47:30 -0500, Brad wrote: On 06/06/2010 12:33 PM, Enrico Tröger wrote: On Sat, 05 Jun 2010 09:10:41 -0500, Brad wrote: Hey, The only reason I ask is that it (seems to) solve the GVfs bug issues at least after I applied Алексей's patch and for me

Re: [Geany-devel] [PATCH 2/3] Prevent -Wmissing-prototypes report warning when compiling a plugin

2010-06-12 Thread Enrico Tröger
On Thu, 10 Jun 2010 13:33:44 +0200, Jiří wrote: On Thu, Jun 10, 2010 at 13:05, Nick Treleaven nick.trelea...@btinternet.com wrote: On Wed,  9 Jun 2010 21:40:58 +0200 Jiří Techet tec...@gmail.com wrote: Signed-off-by: Jiří Techet tec...@gmail.com ---  src/plugindata.h |    2 ++ +

Re: [Geany-devel] Build config dialog change

2010-06-12 Thread Enrico Tröger
On Sat, 12 Jun 2010 15:44:06 +1000, Lex wrote: Hi Nick, Enrico, Jiri, I have made a version of build such that In the build config dialogs, that is both set build commands dialog and project properties tab: 1. settings being overridden from another source are insensitive (current

[Geany-devel] ANN: Geany 0.19 released

2010-06-12 Thread Enrico Tröger
Hi all, we are happy to announce a new release of Geany! For a comprehensive list of changes in Geany 0.19, please see Release Notes. A very detailed and complete list of changes can be found in the ChangeLog. Some of the highlights: * Build system reworked to be much more configurable (by Lex

Re: [Geany-devel] [PATCH] Doclist dirnames collapsing

2010-06-06 Thread Enrico Tröger
On Sun, 6 Jun 2010 10:28:03 +0400, Eugene wrote: On Fri, 4 Jun 2010 10:43:02 +0400% Eugene Arshinov earshi...@gmail.com wrote: Hi. This patch seems to fix collapsing dirnames in doclist to current project's base path if the latter contains trailing directory separator. Best

Re: [Geany-devel] [Patch] memory leaks in tagmanager/tm_workspace.c

2010-06-06 Thread Enrico Tröger
On Sun, 6 Jun 2010 02:49:46 -0700, Daniel wrote: Hello! This code has memory leaks, either if theWorkspace is NULL or if the fopen fails. Thanks a lot. Committed. You are the #1 memleak hunter :). Good job! Regards, Enrico -- Get my GPG key from http://www.uvena.de/pub.asc

Re: [Geany-devel] Planning the 0.19 release

2010-06-06 Thread Enrico Tröger
On Thu, 6 May 2010 16:10:40 +0100, Nick wrote: Hi all, Just a quick mail to let everyone know we're planning to make a Geany 0.19 release once everything is ready. We're thinking of early June but this may change ;-) I didn't manage to make the release this weekend (problems with my internet

Re: [Geany-devel] GIO

2010-06-06 Thread Enrico Tröger
On Sat, 05 Jun 2010 09:10:41 -0500, Brad wrote: Hey, The only reason I ask is that it (seems to) solve the GVfs bug issues at least after I applied Алексей's patch and for me that is really a Which patch exactly? I was following the other Safe file saving - permissions issue thread but

Re: [Geany-devel] DebianBug#583833: geany -g: /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory on x86_64

2010-06-03 Thread Enrico Tröger
On Wed, 2 Jun 2010 15:09:12 -0300, Damián wrote: Thanks for your bug report Julian I dug up a little more and... This is a consequence of geany using -undef on the gcc call to pre-process the .h files. src/symbols.c:1316 int symbols_generate_global_tags(int argc, char **argv, gboolean

Re: [Geany-devel] [Patch] Fix resource leak in tagmanager/tm_workspace.c

2010-06-03 Thread Enrico Tröger
On Tue, 1 Jun 2010 08:13:05 -0700, Daniel wrote: Hello! This patch fixes possible resource leaks in tagmanager/tm_workspace.c Good catch. Thank you. Regards, Enrico -- Get my GPG key from http://www.uvena.de/pub.asc signature.asc Description: PGP signature

Re: [Geany-devel] [PATCH] New instance indication

2010-06-03 Thread Enrico Tröger
On Mon, 31 May 2010 11:08:57 +0400, Eugene wrote: Hi. Here are two trivial patches to add indication to status bar or title. I think indication is needed as sometimes it's still important for user to distinguish main and secondary instances. Personally I vote for indication in title (I

Re: [Geany-devel] multiple instance save-settings - Re: Race condition when saving geany.conf

2010-06-03 Thread Enrico Tröger
On Sun, 30 May 2010 22:43:54 +0400, Eugene wrote: Or, as another option, we can remove automatic saving of preferences when closing. As preferences are saved immediately after Preferences dialog is closed, this option wouldn't do any harm. Or would it? The historical

Re: [Geany-devel] multiple instance save-settings - Re: Race condition when saving geany.conf

2010-05-30 Thread Enrico Tröger
On Thu, 20 May 2010 22:52:49 +0400, Eugene wrote: Hey, sorry for the delay, I just don't manage to keep up with this stuff :(. Or, as another option, we can remove automatic saving of preferences when closing. As preferences are saved immediately after Preferences dialog is closed,

Re: [Geany-devel] [Patch] tagmanager/sort.c - g_malloc -- use g_free instead of free

2010-05-30 Thread Enrico Tröger
On Sat, 29 May 2010 13:46:22 -0700, Daniel wrote: Hello! Just a simple fix of a mismatching deallocation. Commit, thanks. Regards, Enrico -- Get my GPG key from http://www.uvena.de/pub.asc signature.asc Description: PGP signature ___

Re: [Geany-devel] About translation of plugin name and description

2010-05-30 Thread Enrico Tröger
On Fri, 14 May 2010 18:03:13 +0200, Enrico wrote: Hi, Hum, more seriously: I already tried (by using direct gettext calls) and yes -- I would say of course -- it works fine. Even better, you succeeded to make me hack Geany in order to implement it directly (see attached patch) and yes

Re: [Geany-devel] Geany-Plugins: DATADIR - GEANYPLUGINS_DATADIR

2010-05-25 Thread Enrico Tröger
On Sun, 23 May 2010 21:28:02 -0500, Oliver wrote: Hey, Not to be a bother, but how will this effect windows/portablization? The current method of portablization for the windows package uses the -c DATALOCATION switch. Will the plugins still use this specified I guess you are talking

Re: [Geany-devel] [geany-plugins] questions about the geany-plugins build system

2010-05-23 Thread Enrico Tröger
On Sun, 23 May 2010 00:10:43 +0200, Colomban wrote: Colomban Wendling a écrit : Frank Lanitz a écrit : Well, adding to the waf system is quiet easy, so maybe you like to start there. I'll take a look too but since I never used waf I was quite suspicious :-° Well, I tried to make the

Re: [Geany-devel] [Patch] Expand plugin preference page

2010-05-23 Thread Enrico Tröger
On Sat, 22 May 2010 22:14:19 +0200, Colomban wrote: Hey, While creating the preference dialog of my plugin I noticed that the widget that plugin_configure() creates is packed without expending, which obviously avoids widgets to expand in a plugin preference page. I then suggest to change

[Geany-devel] Geany-Plugins: DATADIR - GEANYPLUGINS_DATADIR

2010-05-23 Thread Enrico Tröger
Hey guys, today I renamed the globally defined DATADIR macro ($prefix/share) to GEANYPLUGINS_DATADIR. The reason for this is that on Windows, DATADIR is defined in a header file which is implicitly included by windows.h and this would lead to compilation errors when DATADIR is defined by the

Re: [Geany-devel] [Geany] Planning the 0.19 release

2010-05-23 Thread Enrico Tröger
On Thu, 6 May 2010 16:10:40 +0100, Nick wrote: Hi all, Just a quick mail to let everyone know we're planning to make a Geany 0.19 release once everything is ready. We're thinking of early June but this may change ;-) So if anyone wants to help test the SVN version, now's a good time to do

Re: [Geany-devel] altername session management implementation

2010-05-19 Thread Enrico Tröger
On Wed, 19 May 2010 14:17:52 +0300, Dimitar wrote: Hi, all, This is an alternate implementation of Eugene's X11 session support. The main difference is that the state each running Geany is saved into a separate temporary Geany configuration file. Each Geany is restored exactly it was

Re: [Geany-devel] beginner question - plugins

2010-05-19 Thread Enrico Tröger
On Wed, 19 May 2010 19:28:01 +0200, Frank wrote: On Wed, 19 May 2010 09:15:39 -0700 Daniel Marjamaki daniel...@spray.se wrote: Hello! I have read the howto for plugin developers. It says: If all went OK, put the library into one of the paths Geany looks for plugins, e.g.

Re: [Geany-devel] Prevent un-needed save as

2010-05-16 Thread Enrico Tröger
On Sun, 16 May 2010 13:07:18 +1000, Lex wrote: Heya, This came up on thread [Geany-devel] Safe file saving - permissions issue but isn't actually a problem with the filesystem, its just exposed by filesystem problems. Thanks for breaking the thread. When a file goes missing and the user

Re: [Geany-devel] extra selection plugin

2010-05-16 Thread Enrico Tröger
On Sat, 15 May 2010 15:45:39 +0300, Dimitar wrote: On Fri, 14 May 2010 22:45:27 +0200 Frank Lanitz fr...@frank.uvena.de wrote: I added a small plugin that: [...] This sounds great. Could you add a bit more documentation how it works to README maybe? [...] Will do. BTW, does

Re: [Geany-devel] Mircea Hasegan from Romania

2010-05-14 Thread Enrico Tröger
On Thu, 13 May 2010 22:26:55 +0300, mircea.hase...@gmail.com wrote: Hi Mircea, My name is Mircea Hasegan and I'm from Romania. I've been working for 3 years in a multinational company as a developer (TCL scripter to be more exact). Recently i decided to switch from Windows to Linux. The

Re: [Geany-devel] Mircea Hasegan from Romania

2010-05-14 Thread Enrico Tröger
On Fri, 14 May 2010 15:56:35 +0200, Enrico wrote: On Thu, 13 May 2010 22:26:55 +0300, mircea.hase...@gmail.com wrote: Hi Mircea, My name is Mircea Hasegan and I'm from Romania. I've been working for 3 years in a multinational company as a developer (TCL scripter to be more exact).

Re: [Geany-devel] [patch] Improved documents list sorting

2010-05-14 Thread Enrico Tröger
On Sat, 8 May 2010 14:24:21 +0200, Enrico wrote: On Tue, 27 Apr 2010 18:05:05 +0200, Colomban wrote: Enrico Tröger a écrit : On Tue, 27 Apr 2010 16:54:48 +0200, Enrico wrote: On Mon, 26 Apr 2010 15:42:25 +0200, Colomban wrote: Hi! Ho! Hey! It might be better

Re: [Geany-devel] About translation of plugin name and description

2010-05-14 Thread Enrico Tröger
On Tue, 11 May 2010 00:54:36 +0200 (CEST), Colomban wrote: On Mon, 10 May 2010 00:12:47 +0200 (CEST), Colomban wrote: Hi, I just wondered why my plugin's name and description wasn't translated since every other part of my plugin was. But a little thinking made me realize it's

Re: [Geany-devel] Safe file saving - permissions issue

2010-05-14 Thread Enrico Tröger
On Sat, 03 Apr 2010 04:20:14 +0200, Colomban wrote: Hi all, sorry for the long delay, I couldn't make myself into this topic again. I think the best way is to use GIO when possible, since it is meant for that; and it is unrealistic to handle each and every limitation of I'm unsure what we

Re: [Geany-devel] About translation of plugin name and description

2010-05-10 Thread Enrico Tröger
On Mon, 10 May 2010 00:12:47 +0200 (CEST), Colomban wrote: Hi, I just wondered why my plugin's name and description wasn't translated since every other part of my plugin was. But a little thinking made me realize it's completely normal: of course bindtextdomain() wasn't already called for

Re: [Geany-devel] GtkRecentManager slowness - Re: [patch] Improved documents list sorting

2010-05-09 Thread Enrico Tröger
On Sun, 9 May 2010 15:33:47 +0200 (CEST), Colomban wrote: On Sat, 8 May 2010 15:37:53 +0200 (CEST), lists@herbesfolles.org wrote: On Thu, 29 Apr 2010 18:47:41 +0200, Colomban wrote: Nick Treleaven a écrit : On Thu, 29 Apr 2010 17:46:45 +0200 Enrico Tröger

Re: [Geany-devel] Small match brace change proposition

2010-05-08 Thread Enrico Tröger
On Thu, 6 May 2010 17:42:24 +0300, Dimitar wrote: Hi, What do you think about changing the match brace function a bit, making it work the same as in SciTE? That is: 1. When the cursor is before/on an opening brace, MB should move it after the closing brace, and when it's before/on a

Re: [Geany-devel] [Patch] Crash on tag generation

2010-05-08 Thread Enrico Tröger
On Sat, 8 May 2010 15:51:46 +0200 (CEST), lists@herbesfolles.org wrote: Hi, I've a few days ago that the tag generation crashes with Geany SVN. I just searched a little and figured out it is because documents_array isn't properly initialized when generating tags. Then as usual, there's

Re: [Geany-devel] hello (self introduction)

2010-05-06 Thread Enrico Tröger
On Thu, 6 May 2010 19:16:44 +1000, Lex wrote: Hey, welcome Avi. I didn't really followed the thread so far but feel free to improve the current behaviour. Patches are welcome. But one little advice: continue the discussion about this in a new thread or change the subject of the existing

Re: [Geany-devel] [patch] Improved documents list sorting

2010-04-29 Thread Enrico Tröger
On Wed, 28 Apr 2010 14:08:47 +0200, Colomban wrote: Thomas Martitz a écrit : 40 seconds for 235 files here. Still largely annoying, I frequently switch projects which is basically a pain. This 235 are part of a project. A real one which I use, not just a test case. Can the recent manager be

Re: [Geany-devel] Question about building Geany on Windows

2010-04-27 Thread Enrico Tröger
On Tue, 27 Apr 2010 15:28:05 +0100, Nick wrote: On Tue, 27 Apr 2010 13:51:58 +0200 Krasimir Angelov kr.ange...@gmail.com wrote: I use GTK 2.20. From the ChangeLog: Win32 – XP themes have been disabled since they don’t work http://www.gtk.org/ I can't state on GTK 2.20 but as Nick said, GTK

Re: [Geany-devel] [patch] Improved documents list sorting

2010-04-27 Thread Enrico Tröger
On Mon, 26 Apr 2010 15:42:25 +0200, Colomban wrote: Hi! Ho! As some of you might have noticed, the sorting in the Documents side panel is not perfect when extensions are involved. For example, if you have the three files a.c, a.h and a-b.c, they will be sorted in the following order [1]:

Re: [Geany-devel] [patch] Improved documents list sorting

2010-04-27 Thread Enrico Tröger
On Tue, 27 Apr 2010 16:54:48 +0200, Enrico wrote: On Mon, 26 Apr 2010 15:42:25 +0200, Colomban wrote: Hi! Ho! As some of you might have noticed, the sorting in the Documents side panel is not perfect when extensions are involved. For example, if you have the three files a.c, a.h and a-b.c,

[Geany-devel] Improvements of nightly builds

2010-04-27 Thread Enrico Tröger
Hey, just for your information: some time ago, I set up two other systems to create nightly builds for Debian Stable (i386) and ArchLinux (i686), with corresponding package repositories of course. And with the help of Dominic, now we also have nightly builds for Fedora 12 i686. Thank you! All

Re: [Geany-devel] [patch] Improved documents list sorting

2010-04-27 Thread Enrico Tröger
On Tue, 27 Apr 2010 18:05:05 +0200, Colomban wrote: Enrico Tröger a écrit : On Tue, 27 Apr 2010 16:54:48 +0200, Enrico wrote: On Mon, 26 Apr 2010 15:42:25 +0200, Colomban wrote: Hi! Ho! Hey! It might be better to take the more memory to get a little more speed, i.e. to not loose too

Re: [Geany-devel] In-memory tagmanager parsing

2010-04-25 Thread Enrico Tröger
On Tue, 20 Apr 2010 11:48:30 -0400, jordan wrote: On 04/20/2010 10:45 AM, Colomban Wendling wrote: Nick Treleaven a écrit : On Tue, 20 Apr 2010 10:10:33 -0400 jordan phosp...@primus.ca wrote: How does Monodevelop handle it's tag manager as unlike Anjuta and Geany the tags always

Re: [Geany-devel] ctags - Re: In-memory tagmanager parsing

2010-04-25 Thread Enrico Tröger
On Tue, 20 Apr 2010 17:41:59 +0100, Nick wrote: On Tue, 20 Apr 2010 16:53:23 +0200 Thomas Martitz thomas.mart...@student.htw-berlin.de wrote: Am 20.04.2010 15:56, schrieb Nick Treleaven: I think we should try to stay fairly compatible with CTags as other projects use it also and may make

Re: [Geany-devel] [patch] Little code/warnings cleanup (was Re: [patch] Constify some arguments and fields)

2010-04-25 Thread Enrico Tröger
On Thu, 22 Apr 2010 23:56:35 +0200, Colomban wrote: On quite the same topic, would a patch that fixes a lot of small problems like that in Geany's core be appreciated? It isn't hard to do but I think it would clean the code a bit. Yes, but only if it's clear that const is really meant, not

Re: [Geany-devel] [patch] Little code/warnings cleanup (was Re: [patch] Constify some arguments and fields)

2010-04-25 Thread Enrico Tröger
On Sun, 25 Apr 2010 14:25:30 +0200, Colomban wrote: * main.c:1212+: What's that malloc stuff for??? These functions aren't even used... http://geany.svn.sf.net/viewvc/geany?view=revrevision=1596 and see http://lists.uvena.de/pipermail/geany/2007-June/001093.html for the discussion about

Re: [Geany-devel] In-memory tagmanager parsing

2010-04-19 Thread Enrico Tröger
On Mon, 19 Apr 2010 16:34:12 +0100, Nick wrote: On Mon, 19 Apr 2010 00:34:42 +0200 Enrico Tröger enrico.troe...@uvena.de wrote: For now the only defect I saw (with C) is with anonymous enumerations and so (that are named anon_enum_NUM) with which the NUM increases at each re-parsing (I use

Re: [Geany-devel] Auto-completion of struct/class (C/C++) members overriden by normal auto-completion

2010-04-19 Thread Enrico Tröger
On Mon, 19 Apr 2010 14:44:31 +0200, Thomas wrote: Alright, my first attempt introduced a regression, so I updated my git repo with another proposed fix (http://repo.or.cz/w/geany-mirror/kugel-geany.git/commit/ac00187ad4105872b391541dca6c102bfeb0bca7). Committed, thanks Thomas. Regards,

Re: [Geany-devel] [Patch] - Improve PHP parser (call tips)

2010-04-18 Thread Enrico Tröger
On Sun, 18 Apr 2010 03:05:53 +0200, Dominic wrote: Am Samstag, den 17.04.2010, 18:14 +0200 schrieb Enrico Tröger: I spent a little more time on this again hoping to get it fixed. In SVN r4828, I adjusted the regular expression for parsing PHP functions a bit and I think it works now

Re: [Geany-devel] Function Definition

2010-04-18 Thread Enrico Tröger
On Fri, 16 Apr 2010 20:39:59 +0200, Colomban wrote: jordan a écrit : As Enzo said, there is the scope to determine if a particular line is part of a function or not, but its is not supported by every tag generator used by Geany. What I personally chose was to walk the tag list and find the

Re: [Geany-devel] Auto-completion of struct/class (C/C++) members overriden by normal auto-completion

2010-04-18 Thread Enrico Tröger
On Sat, 17 Apr 2010 18:02:19 +0200, Thomas wrote: Hey, I think I found a bug. If you have a struct completition list open (e.g. after typing the dot after foo where foo is an instance of a struct) you normally get a completion list with only the members. If you then type further until you typed

Re: [Geany-devel] [Patch] - Improve PHP parser (call tips)

2010-04-18 Thread Enrico Tröger
On Sun, 18 Apr 2010 03:05:53 +0200, Dominic wrote: Am Samstag, den 17.04.2010, 18:14 +0200 schrieb Enrico Tröger: On Mon, 8 Mar 2010 23:40:08 +0100, Enrico wrote: On Mon, 8 Mar 2010 12:18:39 +, Nick wrote: On Sun, 7 Mar 2010 19:20:37 +0100 Enrico Tröger enrico.troe...@uvena.de wrote

Re: [Geany-devel] In-memory tagmanager parsing

2010-04-18 Thread Enrico Tröger
/c.c). I always tried to touch it as less than possible as it is very complex and very easy to break it :(. Then, I would like to know what else didn't work, what need to be fixed, etc.; because I'd really love to have it working. The parsers... Enrico Tröger wrote: (on thread Function

Re: [Geany-devel] txt2tags tagmanager patch

2010-04-17 Thread Enrico Tröger
On Mon, 7 Sep 2009 12:49:23 +0100, Nick wrote: On Sun, 6 Sep 2009 22:57:24 +0200 Enrico Tröger enrico.troe...@uvena.de wrote: One question: in txt2tags,c line 89, there is a check ... if (line[0] == '°') ... which doesn't make much sense as you check line[0] which is one byte long (8bit

Re: [Geany-devel] [Patch] - Improve PHP parser (call tips)

2010-04-17 Thread Enrico Tröger
On Mon, 8 Mar 2010 23:40:08 +0100, Enrico wrote: On Mon, 8 Mar 2010 12:18:39 +, Nick wrote: On Sun, 7 Mar 2010 19:20:37 +0100 Enrico Tröger enrico.troe...@uvena.de wrote: You put a weird pattern: [public|protected|private|static]* If you wanted to group, you should use () I didn't

Re: [Geany-devel] [Patch] - Improve PHP parser (call tips)

2010-04-17 Thread Enrico Tröger
On Wed, 14 Apr 2010 15:14:47 +0200, Harold wrote: 2010/3/7 Enrico Tröger enrico.troe...@uvena.de: On Fri, 5 Mar 2010 12:21:25 -0800 (PST), Can wrote: Hi, The following patch adds call tips for functions in PHP code. The regex pattern for function parameters is not optimal, but should work

Re: [Geany-devel] geany layout

2010-04-11 Thread Enrico Tröger
On Sat, 10 Apr 2010 20:57:47 +1000, Lex wrote: On 10 April 2010 18:37, Enzo Matrix enzo...@abv.bg wrote: Hello all, i want to share one my ide about geany interface layout and if somebody be interests about it. Append toolbar to menu is really nice option but i think that my idea can

Re: [Geany-devel] Question about using scintilla to create a simple debug plugin

2010-04-06 Thread Enrico Tröger
On Tue, 6 Apr 2010 01:26:06 +0200, Lai Hoang Nam laihoang...@gmail.com wrote: Hi, I'm trying to create a simple debug plugin for Geany and I want to work with the markers. Additionally to what Lex said, your code is slightly wrong which explains the crashes. Why it works on startup is

Re: [Geany-devel] Perl 5.8 vs. 5.10 and default Perl Compile command

2010-04-05 Thread Enrico Tröger
On Sat, 3 Apr 2010 17:42:11 +0200, Enrico wrote: On Fri, 02 Apr 2010 16:46:30 +0300, Serge wrote: В Чтв, 01/04/2010 в 12:46 +0100, Nick Treleaven пишет: I think it's okay to change the default compile command to `perl -c %f`. I actually already did this for me a few weeks ago. :)

Re: [Geany-devel] Perl 5.8 vs. 5.10 and default Perl Compile command

2010-04-03 Thread Enrico Tröger
On Fri, 02 Apr 2010 16:46:30 +0300, Serge wrote: В Чтв, 01/04/2010 в 12:46 +0100, Nick Treleaven пишет: I think it's okay to change the default compile command to `perl -c %f`. I actually already did this for me a few weeks ago. :) Sounds good - this actually works with my

Re: [Geany-devel] Safe file saving - permissions issue

2010-03-30 Thread Enrico Tröger
On Tue, 30 Mar 2010 16:28:25 +0400, Алексей wrote: Hi, I've found one more issue with Geany's Safe file saving option. When using g_file_set_contents(), file ownership and permissions are replaced with those for a new file. That fully conforms to GLib documentation

Re: [Geany-devel] [PATCH] Fix cursor movement when toggling comments.

2010-03-25 Thread Enrico Tröger
On Fri, 12 Mar 2010 20:05:01 +0100, Thomas wrote: The attached patch fixes that the cursor jumps sometimes when toggling comments. The cause was slightly confused math. It also works fine with empty lines. Finally applied in SVN. Thanks a lot. There's another issue with comment toggling which

Re: [Geany-devel] Scintilla 2.03 Update

2010-03-20 Thread Enrico Tröger
On Tue, 16 Mar 2010 23:53:46 +0100, Enrico wrote: On Thu, 11 Mar 2010 20:26:18 +0100, Enrico wrote: On Tue, 09 Mar 2010 00:14:25 +0100, Colomban wrote: Hi, Enrico Tröger wrote: On Mon, 08 Mar 2010 23:22:08 +0100, Colomban wrote: Hey, Interesting stuff indeed! But there's a major (small

Re: [Geany-devel] [PATCH] Report lambdas as functions in Python tagmanager

2010-03-16 Thread Enrico Tröger
On Tue, 16 Mar 2010 19:23:32 +0100, Colomban wrote: Hi, Nick Treleaven a écrit : On Thu, 11 Mar 2010 15:29:48 +0100 Colomban Wendling lists@herbesfolles.org wrote: Here's a small patch that adds support for lambdas in the Python tagmanager. What it does it report Python's lambdas as

Re: [Geany-devel] Build command labels as buttons

2010-03-11 Thread Enrico Tröger
On Thu, 11 Mar 2010 09:08:10 +1100, Lex wrote: On 11 March 2010 04:19, Nick Treleaven nick.trelea...@btinternet.comwrote: Hi, I've made a screenshot (attached) of the Build Commands dialog using buttons for the menu item labels instead of text entries. This is because: 1. It makes it clear

Re: [Geany-devel] [PATCH] Fix frames' padding in the prefs dialog

2010-03-11 Thread Enrico Tröger
On Wed, 10 Mar 2010 22:11:43 +0300, Eugene wrote: Hi. Disposition and padding of frames within the Preferences dialog is now inconsistent. This patch fixes it (in my opinion). Somebody, please review and commit/ignore it. Could you go a bit into details? The patch is a bit hard to read (which

Re: [Geany-devel] [Patch] - Improve PHP parser (call tips)

2010-03-08 Thread Enrico Tröger
On Mon, 8 Mar 2010 12:18:39 +, Nick wrote: On Sun, 7 Mar 2010 19:20:37 +0100 Enrico Tröger enrico.troe...@uvena.de wrote: You put a weird pattern: [public|protected|private|static]* If you wanted to group, you should use () I didn't want to group, we don't need to know the actual

Re: [Geany-devel] [Patch] - Improve PHP parser (call tips)

2010-03-08 Thread Enrico Tröger
On Mon, 8 Mar 2010 12:15:39 -0800 (PST), Can wrote: well, who the hell are you? As Dominic said, Thomas is a regular Geany user and contributor, a nice guy and not less important, just a subscriber to this list as you and I are as well. This is a public mailing list, where anyone can state his

Re: [Geany-devel] [Patch] - Improve PHP parser (call tips)

2010-03-08 Thread Enrico Tröger
On Mon, 8 Mar 2010 11:23:30 -0800 (PST), Can wrote: From: Nick Treleaven nick.trelea...@btinternet.com Subject: Re: [Geany-devel] [Patch] - Improve PHP parser (call tips) To: geany-devel@uvena.de Date: Monday, March 8, 2010, 12:18 PM On Sun, 7 Mar 2010 19:20:37 +0100 Enrico Tröger

Re: [Geany-devel] Scintilla 2.03 Update

2010-03-08 Thread Enrico Tröger
On Mon, 08 Mar 2010 23:22:08 +0100, Colomban wrote: Hey, Interesting stuff indeed! But there's a major (small, but I use it often) change that can (is, for me) be very annoying: middle-click somewhere /always/ places the cursor on the click position, even if virtual spaces are disabled. Why is

[Geany-devel] Scintilla 2.03 Update

2010-03-07 Thread Enrico Tröger
Hey guys, I just updated our Scintilla copy to its latest version 2.03. This brings some bugfixes but most importantly it adds a new feature: virtual spaces. There is a new preference in the Preferences dialog, Editor-Display tab to enable and disable it. There is another new feature called

[Geany-devel] Geany's Markdown lexer

2010-03-07 Thread Enrico Tröger
Hey Jon, while updating Geany's copy of Scintilla, I noticed we are using a different version of the Markdown lexer than the one in Scintilla. What's the better/newer/fancier one? I didn't have a closer look at the differences, so I'm not sure which one to use. Currently, we still use the one

Re: [Geany-devel] multiple instance save-settings - Re: Race condition when saving geany.conf

2010-03-07 Thread Enrico Tröger
On Sun, 07 Mar 2010 01:17:03 +0100, Thomas wrote: On 05.03.2010 22:49, Dominic Hopf wrote: Am Freitag, den 05.03.2010, 16:54 + schrieb Nick Treleaven: On Tue, 02 Mar 2010 18:50:28 +0100 Thomas Martitzthomas.mart...@student.htw-berlin.de wrote: (If a second instance of geany

Re: [Geany-devel] multiple instance save-settings - Re: Race condition when saving geany.conf

2010-03-07 Thread Enrico Tröger
On Mon, 1 Mar 2010 08:21:43 +1100, Lex wrote: 2010/3/1 Enrico Tröger enrico.troe...@uvena.de On Fri, 26 Feb 2010 15:15:02 +, Nick wrote: On Wed, 24 Feb 2010 12:04:20 +0300 Eugene Arshinov earshi...@gmail.com wrote: Hi all. When several instances of Geany quit in the same time

Re: [Geany-devel] [Patch] - Fix keyboard accelerator on Resave Missing File dialog.

2010-03-07 Thread Enrico Tröger
On Thu, 4 Mar 2010 08:15:44 +1100, Lex wrote: On 2 March 2010 22:41, Eugene Arshinov earshi...@gmail.com wrote: On Tue, 2 Mar 2010 13:07:55 +1100% Lex Trotman ele...@gmail.com wrote: On 2 March 2010 09:53, Can Koy can...@ymail.com wrote: OK, you send a patch then. Well, since

Re: [Geany-devel] geany_debug for plugins patch

2010-02-28 Thread Enrico Tröger
On Fri, 26 Feb 2010 23:04:39 -0800, Tony wrote: Here's a patch that allows plugins to use *geany_debug*, for your consideration. I'm not real happy about the way things have to be named to conform to the existing conventions (requiring a new struct named * GeanyFuncs*, which might be easily

Re: [Geany-devel] Adding an R parser

2010-02-28 Thread Enrico Tröger
On Wed, 24 Feb 2010 09:25:25 +0100, Jon wrote: On Mon, 22 Feb 2010 23:27:36 +0100 Enrico Tröger enrico.troe...@uvena.de wrote: On Mon, 22 Feb 2010 12:48:52 +0100, Jon wrote: Heya, And here's the updated patch for the filetypes.r file. Adds T and F and corrects some overlapping

Re: [Geany-devel] Race condition when saving geany.conf

2010-02-28 Thread Enrico Tröger
On Sat, 27 Feb 2010 17:49:06 +0100, Dominic wrote: Am Mittwoch, den 24.02.2010, 12:04 +0300 schrieb Eugene Arshinov: Hi all. When several instances of Geany quit in the same time, there is a high possibility of a conflict. I can reproduce it easily on my machine, using either trunk or SM

Re: [Geany-devel] Race condition when saving geany.conf

2010-02-28 Thread Enrico Tröger
On Sun, 28 Feb 2010 14:20:08 +0100, Enrico wrote: On Sat, 27 Feb 2010 17:49:06 +0100, Dominic wrote: Am Mittwoch, den 24.02.2010, 12:04 +0300 schrieb Eugene Arshinov: Hi all. When several instances of Geany quit in the same time, there is a high possibility of a conflict. I can reproduce it

Re: [Geany-devel] multiple instance save-settings - Re: Race condition when saving geany.conf

2010-02-28 Thread Enrico Tröger
On Fri, 26 Feb 2010 15:15:02 +, Nick wrote: On Wed, 24 Feb 2010 12:04:20 +0300 Eugene Arshinov earshi...@gmail.com wrote: Hi all. When several instances of Geany quit in the same time, there is a high possibility of a conflict. I can reproduce it easily on my machine, using either

Re: [Geany-devel] [Patch] - Modify Space behaviour on Symbols tabs

2010-02-28 Thread Enrico Tröger
On Thu, 25 Feb 2010 07:58:48 -0800 (PST), Can wrote: Space and Enter keys do the same thing on Symbols tab. The following patch modifies that of Space key, so it only scrolls to corresponding symbol on editor but retains focus on Symbols tab. Thanks for the patch, committed with slight

Re: [Geany-devel] [Patch] - Modify Enter behaviour on Compiler and Messages windows

2010-02-28 Thread Enrico Tröger
On Sun, 28 Feb 2010 04:50:49 -0800 (PST), Can wrote: Space and Enter keys do the same thing on Compiler and Messages windows. The following patch modifies that of Enter key, so it switches focus to editor after scrolling to corresponding line. Committed, thanks. Regards, Enrico -- Get my GPG

[Geany-devel] RSS feed for Geany website news

2010-02-22 Thread Enrico Tröger
Hey guys, as some of you might remember we have RSS feeds for the Geany website for almost all subpages, simply by attaching ?acton=rss to the URL[1]. As requested in [2], now we also have a default RSS feed [3] which enumerates the website's news items, mostly release announcements. [1]

Re: [Geany-devel] Adding an R parser

2010-02-22 Thread Enrico Tröger
On Mon, 22 Feb 2010 12:48:52 +0100, Jon wrote: Heya, And here's the updated patch for the filetypes.r file. Adds T and F and corrects some overlapping definitions. Highlighting only works properly in conjunction with the modified version of LexR.cxx. committed, thanks Jon. Regards, Enrico --

Re: [Geany-devel] Command-line option to open a project (was: Questions about Geany project support)

2010-02-21 Thread Enrico Tröger
On Mon, 15 Feb 2010 14:12:48 +0300, Eugene wrote: Hi all. Here is the last question. Preface. Currently if the first filename passed via command-line has .geany extension, it's opened as a project. If I implement project support in SM using this behaviour, there will be a little trouble. The

Re: [Geany-devel] Adding an R parser

2010-02-21 Thread Enrico Tröger
On Fri, 19 Feb 2010 10:34:59 +0100, Jon wrote: On Fri, 19 Feb 2010 08:53:28 + Liviu Andronic landronim...@gmail.com wrote: I am currently using Geany for my R needs, and I was curious whether the patch provides something more than the current syntax highlighting support. If so, wouldn't it

Re: [Geany-devel] Creating a new window in Geany plugin

2010-02-21 Thread Enrico Tröger
On Thu, 18 Feb 2010 17:25:05 +, Nick wrote: On Wed, 17 Feb 2010 19:58:38 +0100 Lai Hoang Nam laihoang...@gmail.com wrote: I'm developping a plugin for Geany and the objective is to create a window to display something (some texts...). However, the difficulty is that I don't know how to

Re: [Geany-devel] Intro (and apology)

2010-02-21 Thread Enrico Tröger
On Fri, 19 Feb 2010 17:49:14 +1100, Lex wrote: I suggest that the simplest start point would be to add a re-scan menu item to the templates menu itself. It would just need to destroy and re-create the menu. As I said its not needed very often so the effort for automatic update probably

Re: [Geany-devel] Compiling problems

2010-02-21 Thread Enrico Tröger
On Fri, 19 Feb 2010 13:22:07 +0200, a.beloboro...@viscomp.bg wrote: Yes, problem was in src/geany.h, this is local problem, yesterday i make some tests and play with geany.h Sorry for this fake report and thanks Lex :) Haha, sweet. Regards, Enrico -- Get my GPG key from

Re: [Geany-devel] Intro (and apology)

2010-02-21 Thread Enrico Tröger
On Sun, 21 Feb 2010 15:26:23 +0100, Enrico wrote: On Fri, 19 Feb 2010 17:49:14 +1100, Lex wrote: I suggest that the simplest start point would be to add a re-scan menu item to the templates menu itself. It would just need to destroy and re-create the menu. As I said its not needed very

Re: [Geany-devel] Doc errata?: Inserting Unicode characters.

2010-02-21 Thread Enrico Tröger
On Fri, 19 Feb 2010 22:36:29 -0800, Tony wrote: One of the modifications in the Doc patch about Tools-Reload Configuration is in the *Inserting Unicode characters* section. Here is the modified excerpt: With GTK 2.10 and above, you can insert Unicode code points by hitting Ctrl-Shift-u, then

Re: [Geany-devel] Adding an R parser

2010-02-21 Thread Enrico Tröger
On Sun, 21 Feb 2010 15:29:16 +0100, Jon wrote: On Sun, 21 Feb 2010 15:13:02 +0100 Enrico Tröger enrico.troe...@uvena.de wrote: What exactly do you mean with 'the geany patch'? I'm going to add your R symbol parser to SVN. The geany patch patches the filetypes.r file to modify the listed

<    1   2   3   4   >