Nils-Christoph Fiedler [Thu, 18 Mar 2010 12:54:17 +0000 (13:54 +0100)]
Updated LowGerman translation
Sebastian Dröge [Wed, 17 Mar 2010 14:11:00 +0000 (15:11 +0100)]
Bug 612502 - Add support for class private data
This adds the two new functions g_type_add_class_private()
and g_type_class_get_private() and a convenience macro
for the getter G_TYPE_CLASS_GET_PRIVATE().
Benjamin Otte [Tue, 16 Mar 2010 15:34:50 +0000 (16:34 +0100)]
The fallback parameter to g_convert_with_fallback() should be const
This patch makes it so.
Ryan Lortie [Mon, 15 Mar 2010 21:45:02 +0000 (17:45 -0400)]
Bug 612502 - build fails on glib/tests/gvariant.c
Fix two problems caught by Tim Rice.
- non-constant expression used as array size
- arithmetic on void *
Christian Persch [Sun, 7 Feb 2010 12:39:10 +0000 (13:39 +0100)]
Use static assert over runtime assert if possible
We can test the these at compile time. Bug #609231.
Nils-Christoph Fiedler [Mon, 15 Mar 2010 13:18:48 +0000 (14:18 +0100)]
Added LowGerman translation
Nils-Christoph Fiedler [Mon, 15 Mar 2010 13:18:43 +0000 (14:18 +0100)]
Added LowGerman translation
Ryan Lortie [Mon, 15 Mar 2010 02:27:06 +0000 (22:27 -0400)]
gvariant test: Remove unused variable
Petr Kovar [Mon, 15 Mar 2010 01:30:27 +0000 (02:30 +0100)]
Update Czech translation
Ryan Lortie [Sun, 14 Mar 2010 19:55:48 +0000 (15:55 -0400)]
GVariant: add loading, byteswapping, normalisation
Ryan Lortie [Sun, 14 Mar 2010 17:04:43 +0000 (13:04 -0400)]
GBuffer: very small cosmetic fix to header file
Ryan Lortie [Sun, 14 Mar 2010 00:55:56 +0000 (19:55 -0500)]
GVariantIter: expand the size of the dummy struct
Will allow for some nice tricks in the future.
Colin Walters [Sat, 13 Mar 2010 23:11:31 +0000 (18:11 -0500)]
[GDesktopAppInfo] New function g_desktop_app_info_get_filename
This allows access to the full file path, where possible.
https://bugzilla.gnome.org/show_bug.cgi?id=612832
Thomas Kristensen [Sun, 14 Mar 2010 09:47:17 +0000 (11:47 +0200)]
Close the socket event in finalizer instead of in close method
There might be a GSource attached to a GMainContext, about to be removed by a
pending cancellation. Deleting the handle too early will trigger a g_warning in
the "select()" call in GMainContext. Attached patch fixes this by deferring
destruction of WSAEVENT object until GSocket's finalize().
Patch from bug #612702.
Signed-off-by: Tor Lillqvist <tml@iki.fi>
Fran Diéguez [Sat, 13 Mar 2010 20:00:44 +0000 (21:00 +0100)]
Update Galician translation
Friedel Wolff [Sat, 13 Mar 2010 19:48:05 +0000 (20:48 +0100)]
Add Afrikaans translation
Javier Jardón [Fri, 12 Mar 2010 19:37:04 +0000 (20:37 +0100)]
Improve the documentation about single include exceptions
Also, reenable the compiling Glib application section
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=612736
Ryan Lortie [Fri, 12 Mar 2010 20:38:47 +0000 (15:38 -0500)]
Bug 610858 - gvariant test fails sometimes
NaN floating point values get mangled when passing across the function
call ABI on x86 so avoid using them to get rid of spurious failures.
Reported by Christian Persch and reliably reproduced by Emilio Pozuelo
Monfort.
Tor Lillqvist [Fri, 12 Mar 2010 08:42:43 +0000 (10:42 +0200)]
The SO_KEEPALIVE value seems to actually be a char on Windows
Do still use a BOOL variable, but initialize it to FALSE before the
getsockopt(), and drop the assertion on Windows. Should fix bug
Javier Jardón [Wed, 10 Mar 2010 04:06:50 +0000 (05:06 +0100)]
[docs] Don't reference deprecated functions
Use g_io_add_watch(), g_io_add_watch_full() and
g_source_remove() instead the deprecated gtk_input_add_full(),
gtk_input_remove(), gdk_input_add(), gdk_input_add_full() and
gdk_input_remove()
Miloš Popović [Tue, 9 Mar 2010 19:29:43 +0000 (20:29 +0100)]
Updated Serbian translations
Ryan Lortie [Tue, 9 Mar 2010 18:34:00 +0000 (13:34 -0500)]
'default: g_assert_not_reached();' to silence GCC
Closes bug #612327 reported by Claudio Saavedra.
Dagobert Michelsen [Tue, 9 Mar 2010 14:02:57 +0000 (15:02 +0100)]
Use G_STRFUNC instead of explicit gcc-only __PRETTY_FUNC__
Behdad Esfahbod [Mon, 8 Mar 2010 19:28:23 +0000 (14:28 -0500)]
Cosmetic
Ryan Lortie [Mon, 8 Mar 2010 16:53:36 +0000 (11:53 -0500)]
Bump version
Ryan Lortie [Mon, 8 Mar 2010 16:48:14 +0000 (11:48 -0500)]
2.23.5
Ryan Lortie [Mon, 8 Mar 2010 16:29:27 +0000 (11:29 -0500)]
gtk-doc: ignore gvariant-internal.h
Ryan Lortie [Mon, 8 Mar 2010 16:25:37 +0000 (11:25 -0500)]
Add gvariant-varargs.xml to the distribution
Ryan Lortie [Mon, 8 Mar 2010 15:54:23 +0000 (10:54 -0500)]
distcheck: add gvariant-internal.h to SOURCES
Ryan Lortie [Mon, 8 Mar 2010 15:30:59 +0000 (10:30 -0500)]
GVariant variable arguments, tests, cleanups
Merge GVariant variable arguments support and put it under tests.
Also, remove the hack of the test case directly '#include'ing .c files
from glib/. Instead, create a non-installed gvariant-internal.h that
the tests can include and make the symbols in it visible on the symbol
table of the shared library. These symbols (as they are present in no
installed header files) are not part of the API of GLib.
Increase test coverage in a few other areas.
Alexander Larsson [Mon, 8 Mar 2010 11:03:40 +0000 (12:03 +0100)]
Add pregenerated ids for TRASH_ORIG_PATH and TRASH_DELETION_DATE
This fixes the build for me
Piotr Drąg [Mon, 8 Mar 2010 09:51:11 +0000 (10:51 +0100)]
Updated Polish translation
Matthias Clasen [Mon, 8 Mar 2010 05:36:00 +0000 (00:36 -0500)]
Add defines for trash::orig-path and trash::deletion-date
See bug 612107.
Priit Laes [Mon, 8 Mar 2010 05:16:23 +0000 (00:16 -0500)]
Fix run-assert-msg-test to work with libtool-2.2.x.
Matthias Clasen [Mon, 8 Mar 2010 05:12:33 +0000 (00:12 -0500)]
Minor doc clarification
Mention g_realloc() as a possible function to use with
g_memory_output_stream_new(). Bug 612041.
Matthias Clasen [Mon, 8 Mar 2010 05:04:11 +0000 (00:04 -0500)]
Minor doc clarification
Spell out that g_utf8_strlen() behaves like strlen() wrt. to
termination. Bug 612040.
Duarte Loreto [Mon, 8 Mar 2010 02:31:12 +0000 (02:31 +0000)]
Updated Portuguese translation
Matthias Clasen [Sun, 7 Mar 2010 22:42:25 +0000 (17:42 -0500)]
Plug a memleak in g_io_modules_scan_all_in_directory
...and at the same time, fix a malloc<>g_free mismatch.
Patch by Caolan McNamara, bug 611897
Jorge González [Sun, 7 Mar 2010 10:49:58 +0000 (11:49 +0100)]
Updated Spanish translation
Ryan Lortie [Sun, 7 Mar 2010 08:02:08 +0000 (03:02 -0500)]
.gitignore mem-overflow test
Ryan Lortie [Sun, 7 Mar 2010 07:15:37 +0000 (02:15 -0500)]
gtk-doc: ignore GBuffer
Ryan Lortie [Sun, 7 Mar 2010 04:21:27 +0000 (23:21 -0500)]
Bug 608196 - Overflow-safe g_new family
Remove the macros for the g_malloc_n family -- calls directly to those
functions now always go directly to those functions.
Reimplement the macros for g_new and friends.
Remove the branch that checked for calling g_new() with a constant
n_structs == 1. With the struct size always known this case will now be
caught under the case that does the inline multiplication and the
multiplication by 1 will be optimised away.
Alexander Shopov [Sat, 6 Mar 2010 18:22:49 +0000 (20:22 +0200)]
Updated Bulgarian translation
Gil Forcada [Sat, 6 Mar 2010 12:34:27 +0000 (13:34 +0100)]
Updated Catalan translation
Stefan Kost [Sat, 6 Mar 2010 12:15:25 +0000 (14:15 +0200)]
gsignal: improve g_signal_new docs.
Using 0 for class_offset is only a means to be able to add signal when running
out of slots in the lass structure.
Stefan Kost [Sat, 6 Mar 2010 11:36:38 +0000 (13:36 +0200)]
docs: exchange "Subversion" with "source code repository"
Fixes the outdated reference.
Luca Ferretti [Sat, 6 Mar 2010 00:05:40 +0000 (01:05 +0100)]
Updated Italian translation
Daniel Nylander [Fri, 5 Mar 2010 23:28:38 +0000 (00:28 +0100)]
Updated Swedish translation
Fridrich Strba [Fri, 5 Mar 2010 22:15:45 +0000 (23:15 +0100)]
Adding new defines first appeared in 2.22 into glibconfig.h.win32.in
Claude Paroz [Fri, 5 Mar 2010 21:32:07 +0000 (22:32 +0100)]
Updated French translation
Gabor Kelemen [Fri, 5 Mar 2010 21:03:27 +0000 (22:03 +0100)]
Updated Hungarian translation
Ryan Lortie [Fri, 5 Mar 2010 20:52:38 +0000 (15:52 -0500)]
undef the proper macros to avoid warning message
Behdad Esfahbod [Fri, 5 Mar 2010 20:48:08 +0000 (15:48 -0500)]
Add makegalias.pl dep on galias.h and co
Leonid Kanter [Fri, 5 Mar 2010 13:49:12 +0000 (15:49 +0200)]
update Russian translation
Matej Urbančič [Fri, 5 Mar 2010 13:32:01 +0000 (14:32 +0100)]
Updated Slovenian translation
Ryan Lortie [Fri, 5 Mar 2010 11:10:01 +0000 (06:10 -0500)]
g_variant_get_strv: support objects and signatures
Ryan Lortie [Fri, 5 Mar 2010 11:09:38 +0000 (06:09 -0500)]
GVariant: fix some refcounting issues
Ivar Smolin [Fri, 5 Mar 2010 11:08:05 +0000 (13:08 +0200)]
Estonian translation updated
Gintautas Miliauskas [Fri, 5 Mar 2010 09:16:33 +0000 (11:16 +0200)]
Updated Lithuanian translation.
Philip Withnall [Thu, 4 Mar 2010 23:54:07 +0000 (23:54 +0000)]
Updated British English translation
Kjartan Maraas [Thu, 4 Mar 2010 21:57:03 +0000 (22:57 +0100)]
Updated Norwegian bokmål translation
Kjartan Maraas [Thu, 4 Mar 2010 21:56:37 +0000 (22:56 +0100)]
Updated Norwegian bokmål translation
Mario Blättermann [Thu, 4 Mar 2010 21:02:43 +0000 (22:02 +0100)]
Updated German translation
Inaki Larranaga Murgoitio [Thu, 4 Mar 2010 20:31:54 +0000 (21:31 +0100)]
Updated Basque language
Jonh Wendell [Thu, 4 Mar 2010 20:13:56 +0000 (17:13 -0300)]
Updated Brazilian Portuguese translation
Jonh Wendell [Thu, 4 Mar 2010 20:03:13 +0000 (17:03 -0300)]
Mark a string for translation
Claudio Saavedra [Thu, 4 Mar 2010 17:18:12 +0000 (19:18 +0200)]
Remove GUtf8InputStream leftover in docs
Fixes build.
Behdad Esfahbod [Thu, 4 Mar 2010 15:38:31 +0000 (10:38 -0500)]
Fix galias build breakage with g_malloc_n macros
Christian Dywan [Thu, 4 Mar 2010 10:02:31 +0000 (11:02 +0100)]
Add licence headers to gnativevolumemonitor.c/h
Fixes bug #609531
Behdad Esfahbod [Wed, 3 Feb 2010 04:48:42 +0000 (23:48 -0500)]
Bug 608196 - Overflow-safe g_new family
New public API:
g_malloc_n
g_malloc0_n
g_realloc_n
g_try_malloc_n
g_try_malloc0_n
g_try_realloc_n
Felix Riemann [Wed, 24 Feb 2010 11:54:17 +0000 (12:54 +0100)]
Fix API docs for GZlibCompressor and GZlibDecompressor
Corrects the general descriptions and makes the signals and implemented
interfaces appear.
Ryan Lortie [Wed, 3 Mar 2010 16:36:52 +0000 (11:36 -0500)]
GVariantBuilder: loosen assertion check
Don't check that a GVariantBuilder is fully-valid for use when
performing refcounting operations, as these operations may be occuring
after the builder has already been cleared.
Dan Winship [Wed, 3 Mar 2010 13:35:32 +0000 (08:35 -0500)]
GResolver: fix Windows 2000 workaround
Move the <wspiapi.h> include from gwin32resolver.c to
gnetworkingprivate.h, since gthreadedresolver.c needs it too.
https://bugzilla.gnome.org/show_bug.cgi?id=611696
Kjartan Maraas [Wed, 3 Mar 2010 12:49:10 +0000 (13:49 +0100)]
Updated Norwegian bokmål translation
Ryan Lortie [Wed, 3 Mar 2010 08:37:37 +0000 (03:37 -0500)]
GVariantBuilder: allow for stack allocation
Gabor Kelemen [Tue, 2 Mar 2010 16:18:52 +0000 (17:18 +0100)]
Updated Hungarian translation
Inaki Larranaga Murgoitio [Tue, 2 Mar 2010 11:39:33 +0000 (12:39 +0100)]
Updated Basque language
Paolo Borelli [Mon, 1 Mar 2010 09:24:43 +0000 (10:24 +0100)]
Remove utf8inputstream leftovers in a few other places
Alexander Larsson [Mon, 1 Mar 2010 08:56:02 +0000 (09:56 +0100)]
Remove GUtf8InputStream for now
It turns out that the way this worked did not work out for the current
main usecase (gedit) due to issues with how this is best integrated
with GtkTextView. So, in order to not have to support an unused non-ideal
API forever we remove this before its been in a stable release.
The basic feature seems to have some utility though, so we hope for it
to eventually return in a better form.
Gil Forcada [Sun, 28 Feb 2010 17:55:54 +0000 (18:55 +0100)]
Updated Catalan translation
Chao-Hsiung Liao [Sat, 27 Feb 2010 12:40:04 +0000 (20:40 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)
Ryan Lortie [Thu, 25 Feb 2010 23:09:23 +0000 (18:09 -0500)]
GVariantTypeInfo: fix thread safety bug
Issue caught by Michael Meeks. This patch based on his.
GVariantTypeInfo was dropping the reference count on the TypeInfo
structure before removing it from the hash table. This means that
another thread could come along and grab the value from the hash table
in the meantime.
Solve this by holding the lock on the table before dropping the
reference.
Also: move the hash table initialisation inside of the lock to remove
the standard double-initialisation race plus a more insidious issue
caused by the fact that we free the hash table once it becomes empty.
Duarte Loreto [Thu, 25 Feb 2010 02:03:17 +0000 (02:03 +0000)]
Updated Portuguese translation
Bruce Cowan [Wed, 24 Feb 2010 15:28:15 +0000 (15:28 +0000)]
Updated British English translation
Leonid Kanter [Wed, 24 Feb 2010 08:49:16 +0000 (10:49 +0200)]
Update Russian translation by Yuri Kozlov <yuray@komyakino.ru>
Saleem Abdulrasool [Tue, 23 Feb 2010 23:28:51 +0000 (15:28 -0800)]
include gio.h, not giotypes.h
Including giotypes.h in gfiledescriptor.h causes a compilation failure for users
of the header as giotypes.h may not be included directly.
Gintautas Miliauskas [Tue, 23 Feb 2010 21:45:09 +0000 (23:45 +0200)]
Updated Lithuanian translation.
Ask H. Larsen [Tue, 23 Feb 2010 21:25:51 +0000 (22:25 +0100)]
Updated Danish translation
Mario Blättermann [Tue, 23 Feb 2010 21:23:36 +0000 (22:23 +0100)]
Updated German translation
Ryan Lortie [Tue, 23 Feb 2010 17:49:08 +0000 (12:49 -0500)]
.gitignore gcov output (*.gcov, *.gcno, *.gcda)
Edward Hervey [Mon, 7 Dec 2009 10:23:55 +0000 (11:23 +0100)]
gobject: Don't use G_PARAM_SPEC_VALUE_TYPE when we know the pspec is valid
https://bugzilla.gnome.org/show_bug.cgi?id=605667
Emilio Pozuelo Monfort [Tue, 23 Feb 2010 17:19:16 +0000 (18:19 +0100)]
Test for unexisting files in $TMP and not in $HOME
Some buildd environments have an unwritable $HOME, which makes the
test that looks for an unexisting file there fail. Use $TMP instead,
which should be more reliable.
https://bugzilla.gnome.org/show_bug.cgi?id=610860
Alexander Shopov [Tue, 23 Feb 2010 07:30:39 +0000 (09:30 +0200)]
Updated Bulgarian translation
Ryan Lortie [Tue, 23 Feb 2010 07:00:11 +0000 (02:00 -0500)]
Fix backward logic in g_return_if_fail().
Ryan Lortie [Tue, 23 Feb 2010 06:59:57 +0000 (01:59 -0500)]
GVariant: Improve test coverage.
Emilio Pozuelo Monfort [Fri, 19 Feb 2010 18:00:02 +0000 (19:00 +0100)]
Don't fail a couple of tests when running as root
root can access and write to a directory when it doesn't have
exec and write permissions respectively. So expect the tests that
check that to succeed rather than to fail when running as root.
https://bugzilla.gnome.org/show_bug.cgi?id=552912
Alexander Larsson [Mon, 22 Feb 2010 11:37:16 +0000 (12:37 +0100)]
Keep metadata when files are renamed and trashed
This fixes https://bugzilla.gnome.org/show_bug.cgi?id=609813
Ryan Lortie [Mon, 22 Feb 2010 05:39:01 +0000 (00:39 -0500)]
GVariantIter, GVariantBuilder
Ryan Lortie [Mon, 22 Feb 2010 00:39:33 +0000 (19:39 -0500)]
Remove redudant check for direct #include gslice.h
This was added before we had a standardised header check and not removed
when the standard check was added.
Matthias Clasen [Mon, 22 Feb 2010 02:38:33 +0000 (21:38 -0500)]
Bump version