1 008-01-07 Matthias Clasen <mclasen@redhat.com>
3 * === Released 2.15.1 ===
5 2008-01-07 Alexander Larsson <alexl@redhat.com>
7 * gunixinputstream.c (g_unix_input_stream_skip_finish):
10 2008-01-07 Alexander Larsson <alexl@redhat.com>
13 Pass --internal to glib-genmarshal
18 Use better types for signal arguments (#507822)
20 2008-01-07 Alexander Larsson <alexl@redhat.com>
23 Build test subdir after .
24 Remove gdirectorymonitor.[ch]
26 * gdirectorymonitor.[ch]:
30 Remove GDirectoryMonitor and make
31 GFileMonitor the baseclass for both file and
32 directory monitors. Lift the more generic
33 rate limiting code from GDirectoryMonitor
37 * fam/gfamdirectorymonitor.[ch]:
38 * inotify/ginotifydirectorymonitor.[ch]:
39 * inotify/inotify-helper.c:
40 * glocaldirectorymonitor.[ch]:
43 Update for the removed GDirectoryMonitor.
45 * gmemoryoutputstream.c:
46 Remove ununsed variable
48 2008-01-07 Alexander Larsson <alexl@redhat.com>
50 * gmemoryinputstream.c:
51 Translate error strings
54 * gmemoryoutputstream.[ch]:
55 New implementation that avoids using GByteArray
56 in implementation and API. (#506377)
58 2008-01-06 Matthias Clasen <mclasen@redhat.com>
60 * tests/*: Add a test for memory input streams.
62 * Makefile.am: Add tests to SUBDIRS.
64 2008-01-06 Matthias Clasen <mclasen@redhat.com>
66 * glocalfilemonitor.c:
67 * glocaldirectorymonitor.c: Mark property nicks and blurbs
70 2008-01-06 Matthias Clasen <mclasen@redhat.com>
72 * gdesktopappinfo.c: Fix a docs typo.
74 * gfileattribute.c: Add information about extended attributes
75 to the documentation. (#505058)
77 2008-01-04 Alexander Larsson <alexl@redhat.com>
81 Use the right type (uint) for the ask_password signal.
83 2008-01-04 Alexander Larsson <alexl@redhat.com>
88 Add g_app_info_supports_files()
89 Remove desktop arg from g_app_info_should_show().
91 * gdesktopappinfo.[ch]:
92 Implement g_app_info_supports_files() and new should_show()
93 Add g_desktop_app_info_set_desktop_env() to set the desktop
94 for should_show(). (This will be set by gtk+ later)
96 2008-01-04 Alexander Larsson <alexl@redhat.com>
99 * gmemoryinputstream.[ch]:
100 Improve API so that you can use multiple chunks
101 of memory and custom destroy functions. (#506374)
103 2008-01-03 Alexander Larsson <alexl@redhat.com>
106 Handle NULL attribute matchers safely, as we return this
107 for empty attribute matcher strings.
109 2008-01-03 Alexander Larsson <alexl@redhat.com>
111 * gunixmounts.c (g_unix_is_mount_path_system_internal):
112 Add /usr/local to list of internal mountpoints
114 2008-01-03 Alexander Larsson <alexl@redhat.com>
117 Check for HAVE_LCHOWN (#505887)
119 2008-01-03 Alexander Larsson <alexl@redhat.com>
123 Add define for selinux context attribute.
124 Fix missing : -> :: namespace separator change
125 Fix missing _ -> - name change for xattr-sys.
128 2008-01-03 Alexander Larsson <alexl@redhat.com>
131 Link to libglib and libgobject directly (#504879)
132 Patch from Sebastien Bacher
134 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
136 * gfile.c: Expanded the g_file_new_for_commandline_arg
137 description a bit, based on the code and the docs of the
138 other g_file_new_for_* functions.
140 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
142 * gfilemonitor.h: Fixed typo in docs.
144 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
146 Updates to GIO documentation. (#506395, Mikael Hermansson)
148 * gcontenttype.c: Describe memory management for return value of
149 g_content_types_get_registered(). Missing piece from #505815.
150 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
151 GVolume, GDrive, GMounts, which hopefully gives the user less
152 confusions when using this API. Following explainations from
153 Alexander Larsson on gtk-devel-list.
155 2007-12-30 Matthias Clasen <mclasen@redhat.com>
157 * gfileinfo.c: Expand the long description.
159 2007-12-30 Matthias Clasen <mclasen@redhat.com>
162 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
163 fix builds with --disable-visibility. (#500273, Christian Persch)
165 2007-12-30 Matthias Clasen <mclasen@redhat.com>
167 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
168 in the list of returned app infos.
170 2007-12-30 Matthias Clasen <mclasen@redhat.com>
172 * gappinfo.c: Fix a cross-reference
174 2007-12-30 Matthias Clasen <mclasen@redhat.com>
176 * gfileinputstream.c:
177 * gfileoutputstream.c:
183 * gfileinfo.c: Documentation updates.
185 2007-12-26 Matthias Clasen <mclasen@redhat.com>
187 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
190 2007-12-26 Matthias Clasen <mclasen@redhat.com>
192 * gcontenttype.c (g_content_types_get_registered): Don't return
193 freed memory (#505815, Mikael Hermansson)
195 2007-12-25 Paolo Borelli <pborelli@katamail.com>
197 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
198 used to detect statbuf->st_blocks. (#505042)
200 2007-12-24 Matthias Clasen <mclasen@redhat.com>
202 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
203 environment handling. (#504829, Cosimo Cecchi)
205 2007-12-22 Matthias Clasen <mclasen@redhat.com>
207 * gappinfo.c: Doc improvements
209 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
212 2007-12-20 Matthias Clasen <mclasen@redhat.com>
214 * === Released 2.15.0 ===
216 2007-12-20 Hans Breuer <hans@breuer.org>
218 * makefile.msc : don't build gdesktopappinfo.obj, it collides
219 with symbols gwin32appinfo.obj, added gmount.obj
220 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
222 2007-12-20 Alexander Larsson <alexl@redhat.com>
228 * gfilenamecompleter.c:
231 * gpollfilemonitor.c:
232 File attribute renames:
235 id::fs -> id::filesystem
237 2007-12-20 Alexander Larsson <alexl@redhat.com>
246 Add GMountUnmountFlags to all unmount and
248 Add g_mount_remount() call.
250 2007-12-20 Alexander Larsson <alexl@redhat.com>
252 * gvfs.c (get_default_vfs):
253 Fix unused variable warning
255 2007-12-19 Matthias Clasen <mclasen@redhat.com>
257 * pltcheck.sh: Update
259 2007-12-19 Matthias Clasen <mclasen@redhat.com>
261 * gunionvolumemonitor.c:
262 * gunixmount.c: Remove C99 comments
264 2007-12-19 Matthias Clasen <mclasen@redhat.com>
266 * gio.symbols: Add some missing symbols
268 2007-12-19 Alexander Larsson <alexl@redhat.com>
271 Make g_io_modules_load_all_in_directory not unuse
272 loaded modules so that users of it can do stuff
274 Init internal "module" types.
275 Initialize static prio and name for types so that
276 we don't have to load modules to get it.
278 * gnativevolumemonitor.h:
280 Move is_supported to parent class so that
281 non-native monitors can avoid being initialized
282 too. (For instance GDaemonVolumeMonitor if we're
283 not using GDaemonVfs.)
285 * glocaldirectorymonitor.[ch]:
286 * glocalfilemonitor.[ch]:
287 * gunionvolumemonitor.c:
288 * gunixvolumemonitor.c:
290 Find plugins using the static prio+name to
291 avoid unnecessarily loading the modules.
293 2007-12-19 Alexander Larsson <alexl@redhat.com>
298 2007-12-19 Alexander Larsson <alexl@redhat.com>
300 * gunionvolumemonitor.c:
301 Store the native type as GType, not class so that
302 we can unload it. But still avoid unnecessarily
305 2007-12-19 David Zeuthen <davidz@redhat.com>
307 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
308 add signals 'disconnected' and 'eject-button' on GDrive. Add
309 signal 'removed' on GVolume and 'unmounted' on GMount.
311 * gdrive.c: (g_drive_base_init):
313 * gfile.c: (g_file_mount_mountable),
314 (g_file_mount_enclosing_volume):
317 * gmount.c: (g_mount_base_init):
319 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
320 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
321 * gvolume.c: (g_volume_base_init), (g_volume_mount):
325 2007-12-17 Matthias Clasen <mclasen@redhat.com>
327 * *.c: Fix up includes in the section docs.
329 2007-12-17 Alexander Larsson <alexl@redhat.com>
331 * gnativevolumemonitor.h:
332 * gunionvolumemonitor.c:
333 * gunixvolumemonitor.c:
334 Add is_supported() to GNativeVolumeMonitorClass so
335 that we can avoid having to create an object to see
336 if the backend is supported at runtime.
337 Also add name member and an env var to pick a specific
338 volume monitor backend.
342 Add cancellable to _g_mount_get_for_mount_path()
344 * glocaldirectorymonitor.c:
345 * glocalfilemonitor.c:
346 Avoid loading and unloading modules while sorting.
348 2007-12-17 Matthias Clasen <mclasen@redhat.com>
351 * gunixmounts.[hc]: Namespace waste reduction, move some
352 g_get_unix_mount functions to the g_unix_mount namespace.
355 * gunixvolumemonitor.c:
357 * glocaldirectorymonitor.c: Update all callers.
359 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
361 2007-12-17 Alexander Larsson <alexl@redhat.com>
364 Add doc comments about what GFile operations are
365 guaranteed to not block.
367 2007-12-17 Alexander Larsson <alexl@redhat.com>
370 Add missing #ifdef fixing OSX build.
371 (#503334, patch from Richard Hult)
373 2007-12-14 David Zeuthen <davidz@redhat.com>
377 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
378 (g_mount_eject), (g_mount_eject_finish):
380 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
381 (get_volume_for_uuid), (get_mount_for_uuid),
382 (g_union_volume_monitor_class_init),
383 (get_default_native_type_with_exclude), (get_default_native_type),
384 (get_native_type), (update_native_type),
385 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
386 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
387 (g_unix_mount_can_eject), (eject_unmount_cb),
388 (eject_unmount_read_error), (eject_unmount_do),
389 (g_unix_mount_unmount), (g_unix_mount_eject),
390 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
391 * gunixmounts.c: (g_unix_mount_guess_can_eject),
392 (g_unix_mount_point_guess_can_eject):
394 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
395 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
396 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
397 (g_unix_volume_mount), (g_unix_volume_eject),
398 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
399 * gunixvolumemonitor.c: (get_volume_for_uuid),
400 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
402 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
403 (g_volume_eject), (g_volume_eject_finish):
405 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
406 (g_volume_monitor_get_mount_for_uuid):
409 Provide eject() on both GMount and GVolume and utility functions
410 to guess whether a GUnixMountPoint or GUnixMountEntry should be
411 ejected. Introduce the concept of UUID's and wire it into GVolume
412 and GMount and provide API on GVolumeMonitor to find such
413 instances. Also handle the case where an external
414 GNativeVolumeMonitor fails to initialize. Lock around the
415 _g_get_mount_for_mount_path() function such that volume monitor
416 implementations won't have to do locking themselves.
418 2007-12-17 Matthias Clasen <mclasen@redhat.com>
426 * gvolume.h: Documentation updates
428 2007-12-14 Matthias Clasen <mclasen@redhat.com>
431 * gfile.h: Doc updates
433 2007-12-14 Matthias Clasen <mclasen@redhat.com>
436 * gdesktopappinfo.c: Use hash table iterators.
438 2007-12-14 Alexander Larsson <alexl@redhat.com>
441 * gfileattribute.[ch]:
442 * gfileattribute-priv.h:
443 Move GFileAttributeValue to a private header, as
447 Make set_attribute take a type + a pointer instead
448 of a GFileAttributeValue.
451 Fix up for above changes.
452 Add g_file_info_get_attribute_data to get
453 all info in one call, g_file_info_get_attribute_status
454 to get the status and g_file_info_get_attribute_as_string.
458 * glocalfileinfo.[ch]:
462 Make _guess_type static.
464 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
467 * inotify/Makefile.am: Fixed build when srcdir != builddir,
468 made mkenums and friends use temporary files to avoid leaving
469 empty generated files on failure (#503470).
471 2007-12-14 Alexander Larsson <alexl@redhat.com>
476 2007-12-14 Alexander Larsson <alexl@redhat.com>
480 * gfileattribute.[ch]:
483 * glocalfileoutputstream.c:
484 * gmountoperation.[ch]:
485 * goutputstream.[ch]:
486 Clean up all flags enums to not have _FLAGS in them
487 Make the names of some of the enums better.
492 2007-12-14 Michael Natterer <mitch@imendio.com>
494 * gio.symbols: fix g_io_scheduler symbol names.
496 2007-12-14 Alexander Larsson <alexl@redhat.com>
502 * gbufferedinputstream.h:
503 * gbufferedoutputstream.h:
506 * gdatainputstream.h:
507 * gdataoutputstream.h:
509 * gdirectorymonitor.h:
516 * gfileinputstream.h:
518 * gfilenamecompleter.h:
519 * gfileoutputstream.h:
520 * gfilterinputstream.h:
521 * gfilteroutputstream.h:
529 * gmemoryinputstream.h:
530 * gmemoryoutputstream.h:
535 * gsimpleasyncresult.h:
537 * gunixinputstream.h:
539 * gunixoutputstream.h:
543 * inotify/Makefile.am:
544 Only allow including <gio/gio.h> from apps
546 2007-12-14 Alexander Larsson <alexl@redhat.com>
549 * gsimpleasyncresult.c:
550 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
551 Split out the send_to_mainloop call into two versions instead
552 of having the block argument.
554 2007-12-13 Alexander Larsson <alexl@redhat.com>
558 * gbufferedinputstream.c:
560 * gfileinputstream.c:
561 * gfileoutputstream.c:
565 g_push/pop_current_cancellable ->
566 g_cancellable_push/pop_current
568 2007-12-13 Alexander Larsson <alexl@redhat.com>
572 Rename g_mount_for_location to g_file_mount_enclosing_volume.
574 2007-12-13 Alexander Larsson <alexl@redhat.com>
577 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
579 2007-12-12 Alexander Larsson <alexl@redhat.com>
582 Fix race condition when freeing proxy in
583 g_io_job_send_to_mainloop().
585 2007-12-12 Alexander Larsson <alexl@redhat.com>
591 Make attribute namespace separator "::" instead of ":".
592 Use - instead of _ as separator in attribute names.
594 2007-12-12 Alexander Larsson <alexl@redhat.com>
596 * gbufferedinputstream.h:
597 * gbufferedoutputstream.h:
598 * gdatainputstream.h:
599 * gdataoutputstream.h:
600 * gdirectorymonitor.h:
602 * gfileinputstream.h:
604 * gfileoutputstream.h:
605 * gfilterinputstream.h:
606 * gfilteroutputstream.h:
608 * glocalfileinputstream.h:
609 * glocalfileoutputstream.h:
610 * gmemoryinputstream.h:
611 * gmemoryoutputstream.h:
612 * gnativevolumemonitor.h:
614 * gunixinputstream.h:
615 * gunixoutputstream.h:
618 s/parent/parent_instance/ in GObjects
620 2007-12-12 Alexander Larsson <alexl@redhat.com>
625 No need for padding for interfaces
627 2007-12-12 Alexander Larsson <alexl@redhat.com>
631 * gbufferedinputstream.c:
632 * gbufferedoutputstream.c:
635 * gdatainputstream.[ch]:
637 * gdirectorymonitor.c:
639 * gfileattribute.[ch]:
642 * gfileinputstream.h:
644 * gfileoutputstream.[ch]:
645 * gfilterinputstream.h:
646 * gfilteroutputstream.h:
649 * gloadableicon.[ch]:
650 * gmemoryinputstream.c:
653 Fix up a bunch of details in the docs.
658 2007-12-11 David Zeuthen <davidz@redhat.com>
660 Rework how volumes, drives and volume monitoring is
661 done. Previosly the model was
665 where a GDrive instance represented a mount point and a GVolume
666 instance represented a mounted file system. This patch changes it
669 GDrive <1-N> GVolume <1-1> GMount
671 where GMount now serves the purpose of the old GVolume and the new
672 GVolume serves the purpose of the old GDrive. In addition the new
673 GDrive interface is used to represent a collection of GVolume
674 instances (typically partitions) and also contains utility to query
675 the state of the physical drive the GDrive object represents (such
676 as checking for media, polling the drive, ejecting the media etc.).
678 Also implement mounting and unmounting in the Unix volume monitor
679 backend. A subquent patch will introduce GDrive support for ejection
683 * gdrive.c: (g_drive_is_media_check_automatic),
684 (g_drive_is_media_removable), (g_drive_has_media),
685 (g_drive_can_poll_for_media), (g_drive_eject),
686 (g_drive_eject_finish), (g_drive_poll_for_media),
687 (g_drive_poll_for_media_finish):
689 * gfile.c: (g_file_find_enclosing_mount):
692 * glocaldirectorymonitor.c:
693 (g_local_directory_monitor_constructor), (mounts_changed):
694 * glocalfile.c: (get_mount_info),
695 (g_local_file_find_enclosing_mount),
696 (g_local_file_file_iface_init):
697 * gnativevolumemonitor.h:
698 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
699 (get_connected_drives), (g_union_volume_monitor_class_init),
700 (child_volume_added), (child_volume_removed),
701 (child_volume_changed), (child_mount_added), (child_mount_removed),
702 (child_mount_pre_unmount), (child_mount_changed),
703 (child_drive_changed), (g_union_volume_monitor_add_monitor),
704 (g_union_volume_monitor_remove_monitor),
705 (_g_mount_get_for_mount_path):
706 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
707 (guess_system_internal), (_g_get_unix_mounts),
708 (_g_get_unix_mount_points), (g_get_unix_mount_at),
709 (g_unix_mount_free), (g_unix_mount_compare),
710 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
711 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
712 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
713 (type_to_icon), (g_unix_mount_guess_name),
714 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
715 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
716 (_resolve_symlink), (_resolve_dev_root):
718 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
719 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
720 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
721 (g_unix_volume_get_name), (g_unix_volume_can_mount),
722 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
723 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
724 (g_unix_volume_mount), (g_unix_volume_mount_finish),
725 (g_unix_volume_volume_iface_init):
727 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
728 (get_mounts), (get_volumes), (get_connected_drives),
729 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
730 (mountpoints_changed), (mounts_changed),
731 (g_unix_volume_monitor_init),
732 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
733 (find_mount_by_mountpath), (update_volumes), (update_mounts):
734 * gunixvolumemonitor.h:
735 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
736 (g_volume_mount), (g_volume_mount_finish):
738 * gvolumemonitor.c: (g_volume_monitor_class_init),
739 (g_volume_monitor_get_connected_drives),
740 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
743 2007-12-10 Matthias Clasen <mclasen@redhat.com>
745 * gmountoperation.h (GPasswordFlags): Close the gap
747 2007-12-10 Matthias Clasen <mclasen@redhat.com>
749 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
751 * gdesktopappinfo.[hc]: Remove _-prefixes
753 2007-12-10 Tor Lillqvist <tml@novell.com>
755 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
758 2007-12-10 Alexander Larsson <alexl@redhat.com>
760 * gfile.c (g_file_set_display_name):
761 Don't hardcode '/' (#502727)
763 2007-12-09 Hans Breuer <hans@breuer.org>
765 * makefile.msc : follow lib naming convention
766 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
767 for user and group name, tested with ../tests/gio-ls
769 2007-12-09 A. Walton <awalton@svn.gnome.org>
782 * gmemoryinputstream.c:
783 * gmemoryoutputstream.c:
785 * gsimpleasyncresult.c:
786 More documentation cleanup and filling in missing information, bringing
787 GIO to 99% symbol coverage.
789 2007-12-08 Hans Breuer <hans@breuer.org>
791 [gio compiles and links on win32, not sure how much already works]
792 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
793 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
794 base on win32 API; prefer g_lstat() over lstat(); instead of
795 localtime_r() use an all GLib implementation on win32;
796 get_mount_info() still needs a win32 specifc implementation
797 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
798 win32_get_file_user_info to get owner/group info without uid/gid
799 * glocalfileinputstream.c : include <io.h> on win32
800 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
801 definition, use g_win32_ftruncate() for G_OS_WIN32
802 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
803 it is available with mingw/w32api but a mess with the M$ Platform SDKs
804 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
805 * makefile.msc : updated
807 2007-12-07 Alexander Larsson <alexl@redhat.com>
809 * glocalfileenumerator.c (_g_local_file_enumerator_new):
810 Avoid warning spew if error == NULL
812 2007-12-07 Alexander Larsson <alexl@redhat.com>
815 Update docs wrt etags
817 2007-12-06 Alexander Larsson <alexl@redhat.com>
820 Include sys/types.h for dev_t (#501919)
822 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
826 Make abicheck and pltcheck pass.
828 2007-12-05 Alexander Larsson <alexl@redhat.com>
831 * giomodule-priv.h: Added.
832 * glocaldirectorymonitor.c:
833 * glocalfilemonitor.c:
834 * gunionvolumemonitor.c:
836 Actually add the declaration of _g_io_modules_ensure_loaded
838 2007-12-05 Alexander Larsson <alexl@redhat.com>
840 * gdatainputstream.c:
845 * glocaldirectorymonitor.c:
846 * glocalfilemonitor.c:
847 * gunionvolumemonitor.c:
849 Make g_io_modules_ensure_loaded a private function and
850 don't pass in the dirname. This means we can do magic
851 directory finding in the win32 version.
852 Export the actual load-modules-in-directory code so that
855 2007-12-05 Alexander Larsson <alexl@redhat.com>
857 * gbufferedinputstream.c:
858 * gbufferedoutputstream.c:
861 * gfileenumerator.[ch]:
862 * gfileinputstream.c:
863 * gfileoutputstream.[ch]:
864 * gfilterinputstream.c:
865 * gfilteroutputstream.c:
868 * glocalfileenumerator.c:
869 * glocalfileinputstream.c:
870 * glocalfileoutputstream.c:
871 * gmemoryinputstream.c:
872 * gmemoryoutputstream.c:
873 * goutputstream.[ch]:
876 * gunixinputstream.c:
877 * gunixoutputstream.c:
878 Rename all struct members named:
879 read, write, close, truncate, or mount
880 to foo_fn, as these are reserved names
881 and could be defined as macros in libc.
884 2007-12-04 Alexander Larsson <alexl@redhat.com>
887 (g_output_stream_close):
888 Only call flush if non-null.
890 2007-11-30 Dan Winship <danw@gnome.org>
892 * ginputstream.c (g_input_stream_set_pending): Make this take a
893 GError and return a gboolean, and do the "outstanding operation"
894 check (and the "stream is already closed" check) itself.
895 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
897 * goutputstream.c (g_output_stream_set_pending)
898 (g_output_stream_clear_pending): Likewise
900 * gbufferedinputstream.c:
901 * gfileinputstream.c:
902 * gfileoutputstream.c: Update for that
904 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
905 Like g_simple_async_report_error_in_idle, but takes a GError
906 rather than building one.
908 2007-11-30 Dan Winship <danw@gnome.org>
910 * goutputstream.c: Don't cheat and unset the "pending" flag around
911 inner calls. Instead, call the class method directly rather than
912 the wrapper function that checks "pending"
914 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
916 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
918 2007-12-03 Hans Breuer <hans@breuer.org>
920 [start of port to win32/msvc]
921 * gcancellable.c : HAVE_UNIST_H and _pipe()
922 * gcontenttype.c : only include <dirent.h> in the UNIX branch
923 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
924 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
926 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
927 * glocalvfs.c : use HAVE_PWD_H
928 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
929 * makefile.msc : new file (maybe later converted to makefile.msc.in)
930 * Makefile.am : added to EXTRA_DIST
932 2007-12-03 Matthias Clasen <mclasen@redhat.com>
934 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
937 2007-12-03 Alexander Larsson <alexl@redhat.com>
940 Handle OSX style xattrs API (#500506)
942 2007-12-03 Alexander Larsson <alexl@redhat.com>
946 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
948 2007-12-02 A. Walton <awalton@svn.gnome.org>
952 Documentation accuracy fixes.
954 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
956 * gioenumtypes.c.template: Fix typo.
958 2007-12-01 Matthias Clasen <mclasen@redhat.com>
960 * gioenumtypes.c.template: Make threadsafe get_type() functions.
962 2007-12-01 Matthias Clasen <mclasen@redhat.com>
964 * gdirectorymonitor.c:
965 * gfilemonitor.c: Add properties
967 * gbufferedoutputstream.c: Don't mark buffer-size property
970 2007-12-01 Matthias Clasen <mclasen@redhat.com>
972 * gbufferedoutputstream.c: Add auto-grow property.
974 2007-11-30 Matthias Clasen <mclasen@redhat.com>
976 * *.c: Unify the capitalization of section headings.
978 2007-11-30 Matthias Clasen <mclasen@redhat.com>
980 * gmountoperation.c: Add properties
982 * gdatainputstream.c: Turn byte-order and newline-type into
985 2007-11-30 Matthias Clasen <mclasen@redhat.com>
987 * gioenumtypes.[hc].template: Templates for enum registration
989 * Makefile.am: Generate gioenumtypes.[hc]
991 * gio.h: Include gioenumtypes.h
993 * gfile.h: Add some explicit nicks.
995 * gio.symbols: Add new symbols
997 * pltcheck.sh: Adjust
999 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1001 * *.c: Explain etags and link to the explanation
1003 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1005 * *.c: Explain I/O priority.
1007 * *.c: More coding style fixes.
1009 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1011 * gasyncresult.c: Add another paragraph to the intro,
1012 adjust coding style of example.
1014 2007-11-29 A. Walton <awalton@svn.gnome.org>
1017 Fixes unknown meaning in GAppLaunchContext docs.
1019 Clarify asynchronous ops.
1021 Fix entity tag docs.
1024 Provides missing gtk-doc section, fixes API docs slighly.
1025 * gsimpleasyncresult.c:
1026 Fill in missing info in docs.
1027 * gunixinputstream.c:
1028 * gunixoutputstream.c:
1029 Be more expressive in short description.
1031 Remove gtk-doc stubs for non-public API.
1033 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1035 * *.c: Coding style fixups
1037 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1039 * inotify/inotify-helper.c: Don't export the lock from libgio.
1041 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1044 * abicheck.sh: Fix copy-and-paste leftovers
1046 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1048 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1050 2007-11-28 Alexander Larsson <alexl@redhat.com>
1054 Removed unnecessary file
1056 * gdesktopappinfo.[ch]:
1059 * glocaldirectorymonitor.[ch]:
1061 * glocalfileenumerator.[ch]:
1062 * glocalfileinputstream.[ch]:
1063 * glocalfilemonitor.[ch]:
1064 * glocalfileoutputstream.[ch]:
1066 * gnativevolumemonitor.c:
1067 * gpollfilemonitor.[ch]:
1068 * gunionvolumemonitor.[ch]:
1071 * gunixvolumemonitor.[ch]:
1074 * inotify/ginotifydirectorymonitor.[ch]:
1075 * inotify/ginotifyfilemonitor.[ch]:
1076 * inotify/inotify-helper.c:
1077 Append _ to all internal functions
1081 Export symbols needed for modules
1083 2007-11-28 Alexander Larsson <alexl@redhat.com>
1086 * abicheck.sh: Added.
1087 * makegioalias.pl: Added.
1088 * pltcheck.sh: Added.
1089 * gio.symbols: Added.
1092 Initial work on adding symbol handling.
1095 Correct ifdef guard name
1098 * inotify/Makefile.am:
1099 * xdgmime/Makefile.am:
1100 Include toplevel Makefile.decl
1102 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1104 * gcontenttype.c: Move doc comments to the unix section.
1106 * *.[hc]: More trivial doc corrections.
1108 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1110 * gpollfilemonitor.c:
1114 * gdesktopappinfo.c:
1119 * gdatainputstream.c:
1120 * gdatainputstream.h:
1121 * gdataoutputstream.c:
1122 * gdataoutputstream.h:
1123 * gfileinfo.h: Doc cleanups
1125 2007-11-28 Andre Klapper <a9016009@gmx.de>
1127 * gdesktopappinfo.c: Fix a typo.
1129 2007-11-27 Andre Klapper <a9016009@gmx.de>
1131 * glocalfileoutputstream.c: Fix a typo.
1133 2007-11-27 Alexander Larsson <alexl@redhat.com>
1136 Don't include removed headers
1138 2007-11-27 Alexander Larsson <alexl@redhat.com>
1141 * gsocketinputstream.[ch]: Removed.
1142 * gsocketoutputstream.[ch]: Removed.
1143 * gunixinputstream.[ch]: Added.
1144 * gunixoutputstream.[ch]: Added.
1145 Renamed GSocket*Stream to GUnix*Stream and made
1146 it unix-only, since its not really only for sockets
1147 and it only works on unix (but is highly useful there).
1149 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1155 * gbufferedinputstream.c:
1156 * gbufferedinputstream.h:
1157 * gbufferedoutputstream.c:
1158 * gbufferedoutputstream.h:
1162 * gdatainputstream.c:
1163 * gdatainputstream.h:
1164 * gdataoutputstream.c:
1165 * gdataoutputstream.h:
1166 * gdirectorymonitor.c:
1167 * gdirectorymonitor.h:
1174 * gfileenumerator.c:
1175 * gfileenumerator.h:
1180 * gfileinputstream.c:
1181 * gfileinputstream.h:
1184 * gfilenamecompleter.c:
1185 * gfilenamecompleter.h:
1186 * gfileoutputstream.c:
1187 * gfileoutputstream.h:
1188 * gfilterinputstream.c:
1189 * gfilterinputstream.h:
1190 * gfilteroutputstream.c:
1191 * gfilteroutputstream.h:
1204 * glocalfileoutputstream.c:
1205 * gmemoryinputstream.c:
1206 * gmemoryinputstream.h:
1207 * gmemoryoutputstream.c:
1208 * gmemoryoutputstream.h:
1209 * gmountoperation.c:
1210 * gmountoperation.h:
1213 * gpollfilemonitor.c:
1216 * gsimpleasyncresult.c:
1217 * gsimpleasyncresult.h:
1218 * gsocketinputstream.c:
1219 * gsocketinputstream.h:
1220 * gsocketoutputstream.c:
1221 * gsocketoutputstream.h:
1228 * gunixvolumemonitor.c:
1237 Bumps documentation to 93% symbol coverage, touching most
1238 of the public files. Fixes broken function documentation prototypes.
1239 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1240 gtk-doc headers in private files.
1242 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1244 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1245 (g_buffered_input_stream_read_byte):
1246 * gbufferedinputstream.h:
1247 New functions for efficient access to buffer and simple single byte
1250 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1251 (g_data_input_stream_read_until):
1252 * gdatainputstream.h:
1253 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1254 read_until with multiple stop chars.
1256 2007-11-27 Alexander Larsson <alexl@redhat.com>
1260 * inotify/Makefile.am:
1261 Use the user-specified giomoduledir
1263 2007-11-27 Alexander Larsson <alexl@redhat.com>
1267 Add catch-all gio.h header
1268 Don't install gdummyfile.h
1270 2007-11-26 Alexander Larsson <alexl@redhat.com>
1272 * Makefile.am (gioinclude_HEADERS):
1273 Remove trailing whitespace
1275 2007-11-26 Alexander Larsson <alexl@redhat.com>
1277 Merge gio-standalone into glib
1279 2007-11-25 Christian Kellner <gicmo@gnome.org>
1281 * gio/goutputstream.c:
1282 Fix small mistake in the docs.
1284 2007-11-21 Christian Persch <chpe@gnome.org>
1286 * gio/glocalfile.c: (g_local_file_trash):
1287 Convert filenames to UTF-8 for GError.
1288 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1289 as per xdg base dir spec.
1291 2007-11-21 Christian Persch <chpe@gnome.org>
1293 * gio/gdesktopappinfo.c:
1294 Use that g_key_file_to_data cannot fail.
1296 Use stock defines for the key file group and key names.
1299 2007-11-21 Alexander Larsson <alexl@redhat.com>
1302 (copy_stream_with_progress):
1303 Make sure we do a final progress callback with
1304 the full total size.
1306 2007-11-21 Alexander Larsson <alexl@redhat.com>
1309 Export g_file_copy_attributes
1310 Remove padding as its not needed for interfaces
1312 2007-11-20 Alexander Larsson <alexl@redhat.com>
1317 Add G_IO_ERROR_WOULD_MERGE for
1318 copy/move dir on dir with overwrite.
1320 2007-11-20 Alexander Larsson <alexl@redhat.com>
1323 * gio/glocalfileinfo.c:
1324 Add COPY_NAME (this is an optional
1325 non-modified utf8 version of the name) that
1328 2007-11-20 Alexander Larsson <alexl@redhat.com>
1330 * gio/glocalfileenumerator.c:
1331 Report errors as GIOError, not GFileError
1333 2007-11-16 Alexander Larsson <alexl@redhat.com>
1335 * gio/glocalfileoutputstream.c:
1336 * gio/gwin32appinfo.c:
1337 Fix typos in strings.
1338 Patch from Luca Ferretti <elle.uca@libero.it>
1340 2007-11-15 Alexander Larsson <alexl@redhat.com>
1343 Post release version bump
1345 === gio-standalone 0.1.2 ===
1347 2007-11-15 Alexander Larsson <alexl@redhat.com>
1349 * docs/reference/gio/Makefile.am:
1350 Fix up distcheck by removing weird
1356 2007-11-14 Alexander Larsson <alexl@redhat.com>
1358 * gio/gdesktopappinfo.c:
1359 * gio/glocaldirectorymonitor.c:
1361 * gio/glocalfileinfo.c:
1362 * gio/inotify/inotify-sub.c:
1363 * programs/gio-cat.c:
1364 * programs/gio-copy.c:
1365 * programs/gio-info.c:
1366 * programs/gio-ls.c:
1367 * programs/gio-monitor-dir.c:
1368 * programs/gio-monitor-file.c:
1369 * programs/gio-mount.c:
1370 * programs/gio-move.c:
1371 * programs/gio-rm.c:
1372 * programs/gio-save.c:
1373 * programs/gio-trash.c:
1374 Leak fixes from Kjartan Maraas
1376 2007-11-14 Alexander Larsson <alexl@redhat.com>
1378 * gio/fam/fam-helper.c:
1380 * gio/glocalfileinfo.c:
1384 * gio/inotify/inotify-diag.c:
1385 * gio/inotify/inotify-kernel.c:
1386 Various code cleanups from Kjartan Maraas
1388 2007-11-14 Alexander Larsson <alexl@redhat.com>
1390 * gio/gioscheduler.c:
1392 Set up threadpool so that we cache 2 unused
1393 idle threads for at 15 secs. This means we
1394 will reuse thread-local data (like dbus connections)
1397 2007-11-14 Alexander Larsson <alexl@redhat.com>
1399 * gio/fam/fam-helper.c:
1400 * gio/fam/gfamdirectorymonitor.c:
1401 * gio/fam/gfamfilemonitor.c:
1403 * gio/gcontenttype.c:
1404 * gio/gdatainputstream.c:
1405 * gio/gdataoutputstream.c:
1409 * gio/gfileattribute.h:
1410 * gio/gfileenumerator.c:
1412 * gio/ginputstream.c:
1415 * gio/glocalfileinfo.c:
1416 * gio/goutputstream.c:
1417 * gio/gpollfilemonitor.c:
1418 * gio/gsimpleasyncresult.c:
1419 * gio/gunixmounts.c:
1420 * gio/gunixmounts.h:
1421 * gio/inotify/ginotifydirectorymonitor.c:
1422 * gio/inotify/ginotifyfilemonitor.c:
1423 * gio/inotify/inotify-diag.c:
1424 * gio/inotify/inotify-kernel.c:
1425 * gio/inotify/inotify-path.c:
1427 * gio/test-streams.c:
1428 * programs/gio-info.c:
1429 * programs/gio-monitor-dir.c:
1430 * programs/gio-monitor-file.c:
1431 Various code cleanups from Kjartan Maraas
1433 2007-11-13 Alexander Larsson <alexl@redhat.com>
1436 Handle the uri-scheme calls for dummy files
1438 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1440 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1441 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1442 to avoid clash with the C++ keyword.
1444 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1446 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1447 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1449 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1451 * gio/glocaldirectorymonitor.c:
1452 * gio/glocalfilemonitor.c:
1453 * gio/gunionvolumemonitor.c:
1454 Don't use g_once_init_*() for initializations that could fail and
1455 could leave the initialization variable set to 0 but use GOnce.
1456 This prevents a deadlock on the second call when trying to create
1457 a monitor and no monitor type is available. Thanks to Sven Herzberg
1460 2007-11-11 Sven Herzberg <sven@imendio.com>
1462 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1463 #ifdef (make it work on MacOS X again)
1465 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1467 Fixes Changelog for last two commits (sorry guys).
1469 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1471 * gio/gbufferedinputstream.c:
1472 * gio/gdatainputstream.c:
1474 * gio/gfileoutputstream.c:
1475 * gio/gfilterinputstream.c:
1476 * gio/glocalfileinputstream.c:
1479 More consistency fixes in g*stream.c files.
1480 Significant clean of gfile's documentation, filling in of
1481 asynchronous operations documentation.
1483 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1485 * gio/gasyncresult.c:
1486 * gio/gbufferedinputstream.c:
1487 * gio/gbufferedoutputstream.c:
1488 * gio/gcancellable.c:
1489 * gio/gcontenttype.c:
1490 * gio/gdatainputstream.c:
1491 * gio/gdataoutputstream.c:
1492 * gio/gdesktopappinfo.c:
1495 * gio/gfileattribute.c:
1496 * gio/gio/gfileenumerator.c:
1498 * gio/gfileinputstream.c:
1499 * gio/gfilemonitor.c:
1500 * gio/gfileoutputstream.c:
1501 * gio/ginputstream.c:
1503 * gio/gioscheduler.c:
1504 * gio/gloadableicon.c:
1505 * gio/glocalfileoutputstream.c:
1506 * gio/gmemoryoutputstream.c:
1507 * gio/gmountoperation.c:
1508 * gio/goutputstream.c:
1510 * gio/gsimpleasyncresult.c:
1511 * gio/gunionvolumemonitor.c:
1512 * gio/gunixmounts.c:
1513 * gio/gunixvolume.c:
1517 * gio/gvolumemonitor.c:
1518 Updated documentation stubs, working towards consistency and
1521 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1523 * gio/gmemoryoutputstream.c:
1524 * gio/gmemoryoutputstream.h:
1525 Change g_memory_output_stream_set_free_on_close() to
1526 g_memory_output_stream_set_free_data() as this makes more sense and
1527 is more consistent with GMemoryInputStream.
1529 2007-11-07 Alexander Larsson <alexl@redhat.com>
1536 Change how we find the default vfs so that
1537 we can handle a gvfs failing to init
1539 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1541 * gio/gbufferedoutputstream.c:
1542 * gio/gdatainputstream.c:
1543 * gio/gdataoutputstream.c:
1544 * gio/gfileinputstream.c:
1545 * gio/gfileoutputstream.c:
1546 * gio/gfilterinputstream.c:
1547 * gio/gfilteroutputstream.c:
1548 * gio/ginputstream.c:
1549 * gio/gmemoryinputstream.c:
1550 * gio/gmemoryoutputstream.c:
1551 * gio/goutputstream.c:
1552 * gio/gsimpleasyncresult.c:
1553 * gio/gsocketinputstream.c:
1554 * gio/gsocketoutputstream.c:
1555 Add guards to the remaining public functions, add a TODO for
1556 an unimplemented function and remove some useless guards.
1558 2007-11-07 Alexander Larsson <alexl@redhat.com>
1561 Autoconf checks for the various types of
1562 getpwuid_r and getgrgid_r
1564 * gio/glocalfileinfo.c:
1565 Use the autoconf checks from above
1567 2007-11-07 Alexander Larsson <alexl@redhat.com>
1570 (g_local_file_query_filesystem_info):
1571 Some fixes for the statvfs case
1573 2007-11-07 Alexander Larsson <alexl@redhat.com>
1576 (g_local_file_query_filesystem_info):
1577 Pick the "best" of statfs / statvfs for the system
1578 if both are availible.
1580 2007-11-07 Alexander Larsson <alexl@redhat.com>
1582 Solaris fixes from Halton.Huo@Sun.COM:
1589 * gio/glocalfileinfo.c:
1590 Fix for solaris definition of getpwuid_r
1592 * gio/test-streams.c:
1593 Use G_GNUC_PRETTY_FUNCTION
1595 2007-11-07 Alexander Larsson <alexl@redhat.com>
1597 * gio/gdesktopappinfo.c:
1598 (update_default_list):
1599 Remove double semicolon.
1600 Patch from Jens Granseuer
1602 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1604 * docs/reference/gio/gio-sections.txt:
1605 * gio/gbufferedinputstream.c:
1606 * gio/gbufferedinputstream.h:
1607 * gio/gdatainputstream.c:
1608 * gio/gfileenumerator.c:
1609 * gio/gioscheduler.c:
1610 * gio/gunionvolumemonitor.c:
1612 * programs/gio-save.c:
1613 Fix typo: availible -> available. Unfortuntely this breaks API
1614 and ABI as g_buffered_input_stream_get_available() was renamed.
1616 * gio/gunixmounts.c:
1617 * gio/gbufferedinputstream.c:
1618 Add guards for public functions.
1620 2007-11-06 Ross Burton <ross@openedhand.com>
1622 * docs/reference/gio/Makefile.am:
1623 Fix invalid += usage which automake 1.10 doesn't like.
1625 2007-11-06 Alexander Larsson <alexl@redhat.com>
1628 (g_app_launch_context_class_init):
1631 Patch from Ross Burton
1633 2007-11-06 Alexander Larsson <alexl@redhat.com>
1636 Post release version bump
1638 === gio-standalone 0.1.1 ===
1640 2007-11-06 Alexander Larsson <alexl@redhat.com>
1643 Bump version to 0.1.1
1645 * gio/gsimpleasyncresult.c:
1646 (g_simple_async_result_set_from_error):
1647 Remove bogus g_return_if_fail
1649 2007-11-06 Alexander Larsson <alexl@redhat.com>
1652 The name is gio-standalone
1655 Add top src/builddir to includedir
1657 2007-11-06 Alexander Larsson <alexl@redhat.com>
1659 * docs/reference/gio/gio-sections.txt:
1661 * gio/gbufferedinputstream.c:
1662 * gio/gbufferedoutputstream.c:
1663 * gio/gcancellable.c:
1664 * gio/gdatainputstream.h:
1665 * gio/gdataoutputstream.c:
1666 * gio/gdataoutputstream.h:
1667 * gio/gdirectorymonitor.c:
1669 * gio/gfileattribute.c:
1670 * gio/gfileattribute.h:
1671 * gio/gfileenumerator.c:
1672 * gio/gfileenumerator.h:
1675 * gio/gfileinputstream.h:
1676 * gio/gfilemonitor.c:
1677 * gio/gfileoutputstream.h:
1678 * gio/glocalfilemonitor.h:
1679 * gio/glocalfileoutputstream.h:
1680 * gio/gmemoryinputstream.c:
1681 * gio/gmemoryoutputstream.c:
1682 * gio/gmountoperation.c:
1683 * gio/goutputstream.c:
1684 * gio/goutputstream.h:
1686 * gio/gsimpleasyncresult.c:
1687 * gio/gunixmounts.c:
1688 * gio/gunixmounts.h:
1690 * gio/inotify/inotify-helper.c:
1691 Fix gtk-doc warnings
1693 Patch from Ross Burton
1695 2007-11-06 Alexander Larsson <alexl@redhat.com>
1697 * gio/gfilenamecompleter.c:
1698 (g_filename_completer_get_completions):
1701 * gio/gunixvolume.c:
1702 Remove unused function
1704 Patches from Ross Burton
1706 2007-11-06 Alexander Larsson <alexl@redhat.com>
1711 Padding not needed for interfaces
1713 2007-11-06 Alexander Larsson <alexl@redhat.com>
1715 * gio/gfilemonitor.c:
1719 Make giotypes.h an internal file
1722 * gio/gbufferedinputstream.h:
1723 * gio/gbufferedoutputstream.h:
1724 * gio/gcancellable.h:
1725 * gio/gdatainputstream.h:
1726 * gio/gdataoutputstream.h:
1727 * gio/gdirectorymonitor.c:
1728 * gio/gdirectorymonitor.h:
1733 * gio/gfileattribute.h:
1734 * gio/gfileenumerator.h:
1739 * gio/gfilemonitor.c:
1740 * gio/gfilemonitor.h:
1741 * gio/gfilenamecompleter.c:
1742 * gio/gfilenamecompleter.h:
1743 * gio/gfilterinputstream.h:
1744 * gio/gfilteroutputstream.h:
1745 * gio/ginputstream.h:
1746 * gio/gmemoryinputstream.h:
1747 * gio/gmemoryoutputstream.h:
1748 * gio/gmountoperation.c:
1749 * gio/gmountoperation.h:
1750 * gio/gnativevolumemonitor.c:
1751 * gio/goutputstream.h:
1754 * gio/gsimpleasyncresult.c:
1755 * gio/gsimpleasyncresult.h:
1756 * gio/gsocketinputstream.h:
1757 * gio/gsocketoutputstream.h:
1758 * gio/gthemedicon.c:
1759 * gio/gthemedicon.h:
1763 * gio/gvolumemonitor.c:
1764 * gio/gvolumemonitor.h:
1765 Add padding in classes where it seems useful
1766 Don't include giotypes.h from public headers
1767 Move in Class definitions into c file where possible
1772 2007-11-06 Alexander Larsson <alexl@redhat.com>
1774 * docs/reference/gio/gio-docs.xml:
1775 Better structure for API docs
1777 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1780 * gio/gloadableicon.c:
1781 * gio/gsimpleasyncresult.c:
1782 * gio/gthemedicon.c:
1783 Add some more guards to public functions. Only files missing are now
1786 2007-11-06 Alexander Larsson <alexl@redhat.com>
1788 * docs/reference/gio/gio-docs.xml:
1789 Remove old files, add missing ones
1791 2007-11-06 Alexander Larsson <alexl@redhat.com>
1793 * docs/reference/gio/gio-sections.txt:
1796 Hide implementation classes
1798 * gio/gdriveprivate.h:
1799 * gio/gvolumeprivate.h:
1800 Remove non-existing function declarations
1802 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1805 Fix compilation warnings and add guards to the new functions.
1807 * gio/gasyncresult.c:
1809 Add guards to the public functions.
1812 Implement get_path().
1814 2007-11-06 Alexander Larsson <alexl@redhat.com>
1816 * gio/gfilenamecompleter.c:
1817 Make g_filename_completer_get_completions
1818 return char ** instead of GList for
1821 * docs/reference/gio/gio-docs.xml:
1822 * docs/reference/gio/gio-sections.txt:
1824 * gio/gasyncresult.c:
1825 * gio/gbufferedinputstream.c:
1826 * gio/gbufferedoutputstream.c:
1827 * gio/gcancellable.c:
1828 * gio/gcontenttype.c:
1829 * gio/gdatainputstream.c:
1830 * gio/gdataoutputstream.c:
1831 * gio/gdesktopappinfo.c:
1832 * gio/gdirectorymonitor.c:
1836 * gio/gfileattribute.c:
1837 * gio/gfileenumerator.c:
1840 * gio/gfileinputstream.c:
1841 * gio/gfilemonitor.c:
1842 * gio/gfilenamecompleter.c:
1843 * gio/gfilenamecompleter.h:
1844 * gio/gfileoutputstream.c:
1845 * gio/gfilterinputstream.c:
1847 * gio/ginputstream.c:
1849 * gio/gioscheduler.c:
1850 * gio/gloadableicon.c:
1851 * gio/glocaldirectorymonitor.c:
1853 * gio/glocalfileinputstream.c:
1854 * gio/glocalfilemonitor.c:
1855 * gio/glocalfileoutputstream.c:
1857 * gio/gmemoryinputstream.c:
1858 * gio/gmemoryoutputstream.c:
1859 * gio/gmountoperation.c:
1860 * gio/goutputstream.c:
1861 * gio/gpollfilemonitor.c:
1863 * gio/gsimpleasyncresult.c:
1864 * gio/gsocketinputstream.c:
1865 * gio/gsocketoutputstream.c:
1866 * gio/gthemedicon.c:
1867 * gio/gunionvolumemonitor.c:
1869 * gio/gunixmounts.c:
1870 * gio/gunixvolume.c:
1871 * gio/gunixvolumemonitor.c:
1875 * gio/gvolumemonitor.c:
1876 * gio/gwin32appinfo.c:
1877 Add (mostly stub) doc strings to public functions.
1878 Patch from Andrew Walton (awalton@gmail.com)
1880 2007-11-06 Alexander Larsson <alexl@redhat.com>
1882 * gio/gappinfo.[ch]:
1883 Added GAppLaunchContext object and pass that to launch.
1884 This allows simple implementation of both
1885 launch-on-screen and startup notification via a gtk+
1886 subclass of GAppLaunchContext
1888 * gio/gdesktopappinfo.c:
1889 Implement GAppLaunchContext API
1891 * gio/gwin32appinfo.c:
1894 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1896 * gio/gmountoperation.c:
1897 Add some guards to GMountOperation's public functions.
1899 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1903 * gio/gcancellable.c:
1904 * gio/gdirectorymonitor.c:
1906 * gio/gfileenumerator.c:
1907 * gio/gfilemonitor.c:,
1908 * gio/gfilenamecompleter.c:
1911 * gio/gioscheduler.c:
1915 * gio/gvolumemonitor.c:
1916 Add even more guards to various public functions.
1918 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1921 Add guards to the public functions of GAppInfo.
1923 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1925 * gio/gcontenttype.c:
1926 Add some more guards for public functions.
1928 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1930 * gio/fam/fam-module.c:
1931 * gio/fam/gfamdirectorymonitor.c:
1932 * gio/fam/gfamdirectorymonitor.h:
1933 * gio/fam/gfamfilemonitor.c:
1934 * gio/fam/gfamfilemonitor.h:
1935 * gio/inotify/ginotifydirectorymonitor.c:
1936 * gio/inotify/ginotifydirectorymonitor.h:
1937 * gio/inotify/ginotifyfilemonitor.c:
1938 * gio/inotify/ginotifyfilemonitor.h:
1939 Add proper copyright information and remove an unused variable
1940 in the GInotifyFileMonitor constructor.
1942 * gio/gcancellable.c:
1943 Add a guard for a public function and an assertion to prevent
1944 an undefined program state.
1946 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1948 * gio/gfileattribute.c:
1949 Don't run into an assertion if the given attribute value is NULL
1950 in g_file_attribute_value_get_*() but instead return a fallback
1951 value that makes sense in most situations. Passing them a attribute
1952 value with the wrong type will still run into an assertion.
1954 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1956 * gio/gfileattribute.c:
1958 Add even more guards to the public functions. Also fix the refcounting
1959 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1960 let g_file_info_list_attributes() filter the attributes by namespace
1961 instead of simply ignoring the namespace parameter.
1963 2007-11-03 Sven Herzberg <sven@imendio.com>
1965 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1966 (This makes gio work on MacOS X again)
1968 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1971 Build the gio subdirectory before the docs. Otherwise the build will
1974 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1975 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1976 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1977 Add guards to the public functions.
1979 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1981 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1982 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1983 to prevent a compiler warning.
1985 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1986 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1987 return something in the non-void function find_topdir_for().
1989 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1996 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1998 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1999 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2000 * gwin32appinfo.c (g_win32_app_info_launch):
2001 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2002 envp_for_startup_id, g_desktop_app_info_launch,
2003 g_desktop_app_info_launch_uris):
2005 Give an opaque 'startup_id' string instead of 'envp'.
2006 Support empty file lists for launching new windows.
2007 Fix infinite recursion bug when launching URIs.
2009 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2012 Add guard to the new g_file_get_uri_scheme() function.
2014 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2017 Convert a g_return_val_if_fail() to setting the GError instead as
2018 otherwise applications have to verify the parameter before otherwise
2019 and the parameter might come directly from the user.
2021 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2023 * gio/inotify/ginotify*.[ch]:
2024 Add missing copyright information.
2026 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2029 Add guards in the beginning of public functions to check for valid
2030 parameters and fix a bug in copy_stream_with_progress() that could've
2031 caused writing less bytes than reading.
2032 * gio/glocalfileinfo.c:
2033 Check for a NULL parameter and set the GError accordingly then.
2034 * gio/goutputstream.c:
2035 Fix the same bug as in gfile.c that could've caused writing less bytes
2036 than reading in g_output_stream_real_splice().
2038 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2041 Use the correct gvolumeprivate.h naming
2043 2007-11-01 Christian Kellner <gicmo@gnome.org>
2046 Remove leftover "$(daemon_sources)" entry.
2048 2007-11-01 Christian Kellner <gicmo@gnome.org>
2053 Add copyright information to source files.
2055 2007-11-01 Alexander Larsson <alexl@redhat.com>
2059 Add g_file_get_uri_scheme
2061 2007-11-01 Alexander Larsson <alexl@redhat.com>
2064 * gio/gdesktopappinfo.c:
2065 * gio/gwin32appinfo.c:
2066 Add g_app_info_get_default_for_uri_scheme.
2068 2007-11-01 Alexander Larsson <alexl@redhat.com>
2071 Correct filename for gdriveprivate.h
2073 2007-10-31 Alexander Larsson <alexl@redhat.com>
2076 Rename id:value to id:file
2079 * gio/glocalfileinfo.c:
2082 2007-10-31 Alexander Larsson <alexl@redhat.com>
2084 * gio/gunixvolume.c:
2086 Remove g_volume_get_platform_id, as thats not
2087 needed with the simpler union volume monitor
2089 2007-10-31 Alexander Larsson <alexl@redhat.com>
2092 * gio/guniondrive.[ch]: Removed.
2093 * gio/gunionvolume.[ch]: Removed.
2094 Remove GUnionDrive/Volume
2096 * gio/gunionvolumemonitor.c:
2097 Simplify union volume monitor, now we
2098 only have one native volume monitor and
2099 we use the actual volumes/drives from the
2100 child monitors instead of wrapping them
2102 * gio/gnativevolumemonitor.[ch]:
2103 Base class for native volume monitors.
2104 Includes priority and get_volume_for_mountpoint
2107 Add g_file_find_enclosing_volume
2110 Remove volume name fs attribute
2111 Add readonly fs attribute
2114 Implement readonly attribute
2115 remove volume name attribute
2116 Implement find_enclosing volume
2118 * gio/gunixmounts.c:
2119 Add a volume for "/".
2121 * gio/gunixvolume.[ch]:
2122 Set better name for /
2124 * gio/gunixvolumemonitor.[ch]:
2125 Derive from GNativeVolumeMonitor
2126 Implement get_volume_for_mountpoint
2129 GVolume typedef moved to gfile.h
2131 * gio/gvolumeprivate.h:
2132 Add g_volume_get_for_mount_path
2134 2007-10-31 Alexander Larsson <alexl@redhat.com>
2136 * gio/gunixmounts.[ch]:
2137 Add cache info to unix mount listers
2138 Make getmntent use threadsafe
2139 Add is_system_internal attribute for GUnixMount
2141 * gio/gunixvolume.c:
2142 (g_unix_volume_new):
2143 Use is_system_internal instead of own code
2145 * gio/glocaldirectorymonitor.c:
2146 * gio/gunixvolumemonitor.c:
2147 Update to new gunixmounts API
2152 2007-10-30 Alexander Larsson <alexl@redhat.com>
2155 Add volume name fsinfo attribute
2158 Read volume name info
2160 * gio/gunionvolumemonitor.c:
2161 Fix infinite loops when finalizing a union volume monitor
2163 2007-10-30 Alexander Larsson <alexl@redhat.com>
2165 * gio/goutputstream.[ch]:
2166 Add splice() with default implementation
2168 * gio/gsocketoutputstream.c:
2169 (g_socket_output_stream_write):
2170 Return error on cancellation correctly.
2172 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2174 * gio/glocalfile.c (g_local_file_trash):
2175 Do not leak a string.
2177 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2179 * gio/gfile.c (g_file_load_contents):
2180 Unref the stream after closing it.
2182 2007-10-25 Alexander Larsson <alexl@redhat.com>
2184 * gio/gioscheduler.h:
2187 2007-10-25 Alexander Larsson <alexl@redhat.com>
2191 Add g_file_has_uri_scheme and implement for local files
2193 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2195 * gio/gdesktopappinfo.c: do not leak a string.
2197 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2199 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2200 (g_local_directory_monitor_new):
2201 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2202 (g_local_file_monitor_new):
2203 Only look for the monitor type that should be used the first time
2204 and use g_qsort_with_data() instead of our own bubble sort
2207 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2210 * gio/fam/Makefile.am:
2211 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2212 * gio/fam/fam-helper.h:
2213 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2214 * gio/fam/gfamdirectorymonitor.c:
2215 * gio/fam/gfamdirectorymonitor.h:
2216 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2217 * gio/fam/gfamfilemonitor.h:
2218 * gio/glocaldirectorymonitor.c:
2219 * gio/glocaldirectorymonitor.h:
2220 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2221 * gio/glocalfilemonitor.h:
2222 * gio/inotify/Makefile.am:
2223 * gio/inotify/ginotifydirectorymonitor.c:
2224 * gio/inotify/ginotifydirectorymonitor.h:
2225 * gio/inotify/ginotifyfilemonitor.c:
2226 * gio/inotify/ginotifyfilemonitor.h:
2227 Implement the FAM and Inotify monitors as
2228 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2229 their own GIO module. GLocal(Directory|File)Monitor will use the
2230 monitor with the highest rank that is supported on that machine.
2232 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2235 Change GIO module dir to $(libdir)/gio/modules and change
2236 the log domain from GVFS to GIO. Also only export symbols starting
2237 with g_ in the resulting library.
2238 * gio/test-streams.c: (main):
2239 Set log handler for the GIO log domain.
2241 2007-10-22 Alexander Larsson <alexl@redhat.com>
2243 * gio/gfilenamecompleter.[ch]:
2244 Add g_filename_completer_set_dirs_only
2246 2007-10-22 Alexander Larsson <alexl@redhat.com>
2249 * gio/gurifuncs.[ch]:
2250 Add some simple URI helpers
2252 * gio/gfilenamecompleter.[ch]:
2253 Added object for filename (parse name actually) completion
2256 Handle ~ in parse names
2258 2007-10-17 Alexander Larsson <alexl@redhat.com>
2261 * gio/glocalfileinfo.c:
2262 Add and implement id:value attribute
2264 2007-10-17 Alexander Larsson <alexl@redhat.com>
2267 * gio/guniondrive.c:
2269 Add and implement g_drive_has_volumes
2271 2007-10-17 Alexander Larsson <alexl@redhat.com>
2274 * gio/glocalfileinfo.[ch]:
2275 Add unix:is_mountpoint and implement for local files
2277 2007-10-16 Alexander Larsson <alexl@redhat.com>
2279 * gio/gunionvolumemonitor.c:
2280 (g_union_volume_monitor_init):
2281 Fix up the unix type getting so that it works with gcc
2283 2007-10-12 Alexander Larsson <alexl@redhat.com>
2286 * gio/glocalfileinfo.c:
2287 Add thumbnail:failed to file info
2289 2007-10-12 Richard Hult <richard@imendio.com>
2291 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2292 optimizing away the get_type call (happens with some gcc versions,
2293 like the one shipped with OS X 10.4).
2295 2007-10-12 Alexander Larsson <alexl@redhat.com>
2297 * gio/glocalfileinfo.c:
2298 (_g_local_file_info_set_attribute):
2299 Fix build if not HAVE_XATTR
2300 Patch from Milosz Derezynski <internalerror@gmail.com>
2302 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2304 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2305 around for review, otherwise I would have asked you before
2308 2007-10-11 Alexander Larsson <alexl@redhat.com>
2311 Add thumbnail:path attribute
2313 * gio/glocalfileinfo.c:
2314 Implement thumbnail:path for local files
2316 2007-10-11 Alexander Larsson <alexl@redhat.com>
2318 * gio/glocalfileinfo.c:
2319 (_g_local_file_info_get):
2320 Avoid duplicate icon names
2322 2007-10-11 Alexander Larsson <alexl@redhat.com>
2324 * gio/gthemedicon.[ch]:
2325 Change g_themed_icon_get_names return type to const
2327 2007-10-10 Alexander Larsson <alexl@redhat.com>
2329 * gio/glocalfileinfo.c:
2330 Don't reference freed memory
2332 2007-10-10 Alexander Larsson <alexl@redhat.com>
2334 * gio/gfileattribute.c:
2337 * gio/glocalfileinfo.c:
2340 2007-10-10 Alexander Larsson <alexl@redhat.com>
2343 Check for NULL icons
2345 * gio/gfileattribute.c:
2346 Don't dup when getting objects (same as for string attributes)
2348 * gio/gicon.c (g_icon_equal):
2349 Safely handle NULLs in equal
2351 2007-10-10 Alexander Larsson <alexl@redhat.com>
2354 Fix c++ compilation issues
2355 Patch from Milosz Derezynski <internalerror@gmail.com>
2357 2007-10-10 Alexander Larsson <alexl@redhat.com>
2359 * programs/gio-monitor-dir.c:
2360 Don't crash if dir monitor not supported.
2362 2007-10-09 Alexander Larsson <alexl@redhat.com>
2365 Add missing G_END_DECLS
2367 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2369 * gio/gfile.c: (g_file_set_display_name),
2370 (g_file_query_settable_attributes),
2371 (g_file_query_writable_namespaces):
2372 Return NULL not FALSE on errors as the return type is a pointer.
2374 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2376 * gio/glocalfile.c: (g_local_file_monitor_file):
2377 Don't call monitor_file on the default interface vtable (which
2378 is NULL) but simply return NULL. The caller, GFile, will create a
2379 polling monitor if NULL is returned.
2381 2007-10-09 Alexander Larsson <alexl@redhat.com>
2385 * gio-unix-2.0.pc.in:
2386 Add gio-unix-2.0.pc if OS_UNIX
2389 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2391 2007-10-09 Alexander Larsson <alexl@redhat.com>
2393 * gio/gunixmounts.[ch]:
2394 Make unix mount monitoring API sane.
2395 Now its just a object with mounts_changed
2396 and mountpoints_changed signals.
2398 * gio/glocaldirectorymonitor.c:
2399 * gio/gunixvolumemonitor.c:
2400 Use new mount monitor api
2402 2007-10-09 Alexander Larsson <alexl@redhat.com>
2404 * gio/gunixmounts.[ch]:
2405 Move guess type into one call for mounts and one for mountpoints
2408 * gio/gunixvolume.c:
2411 2007-10-09 Alexander Larsson <alexl@redhat.com>
2413 * gio/gunixmounts.[ch]:
2414 Remove _ prefix in preparation to make this semi-public
2415 Hide implementation of structs
2417 * gio/glocaldirectorymonitor.c:
2419 * gio/gunixvolume.c:
2420 * gio/gunixvolumemonitor.c:
2421 Update for above API changes
2423 2007-10-08 Alexander Larsson <alexl@redhat.com>
2426 Better polling fallback. This also handles the case where we have
2427 a monitor_file implementation, but it fails.
2429 2007-10-08 Alexander Larsson <alexl@redhat.com>
2433 * gio/gunixmounts.c:
2434 * programs/gio-monitor-dir.c:
2435 * programs/gio-monitor-file.c:
2436 Added cancellable to file monitoring calls.
2437 These are really sync calls and need this.
2439 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2441 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2442 (g_local_vfs_class_init):
2443 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2444 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2446 2007-10-05 Alexander Larsson <alexl@redhat.com>
2448 * gio/gdirectorymonitorprivate.h:
2449 * gio/gfilemonitorprivate.h:
2450 * gio/gdirectorymonitor.h:
2451 * gio/gfilemonitor.h:
2452 Remove *private.h and move to the public API, so that
2453 we can do implementations outside gio (such as in gvfs)
2455 * gio/gdirectorymonitor.c:
2456 * gio/gfilemonitor.c:
2457 * gio/glocaldirectorymonitor.c:
2458 * gio/gpollfilemonitor.c:
2459 * gio/inotify/inotify-helper.c:
2460 * gio/fam/fam-helper.c:
2461 Update to the new header names
2463 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2465 * gio/gdirectorymonitor.c:
2466 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2469 2007-10-04 Alexander Larsson <alexl@redhat.com>
2471 * gio/glocalfileinfo.c (get_access_rights):
2472 Set CAN_TRASH when we can move the file.
2473 We should really also check for a parent trash dir.
2475 2007-10-04 Alexander Larsson <alexl@redhat.com>
2477 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2478 Add can_trash access attribute
2480 2007-10-04 Alexander Larsson <alexl@redhat.com>
2483 (g_local_file_trash):
2484 Create info file first. This is per-spec and allows
2485 us to actually trash directories.
2487 2007-10-02 Alexander Larsson <alexl@redhat.com>
2489 * gio/gdesktopappinfo.c:
2490 Implement the new mime support code.
2491 Always set app as handling mimetype when being set as default for it
2493 2007-10-01 Alexander Larsson <alexl@redhat.com>
2495 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2496 Fix up check for xattrs:
2498 2007-10-01 Alexander Larsson <alexl@redhat.com>
2501 (g_app_info_set_as_default_for_extension):
2502 (g_app_info_add_supports_type):
2503 (g_app_info_can_remove_supports_type):
2504 (g_app_info_remove_supports_type):
2505 Make these fail nicely if not implemented
2507 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2509 * gio/glocalfileoutputstream.c:
2510 * gio/glocalfileoutputstream.h:
2515 * programs/gio-save.c:
2516 Add a GFileCreateFlags argument to operations that can create
2519 2007-10-01 Alexander Larsson <alexl@redhat.com>
2521 * gio/gappinfo.[ch]:
2522 * gio/gdesktopappinfo.c:
2523 Add more (stubbed out) mime API needed for nautilus
2525 2007-10-01 Alexander Larsson <alexl@redhat.com>
2528 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2529 Add g_app_info_set_as_default_for_extension.
2531 * gio/gdesktopappinfo.c:
2532 Dummy for g_app_info_set_as_default_for_extension
2533 Support flags in g_app_info_create_from_commandline
2535 * gio/gwin32appinfo.c:
2537 Update for API changes
2539 * gio/gthemedicon.c:
2540 Properly NULL-terminate list of icon names
2542 2007-09-28 Alexander Larsson <alexl@redhat.com>
2544 * gio/gloadableicon.h:
2545 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2547 2007-09-28 Alexander Larsson <alexl@redhat.com>
2550 Install headers in $includedir/gio-standalone/
2552 * gio-2.0.pc.in: Added.
2553 * gio-standalone.pc.in: Removed.
2556 Renamed pkg-config file to match glib (for future move)
2557 Update to the new include dir
2560 Add more TODO comments
2562 2007-09-28 Alexander Larsson <alexl@redhat.com>
2564 * gio/gdesktopappinfo.[ch]:
2565 Expose new_from_filename
2566 Add getter for is_hidden and handle it better
2568 2007-09-28 Alexander Larsson <alexl@redhat.com>
2570 * gio/gfileinfo.[ch]:
2571 Rename g_file_size_format_for_display to
2572 g_format_file_size_for_display.
2573 Now it doesn't have the g_file prefix, so we
2574 can later move it to glib.
2576 2007-09-28 Alexander Larsson <alexl@redhat.com>
2578 * gio/gappinfo.[ch]:
2579 Add g_app_info_get_id and g_app_info_get_executable.
2580 Make all getters non-reffing
2581 Make g_app_info_launch take GFile arguments.
2582 Add must_support_uris argument to g_app_info_get_default_for_type.
2584 * gio/gwin32appinfo.c:
2585 Update to GAppInfo api changes
2587 * gio/gdesktopappinfo.c:
2588 Update to GAppInfo api changes
2589 Implement supports_xdg_startup_notify
2591 * gio/gfileicon.c (g_file_icon_get_file):
2592 Make getter non-reffing.
2597 2007-09-27 Alexander Larsson <alexl@redhat.com>
2599 * gio/gfileinfo.[ch]:
2600 Add g_file_size_format_for_display helper
2602 2007-09-27 Alexander Larsson <alexl@redhat.com>
2604 * gio/glocalfileinfo.c:
2605 Set UNIX_GID from gid, not from uid
2607 2007-09-27 Alexander Larsson <alexl@redhat.com>
2610 Add g_file_set_attributes_async
2612 2007-09-27 Alexander Larsson <alexl@redhat.com>
2614 * gio/glocalfile.c (g_local_file_set_display_name):
2615 Fix set_display_name to actually rename to the right place.
2616 Use lstat to look for existing files so we don't overwrite
2619 2007-09-26 Alexander Larsson <alexl@redhat.com>
2622 Add g_file_set_display_name_async()
2624 2007-09-26 Alexander Larsson <alexl@redhat.com>
2627 Add load_partial_contents async calls
2630 Make internal function static
2632 2007-09-26 Alexander Larsson <alexl@redhat.com>
2634 * gio/glocalfileinfo.c:
2635 Correctly detect broken symlinks
2637 2007-09-26 Alexander Larsson <alexl@redhat.com>
2639 * gio/gcancellable.c (g_cancellable_cancel):
2640 Allow cancel on NULL cancellable
2642 2007-09-25 Alexander Larsson <alexl@redhat.com>
2644 * gio/gsimpleasyncresult.c:
2645 Don't allocate g_error manually.
2646 Fixes g_slice/g_new mixup crash
2648 2007-09-25 Alexander Larsson <alexl@redhat.com>
2650 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2651 Actually set active_backend.
2652 This means the monitor will be cancelled correctly.
2654 2007-09-25 Alexander Larsson <alexl@redhat.com>
2656 * gio/gdirectorymonitor.c:
2657 Set timeout to NULL when destroying
2659 2007-09-25 Alexander Larsson <alexl@redhat.com>
2662 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2663 that is a better description of the error.
2665 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2667 * gio/gvfs.c: (g_vfs_get_local):
2668 Make the local vfs variable static. The same instance should
2671 2007-09-24 Alexander Larsson <alexl@redhat.com>
2673 * gio/glocalfileinfo.c:
2674 Pass in actual length read into sniffer, not the length
2677 2007-09-21 Alexander Larsson <alexl@redhat.com>
2679 * gio/gfileenumerator.c:
2682 * gio/gfileinputstream.c:
2683 * gio/gfileoutputstream.c:
2684 * gio/ginputstream.c:
2685 * gio/goutputstream.c:
2686 Don't crash if async callbacks are NULL
2688 2007-09-20 Alexander Larsson <alexl@redhat.com>
2691 Add async enumerate_children method and default
2694 2007-09-20 Alexander Larsson <alexl@redhat.com>
2697 Add g_file_contains_file & g_file_get_relative_path, since they
2698 were needed for nautilus.
2699 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2704 Implement new methods
2706 2007-09-17 Alexander Larsson <alexl@redhat.com>
2709 * gio/gfileinputstream.[ch]:
2710 * gio/gfileoutputstream.[ch]:
2712 * gio/glocalfileenumerator.[ch]:
2713 * gio/glocalfileinfo.[ch]:
2714 * gio/glocalfileinputstream.c:
2715 * gio/glocalfileoutputstream.c:
2716 * gio/gpollfilemonitor.c:
2717 * programs/gio-copy.c:
2718 * programs/gio-info.c:
2719 * programs/gio-move.c:
2720 Rename get_file_info to query_info() to make it clearer
2721 that these are not simple getters, but do i/o.
2723 2007-09-17 Alexander Larsson <alexl@redhat.com>
2725 * gio/gdatainputstream.[ch]:
2726 * gio/test-streams.c:
2727 Use _read_XXX instead of _get_XXX for the i/o calls
2730 2007-09-17 Alexander Larsson <alexl@redhat.com>
2733 Added needed stuff to TODO comment
2735 2007-09-17 Alexander Larsson <alexl@redhat.com>
2737 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2738 Don't error out removing the backup copy if it doesn't
2741 2007-09-14 Alexander Larsson <alexl@redhat.com>
2743 * programs/Makefile.am:
2744 * programs/gvfs-*.c:
2746 Renamed apps from gvfs-xxx to gio-xxx.
2748 2007-09-14 Alexander Larsson <alexl@redhat.com>
2751 * gio/gfileoutputstream.[ch]:
2752 * gio/glocalfileoutputstream.c:
2753 * programs/gvfs-save.c:
2754 g_file_output_stream_get_etag doesn't do i/o, so remove
2755 cancellation and error.
2757 2007-09-14 Alexander Larsson <alexl@redhat.com>
2760 Add new_etag output to replace_contents functions
2762 2007-09-14 Alexander Larsson <alexl@redhat.com>
2764 * gio/gfileoutputstream.[ch]:
2765 Add async get_file_info and default implementation
2767 2007-09-14 Alexander Larsson <alexl@redhat.com>
2769 * gio/gfileinputstream.c:
2770 Implement fallback wrapper for async get_file_info
2772 2007-09-14 Alexander Larsson <alexl@redhat.com>
2775 Add etag out argument to load_contents
2780 2007-09-14 Alexander Larsson <alexl@redhat.com>
2782 * gio/gcontenttype.c (looks_like_text):
2783 Whitespace like tab, cr and lf do not make the
2786 2007-09-14 Alexander Larsson <alexl@redhat.com>
2788 * gio/gfileinputstream.[ch]:
2789 Add async get_file_info.
2791 2007-09-13 Alexander Larsson <alexl@redhat.com>
2793 * gio/goutputstream.c (g_output_stream_write_all):
2794 Allow NULL for bytes_written
2796 2007-09-13 Alexander Larsson <alexl@redhat.com>
2798 * gio/gmemoryinputstream.[ch]:
2799 Add accessors for data
2801 2007-09-13 Alexander Larsson <alexl@redhat.com>
2803 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2804 Don't crash if length is NULL