1295 Commits

Author SHA1 Message Date
Nick Treleaven
fc3a74e7f6 Add 'Enable plugin support' Prefs checkbox.
Minor edit of load VTE option text.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1805 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-16 15:20:38 +00:00
Nick Treleaven
6883934fce Apply patch from Jon Senior to fix parsing Apache Ant compiler
error messages (thanks).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1804 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-16 14:54:31 +00:00
Enrico Tröger
4f74783fb1 Add menu items for different sorting of the symbol list to the symbol list popup menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1802 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-15 17:58:58 +00:00
Nick Treleaven
8525cc95eb Add support for Java Apache Ant compiler error messages.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1801 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-15 16:00:43 +00:00
Nick Treleaven
9f46d083c5 Move #define PLAT_GTK to geany.h.
Move filetype typedef to geany.h.
Don't #include any src/*.h files from headers.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1800 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-15 15:37:21 +00:00
Nick Treleaven
9fcc4997ac Disconnect plugin callback signals when unloading plugins, to prevent
a segfault when emitting signals.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1799 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-15 12:29:57 +00:00
Nick Treleaven
2fa7ce5794 Apply patch from Jeff Pohlmeyer to add document_remove() to the
plugin API (thanks).
Add document_open_files() to plugin API.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1798 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-15 11:52:06 +00:00
Nick Treleaven
5f2dbfc520 Remove unnecessary include.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1797 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-15 11:51:05 +00:00
Nick Treleaven
d8d971ea9f Apply patch from blackdog to add document_save_file() to the plugin
API (thanks).
Add document_open_file() to plugin API.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1796 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-14 16:29:03 +00:00
Nick Treleaven
51f619f0ec Rewrite filetypes_get_from_uid() for easier maintenance.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1794 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-14 15:36:12 +00:00
Nick Treleaven
5be30988c8 Add comment about generating filetype_extensions.conf.
Update filetype_extensions.conf.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1793 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-14 15:24:01 +00:00
Nick Treleaven
b9c0dcdc8b Sort filetype groups alphabetically.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1792 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-14 15:11:54 +00:00
Nick Treleaven
2e454f7af5 Add reStructuredText filetype and parser.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1791 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-14 11:50:03 +00:00
Enrico Tröger
114b39994e Fix wrong debug message if a session file couldn't be loaded.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1790 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-13 18:27:19 +00:00
Enrico Tröger
66c2972afc Increase border space in credits tab and align developer names left.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1789 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-13 15:17:38 +00:00
Enrico Tröger
1077a80c0d Fix a runtime warning.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1787 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-12 09:20:52 +00:00
Nick Treleaven
15cec02d07 Add plugin symbol geany_callbacks (see plugindata.h for details).
Add GeanyObject type with "document-new", "document-open",
"document-save" signals.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1785 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-10 16:11:17 +00:00
Nick Treleaven
a19e05fa81 Tidy up struct typedefs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1784 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-10 11:45:20 +00:00
Nick Treleaven
47935f3b6d Make 'Delete current line' and 'Select current line' work for all
lines that have a selection.
Implement 'Copy current line'.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1782 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-10 11:29:37 +00:00
Nick Treleaven
86ebab2152 Prevent warning when trying to focus non-existent VTE.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1780 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-09 16:18:02 +00:00
Nick Treleaven
023a60cda5 Parse Python global variables and class variables from assignment
statements; assignment to a tuple literal ('x, y =') not supported.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1773 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-07 12:36:03 +00:00
Enrico Tröger
2397dc3b0f Use UTF-8 filename in Save As dialog when setting non-existing filename.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1772 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-05 11:29:09 +00:00
Enrico Tröger
64f13d4104 Add option to suppress messages in the status bar.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1771 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-05 11:03:44 +00:00
Enrico Tröger
1f2aa9d983 Prevent loading the same plugin in different paths.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1770 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-04 16:25:13 +00:00
Nick Treleaven
70cd941345 Add filetypes, editor_prefs fields to plugin API.
Wrap scintilla_send_message(), sci_cmd(), lookup_widget().
Apply patch from Jeff Pohlmeyer to add more common scintilla wrappers
to the plugin API (thanks).
Increment plugin ABI version.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1768 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-03 15:05:53 +00:00
Enrico Tröger
8d009973a9 Fix crash when saving a file after setting encoding "None".
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1767 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-31 17:07:33 +00:00
Nick Treleaven
25e596bf0d Add allocation for NULL-terminated selection ends.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1765 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-30 10:40:09 +00:00
Enrico Tröger
84e5181c75 Rework credits page to fix some display issues.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1762 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-29 17:56:40 +00:00
Enrico Tröger
03b61bbbc9 Make plugins working and compiling on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1758 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-28 17:44:02 +00:00
Enrico Tröger
b0322faa93 Fix compiler warnings on Windows
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1757 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-28 15:18:01 +00:00
Enrico Tröger
f85cb9d4f1 Hide empty symbol types in the symbol list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1756 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-28 14:10:49 +00:00
Enrico Tröger
a08906ea81 Only show the separator between built-in Tools menu items and plugins if there are any plugins.
Use PACKAGE_LIB_DIR.
Load plugins in ~/.geany/plugins/ prior to the default location.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1755 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-28 11:47:56 +00:00
Enrico Tröger
628331a85b Rename editor_auto_forif() in editor_auto_complete().
Allow using auto completion in PHP files outside of the PHP tags, generally in comments, for news files without filetype and on non-empty lines.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1754 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-28 10:27:42 +00:00
Nick Treleaven
2e500fb403 Use AE spelling of 'color'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1753 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-27 11:56:50 +00:00
Nick Treleaven
be04740016 Add separator between built-in Tools menu items and plugins.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1752 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-27 11:34:16 +00:00
Nick Treleaven
767b70dbb3 Move Color Chooser and Word Count tools to tools.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1751 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-27 11:28:17 +00:00
Nick Treleaven
2a15ed3dd0 Add GeanyData* geany_data symbol for plugins so they don't have to
keep a copy of the init() argument.
Rename PluginData GeanyData (but use a typedef for backward
compatibility).
Update plugins to use newer API symbols.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1749 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-27 10:37:22 +00:00
Nick Treleaven
c703d6b638 Use a single PluginData struct for all plugins.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1747 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-26 12:06:12 +00:00
Nick Treleaven
57561a1ebb Ignore whitespace_chars for Haxe.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1746 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-26 12:03:14 +00:00
Enrico Tröger
75c74284f8 Add filetype Haxe (patch by blackdog, thank you).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1744 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-26 09:50:12 +00:00
Nick Treleaven
75a08ac4a3 Don't destroy plugin_fields->menu_item automatically - plugin_fields
should be owned by the plugin, so the plugin is responsible for
destroying it, and any other memory it allocated.
Print a warning message in debug mode if a plugin has no cleanup()
function.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1743 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-25 11:59:34 +00:00
Nick Treleaven
87fe0b9531 Set app->debug_mode when GEANY_DEBUG is defined.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1742 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-25 11:49:11 +00:00
Enrico Tröger
222c4938ed Fix wrong selection handling when using Color Chooser.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1740 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-25 08:23:17 +00:00
Nick Treleaven
bab11250da Fix hang when replacing all '[ ]*' regex matches (closes #1757748).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1739 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-24 15:34:35 +00:00
Nick Treleaven
1fb834b19a Increment plugin API version for Jeff's patch.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1738 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-24 11:46:03 +00:00
Nick Treleaven
aa54953cfe Apply patch from Jeff Pohlmeyer to add plugin functions for getting
a file list and modifying scintilla text selections (thanks).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1737 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-24 11:43:46 +00:00
Enrico Tröger
2f6420a13e Fix make distcheck.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1736 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-24 09:24:14 +00:00
Nick Treleaven
109a7aee67 Convert 'Insert Special HTML Characters' tool into a plugin;
keybinding support will be added later.
Add plugin functions for inserting text into the current document.
Add plugin support for disabling a menu item when no documents are
open.
Destroy plugin_fields->menu_item on unloading if set by a plugin.
Use G_MODULE_BIND_LOCAL for plugins to prevent symbol shadowing by
other modules, and to help detect unresolved symbols at loading time.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1734 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-23 15:41:08 +00:00
Enrico Tröger
17f33318e0 Adjust symbol list icon path on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1733 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-23 09:26:05 +00:00
Enrico Tröger
a7975ccc93 Extend icon search path to get symbol list icons working when using a non-standard installation prefix.
Query default icon theme only once to improve startup speed.
Store the line number separately in the tree store.
Remove utils_get_local_tag().	       


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1731 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-22 14:38:47 +00:00