1 2008-11-28 Matthias Clasen <mclasen@redhat.com>
3 Bug 555486 – No way to recover command line from GAppInfo
6 * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
7 by Hans Petter Jansson.
9 * gdesktopappinfo.c: And implement it here.
11 2008-11-28 Christian Dywan <christian@imendio.com>
13 * gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.
15 2008-11-28 Matthias Clasen <mclasen@redhat.com>
17 Bug 559633 – gtk_image_new_from_gicon does not always work for
20 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
21 extensions on icon names. Proposed by Axel von Bertoldi.
23 2008-11-28 Matthias Clasen <mclasen@redhat.com>
25 Bug 548163 – Nautilus displays wrong error message for too long file
28 * glocalfile.c (g_local_file_set_display_name): Correctly set
29 error conditions if the new name is e.g. too long. Reported
30 by Leonardo Ferreira Fontenelle.
32 2008-11-28 Matthias Clasen <mclasen@redhat.com>
34 Bug 547481 – g_data_input_stream_read_line behaves not as stated in
37 * gdatainputstream.c (g_data_input_stream_read_line): Behave as
38 documented and include the line end in the returned string.
39 Pointed out by Paul Pogonyshev.
41 * tests/data-input-stream.c: Fix the read_line test to test the
44 2008-11-28 Matthias Clasen <mclasen@redhat.com>
46 * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
47 files that have been created by g_app_info_create_from_commandline.
49 2008-11-28 Matthias Clasen <mclasen@redhat.com>
51 Bug 541715 – win32 : patch for warnings and signature problems in
54 * glocalvfs.c: Avoid unused variables. Pointed out by Jody
57 2008-11-28 Matthias Clasen <mclasen@redhat.com>
59 Bug 562393 – g_buffered_input_stream_read_byte broken if data
62 * gbufferedinputstream.c (g_buffered_input_stream_read_byte): Fix
63 handling of buffered content. Patch by Philip Withnall
65 * tests/buffered-input-stream.c: Add a testcase for this bug.
66 * tests/Makefile.am: And build it
68 2008-11-28 Matthias Clasen <mclasen@redhat.com>
70 Bug 561807 – inotify_sub.c :: dup_dirname() fails to remove trailing
73 * inotify/inotify-sub.c (dup_dirname): Actually strip the trailing
74 '/' away. Spotted by Dan Williams.
76 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
78 Bug 561375 – Leaks mountpoint description
80 * glocalfile.c: (get_mount_info): don't leak the mountpoint description
83 2008-11-21 Cosimo Cecchi <cosimoc@gnome.org>
85 Bug 561352 – Leak of icon description
87 * gcontenttype.c: (g_content_type_get_icon): don't leak the XDG mimetype
90 2008-11-14 Matthias Clasen <mclasen@redhat.com>
92 * gfileattribute.c: Add G_FILE_ATTRIBUTE_PREVIEW_ICON to doc table.
94 2008-11-12 Tor Lillqvist <tml@novell.com>
96 Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
98 * win32/gwinhttpvfs.h: Move the set of function pointers to
99 winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
100 pointer to that in the GWinHttpVfsClass.
102 * win32/gwinhttpvfs.c: Move the lookup of functions from
103 winhttp.dll into a function of its own, that stores the pointers
104 in a separate GWinHttpDllFuncs variable. Add two bookeeping
105 booleans lookup_done and funcs_found.
107 Don't call g_io_extension_point_implement() to register the
108 winhttp extension unless winhttp.dll has been successfully loaded
109 and the required functions found in it.
111 * win32/gwinhttp*.c: Adjust calls of the functions looked up from
112 winhttp.dll correspondingly.
114 2008-10-28 Cosimo Cecchi <cosimoc@gnome.org>
116 reviewed by: Alexander Larsson <alexl@redhat.com>
118 * gdatainputstream.c: Make the docs of g_dada_input_stream_read_line ()
119 clearer about the behavior when there's no more content to read.
121 2008-10-27 Federico Mena Quintero <federico@novell.com>
123 * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename.
125 2008-10-27 Tor Lillqvist <tml@novell.com>
127 Bug 557592 - Missing include in gwinhttpfile.c
129 * win32/gwinhttpfile.c: Include <wchar.h> to make it compile with
132 2008-10-24 Matthias Clasen <mclasen@redhat.com>
134 Bug 556910 – [fam-helper.c:223]: Memory leak: sub
136 * fam/fam-helper.c: Fix a memory leak and formatting issues.
137 Reported by Daniel Marjamäki
139 2008-10-23 Matthias Clasen <mclasen@redhat.com>
141 * gdesktopappinfo.c (g_app_info_reset_type_associations): Fix docs.
143 2008-10-23 Alexander Larsson <alexl@redhat.com>
145 Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
148 (_g_local_file_info_get):
149 Don't return the fallback icon (text-x-generic) for all files.
150 This is causing problems with theme icon lookup and custom mime
151 icons, as the generic fallback overrides custom mime icons in
154 This is a slight change as applications might not get an icon wher
155 they previously did. But there is no guarantee to get on neither before
156 or after this change, so it should not break applications. Changes
157 to nautilus and gtk+ will be done to manually use the generic fallback
158 icon if no icon is found, but this is only required for rare cases.
160 2008-10-21 Alexander Larsson <alexl@redhat.com>
163 Add G_FILE_ATTRIBUTE_PREVIEW_ICON (#557182)
165 2008-10-21 Alexander Larsson <alexl@redhat.com>
167 Bug 555740 - gicon serialization
168 Based on patch from David Zeuthen
172 Add g_icon_to_string() and g_icon_new_for_string().
178 Implement icon serialization for built-in icon types
182 Added GIcon serialization test
184 2008-10-16 Matthias Clasen <mclasen@redhat.com>
186 * === Released 2.19.0 ===
188 2008-10-16 Matthias Clasen <mclasen@redhat.com>
190 Bug 556422 – g_file_enumerator_next_file: unclear whether return
191 value needs to be freed
193 * gfileenumerator.c (g_file_enumerate_next_file): Clarify
194 the return value docs. Pointed out by Armin Burgmeier
196 2008-10-14 Matthias Clasen <mclasen@redhat.com>
198 Bug 556334 – Warning when building without selinux support
200 * glocalfileinfo.c: Avoid compiler warnings when selinux is
201 disabled. Patch by Pascal Terjan
203 2008-10-14 Matthias Clasen <mclasen@redhat.com>
205 Bug 556335 – make check fails in abicheck.sh
207 * gio.symbols: Add g_file_attribute_info_list_get_type.
208 Pointed out by Pascal Terjan.
210 2008-10-13 Alexander Larsson <alexl@redhat.com>
213 When adding an application as handling a mime type (but
214 not as the default), copy the full list of desktop ids handling
215 that type in before adding the new one on the end of the list.
216 This means we're not accidentally changing the default by overriding
217 the info from the later directories in the search path.
219 Also, fixes small leak of removed_entries.
221 2008-10-12 David Zeuthen <davidz@redhat.com>
224 * gunionvolumemonitor.c:
226 Deprecate g_volume_monitor_adopt_orphan_mount() (#555331).
228 2008-10-10 Alexander Larsson <alexl@redhat.com>
230 * gfileattribute.c (escape_byte_string):
231 Upper half of byte is >> 4, not >> 8.
232 Found by Kjartan Maraas via sparse
234 2008-10-10 Matthias Clasen <mclasen@redhat.com>
236 Bug 555711 – Wrong fallback order of mimetype icons
238 * gcontenttype.c: Don't prefer generic icons over
239 default mimetype icons.
241 * xdgmime/xdgmimecache.c (xdg_mime_cache_get_icon):
242 * xdgmime/xdgmime.c (xdg_mime_get_icon): Don't fall back
244 Patch by Krysztof Kosiński
246 2008-10-10 Matthias Clasen <mclasen@redhat.com>
248 Bug 555121 – Improved build-time handling of gio module-dir
250 * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
251 * Makefile.am: Create the module dir.
253 2008-10-10 Matthias Clasen <mclasen@redhat.com>
255 * gio/glocalfileinfo.c:
256 * gio/tests/live-g-file.c:
257 * gio/gsimpleasyncresult.c: Fix gcc warnings.
259 2008-10-09 Alexander Larsson <alexl@redhat.com>
261 * gunixinputstream.c (g_unix_input_stream_read):
262 Actually return -1 in case of cancelled, not old res value.
264 2008-10-06 Colin Walters <walters@verbum.org>
266 Bug 554745 - GFileAttributeInfoList should be boxed
268 * gio/gfileattribute.c: Define a boxed type for GFileAttributeList
269 for convenience of bindings.
270 * gio/gfileattribute.h: Prototype it.
272 2008-10-05 Pascal Terjan <pterjan@linuxfr.org>
274 Bug 554970 – segfault when update-desktop-database is not available
277 * gdesktopappinfo.c (run_update_command): Have the error set before
280 2008-10-01 David Zeuthen <davidz@redhat.com>
282 * gdesktopappinfo.c (expand_macro): If possible, always pass FUSE
283 file:// URIs (such as '/home/davidz/.gvfs/sftp on foo/file.avi')
284 instead of the gio URI (such as sftp://foo/file.avi) when using
285 g_app_info_launch() and friends. With a sufficiently recent gvfs,
286 apps using gio+gvfs will map the FUSE file:// URI back to the gio
287 URI (and thus bypass the fuse daemon) thanks the patch from bug
288 #530654. Since Nautilus is an user of g_app_info_launch() it
289 means that non-gio POSIX apps, such as mplayer, will Just Work(tm)
290 when launced via the file manager. Win. Fixes bug #528670.
292 * gappinfo.c: Add some notes about the FUSE POSIX URI <-> GIO URI
293 mapping to the description of GAppInfo.
295 2008-09-30 Tor Lillqvist <tml@novell.com>
297 * tests/Makefile.am: Build desktop-app-info only on Unix.
299 * glocalfile.c (get_volume_for_path) [Win32]: Avoid a
300 g_critical(). Pass a large enough result buffer to
301 GetVolumePathNameW(). Just use MAX_PATH.
303 2008-09-29 David Zeuthen <davidz@redhat.com>
305 * gvolume.c: Clarify semantics of g_volume_mount_finish() (#552168)
307 2008-09-26 Dan Winship <danw@gnome.org>
309 * tests/data-input-stream.c:
310 * tests/data-output-stream.c:
311 * tests/live-g-file.c:
312 * tests/memory-input-stream.c:
313 * tests/memory-output-stream.c: Use g_assert_error() and
316 2008-09-26 Matthias Clasen <mclasen@redhat.com>
318 Bug 545350 – GAppInfo deletion
319 Bug 545351 – Reset associations for content type
322 * gappinfo.[hc]: New functions g_app_info_can_delete,
323 g_app_info_delete and g_app_info_reset_type_associations.
326 * gwin32appinfo.c: Implementations of these.
329 * tests/desktop-app-info.c: Tests for GAppInfo functionality.
331 2008-09-26 Dan Winship <danw@gnome.org>
333 Bug 505361 – gunixinputstream.c assumes poll() available
334 Bug 509446 – portable blocking gio cancellation
336 * gcancellable.c (g_cancellable_make_pollfd): New method to make a
337 GPollFD for a cancellable (which is slightly more complicated on
340 * gunixinputstream.c (g_unix_input_stream_read):
341 * gunixoutputstream.c (g_unix_output_stream_write): Use
342 g_cancellable_make_pollfd() and g_poll() rather than using poll()
345 * tests/unix-streams.c: test of GUnixInputStream,
346 GUnixOutputStream, and GCancellable.
348 2008-09-26 Dan Winship <danw@gnome.org>
350 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type): add a
351 cast to stop a gcc warning
353 * gfile.c (g_file_copy_attributes): add parens to stop a gcc
356 2008-09-25 Dan Winship <danw@gnome.org>
358 Bug 553426 - cancellable clarifications
360 * gcancellable.c (g_cancellable_class_init): Add a note to the
361 "cancelled" signal docs warning about thread-safety issues
362 (g_cancellable_cancel): Note that cancelling an asynchronous
363 operation takes effect asynchronously, not immediately.
365 2008-09-22 Nelson Benítez León <nbenitez@svn.gnome.org>
367 * gioenums.h: Add new GFileCopyFlag, to leave target file with
368 default perms, instead of setting the source file perms, in a copy
371 * gfile.c (g_file_copy_attributes)
372 (build_attribute_list_for_copy)
373 (should_copy): Not copy "unix::mode" attribute if we have received
374 G_FILE_COPY_TARGET_DEFAULT_PERMS flag.
376 2008-09-20 Matthias Clasen <mclasen@redhat.com>
378 * gdesktopappinfo.c (expand_macro_single): Plug a memory leak
380 2008-09-17 Matthias Clasen <mclasen@redhat.com>
382 * === Released 2.18.1 ===
384 2008-09-16 Michael Natterer <mitch@imendio.com>
386 * gcontenttype.c (g_content_type_guess): can't assign the return
387 value of g_strdupv() to an array. Fill the array manually with
388 const strings instead (it is never freed anyway). Fixes the
389 build. Also fixed indentation.
391 2008-09-16 Wouter Bolsterlee <wbolster@svn.gnome.org>
393 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile):
394 Fix trivial typo to unbreak the build (there was a colon
395 instead of a semicolon at the end of a statement).
397 2008-09-15 Matthias Clasen <mclasen@redhat.com>
399 Bug 552352 – g_app_info_launch doesn't work if "Path" key in .desktop
402 * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
405 2008-09-15 Matthias Clasen <mclasen@redhat.com>
407 Bug 551681 – g_content_type_guess() too naive with filenames
409 * gcontenttype.c (g_content_type_guess): Check whether there's a '/'
410 at the end of the filename, and declare it a directory.
411 Patch by Bastien Nocera
413 2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
415 Bug 551887 – Docs for g_desktop_app_info_new_from_filename ()
418 * gdesktopappinfo.c: add a note in the docs clarifying what the
419 "filename" parameter really is.
421 2008-09-12 Tor Lillqvist <tml@novell.com>
423 * gwin32appinfo.c (g_win32_app_info_launch): Don't call
424 FormatMessage() etc here. Call g_win32_error_message() instead
425 which already does all that. Besides, the code was broken as it
426 called the default "A" version of FormatMessage() but still
427 thought it produced a wide string.
429 2008-09-12 Michael Natterer <mitch@imendio.com>
431 * gfileinfo.c (g_file_info_get_content_type): remove dangling 's'
432 in the documentation.
434 2008-09-08 Christian Neumair <cneumair@gnome.org>
436 * gunixmount.c (eject_unmount_read_error), (eject_unmount_do):
437 * gunixvolume.c (eject_mount_read_error), (eject_mount_do):
438 Use non-blocking pipe for mount helper I/O. Fixes #550647.
440 2008-09-06 Matthias Clasen <mclasen@redhat.com>
442 Bug 551149 – xdgmime mem leak
444 * xdgmime/xdgmime.c (xdg_mime_init_from_directory): Plug
445 a memory leak. Patch by Christian Persch
447 2008-09-04 Tor Lillqvist <tml@novell.com>
449 * gwin32mount.c (g_win32_mount_finalize): Don't unref icon if
452 2008-09-02 Matthias Clasen <mclasen@redhat.com>
454 * === Released 2.18.0 ===
456 2008-09-02 Michael Natterer <mitch@imendio.com>
458 * *.h: big header formatting cleanup: indentation, vtable
459 formatting, consistent spacing in (* vfunc), trailing whitespace
460 removal. Formatting should be pretty consistent in all GIO headers
463 2008-09-02 Matthias Clasen <mclasen@redhat.com>
465 * gmount.h: Document guess_content_type sync vfunc.
467 2008-09-02 Michael Natterer <mitch@imendio.com>
469 * gbufferedoutputstream.h (struct _GBufferedOutputStreamClass):
470 fix parent_class member to be GFilterOutputStreamClass (not
471 GOutputStreamClass). Drop three pointers of padding, which is
472 exactly what GFilterOutputStreamClass adds to GOutputStreamClass,
473 so the class struct size stays the same.
475 2008-09-02 Matthias Clasen <mclasen@redhat.com>
477 Bug 550059 – Wrong docs for g_emblemed_icon_add_emblem
479 * gemblemedicon.c (g_emblemed_icon_get_add_emblem): Don't document
480 nonexisting return values. Pointed out by Cosimo Cecchi.
482 2008-08-23 Tor Lillqvist <tml@novell.com>
484 Bug 548988 - g_file_replace fails on Windows when the target file
487 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
488 Windows, close the file before potentially renaming it (in case we
489 have been writing to a file with a temporary name).
491 (g_local_file_output_stream_close, handle_overwrite_open): Use
492 GLocalFileStat instead of plain struct stat, for passing to
493 _g_local_file_info_create_etag(). Thus also use _fstati64()
494 instead of plain fstat() on Windows.
496 2008-08-18 Matthias Clasen <mclasen@redhat.com>
498 * === Released 2.17.7 ===
500 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
502 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
505 2008-08-13 Tor Lillqvist <tml@novell.com>
507 * win32/gwinhttpvfs.c
508 * win32/gwinhttpvfs.h
509 * win32/gwinhttpfile.c
510 * win32/gwinhttpfileinputstream.c
511 * win32/gwinhttpfileoutputstream.c: Refactor some common code
512 snippets into helper functions. Check HTTP response status
513 codes. Implement g_winhttp_file_query_info(), looking at
514 Content-Length, Content-Type and Last-Modified.
516 * win32/winhttp.h: Add some symbolic constants that are not
517 publicly documented. Just a handful, so it should be OK to use
518 information from the Windows SDK's headers.
520 2008-08-13 Tor Lillqvist <tml@novell.com>
522 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
525 * win32/gwin32directorymonitor.c
526 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
528 2008-08-13 Matthias Clasen <mclasen@redhat.com>
531 * goutputstream.c: Add intro docs.
533 2008-08-13 Tor Lillqvist <tml@novell.com>
535 * win32/gwinhttpfileoutputstream.c
536 (g_winhttp_file_output_stream_write): Don't write the
537 Content-Length header ourselves, WinHttpSendRequest() takes care
538 of that when the dwTotalLength parameter is non-zero. Increment
539 offset by the number of actual bytes sent, although I wonder if
540 such a scenario is possible where less than requested would be
541 sent and accepted by the server without errors.
543 2008-08-13 Tor Lillqvist <tml@novell.com>
545 * win32/gwinhttpvfs.c
546 * win32/gwinhttpvfs.h
547 * win32/gwinhttpfile.c
548 * win32/gwinhttpfile.h
549 * win32/gwinhttpfileinputstream.c
550 * win32/gwinhttpfileinputstream.h
551 * win32/gwinhttpfileoutputstream.c
552 * win32/gwinhttpfileoutputstream.h: New files implementing
553 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
554 Windows. The implementation uses the WinHttp API. Both reading and
555 writing are supported, i.e. GET and PUT requests. When writing,
556 each write call is done using a separate PUT request with a
557 Content-Range header. Requests for file URIs and plain pathnames
558 are forwarded to GLocalVfs.
560 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
561 WINE. Used as there is no <winhttp.h> bundled with mingw, and
562 requiring people to download the Windows SDK just for this one
563 header is not reasonable.
565 * win32/Makefile.am: Add above files.
567 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
568 the plumbing for the above.
570 2008-08-11 Sven Neumann <sven@gimp.org>
572 * gfilenamecompleter.c
573 * glocaldirectorymonitor.c
575 * gunionvolumemonitor.c
579 * gunixvolumemonitor.c
582 * gwin32volumemonitor.c: use canonical signal names.
584 2008-08-11 Tor Lillqvist <tml@novell.com>
586 * Makefile.am: Put a list of the platform-dependent .la files in
587 the subdirectories in the platform_deps Make variable, and make
588 libgio-2.0.la depend on that, so that it gets relinked if one of
589 the dependent libraries has changed.
591 2008-08-11 Tor Lillqvist <tml@novell.com>
593 * Makefile.am (platform_libadd): Remove -lwininet which had been
594 added by mistake. We will probably eventually be using WinHTTP,
595 not the older WinInet anyway. (Actually I am working on it.)
597 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
599 Bug 547080 – g_file_copy leaks expected errors
601 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
602 before trying the next fallback routine.
604 2008-08-09 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 * gfile.c (g_file_make_directory)
610 (g_file_make_directory_with_parents): Document ownership and
611 permissions of newly created directories as being the default
614 2008-08-08 Loïc Minier <lool@dooz.org>
616 Bug 535124 – umask 002 not being applied for new directories, new
617 files get the correct umask
619 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
622 2008-08-08 Tor Lillqvist <tml@novell.com>
624 * gwin32mount.c: Remove unused code. Whitespace cleanup.
626 * gwin32volumemonitor.c (get_connected_drives): Put questionable
627 code that didn't actually do anything inside #if 0, and add a
628 comment wondering what the code was supposed to do. This also gets
629 rid of a leftover debugging printout.
631 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
633 * gfileicon.c (g_file_icon_get_property)
634 (g_file_icon_set_property): New functions.
635 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
637 (g_file_icon_new): Use the property (bug #546132).
639 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
641 * gthemedicon.c (g_themed_icon_get_property): Also handle
642 `PROP_USE_DEFAULT_FALLBACKS'.
643 (g_themed_icon_class_init): Make
644 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
646 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
648 Bug 546371 – Improve docs re g_file_monitor
650 * gfilemonitor.c: Mention g_file_monitor() in the docs.
652 2008-08-04 Matthias Clasen <mclasen@redhat.com>
654 * === Released 2.17.6 ===
656 2008-08-04 Matthias Clasen <mclasen@redhat.com>
658 * === Released 2.17.5 ===
660 2008-08-04 Matthias Clasen <mclasen@redhat.com>
662 Bug 546017 – Don't copy attributes when copying a symlink
664 * gfile.c (g_file_copy_attributes): Specify
665 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
666 g_file_set_attributes_from_info. Patch by Christian Kellner
668 2008-08-04 Matthias Clasen <mclasen@redhat.com>
670 * gemblemedicon.[hc]:
672 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
673 a bit more extensible. Work by Clemens Buss.
675 * gioenums.h: Add GEmblemOrigin.
678 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
680 Bug 546079 – leak in xdgmime
682 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
684 2008-08-03 Tor Lillqvist <tml@novell.com>
686 * win32/gwin32directorymonitor.h
687 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
690 2008-08-03 Tor Lillqvist <tml@novell.com>
692 * win32/gwin32directorymonitor.c
693 (g_win32_directory_monitor_callback): Make prototype match
694 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
695 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
698 (g_win32_directory_monitor_constructor):
699 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
700 names in the GLib API on Windows, so convert to UTF-16 and open
703 2008-08-03 Tor Lillqvist <tml@novell.com>
705 Bug 541036 - Gnumeric crashes when trying to open Desktop or
706 user's folder under Windows
708 * win32/gwin32directorymonitor.c
709 (g_win32_directory_monitor_constructor): Ignore error from
710 CreateFile() when opening directory. Instead of asserting, just
711 store INVALID_HANDLE_VALUE then in
712 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
713 ReadDirectoryChangesW().
714 (g_win32_directory_monitor_cancel): Don't attempt to close
715 directory handle if it is INVALID_HANDLE_VALUE.
717 2008-08-01 Matthias Clasen <mclasen@redhat.com>
719 * gdesktopappinfo.c: Remove debug spew
721 2008-08-01 Hans Breuer <hans@breuer.org>
723 * makefile.msc : add gemblembedicon
725 2008-07-30 Matthias Clasen <mclasen@redhat.com>
727 Bug 545457 – gdmsetup crashed with SIGSEGV in
728 g_unix_mount_guess_should_display()
730 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
731 crash if no mount is found.
733 2008-07-28 Matthias Clasen <mclasen@redhat.com>
735 Bug 545203 – gfile.c: argument is different type.
737 * gfile.c (open_read_async_thread): Pass a GError **
738 to g_file_set_error_literal.
739 Reported by Kazuki Iwamoto
741 2008-07-28 Matthias Clasen <mclasen@redhat.com>
743 Bug 545157 – wrong/no list of "open with" applications for .cc and
746 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
747 Collect all ancestors, not just direct parents. Pointed
748 out by Bastien Nocera
750 2008-07-28 Matthias Clasen <mclasen@redhat.com>
752 * Makefile.am: Install gemblemedicon.h
754 2008-07-28 Matthias Clasen <mclasen@redhat.com>
756 * gemblemedicon.[hc]: Add a GIcon implementation that can
757 add an emblem to another icon.
764 * gfileicon.c: Small documentation additions.
766 2008-07-28 Tor Lillqvist <tml@novell.com>
768 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
771 2008-07-27 Tor Lillqvist <tml@novell.com>
773 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
775 2008-07-24 David Zeuthen <davidz@redhat.com>
779 Also export a g_mount_guess_content_type_sync() function.
781 2008-07-23 Matthias Clasen <mclasen@redhat.com>
783 529694 – SELinux context setting support
785 * gfileinfo.c: Support setting selinux attributes.
786 Patch by Tomas Bzatek
788 2008-07-22 Priit Laes <plaes@plaes.org>
790 Bug 544140 - fam-helper 64-bit issue?
792 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
794 2008-07-21 Matthias Clasen <mclasen@redhat.com>
796 * === Released 2.17.4 ===
798 2008-07-20 Matthias Clasen <mclasen@redhat.com>
800 * gvolumemonitor.[hc]:
805 * gmount.c: Documentation fixes
807 2008-07-19 Matthias Clasen <mclasen@redhat.com>
809 543504 – crash in Epiphany Web Browser: Opening local file
820 * gvolume.c: Register types thread-safely.
821 Patch by Christian Persch
823 2008-07-18 Matthias Clasen <mclasen@redhat.com>
825 * gcontenttype.c: Remove debug spew
827 2008-07-18 Matthias Clasen <mclasen@redhat.com>
829 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
832 * fen/fen-kernel.c: Remove a warning that was causing
833 crashes. Reported by Lin Ma.
835 2008-07-18 Matthias Clasen <mclasen@redhat.com>
837 Bug 543040 – async reading on dummy file will crash on
840 * gfile.c (open_read_async_thread): Cope with read_fn being
841 NULL. Reported by Lin Ma.
843 2008-07-18 Matthias Clasen <mclasen@redhat.com>
846 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
848 2008-07-16 Matthias Clasen <mclasen@redhat.com>
852 * giomodule.c: Rename a chapter id to avoid filename conflict.
854 2008-07-16 Matthias Clasen <mclasen@redhat.com>
856 Bug 540616 – mem leak in filechooser button
858 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
859 the mount entry. Reported by Chrisitan Persch
861 2008-07-16 Matthias Clasen <mclasen@redhat.com>
863 * gfile.c: Small documentation fixes.
865 2008-07-15 Matthias Clasen <mclasen@redhat.com>
867 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
869 2008-07-08 Matthias Clasen <mclasen@redhat.com>
874 * gmount.c: Documentation improvements.
876 2008-07-08 Matthias Clasen <mclasen@redhat.com>
879 * gmount.[hc]: Add g_mount_guess_content_type().
881 2008-07-06 David Zeuthen <davidz@redhat.com>
884 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
885 is needed for easily handling adoption of foreign volumes by
886 out-of-process volume monitors (#541793)
888 2008-07-06 David Zeuthen <davidz@redhat.com>
890 * gvolumemonitor.[ch]:
891 * gunionvolumemonitor.c: Export the eject-button signal on the
892 volume monitor class (#541794).
894 2008-07-06 Matthias Clasen <mclasen@redhat.com>
896 * gappinfo.c: More doc tweaks
898 2008-07-05 Matthias Clasen <mclasen@redhat.com>
900 * gappinfo.c: Clarify some docs
902 2008-07-03 Matthias Clasen <mclasen@redhat.com>
904 * gdesktopappinfo.c: Fix a stupid mistake.
906 2008-07-02 Matthias Clasen <mclasen@redhat.com>
908 * === Released 2.17.3 ===
910 2008-07-02 Matthias Clasen <mclasen@redhat.com>
912 * gfilemonitor.c: Fix the build.
914 2008-07-02 Matthias Clasen <mclasen@redhat.com>
916 Bug 536160 – Add g_file_monitor()
919 * gfile.[hc]: Add g_file_monitor which can return either
920 a file or a directory monitor. Proposed by Behdad Esfahbod
922 2008-07-02 Matthias Clasen <mclasen@redhat.com>
924 536733 – gio build failure on Irix
926 * glocalfile.c: Use a configure check for structfs.f_bavail.
928 2008-07-02 Matthias Clasen <mclasen@redhat.com>
930 Bug 534639 – add g_desktop_app_info_new_from_keyfile
933 * gdesktopappinfo.[hc]: Add a function to create a
934 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
936 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
938 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
940 2008-07-01 Matthias Clasen <mclasen@redhat.com>
942 * gunixmounts.c: Fix a doc typo.
944 2008-07-01 Cody Russell <bratsche@gnome.org>
946 * gio/gcontenttype.c:
947 * gio/gwin32appinfo.c:
948 * gio/gwin32volumemonitor.c:
949 * gio/gwin32mount.c: Fixed some include problems.
951 2008-07-01 Cody Russell <bratsche@gnome.org>
955 Moved all relevant typedefs into these files.
958 Updated wrt added files.
960 Split types into separate file for easier maintainership. (#538564)
962 2008-06-30 Matthias Clasen <mclasen@redhat.com>
964 Bug 540331 – g_file_append_to () documentation: can return NULL
966 * gfile.c (g_file_append_to): Clarify docs.
969 2008-06-30 Matthias Clasen <mclasen@redhat.com>
971 Bug 539090 – g_content_type_from_mime_type() should unalias
973 * gcontentype.c (g_content_type_from_mime_type): Unalias.
974 Patch by Markus Bergman
976 2008-06-30 Matthias Clasen <mclasen@redhat.com>
978 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
981 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
982 on ppc and alpha. Reported by Mart Raudsepp
984 2008-06-29 Matthias Clasen <mclasen@redhat.com>
987 * tests/memory-output-stream.c: Add some tests for
990 2008-06-29 Matthias Clasen <mclasen@redhat.com>
992 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
995 * gmemoryoutputstream.c (array_resize): Handle truncation to
996 zero correctly. Reported by Akira Tagoh
998 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1000 * gmemoryoutputstream.c: Trivial doc fixes
1002 2008-06-29 Matthias Clasen <mclasen@redhat.com>
1004 Bug 540802 – g_list_prepend doesn't concat lists
1006 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
1007 one list to another. Pointed out by Jan Arne Petersen
1009 2008-06-28 Michael Natterer <mitch@imendio.com>
1011 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
1013 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
1015 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
1016 to avoid problems with partial icon themes.
1018 2008-06-17 Hans Breuer <hans@breuer.org>
1020 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
1021 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
1022 access again on win32, see bug #538127
1023 * giomodule.c : ensure GWin32VolumeMonitor is registered
1024 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
1025 * Makefile.am makefile.msc : updated
1027 2008-06-16 Hans Breuer <hans@breuer.org>
1029 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
1030 and initialization in one step avoids c99ism
1032 2008-06-16 Christian Persch <chpe@gnome.org>
1035 * gio/gbufferedinputstream.c
1036 * gio/gcancellable.c
1037 * gio/gdatainputstream.c
1038 * gio/gdesktopappinfo.c
1040 * gio/gfileenumerator.c
1041 * gio/gfileinputstream.c
1042 * gio/gfileoutputstream.c
1043 * gio/ginputstream.c
1044 * gio/glocaldirectorymonitor.c
1046 * gio/glocalfileenumerator.c
1047 * gio/glocalfileinfo.c
1048 * gio/glocalfilemonitor.c
1049 * gio/glocalfileoutputstream.c
1050 * gio/gmemoryinputstream.c
1051 * gio/gmemoryoutputstream.c
1052 * gio/goutputstream.c
1053 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
1056 2008-06-16 Tor Lillqvist <tml@novell.com>
1058 Bug 538362 - Get Win32 icons back in the file chooser
1060 * gcontenttype.c (g_content_type_get_icon): Look up the icon
1061 corresponding to a file extension in the Registry. Patch by Hans
1063 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
1065 2008-06-16 Tor Lillqvist <tml@novell.com>
1067 Patches by Hans Breuer:
1069 * glocalfile.c (is_xp_or_later): Handle compiling against older
1070 SDK headers with missing VerifyVersionInfo(). Conditioned on
1071 _MSC_VER, but should probably use some better test.
1072 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
1073 uninitialised statfs_result variable on Win32.
1075 2008-06-16 Michael Natterer <mitch@imendio.com>
1077 * *.c: chain up unconditionally in finalize() and dispose(). Also
1078 don't dereference these function pointers when calling them since
1079 that has no meaning at all.
1081 2008-06-16 Ross Burton <ross@burtonini.com>
1083 * gfileenumerator.c:
1084 Remove check for dispose implementation as it annoys Emmanuele.
1086 2008-06-16 Ross Burton <ross@burtonini.com>
1088 Bug 536252 – GFileEnumerator should allow access to the containing
1091 * gfileenumerator.c:
1092 * gfileenumerator.h:
1094 Add g_file_enumerator_get_container() and a container writeable
1095 construct-only property. Also shuffle around typedefs to make it
1098 * glocalfileenumerator.c:
1099 * glocalfileenumerator.h:
1101 Instead of a string filename take a GFile in the constructor and
1102 use it to set the container property.
1105 Update with new API.
1107 2008-06-16 Matthias Clasen <mclasen@redhat.com>
1109 * gfile.c: Make includes more uniform
1111 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1113 * tests/live-g-file.c (sample_struct):
1114 Use less fancy unicode filenames, so the test doesn't fail
1115 on Mac OS X (#531476).
1117 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1119 * === Released 2.17.2 ===
1121 2008-06-12 Matthias Clasen <mclasen@redhat.com>
1123 * === Released 2.17.1 ===
1125 2008-06-11 A. Walton <awalton@gnome.org>
1127 * tests/g-file.c (test_g_file_new_null):
1128 Fix broken test case.
1130 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1132 * pltcheck.sh: We use g_clear_error now.
1134 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1136 * glocalfile.c (g_local_file_enumerate_children): Revert
1137 an unintended change.
1139 2008-06-11 Matthias Clasen <mclasen@redhat.com>
1141 * gfile.c (g_file_replace_contents): Don't unref before the last use.
1143 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1145 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
1148 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
1149 as icon for the desktop directory, also make user-home and
1150 user-desktop the preferred icons.
1152 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1155 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
1156 to add a name to the front of the list.
1158 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1160 Bug 537392 – Additional colon in xattr name
1162 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
1163 too. Reported by Alessandro Morandi
1165 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1167 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
1170 * glocalfile.c (get_fs_type): Add afs and autofs.
1171 Patch by Danny Baumann.
1173 2008-06-10 Matthias Clasen <mclasen@redhat.com>
1175 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
1177 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
1178 is no parent. (Owen Taylor, patch by Christian Neumair)
1180 2008-06-10 Paolo Borelli <pborelli@katamail.com>
1182 * gfile.c (g_file_replace_contents): do not leak the output stream.
1184 2008-06-10 Michael Natterer <mitch@imendio.com>
1186 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
1187 uninitialized memory as array index.
1189 2008-06-10 Tor Lillqvist <tml@novell.com>
1191 * gcontenttype.c (g_content_type_can_be_executable)
1192 (g_content_type_get_icon) [Win32]: Add TODO comments.
1194 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1196 * xdgmime/Makefile.am: Fix the build
1198 2008-06-09 Matthias Clasen <mclasen@redhat.com>
1200 * gcontenttype.c (g_content_type_get_icon): Use icons specified
1201 in the shared mime database, if available.
1203 * xdgmime/*: Sync with upstream. This brings support for
1204 glob weights, generic icons, and changes the cache format to
1207 2008-05-28 Michael Natterer <mitch@imendio.com>
1209 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
1210 the global CPPFLAGS now.
1212 * tests/data-input-stream.c
1213 * tests/data-output-stream.c
1214 * tests/g-file-info.c
1216 * tests/live-g-file.c
1217 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
1219 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1221 * === Released 2.17.0 ===
1223 * tests/live-g-file.c: Clean up after the tests, so make distcheck
1224 doesn't complain about leftover files.
1226 2008-05-27 simon.zheng <simon.zheng@sun.com>
1228 * glocalfile.c: (g_local_file_query_filesystem_info):
1229 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
1231 2008-05-26 Michael Natterer <mitch@imendio.com>
1233 * gmemoryoutputstream.h: declare
1234 g_memory_output_stream_get_data_size().
1236 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1238 * tests/*: Make tests work
1240 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1242 * gio.symbols: Add g_memory_output_stream_get_data_size.
1244 2008-05-25 Ross Burton <ross@burtonini.com>
1247 Fix typo in error message (#534764).
1249 2008-05-25 Ross Burton <ross@burtonini.com>
1252 Fix circular dependency loop for gioenumtypes.h (#534759).
1254 2008-05-19 Hans Breuer <hans@breuer.org>
1256 * Makefile.am : EXTRA_DIST += makefile.msc
1258 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1261 * gcontenttype.c: (g_content_type_from_mime_type):
1262 New function to create a content type from a mime type. (#527175,
1265 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1267 Bug 532965 – Should not return filesystem::free for certain file systems
1269 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
1270 free space for ncpfs.
1272 2008-05-17 Matthias Clasen <mclasen@redhat.com>
1274 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
1276 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
1277 st_dev might be zero.
1279 2008-05-16 Tor Lillqvist <tml@novell.com>
1281 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
1282 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
1284 2008-05-13 Bastien Nocera <hadess@hadess.net>
1286 * gfile.c (has_valid_scheme): A URI scheme must start with a
1287 letter, even if later more characters are allowed (#532852)
1289 2008-05-05 Michael Natterer <mitch@imendio.com>
1291 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
1292 code from being checked in that breaks the build of applications
1293 which use G_DISABLE_SINGLE_INCLUDES.
1295 * makegioalias.pl: make the alias file include "glib.h" instead of
1298 * gio.symbols: whitespace change to force regeneration of the
1299 alias file after above script change.
1301 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
1303 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
1305 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
1307 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
1309 2008-04-28 David Zeuthen <davidz@redhat.com>
1311 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
1312 displaying mounts in a subdirectory not accessible to the
1315 2008-04-22 Michael Natterer <mitch@imendio.com>
1317 * Makefile.am: fix library versioning (it was 0.0.0).
1319 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
1321 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
1322 Default disable all loggings.
1323 * fen/fen-kernel.c: (printevent), (port_add_kevent),
1324 (port_fetch_event_cb): Fixed two macro nits.
1326 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1328 * xdgmime/xdgmime.c: Rework the timestamp checking code
1329 to protect against duplicate directories in XDG_DATA_DIRS.
1330 Fixes fd.o bug 12513, reported by Joe Shaw.
1332 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1334 Partically revert the last commit after realizing that
1335 xdg_mime_media_type_equal doesn't have to init at all.
1337 * xdgmime/xdgmime.h:
1338 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
1340 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
1342 2008-04-16 Matthias Clasen <mclasen@redhat.com>
1344 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
1345 reported by Joe Shaw and Federico Mena Quintero.
1347 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
1348 (xdg_mime_media_type_equal): Turn into a wrapper around the
1351 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
1352 functions throughout.
1354 2008-04-16 Michael Meeks <michael.meeks@novell.com>
1356 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
1357 tolerate an empty TryExec= line without failing; nautilus used
1358 to create launchers with these in previous versions. Fixes #528433
1360 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
1362 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
1363 after name. Fixes #527132.
1365 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
1367 * gfile.c: (g_file_replace):
1370 2008-04-07 Matthias Clasen <mclasen@redhat.com>
1372 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
1374 * gfile.c (file_copy_fallback): Fix the argument order. Patch
1375 by Christian Kellner.
1377 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
1379 * gunixmounts.c: (g_unix_mount_guess_should_display):
1380 Don't list the user directory as a mount, fix potential issue
1381 when other users have a similar naming and don't special case the
1382 gvfs mounts there since that's not required (#525866)
1384 2008-03-31 Alexander Larsson <alexl@redhat.com>
1386 * glocalfile.c (get_parent):
1389 2008-03-31 A. Walton <awalton@svn.gnome.org>
1391 * gfile.c (g_file_query_file_type):
1392 Always return a GFileType enum value (#520715).
1394 2008-03-31 Alexander Larsson <alexl@redhat.com>
1396 * glocalfileenumerator.c:
1397 Read readdir() info in chunks (of 1000) and sort
1398 the chunks by inode before stat:ing.
1399 This is a 20% performance increase in testing
1400 gvfs-ls on /usr/bin with cold cache.
1402 2008-03-31 Alexander Larsson <alexl@redhat.com>
1404 * gmemoryoutputstream.c:
1405 Clarify docs for g_memory_output_stream_get_size.
1406 Add g_memory_output_stream_get_data_size.
1408 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1412 * gfile.h: Add g_file_query_file_type convenience function
1413 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
1415 2008-03-30 Matthias Clasen <mclasen@redhat.com>
1417 * gfileenumerator.c:
1418 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
1420 2008-03-28 A. Walton <awalton@svn.gnome.org>
1422 * giomodule.c (_g_io_modules_ensure_loaded):
1423 Adds GIO_EXTRA_MODULES environment variable support, closing bug
1426 2008-03-28 Alexander Larsson <alexl@redhat.com>
1429 (copy_stream_with_progress):
1432 2008-03-28 Alexander Larsson <alexl@redhat.com>
1435 (copy_stream_with_progress):
1436 (file_copy_fallback):
1437 Fallback to g_file_query_info for source size
1438 if g_file_input_stream_query_info fails. (#524579)
1440 2008-03-28 Alexander Larsson <alexl@redhat.com>
1442 * glocalfile.c (g_local_file_move):
1443 Reuse old string instead of adding new one.
1445 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
1447 * fen/*.[hc]: still copyright issue. I hate copyright.
1449 2008-03-27 Alexander Larsson <alexl@redhat.com>
1451 * glocalfile.c (g_local_file_move):
1452 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
1453 file over directory. This is according to the docs and what the move via
1454 copy+remove fallback does.
1456 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
1458 * fen/*.[hc]: Updated copyright.
1460 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1462 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
1464 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
1466 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
1467 not emit attribute changed events when optimizing changed events.
1468 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
1471 2008-03-19 Matthias Clasen <mclasen@redhat.com>
1473 * gmountoperation.[hc]: Small documentation additions
1475 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
1477 * gunixmounts.c: (guess_mount_type):
1478 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
1480 2008-03-19 Alexander Larsson <alexl@redhat.com>
1483 (copy_stream_with_progress):
1484 Bump block side for copy to 64k to minimize
1485 overhead for low latency links. (#523015)
1487 2008-03-16 Tor Lillqvist <tml@novell.com>
1489 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1490 depend on gio.def on Windows.
1492 2008-03-12 David Zeuthen <davidz@redhat.com>
1496 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1498 2008-03-14 Alexander Larsson <alexl@redhat.com>
1502 Avoid redudant tests (#521851)
1503 Patch from Josselin Mouette
1505 2008-03-14 Alexander Larsson <alexl@redhat.com>
1508 (g_file_monitor_is_cancelled):
1509 Fix C89 issue (#521672)
1510 Patch from Jens Granseuer
1512 2008-03-14 Alexander Larsson <alexl@redhat.com>
1514 * fam/fam-helper.[ch]:
1516 Shut down fam (including removing fam GSource) when
1517 module is unloaded (#521513)
1518 Patch from Joe Marcus Clarke
1520 2008-03-14 Alexander Larsson <alexl@redhat.com>
1523 (_g_io_modules_ensure_loaded):
1526 2008-03-14 Alexander Larsson <alexl@redhat.com>
1529 (g_local_file_query_filesystem_info):
1530 Use right define name for f_fstypename member check
1532 2008-03-14 Alexander Larsson <alexl@redhat.com>
1535 * fen/Makefile.am: Added.
1536 * fen/fen-data.[ch]: Added.
1537 * fen/fen-dump.[ch]: Added.
1538 * fen/fen-helper.[ch]: Added.
1539 * fen/fen-kernel.[ch]: Added.
1540 * fen/fen-missing.[ch]: Added.
1541 * fen/fen-node.[ch]: Added.
1542 * fen/fen-sub.[ch]: Added.
1543 * fen/gfendirectorymonitor.[ch]: Added.
1544 * fen/gfenfilemonitor.[ch]: Added.
1546 Added Solaris FEN file notification backend.
1547 Patch from Lin Ma <Lin.Ma@Sun.COM>
1549 2008-03-13 Tor Lillqvist <tml@novell.com>
1551 * Makefile.am: Actually use the gio.def file when linking the
1552 library on Windows. Produce .lib library for Microsoft's toolchain
1553 when possible. Install the .lib and .def file like for the other
1556 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1558 * tests/live-g-file.c:
1559 Include live-g-file in standard set of tests, making a temporary
1560 directory in source structure.
1562 Clean target directory before the tests (write mode only)
1564 2008-03-12 Tor Lillqvist <tml@novell.com>
1566 Bug 517419 - gio win32 directory monitor
1567 Implementation by Vlad Grecescu.
1570 * win32/gwin32directorymonitor.h
1571 * win32/gwin32directorymonitor.c: New files.
1573 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1575 * Makefile.am: Add the win32 subdirectory.
1577 2008-03-12 Tor Lillqvist <tml@novell.com>
1579 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1580 normal struct stat on Unix but struct _stati64 on Windows to have
1581 access to 64-bit file size information. Use that instead of struct
1582 stat in the functions declared here in this private header.
1584 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1585 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1586 warnings about unused functions and variables. Don't set
1587 meaningless attributes like inode numbers on Windows.
1589 2008-03-12 Benjamin Otte <otte@gnome.org>
1592 trim whitespace so gtk-doc groks the function name
1594 2008-03-12 Tor Lillqvist <tml@novell.com>
1596 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1597 returning FALSE, on Win32.
1599 2008-03-11 Alexander Larsson <alexl@redhat.com>
1602 * glocalfileinfo.[ch]:
1603 Correctly implement can_trash by actually
1604 looking for a trash dir, not just assuming
1607 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1609 * === Released 2.16.1 ===
1611 2008-03-11 Alexander Larsson <alexl@redhat.com>
1614 Fix crashes in new constructor and properties code
1616 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1618 * gfile.c: Minor spelling correction in documentation:
1619 existance -> existence.
1621 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1623 * === Released 2.16.0 ===
1625 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1627 * gio.symbols: Remove g_file_contains_file here, too.
1629 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1631 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1632 Samuel Cormier-Iijima)
1634 2008-03-08 Tor Lillqvist <tml@novell.com>
1636 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1639 2008-03-07 Alexander Larsson <alexl@redhat.com>
1642 (g_local_file_query_filesystem_info):
1643 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1644 Patch from Jasper Lievisse Adriaanse
1646 2008-03-06 Tor Lillqvist <tml@novell.com>
1648 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1649 comments for the *_USEC attributes.
1651 2008-03-06 Alexander Larsson <alexl@redhat.com>
1653 * gfile.c (g_file_query_exists):
1654 Add g_return_val_if_fail check (#520700)
1656 2008-03-06 Alexander Larsson <alexl@redhat.com>
1658 * gdesktopappinfo.c:
1661 * gunionvolumemonitor.c:
1664 * tests/live-g-file.c:
1665 * xdgmime/xdgmimecache.c:
1666 Fix sparse warnings (#519489)
1668 2008-03-05 Alexander Larsson <alexl@redhat.com>
1671 Make cancellation threadsafe (i.e.
1672 guarantee its only done once, and always
1675 * glocaldirectorymonitor.c:
1676 Make sure we the monitor lives while the
1677 mounts_changed callback is being called (#520484)
1679 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1681 * gbufferedinputstream.c: Fix typo in parameter
1684 2008-03-04 Alexander Larsson <alexl@redhat.com>
1687 Remove deprecated symbols we kept for one release.
1689 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1692 * goutputstream.c: Tiny documentation corrections.
1694 2008-03-03 Alexander Larsson <alexl@redhat.com>
1696 * gunionvolumemonitor.c:
1698 Fix the adopt_orphan_mount vfunc to take a
1699 volume_monitor reference in an ABI compat way.
1700 This change is not API compat, but the added
1701 arg is not used in the only user of this vfunc, so
1702 all we get is a harmless warning in gvfs (#520169)
1704 2008-03-01 Benjamin Otte <otte@gnome.org>
1707 clarify docs for g_file_delete().
1709 2008-02-29 Alexander Larsson <alexl@redhat.com>
1713 Make sure empty files get text/plain type (#518720)
1715 2008-02-27 Alexander Larsson <alexl@redhat.com>
1721 (g_unix_volume_mount):
1722 Add missing GMountMountFlags argument
1724 2008-02-26 Alexander Larsson <alexl@redhat.com>
1727 (g_local_file_delete):
1728 Handle filesystems (like ntfs-3g) that return EEXIST instead
1729 of ENOTEMPTY (#518816)
1731 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1733 * === Released 2.15.6 ===
1735 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1737 * gfile.c (g_file_find_enclosing_mount):
1738 * ginputstream.c (g_input_stream_set_pending):
1739 * glocalfile.c (g_local_file_find_enclosing_mount):
1740 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1741 * goutputstream.c (g_output_stream_set_pending):
1743 Fixup translator comments (#518578).
1745 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1747 * gfile.c (g_file_find_enclosing_mount):
1749 * glocalfile.c (g_local_file_find_enclosing_mount):
1752 Fix a few typos in translator comments and documentation.
1754 2008-02-25 Alexander Larsson <alexl@redhat.com>
1761 Add translator comments (#518578)
1763 2008-02-25 Alexander Larsson <alexl@redhat.com>
1766 Reintroduce g_file_contains_file, keep around for one
1767 unstable release cycle to avoid crashing to many apps.
1768 Make sure to delete after release.
1770 2008-02-25 Alexander Larsson <alexl@redhat.com>
1773 Remove deprecated g_file_contains_file.
1775 2008-02-25 Alexander Larsson <alexl@redhat.com>
1778 Emit actual change signals in an idle handler.
1779 This avoids reentrance and locking problems in
1780 the file notification backends.
1782 2008-02-25 Alexander Larsson <alexl@redhat.com>
1785 (g_unix_mount_guess_should_display):
1786 Remove type guessing, instead just display
1787 mounts in /media and in ~/.
1789 2008-02-25 Alexander Larsson <alexl@redhat.com>
1792 Make new strings reuse old ones.
1794 2008-02-25 Alexander Larsson <alexl@redhat.com>
1797 Implement trashing and filesystem::readonly for win32 (#517235)
1798 Patch from Yevgen Muntyan
1800 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1802 * gfileinfo.h: Documentation fixes.
1804 2008-02-22 Alexander Larsson <alexl@redhat.com>
1806 * gcontenttype.c (g_content_type_get_icon):
1807 Look at old-style gnome mime icon names too, as many
1808 have not moved to the new style.
1810 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1812 * *.c: Correct the @include in for section docs.
1814 2008-02-21 David Zeuthen <davidz@redhat.com>
1816 * glocalfileinfo.c: (_g_local_file_info_get):
1818 (g_content_type_get_icon): Implement this function by
1819 moving bits from glocalfileinfo.c
1820 (g_content_type_get_description): Unalias before getting
1821 description (#517687)
1823 * gfile.c: (g_file_class_init),
1824 (g_file_query_filesystem_info_async),
1825 (g_file_query_filesystem_info_finish),
1826 (query_filesystem_info_data_free),
1827 (query_filesystem_info_async_thread),
1828 (g_file_real_query_filesystem_info_async),
1829 (g_file_real_query_filesystem_info_finish):
1830 * gfile.h: Implement async version of
1831 g_file_query_filesystem_info()
1833 * gfileinfo.h: Add new attributes for filesystem::use-preview
1835 * gio.symbols: Update
1837 * gthemedicon.c: (g_themed_icon_append_name):
1838 * gthemedicon.h: Add new new convenience function.
1840 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1841 (get_mounts), (get_volumes), (get_connected_drives),
1842 (get_volume_for_uuid), (get_mount_for_uuid),
1843 (g_union_volume_monitor_init), (populate_union_monitor),
1844 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1845 (g_volume_monitor_adopt_orphan_mount):
1847 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1848 monitor implementations to call into the main volume monitor. Also
1849 separate object initialization and volume monitor initialization
1850 such that non-native volume monitors can properly adopt their
1853 2008-02-21 Alexander Larsson <alexl@redhat.com>
1858 2008-02-21 Alexander Larsson <alexl@redhat.com>
1861 Add more documentation about how GFiles work (from #517086)
1863 2008-02-21 Alexander Larsson <alexl@redhat.com>
1867 Add new g_file_has_prefix that does the same as g_file_contains_file.
1868 Deprecate g_file_contains_file and add a macro that converts
1869 it to g_file_has_prefix.
1870 The reason for this change is that the contains_file() name seems to
1871 imply that this does more work than what it does, but its really only
1872 a name match (from #517086)
1877 Update to match the above change.
1879 2008-02-20 Benjamin Otte <otte@gnome.org>
1881 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1882 (g_file_eject_mountable):
1883 even more cases of not returning in error path
1885 2008-02-20 Benjamin Otte <otte@gnome.org>
1887 * gfile.c: (g_file_mount_mountable):
1888 return from function in error path.
1890 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1893 Remove trailing coma in GMountMountFlags struct
1895 2008-02-18 Alexander Larsson <alexl@redhat.com>
1899 * glocalfileoutputstream.c:
1900 Use g_unlink/g_rename instead of unlink/rename;
1901 do not pass raw filenames to g_set_error. (#517239)
1902 Patch from Yevgen Muntyan.
1904 2008-02-18 Alexander Larsson <alexl@redhat.com>
1907 * glocalfileoutputstream.c:
1908 Open files with O_BINARY on windows. (#517140)
1910 2008-02-14 Alexander Larsson <alexl@redhat.com>
1912 * glocalfileoutputstream.c:
1913 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1915 2008-02-14 Alexander Larsson <alexl@redhat.com>
1918 Copy permissions with file on copy (#514084)
1919 This is what cp does and makes sure e.g. the
1920 exec permissions are kept.
1921 Its kinda weird in that it keeps the permission bits
1922 the same while the uid and gid are different. However
1923 the new uid is the user so its not a security issue,
1924 and I've heard no complaints about cp on this issue.
1926 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1928 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1930 2008-02-13 Alexander Larsson <alexl@redhat.com>
1932 * inotify/inotify-path.c:
1933 Define IN_ONLYDIR if not in header (#515346)
1935 2008-02-12 Alexander Larsson <alexl@redhat.com>
1937 * tests/live-g-file.c:
1940 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1942 * === Released 2.15.5 ===
1944 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1946 * gio.symbols: Add g_mount_mount_flags_get_type.
1948 2008-02-11 Alexander Larsson <alexl@redhat.com>
1951 (g_file_info_set_attribute_mask):
1952 (g_file_attribute_matcher_matches_id):
1953 Correctly handle NULL GAttributeMatcher meaning
1954 matches nothing. (Fixes #513492)
1956 2008-02-11 Alexander Larsson <alexl@redhat.com>
1961 Added GMountMountFlags enum and added a flags
1962 argument to all mount calls.
1964 This is an API/ABI change for future extensibility,
1965 as I think we will need at least an
1966 inhibit-autorun flag (the panel needs this).
1967 There are no flags defined yet though.
1969 2008-02-11 Alexander Larsson <alexl@redhat.com>
1972 Added new standard::description attribute.
1973 Requested by Vincent, and useful for both
1976 2008-02-11 Alexander Larsson <alexl@redhat.com>
1978 * gdesktopappinfo.c:
1981 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1983 * *.c: Documentation additions
1985 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1987 * gappinfo.h: Formatting cleanup
1988 * gappinfo.c: Fix up docs.
1990 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1992 * gunixmounts.c: Consistently use getmntent_r() and fall
1993 back to getmntent(). (#515492)
1995 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1997 * gbufferedinputstream.c:
1999 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
2001 * tests/data-input-stream.c:
2002 * tests/data-output-stream.c: Portability fixes.
2004 2008-02-08 Alexander Larsson <alexl@redhat.com>
2009 Add g_volume_should_automount.
2012 2008-02-07 Tor Lillqvist <tml@novell.com>
2014 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
2015 Win32, too Unix-specific.
2017 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
2019 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
2020 a local plt if the compiler doesn't support what we want. Bug #514702
2022 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
2024 reviewed by: <delete if not using a buddy>
2027 * gunixinputstream.c:
2028 * gunixoutputstream.c:
2030 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2032 * tests/Makefile.am:
2033 * tests/live-g-file.c:
2034 * tests/live-g-file.txt:
2035 New GIO testing module working over real data
2037 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2039 * glocalfileoutputstream.c (g_local_file_output_stream_close):
2040 Fallback to rename() if link() is not available
2041 (when no support on target filesystem)
2043 2008-02-06 Michael Natterer <mitch@imendio.com>
2045 * gfileinfo.c (g_file_info_get_icon): replace
2046 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
2048 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
2050 * gfile.c (g_file_create):
2051 Documentation update of error codes
2053 2008-02-06 Alexander Larsson <alexl@redhat.com>
2055 * gdesktopappinfo.c:
2056 Update to use both mimeapps.list and
2057 defaults.list as discussed on xdg list.
2059 2008-02-06 Benjamin Otte <otte@gnome.org>
2062 * gfilenamecompleter.c:
2063 Fix some typos in the documentation.
2065 2008-02-06 Alexander Larsson <alexl@redhat.com>
2067 * glocalfile.c (g_local_file_trash):
2068 Don't succeed with trash if newly created
2069 trash dir has the wrong owner. (#514696)
2071 2008-02-05 Alexander Larsson <alexl@redhat.com>
2073 * glocalfile.c (g_local_file_move):
2074 Don't spew warnings when destination is not
2077 2008-02-03 Hans Breuer <hans@breuer.org>
2079 * makefile.msc : update
2081 2008-02-01 Michael Natterer <mitch@imendio.com>
2083 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
2084 return value of xdg_mime_list_mime_parents() to a variable of the
2087 2008-02-01 Alexander Larsson <alexl@redhat.com>
2089 * gappinfo.c (g_app_info_launch_uris):
2090 Actually call the launch_uris method, not
2093 2008-02-01 Alexander Larsson <alexl@redhat.com>
2095 * gdesktopappinfo.c (g_desktop_app_info_equal):
2096 Ensure appinfos with no id but same pointer value
2099 2008-02-01 Alexander Larsson <alexl@redhat.com>
2101 * gappinfo.c (g_app_info_launch_default_for_uri):
2104 2008-02-01 Alexander Larsson <alexl@redhat.com>
2108 Add g_app_info_launch_default_for_uri utility
2111 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
2113 * gdesktopappinfo.c:
2114 Doc fix for g_app_info_get_default_for_uri_scheme ()
2117 2008-01-30 Alexander Larsson <alexl@redhat.com>
2120 Add doc comment about uris vs GFiles to
2123 * gdesktopappinfo.c:
2124 Ensure uris passed to g_app_info_launch_uris()
2125 are not roundtriped through GFile (as that
2126 may be slightly destructive for e.g. mailto: links)
2128 2008-01-30 Alexander Larsson <alexl@redhat.com>
2130 * tests/data-input-stream.c:
2131 * tests/data-output-stream.c:
2132 C89 fixes from Jens Granseuer (#512849)
2134 2008-01-30 Alexander Larsson <alexl@redhat.com>
2137 Fix gamin/fam difference build issue. (#509419)
2139 2008-01-29 Alexander Larsson <alexl@redhat.com>
2142 * gdesktopappinfo.c:
2143 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
2145 2008-01-29 Alexander Larsson <alexl@redhat.com>
2147 * gdesktopappinfo.c:
2148 * gdesktopappinfo.h:
2149 giomodule-priv.h include moved to .c file.
2151 2008-01-29 Alexander Larsson <alexl@redhat.com>
2153 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
2154 Remove unused prio/name fields.
2156 2008-01-29 Alexander Larsson <alexl@redhat.com>
2158 * gcontenttype.c (looks_like_text):
2159 Don't treat whitespace as control chars.
2161 2008-01-29 Alexander Larsson <alexl@redhat.com>
2163 * gdesktopappinfo.c:
2164 Lazily create the desktop files for appinfos created
2165 by g_app_info_create_from_commandline() when needed
2166 for mime associations. This allows run-time use
2167 of GAppInfo object without creating unnecessary
2170 2008-01-29 Alexander Larsson <alexl@redhat.com>
2173 Added new symbols to gio.symbols
2175 2008-01-29 Alexander Larsson <alexl@redhat.com>
2178 Add g_file_query_default_handler utility to easily look up
2179 the GAppInfo that handles a file.
2181 * gdesktopappinfo.[ch]:
2183 Set up an extension point for g_app_info_get_default_for_uri_scheme()
2186 Remove unused function
2188 2008-01-29 Alexander Larsson <alexl@redhat.com>
2190 * gfileenumerator.c:
2191 Mention need to free returned value in
2192 g_file_enumerator_next_files_finish docs.
2193 Fix leak if g_file_enumerator_next_files_finish()
2196 2008-01-29 Alexander Larsson <alexl@redhat.com>
2199 (_g_unix_content_type_get_parents):
2200 Use list_parents, not get_parents from xdgmime, because
2201 the later doesn't use the cache.
2203 * xdgmime/xdgmimecache.c:
2204 (_xdg_mime_cache_list_mime_parents):
2205 Don't list the same type as parent multiple times.
2207 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2209 * === Released 2.15.4 ===
2211 2008-01-28 Alexander Larsson <alexl@redhat.com>
2214 Register local vfs with prio 0.
2217 Remove old name and prio class members
2219 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2221 * tests/g-file.c: Disable some tests that are failing in
2222 the absence of a http backend.
2224 2008-01-28 Alexander Larsson <alexl@redhat.com>
2228 Add registration hooks for extension points.
2229 Register the gio extension points.
2231 * fam/gfamdirectorymonitor.c:
2232 * fam/gfamfilemonitor.c:
2233 * glocaldirectorymonitor.[ch]:
2234 * glocalfilemonitor.[ch]:
2235 * gnativevolumemonitor.h:
2236 * gunionvolumemonitor.c:
2237 * gunixvolumemonitor.c:
2240 * inotify/ginotifydirectorymonitor.c:
2241 * inotify/ginotifyfilemonitor.c:
2242 Use the extension points registration instead
2243 of g_type_children().
2245 2008-01-28 Matthias Clasen <mclasen@redhat.com>
2248 * gvolume.[hc]: Document new API.
2250 * gfile.c (g_file_copy_async): Fix docs
2252 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2254 * gbufferedinputstream.c:
2256 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
2259 2008-01-27 Matthias Clasen <mclasen@redhat.com>
2261 * glocalfile.c: Avoid trivial differences in translatable strings.
2263 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2265 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
2266 build with gcc 3.4 (#509419)
2268 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2270 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
2271 (#509994, Murray Cumming)
2273 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2275 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
2276 * gioscheduler.c: Keep calling io jobs until they return FALSE;
2277 this allows big jobs to be executed in chunks, instead of blocking
2278 the main loop for a long time.
2280 * gsimpleasyncresult.c:
2281 * giofile.c: Adapt callers.
2283 2008-01-25 Alexander Larsson <alexl@redhat.com>
2285 * gdesktopappinfo.c:
2286 Implement changes discussed on xdg list.
2287 Now we can add supported mimetypes by just using defaults.list
2288 We can also remove associations in defaults.list.
2290 2008-01-25 Alexander Larsson <alexl@redhat.com>
2292 * gdesktopappinfo.c:
2293 Don't make local copy of desktop file
2294 for mimetype changes if the file already
2295 supports the new mimetype.
2297 2008-01-25 Matthias Clasen <mclasen@redhat.com>
2301 * gbufferedinputstream.c:
2302 * glocalfile.c: String improvements. (#511966,
2303 Theppitak Karoonboonyanan)
2305 2008-01-24 Matthias Clasen <mclasen@redhat.com>
2307 * gioscheduler.h: Expand docs a bit.
2309 2008-01-24 Alexander Larsson <alexl@redhat.com>
2312 Add g_drive_get_identifier and
2313 g_drive_enumerate_identifiers
2316 Add g_volume_get_identifier and
2317 g_volume_enumerate_identifiers
2323 Implement identifiers for unix backend
2325 2008-01-24 Alexander Larsson <alexl@redhat.com>
2330 Add g_file_copy_async() (#511580)
2331 Based on patch from Carlos Garcia Campos
2333 2008-01-23 Matthias Clasen <mclasen@redhat.com>
2335 * gioscheduler.c: Some documentation additions.
2337 2008-01-22 Alexander Larsson <alexl@redhat.com>
2339 * gdesktopappinfo.c:
2340 (g_desktop_app_info_new):
2341 Don't leak basename.
2343 2008-01-22 Alexander Larsson <alexl@redhat.com>
2345 * gdesktopappinfo.c:
2346 (g_desktop_app_info_new_from_filename):
2349 2008-01-22 Alexander Larsson <alexl@redhat.com>
2351 * glocalfileinfo.c (get_thumbnail_attributes):
2354 2008-01-22 Alexander Larsson <alexl@redhat.com>
2357 (canonicalize_filename):
2358 Canonicalize paths that start with more than
2362 (compare_two_files):
2363 (test_g_file_new_for_path):
2366 2008-01-22 Alexander Larsson <alexl@redhat.com>
2369 Allow UTF-8 in file:// parse names.
2371 * tests/Makefile.am:
2372 * tests/data-input-stream.c:
2373 * tests/data-output-stream.c:
2374 * tests/g-file-info.c:
2376 Added a bunch of tests from Tomas Bzatek
2378 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2380 * === Released 2.15.3 ===
2382 2008-01-21 Alexander Larsson <alexl@redhat.com>
2384 * gfileinputstream.[ch]:
2385 * gfileoutputstream.[ch]:
2387 Remove duplicated GSeekable functions. (#509990)
2388 Just use the g_seekable_xxx() calls instead.
2390 2008-01-21 Matthias Clasen <mclasen@redhat.com>
2393 * gvolumemanager.c: Whitespace cleanups.
2395 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
2396 Use the right mode when creating the file.
2398 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
2400 * gfileenumerator.c:
2401 * gfileinputstream.c:
2403 * goutputstream.c: Documentation: Fixed minor typos
2404 and added more mentions of specific _finish() functions.
2406 2008-01-21 Alexander Larsson <alexl@redhat.com>
2408 * inotify/Makefile.am:
2409 * inotify/inotify-helper.c:
2410 * inotify/inotify-kernel.c:
2411 * inotify/inotify-path.c:
2412 * inotify/local_inotify.h: Removed.
2413 * inotify/local_inotify_syscalls.h: Removed.
2414 Removed the included copies of the inotify
2415 headers. We now only use the <sys/inotify.h>
2416 header which exists on modern systems.
2417 This fixes problems on ARM and SH5 (#510448)
2418 but is also generally much cleaner and future
2419 safe. For instance, if other OSes add support
2420 for inotify it should "just work".
2422 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2424 * inotify/*.c: Coding style fixes.
2425 * inotify/inotify-missing.c: Use g_timeout_add_seconds
2426 for the 1/4 Hz timer.
2428 2008-01-20 Matthias Clasen <mclasen@redhat.com>
2431 * gfilemonitor.[hc]:
2432 * gmemoryinputstream.c:
2433 * gmemoryoutputstream.c:
2434 * gmountoperation.c:
2435 * gthemedicon.c: Documentation updates
2437 2008-01-20 Murray Cumming <murrayc@murrayc.com>
2439 * gfile.c: documentation: Fixed more minor
2442 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2444 * gmount.c: (g_mount_remount): documentation:
2445 Mention g_mount_remount_finish() instead of
2446 g_mount_unmount_finish().
2448 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2452 * gfile.c: Fixed some minor typos in the
2455 2008-01-18 Murray Cumming <murrayc@murrayc.com>
2457 * gio/gvolumemonitor.c:
2458 (g_volume_monitor_get_connected_drives):
2459 (g_volume_monitor_get_volumes):
2460 (g_volume_monitor_get_mounts): Documentation:
2461 Clarify the ownership of the regurn GLists.
2463 2008-01-17 Alexander Larsson <alexl@redhat.com>
2466 Add the async find_enclosing_mount version
2467 to the header file too.
2469 2008-01-17 Alexander Larsson <alexl@redhat.com>
2472 Add async version of find_enclosing_mount
2473 with default implementation.
2475 2008-01-17 Alexander Larsson <alexl@redhat.com>
2480 Allow calls to implementation of copy and write
2481 even if the type of the file implementations is
2482 different. This can be used to implement native
2483 upload and download calls in a vfs.
2486 (g_local_file_move):
2487 Protect against the case where move is called
2488 with one file not being local.
2490 Make sure we call the progress callback once
2491 in the native move operation so that the caller
2492 knows how many bytes were copied.
2494 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2497 * gdatainputstream.c:
2499 * gfileoutputstream.c:
2504 * gunixmounts.c: Corrected some typos in the documentation:
2505 occured -> occurred.
2506 its -> it's (where appropriate).
2508 2008-01-16 Alexander Larsson <alexl@redhat.com>
2512 Add g_file_query_exists (#508771)
2514 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2519 * gvolume.c: For async functions that have no non-async
2520 version, document that the GAsyncReadyCallback may be NULL.
2523 2008-01-15 Alexander Larsson <alexl@redhat.com>
2525 * gmemoryinputstream.c:
2526 * gmemoryoutputstream.c:
2527 Don't do pointer arithmetic on void * (#508602)
2528 Patch from Kazuki IWAMOTO
2530 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2532 * === Released 2.15.2 ===
2534 2008-01-14 Alexander Larsson <alexl@redhat.com>
2536 * gfile.c (g_file_monitor_file):
2537 Don't set error here, since we fallback to polling monitor.
2539 2008-01-14 Alexander Larsson <alexl@redhat.com>
2542 (g_file_monitor_directory):
2543 (g_file_monitor_file):
2544 Add GError to file monitor calls
2546 * glocaldirectorymonitor.c:
2547 * glocaldirectorymonitor.h:
2549 * glocalfilemonitor.c:
2550 * glocalfilemonitor.h:
2552 Update for above change
2554 2008-01-14 Alexander Larsson <alexl@redhat.com>
2558 Handle root correctly in g_file_get_relative_path (#508719)
2560 2008-01-14 Alexander Larsson <alexl@redhat.com>
2563 Clean up docs and example for GAsyncResult (#508074)
2565 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2567 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2568 and correct some spelling mistakes. Bug #508108.
2570 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2572 * glocalfileinfo.c: Add a comment.
2574 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2576 * gfileinfo.c: GFileInfo description: Mention
2577 how to actually set attributes in a GFile and how to discover
2578 which attributes are settable. Bug #508378.
2580 2008-01-10 A. Walton <awalton@svn.gnome.org>
2582 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2583 (g_app_info_get_default_for_type):
2584 Check for NULL content types.
2586 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2588 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2590 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2592 * gfile.c: *_async() functions: Several small corrections
2593 to the documentation, mostly correcting copy/paste errors
2594 and improving some sentences.
2596 2008-01-09 Dan Winship <danw@gnome.org>
2598 * glocalfile.c (get_unique_filename): x86_64 fix
2600 2008-01-09 Alexander Larsson <alexl@redhat.com>
2605 Add g_unix_mount_guess_should_display and use
2606 for unix volume monitor backend.
2607 This means we more or less show what the
2608 gnome-vfs backend did.
2609 Based on patch from Padraig O'Briain
2611 2008-01-09 Alexander Larsson <alexl@redhat.com>
2615 Add g_themed_icon_new_with_default_fallbacks
2618 Use default fallbacks for icons
2620 2008-01-09 Alexander Larsson <alexl@redhat.com>
2623 * gmountoperation.[ch]:
2624 Change the API a bit so that unhandled methods
2625 get reported via the reply, rather than by
2626 the signal emission return value. This is because
2627 some handlers can't know this immediately without
2628 doing I/O, and this is an async operation that
2631 2008-01-09 Alexander Larsson <alexl@redhat.com>
2634 * fam/gfamdirectorymonitor.c:
2635 * fam/gfamfilemonitor.c:
2636 Fix double free crash (#508224)
2637 Patch from Joe Marcus Clarke
2639 008-01-07 Matthias Clasen <mclasen@redhat.com>
2641 * === Released 2.15.1 ===
2643 2008-01-07 Alexander Larsson <alexl@redhat.com>
2645 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2646 Fix warning (#507835)
2648 2008-01-07 Alexander Larsson <alexl@redhat.com>
2651 Pass --internal to glib-genmarshal
2654 * gmountoperation.c:
2656 Use better types for signal arguments (#507822)
2658 2008-01-07 Alexander Larsson <alexl@redhat.com>
2661 Build test subdir after .
2662 Remove gdirectorymonitor.[ch]
2664 * gdirectorymonitor.[ch]:
2668 Remove GDirectoryMonitor and make
2669 GFileMonitor the baseclass for both file and
2670 directory monitors. Lift the more generic
2671 rate limiting code from GDirectoryMonitor
2675 * fam/gfamdirectorymonitor.[ch]:
2676 * inotify/ginotifydirectorymonitor.[ch]:
2677 * inotify/inotify-helper.c:
2678 * glocaldirectorymonitor.[ch]:
2681 Update for the removed GDirectoryMonitor.
2683 * gmemoryoutputstream.c:
2684 Remove ununsed variable
2686 2008-01-07 Alexander Larsson <alexl@redhat.com>
2688 * gmemoryinputstream.c:
2689 Translate error strings
2692 * gmemoryoutputstream.[ch]:
2693 New implementation that avoids using GByteArray
2694 in implementation and API. (#506377)
2696 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2698 * tests/*: Add a test for memory input streams.
2700 * Makefile.am: Add tests to SUBDIRS.
2702 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2704 * glocalfilemonitor.c:
2705 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2708 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2710 * gdesktopappinfo.c: Fix a docs typo.
2712 * gfileattribute.c: Add information about extended attributes
2713 to the documentation. (#505058)
2715 2008-01-04 Alexander Larsson <alexl@redhat.com>
2718 * gmountoperation.c:
2719 Use the right type (uint) for the ask_password signal.
2721 2008-01-04 Alexander Larsson <alexl@redhat.com>
2726 Add g_app_info_supports_files()
2727 Remove desktop arg from g_app_info_should_show().
2729 * gdesktopappinfo.[ch]:
2730 Implement g_app_info_supports_files() and new should_show()
2731 Add g_desktop_app_info_set_desktop_env() to set the desktop
2732 for should_show(). (This will be set by gtk+ later)
2734 2008-01-04 Alexander Larsson <alexl@redhat.com>
2737 * gmemoryinputstream.[ch]:
2738 Improve API so that you can use multiple chunks
2739 of memory and custom destroy functions. (#506374)
2741 2008-01-03 Alexander Larsson <alexl@redhat.com>
2744 Handle NULL attribute matchers safely, as we return this
2745 for empty attribute matcher strings.
2747 2008-01-03 Alexander Larsson <alexl@redhat.com>
2749 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2750 Add /usr/local to list of internal mountpoints
2752 2008-01-03 Alexander Larsson <alexl@redhat.com>
2755 Check for HAVE_LCHOWN (#505887)
2757 2008-01-03 Alexander Larsson <alexl@redhat.com>
2761 Add define for selinux context attribute.
2762 Fix missing : -> :: namespace separator change
2763 Fix missing _ -> - name change for xattr-sys.
2766 2008-01-03 Alexander Larsson <alexl@redhat.com>
2769 Link to libglib and libgobject directly (#504879)
2770 Patch from Sebastien Bacher
2772 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2774 * gfile.c: Expanded the g_file_new_for_commandline_arg
2775 description a bit, based on the code and the docs of the
2776 other g_file_new_for_* functions.
2778 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2780 * gfilemonitor.h: Fixed typo in docs.
2782 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2784 Updates to GIO documentation. (#506395, Mikael Hermansson)
2786 * gcontenttype.c: Describe memory management for return value of
2787 g_content_types_get_registered(). Missing piece from #505815.
2788 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2789 GVolume, GDrive, GMounts, which hopefully gives the user less
2790 confusions when using this API. Following explainations from
2791 Alexander Larsson on gtk-devel-list.
2793 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2795 * gfileinfo.c: Expand the long description.
2797 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2800 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2801 fix builds with --disable-visibility. (#500273, Christian Persch)
2803 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2805 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2806 in the list of returned app infos.
2808 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2810 * gappinfo.c: Fix a cross-reference
2812 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2814 * gfileinputstream.c:
2815 * gfileoutputstream.c:
2819 * gdesktopappinfo.c:
2821 * gfileinfo.c: Documentation updates.
2823 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2825 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2828 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2830 * gcontenttype.c (g_content_types_get_registered): Don't return
2831 freed memory (#505815, Mikael Hermansson)
2833 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2835 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2836 used to detect statbuf->st_blocks. (#505042)
2838 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2840 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2841 environment handling. (#504829, Cosimo Cecchi)
2843 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2845 * gappinfo.c: Doc improvements
2847 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2850 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2852 * === Released 2.15.0 ===
2854 2007-12-20 Hans Breuer <hans@breuer.org>
2856 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2857 with symbols gwin32appinfo.obj, added gmount.obj
2858 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2860 2007-12-20 Alexander Larsson <alexl@redhat.com>
2866 * gfilenamecompleter.c:
2869 * gpollfilemonitor.c:
2870 File attribute renames:
2872 fs:: -> filesystem::
2873 id::fs -> id::filesystem
2875 2007-12-20 Alexander Larsson <alexl@redhat.com>
2884 Add GMountUnmountFlags to all unmount and
2886 Add g_mount_remount() call.
2888 2007-12-20 Alexander Larsson <alexl@redhat.com>
2890 * gvfs.c (get_default_vfs):
2891 Fix unused variable warning
2893 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2895 * pltcheck.sh: Update
2897 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2899 * gunionvolumemonitor.c:
2900 * gunixmount.c: Remove C99 comments
2902 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2904 * gio.symbols: Add some missing symbols
2906 2007-12-19 Alexander Larsson <alexl@redhat.com>
2909 Make g_io_modules_load_all_in_directory not unuse
2910 loaded modules so that users of it can do stuff
2912 Init internal "module" types.
2913 Initialize static prio and name for types so that
2914 we don't have to load modules to get it.
2916 * gnativevolumemonitor.h:
2918 Move is_supported to parent class so that
2919 non-native monitors can avoid being initialized
2920 too. (For instance GDaemonVolumeMonitor if we're
2921 not using GDaemonVfs.)
2923 * glocaldirectorymonitor.[ch]:
2924 * glocalfilemonitor.[ch]:
2925 * gunionvolumemonitor.c:
2926 * gunixvolumemonitor.c:
2928 Find plugins using the static prio+name to
2929 avoid unnecessarily loading the modules.
2931 2007-12-19 Alexander Larsson <alexl@redhat.com>
2936 2007-12-19 Alexander Larsson <alexl@redhat.com>
2938 * gunionvolumemonitor.c:
2939 Store the native type as GType, not class so that
2940 we can unload it. But still avoid unnecessarily
2943 2007-12-19 David Zeuthen <davidz@redhat.com>
2945 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2946 add signals 'disconnected' and 'eject-button' on GDrive. Add
2947 signal 'removed' on GVolume and 'unmounted' on GMount.
2949 * gdrive.c: (g_drive_base_init):
2951 * gfile.c: (g_file_mount_mountable),
2952 (g_file_mount_enclosing_volume):
2955 * gmount.c: (g_mount_base_init):
2957 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2958 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2959 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2963 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2965 * *.c: Fix up includes in the section docs.
2967 2007-12-17 Alexander Larsson <alexl@redhat.com>
2969 * gnativevolumemonitor.h:
2970 * gunionvolumemonitor.c:
2971 * gunixvolumemonitor.c:
2972 Add is_supported() to GNativeVolumeMonitorClass so
2973 that we can avoid having to create an object to see
2974 if the backend is supported at runtime.
2975 Also add name member and an env var to pick a specific
2976 volume monitor backend.
2980 Add cancellable to _g_mount_get_for_mount_path()
2982 * glocaldirectorymonitor.c:
2983 * glocalfilemonitor.c:
2984 Avoid loading and unloading modules while sorting.
2986 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2989 * gunixmounts.[hc]: Namespace waste reduction, move some
2990 g_get_unix_mount functions to the g_unix_mount namespace.
2993 * gunixvolumemonitor.c:
2995 * glocaldirectorymonitor.c: Update all callers.
2997 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2999 2007-12-17 Alexander Larsson <alexl@redhat.com>
3002 Add doc comments about what GFile operations are
3003 guaranteed to not block.
3005 2007-12-17 Alexander Larsson <alexl@redhat.com>
3008 Add missing #ifdef fixing OSX build.
3009 (#503334, patch from Richard Hult)
3011 2007-12-14 David Zeuthen <davidz@redhat.com>
3015 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
3016 (g_mount_eject), (g_mount_eject_finish):
3018 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
3019 (get_volume_for_uuid), (get_mount_for_uuid),
3020 (g_union_volume_monitor_class_init),
3021 (get_default_native_type_with_exclude), (get_default_native_type),
3022 (get_native_type), (update_native_type),
3023 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
3024 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
3025 (g_unix_mount_can_eject), (eject_unmount_cb),
3026 (eject_unmount_read_error), (eject_unmount_do),
3027 (g_unix_mount_unmount), (g_unix_mount_eject),
3028 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
3029 * gunixmounts.c: (g_unix_mount_guess_can_eject),
3030 (g_unix_mount_point_guess_can_eject):
3032 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
3033 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
3034 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
3035 (g_unix_volume_mount), (g_unix_volume_eject),
3036 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
3037 * gunixvolumemonitor.c: (get_volume_for_uuid),
3038 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
3040 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
3041 (g_volume_eject), (g_volume_eject_finish):
3043 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
3044 (g_volume_monitor_get_mount_for_uuid):
3047 Provide eject() on both GMount and GVolume and utility functions
3048 to guess whether a GUnixMountPoint or GUnixMountEntry should be
3049 ejected. Introduce the concept of UUID's and wire it into GVolume
3050 and GMount and provide API on GVolumeMonitor to find such
3051 instances. Also handle the case where an external
3052 GNativeVolumeMonitor fails to initialize. Lock around the
3053 _g_get_mount_for_mount_path() function such that volume monitor
3054 implementations won't have to do locking themselves.
3056 2007-12-17 Matthias Clasen <mclasen@redhat.com>
3058 * gdesktopappinfo.c:
3064 * gvolume.h: Documentation updates
3066 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3069 * gfile.h: Doc updates
3071 2007-12-14 Matthias Clasen <mclasen@redhat.com>
3074 * gdesktopappinfo.c: Use hash table iterators.
3076 2007-12-14 Alexander Larsson <alexl@redhat.com>
3079 * gfileattribute.[ch]:
3080 * gfileattribute-priv.h:
3081 Move GFileAttributeValue to a private header, as
3085 Make set_attribute take a type + a pointer instead
3086 of a GFileAttributeValue.
3089 Fix up for above changes.
3090 Add g_file_info_get_attribute_data to get
3091 all info in one call, g_file_info_get_attribute_status
3092 to get the status and g_file_info_get_attribute_as_string.
3096 * glocalfileinfo.[ch]:
3100 Make _guess_type static.
3102 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
3105 * inotify/Makefile.am: Fixed build when srcdir != builddir,
3106 made mkenums and friends use temporary files to avoid leaving
3107 empty generated files on failure (#503470).
3109 2007-12-14 Alexander Larsson <alexl@redhat.com>
3111 * gmountoperation.h:
3114 2007-12-14 Alexander Larsson <alexl@redhat.com>
3118 * gfileattribute.[ch]:
3121 * glocalfileoutputstream.c:
3122 * gmountoperation.[ch]:
3123 * goutputstream.[ch]:
3124 Clean up all flags enums to not have _FLAGS in them
3125 Make the names of some of the enums better.
3130 2007-12-14 Michael Natterer <mitch@imendio.com>
3132 * gio.symbols: fix g_io_scheduler symbol names.
3134 2007-12-14 Alexander Larsson <alexl@redhat.com>
3140 * gbufferedinputstream.h:
3141 * gbufferedoutputstream.h:
3144 * gdatainputstream.h:
3145 * gdataoutputstream.h:
3146 * gdesktopappinfo.h:
3147 * gdirectorymonitor.h:
3151 * gfileenumerator.h:
3154 * gfileinputstream.h:
3156 * gfilenamecompleter.h:
3157 * gfileoutputstream.h:
3158 * gfilterinputstream.h:
3159 * gfilteroutputstream.h:
3167 * gmemoryinputstream.h:
3168 * gmemoryoutputstream.h:
3170 * gmountoperation.h:
3173 * gsimpleasyncresult.h:
3175 * gunixinputstream.h:
3177 * gunixoutputstream.h:
3181 * inotify/Makefile.am:
3182 Only allow including <gio/gio.h> from apps
3184 2007-12-14 Alexander Larsson <alexl@redhat.com>
3186 * gioscheduler.[ch]:
3187 * gsimpleasyncresult.c:
3188 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
3189 Split out the send_to_mainloop call into two versions instead
3190 of having the block argument.
3192 2007-12-13 Alexander Larsson <alexl@redhat.com>
3194 * gcancellable.[ch]:
3196 * gbufferedinputstream.c:
3197 * gfileenumerator.c:
3198 * gfileinputstream.c:
3199 * gfileoutputstream.c:
3203 g_push/pop_current_cancellable ->
3204 g_cancellable_push/pop_current
3206 2007-12-13 Alexander Larsson <alexl@redhat.com>
3210 Rename g_mount_for_location to g_file_mount_enclosing_volume.
3212 2007-12-13 Alexander Larsson <alexl@redhat.com>
3214 * gmountoperation.h:
3215 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
3217 2007-12-12 Alexander Larsson <alexl@redhat.com>
3220 Fix race condition when freeing proxy in
3221 g_io_job_send_to_mainloop().
3223 2007-12-12 Alexander Larsson <alexl@redhat.com>
3229 Make attribute namespace separator "::" instead of ":".
3230 Use - instead of _ as separator in attribute names.
3232 2007-12-12 Alexander Larsson <alexl@redhat.com>
3234 * gbufferedinputstream.h:
3235 * gbufferedoutputstream.h:
3236 * gdatainputstream.h:
3237 * gdataoutputstream.h:
3238 * gdirectorymonitor.h:
3239 * gfileenumerator.h:
3240 * gfileinputstream.h:
3242 * gfileoutputstream.h:
3243 * gfilterinputstream.h:
3244 * gfilteroutputstream.h:
3246 * glocalfileinputstream.h:
3247 * glocalfileoutputstream.h:
3248 * gmemoryinputstream.h:
3249 * gmemoryoutputstream.h:
3250 * gnativevolumemonitor.h:
3252 * gunixinputstream.h:
3253 * gunixoutputstream.h:
3256 s/parent/parent_instance/ in GObjects
3258 2007-12-12 Alexander Larsson <alexl@redhat.com>
3263 No need for padding for interfaces
3265 2007-12-12 Alexander Larsson <alexl@redhat.com>
3269 * gbufferedinputstream.c:
3270 * gbufferedoutputstream.c:
3273 * gdatainputstream.[ch]:
3274 * gdesktopappinfo.c:
3275 * gdirectorymonitor.c:
3277 * gfileattribute.[ch]:
3280 * gfileinputstream.h:
3281 * gfilemonitor.[ch]:
3282 * gfileoutputstream.[ch]:
3283 * gfilterinputstream.h:
3284 * gfilteroutputstream.h:
3287 * gloadableicon.[ch]:
3288 * gmemoryinputstream.c:
3289 * gmountoperation.c:
3291 Fix up a bunch of details in the docs.
3296 2007-12-11 David Zeuthen <davidz@redhat.com>
3298 Rework how volumes, drives and volume monitoring is
3299 done. Previosly the model was
3301 GDrive <1-1> GVolume
3303 where a GDrive instance represented a mount point and a GVolume
3304 instance represented a mounted file system. This patch changes it
3307 GDrive <1-N> GVolume <1-1> GMount
3309 where GMount now serves the purpose of the old GVolume and the new
3310 GVolume serves the purpose of the old GDrive. In addition the new
3311 GDrive interface is used to represent a collection of GVolume
3312 instances (typically partitions) and also contains utility to query
3313 the state of the physical drive the GDrive object represents (such
3314 as checking for media, polling the drive, ejecting the media etc.).
3316 Also implement mounting and unmounting in the Unix volume monitor
3317 backend. A subquent patch will introduce GDrive support for ejection
3321 * gdrive.c: (g_drive_is_media_check_automatic),
3322 (g_drive_is_media_removable), (g_drive_has_media),
3323 (g_drive_can_poll_for_media), (g_drive_eject),
3324 (g_drive_eject_finish), (g_drive_poll_for_media),
3325 (g_drive_poll_for_media_finish):
3327 * gfile.c: (g_file_find_enclosing_mount):
3330 * glocaldirectorymonitor.c:
3331 (g_local_directory_monitor_constructor), (mounts_changed):
3332 * glocalfile.c: (get_mount_info),
3333 (g_local_file_find_enclosing_mount),
3334 (g_local_file_file_iface_init):
3335 * gnativevolumemonitor.h:
3336 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
3337 (get_connected_drives), (g_union_volume_monitor_class_init),
3338 (child_volume_added), (child_volume_removed),
3339 (child_volume_changed), (child_mount_added), (child_mount_removed),
3340 (child_mount_pre_unmount), (child_mount_changed),
3341 (child_drive_changed), (g_union_volume_monitor_add_monitor),
3342 (g_union_volume_monitor_remove_monitor),
3343 (_g_mount_get_for_mount_path):
3344 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
3345 (guess_system_internal), (_g_get_unix_mounts),
3346 (_g_get_unix_mount_points), (g_get_unix_mount_at),
3347 (g_unix_mount_free), (g_unix_mount_compare),
3348 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
3349 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
3350 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
3351 (type_to_icon), (g_unix_mount_guess_name),
3352 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
3353 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
3354 (_resolve_symlink), (_resolve_dev_root):
3356 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
3357 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
3358 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
3359 (g_unix_volume_get_name), (g_unix_volume_can_mount),
3360 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
3361 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
3362 (g_unix_volume_mount), (g_unix_volume_mount_finish),
3363 (g_unix_volume_volume_iface_init):
3365 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
3366 (get_mounts), (get_volumes), (get_connected_drives),
3367 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
3368 (mountpoints_changed), (mounts_changed),
3369 (g_unix_volume_monitor_init),
3370 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
3371 (find_mount_by_mountpath), (update_volumes), (update_mounts):
3372 * gunixvolumemonitor.h:
3373 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
3374 (g_volume_mount), (g_volume_mount_finish):
3376 * gvolumemonitor.c: (g_volume_monitor_class_init),
3377 (g_volume_monitor_get_connected_drives),
3378 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
3381 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3383 * gmountoperation.h (GPasswordFlags): Close the gap
3385 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3387 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
3389 * gdesktopappinfo.[hc]: Remove _-prefixes
3391 2007-12-10 Tor Lillqvist <tml@novell.com>
3393 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
3396 2007-12-10 Alexander Larsson <alexl@redhat.com>
3398 * gfile.c (g_file_set_display_name):
3399 Don't hardcode '/' (#502727)
3401 2007-12-09 Hans Breuer <hans@breuer.org>
3403 * makefile.msc : follow lib naming convention
3404 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
3405 for user and group name, tested with ../tests/gio-ls
3407 2007-12-09 A. Walton <awalton@svn.gnome.org>
3409 * gdesktopappinfo.c:
3415 * gfileenumerator.c:
3420 * gmemoryinputstream.c:
3421 * gmemoryoutputstream.c:
3423 * gsimpleasyncresult.c:
3424 More documentation cleanup and filling in missing information, bringing
3425 GIO to 99% symbol coverage.
3427 2007-12-08 Hans Breuer <hans@breuer.org>
3429 [gio compiles and links on win32, not sure how much already works]
3430 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
3431 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
3432 base on win32 API; prefer g_lstat() over lstat(); instead of
3433 localtime_r() use an all GLib implementation on win32;
3434 get_mount_info() still needs a win32 specifc implementation
3435 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
3436 win32_get_file_user_info to get owner/group info without uid/gid
3437 * glocalfileinputstream.c : include <io.h> on win32
3438 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
3439 definition, use g_win32_ftruncate() for G_OS_WIN32
3440 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
3441 it is available with mingw/w32api but a mess with the M$ Platform SDKs
3442 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
3443 * makefile.msc : updated
3445 2007-12-07 Alexander Larsson <alexl@redhat.com>
3447 * glocalfileenumerator.c (_g_local_file_enumerator_new):
3448 Avoid warning spew if error == NULL
3450 2007-12-07 Alexander Larsson <alexl@redhat.com>
3453 Update docs wrt etags
3455 2007-12-06 Alexander Larsson <alexl@redhat.com>
3458 Include sys/types.h for dev_t (#501919)
3460 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
3464 Make abicheck and pltcheck pass.
3466 2007-12-05 Alexander Larsson <alexl@redhat.com>
3469 * giomodule-priv.h: Added.
3470 * glocaldirectorymonitor.c:
3471 * glocalfilemonitor.c:
3472 * gunionvolumemonitor.c:
3474 Actually add the declaration of _g_io_modules_ensure_loaded
3476 2007-12-05 Alexander Larsson <alexl@redhat.com>
3478 * gdatainputstream.c:
3483 * glocaldirectorymonitor.c:
3484 * glocalfilemonitor.c:
3485 * gunionvolumemonitor.c:
3487 Make g_io_modules_ensure_loaded a private function and
3488 don't pass in the dirname. This means we can do magic
3489 directory finding in the win32 version.
3490 Export the actual load-modules-in-directory code so that
3491 gvfs can reuse that.
3493 2007-12-05 Alexander Larsson <alexl@redhat.com>
3495 * gbufferedinputstream.c:
3496 * gbufferedoutputstream.c:
3499 * gfileenumerator.[ch]:
3500 * gfileinputstream.c:
3501 * gfileoutputstream.[ch]:
3502 * gfilterinputstream.c:
3503 * gfilteroutputstream.c:
3504 * ginputstream.[ch]:
3506 * glocalfileenumerator.c:
3507 * glocalfileinputstream.c:
3508 * glocalfileoutputstream.c:
3509 * gmemoryinputstream.c:
3510 * gmemoryoutputstream.c:
3511 * goutputstream.[ch]:
3514 * gunixinputstream.c:
3515 * gunixoutputstream.c:
3516 Rename all struct members named:
3517 read, write, close, truncate, or mount
3518 to foo_fn, as these are reserved names
3519 and could be defined as macros in libc.
3522 2007-12-04 Alexander Larsson <alexl@redhat.com>
3525 (g_output_stream_close):
3526 Only call flush if non-null.
3528 2007-11-30 Dan Winship <danw@gnome.org>
3530 * ginputstream.c (g_input_stream_set_pending): Make this take a
3531 GError and return a gboolean, and do the "outstanding operation"
3532 check (and the "stream is already closed" check) itself.
3533 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3535 * goutputstream.c (g_output_stream_set_pending)
3536 (g_output_stream_clear_pending): Likewise
3538 * gbufferedinputstream.c:
3539 * gfileinputstream.c:
3540 * gfileoutputstream.c: Update for that
3542 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3543 Like g_simple_async_report_error_in_idle, but takes a GError
3544 rather than building one.
3546 2007-11-30 Dan Winship <danw@gnome.org>
3548 * goutputstream.c: Don't cheat and unset the "pending" flag around
3549 inner calls. Instead, call the class method directly rather than
3550 the wrapper function that checks "pending"
3552 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3554 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3556 2007-12-03 Hans Breuer <hans@breuer.org>
3558 [start of port to win32/msvc]
3559 * gcancellable.c : HAVE_UNIST_H and _pipe()
3560 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3561 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3562 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3564 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3565 * glocalvfs.c : use HAVE_PWD_H
3566 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3567 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3568 * Makefile.am : added to EXTRA_DIST
3570 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3572 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3575 2007-12-03 Alexander Larsson <alexl@redhat.com>
3578 Handle OSX style xattrs API (#500506)
3580 2007-12-03 Alexander Larsson <alexl@redhat.com>
3584 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3586 2007-12-02 A. Walton <awalton@svn.gnome.org>
3590 Documentation accuracy fixes.
3592 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3594 * gioenumtypes.c.template: Fix typo.
3596 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3598 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3600 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3602 * gdirectorymonitor.c:
3603 * gfilemonitor.c: Add properties
3605 * gbufferedoutputstream.c: Don't mark buffer-size property
3608 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3610 * gbufferedoutputstream.c: Add auto-grow property.
3612 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3614 * *.c: Unify the capitalization of section headings.
3616 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3618 * gmountoperation.c: Add properties
3620 * gdatainputstream.c: Turn byte-order and newline-type into
3623 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3625 * gioenumtypes.[hc].template: Templates for enum registration
3627 * Makefile.am: Generate gioenumtypes.[hc]
3629 * gio.h: Include gioenumtypes.h
3631 * gfile.h: Add some explicit nicks.
3633 * gio.symbols: Add new symbols
3635 * pltcheck.sh: Adjust
3637 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3639 * *.c: Explain etags and link to the explanation
3641 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3643 * *.c: Explain I/O priority.
3645 * *.c: More coding style fixes.
3647 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3649 * gasyncresult.c: Add another paragraph to the intro,
3650 adjust coding style of example.
3652 2007-11-29 A. Walton <awalton@svn.gnome.org>
3655 Fixes unknown meaning in GAppLaunchContext docs.
3657 Clarify asynchronous ops.
3659 Fix entity tag docs.
3662 Provides missing gtk-doc section, fixes API docs slighly.
3663 * gsimpleasyncresult.c:
3664 Fill in missing info in docs.
3665 * gunixinputstream.c:
3666 * gunixoutputstream.c:
3667 Be more expressive in short description.
3669 Remove gtk-doc stubs for non-public API.
3671 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3673 * *.c: Coding style fixups
3675 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3677 * inotify/inotify-helper.c: Don't export the lock from libgio.
3679 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3682 * abicheck.sh: Fix copy-and-paste leftovers
3684 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3686 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3688 2007-11-28 Alexander Larsson <alexl@redhat.com>
3692 Removed unnecessary file
3694 * gdesktopappinfo.[ch]:
3697 * glocaldirectorymonitor.[ch]:
3699 * glocalfileenumerator.[ch]:
3700 * glocalfileinputstream.[ch]:
3701 * glocalfilemonitor.[ch]:
3702 * glocalfileoutputstream.[ch]:
3704 * gnativevolumemonitor.c:
3705 * gpollfilemonitor.[ch]:
3706 * gunionvolumemonitor.[ch]:
3709 * gunixvolumemonitor.[ch]:
3712 * inotify/ginotifydirectorymonitor.[ch]:
3713 * inotify/ginotifyfilemonitor.[ch]:
3714 * inotify/inotify-helper.c:
3715 Append _ to all internal functions
3719 Export symbols needed for modules
3721 2007-11-28 Alexander Larsson <alexl@redhat.com>
3724 * abicheck.sh: Added.
3725 * makegioalias.pl: Added.
3726 * pltcheck.sh: Added.
3727 * gio.symbols: Added.
3730 Initial work on adding symbol handling.
3733 Correct ifdef guard name
3736 * inotify/Makefile.am:
3737 * xdgmime/Makefile.am:
3738 Include toplevel Makefile.decl
3740 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3742 * gcontenttype.c: Move doc comments to the unix section.
3744 * *.[hc]: More trivial doc corrections.
3746 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3748 * gpollfilemonitor.c:
3752 * gdesktopappinfo.c:
3757 * gdatainputstream.c:
3758 * gdatainputstream.h:
3759 * gdataoutputstream.c:
3760 * gdataoutputstream.h:
3761 * gfileinfo.h: Doc cleanups
3763 2007-11-28 Andre Klapper <a9016009@gmx.de>
3765 * gdesktopappinfo.c: Fix a typo.
3767 2007-11-27 Andre Klapper <a9016009@gmx.de>
3769 * glocalfileoutputstream.c: Fix a typo.
3771 2007-11-27 Alexander Larsson <alexl@redhat.com>
3774 Don't include removed headers
3776 2007-11-27 Alexander Larsson <alexl@redhat.com>
3779 * gsocketinputstream.[ch]: Removed.
3780 * gsocketoutputstream.[ch]: Removed.
3781 * gunixinputstream.[ch]: Added.
3782 * gunixoutputstream.[ch]: Added.
3783 Renamed GSocket*Stream to GUnix*Stream and made
3784 it unix-only, since its not really only for sockets
3785 and it only works on unix (but is highly useful there).
3787 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3793 * gbufferedinputstream.c:
3794 * gbufferedinputstream.h:
3795 * gbufferedoutputstream.c:
3796 * gbufferedoutputstream.h:
3800 * gdatainputstream.c:
3801 * gdatainputstream.h:
3802 * gdataoutputstream.c:
3803 * gdataoutputstream.h:
3804 * gdirectorymonitor.c:
3805 * gdirectorymonitor.h:
3812 * gfileenumerator.c:
3813 * gfileenumerator.h:
3818 * gfileinputstream.c:
3819 * gfileinputstream.h:
3822 * gfilenamecompleter.c:
3823 * gfilenamecompleter.h:
3824 * gfileoutputstream.c:
3825 * gfileoutputstream.h:
3826 * gfilterinputstream.c:
3827 * gfilterinputstream.h:
3828 * gfilteroutputstream.c:
3829 * gfilteroutputstream.h:
3842 * glocalfileoutputstream.c:
3843 * gmemoryinputstream.c:
3844 * gmemoryinputstream.h:
3845 * gmemoryoutputstream.c:
3846 * gmemoryoutputstream.h:
3847 * gmountoperation.c:
3848 * gmountoperation.h:
3851 * gpollfilemonitor.c:
3854 * gsimpleasyncresult.c:
3855 * gsimpleasyncresult.h:
3856 * gsocketinputstream.c:
3857 * gsocketinputstream.h:
3858 * gsocketoutputstream.c:
3859 * gsocketoutputstream.h:
3866 * gunixvolumemonitor.c:
3875 Bumps documentation to 93% symbol coverage, touching most
3876 of the public files. Fixes broken function documentation prototypes.
3877 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3878 gtk-doc headers in private files.
3880 2007-11-27 Jürg Billeter <j@bitron.ch>
3882 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3883 (g_buffered_input_stream_read_byte):
3884 * gbufferedinputstream.h:
3885 New functions for efficient access to buffer and simple single byte
3888 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3889 (g_data_input_stream_read_until):
3890 * gdatainputstream.h:
3891 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3892 read_until with multiple stop chars.
3894 2007-11-27 Alexander Larsson <alexl@redhat.com>
3898 * inotify/Makefile.am:
3899 Use the user-specified giomoduledir
3901 2007-11-27 Alexander Larsson <alexl@redhat.com>
3905 Add catch-all gio.h header
3906 Don't install gdummyfile.h
3908 2007-11-26 Alexander Larsson <alexl@redhat.com>
3910 * Makefile.am (gioinclude_HEADERS):
3911 Remove trailing whitespace
3913 2007-11-26 Alexander Larsson <alexl@redhat.com>
3915 Merge gio-standalone into glib
3917 2007-11-25 Christian Kellner <gicmo@gnome.org>
3919 * gio/goutputstream.c:
3920 Fix small mistake in the docs.
3922 2007-11-21 Christian Persch <chpe@gnome.org>
3924 * gio/glocalfile.c: (g_local_file_trash):
3925 Convert filenames to UTF-8 for GError.
3926 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3927 as per xdg base dir spec.
3929 2007-11-21 Christian Persch <chpe@gnome.org>
3931 * gio/gdesktopappinfo.c:
3932 Use that g_key_file_to_data cannot fail.
3934 Use stock defines for the key file group and key names.
3937 2007-11-21 Alexander Larsson <alexl@redhat.com>
3940 (copy_stream_with_progress):
3941 Make sure we do a final progress callback with
3942 the full total size.
3944 2007-11-21 Alexander Larsson <alexl@redhat.com>
3947 Export g_file_copy_attributes
3948 Remove padding as its not needed for interfaces
3950 2007-11-20 Alexander Larsson <alexl@redhat.com>
3955 Add G_IO_ERROR_WOULD_MERGE for
3956 copy/move dir on dir with overwrite.
3958 2007-11-20 Alexander Larsson <alexl@redhat.com>
3961 * gio/glocalfileinfo.c:
3962 Add COPY_NAME (this is an optional
3963 non-modified utf8 version of the name) that
3966 2007-11-20 Alexander Larsson <alexl@redhat.com>
3968 * gio/glocalfileenumerator.c:
3969 Report errors as GIOError, not GFileError
3971 2007-11-16 Alexander Larsson <alexl@redhat.com>
3973 * gio/glocalfileoutputstream.c:
3974 * gio/gwin32appinfo.c:
3975 Fix typos in strings.
3976 Patch from Luca Ferretti <elle.uca@libero.it>
3978 2007-11-15 Alexander Larsson <alexl@redhat.com>
3981 Post release version bump
3983 === gio-standalone 0.1.2 ===
3985 2007-11-15 Alexander Larsson <alexl@redhat.com>
3987 * docs/reference/gio/Makefile.am:
3988 Fix up distcheck by removing weird
3994 2007-11-14 Alexander Larsson <alexl@redhat.com>
3996 * gio/gdesktopappinfo.c:
3997 * gio/glocaldirectorymonitor.c:
3999 * gio/glocalfileinfo.c:
4000 * gio/inotify/inotify-sub.c:
4001 * programs/gio-cat.c:
4002 * programs/gio-copy.c:
4003 * programs/gio-info.c:
4004 * programs/gio-ls.c:
4005 * programs/gio-monitor-dir.c:
4006 * programs/gio-monitor-file.c:
4007 * programs/gio-mount.c:
4008 * programs/gio-move.c:
4009 * programs/gio-rm.c:
4010 * programs/gio-save.c:
4011 * programs/gio-trash.c:
4012 Leak fixes from Kjartan Maraas
4014 2007-11-14 Alexander Larsson <alexl@redhat.com>
4016 * gio/fam/fam-helper.c:
4018 * gio/glocalfileinfo.c:
4022 * gio/inotify/inotify-diag.c:
4023 * gio/inotify/inotify-kernel.c:
4024 Various code cleanups from Kjartan Maraas
4026 2007-11-14 Alexander Larsson <alexl@redhat.com>
4028 * gio/gioscheduler.c:
4030 Set up threadpool so that we cache 2 unused
4031 idle threads for at 15 secs. This means we
4032 will reuse thread-local data (like dbus connections)
4035 2007-11-14 Alexander Larsson <alexl@redhat.com>
4037 * gio/fam/fam-helper.c:
4038 * gio/fam/gfamdirectorymonitor.c:
4039 * gio/fam/gfamfilemonitor.c:
4041 * gio/gcontenttype.c:
4042 * gio/gdatainputstream.c:
4043 * gio/gdataoutputstream.c:
4047 * gio/gfileattribute.h:
4048 * gio/gfileenumerator.c:
4050 * gio/ginputstream.c:
4053 * gio/glocalfileinfo.c:
4054 * gio/goutputstream.c:
4055 * gio/gpollfilemonitor.c:
4056 * gio/gsimpleasyncresult.c:
4057 * gio/gunixmounts.c:
4058 * gio/gunixmounts.h:
4059 * gio/inotify/ginotifydirectorymonitor.c:
4060 * gio/inotify/ginotifyfilemonitor.c:
4061 * gio/inotify/inotify-diag.c:
4062 * gio/inotify/inotify-kernel.c:
4063 * gio/inotify/inotify-path.c:
4065 * gio/test-streams.c:
4066 * programs/gio-info.c:
4067 * programs/gio-monitor-dir.c:
4068 * programs/gio-monitor-file.c:
4069 Various code cleanups from Kjartan Maraas
4071 2007-11-13 Alexander Larsson <alexl@redhat.com>
4074 Handle the uri-scheme calls for dummy files
4076 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4078 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
4079 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
4080 to avoid clash with the C++ keyword.
4082 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
4084 * gio/glocalfileinfo.c: Build fix, added missing semicolon
4085 to an ifdef'ed call to getpwuid() in lookup_uid_data().
4087 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
4089 * gio/glocaldirectorymonitor.c:
4090 * gio/glocalfilemonitor.c:
4091 * gio/gunionvolumemonitor.c:
4092 Don't use g_once_init_*() for initializations that could fail and
4093 could leave the initialization variable set to 0 but use GOnce.
4094 This prevents a deadlock on the second call when trying to create
4095 a monitor and no monitor type is available. Thanks to Sven Herzberg
4098 2007-11-11 Sven Herzberg <sven@imendio.com>
4100 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
4101 #ifdef (make it work on MacOS X again)
4103 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
4105 Fixes Changelog for last two commits (sorry guys).
4107 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4109 * gio/gbufferedinputstream.c:
4110 * gio/gdatainputstream.c:
4112 * gio/gfileoutputstream.c:
4113 * gio/gfilterinputstream.c:
4114 * gio/glocalfileinputstream.c:
4117 More consistency fixes in g*stream.c files.
4118 Significant clean of gfile's documentation, filling in of
4119 asynchronous operations documentation.
4121 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
4123 * gio/gasyncresult.c:
4124 * gio/gbufferedinputstream.c:
4125 * gio/gbufferedoutputstream.c:
4126 * gio/gcancellable.c:
4127 * gio/gcontenttype.c:
4128 * gio/gdatainputstream.c:
4129 * gio/gdataoutputstream.c:
4130 * gio/gdesktopappinfo.c:
4133 * gio/gfileattribute.c:
4134 * gio/gio/gfileenumerator.c:
4136 * gio/gfileinputstream.c:
4137 * gio/gfilemonitor.c:
4138 * gio/gfileoutputstream.c:
4139 * gio/ginputstream.c:
4141 * gio/gioscheduler.c:
4142 * gio/gloadableicon.c:
4143 * gio/glocalfileoutputstream.c:
4144 * gio/gmemoryoutputstream.c:
4145 * gio/gmountoperation.c:
4146 * gio/goutputstream.c:
4148 * gio/gsimpleasyncresult.c:
4149 * gio/gunionvolumemonitor.c:
4150 * gio/gunixmounts.c:
4151 * gio/gunixvolume.c:
4155 * gio/gvolumemonitor.c:
4156 Updated documentation stubs, working towards consistency and
4159 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4161 * gio/gmemoryoutputstream.c:
4162 * gio/gmemoryoutputstream.h:
4163 Change g_memory_output_stream_set_free_on_close() to
4164 g_memory_output_stream_set_free_data() as this makes more sense and
4165 is more consistent with GMemoryInputStream.
4167 2007-11-07 Alexander Larsson <alexl@redhat.com>
4174 Change how we find the default vfs so that
4175 we can handle a gvfs failing to init
4177 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
4179 * gio/gbufferedoutputstream.c:
4180 * gio/gdatainputstream.c:
4181 * gio/gdataoutputstream.c:
4182 * gio/gfileinputstream.c:
4183 * gio/gfileoutputstream.c:
4184 * gio/gfilterinputstream.c:
4185 * gio/gfilteroutputstream.c:
4186 * gio/ginputstream.c:
4187 * gio/gmemoryinputstream.c:
4188 * gio/gmemoryoutputstream.c:
4189 * gio/goutputstream.c:
4190 * gio/gsimpleasyncresult.c:
4191 * gio/gsocketinputstream.c:
4192 * gio/gsocketoutputstream.c:
4193 Add guards to the remaining public functions, add a TODO for
4194 an unimplemented function and remove some useless guards.
4196 2007-11-07 Alexander Larsson <alexl@redhat.com>
4199 Autoconf checks for the various types of
4200 getpwuid_r and getgrgid_r
4202 * gio/glocalfileinfo.c:
4203 Use the autoconf checks from above
4205 2007-11-07 Alexander Larsson <alexl@redhat.com>
4208 (g_local_file_query_filesystem_info):
4209 Some fixes for the statvfs case
4211 2007-11-07 Alexander Larsson <alexl@redhat.com>
4214 (g_local_file_query_filesystem_info):
4215 Pick the "best" of statfs / statvfs for the system
4216 if both are availible.
4218 2007-11-07 Alexander Larsson <alexl@redhat.com>
4220 Solaris fixes from Halton.Huo@Sun.COM:
4227 * gio/glocalfileinfo.c:
4228 Fix for solaris definition of getpwuid_r
4230 * gio/test-streams.c:
4231 Use G_GNUC_PRETTY_FUNCTION
4233 2007-11-07 Alexander Larsson <alexl@redhat.com>
4235 * gio/gdesktopappinfo.c:
4236 (update_default_list):
4237 Remove double semicolon.
4238 Patch from Jens Granseuer
4240 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4242 * docs/reference/gio/gio-sections.txt:
4243 * gio/gbufferedinputstream.c:
4244 * gio/gbufferedinputstream.h:
4245 * gio/gdatainputstream.c:
4246 * gio/gfileenumerator.c:
4247 * gio/gioscheduler.c:
4248 * gio/gunionvolumemonitor.c:
4250 * programs/gio-save.c:
4251 Fix typo: availible -> available. Unfortuntely this breaks API
4252 and ABI as g_buffered_input_stream_get_available() was renamed.
4254 * gio/gunixmounts.c:
4255 * gio/gbufferedinputstream.c:
4256 Add guards for public functions.
4258 2007-11-06 Ross Burton <ross@openedhand.com>
4260 * docs/reference/gio/Makefile.am:
4261 Fix invalid += usage which automake 1.10 doesn't like.
4263 2007-11-06 Alexander Larsson <alexl@redhat.com>
4266 (g_app_launch_context_class_init):
4269 Patch from Ross Burton
4271 2007-11-06 Alexander Larsson <alexl@redhat.com>
4274 Post release version bump
4276 === gio-standalone 0.1.1 ===
4278 2007-11-06 Alexander Larsson <alexl@redhat.com>
4281 Bump version to 0.1.1
4283 * gio/gsimpleasyncresult.c:
4284 (g_simple_async_result_set_from_error):
4285 Remove bogus g_return_if_fail
4287 2007-11-06 Alexander Larsson <alexl@redhat.com>
4290 The name is gio-standalone
4293 Add top src/builddir to includedir
4295 2007-11-06 Alexander Larsson <alexl@redhat.com>
4297 * docs/reference/gio/gio-sections.txt:
4299 * gio/gbufferedinputstream.c:
4300 * gio/gbufferedoutputstream.c:
4301 * gio/gcancellable.c:
4302 * gio/gdatainputstream.h:
4303 * gio/gdataoutputstream.c:
4304 * gio/gdataoutputstream.h:
4305 * gio/gdirectorymonitor.c:
4307 * gio/gfileattribute.c:
4308 * gio/gfileattribute.h:
4309 * gio/gfileenumerator.c:
4310 * gio/gfileenumerator.h:
4313 * gio/gfileinputstream.h:
4314 * gio/gfilemonitor.c:
4315 * gio/gfileoutputstream.h:
4316 * gio/glocalfilemonitor.h:
4317 * gio/glocalfileoutputstream.h:
4318 * gio/gmemoryinputstream.c:
4319 * gio/gmemoryoutputstream.c:
4320 * gio/gmountoperation.c:
4321 * gio/goutputstream.c:
4322 * gio/goutputstream.h:
4324 * gio/gsimpleasyncresult.c:
4325 * gio/gunixmounts.c:
4326 * gio/gunixmounts.h:
4328 * gio/inotify/inotify-helper.c:
4329 Fix gtk-doc warnings
4331 Patch from Ross Burton
4333 2007-11-06 Alexander Larsson <alexl@redhat.com>
4335 * gio/gfilenamecompleter.c:
4336 (g_filename_completer_get_completions):
4339 * gio/gunixvolume.c:
4340 Remove unused function
4342 Patches from Ross Burton
4344 2007-11-06 Alexander Larsson <alexl@redhat.com>
4349 Padding not needed for interfaces
4351 2007-11-06 Alexander Larsson <alexl@redhat.com>
4353 * gio/gfilemonitor.c:
4357 Make giotypes.h an internal file
4360 * gio/gbufferedinputstream.h:
4361 * gio/gbufferedoutputstream.h:
4362 * gio/gcancellable.h:
4363 * gio/gdatainputstream.h:
4364 * gio/gdataoutputstream.h:
4365 * gio/gdirectorymonitor.c:
4366 * gio/gdirectorymonitor.h:
4371 * gio/gfileattribute.h:
4372 * gio/gfileenumerator.h:
4377 * gio/gfilemonitor.c:
4378 * gio/gfilemonitor.h:
4379 * gio/gfilenamecompleter.c:
4380 * gio/gfilenamecompleter.h:
4381 * gio/gfilterinputstream.h:
4382 * gio/gfilteroutputstream.h:
4383 * gio/ginputstream.h:
4384 * gio/gmemoryinputstream.h:
4385 * gio/gmemoryoutputstream.h:
4386 * gio/gmountoperation.c:
4387 * gio/gmountoperation.h:
4388 * gio/gnativevolumemonitor.c:
4389 * gio/goutputstream.h:
4392 * gio/gsimpleasyncresult.c:
4393 * gio/gsimpleasyncresult.h:
4394 * gio/gsocketinputstream.h:
4395 * gio/gsocketoutputstream.h:
4396 * gio/gthemedicon.c:
4397 * gio/gthemedicon.h:
4401 * gio/gvolumemonitor.c:
4402 * gio/gvolumemonitor.h:
4403 Add padding in classes where it seems useful
4404 Don't include giotypes.h from public headers
4405 Move in Class definitions into c file where possible
4410 2007-11-06 Alexander Larsson <alexl@redhat.com>
4412 * docs/reference/gio/gio-docs.xml:
4413 Better structure for API docs
4415 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4418 * gio/gloadableicon.c:
4419 * gio/gsimpleasyncresult.c:
4420 * gio/gthemedicon.c:
4421 Add some more guards to public functions. Only files missing are now
4424 2007-11-06 Alexander Larsson <alexl@redhat.com>
4426 * docs/reference/gio/gio-docs.xml:
4427 Remove old files, add missing ones
4429 2007-11-06 Alexander Larsson <alexl@redhat.com>
4431 * docs/reference/gio/gio-sections.txt:
4434 Hide implementation classes
4436 * gio/gdriveprivate.h:
4437 * gio/gvolumeprivate.h:
4438 Remove non-existing function declarations
4440 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
4443 Fix compilation warnings and add guards to the new functions.
4445 * gio/gasyncresult.c:
4447 Add guards to the public functions.
4450 Implement get_path().
4452 2007-11-06 Alexander Larsson <alexl@redhat.com>
4454 * gio/gfilenamecompleter.c:
4455 Make g_filename_completer_get_completions
4456 return char ** instead of GList for
4459 * docs/reference/gio/gio-docs.xml:
4460 * docs/reference/gio/gio-sections.txt:
4462 * gio/gasyncresult.c:
4463 * gio/gbufferedinputstream.c:
4464 * gio/gbufferedoutputstream.c:
4465 * gio/gcancellable.c:
4466 * gio/gcontenttype.c:
4467 * gio/gdatainputstream.c:
4468 * gio/gdataoutputstream.c:
4469 * gio/gdesktopappinfo.c:
4470 * gio/gdirectorymonitor.c:
4474 * gio/gfileattribute.c:
4475 * gio/gfileenumerator.c:
4478 * gio/gfileinputstream.c:
4479 * gio/gfilemonitor.c:
4480 * gio/gfilenamecompleter.c:
4481 * gio/gfilenamecompleter.h:
4482 * gio/gfileoutputstream.c:
4483 * gio/gfilterinputstream.c:
4485 * gio/ginputstream.c:
4487 * gio/gioscheduler.c:
4488 * gio/gloadableicon.c:
4489 * gio/glocaldirectorymonitor.c:
4491 * gio/glocalfileinputstream.c:
4492 * gio/glocalfilemonitor.c:
4493 * gio/glocalfileoutputstream.c:
4495 * gio/gmemoryinputstream.c:
4496 * gio/gmemoryoutputstream.c:
4497 * gio/gmountoperation.c:
4498 * gio/goutputstream.c:
4499 * gio/gpollfilemonitor.c:
4501 * gio/gsimpleasyncresult.c:
4502 * gio/gsocketinputstream.c:
4503 * gio/gsocketoutputstream.c:
4504 * gio/gthemedicon.c:
4505 * gio/gunionvolumemonitor.c:
4507 * gio/gunixmounts.c:
4508 * gio/gunixvolume.c:
4509 * gio/gunixvolumemonitor.c:
4513 * gio/gvolumemonitor.c:
4514 * gio/gwin32appinfo.c:
4515 Add (mostly stub) doc strings to public functions.
4516 Patch from Andrew Walton (awalton@gmail.com)
4518 2007-11-06 Alexander Larsson <alexl@redhat.com>
4520 * gio/gappinfo.[ch]:
4521 Added GAppLaunchContext object and pass that to launch.
4522 This allows simple implementation of both
4523 launch-on-screen and startup notification via a gtk+
4524 subclass of GAppLaunchContext
4526 * gio/gdesktopappinfo.c:
4527 Implement GAppLaunchContext API
4529 * gio/gwin32appinfo.c:
4532 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4534 * gio/gmountoperation.c:
4535 Add some guards to GMountOperation's public functions.
4537 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4541 * gio/gcancellable.c:
4542 * gio/gdirectorymonitor.c:
4544 * gio/gfileenumerator.c:
4545 * gio/gfilemonitor.c:,
4546 * gio/gfilenamecompleter.c:
4549 * gio/gioscheduler.c:
4553 * gio/gvolumemonitor.c:
4554 Add even more guards to various public functions.
4556 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4559 Add guards to the public functions of GAppInfo.
4561 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4563 * gio/gcontenttype.c:
4564 Add some more guards for public functions.
4566 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4568 * gio/fam/fam-module.c:
4569 * gio/fam/gfamdirectorymonitor.c:
4570 * gio/fam/gfamdirectorymonitor.h:
4571 * gio/fam/gfamfilemonitor.c:
4572 * gio/fam/gfamfilemonitor.h:
4573 * gio/inotify/ginotifydirectorymonitor.c:
4574 * gio/inotify/ginotifydirectorymonitor.h:
4575 * gio/inotify/ginotifyfilemonitor.c:
4576 * gio/inotify/ginotifyfilemonitor.h:
4577 Add proper copyright information and remove an unused variable
4578 in the GInotifyFileMonitor constructor.
4580 * gio/gcancellable.c:
4581 Add a guard for a public function and an assertion to prevent
4582 an undefined program state.
4584 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4586 * gio/gfileattribute.c:
4587 Don't run into an assertion if the given attribute value is NULL
4588 in g_file_attribute_value_get_*() but instead return a fallback
4589 value that makes sense in most situations. Passing them a attribute
4590 value with the wrong type will still run into an assertion.
4592 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4594 * gio/gfileattribute.c:
4596 Add even more guards to the public functions. Also fix the refcounting
4597 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4598 let g_file_info_list_attributes() filter the attributes by namespace
4599 instead of simply ignoring the namespace parameter.
4601 2007-11-03 Sven Herzberg <sven@imendio.com>
4603 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4604 (This makes gio work on MacOS X again)
4606 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4609 Build the gio subdirectory before the docs. Otherwise the build will
4612 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4613 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4614 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4615 Add guards to the public functions.
4617 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4619 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4620 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4621 to prevent a compiler warning.
4623 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4624 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4625 return something in the non-void function find_topdir_for().
4627 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4634 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4636 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4637 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4638 * gwin32appinfo.c (g_win32_app_info_launch):
4639 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4640 envp_for_startup_id, g_desktop_app_info_launch,
4641 g_desktop_app_info_launch_uris):
4643 Give an opaque 'startup_id' string instead of 'envp'.
4644 Support empty file lists for launching new windows.
4645 Fix infinite recursion bug when launching URIs.
4647 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4650 Add guard to the new g_file_get_uri_scheme() function.
4652 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4655 Convert a g_return_val_if_fail() to setting the GError instead as
4656 otherwise applications have to verify the parameter before otherwise
4657 and the parameter might come directly from the user.
4659 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4661 * gio/inotify/ginotify*.[ch]:
4662 Add missing copyright information.
4664 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4667 Add guards in the beginning of public functions to check for valid
4668 parameters and fix a bug in copy_stream_with_progress() that could've
4669 caused writing less bytes than reading.
4670 * gio/glocalfileinfo.c:
4671 Check for a NULL parameter and set the GError accordingly then.
4672 * gio/goutputstream.c:
4673 Fix the same bug as in gfile.c that could've caused writing less bytes
4674 than reading in g_output_stream_real_splice().
4676 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4679 Use the correct gvolumeprivate.h naming
4681 2007-11-01 Christian Kellner <gicmo@gnome.org>
4684 Remove leftover "$(daemon_sources)" entry.
4686 2007-11-01 Christian Kellner <gicmo@gnome.org>
4691 Add copyright information to source files.
4693 2007-11-01 Alexander Larsson <alexl@redhat.com>
4697 Add g_file_get_uri_scheme
4699 2007-11-01 Alexander Larsson <alexl@redhat.com>
4702 * gio/gdesktopappinfo.c:
4703 * gio/gwin32appinfo.c:
4704 Add g_app_info_get_default_for_uri_scheme.
4706 2007-11-01 Alexander Larsson <alexl@redhat.com>
4709 Correct filename for gdriveprivate.h
4711 2007-10-31 Alexander Larsson <alexl@redhat.com>
4714 Rename id:value to id:file
4717 * gio/glocalfileinfo.c:
4720 2007-10-31 Alexander Larsson <alexl@redhat.com>
4722 * gio/gunixvolume.c:
4724 Remove g_volume_get_platform_id, as thats not
4725 needed with the simpler union volume monitor
4727 2007-10-31 Alexander Larsson <alexl@redhat.com>
4730 * gio/guniondrive.[ch]: Removed.
4731 * gio/gunionvolume.[ch]: Removed.
4732 Remove GUnionDrive/Volume
4734 * gio/gunionvolumemonitor.c:
4735 Simplify union volume monitor, now we
4736 only have one native volume monitor and
4737 we use the actual volumes/drives from the
4738 child monitors instead of wrapping them
4740 * gio/gnativevolumemonitor.[ch]:
4741 Base class for native volume monitors.
4742 Includes priority and get_volume_for_mountpoint
4745 Add g_file_find_enclosing_volume
4748 Remove volume name fs attribute
4749 Add readonly fs attribute
4752 Implement readonly attribute
4753 remove volume name attribute
4754 Implement find_enclosing volume
4756 * gio/gunixmounts.c:
4757 Add a volume for "/".
4759 * gio/gunixvolume.[ch]:
4760 Set better name for /
4762 * gio/gunixvolumemonitor.[ch]:
4763 Derive from GNativeVolumeMonitor
4764 Implement get_volume_for_mountpoint
4767 GVolume typedef moved to gfile.h
4769 * gio/gvolumeprivate.h:
4770 Add g_volume_get_for_mount_path
4772 2007-10-31 Alexander Larsson <alexl@redhat.com>
4774 * gio/gunixmounts.[ch]:
4775 Add cache info to unix mount listers
4776 Make getmntent use threadsafe
4777 Add is_system_internal attribute for GUnixMount
4779 * gio/gunixvolume.c:
4780 (g_unix_volume_new):
4781 Use is_system_internal instead of own code
4783 * gio/glocaldirectorymonitor.c:
4784 * gio/gunixvolumemonitor.c:
4785 Update to new gunixmounts API
4790 2007-10-30 Alexander Larsson <alexl@redhat.com>
4793 Add volume name fsinfo attribute
4796 Read volume name info
4798 * gio/gunionvolumemonitor.c:
4799 Fix infinite loops when finalizing a union volume monitor
4801 2007-10-30 Alexander Larsson <alexl@redhat.com>
4803 * gio/goutputstream.[ch]:
4804 Add splice() with default implementation
4806 * gio/gsocketoutputstream.c:
4807 (g_socket_output_stream_write):
4808 Return error on cancellation correctly.
4810 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4812 * gio/glocalfile.c (g_local_file_trash):
4813 Do not leak a string.
4815 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4817 * gio/gfile.c (g_file_load_contents):
4818 Unref the stream after closing it.
4820 2007-10-25 Alexander Larsson <alexl@redhat.com>
4822 * gio/gioscheduler.h:
4825 2007-10-25 Alexander Larsson <alexl@redhat.com>
4829 Add g_file_has_uri_scheme and implement for local files
4831 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4833 * gio/gdesktopappinfo.c: do not leak a string.
4835 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4837 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4838 (g_local_directory_monitor_new):
4839 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4840 (g_local_file_monitor_new):
4841 Only look for the monitor type that should be used the first time
4842 and use g_qsort_with_data() instead of our own bubble sort
4845 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4848 * gio/fam/Makefile.am:
4849 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4850 * gio/fam/fam-helper.h:
4851 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4852 * gio/fam/gfamdirectorymonitor.c:
4853 * gio/fam/gfamdirectorymonitor.h:
4854 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4855 * gio/fam/gfamfilemonitor.h:
4856 * gio/glocaldirectorymonitor.c:
4857 * gio/glocaldirectorymonitor.h:
4858 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4859 * gio/glocalfilemonitor.h:
4860 * gio/inotify/Makefile.am:
4861 * gio/inotify/ginotifydirectorymonitor.c:
4862 * gio/inotify/ginotifydirectorymonitor.h:
4863 * gio/inotify/ginotifyfilemonitor.c:
4864 * gio/inotify/ginotifyfilemonitor.h:
4865 Implement the FAM and Inotify monitors as
4866 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4867 their own GIO module. GLocal(Directory|File)Monitor will use the
4868 monitor with the highest rank that is supported on that machine.
4870 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4873 Change GIO module dir to $(libdir)/gio/modules and change
4874 the log domain from GVFS to GIO. Also only export symbols starting
4875 with g_ in the resulting library.
4876 * gio/test-streams.c: (main):
4877 Set log handler for the GIO log domain.
4879 2007-10-22 Alexander Larsson <alexl@redhat.com>
4881 * gio/gfilenamecompleter.[ch]:
4882 Add g_filename_completer_set_dirs_only
4884 2007-10-22 Alexander Larsson <alexl@redhat.com>
4887 * gio/gurifuncs.[ch]:
4888 Add some simple URI helpers
4890 * gio/gfilenamecompleter.[ch]:
4891 Added object for filename (parse name actually) completion
4894 Handle ~ in parse names
4896 2007-10-17 Alexander Larsson <alexl@redhat.com>
4899 * gio/glocalfileinfo.c:
4900 Add and implement id:value attribute
4902 2007-10-17 Alexander Larsson <alexl@redhat.com>
4905 * gio/guniondrive.c:
4907 Add and implement g_drive_has_volumes
4909 2007-10-17 Alexander Larsson <alexl@redhat.com>
4912 * gio/glocalfileinfo.[ch]:
4913 Add unix:is_mountpoint and implement for local files
4915 2007-10-16 Alexander Larsson <alexl@redhat.com>
4917 * gio/gunionvolumemonitor.c:
4918 (g_union_volume_monitor_init):
4919 Fix up the unix type getting so that it works with gcc
4921 2007-10-12 Alexander Larsson <alexl@redhat.com>
4924 * gio/glocalfileinfo.c:
4925 Add thumbnail:failed to file info
4927 2007-10-12 Richard Hult <richard@imendio.com>
4929 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4930 optimizing away the get_type call (happens with some gcc versions,
4931 like the one shipped with OS X 10.4).
4933 2007-10-12 Alexander Larsson <alexl@redhat.com>
4935 * gio/glocalfileinfo.c:
4936 (_g_local_file_info_set_attribute):
4937 Fix build if not HAVE_XATTR
4938 Patch from Milosz Derezynski <internalerror@gmail.com>
4940 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4942 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4943 around for review, otherwise I would have asked you before
4946 2007-10-11 Alexander Larsson <alexl@redhat.com>
4949 Add thumbnail:path attribute
4951 * gio/glocalfileinfo.c:
4952 Implement thumbnail:path for local files
4954 2007-10-11 Alexander Larsson <alexl@redhat.com>
4956 * gio/glocalfileinfo.c:
4957 (_g_local_file_info_get):
4958 Avoid duplicate icon names
4960 2007-10-11 Alexander Larsson <alexl@redhat.com>
4962 * gio/gthemedicon.[ch]:
4963 Change g_themed_icon_get_names return type to const
4965 2007-10-10 Alexander Larsson <alexl@redhat.com>
4967 * gio/glocalfileinfo.c:
4968 Don't reference freed memory
4970 2007-10-10 Alexander Larsson <alexl@redhat.com>
4972 * gio/gfileattribute.c:
4975 * gio/glocalfileinfo.c:
4978 2007-10-10 Alexander Larsson <alexl@redhat.com>
4981 Check for NULL icons
4983 * gio/gfileattribute.c:
4984 Don't dup when getting objects (same as for string attributes)
4986 * gio/gicon.c (g_icon_equal):
4987 Safely handle NULLs in equal
4989 2007-10-10 Alexander Larsson <alexl@redhat.com>
4992 Fix c++ compilation issues
4993 Patch from Milosz Derezynski <internalerror@gmail.com>
4995 2007-10-10 Alexander Larsson <alexl@redhat.com>
4997 * programs/gio-monitor-dir.c:
4998 Don't crash if dir monitor not supported.
5000 2007-10-09 Alexander Larsson <alexl@redhat.com>
5003 Add missing G_END_DECLS
5005 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5007 * gio/gfile.c: (g_file_set_display_name),
5008 (g_file_query_settable_attributes),
5009 (g_file_query_writable_namespaces):
5010 Return NULL not FALSE on errors as the return type is a pointer.
5012 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
5014 * gio/glocalfile.c: (g_local_file_monitor_file):
5015 Don't call monitor_file on the default interface vtable (which
5016 is NULL) but simply return NULL. The caller, GFile, will create a
5017 polling monitor if NULL is returned.
5019 2007-10-09 Alexander Larsson <alexl@redhat.com>
5023 * gio-unix-2.0.pc.in:
5024 Add gio-unix-2.0.pc if OS_UNIX
5027 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
5029 2007-10-09 Alexander Larsson <alexl@redhat.com>
5031 * gio/gunixmounts.[ch]:
5032 Make unix mount monitoring API sane.
5033 Now its just a object with mounts_changed
5034 and mountpoints_changed signals.
5036 * gio/glocaldirectorymonitor.c:
5037 * gio/gunixvolumemonitor.c:
5038 Use new mount monitor api
5040 2007-10-09 Alexander Larsson <alexl@redhat.com>
5042 * gio/gunixmounts.[ch]:
5043 Move guess type into one call for mounts and one for mountpoints
5046 * gio/gunixvolume.c:
5049 2007-10-09 Alexander Larsson <alexl@redhat.com>
5051 * gio/gunixmounts.[ch]:
5052 Remove _ prefix in preparation to make this semi-public
5053 Hide implementation of structs
5055 * gio/glocaldirectorymonitor.c:
5057 * gio/gunixvolume.c:
5058 * gio/gunixvolumemonitor.c:
5059 Update for above API changes
5061 2007-10-08 Alexander Larsson <alexl@redhat.com>
5064 Better polling fallback. This also handles the case where we have
5065 a monitor_file implementation, but it fails.
5067 2007-10-08 Alexander Larsson <alexl@redhat.com>
5071 * gio/gunixmounts.c:
5072 * programs/gio-monitor-dir.c:
5073 * programs/gio-monitor-file.c:
5074 Added cancellable to file monitoring calls.
5075 These are really sync calls and need this.
5077 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
5079 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
5080 (g_local_vfs_class_init):
5081 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
5082 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
5084 2007-10-05 Alexander Larsson <alexl@redhat.com>
5086 * gio/gdirectorymonitorprivate.h:
5087 * gio/gfilemonitorprivate.h:
5088 * gio/gdirectorymonitor.h:
5089 * gio/gfilemonitor.h:
5090 Remove *private.h and move to the public API, so that
5091 we can do implementations outside gio (such as in gvfs)
5093 * gio/gdirectorymonitor.c:
5094 * gio/gfilemonitor.c:
5095 * gio/glocaldirectorymonitor.c:
5096 * gio/gpollfilemonitor.c:
5097 * gio/inotify/inotify-helper.c:
5098 * gio/fam/fam-helper.c:
5099 Update to the new header names
5101 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
5103 * gio/gdirectorymonitor.c:
5104 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
5107 2007-10-04 Alexander Larsson <alexl@redhat.com>
5109 * gio/glocalfileinfo.c (get_access_rights):
5110 Set CAN_TRASH when we can move the file.
5111 We should really also check for a parent trash dir.
5113 2007-10-04 Alexander Larsson <alexl@redhat.com>
5115 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
5116 Add can_trash access attribute
5118 2007-10-04 Alexander Larsson <alexl@redhat.com>
5121 (g_local_file_trash):
5122 Create info file first. This is per-spec and allows
5123 us to actually trash directories.
5125 2007-10-02 Alexander Larsson <alexl@redhat.com>
5127 * gio/gdesktopappinfo.c:
5128 Implement the new mime support code.
5129 Always set app as handling mimetype when being set as default for it
5131 2007-10-01 Alexander Larsson <alexl@redhat.com>
5133 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
5134 Fix up check for xattrs:
5136 2007-10-01 Alexander Larsson <alexl@redhat.com>
5139 (g_app_info_set_as_default_for_extension):
5140 (g_app_info_add_supports_type):
5141 (g_app_info_can_remove_supports_type):
5142 (g_app_info_remove_supports_type):
5143 Make these fail nicely if not implemented
5145 2007-10-01 Paolo Borelli <pborelli@katamail.com>
5147 * gio/glocalfileoutputstream.c:
5148 * gio/glocalfileoutputstream.h:
5153 * programs/gio-save.c:
5154 Add a GFileCreateFlags argument to operations that can create
5157 2007-10-01 Alexander Larsson <alexl@redhat.com>
5159 * gio/gappinfo.[ch]:
5160 * gio/gdesktopappinfo.c:
5161 Add more (stubbed out) mime API needed for nautilus
5163 2007-10-01 Alexander Larsson <alexl@redhat.com>
5166 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
5167 Add g_app_info_set_as_default_for_extension.
5169 * gio/gdesktopappinfo.c:
5170 Dummy for g_app_info_set_as_default_for_extension
5171 Support flags in g_app_info_create_from_commandline
5173 * gio/gwin32appinfo.c:
5175 Update for API changes
5177 * gio/gthemedicon.c:
5178 Properly NULL-terminate list of icon names
5180 2007-09-28 Alexander Larsson <alexl@redhat.com>
5182 * gio/gloadableicon.h:
5183 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
5185 2007-09-28 Alexander Larsson <alexl@redhat.com>
5188 Install headers in $includedir/gio-standalone/
5190 * gio-2.0.pc.in: Added.
5191 * gio-standalone.pc.in: Removed.
5194 Renamed pkg-config file to match glib (for future move)
5195 Update to the new include dir
5198 Add more TODO comments
5200 2007-09-28 Alexander Larsson <alexl@redhat.com>
5202 * gio/gdesktopappinfo.[ch]:
5203 Expose new_from_filename
5204 Add getter for is_hidden and handle it better
5206 2007-09-28 Alexander Larsson <alexl@redhat.com>
5208 * gio/gfileinfo.[ch]:
5209 Rename g_file_size_format_for_display to
5210 g_format_file_size_for_display.
5211 Now it doesn't have the g_file prefix, so we
5212 can later move it to glib.
5214 2007-09-28 Alexander Larsson <alexl@redhat.com>
5216 * gio/gappinfo.[ch]:
5217 Add g_app_info_get_id and g_app_info_get_executable.
5218 Make all getters non-reffing
5219 Make g_app_info_launch take GFile arguments.
5220 Add must_support_uris argument to g_app_info_get_default_for_type.
5222 * gio/gwin32appinfo.c:
5223 Update to GAppInfo api changes
5225 * gio/gdesktopappinfo.c:
5226 Update to GAppInfo api changes
5227 Implement supports_xdg_startup_notify
5229 * gio/gfileicon.c (g_file_icon_get_file):
5230 Make getter non-reffing.
5235 2007-09-27 Alexander Larsson <alexl@redhat.com>
5237 * gio/gfileinfo.[ch]:
5238 Add g_file_size_format_for_display helper
5240 2007-09-27 Alexander Larsson <alexl@redhat.com>
5242 * gio/glocalfileinfo.c:
5243 Set UNIX_GID from gid, not from uid
5245 2007-09-27 Alexander Larsson <alexl@redhat.com>
5248 Add g_file_set_attributes_async
5250 2007-09-27 Alexander Larsson <alexl@redhat.com>
5252 * gio/glocalfile.c (g_local_file_set_display_name):
5253 Fix set_display_name to actually rename to the right place.
5254 Use lstat to look for existing files so we don't overwrite
5257 2007-09-26 Alexander Larsson <alexl@redhat.com>
5260 Add g_file_set_display_name_async()
5262 2007-09-26 Alexander Larsson <alexl@redhat.com>
5265 Add load_partial_contents async calls
5268 Make internal function static
5270 2007-09-26 Alexander Larsson <alexl@redhat.com>
5272 * gio/glocalfileinfo.c:
5273 Correctly detect broken symlinks
5275 2007-09-26 Alexander Larsson <alexl@redhat.com>
5277 * gio/gcancellable.c (g_cancellable_cancel):
5278 Allow cancel on NULL cancellable
5280 2007-09-25 Alexander Larsson <alexl@redhat.com>
5282 * gio/gsimpleasyncresult.c:
5283 Don't allocate g_error manually.
5284 Fixes g_slice/g_new mixup crash
5286 2007-09-25 Alexander Larsson <alexl@redhat.com>
5288 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
5289 Actually set active_backend.
5290 This means the monitor will be cancelled correctly.
5292 2007-09-25 Alexander Larsson <alexl@redhat.com>
5294 * gio/gdirectorymonitor.c:
5295 Set timeout to NULL when destroying
5297 2007-09-25 Alexander Larsson <alexl@redhat.com>
5300 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
5301 that is a better description of the error.
5303 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
5305 * gio/gvfs.c: (g_vfs_get_local):
5306 Make the local vfs variable static. The same instance should
5309 2007-09-24 Alexander Larsson <alexl@redhat.com>
5311 * gio/glocalfileinfo.c:
5312 Pass in actual length read into sniffer, not the length
5315 2007-09-21 Alexander Larsson <alexl@redhat.com>
5317 * gio/gfileenumerator.c:
5320 * gio/gfileinputstream.c:
5321 * gio/gfileoutputstream.c:
5322 * gio/ginputstream.c:
5323 * gio/goutputstream.c:
5324 Don't crash if async callbacks are NULL
5326 2007-09-20 Alexander Larsson <alexl@redhat.com>
5329 Add async enumerate_children method and default
5332 2007-09-20 Alexander Larsson <alexl@redhat.com>
5335 Add g_file_contains_file & g_file_get_relative_path, since they
5336 were needed for nautilus.
5337 Renamed g_file_resolve_relative to g_file_resolve_relative_path
5342 Implement new methods
5344 2007-09-17 Alexander Larsson <alexl@redhat.com>
5347 * gio/gfileinputstream.[ch]:
5348 * gio/gfileoutputstream.[ch]:
5350 * gio/glocalfileenumerator.[ch]:
5351 * gio/glocalfileinfo.[ch]:
5352 * gio/glocalfileinputstream.c:
5353 * gio/glocalfileoutputstream.c:
5354 * gio/gpollfilemonitor.c:
5355 * programs/gio-copy.c:
5356 * programs/gio-info.c:
5357 * programs/gio-move.c:
5358 Rename get_file_info to query_info() to make it clearer
5359 that these are not simple getters, but do i/o.
5361 2007-09-17 Alexander Larsson <alexl@redhat.com>
5363 * gio/gdatainputstream.[ch]:
5364 * gio/test-streams.c:
5365 Use _read_XXX instead of _get_XXX for the i/o calls
5368 2007-09-17 Alexander Larsson <alexl@redhat.com>
5371 Added needed stuff to TODO comment
5373 2007-09-17 Alexander Larsson <alexl@redhat.com>
5375 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
5376 Don't error out removing the backup copy if it doesn't
5379 2007-09-14 Alexander Larsson <alexl@redhat.com>
5381 * programs/Makefile.am:
5382 * programs/gvfs-*.c:
5384 Renamed apps from gvfs-xxx to gio-xxx.
5386 2007-09-14 Alexander Larsson <alexl@redhat.com>
5389 * gio/gfileoutputstream.[ch]:
5390 * gio/glocalfileoutputstream.c:
5391 * programs/gvfs-save.c:
5392 g_file_output_stream_get_etag doesn't do i/o, so remove
5393 cancellation and error.
5395 2007-09-14 Alexander Larsson <alexl@redhat.com>
5398 Add new_etag output to replace_contents functions
5400 2007-09-14 Alexander Larsson <alexl@redhat.com>
5402 * gio/gfileoutputstream.[ch]:
5403 Add async get_file_info and default implementation
5405 2007-09-14 Alexander Larsson <alexl@redhat.com>
5407 * gio/gfileinputstream.c:
5408 Implement fallback wrapper for async get_file_info
5410 2007-09-14 Alexander Larsson <alexl@redhat.com>
5413 Add etag out argument to load_contents
5418 2007-09-14 Alexander Larsson <alexl@redhat.com>
5420 * gio/gcontenttype.c (looks_like_text):
5421 Whitespace like tab, cr and lf do not make the
5424 2007-09-14 Alexander Larsson <alexl@redhat.com>
5426 * gio/gfileinputstream.[ch]:
5427 Add async get_file_info.
5429 2007-09-13 Alexander Larsson <alexl@redhat.com>
5431 * gio/goutputstream.c (g_output_stream_write_all):
5432 Allow NULL for bytes_written
5434 2007-09-13 Alexander Larsson <alexl@redhat.com>
5436 * gio/gmemoryinputstream.[ch]:
5437 Add accessors for data
5439 2007-09-13 Alexander Larsson <alexl@redhat.com>
5441 * gio/gdatainputstream.c (g_data_input_stream_get_until):
5442 Don't crash if length is NULL