Commit Graph

7578 Commits

Author SHA1 Message Date
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
Mario Blättermann
1903c229a2 Updated German translation 2010-02-23 22:23:36 +01:00
Ryan Lortie
2940285002 .gitignore gcov output (*.gcov, *.gcno, *.gcda) 2010-02-23 12:49:08 -05:00
Edward Hervey
cecf61d1c3 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
2010-02-23 18:42:03 +01:00
Emilio Pozuelo Monfort
a7cc500d38 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
2010-02-23 18:37:39 +01:00
Alexander Shopov
355246579e Updated Bulgarian translation 2010-02-23 09:31:03 +02:00
Ryan Lortie
1f66523ad3 Fix backward logic in g_return_if_fail(). 2010-02-23 02:00:11 -05:00
Ryan Lortie
360b9b540e GVariant: Improve test coverage. 2010-02-23 01:59:57 -05:00
Emilio Pozuelo Monfort
202d7d37d6 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
2010-02-22 19:54:38 +01:00
Alexander Larsson
4535683b3f Keep metadata when files are renamed and trashed
This fixes https://bugzilla.gnome.org/show_bug.cgi?id=609813
2010-02-22 12:37:16 +01:00
Ryan Lortie
515434bdcb GVariantIter, GVariantBuilder 2010-02-22 00:39:01 -05:00
Ryan Lortie
b9d728474e 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.
2010-02-22 00:35:45 -05:00
Matthias Clasen
0a1ce31b6e Bump version 2010-02-21 21:38:33 -05:00
Matthias Clasen
7fea53a4a2 2.23.4 2010-02-21 21:37:33 -05:00
Matthias Clasen
9a08cd5b04 More distcheck fixes 2010-02-21 20:28:34 -05:00
Matthias Clasen
ef497e8e64 Fix some distcheck issues 2010-02-21 20:11:33 -05:00
Matthias Clasen
3983418c25 Fix up GFileDescriptorBased docs 2010-02-21 19:55:02 -05:00
Matthias Clasen
03fc92784d Add indices for 2.24 additions 2010-02-21 19:48:22 -05:00
Matthias Clasen
80a160c7c6 Small doc fixes 2010-02-21 19:46:57 -05:00
Matthias Clasen
2de84d6594 Fix up make check 2010-02-21 19:42:37 -05:00
Matthias Clasen
fd751cc2a2 More updates 2010-02-21 19:17:50 -05:00
Matthias Clasen
e0e57fd97d Fix a doc typo.
Reported in bug 608063 by Дилян Палаузов.
2010-02-21 17:59:15 -05:00
Matthias Clasen
dcdc409cd8 Fix the large array test to work
Fix by Sven Herzberg, bug 568760
2010-02-21 16:29:15 -05:00
Matthias Clasen
21080a33e1 Add missign single include guards
Reported in bug 609530. patch by Christian Dywan.
2010-02-21 16:12:35 -05:00
Matthias Clasen
dd7bd61c53 Documentation improvement
Document the size requirements on output buffer in g_base64_encode_close.
Patch by Christian Persch, bug 609564.
2010-02-21 16:04:21 -05:00
Matthias Clasen
6c1a914d51 Fix build on Solaris 8
System header fun. See bug 610131.
2010-02-21 15:55:10 -05:00
Matthias Clasen
de6914a46a Add a pointer to G_DEFINE_INTERFACE 2010-02-21 15:32:08 -05:00
Matthias Clasen
ecb45f4382 Fix an oversight
_Always_ explicitly compare strcmp to 0... this was pointed out in
bug 610484 by Christian Persch.
2010-02-21 15:28:04 -05:00
Matthias Clasen
19e438556c Updates 2010-02-21 15:19:06 -05:00
Fran Diéguez
e377a6f481 Updated Galician Translation 2010-02-20 22:22:04 +01:00
Piotr Drąg
af22e5739b Updated Polish translation 2010-02-20 22:20:04 +01:00
Colin Walters
5047fd7f68 [gutf8.c] Add a bit of documentation to UNICODE_VALID 2010-02-19 16:39:26 -05:00