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
Frank Lanitz
2351a2ca2e
Updated translations added for 0.21 NEWS-file
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5957 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-24 20:32:37 +00:00
Frank Lanitz
fa0df4ac76
Update of Japanese translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5956 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-24 20:28:21 +00:00
Peter Scholtens
0ba75e747b
mismatch of format corrected
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5955 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-23 21:18:09 +00:00
Frank Lanitz
4d78955c4d
Adding frlan changes to NEWS which != only i18n
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5954 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-23 18:32:14 +00:00
Frank Lanitz
3921732c9a
Fix a wrong file reference inside ChangeLog
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5953 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-23 18:31:58 +00:00
Frank Lanitz
d06d091fe3
Update of Turkish translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5952 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-23 18:31:42 +00:00
Frank Lanitz
1e76f97ee0
Update of simplified Chinese translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5951 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-23 18:31:23 +00:00
Frank Lanitz
972870cc5c
Update of Galician translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5950 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-23 18:31:03 +00:00
Colomban Wendling
92c95ad06b
Fix a few warnings
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5949 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-22 18:04:03 +00:00
Nick Treleaven
769dbdec0f
Change GTK 2.8 -> 2.12.
...
Rename required GTK version section.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5948 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-22 16:11:53 +00:00
Nick Treleaven
478f91a129
Move build_menu_prefs to keyfile.c, it's only used there.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5947 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-22 15:55:10 +00:00
Nick Treleaven
c2b8bc1c4f
Fix \0 char in format string - save as dialog filter bug.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5946 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-22 15:53:14 +00:00
Nick Treleaven
6fb7d6c181
Fix string literal comparison warning.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5945 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-22 12:05:05 +00:00
Nick Treleaven
1afb825ec8
Add configuration_add_various_pref_group().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5944 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-09-22 11:52:58 +00:00