Nick Treleaven
683e09aae5
Update syntax highlighting after changing the 'Invert syntax
...
highlighting colors' pref, instead of requiring a restart.
Remove filetypes.common invert_all option - use 'Invert syntax
highlighting colors' pref instead (closes #2854525 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4184 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-14 11:53:08 +00:00
Nick Treleaven
89a708bd11
Merge trunk changes.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/custom-filetypes@4142 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-31 15:46:19 +00:00
Nick Treleaven
6bd8f44454
Remove --generate-data-files argument & code - just edit
...
filetype_extensions.conf by hand (filetype order was broken
anyway).
Add *.H extension for C++ (useful for non-Windows systems).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4137 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-27 16:31:53 +00:00
Lex Trotman
081e9e768f
Merged trunk to build-system
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4101 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-17 04:27:07 +00:00
Nick Treleaven
352254b0ba
Fix setting wordchars for custom filetypes.
...
Use style_sets array for custom filetypes too.
Replace styleset_none() with styleset_default().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/custom-filetypes@4080 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-14 11:05:47 +00:00
Frank Lanitz
45dc8f6390
Fix a minor typo on --help call
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4074 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-12 18:53:35 +00:00
Lex Trotman
28d96a3909
Merge with trunk
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4020 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-24 00:59:12 +00:00
Enrico Tröger
39a74c5a18
Continue unifying usage of @a and @c markup elements in API docs.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4010 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-21 22:12:13 +00:00
Enrico Tröger
f217a608ba
Show/hide the toolbar without a restart when the setting in the preferences dialog is changed ( closes #2824785 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4009 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-21 22:10:42 +00:00
Enrico Tröger
8eef880bb6
Don't use the main window as parent for dialog boxes if it is not yet realised.
...
Set titles for message dialogs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3993 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-19 20:19:09 +00:00
Lex Trotman
9164392983
Merge with trunk
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3983 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-17 04:55:35 +00:00
Lex Trotman
3bc23327f5
Fix many warnings, remove make cmd preference
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3982 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-17 00:23:38 +00:00
Nick Treleaven
b51b8524e3
Add treeviews_finalize().
...
Remove tv.popup_openfiles field.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3979 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-16 15:50:13 +00:00
Nick Treleaven
d7cd30cd99
Add 'Show Paths' documents list popup item.
...
Add "load_settings" core-only signal emitted just after loading
main keyfile settings; useful to delay building UI elements until
settings have been read.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3976 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-16 15:04:21 +00:00
Nick Treleaven
99641558bb
Add documents_foreach() API macro that skips invalid docs.
...
Make filetypes[], documents[] part of the API again.
Add GEANY() macro for sharing geany symbols between API and core.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3964 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 13:05:51 +00:00
Nick Treleaven
b051d01215
Apply patch from Eugene Arshinov to reload color schemes via menu
...
(thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3955 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-13 11:58:21 +00:00
Nick Treleaven
69c1173478
Minor typos.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3888 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-22 15:08:44 +00:00
Enrico Tröger
8d18b3c2fa
Init stock items before creating the toolbar ( closes #2809324 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3882 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-20 16:53:28 +00:00
Enrico Tröger
d4700f094e
Properly clean up the logging mechanism.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3878 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-20 16:52:30 +00:00
Enrico Tröger
8b5b6287e1
Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is saved within Geany.
...
Refactor some related code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3874 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-20 16:51:32 +00:00
Enrico Tröger
66b78ad961
Create parent directories if necessary when checking for the configuration directory on startup ( closes #2784577 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3777 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-05-10 17:44:43 +00:00
Enrico Tröger
6d1371eec2
Update the View->Fullscreen menu item when fullscreen state is changed externally (e.g. by the window manager).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3754 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-30 17:17:13 +00:00
Enrico Tröger
b5884be2fa
Remember the active sidebar page between sessions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3739 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-27 19:30:29 +00:00
Enrico Tröger
a95a59a42f
Remove all G_LIKELY macros inside g_return_if_fail() statements as this is redundant.
...
Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much sense to keep the code more readable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3708 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-15 22:47:33 +00:00
Enrico Tröger
ae5e0c5970
When finished sending filenames to a remote instance, notify the environment that we finished starting up.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3704 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-08 16:06:40 +00:00
Enrico Tröger
1dc5f0175d
Fix setting a wrong default window size when starting without an existing configuration.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3695 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-07 22:08:19 +00:00
Enrico Tröger
a9dc990049
Start using G_LIKELY/G_UNLIKELY macros to gain a little more performance when building the code with gcc.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3687 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-05 21:07:40 +00:00
Enrico Tröger
9a0c567918
Add "Recent Projects" menu to the Project menu ( #2728630 , patch by Elias Pschernig, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3684 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-05 14:14:29 +00:00
Enrico Tröger
8eb2028ab5
Add widget names for the menubar and toolbar.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3675 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-31 17:39:17 +00:00
Enrico Tröger
560af59610
Add an option to allow appending the toolbar to the main menu bar to save some vertical space.
...
Allow setting toolbar icon size to very small (menu icon size).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3668 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-29 16:15:35 +00:00
Enrico Tröger
9431eea244
Allow negative window coordinates when saving and restoring the position of the main window.
...
Restore the main window position and size *after* the window has been realised to get it positioned accordingly (this affects at least Windows).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3666 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-27 16:25:57 +00:00
Enrico Tröger
76a9d232c2
Use g_win32_get_package_installation_directory_of_module() on Windows with newer GLib versions instead of deprecated API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3654 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-26 20:10:47 +00:00
Enrico Tröger
a70a679898
Add an option to set an additional plugin lookup path.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3626 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-13 10:02:29 +00:00
Enrico Tröger
59079283f2
Add 'Send Selection to Terminal' command to the Edit->Format menu (initial patch by David Gleich, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3601 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-25 23:28:01 +00:00
Enrico Tröger
ec531d2495
On Windows, change the working directory to the Geany installation path at startup to avoid unwanted directory locking( closes #2626124 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3596 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-24 18:26:16 +00:00
Enrico Tröger
df24b80537
Don't check for old configuration directory location on Windows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3557 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-06 14:15:19 +00:00
Enrico Tröger
91ba3a12da
Add a NULL check for locale filename string just to be safe.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3481 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-17 18:46:44 +00:00
Enrico Tröger
de30d056c7
Rename command line option --debug to --verbose.
...
Change short form of --version from -v to -V.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3469 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-15 18:20:19 +00:00
Enrico Tröger
787a680290
Add checks for GIO (GLib >= 2.16) support.
...
Allow to specify files on the command line and from remote instances to be URIs (local and with GIO also remote URIs).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3454 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-09 18:21:12 +00:00
Enrico Tröger
39a6eb455e
Update copyright information.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3446 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-04 18:30:42 +00:00
Nick Treleaven
9a89cd2a51
Fix build (oops).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3442 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-03 16:31:12 +00:00
Nick Treleaven
077270c647
Remove geanyobject.h includes.
...
Use GObject instead of unused GeanyObject argument.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3439 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-03 13:03:42 +00:00
Nick Treleaven
943f07d07a
Add dialog for switching to last used tab, which disappears when
...
releasing the modifier key. (Useful once MRU switching is
implemented).
Connect window key-press-event in keybindings.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3436 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-02 13:37:40 +00:00
Nick Treleaven
8af824aee4
Fix creating a new configuration directory (oops).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3426 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-28 13:40:26 +00:00
Nick Treleaven
0f575ea2b7
Don't forget active plugins after disabling plugin support.
...
Use Stash for plugin-related prefs.
Add geany_object "save-settings" signal (for core only).
Add stash_group_add_string_vector().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3425 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-28 13:21:35 +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
Nick Treleaven
8de6b131c9
Remember Find in Files mode at startup.
...
Add configuration_add_pref_group(), with separate array for GUI
prefs.
Move search pref group to search.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3383 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-16 13:01:47 +00:00
Enrico Tröger
428b93da88
Add new toolbar elements: Close All and Preferences.
...
The icon for Close All was kindly provided by Tyler Mulligan, thanks.
Remove GeanyStockItem and add ui_new_pixbuf_from_stock() as a replacement.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3354 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-09 20:31:38 +00:00
Nick Treleaven
5c5dfe9df5
Move Stash data types to stash.c, so Stash functions could be used
...
by plugins without breaking the ABI when appending fields. Also the
user code is neater and has type checking.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3349 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-09 13:16:52 +00:00