dana/cg-glib.git
18 years agodon't define __GNUC_PREREQ which is not in the glib namespace. for gcc,
16:51:23 Tim Janik [Fri, 18 Jan 2008 15:51:49 +0000 (15:51 +0000)]
don't define __GNUC_PREREQ which is not in the glib namespace. for gcc,

2008-01-18 16:51:23  Tim Janik  <timj@imendio.com>

        * glib/gutils.h: don't define __GNUC_PREREQ which is not in the glib
        namespace. for gcc, define G_INLINE_FUNC to "static inline" as with
        all other C compilers, because newer GCC versions incompatibly
        changed "extern inline" semantics.

svn path=/trunk/; revision=6333

18 years agoFixed some minor typos in the documentation.
Murray Cumming [Fri, 18 Jan 2008 09:41:46 +0000 (09:41 +0000)]
Fixed some minor typos in the documentation.

2008-01-18  Murray Cumming  <murrayc@murrayc.com>

* glib/gfileutils.c:
* glib/gsequence.c:
* glib/gstring.c: Fixed some minor typos in the documentation.

svn path=/trunk/; revision=6332

18 years agoFixed some minor typos in the documentation.
Murray Cumming [Fri, 18 Jan 2008 09:41:09 +0000 (09:41 +0000)]
Fixed some minor typos in the documentation.

2008-01-18  Murray Cumming  <murrayc@murrayc.com>

* gappinfo.c:
* gcancellable.c:
* gfile.c: Fixed some minor typos in the
documentation.

svn path=/trunk/; revision=6331

18 years agoDocumentation: Clarify the ownership of the regurn GLists.
Murray Cumming [Thu, 17 Jan 2008 23:43:31 +0000 (23:43 +0000)]
Documentation: Clarify the ownership of the regurn GLists.

2008-01-18  Murray Cumming  <murrayc@murrayc.com>

* gio/gvolumemonitor.c:
(g_volume_monitor_get_connected_drives):
(g_volume_monitor_get_volumes):
(g_volume_monitor_get_mounts): Documentation:
Clarify the ownership of the regurn GLists.

svn path=/trunk/; revision=6330

18 years agoUpdated Ukrainian translation.
Maxim Dziumanenko [Thu, 17 Jan 2008 16:28:52 +0000 (16:28 +0000)]
Updated Ukrainian translation.

2008-01-17  Maxim Dziumanenko <dziumanenko@gmail.com>

        * uk.po: Updated Ukrainian translation.

svn path=/trunk/; revision=6329

18 years agoUpdated zh_CN translation
Yang Zhang [Thu, 17 Jan 2008 15:17:03 +0000 (15:17 +0000)]
Updated zh_CN translation

svn path=/trunk/; revision=6328

18 years agoUpdated zh_CN translation from manphiz
Yang Zhang [Thu, 17 Jan 2008 14:58:19 +0000 (14:58 +0000)]
Updated zh_CN translation from manphiz

svn path=/trunk/; revision=6327

18 years agoAdd the async find_enclosing_mount version to the header file too.
Alexander Larsson [Thu, 17 Jan 2008 14:30:07 +0000 (14:30 +0000)]
Add the async find_enclosing_mount version to the header file too.

2008-01-17  Alexander Larsson  <alexl@redhat.com>

        * gfile.h:
Add the async find_enclosing_mount version
to the header file too.

svn path=/trunk/; revision=6326

18 years agoAdd async version of find_enclosing_mount with default implementation.
Alexander Larsson [Thu, 17 Jan 2008 14:22:13 +0000 (14:22 +0000)]
Add async version of find_enclosing_mount with default implementation.

2008-01-17  Alexander Larsson  <alexl@redhat.com>

        * gfile.c:
Add async version of find_enclosing_mount
with default implementation.

svn path=/trunk/; revision=6325

18 years agoAllow calls to implementation of copy and write even if the type of the
Alexander Larsson [Thu, 17 Jan 2008 10:57:48 +0000 (10:57 +0000)]
Allow calls to implementation of copy and write even if the type of the

2008-01-17  Alexander Larsson  <alexl@redhat.com>

        * gfile.c:
        (g_file_copy):
        (g_file_move):
Allow calls to implementation of copy and write
even if the type of the file implementations is
different. This can be used to implement native
upload and download calls in a vfs.

        * glocalfile.c:
        (g_local_file_move):
Protect against the case where move is called
with one file not being local.

Make sure we call the progress callback once
in the native move operation so that the caller
knows how many bytes were copied.

svn path=/trunk/; revision=6324

18 years agoFix another bug (which doesn't affect the results, but may cause it to
Dan Winship [Wed, 16 Jan 2008 21:28:04 +0000 (21:28 +0000)]
Fix another bug (which doesn't affect the results, but may cause it to

* glib/gchecksum.c (md5_sum_update): Fix another bug (which
doesn't affect the results, but may cause it to read bad memory).

svn path=/trunk/; revision=6323

18 years agoCorrected some typos in the documentation: occured -> occurred. its ->
Murray Cumming [Wed, 16 Jan 2008 20:00:23 +0000 (20:00 +0000)]
Corrected some typos in the documentation: occured -> occurred. its ->

2008-01-16  Murray Cumming  <murrayc@murrayc.com>

* gappinfo.c:
* gdatainputstream.c:
* gfile.c:
* gfileoutputstream.c:
* ginputstream.c:
* gmount.c:
* goutputstream.c:
* gseekable.c:
* gunixmounts.c: Corrected some typos in the documentation:
occured -> occurred.
its -> it's (where appropriate).

svn path=/trunk/; revision=6322

18 years agoUpdated Basque translation.
Inaki Larranaga Murgoitio [Wed, 16 Jan 2008 17:58:17 +0000 (17:58 +0000)]
Updated Basque translation.

2008-01-16  Inaki Larranaga Murgoitio  <dooteo@euskalgnu.org>

* eu.po: Updated Basque translation.

svn path=/trunk/; revision=6321

18 years agoUpdated Marathi translations
Rahul Bhalerao [Wed, 16 Jan 2008 14:44:14 +0000 (14:44 +0000)]
Updated Marathi translations

svn path=/trunk/; revision=6320

18 years agoAdd g_file_query_exists (#508771)
Alexander Larsson [Wed, 16 Jan 2008 10:11:26 +0000 (10:11 +0000)]
Add g_file_query_exists (#508771)

2008-01-16  Alexander Larsson  <alexl@redhat.com>

        * gfile.[ch]:
        * gio.symbols:
        Add g_file_query_exists (#508771)

svn path=/trunk/; revision=6319

18 years agoFor async functions that have no non-async version, document that the
Murray Cumming [Tue, 15 Jan 2008 14:08:41 +0000 (14:08 +0000)]
For async functions that have no non-async version, document that the

2008-01-15  Murray Cumming  <murrayc@murrayc.com>

* gdrive.c:
* gfile.c:
* gmount.c:
* gvolume.c: For async functions that have no non-async
version, document that the GAsyncReadyCallback may be NULL.
Bug #509626.

svn path=/trunk/; revision=6318

18 years agoClarify docs for g_uri_unescape_string() (#508773)
Alexander Larsson [Tue, 15 Jan 2008 13:09:07 +0000 (13:09 +0000)]
Clarify docs for g_uri_unescape_string() (#508773)

2008-01-15  Alexander Larsson  <alexl@redhat.com>

        * glib/gurifuncs.c:
Clarify docs for g_uri_unescape_string() (#508773)

svn path=/trunk/; revision=6317

18 years agoDon't do pointer arithmetic on void * (#508602) Patch from Kazuki IWAMOTO
Alexander Larsson [Tue, 15 Jan 2008 11:47:04 +0000 (11:47 +0000)]
Don't do pointer arithmetic on void * (#508602) Patch from Kazuki IWAMOTO

2008-01-15  Alexander Larsson  <alexl@redhat.com>

        * gmemoryinputstream.c:
        * gmemoryoutputstream.c:
Don't do pointer arithmetic on void * (#508602)
Patch from Kazuki IWAMOTO

svn path=/trunk/; revision=6316

18 years agoSupport gio in AM_PATH_GLIB_2_0 (#509465)
Dan Winship [Tue, 15 Jan 2008 10:12:58 +0000 (10:12 +0000)]
Support gio in AM_PATH_GLIB_2_0 (#509465)

2008-01-14  Dan Winship  <danw@gnome.org>

* m4macros/glib-2.0.m4: Support gio in AM_PATH_GLIB_2_0 (#509465)

svn path=/trunk/; revision=6315

18 years agofix this; the previous code gave the wrong md5sum when called in certain
Dan Winship [Tue, 15 Jan 2008 06:21:58 +0000 (06:21 +0000)]
fix this; the previous code gave the wrong md5sum when called in certain

* glib/gchecksum.c (md5_sum_update): fix this; the previous code
gave the wrong md5sum when called in certain ways with buffers
larger than 64 bytes.
(g_checksum_update): remove the unnecessary "length > 1"
restriction

* tests/checksum-test.c: Rewrite this to be much more exhaustive
(and in particular to test the md5_sum_update bugfix).

svn path=/trunk/; revision=6314

18 years agosv.po: Swedish translation updated
Daniel Nylander [Tue, 15 Jan 2008 00:58:57 +0000 (00:58 +0000)]
sv.po: Swedish translation updated

svn path=/trunk/; revision=6313

18 years agoBump version
Matthias Clasen [Mon, 14 Jan 2008 17:13:07 +0000 (17:13 +0000)]
Bump version

svn path=/trunk/; revision=6312

18 years ago2.15.2
Matthias Clasen [Mon, 14 Jan 2008 16:43:59 +0000 (16:43 +0000)]
2.15.2

svn path=/trunk/; revision=6310

18 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Mon, 14 Jan 2008 16:16:27 +0000 (16:16 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=6309

18 years agoUpdates
Matthias Clasen [Mon, 14 Jan 2008 15:12:21 +0000 (15:12 +0000)]
Updates

svn path=/trunk/; revision=6308

18 years agoDon't set error here, since we fallback to polling monitor.
Alexander Larsson [Mon, 14 Jan 2008 15:04:25 +0000 (15:04 +0000)]
Don't set error here, since we fallback to polling monitor.

2008-01-14  Alexander Larsson  <alexl@redhat.com>

* gfile.c (g_file_monitor_file):
Don't set error here, since we fallback to polling monitor.

svn path=/trunk/; revision=6307

18 years agoAdd GError to file monitor calls
Alexander Larsson [Mon, 14 Jan 2008 15:00:31 +0000 (15:00 +0000)]
Add GError to file monitor calls

2008-01-14  Alexander Larsson  <alexl@redhat.com>

        * gfile.[ch]:
        (g_file_monitor_directory):
        (g_file_monitor_file):
Add GError to file monitor calls

        * glocaldirectorymonitor.c:
        * glocaldirectorymonitor.h:
        * glocalfile.c:
        * glocalfilemonitor.c:
        * glocalfilemonitor.h:
        * gunixmounts.c:
Update for above change

svn path=/trunk/; revision=6306

18 years agoHandle root correctly in g_file_get_relative_path (#508719)
Alexander Larsson [Mon, 14 Jan 2008 14:55:27 +0000 (14:55 +0000)]
Handle root correctly in g_file_get_relative_path (#508719)

2008-01-14  Alexander Larsson  <alexl@redhat.com>

        * glocalfile.c:
        (match_prefix):
Handle root correctly in g_file_get_relative_path (#508719)

svn path=/trunk/; revision=6305

18 years agoClarify docs for g_uri_escape_string (#508773)
Alexander Larsson [Mon, 14 Jan 2008 14:39:28 +0000 (14:39 +0000)]
Clarify docs for g_uri_escape_string (#508773)

2008-01-14  Alexander Larsson  <alexl@redhat.com>

        * glib/gurifuncs.c:
Clarify docs for g_uri_escape_string (#508773)

svn path=/trunk/; revision=6304

18 years agoClean up docs and example for GAsyncResult (#508074)
Alexander Larsson [Mon, 14 Jan 2008 14:12:48 +0000 (14:12 +0000)]
Clean up docs and example for GAsyncResult (#508074)

2008-01-14  Alexander Larsson  <alexl@redhat.com>

        * gasyncresult.c:
Clean up docs and example for GAsyncResult (#508074)

svn path=/trunk/; revision=6303

18 years agoUpdated Italian translation.
Luca Ferretti [Sun, 13 Jan 2008 11:53:24 +0000 (11:53 +0000)]
Updated Italian translation.

2008-01-13  Luca Ferretti  <elle.uca@libero.it>

* it.po: Updated Italian translation.

svn path=/trunk/; revision=6302

18 years agoUpdated Arabic Translation by Djihed Afifi.
Djihed Afifi [Sat, 12 Jan 2008 22:03:10 +0000 (22:03 +0000)]
Updated Arabic Translation by Djihed Afifi.

svn path=/trunk/; revision=6301

18 years agoUpdated Turkish Translation
Baris Cicek [Sat, 12 Jan 2008 14:10:53 +0000 (14:10 +0000)]
Updated Turkish Translation

svn path=/trunk/; revision=6300

18 years agoUpdated Korean translation.
Changwoo Ryu [Sat, 12 Jan 2008 14:09:26 +0000 (14:09 +0000)]
Updated Korean translation.

svn path=/trunk/; revision=6299

18 years agoALL_LINGUAS: remove line breaks from previous commit to get damned-lies
Andre Klapper [Sat, 12 Jan 2008 13:33:22 +0000 (13:33 +0000)]
ALL_LINGUAS: remove line breaks from previous commit to get damned-lies

2008-01-12  Andre Klapper  <a9016009@gmx.de>

* configure.in: ALL_LINGUAS: remove line breaks from previous
commit to get damned-lies stats correct again. Add Sinhala (si).

svn path=/trunk/; revision=6298

18 years agoFixed copyright and credit for Asbjoern Pettersen.
Tim Janik [Fri, 11 Jan 2008 16:59:44 +0000 (16:59 +0000)]
Fixed copyright and credit for Asbjoern Pettersen.

svn path=/trunk/; revision=6297

18 years agohook up testutils docs
Matthias Clasen [Fri, 11 Jan 2008 16:44:15 +0000 (16:44 +0000)]
hook up testutils docs

svn path=/trunk/; revision=6296

18 years agoClarify the sentence about GAsyncReadyCallback, and correct some spelling
Murray Cumming [Fri, 11 Jan 2008 16:23:30 +0000 (16:23 +0000)]
Clarify the sentence about GAsyncReadyCallback, and correct some spelling

2008-01-11  Murray Cumming  <murrayc@murrayc.com>

* gfile.c: Clarify the sentence about GAsyncReadyCallback,
and correct some spelling mistakes. Bug #508108.

svn path=/trunk/; revision=6295

18 years agoAdd a comment
Matthias Clasen [Fri, 11 Jan 2008 14:36:31 +0000 (14:36 +0000)]
Add a comment

svn path=/trunk/; revision=6294

18 years agoGFileInfo description: Mention how to actually set attributes in a GFile
Murray Cumming [Fri, 11 Jan 2008 14:15:07 +0000 (14:15 +0000)]
GFileInfo description: Mention how to actually set attributes in a GFile

2008-01-10  Murray Cumming  <murrayc@murrayc.com>

        * gfileinfo.c: GFileInfo description: Mention
        how to actually set attributes in a GFile and how to discover
        which attributes are settable. Bug #508378.

svn path=/trunk/; revision=6293

18 years agoadded g_base64_encode()/g_base64_decode() test case by Asbjoern
12:55:19 Tim Janik [Fri, 11 Jan 2008 11:57:15 +0000 (11:57 +0000)]
added g_base64_encode()/g_base64_decode() test case by Asbjoern

2008-01-11 12:55:19  Tim Janik  <timj@imendio.com>

        * tests/testingbase64.c: added g_base64_encode()/g_base64_decode()
        test case by Asbjoern <asbgpe@online.no>. fixed up coding style.

svn path=/trunk/; revision=6292

18 years agouse mv/sed/rm on a temporary file instead of "sed -i" which is not
09:00:28 Tim Janik [Fri, 11 Jan 2008 08:01:44 +0000 (08:01 +0000)]
use mv/sed/rm on a temporary file instead of "sed -i" which is not

2008-01-11 09:00:28  Tim Janik  <timj@imendio.com>

        * glib/Makefile.am (install-exec-hook): use mv/sed/rm on a temporary
        file instead of "sed -i" which is not portable enough.

svn path=/trunk/; revision=6291

18 years agoCheck for NULL content types.
A. Walton [Thu, 10 Jan 2008 13:25:41 +0000 (13:25 +0000)]
Check for NULL content types.

2008-01-10  A. Walton  <awalton@svn.gnome.org>

* gdesktopappinfo.c: (g_app_info_get_all_for_type),
(g_app_info_get_default_for_type):
Check for NULL content types.

svn path=/trunk/; revision=6290

18 years agoadd rpc_pipefs to systemfs list (#508309).
Frederic Crozat [Thu, 10 Jan 2008 09:55:35 +0000 (09:55 +0000)]
add rpc_pipefs to systemfs list (#508309).

2008-01-10  Frederic Crozat  <fcrozat@mandriva.com>

        * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).

svn path=/trunk/; revision=6289

18 years agoupdated hebrew translation
Yair Hershkovitz [Wed, 9 Jan 2008 17:41:37 +0000 (17:41 +0000)]
updated hebrew translation

svn path=/trunk/; revision=6288

18 years ago*_async() functions: Several small corrections to the documentation,
Murray Cumming [Wed, 9 Jan 2008 17:04:06 +0000 (17:04 +0000)]
*_async() functions: Several small corrections to the documentation,

2008-01-09  Murray Cumming  <murrayc@murrayc.com>

* gfile.c: *_async() functions: Several small corrections
to the documentation, mostly correcting copy/paste errors
and improving some sentences.

svn path=/trunk/; revision=6287

18 years agox86_64 fix
Dan Winship [Wed, 9 Jan 2008 16:39:42 +0000 (16:39 +0000)]
x86_64 fix

* glocalfile.c (get_unique_filename): x86_64 fix

svn path=/trunk/; revision=6286

18 years agoAdd g_unix_mount_guess_should_display and use for unix volume monitor
Alexander Larsson [Wed, 9 Jan 2008 15:45:56 +0000 (15:45 +0000)]
Add g_unix_mount_guess_should_display and use for unix volume monitor

2008-01-09  Alexander Larsson  <alexl@redhat.com>

        * gio.symbols:
        * gunixmount.c:
        * gunixmounts.[ch]:
Add g_unix_mount_guess_should_display and use
for unix volume monitor backend.
This means we more or less show what the
gnome-vfs backend did.
Based on patch from Padraig O'Briain

svn path=/trunk/; revision=6285

18 years agoAdd g_themed_icon_new_with_default_fallbacks
Alexander Larsson [Wed, 9 Jan 2008 15:20:49 +0000 (15:20 +0000)]
Add g_themed_icon_new_with_default_fallbacks

2008-01-09  Alexander Larsson  <alexl@redhat.com>

        * gio.symbols:
        * gthemedicon.[ch]:
        Add g_themed_icon_new_with_default_fallbacks

        * gunixmounts.c:
Use default fallbacks for icons

svn path=/trunk/; revision=6284

18 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Wed, 9 Jan 2008 14:57:03 +0000 (14:57 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=6283

18 years agoChange the API a bit so that unhandled methods get reported via the reply,
Alexander Larsson [Wed, 9 Jan 2008 14:43:41 +0000 (14:43 +0000)]
Change the API a bit so that unhandled methods get reported via the reply,

2008-01-09  Alexander Larsson  <alexl@redhat.com>

        * gio-marshal.list:
        * gmountoperation.[ch]:
Change the API a bit so that unhandled methods
get reported via the reply, rather than by
the signal emission return value. This is because
some handlers can't know this immediately without
doing I/O, and this is an async operation that
should not block.

svn path=/trunk/; revision=6282

18 years agoFix double free crash (#508224) Patch from Joe Marcus Clarke
Alexander Larsson [Wed, 9 Jan 2008 08:08:43 +0000 (08:08 +0000)]
Fix double free crash (#508224) Patch from Joe Marcus Clarke

2008-01-09  Alexander Larsson  <alexl@redhat.com>

        * fam/fam-helper.c:
        * fam/gfamdirectorymonitor.c:
        * fam/gfamfilemonitor.c:
Fix double free crash (#508224)
Patch from Joe Marcus Clarke

svn path=/trunk/; revision=6281

18 years agoAdd gio/gio.h include to check for c++ problems.
Alexander Larsson [Tue, 8 Jan 2008 20:37:43 +0000 (20:37 +0000)]
Add gio/gio.h include to check for c++ problems.

2008-01-08  Alexander Larsson  <alexl@redhat.com>

* tests/cxx-test.C:
Add gio/gio.h include to check for c++ problems.

svn path=/trunk/; revision=6280

18 years agoRemove GDirectoryMonitor refernces
Alexander Larsson [Tue, 8 Jan 2008 09:11:15 +0000 (09:11 +0000)]
Remove GDirectoryMonitor refernces

2008-01-08  Alexander Larsson  <alexl@redhat.com>

        * gio/gio-docs.xml:
        * gio/migrating.xml:
Remove GDirectoryMonitor refernces

svn path=/trunk/; revision=6278

18 years agobump version
Matthias Clasen [Mon, 7 Jan 2008 17:00:01 +0000 (17:00 +0000)]
bump version

svn path=/trunk/; revision=6269

18 years ago2.15.1
Matthias Clasen [Mon, 7 Jan 2008 16:47:36 +0000 (16:47 +0000)]
2.15.1

svn path=/trunk/; revision=6267

18 years agoremove deleted file gio/gdirectorymonitor.c
Luca Ferretti [Mon, 7 Jan 2008 14:38:35 +0000 (14:38 +0000)]
remove deleted file gio/gdirectorymonitor.c

2008-01-07  Luca Ferretti  <elle.uca@libero.it>

* POTFILES.in: remove deleted file gio/gdirectorymonitor.c

* it.po: Updated Italian translation.

svn path=/trunk/; revision=6266

18 years agoUpdates
Matthias Clasen [Mon, 7 Jan 2008 14:09:12 +0000 (14:09 +0000)]
Updates

svn path=/trunk/; revision=6265

18 years agoFix warning (#507835)
Alexander Larsson [Mon, 7 Jan 2008 13:58:37 +0000 (13:58 +0000)]
Fix warning (#507835)

2008-01-07  Alexander Larsson  <alexl@redhat.com>

* gunixinputstream.c (g_unix_input_stream_skip_finish):
Fix warning (#507835)

svn path=/trunk/; revision=6264

18 years agoPass --internal to glib-genmarshal
Alexander Larsson [Mon, 7 Jan 2008 13:56:10 +0000 (13:56 +0000)]
Pass --internal to glib-genmarshal

2008-01-07  Alexander Larsson  <alexl@redhat.com>

        * Makefile.am:
Pass --internal to glib-genmarshal

        * gfilemonitor.c:
        * gmountoperation.c:
        * gio-marshal.list:
Use better types for signal arguments (#507822)

svn path=/trunk/; revision=6263

18 years agoBuild test subdir after . Remove gdirectorymonitor.[ch]
Alexander Larsson [Mon, 7 Jan 2008 13:42:08 +0000 (13:42 +0000)]
Build test subdir after . Remove gdirectorymonitor.[ch]

2008-01-07  Alexander Larsson  <alexl@redhat.com>

        * Makefile.am:
Build test subdir after .
Remove gdirectorymonitor.[ch]

        * gdirectorymonitor.[ch]:
        * gfilemonitor.c:
        * gfile.[ch]:
        * gio.h:
Remove GDirectoryMonitor and make
GFileMonitor the baseclass for both file and
directory monitors. Lift the more generic
rate limiting code from GDirectoryMonitor
into GFileMonitor.

        * fam/fam-helper.c:
        * fam/gfamdirectorymonitor.[ch]:
        * inotify/ginotifydirectorymonitor.[ch]:
        * inotify/inotify-helper.c:
        * glocaldirectorymonitor.[ch]:
        * glocalfile.c:
        * gvolumemonitor.c:
Update for the removed GDirectoryMonitor.

        * gmemoryoutputstream.c:
Remove ununsed variable

svn path=/trunk/; revision=6262

18 years agoTranslation updated by Ivar Smolin
Priit Laes [Mon, 7 Jan 2008 11:09:26 +0000 (11:09 +0000)]
Translation updated by Ivar Smolin

2008-01-07  Priit Laes  <plaes at svn dot gnome dot org>

* et.po: Translation updated by Ivar Smolin

svn path=/trunk/; revision=6261

18 years agoTranslate error strings
Alexander Larsson [Mon, 7 Jan 2008 10:11:57 +0000 (10:11 +0000)]
Translate error strings

2008-01-07  Alexander Larsson  <alexl@redhat.com>

        * gmemoryinputstream.c:
Translate error strings

        * gio.symbols:
        * gmemoryoutputstream.[ch]:
New implementation that avoids using GByteArray
in implementation and API. (#506377)

svn path=/trunk/; revision=6260

18 years agoAdd gio/test/Makefile to AC_CONFIG_FILES
Alexander Larsson [Mon, 7 Jan 2008 08:57:29 +0000 (08:57 +0000)]
Add gio/test/Makefile to AC_CONFIG_FILES

2008-01-07  Alexander Larsson  <alexl@redhat.com>

* configure.in:
Add gio/test/Makefile to AC_CONFIG_FILES

svn path=/trunk/; revision=6259

18 years agoUpdates
Matthias Clasen [Mon, 7 Jan 2008 06:19:27 +0000 (06:19 +0000)]
Updates

svn path=/trunk/; revision=6258

18 years agoAdd some tests
Matthias Clasen [Mon, 7 Jan 2008 06:14:40 +0000 (06:14 +0000)]
Add some tests

svn path=/trunk/; revision=6257

18 years agoMark strings for translation.
Matthias Clasen [Mon, 7 Jan 2008 05:18:17 +0000 (05:18 +0000)]
Mark strings for translation.

svn path=/trunk/; revision=6256

18 years agoAdd a translator comment (#503051, Pedro de Medeiros)
Matthias Clasen [Mon, 7 Jan 2008 03:39:41 +0000 (03:39 +0000)]
Add a translator comment (#503051, Pedro de Medeiros)

2008-01-06  Matthias Clasen  <mclasen@redhat.com>

        * glib/gregex.c: Add a translator comment (#503051,
        Pedro de Medeiros)

svn path=/trunk/; revision=6255

18 years agoCope with gcc 4.3 changed 'extern inline' semantics. (#315437, patch by
Matthias Clasen [Mon, 7 Jan 2008 03:08:37 +0000 (03:08 +0000)]
Cope with gcc 4.3 changed 'extern inline' semantics. (#315437, patch by

2008-01-06  Matthias Clasen  <mclasen@redhat.com>

        * glib/gutils.h: Cope with gcc 4.3 changed 'extern inline'
        semantics.  (#315437, patch by Loïc Minier)

svn path=/trunk/; revision=6254

18 years agoFix fdwalk on OS X
Matthias Clasen [Sun, 6 Jan 2008 23:12:24 +0000 (23:12 +0000)]
Fix fdwalk on OS X

svn path=/trunk/; revision=6253

18 years agoDocument new dependencies
Matthias Clasen [Sun, 6 Jan 2008 17:48:41 +0000 (17:48 +0000)]
Document new dependencies

svn path=/trunk/; revision=6252

18 years agoRequire glib-2.0
Matthias Clasen [Sun, 6 Jan 2008 17:18:52 +0000 (17:18 +0000)]
Require glib-2.0

svn path=/trunk/; revision=6251

18 years agoupdated hebrew translation
Yair Hershkovitz [Sun, 6 Jan 2008 16:28:46 +0000 (16:28 +0000)]
updated hebrew translation

svn path=/trunk/; revision=6250

18 years agoSmall doc addition
Matthias Clasen [Sun, 6 Jan 2008 08:06:52 +0000 (08:06 +0000)]
Small doc addition

svn path=/trunk/; revision=6249

18 years agoUpdates
Matthias Clasen [Sun, 6 Jan 2008 08:04:57 +0000 (08:04 +0000)]
Updates

svn path=/trunk/; revision=6248

18 years agoDocumentation additions
Matthias Clasen [Sun, 6 Jan 2008 08:04:39 +0000 (08:04 +0000)]
Documentation additions

svn path=/trunk/; revision=6247

18 years agoUpdated Belarusian Latin translation.
Ihar Hrachyshka [Sun, 6 Jan 2008 00:19:52 +0000 (00:19 +0000)]
Updated Belarusian Latin translation.

svn path=/trunk/; revision=6246

18 years agoupdating for Punjabi
Amanpreet Singh Alam [Sat, 5 Jan 2008 17:44:59 +0000 (17:44 +0000)]
updating for Punjabi

svn path=/trunk/; revision=6245

18 years agoUse the right type (uint) for the ask_password signal.
Alexander Larsson [Fri, 4 Jan 2008 15:19:36 +0000 (15:19 +0000)]
Use the right type (uint) for the ask_password signal.

2008-01-04  Alexander Larsson  <alexl@redhat.com>

        * gio-marshal.list:
        * gmountoperation.c:
Use the right type (uint) for the ask_password signal.

svn path=/trunk/; revision=6244

18 years agoResolve 64 bit-shift bug in g_markup_collect_attributes.
Mathias Hasselmann [Fri, 4 Jan 2008 12:40:03 +0000 (12:40 +0000)]
Resolve 64 bit-shift bug in g_markup_collect_attributes.
Spotted by Lieven van der Heide.

* glib/gmarkup.c: Use G_GUINT64_CONSTANT in bit-shift.

svn path=/trunk/; revision=6243

18 years agoAdd g_app_info_supports_files() Remove desktop arg from
Alexander Larsson [Fri, 4 Jan 2008 10:51:56 +0000 (10:51 +0000)]
Add g_app_info_supports_files() Remove desktop arg from

2008-01-04  Alexander Larsson  <alexl@redhat.com>

        * gappinfo.[ch]:
        * gwin32appinfo.c:
        * gio.symbols:
Add g_app_info_supports_files()
        Remove desktop arg from g_app_info_should_show().

        * gdesktopappinfo.[ch]:
Implement g_app_info_supports_files() and new should_show()
Add g_desktop_app_info_set_desktop_env() to set the desktop
for should_show(). (This will be set by gtk+ later)

svn path=/trunk/; revision=6242

18 years agoImprove API so that you can use multile chunks of memory and custom
Alexander Larsson [Fri, 4 Jan 2008 10:17:57 +0000 (10:17 +0000)]
Improve API so that you can use multile chunks of memory and custom

2008-01-04  Alexander Larsson  <alexl@redhat.com>

        * gio.symbols:
        * gmemoryinputstream.[ch]:
Improve API so that you can use multile chunks
of memory and custom destroy functions. (#506374)

svn path=/trunk/; revision=6241

18 years agoUpdated Vietnamese translation
Clytie Siddall [Fri, 4 Jan 2008 08:12:36 +0000 (08:12 +0000)]
Updated Vietnamese translation

svn path=/trunk/; revision=6240

18 years ago2008-01-04 vi.po Updated Vietnamese translation
Clytie Siddall [Fri, 4 Jan 2008 08:00:23 +0000 (08:00 +0000)]
2008-01-04    vi.po    Updated Vietnamese translation

Clytie Siddall <clytie@riverland.net.au>

svn path=/trunk/; revision=6239

18 years agoHandle NULL attribute matchers safely, as we return this for empty
Alexander Larsson [Thu, 3 Jan 2008 14:58:53 +0000 (14:58 +0000)]
Handle NULL attribute matchers safely, as we return this for empty

2008-01-03  Alexander Larsson  <alexl@redhat.com>

        * gfileinfo.c:
Handle NULL attribute matchers safely, as we return this
for empty attribute matcher strings.

svn path=/trunk/; revision=6238

18 years agoAdd /usr/local to list of internal mountpoints
Alexander Larsson [Thu, 3 Jan 2008 10:29:29 +0000 (10:29 +0000)]
Add /usr/local to list of internal mountpoints

2008-01-03  Alexander Larsson  <alexl@redhat.com>

* gunixmounts.c (g_unix_is_mount_path_system_internal):
Add /usr/local to list of internal mountpoints

svn path=/trunk/; revision=6237

18 years agoCheck for HAVE_LCHOWN (#505887)
Alexander Larsson [Thu, 3 Jan 2008 09:13:39 +0000 (09:13 +0000)]
Check for HAVE_LCHOWN (#505887)

2008-01-03  Alexander Larsson  <alexl@redhat.com>

        * glocalfileinfo.c:
Check for HAVE_LCHOWN (#505887)

svn path=/trunk/; revision=6236

18 years agoAdd define for selinux context attribute. Fix missing : -> :: namespace
Alexander Larsson [Thu, 3 Jan 2008 09:01:00 +0000 (09:01 +0000)]
Add define for selinux context attribute. Fix missing : -> :: namespace

2008-01-03  Alexander Larsson  <alexl@redhat.com>

        * gfileinfo.h:
        * glocalfileinfo.c:
Add define for selinux context attribute.
Fix missing : -> :: namespace separator change
Fix missing _ -> - name change for xattr-sys.
(#505058)

svn path=/trunk/; revision=6235

18 years agoLink to libglib and libgobject directly (#504879) Patch from Sebastien
Alexander Larsson [Thu, 3 Jan 2008 08:56:51 +0000 (08:56 +0000)]
Link to libglib and libgobject directly (#504879) Patch from Sebastien

2008-01-03  Alexander Larsson  <alexl@redhat.com>

        * fam/Makefile.am:
Link to libglib and libgobject directly (#504879)
Patch from Sebastien Bacher

svn path=/trunk/; revision=6234

18 years agoThese void functions were trying to return a value. It was causing the
Alvaro Lopez Ortega [Wed, 2 Jan 2008 16:22:25 +0000 (16:22 +0000)]
These void functions were trying to return a value. It was causing the

2008-01-02  Alvaro Lopez Ortega  <alvaro@sun.com>

        * gio/gunixmount.c (g_unix_mount_unmount, g_unix_mount_eject):
        These void functions were trying to return a value. It was causing
        the compilation to fail.

svn path=/trunk/; revision=6232

18 years agosv.po: Swedish translation updated
Daniel Nylander [Wed, 2 Jan 2008 12:03:45 +0000 (12:03 +0000)]
sv.po: Swedish translation updated

svn path=/trunk/; revision=6231

18 years agoThese functions prototype defines its output as void, and therefore they
Alvaro Lopez Ortega [Wed, 2 Jan 2008 11:54:08 +0000 (11:54 +0000)]
These functions prototype defines its output as void, and therefore they

2008-01-02  Alvaro Lopez Ortega  <alvaro@sun.com>

       * glib/ghash.c (g_hash_table_replace, g_hash_table_insert): These
       functions prototype defines its output as void, and therefore they
       should not return any value. This patch fixes a compilation error:
       the "return" clauses were incompatible with the functions prototype.

svn path=/trunk/; revision=6230

18 years agoExpanded the g_file_new_for_commandline_arg description a bit, based on
Wouter Bolsterlee [Tue, 1 Jan 2008 14:39:51 +0000 (14:39 +0000)]
Expanded the g_file_new_for_commandline_arg description a bit, based on

2008-01-01  Wouter Bolsterlee  <wbolster@svn.gnome.org>

* gfile.c: Expanded the g_file_new_for_commandline_arg
description a bit, based on the code and the docs of the
other g_file_new_for_* functions.

svn path=/trunk/; revision=6229

18 years agoUpdated Occitan translation
Yannig MARCHEGAY [Tue, 1 Jan 2008 09:19:47 +0000 (09:19 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=6228

18 years agoRemove C99 comments
Matthias Clasen [Tue, 1 Jan 2008 04:13:26 +0000 (04:13 +0000)]
Remove C99 comments

svn path=/trunk/; revision=6227

18 years agoUpdated Occitan translation
Yannig MARCHEGAY [Mon, 31 Dec 2007 21:54:47 +0000 (21:54 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=6226

18 years agoFixed typo in docs.
Wouter Bolsterlee [Mon, 31 Dec 2007 12:11:13 +0000 (12:11 +0000)]
Fixed typo in docs.

2007-12-31  Wouter Bolsterlee  <wbolster@svn.gnome.org>

* gfilemonitor.h: Fixed typo in docs.

svn path=/trunk/; revision=6225

18 years agoFixed invalid XML entity
Wouter Bolsterlee [Mon, 31 Dec 2007 11:59:09 +0000 (11:59 +0000)]
Fixed invalid XML entity

2007-12-31  Wouter Bolsterlee  <wbolster@svn.gnome.org>

* gio/migrating.xml: Fixed invalid XML entity

svn path=/trunk/; revision=6224

18 years agoFixed typo
Wouter Bolsterlee [Mon, 31 Dec 2007 11:35:35 +0000 (11:35 +0000)]
Fixed typo

2007-12-31  Wouter Bolsterlee  <wbolster@svn.gnome.org>

* glib/tmpl/macros_misc.sgml: Fixed typo

svn path=/trunk/; revision=6223

18 years agoUpdates to GIO documentation. (#506395, Mikael Hermansson)
Mathias Hasselmann [Mon, 31 Dec 2007 10:00:52 +0000 (10:00 +0000)]
Updates to GIO documentation. (#506395, Mikael Hermansson)

* gcontenttype.c: Describe memory management for return value of
g_content_types_get_registered(). Missing piece from #505815.
* gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
GVolume, GDrive, GMounts, which hopefully gives the user less
confusions when using this API. Following explainations from
Alexander Larsson on gtk-devel-list.

svn path=/trunk/; revision=6222