Re: [Geany-devel] Little questions

2010-02-22 Thread Colomban Wendling
Hi, Eugene Arshinov a écrit : 2. There is a strange issue with deleting spaces from the beginning of a line. Suppose you have a file with indentation set to 2 spaces and two lines: if foo: bar() If you move cursor after the first space of the second line and press Backspace, you

Re: [Geany-devel] Little questions

2010-02-22 Thread Colomban Wendling
Eugene Arshinov a écrit : On Tue, 23 Feb 2010 00:15:20 +0100% Colomban Wendling lists@herbesfolles.org wrote: Hi, Eugene Arshinov a écrit : 2. There is a strange issue with deleting spaces from the beginning of a line. Suppose you have a file with indentation set to 2 spaces and two

Re: [Geany-devel] Scintilla 2.03 Update

2010-03-08 Thread Colomban Wendling
Enrico Tröger a écrit : 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. […]

Re: [Geany-devel] Scintilla 2.03 Update

2010-03-08 Thread Colomban Wendling
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, 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

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

2010-03-11 Thread Colomban Wendling
Hi, Here's a small patch that adds support for lambdas in the Python tagmanager. What it does it report Python's lambdas as functions (with arguments) rather than as variables. Nested lambda are supported too. Attached is the patch (0001-lambda-support.diff) and a small python file that tests it

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

2010-03-16 Thread Colomban Wendling
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 functions (with arguments) rather than as variables

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

2010-04-02 Thread Colomban Wendling
Hi, Lex Trotman a écrit : 2010/4/2 Алексей Антипов 1a_anti...@mail.ru mailto:1a_anti...@mail.ru As goes from GLib sources, the final replace strategy is backend-dependent. For local files: (from GLib sources, gio/glocalfileoutputstream.c, handle_overwrite_open):

Re: [Geany-devel] Function Definition

2010-04-14 Thread Colomban Wendling
Hi Jordan, jordan a écrit : I'm trying to write a plug-in that among other things adds a function header.Unfortunately this is also my first C program so it has been more of a learning experience then anything, but I'm finally at the point where it sort of works. What does your plugin,

[Geany-devel] Ann: GeanyGenDoc plugin

2010-04-15 Thread Colomban Wendling
Hi everybody, Some already know, or can remember, I started writing of a generic documentation generator plugin a while ago [1]. And you know what? It isn't dead, despite the appearances! [next paragraph is a little story, you can skip it if you want to go to the good directly] Yes, it was more

Re: [Geany-devel] Function Definition

2010-04-16 Thread Colomban Wendling
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 tag closest to the current line. Tweaking this way a

Re: [Geany-devel] Function Definition

2010-04-17 Thread Colomban Wendling
jordan a écrit : […] however this method seems broken as after the first comment block is inserted any tags below the insertion no longer have a valid line number until the application is saved. I notice this behavior is also present in the symbol browser of Geany, if you add some lines

[Geany-devel] In-memory tagmanager parsing

2010-04-18 Thread Colomban Wendling
Hi, I took a look at the tagmanager in an attempt to make it work in-memory, since it is not yet completely the case. I found why and how to fix the (C?) function arguments (attached patch), and it seems to work pretty well for C (and Python and PHP, though I did only a few tests with them). For

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

2010-04-18 Thread Colomban Wendling
Enrico Tröger a écrit : On Sun, 18 Apr 2010 15:48:14 +0200, Colomban wrote: Hi, I took a look at the tagmanager in an attempt to make it work in-memory, since it is not yet completely the case. I found why and how to fix the (C?) function arguments (attached patch), and it seems to work

[Geany-devel] [patch] Constify some arguments and fields

2010-04-21 Thread Colomban Wendling
Hi, I'm used to compile my programs with quite strict compiler options [1], and it made me see that the plugin API had some non-const arguments or field where it probably should have const ones - where string literals are most likely expected. I think of keybindings_set_item(),

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

2010-04-22 Thread Colomban Wendling
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 just to silence compiler warnings. Of course. Casting

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

2010-04-25 Thread Colomban Wendling
* 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 it. Maybe we can remove rpl_malloc() because we

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

2010-04-26 Thread Colomban Wendling
Hi! 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]: a.c, a-b.c, a.h rather than [2]: a.c, a.h, a-b.c This is a

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

2010-04-26 Thread Colomban Wendling
Thomas Martitz a écrit : Am 26.04.2010 15:42, schrieb Colomban Wendling: Both use g_utf8_collate_key_for_filename() to get a clever sort, which fixes the problem I spoken above, and also sorts 1, 2 and 10 numerically rather than alphabetically - thus we have 1, 2, 10 and not 1, 10, 2

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

2010-04-27 Thread Colomban Wendling
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 much speed :(. Sorting of the list happens on each

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

2010-04-28 Thread Colomban Wendling
Colomban Wendling a écrit : I noticed this long time ago already and it's quite annoying and needs to be fixed. My first guess without having done any investigations, we are doing too much UI updating stuff on bulk loading of files (e.g. the previously mentioned resorting of the document list

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

2010-04-28 Thread Colomban Wendling
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 disabled for projects? The files are collected in

[Geany-devel] Questions on inserting text indentation

2010-04-28 Thread Colomban Wendling
Hi, In my GeanyGenDoc plugin I was using sci_insert_text() to insert the generated documentation comment; but I wanted to be able to indent the inserted comment to follow the indentation at the insertion position. I found editor_insert_text_block() which seemed quite interesting, but it didn't

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

2010-04-29 Thread Colomban Wendling
Nick Treleaven a écrit : On Thu, 29 Apr 2010 17:46:45 +0200 Enrico Tröger enrico.troe...@uvena.de wrote: Yes, I think it could be a (hidden?) option at least until it got fixed at the GTK level. Note that anyway it is only available if Geany was compiled against GTK = 2.12. Which is

Re: [Geany-devel] Questions on inserting text indentation

2010-04-29 Thread Colomban Wendling
Nick Treleaven a écrit : On Thu, 29 Apr 2010 00:28:02 +0200 Colomban Wendling lists@herbesfolles.org wrote: In my GeanyGenDoc plugin I was using sci_insert_text() to insert the generated documentation comment; but I wanted to be able to indent the inserted comment to follow

Re: [Geany-devel] Questions on inserting text indentation

2010-04-29 Thread Colomban Wendling
Nick Treleaven a écrit : On Thu, 29 Apr 2010 19:13:25 +0200 Colomban Wendling lists@herbesfolles.org wrote: Can you give a code example of what you're trying to do? The real code can be found only through SF's VC viewer: http://geany-plugins.svn.sourceforge.net/viewvc/geany-plugins

[Geany-devel] [Plugin API feature request] Please add symbols_get_context_separator() to the plugin API

2010-05-01 Thread Colomban Wendling
Hi! I need the feature of symbols_get_context_separator() in GeanyGenDoc to bypass that annoying behavior of the tag manager that is file-type-specific scope separator. I think the only reliable way to get this separator is to use this function that would probably evolve together with the

Re: [Geany-devel] [Plugin API feature request] Please add symbols_get_context_separator() to the plugin API

2010-05-03 Thread Colomban Wendling
Nick Treleaven a écrit : On Sat, 01 May 2010 20:28:42 +0200 Colomban Wendling lists@herbesfolles.org wrote: Since there is currently no symbols_* functions exported to the plugin API I don't know if you think it is a good idea, but if a patch that adds SymbolsFuncs

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

2010-05-09 Thread Colomban Wendling
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 enrico.troe...@uvena.de wrote: Yes, I think it could be a (hidden?)

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

2010-05-10 Thread Colomban Wendling
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] About translation of plugin name and description

2010-05-14 Thread Colomban Wendling
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 again, it works well (and don't need so much code change

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

2010-05-14 Thread Colomban Wendling
And finally, on the thread I see that you (global) say that when the plugin gets loaded, the name and description are translated? I don't I think this is true only for plugins shipped with Geany itself as those use Geany's gettext domain. Well… for them, why wouldn't they

Re: [Geany-devel] [Patch] Remove redundant char

2010-05-14 Thread Colomban Wendling
Hi, and welcome here! Le vendredi 14 mai 2010 à 12:05 -0700, Daniel Marjamaki a écrit : This patch removes a redundant char. I don't think it belongs there. Good catch, but a little explanation of what you changed would have saved me a few minutes ;) If I'm right, there was an unbreakable

Re: [Geany-devel] Geany Plugins 0.19 release

2010-05-21 Thread Colomban Wendling
Hi, Frank Lanitz a écrit : Hi (Plugin)-developer, On Sat, 15 May 2010 12:05:27 +0200 Frank Lanitz fr...@frank.uvena.de wrote: On Sat, 15 May 2010 10:12:21 +0800 Chow Loong Jin hyper...@ubuntu.com wrote: Hi geany-plugins developers, As Geany 0.19 is getting prepped up for release,

Re: [Geany-devel] Geany Plugins 0.19 release

2010-05-21 Thread Colomban Wendling
Frank Lanitz a écrit : Hi Columban, On Fri, 21 May 2010 23:50:00 +0200 Colomban Wendling lists@herbesfolles.org wrote: My GeanyGenDoc plugin [1][2] should now be ready to be used [3], and I'd like to include it in the upcoming Geany-Plugins release. But before moving my code

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

2010-05-22 Thread Colomban Wendling
Hi everyone, I'm trying to move my plugin (geanygendoc) into geany-plugins, but I have some problems porting the build system -- not used to it. The thing is that I have data files to install. In my current external build system, I install them into $(geany_datadir)/plugins/geanygendoc, I think

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

2010-05-22 Thread Colomban Wendling
Dominic Hopf a écrit : Am Samstag, den 22.05.2010, 17:17 +0200 schrieb Colomban Wendling: Hi everyone, I'm trying to move my plugin (geanygendoc) into geany-plugins, but I have some problems porting the build system -- not used to it. The thing is that I have data files to install. In my

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

2010-05-22 Thread Colomban Wendling
Hi, 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 this behavior to pack the plugin's page with expansion and

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

2010-05-22 Thread Colomban Wendling
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 waf build work, and it's true that is is quite simple to add

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

2010-05-22 Thread Colomban Wendling
Dominic Hopf a écrit : Am Samstag, den 22.05.2010, 17:17 +0200 schrieb Colomban Wendling: Hi everyone, I'm trying to move my plugin (geanygendoc) into geany-plugins, but I have some problems porting the build system -- not used to it. The thing is that I have data files to install. In my

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

2010-05-23 Thread Colomban Wendling
Enrico Tröger a écrit : I think it is a good idea to do this since it still let widgets not to expand, but let them also expand if wanted. This is a /very small/ patch indeed (two FALSE on the same line Committed, thanks a lot. And thanks for testing it that well. No problem :) Frank Lanitz

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

2010-06-03 Thread Colomban Wendling
Le 30/05/2010 20:09, Enrico Tröger a écrit : Committed now to SVN. Hey, that's cool! Thanks for committing :) Regards, Colomban ___ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

[Geany-devel] Parentheses auto-indentation

2010-06-07 Thread Colomban Wendling
Hi there! I'd very much like to see some auto-parentheses indentation in Geany. I mean that this kind of indentation would be auto-generated on typing: if (cond1 fun_call (param1, param2) cond3) { another_call (param1, param2); /* and so on */ } This

Re: [Geany-devel] Parentheses auto-indentation

2010-06-08 Thread Colomban Wendling
Le 08/06/2010 04:34, Lex Trotman a écrit : On 8 June 2010 00:43, Colomban Wendling lists@herbesfolles.org wrote: How to know if a character is or not part of a comment, string or so? (e.g. should be interpreted as a syntactic element by itself) I need this to find the parenthesis

Re: [Geany-devel] Git switch

2010-06-12 Thread Colomban Wendling
Hey there, Le 12/06/2010 16:33, Thomas Martitz a écrit : Hey, so it looks like nobody is really opposed to a git switch and some people would even prefer it (including me), I would like to suggest having a brainstorm on how a switch could look like, and a final decision whether to do the

Re: [Geany-devel] Parentheses auto-indentation

2010-06-12 Thread Colomban Wendling
Le 09/06/2010 02:48, Lex Trotman a écrit : Also brace_match ability to go forward and backward is wasted since it is only ever called from close_brace which AFAICT is only ever called with the current character a } Why brace_match() uses the character at (pos - 1) but the style at

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

2010-06-15 Thread Colomban Wendling
Hi, Le 14/06/2010 22:48, Liviu Andronic a écrit : Hello On Mon, Jun 14, 2010 at 8:58 PM, Chow Loong Jin hyper...@gmail.com wrote: Happy updating! :-) With the new plugins (previously I was running SVN plug-ins and Geany 0.19) and Geany 0.19 I am getting the following error-like

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

2010-06-20 Thread Colomban Wendling
Le 16/06/2010 09:47, Liviu Andronic a écrit : On Wed, Jun 16, 2010 at 12:07 AM, Colomban Wendling lists@herbesfolles.org wrote: I don't think it is a Geany bug, but rather the well-known mouse wheel notebook tab switching GTK bug, #604391[1]. Isn't it? Yes, it seems so. To get

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

2010-06-22 Thread Colomban Wendling
Le 22/06/2010 14:01, Liviu Andronic a écrit : On Sun, Jun 20, 2010 at 8:38 PM, Colomban Wendling lists@herbesfolles.org wrote: Even if I'm pretty sure it is the bug I mentioned, can you check with other apps, like GEdit? They should spawn teh same critical messages on Yes, I get the same

Re: [Geany-devel] [PATCH 12/19] Use relative paths in the project files

2010-08-05 Thread Colomban Wendling
Hi, On Thu, Aug 5, 2010 at 04:48, Lex Trotman ele...@gmail.com wrote: If I understand correctly this patch depends on the project file being in the project tree, but that is not the Geany default. Some people don't like storing the project file in the project tree because it contains an

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

2010-08-08 Thread Colomban Wendling
Le 08/08/2010 23:39, Frank Lanitz a écrit : On Wed, 16 Jun 2010 01:07:18 +0200 Colomban Wendling lists@herbesfolles.org wrote: 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

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

2010-08-08 Thread Colomban Wendling
Le 09/08/2010 00:19, Colomban Wendling a écrit : [1] hum, there's one issue: the tabulation alignment. Now that there is a domain prefix, the alignment is not guaranteed to be good for two different log domains -- and perhaps even for a single one if the added offset changes the amount

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

2010-08-08 Thread Colomban Wendling
Le 09/08/2010 00:40, Frank Lanitz a écrit : On Mon, 09 Aug 2010 00:19:03 +0200 Colomban Wendling lists@herbesfolles.org wrote: Le 31/07/2010 17:33, Enrico Tröger a écrit : On Wed, 16 Jun 2010 01:07:18 +0200, Colomban wrote: Hey, PS: @geany devs: wouldn't it be cool to add the domain

[Geany-devel] [PATCH] Behavior of opening filenames with colons from the command line

2010-08-15 Thread Colomban Wendling
Hi, I saw yesterday a discussion about opening files that ends with something like :2 [1], and even if it's already fixed, I don't feel that the behavior is neither the best nor the more intuitive. The current behavior is to: 1) if the file exists, don't try to extract the line/column

Re: [Geany-devel] [PATCH] Behavior of opening filenames with colons from the command line

2010-08-16 Thread Colomban Wendling
Le 16/08/2010 04:50, Lex Trotman a écrit : On 16 August 2010 11:57, Colomban Wendling lists@herbesfolles.org wrote: The other syntax are good and ways stricter, but aren't as useful IMO because (I speak for me) we generally don't want to open a file on a specific line unless we got

Re: [Geany-devel] [PATCH] Behavior of opening filenames with colons from the command line

2010-08-19 Thread Colomban Wendling
Le 17/08/2010 02:52, Lex Trotman a écrit : Since I have $EDITOR set to Geany I don't know what software will call it with what filenames. One piece of software I use occasionally uses filename:nn as a temp file name I have to change name each time :-(. So I have some minor interest in

Re: [Geany-devel] [PATCH] Behavior of opening filenames with colons from the command line

2010-08-19 Thread Colomban Wendling
Le 19/08/2010 21:43, Lex Trotman a écrit : I mean, with the patch, Geany can be used transparently with files that have :nn suffixes -- apart using the :nn suffix to open at a given line/column that doesn't always do magic (but almost). But maybe add a command line option to specify that the

Re: [Geany-devel] GOject Introspection for Geany

2010-09-04 Thread Colomban Wendling
Hi, Le 03/09/2010 16:46, Felix Kaser a écrit : Hi, I was wondering if anyone is working on gobject introspection for the geany api. I would like to write a geany plugin with vala and in order to do so I need language bindings for vala. Instead of writing them manually I would like to use

Re: [Geany-devel] How is src/interface.c generated?

2010-09-08 Thread Colomban Wendling
Hi, Le 09/09/2010 03:02, Erik de Castro Lopo a écrit : Hi all, Could someone clue me in as to how the src/interface.c file is generated? AFAIK it is generated by Glade 2.x; but I'd think it's mentioned in the HACKING file, isn't it? Since its autogenerated, wouldn't it be a good idea to

Re: [Geany-devel] SF.net SVN: geany:[5223] trunk

2010-09-13 Thread Colomban Wendling
Hi, Le 14/09/2010 00:57, Lex Trotman a écrit : On 14 September 2010 00:39, nt...@users.sourceforge.net wrote: [...] Remove 3 popup menu items to save space: Find Document Usage because Find Usage can be used instead. Gives a lot of rubbish I didn't want, but can live with it. I'd also

Re: [Geany-devel] [PATCH 05/19] Don't be annoying when not necessary

2010-09-15 Thread Colomban Wendling
Hi, Le 16/08/2010 02:51, Erik de Castro Lopo a écrit : Jiří Techet wrote: When reloading a file with ctrl+R don't display the warning dialog that the unsaved changes might be lost when the file has not been modified. I've been running with this patch for about a week. Looks good to me.

Re: [Geany-devel] [Patch] : On closing the last tab create new untitled document.

2010-09-21 Thread Colomban Wendling
Le 22/09/2010 02:20, Erik de Castro Lopo a écrit : Nick Treleaven wrote: So closing the last new document doesn't create a new document straight away? Correct. Are you sure you're running current SVN? Absolutely. I have checked. Twice. For me it works perfectly well (SVN r5250). I

Re: [Geany-devel] [PATCH] Open files in Geany at the same workspace

2010-09-28 Thread Colomban Wendling
Hi, Le 15/09/2010 19:07, Nick Treleaven a écrit : On Thu, 9 Sep 2010 20:12:18 +1000 Erik de Castro Lopo mle+to...@mega-nerd.com wrote: Attached is a version of this patch updated to apply cleanly against SVN HEAD. Thanks, applied. This is a great improvement IMO :) I run this patch now,

Re: [Geany-devel] [PATCH] Open files in Geany at the same workspace

2010-10-07 Thread Colomban Wendling
Le 07/10/2010 16:17, Nick Treleaven a écrit : On Wed, 29 Sep 2010 18:00:06 +0100 Nick Treleaven nick.trelea...@btinternet.com wrote: 3) this is the most complicated but also the one that seems to have the less flaws: still add workspace suffix, but when checking if there is a running

Re: [Geany-devel] Patch for utils.h to work on GTK2.8

2010-10-08 Thread Colomban Wendling
Le 08/10/2010 06:16, Lex Trotman a écrit : Hi, G_GNUC_WARN_UNUSED does not come in until gtk 2.10 so attached just defines it to nothing if it isn't defined so utils.h will build on gtk 2.8 Cheers Lex This macro is in GLib, not GTK ;) And BTW, this is already done in geany.h:94, so

[Geany-devel] File type icons?

2010-10-14 Thread Colomban Wendling
-icons-notebook-popup.pngattachment: filetype-icons-sidebar.pngFrom 7b11b976abe1db6d0f4f2fc600339a63e363ab5e Mon Sep 17 00:00:00 2001 From: Colomban Wendling b...@herbesfolles.org Date: Wed, 13 Oct 2010 22:39:54 +0200 Subject: [PATCH] Add MIME type to GeanyFiletype MIME-type is a generic way

Re: [Geany-devel] File type icons?

2010-10-14 Thread Colomban Wendling
Le 15/10/2010 00:03, Dominic Hopf a écrit : Am Donnerstag, den 14.10.2010, 16:36 +0200 schrieb Colomban Wendling: Hi, I realized that in the documents sidebar each and every files have an icon, but they all have the same, no matter what. I had a little time and I decided to play a bit

Re: [Geany-devel] File type icons?

2010-10-14 Thread Colomban Wendling
Le 14/10/2010 16:36, Colomban Wendling a écrit : Hi, I realized that in the documents sidebar each and every files have an icon, but they all have the same, no matter what. I had a little time and I decided to play a bit with the idea of having file-type based icons. Such icons could

Re: [Geany-devel] File type icons?

2010-10-21 Thread Colomban Wendling
Le 21/10/2010 17:19, Nick Treleaven a écrit : On Sat, 16 Oct 2010 17:59:28 +0200 Colomban Wendling lists@herbesfolles.org wrote: Le 15/10/2010 00:35, Colomban Wendling a écrit : Joined 0001-Add-filetype-icon.patch (depends on previous 0001-Add-MIME-type-to-GeanyFiletype.patch) that add

Re: [Geany-devel] Unhide preferences

2010-10-21 Thread Colomban Wendling
Le 22/10/2010 01:44, Lex Trotman a écrit : On 22 October 2010 03:10, Nick Treleaven nick.trelea...@btinternet.com wrote: On Thu, 21 Oct 2010 18:58:43 +0300 Dimitar Zhekov dimitar.zhe...@gmail.com wrote: I wasn't thinking about visually separating the prefs. Perhaps this could be done by

Re: [Geany-devel] File type icons?

2010-10-21 Thread Colomban Wendling
Le 21/10/2010 19:08, Colomban Wendling a écrit : Le 21/10/2010 17:19, Nick Treleaven a écrit : On Sat, 16 Oct 2010 17:59:28 +0200 Colomban Wendling lists@herbesfolles.org wrote: Le 15/10/2010 00:35, Colomban Wendling a écrit : Joined 0001-Add-filetype-icon.patch (depends on previous

Re: [Geany-devel] File type icons?

2010-10-21 Thread Colomban Wendling
Le 22/10/2010 02:30, Colomban Wendling a écrit : Le 21/10/2010 19:08, Colomban Wendling a écrit : Le 21/10/2010 17:19, Nick Treleaven a écrit : On Sat, 16 Oct 2010 17:59:28 +0200 Colomban Wendling lists@herbesfolles.org wrote: Le 15/10/2010 00:35, Colomban Wendling a écrit : Joined 0001

Re: [Geany-devel] Unhide preferences

2010-10-22 Thread Colomban Wendling
Le 23/10/2010 02:22, Lex Trotman a écrit : On 22 October 2010 11:04, Colomban Wendling lists@herbesfolles.org wrote: Le 22/10/2010 01:44, Lex Trotman a écrit : […] So to start the ball rolling, I'll suggest extra or additional as the tab labels and Extra/Additional rarely used

Re: [Geany-devel] Geany-plugins not building. Failure in Addons

2010-10-28 Thread Colomban Wendling
Le 28/10/2010 16:17, Jon Senior a écrit : [...] The problem appears to be related to the PLUGIN_SET_TRANSLATABLE_INFO macro (That's where the first error crops up). I'm a bit doubtful about this macro creating the problem, but I've two modifications I suggest to apply to this macro. First, to

Re: [Geany-devel] geany-plugins depends on GIO

2010-10-28 Thread Colomban Wendling
Le 28/10/2010 19:11, Nick Treleaven a écrit : On Thu, 28 Oct 2010 18:48:51 +0200 Colomban Wendling lists@herbesfolles.org wrote: I think this may be due to build/treebrowser.m4 not disabling itself if GIO is not found. Hum, right. It seems that if the ACTION-IF-NOT-FOUND

Re: [Geany-devel] Changed file saving implementation for systems with GIO

2010-11-02 Thread Colomban Wendling
f7104de631c144c5c8f9fde7e5f6acf8bc04faec Mon Sep 17 00:00:00 2001 From: Colomban Wendling b...@herbesfolles.org Date: Tue, 2 Nov 2010 23:54:00 +0100 Subject: [PATCH] Don't leak a GFile around upon file saving when built with GIO support --- src/document.c |1 + 1 files changed, 1 insertions(+), 0

Re: [Geany-devel] Changed file saving implementation for systems with GIO

2010-11-04 Thread Colomban Wendling
Le 04/11/2010 17:26, Nick Treleaven a écrit : On Wed, 03 Nov 2010 00:26:00 +0100 Colomban Wendling lists@herbesfolles.org wrote: Le 02/11/2010 19:11, Nick Treleaven a écrit : Hi list, To workaround bug(s) in GVFS, I've now changed the file saving implementation for systems with GIO

Re: [Geany-devel] Changed file saving implementation for systems with GIO

2010-11-04 Thread Colomban Wendling
Le 04/11/2010 21:42, Dimitar Zhekov a écrit : On Thu, 4 Nov 2010 17:53:47 + Nick Treleaven nick.trelea...@btinternet.com wrote: So it seems that function doesn't handle disk exhaustion safely. (But this is no worse than before for Geany). Before we had safe or unsafe file saving.

Re: [Geany-devel] Changed file saving implementation for systems with GIO

2010-11-05 Thread Colomban Wendling
Le 05/11/2010 20:08, Dimitar Zhekov a écrit : On Thu, 04 Nov 2010 23:37:28 +0100 Colomban Wendling lists@herbesfolles.org wrote: Le 04/11/2010 21:42, Dimitar Zhekov a ecrit : For more than 20 years now, the only safe save is to write the data into a temporary file in the same directory

Re: [Geany-devel] Changed file saving implementation for systems with GIO

2010-11-05 Thread Colomban Wendling
Le 05/11/2010 21:33, Dimitar Zhekov a écrit : On Fri, 05 Nov 2010 19:50:59 +0100 Colomban Wendling lists@herbesfolles.org wrote: Le 05/11/2010 20:08, Dimitar Zhekov a ecrit : a. Create filename-foo, write data to it, abort and unlink on failure. [...] Hey, that's quite clever :) We

Re: [Geany-devel] Changed file saving implementation for systems with GIO

2010-11-06 Thread Colomban Wendling
Le 06/11/2010 13:45, Dimitar Zhekov a écrit : On Sat, 6 Nov 2010 21:31:31 +1100 Lex Trotman ele...@gmail.com wrote: On 6 November 2010 20:33, Dimitar Zhekov dimitar.zhe...@gmail.com wrote: If not anything else, we should use non-buffered I/O, with fsync(), and check the result of close()

Re: [Geany-devel] OT - threading - Re: Attempted python plugin

2010-11-11 Thread Colomban Wendling
Le 11/11/2010 16:20, Nick Treleaven a écrit : On Thu, 11 Nov 2010 18:16:38 +1100 Lex Trotman ele...@gmail.com wrote: PS for some reason your posts are not threading so I've lost you original code Looks fine to me in Sylpheed ;-) Same here, Icedove :)

Re: [Geany-devel] geany-plugins depends on GIO

2010-11-15 Thread Colomban Wendling
Le 30/10/2010 13:20, Frank Lanitz a écrit : On Sat, 30 Oct 2010 13:01:07 +0200 Frank Lanitz fr...@frank.uvena.de wrote: On Thu, 28 Oct 2010 19:15:14 +0200 Colomban Wendling lists@herbesfolles.org wrote: PS: make distcheck on geany-plugins doesn't work, fails on translation extraction

Re: [Geany-devel] geany-plugins depends on GIO

2010-11-15 Thread Colomban Wendling
wrote: On Thu, 28 Oct 2010 19:15:14 +0200 Colomban Wendling lists@herbesfolles.org wrote: PS: make distcheck on geany-plugins doesn't work, fails on translation extraction, is it a known issue? Not yet, will have a look. OK, well. I guess my knowledge about make is too low here to fix

Re: [Geany-devel] geany-plugins depends on GIO

2010-11-16 Thread Colomban Wendling
Le 17/11/2010 01:03, Lex Trotman a écrit : On 17 November 2010 10:22, Colomban Wendling lists@herbesfolles.org wrote: Le 16/11/2010 23:32, Lex Trotman a écrit : On 17 November 2010 03:11, Frank Lanitz fr...@frank.uvena.de wrote: On Tue, 16 Nov 2010 15:13:03 +0100 Colomban Wendling lists

Re: [Geany-devel] Geany FTW - better autocompletion

2010-11-17 Thread Colomban Wendling
Le 17/11/2010 15:54, Nick Treleaven a écrit : On Tue, 16 Nov 2010 17:32:01 +0100 Simone Pellegrini spellegr...@dps.uibk.ac.at wrote: I really like geany as it uses scintilla, the only feature I feel is missing is the intellisense like code competition for C++. I would like to ask if

Re: [Geany-devel] geany-plugins depends on GIO

2010-11-17 Thread Colomban Wendling
Le 17/11/2010 23:09, Lex Trotman a écrit : On 18 November 2010 03:36, Colomban Wendling lists@herbesfolles.org wrote: Le 17/11/2010 02:17, Lex Trotman a écrit : It would need the plugin to something like dynamically load Geany, while assuming that Geany has an unstable API. This is IMHO

Re: [Geany-devel] Geany FTW - better autocompletion

2010-11-17 Thread Colomban Wendling
Le 17/11/2010 23:45, Enrico Tröger a écrit : On Thu, 18 Nov 2010 09:34:03 +1100, Lex wrote: On 18 November 2010 04:05, Colomban Wendling lists@herbesfolles.org wrote: Le 17/11/2010 15:54, Nick Treleaven a écrit : On Tue, 16 Nov 2010 17:32:01 +0100 Simone Pellegrini spellegr

Re: [Geany-devel] geany-plugins depends on GIO

2010-11-20 Thread Colomban Wendling
Le 16/11/2010 09:23, Frank Lanitz a écrit : Am 15.11.2010 23:49, schrieb Colomban Wendling: Le 15/11/2010 23:35, Frank Lanitz a écrit : On Mon, 15 Nov 2010 23:13:31 +0100 Colomban Wendling lists@herbesfolles.org wrote: Le 15/11/2010 23:06, Frank Lanitz a écrit : On Mon, 15 Nov 2010 22

Re: [Geany-devel] Geany FTW - better autocompletion

2010-11-20 Thread Colomban Wendling
since June, I can't use this repository for updates. So I do this on my local copy for now. From 6c7d87325640170ff45ecddb192b1eb8fef031a5 Mon Sep 17 00:00:00 2001 From: Colomban Wendling b...@herbesfolles.org Date: Sat, 20 Nov 2010 16:59:53 +0100 Subject: [PATCH] First tagmanager move to MIO I/O

Re: [Geany-devel] geany-plugins depends on GIO

2010-11-22 Thread Colomban Wendling
Le 18/11/2010 23:56, Lex Trotman a écrit : On 19 November 2010 03:16, Colomban Wendling lists@herbesfolles.org wrote: Le 18/11/2010 01:18, Lex Trotman a écrit : On 18 November 2010 10:16, Colomban Wendling lists@herbesfolles.org wrote: Le 17/11/2010 23:09, Lex Trotman a écrit

Re: [Geany-devel] Moving the VTE terminal to the Sidebar

2010-12-15 Thread Colomban Wendling
Le 15/12/2010 16:30, Matthew Brush a écrit : […] After work I will try and come up with a better solution that still doesn't require patching Geany. If anyone has any suggestions on how to get a handle on the vte frame widget from a plugin that would be great, the comments in and around the

Re: [Geany-devel] Moving the VTE terminal to the Sidebar

2010-12-15 Thread Colomban Wendling
Le 16/12/2010 02:37, Matthew Brush a écrit : On 12/15/2010 08:27 AM, Colomban Wendling wrote: Le 15/12/2010 16:30, Matthew Brush a écrit : […] After work I will try and come up with a better solution that still doesn't require patching Geany. If anyone has any suggestions on how to get

Re: [Geany-devel] Real-time tag parsing (again) (was Geany FTW - better autocompletion)

2010-12-19 Thread Colomban Wendling
Le 19/12/2010 16:58, Thomas Martitz a écrit : On 19.12.2010 16:05, Colomban Wendling wrote: So I'll stop here, thank you for your time reading and let you test this, right? :) Regards, Great! Do you have an up-to-date public git repo I can clone or do I have to apply all patches by hand

Re: [Geany-devel] Real-time tag parsing (again) (was Geany FTW - better autocompletion)

2010-12-19 Thread Colomban Wendling
Le 19/12/2010 17:42, Thomas Martitz a écrit : On 19.12.2010 17:26, Colomban Wendling wrote: So yes, currently I suggest you to apply the patches (or the combined patch), but again, I may push this somewhere. I didn't see the combined one, sorry! Seems to be my fault, I shouldn't have

Re: [Geany-devel] Real-time tag parsing (again) (was Geany FTW - better autocompletion)

2010-12-19 Thread Colomban Wendling
Le 19/12/2010 16:05, Colomban Wendling a écrit : [...] So I'll stop here, thank you for your time reading and let you test this, right? :) I forgot to link to MIO, the tiny library used for in-memory operations. Obviously, you'll need it: http://gitorious.org/mio Also, I created a small

Re: [Geany-devel] Real-time tag parsing (again) (was Geany FTW - better autocompletion)

2010-12-20 Thread Colomban Wendling
with the TM workspace... What do you know/think? Regards, Colomban From 26c39cd11c4754504d9edfa7aea03e4f669b53ed Mon Sep 17 00:00:00 2001 From: Colomban Wendling b...@herbesfolles.org Date: Sun, 19 Dec 2010 19:30:01 +0100 Subject: [PATCH] Fix suffix of anonymous symbols (structs, enums

Re: [Geany-devel] POLL: Mark developers names on plugins translateable Yes/No

2010-12-27 Thread Colomban Wendling
Le 27/12/2010 01:30, Frank Lanitz a écrit : Hi folks, During review of German translation of Geany-Plugins I found a number of author's names marked as translatable. I don't see any big reason for doing this as most likely (and from my current point of view in all cases) it's just a copy

Re: [Geany-devel] debugger plugin

2011-01-10 Thread Colomban Wendling
Hi, Le 10/01/2011 02:42, Alexander Petukhov a écrit : […] What I wanted to ask is has the plugin to be cross-platform? No, I don't think a plugin *have* to be cross-platform, it's a developer choice to maintain it cross-platform. It's better IMHO, but I don't think anybody can blame you not to

Re: [Geany-devel] tagmanager related questions

2011-01-18 Thread Colomban Wendling
Le 18/01/2011 20:15, Enrico Tröger a écrit : On Tue, 18 Jan 2011 15:22:48 +0300, Константин wrote: […] Now we have such php code: ?php class test1{ var $abc;var $test; function test567(){ echo {$a}; echo '{$a1}'; } } $hello=new

Re: [Geany-devel] Improving usability and handling for Geany-Plugins

2011-01-19 Thread Colomban Wendling
Le 19/01/2011 18:45, Dimitar Zhekov a écrit : On Tue, 18 Jan 2011 23:13:51 +0100 Enrico Tröger enrico.troe...@uvena.de wrote: In fact, I propose to do exactly this: all plugins of the combined geany-plugins releases should have the version of the geany-plugins release itself. Everything

  1   2   3   4   5   >