1 2008-12-07 Matthias Clasen <mclasen@redhat.com>
3 Bug 558458 – Cannot build gio tests on Solaris using SUN cc
5 * tests/live-g-file.c: Support compilers that don't understand
6 ISO C varargs macros. Patch by Eric Lamarque
8 2008-12-07 Matthias Clasen <mclasen@redhat.com>
10 Bug 526320 – should not list mounts that the user doesn't have
13 gunixmounts.c: Use g_access() to check accessibility of local devices.
16 2008-12-01 Matthias Clasen <mclasen@redhat.com>
18 * === Released 2.19.2 ===
20 2008-12-01 Matthias Clasen <mclasen@redhat.com>
22 * gdatainputstream.c (g_data_input_stream_read_line): Revert the
23 behaviour change, and update the docs instead, to avoid breaking
26 2008-12-01 Matthias Clasen <mclasen@redhat.com>
28 * === Released 2.19.1 ===
30 2008-12-01 Alexander Larsson <alexl@redhat.com>
34 * gunionvolumemonitor.c:
36 Add and document g_mount_is_shadowed plus calls
37 to set/unset a mount as shadowed
39 2008-11-28 Matthias Clasen <mclasen@redhat.com>
41 * gio/tests/g-icon.c: Comment out two failing tests
43 2008-11-28 Matthias Clasen <mclasen@redhat.com>
45 Bug 555486 – No way to recover command line from GAppInfo
48 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
49 by Hans Petter Jansson.
51 * gdesktopappinfo.c: And implement it here.
53 2008-11-28 Christian Dywan <christian@imendio.com>
55 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
57 2008-11-28 Matthias Clasen <mclasen@redhat.com>
59 Bug 559633 – gtk_image_new_from_gicon does not always work for
62 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
63 extensions on icon names. Proposed by Axel von Bertoldi.
65 2008-11-28 Matthias Clasen <mclasen@redhat.com>
67 Bug 548163 – Nautilus displays wrong error message for too long file
70 * glocalfile.c (g_local_file_set_display_name): Correctly set
71 error conditions if the new name is e.g. too long. Reported
72 by Leonardo Ferreira Fontenelle.
74 2008-11-28 Matthias Clasen <mclasen@redhat.com>
76 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
79 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
80 documented and include the line end in the returned string.
81 Pointed out by Paul Pogonyshev.
83 * tests/data-input-stream.c: Fix the read_line test to test the
86 2008-11-28 Matthias Clasen <mclasen@redhat.com>
88 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
89 files that have been created by g_app_info_create_from_commandline.
91 2008-11-28 Matthias Clasen <mclasen@redhat.com>
93 Bug 541715 – win32 : patch for warnings and signature problems in
96 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
99 2008-11-28 Matthias Clasen <mclasen@redhat.com>
101 Bug 562393 – g_buffered_input_stream_read_byte broken if data
104 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
105 handling of buffered content. Patch by Philip Withnall
107 * tests/buffered-input-stream.c: Add a testcase for this bug.
108 * tests/Makefile.am: And build it
110 2008-11-28 Matthias Clasen <mclasen@redhat.com>
112 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
115 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
116 '/' away. Spotted by Dan Williams.
118 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
120 Bug 561375 – Leaks mountpoint description
122 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
125 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
127 Bug 561352 – Leak of icon description
129 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
132 2008-11-14 Matthias Clasen <mclasen@redhat.com>
134 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
136 2008-11-12 Tor Lillqvist <tml@novell.com>
138 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
140 * win32/gwinhttpvfs.h: Move the set of function pointers to
141 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
142 pointer to that in the GWinHttpVfsClass.
144 * win32/gwinhttpvfs.c: Move the lookup of functions from
145 winhttp.dll into a function of its own, that stores the pointers
146 in a separate GWinHttpDllFuncs variable. Add two bookeeping
147 booleans lookup_done and funcs_found.
149 Don't call g_io_extension_point_implement() to register the
150 winhttp extension unless winhttp.dll has been successfully loaded
151 and the required functions found in it.
153 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
154 winhttp.dll correspondingly.
156 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
158 reviewed by: Alexander Larsson <alexl@redhat.com>
160 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
161 clearer about the behavior when there's no more content to read.
163 2008-10-27 Federico Mena Quintero <federico@novell.com>
165 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
167 2008-10-27 Tor Lillqvist <tml@novell.com>
169 Bug 557592 - Missing include in gwinhttpfile.c
171 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
174 2008-10-24 Matthias Clasen <mclasen@redhat.com>
176 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
178 * fam/fam-helper.c: Fix a memory leak and formatting issues.
179 Reported by Daniel Marjamäki
181 2008-10-23 Matthias Clasen <mclasen@redhat.com>
183 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
185 2008-10-23 Alexander Larsson <alexl@redhat.com>
187 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
190 (_g_local_file_info_get):
191 Don't return the fallback icon (text-x-generic) for all files.
192 This is causing problems with theme icon lookup and custom mime
193 icons, as the generic fallback overrides custom mime icons in
196 This is a slight change as applications might not get an icon wher
197 they previously did. But there is no guarantee to get on neither before
198 or after this change, so it should not break applications. Changes
199 to nautilus and gtk+ will be done to manually use the generic fallback
200 icon if no icon is found, but this is only required for rare cases.
202 2008-10-21 Alexander Larsson <alexl@redhat.com>
205 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
207 2008-10-21 Alexander Larsson <alexl@redhat.com>
209 Bug 555740 - gicon serialization
210 Based on patch from David Zeuthen
214 Add g_icon_to_string() and g_icon_new_for_string().
220 Implement icon serialization for built-in icon types
224 Added GIcon serialization test
226 2008-10-16 Matthias Clasen <mclasen@redhat.com>
228 * === Released 2.19.0 ===
230 2008-10-16 Matthias Clasen <mclasen@redhat.com>
232 Bug 556422 – g_file_enumerator_next_file: unclear whether return
233 value needs to be freed
235 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
236 the return value docs. Pointed out by Armin Burgmeier
238 2008-10-14 Matthias Clasen <mclasen@redhat.com>
240 Bug 556334 – Warning when building without selinux support
242 * glocalfileinfo.c: Avoid compiler warnings when selinux is
243 disabled. Patch by Pascal Terjan
245 2008-10-14 Matthias Clasen <mclasen@redhat.com>
247 Bug 556335 – make check fails in abicheck.sh
249 * gio.symbols: Add g_file_attribute_info_list_get_type.
250 Pointed out by Pascal Terjan.
252 2008-10-13 Alexander Larsson <alexl@redhat.com>
255 When adding an application as handling a mime type (but
256 not as the default), copy the full list of desktop ids handling
257 that type in before adding the new one on the end of the list.
258 This means we're not accidentally changing the default by overriding
259 the info from the later directories in the search path.
261 Also, fixes small leak of removed_entries.
263 2008-10-12 David Zeuthen <davidz@redhat.com>
266 * gunionvolumemonitor.c:
268 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
270 2008-10-10 Alexander Larsson <alexl@redhat.com>
272 * gfileattribute.c (escape_byte_string):
273 Upper half of byte is >> 4, not >> 8.
274 Found by Kjartan Maraas via sparse
276 2008-10-10 Matthias Clasen <mclasen@redhat.com>
278 Bug 555711 – Wrong fallback order of mimetype icons
280 * gcontenttype.c: Don't prefer generic icons over
281 default mimetype icons.
283 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
284 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
286 Patch by Krysztof Kosiński
288 2008-10-10 Matthias Clasen <mclasen@redhat.com>
290 Bug 555121 – Improved build-time handling of gio module-dir
292 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
293 * Makefile.am: Create the module dir.
295 2008-10-10 Matthias Clasen <mclasen@redhat.com>
297 * gio/glocalfileinfo.c:
298 * gio/tests/live-g-file.c:
299 * gio/gsimpleasyncresult.c: Fix gcc warnings.
301 2008-10-09 Alexander Larsson <alexl@redhat.com>
303 * gunixinputstream.c (g_unix_input_stream_read):
304 Actually return -1 in case of cancelled, not old res value.
306 2008-10-06 Colin Walters <walters@verbum.org>
308 Bug 554745 - GFileAttributeInfoList should be boxed
310 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
311 for convenience of bindings.
312 * gio/gfileattribute.h: Prototype it.
314 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
316 Bug 554970 – segfault when update-desktop-database is not available
319 * gdesktopappinfo.c (run_update_command): Have the error set before
322 2008-10-01 David Zeuthen <davidz@redhat.com>
324 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
325 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
326 instead of the gio URI (such as sftp://foo/file.avi) when using
327 g_app_info_launch() and friends. With a sufficiently recent gvfs,
328 apps using gio+gvfs will map the FUSE file:// URI back to the gio
329 URI (and thus bypass the fuse daemon) thanks the patch from bug
330 #530654. Since Nautilus is an user of g_app_info_launch() it
331 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
332 when launced via the file manager. Win. Fixes bug #528670.
334 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
335 mapping to the description of GAppInfo.
337 2008-09-30 Tor Lillqvist <tml@novell.com>
339 * tests/Makefile.am: Build desktop-app-info only on Unix.
341 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
342 g_critical(). Pass a large enough result buffer to
343 GetVolumePathNameW(). Just use MAX_PATH.
345 2008-09-29 David Zeuthen <davidz@redhat.com>
347 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
349 2008-09-26 Dan Winship <danw@gnome.org>
351 * tests/data-input-stream.c:
352 * tests/data-output-stream.c:
353 * tests/live-g-file.c:
354 * tests/memory-input-stream.c:
355 * tests/memory-output-stream.c: Use g_assert_error() and
358 2008-09-26 Matthias Clasen <mclasen@redhat.com>
360 Bug 545350 – GAppInfo deletion
361 Bug 545351 – Reset associations for content type
364 * gappinfo.[hc]: New functions g_app_info_can_delete,
365 g_app_info_delete and g_app_info_reset_type_associations.
368 * gwin32appinfo.c: Implementations of these.
371 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
373 2008-09-26 Dan Winship <danw@gnome.org>
375 Bug 505361 – gunixinputstream.c assumes poll() available
376 Bug 509446 – portable blocking gio cancellation
378 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
379 GPollFD for a cancellable (which is slightly more complicated on
382 * gunixinputstream.c (g_unix_input_stream_read):
383 * gunixoutputstream.c (g_unix_output_stream_write): Use
384 g_cancellable_make_pollfd() and g_poll() rather than using poll()
387 * tests/unix-streams.c: test of GUnixInputStream,
388 GUnixOutputStream, and GCancellable.
390 2008-09-26 Dan Winship <danw@gnome.org>
392 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
393 cast to stop a gcc warning
395 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
398 2008-09-25 Dan Winship <danw@gnome.org>
400 Bug 553426 - cancellable clarifications
402 * gcancellable.c (g_cancellable_class_init): Add a note to the
403 "cancelled" signal docs warning about thread-safety issues
404 (g_cancellable_cancel): Note that cancelling an asynchronous
405 operation takes effect asynchronously, not immediately.
407 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
409 * gioenums.h: Add new GFileCopyFlag, to leave target file with
410 default perms, instead of setting the source file perms, in a copy
413 * gfile.c (g_file_copy_attributes)
414 (build_attribute_list_for_copy)
415 (should_copy): Not copy "unix::mode" attribute if we have received
416 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
418 2008-09-20 Matthias Clasen <mclasen@redhat.com>
420 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
422 2008-09-17 Matthias Clasen <mclasen@redhat.com>
424 * === Released 2.18.1 ===
426 2008-09-16 Michael Natterer <mitch@imendio.com>
428 * gcontenttype.c (g_content_type_guess): can't assign the return
429 value of g_strdupv() to an array. Fill the array manually with
430 const strings instead (it is never freed anyway). Fixes the
431 build. Also fixed indentation.
433 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
435 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
436 Fix trivial typo to unbreak the build (there was a colon
437 instead of a semicolon at the end of a statement).
439 2008-09-15 Matthias Clasen <mclasen@redhat.com>
441 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
444 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
447 2008-09-15 Matthias Clasen <mclasen@redhat.com>
449 Bug 551681 – g_content_type_guess() too naive with filenames
451 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
452 at the end of the filename, and declare it a directory.
453 Patch by Bastien Nocera
455 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
457 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
460 * gdesktopappinfo.c: add a note in the docs clarifying what the
461 "filename" parameter really is.
463 2008-09-12 Tor Lillqvist <tml@novell.com>
465 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
466 FormatMessage() etc here. Call g_win32_error_message() instead
467 which already does all that. Besides, the code was broken as it
468 called the default "A" version of FormatMessage() but still
469 thought it produced a wide string.
471 2008-09-12 Michael Natterer <mitch@imendio.com>
473 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
474 in the documentation.
476 2008-09-08 Christian Neumair <cneumair@gnome.org>
478 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
479 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
480 Use non-blocking pipe for mount helper I/O. Fixes #550647.
482 2008-09-06 Matthias Clasen <mclasen@redhat.com>
484 Bug 551149 – xdgmime mem leak
486 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
487 a memory leak. Patch by Christian Persch
489 2008-09-04 Tor Lillqvist <tml@novell.com>
491 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
494 2008-09-02 Matthias Clasen <mclasen@redhat.com>
496 * === Released 2.18.0 ===
498 2008-09-02 Michael Natterer <mitch@imendio.com>
500 * *.h: big header formatting cleanup: indentation, vtable
501 formatting, consistent spacing in (* vfunc), trailing whitespace
502 removal. Formatting should be pretty consistent in all GIO headers
505 2008-09-02 Matthias Clasen <mclasen@redhat.com>
507 * gmount.h: Document guess_content_type sync vfunc.
509 2008-09-02 Michael Natterer <mitch@imendio.com>
511 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
512 fix parent_class member to be GFilterOutputStreamClass (not
513 GOutputStreamClass). Drop three pointers of padding, which is
514 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
515 so the class struct size stays the same.
517 2008-09-02 Matthias Clasen <mclasen@redhat.com>
519 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
521 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
522 nonexisting return values. Pointed out by Cosimo Cecchi.
524 2008-08-23 Tor Lillqvist <tml@novell.com>
526 Bug 548988 - g_file_replace fails on Windows when the target file
529 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
530 Windows, close the file before potentially renaming it (in case we
531 have been writing to a file with a temporary name).
533 (g_local_file_output_stream_close, handle_overwrite_open): Use
534 GLocalFileStat instead of plain struct stat, for passing to
535 _g_local_file_info_create_etag(). Thus also use _fstati64()
536 instead of plain fstat() on Windows.
538 2008-08-18 Matthias Clasen <mclasen@redhat.com>
540 * === Released 2.17.7 ===
542 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
544 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
547 2008-08-13 Tor Lillqvist <tml@novell.com>
549 * win32/gwinhttpvfs.c
550 * win32/gwinhttpvfs.h
551 * win32/gwinhttpfile.c
552 * win32/gwinhttpfileinputstream.c
553 * win32/gwinhttpfileoutputstream.c: Refactor some common code
554 snippets into helper functions. Check HTTP response status
555 codes. Implement g_winhttp_file_query_info(), looking at
556 Content-Length, Content-Type and Last-Modified.
558 * win32/winhttp.h: Add some symbolic constants that are not
559 publicly documented. Just a handful, so it should be OK to use
560 information from the Windows SDK's headers.
562 2008-08-13 Tor Lillqvist <tml@novell.com>
564 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
567 * win32/gwin32directorymonitor.c
568 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
570 2008-08-13 Matthias Clasen <mclasen@redhat.com>
573 * goutputstream.c: Add intro docs.
575 2008-08-13 Tor Lillqvist <tml@novell.com>
577 * win32/gwinhttpfileoutputstream.c
578 (g_winhttp_file_output_stream_write): Don't write the
579 Content-Length header ourselves, WinHttpSendRequest() takes care
580 of that when the dwTotalLength parameter is non-zero. Increment
581 offset by the number of actual bytes sent, although I wonder if
582 such a scenario is possible where less than requested would be
583 sent and accepted by the server without errors.
585 2008-08-13 Tor Lillqvist <tml@novell.com>
587 * win32/gwinhttpvfs.c
588 * win32/gwinhttpvfs.h
589 * win32/gwinhttpfile.c
590 * win32/gwinhttpfile.h
591 * win32/gwinhttpfileinputstream.c
592 * win32/gwinhttpfileinputstream.h
593 * win32/gwinhttpfileoutputstream.c
594 * win32/gwinhttpfileoutputstream.h: New files implementing
595 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
596 Windows. The implementation uses the WinHttp API. Both reading and
597 writing are supported, i.e. GET and PUT requests. When writing,
598 each write call is done using a separate PUT request with a
599 Content-Range header. Requests for file URIs and plain pathnames
600 are forwarded to GLocalVfs.
602 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
603 WINE. Used as there is no <winhttp.h> bundled with mingw, and
604 requiring people to download the Windows SDK just for this one
605 header is not reasonable.
607 * win32/Makefile.am: Add above files.
609 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
610 the plumbing for the above.
612 2008-08-11 Sven Neumann <sven@gimp.org>
614 * gfilenamecompleter.c
615 * glocaldirectorymonitor.c
617 * gunionvolumemonitor.c
621 * gunixvolumemonitor.c
624 * gwin32volumemonitor.c: use canonical signal names.
626 2008-08-11 Tor Lillqvist <tml@novell.com>
628 * Makefile.am: Put a list of the platform-dependent .la files in
629 the subdirectories in the platform_deps Make variable, and make
630 libgio-2.0.la depend on that, so that it gets relinked if one of
631 the dependent libraries has changed.
633 2008-08-11 Tor Lillqvist <tml@novell.com>
635 * Makefile.am (platform_libadd): Remove -lwininet which had been
636 added by mistake. We will probably eventually be using WinHTTP,
637 not the older WinInet anyway. (Actually I am working on it.)
639 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
641 Bug 547080 – g_file_copy leaks expected errors
643 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
644 before trying the next fallback routine.
646 2008-08-09 Loïc Minier <lool@dooz.org>
648 Bug 535124 – umask 002 not being applied for new directories, new
649 files get the correct umask
651 * gfile.c (g_file_make_directory)
652 (g_file_make_directory_with_parents): Document ownership and
653 permissions of newly created directories as being the default
656 2008-08-08 Loïc Minier <lool@dooz.org>
658 Bug 535124 – umask 002 not being applied for new directories, new
659 files get the correct umask
661 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
664 2008-08-08 Tor Lillqvist <tml@novell.com>
666 * gwin32mount.c: Remove unused code. Whitespace cleanup.
668 * gwin32volumemonitor.c (get_connected_drives): Put questionable
669 code that didn't actually do anything inside #if 0, and add a
670 comment wondering what the code was supposed to do. This also gets
671 rid of a leftover debugging printout.
673 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
675 * gfileicon.c (g_file_icon_get_property)
676 (g_file_icon_set_property): New functions.
677 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
679 (g_file_icon_new): Use the property (bug #546132).
681 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
683 * gthemedicon.c (g_themed_icon_get_property): Also handle
684 `PROP_USE_DEFAULT_FALLBACKS'.
685 (g_themed_icon_class_init): Make
686 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
688 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
690 Bug 546371 – Improve docs re g_file_monitor
692 * gfilemonitor.c: Mention g_file_monitor() in the docs.
694 2008-08-04 Matthias Clasen <mclasen@redhat.com>
696 * === Released 2.17.6 ===
698 2008-08-04 Matthias Clasen <mclasen@redhat.com>
700 * === Released 2.17.5 ===
702 2008-08-04 Matthias Clasen <mclasen@redhat.com>
704 Bug 546017 – Don't copy attributes when copying a symlink
706 * gfile.c (g_file_copy_attributes): Specify
707 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
708 g_file_set_attributes_from_info. Patch by Christian Kellner
710 2008-08-04 Matthias Clasen <mclasen@redhat.com>
712 * gemblemedicon.[hc]:
714 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
715 a bit more extensible. Work by Clemens Buss.
717 * gioenums.h: Add GEmblemOrigin.
720 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
722 Bug 546079 – leak in xdgmime
724 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
726 2008-08-03 Tor Lillqvist <tml@novell.com>
728 * win32/gwin32directorymonitor.h
729 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
732 2008-08-03 Tor Lillqvist <tml@novell.com>
734 * win32/gwin32directorymonitor.c
735 (g_win32_directory_monitor_callback): Make prototype match
736 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
737 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
740 (g_win32_directory_monitor_constructor):
741 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
742 names in the GLib API on Windows, so convert to UTF-16 and open
745 2008-08-03 Tor Lillqvist <tml@novell.com>
747 Bug 541036 - Gnumeric crashes when trying to open Desktop or
748 user's folder under Windows
750 * win32/gwin32directorymonitor.c
751 (g_win32_directory_monitor_constructor): Ignore error from
752 CreateFile() when opening directory. Instead of asserting, just
753 store INVALID_HANDLE_VALUE then in
754 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
755 ReadDirectoryChangesW().
756 (g_win32_directory_monitor_cancel): Don't attempt to close
757 directory handle if it is INVALID_HANDLE_VALUE.
759 2008-08-01 Matthias Clasen <mclasen@redhat.com>
761 * gdesktopappinfo.c: Remove debug spew
763 2008-08-01 Hans Breuer <hans@breuer.org>
765 * makefile.msc : add gemblembedicon
767 2008-07-30 Matthias Clasen <mclasen@redhat.com>
769 Bug 545457 – gdmsetup crashed with SIGSEGV in
770 g_unix_mount_guess_should_display()
772 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
773 crash if no mount is found.
775 2008-07-28 Matthias Clasen <mclasen@redhat.com>
777 Bug 545203 – gfile.c: argument is different type.
779 * gfile.c (open_read_async_thread): Pass a GError **
780 to g_file_set_error_literal.
781 Reported by Kazuki Iwamoto
783 2008-07-28 Matthias Clasen <mclasen@redhat.com>
785 Bug 545157 – wrong/no list of "open with" applications for .cc and
788 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
789 Collect all ancestors, not just direct parents. Pointed
790 out by Bastien Nocera
792 2008-07-28 Matthias Clasen <mclasen@redhat.com>
794 * Makefile.am: Install gemblemedicon.h
796 2008-07-28 Matthias Clasen <mclasen@redhat.com>
798 * gemblemedicon.[hc]: Add a GIcon implementation that can
799 add an emblem to another icon.
806 * gfileicon.c: Small documentation additions.
808 2008-07-28 Tor Lillqvist <tml@novell.com>
810 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
813 2008-07-27 Tor Lillqvist <tml@novell.com>
815 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
817 2008-07-24 David Zeuthen <davidz@redhat.com>
821 Also export a g_mount_guess_content_type_sync() function.
823 2008-07-23 Matthias Clasen <mclasen@redhat.com>
825 529694 – SELinux context setting support
827 * gfileinfo.c: Support setting selinux attributes.
828 Patch by Tomas Bzatek
830 2008-07-22 Priit Laes <plaes@plaes.org>
832 Bug 544140 - fam-helper 64-bit issue?
834 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
836 2008-07-21 Matthias Clasen <mclasen@redhat.com>
838 * === Released 2.17.4 ===
840 2008-07-20 Matthias Clasen <mclasen@redhat.com>
842 * gvolumemonitor.[hc]:
847 * gmount.c: Documentation fixes
849 2008-07-19 Matthias Clasen <mclasen@redhat.com>
851 543504 – crash in Epiphany Web Browser: Opening local file
862 * gvolume.c: Register types thread-safely.
863 Patch by Christian Persch
865 2008-07-18 Matthias Clasen <mclasen@redhat.com>
867 * gcontenttype.c: Remove debug spew
869 2008-07-18 Matthias Clasen <mclasen@redhat.com>
871 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
874 * fen/fen-kernel.c: Remove a warning that was causing
875 crashes. Reported by Lin Ma.
877 2008-07-18 Matthias Clasen <mclasen@redhat.com>
879 Bug 543040 – async reading on dummy file will crash on
882 * gfile.c (open_read_async_thread): Cope with read_fn being
883 NULL. Reported by Lin Ma.
885 2008-07-18 Matthias Clasen <mclasen@redhat.com>
888 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
890 2008-07-16 Matthias Clasen <mclasen@redhat.com>
894 * giomodule.c: Rename a chapter id to avoid filename conflict.
896 2008-07-16 Matthias Clasen <mclasen@redhat.com>
898 Bug 540616 – mem leak in filechooser button
900 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
901 the mount entry. Reported by Chrisitan Persch
903 2008-07-16 Matthias Clasen <mclasen@redhat.com>
905 * gfile.c: Small documentation fixes.
907 2008-07-15 Matthias Clasen <mclasen@redhat.com>
909 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
911 2008-07-08 Matthias Clasen <mclasen@redhat.com>
916 * gmount.c: Documentation improvements.
918 2008-07-08 Matthias Clasen <mclasen@redhat.com>
921 * gmount.[hc]: Add g_mount_guess_content_type().
923 2008-07-06 David Zeuthen <davidz@redhat.com>
926 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
927 is needed for easily handling adoption of foreign volumes by
928 out-of-process volume monitors (#541793)
930 2008-07-06 David Zeuthen <davidz@redhat.com>
932 * gvolumemonitor.[ch]:
933 * gunionvolumemonitor.c: Export the eject-button signal on the
934 volume monitor class (#541794).
936 2008-07-06 Matthias Clasen <mclasen@redhat.com>
938 * gappinfo.c: More doc tweaks
940 2008-07-05 Matthias Clasen <mclasen@redhat.com>
942 * gappinfo.c: Clarify some docs
944 2008-07-03 Matthias Clasen <mclasen@redhat.com>
946 * gdesktopappinfo.c: Fix a stupid mistake.
948 2008-07-02 Matthias Clasen <mclasen@redhat.com>
950 * === Released 2.17.3 ===
952 2008-07-02 Matthias Clasen <mclasen@redhat.com>
954 * gfilemonitor.c: Fix the build.
956 2008-07-02 Matthias Clasen <mclasen@redhat.com>
958 Bug 536160 – Add g_file_monitor()
961 * gfile.[hc]: Add g_file_monitor which can return either
962 a file or a directory monitor. Proposed by Behdad Esfahbod
964 2008-07-02 Matthias Clasen <mclasen@redhat.com>
966 536733 – gio build failure on Irix
968 * glocalfile.c: Use a configure check for structfs.f_bavail.
970 2008-07-02 Matthias Clasen <mclasen@redhat.com>
972 Bug 534639 – add g_desktop_app_info_new_from_keyfile
975 * gdesktopappinfo.[hc]: Add a function to create a
976 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
978 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
980 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
982 2008-07-01 Matthias Clasen <mclasen@redhat.com>
984 * gunixmounts.c: Fix a doc typo.
986 2008-07-01 Cody Russell <bratsche@gnome.org>
988 * gio/gcontenttype.c:
989 * gio/gwin32appinfo.c:
990 * gio/gwin32volumemonitor.c:
991 * gio/gwin32mount.c: Fixed some include problems.
993 2008-07-01 Cody Russell <bratsche@gnome.org>
997 Moved all relevant typedefs into these files.
1000 Updated wrt added files.
1002 Split types into separate file for easier maintainership. (#538564)
1004 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1006 Bug 540331 – g_file_append_to () documentation: can return NULL
1008 * gfile.c (g_file_append_to): Clarify docs.
1009 Patch by Jared Moore
1011 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1013 Bug 539090 – g_content_type_from_mime_type() should unalias
1015 * gcontentype.c (g_content_type_from_mime_type): Unalias.
1016 Patch by Markus Bergman
1018 2008-06-30 Matthias Clasen <mclasen@redhat.com>
1020 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
1021 g_atomic_pointer_get
1023 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
1024 on ppc and alpha. Reported by Mart Raudsepp
1026 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1028 * tests/Makefile.am:
1029 * tests/memory-output-stream.c: Add some tests for
1030 GMemoryOutputStream.
1032 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1034 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
1037 * gmemoryoutputstream.c (array_resize): Handle truncation to
1038 zero correctly. Reported by Akira Tagoh
1040 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1042 * gmemoryoutputstream.c: Trivial doc fixes
1044 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1046 Bug 540802 – g_list_prepend doesn't concat lists
1048 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1049 one list to another. Pointed out by Jan Arne Petersen
1051 2008-06-28 Michael Natterer <mitch@imendio.com>
1053 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1055 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1057 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1058 to avoid problems with partial icon themes.
1060 2008-06-17 Hans Breuer <hans@breuer.org>
1062 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1063 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1064 access again on win32, see bug #538127
1065 * giomodule.c : ensure GWin32VolumeMonitor is registered
1066 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1067 * Makefile.am makefile.msc : updated
1069 2008-06-16 Hans Breuer <hans@breuer.org>
1071 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1072 and initialization in one step avoids c99ism
1074 2008-06-16 Christian Persch <chpe@gnome.org>
1077 * gio/gbufferedinputstream.c
1078 * gio/gcancellable.c
1079 * gio/gdatainputstream.c
1080 * gio/gdesktopappinfo.c
1082 * gio/gfileenumerator.c
1083 * gio/gfileinputstream.c
1084 * gio/gfileoutputstream.c
1085 * gio/ginputstream.c
1086 * gio/glocaldirectorymonitor.c
1088 * gio/glocalfileenumerator.c
1089 * gio/glocalfileinfo.c
1090 * gio/glocalfilemonitor.c
1091 * gio/glocalfileoutputstream.c
1092 * gio/gmemoryinputstream.c
1093 * gio/gmemoryoutputstream.c
1094 * gio/goutputstream.c
1095 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1098 2008-06-16 Tor Lillqvist <tml@novell.com>
1100 Bug 538362 - Get Win32 icons back in the file chooser
1102 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1103 corresponding to a file extension in the Registry. Patch by Hans
1105 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1107 2008-06-16 Tor Lillqvist <tml@novell.com>
1109 Patches by Hans Breuer:
1111 * glocalfile.c (is_xp_or_later): Handle compiling against older
1112 SDK headers with missing VerifyVersionInfo(). Conditioned on
1113 _MSC_VER, but should probably use some better test.
1114 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1115 uninitialised statfs_result variable on Win32.
1117 2008-06-16 Michael Natterer <mitch@imendio.com>
1119 * *.c: chain up unconditionally in finalize() and dispose(). Also
1120 don't dereference these function pointers when calling them since
1121 that has no meaning at all.
1123 2008-06-16 Ross Burton <ross@burtonini.com>
1125 * gfileenumerator.c:
1126 Remove check for dispose implementation as it annoys Emmanuele.
1128 2008-06-16 Ross Burton <ross@burtonini.com>
1130 Bug 536252 – GFileEnumerator should allow access to the containing
1133 * gfileenumerator.c:
1134 * gfileenumerator.h:
1136 Add g_file_enumerator_get_container() and a container writeable
1137 construct-only property. Also shuffle around typedefs to make it
1140 * glocalfileenumerator.c:
1141 * glocalfileenumerator.h:
1143 Instead of a string filename take a GFile in the constructor and
1144 use it to set the container property.
1147 Update with new API.
1149 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1151 * gfile.c: Make includes more uniform
1153 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1155 * tests/live-g-file.c (sample_struct):
1156 Use less fancy unicode filenames, so the test doesn't fail
1157 on Mac OS X (#531476).
1159 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1161 * === Released 2.17.2 ===
1163 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1165 * === Released 2.17.1 ===
1167 2008-06-11 A. Walton <awalton@gnome.org>
1169 * tests/g-file.c (test_g_file_new_null):
1170 Fix broken test case.
1172 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1174 * pltcheck.sh: We use g_clear_error now.
1176 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1178 * glocalfile.c (g_local_file_enumerate_children): Revert
1179 an unintended change.
1181 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1183 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1185 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1187 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1190 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1191 as icon for the desktop directory, also make user-home and
1192 user-desktop the preferred icons.
1194 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1197 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1198 to add a name to the front of the list.
1200 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1202 Bug 537392 – Additional colon in xattr name
1204 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1205 too. Reported by Alessandro Morandi
1207 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1209 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1212 * glocalfile.c (get_fs_type): Add afs and autofs.
1213 Patch by Danny Baumann.
1215 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1217 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1219 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1220 is no parent. (Owen Taylor, patch by Christian Neumair)
1222 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1224 * gfile.c (g_file_replace_contents): do not leak the output stream.
1226 2008-06-10 Michael Natterer <mitch@imendio.com>
1228 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1229 uninitialized memory as array index.
1231 2008-06-10 Tor Lillqvist <tml@novell.com>
1233 * gcontenttype.c (g_content_type_can_be_executable)
1234 (g_content_type_get_icon) [Win32]: Add TODO comments.
1236 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1238 * xdgmime/Makefile.am: Fix the build
1240 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1242 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1243 in the shared mime database, if available.
1245 * xdgmime/*: Sync with upstream. This brings support for
1246 glob weights, generic icons, and changes the cache format to
1249 2008-05-28 Michael Natterer <mitch@imendio.com>
1251 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1252 the global CPPFLAGS now.
1254 * tests/data-input-stream.c
1255 * tests/data-output-stream.c
1256 * tests/g-file-info.c
1258 * tests/live-g-file.c
1259 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1261 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1263 * === Released 2.17.0 ===
1265 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1266 doesn't complain about leftover files.
1268 2008-05-27 simon.zheng <simon.zheng@sun.com>
1270 * glocalfile.c: (g_local_file_query_filesystem_info):
1271 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1273 2008-05-26 Michael Natterer <mitch@imendio.com>
1275 * gmemoryoutputstream.h: declare
1276 g_memory_output_stream_get_data_size().
1278 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1280 * tests/*: Make tests work
1282 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1284 * gio.symbols: Add g_memory_output_stream_get_data_size.
1286 2008-05-25 Ross Burton <ross@burtonini.com>
1289 Fix typo in error message (#534764).
1291 2008-05-25 Ross Burton <ross@burtonini.com>
1294 Fix circular dependency loop for gioenumtypes.h (#534759).
1296 2008-05-19 Hans Breuer <hans@breuer.org>
1298 * Makefile.am : EXTRA_DIST += makefile.msc
1300 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1303 * gcontenttype.c: (g_content_type_from_mime_type):
1304 New function to create a content type from a mime type. (#527175,
1307 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1309 Bug 532965 – Should not return filesystem::free for certain file systems
1311 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1312 free space for ncpfs.
1314 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1316 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1318 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1319 st_dev might be zero.
1321 2008-05-16 Tor Lillqvist <tml@novell.com>
1323 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1324 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1326 2008-05-13 Bastien Nocera <hadess@hadess.net>
1328 * gfile.c (has_valid_scheme): A URI scheme must start with a
1329 letter, even if later more characters are allowed (#532852)
1331 2008-05-05 Michael Natterer <mitch@imendio.com>
1333 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1334 code from being checked in that breaks the build of applications
1335 which use G_DISABLE_SINGLE_INCLUDES.
1337 * makegioalias.pl: make the alias file include "glib.h" instead of
1340 * gio.symbols: whitespace change to force regeneration of the
1341 alias file after above script change.
1343 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1345 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1347 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1349 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1351 2008-04-28 David Zeuthen <davidz@redhat.com>
1353 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1354 displaying mounts in a subdirectory not accessible to the
1357 2008-04-22 Michael Natterer <mitch@imendio.com>
1359 * Makefile.am: fix library versioning (it was 0.0.0).
1361 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1363 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1364 Default disable all loggings.
1365 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1366 (port_fetch_event_cb): Fixed two macro nits.
1368 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1370 * xdgmime/xdgmime.c: Rework the timestamp checking code
1371 to protect against duplicate directories in XDG_DATA_DIRS.
1372 Fixes fd.o bug 12513, reported by Joe Shaw.
1374 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1376 Partically revert the last commit after realizing that
1377 xdg_mime_media_type_equal doesn't have to init at all.
1379 * xdgmime/xdgmime.h:
1380 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1382 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1384 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1386 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1387 reported by Joe Shaw and Federico Mena Quintero.
1389 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1390 (xdg_mime_media_type_equal): Turn into a wrapper around the
1393 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1394 functions throughout.
1396 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1398 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1399 tolerate an empty TryExec= line without failing; nautilus used
1400 to create launchers with these in previous versions. Fixes #528433
1402 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1404 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1405 after name. Fixes #527132.
1407 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1409 * gfile.c: (g_file_replace):
1412 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1414 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1416 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1417 by Christian Kellner.
1419 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1421 * gunixmounts.c: (g_unix_mount_guess_should_display):
1422 Don't list the user directory as a mount, fix potential issue
1423 when other users have a similar naming and don't special case the
1424 gvfs mounts there since that's not required (#525866)
1426 2008-03-31 Alexander Larsson <alexl@redhat.com>
1428 * glocalfile.c (get_parent):
1431 2008-03-31 A. Walton <awalton@svn.gnome.org>
1433 * gfile.c (g_file_query_file_type):
1434 Always return a GFileType enum value (#520715).
1436 2008-03-31 Alexander Larsson <alexl@redhat.com>
1438 * glocalfileenumerator.c:
1439 Read readdir() info in chunks (of 1000) and sort
1440 the chunks by inode before stat:ing.
1441 This is a 20% performance increase in testing
1442 gvfs-ls on /usr/bin with cold cache.
1444 2008-03-31 Alexander Larsson <alexl@redhat.com>
1446 * gmemoryoutputstream.c:
1447 Clarify docs for g_memory_output_stream_get_size.
1448 Add g_memory_output_stream_get_data_size.
1450 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1454 * gfile.h: Add g_file_query_file_type convenience function
1455 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1457 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1459 * gfileenumerator.c:
1460 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1462 2008-03-28 A. Walton <awalton@svn.gnome.org>
1464 * giomodule.c (_g_io_modules_ensure_loaded):
1465 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1468 2008-03-28 Alexander Larsson <alexl@redhat.com>
1471 (copy_stream_with_progress):
1474 2008-03-28 Alexander Larsson <alexl@redhat.com>
1477 (copy_stream_with_progress):
1478 (file_copy_fallback):
1479 Fallback to g_file_query_info for source size
1480 if g_file_input_stream_query_info fails. (#524579)
1482 2008-03-28 Alexander Larsson <alexl@redhat.com>
1484 * glocalfile.c (g_local_file_move):
1485 Reuse old string instead of adding new one.
1487 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1489 * fen/*.[hc]: still copyright issue. I hate copyright.
1491 2008-03-27 Alexander Larsson <alexl@redhat.com>
1493 * glocalfile.c (g_local_file_move):
1494 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1495 file over directory. This is according to the docs and what the move via
1496 copy+remove fallback does.
1498 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1500 * fen/*.[hc]: Updated copyright.
1502 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1504 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1506 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1508 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1509 not emit attribute changed events when optimizing changed events.
1510 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1513 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1515 * gmountoperation.[hc]: Small documentation additions
1517 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1519 * gunixmounts.c: (guess_mount_type):
1520 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1522 2008-03-19 Alexander Larsson <alexl@redhat.com>
1525 (copy_stream_with_progress):
1526 Bump block side for copy to 64k to minimize
1527 overhead for low latency links. (#523015)
1529 2008-03-16 Tor Lillqvist <tml@novell.com>
1531 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1532 depend on gio.def on Windows.
1534 2008-03-12 David Zeuthen <davidz@redhat.com>
1538 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1540 2008-03-14 Alexander Larsson <alexl@redhat.com>
1544 Avoid redudant tests (#521851)
1545 Patch from Josselin Mouette
1547 2008-03-14 Alexander Larsson <alexl@redhat.com>
1550 (g_file_monitor_is_cancelled):
1551 Fix C89 issue (#521672)
1552 Patch from Jens Granseuer
1554 2008-03-14 Alexander Larsson <alexl@redhat.com>
1556 * fam/fam-helper.[ch]:
1558 Shut down fam (including removing fam GSource) when
1559 module is unloaded (#521513)
1560 Patch from Joe Marcus Clarke
1562 2008-03-14 Alexander Larsson <alexl@redhat.com>
1565 (_g_io_modules_ensure_loaded):
1568 2008-03-14 Alexander Larsson <alexl@redhat.com>
1571 (g_local_file_query_filesystem_info):
1572 Use right define name for f_fstypename member check
1574 2008-03-14 Alexander Larsson <alexl@redhat.com>
1577 * fen/Makefile.am: Added.
1578 * fen/fen-data.[ch]: Added.
1579 * fen/fen-dump.[ch]: Added.
1580 * fen/fen-helper.[ch]: Added.
1581 * fen/fen-kernel.[ch]: Added.
1582 * fen/fen-missing.[ch]: Added.
1583 * fen/fen-node.[ch]: Added.
1584 * fen/fen-sub.[ch]: Added.
1585 * fen/gfendirectorymonitor.[ch]: Added.
1586 * fen/gfenfilemonitor.[ch]: Added.
1588 Added Solaris FEN file notification backend.
1589 Patch from Lin Ma <Lin.Ma@Sun.COM>
1591 2008-03-13 Tor Lillqvist <tml@novell.com>
1593 * Makefile.am: Actually use the gio.def file when linking the
1594 library on Windows. Produce .lib library for Microsoft's toolchain
1595 when possible. Install the .lib and .def file like for the other
1598 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1600 * tests/live-g-file.c:
1601 Include live-g-file in standard set of tests, making a temporary
1602 directory in source structure.
1604 Clean target directory before the tests (write mode only)
1606 2008-03-12 Tor Lillqvist <tml@novell.com>
1608 Bug 517419 - gio win32 directory monitor
1609 Implementation by Vlad Grecescu.
1612 * win32/gwin32directorymonitor.h
1613 * win32/gwin32directorymonitor.c: New files.
1615 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1617 * Makefile.am: Add the win32 subdirectory.
1619 2008-03-12 Tor Lillqvist <tml@novell.com>
1621 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1622 normal struct stat on Unix but struct _stati64 on Windows to have
1623 access to 64-bit file size information. Use that instead of struct
1624 stat in the functions declared here in this private header.
1626 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1627 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1628 warnings about unused functions and variables. Don't set
1629 meaningless attributes like inode numbers on Windows.
1631 2008-03-12 Benjamin Otte <otte@gnome.org>
1634 trim whitespace so gtk-doc groks the function name
1636 2008-03-12 Tor Lillqvist <tml@novell.com>
1638 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1639 returning FALSE, on Win32.
1641 2008-03-11 Alexander Larsson <alexl@redhat.com>
1644 * glocalfileinfo.[ch]:
1645 Correctly implement can_trash by actually
1646 looking for a trash dir, not just assuming
1649 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1651 * === Released 2.16.1 ===
1653 2008-03-11 Alexander Larsson <alexl@redhat.com>
1656 Fix crashes in new constructor and properties code
1658 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1660 * gfile.c: Minor spelling correction in documentation:
1661 existance -> existence.
1663 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1665 * === Released 2.16.0 ===
1667 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1669 * gio.symbols: Remove g_file_contains_file here, too.
1671 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1673 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1674 Samuel Cormier-Iijima)
1676 2008-03-08 Tor Lillqvist <tml@novell.com>
1678 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1681 2008-03-07 Alexander Larsson <alexl@redhat.com>
1684 (g_local_file_query_filesystem_info):
1685 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1686 Patch from Jasper Lievisse Adriaanse
1688 2008-03-06 Tor Lillqvist <tml@novell.com>
1690 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1691 comments for the *_USEC attributes.
1693 2008-03-06 Alexander Larsson <alexl@redhat.com>
1695 * gfile.c (g_file_query_exists):
1696 Add g_return_val_if_fail check (#520700)
1698 2008-03-06 Alexander Larsson <alexl@redhat.com>
1700 * gdesktopappinfo.c:
1703 * gunionvolumemonitor.c:
1706 * tests/live-g-file.c:
1707 * xdgmime/xdgmimecache.c:
1708 Fix sparse warnings (#519489)
1710 2008-03-05 Alexander Larsson <alexl@redhat.com>
1713 Make cancellation threadsafe (i.e.
1714 guarantee its only done once, and always
1717 * glocaldirectorymonitor.c:
1718 Make sure we the monitor lives while the
1719 mounts_changed callback is being called (#520484)
1721 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1723 * gbufferedinputstream.c: Fix typo in parameter
1726 2008-03-04 Alexander Larsson <alexl@redhat.com>
1729 Remove deprecated symbols we kept for one release.
1731 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1734 * goutputstream.c: Tiny documentation corrections.
1736 2008-03-03 Alexander Larsson <alexl@redhat.com>
1738 * gunionvolumemonitor.c:
1740 Fix the adopt_orphan_mount vfunc to take a
1741 volume_monitor reference in an ABI compat way.
1742 This change is not API compat, but the added
1743 arg is not used in the only user of this vfunc, so
1744 all we get is a harmless warning in gvfs (#520169)
1746 2008-03-01 Benjamin Otte <otte@gnome.org>
1749 clarify docs for g_file_delete().
1751 2008-02-29 Alexander Larsson <alexl@redhat.com>
1755 Make sure empty files get text/plain type (#518720)
1757 2008-02-27 Alexander Larsson <alexl@redhat.com>
1763 (g_unix_volume_mount):
1764 Add missing GMountMountFlags argument
1766 2008-02-26 Alexander Larsson <alexl@redhat.com>
1769 (g_local_file_delete):
1770 Handle filesystems (like ntfs-3g) that return EEXIST instead
1771 of ENOTEMPTY (#518816)
1773 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1775 * === Released 2.15.6 ===
1777 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1779 * gfile.c (g_file_find_enclosing_mount):
1780 * ginputstream.c (g_input_stream_set_pending):
1781 * glocalfile.c (g_local_file_find_enclosing_mount):
1782 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1783 * goutputstream.c (g_output_stream_set_pending):
1785 Fixup translator comments (#518578).
1787 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1789 * gfile.c (g_file_find_enclosing_mount):
1791 * glocalfile.c (g_local_file_find_enclosing_mount):
1794 Fix a few typos in translator comments and documentation.
1796 2008-02-25 Alexander Larsson <alexl@redhat.com>
1803 Add translator comments (#518578)
1805 2008-02-25 Alexander Larsson <alexl@redhat.com>
1808 Reintroduce g_file_contains_file, keep around for one
1809 unstable release cycle to avoid crashing to many apps.
1810 Make sure to delete after release.
1812 2008-02-25 Alexander Larsson <alexl@redhat.com>
1815 Remove deprecated g_file_contains_file.
1817 2008-02-25 Alexander Larsson <alexl@redhat.com>
1820 Emit actual change signals in an idle handler.
1821 This avoids reentrance and locking problems in
1822 the file notification backends.
1824 2008-02-25 Alexander Larsson <alexl@redhat.com>
1827 (g_unix_mount_guess_should_display):
1828 Remove type guessing, instead just display
1829 mounts in /media and in ~/.
1831 2008-02-25 Alexander Larsson <alexl@redhat.com>
1834 Make new strings reuse old ones.
1836 2008-02-25 Alexander Larsson <alexl@redhat.com>
1839 Implement trashing and filesystem::readonly for win32 (#517235)
1840 Patch from Yevgen Muntyan
1842 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1844 * gfileinfo.h: Documentation fixes.
1846 2008-02-22 Alexander Larsson <alexl@redhat.com>
1848 * gcontenttype.c (g_content_type_get_icon):
1849 Look at old-style gnome mime icon names too, as many
1850 have not moved to the new style.
1852 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1854 * *.c: Correct the @include in for section docs.
1856 2008-02-21 David Zeuthen <davidz@redhat.com>
1858 * glocalfileinfo.c: (_g_local_file_info_get):
1860 (g_content_type_get_icon): Implement this function by
1861 moving bits from glocalfileinfo.c
1862 (g_content_type_get_description): Unalias before getting
1863 description (#517687)
1865 * gfile.c: (g_file_class_init),
1866 (g_file_query_filesystem_info_async),
1867 (g_file_query_filesystem_info_finish),
1868 (query_filesystem_info_data_free),
1869 (query_filesystem_info_async_thread),
1870 (g_file_real_query_filesystem_info_async),
1871 (g_file_real_query_filesystem_info_finish):
1872 * gfile.h: Implement async version of
1873 g_file_query_filesystem_info()
1875 * gfileinfo.h: Add new attributes for filesystem::use-preview
1877 * gio.symbols: Update
1879 * gthemedicon.c: (g_themed_icon_append_name):
1880 * gthemedicon.h: Add new new convenience function.
1882 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1883 (get_mounts), (get_volumes), (get_connected_drives),
1884 (get_volume_for_uuid), (get_mount_for_uuid),
1885 (g_union_volume_monitor_init), (populate_union_monitor),
1886 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1887 (g_volume_monitor_adopt_orphan_mount):
1889 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1890 monitor implementations to call into the main volume monitor. Also
1891 separate object initialization and volume monitor initialization
1892 such that non-native volume monitors can properly adopt their
1895 2008-02-21 Alexander Larsson <alexl@redhat.com>
1900 2008-02-21 Alexander Larsson <alexl@redhat.com>
1903 Add more documentation about how GFiles work (from #517086)
1905 2008-02-21 Alexander Larsson <alexl@redhat.com>
1909 Add new g_file_has_prefix that does the same as g_file_contains_file.
1910 Deprecate g_file_contains_file and add a macro that converts
1911 it to g_file_has_prefix.
1912 The reason for this change is that the contains_file() name seems to
1913 imply that this does more work than what it does, but its really only
1914 a name match (from #517086)
1919 Update to match the above change.
1921 2008-02-20 Benjamin Otte <otte@gnome.org>
1923 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1924 (g_file_eject_mountable):
1925 even more cases of not returning in error path
1927 2008-02-20 Benjamin Otte <otte@gnome.org>
1929 * gfile.c: (g_file_mount_mountable):
1930 return from function in error path.
1932 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1935 Remove trailing coma in GMountMountFlags struct
1937 2008-02-18 Alexander Larsson <alexl@redhat.com>
1941 * glocalfileoutputstream.c:
1942 Use g_unlink/g_rename instead of unlink/rename;
1943 do not pass raw filenames to g_set_error. (#517239)
1944 Patch from Yevgen Muntyan.
1946 2008-02-18 Alexander Larsson <alexl@redhat.com>
1949 * glocalfileoutputstream.c:
1950 Open files with O_BINARY on windows. (#517140)
1952 2008-02-14 Alexander Larsson <alexl@redhat.com>
1954 * glocalfileoutputstream.c:
1955 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1957 2008-02-14 Alexander Larsson <alexl@redhat.com>
1960 Copy permissions with file on copy (#514084)
1961 This is what cp does and makes sure e.g. the
1962 exec permissions are kept.
1963 Its kinda weird in that it keeps the permission bits
1964 the same while the uid and gid are different. However
1965 the new uid is the user so its not a security issue,
1966 and I've heard no complaints about cp on this issue.
1968 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1970 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1972 2008-02-13 Alexander Larsson <alexl@redhat.com>
1974 * inotify/inotify-path.c:
1975 Define IN_ONLYDIR if not in header (#515346)
1977 2008-02-12 Alexander Larsson <alexl@redhat.com>
1979 * tests/live-g-file.c:
1982 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1984 * === Released 2.15.5 ===
1986 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1988 * gio.symbols: Add g_mount_mount_flags_get_type.
1990 2008-02-11 Alexander Larsson <alexl@redhat.com>
1993 (g_file_info_set_attribute_mask):
1994 (g_file_attribute_matcher_matches_id):
1995 Correctly handle NULL GAttributeMatcher meaning
1996 matches nothing. (Fixes #513492)
1998 2008-02-11 Alexander Larsson <alexl@redhat.com>
2003 Added GMountMountFlags enum and added a flags
2004 argument to all mount calls.
2006 This is an API/ABI change for future extensibility,
2007 as I think we will need at least an
2008 inhibit-autorun flag (the panel needs this).
2009 There are no flags defined yet though.
2011 2008-02-11 Alexander Larsson <alexl@redhat.com>
2014 Added new standard::description attribute.
2015 Requested by Vincent, and useful for both
2018 2008-02-11 Alexander Larsson <alexl@redhat.com>
2020 * gdesktopappinfo.c:
2023 2008-02-11 Matthias Clasen <mclasen@redhat.com>
2025 * *.c: Documentation additions
2027 2008-02-10 Matthias Clasen <mclasen@redhat.com>
2029 * gappinfo.h: Formatting cleanup
2030 * gappinfo.c: Fix up docs.
2032 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2034 * gunixmounts.c: Consistently use getmntent_r() and fall
2035 back to getmntent(). (#515492)
2037 2008-02-09 Matthias Clasen <mclasen@redhat.com>
2039 * gbufferedinputstream.c:
2041 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2043 * tests/data-input-stream.c:
2044 * tests/data-output-stream.c: Portability fixes.
2046 2008-02-08 Alexander Larsson <alexl@redhat.com>
2051 Add g_volume_should_automount.
2054 2008-02-07 Tor Lillqvist <tml@novell.com>
2056 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2057 Win32, too Unix-specific.
2059 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2061 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2062 a local plt if the compiler doesn't support what we want. Bug #514702
2064 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2066 reviewed by: <delete if not using a buddy>
2069 * gunixinputstream.c:
2070 * gunixoutputstream.c:
2072 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2074 * tests/Makefile.am:
2075 * tests/live-g-file.c:
2076 * tests/live-g-file.txt:
2077 New GIO testing module working over real data
2079 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2081 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2082 Fallback to rename() if link() is not available
2083 (when no support on target filesystem)
2085 2008-02-06 Michael Natterer <mitch@imendio.com>
2087 * gfileinfo.c (g_file_info_get_icon): replace
2088 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2090 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2092 * gfile.c (g_file_create):
2093 Documentation update of error codes
2095 2008-02-06 Alexander Larsson <alexl@redhat.com>
2097 * gdesktopappinfo.c:
2098 Update to use both mimeapps.list and
2099 defaults.list as discussed on xdg list.
2101 2008-02-06 Benjamin Otte <otte@gnome.org>
2104 * gfilenamecompleter.c:
2105 Fix some typos in the documentation.
2107 2008-02-06 Alexander Larsson <alexl@redhat.com>
2109 * glocalfile.c (g_local_file_trash):
2110 Don't succeed with trash if newly created
2111 trash dir has the wrong owner. (#514696)
2113 2008-02-05 Alexander Larsson <alexl@redhat.com>
2115 * glocalfile.c (g_local_file_move):
2116 Don't spew warnings when destination is not
2119 2008-02-03 Hans Breuer <hans@breuer.org>
2121 * makefile.msc : update
2123 2008-02-01 Michael Natterer <mitch@imendio.com>
2125 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2126 return value of xdg_mime_list_mime_parents() to a variable of the
2129 2008-02-01 Alexander Larsson <alexl@redhat.com>
2131 * gappinfo.c (g_app_info_launch_uris):
2132 Actually call the launch_uris method, not
2135 2008-02-01 Alexander Larsson <alexl@redhat.com>
2137 * gdesktopappinfo.c (g_desktop_app_info_equal):
2138 Ensure appinfos with no id but same pointer value
2141 2008-02-01 Alexander Larsson <alexl@redhat.com>
2143 * gappinfo.c (g_app_info_launch_default_for_uri):
2146 2008-02-01 Alexander Larsson <alexl@redhat.com>
2150 Add g_app_info_launch_default_for_uri utility
2153 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2155 * gdesktopappinfo.c:
2156 Doc fix for g_app_info_get_default_for_uri_scheme ()
2159 2008-01-30 Alexander Larsson <alexl@redhat.com>
2162 Add doc comment about uris vs GFiles to
2165 * gdesktopappinfo.c:
2166 Ensure uris passed to g_app_info_launch_uris()
2167 are not roundtriped through GFile (as that
2168 may be slightly destructive for e.g. mailto: links)
2170 2008-01-30 Alexander Larsson <alexl@redhat.com>
2172 * tests/data-input-stream.c:
2173 * tests/data-output-stream.c:
2174 C89 fixes from Jens Granseuer (#512849)
2176 2008-01-30 Alexander Larsson <alexl@redhat.com>
2179 Fix gamin/fam difference build issue. (#509419)
2181 2008-01-29 Alexander Larsson <alexl@redhat.com>
2184 * gdesktopappinfo.c:
2185 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2187 2008-01-29 Alexander Larsson <alexl@redhat.com>
2189 * gdesktopappinfo.c:
2190 * gdesktopappinfo.h:
2191 giomodule-priv.h include moved to .c file.
2193 2008-01-29 Alexander Larsson <alexl@redhat.com>
2195 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2196 Remove unused prio/name fields.
2198 2008-01-29 Alexander Larsson <alexl@redhat.com>
2200 * gcontenttype.c (looks_like_text):
2201 Don't treat whitespace as control chars.
2203 2008-01-29 Alexander Larsson <alexl@redhat.com>
2205 * gdesktopappinfo.c:
2206 Lazily create the desktop files for appinfos created
2207 by g_app_info_create_from_commandline() when needed
2208 for mime associations. This allows run-time use
2209 of GAppInfo object without creating unnecessary
2212 2008-01-29 Alexander Larsson <alexl@redhat.com>
2215 Added new symbols to gio.symbols
2217 2008-01-29 Alexander Larsson <alexl@redhat.com>
2220 Add g_file_query_default_handler utility to easily look up
2221 the GAppInfo that handles a file.
2223 * gdesktopappinfo.[ch]:
2225 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2228 Remove unused function
2230 2008-01-29 Alexander Larsson <alexl@redhat.com>
2232 * gfileenumerator.c:
2233 Mention need to free returned value in
2234 g_file_enumerator_next_files_finish docs.
2235 Fix leak if g_file_enumerator_next_files_finish()
2238 2008-01-29 Alexander Larsson <alexl@redhat.com>
2241 (_g_unix_content_type_get_parents):
2242 Use list_parents, not get_parents from xdgmime, because
2243 the later doesn't use the cache.
2245 * xdgmime/xdgmimecache.c:
2246 (_xdg_mime_cache_list_mime_parents):
2247 Don't list the same type as parent multiple times.
2249 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2251 * === Released 2.15.4 ===
2253 2008-01-28 Alexander Larsson <alexl@redhat.com>
2256 Register local vfs with prio 0.
2259 Remove old name and prio class members
2261 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2263 * tests/g-file.c: Disable some tests that are failing in
2264 the absence of a http backend.
2266 2008-01-28 Alexander Larsson <alexl@redhat.com>
2270 Add registration hooks for extension points.
2271 Register the gio extension points.
2273 * fam/gfamdirectorymonitor.c:
2274 * fam/gfamfilemonitor.c:
2275 * glocaldirectorymonitor.[ch]:
2276 * glocalfilemonitor.[ch]:
2277 * gnativevolumemonitor.h:
2278 * gunionvolumemonitor.c:
2279 * gunixvolumemonitor.c:
2282 * inotify/ginotifydirectorymonitor.c:
2283 * inotify/ginotifyfilemonitor.c:
2284 Use the extension points registration instead
2285 of g_type_children().
2287 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2290 * gvolume.[hc]: Document new API.
2292 * gfile.c (g_file_copy_async): Fix docs
2294 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2296 * gbufferedinputstream.c:
2298 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2301 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2303 * glocalfile.c: Avoid trivial differences in translatable strings.
2305 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2307 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2308 build with gcc 3.4 (#509419)
2310 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2312 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2313 (#509994, Murray Cumming)
2315 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2317 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2318 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2319 this allows big jobs to be executed in chunks, instead of blocking
2320 the main loop for a long time.
2322 * gsimpleasyncresult.c:
2323 * giofile.c: Adapt callers.
2325 2008-01-25 Alexander Larsson <alexl@redhat.com>
2327 * gdesktopappinfo.c:
2328 Implement changes discussed on xdg list.
2329 Now we can add supported mimetypes by just using defaults.list
2330 We can also remove associations in defaults.list.
2332 2008-01-25 Alexander Larsson <alexl@redhat.com>
2334 * gdesktopappinfo.c:
2335 Don't make local copy of desktop file
2336 for mimetype changes if the file already
2337 supports the new mimetype.
2339 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2343 * gbufferedinputstream.c:
2344 * glocalfile.c: String improvements. (#511966,
2345 Theppitak Karoonboonyanan)
2347 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2349 * gioscheduler.h: Expand docs a bit.
2351 2008-01-24 Alexander Larsson <alexl@redhat.com>
2354 Add g_drive_get_identifier and
2355 g_drive_enumerate_identifiers
2358 Add g_volume_get_identifier and
2359 g_volume_enumerate_identifiers
2365 Implement identifiers for unix backend
2367 2008-01-24 Alexander Larsson <alexl@redhat.com>
2372 Add g_file_copy_async() (#511580)
2373 Based on patch from Carlos Garcia Campos
2375 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2377 * gioscheduler.c: Some documentation additions.
2379 2008-01-22 Alexander Larsson <alexl@redhat.com>
2381 * gdesktopappinfo.c:
2382 (g_desktop_app_info_new):
2383 Don't leak basename.
2385 2008-01-22 Alexander Larsson <alexl@redhat.com>
2387 * gdesktopappinfo.c:
2388 (g_desktop_app_info_new_from_filename):
2391 2008-01-22 Alexander Larsson <alexl@redhat.com>
2393 * glocalfileinfo.c (get_thumbnail_attributes):
2396 2008-01-22 Alexander Larsson <alexl@redhat.com>
2399 (canonicalize_filename):
2400 Canonicalize paths that start with more than
2404 (compare_two_files):
2405 (test_g_file_new_for_path):
2408 2008-01-22 Alexander Larsson <alexl@redhat.com>
2411 Allow UTF-8 in file:// parse names.
2413 * tests/Makefile.am:
2414 * tests/data-input-stream.c:
2415 * tests/data-output-stream.c:
2416 * tests/g-file-info.c:
2418 Added a bunch of tests from Tomas Bzatek
2420 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2422 * === Released 2.15.3 ===
2424 2008-01-21 Alexander Larsson <alexl@redhat.com>
2426 * gfileinputstream.[ch]:
2427 * gfileoutputstream.[ch]:
2429 Remove duplicated GSeekable functions. (#509990)
2430 Just use the g_seekable_xxx() calls instead.
2432 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2435 * gvolumemanager.c: Whitespace cleanups.
2437 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2438 Use the right mode when creating the file.
2440 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2442 * gfileenumerator.c:
2443 * gfileinputstream.c:
2445 * goutputstream.c: Documentation: Fixed minor typos
2446 and added more mentions of specific _finish() functions.
2448 2008-01-21 Alexander Larsson <alexl@redhat.com>
2450 * inotify/Makefile.am:
2451 * inotify/inotify-helper.c:
2452 * inotify/inotify-kernel.c:
2453 * inotify/inotify-path.c:
2454 * inotify/local_inotify.h: Removed.
2455 * inotify/local_inotify_syscalls.h: Removed.
2456 Removed the included copies of the inotify
2457 headers. We now only use the <sys/inotify.h>
2458 header which exists on modern systems.
2459 This fixes problems on ARM and SH5 (#510448)
2460 but is also generally much cleaner and future
2461 safe. For instance, if other OSes add support
2462 for inotify it should "just work".
2464 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2466 * inotify/*.c: Coding style fixes.
2467 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2468 for the 1/4 Hz timer.
2470 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2473 * gfilemonitor.[hc]:
2474 * gmemoryinputstream.c:
2475 * gmemoryoutputstream.c:
2476 * gmountoperation.c:
2477 * gthemedicon.c: Documentation updates
2479 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2481 * gfile.c: documentation: Fixed more minor
2484 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2486 * gmount.c: (g_mount_remount): documentation:
2487 Mention g_mount_remount_finish() instead of
2488 g_mount_unmount_finish().
2490 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2494 * gfile.c: Fixed some minor typos in the
2497 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2499 * gio/gvolumemonitor.c:
2500 (g_volume_monitor_get_connected_drives):
2501 (g_volume_monitor_get_volumes):
2502 (g_volume_monitor_get_mounts): Documentation:
2503 Clarify the ownership of the regurn GLists.
2505 2008-01-17 Alexander Larsson <alexl@redhat.com>
2508 Add the async find_enclosing_mount version
2509 to the header file too.
2511 2008-01-17 Alexander Larsson <alexl@redhat.com>
2514 Add async version of find_enclosing_mount
2515 with default implementation.
2517 2008-01-17 Alexander Larsson <alexl@redhat.com>
2522 Allow calls to implementation of copy and write
2523 even if the type of the file implementations is
2524 different. This can be used to implement native
2525 upload and download calls in a vfs.
2528 (g_local_file_move):
2529 Protect against the case where move is called
2530 with one file not being local.
2532 Make sure we call the progress callback once
2533 in the native move operation so that the caller
2534 knows how many bytes were copied.
2536 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2539 * gdatainputstream.c:
2541 * gfileoutputstream.c:
2546 * gunixmounts.c: Corrected some typos in the documentation:
2547 occured -> occurred.
2548 its -> it's (where appropriate).
2550 2008-01-16 Alexander Larsson <alexl@redhat.com>
2554 Add g_file_query_exists (#508771)
2556 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2561 * gvolume.c: For async functions that have no non-async
2562 version, document that the GAsyncReadyCallback may be NULL.
2565 2008-01-15 Alexander Larsson <alexl@redhat.com>
2567 * gmemoryinputstream.c:
2568 * gmemoryoutputstream.c:
2569 Don't do pointer arithmetic on void * (#508602)
2570 Patch from Kazuki IWAMOTO
2572 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2574 * === Released 2.15.2 ===
2576 2008-01-14 Alexander Larsson <alexl@redhat.com>
2578 * gfile.c (g_file_monitor_file):
2579 Don't set error here, since we fallback to polling monitor.
2581 2008-01-14 Alexander Larsson <alexl@redhat.com>
2584 (g_file_monitor_directory):
2585 (g_file_monitor_file):
2586 Add GError to file monitor calls
2588 * glocaldirectorymonitor.c:
2589 * glocaldirectorymonitor.h:
2591 * glocalfilemonitor.c:
2592 * glocalfilemonitor.h:
2594 Update for above change
2596 2008-01-14 Alexander Larsson <alexl@redhat.com>
2600 Handle root correctly in g_file_get_relative_path (#508719)
2602 2008-01-14 Alexander Larsson <alexl@redhat.com>
2605 Clean up docs and example for GAsyncResult (#508074)
2607 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2609 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2610 and correct some spelling mistakes. Bug #508108.
2612 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2614 * glocalfileinfo.c: Add a comment.
2616 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2618 * gfileinfo.c: GFileInfo description: Mention
2619 how to actually set attributes in a GFile and how to discover
2620 which attributes are settable. Bug #508378.
2622 2008-01-10 A. Walton <awalton@svn.gnome.org>
2624 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2625 (g_app_info_get_default_for_type):
2626 Check for NULL content types.
2628 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2630 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2632 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2634 * gfile.c: *_async() functions: Several small corrections
2635 to the documentation, mostly correcting copy/paste errors
2636 and improving some sentences.
2638 2008-01-09 Dan Winship <danw@gnome.org>
2640 * glocalfile.c (get_unique_filename): x86_64 fix
2642 2008-01-09 Alexander Larsson <alexl@redhat.com>
2647 Add g_unix_mount_guess_should_display and use
2648 for unix volume monitor backend.
2649 This means we more or less show what the
2650 gnome-vfs backend did.
2651 Based on patch from Padraig O'Briain
2653 2008-01-09 Alexander Larsson <alexl@redhat.com>
2657 Add g_themed_icon_new_with_default_fallbacks
2660 Use default fallbacks for icons
2662 2008-01-09 Alexander Larsson <alexl@redhat.com>
2665 * gmountoperation.[ch]:
2666 Change the API a bit so that unhandled methods
2667 get reported via the reply, rather than by
2668 the signal emission return value. This is because
2669 some handlers can't know this immediately without
2670 doing I/O, and this is an async operation that
2673 2008-01-09 Alexander Larsson <alexl@redhat.com>
2676 * fam/gfamdirectorymonitor.c:
2677 * fam/gfamfilemonitor.c:
2678 Fix double free crash (#508224)
2679 Patch from Joe Marcus Clarke
2681 008-01-07 Matthias Clasen <mclasen@redhat.com>
2683 * === Released 2.15.1 ===
2685 2008-01-07 Alexander Larsson <alexl@redhat.com>
2687 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2688 Fix warning (#507835)
2690 2008-01-07 Alexander Larsson <alexl@redhat.com>
2693 Pass --internal to glib-genmarshal
2696 * gmountoperation.c:
2698 Use better types for signal arguments (#507822)
2700 2008-01-07 Alexander Larsson <alexl@redhat.com>
2703 Build test subdir after .
2704 Remove gdirectorymonitor.[ch]
2706 * gdirectorymonitor.[ch]:
2710 Remove GDirectoryMonitor and make
2711 GFileMonitor the baseclass for both file and
2712 directory monitors. Lift the more generic
2713 rate limiting code from GDirectoryMonitor
2717 * fam/gfamdirectorymonitor.[ch]:
2718 * inotify/ginotifydirectorymonitor.[ch]:
2719 * inotify/inotify-helper.c:
2720 * glocaldirectorymonitor.[ch]:
2723 Update for the removed GDirectoryMonitor.
2725 * gmemoryoutputstream.c:
2726 Remove ununsed variable
2728 2008-01-07 Alexander Larsson <alexl@redhat.com>
2730 * gmemoryinputstream.c:
2731 Translate error strings
2734 * gmemoryoutputstream.[ch]:
2735 New implementation that avoids using GByteArray
2736 in implementation and API. (#506377)
2738 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2740 * tests/*: Add a test for memory input streams.
2742 * Makefile.am: Add tests to SUBDIRS.
2744 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2746 * glocalfilemonitor.c:
2747 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2750 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2752 * gdesktopappinfo.c: Fix a docs typo.
2754 * gfileattribute.c: Add information about extended attributes
2755 to the documentation. (#505058)
2757 2008-01-04 Alexander Larsson <alexl@redhat.com>
2760 * gmountoperation.c:
2761 Use the right type (uint) for the ask_password signal.
2763 2008-01-04 Alexander Larsson <alexl@redhat.com>
2768 Add g_app_info_supports_files()
2769 Remove desktop arg from g_app_info_should_show().
2771 * gdesktopappinfo.[ch]:
2772 Implement g_app_info_supports_files() and new should_show()
2773 Add g_desktop_app_info_set_desktop_env() to set the desktop
2774 for should_show(). (This will be set by gtk+ later)
2776 2008-01-04 Alexander Larsson <alexl@redhat.com>
2779 * gmemoryinputstream.[ch]:
2780 Improve API so that you can use multiple chunks
2781 of memory and custom destroy functions. (#506374)
2783 2008-01-03 Alexander Larsson <alexl@redhat.com>
2786 Handle NULL attribute matchers safely, as we return this
2787 for empty attribute matcher strings.
2789 2008-01-03 Alexander Larsson <alexl@redhat.com>
2791 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2792 Add /usr/local to list of internal mountpoints
2794 2008-01-03 Alexander Larsson <alexl@redhat.com>
2797 Check for HAVE_LCHOWN (#505887)
2799 2008-01-03 Alexander Larsson <alexl@redhat.com>
2803 Add define for selinux context attribute.
2804 Fix missing : -> :: namespace separator change
2805 Fix missing _ -> - name change for xattr-sys.
2808 2008-01-03 Alexander Larsson <alexl@redhat.com>
2811 Link to libglib and libgobject directly (#504879)
2812 Patch from Sebastien Bacher
2814 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2816 * gfile.c: Expanded the g_file_new_for_commandline_arg
2817 description a bit, based on the code and the docs of the
2818 other g_file_new_for_* functions.
2820 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2822 * gfilemonitor.h: Fixed typo in docs.
2824 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2826 Updates to GIO documentation. (#506395, Mikael Hermansson)
2828 * gcontenttype.c: Describe memory management for return value of
2829 g_content_types_get_registered(). Missing piece from #505815.
2830 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2831 GVolume, GDrive, GMounts, which hopefully gives the user less
2832 confusions when using this API. Following explainations from
2833 Alexander Larsson on gtk-devel-list.
2835 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2837 * gfileinfo.c: Expand the long description.
2839 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2842 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2843 fix builds with --disable-visibility. (#500273, Christian Persch)
2845 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2847 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2848 in the list of returned app infos.
2850 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2852 * gappinfo.c: Fix a cross-reference
2854 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2856 * gfileinputstream.c:
2857 * gfileoutputstream.c:
2861 * gdesktopappinfo.c:
2863 * gfileinfo.c: Documentation updates.
2865 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2867 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2870 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2872 * gcontenttype.c (g_content_types_get_registered): Don't return
2873 freed memory (#505815, Mikael Hermansson)
2875 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2877 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2878 used to detect statbuf->st_blocks. (#505042)
2880 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2882 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2883 environment handling. (#504829, Cosimo Cecchi)
2885 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2887 * gappinfo.c: Doc improvements
2889 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2892 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2894 * === Released 2.15.0 ===
2896 2007-12-20 Hans Breuer <hans@breuer.org>
2898 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2899 with symbols gwin32appinfo.obj, added gmount.obj
2900 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2902 2007-12-20 Alexander Larsson <alexl@redhat.com>
2908 * gfilenamecompleter.c:
2911 * gpollfilemonitor.c:
2912 File attribute renames:
2914 fs:: -> filesystem::
2915 id::fs -> id::filesystem
2917 2007-12-20 Alexander Larsson <alexl@redhat.com>
2926 Add GMountUnmountFlags to all unmount and
2928 Add g_mount_remount() call.
2930 2007-12-20 Alexander Larsson <alexl@redhat.com>
2932 * gvfs.c (get_default_vfs):
2933 Fix unused variable warning
2935 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2937 * pltcheck.sh: Update
2939 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2941 * gunionvolumemonitor.c:
2942 * gunixmount.c: Remove C99 comments
2944 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2946 * gio.symbols: Add some missing symbols
2948 2007-12-19 Alexander Larsson <alexl@redhat.com>
2951 Make g_io_modules_load_all_in_directory not unuse
2952 loaded modules so that users of it can do stuff
2954 Init internal "module" types.
2955 Initialize static prio and name for types so that
2956 we don't have to load modules to get it.
2958 * gnativevolumemonitor.h:
2960 Move is_supported to parent class so that
2961 non-native monitors can avoid being initialized
2962 too. (For instance GDaemonVolumeMonitor if we're
2963 not using GDaemonVfs.)
2965 * glocaldirectorymonitor.[ch]:
2966 * glocalfilemonitor.[ch]:
2967 * gunionvolumemonitor.c:
2968 * gunixvolumemonitor.c:
2970 Find plugins using the static prio+name to
2971 avoid unnecessarily loading the modules.
2973 2007-12-19 Alexander Larsson <alexl@redhat.com>
2978 2007-12-19 Alexander Larsson <alexl@redhat.com>
2980 * gunionvolumemonitor.c:
2981 Store the native type as GType, not class so that
2982 we can unload it. But still avoid unnecessarily
2985 2007-12-19 David Zeuthen <davidz@redhat.com>
2987 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2988 add signals 'disconnected' and 'eject-button' on GDrive. Add
2989 signal 'removed' on GVolume and 'unmounted' on GMount.
2991 * gdrive.c: (g_drive_base_init):
2993 * gfile.c: (g_file_mount_mountable),
2994 (g_file_mount_enclosing_volume):
2997 * gmount.c: (g_mount_base_init):
2999 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
3000 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
3001 * gvolume.c: (g_volume_base_init), (g_volume_mount):
3005 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3007 * *.c: Fix up includes in the section docs.
3009 2007-12-17 Alexander Larsson <alexl@redhat.com>
3011 * gnativevolumemonitor.h:
3012 * gunionvolumemonitor.c:
3013 * gunixvolumemonitor.c:
3014 Add is_supported() to GNativeVolumeMonitorClass so
3015 that we can avoid having to create an object to see
3016 if the backend is supported at runtime.
3017 Also add name member and an env var to pick a specific
3018 volume monitor backend.
3022 Add cancellable to _g_mount_get_for_mount_path()
3024 * glocaldirectorymonitor.c:
3025 * glocalfilemonitor.c:
3026 Avoid loading and unloading modules while sorting.
3028 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3031 * gunixmounts.[hc]: Namespace waste reduction, move some
3032 g_get_unix_mount functions to the g_unix_mount namespace.
3035 * gunixvolumemonitor.c:
3037 * glocaldirectorymonitor.c: Update all callers.
3039 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
3041 2007-12-17 Alexander Larsson <alexl@redhat.com>
3044 Add doc comments about what GFile operations are
3045 guaranteed to not block.
3047 2007-12-17 Alexander Larsson <alexl@redhat.com>
3050 Add missing #ifdef fixing OSX build.
3051 (#503334, patch from Richard Hult)
3053 2007-12-14 David Zeuthen <davidz@redhat.com>
3057 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3058 (g_mount_eject), (g_mount_eject_finish):
3060 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3061 (get_volume_for_uuid), (get_mount_for_uuid),
3062 (g_union_volume_monitor_class_init),
3063 (get_default_native_type_with_exclude), (get_default_native_type),
3064 (get_native_type), (update_native_type),
3065 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3066 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3067 (g_unix_mount_can_eject), (eject_unmount_cb),
3068 (eject_unmount_read_error), (eject_unmount_do),
3069 (g_unix_mount_unmount), (g_unix_mount_eject),
3070 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3071 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3072 (g_unix_mount_point_guess_can_eject):
3074 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3075 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3076 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3077 (g_unix_volume_mount), (g_unix_volume_eject),
3078 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3079 * gunixvolumemonitor.c: (get_volume_for_uuid),
3080 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3082 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3083 (g_volume_eject), (g_volume_eject_finish):
3085 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3086 (g_volume_monitor_get_mount_for_uuid):
3089 Provide eject() on both GMount and GVolume and utility functions
3090 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3091 ejected. Introduce the concept of UUID's and wire it into GVolume
3092 and GMount and provide API on GVolumeMonitor to find such
3093 instances. Also handle the case where an external
3094 GNativeVolumeMonitor fails to initialize. Lock around the
3095 _g_get_mount_for_mount_path() function such that volume monitor
3096 implementations won't have to do locking themselves.
3098 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3100 * gdesktopappinfo.c:
3106 * gvolume.h: Documentation updates
3108 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3111 * gfile.h: Doc updates
3113 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3116 * gdesktopappinfo.c: Use hash table iterators.
3118 2007-12-14 Alexander Larsson <alexl@redhat.com>
3121 * gfileattribute.[ch]:
3122 * gfileattribute-priv.h:
3123 Move GFileAttributeValue to a private header, as
3127 Make set_attribute take a type + a pointer instead
3128 of a GFileAttributeValue.
3131 Fix up for above changes.
3132 Add g_file_info_get_attribute_data to get
3133 all info in one call, g_file_info_get_attribute_status
3134 to get the status and g_file_info_get_attribute_as_string.
3138 * glocalfileinfo.[ch]:
3142 Make _guess_type static.
3144 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3147 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3148 made mkenums and friends use temporary files to avoid leaving
3149 empty generated files on failure (#503470).
3151 2007-12-14 Alexander Larsson <alexl@redhat.com>
3153 * gmountoperation.h:
3156 2007-12-14 Alexander Larsson <alexl@redhat.com>
3160 * gfileattribute.[ch]:
3163 * glocalfileoutputstream.c:
3164 * gmountoperation.[ch]:
3165 * goutputstream.[ch]:
3166 Clean up all flags enums to not have _FLAGS in them
3167 Make the names of some of the enums better.
3172 2007-12-14 Michael Natterer <mitch@imendio.com>
3174 * gio.symbols: fix g_io_scheduler symbol names.
3176 2007-12-14 Alexander Larsson <alexl@redhat.com>
3182 * gbufferedinputstream.h:
3183 * gbufferedoutputstream.h:
3186 * gdatainputstream.h:
3187 * gdataoutputstream.h:
3188 * gdesktopappinfo.h:
3189 * gdirectorymonitor.h:
3193 * gfileenumerator.h:
3196 * gfileinputstream.h:
3198 * gfilenamecompleter.h:
3199 * gfileoutputstream.h:
3200 * gfilterinputstream.h:
3201 * gfilteroutputstream.h:
3209 * gmemoryinputstream.h:
3210 * gmemoryoutputstream.h:
3212 * gmountoperation.h:
3215 * gsimpleasyncresult.h:
3217 * gunixinputstream.h:
3219 * gunixoutputstream.h:
3223 * inotify/Makefile.am:
3224 Only allow including <gio/gio.h> from apps
3226 2007-12-14 Alexander Larsson <alexl@redhat.com>
3228 * gioscheduler.[ch]:
3229 * gsimpleasyncresult.c:
3230 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3231 Split out the send_to_mainloop call into two versions instead
3232 of having the block argument.
3234 2007-12-13 Alexander Larsson <alexl@redhat.com>
3236 * gcancellable.[ch]:
3238 * gbufferedinputstream.c:
3239 * gfileenumerator.c:
3240 * gfileinputstream.c:
3241 * gfileoutputstream.c:
3245 g_push/pop_current_cancellable ->
3246 g_cancellable_push/pop_current
3248 2007-12-13 Alexander Larsson <alexl@redhat.com>
3252 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3254 2007-12-13 Alexander Larsson <alexl@redhat.com>
3256 * gmountoperation.h:
3257 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3259 2007-12-12 Alexander Larsson <alexl@redhat.com>
3262 Fix race condition when freeing proxy in
3263 g_io_job_send_to_mainloop().
3265 2007-12-12 Alexander Larsson <alexl@redhat.com>
3271 Make attribute namespace separator "::" instead of ":".
3272 Use - instead of _ as separator in attribute names.
3274 2007-12-12 Alexander Larsson <alexl@redhat.com>
3276 * gbufferedinputstream.h:
3277 * gbufferedoutputstream.h:
3278 * gdatainputstream.h:
3279 * gdataoutputstream.h:
3280 * gdirectorymonitor.h:
3281 * gfileenumerator.h:
3282 * gfileinputstream.h:
3284 * gfileoutputstream.h:
3285 * gfilterinputstream.h:
3286 * gfilteroutputstream.h:
3288 * glocalfileinputstream.h:
3289 * glocalfileoutputstream.h:
3290 * gmemoryinputstream.h:
3291 * gmemoryoutputstream.h:
3292 * gnativevolumemonitor.h:
3294 * gunixinputstream.h:
3295 * gunixoutputstream.h:
3298 s/parent/parent_instance/ in GObjects
3300 2007-12-12 Alexander Larsson <alexl@redhat.com>
3305 No need for padding for interfaces
3307 2007-12-12 Alexander Larsson <alexl@redhat.com>
3311 * gbufferedinputstream.c:
3312 * gbufferedoutputstream.c:
3315 * gdatainputstream.[ch]:
3316 * gdesktopappinfo.c:
3317 * gdirectorymonitor.c:
3319 * gfileattribute.[ch]:
3322 * gfileinputstream.h:
3323 * gfilemonitor.[ch]:
3324 * gfileoutputstream.[ch]:
3325 * gfilterinputstream.h:
3326 * gfilteroutputstream.h:
3329 * gloadableicon.[ch]:
3330 * gmemoryinputstream.c:
3331 * gmountoperation.c:
3333 Fix up a bunch of details in the docs.
3338 2007-12-11 David Zeuthen <davidz@redhat.com>
3340 Rework how volumes, drives and volume monitoring is
3341 done. Previosly the model was
3343 GDrive <1-1> GVolume
3345 where a GDrive instance represented a mount point and a GVolume
3346 instance represented a mounted file system. This patch changes it
3349 GDrive <1-N> GVolume <1-1> GMount
3351 where GMount now serves the purpose of the old GVolume and the new
3352 GVolume serves the purpose of the old GDrive. In addition the new
3353 GDrive interface is used to represent a collection of GVolume
3354 instances (typically partitions) and also contains utility to query
3355 the state of the physical drive the GDrive object represents (such
3356 as checking for media, polling the drive, ejecting the media etc.).
3358 Also implement mounting and unmounting in the Unix volume monitor
3359 backend. A subquent patch will introduce GDrive support for ejection
3363 * gdrive.c: (g_drive_is_media_check_automatic),
3364 (g_drive_is_media_removable), (g_drive_has_media),
3365 (g_drive_can_poll_for_media), (g_drive_eject),
3366 (g_drive_eject_finish), (g_drive_poll_for_media),
3367 (g_drive_poll_for_media_finish):
3369 * gfile.c: (g_file_find_enclosing_mount):
3372 * glocaldirectorymonitor.c:
3373 (g_local_directory_monitor_constructor), (mounts_changed):
3374 * glocalfile.c: (get_mount_info),
3375 (g_local_file_find_enclosing_mount),
3376 (g_local_file_file_iface_init):
3377 * gnativevolumemonitor.h:
3378 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3379 (get_connected_drives), (g_union_volume_monitor_class_init),
3380 (child_volume_added), (child_volume_removed),
3381 (child_volume_changed), (child_mount_added), (child_mount_removed),
3382 (child_mount_pre_unmount), (child_mount_changed),
3383 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3384 (g_union_volume_monitor_remove_monitor),
3385 (_g_mount_get_for_mount_path):
3386 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3387 (guess_system_internal), (_g_get_unix_mounts),
3388 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3389 (g_unix_mount_free), (g_unix_mount_compare),
3390 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3391 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3392 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3393 (type_to_icon), (g_unix_mount_guess_name),
3394 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3395 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3396 (_resolve_symlink), (_resolve_dev_root):
3398 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3399 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3400 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3401 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3402 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3403 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3404 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3405 (g_unix_volume_volume_iface_init):
3407 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3408 (get_mounts), (get_volumes), (get_connected_drives),
3409 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3410 (mountpoints_changed), (mounts_changed),
3411 (g_unix_volume_monitor_init),
3412 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3413 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3414 * gunixvolumemonitor.h:
3415 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3416 (g_volume_mount), (g_volume_mount_finish):
3418 * gvolumemonitor.c: (g_volume_monitor_class_init),
3419 (g_volume_monitor_get_connected_drives),
3420 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3423 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3425 * gmountoperation.h (GPasswordFlags): Close the gap
3427 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3429 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3431 * gdesktopappinfo.[hc]: Remove _-prefixes
3433 2007-12-10 Tor Lillqvist <tml@novell.com>
3435 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3438 2007-12-10 Alexander Larsson <alexl@redhat.com>
3440 * gfile.c (g_file_set_display_name):
3441 Don't hardcode '/' (#502727)
3443 2007-12-09 Hans Breuer <hans@breuer.org>
3445 * makefile.msc : follow lib naming convention
3446 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3447 for user and group name, tested with ../tests/gio-ls
3449 2007-12-09 A. Walton <awalton@svn.gnome.org>
3451 * gdesktopappinfo.c:
3457 * gfileenumerator.c:
3462 * gmemoryinputstream.c:
3463 * gmemoryoutputstream.c:
3465 * gsimpleasyncresult.c:
3466 More documentation cleanup and filling in missing information, bringing
3467 GIO to 99% symbol coverage.
3469 2007-12-08 Hans Breuer <hans@breuer.org>
3471 [gio compiles and links on win32, not sure how much already works]
3472 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3473 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3474 base on win32 API; prefer g_lstat() over lstat(); instead of
3475 localtime_r() use an all GLib implementation on win32;
3476 get_mount_info() still needs a win32 specifc implementation
3477 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3478 win32_get_file_user_info to get owner/group info without uid/gid
3479 * glocalfileinputstream.c : include <io.h> on win32
3480 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3481 definition, use g_win32_ftruncate() for G_OS_WIN32
3482 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3483 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3484 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3485 * makefile.msc : updated
3487 2007-12-07 Alexander Larsson <alexl@redhat.com>
3489 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3490 Avoid warning spew if error == NULL
3492 2007-12-07 Alexander Larsson <alexl@redhat.com>
3495 Update docs wrt etags
3497 2007-12-06 Alexander Larsson <alexl@redhat.com>
3500 Include sys/types.h for dev_t (#501919)
3502 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3506 Make abicheck and pltcheck pass.
3508 2007-12-05 Alexander Larsson <alexl@redhat.com>
3511 * giomodule-priv.h: Added.
3512 * glocaldirectorymonitor.c:
3513 * glocalfilemonitor.c:
3514 * gunionvolumemonitor.c:
3516 Actually add the declaration of _g_io_modules_ensure_loaded
3518 2007-12-05 Alexander Larsson <alexl@redhat.com>
3520 * gdatainputstream.c:
3525 * glocaldirectorymonitor.c:
3526 * glocalfilemonitor.c:
3527 * gunionvolumemonitor.c:
3529 Make g_io_modules_ensure_loaded a private function and
3530 don't pass in the dirname. This means we can do magic
3531 directory finding in the win32 version.
3532 Export the actual load-modules-in-directory code so that
3533 gvfs can reuse that.
3535 2007-12-05 Alexander Larsson <alexl@redhat.com>
3537 * gbufferedinputstream.c:
3538 * gbufferedoutputstream.c:
3541 * gfileenumerator.[ch]:
3542 * gfileinputstream.c:
3543 * gfileoutputstream.[ch]:
3544 * gfilterinputstream.c:
3545 * gfilteroutputstream.c:
3546 * ginputstream.[ch]:
3548 * glocalfileenumerator.c:
3549 * glocalfileinputstream.c:
3550 * glocalfileoutputstream.c:
3551 * gmemoryinputstream.c:
3552 * gmemoryoutputstream.c:
3553 * goutputstream.[ch]:
3556 * gunixinputstream.c:
3557 * gunixoutputstream.c:
3558 Rename all struct members named:
3559 read, write, close, truncate, or mount
3560 to foo_fn, as these are reserved names
3561 and could be defined as macros in libc.
3564 2007-12-04 Alexander Larsson <alexl@redhat.com>
3567 (g_output_stream_close):
3568 Only call flush if non-null.
3570 2007-11-30 Dan Winship <danw@gnome.org>
3572 * ginputstream.c (g_input_stream_set_pending): Make this take a
3573 GError and return a gboolean, and do the "outstanding operation"
3574 check (and the "stream is already closed" check) itself.
3575 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3577 * goutputstream.c (g_output_stream_set_pending)
3578 (g_output_stream_clear_pending): Likewise
3580 * gbufferedinputstream.c:
3581 * gfileinputstream.c:
3582 * gfileoutputstream.c: Update for that
3584 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3585 Like g_simple_async_report_error_in_idle, but takes a GError
3586 rather than building one.
3588 2007-11-30 Dan Winship <danw@gnome.org>
3590 * goutputstream.c: Don't cheat and unset the "pending" flag around
3591 inner calls. Instead, call the class method directly rather than
3592 the wrapper function that checks "pending"
3594 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3596 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3598 2007-12-03 Hans Breuer <hans@breuer.org>
3600 [start of port to win32/msvc]
3601 * gcancellable.c : HAVE_UNIST_H and _pipe()
3602 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3603 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3604 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3606 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3607 * glocalvfs.c : use HAVE_PWD_H
3608 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3609 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3610 * Makefile.am : added to EXTRA_DIST
3612 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3614 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3617 2007-12-03 Alexander Larsson <alexl@redhat.com>
3620 Handle OSX style xattrs API (#500506)
3622 2007-12-03 Alexander Larsson <alexl@redhat.com>
3626 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3628 2007-12-02 A. Walton <awalton@svn.gnome.org>
3632 Documentation accuracy fixes.
3634 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3636 * gioenumtypes.c.template: Fix typo.
3638 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3640 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3642 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3644 * gdirectorymonitor.c:
3645 * gfilemonitor.c: Add properties
3647 * gbufferedoutputstream.c: Don't mark buffer-size property
3650 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3652 * gbufferedoutputstream.c: Add auto-grow property.
3654 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3656 * *.c: Unify the capitalization of section headings.
3658 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3660 * gmountoperation.c: Add properties
3662 * gdatainputstream.c: Turn byte-order and newline-type into
3665 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3667 * gioenumtypes.[hc].template: Templates for enum registration
3669 * Makefile.am: Generate gioenumtypes.[hc]
3671 * gio.h: Include gioenumtypes.h
3673 * gfile.h: Add some explicit nicks.
3675 * gio.symbols: Add new symbols
3677 * pltcheck.sh: Adjust
3679 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3681 * *.c: Explain etags and link to the explanation
3683 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3685 * *.c: Explain I/O priority.
3687 * *.c: More coding style fixes.
3689 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3691 * gasyncresult.c: Add another paragraph to the intro,
3692 adjust coding style of example.
3694 2007-11-29 A. Walton <awalton@svn.gnome.org>
3697 Fixes unknown meaning in GAppLaunchContext docs.
3699 Clarify asynchronous ops.
3701 Fix entity tag docs.
3704 Provides missing gtk-doc section, fixes API docs slighly.
3705 * gsimpleasyncresult.c:
3706 Fill in missing info in docs.
3707 * gunixinputstream.c:
3708 * gunixoutputstream.c:
3709 Be more expressive in short description.
3711 Remove gtk-doc stubs for non-public API.
3713 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3715 * *.c: Coding style fixups
3717 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3719 * inotify/inotify-helper.c: Don't export the lock from libgio.
3721 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3724 * abicheck.sh: Fix copy-and-paste leftovers
3726 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3728 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3730 2007-11-28 Alexander Larsson <alexl@redhat.com>
3734 Removed unnecessary file
3736 * gdesktopappinfo.[ch]:
3739 * glocaldirectorymonitor.[ch]:
3741 * glocalfileenumerator.[ch]:
3742 * glocalfileinputstream.[ch]:
3743 * glocalfilemonitor.[ch]:
3744 * glocalfileoutputstream.[ch]:
3746 * gnativevolumemonitor.c:
3747 * gpollfilemonitor.[ch]:
3748 * gunionvolumemonitor.[ch]:
3751 * gunixvolumemonitor.[ch]:
3754 * inotify/ginotifydirectorymonitor.[ch]:
3755 * inotify/ginotifyfilemonitor.[ch]:
3756 * inotify/inotify-helper.c:
3757 Append _ to all internal functions
3761 Export symbols needed for modules
3763 2007-11-28 Alexander Larsson <alexl@redhat.com>
3766 * abicheck.sh: Added.
3767 * makegioalias.pl: Added.
3768 * pltcheck.sh: Added.
3769 * gio.symbols: Added.
3772 Initial work on adding symbol handling.
3775 Correct ifdef guard name
3778 * inotify/Makefile.am:
3779 * xdgmime/Makefile.am:
3780 Include toplevel Makefile.decl
3782 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3784 * gcontenttype.c: Move doc comments to the unix section.
3786 * *.[hc]: More trivial doc corrections.
3788 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3790 * gpollfilemonitor.c:
3794 * gdesktopappinfo.c:
3799 * gdatainputstream.c:
3800 * gdatainputstream.h:
3801 * gdataoutputstream.c:
3802 * gdataoutputstream.h:
3803 * gfileinfo.h: Doc cleanups
3805 2007-11-28 Andre Klapper <a9016009@gmx.de>
3807 * gdesktopappinfo.c: Fix a typo.
3809 2007-11-27 Andre Klapper <a9016009@gmx.de>
3811 * glocalfileoutputstream.c: Fix a typo.
3813 2007-11-27 Alexander Larsson <alexl@redhat.com>
3816 Don't include removed headers
3818 2007-11-27 Alexander Larsson <alexl@redhat.com>
3821 * gsocketinputstream.[ch]: Removed.
3822 * gsocketoutputstream.[ch]: Removed.
3823 * gunixinputstream.[ch]: Added.
3824 * gunixoutputstream.[ch]: Added.
3825 Renamed GSocket*Stream to GUnix*Stream and made
3826 it unix-only, since its not really only for sockets
3827 and it only works on unix (but is highly useful there).
3829 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3835 * gbufferedinputstream.c:
3836 * gbufferedinputstream.h:
3837 * gbufferedoutputstream.c:
3838 * gbufferedoutputstream.h:
3842 * gdatainputstream.c:
3843 * gdatainputstream.h:
3844 * gdataoutputstream.c:
3845 * gdataoutputstream.h:
3846 * gdirectorymonitor.c:
3847 * gdirectorymonitor.h:
3854 * gfileenumerator.c:
3855 * gfileenumerator.h:
3860 * gfileinputstream.c:
3861 * gfileinputstream.h:
3864 * gfilenamecompleter.c:
3865 * gfilenamecompleter.h:
3866 * gfileoutputstream.c:
3867 * gfileoutputstream.h:
3868 * gfilterinputstream.c:
3869 * gfilterinputstream.h:
3870 * gfilteroutputstream.c:
3871 * gfilteroutputstream.h:
3884 * glocalfileoutputstream.c:
3885 * gmemoryinputstream.c:
3886 * gmemoryinputstream.h:
3887 * gmemoryoutputstream.c:
3888 * gmemoryoutputstream.h:
3889 * gmountoperation.c:
3890 * gmountoperation.h:
3893 * gpollfilemonitor.c:
3896 * gsimpleasyncresult.c:
3897 * gsimpleasyncresult.h:
3898 * gsocketinputstream.c:
3899 * gsocketinputstream.h:
3900 * gsocketoutputstream.c:
3901 * gsocketoutputstream.h:
3908 * gunixvolumemonitor.c:
3917 Bumps documentation to 93% symbol coverage, touching most
3918 of the public files. Fixes broken function documentation prototypes.
3919 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3920 gtk-doc headers in private files.
3922 2007-11-27 Jürg Billeter <j@bitron.ch>
3924 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3925 (g_buffered_input_stream_read_byte):
3926 * gbufferedinputstream.h:
3927 New functions for efficient access to buffer and simple single byte
3930 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3931 (g_data_input_stream_read_until):
3932 * gdatainputstream.h:
3933 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3934 read_until with multiple stop chars.
3936 2007-11-27 Alexander Larsson <alexl@redhat.com>
3940 * inotify/Makefile.am:
3941 Use the user-specified giomoduledir
3943 2007-11-27 Alexander Larsson <alexl@redhat.com>
3947 Add catch-all gio.h header
3948 Don't install gdummyfile.h
3950 2007-11-26 Alexander Larsson <alexl@redhat.com>
3952 * Makefile.am (gioinclude_HEADERS):
3953 Remove trailing whitespace
3955 2007-11-26 Alexander Larsson <alexl@redhat.com>
3957 Merge gio-standalone into glib
3959 2007-11-25 Christian Kellner <gicmo@gnome.org>
3961 * gio/goutputstream.c:
3962 Fix small mistake in the docs.
3964 2007-11-21 Christian Persch <chpe@gnome.org>
3966 * gio/glocalfile.c: (g_local_file_trash):
3967 Convert filenames to UTF-8 for GError.
3968 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3969 as per xdg base dir spec.
3971 2007-11-21 Christian Persch <chpe@gnome.org>
3973 * gio/gdesktopappinfo.c:
3974 Use that g_key_file_to_data cannot fail.
3976 Use stock defines for the key file group and key names.
3979 2007-11-21 Alexander Larsson <alexl@redhat.com>
3982 (copy_stream_with_progress):
3983 Make sure we do a final progress callback with
3984 the full total size.
3986 2007-11-21 Alexander Larsson <alexl@redhat.com>
3989 Export g_file_copy_attributes
3990 Remove padding as its not needed for interfaces
3992 2007-11-20 Alexander Larsson <alexl@redhat.com>
3997 Add G_IO_ERROR_WOULD_MERGE for
3998 copy/move dir on dir with overwrite.
4000 2007-11-20 Alexander Larsson <alexl@redhat.com>
4003 * gio/glocalfileinfo.c:
4004 Add COPY_NAME (this is an optional
4005 non-modified utf8 version of the name) that
4008 2007-11-20 Alexander Larsson <alexl@redhat.com>
4010 * gio/glocalfileenumerator.c:
4011 Report errors as GIOError, not GFileError
4013 2007-11-16 Alexander Larsson <alexl@redhat.com>
4015 * gio/glocalfileoutputstream.c:
4016 * gio/gwin32appinfo.c:
4017 Fix typos in strings.
4018 Patch from Luca Ferretti <elle.uca@libero.it>
4020 2007-11-15 Alexander Larsson <alexl@redhat.com>
4023 Post release version bump
4025 === gio-standalone 0.1.2 ===
4027 2007-11-15 Alexander Larsson <alexl@redhat.com>
4029 * docs/reference/gio/Makefile.am:
4030 Fix up distcheck by removing weird
4036 2007-11-14 Alexander Larsson <alexl@redhat.com>
4038 * gio/gdesktopappinfo.c:
4039 * gio/glocaldirectorymonitor.c:
4041 * gio/glocalfileinfo.c:
4042 * gio/inotify/inotify-sub.c:
4043 * programs/gio-cat.c:
4044 * programs/gio-copy.c:
4045 * programs/gio-info.c:
4046 * programs/gio-ls.c:
4047 * programs/gio-monitor-dir.c:
4048 * programs/gio-monitor-file.c:
4049 * programs/gio-mount.c:
4050 * programs/gio-move.c:
4051 * programs/gio-rm.c:
4052 * programs/gio-save.c:
4053 * programs/gio-trash.c:
4054 Leak fixes from Kjartan Maraas
4056 2007-11-14 Alexander Larsson <alexl@redhat.com>
4058 * gio/fam/fam-helper.c:
4060 * gio/glocalfileinfo.c:
4064 * gio/inotify/inotify-diag.c:
4065 * gio/inotify/inotify-kernel.c:
4066 Various code cleanups from Kjartan Maraas
4068 2007-11-14 Alexander Larsson <alexl@redhat.com>
4070 * gio/gioscheduler.c:
4072 Set up threadpool so that we cache 2 unused
4073 idle threads for at 15 secs. This means we
4074 will reuse thread-local data (like dbus connections)
4077 2007-11-14 Alexander Larsson <alexl@redhat.com>
4079 * gio/fam/fam-helper.c:
4080 * gio/fam/gfamdirectorymonitor.c:
4081 * gio/fam/gfamfilemonitor.c:
4083 * gio/gcontenttype.c:
4084 * gio/gdatainputstream.c:
4085 * gio/gdataoutputstream.c:
4089 * gio/gfileattribute.h:
4090 * gio/gfileenumerator.c:
4092 * gio/ginputstream.c:
4095 * gio/glocalfileinfo.c:
4096 * gio/goutputstream.c:
4097 * gio/gpollfilemonitor.c:
4098 * gio/gsimpleasyncresult.c:
4099 * gio/gunixmounts.c:
4100 * gio/gunixmounts.h:
4101 * gio/inotify/ginotifydirectorymonitor.c:
4102 * gio/inotify/ginotifyfilemonitor.c:
4103 * gio/inotify/inotify-diag.c:
4104 * gio/inotify/inotify-kernel.c:
4105 * gio/inotify/inotify-path.c:
4107 * gio/test-streams.c:
4108 * programs/gio-info.c:
4109 * programs/gio-monitor-dir.c:
4110 * programs/gio-monitor-file.c:
4111 Various code cleanups from Kjartan Maraas
4113 2007-11-13 Alexander Larsson <alexl@redhat.com>
4116 Handle the uri-scheme calls for dummy files
4118 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4120 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4121 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4122 to avoid clash with the C++ keyword.
4124 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4126 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4127 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4129 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4131 * gio/glocaldirectorymonitor.c:
4132 * gio/glocalfilemonitor.c:
4133 * gio/gunionvolumemonitor.c:
4134 Don't use g_once_init_*() for initializations that could fail and
4135 could leave the initialization variable set to 0 but use GOnce.
4136 This prevents a deadlock on the second call when trying to create
4137 a monitor and no monitor type is available. Thanks to Sven Herzberg
4140 2007-11-11 Sven Herzberg <sven@imendio.com>
4142 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4143 #ifdef (make it work on MacOS X again)
4145 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4147 Fixes Changelog for last two commits (sorry guys).
4149 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4151 * gio/gbufferedinputstream.c:
4152 * gio/gdatainputstream.c:
4154 * gio/gfileoutputstream.c:
4155 * gio/gfilterinputstream.c:
4156 * gio/glocalfileinputstream.c:
4159 More consistency fixes in g*stream.c files.
4160 Significant clean of gfile's documentation, filling in of
4161 asynchronous operations documentation.
4163 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4165 * gio/gasyncresult.c:
4166 * gio/gbufferedinputstream.c:
4167 * gio/gbufferedoutputstream.c:
4168 * gio/gcancellable.c:
4169 * gio/gcontenttype.c:
4170 * gio/gdatainputstream.c:
4171 * gio/gdataoutputstream.c:
4172 * gio/gdesktopappinfo.c:
4175 * gio/gfileattribute.c:
4176 * gio/gio/gfileenumerator.c:
4178 * gio/gfileinputstream.c:
4179 * gio/gfilemonitor.c:
4180 * gio/gfileoutputstream.c:
4181 * gio/ginputstream.c:
4183 * gio/gioscheduler.c:
4184 * gio/gloadableicon.c:
4185 * gio/glocalfileoutputstream.c:
4186 * gio/gmemoryoutputstream.c:
4187 * gio/gmountoperation.c:
4188 * gio/goutputstream.c:
4190 * gio/gsimpleasyncresult.c:
4191 * gio/gunionvolumemonitor.c:
4192 * gio/gunixmounts.c:
4193 * gio/gunixvolume.c:
4197 * gio/gvolumemonitor.c:
4198 Updated documentation stubs, working towards consistency and
4201 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4203 * gio/gmemoryoutputstream.c:
4204 * gio/gmemoryoutputstream.h:
4205 Change g_memory_output_stream_set_free_on_close() to
4206 g_memory_output_stream_set_free_data() as this makes more sense and
4207 is more consistent with GMemoryInputStream.
4209 2007-11-07 Alexander Larsson <alexl@redhat.com>
4216 Change how we find the default vfs so that
4217 we can handle a gvfs failing to init
4219 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4221 * gio/gbufferedoutputstream.c:
4222 * gio/gdatainputstream.c:
4223 * gio/gdataoutputstream.c:
4224 * gio/gfileinputstream.c:
4225 * gio/gfileoutputstream.c:
4226 * gio/gfilterinputstream.c:
4227 * gio/gfilteroutputstream.c:
4228 * gio/ginputstream.c:
4229 * gio/gmemoryinputstream.c:
4230 * gio/gmemoryoutputstream.c:
4231 * gio/goutputstream.c:
4232 * gio/gsimpleasyncresult.c:
4233 * gio/gsocketinputstream.c:
4234 * gio/gsocketoutputstream.c:
4235 Add guards to the remaining public functions, add a TODO for
4236 an unimplemented function and remove some useless guards.
4238 2007-11-07 Alexander Larsson <alexl@redhat.com>
4241 Autoconf checks for the various types of
4242 getpwuid_r and getgrgid_r
4244 * gio/glocalfileinfo.c:
4245 Use the autoconf checks from above
4247 2007-11-07 Alexander Larsson <alexl@redhat.com>
4250 (g_local_file_query_filesystem_info):
4251 Some fixes for the statvfs case
4253 2007-11-07 Alexander Larsson <alexl@redhat.com>
4256 (g_local_file_query_filesystem_info):
4257 Pick the "best" of statfs / statvfs for the system
4258 if both are availible.
4260 2007-11-07 Alexander Larsson <alexl@redhat.com>
4262 Solaris fixes from Halton.Huo@Sun.COM:
4269 * gio/glocalfileinfo.c:
4270 Fix for solaris definition of getpwuid_r
4272 * gio/test-streams.c:
4273 Use G_GNUC_PRETTY_FUNCTION
4275 2007-11-07 Alexander Larsson <alexl@redhat.com>
4277 * gio/gdesktopappinfo.c:
4278 (update_default_list):
4279 Remove double semicolon.
4280 Patch from Jens Granseuer
4282 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4284 * docs/reference/gio/gio-sections.txt:
4285 * gio/gbufferedinputstream.c:
4286 * gio/gbufferedinputstream.h:
4287 * gio/gdatainputstream.c:
4288 * gio/gfileenumerator.c:
4289 * gio/gioscheduler.c:
4290 * gio/gunionvolumemonitor.c:
4292 * programs/gio-save.c:
4293 Fix typo: availible -> available. Unfortuntely this breaks API
4294 and ABI as g_buffered_input_stream_get_available() was renamed.
4296 * gio/gunixmounts.c:
4297 * gio/gbufferedinputstream.c:
4298 Add guards for public functions.
4300 2007-11-06 Ross Burton <ross@openedhand.com>
4302 * docs/reference/gio/Makefile.am:
4303 Fix invalid += usage which automake 1.10 doesn't like.
4305 2007-11-06 Alexander Larsson <alexl@redhat.com>
4308 (g_app_launch_context_class_init):
4311 Patch from Ross Burton
4313 2007-11-06 Alexander Larsson <alexl@redhat.com>
4316 Post release version bump
4318 === gio-standalone 0.1.1 ===
4320 2007-11-06 Alexander Larsson <alexl@redhat.com>
4323 Bump version to 0.1.1
4325 * gio/gsimpleasyncresult.c:
4326 (g_simple_async_result_set_from_error):
4327 Remove bogus g_return_if_fail
4329 2007-11-06 Alexander Larsson <alexl@redhat.com>
4332 The name is gio-standalone
4335 Add top src/builddir to includedir
4337 2007-11-06 Alexander Larsson <alexl@redhat.com>
4339 * docs/reference/gio/gio-sections.txt:
4341 * gio/gbufferedinputstream.c:
4342 * gio/gbufferedoutputstream.c:
4343 * gio/gcancellable.c:
4344 * gio/gdatainputstream.h:
4345 * gio/gdataoutputstream.c:
4346 * gio/gdataoutputstream.h:
4347 * gio/gdirectorymonitor.c:
4349 * gio/gfileattribute.c:
4350 * gio/gfileattribute.h:
4351 * gio/gfileenumerator.c:
4352 * gio/gfileenumerator.h:
4355 * gio/gfileinputstream.h:
4356 * gio/gfilemonitor.c:
4357 * gio/gfileoutputstream.h:
4358 * gio/glocalfilemonitor.h:
4359 * gio/glocalfileoutputstream.h:
4360 * gio/gmemoryinputstream.c:
4361 * gio/gmemoryoutputstream.c:
4362 * gio/gmountoperation.c:
4363 * gio/goutputstream.c:
4364 * gio/goutputstream.h:
4366 * gio/gsimpleasyncresult.c:
4367 * gio/gunixmounts.c:
4368 * gio/gunixmounts.h:
4370 * gio/inotify/inotify-helper.c:
4371 Fix gtk-doc warnings
4373 Patch from Ross Burton
4375 2007-11-06 Alexander Larsson <alexl@redhat.com>
4377 * gio/gfilenamecompleter.c:
4378 (g_filename_completer_get_completions):
4381 * gio/gunixvolume.c:
4382 Remove unused function
4384 Patches from Ross Burton
4386 2007-11-06 Alexander Larsson <alexl@redhat.com>
4391 Padding not needed for interfaces
4393 2007-11-06 Alexander Larsson <alexl@redhat.com>
4395 * gio/gfilemonitor.c:
4399 Make giotypes.h an internal file
4402 * gio/gbufferedinputstream.h:
4403 * gio/gbufferedoutputstream.h:
4404 * gio/gcancellable.h:
4405 * gio/gdatainputstream.h:
4406 * gio/gdataoutputstream.h:
4407 * gio/gdirectorymonitor.c:
4408 * gio/gdirectorymonitor.h:
4413 * gio/gfileattribute.h:
4414 * gio/gfileenumerator.h:
4419 * gio/gfilemonitor.c:
4420 * gio/gfilemonitor.h:
4421 * gio/gfilenamecompleter.c:
4422 * gio/gfilenamecompleter.h:
4423 * gio/gfilterinputstream.h:
4424 * gio/gfilteroutputstream.h:
4425 * gio/ginputstream.h:
4426 * gio/gmemoryinputstream.h:
4427 * gio/gmemoryoutputstream.h:
4428 * gio/gmountoperation.c:
4429 * gio/gmountoperation.h:
4430 * gio/gnativevolumemonitor.c:
4431 * gio/goutputstream.h:
4434 * gio/gsimpleasyncresult.c:
4435 * gio/gsimpleasyncresult.h:
4436 * gio/gsocketinputstream.h:
4437 * gio/gsocketoutputstream.h:
4438 * gio/gthemedicon.c:
4439 * gio/gthemedicon.h:
4443 * gio/gvolumemonitor.c:
4444 * gio/gvolumemonitor.h:
4445 Add padding in classes where it seems useful
4446 Don't include giotypes.h from public headers
4447 Move in Class definitions into c file where possible
4452 2007-11-06 Alexander Larsson <alexl@redhat.com>
4454 * docs/reference/gio/gio-docs.xml:
4455 Better structure for API docs
4457 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4460 * gio/gloadableicon.c:
4461 * gio/gsimpleasyncresult.c:
4462 * gio/gthemedicon.c:
4463 Add some more guards to public functions. Only files missing are now
4466 2007-11-06 Alexander Larsson <alexl@redhat.com>
4468 * docs/reference/gio/gio-docs.xml:
4469 Remove old files, add missing ones
4471 2007-11-06 Alexander Larsson <alexl@redhat.com>
4473 * docs/reference/gio/gio-sections.txt:
4476 Hide implementation classes
4478 * gio/gdriveprivate.h:
4479 * gio/gvolumeprivate.h:
4480 Remove non-existing function declarations
4482 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4485 Fix compilation warnings and add guards to the new functions.
4487 * gio/gasyncresult.c:
4489 Add guards to the public functions.
4492 Implement get_path().
4494 2007-11-06 Alexander Larsson <alexl@redhat.com>
4496 * gio/gfilenamecompleter.c:
4497 Make g_filename_completer_get_completions
4498 return char ** instead of GList for
4501 * docs/reference/gio/gio-docs.xml:
4502 * docs/reference/gio/gio-sections.txt:
4504 * gio/gasyncresult.c:
4505 * gio/gbufferedinputstream.c:
4506 * gio/gbufferedoutputstream.c:
4507 * gio/gcancellable.c:
4508 * gio/gcontenttype.c:
4509 * gio/gdatainputstream.c:
4510 * gio/gdataoutputstream.c:
4511 * gio/gdesktopappinfo.c:
4512 * gio/gdirectorymonitor.c:
4516 * gio/gfileattribute.c:
4517 * gio/gfileenumerator.c:
4520 * gio/gfileinputstream.c:
4521 * gio/gfilemonitor.c:
4522 * gio/gfilenamecompleter.c:
4523 * gio/gfilenamecompleter.h:
4524 * gio/gfileoutputstream.c:
4525 * gio/gfilterinputstream.c:
4527 * gio/ginputstream.c:
4529 * gio/gioscheduler.c:
4530 * gio/gloadableicon.c:
4531 * gio/glocaldirectorymonitor.c:
4533 * gio/glocalfileinputstream.c:
4534 * gio/glocalfilemonitor.c:
4535 * gio/glocalfileoutputstream.c:
4537 * gio/gmemoryinputstream.c:
4538 * gio/gmemoryoutputstream.c:
4539 * gio/gmountoperation.c:
4540 * gio/goutputstream.c:
4541 * gio/gpollfilemonitor.c:
4543 * gio/gsimpleasyncresult.c:
4544 * gio/gsocketinputstream.c:
4545 * gio/gsocketoutputstream.c:
4546 * gio/gthemedicon.c:
4547 * gio/gunionvolumemonitor.c:
4549 * gio/gunixmounts.c:
4550 * gio/gunixvolume.c:
4551 * gio/gunixvolumemonitor.c:
4555 * gio/gvolumemonitor.c:
4556 * gio/gwin32appinfo.c:
4557 Add (mostly stub) doc strings to public functions.
4558 Patch from Andrew Walton (awalton@gmail.com)
4560 2007-11-06 Alexander Larsson <alexl@redhat.com>
4562 * gio/gappinfo.[ch]:
4563 Added GAppLaunchContext object and pass that to launch.
4564 This allows simple implementation of both
4565 launch-on-screen and startup notification via a gtk+
4566 subclass of GAppLaunchContext
4568 * gio/gdesktopappinfo.c:
4569 Implement GAppLaunchContext API
4571 * gio/gwin32appinfo.c:
4574 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4576 * gio/gmountoperation.c:
4577 Add some guards to GMountOperation's public functions.
4579 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4583 * gio/gcancellable.c:
4584 * gio/gdirectorymonitor.c:
4586 * gio/gfileenumerator.c:
4587 * gio/gfilemonitor.c:,
4588 * gio/gfilenamecompleter.c:
4591 * gio/gioscheduler.c:
4595 * gio/gvolumemonitor.c:
4596 Add even more guards to various public functions.
4598 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4601 Add guards to the public functions of GAppInfo.
4603 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4605 * gio/gcontenttype.c:
4606 Add some more guards for public functions.
4608 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4610 * gio/fam/fam-module.c:
4611 * gio/fam/gfamdirectorymonitor.c:
4612 * gio/fam/gfamdirectorymonitor.h:
4613 * gio/fam/gfamfilemonitor.c:
4614 * gio/fam/gfamfilemonitor.h:
4615 * gio/inotify/ginotifydirectorymonitor.c:
4616 * gio/inotify/ginotifydirectorymonitor.h:
4617 * gio/inotify/ginotifyfilemonitor.c:
4618 * gio/inotify/ginotifyfilemonitor.h:
4619 Add proper copyright information and remove an unused variable
4620 in the GInotifyFileMonitor constructor.
4622 * gio/gcancellable.c:
4623 Add a guard for a public function and an assertion to prevent
4624 an undefined program state.
4626 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4628 * gio/gfileattribute.c:
4629 Don't run into an assertion if the given attribute value is NULL
4630 in g_file_attribute_value_get_*() but instead return a fallback
4631 value that makes sense in most situations. Passing them a attribute
4632 value with the wrong type will still run into an assertion.
4634 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4636 * gio/gfileattribute.c:
4638 Add even more guards to the public functions. Also fix the refcounting
4639 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4640 let g_file_info_list_attributes() filter the attributes by namespace
4641 instead of simply ignoring the namespace parameter.
4643 2007-11-03 Sven Herzberg <sven@imendio.com>
4645 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4646 (This makes gio work on MacOS X again)
4648 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4651 Build the gio subdirectory before the docs. Otherwise the build will
4654 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4655 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4656 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4657 Add guards to the public functions.
4659 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4661 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4662 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4663 to prevent a compiler warning.
4665 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4666 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4667 return something in the non-void function find_topdir_for().
4669 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4676 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4678 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4679 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4680 * gwin32appinfo.c (g_win32_app_info_launch):
4681 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4682 envp_for_startup_id, g_desktop_app_info_launch,
4683 g_desktop_app_info_launch_uris):
4685 Give an opaque 'startup_id' string instead of 'envp'.
4686 Support empty file lists for launching new windows.
4687 Fix infinite recursion bug when launching URIs.
4689 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4692 Add guard to the new g_file_get_uri_scheme() function.
4694 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4697 Convert a g_return_val_if_fail() to setting the GError instead as
4698 otherwise applications have to verify the parameter before otherwise
4699 and the parameter might come directly from the user.
4701 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4703 * gio/inotify/ginotify*.[ch]:
4704 Add missing copyright information.
4706 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4709 Add guards in the beginning of public functions to check for valid
4710 parameters and fix a bug in copy_stream_with_progress() that could've
4711 caused writing less bytes than reading.
4712 * gio/glocalfileinfo.c:
4713 Check for a NULL parameter and set the GError accordingly then.
4714 * gio/goutputstream.c:
4715 Fix the same bug as in gfile.c that could've caused writing less bytes
4716 than reading in g_output_stream_real_splice().
4718 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4721 Use the correct gvolumeprivate.h naming
4723 2007-11-01 Christian Kellner <gicmo@gnome.org>
4726 Remove leftover "$(daemon_sources)" entry.
4728 2007-11-01 Christian Kellner <gicmo@gnome.org>
4733 Add copyright information to source files.
4735 2007-11-01 Alexander Larsson <alexl@redhat.com>
4739 Add g_file_get_uri_scheme
4741 2007-11-01 Alexander Larsson <alexl@redhat.com>
4744 * gio/gdesktopappinfo.c:
4745 * gio/gwin32appinfo.c:
4746 Add g_app_info_get_default_for_uri_scheme.
4748 2007-11-01 Alexander Larsson <alexl@redhat.com>
4751 Correct filename for gdriveprivate.h
4753 2007-10-31 Alexander Larsson <alexl@redhat.com>
4756 Rename id:value to id:file
4759 * gio/glocalfileinfo.c:
4762 2007-10-31 Alexander Larsson <alexl@redhat.com>
4764 * gio/gunixvolume.c:
4766 Remove g_volume_get_platform_id, as thats not
4767 needed with the simpler union volume monitor
4769 2007-10-31 Alexander Larsson <alexl@redhat.com>
4772 * gio/guniondrive.[ch]: Removed.
4773 * gio/gunionvolume.[ch]: Removed.
4774 Remove GUnionDrive/Volume
4776 * gio/gunionvolumemonitor.c:
4777 Simplify union volume monitor, now we
4778 only have one native volume monitor and
4779 we use the actual volumes/drives from the
4780 child monitors instead of wrapping them
4782 * gio/gnativevolumemonitor.[ch]:
4783 Base class for native volume monitors.
4784 Includes priority and get_volume_for_mountpoint
4787 Add g_file_find_enclosing_volume
4790 Remove volume name fs attribute
4791 Add readonly fs attribute
4794 Implement readonly attribute
4795 remove volume name attribute
4796 Implement find_enclosing volume
4798 * gio/gunixmounts.c:
4799 Add a volume for "/".
4801 * gio/gunixvolume.[ch]:
4802 Set better name for /
4804 * gio/gunixvolumemonitor.[ch]:
4805 Derive from GNativeVolumeMonitor
4806 Implement get_volume_for_mountpoint
4809 GVolume typedef moved to gfile.h
4811 * gio/gvolumeprivate.h:
4812 Add g_volume_get_for_mount_path
4814 2007-10-31 Alexander Larsson <alexl@redhat.com>
4816 * gio/gunixmounts.[ch]:
4817 Add cache info to unix mount listers
4818 Make getmntent use threadsafe
4819 Add is_system_internal attribute for GUnixMount
4821 * gio/gunixvolume.c:
4822 (g_unix_volume_new):
4823 Use is_system_internal instead of own code
4825 * gio/glocaldirectorymonitor.c:
4826 * gio/gunixvolumemonitor.c:
4827 Update to new gunixmounts API
4832 2007-10-30 Alexander Larsson <alexl@redhat.com>
4835 Add volume name fsinfo attribute
4838 Read volume name info
4840 * gio/gunionvolumemonitor.c:
4841 Fix infinite loops when finalizing a union volume monitor
4843 2007-10-30 Alexander Larsson <alexl@redhat.com>
4845 * gio/goutputstream.[ch]:
4846 Add splice() with default implementation
4848 * gio/gsocketoutputstream.c:
4849 (g_socket_output_stream_write):
4850 Return error on cancellation correctly.
4852 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4854 * gio/glocalfile.c (g_local_file_trash):
4855 Do not leak a string.
4857 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4859 * gio/gfile.c (g_file_load_contents):
4860 Unref the stream after closing it.
4862 2007-10-25 Alexander Larsson <alexl@redhat.com>
4864 * gio/gioscheduler.h:
4867 2007-10-25 Alexander Larsson <alexl@redhat.com>
4871 Add g_file_has_uri_scheme and implement for local files
4873 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4875 * gio/gdesktopappinfo.c: do not leak a string.
4877 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4879 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4880 (g_local_directory_monitor_new):
4881 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4882 (g_local_file_monitor_new):
4883 Only look for the monitor type that should be used the first time
4884 and use g_qsort_with_data() instead of our own bubble sort
4887 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4890 * gio/fam/Makefile.am:
4891 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4892 * gio/fam/fam-helper.h:
4893 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4894 * gio/fam/gfamdirectorymonitor.c:
4895 * gio/fam/gfamdirectorymonitor.h:
4896 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4897 * gio/fam/gfamfilemonitor.h:
4898 * gio/glocaldirectorymonitor.c:
4899 * gio/glocaldirectorymonitor.h:
4900 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4901 * gio/glocalfilemonitor.h:
4902 * gio/inotify/Makefile.am:
4903 * gio/inotify/ginotifydirectorymonitor.c:
4904 * gio/inotify/ginotifydirectorymonitor.h:
4905 * gio/inotify/ginotifyfilemonitor.c:
4906 * gio/inotify/ginotifyfilemonitor.h:
4907 Implement the FAM and Inotify monitors as
4908 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4909 their own GIO module. GLocal(Directory|File)Monitor will use the
4910 monitor with the highest rank that is supported on that machine.
4912 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4915 Change GIO module dir to $(libdir)/gio/modules and change
4916 the log domain from GVFS to GIO. Also only export symbols starting
4917 with g_ in the resulting library.
4918 * gio/test-streams.c: (main):
4919 Set log handler for the GIO log domain.
4921 2007-10-22 Alexander Larsson <alexl@redhat.com>
4923 * gio/gfilenamecompleter.[ch]:
4924 Add g_filename_completer_set_dirs_only
4926 2007-10-22 Alexander Larsson <alexl@redhat.com>
4929 * gio/gurifuncs.[ch]:
4930 Add some simple URI helpers
4932 * gio/gfilenamecompleter.[ch]:
4933 Added object for filename (parse name actually) completion
4936 Handle ~ in parse names
4938 2007-10-17 Alexander Larsson <alexl@redhat.com>
4941 * gio/glocalfileinfo.c:
4942 Add and implement id:value attribute
4944 2007-10-17 Alexander Larsson <alexl@redhat.com>
4947 * gio/guniondrive.c:
4949 Add and implement g_drive_has_volumes
4951 2007-10-17 Alexander Larsson <alexl@redhat.com>
4954 * gio/glocalfileinfo.[ch]:
4955 Add unix:is_mountpoint and implement for local files
4957 2007-10-16 Alexander Larsson <alexl@redhat.com>
4959 * gio/gunionvolumemonitor.c:
4960 (g_union_volume_monitor_init):
4961 Fix up the unix type getting so that it works with gcc
4963 2007-10-12 Alexander Larsson <alexl@redhat.com>
4966 * gio/glocalfileinfo.c:
4967 Add thumbnail:failed to file info
4969 2007-10-12 Richard Hult <richard@imendio.com>
4971 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4972 optimizing away the get_type call (happens with some gcc versions,
4973 like the one shipped with OS X 10.4).
4975 2007-10-12 Alexander Larsson <alexl@redhat.com>
4977 * gio/glocalfileinfo.c:
4978 (_g_local_file_info_set_attribute):
4979 Fix build if not HAVE_XATTR
4980 Patch from Milosz Derezynski <internalerror@gmail.com>
4982 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4984 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4985 around for review, otherwise I would have asked you before
4988 2007-10-11 Alexander Larsson <alexl@redhat.com>
4991 Add thumbnail:path attribute
4993 * gio/glocalfileinfo.c:
4994 Implement thumbnail:path for local files
4996 2007-10-11 Alexander Larsson <alexl@redhat.com>
4998 * gio/glocalfileinfo.c:
4999 (_g_local_file_info_get):
5000 Avoid duplicate icon names
5002 2007-10-11 Alexander Larsson <alexl@redhat.com>
5004 * gio/gthemedicon.[ch]:
5005 Change g_themed_icon_get_names return type to const
5007 2007-10-10 Alexander Larsson <alexl@redhat.com>
5009 * gio/glocalfileinfo.c:
5010 Don't reference freed memory
5012 2007-10-10 Alexander Larsson <alexl@redhat.com>
5014 * gio/gfileattribute.c:
5017 * gio/glocalfileinfo.c:
5020 2007-10-10 Alexander Larsson <alexl@redhat.com>
5023 Check for NULL icons
5025 * gio/gfileattribute.c:
5026 Don't dup when getting objects (same as for string attributes)
5028 * gio/gicon.c (g_icon_equal):
5029 Safely handle NULLs in equal
5031 2007-10-10 Alexander Larsson <alexl@redhat.com>
5034 Fix c++ compilation issues
5035 Patch from Milosz Derezynski <internalerror@gmail.com>
5037 2007-10-10 Alexander Larsson <alexl@redhat.com>
5039 * programs/gio-monitor-dir.c:
5040 Don't crash if dir monitor not supported.
5042 2007-10-09 Alexander Larsson <alexl@redhat.com>
5045 Add missing G_END_DECLS
5047 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5049 * gio/gfile.c: (g_file_set_display_name),
5050 (g_file_query_settable_attributes),
5051 (g_file_query_writable_namespaces):
5052 Return NULL not FALSE on errors as the return type is a pointer.
5054 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5056 * gio/glocalfile.c: (g_local_file_monitor_file):
5057 Don't call monitor_file on the default interface vtable (which
5058 is NULL) but simply return NULL. The caller, GFile, will create a
5059 polling monitor if NULL is returned.
5061 2007-10-09 Alexander Larsson <alexl@redhat.com>
5065 * gio-unix-2.0.pc.in:
5066 Add gio-unix-2.0.pc if OS_UNIX
5069 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5071 2007-10-09 Alexander Larsson <alexl@redhat.com>
5073 * gio/gunixmounts.[ch]:
5074 Make unix mount monitoring API sane.
5075 Now its just a object with mounts_changed
5076 and mountpoints_changed signals.
5078 * gio/glocaldirectorymonitor.c:
5079 * gio/gunixvolumemonitor.c:
5080 Use new mount monitor api
5082 2007-10-09 Alexander Larsson <alexl@redhat.com>
5084 * gio/gunixmounts.[ch]:
5085 Move guess type into one call for mounts and one for mountpoints
5088 * gio/gunixvolume.c:
5091 2007-10-09 Alexander Larsson <alexl@redhat.com>
5093 * gio/gunixmounts.[ch]:
5094 Remove _ prefix in preparation to make this semi-public
5095 Hide implementation of structs
5097 * gio/glocaldirectorymonitor.c:
5099 * gio/gunixvolume.c:
5100 * gio/gunixvolumemonitor.c:
5101 Update for above API changes
5103 2007-10-08 Alexander Larsson <alexl@redhat.com>
5106 Better polling fallback. This also handles the case where we have
5107 a monitor_file implementation, but it fails.
5109 2007-10-08 Alexander Larsson <alexl@redhat.com>
5113 * gio/gunixmounts.c:
5114 * programs/gio-monitor-dir.c:
5115 * programs/gio-monitor-file.c:
5116 Added cancellable to file monitoring calls.
5117 These are really sync calls and need this.
5119 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5121 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5122 (g_local_vfs_class_init):
5123 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5124 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5126 2007-10-05 Alexander Larsson <alexl@redhat.com>
5128 * gio/gdirectorymonitorprivate.h:
5129 * gio/gfilemonitorprivate.h:
5130 * gio/gdirectorymonitor.h:
5131 * gio/gfilemonitor.h:
5132 Remove *private.h and move to the public API, so that
5133 we can do implementations outside gio (such as in gvfs)
5135 * gio/gdirectorymonitor.c:
5136 * gio/gfilemonitor.c:
5137 * gio/glocaldirectorymonitor.c:
5138 * gio/gpollfilemonitor.c:
5139 * gio/inotify/inotify-helper.c:
5140 * gio/fam/fam-helper.c:
5141 Update to the new header names
5143 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5145 * gio/gdirectorymonitor.c:
5146 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5149 2007-10-04 Alexander Larsson <alexl@redhat.com>
5151 * gio/glocalfileinfo.c (get_access_rights):
5152 Set CAN_TRASH when we can move the file.
5153 We should really also check for a parent trash dir.
5155 2007-10-04 Alexander Larsson <alexl@redhat.com>
5157 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5158 Add can_trash access attribute
5160 2007-10-04 Alexander Larsson <alexl@redhat.com>
5163 (g_local_file_trash):
5164 Create info file first. This is per-spec and allows
5165 us to actually trash directories.
5167 2007-10-02 Alexander Larsson <alexl@redhat.com>
5169 * gio/gdesktopappinfo.c:
5170 Implement the new mime support code.
5171 Always set app as handling mimetype when being set as default for it
5173 2007-10-01 Alexander Larsson <alexl@redhat.com>
5175 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5176 Fix up check for xattrs:
5178 2007-10-01 Alexander Larsson <alexl@redhat.com>
5181 (g_app_info_set_as_default_for_extension):
5182 (g_app_info_add_supports_type):
5183 (g_app_info_can_remove_supports_type):
5184 (g_app_info_remove_supports_type):
5185 Make these fail nicely if not implemented
5187 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5189 * gio/glocalfileoutputstream.c:
5190 * gio/glocalfileoutputstream.h:
5195 * programs/gio-save.c:
5196 Add a GFileCreateFlags argument to operations that can create
5199 2007-10-01 Alexander Larsson <alexl@redhat.com>
5201 * gio/gappinfo.[ch]:
5202 * gio/gdesktopappinfo.c:
5203 Add more (stubbed out) mime API needed for nautilus
5205 2007-10-01 Alexander Larsson <alexl@redhat.com>
5208 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5209 Add g_app_info_set_as_default_for_extension.
5211 * gio/gdesktopappinfo.c:
5212 Dummy for g_app_info_set_as_default_for_extension
5213 Support flags in g_app_info_create_from_commandline
5215 * gio/gwin32appinfo.c:
5217 Update for API changes
5219 * gio/gthemedicon.c:
5220 Properly NULL-terminate list of icon names
5222 2007-09-28 Alexander Larsson <alexl@redhat.com>
5224 * gio/gloadableicon.h:
5225 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5227 2007-09-28 Alexander Larsson <alexl@redhat.com>
5230 Install headers in $includedir/gio-standalone/
5232 * gio-2.0.pc.in: Added.
5233 * gio-standalone.pc.in: Removed.
5236 Renamed pkg-config file to match glib (for future move)
5237 Update to the new include dir
5240 Add more TODO comments
5242 2007-09-28 Alexander Larsson <alexl@redhat.com>
5244 * gio/gdesktopappinfo.[ch]:
5245 Expose new_from_filename
5246 Add getter for is_hidden and handle it better
5248 2007-09-28 Alexander Larsson <alexl@redhat.com>
5250 * gio/gfileinfo.[ch]:
5251 Rename g_file_size_format_for_display to
5252 g_format_file_size_for_display.
5253 Now it doesn't have the g_file prefix, so we
5254 can later move it to glib.
5256 2007-09-28 Alexander Larsson <alexl@redhat.com>
5258 * gio/gappinfo.[ch]:
5259 Add g_app_info_get_id and g_app_info_get_executable.
5260 Make all getters non-reffing
5261 Make g_app_info_launch take GFile arguments.
5262 Add must_support_uris argument to g_app_info_get_default_for_type.
5264 * gio/gwin32appinfo.c:
5265 Update to GAppInfo api changes
5267 * gio/gdesktopappinfo.c:
5268 Update to GAppInfo api changes
5269 Implement supports_xdg_startup_notify
5271 * gio/gfileicon.c (g_file_icon_get_file):
5272 Make getter non-reffing.
5277 2007-09-27 Alexander Larsson <alexl@redhat.com>
5279 * gio/gfileinfo.[ch]:
5280 Add g_file_size_format_for_display helper
5282 2007-09-27 Alexander Larsson <alexl@redhat.com>
5284 * gio/glocalfileinfo.c:
5285 Set UNIX_GID from gid, not from uid
5287 2007-09-27 Alexander Larsson <alexl@redhat.com>
5290 Add g_file_set_attributes_async
5292 2007-09-27 Alexander Larsson <alexl@redhat.com>
5294 * gio/glocalfile.c (g_local_file_set_display_name):
5295 Fix set_display_name to actually rename to the right place.
5296 Use lstat to look for existing files so we don't overwrite
5299 2007-09-26 Alexander Larsson <alexl@redhat.com>
5302 Add g_file_set_display_name_async()
5304 2007-09-26 Alexander Larsson <alexl@redhat.com>
5307 Add load_partial_contents async calls
5310 Make internal function static
5312 2007-09-26 Alexander Larsson <alexl@redhat.com>
5314 * gio/glocalfileinfo.c:
5315 Correctly detect broken symlinks
5317 2007-09-26 Alexander Larsson <alexl@redhat.com>
5319 * gio/gcancellable.c (g_cancellable_cancel):
5320 Allow cancel on NULL cancellable
5322 2007-09-25 Alexander Larsson <alexl@redhat.com>
5324 * gio/gsimpleasyncresult.c:
5325 Don't allocate g_error manually.
5326 Fixes g_slice/g_new mixup crash
5328 2007-09-25 Alexander Larsson <alexl@redhat.com>
5330 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5331 Actually set active_backend.
5332 This means the monitor will be cancelled correctly.
5334 2007-09-25 Alexander Larsson <alexl@redhat.com>
5336 * gio/gdirectorymonitor.c:
5337 Set timeout to NULL when destroying
5339 2007-09-25 Alexander Larsson <alexl@redhat.com>
5342 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5343 that is a better description of the error.
5345 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5347 * gio/gvfs.c: (g_vfs_get_local):
5348 Make the local vfs variable static. The same instance should
5351 2007-09-24 Alexander Larsson <alexl@redhat.com>
5353 * gio/glocalfileinfo.c:
5354 Pass in actual length read into sniffer, not the length
5357 2007-09-21 Alexander Larsson <alexl@redhat.com>
5359 * gio/gfileenumerator.c:
5362 * gio/gfileinputstream.c:
5363 * gio/gfileoutputstream.c:
5364 * gio/ginputstream.c:
5365 * gio/goutputstream.c:
5366 Don't crash if async callbacks are NULL
5368 2007-09-20 Alexander Larsson <alexl@redhat.com>
5371 Add async enumerate_children method and default
5374 2007-09-20 Alexander Larsson <alexl@redhat.com>
5377 Add g_file_contains_file & g_file_get_relative_path, since they
5378 were needed for nautilus.
5379 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5384 Implement new methods
5386 2007-09-17 Alexander Larsson <alexl@redhat.com>
5389 * gio/gfileinputstream.[ch]:
5390 * gio/gfileoutputstream.[ch]:
5392 * gio/glocalfileenumerator.[ch]:
5393 * gio/glocalfileinfo.[ch]:
5394 * gio/glocalfileinputstream.c:
5395 * gio/glocalfileoutputstream.c:
5396 * gio/gpollfilemonitor.c:
5397 * programs/gio-copy.c:
5398 * programs/gio-info.c:
5399 * programs/gio-move.c:
5400 Rename get_file_info to query_info() to make it clearer
5401 that these are not simple getters, but do i/o.
5403 2007-09-17 Alexander Larsson <alexl@redhat.com>
5405 * gio/gdatainputstream.[ch]:
5406 * gio/test-streams.c:
5407 Use _read_XXX instead of _get_XXX for the i/o calls
5410 2007-09-17 Alexander Larsson <alexl@redhat.com>
5413 Added needed stuff to TODO comment
5415 2007-09-17 Alexander Larsson <alexl@redhat.com>
5417 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5418 Don't error out removing the backup copy if it doesn't
5421 2007-09-14 Alexander Larsson <alexl@redhat.com>
5423 * programs/Makefile.am:
5424 * programs/gvfs-*.c:
5426 Renamed apps from gvfs-xxx to gio-xxx.
5428 2007-09-14 Alexander Larsson <alexl@redhat.com>
5431 * gio/gfileoutputstream.[ch]:
5432 * gio/glocalfileoutputstream.c:
5433 * programs/gvfs-save.c:
5434 g_file_output_stream_get_etag doesn't do i/o, so remove
5435 cancellation and error.
5437 2007-09-14 Alexander Larsson <alexl@redhat.com>
5440 Add new_etag output to replace_contents functions
5442 2007-09-14 Alexander Larsson <alexl@redhat.com>
5444 * gio/gfileoutputstream.[ch]:
5445 Add async get_file_info and default implementation
5447 2007-09-14 Alexander Larsson <alexl@redhat.com>
5449 * gio/gfileinputstream.c:
5450 Implement fallback wrapper for async get_file_info
5452 2007-09-14 Alexander Larsson <alexl@redhat.com>
5455 Add etag out argument to load_contents
5460 2007-09-14 Alexander Larsson <alexl@redhat.com>
5462 * gio/gcontenttype.c (looks_like_text):
5463 Whitespace like tab, cr and lf do not make the
5466 2007-09-14 Alexander Larsson <alexl@redhat.com>
5468 * gio/gfileinputstream.[ch]:
5469 Add async get_file_info.
5471 2007-09-13 Alexander Larsson <alexl@redhat.com>
5473 * gio/goutputstream.c (g_output_stream_write_all):
5474 Allow NULL for bytes_written
5476 2007-09-13 Alexander Larsson <alexl@redhat.com>
5478 * gio/gmemoryinputstream.[ch]:
5479 Add accessors for data
5481 2007-09-13 Alexander Larsson <alexl@redhat.com>
5483 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5484 Don't crash if length is NULL