Commit Graph

7585 Commits

Author SHA1 Message Date
Colin Walters
f552689058 [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
2010-03-14 15:45:46 -04:00
Thomas Kristensen
1be8ad3514 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>
2010-03-14 11:51:24 +02:00
Fran Diéguez
6c5d2798f6 Update Galician translation 2010-03-13 21:00:44 +01:00
Friedel Wolff
31cf766e64 Add Afrikaans translation 2010-03-13 20:48:05 +01:00
Javier Jardón
62a133f55d Improve the documentation about single include exceptions
Also, reenable the compiling Glib application section
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=612736
2010-03-13 01:33:09 +01:00
Ryan Lortie
5b19345246 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.
2010-03-12 15:42:22 -05:00
Tor Lillqvist
a57522deae 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
2010-03-12 10:45:52 +02:00
Javier Jardón
1caaa4f591 [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()
2010-03-10 05:06:50 +01:00
Miloš Popović
95d42761a9 Updated Serbian translations 2010-03-09 20:29:43 +01:00
Ryan Lortie
a85b9c4bad 'default: g_assert_not_reached();' to silence GCC
Closes bug #612327 reported by Claudio Saavedra.
2010-03-09 13:34:00 -05:00
Dagobert Michelsen
89fa967ba1 Use G_STRFUNC instead of explicit gcc-only __PRETTY_FUNC__ 2010-03-09 10:30:06 -05:00
Behdad Esfahbod
c69e6fd837 Cosmetic 2010-03-08 14:33:38 -05:00
Ryan Lortie
f6166be24d Bump version 2010-03-08 11:53:36 -05:00
Ryan Lortie
c58ce0e60c 2.23.5 2010-03-08 11:48:14 -05:00
Ryan Lortie
f9d8d70396 gtk-doc: ignore gvariant-internal.h 2010-03-08 11:29:27 -05:00
Ryan Lortie
929a2e1ae1 Add gvariant-varargs.xml to the distribution 2010-03-08 11:25:37 -05:00
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