Dan Winship [Sat, 24 Nov 2012 21:34:13 +0000 (16:34 -0500)]
tests: port from g_test_trap_subprocess() to g_test_trap_fork()
(or, in a few cases, to g_test_expect_message())
https://bugzilla.gnome.org/show_bug.cgi?id=679683
Dan Winship [Sat, 24 Nov 2012 20:58:27 +0000 (15:58 -0500)]
gtestutils: add g_test_trap_subprocess(), deprecate g_test_trap_fork()
g_test_trap_fork() doesn't work on Windows and is potentially flaky on
unix anyway given the fork-but-don't-exec. Replace it with
g_test_trap_subprocess(), which re-spawns the same program with
arguments telling it to run a specific (otherwise-ignored) test case.
Make the existing g_test_trap_fork() unit tests be unix-only (they
never passed on Windows anyway), and add a parallel set of
g_test_trap_subprocess() tests.
https://bugzilla.gnome.org/show_bug.cgi?id=679683
Daniel Macks [Sat, 1 Dec 2012 19:23:01 +0000 (14:23 -0500)]
Add missing autoconf test for sysctlbyname()
uses specific mib[] tokens iff it is available, but configure wasn't
testing for it to be available.
https://bugzilla.gnome.org/show_bug.cgi?id=689324
Daniel Macks [Thu, 29 Nov 2012 15:33:47 +0000 (10:33 -0500)]
Fix constant type to match assigned variable type
Some compilers assume a literal value is a certain byte-length without
checking the type to which it is being assigned, giving a compile-time
warning: a default of 'long' is a mismatch when assigning to a guint64
when the latter is a 'long long'. Use one of glib's standard macros to
specify the type of the constant to match the variable type.
https://bugzilla.gnome.org/show_bug.cgi?id=688829
Dan Winship [Wed, 19 Dec 2012 14:10:01 +0000 (09:10 -0500)]
inotify: fix compile
Emmanuele Bassi [Wed, 19 Dec 2012 11:03:24 +0000 (11:03 +0000)]
timezone: Fix byte arithmetic
Use guint8* instead of gpointer, to avoid warnings and side effects.
https://bugzilla.gnome.org/show_bug.cgi?id=686128
Dan Winship [Mon, 19 Nov 2012 21:18:55 +0000 (16:18 -0500)]
tests: multiple fixes to run-assert-msg-test.sh
1) use "../libtool" rather than "libtool" to avoid problems
with wacky OS X not-actually-libtool
2) Use libtool on the libtool script, not the binary, so that it
actually does anything
3) Don't use "gdb --ex" since it's apparently new-ish/non-portable.
https://bugzilla.gnome.org/show_bug.cgi?id=684723
Dan Winship [Wed, 19 Dec 2012 13:22:23 +0000 (08:22 -0500)]
Add "Since 2.36" to G_FILE_MONITOR_WATCH_HARD_LINKS doc
Ryan Lortie [Wed, 18 Nov 2009 23:59:14 +0000 (17:59 -0600)]
gio + inotify support for hard links
Add a new GFileMonitorFlag: G_FILE_MONITOR_WATCH_HARD_LINKS. When set,
changes made to the file via another hard link will be detected.
Implement the new flag for the inotify backend.
https://bugzilla.gnome.org/show_bug.cgi?id=532815
John Ralls [Wed, 19 Dec 2012 00:40:08 +0000 (00:40 +0000)]
Bug 633117: glib fails tests if /etc/localtime is not properly set
John Ralls [Tue, 18 Dec 2012 23:41:09 +0000 (15:41 -0800)]
GTimeZone interval_info: Fix interval 0 per IANA tzfile instructions
IANA tzfiles don't always put standard time in the 0th t_info. Follow
their instructions to use the first standard time t_info for interval 0.
John Ralls [Tue, 18 Dec 2012 23:40:43 +0000 (15:40 -0800)]
test_posix_parse: PST8PDT passes on Unix because it names an IANA zone.
John Ralls [Mon, 17 Dec 2012 21:35:10 +0000 (13:35 -0800)]
MSWindows TimeZone Support: Refactor and rewrite TZ variable parsing
John Ralls [Tue, 11 Dec 2012 21:42:05 +0000 (13:42 -0800)]
Test the TZ-variable parsing functions
John Ralls [Fri, 7 Dec 2012 01:16:50 +0000 (17:16 -0800)]
Implement and test time zone name/abbrev setting for Windows.
John Ralls [Tue, 4 Dec 2012 18:51:48 +0000 (10:51 -0800)]
Win32 TimeZone Support: General refactoring
For code clarity and to pass tests
John Ralls [Tue, 4 Dec 2012 19:13:04 +0000 (11:13 -0800)]
Add MSWindows timezone names to test new windows support.
Arnel A. Borja [Sat, 20 Oct 2012 03:06:28 +0000 (11:06 +0800)]
GTimeZone: Fix time zones in Windows
Get time zone information from registry. Use GetTimeZoneInformation()
instead to get the local time zone if Dynamic DST is not available.
https://bugzilla.gnome.org/show_bug.cgi?id=683998
Arnel A. Borja [Mon, 15 Oct 2012 03:07:16 +0000 (11:07 +0800)]
GTimeZone: Parse Windows format for TZ
Parse the "tzn[+|-]hh[:mm[:ss]][dzn]" format used in Windows for
environment variable TZ.
https://bugzilla.gnome.org/show_bug.cgi?id=683998
Arnel A. Borja [Sat, 20 Oct 2012 06:10:43 +0000 (14:10 +0800)]
GTimeZone: Parse POSIX format for TZ
Parse the "std offset [dst [offset],start[/time],end[/time]]" (POSIX)
format used in Unix for environment variable TZ.
https://bugzilla.gnome.org/show_bug.cgi?id=686128
Arnel A. Borja [Sun, 21 Oct 2012 03:26:21 +0000 (11:26 +0800)]
GTimeZone: Add initialization functions for rules
Add functions to initialize a GTimeZone from rules.
Arnel A. Borja [Mon, 15 Oct 2012 02:57:09 +0000 (10:57 +0800)]
GTimeZone: Parse more offset formats
Allow more formats for offset. Parse seconds in offsets too. Make offset
signs optional.
https://bugzilla.gnome.org/show_bug.cgi?id=686128
John Ralls [Mon, 15 Oct 2012 21:32:58 +0000 (14:32 -0700)]
Replace zoneinfo pointers with structs
The approach of sucking a zoneinfo file into a GBytes and working with
pointers into it might be fast, but it's obtuse and not compatible with
Microsoft Windows.
John Ralls [Mon, 15 Oct 2012 21:19:53 +0000 (14:19 -0700)]
Extract function init_zone_from_iana_info
John Ralls [Mon, 15 Oct 2012 21:11:14 +0000 (14:11 -0700)]
Extract function zone_info_unix
Ryan Lortie [Mon, 5 Nov 2012 16:07:16 +0000 (11:07 -0500)]
gtype: disallow adding interfaces after the fact
Add a check to prevent adding an interface to a class that has already
had its class_init done.
This is an incompatible change but it is suspected that there are not
many users of this functionality. Two known exceptions are pygobject
(fixed in bug 686149) and our own testsuite (affected tests have been
temporarily disabled by this patch).
Once we confirm that nobody else is using this functionality we can
remove a rather large amount of code for dealing with this case.
https://bugzilla.gnome.org/show_bug.cgi?id=687659
Rico Tzschichholz [Tue, 18 Dec 2012 20:32:01 +0000 (21:32 +0100)]
gio: Fix build with -Werror=format-security
Rico Tzschichholz [Tue, 18 Dec 2012 20:23:13 +0000 (21:23 +0100)]
Revert "gtype: disallow adding interfaces after the fact"
This reverts commit
d6a075b0d8dfe4e4a41f6624ad7032d2163d420c.
PHO [Mon, 17 Dec 2012 23:33:50 +0000 (08:33 +0900)]
gsocket: Work around broken CMSG_FIRSTHDR()
As RFC 2292 points out, some platforms (e.g. Darwin 9.8.0) provide
CMSG_FIRSTHDR(msg) which just returns msg.msg_control without first
checking if msg.msg_controllen is non-zero. We need a workaround for
such platforms not to let g_socket_receive_message() segfault.
https://bugzilla.gnome.org/show_bug.cgi?id=690388
Colin Walters [Sat, 15 Dec 2012 14:55:39 +0000 (09:55 -0500)]
GOutputStream: Fix a compiler warning
Dan Winship [Sat, 15 Dec 2012 16:44:59 +0000 (11:44 -0500)]
gtask: don't deadlock when tasks block on other tasks
If tasks block waiting for other tasks to complete then the system can
end up starved for threads. Avoid this by bumping up max-threads in
that case.
This also reverts
7b1f8c58 and reverts max-threads for GTask's
GThreadPool back to 10.
https://bugzilla.gnome.org/show_bug.cgi?id=687223
Colin Walters [Mon, 17 Dec 2012 15:47:53 +0000 (10:47 -0500)]
Add g_get_num_processors()
Based on a patch from John Cupitt <jcupitt@gmail.com>
Useful for thread pools which should scale to number of processors.
See https://bugzilla.gnome.org/show_bug.cgi?id=687223
https://bugzilla.gnome.org/show_bug.cgi?id=614930
Dan Winship [Thu, 2 Aug 2012 19:50:35 +0000 (15:50 -0400)]
gio: port file/vfs-related classes from GSimpleAsyncResult to GTask
https://bugzilla.gnome.org/show_bug.cgi?id=661767
Dan Winship [Thu, 2 Aug 2012 19:49:59 +0000 (15:49 -0400)]
gio: port basic I/O classes from GSimpleAsyncResult to GTask
https://bugzilla.gnome.org/show_bug.cgi?id=661767
Shantha kumar [Tue, 18 Dec 2012 11:18:21 +0000 (16:48 +0530)]
Tamil translation updated
Shantha kumar [Tue, 18 Dec 2012 11:05:48 +0000 (16:35 +0530)]
Tamil translation updated
Shantha kumar [Tue, 18 Dec 2012 10:59:08 +0000 (16:29 +0530)]
Tamil translation updated
Shantha kumar [Tue, 18 Dec 2012 10:37:10 +0000 (16:07 +0530)]
Tamil translation updated
Shantha kumar [Tue, 18 Dec 2012 10:31:25 +0000 (16:01 +0530)]
Tamil translation updated
Matej Urbančič [Tue, 18 Dec 2012 07:40:39 +0000 (08:40 +0100)]
Updated Slovenian translation
Matthias Clasen [Tue, 18 Dec 2012 00:18:13 +0000 (19:18 -0500)]
bump version
Matthias Clasen [Mon, 17 Dec 2012 19:39:24 +0000 (14:39 -0500)]
2.35.3
Matthias Clasen [Tue, 18 Dec 2012 00:14:22 +0000 (19:14 -0500)]
Fix distcheck
Christophe Fergeau [Mon, 17 Dec 2012 13:58:04 +0000 (14:58 +0100)]
Fix g_type_add_class_private() name in g_warning
When g_type_class_get_private is called without calling
g_type_add_class_private first, a g_warning is issued, but
the name of the function to call is wrong:
g_type_class_add_class_private.
https://bugzilla.gnome.org/show_bug.cgi?id=690348
Dan Winship [Wed, 12 Dec 2012 15:39:02 +0000 (16:39 +0100)]
gsocket: improve sockopt handling for IPv4-wrapped-IPv6 sockets
On IPv6 sockets, set both the IPv4 and IPv6 versions of IP socket
options, in case the socket is (or might become) IPv4-wrapped. (But
ignore errors when setting the IPv4 version.)
Similarly, when joining or leaving a multicast group, pick the sockopt
to use based on the address family of the multicast address rather
than the address family of the socket.
https://bugzilla.gnome.org/show_bug.cgi?id=687092
PHO [Mon, 17 Dec 2012 13:26:38 +0000 (22:26 +0900)]
Remove an unneeded escaping in NAMESER_COMPAT_INCLUDE
In configure.ac, escaping '#' in NAMESER_COMPAT_INCLUDE results in the following gio/gnetworking.h, which obviously doesn't compile:
#include <arpa/inet.h>
#include <arpa/nameser.h>
\#include <arpa/nameser_compat.h>
https://bugzilla.gnome.org/show_bug.cgi?id=690346
Daniel Mustieles [Sun, 16 Dec 2012 19:47:11 +0000 (20:47 +0100)]
Updated Spanish translation
Piotr Drąg [Sun, 16 Dec 2012 02:44:09 +0000 (03:44 +0100)]
Updated Polish translation
Fran Diéguez [Fri, 14 Dec 2012 23:41:54 +0000 (00:41 +0100)]
Updated Galician translations
Fran Diéguez [Fri, 14 Dec 2012 23:40:16 +0000 (00:40 +0100)]
Updated Galician translations
Chun-wei Fan [Fri, 14 Dec 2012 16:28:30 +0000 (00:28 +0800)]
Update Visual C++ property sheets
The last commit (Add a preconfigured gio/gnetworking.h for Windows) has to
be split into two as git am does not like a patch that deals with files
that have different line feeds.
This updates the property sheets to use the pre-configured
gio/gnetworking.h during the build process.
https://bugzilla.gnome.org/show_bug.cgi?id=690163
Chun-wei Fan [Thu, 13 Dec 2012 15:45:04 +0000 (23:45 +0800)]
Add a preconfigured gio/gnetworking.h for Windows
Since Windows builds by Visual C++ do not make use of autotools during
its build process, we need to dist a pre-configured
gio/gnetworking.h(.win32) for such builds.
The vs9/vs10 (and therefore vs11) property sheets are updated as well
https://bugzilla.gnome.org/show_bug.cgi?id=690163
Tomas Bzatek [Fri, 14 Dec 2012 15:54:09 +0000 (16:54 +0100)]
docs: Fix return value of g_file_set_attributes_from_info()
GIO API usually returns FALSE and sets GError when something went wrong
and it was also the case of this method, just being badly documented.
Jasper St. Pierre [Wed, 12 Dec 2012 09:49:28 +0000 (04:49 -0500)]
gfileenumerator: Add a g_file_enumerator_get_child method
This is a new convenience method designed to simplify some use
cases of GFileEnumerator, by making it easy to get the next file
from a file enumerator.
https://bugzilla.gnome.org/show_bug.cgi?id=690083
Piotr Drąg [Wed, 12 Dec 2012 21:21:17 +0000 (22:21 +0100)]
Updated POTFILES.in
Dan Winship [Tue, 14 Feb 2012 02:12:34 +0000 (21:12 -0500)]
gsocket: add getsockopt/setsockopt wrappers
Add g_socket_get_option() and g_socket_set_option(), wrapping
getsockopt/setsockopt for the case of integer-valued options. Update
code to use these instead of the underlying calls.
https://bugzilla.gnome.org/show_bug.cgi?id=623187
Dan Winship [Thu, 11 Nov 2010 14:57:25 +0000 (09:57 -0500)]
Add gnetworking.h
Install a public "gnetworking.h" header that can be used to include
the relevant OS-dependent networking headers. This does not really
abstract away unix-vs-windows however; error codes, in particular,
are incompatible.
gnetworkingprivate.h now contains just a few internal URI-related
functions
Also add a g_networking_init() function to gnetworking.h, which can be
used to explicitly initialize OS-level networking, rather than having
that happen as a side-effect of registering GInetAddress.
https://bugzilla.gnome.org/show_bug.cgi?id=623187
Dan Winship [Thu, 29 Dec 2011 16:25:07 +0000 (11:25 -0500)]
gio: move resolver utils from gresolver.c to gthreadedresolver.c
Since there is only one resolver implementation now, we can move the
resolver utility functions from gresolver.c into gthreadedresolver.c,
and remove the prototypes from gnetworkingprivate.h.
https://bugzilla.gnome.org/show_bug.cgi?id=623187
Colin Walters [Tue, 11 Dec 2012 21:53:48 +0000 (16:53 -0500)]
g_unix_open_pipe: Add missing F_SETFD
Spotted by Ray Strode <rstrode@redhat.com>
While we're here, microoptimize by skipping the fcntl() calls if flags
is 0.
https://bugzilla.gnome.org/show_bug.cgi?id=690069
Colin Walters [Tue, 11 Dec 2012 01:30:44 +0000 (20:30 -0500)]
gobject.symbols: Update for g_checksum_get_type()
See previous commit.
Colin Walters [Mon, 10 Dec 2012 15:50:30 +0000 (10:50 -0500)]
Make GChecksum more fully introspectable
In 2.34, g_compute_checksum_for_bytes() was added, but this patch
allows binding users to use the incremental update API; this is
significantly more efficient than reading entire files into memory.
https://bugzilla.gnome.org/show_bug.cgi?id=689982
Dan Winship [Wed, 7 Nov 2012 15:36:05 +0000 (10:36 -0500)]
gio: Don't leak the temp file when g_file_replace() fails or is cancelled
If the temp file still exists at the end of the close operation,
unlink it.
https://bugzilla.gnome.org/show_bug.cgi?id=629301
Alexander Larsson [Fri, 7 Dec 2012 16:34:52 +0000 (17:34 +0100)]
Add g_type_get_type_registration_serial()
This lets you cache type lookup information and then know when
the cache information is out of date. In particular, we want this
in order to be able to cache g_type_from_name() lookups in the Gtk+
theme machinery.
https://bugzilla.gnome.org/show_bug.cgi?id=689847
David Zeuthen [Thu, 6 Dec 2012 21:21:58 +0000 (16:21 -0500)]
fileinfo: mark lost+found/ root directory as hidden
This was reported in bug 689800.
https://bugzilla.gnome.org/show_bug.cgi?id=689800
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
Timothy Arceri [Wed, 28 Nov 2012 23:50:55 +0000 (10:50 +1100)]
Support for .hidden files
https://bugzilla.gnome.org/show_bug.cgi?id=587806
Ryan Lortie [Thu, 6 Dec 2012 18:56:39 +0000 (13:56 -0500)]
add two missing version macros
Ryan Lortie [Thu, 6 Dec 2012 18:29:31 +0000 (13:29 -0500)]
various: add missing cases of #include "config.h"
Ryan Lortie [Sun, 2 Dec 2012 17:07:24 +0000 (12:07 -0500)]
g_get_home_dir(): honour $HOME
If the $HOME environment variable is set, prefer that to the entry in
/etc/passwd.
This brings us in line with almost every other utility and library on
UNIX-like systems while avoiding some of the more complicated
possibilities that have been suggested.
This incompatible change has been petitioned for quite some time by
many, and in particular from the Debian world, which carries a patch
that adds a new G_HOME environment variable with the same meaning as
this patch now assigns to HOME.
The primary motivation for the change was to increase the testability of
GLib-based programs from 'make check' types of frameworks: it is now
possible to set HOME to a temp directory to avoid the testsuite
modifying the user's real home directory.
The change also brings us increased compliance with the XDG Base
Directory Specification. The specification specifically states that the
default values should be computed based on the HOME environment
variable, whereas we were basing them on the value from /etc/passwd.
The change was agreed to by all in attendence at the November 29 Gtk+
developer meeting.
https://bugzilla.gnome.org/show_bug.cgi?id=142568
Daniel Mustieles [Wed, 5 Dec 2012 19:08:15 +0000 (20:08 +0100)]
Updated Spanish translation
Colin Walters [Fri, 30 Nov 2012 20:18:01 +0000 (15:18 -0500)]
gdbusobjectskeleton: Fix compiler warnings
The G_OBJECT_WARN_INVALID_PROPERTY_ID() macro uses a local variable
named "_object"; work around this by using "object" as the variable we
pass in.
https://bugzilla.gnome.org/show_bug.cgi?id=689377
Colin Walters [Fri, 30 Nov 2012 20:22:54 +0000 (15:22 -0500)]
gobject: Use local variable names in macros less likely to clash
At least GDBus had code that had "_object" as a parameter to one of
its functions, but this clashes with the GObject macro
G_OBJECT_WARN_INVALID_PROPERTY_ID() which created a local "_object".
Since many of us cargo cult around copies of objects, let's be
defensive here and use local variable names less likely to clash with
application code.
https://bugzilla.gnome.org/show_bug.cgi?id=689377
Dan Winship [Fri, 16 Nov 2012 03:26:54 +0000 (22:26 -0500)]
win32: suppress fatal error dialog box when running tests
When running a test program (ie, if g_test_init() has been called),
don't pop up a dialog box when a fatal error occurs. Just print the
message to stderr and exit.
https://bugzilla.gnome.org/show_bug.cgi?id=679683
Aleksander Morgado [Mon, 3 Dec 2012 14:59:06 +0000 (15:59 +0100)]
gsocketlistener: set source object tag before completing the GTask
Otherwise, the finish() method won't find the source object.
https://bugzilla.gnome.org/show_bug.cgi?id=689538
Kalev Lember [Sun, 2 Dec 2012 14:34:37 +0000 (15:34 +0100)]
win32: Fix GDBusDaemon build when glib is built as a static lib
This makes sure not to ifdef _g_io_win32_get_module() out when glib is
built as a static lib, and also fixes it to work when DllMain isn't
available.
The implementation uses GetModuleHandleEx() which is only available on
Windows XP and later, so this commit effectively drops the Windows 2000
support in glib. Earlier commit
731b4699 already took care of defining
_WIN32_WINNT to support the Windows XP API.
https://bugzilla.gnome.org/show_bug.cgi?id=675516
Arnel A. Borja [Fri, 14 Sep 2012 00:58:04 +0000 (08:58 +0800)]
win32: Use AC_CHECK_TOOL to find dlltool
https://bugzilla.gnome.org/show_bug.cgi?id=684145
Evan Nemerson [Thu, 15 Nov 2012 19:52:28 +0000 (11:52 -0800)]
gtask: annotate source_object arguments and return values as GObject
https://bugzilla.gnome.org/show_bug.cgi?id=688419
Mike Gorse [Thu, 29 Nov 2012 22:51:59 +0000 (16:51 -0600)]
Optimize reading strings when deserializing gdbus messages
Now that we're directly accessing the memory holding a message blob,
we can access strings directly while reading them. This speeds up
read_string significantly, since we no longer malloc/memcpy/free.
Matthias Clasen [Fri, 30 Nov 2012 14:03:20 +0000 (09:03 -0500)]
g_file_enumerate_children: Fix reference to wrong error code
This function does in fact return G_IO_ERROR_NOT_DIRETORY, and
not G_FILE_ERROR_NOTDIR.
Nilamdyuti Goswami [Fri, 30 Nov 2012 11:53:29 +0000 (17:23 +0530)]
Assamese translation updated
Yaron Shahrabani [Fri, 30 Nov 2012 09:01:53 +0000 (11:01 +0200)]
Updated Hebrew translation.
Yaron Shahrabani [Fri, 23 Nov 2012 08:11:32 +0000 (10:11 +0200)]
Updated Hebrew translation.
Alexander Larsson [Fri, 30 Nov 2012 08:39:13 +0000 (09:39 +0100)]
Don't look for icons called "(null)" if no xdg mime icon
Emilio Pozuelo Monfort [Thu, 29 Nov 2012 16:48:35 +0000 (17:48 +0100)]
Fix race condition in gapplication/basic test
The three processes this test creates need to be executed
in order, and g_usleep was used to guarantee that.
However, under heavy load, that is not enough. Instead,
wait until the children start by making sure they have
written to stdout before proceeding any further.
https://bugzilla.gnome.org/show_bug.cgi?id=664627
Mike Gorse [Thu, 1 Nov 2012 00:44:03 +0000 (19:44 -0500)]
Use a simple struct when reading and writing gdbus messages
GData*Streams incur significant overhead, and we do not need all of the
functionality that they provide, since we only ever read from/write to
memory when handling message blobs, so it is more performant to use a
simple structure.
https://bugzilla.gnome.org/show_bug.cgi?id=652650
Juan Pablo Ugarte [Thu, 29 Nov 2012 19:12:25 +0000 (16:12 -0300)]
Added G_IO_ERROR_BROKEN_PIPE
Ryan Lortie [Thu, 29 Nov 2012 14:03:32 +0000 (09:03 -0500)]
gio: GLIB_AVAILABLE_IN to more APIs
Useful on its own, but also for a future patch for symbol visibility.
https://bugzilla.gnome.org/show_bug.cgi?id=688681
Kalev Lember [Wed, 28 Nov 2012 22:25:52 +0000 (23:25 +0100)]
Unconditionally use g_content_type_get_symbolic_icon()
... and g_content_type_get_generic_icon_name(). The new functions are
implemented for Win32 since commit
dace477c, so we no longer need to
guard them with G_OS_UNIX.
Sebastian Dröge [Wed, 28 Nov 2012 15:55:12 +0000 (16:55 +0100)]
Revert "Fix compilation on Android with the bionic C library"
This reverts commit
cb0ed84d4022e0fba6aaa9e99e258d8d507a90e5.
It wasn't meant to be pushed yet.
Andoni Morales Alastruey [Wed, 28 Nov 2012 15:34:18 +0000 (16:34 +0100)]
Fix duplicated case value for mingw runtimes defining EOVERLFOW as EFBIG
Sebastian Dröge [Wed, 28 Nov 2012 15:28:28 +0000 (16:28 +0100)]
Fix compilation on Android with the bionic C library
Sebastian Dröge [Wed, 28 Nov 2012 15:25:43 +0000 (16:25 +0100)]
Protect against strcmp() on NULL strings
Martin Pitt [Wed, 28 Nov 2012 11:09:17 +0000 (12:09 +0100)]
g_unix_signal_add_full(): Annotate to shadow g_unix_signal_add()
Just like g_timeout_add() and friends, we want to hide the unintrospectable
g_unix_signal_add() from GI bindings and present g_unix_signal_add_full() as
GLib.unix_signal_add() to them.
Matthias Clasen [Wed, 28 Nov 2012 05:04:45 +0000 (00:04 -0500)]
Add new api to the docs
Matthias Clasen [Wed, 28 Nov 2012 05:01:11 +0000 (00:01 -0500)]
Fix suprisingly hard-to-spot typo
Colin Walters [Thu, 22 Nov 2012 13:23:27 +0000 (08:23 -0500)]
GMemoryOutputStream: Add new _resizable() constructor usable from bindings
Really, the memory output stream API is too warped around the model
where it's a fixed size buffer that you've already allocated. Even in
C, I find myself always wanting to use it to just accumulate data into
an arbitrary-sized buffer it allocates.
Unfortunately, it's also not usable from bindings because it's not
common to bind g_free() and g_realloc(), but if you just pass NULL, you
get the default of a fixed size, which is useless as per above.
I am going to use this from a gjs test case, and the GSubprocess test
cases also will use it.
https://bugzilla.gnome.org/show_bug.cgi?id=688931
Bastien Nocera [Tue, 27 Nov 2012 16:23:08 +0000 (17:23 +0100)]
fileinfo: Add missing AVAILABLE macro
As forgotten in previous patch.
Bastien Nocera [Tue, 27 Nov 2012 15:59:28 +0000 (16:59 +0100)]
fileinfo: Add _get_deletion_date() helper
For use in gnome-settings-daemon, so that callers don't have
to parse the deletion date by hand.
Ryan Lortie [Sun, 25 Nov 2012 19:25:59 +0000 (14:25 -0500)]
gio: New API for GFile from remote commandline arg
Add a pair of new APIs: one to GFile to create a new file from a
commandline arg relative to a given cwd and one to
GApplicationCommandLine to create a GFile from an arg, relative to the
cwd of the invoking commandline.
https://bugzilla.gnome.org/show_bug.cgi?id=689037
ManojKumar Giri [Tue, 27 Nov 2012 13:51:43 +0000 (19:21 +0530)]
Updated Odia Translation with FUEL implementation.
Dan Winship [Sat, 24 Nov 2012 20:47:45 +0000 (15:47 -0500)]
g_test_expect_message: fix pattern syntax in example code