Commit Graph

5527 Commits

Author SHA1 Message Date
Alexander Larsson
ab7e80d366 Define IN_ONLYDIR if not in header (#515346)
2008-02-13  Alexander Larsson  <alexl@redhat.com>

	* inotify/inotify-path.c:
	Define IN_ONLYDIR if not in header (#515346)



svn path=/trunk/; revision=6510
2008-02-13 13:33:57 +00:00
Ilkka Tuohela
74905ae3ca Updated Finnish translation
svn path=/trunk/; revision=6509
2008-02-13 12:41:10 +00:00
Tor Lillqvist
81e37c3d41 Doc change: Deprecate passing anything but NULL for the "package"
2008-02-13  Tor Lillqvist  <tml@novell.com>

	* glib/gwin32.c: Doc change: Deprecate passing anything but NULL
	for the "package" parameter to
	g_win32_get_package_installation_directory() and
	g_win32_get_package_installation_subdirectory().


svn path=/trunk/; revision=6508
2008-02-13 11:59:14 +00:00
Matthias Clasen
d760d3e22d Additions
svn path=/trunk/; revision=6507
2008-02-13 02:30:14 +00:00
Alexander Larsson
767e18bf82 C89 fixes (#515892)
2008-02-12  Alexander Larsson  <alexl@redhat.com>

        * tests/live-g-file.c:
	C89 fixes (#515892)



svn path=/trunk/; revision=6506
2008-02-12 10:06:01 +00:00
Matthias Clasen
fa206b48be Bump version
svn path=/trunk/; revision=6505
2008-02-11 22:33:02 +00:00
Matthias Clasen
69cb5eda41 2.15.5
svn path=/trunk/; revision=6503
2008-02-11 22:30:35 +00:00
Matthias Clasen
05752f1d81 Updates
svn path=/trunk/; revision=6502
2008-02-11 21:51:23 +00:00
Matthias Clasen
ee263a1ba6 Add g_mount_mount_flags_get_type
svn path=/trunk/; revision=6501
2008-02-11 18:31:43 +00:00
Matthias Clasen
f5542c90e3 Make the g_test_add macro work with gcc 4.3
2008-02-10  Matthias Clasen <mclasen@redhat.com>

        * glib/gtestutils.h: Make the g_test_add macro work with
        gcc 4.3

        * tests/gobject/paramspec-test.c: Adapt to recent changes in
        GParamGType initialization.


svn path=/trunk/; revision=6500
2008-02-11 18:28:42 +00:00
Matthias Clasen
92aaf63ec0 Fix a typo
svn path=/trunk/; revision=6499
2008-02-11 17:35:44 +00:00
Alexander Larsson
be85960df7 Correctly handle NULL GAttributeMatcher meaning matches nothing. (Fixes
2008-02-11  Alexander Larsson  <alexl@redhat.com>

        * gfileinfo.c:
        (g_file_info_set_attribute_mask):
        (g_file_attribute_matcher_matches_id):
	Correctly handle NULL GAttributeMatcher meaning
	matches nothing. (Fixes #513492)


svn path=/trunk/; revision=6498
2008-02-11 12:21:49 +00:00
Alexander Larsson
e3fdcd1fa7 Added GMountMountFlags enum and added a flags argument to all mount calls.
2008-02-11  Alexander Larsson  <alexl@redhat.com>

        * gfile.[ch]:
        * gmount.[ch]:
        * gvolume.[ch]:
	Added GMountMountFlags enum and added a flags
	argument to all mount calls.
	
	This is an API/ABI change for future extensibility,
	as I think we will need at least an
	inhibit-autorun flag (the panel needs this).
	There are no flags defined yet though.


svn path=/trunk/; revision=6497
2008-02-11 11:12:36 +00:00
Alexander Larsson
52e49aee35 Added new standard::description attribute. Requested by Vincent, and
2008-02-11  Alexander Larsson  <alexl@redhat.com>

	* gfileinfo.h:
	Added new standard::description attribute.
	Requested by Vincent, and useful for both
	panel and nautilus


svn path=/trunk/; revision=6496
2008-02-11 10:41:00 +00:00
Alexander Larsson
d07d500f0a Minor docs cleanup
2008-02-11  Alexander Larsson  <alexl@redhat.com>

        * gdesktopappinfo.c:
	Minor docs cleanup


svn path=/trunk/; revision=6495
2008-02-11 08:47:17 +00:00
Matthias Clasen
f21fdabf2a Additions
svn path=/trunk/; revision=6494
2008-02-11 07:18:56 +00:00
Matthias Clasen
c8f43a1bb6 Add more docs
svn path=/trunk/; revision=6493
2008-02-11 07:17:48 +00:00
Matthias Clasen
826d8c5b41 Documentation additions
svn path=/trunk/; revision=6492
2008-02-11 07:12:56 +00:00
Matthias Clasen
5e45af1f07 Check for getmntent_r
svn path=/trunk/; revision=6491
2008-02-10 05:22:39 +00:00
Matthias Clasen
0766a1ec39 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
2008-02-10 05:20:00 +00:00
Matthias Clasen
8ad07dcf1c Fix a mismerge
svn path=/trunk/; revision=6489
2008-02-10 04:54:25 +00:00
Philip Withnall
39edc34bb4 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
2008-02-10 04:48:31 +00:00
Matthias Clasen
da0e7e81c1 /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
2008-02-10 04:41:25 +00:00
Matthias Clasen
634d64c9a1 Doc improvement
svn path=/trunk/; revision=6486
2008-02-10 04:26:54 +00:00
Inaki Larranaga Murgoitio
836052361d Updated Basque translation.
2008-02-08  Inaki Larranaga Murgoitio  <dooteo@euskalgnu.org>

	* eu.po: Updated Basque translation.


svn path=/trunk/; revision=6485
2008-02-08 16:42:26 +00:00
Alexander Larsson
61411a5fc2 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
2008-02-08 16:12:55 +00:00
Gil Forcada Codinachs
849f0b277c Updated Catalan translation
svn path=/trunk/; revision=6483
2008-02-07 16:29:09 +00:00
Tor Lillqvist
0deb77b180 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
2008-02-07 13:07:19 +00:00
12:58:54 Tim Janik
a9287f0cdf 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
2008-02-07 12:00:34 +00:00
Tim Janik
da246088a8 Fixed typo spotted by Xan.
svn path=/trunk/; revision=6479
2008-02-07 10:26:00 +00:00
Tor Lillqvist
7077781cc3 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
2008-02-07 09:56:25 +00:00
Changwoo Ryu
493fdf2dea Updated Korean translation.
svn path=/trunk/; revision=6477
2008-02-07 08:33:26 +00:00
Ryan Lortie
fdf2e0eb86 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
2008-02-07 07:13:39 +00:00
Matthias Clasen
cdf4b2bb63 Update to PCRE 7.6
svn path=/trunk/; revision=6470
2008-02-07 04:51:56 +00:00
Behdad Esfahbod
1096caf5ef 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
2008-02-06 17:36:06 +00:00
Behdad Esfahbod
0c7fead1e6 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
2008-02-06 17:35:25 +00:00
Murray Cumming
0d7b605f06 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
2008-02-06 16:02:20 +00:00
Christian Persch
37ac644bd1 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
2008-02-06 15:10:08 +00:00
Tomas Bzatek
d87c1c0af4 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
2008-02-06 13:52:07 +00:00
Tomas Bzatek
c907c2832e 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
2008-02-06 13:45:26 +00:00
Michael Natterer
2b02891ef7 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
2008-02-06 13:22:57 +00:00
Tomas Bzatek
4e9a5de905 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
2008-02-06 12:59:49 +00:00
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