1 2008-01-14 Alexander Larsson <alexl@redhat.com>
3 * gfile.c (g_file_monitor_file):
4 Don't set error here, since we fallback to polling monitor.
6 2008-01-14 Alexander Larsson <alexl@redhat.com>
9 (g_file_monitor_directory):
10 (g_file_monitor_file):
11 Add GError to file monitor calls
13 * glocaldirectorymonitor.c:
14 * glocaldirectorymonitor.h:
16 * glocalfilemonitor.c:
17 * glocalfilemonitor.h:
19 Update for above change
21 2008-01-14 Alexander Larsson <alexl@redhat.com>
25 Handle root correctly in g_file_get_relative_path (#508719)
27 2008-01-14 Alexander Larsson <alexl@redhat.com>
30 Clean up docs and example for GAsyncResult (#508074)
32 2008-01-11 Murray Cumming <murrayc@murrayc.com>
34 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
35 and correct some spelling mistakes. Bug #508108.
37 2008-01-11 Matthias Clasen <mclasen@redhat.com>
39 * glocalfileinfo.c: Add a comment.
41 2008-01-10 Murray Cumming <murrayc@murrayc.com>
43 * gfileinfo.c: GFileInfo description: Mention
44 how to actually set attributes in a GFile and how to discover
45 which attributes are settable. Bug #508378.
47 2008-01-10 A. Walton <awalton@svn.gnome.org>
49 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
50 (g_app_info_get_default_for_type):
51 Check for NULL content types.
53 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
55 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
57 2008-01-09 Murray Cumming <murrayc@murrayc.com>
59 * gfile.c: *_async() functions: Several small corrections
60 to the documentation, mostly correcting copy/paste errors
61 and improving some sentences.
63 2008-01-09 Dan Winship <danw@gnome.org>
65 * glocalfile.c (get_unique_filename): x86_64 fix
67 2008-01-09 Alexander Larsson <alexl@redhat.com>
72 Add g_unix_mount_guess_should_display and use
73 for unix volume monitor backend.
74 This means we more or less show what the
75 gnome-vfs backend did.
76 Based on patch from Padraig O'Briain
78 2008-01-09 Alexander Larsson <alexl@redhat.com>
82 Add g_themed_icon_new_with_default_fallbacks
85 Use default fallbacks for icons
87 2008-01-09 Alexander Larsson <alexl@redhat.com>
90 * gmountoperation.[ch]:
91 Change the API a bit so that unhandled methods
92 get reported via the reply, rather than by
93 the signal emission return value. This is because
94 some handlers can't know this immediately without
95 doing I/O, and this is an async operation that
98 2008-01-09 Alexander Larsson <alexl@redhat.com>
101 * fam/gfamdirectorymonitor.c:
102 * fam/gfamfilemonitor.c:
103 Fix double free crash (#508224)
104 Patch from Joe Marcus Clarke
106 008-01-07 Matthias Clasen <mclasen@redhat.com>
108 * === Released 2.15.1 ===
110 2008-01-07 Alexander Larsson <alexl@redhat.com>
112 * gunixinputstream.c (g_unix_input_stream_skip_finish):
113 Fix warning (#507835)
115 2008-01-07 Alexander Larsson <alexl@redhat.com>
118 Pass --internal to glib-genmarshal
123 Use better types for signal arguments (#507822)
125 2008-01-07 Alexander Larsson <alexl@redhat.com>
128 Build test subdir after .
129 Remove gdirectorymonitor.[ch]
131 * gdirectorymonitor.[ch]:
135 Remove GDirectoryMonitor and make
136 GFileMonitor the baseclass for both file and
137 directory monitors. Lift the more generic
138 rate limiting code from GDirectoryMonitor
142 * fam/gfamdirectorymonitor.[ch]:
143 * inotify/ginotifydirectorymonitor.[ch]:
144 * inotify/inotify-helper.c:
145 * glocaldirectorymonitor.[ch]:
148 Update for the removed GDirectoryMonitor.
150 * gmemoryoutputstream.c:
151 Remove ununsed variable
153 2008-01-07 Alexander Larsson <alexl@redhat.com>
155 * gmemoryinputstream.c:
156 Translate error strings
159 * gmemoryoutputstream.[ch]:
160 New implementation that avoids using GByteArray
161 in implementation and API. (#506377)
163 2008-01-06 Matthias Clasen <mclasen@redhat.com>
165 * tests/*: Add a test for memory input streams.
167 * Makefile.am: Add tests to SUBDIRS.
169 2008-01-06 Matthias Clasen <mclasen@redhat.com>
171 * glocalfilemonitor.c:
172 * glocaldirectorymonitor.c: Mark property nicks and blurbs
175 2008-01-06 Matthias Clasen <mclasen@redhat.com>
177 * gdesktopappinfo.c: Fix a docs typo.
179 * gfileattribute.c: Add information about extended attributes
180 to the documentation. (#505058)
182 2008-01-04 Alexander Larsson <alexl@redhat.com>
186 Use the right type (uint) for the ask_password signal.
188 2008-01-04 Alexander Larsson <alexl@redhat.com>
193 Add g_app_info_supports_files()
194 Remove desktop arg from g_app_info_should_show().
196 * gdesktopappinfo.[ch]:
197 Implement g_app_info_supports_files() and new should_show()
198 Add g_desktop_app_info_set_desktop_env() to set the desktop
199 for should_show(). (This will be set by gtk+ later)
201 2008-01-04 Alexander Larsson <alexl@redhat.com>
204 * gmemoryinputstream.[ch]:
205 Improve API so that you can use multiple chunks
206 of memory and custom destroy functions. (#506374)
208 2008-01-03 Alexander Larsson <alexl@redhat.com>
211 Handle NULL attribute matchers safely, as we return this
212 for empty attribute matcher strings.
214 2008-01-03 Alexander Larsson <alexl@redhat.com>
216 * gunixmounts.c (g_unix_is_mount_path_system_internal):
217 Add /usr/local to list of internal mountpoints
219 2008-01-03 Alexander Larsson <alexl@redhat.com>
222 Check for HAVE_LCHOWN (#505887)
224 2008-01-03 Alexander Larsson <alexl@redhat.com>
228 Add define for selinux context attribute.
229 Fix missing : -> :: namespace separator change
230 Fix missing _ -> - name change for xattr-sys.
233 2008-01-03 Alexander Larsson <alexl@redhat.com>
236 Link to libglib and libgobject directly (#504879)
237 Patch from Sebastien Bacher
239 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
241 * gfile.c: Expanded the g_file_new_for_commandline_arg
242 description a bit, based on the code and the docs of the
243 other g_file_new_for_* functions.
245 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
247 * gfilemonitor.h: Fixed typo in docs.
249 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
251 Updates to GIO documentation. (#506395, Mikael Hermansson)
253 * gcontenttype.c: Describe memory management for return value of
254 g_content_types_get_registered(). Missing piece from #505815.
255 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
256 GVolume, GDrive, GMounts, which hopefully gives the user less
257 confusions when using this API. Following explainations from
258 Alexander Larsson on gtk-devel-list.
260 2007-12-30 Matthias Clasen <mclasen@redhat.com>
262 * gfileinfo.c: Expand the long description.
264 2007-12-30 Matthias Clasen <mclasen@redhat.com>
267 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
268 fix builds with --disable-visibility. (#500273, Christian Persch)
270 2007-12-30 Matthias Clasen <mclasen@redhat.com>
272 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
273 in the list of returned app infos.
275 2007-12-30 Matthias Clasen <mclasen@redhat.com>
277 * gappinfo.c: Fix a cross-reference
279 2007-12-30 Matthias Clasen <mclasen@redhat.com>
281 * gfileinputstream.c:
282 * gfileoutputstream.c:
288 * gfileinfo.c: Documentation updates.
290 2007-12-26 Matthias Clasen <mclasen@redhat.com>
292 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
295 2007-12-26 Matthias Clasen <mclasen@redhat.com>
297 * gcontenttype.c (g_content_types_get_registered): Don't return
298 freed memory (#505815, Mikael Hermansson)
300 2007-12-25 Paolo Borelli <pborelli@katamail.com>
302 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
303 used to detect statbuf->st_blocks. (#505042)
305 2007-12-24 Matthias Clasen <mclasen@redhat.com>
307 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
308 environment handling. (#504829, Cosimo Cecchi)
310 2007-12-22 Matthias Clasen <mclasen@redhat.com>
312 * gappinfo.c: Doc improvements
314 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
317 2007-12-20 Matthias Clasen <mclasen@redhat.com>
319 * === Released 2.15.0 ===
321 2007-12-20 Hans Breuer <hans@breuer.org>
323 * makefile.msc : don't build gdesktopappinfo.obj, it collides
324 with symbols gwin32appinfo.obj, added gmount.obj
325 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
327 2007-12-20 Alexander Larsson <alexl@redhat.com>
333 * gfilenamecompleter.c:
336 * gpollfilemonitor.c:
337 File attribute renames:
340 id::fs -> id::filesystem
342 2007-12-20 Alexander Larsson <alexl@redhat.com>
351 Add GMountUnmountFlags to all unmount and
353 Add g_mount_remount() call.
355 2007-12-20 Alexander Larsson <alexl@redhat.com>
357 * gvfs.c (get_default_vfs):
358 Fix unused variable warning
360 2007-12-19 Matthias Clasen <mclasen@redhat.com>
362 * pltcheck.sh: Update
364 2007-12-19 Matthias Clasen <mclasen@redhat.com>
366 * gunionvolumemonitor.c:
367 * gunixmount.c: Remove C99 comments
369 2007-12-19 Matthias Clasen <mclasen@redhat.com>
371 * gio.symbols: Add some missing symbols
373 2007-12-19 Alexander Larsson <alexl@redhat.com>
376 Make g_io_modules_load_all_in_directory not unuse
377 loaded modules so that users of it can do stuff
379 Init internal "module" types.
380 Initialize static prio and name for types so that
381 we don't have to load modules to get it.
383 * gnativevolumemonitor.h:
385 Move is_supported to parent class so that
386 non-native monitors can avoid being initialized
387 too. (For instance GDaemonVolumeMonitor if we're
388 not using GDaemonVfs.)
390 * glocaldirectorymonitor.[ch]:
391 * glocalfilemonitor.[ch]:
392 * gunionvolumemonitor.c:
393 * gunixvolumemonitor.c:
395 Find plugins using the static prio+name to
396 avoid unnecessarily loading the modules.
398 2007-12-19 Alexander Larsson <alexl@redhat.com>
403 2007-12-19 Alexander Larsson <alexl@redhat.com>
405 * gunionvolumemonitor.c:
406 Store the native type as GType, not class so that
407 we can unload it. But still avoid unnecessarily
410 2007-12-19 David Zeuthen <davidz@redhat.com>
412 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
413 add signals 'disconnected' and 'eject-button' on GDrive. Add
414 signal 'removed' on GVolume and 'unmounted' on GMount.
416 * gdrive.c: (g_drive_base_init):
418 * gfile.c: (g_file_mount_mountable),
419 (g_file_mount_enclosing_volume):
422 * gmount.c: (g_mount_base_init):
424 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
425 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
426 * gvolume.c: (g_volume_base_init), (g_volume_mount):
430 2007-12-17 Matthias Clasen <mclasen@redhat.com>
432 * *.c: Fix up includes in the section docs.
434 2007-12-17 Alexander Larsson <alexl@redhat.com>
436 * gnativevolumemonitor.h:
437 * gunionvolumemonitor.c:
438 * gunixvolumemonitor.c:
439 Add is_supported() to GNativeVolumeMonitorClass so
440 that we can avoid having to create an object to see
441 if the backend is supported at runtime.
442 Also add name member and an env var to pick a specific
443 volume monitor backend.
447 Add cancellable to _g_mount_get_for_mount_path()
449 * glocaldirectorymonitor.c:
450 * glocalfilemonitor.c:
451 Avoid loading and unloading modules while sorting.
453 2007-12-17 Matthias Clasen <mclasen@redhat.com>
456 * gunixmounts.[hc]: Namespace waste reduction, move some
457 g_get_unix_mount functions to the g_unix_mount namespace.
460 * gunixvolumemonitor.c:
462 * glocaldirectorymonitor.c: Update all callers.
464 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
466 2007-12-17 Alexander Larsson <alexl@redhat.com>
469 Add doc comments about what GFile operations are
470 guaranteed to not block.
472 2007-12-17 Alexander Larsson <alexl@redhat.com>
475 Add missing #ifdef fixing OSX build.
476 (#503334, patch from Richard Hult)
478 2007-12-14 David Zeuthen <davidz@redhat.com>
482 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
483 (g_mount_eject), (g_mount_eject_finish):
485 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
486 (get_volume_for_uuid), (get_mount_for_uuid),
487 (g_union_volume_monitor_class_init),
488 (get_default_native_type_with_exclude), (get_default_native_type),
489 (get_native_type), (update_native_type),
490 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
491 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
492 (g_unix_mount_can_eject), (eject_unmount_cb),
493 (eject_unmount_read_error), (eject_unmount_do),
494 (g_unix_mount_unmount), (g_unix_mount_eject),
495 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
496 * gunixmounts.c: (g_unix_mount_guess_can_eject),
497 (g_unix_mount_point_guess_can_eject):
499 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
500 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
501 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
502 (g_unix_volume_mount), (g_unix_volume_eject),
503 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
504 * gunixvolumemonitor.c: (get_volume_for_uuid),
505 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
507 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
508 (g_volume_eject), (g_volume_eject_finish):
510 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
511 (g_volume_monitor_get_mount_for_uuid):
514 Provide eject() on both GMount and GVolume and utility functions
515 to guess whether a GUnixMountPoint or GUnixMountEntry should be
516 ejected. Introduce the concept of UUID's and wire it into GVolume
517 and GMount and provide API on GVolumeMonitor to find such
518 instances. Also handle the case where an external
519 GNativeVolumeMonitor fails to initialize. Lock around the
520 _g_get_mount_for_mount_path() function such that volume monitor
521 implementations won't have to do locking themselves.
523 2007-12-17 Matthias Clasen <mclasen@redhat.com>
531 * gvolume.h: Documentation updates
533 2007-12-14 Matthias Clasen <mclasen@redhat.com>
536 * gfile.h: Doc updates
538 2007-12-14 Matthias Clasen <mclasen@redhat.com>
541 * gdesktopappinfo.c: Use hash table iterators.
543 2007-12-14 Alexander Larsson <alexl@redhat.com>
546 * gfileattribute.[ch]:
547 * gfileattribute-priv.h:
548 Move GFileAttributeValue to a private header, as
552 Make set_attribute take a type + a pointer instead
553 of a GFileAttributeValue.
556 Fix up for above changes.
557 Add g_file_info_get_attribute_data to get
558 all info in one call, g_file_info_get_attribute_status
559 to get the status and g_file_info_get_attribute_as_string.
563 * glocalfileinfo.[ch]:
567 Make _guess_type static.
569 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
572 * inotify/Makefile.am: Fixed build when srcdir != builddir,
573 made mkenums and friends use temporary files to avoid leaving
574 empty generated files on failure (#503470).
576 2007-12-14 Alexander Larsson <alexl@redhat.com>
581 2007-12-14 Alexander Larsson <alexl@redhat.com>
585 * gfileattribute.[ch]:
588 * glocalfileoutputstream.c:
589 * gmountoperation.[ch]:
590 * goutputstream.[ch]:
591 Clean up all flags enums to not have _FLAGS in them
592 Make the names of some of the enums better.
597 2007-12-14 Michael Natterer <mitch@imendio.com>
599 * gio.symbols: fix g_io_scheduler symbol names.
601 2007-12-14 Alexander Larsson <alexl@redhat.com>
607 * gbufferedinputstream.h:
608 * gbufferedoutputstream.h:
611 * gdatainputstream.h:
612 * gdataoutputstream.h:
614 * gdirectorymonitor.h:
621 * gfileinputstream.h:
623 * gfilenamecompleter.h:
624 * gfileoutputstream.h:
625 * gfilterinputstream.h:
626 * gfilteroutputstream.h:
634 * gmemoryinputstream.h:
635 * gmemoryoutputstream.h:
640 * gsimpleasyncresult.h:
642 * gunixinputstream.h:
644 * gunixoutputstream.h:
648 * inotify/Makefile.am:
649 Only allow including <gio/gio.h> from apps
651 2007-12-14 Alexander Larsson <alexl@redhat.com>
654 * gsimpleasyncresult.c:
655 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
656 Split out the send_to_mainloop call into two versions instead
657 of having the block argument.
659 2007-12-13 Alexander Larsson <alexl@redhat.com>
663 * gbufferedinputstream.c:
665 * gfileinputstream.c:
666 * gfileoutputstream.c:
670 g_push/pop_current_cancellable ->
671 g_cancellable_push/pop_current
673 2007-12-13 Alexander Larsson <alexl@redhat.com>
677 Rename g_mount_for_location to g_file_mount_enclosing_volume.
679 2007-12-13 Alexander Larsson <alexl@redhat.com>
682 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
684 2007-12-12 Alexander Larsson <alexl@redhat.com>
687 Fix race condition when freeing proxy in
688 g_io_job_send_to_mainloop().
690 2007-12-12 Alexander Larsson <alexl@redhat.com>
696 Make attribute namespace separator "::" instead of ":".
697 Use - instead of _ as separator in attribute names.
699 2007-12-12 Alexander Larsson <alexl@redhat.com>
701 * gbufferedinputstream.h:
702 * gbufferedoutputstream.h:
703 * gdatainputstream.h:
704 * gdataoutputstream.h:
705 * gdirectorymonitor.h:
707 * gfileinputstream.h:
709 * gfileoutputstream.h:
710 * gfilterinputstream.h:
711 * gfilteroutputstream.h:
713 * glocalfileinputstream.h:
714 * glocalfileoutputstream.h:
715 * gmemoryinputstream.h:
716 * gmemoryoutputstream.h:
717 * gnativevolumemonitor.h:
719 * gunixinputstream.h:
720 * gunixoutputstream.h:
723 s/parent/parent_instance/ in GObjects
725 2007-12-12 Alexander Larsson <alexl@redhat.com>
730 No need for padding for interfaces
732 2007-12-12 Alexander Larsson <alexl@redhat.com>
736 * gbufferedinputstream.c:
737 * gbufferedoutputstream.c:
740 * gdatainputstream.[ch]:
742 * gdirectorymonitor.c:
744 * gfileattribute.[ch]:
747 * gfileinputstream.h:
749 * gfileoutputstream.[ch]:
750 * gfilterinputstream.h:
751 * gfilteroutputstream.h:
754 * gloadableicon.[ch]:
755 * gmemoryinputstream.c:
758 Fix up a bunch of details in the docs.
763 2007-12-11 David Zeuthen <davidz@redhat.com>
765 Rework how volumes, drives and volume monitoring is
766 done. Previosly the model was
770 where a GDrive instance represented a mount point and a GVolume
771 instance represented a mounted file system. This patch changes it
774 GDrive <1-N> GVolume <1-1> GMount
776 where GMount now serves the purpose of the old GVolume and the new
777 GVolume serves the purpose of the old GDrive. In addition the new
778 GDrive interface is used to represent a collection of GVolume
779 instances (typically partitions) and also contains utility to query
780 the state of the physical drive the GDrive object represents (such
781 as checking for media, polling the drive, ejecting the media etc.).
783 Also implement mounting and unmounting in the Unix volume monitor
784 backend. A subquent patch will introduce GDrive support for ejection
788 * gdrive.c: (g_drive_is_media_check_automatic),
789 (g_drive_is_media_removable), (g_drive_has_media),
790 (g_drive_can_poll_for_media), (g_drive_eject),
791 (g_drive_eject_finish), (g_drive_poll_for_media),
792 (g_drive_poll_for_media_finish):
794 * gfile.c: (g_file_find_enclosing_mount):
797 * glocaldirectorymonitor.c:
798 (g_local_directory_monitor_constructor), (mounts_changed):
799 * glocalfile.c: (get_mount_info),
800 (g_local_file_find_enclosing_mount),
801 (g_local_file_file_iface_init):
802 * gnativevolumemonitor.h:
803 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
804 (get_connected_drives), (g_union_volume_monitor_class_init),
805 (child_volume_added), (child_volume_removed),
806 (child_volume_changed), (child_mount_added), (child_mount_removed),
807 (child_mount_pre_unmount), (child_mount_changed),
808 (child_drive_changed), (g_union_volume_monitor_add_monitor),
809 (g_union_volume_monitor_remove_monitor),
810 (_g_mount_get_for_mount_path):
811 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
812 (guess_system_internal), (_g_get_unix_mounts),
813 (_g_get_unix_mount_points), (g_get_unix_mount_at),
814 (g_unix_mount_free), (g_unix_mount_compare),
815 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
816 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
817 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
818 (type_to_icon), (g_unix_mount_guess_name),
819 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
820 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
821 (_resolve_symlink), (_resolve_dev_root):
823 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
824 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
825 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
826 (g_unix_volume_get_name), (g_unix_volume_can_mount),
827 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
828 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
829 (g_unix_volume_mount), (g_unix_volume_mount_finish),
830 (g_unix_volume_volume_iface_init):
832 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
833 (get_mounts), (get_volumes), (get_connected_drives),
834 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
835 (mountpoints_changed), (mounts_changed),
836 (g_unix_volume_monitor_init),
837 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
838 (find_mount_by_mountpath), (update_volumes), (update_mounts):
839 * gunixvolumemonitor.h:
840 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
841 (g_volume_mount), (g_volume_mount_finish):
843 * gvolumemonitor.c: (g_volume_monitor_class_init),
844 (g_volume_monitor_get_connected_drives),
845 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
848 2007-12-10 Matthias Clasen <mclasen@redhat.com>
850 * gmountoperation.h (GPasswordFlags): Close the gap
852 2007-12-10 Matthias Clasen <mclasen@redhat.com>
854 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
856 * gdesktopappinfo.[hc]: Remove _-prefixes
858 2007-12-10 Tor Lillqvist <tml@novell.com>
860 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
863 2007-12-10 Alexander Larsson <alexl@redhat.com>
865 * gfile.c (g_file_set_display_name):
866 Don't hardcode '/' (#502727)
868 2007-12-09 Hans Breuer <hans@breuer.org>
870 * makefile.msc : follow lib naming convention
871 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
872 for user and group name, tested with ../tests/gio-ls
874 2007-12-09 A. Walton <awalton@svn.gnome.org>
887 * gmemoryinputstream.c:
888 * gmemoryoutputstream.c:
890 * gsimpleasyncresult.c:
891 More documentation cleanup and filling in missing information, bringing
892 GIO to 99% symbol coverage.
894 2007-12-08 Hans Breuer <hans@breuer.org>
896 [gio compiles and links on win32, not sure how much already works]
897 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
898 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
899 base on win32 API; prefer g_lstat() over lstat(); instead of
900 localtime_r() use an all GLib implementation on win32;
901 get_mount_info() still needs a win32 specifc implementation
902 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
903 win32_get_file_user_info to get owner/group info without uid/gid
904 * glocalfileinputstream.c : include <io.h> on win32
905 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
906 definition, use g_win32_ftruncate() for G_OS_WIN32
907 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
908 it is available with mingw/w32api but a mess with the M$ Platform SDKs
909 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
910 * makefile.msc : updated
912 2007-12-07 Alexander Larsson <alexl@redhat.com>
914 * glocalfileenumerator.c (_g_local_file_enumerator_new):
915 Avoid warning spew if error == NULL
917 2007-12-07 Alexander Larsson <alexl@redhat.com>
920 Update docs wrt etags
922 2007-12-06 Alexander Larsson <alexl@redhat.com>
925 Include sys/types.h for dev_t (#501919)
927 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
931 Make abicheck and pltcheck pass.
933 2007-12-05 Alexander Larsson <alexl@redhat.com>
936 * giomodule-priv.h: Added.
937 * glocaldirectorymonitor.c:
938 * glocalfilemonitor.c:
939 * gunionvolumemonitor.c:
941 Actually add the declaration of _g_io_modules_ensure_loaded
943 2007-12-05 Alexander Larsson <alexl@redhat.com>
945 * gdatainputstream.c:
950 * glocaldirectorymonitor.c:
951 * glocalfilemonitor.c:
952 * gunionvolumemonitor.c:
954 Make g_io_modules_ensure_loaded a private function and
955 don't pass in the dirname. This means we can do magic
956 directory finding in the win32 version.
957 Export the actual load-modules-in-directory code so that
960 2007-12-05 Alexander Larsson <alexl@redhat.com>
962 * gbufferedinputstream.c:
963 * gbufferedoutputstream.c:
966 * gfileenumerator.[ch]:
967 * gfileinputstream.c:
968 * gfileoutputstream.[ch]:
969 * gfilterinputstream.c:
970 * gfilteroutputstream.c:
973 * glocalfileenumerator.c:
974 * glocalfileinputstream.c:
975 * glocalfileoutputstream.c:
976 * gmemoryinputstream.c:
977 * gmemoryoutputstream.c:
978 * goutputstream.[ch]:
981 * gunixinputstream.c:
982 * gunixoutputstream.c:
983 Rename all struct members named:
984 read, write, close, truncate, or mount
985 to foo_fn, as these are reserved names
986 and could be defined as macros in libc.
989 2007-12-04 Alexander Larsson <alexl@redhat.com>
992 (g_output_stream_close):
993 Only call flush if non-null.
995 2007-11-30 Dan Winship <danw@gnome.org>
997 * ginputstream.c (g_input_stream_set_pending): Make this take a
998 GError and return a gboolean, and do the "outstanding operation"
999 check (and the "stream is already closed" check) itself.
1000 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1002 * goutputstream.c (g_output_stream_set_pending)
1003 (g_output_stream_clear_pending): Likewise
1005 * gbufferedinputstream.c:
1006 * gfileinputstream.c:
1007 * gfileoutputstream.c: Update for that
1009 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1010 Like g_simple_async_report_error_in_idle, but takes a GError
1011 rather than building one.
1013 2007-11-30 Dan Winship <danw@gnome.org>
1015 * goutputstream.c: Don't cheat and unset the "pending" flag around
1016 inner calls. Instead, call the class method directly rather than
1017 the wrapper function that checks "pending"
1019 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1021 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1023 2007-12-03 Hans Breuer <hans@breuer.org>
1025 [start of port to win32/msvc]
1026 * gcancellable.c : HAVE_UNIST_H and _pipe()
1027 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1028 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1029 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1031 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1032 * glocalvfs.c : use HAVE_PWD_H
1033 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1034 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1035 * Makefile.am : added to EXTRA_DIST
1037 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1039 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1042 2007-12-03 Alexander Larsson <alexl@redhat.com>
1045 Handle OSX style xattrs API (#500506)
1047 2007-12-03 Alexander Larsson <alexl@redhat.com>
1051 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1053 2007-12-02 A. Walton <awalton@svn.gnome.org>
1057 Documentation accuracy fixes.
1059 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1061 * gioenumtypes.c.template: Fix typo.
1063 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1065 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1067 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1069 * gdirectorymonitor.c:
1070 * gfilemonitor.c: Add properties
1072 * gbufferedoutputstream.c: Don't mark buffer-size property
1075 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1077 * gbufferedoutputstream.c: Add auto-grow property.
1079 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1081 * *.c: Unify the capitalization of section headings.
1083 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1085 * gmountoperation.c: Add properties
1087 * gdatainputstream.c: Turn byte-order and newline-type into
1090 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1092 * gioenumtypes.[hc].template: Templates for enum registration
1094 * Makefile.am: Generate gioenumtypes.[hc]
1096 * gio.h: Include gioenumtypes.h
1098 * gfile.h: Add some explicit nicks.
1100 * gio.symbols: Add new symbols
1102 * pltcheck.sh: Adjust
1104 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1106 * *.c: Explain etags and link to the explanation
1108 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1110 * *.c: Explain I/O priority.
1112 * *.c: More coding style fixes.
1114 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1116 * gasyncresult.c: Add another paragraph to the intro,
1117 adjust coding style of example.
1119 2007-11-29 A. Walton <awalton@svn.gnome.org>
1122 Fixes unknown meaning in GAppLaunchContext docs.
1124 Clarify asynchronous ops.
1126 Fix entity tag docs.
1129 Provides missing gtk-doc section, fixes API docs slighly.
1130 * gsimpleasyncresult.c:
1131 Fill in missing info in docs.
1132 * gunixinputstream.c:
1133 * gunixoutputstream.c:
1134 Be more expressive in short description.
1136 Remove gtk-doc stubs for non-public API.
1138 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1140 * *.c: Coding style fixups
1142 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1144 * inotify/inotify-helper.c: Don't export the lock from libgio.
1146 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1149 * abicheck.sh: Fix copy-and-paste leftovers
1151 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1153 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1155 2007-11-28 Alexander Larsson <alexl@redhat.com>
1159 Removed unnecessary file
1161 * gdesktopappinfo.[ch]:
1164 * glocaldirectorymonitor.[ch]:
1166 * glocalfileenumerator.[ch]:
1167 * glocalfileinputstream.[ch]:
1168 * glocalfilemonitor.[ch]:
1169 * glocalfileoutputstream.[ch]:
1171 * gnativevolumemonitor.c:
1172 * gpollfilemonitor.[ch]:
1173 * gunionvolumemonitor.[ch]:
1176 * gunixvolumemonitor.[ch]:
1179 * inotify/ginotifydirectorymonitor.[ch]:
1180 * inotify/ginotifyfilemonitor.[ch]:
1181 * inotify/inotify-helper.c:
1182 Append _ to all internal functions
1186 Export symbols needed for modules
1188 2007-11-28 Alexander Larsson <alexl@redhat.com>
1191 * abicheck.sh: Added.
1192 * makegioalias.pl: Added.
1193 * pltcheck.sh: Added.
1194 * gio.symbols: Added.
1197 Initial work on adding symbol handling.
1200 Correct ifdef guard name
1203 * inotify/Makefile.am:
1204 * xdgmime/Makefile.am:
1205 Include toplevel Makefile.decl
1207 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1209 * gcontenttype.c: Move doc comments to the unix section.
1211 * *.[hc]: More trivial doc corrections.
1213 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1215 * gpollfilemonitor.c:
1219 * gdesktopappinfo.c:
1224 * gdatainputstream.c:
1225 * gdatainputstream.h:
1226 * gdataoutputstream.c:
1227 * gdataoutputstream.h:
1228 * gfileinfo.h: Doc cleanups
1230 2007-11-28 Andre Klapper <a9016009@gmx.de>
1232 * gdesktopappinfo.c: Fix a typo.
1234 2007-11-27 Andre Klapper <a9016009@gmx.de>
1236 * glocalfileoutputstream.c: Fix a typo.
1238 2007-11-27 Alexander Larsson <alexl@redhat.com>
1241 Don't include removed headers
1243 2007-11-27 Alexander Larsson <alexl@redhat.com>
1246 * gsocketinputstream.[ch]: Removed.
1247 * gsocketoutputstream.[ch]: Removed.
1248 * gunixinputstream.[ch]: Added.
1249 * gunixoutputstream.[ch]: Added.
1250 Renamed GSocket*Stream to GUnix*Stream and made
1251 it unix-only, since its not really only for sockets
1252 and it only works on unix (but is highly useful there).
1254 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1260 * gbufferedinputstream.c:
1261 * gbufferedinputstream.h:
1262 * gbufferedoutputstream.c:
1263 * gbufferedoutputstream.h:
1267 * gdatainputstream.c:
1268 * gdatainputstream.h:
1269 * gdataoutputstream.c:
1270 * gdataoutputstream.h:
1271 * gdirectorymonitor.c:
1272 * gdirectorymonitor.h:
1279 * gfileenumerator.c:
1280 * gfileenumerator.h:
1285 * gfileinputstream.c:
1286 * gfileinputstream.h:
1289 * gfilenamecompleter.c:
1290 * gfilenamecompleter.h:
1291 * gfileoutputstream.c:
1292 * gfileoutputstream.h:
1293 * gfilterinputstream.c:
1294 * gfilterinputstream.h:
1295 * gfilteroutputstream.c:
1296 * gfilteroutputstream.h:
1309 * glocalfileoutputstream.c:
1310 * gmemoryinputstream.c:
1311 * gmemoryinputstream.h:
1312 * gmemoryoutputstream.c:
1313 * gmemoryoutputstream.h:
1314 * gmountoperation.c:
1315 * gmountoperation.h:
1318 * gpollfilemonitor.c:
1321 * gsimpleasyncresult.c:
1322 * gsimpleasyncresult.h:
1323 * gsocketinputstream.c:
1324 * gsocketinputstream.h:
1325 * gsocketoutputstream.c:
1326 * gsocketoutputstream.h:
1333 * gunixvolumemonitor.c:
1342 Bumps documentation to 93% symbol coverage, touching most
1343 of the public files. Fixes broken function documentation prototypes.
1344 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1345 gtk-doc headers in private files.
1347 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1349 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1350 (g_buffered_input_stream_read_byte):
1351 * gbufferedinputstream.h:
1352 New functions for efficient access to buffer and simple single byte
1355 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1356 (g_data_input_stream_read_until):
1357 * gdatainputstream.h:
1358 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1359 read_until with multiple stop chars.
1361 2007-11-27 Alexander Larsson <alexl@redhat.com>
1365 * inotify/Makefile.am:
1366 Use the user-specified giomoduledir
1368 2007-11-27 Alexander Larsson <alexl@redhat.com>
1372 Add catch-all gio.h header
1373 Don't install gdummyfile.h
1375 2007-11-26 Alexander Larsson <alexl@redhat.com>
1377 * Makefile.am (gioinclude_HEADERS):
1378 Remove trailing whitespace
1380 2007-11-26 Alexander Larsson <alexl@redhat.com>
1382 Merge gio-standalone into glib
1384 2007-11-25 Christian Kellner <gicmo@gnome.org>
1386 * gio/goutputstream.c:
1387 Fix small mistake in the docs.
1389 2007-11-21 Christian Persch <chpe@gnome.org>
1391 * gio/glocalfile.c: (g_local_file_trash):
1392 Convert filenames to UTF-8 for GError.
1393 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1394 as per xdg base dir spec.
1396 2007-11-21 Christian Persch <chpe@gnome.org>
1398 * gio/gdesktopappinfo.c:
1399 Use that g_key_file_to_data cannot fail.
1401 Use stock defines for the key file group and key names.
1404 2007-11-21 Alexander Larsson <alexl@redhat.com>
1407 (copy_stream_with_progress):
1408 Make sure we do a final progress callback with
1409 the full total size.
1411 2007-11-21 Alexander Larsson <alexl@redhat.com>
1414 Export g_file_copy_attributes
1415 Remove padding as its not needed for interfaces
1417 2007-11-20 Alexander Larsson <alexl@redhat.com>
1422 Add G_IO_ERROR_WOULD_MERGE for
1423 copy/move dir on dir with overwrite.
1425 2007-11-20 Alexander Larsson <alexl@redhat.com>
1428 * gio/glocalfileinfo.c:
1429 Add COPY_NAME (this is an optional
1430 non-modified utf8 version of the name) that
1433 2007-11-20 Alexander Larsson <alexl@redhat.com>
1435 * gio/glocalfileenumerator.c:
1436 Report errors as GIOError, not GFileError
1438 2007-11-16 Alexander Larsson <alexl@redhat.com>
1440 * gio/glocalfileoutputstream.c:
1441 * gio/gwin32appinfo.c:
1442 Fix typos in strings.
1443 Patch from Luca Ferretti <elle.uca@libero.it>
1445 2007-11-15 Alexander Larsson <alexl@redhat.com>
1448 Post release version bump
1450 === gio-standalone 0.1.2 ===
1452 2007-11-15 Alexander Larsson <alexl@redhat.com>
1454 * docs/reference/gio/Makefile.am:
1455 Fix up distcheck by removing weird
1461 2007-11-14 Alexander Larsson <alexl@redhat.com>
1463 * gio/gdesktopappinfo.c:
1464 * gio/glocaldirectorymonitor.c:
1466 * gio/glocalfileinfo.c:
1467 * gio/inotify/inotify-sub.c:
1468 * programs/gio-cat.c:
1469 * programs/gio-copy.c:
1470 * programs/gio-info.c:
1471 * programs/gio-ls.c:
1472 * programs/gio-monitor-dir.c:
1473 * programs/gio-monitor-file.c:
1474 * programs/gio-mount.c:
1475 * programs/gio-move.c:
1476 * programs/gio-rm.c:
1477 * programs/gio-save.c:
1478 * programs/gio-trash.c:
1479 Leak fixes from Kjartan Maraas
1481 2007-11-14 Alexander Larsson <alexl@redhat.com>
1483 * gio/fam/fam-helper.c:
1485 * gio/glocalfileinfo.c:
1489 * gio/inotify/inotify-diag.c:
1490 * gio/inotify/inotify-kernel.c:
1491 Various code cleanups from Kjartan Maraas
1493 2007-11-14 Alexander Larsson <alexl@redhat.com>
1495 * gio/gioscheduler.c:
1497 Set up threadpool so that we cache 2 unused
1498 idle threads for at 15 secs. This means we
1499 will reuse thread-local data (like dbus connections)
1502 2007-11-14 Alexander Larsson <alexl@redhat.com>
1504 * gio/fam/fam-helper.c:
1505 * gio/fam/gfamdirectorymonitor.c:
1506 * gio/fam/gfamfilemonitor.c:
1508 * gio/gcontenttype.c:
1509 * gio/gdatainputstream.c:
1510 * gio/gdataoutputstream.c:
1514 * gio/gfileattribute.h:
1515 * gio/gfileenumerator.c:
1517 * gio/ginputstream.c:
1520 * gio/glocalfileinfo.c:
1521 * gio/goutputstream.c:
1522 * gio/gpollfilemonitor.c:
1523 * gio/gsimpleasyncresult.c:
1524 * gio/gunixmounts.c:
1525 * gio/gunixmounts.h:
1526 * gio/inotify/ginotifydirectorymonitor.c:
1527 * gio/inotify/ginotifyfilemonitor.c:
1528 * gio/inotify/inotify-diag.c:
1529 * gio/inotify/inotify-kernel.c:
1530 * gio/inotify/inotify-path.c:
1532 * gio/test-streams.c:
1533 * programs/gio-info.c:
1534 * programs/gio-monitor-dir.c:
1535 * programs/gio-monitor-file.c:
1536 Various code cleanups from Kjartan Maraas
1538 2007-11-13 Alexander Larsson <alexl@redhat.com>
1541 Handle the uri-scheme calls for dummy files
1543 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1545 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1546 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1547 to avoid clash with the C++ keyword.
1549 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1551 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1552 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1554 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1556 * gio/glocaldirectorymonitor.c:
1557 * gio/glocalfilemonitor.c:
1558 * gio/gunionvolumemonitor.c:
1559 Don't use g_once_init_*() for initializations that could fail and
1560 could leave the initialization variable set to 0 but use GOnce.
1561 This prevents a deadlock on the second call when trying to create
1562 a monitor and no monitor type is available. Thanks to Sven Herzberg
1565 2007-11-11 Sven Herzberg <sven@imendio.com>
1567 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1568 #ifdef (make it work on MacOS X again)
1570 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1572 Fixes Changelog for last two commits (sorry guys).
1574 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1576 * gio/gbufferedinputstream.c:
1577 * gio/gdatainputstream.c:
1579 * gio/gfileoutputstream.c:
1580 * gio/gfilterinputstream.c:
1581 * gio/glocalfileinputstream.c:
1584 More consistency fixes in g*stream.c files.
1585 Significant clean of gfile's documentation, filling in of
1586 asynchronous operations documentation.
1588 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1590 * gio/gasyncresult.c:
1591 * gio/gbufferedinputstream.c:
1592 * gio/gbufferedoutputstream.c:
1593 * gio/gcancellable.c:
1594 * gio/gcontenttype.c:
1595 * gio/gdatainputstream.c:
1596 * gio/gdataoutputstream.c:
1597 * gio/gdesktopappinfo.c:
1600 * gio/gfileattribute.c:
1601 * gio/gio/gfileenumerator.c:
1603 * gio/gfileinputstream.c:
1604 * gio/gfilemonitor.c:
1605 * gio/gfileoutputstream.c:
1606 * gio/ginputstream.c:
1608 * gio/gioscheduler.c:
1609 * gio/gloadableicon.c:
1610 * gio/glocalfileoutputstream.c:
1611 * gio/gmemoryoutputstream.c:
1612 * gio/gmountoperation.c:
1613 * gio/goutputstream.c:
1615 * gio/gsimpleasyncresult.c:
1616 * gio/gunionvolumemonitor.c:
1617 * gio/gunixmounts.c:
1618 * gio/gunixvolume.c:
1622 * gio/gvolumemonitor.c:
1623 Updated documentation stubs, working towards consistency and
1626 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1628 * gio/gmemoryoutputstream.c:
1629 * gio/gmemoryoutputstream.h:
1630 Change g_memory_output_stream_set_free_on_close() to
1631 g_memory_output_stream_set_free_data() as this makes more sense and
1632 is more consistent with GMemoryInputStream.
1634 2007-11-07 Alexander Larsson <alexl@redhat.com>
1641 Change how we find the default vfs so that
1642 we can handle a gvfs failing to init
1644 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1646 * gio/gbufferedoutputstream.c:
1647 * gio/gdatainputstream.c:
1648 * gio/gdataoutputstream.c:
1649 * gio/gfileinputstream.c:
1650 * gio/gfileoutputstream.c:
1651 * gio/gfilterinputstream.c:
1652 * gio/gfilteroutputstream.c:
1653 * gio/ginputstream.c:
1654 * gio/gmemoryinputstream.c:
1655 * gio/gmemoryoutputstream.c:
1656 * gio/goutputstream.c:
1657 * gio/gsimpleasyncresult.c:
1658 * gio/gsocketinputstream.c:
1659 * gio/gsocketoutputstream.c:
1660 Add guards to the remaining public functions, add a TODO for
1661 an unimplemented function and remove some useless guards.
1663 2007-11-07 Alexander Larsson <alexl@redhat.com>
1666 Autoconf checks for the various types of
1667 getpwuid_r and getgrgid_r
1669 * gio/glocalfileinfo.c:
1670 Use the autoconf checks from above
1672 2007-11-07 Alexander Larsson <alexl@redhat.com>
1675 (g_local_file_query_filesystem_info):
1676 Some fixes for the statvfs case
1678 2007-11-07 Alexander Larsson <alexl@redhat.com>
1681 (g_local_file_query_filesystem_info):
1682 Pick the "best" of statfs / statvfs for the system
1683 if both are availible.
1685 2007-11-07 Alexander Larsson <alexl@redhat.com>
1687 Solaris fixes from Halton.Huo@Sun.COM:
1694 * gio/glocalfileinfo.c:
1695 Fix for solaris definition of getpwuid_r
1697 * gio/test-streams.c:
1698 Use G_GNUC_PRETTY_FUNCTION
1700 2007-11-07 Alexander Larsson <alexl@redhat.com>
1702 * gio/gdesktopappinfo.c:
1703 (update_default_list):
1704 Remove double semicolon.
1705 Patch from Jens Granseuer
1707 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1709 * docs/reference/gio/gio-sections.txt:
1710 * gio/gbufferedinputstream.c:
1711 * gio/gbufferedinputstream.h:
1712 * gio/gdatainputstream.c:
1713 * gio/gfileenumerator.c:
1714 * gio/gioscheduler.c:
1715 * gio/gunionvolumemonitor.c:
1717 * programs/gio-save.c:
1718 Fix typo: availible -> available. Unfortuntely this breaks API
1719 and ABI as g_buffered_input_stream_get_available() was renamed.
1721 * gio/gunixmounts.c:
1722 * gio/gbufferedinputstream.c:
1723 Add guards for public functions.
1725 2007-11-06 Ross Burton <ross@openedhand.com>
1727 * docs/reference/gio/Makefile.am:
1728 Fix invalid += usage which automake 1.10 doesn't like.
1730 2007-11-06 Alexander Larsson <alexl@redhat.com>
1733 (g_app_launch_context_class_init):
1736 Patch from Ross Burton
1738 2007-11-06 Alexander Larsson <alexl@redhat.com>
1741 Post release version bump
1743 === gio-standalone 0.1.1 ===
1745 2007-11-06 Alexander Larsson <alexl@redhat.com>
1748 Bump version to 0.1.1
1750 * gio/gsimpleasyncresult.c:
1751 (g_simple_async_result_set_from_error):
1752 Remove bogus g_return_if_fail
1754 2007-11-06 Alexander Larsson <alexl@redhat.com>
1757 The name is gio-standalone
1760 Add top src/builddir to includedir
1762 2007-11-06 Alexander Larsson <alexl@redhat.com>
1764 * docs/reference/gio/gio-sections.txt:
1766 * gio/gbufferedinputstream.c:
1767 * gio/gbufferedoutputstream.c:
1768 * gio/gcancellable.c:
1769 * gio/gdatainputstream.h:
1770 * gio/gdataoutputstream.c:
1771 * gio/gdataoutputstream.h:
1772 * gio/gdirectorymonitor.c:
1774 * gio/gfileattribute.c:
1775 * gio/gfileattribute.h:
1776 * gio/gfileenumerator.c:
1777 * gio/gfileenumerator.h:
1780 * gio/gfileinputstream.h:
1781 * gio/gfilemonitor.c:
1782 * gio/gfileoutputstream.h:
1783 * gio/glocalfilemonitor.h:
1784 * gio/glocalfileoutputstream.h:
1785 * gio/gmemoryinputstream.c:
1786 * gio/gmemoryoutputstream.c:
1787 * gio/gmountoperation.c:
1788 * gio/goutputstream.c:
1789 * gio/goutputstream.h:
1791 * gio/gsimpleasyncresult.c:
1792 * gio/gunixmounts.c:
1793 * gio/gunixmounts.h:
1795 * gio/inotify/inotify-helper.c:
1796 Fix gtk-doc warnings
1798 Patch from Ross Burton
1800 2007-11-06 Alexander Larsson <alexl@redhat.com>
1802 * gio/gfilenamecompleter.c:
1803 (g_filename_completer_get_completions):
1806 * gio/gunixvolume.c:
1807 Remove unused function
1809 Patches from Ross Burton
1811 2007-11-06 Alexander Larsson <alexl@redhat.com>
1816 Padding not needed for interfaces
1818 2007-11-06 Alexander Larsson <alexl@redhat.com>
1820 * gio/gfilemonitor.c:
1824 Make giotypes.h an internal file
1827 * gio/gbufferedinputstream.h:
1828 * gio/gbufferedoutputstream.h:
1829 * gio/gcancellable.h:
1830 * gio/gdatainputstream.h:
1831 * gio/gdataoutputstream.h:
1832 * gio/gdirectorymonitor.c:
1833 * gio/gdirectorymonitor.h:
1838 * gio/gfileattribute.h:
1839 * gio/gfileenumerator.h:
1844 * gio/gfilemonitor.c:
1845 * gio/gfilemonitor.h:
1846 * gio/gfilenamecompleter.c:
1847 * gio/gfilenamecompleter.h:
1848 * gio/gfilterinputstream.h:
1849 * gio/gfilteroutputstream.h:
1850 * gio/ginputstream.h:
1851 * gio/gmemoryinputstream.h:
1852 * gio/gmemoryoutputstream.h:
1853 * gio/gmountoperation.c:
1854 * gio/gmountoperation.h:
1855 * gio/gnativevolumemonitor.c:
1856 * gio/goutputstream.h:
1859 * gio/gsimpleasyncresult.c:
1860 * gio/gsimpleasyncresult.h:
1861 * gio/gsocketinputstream.h:
1862 * gio/gsocketoutputstream.h:
1863 * gio/gthemedicon.c:
1864 * gio/gthemedicon.h:
1868 * gio/gvolumemonitor.c:
1869 * gio/gvolumemonitor.h:
1870 Add padding in classes where it seems useful
1871 Don't include giotypes.h from public headers
1872 Move in Class definitions into c file where possible
1877 2007-11-06 Alexander Larsson <alexl@redhat.com>
1879 * docs/reference/gio/gio-docs.xml:
1880 Better structure for API docs
1882 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1885 * gio/gloadableicon.c:
1886 * gio/gsimpleasyncresult.c:
1887 * gio/gthemedicon.c:
1888 Add some more guards to public functions. Only files missing are now
1891 2007-11-06 Alexander Larsson <alexl@redhat.com>
1893 * docs/reference/gio/gio-docs.xml:
1894 Remove old files, add missing ones
1896 2007-11-06 Alexander Larsson <alexl@redhat.com>
1898 * docs/reference/gio/gio-sections.txt:
1901 Hide implementation classes
1903 * gio/gdriveprivate.h:
1904 * gio/gvolumeprivate.h:
1905 Remove non-existing function declarations
1907 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1910 Fix compilation warnings and add guards to the new functions.
1912 * gio/gasyncresult.c:
1914 Add guards to the public functions.
1917 Implement get_path().
1919 2007-11-06 Alexander Larsson <alexl@redhat.com>
1921 * gio/gfilenamecompleter.c:
1922 Make g_filename_completer_get_completions
1923 return char ** instead of GList for
1926 * docs/reference/gio/gio-docs.xml:
1927 * docs/reference/gio/gio-sections.txt:
1929 * gio/gasyncresult.c:
1930 * gio/gbufferedinputstream.c:
1931 * gio/gbufferedoutputstream.c:
1932 * gio/gcancellable.c:
1933 * gio/gcontenttype.c:
1934 * gio/gdatainputstream.c:
1935 * gio/gdataoutputstream.c:
1936 * gio/gdesktopappinfo.c:
1937 * gio/gdirectorymonitor.c:
1941 * gio/gfileattribute.c:
1942 * gio/gfileenumerator.c:
1945 * gio/gfileinputstream.c:
1946 * gio/gfilemonitor.c:
1947 * gio/gfilenamecompleter.c:
1948 * gio/gfilenamecompleter.h:
1949 * gio/gfileoutputstream.c:
1950 * gio/gfilterinputstream.c:
1952 * gio/ginputstream.c:
1954 * gio/gioscheduler.c:
1955 * gio/gloadableicon.c:
1956 * gio/glocaldirectorymonitor.c:
1958 * gio/glocalfileinputstream.c:
1959 * gio/glocalfilemonitor.c:
1960 * gio/glocalfileoutputstream.c:
1962 * gio/gmemoryinputstream.c:
1963 * gio/gmemoryoutputstream.c:
1964 * gio/gmountoperation.c:
1965 * gio/goutputstream.c:
1966 * gio/gpollfilemonitor.c:
1968 * gio/gsimpleasyncresult.c:
1969 * gio/gsocketinputstream.c:
1970 * gio/gsocketoutputstream.c:
1971 * gio/gthemedicon.c:
1972 * gio/gunionvolumemonitor.c:
1974 * gio/gunixmounts.c:
1975 * gio/gunixvolume.c:
1976 * gio/gunixvolumemonitor.c:
1980 * gio/gvolumemonitor.c:
1981 * gio/gwin32appinfo.c:
1982 Add (mostly stub) doc strings to public functions.
1983 Patch from Andrew Walton (awalton@gmail.com)
1985 2007-11-06 Alexander Larsson <alexl@redhat.com>
1987 * gio/gappinfo.[ch]:
1988 Added GAppLaunchContext object and pass that to launch.
1989 This allows simple implementation of both
1990 launch-on-screen and startup notification via a gtk+
1991 subclass of GAppLaunchContext
1993 * gio/gdesktopappinfo.c:
1994 Implement GAppLaunchContext API
1996 * gio/gwin32appinfo.c:
1999 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2001 * gio/gmountoperation.c:
2002 Add some guards to GMountOperation's public functions.
2004 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2008 * gio/gcancellable.c:
2009 * gio/gdirectorymonitor.c:
2011 * gio/gfileenumerator.c:
2012 * gio/gfilemonitor.c:,
2013 * gio/gfilenamecompleter.c:
2016 * gio/gioscheduler.c:
2020 * gio/gvolumemonitor.c:
2021 Add even more guards to various public functions.
2023 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2026 Add guards to the public functions of GAppInfo.
2028 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2030 * gio/gcontenttype.c:
2031 Add some more guards for public functions.
2033 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2035 * gio/fam/fam-module.c:
2036 * gio/fam/gfamdirectorymonitor.c:
2037 * gio/fam/gfamdirectorymonitor.h:
2038 * gio/fam/gfamfilemonitor.c:
2039 * gio/fam/gfamfilemonitor.h:
2040 * gio/inotify/ginotifydirectorymonitor.c:
2041 * gio/inotify/ginotifydirectorymonitor.h:
2042 * gio/inotify/ginotifyfilemonitor.c:
2043 * gio/inotify/ginotifyfilemonitor.h:
2044 Add proper copyright information and remove an unused variable
2045 in the GInotifyFileMonitor constructor.
2047 * gio/gcancellable.c:
2048 Add a guard for a public function and an assertion to prevent
2049 an undefined program state.
2051 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2053 * gio/gfileattribute.c:
2054 Don't run into an assertion if the given attribute value is NULL
2055 in g_file_attribute_value_get_*() but instead return a fallback
2056 value that makes sense in most situations. Passing them a attribute
2057 value with the wrong type will still run into an assertion.
2059 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2061 * gio/gfileattribute.c:
2063 Add even more guards to the public functions. Also fix the refcounting
2064 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2065 let g_file_info_list_attributes() filter the attributes by namespace
2066 instead of simply ignoring the namespace parameter.
2068 2007-11-03 Sven Herzberg <sven@imendio.com>
2070 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2071 (This makes gio work on MacOS X again)
2073 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2076 Build the gio subdirectory before the docs. Otherwise the build will
2079 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2080 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2081 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2082 Add guards to the public functions.
2084 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2086 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2087 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2088 to prevent a compiler warning.
2090 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2091 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2092 return something in the non-void function find_topdir_for().
2094 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2101 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2103 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2104 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2105 * gwin32appinfo.c (g_win32_app_info_launch):
2106 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2107 envp_for_startup_id, g_desktop_app_info_launch,
2108 g_desktop_app_info_launch_uris):
2110 Give an opaque 'startup_id' string instead of 'envp'.
2111 Support empty file lists for launching new windows.
2112 Fix infinite recursion bug when launching URIs.
2114 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2117 Add guard to the new g_file_get_uri_scheme() function.
2119 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2122 Convert a g_return_val_if_fail() to setting the GError instead as
2123 otherwise applications have to verify the parameter before otherwise
2124 and the parameter might come directly from the user.
2126 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2128 * gio/inotify/ginotify*.[ch]:
2129 Add missing copyright information.
2131 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2134 Add guards in the beginning of public functions to check for valid
2135 parameters and fix a bug in copy_stream_with_progress() that could've
2136 caused writing less bytes than reading.
2137 * gio/glocalfileinfo.c:
2138 Check for a NULL parameter and set the GError accordingly then.
2139 * gio/goutputstream.c:
2140 Fix the same bug as in gfile.c that could've caused writing less bytes
2141 than reading in g_output_stream_real_splice().
2143 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2146 Use the correct gvolumeprivate.h naming
2148 2007-11-01 Christian Kellner <gicmo@gnome.org>
2151 Remove leftover "$(daemon_sources)" entry.
2153 2007-11-01 Christian Kellner <gicmo@gnome.org>
2158 Add copyright information to source files.
2160 2007-11-01 Alexander Larsson <alexl@redhat.com>
2164 Add g_file_get_uri_scheme
2166 2007-11-01 Alexander Larsson <alexl@redhat.com>
2169 * gio/gdesktopappinfo.c:
2170 * gio/gwin32appinfo.c:
2171 Add g_app_info_get_default_for_uri_scheme.
2173 2007-11-01 Alexander Larsson <alexl@redhat.com>
2176 Correct filename for gdriveprivate.h
2178 2007-10-31 Alexander Larsson <alexl@redhat.com>
2181 Rename id:value to id:file
2184 * gio/glocalfileinfo.c:
2187 2007-10-31 Alexander Larsson <alexl@redhat.com>
2189 * gio/gunixvolume.c:
2191 Remove g_volume_get_platform_id, as thats not
2192 needed with the simpler union volume monitor
2194 2007-10-31 Alexander Larsson <alexl@redhat.com>
2197 * gio/guniondrive.[ch]: Removed.
2198 * gio/gunionvolume.[ch]: Removed.
2199 Remove GUnionDrive/Volume
2201 * gio/gunionvolumemonitor.c:
2202 Simplify union volume monitor, now we
2203 only have one native volume monitor and
2204 we use the actual volumes/drives from the
2205 child monitors instead of wrapping them
2207 * gio/gnativevolumemonitor.[ch]:
2208 Base class for native volume monitors.
2209 Includes priority and get_volume_for_mountpoint
2212 Add g_file_find_enclosing_volume
2215 Remove volume name fs attribute
2216 Add readonly fs attribute
2219 Implement readonly attribute
2220 remove volume name attribute
2221 Implement find_enclosing volume
2223 * gio/gunixmounts.c:
2224 Add a volume for "/".
2226 * gio/gunixvolume.[ch]:
2227 Set better name for /
2229 * gio/gunixvolumemonitor.[ch]:
2230 Derive from GNativeVolumeMonitor
2231 Implement get_volume_for_mountpoint
2234 GVolume typedef moved to gfile.h
2236 * gio/gvolumeprivate.h:
2237 Add g_volume_get_for_mount_path
2239 2007-10-31 Alexander Larsson <alexl@redhat.com>
2241 * gio/gunixmounts.[ch]:
2242 Add cache info to unix mount listers
2243 Make getmntent use threadsafe
2244 Add is_system_internal attribute for GUnixMount
2246 * gio/gunixvolume.c:
2247 (g_unix_volume_new):
2248 Use is_system_internal instead of own code
2250 * gio/glocaldirectorymonitor.c:
2251 * gio/gunixvolumemonitor.c:
2252 Update to new gunixmounts API
2257 2007-10-30 Alexander Larsson <alexl@redhat.com>
2260 Add volume name fsinfo attribute
2263 Read volume name info
2265 * gio/gunionvolumemonitor.c:
2266 Fix infinite loops when finalizing a union volume monitor
2268 2007-10-30 Alexander Larsson <alexl@redhat.com>
2270 * gio/goutputstream.[ch]:
2271 Add splice() with default implementation
2273 * gio/gsocketoutputstream.c:
2274 (g_socket_output_stream_write):
2275 Return error on cancellation correctly.
2277 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2279 * gio/glocalfile.c (g_local_file_trash):
2280 Do not leak a string.
2282 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2284 * gio/gfile.c (g_file_load_contents):
2285 Unref the stream after closing it.
2287 2007-10-25 Alexander Larsson <alexl@redhat.com>
2289 * gio/gioscheduler.h:
2292 2007-10-25 Alexander Larsson <alexl@redhat.com>
2296 Add g_file_has_uri_scheme and implement for local files
2298 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2300 * gio/gdesktopappinfo.c: do not leak a string.
2302 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2304 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2305 (g_local_directory_monitor_new):
2306 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2307 (g_local_file_monitor_new):
2308 Only look for the monitor type that should be used the first time
2309 and use g_qsort_with_data() instead of our own bubble sort
2312 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2315 * gio/fam/Makefile.am:
2316 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2317 * gio/fam/fam-helper.h:
2318 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2319 * gio/fam/gfamdirectorymonitor.c:
2320 * gio/fam/gfamdirectorymonitor.h:
2321 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2322 * gio/fam/gfamfilemonitor.h:
2323 * gio/glocaldirectorymonitor.c:
2324 * gio/glocaldirectorymonitor.h:
2325 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2326 * gio/glocalfilemonitor.h:
2327 * gio/inotify/Makefile.am:
2328 * gio/inotify/ginotifydirectorymonitor.c:
2329 * gio/inotify/ginotifydirectorymonitor.h:
2330 * gio/inotify/ginotifyfilemonitor.c:
2331 * gio/inotify/ginotifyfilemonitor.h:
2332 Implement the FAM and Inotify monitors as
2333 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2334 their own GIO module. GLocal(Directory|File)Monitor will use the
2335 monitor with the highest rank that is supported on that machine.
2337 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2340 Change GIO module dir to $(libdir)/gio/modules and change
2341 the log domain from GVFS to GIO. Also only export symbols starting
2342 with g_ in the resulting library.
2343 * gio/test-streams.c: (main):
2344 Set log handler for the GIO log domain.
2346 2007-10-22 Alexander Larsson <alexl@redhat.com>
2348 * gio/gfilenamecompleter.[ch]:
2349 Add g_filename_completer_set_dirs_only
2351 2007-10-22 Alexander Larsson <alexl@redhat.com>
2354 * gio/gurifuncs.[ch]:
2355 Add some simple URI helpers
2357 * gio/gfilenamecompleter.[ch]:
2358 Added object for filename (parse name actually) completion
2361 Handle ~ in parse names
2363 2007-10-17 Alexander Larsson <alexl@redhat.com>
2366 * gio/glocalfileinfo.c:
2367 Add and implement id:value attribute
2369 2007-10-17 Alexander Larsson <alexl@redhat.com>
2372 * gio/guniondrive.c:
2374 Add and implement g_drive_has_volumes
2376 2007-10-17 Alexander Larsson <alexl@redhat.com>
2379 * gio/glocalfileinfo.[ch]:
2380 Add unix:is_mountpoint and implement for local files
2382 2007-10-16 Alexander Larsson <alexl@redhat.com>
2384 * gio/gunionvolumemonitor.c:
2385 (g_union_volume_monitor_init):
2386 Fix up the unix type getting so that it works with gcc
2388 2007-10-12 Alexander Larsson <alexl@redhat.com>
2391 * gio/glocalfileinfo.c:
2392 Add thumbnail:failed to file info
2394 2007-10-12 Richard Hult <richard@imendio.com>
2396 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2397 optimizing away the get_type call (happens with some gcc versions,
2398 like the one shipped with OS X 10.4).
2400 2007-10-12 Alexander Larsson <alexl@redhat.com>
2402 * gio/glocalfileinfo.c:
2403 (_g_local_file_info_set_attribute):
2404 Fix build if not HAVE_XATTR
2405 Patch from Milosz Derezynski <internalerror@gmail.com>
2407 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2409 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2410 around for review, otherwise I would have asked you before
2413 2007-10-11 Alexander Larsson <alexl@redhat.com>
2416 Add thumbnail:path attribute
2418 * gio/glocalfileinfo.c:
2419 Implement thumbnail:path for local files
2421 2007-10-11 Alexander Larsson <alexl@redhat.com>
2423 * gio/glocalfileinfo.c:
2424 (_g_local_file_info_get):
2425 Avoid duplicate icon names
2427 2007-10-11 Alexander Larsson <alexl@redhat.com>
2429 * gio/gthemedicon.[ch]:
2430 Change g_themed_icon_get_names return type to const
2432 2007-10-10 Alexander Larsson <alexl@redhat.com>
2434 * gio/glocalfileinfo.c:
2435 Don't reference freed memory
2437 2007-10-10 Alexander Larsson <alexl@redhat.com>
2439 * gio/gfileattribute.c:
2442 * gio/glocalfileinfo.c:
2445 2007-10-10 Alexander Larsson <alexl@redhat.com>
2448 Check for NULL icons
2450 * gio/gfileattribute.c:
2451 Don't dup when getting objects (same as for string attributes)
2453 * gio/gicon.c (g_icon_equal):
2454 Safely handle NULLs in equal
2456 2007-10-10 Alexander Larsson <alexl@redhat.com>
2459 Fix c++ compilation issues
2460 Patch from Milosz Derezynski <internalerror@gmail.com>
2462 2007-10-10 Alexander Larsson <alexl@redhat.com>
2464 * programs/gio-monitor-dir.c:
2465 Don't crash if dir monitor not supported.
2467 2007-10-09 Alexander Larsson <alexl@redhat.com>
2470 Add missing G_END_DECLS
2472 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2474 * gio/gfile.c: (g_file_set_display_name),
2475 (g_file_query_settable_attributes),
2476 (g_file_query_writable_namespaces):
2477 Return NULL not FALSE on errors as the return type is a pointer.
2479 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2481 * gio/glocalfile.c: (g_local_file_monitor_file):
2482 Don't call monitor_file on the default interface vtable (which
2483 is NULL) but simply return NULL. The caller, GFile, will create a
2484 polling monitor if NULL is returned.
2486 2007-10-09 Alexander Larsson <alexl@redhat.com>
2490 * gio-unix-2.0.pc.in:
2491 Add gio-unix-2.0.pc if OS_UNIX
2494 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2496 2007-10-09 Alexander Larsson <alexl@redhat.com>
2498 * gio/gunixmounts.[ch]:
2499 Make unix mount monitoring API sane.
2500 Now its just a object with mounts_changed
2501 and mountpoints_changed signals.
2503 * gio/glocaldirectorymonitor.c:
2504 * gio/gunixvolumemonitor.c:
2505 Use new mount monitor api
2507 2007-10-09 Alexander Larsson <alexl@redhat.com>
2509 * gio/gunixmounts.[ch]:
2510 Move guess type into one call for mounts and one for mountpoints
2513 * gio/gunixvolume.c:
2516 2007-10-09 Alexander Larsson <alexl@redhat.com>
2518 * gio/gunixmounts.[ch]:
2519 Remove _ prefix in preparation to make this semi-public
2520 Hide implementation of structs
2522 * gio/glocaldirectorymonitor.c:
2524 * gio/gunixvolume.c:
2525 * gio/gunixvolumemonitor.c:
2526 Update for above API changes
2528 2007-10-08 Alexander Larsson <alexl@redhat.com>
2531 Better polling fallback. This also handles the case where we have
2532 a monitor_file implementation, but it fails.
2534 2007-10-08 Alexander Larsson <alexl@redhat.com>
2538 * gio/gunixmounts.c:
2539 * programs/gio-monitor-dir.c:
2540 * programs/gio-monitor-file.c:
2541 Added cancellable to file monitoring calls.
2542 These are really sync calls and need this.
2544 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2546 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2547 (g_local_vfs_class_init):
2548 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2549 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2551 2007-10-05 Alexander Larsson <alexl@redhat.com>
2553 * gio/gdirectorymonitorprivate.h:
2554 * gio/gfilemonitorprivate.h:
2555 * gio/gdirectorymonitor.h:
2556 * gio/gfilemonitor.h:
2557 Remove *private.h and move to the public API, so that
2558 we can do implementations outside gio (such as in gvfs)
2560 * gio/gdirectorymonitor.c:
2561 * gio/gfilemonitor.c:
2562 * gio/glocaldirectorymonitor.c:
2563 * gio/gpollfilemonitor.c:
2564 * gio/inotify/inotify-helper.c:
2565 * gio/fam/fam-helper.c:
2566 Update to the new header names
2568 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2570 * gio/gdirectorymonitor.c:
2571 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2574 2007-10-04 Alexander Larsson <alexl@redhat.com>
2576 * gio/glocalfileinfo.c (get_access_rights):
2577 Set CAN_TRASH when we can move the file.
2578 We should really also check for a parent trash dir.
2580 2007-10-04 Alexander Larsson <alexl@redhat.com>
2582 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2583 Add can_trash access attribute
2585 2007-10-04 Alexander Larsson <alexl@redhat.com>
2588 (g_local_file_trash):
2589 Create info file first. This is per-spec and allows
2590 us to actually trash directories.
2592 2007-10-02 Alexander Larsson <alexl@redhat.com>
2594 * gio/gdesktopappinfo.c:
2595 Implement the new mime support code.
2596 Always set app as handling mimetype when being set as default for it
2598 2007-10-01 Alexander Larsson <alexl@redhat.com>
2600 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2601 Fix up check for xattrs:
2603 2007-10-01 Alexander Larsson <alexl@redhat.com>
2606 (g_app_info_set_as_default_for_extension):
2607 (g_app_info_add_supports_type):
2608 (g_app_info_can_remove_supports_type):
2609 (g_app_info_remove_supports_type):
2610 Make these fail nicely if not implemented
2612 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2614 * gio/glocalfileoutputstream.c:
2615 * gio/glocalfileoutputstream.h:
2620 * programs/gio-save.c:
2621 Add a GFileCreateFlags argument to operations that can create
2624 2007-10-01 Alexander Larsson <alexl@redhat.com>
2626 * gio/gappinfo.[ch]:
2627 * gio/gdesktopappinfo.c:
2628 Add more (stubbed out) mime API needed for nautilus
2630 2007-10-01 Alexander Larsson <alexl@redhat.com>
2633 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2634 Add g_app_info_set_as_default_for_extension.
2636 * gio/gdesktopappinfo.c:
2637 Dummy for g_app_info_set_as_default_for_extension
2638 Support flags in g_app_info_create_from_commandline
2640 * gio/gwin32appinfo.c:
2642 Update for API changes
2644 * gio/gthemedicon.c:
2645 Properly NULL-terminate list of icon names
2647 2007-09-28 Alexander Larsson <alexl@redhat.com>
2649 * gio/gloadableicon.h:
2650 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2652 2007-09-28 Alexander Larsson <alexl@redhat.com>
2655 Install headers in $includedir/gio-standalone/
2657 * gio-2.0.pc.in: Added.
2658 * gio-standalone.pc.in: Removed.
2661 Renamed pkg-config file to match glib (for future move)
2662 Update to the new include dir
2665 Add more TODO comments
2667 2007-09-28 Alexander Larsson <alexl@redhat.com>
2669 * gio/gdesktopappinfo.[ch]:
2670 Expose new_from_filename
2671 Add getter for is_hidden and handle it better
2673 2007-09-28 Alexander Larsson <alexl@redhat.com>
2675 * gio/gfileinfo.[ch]:
2676 Rename g_file_size_format_for_display to
2677 g_format_file_size_for_display.
2678 Now it doesn't have the g_file prefix, so we
2679 can later move it to glib.
2681 2007-09-28 Alexander Larsson <alexl@redhat.com>
2683 * gio/gappinfo.[ch]:
2684 Add g_app_info_get_id and g_app_info_get_executable.
2685 Make all getters non-reffing
2686 Make g_app_info_launch take GFile arguments.
2687 Add must_support_uris argument to g_app_info_get_default_for_type.
2689 * gio/gwin32appinfo.c:
2690 Update to GAppInfo api changes
2692 * gio/gdesktopappinfo.c:
2693 Update to GAppInfo api changes
2694 Implement supports_xdg_startup_notify
2696 * gio/gfileicon.c (g_file_icon_get_file):
2697 Make getter non-reffing.
2702 2007-09-27 Alexander Larsson <alexl@redhat.com>
2704 * gio/gfileinfo.[ch]:
2705 Add g_file_size_format_for_display helper
2707 2007-09-27 Alexander Larsson <alexl@redhat.com>
2709 * gio/glocalfileinfo.c:
2710 Set UNIX_GID from gid, not from uid
2712 2007-09-27 Alexander Larsson <alexl@redhat.com>
2715 Add g_file_set_attributes_async
2717 2007-09-27 Alexander Larsson <alexl@redhat.com>
2719 * gio/glocalfile.c (g_local_file_set_display_name):
2720 Fix set_display_name to actually rename to the right place.
2721 Use lstat to look for existing files so we don't overwrite
2724 2007-09-26 Alexander Larsson <alexl@redhat.com>
2727 Add g_file_set_display_name_async()
2729 2007-09-26 Alexander Larsson <alexl@redhat.com>
2732 Add load_partial_contents async calls
2735 Make internal function static
2737 2007-09-26 Alexander Larsson <alexl@redhat.com>
2739 * gio/glocalfileinfo.c:
2740 Correctly detect broken symlinks
2742 2007-09-26 Alexander Larsson <alexl@redhat.com>
2744 * gio/gcancellable.c (g_cancellable_cancel):
2745 Allow cancel on NULL cancellable
2747 2007-09-25 Alexander Larsson <alexl@redhat.com>
2749 * gio/gsimpleasyncresult.c:
2750 Don't allocate g_error manually.
2751 Fixes g_slice/g_new mixup crash
2753 2007-09-25 Alexander Larsson <alexl@redhat.com>
2755 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2756 Actually set active_backend.
2757 This means the monitor will be cancelled correctly.
2759 2007-09-25 Alexander Larsson <alexl@redhat.com>
2761 * gio/gdirectorymonitor.c:
2762 Set timeout to NULL when destroying
2764 2007-09-25 Alexander Larsson <alexl@redhat.com>
2767 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2768 that is a better description of the error.
2770 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2772 * gio/gvfs.c: (g_vfs_get_local):
2773 Make the local vfs variable static. The same instance should
2776 2007-09-24 Alexander Larsson <alexl@redhat.com>
2778 * gio/glocalfileinfo.c:
2779 Pass in actual length read into sniffer, not the length
2782 2007-09-21 Alexander Larsson <alexl@redhat.com>
2784 * gio/gfileenumerator.c:
2787 * gio/gfileinputstream.c:
2788 * gio/gfileoutputstream.c:
2789 * gio/ginputstream.c:
2790 * gio/goutputstream.c:
2791 Don't crash if async callbacks are NULL
2793 2007-09-20 Alexander Larsson <alexl@redhat.com>
2796 Add async enumerate_children method and default
2799 2007-09-20 Alexander Larsson <alexl@redhat.com>
2802 Add g_file_contains_file & g_file_get_relative_path, since they
2803 were needed for nautilus.
2804 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2809 Implement new methods
2811 2007-09-17 Alexander Larsson <alexl@redhat.com>
2814 * gio/gfileinputstream.[ch]:
2815 * gio/gfileoutputstream.[ch]:
2817 * gio/glocalfileenumerator.[ch]:
2818 * gio/glocalfileinfo.[ch]:
2819 * gio/glocalfileinputstream.c:
2820 * gio/glocalfileoutputstream.c:
2821 * gio/gpollfilemonitor.c:
2822 * programs/gio-copy.c:
2823 * programs/gio-info.c:
2824 * programs/gio-move.c:
2825 Rename get_file_info to query_info() to make it clearer
2826 that these are not simple getters, but do i/o.
2828 2007-09-17 Alexander Larsson <alexl@redhat.com>
2830 * gio/gdatainputstream.[ch]:
2831 * gio/test-streams.c:
2832 Use _read_XXX instead of _get_XXX for the i/o calls
2835 2007-09-17 Alexander Larsson <alexl@redhat.com>
2838 Added needed stuff to TODO comment
2840 2007-09-17 Alexander Larsson <alexl@redhat.com>
2842 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2843 Don't error out removing the backup copy if it doesn't
2846 2007-09-14 Alexander Larsson <alexl@redhat.com>
2848 * programs/Makefile.am:
2849 * programs/gvfs-*.c:
2851 Renamed apps from gvfs-xxx to gio-xxx.
2853 2007-09-14 Alexander Larsson <alexl@redhat.com>
2856 * gio/gfileoutputstream.[ch]:
2857 * gio/glocalfileoutputstream.c:
2858 * programs/gvfs-save.c:
2859 g_file_output_stream_get_etag doesn't do i/o, so remove
2860 cancellation and error.
2862 2007-09-14 Alexander Larsson <alexl@redhat.com>
2865 Add new_etag output to replace_contents functions
2867 2007-09-14 Alexander Larsson <alexl@redhat.com>
2869 * gio/gfileoutputstream.[ch]:
2870 Add async get_file_info and default implementation
2872 2007-09-14 Alexander Larsson <alexl@redhat.com>
2874 * gio/gfileinputstream.c:
2875 Implement fallback wrapper for async get_file_info
2877 2007-09-14 Alexander Larsson <alexl@redhat.com>
2880 Add etag out argument to load_contents
2885 2007-09-14 Alexander Larsson <alexl@redhat.com>
2887 * gio/gcontenttype.c (looks_like_text):
2888 Whitespace like tab, cr and lf do not make the
2891 2007-09-14 Alexander Larsson <alexl@redhat.com>
2893 * gio/gfileinputstream.[ch]:
2894 Add async get_file_info.
2896 2007-09-13 Alexander Larsson <alexl@redhat.com>
2898 * gio/goutputstream.c (g_output_stream_write_all):
2899 Allow NULL for bytes_written
2901 2007-09-13 Alexander Larsson <alexl@redhat.com>
2903 * gio/gmemoryinputstream.[ch]:
2904 Add accessors for data
2906 2007-09-13 Alexander Larsson <alexl@redhat.com>
2908 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2909 Don't crash if length is NULL