After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 99022 - Overhaul and extension of gconfmm
Overhaul and extension of gconfmm
Status: RESOLVED FIXED
Product: gconfmm
Classification: Other
Component: general
git master
Other other
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2002-11-19 19:10 UTC by Tassos Bassoukos
Modified: 2011-01-16 23:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
implementation of description. Patch. ~230Kbytes (217.93 KB, patch)
2002-11-19 20:13 UTC, Tassos Bassoukos
none Details | Review
gconfdefs.patch Updates gconf_methods.defs to 2.0 headers. (54.04 KB, patch)
2002-11-19 20:50 UTC, Tassos Bassoukos
none Details | Review
02 documentation generation patch. (10.33 KB, patch)
2002-11-19 21:12 UTC, Tassos Bassoukos
none Details | Review
Entry and Schema update patch; moved to m4-generation of methods. (25.29 KB, patch)
2002-11-19 21:31 UTC, Tassos Bassoukos
none Details | Review
04 API Additions to gconfmm. Includes SListHandle-based value list handling, a common setter interface and ChangeSet support. (18.13 KB, patch)
2002-11-19 21:57 UTC, Tassos Bassoukos
none Details | Review
05 Patch to update Gnome::Conf::Client and Value. (69.73 KB, patch)
2002-11-20 14:53 UTC, Tassos Bassoukos
none Details | Review

Description Tassos Bassoukos 2002-11-19 19:10:54 UTC
Attached is a huge-ish patch for gconfmm that:

1. Extends the API to include GConfChangeSet.
2. Moves value.*, entry.*, schema.* to the src
   subdirectory and uses the _WRAP macros to 
   reduce non-generated code.
3. Makes some changes in the API w.r.t. list passing,
   and uses Glib:SListHandle with specializations for that.
3. Implements documentation generation.
4. Documents most of the API.
5. Updates the defs files.

Please ha a look at it. The documentation could be improved, 
but I think that a first look would be appropriate, with
the comments that must follow :-)
Comment 1 Murray Cumming 2002-11-19 19:39:06 UTC
Why isn't this 3 or 4 separate patches?
Comment 2 Tassos Bassoukos 2002-11-19 20:13:01 UTC
Created attachment 12407 [details] [review]
implementation of description. Patch. ~230Kbytes
Comment 3 Tassos Bassoukos 2002-11-19 20:50:04 UTC
Created attachment 12409 [details] [review]
gconfdefs.patch Updates gconf_methods.defs to 2.0 headers.
Comment 4 Tassos Bassoukos 2002-11-19 20:59:53 UTC
The previous attachment patches gconf_methods.defs; the new version
has been generated with the CVS h2defs.py on all the client-side gconf
headers - private or backend-only headers have been excluded. Also,
the "is-constructor-of" property in method definitions has been
removed - GtkDefs.pm issued warnings.
Comment 5 Tassos Bassoukos 2002-11-19 21:12:26 UTC
Created attachment 12410 [details] [review]
02 documentation generation patch.
Comment 6 Murray Cumming 2002-11-19 21:15:49 UTC
gconfdefs.patch applied. Thanks.
Comment 7 Murray Cumming 2002-11-19 21:17:32 UTC
Re. 02 documentation generation patch:
We currently build documentation in the top-level gnomemm/gnomemm_docs
module, because that makes it easy to integrate all the gnomemm docs
together.
Comment 8 Tassos Bassoukos 2002-11-19 21:31:54 UTC
Created attachment 12411 [details] [review]
Entry and Schema update patch; moved to m4-generation of methods.
Comment 9 Tassos Bassoukos 2002-11-19 21:40:58 UTC
Regarding the documentation, I just noticed it too. Hum.

The previous patch moves the Entry and Schema class file within the
gconf/src subdirectory, and replaces most self-written methods with
macros. Please do not apply yet, the rest follows tomorrow.
Comment 10 Tassos Bassoukos 2002-11-19 21:57:46 UTC
Created attachment 12412 [details] [review]
04 API Additions to gconfmm. Includes SListHandle-based value list handling, a common setter interface and ChangeSet support.
Comment 11 Murray Cumming 2002-11-19 23:38:34 UTC
Re. Entry and Schema update patch:
Why submit a patch that you don't want me to apply?

Re. 04 API Additions to gconfmm:
I cannot apply this becaue it breaks the build:
In file included from setinterface.cc:22:
../../gconf/gconfmm/setinterface.h:53: parse error before `&'
Comment 12 Tassos Bassoukos 2002-11-20 14:53:20 UTC
Created attachment 12427 [details] [review]
05 Patch to update Gnome::Conf::Client and Value.
Comment 13 Tassos Bassoukos 2002-11-20 15:07:45 UTC
Above is final pach, it moves value.* to gconf/src and uses the m4
macros for generation of methods in Gcone::Conf::Client.

The 04 patch was a foobar by me - An include was missing from
setinterface.h. 

In tandem, patches 03, 04 and 05 provide all the code changes. 
If you do not want inter-dependent patches, lets close thi sbug and
start new ones, one for each patch.
Comment 14 Murray Cumming 2002-11-20 15:17:48 UTC
So it doesn't look like any of these outstanding patches will work.

Please do provide patches that can be applied individually without
breaking the build. And please do create separate bugzilla bugs.
Comment 15 Murray Cumming 2002-11-22 23:27:10 UTC
Dealt with in separate patches in other bugs.