Enrico Tröger
45b4cd4a7d
When starting and trying to access the Unix Domain socket of a potentially running instance, first compare file ownership with the user id of the running process to prevent accessing a wrong socket file (part of #2985463 , this might not yet be the final solution).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4842 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-19 21:20:15 +00:00
Enrico Tröger
9761d8057d
Properly guard the automatic sidebar notebook tab hiding against older GTK versions
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4841 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-19 20:48:54 +00:00
Enrico Tröger
c499da1b4d
Add a static global variable to monitor autocompletion mode in order to prevent cancellation of the struct/class (C/C++) auto completion list (patch by Thomas Martitz, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4840 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-19 20:42:44 +00:00
Enrico Tröger
fd6bf166af
Automatically show and hide the sidebar notebook tabs according to the amount of visible pages (patch by Adrian Dimitrov, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4839 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-19 20:42:34 +00:00
Enrico Tröger
d84a498ff7
Fix Ctrl-Click on notebook tab if Numpad is active.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4831 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-18 21:42:12 +00:00
Enrico Tröger
b9d32c470c
Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
...
Add missing documentation for 'Reset Zoom' keybinding.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4827 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-17 14:55:14 +00:00
Enrico Tröger
85cded2a87
Remove unused code.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4824 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-17 14:34:19 +00:00
Enrico Tröger
7159c7c371
Add new command line option --list-documents to return a list of currently opened documents ( closes #2979933 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4820 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-11 21:56:50 +00:00
Enrico Tröger
10bdf624db
Instantly update the toolbar icon size and style when the corresponding global GTK settings are changed.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4819 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-11 21:56:34 +00:00
Enrico Tröger
fef3ee8fc5
Shorten the toolbar popup menu, only provide items for Toolbar Preferences and to Hide the toolbar.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4818 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-11 21:56:23 +00:00
Enrico Tröger
e28ca32274
Add option 'System Default' for toolbar icon style and size to use the GTK default value.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4817 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-11 21:56:08 +00:00
Nick Treleaven
ebfa9d75c3
Improve API docs for editor_insert_text_block().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4814 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-09 12:46:55 +00:00
Nick Treleaven
14b69a3363
Update status bar after using Document->Set Line Endings.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4813 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-09 12:30:28 +00:00
Nick Treleaven
559aebd1b2
Fix inserting snippets with an indent when using Mac CR line
...
endings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4812 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-09 12:09:16 +00:00
Nick Treleaven
18a7e2ef08
Fix indenting a snippet when there is whitespace after the
...
snippet key name.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4811 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-08 16:26:36 +00:00
Nick Treleaven
664333b8c8
Fix mem leak with snippets_find_completion_by_name().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4810 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-08 15:56:08 +00:00
Nick Treleaven
e7d790d926
Refactor snippets_complete_constructs().
...
Remove an unnecessary TODO.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4809 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-08 13:54:08 +00:00
Enrico Tröger
17553f0ee6
Fix disabled compiler message tracking if using indicators to show build errors is disabled ( closes #2982834 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4808 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-07 21:09:56 +00:00
Nick Treleaven
94577bb251
Fix showing '...' item last instead of first for document word
...
completion.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4805 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-06 17:11:36 +00:00
Nick Treleaven
14e61b9bdb
Re-detect any document filetypes set to None after reloading
...
filetype extensions (closes #2979661 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4803 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-06 16:37:27 +00:00
Nick Treleaven
cf30b64029
Make Ctrl-click on any notebook tab switch to the last used
...
document.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4800 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-05 11:44:56 +00:00
Nick Treleaven
ab8d1b20d9
Add API docs for keybinding enums.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4799 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-05 11:42:31 +00:00
Nick Treleaven
9bb37bd6de
Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
...
object for efficiency.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4798 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-01 15:57:19 +00:00
Nick Treleaven
a8bc1cb59a
Add Stash widget functions to API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4795 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-31 16:21:28 +00:00
Nick Treleaven
5f8f0b9f81
Use 'while' instead of 'goto'.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4794 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-31 13:39:33 +00:00
Nick Treleaven
c266895832
Fix replacing '^' regex.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4793 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-31 11:53:37 +00:00
Nick Treleaven
62f79f8f2a
Don't generate FOO_GET_PRIVATE() macro because caching the result
...
in Foo::priv can be much more efficient.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4791 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-30 17:19:59 +00:00
Nick Treleaven
90acc27a7a
Add Stash setting functions to API.
...
Remove unnecessary argument to stash_group_load_from_file().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4790 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-30 16:29:38 +00:00
Nick Treleaven
806bb254c7
Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
...
fixes #2976905 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4789 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-30 14:43:40 +00:00
Enrico Tröger
09d0321657
Fix cursor positioning when toggling comments (patch by Thomas Martitz, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4788 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-25 23:00:59 +00:00
Enrico Tröger
06786651bd
Increase plugin API version for last commit
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4787 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-25 22:45:30 +00:00
Peter Scholtens
904bc7e44d
Added Ctrl+0 for zoom reset / normal size
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4786 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-25 22:18:00 +00:00
Nick Treleaven
5bbd6a30d7
Fix wrong selection range after Replace in Selection.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4784 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-25 13:43:37 +00:00
Enrico Tröger
1864e6e6a5
Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT to not set Geany's minimum window size anymore ( closes #2972992 ).
...
As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4782 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-20 16:20:55 +00:00
Enrico Tröger
a01a4f68e3
Make CreateChildProcess() working with Unicode strings, e.g. directory names (closes 2972606).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4779 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-20 15:16:21 +00:00
Nick Treleaven
809a37ddd2
Add stash_group_load_from_file() and stash_group_save_to_file().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4778 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-19 17:38:27 +00:00
Nick Treleaven
86e5bb4bc7
Make adding string and string vector settings initialise the setting
...
to NULL for safety.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4777 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-19 12:51:08 +00:00
Nick Treleaven
201b595b51
Rename Stash data types to be independently named from Geany (so
...
Stash can be reused for other projects).
Rename GeanyPrefGroup to StashGroup.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4776 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-18 17:04:17 +00:00
Nick Treleaven
3ef6d41a53
Edit 2 labels.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4775 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-18 16:49:27 +00:00
Nick Treleaven
94b06b46e2
Add frame for 'Printing' prefs dialog page.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4774 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-18 13:26:48 +00:00
Nick Treleaven
9a15e2e074
Mention plugin_set_key_group() in API docs.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4773 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-18 13:17:05 +00:00
Nick Treleaven
39a6d76e2a
Improve API docs contents page by listing all commonly-used files.
...
Fix 'Date' appearing twice on the date line.
Don't generate API docs for prefs.h, toolbar.h (unused).
Move some '@file' doc-comments to the .c file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4772 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-18 13:13:11 +00:00
Nick Treleaven
aa872a4545
Add doc-comments for Stash setting functions.
...
Add an example file showing usage of Stash.
(Not enabled yet until added to the plugin API).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4769 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-17 17:15:47 +00:00
Lex Trotman
57aaf35b75
Fix using return value without checking return status, caused
...
incorrect sensitivity settings on build dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4767 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-17 04:34:33 +00:00
Enrico Tröger
31a4eddf44
Add utils_copy_environment() to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4764 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-15 14:48:43 +00:00
Enrico Tröger
0fd6e75f4a
For now revert the recent patch which set real_path of newly open non-existent configuration files as this seems hackish and causes 'file not found' warnings.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4762 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-15 14:05:42 +00:00
Nick Treleaven
04972d2499
Apply patch from Eugene Arshinov to make frame packing/alignment
...
more consistent (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4761 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-15 13:12:54 +00:00
Nick Treleaven
a190e1bfb7
Use 3rd person for more API dox.
...
Change 'This is a wrapper function for...' to 'Wraps...' in brief
descriptions.
Change 'After all...' to 'Afterwards...'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4760 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-15 13:01:16 +00:00
Nick Treleaven
138cbaa02f
Use 3rd person (gets not get) for API function brief descriptions.
...
Avoid using 'convenience function' in API brief descriptions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4757 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-12 18:15:48 +00:00
Nick Treleaven
034504dd90
Make Long Line Marker settings for existing projects default to
...
general settings instead of 0 (thanks to Eugene Arshinov).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4756 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-12 15:09:48 +00:00