Re: [Geany-devel] Patches required by gproject

2010-06-18 Thread Nick Treleaven
On Thu, 17 Jun 2010 22:56:06 +0200 Jiří Techet wrote: > >> [PATCH 1/3] Add a signal that is emitted before build starts > > I want to be able to save all project files before the build starts. > Currently geany saves only the active file but does nothing with the > other open files, so you may b

[Geany-devel] save all on build - Re: Patches required by gproject

2010-06-18 Thread Nick Treleaven
On Fri, 18 Jun 2010 08:20:42 +1000 Lex Trotman wrote: > >>> [PATCH 1/3] Add a signal that is emitted before build starts > > > > I want to be able to save all project files before the build starts. > > Currently geany saves only the active file but does nothing with the > > other open files, so y

Re: [Geany-devel] Patches required by gproject

2010-06-17 Thread Nick Treleaven
On Wed, 9 Jun 2010 21:49:03 +0200 Jiří Techet wrote: > The following patches are required by gproject to build and > run correctly. More details in the individual patches. > > [PATCH 1/3] Add a signal that is emitted before build starts > [PATCH 2/3] Make it possible to fill some fields of find

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

2010-06-17 Thread Nick Treleaven
On Thu, 17 Jun 2010 09:06:45 +0400 Eugene Arshinov wrote: > > > 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 indi

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

2010-06-15 Thread Nick Treleaven
On Mon, 14 Jun 2010 21:48:34 +0100 Liviu Andronic wrote: > Hello > > On Mon, Jun 14, 2010 at 8:58 PM, Chow Loong Jin 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 message: .

Re: [Geany-devel] Git switch

2010-06-15 Thread Nick Treleaven
On Sun, 13 Jun 2010 14:22:05 +0200 Enrico Tröger wrote: > > > > > I have a few years of daily experience both with SVN and GIT. > > > > > We use SVN at work and I use GIT for all my personal projects. > > > > > I like GIT better than SVN. > > > > > > > > > > In my humble opinion you shouldn't sw

Re: [Geany-devel] project API - Re: project build dialog - Re: [ANNOUNCE] gproject - yet another geany project plugin

2010-06-10 Thread Nick Treleaven
On Thu, 10 Jun 2010 18:10:57 +0200 Jiří Techet wrote: > > Otherwise it's a mess e.g. with project indentation settings. > > Glad you said it first, I feel I have been too negative in the past I didn't mean Geany's implementation is a mess, I meant if a plugin overrode the project support it wou

Re: [Geany-devel] OT replace c++ - Re: project build dialog - Re: [ANNOUNCE] gproject - yet another geany project plugin

2010-06-10 Thread Nick Treleaven
On Thu, 10 Jun 2010 17:48:39 +0200 Jiří Techet wrote: > > I agree it helps, but are there really no successful widespread > > languages that didn't have corporate backing? > > > > Unfortunately we're not living in the 70's or 80's, where the best had > a chance, and there's a lot of software wri

[Geany-devel] project API - Re: project build dialog - Re: [ANNOUNCE] gproject - yet another geany project plugin

2010-06-10 Thread Nick Treleaven
On Thu, 10 Jun 2010 17:24:39 +0200 Jiří Techet wrote: > 1. the GeanyProject structure should be private for the project > implementation and contain those things that are relevant to the > session-project (I have similar private structure for my project) > 2. app->project should contain a structu

[Geany-devel] project filetype commands - Re: project build dialog

2010-06-10 Thread Nick Treleaven
On Thu, 10 Jun 2010 22:59:11 +1000 Lex Trotman wrote: > >> >> What I would suggest is that upon project creation you make a complete > >> >> copy > >> > > >> > Thats just what I didn't want to do, remember there are filetype > >> > commands and execute commands too makes each project copy big. >

Re: [Geany-devel] OT replace c++ - Re: project build dialog - Re: [ANNOUNCE] gproject - yet another geany project plugin

2010-06-10 Thread Nick Treleaven
On Thu, 10 Jun 2010 16:28:42 +0200 Jiří Techet wrote: > >> Go is not a good replacement for C++, try D. Some people say Go is a > >> good replacement for C. > > > > And some people say that it has sadly made some decisions that prevent > > it being that, but with Google behind it it may succeed a

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

2010-06-10 Thread Nick Treleaven
On Thu, 10 Jun 2010 14:21:27 +0200 Jiří Techet wrote: > Imagine you have: > > foo.h: > void foo(void); > > foo.c: > #include "foo.h" > > void foo(void) > { > printf("foo"); > } > > main.c: > #include "foo.h" > > int main(int argc, char **argv) > { > foo(); > return 0; > } > > This is

Re: [Geany-devel] OT replace c++ - Re: project build dialog - Re: [ANNOUNCE] gproject - yet another geany project plugin

2010-06-10 Thread Nick Treleaven
On Thu, 10 Jun 2010 23:23:21 +1000 Lex Trotman wrote: > > Go is not a good replacement for C++, try D. Some people say Go is a > > good replacement for C. > > And some people say that it has sadly made some decisions that prevent > it being that, but with Google behind it it may succeed anyway,

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

2010-06-10 Thread Nick Treleaven
On Thu, 10 Jun 2010 13:33:44 +0200 Jiří Techet wrote: > On Thu, Jun 10, 2010 at 13:05, Nick Treleaven > wrote: > > On Wed,  9 Jun 2010 21:40:58 +0200 > > Jiří Techet wrote: > > > >> Signed-off-by: Jiří Techet > >> --- > >>  src/plugindata.h

Re: [Geany-devel] [PATCH 1/3] Fix tab history switching

2010-06-10 Thread Nick Treleaven
On Wed, 9 Jun 2010 21:40:57 +0200 Jiří Techet wrote: > There is a 600ms interval in which the panel displaying the current file > name isn't displayed. If you switch tabs with a keybinding and do it > too quickly (press it twice in the 600ms period), the wrong file is > put on top of the stack.

Re: [Geany-devel] project build dialog - Re: [ANNOUNCE] gproject - yet another geany project plugin

2010-06-10 Thread Nick Treleaven
On Thu, 10 Jun 2010 11:44:24 +0200 Jiří Techet wrote: > >> Yes, it's pretty confusing. Once you create a project you don't expect > >> that what you see in the build tab changes based on what change you > >> make in the global settings (until you modify the commands in the > >> project for the fi

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

2010-06-10 Thread Nick Treleaven
On Wed, 9 Jun 2010 21:40:58 +0200 Jiří Techet wrote: > Signed-off-by: Jiří Techet > --- > src/plugindata.h |2 ++ > + gint plugin_version_check(gint abi_ver);\ > gint plugin_version_check(gint abi_ver) \ > { \ Why is this necessary? Regards, Nick _

[Geany-devel] OT replace c++ - Re: project build dialog - Re: [ANNOUNCE] gproject - yet another geany project plugin

2010-06-10 Thread Nick Treleaven
On Thu, 10 Jun 2010 11:44:24 +0200 Jiří Techet wrote: > > And you program in C++ !! I'd have thought overriding some entries > > only would be easy to understand :-) > > Yes, but I didn't say I like C++ - I don't. The language is made in a > completely wrong way. Unfortunately the fact is that i

Re: [Geany-devel] switch dialog bug - Re: [ANNOUNCE] gproject - yet another geany project plugin

2010-06-09 Thread Nick Treleaven
On Wed, 9 Jun 2010 18:48:51 +0200 Jiří Techet wrote: > >> > BTW, why do you destroy the dialog instead of hiding it? > >> > >> It's just that I can write > >> > >> if (switch_dialog) > >> > >> instead of > >> > >> if (switch_dialog && GTK_WIDGET_VISIBLE(switch_dialog)) > >> > >> but I can change

Re: [Geany-devel] switch dialog bug - Re: [ANNOUNCE] gproject - yet another geany project plugin

2010-06-09 Thread Nick Treleaven
On Wed, 9 Jun 2010 15:10:22 +0200 Jiří Techet wrote: > > BTW, why do you destroy the dialog instead of hiding it? > > It's just that I can write > > if (switch_dialog) > > instead of > > if (switch_dialog && GTK_WIDGET_VISIBLE(switch_dialog)) > > but I can change that if your preference is d

[Geany-devel] project build dialog - Re: [ANNOUNCE] gproject - yet another geany project plugin

2010-06-09 Thread Nick Treleaven
On Tue, 8 Jun 2010 18:59:35 +0200 Jiří Techet wrote: > To be honest, I find the new build dialog in 0.19 (and how it > interacts with the session-project) pretty confusing - when you use it > for the first time, you have no idea what it does (I had to look at > the sources to be sure). I assume

[Geany-devel] git - Re: [ANNOUNCE] gproject - yet another geany project plugin

2010-06-09 Thread Nick Treleaven
On Wed, 09 Jun 2010 15:11:48 +0200 Thomas Martitz wrote: > Am 09.06.2010 03:40, schrieb Lex Trotman: > > Sure its easier if everyone is using git, but ATM this is an SVN project. > > > > Although most, if not all, geany developers use git, don't they? Do you mean git-svn? The Git repo is no

[Geany-devel] "Non-filetype commands" - Re: [ANNOUNCE] gproject - yet another geany project plugin

2010-06-09 Thread Nick Treleaven
On Wed, 9 Jun 2010 23:22:51 +1000 Lex Trotman wrote: > The update to the build system is to support running any commands, > make,nmake, waf, scons, cmake, ant, bjam, my_favourite_shell_script > etc so the "Non-filetype commands" can't be called "make commands" > anymore, and unfortunately the na

Re: [Geany-devel] Git - Re: [ANNOUNCE] gproject - yet another geany project plugin

2010-06-09 Thread Nick Treleaven
On Wed, 9 Jun 2010 15:36:32 +0200 Jiří Techet wrote: > > It's pretty clear from the GIT page that it's a read-only mirror. We > > don't have a writable GIT repo. > > > > OK, I've just noticed: > > "Read-only mirrors of the SVN repositories, updated shortly after real > commits in the SVN reposi

[Geany-devel] Git - Re: [ANNOUNCE] gproject - yet another geany project plugin

2010-06-09 Thread Nick Treleaven
On Wed, 9 Jun 2010 13:06:45 +0200 Jiří Techet wrote: > > Sure its easier if everyone is using git, but ATM this is an SVN project. > > > > It's true that I've used the workflow typical for a git project - from > geany web page, which offers both git and SVN repository I assumed > that I can chos

[Geany-devel] linear time tag manager - Re: [ANNOUNCE] gproject - yet another geany project plugin

2010-06-09 Thread Nick Treleaven
On Mon, 7 Jun 2010 23:38:19 +0200 Jiří Techet wrote: > * for big projects I'd like to create some basic ctags support. The > tag manager used by geany is totally unusable for big projects because > building the object hierarchy has quadratic to exponential complexity. > I need a simple tag suppor

[Geany-devel] switch dialog bug - Re: [ANNOUNCE] gproject - yet another geany project plugin

2010-06-09 Thread Nick Treleaven
On Tue, 8 Jun 2010 18:59:35 +0200 Jiří Techet wrote: > And this fix should definitely go to 0.19: > > http://gitorious.org/~techy/geany/techys-geany/commit/62deb4ec5c2b8de4d0979c55f853f529efde223f > > I think I didn't properly describe this one in the commit log - there > is a 600ms interval in

[Geany-devel] tag preprocessing - Re: 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-04 Thread Nick Treleaven
On Fri, 4 Jun 2010 11:12:09 +1000 Lex Trotman wrote: > if you are adding a command line > option why not make it one to allow the user to add whatever options > they want to replace the undef. I think this is already possible by preprocessing headers yourself: http://sourceforge.net/tracker/inde

[Geany-devel] Planning the 0.19 release

2010-05-06 Thread Nick Treleaven
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 so: http://www.geany.org/Download/SVN That link also h

[Geany-devel] opening/reloading template files - Re: Intro (and apology)

2010-05-06 Thread Nick Treleaven
Hi, Sorry for the late reply (the thread subject wasn't too specific ;-)) On Sun, 21 Feb 2010 15:26:23 +0100 Enrico Tröger wrote: > >> The feature request, if I interpret it correctly, was for a new > >> menu under Tools that listed all template files so that they could > >> be selected for ed

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

2010-05-05 Thread Nick Treleaven
On Mon, 03 May 2010 18:50:07 +0200 Colomban Wendling 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 and symbols_get_context_separator() (and more if > >> needed) wo

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

2010-05-03 Thread Nick Treleaven
On Sat, 01 May 2010 20:28:42 +0200 Colomban Wendling 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 and symbols_get_context_separator() (and more if > needed) would be appli

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

2010-05-03 Thread Nick Treleaven
On Thu, 29 Apr 2010 20:59:40 +0200 Colomban Wendling wrote: > I attach a patch that adds sci_get_line_indentation() and > sci_set_line_indentation() to the plugin API. I don't need the latter Thanks, committed. > but I have added it because I think they goes quite together; but if you > don't t

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

2010-04-29 Thread Nick Treleaven
On Thu, 29 Apr 2010 19:13:25 +0200 Colomban Wendling 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/trunk/geanygendoc/src/ggd.c?revision=1316&view=markup#

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

2010-04-29 Thread Nick Treleaven
On Thu, 29 Apr 2010 17:46:45 +0200 Enrico Tröger 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 probably true for most Geany users (using GTK >

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

2010-04-29 Thread Nick Treleaven
On Thu, 29 Apr 2010 00:28:02 +0200 Colomban Wendling 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 the indentation at the insertion position. > > I found editor_i

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

2010-04-27 Thread Nick Treleaven
On Thu, 22 Apr 2010 23:56:35 +0200 Colomban Wendling wrote: > * the stash_group_add_entry() and its widget_id. The thing is that when > it is a string it should be constant, but when it is a widget it > shouldn't be... perhaps it is fine as now. I'm not sure what to do about this really. Regard

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

2010-04-27 Thread Nick Treleaven
On Tue, 27 Apr 2010 13:51:58 +0200 Krasimir Angelov wrote: > I use GTK 2.20. From the ChangeLog: Win32 – XP themes have been disabled since they don’t work http://www.gtk.org/ Regards, Nick P.S. Please don't top-post ;-) ___ Geany-devel mailing list

Re: [Geany-devel] Geany Treebrowser Plugin

2010-04-27 Thread Nick Treleaven
On Sun, 25 Apr 2010 22:13:08 +0300 (EEST) Enzo Matrix wrote: > http://img22.imageshack.us/img22/1553/geanytreebrowserplugin0.png Wow, looks great ;-) Regards, Nick ___ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailm

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

2010-04-27 Thread Nick Treleaven
On Tue, 27 Apr 2010 13:51:58 +0200 Krasimir Angelov wrote: > I use GTK 2.20. By the way I attached pictures of the two versions of > the editor. Just to check, do you use 2.20 for the development files as well, not just runtime? Regards, Nick ___ Gean

Re: [Geany-devel] [Patch] invalid memory read in vString tagamanger module

2010-04-27 Thread Nick Treleaven
On Mon, 26 Apr 2010 19:27:25 +0200 Colomban Wendling wrote: > vStringStripTrailing() reads outside its buffer when called on an empty > vString [1]. Joined a trivial patch that fixes the problem. Thanks, committed. Regards, Nick ___ Geany-devel mailin

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

2010-04-27 Thread Nick Treleaven
On Mon, 26 Apr 2010 10:56:15 +0200 Krasimir Angelov wrote: > I successfully compiled and run Geany on Windows using MinGW. However > I have a small problem. When I run the newly built Geany it uses > different theme than the one that comes with the binary distribution > of Geany. The binary distr

Re: [Geany-devel] CFLAGS - Re: [patch] "Constify" some arguments and fields

2010-04-22 Thread Nick Treleaven
On Thu, 22 Apr 2010 18:07:56 +0200 Colomban Wendling wrote: > >> Ah, as we talk about compiler options, another think I like to add is > >> -Werror-implicit-function-declaration (that, as its name suggests, take > >> an implicit function declaration as an error), since such a situation is > >> mo

[Geany-devel] CFLAGS - Re: [patch] "Constify" some arguments and fields

2010-04-22 Thread Nick Treleaven
On Thu, 22 Apr 2010 15:35:17 +0200 Colomban Wendling wrote: > >> [1] -Wall -W -O2 -Wunused -Wunreachable-code -Wformat=2 -Wundef -Wshadow > >> -Wpointer-arith -Wbad-function-cast -Wwrite-strings -Wconversion > >> -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes > >> -Wmissing-declarati

Re: [Geany-devel] [patch] "Constify" some arguments and fields

2010-04-22 Thread Nick Treleaven
On Wed, 21 Apr 2010 22:51:33 +0200 Colomban Wendling wrote: > 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 mo

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

2010-04-20 Thread Nick Treleaven
On Tue, 20 Apr 2010 16:53:23 +0200 Thomas Martitz 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 improvements to their copies. > > > > But IMO it'

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

2010-04-20 Thread Nick Treleaven
On Tue, 20 Apr 2010 10:10:33 -0400 jordan wrote: > How does Monodevelop handle it's tag manager as unlike Anjuta and Geany > the tags always point to the correct line? IDEs reparse the tags from memory in idle time. Regards, Nick ___ Geany-devel maili

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

2010-04-20 Thread Nick Treleaven
On Mon, 19 Apr 2010 19:51:04 +0200 Enrico Tröger wrote: > >>> parser must care about buffer VS file, wouldn't it be good to > >>> abstract this a little more? (with e.g. a little I/O layer - I > >>> already started a small library to check if it would be easy to > >>> emulate file I/O on buffer,

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

2010-04-19 Thread Nick Treleaven
On Mon, 19 Apr 2010 00:34:42 +0200 Enrico Tröger 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 document_update_tag_list(doc, TRUE) to > >re-parse); but I suppose it

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

2010-04-06 Thread Nick Treleaven
Probably the backup file can be left as it is, so a user gets a copy of > > his/her old data; those who are > > annoyed with that can simply turn the option off. > > > > I've created a patch which requires some final testing; I'll send it today > > or

[Geany-devel] ANN: Stash API - read/write GKeyFile settings and synchronize widgets

2010-04-01 Thread Nick Treleaven
Hi, I added src/stash.h to the plugin API - see: http://www.geany.org/manual/reference/stash_8h.html http://www.geany.org/manual/reference/stash_8h.html#settings-example When I have time I'll update a plugin to use it. Currently it's only used in the core. Comments welcome ;-) Regards, Nick ___

Re: [Geany-devel] GObject: Use ->priv instead GET_PRIV() macros - Re: SF.net SVN: geany:[4791] trunk

2010-04-01 Thread Nick Treleaven
On Tue, 30 Mar 2010 23:25:56 +0200 Enrico Tröger wrote: > >For our uses I'm not sure if it affects performance much, but it would > >be good to remove all FOO_GET_PRIVATE() macros from GObject code. > > Yes. > > > >I removed this macro generation from the Class Builder plugin. > > Maybe we co

[Geany-devel] Uses of filetype build commands in a project

2010-04-01 Thread Nick Treleaven
Hi, As we have discussed a little whether project filetype commands are worth having, I thought I'd share what I've begun to use them for lately when working on Geany. reStructuredText: Manual make doc Hacking make hacking-doc%p/doc directory 'Manual' is for when I'm editing doc/geany.tx

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

2010-04-01 Thread Nick Treleaven
On Thu, 1 Apr 2010 12:41:13 +0100 Nick Treleaven wrote: > > Btw, the bugs with GVFS didn't appear with GNOME 2.26 (and probably > > before), so I think we can safely use fopen() and fprintf()/fwrite() there. > > Then, your proposal about version separation (use

Re: [Geany-devel] POSIX system/GNU regex engine for find & replace in trunk - Re: SF.net SVN: geany:[4746] trunk

2010-04-01 Thread Nick Treleaven
On Tue, 9 Mar 2010 17:32:56 + Nick Treleaven wrote: > I've switched the regex engine for the find & replace dialog 'Use > regular expressions' option. This is (potentially) more powerful and > fixes some issues (see below). I forgot to mention that \n (newlin

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

2010-04-01 Thread Nick Treleaven
On Wed, 31 Mar 2010 00:24:45 +0200 Dominic Hopf wrote: > > It seems with 5.10 this module doesn't exist anymore or at least > > isn't shipped anymore with the default Perl distribution. > > But instead, Perl 5.10 has a -c command line option which also > > does a syntax check. I guess this is eno

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

2010-04-01 Thread Nick Treleaven
On Wed, 31 Mar 2010 14:41:20 +0400 Алексей Антипов <1a_anti...@mail.ru> wrote: > Btw, the bugs with GVFS didn't appear with GNOME 2.26 (and probably before), > so I think we can safely use fopen() and fprintf()/fwrite() there. Then, your > proposal about version separation (use GIO with GLib>=2.

Re: [Geany-devel] Geany 0.18 (configure.in) has hidden depends on 'which' utility.

2010-03-31 Thread Nick Treleaven
On Thu, 25 Mar 2010 18:11:15 + Nick Treleaven wrote: > > This patch actually reduced portability. > > > > https://sourceforge.net/tracker/?func=detail&atid=787791&aid=2973764&group_id=153444 > > > > Solutions would be welcome. > > I thin

[Geany-devel] GObject: Use ->priv instead GET_PRIV() macros - Re: SF.net SVN: geany:[4791] trunk

2010-03-30 Thread Nick Treleaven
Hi, I randomly saw this: http://blogs.gnome.org/jjardon/2010/03/30/improve-performance-use-priv-instead-get_priv-macros/ For our uses I'm not sure if it affects performance much, but it would be good to remove all FOO_GET_PRIVATE() macros from GObject code. I removed this macro generation from t

Re: [Geany-devel] Geany 0.18 (configure.in) has hidden depends on 'which' utility.

2010-03-25 Thread Nick Treleaven
On Sat, 20 Mar 2010 17:31:02 +0100 Enrico Tröger wrote: > >>It's that Geany is built in a clean chroot build environment along > >>with only the compilers and libs required. ``which`` is not a > >>necessary build requirement IMHO. We should have a portable, standard, > >>``configure`` that can bu

[Geany-devel] SVN po.de Geany update - Re: (no subject)

2010-03-18 Thread Nick Treleaven
On Tue, 16 Mar 2010 23:17:00 +0100 Michael Spahn wrote: > Small SVN po.de Geany update. > Have fun, maybe some better translations. > Regards, > Michael Thanks. But try sending them to Frank as he's the translation maintainer. Regards, Nick ___ Geany-

Re: [Geany-devel] Waf -O0 set - Re: SF.net SVN: geany:[4763] trunk

2010-03-17 Thread Nick Treleaven
On Tue, 16 Mar 2010 21:24:13 +0100 Enrico Tröger wrote: > >Do we really want to force -O0 for wscript SVN builds? > > Nah, that was a funny mistake :). > I committed the other changes of the revision 4763 and while waiting > for the commit to finish, I added -O0 to test something and then > acci

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

2010-03-17 Thread Nick Treleaven
On Tue, 16 Mar 2010 19:23:32 +0100 Colomban Wendling 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. Nested lambda are supported too. > > > > I haven

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

2010-03-17 Thread Nick Treleaven
On Tue, 16 Mar 2010 19:07:05 +0100 Thomas Martitz wrote: > > I haven't tried it but do we really want this? Aren't lambda functions > > supposed to be short and limited to local scope? We don't parse other > > local things other than nested functions, but they can be quite > > long. > > Is this

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

2010-03-16 Thread Nick Treleaven
On Thu, 11 Mar 2010 15:29:48 +0100 Colomban Wendling 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. Nested lambda are supported too. I haven't tried it but d

[Geany-devel] stash.c config options API - Re: treebrowser plugin

2010-03-16 Thread Nick Treleaven
On Tue, 16 Mar 2010 17:50:52 +0200 (EET) Enzo Matrix wrote: > Now i have problems with writing/reading an config options (just don`t know > how to start, there is no integrated APIs for this) > It will be really nice and useful if there are > function in geany to write configs > may be somethin

Re: [Geany-devel] Waf -O0 set - Re: SF.net SVN: geany:[4763] trunk

2010-03-16 Thread Nick Treleaven
On Tue, 16 Mar 2010 14:54:00 +0100 Thomas Martitz wrote: > > Also, as I don't know Waf well, does it only support building with gcc? > > > > Regards, > > Nick > > > > I can't comment here, but the code at least looks like being generic. I was thinking about the compiler flags, -g and -DFOO

[Geany-devel] Waf -O0 set - Re: SF.net SVN: geany:[4763] trunk

2010-03-16 Thread Nick Treleaven
On Mon, 15 Mar 2010 14:06:29 + eh...@users.sourceforge.net wrote: > Revision: 4763 > http://geany.svn.sourceforge.net/geany/?rev=4763&view=rev > Author: eht16 > Date: 2010-03-15 14:06:29 + (Mon, 15 Mar 2010) > > Log Message: > --- > Fix/Improve GIT repository detec

[Geany-devel] disabled filetype none & xml commands - Re: geany bug saving execute commands - filetype none

2010-03-16 Thread Nick Treleaven
On Tue, 16 Mar 2010 11:31:22 +1100 Lex Trotman wrote: > >>> See attached screenshot - I set the AUTHORS filetype to XML but it > >>> looks the same with filetype None too. > >>> > >> > >> I'll see your screenshot and raise you a working one :-), see attached, I > >> set fieltype to XML and as yo

Re: [Geany-devel] geany bug saving execute commands - filetype none

2010-03-15 Thread Nick Treleaven
Sorry for the noise, accidental Ctrl-Enter. On Tue, 16 Mar 2010 00:06:58 +1100 Lex Trotman wrote: > > Probably we can fix this to return "none" instead of "common" and > > adjust all calling code to still work. > > > > Or just store it in filetypes.common, doesn't matter so long as we write to

Re: [Geany-devel] geany bug saving execute commands - filetype none

2010-03-15 Thread Nick Treleaven
On Tue, 16 Mar 2010 00:06:58 +1100 Lex Trotman wrote: > On 15 March 2010 23:21, Nick Treleaven wrote: > > > On Sun, 14 Mar 2010 10:52:47 +1100 > > Lex Trotman wrote: > > > > > > > This is because executes are saved in the filetypes file and the > &g

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

2010-03-15 Thread Nick Treleaven
On Fri, 12 Mar 2010 00:23:08 +0300 Eugene Arshinov wrote: > When I said the frames being inconsistent, I meant that > * some frames have zero border width while most of them have border > width set to 5; > * sometimes this border width is applied to each frame contained > within a page, while

Re: [Geany-devel] geany bug saving execute commands - filetype none

2010-03-15 Thread Nick Treleaven
On Sun, 14 Mar 2010 10:52:47 +1100 Lex Trotman wrote: > > > This is because executes are saved in the filetypes file and the function > > > filetypes_save_commands() starts at index 1 not 0 so no commands are > > saved > > > for filetype none. > > > > > > Same happens for the filetype commands as

Re: [Geany-devel] geany bug saving execute commands - filetype none

2010-03-13 Thread Nick Treleaven
On Sat, 13 Mar 2010 09:16:51 +1100 Lex Trotman wrote: > > There seems to be a bug in trunk if you edit an execute command field > > then restart Geany, the changes aren't saved. > I can only get it to fail if you set the commands when the filetype is none. Sorry I forgot to mention that ;-) I o

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

2010-03-12 Thread Nick Treleaven
On Thu, 11 Mar 2010 20:29:53 +0100 Enrico Tröger wrote: > >> 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 that menu labels don't normally need to be > >> edi

[Geany-devel] geany-plugins compat - Re: plugin dev question

2010-03-11 Thread Nick Treleaven
On Wed, 10 Mar 2010 20:13:59 -0600 Chuck Tilbury wrote: > I had another problem with building the add-ons, though. After taking care > of the dependencies given by ./configure, I tried to get and build > the geany-plugins-0.18 files and many of the plugins refused to build > because of inaccessi

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

2010-03-11 Thread Nick Treleaven
On Thu, 11 Mar 2010 10:05:45 +1100 Lex Trotman wrote: > >> 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 that menu labels don't normally need to be edited. >

Re: [Geany-devel] Build system 2.0, default configuration dialog

2010-03-11 Thread Nick Treleaven
On Thu, 11 Mar 2010 11:16:46 +1100 Lex Trotman wrote: > On 11 March 2010 04:53, Nick Treleaven wrote: > > > On Thu, 4 Mar 2010 10:52:55 +1100 > > Lex Trotman wrote: > > > > > The current trunk arrangement has one major problem though, the project > > >

Re: [Geany-devel] Build system 2.0, default configuration dialog

2010-03-10 Thread Nick Treleaven
On Thu, 4 Mar 2010 10:52:55 +1100 Lex Trotman wrote: > The current trunk arrangement has one major problem though, the project > settings and the non-project settings are configured in separate dialogs, > having settings that interact in different places is very poor user > interface design (whic

Re: [Geany-devel] Project-specific long line marker position

2010-03-10 Thread Nick Treleaven
On Wed, 24 Feb 2010 13:08:24 + Nick Treleaven wrote: > ... > > I had to tamper GeanyEditor struct a bit. It seems to cause no troubles > > for plugins as GeanyEditor is not exported. Fields 'long_line_*' are > > renamed to corresponding 'long_

Re: [Geany-devel] [Patch] Avoid crash when opening project properties dialog

2010-03-09 Thread Nick Treleaven
On Tue, 9 Mar 2010 19:48:39 +1100 Lex Trotman wrote: > > ft is NULL there, which looks like a valid value, since ft is tested for > > NULL explicitly in line 1878. So I propose the following patch. ... > Thanks, one more change is needed, ft isn't initialised to NULL so on my > machine it doesn'

[Geany-devel] POSIX system/GNU regex engine for find & replace in trunk - Re: SF.net SVN: geany:[4746] trunk

2010-03-09 Thread Nick Treleaven
Hi, I've switched the regex engine for the find & replace dialog 'Use regular expressions' option. This is (potentially) more powerful and fixes some issues (see below). Please test and give feedback, thanks. On Tue, 09 Mar 2010 16:56:05 + nt...@users.sourceforge.net wrote: > Revision: 4746

Re: [Geany-devel] Scintilla 2.03 Update

2010-03-09 Thread Nick Treleaven
On Sun, 7 Mar 2010 11:41:22 +0100 Enrico Tröger wrote: > 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. Great, this really improves column-mode editing, thanks. And we finally get a multiline

Re: [Geany-devel] Geany's Markdown lexer

2010-03-09 Thread Nick Treleaven
On Sun, 7 Mar 2010 11:44:33 +0100 Enrico Tröger wrote: > 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 differen

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

2010-03-08 Thread Nick Treleaven
On Sun, 7 Mar 2010 19:20:37 +0100 Enrico Tröger 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 modifier, we > just want to allow only this subset. And yes, it was a

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

2010-03-05 Thread Nick Treleaven
On Tue, 02 Mar 2010 18:50:28 +0100 Thomas Martitz wrote: > >> (If a second instance of geany is run without passing filenames to the > >> first, -i is implied). > >> > >> > > I really like this idea. It is simple to understand, rather > > convenient and uniform with the behaviour of "new-in

Re: [Geany-devel] Improving PHP parser

2010-03-05 Thread Nick Treleaven
On Thu, 4 Mar 2010 05:28:32 -0800 (PST) Can Koy wrote: > Anybody working on improving PHP parser in tagmanager? > If not, I intend to have a look at it this weekend. Primary objective is to > add calltips. > I could use some example code or any other pointer about regex callbacks in > ctags (ot

Re: [Geany-devel] Build system 2.0, default configuration dialog

2010-03-04 Thread Nick Treleaven
On Thu, 4 Mar 2010 10:52:55 +1100 Lex Trotman wrote: > > Hmm, this seems quite complicated. You know we accept current trunk as > > good, no need to rethink everything. > > > > It is actually slightly simpler than current trunk. ... > > > 1. edit each of the "make" commands individually (0.18.1

Re: [Geany-devel] Changelog in branches

2010-03-02 Thread Nick Treleaven
On Tue, 2 Mar 2010 15:23:24 +1100 Lex Trotman wrote: > I've just merged trunk into bs2 branch and of course got a conflict on the > Changelog file. > > What was the decision on what to do with branch changelogs, I can't > remember? I think for the branch changelog it's up to the branch develope

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

2010-03-02 Thread Nick Treleaven
On Tue, 2 Mar 2010 13:07:55 +1100 Lex Trotman wrote: > Well, since the question is "Try to resave the file?" I'd suggest that > GTK_STOCK_YES and GTK_STOCK_NO be used since they are a more direct answer > to the question than apply/cancel are. And that makes the mnemonics > different. > > What

Re: [Geany-devel] build plugin - Re: Build system branch 2.0

2010-03-02 Thread Nick Treleaven
On Tue, 2 Mar 2010 10:21:27 +1100 Lex Trotman wrote: > > On Fri, 26 Feb 2010 17:54:31 +0000 > > Nick Treleaven wrote: > > > > > > Makes the plugin much bigger and also requires more of the build > > > > > > Makes the core smaller ;-) > > &g

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

2010-03-01 Thread Nick Treleaven
On Sat, 27 Feb 2010 09:05:12 +1100 Lex Trotman wrote: > > To be easy to implement, perhaps maybe only the first/main instance > > should save settings. We could have a Tools->Save Config menu item > > enabled for the first instance to allow the user to restart other > > instances with the new set

Re: [Geany-devel] build plugin - Re: Build system branch 2.0

2010-03-01 Thread Nick Treleaven
On Fri, 26 Feb 2010 17:54:31 + Nick Treleaven wrote: > > Makes the plugin much bigger and also requires more of the build > > Makes the core smaller ;-) Probably not by much though. > > functionality to be exposed unless everything is re-implemented in the > &

Re: [Geany-devel] build plugin - Re: Build system branch 2.0

2010-02-26 Thread Nick Treleaven
On Thu, 25 Feb 2010 09:43:33 +1100 Lex Trotman wrote: > On 25 February 2010 00:17, Nick Treleaven > wrote: > > > Personally I'm not sure that tying the two implementations together is > > a good idea. I haven't really studied Lex's build.c implementation bu

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

2010-02-26 Thread Nick Treleaven
On Wed, 24 Feb 2010 22:02:55 +1100 Lex Trotman wrote: > The overall issue of preferences, configuration and sessions for multiple > instances is an interesting one (Sorry Eugene, I've got no answers but lots > of questions) > > Why is the first necessarily the "master"? > Is this by definition o

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

2010-02-26 Thread Nick Treleaven
On Wed, 24 Feb 2010 12:04:20 +0300 Eugene Arshinov 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 trunk or SM version. > > To reproduce: open three instances of gean

Re: [Geany-devel] Project-specific long line marker position

2010-02-24 Thread Nick Treleaven
On Wed, 24 Feb 2010 13:08:24 + Nick Treleaven wrote: > > I just implemented $subj. I can't be sure all decisions I made are > > right, so I request a review. There are a couple of screen shots, for > > those who don't like applying patches: [1], [2]. > >

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

2010-02-24 Thread Nick Treleaven
On Sun, 21 Feb 2010 13:30:31 + eh...@users.sourceforge.net wrote: > Replace tabs by spaces. > > Modified Paths: > -- > trunk/ChangeLog > trunk/plugins/genapi.py Just wondered why? ;-) Regards, Nick ___ Geany-devel mailing list

[Geany-devel] build plugin - Re: Build system branch 2.0

2010-02-24 Thread Nick Treleaven
On Sun, 21 Feb 2010 15:03:01 +0100 Enrico Tröger wrote: > >As I see it there area couple of ways of implementing your suggestion: > > > >1. a basic build system in the core and the advanced one in the > >plugin, or > >2. the two plugins approach > > > >1. has the advantage that the basic system i

Re: [Geany-devel] Project-specific long line marker position

2010-02-24 Thread Nick Treleaven
On Sun, 21 Feb 2010 18:34:03 +0300 Eugene Arshinov wrote: > I just implemented $subj. I can't be sure all decisions I made are > right, so I request a review. There are a couple of screen shots, for > those who don't like applying patches: [1], [2]. Thanks ;-) > In the first shot you can see I

<    1   2   3   4   5   6   7   >