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
Nick Treleaven
e455f5967c
Add comment note about why we use a GArray rather than having users
...
declare a static array.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3420 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-22 18:18:14 +00:00
Nick Treleaven
c56f0c450b
Add stash_group_add_combo_box_entry(), stash_group_add_entry().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3419 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-22 17:13:37 +00:00
Nick Treleaven
6a2f565931
Rename GeanyPrefEntry::type -> setting_type for clarity.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3418 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-22 16:14:48 +00:00
Nick Treleaven
df5b4d85d9
Remove remaining PrefEntry code, use Stash instead.
...
Add stash_group_add_spin_button_integer(),
stash_group_add_combo_box().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3417 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-22 16:03:16 +00:00
Nick Treleaven
e1cc154601
Use helper function add_widget_pref() for GUI prefs.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3416 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-22 13:01:50 +00:00
Nick Treleaven
26fc571dcd
Rename stash_group_load() -> stash_group_load_from_key_file().
...
Rename stash_group_save() -> stash_group_save_to_key_file().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3415 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-22 12:50:19 +00:00
Nick Treleaven
f4fd1ea2ca
Use Stash radio button prefs instead of RadioPrefEntry.
...
Add stash_group_add_radio_buttons().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3375 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-15 13:02:29 +00:00
Nick Treleaven
b280806a40
Add note about not duplicating static arrays passed to Stash.
...
Don't duplicate default_value argument for string prefs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3358 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 13:25:08 +00:00
Nick Treleaven
a6992526e8
Add foreach_ptr_array() macro to utils.h.
...
Merge toggle button prefs code into keyfile.c Stash code.
Add toggle button support to Stash code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3356 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-11 12:49:26 +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
Nick Treleaven
78c3589336
Add G_TYPE_STRING setting support to Stash code, use in keyfile.c.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3302 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-01 14:54:47 +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