3436 Commits

Author SHA1 Message Date
Nick Treleaven
de29305a31 Fix not loading plugins built against a newer API when Geany doesn't
provide the required version given in PLUGIN_VERSION_CHECK().
Improve documentation for PLUGIN_VERSION_CHECK().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5051 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-18 15:04:07 +00:00
Nick Treleaven
c41b55d692 Add ui_combo_box_add_to_history() to API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5048 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-18 12:20:15 +00:00
Nick Treleaven
9362e7d3cb Remove any duplicate on adding to combo box histories.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5044 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-17 17:28:28 +00:00
Nick Treleaven
0331c0e650 Display 'new instance' on title bar (patch by Eugene Arshinov,
thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5031 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-17 12:35:17 +00:00
Nick Treleaven
77183d838e Refactor get_doc_parent().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5030 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-17 12:14:48 +00:00
Nick Treleaven
38ce52e968 Make default Build dialog entries grey, not light grey (too hard to
read on a white background).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5029 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-17 12:12:37 +00:00
Nick Treleaven
f86deb0a03 Replace /home/user with ~ in the documents list (patch by Jon
Strait, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5028 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-17 12:03:00 +00:00
Nick Treleaven
b902af6749 Remove template strings (not sure why gcc doesn't warn about unused static data?).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5027 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-16 15:26:04 +00:00
Nick Treleaven
3e87bf9ede * Merge unstable branch:
- src/build.c:
Make build config entries light grey until set.
- src/keybindings.c, src/about.c, THANKS:
Fix the wrong file being put on top of the stack when switching tabs
too quickly (patch from Jiří Techet, thanks).
- src/templates.c, data/templates/gpl, data/templates/function,
data/templates/changelog, data/templates/bsd,
data/templates/fileheader, wscript, Makefile.am:
Move general templates from source code into files.
Load general templates from system path instead of creating them in
the user's config dir.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5025 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-16 15:22:19 +00:00
Nick Treleaven
e9b5ef8b7d Align notebook tab close buttons centred vertically - thanks to
Robux.Biz (galyuk).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5024 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-16 14:59:40 +00:00
Enrico Tröger
8e1c7ffa32 Post-release version bump.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5023 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-12 13:42:50 +00:00
Lex Trotman
5c25d75ba8 Remove printf added for debugging
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5017 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-12 05:25:21 +00:00
Lex Trotman
d9e6534405 Make build config entries light grey until set.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5016 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-12 05:09:53 +00:00
Nick Treleaven
e7181e9295 Group undo action for Insert Multiline Comment.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5015 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-10 15:43:50 +00:00
Nick Treleaven
a6462959d0 Remove unnecessary comment.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5014 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-10 11:55:39 +00:00
Nick Treleaven
2fbf396790 Fix the wrong file being put on top of the stack when switching tabs
too quickly (patch from Jiří Techet, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5013 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-10 11:37:39 +00:00
Nick Treleaven
8be9c6aea8 Move general templates from source code into files.
Load general templates from system path instead of creating them in
the user's config dir.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5012 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-09 12:27:58 +00:00
Enrico Tröger
a94af233d9 Add new style "media" for filetype CSS.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5007 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-06 18:40:35 +00:00
Enrico Tröger
16a0313b35 Update Scintilla to version 2.12.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5005 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-06 18:34:26 +00:00
Enrico Tröger
3eb6db8dc2 Fix crash when trying to sort NULL pointers as tags in the Symbols list (closes #3011986).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5004 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-06 18:02:49 +00:00
Enrico Tröger
64a152972a Fix reducing paths to project name in the Documents list (patch by Eugene Arshinov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5003 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-06 17:21:52 +00:00
Enrico Tröger
ff401e2755 Destroy the default symbol list treeview only once (fixes gtk_widget_destroy warning on exit).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4991 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-03 15:37:27 +00:00
Enrico Tröger
9742a3cef4 Explicitly try to localise build menu item labels with gettext to enforce getting default labels translated.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4985 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-03 11:09:20 +00:00
Enrico Tröger
e996570c11 Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so plugins' meta information can be translated already in the plugin manager dialog (patch by Colomban Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4963 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-30 18:05:18 +00:00
Enrico Tröger
84b27d23a3 Fix some labels which were marked as translatable but were not handled properly by gettext().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4960 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-29 18:52:00 +00:00
Enrico Tröger
ff428d0a40 Try to convert text into UTF-8 before adding it to the Compiler and Messages Window (closes #3007919).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4959 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-29 18:36:17 +00:00
Enrico Tröger
fb919cad99 Fix some labels which were marked as translatable but were not handled properly by gettext().
Add a missing const.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4958 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-29 18:36:04 +00:00
Enrico Tröger
373a4d32c3 Print locale information in debug output.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4957 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-29 18:35:51 +00:00
Enrico Tröger
be5d891f0e Pass G_LOG_DOMAIN to source files for better logging.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4954 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-25 19:49:49 +00:00
Frank Lanitz
b9eeef708a Update of translation credits to reflect some changes on Spanish translation team and honor work that has been done
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4953 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-24 09:59:16 +00:00
Enrico Tröger
ea924f6501 Expand child widgets in the Plugin Preferences dialog (patch by Colomban Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4950 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-23 10:49:10 +00:00
Lex Trotman
15d6705252 Fix infinite loop reading build command output
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4949 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-23 08:27:20 +00:00
Enrico Tröger
d2f7a26bd9 Fix duplicate accelerators for Clear and Copy in the Messages Window popup menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4947 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-23 07:52:45 +00:00
Enrico Tröger
f8040a0e89 Add hidden preference to disable automatic scrolling in the Compiler tab (closes #3004714).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4946 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-22 19:40:12 +00:00
Enrico Tröger
9eae3b09d6 Code style
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4945 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-22 19:39:49 +00:00
Enrico Tröger
853068491d Fix Run toolbar item sensitivity after the last document has been closed.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4943 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-22 19:39:27 +00:00
Enrico Tröger
58359a6d18 Add Print and Replace toolbar items to the list of document sensitive widgets.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4942 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-22 19:39:14 +00:00
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
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
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
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