platform/upstream/glib.git
14 years agoAdd defines for trash::orig-path and trash::deletion-date
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.

14 years agoFix run-assert-msg-test to work with libtool-2.2.x.
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.

14 years agoMinor doc clarification
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.

14 years agoMinor doc clarification
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.

14 years agoUpdated Portuguese translation
Duarte Loreto [Mon, 8 Mar 2010 02:31:12 +0000 (02:31 +0000)]
Updated Portuguese translation

14 years agoPlug a memleak in g_io_modules_scan_all_in_directory
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

14 years agoUpdated Spanish translation
Jorge González [Sun, 7 Mar 2010 10:49:58 +0000 (11:49 +0100)]
Updated Spanish translation

14 years ago.gitignore mem-overflow test
Ryan Lortie [Sun, 7 Mar 2010 08:02:08 +0000 (03:02 -0500)]
.gitignore mem-overflow test

14 years agogtk-doc: ignore GBuffer
Ryan Lortie [Sun, 7 Mar 2010 07:15:37 +0000 (02:15 -0500)]
gtk-doc: ignore GBuffer

14 years agoBug 608196 - Overflow-safe g_new family
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.

14 years agoUpdated Bulgarian translation
Alexander Shopov [Sat, 6 Mar 2010 18:22:49 +0000 (20:22 +0200)]
Updated Bulgarian translation

14 years agoUpdated Catalan translation
Gil Forcada [Sat, 6 Mar 2010 12:34:27 +0000 (13:34 +0100)]
Updated Catalan translation

14 years agogsignal: improve g_signal_new docs.
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.

14 years agodocs: exchange "Subversion" with "source code repository"
Stefan Kost [Sat, 6 Mar 2010 11:36:38 +0000 (13:36 +0200)]
docs: exchange "Subversion" with "source code repository"

Fixes the outdated reference.

14 years agoUpdated Italian translation
Luca Ferretti [Sat, 6 Mar 2010 00:05:40 +0000 (01:05 +0100)]
Updated Italian translation

14 years agoUpdated Swedish translation
Daniel Nylander [Fri, 5 Mar 2010 23:28:38 +0000 (00:28 +0100)]
Updated Swedish translation

14 years agoAdding new defines first appeared in 2.22 into glibconfig.h.win32.in
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

14 years agoUpdated French translation
Claude Paroz [Fri, 5 Mar 2010 21:32:07 +0000 (22:32 +0100)]
Updated French translation

14 years agoUpdated Hungarian translation
Gabor Kelemen [Fri, 5 Mar 2010 21:03:27 +0000 (22:03 +0100)]
Updated Hungarian translation

14 years agoundef the proper macros to avoid warning message
Ryan Lortie [Fri, 5 Mar 2010 20:52:38 +0000 (15:52 -0500)]
undef the proper macros to avoid warning message

14 years agoAdd makegalias.pl dep on galias.h and co
Behdad Esfahbod [Fri, 5 Mar 2010 20:48:08 +0000 (15:48 -0500)]
Add makegalias.pl dep on galias.h and co

14 years agoupdate Russian translation
Leonid Kanter [Fri, 5 Mar 2010 13:49:12 +0000 (15:49 +0200)]
update Russian translation

14 years agoUpdated Slovenian translation
Matej Urbančič [Fri, 5 Mar 2010 13:32:01 +0000 (14:32 +0100)]
Updated Slovenian translation

14 years agog_variant_get_strv: support objects and signatures
Ryan Lortie [Fri, 5 Mar 2010 11:10:01 +0000 (06:10 -0500)]
g_variant_get_strv: support objects and signatures

14 years agoGVariant: fix some refcounting issues
Ryan Lortie [Fri, 5 Mar 2010 11:09:38 +0000 (06:09 -0500)]
GVariant: fix some refcounting issues

14 years agoEstonian translation updated
Ivar Smolin [Fri, 5 Mar 2010 11:08:05 +0000 (13:08 +0200)]
Estonian translation updated

14 years agoUpdated Lithuanian translation.
Gintautas Miliauskas [Fri, 5 Mar 2010 09:16:33 +0000 (11:16 +0200)]
Updated Lithuanian translation.

14 years agoUpdated British English translation
Philip Withnall [Thu, 4 Mar 2010 23:54:07 +0000 (23:54 +0000)]
Updated British English translation

14 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Thu, 4 Mar 2010 21:57:03 +0000 (22:57 +0100)]
Updated Norwegian bokmål translation

14 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Thu, 4 Mar 2010 21:56:37 +0000 (22:56 +0100)]
Updated Norwegian bokmål translation

14 years agoUpdated German translation
Mario Blättermann [Thu, 4 Mar 2010 21:02:43 +0000 (22:02 +0100)]
Updated German translation

14 years agoUpdated Basque language
Inaki Larranaga Murgoitio [Thu, 4 Mar 2010 20:31:54 +0000 (21:31 +0100)]
Updated Basque language

14 years agoUpdated Brazilian Portuguese translation
Jonh Wendell [Thu, 4 Mar 2010 20:13:56 +0000 (17:13 -0300)]
Updated Brazilian Portuguese translation

14 years agoMark a string for translation
Jonh Wendell [Thu, 4 Mar 2010 20:03:13 +0000 (17:03 -0300)]
Mark a string for translation

14 years agoRemove GUtf8InputStream leftover in docs
Claudio Saavedra [Thu, 4 Mar 2010 17:18:12 +0000 (19:18 +0200)]
Remove GUtf8InputStream leftover in docs

Fixes build.

14 years agoFix galias build breakage with g_malloc_n macros
Behdad Esfahbod [Thu, 4 Mar 2010 15:38:31 +0000 (10:38 -0500)]
Fix galias build breakage with g_malloc_n macros

14 years agoAdd licence headers to gnativevolumemonitor.c/h
Christian Dywan [Thu, 4 Mar 2010 10:02:31 +0000 (11:02 +0100)]
Add licence headers to gnativevolumemonitor.c/h

Fixes bug #609531

14 years agoBug 608196 - Overflow-safe g_new family
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

14 years agoFix API docs for GZlibCompressor and GZlibDecompressor
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.

14 years agoGVariantBuilder: loosen assertion check
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.

14 years agoGResolver: fix Windows 2000 workaround
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

14 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Wed, 3 Mar 2010 12:49:10 +0000 (13:49 +0100)]
Updated Norwegian bokmål translation

14 years agoGVariantBuilder: allow for stack allocation
Ryan Lortie [Wed, 3 Mar 2010 08:37:37 +0000 (03:37 -0500)]
GVariantBuilder: allow for stack allocation

14 years agoUpdated Hungarian translation
Gabor Kelemen [Tue, 2 Mar 2010 16:18:52 +0000 (17:18 +0100)]
Updated Hungarian translation

14 years agoUpdated Basque language
Inaki Larranaga Murgoitio [Tue, 2 Mar 2010 11:39:33 +0000 (12:39 +0100)]
Updated Basque language

14 years agoRemove utf8inputstream leftovers in a few other places
Paolo Borelli [Mon, 1 Mar 2010 09:24:43 +0000 (10:24 +0100)]
Remove utf8inputstream leftovers in a few other places

14 years agoRemove GUtf8InputStream for now
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.

14 years agoUpdated Catalan translation
Gil Forcada [Sun, 28 Feb 2010 17:55:54 +0000 (18:55 +0100)]
Updated Catalan translation

14 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Sat, 27 Feb 2010 12:40:04 +0000 (20:40 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

14 years agoGVariantTypeInfo: fix thread safety bug
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.

14 years agoUpdated Portuguese translation
Duarte Loreto [Thu, 25 Feb 2010 02:03:17 +0000 (02:03 +0000)]
Updated Portuguese translation

14 years agoUpdated British English translation
Bruce Cowan [Wed, 24 Feb 2010 15:28:15 +0000 (15:28 +0000)]
Updated British English translation

14 years agoUpdate Russian translation by Yuri Kozlov <yuray@komyakino.ru>
Leonid Kanter [Wed, 24 Feb 2010 08:49:16 +0000 (10:49 +0200)]
Update Russian translation by Yuri Kozlov <yuray@komyakino.ru>

14 years agoinclude gio.h, not giotypes.h
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.

14 years agoUpdated Lithuanian translation.
Gintautas Miliauskas [Tue, 23 Feb 2010 21:45:09 +0000 (23:45 +0200)]
Updated Lithuanian translation.

14 years agoUpdated Danish translation
Ask H. Larsen [Tue, 23 Feb 2010 21:25:51 +0000 (22:25 +0100)]
Updated Danish translation

14 years agoUpdated German translation
Mario Blättermann [Tue, 23 Feb 2010 21:23:36 +0000 (22:23 +0100)]
Updated German translation

14 years ago.gitignore gcov output (*.gcov, *.gcno, *.gcda)
Ryan Lortie [Tue, 23 Feb 2010 17:49:08 +0000 (12:49 -0500)]
.gitignore gcov output (*.gcov, *.gcno, *.gcda)

14 years agogobject: Don't use G_PARAM_SPEC_VALUE_TYPE when we know the pspec is valid
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

14 years agoTest for unexisting files in $TMP and not in $HOME
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

14 years agoUpdated Bulgarian translation
Alexander Shopov [Tue, 23 Feb 2010 07:30:39 +0000 (09:30 +0200)]
Updated Bulgarian translation

14 years agoFix backward logic in g_return_if_fail().
Ryan Lortie [Tue, 23 Feb 2010 07:00:11 +0000 (02:00 -0500)]
Fix backward logic in g_return_if_fail().

14 years agoGVariant: Improve test coverage.
Ryan Lortie [Tue, 23 Feb 2010 06:59:57 +0000 (01:59 -0500)]
GVariant: Improve test coverage.

14 years agoDon't fail a couple of tests when running as root
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

14 years agoKeep metadata when files are renamed and trashed
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

14 years agoGVariantIter, GVariantBuilder
Ryan Lortie [Mon, 22 Feb 2010 05:39:01 +0000 (00:39 -0500)]
GVariantIter, GVariantBuilder

14 years agoRemove redudant check for direct #include gslice.h
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.

14 years agoBump version
Matthias Clasen [Mon, 22 Feb 2010 02:38:33 +0000 (21:38 -0500)]
Bump version

14 years ago2.23.4 2.23.4
Matthias Clasen [Mon, 22 Feb 2010 02:37:33 +0000 (21:37 -0500)]
2.23.4

14 years agoMore distcheck fixes
Matthias Clasen [Mon, 22 Feb 2010 01:28:34 +0000 (20:28 -0500)]
More distcheck fixes

14 years agoFix some distcheck issues
Matthias Clasen [Mon, 22 Feb 2010 01:11:33 +0000 (20:11 -0500)]
Fix some distcheck issues

14 years agoFix up GFileDescriptorBased docs
Matthias Clasen [Mon, 22 Feb 2010 00:55:02 +0000 (19:55 -0500)]
Fix up GFileDescriptorBased docs

14 years agoAdd indices for 2.24 additions
Matthias Clasen [Mon, 22 Feb 2010 00:48:22 +0000 (19:48 -0500)]
Add indices for 2.24 additions

14 years agoSmall doc fixes
Matthias Clasen [Mon, 22 Feb 2010 00:46:57 +0000 (19:46 -0500)]
Small doc fixes

14 years agoFix up make check
Matthias Clasen [Mon, 22 Feb 2010 00:42:37 +0000 (19:42 -0500)]
Fix up make check

14 years agoMore updates
Matthias Clasen [Mon, 22 Feb 2010 00:17:50 +0000 (19:17 -0500)]
More updates

14 years agoFix a doc typo.
Matthias Clasen [Sun, 21 Feb 2010 22:59:15 +0000 (17:59 -0500)]
Fix a doc typo.

Reported in bug 608063 by Дилян Палаузов.

14 years agoFix the large array test to work
Matthias Clasen [Sun, 21 Feb 2010 21:29:15 +0000 (16:29 -0500)]
Fix the large array test to work

Fix by Sven Herzberg, bug 568760

14 years agoAdd missign single include guards
Matthias Clasen [Sun, 21 Feb 2010 21:12:35 +0000 (16:12 -0500)]
Add missign single include guards

Reported in bug 609530. patch by Christian Dywan.

14 years agoDocumentation improvement
Matthias Clasen [Sun, 21 Feb 2010 21:04:21 +0000 (16:04 -0500)]
Documentation improvement

Document the size requirements on output buffer in g_base64_encode_close.
Patch by Christian Persch, bug 609564.

14 years agoFix build on Solaris 8
Matthias Clasen [Sun, 21 Feb 2010 20:55:10 +0000 (15:55 -0500)]
Fix build on Solaris 8

System header fun. See bug 610131.

14 years agoAdd a pointer to G_DEFINE_INTERFACE
Matthias Clasen [Sun, 21 Feb 2010 20:32:08 +0000 (15:32 -0500)]
Add a pointer to G_DEFINE_INTERFACE

14 years agoFix an oversight
Matthias Clasen [Sun, 21 Feb 2010 20:28:04 +0000 (15:28 -0500)]
Fix an oversight

_Always_ explicitly compare strcmp to 0... this was pointed out in
bug 610484 by Christian Persch.

14 years agoUpdates
Matthias Clasen [Sun, 21 Feb 2010 20:19:06 +0000 (15:19 -0500)]
Updates

14 years agoUpdated Galician Translation
Fran Diéguez [Sat, 20 Feb 2010 21:22:04 +0000 (22:22 +0100)]
Updated Galician Translation

14 years agoUpdated Polish translation
Piotr Drąg [Sat, 20 Feb 2010 21:20:04 +0000 (22:20 +0100)]
Updated Polish translation

14 years ago[gutf8.c] Add a bit of documentation to UNICODE_VALID
Colin Walters [Fri, 19 Feb 2010 21:06:22 +0000 (16:06 -0500)]
[gutf8.c] Add a bit of documentation to UNICODE_VALID

14 years agoMerge the main public API of GVariant
Ryan Lortie [Fri, 19 Feb 2010 15:42:53 +0000 (10:42 -0500)]
Merge the main public API of GVariant

14 years agoUpdate Czech translation
Petr Kovar [Thu, 18 Feb 2010 19:07:56 +0000 (20:07 +0100)]
Update Czech translation

14 years agoMove event support in the inotify backend
Christian Kellner [Thu, 18 Feb 2010 14:49:58 +0000 (15:49 +0100)]
Move event support in the inotify backend

This adds support for G_FILE_MONITOR_SEND_MOVED events when requested by
the user to the inotify backend. Last part to fix bug #547890.
Based heavily on a patch by Martyn Russel <martyn@lanedo.com>.

14 years agoGLocalFileMonitor: Support for GFileMonitorFlags
Christian Kellner [Thu, 18 Feb 2010 14:43:45 +0000 (15:43 +0100)]
GLocalFileMonitor: Support for GFileMonitorFlags

Evaluate and remember GFileMonitorFlags. This is a part of move
event support for fs-monitoring (bug #547890).

14 years agoMove event support for fs-monitoring: Event & flag
Christian Kellner [Thu, 18 Feb 2010 14:40:13 +0000 (15:40 +0100)]
Move event support for fs-monitoring: Event & flag

Add a G_FILE_MONITOR_SEND_MOVED flag indicating the API user
wants to receive the new G_FILE_MOINOTR_EVENT_MOVED event
instead of single CREATED/DELETED events.
First part of bug #547890.

14 years agoEstonian translation updated
Ivar Smolin [Thu, 18 Feb 2010 09:46:06 +0000 (11:46 +0200)]
Estonian translation updated

14 years agoUpdated German translation
Mario Blättermann [Wed, 17 Feb 2010 08:00:04 +0000 (09:00 +0100)]
Updated German translation

14 years agoMake g_type_interface_prerequisites() only return one instantiable type
Benjamin Otte [Wed, 17 Feb 2010 07:45:28 +0000 (08:45 +0100)]
Make g_type_interface_prerequisites() only return one instantiable type

Previously, the code had a heisenbug and could potentially return
superclasses, too. In fact, it was based on the behavior of malloc.

https://bugzilla.redhat.com/show_bug.cgi?id=554678

14 years agoUpdated Slovenian translation
Matej Urbančič [Tue, 16 Feb 2010 11:38:11 +0000 (12:38 +0100)]
Updated Slovenian translation

14 years agoGVariant: create child instance from its own data
Ryan Lortie [Tue, 16 Feb 2010 00:11:58 +0000 (19:11 -0500)]
GVariant: create child instance from its own data

also: white-space fix in the serialiser

14 years agoUpdated Korean translation
Changwoo Ryu [Mon, 15 Feb 2010 18:42:19 +0000 (03:42 +0900)]
Updated Korean translation

14 years agoUpdated Spanish translation
Jorge González [Mon, 15 Feb 2010 16:54:26 +0000 (17:54 +0100)]
Updated Spanish translation

14 years agoUpdated Galician Translation
Fran Diéguez [Mon, 15 Feb 2010 16:10:21 +0000 (17:10 +0100)]
Updated Galician Translation