Colin Walters [Fri, 31 Jan 2014 14:23:45 +0000 (09:23 -0500)]
Restore executability on data-to-c.pl
Daniel Mustieles [Thu, 23 Jan 2014 11:58:29 +0000 (12:58 +0100)]
Updated FSF's address
Matthias Clasen [Fri, 31 Jan 2014 10:58:17 +0000 (05:58 -0500)]
Docs: don't use the type tag
Just avoid explicit docbook markup.
Matthias Clasen [Fri, 31 Jan 2014 05:29:14 +0000 (00:29 -0500)]
Docs: don't use the structname tag
Just avoid explicit docbook markup.
Matthias Clasen [Fri, 31 Jan 2014 04:59:06 +0000 (23:59 -0500)]
Docs: don't use structfield tags
They don't add anything over @foo, and we want to avoid explicit
docbook markup as far as possible.
Matthias Clasen [Fri, 31 Jan 2014 04:52:58 +0000 (23:52 -0500)]
Docs: don't use <footnote>
It basically does not work in the HTML output.
Shantha kumar [Thu, 30 Jan 2014 09:33:08 +0000 (15:03 +0530)]
Tamil Translations Updated
Matthias Clasen [Sat, 25 Jan 2014 23:18:42 +0000 (18:18 -0500)]
Drop a no-longer-existing example from the docs
gapplication-example-menu.c was dropped in
0c094d660769a00564ef33a775a387f62cf2ff41, two years ago.
Time to remove its inclusion in the docs too.
https://bugzilla.gnome.org/show_bug.cgi?id=722973
Rico Tzschichholz [Thu, 23 Jan 2014 16:22:19 +0000 (17:22 +0100)]
gobject: Add missing transfer annotation to g_boxed_copy
Rico Tzschichholz [Thu, 23 Jan 2014 16:21:32 +0000 (17:21 +0100)]
gio: Add missing transfer annotation to g_simple_proxy_resolver_new
Chun-wei Fan [Thu, 23 Jan 2014 09:32:50 +0000 (17:32 +0800)]
glib/goption.c: Fix build on MSVC
Use #ifdef rather than #if, as MSVC does not like #if <macro> without
parens, and this is the normal usage in other cases like this.
William Jon McCann [Wed, 22 Jan 2014 22:51:12 +0000 (17:51 -0500)]
glib: annotate some memory functions with allow-none
Nilamdyuti Goswami [Wed, 22 Jan 2014 16:55:26 +0000 (22:25 +0530)]
Assamese translation updated
Rico Tzschichholz [Wed, 22 Jan 2014 13:21:41 +0000 (14:21 +0100)]
gio: Fix some header/source parameter-naming mismatches
Rico Tzschichholz [Wed, 22 Jan 2014 13:06:10 +0000 (14:06 +0100)]
gsubprocess: Add missing transfer annotations to get_*_pipe()
Ryan Lortie [Sat, 18 Jan 2014 19:29:16 +0000 (14:29 -0500)]
test default GSimpleAction activation
Test the default handling of the "activate" signal on GSimpleAction.
https://bugzilla.gnome.org/show_bug.cgi?id=722503
Jasper St. Pierre [Tue, 21 Jan 2014 17:08:03 +0000 (12:08 -0500)]
strfuncs: Make g_str_tokenize_and_fold introspectable
Jasper St. Pierre [Tue, 21 Jan 2014 17:00:35 +0000 (12:00 -0500)]
gsettings: Fix annotations
Emmanuele Bassi [Mon, 20 Jan 2014 20:03:40 +0000 (20:03 +0000)]
docs: Add missing GTest functions
The GTest message API is missing from the reference.
Chun-wei Fan [Tue, 7 Jan 2014 05:34:09 +0000 (13:34 +0800)]
glib/gtimezone.c: Check the size of tzi.DaylightName
We need to re-get the size of tzi.DaylightName before we call
RegQueryValue() because the buffer might not have enough room to hold the
value for tzi.DaylightName that would be acquired by RegQueryValueExA(),
even though the size of tzi.DaylightName and tzi.StandardName is the same.
This is a pitfall of RegQueryValue()[1] as not doing this can result in an
ERROR_MORE_DATA (234) failure, causing the acquisition of tzi.DaylightName
to fail.
This will fix the gdatetime/equal test, amongst some other tests in
gdatetime, at least on certain non-English version of Windows.
[1]: http://social.msdn.microsoft.com/Forums/vstudio/en-US/
84f90854-e90c-4b63-8fc1-
655a0b4645fd/regqueryvalueex-returns-errormoredata
https://bugzilla.gnome.org/show_bug.cgi?id=719344
Matthias Clasen [Mon, 20 Jan 2014 13:43:02 +0000 (08:43 -0500)]
Use __asm__ instead of asm
This is a little more robust as various compiler flags make
gcc forget about asm.
https://bugzilla.gnome.org/show_bug.cgi?id=693299
Matthias Clasen [Mon, 20 Jan 2014 13:16:09 +0000 (08:16 -0500)]
Fix CFLAGS manipulation
The code for ensuring that CFLAGS contain -g if
--enable-debug has been specified did not work right.
https://bugzilla.gnome.org/show_bug.cgi?id=685204
Matthias Clasen [Mon, 20 Jan 2014 12:37:42 +0000 (07:37 -0500)]
GAction: remove a lie
Not only was the link to GtkAction broken, it is not true.
https://bugzilla.gnome.org/show_bug.cgi?id=722591
Matthias Clasen [Mon, 20 Jan 2014 12:33:27 +0000 (07:33 -0500)]
Try again to fix the freebsd build
https://bugzilla.gnome.org/show_bug.cgi?id=722526
Matthias Clasen [Mon, 20 Jan 2014 05:34:29 +0000 (00:34 -0500)]
Clarify g_strchomp and g_strchug docs
https://bugzilla.gnome.org/show_bug.cgi?id=583036
A. Walton [Fri, 30 Aug 2013 06:33:58 +0000 (23:33 -0700)]
Clarify type transformability and comparability
If two GValues are transformable, it implies they are compatible,
so you do not need to check for compatibility yourself. Bump the
documentation to reflect this fact.
https://bugzilla.gnome.org/show_bug.cgi?id=707111
Matthias Clasen [Mon, 20 Jan 2014 04:49:12 +0000 (23:49 -0500)]
More GTree and GNode formatting and documentation fixes
Among other things, add images for tree traversal types,
taken from Wikimedia Commons.
Matthias Clasen [Mon, 20 Jan 2014 03:23:51 +0000 (22:23 -0500)]
Move GTraverseType to gnode docs
Matthias Clasen [Mon, 20 Jan 2014 03:03:40 +0000 (22:03 -0500)]
GQueue: documentation and formatting fixes
Matthias Clasen [Mon, 20 Jan 2014 02:10:25 +0000 (21:10 -0500)]
GList: Some further documentation and formatting tweaks
Olivier Sessink [Wed, 5 Sep 2012 07:52:23 +0000 (09:52 +0200)]
tag: documentation enhancement for novice application developers
Adds some code examples how functions can be used. Adds a hint
to look at GQueue if access to the start and the end of the list
is required.
applying comments from Emmanuele Bassi and adds some more
improvements to clarify how functions should be used.
https://bugzilla.gnome.org/show_bug.cgi?id=683388
Simon McVittie [Fri, 16 Nov 2012 12:53:39 +0000 (12:53 +0000)]
glib-init: make static assertions about platform assumptions
GLib has a pervasive assumption that function and data pointers are
basically interchangeable, which is true in all modern ABIs,
but not actually guaranteed by ISO C. If someone tries to use GLib on a
platform where function and data pointers are different sizes, fail early.
https://bugzilla.gnome.org/show_bug.cgi?id=688406
Simon McVittie [Fri, 16 Nov 2012 12:51:31 +0000 (12:51 +0000)]
GHashTable: statically assert that GHashTableIter works as intended
https://bugzilla.gnome.org/show_bug.cgi?id=688406
Simon McVittie [Fri, 16 Nov 2012 12:49:15 +0000 (12:49 +0000)]
glib-private.h: add _glib_alignof
Ryan Lortie [Fri, 25 Oct 2013 05:47:37 +0000 (01:47 -0400)]
GMainContext: unref pending sources on destroy
It is possible (but unlikely) that there will be a non-empty list of
pending dispatches when we remove the last ref from a GMainContext.
Make sure we drop the refs on the sources appropriately.
Add a (now-working) testcase that demonstrates how to trigger the issue.
https://bugzilla.gnome.org/show_bug.cgi?id=139699
Matthias Clasen [Sun, 19 Jan 2014 22:13:51 +0000 (17:13 -0500)]
Work around broken FreeBSD headers
It seems that including just pthread.h does not define
clockid_t on these systems.
https://bugzilla.gnome.org/show_bug.cgi?id=722526
Matthias Clasen [Sun, 19 Jan 2014 13:57:43 +0000 (08:57 -0500)]
Fix the build
The thumbnail-verification test (indirectly) includes individual
headers, so define GIO_COMPILATION to make it work.
Marc-André Lureau [Wed, 6 Nov 2013 13:02:26 +0000 (14:02 +0100)]
win32: silence build warning
glocalfile.c: In function 'g_local_file_measure_size_of_file':
glocalfile.c:2654:3: warning: passing argument 2 of 'g_lstat' from
incompatible pointer type [enabled by default]
if (g_lstat (name->data, &buf) != 0)
^
In file included from glocalfile.c:68:0:
../glib/gstdio.h:135:5: note: expected 'struct GStatBuf *' but argument
is of type 'struct _stati64 *'
https://bugzilla.gnome.org/show_bug.cgi?id=711547
Marc-André Lureau [Wed, 6 Nov 2013 12:57:07 +0000 (13:57 +0100)]
win32: silence build warning
gdbusauthmechanismexternal.c: In function 'mechanism_client_initiate':
gdbusauthmechanismexternal.c:355:3: warning: 'initial_response' may be
used uninitialized in this function [-Wmaybe-uninitialized]
return initial_response;
^
gdbusauthmechanismexternal.c:332:10: note: 'initial_response' was
declared here
https://bugzilla.gnome.org/show_bug.cgi?id=711547
Marc-André Lureau [Wed, 6 Nov 2013 12:54:34 +0000 (13:54 +0100)]
win32: silence build warning
glocalfileinfo.c: In function '_g_local_file_info_get':
glocalfileinfo.c:1955:11: warning: passing argument 3 of
'get_thumbnail_attributes' from incompatible pointer type [enabled by
default]
get_thumbnail_attributes (path, info, &statbuf);
^
glocalfileinfo.c:1285:1: note: expected 'const struct GStatBuf *' but
argument is of type 'struct _stati64 *'
get_thumbnail_attributes (const char *path,
https://bugzilla.gnome.org/show_bug.cgi?id=711547
Matthias Clasen [Sun, 19 Jan 2014 13:21:50 +0000 (08:21 -0500)]
Avoid a deprecation warning
https://bugzilla.gnome.org/show_bug.cgi?id=711547
Christophe Fergeau [Fri, 17 Jan 2014 17:42:36 +0000 (18:42 +0100)]
Adjust doc to Makefile.decl renaming
g_test_build_filename() API documentation still mentions Makefile.decl, but
it has been renamed to glib.mk in
f9eb9eed
https://bugzilla.gnome.org/show_bug.cgi?id=722436
Ryan Lortie [Sat, 18 Jan 2014 19:27:26 +0000 (14:27 -0500)]
GSimpleAction: fix mistake in last commit
Some bad copy-paste happening here...
Ryan Lortie [Sat, 18 Jan 2014 18:02:47 +0000 (13:02 -0500)]
GSimpleAction: add default activate handler
If the action is stateful and the user doesn't have their own activate handler
then do some reasonable things for ourselves.
After a lot of experience using stateful GSimpleAction it turns out that
people almost always end up using it in the same ways:
A boolean-typed stateful action with no parameter is most likely going
to want to be toggled. Any other type of action that has the parameter
type equal to the state type probably intends for activation to
represent a request to change the state.
This patch implements those two cases. This will let people stop
writing their own trivial handlers over and over.
https://bugzilla.gnome.org/show_bug.cgi?id=722503
Ryan Lortie [Sun, 12 Jan 2014 17:47:43 +0000 (12:47 -0500)]
GOptionContext: add some notes about encodings
Add a note to the overview documentation for GOptionContext about why
you need to be careful about argv encoding on UNIX and about why you
should avoid argv entirely on Windows. Mention some possible
alternative approaches, including a code example.
https://bugzilla.gnome.org/show_bug.cgi?id=722025
Ryan Lortie [Sun, 12 Jan 2014 17:31:38 +0000 (12:31 -0500)]
GApplication: change commandline encoding policy
Clarify in the documentation that the commandline arguments passed
around by GApplication (to local_command_line and returned via
g_application_command_line_get_arguments()) are in the GLib filename
encoding (ie: UTF-8) on Windows, not the system code page.
Fix the mismatch that would result from having argv passed to
g_application_run() in main() on Windows (where it is in the system
code page) by ignoring argc/argv on Windows and calling
g_win32_get_command_line() for ourselves. Document this.
This might be a slight API break on Windows: we documented that it was
possible to call g_application_run() with arguments other than argc/argv
and now doing that will result in those arguments being ignored. It has
always been recommended practice to only call g_application_run() from
main() directly, however, and all of our code examples have shown only
this. We will see if this causes any issues and consider reevaluating
the situation if so.
https://bugzilla.gnome.org/show_bug.cgi?id=722025
Ryan Lortie [Fri, 17 Jan 2014 03:11:18 +0000 (22:11 -0500)]
g_file_new_for_commandline_arg: clarify encoding
Add a note to the documentation for g_file_new_for_commandline_arg()
that this function is intended to operate on strings already in the GLib
filename encoding on Windows.
This has been the case for a long time, but this documents the
requirement.
https://bugzilla.gnome.org/show_bug.cgi?id=722025
Ryan Lortie [Sun, 12 Jan 2014 17:13:42 +0000 (12:13 -0500)]
win32: add g_win32_get_command_line()
This returns the command line in GLib filename encoding format (ie:
UTF-8) for use with g_option_context_parse_strv().
This will allow parsing of Unicode commandline arguments on Windows,
even if the characters in those arguments fall outside of the range of
the system codepage.
https://bugzilla.gnome.org/show_bug.cgi?id=722025
Ryan Lortie [Sun, 12 Jan 2014 17:10:19 +0000 (12:10 -0500)]
g_option_context_parse_strv: use UTF-8 on Windows
Add another difference to the freshly-added g_option_context_parse_strv:
now, on Windows, its arguments on to be in UTF-8 instead of the argv[]
encoding (from the system codepage).
The documentation teases g_win32_get_command_line() which is a new
GLib-filename-encoding-based function that will be added in a following
commit.
https://bugzilla.gnome.org/show_bug.cgi?id=722025
Ryan Lortie [Fri, 17 Jan 2014 02:47:09 +0000 (21:47 -0500)]
GOption: don't use "rand" in code example
rand() is a function defined in the libc, so our code example gives
warnings if you try to compile it. Fix that.
https://bugzilla.gnome.org/show_bug.cgi?id=722025
Marc-André Lureau [Thu, 16 Jan 2014 17:02:18 +0000 (18:02 +0100)]
gio: fix small memory leak on local xattr
g_strconcat() allocates memory, it needs to be freed.
==10653== 1,400 bytes in 50 blocks are definitely lost in loss record
1,838 of 1,851
==10653== at 0x4A0645D: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==10653== by 0x54ACB22: g_malloc (gmem.c:102)
==10653== by 0x54ACE4D: g_malloc_n (gmem.c:343)
==10653== by 0x54C8463: g_strconcat (gstrfuncs.c:589)
==10653== by 0x4D6ED38: get_xattrs_from_fd (glocalfileinfo.c:660)
==10653== by 0x4D71622:
_g_local_file_info_get_from_fd (glocalfileinfo.c:2028)
==10653== by 0x4D731A0:
g_local_file_input_stream_query_info (glocalfileinputstream.c:356)
==10653== by 0x4C996D8:
g_file_input_stream_query_info (gfileinputstream.c:148)
==10653== by 0x4C863F6: file_copy_fallback (gfile.c:3120)
==10653== by 0x4C86DD2: g_file_copy (gfile.c:3398)
https://bugzilla.gnome.org/show_bug.cgi?id=722357
Christian Schramm [Thu, 16 Jan 2014 11:36:09 +0000 (12:36 +0100)]
gstringchunk: Use g_slist_free_full() where possible
We have that function, let's use it - instead of manually
freeing the elements of the slist in a loop (and reduce
the line count a bit).
https://bugzilla.gnome.org/show_bug.cgi?id=722326
Christian Schramm [Thu, 16 Jan 2014 11:14:32 +0000 (12:14 +0100)]
gbookmarkfile: removed unused include 'gslist.h'
https://bugzilla.gnome.org/show_bug.cgi?id=722323
Jasper St. Pierre [Wed, 15 Jan 2014 15:37:55 +0000 (10:37 -0500)]
Update .gitignore
Ryan Lortie [Mon, 13 Jan 2014 21:12:41 +0000 (16:12 -0500)]
GLib 2.39.3
Ryan Lortie [Mon, 13 Jan 2014 22:23:14 +0000 (17:23 -0500)]
more distcheck fixes
Ryan Lortie [Mon, 13 Jan 2014 21:41:31 +0000 (16:41 -0500)]
build: fix 'make distclean'
Don't run a non-existent lcov command to clean up during 'make distclean'
Ryan Lortie [Mon, 13 Jan 2014 21:12:31 +0000 (16:12 -0500)]
giomodule test: fix again
The compiled modules will be in the G_TEST_BUILT directory, not _DIST.
Ryan Lortie [Mon, 13 Jan 2014 20:31:38 +0000 (15:31 -0500)]
giomodule test: force shared library build
http://lists.gnu.org/archive/html/bug-libtool/2013-05/msg00009.html hit
us again. libtool only builds .so files if we install the library, so
force it to build for our testcase, even if we don't install it.
Rico Tzschichholz [Mon, 13 Jan 2014 11:33:35 +0000 (12:33 +0100)]
gdesktopinfo: Fix typo in "Since" annotation of has_key
Dimitris Spingos [Mon, 13 Jan 2014 08:25:01 +0000 (10:25 +0200)]
Updated Greek translation
Yosef Or Boczko [Mon, 13 Jan 2014 06:59:04 +0000 (08:59 +0200)]
Updated Hebrew translation
Ryan Lortie [Fri, 10 Jan 2014 17:28:14 +0000 (12:28 -0500)]
tests: fix leaks in option-context test
Use the new g_option_context_parse_strv() to patch up some leaks in some
insufficiently-argv-emulating testcases in option-context.c.
This gives some test coverage of the new function while also making
option-context now leak-free.
https://bugzilla.gnome.org/show_bug.cgi?id=721947
Ryan Lortie [Fri, 10 Jan 2014 17:16:24 +0000 (12:16 -0500)]
GOptionContext: add memory-friendly parse mode
Add g_option_context_parse_strv() that obeys the normal memory conventions for
dealing with a strv instead of assuming that we're dealing with the 'argv'
parameter to main().
This will help for using GOptionContext with GApplication.
https://bugzilla.gnome.org/show_bug.cgi?id=721947
Ryan Lortie [Fri, 10 Jan 2014 16:17:44 +0000 (11:17 -0500)]
GApplication: allow handles_commandline and service
The default local_command_line handler has a fast return path for the
case that we handle the commandline by forwarding it to the primary
instance, but this doesn't account for the fact that we may want to
become a service.
Allow for this by making sure we don't take the fast path of the service
flag is set.
Ryan Lortie [Sat, 26 Oct 2013 16:27:20 +0000 (12:27 -0400)]
GApplication: add --gapplication-service switch
Add a --gapplication-service switch to the default implementation of
local_command_line. This name is unlikely to clash with any option used
by an existing application.
When a normal application (neither service nor launcher) is launched with
exactly this one argument, G_APPLICATION_IS_SERVICE will be set.
The idea is that people will write their D-Bus service file with
--gapplication-service on the Exec line. This provides a nice
compromise for people who want the benefits of DBusActivatable
applications but without losing the ability to easily run them directly
(under the debugger or inside jhbuild, etc.)
https://bugzilla.gnome.org/show_bug.cgi?id=710965
Ryan Lortie [Wed, 8 Jan 2014 16:01:55 +0000 (11:01 -0500)]
gdbus-introspection test: test escaping attributes
Make sure attribute values are properly escaped in generated XML.
https://bugzilla.gnome.org/show_bug.cgi?id=721796
Ryan Lortie [Wed, 8 Jan 2014 15:56:57 +0000 (10:56 -0500)]
gdbus: properly escape introspection annotations
Make sure we escape any special characters that are found in annotation
names or values to avoid emitting a malformed XML document in response
to an Introspect call.
https://bugzilla.gnome.org/show_bug.cgi?id=721796
Matthias Clasen [Wed, 8 Jan 2014 03:55:43 +0000 (22:55 -0500)]
Add includes to all gio docs
Dan Winship [Tue, 7 Jan 2014 16:18:54 +0000 (11:18 -0500)]
Document g_test_run() order better, and how it changed
But also note that the ordering is strictly an aesthetic/convenience
thing, and that tests should not be written to depend on it.
https://bugzilla.gnome.org/show_bug.cgi?id=721624
Claudio Saavedra [Tue, 7 Jan 2014 09:33:14 +0000 (11:33 +0200)]
glib/tests: fix build
Chun-wei Fan [Mon, 6 Jan 2014 02:05:48 +0000 (10:05 +0800)]
glib/tests/keyfile.c: Use g_close()
Use g_close() instead, as close() is really found in io.h on Windows, not
unistd.h as on Unix, and hence unistd.h is not universally available.
https://bugzilla.gnome.org/show_bug.cgi?id=719344
Chun-wei Fan [Sat, 4 Jan 2014 02:52:15 +0000 (10:52 +0800)]
glib/tests/date.c: Fix the tests on non-English Windows
The names of the month (and abbreviations) are specific to the Windows
system locale, so we need to use SetThreadLocale() to set the locale of
the running program to en-US so that it will parse "March" and "Sept" etc.
correctly.
https://bugzilla.gnome.org/show_bug.cgi?id=719344
Ryan Lortie [Mon, 6 Jan 2014 18:58:41 +0000 (13:58 -0500)]
Fix one-character typo in old NEWS entry
Change a very confusing typo "will not" -> "will now" about the
g_critical() on removing non-existent sources.
https://bugzilla.gnome.org/show_bug.cgi?id=721625
Chun-wei Fan [Mon, 6 Jan 2014 04:31:18 +0000 (12:31 +0800)]
Fix GLib MSVC Project
The glib/gthread-win32.c was accidently removed from the last commit, sorry
Chun-wei Fan [Mon, 6 Jan 2014 04:21:46 +0000 (12:21 +0800)]
Tidy Up the glib MSVC Project
Move the per-source define/undefine cflags into the property sheets, and
apply the cflags for the bundled PCRE sources to the PCRE sources only
Chun-wei Fan [Mon, 6 Jan 2014 03:22:39 +0000 (11:22 +0800)]
Drop the testglib MSVC Projects
There are many test programs that are shipped with GLib, and this project
is a one-to-one project, which does not make sense to keep as various test
programs may have different CFLAGS, etc, which will require different build
options.
Matthias Clasen [Sun, 5 Jan 2014 02:09:18 +0000 (21:09 -0500)]
Use tap mode for installed tests too, when using tap
Rico Tzschichholz [Sat, 4 Jan 2014 21:04:20 +0000 (22:04 +0100)]
glib/tests: Fix non-debug build of slice test
In addition to
e013cf9cad56e919af2f057eb52d58371483a6f8
Jasper St. Pierre [Sat, 4 Jan 2014 06:40:24 +0000 (01:40 -0500)]
tests/keyfile: Fix build
Chun-wei Fan [Fri, 3 Jan 2014 15:48:04 +0000 (23:48 +0800)]
gio/tests/giomodule.c: Use G_MODULE_SUFFIX
The file extension of the GIO module could be something other than .so,
depending on platform. Use G_MODULE_SUFFIX so that the test will run
correctly on non-*nix platforms, such as Windows.
https://bugzilla.gnome.org/show_bug.cgi?id=719344
Chun-wei Fan [Tue, 17 Dec 2013 02:58:15 +0000 (10:58 +0800)]
Fix the Keyfile Test on Windows
Windows will not allow one to write to a temp file opened by g_mkstemp()
by opening another fd associated with it before one closes the fd that
is returned by g_mkstemp(), which will cause the test_save test to fail.
Fix this by using a variable to store the fd from g_mkstemp() and checking
it, and call close() on that variable before attempting to call
g_key_file_save_to_file() on the temp file as that will attempt to open
another fd (which would not work) associated with that temp file.
https://bugzilla.gnome.org/show_bug.cgi?id=719344
Michael Catanzaro [Fri, 3 Jan 2014 01:40:47 +0000 (19:40 -0600)]
docs: fix two typos
Ryan Lortie [Thu, 2 Jan 2014 21:43:13 +0000 (16:43 -0500)]
unix signals: stop using atomics
They are not required here. See the discussion in the bug report.
https://bugzilla.gnome.org/show_bug.cgi?id=711090
Rafael Ferreira [Fri, 3 Jan 2014 00:08:14 +0000 (22:08 -0200)]
Updated Brazilian Portuguese translation
Matthias Clasen [Thu, 2 Jan 2014 18:25:41 +0000 (13:25 -0500)]
Fix make install with --disable-installed-tests
If installed tests are not enabled, installed_testdir is not
defined, so we end up trying to create /modules and to chmod
things in /x-content/, which is not right.
Ryan Lortie [Thu, 2 Jan 2014 17:54:12 +0000 (12:54 -0500)]
GFile: fix uninitialised variable
clang cause the fact that some of our 'goto out;' cases cause use to try
and free an uninitialised GString. Fix that up.
Ryan Lortie [Thu, 2 Jan 2014 06:38:07 +0000 (01:38 -0500)]
GDBusConnection: don't write to stdout
When losing the D-Bus connection, we would write to stdout about it just
before killing ourselves with SIGTERM. We're a library, so we should
probably use stderr instead.
https://bugzilla.gnome.org/show_bug.cgi?id=721324
Ryan Lortie [Thu, 2 Jan 2014 06:55:07 +0000 (01:55 -0500)]
gsettings: tweak test for last commit
The last commit changed the behaviour of child objects of delayed
GSettings. Adjust the testcase accordingly.
Ryan Lortie [Sun, 22 Dec 2013 04:13:57 +0000 (23:13 -0500)]
g_settings_get_child(): inherit backend
Part of the purpose of g_settings_get_child() was that it could be used
after you delay() a GSettings object, and then apply() all of the
settings together. In order for that to work, we need to share the
backend.
https://bugzilla.gnome.org/show_bug.cgi?id=720891
Matthias Clasen [Thu, 2 Jan 2014 04:28:23 +0000 (23:28 -0500)]
Make symlink test work installed
We can't assume that the location used for G_TEST_DIST paths
is writable, so just create the symlink in the current directory
instead.
Matthias Clasen [Thu, 2 Jan 2014 03:39:32 +0000 (22:39 -0500)]
Drop locale-dependent timeval tests
Matthias Clasen [Thu, 2 Jan 2014 03:30:24 +0000 (22:30 -0500)]
Make /contenttype/tree test work installed
The x-content/win32-software type is only recognized if
the autorun.exe file is executable. Since the file is installed
as data, we need to fix up its permissions in an
install-data-hook.
Matthias Clasen [Thu, 2 Jan 2014 03:01:15 +0000 (22:01 -0500)]
Avoid a compiler warning
Matthias Clasen [Thu, 2 Jan 2014 02:39:51 +0000 (21:39 -0500)]
Make timeval tests independent of the environment
Some of the tested formats are locale-dependent, so unset
the TZ environment variable before testing them.
Chun-wei Fan [Thu, 2 Jan 2014 01:54:18 +0000 (09:54 +0800)]
MSVC 2012 Projects: Rename a Property Sheet
Forgot to update the property sheet file name from the Visual Studio 2010
update... Sorry!
Ryan Lortie [Tue, 29 Oct 2013 18:11:28 +0000 (11:11 -0700)]
Fix races in unix signal dispatch
Fix some races introduced in
be2c7b83c4a9c9d3aa76b1499c27ab19e0f4e470
while keeping the property that multiple handlers for the same unix
signal all get dispatched.
Also fix the behaviour of the source checking for pending signals when
it's created. No matter what we do here (clear the pending flag or not)
there is something that can go wrong.
If we clear the flag, we may prevent other sources from being
dispatched. If we don't clear it, we may end up dispatching the same
source twice (if we manage to dispatch it from its own thread before the
GLib worker has a chance to run).
Instead, run the full dispatch procedure when a new source is added. It
actually doesn't matter what thread this runs in since the lock is held.
https://bugzilla.gnome.org/show_bug.cgi?id=711090
Colin Walters [Thu, 2 Jan 2014 00:05:34 +0000 (19:05 -0500)]
gio/tests: Fix usage of BUILT_SOURCES
Yosef Or Boczko [Wed, 1 Jan 2014 23:40:26 +0000 (01:40 +0200)]
Fix doc build
Matthias Clasen [Wed, 1 Jan 2014 22:42:33 +0000 (17:42 -0500)]
Improve gutils.c test coverage