Matthias Clasen [Mon, 11 Feb 2008 07:12:56 +0000 (07:12 +0000)]
Documentation additions
svn path=/trunk/; revision=6492
Matthias Clasen [Sun, 10 Feb 2008 05:22:39 +0000 (05:22 +0000)]
Check for getmntent_r
svn path=/trunk/; revision=6491
Matthias Clasen [Sun, 10 Feb 2008 05:20:00 +0000 (05:20 +0000)]
Consistently use getmntent_r() and fall back to getmntent(). (#515492)
2008-02-09 Matthias Clasen <mclasen@redhat.com>
* gunixmounts.c: Consistently use getmntent_r() and fall
back to getmntent(). (#515492)
svn path=/trunk/; revision=6490
Matthias Clasen [Sun, 10 Feb 2008 04:54:25 +0000 (04:54 +0000)]
Fix a mismerge
svn path=/trunk/; revision=6489
Philip Withnall [Sun, 10 Feb 2008 04:48:31 +0000 (04:48 +0000)]
Improve the documentation for the G_MODULE_EXPORT macro. (#514470)
2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
* glib/tmpl/modules.sgml: Improve the documentation for
the G_MODULE_EXPORT macro. (#514470)
svn path=/trunk/; revision=6488
Matthias Clasen [Sun, 10 Feb 2008 04:41:25 +0000 (04:41 +0000)]
/bin/ksh can't handle a for-loop with no arguments, so add a "." for when
2008-02-09 Matthias Clasen <mclasen@redhat.com>
* Makefile.decl: /bin/ksh can't handle a for-loop with no
arguments, so add a "." for when $(SUBDIRS) is empty.
* glib/tests/option-context.c:
* glib/tests/testing.c:
* gthread/gthread-posix.c:
* tets/testingbase64.c:
* glib/gtester.c:
* glib/gsequence.c: Portability fixes. (#515154)
svn path=/trunk/; revision=6487
Matthias Clasen [Sun, 10 Feb 2008 04:26:54 +0000 (04:26 +0000)]
Doc improvement
svn path=/trunk/; revision=6486
Inaki Larranaga Murgoitio [Fri, 8 Feb 2008 16:42:26 +0000 (16:42 +0000)]
Updated Basque translation.
2008-02-08 Inaki Larranaga Murgoitio <dooteo@euskalgnu.org>
* eu.po: Updated Basque translation.
svn path=/trunk/; revision=6485
Alexander Larsson [Fri, 8 Feb 2008 16:12:55 +0000 (16:12 +0000)]
Add g_volume_should_automount. Docs needed.
2008-02-08 Alexander Larsson <alexl@redhat.com>
* gio.symbols:
* gunixvolume.c:
* gvolume.[ch]:
Add g_volume_should_automount.
Docs needed.
svn path=/trunk/; revision=6484
Gil Forcada Codinachs [Thu, 7 Feb 2008 16:29:09 +0000 (16:29 +0000)]
Updated Catalan translation
svn path=/trunk/; revision=6483
Tor Lillqvist [Thu, 7 Feb 2008 13:07:19 +0000 (13:07 +0000)]
Unfortunately the mingw implementations of C99-style snprintf and
2008-02-07 Tor Lillqvist <tml@novell.com>
* configure.in: Unfortunately the mingw implementations of
C99-style snprintf and vsnprintf don't seem to be quite good
enough, at least not in mingw-runtime-3.14. I don't know exactly
what the problem is, but it is related to floating point
formatting and decimal point vs. comma, and the symptoms show up
in some dialogs in GIMP, presumably also elsewhere. The simple
tests in AC_FUNC_VSNPRINTF_C99 and AC_FUNC_SNPRINTF_C99 aren't
rigorous enough to notice, though. So preset
ac_cv_func_vsnprintf_c99 and ac_cv_func_snprintf_c99 to "no".
svn path=/trunk/; revision=6482
12:58:54 Tim Janik [Thu, 7 Feb 2008 12:00:34 +0000 (12:00 +0000)]
fixed build order to build gobject after gmodule gthread so gobject tests
2008-02-07 12:58:54 Tim Janik <timj@imendio.com>
* Makefile.am: fixed build order to build gobject after gmodule gthread
so gobject tests can be threaded.
svn path=/trunk/; revision=6480
Tim Janik [Thu, 7 Feb 2008 10:26:00 +0000 (10:26 +0000)]
Fixed typo spotted by Xan.
svn path=/trunk/; revision=6479
Tor Lillqvist [Thu, 7 Feb 2008 09:56:25 +0000 (09:56 +0000)]
live-g-file won't build on Windows, too Unix-specific.
2008-02-07 Tor Lillqvist <tml@novell.com>
* tests/Makefile.am (TEST_PROGS): live-g-file won't build on
Windows, too Unix-specific.
svn path=/trunk/; revision=6478
Changwoo Ryu [Thu, 7 Feb 2008 08:33:26 +0000 (08:33 +0000)]
Updated Korean translation.
svn path=/trunk/; revision=6477
Ryan Lortie [Thu, 7 Feb 2008 07:13:39 +0000 (07:13 +0000)]
add for(;;); after the g_log call so that GCC stops issuing false warnings
2008-02-07 Ryan Lortie <desrt@desrt.ca>
* glib/gmessages.h (g_error): add for(;;); after the g_log call so
that GCC stops issuing false warnings about reachability Bug #514920
svn path=/trunk/; revision=6476
Matthias Clasen [Thu, 7 Feb 2008 04:51:56 +0000 (04:51 +0000)]
Update to PCRE 7.6
svn path=/trunk/; revision=6470
Behdad Esfahbod [Wed, 6 Feb 2008 17:36:06 +0000 (17:36 +0000)]
Skip g_bit_*(). Inline functions may end up with a local plt if the
2008-02-06 Behdad Esfahbod <behdad@gnome.org>
* pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
a local plt if the compiler doesn't support what we want. Bug #514702
svn path=/trunk/; revision=6469
Behdad Esfahbod [Wed, 6 Feb 2008 17:35:25 +0000 (17:35 +0000)]
Skip g_bit_*(). Inline functions may end up with a local plt if the
2008-02-06 Behdad Esfahbod <behdad@gnome.org>
* glib/pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
a local plt if the compiler doesn't support what we want. Bug #514702
svn path=/trunk/; revision=6468
Murray Cumming [Wed, 6 Feb 2008 16:02:20 +0000 (16:02 +0000)]
Fixed some minor typos in documentation.
2008-02-06 Murray Cumming <murrayc@murrayc.com>
* glib/gconvert.c:
* glib/pcre/pcre_internal.h: Fixed some minor typos in documentation.
svn path=/trunk/; revision=6467
Christian Persch [Wed, 6 Feb 2008 15:10:08 +0000 (15:10 +0000)]
Save errno before calling other funcs that potentially alter it. Bug
* gio/gdesktopappinfo.c: (ensure_dir):
* gio/glocalfile.c: (g_local_file_query_filesystem_info),
(g_local_file_read), (g_local_file_delete), (g_local_file_trash),
(g_local_file_move):
* gio/glocalfileinfo.c: (set_xattr), (_g_local_file_info_get),
(_g_local_file_info_get_from_fd), (set_unix_mode),
(set_unix_uid_gid), (set_symlink), (set_mtime_atime):
* gio/glocalfileinputstream.c: (g_local_file_input_stream_read),
(g_local_file_input_stream_skip),
(g_local_file_input_stream_close),
(g_local_file_input_stream_seek):
* gio/glocalfileoutputstream.c:
(g_local_file_output_stream_write),
(g_local_file_output_stream_close),
(g_local_file_output_stream_seek),
(g_local_file_output_stream_truncate), (copy_file_data),
(handle_overwrite_open):
* gio/gunixinputstream.c: (g_unix_input_stream_read),
(g_unix_input_stream_close), (read_async_cb), (close_async_cb):
* gio/gunixoutputstream.c: (g_unix_output_stream_write),
(g_unix_output_stream_close), (write_async_cb), (close_async_cb):
Save
errno before calling other funcs that potentially alter it. Bug
#514766.
svn path=/trunk/; revision=6466
Tomas Bzatek [Wed, 6 Feb 2008 13:52:07 +0000 (13:52 +0000)]
New GIO testing module working over real data
2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
* tests/Makefile.am:
* tests/live-g-file.c:
* tests/live-g-file.txt:
New GIO testing module working over real data
svn path=/trunk/; revision=6465
Tomas Bzatek [Wed, 6 Feb 2008 13:45:26 +0000 (13:45 +0000)]
Fallback to rename() if link() is not available (when no support on target
2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
* glocalfileoutputstream.c (g_local_file_output_stream_close):
Fallback to rename() if link() is not available
(when no support on target filesystem)
svn path=/trunk/; revision=6464
Michael Natterer [Wed, 6 Feb 2008 13:22:57 +0000 (13:22 +0000)]
replace "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2008-02-06 Michael Natterer <mitch@imendio.com>
* gfileinfo.c (g_file_info_get_icon): replace
"icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
svn path=/trunk/; revision=6463
Tomas Bzatek [Wed, 6 Feb 2008 12:59:49 +0000 (12:59 +0000)]
Documentation update of error codes
2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
* gfile.c (g_file_create):
Documentation update of error codes
svn path=/trunk/; revision=6462
Alexander Larsson [Wed, 6 Feb 2008 10:57:27 +0000 (10:57 +0000)]
Update to use both mimeapps.list and defaults.list as discussed on xdg
2008-02-06 Alexander Larsson <alexl@redhat.com>
* gdesktopappinfo.c:
Update to use both mimeapps.list and
defaults.list as discussed on xdg list.
svn path=/trunk/; revision=6461
Benjamin Otte [Wed, 6 Feb 2008 10:26:53 +0000 (10:26 +0000)]
Fix some typos in the documentation.
2008-02-06 Benjamin Otte <otte@gnome.org>
* gasyncresult.c:
* gfilenamecompleter.c:
Fix some typos in the documentation.
svn path=/trunk/; revision=6460
Alexander Larsson [Wed, 6 Feb 2008 10:06:54 +0000 (10:06 +0000)]
Don't succeed with trash if newly created trash dir has the wrong owner.
2008-02-06 Alexander Larsson <alexl@redhat.com>
* glocalfile.c (g_local_file_trash):
Don't succeed with trash if newly created
trash dir has the wrong owner. (#514696)
svn path=/trunk/; revision=6459
Djihed Afifi [Wed, 6 Feb 2008 09:42:17 +0000 (09:42 +0000)]
Updated Arabic Translation by Khaled Hosny.
svn path=/trunk/; revision=6458
Benjamin Otte [Wed, 6 Feb 2008 09:36:47 +0000 (09:36 +0000)]
make GParamGType require the set type during construction instead of using
* gparamspecs.c: (param_gtype_set_default), (param_gtype_validate):
make GParamGType require the set type during construction instead of
using G_TYPE_NONE, which causes issues when setting.
Bug 513073 - g_param_spec_gtype breaks with G_PARAM_CONSTRUCT
svn path=/trunk/; revision=6457
Theppitak Karoonboonyanan [Wed, 6 Feb 2008 09:00:07 +0000 (09:00 +0000)]
Updated Thai translation.
2008-02-06 Theppitak Karoonboonyanan <thep@linux.thai.net>
* th.po: Updated Thai translation.
svn path=/trunk/; revision=6456
Matthias Clasen [Wed, 6 Feb 2008 02:59:47 +0000 (02:59 +0000)]
forgotten file
svn path=/trunk/; revision=6455
18:52:07 Tim Janik [Tue, 5 Feb 2008 17:52:52 +0000 (17:52 +0000)]
added recursive mutex to protect class initialization, default interface
2008-02-05 18:52:07 Tim Janik <timj@imendio.com>
* gtype.c: added recursive mutex to protect class initialization,
default interface initialization and per-class interface construction.
a lock to this recursive mutex is held during user callback invocations
such as initializers or finalizers, effectively allowing only one thread
to run class/interface initializers/finalizers at a time.
also made misc fixups. this fixes:
Bug 64764 - Class initialization isn't thread safe.
svn path=/trunk/; revision=6454
18:42:42 Tim Janik [Tue, 5 Feb 2008 17:43:09 +0000 (17:43 +0000)]
generate gobject/tests/Makefile.
2008-02-05 18:42:42 Tim Janik <timj@imendio.com>
* configure.in: generate gobject/tests/Makefile.
svn path=/trunk/; revision=6453
18:41:22 Tim Janik [Tue, 5 Feb 2008 17:42:09 +0000 (17:42 +0000)]
integrate tests/.
2008-02-05 18:41:22 Tim Janik <timj@imendio.com>
* Makefile.am: integrate tests/.
* tests/: new directory for libgobject tests.
* tests/Makefile.am: build and run threadtests.
* tests/threadtests.c: test multi-threaded initializers for
object classes and interfaces.
svn path=/trunk/; revision=6452
Alexander Larsson [Tue, 5 Feb 2008 10:11:12 +0000 (10:11 +0000)]
Don't spew warnings when destination is not a GLocalFile.
2008-02-05 Alexander Larsson <alexl@redhat.com>
* glocalfile.c (g_local_file_move):
Don't spew warnings when destination is not
a GLocalFile.
svn path=/trunk/; revision=6451
Tor Lillqvist [Mon, 4 Feb 2008 22:25:55 +0000 (22:25 +0000)]
Include the gio import library in the developer zipfile.
2008-02-05 Tor Lillqvist <tml@novell.com>
* glib-zip.in: Include the gio import library in the developer
zipfile.
svn path=/trunk/; revision=6450
Tor Lillqvist [Mon, 4 Feb 2008 22:18:27 +0000 (22:18 +0000)]
Include gio-2.0.pc in the developer zipfile.
2008-02-05 Tor Lillqvist <tml@novell.com>
* glib-zip.in: Include gio-2.0.pc in the developer zipfile.
svn path=/trunk/; revision=6449
Jonathon Jongsma [Mon, 4 Feb 2008 10:04:40 +0000 (10:04 +0000)]
modify the new_sized() constructor to take a gsize param instead of guint
2008-02-02 Jonathon Jongsma <jjongsma@gnome.org>
* gio/gbufferedoutputstream.c:
* gio/gbufferedoutputstream.h: modify the new_sized() constructor to take a
gsize param instead of guint to match the GBufferedInputStream constructor.
svn path=/trunk/; revision=6448
Jovan Naumovski [Mon, 4 Feb 2008 03:12:27 +0000 (03:12 +0000)]
2008-02-04 Jovan Naumovski <jovanna@svn.gnome.org> *mk.po: Updated Macedonian translation.
svn path=/trunk/; revision=6447
Leonardo Ferreira Fontenelle [Mon, 4 Feb 2008 01:20:25 +0000 (01:20 +0000)]
Brazilian Portuguese translation updated by Vladimir Melo and Luiz
2008-02-03 Leonardo Ferreira Fontenelle <leonardof@svn.gnome.org>
* pt_BR.po: Brazilian Portuguese translation updated by Vladimir Melo
and Luiz Armesto.
svn path=/trunk/; revision=6446
Hans Breuer [Sun, 3 Feb 2008 22:41:06 +0000 (22:41 +0000)]
update
2008-02-03 Hans Breuer <hans@breuer.org>
* **/makefile.msc.in : update
svn path=/trunk/; revision=6445
Hans Breuer [Sun, 3 Feb 2008 22:40:29 +0000 (22:40 +0000)]
update
2008-02-03 Hans Breuer <hans@breuer.org>
* makefile.msc : update
svn path=/trunk/; revision=6444
Sebastian Dröge [Sun, 3 Feb 2008 10:54:13 +0000 (10:54 +0000)]
Check for gmtime_r. Missing part of bug #511807.
* configure.in: Check for gmtime_r. Missing part of bug #511807.
svn path=/trunk/; revision=6443
Yannig MARCHEGAY [Fri, 1 Feb 2008 17:45:33 +0000 (17:45 +0000)]
Updated Occitan translation
svn path=/trunk/; revision=6442
Michael Natterer [Fri, 1 Feb 2008 13:17:04 +0000 (13:17 +0000)]
assign the return value of xdg_mime_list_mime_parents() to a variable of
2008-02-01 Michael Natterer <mitch@imendio.com>
* gcontenttype.c (_g_unix_content_type_get_parents): assign the
return value of xdg_mime_list_mime_parents() to a variable of the
correct type.
svn path=/trunk/; revision=6441
Alexander Larsson [Fri, 1 Feb 2008 12:02:52 +0000 (12:02 +0000)]
Actually call the launch_uris method, not launch.
2008-02-01 Alexander Larsson <alexl@redhat.com>
* gappinfo.c (g_app_info_launch_uris):
Actually call the launch_uris method, not
launch.
2008-02-01 Alexander Larsson <alexl@redhat.com>
* gdesktopappinfo.c (g_desktop_app_info_equal):
Ensure appinfos with no id but same pointer value
compare equal
svn path=/trunk/; revision=6440
Alexander Larsson [Fri, 1 Feb 2008 11:42:25 +0000 (11:42 +0000)]
Don't leak appinfo.
2008-02-01 Alexander Larsson <alexl@redhat.com>
* gappinfo.c (g_app_info_launch_default_for_uri):
Don't leak appinfo.
svn path=/trunk/; revision=6439
Alexander Larsson [Fri, 1 Feb 2008 11:30:37 +0000 (11:30 +0000)]
Oops, fix last commit.
svn path=/trunk/; revision=6438
Alexander Larsson [Fri, 1 Feb 2008 11:21:37 +0000 (11:21 +0000)]
Add g_app_info_launch_default_for_uri utility function. (#513256)
2008-02-01 Alexander Larsson <alexl@redhat.com>
* gappinfo.[ch]:
* gio.symbols:
Add g_app_info_launch_default_for_uri utility
function. (#513256)
svn path=/trunk/; revision=6437
Cosimo Cecchi [Fri, 1 Feb 2008 11:21:01 +0000 (11:21 +0000)]
Doc fix for g_app_info_get_default_for_uri_scheme () Bug #513483.
2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
* gdesktopappinfo.c:
Doc fix for g_app_info_get_default_for_uri_scheme ()
Bug #513483.
svn path=/trunk/; revision=6436
Runa Bhattacharjee [Fri, 1 Feb 2008 05:26:53 +0000 (05:26 +0000)]
Added Entry for Kannada Translation Updation by Shankar Prasad
svn path=/trunk/; revision=6435
Runa Bhattacharjee [Fri, 1 Feb 2008 05:26:11 +0000 (05:26 +0000)]
Updated Kannada Translations by Shankar Prasad
svn path=/trunk/; revision=6434
Daniel Nylander [Fri, 1 Feb 2008 00:20:53 +0000 (00:20 +0000)]
sv.po: Updated Swedish translation
svn path=/trunk/; revision=6433
Michael Natterer [Thu, 31 Jan 2008 11:44:51 +0000 (11:44 +0000)]
use %G_GSIZE_FORMAT instead of %lu since sizes have changed from gulong to
2008-01-31 Michael Natterer <mitch@imendio.com>
* glib/gmem.c: use %G_GSIZE_FORMAT instead of %lu since sizes have
changed from gulong to gsize in this file.
svn path=/trunk/; revision=6432
Djihed Afifi [Thu, 31 Jan 2008 08:19:18 +0000 (08:19 +0000)]
Updated Arabic Translation by Abou Manal.
svn path=/trunk/; revision=6431
Johan Dahlin [Wed, 30 Jan 2008 22:57:45 +0000 (22:57 +0000)]
Remove oc since oc.po is gone.
2008-01-30 Johan Dahlin <johan@gnome.org>
* configure.in: Remove oc since oc.po is gone.
svn path=/trunk/; revision=6430
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
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
Yannig MARCHEGAY [Wed, 30 Jan 2008 17:57:09 +0000 (17:57 +0000)]
Updated Occitan translation
svn path=/trunk/; revision=6427
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
Yannig MARCHEGAY [Wed, 30 Jan 2008 14:37:44 +0000 (14:37 +0000)]
Updated Occitan translation
svn path=/trunk/; revision=6425
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
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
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
Yannig MARCHEGAY [Tue, 29 Jan 2008 20:19:21 +0000 (20:19 +0000)]
Updated Occitan translation
svn path=/trunk/; revision=6421
Djihed Afifi [Tue, 29 Jan 2008 19:42:14 +0000 (19:42 +0000)]
Updated Arabic Translation by Abou Manal.
svn path=/trunk/; revision=6420
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
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
Jorge Gonzalez Gonzalez [Tue, 29 Jan 2008 15:40:56 +0000 (15:40 +0000)]
Updated Spanish translation
svn path=/trunk/; revision=6417
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
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
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
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
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
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
Alexander Larsson [Tue, 29 Jan 2008 12:23:24 +0000 (12:23 +0000)]
Add docs
svn path=/trunk/; revision=6410
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
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
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
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
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
Matthias Clasen [Tue, 29 Jan 2008 00:03:29 +0000 (00:03 +0000)]
Bump version
svn path=/trunk/; revision=6404
Matthias Clasen [Tue, 29 Jan 2008 00:00:31 +0000 (00:00 +0000)]
2.15.4
svn path=/trunk/; revision=6402
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
Matthias Clasen [Mon, 28 Jan 2008 19:46:18 +0000 (19:46 +0000)]
Disable some tests
svn path=/trunk/; revision=6400
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
Matthias Clasen [Mon, 28 Jan 2008 17:26:45 +0000 (17:26 +0000)]
Document new api
svn path=/trunk/; revision=6398
Matthias Clasen [Mon, 28 Jan 2008 17:21:34 +0000 (17:21 +0000)]
Document new api
svn path=/trunk/; revision=6397
Matthias Clasen [Mon, 28 Jan 2008 17:09:26 +0000 (17:09 +0000)]
Fix docs
svn path=/trunk/; revision=6396
Matthias Clasen [Mon, 28 Jan 2008 16:23:29 +0000 (16:23 +0000)]
Updates
svn path=/trunk/; revision=6395
Daniel Nylander [Mon, 28 Jan 2008 07:57:36 +0000 (07:57 +0000)]
sv.po: Updated Swedish translation
svn path=/trunk/; revision=6394
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
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
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
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
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
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
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
Matthias Clasen [Sun, 27 Jan 2008 21:58:53 +0000 (21:58 +0000)]
Avoid trivial differences in translatable strings
svn path=/trunk/; revision=6386