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
Enrico Tröger
bd2d677d84
Support multiple %cursor% wildcards in Snippets. To switch between %cursor% wildcards, use the new keybinding 'Move cursor in snippet' (patch by Thomas Martitz, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3461 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-11 21:05:03 +00:00
Enrico Tröger
ceb7edc8f1
Fix build with GTK 2.12 by adding GIO compile and linker flags ( closes #2498580 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3459 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-11 17:40:40 +00:00
Nick Treleaven
f0d2f92e65
Add Project Indentation prefs, which override the Editor
...
Preferences dialog options. For new projects, these default to the
editor indent prefs.
- Plugins:
For compatibility with this change, use editor_get_indent_prefs().
- Code changes:
The Project Properties dialog is now created by Glade, but (for
now) the existing options are added manually.
Add GeanyProjectPrivate project field.
Add stash_group_set_use_defaults().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3423 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-27 12:55:04 +00:00
Enrico Tröger
9e25c43487
Move implementation of lookup_widget() into ui_lookup_widget().
...
Change uses of lookup_widget() to ui_lookup_widget().
Remove now unneeded support.c.
Use GLib gettext macros in support.h instead of own ones.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3402 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-18 21:21:53 +00:00
Enrico Tröger
40f131fad0
Install toolbar.h.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3332 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-06 15:26:59 +00:00
Enrico Tröger
8ed9710f48
Rewrite of the whole toolbar code. Now it is based on GtkActions and all elements can be added/removed/reordered using a simple XML file.
...
Add GeanyMenubuttonAction and GeanyEntryAction as GtkAction subclasses to have menu buttons and text entries in the toolbar.
Change the Goto line toolbar item back to a plain text entry again.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3328 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-06 11:10:06 +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
Nick Treleaven
4bbdf80b14
Add foreach_c_array() macro in utils.h.
...
Add stash.[hc] for reading/writing GKeyFile settings and (later)
synchronizing widgets with C variables. Currently this only
supports boolean and integer settings.
Replace keyfile.c SettingEntry code with new stash code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3285 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-28 12:52:19 +00:00
Enrico Tröger
459ba625ed
Move geany_debug() into log.c.
...
Use GLib log/print handlers to log messages/warnings into a string for later usage.
Add a debug messages window, accessible through the help menu to easily view debug messages/warnings.
This might replace the extra console window on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2876 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-11 18:16:35 +00:00
Nick Treleaven
37e0d1f3f1
Move GeanyDocument GUI elements and saved_encoding to private
...
Document struct which inherits from GeanyDocument. This is to hide
implementation fields from the plugin API, so that we can change
them if necessary.
Add DOCUMENT() macro to convert a GeanyDocument* to a Document*.
Also move UNDO_*, FileEncoding to documentprivate.h.
Move undo_action struct to document.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2631 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-02 15:31:59 +00:00
Enrico Tröger
57fa3d0f16
Use configure's --docdir option when installing and using the documentation.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2378 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-21 14:28:26 +00:00
Enrico Tröger
8af4d71e0c
Add prefs.c to the list of installed header files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2341 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-03-14 07:30:08 +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
a479dc2795
Remove /tmp include directory, oops.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2278 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-24 10:22:35 +00:00
Enrico Tröger
3b38d441bc
Fix more cross-compiling issues including little cleanup.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2271 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-22 09:56:31 +00:00
Enrico Tröger
e298126ee7
Apply patch from Yura Siamashka to fix cross-compiling (thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2268 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-02-20 12:36:59 +00:00
Enrico Tröger
2ff8416767
Add GeanyWrapLabel (subclass of GtkLabel) to wrap text at any width.
...
Use GeanyWrapLabel in preferences dialog and plugin manager dialog to save a lot of space and improve layout of descriptive texts.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2152 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-09 13:24:36 +00:00
Enrico Tröger
3fef2dcc58
Prefix autotools macros with GEANY to avoid problems with already defined symbols on Windows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2117 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-19 15:37:10 +00:00
Enrico Tröger
28d9c63e79
Add PREFIX macro.
...
Don't construct LOCALEDIR manually but use autotools $(localedir) variable instead.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2110 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-18 17:01:36 +00:00
Enrico Tröger
fc6c31a242
Add binary relocation support.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2100 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-12 20:04:45 +00:00
Enrico Tröger
fff66178da
Add native GTK printing support.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2050 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-17 14:04:27 +00:00
Enrico Tröger
fd4881a7bd
Forgot to commit, sorry.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1962 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-19 16:55:04 +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
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
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
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
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
Enrico Tröger
3f30a4cc96
Applied patch from Dave Moore to add simple code navigation (thank you).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1590 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-02 16:14:07 +00:00
Nick Treleaven
fdaa689bff
Rename sci_cb.[hc] editor.[hc].
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1584 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-28 16:07:30 +00:00
Nick Treleaven
4bbc65c449
Force debug mode for a SVN working copy.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1583 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-28 15:28:30 +00:00
Enrico Tröger
944681b17a
Disable debug mode.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1552 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-21 15:43:50 +00:00
Enrico Tröger
dd7e84f33c
Made "distcheck" working.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1443 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-08 16:38:46 +00:00
Enrico Tröger
716360ee6d
Started to implement project management (still unusable).
...
Added project.[c|h].
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1194 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-15 18:12:32 +00:00
Enrico Tröger
ad37f83878
New files tools.c and tools.h.
...
Added a dialog to insert HTML special characters.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1088 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-13 00:46:14 +00:00
Nick Treleaven
762f4b5c91
Move global tags code to symbols.c.
...
Added symbols_global_tags_loaded(), symbols_get_global_keywords().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@860 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-02 11:31:54 +00:00
Enrico Tröger
0f9f0490bb
Moved the socket code from main.c to socket.c.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@799 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-07 17:40:44 +00:00
Nick Treleaven
a63fc1e40e
Moved UI related utils from utils.c to ui_utils.c
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@790 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-05 14:24:47 +00:00
Nick Treleaven
38bba30628
Moved HAVE_FIFO MyApp fields to fifo_info struct in src/main.c; Prevent unnecessary 'does not look like a filename' debug messages
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@749 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-20 12:33:09 +00:00
Enrico Tröger
3f05121478
Applied patch from Fryderyk Dziarmagowski to fix build problem with linker flag "-Wl,--as-needed" ( closes #1539239 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@706 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-12 17:27:09 +00:00
Enrico Tröger
639eb97ac4
Added win32.[c|h] to EXTRA_DIST.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@691 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-09 18:20:50 +00:00
Enrico Tröger
5ea85c2b1b
Removed geany_windres.rc.in, use geany_private.rc instead.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@649 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-29 08:45:37 +00:00
Nick Treleaven
1eb2990012
Correct a typo
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@645 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-28 12:26:36 +00:00
Enrico Tröger
4e122c97b7
Removed macro GEANY_WIN32, use G_OS_WIN32 instead.
...
Introduced global variables for PACKAGE_DATA_DIR and PACKAGE_LOCALE_DIR, removed macro DOCDIR (these changes are important for the Windows port).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@639 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-26 17:02:16 +00:00
Enrico Tröger
cdf6b6ce1e
Fix gettext support for cross compiling.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@634 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-26 11:46:30 +00:00
Enrico Tröger
d8c06b041d
Small changes to get cross compiling using mingw32 suite working.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@631 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-25 17:45:34 +00:00
Nick Treleaven
1c8d62ed5d
Added basic Find in files search functionality.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@551 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-13 14:30:44 +00:00
Nick Treleaven
14e6966568
Added currently disabled drag reordering of notebook tabs
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@448 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-16 11:17:52 +00:00