Alexander Shopov [Tue, 23 Feb 2010 07:30:39 +0000 (09:30 +0200)]
Updated Bulgarian translation
Ryan Lortie [Tue, 23 Feb 2010 07:00:11 +0000 (02:00 -0500)]
Fix backward logic in g_return_if_fail().
Ryan Lortie [Tue, 23 Feb 2010 06:59:57 +0000 (01:59 -0500)]
GVariant: Improve test coverage.
Emilio Pozuelo Monfort [Fri, 19 Feb 2010 18:00:02 +0000 (19:00 +0100)]
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
Alexander Larsson [Mon, 22 Feb 2010 11:37:16 +0000 (12:37 +0100)]
Keep metadata when files are renamed and trashed
This fixes https://bugzilla.gnome.org/show_bug.cgi?id=609813
Ryan Lortie [Mon, 22 Feb 2010 05:39:01 +0000 (00:39 -0500)]
GVariantIter, GVariantBuilder
Ryan Lortie [Mon, 22 Feb 2010 00:39:33 +0000 (19:39 -0500)]
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.
Matthias Clasen [Mon, 22 Feb 2010 02:38:33 +0000 (21:38 -0500)]
Bump version
Matthias Clasen [Mon, 22 Feb 2010 02:37:33 +0000 (21:37 -0500)]
2.23.4
Matthias Clasen [Mon, 22 Feb 2010 01:28:34 +0000 (20:28 -0500)]
More distcheck fixes
Matthias Clasen [Mon, 22 Feb 2010 01:11:33 +0000 (20:11 -0500)]
Fix some distcheck issues
Matthias Clasen [Mon, 22 Feb 2010 00:55:02 +0000 (19:55 -0500)]
Fix up GFileDescriptorBased docs
Matthias Clasen [Mon, 22 Feb 2010 00:48:22 +0000 (19:48 -0500)]
Add indices for 2.24 additions
Matthias Clasen [Mon, 22 Feb 2010 00:46:57 +0000 (19:46 -0500)]
Small doc fixes
Matthias Clasen [Mon, 22 Feb 2010 00:42:37 +0000 (19:42 -0500)]
Fix up make check
Matthias Clasen [Mon, 22 Feb 2010 00:17:50 +0000 (19:17 -0500)]
More updates
Matthias Clasen [Sun, 21 Feb 2010 22:59:15 +0000 (17:59 -0500)]
Fix a doc typo.
Reported in bug 608063 by Дилян Палаузов.
Matthias Clasen [Sun, 21 Feb 2010 21:29:15 +0000 (16:29 -0500)]
Fix the large array test to work
Fix by Sven Herzberg, bug 568760
Matthias Clasen [Sun, 21 Feb 2010 21:12:35 +0000 (16:12 -0500)]
Add missign single include guards
Reported in bug 609530. patch by Christian Dywan.
Matthias Clasen [Sun, 21 Feb 2010 21:04:21 +0000 (16:04 -0500)]
Documentation improvement
Document the size requirements on output buffer in g_base64_encode_close.
Patch by Christian Persch, bug 609564.
Matthias Clasen [Sun, 21 Feb 2010 20:55:10 +0000 (15:55 -0500)]
Fix build on Solaris 8
System header fun. See bug 610131.
Matthias Clasen [Sun, 21 Feb 2010 20:32:08 +0000 (15:32 -0500)]
Add a pointer to G_DEFINE_INTERFACE
Matthias Clasen [Sun, 21 Feb 2010 20:28:04 +0000 (15:28 -0500)]
Fix an oversight
_Always_ explicitly compare strcmp to 0... this was pointed out in
bug 610484 by Christian Persch.
Matthias Clasen [Sun, 21 Feb 2010 20:19:06 +0000 (15:19 -0500)]
Updates
Fran Diéguez [Sat, 20 Feb 2010 21:22:04 +0000 (22:22 +0100)]
Updated Galician Translation
Piotr Drąg [Sat, 20 Feb 2010 21:20:04 +0000 (22:20 +0100)]
Updated Polish translation
Colin Walters [Fri, 19 Feb 2010 21:06:22 +0000 (16:06 -0500)]
[gutf8.c] Add a bit of documentation to UNICODE_VALID
Ryan Lortie [Fri, 19 Feb 2010 15:42:53 +0000 (10:42 -0500)]
Merge the main public API of GVariant
Petr Kovar [Thu, 18 Feb 2010 19:07:56 +0000 (20:07 +0100)]
Update Czech translation
Christian Kellner [Thu, 18 Feb 2010 14:49:58 +0000 (15:49 +0100)]
Move event support in the inotify backend
This adds support for G_FILE_MONITOR_SEND_MOVED events when requested by
the user to the inotify backend. Last part to fix bug #547890.
Based heavily on a patch by Martyn Russel <martyn@lanedo.com>.
Christian Kellner [Thu, 18 Feb 2010 14:43:45 +0000 (15:43 +0100)]
GLocalFileMonitor: Support for GFileMonitorFlags
Evaluate and remember GFileMonitorFlags. This is a part of move
event support for fs-monitoring (bug #547890).
Christian Kellner [Thu, 18 Feb 2010 14:40:13 +0000 (15:40 +0100)]
Move event support for fs-monitoring: Event & flag
Add a G_FILE_MONITOR_SEND_MOVED flag indicating the API user
wants to receive the new G_FILE_MOINOTR_EVENT_MOVED event
instead of single CREATED/DELETED events.
First part of bug #547890.
Ivar Smolin [Thu, 18 Feb 2010 09:46:06 +0000 (11:46 +0200)]
Estonian translation updated
Mario Blättermann [Wed, 17 Feb 2010 08:00:04 +0000 (09:00 +0100)]
Updated German translation
Benjamin Otte [Wed, 17 Feb 2010 07:45:28 +0000 (08:45 +0100)]
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
Matej Urbančič [Tue, 16 Feb 2010 11:38:11 +0000 (12:38 +0100)]
Updated Slovenian translation
Ryan Lortie [Tue, 16 Feb 2010 00:11:58 +0000 (19:11 -0500)]
GVariant: create child instance from its own data
also: white-space fix in the serialiser
Changwoo Ryu [Mon, 15 Feb 2010 18:42:19 +0000 (03:42 +0900)]
Updated Korean translation
Jorge González [Mon, 15 Feb 2010 16:54:26 +0000 (17:54 +0100)]
Updated Spanish translation
Fran Diéguez [Mon, 15 Feb 2010 16:10:21 +0000 (17:10 +0100)]
Updated Galician Translation
Christian Kellner [Sun, 7 Feb 2010 16:23:38 +0000 (17:23 +0100)]
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.
Christian Kellner [Sun, 7 Feb 2010 16:18:06 +0000 (17:18 +0100)]
GLocalFileOutputStream: Implement GFileDescriptorBased
Also convert GLocalFileIOStream to use the new interface to obtain
the file descriptor.
Christian Kellner [Sun, 7 Feb 2010 16:17:44 +0000 (17:17 +0100)]
GLocalFileInputStream: Implement GFileDescriptorBased
Christian Kellner [Sun, 7 Feb 2010 13:51:01 +0000 (14:51 +0100)]
GFileDescriptorBased: New interface
New interface for file descriptor based io object. The interface
is only exported on unix based systems. See bug 604086.
Chao-Hsiung Liao [Mon, 15 Feb 2010 11:15:38 +0000 (19:15 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)
Alexander Larsson [Mon, 15 Feb 2010 09:13:10 +0000 (10:13 +0100)]
Set result_uncertain in win32 g_content_type_guess implementation
Fixes bug #609143
Lucian Grijincu [Sat, 13 Feb 2010 17:35:42 +0000 (19:35 +0200)]
Updated Romanian translation
Ryan Lortie [Thu, 11 Feb 2010 21:52:20 +0000 (16:52 -0500)]
GVariant: lock before freeing, to avoid assert
Benjamin Otte [Thu, 11 Feb 2010 20:08:57 +0000 (21:08 +0100)]
Move offsets array from interface data member to TypeNode
We need to assign offsets when the interface is not yet instantiated.
Benjamin Otte [Thu, 11 Feb 2010 20:05:41 +0000 (21:05 +0100)]
Move prerequisites out of _prot struct
Also fix the naming (including typo)
Ryan Lortie [Wed, 10 Feb 2010 18:59:14 +0000 (13:59 -0500)]
add performance tests to gitignore
Ryan Lortie [Wed, 10 Feb 2010 16:29:12 +0000 (11:29 -0500)]
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.
Ryan Lortie [Wed, 10 Feb 2010 16:13:06 +0000 (11:13 -0500)]
merge GVariant
Matej Urbančič [Wed, 10 Feb 2010 15:34:53 +0000 (16:34 +0100)]
Updated Slovenian translation
Matthias Clasen [Tue, 9 Feb 2010 15:35:01 +0000 (10:35 -0500)]
bump version
Matthias Clasen [Tue, 9 Feb 2010 15:20:37 +0000 (10:20 -0500)]
2.23.3
Matthias Clasen [Tue, 9 Feb 2010 14:16:23 +0000 (09:16 -0500)]
Doc cleanups
Matthias Clasen [Tue, 9 Feb 2010 13:46:50 +0000 (08:46 -0500)]
Updates
Ryan Lortie [Mon, 8 Feb 2010 05:43:17 +0000 (00:43 -0500)]
gstrfuncs.h: needs gmacros.h for G_BEGIN_DECLS
Theppitak Karoonboonyanan [Mon, 8 Feb 2010 02:57:37 +0000 (09:57 +0700)]
Updated Thai translation.
Ryan Lortie [Sun, 7 Feb 2010 20:41:21 +0000 (15:41 -0500)]
add missing #include "config.h"
Ryan Lortie [Sun, 7 Feb 2010 08:14:28 +0000 (03:14 -0500)]
remove #include <glib.h> from some .c files
include individual headers instead
Ryan Lortie [Sun, 7 Feb 2010 08:08:08 +0000 (03:08 -0500)]
gurifuncs.c: #include "string.h" -> <string.h>
Ryan Lortie [Sun, 7 Feb 2010 07:52:07 +0000 (02:52 -0500)]
GVariantTypeInfo: free hash table when not in use
Ryan Lortie [Fri, 5 Feb 2010 02:18:53 +0000 (21:18 -0500)]
merge the GVariant serialiser
Ryan Lortie [Fri, 5 Feb 2010 17:37:43 +0000 (12:37 -0500)]
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.
Ryan Lortie [Sat, 6 Feb 2010 15:18:07 +0000 (10:18 -0500)]
add private GBuffer type
Tim-Philipp Müller [Fri, 5 Feb 2010 01:14:20 +0000 (01:14 +0000)]
Don't leak filename in g_io_modules_scan_all_in_directory
https://bugzilla.gnome.org/show_bug.cgi?id=608159
Hans Breuer [Sat, 6 Feb 2010 12:22:39 +0000 (13:22 +0100)]
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
Tor Lillqvist [Sat, 6 Feb 2010 08:40:03 +0000 (10:40 +0200)]
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.
Jonh Wendell [Fri, 5 Feb 2010 14:09:26 +0000 (11:09 -0300)]
Updated Brazilian Portuguese translation
Ryan Lortie [Fri, 5 Feb 2010 01:27:11 +0000 (20:27 -0500)]
rename test: gvarianttype -> gvariant
More test cases will be added to this file.
Petr Kovar [Thu, 4 Feb 2010 22:54:15 +0000 (23:54 +0100)]
Update Czech translation
Tor Lillqvist [Thu, 4 Feb 2010 17:57:38 +0000 (19:57 +0200)]
Further work on VS9 project files
Tor Lillqvist [Thu, 4 Feb 2010 17:54:50 +0000 (19:54 +0200)]
Clarify use of struct stat on Windows
Tor Lillqvist [Thu, 4 Feb 2010 17:20:08 +0000 (19:20 +0200)]
Internally use the _stati64 API explicitly on Windows
Avoids warnings and confusion when compiling with MSVC.
Tor Lillqvist [Thu, 4 Feb 2010 13:24:56 +0000 (15:24 +0200)]
Enable libtool compatible DLL naming in the VS9 projects
Ryan Lortie [Thu, 4 Feb 2010 14:06:56 +0000 (09:06 -0500)]
GVariantType test case: assert all memory freed
Make sure we've freed all TypeInfos at the end of the test.
Ryan Lortie [Thu, 4 Feb 2010 14:04:32 +0000 (09:04 -0500)]
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.
Tor Lillqvist [Thu, 4 Feb 2010 13:00:15 +0000 (15:00 +0200)]
Use inherited properties in all configurations in gmodule, too
Tor Lillqvist [Thu, 4 Feb 2010 12:51:56 +0000 (14:51 +0200)]
Use README.txt instead of README for Windows developer friendliness
Tor Lillqvist [Thu, 4 Feb 2010 12:50:36 +0000 (14:50 +0200)]
Update README for VS9 build
Tor Lillqvist [Thu, 4 Feb 2010 12:36:23 +0000 (14:36 +0200)]
Refactor VS9 project files
Factor out common parts into a vsprops file. Drop empty elements for
tools that aren't used.
Tor Lillqvist [Thu, 4 Feb 2010 12:35:04 +0000 (14:35 +0200)]
Don't use deprecated g_win32 API
Tor Lillqvist [Wed, 3 Feb 2010 22:37:13 +0000 (00:37 +0200)]
Put a version info resource also in the gio DLL
Also, distribute gio/gio.rc(.in).
Tor Lillqvist [Wed, 3 Feb 2010 22:11:44 +0000 (00:11 +0200)]
Update copyright years
Krzesimir Nowak [Wed, 13 Jan 2010 17:40:17 +0000 (18:40 +0100)]
Add checks for NULL pointer in arrays.
Fixes: Bug 599197 - array ref and unref functions crash on NULL
array.
* garray.c: Added safety guards to all public functions, which did
not have them earlier. Now when NULL is passed to them, they will
issue a warning and return, instead of segfaulting.
River Tarnell [Wed, 3 Feb 2010 16:31:02 +0000 (17:31 +0100)]
properly guard the includes
Fixes: Bug 604967 - 2.22.3 libasyncns build fails on HP-UX 11.11
* gio/libasyncns/asyncns.c: properly guard the includes of sys/select.h
and sys/time.h
Tor Lillqvist [Wed, 3 Feb 2010 16:09:28 +0000 (18:09 +0200)]
Fix the "install" VS9 project
Install also ghostutils.h. Don't bother mentioning any pointless
PreprocessorDefinitions for the "install" project, as all it does is
copy files.
Ryan Lortie [Wed, 3 Feb 2010 04:38:20 +0000 (23:38 -0500)]
GVariantTypeInfo changes
- rename 'type' in MemberInfo to 'type_info'
- add 'ending_type' field to MemberInfo
- document how to find the ending
Tor Lillqvist [Tue, 2 Feb 2010 19:24:45 +0000 (21:24 +0200)]
Link with dnsapi.lib also in 32-bit builds
Tor Lillqvist [Tue, 2 Feb 2010 19:23:27 +0000 (21:23 +0200)]
Include also testglib.vcproj in tarball
Philip Withnall [Tue, 2 Feb 2010 10:41:00 +0000 (10:41 +0000)]
Don't use a compiler keyword as a variable name
Appease the MS C++ compiler by using _val instead of __value as a variable
name in G_VALUE_COLLECT_INIT.
Problem found by Haakon Sporsheim <haakon.sporsheim@gmail.com>.
Re-closes: bgo#608602
Ryan Lortie [Mon, 1 Feb 2010 23:30:57 +0000 (18:30 -0500)]
g_bit_lock: remove double variable declarations
Remove double declaration of local static variables used for futex
emulation.
Problem found by Haakon Sporsheim <haakon.sporsheim@gmail.com>.
Dan Winship [Mon, 1 Feb 2010 23:11:43 +0000 (18:11 -0500)]
ghostutils: Fix a crash and add some tests
https://bugzilla.gnome.org/show_bug.cgi?id=608743
Ryan Lortie [Sun, 31 Jan 2010 19:30:08 +0000 (14:30 -0500)]
G{Byte,Ptr,}Array: move docs from tmpl to .c
Ryan Lortie [Sun, 31 Jan 2010 18:07:16 +0000 (13:07 -0500)]
GList, GSList: move docs from tmpl to .c
Ryan Lortie [Sun, 31 Jan 2010 06:26:49 +0000 (01:26 -0500)]
remove trailing whitespace breaking .gitignore
Ryan Lortie [Sun, 31 Jan 2010 05:39:40 +0000 (00:39 -0500)]
GIOChannel: move docs from tmpl to .c
Ryan Lortie [Sun, 31 Jan 2010 05:27:28 +0000 (00:27 -0500)]
GTree, GNode: move docs from tmpl to .c