platform/upstream/glib.git
16 years agoFixed gtk-doc warnings by updating the documentation of various functions.
Wouter Bolsterlee [Wed, 30 Jan 2008 20:52:13 +0000 (20:52 +0000)]
Fixed gtk-doc warnings by updating the documentation of various functions.

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

* glib/gchecksum.c:
* glib/gtestutils.c:
* glib/gutils.c:

Fixed gtk-doc warnings by updating the documentation of
various functions.

svn path=/trunk/; revision=6429

16 years agoUpdated Portuguese translation.
Duarte Loreto [Wed, 30 Jan 2008 20:18:59 +0000 (20:18 +0000)]
Updated Portuguese translation.

2008-01-30  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated Portuguese translation.

svn path=/trunk/; revision=6428

16 years agoUpdated Occitan translation
Yannig MARCHEGAY [Wed, 30 Jan 2008 17:57:09 +0000 (17:57 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=6427

16 years agoUpdated Japanese translation.
Takeshi AIHANA [Wed, 30 Jan 2008 15:56:50 +0000 (15:56 +0000)]
Updated Japanese translation.

2008-01-30  Takeshi AIHANA <takeshi.aihana@gmail.com>

        * ja.po: Updated Japanese translation.

svn path=/trunk/; revision=6426

16 years agoUpdated Occitan translation
Yannig MARCHEGAY [Wed, 30 Jan 2008 14:37:44 +0000 (14:37 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=6425

16 years agoAdd doc comment about uris vs GFiles to g_app_info_launch()
Alexander Larsson [Wed, 30 Jan 2008 11:27:02 +0000 (11:27 +0000)]
Add doc comment about uris vs GFiles to g_app_info_launch()

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

        * gappinfo.c:
Add doc comment about uris vs GFiles to
g_app_info_launch()

        * gdesktopappinfo.c:
Ensure uris passed to g_app_info_launch_uris()
are not roundtriped through GFile (as that
may be slightly destructive for e.g. mailto: links)

svn path=/trunk/; revision=6424

16 years agoC89 fixes from Jens Granseuer (#512849)
Alexander Larsson [Wed, 30 Jan 2008 09:28:10 +0000 (09:28 +0000)]
C89 fixes from Jens Granseuer (#512849)

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

        * tests/data-input-stream.c:
        * tests/data-output-stream.c:
C89 fixes from Jens Granseuer (#512849)

svn path=/trunk/; revision=6423

16 years agoFix gamin/fam difference build issue. (#509419)
Alexander Larsson [Wed, 30 Jan 2008 09:14:58 +0000 (09:14 +0000)]
Fix gamin/fam difference build issue. (#509419)

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

* fam/fam-helper.c:
Fix gamin/fam difference build issue. (#509419)

svn path=/trunk/; revision=6422

16 years agoUpdated Occitan translation
Yannig MARCHEGAY [Tue, 29 Jan 2008 20:19:21 +0000 (20:19 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=6421

16 years agoUpdated Arabic Translation by Abou Manal.
Djihed Afifi [Tue, 29 Jan 2008 19:42:14 +0000 (19:42 +0000)]
Updated Arabic Translation by Abou Manal.

svn path=/trunk/; revision=6420

16 years agoG_GNUC_[PRETTY_]FUNCTION are deprecated since 2.16, not 2.14.
Christian Persch [Tue, 29 Jan 2008 18:04:23 +0000 (18:04 +0000)]
G_GNUC_[PRETTY_]FUNCTION are deprecated since 2.16, not 2.14.

2008-01-29  Christian Persch  <chpe@gnome.org>

* docs/reference/glib/tmpl/macros_misc.sgml: G_GNUC_[PRETTY_]FUNCTION
are deprecated since 2.16, not 2.14.

svn path=/trunk/; revision=6419

16 years agoAdd G_APP_INFO_CREATE_SUPPORTS_URIS flag
Alexander Larsson [Tue, 29 Jan 2008 15:47:27 +0000 (15:47 +0000)]
Add G_APP_INFO_CREATE_SUPPORTS_URIS flag

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

        * gappinfo.h:
        * gdesktopappinfo.c:
Add G_APP_INFO_CREATE_SUPPORTS_URIS flag

svn path=/trunk/; revision=6418

16 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Tue, 29 Jan 2008 15:40:56 +0000 (15:40 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=6417

16 years agogiomodule-priv.h include moved to .c file.
Alexander Larsson [Tue, 29 Jan 2008 15:11:54 +0000 (15:11 +0000)]
giomodule-priv.h include moved to .c file.

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

        * gdesktopappinfo.c:
        * gdesktopappinfo.h:
giomodule-priv.h include moved to .c file.

svn path=/trunk/; revision=6416

16 years agoRemove unused prio/name fields.
Alexander Larsson [Tue, 29 Jan 2008 15:04:50 +0000 (15:04 +0000)]
Remove unused prio/name fields.

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

* gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
Remove unused prio/name fields.

svn path=/trunk/; revision=6415

16 years agoDon't treat whitespace as control chars.
Alexander Larsson [Tue, 29 Jan 2008 14:19:46 +0000 (14:19 +0000)]
Don't treat whitespace as control chars.

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

* gcontenttype.c (looks_like_text):
Don't treat whitespace as control chars.

svn path=/trunk/; revision=6414

16 years agochanged size argument type from gulong to gsize as discussed on
14:58:31 Tim Janik [Tue, 29 Jan 2008 14:10:43 +0000 (14:10 +0000)]
changed size argument type from gulong to gsize as discussed on

2008-01-29 14:58:31  Tim Janik  <timj@imendio.com>

        * glib/gmem.[hc]: changed size argument type from gulong to gsize as
        discussed on gtk-devel-list:
          http://mail.gnome.org/archives/gtk-devel-list/2007-March/msg00062.html
        this should be ABI compatible on all platforms except win64 for which
        no ABI binding port exists yet.

svn path=/trunk/; revision=6413

16 years agoLazily create the desktop files for appinfos created by
Alexander Larsson [Tue, 29 Jan 2008 14:07:07 +0000 (14:07 +0000)]
Lazily create the desktop files for appinfos created by

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

        * gdesktopappinfo.c:
Lazily create the desktop files for appinfos created
by g_app_info_create_from_commandline() when needed
for mime associations. This allows run-time use
of GAppInfo object without creating unnecessary
files on disk.

svn path=/trunk/; revision=6412

16 years agoAdded new symbols to gio.symbols
Alexander Larsson [Tue, 29 Jan 2008 12:27:45 +0000 (12:27 +0000)]
Added new symbols to gio.symbols

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

        * gio.symbols:
Added new symbols to gio.symbols

svn path=/trunk/; revision=6411

16 years agoAdd docs
Alexander Larsson [Tue, 29 Jan 2008 12:23:24 +0000 (12:23 +0000)]
Add docs

svn path=/trunk/; revision=6410

16 years agoAdd g_file_query_default_handler utility to easily look up the GAppInfo
Alexander Larsson [Tue, 29 Jan 2008 12:18:48 +0000 (12:18 +0000)]
Add g_file_query_default_handler utility to easily look up the GAppInfo

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

        * gfile.[ch]:
        Add g_file_query_default_handler utility to easily look up
the GAppInfo that handles a file.

        * gdesktopappinfo.[ch]:
        * giomodule.c:
Set up an extension point for g_app_info_get_default_for_uri_scheme()

        * gvfs.c:
Remove unused function

svn path=/trunk/; revision=6409

16 years agoMention need to free returned value in g_file_enumerator_next_files_finish
Alexander Larsson [Tue, 29 Jan 2008 10:35:38 +0000 (10:35 +0000)]
Mention need to free returned value in g_file_enumerator_next_files_finish

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

        * gfileenumerator.c:
        Mention need to free returned value in
g_file_enumerator_next_files_finish docs.
Fix leak if g_file_enumerator_next_files_finish()
not called.

svn path=/trunk/; revision=6408

16 years agoUse list_parents, not get_parents from xdgmime, because the later doesn't
Alexander Larsson [Tue, 29 Jan 2008 10:20:49 +0000 (10:20 +0000)]
Use list_parents, not get_parents from xdgmime, because the later doesn't

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

        * gcontenttype.c:
        (_g_unix_content_type_get_parents):
Use list_parents, not get_parents from xdgmime, because
the later doesn't use the cache.

        * xdgmime/xdgmimecache.c:
        (_xdg_mime_cache_list_mime_parents):
Don't list the same type as parent multiple times.

svn path=/trunk/; revision=6407

16 years agoGrab thread_counter_pools LOCK when increasing leftover_task_counter.
Sebastian Wilhelmi [Tue, 29 Jan 2008 10:07:07 +0000 (10:07 +0000)]
Grab thread_counter_pools LOCK when increasing leftover_task_counter.

2008-01-29  Sebastian Wilhelmi  <wilhelmi@google.com>

* tests/threadpool-test.c (test_thread_pools): Grab
thread_counter_pools LOCK when increasing
leftover_task_counter. Fixes race in test. (#512624, Simon Murray)

svn path=/trunk/; revision=6406

16 years agoUpdated Italian translation.
Luca Ferretti [Tue, 29 Jan 2008 08:31:28 +0000 (08:31 +0000)]
Updated Italian translation.

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

* it.po: Updated Italian translation.

svn path=/trunk/; revision=6405

16 years agoBump version
Matthias Clasen [Tue, 29 Jan 2008 00:03:29 +0000 (00:03 +0000)]
Bump version

svn path=/trunk/; revision=6404

16 years ago2.15.4 GLIB_2_15_4
Matthias Clasen [Tue, 29 Jan 2008 00:00:31 +0000 (00:00 +0000)]
2.15.4

svn path=/trunk/; revision=6402

16 years agoRegister local vfs with prio 0.
Alexander Larsson [Mon, 28 Jan 2008 21:06:10 +0000 (21:06 +0000)]
Register local vfs with prio 0.

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

        * glocalvfs.c:
Register local vfs with prio 0.

        * gvfs.h:
Remove old name and prio class members

svn path=/trunk/; revision=6401

16 years agoDisable some tests
Matthias Clasen [Mon, 28 Jan 2008 19:46:18 +0000 (19:46 +0000)]
Disable some tests

svn path=/trunk/; revision=6400

16 years agoAdd registration hooks for extension points. Register the gio extension
Alexander Larsson [Mon, 28 Jan 2008 19:43:10 +0000 (19:43 +0000)]
Add registration hooks for extension points. Register the gio extension

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

        * giomodule.[ch]:
        * gio.symbols:
Add registration hooks for extension points.
Register the gio extension points.

        * fam/gfamdirectorymonitor.c:
        * fam/gfamfilemonitor.c:
        * glocaldirectorymonitor.[ch]:
        * glocalfilemonitor.[ch]:
        * gnativevolumemonitor.h:
        * gunionvolumemonitor.c:
        * gunixvolumemonitor.c:
        * gvfs.[ch]:
        * gvolumemonitor.h:
        * inotify/ginotifydirectorymonitor.c:
        * inotify/ginotifyfilemonitor.c:
Use the extension points registration instead
of g_type_children().

svn path=/trunk/; revision=6399

16 years agoDocument new api
Matthias Clasen [Mon, 28 Jan 2008 17:26:45 +0000 (17:26 +0000)]
Document new api

svn path=/trunk/; revision=6398

16 years agoDocument new api
Matthias Clasen [Mon, 28 Jan 2008 17:21:34 +0000 (17:21 +0000)]
Document new api

svn path=/trunk/; revision=6397

16 years agoFix docs
Matthias Clasen [Mon, 28 Jan 2008 17:09:26 +0000 (17:09 +0000)]
Fix docs

svn path=/trunk/; revision=6396

16 years agoUpdates
Matthias Clasen [Mon, 28 Jan 2008 16:23:29 +0000 (16:23 +0000)]
Updates

svn path=/trunk/; revision=6395

16 years agosv.po: Updated Swedish translation
Daniel Nylander [Mon, 28 Jan 2008 07:57:36 +0000 (07:57 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=6394

16 years agoCheck for gmtime_r. Use gmtime_r when available. (#511807, Sebastian
Matthias Clasen [Mon, 28 Jan 2008 06:27:28 +0000 (06:27 +0000)]
Check for gmtime_r. Use gmtime_r when available. (#511807, Sebastian

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

        * configure.in: Check for gmtime_r.
        * glib/gtimer.c: Use gmtime_r when available.  (#511807,
        Sebastian Dröge)

svn path=/trunk/; revision=6393

16 years agoMove docs inline. (#316260, Philippe Blain)
Matthias Clasen [Mon, 28 Jan 2008 04:50:12 +0000 (04:50 +0000)]
Move docs inline. (#316260, Philippe Blain)

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

        * glib/gnode.[hc]: Move docs inline.  (#316260, Philippe Blain)

svn path=/trunk/; revision=6392

16 years agoDocument limitations of this function. (#487909, Peter Moulder)
Matthias Clasen [Mon, 28 Jan 2008 03:15:23 +0000 (03:15 +0000)]
Document limitations of this function. (#487909, Peter Moulder)

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

        * glib/gutf8.c (g_utf8_strreverse): Document limitations
        of this function.  (#487909, Peter Moulder)

svn path=/trunk/; revision=6391

16 years agoRemoved unused variable is_main_group. (#512381, Wouter Bolsterlee)
Matthias Clasen [Sun, 27 Jan 2008 23:57:32 +0000 (23:57 +0000)]
Removed unused variable is_main_group. (#512381, Wouter Bolsterlee)

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

        * glib/goption.c: (group_list_has_visible_entries):
        Removed unused variable is_main_group.  (#512381,
        Wouter Bolsterlee)

svn path=/trunk/; revision=6390

16 years agoDeprecate G_GNUC_(PRETTY)_FUNCTION.
Matthias Clasen [Sun, 27 Jan 2008 23:42:33 +0000 (23:42 +0000)]
Deprecate G_GNUC_(PRETTY)_FUNCTION.

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

        * glib/gmacros.h: Deprecate G_GNUC_(PRETTY)_FUNCTION.

svn path=/trunk/; revision=6389

16 years agoRemove AC_CANONICAL_HOST from GLIB_WITH_NLS again. (#385132)
Matthias Clasen [Sun, 27 Jan 2008 23:01:43 +0000 (23:01 +0000)]
Remove AC_CANONICAL_HOST from GLIB_WITH_NLS again. (#385132)

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

        * m4macros/glib-gettext.m4: Remove AC_CANONICAL_HOST from
        GLIB_WITH_NLS again.  (#385132)

svn path=/trunk/; revision=6388

16 years agoFix the pcre Unicode test to work with LDFLAGS=-Wl,--as-needed. (#484261,
Matthias Clasen [Sun, 27 Jan 2008 22:49:25 +0000 (22:49 +0000)]
Fix the pcre Unicode test to work with LDFLAGS=-Wl,--as-needed. (#484261,

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

        * configure.in: Fix the pcre Unicode test to work with
        LDFLAGS=-Wl,--as-needed.  (#484261, Mark Lee)

svn path=/trunk/; revision=6387

16 years agoAvoid trivial differences in translatable strings
Matthias Clasen [Sun, 27 Jan 2008 21:58:53 +0000 (21:58 +0000)]
Avoid trivial differences in translatable strings

svn path=/trunk/; revision=6386

16 years agoUpdated Arabic Translation by Khaled Hosny.
Djihed Afifi [Sun, 27 Jan 2008 16:05:14 +0000 (16:05 +0000)]
Updated Arabic Translation by Khaled Hosny.

svn path=/trunk/; revision=6385

16 years agoReverted prev changes for be.po.
Ihar Hrachyshka [Sun, 27 Jan 2008 15:16:35 +0000 (15:16 +0000)]
Reverted prev changes for be.po.

svn path=/trunk/; revision=6384

16 years agoDocument that the new_etags output gchar* should be freed.
Murray Cumming [Sun, 27 Jan 2008 07:25:29 +0000 (07:25 +0000)]
Document that the new_etags output gchar* should be freed.

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

* gio/gfile.c: (g_file_replace_contents),
(g_file_replace_contents_finish): Document that the new_etags output
gchar* should be freed.

svn path=/trunk/; revision=6383

16 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sat, 26 Jan 2008 13:15:01 +0000 (13:15 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=6382

16 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Sat, 26 Jan 2008 12:00:31 +0000 (12:00 +0000)]
Updated Belarusian translation.

svn path=/trunk/; revision=6381

16 years agocs.po: Updated Czech translation.
Petr Kovář [Fri, 25 Jan 2008 20:46:21 +0000 (20:46 +0000)]
cs.po: Updated Czech translation.

svn path=/trunk/; revision=6380

16 years agoMake this build with gcc 3.4 (#509419)
Matthias Clasen [Fri, 25 Jan 2008 17:50:49 +0000 (17:50 +0000)]
Make this build with gcc 3.4 (#509419)

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

        * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
        build with gcc 3.4  (#509419)

svn path=/trunk/; revision=6378

16 years agoPass context down the implementation to check for the main_group. Bug
Loïc Minier [Fri, 25 Jan 2008 17:49:53 +0000 (17:49 +0000)]
Pass context down the implementation to check for the main_group. Bug

2008-01-25  Loïc Minier  <lool@dooz.org>

       * glib/goption.c: (group_has_visible_entries),
       (group_list_has_visible_entires), (g_option_context_get_help): Pass
       context down the implementation to check for the main_group.
       Bug #510292.
       * glib/tests/option-context.c:
       Don't set G_OPTION_FLAG_IN_MAIN in main_entries
       (group_captions): only create group when actually adding it to the
       context; add an exit(0) to make sure the test succeeds.

svn path=/trunk/; revision=6377

16 years agoDoc updates
Matthias Clasen [Fri, 25 Jan 2008 17:38:04 +0000 (17:38 +0000)]
Doc updates

svn path=/trunk/; revision=6376

16 years agoMake GIOSchedulerJobFunc return boolean Keep calling io jobs until they
Matthias Clasen [Fri, 25 Jan 2008 14:40:54 +0000 (14:40 +0000)]
Make GIOSchedulerJobFunc return boolean Keep calling io jobs until they

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

        * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
        * gioscheduler.c: Keep calling io jobs until they return FALSE;
        this allows big jobs to be executed in chunks, instead of blocking
        the main loop for a long time.

        * gsimpleasyncresult.c:
        * giofile.c: Adapt callers.

svn path=/trunk/; revision=6375

16 years agoImplement changes discussed on xdg list. Now we can add supported
Alexander Larsson [Fri, 25 Jan 2008 12:06:14 +0000 (12:06 +0000)]
Implement changes discussed on xdg list. Now we can add supported

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

        * gdesktopappinfo.c:
Implement changes discussed on xdg list.
Now we can add supported mimetypes by just using defaults.list
We can also remove associations in defaults.list.

svn path=/trunk/; revision=6374

16 years agosvn path=/trunk/; revision=6373
Maxim V. Dziumanenko [Fri, 25 Jan 2008 10:30:02 +0000 (10:30 +0000)]
svn path=/trunk/; revision=6373

svn path=/trunk/; revision=6373

16 years agoDon't make local copy of desktop file for mimetype changes if the file
Alexander Larsson [Fri, 25 Jan 2008 09:46:31 +0000 (09:46 +0000)]
Don't make local copy of desktop file for mimetype changes if the file

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

        * gdesktopappinfo.c:
Don't make local copy of desktop file
for mimetype changes if the file already
supports the new mimetype.

svn path=/trunk/; revision=6372

16 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Fri, 25 Jan 2008 07:22:40 +0000 (07:22 +0000)]
Updated Thai translation.

2008-01-25  Theppitak Karoonboonyanan  <thep@linux.thai.net>

* th.po: Updated Thai translation.

svn path=/trunk/; revision=6371

16 years agoString fixes
Matthias Clasen [Fri, 25 Jan 2008 06:10:29 +0000 (06:10 +0000)]
String fixes

svn path=/trunk/; revision=6370

16 years agoMore trash info
Matthias Clasen [Fri, 25 Jan 2008 04:16:48 +0000 (04:16 +0000)]
More trash info

svn path=/trunk/; revision=6369

16 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Fri, 25 Jan 2008 03:41:03 +0000 (03:41 +0000)]
Updated Thai translation.

2008-01-25  Theppitak Karoonboonyanan  <thep@linux.thai.net>

* th.po: Updated Thai translation.

svn path=/trunk/; revision=6368

16 years agoSimplify markup
Matthias Clasen [Fri, 25 Jan 2008 01:49:08 +0000 (01:49 +0000)]
Simplify markup

svn path=/trunk/; revision=6367

16 years agoExpand docs
Matthias Clasen [Fri, 25 Jan 2008 01:44:08 +0000 (01:44 +0000)]
Expand docs

svn path=/trunk/; revision=6366

16 years agoUpdated Galician Translation.
Ignacio Casal Quinteiro [Thu, 24 Jan 2008 21:28:18 +0000 (21:28 +0000)]
Updated Galician Translation.

svn path=/trunk/; revision=6365

16 years agoAdd g_drive_get_identifier and g_drive_enumerate_identifiers
Alexander Larsson [Thu, 24 Jan 2008 16:06:33 +0000 (16:06 +0000)]
Add g_drive_get_identifier and g_drive_enumerate_identifiers

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

        * gdrive.[ch]:
Add g_drive_get_identifier and
        g_drive_enumerate_identifiers

        * gvolume.[ch]:
        Add g_volume_get_identifier and
        g_volume_enumerate_identifiers

        * gio.symbols:
Add symbols

        * gunixvolume.c:
Implement identifiers for unix backend

svn path=/trunk/; revision=6364

16 years agoAdd g_file_copy_async() (#511580) Based on patch from Carlos Garcia Campos
Alexander Larsson [Thu, 24 Jan 2008 11:04:05 +0000 (11:04 +0000)]
Add g_file_copy_async() (#511580) Based on patch from Carlos Garcia Campos

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

        * gfile.[ch]:
        * gfile.h:
        * gio.symbols:
Add g_file_copy_async() (#511580)
Based on patch from Carlos Garcia Campos

svn path=/trunk/; revision=6363

16 years agoUpdates
Matthias Clasen [Thu, 24 Jan 2008 05:35:33 +0000 (05:35 +0000)]
Updates

svn path=/trunk/; revision=6362

16 years agoOnly declare variables at the beginning of a code block. Bug #511654.
Jens Granseuer [Wed, 23 Jan 2008 22:22:27 +0000 (22:22 +0000)]
Only declare variables at the beginning of a code block. Bug #511654.

2008-01-23  Jens Granseuer  <jensgr@gmx.net>

* glib/gtestutils.c: (g_test_trap_fork):
* glib/tests/testing.c: (test_assertions): Only declare variables at
the beginning of a code block. Bug #511654.

svn path=/trunk/; revision=6361

16 years agoUpdated Russian translation.
Vasiliy Faronov [Wed, 23 Jan 2008 22:03:31 +0000 (22:03 +0000)]
Updated Russian translation.

2008-01-24  Vasiliy Faronov <qvvx@yandex.ru>

* ru.po: Updated Russian translation.

svn path=/trunk/; revision=6360

16 years agoAdditions
Matthias Clasen [Wed, 23 Jan 2008 06:24:27 +0000 (06:24 +0000)]
Additions

svn path=/trunk/; revision=6359

16 years agoSome doc additions
Matthias Clasen [Wed, 23 Jan 2008 05:46:43 +0000 (05:46 +0000)]
Some doc additions

svn path=/trunk/; revision=6358

16 years agoUpdated Portuguese translation.
Duarte Loreto [Wed, 23 Jan 2008 01:48:03 +0000 (01:48 +0000)]
Updated Portuguese translation.

2008-01-23  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated Portuguese translation.

svn path=/trunk/; revision=6357

16 years agoDon't leak basename.
Alexander Larsson [Tue, 22 Jan 2008 16:16:32 +0000 (16:16 +0000)]
Don't leak basename.

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

        * gdesktopappinfo.c:
(g_desktop_app_info_new):
Don't leak basename.

svn path=/trunk/; revision=6356

16 years agoDon't leak GKeyFile
Alexander Larsson [Tue, 22 Jan 2008 14:15:51 +0000 (14:15 +0000)]
Don't leak GKeyFile

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

        * gdesktopappinfo.c:
        (g_desktop_app_info_new_from_filename):
Don't leak GKeyFile

svn path=/trunk/; revision=6355

16 years agoFix leak of uri
Alexander Larsson [Tue, 22 Jan 2008 13:24:48 +0000 (13:24 +0000)]
Fix leak of uri

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

* glocalfileinfo.c (get_thumbnail_attributes):
Fix leak of uri

svn path=/trunk/; revision=6354

16 years agoCanonicalize paths that start with more than two slashes.
Alexander Larsson [Tue, 22 Jan 2008 09:38:37 +0000 (09:38 +0000)]
Canonicalize paths that start with more than two slashes.

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

        * glocalfile.c:
        (canonicalize_filename):
Canonicalize paths that start with more than
two slashes.

        * tests/g-file.c:
        (compare_two_files):
        (test_g_file_new_for_path):
Test the above

svn path=/trunk/; revision=6353

16 years agoFix c++ comment
Alexander Larsson [Tue, 22 Jan 2008 09:19:58 +0000 (09:19 +0000)]
Fix c++ comment

svn path=/trunk/; revision=6352

16 years agoAllow UTF-8 in file:// parse names.
Alexander Larsson [Tue, 22 Jan 2008 09:13:28 +0000 (09:13 +0000)]
Allow UTF-8 in file:// parse names.

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

        * glocalfile.c:
Allow UTF-8 in file:// parse names.

        * tests/Makefile.am:
        * tests/data-input-stream.c:
        * tests/data-output-stream.c:
        * tests/g-file-info.c:
        * tests/g-file.c:
Added a bunch of tests from Tomas Bzatek

svn path=/trunk/; revision=6351

16 years agoUpdated French translation by Claude Paroz.
Stéphane Raimbault [Mon, 21 Jan 2008 21:48:58 +0000 (21:48 +0000)]
Updated French translation by Claude Paroz.

2008-01-21  Stéphane Raimbault  <stephane.raimbault@gmail.com>

* fr.po: Updated French translation by Claude Paroz.

svn path=/trunk/; revision=6350

16 years agoBump version
Matthias Clasen [Mon, 21 Jan 2008 18:09:53 +0000 (18:09 +0000)]
Bump version

svn path=/trunk/; revision=6349

16 years ago2.15.3 GLIB_2_15_3
Matthias Clasen [Mon, 21 Jan 2008 18:07:13 +0000 (18:07 +0000)]
2.15.3

svn path=/trunk/; revision=6347

16 years agoAdd the gio DLL to the runtime zipfile.
Tor Lillqvist [Mon, 21 Jan 2008 17:29:43 +0000 (17:29 +0000)]
Add the gio DLL to the runtime zipfile.

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

* glib-zip.in: Add the gio DLL to the runtime zipfile.

svn path=/trunk/; revision=6346

16 years agoFix syntax error.
Tor Lillqvist [Mon, 21 Jan 2008 17:26:08 +0000 (17:26 +0000)]
Fix syntax error.

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

* el.po: Fix syntax error.

svn path=/trunk/; revision=6345

16 years agoUpdates
Matthias Clasen [Mon, 21 Jan 2008 15:50:34 +0000 (15:50 +0000)]
Updates

svn path=/trunk/; revision=6344

16 years agoUpdated Greek translation
Kostas Papadimas [Mon, 21 Jan 2008 15:47:16 +0000 (15:47 +0000)]
Updated Greek translation

svn path=/trunk/; revision=6343

16 years agoRemove duplicated GSeekable functions. (#509990) Just use the
Alexander Larsson [Mon, 21 Jan 2008 15:11:56 +0000 (15:11 +0000)]
Remove duplicated GSeekable functions. (#509990) Just use the

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

        * gfileinputstream.[ch]:
        * gfileoutputstream.[ch]:
        * gio.symbols:
Remove duplicated GSeekable functions. (#509990)
Just use the g_seekable_xxx() calls instead.

svn path=/trunk/; revision=6342

16 years agoWhitespace cleanups.
Matthias Clasen [Mon, 21 Jan 2008 14:02:19 +0000 (14:02 +0000)]
Whitespace cleanups.

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

        * glocal*.c:
        * gvolumemanager.c: Whitespace cleanups.

        * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
        Use the right mode when creating the file.

svn path=/trunk/; revision=6341

16 years agoAccept -1 for the data length if the data is a null-terminated string. Bug
Murray Cumming [Mon, 21 Jan 2008 13:11:13 +0000 (13:11 +0000)]
Accept -1 for the data length if the data is a null-terminated string. Bug

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

        * glib/gchecksum.c: (g_checksum_update): Accept -1 for the data
        length if the data is a null-terminated string. Bug #510855.

svn path=/trunk/; revision=6340

16 years agoDocumentation: Fixed minor typos and added more mentions of specific
Murray Cumming [Mon, 21 Jan 2008 13:08:23 +0000 (13:08 +0000)]
Documentation: Fixed minor typos and added more mentions of specific

2008-01-21  Murray Cumming,,,  <murrayc@murrayc.com>

* gfileenumerator.c:
* gfileinputstream.c:
* ginputstream.c:
* goutputstream.c: Documentation: Fixed minor typos
and added more mentions of specific _finish() functions.

svn path=/trunk/; revision=6339

16 years agoRemoved. Removed. Removed the included copies of the inotify headers. We
Alexander Larsson [Mon, 21 Jan 2008 10:35:44 +0000 (10:35 +0000)]
Removed. Removed. Removed the included copies of the inotify headers. We

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

        * inotify/Makefile.am:
        * inotify/inotify-helper.c:
        * inotify/inotify-kernel.c:
        * inotify/inotify-path.c:
        * inotify/local_inotify.h: Removed.
        * inotify/local_inotify_syscalls.h: Removed.
Removed the included copies of the inotify
headers. We now only use the <sys/inotify.h>
header which exists on modern systems.
This fixes problems on ARM and SH5 (#510448)
but is also generally much cleaner and future
safe. For instance, if other OSes add support
for inotify it should "just work".

svn path=/trunk/; revision=6338

16 years agoCoding style fixes
Matthias Clasen [Mon, 21 Jan 2008 05:12:16 +0000 (05:12 +0000)]
Coding style fixes

svn path=/trunk/; revision=6337

16 years agoDocumentation updates
Matthias Clasen [Mon, 21 Jan 2008 03:49:20 +0000 (03:49 +0000)]
Documentation updates

svn path=/trunk/; revision=6336

16 years agodocumentation: Fixed more minor typos.
Murray Cumming [Sun, 20 Jan 2008 17:42:35 +0000 (17:42 +0000)]
documentation: Fixed more minor typos.

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

* gfile.c: documentation: Fixed more minor
typos.

svn path=/trunk/; revision=6335

16 years agodocumentation: Mention g_mount_remount_finish() instead of
Murray Cumming [Fri, 18 Jan 2008 18:16:28 +0000 (18:16 +0000)]
documentation: Mention g_mount_remount_finish() instead of

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

* gmount.c: (g_mount_remount): documentation:
Mention g_mount_remount_finish() instead of
g_mount_unmount_finish().

svn path=/trunk/; revision=6334

16 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

16 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

16 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

16 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

16 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

16 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

16 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