5741 Commits

Author SHA1 Message Date
Colomban Wendling
93a349005f Auto-generate final configure summary
Add and use macros to generate final configure summary rather than
hard-code it.  This allows for the status to be registered from where
they comes rather than all in the end.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6008 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 00:45:33 +00:00
Colomban Wendling
c955de3ffc Move various tricky configure logic to their own file
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6007 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 00:45:08 +00:00
Colomban Wendling
f1bce08535 Move configure logic for MinGW, socket and VTE to their own files
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6006 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 00:44:48 +00:00
Colomban Wendling
574d5ce336 Move configure logic for i18n to its own file
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6005 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 00:44:25 +00:00
Colomban Wendling
ff3ad0e642 Move configure logic for enabling plugins to its own file
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6004 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 00:44:06 +00:00
Colomban Wendling
c7b57e24e2 Move configure logic for internal GNU regex usage to its own file
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6003 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 00:43:46 +00:00
Colomban Wendling
294a21db88 Move configure logic for binary relocation support to its own file
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6002 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 00:43:28 +00:00
Colomban Wendling
680064b42c Move configure logic that checks for SVN revision to its own file
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6001 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 00:43:09 +00:00
Colomban Wendling
4dd7092726 Modernize configure.ac a bit
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@6000 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-06 00:42:48 +00:00
Nick Treleaven
d63f1f052b Use <geanyplugin.h> not "geanyplugin.h" in the howto.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5999 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-05 15:59:26 +00:00
Nick Treleaven
b673f0534e Fix argument description.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5998 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-05 15:33:40 +00:00
Nick Treleaven
03d22bec52 Fix CTags bug 2970274 - when using addCallbackRegex the callback
receives less than the number of matches. The number is still not 
correct (due to POSIX regex compatibility) but at least includes 
all non-empty matches now.
http://sourceforge.net/tracker/index.php?func=detail&aid=2970274
&group_id=6556&atid=106556



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5997 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-05 12:00:38 +00:00
Nick Treleaven
3462cc900a Add note about using GRegex for tag parsers instead of POSIX regex.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5996 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-04 17:10:42 +00:00
Nick Treleaven
24530e59c1 Update from CTags SVN jscript.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5995 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-04 12:22:36 +00:00
Colomban Wendling
965ef1a285 Cleanup utils_strpos()
Use strstr() to find the substring, which makes the code simpler and
is way faster (new version is nearly 2 times faster on my machine).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5994 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-03 17:06:12 +00:00
Colomban Wendling
7ff6f6b799 Cleanup utils_remove_ext_from_filename()
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5993 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-03 17:05:57 +00:00
Colomban Wendling
386b32122e Avoid an unnecessary string duplication in utils_str_casecmp()
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5992 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-03 17:05:41 +00:00
Colomban Wendling
33f471c6f1 Fix "toggle case" when there is no selection
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5991 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-03 17:05:25 +00:00
Nick Treleaven
abefcc3375 Support visual reordering of keybinding groups without breaking the
plugin ABI.
Reorder Project group to follow main menu order.
Move Focus, Notebook tab groups last as they don't have 
corresponding menu items.
Use keybindings_get_core_group() for fixed group IDs instead of 
indexing keybinding_groups.
Make keybindings_lookup_item() only work with a GEANY_KEY_GROUP_ 
ID, not an index into keybinding_groups.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5990 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-03 14:57:02 +00:00
Colomban Wendling
d6dfedf4a0 Post-release version bump
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5989 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-03 14:39:01 +00:00
Nick Treleaven
5b220d70a2 * Merge branches/unstable:
- tagmanager/php.c:
   Fix parsing keyword-qualified functions strictly, e.g. don't 
   parse 'staticfunction' or 'fatfunction'.
 - src/utils.c, src/utils.h, src/editor.c:
   Use GRegex for snippet indentation replacement - fixes wrong 
   behaviour with Mac line endings.
 - tagmanager/lregex.c, TODO:
   Use GRegex for CTags instead of POSIX regex - GRegex is more 
   powerful. This also fixes a (HTML) performance issue on Windows. 
   Geany will now print a debug warning when using the "b" CTags 
   regex flag option for non-extended syntax. This is not currently 
   used by Geany's parsers.
   Note: GNU regex can't be removed yet as it's still used elsewhere 
   by Geany.
 - src/build.c, doc/pluginsignals.c:
   When saving on build, prompt for a filename if necessary.
   Emit the "build-start" signal only if saving succeeds.
 - src/build.c:
   Use #ifdef SYNC_SPAWN instead of G_OS_WIN32 for easier testing with 
   glib's asynchronous spawning (which doesn't work on Windows).
 - src/win32.c, src/win32.h, src/dialogs.c:
   Use GTK unsaved file dialog on Windows too because the button names 
   should be specific.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5987 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-03 14:35:11 +00:00
Nick Treleaven
19fe99b106 Fix parsing keyword-qualified functions strictly, e.g. don't
parse 'staticfunction' or 'fatfunction'.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5986 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-03 14:14:33 +00:00
Colomban Wendling
b32bd2b648 Tag the 0.21 release
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/tags/Geany-0_21@5985 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-02 13:45:14 +00:00
Colomban Wendling
e96cb6be9f Set release date
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5984 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-02 13:20:09 +00:00
Colomban Wendling
ee2ff42071 Add myself as an author in the docs
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5983 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-02 13:13:10 +00:00
Enrico Tröger
bcfa4b47a3 If no SVN revision is found, return -1 instead of 0
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5982 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-02 10:59:22 +00:00
Frank Lanitz
9b054cfeca Update of German translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5981 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-01 20:52:40 +00:00
Colomban Wendling
80017d8ffa Update of the French translation for new strings from src/stash.c
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5980 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-01 14:46:26 +00:00
Colomban Wendling
4073d05ad6 Add missing src/stash.c to POTFILES (oops)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5979 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-01 14:46:04 +00:00
Enrico Tröger
cd6b2f8540 Update documentation for new images.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5978 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-01 10:44:17 +00:00
Enrico Tröger
53419b001c Update documentation images.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5977 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-10-01 10:43:03 +00:00
Nick Treleaven
b079b19da0 Use GRegex for CTags instead of POSIX regex - GRegex is more
powerful. This also fixes a (HTML) performance issue on Windows. 
Geany will now print a debug warning when using the "b" CTags 
regex flag option for non-extended syntax. This is not currently 
used by Geany's parsers.
Note: GNU regex can't be removed yet as it's still used elsewhere 
by Geany.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5976 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-30 14:43:18 +00:00
Nick Treleaven
8b987b095a Revert revision 5971 - gint* in accept().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5975 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-30 11:14:23 +00:00
Nick Treleaven
53a0121f69 Fix accept pointer signedness warning portably (hopefully) using socklen_t.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5974 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-30 11:11:29 +00:00
Nick Treleaven
9ca8db635a Use GRegex for snippet indentation replacement - fixes wrong
behaviour with Mac line endings.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5973 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-30 11:10:22 +00:00
Nick Treleaven
c6b38b861e When saving on build, prompt for a filename if necessary.
Emit the "build-start" signal only if saving succeeds.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5972 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-29 18:03:36 +00:00
Nick Treleaven
6ed4900f80 Fix pointer signedness warning.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5971 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-29 17:49:42 +00:00
Frank Lanitz
7a38548af0 Small update of NEWS file
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5970 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-29 17:16:58 +00:00
Frank Lanitz
992bb0c537 Another update of Italian translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5969 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-29 17:15:55 +00:00
Frank Lanitz
f99090da7a Update of Italian translation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5968 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-29 09:13:38 +00:00
Frank Lanitz
ebd800db2d Update of Finish translation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5967 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-29 09:13:17 +00:00
Colomban Wendling
0eadc9bd7b Compute needle length only once in utils_string_replace_all()
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5966 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-28 19:49:45 +00:00
Colomban Wendling
a89fcc2cc4 Fix utils_string_replace_all() to accept a NULL replacement again
Support of NULL as the replacement was lost in the code refactoring
introduced by revision 5730, and it broke a few plugins.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5965 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-28 19:49:28 +00:00
Nick Treleaven
9522258239 Remove unused and out of sync filetype_remove() - filetypes should not be removed anyway.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5964 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-28 10:47:43 +00:00
Frank Lanitz
a391001535 Update of Czech translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5963 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-28 08:54:25 +00:00
Frank Lanitz
907de2bef1 Update of Catalan translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5962 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-27 20:05:17 +00:00
Frank Lanitz
b6db3d5235 Fix of copyright year.
Oops.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5961 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-26 18:17:45 +00:00
Frank Lanitz
88ed76a8d6 Update of French translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5960 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-26 18:12:38 +00:00
Nick Treleaven
36a8459cbb Fix not indenting snippet contents for documents with non-\n line
endings.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5959 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-26 16:31:32 +00:00
Nick Treleaven
0e89b9e2e8 Fix not converting \n to document line endings in snippets.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5958 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-26 16:18:36 +00:00