4831 Commits

Author SHA1 Message Date
Enrico Tröger
cd246927ff Explicitly disconnect menus from GeanyMenuButtonAction on quit to not trigger updating the menus on each item removal.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4917 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-15 13:14:38 +00:00
Enrico Tröger
3e78659f47 Improve adding/removing of the special separator between menubar and toolbar when the toolbar is appended to the menubar.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4916 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-15 12:56:42 +00:00
Enrico Tröger
d7020722d0 Call handle_save_as() only when the Save As dialog was not cancelled.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4915 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-15 12:05:54 +00:00
Enrico Tröger
fb3f890969 Remove old code.
Pass and use also parent and title arguments to win32_show_document_open_dialog().

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4914 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-15 11:57:40 +00:00
Enrico Tröger
1e9b5cf97c Don't use file filters for the native Windows Save As dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4913 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-15 11:47:22 +00:00
Enrico Tröger
e95326ea20 Sort file filters for the native Windows file open dialog by name.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4912 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-15 11:35:26 +00:00
Frank Lanitz
26c2275338 Minor update of German translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4911 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-15 10:25:13 +00:00
Frank Lanitz
78edca6334 Replace one non breaking space by normal space. Patch by Daniel Marjamak.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4910 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-15 09:55:50 +00:00
Enrico Tröger
c72f1d40ac Remove unnecessary textdomain() call.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4909 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-14 16:01:44 +00:00
Enrico Tröger
93abd91162 Improve sorting of document list items (patch by Colomban Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4908 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-14 14:46:20 +00:00
Enrico Tröger
cd9b3973d6 Set common default "fold.comment" to 0 to disable it. This can be overridden if desired.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4907 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-14 14:22:02 +00:00
Enrico Tröger
7f037f71e4 Add namespace support for GTK+ classes.
Add GET_CLASS() macro for GTK+ classes.
Add typedef of the private structure in the header file instead of declaring it (all the above from a patch by Colomban Wendling, thanks).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4906 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-14 14:19:11 +00:00
Enrico Tröger
72c7cab17e Don't make the 'Create Class' menu item document-sensitive (patch by Colomban Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4905 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-14 14:09:43 +00:00
Nick Treleaven
16c632f579 Add Build prefix for TableFields, TableData.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4904 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-11 14:55:47 +00:00
Nick Treleaven
92c3140798 Make some ugly build.h global variables static.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4903 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-11 14:38:42 +00:00
Nick Treleaven
16995c6f1d Add 'Refresh' popup menu item (part of geany-plugins #2999858).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4902 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-11 12:31:16 +00:00
Nick Treleaven
e2c321b2e2 Only replace template filename matching start of word on saving.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4901 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-11 12:10:31 +00:00
Nick Treleaven
3f572f72ac Fix 'null' listed in both primary and secondary keyword lists.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4900 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-11 11:57:52 +00:00
Nick Treleaven
bba3085a57 Update and add item:
better file template {filename} wildcard replacement +{BASENAME}


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4899 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-11 11:56:55 +00:00
Nick Treleaven
c26dd54a9e Fix search_find_text not returning -1 when match is out of range.
This fixes invalid memory reads and wrong template filename
wildcard replacement.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4898 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-11 11:49:09 +00:00
Enrico Tröger
187a9c1c38 (Re-)Implement a (still basic) native Windows Save As dialog when compiled with GEANY_USE_WIN32_DIALOG.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4897 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-10 21:52:43 +00:00
Enrico Tröger
e852932163 Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4896 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-10 17:36:19 +00:00
Enrico Tröger
dfa5f18e8c Add missing header include
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4895 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-10 17:21:13 +00:00
Enrico Tröger
e382869a16 Allow '+<number' and '-<number>' as values for Goto Line inputs to jump relative to the current line (closes #2997238).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4894 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-09 15:48:55 +00:00
Enrico Tröger
819bf8e99a Add special variant dialogs_show_input_goto_line() to use a normal GtkEntry together with dialogs_show_input_goto_line() for text input.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4893 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-09 15:48:42 +00:00
Enrico Tröger
658b552f42 Add public, generic callback ui_editable_insert_text_callback() to restrict GtkEntry text inputs to +/- and numeric values only.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4892 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-09 15:48:29 +00:00
Enrico Tröger
0259f13295 Guard C++/GTK class generation specific code
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4891 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-09 15:48:18 +00:00
Enrico Tröger
43e075a4f8 Minor fixes
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4890 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-09 15:48:10 +00:00
Enrico Tröger
b606964d3c Replace C99 style comments
Adjust plugin author information
Fix shadowed variable

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4889 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-09 15:48:01 +00:00
Enrico Tröger
f7de6b4ada Remove trailing spaces
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4888 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-09 15:47:49 +00:00
Enrico Tröger
a2b0ec155b Add support for creating PHP classes (patch by Ondrej Donek, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4887 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-09 15:47:39 +00:00
Enrico Tröger
534e36b3bf Fix crash when generating global tags files (patch by Colomban Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4886 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-08 15:41:00 +00:00
Enrico Tröger
6cd54a2cdd Improve jumping to matching braces by consistently position the cursor before or after the matching brace dependent where it was before (patch by Dimitar Zhekov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4885 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-08 13:32:23 +00:00
Enrico Tröger
812d9cc480 Minor reformatting
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4884 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-08 13:10:33 +00:00
Enrico Tröger
fc27d57914 Don't auto-close short XML tags (closes #2994852).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4883 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-08 13:10:24 +00:00
Enrico Tröger
8371e2ead3 Apply foreground and background colours of the folding margin style properly (closes #2998347).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4882 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-08 13:10:14 +00:00
Nick Treleaven
64afb8a637 Avoid connecting signals more than once.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4881 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-07 13:21:32 +00:00
Frank Lanitz
a26cab18d4 Minor update of German translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4880 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-07 00:49:40 +00:00
Enrico Tröger
9521f7f2d5 Don't ignore the 'intltool' check on non-Windows system, instead raise a configure error.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4879 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-06 19:44:41 +00:00
Nick Treleaven
435a479d98 Reload templates if saving a document in the templates config dir.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4878 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-06 12:45:19 +00:00
Nick Treleaven
653a76b2f0 Fix marking some strings as translatable (cannot be done in the
ASSIGNIF macro).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4877 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-06 12:03:11 +00:00
Nick Treleaven
fdfbd2efb4 Add symbols_get_context_separator() to plugin API (patch by Colomban
Wendling, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4876 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-05 16:26:25 +00:00
Nick Treleaven
c3383930eb Divide template wildcards into groups.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4875 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-05 15:05:57 +00:00
Nick Treleaven
31571a39cf Add {project}, {description} template wildcards (#2954737).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4874 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-05 13:06:53 +00:00
Nick Treleaven
bf09ed5c48 Fix replacing {filename} template wildcard for custom file
templates with non-default file extension.
Add search_find_text() for POSIX regex searches.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4873 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-05 12:50:59 +00:00
Nick Treleaven
f38b468348 Add function document_apply_indent_settings() for use later.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4872 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-05 12:07:45 +00:00
Nick Treleaven
a04d999014 Move debug-only variable cl into printfcmds().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4871 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-03 15:43:07 +00:00
Nick Treleaven
8c7ccac2f4 Realign some macros.
Don't align local variable declarations.
Add blank line after variable declarations.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4870 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-03 15:31:11 +00:00
Nick Treleaven
700e6e96bf Add sci_set_line_indentation(), sci_get_line_indentation() to API
(patch by Colomban Wendling, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4869 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-03 14:46:32 +00:00
Nick Treleaven
f97b90c37d Fix setting wrong accelerator for 2 Edit->Commands items (patch by
Anonymous, #2995593).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4868 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-03 14:38:25 +00:00