Re: [Geany-devel] [PATCH] : FIx window position on start up.

2012-05-03 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote: The included patch checks the window position read from the preferences file, checks to see if its off either the right hand side or bottom of the screen and moves it back into a sensible position. Nudge! Anyone have any comments on this patch? Yeah? Nay? You look

[Geany-devel] [PATCH] : FIx window position on start up.

2012-04-26 Thread Erik de Castro Lopo
-- -- Erik de Castro Lopo http://www.mega-nerd.com/ From 21b8281b559facd2da9f888a960eab6f97ae70e1 Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo er...@mega-nerd.com Date: Thu, 26 Apr 2012 21:49:39 +1000 Subject: [PATCH] On start up, if the window position read from the preferences file

Re: [Geany-devel] [geany/geany] 795ee4: Merge pull request #28 from RetroX/patch-1

2012-02-25 Thread Erik de Castro Lopo
Lex Trotman wrote: On 26 February 2012 10:31, Erik de Castro Lopo mle+to...@mega-nerd.com wrote: Lex Trotman wrote: I have thought about which types should be automagically present in Geany without a tags file, and I do not think the intN_t types qualify.  They are not fundamental

Re: [Geany-devel] GtkFileChooser recent annoyance

2011-12-20 Thread Erik de Castro Lopo
-- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

Re: [Geany-devel] Default Snippets

2011-12-03 Thread Erik de Castro Lopo
! Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

Re: [Geany-devel] Default Snippets

2011-11-30 Thread Erik de Castro Lopo
the repo yet? I've just updated to the git head version and I'm still having trouble with dotab in Haskell. Cheers, Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Geany-devel

Re: [Geany-devel] Default Snippets

2011-11-30 Thread Erik de Castro Lopo
-- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

[Geany-devel] Slight problem with autocomplete and Haskell

2011-11-23 Thread Erik de Castro Lopo
-- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

Re: [Geany-devel] Default Snippets

2011-11-23 Thread Erik de Castro Lopo
to seeing that patch applied so I can pull and rebuild :-). Cheers, Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Geany-devel mailing list Geany-devel@uvena.de https

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

2010-09-22 Thread Erik de Castro Lopo
background. Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

Re: [Geany-devel] Errors

2010-09-22 Thread Erik de Castro Lopo
to verify it now (and its now even harder to trigger). Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin

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

2010-09-21 Thread Erik de Castro Lopo
. Nedit and jEdit have what I consider the behaviour. Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi

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

2010-09-20 Thread Erik de Castro Lopo
untitled document, it just leaves me with the default gtk background colour. I'm not using project sessions BTW. Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Geany-devel

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

2010-09-19 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote: Nick Treleaven wrote: On Thu, 16 Sep 2010 08:32:05 +1000 Erik de Castro Lopo mle+to...@mega-nerd.com wrote: Well, the responses are all positive. But I don't think that keybindings.c is the best place for this code. What about writing

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

2010-09-16 Thread Erik de Castro Lopo
Nick Treleaven wrote: On Thu, 16 Sep 2010 08:32:05 +1000 Erik de Castro Lopo mle+to...@mega-nerd.com wrote: Well, the responses are all positive. But I don't think that keybindings.c is the best place for this code. What about writing it as an idle callback from

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

2010-09-15 Thread Erik de Castro Lopo
Nick Treleaven wrote: 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 :) Awesome. Thanks. BTW, the patch code style

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

2010-09-15 Thread Erik de Castro Lopo
-- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

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

2010-09-15 Thread Erik de Castro Lopo
in keybindings.c to the end of the document_remove_page() function in document.c. Cheers, Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Geany-devel mailing list Geany-devel

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

2010-09-15 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote: Nick Treleaven wrote: Well, the responses are all positive. But I don't think that keybindings.c is the best place for this code. What about writing it as an idle callback from document_remove_page? Actually, doesn't even need a callback. Attached patch

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

2010-09-14 Thread Erik de Castro Lopo
-- -- Erik de Castro Lopo http://www.mega-nerd.com/ # Subject: On closing the last tab create new untitled document. # Author: Erik de Castro Lopo er...@mega-nerd.com # Last-Update: 2010-08-16 === modified file 'src/keybindings.c' Index: geany-bzr/src/keybindings.c

[Geany-devel] [PATCH] : Don't open directories passed in on the command line

2010-09-14 Thread Erik de Castro Lopo
-- -- Erik de Castro Lopo http://www.mega-nerd.com/ === modified file 'src/main.c' Index: geany-bzr/src/main.c === --- geany-bzr.orig/src/main.c +++ geany-bzr/src/main.c

Re: [Geany-devel] [PATCH] : Don't open directories passed in on the command line

2010-09-14 Thread Erik de Castro Lopo
Nick Treleaven wrote: On Tue, 14 Sep 2010 18:40:23 +1000 Erik de Castro Lopo mle+to...@mega-nerd.com wrote: Doing something like: geany /tmp on the command line geany will open with a empty file named /tmp which cannot be saved because there is a directory /tmp already

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

2010-09-14 Thread Erik de Castro Lopo
Nick Treleaven wrote: On Tue, 14 Sep 2010 18:03:52 +1000 Erik de Castro Lopo mle+to...@mega-nerd.com wrote: Currently, when closing the last tab, I get a geany window without any text area. The attached patch fixes that, by creating a new untitled document when the last tab

Re: [Geany-devel] [Patch] Fix 3 possible NULL pointer dereferences.

2010-09-13 Thread Erik de Castro Lopo
Nick Treleaven wrote: On Fri, 10 Sep 2010 18:03:52 +1000 Erik de Castro Lopo mle+to...@mega-nerd.com wrote: Three possible NULL pointer dereferences fixed in the attached patch. I assume you found these with a static analyzer? Yes :-). The first 2 I fixed in a different way so

[Geany-devel] [Patch] Fix 3 possible NULL pointer dereferences.

2010-09-10 Thread Erik de Castro Lopo
Hi all, Three possible NULL pointer dereferences fixed in the attached patch. Cheers, Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ # Subject: Make sure variable kb is non-NULL before dereferencing. # Author: Erik de

[Geany-devel] po/geany.pot is a generated file

2010-09-09 Thread Erik de Castro Lopo
-- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

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

2010-09-09 Thread Erik de Castro Lopo
Hi, Attached is a version of this patch updated to apply cleanly against SVN HEAD. Cheers, Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ # Subject: Per workspace sockets/instances. # Description: When run from

Re: [Geany-devel] Glade 2.12 won't build with recent GTK

2010-09-09 Thread Erik de Castro Lopo
solution as Hardy is due to be end-of-lifed some time in the next year and I expect the repos will disappear soon after that. Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com

Re: [Geany-devel] [PATCH] FIx document_need_save_as() logic

2010-09-09 Thread Erik de Castro Lopo
. Thanks. Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

Re: [Geany-devel] [PATCH] Minor autotool cleanups

2010-08-23 Thread Erik de Castro Lopo
. Instead I suggest that the autogen.sh script check for everything it needs and complain if something is missing. BTW please attach patches, not in the message body ;-) I'll remember that. Cheers, Erik -- -- Erik de Castro Lopo

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

2010-08-15 Thread Erik de Castro Lopo
-- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

Re: [Geany-devel] [PATCH] FIx document_need_save_as() logic

2010-08-12 Thread Erik de Castro Lopo
-- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

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

2010-08-11 Thread Erik de Castro Lopo
-- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

Re: [Geany-devel] [PATCH 08/19] When closing tab, return to the document at the top of the MRU list

2010-08-11 Thread Erik de Castro Lopo
-- -- Erik de Castro Lopo http://www.mega-nerd.com/ === modified file 'src/keybindings.c' Index: geany-bzr/src/keybindings.c === --- geany-bzr.orig/src/keybindings.c +++ geany-bzr/src/keybindings.c @@ -589,6 +589,9

Re: [Geany-devel] When is the scintilla component going to be updated?

2010-08-11 Thread Erik de Castro Lopo
to whatever is in SVN head). Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo

Re: [Geany-devel] When is the scintilla component going to be updated?

2010-08-11 Thread Erik de Castro Lopo
into my tree and we both run it for a week, and vouch for it the the core devs probably shouldn't need to do as much testing. As far as I see it, thats a win for everyone. Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com

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

2010-08-11 Thread Erik de Castro Lopo
-- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

Re: [Geany-devel] [PATCH 19/19] Use per document indent sizes

2010-08-09 Thread Erik de Castro Lopo
think it's cleaner to really use the 8 callbacks which should fix all the problems. So please use the attached patch instead of the original one. Applied here and working as expected. Thanks. Erik -- -- Erik de Castro Lopo

Re: [Geany-devel] When is the scintilla component going to be updated?

2010-08-09 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote: Anyone have any idea when the scintilla component is going to be updated? I notice the documentation here: http://www.geany.org/manual/hacking.html#syntax-highlighting says: We won't accept adding a lexer that conflicts with one in Scintilla. All new

Re: [Geany-devel] When is the scintilla component going to be updated?

2010-08-09 Thread Erik de Castro Lopo
the possibility of someone being able to look at patches increases. Cheers, Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Geany-devel mailing list Geany-devel@uvena.de http

Re: [Geany-devel] [PATCH 19/19] Use per document indent sizes

2010-08-09 Thread Erik de Castro Lopo
GPOINTER_TO_INT(user_data) to get the int back. Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman

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

2010-08-08 Thread Erik de Castro Lopo
a name, not a number. If anyone wants to work work on this with me let me know. I have an idea for making this work but I don't have any windows machines handy. Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com

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

2010-08-05 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote: Erik de Castro Lopo wrote: I still think this functionality can be improved on to do the right thing for most people most of the time. Ah, its in the TODO list anyway: o (per-workspace instances with socket support?) Since I have already figured

Re: [Geany-devel] [PATCH 19/19] Use per document indent sizes

2010-08-05 Thread Erik de Castro Lopo
-- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

Re: [Geany-devel] Improved syntactic highlighting for Haskell

2010-08-04 Thread Erik de Castro Lopo
? Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

[Geany-devel] [PATCH] Minor autotool cleanups

2010-08-03 Thread Erik de Castro Lopo
--- -- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

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

2010-08-03 Thread Erik de Castro Lopo
for this be accepted? Cheers, Erik -- -- Erik de Castro Lopo http://www.mega-nerd.com/ ___ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo

Re: [Geany-devel] [PATCH] Minor autotool cleanups

2010-08-03 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote: Hi all, Patch below fixes a number of warnings when running autogen.sh. Just remembered, if someone applies this patch, they should also do (from the top level dir): mkdir m4 svn add m4 Erik

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

2010-08-03 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote: I would also like this functionality, but the bug has been closed, without an explanation. Ooops, found the explanation: http://lists.uvena.de/pipermail/geany-devel/2009-November/001567.html I still think this functionality can be improved on to do the right

[Geany-devel] [PATCH] : Add check for pkg-config to autogen.sh

2010-08-02 Thread Erik de Castro Lopo
|| { echo echo **Error**: You must have \`automake' (1.7 or later) installed. ---8---8---8---8---8--- -- -- Erik de Castro Lopo http://www.mega-nerd.com