40 Commits

Author SHA1 Message Date
Colomban Wendling
700c05e413 Autotools: Build plugins with Libtool on MinGW too 2015-01-20 16:04:54 +01:00
Nick Treleaven
c72dce06a5 Merge remote-tracking branch 'origin/master' into tm/tree-refactoring
Conflicts:
	makefile.win32
	src/makefile.win32
2012-07-04 12:15:53 +01:00
Chow Loong Jin
8187268ad0 Link export plugin against libm (-lm)
The export plugin uses the pow() function from libm without linking against
it. It has worked so far because Geany itself has a link against libm, but
should that be removed in the future, this would fail to resolve symbols.

Signed-off-by: Chow Loong Jin <hyperair@debian.org>
Signed-off-by: Colomban Wendling <ban@herbesfolles.org>
2012-06-21 16:03:20 +02:00
Colomban Wendling
d69a153bb4 Refactor tagmanager source files architecture
Split ctags and tagmanager sources, as follows:

tagmanager/ctags: the parsers, more or less upstream CTags;
tagmanager/mio: local MIO library copy;
tagmanager/src: actual tagmanager sources.
2012-05-08 23:01:23 +02:00
Colomban Wendling
24705610ab Enable SplitWindow build on Windows again
Re-apply r5638 now the SplitWindow plugin is fixed for real.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5775 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-05-09 13:22:02 +00:00
Colomban Wendling
e5071473c1 Revert r5638 "Enable SplitWindow build on Windows again."
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5639 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-27 16:02:21 +00:00
Enrico Tröger
9b8b01a0b2 Enable SplitWindow build on Windows again.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5638 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-27 15:28:02 +00:00
Enrico Tröger
be5d891f0e Pass G_LOG_DOMAIN to source files for better logging.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4954 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-25 19:49:49 +00:00
Enrico Tröger
8c865b6813 Add new GTK define also for Mingw cross compilation and makefile.win32 based Windows builds (untested).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4924 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 17:44:40 +00:00
Enrico Tröger
10ad339994 Update Scintilla to version 2.11.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4923 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 17:44:24 +00:00
Nick Treleaven
9021717031 Use full function name for GeanyFunctions function pointers. This
avoids naming conflicts e.g. with C++'s 'new' keyword.
Remove deprecated header pluginmacros.h - use geanyfunctions.h instead.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4552 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-25 15:53:54 +00:00
Nick Treleaven
c4513eecaf Add geanyplugin.h single include for plugin API; update all core
plugins to use it.
Add sci_set_font() to API.
Update plugin howto.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3966 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 15:06:20 +00:00
Frank Lanitz
44c2ec3bb5 Removed deprecated plugin VC Diff. Please use geanyVC instead
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3603 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-26 01:25:38 +00:00
Enrico Tröger
a6eda7c875 Enable socket support when cross-compiling.
Enable plugin compilation when cross-compiling.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3594 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-24 18:25:41 +00:00
Enrico Tröger
4a6abdaa0e Fix build without GIO again (sorry).
Remove trailing slashes in Makefile.am's (patch by Daniel Richard G., thanks).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3463 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-12 00:33:29 +00:00
Nick Treleaven
b5ff19731e Move target for geanyfunctions.h to plugins/Makefile.am and depend
on src/plugins.c instead of all plugin API headers.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3308 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-03 12:41:05 +00:00
Nick Treleaven
98e127d3bd Generate plugin API header geanyfunctions.h containing macros to
avoid having to type the function pointer names manually.
E.g. plugin_add_toolbar_item(...) is expanded to
p_plugin->add_toolbar_item(...).
Note: For now, building on Windows or with Waf needs genapi.py to be
run manually when adding plugin API functions.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3305 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-02 16:34:32 +00:00
Enrico Tröger
75d46bff7e Merge InstantSave, AutoSave and BackupCopy plugins into the plugin 'Save Actions'.
Add a section for documentation of internal plugins in the documentation.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3035 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-02 13:37:35 +00:00
Nick Treleaven
9f8f2c7b28 Add Split Window plugin (work-in-progress).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/split-window-plugin@2906 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-26 15:58:07 +00:00
Enrico Tröger
4198167584 Add again all GTK libraries to linker flags for each plugin.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2623 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-28 16:09:16 +00:00
Enrico Tröger
133793e8db Specify the necessary libraries of each plugin to link against.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2607 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-21 16:53:40 +00:00
Enrico Tröger
2f2cee58cb Avoid linking plugins against GTK libraries which seems unnecessary.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2461 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-09 16:21:59 +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
79cccc68d9 Fix typo (thanks Slava Semushin for reporting).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2233 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-07 14:19:45 +00:00
Enrico Tröger
de8caa6055 Remove obsolete SVNdiff plugin, use the VC Diff plugin.
Add option for amount of characters to trigger symbol completion.
Add document_find_by_filename to the plugin API.		


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2084 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-01 17:53:36 +00:00
Enrico Tröger
ac48d14376 New plugin: Auto Save.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2067 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-22 17:03:53 +00:00
Nick Treleaven
31c1cae631 Added plugin 'VC Diff', slightly modified from a patch by Yura
Siamashka (thanks). It was adapted from the SVN Diff plugin.
Currently it supports SVN, CVS and GIT.
Fixed GTK warnings when the current file has no filename and when
the current directory has no version control system.
Made some refactoring changes to make the VC_RECORD struct contain
all necessary attributes about each version control system.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2048 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-14 16:44:45 +00:00
Nick Treleaven
94fbc4ba12 Add pluginmacros.h to define common macros for app, utils, etc.
Add more documentation/comments to demoplugin.c.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1974 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-24 12:04:15 +00:00
Nick Treleaven
a54ddf4795 Added File Browser sidebar plugin.
Rename 'Open Files' sidebar tab 'Documents'.
Add keybindings->send_command() and tm->get_real_path() to the plugin
API.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1966 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-22 12:42:19 +00:00
Enrico Tröger
6b94181466 Apply most of the patch from #1794250 (thanks):
Remove compiler specific flags.
Add configure option to specify the path to libvte.so.
Remove many unnecessary configure checks.
Stop configure if msgfmt was not found(gettext not installed).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1961 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-19 14:48:19 +00:00
Frank Lanitz
885cde0ad5 Added new plugin svndiff
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1944 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-15 08:52:20 +00:00
Enrico Tröger
73557807a8 Remove get_zoom from plugin API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1867 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-10 18:25:03 +00:00
Nick Treleaven
83a82cfdd4 Don't install Demo plugin.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1838 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-29 16:11:42 +00:00
Enrico Tröger
704940dcdf New plugin: Export as HTML and LaTeX.
Add some functions to the plugin API needed by the Export plugin.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1811 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-19 17:40:19 +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
2719f6d146 Apply patch from Shiv to make build system more compatible with other compilers than gcc.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1689 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-11 15:27:57 +00:00
Nick Treleaven
451c5b0e7e Make Class Builder into a plugin.
Add some function pointers to the plugin API (for the class builder).
Don't use G_MODULE_BIND_LAZY when loading plugins otherwise we can
potentially get unresolved symbols at runtime, causing a segfault.
Capitalize 2 menu item labels.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1659 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-04 11:32:33 +00:00
Enrico Tröger
fcb06167b4 Change label of GTK check in configure.in from PACKAGE to GTK (only cosmetic).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1644 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-26 18:08:00 +00:00
Nick Treleaven
6e53eacc70 Added very basic plugin support - any plugins found in
/lib/geany are loaded at startup. Windows support will be
added later.
Added Demo plugin (currently installed by default), which adds an
item in the Tools menu.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1643 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-26 16:17:16 +00:00