Colin Walters [Tue, 14 Jun 2011 16:28:57 +0000 (12:28 -0400)]
gclosure: Add missing include
Matthias Clasen [Tue, 14 Jun 2011 15:40:32 +0000 (11:40 -0400)]
Don't do < 0 on an unsigned value
It won't work. read() returns a signed value, anyway.
Matthias Clasen [Tue, 14 Jun 2011 14:16:35 +0000 (10:16 -0400)]
Silence a compiler warning
Even though we are confident the filename will always
end in .gmarkup, the compiler doesn't know that...
Matthias Clasen [Tue, 14 Jun 2011 14:12:46 +0000 (10:12 -0400)]
Don't leak resources in error cases
Matthias Clasen [Tue, 14 Jun 2011 14:07:22 +0000 (10:07 -0400)]
Don't forget to free resources in an early return
Matthias Clasen [Tue, 14 Jun 2011 14:04:06 +0000 (10:04 -0400)]
Avoid a deref-before-NULL-check warning
Matthias Clasen [Tue, 14 Jun 2011 13:53:26 +0000 (09:53 -0400)]
Remove unneeded NULL check
We ensure 10 lines up that parameters is not NULL.
Matthias Clasen [Tue, 14 Jun 2011 13:50:55 +0000 (09:50 -0400)]
Remove an unneeded NULL check
data->proxy cannot be NULL here, or we'd have crashed 10 lines up.
Matthias Clasen [Tue, 14 Jun 2011 13:44:45 +0000 (09:44 -0400)]
Silence an uninitialize variable warning
Matthias Clasen [Tue, 14 Jun 2011 11:17:06 +0000 (07:17 -0400)]
Fix up symbol lists and docs
Xan Lopez [Thu, 9 Jun 2011 21:50:22 +0000 (23:50 +0200)]
gclosure: add missing fundamental types to generic marshaler
for GObject type the ffi->gvalue conversion was not handled. The
GFlags type was completely missing.
Vincent Untz [Tue, 14 Jun 2011 07:01:25 +0000 (09:01 +0200)]
GDesktopAppInfo: Fix declaration of g_desktop_app_info_get_nodisplay
Vincent Untz [Sun, 12 Jun 2011 10:22:59 +0000 (12:22 +0200)]
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
Matthias Clasen [Tue, 14 Jun 2011 03:54:59 +0000 (23:54 -0400)]
bump version
Matthias Clasen [Tue, 14 Jun 2011 01:58:33 +0000 (21:58 -0400)]
2.29.8
Matthias Clasen [Tue, 14 Jun 2011 03:19:45 +0000 (23:19 -0400)]
Fix doc generation
It helps to use the same file name on both ends...
Matthias Clasen [Tue, 14 Jun 2011 02:48:54 +0000 (22:48 -0400)]
Use a realistic timeout in a test
Who knew that g_test_trap_fork() takes a timeout in microseconds...
Matthias Clasen [Tue, 14 Jun 2011 00:48:20 +0000 (20:48 -0400)]
Update NEWS
Colin Walters [Mon, 13 Jun 2011 18:17:44 +0000 (14:17 -0400)]
gdbus-codegen tests: Fix usage of top_srcddir
Based on a patch from Rico Tzschichholz.
Ryan Lortie [Mon, 13 Jun 2011 13:27:41 +0000 (09:27 -0400)]
Formally deprecate G_CONST_RETURN
Ryan Lortie [Mon, 13 Jun 2011 13:27:28 +0000 (09:27 -0400)]
Drop a few more G_CONST_RETURN
Dan Winship [Sun, 12 Jun 2011 20:17:30 +0000 (16:17 -0400)]
update .gitignores
Colin Walters [Fri, 10 Jun 2011 16:58:49 +0000 (12:58 -0400)]
gspawn: Fix annotations
g-ir-scanner wants guint8.
Christophe Fergeau [Thu, 9 Jun 2011 11:36:19 +0000 (13:36 +0200)]
Fix regression in qsort_r BSD detection
We can use AC_CHECK_FUNCS to detect if qsort_r is available on
the system or not since it will unconditionnally define
HAVE_QSORT_R, which we don't want since on BSD, qsort_r isn't usable
for us, so we don't want to have HAVE_QSORT_R defined on such platforms.
By using AC_CHECK_FUNC instead, we can defer defining HAVE_QSORT_R until
we have actually tested it's usable.
https://bugzilla.gnome.org/show_bug.cgi?id=651920
Yaron Shahrabani [Fri, 10 Jun 2011 09:54:51 +0000 (12:54 +0300)]
Updated Hebrew translation.
Mario Blättermann [Fri, 10 Jun 2011 09:17:15 +0000 (11:17 +0200)]
[l10n] Updated German translation
Abduxukur Abdurixit [Fri, 10 Jun 2011 08:19:12 +0000 (10:19 +0200)]
Added UG translation
Jorge González [Thu, 9 Jun 2011 21:00:04 +0000 (23:00 +0200)]
Updated Spanish translation
Murray Cumming [Thu, 9 Jun 2011 18:17:52 +0000 (20:17 +0200)]
gioenums.h: Remove trailing commas
David Zeuthen [Thu, 9 Jun 2011 17:29:58 +0000 (13:29 -0400)]
gdbus: Don't pass an unintialized GError pointer
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Thu, 9 Jun 2011 17:22:18 +0000 (13:22 -0400)]
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>
David Zeuthen [Thu, 9 Jun 2011 16:25:04 +0000 (12:25 -0400)]
gdbus: Clarify the --xml option in the man page
Signed-off-by: David Zeuthen <davidz@redhat.com>
David Zeuthen [Thu, 9 Jun 2011 16:02:30 +0000 (12:02 -0400)]
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>
David Zeuthen [Thu, 9 Jun 2011 15:51:47 +0000 (11:51 -0400)]
gdbus-codegen: Fix build
See https://bugzilla.gnome.org/show_bug.cgi?id=651998 for details.
Signed-off-by: David Zeuthen <davidz@redhat.com>
Ryan Lortie [Sun, 13 Mar 2011 03:04:53 +0000 (22:04 -0500)]
Document the deprecatation of G_CONST_RETURN
...but don't actually deprecate it yet.
Ryan Lortie [Sun, 13 Mar 2011 02:50:45 +0000 (21:50 -0500)]
Remove all uses of G_CONST_RETURN
Just use 'const'.
https://bugzilla.gnome.org/show_bug.cgi?id=644611
Ryan Lortie [Thu, 9 Jun 2011 15:11:30 +0000 (11:11 -0400)]
gobject: remove -DG_DISABLE_CONST_RETURNS
GObject had a few cases of depending on G_CONST_RETURN not being defined
to 'const'. Remove those in preparation for deprecation of
G_CONST_RETURN.
Alexander Shopov [Thu, 9 Jun 2011 04:00:57 +0000 (07:00 +0300)]
Updated Bulgarian translation
Matthias Clasen [Thu, 9 Jun 2011 03:48:55 +0000 (23:48 -0400)]
Move gmain docs inline
Matthias Clasen [Thu, 9 Jun 2011 03:44:39 +0000 (23:44 -0400)]
Move gutils docs inline
Matthias Clasen [Thu, 9 Jun 2011 03:29:21 +0000 (23:29 -0400)]
Remove unused template
Christophe Fergeau [Wed, 8 Jun 2011 09:18:26 +0000 (11:18 +0200)]
bitlock: don't use asm goto on older gcc
asm goto was addded in gcc 4.5 so don't try to use it on gcc versions
older than this one. This is achieved by explicitly checking gcc
version, an alternative would be to try to compile a program using
asm volatile in configure.
https://bugzilla.gnome.org/show_bug.cgi?id=651959
Matthias Clasen [Thu, 9 Jun 2011 02:38:11 +0000 (22:38 -0400)]
Test the previous fix
Just make one of the existing GApplication test cases use
a dash in the id.
Ryan Lortie [Thu, 9 Jun 2011 02:21:15 +0000 (22:21 -0400)]
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
Colomban Wendling [Tue, 7 Jun 2011 19:59:15 +0000 (21:59 +0200)]
Fix a typo in GBinding
https://bugzilla.gnome.org/show_bug.cgi?id=652081
Javier Jardón [Wed, 8 Jun 2011 15:26:08 +0000 (16:26 +0100)]
gconverter: Improve cross-references
Dan Winship [Tue, 7 Jun 2011 21:22:58 +0000 (17:22 -0400)]
Fix export_symbols variable in gio/Makefile.am
https://bugzilla.gnome.org/show_bug.cgi?id=646608
Dan Winship [Tue, 7 Jun 2011 21:19:24 +0000 (17:19 -0400)]
Fix "Since" tags on g_data_input_stream_read_upto{,_async}
https://bugzilla.gnome.org/show_bug.cgi?id=647930
Giovanni Campagna [Sun, 3 Apr 2011 16:53:04 +0000 (18:53 +0200)]
gutils, gspawn: fix introspection annotations
Fix various (out) arguments, (allow-none) and (array zero-terminated=1)
for g_spawn_*() and some others.
Some additional fixes by Colin Walters <walters@verbum.org>
https://bugzilla.gnome.org/show_bug.cgi?id=646635
Colin Walters [Tue, 7 Jun 2011 21:07:46 +0000 (17:07 -0400)]
Update annotations from gobject-introspection/gir/glib-2.0.c
This covers most of them.
Colin Walters [Tue, 7 Jun 2011 20:26:43 +0000 (16:26 -0400)]
glib-types.h: Include glib.h, since we use G_BEGIN_DECLS
This header is included individually by g-ir-scanner.
Colin Walters [Fri, 3 Jun 2011 18:53:27 +0000 (14:53 -0400)]
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
Colin Walters [Tue, 7 Jun 2011 18:17:11 +0000 (14:17 -0400)]
gdbus-codegen: Clean config.pyc to make distcheck happy
Colin Walters [Tue, 7 Jun 2011 17:02:41 +0000 (13:02 -0400)]
g_get_user_data_dir(): Don't warn if XDG_RUNTIME_DIR isn't set
We have a meaningful fallback, and warning causes the tests to break.
Kjartan Maraas [Tue, 7 Jun 2011 08:02:40 +0000 (10:02 +0200)]
Updated Norwegian bokmål translation
Marek Černocký [Tue, 7 Jun 2011 06:08:16 +0000 (08:08 +0200)]
Updated Czech translation
Matthias Clasen [Tue, 7 Jun 2011 03:24:36 +0000 (23:24 -0400)]
Add a testcase for the previous fix
Matthias Clasen [Tue, 7 Jun 2011 03:23:29 +0000 (23:23 -0400)]
GDataList: don't hold the bitlock over callbacks
g_datalist_id_clear_i was dropping the dataset lock around
the destroy notifies, but kept the bitlock. This was causing
deadlocks when finalizing widgets.
Chun-wei Fan [Tue, 7 Jun 2011 02:58:54 +0000 (10:58 +0800)]
Update VS 2008/2010 property sheets
"Install" the new gobject/glib-types.h as well... it is needed.
Chun-wei Fan [Tue, 7 Jun 2011 02:49:29 +0000 (10:49 +0800)]
Update gsettings utilities in GIO
Avoid C99-style variable declaration
Chun-wei Fan [Tue, 7 Jun 2011 02:32:47 +0000 (10:32 +0800)]
Update config.h.win32.in
-Make contents more like the current config.h(.in)
-vsnprintf is included in VS 2008+
Chun-wei Fan [Tue, 7 Jun 2011 00:55:31 +0000 (08:55 +0800)]
Update the year in the *.rc.in files
Sorry this change came a bit late...
Chun-wei Fan [Tue, 7 Jun 2011 00:25:07 +0000 (08:25 +0800)]
Clean up gobject/gvaluetransform.c a bit
The check for _MSC_VER here is not necessary here because:
-One cannot compile GLib out-of-the-box with VS 2003 (let alone VS6
or earlier) since GLib 2.22.4 or so.
-This code compiles fine with the currently-supported VS versions
(2008/2010) without the error mentioned in the comments.
This will close Bug 652002.
Chun-wei Fan [Tue, 7 Jun 2011 00:20:15 +0000 (08:20 +0800)]
Fix gatomic.c compilation on Windows (MSVC)
-windows.h must be included for the functions[1] to be found during
compilation
-For Win32(x86), the InterlockedAnd, InterlockedOr and InterlockedXor
functions need to be preceded with an underscore. This is mandated
by the "For the x86 architecture..." clause under "Remarks"[2]
-This will close Bug 652000
[1]:http://msdn.microsoft.com/en-us/library/ms684122(v=vs.85).aspx
[2]:http://msdn.microsoft.com/en-us/library/ms683516(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/ms683626(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/ms684021(v=vs.85).aspx
Colin Walters [Mon, 6 Jun 2011 21:14:45 +0000 (17:14 -0400)]
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.
Chun-wei Fan [Mon, 6 Jun 2011 16:37:38 +0000 (00:37 +0800)]
Update GLib VS9/10 projects
There is no longer need to distinguish between gatomic.c and gatomic-gcc.c.
This will avoid gatomic.c from being included in the projects twice.
Dan Winship [Mon, 6 Jun 2011 14:22:40 +0000 (10:22 -0400)]
Fix some socket docs issues, remove unused typedefs
pointed out by Matthias
Colin Walters [Fri, 3 Jun 2011 17:18:44 +0000 (13:18 -0400)]
GBuffer: Suffix header with private.h
This makes it clearer it's not public API yet.
https://bugzilla.gnome.org/show_bug.cgi?id=651745
Matthias Clasen [Mon, 6 Jun 2011 05:14:23 +0000 (01:14 -0400)]
GMappedFile: improve test coverage
Matthias Clasen [Mon, 6 Jun 2011 05:14:00 +0000 (01:14 -0400)]
GKeyFile: improve test coverage
Matthias Clasen [Mon, 6 Jun 2011 05:13:46 +0000 (01:13 -0400)]
GConvert: improve test coverage
Matthias Clasen [Mon, 6 Jun 2011 05:13:26 +0000 (01:13 -0400)]
Improve GChecksum test coverage
Matthias Clasen [Mon, 6 Jun 2011 05:04:19 +0000 (01:04 -0400)]
GMappedFile: remove nonatomic accesses to ref_count
Matthias Clasen [Mon, 6 Jun 2011 04:31:52 +0000 (00:31 -0400)]
Improve test coverage of gtimezone.c
Matthias Clasen [Mon, 6 Jun 2011 04:31:40 +0000 (00:31 -0400)]
Improve test coverage of GVariant
Matthias Clasen [Mon, 6 Jun 2011 04:31:24 +0000 (00:31 -0400)]
Improve test coverage of glist.c
Matthias Clasen [Mon, 6 Jun 2011 04:31:06 +0000 (00:31 -0400)]
Improve test coverage of glib-unix.c
Matthias Clasen [Mon, 6 Jun 2011 04:30:50 +0000 (00:30 -0400)]
Improve test coverage of gurifuncs.c
Matthias Clasen [Mon, 6 Jun 2011 04:30:30 +0000 (00:30 -0400)]
Test runtime dir getter
Matthias Clasen [Mon, 6 Jun 2011 04:30:02 +0000 (00:30 -0400)]
Remove deprecated atomic functions from tests
Matthias Clasen [Mon, 6 Jun 2011 04:28:38 +0000 (00:28 -0400)]
Improve test coverage
Duplicate the atomic tests for the functions, and
test the new atomic operations as well.
Matthias Clasen [Mon, 6 Jun 2011 02:20:18 +0000 (22:20 -0400)]
No need to have two variants of errno-to-GError
Matthias Clasen [Sun, 5 Jun 2011 23:07:06 +0000 (19:07 -0400)]
Fix a typo
And reword some docs.
Fran Diéguez [Sun, 5 Jun 2011 21:30:42 +0000 (23:30 +0200)]
Updated Galician translations
Kalev Lember [Sun, 5 Jun 2011 11:34:33 +0000 (14:34 +0300)]
configure.ac: Check for qsort_r function before running the test program
When cross compiling, test programs cannot be run. In order to make it
easier to cross compile for targets that do not have qsort_r(), check
for the function before trying to run the test program.
This avoid having to populate cache with glib_cv_have_qsort_r=no with
e.g. mingw cross compiler.
https://bugzilla.gnome.org/show_bug.cgi?id=651920
Kalev Lember [Sun, 5 Jun 2011 11:26:12 +0000 (14:26 +0300)]
configure.ac: Print qsort_r result only once
AC_CACHE_CHECK that was introduced in
70a19815 prints the result, so the
following AC_MSG_RESULT is no longer needed.
Jorge González [Sun, 5 Jun 2011 14:59:31 +0000 (16:59 +0200)]
Updated Spanish translation
Matthias Clasen [Sun, 5 Jun 2011 03:43:05 +0000 (23:43 -0400)]
Use g_param_spec_ref_sink instead of separate ref, sink
Matthias Clasen [Sun, 5 Jun 2011 03:42:07 +0000 (23:42 -0400)]
GParamSpec: avoid unnecessary double initialization of qdata
Matthias Clasen [Sun, 5 Jun 2011 03:13:55 +0000 (23:13 -0400)]
No necessary to init qdata atomically
David Zeuthen [Sun, 5 Jun 2011 01:37:37 +0000 (21:37 -0400)]
GDBusObject: Remove comment non-existant virtual functions
These were nuked a while ago.
Signed-off-by: David Zeuthen <davidz@redhat.com>
Matthias Clasen [Sun, 5 Jun 2011 00:06:44 +0000 (20:06 -0400)]
bump version
Matthias Clasen [Sat, 4 Jun 2011 22:48:54 +0000 (18:48 -0400)]
2.29.6
Matthias Clasen [Sat, 4 Jun 2011 23:05:19 +0000 (19:05 -0400)]
Fix doc syntax
Matthias Clasen [Sat, 4 Jun 2011 22:44:44 +0000 (18:44 -0400)]
Fix links in gio docs
Yaron Shahrabani [Sat, 4 Jun 2011 22:05:03 +0000 (01:05 +0300)]
Updated Hebrew translation.
Matthias Clasen [Sat, 4 Jun 2011 18:40:23 +0000 (14:40 -0400)]
Fix parameter documentation for many functions
Use the opt-out mechanism introduced in gtk-doc 1.16 to work
around problems with the _utf8 renaming games that the win32
port is playing in our headers.
https://bugzilla.gnome.org/show_bug.cgi?id=638449
Matthias Clasen [Sat, 4 Jun 2011 15:57:10 +0000 (11:57 -0400)]
Fix doc typos
Now with fewer broken links...
Matthias Clasen [Sat, 4 Jun 2011 15:46:10 +0000 (11:46 -0400)]
configure.in: Use tar-ustar to avoid name length limitations
Also use dist-bzip2.
David Zeuthen [Sat, 4 Jun 2011 16:43:00 +0000 (12:43 -0400)]
Fix up gdbus invocation in example
Signed-off-by: David Zeuthen <davidz@redhat.com>