platform/upstream/glib.git
15 years agoRemove accidentally commited spew
Alexander Larsson [Mon, 23 Feb 2009 15:12:39 +0000 (15:12 +0000)]
Remove accidentally commited spew

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

* glocalfile.c:
Remove accidentally commited spew

svn path=/trunk/; revision=7903

15 years agosanity check the input paramter.
Paolo Borelli [Mon, 23 Feb 2009 14:38:20 +0000 (14:38 +0000)]
sanity check the input paramter.

2009-02-23  Paolo Borelli  <pborelli@katamail.com>

* glib/gutf8.c (_g_utf8_make_valid):
sanity check the input paramter.

svn path=/trunk/; revision=7902

15 years agoUpdated Finnish translation
Ilkka Tuohela [Mon, 23 Feb 2009 13:48:37 +0000 (13:48 +0000)]
Updated Finnish translation

svn path=/trunk/; revision=7901

15 years agoUpdated Dutch translation by Wouter Bolsterlee.
Wouter Bolsterlee [Mon, 23 Feb 2009 13:08:32 +0000 (13:08 +0000)]
Updated Dutch translation by Wouter Bolsterlee.

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

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

svn path=/trunk/; revision=7900

15 years agoBug 570501 - g_win32_get_system_data_dirs uses invalid conversion of
Tor Lillqvist [Mon, 23 Feb 2009 09:52:48 +0000 (09:52 +0000)]
Bug 570501 - g_win32_get_system_data_dirs uses invalid conversion of

2009-02-23  Tor Lillqvist  <tml@novell.com>

Bug 570501 - g_win32_get_system_data_dirs uses invalid conversion
of function pointer to object pointer

* glib/gutils.c (g_win32_get_system_data_dirs_for_module): Change
the type of the function's parameter to be explicitly a function
pointer.

* glib/gutils.h (_g_win32_get_system_data_dirs): Modify
declaration and the only caller, the inline
_g_win32_get_system_data_dirs(), accordingly. Add comments
pointing out these are internal GLib functions.

svn path=/trunk/; revision=7899

15 years agoFix "it's" vs "its" confusion throughout the source. Patch by Will
Matthias Clasen [Mon, 23 Feb 2009 04:30:06 +0000 (04:30 +0000)]
Fix "it's" vs "its" confusion throughout the source. Patch by Will

        * Fix "it's" vs "its" confusion throughout the source. Patch
        by Will Thompson.

svn path=/trunk/; revision=7897

15 years agoImprove docs
Matthias Clasen [Mon, 23 Feb 2009 04:23:14 +0000 (04:23 +0000)]
Improve docs

svn path=/trunk/; revision=7896

15 years agoAdd a necessary cast back. Pointed out by Kazuki Iwamoto.
Matthias Clasen [Mon, 23 Feb 2009 04:07:58 +0000 (04:07 +0000)]
Add a necessary cast back. Pointed out by Kazuki Iwamoto.

        * glib/gthread.c (g_once_init_leave): Add a necessary cast back.
        Pointed out by Kazuki Iwamoto.

svn path=/trunk/; revision=7895

15 years agoUpdated Turkish Translation
Baris Cicek [Sat, 21 Feb 2009 13:54:19 +0000 (13:54 +0000)]
Updated Turkish Translation

svn path=/trunk/; revision=7894

15 years agoFixed two fuzzy
Jonh Wendell S. Santana [Fri, 20 Feb 2009 18:58:31 +0000 (18:58 +0000)]
Fixed two fuzzy

svn path=/trunk/; revision=7893

15 years agoDon't ever sniff desktop files when the filename is known. In other words,
Alexander Larsson [Fri, 20 Feb 2009 07:46:57 +0000 (07:46 +0000)]
Don't ever sniff desktop files when the filename is known. In other words,

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

        * gcontenttype.c:
        (g_content_type_guess):
Don't ever sniff desktop files when the filename is known.
In other words, only allow desktop files with the .desktop extension
and when the filename isn't known.
This is a security precaution since desktop files can execute
arbitrary code when launched and we don't want to allow them to
try and hide as another type. There is no legit reason to not
have the .desktop extension anyway.

svn path=/trunk/; revision=7892

15 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Fri, 20 Feb 2009 05:08:39 +0000 (05:08 +0000)]
Updated Thai translation.

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

* th.po: Updated Thai translation.

svn path=/trunk/; revision=7891

15 years agosv.po: Updated Swedish translation
Daniel Nylander [Thu, 19 Feb 2009 20:37:31 +0000 (20:37 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=7890

15 years agoUpdated Catalan translation
Gil Forcada Codinachs [Thu, 19 Feb 2009 19:28:30 +0000 (19:28 +0000)]
Updated Catalan translation

svn path=/trunk/; revision=7889

15 years agoUpdated Basque translation.
Inaki Larranaga Murgoitio [Thu, 19 Feb 2009 17:47:19 +0000 (17:47 +0000)]
Updated Basque translation.

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

* eu.po: Updated Basque translation.

svn path=/trunk/; revision=7888

15 years agoupdate gitignore
Ryan Lortie [Thu, 19 Feb 2009 17:26:29 +0000 (17:26 +0000)]
update gitignore

svn path=/trunk/; revision=7887

15 years ago8 spaces -> tab in ChangeLog
Ryan Lortie [Thu, 19 Feb 2009 17:25:54 +0000 (17:25 +0000)]
8 spaces -> tab in ChangeLog

svn path=/trunk/; revision=7886

15 years agoBug 549298 – impossible to copy files with p (pipe) flag
Alexander Larsson [Thu, 19 Feb 2009 15:26:32 +0000 (15:26 +0000)]
Bug 549298 – impossible to copy files with p (pipe) flag

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

        Bug 549298 – impossible to copy files with p (pipe) flag

        * gfile.c:
        (file_copy_fallback):
Error out if the source file is a special file

svn path=/trunk/; revision=7885

15 years agoUpdated Catalan translation
Gil Forcada Codinachs [Thu, 19 Feb 2009 13:22:54 +0000 (13:22 +0000)]
Updated Catalan translation

svn path=/trunk/; revision=7884

15 years agoTranslation updated.
Gabor Kelemen [Thu, 19 Feb 2009 13:08:40 +0000 (13:08 +0000)]
Translation updated.

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

* hu.po: Translation updated.

svn path=/trunk/; revision=7883

15 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Thu, 19 Feb 2009 09:15:43 +0000 (09:15 +0000)]
Updated Thai translation.

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

* th.po: Updated Thai translation.

svn path=/trunk/; revision=7882

15 years agoUpdated Finnish translation
Ilkka Tuohela [Wed, 18 Feb 2009 15:16:05 +0000 (15:16 +0000)]
Updated Finnish translation

svn path=/trunk/; revision=7881

15 years agoBug 560564 – Replacing a symlink with its linked file truncates the
Alexander Larsson [Wed, 18 Feb 2009 14:49:25 +0000 (14:49 +0000)]
Bug 560564 – Replacing a symlink with its linked file truncates the

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

Bug 560564 – Replacing a symlink with its linked file truncates the original file

        * gioenums.h:
Add G_FILE_CREATE_REPLACE_DESTINATION

        * glocalfileoutputstream.c:
        (handle_overwrite_open):
        (_g_local_file_output_stream_replace):
Handle G_FILE_CREATE_REPLACE_DESTINATION when overwriting files.

        * gfile.c:
        (file_copy_fallback):
Pass G_FILE_CREATE_REPLACE_DESTINATION to g_file_replace when copying
with overwrite.

svn path=/trunk/; revision=7880

15 years agounref the destination's attribute matcher before overwriting it.
Ryan Lortie [Tue, 17 Feb 2009 23:36:13 +0000 (23:36 +0000)]
unref the destination's attribute matcher before overwriting it.

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

        * gfileinfo.c: unref the destination's attribute matcher before
        overwriting it.

svn path=/trunk/; revision=7879

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