1731 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Enrico Tröger
3b38d441bc Fix more cross-compiling issues including little cleanup.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2271 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-22 09:56:31 +00:00
Enrico Tröger
22d96653da Rename hidden pref auto_complete_whilst_editing to complete_snippets_whilst_editing.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2269 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-21 15:51:50 +00:00
Enrico Tröger
e298126ee7 Apply patch from Yura Siamashka to fix cross-compiling (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2268 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-20 12:36:59 +00:00
Enrico Tröger
85f73129c0 Apply patch from Daniel Richard G. to fix to fix several compiler warnings, C89 violations and minor code problems (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2267 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-20 11:24:23 +00:00
Enrico Tröger
e685ab8fa5 Add support for reading tags(only for C/C++) from a file which should be ignored while parsing the file (ctags command line option -I).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2266 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-18 19:51:34 +00:00
Enrico Tröger
ab23af6f86 Apply patch from Jeff Pohlmeyer to mark the VTE also as clean when Ctrl-C is pressed (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2265 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-18 17:18:50 +00:00
Enrico Tröger
0e65cff820 Add support for generating API reference documentation using doxygen.
This is the first step, it is far away from being complete.
Add make target "api-doc" to generate the reference documentation.
Add documentation comments to a few functions.
Move basic plugin documentation from plugindata.h to doc/plugins.dox.	       


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2263 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-17 18:00:42 +00:00
Enrico Tröger
753e2936d8 Apply patch from Daniel Richard G. to add support for +NNN command line arguments and for recognising filename:line:column: format on the command line (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2262 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-16 11:21:24 +00:00
Enrico Tröger
6413fdb2bf Add hidden preference to disable scrolling past end of document.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2260 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-15 16:34:30 +00:00
Enrico Tröger
36882435a1 Apply patch from Daniel Richard G. to update some source code comments (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2259 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-15 16:32:27 +00:00
Enrico Tröger
57533aa092 Fix some compiler warnings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2257 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-13 18:54:05 +00:00
Enrico Tröger
7a85f3ae69 Fix broken compilation with GTK < 2.10.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2255 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-13 09:30:20 +00:00
Enrico Tröger
73c841c79f Fix compiler warnings.
Improve Save As dialog usability problems.      


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2254 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-12 15:50:22 +00:00
Enrico Tröger
29d1102f76 Don't force unique line ending characters when saving files to avoid unexpected saving behaviour.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2252 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-12 12:30:41 +00:00
Enrico Tröger
fe728b7c88 Allow start of Geany with given files on the command line but whithout a writable temporary directory and without a writable configuration directory.
Improve filename of created symlink to the socket file.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2251 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-12 12:04:55 +00:00
Frank Lanitz
bd52faecba Added Nikita E. Shalaev to list of Russian translators
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2249 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-11 19:17:36 +00:00
Enrico Tröger
b922aae8d0 Apply patch from Daniel Richard G. to include the hostname in the socket filename (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2247 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-10 17:55:00 +00:00
Enrico Tröger
d60378dd98 Add support for getting hostname on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2246 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-10 17:53:18 +00:00
Enrico Tröger
feb118c8bf Use a random integer as part of socket file name instead of current time stamp.
Before creating a new socket, delete a maybe existing socket and its symlink.	    


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2244 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-10 12:36:32 +00:00
Enrico Tröger
875d5b214f Fix wrong placement of long line marker (closes #1889392).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2239 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-08 11:22:36 +00:00
Enrico Tröger
05bff8f53d Fix crash on Windows when a project could not be opened. Remove prefix from win32_get_file_filters() and win32_get_filters(). Fix some encoding problems with filenames retrieved from the native Windows file dialogs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2238 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-08 11:19:45 +00:00
Enrico Tröger
ba8fc7de0e Include display number for the filename of the symbolic link to the real Unix Domain Socket file (closes #1888565).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2236 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-07 17:27:05 +00:00
Enrico Tröger
10fb8c2047 Create the Unix Domain Socket for detecting a running instance in system's tmp directory and create a symlink to it in Geany's configuration directory (closes #1888561).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2235 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-07 15:53:02 +00:00
Enrico Tröger
cba15f61ad Use a better check for PLAT_GTK_WIN32 (backport from Scintilla CVS).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2234 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-07 14:49:01 +00:00
Enrico Tröger
79cccc68d9 Fix typo (thanks Slava Semushin for reporting).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2233 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-07 14:19:45 +00:00