gnome-control-center/shell
Georges Basile Stavracas Neto 083e7bdae6 object-storage: Introduce CcObjectStorage
CcObjectStorage is a cache for GObjects. It is meant to
store objects that are too expensive to be often created,
such as NMClient, GoaClient or D-Bus proxies.

CcObjectStorage has a very strict usage pattern. It is a
programming error to add an object that is already stored,
and so it is to retrieve an object that was not stored.
Stored objects are meant to be kept alive during the whole
lifetime of GNOME Settings, and CcObjectStorage takes a
reference on every stored object to achieve that.

If objects are destroyed while they are cached, it means
we have a reference mismanagement somewhere. In this sense,
CcObjectStorage will act Sam Sheepdog taking care of sneaky
wolves trying to steal their sheep-references.

Next patches will make various panels and objects around
GNOME Settings adopt this new API, and make sure they always
disconnect when destroyed.
2018-04-06 22:23:38 -03:00
..
appdata appdata: Add UserDocs & HighContrast kudos 2018-03-24 20:17:16 +00:00
completions completion: Drop shebang 2018-01-21 11:35:49 -02:00
cc-application.c object-storage: Introduce CcObjectStorage 2018-04-06 22:23:38 -03:00
cc-application.h application: Modernize codebase 2018-01-21 10:31:07 -02:00
cc-editable-entry.c editable-entry: use floats to avoid warning 2016-04-14 12:31:49 -07:00
cc-editable-entry.h Updated FSF's address 2014-01-29 11:27:38 +01:00
cc-hostname-entry.c hostname-entry: Modernize code 2018-01-21 10:48:56 -02:00
cc-hostname-entry.h hostname-entry: Modernize code 2018-01-21 10:48:56 -02:00
cc-object-storage.c object-storage: Introduce CcObjectStorage 2018-04-06 22:23:38 -03:00
cc-object-storage.h object-storage: Introduce CcObjectStorage 2018-04-06 22:23:38 -03:00
cc-panel-list.c shell: Swap Display and Printers positions 2018-01-30 11:12:41 -02:00
cc-panel-list.h shell: Include panel "keywords" in the row data 2017-11-28 11:04:38 +01:00
cc-panel-loader.c panel-loader: Update code style 2018-03-06 22:38:56 -03:00
cc-panel-loader.h shell: Revert "Let panels have their own commandline flags" 2015-07-16 11:49:34 +02:00
cc-panel.c shell: Add cc_panel_get_title_widget() vmethod 2016-11-04 23:26:23 +01:00
cc-panel.h shell: Add cc_panel_get_title_widget() vmethod 2016-11-04 23:26:23 +01:00
cc-shell-category-view.c Make HighContrast icons work 2015-03-08 22:24:10 -04:00
cc-shell-category-view.h shell: add a new settings shell 2010-05-19 11:11:26 +01:00
cc-shell-item-view.c shell: Fix leak in cc_shell_item_view_update_cells 2015-10-19 11:19:17 +02:00
cc-shell-item-view.h shell: Set wrap mode to "word" for the icon text 2010-12-13 14:03:10 +00:00
cc-shell-log.c Updated FSF's address 2014-01-29 11:27:38 +01:00
cc-shell-log.h Updated FSF's address 2014-01-29 11:27:38 +01:00
cc-shell-model.c shell: Make search results sorting smarter 2014-05-16 11:59:48 +02:00
cc-shell-model.h shell-model: Remove hidden category 2017-11-28 17:03:51 -02:00
cc-shell.c shell: Use GVariant to convey panel arguments instead of a string array 2013-04-03 18:02:10 +02:00
cc-shell.h shell: Use GVariant to convey panel arguments instead of a string array 2013-04-03 18:02:10 +02:00
cc-window.c window: Profile panel creation times 2018-04-06 22:23:38 -03:00
cc-window.h window: Remove unnecessary wrapper functions 2018-01-21 10:24:53 -02:00
gnome-control-center.desktop.in.in Add translator comments to .desktop files 2018-02-23 18:49:35 +01:00
gnome-control-center.gresource.xml panel-list: create a custom class to handle the sidelist 2016-06-14 12:16:43 -03:00
help-overlay.ui Add context to strings in the shortcut window 2016-02-01 19:07:16 +01:00
hostname-helper.c hostname-helper: don't read past '\0' 2017-05-05 15:01:28 +02:00
hostname-helper.h shell: Add PrettyHostname to SSID helper 2016-06-10 17:10:35 +02:00
hostnames-test.txt Add CcHostnameEntry widget and use it in the info panel 2013-01-14 18:06:20 +00:00
list-box-helper.c shell: Add GtkListBox/Row derived types that do single row activations 2017-08-09 19:27:08 +02:00
list-box-helper.h shell: Add GtkListBox/Row derived types that do single row activations 2017-08-09 19:27:08 +02:00
list-panel.sh shell: Ensure completion is sorted by default 2013-02-11 09:37:55 +01:00
main.c main: Use g_autoptr to simplify code 2018-01-21 10:37:29 -02:00
meson.build object-storage: Introduce CcObjectStorage 2018-04-06 22:23:38 -03:00
org.gnome.ControlCenter.gschema.xml shell: Add gettext-domain to the gschema 2018-02-06 16:56:28 +01:00
org.gnome.ControlCenter.service.in shell: Expose panel launching with DBus-activation 2013-04-03 18:09:15 +02:00
panel-list.ui shell: make Devices and Details rows selectable 2017-08-29 18:55:42 +02:00
ssids-test.txt shell: Add PrettyHostname to SSID helper 2016-06-10 17:10:35 +02:00
test-hostname.c shell: Add PrettyHostname to SSID helper 2016-06-10 17:10:35 +02:00
window.ui window: Move remaining UI declarations to GtkBuilder file 2018-01-21 10:24:53 -02:00