platform/upstream/glib.git
15 years agoBump version
Matthias Clasen [Tue, 17 Feb 2009 18:48:26 +0000 (18:48 +0000)]
Bump version

svn path=/trunk/; revision=7878

15 years ago2.19.8 GLIB_2_19_8
Matthias Clasen [Tue, 17 Feb 2009 18:36:36 +0000 (18:36 +0000)]
2.19.8

svn path=/trunk/; revision=7876

15 years ago Fix strict aliasing warnings and viiolations to make GLib and
Matthias Clasen [Tue, 17 Feb 2009 16:14:39 +0000 (16:14 +0000)]
    Fix strict aliasing warnings and viiolations to make GLib and
        GLib users buildable with gcc 4.4. Patch by Jakub Jelinek.

        * glib/gatomic.[hc]: Add G_GNUC_MAY_ALIAS to pointer arguments,
        fix macro versions to only operate on objects of the same size.

        * glib/gdataset.c:
        * glib/gthread.[hc]:
        * glib/gdatasetprivate.h: Remove unnecessary casts in
        g_atomic_pointer_get calls.

svn path=/trunk/; revision=7875

15 years agoFixed wrong translations.
Takeshi AIHANA [Tue, 17 Feb 2009 14:57:43 +0000 (14:57 +0000)]
Fixed wrong translations.

2009-02-17  Takeshi AIHANA <takeshi.aihana@gmail.com>

* ja.po: Fixed wrong translations.

svn path=/trunk/; revision=7874

15 years agofix changelog date
Ryan Lortie [Tue, 17 Feb 2009 10:13:52 +0000 (10:13 +0000)]
fix changelog date

svn path=/trunk/; revision=7873

15 years agoAdd missing exports
Matthias Clasen [Tue, 17 Feb 2009 06:32:44 +0000 (06:32 +0000)]
Add missing exports

svn path=/trunk/; revision=7872

15 years agoUpdate
Matthias Clasen [Tue, 17 Feb 2009 06:26:30 +0000 (06:26 +0000)]
Update

svn path=/trunk/; revision=7871

15 years agoBump version
Matthias Clasen [Tue, 17 Feb 2009 02:51:46 +0000 (02:51 +0000)]
Bump version

svn path=/trunk/; revision=7870

15 years ago2.19.7 GLIB_2_19_7
Matthias Clasen [Tue, 17 Feb 2009 02:49:52 +0000 (02:49 +0000)]
2.19.7

svn path=/trunk/; revision=7868

15 years agoUpdates
Matthias Clasen [Tue, 17 Feb 2009 01:35:09 +0000 (01:35 +0000)]
Updates

svn path=/trunk/; revision=7867

15 years agoAdd an "aborted" signal to abort a mount operation from the backend side.
Matthias Clasen [Tue, 17 Feb 2009 00:02:06 +0000 (00:02 +0000)]
Add an "aborted" signal to abort a mount operation from the backend side.

        * gmountoperation.[hc]: Add an "aborted" signal to abort a
        mount operation from the backend side.

        * gvolume.h: Add docs regarding the "aborted" signal.

svn path=/trunk/; revision=7866

15 years agoBug 505042 – add file attribute for actually used file size in bytes
Ryan Lortie [Mon, 16 Feb 2009 14:22:43 +0000 (14:22 +0000)]
Bug 505042 – add file attribute for actually used file size in bytes

2009-02-13  Ryan Lortie  <desrt@desrt.ca>

Bug 505042 – add file attribute for actually used file size in bytes

* gfileinfo.h: add G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE define to
"standard::allocated-size"
* gfileattribute.c: document
* glocalfileinfo.c: set the allocated size from st_blocks * 512

svn path=/trunk/; revision=7865

15 years agoBug 571598 – GAsyncResult with NULL gobject
Ryan Lortie [Mon, 16 Feb 2009 09:33:39 +0000 (09:33 +0000)]
Bug 571598 – GAsyncResult with NULL gobject

2009-02-16  Ryan Lortie  <desrt@desrt.ca>

        Bug 571598 – GAsyncResult with NULL gobject

        * gsimpleasyncresult.c: remove various assertions and add some checks
        to allow for a NULL source_object in GSimpleAsyncResult.

svn path=/trunk/; revision=7864

15 years agoUpdated Italian translation.
Luca Ferretti [Sat, 14 Feb 2009 16:15:44 +0000 (16:15 +0000)]
Updated Italian translation.

2009-02-14  Luca Ferretti  <elle.uca@libero.it>

* it.po: Updated Italian translation.

svn path=/trunk/; revision=7863

15 years agoUpdated Portuguese translation.
Duarte Loreto [Fri, 13 Feb 2009 22:45:17 +0000 (22:45 +0000)]
Updated Portuguese translation.

2009-02-13  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated Portuguese translation.

svn path=/trunk/; revision=7862

15 years agoAdd note about g_utf8_offset_to_pointer() not checking string
Mathias Hasselmann [Fri, 13 Feb 2009 14:20:17 +0000 (14:20 +0000)]
Add note about g_utf8_offset_to_pointer() not checking string
boundaries.

* glib/gutf8.c (g_utf8_offset_to_pointer()): See summary.

svn path=/trunk/; revision=7861

15 years ago Bug 523742 – Use noinst for non-installable libraries
Matthias Clasen [Thu, 12 Feb 2009 03:55:38 +0000 (03:55 +0000)]
    Bug 523742 – Use noinst for non-installable libraries

        * tests/Makefile.am: use noninst_LTLIBRARIES for noninstalled
        libraries.Patch by Björn Lindqvist

svn path=/trunk/; revision=7860

15 years agoCope with EEXIST == ENOTEMPTY. Reported by Nicolas Joseph
Matthias Clasen [Thu, 12 Feb 2009 01:52:17 +0000 (01:52 +0000)]
Cope with EEXIST == ENOTEMPTY. Reported by Nicolas Joseph

        * gioerror.c (g_io_error_from_errno): Cope with EEXIST == ENOTEMPTY.
        Reported by Nicolas Joseph

svn path=/trunk/; revision=7859

15 years agoUpdated Basque translation.
Inaki Larranaga Murgoitio [Tue, 10 Feb 2009 15:10:56 +0000 (15:10 +0000)]
Updated Basque translation.

2009-02-10  Inaki Larranaga Murgoitio  <dooteo@euskalgnu.org>

* eu.po: Updated Basque translation.

svn path=/trunk/; revision=7858

15 years agoUpdated Vietnamese translation
Clytie Siddall [Sat, 7 Feb 2009 08:58:43 +0000 (08:58 +0000)]
Updated Vietnamese translation

svn path=/trunk/; revision=7857

15 years agoCorrect the grammar in some property documentation.
Murray Cumming [Fri, 6 Feb 2009 14:08:19 +0000 (14:08 +0000)]
Correct the grammar in some property documentation.

2009-02-06  Murray Cumming  <murrayc@murrayc.com>

* gio/gfilterinputstream.c:
* gio/gfilteroutputstream.c: Correct the grammar in some property
documentation.
* gio/gdatainputstream.c:
* glib/gregex.c: Correct the spelling of
occurrence in documentation.

svn path=/trunk/; revision=7856

15 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Fri, 6 Feb 2009 11:57:29 +0000 (11:57 +0000)]
Updated Norwegian bokmål translation.

2009-02-06  Kjartan Maraas  <kmaraas@gnome.org>

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

svn path=/trunk/; revision=7855

15 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Fri, 6 Feb 2009 11:14:31 +0000 (11:14 +0000)]
Updated Thai translation.

2009-02-06  Theppitak Karoonboonyanan  <thep@linux.thai.net>

* th.po: Updated Thai translation.

svn path=/trunk/; revision=7854

15 years agoAdd online urls for library.gnome.org. This allows other docs to do
Stefan Kost [Fri, 6 Feb 2009 08:09:24 +0000 (08:09 +0000)]
Add online urls for library.gnome.org. This allows other docs to do

* gio/gio-docs.xml:
* glib/glib-docs.sgml:
* gobject/gobject-docs.sgml:
  Add online urls for library.gnome.org. This allows other docs to do
          gtkdoc-rebase --online --html-dir=html
          before publishing docs and have working xrefs.

svn path=/trunk/; revision=7853

15 years agoUpdated Japanese translation.
Takeshi AIHANA [Thu, 5 Feb 2009 13:14:39 +0000 (13:14 +0000)]
Updated Japanese translation.

009-02-05  Takeshi AIHANA <takeshi.aihana@gmail.com>

        * ja.po: Updated Japanese translation.

svn path=/trunk/; revision=7852

15 years agoDutch translation updated by Wouter Bolsterlee.
Wouter Bolsterlee [Wed, 4 Feb 2009 14:57:07 +0000 (14:57 +0000)]
Dutch translation updated by Wouter Bolsterlee.

2009-02-04  Wouter Bolsterlee  <wbolster@svn.gnome.org>

* nl.po: Dutch translation updated by Wouter Bolsterlee.

svn path=/trunk/; revision=7851

15 years agoCommitted Translation by Sweta Kothari
Sweta Kothari [Wed, 4 Feb 2009 08:50:12 +0000 (08:50 +0000)]
Committed Translation by Sweta Kothari

svn path=/trunk/; revision=7850

15 years agoBug 566747 - URIs opened with firefox %u load as local files
Alexander Larsson [Wed, 4 Feb 2009 08:01:42 +0000 (08:01 +0000)]
Bug 566747 - URIs opened with firefox %u load as local files

2009-02-04  Alexander Larsson  <alexl@redhat.com>

Bug 566747 - URIs opened with firefox %u load as local files

* gdummyfile.c (g_dummy_file_get_path):
Dummy files are never used for local paths, so always return NULL
in get_path().

svn path=/trunk/; revision=7849

15 years agoCommitted Translation by Sweta Kothari
Sweta Kothari [Tue, 3 Feb 2009 11:55:56 +0000 (11:55 +0000)]
Committed Translation by Sweta Kothari

svn path=/trunk/; revision=7848

15 years agobump version
Matthias Clasen [Mon, 2 Feb 2009 21:42:11 +0000 (21:42 +0000)]
bump version

svn path=/trunk/; revision=7847

15 years ago2.19.6 GLIB_2_19_6
Matthias Clasen [Mon, 2 Feb 2009 20:09:08 +0000 (20:09 +0000)]
2.19.6

svn path=/trunk/; revision=7845

15 years agoBump version
Matthias Clasen [Mon, 2 Feb 2009 19:19:53 +0000 (19:19 +0000)]
Bump version

svn path=/trunk/; revision=7844

15 years agoUpdates
Matthias Clasen [Mon, 2 Feb 2009 15:40:16 +0000 (15:40 +0000)]
Updates

svn path=/trunk/; revision=7843

15 years agoTranslation updated.
Gabor Kelemen [Sun, 1 Feb 2009 10:10:52 +0000 (10:10 +0000)]
Translation updated.

2009-02-01  Gabor Kelemen  <kelemeng@gnome.hu>

* hu.po: Translation updated.

svn path=/trunk/; revision=7842

15 years agoplug a tiny mem leak.
Paolo Borelli [Sat, 31 Jan 2009 20:06:02 +0000 (20:06 +0000)]
plug a tiny mem leak.

2009-01-31  Paolo Borelli  <pborelli@katamail.com>

* glocalfileinfo.c: plug a tiny mem leak.

svn path=/trunk/; revision=7841

15 years agoi * glib/gtimer.c (g_time_val_to_iso8601): Pass a time_t* to gmtime().
Matthias Clasen [Sat, 31 Jan 2009 19:19:21 +0000 (19:19 +0000)]
i        * glib/gtimer.c (g_time_val_to_iso8601): Pass a time_t* to gmtime().
        Pointed out by Matthias Drochner.

svn path=/trunk/; revision=7840

15 years agoUpdated Brazilian Portuguese translation.
Jonh Wendell [Fri, 30 Jan 2009 18:58:24 +0000 (18:58 +0000)]
Updated Brazilian Portuguese translation.

2009-01-30  Jonh Wendell  <jwendell@gnome.org>

* pt_BR.po: Updated Brazilian Portuguese translation.

svn path=/trunk/; revision=7839

15 years agoUpdated Bulgarian translation by Alexander Shopov <ash@contact.bg>
Alexander Shopov [Fri, 30 Jan 2009 11:11:53 +0000 (11:11 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>

2009-01-30  Alexander Shopov  <ash@contact.bg>

* bg.po: Updated Bulgarian translation by
Alexander Shopov <ash@contact.bg>

svn path=/trunk/; revision=7838

15 years ago2.19.5
Chao-Hsiung Liao [Fri, 30 Jan 2009 07:01:42 +0000 (07:01 +0000)]
2.19.5

svn path=/trunk/; revision=7837

15 years agohandle all possible cases of EAGAIN and EWOULDBLOCK being (un)defined and
Ryan Lortie [Thu, 29 Jan 2009 15:55:11 +0000 (15:55 +0000)]
handle all possible cases of EAGAIN and EWOULDBLOCK being (un)defined and

2009-01-29  Ryan Lortie  <desrt@desrt.ca>

        * gioerror.c (g_io_error_from_errno): handle all possible cases of
        EAGAIN and EWOULDBLOCK being (un)defined and (un)equal.

svn path=/trunk/; revision=7836

15 years agoBug 568575 – _async functions for GDataInputStream
Ryan Lortie [Wed, 28 Jan 2009 16:39:39 +0000 (16:39 +0000)]
Bug 568575 – _async functions for GDataInputStream

2009-01-28  Ryan Lortie  <desrt@desrt.ca>

        Bug 568575 – _async functions for GDataInputStream

        * gdatainputstream.h:
        * gdatainputstream.c: add _async versions of read_line and read_until.
        * gio.symbols:
        * ../docs/reference/gio/gio-sections.txt: add new functions
        * tests/sleepy-stream.c: new test case for async read line
        * tests/Makefile.am: add new test

svn path=/trunk/; revision=7835

15 years agoAdd G_GOFFSET_FORMAT and friends. Bug #563141.
Christian Persch [Wed, 28 Jan 2009 14:09:18 +0000 (14:09 +0000)]
Add G_GOFFSET_FORMAT and friends. Bug #563141.

* configure.in:
* docs/reference/glib/glib-sections.txt:
* docs/reference/macros_misc.sgml:
* docs/reference/glib/tmpl/types.sgml: Add
G_GOFFSET_FORMAT and friends. Bug #563141.

svn path=/trunk/; revision=7834

15 years agoUpdated Oriya Translation
Manoj Kumar Giri [Wed, 28 Jan 2009 09:38:54 +0000 (09:38 +0000)]
Updated Oriya Translation

svn path=/trunk/; revision=7833

15 years agoUpdated Oriya Translation
Manoj Kumar Giri [Wed, 28 Jan 2009 09:38:35 +0000 (09:38 +0000)]
Updated Oriya Translation

svn path=/trunk/; revision=7832

15 years agoUpdated Finnish translation
Ilkka Tuohela [Tue, 27 Jan 2009 03:01:55 +0000 (03:01 +0000)]
Updated Finnish translation

svn path=/trunk/; revision=7831

15 years agosv.po: Updated Swedish translation
Daniel Nylander [Sun, 25 Jan 2009 23:20:16 +0000 (23:20 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=7830

15 years agoAdd SCAN_OPTIONS=--ignore-decorators="GLIB_VAR" to Makefile.am to fix on
Stefan Kost [Fri, 23 Jan 2009 15:10:31 +0000 (15:10 +0000)]
Add SCAN_OPTIONS=--ignore-decorators="GLIB_VAR" to Makefile.am to fix on

* docs/reference/glib/Makefile.am:
  Add SCAN_OPTIONS=--ignore-decorators="GLIB_VAR" to Makefile.am to fix
  on problem with the doc build.

svn path=/trunk/; revision=7829

15 years agoBug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1
Ryan Lortie [Thu, 22 Jan 2009 19:18:26 +0000 (19:18 +0000)]
Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1

2009-01-22  Ryan Lortie  <desrt@desrt.ca>

        Bug 568723 – g_buffered_input_stream_fill_async doesn't take count == -1

        * gbufferedinputstream.c (g_buffered_input_stream_fill_async,
        g_buffered_input_stream_fill): check for count < -1 instead of count <
        0 and copy modified check to non-async version for consistency.
        document the "count = -1" API.

svn path=/trunk/; revision=7828

15 years agoBug 568741 – g_buffered_input_stream_fill_async doesn't work
Ryan Lortie [Thu, 22 Jan 2009 19:00:05 +0000 (19:00 +0000)]
Bug 568741 – g_buffered_input_stream_fill_async doesn't work

2009-01-22  Ryan Lortie  <desrt@desrt.ca>

        Bug 568741 – g_buffered_input_stream_fill_async doesn't work

        * gbufferedinputstream.c (fill_async_callback): grow the buffer tail
        after we have successfully read data from the base stream

svn path=/trunk/; revision=7827

15 years agoDrop the code in the else branch of #if GLIB_CHECK_VERSION (2, 19, 0).
Tor Lillqvist [Wed, 21 Jan 2009 16:18:39 +0000 (16:18 +0000)]
Drop the code in the else branch of #if GLIB_CHECK_VERSION (2, 19, 0).

2009-01-21  Tor Lillqvist  <tml@novell.com>

* glib/gwin32.c (g_win32_locale_filename_from_utf8): Drop the code
in the else branch of #if GLIB_CHECK_VERSION (2, 19, 0). Drop
unused variables.

svn path=/trunk/; revision=7826

15 years agoBug 568394 – dropping the last reference to a stream filter closes the
Ryan Lortie [Wed, 21 Jan 2009 14:09:56 +0000 (14:09 +0000)]
Bug 568394 – dropping the last reference to a stream filter closes the

2009-01-20  Ryan Lortie  <desrt@desrt.ca>

        Bug 568394 – dropping the last reference to a stream filter closes the
        base stream

        * gfilterinputstream.h:
        * gfilterinputstream.c: add "close-base-stream" property and only
        close the base stream if it is true.  issue async close callbacks from
        correct source object.
        * gfilteroutputstream.h:
        * gfilteroutputstream.c: add a "close-base-stream" property and only
        close the base stream if it is true.  issue async close callbacks from
        correct source object.
        * gbufferedoutputstream: check g_filter_output_stream_get_close_base()
        before closing the base stream.  fix invalid source tag comparison in
        close_async (was comparing to flush_async).
        * ../docs/reference/gio/gio-sections.txt:
        * gio.symbols: add
        g_filter_{in,out}put_stream_{g,s}et_close_base_stream
        * tests/filter-streams.c: new test cases
        * tests/Makefile.am: add new test
        * tests/.gitignore: add new test

svn path=/trunk/; revision=7825

15 years agoUpdated Korean translation
Changwoo Ryu [Tue, 20 Jan 2009 21:24:38 +0000 (21:24 +0000)]
Updated Korean translation

svn path=/trunk/; revision=7824

15 years agofix a typo
Matthias Clasen [Tue, 20 Jan 2009 17:05:26 +0000 (17:05 +0000)]
fix a typo

svn path=/trunk/; revision=7823

15 years agoExpand docs
Matthias Clasen [Mon, 19 Jan 2009 22:58:38 +0000 (22:58 +0000)]
Expand docs

svn path=/trunk/; revision=7822

15 years ago2.19.5 GLIB_2_19_5
Matthias Clasen [Mon, 19 Jan 2009 07:46:43 +0000 (07:46 +0000)]
2.19.5

svn path=/trunk/; revision=7820

15 years agoDoc addition
Matthias Clasen [Mon, 19 Jan 2009 07:05:07 +0000 (07:05 +0000)]
Doc addition

svn path=/trunk/; revision=7819

15 years agoFix a typo
Matthias Clasen [Mon, 19 Jan 2009 07:01:57 +0000 (07:01 +0000)]
Fix a typo

svn path=/trunk/; revision=7818

15 years agoSome cleanups
Matthias Clasen [Mon, 19 Jan 2009 06:09:11 +0000 (06:09 +0000)]
Some cleanups

svn path=/trunk/; revision=7817

15 years agoUpdates
Matthias Clasen [Sun, 18 Jan 2009 07:33:37 +0000 (07:33 +0000)]
Updates

svn path=/trunk/; revision=7816

15 years agoDefine an ENABLE_REGEX macro
Matthias Clasen [Sun, 18 Jan 2009 06:53:44 +0000 (06:53 +0000)]
Define an ENABLE_REGEX macro

        * configure.in: Define an ENABLE_REGEX macro

        * gobject/gboxed.c: Don't refer to g_regex_ref if ENABLE_REGEX
        is not defined.

svn path=/trunk/; revision=7815

15 years agoQuell some compiler wanrings
Matthias Clasen [Sun, 18 Jan 2009 06:44:04 +0000 (06:44 +0000)]
Quell some compiler wanrings

svn path=/trunk/; revision=7814

15 years agoUpdate PCRE to 7.8
Matthias Clasen [Sun, 18 Jan 2009 06:32:03 +0000 (06:32 +0000)]
Update PCRE to 7.8

svn path=/trunk/; revision=7813

15 years agoIf !ENABLE_NLS, make textomain() macro return "messages" in case of a NULL
Matthias Clasen [Sun, 18 Jan 2009 01:08:17 +0000 (01:08 +0000)]
If !ENABLE_NLS, make textomain() macro return "messages" in case of a NULL

        * glib/glibintl.h: If !ENABLE_NLS, make textomain() macro
        return "messages" in case of a NULL argument. Patch by
        Peter Kjellerstedt.

svn path=/trunk/; revision=7812

15 years agoUse offsetof instead of __builtin_offsetof, for icc's sake. Proposed by
Matthias Clasen [Sun, 18 Jan 2009 01:03:00 +0000 (01:03 +0000)]
Use offsetof instead of __builtin_offsetof, for icc's sake. Proposed by

        * glib/gmacros.h (G_STRUCT_OFFSETOF): Use offsetof instead of
        __builtin_offsetof, for icc's sake. Proposed by Hrvoje Niksic.

svn path=/trunk/; revision=7811

15 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sat, 17 Jan 2009 11:26:31 +0000 (11:26 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=7810

15 years agoUpdated Catalan translation
Gil Forcada Codinachs [Fri, 16 Jan 2009 14:27:36 +0000 (14:27 +0000)]
Updated Catalan translation

svn path=/trunk/; revision=7809

15 years agoAdded missing gio/gemblemedicon.c
Luca Ferretti [Wed, 14 Jan 2009 21:01:13 +0000 (21:01 +0000)]
Added missing gio/gemblemedicon.c

2009-01-14  Luca Ferretti  <elle.uca@libero.it>

* POTFILES.in: Added missing gio/gemblemedicon.c

svn path=/trunk/; revision=7808

15 years agoBug 564728 Add function to decode base64 encoded data in place
Matthias Clasen [Tue, 13 Jan 2009 19:59:32 +0000 (19:59 +0000)]
Bug 564728 Add function to decode base64 encoded data in place

2009-01-13  Matthias Clasen  <mclasen@redhat.com>

        Bug 564728 Add function to decode base64 encoded data in place

        * glib/glib.symbols:
        * glib/gbase64.[hc] (g_base64_decode_inplace): New convenience
        API to decode in place, overwriting the input string. Patch by
        Sebastian Dröge.

svn path=/trunk/; revision=7807

15 years agowin32/vs8/README New files. Mention this VS solution and projects are
Tor Lillqvist [Tue, 13 Jan 2009 12:13:55 +0000 (12:13 +0000)]
win32/vs8/README New files. Mention this VS solution and projects are

2009-01-13  Tor Lillqvist  <tml@novell.com>

* win32/vs8/README
* win32/vs9/README: New files. Mention this VS solution and
projects are experimental and that https://code.launchpad.net/oah
might be a better choice.

* win32/vs8/Makefile.am
* win32/vs9/Makefile.am (EXTRA_DIST): Add the READMEs and two
missing vcproj files.

svn path=/trunk/; revision=7806

15 years agoImprove docs
Matthias Clasen [Tue, 13 Jan 2009 02:24:46 +0000 (02:24 +0000)]
Improve docs

svn path=/trunk/; revision=7805

15 years agoGuard against a mis-written GOptionArgFunc that has returned FALSE but not
Tor Lillqvist [Mon, 12 Jan 2009 11:45:52 +0000 (11:45 +0000)]
Guard against a mis-written GOptionArgFunc that has returned FALSE but not

2009-01-12  Tor Lillqvist  <tml@novell.com>

* glib/goption.c (parse_arg): Guard against a mis-written
GOptionArgFunc that has returned FALSE but not set the GError.

svn path=/trunk/; revision=7804

15 years agoImprove docs
Matthias Clasen [Sun, 11 Jan 2009 04:58:25 +0000 (04:58 +0000)]
Improve docs

svn path=/trunk/; revision=7802

15 years agoDocs improvement
Matthias Clasen [Sun, 11 Jan 2009 04:53:34 +0000 (04:53 +0000)]
Docs improvement

svn path=/trunk/; revision=7801

15 years agoCosmetics.
Tor Lillqvist [Fri, 9 Jan 2009 10:39:00 +0000 (10:39 +0000)]
Cosmetics.

svn path=/trunk/; revision=7795

15 years agoBug 567138 - get_package_directory_from_module() does not free its lock
Tor Lillqvist [Fri, 9 Jan 2009 10:37:31 +0000 (10:37 +0000)]
Bug 567138 - get_package_directory_from_module() does not free its lock

2009-01-09  Tor Lillqvist  <tml@iki.fi>

Bug 567138 - get_package_directory_from_module() does not free its
lock when failing

* glib/gwin32.c (get_package_directory_from_module): Obvious fix.

svn path=/trunk/; revision=7794

15 years agoDon't assume filenames are UTF-8.
Matthias Clasen [Fri, 9 Jan 2009 05:19:17 +0000 (05:19 +0000)]
Don't assume filenames are UTF-8.

        * xdgmime/xdgmimecache.c:
        * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.

svn path=/trunk/; revision=7784

15 years agoMake tests work with current shared-mime-info
Matthias Clasen [Fri, 9 Jan 2009 04:53:14 +0000 (04:53 +0000)]
Make tests work with current shared-mime-info

svn path=/trunk/; revision=7783

15 years agoAdd a G_IO_ERROR_TOO_MANY_OPEN_FILES error code. Requested by Olivier
Matthias Clasen [Thu, 8 Jan 2009 01:32:15 +0000 (01:32 +0000)]
Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code. Requested by Olivier

        * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
        Requested by Olivier Sessink.

        * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.

        * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
        G_IO_ERROR_TOO_MANY_OPEN_FILES.

svn path=/trunk/; revision=7782

15 years agosv.po: Updated Swedish translation
Daniel Nylander [Thu, 8 Jan 2009 00:00:01 +0000 (00:00 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=7781

15 years agoUpdated Italian translation.
Luca Ferretti [Tue, 6 Jan 2009 12:01:43 +0000 (12:01 +0000)]
Updated Italian translation.

2009-01-06  Luca Ferretti  <elle.uca@libero.it>

* it.po: Updated Italian translation.

svn path=/trunk/; revision=7780

15 years agoBump version
Matthias Clasen [Mon, 5 Jan 2009 18:08:25 +0000 (18:08 +0000)]
Bump version

svn path=/trunk/; revision=7779

15 years ago2.19.4 GLIB_2_19_4
Matthias Clasen [Mon, 5 Jan 2009 18:06:05 +0000 (18:06 +0000)]
2.19.4

svn path=/trunk/; revision=7777

15 years agoUpdates
Matthias Clasen [Mon, 5 Jan 2009 16:58:09 +0000 (16:58 +0000)]
Updates

svn path=/trunk/; revision=7776

15 years agocast a "char **" to "const char **" to avoid a warning.
Dan Winship [Mon, 5 Jan 2009 16:57:55 +0000 (16:57 +0000)]
cast a "char **" to "const char **" to avoid a warning.

* gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
"const char **" to avoid a warning.

* gemblem.c (g_emblem_from_tokens):
* gemblemedicon.c (g_emblemed_icon_from_tokens):
* xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
variables

svn path=/trunk/; revision=7775

15 years agoTry using O_NOATIME when sniffing for mime types. Based on a patch by A.
Matthias Clasen [Mon, 5 Jan 2009 16:20:40 +0000 (16:20 +0000)]
Try using O_NOATIME when sniffing for mime types. Based on a patch by A.

        * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
        sniffing for mime types. Based on a patch by A. Walton

svn path=/trunk/; revision=7773

15 years agoupdate
Dan Winship [Mon, 5 Jan 2009 14:56:55 +0000 (14:56 +0000)]
update

* glib/tests/.gitignore: update

* tests/.gitignore: update, sort

* tests/gobject/.gitignore: add

svn path=/trunk/; revision=7772

15 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Mon, 5 Jan 2009 14:33:35 +0000 (14:33 +0000)]
Updated Norwegian bokmål translation.

2009-01-05  Kjartan Maraas  <kmaraas@gnome.org>

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

svn path=/trunk/; revision=7771

15 years agoBug 566348 - g_file_open_tmp uses the wrong g_mkstemp on win32
Tor Lillqvist [Mon, 5 Jan 2009 10:08:00 +0000 (10:08 +0000)]
Bug 566348 - g_file_open_tmp uses the wrong g_mkstemp on win32

2009-01-05  Tor Lillqvist  <tml@iki.fi>

Bug 566348 - g_file_open_tmp uses the wrong g_mkstemp on win32

* glib/gfileutils.c: Move the binary compatibility versions of
g_file_test(), g_file_get_contents(), g_mkstemp() and
g_file_open_tmp() last in the file. Remove the restriction that
the XXXXXX is last in the template in the binary compatibility
version of g_mkstemp(). Thanks to Morten Welinder and Jody
Goldberg.

svn path=/trunk/; revision=7770

15 years agoimprove add new simple-async-result test new file to test
Ryan Lortie [Mon, 5 Jan 2009 06:58:22 +0000 (06:58 +0000)]
improve add new simple-async-result test new file to test

2009-01-05  Ryan Lortie  <desrt@desrt.ca>

        * tests/.gitignore: improve
        * tests/Makefile.am: add new simple-async-result test
        * tests/simple-async-result.c: new file to test GSimpleAsyncResult

svn path=/trunk/; revision=7767

15 years agoAdd g_simple_async_result_is_valid(). Implementation by Dan Winship.
Ryan Lortie [Mon, 5 Jan 2009 06:57:16 +0000 (06:57 +0000)]
Add g_simple_async_result_is_valid(). Implementation by Dan Winship.

2009-01-05  Ryan Lortie  <desrt@desrt.ca>

        * gio.symbols:
        * ../docs/reference/gio/gio-sections.txt:
        * gsimpleasyncresult.h:
        * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
        Implementation by Dan Winship.  Closes #566170.

svn path=/trunk/; revision=7766

15 years agoUpdated Brazilian Portuguese translation.
Leonardo Ferreira Fontenelle [Mon, 5 Jan 2009 00:42:48 +0000 (00:42 +0000)]
Updated Brazilian Portuguese translation.

2009-01-04  Leonardo Ferreira Fontenelle  <leonardof@gnome.org>

* pt_BR.po: Updated Brazilian Portuguese translation.

svn path=/trunk/; revision=7765

15 years agoUpdate zh_CN.po
Lu Gan [Sun, 4 Jan 2009 15:27:20 +0000 (15:27 +0000)]
Update zh_CN.po

svn path=/trunk/; revision=7764

15 years agoUpdates
Matthias Clasen [Sat, 3 Jan 2009 07:30:26 +0000 (07:30 +0000)]
Updates

svn path=/trunk/; revision=7763

15 years agoAdd docs
Matthias Clasen [Sat, 3 Jan 2009 05:10:33 +0000 (05:10 +0000)]
Add docs

svn path=/trunk/; revision=7762

15 years agoMove docs inline
Matthias Clasen [Sat, 3 Jan 2009 04:15:17 +0000 (04:15 +0000)]
Move docs inline

svn path=/trunk/; revision=7761

15 years agoUse visibility attribute for new enough sun cc. Patch by Chris Wang
Matthias Clasen [Sat, 3 Jan 2009 01:00:38 +0000 (01:00 +0000)]
Use visibility attribute for new enough sun cc. Patch by Chris Wang

        * configure.in: Use visibility attribute for new enough sun cc.
        Patch by Chris Wang

svn path=/trunk/; revision=7760

15 years agoBug 565136 – Gobject's "notify" signal parameters are wrong in gtk-doc
Behdad Esfahbod [Fri, 2 Jan 2009 06:09:26 +0000 (06:09 +0000)]
Bug 565136 – Gobject's "notify" signal parameters are wrong in gtk-doc

2009-01-02  Behdad Esfahbod  <behdad@gnome.org>

        Bug 565136 – Gobject's "notify" signal parameters are wrong in gtk-doc
        Patch from  Andrzej Zaborowski

        * gobject.c (g_object_do_class_init): Fix param order in docs.

svn path=/trunk/; revision=7759

15 years agoFix a wrong reference in the docs, reported by Takeshi Aihana.
Matthias Clasen [Fri, 2 Jan 2009 02:49:06 +0000 (02:49 +0000)]
Fix a wrong reference in the docs, reported by Takeshi Aihana.

        * glib/goption.c: Fix a wrong reference in the docs, reported by
        Takeshi Aihana.

svn path=/trunk/; revision=7758

15 years agoFix an example.
Matthias Clasen [Fri, 2 Jan 2009 02:26:39 +0000 (02:26 +0000)]
Fix an example.

svn path=/trunk/; revision=7757

15 years agoAdd notes about being UNIX-specific
Matthias Clasen [Wed, 31 Dec 2008 07:47:19 +0000 (07:47 +0000)]
Add notes about being UNIX-specific

svn path=/trunk/; revision=7756