Sandeep Sheshrao Shedmake [Tue, 23 Jul 2013 05:04:27 +0000 (10:34 +0530)]
Updated Marathi localization
Christian Kirbach [Sun, 14 Jul 2013 10:22:18 +0000 (12:22 +0200)]
Updated German translation
Gil Forcada [Fri, 5 Jul 2013 00:27:05 +0000 (02:27 +0200)]
[l10n] Update Catalan translation
Andika Triwidada [Tue, 2 Jul 2013 13:18:49 +0000 (20:18 +0700)]
Updated Indonesian translation
Rafael Ferreira [Fri, 28 Jun 2013 20:24:50 +0000 (17:24 -0300)]
Updated Brazilian Portuguese translation
Мирослав Николић [Tue, 25 Jun 2013 21:25:32 +0000 (23:25 +0200)]
Updated Serbian translation
Colin Walters [Thu, 20 Jun 2013 17:13:29 +0000 (13:13 -0400)]
Revert "g_file_set_contents(): don't fsync on ext3/4"
We didn't actually do any real-world testing of this, and
unsurprisingly it turns out to break in at least one widely-used
configuration (Fedora 19 x86_64, ext4 on LVM).
This reverts commit
9d0c17b50102267a5029b58b1f44efbad82d8f03.
https://bugzilla.gnome.org/show_bug.cgi?id=701560
Chun-wei Fan [Thu, 20 Jun 2013 07:48:32 +0000 (15:48 +0800)]
Add MSVC Projects for Utility Programs
Build and "install" the gio-querymodules and gdbus utility programs so that
the Visual Studio builds of GLib is more comprehensive. The Python scripts
for the GDBus codegen will be added to "installation" later.
Chun-wei Fan [Thu, 20 Jun 2013 07:43:32 +0000 (15:43 +0800)]
Update Visual Studio Projects
Make all projects settings use the MultiByte character set when building
GLib to improve consistency.
A S Alam [Fri, 14 Jun 2013 15:05:56 +0000 (10:05 -0500)]
update Punjabi Translation
Matej Urbančič [Thu, 13 Jun 2013 19:23:22 +0000 (21:23 +0200)]
Updated Slovenian translation
Daniel Mustieles [Thu, 13 Jun 2013 11:06:53 +0000 (13:06 +0200)]
Updated Spanish translation
Aurimas Černius [Wed, 12 Jun 2013 20:14:03 +0000 (23:14 +0300)]
Updated Lithuanian translation
Shankar Prasad [Tue, 11 Jun 2013 06:24:17 +0000 (11:54 +0530)]
updated kn translations
Marek Černocký [Mon, 10 Jun 2013 19:31:00 +0000 (21:31 +0200)]
Updated Czech translation
Piotr Drąg [Mon, 10 Jun 2013 18:32:57 +0000 (20:32 +0200)]
Updated Polish translation
Nilamdyuti Goswami [Mon, 10 Jun 2013 09:48:23 +0000 (15:18 +0530)]
Assamese translation updated
Fran Diéguez [Mon, 10 Jun 2013 08:18:02 +0000 (10:18 +0200)]
Updated Galician translations
Matthias Clasen [Mon, 10 Jun 2013 00:15:13 +0000 (20:15 -0400)]
Bump version
Matthias Clasen [Sun, 9 Jun 2013 22:53:15 +0000 (18:53 -0400)]
2.36.3
Matthias Clasen [Thu, 6 Jun 2013 04:05:41 +0000 (00:05 -0400)]
Update link to documentation
Colin Walters [Wed, 5 Jun 2013 22:05:12 +0000 (18:05 -0400)]
GFileEnumerator: Add some documentation about ordering
Kind of a gratuitious gaping hole in the docs...
https://bugzilla.gnome.org/show_bug.cgi?id=701680
Dan Winship [Sun, 2 Jun 2013 21:32:21 +0000 (18:32 -0300)]
ginetaddress: fix addr/string conversions on windows
When parsing an address, we need to re-set "len" between IPv4 and
IPv6, since WSAStringToAddress() might set it to sizeof(struct sin_addr)
when trying to parse the string as IPv4, even if it fails. Also, we
need to make sure to not pass strings to WSAStringToAddress() that it
will accept but that we don't want it to.
When stringifying an address, we need to clear the sockaddr before
filling it in, so we don't accidentally end up with an unwanted
scope_id or the like.
https://bugzilla.gnome.org/show_bug.cgi?id=701401
Colin Walters [Sun, 12 May 2013 06:28:01 +0000 (07:28 +0100)]
Ensure g_file_copy() does not temporarily expose private files
Previously, g_file_copy() would (on Unix) create files with the
default mode of 644. For applications which might at user request
copy arbitrary private files such as ~/.ssh or /etc/shadow, a
world-readable copy would be temporarily exposed.
This patch is suboptimal in that it *only* fixes g_file_copy()
for the case where both source and destination are instances of
GLocalFile on Unix.
The reason for this is that the public GFile APIs for creating files
allow very limited control over the access permissions for the created
file; one can either say a file is "private" or not. Fixing
this by adding e.g. g_file_create_with_attributes() would make sense,
except this would entail 8 new API calls for all the variants of
_create(), _create_async(), _replace(), _replace_async(),
_create_readwrite(), _create_readwrite_async(), _replace_readwrite(),
_replace_readwrite_async(). That can be done as a separate patch
later.
https://bugzilla.gnome.org/show_bug.cgi?id=699959
Colin Walters [Wed, 8 May 2013 23:01:59 +0000 (00:01 +0100)]
g_file_copy(): Clean up logic for info query
Previously, we called g_file_query_info() *again* on the source at the
very end of the copy. This has the lame semantics that if the source
happened to be deleted, we would fail to apply attributes to the
destination. This could even be a security flaw.
This commit changes things so that we query info from the source
*stream* after opening - i.e. on Unix we use the proper fstat() and
friends. That way we operate more atomically.
https://bugzilla.gnome.org/show_bug.cgi?id=699959
Ryan Lortie [Tue, 4 Jun 2013 13:48:12 +0000 (09:48 -0400)]
g_file_set_contents(): don't fsync on ext3/4
ext3 and ext4 (for quite some time) with default mount options don't
need fsync() to ensure safety of replace-by-rename. Stop doing that for
these filesystems.
Note: this patch also impacts ext2, which is probably not safe, but I
don't know of any way to check ext2. vs the others because they all have
the same magic numbers (short of opening /proc/mount).
This patch assumes that if BTRFS_SUPER_MAGIC is defined then so will be
EXT3_SUPER_MAGIC.
https://bugzilla.gnome.org/show_bug.cgi?id=701560
Ryan Lortie [Tue, 4 Jun 2013 02:55:20 +0000 (22:55 -0400)]
g_file_set_contents: change {posix_ => }fallocate
Use fallocate() instead of posix_fallocate() so that we just fail
instead of getting the emulated version from the libc.
https://bugzilla.gnome.org/show_bug.cgi?id=701560
Ryan Lortie [Mon, 3 Jun 2013 21:59:29 +0000 (17:59 -0400)]
g_file_set_contents(): fix simple logic error
CI FTW.
Ryan Lortie [Mon, 3 Jun 2013 21:49:06 +0000 (17:49 -0400)]
g_file_set_contents(): use unistd instead of stdio
Use a normal write() system call instead of fdopen() and fwrite().
This will definitely work on UNIX system and should work on Windows as
well...
As an added bonus, we can use g_close() now as well.
https://bugzilla.gnome.org/show_bug.cgi?id=701560
Ryan Lortie [Mon, 3 Jun 2013 20:16:25 +0000 (16:16 -0400)]
g_file_set_contents(): don't allocate display name
g_file_set_contents() sets a GError in the event of various failures
that count occur. It uses g_filename_display_name() in order to get the
filename to include in the messages.
Factor out the error handling to make it easier to allocate the display
name only when we need it (instead of allocating it every time).
https://bugzilla.gnome.org/show_bug.cgi?id=701560
Ryan Lortie [Mon, 3 Jun 2013 19:43:01 +0000 (15:43 -0400)]
g_file_set_contents(): use posix_fallocate()
Extents-based filesystems like knowing in advance how much data will be
written to a file in order to prevent fragmentation. If we have it, use
posix_fallocate() before writing data in g_file_set_contents().
https://bugzilla.gnome.org/show_bug.cgi?id=701560
William Jon McCann [Tue, 29 Jan 2013 23:46:43 +0000 (00:46 +0100)]
Fix property example in gobject tutorial
https://bugzilla.gnome.org/show_bug.cgi?id=692848
Matthias Clasen [Wed, 29 May 2013 02:23:58 +0000 (22:23 -0400)]
Trivial doc typo fix
Matthias Clasen [Wed, 29 May 2013 04:07:26 +0000 (00:07 -0400)]
Trivial documentation typos
Matthias Clasen [Sun, 26 May 2013 03:07:03 +0000 (23:07 -0400)]
Avoid a segfault in gdbus tool
When the interface name is invalid, we don't get an error
back from g_dbus_connection_call_sync.
Simon Kågedal Reimer [Mon, 6 May 2013 20:04:32 +0000 (22:04 +0200)]
G_GNUC_FORMAT: documentation error
Attribute should be placed just before the semicolon, not after.
As can be seen in the example.
https://bugzilla.gnome.org/show_bug.cgi?id=699779
Jason L. Quinn [Fri, 12 Apr 2013 03:43:17 +0000 (23:43 -0400)]
spelling fixes of 'runtine' and 'adresses' in cross.xml and running.xml, respectively
https://bugzilla.gnome.org/show_bug.cgi?id=697849
Giovanni Campagna [Fri, 29 Mar 2013 14:39:26 +0000 (15:39 +0100)]
GThreadedResolver: set an error if no records could be found
It is possible that the upstream servers return something, but
we then filter all results because they are of the wrong type.
In that case the API and subsequent GTask calls expect a GError
to be set.
https://bugzilla.gnome.org/show_bug.cgi?id=696857
Chun-wei Fan [Mon, 27 May 2013 07:57:54 +0000 (15:57 +0800)]
Fix the GObject Visual Studio Projects
Update G_LOG_DOMAIN to be "GLib-GObject" so that we are consistent with
the autotools builds, and that tests expecting the log domain to be
"GLib-GObject" would not fail.
Chun-wei Fan [Mon, 27 May 2013 05:23:58 +0000 (13:23 +0800)]
Fix the GLib Visual Studio Projects
Define the G_LOG_DOMAIN of the GLib DLL as "GLib", because:
-This makes it consistent with the autotools builds
-Some tests expect the log domain to be "GLib"
Shankar Prasad [Tue, 14 May 2013 09:57:33 +0000 (15:27 +0530)]
updated kn translations
Matthias Clasen [Mon, 13 May 2013 13:59:47 +0000 (09:59 -0400)]
Bump versin
Matthias Clasen [Mon, 13 May 2013 12:26:41 +0000 (08:26 -0400)]
2.36.2
Kjartan Maraas [Mon, 13 May 2013 09:14:48 +0000 (11:14 +0200)]
Updated Norwegian bokmål translation
Мирослав Николић [Mon, 13 May 2013 08:30:05 +0000 (10:30 +0200)]
Updated Serbian translation
Matthias Clasen [Thu, 9 May 2013 20:02:52 +0000 (16:02 -0400)]
Clarify GValueArray docs
Don't refer to Quicksort in the documentation of
g_value_array_sort, but just to qsort().
Matthias Clasen [Sun, 5 May 2013 01:10:43 +0000 (21:10 -0400)]
Document all gtester-report options
The --subunit option was missing from the man page.
Matthias Clasen [Sun, 5 May 2013 01:08:18 +0000 (21:08 -0400)]
Document all glib-mkenums placeholders
The @ENUMPREFIX@ placeholder was missing in the man page.
Matthias Clasen [Sun, 5 May 2013 01:05:24 +0000 (21:05 -0400)]
Document all glib-genmarshal options
The --stdinc option was missing from the man page.
Matthias Clasen [Sun, 5 May 2013 01:03:00 +0000 (21:03 -0400)]
Fix a typo
Matthias Clasen [Sun, 5 May 2013 01:01:35 +0000 (21:01 -0400)]
Document all gdbus-codegen options
The --help and --xml-files options were missing from the man page.
Dan Winship [Thu, 2 May 2013 14:14:57 +0000 (10:14 -0400)]
gbitlock: fix this to not unconditionally use futex emulation
Ryan accidentally committed some debugging code a long time ago,
causing this file to always use futex emulation even when real futex
support was available. I noticed this a while later and pointed it out
to him, and assumed he was going to fix it, but I guess he assumed I
was going to fix it, and then neither of us did...
https://bugzilla.gnome.org/show_bug.cgi?id=699500
Matthias Clasen [Fri, 3 May 2013 01:00:57 +0000 (21:00 -0400)]
Silently handle icon being NULL
While an emblemed icon without a base icon is not very
useful, no need to crash here.
This was crashing the object finalization test in gtk.
Colin Walters [Thu, 2 May 2013 15:39:11 +0000 (11:39 -0400)]
tests/mappedfile: Also handle ENOMEM
The RHEL6.4 kernel gives me that instead of EINVAL.
https://bugzilla.gnome.org/show_bug.cgi?id=699485
Simon McVittie [Thu, 2 May 2013 15:50:01 +0000 (16:50 +0100)]
GSocks5Proxy: don't crash if parsing negotiation reply fails
The GError should be initialized to NULL, otherwise we'll
"pile up" errors, then try to free an uninitialized pointer.
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Dan Winship <danw@gnome.org>
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=699493
Aurimas Černius [Sat, 27 Apr 2013 19:45:15 +0000 (22:45 +0300)]
Updated Lithuanian translation
Matej Urbančič [Sat, 27 Apr 2013 19:29:11 +0000 (21:29 +0200)]
Updated Slovenian translation
Andika Triwidada [Sat, 27 Apr 2013 02:20:08 +0000 (09:20 +0700)]
Updated Indonesian translation
Milo Casagrande [Thu, 25 Apr 2013 07:01:11 +0000 (09:01 +0200)]
[l10n] Updated Italian translation.
Piotr Drąg [Tue, 23 Apr 2013 22:01:48 +0000 (00:01 +0200)]
Updated Polish translation
Ryan Lortie [Tue, 23 Apr 2013 17:26:48 +0000 (13:26 -0400)]
Partially revert "Merge waitpid() from g_spawn_sync into gmain()"
This partially reverts commit
ce0022933c255313e010b27f977f4ae02aad1e7e.
It used to be safe to use g_spawn_sync() from processes that had their
own SIGCHLD handler because it simply called wait(). When it was
changed to depend on the GLib child watching infrastructure this meant
that GLib had to own the SIGCHLD handler.
This caused hangs in at least Pidgin.
The patch contained two other improvements to the child watch code which
we want to keep, so only revert the changes to gspawn itself.
https://bugzilla.gnome.org/show_bug.cgi?id=698081
Giovanni Campagna [Fri, 12 Apr 2013 15:25:15 +0000 (17:25 +0200)]
GVariant: fix transfer annotation
g_variant_new_from_bytes() returns a floating reference, so it
must be annotated (transfer none)
https://bugzilla.gnome.org/show_bug.cgi?id=697887
Ryan Lortie [Mon, 15 Apr 2013 21:58:15 +0000 (23:58 +0200)]
One more NEWS
Marc-André Lureau [Mon, 15 Apr 2013 16:12:50 +0000 (18:12 +0200)]
win32: add back missing _utf8 symbols on x64 builds
The _utf8 functions have been wrongly removed from GLib on x64.
https://bugzilla.gnome.org/show_bug.cgi?id=697879
Matthias Clasen [Mon, 15 Apr 2013 14:18:40 +0000 (10:18 -0400)]
2.36.1
Marek Kasik [Wed, 10 Apr 2013 11:48:49 +0000 (13:48 +0200)]
tests: Add test for disabled help options
Test whether help options are hidden when they are disabled
by g_option_context_set_help_enabled(.., FALSE).
https://bugzilla.gnome.org/show_bug.cgi?id=697652
Marek Kasik [Tue, 9 Apr 2013 16:03:53 +0000 (18:03 +0200)]
Don't show help options when help is disabled
Check whether help is enabled when creating help text
in g_option_context_get_help().
https://bugzilla.gnome.org/show_bug.cgi?id=697652
Shankar Prasad [Fri, 5 Apr 2013 11:52:26 +0000 (17:22 +0530)]
Updated kn translations
Shankar Prasad [Fri, 5 Apr 2013 10:50:05 +0000 (16:20 +0530)]
Updated kn translations
Shankar Prasad [Fri, 5 Apr 2013 10:49:01 +0000 (16:19 +0530)]
Updated kn translations
Shankar Prasad [Fri, 5 Apr 2013 07:08:53 +0000 (12:38 +0530)]
Updated kn translations
Ryan Lortie [Thu, 4 Apr 2013 15:12:42 +0000 (11:12 -0400)]
gtype: interface-after-init exception for gtk#
gtk# also has a problem with the new interface-after-init restriction
that nobody noticed until now. Add an exception for them as well so
that they have a cycle or so to sort things out.
https://bugzilla.gnome.org/show_bug.cgi?id=687659
Ryan Lortie [Thu, 4 Apr 2013 13:31:11 +0000 (09:31 -0400)]
gtype: interface-after-init exception for glibmm
glibmm has a pretty difficult-to-solve problem caused by our recent
change to deny addition of interfaces to classes after initialisation.
They're looking for a long-term workaround for the problem, but in the
meantime we can allow the registration to succeed (with warning) if the
class looks like it's being defined by gtkmm.
https://bugzilla.gnome.org/show_bug.cgi?id=697229
Hib Eris [Sun, 31 Mar 2013 14:40:34 +0000 (16:40 +0200)]
Fix compile error in gdbusmessage.c for win64
https://bugzilla.gnome.org/show_bug.cgi?id=696973
Andika Triwidada [Fri, 29 Mar 2013 06:02:18 +0000 (13:02 +0700)]
Updated Indonesian translation
Ryan Lortie [Mon, 25 Mar 2013 21:39:21 +0000 (17:39 -0400)]
GLib 2.36.0
Colin Walters [Sun, 17 Mar 2013 22:33:59 +0000 (18:33 -0400)]
g_file_copy(): Ensure G_FILE_COPY_OVERWRITE preserves permissions
We need to close the stream *before* applying the file modes, because
g_file_replace() allocates a temporary file. At the moment we're
applying the modes to the extant file, then immediately rename()ing
over it with the default perms.
This regressed with commit
166766a89fcd173dcd6ffda11f902029928f7f28.
The real fix here is to have g_file_create_with_info() so that we can
atomically create a file with the permissions we want.
https://bugzilla.gnome.org/show_bug.cgi?id=696014
Ani Peter [Mon, 25 Mar 2013 17:38:52 +0000 (23:08 +0530)]
Completed for Malayalam
A S Alam [Mon, 25 Mar 2013 17:20:00 +0000 (22:50 +0530)]
Punjabi: Translation updated (aalam)
Krishnababu Krothapalli [Mon, 25 Mar 2013 09:56:55 +0000 (15:26 +0530)]
Updated Telugu Translations
Krishnababu Krothapalli [Wed, 28 Nov 2012 10:36:58 +0000 (16:06 +0530)]
Updated Telugu Translations
Murray Cumming [Mon, 25 Mar 2013 09:16:49 +0000 (10:16 +0100)]
Corrected some GLIB_AVAILABLE_IN_*
Petr Kovar [Sun, 24 Mar 2013 19:20:55 +0000 (20:20 +0100)]
Update Czech translation
Guido Günther [Sat, 23 Mar 2013 11:41:15 +0000 (12:41 +0100)]
Init padding to NULL to avoid a missing initializer warning
like
sessionmanager-presence-generated.c:920:1: warning: missing initializer [-Wmissing-field-initializers]
sessionmanager-presence-generated.c:920:1: warning: (near initialization for ‘_org_gnome_session_manager_presence_skeleton_vtable.padding’) [-Wmissing-field-initializers]
https://bugzilla.gnome.org/review?bug=696108
Yuri Myasoedov [Sat, 23 Mar 2013 17:12:04 +0000 (21:12 +0400)]
Updated Russian translation
Jiro Matsuzawa [Sat, 23 Mar 2013 10:10:01 +0000 (19:10 +0900)]
[l10n] Update Japanese translation
ManojKumar Giri [Fri, 22 Mar 2013 12:56:42 +0000 (18:26 +0530)]
Updated Odia Language along with FUEL implementation
ManojKumar Giri [Fri, 22 Mar 2013 12:52:51 +0000 (18:22 +0530)]
Updated Odia Language along with FUEL implementation
ManojKumar Giri [Fri, 22 Mar 2013 12:41:16 +0000 (18:11 +0530)]
Updated Odia Language along with FUEL implementation
Sweta Kothari [Fri, 22 Mar 2013 10:56:24 +0000 (16:26 +0530)]
Updated gujarati file
Sandeep Sheshrao Shedmake [Fri, 22 Mar 2013 10:16:01 +0000 (15:46 +0530)]
Updated Marathi Translations
Shantha kumar [Fri, 22 Mar 2013 09:47:35 +0000 (15:17 +0530)]
Tamil Translations Updated
Murray Cumming [Thu, 21 Mar 2013 12:10:36 +0000 (13:10 +0100)]
Corrected a GLIB_AVAILABLE_IN_*
Rajesh Ranjan [Thu, 21 Mar 2013 09:28:09 +0000 (14:58 +0530)]
hindi translation
Tristan Van Berkom [Wed, 16 Jan 2013 07:26:08 +0000 (16:26 +0900)]
Added examples to GTestDBus documentation
Gabor Kelemen [Wed, 20 Mar 2013 23:22:58 +0000 (00:22 +0100)]
Updated Hungarian translation
Inaki Larranaga Murgoitio [Wed, 20 Mar 2013 08:35:28 +0000 (09:35 +0100)]
Updated Basque language
Victor Ibragimov [Tue, 19 Mar 2013 21:30:07 +0000 (22:30 +0100)]
[l10n] Added Tadjik translation
Ryan Lortie [Tue, 19 Mar 2013 03:28:27 +0000 (23:28 -0400)]
More clean up for Unicode corrigendum #9
Fix some more testcases.
Ryan Lortie [Tue, 19 Mar 2013 03:01:08 +0000 (23:01 -0400)]
Small NEWS change