2447 Commits

Author SHA1 Message Date
Enrico Tröger
7a47ee09ab Add win32_get_exit_status() to retrieve the exit code from a command on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2344 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-14 16:59:36 +00:00
Enrico Tröger
68827f6701 Fix crashes on Windows when error argument of utils_spawn_* is NULL.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2343 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-14 16:19:53 +00:00
Nick Treleaven
95fa43f302 Set main menu accelerators for keybindings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2342 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-14 13:11:46 +00:00
Enrico Tröger
8af4d71e0c Add prefs.c to the list of installed header files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2341 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-14 07:30:08 +00:00
Nick Treleaven
e3a71b8a9f Fix Doxygen undocumented parameter warnings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2340 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-13 17:53:03 +00:00
Nick Treleaven
4472929989 Check plugin keybinding group name is valid.
Ignore plugin keybinding groups with no elements defined.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2339 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-13 17:12:18 +00:00
Enrico Tröger
6ad9240601 Fix compiler warnings about uninitialized variables.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2338 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-13 15:18:42 +00:00
Enrico Tröger
1bd9ee6664 Use a separate string for keybinding label to avoid display of an underscore.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2337 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-13 15:08:03 +00:00
Nick Treleaven
745c858fde Update documentation for plugin_key_group[] to mention declaring it
manually.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2336 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-13 13:36:18 +00:00
Enrico Tröger
b1a888a056 Fix wrong accelerator and update of German translation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2335 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-13 13:26:52 +00:00
Enrico Tröger
27f877d4e3 Add missing accelerator for string "Toggle All Additional Widgets".
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2334 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-13 13:24:06 +00:00
Enrico Tröger
80cec8e6ba Install header files and add a pkg-config file for external plugins.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2333 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-13 12:15:26 +00:00
Enrico Tröger
3d02477f7d Remove unused function is_active_plugin().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2332 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-13 12:06:10 +00:00
Enrico Tröger
0d5614a2d4 Use the default values for various tools if they don't exist in the config file instead of using g_find_program_in_path(), patch by Yura Siamashka (thanks).
Fix executable check for grep command.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2331 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-13 09:33:23 +00:00
Enrico Tröger
055b9b562b Don't load all available plugins on startup, it's only necessary opening the plugin manager.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2330 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-13 09:18:41 +00:00
Enrico Tröger
5deb55e7ae Oops, don't change font size.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2329 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-13 08:45:20 +00:00
Enrico Tröger
c4679ead75 Use monospace font for text entry fields in search dialogs and add a notice how to change the used font (#1907117).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2328 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-13 08:37:29 +00:00
Nick Treleaven
7893d465e2 Fix bug with keybindings using check_current_word().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2327 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-12 18:01:15 +00:00
Nick Treleaven
9f87818796 Update 'Filtering out version control files' section for new versions
of GNU Grep.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2326 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-12 17:45:54 +00:00
Nick Treleaven
2c0316a296 Merge plugin-keybindings branch:
Change keybindings code to use keybinding groups, each with a
separate enum set, which will make the plugin ABI more stable, and
lay the groundwork for plugin keybindings support.
Note: this breaks the plugin API.
Rename keybindings_cmd() to keybindings_send_command(), which now
takes a group_id argument.
Add keybindings_lookup_item().
Add documentation for keybindings structs.
Add support for plugin keybindings using the PLUGIN_KEY_GROUP()
macro.
Add a plugin keybinding for 'Insert Special HTML Characters'.
Rename KBCallback, cmd_id, cb_func with clearer names.
Add KeyBinding::menu_item field for setting accelerators (currently
does nothing).
Load keybindings keyfile after plugins have loaded at startup, so
their shortcuts are also loaded. Still to do: loading individual
plugin keybindings after startup.
Group most keybinding callbacks together according to keybinding
group.
Add keybindings_set_item() and add it to the plugin API.
Set main menu widget accels with keybindings_set_item() - they are
ignored for now. Popup menu accels are set separately.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2324 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-12 17:07:43 +00:00
Nick Treleaven
2c19fe8e14 Break down Edit, Editing, Tags, Other keybinding groups into Editor,
Clipboard, Select, Format, Insert groups and rename GEANY_KEYS_*
accordingly.
Group most keybinding callbacks together according to keybinding
group.
Add underscore for GEANY_KEYGROUP_*.
Set main menu widget with keybindings_set_item() - this is still
ignored for now. Popup menu accels are set separately.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/plugin-keybindings@2323 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-12 13:37:39 +00:00
Nick Treleaven
83f7b5770d Move snippet completion keybindings into Editing group.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/plugin-keybindings@2322 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-10 17:30:27 +00:00
Nick Treleaven
e57535bb8d Load keybindings keyfile after plugins have loaded at startup, so
their shortcuts are also loaded. Still to do: loading individual
plugin keybindings after startup.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/plugin-keybindings@2321 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-10 13:54:47 +00:00
Nick Treleaven
a51962e6a5 Avoid including keybindings.h.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/plugin-keybindings@2320 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-10 13:35:30 +00:00
Nick Treleaven
824a05083f Make keybindings_send_command() take guint parameters, not gint.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/plugin-keybindings@2319 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-10 13:29:35 +00:00
Nick Treleaven
5f43e01f17 Add keybindings_set_item() to the plugin API and update the HTML
Characters plugin.
Rename KBCallback, cmd_id, cb_func with clearer names.
Add KeyBinding::menu_item field for setting accelerators (currently
does nothing).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/plugin-keybindings@2318 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-10 13:23:57 +00:00
Enrico Tröger
c0990b5e71 Add HTML parser to get h1, h2, h3 symbols as well as link anchors and JavaScript functions (closes #1896068).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2317 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-09 18:50:41 +00:00
Enrico Tröger
3eca552b45 Use SCI_SETSCROLLWIDTHTRACKING to improve horizontal scrollbar behaviour by always adjusting to the longest line (part of #1905141).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2316 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-09 16:30:01 +00:00
Nick Treleaven
747d2d2bf4 Add support for plugin keybindings using the PLUGIN_KEY_GROUP()
macro. Note: plugin keybindings are not yet loaded from the keyfile.
Add a plugin keybinding for 'Insert Special HTML Characters'.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/plugin-keybindings@2315 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-07 18:00:22 +00:00
Nick Treleaven
5e952cc76c Allow plugins to use keybindings_lookup_item().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/plugin-keybindings@2314 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-07 17:24:36 +00:00
Nick Treleaven
76603930b6 Add documentation for keybindings structs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/plugin-keybindings@2313 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-07 17:23:35 +00:00
Enrico Tröger
820c09ecfa Add opton to style "caret" to change the caret into a block caret.
Add new styles "translucency", "line_wrap_visuals" and "line_wrap_indent" to filetypes.common (#1905141).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2312 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-07 15:42:46 +00:00
Enrico Tröger
89215d5c87 When opening session files, don't try to set document properties if the document can't be opened.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2311 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-07 14:21:01 +00:00
Enrico Tröger
c8d99c4b3c Use doxygen option QUIET to disable non-warning messages instead of redirecting output to /dev/null.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2310 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-07 14:20:25 +00:00
Enrico Tröger
eba6d2c91e Apply patch from Jeff Pohlmeyer (thanks) to fix toggle case with rectangular selections (works only for Ascii characters).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2309 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-06 15:47:43 +00:00
Enrico Tröger
9dd67b2669 Backport js.c and asm.c from CTags SVN.
Fix Assembler tagmanager support and add appropriate symbol types.
Fix JavaScript parse bug (#1895242).
Change default return value of lookupKeyword() in keyword.c as it was done in CTags SVN(r339) and adjust affected parsers.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2308 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-05 18:18:19 +00:00
Enrico Tröger
076066c7db Don't open zero byte sized files read-only (e.g. files in /proc).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2307 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-05 17:34:00 +00:00
Enrico Tröger
b7f834dbc0 Apply patch from Yura Siamashka to use she-bang filetype detection also in filetypes_detect_from_filename() which let plugins benefit from this feature.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2306 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-05 17:09:57 +00:00
Nick Treleaven
84bd7aed39 Re-enable setting menu accelerators.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/plugin-keybindings@2305 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-04 16:11:59 +00:00
Enrico Tröger
463879872c Adjust available symbol types between Fortran parser and symbols.c to make some more of the possbile symbol types available.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2304 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-03 20:16:52 +00:00
Nick Treleaven
b96dd4171a Re-enable Keyboard Shortcuts dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/plugin-keybindings@2303 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-03 17:54:59 +00:00
Nick Treleaven
15ceaea0cf Re-enable snippets completion.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/plugin-keybindings@2302 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-03 17:35:32 +00:00
Nick Treleaven
8b0842560b Re-enable focus commands in the VTE.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/plugin-keybindings@2301 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-03 17:28:15 +00:00
Nick Treleaven
38f2f67bda Fix clearing a shortcut when overriding it in Prefs dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/plugin-keybindings@2300 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-03 17:05:00 +00:00
Nick Treleaven
41dc0112cd Fix segfault when setting custom keybindings in Prefs dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/plugin-keybindings@2299 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-03 16:53:12 +00:00
Frank Lanitz
d5386a192a Little update of German translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2298 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-29 22:26:30 +00:00
Nick Treleaven
ee26ac9254 Change keybindings code to use keybinding groups, each with a
separate enum set, which will make the plugin ABI more stable,
and lay the groundwork for plugin keybindings support.
Note: this breaks the plugin API.
Disable setting menu accelerators (temporary).
Disable Keyboard Shortcuts dialog (temporary).
Disable snippets completion (temporary).
Disable focus commands in the VTE (temporary).
Make Tags group use separate cb_func_tags callback.
Rename keybindings_cmd() to keybindings_send_command().
Add keybindings_lookup_item().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/plugin-keybindings@2297 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-29 19:30:28 +00:00
Nick Treleaven
903b0e1757 Creating temporary branch copied from trunk to develop plugin keybindings
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/plugin-keybindings@2296 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-29 18:56:41 +00:00
Nick Treleaven
e38d4ead69 items:configurable filetype regex for build errors(1.0) look into using a geany-dev package for plugin development
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2295 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-29 18:51:36 +00:00
Enrico Tröger
bc68037442 Make Scintilla remember the current column when changing the cursor position (#1902732).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2294 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-28 16:41:23 +00:00