Commit Graph

7469 Commits

Author SHA1 Message Date
Ryan Lortie
6393ca443a distcheck: add gvariant-internal.h to SOURCES 2010-03-08 10:54:23 -05:00
Ryan Lortie
75f761bcaa 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.
2010-03-08 10:31:19 -05:00
Alexander Larsson
8cd5c94f42 Add pregenerated ids for TRASH_ORIG_PATH and TRASH_DELETION_DATE
This fixes the build for me
2010-03-08 12:03:40 +01:00
Piotr Drąg
fe4839dbb8 Updated Polish translation 2010-03-08 10:51:11 +01:00
Matthias Clasen
826abbefce Add defines for trash::orig-path and trash::deletion-date
See bug 612107.
2010-03-08 00:36:00 -05:00
Priit Laes
96d105906e Fix run-assert-msg-test to work with libtool-2.2.x. 2010-03-08 00:16:23 -05:00
Matthias Clasen
0a51b58e07 Minor doc clarification
Mention g_realloc() as a possible function to use with
g_memory_output_stream_new(). Bug 612041.
2010-03-08 00:12:33 -05:00
Matthias Clasen
42f042d5fb Minor doc clarification
Spell out that g_utf8_strlen() behaves like strlen() wrt. to
termination. Bug 612040.
2010-03-08 00:05:07 -05:00
Duarte Loreto
485077e9ce Updated Portuguese translation 2010-03-08 02:31:12 +00:00
Matthias Clasen
9dd6c60fbf 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
2010-03-07 17:44:23 -05:00
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