1 2008-01-15 Murray Cumming <murrayc@murrayc.com>
6 * gvolume.c: For async functions that have no non-async
7 version, document that the GAsyncReadyCallback may be NULL.
10 2008-01-15 Alexander Larsson <alexl@redhat.com>
12 * gmemoryinputstream.c:
13 * gmemoryoutputstream.c:
14 Don't do pointer arithmetic on void * (#508602)
15 Patch from Kazuki IWAMOTO
17 2008-01-14 Matthias Clasen <mclasen@redhat.com>
19 * === Released 2.15.2 ===
21 2008-01-14 Alexander Larsson <alexl@redhat.com>
23 * gfile.c (g_file_monitor_file):
24 Don't set error here, since we fallback to polling monitor.
26 2008-01-14 Alexander Larsson <alexl@redhat.com>
29 (g_file_monitor_directory):
30 (g_file_monitor_file):
31 Add GError to file monitor calls
33 * glocaldirectorymonitor.c:
34 * glocaldirectorymonitor.h:
36 * glocalfilemonitor.c:
37 * glocalfilemonitor.h:
39 Update for above change
41 2008-01-14 Alexander Larsson <alexl@redhat.com>
45 Handle root correctly in g_file_get_relative_path (#508719)
47 2008-01-14 Alexander Larsson <alexl@redhat.com>
50 Clean up docs and example for GAsyncResult (#508074)
52 2008-01-11 Murray Cumming <murrayc@murrayc.com>
54 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
55 and correct some spelling mistakes. Bug #508108.
57 2008-01-11 Matthias Clasen <mclasen@redhat.com>
59 * glocalfileinfo.c: Add a comment.
61 2008-01-10 Murray Cumming <murrayc@murrayc.com>
63 * gfileinfo.c: GFileInfo description: Mention
64 how to actually set attributes in a GFile and how to discover
65 which attributes are settable. Bug #508378.
67 2008-01-10 A. Walton <awalton@svn.gnome.org>
69 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
70 (g_app_info_get_default_for_type):
71 Check for NULL content types.
73 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
75 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
77 2008-01-09 Murray Cumming <murrayc@murrayc.com>
79 * gfile.c: *_async() functions: Several small corrections
80 to the documentation, mostly correcting copy/paste errors
81 and improving some sentences.
83 2008-01-09 Dan Winship <danw@gnome.org>
85 * glocalfile.c (get_unique_filename): x86_64 fix
87 2008-01-09 Alexander Larsson <alexl@redhat.com>
92 Add g_unix_mount_guess_should_display and use
93 for unix volume monitor backend.
94 This means we more or less show what the
95 gnome-vfs backend did.
96 Based on patch from Padraig O'Briain
98 2008-01-09 Alexander Larsson <alexl@redhat.com>
102 Add g_themed_icon_new_with_default_fallbacks
105 Use default fallbacks for icons
107 2008-01-09 Alexander Larsson <alexl@redhat.com>
110 * gmountoperation.[ch]:
111 Change the API a bit so that unhandled methods
112 get reported via the reply, rather than by
113 the signal emission return value. This is because
114 some handlers can't know this immediately without
115 doing I/O, and this is an async operation that
118 2008-01-09 Alexander Larsson <alexl@redhat.com>
121 * fam/gfamdirectorymonitor.c:
122 * fam/gfamfilemonitor.c:
123 Fix double free crash (#508224)
124 Patch from Joe Marcus Clarke
126 008-01-07 Matthias Clasen <mclasen@redhat.com>
128 * === Released 2.15.1 ===
130 2008-01-07 Alexander Larsson <alexl@redhat.com>
132 * gunixinputstream.c (g_unix_input_stream_skip_finish):
133 Fix warning (#507835)
135 2008-01-07 Alexander Larsson <alexl@redhat.com>
138 Pass --internal to glib-genmarshal
143 Use better types for signal arguments (#507822)
145 2008-01-07 Alexander Larsson <alexl@redhat.com>
148 Build test subdir after .
149 Remove gdirectorymonitor.[ch]
151 * gdirectorymonitor.[ch]:
155 Remove GDirectoryMonitor and make
156 GFileMonitor the baseclass for both file and
157 directory monitors. Lift the more generic
158 rate limiting code from GDirectoryMonitor
162 * fam/gfamdirectorymonitor.[ch]:
163 * inotify/ginotifydirectorymonitor.[ch]:
164 * inotify/inotify-helper.c:
165 * glocaldirectorymonitor.[ch]:
168 Update for the removed GDirectoryMonitor.
170 * gmemoryoutputstream.c:
171 Remove ununsed variable
173 2008-01-07 Alexander Larsson <alexl@redhat.com>
175 * gmemoryinputstream.c:
176 Translate error strings
179 * gmemoryoutputstream.[ch]:
180 New implementation that avoids using GByteArray
181 in implementation and API. (#506377)
183 2008-01-06 Matthias Clasen <mclasen@redhat.com>
185 * tests/*: Add a test for memory input streams.
187 * Makefile.am: Add tests to SUBDIRS.
189 2008-01-06 Matthias Clasen <mclasen@redhat.com>
191 * glocalfilemonitor.c:
192 * glocaldirectorymonitor.c: Mark property nicks and blurbs
195 2008-01-06 Matthias Clasen <mclasen@redhat.com>
197 * gdesktopappinfo.c: Fix a docs typo.
199 * gfileattribute.c: Add information about extended attributes
200 to the documentation. (#505058)
202 2008-01-04 Alexander Larsson <alexl@redhat.com>
206 Use the right type (uint) for the ask_password signal.
208 2008-01-04 Alexander Larsson <alexl@redhat.com>
213 Add g_app_info_supports_files()
214 Remove desktop arg from g_app_info_should_show().
216 * gdesktopappinfo.[ch]:
217 Implement g_app_info_supports_files() and new should_show()
218 Add g_desktop_app_info_set_desktop_env() to set the desktop
219 for should_show(). (This will be set by gtk+ later)
221 2008-01-04 Alexander Larsson <alexl@redhat.com>
224 * gmemoryinputstream.[ch]:
225 Improve API so that you can use multiple chunks
226 of memory and custom destroy functions. (#506374)
228 2008-01-03 Alexander Larsson <alexl@redhat.com>
231 Handle NULL attribute matchers safely, as we return this
232 for empty attribute matcher strings.
234 2008-01-03 Alexander Larsson <alexl@redhat.com>
236 * gunixmounts.c (g_unix_is_mount_path_system_internal):
237 Add /usr/local to list of internal mountpoints
239 2008-01-03 Alexander Larsson <alexl@redhat.com>
242 Check for HAVE_LCHOWN (#505887)
244 2008-01-03 Alexander Larsson <alexl@redhat.com>
248 Add define for selinux context attribute.
249 Fix missing : -> :: namespace separator change
250 Fix missing _ -> - name change for xattr-sys.
253 2008-01-03 Alexander Larsson <alexl@redhat.com>
256 Link to libglib and libgobject directly (#504879)
257 Patch from Sebastien Bacher
259 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
261 * gfile.c: Expanded the g_file_new_for_commandline_arg
262 description a bit, based on the code and the docs of the
263 other g_file_new_for_* functions.
265 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
267 * gfilemonitor.h: Fixed typo in docs.
269 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
271 Updates to GIO documentation. (#506395, Mikael Hermansson)
273 * gcontenttype.c: Describe memory management for return value of
274 g_content_types_get_registered(). Missing piece from #505815.
275 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
276 GVolume, GDrive, GMounts, which hopefully gives the user less
277 confusions when using this API. Following explainations from
278 Alexander Larsson on gtk-devel-list.
280 2007-12-30 Matthias Clasen <mclasen@redhat.com>
282 * gfileinfo.c: Expand the long description.
284 2007-12-30 Matthias Clasen <mclasen@redhat.com>
287 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
288 fix builds with --disable-visibility. (#500273, Christian Persch)
290 2007-12-30 Matthias Clasen <mclasen@redhat.com>
292 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
293 in the list of returned app infos.
295 2007-12-30 Matthias Clasen <mclasen@redhat.com>
297 * gappinfo.c: Fix a cross-reference
299 2007-12-30 Matthias Clasen <mclasen@redhat.com>
301 * gfileinputstream.c:
302 * gfileoutputstream.c:
308 * gfileinfo.c: Documentation updates.
310 2007-12-26 Matthias Clasen <mclasen@redhat.com>
312 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
315 2007-12-26 Matthias Clasen <mclasen@redhat.com>
317 * gcontenttype.c (g_content_types_get_registered): Don't return
318 freed memory (#505815, Mikael Hermansson)
320 2007-12-25 Paolo Borelli <pborelli@katamail.com>
322 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
323 used to detect statbuf->st_blocks. (#505042)
325 2007-12-24 Matthias Clasen <mclasen@redhat.com>
327 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
328 environment handling. (#504829, Cosimo Cecchi)
330 2007-12-22 Matthias Clasen <mclasen@redhat.com>
332 * gappinfo.c: Doc improvements
334 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
337 2007-12-20 Matthias Clasen <mclasen@redhat.com>
339 * === Released 2.15.0 ===
341 2007-12-20 Hans Breuer <hans@breuer.org>
343 * makefile.msc : don't build gdesktopappinfo.obj, it collides
344 with symbols gwin32appinfo.obj, added gmount.obj
345 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
347 2007-12-20 Alexander Larsson <alexl@redhat.com>
353 * gfilenamecompleter.c:
356 * gpollfilemonitor.c:
357 File attribute renames:
360 id::fs -> id::filesystem
362 2007-12-20 Alexander Larsson <alexl@redhat.com>
371 Add GMountUnmountFlags to all unmount and
373 Add g_mount_remount() call.
375 2007-12-20 Alexander Larsson <alexl@redhat.com>
377 * gvfs.c (get_default_vfs):
378 Fix unused variable warning
380 2007-12-19 Matthias Clasen <mclasen@redhat.com>
382 * pltcheck.sh: Update
384 2007-12-19 Matthias Clasen <mclasen@redhat.com>
386 * gunionvolumemonitor.c:
387 * gunixmount.c: Remove C99 comments
389 2007-12-19 Matthias Clasen <mclasen@redhat.com>
391 * gio.symbols: Add some missing symbols
393 2007-12-19 Alexander Larsson <alexl@redhat.com>
396 Make g_io_modules_load_all_in_directory not unuse
397 loaded modules so that users of it can do stuff
399 Init internal "module" types.
400 Initialize static prio and name for types so that
401 we don't have to load modules to get it.
403 * gnativevolumemonitor.h:
405 Move is_supported to parent class so that
406 non-native monitors can avoid being initialized
407 too. (For instance GDaemonVolumeMonitor if we're
408 not using GDaemonVfs.)
410 * glocaldirectorymonitor.[ch]:
411 * glocalfilemonitor.[ch]:
412 * gunionvolumemonitor.c:
413 * gunixvolumemonitor.c:
415 Find plugins using the static prio+name to
416 avoid unnecessarily loading the modules.
418 2007-12-19 Alexander Larsson <alexl@redhat.com>
423 2007-12-19 Alexander Larsson <alexl@redhat.com>
425 * gunionvolumemonitor.c:
426 Store the native type as GType, not class so that
427 we can unload it. But still avoid unnecessarily
430 2007-12-19 David Zeuthen <davidz@redhat.com>
432 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
433 add signals 'disconnected' and 'eject-button' on GDrive. Add
434 signal 'removed' on GVolume and 'unmounted' on GMount.
436 * gdrive.c: (g_drive_base_init):
438 * gfile.c: (g_file_mount_mountable),
439 (g_file_mount_enclosing_volume):
442 * gmount.c: (g_mount_base_init):
444 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
445 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
446 * gvolume.c: (g_volume_base_init), (g_volume_mount):
450 2007-12-17 Matthias Clasen <mclasen@redhat.com>
452 * *.c: Fix up includes in the section docs.
454 2007-12-17 Alexander Larsson <alexl@redhat.com>
456 * gnativevolumemonitor.h:
457 * gunionvolumemonitor.c:
458 * gunixvolumemonitor.c:
459 Add is_supported() to GNativeVolumeMonitorClass so
460 that we can avoid having to create an object to see
461 if the backend is supported at runtime.
462 Also add name member and an env var to pick a specific
463 volume monitor backend.
467 Add cancellable to _g_mount_get_for_mount_path()
469 * glocaldirectorymonitor.c:
470 * glocalfilemonitor.c:
471 Avoid loading and unloading modules while sorting.
473 2007-12-17 Matthias Clasen <mclasen@redhat.com>
476 * gunixmounts.[hc]: Namespace waste reduction, move some
477 g_get_unix_mount functions to the g_unix_mount namespace.
480 * gunixvolumemonitor.c:
482 * glocaldirectorymonitor.c: Update all callers.
484 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
486 2007-12-17 Alexander Larsson <alexl@redhat.com>
489 Add doc comments about what GFile operations are
490 guaranteed to not block.
492 2007-12-17 Alexander Larsson <alexl@redhat.com>
495 Add missing #ifdef fixing OSX build.
496 (#503334, patch from Richard Hult)
498 2007-12-14 David Zeuthen <davidz@redhat.com>
502 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
503 (g_mount_eject), (g_mount_eject_finish):
505 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
506 (get_volume_for_uuid), (get_mount_for_uuid),
507 (g_union_volume_monitor_class_init),
508 (get_default_native_type_with_exclude), (get_default_native_type),
509 (get_native_type), (update_native_type),
510 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
511 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
512 (g_unix_mount_can_eject), (eject_unmount_cb),
513 (eject_unmount_read_error), (eject_unmount_do),
514 (g_unix_mount_unmount), (g_unix_mount_eject),
515 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
516 * gunixmounts.c: (g_unix_mount_guess_can_eject),
517 (g_unix_mount_point_guess_can_eject):
519 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
520 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
521 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
522 (g_unix_volume_mount), (g_unix_volume_eject),
523 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
524 * gunixvolumemonitor.c: (get_volume_for_uuid),
525 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
527 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
528 (g_volume_eject), (g_volume_eject_finish):
530 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
531 (g_volume_monitor_get_mount_for_uuid):
534 Provide eject() on both GMount and GVolume and utility functions
535 to guess whether a GUnixMountPoint or GUnixMountEntry should be
536 ejected. Introduce the concept of UUID's and wire it into GVolume
537 and GMount and provide API on GVolumeMonitor to find such
538 instances. Also handle the case where an external
539 GNativeVolumeMonitor fails to initialize. Lock around the
540 _g_get_mount_for_mount_path() function such that volume monitor
541 implementations won't have to do locking themselves.
543 2007-12-17 Matthias Clasen <mclasen@redhat.com>
551 * gvolume.h: Documentation updates
553 2007-12-14 Matthias Clasen <mclasen@redhat.com>
556 * gfile.h: Doc updates
558 2007-12-14 Matthias Clasen <mclasen@redhat.com>
561 * gdesktopappinfo.c: Use hash table iterators.
563 2007-12-14 Alexander Larsson <alexl@redhat.com>
566 * gfileattribute.[ch]:
567 * gfileattribute-priv.h:
568 Move GFileAttributeValue to a private header, as
572 Make set_attribute take a type + a pointer instead
573 of a GFileAttributeValue.
576 Fix up for above changes.
577 Add g_file_info_get_attribute_data to get
578 all info in one call, g_file_info_get_attribute_status
579 to get the status and g_file_info_get_attribute_as_string.
583 * glocalfileinfo.[ch]:
587 Make _guess_type static.
589 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
592 * inotify/Makefile.am: Fixed build when srcdir != builddir,
593 made mkenums and friends use temporary files to avoid leaving
594 empty generated files on failure (#503470).
596 2007-12-14 Alexander Larsson <alexl@redhat.com>
601 2007-12-14 Alexander Larsson <alexl@redhat.com>
605 * gfileattribute.[ch]:
608 * glocalfileoutputstream.c:
609 * gmountoperation.[ch]:
610 * goutputstream.[ch]:
611 Clean up all flags enums to not have _FLAGS in them
612 Make the names of some of the enums better.
617 2007-12-14 Michael Natterer <mitch@imendio.com>
619 * gio.symbols: fix g_io_scheduler symbol names.
621 2007-12-14 Alexander Larsson <alexl@redhat.com>
627 * gbufferedinputstream.h:
628 * gbufferedoutputstream.h:
631 * gdatainputstream.h:
632 * gdataoutputstream.h:
634 * gdirectorymonitor.h:
641 * gfileinputstream.h:
643 * gfilenamecompleter.h:
644 * gfileoutputstream.h:
645 * gfilterinputstream.h:
646 * gfilteroutputstream.h:
654 * gmemoryinputstream.h:
655 * gmemoryoutputstream.h:
660 * gsimpleasyncresult.h:
662 * gunixinputstream.h:
664 * gunixoutputstream.h:
668 * inotify/Makefile.am:
669 Only allow including <gio/gio.h> from apps
671 2007-12-14 Alexander Larsson <alexl@redhat.com>
674 * gsimpleasyncresult.c:
675 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
676 Split out the send_to_mainloop call into two versions instead
677 of having the block argument.
679 2007-12-13 Alexander Larsson <alexl@redhat.com>
683 * gbufferedinputstream.c:
685 * gfileinputstream.c:
686 * gfileoutputstream.c:
690 g_push/pop_current_cancellable ->
691 g_cancellable_push/pop_current
693 2007-12-13 Alexander Larsson <alexl@redhat.com>
697 Rename g_mount_for_location to g_file_mount_enclosing_volume.
699 2007-12-13 Alexander Larsson <alexl@redhat.com>
702 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
704 2007-12-12 Alexander Larsson <alexl@redhat.com>
707 Fix race condition when freeing proxy in
708 g_io_job_send_to_mainloop().
710 2007-12-12 Alexander Larsson <alexl@redhat.com>
716 Make attribute namespace separator "::" instead of ":".
717 Use - instead of _ as separator in attribute names.
719 2007-12-12 Alexander Larsson <alexl@redhat.com>
721 * gbufferedinputstream.h:
722 * gbufferedoutputstream.h:
723 * gdatainputstream.h:
724 * gdataoutputstream.h:
725 * gdirectorymonitor.h:
727 * gfileinputstream.h:
729 * gfileoutputstream.h:
730 * gfilterinputstream.h:
731 * gfilteroutputstream.h:
733 * glocalfileinputstream.h:
734 * glocalfileoutputstream.h:
735 * gmemoryinputstream.h:
736 * gmemoryoutputstream.h:
737 * gnativevolumemonitor.h:
739 * gunixinputstream.h:
740 * gunixoutputstream.h:
743 s/parent/parent_instance/ in GObjects
745 2007-12-12 Alexander Larsson <alexl@redhat.com>
750 No need for padding for interfaces
752 2007-12-12 Alexander Larsson <alexl@redhat.com>
756 * gbufferedinputstream.c:
757 * gbufferedoutputstream.c:
760 * gdatainputstream.[ch]:
762 * gdirectorymonitor.c:
764 * gfileattribute.[ch]:
767 * gfileinputstream.h:
769 * gfileoutputstream.[ch]:
770 * gfilterinputstream.h:
771 * gfilteroutputstream.h:
774 * gloadableicon.[ch]:
775 * gmemoryinputstream.c:
778 Fix up a bunch of details in the docs.
783 2007-12-11 David Zeuthen <davidz@redhat.com>
785 Rework how volumes, drives and volume monitoring is
786 done. Previosly the model was
790 where a GDrive instance represented a mount point and a GVolume
791 instance represented a mounted file system. This patch changes it
794 GDrive <1-N> GVolume <1-1> GMount
796 where GMount now serves the purpose of the old GVolume and the new
797 GVolume serves the purpose of the old GDrive. In addition the new
798 GDrive interface is used to represent a collection of GVolume
799 instances (typically partitions) and also contains utility to query
800 the state of the physical drive the GDrive object represents (such
801 as checking for media, polling the drive, ejecting the media etc.).
803 Also implement mounting and unmounting in the Unix volume monitor
804 backend. A subquent patch will introduce GDrive support for ejection
808 * gdrive.c: (g_drive_is_media_check_automatic),
809 (g_drive_is_media_removable), (g_drive_has_media),
810 (g_drive_can_poll_for_media), (g_drive_eject),
811 (g_drive_eject_finish), (g_drive_poll_for_media),
812 (g_drive_poll_for_media_finish):
814 * gfile.c: (g_file_find_enclosing_mount):
817 * glocaldirectorymonitor.c:
818 (g_local_directory_monitor_constructor), (mounts_changed):
819 * glocalfile.c: (get_mount_info),
820 (g_local_file_find_enclosing_mount),
821 (g_local_file_file_iface_init):
822 * gnativevolumemonitor.h:
823 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
824 (get_connected_drives), (g_union_volume_monitor_class_init),
825 (child_volume_added), (child_volume_removed),
826 (child_volume_changed), (child_mount_added), (child_mount_removed),
827 (child_mount_pre_unmount), (child_mount_changed),
828 (child_drive_changed), (g_union_volume_monitor_add_monitor),
829 (g_union_volume_monitor_remove_monitor),
830 (_g_mount_get_for_mount_path):
831 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
832 (guess_system_internal), (_g_get_unix_mounts),
833 (_g_get_unix_mount_points), (g_get_unix_mount_at),
834 (g_unix_mount_free), (g_unix_mount_compare),
835 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
836 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
837 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
838 (type_to_icon), (g_unix_mount_guess_name),
839 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
840 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
841 (_resolve_symlink), (_resolve_dev_root):
843 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
844 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
845 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
846 (g_unix_volume_get_name), (g_unix_volume_can_mount),
847 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
848 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
849 (g_unix_volume_mount), (g_unix_volume_mount_finish),
850 (g_unix_volume_volume_iface_init):
852 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
853 (get_mounts), (get_volumes), (get_connected_drives),
854 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
855 (mountpoints_changed), (mounts_changed),
856 (g_unix_volume_monitor_init),
857 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
858 (find_mount_by_mountpath), (update_volumes), (update_mounts):
859 * gunixvolumemonitor.h:
860 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
861 (g_volume_mount), (g_volume_mount_finish):
863 * gvolumemonitor.c: (g_volume_monitor_class_init),
864 (g_volume_monitor_get_connected_drives),
865 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
868 2007-12-10 Matthias Clasen <mclasen@redhat.com>
870 * gmountoperation.h (GPasswordFlags): Close the gap
872 2007-12-10 Matthias Clasen <mclasen@redhat.com>
874 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
876 * gdesktopappinfo.[hc]: Remove _-prefixes
878 2007-12-10 Tor Lillqvist <tml@novell.com>
880 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
883 2007-12-10 Alexander Larsson <alexl@redhat.com>
885 * gfile.c (g_file_set_display_name):
886 Don't hardcode '/' (#502727)
888 2007-12-09 Hans Breuer <hans@breuer.org>
890 * makefile.msc : follow lib naming convention
891 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
892 for user and group name, tested with ../tests/gio-ls
894 2007-12-09 A. Walton <awalton@svn.gnome.org>
907 * gmemoryinputstream.c:
908 * gmemoryoutputstream.c:
910 * gsimpleasyncresult.c:
911 More documentation cleanup and filling in missing information, bringing
912 GIO to 99% symbol coverage.
914 2007-12-08 Hans Breuer <hans@breuer.org>
916 [gio compiles and links on win32, not sure how much already works]
917 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
918 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
919 base on win32 API; prefer g_lstat() over lstat(); instead of
920 localtime_r() use an all GLib implementation on win32;
921 get_mount_info() still needs a win32 specifc implementation
922 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
923 win32_get_file_user_info to get owner/group info without uid/gid
924 * glocalfileinputstream.c : include <io.h> on win32
925 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
926 definition, use g_win32_ftruncate() for G_OS_WIN32
927 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
928 it is available with mingw/w32api but a mess with the M$ Platform SDKs
929 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
930 * makefile.msc : updated
932 2007-12-07 Alexander Larsson <alexl@redhat.com>
934 * glocalfileenumerator.c (_g_local_file_enumerator_new):
935 Avoid warning spew if error == NULL
937 2007-12-07 Alexander Larsson <alexl@redhat.com>
940 Update docs wrt etags
942 2007-12-06 Alexander Larsson <alexl@redhat.com>
945 Include sys/types.h for dev_t (#501919)
947 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
951 Make abicheck and pltcheck pass.
953 2007-12-05 Alexander Larsson <alexl@redhat.com>
956 * giomodule-priv.h: Added.
957 * glocaldirectorymonitor.c:
958 * glocalfilemonitor.c:
959 * gunionvolumemonitor.c:
961 Actually add the declaration of _g_io_modules_ensure_loaded
963 2007-12-05 Alexander Larsson <alexl@redhat.com>
965 * gdatainputstream.c:
970 * glocaldirectorymonitor.c:
971 * glocalfilemonitor.c:
972 * gunionvolumemonitor.c:
974 Make g_io_modules_ensure_loaded a private function and
975 don't pass in the dirname. This means we can do magic
976 directory finding in the win32 version.
977 Export the actual load-modules-in-directory code so that
980 2007-12-05 Alexander Larsson <alexl@redhat.com>
982 * gbufferedinputstream.c:
983 * gbufferedoutputstream.c:
986 * gfileenumerator.[ch]:
987 * gfileinputstream.c:
988 * gfileoutputstream.[ch]:
989 * gfilterinputstream.c:
990 * gfilteroutputstream.c:
993 * glocalfileenumerator.c:
994 * glocalfileinputstream.c:
995 * glocalfileoutputstream.c:
996 * gmemoryinputstream.c:
997 * gmemoryoutputstream.c:
998 * goutputstream.[ch]:
1001 * gunixinputstream.c:
1002 * gunixoutputstream.c:
1003 Rename all struct members named:
1004 read, write, close, truncate, or mount
1005 to foo_fn, as these are reserved names
1006 and could be defined as macros in libc.
1009 2007-12-04 Alexander Larsson <alexl@redhat.com>
1012 (g_output_stream_close):
1013 Only call flush if non-null.
1015 2007-11-30 Dan Winship <danw@gnome.org>
1017 * ginputstream.c (g_input_stream_set_pending): Make this take a
1018 GError and return a gboolean, and do the "outstanding operation"
1019 check (and the "stream is already closed" check) itself.
1020 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1022 * goutputstream.c (g_output_stream_set_pending)
1023 (g_output_stream_clear_pending): Likewise
1025 * gbufferedinputstream.c:
1026 * gfileinputstream.c:
1027 * gfileoutputstream.c: Update for that
1029 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1030 Like g_simple_async_report_error_in_idle, but takes a GError
1031 rather than building one.
1033 2007-11-30 Dan Winship <danw@gnome.org>
1035 * goutputstream.c: Don't cheat and unset the "pending" flag around
1036 inner calls. Instead, call the class method directly rather than
1037 the wrapper function that checks "pending"
1039 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1041 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1043 2007-12-03 Hans Breuer <hans@breuer.org>
1045 [start of port to win32/msvc]
1046 * gcancellable.c : HAVE_UNIST_H and _pipe()
1047 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1048 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1049 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1051 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1052 * glocalvfs.c : use HAVE_PWD_H
1053 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1054 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1055 * Makefile.am : added to EXTRA_DIST
1057 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1059 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1062 2007-12-03 Alexander Larsson <alexl@redhat.com>
1065 Handle OSX style xattrs API (#500506)
1067 2007-12-03 Alexander Larsson <alexl@redhat.com>
1071 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1073 2007-12-02 A. Walton <awalton@svn.gnome.org>
1077 Documentation accuracy fixes.
1079 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1081 * gioenumtypes.c.template: Fix typo.
1083 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1085 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1087 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1089 * gdirectorymonitor.c:
1090 * gfilemonitor.c: Add properties
1092 * gbufferedoutputstream.c: Don't mark buffer-size property
1095 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1097 * gbufferedoutputstream.c: Add auto-grow property.
1099 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1101 * *.c: Unify the capitalization of section headings.
1103 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1105 * gmountoperation.c: Add properties
1107 * gdatainputstream.c: Turn byte-order and newline-type into
1110 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1112 * gioenumtypes.[hc].template: Templates for enum registration
1114 * Makefile.am: Generate gioenumtypes.[hc]
1116 * gio.h: Include gioenumtypes.h
1118 * gfile.h: Add some explicit nicks.
1120 * gio.symbols: Add new symbols
1122 * pltcheck.sh: Adjust
1124 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1126 * *.c: Explain etags and link to the explanation
1128 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1130 * *.c: Explain I/O priority.
1132 * *.c: More coding style fixes.
1134 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1136 * gasyncresult.c: Add another paragraph to the intro,
1137 adjust coding style of example.
1139 2007-11-29 A. Walton <awalton@svn.gnome.org>
1142 Fixes unknown meaning in GAppLaunchContext docs.
1144 Clarify asynchronous ops.
1146 Fix entity tag docs.
1149 Provides missing gtk-doc section, fixes API docs slighly.
1150 * gsimpleasyncresult.c:
1151 Fill in missing info in docs.
1152 * gunixinputstream.c:
1153 * gunixoutputstream.c:
1154 Be more expressive in short description.
1156 Remove gtk-doc stubs for non-public API.
1158 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1160 * *.c: Coding style fixups
1162 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1164 * inotify/inotify-helper.c: Don't export the lock from libgio.
1166 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1169 * abicheck.sh: Fix copy-and-paste leftovers
1171 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1173 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1175 2007-11-28 Alexander Larsson <alexl@redhat.com>
1179 Removed unnecessary file
1181 * gdesktopappinfo.[ch]:
1184 * glocaldirectorymonitor.[ch]:
1186 * glocalfileenumerator.[ch]:
1187 * glocalfileinputstream.[ch]:
1188 * glocalfilemonitor.[ch]:
1189 * glocalfileoutputstream.[ch]:
1191 * gnativevolumemonitor.c:
1192 * gpollfilemonitor.[ch]:
1193 * gunionvolumemonitor.[ch]:
1196 * gunixvolumemonitor.[ch]:
1199 * inotify/ginotifydirectorymonitor.[ch]:
1200 * inotify/ginotifyfilemonitor.[ch]:
1201 * inotify/inotify-helper.c:
1202 Append _ to all internal functions
1206 Export symbols needed for modules
1208 2007-11-28 Alexander Larsson <alexl@redhat.com>
1211 * abicheck.sh: Added.
1212 * makegioalias.pl: Added.
1213 * pltcheck.sh: Added.
1214 * gio.symbols: Added.
1217 Initial work on adding symbol handling.
1220 Correct ifdef guard name
1223 * inotify/Makefile.am:
1224 * xdgmime/Makefile.am:
1225 Include toplevel Makefile.decl
1227 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1229 * gcontenttype.c: Move doc comments to the unix section.
1231 * *.[hc]: More trivial doc corrections.
1233 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1235 * gpollfilemonitor.c:
1239 * gdesktopappinfo.c:
1244 * gdatainputstream.c:
1245 * gdatainputstream.h:
1246 * gdataoutputstream.c:
1247 * gdataoutputstream.h:
1248 * gfileinfo.h: Doc cleanups
1250 2007-11-28 Andre Klapper <a9016009@gmx.de>
1252 * gdesktopappinfo.c: Fix a typo.
1254 2007-11-27 Andre Klapper <a9016009@gmx.de>
1256 * glocalfileoutputstream.c: Fix a typo.
1258 2007-11-27 Alexander Larsson <alexl@redhat.com>
1261 Don't include removed headers
1263 2007-11-27 Alexander Larsson <alexl@redhat.com>
1266 * gsocketinputstream.[ch]: Removed.
1267 * gsocketoutputstream.[ch]: Removed.
1268 * gunixinputstream.[ch]: Added.
1269 * gunixoutputstream.[ch]: Added.
1270 Renamed GSocket*Stream to GUnix*Stream and made
1271 it unix-only, since its not really only for sockets
1272 and it only works on unix (but is highly useful there).
1274 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1280 * gbufferedinputstream.c:
1281 * gbufferedinputstream.h:
1282 * gbufferedoutputstream.c:
1283 * gbufferedoutputstream.h:
1287 * gdatainputstream.c:
1288 * gdatainputstream.h:
1289 * gdataoutputstream.c:
1290 * gdataoutputstream.h:
1291 * gdirectorymonitor.c:
1292 * gdirectorymonitor.h:
1299 * gfileenumerator.c:
1300 * gfileenumerator.h:
1305 * gfileinputstream.c:
1306 * gfileinputstream.h:
1309 * gfilenamecompleter.c:
1310 * gfilenamecompleter.h:
1311 * gfileoutputstream.c:
1312 * gfileoutputstream.h:
1313 * gfilterinputstream.c:
1314 * gfilterinputstream.h:
1315 * gfilteroutputstream.c:
1316 * gfilteroutputstream.h:
1329 * glocalfileoutputstream.c:
1330 * gmemoryinputstream.c:
1331 * gmemoryinputstream.h:
1332 * gmemoryoutputstream.c:
1333 * gmemoryoutputstream.h:
1334 * gmountoperation.c:
1335 * gmountoperation.h:
1338 * gpollfilemonitor.c:
1341 * gsimpleasyncresult.c:
1342 * gsimpleasyncresult.h:
1343 * gsocketinputstream.c:
1344 * gsocketinputstream.h:
1345 * gsocketoutputstream.c:
1346 * gsocketoutputstream.h:
1353 * gunixvolumemonitor.c:
1362 Bumps documentation to 93% symbol coverage, touching most
1363 of the public files. Fixes broken function documentation prototypes.
1364 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1365 gtk-doc headers in private files.
1367 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1369 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1370 (g_buffered_input_stream_read_byte):
1371 * gbufferedinputstream.h:
1372 New functions for efficient access to buffer and simple single byte
1375 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1376 (g_data_input_stream_read_until):
1377 * gdatainputstream.h:
1378 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1379 read_until with multiple stop chars.
1381 2007-11-27 Alexander Larsson <alexl@redhat.com>
1385 * inotify/Makefile.am:
1386 Use the user-specified giomoduledir
1388 2007-11-27 Alexander Larsson <alexl@redhat.com>
1392 Add catch-all gio.h header
1393 Don't install gdummyfile.h
1395 2007-11-26 Alexander Larsson <alexl@redhat.com>
1397 * Makefile.am (gioinclude_HEADERS):
1398 Remove trailing whitespace
1400 2007-11-26 Alexander Larsson <alexl@redhat.com>
1402 Merge gio-standalone into glib
1404 2007-11-25 Christian Kellner <gicmo@gnome.org>
1406 * gio/goutputstream.c:
1407 Fix small mistake in the docs.
1409 2007-11-21 Christian Persch <chpe@gnome.org>
1411 * gio/glocalfile.c: (g_local_file_trash):
1412 Convert filenames to UTF-8 for GError.
1413 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1414 as per xdg base dir spec.
1416 2007-11-21 Christian Persch <chpe@gnome.org>
1418 * gio/gdesktopappinfo.c:
1419 Use that g_key_file_to_data cannot fail.
1421 Use stock defines for the key file group and key names.
1424 2007-11-21 Alexander Larsson <alexl@redhat.com>
1427 (copy_stream_with_progress):
1428 Make sure we do a final progress callback with
1429 the full total size.
1431 2007-11-21 Alexander Larsson <alexl@redhat.com>
1434 Export g_file_copy_attributes
1435 Remove padding as its not needed for interfaces
1437 2007-11-20 Alexander Larsson <alexl@redhat.com>
1442 Add G_IO_ERROR_WOULD_MERGE for
1443 copy/move dir on dir with overwrite.
1445 2007-11-20 Alexander Larsson <alexl@redhat.com>
1448 * gio/glocalfileinfo.c:
1449 Add COPY_NAME (this is an optional
1450 non-modified utf8 version of the name) that
1453 2007-11-20 Alexander Larsson <alexl@redhat.com>
1455 * gio/glocalfileenumerator.c:
1456 Report errors as GIOError, not GFileError
1458 2007-11-16 Alexander Larsson <alexl@redhat.com>
1460 * gio/glocalfileoutputstream.c:
1461 * gio/gwin32appinfo.c:
1462 Fix typos in strings.
1463 Patch from Luca Ferretti <elle.uca@libero.it>
1465 2007-11-15 Alexander Larsson <alexl@redhat.com>
1468 Post release version bump
1470 === gio-standalone 0.1.2 ===
1472 2007-11-15 Alexander Larsson <alexl@redhat.com>
1474 * docs/reference/gio/Makefile.am:
1475 Fix up distcheck by removing weird
1481 2007-11-14 Alexander Larsson <alexl@redhat.com>
1483 * gio/gdesktopappinfo.c:
1484 * gio/glocaldirectorymonitor.c:
1486 * gio/glocalfileinfo.c:
1487 * gio/inotify/inotify-sub.c:
1488 * programs/gio-cat.c:
1489 * programs/gio-copy.c:
1490 * programs/gio-info.c:
1491 * programs/gio-ls.c:
1492 * programs/gio-monitor-dir.c:
1493 * programs/gio-monitor-file.c:
1494 * programs/gio-mount.c:
1495 * programs/gio-move.c:
1496 * programs/gio-rm.c:
1497 * programs/gio-save.c:
1498 * programs/gio-trash.c:
1499 Leak fixes from Kjartan Maraas
1501 2007-11-14 Alexander Larsson <alexl@redhat.com>
1503 * gio/fam/fam-helper.c:
1505 * gio/glocalfileinfo.c:
1509 * gio/inotify/inotify-diag.c:
1510 * gio/inotify/inotify-kernel.c:
1511 Various code cleanups from Kjartan Maraas
1513 2007-11-14 Alexander Larsson <alexl@redhat.com>
1515 * gio/gioscheduler.c:
1517 Set up threadpool so that we cache 2 unused
1518 idle threads for at 15 secs. This means we
1519 will reuse thread-local data (like dbus connections)
1522 2007-11-14 Alexander Larsson <alexl@redhat.com>
1524 * gio/fam/fam-helper.c:
1525 * gio/fam/gfamdirectorymonitor.c:
1526 * gio/fam/gfamfilemonitor.c:
1528 * gio/gcontenttype.c:
1529 * gio/gdatainputstream.c:
1530 * gio/gdataoutputstream.c:
1534 * gio/gfileattribute.h:
1535 * gio/gfileenumerator.c:
1537 * gio/ginputstream.c:
1540 * gio/glocalfileinfo.c:
1541 * gio/goutputstream.c:
1542 * gio/gpollfilemonitor.c:
1543 * gio/gsimpleasyncresult.c:
1544 * gio/gunixmounts.c:
1545 * gio/gunixmounts.h:
1546 * gio/inotify/ginotifydirectorymonitor.c:
1547 * gio/inotify/ginotifyfilemonitor.c:
1548 * gio/inotify/inotify-diag.c:
1549 * gio/inotify/inotify-kernel.c:
1550 * gio/inotify/inotify-path.c:
1552 * gio/test-streams.c:
1553 * programs/gio-info.c:
1554 * programs/gio-monitor-dir.c:
1555 * programs/gio-monitor-file.c:
1556 Various code cleanups from Kjartan Maraas
1558 2007-11-13 Alexander Larsson <alexl@redhat.com>
1561 Handle the uri-scheme calls for dummy files
1563 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1565 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1566 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1567 to avoid clash with the C++ keyword.
1569 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1571 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1572 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1574 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1576 * gio/glocaldirectorymonitor.c:
1577 * gio/glocalfilemonitor.c:
1578 * gio/gunionvolumemonitor.c:
1579 Don't use g_once_init_*() for initializations that could fail and
1580 could leave the initialization variable set to 0 but use GOnce.
1581 This prevents a deadlock on the second call when trying to create
1582 a monitor and no monitor type is available. Thanks to Sven Herzberg
1585 2007-11-11 Sven Herzberg <sven@imendio.com>
1587 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1588 #ifdef (make it work on MacOS X again)
1590 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1592 Fixes Changelog for last two commits (sorry guys).
1594 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1596 * gio/gbufferedinputstream.c:
1597 * gio/gdatainputstream.c:
1599 * gio/gfileoutputstream.c:
1600 * gio/gfilterinputstream.c:
1601 * gio/glocalfileinputstream.c:
1604 More consistency fixes in g*stream.c files.
1605 Significant clean of gfile's documentation, filling in of
1606 asynchronous operations documentation.
1608 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1610 * gio/gasyncresult.c:
1611 * gio/gbufferedinputstream.c:
1612 * gio/gbufferedoutputstream.c:
1613 * gio/gcancellable.c:
1614 * gio/gcontenttype.c:
1615 * gio/gdatainputstream.c:
1616 * gio/gdataoutputstream.c:
1617 * gio/gdesktopappinfo.c:
1620 * gio/gfileattribute.c:
1621 * gio/gio/gfileenumerator.c:
1623 * gio/gfileinputstream.c:
1624 * gio/gfilemonitor.c:
1625 * gio/gfileoutputstream.c:
1626 * gio/ginputstream.c:
1628 * gio/gioscheduler.c:
1629 * gio/gloadableicon.c:
1630 * gio/glocalfileoutputstream.c:
1631 * gio/gmemoryoutputstream.c:
1632 * gio/gmountoperation.c:
1633 * gio/goutputstream.c:
1635 * gio/gsimpleasyncresult.c:
1636 * gio/gunionvolumemonitor.c:
1637 * gio/gunixmounts.c:
1638 * gio/gunixvolume.c:
1642 * gio/gvolumemonitor.c:
1643 Updated documentation stubs, working towards consistency and
1646 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1648 * gio/gmemoryoutputstream.c:
1649 * gio/gmemoryoutputstream.h:
1650 Change g_memory_output_stream_set_free_on_close() to
1651 g_memory_output_stream_set_free_data() as this makes more sense and
1652 is more consistent with GMemoryInputStream.
1654 2007-11-07 Alexander Larsson <alexl@redhat.com>
1661 Change how we find the default vfs so that
1662 we can handle a gvfs failing to init
1664 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1666 * gio/gbufferedoutputstream.c:
1667 * gio/gdatainputstream.c:
1668 * gio/gdataoutputstream.c:
1669 * gio/gfileinputstream.c:
1670 * gio/gfileoutputstream.c:
1671 * gio/gfilterinputstream.c:
1672 * gio/gfilteroutputstream.c:
1673 * gio/ginputstream.c:
1674 * gio/gmemoryinputstream.c:
1675 * gio/gmemoryoutputstream.c:
1676 * gio/goutputstream.c:
1677 * gio/gsimpleasyncresult.c:
1678 * gio/gsocketinputstream.c:
1679 * gio/gsocketoutputstream.c:
1680 Add guards to the remaining public functions, add a TODO for
1681 an unimplemented function and remove some useless guards.
1683 2007-11-07 Alexander Larsson <alexl@redhat.com>
1686 Autoconf checks for the various types of
1687 getpwuid_r and getgrgid_r
1689 * gio/glocalfileinfo.c:
1690 Use the autoconf checks from above
1692 2007-11-07 Alexander Larsson <alexl@redhat.com>
1695 (g_local_file_query_filesystem_info):
1696 Some fixes for the statvfs case
1698 2007-11-07 Alexander Larsson <alexl@redhat.com>
1701 (g_local_file_query_filesystem_info):
1702 Pick the "best" of statfs / statvfs for the system
1703 if both are availible.
1705 2007-11-07 Alexander Larsson <alexl@redhat.com>
1707 Solaris fixes from Halton.Huo@Sun.COM:
1714 * gio/glocalfileinfo.c:
1715 Fix for solaris definition of getpwuid_r
1717 * gio/test-streams.c:
1718 Use G_GNUC_PRETTY_FUNCTION
1720 2007-11-07 Alexander Larsson <alexl@redhat.com>
1722 * gio/gdesktopappinfo.c:
1723 (update_default_list):
1724 Remove double semicolon.
1725 Patch from Jens Granseuer
1727 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1729 * docs/reference/gio/gio-sections.txt:
1730 * gio/gbufferedinputstream.c:
1731 * gio/gbufferedinputstream.h:
1732 * gio/gdatainputstream.c:
1733 * gio/gfileenumerator.c:
1734 * gio/gioscheduler.c:
1735 * gio/gunionvolumemonitor.c:
1737 * programs/gio-save.c:
1738 Fix typo: availible -> available. Unfortuntely this breaks API
1739 and ABI as g_buffered_input_stream_get_available() was renamed.
1741 * gio/gunixmounts.c:
1742 * gio/gbufferedinputstream.c:
1743 Add guards for public functions.
1745 2007-11-06 Ross Burton <ross@openedhand.com>
1747 * docs/reference/gio/Makefile.am:
1748 Fix invalid += usage which automake 1.10 doesn't like.
1750 2007-11-06 Alexander Larsson <alexl@redhat.com>
1753 (g_app_launch_context_class_init):
1756 Patch from Ross Burton
1758 2007-11-06 Alexander Larsson <alexl@redhat.com>
1761 Post release version bump
1763 === gio-standalone 0.1.1 ===
1765 2007-11-06 Alexander Larsson <alexl@redhat.com>
1768 Bump version to 0.1.1
1770 * gio/gsimpleasyncresult.c:
1771 (g_simple_async_result_set_from_error):
1772 Remove bogus g_return_if_fail
1774 2007-11-06 Alexander Larsson <alexl@redhat.com>
1777 The name is gio-standalone
1780 Add top src/builddir to includedir
1782 2007-11-06 Alexander Larsson <alexl@redhat.com>
1784 * docs/reference/gio/gio-sections.txt:
1786 * gio/gbufferedinputstream.c:
1787 * gio/gbufferedoutputstream.c:
1788 * gio/gcancellable.c:
1789 * gio/gdatainputstream.h:
1790 * gio/gdataoutputstream.c:
1791 * gio/gdataoutputstream.h:
1792 * gio/gdirectorymonitor.c:
1794 * gio/gfileattribute.c:
1795 * gio/gfileattribute.h:
1796 * gio/gfileenumerator.c:
1797 * gio/gfileenumerator.h:
1800 * gio/gfileinputstream.h:
1801 * gio/gfilemonitor.c:
1802 * gio/gfileoutputstream.h:
1803 * gio/glocalfilemonitor.h:
1804 * gio/glocalfileoutputstream.h:
1805 * gio/gmemoryinputstream.c:
1806 * gio/gmemoryoutputstream.c:
1807 * gio/gmountoperation.c:
1808 * gio/goutputstream.c:
1809 * gio/goutputstream.h:
1811 * gio/gsimpleasyncresult.c:
1812 * gio/gunixmounts.c:
1813 * gio/gunixmounts.h:
1815 * gio/inotify/inotify-helper.c:
1816 Fix gtk-doc warnings
1818 Patch from Ross Burton
1820 2007-11-06 Alexander Larsson <alexl@redhat.com>
1822 * gio/gfilenamecompleter.c:
1823 (g_filename_completer_get_completions):
1826 * gio/gunixvolume.c:
1827 Remove unused function
1829 Patches from Ross Burton
1831 2007-11-06 Alexander Larsson <alexl@redhat.com>
1836 Padding not needed for interfaces
1838 2007-11-06 Alexander Larsson <alexl@redhat.com>
1840 * gio/gfilemonitor.c:
1844 Make giotypes.h an internal file
1847 * gio/gbufferedinputstream.h:
1848 * gio/gbufferedoutputstream.h:
1849 * gio/gcancellable.h:
1850 * gio/gdatainputstream.h:
1851 * gio/gdataoutputstream.h:
1852 * gio/gdirectorymonitor.c:
1853 * gio/gdirectorymonitor.h:
1858 * gio/gfileattribute.h:
1859 * gio/gfileenumerator.h:
1864 * gio/gfilemonitor.c:
1865 * gio/gfilemonitor.h:
1866 * gio/gfilenamecompleter.c:
1867 * gio/gfilenamecompleter.h:
1868 * gio/gfilterinputstream.h:
1869 * gio/gfilteroutputstream.h:
1870 * gio/ginputstream.h:
1871 * gio/gmemoryinputstream.h:
1872 * gio/gmemoryoutputstream.h:
1873 * gio/gmountoperation.c:
1874 * gio/gmountoperation.h:
1875 * gio/gnativevolumemonitor.c:
1876 * gio/goutputstream.h:
1879 * gio/gsimpleasyncresult.c:
1880 * gio/gsimpleasyncresult.h:
1881 * gio/gsocketinputstream.h:
1882 * gio/gsocketoutputstream.h:
1883 * gio/gthemedicon.c:
1884 * gio/gthemedicon.h:
1888 * gio/gvolumemonitor.c:
1889 * gio/gvolumemonitor.h:
1890 Add padding in classes where it seems useful
1891 Don't include giotypes.h from public headers
1892 Move in Class definitions into c file where possible
1897 2007-11-06 Alexander Larsson <alexl@redhat.com>
1899 * docs/reference/gio/gio-docs.xml:
1900 Better structure for API docs
1902 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1905 * gio/gloadableicon.c:
1906 * gio/gsimpleasyncresult.c:
1907 * gio/gthemedicon.c:
1908 Add some more guards to public functions. Only files missing are now
1911 2007-11-06 Alexander Larsson <alexl@redhat.com>
1913 * docs/reference/gio/gio-docs.xml:
1914 Remove old files, add missing ones
1916 2007-11-06 Alexander Larsson <alexl@redhat.com>
1918 * docs/reference/gio/gio-sections.txt:
1921 Hide implementation classes
1923 * gio/gdriveprivate.h:
1924 * gio/gvolumeprivate.h:
1925 Remove non-existing function declarations
1927 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1930 Fix compilation warnings and add guards to the new functions.
1932 * gio/gasyncresult.c:
1934 Add guards to the public functions.
1937 Implement get_path().
1939 2007-11-06 Alexander Larsson <alexl@redhat.com>
1941 * gio/gfilenamecompleter.c:
1942 Make g_filename_completer_get_completions
1943 return char ** instead of GList for
1946 * docs/reference/gio/gio-docs.xml:
1947 * docs/reference/gio/gio-sections.txt:
1949 * gio/gasyncresult.c:
1950 * gio/gbufferedinputstream.c:
1951 * gio/gbufferedoutputstream.c:
1952 * gio/gcancellable.c:
1953 * gio/gcontenttype.c:
1954 * gio/gdatainputstream.c:
1955 * gio/gdataoutputstream.c:
1956 * gio/gdesktopappinfo.c:
1957 * gio/gdirectorymonitor.c:
1961 * gio/gfileattribute.c:
1962 * gio/gfileenumerator.c:
1965 * gio/gfileinputstream.c:
1966 * gio/gfilemonitor.c:
1967 * gio/gfilenamecompleter.c:
1968 * gio/gfilenamecompleter.h:
1969 * gio/gfileoutputstream.c:
1970 * gio/gfilterinputstream.c:
1972 * gio/ginputstream.c:
1974 * gio/gioscheduler.c:
1975 * gio/gloadableicon.c:
1976 * gio/glocaldirectorymonitor.c:
1978 * gio/glocalfileinputstream.c:
1979 * gio/glocalfilemonitor.c:
1980 * gio/glocalfileoutputstream.c:
1982 * gio/gmemoryinputstream.c:
1983 * gio/gmemoryoutputstream.c:
1984 * gio/gmountoperation.c:
1985 * gio/goutputstream.c:
1986 * gio/gpollfilemonitor.c:
1988 * gio/gsimpleasyncresult.c:
1989 * gio/gsocketinputstream.c:
1990 * gio/gsocketoutputstream.c:
1991 * gio/gthemedicon.c:
1992 * gio/gunionvolumemonitor.c:
1994 * gio/gunixmounts.c:
1995 * gio/gunixvolume.c:
1996 * gio/gunixvolumemonitor.c:
2000 * gio/gvolumemonitor.c:
2001 * gio/gwin32appinfo.c:
2002 Add (mostly stub) doc strings to public functions.
2003 Patch from Andrew Walton (awalton@gmail.com)
2005 2007-11-06 Alexander Larsson <alexl@redhat.com>
2007 * gio/gappinfo.[ch]:
2008 Added GAppLaunchContext object and pass that to launch.
2009 This allows simple implementation of both
2010 launch-on-screen and startup notification via a gtk+
2011 subclass of GAppLaunchContext
2013 * gio/gdesktopappinfo.c:
2014 Implement GAppLaunchContext API
2016 * gio/gwin32appinfo.c:
2019 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2021 * gio/gmountoperation.c:
2022 Add some guards to GMountOperation's public functions.
2024 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2028 * gio/gcancellable.c:
2029 * gio/gdirectorymonitor.c:
2031 * gio/gfileenumerator.c:
2032 * gio/gfilemonitor.c:,
2033 * gio/gfilenamecompleter.c:
2036 * gio/gioscheduler.c:
2040 * gio/gvolumemonitor.c:
2041 Add even more guards to various public functions.
2043 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2046 Add guards to the public functions of GAppInfo.
2048 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2050 * gio/gcontenttype.c:
2051 Add some more guards for public functions.
2053 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2055 * gio/fam/fam-module.c:
2056 * gio/fam/gfamdirectorymonitor.c:
2057 * gio/fam/gfamdirectorymonitor.h:
2058 * gio/fam/gfamfilemonitor.c:
2059 * gio/fam/gfamfilemonitor.h:
2060 * gio/inotify/ginotifydirectorymonitor.c:
2061 * gio/inotify/ginotifydirectorymonitor.h:
2062 * gio/inotify/ginotifyfilemonitor.c:
2063 * gio/inotify/ginotifyfilemonitor.h:
2064 Add proper copyright information and remove an unused variable
2065 in the GInotifyFileMonitor constructor.
2067 * gio/gcancellable.c:
2068 Add a guard for a public function and an assertion to prevent
2069 an undefined program state.
2071 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2073 * gio/gfileattribute.c:
2074 Don't run into an assertion if the given attribute value is NULL
2075 in g_file_attribute_value_get_*() but instead return a fallback
2076 value that makes sense in most situations. Passing them a attribute
2077 value with the wrong type will still run into an assertion.
2079 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2081 * gio/gfileattribute.c:
2083 Add even more guards to the public functions. Also fix the refcounting
2084 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2085 let g_file_info_list_attributes() filter the attributes by namespace
2086 instead of simply ignoring the namespace parameter.
2088 2007-11-03 Sven Herzberg <sven@imendio.com>
2090 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2091 (This makes gio work on MacOS X again)
2093 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2096 Build the gio subdirectory before the docs. Otherwise the build will
2099 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2100 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2101 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2102 Add guards to the public functions.
2104 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2106 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2107 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2108 to prevent a compiler warning.
2110 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2111 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2112 return something in the non-void function find_topdir_for().
2114 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2121 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2123 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2124 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2125 * gwin32appinfo.c (g_win32_app_info_launch):
2126 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2127 envp_for_startup_id, g_desktop_app_info_launch,
2128 g_desktop_app_info_launch_uris):
2130 Give an opaque 'startup_id' string instead of 'envp'.
2131 Support empty file lists for launching new windows.
2132 Fix infinite recursion bug when launching URIs.
2134 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2137 Add guard to the new g_file_get_uri_scheme() function.
2139 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2142 Convert a g_return_val_if_fail() to setting the GError instead as
2143 otherwise applications have to verify the parameter before otherwise
2144 and the parameter might come directly from the user.
2146 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2148 * gio/inotify/ginotify*.[ch]:
2149 Add missing copyright information.
2151 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2154 Add guards in the beginning of public functions to check for valid
2155 parameters and fix a bug in copy_stream_with_progress() that could've
2156 caused writing less bytes than reading.
2157 * gio/glocalfileinfo.c:
2158 Check for a NULL parameter and set the GError accordingly then.
2159 * gio/goutputstream.c:
2160 Fix the same bug as in gfile.c that could've caused writing less bytes
2161 than reading in g_output_stream_real_splice().
2163 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2166 Use the correct gvolumeprivate.h naming
2168 2007-11-01 Christian Kellner <gicmo@gnome.org>
2171 Remove leftover "$(daemon_sources)" entry.
2173 2007-11-01 Christian Kellner <gicmo@gnome.org>
2178 Add copyright information to source files.
2180 2007-11-01 Alexander Larsson <alexl@redhat.com>
2184 Add g_file_get_uri_scheme
2186 2007-11-01 Alexander Larsson <alexl@redhat.com>
2189 * gio/gdesktopappinfo.c:
2190 * gio/gwin32appinfo.c:
2191 Add g_app_info_get_default_for_uri_scheme.
2193 2007-11-01 Alexander Larsson <alexl@redhat.com>
2196 Correct filename for gdriveprivate.h
2198 2007-10-31 Alexander Larsson <alexl@redhat.com>
2201 Rename id:value to id:file
2204 * gio/glocalfileinfo.c:
2207 2007-10-31 Alexander Larsson <alexl@redhat.com>
2209 * gio/gunixvolume.c:
2211 Remove g_volume_get_platform_id, as thats not
2212 needed with the simpler union volume monitor
2214 2007-10-31 Alexander Larsson <alexl@redhat.com>
2217 * gio/guniondrive.[ch]: Removed.
2218 * gio/gunionvolume.[ch]: Removed.
2219 Remove GUnionDrive/Volume
2221 * gio/gunionvolumemonitor.c:
2222 Simplify union volume monitor, now we
2223 only have one native volume monitor and
2224 we use the actual volumes/drives from the
2225 child monitors instead of wrapping them
2227 * gio/gnativevolumemonitor.[ch]:
2228 Base class for native volume monitors.
2229 Includes priority and get_volume_for_mountpoint
2232 Add g_file_find_enclosing_volume
2235 Remove volume name fs attribute
2236 Add readonly fs attribute
2239 Implement readonly attribute
2240 remove volume name attribute
2241 Implement find_enclosing volume
2243 * gio/gunixmounts.c:
2244 Add a volume for "/".
2246 * gio/gunixvolume.[ch]:
2247 Set better name for /
2249 * gio/gunixvolumemonitor.[ch]:
2250 Derive from GNativeVolumeMonitor
2251 Implement get_volume_for_mountpoint
2254 GVolume typedef moved to gfile.h
2256 * gio/gvolumeprivate.h:
2257 Add g_volume_get_for_mount_path
2259 2007-10-31 Alexander Larsson <alexl@redhat.com>
2261 * gio/gunixmounts.[ch]:
2262 Add cache info to unix mount listers
2263 Make getmntent use threadsafe
2264 Add is_system_internal attribute for GUnixMount
2266 * gio/gunixvolume.c:
2267 (g_unix_volume_new):
2268 Use is_system_internal instead of own code
2270 * gio/glocaldirectorymonitor.c:
2271 * gio/gunixvolumemonitor.c:
2272 Update to new gunixmounts API
2277 2007-10-30 Alexander Larsson <alexl@redhat.com>
2280 Add volume name fsinfo attribute
2283 Read volume name info
2285 * gio/gunionvolumemonitor.c:
2286 Fix infinite loops when finalizing a union volume monitor
2288 2007-10-30 Alexander Larsson <alexl@redhat.com>
2290 * gio/goutputstream.[ch]:
2291 Add splice() with default implementation
2293 * gio/gsocketoutputstream.c:
2294 (g_socket_output_stream_write):
2295 Return error on cancellation correctly.
2297 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2299 * gio/glocalfile.c (g_local_file_trash):
2300 Do not leak a string.
2302 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2304 * gio/gfile.c (g_file_load_contents):
2305 Unref the stream after closing it.
2307 2007-10-25 Alexander Larsson <alexl@redhat.com>
2309 * gio/gioscheduler.h:
2312 2007-10-25 Alexander Larsson <alexl@redhat.com>
2316 Add g_file_has_uri_scheme and implement for local files
2318 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2320 * gio/gdesktopappinfo.c: do not leak a string.
2322 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2324 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2325 (g_local_directory_monitor_new):
2326 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2327 (g_local_file_monitor_new):
2328 Only look for the monitor type that should be used the first time
2329 and use g_qsort_with_data() instead of our own bubble sort
2332 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2335 * gio/fam/Makefile.am:
2336 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2337 * gio/fam/fam-helper.h:
2338 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2339 * gio/fam/gfamdirectorymonitor.c:
2340 * gio/fam/gfamdirectorymonitor.h:
2341 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2342 * gio/fam/gfamfilemonitor.h:
2343 * gio/glocaldirectorymonitor.c:
2344 * gio/glocaldirectorymonitor.h:
2345 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2346 * gio/glocalfilemonitor.h:
2347 * gio/inotify/Makefile.am:
2348 * gio/inotify/ginotifydirectorymonitor.c:
2349 * gio/inotify/ginotifydirectorymonitor.h:
2350 * gio/inotify/ginotifyfilemonitor.c:
2351 * gio/inotify/ginotifyfilemonitor.h:
2352 Implement the FAM and Inotify monitors as
2353 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2354 their own GIO module. GLocal(Directory|File)Monitor will use the
2355 monitor with the highest rank that is supported on that machine.
2357 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2360 Change GIO module dir to $(libdir)/gio/modules and change
2361 the log domain from GVFS to GIO. Also only export symbols starting
2362 with g_ in the resulting library.
2363 * gio/test-streams.c: (main):
2364 Set log handler for the GIO log domain.
2366 2007-10-22 Alexander Larsson <alexl@redhat.com>
2368 * gio/gfilenamecompleter.[ch]:
2369 Add g_filename_completer_set_dirs_only
2371 2007-10-22 Alexander Larsson <alexl@redhat.com>
2374 * gio/gurifuncs.[ch]:
2375 Add some simple URI helpers
2377 * gio/gfilenamecompleter.[ch]:
2378 Added object for filename (parse name actually) completion
2381 Handle ~ in parse names
2383 2007-10-17 Alexander Larsson <alexl@redhat.com>
2386 * gio/glocalfileinfo.c:
2387 Add and implement id:value attribute
2389 2007-10-17 Alexander Larsson <alexl@redhat.com>
2392 * gio/guniondrive.c:
2394 Add and implement g_drive_has_volumes
2396 2007-10-17 Alexander Larsson <alexl@redhat.com>
2399 * gio/glocalfileinfo.[ch]:
2400 Add unix:is_mountpoint and implement for local files
2402 2007-10-16 Alexander Larsson <alexl@redhat.com>
2404 * gio/gunionvolumemonitor.c:
2405 (g_union_volume_monitor_init):
2406 Fix up the unix type getting so that it works with gcc
2408 2007-10-12 Alexander Larsson <alexl@redhat.com>
2411 * gio/glocalfileinfo.c:
2412 Add thumbnail:failed to file info
2414 2007-10-12 Richard Hult <richard@imendio.com>
2416 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2417 optimizing away the get_type call (happens with some gcc versions,
2418 like the one shipped with OS X 10.4).
2420 2007-10-12 Alexander Larsson <alexl@redhat.com>
2422 * gio/glocalfileinfo.c:
2423 (_g_local_file_info_set_attribute):
2424 Fix build if not HAVE_XATTR
2425 Patch from Milosz Derezynski <internalerror@gmail.com>
2427 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2429 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2430 around for review, otherwise I would have asked you before
2433 2007-10-11 Alexander Larsson <alexl@redhat.com>
2436 Add thumbnail:path attribute
2438 * gio/glocalfileinfo.c:
2439 Implement thumbnail:path for local files
2441 2007-10-11 Alexander Larsson <alexl@redhat.com>
2443 * gio/glocalfileinfo.c:
2444 (_g_local_file_info_get):
2445 Avoid duplicate icon names
2447 2007-10-11 Alexander Larsson <alexl@redhat.com>
2449 * gio/gthemedicon.[ch]:
2450 Change g_themed_icon_get_names return type to const
2452 2007-10-10 Alexander Larsson <alexl@redhat.com>
2454 * gio/glocalfileinfo.c:
2455 Don't reference freed memory
2457 2007-10-10 Alexander Larsson <alexl@redhat.com>
2459 * gio/gfileattribute.c:
2462 * gio/glocalfileinfo.c:
2465 2007-10-10 Alexander Larsson <alexl@redhat.com>
2468 Check for NULL icons
2470 * gio/gfileattribute.c:
2471 Don't dup when getting objects (same as for string attributes)
2473 * gio/gicon.c (g_icon_equal):
2474 Safely handle NULLs in equal
2476 2007-10-10 Alexander Larsson <alexl@redhat.com>
2479 Fix c++ compilation issues
2480 Patch from Milosz Derezynski <internalerror@gmail.com>
2482 2007-10-10 Alexander Larsson <alexl@redhat.com>
2484 * programs/gio-monitor-dir.c:
2485 Don't crash if dir monitor not supported.
2487 2007-10-09 Alexander Larsson <alexl@redhat.com>
2490 Add missing G_END_DECLS
2492 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2494 * gio/gfile.c: (g_file_set_display_name),
2495 (g_file_query_settable_attributes),
2496 (g_file_query_writable_namespaces):
2497 Return NULL not FALSE on errors as the return type is a pointer.
2499 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2501 * gio/glocalfile.c: (g_local_file_monitor_file):
2502 Don't call monitor_file on the default interface vtable (which
2503 is NULL) but simply return NULL. The caller, GFile, will create a
2504 polling monitor if NULL is returned.
2506 2007-10-09 Alexander Larsson <alexl@redhat.com>
2510 * gio-unix-2.0.pc.in:
2511 Add gio-unix-2.0.pc if OS_UNIX
2514 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2516 2007-10-09 Alexander Larsson <alexl@redhat.com>
2518 * gio/gunixmounts.[ch]:
2519 Make unix mount monitoring API sane.
2520 Now its just a object with mounts_changed
2521 and mountpoints_changed signals.
2523 * gio/glocaldirectorymonitor.c:
2524 * gio/gunixvolumemonitor.c:
2525 Use new mount monitor api
2527 2007-10-09 Alexander Larsson <alexl@redhat.com>
2529 * gio/gunixmounts.[ch]:
2530 Move guess type into one call for mounts and one for mountpoints
2533 * gio/gunixvolume.c:
2536 2007-10-09 Alexander Larsson <alexl@redhat.com>
2538 * gio/gunixmounts.[ch]:
2539 Remove _ prefix in preparation to make this semi-public
2540 Hide implementation of structs
2542 * gio/glocaldirectorymonitor.c:
2544 * gio/gunixvolume.c:
2545 * gio/gunixvolumemonitor.c:
2546 Update for above API changes
2548 2007-10-08 Alexander Larsson <alexl@redhat.com>
2551 Better polling fallback. This also handles the case where we have
2552 a monitor_file implementation, but it fails.
2554 2007-10-08 Alexander Larsson <alexl@redhat.com>
2558 * gio/gunixmounts.c:
2559 * programs/gio-monitor-dir.c:
2560 * programs/gio-monitor-file.c:
2561 Added cancellable to file monitoring calls.
2562 These are really sync calls and need this.
2564 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2566 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2567 (g_local_vfs_class_init):
2568 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2569 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2571 2007-10-05 Alexander Larsson <alexl@redhat.com>
2573 * gio/gdirectorymonitorprivate.h:
2574 * gio/gfilemonitorprivate.h:
2575 * gio/gdirectorymonitor.h:
2576 * gio/gfilemonitor.h:
2577 Remove *private.h and move to the public API, so that
2578 we can do implementations outside gio (such as in gvfs)
2580 * gio/gdirectorymonitor.c:
2581 * gio/gfilemonitor.c:
2582 * gio/glocaldirectorymonitor.c:
2583 * gio/gpollfilemonitor.c:
2584 * gio/inotify/inotify-helper.c:
2585 * gio/fam/fam-helper.c:
2586 Update to the new header names
2588 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2590 * gio/gdirectorymonitor.c:
2591 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2594 2007-10-04 Alexander Larsson <alexl@redhat.com>
2596 * gio/glocalfileinfo.c (get_access_rights):
2597 Set CAN_TRASH when we can move the file.
2598 We should really also check for a parent trash dir.
2600 2007-10-04 Alexander Larsson <alexl@redhat.com>
2602 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2603 Add can_trash access attribute
2605 2007-10-04 Alexander Larsson <alexl@redhat.com>
2608 (g_local_file_trash):
2609 Create info file first. This is per-spec and allows
2610 us to actually trash directories.
2612 2007-10-02 Alexander Larsson <alexl@redhat.com>
2614 * gio/gdesktopappinfo.c:
2615 Implement the new mime support code.
2616 Always set app as handling mimetype when being set as default for it
2618 2007-10-01 Alexander Larsson <alexl@redhat.com>
2620 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2621 Fix up check for xattrs:
2623 2007-10-01 Alexander Larsson <alexl@redhat.com>
2626 (g_app_info_set_as_default_for_extension):
2627 (g_app_info_add_supports_type):
2628 (g_app_info_can_remove_supports_type):
2629 (g_app_info_remove_supports_type):
2630 Make these fail nicely if not implemented
2632 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2634 * gio/glocalfileoutputstream.c:
2635 * gio/glocalfileoutputstream.h:
2640 * programs/gio-save.c:
2641 Add a GFileCreateFlags argument to operations that can create
2644 2007-10-01 Alexander Larsson <alexl@redhat.com>
2646 * gio/gappinfo.[ch]:
2647 * gio/gdesktopappinfo.c:
2648 Add more (stubbed out) mime API needed for nautilus
2650 2007-10-01 Alexander Larsson <alexl@redhat.com>
2653 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2654 Add g_app_info_set_as_default_for_extension.
2656 * gio/gdesktopappinfo.c:
2657 Dummy for g_app_info_set_as_default_for_extension
2658 Support flags in g_app_info_create_from_commandline
2660 * gio/gwin32appinfo.c:
2662 Update for API changes
2664 * gio/gthemedicon.c:
2665 Properly NULL-terminate list of icon names
2667 2007-09-28 Alexander Larsson <alexl@redhat.com>
2669 * gio/gloadableicon.h:
2670 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2672 2007-09-28 Alexander Larsson <alexl@redhat.com>
2675 Install headers in $includedir/gio-standalone/
2677 * gio-2.0.pc.in: Added.
2678 * gio-standalone.pc.in: Removed.
2681 Renamed pkg-config file to match glib (for future move)
2682 Update to the new include dir
2685 Add more TODO comments
2687 2007-09-28 Alexander Larsson <alexl@redhat.com>
2689 * gio/gdesktopappinfo.[ch]:
2690 Expose new_from_filename
2691 Add getter for is_hidden and handle it better
2693 2007-09-28 Alexander Larsson <alexl@redhat.com>
2695 * gio/gfileinfo.[ch]:
2696 Rename g_file_size_format_for_display to
2697 g_format_file_size_for_display.
2698 Now it doesn't have the g_file prefix, so we
2699 can later move it to glib.
2701 2007-09-28 Alexander Larsson <alexl@redhat.com>
2703 * gio/gappinfo.[ch]:
2704 Add g_app_info_get_id and g_app_info_get_executable.
2705 Make all getters non-reffing
2706 Make g_app_info_launch take GFile arguments.
2707 Add must_support_uris argument to g_app_info_get_default_for_type.
2709 * gio/gwin32appinfo.c:
2710 Update to GAppInfo api changes
2712 * gio/gdesktopappinfo.c:
2713 Update to GAppInfo api changes
2714 Implement supports_xdg_startup_notify
2716 * gio/gfileicon.c (g_file_icon_get_file):
2717 Make getter non-reffing.
2722 2007-09-27 Alexander Larsson <alexl@redhat.com>
2724 * gio/gfileinfo.[ch]:
2725 Add g_file_size_format_for_display helper
2727 2007-09-27 Alexander Larsson <alexl@redhat.com>
2729 * gio/glocalfileinfo.c:
2730 Set UNIX_GID from gid, not from uid
2732 2007-09-27 Alexander Larsson <alexl@redhat.com>
2735 Add g_file_set_attributes_async
2737 2007-09-27 Alexander Larsson <alexl@redhat.com>
2739 * gio/glocalfile.c (g_local_file_set_display_name):
2740 Fix set_display_name to actually rename to the right place.
2741 Use lstat to look for existing files so we don't overwrite
2744 2007-09-26 Alexander Larsson <alexl@redhat.com>
2747 Add g_file_set_display_name_async()
2749 2007-09-26 Alexander Larsson <alexl@redhat.com>
2752 Add load_partial_contents async calls
2755 Make internal function static
2757 2007-09-26 Alexander Larsson <alexl@redhat.com>
2759 * gio/glocalfileinfo.c:
2760 Correctly detect broken symlinks
2762 2007-09-26 Alexander Larsson <alexl@redhat.com>
2764 * gio/gcancellable.c (g_cancellable_cancel):
2765 Allow cancel on NULL cancellable
2767 2007-09-25 Alexander Larsson <alexl@redhat.com>
2769 * gio/gsimpleasyncresult.c:
2770 Don't allocate g_error manually.
2771 Fixes g_slice/g_new mixup crash
2773 2007-09-25 Alexander Larsson <alexl@redhat.com>
2775 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2776 Actually set active_backend.
2777 This means the monitor will be cancelled correctly.
2779 2007-09-25 Alexander Larsson <alexl@redhat.com>
2781 * gio/gdirectorymonitor.c:
2782 Set timeout to NULL when destroying
2784 2007-09-25 Alexander Larsson <alexl@redhat.com>
2787 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2788 that is a better description of the error.
2790 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2792 * gio/gvfs.c: (g_vfs_get_local):
2793 Make the local vfs variable static. The same instance should
2796 2007-09-24 Alexander Larsson <alexl@redhat.com>
2798 * gio/glocalfileinfo.c:
2799 Pass in actual length read into sniffer, not the length
2802 2007-09-21 Alexander Larsson <alexl@redhat.com>
2804 * gio/gfileenumerator.c:
2807 * gio/gfileinputstream.c:
2808 * gio/gfileoutputstream.c:
2809 * gio/ginputstream.c:
2810 * gio/goutputstream.c:
2811 Don't crash if async callbacks are NULL
2813 2007-09-20 Alexander Larsson <alexl@redhat.com>
2816 Add async enumerate_children method and default
2819 2007-09-20 Alexander Larsson <alexl@redhat.com>
2822 Add g_file_contains_file & g_file_get_relative_path, since they
2823 were needed for nautilus.
2824 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2829 Implement new methods
2831 2007-09-17 Alexander Larsson <alexl@redhat.com>
2834 * gio/gfileinputstream.[ch]:
2835 * gio/gfileoutputstream.[ch]:
2837 * gio/glocalfileenumerator.[ch]:
2838 * gio/glocalfileinfo.[ch]:
2839 * gio/glocalfileinputstream.c:
2840 * gio/glocalfileoutputstream.c:
2841 * gio/gpollfilemonitor.c:
2842 * programs/gio-copy.c:
2843 * programs/gio-info.c:
2844 * programs/gio-move.c:
2845 Rename get_file_info to query_info() to make it clearer
2846 that these are not simple getters, but do i/o.
2848 2007-09-17 Alexander Larsson <alexl@redhat.com>
2850 * gio/gdatainputstream.[ch]:
2851 * gio/test-streams.c:
2852 Use _read_XXX instead of _get_XXX for the i/o calls
2855 2007-09-17 Alexander Larsson <alexl@redhat.com>
2858 Added needed stuff to TODO comment
2860 2007-09-17 Alexander Larsson <alexl@redhat.com>
2862 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2863 Don't error out removing the backup copy if it doesn't
2866 2007-09-14 Alexander Larsson <alexl@redhat.com>
2868 * programs/Makefile.am:
2869 * programs/gvfs-*.c:
2871 Renamed apps from gvfs-xxx to gio-xxx.
2873 2007-09-14 Alexander Larsson <alexl@redhat.com>
2876 * gio/gfileoutputstream.[ch]:
2877 * gio/glocalfileoutputstream.c:
2878 * programs/gvfs-save.c:
2879 g_file_output_stream_get_etag doesn't do i/o, so remove
2880 cancellation and error.
2882 2007-09-14 Alexander Larsson <alexl@redhat.com>
2885 Add new_etag output to replace_contents functions
2887 2007-09-14 Alexander Larsson <alexl@redhat.com>
2889 * gio/gfileoutputstream.[ch]:
2890 Add async get_file_info and default implementation
2892 2007-09-14 Alexander Larsson <alexl@redhat.com>
2894 * gio/gfileinputstream.c:
2895 Implement fallback wrapper for async get_file_info
2897 2007-09-14 Alexander Larsson <alexl@redhat.com>
2900 Add etag out argument to load_contents
2905 2007-09-14 Alexander Larsson <alexl@redhat.com>
2907 * gio/gcontenttype.c (looks_like_text):
2908 Whitespace like tab, cr and lf do not make the
2911 2007-09-14 Alexander Larsson <alexl@redhat.com>
2913 * gio/gfileinputstream.[ch]:
2914 Add async get_file_info.
2916 2007-09-13 Alexander Larsson <alexl@redhat.com>
2918 * gio/goutputstream.c (g_output_stream_write_all):
2919 Allow NULL for bytes_written
2921 2007-09-13 Alexander Larsson <alexl@redhat.com>
2923 * gio/gmemoryinputstream.[ch]:
2924 Add accessors for data
2926 2007-09-13 Alexander Larsson <alexl@redhat.com>
2928 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2929 Don't crash if length is NULL