1 2007-12-19 Alexander Larsson <alexl@redhat.com>
4 Make g_io_modules_load_all_in_directory not unuse
5 loaded modules so that users of it can do stuff
7 Init internal "module" types.
8 Initialize static prio and name for types so that
9 we don't have to load modules to get it.
11 * gnativevolumemonitor.h:
13 Move is_supported to parent class so that
14 non-native monitors can avoid being initialized
15 too. (For instance GDaemonVolumeMonitor if we're
16 not using GDaemonVfs.)
18 * glocaldirectorymonitor.[ch]:
19 * glocalfilemonitor.[ch]:
20 * gunionvolumemonitor.c:
21 * gunixvolumemonitor.c:
23 Find plugins using the static prio+name to
24 avoid unnecessarily loading the modules.
26 2007-12-19 Alexander Larsson <alexl@redhat.com>
31 2007-12-19 Alexander Larsson <alexl@redhat.com>
33 * gunionvolumemonitor.c:
34 Store the native type as GType, not class so that
35 we can unload it. But still avoid unnecessarily
38 2007-12-19 David Zeuthen <davidz@redhat.com>
40 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
41 add signals 'disconnected' and 'eject-button' on GDrive. Add
42 signal 'removed' on GVolume and 'unmounted' on GMount.
44 * gdrive.c: (g_drive_base_init):
46 * gfile.c: (g_file_mount_mountable),
47 (g_file_mount_enclosing_volume):
50 * gmount.c: (g_mount_base_init):
52 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
53 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
54 * gvolume.c: (g_volume_base_init), (g_volume_mount):
58 2007-12-17 Matthias Clasen <mclasen@redhat.com>
60 * *.c: Fix up includes in the section docs.
62 2007-12-17 Alexander Larsson <alexl@redhat.com>
64 * gnativevolumemonitor.h:
65 * gunionvolumemonitor.c:
66 * gunixvolumemonitor.c:
67 Add is_supported() to GNativeVolumeMonitorClass so
68 that we can avoid having to create an object to see
69 if the backend is supported at runtime.
70 Also add name member and an env var to pick a specific
71 volume monitor backend.
75 Add cancellable to _g_mount_get_for_mount_path()
77 * glocaldirectorymonitor.c:
78 * glocalfilemonitor.c:
79 Avoid loading and unloading modules while sorting.
81 2007-12-17 Matthias Clasen <mclasen@redhat.com>
84 * gunixmounts.[hc]: Namespace waste reduction, move some
85 g_get_unix_mount functions to the g_unix_mount namespace.
88 * gunixvolumemonitor.c:
90 * glocaldirectorymonitor.c: Update all callers.
92 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
94 2007-12-17 Alexander Larsson <alexl@redhat.com>
97 Add doc comments about what GFile operations are
98 guaranteed to not block.
100 2007-12-17 Alexander Larsson <alexl@redhat.com>
103 Add missing #ifdef fixing OSX build.
104 (#503334, patch from Richard Hult)
106 2007-12-14 David Zeuthen <davidz@redhat.com>
110 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
111 (g_mount_eject), (g_mount_eject_finish):
113 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
114 (get_volume_for_uuid), (get_mount_for_uuid),
115 (g_union_volume_monitor_class_init),
116 (get_default_native_type_with_exclude), (get_default_native_type),
117 (get_native_type), (update_native_type),
118 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
119 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
120 (g_unix_mount_can_eject), (eject_unmount_cb),
121 (eject_unmount_read_error), (eject_unmount_do),
122 (g_unix_mount_unmount), (g_unix_mount_eject),
123 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
124 * gunixmounts.c: (g_unix_mount_guess_can_eject),
125 (g_unix_mount_point_guess_can_eject):
127 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
128 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
129 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
130 (g_unix_volume_mount), (g_unix_volume_eject),
131 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
132 * gunixvolumemonitor.c: (get_volume_for_uuid),
133 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
135 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
136 (g_volume_eject), (g_volume_eject_finish):
138 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
139 (g_volume_monitor_get_mount_for_uuid):
142 Provide eject() on both GMount and GVolume and utility functions
143 to guess whether a GUnixMountPoint or GUnixMountEntry should be
144 ejected. Introduce the concept of UUID's and wire it into GVolume
145 and GMount and provide API on GVolumeMonitor to find such
146 instances. Also handle the case where an external
147 GNativeVolumeMonitor fails to initialize. Lock around the
148 _g_get_mount_for_mount_path() function such that volume monitor
149 implementations won't have to do locking themselves.
151 2007-12-17 Matthias Clasen <mclasen@redhat.com>
159 * gvolume.h: Documentation updates
161 2007-12-14 Matthias Clasen <mclasen@redhat.com>
164 * gfile.h: Doc updates
166 2007-12-14 Matthias Clasen <mclasen@redhat.com>
169 * gdesktopappinfo.c: Use hash table iterators.
171 2007-12-14 Alexander Larsson <alexl@redhat.com>
174 * gfileattribute.[ch]:
175 * gfileattribute-priv.h:
176 Move GFileAttributeValue to a private header, as
180 Make set_attribute take a type + a pointer instead
181 of a GFileAttributeValue.
184 Fix up for above changes.
185 Add g_file_info_get_attribute_data to get
186 all info in one call, g_file_info_get_attribute_status
187 to get the status and g_file_info_get_attribute_as_string.
191 * glocalfileinfo.[ch]:
195 Make _guess_type static.
197 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
200 * inotify/Makefile.am: Fixed build when srcdir != builddir,
201 made mkenums and friends use temporary files to avoid leaving
202 empty generated files on failure (#503470).
204 2007-12-14 Alexander Larsson <alexl@redhat.com>
209 2007-12-14 Alexander Larsson <alexl@redhat.com>
213 * gfileattribute.[ch]:
216 * glocalfileoutputstream.c:
217 * gmountoperation.[ch]:
218 * goutputstream.[ch]:
219 Clean up all flags enums to not have _FLAGS in them
220 Make the names of some of the enums better.
225 2007-12-14 Michael Natterer <mitch@imendio.com>
227 * gio.symbols: fix g_io_scheduler symbol names.
229 2007-12-14 Alexander Larsson <alexl@redhat.com>
235 * gbufferedinputstream.h:
236 * gbufferedoutputstream.h:
239 * gdatainputstream.h:
240 * gdataoutputstream.h:
242 * gdirectorymonitor.h:
249 * gfileinputstream.h:
251 * gfilenamecompleter.h:
252 * gfileoutputstream.h:
253 * gfilterinputstream.h:
254 * gfilteroutputstream.h:
262 * gmemoryinputstream.h:
263 * gmemoryoutputstream.h:
268 * gsimpleasyncresult.h:
270 * gunixinputstream.h:
272 * gunixoutputstream.h:
276 * inotify/Makefile.am:
277 Only allow including <gio/gio.h> from apps
279 2007-12-14 Alexander Larsson <alexl@redhat.com>
282 * gsimpleasyncresult.c:
283 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
284 Split out the send_to_mainloop call into two versions instead
285 of having the block argument.
287 2007-12-13 Alexander Larsson <alexl@redhat.com>
291 * gbufferedinputstream.c:
293 * gfileinputstream.c:
294 * gfileoutputstream.c:
298 g_push/pop_current_cancellable ->
299 g_cancellable_push/pop_current
301 2007-12-13 Alexander Larsson <alexl@redhat.com>
305 Rename g_mount_for_location to g_file_mount_enclosing_volume.
307 2007-12-13 Alexander Larsson <alexl@redhat.com>
310 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
312 2007-12-12 Alexander Larsson <alexl@redhat.com>
315 Fix race condition when freeing proxy in
316 g_io_job_send_to_mainloop().
318 2007-12-12 Alexander Larsson <alexl@redhat.com>
324 Make attribute namespace separator "::" instead of ":".
325 Use - instead of _ as separator in attribute names.
327 2007-12-12 Alexander Larsson <alexl@redhat.com>
329 * gbufferedinputstream.h:
330 * gbufferedoutputstream.h:
331 * gdatainputstream.h:
332 * gdataoutputstream.h:
333 * gdirectorymonitor.h:
335 * gfileinputstream.h:
337 * gfileoutputstream.h:
338 * gfilterinputstream.h:
339 * gfilteroutputstream.h:
341 * glocalfileinputstream.h:
342 * glocalfileoutputstream.h:
343 * gmemoryinputstream.h:
344 * gmemoryoutputstream.h:
345 * gnativevolumemonitor.h:
347 * gunixinputstream.h:
348 * gunixoutputstream.h:
351 s/parent/parent_instance/ in GObjects
353 2007-12-12 Alexander Larsson <alexl@redhat.com>
358 No need for padding for interfaces
360 2007-12-12 Alexander Larsson <alexl@redhat.com>
364 * gbufferedinputstream.c:
365 * gbufferedoutputstream.c:
368 * gdatainputstream.[ch]:
370 * gdirectorymonitor.c:
372 * gfileattribute.[ch]:
375 * gfileinputstream.h:
377 * gfileoutputstream.[ch]:
378 * gfilterinputstream.h:
379 * gfilteroutputstream.h:
382 * gloadableicon.[ch]:
383 * gmemoryinputstream.c:
386 Fix up a bunch of details in the docs.
391 2007-12-11 David Zeuthen <davidz@redhat.com>
393 Rework how volumes, drives and volume monitoring is
394 done. Previosly the model was
398 where a GDrive instance represented a mount point and a GVolume
399 instance represented a mounted file system. This patch changes it
402 GDrive <1-N> GVolume <1-1> GMount
404 where GMount now serves the purpose of the old GVolume and the new
405 GVolume serves the purpose of the old GDrive. In addition the new
406 GDrive interface is used to represent a collection of GVolume
407 instances (typically partitions) and also contains utility to query
408 the state of the physical drive the GDrive object represents (such
409 as checking for media, polling the drive, ejecting the media etc.).
411 Also implement mounting and unmounting in the Unix volume monitor
412 backend. A subquent patch will introduce GDrive support for ejection
416 * gdrive.c: (g_drive_is_media_check_automatic),
417 (g_drive_is_media_removable), (g_drive_has_media),
418 (g_drive_can_poll_for_media), (g_drive_eject),
419 (g_drive_eject_finish), (g_drive_poll_for_media),
420 (g_drive_poll_for_media_finish):
422 * gfile.c: (g_file_find_enclosing_mount):
425 * glocaldirectorymonitor.c:
426 (g_local_directory_monitor_constructor), (mounts_changed):
427 * glocalfile.c: (get_mount_info),
428 (g_local_file_find_enclosing_mount),
429 (g_local_file_file_iface_init):
430 * gnativevolumemonitor.h:
431 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
432 (get_connected_drives), (g_union_volume_monitor_class_init),
433 (child_volume_added), (child_volume_removed),
434 (child_volume_changed), (child_mount_added), (child_mount_removed),
435 (child_mount_pre_unmount), (child_mount_changed),
436 (child_drive_changed), (g_union_volume_monitor_add_monitor),
437 (g_union_volume_monitor_remove_monitor),
438 (_g_mount_get_for_mount_path):
439 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
440 (guess_system_internal), (_g_get_unix_mounts),
441 (_g_get_unix_mount_points), (g_get_unix_mount_at),
442 (g_unix_mount_free), (g_unix_mount_compare),
443 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
444 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
445 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
446 (type_to_icon), (g_unix_mount_guess_name),
447 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
448 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
449 (_resolve_symlink), (_resolve_dev_root):
451 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
452 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
453 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
454 (g_unix_volume_get_name), (g_unix_volume_can_mount),
455 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
456 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
457 (g_unix_volume_mount), (g_unix_volume_mount_finish),
458 (g_unix_volume_volume_iface_init):
460 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
461 (get_mounts), (get_volumes), (get_connected_drives),
462 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
463 (mountpoints_changed), (mounts_changed),
464 (g_unix_volume_monitor_init),
465 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
466 (find_mount_by_mountpath), (update_volumes), (update_mounts):
467 * gunixvolumemonitor.h:
468 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
469 (g_volume_mount), (g_volume_mount_finish):
471 * gvolumemonitor.c: (g_volume_monitor_class_init),
472 (g_volume_monitor_get_connected_drives),
473 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
476 2007-12-10 Matthias Clasen <mclasen@redhat.com>
478 * gmountoperation.h (GPasswordFlags): Close the gap
480 2007-12-10 Matthias Clasen <mclasen@redhat.com>
482 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
484 * gdesktopappinfo.[hc]: Remove _-prefixes
486 2007-12-10 Tor Lillqvist <tml@novell.com>
488 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
491 2007-12-10 Alexander Larsson <alexl@redhat.com>
493 * gfile.c (g_file_set_display_name):
494 Don't hardcode '/' (#502727)
496 2007-12-09 Hans Breuer <hans@breuer.org>
498 * makefile.msc : follow lib naming convention
499 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
500 for user and group name, tested with ../tests/gio-ls
502 2007-12-09 A. Walton <awalton@svn.gnome.org>
515 * gmemoryinputstream.c:
516 * gmemoryoutputstream.c:
518 * gsimpleasyncresult.c:
519 More documentation cleanup and filling in missing information, bringing
520 GIO to 99% symbol coverage.
522 2007-12-08 Hans Breuer <hans@breuer.org>
524 [gio compiles and links on win32, not sure how much already works]
525 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
526 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
527 base on win32 API; prefer g_lstat() over lstat(); instead of
528 localtime_r() use an all GLib implementation on win32;
529 get_mount_info() still needs a win32 specifc implementation
530 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
531 win32_get_file_user_info to get owner/group info without uid/gid
532 * glocalfileinputstream.c : include <io.h> on win32
533 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
534 definition, use g_win32_ftruncate() for G_OS_WIN32
535 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
536 it is available with mingw/w32api but a mess with the M$ Platform SDKs
537 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
538 * makefile.msc : updated
540 2007-12-07 Alexander Larsson <alexl@redhat.com>
542 * glocalfileenumerator.c (_g_local_file_enumerator_new):
543 Avoid warning spew if error == NULL
545 2007-12-07 Alexander Larsson <alexl@redhat.com>
548 Update docs wrt etags
550 2007-12-06 Alexander Larsson <alexl@redhat.com>
553 Include sys/types.h for dev_t (#501919)
555 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
559 Make abicheck and pltcheck pass.
561 2007-12-05 Alexander Larsson <alexl@redhat.com>
564 * giomodule-priv.h: Added.
565 * glocaldirectorymonitor.c:
566 * glocalfilemonitor.c:
567 * gunionvolumemonitor.c:
569 Actually add the declaration of _g_io_modules_ensure_loaded
571 2007-12-05 Alexander Larsson <alexl@redhat.com>
573 * gdatainputstream.c:
578 * glocaldirectorymonitor.c:
579 * glocalfilemonitor.c:
580 * gunionvolumemonitor.c:
582 Make g_io_modules_ensure_loaded a private function and
583 don't pass in the dirname. This means we can do magic
584 directory finding in the win32 version.
585 Export the actual load-modules-in-directory code so that
588 2007-12-05 Alexander Larsson <alexl@redhat.com>
590 * gbufferedinputstream.c:
591 * gbufferedoutputstream.c:
594 * gfileenumerator.[ch]:
595 * gfileinputstream.c:
596 * gfileoutputstream.[ch]:
597 * gfilterinputstream.c:
598 * gfilteroutputstream.c:
601 * glocalfileenumerator.c:
602 * glocalfileinputstream.c:
603 * glocalfileoutputstream.c:
604 * gmemoryinputstream.c:
605 * gmemoryoutputstream.c:
606 * goutputstream.[ch]:
609 * gunixinputstream.c:
610 * gunixoutputstream.c:
611 Rename all struct members named:
612 read, write, close, truncate, or mount
613 to foo_fn, as these are reserved names
614 and could be defined as macros in libc.
617 2007-12-04 Alexander Larsson <alexl@redhat.com>
620 (g_output_stream_close):
621 Only call flush if non-null.
623 2007-11-30 Dan Winship <danw@gnome.org>
625 * ginputstream.c (g_input_stream_set_pending): Make this take a
626 GError and return a gboolean, and do the "outstanding operation"
627 check (and the "stream is already closed" check) itself.
628 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
630 * goutputstream.c (g_output_stream_set_pending)
631 (g_output_stream_clear_pending): Likewise
633 * gbufferedinputstream.c:
634 * gfileinputstream.c:
635 * gfileoutputstream.c: Update for that
637 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
638 Like g_simple_async_report_error_in_idle, but takes a GError
639 rather than building one.
641 2007-11-30 Dan Winship <danw@gnome.org>
643 * goutputstream.c: Don't cheat and unset the "pending" flag around
644 inner calls. Instead, call the class method directly rather than
645 the wrapper function that checks "pending"
647 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
649 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
651 2007-12-03 Hans Breuer <hans@breuer.org>
653 [start of port to win32/msvc]
654 * gcancellable.c : HAVE_UNIST_H and _pipe()
655 * gcontenttype.c : only include <dirent.h> in the UNIX branch
656 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
657 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
659 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
660 * glocalvfs.c : use HAVE_PWD_H
661 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
662 * makefile.msc : new file (maybe later converted to makefile.msc.in)
663 * Makefile.am : added to EXTRA_DIST
665 2007-12-03 Matthias Clasen <mclasen@redhat.com>
667 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
670 2007-12-03 Alexander Larsson <alexl@redhat.com>
673 Handle OSX style xattrs API (#500506)
675 2007-12-03 Alexander Larsson <alexl@redhat.com>
679 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
681 2007-12-02 A. Walton <awalton@svn.gnome.org>
685 Documentation accuracy fixes.
687 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
689 * gioenumtypes.c.template: Fix typo.
691 2007-12-01 Matthias Clasen <mclasen@redhat.com>
693 * gioenumtypes.c.template: Make threadsafe get_type() functions.
695 2007-12-01 Matthias Clasen <mclasen@redhat.com>
697 * gdirectorymonitor.c:
698 * gfilemonitor.c: Add properties
700 * gbufferedoutputstream.c: Don't mark buffer-size property
703 2007-12-01 Matthias Clasen <mclasen@redhat.com>
705 * gbufferedoutputstream.c: Add auto-grow property.
707 2007-11-30 Matthias Clasen <mclasen@redhat.com>
709 * *.c: Unify the capitalization of section headings.
711 2007-11-30 Matthias Clasen <mclasen@redhat.com>
713 * gmountoperation.c: Add properties
715 * gdatainputstream.c: Turn byte-order and newline-type into
718 2007-11-30 Matthias Clasen <mclasen@redhat.com>
720 * gioenumtypes.[hc].template: Templates for enum registration
722 * Makefile.am: Generate gioenumtypes.[hc]
724 * gio.h: Include gioenumtypes.h
726 * gfile.h: Add some explicit nicks.
728 * gio.symbols: Add new symbols
730 * pltcheck.sh: Adjust
732 2007-11-30 Matthias Clasen <mclasen@redhat.com>
734 * *.c: Explain etags and link to the explanation
736 2007-11-29 Matthias Clasen <mclasen@redhat.com>
738 * *.c: Explain I/O priority.
740 * *.c: More coding style fixes.
742 2007-11-29 Matthias Clasen <mclasen@redhat.com>
744 * gasyncresult.c: Add another paragraph to the intro,
745 adjust coding style of example.
747 2007-11-29 A. Walton <awalton@svn.gnome.org>
750 Fixes unknown meaning in GAppLaunchContext docs.
752 Clarify asynchronous ops.
757 Provides missing gtk-doc section, fixes API docs slighly.
758 * gsimpleasyncresult.c:
759 Fill in missing info in docs.
760 * gunixinputstream.c:
761 * gunixoutputstream.c:
762 Be more expressive in short description.
764 Remove gtk-doc stubs for non-public API.
766 2007-11-28 Matthias Clasen <mclasen@redhat.com>
768 * *.c: Coding style fixups
770 2007-11-28 Matthias Clasen <mclasen@redhat.com>
772 * inotify/inotify-helper.c: Don't export the lock from libgio.
774 2007-11-28 Matthias Clasen <mclasen@redhat.com>
777 * abicheck.sh: Fix copy-and-paste leftovers
779 2007-11-28 Matthias Clasen <mclasen@redhat.com>
781 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
783 2007-11-28 Alexander Larsson <alexl@redhat.com>
787 Removed unnecessary file
789 * gdesktopappinfo.[ch]:
792 * glocaldirectorymonitor.[ch]:
794 * glocalfileenumerator.[ch]:
795 * glocalfileinputstream.[ch]:
796 * glocalfilemonitor.[ch]:
797 * glocalfileoutputstream.[ch]:
799 * gnativevolumemonitor.c:
800 * gpollfilemonitor.[ch]:
801 * gunionvolumemonitor.[ch]:
804 * gunixvolumemonitor.[ch]:
807 * inotify/ginotifydirectorymonitor.[ch]:
808 * inotify/ginotifyfilemonitor.[ch]:
809 * inotify/inotify-helper.c:
810 Append _ to all internal functions
814 Export symbols needed for modules
816 2007-11-28 Alexander Larsson <alexl@redhat.com>
819 * abicheck.sh: Added.
820 * makegioalias.pl: Added.
821 * pltcheck.sh: Added.
822 * gio.symbols: Added.
825 Initial work on adding symbol handling.
828 Correct ifdef guard name
831 * inotify/Makefile.am:
832 * xdgmime/Makefile.am:
833 Include toplevel Makefile.decl
835 2007-11-27 Matthias Clasen <mclasen@redhat.com>
837 * gcontenttype.c: Move doc comments to the unix section.
839 * *.[hc]: More trivial doc corrections.
841 2007-11-27 Matthias Clasen <mclasen@redhat.com>
843 * gpollfilemonitor.c:
852 * gdatainputstream.c:
853 * gdatainputstream.h:
854 * gdataoutputstream.c:
855 * gdataoutputstream.h:
856 * gfileinfo.h: Doc cleanups
858 2007-11-28 Andre Klapper <a9016009@gmx.de>
860 * gdesktopappinfo.c: Fix a typo.
862 2007-11-27 Andre Klapper <a9016009@gmx.de>
864 * glocalfileoutputstream.c: Fix a typo.
866 2007-11-27 Alexander Larsson <alexl@redhat.com>
869 Don't include removed headers
871 2007-11-27 Alexander Larsson <alexl@redhat.com>
874 * gsocketinputstream.[ch]: Removed.
875 * gsocketoutputstream.[ch]: Removed.
876 * gunixinputstream.[ch]: Added.
877 * gunixoutputstream.[ch]: Added.
878 Renamed GSocket*Stream to GUnix*Stream and made
879 it unix-only, since its not really only for sockets
880 and it only works on unix (but is highly useful there).
882 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
888 * gbufferedinputstream.c:
889 * gbufferedinputstream.h:
890 * gbufferedoutputstream.c:
891 * gbufferedoutputstream.h:
895 * gdatainputstream.c:
896 * gdatainputstream.h:
897 * gdataoutputstream.c:
898 * gdataoutputstream.h:
899 * gdirectorymonitor.c:
900 * gdirectorymonitor.h:
913 * gfileinputstream.c:
914 * gfileinputstream.h:
917 * gfilenamecompleter.c:
918 * gfilenamecompleter.h:
919 * gfileoutputstream.c:
920 * gfileoutputstream.h:
921 * gfilterinputstream.c:
922 * gfilterinputstream.h:
923 * gfilteroutputstream.c:
924 * gfilteroutputstream.h:
937 * glocalfileoutputstream.c:
938 * gmemoryinputstream.c:
939 * gmemoryinputstream.h:
940 * gmemoryoutputstream.c:
941 * gmemoryoutputstream.h:
946 * gpollfilemonitor.c:
949 * gsimpleasyncresult.c:
950 * gsimpleasyncresult.h:
951 * gsocketinputstream.c:
952 * gsocketinputstream.h:
953 * gsocketoutputstream.c:
954 * gsocketoutputstream.h:
961 * gunixvolumemonitor.c:
970 Bumps documentation to 93% symbol coverage, touching most
971 of the public files. Fixes broken function documentation prototypes.
972 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
973 gtk-doc headers in private files.
975 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
977 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
978 (g_buffered_input_stream_read_byte):
979 * gbufferedinputstream.h:
980 New functions for efficient access to buffer and simple single byte
983 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
984 (g_data_input_stream_read_until):
985 * gdatainputstream.h:
986 Use peek_buffer to avoid memcpy in scan_for_newline, implement
987 read_until with multiple stop chars.
989 2007-11-27 Alexander Larsson <alexl@redhat.com>
993 * inotify/Makefile.am:
994 Use the user-specified giomoduledir
996 2007-11-27 Alexander Larsson <alexl@redhat.com>
1000 Add catch-all gio.h header
1001 Don't install gdummyfile.h
1003 2007-11-26 Alexander Larsson <alexl@redhat.com>
1005 * Makefile.am (gioinclude_HEADERS):
1006 Remove trailing whitespace
1008 2007-11-26 Alexander Larsson <alexl@redhat.com>
1010 Merge gio-standalone into glib
1012 2007-11-25 Christian Kellner <gicmo@gnome.org>
1014 * gio/goutputstream.c:
1015 Fix small mistake in the docs.
1017 2007-11-21 Christian Persch <chpe@gnome.org>
1019 * gio/glocalfile.c: (g_local_file_trash):
1020 Convert filenames to UTF-8 for GError.
1021 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1022 as per xdg base dir spec.
1024 2007-11-21 Christian Persch <chpe@gnome.org>
1026 * gio/gdesktopappinfo.c:
1027 Use that g_key_file_to_data cannot fail.
1029 Use stock defines for the key file group and key names.
1032 2007-11-21 Alexander Larsson <alexl@redhat.com>
1035 (copy_stream_with_progress):
1036 Make sure we do a final progress callback with
1037 the full total size.
1039 2007-11-21 Alexander Larsson <alexl@redhat.com>
1042 Export g_file_copy_attributes
1043 Remove padding as its not needed for interfaces
1045 2007-11-20 Alexander Larsson <alexl@redhat.com>
1050 Add G_IO_ERROR_WOULD_MERGE for
1051 copy/move dir on dir with overwrite.
1053 2007-11-20 Alexander Larsson <alexl@redhat.com>
1056 * gio/glocalfileinfo.c:
1057 Add COPY_NAME (this is an optional
1058 non-modified utf8 version of the name) that
1061 2007-11-20 Alexander Larsson <alexl@redhat.com>
1063 * gio/glocalfileenumerator.c:
1064 Report errors as GIOError, not GFileError
1066 2007-11-16 Alexander Larsson <alexl@redhat.com>
1068 * gio/glocalfileoutputstream.c:
1069 * gio/gwin32appinfo.c:
1070 Fix typos in strings.
1071 Patch from Luca Ferretti <elle.uca@libero.it>
1073 2007-11-15 Alexander Larsson <alexl@redhat.com>
1076 Post release version bump
1078 === gio-standalone 0.1.2 ===
1080 2007-11-15 Alexander Larsson <alexl@redhat.com>
1082 * docs/reference/gio/Makefile.am:
1083 Fix up distcheck by removing weird
1089 2007-11-14 Alexander Larsson <alexl@redhat.com>
1091 * gio/gdesktopappinfo.c:
1092 * gio/glocaldirectorymonitor.c:
1094 * gio/glocalfileinfo.c:
1095 * gio/inotify/inotify-sub.c:
1096 * programs/gio-cat.c:
1097 * programs/gio-copy.c:
1098 * programs/gio-info.c:
1099 * programs/gio-ls.c:
1100 * programs/gio-monitor-dir.c:
1101 * programs/gio-monitor-file.c:
1102 * programs/gio-mount.c:
1103 * programs/gio-move.c:
1104 * programs/gio-rm.c:
1105 * programs/gio-save.c:
1106 * programs/gio-trash.c:
1107 Leak fixes from Kjartan Maraas
1109 2007-11-14 Alexander Larsson <alexl@redhat.com>
1111 * gio/fam/fam-helper.c:
1113 * gio/glocalfileinfo.c:
1117 * gio/inotify/inotify-diag.c:
1118 * gio/inotify/inotify-kernel.c:
1119 Various code cleanups from Kjartan Maraas
1121 2007-11-14 Alexander Larsson <alexl@redhat.com>
1123 * gio/gioscheduler.c:
1125 Set up threadpool so that we cache 2 unused
1126 idle threads for at 15 secs. This means we
1127 will reuse thread-local data (like dbus connections)
1130 2007-11-14 Alexander Larsson <alexl@redhat.com>
1132 * gio/fam/fam-helper.c:
1133 * gio/fam/gfamdirectorymonitor.c:
1134 * gio/fam/gfamfilemonitor.c:
1136 * gio/gcontenttype.c:
1137 * gio/gdatainputstream.c:
1138 * gio/gdataoutputstream.c:
1142 * gio/gfileattribute.h:
1143 * gio/gfileenumerator.c:
1145 * gio/ginputstream.c:
1148 * gio/glocalfileinfo.c:
1149 * gio/goutputstream.c:
1150 * gio/gpollfilemonitor.c:
1151 * gio/gsimpleasyncresult.c:
1152 * gio/gunixmounts.c:
1153 * gio/gunixmounts.h:
1154 * gio/inotify/ginotifydirectorymonitor.c:
1155 * gio/inotify/ginotifyfilemonitor.c:
1156 * gio/inotify/inotify-diag.c:
1157 * gio/inotify/inotify-kernel.c:
1158 * gio/inotify/inotify-path.c:
1160 * gio/test-streams.c:
1161 * programs/gio-info.c:
1162 * programs/gio-monitor-dir.c:
1163 * programs/gio-monitor-file.c:
1164 Various code cleanups from Kjartan Maraas
1166 2007-11-13 Alexander Larsson <alexl@redhat.com>
1169 Handle the uri-scheme calls for dummy files
1171 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1173 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1174 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1175 to avoid clash with the C++ keyword.
1177 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1179 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1180 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1182 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1184 * gio/glocaldirectorymonitor.c:
1185 * gio/glocalfilemonitor.c:
1186 * gio/gunionvolumemonitor.c:
1187 Don't use g_once_init_*() for initializations that could fail and
1188 could leave the initialization variable set to 0 but use GOnce.
1189 This prevents a deadlock on the second call when trying to create
1190 a monitor and no monitor type is available. Thanks to Sven Herzberg
1193 2007-11-11 Sven Herzberg <sven@imendio.com>
1195 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1196 #ifdef (make it work on MacOS X again)
1198 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1200 Fixes Changelog for last two commits (sorry guys).
1202 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1204 * gio/gbufferedinputstream.c:
1205 * gio/gdatainputstream.c:
1207 * gio/gfileoutputstream.c:
1208 * gio/gfilterinputstream.c:
1209 * gio/glocalfileinputstream.c:
1212 More consistency fixes in g*stream.c files.
1213 Significant clean of gfile's documentation, filling in of
1214 asynchronous operations documentation.
1216 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1218 * gio/gasyncresult.c:
1219 * gio/gbufferedinputstream.c:
1220 * gio/gbufferedoutputstream.c:
1221 * gio/gcancellable.c:
1222 * gio/gcontenttype.c:
1223 * gio/gdatainputstream.c:
1224 * gio/gdataoutputstream.c:
1225 * gio/gdesktopappinfo.c:
1228 * gio/gfileattribute.c:
1229 * gio/gio/gfileenumerator.c:
1231 * gio/gfileinputstream.c:
1232 * gio/gfilemonitor.c:
1233 * gio/gfileoutputstream.c:
1234 * gio/ginputstream.c:
1236 * gio/gioscheduler.c:
1237 * gio/gloadableicon.c:
1238 * gio/glocalfileoutputstream.c:
1239 * gio/gmemoryoutputstream.c:
1240 * gio/gmountoperation.c:
1241 * gio/goutputstream.c:
1243 * gio/gsimpleasyncresult.c:
1244 * gio/gunionvolumemonitor.c:
1245 * gio/gunixmounts.c:
1246 * gio/gunixvolume.c:
1250 * gio/gvolumemonitor.c:
1251 Updated documentation stubs, working towards consistency and
1254 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1256 * gio/gmemoryoutputstream.c:
1257 * gio/gmemoryoutputstream.h:
1258 Change g_memory_output_stream_set_free_on_close() to
1259 g_memory_output_stream_set_free_data() as this makes more sense and
1260 is more consistent with GMemoryInputStream.
1262 2007-11-07 Alexander Larsson <alexl@redhat.com>
1269 Change how we find the default vfs so that
1270 we can handle a gvfs failing to init
1272 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1274 * gio/gbufferedoutputstream.c:
1275 * gio/gdatainputstream.c:
1276 * gio/gdataoutputstream.c:
1277 * gio/gfileinputstream.c:
1278 * gio/gfileoutputstream.c:
1279 * gio/gfilterinputstream.c:
1280 * gio/gfilteroutputstream.c:
1281 * gio/ginputstream.c:
1282 * gio/gmemoryinputstream.c:
1283 * gio/gmemoryoutputstream.c:
1284 * gio/goutputstream.c:
1285 * gio/gsimpleasyncresult.c:
1286 * gio/gsocketinputstream.c:
1287 * gio/gsocketoutputstream.c:
1288 Add guards to the remaining public functions, add a TODO for
1289 an unimplemented function and remove some useless guards.
1291 2007-11-07 Alexander Larsson <alexl@redhat.com>
1294 Autoconf checks for the various types of
1295 getpwuid_r and getgrgid_r
1297 * gio/glocalfileinfo.c:
1298 Use the autoconf checks from above
1300 2007-11-07 Alexander Larsson <alexl@redhat.com>
1303 (g_local_file_query_filesystem_info):
1304 Some fixes for the statvfs case
1306 2007-11-07 Alexander Larsson <alexl@redhat.com>
1309 (g_local_file_query_filesystem_info):
1310 Pick the "best" of statfs / statvfs for the system
1311 if both are availible.
1313 2007-11-07 Alexander Larsson <alexl@redhat.com>
1315 Solaris fixes from Halton.Huo@Sun.COM:
1322 * gio/glocalfileinfo.c:
1323 Fix for solaris definition of getpwuid_r
1325 * gio/test-streams.c:
1326 Use G_GNUC_PRETTY_FUNCTION
1328 2007-11-07 Alexander Larsson <alexl@redhat.com>
1330 * gio/gdesktopappinfo.c:
1331 (update_default_list):
1332 Remove double semicolon.
1333 Patch from Jens Granseuer
1335 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1337 * docs/reference/gio/gio-sections.txt:
1338 * gio/gbufferedinputstream.c:
1339 * gio/gbufferedinputstream.h:
1340 * gio/gdatainputstream.c:
1341 * gio/gfileenumerator.c:
1342 * gio/gioscheduler.c:
1343 * gio/gunionvolumemonitor.c:
1345 * programs/gio-save.c:
1346 Fix typo: availible -> available. Unfortuntely this breaks API
1347 and ABI as g_buffered_input_stream_get_available() was renamed.
1349 * gio/gunixmounts.c:
1350 * gio/gbufferedinputstream.c:
1351 Add guards for public functions.
1353 2007-11-06 Ross Burton <ross@openedhand.com>
1355 * docs/reference/gio/Makefile.am:
1356 Fix invalid += usage which automake 1.10 doesn't like.
1358 2007-11-06 Alexander Larsson <alexl@redhat.com>
1361 (g_app_launch_context_class_init):
1364 Patch from Ross Burton
1366 2007-11-06 Alexander Larsson <alexl@redhat.com>
1369 Post release version bump
1371 === gio-standalone 0.1.1 ===
1373 2007-11-06 Alexander Larsson <alexl@redhat.com>
1376 Bump version to 0.1.1
1378 * gio/gsimpleasyncresult.c:
1379 (g_simple_async_result_set_from_error):
1380 Remove bogus g_return_if_fail
1382 2007-11-06 Alexander Larsson <alexl@redhat.com>
1385 The name is gio-standalone
1388 Add top src/builddir to includedir
1390 2007-11-06 Alexander Larsson <alexl@redhat.com>
1392 * docs/reference/gio/gio-sections.txt:
1394 * gio/gbufferedinputstream.c:
1395 * gio/gbufferedoutputstream.c:
1396 * gio/gcancellable.c:
1397 * gio/gdatainputstream.h:
1398 * gio/gdataoutputstream.c:
1399 * gio/gdataoutputstream.h:
1400 * gio/gdirectorymonitor.c:
1402 * gio/gfileattribute.c:
1403 * gio/gfileattribute.h:
1404 * gio/gfileenumerator.c:
1405 * gio/gfileenumerator.h:
1408 * gio/gfileinputstream.h:
1409 * gio/gfilemonitor.c:
1410 * gio/gfileoutputstream.h:
1411 * gio/glocalfilemonitor.h:
1412 * gio/glocalfileoutputstream.h:
1413 * gio/gmemoryinputstream.c:
1414 * gio/gmemoryoutputstream.c:
1415 * gio/gmountoperation.c:
1416 * gio/goutputstream.c:
1417 * gio/goutputstream.h:
1419 * gio/gsimpleasyncresult.c:
1420 * gio/gunixmounts.c:
1421 * gio/gunixmounts.h:
1423 * gio/inotify/inotify-helper.c:
1424 Fix gtk-doc warnings
1426 Patch from Ross Burton
1428 2007-11-06 Alexander Larsson <alexl@redhat.com>
1430 * gio/gfilenamecompleter.c:
1431 (g_filename_completer_get_completions):
1434 * gio/gunixvolume.c:
1435 Remove unused function
1437 Patches from Ross Burton
1439 2007-11-06 Alexander Larsson <alexl@redhat.com>
1444 Padding not needed for interfaces
1446 2007-11-06 Alexander Larsson <alexl@redhat.com>
1448 * gio/gfilemonitor.c:
1452 Make giotypes.h an internal file
1455 * gio/gbufferedinputstream.h:
1456 * gio/gbufferedoutputstream.h:
1457 * gio/gcancellable.h:
1458 * gio/gdatainputstream.h:
1459 * gio/gdataoutputstream.h:
1460 * gio/gdirectorymonitor.c:
1461 * gio/gdirectorymonitor.h:
1466 * gio/gfileattribute.h:
1467 * gio/gfileenumerator.h:
1472 * gio/gfilemonitor.c:
1473 * gio/gfilemonitor.h:
1474 * gio/gfilenamecompleter.c:
1475 * gio/gfilenamecompleter.h:
1476 * gio/gfilterinputstream.h:
1477 * gio/gfilteroutputstream.h:
1478 * gio/ginputstream.h:
1479 * gio/gmemoryinputstream.h:
1480 * gio/gmemoryoutputstream.h:
1481 * gio/gmountoperation.c:
1482 * gio/gmountoperation.h:
1483 * gio/gnativevolumemonitor.c:
1484 * gio/goutputstream.h:
1487 * gio/gsimpleasyncresult.c:
1488 * gio/gsimpleasyncresult.h:
1489 * gio/gsocketinputstream.h:
1490 * gio/gsocketoutputstream.h:
1491 * gio/gthemedicon.c:
1492 * gio/gthemedicon.h:
1496 * gio/gvolumemonitor.c:
1497 * gio/gvolumemonitor.h:
1498 Add padding in classes where it seems useful
1499 Don't include giotypes.h from public headers
1500 Move in Class definitions into c file where possible
1505 2007-11-06 Alexander Larsson <alexl@redhat.com>
1507 * docs/reference/gio/gio-docs.xml:
1508 Better structure for API docs
1510 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1513 * gio/gloadableicon.c:
1514 * gio/gsimpleasyncresult.c:
1515 * gio/gthemedicon.c:
1516 Add some more guards to public functions. Only files missing are now
1519 2007-11-06 Alexander Larsson <alexl@redhat.com>
1521 * docs/reference/gio/gio-docs.xml:
1522 Remove old files, add missing ones
1524 2007-11-06 Alexander Larsson <alexl@redhat.com>
1526 * docs/reference/gio/gio-sections.txt:
1529 Hide implementation classes
1531 * gio/gdriveprivate.h:
1532 * gio/gvolumeprivate.h:
1533 Remove non-existing function declarations
1535 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1538 Fix compilation warnings and add guards to the new functions.
1540 * gio/gasyncresult.c:
1542 Add guards to the public functions.
1545 Implement get_path().
1547 2007-11-06 Alexander Larsson <alexl@redhat.com>
1549 * gio/gfilenamecompleter.c:
1550 Make g_filename_completer_get_completions
1551 return char ** instead of GList for
1554 * docs/reference/gio/gio-docs.xml:
1555 * docs/reference/gio/gio-sections.txt:
1557 * gio/gasyncresult.c:
1558 * gio/gbufferedinputstream.c:
1559 * gio/gbufferedoutputstream.c:
1560 * gio/gcancellable.c:
1561 * gio/gcontenttype.c:
1562 * gio/gdatainputstream.c:
1563 * gio/gdataoutputstream.c:
1564 * gio/gdesktopappinfo.c:
1565 * gio/gdirectorymonitor.c:
1569 * gio/gfileattribute.c:
1570 * gio/gfileenumerator.c:
1573 * gio/gfileinputstream.c:
1574 * gio/gfilemonitor.c:
1575 * gio/gfilenamecompleter.c:
1576 * gio/gfilenamecompleter.h:
1577 * gio/gfileoutputstream.c:
1578 * gio/gfilterinputstream.c:
1580 * gio/ginputstream.c:
1582 * gio/gioscheduler.c:
1583 * gio/gloadableicon.c:
1584 * gio/glocaldirectorymonitor.c:
1586 * gio/glocalfileinputstream.c:
1587 * gio/glocalfilemonitor.c:
1588 * gio/glocalfileoutputstream.c:
1590 * gio/gmemoryinputstream.c:
1591 * gio/gmemoryoutputstream.c:
1592 * gio/gmountoperation.c:
1593 * gio/goutputstream.c:
1594 * gio/gpollfilemonitor.c:
1596 * gio/gsimpleasyncresult.c:
1597 * gio/gsocketinputstream.c:
1598 * gio/gsocketoutputstream.c:
1599 * gio/gthemedicon.c:
1600 * gio/gunionvolumemonitor.c:
1602 * gio/gunixmounts.c:
1603 * gio/gunixvolume.c:
1604 * gio/gunixvolumemonitor.c:
1608 * gio/gvolumemonitor.c:
1609 * gio/gwin32appinfo.c:
1610 Add (mostly stub) doc strings to public functions.
1611 Patch from Andrew Walton (awalton@gmail.com)
1613 2007-11-06 Alexander Larsson <alexl@redhat.com>
1615 * gio/gappinfo.[ch]:
1616 Added GAppLaunchContext object and pass that to launch.
1617 This allows simple implementation of both
1618 launch-on-screen and startup notification via a gtk+
1619 subclass of GAppLaunchContext
1621 * gio/gdesktopappinfo.c:
1622 Implement GAppLaunchContext API
1624 * gio/gwin32appinfo.c:
1627 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1629 * gio/gmountoperation.c:
1630 Add some guards to GMountOperation's public functions.
1632 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1636 * gio/gcancellable.c:
1637 * gio/gdirectorymonitor.c:
1639 * gio/gfileenumerator.c:
1640 * gio/gfilemonitor.c:,
1641 * gio/gfilenamecompleter.c:
1644 * gio/gioscheduler.c:
1648 * gio/gvolumemonitor.c:
1649 Add even more guards to various public functions.
1651 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1654 Add guards to the public functions of GAppInfo.
1656 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1658 * gio/gcontenttype.c:
1659 Add some more guards for public functions.
1661 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1663 * gio/fam/fam-module.c:
1664 * gio/fam/gfamdirectorymonitor.c:
1665 * gio/fam/gfamdirectorymonitor.h:
1666 * gio/fam/gfamfilemonitor.c:
1667 * gio/fam/gfamfilemonitor.h:
1668 * gio/inotify/ginotifydirectorymonitor.c:
1669 * gio/inotify/ginotifydirectorymonitor.h:
1670 * gio/inotify/ginotifyfilemonitor.c:
1671 * gio/inotify/ginotifyfilemonitor.h:
1672 Add proper copyright information and remove an unused variable
1673 in the GInotifyFileMonitor constructor.
1675 * gio/gcancellable.c:
1676 Add a guard for a public function and an assertion to prevent
1677 an undefined program state.
1679 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1681 * gio/gfileattribute.c:
1682 Don't run into an assertion if the given attribute value is NULL
1683 in g_file_attribute_value_get_*() but instead return a fallback
1684 value that makes sense in most situations. Passing them a attribute
1685 value with the wrong type will still run into an assertion.
1687 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1689 * gio/gfileattribute.c:
1691 Add even more guards to the public functions. Also fix the refcounting
1692 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1693 let g_file_info_list_attributes() filter the attributes by namespace
1694 instead of simply ignoring the namespace parameter.
1696 2007-11-03 Sven Herzberg <sven@imendio.com>
1698 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1699 (This makes gio work on MacOS X again)
1701 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1704 Build the gio subdirectory before the docs. Otherwise the build will
1707 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1708 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1709 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1710 Add guards to the public functions.
1712 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1714 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1715 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1716 to prevent a compiler warning.
1718 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1719 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1720 return something in the non-void function find_topdir_for().
1722 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1729 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1731 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1732 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1733 * gwin32appinfo.c (g_win32_app_info_launch):
1734 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1735 envp_for_startup_id, g_desktop_app_info_launch,
1736 g_desktop_app_info_launch_uris):
1738 Give an opaque 'startup_id' string instead of 'envp'.
1739 Support empty file lists for launching new windows.
1740 Fix infinite recursion bug when launching URIs.
1742 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1745 Add guard to the new g_file_get_uri_scheme() function.
1747 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1750 Convert a g_return_val_if_fail() to setting the GError instead as
1751 otherwise applications have to verify the parameter before otherwise
1752 and the parameter might come directly from the user.
1754 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1756 * gio/inotify/ginotify*.[ch]:
1757 Add missing copyright information.
1759 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1762 Add guards in the beginning of public functions to check for valid
1763 parameters and fix a bug in copy_stream_with_progress() that could've
1764 caused writing less bytes than reading.
1765 * gio/glocalfileinfo.c:
1766 Check for a NULL parameter and set the GError accordingly then.
1767 * gio/goutputstream.c:
1768 Fix the same bug as in gfile.c that could've caused writing less bytes
1769 than reading in g_output_stream_real_splice().
1771 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1774 Use the correct gvolumeprivate.h naming
1776 2007-11-01 Christian Kellner <gicmo@gnome.org>
1779 Remove leftover "$(daemon_sources)" entry.
1781 2007-11-01 Christian Kellner <gicmo@gnome.org>
1786 Add copyright information to source files.
1788 2007-11-01 Alexander Larsson <alexl@redhat.com>
1792 Add g_file_get_uri_scheme
1794 2007-11-01 Alexander Larsson <alexl@redhat.com>
1797 * gio/gdesktopappinfo.c:
1798 * gio/gwin32appinfo.c:
1799 Add g_app_info_get_default_for_uri_scheme.
1801 2007-11-01 Alexander Larsson <alexl@redhat.com>
1804 Correct filename for gdriveprivate.h
1806 2007-10-31 Alexander Larsson <alexl@redhat.com>
1809 Rename id:value to id:file
1812 * gio/glocalfileinfo.c:
1815 2007-10-31 Alexander Larsson <alexl@redhat.com>
1817 * gio/gunixvolume.c:
1819 Remove g_volume_get_platform_id, as thats not
1820 needed with the simpler union volume monitor
1822 2007-10-31 Alexander Larsson <alexl@redhat.com>
1825 * gio/guniondrive.[ch]: Removed.
1826 * gio/gunionvolume.[ch]: Removed.
1827 Remove GUnionDrive/Volume
1829 * gio/gunionvolumemonitor.c:
1830 Simplify union volume monitor, now we
1831 only have one native volume monitor and
1832 we use the actual volumes/drives from the
1833 child monitors instead of wrapping them
1835 * gio/gnativevolumemonitor.[ch]:
1836 Base class for native volume monitors.
1837 Includes priority and get_volume_for_mountpoint
1840 Add g_file_find_enclosing_volume
1843 Remove volume name fs attribute
1844 Add readonly fs attribute
1847 Implement readonly attribute
1848 remove volume name attribute
1849 Implement find_enclosing volume
1851 * gio/gunixmounts.c:
1852 Add a volume for "/".
1854 * gio/gunixvolume.[ch]:
1855 Set better name for /
1857 * gio/gunixvolumemonitor.[ch]:
1858 Derive from GNativeVolumeMonitor
1859 Implement get_volume_for_mountpoint
1862 GVolume typedef moved to gfile.h
1864 * gio/gvolumeprivate.h:
1865 Add g_volume_get_for_mount_path
1867 2007-10-31 Alexander Larsson <alexl@redhat.com>
1869 * gio/gunixmounts.[ch]:
1870 Add cache info to unix mount listers
1871 Make getmntent use threadsafe
1872 Add is_system_internal attribute for GUnixMount
1874 * gio/gunixvolume.c:
1875 (g_unix_volume_new):
1876 Use is_system_internal instead of own code
1878 * gio/glocaldirectorymonitor.c:
1879 * gio/gunixvolumemonitor.c:
1880 Update to new gunixmounts API
1885 2007-10-30 Alexander Larsson <alexl@redhat.com>
1888 Add volume name fsinfo attribute
1891 Read volume name info
1893 * gio/gunionvolumemonitor.c:
1894 Fix infinite loops when finalizing a union volume monitor
1896 2007-10-30 Alexander Larsson <alexl@redhat.com>
1898 * gio/goutputstream.[ch]:
1899 Add splice() with default implementation
1901 * gio/gsocketoutputstream.c:
1902 (g_socket_output_stream_write):
1903 Return error on cancellation correctly.
1905 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1907 * gio/glocalfile.c (g_local_file_trash):
1908 Do not leak a string.
1910 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1912 * gio/gfile.c (g_file_load_contents):
1913 Unref the stream after closing it.
1915 2007-10-25 Alexander Larsson <alexl@redhat.com>
1917 * gio/gioscheduler.h:
1920 2007-10-25 Alexander Larsson <alexl@redhat.com>
1924 Add g_file_has_uri_scheme and implement for local files
1926 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1928 * gio/gdesktopappinfo.c: do not leak a string.
1930 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1932 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1933 (g_local_directory_monitor_new):
1934 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1935 (g_local_file_monitor_new):
1936 Only look for the monitor type that should be used the first time
1937 and use g_qsort_with_data() instead of our own bubble sort
1940 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1943 * gio/fam/Makefile.am:
1944 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1945 * gio/fam/fam-helper.h:
1946 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1947 * gio/fam/gfamdirectorymonitor.c:
1948 * gio/fam/gfamdirectorymonitor.h:
1949 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1950 * gio/fam/gfamfilemonitor.h:
1951 * gio/glocaldirectorymonitor.c:
1952 * gio/glocaldirectorymonitor.h:
1953 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1954 * gio/glocalfilemonitor.h:
1955 * gio/inotify/Makefile.am:
1956 * gio/inotify/ginotifydirectorymonitor.c:
1957 * gio/inotify/ginotifydirectorymonitor.h:
1958 * gio/inotify/ginotifyfilemonitor.c:
1959 * gio/inotify/ginotifyfilemonitor.h:
1960 Implement the FAM and Inotify monitors as
1961 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1962 their own GIO module. GLocal(Directory|File)Monitor will use the
1963 monitor with the highest rank that is supported on that machine.
1965 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1968 Change GIO module dir to $(libdir)/gio/modules and change
1969 the log domain from GVFS to GIO. Also only export symbols starting
1970 with g_ in the resulting library.
1971 * gio/test-streams.c: (main):
1972 Set log handler for the GIO log domain.
1974 2007-10-22 Alexander Larsson <alexl@redhat.com>
1976 * gio/gfilenamecompleter.[ch]:
1977 Add g_filename_completer_set_dirs_only
1979 2007-10-22 Alexander Larsson <alexl@redhat.com>
1982 * gio/gurifuncs.[ch]:
1983 Add some simple URI helpers
1985 * gio/gfilenamecompleter.[ch]:
1986 Added object for filename (parse name actually) completion
1989 Handle ~ in parse names
1991 2007-10-17 Alexander Larsson <alexl@redhat.com>
1994 * gio/glocalfileinfo.c:
1995 Add and implement id:value attribute
1997 2007-10-17 Alexander Larsson <alexl@redhat.com>
2000 * gio/guniondrive.c:
2002 Add and implement g_drive_has_volumes
2004 2007-10-17 Alexander Larsson <alexl@redhat.com>
2007 * gio/glocalfileinfo.[ch]:
2008 Add unix:is_mountpoint and implement for local files
2010 2007-10-16 Alexander Larsson <alexl@redhat.com>
2012 * gio/gunionvolumemonitor.c:
2013 (g_union_volume_monitor_init):
2014 Fix up the unix type getting so that it works with gcc
2016 2007-10-12 Alexander Larsson <alexl@redhat.com>
2019 * gio/glocalfileinfo.c:
2020 Add thumbnail:failed to file info
2022 2007-10-12 Richard Hult <richard@imendio.com>
2024 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2025 optimizing away the get_type call (happens with some gcc versions,
2026 like the one shipped with OS X 10.4).
2028 2007-10-12 Alexander Larsson <alexl@redhat.com>
2030 * gio/glocalfileinfo.c:
2031 (_g_local_file_info_set_attribute):
2032 Fix build if not HAVE_XATTR
2033 Patch from Milosz Derezynski <internalerror@gmail.com>
2035 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2037 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2038 around for review, otherwise I would have asked you before
2041 2007-10-11 Alexander Larsson <alexl@redhat.com>
2044 Add thumbnail:path attribute
2046 * gio/glocalfileinfo.c:
2047 Implement thumbnail:path for local files
2049 2007-10-11 Alexander Larsson <alexl@redhat.com>
2051 * gio/glocalfileinfo.c:
2052 (_g_local_file_info_get):
2053 Avoid duplicate icon names
2055 2007-10-11 Alexander Larsson <alexl@redhat.com>
2057 * gio/gthemedicon.[ch]:
2058 Change g_themed_icon_get_names return type to const
2060 2007-10-10 Alexander Larsson <alexl@redhat.com>
2062 * gio/glocalfileinfo.c:
2063 Don't reference freed memory
2065 2007-10-10 Alexander Larsson <alexl@redhat.com>
2067 * gio/gfileattribute.c:
2070 * gio/glocalfileinfo.c:
2073 2007-10-10 Alexander Larsson <alexl@redhat.com>
2076 Check for NULL icons
2078 * gio/gfileattribute.c:
2079 Don't dup when getting objects (same as for string attributes)
2081 * gio/gicon.c (g_icon_equal):
2082 Safely handle NULLs in equal
2084 2007-10-10 Alexander Larsson <alexl@redhat.com>
2087 Fix c++ compilation issues
2088 Patch from Milosz Derezynski <internalerror@gmail.com>
2090 2007-10-10 Alexander Larsson <alexl@redhat.com>
2092 * programs/gio-monitor-dir.c:
2093 Don't crash if dir monitor not supported.
2095 2007-10-09 Alexander Larsson <alexl@redhat.com>
2098 Add missing G_END_DECLS
2100 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2102 * gio/gfile.c: (g_file_set_display_name),
2103 (g_file_query_settable_attributes),
2104 (g_file_query_writable_namespaces):
2105 Return NULL not FALSE on errors as the return type is a pointer.
2107 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2109 * gio/glocalfile.c: (g_local_file_monitor_file):
2110 Don't call monitor_file on the default interface vtable (which
2111 is NULL) but simply return NULL. The caller, GFile, will create a
2112 polling monitor if NULL is returned.
2114 2007-10-09 Alexander Larsson <alexl@redhat.com>
2118 * gio-unix-2.0.pc.in:
2119 Add gio-unix-2.0.pc if OS_UNIX
2122 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2124 2007-10-09 Alexander Larsson <alexl@redhat.com>
2126 * gio/gunixmounts.[ch]:
2127 Make unix mount monitoring API sane.
2128 Now its just a object with mounts_changed
2129 and mountpoints_changed signals.
2131 * gio/glocaldirectorymonitor.c:
2132 * gio/gunixvolumemonitor.c:
2133 Use new mount monitor api
2135 2007-10-09 Alexander Larsson <alexl@redhat.com>
2137 * gio/gunixmounts.[ch]:
2138 Move guess type into one call for mounts and one for mountpoints
2141 * gio/gunixvolume.c:
2144 2007-10-09 Alexander Larsson <alexl@redhat.com>
2146 * gio/gunixmounts.[ch]:
2147 Remove _ prefix in preparation to make this semi-public
2148 Hide implementation of structs
2150 * gio/glocaldirectorymonitor.c:
2152 * gio/gunixvolume.c:
2153 * gio/gunixvolumemonitor.c:
2154 Update for above API changes
2156 2007-10-08 Alexander Larsson <alexl@redhat.com>
2159 Better polling fallback. This also handles the case where we have
2160 a monitor_file implementation, but it fails.
2162 2007-10-08 Alexander Larsson <alexl@redhat.com>
2166 * gio/gunixmounts.c:
2167 * programs/gio-monitor-dir.c:
2168 * programs/gio-monitor-file.c:
2169 Added cancellable to file monitoring calls.
2170 These are really sync calls and need this.
2172 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2174 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2175 (g_local_vfs_class_init):
2176 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2177 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2179 2007-10-05 Alexander Larsson <alexl@redhat.com>
2181 * gio/gdirectorymonitorprivate.h:
2182 * gio/gfilemonitorprivate.h:
2183 * gio/gdirectorymonitor.h:
2184 * gio/gfilemonitor.h:
2185 Remove *private.h and move to the public API, so that
2186 we can do implementations outside gio (such as in gvfs)
2188 * gio/gdirectorymonitor.c:
2189 * gio/gfilemonitor.c:
2190 * gio/glocaldirectorymonitor.c:
2191 * gio/gpollfilemonitor.c:
2192 * gio/inotify/inotify-helper.c:
2193 * gio/fam/fam-helper.c:
2194 Update to the new header names
2196 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2198 * gio/gdirectorymonitor.c:
2199 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2202 2007-10-04 Alexander Larsson <alexl@redhat.com>
2204 * gio/glocalfileinfo.c (get_access_rights):
2205 Set CAN_TRASH when we can move the file.
2206 We should really also check for a parent trash dir.
2208 2007-10-04 Alexander Larsson <alexl@redhat.com>
2210 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2211 Add can_trash access attribute
2213 2007-10-04 Alexander Larsson <alexl@redhat.com>
2216 (g_local_file_trash):
2217 Create info file first. This is per-spec and allows
2218 us to actually trash directories.
2220 2007-10-02 Alexander Larsson <alexl@redhat.com>
2222 * gio/gdesktopappinfo.c:
2223 Implement the new mime support code.
2224 Always set app as handling mimetype when being set as default for it
2226 2007-10-01 Alexander Larsson <alexl@redhat.com>
2228 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2229 Fix up check for xattrs:
2231 2007-10-01 Alexander Larsson <alexl@redhat.com>
2234 (g_app_info_set_as_default_for_extension):
2235 (g_app_info_add_supports_type):
2236 (g_app_info_can_remove_supports_type):
2237 (g_app_info_remove_supports_type):
2238 Make these fail nicely if not implemented
2240 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2242 * gio/glocalfileoutputstream.c:
2243 * gio/glocalfileoutputstream.h:
2248 * programs/gio-save.c:
2249 Add a GFileCreateFlags argument to operations that can create
2252 2007-10-01 Alexander Larsson <alexl@redhat.com>
2254 * gio/gappinfo.[ch]:
2255 * gio/gdesktopappinfo.c:
2256 Add more (stubbed out) mime API needed for nautilus
2258 2007-10-01 Alexander Larsson <alexl@redhat.com>
2261 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2262 Add g_app_info_set_as_default_for_extension.
2264 * gio/gdesktopappinfo.c:
2265 Dummy for g_app_info_set_as_default_for_extension
2266 Support flags in g_app_info_create_from_commandline
2268 * gio/gwin32appinfo.c:
2270 Update for API changes
2272 * gio/gthemedicon.c:
2273 Properly NULL-terminate list of icon names
2275 2007-09-28 Alexander Larsson <alexl@redhat.com>
2277 * gio/gloadableicon.h:
2278 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2280 2007-09-28 Alexander Larsson <alexl@redhat.com>
2283 Install headers in $includedir/gio-standalone/
2285 * gio-2.0.pc.in: Added.
2286 * gio-standalone.pc.in: Removed.
2289 Renamed pkg-config file to match glib (for future move)
2290 Update to the new include dir
2293 Add more TODO comments
2295 2007-09-28 Alexander Larsson <alexl@redhat.com>
2297 * gio/gdesktopappinfo.[ch]:
2298 Expose new_from_filename
2299 Add getter for is_hidden and handle it better
2301 2007-09-28 Alexander Larsson <alexl@redhat.com>
2303 * gio/gfileinfo.[ch]:
2304 Rename g_file_size_format_for_display to
2305 g_format_file_size_for_display.
2306 Now it doesn't have the g_file prefix, so we
2307 can later move it to glib.
2309 2007-09-28 Alexander Larsson <alexl@redhat.com>
2311 * gio/gappinfo.[ch]:
2312 Add g_app_info_get_id and g_app_info_get_executable.
2313 Make all getters non-reffing
2314 Make g_app_info_launch take GFile arguments.
2315 Add must_support_uris argument to g_app_info_get_default_for_type.
2317 * gio/gwin32appinfo.c:
2318 Update to GAppInfo api changes
2320 * gio/gdesktopappinfo.c:
2321 Update to GAppInfo api changes
2322 Implement supports_xdg_startup_notify
2324 * gio/gfileicon.c (g_file_icon_get_file):
2325 Make getter non-reffing.
2330 2007-09-27 Alexander Larsson <alexl@redhat.com>
2332 * gio/gfileinfo.[ch]:
2333 Add g_file_size_format_for_display helper
2335 2007-09-27 Alexander Larsson <alexl@redhat.com>
2337 * gio/glocalfileinfo.c:
2338 Set UNIX_GID from gid, not from uid
2340 2007-09-27 Alexander Larsson <alexl@redhat.com>
2343 Add g_file_set_attributes_async
2345 2007-09-27 Alexander Larsson <alexl@redhat.com>
2347 * gio/glocalfile.c (g_local_file_set_display_name):
2348 Fix set_display_name to actually rename to the right place.
2349 Use lstat to look for existing files so we don't overwrite
2352 2007-09-26 Alexander Larsson <alexl@redhat.com>
2355 Add g_file_set_display_name_async()
2357 2007-09-26 Alexander Larsson <alexl@redhat.com>
2360 Add load_partial_contents async calls
2363 Make internal function static
2365 2007-09-26 Alexander Larsson <alexl@redhat.com>
2367 * gio/glocalfileinfo.c:
2368 Correctly detect broken symlinks
2370 2007-09-26 Alexander Larsson <alexl@redhat.com>
2372 * gio/gcancellable.c (g_cancellable_cancel):
2373 Allow cancel on NULL cancellable
2375 2007-09-25 Alexander Larsson <alexl@redhat.com>
2377 * gio/gsimpleasyncresult.c:
2378 Don't allocate g_error manually.
2379 Fixes g_slice/g_new mixup crash
2381 2007-09-25 Alexander Larsson <alexl@redhat.com>
2383 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2384 Actually set active_backend.
2385 This means the monitor will be cancelled correctly.
2387 2007-09-25 Alexander Larsson <alexl@redhat.com>
2389 * gio/gdirectorymonitor.c:
2390 Set timeout to NULL when destroying
2392 2007-09-25 Alexander Larsson <alexl@redhat.com>
2395 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2396 that is a better description of the error.
2398 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2400 * gio/gvfs.c: (g_vfs_get_local):
2401 Make the local vfs variable static. The same instance should
2404 2007-09-24 Alexander Larsson <alexl@redhat.com>
2406 * gio/glocalfileinfo.c:
2407 Pass in actual length read into sniffer, not the length
2410 2007-09-21 Alexander Larsson <alexl@redhat.com>
2412 * gio/gfileenumerator.c:
2415 * gio/gfileinputstream.c:
2416 * gio/gfileoutputstream.c:
2417 * gio/ginputstream.c:
2418 * gio/goutputstream.c:
2419 Don't crash if async callbacks are NULL
2421 2007-09-20 Alexander Larsson <alexl@redhat.com>
2424 Add async enumerate_children method and default
2427 2007-09-20 Alexander Larsson <alexl@redhat.com>
2430 Add g_file_contains_file & g_file_get_relative_path, since they
2431 were needed for nautilus.
2432 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2437 Implement new methods
2439 2007-09-17 Alexander Larsson <alexl@redhat.com>
2442 * gio/gfileinputstream.[ch]:
2443 * gio/gfileoutputstream.[ch]:
2445 * gio/glocalfileenumerator.[ch]:
2446 * gio/glocalfileinfo.[ch]:
2447 * gio/glocalfileinputstream.c:
2448 * gio/glocalfileoutputstream.c:
2449 * gio/gpollfilemonitor.c:
2450 * programs/gio-copy.c:
2451 * programs/gio-info.c:
2452 * programs/gio-move.c:
2453 Rename get_file_info to query_info() to make it clearer
2454 that these are not simple getters, but do i/o.
2456 2007-09-17 Alexander Larsson <alexl@redhat.com>
2458 * gio/gdatainputstream.[ch]:
2459 * gio/test-streams.c:
2460 Use _read_XXX instead of _get_XXX for the i/o calls
2463 2007-09-17 Alexander Larsson <alexl@redhat.com>
2466 Added needed stuff to TODO comment
2468 2007-09-17 Alexander Larsson <alexl@redhat.com>
2470 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2471 Don't error out removing the backup copy if it doesn't
2474 2007-09-14 Alexander Larsson <alexl@redhat.com>
2476 * programs/Makefile.am:
2477 * programs/gvfs-*.c:
2479 Renamed apps from gvfs-xxx to gio-xxx.
2481 2007-09-14 Alexander Larsson <alexl@redhat.com>
2484 * gio/gfileoutputstream.[ch]:
2485 * gio/glocalfileoutputstream.c:
2486 * programs/gvfs-save.c:
2487 g_file_output_stream_get_etag doesn't do i/o, so remove
2488 cancellation and error.
2490 2007-09-14 Alexander Larsson <alexl@redhat.com>
2493 Add new_etag output to replace_contents functions
2495 2007-09-14 Alexander Larsson <alexl@redhat.com>
2497 * gio/gfileoutputstream.[ch]:
2498 Add async get_file_info and default implementation
2500 2007-09-14 Alexander Larsson <alexl@redhat.com>
2502 * gio/gfileinputstream.c:
2503 Implement fallback wrapper for async get_file_info
2505 2007-09-14 Alexander Larsson <alexl@redhat.com>
2508 Add etag out argument to load_contents
2513 2007-09-14 Alexander Larsson <alexl@redhat.com>
2515 * gio/gcontenttype.c (looks_like_text):
2516 Whitespace like tab, cr and lf do not make the
2519 2007-09-14 Alexander Larsson <alexl@redhat.com>
2521 * gio/gfileinputstream.[ch]:
2522 Add async get_file_info.
2524 2007-09-13 Alexander Larsson <alexl@redhat.com>
2526 * gio/goutputstream.c (g_output_stream_write_all):
2527 Allow NULL for bytes_written
2529 2007-09-13 Alexander Larsson <alexl@redhat.com>
2531 * gio/gmemoryinputstream.[ch]:
2532 Add accessors for data
2534 2007-09-13 Alexander Larsson <alexl@redhat.com>
2536 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2537 Don't crash if length is NULL