2375 Commits

Author SHA1 Message Date
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
Enrico Tröger
16c1de3f1c Replace unsigned long in guint64 and use int instead of off_t (patch by Daniel Richard G., thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2293 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-28 16:06:04 +00:00
Enrico Tröger
7f361c1e6c Enable startup notification in desktop entry file and remove it from TODO list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2292 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-27 16:10:41 +00:00
Enrico Tröger
77c017e6e7 Fix typos.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2291 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-27 16:09:06 +00:00
Enrico Tröger
8257596aaf Apply patch from Pierre Joye to improve new Win32 process spawning code (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2290 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-27 16:08:07 +00:00
Enrico Tröger
fcc756701a Fix a few more compiler warnings (type conversion warnings).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2289 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-27 14:23:13 +00:00
Enrico Tröger
39adac3e1b Fix ignoring of some keybindings when caps lock is active (introduced in r2253).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2288 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-27 14:21:34 +00:00
Enrico Tröger
b7bfb2743a Replace all C++-style comments with usual C-like multi-line comments.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2287 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-27 13:17:29 +00:00
Nick Treleaven
0684899905 Load ignore.tags even when global tags loading is disabled on the
command-line, so that local tags in each open file can be ignored.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2286 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-26 17:11:49 +00:00
Nick Treleaven
d705dde953 Move symbols_global_tags_loaded() out of styleset_common().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2285 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-26 17:11:02 +00:00
Nick Treleaven
cc1ac84b3f Add a few items for 1.0, custom template file support, some reordering.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2284 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-26 16:36:24 +00:00
Nick Treleaven
78a063e54b Don't beep when using Replace All in Session unless all open files
have no replacements (fixes #1893796).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2283 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-25 17:27:54 +00:00
Nick Treleaven
4a62d1d04f When closing a tab when using left-to-right tabs, focus the next
document, not the previous.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2282 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-25 17:02:23 +00:00
Nick Treleaven
0421b6a95f Fix unused function warning.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2281 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-25 16:37:46 +00:00
Enrico Tröger
c80bcbc404 Make the make command overwritable, patch by Pierre Joye. Thanks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2280 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-24 10:30:57 +00:00
Enrico Tröger
ce12940621 Apply patch by Pierre Joye to add new process spawning implementation for Windows.
Make utils_spawn_* available to plugin API.
This makes the VCdiff plugin to work on Windows (thanks).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2279 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-24 10:27:32 +00:00
Enrico Tröger
a479dc2795 Remove /tmp include directory, oops.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2278 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-24 10:22:35 +00:00
Enrico Tröger
2293017f6b Apply patch Yura Siamashka to add a check for the presence of fnmatch(), thanks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2277 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-24 10:20:30 +00:00
Enrico Tröger
bcfd7746e1 Define c_tags_ignore in options.c (tagmanager) instead of symbols.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2276 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-24 10:18:36 +00:00
Nick Treleaven
d4c06b714d Don't scroll the editor view if it is unnecessary when using Go to
Marker or Go to Matching Brace commands.
Make sci_set_current_line() not scroll the view, unlike
sci_goto_line().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2275 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-22 17:29:45 +00:00
Nick Treleaven
3714cf498f Don't scroll the editor view if it is unnecessary when using Find
Next/Previous, Find Selected and when searching from the search bar.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2274 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-22 13:30:16 +00:00
Nick Treleaven
9163bf50d6 Add note about writing ISO C90 code and not using C++ style comments.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2273 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-22 13:16:07 +00:00
Nick Treleaven
cbcfff076c Use extern for c_tags_ignore declaration to avoid allocating a
second copy of it (patch by Daniel Richard G., thanks).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2272 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-22 12:30:52 +00:00