3655 Commits

Author SHA1 Message Date
Nick Treleaven
3e282dea44 Fix saving non-project filetype error regex.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5170 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-16 16:54:59 +00:00
Nick Treleaven
472c06fc8b Fix infinite loop in Markdown lexer (patch by Colomban Wendling,
thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5168 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-16 12:32:18 +00:00
Nick Treleaven
b8f3ce774b Fix segfault on Tools->Reload Configuration when no documents are
open (#3037079).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5167 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-16 12:21:22 +00:00
Enrico Tröger
0f7d1928cc Add editor_goto_pos() to the plugin API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5164 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-15 17:44:31 +00:00
Enrico Tröger
235c8231e7 Rewrite the logic to auto detect encodings a bit to make it more readable and fix a slightly wrong detection on Windows (closes #3019573).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5163 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-15 13:33:32 +00:00
Enrico Tröger
7aaf51f9b4 Check for libsocket on OpenSolaris to fix build.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5162 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-15 12:53:09 +00:00
Nick Treleaven
efd930da51 Check for git-svn repo, not just git because find-rev doesn't
always fail with a git-only repo.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5158 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-13 14:05:34 +00:00
Frank Lanitz
2364a0d0a3 Fix a memory leak based on input by Daniel Marjamäki. Thanks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5145 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-12 05:49:07 +00:00
Nick Treleaven
49b3d27ba1 Reorder Focus keybindings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5130 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-11 12:33:31 +00:00
Frank Lanitz
e16c55ff8f Applying a patch by Colomban Wendling to print out log domains. Thanks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5129 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-10 20:48:10 +00:00
Frank Lanitz
e5dc5876f9 Applying a patch by Erik de Castro Lopo for checking against pkg-config when running autogen.sh.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5128 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-10 20:42:42 +00:00
Nick Treleaven
eb359f09f7 Reorder Focus keybindings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5125 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-10 16:34:51 +00:00
Nick Treleaven
14a9472047 Randomly sort keybinding IDs to show there should be no order.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5124 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-10 16:23:51 +00:00
Nick Treleaven
75a681b15a Revert r4840 scope completion mode as it sometimes breaks
autocompletion.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5123 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-10 16:12:24 +00:00
Nick Treleaven
689ad7e83e Move some interface hidden prefs to ui_utils.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5122 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-10 12:49:16 +00:00
Nick Treleaven
cc736eb4af Fix writing the default value when a key is missing for hidden
prefs, even if it was overridden when it was originally read.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5121 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-10 12:46:30 +00:00
Nick Treleaven
0c4b7a2ab0 Use single binding_ids keybinding array instead of individual
arrays for core keybindings. This allows the keybinding IDs to be
merged into one enum; the order of keybindings is now just the
order they are added to each group. Keybindings can be reordered
without breaking the plugin ABI but groups must stay the same.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5120 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-10 12:43:30 +00:00
Enrico Tröger
217fc5ab50 Inherit 'beep on errors' preference for the audible bell preference for the VTE (closes #3038215).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5117 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-05 21:45:58 +00:00
Enrico Tröger
af8f5fc921 Make ui_label_new_bold() a function.
Escape the name of the current document for markup when using
document name for menu items (closes #3038844).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5116 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-05 21:13:47 +00:00
Enrico Tröger
befcb63e59 Ensure inserted templates always have proper line ending characters
according to the current document's preference.
This is also fixes problems with templates on Windows which had
always Unix line ending characters but now since they are read
from files, these have Windows line ending characters and had been
converted twice.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5114 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-01 17:20:50 +00:00
Enrico Tröger
a18f00ae62 Add utils_get_eol_char().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5113 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-01 10:23:19 +00:00
Enrico Tröger
292de5d513 Make make_comment_block() work with a GString. This is not yet perfect but a bit better than before.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5112 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-31 15:31:30 +00:00
Enrico Tröger
45d5c856bb Fix build with GTK 2.8, use the stock icon name directly instead of the macro. Though, the icon is still missing for GTK 2.8.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5109 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-31 14:25:30 +00:00
Enrico Tröger
67c7f1bbfb Implement 'Select All' for the VTE widget.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5108 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-29 18:28:37 +00:00
Enrico Tröger
b264ba6107 Fix missing template files in the Windows installer.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5107 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-25 11:11:04 +00:00
Enrico Tröger
f425a75cbb Update list of Python builtins, based on Python 2.6.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5106 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-18 17:56:12 +00:00
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