Anas Nashif [Tue, 26 Feb 2013 14:36:06 +0000 (06:36 -0800)]
Update to 2.35.8
Anas Nashif [Tue, 26 Feb 2013 14:30:35 +0000 (06:30 -0800)]
Update to 2.35.8
Anas Nashif [Thu, 7 Feb 2013 20:18:02 +0000 (12:18 -0800)]
Update to 2.35.7
Anas Nashif [Thu, 7 Feb 2013 20:17:15 +0000 (12:17 -0800)]
cleanup spec file
Anas Nashif [Thu, 31 Jan 2013 16:51:26 +0000 (08:51 -0800)]
Update to 2.35.4
Anas Nashif [Tue, 15 Jan 2013 15:00:05 +0000 (07:00 -0800)]
Update to 2.35.4
Anas Nashif [Tue, 5 Mar 2013 09:08:42 +0000 (01:08 -0800)]
split commit
Anas Nashif [Tue, 18 Dec 2012 20:46:15 +0000 (12:46 -0800)]
update to 2.35.3
Anas Nashif [Mon, 10 Dec 2012 03:12:39 +0000 (19:12 -0800)]
add changelog
Anas Nashif [Mon, 10 Dec 2012 02:55:35 +0000 (18:55 -0800)]
package license file
Anas Nashif [Mon, 10 Dec 2012 01:03:26 +0000 (17:03 -0800)]
add codegen to %files
Anas Nashif [Mon, 10 Dec 2012 00:55:22 +0000 (16:55 -0800)]
BR glibc-devel
Anas Nashif [Thu, 20 Dec 2012 21:10:25 +0000 (13:10 -0800)]
adapt %files section
Anas Nashif [Tue, 4 Dec 2012 15:41:21 +0000 (07:41 -0800)]
update to 2.35.2
Anas Nashif [Tue, 4 Dec 2012 14:39:56 +0000 (06:39 -0800)]
cleanup %files
Anas Nashif [Tue, 4 Dec 2012 14:35:38 +0000 (06:35 -0800)]
cleanup %files
Anas Nashif [Tue, 4 Dec 2012 14:31:13 +0000 (06:31 -0800)]
run autogen
Anas Nashif [Tue, 4 Dec 2012 13:59:21 +0000 (05:59 -0800)]
add packaging
Ryan Lortie [Wed, 7 Aug 2013 14:41:40 +0000 (16:41 +0200)]
GLib 2.36.4
Chun-wei Fan [Wed, 17 Jul 2013 08:45:50 +0000 (16:45 +0800)]
Visual Studio Builds: "Install" gdbus-codegen
Yuri Myasoedov [Sun, 4 Aug 2013 05:26:42 +0000 (09:26 +0400)]
Updated Russian translation
Dan Winship [Tue, 4 Jun 2013 20:29:55 +0000 (17:29 -0300)]
gnetworkmonitornetlink: handle default route via device
If the default route is via a device rather than a particular IP
address, then neither RTA_DST nor RTA_GATEWAY will be present in the
RTM_NEWROUTE message, and so GNetworkMonitorNetlink would ignore it,
and then think there was no default route. (This could happen with
certain kinds of VPNs, if they were set to route all traffic through
the VPN.)
Fix this by recognizing routes that specify RTA_OIF ("output
interface") instead of RTA_GATEWAY.
https://bugzilla.gnome.org/show_bug.cgi?id=701609
(cherry picked from commit
c08ef6c165c6935f257d3fb98c049be50e3816da)
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