Matthew Brush
9a63e05f63
Change plugin manager's OK button response to GTK_RESPONSE_OK
...
Used to be GTK_RESPONSE_CANCEL for some reason.
2012-08-09 22:36:03 -07:00
Matthew Brush
bc5b68822d
Remove indirection from callback handler
2012-08-09 22:35:16 -07:00
Matthew Brush
e62bec43fc
Use g_build_filename()
instead of g_strconcat()
for paths
2012-08-09 18:21:43 -07:00
Colomban Wendling
1c2c455b1d
Update copyright information
2012-06-18 01:15:04 +02:00
Dimitar Zhekov
f2d33bc16e
Add stash_group_free_settings() function to API
...
Frees the memory allocated for setting values in a group.
2012-04-06 14:04:01 +01:00
Lex Trotman
fa118fb12a
Add build command access to plugin interface
...
Add ability for plugins to read and edit the fields of the build commands.
2012-02-15 14:18:34 +11:00
Nick Treleaven
eb04c514ba
Add API function ui_lookup_stock_label()
...
Using this can avoid adding i18n strings unnecessarily.
2012-01-08 17:37:58 +00:00
Nick Treleaven
fb1c6c63e6
Print system plugin path debug message on startup
2011-12-08 17:02:25 +00:00
Nick Treleaven
70b3cae060
Verify active plugin paths on startup
...
Geany saves the path for each active plugin on shutdown, but the 3
valid plugin paths can each change.
2011-11-16 17:27:32 +00:00
Enrico Tröger
639e88add0
Display the plugin's description in the list of plugins instead of the plugin's filename
...
In the dialog, the plugin's description is more interesting and useful than the full filename.
Instead, show the filename in the bottom box for those interested in.
2011-11-13 13:32:05 +01:00
Colomban Wendling
d06e9f4575
Remove $Id$ and $Date$ SVN keywords
2011-10-09 22:57:35 +02:00
Colomban Wendling
ddb4ad5fa5
Fix some whitespace style errors
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5886 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-08-06 18:34:14 +00:00
Colomban Wendling
9fa8cd8bf9
Fix a few GCC warnings
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5856 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-06-17 22:52:43 +00:00
Enrico Tröger
4b206e86be
Check whether the custom plugin path is one of the user or system plugin paths and if so, ignore it.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5825 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-29 20:08:53 +00:00
Enrico Tröger
8693bde80d
Do not add active plugins to the list of plugins when they are already in the list ( closes #3308191 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5824 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-29 19:45:16 +00:00
Enrico Tröger
b96aa6628f
Fix typo
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5823 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-29 19:38:47 +00:00
Enrico Tröger
247689ec64
Define and use get_plugin_path() always and move platform dependent code into the function definition.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5822 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-29 19:35:38 +00:00
Colomban Wendling
edc8457e8a
Cleanup GeanyWrapLabel a bit
...
* Do all mandatory initializations in _init() rather than _new();
* Drop geany_wrap_label_set_text() in favor of plain
gtk_label_set_text(), making the widget a little simpler and more
transparent to the caller.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5795 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-10 23:51:01 +00:00
Colomban Wendling
c42c384079
Improve the plugin manager dialog a little
...
* Add a paned to allow the plugin description part to be resized;
* Split plugin name, description and authors into distinct entities
and show aligned and bold titles for them.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5794 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-10 23:50:21 +00:00
Nick Treleaven
2a45938205
Add utils_find_open_xml_tag_pos() API function (patch by Eugene
...
Arshinov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5733 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-23 11:44:31 +00:00
Enrico Tröger
9f8c5103a8
Add document_compare_by_tab_order() and document_compare_by_tab_order_reverse() to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5727 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-17 13:40:04 +00:00
Enrico Tröger
211a963773
Rename document_sort_by_display_name() into document_compare_by_display_name(), thanks again Nick.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5714 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-12 17:20:59 +00:00
Enrico Tröger
66c8b7faee
Add ui_menu_add_document_items_sorted() and document_sort_by_display_name() to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5705 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-04-10 17:03:41 +00:00
Colomban Wendling
ef9360c78b
Add plugin_{idle_add,timeout_add,timeout_add_seconds}() to the plugin API
...
These functions does the same as the corresponding GLib functions but
makes sure that the added GSource will be removed when the plugin is
unloaded, preventing possible crashes.
These are only convenience functions for the plugin author not to have to
care about the case the plugin gets unloaded, he can still manually
manage hes GSources if he wants to.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5650 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-29 23:20:14 +00:00
Nick Treleaven
22038400cc
Add filetypes_get_sorted_by_name() to API.
...
Fix --ft-names sorting to print in name order, not title order.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5649 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-29 18:06:26 +00:00
Colomban Wendling
7698bf60a7
Improve usage of G_(UN)?LIKELY()
...
G_(UN)?LIKELY() should be only used on whole conditional expressions,
and only if the branching is very highly predictable, not if it is only
more probable.
These macros should be used with care because a wrong prediction may
be a lot worst than what a good prediction can give.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5625 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-24 22:00:18 +00:00
Colomban Wendling
7a2a413f8c
Restore sorting order of plugins configuration tabs (broke by me in r5586)
...
Now simply insert elements in sorted order rather than sorting the
list at a later point: it's simpler, cleaner and probably faster.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5591 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-15 16:52:12 +00:00
Colomban Wendling
8e79a2255a
Prefer prepend elements to lists rather than append them
...
This is for better performances since appending to a list means walking
it to find the last element to append to. When the list ordering
matters, simply reverse the list after prepengins.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5586 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-10 22:27:04 +00:00
Enrico Tröger
6ac2623208
Update copyright information.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5528 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-19 19:39:09 +00:00
Nick Treleaven
3ba9517d8f
Add debug message with the number of compatible plugins in each
...
plugin search path when showing the Plugin Manager dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5507 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-04 12:41:22 +00:00
Nick Treleaven
4c17428732
Add filetypes_get_display_name() to API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5497 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-12-22 16:59:38 +00:00
Nick Treleaven
b9a42fa6d1
Add dialogs_show_input() to API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5418 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-18 18:27:01 +00:00
Nick Treleaven
ddefb0a0b4
Add API functions (patch by Eugene Arshinov, thanks):
...
Move editor.c: is_{string,comment,code}_style() functions to
highlighting.c, add to API.
Add editor_find_snippet(), editor_insert_snippet(),
utils_find_open_xml_tag() to API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5409 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-16 15:07:40 +00:00
Nick Treleaven
e7206f35b8
Add sci_get_lexer() to plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5352 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-02 12:55:17 +00:00
Nick Treleaven
e7373fabf5
Use C struct copying instead of memcpy.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5240 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-17 19:15:13 +00:00
Nick Treleaven
98e6efb3b4
Add msgwin_set_messages_dir() to API (patch by Jiří Techet, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5237 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-16 15:31:23 +00:00
Enrico Tröger
0f7d1928cc
Add editor_goto_pos() to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5164 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-15 17:44:31 +00:00
Enrico Tröger
befcb63e59
Ensure inserted templates always have proper line ending characters
...
according to the current document's preference.
This is also fixes problems with templates on Windows which had
always Unix line ending characters but now since they are read
from files, these have Windows line ending characters and had been
converted twice.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5114 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-01 17:20:50 +00:00
Nick Treleaven
de29305a31
Fix not loading plugins built against a newer API when Geany doesn't
...
provide the required version given in PLUGIN_VERSION_CHECK().
Improve documentation for PLUGIN_VERSION_CHECK().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5051 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-18 15:04:07 +00:00
Nick Treleaven
c41b55d692
Add ui_combo_box_add_to_history() to API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5048 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-18 12:20:15 +00:00
Enrico Tröger
e996570c11
Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so plugins' meta information can be translated already in the plugin manager dialog (patch by Colomban Wendling, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4963 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-30 18:05:18 +00:00
Nick Treleaven
fdfbd2efb4
Add symbols_get_context_separator() to plugin API (patch by Colomban
...
Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4876 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-05 16:26:25 +00:00
Nick Treleaven
700e6e96bf
Add sci_set_line_indentation(), sci_get_line_indentation() to API
...
(patch by Colomban Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4869 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-03 14:46:32 +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
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
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
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
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
f72f6381df
Add and use convenience function ui_is_keyval_enter_or_return() and add it to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4737 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 19:33:15 +00:00
Nick Treleaven
6e14e8a667
Fix GLib warning when toggling 'no plugins available' item.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4632 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-01 17:45:18 +00:00