OSDN Git Service
Matthias Clasen [Sat, 14 Jul 2012 20:50:35 +0000 (16:50 -0400)]
Fix contenttype tests
Matthias Clasen [Fri, 13 Jul 2012 21:37:37 +0000 (17:37 -0400)]
Fix GModule documentation a bit
The documentation for g_module_make_resident was for some reason
in the doc comment for g_module_name.
https://bugzilla.gnome.org/show_bug.cgi?id=679813
Rui Matos [Tue, 10 Jul 2012 09:38:34 +0000 (11:38 +0200)]
GDBusNodeInfo: remove a spurious for loop
https://bugzilla.gnome.org/show_bug.cgi?id=679671
Rui Matos [Tue, 10 Jul 2012 09:37:56 +0000 (11:37 +0200)]
GDBusNodeInfo: the XML string must contain exactly one node element
Make the documentation clear about this.
https://bugzilla.gnome.org/show_bug.cgi?id=679671
Ryan Lortie [Mon, 9 Jul 2012 16:43:50 +0000 (12:43 -0400)]
GVariant: fix string validation
String validation was done by checking if the string was valid utf8 and
ensuring that the first non-utf8 character was the last character (ie:
the nul terminator).
No check was actually done to make sure that this byte actually
contained a nul, however, so it was possible that you could have a
string like "hello\xff" with length 6 that would correctly validate.
Fix that, and test it.
Antoine Jacoutot [Mon, 9 Jul 2012 16:17:01 +0000 (18:17 +0200)]
goptions: use G_N_ELEMENTS instead of nitems
Antoine Jacoutot [Sun, 8 Jul 2012 17:23:18 +0000 (19:23 +0200)]
OpenBSD: explicitely define nitems
nitems is never guaranteed to be defined in sys/params.h as it is meant
to be defined within a protected ifdef __KERNEL condition.
Ryan Lortie [Fri, 6 Jul 2012 21:27:54 +0000 (17:27 -0400)]
GVariant: support comparing booleans
g_variant_compare() is documented as working on booleans but somehow
this case was missed. Add it and test it.
Problem discovered by Charles Kerr.
Ryan Lortie [Fri, 6 Jul 2012 17:43:17 +0000 (13:43 -0400)]
GSettings: be more careful about keys names with /
Prevent attempts to access keys ending with slashes that exist in the
schema file as references to child schemas.
Also: don't emit change signals for these same keys.
Emmanuele Bassi [Wed, 7 Mar 2012 12:54:04 +0000 (12:54 +0000)]
Constify collect and lcopy strings in GTypeValueTable
This avoids warnings when creating idiomatic value tables, like:
static const GTypeValueTable _clutter_shader_float_value_table = {
clutter_value_init_shader_float,
clutter_value_free_shader_float,
clutter_value_copy_shader_float,
clutter_value_peek_pointer,
"ip",
clutter_value_collect_shader_float,
"pp",
clutter_value_lcopy_shader_float
};
Because the strings are literals. And, really: nobody should be using
allocated values for the collection and lcopy strings.
https://bugzilla.gnome.org/show_bug.cgi?id=671545
Matthias Clasen [Fri, 6 Jul 2012 02:25:49 +0000 (22:25 -0400)]
Improve the g_dir_read_name documentation
This function can return NULL in error cases as well. Document
this, and explain how to discriminate the cases.
https://bugzilla.gnome.org/show_bug.cgi?id=639771
Neil Roberts [Mon, 2 Jul 2012 12:41:32 +0000 (13:41 +0100)]
Fix the 'Since' tag for G_SOURCE_{REMOVE,CONTINUE}
The Since tag for these was saying 2.28 but it was actually added in
2.31. It looks like all of the Since tags list stable version numbers
so this patch bumps that up to 2.32.
https://bugzilla.gnome.org/show_bug.cgi?id=679258
Simon Feltman [Thu, 14 Jun 2012 06:20:17 +0000 (23:20 -0700)]
Updated codegen to work with python3.
Most changes were just replacing usage of "has_key" with "in".
Also updated the sorting function which was simplified and
changed to a "key" function instead of "cmp" (which is no longer
supported in python3. Verified everything builds with
python 2.7 and 3.
https://bugzilla.gnome.org/show_bug.cgi?id=678066
Johan Dahlin [Fri, 29 Jun 2012 14:59:23 +0000 (11:59 -0300)]
Use the same Python as we found in configure
Don't assume /usr/bin/python is python 2.x, on newer Ubuntu versions
it's actually python 3.x.
Martin Pitt [Wed, 27 Jun 2012 14:30:38 +0000 (16:30 +0200)]
Fix /contenttype/guess test
After fixing bug 674452 this test case now reliably fails, as "ABC abc" is text
and definitively not PowerPoint. It previously worked as g_content_type_guess()
was reading beyond the boundary of the data due to specifying -1 as data
length.
Update that test case to expect a PO template instead, and add two more with a
definitive PO template syntax and some binary data. We do not currently have a
MIME magic for PowerPoint, so we cannot actually detect it with certainty, but
at least make sure that the returned MIME type is correct.
https://bugzilla.gnome.org/show_bug.cgi?id=678941
Alexander Larsson [Thu, 28 Jun 2012 13:38:06 +0000 (15:38 +0200)]
Fix the mimetype default fix
We need to ignore the defaults.list item only when there
was a mimetype handler found in a previous mimetype, not
if one was found for the same mimetype as the one that
is listed in defaults.list (same for the new-style defaults).
Alexander Larsson [Thu, 28 Jun 2012 12:50:37 +0000 (14:50 +0200)]
Fix default app lookup wrt parent types and defaults.list
There was an issue when looking up the default handler
for a type where a supertype was listed in defaults.list.
We would pick the default for the parent type even if
there was a handler for the more specific type.
In the case of the new-style defaults marking (
"Default Applications" in mimeapps.list) we were already
checking for a more specific handler befor using a default,
but we also need to do a similar check for the defaults.list
case.
https://bugzilla.gnome.org/show_bug.cgi?id=678944
Stef Walter [Thu, 28 Jun 2012 12:41:39 +0000 (14:41 +0200)]
GTlsInteraction: Fix incorrect locking of mutex
* Fix incorrect locking of mutex in g_tls_interaction_invoke_ask_password()
https://bugzilla.gnome.org/show_bug.cgi?id=678758
Martin Pitt [Wed, 27 Jun 2012 07:25:37 +0000 (09:25 +0200)]
gio/tests/contenttype: Call g_content_type_guess() with valid data len
g_content_type_guess() requires specifying a valid data length. Fixes a
segfault when running the test.
Also add an explicit check for this and return XDG_MIME_TYPE_UNKNOWN when
data_size is specified as -1, to avoid crashing.
https://bugzilla.gnome.org/show_bug.cgi?id=674452
Martin Pitt [Wed, 27 Jun 2012 09:46:28 +0000 (11:46 +0200)]
/mainloop/timeouts test: Reduce race condition
Due to load, particular traits of the architecture, or other circumstances, the
/mainloop/timeouts sometimes manages to call the "every
100 ms" timer loop only 9 times in 1050 ms.
This is an inherent race-condition in the test; allow it some slack and accept
9 times as well.
https://bugzilla.gnome.org/show_bug.cgi?id=678959
Philipp Kern [Wed, 27 Jun 2012 08:57:50 +0000 (10:57 +0200)]
valuetransform: Fix definition of ulong_bool
On big endian 64 bit machines such as s390x, an uint is too small to hold a
ulong_bool; it needs to be an actual ulong.
https://bugzilla.gnome.org/show_bug.cgi?id=678949
http://bugs.debian.org/662057
Martin Pitt [Tue, 26 Jun 2012 16:32:29 +0000 (18:32 +0200)]
Allow slightly too small poll duration in /socket/timed_wait test
Sometimes the poll duration in the /socket/timed_wait test is slightly lower
than the requested 100000, causing failures like
ERROR:/build/buildd/glib2.0-2.33.2/./gio/tests/socket.c:619:test_timed_wait:
assertion failed (poll_duration > = 100000): (99240 >= 100000)
FAIL
Adjust the test to also allow some jitter in the "too small" direction, similar
to the already existing span for "slightly too large".
https://bugzilla.gnome.org/show_bug.cgi?id=678881
Lars Uebernickel [Mon, 25 Jun 2012 16:29:01 +0000 (18:29 +0200)]
GDbusActionGroup: always set strict when _query_action fails
Matthias Clasen [Sat, 23 Jun 2012 21:58:51 +0000 (17:58 -0400)]
Remove a few redundant ;s
Phil Clayton [Tue, 12 Jun 2012 15:09:19 +0000 (16:09 +0100)]
Add missing annotation to GDBusConnection::closed
Add annotation (allow-none) to the parameter error.
https://bugzilla.gnome.org/show_bug.cgi?id=677952
Emmanuele Bassi [Thu, 31 May 2012 22:48:35 +0000 (23:48 +0100)]
Update the comment in gmarshal.list
The current note makes it look like the marshaller code generation has
been deprecated in favour of the libffi-based generic marshaller; this
is not the case, so we should probably clarify the point a bit.
https://bugzilla.gnome.org/show_bug.cgi?id=677235
Christian Persch [Sun, 17 Jun 2012 20:51:44 +0000 (22:51 +0200)]
regex: Fix unicode othercasing
The old _pcre_ucp_othercase() function was wrong in returning
NOTACHAR (0xffffffff) for characters that aren't changed by upper-
and lower-casing. This led to PCRE internally using incorrect (or
at least inefficient) character classes when using G_REGEX_CASELESS.
E.g. [Z-\x{100}] turned into:
[Z\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{39c}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{fffe}\x{178}z-\x{101}]
instead of the expected and efficient
[Z\x{39c}\x{178}z-\x{101}]
https://bugzilla.gnome.org/show_bug.cgi?id=678273
Colin Walters [Thu, 21 Jun 2012 19:44:16 +0000 (15:44 -0400)]
GRand: Check return value of fopen directly
This doesn't fix anything, it should just silence some static analysis
tools.
Colin Walters [Thu, 21 Jun 2012 19:37:39 +0000 (15:37 -0400)]
gspawn: Abort if we can't open /dev/null
This really "shouldn't happen", but if we have an assertion here, it
will help static analysis tools know we're not hitting undefined
state.
Colin Walters [Thu, 21 Jun 2012 19:33:51 +0000 (15:33 -0400)]
tests/unix: Ensure buffer is NUL terminated
Colin Walters [Thu, 21 Jun 2012 16:12:53 +0000 (12:12 -0400)]
gsignal: Properly handle NULL nodes
Colin Walters [Thu, 21 Jun 2012 16:12:33 +0000 (12:12 -0400)]
gresourcefile.c: Remove stray semicolon
Colin Walters [Thu, 21 Jun 2012 16:08:05 +0000 (12:08 -0400)]
gmenu: Remove stray semicolon in g_menu_clear_item()
Colin Walters [Thu, 21 Jun 2012 16:06:34 +0000 (12:06 -0400)]
tests: Add missing initializer for return value
Colin Walters [Thu, 21 Jun 2012 16:05:39 +0000 (12:05 -0400)]
tests: Add missing va_end()
Colin Walters [Thu, 21 Jun 2012 16:00:04 +0000 (12:00 -0400)]
gfileutils: Remove extra fclose()
This is a regression introduced by:
commit
6ac8e6108cf15884e28fe1ecd3042dfce0e11dfd
Author: Matthias Clasen <mclasen@redhat.com>
Date: Tue Jun 14 10:12:46 2011 -0400
Don't leak resources in error cases
Matthias Clasen [Thu, 21 Jun 2012 10:11:58 +0000 (06:11 -0400)]
Install bash completion files in /usr/share/
The bash-completion code nowadays expects completion files to
be installed in /usr/share/bash-completion/completions, and
expects them to be named like the command they are completing
for.
https://bugzilla.gnome.org/show_bug.cgi?id=677782
Dan Winship [Mon, 18 Jun 2012 19:31:47 +0000 (15:31 -0400)]
gdbus: fix generated code to not warn under -Wfloat-equal
https://bugzilla.gnome.org/show_bug.cgi?id=678333
Martin Pitt [Mon, 18 Jun 2012 05:39:23 +0000 (07:39 +0200)]
Fix g_utf8_validate() out argument transfer mode
The "end" argument is unusual in g_utf8_validate(): it's not a classic out
argument which gets allocated by the called function, but merely points into
one of its input arguments. Thus it is "transfer none".
https://bugzilla.gnome.org/show_bug.cgi?id=672889
Dan Winship [Sat, 16 Jun 2012 14:38:45 +0000 (10:38 -0400)]
docs: fix an example
Matthias Clasen [Fri, 15 Jun 2012 22:53:09 +0000 (18:53 -0400)]
GKeyFile: Deal better with blank lines
There is no need to store a has_trailing_blank_line boolean for
each group, we can just check this at the time we assemble the data.
This fixes a problem without roundtrips where we would sometimes
add an extra blank line between groups.
The testcase here is inspired by
https://bugzilla.gnome.org/show_bug.cgi?id=677817
Matthias Clasen [Fri, 15 Jun 2012 19:16:13 +0000 (15:16 -0400)]
GWakeup: Avoid extraneous wakeups
We were checking the wrong number here, and waking up unnecessarily.
https://bugzilla.gnome.org/show_bug.cgi?id=678052
Paolo Borelli [Fri, 15 Jun 2012 12:41:20 +0000 (14:41 +0200)]
Improve g_find_program_in_path documentation
Document that g_find_program_in_path returns a newly-allocated string
Benjamin Otte [Wed, 13 Jun 2012 15:33:01 +0000 (17:33 +0200)]
glib-compile-resources: Forward errors from spawned processes
We just grab stderr from gdk-pixbuf-to-csource and xmllint and include
it in the error message. It's the best we can do.
Matthias Clasen [Mon, 11 Jun 2012 14:24:03 +0000 (10:24 -0400)]
Correct the docs for g_time_zone_adjust_time
March 13, 2010 is very ordinary.
March 14, 2010 is the special day.
Matthias Clasen [Mon, 11 Jun 2012 11:18:29 +0000 (07:18 -0400)]
Fix a typo
It is 'entries', not 'entires'.
Daniel Macks [Tue, 5 Jun 2012 18:16:24 +0000 (14:16 -0400)]
configure: Require libelf 0.8.12
Older versions don't have the required API.
(Commit message written by Colin Walters <walters@verbum.org>)
https://bugzilla.gnome.org/show_bug.cgi?id=673253
Martin Pitt [Tue, 5 Jun 2012 16:50:36 +0000 (18:50 +0200)]
g_dbus_gvariant_to_gvalue(): Add missing out annotation
Marc-Antoine Perennou [Tue, 22 May 2012 19:56:10 +0000 (21:56 +0200)]
glib: fix g_reload_user_special_dirs_cache
We handle a special case for G_USER_DIRECTORY_DESKTOP
when we init the values but drop it when we reload them.
Fix this by preferring old values to NULL
https://bugzilla.gnome.org/show_bug.cgi?id=676594
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
Christian Persch [Tue, 29 May 2012 17:10:57 +0000 (19:10 +0200)]
build: Add missing AM_V_GEN to silence the build
Guillaume Desmottes [Fri, 27 Apr 2012 08:02:54 +0000 (10:02 +0200)]
Link to gvariant-format-strings-pointers in getter API
https://bugzilla.gnome.org/show_bug.cgi?id=674777
Colin Walters [Sat, 26 May 2012 15:53:14 +0000 (11:53 -0400)]
gappinfo: Fix uninitialized-variable gcc warning
Colin Walters [Fri, 25 May 2012 12:59:09 +0000 (08:59 -0400)]
Annotate API introduced for 2.32 with GLIB_AVAILABLE_IN_2_32
https://bugzilla.gnome.org/show_bug.cgi?id=676816
Colin Walters [Fri, 25 May 2012 12:42:50 +0000 (08:42 -0400)]
Annotate API introduced for 2.30 with GLIB_AVAILABLE_IN_2_30
I didn't do this comprehensively, since there's a lot of it, mainly
due to the GDBus object manager stuff, but anyone trying to use
that would fail fast due to lack of the gdbus code generator.
My main goal was to get API additions to existing classes like
g_data_input_stream_read_line_utf8(), as well as the lower level new
API like glib-unix.h.
https://bugzilla.gnome.org/show_bug.cgi?id=676816
Christian Persch [Sat, 5 May 2012 15:29:44 +0000 (17:29 +0200)]
application: Save a few bytes in the library
There's really no need to put useless whitespace into the .so.
Marc-Antoine Perennou [Tue, 22 May 2012 18:38:52 +0000 (20:38 +0200)]
glib: fix build
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
Christian Persch [Sat, 19 May 2012 21:59:01 +0000 (23:59 +0200)]
environ: Allow NULL envp
https://bugzilla.gnome.org/show_bug.cgi?id=676397
Dan Winship [Wed, 21 Mar 2012 13:22:38 +0000 (09:22 -0400)]
g_utf8_validate: @str shouldn't end up annotated as utf8
In order for this function to have any point, it has to be possible to
pass non-UTF-8 data to it, so annotate @str as being array-of-guint8
instead of utf8.
https://bugzilla.gnome.org/show_bug.cgi?id=672548
Dan Winship [Fri, 18 May 2012 12:49:05 +0000 (08:49 -0400)]
g_app_info_launch_default_for_uri: don't use GFile if we don't have to
GFile doesn't handle some "real" URIs, so check if there's a default
handler for the URI scheme first, and only use g_file_new_for_uri()
and g_file_query_default_handler() if not. Eg, this fixes the case of
opening http URIs with "%2F" in the path.
https://bugzilla.gnome.org/show_bug.cgi?id=666386
Holger Berndt [Thu, 17 May 2012 20:24:10 +0000 (22:24 +0200)]
Document that g_app_info_create_from_commandline() does unquoting according to fd.o
https://bugzilla.gnome.org/show_bug.cgi?id=676277
Dan Winship [Thu, 17 May 2012 17:48:21 +0000 (13:48 -0400)]
gnetworkmonitornetlink: don't leak the list of networks
https://bugzilla.gnome.org/show_bug.cgi?id=676265
Matthias Clasen [Thu, 17 May 2012 04:44:36 +0000 (00:44 -0400)]
gsettings: add reset-recursively to bash completion
https://bugzilla.gnome.org/show_bug.cgi?id=675832
Ravi Sankar Guntur [Mon, 19 Mar 2012 15:47:32 +0000 (21:17 +0530)]
glib: fix memory leaks in gutils, protocol, and strfuncs tests
https://bugzilla.gnome.org/show_bug.cgi?id=672329
Signed-off-by: Ravi Sankar Guntur <ravi.g@samsung.com>
Paolo Borelli [Tue, 15 May 2012 15:38:44 +0000 (17:38 +0200)]
gfile: add g_return_if_fail to g_file_make_directory_with_parents()
Colin Walters [Fri, 4 May 2012 14:03:12 +0000 (10:03 -0400)]
gfile: Plug memory leak in g_file_make_directory_with_parents()
The logic here is pretty twisted, but basically we were leaking a ref
for each non-existent parent. The clearest way to fix this was to
move to more explicit refcounting logic; when a variable is pointing
to an object, it holds a ref.
https://bugzilla.gnome.org/show_bug.cgi?id=675446
Matthias Clasen [Sun, 13 May 2012 04:46:39 +0000 (00:46 -0400)]
Use non-deprecated api in tests
https://bugzilla.gnome.org/show_bug.cgi?id=660851
Jasper St. Pierre [Wed, 2 May 2012 16:53:27 +0000 (12:53 -0400)]
gkeyfile: Fix annotations for g_key_file_load_from_data
https://bugzilla.gnome.org/show_bug.cgi?id=675309
Lars Uebernickel [Thu, 10 May 2012 16:35:03 +0000 (09:35 -0700)]
docs: reference g_menu_item_new in gmenu convenience menuitem API
Chun-wei Fan [Wed, 20 Jun 2012 02:19:14 +0000 (10:19 +0800)]
msvc_recommended_pragmas.h: Re-enable C4819 warnings
Apparently the C4819 warnings appear due to a bug on Visual C++ on DBCS
locales, so re-enable this.
Add a note in the Visual C++ Readme.txt's regarding this.
Nilamdyuti Goswami [Tue, 19 Jun 2012 13:11:23 +0000 (18:41 +0530)]
Assamese translation reviewed
David Zeuthen [Fri, 8 Jun 2012 17:30:48 +0000 (13:30 -0400)]
GDBusProxy: Treat org.freedesktop.systemd1.Masked error as non-fatal
This is useful otherwise we'll fail if a systemd service is
masked. See bug 677718 for details.
https://bugzilla.gnome.org/show_bug.cgi?id=677718
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
Rūdolfs Mazurs [Tue, 5 Jun 2012 14:27:15 +0000 (17:27 +0300)]
Updated Latvian translation
Debarshi Ray [Thu, 17 May 2012 04:43:54 +0000 (06:43 +0200)]
gio: The tmpl parameter to g_file_new_tmp can be NULL
Fixes: https://bugzilla.gnome.org/676208
Daniel Nylander [Fri, 18 May 2012 08:02:20 +0000 (10:02 +0200)]
Updated Swedish translation
Matthias Clasen [Mon, 14 May 2012 23:52:34 +0000 (19:52 -0400)]
bump version
Matthias Clasen [Mon, 14 May 2012 22:06:02 +0000 (18:06 -0400)]
Keep interface age in sync with micro
Matthias Clasen [Mon, 14 May 2012 22:05:48 +0000 (18:05 -0400)]
Updates
Matthias Clasen [Mon, 14 May 2012 22:02:59 +0000 (18:02 -0400)]
NEWS: correct title
Dan Winship [Tue, 17 Apr 2012 15:46:50 +0000 (11:46 -0400)]
GConverterInputStream: fix an infinite loop when fill_buffer returns an error
The loop was using a GConverterResult variable where it meant to use a
gssize, and since GConverterResult was ending up as an unsigned type,
this meant the (res < 0) check always failed.
Dan Winship [Sun, 22 Apr 2012 19:20:14 +0000 (15:20 -0400)]
gio: fix error handling in async case of GProxyAddressEnumerator
In the async case, a failed DNS lookup was causing the proxy
resolution to bail out immediately, rather than just moving on to the
next potential proxy (which might not need us to do the DNS lookup
beforehand). Fix that.
Sasi Bhushan [Mon, 14 May 2012 08:02:06 +0000 (13:32 +0530)]
Updated Telugu Translations
Jiro Matsuzawa [Sun, 13 May 2012 10:22:24 +0000 (19:22 +0900)]
[l10n] Update Japanese translation
Christian Kirbach [Tue, 8 May 2012 17:15:09 +0000 (19:15 +0200)]
[l10n] Updated German translation
Jiro Matsuzawa [Tue, 8 May 2012 11:24:53 +0000 (20:24 +0900)]
[l10n] Update Japanese translation
Alexander Shopov [Sat, 28 Apr 2012 04:55:20 +0000 (07:55 +0300)]
Updated Bulgarian translation
Gil Forcada [Sun, 6 May 2012 14:20:22 +0000 (16:20 +0200)]
[l10n] Updated Catalan translation
Matej Urbančič [Fri, 4 May 2012 11:42:36 +0000 (13:42 +0200)]
Updated Slovenian translation
Marek Černocký [Fri, 4 May 2012 07:32:11 +0000 (09:32 +0200)]
Updated Czech translation
Chun-wei Fan [Wed, 2 May 2012 03:06:14 +0000 (11:06 +0800)]
Fix GIO/GObject Visual C++ projects
-Make up for the missed DLL_EXPORT-it's actually needed for all GLib DLL
builds, omitting this caused problems to surface due to recent works to
make GDBus work on Windows.
-Also use the FFI_BULIDING macro for GObject builds as the suggessted
workaround for using static LibFFI builds (as we do now)-please see
ffi.h.in. This will fix the build of GObject against LibFFI 3.0.11, but
it is probable that this will change at some point for LibFFI.
Michael Biebl [Tue, 1 May 2012 16:42:12 +0000 (18:42 +0200)]
configure: Reset LIBS after ELF check
If action-if-found is not specified, AC_CHECK_LIB will append the library
to LIBS. As we don't want to link everything against libelf, reset LIBS
after doing the checks.
Rafał Mużyło [Sun, 15 Apr 2012 15:17:07 +0000 (11:17 -0400)]
configure: Fix typo in ELF check
Signed-off-by: Colin Walters <walters@verbum.org>
Ryan Lortie [Tue, 1 May 2012 05:18:04 +0000 (01:18 -0400)]
bump version
Ryan Lortie [Tue, 1 May 2012 05:04:49 +0000 (01:04 -0400)]
GLib 2.32.2
Alexander Larsson [Thu, 26 Apr 2012 08:05:41 +0000 (10:05 +0200)]
Dist gio/dbus-daemon.xml and fix dependency for builddir != srcdir
Cosimo Cecchi [Mon, 16 Apr 2012 14:45:12 +0000 (10:45 -0400)]
tests/date: force English locale running the GDateTime tests
The parsing test needs to make some assumption about the locale
representation of the string to be parsed, so we need to explicitly
override the locale here.
Ryan Lortie [Sat, 3 Mar 2012 16:31:05 +0000 (11:31 -0500)]
GApplication: allow null application_id
GApplication application ID is now permitted to be NULL, in which case
G_APPLICATION_NON_UNIQUE will be implicitly enabled.
https://bugzilla.gnome.org/show_bug.cgi?id=671249
Bruno Brouard [Mon, 30 Apr 2012 19:54:22 +0000 (21:54 +0200)]
Updated French translation
Xavier Claessens [Wed, 25 Apr 2012 13:02:25 +0000 (15:02 +0200)]
Fix g_clear_object macro with C++ compilers
In C++ it is invalid to cast a void* to void**.
Also add a static check to ensure
sizeof(*object_ptr) == sizeof (gpointer).
This avoid common mistake of missing '&'
in g_clear_object(&obj);
https://bugzilla.gnome.org/show_bug.cgi?id=674634
Fran Diéguez [Mon, 30 Apr 2012 14:22:09 +0000 (16:22 +0200)]
Updated Galician translations
Luca Ferretti [Mon, 30 Apr 2012 13:41:08 +0000 (15:41 +0200)]
l10n: Updated Italian translation