Commit Graph

7609 Commits

Author SHA1 Message Date
Jorge González
5f424088f5 Updated Spanish translation 2010-03-07 11:49:58 +01:00
Ryan Lortie
a9d57e990b .gitignore mem-overflow test 2010-03-07 03:02:08 -05:00
Ryan Lortie
dfcee5865b gtk-doc: ignore GBuffer 2010-03-07 02:15:37 -05:00
Ryan Lortie
a1b9743e18 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.
2010-03-06 23:21:27 -05:00
Alexander Shopov
01ef92178b Updated Bulgarian translation 2010-03-06 20:22:49 +02:00
Gil Forcada
7fa6d67bdb Updated Catalan translation 2010-03-06 13:35:00 +01:00
Stefan Kost
3d98c449b1 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.
2010-03-06 14:15:25 +02:00
Stefan Kost
fa32ee5610 docs: exchange "Subversion" with "source code repository"
Fixes the outdated reference.
2010-03-06 13:36:38 +02:00
Luca Ferretti
ada60fd83f Updated Italian translation 2010-03-06 01:05:40 +01:00
Daniel Nylander
bed0e3f140 Updated Swedish translation 2010-03-06 00:28:38 +01:00
Fridrich Strba
54e830100d Adding new defines first appeared in 2.22 into glibconfig.h.win32.in 2010-03-05 23:15:45 +01:00
Claude Paroz
0772298b9b Updated French translation 2010-03-05 22:32:07 +01:00
Gabor Kelemen
6949099124 Updated Hungarian translation 2010-03-05 22:03:27 +01:00
Ryan Lortie
0edd7cb8a1 undef the proper macros to avoid warning message 2010-03-05 15:53:42 -05:00
Behdad Esfahbod
a3420d8713 Add makegalias.pl dep on galias.h and co 2010-03-05 15:48:48 -05:00
Leonid Kanter
4882be6743 update Russian translation 2010-03-05 15:49:12 +02:00
Matej Urbančič
24768ebd8f Updated Slovenian translation 2010-03-05 14:32:01 +01:00
Ryan Lortie
7026365db2 g_variant_get_strv: support objects and signatures 2010-03-05 06:14:36 -05:00
Ryan Lortie
118d59ba15 GVariant: fix some refcounting issues 2010-03-05 06:14:26 -05:00
Ivar Smolin
3297185f39 Estonian translation updated 2010-03-05 13:08:05 +02:00
Gintautas Miliauskas
6c58d5f8ae Updated Lithuanian translation. 2010-03-05 11:16:33 +02:00
Philip Withnall
e0fff9a057 Updated British English translation 2010-03-04 23:54:07 +00:00
Kjartan Maraas
e583d05374 Updated Norwegian bokmål translation 2010-03-04 22:57:03 +01:00
Kjartan Maraas
1b1af2fa24 Updated Norwegian bokmål translation 2010-03-04 22:56:37 +01:00
Mario Blättermann
fe3c945a3f Updated German translation 2010-03-04 22:02:57 +01:00
Inaki Larranaga Murgoitio
983fd35c7c Updated Basque language 2010-03-04 21:31:54 +01:00
Jonh Wendell
976cce06fc Updated Brazilian Portuguese translation 2010-03-04 17:13:56 -03:00
Jonh Wendell
7504095de0 Mark a string for translation 2010-03-04 17:03:13 -03:00
Claudio Saavedra
766183c079 Remove GUtf8InputStream leftover in docs
Fixes build.
2010-03-04 19:18:12 +02:00
Behdad Esfahbod
f3425cc38d Fix galias build breakage with g_malloc_n macros 2010-03-04 10:39:15 -05:00
Christian Dywan
c423c3a9c9 Add licence headers to gnativevolumemonitor.c/h
Fixes bug #609531
2010-03-04 11:02:31 +01:00
Behdad Esfahbod
343cbf25c7 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
2010-03-03 17:54:49 -05:00
Felix Riemann
373f3d8b52 Fix API docs for GZlibCompressor and GZlibDecompressor
Corrects the general descriptions and makes the signals and implemented
interfaces appear.
2010-03-03 17:44:28 +01:00
Ryan Lortie
560f518743 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.
2010-03-03 11:38:14 -05:00
Dan Winship
9a886135c8 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
2010-03-03 08:35:32 -05:00
Kjartan Maraas
67ba99f7ab Updated Norwegian bokmål translation 2010-03-03 13:49:10 +01:00
Ryan Lortie
fe6e278a87 GVariantBuilder: allow for stack allocation 2010-03-03 03:38:02 -05:00
Gabor Kelemen
bb0808638c Updated Hungarian translation 2010-03-02 17:18:52 +01:00
Inaki Larranaga Murgoitio
2927c5e0c6 Updated Basque language 2010-03-02 12:39:33 +01:00
Paolo Borelli
277b9717da Remove utf8inputstream leftovers in a few other places 2010-03-01 10:24:43 +01:00
Alexander Larsson
2bfddf162e 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.
2010-03-01 09:56:02 +01:00
Gil Forcada
c47e1949e2 Updated Catalan translation 2010-02-28 18:55:54 +01:00
Chao-Hsiung Liao
92d4cfbd15 Updated Traditional Chinese translation(Hong Kong and Taiwan) 2010-02-27 20:40:04 +08:00
Ryan Lortie
a3c7406cce 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.
2010-02-25 18:13:59 -05:00
Duarte Loreto
43b6c2b8f5 Updated Portuguese translation 2010-02-25 02:03:17 +00:00
Bruce Cowan
24decf7658 Updated British English translation 2010-02-24 15:28:15 +00:00
Leonid Kanter
cf07bb3534 Update Russian translation by Yuri Kozlov <yuray@komyakino.ru> 2010-02-24 10:49:16 +02:00
Saleem Abdulrasool
a495a2122d 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.
2010-02-23 16:23:07 -08:00
Gintautas Miliauskas
8413dfda9b Updated Lithuanian translation. 2010-02-23 23:45:09 +02:00
Ask H. Larsen
ec0e3089c0 Updated Danish translation 2010-02-23 22:25:51 +01:00