platform/upstream/glib.git
11 years agoUpdated Uyghur translation
Gheyret Kenji [Wed, 13 Mar 2013 11:39:02 +0000 (20:39 +0900)]
Updated Uyghur translation

Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
11 years agoUpdated Danish translation
Joe Hansen [Tue, 12 Mar 2013 22:14:39 +0000 (23:14 +0100)]
Updated Danish translation

11 years ago[l10n] Updated Catalan (Valencian) translation
Carles Ferrando [Tue, 12 Mar 2013 22:02:33 +0000 (23:02 +0100)]
[l10n] Updated Catalan (Valencian) translation

11 years ago[l10n] Updated Catalan translation
Gil Forcada [Tue, 12 Mar 2013 22:02:24 +0000 (23:02 +0100)]
[l10n] Updated Catalan translation

11 years agoUpdated French translation
Claude Paroz [Tue, 12 Mar 2013 17:17:12 +0000 (18:17 +0100)]
Updated French translation

11 years agotests: clean up for Unicode corrigendum #9
Ryan Lortie [Tue, 12 Mar 2013 16:32:16 +0000 (12:32 -0400)]
tests: clean up for Unicode corrigendum #9

Unicode corrigendum #9 spells out in no uncertain terms that on
conversion interfaces we should not reject characters like U+FFFE and
U+FFFF which we were doing before.

Commit f91ef4ef15d220f6899c97aaf5b1c0a8f68cfe9a started accepting these
characters, but we had some testcases that were checking that strings
containing these characters should be rejected.

Update the tests.

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

11 years agoAssamese translation updated for gnome 3.8
Nilamdyuti Goswami [Tue, 12 Mar 2013 12:53:29 +0000 (18:23 +0530)]
Assamese translation updated for gnome 3.8

11 years agoFix /appinfo/mime tests
Martin Pitt [Mon, 11 Mar 2013 08:29:34 +0000 (09:29 +0100)]
Fix /appinfo/mime tests

Commit f641699 (for bug 675333) introduced a check whether the Exec= program in
a .desktop actually exists. This broke the /appinfo/mime/* test cases which use
executable names like "my_app".

Use real ones instead (like "echo" and "sleep"), and add a new
/appinfo/mime/ignore-nonexisting test case which verifies that
g_desktop_app_info_new() indeed ignores nonexisting executables.

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

11 years ago[l10n] Updated Italian translation.
Milo Casagrande [Mon, 11 Mar 2013 21:08:36 +0000 (22:08 +0100)]
[l10n] Updated Italian translation.

11 years agoUpdated Galician translations
Fran Diéguez [Mon, 11 Mar 2013 20:54:50 +0000 (21:54 +0100)]
Updated Galician translations

11 years agoUpdated Korean translation
Seong-ho Cho [Mon, 11 Mar 2013 17:22:06 +0000 (02:22 +0900)]
Updated Korean translation

11 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 11 Mar 2013 17:09:07 +0000 (18:09 +0100)]
Updated Spanish translation

11 years agoUpdated Greek translation
Dimitris Spingos [Mon, 11 Mar 2013 15:26:39 +0000 (17:26 +0200)]
Updated Greek translation

11 years agoUpdated Serbian translation
Мирослав Николић [Mon, 11 Mar 2013 10:29:28 +0000 (11:29 +0100)]
Updated Serbian translation

11 years ago[l10n] Updated German translation
Mario Blättermann [Sun, 10 Mar 2013 16:06:47 +0000 (17:06 +0100)]
[l10n] Updated German translation

11 years ago[l10n] Update Japanese translation
Jiro Matsuzawa [Sun, 10 Mar 2013 12:55:53 +0000 (21:55 +0900)]
[l10n] Update Japanese translation

11 years agoUpdated Brazilian Portuguese translation
Rafael Ferreira [Sat, 9 Mar 2013 18:43:20 +0000 (15:43 -0300)]
Updated Brazilian Portuguese translation

11 years agoUpdated Polish translation
Piotr Drąg [Sat, 9 Mar 2013 18:41:07 +0000 (19:41 +0100)]
Updated Polish translation

11 years agoUpdated Lithuanian translation
Aurimas Černius [Sat, 9 Mar 2013 15:20:42 +0000 (17:20 +0200)]
Updated Lithuanian translation

11 years agogsettings-tool: Make a string translatable
Jiro Matsuzawa [Sat, 9 Mar 2013 14:56:02 +0000 (23:56 +0900)]
gsettings-tool: Make a string translatable

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

11 years agoUpdated Slovenian translation
Matej Urbančič [Sat, 9 Mar 2013 12:50:59 +0000 (13:50 +0100)]
Updated Slovenian translation

11 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Sat, 9 Mar 2013 11:01:43 +0000 (14:01 +0300)]
Updated Belarusian translation.

11 years agoUpdated Greek translation
Dimitris Spingos [Sat, 9 Mar 2013 09:37:03 +0000 (11:37 +0200)]
Updated Greek translation

11 years agoUpdated Polish translation
Piotr Drąg [Fri, 8 Mar 2013 19:46:44 +0000 (20:46 +0100)]
Updated Polish translation

11 years ago[l10n] Updated German translation
Mario Blättermann [Fri, 8 Mar 2013 16:06:53 +0000 (17:06 +0100)]
[l10n] Updated German translation

11 years agoUpdated Brazilian Portuguese translation
Rafael Ferreira [Fri, 8 Mar 2013 13:37:54 +0000 (10:37 -0300)]
Updated Brazilian Portuguese translation

11 years agoUpdated Thai translation
Theppitak Karoonboonyanan [Fri, 8 Mar 2013 08:46:25 +0000 (15:46 +0700)]
Updated Thai translation

11 years ago[win32] Remove MemoryBarrier() fallback implementation
Behdad Esfahbod [Fri, 8 Mar 2013 01:14:08 +0000 (20:14 -0500)]
[win32] Remove MemoryBarrier() fallback implementation

I added these because the older mingw32 toolchain didn't have
MemoryBarrier().  The newer mingw-w64 toolchain however has.
As reported by John Emmas this was causing build failure with
MSVC because of inline issues.  But that reminded me that we
may be taking this path even if the system implements
MemoryBarrier as a function, which is a waste.  So, just remove
it.

11 years agoUpdated Galician translations
Fran Diéguez [Thu, 7 Mar 2013 23:49:41 +0000 (00:49 +0100)]
Updated Galician translations

11 years agoFix a mixup of singular and plural
Matthias Clasen [Thu, 7 Mar 2013 21:44:36 +0000 (16:44 -0500)]
Fix a mixup of singular and plural

Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=695339

11 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Thu, 7 Mar 2013 13:20:49 +0000 (16:20 +0300)]
Updated Belarusian translation.

11 years agoUpdated Brazilian Portuguese translation
Rafael Ferreira [Thu, 7 Mar 2013 03:31:42 +0000 (00:31 -0300)]
Updated Brazilian Portuguese translation

11 years agotests/appinfo: Fix a typo
Jasper St. Pierre [Thu, 7 Mar 2013 01:32:14 +0000 (20:32 -0500)]
tests/appinfo: Fix a typo

The environment variable name is BLA, not BAR, so if BAR is
set for some strange reason, the test fails.

11 years ago[l10n] Updated German translation
Mario Blättermann [Tue, 5 Mar 2013 21:33:18 +0000 (22:33 +0100)]
[l10n] Updated German translation

11 years agounicode: Allow noncharacters
Christian Persch [Mon, 25 Feb 2013 13:48:14 +0000 (14:48 +0100)]
unicode: Allow noncharacters

Implement unicode corrigendum #9.

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

11 years agobase64: Fix g_base64_decode_step ()
Ognyan Tonchev [Thu, 28 Feb 2013 17:27:14 +0000 (18:27 +0100)]
base64: Fix g_base64_decode_step ()

Do not produce invalid data if there was padding character in the
previous sequence.

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

11 years agobase64: Add tests for incremental decoding with very small block size
Colin Walters [Fri, 1 Mar 2013 18:29:29 +0000 (13:29 -0500)]
base64: Add tests for incremental decoding with very small block size

At the moment, sizes 1-3 are commented out since they fail, but
a future patch will fix that.

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

11 years agodesktopappinfo: check whether the specified executable is valid
Cosimo Cecchi [Fri, 4 May 2012 21:51:35 +0000 (17:51 -0400)]
desktopappinfo: check whether the specified executable is valid

Before declaring the desktop file as valid, make sure the referenced
application actually exists in path and the commandline is not
malformed.

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

11 years ago[l10n] Updated German translation
Mario Blättermann [Sun, 3 Mar 2013 21:11:21 +0000 (22:11 +0100)]
[l10n] Updated German translation

11 years agoUpdate for 2.37.9
Matthias Clasen [Sat, 2 Mar 2013 14:25:48 +0000 (09:25 -0500)]
Update for 2.37.9

11 years agoUpdated Vietnamese translation
Nguyễn Thái Ngọc Duy [Sat, 2 Mar 2013 13:42:13 +0000 (20:42 +0700)]
Updated Vietnamese translation

11 years agopo/vi: import from Damned Lies
Nguyễn Thái Ngọc Duy [Sat, 2 Mar 2013 13:37:35 +0000 (20:37 +0700)]
po/vi: import from Damned Lies

11 years agoMake GList more robust
Matthias Clasen [Sat, 2 Mar 2013 00:11:11 +0000 (19:11 -0500)]
Make GList more robust

g_list_delete_link was silently ignoring a NULL link before
the last change. Make it do so again, since we've found callers
that rely on this.

11 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Fri, 1 Mar 2013 14:23:13 +0000 (22:23 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

11 years agoUpdated Brazilian Portuguese translation
Rafael Ferreira [Fri, 1 Mar 2013 09:35:30 +0000 (06:35 -0300)]
Updated Brazilian Portuguese translation

11 years agoFix gspawn-win32-helper.c with newer Microsoft CRTs
Chun-wei Fan [Tue, 26 Feb 2013 04:38:57 +0000 (12:38 +0800)]
Fix gspawn-win32-helper.c with newer Microsoft CRTs

The newer Microsoft CRTs (8.0/2005 and later) impose much stricter
(paranoid) checks on close() being doubly called and the use of
invalid file descriptors.  This makes the calls on the file descriptors
use more caution when using them and only call close() when necessary.

This also adds an (empty) invalid parameter handler* as required by the
newer Microsoft CRTs to prevent the system from aborting the process
when we are checking whether a file descriptor is valid.

[*]: http://msdn.microsoft.com/en-us/library/a9yf33zb.aspx

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

11 years agoUpdate config.h.win32.in
Chun-wei Fan [Fri, 1 Mar 2013 08:11:24 +0000 (16:11 +0800)]
Update config.h.win32.in

Add entry for __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4, to better reflect the
entries of items in config.h.in.  We are not currently defining this here
as the pre-configured config.h.win32.in is primarily meant for Visual
Studio builds of GLib-the MinGW/GCC/Clang builds of GLib will normally
use the autotools builds, which should give the correct config.h entries
upon running ./configure.

11 years agoUpdate Simplified Chinese translation
Wylmer Wang [Thu, 28 Feb 2013 13:07:02 +0000 (21:07 +0800)]
Update Simplified Chinese translation

11 years agobuild: Add --disable-compile-warnings
Colin Walters [Tue, 26 Feb 2013 16:19:51 +0000 (11:19 -0500)]
build: Add --disable-compile-warnings

Some (broken) toolchains for example trip up
-Werror=missing-prototypes in system headers.  This patch allows
people to skip the formerly hardcoded "baseline" warnings.

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

11 years agoMinor
Behdad Esfahbod [Tue, 26 Feb 2013 04:08:43 +0000 (23:08 -0500)]
Minor

11 years ago[win32] Fix atomic ops on mingw*
Behdad Esfahbod [Tue, 26 Feb 2013 03:48:03 +0000 (22:48 -0500)]
[win32] Fix atomic ops on mingw*

Bug 682896 - glib doesn't build on mingw32

11 years ago[win32] Add fallback implementations for gatomic.c on mingw32
Behdad Esfahbod [Tue, 26 Feb 2013 03:01:11 +0000 (22:01 -0500)]
[win32] Add fallback implementations for gatomic.c on mingw32

Bug 682896 - glib doesn't build on mingw32

11 years agoPunjabi: Translation updated (aalam)
A S Alam [Tue, 26 Feb 2013 01:48:28 +0000 (07:18 +0530)]
Punjabi: Translation updated (aalam)

11 years agoGList: be more robust
Matthias Clasen [Sun, 24 Feb 2013 21:54:09 +0000 (22:54 +0100)]
GList: be more robust

We can detect list corruption in some cases. The new test case
demonstrates a case where we can warn instead of silently corrupt
the list. This was pointed out by Steve Grubb.

Also, use the same auxiliary routine in all places where we unlink
a list element.

11 years agogtestutils: fix two GLIB_AVAILABLE flags
Dan Winship [Sun, 24 Feb 2013 14:02:10 +0000 (15:02 +0100)]
gtestutils: fix two GLIB_AVAILABLE flags

g_test_expect_message() and g_test_assert_expected_messages() appeared
in 2.34

11 years agoUpdated Slovak translation
Ján Kyselica [Fri, 22 Feb 2013 22:27:10 +0000 (22:27 +0000)]
Updated Slovak translation

11 years agoUpdated Uyghur translation
Gheyret Kenji [Fri, 22 Feb 2013 13:52:26 +0000 (22:52 +0900)]
Updated Uyghur translation

Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
11 years agogsignal: improve warning output
Ryan Lortie [Thu, 21 Feb 2013 11:25:26 +0000 (11:25 +0000)]
gsignal: improve warning output

When looking up signals by name (to connect, for example) and the named
signal cannot be found on the given instance, report the type of the
instance.

This is quite a lot more useful as a diagnostic message than only a
memory address.

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

11 years agosignals: Ensure we ref handler in emission fast path
Alexander Larsson [Thu, 21 Feb 2013 15:10:36 +0000 (16:10 +0100)]
signals: Ensure we ref handler in emission fast path

We need to keep a reference to the handler in the fast path, just like
in the slow path, otherwise if another thread disconnects the handler
we may destroy the closure while we're using it without the lock held.

We also move the freeing of the instance to after the emission is totally
done as the handler_unref_R (and the tracepoint) reference it.

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

11 years agosignals: No need to use atomics for Handler refcount
Alexander Larsson [Thu, 21 Feb 2013 15:06:24 +0000 (16:06 +0100)]
signals: No need to use atomics for Handler refcount

handler_ref and handler_unref_R are always called with the signal
lock held. This is obvious for handler_unref_R as it even sometimes
drops this lock, and can be verified quickly for handler_ref by looking
at all call sites.

This improves the performace about 6% on the emit-handled and the
emit-handled-generic tests.

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

11 years agoGApplication: document IS_SERVICE timeout properly
Ryan Lortie [Thu, 21 Feb 2013 14:58:32 +0000 (14:58 +0000)]
GApplication: document IS_SERVICE timeout properly

The documentation was suggesting that using G_APPLICATION_IS_SERVICE
would automatically set an inactivity timeout (ie: app stays around for
a while after the use count drops to zero).

In reality, it only adds an initial 10 second wait for the first
activation message to arrive after which it uses the normal inactivity
timeout mechanism.

11 years agothreads: don't do rlimit test when running as root
Ryan Lortie [Thu, 21 Feb 2013 10:19:27 +0000 (10:19 +0000)]
threads: don't do rlimit test when running as root

Linux CAP_SYS_RESOURCE overrides RLIMIT_NPROC so we probably shouldn't
test thread creation failure when running the test as root...

11 years agoGNetworkMonitorBase: implement can_reach_async
Dan Winship [Tue, 19 Feb 2013 21:12:30 +0000 (16:12 -0500)]
GNetworkMonitorBase: implement can_reach_async

Implement the g_network_monitor_can_reach_async() rather than falling
back to the default implementation, which calls the sync version (not
in a thread).

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

11 years agog_network_monitor_base_can_reach: Check for default route after enumerating.
Matthew Barnes [Tue, 19 Feb 2013 16:18:11 +0000 (11:18 -0500)]
g_network_monitor_base_can_reach: Check for default route after enumerating.

Enumerate the GSocketConnectable before checking for a default route.
For some connectable types this will involve a DNS lookup.  This will
elminate false positives for hosts behind a VPN since DNS lookup will
fail if the VPN is not connected.

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

11 years agoGNetworkAddress: drop cached addresses on resolver reload
Dan Winship [Tue, 19 Feb 2013 20:19:22 +0000 (15:19 -0500)]
GNetworkAddress: drop cached addresses on resolver reload

If the resolver reloads (ie, if /etc/resolv.conf changes),
GNetworkAddress needs to re-resolve its addresses the next time it's
enumerated. Otherwise hosts that have different IP addresses inside
and outside a VPN won't work correctly if you hold on to a
GNetworkAddress for them for a long time.

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

11 years agogutils: stop g_get_home_dir() from reading passwd
Ryan Lortie [Mon, 4 Feb 2013 13:41:25 +0000 (14:41 +0100)]
gutils: stop g_get_home_dir() from reading passwd

In the case that the "HOME" environment variable is set (as it is under
normal circumstances), we don't really need to be opening /etc/passwd.

For historical reasons (ie: how we used to ignore $HOME) and due to the
grouping of many unrelated things together (reading username, hostname,
home directory, tmpdir, etc.) into one function we were still opening
/etc/passwd in g_get_home_dir(), even if $HOME was set.

Since earlier commits removed code from it, all that remains in
g_get_any_init_do() is the logic for dealing with $HOME and reading the
password database.

We now split the logic to deal with $HOME into g_get_home_dir().  With
only the password database functionality remaining, g_get_any_init_do()
is renamed to g_get_user_database_entry() and modified not to set global
variables but rather return a struct.  If g_get_home_dir() cannot find
$HOME, it falls back to calling g_get_user_database_entry() and using
the home directory from there.

Use of the 'g_utils_global' lock is further reduced by using
g_once_init_enter() to protect the critical sections in each of
g_get_user_database_entry() and g_get_home_dir().

Finally, the g_get_user_name() and g_get_real_name() functions are
modified to use the new regime.

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

11 years agogutils: replace direct references to g_home_dir
Ryan Lortie [Mon, 4 Feb 2013 13:40:03 +0000 (14:40 +0100)]
gutils: replace direct references to g_home_dir

Some code was directly calling g_get_any_init() and then expecting to be
able to use the static 'g_home_dir' variable directly.  Change these
over to g_get_home_dir() instead.

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

11 years agogutils: split out g_get_tmp_dir()
Ryan Lortie [Mon, 4 Feb 2013 13:17:08 +0000 (14:17 +0100)]
gutils: split out g_get_tmp_dir()

Remove the code for getting the tmpdir from g_get_any_init_do() and
outside of the g_utils_global lock.

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

11 years agogutils: split out g_get_host_name()
Ryan Lortie [Mon, 4 Feb 2013 12:49:06 +0000 (13:49 +0100)]
gutils: split out g_get_host_name()

Remove the code for getting the hostname from g_get_any_init_do() and
outside of the g_utils_global lock.

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

11 years agowin32: Drop old codepage ABI from gutils.c
Ryan Lortie [Mon, 4 Feb 2013 13:04:05 +0000 (14:04 +0100)]
win32: Drop old codepage ABI from gutils.c

This is a source-compatible change and only breaks ABI with respect to
truly ancient binaries (and those binaries are already broken for other
reasons).

Back in the day, functions like g_get_user_name() used to return strings
in the system codepage instead of utf8 (as they do today).

It was decided at some point to change these functions to return utf8,
breaking source compatibility but keeping ABI compatibility.  This was
done by exporting new symbols with names like g_get_user_name_utf8() and
using a #define of the old name over to the new name (so that newly
compiled code would link against the _utf8 version, but old binaries
would continue to use the non-utf8 variant).

Meanwhile, glib has undergone several ABI breaks on Windows since, so
those old binaries don't work anymore.

Start to clean up this mess by removing the #define renaming.  New
binaries calling g_get_user_name() will now link against
g_get_user_name() and it will return utf8.

We must keep the functions like g_get_user_name_utf8() for binary
compatibility with recently built programs (ie: ones built with the
renaming).  Nobody should have ever been calling these directly and of
course they can return utf8, so just add them as internal wrappers in the
.c file and declare them _GLIB_EXTERN there.

One day, if we feel like breaking Windows ABI again, we can finish the
cleanup by dropping the wrappers.  There is some talk of introducing
something like 'ABI compatible for two years' and this change would be
compatible with such a regime.

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

11 years agoGOutputStream: Remove unused SpliceUserData struct
Mike Ruprecht [Mon, 18 Feb 2013 13:56:05 +0000 (07:56 -0600)]
GOutputStream: Remove unused SpliceUserData struct

11 years agoUpdate Visual Studio property sheets
Chun-wei Fan [Tue, 19 Feb 2013 10:26:30 +0000 (18:26 +0800)]
Update Visual Studio property sheets

"install" gio/gsimpleproxyresolver.h...

11 years ago*bump*
Ryan Lortie [Tue, 19 Feb 2013 10:06:55 +0000 (10:06 +0000)]
*bump*

11 years agoGLib 2.35.8 2.35.8 upstream/2.35.8
Ryan Lortie [Tue, 19 Feb 2013 09:29:28 +0000 (09:29 +0000)]
GLib 2.35.8

11 years agoUpdated Serbian translation
Мирослав Николић [Mon, 18 Feb 2013 09:43:49 +0000 (10:43 +0100)]
Updated Serbian translation

11 years agoUpdated Serbian translation
Мирослав Николић [Mon, 18 Feb 2013 09:38:38 +0000 (10:38 +0100)]
Updated Serbian translation

11 years agoGNetworkAddress: Build if AI_NUMERICSERV not defined
Alexander Larsson [Mon, 18 Feb 2013 09:30:29 +0000 (10:30 +0100)]
GNetworkAddress: Build if AI_NUMERICSERV not defined

This is not defined on all Win32 SDKs and in some unixes.
If its not defined its safe to just ignore it though.

11 years agoUpdated Polish translation
Piotr Drąg [Sun, 17 Feb 2013 15:49:40 +0000 (16:49 +0100)]
Updated Polish translation

11 years agoGSimpleProxyResolver: add missing include
Dan Winship [Sun, 17 Feb 2013 14:54:11 +0000 (09:54 -0500)]
GSimpleProxyResolver: add missing include

string.h was getting pulled in by something else on Linux, but not
elsewhere

11 years agoGSocketClient: add missing NULL to g_object_set() call
Dan Winship [Fri, 15 Feb 2013 15:39:19 +0000 (10:39 -0500)]
GSocketClient: add missing NULL to g_object_set() call

11 years agodocs/reference/glib/cross.xml: Fix typo: yes/np -> yes/no
Thomas Perl [Sat, 9 Feb 2013 23:16:49 +0000 (00:16 +0100)]
docs/reference/glib/cross.xml: Fix typo: yes/np -> yes/no

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

11 years agognetworkaddress: preserve IPv6 scope ID in IP literals
Dan Winship [Wed, 12 Dec 2012 15:12:09 +0000 (16:12 +0100)]
gnetworkaddress: preserve IPv6 scope ID in IP literals

If a GNetworkAddress is created with a hostname like "fe80::xxx%em1",
make sure that the scope_id corresponding to "em1" is present in the
GSocketAddresses it returns when used as a GSocketConnectable.

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

11 years agoGSimpleProxyResolver: fix for the case where the default proxy is NULL
Dan Winship [Thu, 14 Feb 2013 23:06:41 +0000 (18:06 -0500)]
GSimpleProxyResolver: fix for the case where the default proxy is NULL

11 years agoUpdated POTFILES.in
Piotr Drąg [Fri, 15 Feb 2013 12:45:35 +0000 (13:45 +0100)]
Updated POTFILES.in

11 years agoMore doc fixes
Jasper St. Pierre [Fri, 15 Feb 2013 10:39:20 +0000 (05:39 -0500)]
More doc fixes

11 years agogmenumodel: Fix documentation
Jasper St. Pierre [Fri, 15 Feb 2013 10:35:05 +0000 (05:35 -0500)]
gmenumodel: Fix documentation

11 years agoGSimpleProxyResolver: new simple GProxyResolver class
Dan Winship [Sat, 26 Jan 2013 14:54:03 +0000 (09:54 -0500)]
GSimpleProxyResolver: new simple GProxyResolver class

Add GSimpleProxyResolver, for letting people do static proxy
resolution, and to use as a base class for other resolvers (such as
GProxyResolverGnome).

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

11 years agoGSocketClient: add proxy-resolver property
Dan Winship [Sun, 27 Jan 2013 18:53:36 +0000 (13:53 -0500)]
GSocketClient: add proxy-resolver property

Add a proxy-resolver property to GSocketClient, to allow overriding
proxy resolution in situations where you need to force a particular
proxy rather than using the system defaults.

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

11 years agog_dbus_address_escape_value: add
Simon McVittie [Wed, 13 Feb 2013 20:42:58 +0000 (20:42 +0000)]
g_dbus_address_escape_value: add

This is a GLib reimplementation of dbus_address_escape_value().
It's useful if you want to construct a D-Bus address from pieces:
for instance, if you have a listening Unix socket whose path is known,
and you want to connect a D-Bus peer to it.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=693673
Reviewed-by: Colin Walters <walters@verbum.org>
[amended to add Since: 2.36 as per review]
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
11 years agogio: Fix annotations on g_[async_]initable_new() and friends
Stef Walter [Wed, 13 Feb 2013 06:20:43 +0000 (07:20 +0100)]
gio: Fix annotations on g_[async_]initable_new() and friends

These return a GObject even though in C it's represented as a gpointer

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

11 years agoFix the build on Solaris
Matthias Clasen [Sun, 10 Feb 2013 16:42:58 +0000 (11:42 -0500)]
Fix the build on Solaris

Make the btrfs support explicitly linux-only, as that is what it
is. With this, there's no need anymore to check for sys/ioctl.h
either.
https://bugzilla.gnome.org/show_bug.cgi?id=692829

11 years agogdbusobjectmanagerclient: always connect to proxy's 'g-signal'
Aleksander Morgado [Thu, 7 Feb 2013 09:54:24 +0000 (10:54 +0100)]
gdbusobjectmanagerclient: always connect to proxy's 'g-signal'

If we don't connect to the control proxy's 'g-signal' signal, we won't have
'object-added' or 'object-removed' signals. So, connect to the 'g-signal' not
only when there already is a name-owner, but always.

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

11 years agoUpdated Dutch translation
Wouter Bolsterlee [Sat, 9 Feb 2013 16:50:16 +0000 (17:50 +0100)]
Updated Dutch translation

11 years agoUpdated Dutch translation
Rachid [Sat, 9 Feb 2013 16:41:59 +0000 (17:41 +0100)]
Updated Dutch translation

11 years agotests: comment out asserts in dynamic type tests
Ryan Lortie [Thu, 7 Feb 2013 19:05:28 +0000 (14:05 -0500)]
tests: comment out asserts in dynamic type tests

We have some testcases that assert that type modules are unloaded after
the last reference on them is dropped.  Comment out those asserts now
that we turned the last unref into a no-op.

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

11 years agodisable support for unloading of dynamic types
Ryan Lortie [Thu, 7 Feb 2013 18:50:16 +0000 (13:50 -0500)]
disable support for unloading of dynamic types

Experimentally disable the ability to unload dynamic types by refusing
to drop the last reference on types (effectively turning the type
unloading into dead code).

The plan is to leave things like this for a stable cycle and only
proceed with removing the code if we are sure that there are no
unforeseen problems.

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

11 years agobuild: fix configure arpa/nameser.h test for Solaris
Dan Winship [Thu, 7 Feb 2013 13:41:00 +0000 (08:41 -0500)]
build: fix configure arpa/nameser.h test for Solaris

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

11 years agoUpdated Galician translations
Fran Diéguez [Wed, 6 Feb 2013 17:20:41 +0000 (18:20 +0100)]
Updated Galician translations

11 years agoGLib 2.35.7 2.35.7 upstream/2.35.7
Ryan Lortie [Tue, 5 Feb 2013 17:48:37 +0000 (18:48 +0100)]
GLib 2.35.7

11 years ago[l10n] Updated Italian translation.
Milo Casagrande [Tue, 5 Feb 2013 18:22:03 +0000 (19:22 +0100)]
[l10n] Updated Italian translation.