Commit Graph

38 Commits (stable)

Author SHA1 Message Date
Noah 587cc4b91e Use g_return_val_if_fail / g_return_if_fail for NULL guards
1 week ago
Claude 606fc45582
Fix segfault in gnc_gsettings_get_settings_obj when GSettings schemas are not installed
2 weeks ago
Simon Arlott 6be4c3c363
Support for enums as GtkRadioButton preferences
1 year ago
John Ralls a389e0a32e Bug 799092 - GnuCash 5.4 leaves background process running on exit
2 years ago
Christopher Lam d287c30145 [gsettings.cpp] use std::unordered_map which releases on shutdown
3 years ago
Christopher Lam 9dfe223fc7 [gsettings.cpp] g_settings_schema_unref after g_object_get
3 years ago
Christopher Lam b331ec974e [gnc-gsettings.cpp] plug a char* leak
3 years ago
Geert Janssens 8a23304283 GncGSettings - use bool as return type for static function
3 years ago
Geert Janssens 64329414e9 GncGSettings - cosmetic: NULL->nullptr
3 years ago
Geert Janssens 32ae47980c GncGSettings - some minor cleanups
3 years ago
Geert Janssens 03aff5642a GncGSettings - rework signal handler manipulation
3 years ago
Geert Janssens 4761aa414c GncGSettings - reduce code duplication
3 years ago
Geert Janssens edab41f23a GncGSettings - basic c++ cleanups
3 years ago
Robert Fewell a1d17518a8 Add a function to dump the schema entries when in debug
3 years ago
Robert Fewell 2306ef8ca6 On a new install, the gnc_gsettings_version_upgrade
3 years ago
Robert Fewell 57f874bd3f Change the behaviour of the gseettings migration
3 years ago
Robert Fewell ac0532bf5c Change the alignment of a function in gnc_gsettings.cpp
3 years ago
Robert Fewell 308c609904 Fix comment typo in gnc-gsettings.cpp
3 years ago
Geert Janssens 286e1afa41 Bug 798749 - Fails to read gsettings on startup
3 years ago
Richard Cohen ea2d3be217 Remove some unused variables with obviously no side effects
3 years ago
Richard Cohen 1cec0cb3f3 Use internal extern "C" { ... } for C++
3 years ago
Geert Janssens 98251d59a6 Bug 798672 - Preferences are not saved nor loaded, ERROR <GLib-GIO> g_settings_new_full: assertion 'schema != NULL' failed
3 years ago
Geert Janssens bdb06479e8 GSettings - fix GObject warning when old prefs-version is unset
4 years ago
Geert Janssens 09b3ce2382 Revert "Add structure to map migrated preferences to old ones"
4 years ago
Geert Janssens 806d0b3157 Revert "GSettings - make most of the api private"
4 years ago
Geert Janssens 1d4673ed2a Revert "GSettings - rework internal helper functions to use more C++"
4 years ago
Geert Janssens 24fa289952 GSettings - rework internal helper functions to use more C++
4 years ago
Geert Janssens 26b2d7ca78 GSettings - make most of the api private
4 years ago
Geert Janssens c6103a5c17 Add structure to map migrated preferences to old ones
4 years ago
Geert Janssens 9a465fc359 GSettings - add 'deprecate' and 'obsolete' conversions for user preferences
4 years ago
Geert Janssens 64576f7d27 GSettings - widen scope from 'migration' to 'transformation'
4 years ago
John Ralls 29e7b07ed3 Remove superflous schema_source left over from pasting.
4 years ago
John Ralls 8bfa5a63f2 [gsettings] Avoid crash from settings schema not being registered.
4 years ago
Geert Janssens 8ea52ae212 GSettings - run data model transations while setting up
4 years ago
Geert Janssens f1802b6fdf GSettings Upgrade - add code to migrate settings
4 years ago
Geert Janssens f21c7b6e90 GSettings - define old prefix and check settings for the presence of both prefixes while normalizing
4 years ago
Geert Janssens a203c5b2d5 GSettings - drop logic to relocate our settings
4 years ago
Geert Janssens d1113a4534 GSettings - build as cpp
4 years ago