platform/upstream/glib.git
12 years agodocs: g_file_new_tmp: template was renamed to tmpl
Thomas Hindoe Paaboel Andersen [Sat, 25 Feb 2012 09:25:13 +0000 (10:25 +0100)]
docs: g_file_new_tmp: template was renamed to tmpl

12 years agoupdate Punjabi Translation
A S Alam [Sun, 26 Feb 2012 10:54:15 +0000 (16:24 +0530)]
update Punjabi Translation

12 years agoUpdated Serbian translation
Мирослав Николић [Sun, 26 Feb 2012 10:26:11 +0000 (11:26 +0100)]
Updated Serbian translation

12 years agoUpdated Uyghur translation
Gheyret Kenji [Sun, 26 Feb 2012 02:23:43 +0000 (11:23 +0900)]
Updated Uyghur translation

12 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Sat, 25 Feb 2012 22:18:29 +0000 (01:18 +0300)]
Updated Belarusian translation.

12 years agoMake some strings translatable
Jonh Wendell [Sat, 25 Feb 2012 12:54:53 +0000 (10:54 -0200)]
Make some strings translatable

12 years agoUpdated Lithuanian translation
Aurimas Černius [Sat, 25 Feb 2012 20:37:20 +0000 (22:37 +0200)]
Updated Lithuanian translation

12 years agoFixed a typo
Jonh Wendell [Sat, 25 Feb 2012 12:18:40 +0000 (10:18 -0200)]
Fixed a typo

12 years agoUpdated Persian Translation
Arash Mousavi [Sat, 25 Feb 2012 12:05:17 +0000 (15:35 +0330)]
Updated Persian Translation

12 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Sat, 25 Feb 2012 02:44:50 +0000 (10:44 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

12 years ago[Bug 529806] Cannot build in 64-bit Mac OS X due to libiconv
John Ralls [Sat, 25 Feb 2012 01:04:52 +0000 (17:04 -0800)]
[Bug 529806] Cannot build in 64-bit Mac OS X due to libiconv

12 years agoAdded better support of G_STRFUNC for Visual Studio platform
Filippo Della Betta [Thu, 16 Feb 2012 09:04:50 +0000 (10:04 +0100)]
Added better support of G_STRFUNC for Visual Studio platform

https://bugzilla.gnome.org/show_bug.cgi?id=670128

12 years agoUpdated Brazilian Portuguese translation
Jonh Wendell [Fri, 24 Feb 2012 19:12:14 +0000 (17:12 -0200)]
Updated Brazilian Portuguese translation

12 years agoHide global variable for signal ID in gdbusproxy.c.
Daiki Ueno [Fri, 24 Feb 2012 01:12:08 +0000 (10:12 +0900)]
Hide global variable for signal ID in gdbusproxy.c.

Also a similar fix for gdbusserver.c.

https://bugzilla.gnome.org/show_bug.cgi?id=670721

12 years agoFix up 'Since:' for g_mapped_file_new_from_fd()
Richard Hughes [Thu, 23 Feb 2012 10:34:46 +0000 (10:34 +0000)]
Fix up 'Since:' for g_mapped_file_new_from_fd()

It was introduced in 2.31.0, not 2.30.x

12 years agogthread-posix: fix order of arguments in g_thread_abort() message
Dan Winship [Wed, 22 Feb 2012 16:38:43 +0000 (11:38 -0500)]
gthread-posix: fix order of arguments in g_thread_abort() message

12 years agogasyncqueue: fix a 32bit overflow in g_async_queue_timed_pop
Dan Winship [Wed, 22 Feb 2012 13:12:52 +0000 (08:12 -0500)]
gasyncqueue: fix a 32bit overflow in g_async_queue_timed_pop

also, add a test for g_async_queue_timed_pop() and
g_async_queue_timeout_pop() to tests/asyncqueue.c

https://bugzilla.gnome.org/show_bug.cgi?id=669670

12 years agogvaluetransform: Fix an infinite loop with GFlagsValue sets with the 0 value
Rui Matos [Tue, 21 Feb 2012 15:42:43 +0000 (16:42 +0100)]
gvaluetransform: Fix an infinite loop with GFlagsValue sets with the 0 value

Transforming a GValue holding flags from a GFlagsValue set that includes the 0
value (no flag bits set) into a string would loop until exhausting all the
available memory.

https://bugzilla.gnome.org/show_bug.cgi?id=670557

12 years agoBump version
Rico Tzschichholz [Tue, 21 Feb 2012 13:19:37 +0000 (14:19 +0100)]
Bump version

12 years agoUpdated Galician translations
Fran Diéguez [Tue, 21 Feb 2012 10:57:41 +0000 (11:57 +0100)]
Updated Galician translations

12 years agomention g_application_quit() in the NEWS 2.31.18
Ryan Lortie [Tue, 21 Feb 2012 00:37:09 +0000 (01:37 +0100)]
mention g_application_quit() in the NEWS

12 years agoGApplication: add g_application_quit()
Ryan Lortie [Mon, 20 Feb 2012 20:41:35 +0000 (21:41 +0100)]
GApplication: add g_application_quit()

A long requested feature; this quits the application immediately,
ignoring the hold count.

https://bugzilla.gnome.org/show_bug.cgi?id=670485

12 years agoMention documentation fixes in NEWS
Ryan Lortie [Tue, 21 Feb 2012 00:12:25 +0000 (01:12 +0100)]
Mention documentation fixes in NEWS

12 years agodocs: Fix g_async_queue_timeout_pop_unlocked typo
David King [Sat, 18 Feb 2012 11:56:09 +0000 (11:56 +0000)]
docs: Fix g_async_queue_timeout_pop_unlocked typo

12 years agodocs: Add some missing G_TOKEN_* descriptions
David King [Sat, 18 Feb 2012 12:25:32 +0000 (12:25 +0000)]
docs: Add some missing G_TOKEN_* descriptions

12 years agodocs: Fix g_key_file_load_from_file error parameter
David King [Sun, 19 Feb 2012 15:16:59 +0000 (15:16 +0000)]
docs: Fix g_key_file_load_from_file error parameter

12 years agodocs: Ignore private network monitor headers
David King [Sun, 19 Feb 2012 15:19:40 +0000 (15:19 +0000)]
docs: Ignore private network monitor headers

12 years agodocs: Fix GTlsBackend typo GTyep → GType
David King [Sun, 19 Feb 2012 15:41:12 +0000 (15:41 +0000)]
docs: Fix GTlsBackend typo GTyep → GType

12 years agodocs: Fix GTlsDatabase typos
David King [Sun, 19 Feb 2012 15:51:09 +0000 (15:51 +0000)]
docs: Fix GTlsDatabase typos

12 years agodocs: Fix GApplicationCommandLine typo
David King [Sun, 19 Feb 2012 16:09:35 +0000 (16:09 +0000)]
docs: Fix GApplicationCommandLine typo

12 years agodocs: Fix define typos in GApplication
David King [Sun, 19 Feb 2012 16:11:23 +0000 (16:11 +0000)]
docs: Fix define typos in GApplication

12 years agodocs: Fix typo in GActionGroup
David King [Sun, 19 Feb 2012 16:13:59 +0000 (16:13 +0000)]
docs: Fix typo in GActionGroup

12 years agodocs: Fix GActionGroup exporter typo
David King [Sun, 19 Feb 2012 16:14:54 +0000 (16:14 +0000)]
docs: Fix GActionGroup exporter typo

12 years agodocs: Remove some old GMenu documentation
David King [Sun, 19 Feb 2012 16:18:37 +0000 (16:18 +0000)]
docs: Remove some old GMenu documentation

12 years agodocs: Fix typo GAsyncReady → GAsyncResult
David King [Sun, 19 Feb 2012 16:25:07 +0000 (16:25 +0000)]
docs: Fix typo GAsyncReady → GAsyncResult

Also GSimpleAsyncReady → GSimpleAsyncResult.

12 years agodocs: Remove mention of GFileAttributeValue
David King [Sun, 19 Feb 2012 16:26:52 +0000 (16:26 +0000)]
docs: Remove mention of GFileAttributeValue

Instead mention GFileAttributeInfo.

12 years agodocs: Fix some GDBusConnection typos
David King [Sun, 19 Feb 2012 16:30:10 +0000 (16:30 +0000)]
docs: Fix some GDBusConnection typos

12 years agodocs: Fix typo GConvertFlags → GConverterFlags
David King [Sun, 19 Feb 2012 16:32:08 +0000 (16:32 +0000)]
docs: Fix typo GConvertFlags → GConverterFlags

12 years agodocs: Fix typo export → unexport
David King [Sun, 19 Feb 2012 16:34:27 +0000 (16:34 +0000)]
docs: Fix typo export → unexport

12 years agodocs: Fix GDBusProxy typo name → g-name
David King [Sun, 19 Feb 2012 16:35:10 +0000 (16:35 +0000)]
docs: Fix GDBusProxy typo name → g-name

12 years agodocs: Fix typo in GFileInputStream
David King [Sun, 19 Feb 2012 16:36:28 +0000 (16:36 +0000)]
docs: Fix typo in GFileInputStream

g_seekable_stream_can_seek() → g_seekable_can_seek().

12 years agodocs: Fix method names in GMenu and GMenuModel
David King [Sun, 19 Feb 2012 16:37:55 +0000 (16:37 +0000)]
docs: Fix method names in GMenu and GMenuModel

12 years agodocs: Fix GNetworkAddress typo
David King [Sun, 19 Feb 2012 16:39:15 +0000 (16:39 +0000)]
docs: Fix GNetworkAddress typo

g_network_address_parse_host() → g_network_address_parse().

12 years agodocs: Add documentation for supports_hostname in GProxy
David King [Sun, 19 Feb 2012 16:40:06 +0000 (16:40 +0000)]
docs: Add documentation for supports_hostname in GProxy

Also fix a typo has → as.

12 years agodocs: Correct GSocketClient::event link
David King [Sun, 19 Feb 2012 16:42:55 +0000 (16:42 +0000)]
docs: Correct GSocketClient::event link

12 years agodocs: Fix some typos in GVolume
David King [Sun, 19 Feb 2012 16:46:59 +0000 (16:46 +0000)]
docs: Fix some typos in GVolume

12 years agodocs: Fix GFileAttribute link in GFileInfo
David King [Sun, 19 Feb 2012 16:48:20 +0000 (16:48 +0000)]
docs: Fix GFileAttribute link in GFileInfo

12 years agodocs: Correct GUnixMount → GUnixMountEntry
David King [Sun, 19 Feb 2012 16:53:30 +0000 (16:53 +0000)]
docs: Correct GUnixMount → GUnixMountEntry

12 years agoGApplication: disable a broken test
Ryan Lortie [Mon, 20 Feb 2012 23:31:14 +0000 (00:31 +0100)]
GApplication: disable a broken test

This test made some invalid assumptions that are no longer true.
Disable it until we can figure out a better way.

12 years agogsocket: add g_socket_condition_timed_wait()
Dan Winship [Mon, 13 Feb 2012 22:20:04 +0000 (17:20 -0500)]
gsocket: add g_socket_condition_timed_wait()

https://bugzilla.gnome.org/show_bug.cgi?id=667755

12 years ago2.31.18
Matthias Clasen [Mon, 20 Feb 2012 23:26:06 +0000 (00:26 +0100)]
2.31.18

12 years agoDon't rely on /bin/sh
Matthias Clasen [Mon, 20 Feb 2012 23:25:31 +0000 (00:25 +0100)]
Don't rely on /bin/sh

Another Fedora UsrMove victim !

12 years agoUpdated Danish translation
Ask H. Larsen [Mon, 20 Feb 2012 22:25:53 +0000 (23:25 +0100)]
Updated Danish translation

12 years agol10n: Updated Italian translation
Luca Ferretti [Mon, 20 Feb 2012 14:14:18 +0000 (15:14 +0100)]
l10n: Updated Italian translation

12 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Sun, 19 Feb 2012 14:26:13 +0000 (15:26 +0100)]
Updated Norwegian bokmål translation

12 years agodocs: Fix g_drive_get_identifier() typo
David King [Sat, 18 Feb 2012 11:19:53 +0000 (11:19 +0000)]
docs: Fix g_drive_get_identifier() typo

12 years agodocs: Add GIOModuleScope and GIOModuleScopeFlags
David King [Sat, 18 Feb 2012 11:10:00 +0000 (11:10 +0000)]
docs: Add GIOModuleScope and GIOModuleScopeFlags

Fix some typos and add GIOModuleScope and GIOModuleScopeFlags to
gio-sections.txt.

12 years agodocs: Typo fix GInitiable → GInitable
David King [Sat, 18 Feb 2012 09:24:42 +0000 (09:24 +0000)]
docs: Typo fix GInitiable → GInitable

12 years agodocs: Typo fixes for GMount
David King [Sat, 18 Feb 2012 09:20:02 +0000 (09:20 +0000)]
docs: Typo fixes for GMount

12 years agoUpdated Hebrew translation.
Yaron Shahrabani [Sat, 18 Feb 2012 09:07:12 +0000 (11:07 +0200)]
Updated Hebrew translation.

12 years agoDo not fail unit test due to gdb abbreviating strings
Peter Kjellerstedt [Thu, 16 Feb 2012 11:17:32 +0000 (12:17 +0100)]
Do not fail unit test due to gdb abbreviating strings

gdb by default will only print strings up to 200 characters. After that
it abbreviates them. This affects the run-assert-msg-test.sh script if
the path to the glib installation is too long (in our case it was 133
characters, 132 would still have worked...)

By having gdb execute "set print elements 0" before printing the assert
string, the limit on maximum number of characters to print is set to
unlimited.

Signed-off-by: Peter Kjellerstedt <pkj@axis.com>
https://bugzilla.gnome.org/show_bug.cgi?id=670218

12 years agodocs: Fix a typo in the GSeekable documentation
David King [Fri, 17 Feb 2012 16:09:59 +0000 (16:09 +0000)]
docs: Fix a typo in the GSeekable documentation

12 years agoDocs: fix reference to nonexisting function
Matthias Clasen [Thu, 16 Feb 2012 18:33:44 +0000 (13:33 -0500)]
Docs: fix reference to nonexisting function

The regex syntax docs referred to g_regex_fetch() when
g_match_info_fetch() was meant.

https://bugzilla.gnome.org/show_bug.cgi?id=669865

12 years agogio: fix memory leak in g_buffered_output_stream_write_async()
Ravi Sankar Guntur [Tue, 14 Feb 2012 16:35:33 +0000 (22:05 +0530)]
gio: fix memory leak in g_buffered_output_stream_write_async()

https://bugzilla.gnome.org/show_bug.cgi?id=670085

Signed-off-by: Ravi Sankar Guntur <ravi.g@samsung.com>
12 years agogbytes: Add G_BEGIN/END_DECL guards
Christian Persch [Wed, 15 Feb 2012 14:25:47 +0000 (15:25 +0100)]
gbytes: Add G_BEGIN/END_DECL guards

Bug #670138.

12 years agoPlug a mem leak in g_environ_unsetenv
Christian Persch [Sun, 5 Feb 2012 15:00:31 +0000 (16:00 +0100)]
Plug a mem leak in g_environ_unsetenv

And clarify the memory allocation requirement of the string arrays passed to
g_environ_{,un}setenv().

==9458== 10 bytes in 1 blocks are definitely lost in loss record 16 of 39
==9458==    at 0x402AD89: malloc (vg_replace_malloc.c:236)
==9458==    by 0x4221A1F: vasprintf (vasprintf.c:78)
==9458==    by 0x40C6065: g_vasprintf (gprintf.c:314)
==9458==    by 0x409D894: g_strdup_vprintf (gstrfuncs.c:509)
==9458==    by 0x409D8C9: g_strdup_printf (gstrfuncs.c:535)
==9458==    by 0x40672E9: g_environ_setenv (genviron.c:156)
==9458==    by 0x80490E7: test_environ_array (environment.c:78)
==9458==    by 0x40A3DB5: test_case_run (gtestutils.c:1662)
==9458==    by 0x40A40B2: g_test_run_suite_internal (gtestutils.c:1715)
==9458==    by 0x40A417C: g_test_run_suite_internal (gtestutils.c:1726)
==9458==    by 0x40A42F9: g_test_run_suite (gtestutils.c:1771)
==9458==    by 0x40A3441: g_test_run (gtestutils.c:1319)
==9458==    by 0x80493F1: main (environment.c:108)

Bug #669412.

12 years agoAdd G_GNUC_BEGIN/END_IGNORE_DEPRECATIONS
Dan Winship [Fri, 10 Feb 2012 13:49:17 +0000 (08:49 -0500)]
Add G_GNUC_BEGIN/END_IGNORE_DEPRECATIONS

Add new macros to disable -Wdeprecated-declarations around a piece of
code, using the C99 (and GNU89) _Pragma() operator. Replace the
existing use of #pragma for this in gio, and suppress the warnings in
gvaluearray.c as well.

https://bugzilla.gnome.org/show_bug.cgi?id=669671

12 years agogobject: Use a destructor rather than g_atexit() for refcount debugging
Dan Winship [Fri, 10 Feb 2012 13:24:28 +0000 (08:24 -0500)]
gobject: Use a destructor rather than g_atexit() for refcount debugging

https://bugzilla.gnome.org/show_bug.cgi?id=669671

12 years agog_application_activate(): Fix typo in docs.
Murray Cumming [Wed, 15 Feb 2012 10:53:03 +0000 (11:53 +0100)]
g_application_activate(): Fix typo in docs.

12 years agoGKeyFile: fix annotation of g_key_file_load_from_data
Giovanni Campagna [Mon, 13 Feb 2012 15:42:44 +0000 (16:42 +0100)]
GKeyFile: fix annotation of g_key_file_load_from_data

(array) without (element-type) means "array of the same type as
the C type", so gchar* with (array) is interpreted as an array of
strings. Since GKeyFiles must be UTF-8 encoded anyway, just
annotate it as a string.

https://bugzilla.gnome.org/show_bug.cgi?id=658484

12 years agoGDataInputStream: don't segfault on async line reads
Giovanni Campagna [Mon, 13 Feb 2012 15:41:20 +0000 (16:41 +0100)]
GDataInputStream: don't segfault on async line reads

If an async line read fails, it returns NULL. In that case, we
must return NULL before validating the line, or we segfault.

https://bugzilla.gnome.org/show_bug.cgi?id=658484

12 years agoUpdated Belarusian translation.
Kasia Bondarava [Tue, 14 Feb 2012 15:28:32 +0000 (18:28 +0300)]
Updated Belarusian translation.

12 years agoUpdated Serbian translation
Мирослав Николић [Tue, 14 Feb 2012 10:01:33 +0000 (11:01 +0100)]
Updated Serbian translation

12 years agogasyncqueue: deprecate GTimeVal-based methods, add relative-delay ones
Dan Winship [Wed, 8 Feb 2012 13:26:36 +0000 (08:26 -0500)]
gasyncqueue: deprecate GTimeVal-based methods, add relative-delay ones

https://bugzilla.gnome.org/show_bug.cgi?id=669670

12 years agoUpdated Serbian translation
Мирослав Николић [Sun, 12 Feb 2012 19:12:30 +0000 (20:12 +0100)]
Updated Serbian translation

12 years agoUpdated Spanish translation
Daniel Mustieles [Sun, 12 Feb 2012 12:21:17 +0000 (13:21 +0100)]
Updated Spanish translation

12 years agoAdd a few more missing functions to the docs
Matthias Clasen [Sat, 11 Feb 2012 03:13:36 +0000 (22:13 -0500)]
Add a few more missing functions to the docs

12 years agoAdd g_settings_new_full to the docs
Matthias Clasen [Sat, 11 Feb 2012 03:08:47 +0000 (22:08 -0500)]
Add g_settings_new_full to the docs

12 years agoAdd g_test_undefined to the docs
Matthias Clasen [Sat, 11 Feb 2012 02:10:58 +0000 (21:10 -0500)]
Add g_test_undefined to the docs

12 years agoFix a parameter name mismatch
Matthias Clasen [Sat, 11 Feb 2012 02:09:39 +0000 (21:09 -0500)]
Fix a parameter name mismatch

gtk-doc gets unhappy if parameters aren't named the same in
headers, sources and doc comments.

12 years agoDrop menu markup docs
Matthias Clasen [Fri, 10 Feb 2012 23:06:10 +0000 (18:06 -0500)]
Drop menu markup docs

This does not exist anymore.

12 years agodocs: Fix some typos in gwin32inputstream
Javier Jardón [Fri, 10 Feb 2012 20:09:20 +0000 (20:09 +0000)]
docs: Fix some typos in gwin32inputstream

12 years agosocket/win32: flush pending read before signaling HUP
Marc-André Lureau [Fri, 10 Feb 2012 01:02:29 +0000 (02:02 +0100)]
socket/win32: flush pending read before signaling HUP

Unix and Windows gio GSocket behaves differently when the socket is
closed by the peer. On Unix, the client receives pending data before
receiving HUP. But on Windows, the HUP may come before, resulting in
unreliable and racy code. We should have same behaviour on all
platforms.

According to MSDN documentation: "an application should check for
remaining data upon receipt of FD_CLOSE to avoid any possibility of
losing data."

https://bugzilla.gnome.org/show_bug.cgi?id=669810

12 years agogio/tests: add /socket/close_graceful test
Marc-André Lureau [Fri, 10 Feb 2012 13:52:33 +0000 (14:52 +0100)]
gio/tests: add /socket/close_graceful test

Add a test to check that remaining data is read before the close
event is received.

https://bugzilla.gnome.org/show_bug.cgi?id=669810

12 years agoFix g_hash_table_foreach crash with NULL hash table
Christophe Fergeau [Thu, 9 Feb 2012 16:59:55 +0000 (17:59 +0100)]
Fix g_hash_table_foreach crash with NULL hash table

When G_DISABLE_ASSERT is not defined, g_hash_table_foreach and
g_hash_table_find dereferences the hash table argument before
checking if it's NULL. This causes a crash when one of this function
is mistakenly called with a NULL argument instead of returning
with a warning through g_return_if_fail.

12 years agoDist gio/gconstructor_as_data.h
Chun-wei Fan [Fri, 10 Feb 2012 00:57:21 +0000 (08:57 +0800)]
Dist gio/gconstructor_as_data.h

This will avoid a dependency on a PERL installation for Visual Studio
builds.

Checked with mclasen in
https://bugzilla.gnome.org/show_bug.cgi?id=669538#c2

12 years agoBug 669538-glib-compile-resources.c: Include io.h on Windows
Chun-wei Fan [Tue, 7 Feb 2012 06:41:24 +0000 (14:41 +0800)]
Bug 669538-glib-compile-resources.c: Include io.h on Windows

This is needed for close() on Windows (Visual C++ specifically) so that
no C4013 (aka Implicit declaration of ...) errors/warnings will be emitted.

12 years agoAllow multiple --sourcedir options to glib-compile-resources
Richard Hughes [Thu, 9 Feb 2012 16:22:36 +0000 (16:22 +0000)]
Allow multiple --sourcedir options to glib-compile-resources

12 years agoGApplication: put non-unique apps on D-Bus
Ryan Lortie [Thu, 9 Feb 2012 17:15:49 +0000 (12:15 -0500)]
GApplication: put non-unique apps on D-Bus

For a number of reasons it might be useful to register the object paths
associated with a non-unique application so that the application can at
least field requests to its unique D-Bus name.

https://bugzilla.gnome.org/show_bug.cgi?id=647986

12 years agodocs: Fix gdbus-codegen example XML
David King [Tue, 7 Feb 2012 09:02:51 +0000 (09:02 +0000)]
docs: Fix gdbus-codegen example XML

Without the surrounding <node> tags, gdbus-codegen does not generate any
implementation for the interface described in the introspection XML.

https://bugzilla.gnome.org/show_bug.cgi?id=669544

12 years agogthread-win32: update for g_get_monotonic_time() changes
Dan Winship [Fri, 3 Feb 2012 17:14:06 +0000 (12:14 -0500)]
gthread-win32: update for g_get_monotonic_time() changes

g_cond_wait_until() was calling GetSystemTimeAsFileTime() to get the
current time, which is no longer what g_get_monotonic_time() returns.

https://bugzilla.gnome.org/show_bug.cgi?id=669329

12 years agoglocalfile: fix error code when opening a directory on win32
Dan Winship [Fri, 3 Feb 2012 16:45:51 +0000 (11:45 -0500)]
glocalfile: fix error code when opening a directory on win32

g_file_read() was returning G_IO_ERROR_IS_DIRECTORY when you tried to
open a directory on unix, but G_IO_ERROR_PERMISSION_DENIED on win32.
Fix that, and add a test to tests/file.c

Pointed out on IRC by Paweł Forysiuk.

https://bugzilla.gnome.org/show_bug.cgi?id=669330

12 years agoGDBusProxy: Add G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES flag
David Zeuthen [Wed, 8 Feb 2012 17:46:04 +0000 (12:46 -0500)]
GDBusProxy: Add G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES flag

This is useful when using certain D-Bus services where the
PropertiesChanged signal does not include the property value such as
e.g. various systemd mechanisms, see e.g.

 https://bugs.freedesktop.org/show_bug.cgi?id=37632

Signed-off-by: David Zeuthen <davidz@redhat.com>
12 years agoRetrieve cwd and environ in local GApplicationCommandLine
Jesse van den Kieboom [Wed, 8 Feb 2012 16:13:34 +0000 (17:13 +0100)]
Retrieve cwd and environ in local GApplicationCommandLine

https://bugzilla.gnome.org/show_bug.cgi?id=669689

12 years agoglib/tests: mainloop - fix a mem leak.
Ravi Sankar Guntur [Mon, 6 Feb 2012 17:40:34 +0000 (23:10 +0530)]
glib/tests: mainloop - fix a mem leak.

https://bugzilla.gnome.org/show_bug.cgi?id=669372

Signed-off-by: Ravi Sankar Guntur <ravi.g@samsung.com>
12 years agoglib/tests: fix memory leak
Ravi Sankar Guntur [Sat, 4 Feb 2012 18:12:41 +0000 (23:42 +0530)]
glib/tests: fix memory leak

https://bugzilla.gnome.org/show_bug.cgi?id=669372

Signed-off-by: Ravi Sankar Guntur <ravi.g@samsung.com>
12 years agogio: update .gitignore
Dan Winship [Wed, 8 Feb 2012 13:39:42 +0000 (08:39 -0500)]
gio: update .gitignore

12 years agoglib/tests/option-context: remove unused tests
Dan Winship [Wed, 8 Feb 2012 13:46:03 +0000 (08:46 -0500)]
glib/tests/option-context: remove unused tests

These tests were written, but then never used since it was decided to
add g_warnings() to goption.c in the cases they were supposed to be
testing. So anyway, just remove them.

12 years agoconfig.h.win32.in: Add note on if_nametoindex
Chun-wei Fan [Wed, 8 Feb 2012 12:41:13 +0000 (20:41 +0800)]
config.h.win32.in: Add note on if_nametoindex

This explains the current disabling of HAVE_IF_NAMETOINDEX as we are
still supporting Windows XP.  This is expected to change when the patch
for XP support for if_nametoindex in accepted into master.

12 years agoconfig.h.win32.in: Updates
Chun-wei Fan [Wed, 8 Feb 2012 11:52:55 +0000 (19:52 +0800)]
config.h.win32.in: Updates

Make this more like the config.h.in template