Commit Graph

7561 Commits

Author SHA1 Message Date
Ryan Lortie
5c419c300b gitignore for win32 build stuff 2010-03-21 13:07:36 -05:00
Ryan Lortie
bf4dbdbf0e merge GVariant parser 2010-03-21 12:55:30 -05:00
Ryan Lortie
2a209cb251 make check / makedistcheck fixes 2010-03-21 12:54:36 -05:00
Tor Lillqvist
3369548130 Add new headers to be installed the VS "install" project
Yeah, we should generate the list of headers to install from the
corresponding Makefile.am files, like the lists of source files to
compile.
2010-03-21 16:54:49 +02:00
Tor Lillqvist
226cc663e4 Avoid much of duplication in lists of source files
Don't keep the lists of source files for libglib, libgobject and
libgio in the VS project files in addition to the canonical location,
the corresponding Makefile.am files.

Instead, generate the corresponding .vcproj files at make dist time
using the C preprocessor, from template files called .vcprojin. We
still list explicitly in the .vcprojin files some of the
Windows-specific source files, and the sources files of gnulib and
pcre.
2010-03-21 16:15:02 +02:00
Tor Lillqvist
504b8b8f01 Avoid struct stat issues with MSVC 2010-03-21 14:50:45 +02:00
Tor Lillqvist
28b025de96 Drop empty Tool elements from the project files for clarity
Makes the files appear a bit simpler when edited manually.
2010-03-21 13:33:44 +02:00
Tor Lillqvist
2ab76c5b36 Make the GVariant code compile with a non-gcc compiler
In particular, tested with Microsoft Visual C 2008.
2010-03-21 11:22:06 +02:00
Tor Lillqvist
dc51eff2a9 Update with new source files and dependencies 2010-03-20 13:32:37 +02:00
Tor Lillqvist
782de94c58 Drop the unmaintained vs8 project files from dist 2010-03-20 13:31:55 +02:00
Tommi Vainikainen
77cc740243 Updated Finnish translation 2010-03-20 00:01:00 +02:00
A S Alam
34d0db361e update Punjabi Translation 2010-03-19 08:18:41 +05:30
Nikos Bakaoukas
bedaa80275 Updated Greek translation for glib 2010-03-19 00:10:07 +02:00
Dumitru Mișu Moldovan
6243b1eb5f Updated Romanian translation 2010-03-18 22:47:55 +02:00
Nils-Christoph Fiedler
3628f7815d Updated LowGerman translation 2010-03-18 13:54:54 +01:00
Sebastian Dröge
41383b303c Bug 612502 - Add support for class private data
This adds the two new functions g_type_add_class_private()
and g_type_class_get_private() and a convenience macro
for the getter G_TYPE_CLASS_GET_PRIVATE().
2010-03-17 15:11:00 +01:00
Benjamin Otte
2295ba857f The fallback parameter to g_convert_with_fallback() should be const
This patch makes it so.
2010-03-16 16:40:04 +01:00
Ryan Lortie
751feb916a Bug 612502 - build fails on glib/tests/gvariant.c
Fix two problems caught by Tim Rice.

  - non-constant expression used as array size
  - arithmetic on void *
2010-03-15 17:45:02 -04:00
Christian Persch
1953b4087f Use static assert over runtime assert if possible
We can test the these at compile time. Bug #609231.
2010-03-15 15:49:03 -04:00
Nils-Christoph Fiedler
24aeaebc48 Added LowGerman translation 2010-03-15 14:18:48 +01:00
Nils-Christoph Fiedler
2b1b1563a0 Added LowGerman translation 2010-03-15 14:18:43 +01:00
Ryan Lortie
7e4d88b290 gvariant test: Remove unused variable 2010-03-14 22:27:39 -04:00
Petr Kovar
9f16c70c16 Update Czech translation 2010-03-15 02:30:27 +01:00
Ryan Lortie
9dea0253a3 GVariant: add loading, byteswapping, normalisation 2010-03-14 15:56:18 -04:00
Ryan Lortie
1ac590b7f7 GBuffer: very small cosmetic fix to header file 2010-03-14 15:56:18 -04:00
Ryan Lortie
056feef60b GVariantIter: expand the size of the dummy struct
Will allow for some nice tricks in the future.
2010-03-14 15:56:17 -04:00
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