| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Bug 786824
|
| |
|
|
|
|
| |
This will make it easier to change the underlying RefPtr type.
|
|
|
|
| |
This seems to work.
|
|
|
|
| |
Use Glib::c_str_or_nullptr(s) instead of s.empty() ? nullptr : s.c_str().
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/dbusintrospection.hg:
* gio/src/dbusserver.ccg:
* gio/src/inputstream.hg:
* gio/src/menu.hg:
* gio/src/menuitem.hg:
* gio/src/outputstream.hg:
* glib/src/threads.hg: Deal with some TODOS, mostly
adding documentation based on the C documentation.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tools/m4/base.m4: Include <glibmm/ustring.h> and <sigc++/sigc++.h>
by default in header files of generated files in modules other than
glibmm. This should make compilation faster for those modules.
* gio/src/*.{h,cc}g:
* gio/giomm/slot_async.cc: Adjust includes according to the above
change.
Bug #662597
|
|
|
|
|
| |
* gio/src/dbusserver.[hg|ccg]: Uncomment the constructors now that bug #639478
has been fixed, though nobody has tried to use this yet.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/giomm.h:
* gio/src/dbus*.[hg|ccg]
* gio/src/error.hg: Rename all DBus* classes to remove the prefix, putting
them in a Gio::DBus namespace.
This required the use of the new _GMMPROC_EXTRA_NAMESPACE macro, to avoid
generating a confused wrap_init.cc.
Along the way, I removed unnecessary class predeclarations, instead including
the relevant header, because that is more convenient for users of the API.
* gio/src/dbuserror.[hg|ccg]: Renamed to dbuserrorutils.[hg|ccg] and
renamed the Error namespace to ErrorUtils, to avoid a clash with the
Gio::DBus::Error exception.
* gio/src/filelist.am:
* tools/m4/convert_gio.m4: Changed some conversions.
* examples/dbus/busserver.cc:
* examples/dbus/peer.cc:
* examples/dbus/userbus.cc: Adapted.
This is generally more organized. A prefix, instead of a namespace, looked
generally wrong to C++ coders.
|
|
|
|
|
| |
* gio/src/dbusserver.{ccg,hg}: Comment out the constructors because
the C new function does more than calling g_initable_new().
|
|
|
|
|
|
|
| |
* glib/src/variant.ccg: Use the existing variant_type() functions
where possible.
* gio/src/dbusserver.ccg: File bug #639478 about GDBusServer's new
function doing more than using g_initable_new().
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/dbusaddress.{ccg,hg}:
* gio/src/dbusconnection.{ccg,hg}:
* gio/src/dbusserver.{ccg,hg}: Use std::string instead of
Glib::ustring for address parameters just to avoid possible errors
since DBus address could be a filename path as the "Addresses"
section of the DBus introduction seems to imply:
http://www.freedesktop.org/wiki/IntroductionToDBus.
|
|
|
|
|
|
|
|
|
| |
* gio/src/dbusaddress.{ccg,hg}:
* gio/src/dbusconnection.{ccg,hg}:
* gio/src/dbusserver.{ccg,hg}:
* gio/src/dbusutils.{ccg,hg}: Use std::string instead of Glib::ustring
for guid's since std::string's API is probably adequate enough for
their use.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/dbusconnection.{ccg,hg}: Reorder the VariantBase
'parameters' parameter in the call*() methods to come after the
method_name parameter.
* gio/src/dbusintrospection.hg: Use refreturn for methods where the C
API does not automatically reference the return.
* gio/src/dbusserver.{ccg,hg}: Add non-observable constructors and
create() methods.
* glib/src/variant.{ccg,hg} (create_tuple): Renamed from create().
Write this method to be more specific for tuples (it's probably the
only case where this method might be used). Dealing with tuples still
feels awkward with the method. Maybe there's a better way.
* examples/Makefile.am:
* examples/dbus/peer.cc:
* examples/dbus/userbus.cc:
* examples/dbus/well-known-address-client.cc: Add the new
server/client peer example (named peer). The example crashes because
the C API seems to not deal with empty strings "" well, but at least
there is now an example. Making sure it runs well is necessary. Also
rename the previous example to userbus.cc.
|
|
|
|
|
|
|
|
|
| |
* gio/src/dbusmethodinvocation.hg: Remove the default constructor
because it probably will not be used (there is no create() method to
go along with it).
* gio/src/dbusserver.{ccg,hg} (create_sync): Use
g_dbus_server_new_sync() instead of the constructors because the C
function does more than call g_initable_new().
|
|
|
|
|
|
|
|
| |
* gio/src/initable.{ccg,hg} (init): Add a non-cancellable overload.
* gio/src/dbusconnection.ccg:
* gio/src/dbusproxy.ccg:
* gio/src/dbusserver.ccg: Adapt API to use non-cancellable version of
Gio::Initable::init().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gio/src/application.hg: Completed a TODO.
* gio/src/asyncinitable.hg (init_async): Refer to existing method docs
in the non-cancellable version instead of duplicating docs.
* gio/src/dbusconnection.{ccg,hg}: Add non-cancellable overloads of
the constructors and create methods instead of having a default null
Cancellable parameter. Renamed the synchronized create*() methods to
create*_sync().
(get): Added a non-cancellable overload as above.
* gio/src/dbusproxy.{ccg,hg}: Added non-cancellable overloads of the
constructors and create methods. Renamed the create*() synchronized
methods to create*_sync() as above.
(call): Added a non-cancellable overload as above.
* gio/src/dbusserver.{ccg,hg}: Add non-cancellable overloads of the
constructor and create method. Renamed the create() synchronized
method to create_sync() as above.
|
|
|
|
|
|
| |
* gio/src/dbusserver.{ccg,hg}: Reordered the parameters of the
constructor and create() method so that the flag is the last optional
parameter.
|
|
|
|
|
| |
* gio/src/dbusserver.ccg (DBusServer): Use the _CONSTRUCT macro in the
constructor so that its instances are constructed properly.
|
|
* 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.
|