3479 Commits

Author SHA1 Message Date
Enrico Tröger
441b37589e On Windows, convert filetype extensions read from config files to lower case (closes #3028856).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5105 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-13 20:53:25 +00:00
Nick Treleaven
702956d65a Focus toolbar item when pressing Go to Line keybinding only when
it's not in the toolbar's drop down overflow menu (fixes #3027454).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5104 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-12 17:09:57 +00:00
Lex Trotman
5be7577f1b Fix build menu translation problems.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5103 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-11 03:20:25 +00:00
Enrico Tröger
6f12f4cfe2 Fix './waf install'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5102 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-10 12:01:18 +00:00
Nick Treleaven
ae4d82b7f1 Use Stash to save statusbar_template setting, instead of the
load/save-settings signal.
Add ui_init_prefs().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5101 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-09 17:15:16 +00:00
Nick Treleaven
b0621e13e8 Add note to restart Geany after installing/updating before editing
hidden prefs.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5100 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-09 15:14:55 +00:00
Nick Treleaven
49ed139da7 Fix scrolling the editor line in view after loading a session and
switching document tabs. Note this causes repainting so needs
improvement.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5098 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-09 12:12:23 +00:00
Nick Treleaven
2b771854ae Add ui_finalize(), free string (patch by Dimitar Zhekov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5097 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-08 16:59:11 +00:00
Nick Treleaven
598e7c91e2 Show the Project Properties build tab when choosing 'Set Build
Commands' for now to prevent confusion with non-project commands.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5094 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-07 12:04:28 +00:00
Nick Treleaven
67537a9918 Revert (most of) last 2 commits as Grep's --exclude-dir=.?* doesn't seem to be working as expected.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5092 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-06 14:20:12 +00:00
Nick Treleaven
ab124475a6 Make Find in Files extra options default to --exclude-dir=.?* to
filter out hidden directories. (Still disabled by default so
non-GNU/older Grep works).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5091 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-06 14:01:26 +00:00
Nick Treleaven
135d7fd1c5 Fix Grep --exclude-dir example to not filter out the current
directory (oops).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5090 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-06 13:54:49 +00:00
Nick Treleaven
2265fe283a Don't unnecessarily test G_FILE_TEST_IS_SYMLINK when testing
G_FILE_TEST_IS_REGULAR (patch by Dimitar Zhekov, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5089 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-05 12:03:27 +00:00
Nick Treleaven
1132d0f219 Add sidebar Documents popup menu item 'Find in Files'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5087 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-05 11:55:44 +00:00
Nick Treleaven
56b844a509 Parse lines in the Messages window even if Find in Files hasn't
been used yet (patch by Jiří Techet, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5084 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-02 12:43:39 +00:00
Nick Treleaven
8358177099 Fix only adding project base path to Find in Files history if it
isn't already there (oops).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5083 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-02 12:19:00 +00:00
Nick Treleaven
fdeb6391be Fix wording - restarting is required for hidden prefs.
File templates don't need manual reloading anymore.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5082 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-02 12:05:43 +00:00
Nick Treleaven
ada3336bd8 Limit build error editor indicators to 50, but parse all errors in
the Compiler tab (fixes #3019823).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5081 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-01 17:08:00 +00:00
Nick Treleaven
ed96015c98 Always use white background color when printing (except for text
with a white foreground) to save ink (should fix #2968998).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5079 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-01 16:22:45 +00:00
Nick Treleaven
4d8c71d5ab Add filetypes.common fold_symbol_highlight color setting.
Add API macro foreach_range().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5078 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-01 14:33:41 +00:00
Nick Treleaven
9f3677d3e2 Add C++ lexer property fold.cpp.comment.explicit (patch sent); set
it disabled.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5076 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-01 11:49:30 +00:00
Nick Treleaven
0168e3e475 Use SCI_SETFIRSTVISIBLELINE for editor_scroll_to_line(). Note this
doesn't affect the bug with document switching not scrolling cursor
in view after loading a session.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5075 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-30 12:15:13 +00:00
Nick Treleaven
293ba9bee7 Use g_free instead of free (patch by Daniel Marjamäki, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5074 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-30 11:49:05 +00:00
Nick Treleaven
95c8f687fc Re-enable fold.comment for the C lexer - it was disabled to prevent
//{ explicit folding, but that also disables stream comments /* */.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5073 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-30 11:34:11 +00:00
Nick Treleaven
b20537db3d Add spaces after RO when using %r in statusbar_template setting.
Add space between encoding and BOM.
Note \t means tab for default text.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5070 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-29 15:44:41 +00:00
Nick Treleaven
e80e88646a Add statusbar_template hidden pref (based on patch by Dimitar
Zhekov, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5069 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-29 12:11:21 +00:00
Nick Treleaven
ea81430704 Restore tabbing past Find in Files combo box drop down menus.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5067 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-28 13:47:14 +00:00
Nick Treleaven
148975afa3 Move plugin signals docs to pluginsignals.c, using function
pointer syntax instead of @signaldef as this puts a summary of
the signal names at the top of the page and sorts alphabetically.
(Note: the syntax is similar to Vala signal syntax).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5065 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-25 16:50:27 +00:00
Lex Trotman
3d361d3c55 Make default dialog entries use GTK_STATE_INSENSITIVE color not
a fixed color (Suggestion by Ditmar Zhekov)


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5064 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-24 06:39:24 +00:00
Nick Treleaven
4476a79127 Use ui_hookup_widget() instead of g_object_set_data_full() for
widgets.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5063 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-23 16:57:28 +00:00
Nick Treleaven
c3a7b3e126 Add file pattern to combo box history.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5061 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-23 16:06:10 +00:00
Nick Treleaven
5b0dc2b8f8 Implement Find in Files file pattern search.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5060 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-23 12:34:11 +00:00
Nick Treleaven
a4c31a2156 Add Files checkbox and combo to Find in Files dialog, currently
does nothing & is disabled.
Don't try to focus the next entry on pressing tab anymore as this
is more complicated now.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5059 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-22 16:51:01 +00:00
Nick Treleaven
2f5285cb53 Move 2 Find in Files checkboxes for even spacing.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5057 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-21 15:16:31 +00:00
Nick Treleaven
8d4d759ab5 Simplify FIF 'Fixed strings, Grep regular expressions, Extended
regular expressions' radio buttons with a 'Use regular expressions'
checkbox. This uses the extended syntax (which is the same as the
Find/Replace regex syntax).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5056 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-21 14:57:03 +00:00
Nick Treleaven
94ee5132d2 Put Find in Files Search field above Directory field.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5055 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-21 14:27:20 +00:00
Frank Lanitz
582e841e3f Change of description of tm_get_real_path(). Patch by Dimitar Zhekov. Thanks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5054 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-20 15:03:30 +00:00
Nick Treleaven
6b4ba38e6d Add API signal "build-start" (patch by Jiří Techet, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5053 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-18 17:15:28 +00:00
Nick Treleaven
aca9e894fc Allow Find in Files when no items are selected.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5052 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-18 17:03:35 +00:00
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
9dc088c1e7 Add history to path entry.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5049 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-18 12:22:00 +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
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
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
Enrico Tröger
593341baa8 Change the RequestExecutionLevel for the Windows installer to 'highest'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5021 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-12 12:03:50 +00:00