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
Ryan Lortie [Sun, 25 Nov 2012 19:47:53 +0000 (14:47 -0500)]
stop using libgthread internally
The gobject tools (glib-genmarshal and gobject-query) were linking
against libgthread. Stop that.
Also, remove the gthread_INCLUDES internal automake substitution.
John Ralls [Sun, 25 Nov 2012 07:35:08 +0000 (16:35 +0900)]
Bug 681685: Transcoding fails on OSX
Add aliases for codesets supported by iconv and included in locales.
Ifdef-out tests in glib/tests/gdatetime.c which fail because on OSX only
ASCII numbers or symbols are returned for the format.
Even though nl_langinfo does weird things on Darwin in some cases, it
still acts correctly when LANG/LC_ALL is set to a supported
locale.codeset.
Paolo Borelli [Sat, 24 Nov 2012 18:12:13 +0000 (19:12 +0100)]
Add GApplication local_command_line test
Assert that startup and shutdown are not called if we return TRUE from
local_command_line
Ryan Lortie [Sat, 24 Nov 2012 18:20:29 +0000 (13:20 -0500)]
GApplication: don't shutdown() on failure to start
If we fail to start (and don't register() or call startup()) then also
don't call shutdown(). This happens in the case of failing to parse
commandline arguments, for example.
Ryan Lortie [Sat, 24 Nov 2012 16:23:22 +0000 (11:23 -0500)]
gdatetime: Fix some docs sed damage
Rajesh Ranjan [Fri, 23 Nov 2012 08:52:25 +0000 (14:22 +0530)]
hindi translation update
Rajesh Ranjan [Fri, 23 Nov 2012 08:34:34 +0000 (14:04 +0530)]
hindi translation update
Rajesh Ranjan [Fri, 23 Nov 2012 08:32:05 +0000 (14:02 +0530)]
hindi translation update
Sébastien Wilmet [Thu, 22 Nov 2012 18:41:19 +0000 (19:41 +0100)]
Improve i18n documentation
Clearly explain which gettext functions must be called. It depends
whether the program is an application or a library.
https://bugzilla.gnome.org/show_bug.cgi?id=688886
Krzesimir Nowak [Thu, 22 Nov 2012 15:56:52 +0000 (16:56 +0100)]
configure: Make GNUC visibility attribute test more reliable.
Using "int main (int argc, char** argv)" in this test causes GCC to
issue two warnings about unused variable if CFLAGS envvar has
-Wunused-parameter (or just -Wextra). Those warnings are not related
to the attribute checking but they can make the test fail anyway.
Nilamdyuti Goswami [Thu, 22 Nov 2012 16:29:15 +0000 (21:59 +0530)]
Assamese translation updated
ManojKumar Giri [Thu, 22 Nov 2012 14:50:05 +0000 (20:20 +0530)]
Updated Odia Translation with FUEL implementation.
ManojKumar Giri [Thu, 22 Nov 2012 14:48:15 +0000 (20:18 +0530)]
Updated Odia Translation with FUEL implementation.
Will Thompson [Wed, 14 Nov 2012 14:59:42 +0000 (14:59 +0000)]
gthread: add AVAILABLE_IN_2_32 annotations
https://bugzilla.gnome.org/show_bug.cgi?id=688319
Matthias Clasen [Wed, 21 Nov 2012 22:39:19 +0000 (17:39 -0500)]
Add a test for the GAppLaunchContext::launched signal
Matthias Clasen [Fri, 16 Nov 2012 23:24:21 +0000 (18:24 -0500)]
GAppLaunchContext: make it possible ot get the effective startup id
gnome-session needs to know the startup id that was given to
a started app; this was not available via GAppLaunchContext.
This commit adds a ::launched signal to get this information.
At the same time, turn the launch_failed vfunc into a signal
as well.
https://bugzilla.gnome.org/show_bug.cgi?id=688497
Matthias Clasen [Thu, 22 Nov 2012 02:14:26 +0000 (21:14 -0500)]
Add new api to exported symbols
Matthias Clasen [Thu, 22 Nov 2012 02:13:40 +0000 (21:13 -0500)]
Add new API to the docs
Matthias Clasen [Wed, 21 Nov 2012 21:15:14 +0000 (16:15 -0500)]
Add a test for new GDesktopAppInfo getters
Matthias Clasen [Fri, 16 Nov 2012 23:22:45 +0000 (18:22 -0500)]
GDesktopAppInfo: add enough api to make autostart implementable
gnome-session still uses EggDesktopFile, since GDesktopAppInfo is
missing a handful of APIs that are needed to implement the
autostart spec. This patch adds the minimum that is required.
https://bugzilla.gnome.org/show_bug.cgi?id=688497
Chun-wei Fan [Thu, 22 Nov 2012 00:59:02 +0000 (08:59 +0800)]
build/win32/Makefile.am: Also go into the vs11 subdirectory
Chun-wei Fan [Mon, 19 Nov 2012 04:58:55 +0000 (12:58 +0800)]
Add autotools scripts to create VS2012 projects
As the project file format for Visual Studio 2012 is only slightly
different from Visual Studio 2010 projects, we can provide support for
building GLib (and other projects) with Visual Studio 2012 with relatively
little effort. This might change when we eventually get GLib to work with
the Windows 8 (Modern UI/formerly Metro) APIs, but this will suffice for
the time being for people needing to build GLib with Visual Studio 2012.
Basically all that needs to be done at 'make dist' is:
-Copy the .sln/.props/README.txt/.vcxproj files and replace the VS2010
stuff with VS2012 stuff
-Copy the .vcxproj.filters as is
Kjell Ahlstedt [Mon, 12 Nov 2012 16:07:39 +0000 (17:07 +0100)]
GObject: Fix code snippet in description of floating reference.
https://bugzilla.gnome.org/show_bug.cgi?id=688180
Olivier Blin [Wed, 14 Nov 2012 18:08:10 +0000 (19:08 +0100)]
configure: add missing square bracket in AS_IF for memmove
This has been broken in commit
54e31ab4f172bbb28434eafc34c9345a93c9ccf5
It seems to be the only hunk that was incorrectly converted.
https://bugzilla.gnome.org/show_bug.cgi?id=688377
Eduardo Lima Mitev [Fri, 16 Nov 2012 17:20:09 +0000 (18:20 +0100)]
gchecksum: Adds SHA512 support
https://bugzilla.gnome.org/show_bug.cgi?id=602715
Daniel Mustieles [Tue, 20 Nov 2012 14:50:54 +0000 (15:50 +0100)]
Updated Spanish translation
Sebastian Dröge [Tue, 20 Nov 2012 07:58:30 +0000 (08:58 +0100)]
Add boxed GType for GThread
https://bugzilla.gnome.org/show_bug.cgi?id=688704
Shankar Prasad [Tue, 20 Nov 2012 06:12:27 +0000 (11:42 +0530)]
Updated Kannada Translations
Debarshi Ray [Mon, 19 Nov 2012 23:11:56 +0000 (00:11 +0100)]
file-info: Don't leak the filename if thumbnailing failed
Fixes: https://bugzilla.gnome.org/686895
Ryan Lortie [Mon, 19 Nov 2012 23:20:41 +0000 (18:20 -0500)]
*bump*
Ryan Lortie [Mon, 19 Nov 2012 21:14:05 +0000 (16:14 -0500)]
NEWS
Ryan Lortie [Mon, 19 Nov 2012 21:10:55 +0000 (16:10 -0500)]
Remove two accidentally-exported symbols
This reverts commit
85976cf91deae6ac7cf1639a187a424ff7296968 and
properly removes the offending symbols from gio.symbols.
These two private symbols were found to be exported during Colin's
recent work cleaning up function visibility (among other things).
They were never exposed in any header file and I am 100% certain that
they have never been used by anybody. They were always private -- only
exposed on the library symbol list.
This change will cause ABI checking tools to complain that we have
removed functions, but the change is completely harmless for actual
applications.
https://bugzilla.gnome.org/show_bug.cgi?id=687441
Ryan Lortie [Mon, 19 Nov 2012 15:28:55 +0000 (10:28 -0500)]
Revert "[gobject] set all properties before constructed()"
This reverts commit
028d4a03f2baa7ca9243a2819f30ffb0d5e137d7.
I thought that we would be able to get away with this incompatible
change but it appears to impact far too much existing code. The only
thing we can do is revert.
https://bugzilla.gnome.org/show_bug.cgi?id=688596
Chun-wei Fan [Mon, 19 Nov 2012 04:38:28 +0000 (12:38 +0800)]
Update config.h.win32.in
Make its entries correspond to the entries in config.h.in, and use
_strnicmp for strncasecmp on Visual C++.
Antoine Jacoutot [Sat, 17 Nov 2012 08:44:48 +0000 (09:44 +0100)]
gio-kqueue: use O_EVTONLY on MacOS
MacOS provides the O_EVTONLY flag to open(2) which allow to open a file
for monitoring without preventing an unmount of the volume that contains
it.
https://bugzilla.gnome.org/show_bug.cgi?id=688518
Michael Natterer [Fri, 16 Nov 2012 17:48:09 +0000 (18:48 +0100)]
Bug 673047 - gunicollate is broken on OS X
Apply slightly modified patch from Camillo Lugaresi which fixes
gunicollate for OSX >= 10.6. It was totally hilariously broken
for anyone on 10.6 and later, I dont know if it's now broken
on 10.5, but better fix it for the vast majority of users.
Kalev Lember [Fri, 16 Nov 2012 16:33:14 +0000 (17:33 +0100)]
Fix a broken link in GConf migration guide
gnome-utils git repo was moved to archive/ and this broke the link.
Dan Winship [Thu, 15 Nov 2012 23:18:54 +0000 (18:18 -0500)]
win32: re-fix the _utf8 compat function situation
The previous fix didn't work, because every place within glib that
used any of the functions also needed to be including win32compat.h.
So, move the prototypes back to their original headers (but at least
all in one place at the bottom).
https://bugzilla.gnome.org/show_bug.cgi?id=688109
Paul Menzel [Wed, 14 Nov 2012 17:49:50 +0000 (18:49 +0100)]
docs: Fix spelling of "exceed" in gobject/gtype.c
https://bugzilla.gnome.org/show_bug.cgi?id=688338
Aleksander Morgado [Thu, 15 Nov 2012 08:31:14 +0000 (09:31 +0100)]
gdbus: improve documentation of the GDBusError section
https://bugzilla.gnome.org/show_bug.cgi?id=688370
Dan Winship [Sun, 11 Nov 2012 18:07:30 +0000 (13:07 -0500)]
gtestutils: don't try to print long doubles
A few gtestutils function use long double as a type that can (in
theory) hold any int or any double. But win32 doesn't support long
doubles in printf, so convert them to ints or doubles first before
trying to print them.
https://bugzilla.gnome.org/show_bug.cgi?id=688109
Dan Winship [Sun, 11 Nov 2012 18:05:16 +0000 (13:05 -0500)]
win32: work around broken winsock prototypes
Re-#define a few socket functions to work around winsock's prototypes
having, eg, "int *" rather than "unsigned int *", or "char *" rather
than "void *".
(Also fix two places that mistakenly assumed guint==guint32.)
https://bugzilla.gnome.org/show_bug.cgi?id=688109
Dan Winship [Sun, 11 Nov 2012 16:29:16 +0000 (11:29 -0500)]
win32: avoid printf format warnings on nonstandard formats
glib/tests/test-printf tests some non-standard printf formats on
Windows, which gcc doesn't recognize, and so complains about. Disable
those warnings for that test.
https://bugzilla.gnome.org/show_bug.cgi?id=688109
Dan Winship [Sun, 11 Nov 2012 16:21:07 +0000 (11:21 -0500)]
win32: make gio/tests/gdbus-proxy.c compile
win32 doesn't have kill(), so this won't even compile on Windows
unless that is ifdeffed out. The test probably still doesn't *work*,
but...
https://bugzilla.gnome.org/show_bug.cgi?id=688109
Dan Winship [Sat, 10 Nov 2012 16:13:24 +0000 (11:13 -0500)]
gvariant-internal.h: fix the include hack
gvariant-internal.h was defining GLIB_COMPILATION so that it could
include individual headers, but this broke tests/gvariant on windows
because setting GLIB_COMPILATION changes the definition of GLIB_VAR,
causing external variables to not be found. Fix this by having it
define __GLIB_H_INSIDE__ instead.
https://bugzilla.gnome.org/show_bug.cgi?id=688109
Dan Winship [Sat, 10 Nov 2012 16:09:18 +0000 (11:09 -0500)]
GLocalFile: canonicalize the initial directory separator
GLocalFile was (in certain situations) translating a path like
"/foo/bar/baz" to "/foo\bar\baz" on win32. Fix it to make sure the
initial directory separator gets canonicalized too.
Fixes gio/tests/g-icon on win32.
https://bugzilla.gnome.org/show_bug.cgi?id=688109
Dan Winship [Sat, 10 Nov 2012 16:06:57 +0000 (11:06 -0500)]
win32: various fixes to test programs
Fix a few win32-specific bugs in various tests, and #ifdef out code
that is UNIX- or Linux-specific that wouldn't be expected to pass on
Windows.
https://bugzilla.gnome.org/show_bug.cgi?id=688109
Dan Winship [Sat, 10 Nov 2012 15:58:19 +0000 (10:58 -0500)]
win32: misc warning fixes
https://bugzilla.gnome.org/show_bug.cgi?id=688109
Dan Winship [Sun, 11 Nov 2012 16:32:40 +0000 (11:32 -0500)]
win32: move some code into #ifdef G_OS_UNIX
Fix various bits of code/declarations that are only used by G_OS_UNIX
but were still visible to G_OS_WIN32.
https://bugzilla.gnome.org/show_bug.cgi?id=688109
Dan Winship [Sat, 10 Nov 2012 15:54:43 +0000 (10:54 -0500)]
win32: define _WIN32_WINNT globally
Rather than defining _WIN32_WINNT only in a handful of files, define
it in config.h, like we do with _GNU_SOURCE.
(Also remove a "#define WIN32_LEAN_AND_MEAN" that isn't really all
that useful.)
https://bugzilla.gnome.org/show_bug.cgi?id=688109
Dan Winship [Sat, 10 Nov 2012 15:51:18 +0000 (10:51 -0500)]
win32: prototype _glib_get_dll_directory() and _glib_get_locale_dir()
Rather than using "extern" declarations of these win32 functions
everywhere they're needed, just prototype them in glib-private.h.
(Which also fixes the fact that they weren't prototyped in the files
where they're defined.)
https://bugzilla.gnome.org/show_bug.cgi?id=688109
Dan Winship [Thu, 15 Nov 2012 17:24:57 +0000 (12:24 -0500)]
win32: add gwin32compat.h, for utf8-renaming compatibility defines
To avoid -Wmissing-prototype warnings, we need to prototype both the
original and the _utf8 versions of all of the functions that have had
_utf8-renaming on Windows. But duplicating all the prototypes is ugly,
so rather than doing them "in-place", move them all to a new header
file just for that.
https://bugzilla.gnome.org/show_bug.cgi?id=688109
Wim Taymans [Thu, 15 Nov 2012 10:37:20 +0000 (11:37 +0100)]
gsocket: fix joining/leaving multicast groups
Initialize the structure passed to setsockopt to 0 to avoid random
errors when joining or leaving a multicast group.
https://bugzilla.gnome.org/show_bug.cgi?id=688378
Michael Natterer [Thu, 15 Nov 2012 14:23:07 +0000 (15:23 +0100)]
Revert "gmain: Add private API to create Unix child watch that uses waitid()"
This reverts commit
93bf37ce1507380f74d4cb4cab6640fc7d2eb7d1.
Michael Natterer [Thu, 15 Nov 2012 14:22:52 +0000 (15:22 +0100)]
Revert "gio: Add private API to create win32 streams from fds"
This reverts commit
292de8cc5259eb66c40d9a74d85389650ef67747.
Michael Natterer [Thu, 15 Nov 2012 14:22:37 +0000 (15:22 +0100)]
Revert "gspawn: support creating pipes with O_CLOEXEC"
This reverts commit
2054ccad95cfdcf5eccd2ef6847c12039c9678e8.
Colin Walters [Thu, 15 Nov 2012 13:42:36 +0000 (08:42 -0500)]
gdbus: Fix some compiler warnings
Code appears to have been copy/pasted from a bit which used _object,
but I think it's clearer to always use the "self" parameter anyways.
Antoine Jacoutot [Wed, 14 Nov 2012 11:57:42 +0000 (12:57 +0100)]
GFileMonitor: Add kqueue(3) support to GIO
Written by Dmitry Matveev as part of GSoC 2011:
http://netbsd-soc.sourceforge.net/projects/kqueue4gio/
This brings native file monitoring support on systems supporting kqueue(3)
(all BSDs) and remove the need to rely on the unmaintained gamin software.
The backend adds GKqueueDirectoryMonitor and GKqueueFileMonitor.
Some parts rewritten by myself (to prevent needing a configuration file).
Helpful inputs from Colin Walters and Simon McVittie.
https://bugzilla.gnome.org/show_bug.cgi?id=679793
Ryan Lortie [Sat, 10 Nov 2012 18:16:29 +0000 (13:16 -0500)]
gspawn: support creating pipes with O_CLOEXEC
Add a new flag, G_SPAWN_CLOEXEC_PIPES, for creating the stdin/out/err
pipes with O_CLOEXEC (for the usual reasons).
https://bugzilla.gnome.org/show_bug.cgi?id=672102
Colin Walters [Tue, 22 May 2012 20:06:10 +0000 (16:06 -0400)]
gio: Add private API to create win32 streams from fds
This will be used by GSubprocess.
https://bugzilla.gnome.org/show_bug.cgi?id=672102
Colin Walters [Mon, 21 May 2012 21:09:06 +0000 (17:09 -0400)]
gmain: Add private API to create Unix child watch that uses waitid()
This avoids collecting the zombie child, which means that the PID
can't be reused. This prevents possible race conditions that might
occur were one to send e.g. SIGTERM to a child.
This race condition has always existed due to the way we called
waitpid() for the app, but the window was widened when we moved the
waitpid() calls into a separate thread.
If waitid() isn't available, we return NULL, and consumers of this
private API (namely, GSubprocess) will need to handle that.
https://bugzilla.gnome.org/show_bug.cgi?id=672102
Simon McVittie [Tue, 13 Nov 2012 14:25:21 +0000 (14:25 +0000)]
Remove trailing spaces from expected GMarkup error messages
Commit 138f4c1 broke the relevant part of 'make check' by changing the
error messages away from the ones we previously expected. This commit
updates the expected output to catch up.
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=688255
Reviewed-by: Matthias Clasen <mclasen@redhat.com>
Colin Walters [Thu, 8 Nov 2012 14:12:25 +0000 (09:12 -0500)]
gmain: Handle case where source id overflows
0 is not a valid source id, but for long-lived programs that rapidly
create/destroy sources, it's possible for the source id to overflow.
We should handle this, because the documentation implies we will.
https://bugzilla.gnome.org/show_bug.cgi?id=687098
Paul Menzel [Sun, 11 Nov 2012 13:48:15 +0000 (14:48 +0100)]
gio/*: Fix spelling of determining
$ sed -i s,determing,determining,g gio/gdrive.c
$ sed -i s,determing,determining,g gio/gdbusprivate.c
http://www.merriam-webster.com/dictionary/determining
For some reason according to `git log --follow` the whole file was created during some translation update.
commit
c45b8135046790e13b0d486f605dc62c9a783b16
Author: Timo Jyrinki <timo@debian.org>
Date: Mon Mar 12 11:02:04 2012 +0200
Finnish translation update from http://l10n.laxstrom.name/wiki/Gnome_3.4 translation sprint
Dan Winship [Sun, 11 Nov 2012 19:14:04 +0000 (14:14 -0500)]
Revert "Return correct value for g_socket_get_available_bytes() on Windows and OSX"
This neither compiles nor does what it's supposed to on Windows.
This reverts commit
1e598600a16d885a3ca859fe951a5bdd198fd6e7.
Dan Winship [Sat, 10 Nov 2012 15:37:00 +0000 (10:37 -0500)]
.gitignore: ignore .def files (win32 build)
Sebastian Dröge [Fri, 9 Nov 2012 14:28:36 +0000 (15:28 +0100)]
Add caching for the receiver addresses for g_socket_receive_from()
https://bugzilla.gnome.org/show_bug.cgi?id=668842
Мирослав Николић [Sun, 11 Nov 2012 10:36:03 +0000 (11:36 +0100)]
Updated Serbian translation
Aurimas Černius [Sat, 10 Nov 2012 12:12:30 +0000 (14:12 +0200)]
Updated Lithuanian translation
Fran Diéguez [Sat, 10 Nov 2012 09:56:26 +0000 (10:56 +0100)]
Updated Galician translations
Matej Urbančič [Sat, 10 Nov 2012 07:58:41 +0000 (08:58 +0100)]
Updated Slovenian translation
Matej Urbančič [Sat, 10 Nov 2012 07:56:38 +0000 (08:56 +0100)]
Updated Slovenian translation
Matthias Clasen [Sat, 10 Nov 2012 03:14:39 +0000 (22:14 -0500)]
Add an option to make glib-compile-resources use G_GNUC_INTERNAL
https://bugzilla.gnome.org/show_bug.cgi?id=687742
Matthias Clasen [Sat, 10 Nov 2012 03:12:57 +0000 (22:12 -0500)]
Remove trailing space from some translated strings
https://bugzilla.gnome.org/show_bug.cgi?id=687700
Matthias Clasen [Sat, 10 Nov 2012 03:10:10 +0000 (22:10 -0500)]
Add plural forms for some translations
https://bugzilla.gnome.org/show_bug.cgi?id=687698
Sebastian Dröge [Wed, 24 Oct 2012 12:25:01 +0000 (14:25 +0200)]
Return correct value for g_socket_get_available_bytes() on Windows and OSX
https://bugzilla.gnome.org/show_bug.cgi?id=686786
John Ralls [Fri, 9 Nov 2012 17:22:19 +0000 (09:22 -0800)]
Fix poll able streams for Darwin (and probably BSD)
Darwin's poll doesn't change revents if there are no available events, though it returns 0. Initialize the fd.revents to 0 so that the test passes.
That reveals a test failure, though, because with socket streams it takes time for an event to pass through the socket. Provide an 80-usec delay to allow time for the propagation.
John Ralls [Thu, 8 Nov 2012 17:52:28 +0000 (09:52 -0800)]
Fix compile error about missing prototype
For g_nextstep_settings_backend_get_type()
Dan Winship [Fri, 9 Nov 2012 16:38:08 +0000 (11:38 -0500)]
gthreadedresolver: fix a bug in the GTask porting of lookup_records
We were passing the wrong destroy notify when returning the list of
records, so it would crash if it got called (ie, if you didn't call
g_resolver_lookup_records_finish()).
(Also fix s/targets/records/ throughout the records functions.)
Timothy Arceri [Fri, 9 Nov 2012 12:48:38 +0000 (23:48 +1100)]
Use url encoding for trash fileinfo path as per freedesktop trash specification
https://bugzilla.gnome.org/show_bug.cgi?id=687540
Martin Pitt [Fri, 9 Nov 2012 08:32:03 +0000 (09:32 +0100)]
GByteArray: Add missing transfer annotations
Make g_byte_array_new() and g_byte_array_new_take() introspectable by adding
missing transfer annotations to return value.
Covered by tests in PyGObject.
Martin Pitt [Fri, 9 Nov 2012 08:02:22 +0000 (09:02 +0100)]
GBytes: Add missing annotations
Annotate g_bytes_new*()'s data argument to be a guint8 array, as
introspection clients cannot deal with raw gconstpointers. This makes
GBytes' behaviour similar to GByteArray whose API already uses guint8.
Add missing transfer annotation to g_bytes_get_data() to make it
introspectable.
This is covered by test cases in PyGObject.