summaryrefslogtreecommitdiff
path: root/gio/tests/gdbus-example-objectmanager-server.c
Commit message (Collapse)AuthorAgeFilesLines
* Rework the build system for a new tests approachRyan Lortie2013-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Perform a substantial cleanup of the build system with respect to building and installing testcases. First, Makefile.decl has been renamed glib.mk and substantially expanded. We intend to add more stuff here in the future, like canned rules for mkenums, marshallers, resources, etc. By default, tests are no longer compiled as part of 'make'. They will be built when 'make check' is run. The old behaviour can be obtained with --enable-always-build-tests. --disable-modular-tests is gone (because tests are no longer built by default). There is no longer any way to cause 'make check' to be a no-op, but that's not very useful anyway. A new glibtests.m4 file is introduced. Along with glib.mk, this provides for consistent handling of --enable-installed-tests and --enable-always-build-tests (mentioned above). Port our various test-installing Makefiles to the new framework. This patch substantially improves the situation in the toplevel tests/ directory. Things are now somewhat under control there. There were some tests being built that weren't even being run and we run those now. The long-running GObject performance tests in this directory have been removed from 'make check' because they take too long. As an experiment, 'make check' now runs the testcases on win32 builds, by default. We can't run them under gtester (since it uses a pipe to communicate with the subprocess) so just toss them in TESTS. Most of them are passing on win32. Things are not quite done here, but this patch is already a substantial improvement. More to come.
* Remove g_type_init() callsRyan Lortie2012-10-161-2/+0
| | | | | | | | | Very many testcases, some GLib tools (resource compiler, etc) and GApplication were calling g_type_init(). Remove those uses, as they are no longer required. https://bugzilla.gnome.org/show_bug.cgi?id=686161
* GDBusObjectManagerServer: Allow setting :connection propertyDavid Zeuthen2011-05-041-1/+4
| | | | | | | | | | | | | .. and add a C setter to do this. Also make the C getter return a reference since the property may be set from another thread. Also change the constructor to _not_ take a GDBusConnection since this is something you almost always want to do _after_ creating it. The API/ABI break is fine as there has never been a GLib release with this type. https://bugzilla.gnome.org/show_bug.cgi?id=648959 Signed-off-by: David Zeuthen <davidz@redhat.com>
* gdbus-codegen: Generate GDBusObject{,Proxy,Skeleton} subtypesDavid Zeuthen2011-04-251-5/+5
| | | | Signed-off-by: David Zeuthen <davidz@redhat.com>
* GDBus: Use Skeleton instead of StubDavid Zeuthen2011-04-131-6/+6
| | | | | | | | After some brainstorming with Simon, see https://bugzilla.gnome.org/show_bug.cgi?id=647577#c8 Signed-off-by: David Zeuthen <davidz@redhat.com>
* Spiff up the "Migrating to GDBus" docs a bitDavid Zeuthen2011-04-121-8/+26
| | | | Signed-off-by: David Zeuthen <davidz@redhat.com>
* GDBus: Add ObjectManager exampleDavid Zeuthen2011-04-111-0/+141
Signed-off-by: David Zeuthen <davidz@redhat.com>