Commit Graph

5285 Commits

Author SHA1 Message Date
Alexander Larsson
b4a7d48aad 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
2008-02-06 10:57:27 +00:00
Benjamin Otte
f428a1b44a 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
2008-02-06 10:26:53 +00:00
Alexander Larsson
2185733235 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
2008-02-06 10:06:54 +00:00
Djihed Afifi
ebfd091263 Updated Arabic Translation by Khaled Hosny.
svn path=/trunk/; revision=6458
2008-02-06 09:42:17 +00:00
Benjamin Otte
21fcca71dc 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
2008-02-06 09:36:47 +00:00
Theppitak Karoonboonyanan
6279f2a891 Updated Thai translation.
2008-02-06  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	* th.po: Updated Thai translation.


svn path=/trunk/; revision=6456
2008-02-06 09:00:07 +00:00
Matthias Clasen
fc8bebd0c0 forgotten file
svn path=/trunk/; revision=6455
2008-02-06 02:59:47 +00:00
18:52:07 Tim Janik
0dd27821f2 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
2008-02-05 17:52:52 +00:00
18:42:42 Tim Janik
dfa5b08805 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
2008-02-05 17:43:09 +00:00
18:41:22 Tim Janik
fcee4e1931 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
2008-02-05 17:42:09 +00:00
Alexander Larsson
c6af0efb11 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
2008-02-05 10:11:12 +00:00
Tor Lillqvist
a9bee27cda 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
2008-02-04 22:25:55 +00:00
Tor Lillqvist
695c7c8b5d 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
2008-02-04 22:18:27 +00:00
Jonathon Jongsma
2be52dd9c3 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
2008-02-04 10:04:40 +00:00
Jovan Naumovski
2a70534ca3 2008-02-04 Jovan Naumovski <jovanna@svn.gnome.org> *mk.po: Updated Macedonian translation.
svn path=/trunk/; revision=6447
2008-02-04 03:12:27 +00:00
Leonardo Ferreira Fontenelle
0b4e1863b8 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
2008-02-04 01:20:25 +00:00
Hans Breuer
6d9726e8b9 update
2008-02-03  Hans Breuer  <hans@breuer.org>

	* **/makefile.msc.in : update


svn path=/trunk/; revision=6445
2008-02-03 22:41:06 +00:00
Hans Breuer
01072d0c45 update
2008-02-03  Hans Breuer  <hans@breuer.org>

	* makefile.msc : update


svn path=/trunk/; revision=6444
2008-02-03 22:40:29 +00:00
Sebastian Dröge
96bcb8af0c 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
2008-02-03 10:54:13 +00:00
Yannig MARCHEGAY
e508268839 Updated Occitan translation
svn path=/trunk/; revision=6442
2008-02-01 17:45:33 +00:00
Michael Natterer
573a73f391 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
2008-02-01 13:17:04 +00:00
Alexander Larsson
a7749bab36 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
2008-02-01 12:02:52 +00:00
Alexander Larsson
d9b8be3b5c 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
2008-02-01 11:42:25 +00:00
Alexander Larsson
feb28ce3a7 Oops, fix last commit.
svn path=/trunk/; revision=6438
2008-02-01 11:30:37 +00:00
Alexander Larsson
a00c11f08a 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
2008-02-01 11:21:37 +00:00
Cosimo Cecchi
cebfe57343 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
2008-02-01 11:21:01 +00:00
Runa Bhattacharjee
2b74bc407b Added Entry for Kannada Translation Updation by Shankar Prasad
svn path=/trunk/; revision=6435
2008-02-01 05:26:53 +00:00
Runa Bhattacharjee
6f47278386 Updated Kannada Translations by Shankar Prasad
svn path=/trunk/; revision=6434
2008-02-01 05:26:11 +00:00
Daniel Nylander
9bca315c46 sv.po: Updated Swedish translation
svn path=/trunk/; revision=6433
2008-02-01 00:20:53 +00:00
Michael Natterer
93e615e7ab 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
2008-01-31 11:44:51 +00:00
Djihed Afifi
56a6c6e412 Updated Arabic Translation by Abou Manal.
svn path=/trunk/; revision=6431
2008-01-31 08:19:18 +00:00
Johan Dahlin
b1fd99b62a 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
2008-01-30 22:57:45 +00:00
Wouter Bolsterlee
ca25b31ee3 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
2008-01-30 20:52:13 +00:00
Duarte Loreto
b80cb2ec04 Updated Portuguese translation.
2008-01-30  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Updated Portuguese translation.

svn path=/trunk/; revision=6428
2008-01-30 20:18:59 +00:00
Yannig MARCHEGAY
8bfa3f6bc8 Updated Occitan translation
svn path=/trunk/; revision=6427
2008-01-30 17:57:09 +00:00
Takeshi AIHANA
14da7cbaa1 Updated Japanese translation.
2008-01-30  Takeshi AIHANA <takeshi.aihana@gmail.com>

        * ja.po: Updated Japanese translation.

svn path=/trunk/; revision=6426
2008-01-30 15:56:50 +00:00
Yannig MARCHEGAY
23a207cd5a Updated Occitan translation
svn path=/trunk/; revision=6425
2008-01-30 14:37:44 +00:00
Alexander Larsson
692e9086b4 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
2008-01-30 11:27:02 +00:00
Alexander Larsson
fc93e63edd 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
2008-01-30 09:28:10 +00:00
Alexander Larsson
0234965965 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
2008-01-30 09:14:58 +00:00
Yannig MARCHEGAY
cfedcdb15a Updated Occitan translation
svn path=/trunk/; revision=6421
2008-01-29 20:19:21 +00:00
Djihed Afifi
78696e8fcc Updated Arabic Translation by Abou Manal.
svn path=/trunk/; revision=6420
2008-01-29 19:42:14 +00:00
Christian Persch
9ac7dbc9b4 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
2008-01-29 18:04:23 +00:00
Alexander Larsson
6ff29c1dea 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
2008-01-29 15:47:27 +00:00
Jorge Gonzalez Gonzalez
98102273d9 Updated Spanish translation
svn path=/trunk/; revision=6417
2008-01-29 15:40:56 +00:00
Alexander Larsson
e61e022333 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
2008-01-29 15:11:54 +00:00
Alexander Larsson
a0283fa682 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
2008-01-29 15:04:50 +00:00
Alexander Larsson
1efe9d9cd1 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
2008-01-29 14:19:46 +00:00
14:58:31 Tim Janik
1fcaf2fe8d 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
2008-01-29 14:10:43 +00:00
Alexander Larsson
3b78d8000b 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
2008-01-29 14:07:07 +00:00