Nick Treleaven
ff76abfcd3
Fix asking detect reload question again if the user doesn't respond
...
within 10 seconds (oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2382 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-21 17:10:08 +00:00
Nick Treleaven
1e387f4dc5
Replace untitled file header filename after Save As and add to recent
...
files on Windows too.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2381 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-21 16:59:30 +00:00
Enrico Tröger
30528921d3
Update TCL parser from CTags SVN which adds new symbol types for
...
classes and methods (closes #1918748 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2380 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-21 16:47:17 +00:00
Enrico Tröger
31f0ab5e07
Add better "for" completion for Python.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2379 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-21 15:58:21 +00:00
Enrico Tröger
57fa3d0f16
Use configure's --docdir option when installing and using the documentation.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2378 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-21 14:28:26 +00:00
Nick Treleaven
c248368faf
Only use filetype detection after Save As, not on every save when the
...
filetype is None (fixes #1891778 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2377 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-21 14:02:59 +00:00
Enrico Tröger
a0b1e7a692
When opening the manual on the website, include version string to ensure the appropriate manual version is shown.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2376 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-21 13:42:31 +00:00
Nick Treleaven
5bb5ff514f
When closing tabs that were opened left-to-right, don't temporarily
...
focus the previous tab when closing tabs, to prevent unnecessary
checking for disk changes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2375 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-21 13:05:47 +00:00
Nick Treleaven
98f57f2543
Move scroll by one line shortcuts to configurable keybindings
...
section.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2374 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-20 17:05:45 +00:00
Nick Treleaven
cc88c8bc7a
s/tabulator/tab/.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2373 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-20 16:55:14 +00:00
Nick Treleaven
5d417e0eec
Update configurable keybindings section for new plugin groups
...
ordering.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2372 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-20 16:50:21 +00:00
Nick Treleaven
c57a749d69
Load and save plugin keybindings when toggling plugins in the Plugin
...
Manager.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2371 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-20 16:17:59 +00:00
Nick Treleaven
e740d9208a
Fix bug with showing macro list items all on one line.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2369 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-20 15:48:03 +00:00
Enrico Tröger
8f496984a2
Add note and link for GTK 2.6 API docs.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2368 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-20 14:30:51 +00:00
Nick Treleaven
230bfcf800
When detecting a change on disk, reload the file after all pending
...
Scintilla messages have been processed, to prevent problems with
partial colourisation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2367 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-20 13:09:19 +00:00
Nick Treleaven
b5da3d96ee
Add page links on the main page (easier than going to Related Pages,
...
and we can also list special files like plugin-symbols.c).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2366 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-20 13:02:12 +00:00
Nick Treleaven
16e7af760a
Move plugin symbols page into separate source file so that symbols
...
are listed as variables and functions and are autolinked.
Edit plugin symbols description, document some function parameters.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2365 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-20 12:46:45 +00:00
Nick Treleaven
df6e28335f
Set mnemonic for Plugin Manager.
...
Use GTK_RESPONSE_CANCEL for Plugin Manager dialog so pressing escape
closes the dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2363 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-19 17:15:28 +00:00
Enrico Tröger
bd9881d162
Add ".xhtml" extension for filetype XML ( #1914587 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2362 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-18 16:38:01 +00:00
Enrico Tröger
1c04310ac1
Save sorting order of the symbol list when saving a file ( #1917262 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2361 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-18 16:09:11 +00:00
Enrico Tröger
716400d4af
Fix modal dialog problems on Windows by not setting taskbar hint ( closes #1916994 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2358 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-17 18:26:22 +00:00
Enrico Tröger
d8f028f888
Add additional keyword group for python and slightly change the foreground colour for style "word2".
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2357 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-17 17:22:24 +00:00
Enrico Tröger
8e26cfe7c1
Remove old and useless code from build_link_file().
...
Don't add "-o" compiler option automatically instead make it configurable through linker command.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2356 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-17 17:13:56 +00:00
Enrico Tröger
fa758933bb
Rework internal handling of plugin/module loading.
...
At startup, only load enabled plugins, all others are only loaded when the plugin manager is opened and get completely unloaded when it is closed.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2355 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-17 15:48:15 +00:00
Enrico Tröger
1664609da0
Fix encoding problems with project file dialogs.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2354 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-17 14:56:08 +00:00
Enrico Tröger
ec2bce2f94
Fix broken auto multiline comment with files in CR/LF mode.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2352 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-17 13:11:29 +00:00
Enrico Tröger
d5da60a242
Add a note about column mode editing.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2351 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-17 12:56:10 +00:00
Enrico Tröger
3e0efbf7fa
Add (basic) column mode editing, pasting text does not work. Patch by chuck, thanks.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2350 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-15 11:11:57 +00:00
Enrico Tröger
e85ee6758c
Fix wrong directory when choosing project filename in the New Project dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2349 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-15 11:06:55 +00:00
Enrico Tröger
697d6aff74
Fix freeze when reading from stderr when using "Send Selection To".
...
Don't modify current selection if the executed command returned error messages and/or an unsuccessful exit code.
Improve error reporting when using "Send Selection To" (#1909452 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2348 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-14 18:55:30 +00:00
Nick Treleaven
498964e1c7
Replace Plugins chapter with 'Writing plugins' section.
...
Add generating plugin API documentation section.
Replace 'Modifying data types' with 'Keeping the plugin ABI stable'
section.
Add note about using -ansi.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2347 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-14 17:44:43 +00:00
Enrico Tröger
565213e9a5
Add pkg-config file and new include directory to the files section (thanks to Dominic Hopf).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2346 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-14 17:28:37 +00:00
Nick Treleaven
664ee2f75d
Make KeyBinding name and label fields non-const strings so they can
...
be freed by any plugins that need to use malloc'd strings.
Document KeyCallback typedef.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2345 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-14 17:23:24 +00:00
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
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
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
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