2022 Commits

Author SHA1 Message Date
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
Enrico Tröger
b6291331bf Removed.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1766 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-31 15:27:32 +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
391765c193 Add Plugins section
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1764 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-29 19:12:27 +00:00
Enrico Tröger
565f40890a Remove unwanted echo.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1763 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-29 18:39:35 +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
7ecd07039e Backport of LexHTML from Scintilla CVS to fix #1759166.
Disable debug build of Scintilla and use -Os.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1761 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-29 14:06:35 +00:00
Frank Lanitz
692a71809e Fixed a parsing problem (oops)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1760 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-28 18:01:27 +00:00
Frank Lanitz
b69f72d846 Update of Polish translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1759 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-28 17:44:13 +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
76646797a3 Use new email address.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1750 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-27 10:43:25 +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
1b8b204442 Ignore intltool, geany.desktop.in, po/stamp.it.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1748 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-26 12:12:54 +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
eec5a83e03 Change format of email addresses.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1745 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-26 10:10:32 +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
Nick Treleaven
12df07b4f2 Translate the HTML Characters plugin.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1741 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-25 11:00:09 +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
a2ea943ffe Fix warning.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1735 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-23 16:06:07 +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
33814377cd Clarified description of white_space setting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1732 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-22 14:57:26 +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
Frank Lanitz
9f7ee051c3 Update of Polish translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1730 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-21 19:46:32 +00:00
Frank Lanitz
471ca6f9c7 Added British English translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1729 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-20 18:38:19 +00:00
Nick Treleaven
0994c76194 Apply patch to add symbol list icons from Jean-François Wauthy
(thanks). Also thanks to KDevelop for the icons.
Add list of projects to THANKS.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1728 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-20 16:33:16 +00:00
Nick Treleaven
2178c7c887 Rename ui_close_buttons_toggle() ui_document_buttons_update().
Move app->sensitive_buttons to ui_utils.c for easier maintenance,
rename to document_buttons.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1727 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-20 12:06:51 +00:00
Nick Treleaven
a27b84475c Tidy up plugin code to make their structure more consistent.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1726 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-19 11:54:02 +00:00
Nick Treleaven
ae6de4f5c6 Use extern 'app' and 'filetypes' global variables in headers, so that
G_MODULE_BIND_LOCAL can later be used when loading plugins to detect
any unresolved symbols.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1725 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-19 11:49:53 +00:00
Nick Treleaven
367465ba51 Prevent warning when clicking on symbol list parent items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1724 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-19 11:15:42 +00:00
Nick Treleaven
fc9e92cf0f Make pressing escape focus the editor when using incremental search
or the Goto Line entries.
Add keybindings_cmd() to mimic a keybinding action.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1723 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-18 15:35:52 +00:00
Nick Treleaven
46282107f8 Oops, prevent fencepost bug.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1722 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-18 12:25:18 +00:00
Nick Treleaven
96727cd21d Fix possible segfault when a file is closed and using go forward.
Fix 2 possible memory leaks when files have been closed.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1721 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-18 12:20:13 +00:00
Nick Treleaven
721bd8eaa4 Fix gcc warning, add comment for editor_scroll_to_line().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1720 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-18 12:16:07 +00:00
Enrico Tröger
34a760d549 Add keybinding for scroll to current line.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1719 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-17 16:27:49 +00:00