Matthias Clasen
339cac8fc7
Remove unneeded NULL check
...
We ensure 10 lines up that parameters is not NULL.
2011-06-14 09:53:26 -04:00
Matthias Clasen
cf7f50b28e
Remove an unneeded NULL check
...
data->proxy cannot be NULL here, or we'd have crashed 10 lines up.
2011-06-14 09:50:55 -04:00
Matthias Clasen
4c63303f9f
Silence an uninitialize variable warning
2011-06-14 09:44:45 -04:00
Matthias Clasen
114b9b2504
Fix up symbol lists and docs
2011-06-14 07:17:06 -04:00
Vincent Untz
b87d9405be
GDesktopAppInfo: Fix declaration of g_desktop_app_info_get_nodisplay
2011-06-14 09:01:25 +02:00
Vincent Untz
86ffdf5570
GDesktopAppInfo: Add g_desktop_app_info_get_nodisplay
...
Necessary for rebasing gnome-menus on top of GDesktopAppInfo.
https://bugzilla.gnome.org/show_bug.cgi?id=652385
2011-06-14 08:53:48 +02: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
Dan Winship
7412e073d1
update .gitignores
2011-06-12 16:17:30 -04:00
Murray Cumming
4db88bd6e2
gioenums.h: Remove trailing commas
2011-06-09 20:17:52 +02:00
David Zeuthen
7ff248e822
gdbus: Don't pass an unintialized GError pointer
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-06-09 13:29:58 -04:00
David Zeuthen
30dfc35392
gdbus: Add --recurse and --only-properties options
...
These options are useful when debugging D-Bus services and working
with bug reports.
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-06-09 13:22:18 -04:00
David Zeuthen
13b93f0c48
Bug 652197 – Improper handling of double values in GDBusMessage
...
Matthew Bucknall pointed out
GDBusMessage does not serialize/deserialize double values correctly
on platforms with strict alignment constraints (in my particular
case, ARM926EJ-S).
This was reported in
https://bugzilla.gnome.org/show_bug.cgi?id=652197
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-06-09 12:02:30 -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
Matthias Clasen
d6b341c38c
Test the previous fix
...
Just make one of the existing GApplication test cases use
a dash in the id.
2011-06-08 22:38:11 -04:00
Ryan Lortie
f44cd41293
GApplication: allow '-' in application ID
...
By converting it to _ before trying to shove it into an object path.
https://bugzilla.gnome.org/show_bug.cgi?id=652025
2011-06-08 22:21:15 -04:00
Javier Jardón
20d56289b9
gconverter: Improve cross-references
2011-06-08 16:28:16 +01:00
Dan Winship
adf70f4596
Fix export_symbols variable in gio/Makefile.am
...
https://bugzilla.gnome.org/show_bug.cgi?id=646608
2011-06-07 17:22:58 -04:00
Dan Winship
686f32fcc2
Fix "Since" tags on g_data_input_stream_read_upto{,_async}
...
https://bugzilla.gnome.org/show_bug.cgi?id=647930
2011-06-07 17:19:24 -04:00
Colin Walters
ab0e9dbfa7
Generate $module-public-headers.txt file, feed it to gtk-doc
...
Rather than having the gtk-doc build machinery have a list of header
files to exclude, change the GLib build to dump a list of public
header files generated from the maintained Makefile.am files for
each of glib/, gobject/, gio/.
Also, for glib, always install glib-unix.h, even on non-Unix
platforms, for the same reason we install gwin32.h even on Unix.
https://bugzilla.gnome.org/show_bug.cgi?id=651745
2011-06-07 14:18:36 -04:00
Colin Walters
003e052442
gdbus-codegen: Clean config.pyc to make distcheck happy
2011-06-07 14:17:11 -04:00
Chun-wei Fan
09c98f18fc
Update gsettings utilities in GIO
...
Avoid C99-style variable declaration
2011-06-07 10:49:29 +08:00
Chun-wei Fan
405b4ff4f4
Update the year in the *.rc.in files
...
Sorry this change came a bit late...
2011-06-07 08:55:31 +08: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
Dan Winship
1eb7efce8e
Fix some socket docs issues, remove unused typedefs
...
pointed out by Matthias
2011-06-06 10:23:34 -04:00
David Zeuthen
f1e5af4e12
GDBusObject: Remove comment non-existant virtual functions
...
These were nuked a while ago.
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-06-04 21:37:37 -04:00
Matthias Clasen
9a6529442c
Fix doc syntax
2011-06-04 19:05:51 -04:00
Matthias Clasen
01f63b19f9
Fix links in gio docs
2011-06-04 18:48:19 -04:00
David Zeuthen
0b41002474
gdbus: Add a way to emit a signal
...
See https://bugs.freedesktop.org/show_bug.cgi?id=37890#c6 where it was
discovered that dbus-send(1) actually doesn't work (either libdbus-1's
flush implementation or dbus-send(1)'s usage of it is broken) so it's
useful to have here.
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-06-04 12:36:38 -04:00
Matthias Clasen
87dc08ee4d
Distcheck fixes
...
Fix VPATH builds.
2011-06-04 10:46:38 -04:00
Matthias Clasen
1aa348c14c
Distcheck fixes
...
Accidentally committed debug leftover.
2011-06-04 10:45:54 -04:00
David Zeuthen
6d54505b2d
Fix docs for D-Bus introspection data structures
...
Mark structs as boxed types and use /*< public >*/ so the struct
members are properly shown.
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-06-03 14:39:04 -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
Colin Walters
7ed328aaf0
gdbus: Avoid blocking on worker thread in connection initialization
...
I can't see a reason to spin until the worker thread runs, so don't.
This avoids ugly sched_yield() calls that show up in strace and
annoy me; the code is cleaner now too.
We now grab the types needed for the WebKit workaround in the
thread creation area, but only release them when the thread itself
exits.
https://bugzilla.gnome.org/show_bug.cgi?id=651650
2011-06-01 16:43:34 -04:00
Matthias Clasen
a588974561
Expand content type docs slighly
2011-05-31 19:27:04 -04:00
muralis
a84e6f982f
gthreadedresolver: fix hang on g_thread_pool_push() failure
...
In resolve_sync function in gthreadedresolver.c, if g_thread_pool_push
fails due to thread creation failure, we are just simply appending the
data to the queue of work to do. After the failure, we might wait
indefinitely in g_cond_wait. In case of g_thread_pool_push failure,
propagate the error so that this function does not blocks forever in
case of failure.
https://bugzilla.gnome.org/show_bug.cgi?id=651034
2011-05-31 08:56:50 -04:00
Neil Roberts
2df4750ace
gsocket: Fix some cases of returning error without setting *error
...
g_socket_shutdown and g_socket_close were calling check_socket with a
NULL error parameter so any errors wouldn't get propagated up.
https://bugzilla.gnome.org/show_bug.cgi?id=651327
2011-05-28 19:46:15 -04:00
Neil Roberts
0703dbc21f
gsocket: Fix the error message for a failed g_socket_shutdown
...
The GError message for g_socket_shutdown was reporting that it was
"Unable to create socket" which is presumably a cut-and-paste bug.
https://bugzilla.gnome.org/show_bug.cgi?id=651327
2011-05-28 19:46:14 -04:00
Antoine Jacoutot
56c0d0f384
Fix compile warnings on OpenBSD.
...
https://bugzilla.gnome.org/show_bug.cgi?id=651223
2011-05-28 18:59:38 -04:00
Matthias Clasen
2fb57ff46f
Quiet down the build a bit
2011-05-28 14:29:08 -04:00
Matthias Clasen
7d0eac03e9
glib-compile-schemas: write informational messages to stdout
...
The fact that we return 0 here makes it clear that this
is not considered an error, so it makes sense to not
write these messages to stderr.
Proposed by Antoine Jacoutot,
https://bugzilla.gnome.org/show_bug.cgi?id=650882
2011-05-27 18:30:45 -04:00
Antoine Jacoutot
77f4f5aa02
Add glib credentials support to OpenBSD.
...
https://bugzilla.gnome.org/show_bug.cgi?id=650885
2011-05-27 14:22:56 -04:00
David Zeuthen
25440ce014
GDBusProxy: Mention gdbus-codegen in docs
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-05-26 10:18:44 -04:00
David Zeuthen
06f5de77f0
GDBusProxy: Fix incorrect locking
...
Pointed out by mclasen.
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-05-26 10:07:38 -04:00
David Zeuthen
c0f4a63c89
GDBusProxy: Add locking and notes/guarantees about MT safety
...
This was discussed in
https://bugzilla.gnome.org/show_bug.cgi?id=651133
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-05-26 09:56:14 -04:00
David Zeuthen
7e0f890e38
GDBusProxy: Fix race condition when unsubscribing from signals
...
This was reported in bug 651133.
https://bugzilla.gnome.org/show_bug.cgi?id=651133
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-05-26 09:26:29 -04:00
Richard Hughes
9936f961ba
Correct the annotation for g_file_enumerator_get_container()
...
We don't ref the returned object, and alex has verified the gvfs implementation.
2011-05-26 12:37:36 +01:00
David Zeuthen
ab18737ead
gdbus-codegen: Properly render @param and %TRUE in generated Docbook
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-05-24 00:27:43 -04:00
David Zeuthen
263ce3042c
gdbus-codegen: Handle unexpected XML tags
...
This was reported in bug 650874. Add tests.
https://bugzilla.gnome.org/show_bug.cgi?id=650874
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-05-23 23:23:10 -04:00
Giovanni Campagna
0aae977ac1
gdbusintrospection: fix introspection of DBus Introspection structures
...
Correctly mark fields as arrays (requires changing gobject-introspection
to pick those).
https://bugzilla.gnome.org/show_bug.cgi?id=646635
2011-05-23 22:15:56 +02:00
Ray Strode
eabad1923e
Revert "gsettings-tool: warn if setting a value fails"
...
This reverts commit ea57feff96
.
It makes the gsettings tool fail any time it tries to set a
key to a value, that the key already has.
https://bugzilla.gnome.org/show_bug.cgi?id=641768
2011-05-23 13:40:02 -04:00