Dieter Verfaillie
cd0cd95078
Introduce the UNINSTALLED_GLIB_SRCDIR environment variable
...
This makes it possible to avoid setting PYTHONPATH in
Makefile.am files.
https://bugzilla.gnome.org/show_bug.cgi?id=650763
2011-08-25 16:55:49 -04:00
Dieter Verfaillie
5391aae009
Introduce the UNINSTALLED_GLIB_BUILDDIR environment variable
...
This makes it possible to also use relative imports for
gdbus-codegen's config module.
https://bugzilla.gnome.org/show_bug.cgi?id=650763
2011-08-25 16:55:49 -04:00
Stef Walter
26548e05bb
Merge branch 'concurrent-cancellable'
2011-08-19 11:21:11 +02:00
Stef Walter
54579bf88f
gio: GCancellable can be used concurrently
...
* Update documentation to note that GCancellable can be used
concurrently by multiple operations.
* Add documentation to g_cancellable_reset that behavior is
undefined if called from within cancelled handler.
* Add test for multiple concurrent operations using the same
cancellable.
https://bugzilla.gnome.org/show_bug.cgi?id=656387
2011-08-19 11:13:37 +02:00
Ryan Lortie
0a4663343f
distcheck fixes
2011-08-15 21:01:23 -04:00
Simon McVittie
67cf3ea368
Add a stress-test for GDBusProxy in threads with no default main context
...
Destroying a GDBusProxy in a thread used to race with NameOwnerChanged
being delivered to the main context's thread (GNOME #651133 ).
Also, g_dbus_proxy_call_sync in a thread would race with NameOwnerChanged
being delivered to the main context's thread and rewriting the name_owner
(GNOME #656039 ).
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=656039
Bug-NB: NB#259760
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk >
Signed-off-by: David Zeuthen <davidz@redhat.com >
2011-08-15 12:50:04 -04:00
Stef Walter
0f99cfa882
GTlsDatabase and related objects
...
The database is an abstract object implemented by the various TLS
backends, which is used by GTlsConnection to lookup certificates
and keys, as well as verify certificate chains.
Also add GTlsInteraction, which can be used to prompt the user
for a password or PIN (used with the database).
https://bugzilla.gnome.org/show_bug.cgi?id=636572
2011-08-04 08:54:55 +02:00
Nicolas Dufresne
dbb78fe57d
Added TLS PEM parser unit test
2011-07-27 16:23:33 -04:00
David Zeuthen
b7f3638e5c
More gdbus-codegen fixed to build on non-Unix
...
https://bugzilla.gnome.org/show_bug.cgi?id=655148#c6
Signed-off-by: David Zeuthen <davidz@redhat.com >
2011-07-26 10:05:57 -04:00
Colin Walters
9053ad07ba
Fix a srcdir!=builddir issue, and export that we support it
...
Future jhbuild versions will consume the BUILD API and automatically
use a builddir, so mark us as supporting it.
2011-06-21 10:30:07 -04:00
Colin Walters
5ec6eafb0e
gdbus-codegen tests: Fix usage of top_srcddir
...
Based on a patch from Rico Tzschichholz.
2011-06-13 14:17:44 -04:00
David Zeuthen
f819aa5f17
gdbus-codegen: Fix build
...
See https://bugzilla.gnome.org/show_bug.cgi?id=651998 for details.
Signed-off-by: David Zeuthen <davidz@redhat.com >
2011-06-09 11:53:08 -04:00
Colin Walters
62072b2a04
gdbus codegen: Ensure PYTHONPATH is set correctly for srcdir != builddir
...
We need to pick up the Python files from the source directory, so set
PYTHONPATH.
2011-06-06 17:14:45 -04:00
David Zeuthen
723adbc2fe
Move gdbus-codegen example code and docs into separate directories
...
This avoids the generated types (e.g. ExampleAnimal, ExampleCat,
ExampleObject and ExampleObjectManagerClient) being referenced in the
core gio docs. This was requested by Matthias.
Signed-off-by: David Zeuthen <davidz@redhat.com >
2011-06-03 14:18:56 -04:00
Matthias Clasen
2fb57ff46f
Quiet down the build a bit
2011-05-28 14:29:08 -04:00
Matthias Clasen
d5d4659a60
Try to fix distcheck
2011-05-04 19:44:05 -04:00
David Zeuthen
58eb4da5c5
Fix build broken by previous commit
...
Signed-off-by: David Zeuthen <davidz@redhat.com >
2011-04-23 19:26:56 -04:00
David Zeuthen
b5b34fa2f2
gdbus-codegen: Include docs for generated code in the GIO docs
...
Signed-off-by: David Zeuthen <davidz@redhat.com >
2011-04-23 17:43:03 -04:00
David Zeuthen
76d3653721
gdbus-codegen: Add --c-generate-object-manager option + doc improvements
...
Signed-off-by: David Zeuthen <davidz@redhat.com >
2011-04-12 11:50:34 -04:00
David Zeuthen
8276d0e557
Spiff up the "Migrating to GDBus" docs a bit
...
Signed-off-by: David Zeuthen <davidz@redhat.com >
2011-04-12 09:28:09 -04:00
David Zeuthen
e5525f1010
GDBus: Add ObjectManager example
...
Signed-off-by: David Zeuthen <davidz@redhat.com >
2011-04-11 16:35:14 -04:00
David Zeuthen
4dffec8906
Dist test-codegen.xml
...
Signed-off-by: David Zeuthen <davidz@redhat.com >
2011-04-11 14:59:19 -04:00
David Zeuthen
9c1941c07f
GDBus: Add test-suite for new ObjectManager and gdbus-codegen(1) code
...
Signed-off-by: David Zeuthen <davidz@redhat.com >
2011-04-11 10:54:52 -04:00
Matthias Clasen
321682871b
Try harder to explain GApplicationCommandline
...
Trying to answer some of the questions in
https://bugzilla.gnome.org/show_bug.cgi?id=643468
2011-03-03 22:40:48 -05:00
Xavier Claessens
0a2d47b626
Add g_io_stream_splice_async/finish()
...
That function splice the output stream of both GIOStreams to the input stream
of the other GIOStream.
2010-12-13 17:36:12 +01:00
Christian Persch
57143e311d
Inherit gettext-domain from <schemalist>
...
When the <schema> doesn't have a 'gettext-domain' attribute, but
the <schemalist> does, use that one.
Bug #635640 .
2010-11-28 19:01:21 +01:00
Dan Winship
c20c2c0abd
Add pollable input/output streams
...
When interfacing with APIs that expect unix-style async I/O, it is
useful to be able to tell in advance whether a read/write is going to
block. This adds new interfaces GPollableInputStream and
GPollableOutputStream that can be implemented by a GInputStream or
GOutputStream to add _is_readable/_is_writable, _create_source, and
_read_nonblocking/_write_nonblocking methods.
Also, implement for GUnixInput/OutputStream and
GSocketInput/OutputStream
https://bugzilla.gnome.org/show_bug.cgi?id=634241
2010-11-26 15:08:08 -05:00
Matthias Clasen
c34bcefa78
Add an example of using GApplication with actions
2010-10-30 22:19:02 -04:00
Matthias Clasen
b0e45c9799
Add another example for commandline handling
...
Also, clarify some aspects in the documentation.
2010-10-23 11:59:29 +02:00
Matthias Clasen
499d9ba8b8
Add some examples to the GApplication docs
2010-10-23 02:31:16 +02:00
Dan Winship
87d06109ab
GSocket: set protocol when using g_socket_new_from_fd()
...
Otherwise, attempting to create a GSocketConnection from the socket
will likely return the wrong type, since the protocol won't match any
of the registered subtypes.
Also add the start of a GSocket test program (from davidz).
https://bugzilla.gnome.org/show_bug.cgi?id=627171
2010-10-22 14:42:41 -04:00
Ryan Lortie
2854c373e1
GApplication test case
2010-10-19 01:16:46 +02:00
Ryan Lortie
a7923a4aa3
new GApplication implementation
2010-10-19 01:16:46 +02:00
David Zeuthen
1f6a9f1e2d
GDBus: Move "slow" connection test cases into separate test program
...
Signed-off-by: David Zeuthen <davidz@redhat.com >
2010-09-23 15:49:04 -04:00
David Zeuthen
0b74058fa3
Add work-around for Bug 627724
...
The root problem is with GObject - for now, just work around it in
GDBus. Also include a test-case. See
https://bugzilla.gnome.org/show_bug.cgi?id=627724
for more information.
Signed-off-by: David Zeuthen <davidz@redhat.com >
2010-09-10 16:23:14 -04:00
David Zeuthen
67a00658ea
GDBusMessage: Make it possible to lock and copy messages
...
Don't actually use this yet as that will require a couple of
modifications to the filter function signature. This is part of the
bug-fix for
https://bugzilla.gnome.org/show_bug.cgi?id=624546#c8
Signed-off-by: David Zeuthen <davidz@redhat.com >
2010-09-09 12:00:32 -04:00
Nicolas Dufresne
6b1d851cc5
Implemented proxy sample code
...
Reviewed-by: Dan Winship <danw@gnome.org >
2010-08-19 16:32:36 -04:00
Ryan Lortie
8014e9c6e6
add testcase for GAction
...
fix some small bugs it found
2010-08-18 01:55:48 -04:00
David Zeuthen
d344ff9d67
Bug 626841 – Add test-case for non-socket GIOStream
...
Also fix a couple of bugs so it actually works.
https://bugzilla.gnome.org/show_bug.cgi?id=626841
Signed-off-by: David Zeuthen <davidz@redhat.com >
2010-08-13 14:01:36 -04:00
Ryan Lortie
b3b7ea8e22
Replace -I with $(glib_INCLUDES) and friends
...
Stop using ad hoc -I in all of our Makefile.am. Use the new variables
instead.
2010-08-06 13:10:34 -04:00
paul
9f6faaffb6
Add $(top_builddir)/glib to includes
...
This is required to find glibconfig.h during srcdir != builddir builds
2010-08-05 09:08:34 -04:00
Matthias Clasen
c6b0507167
Reenable unix-streams test
2010-07-30 19:51:20 -04:00
Matthias Clasen
a8f83ea834
Add tests for GNetworkAddress
2010-07-30 19:51:17 -04:00
Matthias Clasen
9fc3c980cc
Add some volume monitor tests
...
Although not much of this is easily testable.
2010-07-30 19:51:17 -04:00
David Zeuthen
62a1ccf526
Bug 618882 – No way to ensure that a message is sent
...
Add g_dbus_connection_flush{_finish,sync}().
https://bugzilla.gnome.org/show_bug.cgi?id=618882
Signed-off-by: David Zeuthen <davidz@redhat.com >
2010-07-07 15:03:03 -04:00
Matthias Clasen
aec652677b
Add some buffered output tests
2010-07-05 23:13:16 -04:00
Matthias Clasen
dea042b855
Misc test additions
2010-07-05 03:09:36 -04:00
Matthias Clasen
c915c68b6b
Add the new tests to the correct variable
2010-07-04 23:40:42 -04:00
Matthias Clasen
14db75381e
Add some contenttype tests
2010-07-04 22:27:01 -04:00
Matthias Clasen
aaba9276f7
Add tests for GIcon
2010-07-03 03:31:07 -04:00