1 2008-01-07 Alexander Larsson <alexl@redhat.com>
4 Build test subdir after .
5 Remove gdirectorymonitor.[ch]
7 * gdirectorymonitor.[ch]:
11 Remove GDirectoryMonitor and make
12 GFileMonitor the baseclass for both file and
13 directory monitors. Lift the more generic
14 rate limiting code from GDirectoryMonitor
18 * fam/gfamdirectorymonitor.[ch]:
19 * inotify/ginotifydirectorymonitor.[ch]:
20 * inotify/inotify-helper.c:
21 * glocaldirectorymonitor.[ch]:
24 Update for the removed GDirectoryMonitor.
26 * gmemoryoutputstream.c:
27 Remove ununsed variable
29 2008-01-07 Alexander Larsson <alexl@redhat.com>
31 * gmemoryinputstream.c:
32 Translate error strings
35 * gmemoryoutputstream.[ch]:
36 New implementation that avoids using GByteArray
37 in implementation and API. (#506377)
39 2008-01-06 Matthias Clasen <mclasen@redhat.com>
41 * tests/*: Add a test for memory input streams.
43 * Makefile.am: Add tests to SUBDIRS.
45 2008-01-06 Matthias Clasen <mclasen@redhat.com>
47 * glocalfilemonitor.c:
48 * glocaldirectorymonitor.c: Mark property nicks and blurbs
51 2008-01-06 Matthias Clasen <mclasen@redhat.com>
53 * gdesktopappinfo.c: Fix a docs typo.
55 * gfileattribute.c: Add information about extended attributes
56 to the documentation. (#505058)
58 2008-01-04 Alexander Larsson <alexl@redhat.com>
62 Use the right type (uint) for the ask_password signal.
64 2008-01-04 Alexander Larsson <alexl@redhat.com>
69 Add g_app_info_supports_files()
70 Remove desktop arg from g_app_info_should_show().
72 * gdesktopappinfo.[ch]:
73 Implement g_app_info_supports_files() and new should_show()
74 Add g_desktop_app_info_set_desktop_env() to set the desktop
75 for should_show(). (This will be set by gtk+ later)
77 2008-01-04 Alexander Larsson <alexl@redhat.com>
80 * gmemoryinputstream.[ch]:
81 Improve API so that you can use multiple chunks
82 of memory and custom destroy functions. (#506374)
84 2008-01-03 Alexander Larsson <alexl@redhat.com>
87 Handle NULL attribute matchers safely, as we return this
88 for empty attribute matcher strings.
90 2008-01-03 Alexander Larsson <alexl@redhat.com>
92 * gunixmounts.c (g_unix_is_mount_path_system_internal):
93 Add /usr/local to list of internal mountpoints
95 2008-01-03 Alexander Larsson <alexl@redhat.com>
98 Check for HAVE_LCHOWN (#505887)
100 2008-01-03 Alexander Larsson <alexl@redhat.com>
104 Add define for selinux context attribute.
105 Fix missing : -> :: namespace separator change
106 Fix missing _ -> - name change for xattr-sys.
109 2008-01-03 Alexander Larsson <alexl@redhat.com>
112 Link to libglib and libgobject directly (#504879)
113 Patch from Sebastien Bacher
115 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
117 * gfile.c: Expanded the g_file_new_for_commandline_arg
118 description a bit, based on the code and the docs of the
119 other g_file_new_for_* functions.
121 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
123 * gfilemonitor.h: Fixed typo in docs.
125 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
127 Updates to GIO documentation. (#506395, Mikael Hermansson)
129 * gcontenttype.c: Describe memory management for return value of
130 g_content_types_get_registered(). Missing piece from #505815.
131 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
132 GVolume, GDrive, GMounts, which hopefully gives the user less
133 confusions when using this API. Following explainations from
134 Alexander Larsson on gtk-devel-list.
136 2007-12-30 Matthias Clasen <mclasen@redhat.com>
138 * gfileinfo.c: Expand the long description.
140 2007-12-30 Matthias Clasen <mclasen@redhat.com>
143 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
144 fix builds with --disable-visibility. (#500273, Christian Persch)
146 2007-12-30 Matthias Clasen <mclasen@redhat.com>
148 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
149 in the list of returned app infos.
151 2007-12-30 Matthias Clasen <mclasen@redhat.com>
153 * gappinfo.c: Fix a cross-reference
155 2007-12-30 Matthias Clasen <mclasen@redhat.com>
157 * gfileinputstream.c:
158 * gfileoutputstream.c:
164 * gfileinfo.c: Documentation updates.
166 2007-12-26 Matthias Clasen <mclasen@redhat.com>
168 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
171 2007-12-26 Matthias Clasen <mclasen@redhat.com>
173 * gcontenttype.c (g_content_types_get_registered): Don't return
174 freed memory (#505815, Mikael Hermansson)
176 2007-12-25 Paolo Borelli <pborelli@katamail.com>
178 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
179 used to detect statbuf->st_blocks. (#505042)
181 2007-12-24 Matthias Clasen <mclasen@redhat.com>
183 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
184 environment handling. (#504829, Cosimo Cecchi)
186 2007-12-22 Matthias Clasen <mclasen@redhat.com>
188 * gappinfo.c: Doc improvements
190 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
193 2007-12-20 Matthias Clasen <mclasen@redhat.com>
195 * === Released 2.15.0 ===
197 2007-12-20 Hans Breuer <hans@breuer.org>
199 * makefile.msc : don't build gdesktopappinfo.obj, it collides
200 with symbols gwin32appinfo.obj, added gmount.obj
201 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
203 2007-12-20 Alexander Larsson <alexl@redhat.com>
209 * gfilenamecompleter.c:
212 * gpollfilemonitor.c:
213 File attribute renames:
216 id::fs -> id::filesystem
218 2007-12-20 Alexander Larsson <alexl@redhat.com>
227 Add GMountUnmountFlags to all unmount and
229 Add g_mount_remount() call.
231 2007-12-20 Alexander Larsson <alexl@redhat.com>
233 * gvfs.c (get_default_vfs):
234 Fix unused variable warning
236 2007-12-19 Matthias Clasen <mclasen@redhat.com>
238 * pltcheck.sh: Update
240 2007-12-19 Matthias Clasen <mclasen@redhat.com>
242 * gunionvolumemonitor.c:
243 * gunixmount.c: Remove C99 comments
245 2007-12-19 Matthias Clasen <mclasen@redhat.com>
247 * gio.symbols: Add some missing symbols
249 2007-12-19 Alexander Larsson <alexl@redhat.com>
252 Make g_io_modules_load_all_in_directory not unuse
253 loaded modules so that users of it can do stuff
255 Init internal "module" types.
256 Initialize static prio and name for types so that
257 we don't have to load modules to get it.
259 * gnativevolumemonitor.h:
261 Move is_supported to parent class so that
262 non-native monitors can avoid being initialized
263 too. (For instance GDaemonVolumeMonitor if we're
264 not using GDaemonVfs.)
266 * glocaldirectorymonitor.[ch]:
267 * glocalfilemonitor.[ch]:
268 * gunionvolumemonitor.c:
269 * gunixvolumemonitor.c:
271 Find plugins using the static prio+name to
272 avoid unnecessarily loading the modules.
274 2007-12-19 Alexander Larsson <alexl@redhat.com>
279 2007-12-19 Alexander Larsson <alexl@redhat.com>
281 * gunionvolumemonitor.c:
282 Store the native type as GType, not class so that
283 we can unload it. But still avoid unnecessarily
286 2007-12-19 David Zeuthen <davidz@redhat.com>
288 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
289 add signals 'disconnected' and 'eject-button' on GDrive. Add
290 signal 'removed' on GVolume and 'unmounted' on GMount.
292 * gdrive.c: (g_drive_base_init):
294 * gfile.c: (g_file_mount_mountable),
295 (g_file_mount_enclosing_volume):
298 * gmount.c: (g_mount_base_init):
300 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
301 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
302 * gvolume.c: (g_volume_base_init), (g_volume_mount):
306 2007-12-17 Matthias Clasen <mclasen@redhat.com>
308 * *.c: Fix up includes in the section docs.
310 2007-12-17 Alexander Larsson <alexl@redhat.com>
312 * gnativevolumemonitor.h:
313 * gunionvolumemonitor.c:
314 * gunixvolumemonitor.c:
315 Add is_supported() to GNativeVolumeMonitorClass so
316 that we can avoid having to create an object to see
317 if the backend is supported at runtime.
318 Also add name member and an env var to pick a specific
319 volume monitor backend.
323 Add cancellable to _g_mount_get_for_mount_path()
325 * glocaldirectorymonitor.c:
326 * glocalfilemonitor.c:
327 Avoid loading and unloading modules while sorting.
329 2007-12-17 Matthias Clasen <mclasen@redhat.com>
332 * gunixmounts.[hc]: Namespace waste reduction, move some
333 g_get_unix_mount functions to the g_unix_mount namespace.
336 * gunixvolumemonitor.c:
338 * glocaldirectorymonitor.c: Update all callers.
340 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
342 2007-12-17 Alexander Larsson <alexl@redhat.com>
345 Add doc comments about what GFile operations are
346 guaranteed to not block.
348 2007-12-17 Alexander Larsson <alexl@redhat.com>
351 Add missing #ifdef fixing OSX build.
352 (#503334, patch from Richard Hult)
354 2007-12-14 David Zeuthen <davidz@redhat.com>
358 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
359 (g_mount_eject), (g_mount_eject_finish):
361 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
362 (get_volume_for_uuid), (get_mount_for_uuid),
363 (g_union_volume_monitor_class_init),
364 (get_default_native_type_with_exclude), (get_default_native_type),
365 (get_native_type), (update_native_type),
366 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
367 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
368 (g_unix_mount_can_eject), (eject_unmount_cb),
369 (eject_unmount_read_error), (eject_unmount_do),
370 (g_unix_mount_unmount), (g_unix_mount_eject),
371 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
372 * gunixmounts.c: (g_unix_mount_guess_can_eject),
373 (g_unix_mount_point_guess_can_eject):
375 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
376 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
377 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
378 (g_unix_volume_mount), (g_unix_volume_eject),
379 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
380 * gunixvolumemonitor.c: (get_volume_for_uuid),
381 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
383 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
384 (g_volume_eject), (g_volume_eject_finish):
386 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
387 (g_volume_monitor_get_mount_for_uuid):
390 Provide eject() on both GMount and GVolume and utility functions
391 to guess whether a GUnixMountPoint or GUnixMountEntry should be
392 ejected. Introduce the concept of UUID's and wire it into GVolume
393 and GMount and provide API on GVolumeMonitor to find such
394 instances. Also handle the case where an external
395 GNativeVolumeMonitor fails to initialize. Lock around the
396 _g_get_mount_for_mount_path() function such that volume monitor
397 implementations won't have to do locking themselves.
399 2007-12-17 Matthias Clasen <mclasen@redhat.com>
407 * gvolume.h: Documentation updates
409 2007-12-14 Matthias Clasen <mclasen@redhat.com>
412 * gfile.h: Doc updates
414 2007-12-14 Matthias Clasen <mclasen@redhat.com>
417 * gdesktopappinfo.c: Use hash table iterators.
419 2007-12-14 Alexander Larsson <alexl@redhat.com>
422 * gfileattribute.[ch]:
423 * gfileattribute-priv.h:
424 Move GFileAttributeValue to a private header, as
428 Make set_attribute take a type + a pointer instead
429 of a GFileAttributeValue.
432 Fix up for above changes.
433 Add g_file_info_get_attribute_data to get
434 all info in one call, g_file_info_get_attribute_status
435 to get the status and g_file_info_get_attribute_as_string.
439 * glocalfileinfo.[ch]:
443 Make _guess_type static.
445 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
448 * inotify/Makefile.am: Fixed build when srcdir != builddir,
449 made mkenums and friends use temporary files to avoid leaving
450 empty generated files on failure (#503470).
452 2007-12-14 Alexander Larsson <alexl@redhat.com>
457 2007-12-14 Alexander Larsson <alexl@redhat.com>
461 * gfileattribute.[ch]:
464 * glocalfileoutputstream.c:
465 * gmountoperation.[ch]:
466 * goutputstream.[ch]:
467 Clean up all flags enums to not have _FLAGS in them
468 Make the names of some of the enums better.
473 2007-12-14 Michael Natterer <mitch@imendio.com>
475 * gio.symbols: fix g_io_scheduler symbol names.
477 2007-12-14 Alexander Larsson <alexl@redhat.com>
483 * gbufferedinputstream.h:
484 * gbufferedoutputstream.h:
487 * gdatainputstream.h:
488 * gdataoutputstream.h:
490 * gdirectorymonitor.h:
497 * gfileinputstream.h:
499 * gfilenamecompleter.h:
500 * gfileoutputstream.h:
501 * gfilterinputstream.h:
502 * gfilteroutputstream.h:
510 * gmemoryinputstream.h:
511 * gmemoryoutputstream.h:
516 * gsimpleasyncresult.h:
518 * gunixinputstream.h:
520 * gunixoutputstream.h:
524 * inotify/Makefile.am:
525 Only allow including <gio/gio.h> from apps
527 2007-12-14 Alexander Larsson <alexl@redhat.com>
530 * gsimpleasyncresult.c:
531 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
532 Split out the send_to_mainloop call into two versions instead
533 of having the block argument.
535 2007-12-13 Alexander Larsson <alexl@redhat.com>
539 * gbufferedinputstream.c:
541 * gfileinputstream.c:
542 * gfileoutputstream.c:
546 g_push/pop_current_cancellable ->
547 g_cancellable_push/pop_current
549 2007-12-13 Alexander Larsson <alexl@redhat.com>
553 Rename g_mount_for_location to g_file_mount_enclosing_volume.
555 2007-12-13 Alexander Larsson <alexl@redhat.com>
558 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
560 2007-12-12 Alexander Larsson <alexl@redhat.com>
563 Fix race condition when freeing proxy in
564 g_io_job_send_to_mainloop().
566 2007-12-12 Alexander Larsson <alexl@redhat.com>
572 Make attribute namespace separator "::" instead of ":".
573 Use - instead of _ as separator in attribute names.
575 2007-12-12 Alexander Larsson <alexl@redhat.com>
577 * gbufferedinputstream.h:
578 * gbufferedoutputstream.h:
579 * gdatainputstream.h:
580 * gdataoutputstream.h:
581 * gdirectorymonitor.h:
583 * gfileinputstream.h:
585 * gfileoutputstream.h:
586 * gfilterinputstream.h:
587 * gfilteroutputstream.h:
589 * glocalfileinputstream.h:
590 * glocalfileoutputstream.h:
591 * gmemoryinputstream.h:
592 * gmemoryoutputstream.h:
593 * gnativevolumemonitor.h:
595 * gunixinputstream.h:
596 * gunixoutputstream.h:
599 s/parent/parent_instance/ in GObjects
601 2007-12-12 Alexander Larsson <alexl@redhat.com>
606 No need for padding for interfaces
608 2007-12-12 Alexander Larsson <alexl@redhat.com>
612 * gbufferedinputstream.c:
613 * gbufferedoutputstream.c:
616 * gdatainputstream.[ch]:
618 * gdirectorymonitor.c:
620 * gfileattribute.[ch]:
623 * gfileinputstream.h:
625 * gfileoutputstream.[ch]:
626 * gfilterinputstream.h:
627 * gfilteroutputstream.h:
630 * gloadableicon.[ch]:
631 * gmemoryinputstream.c:
634 Fix up a bunch of details in the docs.
639 2007-12-11 David Zeuthen <davidz@redhat.com>
641 Rework how volumes, drives and volume monitoring is
642 done. Previosly the model was
646 where a GDrive instance represented a mount point and a GVolume
647 instance represented a mounted file system. This patch changes it
650 GDrive <1-N> GVolume <1-1> GMount
652 where GMount now serves the purpose of the old GVolume and the new
653 GVolume serves the purpose of the old GDrive. In addition the new
654 GDrive interface is used to represent a collection of GVolume
655 instances (typically partitions) and also contains utility to query
656 the state of the physical drive the GDrive object represents (such
657 as checking for media, polling the drive, ejecting the media etc.).
659 Also implement mounting and unmounting in the Unix volume monitor
660 backend. A subquent patch will introduce GDrive support for ejection
664 * gdrive.c: (g_drive_is_media_check_automatic),
665 (g_drive_is_media_removable), (g_drive_has_media),
666 (g_drive_can_poll_for_media), (g_drive_eject),
667 (g_drive_eject_finish), (g_drive_poll_for_media),
668 (g_drive_poll_for_media_finish):
670 * gfile.c: (g_file_find_enclosing_mount):
673 * glocaldirectorymonitor.c:
674 (g_local_directory_monitor_constructor), (mounts_changed):
675 * glocalfile.c: (get_mount_info),
676 (g_local_file_find_enclosing_mount),
677 (g_local_file_file_iface_init):
678 * gnativevolumemonitor.h:
679 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
680 (get_connected_drives), (g_union_volume_monitor_class_init),
681 (child_volume_added), (child_volume_removed),
682 (child_volume_changed), (child_mount_added), (child_mount_removed),
683 (child_mount_pre_unmount), (child_mount_changed),
684 (child_drive_changed), (g_union_volume_monitor_add_monitor),
685 (g_union_volume_monitor_remove_monitor),
686 (_g_mount_get_for_mount_path):
687 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
688 (guess_system_internal), (_g_get_unix_mounts),
689 (_g_get_unix_mount_points), (g_get_unix_mount_at),
690 (g_unix_mount_free), (g_unix_mount_compare),
691 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
692 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
693 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
694 (type_to_icon), (g_unix_mount_guess_name),
695 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
696 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
697 (_resolve_symlink), (_resolve_dev_root):
699 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
700 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
701 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
702 (g_unix_volume_get_name), (g_unix_volume_can_mount),
703 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
704 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
705 (g_unix_volume_mount), (g_unix_volume_mount_finish),
706 (g_unix_volume_volume_iface_init):
708 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
709 (get_mounts), (get_volumes), (get_connected_drives),
710 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
711 (mountpoints_changed), (mounts_changed),
712 (g_unix_volume_monitor_init),
713 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
714 (find_mount_by_mountpath), (update_volumes), (update_mounts):
715 * gunixvolumemonitor.h:
716 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
717 (g_volume_mount), (g_volume_mount_finish):
719 * gvolumemonitor.c: (g_volume_monitor_class_init),
720 (g_volume_monitor_get_connected_drives),
721 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
724 2007-12-10 Matthias Clasen <mclasen@redhat.com>
726 * gmountoperation.h (GPasswordFlags): Close the gap
728 2007-12-10 Matthias Clasen <mclasen@redhat.com>
730 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
732 * gdesktopappinfo.[hc]: Remove _-prefixes
734 2007-12-10 Tor Lillqvist <tml@novell.com>
736 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
739 2007-12-10 Alexander Larsson <alexl@redhat.com>
741 * gfile.c (g_file_set_display_name):
742 Don't hardcode '/' (#502727)
744 2007-12-09 Hans Breuer <hans@breuer.org>
746 * makefile.msc : follow lib naming convention
747 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
748 for user and group name, tested with ../tests/gio-ls
750 2007-12-09 A. Walton <awalton@svn.gnome.org>
763 * gmemoryinputstream.c:
764 * gmemoryoutputstream.c:
766 * gsimpleasyncresult.c:
767 More documentation cleanup and filling in missing information, bringing
768 GIO to 99% symbol coverage.
770 2007-12-08 Hans Breuer <hans@breuer.org>
772 [gio compiles and links on win32, not sure how much already works]
773 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
774 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
775 base on win32 API; prefer g_lstat() over lstat(); instead of
776 localtime_r() use an all GLib implementation on win32;
777 get_mount_info() still needs a win32 specifc implementation
778 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
779 win32_get_file_user_info to get owner/group info without uid/gid
780 * glocalfileinputstream.c : include <io.h> on win32
781 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
782 definition, use g_win32_ftruncate() for G_OS_WIN32
783 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
784 it is available with mingw/w32api but a mess with the M$ Platform SDKs
785 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
786 * makefile.msc : updated
788 2007-12-07 Alexander Larsson <alexl@redhat.com>
790 * glocalfileenumerator.c (_g_local_file_enumerator_new):
791 Avoid warning spew if error == NULL
793 2007-12-07 Alexander Larsson <alexl@redhat.com>
796 Update docs wrt etags
798 2007-12-06 Alexander Larsson <alexl@redhat.com>
801 Include sys/types.h for dev_t (#501919)
803 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
807 Make abicheck and pltcheck pass.
809 2007-12-05 Alexander Larsson <alexl@redhat.com>
812 * giomodule-priv.h: Added.
813 * glocaldirectorymonitor.c:
814 * glocalfilemonitor.c:
815 * gunionvolumemonitor.c:
817 Actually add the declaration of _g_io_modules_ensure_loaded
819 2007-12-05 Alexander Larsson <alexl@redhat.com>
821 * gdatainputstream.c:
826 * glocaldirectorymonitor.c:
827 * glocalfilemonitor.c:
828 * gunionvolumemonitor.c:
830 Make g_io_modules_ensure_loaded a private function and
831 don't pass in the dirname. This means we can do magic
832 directory finding in the win32 version.
833 Export the actual load-modules-in-directory code so that
836 2007-12-05 Alexander Larsson <alexl@redhat.com>
838 * gbufferedinputstream.c:
839 * gbufferedoutputstream.c:
842 * gfileenumerator.[ch]:
843 * gfileinputstream.c:
844 * gfileoutputstream.[ch]:
845 * gfilterinputstream.c:
846 * gfilteroutputstream.c:
849 * glocalfileenumerator.c:
850 * glocalfileinputstream.c:
851 * glocalfileoutputstream.c:
852 * gmemoryinputstream.c:
853 * gmemoryoutputstream.c:
854 * goutputstream.[ch]:
857 * gunixinputstream.c:
858 * gunixoutputstream.c:
859 Rename all struct members named:
860 read, write, close, truncate, or mount
861 to foo_fn, as these are reserved names
862 and could be defined as macros in libc.
865 2007-12-04 Alexander Larsson <alexl@redhat.com>
868 (g_output_stream_close):
869 Only call flush if non-null.
871 2007-11-30 Dan Winship <danw@gnome.org>
873 * ginputstream.c (g_input_stream_set_pending): Make this take a
874 GError and return a gboolean, and do the "outstanding operation"
875 check (and the "stream is already closed" check) itself.
876 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
878 * goutputstream.c (g_output_stream_set_pending)
879 (g_output_stream_clear_pending): Likewise
881 * gbufferedinputstream.c:
882 * gfileinputstream.c:
883 * gfileoutputstream.c: Update for that
885 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
886 Like g_simple_async_report_error_in_idle, but takes a GError
887 rather than building one.
889 2007-11-30 Dan Winship <danw@gnome.org>
891 * goutputstream.c: Don't cheat and unset the "pending" flag around
892 inner calls. Instead, call the class method directly rather than
893 the wrapper function that checks "pending"
895 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
897 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
899 2007-12-03 Hans Breuer <hans@breuer.org>
901 [start of port to win32/msvc]
902 * gcancellable.c : HAVE_UNIST_H and _pipe()
903 * gcontenttype.c : only include <dirent.h> in the UNIX branch
904 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
905 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
907 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
908 * glocalvfs.c : use HAVE_PWD_H
909 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
910 * makefile.msc : new file (maybe later converted to makefile.msc.in)
911 * Makefile.am : added to EXTRA_DIST
913 2007-12-03 Matthias Clasen <mclasen@redhat.com>
915 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
918 2007-12-03 Alexander Larsson <alexl@redhat.com>
921 Handle OSX style xattrs API (#500506)
923 2007-12-03 Alexander Larsson <alexl@redhat.com>
927 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
929 2007-12-02 A. Walton <awalton@svn.gnome.org>
933 Documentation accuracy fixes.
935 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
937 * gioenumtypes.c.template: Fix typo.
939 2007-12-01 Matthias Clasen <mclasen@redhat.com>
941 * gioenumtypes.c.template: Make threadsafe get_type() functions.
943 2007-12-01 Matthias Clasen <mclasen@redhat.com>
945 * gdirectorymonitor.c:
946 * gfilemonitor.c: Add properties
948 * gbufferedoutputstream.c: Don't mark buffer-size property
951 2007-12-01 Matthias Clasen <mclasen@redhat.com>
953 * gbufferedoutputstream.c: Add auto-grow property.
955 2007-11-30 Matthias Clasen <mclasen@redhat.com>
957 * *.c: Unify the capitalization of section headings.
959 2007-11-30 Matthias Clasen <mclasen@redhat.com>
961 * gmountoperation.c: Add properties
963 * gdatainputstream.c: Turn byte-order and newline-type into
966 2007-11-30 Matthias Clasen <mclasen@redhat.com>
968 * gioenumtypes.[hc].template: Templates for enum registration
970 * Makefile.am: Generate gioenumtypes.[hc]
972 * gio.h: Include gioenumtypes.h
974 * gfile.h: Add some explicit nicks.
976 * gio.symbols: Add new symbols
978 * pltcheck.sh: Adjust
980 2007-11-30 Matthias Clasen <mclasen@redhat.com>
982 * *.c: Explain etags and link to the explanation
984 2007-11-29 Matthias Clasen <mclasen@redhat.com>
986 * *.c: Explain I/O priority.
988 * *.c: More coding style fixes.
990 2007-11-29 Matthias Clasen <mclasen@redhat.com>
992 * gasyncresult.c: Add another paragraph to the intro,
993 adjust coding style of example.
995 2007-11-29 A. Walton <awalton@svn.gnome.org>
998 Fixes unknown meaning in GAppLaunchContext docs.
1000 Clarify asynchronous ops.
1002 Fix entity tag docs.
1005 Provides missing gtk-doc section, fixes API docs slighly.
1006 * gsimpleasyncresult.c:
1007 Fill in missing info in docs.
1008 * gunixinputstream.c:
1009 * gunixoutputstream.c:
1010 Be more expressive in short description.
1012 Remove gtk-doc stubs for non-public API.
1014 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1016 * *.c: Coding style fixups
1018 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1020 * inotify/inotify-helper.c: Don't export the lock from libgio.
1022 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1025 * abicheck.sh: Fix copy-and-paste leftovers
1027 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1029 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1031 2007-11-28 Alexander Larsson <alexl@redhat.com>
1035 Removed unnecessary file
1037 * gdesktopappinfo.[ch]:
1040 * glocaldirectorymonitor.[ch]:
1042 * glocalfileenumerator.[ch]:
1043 * glocalfileinputstream.[ch]:
1044 * glocalfilemonitor.[ch]:
1045 * glocalfileoutputstream.[ch]:
1047 * gnativevolumemonitor.c:
1048 * gpollfilemonitor.[ch]:
1049 * gunionvolumemonitor.[ch]:
1052 * gunixvolumemonitor.[ch]:
1055 * inotify/ginotifydirectorymonitor.[ch]:
1056 * inotify/ginotifyfilemonitor.[ch]:
1057 * inotify/inotify-helper.c:
1058 Append _ to all internal functions
1062 Export symbols needed for modules
1064 2007-11-28 Alexander Larsson <alexl@redhat.com>
1067 * abicheck.sh: Added.
1068 * makegioalias.pl: Added.
1069 * pltcheck.sh: Added.
1070 * gio.symbols: Added.
1073 Initial work on adding symbol handling.
1076 Correct ifdef guard name
1079 * inotify/Makefile.am:
1080 * xdgmime/Makefile.am:
1081 Include toplevel Makefile.decl
1083 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1085 * gcontenttype.c: Move doc comments to the unix section.
1087 * *.[hc]: More trivial doc corrections.
1089 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1091 * gpollfilemonitor.c:
1095 * gdesktopappinfo.c:
1100 * gdatainputstream.c:
1101 * gdatainputstream.h:
1102 * gdataoutputstream.c:
1103 * gdataoutputstream.h:
1104 * gfileinfo.h: Doc cleanups
1106 2007-11-28 Andre Klapper <a9016009@gmx.de>
1108 * gdesktopappinfo.c: Fix a typo.
1110 2007-11-27 Andre Klapper <a9016009@gmx.de>
1112 * glocalfileoutputstream.c: Fix a typo.
1114 2007-11-27 Alexander Larsson <alexl@redhat.com>
1117 Don't include removed headers
1119 2007-11-27 Alexander Larsson <alexl@redhat.com>
1122 * gsocketinputstream.[ch]: Removed.
1123 * gsocketoutputstream.[ch]: Removed.
1124 * gunixinputstream.[ch]: Added.
1125 * gunixoutputstream.[ch]: Added.
1126 Renamed GSocket*Stream to GUnix*Stream and made
1127 it unix-only, since its not really only for sockets
1128 and it only works on unix (but is highly useful there).
1130 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1136 * gbufferedinputstream.c:
1137 * gbufferedinputstream.h:
1138 * gbufferedoutputstream.c:
1139 * gbufferedoutputstream.h:
1143 * gdatainputstream.c:
1144 * gdatainputstream.h:
1145 * gdataoutputstream.c:
1146 * gdataoutputstream.h:
1147 * gdirectorymonitor.c:
1148 * gdirectorymonitor.h:
1155 * gfileenumerator.c:
1156 * gfileenumerator.h:
1161 * gfileinputstream.c:
1162 * gfileinputstream.h:
1165 * gfilenamecompleter.c:
1166 * gfilenamecompleter.h:
1167 * gfileoutputstream.c:
1168 * gfileoutputstream.h:
1169 * gfilterinputstream.c:
1170 * gfilterinputstream.h:
1171 * gfilteroutputstream.c:
1172 * gfilteroutputstream.h:
1185 * glocalfileoutputstream.c:
1186 * gmemoryinputstream.c:
1187 * gmemoryinputstream.h:
1188 * gmemoryoutputstream.c:
1189 * gmemoryoutputstream.h:
1190 * gmountoperation.c:
1191 * gmountoperation.h:
1194 * gpollfilemonitor.c:
1197 * gsimpleasyncresult.c:
1198 * gsimpleasyncresult.h:
1199 * gsocketinputstream.c:
1200 * gsocketinputstream.h:
1201 * gsocketoutputstream.c:
1202 * gsocketoutputstream.h:
1209 * gunixvolumemonitor.c:
1218 Bumps documentation to 93% symbol coverage, touching most
1219 of the public files. Fixes broken function documentation prototypes.
1220 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1221 gtk-doc headers in private files.
1223 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1225 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1226 (g_buffered_input_stream_read_byte):
1227 * gbufferedinputstream.h:
1228 New functions for efficient access to buffer and simple single byte
1231 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1232 (g_data_input_stream_read_until):
1233 * gdatainputstream.h:
1234 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1235 read_until with multiple stop chars.
1237 2007-11-27 Alexander Larsson <alexl@redhat.com>
1241 * inotify/Makefile.am:
1242 Use the user-specified giomoduledir
1244 2007-11-27 Alexander Larsson <alexl@redhat.com>
1248 Add catch-all gio.h header
1249 Don't install gdummyfile.h
1251 2007-11-26 Alexander Larsson <alexl@redhat.com>
1253 * Makefile.am (gioinclude_HEADERS):
1254 Remove trailing whitespace
1256 2007-11-26 Alexander Larsson <alexl@redhat.com>
1258 Merge gio-standalone into glib
1260 2007-11-25 Christian Kellner <gicmo@gnome.org>
1262 * gio/goutputstream.c:
1263 Fix small mistake in the docs.
1265 2007-11-21 Christian Persch <chpe@gnome.org>
1267 * gio/glocalfile.c: (g_local_file_trash):
1268 Convert filenames to UTF-8 for GError.
1269 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1270 as per xdg base dir spec.
1272 2007-11-21 Christian Persch <chpe@gnome.org>
1274 * gio/gdesktopappinfo.c:
1275 Use that g_key_file_to_data cannot fail.
1277 Use stock defines for the key file group and key names.
1280 2007-11-21 Alexander Larsson <alexl@redhat.com>
1283 (copy_stream_with_progress):
1284 Make sure we do a final progress callback with
1285 the full total size.
1287 2007-11-21 Alexander Larsson <alexl@redhat.com>
1290 Export g_file_copy_attributes
1291 Remove padding as its not needed for interfaces
1293 2007-11-20 Alexander Larsson <alexl@redhat.com>
1298 Add G_IO_ERROR_WOULD_MERGE for
1299 copy/move dir on dir with overwrite.
1301 2007-11-20 Alexander Larsson <alexl@redhat.com>
1304 * gio/glocalfileinfo.c:
1305 Add COPY_NAME (this is an optional
1306 non-modified utf8 version of the name) that
1309 2007-11-20 Alexander Larsson <alexl@redhat.com>
1311 * gio/glocalfileenumerator.c:
1312 Report errors as GIOError, not GFileError
1314 2007-11-16 Alexander Larsson <alexl@redhat.com>
1316 * gio/glocalfileoutputstream.c:
1317 * gio/gwin32appinfo.c:
1318 Fix typos in strings.
1319 Patch from Luca Ferretti <elle.uca@libero.it>
1321 2007-11-15 Alexander Larsson <alexl@redhat.com>
1324 Post release version bump
1326 === gio-standalone 0.1.2 ===
1328 2007-11-15 Alexander Larsson <alexl@redhat.com>
1330 * docs/reference/gio/Makefile.am:
1331 Fix up distcheck by removing weird
1337 2007-11-14 Alexander Larsson <alexl@redhat.com>
1339 * gio/gdesktopappinfo.c:
1340 * gio/glocaldirectorymonitor.c:
1342 * gio/glocalfileinfo.c:
1343 * gio/inotify/inotify-sub.c:
1344 * programs/gio-cat.c:
1345 * programs/gio-copy.c:
1346 * programs/gio-info.c:
1347 * programs/gio-ls.c:
1348 * programs/gio-monitor-dir.c:
1349 * programs/gio-monitor-file.c:
1350 * programs/gio-mount.c:
1351 * programs/gio-move.c:
1352 * programs/gio-rm.c:
1353 * programs/gio-save.c:
1354 * programs/gio-trash.c:
1355 Leak fixes from Kjartan Maraas
1357 2007-11-14 Alexander Larsson <alexl@redhat.com>
1359 * gio/fam/fam-helper.c:
1361 * gio/glocalfileinfo.c:
1365 * gio/inotify/inotify-diag.c:
1366 * gio/inotify/inotify-kernel.c:
1367 Various code cleanups from Kjartan Maraas
1369 2007-11-14 Alexander Larsson <alexl@redhat.com>
1371 * gio/gioscheduler.c:
1373 Set up threadpool so that we cache 2 unused
1374 idle threads for at 15 secs. This means we
1375 will reuse thread-local data (like dbus connections)
1378 2007-11-14 Alexander Larsson <alexl@redhat.com>
1380 * gio/fam/fam-helper.c:
1381 * gio/fam/gfamdirectorymonitor.c:
1382 * gio/fam/gfamfilemonitor.c:
1384 * gio/gcontenttype.c:
1385 * gio/gdatainputstream.c:
1386 * gio/gdataoutputstream.c:
1390 * gio/gfileattribute.h:
1391 * gio/gfileenumerator.c:
1393 * gio/ginputstream.c:
1396 * gio/glocalfileinfo.c:
1397 * gio/goutputstream.c:
1398 * gio/gpollfilemonitor.c:
1399 * gio/gsimpleasyncresult.c:
1400 * gio/gunixmounts.c:
1401 * gio/gunixmounts.h:
1402 * gio/inotify/ginotifydirectorymonitor.c:
1403 * gio/inotify/ginotifyfilemonitor.c:
1404 * gio/inotify/inotify-diag.c:
1405 * gio/inotify/inotify-kernel.c:
1406 * gio/inotify/inotify-path.c:
1408 * gio/test-streams.c:
1409 * programs/gio-info.c:
1410 * programs/gio-monitor-dir.c:
1411 * programs/gio-monitor-file.c:
1412 Various code cleanups from Kjartan Maraas
1414 2007-11-13 Alexander Larsson <alexl@redhat.com>
1417 Handle the uri-scheme calls for dummy files
1419 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1421 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1422 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1423 to avoid clash with the C++ keyword.
1425 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1427 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1428 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1430 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1432 * gio/glocaldirectorymonitor.c:
1433 * gio/glocalfilemonitor.c:
1434 * gio/gunionvolumemonitor.c:
1435 Don't use g_once_init_*() for initializations that could fail and
1436 could leave the initialization variable set to 0 but use GOnce.
1437 This prevents a deadlock on the second call when trying to create
1438 a monitor and no monitor type is available. Thanks to Sven Herzberg
1441 2007-11-11 Sven Herzberg <sven@imendio.com>
1443 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1444 #ifdef (make it work on MacOS X again)
1446 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1448 Fixes Changelog for last two commits (sorry guys).
1450 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1452 * gio/gbufferedinputstream.c:
1453 * gio/gdatainputstream.c:
1455 * gio/gfileoutputstream.c:
1456 * gio/gfilterinputstream.c:
1457 * gio/glocalfileinputstream.c:
1460 More consistency fixes in g*stream.c files.
1461 Significant clean of gfile's documentation, filling in of
1462 asynchronous operations documentation.
1464 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1466 * gio/gasyncresult.c:
1467 * gio/gbufferedinputstream.c:
1468 * gio/gbufferedoutputstream.c:
1469 * gio/gcancellable.c:
1470 * gio/gcontenttype.c:
1471 * gio/gdatainputstream.c:
1472 * gio/gdataoutputstream.c:
1473 * gio/gdesktopappinfo.c:
1476 * gio/gfileattribute.c:
1477 * gio/gio/gfileenumerator.c:
1479 * gio/gfileinputstream.c:
1480 * gio/gfilemonitor.c:
1481 * gio/gfileoutputstream.c:
1482 * gio/ginputstream.c:
1484 * gio/gioscheduler.c:
1485 * gio/gloadableicon.c:
1486 * gio/glocalfileoutputstream.c:
1487 * gio/gmemoryoutputstream.c:
1488 * gio/gmountoperation.c:
1489 * gio/goutputstream.c:
1491 * gio/gsimpleasyncresult.c:
1492 * gio/gunionvolumemonitor.c:
1493 * gio/gunixmounts.c:
1494 * gio/gunixvolume.c:
1498 * gio/gvolumemonitor.c:
1499 Updated documentation stubs, working towards consistency and
1502 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1504 * gio/gmemoryoutputstream.c:
1505 * gio/gmemoryoutputstream.h:
1506 Change g_memory_output_stream_set_free_on_close() to
1507 g_memory_output_stream_set_free_data() as this makes more sense and
1508 is more consistent with GMemoryInputStream.
1510 2007-11-07 Alexander Larsson <alexl@redhat.com>
1517 Change how we find the default vfs so that
1518 we can handle a gvfs failing to init
1520 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1522 * gio/gbufferedoutputstream.c:
1523 * gio/gdatainputstream.c:
1524 * gio/gdataoutputstream.c:
1525 * gio/gfileinputstream.c:
1526 * gio/gfileoutputstream.c:
1527 * gio/gfilterinputstream.c:
1528 * gio/gfilteroutputstream.c:
1529 * gio/ginputstream.c:
1530 * gio/gmemoryinputstream.c:
1531 * gio/gmemoryoutputstream.c:
1532 * gio/goutputstream.c:
1533 * gio/gsimpleasyncresult.c:
1534 * gio/gsocketinputstream.c:
1535 * gio/gsocketoutputstream.c:
1536 Add guards to the remaining public functions, add a TODO for
1537 an unimplemented function and remove some useless guards.
1539 2007-11-07 Alexander Larsson <alexl@redhat.com>
1542 Autoconf checks for the various types of
1543 getpwuid_r and getgrgid_r
1545 * gio/glocalfileinfo.c:
1546 Use the autoconf checks from above
1548 2007-11-07 Alexander Larsson <alexl@redhat.com>
1551 (g_local_file_query_filesystem_info):
1552 Some fixes for the statvfs case
1554 2007-11-07 Alexander Larsson <alexl@redhat.com>
1557 (g_local_file_query_filesystem_info):
1558 Pick the "best" of statfs / statvfs for the system
1559 if both are availible.
1561 2007-11-07 Alexander Larsson <alexl@redhat.com>
1563 Solaris fixes from Halton.Huo@Sun.COM:
1570 * gio/glocalfileinfo.c:
1571 Fix for solaris definition of getpwuid_r
1573 * gio/test-streams.c:
1574 Use G_GNUC_PRETTY_FUNCTION
1576 2007-11-07 Alexander Larsson <alexl@redhat.com>
1578 * gio/gdesktopappinfo.c:
1579 (update_default_list):
1580 Remove double semicolon.
1581 Patch from Jens Granseuer
1583 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1585 * docs/reference/gio/gio-sections.txt:
1586 * gio/gbufferedinputstream.c:
1587 * gio/gbufferedinputstream.h:
1588 * gio/gdatainputstream.c:
1589 * gio/gfileenumerator.c:
1590 * gio/gioscheduler.c:
1591 * gio/gunionvolumemonitor.c:
1593 * programs/gio-save.c:
1594 Fix typo: availible -> available. Unfortuntely this breaks API
1595 and ABI as g_buffered_input_stream_get_available() was renamed.
1597 * gio/gunixmounts.c:
1598 * gio/gbufferedinputstream.c:
1599 Add guards for public functions.
1601 2007-11-06 Ross Burton <ross@openedhand.com>
1603 * docs/reference/gio/Makefile.am:
1604 Fix invalid += usage which automake 1.10 doesn't like.
1606 2007-11-06 Alexander Larsson <alexl@redhat.com>
1609 (g_app_launch_context_class_init):
1612 Patch from Ross Burton
1614 2007-11-06 Alexander Larsson <alexl@redhat.com>
1617 Post release version bump
1619 === gio-standalone 0.1.1 ===
1621 2007-11-06 Alexander Larsson <alexl@redhat.com>
1624 Bump version to 0.1.1
1626 * gio/gsimpleasyncresult.c:
1627 (g_simple_async_result_set_from_error):
1628 Remove bogus g_return_if_fail
1630 2007-11-06 Alexander Larsson <alexl@redhat.com>
1633 The name is gio-standalone
1636 Add top src/builddir to includedir
1638 2007-11-06 Alexander Larsson <alexl@redhat.com>
1640 * docs/reference/gio/gio-sections.txt:
1642 * gio/gbufferedinputstream.c:
1643 * gio/gbufferedoutputstream.c:
1644 * gio/gcancellable.c:
1645 * gio/gdatainputstream.h:
1646 * gio/gdataoutputstream.c:
1647 * gio/gdataoutputstream.h:
1648 * gio/gdirectorymonitor.c:
1650 * gio/gfileattribute.c:
1651 * gio/gfileattribute.h:
1652 * gio/gfileenumerator.c:
1653 * gio/gfileenumerator.h:
1656 * gio/gfileinputstream.h:
1657 * gio/gfilemonitor.c:
1658 * gio/gfileoutputstream.h:
1659 * gio/glocalfilemonitor.h:
1660 * gio/glocalfileoutputstream.h:
1661 * gio/gmemoryinputstream.c:
1662 * gio/gmemoryoutputstream.c:
1663 * gio/gmountoperation.c:
1664 * gio/goutputstream.c:
1665 * gio/goutputstream.h:
1667 * gio/gsimpleasyncresult.c:
1668 * gio/gunixmounts.c:
1669 * gio/gunixmounts.h:
1671 * gio/inotify/inotify-helper.c:
1672 Fix gtk-doc warnings
1674 Patch from Ross Burton
1676 2007-11-06 Alexander Larsson <alexl@redhat.com>
1678 * gio/gfilenamecompleter.c:
1679 (g_filename_completer_get_completions):
1682 * gio/gunixvolume.c:
1683 Remove unused function
1685 Patches from Ross Burton
1687 2007-11-06 Alexander Larsson <alexl@redhat.com>
1692 Padding not needed for interfaces
1694 2007-11-06 Alexander Larsson <alexl@redhat.com>
1696 * gio/gfilemonitor.c:
1700 Make giotypes.h an internal file
1703 * gio/gbufferedinputstream.h:
1704 * gio/gbufferedoutputstream.h:
1705 * gio/gcancellable.h:
1706 * gio/gdatainputstream.h:
1707 * gio/gdataoutputstream.h:
1708 * gio/gdirectorymonitor.c:
1709 * gio/gdirectorymonitor.h:
1714 * gio/gfileattribute.h:
1715 * gio/gfileenumerator.h:
1720 * gio/gfilemonitor.c:
1721 * gio/gfilemonitor.h:
1722 * gio/gfilenamecompleter.c:
1723 * gio/gfilenamecompleter.h:
1724 * gio/gfilterinputstream.h:
1725 * gio/gfilteroutputstream.h:
1726 * gio/ginputstream.h:
1727 * gio/gmemoryinputstream.h:
1728 * gio/gmemoryoutputstream.h:
1729 * gio/gmountoperation.c:
1730 * gio/gmountoperation.h:
1731 * gio/gnativevolumemonitor.c:
1732 * gio/goutputstream.h:
1735 * gio/gsimpleasyncresult.c:
1736 * gio/gsimpleasyncresult.h:
1737 * gio/gsocketinputstream.h:
1738 * gio/gsocketoutputstream.h:
1739 * gio/gthemedicon.c:
1740 * gio/gthemedicon.h:
1744 * gio/gvolumemonitor.c:
1745 * gio/gvolumemonitor.h:
1746 Add padding in classes where it seems useful
1747 Don't include giotypes.h from public headers
1748 Move in Class definitions into c file where possible
1753 2007-11-06 Alexander Larsson <alexl@redhat.com>
1755 * docs/reference/gio/gio-docs.xml:
1756 Better structure for API docs
1758 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1761 * gio/gloadableicon.c:
1762 * gio/gsimpleasyncresult.c:
1763 * gio/gthemedicon.c:
1764 Add some more guards to public functions. Only files missing are now
1767 2007-11-06 Alexander Larsson <alexl@redhat.com>
1769 * docs/reference/gio/gio-docs.xml:
1770 Remove old files, add missing ones
1772 2007-11-06 Alexander Larsson <alexl@redhat.com>
1774 * docs/reference/gio/gio-sections.txt:
1777 Hide implementation classes
1779 * gio/gdriveprivate.h:
1780 * gio/gvolumeprivate.h:
1781 Remove non-existing function declarations
1783 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1786 Fix compilation warnings and add guards to the new functions.
1788 * gio/gasyncresult.c:
1790 Add guards to the public functions.
1793 Implement get_path().
1795 2007-11-06 Alexander Larsson <alexl@redhat.com>
1797 * gio/gfilenamecompleter.c:
1798 Make g_filename_completer_get_completions
1799 return char ** instead of GList for
1802 * docs/reference/gio/gio-docs.xml:
1803 * docs/reference/gio/gio-sections.txt:
1805 * gio/gasyncresult.c:
1806 * gio/gbufferedinputstream.c:
1807 * gio/gbufferedoutputstream.c:
1808 * gio/gcancellable.c:
1809 * gio/gcontenttype.c:
1810 * gio/gdatainputstream.c:
1811 * gio/gdataoutputstream.c:
1812 * gio/gdesktopappinfo.c:
1813 * gio/gdirectorymonitor.c:
1817 * gio/gfileattribute.c:
1818 * gio/gfileenumerator.c:
1821 * gio/gfileinputstream.c:
1822 * gio/gfilemonitor.c:
1823 * gio/gfilenamecompleter.c:
1824 * gio/gfilenamecompleter.h:
1825 * gio/gfileoutputstream.c:
1826 * gio/gfilterinputstream.c:
1828 * gio/ginputstream.c:
1830 * gio/gioscheduler.c:
1831 * gio/gloadableicon.c:
1832 * gio/glocaldirectorymonitor.c:
1834 * gio/glocalfileinputstream.c:
1835 * gio/glocalfilemonitor.c:
1836 * gio/glocalfileoutputstream.c:
1838 * gio/gmemoryinputstream.c:
1839 * gio/gmemoryoutputstream.c:
1840 * gio/gmountoperation.c:
1841 * gio/goutputstream.c:
1842 * gio/gpollfilemonitor.c:
1844 * gio/gsimpleasyncresult.c:
1845 * gio/gsocketinputstream.c:
1846 * gio/gsocketoutputstream.c:
1847 * gio/gthemedicon.c:
1848 * gio/gunionvolumemonitor.c:
1850 * gio/gunixmounts.c:
1851 * gio/gunixvolume.c:
1852 * gio/gunixvolumemonitor.c:
1856 * gio/gvolumemonitor.c:
1857 * gio/gwin32appinfo.c:
1858 Add (mostly stub) doc strings to public functions.
1859 Patch from Andrew Walton (awalton@gmail.com)
1861 2007-11-06 Alexander Larsson <alexl@redhat.com>
1863 * gio/gappinfo.[ch]:
1864 Added GAppLaunchContext object and pass that to launch.
1865 This allows simple implementation of both
1866 launch-on-screen and startup notification via a gtk+
1867 subclass of GAppLaunchContext
1869 * gio/gdesktopappinfo.c:
1870 Implement GAppLaunchContext API
1872 * gio/gwin32appinfo.c:
1875 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1877 * gio/gmountoperation.c:
1878 Add some guards to GMountOperation's public functions.
1880 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1884 * gio/gcancellable.c:
1885 * gio/gdirectorymonitor.c:
1887 * gio/gfileenumerator.c:
1888 * gio/gfilemonitor.c:,
1889 * gio/gfilenamecompleter.c:
1892 * gio/gioscheduler.c:
1896 * gio/gvolumemonitor.c:
1897 Add even more guards to various public functions.
1899 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1902 Add guards to the public functions of GAppInfo.
1904 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1906 * gio/gcontenttype.c:
1907 Add some more guards for public functions.
1909 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1911 * gio/fam/fam-module.c:
1912 * gio/fam/gfamdirectorymonitor.c:
1913 * gio/fam/gfamdirectorymonitor.h:
1914 * gio/fam/gfamfilemonitor.c:
1915 * gio/fam/gfamfilemonitor.h:
1916 * gio/inotify/ginotifydirectorymonitor.c:
1917 * gio/inotify/ginotifydirectorymonitor.h:
1918 * gio/inotify/ginotifyfilemonitor.c:
1919 * gio/inotify/ginotifyfilemonitor.h:
1920 Add proper copyright information and remove an unused variable
1921 in the GInotifyFileMonitor constructor.
1923 * gio/gcancellable.c:
1924 Add a guard for a public function and an assertion to prevent
1925 an undefined program state.
1927 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1929 * gio/gfileattribute.c:
1930 Don't run into an assertion if the given attribute value is NULL
1931 in g_file_attribute_value_get_*() but instead return a fallback
1932 value that makes sense in most situations. Passing them a attribute
1933 value with the wrong type will still run into an assertion.
1935 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1937 * gio/gfileattribute.c:
1939 Add even more guards to the public functions. Also fix the refcounting
1940 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1941 let g_file_info_list_attributes() filter the attributes by namespace
1942 instead of simply ignoring the namespace parameter.
1944 2007-11-03 Sven Herzberg <sven@imendio.com>
1946 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1947 (This makes gio work on MacOS X again)
1949 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1952 Build the gio subdirectory before the docs. Otherwise the build will
1955 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1956 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1957 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1958 Add guards to the public functions.
1960 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1962 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1963 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1964 to prevent a compiler warning.
1966 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1967 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1968 return something in the non-void function find_topdir_for().
1970 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1977 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1979 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1980 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1981 * gwin32appinfo.c (g_win32_app_info_launch):
1982 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1983 envp_for_startup_id, g_desktop_app_info_launch,
1984 g_desktop_app_info_launch_uris):
1986 Give an opaque 'startup_id' string instead of 'envp'.
1987 Support empty file lists for launching new windows.
1988 Fix infinite recursion bug when launching URIs.
1990 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1993 Add guard to the new g_file_get_uri_scheme() function.
1995 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1998 Convert a g_return_val_if_fail() to setting the GError instead as
1999 otherwise applications have to verify the parameter before otherwise
2000 and the parameter might come directly from the user.
2002 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2004 * gio/inotify/ginotify*.[ch]:
2005 Add missing copyright information.
2007 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2010 Add guards in the beginning of public functions to check for valid
2011 parameters and fix a bug in copy_stream_with_progress() that could've
2012 caused writing less bytes than reading.
2013 * gio/glocalfileinfo.c:
2014 Check for a NULL parameter and set the GError accordingly then.
2015 * gio/goutputstream.c:
2016 Fix the same bug as in gfile.c that could've caused writing less bytes
2017 than reading in g_output_stream_real_splice().
2019 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2022 Use the correct gvolumeprivate.h naming
2024 2007-11-01 Christian Kellner <gicmo@gnome.org>
2027 Remove leftover "$(daemon_sources)" entry.
2029 2007-11-01 Christian Kellner <gicmo@gnome.org>
2034 Add copyright information to source files.
2036 2007-11-01 Alexander Larsson <alexl@redhat.com>
2040 Add g_file_get_uri_scheme
2042 2007-11-01 Alexander Larsson <alexl@redhat.com>
2045 * gio/gdesktopappinfo.c:
2046 * gio/gwin32appinfo.c:
2047 Add g_app_info_get_default_for_uri_scheme.
2049 2007-11-01 Alexander Larsson <alexl@redhat.com>
2052 Correct filename for gdriveprivate.h
2054 2007-10-31 Alexander Larsson <alexl@redhat.com>
2057 Rename id:value to id:file
2060 * gio/glocalfileinfo.c:
2063 2007-10-31 Alexander Larsson <alexl@redhat.com>
2065 * gio/gunixvolume.c:
2067 Remove g_volume_get_platform_id, as thats not
2068 needed with the simpler union volume monitor
2070 2007-10-31 Alexander Larsson <alexl@redhat.com>
2073 * gio/guniondrive.[ch]: Removed.
2074 * gio/gunionvolume.[ch]: Removed.
2075 Remove GUnionDrive/Volume
2077 * gio/gunionvolumemonitor.c:
2078 Simplify union volume monitor, now we
2079 only have one native volume monitor and
2080 we use the actual volumes/drives from the
2081 child monitors instead of wrapping them
2083 * gio/gnativevolumemonitor.[ch]:
2084 Base class for native volume monitors.
2085 Includes priority and get_volume_for_mountpoint
2088 Add g_file_find_enclosing_volume
2091 Remove volume name fs attribute
2092 Add readonly fs attribute
2095 Implement readonly attribute
2096 remove volume name attribute
2097 Implement find_enclosing volume
2099 * gio/gunixmounts.c:
2100 Add a volume for "/".
2102 * gio/gunixvolume.[ch]:
2103 Set better name for /
2105 * gio/gunixvolumemonitor.[ch]:
2106 Derive from GNativeVolumeMonitor
2107 Implement get_volume_for_mountpoint
2110 GVolume typedef moved to gfile.h
2112 * gio/gvolumeprivate.h:
2113 Add g_volume_get_for_mount_path
2115 2007-10-31 Alexander Larsson <alexl@redhat.com>
2117 * gio/gunixmounts.[ch]:
2118 Add cache info to unix mount listers
2119 Make getmntent use threadsafe
2120 Add is_system_internal attribute for GUnixMount
2122 * gio/gunixvolume.c:
2123 (g_unix_volume_new):
2124 Use is_system_internal instead of own code
2126 * gio/glocaldirectorymonitor.c:
2127 * gio/gunixvolumemonitor.c:
2128 Update to new gunixmounts API
2133 2007-10-30 Alexander Larsson <alexl@redhat.com>
2136 Add volume name fsinfo attribute
2139 Read volume name info
2141 * gio/gunionvolumemonitor.c:
2142 Fix infinite loops when finalizing a union volume monitor
2144 2007-10-30 Alexander Larsson <alexl@redhat.com>
2146 * gio/goutputstream.[ch]:
2147 Add splice() with default implementation
2149 * gio/gsocketoutputstream.c:
2150 (g_socket_output_stream_write):
2151 Return error on cancellation correctly.
2153 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2155 * gio/glocalfile.c (g_local_file_trash):
2156 Do not leak a string.
2158 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2160 * gio/gfile.c (g_file_load_contents):
2161 Unref the stream after closing it.
2163 2007-10-25 Alexander Larsson <alexl@redhat.com>
2165 * gio/gioscheduler.h:
2168 2007-10-25 Alexander Larsson <alexl@redhat.com>
2172 Add g_file_has_uri_scheme and implement for local files
2174 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2176 * gio/gdesktopappinfo.c: do not leak a string.
2178 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2180 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2181 (g_local_directory_monitor_new):
2182 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2183 (g_local_file_monitor_new):
2184 Only look for the monitor type that should be used the first time
2185 and use g_qsort_with_data() instead of our own bubble sort
2188 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2191 * gio/fam/Makefile.am:
2192 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2193 * gio/fam/fam-helper.h:
2194 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2195 * gio/fam/gfamdirectorymonitor.c:
2196 * gio/fam/gfamdirectorymonitor.h:
2197 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2198 * gio/fam/gfamfilemonitor.h:
2199 * gio/glocaldirectorymonitor.c:
2200 * gio/glocaldirectorymonitor.h:
2201 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2202 * gio/glocalfilemonitor.h:
2203 * gio/inotify/Makefile.am:
2204 * gio/inotify/ginotifydirectorymonitor.c:
2205 * gio/inotify/ginotifydirectorymonitor.h:
2206 * gio/inotify/ginotifyfilemonitor.c:
2207 * gio/inotify/ginotifyfilemonitor.h:
2208 Implement the FAM and Inotify monitors as
2209 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2210 their own GIO module. GLocal(Directory|File)Monitor will use the
2211 monitor with the highest rank that is supported on that machine.
2213 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2216 Change GIO module dir to $(libdir)/gio/modules and change
2217 the log domain from GVFS to GIO. Also only export symbols starting
2218 with g_ in the resulting library.
2219 * gio/test-streams.c: (main):
2220 Set log handler for the GIO log domain.
2222 2007-10-22 Alexander Larsson <alexl@redhat.com>
2224 * gio/gfilenamecompleter.[ch]:
2225 Add g_filename_completer_set_dirs_only
2227 2007-10-22 Alexander Larsson <alexl@redhat.com>
2230 * gio/gurifuncs.[ch]:
2231 Add some simple URI helpers
2233 * gio/gfilenamecompleter.[ch]:
2234 Added object for filename (parse name actually) completion
2237 Handle ~ in parse names
2239 2007-10-17 Alexander Larsson <alexl@redhat.com>
2242 * gio/glocalfileinfo.c:
2243 Add and implement id:value attribute
2245 2007-10-17 Alexander Larsson <alexl@redhat.com>
2248 * gio/guniondrive.c:
2250 Add and implement g_drive_has_volumes
2252 2007-10-17 Alexander Larsson <alexl@redhat.com>
2255 * gio/glocalfileinfo.[ch]:
2256 Add unix:is_mountpoint and implement for local files
2258 2007-10-16 Alexander Larsson <alexl@redhat.com>
2260 * gio/gunionvolumemonitor.c:
2261 (g_union_volume_monitor_init):
2262 Fix up the unix type getting so that it works with gcc
2264 2007-10-12 Alexander Larsson <alexl@redhat.com>
2267 * gio/glocalfileinfo.c:
2268 Add thumbnail:failed to file info
2270 2007-10-12 Richard Hult <richard@imendio.com>
2272 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2273 optimizing away the get_type call (happens with some gcc versions,
2274 like the one shipped with OS X 10.4).
2276 2007-10-12 Alexander Larsson <alexl@redhat.com>
2278 * gio/glocalfileinfo.c:
2279 (_g_local_file_info_set_attribute):
2280 Fix build if not HAVE_XATTR
2281 Patch from Milosz Derezynski <internalerror@gmail.com>
2283 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2285 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2286 around for review, otherwise I would have asked you before
2289 2007-10-11 Alexander Larsson <alexl@redhat.com>
2292 Add thumbnail:path attribute
2294 * gio/glocalfileinfo.c:
2295 Implement thumbnail:path for local files
2297 2007-10-11 Alexander Larsson <alexl@redhat.com>
2299 * gio/glocalfileinfo.c:
2300 (_g_local_file_info_get):
2301 Avoid duplicate icon names
2303 2007-10-11 Alexander Larsson <alexl@redhat.com>
2305 * gio/gthemedicon.[ch]:
2306 Change g_themed_icon_get_names return type to const
2308 2007-10-10 Alexander Larsson <alexl@redhat.com>
2310 * gio/glocalfileinfo.c:
2311 Don't reference freed memory
2313 2007-10-10 Alexander Larsson <alexl@redhat.com>
2315 * gio/gfileattribute.c:
2318 * gio/glocalfileinfo.c:
2321 2007-10-10 Alexander Larsson <alexl@redhat.com>
2324 Check for NULL icons
2326 * gio/gfileattribute.c:
2327 Don't dup when getting objects (same as for string attributes)
2329 * gio/gicon.c (g_icon_equal):
2330 Safely handle NULLs in equal
2332 2007-10-10 Alexander Larsson <alexl@redhat.com>
2335 Fix c++ compilation issues
2336 Patch from Milosz Derezynski <internalerror@gmail.com>
2338 2007-10-10 Alexander Larsson <alexl@redhat.com>
2340 * programs/gio-monitor-dir.c:
2341 Don't crash if dir monitor not supported.
2343 2007-10-09 Alexander Larsson <alexl@redhat.com>
2346 Add missing G_END_DECLS
2348 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2350 * gio/gfile.c: (g_file_set_display_name),
2351 (g_file_query_settable_attributes),
2352 (g_file_query_writable_namespaces):
2353 Return NULL not FALSE on errors as the return type is a pointer.
2355 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2357 * gio/glocalfile.c: (g_local_file_monitor_file):
2358 Don't call monitor_file on the default interface vtable (which
2359 is NULL) but simply return NULL. The caller, GFile, will create a
2360 polling monitor if NULL is returned.
2362 2007-10-09 Alexander Larsson <alexl@redhat.com>
2366 * gio-unix-2.0.pc.in:
2367 Add gio-unix-2.0.pc if OS_UNIX
2370 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2372 2007-10-09 Alexander Larsson <alexl@redhat.com>
2374 * gio/gunixmounts.[ch]:
2375 Make unix mount monitoring API sane.
2376 Now its just a object with mounts_changed
2377 and mountpoints_changed signals.
2379 * gio/glocaldirectorymonitor.c:
2380 * gio/gunixvolumemonitor.c:
2381 Use new mount monitor api
2383 2007-10-09 Alexander Larsson <alexl@redhat.com>
2385 * gio/gunixmounts.[ch]:
2386 Move guess type into one call for mounts and one for mountpoints
2389 * gio/gunixvolume.c:
2392 2007-10-09 Alexander Larsson <alexl@redhat.com>
2394 * gio/gunixmounts.[ch]:
2395 Remove _ prefix in preparation to make this semi-public
2396 Hide implementation of structs
2398 * gio/glocaldirectorymonitor.c:
2400 * gio/gunixvolume.c:
2401 * gio/gunixvolumemonitor.c:
2402 Update for above API changes
2404 2007-10-08 Alexander Larsson <alexl@redhat.com>
2407 Better polling fallback. This also handles the case where we have
2408 a monitor_file implementation, but it fails.
2410 2007-10-08 Alexander Larsson <alexl@redhat.com>
2414 * gio/gunixmounts.c:
2415 * programs/gio-monitor-dir.c:
2416 * programs/gio-monitor-file.c:
2417 Added cancellable to file monitoring calls.
2418 These are really sync calls and need this.
2420 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2422 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2423 (g_local_vfs_class_init):
2424 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2425 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2427 2007-10-05 Alexander Larsson <alexl@redhat.com>
2429 * gio/gdirectorymonitorprivate.h:
2430 * gio/gfilemonitorprivate.h:
2431 * gio/gdirectorymonitor.h:
2432 * gio/gfilemonitor.h:
2433 Remove *private.h and move to the public API, so that
2434 we can do implementations outside gio (such as in gvfs)
2436 * gio/gdirectorymonitor.c:
2437 * gio/gfilemonitor.c:
2438 * gio/glocaldirectorymonitor.c:
2439 * gio/gpollfilemonitor.c:
2440 * gio/inotify/inotify-helper.c:
2441 * gio/fam/fam-helper.c:
2442 Update to the new header names
2444 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2446 * gio/gdirectorymonitor.c:
2447 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2450 2007-10-04 Alexander Larsson <alexl@redhat.com>
2452 * gio/glocalfileinfo.c (get_access_rights):
2453 Set CAN_TRASH when we can move the file.
2454 We should really also check for a parent trash dir.
2456 2007-10-04 Alexander Larsson <alexl@redhat.com>
2458 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2459 Add can_trash access attribute
2461 2007-10-04 Alexander Larsson <alexl@redhat.com>
2464 (g_local_file_trash):
2465 Create info file first. This is per-spec and allows
2466 us to actually trash directories.
2468 2007-10-02 Alexander Larsson <alexl@redhat.com>
2470 * gio/gdesktopappinfo.c:
2471 Implement the new mime support code.
2472 Always set app as handling mimetype when being set as default for it
2474 2007-10-01 Alexander Larsson <alexl@redhat.com>
2476 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2477 Fix up check for xattrs:
2479 2007-10-01 Alexander Larsson <alexl@redhat.com>
2482 (g_app_info_set_as_default_for_extension):
2483 (g_app_info_add_supports_type):
2484 (g_app_info_can_remove_supports_type):
2485 (g_app_info_remove_supports_type):
2486 Make these fail nicely if not implemented
2488 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2490 * gio/glocalfileoutputstream.c:
2491 * gio/glocalfileoutputstream.h:
2496 * programs/gio-save.c:
2497 Add a GFileCreateFlags argument to operations that can create
2500 2007-10-01 Alexander Larsson <alexl@redhat.com>
2502 * gio/gappinfo.[ch]:
2503 * gio/gdesktopappinfo.c:
2504 Add more (stubbed out) mime API needed for nautilus
2506 2007-10-01 Alexander Larsson <alexl@redhat.com>
2509 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2510 Add g_app_info_set_as_default_for_extension.
2512 * gio/gdesktopappinfo.c:
2513 Dummy for g_app_info_set_as_default_for_extension
2514 Support flags in g_app_info_create_from_commandline
2516 * gio/gwin32appinfo.c:
2518 Update for API changes
2520 * gio/gthemedicon.c:
2521 Properly NULL-terminate list of icon names
2523 2007-09-28 Alexander Larsson <alexl@redhat.com>
2525 * gio/gloadableicon.h:
2526 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2528 2007-09-28 Alexander Larsson <alexl@redhat.com>
2531 Install headers in $includedir/gio-standalone/
2533 * gio-2.0.pc.in: Added.
2534 * gio-standalone.pc.in: Removed.
2537 Renamed pkg-config file to match glib (for future move)
2538 Update to the new include dir
2541 Add more TODO comments
2543 2007-09-28 Alexander Larsson <alexl@redhat.com>
2545 * gio/gdesktopappinfo.[ch]:
2546 Expose new_from_filename
2547 Add getter for is_hidden and handle it better
2549 2007-09-28 Alexander Larsson <alexl@redhat.com>
2551 * gio/gfileinfo.[ch]:
2552 Rename g_file_size_format_for_display to
2553 g_format_file_size_for_display.
2554 Now it doesn't have the g_file prefix, so we
2555 can later move it to glib.
2557 2007-09-28 Alexander Larsson <alexl@redhat.com>
2559 * gio/gappinfo.[ch]:
2560 Add g_app_info_get_id and g_app_info_get_executable.
2561 Make all getters non-reffing
2562 Make g_app_info_launch take GFile arguments.
2563 Add must_support_uris argument to g_app_info_get_default_for_type.
2565 * gio/gwin32appinfo.c:
2566 Update to GAppInfo api changes
2568 * gio/gdesktopappinfo.c:
2569 Update to GAppInfo api changes
2570 Implement supports_xdg_startup_notify
2572 * gio/gfileicon.c (g_file_icon_get_file):
2573 Make getter non-reffing.
2578 2007-09-27 Alexander Larsson <alexl@redhat.com>
2580 * gio/gfileinfo.[ch]:
2581 Add g_file_size_format_for_display helper
2583 2007-09-27 Alexander Larsson <alexl@redhat.com>
2585 * gio/glocalfileinfo.c:
2586 Set UNIX_GID from gid, not from uid
2588 2007-09-27 Alexander Larsson <alexl@redhat.com>
2591 Add g_file_set_attributes_async
2593 2007-09-27 Alexander Larsson <alexl@redhat.com>
2595 * gio/glocalfile.c (g_local_file_set_display_name):
2596 Fix set_display_name to actually rename to the right place.
2597 Use lstat to look for existing files so we don't overwrite
2600 2007-09-26 Alexander Larsson <alexl@redhat.com>
2603 Add g_file_set_display_name_async()
2605 2007-09-26 Alexander Larsson <alexl@redhat.com>
2608 Add load_partial_contents async calls
2611 Make internal function static
2613 2007-09-26 Alexander Larsson <alexl@redhat.com>
2615 * gio/glocalfileinfo.c:
2616 Correctly detect broken symlinks
2618 2007-09-26 Alexander Larsson <alexl@redhat.com>
2620 * gio/gcancellable.c (g_cancellable_cancel):
2621 Allow cancel on NULL cancellable
2623 2007-09-25 Alexander Larsson <alexl@redhat.com>
2625 * gio/gsimpleasyncresult.c:
2626 Don't allocate g_error manually.
2627 Fixes g_slice/g_new mixup crash
2629 2007-09-25 Alexander Larsson <alexl@redhat.com>
2631 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2632 Actually set active_backend.
2633 This means the monitor will be cancelled correctly.
2635 2007-09-25 Alexander Larsson <alexl@redhat.com>
2637 * gio/gdirectorymonitor.c:
2638 Set timeout to NULL when destroying
2640 2007-09-25 Alexander Larsson <alexl@redhat.com>
2643 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2644 that is a better description of the error.
2646 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2648 * gio/gvfs.c: (g_vfs_get_local):
2649 Make the local vfs variable static. The same instance should
2652 2007-09-24 Alexander Larsson <alexl@redhat.com>
2654 * gio/glocalfileinfo.c:
2655 Pass in actual length read into sniffer, not the length
2658 2007-09-21 Alexander Larsson <alexl@redhat.com>
2660 * gio/gfileenumerator.c:
2663 * gio/gfileinputstream.c:
2664 * gio/gfileoutputstream.c:
2665 * gio/ginputstream.c:
2666 * gio/goutputstream.c:
2667 Don't crash if async callbacks are NULL
2669 2007-09-20 Alexander Larsson <alexl@redhat.com>
2672 Add async enumerate_children method and default
2675 2007-09-20 Alexander Larsson <alexl@redhat.com>
2678 Add g_file_contains_file & g_file_get_relative_path, since they
2679 were needed for nautilus.
2680 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2685 Implement new methods
2687 2007-09-17 Alexander Larsson <alexl@redhat.com>
2690 * gio/gfileinputstream.[ch]:
2691 * gio/gfileoutputstream.[ch]:
2693 * gio/glocalfileenumerator.[ch]:
2694 * gio/glocalfileinfo.[ch]:
2695 * gio/glocalfileinputstream.c:
2696 * gio/glocalfileoutputstream.c:
2697 * gio/gpollfilemonitor.c:
2698 * programs/gio-copy.c:
2699 * programs/gio-info.c:
2700 * programs/gio-move.c:
2701 Rename get_file_info to query_info() to make it clearer
2702 that these are not simple getters, but do i/o.
2704 2007-09-17 Alexander Larsson <alexl@redhat.com>
2706 * gio/gdatainputstream.[ch]:
2707 * gio/test-streams.c:
2708 Use _read_XXX instead of _get_XXX for the i/o calls
2711 2007-09-17 Alexander Larsson <alexl@redhat.com>
2714 Added needed stuff to TODO comment
2716 2007-09-17 Alexander Larsson <alexl@redhat.com>
2718 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2719 Don't error out removing the backup copy if it doesn't
2722 2007-09-14 Alexander Larsson <alexl@redhat.com>
2724 * programs/Makefile.am:
2725 * programs/gvfs-*.c:
2727 Renamed apps from gvfs-xxx to gio-xxx.
2729 2007-09-14 Alexander Larsson <alexl@redhat.com>
2732 * gio/gfileoutputstream.[ch]:
2733 * gio/glocalfileoutputstream.c:
2734 * programs/gvfs-save.c:
2735 g_file_output_stream_get_etag doesn't do i/o, so remove
2736 cancellation and error.
2738 2007-09-14 Alexander Larsson <alexl@redhat.com>
2741 Add new_etag output to replace_contents functions
2743 2007-09-14 Alexander Larsson <alexl@redhat.com>
2745 * gio/gfileoutputstream.[ch]:
2746 Add async get_file_info and default implementation
2748 2007-09-14 Alexander Larsson <alexl@redhat.com>
2750 * gio/gfileinputstream.c:
2751 Implement fallback wrapper for async get_file_info
2753 2007-09-14 Alexander Larsson <alexl@redhat.com>
2756 Add etag out argument to load_contents
2761 2007-09-14 Alexander Larsson <alexl@redhat.com>
2763 * gio/gcontenttype.c (looks_like_text):
2764 Whitespace like tab, cr and lf do not make the
2767 2007-09-14 Alexander Larsson <alexl@redhat.com>
2769 * gio/gfileinputstream.[ch]:
2770 Add async get_file_info.
2772 2007-09-13 Alexander Larsson <alexl@redhat.com>
2774 * gio/goutputstream.c (g_output_stream_write_all):
2775 Allow NULL for bytes_written
2777 2007-09-13 Alexander Larsson <alexl@redhat.com>
2779 * gio/gmemoryinputstream.[ch]:
2780 Add accessors for data
2782 2007-09-13 Alexander Larsson <alexl@redhat.com>
2784 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2785 Don't crash if length is NULL