David Zeuthen
e19734d6c3
gdbus-codegen: Add support for the org.freedesktop.DBus.Deprecated annotation
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-04-15 12:56:07 -04:00
David Zeuthen
febfc45fbe
GDBus: Support Ugly_Case and use org.gtk.GDBus.C.Name since it's C-only
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-04-15 08:24:40 -04:00
David Zeuthen
6ccca55752
GDBus: Use Skeleton instead of Stub
...
After some brainstorming with Simon, see
https://bugzilla.gnome.org/show_bug.cgi?id=647577#c8
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-04-13 16:33:51 -04:00
David Zeuthen
34a28f2f06
Add support for org.gtk.GDBus.Since annotation
...
And use this for a) documentation purposes; and b) to preserve C ABI
when an interface is extended. See
https://bugzilla.gnome.org/show_bug.cgi?id=647577#c5
for more details. Also add test cases for this.
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-04-12 16:17:28 -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
fc59b9d843
Update "Migrating to GDBus" chapter to take gdbus-codegen(1) into account
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-04-11 18:32:11 -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
David Zeuthen
982195b61c
GDBus: Use thread-default GMainContext in _g_assert_property_notify + friends
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-04-11 10:51:37 -04:00
David Zeuthen
0729260141
Silence a bunch of -Wunused-but-set-variable warnings
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-04-08 15:44:25 -04:00
Matthias Clasen
edaf99be86
Avoid an interaction between GApplication and GOption
...
When using GOption to handle commandlines, we need to disable
the builtin help handling, since it calls exit(). Also mention
this particular pitfall in the docs.
2011-04-08 07:19:38 -04:00
Ryan Lortie
7a752e0817
Improve .gitignore
2011-03-31 15:51:01 +05:30
Ryan Lortie
d95b750a1d
compile schemas test: open ranges for all types
...
We need to make sure that every value in the table actually parses with
GVariant.
2011-03-31 15:15:09 +05:30
Ryan Lortie
d2af82e820
gschema-test: invert expectation for min/max omit
...
It is now completely valid.
Fix up what is now a legitimate range error in the schema used in one of
the tests.
2011-03-31 15:15:09 +05:30
David Zeuthen
1618ca572f
Fix test suite breakage caused by Murray's commit
...
See https://bugzilla.gnome.org/show_bug.cgi?id=645682
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-03-25 17:56:59 -04:00
Murray Cumming
30fdc1a799
Docs: Changed can not to cannot.
2011-03-24 09:33:55 +01:00
Matthias Clasen
d377367b2c
Forgotten file
2011-03-06 22:38:17 -05:00
Matthias Clasen
54e474931e
Fix a typo
2011-03-04 01:55:18 -05: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
Matthias Clasen
6f87ecc14e
Add a (currently failing) testcase
...
This testcase check that we don't report the standard interfaces
more than one in the introspection XML, see
https://bugzilla.gnome.org/show_bug.cgi?id=642042
2011-02-15 19:49:24 -05:00
Matthias Clasen
f9ad7baf31
Fix memory leaks in the gdbus introspection parser
...
We were getting our length zero, yet NULL-terminated arrays in
a twist in some places. Stop passing around ignored length arguments
at the same time.
https://bugzilla.gnome.org/show_bug.cgi?id=635099
2011-02-15 02:29:15 -05:00
Matthias Clasen
309f5f978b
Improve test coverage
...
Various test additions, mainly in GObject
2011-02-13 23:49:19 -05:00
Daiki Ueno
c0208940c5
Make g_unix_connection_send_fd() work as expected.
...
https://bugzilla.gnome.org/show_bug.cgi?id=637696
2011-01-12 16:01:32 -05:00
Cosimo Cecchi
f248ab1b60
tests: unbreak desktop-app-info test for jhbuild
...
If we have a jhbuilt version of gedit installed, this will fail, as it
will succeed in deleting its desktop file.
2010-12-28 12:18:51 +01:00
Xavier Claessens
30587a3a60
Add io-stream in gitignore
2010-12-20 18:52:44 +01:00
Cosimo Cecchi
678bcad92c
appinfo: add g_app_info_set_as_last_used_for_type()
...
This commit also changes (maintaining compatibility) the way
user-specified default applications are stored (as in, those for which
g_app_info_set_as_default_for_type() has been called.
We now store the default application for a content type in a new group
in the mimeapps.list keyfile, and "Added Associations" tracks only the
applications that have been added by the user, following a
most-recently-used first order.
This is useful in GtkAppChooser-like widgets to pre-select the last used
application when constructing a widget.
https://bugzilla.gnome.org/show_bug.cgi?id=636311
2010-12-20 15:43:58 +01:00
Cosimo Cecchi
274ef35fd4
tests: remove a bogus assumption
2010-12-15 18:03:13 +01:00
Peng Huang
735fcf918e
Bug 632544 – Cannot send a locked message with PRESERVE_SERIAL flag
...
https://bugzilla.gnome.org/show_bug.cgi?id=632544
Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-12-13 13:09:38 -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
Benjamin Otte
ca38bddd6e
gio: Add a count to the resolver test for number of enumerators
...
This adds the nice stress-test feature of having 5 enumerators running
at the same time. Yay!
2010-12-07 19:39:24 +01:00
Benjamin Otte
07fd29c323
tls: Make g_tls_{client|server}_connection_new() return a GIOStream
...
The main use case for these objects is as an IO stream, so it makes
sense to return them that way from the start.
2010-12-07 19:39:24 +01:00
Christian Dywan
426f90e3cf
Resolve warnings about istream and ostream in socket test
2010-12-03 16:33:24 +01:00
Benjamin Otte
b9a98a81da
gio: Comment out a whole test
...
... instead of just commenting out the registration and leaving "unused
function" warnings for gcc.
2010-12-02 20:11:28 +01:00
Benjamin Otte
b92e2cd8f8
gio: Remove unused variables from test
2010-12-02 20:11:28 +01:00
Christian Persch
b4632e1c98
Fix the wrong-category schema test
...
It's supposed to test a <default l10n="..."> with a non-existent
category, so make it actually check this!
Bug #635882 .
2010-11-28 17:26:30 -05: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
69129e8065
Make gio/tests/g-icon pass again
...
It got broken in two different ways by the g_str_hash() change
(354d655b
)
2010-11-27 16:56:44 -05:00
Dan Winship
59d62726de
Add initial TLS (SSL) support to gio
...
This adds an extension point for TLS connections to gio, with a
gnutls-based implementation in glib-networking.
Full TLS support is still a work in progress; the current API is
missing some features, and parts of it may still be changed before
2.28.
https://bugzilla.gnome.org/show_bug.cgi?id=588189
2010-11-26 15:57:11 -05: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
Cosimo Cecchi
5f958e4623
tests: add a test for recommended and fallback GAppInfos
2010-11-23 10:29:10 +01:00
Dan Winship
78bc8bec4f
fix .gitignore
2010-11-07 12:56:44 -05:00
Dan Winship
791d91a957
fix make check
2010-11-07 12:56:08 -05:00
Matthias Clasen
38bc42d18e
Fix up gapplication example
2010-11-05 14:29:15 -04:00
Matthias Clasen
8c7e284116
Tweak GApplication docs
2010-11-02 23:02:05 -04:00
Matthias Clasen
7887103193
Add an example of invoking actions
2010-10-31 22:05:20 -04:00
Matthias Clasen
cb8d29a558
Don't leak references in the actions example
...
These are not initially unowned...
2010-10-31 20:33:02 -04: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