3214 Commits

Author SHA1 Message Date
Nick Treleaven
4e386fcc2b Add get_keyfile_ints() instead of using tmp_style hack.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4245 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-27 15:59:58 +00:00
Nick Treleaven
8c38bdd745 Add plugin_show_configure() API utility function.
Add File Browser popup menu 'Preferences' item.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4244 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-27 14:07:24 +00:00
Nick Treleaven
7b122a3bf8 Don't build pluginutils.o if HAVE_PLUGINS is not defined.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4243 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-27 13:41:08 +00:00
Nick Treleaven
ce104016c9 Show plugins that only implement plugin_configure_single() in the
multiple-configure dialog as a page with a configure button on it.
Add padding for multiple-configure dialog.
Make the multiple-configure dialog notebook tabs scrollable.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4241 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-27 12:01:36 +00:00
Nick Treleaven
5bb28825aa Use AC_PATH_PROG instead of which for portability (patch by Erik
Southworth, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4240 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-27 11:20:12 +00:00
Nick Treleaven
6334ec1676 Focus editor after entering a number in the goto line toolbar entry.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4239 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-27 11:06:04 +00:00
Nick Treleaven
e34c8879d9 Only focus toolbar goto line entry when pressing keybinding if it's
visible (patch by Eugene Arshinov, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4237 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-27 10:51:44 +00:00
Enrico Tröger
2b7cba9637 Update VBScrpt keywords (patch by Ross McKay, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4236 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-24 17:15:43 +00:00
Enrico Tröger
edd50b5f6c Add "html_asp_default_language" pseudo style to filetypes.xml to allow setting the used language in embedded ASP code (patch by Ross McKay, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4235 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-24 17:12:36 +00:00
Nick Treleaven
83f0cdbec0 Show multiple plugins in the 'Configure Plugins' dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4234 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-24 16:54:08 +00:00
Nick Treleaven
20a5fb25f6 Add plugin_configure_single() plugin symbol which is easier to
implement than plugin_configure() but won't support a
multiple-plugin configure dialog.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4233 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-24 16:28:59 +00:00
Nick Treleaven
a60a63cc39 Fix showing the document before reload dialog when opening an
already-open file.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4232 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-24 16:19:27 +00:00
Nick Treleaven
8cb41745c2 Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
keybinding use line breaking column when enabled.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4231 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-24 11:26:59 +00:00
Nick Treleaven
0594d930f2 Split keybinding table into group tables; update KB links.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4228 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-22 17:42:31 +00:00
Nick Treleaven
d86a4b116c Update 'Go to line' keybinding description.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4227 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-22 15:22:20 +00:00
Nick Treleaven
be1420e874 Add 'Toolbar entries' section.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4226 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-22 15:17:03 +00:00
Nick Treleaven
c2b4138467 Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
Minor edits.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4225 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-22 15:01:24 +00:00
Enrico Tröger
531bb2506c Turn on automake silent rules if supported.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4224 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-21 21:14:03 +00:00
Enrico Tröger
ae11cb9b1a When reloading files, use the previously set encoding instead of detecting it again (closes #2862041).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4223 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-21 20:48:50 +00:00
Enrico Tröger
f8b18257ee Fix compiler warnings about uninitialised variables.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4222 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-21 20:31:39 +00:00
Nick Treleaven
4dd1081278 Make 'Go to Line' keybinding focus the toolbar entry if visible.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4221 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-21 17:11:42 +00:00
Nick Treleaven
bc2b6829c5 Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4220 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-21 16:46:16 +00:00
Nick Treleaven
dcd66f09a0 Add & use ui_label_set_markup(), ui_label_new_bold().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4219 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-21 16:21:03 +00:00
Nick Treleaven
67c743fe72 Fix none filetype Build Commands dialog label.
Make group labels bold.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4218 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-21 13:24:39 +00:00
Nick Treleaven
d769afa138 Add padding for Build Commands dialog separators.
Add colons for regex field labels; fix 1 capitalisation.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4217 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-21 13:08:36 +00:00
Nick Treleaven
cd97d9b446 Split Build Commands dialog notes label and edit text.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4216 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-21 12:58:05 +00:00
Nick Treleaven
77b060e1cc Expand command entry width when expanding Build Commands dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4215 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-21 12:47:20 +00:00
Nick Treleaven
64dc60bd82 Speed up sorting in utils_get_file_list(). This reduces the file
browser delay on displaying a big directory, e.g. /usr/bin.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4214 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-21 12:34:16 +00:00
Enrico Tröger
5974fe3b63 Merge recent changes from the CTags project to further improve PHP symbol parsing.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4212 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-20 19:06:48 +00:00
Enrico Tröger
b84a64934d Add new filetype: Abc (patch by Eric Forgeot, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4211 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-20 18:46:56 +00:00
Enrico Tröger
c786d69e00 After clearing a text field using the embedded clear icon, put the input focus into this text field.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4210 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-17 18:08:21 +00:00
Enrico Tröger
a26e5b96ba Save an if expression.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4209 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-17 18:05:36 +00:00
Enrico Tröger
ba59bcd0dc Plug a small memory leak and improve function signature of add_page_header().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4207 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-17 18:03:18 +00:00
Enrico Tröger
08f4d7c178 Fix wrong alignment of printed pages when page headers are disabled (closes #2856822).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4206 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-17 18:00:06 +00:00
Nick Treleaven
b25e3e9650 Remove queue.[hc] - use GQueue instead of GeanyQueue.
Beep if there are no more snippet positions.
Limit length of snippet positions queue to 20.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4204 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-17 17:37:13 +00:00
Nick Treleaven
8c1743cb3e Add foreach_dir() API macro.
Update API docs for utils_get_file_list().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4203 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-17 16:47:45 +00:00
Nick Treleaven
51370136c6 Free file list memory whilst iterating the list.
Minor formatting fixes.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4201 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-17 14:45:17 +00:00
Nick Treleaven
5b708760cf Make editor_prefs.snippets hash table private (not a pref).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4200 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-16 17:30:30 +00:00
Nick Treleaven
ab52956150 Don't move the cursor when reloading.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4197 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-16 13:56:58 +00:00
Nick Treleaven
4097dfec5b Make Goto Tag commands use the current selection if present (useful
for selecting part of a tag or for ReST section names with spaces
in).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4195 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-16 12:13:50 +00:00
Frank Lanitz
ab81ef986f Remove deprecated --debug flag. Please use --verbose/-v instead.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4193 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-15 19:56:05 +00:00
Nick Treleaven
e84ddc2d70 Show Find in Files stderr output in messages window instead of
debug window so that invalid regex messages can be seen easily.
Combine FIF stdout and stderr callback code.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4191 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-15 18:00:32 +00:00
Nick Treleaven
14e4bc7239 Change snippet_goto_next_cursor() to
editor_goto_next_snippet_cursor() as it's in editor.h.
Avoid using GPOINTER_TO_INT macro.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4190 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-14 17:28:07 +00:00
Nick Treleaven
1e53d84b6c Add warning that GeanyQueue may be removed.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4189 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-14 17:26:11 +00:00
Nick Treleaven
06113d6782 Add 'Allow' button when showing the conflicting keybinding dialog.
Make dialogs_show_question_full() use GTK dialog on Windows if
button text is not the stock yes/no items.
Add dialogs_show_prompt() which also has an 'Apply' button.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4188 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-14 17:10:22 +00:00
Nick Treleaven
683e09aae5 Update syntax highlighting after changing the 'Invert syntax
highlighting colors' pref, instead of requiring a restart.
Remove filetypes.common invert_all option - use 'Invert syntax
highlighting colors' pref instead (closes #2854525).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4184 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-14 11:53:08 +00:00
Nick Treleaven
f4822ae10a Fix opening filenames beginning with two dots (closes #2858487).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4183 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-14 11:14:23 +00:00
Nick Treleaven
51dc7f08b4 Add 'Compiler options & warnings' section.
Update Style section to be clearer about code alignment and show
some example code.
Other minor edits.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4180 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-13 15:20:28 +00:00
Nick Treleaven
d43aaa869e Fix 'Reflow block' command when at the last paragraph and there's
no last newline (patch by Eugene Arshinov, thanks).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4179 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-13 11:23:14 +00:00
Nick Treleaven
c100272031 Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
sci_is_marker_set_at_line() to the plugin API (thanks to Yura
Siamashka).
Add sci_toggle_marker_at_line().
Fix SciFuncs alignment.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4178 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-12 17:39:49 +00:00