platform/upstream/glib.git
16 years agoremoved -GD to compile with msvc9 (vs2008) with less complains
Hans Breuer [Sun, 9 Dec 2007 14:38:26 +0000 (14:38 +0000)]
removed -GD to compile with msvc9 (vs2008) with less complains

2007-12-09  Hans Breuer  <hans@breuer.org>

* **/makefile.msc glib/makefile.msc.in : removed -GD to compile
with msvc9 (vs2008) with less complains

* glibconfig.h.win32.in : #define G_HAVE_ISO_VARARGS 1 for
msv8 (vs2005) and above

* glib/gfileutils.c : s/stricmp/_stricmp/
* msvc_recommended_pragmas.h : work around Microsoft's premature
attempt to deprecate the C-Library

* tests/makefile.msc.in : added checksum-test

svn path=/trunk/; revision=6076

16 years agoUpdated Norwegian bokmål translation.
Espen Stefansen [Sat, 8 Dec 2007 23:40:15 +0000 (23:40 +0000)]
Updated Norwegian bokmål translation.

2007-12-09  Espen Stefansen  <espens@svn.gnome.org>

        * nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=6075

16 years agoAdd forgotten #ifdef G_OS_WIN32 to fix the build on linux.
Christian Persch [Sat, 8 Dec 2007 14:29:37 +0000 (14:29 +0000)]
Add forgotten #ifdef G_OS_WIN32 to fix the build on linux.

2007-12-08  Christian Persch  <chpe@gnome.org>

* gio/glocalfileinfo.c: (get_thumbnail_attributes): Add forgotten
#ifdef G_OS_WIN32 to fix the build on linux.

svn path=/trunk/; revision=6074

16 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Sat, 8 Dec 2007 13:05:07 +0000 (13:05 +0000)]
Updated Norwegian bokmål translation.

2007-12-08  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=6073

16 years agoAdd missing file.
Kjartan Maraas [Sat, 8 Dec 2007 13:00:46 +0000 (13:00 +0000)]
Add missing file.

2007-12-08  Kjartan Maraas  <kmaraas@gnome.org>

* POTFILES.in: Add missing file.

svn path=/trunk/; revision=6072

16 years agobuild gchecksum.obj
Hans Breuer [Sat, 8 Dec 2007 12:02:22 +0000 (12:02 +0000)]
build gchecksum.obj

2007-12-08  Hans Breuer  <hans@breuer.org>

* glib/makefile.msc.in : build gchecksum.obj

svn path=/trunk/; revision=6071

16 years ago[gio compiles and links on win32, not sure how much already works] ifdefed
Hans Breuer [Sat, 8 Dec 2007 12:01:06 +0000 (12:01 +0000)]
[gio compiles and links on win32, not sure how much already works] ifdefed

2007-12-08  Hans Breuer  <hans@breuer.org>

[gio compiles and links on win32, not sure how much already works]
* glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
* glocalfile.c : use HAVE_UNISTD_H; implement file system size info
base on win32 API; prefer g_lstat() over lstat(); instead of
localtime_r() use an all GLib implementation on win32;
get_mount_info() still needs a win32 specifc implementation
* glocalfileinfo.c : use HAVE_*_H; start of implementation of
win32_get_file_user_info to get owner/group info without uid/gid
* glocalfileinputstream.c : include <io.h> on win32
* glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
definition, use g_win32_ftruncate() for G_OS_WIN32
* gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
it is available with mingw/w32api but a mess with the M$ Platform SDKs
see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
* makefile.msc : updated

svn path=/trunk/; revision=6070

16 years agoCzech Translation updated by Petr Kovar.
Jakub Friedl [Sat, 8 Dec 2007 08:13:28 +0000 (08:13 +0000)]
Czech Translation updated by Petr Kovar.

2007-12-08  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Czech Translation updated by Petr Kovar.

svn path=/trunk/; revision=6069

16 years agoBrazilian Portuguese translation updated by Vladimir Melo.
Leonardo Ferreira Fontenelle [Sat, 8 Dec 2007 01:25:10 +0000 (01:25 +0000)]
Brazilian Portuguese translation updated by Vladimir Melo.

2007-12-07  Leonardo Ferreira Fontenelle  <leonardof@svn.gnome.org>

* pt_BR.po: Brazilian Portuguese translation updated by Vladimir Melo.

svn path=/trunk/; revision=6068

16 years agoUpdated Belarusian Latin translation.
Ihar Hrachyshka [Fri, 7 Dec 2007 22:36:01 +0000 (22:36 +0000)]
Updated Belarusian Latin translation.

svn path=/trunk/; revision=6066

16 years agoAvoid warning spew if error == NULL
Alexander Larsson [Fri, 7 Dec 2007 11:47:31 +0000 (11:47 +0000)]
Avoid warning spew if error == NULL

2007-12-07  Alexander Larsson  <alexl@redhat.com>

* glocalfileenumerator.c (_g_local_file_enumerator_new):
Avoid warning spew if error == NULL

svn path=/trunk/; revision=6065

16 years agoUpdate docs wrt etags
Alexander Larsson [Fri, 7 Dec 2007 09:16:32 +0000 (09:16 +0000)]
Update docs wrt etags

2007-12-07  Alexander Larsson  <alexl@redhat.com>

* gfile.c:
Update docs wrt etags

svn path=/trunk/; revision=6064

16 years agoFix tiny grammar typo.
Behdad Esfahbod [Fri, 7 Dec 2007 07:30:59 +0000 (07:30 +0000)]
Fix tiny grammar typo.

2007-12-07  Behdad Esfahbod  <behdad@gnome.org>

        * glib/tmpl/date.sgml: Fix tiny grammar typo.

svn path=/trunk/; revision=6063

16 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Thu, 6 Dec 2007 18:45:39 +0000 (18:45 +0000)]
Updated Norwegian bokmål translation.

2007-12-06  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=6062

16 years agoCall destroy notify when destroying the hash table in g_hash_table_unref.
Mathias Hasselmann [Thu, 6 Dec 2007 15:38:03 +0000 (15:38 +0000)]
Call destroy notify when destroying the hash table in g_hash_table_unref.

* glib/ghash.c: Call destroy notify when destroying the hash table in
g_hash_table_unref.

svn path=/trunk/; revision=6060

16 years agodetect non-blocking fd EOF by read()==0 following poll(), needed on MacOS.
13:29:00 Tim Janik [Thu, 6 Dec 2007 12:28:25 +0000 (12:28 +0000)]
detect non-blocking fd EOF by read()==0 following poll(), needed on MacOS.

2007-12-06 13:29:00  Tim Janik  <timj@imendio.com>

        * glib/gtester.c (child_report_cb): detect non-blocking fd EOF
        by read()==0 following poll(), needed on MacOS.

svn path=/trunk/; revision=6059

16 years agoMention g_utf8_normalize() returns NULL on invalid string. (#501997)
Mathias Hasselmann [Thu, 6 Dec 2007 10:22:13 +0000 (10:22 +0000)]
Mention g_utf8_normalize() returns NULL on invalid string. (#501997)

* glib/gunidecomp.c: Mention g_utf8_normalize()
returns NULL on invalid string. (#501997)

svn path=/trunk/; revision=6058

16 years agoInclude sys/types.h for dev_t (#501919)
Alexander Larsson [Thu, 6 Dec 2007 09:33:59 +0000 (09:33 +0000)]
Include sys/types.h for dev_t (#501919)

2007-12-06  Alexander Larsson  <alexl@redhat.com>

* glocalfileinfo.h:
Include sys/types.h for dev_t (#501919)

svn path=/trunk/; revision=6057

16 years agoImprove wording for g_propagate_error docs.
Mathias Hasselmann [Thu, 6 Dec 2007 09:20:13 +0000 (09:20 +0000)]
Improve wording for g_propagate_error docs.

* glib/gerror.c: Improve wording for g_propagate_error docs.

svn path=/trunk/; revision=6056

16 years agoadded new scanner test from #501654, by Patrick Hulin with various
09:27:42 Tim Janik [Thu, 6 Dec 2007 08:32:03 +0000 (08:32 +0000)]
added new scanner test from #501654, by Patrick Hulin with various

2007-12-06 09:27:42  Tim Janik  <timj@imendio.com>

        * tests/scannerapi.c: added new scanner test from #501654, by
        Patrick Hulin with various modifications.
        reworked coding style, adapted to new testing framework, fixed
        token parser test and use a forked sub process to test
        g_scanner_error() output messages.

svn path=/trunk/; revision=6055

16 years agoMake abicheck and pltcheck pass.
Behdad Esfahbod [Thu, 6 Dec 2007 05:39:18 +0000 (05:39 +0000)]
Make abicheck and pltcheck pass.

2007-12-06  Behdad Esfahbod  <behdad@gnome.org>

        * gio.symbols:
        * pltcheck.sh:
        Make abicheck and pltcheck pass.

svn path=/trunk/; revision=6054

16 years agoadded -m=thorough support to gtester.
17:58:18 Tim Janik [Wed, 5 Dec 2007 16:56:05 +0000 (16:56 +0000)]
added -m=thorough support to gtester.

2007-12-05 17:58:18  Tim Janik  <timj@imendio.com>

        * glib/gtester.c: added -m=thorough support to gtester.

svn path=/trunk/; revision=6053

16 years agoprint out random seed for verbose tests, also adapted test result
17:21:05 Tim Janik [Wed, 5 Dec 2007 16:22:44 +0000 (16:22 +0000)]
print out random seed for verbose tests, also adapted test result

2007-12-05 17:21:05  Tim Janik  <timj@imendio.com>

        * glib/glib/gtestutils.c: print out random seed for verbose tests,
        also adapted test result reporting slightly in verbose mode to allow
        custom debugging output. support "thorough" as test mode alis for "slow".

        * glib/glib/gtestutils.h: added g_test_thorough().

        * glib/glib/gtester.c: print out the last random seed when tests fail.
        added result attribute to test case status logging to easily spot
        failing tests in log files. disabled debugging output when skipping tests.

svn path=/trunk/; revision=6052

16 years agoAdded.
Alexander Larsson [Wed, 5 Dec 2007 11:10:21 +0000 (11:10 +0000)]
Added.

2007-12-05  Alexander Larsson  <alexl@redhat.com>

        * Makefile.am:
        * giomodule-priv.h: Added.
        * glocaldirectorymonitor.c:
        * glocalfilemonitor.c:
        * gunionvolumemonitor.c:
        * gvfs.c:
Actually add the declaration of _g_io_modules_ensure_loaded

svn path=/trunk/; revision=6051

16 years agoFix warnings
Alexander Larsson [Wed, 5 Dec 2007 11:05:49 +0000 (11:05 +0000)]
Fix warnings

2007-12-05  Alexander Larsson  <alexl@redhat.com>

        * gdatainputstream.c:
Fix warnings

        * gio.symbols:
        * giomodule.[ch]
        * glocaldirectorymonitor.c:
        * glocalfilemonitor.c:
        * gunionvolumemonitor.c:
        * gvfs.c:
Make g_io_modules_ensure_loaded a private function and
don't pass in the dirname. This means we can do magic
directory finding in the win32 version.
Export the actual load-modules-in-directory code so that
gvfs can reuse that.

svn path=/trunk/; revision=6050

16 years agoadded g_test_add_data_func() to pass data into tests. allow data arguments
11:43:22 Tim Janik [Wed, 5 Dec 2007 10:42:09 +0000 (10:42 +0000)]
added g_test_add_data_func() to pass data into tests. allow data arguments

2007-12-05 11:43:22  Tim Janik  <timj@imendio.com>

        * glib/gtestutils.[hc]: added g_test_add_data_func() to pass data
        into tests. allow data arguments for fixture tests.

        * glib/gtestutils.c: fixed fatal log flag setup, so tests really abort
        upon criticals/warnings/errors.

        * glib/tests/testing.c: test test_data arguments.

        * glib/gtester.c: some prototype fixups.

svn path=/trunk/; revision=6049

16 years agoRename all struct members named: read, write, close, truncate, or mount to
Alexander Larsson [Wed, 5 Dec 2007 10:38:03 +0000 (10:38 +0000)]
Rename all struct members named: read, write, close, truncate, or mount to

2007-12-05  Alexander Larsson  <alexl@redhat.com>

        * gbufferedinputstream.c:
        * gbufferedoutputstream.c:
        * gdrive.[ch]:
        * gfile.[ch]:
        * gfileenumerator.[ch]:
        * gfileinputstream.c:
        * gfileoutputstream.[ch]:
        * gfilterinputstream.c:
        * gfilteroutputstream.c:
        * ginputstream.[ch]:
        * glocalfile.c:
        * glocalfileenumerator.c:
        * glocalfileinputstream.c:
        * glocalfileoutputstream.c:
        * gmemoryinputstream.c:
        * gmemoryoutputstream.c:
        * goutputstream.[ch]:
        * gseekable.[ch]:
        * gunixdrive.c:
        * gunixinputstream.c:
        * gunixoutputstream.c:
Rename all struct members named:
read, write, close, truncate, or mount
to foo_fn, as these are reserved names
and could be defined as macros in libc.
(#501645)

svn path=/trunk/; revision=6048

16 years agoAdd "shift-jis" as an alternative spelling of "shift_jis".
Tor Lillqvist [Wed, 5 Dec 2007 07:14:19 +0000 (07:14 +0000)]
Add "shift-jis" as an alternative spelling of "shift_jis".

2007-12-05  Tor Lillqvist  <tml@novell.com>

* glib/win_iconv.c: Add "shift-jis" as an alternative spelling of
"shift_jis".

svn path=/trunk/; revision=6047

16 years agofor the benefit of git users, checkout build/ if it is missing but after
Ryan Lortie [Wed, 5 Dec 2007 06:34:18 +0000 (06:34 +0000)]
for the benefit of git users, checkout build/ if it is missing but after

2007-12-05  Ryan Lortie  <desrt@desrt.ca>

        * autogen.sh: for the benefit of git users, checkout build/ if it is
        missing
        * .gitignore: but after that, ignore it.

svn path=/trunk/; revision=6046

16 years agoungtk-docify some comments for internal functions
Ryan Lortie [Wed, 5 Dec 2007 06:09:55 +0000 (06:09 +0000)]
ungtk-docify some comments for internal functions

2007-12-05  Ryan Lortie  <desrt@desrt.ca>

        * glib/ghash.c: ungtk-docify some comments for internal functions

svn path=/trunk/; revision=6045

16 years agoAdd GChecksum public API.
Emmanuele Bassi [Tue, 4 Dec 2007 16:34:00 +0000 (16:34 +0000)]
Add GChecksum public API.

2007-12-04  Emmanuele Bassi  <ebassi@gnome.org>

* glib/glib-sections.txt: Add GChecksum public API.

* glib/tmpl/checksum.sgml:
* glib/glib-docs.sgml: Add the checksums API page.

svn path=/trunk/; revision=6044

16 years agoReplace the copy-and-paste MD5 digest generation with GChecksum.
Emmanuele Bassi [Tue, 4 Dec 2007 16:33:24 +0000 (16:33 +0000)]
Replace the copy-and-paste MD5 digest generation with GChecksum.

2007-12-04  Emmanuele Bassi  <ebassi@gnome.org>

* gio/glocalfileinfo.c: Replace the copy-and-paste MD5 digest
generation with GChecksum.

svn path=/trunk/; revision=6043

16 years agoAdd GChecksum, a generic wrapper around various hashing algorithms. At the
Emmanuele Bassi [Tue, 4 Dec 2007 16:31:51 +0000 (16:31 +0000)]
Add GChecksum, a generic wrapper around various hashing algorithms. At the

2007-12-04  Emmanuele Bassi  <ebassi@gnome.org>

* glib/gchecksum.[ch]: Add GChecksum, a generic wrapper around
various hashing algorithms. At the moment, the MD5, SHA-1 and
SHA-256 algorithms are supported. (#443648)

* glib/glib.h:
* glib/Makefile.am:
* glib/glib.symbols: Build glue for GChecksum

* tests/Makefile.am
* tests/checksum-test.c: Add test suite for GChecksum.

svn path=/trunk/; revision=6042

16 years agoUpdated Korean translation.
Changwoo Ryu [Tue, 4 Dec 2007 11:45:26 +0000 (11:45 +0000)]
Updated Korean translation.

2007-12-04  Changwoo Ryu  <cwryu@debian.org>

* ko.po: Updated Korean translation.

svn path=/trunk/; revision=6041

16 years agoOnly call flush if non-null.
Alexander Larsson [Tue, 4 Dec 2007 10:44:49 +0000 (10:44 +0000)]
Only call flush if non-null.

2007-12-04  Alexander Larsson  <alexl@redhat.com>

        * goutputstream.c:
        (g_output_stream_close):
Only call flush if non-null.

svn path=/trunk/; revision=6040

16 years agoMake this take a GError and return a gboolean, and do the "outstanding
Dan Winship [Tue, 4 Dec 2007 08:57:04 +0000 (08:57 +0000)]
Make this take a GError and return a gboolean, and do the "outstanding

2007-11-30  Dan Winship  <danw@gnome.org>

* ginputstream.c (g_input_stream_set_pending): Make this take a
GError and return a gboolean, and do the "outstanding operation"
check (and the "stream is already closed" check) itself.
(g_input_stream_clear_pending): Formerly set_pending(FALSE).

* goutputstream.c (g_output_stream_set_pending)
(g_output_stream_clear_pending): Likewise

* gbufferedinputstream.c:
* gfileinputstream.c:
* gfileoutputstream.c: Update for that

* gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
Like g_simple_async_report_error_in_idle, but takes a GError
rather than building one.

svn path=/trunk/; revision=6039

16 years agoDon't cheat and unset the "pending" flag around inner calls. Instead, call
Dan Winship [Tue, 4 Dec 2007 08:55:51 +0000 (08:55 +0000)]
Don't cheat and unset the "pending" flag around inner calls. Instead, call

2007-11-30  Dan Winship  <danw@gnome.org>

* goutputstream.c: Don't cheat and unset the "pending" flag around
inner calls. Instead, call the class method directly rather than
the wrapper function that checks "pending"

svn path=/trunk/; revision=6038

16 years agono code changes; add comments to document the internal functions.
Ryan Lortie [Tue, 4 Dec 2007 03:47:17 +0000 (03:47 +0000)]
no code changes; add comments to document the internal functions.

2007-12-03  Ryan Lortie  <desrt@desrt.ca>

        * glib/ghash.c: no code changes; add comments to document the internal
        functions.

svn path=/trunk/; revision=6037

16 years agono code changes; reorder functions to remove the need for forward
Ryan Lortie [Tue, 4 Dec 2007 03:47:03 +0000 (03:47 +0000)]
no code changes; reorder functions to remove the need for forward

2007-12-03  Ryan Lortie  <desrt@desrt.ca>

        * glib/ghash.c: no code changes; reorder functions to remove the need
        for forward declarations.

svn path=/trunk/; revision=6036

16 years agoimprove clarity in some functions
Ryan Lortie [Tue, 4 Dec 2007 03:46:48 +0000 (03:46 +0000)]
improve clarity in some functions

2007-12-03  Ryan Lortie  <desrt@desrt.ca>

        * glib/ghash.c (g_hash_table_lookup_node,
        g_hash_table_lookup_extended, g_hash_table_insert_internal,
        g_hash_node_new): improve clarity in some functions

svn path=/trunk/; revision=6035

16 years agorename 'node' to 'node_ptr' where appropriate
Ryan Lortie [Tue, 4 Dec 2007 03:46:31 +0000 (03:46 +0000)]
rename 'node' to 'node_ptr' where appropriate

2007-12-03  Ryan Lortie  <desrt@desrt.ca>

        * glib/ghash.c: rename 'node' to 'node_ptr' where appropriate

svn path=/trunk/; revision=6034

16 years agoconvert G_HASH_TABLE_RESIZE() macro to inline function
Ryan Lortie [Tue, 4 Dec 2007 03:46:13 +0000 (03:46 +0000)]
convert G_HASH_TABLE_RESIZE() macro to inline function

2007-12-03  Ryan Lortie  <desrt@desrt.ca>

        * glib/ghash.c: convert G_HASH_TABLE_RESIZE() macro to inline function

svn path=/trunk/; revision=6033

16 years agotypos.
Ryan Lortie [Tue, 4 Dec 2007 02:37:55 +0000 (02:37 +0000)]
typos.

svn path=/trunk/; revision=6032

16 years agoremove stray (duplicate) entry from file to fix the build
Ryan Lortie [Tue, 4 Dec 2007 01:26:46 +0000 (01:26 +0000)]
remove stray (duplicate) entry from file to fix the build

2007-12-03  Ryan Lortie  <desrt@desrt.ca>

* glib/glib.symbols (glib_gettext): remove stray (duplicate) entry
from file to fix the build

svn path=/trunk/; revision=6031

16 years agoonly whitespace fixes, mostly removing spaces at ends of lines (and on empty lines)
Ryan Lortie [Tue, 4 Dec 2007 00:47:41 +0000 (00:47 +0000)]
only whitespace fixes, mostly removing spaces at ends of lines (and on empty lines)

svn path=/trunk/; revision=6030

16 years agoFix EXTRA_DIST automake warnings. (#501107)
Behdad Esfahbod [Tue, 4 Dec 2007 00:35:42 +0000 (00:35 +0000)]
Fix EXTRA_DIST automake warnings. (#501107)

2007-12-03  Behdad Esfahbod  <behdad@gnome.org>

        * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)

svn path=/trunk/; revision=6029

16 years agoadded glib_gettext (in use by gio) also try building gio
Hans Breuer [Mon, 3 Dec 2007 22:46:17 +0000 (22:46 +0000)]
added glib_gettext (in use by gio) also try building gio

2007-12-03  Hans Breuer  <hans@breuer.org>

* glib/glib.symbols : added glib_gettext (in use by gio)
* makefile.msc : also try building gio

* glib/gmarkup.c : use G_GUINT64_CONSTANT() to avoid
'bad suffix on number'
* glib/gtestutils.c : declare cariable at the beginning of the block,
include <io.h> for G_OS_WIN32
* makefile.msc.in : add gurifuncs and gtestutils

svn path=/trunk/; revision=6028

16 years ago[start of port to win32/msvc] HAVE_UNIST_H and _pipe() only include
Hans Breuer [Mon, 3 Dec 2007 22:37:44 +0000 (22:37 +0000)]
[start of port to win32/msvc] HAVE_UNIST_H and _pipe() only include

2007-12-03  Hans Breuer  <hans@breuer.org>

[start of port to win32/msvc]
* gcancellable.c : HAVE_UNIST_H and _pipe()
* gcontenttype.c : only include <dirent.h> in the UNIX branch
* gdatainputstream.c : pointer arithmetic on void* is a gcc extension
* gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
HAVE_UNIST_H
* glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
* glocalvfs.c : use HAVE_PWD_H
* gio.symbols : ifdef unix specific functions with G_OS_UNIX
* makefile.msc : new file (maybe later converted to makefile.msc.in)
* Makefile.am : added to EXTRA_DIST

svn path=/trunk/; revision=6027

16 years agocreate a common function for the many places where all nodes in the table
Ryan Lortie [Mon, 3 Dec 2007 21:21:28 +0000 (21:21 +0000)]
create a common function for the many places where all nodes in the table

2007-12-03  Ryan Lortie  <desrt@desrt.ca>

* glib/ghash.c: create a common function for the many places where all
nodes in the table are removed (remove_all, steal_all, destroy, unref,
etc...)

svn path=/trunk/; revision=6026

16 years agofix memory leak, add a few extra sanity tests.
Ryan Lortie [Mon, 3 Dec 2007 21:17:32 +0000 (21:17 +0000)]
fix memory leak, add a few extra sanity tests.

2006-12-03  Ryan Lortie  <desrt@desrt.ca>

* tests/hash-test.c (second_hash_test): fix memory leak, add a few
extra sanity tests.

svn path=/trunk/; revision=6025

16 years agoDon't call g_get_language_names() per-key. (#500638, Michael Meeks)
Matthias Clasen [Mon, 3 Dec 2007 18:56:33 +0000 (18:56 +0000)]
Don't call g_get_language_names() per-key. (#500638, Michael Meeks)

2007-12-03  Matthias Clasen  <mclasen@redhat.com>

        * glib/gkeyfile.c: Don't call g_get_language_names() per-key.
        (#500638, Michael Meeks)

svn path=/trunk/; revision=6023

16 years agoAdd new error codes for when compilation fails and make compilation error
Marco Barisione [Mon, 3 Dec 2007 18:36:26 +0000 (18:36 +0000)]
Add new error codes for when compilation fails and make compilation error

2007-12-03  Marco Barisione <marco@barisione.org>

* glib/gregex.c:
* glib/gregex.h: Add new error codes for when compilation fails and
make compilation error translatable. (#482313, Morten Welinder)

svn path=/trunk/; revision=6021

16 years agoImprove docs
Matthias Clasen [Mon, 3 Dec 2007 18:25:24 +0000 (18:25 +0000)]
Improve docs

svn path=/trunk/; revision=6020

16 years agoUpdated German translation
Andre Klapper [Mon, 3 Dec 2007 16:41:19 +0000 (16:41 +0000)]
Updated German translation

2007-12-03  Andre Klapper  <a9016009@gmx.de>

        * de.po: Updated German translation

svn path=/trunk/; revision=6019

16 years agoSpeed up group lookups
Matthias Clasen [Mon, 3 Dec 2007 15:43:20 +0000 (15:43 +0000)]
Speed up group lookups

svn path=/trunk/; revision=6018

16 years agoAdd xattr checks for OSX style API (#500506) 2007-12-03 Alexander Larsson
Alexander Larsson [Mon, 3 Dec 2007 10:23:03 +0000 (10:23 +0000)]
Add xattr checks for OSX style API (#500506) 2007-12-03 Alexander Larsson

2007-12-03  Alexander Larsson  <alexl@redhat.com>

        * configure.in:
Add xattr checks for OSX style API (#500506)
2007-12-03  Alexander Larsson  <alexl@redhat.com>

        * glocalfileinfo.c:
Handle OSX style xattrs API (#500506)

svn path=/trunk/; revision=6017

16 years agomerge more common code into functions. Vastly simplify loop logic in
Ryan Lortie [Mon, 3 Dec 2007 09:29:47 +0000 (09:29 +0000)]
merge more common code into functions. Vastly simplify loop logic in

2007-12-03  Ryan Lortie  <desrt@desrt.ca>

        * glib/ghash.c: merge more common code into functions.  Vastly
        simplify loop logic in g_hash_table_foreach_remove_or_steal().

svn path=/trunk/; revision=6016

16 years agoAdd G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
Alexander Larsson [Mon, 3 Dec 2007 09:11:48 +0000 (09:11 +0000)]
Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag

2007-12-03  Alexander Larsson  <alexl@redhat.com>

        * gfile.[ch]:
        * glocalfile.c:
Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag

svn path=/trunk/; revision=6015

16 years agoDocumentation accuracy fixes.
A. Walton [Sun, 2 Dec 2007 12:32:27 +0000 (12:32 +0000)]
Documentation accuracy fixes.

2007-12-02  A. Walton  <awalton@svn.gnome.org>

* gfile.c:
* gfileattribute.c:
Documentation accuracy fixes.

svn path=/trunk/; revision=6014

16 years agoFix typo.
Behdad Esfahbod [Sat, 1 Dec 2007 23:49:34 +0000 (23:49 +0000)]
Fix typo.

2007-12-01  Behdad Esfahbod  <behdad@gnome.org>

        * gioenumtypes.c.template: Fix typo.

svn path=/trunk/; revision=6013

16 years agoDon't descend into build/. (#500875)
Behdad Esfahbod [Sat, 1 Dec 2007 23:46:17 +0000 (23:46 +0000)]
Don't descend into build/. (#500875)

2007-12-01  Behdad Esfahbod  <behdad@gnome.org>

        * Makefile.am: Don't descend into build/. (#500875)

svn path=/trunk/; revision=6012

16 years agoMake threadsafe get_type() functions.
Matthias Clasen [Sat, 1 Dec 2007 17:40:19 +0000 (17:40 +0000)]
Make threadsafe get_type() functions.

2007-12-01  Matthias Clasen <mclasen@redhat.com>

        * gioenumtypes.c.template: Make threadsafe get_type() functions.

svn path=/trunk/; revision=6011

16 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sat, 1 Dec 2007 14:13:00 +0000 (14:13 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=6010

16 years agoUpdated Belarusian Latin translation.
Ihar Hrachyshka [Sat, 1 Dec 2007 12:37:50 +0000 (12:37 +0000)]
Updated Belarusian Latin translation.

svn path=/trunk/; revision=6009

16 years agoSome more property work
Matthias Clasen [Sat, 1 Dec 2007 06:12:45 +0000 (06:12 +0000)]
Some more property work

svn path=/trunk/; revision=6008

16 years agoDon't mark buffer-size property as construct-only
Matthias Clasen [Sat, 1 Dec 2007 05:28:46 +0000 (05:28 +0000)]
Don't mark buffer-size property as construct-only

svn path=/trunk/; revision=6007

16 years agoAdd properties
Matthias Clasen [Sat, 1 Dec 2007 05:25:40 +0000 (05:25 +0000)]
Add properties

svn path=/trunk/; revision=6006

16 years agoDoc improvements
Matthias Clasen [Sat, 1 Dec 2007 04:38:29 +0000 (04:38 +0000)]
Doc improvements

svn path=/trunk/; revision=6005

16 years agoAdd properties
Matthias Clasen [Sat, 1 Dec 2007 04:29:14 +0000 (04:29 +0000)]
Add properties

svn path=/trunk/; revision=6004

16 years agoAdd properties
Matthias Clasen [Sat, 1 Dec 2007 02:53:34 +0000 (02:53 +0000)]
Add properties

svn path=/trunk/; revision=6003

16 years agoTemplates for enum registration
Matthias Clasen [Sat, 1 Dec 2007 01:53:00 +0000 (01:53 +0000)]
Templates for enum registration

2007-11-30  Matthias Clasen <mclasen@redhat.com>

        * gioenumtypes.[hc].template: Templates for enum registration

        * Makefile.am: Generate gioenumtypes.[hc]

        * gio.h: Include gioenumtypes.h
        * gappinfo.h:
        * gfile.h: Add some explicit nicks.

        * gio.symbols: Add new symbols

        * pltcheck.sh: Adjust

svn path=/trunk/; revision=6002

16 years agoAdd docs for etags
Matthias Clasen [Fri, 30 Nov 2007 18:11:03 +0000 (18:11 +0000)]
Add docs for etags

svn path=/trunk/; revision=6001

16 years agoExplain I/O priorieties
Matthias Clasen [Fri, 30 Nov 2007 05:51:10 +0000 (05:51 +0000)]
Explain I/O priorieties

svn path=/trunk/; revision=6000

16 years agoMore coding style fixes
Matthias Clasen [Fri, 30 Nov 2007 05:11:25 +0000 (05:11 +0000)]
More coding style fixes

svn path=/trunk/; revision=5999

16 years agoBug 500361 – Improve docs for g_array_free() and g_ptr_array_free()
Behdad Esfahbod [Fri, 30 Nov 2007 03:40:56 +0000 (03:40 +0000)]
Bug 500361 – Improve docs for g_array_free() and g_ptr_array_free()

2007-11-29  Behdad Esfahbod  <behdad@gnome.org>

        Bug 500361 – Improve docs for g_array_free() and g_ptr_array_free()

        * glib/tmpl/arrays.sgml:
        * glib/tmpl/arrays_pointer.sgml:
        Document how to free the return value.

svn path=/trunk/; revision=5998

16 years agoMore doc improvements
Matthias Clasen [Thu, 29 Nov 2007 20:35:23 +0000 (20:35 +0000)]
More doc improvements

svn path=/trunk/; revision=5997

16 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Thu, 29 Nov 2007 17:45:15 +0000 (17:45 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=5996

16 years ago Quick Changelog fix.
Andrew Walton [Thu, 29 Nov 2007 10:24:48 +0000 (10:24 +0000)]
  Quick Changelog fix.

svn path=/trunk/; revision=5995

16 years agoFixes unknown meaning in GAppLaunchContext docs. Clarify asynchronous ops.
Andrew Walton [Thu, 29 Nov 2007 10:18:55 +0000 (10:18 +0000)]
Fixes unknown meaning in GAppLaunchContext docs. Clarify asynchronous ops.

* gappinfo.c:
  Fixes unknown meaning in GAppLaunchContext docs.
* gfile.c:
  Clarify asynchronous ops.
* gfileattribute.c:
  Fix entity tag docs.
* gicon.c:
* gthemedicon.c:
  Provides missing gtk-doc section, fixes API docs slighly.
* gsimpleasyncresult.c:
  Fill in missing info in docs.
* gunixinputstream.c:
* gunixoutputstream.c:
  Be more expressive in short description.
* gunixvolume.c:
  Remove gtk-doc stubs for non-public API.

svn path=/trunk/; revision=5994

16 years agoCoding style fixups
Matthias Clasen [Thu, 29 Nov 2007 07:17:59 +0000 (07:17 +0000)]
Coding style fixups

svn path=/trunk/; revision=5993

16 years agoDon't export the inotify lock
Matthias Clasen [Thu, 29 Nov 2007 03:39:01 +0000 (03:39 +0000)]
Don't export the inotify lock

svn path=/trunk/; revision=5992

16 years agoIgnore gio
Matthias Clasen [Thu, 29 Nov 2007 03:20:16 +0000 (03:20 +0000)]
Ignore gio

svn path=/trunk/; revision=5991

16 years agoAdd moved stuff from gio
Matthias Clasen [Thu, 29 Nov 2007 03:14:06 +0000 (03:14 +0000)]
Add moved stuff from gio

svn path=/trunk/; revision=5990

16 years agoAdditions
Matthias Clasen [Thu, 29 Nov 2007 03:13:27 +0000 (03:13 +0000)]
Additions

svn path=/trunk/; revision=5989

16 years agoDoc improvements
Matthias Clasen [Thu, 29 Nov 2007 02:58:24 +0000 (02:58 +0000)]
Doc improvements

svn path=/trunk/; revision=5988

16 years agoAdditions
Matthias Clasen [Thu, 29 Nov 2007 02:52:23 +0000 (02:52 +0000)]
Additions

svn path=/trunk/; revision=5987

16 years agoAdd Since tags
Matthias Clasen [Thu, 29 Nov 2007 02:36:12 +0000 (02:36 +0000)]
Add Since tags

svn path=/trunk/; revision=5986

16 years agoSome doc cleanups
Matthias Clasen [Thu, 29 Nov 2007 01:24:33 +0000 (01:24 +0000)]
Some doc cleanups

svn path=/trunk/; revision=5985

16 years agoMore cleanup
Matthias Clasen [Wed, 28 Nov 2007 19:00:39 +0000 (19:00 +0000)]
More cleanup

svn path=/trunk/; revision=5984

16 years agoRemove internal types
Matthias Clasen [Wed, 28 Nov 2007 18:58:51 +0000 (18:58 +0000)]
Remove internal types

svn path=/trunk/; revision=5983

16 years agoFix up some doc comments, avoid C99 comments
Matthias Clasen [Wed, 28 Nov 2007 18:53:22 +0000 (18:53 +0000)]
Fix up some doc comments, avoid C99 comments

2007-11-28  Matthias Clasen  <mclasen@redhat.com>

        * glib/gtestutils.c: Fix up some doc comments, avoid C99 comments

        * glib/gconvert.c: De-doc-commentify static functions to
        shut up gtk-doc.

        * glib/gutils.c: Fix the glib_gettext doc comment.

svn path=/trunk/; revision=5982

16 years agoFix copy-and-paste leftovers
Matthias Clasen [Wed, 28 Nov 2007 18:45:08 +0000 (18:45 +0000)]
Fix copy-and-paste leftovers

svn path=/trunk/; revision=5981

16 years agoRemove nonexisting api
Matthias Clasen [Wed, 28 Nov 2007 18:39:24 +0000 (18:39 +0000)]
Remove nonexisting api

svn path=/trunk/; revision=5980

16 years agoImprove consistency of enumerations
Matthias Clasen [Wed, 28 Nov 2007 18:38:53 +0000 (18:38 +0000)]
Improve consistency of enumerations

svn path=/trunk/; revision=5979

16 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Wed, 28 Nov 2007 16:29:24 +0000 (16:29 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=5978

16 years agoRemoved unnecessary file
Alexander Larsson [Wed, 28 Nov 2007 16:01:59 +0000 (16:01 +0000)]
Removed unnecessary file

2007-11-28  Alexander Larsson  <alexl@redhat.com>

        * Makefile.am:
        * gdriveprivate.h:
Removed unnecessary file

        * gdesktopappinfo.[ch]:
        * gdummyfile.[ch]:
        * gfile.c:
        * glocaldirectorymonitor.[ch]:
        * glocalfile.[ch]:
        * glocalfileenumerator.[ch]:
        * glocalfileinputstream.[ch]:
        * glocalfilemonitor.[ch]:
        * glocalfileoutputstream.[ch]:
        * glocalvfs.[ch]:
        * gnativevolumemonitor.c:
        * gpollfilemonitor.[ch]:
        * gunionvolumemonitor.[ch]:
        * gunixdrive.[ch]:
        * gunixvolume.[ch]:
        * gunixvolumemonitor.[ch]:
        * gvfs.c:
        * gvolumeprivate.h:
        * inotify/ginotifydirectorymonitor.[ch]:
        * inotify/ginotifyfilemonitor.[ch]:
        * inotify/inotify-helper.c:
Append _ to all internal functions

        * gio.symbols:
Add missing symbols
Export symbols needed for modules

svn path=/trunk/; revision=5977

16 years agoUpdate to match what configure produces.
Tor Lillqvist [Wed, 28 Nov 2007 16:01:16 +0000 (16:01 +0000)]
Update to match what configure produces.

2007-11-28  Tor Lillqvist  <tml@novell.com>

* config.h.win32.in: Update to match what configure produces.

svn path=/trunk/; revision=5976

16 years agoMove this function before g_string_append_c so that we avoid the plt call
Alexander Larsson [Wed, 28 Nov 2007 14:49:22 +0000 (14:49 +0000)]
Move this function before g_string_append_c so that we avoid the plt call

2007-11-28  Alexander Larsson  <alexl@redhat.com>

* glib/gstring.c (g_string_append_uri_escaped):
Move this function before g_string_append_c so that
we avoid the plt call due to the undefinf of g_string_append_c

svn path=/trunk/; revision=5975

16 years agoRemove makegioalias.pl from the marshal files and avoid it being cleaned
Emmanuele Bassi [Wed, 28 Nov 2007 14:42:29 +0000 (14:42 +0000)]
Remove makegioalias.pl from the marshal files and avoid it being cleaned

2007-11-28  Emmanuele Bassi  <ebassi@gnome.org>

* gio/Makefile.am: Remove makegioalias.pl from the marshal files
and avoid it being cleaned up when running make clean.

svn path=/trunk/; revision=5974

16 years agoAdd in the new symbols
Alexander Larsson [Wed, 28 Nov 2007 14:35:14 +0000 (14:35 +0000)]
Add in the new symbols

2007-11-28  Alexander Larsson  <alexl@redhat.com>

        * glib/glib.symbols:
Add in the new symbols

        * glib/gurifuncs.c:
Use the aliases framework

        * glib/glibintl.h:
        * glib/gutils.c:
Make the alias stuff work now that glib_gettext
is exported to libgio.

svn path=/trunk/; revision=5973