Enrico Tröger
8ed86bb881
Fix crash when the toolbar is reloaded without any open documents.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4941 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-22 19:39:03 +00:00
Enrico Tröger
9fec7e064e
Fix Undo/Redo button state after the last document has been closed.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4940 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-22 19:38:49 +00:00
Frank Lanitz
eaa90a7852
Update of translations files for string freeze for upcoming Geany 0.19
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4939 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-22 17:12:55 +00:00
Frank Lanitz
fdd0eaf30a
Minor update of German translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4938 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-21 23:12:34 +00:00
Frank Lanitz
e6159c1166
Fix ChangeLog
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4937 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-21 23:12:19 +00:00
Frank Lanitz
f3c32e8427
Update of Yura's last name to correct Belarusian spelling
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4936 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-21 21:58:13 +00:00
Frank Lanitz
2ba833ff7d
Update of Belarusian translation. Thanks to Yura Siamashka
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4935 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-21 21:57:56 +00:00
Frank Lanitz
924fc68cdd
Fix a memory leak on classbuilder plugin. (Patch by Daniel Marjamaki, thanks)
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4934 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-19 17:36:06 +00:00
Enrico Tröger
c1a17653ec
Update documentation.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4930 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 18:25:38 +00:00
Enrico Tröger
8db192a3fa
Add a preference for choosing between GTK and native File Open/Save dialogs (only available on Windows).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4929 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 18:22:24 +00:00
Enrico Tröger
fdd451f0d4
Add preference to add new document tabs beside the current one (patch by Colomban Wendling, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4928 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 17:45:39 +00:00
Enrico Tröger
23f4cd9213
Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4927 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 17:45:21 +00:00
Enrico Tröger
77dd8feb44
Fix broken "Go Up" if the current path ends with a slash.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4926 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 17:45:06 +00:00
Enrico Tröger
aa05d3be45
Implement reading and evaluating hidden file attribute on Windows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4925 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 17:44:51 +00:00
Enrico Tröger
8c865b6813
Add new GTK define also for Mingw cross compilation and makefile.win32 based Windows builds (untested).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4924 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 17:44:40 +00:00
Enrico Tröger
10ad339994
Update Scintilla to version 2.11.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4923 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 17:44:24 +00:00
Enrico Tröger
3cf1f7aaac
Explicitly check for the type when iterating the action's proxies. For some reason on Windows, a GtkImageMenuItem proxy is created.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4922 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 17:43:35 +00:00
Enrico Tröger
48064120f8
Small improvements to speed up quit process with many open documents.
...
Avoid calling gtk_notebook_remove_page() on exit as it takes a lot of time.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4921 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 17:43:24 +00:00
Enrico Tröger
798fc82a2b
Fix project base_path detection if the path has a trailing slash.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4920 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 17:43:10 +00:00
Enrico Tröger
6724917764
win32.h can be included unconditionally.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4919 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 17:42:58 +00:00
Enrico Tröger
89c5830764
Oops
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4918 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 17:42:45 +00:00
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