Commit Graph

7721 Commits

Author SHA1 Message Date
Benjamin Otte
63a6666ab7 Make g_type_interface_prerequisites() only return one instantiable type
Previously, the code had a heisenbug and could potentially return
superclasses, too. In fact, it was based on the behavior of malloc.

https://bugzilla.redhat.com/show_bug.cgi?id=554678
2010-02-17 08:55:14 +01:00
Matej Urbančič
9fdbae9344 Updated Slovenian translation 2010-02-16 12:38:11 +01:00
Ryan Lortie
b899bfc741 GVariant: create child instance from its own data
also: white-space fix in the serialiser
2010-02-15 19:38:00 -05:00
Changwoo Ryu
7fb9d536c0 Updated Korean translation 2010-02-16 03:42:19 +09:00
Jorge González
68505d5a9f Updated Spanish translation 2010-02-15 17:54:26 +01:00
Fran Diéguez
36d29e06f9 Updated Galician Translation 2010-02-15 17:11:14 +01:00
Christian Kellner
bb4f63d639 GFile: Support for splice(2) in copy_fallback
The (linux specific) system call splice can be
used to transfer data between file descriptors
whitout copying them into user space.
See bug #604086 for additional details.
2010-02-15 13:25:50 +01:00
Christian Kellner
28f90db1ed GLocalFileOutputStream: Implement GFileDescriptorBased
Also convert GLocalFileIOStream to use the new interface to obtain
the file descriptor.
2010-02-15 13:25:50 +01:00
Christian Kellner
670f6210ce GLocalFileInputStream: Implement GFileDescriptorBased 2010-02-15 13:25:50 +01:00
Christian Kellner
4536a4adbc GFileDescriptorBased: New interface
New interface for file descriptor based io object. The interface
is only exported on unix based systems. See bug 604086.
2010-02-15 13:25:50 +01:00
Chao-Hsiung Liao
3840151012 Updated Traditional Chinese translation(Hong Kong and Taiwan) 2010-02-15 19:15:38 +08:00
Alexander Larsson
b37da7134b Set result_uncertain in win32 g_content_type_guess implementation
Fixes bug #609143
2010-02-15 10:13:10 +01:00
Lucian Grijincu
83c6087dcc Updated Romanian translation 2010-02-13 19:35:42 +02:00
Ryan Lortie
e66d66c555 GVariant: lock before freeing, to avoid assert 2010-02-11 16:53:56 -05:00
Benjamin Otte
fd3923aba2 Move offsets array from interface data member to TypeNode
We need to assign offsets when the interface is not yet instantiated.
2010-02-11 21:10:19 +01:00
Benjamin Otte
61b649cffd Move prerequisites out of _prot struct
Also fix the naming (including typo)
2010-02-11 21:10:19 +01:00
Ryan Lortie
1e6b184225 add performance tests to gitignore 2010-02-10 13:59:35 -05:00
Ryan Lortie
3e30e8a87e make tests not dynamic link against /lib/libglib
For some reason, even though the tests are linked against libgobject.la
and libgobject.la mentions libglib.la as a dependency, the tests are
running against the system glib instead of the in-tree one.

Adding the libglib.la file as an explicit LDFLAG fixes it.
2010-02-10 11:35:01 -05:00
Ryan Lortie
1e655eb02c merge GVariant 2010-02-10 11:35:01 -05:00
Matej Urbančič
2afe2325c4 Updated Slovenian translation 2010-02-10 16:34:53 +01:00
Matthias Clasen
243e340d6e bump version 2010-02-09 10:35:01 -05:00
Matthias Clasen
1831ff2d30 2.23.3 2010-02-09 10:20:37 -05:00
Matthias Clasen
f570cf99b3 Doc cleanups 2010-02-09 09:16:23 -05:00
Matthias Clasen
a68c0cde8f Updates 2010-02-09 08:46:50 -05:00
Ryan Lortie
bd6a88aef7 gstrfuncs.h: needs gmacros.h for G_BEGIN_DECLS 2010-02-08 00:44:32 -05:00
Theppitak Karoonboonyanan
0be1a4fb97 Updated Thai translation. 2010-02-08 09:57:37 +07:00
Ryan Lortie
e04c9c699c add missing #include "config.h" 2010-02-07 15:43:06 -05:00
Ryan Lortie
218c691ca3 remove #include <glib.h> from some .c files
include individual headers instead
2010-02-07 03:14:28 -05:00
Ryan Lortie
ea2917b01f gurifuncs.c: #include "string.h" -> <string.h> 2010-02-07 03:08:08 -05:00
Ryan Lortie
9f30337573 GVariantTypeInfo: free hash table when not in use 2010-02-07 02:52:07 -05:00
Ryan Lortie
80538aba7e merge the GVariant serialiser 2010-02-06 10:26:02 -05:00
Ryan Lortie
eea6042f5f GMappedFile: minimal changes to support GBuffer
Just reorganise the GMappedFile struct to be binary compatible with
GBuffer.  If GBuffer becomes public later then we can revisit this.
2010-02-06 10:19:29 -05:00
Ryan Lortie
3f4b7f6d37 add private GBuffer type 2010-02-06 10:18:08 -05:00
Tim-Philipp Müller
813d0d17a6 Don't leak filename in g_io_modules_scan_all_in_directory
https://bugzilla.gnome.org/show_bug.cgi?id=608159
2010-02-06 13:37:04 +01:00
Hans Breuer
4adde81771 Fix inconsistent line-endings
Apparently CRLF (windows format) was checked in from Linux
causing modified by checkout under windows. See:
http://help.github.com/dealing-with-lineendings/
http://mail.gnome.org/archives/gtk-devel-list/2009-July/msg00041.html
2010-02-06 13:22:39 +01:00
Tor Lillqvist
00b55e2bc7 Drop empty elements from the VS9 vcproj files
Dunno if this makes sense, if one lets VS edit the it will put them
back anyway. But it's more pleasing to the eye.
2010-02-06 10:42:28 +02:00
Jonh Wendell
10cd6df4a8 Updated Brazilian Portuguese translation 2010-02-05 11:09:26 -03:00
Ryan Lortie
5e753d6abc rename test: gvarianttype -> gvariant
More test cases will be added to this file.
2010-02-04 20:32:39 -05:00
Petr Kovar
9a990cea0c Update Czech translation 2010-02-04 23:54:15 +01:00
Tor Lillqvist
762e18d8ce Further work on VS9 project files 2010-02-04 19:59:12 +02:00
Tor Lillqvist
021643cda4 Clarify use of struct stat on Windows 2010-02-04 19:59:05 +02:00
Tor Lillqvist
5589d2b455 Internally use the _stati64 API explicitly on Windows
Avoids warnings and confusion when compiling with MSVC.
2010-02-04 19:58:55 +02:00
Tor Lillqvist
05291c0d11 Enable libtool compatible DLL naming in the VS9 projects 2010-02-04 19:58:21 +02:00
Ryan Lortie
bfd60d8835 GVariantType test case: assert all memory freed
Make sure we've freed all TypeInfos at the end of the test.
2010-02-04 09:08:51 -05:00
Ryan Lortie
6d6d7a8bb2 GVariantTypeInfo tweaks
1) always emit ending type FIXED for fixed sized items

    The serialiser needs to know if it dealing with a fixed sized item
    in case the serialised data is corrupt and the item has the wrong
    size.

  2) add a macro that will be used by test cases to check that all
     memory has been freed.
2010-02-04 09:08:51 -05:00
Tor Lillqvist
cb7dfdc194 Use inherited properties in all configurations in gmodule, too 2010-02-04 15:04:22 +02:00
Tor Lillqvist
79eb03aa4f Use README.txt instead of README for Windows developer friendliness 2010-02-04 14:54:28 +02:00
Tor Lillqvist
ec19447815 Update README for VS9 build 2010-02-04 14:54:20 +02:00
Tor Lillqvist
9d444f7b12 Refactor VS9 project files
Factor out common parts into a vsprops file. Drop empty elements for
tools that aren't used.
2010-02-04 14:53:44 +02:00
Tor Lillqvist
241c7f476d Don't use deprecated g_win32 API 2010-02-04 14:53:20 +02:00