- Oct 18, 2010
-
-
José Alburquerque authored
* glib/glibmm/ustring.cc: Restore the last block that was accidentally removed by the optional API #ifdef removal script. There were three. Two were restored (GNOME bug #622030), but one (final one) was not. This commit does that, restoring the file to its original condition without the optional API #ifdefs.
-
- Jul 28, 2010
-
-
Murray Cumming authored
* glib/src/keyfile.ccg: The result variable was not used, because this throws an exception instead.
-
Murray Cumming authored
-
Murray Cumming authored
-
José Alburquerque authored
* gio/src/dbusmethodinvocation.{ccg,hg}: * gio/src/filelist.am: Add source files for Gio::DBusMethodInvocation. * tools/m4/convert_gio.m4: Add necessary conversions. * gio/src/unixfdlist.hg: Add missing @newin{}'s. * gio/src/dbusauthobserver.hg: Typo.
-
- Jul 27, 2010
-
-
Murray Cumming authored
-
José Alburquerque authored
* gio/src/dbusmessage.ccg: * gio/src/dbusmessage.hg: Wrap create_method_error_literal(), get_body(), set_body(), [get|set|unset]_unix_fd_list(). Reordered method declarations according to the C declarations. Added class and method docs. * tools/m4/convert_gio.m4: Added conversions for new methods above.
-
José Alburquerque authored
* gio/src/unixfdlist.ccg: * gio/src/unixfdlist.hg: Remove redundant paragraph in class docs. (peek_fds): Made return const to emphasize that the file descriptors should not be modified. (steal_fds): Remove unnecessary const_cast<>.
-
Murray Cumming authored
* glib/glibmm/miscutils.h: Add an include of enums.h
-
- Jul 26, 2010
-
-
José Alburquerque authored
* gio/src/unixfdlist.hg (create): Add @param and @return to the method docs for clarity.
-
José Alburquerque authored
* gio/src/unixfdlist.ccg: * gio/src/unixfdlist.hg: * gio/src/filelist.am: Add the UnixFDList source files. * gio/src/dbusserver.hg (DBusServer): Add a description line to the class header.
-
José Alburquerque authored
* gio/src/dbusserver.ccg (DBusServer): Use the _CONSTRUCT macro in the constructor so that its instances are constructed properly.
-
José Alburquerque authored
* gio/src/dbusserver.ccg: * gio/src/dbusserver.hg: * gio/src/filelist.am: Add the new sources for Gio::DBusServer. * tools/extra_defs_gen/generate_defs_gio.cc: * gio/src/gio_signals.defs: Add the GDBusServer type to the extra defs generation utility and regenerate the signal defs file to get the signals and properties of GDBusServer. * tools/m4/convert_gio.m4: Add conversions for GDBusServer. Alphabetize the enum conversions. * gio/src/dbusauthobserver.hg: Typos.
-
- Jul 25, 2010
-
-
Murray Cumming authored
* gio/src/dbusauthobserver.hg: authorize_authenticated_peer signal: Use no_default_handler, so we don't try to access the (totally private) GDBusAuthObserverClass struct.
-
- Jul 23, 2010
-
-
José Alburquerque authored
* gio/src/dbusauthobserver.[hg|ccg]: * gio/src/filelist.am: Add the source files, this time making sure the parameters in the methods and signals are constant because this class is only meant to observe authentications of remote peers and tell if the connection is valid based on the parameters. It doesn't look like the parameters should be changed in the signal handlers. * gio/src/gio_signals.defs: * tools/extra_defs_gen/generate_defs_gio.cc: Add changes not included in the addition of the Gio::DBusAuthObserver API. * tools/m4/convert_gio.m4: Fix the conversions so that they convert from const parameters to non-const for the C API.
-
Murray Cumming authored
* gio/src/settings.hg: * glib/src/variant.hg: Remove extra ;s.
-
* gio/src/dbusauthobserver.ccg: * gio/src/dbusauthobserver.hg: * gio/src/filelist.am: Add the source files of Gio::DBusAuthObserver and add them to Add Gio::DBusAuthObserver. * gio/src/dbusauthobserver.ccg: * gio/src/dbusauthobserver.hg: * gio/src/filelist.am: Add the source files of Gio::DBusAuthObserver and add them to the compile list. * tools/extra_defs_gen/generate_defs_gio.cc: * gio/src/gio_signals.defs: Add the G_TYPE_DBUS_AUTH_OBSERVER to the extra defs gio utility and regenerate the signals defs file with the utility to get the signals and properties of GDBusAuthObserver. * tools/m4/convert_gio.m4: Add the necessary conversions.the compile list. * tools/extra_defs_gen/generate_defs_gio.cc: * gio/src/gio_signals.defs: Add the G_TYPE_DBUS_AUTH_OBSERVER to the extra defs gio utility and regenerate the signals defs file with the utility to get the signals and properties of GDBusAuthObserver. * tools/m4/convert_gio.m4: Add the necessary conversions.
-
- Jul 22, 2010
-
-
Murray Cumming authored
* gio/src/dbusmessage.[hg|ccg]: Add get_header(), using a VariantBase output parameter, and set_header(). * gio/src/settings.[hg|ccg]: get_value(): Make this const too. * tools/m4/convert_gio.m4: Added conversions.
-
Murray Cumming authored
* glib/src/variant.[hg|ccg]: VariantBase: Added init(), like Value::init(). This just changes the gobject_, with appropriate unref and ref. * gio/src/settings.[hg|ccg]: get_value(): Use an output parameter for the VariantBase, instead of a return value, as we do for Value, allowing the caller to use a derived (templated) type. * examples/settings/settings.cc: Show how Variant<> can be used.
-
Murray Cumming authored
* examples/settings/settings.cc: Remove the unnecessary use of Glib::ustring::raw().
-
Murray Cumming authored
-
Murray Cumming authored
* glib/src/variant.[hg|ccg]: ValueBase: Wrap some simple functions with _WRAP_METHOD(). * glib/src/variant_basictypes.h.m4: Syntax changes, and make the castitem constructor explicit. * tools/m4/convert_gio.m4: Added necessary conversion. We need to decide how to use this in get*() methods and add some tests.
-
Murray Cumming authored
* gio/src/dbusmessage.hg: Wrapped the simple functions. * tools/m4/convert_gio.m4: Added necessary conversions.
-
Murray Cumming authored
* gio/src/dbusmessage.hg: Added create_signal(), create_method_call() and create_method_reply(). * tools/m4/convert_gio.m4: Added necessary conversion.
-
- Jul 21, 2010
-
-
Murray Cumming authored
* gio/src/gio_methods.defs: Regenerated. * gio/src/filelist.am: * gio/src/dbusmessage.[hg|ccg]: New wrapper for GMessage, with no methods yet. * gio/src/dbusconnection.hg: Added send_message(). * tools/m4/convert_gio.m4: Added necessary conversions. * gio/src/credentials.hg: Uncommented out some methods now that the .defs are correct. * gio/src/socket.hg: Added get_credentials().
-
Murray Cumming authored
* gio/src/gio_enums.defs: Regenerated. * gio/src/filelist.am: * gio/src/credentials.[hg|ccg]: New wrapper for GCredentials. * gio/src/dbusconnection.hg: Added get_peer_credentials().
-
- Jul 15, 2010
-
-
Murray Cumming authored
* gio/src/gio_methods.defs: * gio/src/gio_unix_functions.defs: * glib/src/glib_functions.defs: * glib/src/gobject_functions.defs: Regenerate. * glib/src/gdbusconnection.[hg|ccg]: Made close() async, adding close_finish() and close_sync(). Added flush(), flush_finish() and flush_sync().
-
- Jun 29, 2010
-
-
Murray Cumming authored
* gio/src/gio_enums.defs: Regenerated with tools/enums.pl. * gio/src/filelist.am: * gio/src/dbusconnection.[hg|ccg]: Added DBusConnection with just the simplest methods. I might put this in a GDBus namespace, and maybe even in a separate library.
-
- Jun 24, 2010
-
-
Murray Cumming authored
* glib/src/variant.[hg|ccg]: Use CLASS_OPAQUE_COPYABLE() instead of _CLASS_GENERIC() to avoid writing some stuff manually. This seems to be OK. Do not include the C header in our .h file. * tools/m4/convert_gio.m4: Added GVariantBase conversions. * gio/src/settings.hg: Added get_value() and set_value().
-
- Jun 22, 2010
-
-
Murray Cumming authored
* glib/src/glib_functions.defs: Remove bad definitions of function-pointers that cause annoying warnings during the build.
-
- Jun 20, 2010
-
-
José Alburquerque authored
* glib/src/glib_functions.defs: Regenerate to get the GVariant functions. * glib/src/variant.ccg: * glib/src/variant.hg: * glib/src/filelist.am: Add the new .hg and .ccg files and mention them. Wrapping is now done using gmmproc instead of handwriting the methods. * glib/glibmm/variant.cc: * glib/glibmm/variant.h: * glib/glibmm/filelist.am: Remove these files and their mentions because now they are written as .hg and .ccg files. * glib/src/variant_basictypes.h.m4: Add docs.
-
- Jun 19, 2010
-
-
* glib/glibmm/ustring.cc: Add back an #else block that was probably lost while automatically removing the no-exceptions #if/#else code.
-
José Alburquerque authored
* glib/glibmm/variant.cc: * glib/glibmm/variant.h: * glib/src/variant_basictypes.cc.m4: * glib/src/variant_basictypes.h.m4: Add an initial implementation of of the Glib::Variant<> classes which wrap glib's GVariant API.
-
- Jun 18, 2010
-
-
Murray Cumming authored
-
Murray Cumming authored
* gio/src/settingsbackend.[hg|ccg]: Add this interface. Notice the comment about the semi-private get_type() function. * gio/src/filelist.am: Mention the new files. * gio/src/settings.hg: Adapt to the changed glib API, using a SettingsBackend backend instead of a string context.
-
- Jun 08, 2010
-
-
Murray Cumming authored
* glib/src/enums.[hg|ccg]: Added this, as a place to put generated enums to use in non-generated files. * glib/glibmm/miscutils.[h|cc]: get_user_special_dir(): Change the GUserDirectory parameter to a Glib::UserDirectory. This fixes bug #581304 (David King)
-
Murray Cumming authored
* glib/src/keyfile.[hg|ccg]: load_from_file(), load_from_data(), load_from_data_dirs(): Change the bool return type to void because they throw exceptions anyway. This fixes bug #613477 (Rob)
-
Murray Cumming authored
* tools/m4/list.m4: Removed this file. * tools/m4/filelist.am: Don't mention it here.
-
Murray Cumming authored
-
Murray Cumming authored
* glib/glibmm/streamiochannel.[h|cc]: Put #ifndef GLIBMM_DISABLE_DEPRECATED around this long-since-deprecated class.
-