1 2008-11-28 Christian Dywan <christian@imendio.com>
3 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
5 2008-11-28 Matthias Clasen <mclasen@redhat.com>
7 Bug 559633 – gtk_image_new_from_gicon does not always work for
10 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
11 extensions on icon names. Proposed by Axel von Bertoldi.
13 2008-11-28 Matthias Clasen <mclasen@redhat.com>
15 Bug 548163 – Nautilus displays wrong error message for too long file
18 * glocalfile.c (g_local_file_set_display_name): Correctly set
19 error conditions if the new name is e.g. too long. Reported
20 by Leonardo Ferreira Fontenelle.
22 2008-11-28 Matthias Clasen <mclasen@redhat.com>
24 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
27 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
28 documented and include the line end in the returned string.
29 Pointed out by Paul Pogonyshev.
31 * tests/data-input-stream.c: Fix the read_line test to test the
34 2008-11-28 Matthias Clasen <mclasen@redhat.com>
36 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
37 files that have been created by g_app_info_create_from_commandline.
39 2008-11-28 Matthias Clasen <mclasen@redhat.com>
41 Bug 541715 – win32 : patch for warnings and signature problems in
44 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
47 2008-11-28 Matthias Clasen <mclasen@redhat.com>
49 Bug 562393 – g_buffered_input_stream_read_byte broken if data
52 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
53 handling of buffered content. Patch by Philip Withnall
55 * tests/buffered-input-stream.c: Add a testcase for this bug.
56 * tests/Makefile.am: And build it
58 2008-11-28 Matthias Clasen <mclasen@redhat.com>
60 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
63 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
64 '/' away. Spotted by Dan Williams.
66 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
68 Bug 561375 – Leaks mountpoint description
70 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
73 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
75 Bug 561352 – Leak of icon description
77 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
80 2008-11-14 Matthias Clasen <mclasen@redhat.com>
82 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
84 2008-11-12 Tor Lillqvist <tml@novell.com>
86 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
88 * win32/gwinhttpvfs.h: Move the set of function pointers to
89 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
90 pointer to that in the GWinHttpVfsClass.
92 * win32/gwinhttpvfs.c: Move the lookup of functions from
93 winhttp.dll into a function of its own, that stores the pointers
94 in a separate GWinHttpDllFuncs variable. Add two bookeeping
95 booleans lookup_done and funcs_found.
97 Don't call g_io_extension_point_implement() to register the
98 winhttp extension unless winhttp.dll has been successfully loaded
99 and the required functions found in it.
101 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
102 winhttp.dll correspondingly.
104 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
106 reviewed by: Alexander Larsson <alexl@redhat.com>
108 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
109 clearer about the behavior when there's no more content to read.
111 2008-10-27 Federico Mena Quintero <federico@novell.com>
113 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
115 2008-10-27 Tor Lillqvist <tml@novell.com>
117 Bug 557592 - Missing include in gwinhttpfile.c
119 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
122 2008-10-24 Matthias Clasen <mclasen@redhat.com>
124 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
126 * fam/fam-helper.c: Fix a memory leak and formatting issues.
127 Reported by Daniel Marjamäki
129 2008-10-23 Matthias Clasen <mclasen@redhat.com>
131 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
133 2008-10-23 Alexander Larsson <alexl@redhat.com>
135 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
138 (_g_local_file_info_get):
139 Don't return the fallback icon (text-x-generic) for all files.
140 This is causing problems with theme icon lookup and custom mime
141 icons, as the generic fallback overrides custom mime icons in
144 This is a slight change as applications might not get an icon wher
145 they previously did. But there is no guarantee to get on neither before
146 or after this change, so it should not break applications. Changes
147 to nautilus and gtk+ will be done to manually use the generic fallback
148 icon if no icon is found, but this is only required for rare cases.
150 2008-10-21 Alexander Larsson <alexl@redhat.com>
153 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
155 2008-10-21 Alexander Larsson <alexl@redhat.com>
157 Bug 555740 - gicon serialization
158 Based on patch from David Zeuthen
162 Add g_icon_to_string() and g_icon_new_for_string().
168 Implement icon serialization for built-in icon types
172 Added GIcon serialization test
174 2008-10-16 Matthias Clasen <mclasen@redhat.com>
176 * === Released 2.19.0 ===
178 2008-10-16 Matthias Clasen <mclasen@redhat.com>
180 Bug 556422 – g_file_enumerator_next_file: unclear whether return
181 value needs to be freed
183 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
184 the return value docs. Pointed out by Armin Burgmeier
186 2008-10-14 Matthias Clasen <mclasen@redhat.com>
188 Bug 556334 – Warning when building without selinux support
190 * glocalfileinfo.c: Avoid compiler warnings when selinux is
191 disabled. Patch by Pascal Terjan
193 2008-10-14 Matthias Clasen <mclasen@redhat.com>
195 Bug 556335 – make check fails in abicheck.sh
197 * gio.symbols: Add g_file_attribute_info_list_get_type.
198 Pointed out by Pascal Terjan.
200 2008-10-13 Alexander Larsson <alexl@redhat.com>
203 When adding an application as handling a mime type (but
204 not as the default), copy the full list of desktop ids handling
205 that type in before adding the new one on the end of the list.
206 This means we're not accidentally changing the default by overriding
207 the info from the later directories in the search path.
209 Also, fixes small leak of removed_entries.
211 2008-10-12 David Zeuthen <davidz@redhat.com>
214 * gunionvolumemonitor.c:
216 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
218 2008-10-10 Alexander Larsson <alexl@redhat.com>
220 * gfileattribute.c (escape_byte_string):
221 Upper half of byte is >> 4, not >> 8.
222 Found by Kjartan Maraas via sparse
224 2008-10-10 Matthias Clasen <mclasen@redhat.com>
226 Bug 555711 – Wrong fallback order of mimetype icons
228 * gcontenttype.c: Don't prefer generic icons over
229 default mimetype icons.
231 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
232 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
234 Patch by Krysztof Kosiński
236 2008-10-10 Matthias Clasen <mclasen@redhat.com>
238 Bug 555121 – Improved build-time handling of gio module-dir
240 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
241 * Makefile.am: Create the module dir.
243 2008-10-10 Matthias Clasen <mclasen@redhat.com>
245 * gio/glocalfileinfo.c:
246 * gio/tests/live-g-file.c:
247 * gio/gsimpleasyncresult.c: Fix gcc warnings.
249 2008-10-09 Alexander Larsson <alexl@redhat.com>
251 * gunixinputstream.c (g_unix_input_stream_read):
252 Actually return -1 in case of cancelled, not old res value.
254 2008-10-06 Colin Walters <walters@verbum.org>
256 Bug 554745 - GFileAttributeInfoList should be boxed
258 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
259 for convenience of bindings.
260 * gio/gfileattribute.h: Prototype it.
262 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
264 Bug 554970 – segfault when update-desktop-database is not available
267 * gdesktopappinfo.c (run_update_command): Have the error set before
270 2008-10-01 David Zeuthen <davidz@redhat.com>
272 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
273 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
274 instead of the gio URI (such as sftp://foo/file.avi) when using
275 g_app_info_launch() and friends. With a sufficiently recent gvfs,
276 apps using gio+gvfs will map the FUSE file:// URI back to the gio
277 URI (and thus bypass the fuse daemon) thanks the patch from bug
278 #530654. Since Nautilus is an user of g_app_info_launch() it
279 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
280 when launced via the file manager. Win. Fixes bug #528670.
282 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
283 mapping to the description of GAppInfo.
285 2008-09-30 Tor Lillqvist <tml@novell.com>
287 * tests/Makefile.am: Build desktop-app-info only on Unix.
289 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
290 g_critical(). Pass a large enough result buffer to
291 GetVolumePathNameW(). Just use MAX_PATH.
293 2008-09-29 David Zeuthen <davidz@redhat.com>
295 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
297 2008-09-26 Dan Winship <danw@gnome.org>
299 * tests/data-input-stream.c:
300 * tests/data-output-stream.c:
301 * tests/live-g-file.c:
302 * tests/memory-input-stream.c:
303 * tests/memory-output-stream.c: Use g_assert_error() and
306 2008-09-26 Matthias Clasen <mclasen@redhat.com>
308 Bug 545350 – GAppInfo deletion
309 Bug 545351 – Reset associations for content type
312 * gappinfo.[hc]: New functions g_app_info_can_delete,
313 g_app_info_delete and g_app_info_reset_type_associations.
316 * gwin32appinfo.c: Implementations of these.
319 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
321 2008-09-26 Dan Winship <danw@gnome.org>
323 Bug 505361 – gunixinputstream.c assumes poll() available
324 Bug 509446 – portable blocking gio cancellation
326 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
327 GPollFD for a cancellable (which is slightly more complicated on
330 * gunixinputstream.c (g_unix_input_stream_read):
331 * gunixoutputstream.c (g_unix_output_stream_write): Use
332 g_cancellable_make_pollfd() and g_poll() rather than using poll()
335 * tests/unix-streams.c: test of GUnixInputStream,
336 GUnixOutputStream, and GCancellable.
338 2008-09-26 Dan Winship <danw@gnome.org>
340 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
341 cast to stop a gcc warning
343 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
346 2008-09-25 Dan Winship <danw@gnome.org>
348 Bug 553426 - cancellable clarifications
350 * gcancellable.c (g_cancellable_class_init): Add a note to the
351 "cancelled" signal docs warning about thread-safety issues
352 (g_cancellable_cancel): Note that cancelling an asynchronous
353 operation takes effect asynchronously, not immediately.
355 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
357 * gioenums.h: Add new GFileCopyFlag, to leave target file with
358 default perms, instead of setting the source file perms, in a copy
361 * gfile.c (g_file_copy_attributes)
362 (build_attribute_list_for_copy)
363 (should_copy): Not copy "unix::mode" attribute if we have received
364 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
366 2008-09-20 Matthias Clasen <mclasen@redhat.com>
368 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
370 2008-09-17 Matthias Clasen <mclasen@redhat.com>
372 * === Released 2.18.1 ===
374 2008-09-16 Michael Natterer <mitch@imendio.com>
376 * gcontenttype.c (g_content_type_guess): can't assign the return
377 value of g_strdupv() to an array. Fill the array manually with
378 const strings instead (it is never freed anyway). Fixes the
379 build. Also fixed indentation.
381 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
383 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
384 Fix trivial typo to unbreak the build (there was a colon
385 instead of a semicolon at the end of a statement).
387 2008-09-15 Matthias Clasen <mclasen@redhat.com>
389 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
392 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
395 2008-09-15 Matthias Clasen <mclasen@redhat.com>
397 Bug 551681 – g_content_type_guess() too naive with filenames
399 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
400 at the end of the filename, and declare it a directory.
401 Patch by Bastien Nocera
403 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
405 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
408 * gdesktopappinfo.c: add a note in the docs clarifying what the
409 "filename" parameter really is.
411 2008-09-12 Tor Lillqvist <tml@novell.com>
413 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
414 FormatMessage() etc here. Call g_win32_error_message() instead
415 which already does all that. Besides, the code was broken as it
416 called the default "A" version of FormatMessage() but still
417 thought it produced a wide string.
419 2008-09-12 Michael Natterer <mitch@imendio.com>
421 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
422 in the documentation.
424 2008-09-08 Christian Neumair <cneumair@gnome.org>
426 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
427 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
428 Use non-blocking pipe for mount helper I/O. Fixes #550647.
430 2008-09-06 Matthias Clasen <mclasen@redhat.com>
432 Bug 551149 – xdgmime mem leak
434 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
435 a memory leak. Patch by Christian Persch
437 2008-09-04 Tor Lillqvist <tml@novell.com>
439 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
442 2008-09-02 Matthias Clasen <mclasen@redhat.com>
444 * === Released 2.18.0 ===
446 2008-09-02 Michael Natterer <mitch@imendio.com>
448 * *.h: big header formatting cleanup: indentation, vtable
449 formatting, consistent spacing in (* vfunc), trailing whitespace
450 removal. Formatting should be pretty consistent in all GIO headers
453 2008-09-02 Matthias Clasen <mclasen@redhat.com>
455 * gmount.h: Document guess_content_type sync vfunc.
457 2008-09-02 Michael Natterer <mitch@imendio.com>
459 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
460 fix parent_class member to be GFilterOutputStreamClass (not
461 GOutputStreamClass). Drop three pointers of padding, which is
462 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
463 so the class struct size stays the same.
465 2008-09-02 Matthias Clasen <mclasen@redhat.com>
467 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
469 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
470 nonexisting return values. Pointed out by Cosimo Cecchi.
472 2008-08-23 Tor Lillqvist <tml@novell.com>
474 Bug 548988 - g_file_replace fails on Windows when the target file
477 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
478 Windows, close the file before potentially renaming it (in case we
479 have been writing to a file with a temporary name).
481 (g_local_file_output_stream_close, handle_overwrite_open): Use
482 GLocalFileStat instead of plain struct stat, for passing to
483 _g_local_file_info_create_etag(). Thus also use _fstati64()
484 instead of plain fstat() on Windows.
486 2008-08-18 Matthias Clasen <mclasen@redhat.com>
488 * === Released 2.17.7 ===
490 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
492 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
495 2008-08-13 Tor Lillqvist <tml@novell.com>
497 * win32/gwinhttpvfs.c
498 * win32/gwinhttpvfs.h
499 * win32/gwinhttpfile.c
500 * win32/gwinhttpfileinputstream.c
501 * win32/gwinhttpfileoutputstream.c: Refactor some common code
502 snippets into helper functions. Check HTTP response status
503 codes. Implement g_winhttp_file_query_info(), looking at
504 Content-Length, Content-Type and Last-Modified.
506 * win32/winhttp.h: Add some symbolic constants that are not
507 publicly documented. Just a handful, so it should be OK to use
508 information from the Windows SDK's headers.
510 2008-08-13 Tor Lillqvist <tml@novell.com>
512 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
515 * win32/gwin32directorymonitor.c
516 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
518 2008-08-13 Matthias Clasen <mclasen@redhat.com>
521 * goutputstream.c: Add intro docs.
523 2008-08-13 Tor Lillqvist <tml@novell.com>
525 * win32/gwinhttpfileoutputstream.c
526 (g_winhttp_file_output_stream_write): Don't write the
527 Content-Length header ourselves, WinHttpSendRequest() takes care
528 of that when the dwTotalLength parameter is non-zero. Increment
529 offset by the number of actual bytes sent, although I wonder if
530 such a scenario is possible where less than requested would be
531 sent and accepted by the server without errors.
533 2008-08-13 Tor Lillqvist <tml@novell.com>
535 * win32/gwinhttpvfs.c
536 * win32/gwinhttpvfs.h
537 * win32/gwinhttpfile.c
538 * win32/gwinhttpfile.h
539 * win32/gwinhttpfileinputstream.c
540 * win32/gwinhttpfileinputstream.h
541 * win32/gwinhttpfileoutputstream.c
542 * win32/gwinhttpfileoutputstream.h: New files implementing
543 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
544 Windows. The implementation uses the WinHttp API. Both reading and
545 writing are supported, i.e. GET and PUT requests. When writing,
546 each write call is done using a separate PUT request with a
547 Content-Range header. Requests for file URIs and plain pathnames
548 are forwarded to GLocalVfs.
550 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
551 WINE. Used as there is no <winhttp.h> bundled with mingw, and
552 requiring people to download the Windows SDK just for this one
553 header is not reasonable.
555 * win32/Makefile.am: Add above files.
557 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
558 the plumbing for the above.
560 2008-08-11 Sven Neumann <sven@gimp.org>
562 * gfilenamecompleter.c
563 * glocaldirectorymonitor.c
565 * gunionvolumemonitor.c
569 * gunixvolumemonitor.c
572 * gwin32volumemonitor.c: use canonical signal names.
574 2008-08-11 Tor Lillqvist <tml@novell.com>
576 * Makefile.am: Put a list of the platform-dependent .la files in
577 the subdirectories in the platform_deps Make variable, and make
578 libgio-2.0.la depend on that, so that it gets relinked if one of
579 the dependent libraries has changed.
581 2008-08-11 Tor Lillqvist <tml@novell.com>
583 * Makefile.am (platform_libadd): Remove -lwininet which had been
584 added by mistake. We will probably eventually be using WinHTTP,
585 not the older WinInet anyway. (Actually I am working on it.)
587 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
589 Bug 547080 – g_file_copy leaks expected errors
591 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
592 before trying the next fallback routine.
594 2008-08-09 Loïc Minier <lool@dooz.org>
596 Bug 535124 – umask 002 not being applied for new directories, new
597 files get the correct umask
599 * gfile.c (g_file_make_directory)
600 (g_file_make_directory_with_parents): Document ownership and
601 permissions of newly created directories as being the default
604 2008-08-08 Loïc Minier <lool@dooz.org>
606 Bug 535124 – umask 002 not being applied for new directories, new
607 files get the correct umask
609 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
612 2008-08-08 Tor Lillqvist <tml@novell.com>
614 * gwin32mount.c: Remove unused code. Whitespace cleanup.
616 * gwin32volumemonitor.c (get_connected_drives): Put questionable
617 code that didn't actually do anything inside #if 0, and add a
618 comment wondering what the code was supposed to do. This also gets
619 rid of a leftover debugging printout.
621 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
623 * gfileicon.c (g_file_icon_get_property)
624 (g_file_icon_set_property): New functions.
625 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
627 (g_file_icon_new): Use the property (bug #546132).
629 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
631 * gthemedicon.c (g_themed_icon_get_property): Also handle
632 `PROP_USE_DEFAULT_FALLBACKS'.
633 (g_themed_icon_class_init): Make
634 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
636 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
638 Bug 546371 – Improve docs re g_file_monitor
640 * gfilemonitor.c: Mention g_file_monitor() in the docs.
642 2008-08-04 Matthias Clasen <mclasen@redhat.com>
644 * === Released 2.17.6 ===
646 2008-08-04 Matthias Clasen <mclasen@redhat.com>
648 * === Released 2.17.5 ===
650 2008-08-04 Matthias Clasen <mclasen@redhat.com>
652 Bug 546017 – Don't copy attributes when copying a symlink
654 * gfile.c (g_file_copy_attributes): Specify
655 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
656 g_file_set_attributes_from_info. Patch by Christian Kellner
658 2008-08-04 Matthias Clasen <mclasen@redhat.com>
660 * gemblemedicon.[hc]:
662 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
663 a bit more extensible. Work by Clemens Buss.
665 * gioenums.h: Add GEmblemOrigin.
668 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
670 Bug 546079 – leak in xdgmime
672 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
674 2008-08-03 Tor Lillqvist <tml@novell.com>
676 * win32/gwin32directorymonitor.h
677 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
680 2008-08-03 Tor Lillqvist <tml@novell.com>
682 * win32/gwin32directorymonitor.c
683 (g_win32_directory_monitor_callback): Make prototype match
684 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
685 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
688 (g_win32_directory_monitor_constructor):
689 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
690 names in the GLib API on Windows, so convert to UTF-16 and open
693 2008-08-03 Tor Lillqvist <tml@novell.com>
695 Bug 541036 - Gnumeric crashes when trying to open Desktop or
696 user's folder under Windows
698 * win32/gwin32directorymonitor.c
699 (g_win32_directory_monitor_constructor): Ignore error from
700 CreateFile() when opening directory. Instead of asserting, just
701 store INVALID_HANDLE_VALUE then in
702 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
703 ReadDirectoryChangesW().
704 (g_win32_directory_monitor_cancel): Don't attempt to close
705 directory handle if it is INVALID_HANDLE_VALUE.
707 2008-08-01 Matthias Clasen <mclasen@redhat.com>
709 * gdesktopappinfo.c: Remove debug spew
711 2008-08-01 Hans Breuer <hans@breuer.org>
713 * makefile.msc : add gemblembedicon
715 2008-07-30 Matthias Clasen <mclasen@redhat.com>
717 Bug 545457 – gdmsetup crashed with SIGSEGV in
718 g_unix_mount_guess_should_display()
720 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
721 crash if no mount is found.
723 2008-07-28 Matthias Clasen <mclasen@redhat.com>
725 Bug 545203 – gfile.c: argument is different type.
727 * gfile.c (open_read_async_thread): Pass a GError **
728 to g_file_set_error_literal.
729 Reported by Kazuki Iwamoto
731 2008-07-28 Matthias Clasen <mclasen@redhat.com>
733 Bug 545157 – wrong/no list of "open with" applications for .cc and
736 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
737 Collect all ancestors, not just direct parents. Pointed
738 out by Bastien Nocera
740 2008-07-28 Matthias Clasen <mclasen@redhat.com>
742 * Makefile.am: Install gemblemedicon.h
744 2008-07-28 Matthias Clasen <mclasen@redhat.com>
746 * gemblemedicon.[hc]: Add a GIcon implementation that can
747 add an emblem to another icon.
754 * gfileicon.c: Small documentation additions.
756 2008-07-28 Tor Lillqvist <tml@novell.com>
758 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
761 2008-07-27 Tor Lillqvist <tml@novell.com>
763 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
765 2008-07-24 David Zeuthen <davidz@redhat.com>
769 Also export a g_mount_guess_content_type_sync() function.
771 2008-07-23 Matthias Clasen <mclasen@redhat.com>
773 529694 – SELinux context setting support
775 * gfileinfo.c: Support setting selinux attributes.
776 Patch by Tomas Bzatek
778 2008-07-22 Priit Laes <plaes@plaes.org>
780 Bug 544140 - fam-helper 64-bit issue?
782 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
784 2008-07-21 Matthias Clasen <mclasen@redhat.com>
786 * === Released 2.17.4 ===
788 2008-07-20 Matthias Clasen <mclasen@redhat.com>
790 * gvolumemonitor.[hc]:
795 * gmount.c: Documentation fixes
797 2008-07-19 Matthias Clasen <mclasen@redhat.com>
799 543504 – crash in Epiphany Web Browser: Opening local file
810 * gvolume.c: Register types thread-safely.
811 Patch by Christian Persch
813 2008-07-18 Matthias Clasen <mclasen@redhat.com>
815 * gcontenttype.c: Remove debug spew
817 2008-07-18 Matthias Clasen <mclasen@redhat.com>
819 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
822 * fen/fen-kernel.c: Remove a warning that was causing
823 crashes. Reported by Lin Ma.
825 2008-07-18 Matthias Clasen <mclasen@redhat.com>
827 Bug 543040 – async reading on dummy file will crash on
830 * gfile.c (open_read_async_thread): Cope with read_fn being
831 NULL. Reported by Lin Ma.
833 2008-07-18 Matthias Clasen <mclasen@redhat.com>
836 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
838 2008-07-16 Matthias Clasen <mclasen@redhat.com>
842 * giomodule.c: Rename a chapter id to avoid filename conflict.
844 2008-07-16 Matthias Clasen <mclasen@redhat.com>
846 Bug 540616 – mem leak in filechooser button
848 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
849 the mount entry. Reported by Chrisitan Persch
851 2008-07-16 Matthias Clasen <mclasen@redhat.com>
853 * gfile.c: Small documentation fixes.
855 2008-07-15 Matthias Clasen <mclasen@redhat.com>
857 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
859 2008-07-08 Matthias Clasen <mclasen@redhat.com>
864 * gmount.c: Documentation improvements.
866 2008-07-08 Matthias Clasen <mclasen@redhat.com>
869 * gmount.[hc]: Add g_mount_guess_content_type().
871 2008-07-06 David Zeuthen <davidz@redhat.com>
874 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
875 is needed for easily handling adoption of foreign volumes by
876 out-of-process volume monitors (#541793)
878 2008-07-06 David Zeuthen <davidz@redhat.com>
880 * gvolumemonitor.[ch]:
881 * gunionvolumemonitor.c: Export the eject-button signal on the
882 volume monitor class (#541794).
884 2008-07-06 Matthias Clasen <mclasen@redhat.com>
886 * gappinfo.c: More doc tweaks
888 2008-07-05 Matthias Clasen <mclasen@redhat.com>
890 * gappinfo.c: Clarify some docs
892 2008-07-03 Matthias Clasen <mclasen@redhat.com>
894 * gdesktopappinfo.c: Fix a stupid mistake.
896 2008-07-02 Matthias Clasen <mclasen@redhat.com>
898 * === Released 2.17.3 ===
900 2008-07-02 Matthias Clasen <mclasen@redhat.com>
902 * gfilemonitor.c: Fix the build.
904 2008-07-02 Matthias Clasen <mclasen@redhat.com>
906 Bug 536160 – Add g_file_monitor()
909 * gfile.[hc]: Add g_file_monitor which can return either
910 a file or a directory monitor. Proposed by Behdad Esfahbod
912 2008-07-02 Matthias Clasen <mclasen@redhat.com>
914 536733 – gio build failure on Irix
916 * glocalfile.c: Use a configure check for structfs.f_bavail.
918 2008-07-02 Matthias Clasen <mclasen@redhat.com>
920 Bug 534639 – add g_desktop_app_info_new_from_keyfile
923 * gdesktopappinfo.[hc]: Add a function to create a
924 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
926 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
928 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
930 2008-07-01 Matthias Clasen <mclasen@redhat.com>
932 * gunixmounts.c: Fix a doc typo.
934 2008-07-01 Cody Russell <bratsche@gnome.org>
936 * gio/gcontenttype.c:
937 * gio/gwin32appinfo.c:
938 * gio/gwin32volumemonitor.c:
939 * gio/gwin32mount.c: Fixed some include problems.
941 2008-07-01 Cody Russell <bratsche@gnome.org>
945 Moved all relevant typedefs into these files.
948 Updated wrt added files.
950 Split types into separate file for easier maintainership. (#538564)
952 2008-06-30 Matthias Clasen <mclasen@redhat.com>
954 Bug 540331 – g_file_append_to () documentation: can return NULL
956 * gfile.c (g_file_append_to): Clarify docs.
959 2008-06-30 Matthias Clasen <mclasen@redhat.com>
961 Bug 539090 – g_content_type_from_mime_type() should unalias
963 * gcontentype.c (g_content_type_from_mime_type): Unalias.
964 Patch by Markus Bergman
966 2008-06-30 Matthias Clasen <mclasen@redhat.com>
968 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
971 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
972 on ppc and alpha. Reported by Mart Raudsepp
974 2008-06-29 Matthias Clasen <mclasen@redhat.com>
977 * tests/memory-output-stream.c: Add some tests for
980 2008-06-29 Matthias Clasen <mclasen@redhat.com>
982 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
985 * gmemoryoutputstream.c (array_resize): Handle truncation to
986 zero correctly. Reported by Akira Tagoh
988 2008-06-29 Matthias Clasen <mclasen@redhat.com>
990 * gmemoryoutputstream.c: Trivial doc fixes
992 2008-06-29 Matthias Clasen <mclasen@redhat.com>
994 Bug 540802 – g_list_prepend doesn't concat lists
996 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
997 one list to another. Pointed out by Jan Arne Petersen
999 2008-06-28 Michael Natterer <mitch@imendio.com>
1001 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1003 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1005 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1006 to avoid problems with partial icon themes.
1008 2008-06-17 Hans Breuer <hans@breuer.org>
1010 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1011 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1012 access again on win32, see bug #538127
1013 * giomodule.c : ensure GWin32VolumeMonitor is registered
1014 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1015 * Makefile.am makefile.msc : updated
1017 2008-06-16 Hans Breuer <hans@breuer.org>
1019 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1020 and initialization in one step avoids c99ism
1022 2008-06-16 Christian Persch <chpe@gnome.org>
1025 * gio/gbufferedinputstream.c
1026 * gio/gcancellable.c
1027 * gio/gdatainputstream.c
1028 * gio/gdesktopappinfo.c
1030 * gio/gfileenumerator.c
1031 * gio/gfileinputstream.c
1032 * gio/gfileoutputstream.c
1033 * gio/ginputstream.c
1034 * gio/glocaldirectorymonitor.c
1036 * gio/glocalfileenumerator.c
1037 * gio/glocalfileinfo.c
1038 * gio/glocalfilemonitor.c
1039 * gio/glocalfileoutputstream.c
1040 * gio/gmemoryinputstream.c
1041 * gio/gmemoryoutputstream.c
1042 * gio/goutputstream.c
1043 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1046 2008-06-16 Tor Lillqvist <tml@novell.com>
1048 Bug 538362 - Get Win32 icons back in the file chooser
1050 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1051 corresponding to a file extension in the Registry. Patch by Hans
1053 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1055 2008-06-16 Tor Lillqvist <tml@novell.com>
1057 Patches by Hans Breuer:
1059 * glocalfile.c (is_xp_or_later): Handle compiling against older
1060 SDK headers with missing VerifyVersionInfo(). Conditioned on
1061 _MSC_VER, but should probably use some better test.
1062 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1063 uninitialised statfs_result variable on Win32.
1065 2008-06-16 Michael Natterer <mitch@imendio.com>
1067 * *.c: chain up unconditionally in finalize() and dispose(). Also
1068 don't dereference these function pointers when calling them since
1069 that has no meaning at all.
1071 2008-06-16 Ross Burton <ross@burtonini.com>
1073 * gfileenumerator.c:
1074 Remove check for dispose implementation as it annoys Emmanuele.
1076 2008-06-16 Ross Burton <ross@burtonini.com>
1078 Bug 536252 – GFileEnumerator should allow access to the containing
1081 * gfileenumerator.c:
1082 * gfileenumerator.h:
1084 Add g_file_enumerator_get_container() and a container writeable
1085 construct-only property. Also shuffle around typedefs to make it
1088 * glocalfileenumerator.c:
1089 * glocalfileenumerator.h:
1091 Instead of a string filename take a GFile in the constructor and
1092 use it to set the container property.
1095 Update with new API.
1097 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1099 * gfile.c: Make includes more uniform
1101 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1103 * tests/live-g-file.c (sample_struct):
1104 Use less fancy unicode filenames, so the test doesn't fail
1105 on Mac OS X (#531476).
1107 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1109 * === Released 2.17.2 ===
1111 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1113 * === Released 2.17.1 ===
1115 2008-06-11 A. Walton <awalton@gnome.org>
1117 * tests/g-file.c (test_g_file_new_null):
1118 Fix broken test case.
1120 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1122 * pltcheck.sh: We use g_clear_error now.
1124 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1126 * glocalfile.c (g_local_file_enumerate_children): Revert
1127 an unintended change.
1129 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1131 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1133 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1135 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1138 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1139 as icon for the desktop directory, also make user-home and
1140 user-desktop the preferred icons.
1142 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1145 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1146 to add a name to the front of the list.
1148 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1150 Bug 537392 – Additional colon in xattr name
1152 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1153 too. Reported by Alessandro Morandi
1155 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1157 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1160 * glocalfile.c (get_fs_type): Add afs and autofs.
1161 Patch by Danny Baumann.
1163 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1165 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1167 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1168 is no parent. (Owen Taylor, patch by Christian Neumair)
1170 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1172 * gfile.c (g_file_replace_contents): do not leak the output stream.
1174 2008-06-10 Michael Natterer <mitch@imendio.com>
1176 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1177 uninitialized memory as array index.
1179 2008-06-10 Tor Lillqvist <tml@novell.com>
1181 * gcontenttype.c (g_content_type_can_be_executable)
1182 (g_content_type_get_icon) [Win32]: Add TODO comments.
1184 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1186 * xdgmime/Makefile.am: Fix the build
1188 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1190 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1191 in the shared mime database, if available.
1193 * xdgmime/*: Sync with upstream. This brings support for
1194 glob weights, generic icons, and changes the cache format to
1197 2008-05-28 Michael Natterer <mitch@imendio.com>
1199 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1200 the global CPPFLAGS now.
1202 * tests/data-input-stream.c
1203 * tests/data-output-stream.c
1204 * tests/g-file-info.c
1206 * tests/live-g-file.c
1207 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1209 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1211 * === Released 2.17.0 ===
1213 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1214 doesn't complain about leftover files.
1216 2008-05-27 simon.zheng <simon.zheng@sun.com>
1218 * glocalfile.c: (g_local_file_query_filesystem_info):
1219 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1221 2008-05-26 Michael Natterer <mitch@imendio.com>
1223 * gmemoryoutputstream.h: declare
1224 g_memory_output_stream_get_data_size().
1226 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1228 * tests/*: Make tests work
1230 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1232 * gio.symbols: Add g_memory_output_stream_get_data_size.
1234 2008-05-25 Ross Burton <ross@burtonini.com>
1237 Fix typo in error message (#534764).
1239 2008-05-25 Ross Burton <ross@burtonini.com>
1242 Fix circular dependency loop for gioenumtypes.h (#534759).
1244 2008-05-19 Hans Breuer <hans@breuer.org>
1246 * Makefile.am : EXTRA_DIST += makefile.msc
1248 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1251 * gcontenttype.c: (g_content_type_from_mime_type):
1252 New function to create a content type from a mime type. (#527175,
1255 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1257 Bug 532965 – Should not return filesystem::free for certain file systems
1259 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1260 free space for ncpfs.
1262 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1264 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1266 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1267 st_dev might be zero.
1269 2008-05-16 Tor Lillqvist <tml@novell.com>
1271 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1272 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1274 2008-05-13 Bastien Nocera <hadess@hadess.net>
1276 * gfile.c (has_valid_scheme): A URI scheme must start with a
1277 letter, even if later more characters are allowed (#532852)
1279 2008-05-05 Michael Natterer <mitch@imendio.com>
1281 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1282 code from being checked in that breaks the build of applications
1283 which use G_DISABLE_SINGLE_INCLUDES.
1285 * makegioalias.pl: make the alias file include "glib.h" instead of
1288 * gio.symbols: whitespace change to force regeneration of the
1289 alias file after above script change.
1291 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1293 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1295 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1297 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1299 2008-04-28 David Zeuthen <davidz@redhat.com>
1301 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1302 displaying mounts in a subdirectory not accessible to the
1305 2008-04-22 Michael Natterer <mitch@imendio.com>
1307 * Makefile.am: fix library versioning (it was 0.0.0).
1309 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1311 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1312 Default disable all loggings.
1313 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1314 (port_fetch_event_cb): Fixed two macro nits.
1316 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1318 * xdgmime/xdgmime.c: Rework the timestamp checking code
1319 to protect against duplicate directories in XDG_DATA_DIRS.
1320 Fixes fd.o bug 12513, reported by Joe Shaw.
1322 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1324 Partically revert the last commit after realizing that
1325 xdg_mime_media_type_equal doesn't have to init at all.
1327 * xdgmime/xdgmime.h:
1328 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1330 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1332 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1334 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1335 reported by Joe Shaw and Federico Mena Quintero.
1337 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1338 (xdg_mime_media_type_equal): Turn into a wrapper around the
1341 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1342 functions throughout.
1344 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1346 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1347 tolerate an empty TryExec= line without failing; nautilus used
1348 to create launchers with these in previous versions. Fixes #528433
1350 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1352 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1353 after name. Fixes #527132.
1355 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1357 * gfile.c: (g_file_replace):
1360 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1362 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1364 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1365 by Christian Kellner.
1367 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1369 * gunixmounts.c: (g_unix_mount_guess_should_display):
1370 Don't list the user directory as a mount, fix potential issue
1371 when other users have a similar naming and don't special case the
1372 gvfs mounts there since that's not required (#525866)
1374 2008-03-31 Alexander Larsson <alexl@redhat.com>
1376 * glocalfile.c (get_parent):
1379 2008-03-31 A. Walton <awalton@svn.gnome.org>
1381 * gfile.c (g_file_query_file_type):
1382 Always return a GFileType enum value (#520715).
1384 2008-03-31 Alexander Larsson <alexl@redhat.com>
1386 * glocalfileenumerator.c:
1387 Read readdir() info in chunks (of 1000) and sort
1388 the chunks by inode before stat:ing.
1389 This is a 20% performance increase in testing
1390 gvfs-ls on /usr/bin with cold cache.
1392 2008-03-31 Alexander Larsson <alexl@redhat.com>
1394 * gmemoryoutputstream.c:
1395 Clarify docs for g_memory_output_stream_get_size.
1396 Add g_memory_output_stream_get_data_size.
1398 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1402 * gfile.h: Add g_file_query_file_type convenience function
1403 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1405 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1407 * gfileenumerator.c:
1408 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1410 2008-03-28 A. Walton <awalton@svn.gnome.org>
1412 * giomodule.c (_g_io_modules_ensure_loaded):
1413 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1416 2008-03-28 Alexander Larsson <alexl@redhat.com>
1419 (copy_stream_with_progress):
1422 2008-03-28 Alexander Larsson <alexl@redhat.com>
1425 (copy_stream_with_progress):
1426 (file_copy_fallback):
1427 Fallback to g_file_query_info for source size
1428 if g_file_input_stream_query_info fails. (#524579)
1430 2008-03-28 Alexander Larsson <alexl@redhat.com>
1432 * glocalfile.c (g_local_file_move):
1433 Reuse old string instead of adding new one.
1435 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1437 * fen/*.[hc]: still copyright issue. I hate copyright.
1439 2008-03-27 Alexander Larsson <alexl@redhat.com>
1441 * glocalfile.c (g_local_file_move):
1442 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1443 file over directory. This is according to the docs and what the move via
1444 copy+remove fallback does.
1446 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1448 * fen/*.[hc]: Updated copyright.
1450 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1452 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1454 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1456 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1457 not emit attribute changed events when optimizing changed events.
1458 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1461 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1463 * gmountoperation.[hc]: Small documentation additions
1465 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1467 * gunixmounts.c: (guess_mount_type):
1468 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1470 2008-03-19 Alexander Larsson <alexl@redhat.com>
1473 (copy_stream_with_progress):
1474 Bump block side for copy to 64k to minimize
1475 overhead for low latency links. (#523015)
1477 2008-03-16 Tor Lillqvist <tml@novell.com>
1479 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1480 depend on gio.def on Windows.
1482 2008-03-12 David Zeuthen <davidz@redhat.com>
1486 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1488 2008-03-14 Alexander Larsson <alexl@redhat.com>
1492 Avoid redudant tests (#521851)
1493 Patch from Josselin Mouette
1495 2008-03-14 Alexander Larsson <alexl@redhat.com>
1498 (g_file_monitor_is_cancelled):
1499 Fix C89 issue (#521672)
1500 Patch from Jens Granseuer
1502 2008-03-14 Alexander Larsson <alexl@redhat.com>
1504 * fam/fam-helper.[ch]:
1506 Shut down fam (including removing fam GSource) when
1507 module is unloaded (#521513)
1508 Patch from Joe Marcus Clarke
1510 2008-03-14 Alexander Larsson <alexl@redhat.com>
1513 (_g_io_modules_ensure_loaded):
1516 2008-03-14 Alexander Larsson <alexl@redhat.com>
1519 (g_local_file_query_filesystem_info):
1520 Use right define name for f_fstypename member check
1522 2008-03-14 Alexander Larsson <alexl@redhat.com>
1525 * fen/Makefile.am: Added.
1526 * fen/fen-data.[ch]: Added.
1527 * fen/fen-dump.[ch]: Added.
1528 * fen/fen-helper.[ch]: Added.
1529 * fen/fen-kernel.[ch]: Added.
1530 * fen/fen-missing.[ch]: Added.
1531 * fen/fen-node.[ch]: Added.
1532 * fen/fen-sub.[ch]: Added.
1533 * fen/gfendirectorymonitor.[ch]: Added.
1534 * fen/gfenfilemonitor.[ch]: Added.
1536 Added Solaris FEN file notification backend.
1537 Patch from Lin Ma <Lin.Ma@Sun.COM>
1539 2008-03-13 Tor Lillqvist <tml@novell.com>
1541 * Makefile.am: Actually use the gio.def file when linking the
1542 library on Windows. Produce .lib library for Microsoft's toolchain
1543 when possible. Install the .lib and .def file like for the other
1546 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1548 * tests/live-g-file.c:
1549 Include live-g-file in standard set of tests, making a temporary
1550 directory in source structure.
1552 Clean target directory before the tests (write mode only)
1554 2008-03-12 Tor Lillqvist <tml@novell.com>
1556 Bug 517419 - gio win32 directory monitor
1557 Implementation by Vlad Grecescu.
1560 * win32/gwin32directorymonitor.h
1561 * win32/gwin32directorymonitor.c: New files.
1563 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1565 * Makefile.am: Add the win32 subdirectory.
1567 2008-03-12 Tor Lillqvist <tml@novell.com>
1569 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1570 normal struct stat on Unix but struct _stati64 on Windows to have
1571 access to 64-bit file size information. Use that instead of struct
1572 stat in the functions declared here in this private header.
1574 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1575 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1576 warnings about unused functions and variables. Don't set
1577 meaningless attributes like inode numbers on Windows.
1579 2008-03-12 Benjamin Otte <otte@gnome.org>
1582 trim whitespace so gtk-doc groks the function name
1584 2008-03-12 Tor Lillqvist <tml@novell.com>
1586 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1587 returning FALSE, on Win32.
1589 2008-03-11 Alexander Larsson <alexl@redhat.com>
1592 * glocalfileinfo.[ch]:
1593 Correctly implement can_trash by actually
1594 looking for a trash dir, not just assuming
1597 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1599 * === Released 2.16.1 ===
1601 2008-03-11 Alexander Larsson <alexl@redhat.com>
1604 Fix crashes in new constructor and properties code
1606 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1608 * gfile.c: Minor spelling correction in documentation:
1609 existance -> existence.
1611 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1613 * === Released 2.16.0 ===
1615 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1617 * gio.symbols: Remove g_file_contains_file here, too.
1619 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1621 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1622 Samuel Cormier-Iijima)
1624 2008-03-08 Tor Lillqvist <tml@novell.com>
1626 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1629 2008-03-07 Alexander Larsson <alexl@redhat.com>
1632 (g_local_file_query_filesystem_info):
1633 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1634 Patch from Jasper Lievisse Adriaanse
1636 2008-03-06 Tor Lillqvist <tml@novell.com>
1638 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1639 comments for the *_USEC attributes.
1641 2008-03-06 Alexander Larsson <alexl@redhat.com>
1643 * gfile.c (g_file_query_exists):
1644 Add g_return_val_if_fail check (#520700)
1646 2008-03-06 Alexander Larsson <alexl@redhat.com>
1648 * gdesktopappinfo.c:
1651 * gunionvolumemonitor.c:
1654 * tests/live-g-file.c:
1655 * xdgmime/xdgmimecache.c:
1656 Fix sparse warnings (#519489)
1658 2008-03-05 Alexander Larsson <alexl@redhat.com>
1661 Make cancellation threadsafe (i.e.
1662 guarantee its only done once, and always
1665 * glocaldirectorymonitor.c:
1666 Make sure we the monitor lives while the
1667 mounts_changed callback is being called (#520484)
1669 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1671 * gbufferedinputstream.c: Fix typo in parameter
1674 2008-03-04 Alexander Larsson <alexl@redhat.com>
1677 Remove deprecated symbols we kept for one release.
1679 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1682 * goutputstream.c: Tiny documentation corrections.
1684 2008-03-03 Alexander Larsson <alexl@redhat.com>
1686 * gunionvolumemonitor.c:
1688 Fix the adopt_orphan_mount vfunc to take a
1689 volume_monitor reference in an ABI compat way.
1690 This change is not API compat, but the added
1691 arg is not used in the only user of this vfunc, so
1692 all we get is a harmless warning in gvfs (#520169)
1694 2008-03-01 Benjamin Otte <otte@gnome.org>
1697 clarify docs for g_file_delete().
1699 2008-02-29 Alexander Larsson <alexl@redhat.com>
1703 Make sure empty files get text/plain type (#518720)
1705 2008-02-27 Alexander Larsson <alexl@redhat.com>
1711 (g_unix_volume_mount):
1712 Add missing GMountMountFlags argument
1714 2008-02-26 Alexander Larsson <alexl@redhat.com>
1717 (g_local_file_delete):
1718 Handle filesystems (like ntfs-3g) that return EEXIST instead
1719 of ENOTEMPTY (#518816)
1721 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1723 * === Released 2.15.6 ===
1725 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1727 * gfile.c (g_file_find_enclosing_mount):
1728 * ginputstream.c (g_input_stream_set_pending):
1729 * glocalfile.c (g_local_file_find_enclosing_mount):
1730 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1731 * goutputstream.c (g_output_stream_set_pending):
1733 Fixup translator comments (#518578).
1735 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1737 * gfile.c (g_file_find_enclosing_mount):
1739 * glocalfile.c (g_local_file_find_enclosing_mount):
1742 Fix a few typos in translator comments and documentation.
1744 2008-02-25 Alexander Larsson <alexl@redhat.com>
1751 Add translator comments (#518578)
1753 2008-02-25 Alexander Larsson <alexl@redhat.com>
1756 Reintroduce g_file_contains_file, keep around for one
1757 unstable release cycle to avoid crashing to many apps.
1758 Make sure to delete after release.
1760 2008-02-25 Alexander Larsson <alexl@redhat.com>
1763 Remove deprecated g_file_contains_file.
1765 2008-02-25 Alexander Larsson <alexl@redhat.com>
1768 Emit actual change signals in an idle handler.
1769 This avoids reentrance and locking problems in
1770 the file notification backends.
1772 2008-02-25 Alexander Larsson <alexl@redhat.com>
1775 (g_unix_mount_guess_should_display):
1776 Remove type guessing, instead just display
1777 mounts in /media and in ~/.
1779 2008-02-25 Alexander Larsson <alexl@redhat.com>
1782 Make new strings reuse old ones.
1784 2008-02-25 Alexander Larsson <alexl@redhat.com>
1787 Implement trashing and filesystem::readonly for win32 (#517235)
1788 Patch from Yevgen Muntyan
1790 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1792 * gfileinfo.h: Documentation fixes.
1794 2008-02-22 Alexander Larsson <alexl@redhat.com>
1796 * gcontenttype.c (g_content_type_get_icon):
1797 Look at old-style gnome mime icon names too, as many
1798 have not moved to the new style.
1800 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1802 * *.c: Correct the @include in for section docs.
1804 2008-02-21 David Zeuthen <davidz@redhat.com>
1806 * glocalfileinfo.c: (_g_local_file_info_get):
1808 (g_content_type_get_icon): Implement this function by
1809 moving bits from glocalfileinfo.c
1810 (g_content_type_get_description): Unalias before getting
1811 description (#517687)
1813 * gfile.c: (g_file_class_init),
1814 (g_file_query_filesystem_info_async),
1815 (g_file_query_filesystem_info_finish),
1816 (query_filesystem_info_data_free),
1817 (query_filesystem_info_async_thread),
1818 (g_file_real_query_filesystem_info_async),
1819 (g_file_real_query_filesystem_info_finish):
1820 * gfile.h: Implement async version of
1821 g_file_query_filesystem_info()
1823 * gfileinfo.h: Add new attributes for filesystem::use-preview
1825 * gio.symbols: Update
1827 * gthemedicon.c: (g_themed_icon_append_name):
1828 * gthemedicon.h: Add new new convenience function.
1830 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1831 (get_mounts), (get_volumes), (get_connected_drives),
1832 (get_volume_for_uuid), (get_mount_for_uuid),
1833 (g_union_volume_monitor_init), (populate_union_monitor),
1834 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1835 (g_volume_monitor_adopt_orphan_mount):
1837 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1838 monitor implementations to call into the main volume monitor. Also
1839 separate object initialization and volume monitor initialization
1840 such that non-native volume monitors can properly adopt their
1843 2008-02-21 Alexander Larsson <alexl@redhat.com>
1848 2008-02-21 Alexander Larsson <alexl@redhat.com>
1851 Add more documentation about how GFiles work (from #517086)
1853 2008-02-21 Alexander Larsson <alexl@redhat.com>
1857 Add new g_file_has_prefix that does the same as g_file_contains_file.
1858 Deprecate g_file_contains_file and add a macro that converts
1859 it to g_file_has_prefix.
1860 The reason for this change is that the contains_file() name seems to
1861 imply that this does more work than what it does, but its really only
1862 a name match (from #517086)
1867 Update to match the above change.
1869 2008-02-20 Benjamin Otte <otte@gnome.org>
1871 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1872 (g_file_eject_mountable):
1873 even more cases of not returning in error path
1875 2008-02-20 Benjamin Otte <otte@gnome.org>
1877 * gfile.c: (g_file_mount_mountable):
1878 return from function in error path.
1880 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1883 Remove trailing coma in GMountMountFlags struct
1885 2008-02-18 Alexander Larsson <alexl@redhat.com>
1889 * glocalfileoutputstream.c:
1890 Use g_unlink/g_rename instead of unlink/rename;
1891 do not pass raw filenames to g_set_error. (#517239)
1892 Patch from Yevgen Muntyan.
1894 2008-02-18 Alexander Larsson <alexl@redhat.com>
1897 * glocalfileoutputstream.c:
1898 Open files with O_BINARY on windows. (#517140)
1900 2008-02-14 Alexander Larsson <alexl@redhat.com>
1902 * glocalfileoutputstream.c:
1903 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1905 2008-02-14 Alexander Larsson <alexl@redhat.com>
1908 Copy permissions with file on copy (#514084)
1909 This is what cp does and makes sure e.g. the
1910 exec permissions are kept.
1911 Its kinda weird in that it keeps the permission bits
1912 the same while the uid and gid are different. However
1913 the new uid is the user so its not a security issue,
1914 and I've heard no complaints about cp on this issue.
1916 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1918 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1920 2008-02-13 Alexander Larsson <alexl@redhat.com>
1922 * inotify/inotify-path.c:
1923 Define IN_ONLYDIR if not in header (#515346)
1925 2008-02-12 Alexander Larsson <alexl@redhat.com>
1927 * tests/live-g-file.c:
1930 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1932 * === Released 2.15.5 ===
1934 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1936 * gio.symbols: Add g_mount_mount_flags_get_type.
1938 2008-02-11 Alexander Larsson <alexl@redhat.com>
1941 (g_file_info_set_attribute_mask):
1942 (g_file_attribute_matcher_matches_id):
1943 Correctly handle NULL GAttributeMatcher meaning
1944 matches nothing. (Fixes #513492)
1946 2008-02-11 Alexander Larsson <alexl@redhat.com>
1951 Added GMountMountFlags enum and added a flags
1952 argument to all mount calls.
1954 This is an API/ABI change for future extensibility,
1955 as I think we will need at least an
1956 inhibit-autorun flag (the panel needs this).
1957 There are no flags defined yet though.
1959 2008-02-11 Alexander Larsson <alexl@redhat.com>
1962 Added new standard::description attribute.
1963 Requested by Vincent, and useful for both
1966 2008-02-11 Alexander Larsson <alexl@redhat.com>
1968 * gdesktopappinfo.c:
1971 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1973 * *.c: Documentation additions
1975 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1977 * gappinfo.h: Formatting cleanup
1978 * gappinfo.c: Fix up docs.
1980 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1982 * gunixmounts.c: Consistently use getmntent_r() and fall
1983 back to getmntent(). (#515492)
1985 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1987 * gbufferedinputstream.c:
1989 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1991 * tests/data-input-stream.c:
1992 * tests/data-output-stream.c: Portability fixes.
1994 2008-02-08 Alexander Larsson <alexl@redhat.com>
1999 Add g_volume_should_automount.
2002 2008-02-07 Tor Lillqvist <tml@novell.com>
2004 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2005 Win32, too Unix-specific.
2007 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2009 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2010 a local plt if the compiler doesn't support what we want. Bug #514702
2012 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2014 reviewed by: <delete if not using a buddy>
2017 * gunixinputstream.c:
2018 * gunixoutputstream.c:
2020 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2022 * tests/Makefile.am:
2023 * tests/live-g-file.c:
2024 * tests/live-g-file.txt:
2025 New GIO testing module working over real data
2027 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2029 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2030 Fallback to rename() if link() is not available
2031 (when no support on target filesystem)
2033 2008-02-06 Michael Natterer <mitch@imendio.com>
2035 * gfileinfo.c (g_file_info_get_icon): replace
2036 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2038 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2040 * gfile.c (g_file_create):
2041 Documentation update of error codes
2043 2008-02-06 Alexander Larsson <alexl@redhat.com>
2045 * gdesktopappinfo.c:
2046 Update to use both mimeapps.list and
2047 defaults.list as discussed on xdg list.
2049 2008-02-06 Benjamin Otte <otte@gnome.org>
2052 * gfilenamecompleter.c:
2053 Fix some typos in the documentation.
2055 2008-02-06 Alexander Larsson <alexl@redhat.com>
2057 * glocalfile.c (g_local_file_trash):
2058 Don't succeed with trash if newly created
2059 trash dir has the wrong owner. (#514696)
2061 2008-02-05 Alexander Larsson <alexl@redhat.com>
2063 * glocalfile.c (g_local_file_move):
2064 Don't spew warnings when destination is not
2067 2008-02-03 Hans Breuer <hans@breuer.org>
2069 * makefile.msc : update
2071 2008-02-01 Michael Natterer <mitch@imendio.com>
2073 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2074 return value of xdg_mime_list_mime_parents() to a variable of the
2077 2008-02-01 Alexander Larsson <alexl@redhat.com>
2079 * gappinfo.c (g_app_info_launch_uris):
2080 Actually call the launch_uris method, not
2083 2008-02-01 Alexander Larsson <alexl@redhat.com>
2085 * gdesktopappinfo.c (g_desktop_app_info_equal):
2086 Ensure appinfos with no id but same pointer value
2089 2008-02-01 Alexander Larsson <alexl@redhat.com>
2091 * gappinfo.c (g_app_info_launch_default_for_uri):
2094 2008-02-01 Alexander Larsson <alexl@redhat.com>
2098 Add g_app_info_launch_default_for_uri utility
2101 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2103 * gdesktopappinfo.c:
2104 Doc fix for g_app_info_get_default_for_uri_scheme ()
2107 2008-01-30 Alexander Larsson <alexl@redhat.com>
2110 Add doc comment about uris vs GFiles to
2113 * gdesktopappinfo.c:
2114 Ensure uris passed to g_app_info_launch_uris()
2115 are not roundtriped through GFile (as that
2116 may be slightly destructive for e.g. mailto: links)
2118 2008-01-30 Alexander Larsson <alexl@redhat.com>
2120 * tests/data-input-stream.c:
2121 * tests/data-output-stream.c:
2122 C89 fixes from Jens Granseuer (#512849)
2124 2008-01-30 Alexander Larsson <alexl@redhat.com>
2127 Fix gamin/fam difference build issue. (#509419)
2129 2008-01-29 Alexander Larsson <alexl@redhat.com>
2132 * gdesktopappinfo.c:
2133 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2135 2008-01-29 Alexander Larsson <alexl@redhat.com>
2137 * gdesktopappinfo.c:
2138 * gdesktopappinfo.h:
2139 giomodule-priv.h include moved to .c file.
2141 2008-01-29 Alexander Larsson <alexl@redhat.com>
2143 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2144 Remove unused prio/name fields.
2146 2008-01-29 Alexander Larsson <alexl@redhat.com>
2148 * gcontenttype.c (looks_like_text):
2149 Don't treat whitespace as control chars.
2151 2008-01-29 Alexander Larsson <alexl@redhat.com>
2153 * gdesktopappinfo.c:
2154 Lazily create the desktop files for appinfos created
2155 by g_app_info_create_from_commandline() when needed
2156 for mime associations. This allows run-time use
2157 of GAppInfo object without creating unnecessary
2160 2008-01-29 Alexander Larsson <alexl@redhat.com>
2163 Added new symbols to gio.symbols
2165 2008-01-29 Alexander Larsson <alexl@redhat.com>
2168 Add g_file_query_default_handler utility to easily look up
2169 the GAppInfo that handles a file.
2171 * gdesktopappinfo.[ch]:
2173 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2176 Remove unused function
2178 2008-01-29 Alexander Larsson <alexl@redhat.com>
2180 * gfileenumerator.c:
2181 Mention need to free returned value in
2182 g_file_enumerator_next_files_finish docs.
2183 Fix leak if g_file_enumerator_next_files_finish()
2186 2008-01-29 Alexander Larsson <alexl@redhat.com>
2189 (_g_unix_content_type_get_parents):
2190 Use list_parents, not get_parents from xdgmime, because
2191 the later doesn't use the cache.
2193 * xdgmime/xdgmimecache.c:
2194 (_xdg_mime_cache_list_mime_parents):
2195 Don't list the same type as parent multiple times.
2197 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2199 * === Released 2.15.4 ===
2201 2008-01-28 Alexander Larsson <alexl@redhat.com>
2204 Register local vfs with prio 0.
2207 Remove old name and prio class members
2209 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2211 * tests/g-file.c: Disable some tests that are failing in
2212 the absence of a http backend.
2214 2008-01-28 Alexander Larsson <alexl@redhat.com>
2218 Add registration hooks for extension points.
2219 Register the gio extension points.
2221 * fam/gfamdirectorymonitor.c:
2222 * fam/gfamfilemonitor.c:
2223 * glocaldirectorymonitor.[ch]:
2224 * glocalfilemonitor.[ch]:
2225 * gnativevolumemonitor.h:
2226 * gunionvolumemonitor.c:
2227 * gunixvolumemonitor.c:
2230 * inotify/ginotifydirectorymonitor.c:
2231 * inotify/ginotifyfilemonitor.c:
2232 Use the extension points registration instead
2233 of g_type_children().
2235 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2238 * gvolume.[hc]: Document new API.
2240 * gfile.c (g_file_copy_async): Fix docs
2242 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2244 * gbufferedinputstream.c:
2246 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2249 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2251 * glocalfile.c: Avoid trivial differences in translatable strings.
2253 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2255 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2256 build with gcc 3.4 (#509419)
2258 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2260 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2261 (#509994, Murray Cumming)
2263 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2265 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2266 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2267 this allows big jobs to be executed in chunks, instead of blocking
2268 the main loop for a long time.
2270 * gsimpleasyncresult.c:
2271 * giofile.c: Adapt callers.
2273 2008-01-25 Alexander Larsson <alexl@redhat.com>
2275 * gdesktopappinfo.c:
2276 Implement changes discussed on xdg list.
2277 Now we can add supported mimetypes by just using defaults.list
2278 We can also remove associations in defaults.list.
2280 2008-01-25 Alexander Larsson <alexl@redhat.com>
2282 * gdesktopappinfo.c:
2283 Don't make local copy of desktop file
2284 for mimetype changes if the file already
2285 supports the new mimetype.
2287 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2291 * gbufferedinputstream.c:
2292 * glocalfile.c: String improvements. (#511966,
2293 Theppitak Karoonboonyanan)
2295 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2297 * gioscheduler.h: Expand docs a bit.
2299 2008-01-24 Alexander Larsson <alexl@redhat.com>
2302 Add g_drive_get_identifier and
2303 g_drive_enumerate_identifiers
2306 Add g_volume_get_identifier and
2307 g_volume_enumerate_identifiers
2313 Implement identifiers for unix backend
2315 2008-01-24 Alexander Larsson <alexl@redhat.com>
2320 Add g_file_copy_async() (#511580)
2321 Based on patch from Carlos Garcia Campos
2323 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2325 * gioscheduler.c: Some documentation additions.
2327 2008-01-22 Alexander Larsson <alexl@redhat.com>
2329 * gdesktopappinfo.c:
2330 (g_desktop_app_info_new):
2331 Don't leak basename.
2333 2008-01-22 Alexander Larsson <alexl@redhat.com>
2335 * gdesktopappinfo.c:
2336 (g_desktop_app_info_new_from_filename):
2339 2008-01-22 Alexander Larsson <alexl@redhat.com>
2341 * glocalfileinfo.c (get_thumbnail_attributes):
2344 2008-01-22 Alexander Larsson <alexl@redhat.com>
2347 (canonicalize_filename):
2348 Canonicalize paths that start with more than
2352 (compare_two_files):
2353 (test_g_file_new_for_path):
2356 2008-01-22 Alexander Larsson <alexl@redhat.com>
2359 Allow UTF-8 in file:// parse names.
2361 * tests/Makefile.am:
2362 * tests/data-input-stream.c:
2363 * tests/data-output-stream.c:
2364 * tests/g-file-info.c:
2366 Added a bunch of tests from Tomas Bzatek
2368 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2370 * === Released 2.15.3 ===
2372 2008-01-21 Alexander Larsson <alexl@redhat.com>
2374 * gfileinputstream.[ch]:
2375 * gfileoutputstream.[ch]:
2377 Remove duplicated GSeekable functions. (#509990)
2378 Just use the g_seekable_xxx() calls instead.
2380 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2383 * gvolumemanager.c: Whitespace cleanups.
2385 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2386 Use the right mode when creating the file.
2388 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2390 * gfileenumerator.c:
2391 * gfileinputstream.c:
2393 * goutputstream.c: Documentation: Fixed minor typos
2394 and added more mentions of specific _finish() functions.
2396 2008-01-21 Alexander Larsson <alexl@redhat.com>
2398 * inotify/Makefile.am:
2399 * inotify/inotify-helper.c:
2400 * inotify/inotify-kernel.c:
2401 * inotify/inotify-path.c:
2402 * inotify/local_inotify.h: Removed.
2403 * inotify/local_inotify_syscalls.h: Removed.
2404 Removed the included copies of the inotify
2405 headers. We now only use the <sys/inotify.h>
2406 header which exists on modern systems.
2407 This fixes problems on ARM and SH5 (#510448)
2408 but is also generally much cleaner and future
2409 safe. For instance, if other OSes add support
2410 for inotify it should "just work".
2412 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2414 * inotify/*.c: Coding style fixes.
2415 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2416 for the 1/4 Hz timer.
2418 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2421 * gfilemonitor.[hc]:
2422 * gmemoryinputstream.c:
2423 * gmemoryoutputstream.c:
2424 * gmountoperation.c:
2425 * gthemedicon.c: Documentation updates
2427 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2429 * gfile.c: documentation: Fixed more minor
2432 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2434 * gmount.c: (g_mount_remount): documentation:
2435 Mention g_mount_remount_finish() instead of
2436 g_mount_unmount_finish().
2438 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2442 * gfile.c: Fixed some minor typos in the
2445 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2447 * gio/gvolumemonitor.c:
2448 (g_volume_monitor_get_connected_drives):
2449 (g_volume_monitor_get_volumes):
2450 (g_volume_monitor_get_mounts): Documentation:
2451 Clarify the ownership of the regurn GLists.
2453 2008-01-17 Alexander Larsson <alexl@redhat.com>
2456 Add the async find_enclosing_mount version
2457 to the header file too.
2459 2008-01-17 Alexander Larsson <alexl@redhat.com>
2462 Add async version of find_enclosing_mount
2463 with default implementation.
2465 2008-01-17 Alexander Larsson <alexl@redhat.com>
2470 Allow calls to implementation of copy and write
2471 even if the type of the file implementations is
2472 different. This can be used to implement native
2473 upload and download calls in a vfs.
2476 (g_local_file_move):
2477 Protect against the case where move is called
2478 with one file not being local.
2480 Make sure we call the progress callback once
2481 in the native move operation so that the caller
2482 knows how many bytes were copied.
2484 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2487 * gdatainputstream.c:
2489 * gfileoutputstream.c:
2494 * gunixmounts.c: Corrected some typos in the documentation:
2495 occured -> occurred.
2496 its -> it's (where appropriate).
2498 2008-01-16 Alexander Larsson <alexl@redhat.com>
2502 Add g_file_query_exists (#508771)
2504 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2509 * gvolume.c: For async functions that have no non-async
2510 version, document that the GAsyncReadyCallback may be NULL.
2513 2008-01-15 Alexander Larsson <alexl@redhat.com>
2515 * gmemoryinputstream.c:
2516 * gmemoryoutputstream.c:
2517 Don't do pointer arithmetic on void * (#508602)
2518 Patch from Kazuki IWAMOTO
2520 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2522 * === Released 2.15.2 ===
2524 2008-01-14 Alexander Larsson <alexl@redhat.com>
2526 * gfile.c (g_file_monitor_file):
2527 Don't set error here, since we fallback to polling monitor.
2529 2008-01-14 Alexander Larsson <alexl@redhat.com>
2532 (g_file_monitor_directory):
2533 (g_file_monitor_file):
2534 Add GError to file monitor calls
2536 * glocaldirectorymonitor.c:
2537 * glocaldirectorymonitor.h:
2539 * glocalfilemonitor.c:
2540 * glocalfilemonitor.h:
2542 Update for above change
2544 2008-01-14 Alexander Larsson <alexl@redhat.com>
2548 Handle root correctly in g_file_get_relative_path (#508719)
2550 2008-01-14 Alexander Larsson <alexl@redhat.com>
2553 Clean up docs and example for GAsyncResult (#508074)
2555 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2557 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2558 and correct some spelling mistakes. Bug #508108.
2560 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2562 * glocalfileinfo.c: Add a comment.
2564 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2566 * gfileinfo.c: GFileInfo description: Mention
2567 how to actually set attributes in a GFile and how to discover
2568 which attributes are settable. Bug #508378.
2570 2008-01-10 A. Walton <awalton@svn.gnome.org>
2572 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2573 (g_app_info_get_default_for_type):
2574 Check for NULL content types.
2576 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2578 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2580 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2582 * gfile.c: *_async() functions: Several small corrections
2583 to the documentation, mostly correcting copy/paste errors
2584 and improving some sentences.
2586 2008-01-09 Dan Winship <danw@gnome.org>
2588 * glocalfile.c (get_unique_filename): x86_64 fix
2590 2008-01-09 Alexander Larsson <alexl@redhat.com>
2595 Add g_unix_mount_guess_should_display and use
2596 for unix volume monitor backend.
2597 This means we more or less show what the
2598 gnome-vfs backend did.
2599 Based on patch from Padraig O'Briain
2601 2008-01-09 Alexander Larsson <alexl@redhat.com>
2605 Add g_themed_icon_new_with_default_fallbacks
2608 Use default fallbacks for icons
2610 2008-01-09 Alexander Larsson <alexl@redhat.com>
2613 * gmountoperation.[ch]:
2614 Change the API a bit so that unhandled methods
2615 get reported via the reply, rather than by
2616 the signal emission return value. This is because
2617 some handlers can't know this immediately without
2618 doing I/O, and this is an async operation that
2621 2008-01-09 Alexander Larsson <alexl@redhat.com>
2624 * fam/gfamdirectorymonitor.c:
2625 * fam/gfamfilemonitor.c:
2626 Fix double free crash (#508224)
2627 Patch from Joe Marcus Clarke
2629 008-01-07 Matthias Clasen <mclasen@redhat.com>
2631 * === Released 2.15.1 ===
2633 2008-01-07 Alexander Larsson <alexl@redhat.com>
2635 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2636 Fix warning (#507835)
2638 2008-01-07 Alexander Larsson <alexl@redhat.com>
2641 Pass --internal to glib-genmarshal
2644 * gmountoperation.c:
2646 Use better types for signal arguments (#507822)
2648 2008-01-07 Alexander Larsson <alexl@redhat.com>
2651 Build test subdir after .
2652 Remove gdirectorymonitor.[ch]
2654 * gdirectorymonitor.[ch]:
2658 Remove GDirectoryMonitor and make
2659 GFileMonitor the baseclass for both file and
2660 directory monitors. Lift the more generic
2661 rate limiting code from GDirectoryMonitor
2665 * fam/gfamdirectorymonitor.[ch]:
2666 * inotify/ginotifydirectorymonitor.[ch]:
2667 * inotify/inotify-helper.c:
2668 * glocaldirectorymonitor.[ch]:
2671 Update for the removed GDirectoryMonitor.
2673 * gmemoryoutputstream.c:
2674 Remove ununsed variable
2676 2008-01-07 Alexander Larsson <alexl@redhat.com>
2678 * gmemoryinputstream.c:
2679 Translate error strings
2682 * gmemoryoutputstream.[ch]:
2683 New implementation that avoids using GByteArray
2684 in implementation and API. (#506377)
2686 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2688 * tests/*: Add a test for memory input streams.
2690 * Makefile.am: Add tests to SUBDIRS.
2692 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2694 * glocalfilemonitor.c:
2695 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2698 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2700 * gdesktopappinfo.c: Fix a docs typo.
2702 * gfileattribute.c: Add information about extended attributes
2703 to the documentation. (#505058)
2705 2008-01-04 Alexander Larsson <alexl@redhat.com>
2708 * gmountoperation.c:
2709 Use the right type (uint) for the ask_password signal.
2711 2008-01-04 Alexander Larsson <alexl@redhat.com>
2716 Add g_app_info_supports_files()
2717 Remove desktop arg from g_app_info_should_show().
2719 * gdesktopappinfo.[ch]:
2720 Implement g_app_info_supports_files() and new should_show()
2721 Add g_desktop_app_info_set_desktop_env() to set the desktop
2722 for should_show(). (This will be set by gtk+ later)
2724 2008-01-04 Alexander Larsson <alexl@redhat.com>
2727 * gmemoryinputstream.[ch]:
2728 Improve API so that you can use multiple chunks
2729 of memory and custom destroy functions. (#506374)
2731 2008-01-03 Alexander Larsson <alexl@redhat.com>
2734 Handle NULL attribute matchers safely, as we return this
2735 for empty attribute matcher strings.
2737 2008-01-03 Alexander Larsson <alexl@redhat.com>
2739 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2740 Add /usr/local to list of internal mountpoints
2742 2008-01-03 Alexander Larsson <alexl@redhat.com>
2745 Check for HAVE_LCHOWN (#505887)
2747 2008-01-03 Alexander Larsson <alexl@redhat.com>
2751 Add define for selinux context attribute.
2752 Fix missing : -> :: namespace separator change
2753 Fix missing _ -> - name change for xattr-sys.
2756 2008-01-03 Alexander Larsson <alexl@redhat.com>
2759 Link to libglib and libgobject directly (#504879)
2760 Patch from Sebastien Bacher
2762 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2764 * gfile.c: Expanded the g_file_new_for_commandline_arg
2765 description a bit, based on the code and the docs of the
2766 other g_file_new_for_* functions.
2768 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2770 * gfilemonitor.h: Fixed typo in docs.
2772 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2774 Updates to GIO documentation. (#506395, Mikael Hermansson)
2776 * gcontenttype.c: Describe memory management for return value of
2777 g_content_types_get_registered(). Missing piece from #505815.
2778 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2779 GVolume, GDrive, GMounts, which hopefully gives the user less
2780 confusions when using this API. Following explainations from
2781 Alexander Larsson on gtk-devel-list.
2783 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2785 * gfileinfo.c: Expand the long description.
2787 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2790 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2791 fix builds with --disable-visibility. (#500273, Christian Persch)
2793 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2795 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2796 in the list of returned app infos.
2798 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2800 * gappinfo.c: Fix a cross-reference
2802 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2804 * gfileinputstream.c:
2805 * gfileoutputstream.c:
2809 * gdesktopappinfo.c:
2811 * gfileinfo.c: Documentation updates.
2813 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2815 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2818 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2820 * gcontenttype.c (g_content_types_get_registered): Don't return
2821 freed memory (#505815, Mikael Hermansson)
2823 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2825 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2826 used to detect statbuf->st_blocks. (#505042)
2828 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2830 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2831 environment handling. (#504829, Cosimo Cecchi)
2833 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2835 * gappinfo.c: Doc improvements
2837 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2840 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2842 * === Released 2.15.0 ===
2844 2007-12-20 Hans Breuer <hans@breuer.org>
2846 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2847 with symbols gwin32appinfo.obj, added gmount.obj
2848 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2850 2007-12-20 Alexander Larsson <alexl@redhat.com>
2856 * gfilenamecompleter.c:
2859 * gpollfilemonitor.c:
2860 File attribute renames:
2862 fs:: -> filesystem::
2863 id::fs -> id::filesystem
2865 2007-12-20 Alexander Larsson <alexl@redhat.com>
2874 Add GMountUnmountFlags to all unmount and
2876 Add g_mount_remount() call.
2878 2007-12-20 Alexander Larsson <alexl@redhat.com>
2880 * gvfs.c (get_default_vfs):
2881 Fix unused variable warning
2883 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2885 * pltcheck.sh: Update
2887 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2889 * gunionvolumemonitor.c:
2890 * gunixmount.c: Remove C99 comments
2892 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2894 * gio.symbols: Add some missing symbols
2896 2007-12-19 Alexander Larsson <alexl@redhat.com>
2899 Make g_io_modules_load_all_in_directory not unuse
2900 loaded modules so that users of it can do stuff
2902 Init internal "module" types.
2903 Initialize static prio and name for types so that
2904 we don't have to load modules to get it.
2906 * gnativevolumemonitor.h:
2908 Move is_supported to parent class so that
2909 non-native monitors can avoid being initialized
2910 too. (For instance GDaemonVolumeMonitor if we're
2911 not using GDaemonVfs.)
2913 * glocaldirectorymonitor.[ch]:
2914 * glocalfilemonitor.[ch]:
2915 * gunionvolumemonitor.c:
2916 * gunixvolumemonitor.c:
2918 Find plugins using the static prio+name to
2919 avoid unnecessarily loading the modules.
2921 2007-12-19 Alexander Larsson <alexl@redhat.com>
2926 2007-12-19 Alexander Larsson <alexl@redhat.com>
2928 * gunionvolumemonitor.c:
2929 Store the native type as GType, not class so that
2930 we can unload it. But still avoid unnecessarily
2933 2007-12-19 David Zeuthen <davidz@redhat.com>
2935 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2936 add signals 'disconnected' and 'eject-button' on GDrive. Add
2937 signal 'removed' on GVolume and 'unmounted' on GMount.
2939 * gdrive.c: (g_drive_base_init):
2941 * gfile.c: (g_file_mount_mountable),
2942 (g_file_mount_enclosing_volume):
2945 * gmount.c: (g_mount_base_init):
2947 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2948 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2949 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2953 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2955 * *.c: Fix up includes in the section docs.
2957 2007-12-17 Alexander Larsson <alexl@redhat.com>
2959 * gnativevolumemonitor.h:
2960 * gunionvolumemonitor.c:
2961 * gunixvolumemonitor.c:
2962 Add is_supported() to GNativeVolumeMonitorClass so
2963 that we can avoid having to create an object to see
2964 if the backend is supported at runtime.
2965 Also add name member and an env var to pick a specific
2966 volume monitor backend.
2970 Add cancellable to _g_mount_get_for_mount_path()
2972 * glocaldirectorymonitor.c:
2973 * glocalfilemonitor.c:
2974 Avoid loading and unloading modules while sorting.
2976 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2979 * gunixmounts.[hc]: Namespace waste reduction, move some
2980 g_get_unix_mount functions to the g_unix_mount namespace.
2983 * gunixvolumemonitor.c:
2985 * glocaldirectorymonitor.c: Update all callers.
2987 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2989 2007-12-17 Alexander Larsson <alexl@redhat.com>
2992 Add doc comments about what GFile operations are
2993 guaranteed to not block.
2995 2007-12-17 Alexander Larsson <alexl@redhat.com>
2998 Add missing #ifdef fixing OSX build.
2999 (#503334, patch from Richard Hult)
3001 2007-12-14 David Zeuthen <davidz@redhat.com>
3005 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3006 (g_mount_eject), (g_mount_eject_finish):
3008 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3009 (get_volume_for_uuid), (get_mount_for_uuid),
3010 (g_union_volume_monitor_class_init),
3011 (get_default_native_type_with_exclude), (get_default_native_type),
3012 (get_native_type), (update_native_type),
3013 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3014 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3015 (g_unix_mount_can_eject), (eject_unmount_cb),
3016 (eject_unmount_read_error), (eject_unmount_do),
3017 (g_unix_mount_unmount), (g_unix_mount_eject),
3018 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3019 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3020 (g_unix_mount_point_guess_can_eject):
3022 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3023 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3024 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3025 (g_unix_volume_mount), (g_unix_volume_eject),
3026 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3027 * gunixvolumemonitor.c: (get_volume_for_uuid),
3028 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3030 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3031 (g_volume_eject), (g_volume_eject_finish):
3033 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3034 (g_volume_monitor_get_mount_for_uuid):
3037 Provide eject() on both GMount and GVolume and utility functions
3038 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3039 ejected. Introduce the concept of UUID's and wire it into GVolume
3040 and GMount and provide API on GVolumeMonitor to find such
3041 instances. Also handle the case where an external
3042 GNativeVolumeMonitor fails to initialize. Lock around the
3043 _g_get_mount_for_mount_path() function such that volume monitor
3044 implementations won't have to do locking themselves.
3046 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3048 * gdesktopappinfo.c:
3054 * gvolume.h: Documentation updates
3056 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3059 * gfile.h: Doc updates
3061 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3064 * gdesktopappinfo.c: Use hash table iterators.
3066 2007-12-14 Alexander Larsson <alexl@redhat.com>
3069 * gfileattribute.[ch]:
3070 * gfileattribute-priv.h:
3071 Move GFileAttributeValue to a private header, as
3075 Make set_attribute take a type + a pointer instead
3076 of a GFileAttributeValue.
3079 Fix up for above changes.
3080 Add g_file_info_get_attribute_data to get
3081 all info in one call, g_file_info_get_attribute_status
3082 to get the status and g_file_info_get_attribute_as_string.
3086 * glocalfileinfo.[ch]:
3090 Make _guess_type static.
3092 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3095 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3096 made mkenums and friends use temporary files to avoid leaving
3097 empty generated files on failure (#503470).
3099 2007-12-14 Alexander Larsson <alexl@redhat.com>
3101 * gmountoperation.h:
3104 2007-12-14 Alexander Larsson <alexl@redhat.com>
3108 * gfileattribute.[ch]:
3111 * glocalfileoutputstream.c:
3112 * gmountoperation.[ch]:
3113 * goutputstream.[ch]:
3114 Clean up all flags enums to not have _FLAGS in them
3115 Make the names of some of the enums better.
3120 2007-12-14 Michael Natterer <mitch@imendio.com>
3122 * gio.symbols: fix g_io_scheduler symbol names.
3124 2007-12-14 Alexander Larsson <alexl@redhat.com>
3130 * gbufferedinputstream.h:
3131 * gbufferedoutputstream.h:
3134 * gdatainputstream.h:
3135 * gdataoutputstream.h:
3136 * gdesktopappinfo.h:
3137 * gdirectorymonitor.h:
3141 * gfileenumerator.h:
3144 * gfileinputstream.h:
3146 * gfilenamecompleter.h:
3147 * gfileoutputstream.h:
3148 * gfilterinputstream.h:
3149 * gfilteroutputstream.h:
3157 * gmemoryinputstream.h:
3158 * gmemoryoutputstream.h:
3160 * gmountoperation.h:
3163 * gsimpleasyncresult.h:
3165 * gunixinputstream.h:
3167 * gunixoutputstream.h:
3171 * inotify/Makefile.am:
3172 Only allow including <gio/gio.h> from apps
3174 2007-12-14 Alexander Larsson <alexl@redhat.com>
3176 * gioscheduler.[ch]:
3177 * gsimpleasyncresult.c:
3178 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3179 Split out the send_to_mainloop call into two versions instead
3180 of having the block argument.
3182 2007-12-13 Alexander Larsson <alexl@redhat.com>
3184 * gcancellable.[ch]:
3186 * gbufferedinputstream.c:
3187 * gfileenumerator.c:
3188 * gfileinputstream.c:
3189 * gfileoutputstream.c:
3193 g_push/pop_current_cancellable ->
3194 g_cancellable_push/pop_current
3196 2007-12-13 Alexander Larsson <alexl@redhat.com>
3200 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3202 2007-12-13 Alexander Larsson <alexl@redhat.com>
3204 * gmountoperation.h:
3205 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3207 2007-12-12 Alexander Larsson <alexl@redhat.com>
3210 Fix race condition when freeing proxy in
3211 g_io_job_send_to_mainloop().
3213 2007-12-12 Alexander Larsson <alexl@redhat.com>
3219 Make attribute namespace separator "::" instead of ":".
3220 Use - instead of _ as separator in attribute names.
3222 2007-12-12 Alexander Larsson <alexl@redhat.com>
3224 * gbufferedinputstream.h:
3225 * gbufferedoutputstream.h:
3226 * gdatainputstream.h:
3227 * gdataoutputstream.h:
3228 * gdirectorymonitor.h:
3229 * gfileenumerator.h:
3230 * gfileinputstream.h:
3232 * gfileoutputstream.h:
3233 * gfilterinputstream.h:
3234 * gfilteroutputstream.h:
3236 * glocalfileinputstream.h:
3237 * glocalfileoutputstream.h:
3238 * gmemoryinputstream.h:
3239 * gmemoryoutputstream.h:
3240 * gnativevolumemonitor.h:
3242 * gunixinputstream.h:
3243 * gunixoutputstream.h:
3246 s/parent/parent_instance/ in GObjects
3248 2007-12-12 Alexander Larsson <alexl@redhat.com>
3253 No need for padding for interfaces
3255 2007-12-12 Alexander Larsson <alexl@redhat.com>
3259 * gbufferedinputstream.c:
3260 * gbufferedoutputstream.c:
3263 * gdatainputstream.[ch]:
3264 * gdesktopappinfo.c:
3265 * gdirectorymonitor.c:
3267 * gfileattribute.[ch]:
3270 * gfileinputstream.h:
3271 * gfilemonitor.[ch]:
3272 * gfileoutputstream.[ch]:
3273 * gfilterinputstream.h:
3274 * gfilteroutputstream.h:
3277 * gloadableicon.[ch]:
3278 * gmemoryinputstream.c:
3279 * gmountoperation.c:
3281 Fix up a bunch of details in the docs.
3286 2007-12-11 David Zeuthen <davidz@redhat.com>
3288 Rework how volumes, drives and volume monitoring is
3289 done. Previosly the model was
3291 GDrive <1-1> GVolume
3293 where a GDrive instance represented a mount point and a GVolume
3294 instance represented a mounted file system. This patch changes it
3297 GDrive <1-N> GVolume <1-1> GMount
3299 where GMount now serves the purpose of the old GVolume and the new
3300 GVolume serves the purpose of the old GDrive. In addition the new
3301 GDrive interface is used to represent a collection of GVolume
3302 instances (typically partitions) and also contains utility to query
3303 the state of the physical drive the GDrive object represents (such
3304 as checking for media, polling the drive, ejecting the media etc.).
3306 Also implement mounting and unmounting in the Unix volume monitor
3307 backend. A subquent patch will introduce GDrive support for ejection
3311 * gdrive.c: (g_drive_is_media_check_automatic),
3312 (g_drive_is_media_removable), (g_drive_has_media),
3313 (g_drive_can_poll_for_media), (g_drive_eject),
3314 (g_drive_eject_finish), (g_drive_poll_for_media),
3315 (g_drive_poll_for_media_finish):
3317 * gfile.c: (g_file_find_enclosing_mount):
3320 * glocaldirectorymonitor.c:
3321 (g_local_directory_monitor_constructor), (mounts_changed):
3322 * glocalfile.c: (get_mount_info),
3323 (g_local_file_find_enclosing_mount),
3324 (g_local_file_file_iface_init):
3325 * gnativevolumemonitor.h:
3326 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3327 (get_connected_drives), (g_union_volume_monitor_class_init),
3328 (child_volume_added), (child_volume_removed),
3329 (child_volume_changed), (child_mount_added), (child_mount_removed),
3330 (child_mount_pre_unmount), (child_mount_changed),
3331 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3332 (g_union_volume_monitor_remove_monitor),
3333 (_g_mount_get_for_mount_path):
3334 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3335 (guess_system_internal), (_g_get_unix_mounts),
3336 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3337 (g_unix_mount_free), (g_unix_mount_compare),
3338 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3339 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3340 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3341 (type_to_icon), (g_unix_mount_guess_name),
3342 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3343 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3344 (_resolve_symlink), (_resolve_dev_root):
3346 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3347 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3348 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3349 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3350 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3351 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3352 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3353 (g_unix_volume_volume_iface_init):
3355 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3356 (get_mounts), (get_volumes), (get_connected_drives),
3357 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3358 (mountpoints_changed), (mounts_changed),
3359 (g_unix_volume_monitor_init),
3360 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3361 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3362 * gunixvolumemonitor.h:
3363 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3364 (g_volume_mount), (g_volume_mount_finish):
3366 * gvolumemonitor.c: (g_volume_monitor_class_init),
3367 (g_volume_monitor_get_connected_drives),
3368 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3371 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3373 * gmountoperation.h (GPasswordFlags): Close the gap
3375 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3377 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3379 * gdesktopappinfo.[hc]: Remove _-prefixes
3381 2007-12-10 Tor Lillqvist <tml@novell.com>
3383 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3386 2007-12-10 Alexander Larsson <alexl@redhat.com>
3388 * gfile.c (g_file_set_display_name):
3389 Don't hardcode '/' (#502727)
3391 2007-12-09 Hans Breuer <hans@breuer.org>
3393 * makefile.msc : follow lib naming convention
3394 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3395 for user and group name, tested with ../tests/gio-ls
3397 2007-12-09 A. Walton <awalton@svn.gnome.org>
3399 * gdesktopappinfo.c:
3405 * gfileenumerator.c:
3410 * gmemoryinputstream.c:
3411 * gmemoryoutputstream.c:
3413 * gsimpleasyncresult.c:
3414 More documentation cleanup and filling in missing information, bringing
3415 GIO to 99% symbol coverage.
3417 2007-12-08 Hans Breuer <hans@breuer.org>
3419 [gio compiles and links on win32, not sure how much already works]
3420 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3421 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3422 base on win32 API; prefer g_lstat() over lstat(); instead of
3423 localtime_r() use an all GLib implementation on win32;
3424 get_mount_info() still needs a win32 specifc implementation
3425 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3426 win32_get_file_user_info to get owner/group info without uid/gid
3427 * glocalfileinputstream.c : include <io.h> on win32
3428 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3429 definition, use g_win32_ftruncate() for G_OS_WIN32
3430 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3431 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3432 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3433 * makefile.msc : updated
3435 2007-12-07 Alexander Larsson <alexl@redhat.com>
3437 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3438 Avoid warning spew if error == NULL
3440 2007-12-07 Alexander Larsson <alexl@redhat.com>
3443 Update docs wrt etags
3445 2007-12-06 Alexander Larsson <alexl@redhat.com>
3448 Include sys/types.h for dev_t (#501919)
3450 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3454 Make abicheck and pltcheck pass.
3456 2007-12-05 Alexander Larsson <alexl@redhat.com>
3459 * giomodule-priv.h: Added.
3460 * glocaldirectorymonitor.c:
3461 * glocalfilemonitor.c:
3462 * gunionvolumemonitor.c:
3464 Actually add the declaration of _g_io_modules_ensure_loaded
3466 2007-12-05 Alexander Larsson <alexl@redhat.com>
3468 * gdatainputstream.c:
3473 * glocaldirectorymonitor.c:
3474 * glocalfilemonitor.c:
3475 * gunionvolumemonitor.c:
3477 Make g_io_modules_ensure_loaded a private function and
3478 don't pass in the dirname. This means we can do magic
3479 directory finding in the win32 version.
3480 Export the actual load-modules-in-directory code so that
3481 gvfs can reuse that.
3483 2007-12-05 Alexander Larsson <alexl@redhat.com>
3485 * gbufferedinputstream.c:
3486 * gbufferedoutputstream.c:
3489 * gfileenumerator.[ch]:
3490 * gfileinputstream.c:
3491 * gfileoutputstream.[ch]:
3492 * gfilterinputstream.c:
3493 * gfilteroutputstream.c:
3494 * ginputstream.[ch]:
3496 * glocalfileenumerator.c:
3497 * glocalfileinputstream.c:
3498 * glocalfileoutputstream.c:
3499 * gmemoryinputstream.c:
3500 * gmemoryoutputstream.c:
3501 * goutputstream.[ch]:
3504 * gunixinputstream.c:
3505 * gunixoutputstream.c:
3506 Rename all struct members named:
3507 read, write, close, truncate, or mount
3508 to foo_fn, as these are reserved names
3509 and could be defined as macros in libc.
3512 2007-12-04 Alexander Larsson <alexl@redhat.com>
3515 (g_output_stream_close):
3516 Only call flush if non-null.
3518 2007-11-30 Dan Winship <danw@gnome.org>
3520 * ginputstream.c (g_input_stream_set_pending): Make this take a
3521 GError and return a gboolean, and do the "outstanding operation"
3522 check (and the "stream is already closed" check) itself.
3523 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3525 * goutputstream.c (g_output_stream_set_pending)
3526 (g_output_stream_clear_pending): Likewise
3528 * gbufferedinputstream.c:
3529 * gfileinputstream.c:
3530 * gfileoutputstream.c: Update for that
3532 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3533 Like g_simple_async_report_error_in_idle, but takes a GError
3534 rather than building one.
3536 2007-11-30 Dan Winship <danw@gnome.org>
3538 * goutputstream.c: Don't cheat and unset the "pending" flag around
3539 inner calls. Instead, call the class method directly rather than
3540 the wrapper function that checks "pending"
3542 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3544 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3546 2007-12-03 Hans Breuer <hans@breuer.org>
3548 [start of port to win32/msvc]
3549 * gcancellable.c : HAVE_UNIST_H and _pipe()
3550 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3551 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3552 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3554 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3555 * glocalvfs.c : use HAVE_PWD_H
3556 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3557 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3558 * Makefile.am : added to EXTRA_DIST
3560 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3562 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3565 2007-12-03 Alexander Larsson <alexl@redhat.com>
3568 Handle OSX style xattrs API (#500506)
3570 2007-12-03 Alexander Larsson <alexl@redhat.com>
3574 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3576 2007-12-02 A. Walton <awalton@svn.gnome.org>
3580 Documentation accuracy fixes.
3582 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3584 * gioenumtypes.c.template: Fix typo.
3586 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3588 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3590 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3592 * gdirectorymonitor.c:
3593 * gfilemonitor.c: Add properties
3595 * gbufferedoutputstream.c: Don't mark buffer-size property
3598 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3600 * gbufferedoutputstream.c: Add auto-grow property.
3602 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3604 * *.c: Unify the capitalization of section headings.
3606 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3608 * gmountoperation.c: Add properties
3610 * gdatainputstream.c: Turn byte-order and newline-type into
3613 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3615 * gioenumtypes.[hc].template: Templates for enum registration
3617 * Makefile.am: Generate gioenumtypes.[hc]
3619 * gio.h: Include gioenumtypes.h
3621 * gfile.h: Add some explicit nicks.
3623 * gio.symbols: Add new symbols
3625 * pltcheck.sh: Adjust
3627 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3629 * *.c: Explain etags and link to the explanation
3631 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3633 * *.c: Explain I/O priority.
3635 * *.c: More coding style fixes.
3637 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3639 * gasyncresult.c: Add another paragraph to the intro,
3640 adjust coding style of example.
3642 2007-11-29 A. Walton <awalton@svn.gnome.org>
3645 Fixes unknown meaning in GAppLaunchContext docs.
3647 Clarify asynchronous ops.
3649 Fix entity tag docs.
3652 Provides missing gtk-doc section, fixes API docs slighly.
3653 * gsimpleasyncresult.c:
3654 Fill in missing info in docs.
3655 * gunixinputstream.c:
3656 * gunixoutputstream.c:
3657 Be more expressive in short description.
3659 Remove gtk-doc stubs for non-public API.
3661 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3663 * *.c: Coding style fixups
3665 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3667 * inotify/inotify-helper.c: Don't export the lock from libgio.
3669 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3672 * abicheck.sh: Fix copy-and-paste leftovers
3674 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3676 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3678 2007-11-28 Alexander Larsson <alexl@redhat.com>
3682 Removed unnecessary file
3684 * gdesktopappinfo.[ch]:
3687 * glocaldirectorymonitor.[ch]:
3689 * glocalfileenumerator.[ch]:
3690 * glocalfileinputstream.[ch]:
3691 * glocalfilemonitor.[ch]:
3692 * glocalfileoutputstream.[ch]:
3694 * gnativevolumemonitor.c:
3695 * gpollfilemonitor.[ch]:
3696 * gunionvolumemonitor.[ch]:
3699 * gunixvolumemonitor.[ch]:
3702 * inotify/ginotifydirectorymonitor.[ch]:
3703 * inotify/ginotifyfilemonitor.[ch]:
3704 * inotify/inotify-helper.c:
3705 Append _ to all internal functions
3709 Export symbols needed for modules
3711 2007-11-28 Alexander Larsson <alexl@redhat.com>
3714 * abicheck.sh: Added.
3715 * makegioalias.pl: Added.
3716 * pltcheck.sh: Added.
3717 * gio.symbols: Added.
3720 Initial work on adding symbol handling.
3723 Correct ifdef guard name
3726 * inotify/Makefile.am:
3727 * xdgmime/Makefile.am:
3728 Include toplevel Makefile.decl
3730 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3732 * gcontenttype.c: Move doc comments to the unix section.
3734 * *.[hc]: More trivial doc corrections.
3736 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3738 * gpollfilemonitor.c:
3742 * gdesktopappinfo.c:
3747 * gdatainputstream.c:
3748 * gdatainputstream.h:
3749 * gdataoutputstream.c:
3750 * gdataoutputstream.h:
3751 * gfileinfo.h: Doc cleanups
3753 2007-11-28 Andre Klapper <a9016009@gmx.de>
3755 * gdesktopappinfo.c: Fix a typo.
3757 2007-11-27 Andre Klapper <a9016009@gmx.de>
3759 * glocalfileoutputstream.c: Fix a typo.
3761 2007-11-27 Alexander Larsson <alexl@redhat.com>
3764 Don't include removed headers
3766 2007-11-27 Alexander Larsson <alexl@redhat.com>
3769 * gsocketinputstream.[ch]: Removed.
3770 * gsocketoutputstream.[ch]: Removed.
3771 * gunixinputstream.[ch]: Added.
3772 * gunixoutputstream.[ch]: Added.
3773 Renamed GSocket*Stream to GUnix*Stream and made
3774 it unix-only, since its not really only for sockets
3775 and it only works on unix (but is highly useful there).
3777 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3783 * gbufferedinputstream.c:
3784 * gbufferedinputstream.h:
3785 * gbufferedoutputstream.c:
3786 * gbufferedoutputstream.h:
3790 * gdatainputstream.c:
3791 * gdatainputstream.h:
3792 * gdataoutputstream.c:
3793 * gdataoutputstream.h:
3794 * gdirectorymonitor.c:
3795 * gdirectorymonitor.h:
3802 * gfileenumerator.c:
3803 * gfileenumerator.h:
3808 * gfileinputstream.c:
3809 * gfileinputstream.h:
3812 * gfilenamecompleter.c:
3813 * gfilenamecompleter.h:
3814 * gfileoutputstream.c:
3815 * gfileoutputstream.h:
3816 * gfilterinputstream.c:
3817 * gfilterinputstream.h:
3818 * gfilteroutputstream.c:
3819 * gfilteroutputstream.h:
3832 * glocalfileoutputstream.c:
3833 * gmemoryinputstream.c:
3834 * gmemoryinputstream.h:
3835 * gmemoryoutputstream.c:
3836 * gmemoryoutputstream.h:
3837 * gmountoperation.c:
3838 * gmountoperation.h:
3841 * gpollfilemonitor.c:
3844 * gsimpleasyncresult.c:
3845 * gsimpleasyncresult.h:
3846 * gsocketinputstream.c:
3847 * gsocketinputstream.h:
3848 * gsocketoutputstream.c:
3849 * gsocketoutputstream.h:
3856 * gunixvolumemonitor.c:
3865 Bumps documentation to 93% symbol coverage, touching most
3866 of the public files. Fixes broken function documentation prototypes.
3867 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3868 gtk-doc headers in private files.
3870 2007-11-27 Jürg Billeter <j@bitron.ch>
3872 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3873 (g_buffered_input_stream_read_byte):
3874 * gbufferedinputstream.h:
3875 New functions for efficient access to buffer and simple single byte
3878 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3879 (g_data_input_stream_read_until):
3880 * gdatainputstream.h:
3881 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3882 read_until with multiple stop chars.
3884 2007-11-27 Alexander Larsson <alexl@redhat.com>
3888 * inotify/Makefile.am:
3889 Use the user-specified giomoduledir
3891 2007-11-27 Alexander Larsson <alexl@redhat.com>
3895 Add catch-all gio.h header
3896 Don't install gdummyfile.h
3898 2007-11-26 Alexander Larsson <alexl@redhat.com>
3900 * Makefile.am (gioinclude_HEADERS):
3901 Remove trailing whitespace
3903 2007-11-26 Alexander Larsson <alexl@redhat.com>
3905 Merge gio-standalone into glib
3907 2007-11-25 Christian Kellner <gicmo@gnome.org>
3909 * gio/goutputstream.c:
3910 Fix small mistake in the docs.
3912 2007-11-21 Christian Persch <chpe@gnome.org>
3914 * gio/glocalfile.c: (g_local_file_trash):
3915 Convert filenames to UTF-8 for GError.
3916 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3917 as per xdg base dir spec.
3919 2007-11-21 Christian Persch <chpe@gnome.org>
3921 * gio/gdesktopappinfo.c:
3922 Use that g_key_file_to_data cannot fail.
3924 Use stock defines for the key file group and key names.
3927 2007-11-21 Alexander Larsson <alexl@redhat.com>
3930 (copy_stream_with_progress):
3931 Make sure we do a final progress callback with
3932 the full total size.
3934 2007-11-21 Alexander Larsson <alexl@redhat.com>
3937 Export g_file_copy_attributes
3938 Remove padding as its not needed for interfaces
3940 2007-11-20 Alexander Larsson <alexl@redhat.com>
3945 Add G_IO_ERROR_WOULD_MERGE for
3946 copy/move dir on dir with overwrite.
3948 2007-11-20 Alexander Larsson <alexl@redhat.com>
3951 * gio/glocalfileinfo.c:
3952 Add COPY_NAME (this is an optional
3953 non-modified utf8 version of the name) that
3956 2007-11-20 Alexander Larsson <alexl@redhat.com>
3958 * gio/glocalfileenumerator.c:
3959 Report errors as GIOError, not GFileError
3961 2007-11-16 Alexander Larsson <alexl@redhat.com>
3963 * gio/glocalfileoutputstream.c:
3964 * gio/gwin32appinfo.c:
3965 Fix typos in strings.
3966 Patch from Luca Ferretti <elle.uca@libero.it>
3968 2007-11-15 Alexander Larsson <alexl@redhat.com>
3971 Post release version bump
3973 === gio-standalone 0.1.2 ===
3975 2007-11-15 Alexander Larsson <alexl@redhat.com>
3977 * docs/reference/gio/Makefile.am:
3978 Fix up distcheck by removing weird
3984 2007-11-14 Alexander Larsson <alexl@redhat.com>
3986 * gio/gdesktopappinfo.c:
3987 * gio/glocaldirectorymonitor.c:
3989 * gio/glocalfileinfo.c:
3990 * gio/inotify/inotify-sub.c:
3991 * programs/gio-cat.c:
3992 * programs/gio-copy.c:
3993 * programs/gio-info.c:
3994 * programs/gio-ls.c:
3995 * programs/gio-monitor-dir.c:
3996 * programs/gio-monitor-file.c:
3997 * programs/gio-mount.c:
3998 * programs/gio-move.c:
3999 * programs/gio-rm.c:
4000 * programs/gio-save.c:
4001 * programs/gio-trash.c:
4002 Leak fixes from Kjartan Maraas
4004 2007-11-14 Alexander Larsson <alexl@redhat.com>
4006 * gio/fam/fam-helper.c:
4008 * gio/glocalfileinfo.c:
4012 * gio/inotify/inotify-diag.c:
4013 * gio/inotify/inotify-kernel.c:
4014 Various code cleanups from Kjartan Maraas
4016 2007-11-14 Alexander Larsson <alexl@redhat.com>
4018 * gio/gioscheduler.c:
4020 Set up threadpool so that we cache 2 unused
4021 idle threads for at 15 secs. This means we
4022 will reuse thread-local data (like dbus connections)
4025 2007-11-14 Alexander Larsson <alexl@redhat.com>
4027 * gio/fam/fam-helper.c:
4028 * gio/fam/gfamdirectorymonitor.c:
4029 * gio/fam/gfamfilemonitor.c:
4031 * gio/gcontenttype.c:
4032 * gio/gdatainputstream.c:
4033 * gio/gdataoutputstream.c:
4037 * gio/gfileattribute.h:
4038 * gio/gfileenumerator.c:
4040 * gio/ginputstream.c:
4043 * gio/glocalfileinfo.c:
4044 * gio/goutputstream.c:
4045 * gio/gpollfilemonitor.c:
4046 * gio/gsimpleasyncresult.c:
4047 * gio/gunixmounts.c:
4048 * gio/gunixmounts.h:
4049 * gio/inotify/ginotifydirectorymonitor.c:
4050 * gio/inotify/ginotifyfilemonitor.c:
4051 * gio/inotify/inotify-diag.c:
4052 * gio/inotify/inotify-kernel.c:
4053 * gio/inotify/inotify-path.c:
4055 * gio/test-streams.c:
4056 * programs/gio-info.c:
4057 * programs/gio-monitor-dir.c:
4058 * programs/gio-monitor-file.c:
4059 Various code cleanups from Kjartan Maraas
4061 2007-11-13 Alexander Larsson <alexl@redhat.com>
4064 Handle the uri-scheme calls for dummy files
4066 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4068 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4069 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4070 to avoid clash with the C++ keyword.
4072 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4074 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4075 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4077 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4079 * gio/glocaldirectorymonitor.c:
4080 * gio/glocalfilemonitor.c:
4081 * gio/gunionvolumemonitor.c:
4082 Don't use g_once_init_*() for initializations that could fail and
4083 could leave the initialization variable set to 0 but use GOnce.
4084 This prevents a deadlock on the second call when trying to create
4085 a monitor and no monitor type is available. Thanks to Sven Herzberg
4088 2007-11-11 Sven Herzberg <sven@imendio.com>
4090 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4091 #ifdef (make it work on MacOS X again)
4093 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4095 Fixes Changelog for last two commits (sorry guys).
4097 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4099 * gio/gbufferedinputstream.c:
4100 * gio/gdatainputstream.c:
4102 * gio/gfileoutputstream.c:
4103 * gio/gfilterinputstream.c:
4104 * gio/glocalfileinputstream.c:
4107 More consistency fixes in g*stream.c files.
4108 Significant clean of gfile's documentation, filling in of
4109 asynchronous operations documentation.
4111 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4113 * gio/gasyncresult.c:
4114 * gio/gbufferedinputstream.c:
4115 * gio/gbufferedoutputstream.c:
4116 * gio/gcancellable.c:
4117 * gio/gcontenttype.c:
4118 * gio/gdatainputstream.c:
4119 * gio/gdataoutputstream.c:
4120 * gio/gdesktopappinfo.c:
4123 * gio/gfileattribute.c:
4124 * gio/gio/gfileenumerator.c:
4126 * gio/gfileinputstream.c:
4127 * gio/gfilemonitor.c:
4128 * gio/gfileoutputstream.c:
4129 * gio/ginputstream.c:
4131 * gio/gioscheduler.c:
4132 * gio/gloadableicon.c:
4133 * gio/glocalfileoutputstream.c:
4134 * gio/gmemoryoutputstream.c:
4135 * gio/gmountoperation.c:
4136 * gio/goutputstream.c:
4138 * gio/gsimpleasyncresult.c:
4139 * gio/gunionvolumemonitor.c:
4140 * gio/gunixmounts.c:
4141 * gio/gunixvolume.c:
4145 * gio/gvolumemonitor.c:
4146 Updated documentation stubs, working towards consistency and
4149 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4151 * gio/gmemoryoutputstream.c:
4152 * gio/gmemoryoutputstream.h:
4153 Change g_memory_output_stream_set_free_on_close() to
4154 g_memory_output_stream_set_free_data() as this makes more sense and
4155 is more consistent with GMemoryInputStream.
4157 2007-11-07 Alexander Larsson <alexl@redhat.com>
4164 Change how we find the default vfs so that
4165 we can handle a gvfs failing to init
4167 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4169 * gio/gbufferedoutputstream.c:
4170 * gio/gdatainputstream.c:
4171 * gio/gdataoutputstream.c:
4172 * gio/gfileinputstream.c:
4173 * gio/gfileoutputstream.c:
4174 * gio/gfilterinputstream.c:
4175 * gio/gfilteroutputstream.c:
4176 * gio/ginputstream.c:
4177 * gio/gmemoryinputstream.c:
4178 * gio/gmemoryoutputstream.c:
4179 * gio/goutputstream.c:
4180 * gio/gsimpleasyncresult.c:
4181 * gio/gsocketinputstream.c:
4182 * gio/gsocketoutputstream.c:
4183 Add guards to the remaining public functions, add a TODO for
4184 an unimplemented function and remove some useless guards.
4186 2007-11-07 Alexander Larsson <alexl@redhat.com>
4189 Autoconf checks for the various types of
4190 getpwuid_r and getgrgid_r
4192 * gio/glocalfileinfo.c:
4193 Use the autoconf checks from above
4195 2007-11-07 Alexander Larsson <alexl@redhat.com>
4198 (g_local_file_query_filesystem_info):
4199 Some fixes for the statvfs case
4201 2007-11-07 Alexander Larsson <alexl@redhat.com>
4204 (g_local_file_query_filesystem_info):
4205 Pick the "best" of statfs / statvfs for the system
4206 if both are availible.
4208 2007-11-07 Alexander Larsson <alexl@redhat.com>
4210 Solaris fixes from Halton.Huo@Sun.COM:
4217 * gio/glocalfileinfo.c:
4218 Fix for solaris definition of getpwuid_r
4220 * gio/test-streams.c:
4221 Use G_GNUC_PRETTY_FUNCTION
4223 2007-11-07 Alexander Larsson <alexl@redhat.com>
4225 * gio/gdesktopappinfo.c:
4226 (update_default_list):
4227 Remove double semicolon.
4228 Patch from Jens Granseuer
4230 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4232 * docs/reference/gio/gio-sections.txt:
4233 * gio/gbufferedinputstream.c:
4234 * gio/gbufferedinputstream.h:
4235 * gio/gdatainputstream.c:
4236 * gio/gfileenumerator.c:
4237 * gio/gioscheduler.c:
4238 * gio/gunionvolumemonitor.c:
4240 * programs/gio-save.c:
4241 Fix typo: availible -> available. Unfortuntely this breaks API
4242 and ABI as g_buffered_input_stream_get_available() was renamed.
4244 * gio/gunixmounts.c:
4245 * gio/gbufferedinputstream.c:
4246 Add guards for public functions.
4248 2007-11-06 Ross Burton <ross@openedhand.com>
4250 * docs/reference/gio/Makefile.am:
4251 Fix invalid += usage which automake 1.10 doesn't like.
4253 2007-11-06 Alexander Larsson <alexl@redhat.com>
4256 (g_app_launch_context_class_init):
4259 Patch from Ross Burton
4261 2007-11-06 Alexander Larsson <alexl@redhat.com>
4264 Post release version bump
4266 === gio-standalone 0.1.1 ===
4268 2007-11-06 Alexander Larsson <alexl@redhat.com>
4271 Bump version to 0.1.1
4273 * gio/gsimpleasyncresult.c:
4274 (g_simple_async_result_set_from_error):
4275 Remove bogus g_return_if_fail
4277 2007-11-06 Alexander Larsson <alexl@redhat.com>
4280 The name is gio-standalone
4283 Add top src/builddir to includedir
4285 2007-11-06 Alexander Larsson <alexl@redhat.com>
4287 * docs/reference/gio/gio-sections.txt:
4289 * gio/gbufferedinputstream.c:
4290 * gio/gbufferedoutputstream.c:
4291 * gio/gcancellable.c:
4292 * gio/gdatainputstream.h:
4293 * gio/gdataoutputstream.c:
4294 * gio/gdataoutputstream.h:
4295 * gio/gdirectorymonitor.c:
4297 * gio/gfileattribute.c:
4298 * gio/gfileattribute.h:
4299 * gio/gfileenumerator.c:
4300 * gio/gfileenumerator.h:
4303 * gio/gfileinputstream.h:
4304 * gio/gfilemonitor.c:
4305 * gio/gfileoutputstream.h:
4306 * gio/glocalfilemonitor.h:
4307 * gio/glocalfileoutputstream.h:
4308 * gio/gmemoryinputstream.c:
4309 * gio/gmemoryoutputstream.c:
4310 * gio/gmountoperation.c:
4311 * gio/goutputstream.c:
4312 * gio/goutputstream.h:
4314 * gio/gsimpleasyncresult.c:
4315 * gio/gunixmounts.c:
4316 * gio/gunixmounts.h:
4318 * gio/inotify/inotify-helper.c:
4319 Fix gtk-doc warnings
4321 Patch from Ross Burton
4323 2007-11-06 Alexander Larsson <alexl@redhat.com>
4325 * gio/gfilenamecompleter.c:
4326 (g_filename_completer_get_completions):
4329 * gio/gunixvolume.c:
4330 Remove unused function
4332 Patches from Ross Burton
4334 2007-11-06 Alexander Larsson <alexl@redhat.com>
4339 Padding not needed for interfaces
4341 2007-11-06 Alexander Larsson <alexl@redhat.com>
4343 * gio/gfilemonitor.c:
4347 Make giotypes.h an internal file
4350 * gio/gbufferedinputstream.h:
4351 * gio/gbufferedoutputstream.h:
4352 * gio/gcancellable.h:
4353 * gio/gdatainputstream.h:
4354 * gio/gdataoutputstream.h:
4355 * gio/gdirectorymonitor.c:
4356 * gio/gdirectorymonitor.h:
4361 * gio/gfileattribute.h:
4362 * gio/gfileenumerator.h:
4367 * gio/gfilemonitor.c:
4368 * gio/gfilemonitor.h:
4369 * gio/gfilenamecompleter.c:
4370 * gio/gfilenamecompleter.h:
4371 * gio/gfilterinputstream.h:
4372 * gio/gfilteroutputstream.h:
4373 * gio/ginputstream.h:
4374 * gio/gmemoryinputstream.h:
4375 * gio/gmemoryoutputstream.h:
4376 * gio/gmountoperation.c:
4377 * gio/gmountoperation.h:
4378 * gio/gnativevolumemonitor.c:
4379 * gio/goutputstream.h:
4382 * gio/gsimpleasyncresult.c:
4383 * gio/gsimpleasyncresult.h:
4384 * gio/gsocketinputstream.h:
4385 * gio/gsocketoutputstream.h:
4386 * gio/gthemedicon.c:
4387 * gio/gthemedicon.h:
4391 * gio/gvolumemonitor.c:
4392 * gio/gvolumemonitor.h:
4393 Add padding in classes where it seems useful
4394 Don't include giotypes.h from public headers
4395 Move in Class definitions into c file where possible
4400 2007-11-06 Alexander Larsson <alexl@redhat.com>
4402 * docs/reference/gio/gio-docs.xml:
4403 Better structure for API docs
4405 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4408 * gio/gloadableicon.c:
4409 * gio/gsimpleasyncresult.c:
4410 * gio/gthemedicon.c:
4411 Add some more guards to public functions. Only files missing are now
4414 2007-11-06 Alexander Larsson <alexl@redhat.com>
4416 * docs/reference/gio/gio-docs.xml:
4417 Remove old files, add missing ones
4419 2007-11-06 Alexander Larsson <alexl@redhat.com>
4421 * docs/reference/gio/gio-sections.txt:
4424 Hide implementation classes
4426 * gio/gdriveprivate.h:
4427 * gio/gvolumeprivate.h:
4428 Remove non-existing function declarations
4430 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4433 Fix compilation warnings and add guards to the new functions.
4435 * gio/gasyncresult.c:
4437 Add guards to the public functions.
4440 Implement get_path().
4442 2007-11-06 Alexander Larsson <alexl@redhat.com>
4444 * gio/gfilenamecompleter.c:
4445 Make g_filename_completer_get_completions
4446 return char ** instead of GList for
4449 * docs/reference/gio/gio-docs.xml:
4450 * docs/reference/gio/gio-sections.txt:
4452 * gio/gasyncresult.c:
4453 * gio/gbufferedinputstream.c:
4454 * gio/gbufferedoutputstream.c:
4455 * gio/gcancellable.c:
4456 * gio/gcontenttype.c:
4457 * gio/gdatainputstream.c:
4458 * gio/gdataoutputstream.c:
4459 * gio/gdesktopappinfo.c:
4460 * gio/gdirectorymonitor.c:
4464 * gio/gfileattribute.c:
4465 * gio/gfileenumerator.c:
4468 * gio/gfileinputstream.c:
4469 * gio/gfilemonitor.c:
4470 * gio/gfilenamecompleter.c:
4471 * gio/gfilenamecompleter.h:
4472 * gio/gfileoutputstream.c:
4473 * gio/gfilterinputstream.c:
4475 * gio/ginputstream.c:
4477 * gio/gioscheduler.c:
4478 * gio/gloadableicon.c:
4479 * gio/glocaldirectorymonitor.c:
4481 * gio/glocalfileinputstream.c:
4482 * gio/glocalfilemonitor.c:
4483 * gio/glocalfileoutputstream.c:
4485 * gio/gmemoryinputstream.c:
4486 * gio/gmemoryoutputstream.c:
4487 * gio/gmountoperation.c:
4488 * gio/goutputstream.c:
4489 * gio/gpollfilemonitor.c:
4491 * gio/gsimpleasyncresult.c:
4492 * gio/gsocketinputstream.c:
4493 * gio/gsocketoutputstream.c:
4494 * gio/gthemedicon.c:
4495 * gio/gunionvolumemonitor.c:
4497 * gio/gunixmounts.c:
4498 * gio/gunixvolume.c:
4499 * gio/gunixvolumemonitor.c:
4503 * gio/gvolumemonitor.c:
4504 * gio/gwin32appinfo.c:
4505 Add (mostly stub) doc strings to public functions.
4506 Patch from Andrew Walton (awalton@gmail.com)
4508 2007-11-06 Alexander Larsson <alexl@redhat.com>
4510 * gio/gappinfo.[ch]:
4511 Added GAppLaunchContext object and pass that to launch.
4512 This allows simple implementation of both
4513 launch-on-screen and startup notification via a gtk+
4514 subclass of GAppLaunchContext
4516 * gio/gdesktopappinfo.c:
4517 Implement GAppLaunchContext API
4519 * gio/gwin32appinfo.c:
4522 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4524 * gio/gmountoperation.c:
4525 Add some guards to GMountOperation's public functions.
4527 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4531 * gio/gcancellable.c:
4532 * gio/gdirectorymonitor.c:
4534 * gio/gfileenumerator.c:
4535 * gio/gfilemonitor.c:,
4536 * gio/gfilenamecompleter.c:
4539 * gio/gioscheduler.c:
4543 * gio/gvolumemonitor.c:
4544 Add even more guards to various public functions.
4546 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4549 Add guards to the public functions of GAppInfo.
4551 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4553 * gio/gcontenttype.c:
4554 Add some more guards for public functions.
4556 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4558 * gio/fam/fam-module.c:
4559 * gio/fam/gfamdirectorymonitor.c:
4560 * gio/fam/gfamdirectorymonitor.h:
4561 * gio/fam/gfamfilemonitor.c:
4562 * gio/fam/gfamfilemonitor.h:
4563 * gio/inotify/ginotifydirectorymonitor.c:
4564 * gio/inotify/ginotifydirectorymonitor.h:
4565 * gio/inotify/ginotifyfilemonitor.c:
4566 * gio/inotify/ginotifyfilemonitor.h:
4567 Add proper copyright information and remove an unused variable
4568 in the GInotifyFileMonitor constructor.
4570 * gio/gcancellable.c:
4571 Add a guard for a public function and an assertion to prevent
4572 an undefined program state.
4574 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4576 * gio/gfileattribute.c:
4577 Don't run into an assertion if the given attribute value is NULL
4578 in g_file_attribute_value_get_*() but instead return a fallback
4579 value that makes sense in most situations. Passing them a attribute
4580 value with the wrong type will still run into an assertion.
4582 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4584 * gio/gfileattribute.c:
4586 Add even more guards to the public functions. Also fix the refcounting
4587 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4588 let g_file_info_list_attributes() filter the attributes by namespace
4589 instead of simply ignoring the namespace parameter.
4591 2007-11-03 Sven Herzberg <sven@imendio.com>
4593 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4594 (This makes gio work on MacOS X again)
4596 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4599 Build the gio subdirectory before the docs. Otherwise the build will
4602 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4603 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4604 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4605 Add guards to the public functions.
4607 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4609 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4610 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4611 to prevent a compiler warning.
4613 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4614 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4615 return something in the non-void function find_topdir_for().
4617 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4624 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4626 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4627 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4628 * gwin32appinfo.c (g_win32_app_info_launch):
4629 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4630 envp_for_startup_id, g_desktop_app_info_launch,
4631 g_desktop_app_info_launch_uris):
4633 Give an opaque 'startup_id' string instead of 'envp'.
4634 Support empty file lists for launching new windows.
4635 Fix infinite recursion bug when launching URIs.
4637 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4640 Add guard to the new g_file_get_uri_scheme() function.
4642 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4645 Convert a g_return_val_if_fail() to setting the GError instead as
4646 otherwise applications have to verify the parameter before otherwise
4647 and the parameter might come directly from the user.
4649 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4651 * gio/inotify/ginotify*.[ch]:
4652 Add missing copyright information.
4654 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4657 Add guards in the beginning of public functions to check for valid
4658 parameters and fix a bug in copy_stream_with_progress() that could've
4659 caused writing less bytes than reading.
4660 * gio/glocalfileinfo.c:
4661 Check for a NULL parameter and set the GError accordingly then.
4662 * gio/goutputstream.c:
4663 Fix the same bug as in gfile.c that could've caused writing less bytes
4664 than reading in g_output_stream_real_splice().
4666 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4669 Use the correct gvolumeprivate.h naming
4671 2007-11-01 Christian Kellner <gicmo@gnome.org>
4674 Remove leftover "$(daemon_sources)" entry.
4676 2007-11-01 Christian Kellner <gicmo@gnome.org>
4681 Add copyright information to source files.
4683 2007-11-01 Alexander Larsson <alexl@redhat.com>
4687 Add g_file_get_uri_scheme
4689 2007-11-01 Alexander Larsson <alexl@redhat.com>
4692 * gio/gdesktopappinfo.c:
4693 * gio/gwin32appinfo.c:
4694 Add g_app_info_get_default_for_uri_scheme.
4696 2007-11-01 Alexander Larsson <alexl@redhat.com>
4699 Correct filename for gdriveprivate.h
4701 2007-10-31 Alexander Larsson <alexl@redhat.com>
4704 Rename id:value to id:file
4707 * gio/glocalfileinfo.c:
4710 2007-10-31 Alexander Larsson <alexl@redhat.com>
4712 * gio/gunixvolume.c:
4714 Remove g_volume_get_platform_id, as thats not
4715 needed with the simpler union volume monitor
4717 2007-10-31 Alexander Larsson <alexl@redhat.com>
4720 * gio/guniondrive.[ch]: Removed.
4721 * gio/gunionvolume.[ch]: Removed.
4722 Remove GUnionDrive/Volume
4724 * gio/gunionvolumemonitor.c:
4725 Simplify union volume monitor, now we
4726 only have one native volume monitor and
4727 we use the actual volumes/drives from the
4728 child monitors instead of wrapping them
4730 * gio/gnativevolumemonitor.[ch]:
4731 Base class for native volume monitors.
4732 Includes priority and get_volume_for_mountpoint
4735 Add g_file_find_enclosing_volume
4738 Remove volume name fs attribute
4739 Add readonly fs attribute
4742 Implement readonly attribute
4743 remove volume name attribute
4744 Implement find_enclosing volume
4746 * gio/gunixmounts.c:
4747 Add a volume for "/".
4749 * gio/gunixvolume.[ch]:
4750 Set better name for /
4752 * gio/gunixvolumemonitor.[ch]:
4753 Derive from GNativeVolumeMonitor
4754 Implement get_volume_for_mountpoint
4757 GVolume typedef moved to gfile.h
4759 * gio/gvolumeprivate.h:
4760 Add g_volume_get_for_mount_path
4762 2007-10-31 Alexander Larsson <alexl@redhat.com>
4764 * gio/gunixmounts.[ch]:
4765 Add cache info to unix mount listers
4766 Make getmntent use threadsafe
4767 Add is_system_internal attribute for GUnixMount
4769 * gio/gunixvolume.c:
4770 (g_unix_volume_new):
4771 Use is_system_internal instead of own code
4773 * gio/glocaldirectorymonitor.c:
4774 * gio/gunixvolumemonitor.c:
4775 Update to new gunixmounts API
4780 2007-10-30 Alexander Larsson <alexl@redhat.com>
4783 Add volume name fsinfo attribute
4786 Read volume name info
4788 * gio/gunionvolumemonitor.c:
4789 Fix infinite loops when finalizing a union volume monitor
4791 2007-10-30 Alexander Larsson <alexl@redhat.com>
4793 * gio/goutputstream.[ch]:
4794 Add splice() with default implementation
4796 * gio/gsocketoutputstream.c:
4797 (g_socket_output_stream_write):
4798 Return error on cancellation correctly.
4800 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4802 * gio/glocalfile.c (g_local_file_trash):
4803 Do not leak a string.
4805 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4807 * gio/gfile.c (g_file_load_contents):
4808 Unref the stream after closing it.
4810 2007-10-25 Alexander Larsson <alexl@redhat.com>
4812 * gio/gioscheduler.h:
4815 2007-10-25 Alexander Larsson <alexl@redhat.com>
4819 Add g_file_has_uri_scheme and implement for local files
4821 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4823 * gio/gdesktopappinfo.c: do not leak a string.
4825 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4827 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4828 (g_local_directory_monitor_new):
4829 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4830 (g_local_file_monitor_new):
4831 Only look for the monitor type that should be used the first time
4832 and use g_qsort_with_data() instead of our own bubble sort
4835 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4838 * gio/fam/Makefile.am:
4839 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4840 * gio/fam/fam-helper.h:
4841 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4842 * gio/fam/gfamdirectorymonitor.c:
4843 * gio/fam/gfamdirectorymonitor.h:
4844 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4845 * gio/fam/gfamfilemonitor.h:
4846 * gio/glocaldirectorymonitor.c:
4847 * gio/glocaldirectorymonitor.h:
4848 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4849 * gio/glocalfilemonitor.h:
4850 * gio/inotify/Makefile.am:
4851 * gio/inotify/ginotifydirectorymonitor.c:
4852 * gio/inotify/ginotifydirectorymonitor.h:
4853 * gio/inotify/ginotifyfilemonitor.c:
4854 * gio/inotify/ginotifyfilemonitor.h:
4855 Implement the FAM and Inotify monitors as
4856 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4857 their own GIO module. GLocal(Directory|File)Monitor will use the
4858 monitor with the highest rank that is supported on that machine.
4860 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4863 Change GIO module dir to $(libdir)/gio/modules and change
4864 the log domain from GVFS to GIO. Also only export symbols starting
4865 with g_ in the resulting library.
4866 * gio/test-streams.c: (main):
4867 Set log handler for the GIO log domain.
4869 2007-10-22 Alexander Larsson <alexl@redhat.com>
4871 * gio/gfilenamecompleter.[ch]:
4872 Add g_filename_completer_set_dirs_only
4874 2007-10-22 Alexander Larsson <alexl@redhat.com>
4877 * gio/gurifuncs.[ch]:
4878 Add some simple URI helpers
4880 * gio/gfilenamecompleter.[ch]:
4881 Added object for filename (parse name actually) completion
4884 Handle ~ in parse names
4886 2007-10-17 Alexander Larsson <alexl@redhat.com>
4889 * gio/glocalfileinfo.c:
4890 Add and implement id:value attribute
4892 2007-10-17 Alexander Larsson <alexl@redhat.com>
4895 * gio/guniondrive.c:
4897 Add and implement g_drive_has_volumes
4899 2007-10-17 Alexander Larsson <alexl@redhat.com>
4902 * gio/glocalfileinfo.[ch]:
4903 Add unix:is_mountpoint and implement for local files
4905 2007-10-16 Alexander Larsson <alexl@redhat.com>
4907 * gio/gunionvolumemonitor.c:
4908 (g_union_volume_monitor_init):
4909 Fix up the unix type getting so that it works with gcc
4911 2007-10-12 Alexander Larsson <alexl@redhat.com>
4914 * gio/glocalfileinfo.c:
4915 Add thumbnail:failed to file info
4917 2007-10-12 Richard Hult <richard@imendio.com>
4919 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4920 optimizing away the get_type call (happens with some gcc versions,
4921 like the one shipped with OS X 10.4).
4923 2007-10-12 Alexander Larsson <alexl@redhat.com>
4925 * gio/glocalfileinfo.c:
4926 (_g_local_file_info_set_attribute):
4927 Fix build if not HAVE_XATTR
4928 Patch from Milosz Derezynski <internalerror@gmail.com>
4930 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4932 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4933 around for review, otherwise I would have asked you before
4936 2007-10-11 Alexander Larsson <alexl@redhat.com>
4939 Add thumbnail:path attribute
4941 * gio/glocalfileinfo.c:
4942 Implement thumbnail:path for local files
4944 2007-10-11 Alexander Larsson <alexl@redhat.com>
4946 * gio/glocalfileinfo.c:
4947 (_g_local_file_info_get):
4948 Avoid duplicate icon names
4950 2007-10-11 Alexander Larsson <alexl@redhat.com>
4952 * gio/gthemedicon.[ch]:
4953 Change g_themed_icon_get_names return type to const
4955 2007-10-10 Alexander Larsson <alexl@redhat.com>
4957 * gio/glocalfileinfo.c:
4958 Don't reference freed memory
4960 2007-10-10 Alexander Larsson <alexl@redhat.com>
4962 * gio/gfileattribute.c:
4965 * gio/glocalfileinfo.c:
4968 2007-10-10 Alexander Larsson <alexl@redhat.com>
4971 Check for NULL icons
4973 * gio/gfileattribute.c:
4974 Don't dup when getting objects (same as for string attributes)
4976 * gio/gicon.c (g_icon_equal):
4977 Safely handle NULLs in equal
4979 2007-10-10 Alexander Larsson <alexl@redhat.com>
4982 Fix c++ compilation issues
4983 Patch from Milosz Derezynski <internalerror@gmail.com>
4985 2007-10-10 Alexander Larsson <alexl@redhat.com>
4987 * programs/gio-monitor-dir.c:
4988 Don't crash if dir monitor not supported.
4990 2007-10-09 Alexander Larsson <alexl@redhat.com>
4993 Add missing G_END_DECLS
4995 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4997 * gio/gfile.c: (g_file_set_display_name),
4998 (g_file_query_settable_attributes),
4999 (g_file_query_writable_namespaces):
5000 Return NULL not FALSE on errors as the return type is a pointer.
5002 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5004 * gio/glocalfile.c: (g_local_file_monitor_file):
5005 Don't call monitor_file on the default interface vtable (which
5006 is NULL) but simply return NULL. The caller, GFile, will create a
5007 polling monitor if NULL is returned.
5009 2007-10-09 Alexander Larsson <alexl@redhat.com>
5013 * gio-unix-2.0.pc.in:
5014 Add gio-unix-2.0.pc if OS_UNIX
5017 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5019 2007-10-09 Alexander Larsson <alexl@redhat.com>
5021 * gio/gunixmounts.[ch]:
5022 Make unix mount monitoring API sane.
5023 Now its just a object with mounts_changed
5024 and mountpoints_changed signals.
5026 * gio/glocaldirectorymonitor.c:
5027 * gio/gunixvolumemonitor.c:
5028 Use new mount monitor api
5030 2007-10-09 Alexander Larsson <alexl@redhat.com>
5032 * gio/gunixmounts.[ch]:
5033 Move guess type into one call for mounts and one for mountpoints
5036 * gio/gunixvolume.c:
5039 2007-10-09 Alexander Larsson <alexl@redhat.com>
5041 * gio/gunixmounts.[ch]:
5042 Remove _ prefix in preparation to make this semi-public
5043 Hide implementation of structs
5045 * gio/glocaldirectorymonitor.c:
5047 * gio/gunixvolume.c:
5048 * gio/gunixvolumemonitor.c:
5049 Update for above API changes
5051 2007-10-08 Alexander Larsson <alexl@redhat.com>
5054 Better polling fallback. This also handles the case where we have
5055 a monitor_file implementation, but it fails.
5057 2007-10-08 Alexander Larsson <alexl@redhat.com>
5061 * gio/gunixmounts.c:
5062 * programs/gio-monitor-dir.c:
5063 * programs/gio-monitor-file.c:
5064 Added cancellable to file monitoring calls.
5065 These are really sync calls and need this.
5067 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5069 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5070 (g_local_vfs_class_init):
5071 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5072 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5074 2007-10-05 Alexander Larsson <alexl@redhat.com>
5076 * gio/gdirectorymonitorprivate.h:
5077 * gio/gfilemonitorprivate.h:
5078 * gio/gdirectorymonitor.h:
5079 * gio/gfilemonitor.h:
5080 Remove *private.h and move to the public API, so that
5081 we can do implementations outside gio (such as in gvfs)
5083 * gio/gdirectorymonitor.c:
5084 * gio/gfilemonitor.c:
5085 * gio/glocaldirectorymonitor.c:
5086 * gio/gpollfilemonitor.c:
5087 * gio/inotify/inotify-helper.c:
5088 * gio/fam/fam-helper.c:
5089 Update to the new header names
5091 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5093 * gio/gdirectorymonitor.c:
5094 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5097 2007-10-04 Alexander Larsson <alexl@redhat.com>
5099 * gio/glocalfileinfo.c (get_access_rights):
5100 Set CAN_TRASH when we can move the file.
5101 We should really also check for a parent trash dir.
5103 2007-10-04 Alexander Larsson <alexl@redhat.com>
5105 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5106 Add can_trash access attribute
5108 2007-10-04 Alexander Larsson <alexl@redhat.com>
5111 (g_local_file_trash):
5112 Create info file first. This is per-spec and allows
5113 us to actually trash directories.
5115 2007-10-02 Alexander Larsson <alexl@redhat.com>
5117 * gio/gdesktopappinfo.c:
5118 Implement the new mime support code.
5119 Always set app as handling mimetype when being set as default for it
5121 2007-10-01 Alexander Larsson <alexl@redhat.com>
5123 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5124 Fix up check for xattrs:
5126 2007-10-01 Alexander Larsson <alexl@redhat.com>
5129 (g_app_info_set_as_default_for_extension):
5130 (g_app_info_add_supports_type):
5131 (g_app_info_can_remove_supports_type):
5132 (g_app_info_remove_supports_type):
5133 Make these fail nicely if not implemented
5135 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5137 * gio/glocalfileoutputstream.c:
5138 * gio/glocalfileoutputstream.h:
5143 * programs/gio-save.c:
5144 Add a GFileCreateFlags argument to operations that can create
5147 2007-10-01 Alexander Larsson <alexl@redhat.com>
5149 * gio/gappinfo.[ch]:
5150 * gio/gdesktopappinfo.c:
5151 Add more (stubbed out) mime API needed for nautilus
5153 2007-10-01 Alexander Larsson <alexl@redhat.com>
5156 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5157 Add g_app_info_set_as_default_for_extension.
5159 * gio/gdesktopappinfo.c:
5160 Dummy for g_app_info_set_as_default_for_extension
5161 Support flags in g_app_info_create_from_commandline
5163 * gio/gwin32appinfo.c:
5165 Update for API changes
5167 * gio/gthemedicon.c:
5168 Properly NULL-terminate list of icon names
5170 2007-09-28 Alexander Larsson <alexl@redhat.com>
5172 * gio/gloadableicon.h:
5173 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5175 2007-09-28 Alexander Larsson <alexl@redhat.com>
5178 Install headers in $includedir/gio-standalone/
5180 * gio-2.0.pc.in: Added.
5181 * gio-standalone.pc.in: Removed.
5184 Renamed pkg-config file to match glib (for future move)
5185 Update to the new include dir
5188 Add more TODO comments
5190 2007-09-28 Alexander Larsson <alexl@redhat.com>
5192 * gio/gdesktopappinfo.[ch]:
5193 Expose new_from_filename
5194 Add getter for is_hidden and handle it better
5196 2007-09-28 Alexander Larsson <alexl@redhat.com>
5198 * gio/gfileinfo.[ch]:
5199 Rename g_file_size_format_for_display to
5200 g_format_file_size_for_display.
5201 Now it doesn't have the g_file prefix, so we
5202 can later move it to glib.
5204 2007-09-28 Alexander Larsson <alexl@redhat.com>
5206 * gio/gappinfo.[ch]:
5207 Add g_app_info_get_id and g_app_info_get_executable.
5208 Make all getters non-reffing
5209 Make g_app_info_launch take GFile arguments.
5210 Add must_support_uris argument to g_app_info_get_default_for_type.
5212 * gio/gwin32appinfo.c:
5213 Update to GAppInfo api changes
5215 * gio/gdesktopappinfo.c:
5216 Update to GAppInfo api changes
5217 Implement supports_xdg_startup_notify
5219 * gio/gfileicon.c (g_file_icon_get_file):
5220 Make getter non-reffing.
5225 2007-09-27 Alexander Larsson <alexl@redhat.com>
5227 * gio/gfileinfo.[ch]:
5228 Add g_file_size_format_for_display helper
5230 2007-09-27 Alexander Larsson <alexl@redhat.com>
5232 * gio/glocalfileinfo.c:
5233 Set UNIX_GID from gid, not from uid
5235 2007-09-27 Alexander Larsson <alexl@redhat.com>
5238 Add g_file_set_attributes_async
5240 2007-09-27 Alexander Larsson <alexl@redhat.com>
5242 * gio/glocalfile.c (g_local_file_set_display_name):
5243 Fix set_display_name to actually rename to the right place.
5244 Use lstat to look for existing files so we don't overwrite
5247 2007-09-26 Alexander Larsson <alexl@redhat.com>
5250 Add g_file_set_display_name_async()
5252 2007-09-26 Alexander Larsson <alexl@redhat.com>
5255 Add load_partial_contents async calls
5258 Make internal function static
5260 2007-09-26 Alexander Larsson <alexl@redhat.com>
5262 * gio/glocalfileinfo.c:
5263 Correctly detect broken symlinks
5265 2007-09-26 Alexander Larsson <alexl@redhat.com>
5267 * gio/gcancellable.c (g_cancellable_cancel):
5268 Allow cancel on NULL cancellable
5270 2007-09-25 Alexander Larsson <alexl@redhat.com>
5272 * gio/gsimpleasyncresult.c:
5273 Don't allocate g_error manually.
5274 Fixes g_slice/g_new mixup crash
5276 2007-09-25 Alexander Larsson <alexl@redhat.com>
5278 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5279 Actually set active_backend.
5280 This means the monitor will be cancelled correctly.
5282 2007-09-25 Alexander Larsson <alexl@redhat.com>
5284 * gio/gdirectorymonitor.c:
5285 Set timeout to NULL when destroying
5287 2007-09-25 Alexander Larsson <alexl@redhat.com>
5290 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5291 that is a better description of the error.
5293 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5295 * gio/gvfs.c: (g_vfs_get_local):
5296 Make the local vfs variable static. The same instance should
5299 2007-09-24 Alexander Larsson <alexl@redhat.com>
5301 * gio/glocalfileinfo.c:
5302 Pass in actual length read into sniffer, not the length
5305 2007-09-21 Alexander Larsson <alexl@redhat.com>
5307 * gio/gfileenumerator.c:
5310 * gio/gfileinputstream.c:
5311 * gio/gfileoutputstream.c:
5312 * gio/ginputstream.c:
5313 * gio/goutputstream.c:
5314 Don't crash if async callbacks are NULL
5316 2007-09-20 Alexander Larsson <alexl@redhat.com>
5319 Add async enumerate_children method and default
5322 2007-09-20 Alexander Larsson <alexl@redhat.com>
5325 Add g_file_contains_file & g_file_get_relative_path, since they
5326 were needed for nautilus.
5327 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5332 Implement new methods
5334 2007-09-17 Alexander Larsson <alexl@redhat.com>
5337 * gio/gfileinputstream.[ch]:
5338 * gio/gfileoutputstream.[ch]:
5340 * gio/glocalfileenumerator.[ch]:
5341 * gio/glocalfileinfo.[ch]:
5342 * gio/glocalfileinputstream.c:
5343 * gio/glocalfileoutputstream.c:
5344 * gio/gpollfilemonitor.c:
5345 * programs/gio-copy.c:
5346 * programs/gio-info.c:
5347 * programs/gio-move.c:
5348 Rename get_file_info to query_info() to make it clearer
5349 that these are not simple getters, but do i/o.
5351 2007-09-17 Alexander Larsson <alexl@redhat.com>
5353 * gio/gdatainputstream.[ch]:
5354 * gio/test-streams.c:
5355 Use _read_XXX instead of _get_XXX for the i/o calls
5358 2007-09-17 Alexander Larsson <alexl@redhat.com>
5361 Added needed stuff to TODO comment
5363 2007-09-17 Alexander Larsson <alexl@redhat.com>
5365 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5366 Don't error out removing the backup copy if it doesn't
5369 2007-09-14 Alexander Larsson <alexl@redhat.com>
5371 * programs/Makefile.am:
5372 * programs/gvfs-*.c:
5374 Renamed apps from gvfs-xxx to gio-xxx.
5376 2007-09-14 Alexander Larsson <alexl@redhat.com>
5379 * gio/gfileoutputstream.[ch]:
5380 * gio/glocalfileoutputstream.c:
5381 * programs/gvfs-save.c:
5382 g_file_output_stream_get_etag doesn't do i/o, so remove
5383 cancellation and error.
5385 2007-09-14 Alexander Larsson <alexl@redhat.com>
5388 Add new_etag output to replace_contents functions
5390 2007-09-14 Alexander Larsson <alexl@redhat.com>
5392 * gio/gfileoutputstream.[ch]:
5393 Add async get_file_info and default implementation
5395 2007-09-14 Alexander Larsson <alexl@redhat.com>
5397 * gio/gfileinputstream.c:
5398 Implement fallback wrapper for async get_file_info
5400 2007-09-14 Alexander Larsson <alexl@redhat.com>
5403 Add etag out argument to load_contents
5408 2007-09-14 Alexander Larsson <alexl@redhat.com>
5410 * gio/gcontenttype.c (looks_like_text):
5411 Whitespace like tab, cr and lf do not make the
5414 2007-09-14 Alexander Larsson <alexl@redhat.com>
5416 * gio/gfileinputstream.[ch]:
5417 Add async get_file_info.
5419 2007-09-13 Alexander Larsson <alexl@redhat.com>
5421 * gio/goutputstream.c (g_output_stream_write_all):
5422 Allow NULL for bytes_written
5424 2007-09-13 Alexander Larsson <alexl@redhat.com>
5426 * gio/gmemoryinputstream.[ch]:
5427 Add accessors for data
5429 2007-09-13 Alexander Larsson <alexl@redhat.com>
5431 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5432 Don't crash if length is NULL