4874 Commits

Author SHA1 Message Date
Nick Treleaven
132a053c0d Make stash_group static (patch by Dimitar Zhekov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5093 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-07 11:50:16 +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
fa9acc8caa Tidy comment; remove unnecessary assignment.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5088 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-05 11:59:08 +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
Peter Scholtens
67aff7d4ca Update Dutch translation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5086 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-02 17:22:46 +00:00
Nick Treleaven
1579f306a2 Replace regex flag warning with debug message.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5085 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-02 13:54:36 +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
77c759319f Add item: print text size/zoom option.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5080 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-01 16:48:56 +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
Frank Lanitz
4d84babbe3 Minimal update of German translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5071 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-29 21:27:42 +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
b26296137f Edit global config debug message text.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5068 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-29 11:53:41 +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
18f29f6036 Remove unnecessary widget lookups.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5062 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-23 16:16:15 +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
980e4c6112 Remove foreach_slist_free() macro - not worth the complexity (list nodes are probably cached anyway).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5050 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-18 14:20:10 +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
Frank Lanitz
de7e85129d Update of Czech translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5047 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-17 22:07:53 +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