platform/upstream/glib.git
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

16 years agoAdded. Added. Added. Added.
Alexander Larsson [Wed, 28 Nov 2007 12:39:07 +0000 (12:39 +0000)]
Added. Added. Added. Added.

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

        * Makefile.am:
        * abicheck.sh: Added.
        * makegioalias.pl: Added.
        * pltcheck.sh: Added.
        * gio.symbols: Added.
* *.c:
        * inotify/*.c
Initial work on adding symbol handling.

* gvfs.h:
Correct ifdef guard name

        * fam/Makefile.am:
        * inotify/Makefile.am:
        * xdgmime/Makefile.am:
Include toplevel Makefile.decl

svn path=/trunk/; revision=5972

16 years agoAnother round of trivial doc fixes
Matthias Clasen [Wed, 28 Nov 2007 06:43:33 +0000 (06:43 +0000)]
Another round of trivial doc fixes

svn path=/trunk/; revision=5970

16 years agoMore doc updates
Matthias Clasen [Wed, 28 Nov 2007 06:01:51 +0000 (06:01 +0000)]
More doc updates

svn path=/trunk/; revision=5969

16 years agoMore trivial doc fixes
Matthias Clasen [Wed, 28 Nov 2007 06:01:13 +0000 (06:01 +0000)]
More trivial doc fixes

svn path=/trunk/; revision=5968

16 years agosome additions
Matthias Clasen [Wed, 28 Nov 2007 04:35:49 +0000 (04:35 +0000)]
some additions

svn path=/trunk/; revision=5967

16 years agoClean up some docs
Matthias Clasen [Wed, 28 Nov 2007 04:29:02 +0000 (04:29 +0000)]
Clean up some docs

svn path=/trunk/; revision=5966

16 years agonothing to see here... move along, move along :)
Ryan Lortie [Wed, 28 Nov 2007 03:58:08 +0000 (03:58 +0000)]
nothing to see here... move along, move along :)

svn path=/trunk/; revision=5965

16 years agoinsert/replace were identical except for a single line. Replace both with
Ryan Lortie [Wed, 28 Nov 2007 03:40:39 +0000 (03:40 +0000)]
insert/replace were identical except for a single line. Replace both with

2007-11-27  Ryan Lortie  <desrt@desrt.ca>

        * glib/ghash.c (g_hash_table_insert, g_hash_table_replace,
        g_hash_table_insert_internal): insert/replace were identical except
        for a single line.  Replace both with a common function.

svn path=/trunk/; revision=5964

16 years agoSome additions
Matthias Clasen [Wed, 28 Nov 2007 03:19:32 +0000 (03:19 +0000)]
Some additions

svn path=/trunk/; revision=5963

16 years agoFix a typo.
Andre Klapper [Tue, 27 Nov 2007 23:59:38 +0000 (23:59 +0000)]
Fix a typo.

2007-11-28  Andre Klapper  <a9016009@gmx.de>

* gdesktopappinfo.c: Fix a typo.

svn path=/trunk/; revision=5962

16 years agoMore of the same
Matthias Clasen [Tue, 27 Nov 2007 19:11:39 +0000 (19:11 +0000)]
More of the same

svn path=/trunk/; revision=5961

16 years agoUpdate for api changes
Matthias Clasen [Tue, 27 Nov 2007 19:07:27 +0000 (19:07 +0000)]
Update for api changes

svn path=/trunk/; revision=5960

16 years agoFix a typo.
Andre Klapper [Tue, 27 Nov 2007 16:29:54 +0000 (16:29 +0000)]
Fix a typo.

2007-11-27  Andre Klapper  <a9016009@gmx.de>

* glocalfileoutputstream.c: Fix a typo.

svn path=/trunk/; revision=5959

16 years agoUpdated gio sources.
Andre Klapper [Tue, 27 Nov 2007 16:10:22 +0000 (16:10 +0000)]
Updated gio sources.

2007-11-27  Andre Klapper  <a9016009@gmx.de>

        * POTFILES.in: Updated gio sources.

svn path=/trunk/; revision=5958

16 years agoDon't include removed headers
Alexander Larsson [Tue, 27 Nov 2007 15:21:50 +0000 (15:21 +0000)]
Don't include removed headers

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

* gio.h:
Don't include removed headers

svn path=/trunk/; revision=5957

16 years agoRemoved. Removed. Added. Added. Renamed GSocket*Stream to GUnix*Stream and
Alexander Larsson [Tue, 27 Nov 2007 15:08:03 +0000 (15:08 +0000)]
Removed. Removed. Added. Added. Renamed GSocket*Stream to GUnix*Stream and

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

        * Makefile.am:
        * gsocketinputstream.[ch]: Removed.
        * gsocketoutputstream.[ch]: Removed.
        * gunixinputstream.[ch]: Added.
        * gunixoutputstream.[ch]: Added.
Renamed GSocket*Stream to GUnix*Stream and made
it unix-only, since its not really only for sockets
and it only works on unix (but is highly useful there).

svn path=/trunk/; revision=5956

16 years agoMoved gurifuncs from gio to glib
Alexander Larsson [Tue, 27 Nov 2007 14:57:45 +0000 (14:57 +0000)]
Moved gurifuncs from gio to glib

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

        * gio/Makefile.am:
        * gio/gurifuncs.[ch]:
        * glib/Makefile.am:
        * glib/gstring.[ch]:
        * glib/gurifuncs.[ch]:
Moved gurifuncs from gio to glib

svn path=/trunk/; revision=5955

16 years agoMove g_format_file_size_for_display from gio to glib
Alexander Larsson [Tue, 27 Nov 2007 14:30:31 +0000 (14:30 +0000)]
Move g_format_file_size_for_display from gio to glib

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

        * gio/gfileinfo.[ch]:
        * glib/gfileutils.[ch]:
        Move g_format_file_size_for_display from gio to glib

svn path=/trunk/; revision=5954

16 years ago Bumps documentation to 93% symbol coverage, touching most
Andrew Walton [Tue, 27 Nov 2007 14:00:13 +0000 (14:00 +0000)]
Bumps documentation to 93% symbol coverage, touching most
of the public files. Fixes broken function documentation prototypes.
Fixes GCancellable inaccuracies. Removes unnecessary incomplete
gtk-doc headers in private files.

svn path=/trunk/; revision=5953

16 years agoNew functions for efficient access to buffer and simple single byte reads.
Juerg Billeter [Tue, 27 Nov 2007 13:44:48 +0000 (13:44 +0000)]
New functions for efficient access to buffer and simple single byte reads.

2007-11-27  Juerg Billeter  <j@bitron.ch>

* gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
(g_buffered_input_stream_read_byte):
* gbufferedinputstream.h:
New functions for efficient access to buffer and simple single byte
reads.

* gdatainputstream.c: (scan_for_newline), (scan_for_chars),
(g_data_input_stream_read_until):
* gdatainputstream.h:
Use peek_buffer to avoid memcpy in scan_for_newline, implement
read_until with multiple stop chars.

svn path=/trunk/; revision=5952

16 years agoAllow configuration of gio-module-dir
Alexander Larsson [Tue, 27 Nov 2007 12:39:14 +0000 (12:39 +0000)]
Allow configuration of gio-module-dir

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

        * configure.in:
Allow configuration of gio-module-dir

        * gio-2.0.pc.in:
Export giomodules location as giomodule variable

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

        * Makefile.am:
        * fam/Makefile.am:
        * inotify/Makefile.am:
Use the user-specified giomoduledir

svn path=/trunk/; revision=5951

16 years agoMakefile.am Add catch-all gio.h header Don't install gdummyfile.h
Alexander Larsson [Tue, 27 Nov 2007 10:46:45 +0000 (10:46 +0000)]
Makefile.am Add catch-all gio.h header Don't install gdummyfile.h

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

* Makefile.am
* gio.h:
Add catch-all gio.h header
Don't install gdummyfile.h

svn path=/trunk/; revision=5950

16 years agoAdd some tests for invalid booleans
Matthias Clasen [Tue, 27 Nov 2007 02:29:31 +0000 (02:29 +0000)]
Add some tests for invalid booleans

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

        * tests/markup-collect.c: Add some tests for invalid booleans

svn path=/trunk/; revision=5949

16 years agoadd missing file off last commit
Ryan Lortie [Tue, 27 Nov 2007 01:57:53 +0000 (01:57 +0000)]
add missing file off last commit

svn path=/trunk/; revision=5948

16 years agoAdd new function g_markup_collect_attributes (bug #496847).
Ryan Lortie [Tue, 27 Nov 2007 01:37:33 +0000 (01:37 +0000)]
Add new function g_markup_collect_attributes (bug #496847).

2007-11-26  Ryan Lortie  <desrt@desrt.ca>

        Add new function g_markup_collect_attributes (bug #496847).

        * glib/glib.symbols: add g_markup_collect_attributes

        * docs/reference/glib/glib-sections.txt:
        * glib/gmarkup.h:
        * glib/gmarkup.c: add g_markup_collect_attributes and new enumerated
        type GMarkupCollectType.  Add new error code
        G_MARKUP_ERROR_MISSING_ATTRIBUTE that is thrown by the attribute
        collector.

svn path=/trunk/; revision=5947

16 years agoSome improvements, being upstreamed. (must_use_null_useddefaultchar): New
Tor Lillqvist [Mon, 26 Nov 2007 22:49:43 +0000 (22:49 +0000)]
Some improvements, being upstreamed. (must_use_null_useddefaultchar): New

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

* glib/win_iconv.c: Some improvements, being upstreamed.
(must_use_null_useddefaultchar): New function, checks for those
codepages for which one must pass a NULL lpUsedDefaultChar pointer
to WideCharToMultiByte().
(kernel_wctomb): Use it.
(kernel_wctomb): Return with E2BIG immediately if bufsize is zero.

svn path=/trunk/; revision=5945

16 years agoUse either lib/locale or share/locale depending on which one is in
Tor Lillqvist [Mon, 26 Nov 2007 22:32:12 +0000 (22:32 +0000)]
Use either lib/locale or share/locale depending on which one is in

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

* glib/gutils.c (_glib_get_locale_dir) [Win32]: Use either
lib/locale or share/locale depending on which one is in
GLIB_LOCALE_DIR. When the configury recognizes GNU gettext (based
on the _nl_msg_cat_cntr variable, eek), share/locale gets used.

* glib-zip.in: Likewise, look for message catalogs either in
lib/locale or share/locale.

svn path=/trunk/; revision=5944

16 years agoFix up a doc comment
Matthias Clasen [Mon, 26 Nov 2007 20:42:17 +0000 (20:42 +0000)]
Fix up a doc comment

svn path=/trunk/; revision=5943

16 years agoRemove trailing whitespace
Alexander Larsson [Mon, 26 Nov 2007 16:36:52 +0000 (16:36 +0000)]
Remove trailing whitespace

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

* Makefile.am (gioinclude_HEADERS):
Remove trailing whitespace

svn path=/trunk/; revision=5942

16 years agogio/ docs/reference/gio Merged gio-standalone into glib.
Alexander Larsson [Mon, 26 Nov 2007 16:13:05 +0000 (16:13 +0000)]
gio/ docs/reference/gio Merged gio-standalone into glib.

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

        * Makefile.am:
        * configure.in:
        * gio-2.0-uninstalled.pc.in:
        * gio-2.0.pc.in:
        * gio-unix-2.0-uninstalled.pc.in:
        * gio-unix-2.0.pc.in:
* gio/
* docs/reference/gio
Merged gio-standalone into glib.

        * glib/glibintl.h:
        * glib/gutils.c:
Export glib_gettext so that gio can use it
Add P_ (using same domain for now)
Add I_ as g_intern_static_string

svn path=/trunk/; revision=5941

16 years agogio/ docs/reference/gio Merged gio-standalone into glib.
Alexander Larsson [Mon, 26 Nov 2007 16:12:50 +0000 (16:12 +0000)]
gio/ docs/reference/gio Merged gio-standalone into glib.

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

        * Makefile.am:
        * configure.in:
        * gio-2.0-uninstalled.pc.in:
        * gio-2.0.pc.in:
        * gio-unix-2.0-uninstalled.pc.in:
        * gio-unix-2.0.pc.in:
* gio/
* docs/reference/gio
Merged gio-standalone into glib.

        * glib/glibintl.h:
        * glib/gutils.c:
Export glib_gettext so that gio can use it
Add P_ (using same domain for now)
Add I_ as g_intern_static_string

svn path=/trunk/; revision=5940

16 years agoISO8859-1 is CP28591, not CP1252.
Tor Lillqvist [Mon, 26 Nov 2007 00:50:24 +0000 (00:50 +0000)]
ISO8859-1 is CP28591, not CP1252.

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

* glib/win_iconv.c: ISO8859-1 is CP28591, not CP1252.

svn path=/trunk/; revision=5939

16 years agoAdd win_iconv.c to EXTRA_DIST.
Tor Lillqvist [Sun, 25 Nov 2007 23:31:58 +0000 (23:31 +0000)]
Add win_iconv.c to EXTRA_DIST.

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

* glib/Makefile.am: Add win_iconv.c to EXTRA_DIST.

svn path=/trunk/; revision=5938