summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2.28.02.28.0Murray Cumming2011-04-053-1/+25
|
* DBusServer: Add overview documentation.Murray Cumming2011-04-052-0/+15
| | | | | * gio/src/dbusserver.hg: Based on my documentation patch for GDBusServer in bug #646425.
* Update a TODOMurray Cumming2011-04-041-1/+2
|
* ThemedIcon: Remove a property as suggested by a TODO.Murray Cumming2011-04-042-6/+14
| | | | | | * gio/src/themedicon.hg: The name property is write-only and construct-only so we should not have any API for it. Noticed by Kjell Ahlstedt.
* Gio::Settings: Really add list_schemas().Murray Cumming2011-04-044-18/+38
| | | | | | | | * gio/src/gio_others.defs: Add g_settings_list_schemas(), though we do not actually use this defnition yet. See below. This must be hand-written because h2defs.py gets confused by the return type. * gio/src/settings.[hg|ccg]: list_schemas(): Make this static and hand-code it because gmmproc is confused by the declaration when it is static.
* Fixed the ChangeLogMurray Cumming2011-04-021-0/+1
|
* Gio::DBus examples: Renamed one and removed one.Murray Cumming2011-04-024-343/+17
| | | | | | | | | | | | * examples/dbus/server.cc: Rename this to server_without_bus.cc to make its purpose clearer. This is not the common case. It is for private peer-to-peer connections not involving the usual session or system buses, or any bus for that matter. Meaning, for instance, that it does not assign names or provide introspection, I think. * examples/dbus/peer.cc: Removed this because it seems like just a complicated version of the server_without_bus example, and this is not in sync with the C versoin. Well, we should probably add a client for the server example.
* Fix compiler warnings.Murray Cumming2011-04-022-2/+2
|
* Slight cleanup to D-Bus example code.Murray Cumming2011-04-023-72/+9
| | | | | | | * examples/dbus/server.cc: * examples/dbus/session_bus_service.cc: Remove code to handle the now non-existant GetStdOut D-Bus method. That code was left over from an earlier version of an example.
* Gio::DBus::NodeInfo::lookup_interface(): Add a method overload with no name.Murray Cumming2011-04-026-3/+50
| | | | | | | | | | | * gio/src/dbusintrospection.[hg|ccg]: Add a lookup_interface() method overload that just returns the first interface, avoiding the need to specify the name when there is only one interface. The C API will not do this itself: See bug #646417. * examples/dbus/peer.cc: * examples/dbus/server.cc: * examples/dbus/session_bus_service.cc: Use the new method to simplify the code slightly.
* Gio::DBus::Connection: Added a register_method() overload with no vtable.Murray Cumming2011-04-023-2/+46
| | | | | * gio/src/dbusconnection.[hg|ccg]: This makes sense now that the C API's documentation was improved in bug #646419.
* Added a simple example of a D-Bus session bus service.Murray Cumming2011-04-015-9/+236
| | | | | | | * examples/dbus/session_bus_service.cc: This uses Gio::DBus::own_name(). * examples/Makefile.am: Mention the new test. * examples/dbus/server.cc: Mention the return (out) value for the GetTime method here too, and catch an exception.
* Gio::DBus: Minor API changes.Murray Cumming2011-04-0111-112/+165
| | | | | | | | | | | | | | | | | | | | | * gio/src/dbusconnection.[hg|ccg]: register_object(), register_subtree(): Take the VTable by reference, not pointer. register_object() can take a NULL but that needs documentation (see the bug mentioned) and a future method overload. * gio/src/dbusmethodinvocation.ccg: get_parameters(): Return a VariantContainerBase instead of taking a VariantBase output parameter, because this is always a tuple. Well, I think so: See the bug mentioned. * gio/src/dbusmethodinvocation.hg: return_value(): Take a VariantContainerBase instead of a VariantBase, because this is always a tuple. return_gerror(), return_error_literal(): Rename them both to return_error(). * glib/src/variant.hg: VariantContainerBase::create_tuple(): Add a method overload that takes a single VariantBase, for convenience, so that applications don't need to create a single-item vector. * examples/dbus/busserver.cc: Adapted. * examples/dbus/busserver.cc: Rename to server.cc and actually implement it, though I am currently confused about whether this server's object should be available on an existing bus. Maybe we should use Gio::DBus::own_name() instead of Gio::DBus::Server.
* Code style change.Murray Cumming2011-04-011-2/+2
|
* Rename a D-Bus client example.Murray Cumming2011-04-013-3/+10
| | | | | * examples/dbus/userbus.cc: Rename to client_bus_listnames.cc to make it more obvious what it does.
* Code style improvementMurray Cumming2011-04-011-5/+5
|
* DBusProxy: Rename type_map_changed_properties to MapChangeProperties.Murray Cumming2011-03-313-5/+12
| | | | | * gio/src/dbusproxy.[hg|ccg]: Use our normal convention for container typedefs.
* Use the latest mm-common.Murray Cumming2011-03-303-8/+9
| | | | | | * configure.ac: Require the latest version. * doc/Makefile.am: Don't specify the mm-common .pl files to distribute because mm-common now does this automatically.
* 2.27.99.22.27.99.2Murray Cumming2011-03-293-1/+20
|
* Variant: Rename get(index) to get_child(index).Murray Cumming2011-03-296-20/+33
| | | | | | | | | | | * glib/src/variant.[hg|ccg]: Rename all get() methods that return children to get_child() to make the API clearer and to avoid ambiguity with get() methods that return the underlying type instead. * examples/dbus/peer.cc: * examples/dbus/userbus.cc: * tests/glibmm_variant/main.cc: Adapted. https://bugzilla.gnome.org/show_bug.cgi?id=644207#c7 (Yannick Guesnet)
* FileUtils: Correct my previous commit.Murray Cumming2011-03-293-5/+10
| | | | | * glib/src/fileutils.ccg: * glib/src/iochannel.ccg: Do not create a ustring instead of a std::string.
* Use the utility functions for creating strings.Murray Cumming2011-03-299-15/+30
| | | | | | | | | | | | | * gio/src/dbuserrorutils.ccg: * gio/src/dbusownname.ccg: * gio/src/dbusutils.ccg: * gio/src/dbuswatchname.ccg: * glib/src/fileutils.ccg: * glib/src/iochannel.ccg: * glib/src/markup.ccg: * glib/src/variant.ccg: Use convert_const_gchar_ptr_to_ustring() and convert_const_gchar_ptr_to_stdstring(), simplifying code and sometimes avoiding crashes with NULL const char*.
* Variant<std::string>::get(): Correct my custom implementation.Murray Cumming2011-03-292-1/+7
| | | | * glib/src/variant.ccg: Really call g_variant_get_bytestring().
* ChangeLog improvementMurray Cumming2011-03-291-0/+1
|
* Variant: Move constructor definitions into the .cc file.Murray Cumming2011-03-293-50/+97
| | | | | | * glib/src/variant.[hg|ccg]: The implementations of constructors for template specializations do not need to be inline. This lets us fix them later without requiring recompilation of applications.
* Variant: Really declare the cast_dyamic() specialization for ustring.Murray Cumming2011-03-294-19/+151
| | | | | | | | * glib/src/variant.[hg|ccg]: Mention the specialization in the .h file instead of just in the .ccg file. Also write a custom Variant<std::string>::get() implementation because this can be used for types other than just bytestring. * tests/glibmm_variant/main.cc: Add tests for the new casts.
* Whitespace changesMurray Cumming2011-03-291-12/+12
|
* ArrayHandle: Make it compilable with MSVC 2005, 2008, 2010.Krzesimir Nowak2011-03-292-43/+60
| | | | | | * glib/glibmm/arrayhandle.h: Put operator std::container methods definitions inside class template definition. Also added decrementation operators for ArrayHandleIterator for MSVC 2005.
* Really correct the ChangeLogMurray Cumming2011-03-281-0/+9
|
* Correct the ChangeLogMurray Cumming2011-03-281-5/+2
|
* VariantType: Capitalize the standard types.Murray Cumming2011-03-283-15/+10
| | | | | | | * glib/src/varianttype.[hg|ccg]: Use, for instance VARIANT_TYPE_STRING instead of VariantTypeString. This seems more appropriate for a constant and is the style used by gtkmm's STOCK_* items, which this is based on. * glib/src/variant.ccg: Adapt.
* VariantType: Capitalize the standard types.Murray Cumming2011-03-284-57/+66
| | | | | | | * glib/src/varianttype.[hg|ccg]: Use, for instance VARIANT_TYPE_STRING instead of VariantTypeString. This seems more appropriate for a constant and is the style used by gtkmm's STOCK_* items, which this is based on. * glib/src/variant.ccg: Adapt.
* Variant: Add cast_dynamic<> specializations for strings.Murray Cumming2011-03-283-1/+66
| | | | | | | | * glib/src/variant.[hg|ccg]: Add cast_dynamic() specializations for Vector<std::string> and Vector<Glib::ustring>, because this type seems appropriate for multiple types. For instance, see http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#g-variant-get-string Thanks to Povietkin Konstantin.
* 2.27.99.12.27.99.1Murray Cumming2011-03-273-1/+8
|
* Gio::DBus*: More use of VariantContainerBase.Murray Cumming2011-03-275-12/+25
| | | | | | | | | | * gio/src/dbusconnection.hg: * gio/src/dbusinterfacevtable.hg: Correct the documentation. * gio/src/dbusproxy.[hg|cgg]: call(): Take a VariantContainerBase instead of a VariantBase. signal: Provide a VariantContainerBase instead of a VariantBase, though this is not documented as necessarily being a tuple, though it is multiple values.
* Avoid use of NULL in C++Murray Cumming2011-03-272-2/+2
|
* Balanced Tree: Clean up the documentation.Murray Cumming2011-03-272-117/+96
| | | | * glib/src/balancedtree.hg: Use doxygen syntax.
* Gio::DBus: Use VariantContainerBase for tuple Variants.Murray Cumming2011-03-258-79/+55
| | | | | | | | | | | | * gio/src/dbusconnection.[hg|ccg]: * gio/src/dbusproxy.ccg.[hg|ccg]: call_sync(), call(), call_finish(): Use VariantContainerBase, instead of VariantBase, for GVariants that are documented as being tuples. Because the type is known we can also use it as a simple return type instead of an output parameter. * tools/m4/convert_gio.m4: Added a necessary conversion. * examples/dbus/peer.cc: * examples/dbus/userbus.cc: Adapted. These already correctly assumed that the type should be VariantContainerBase.
* 2.27.992.27.99Murray Cumming2011-03-243-1/+16
|
* Remove Gio::Application and friends for now because they are not finished.Murray Cumming2011-03-249-658/+10
| | | | | | | | * gio/src/actiongroup.[hg|ccg]: * gio/src/application.[hg|ccg]: * gio/src/applicationcommandline.[hg|ccg]: Removed these temporarily because we removed Gtk::Application temporarily from gtkmm. See http://mail.gnome.org/archives/gtkmm-list/2011-March/msg00062.html
* Regenerate the XML for the C API documentation.gapplicationMurray Cumming2011-03-243-107/+176
| | | | | * gio/src/gio_docs.xml: * glib/src/glib_docs.xml: Regenerated with docextract_to_xml.py.
* Gio: Remove SettingsBackend.Murray Cumming2011-03-246-99/+20
| | | | | | | | | | | * gio/src/settingsbackend.[hg|ccg]: Remove these because we do not know yet if implementing GSettings backends is useful or encouraged, and our wrapper is unimplemented, requiring an ABI break to fix it when adding the virtual methods. * gio/src/filelist.am: Remove mention of the files. * gio/src/settings.hg: Remove use of SettingsBackend here too. Unfortunately this might have been slightly useful but we cannot provide this API without freezing a SettingsBackend API.
* Minor comment changes.Murray Cumming2011-03-243-5/+13
|
* Another docs fix.Murray Cumming2011-03-241-4/+4
|
* More minor documentation corrections.Murray Cumming2011-03-249-24/+35
| | | | | | | | | | | * gio/src/dbusauthobserver.hg: * gio/src/dbusconnection.hg: * gio/src/dbusmessage.hg: * gio/src/dbusmethodinvocation.hg: * gio/src/dbusproxy.hg: * gio/src/dbusserver.hg: * gio/src/dbussubtreevtable.hg: * glib/src/varianttype.hg: More fixes since the change from DBus* to DBus::.
* Documentation: Change DBus to D-Bus.Murray Cumming2011-03-242-6/+13
| | | | | * glib/src/varianttype.hg: Use the correct name for D-Bus. I made the same change in the C documentation.
* Variant: Improved the documentation, based on the C documentation.Murray Cumming2011-03-242-20/+68
| | | | | * glib/src/variant.hg: Also changed two methods to take std::string by const &.
* Avoid a tarball dependency on mm-common.Murray Cumming2011-03-243-1/+22
| | | | | | | * configure.ac: Add a call to MM_CONFIG_DOCTOOL_DIR() telling it to copy the files locally and use them from there. * docs/Makefile.am: Dist the copied files, so that the build does not try to use the versions installed by mm-common.
* 2.27.982.27.98Murray Cumming2011-03-233-1/+14
|
* Gio::DBus::InterfaceVTable: Make the tuple clearer.Murray Cumming2011-03-233-2/+14
| | | | | | | | * gio/src/dbusinterfacevtable.[hg|ccg]: SlotInterfaceMethodCall: Change the VariantBase type to a VariantContainerBase, because this is a tuple, so people should get the children. This makes it more obvious. DBusInterfaceVTable_MethodCall_giomm_callback(): Adapt. Suggested by Michael Edwards.