1 2008-01-17 Alexander Larsson <alexl@redhat.com>
6 Allow calls to implementation of copy and write
7 even if the type of the file implementations is
8 different. This can be used to implement native
9 upload and download calls in a vfs.
13 Protect against the case where move is called
14 with one file not being local.
16 Make sure we call the progress callback once
17 in the native move operation so that the caller
18 knows how many bytes were copied.
20 2008-01-16 Murray Cumming <murrayc@murrayc.com>
25 * gfileoutputstream.c:
30 * gunixmounts.c: Corrected some typos in the documentation:
32 its -> it's (where appropriate).
34 2008-01-16 Alexander Larsson <alexl@redhat.com>
38 Add g_file_query_exists (#508771)
40 2008-01-15 Murray Cumming <murrayc@murrayc.com>
45 * gvolume.c: For async functions that have no non-async
46 version, document that the GAsyncReadyCallback may be NULL.
49 2008-01-15 Alexander Larsson <alexl@redhat.com>
51 * gmemoryinputstream.c:
52 * gmemoryoutputstream.c:
53 Don't do pointer arithmetic on void * (#508602)
54 Patch from Kazuki IWAMOTO
56 2008-01-14 Matthias Clasen <mclasen@redhat.com>
58 * === Released 2.15.2 ===
60 2008-01-14 Alexander Larsson <alexl@redhat.com>
62 * gfile.c (g_file_monitor_file):
63 Don't set error here, since we fallback to polling monitor.
65 2008-01-14 Alexander Larsson <alexl@redhat.com>
68 (g_file_monitor_directory):
69 (g_file_monitor_file):
70 Add GError to file monitor calls
72 * glocaldirectorymonitor.c:
73 * glocaldirectorymonitor.h:
75 * glocalfilemonitor.c:
76 * glocalfilemonitor.h:
78 Update for above change
80 2008-01-14 Alexander Larsson <alexl@redhat.com>
84 Handle root correctly in g_file_get_relative_path (#508719)
86 2008-01-14 Alexander Larsson <alexl@redhat.com>
89 Clean up docs and example for GAsyncResult (#508074)
91 2008-01-11 Murray Cumming <murrayc@murrayc.com>
93 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
94 and correct some spelling mistakes. Bug #508108.
96 2008-01-11 Matthias Clasen <mclasen@redhat.com>
98 * glocalfileinfo.c: Add a comment.
100 2008-01-10 Murray Cumming <murrayc@murrayc.com>
102 * gfileinfo.c: GFileInfo description: Mention
103 how to actually set attributes in a GFile and how to discover
104 which attributes are settable. Bug #508378.
106 2008-01-10 A. Walton <awalton@svn.gnome.org>
108 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
109 (g_app_info_get_default_for_type):
110 Check for NULL content types.
112 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
114 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
116 2008-01-09 Murray Cumming <murrayc@murrayc.com>
118 * gfile.c: *_async() functions: Several small corrections
119 to the documentation, mostly correcting copy/paste errors
120 and improving some sentences.
122 2008-01-09 Dan Winship <danw@gnome.org>
124 * glocalfile.c (get_unique_filename): x86_64 fix
126 2008-01-09 Alexander Larsson <alexl@redhat.com>
131 Add g_unix_mount_guess_should_display and use
132 for unix volume monitor backend.
133 This means we more or less show what the
134 gnome-vfs backend did.
135 Based on patch from Padraig O'Briain
137 2008-01-09 Alexander Larsson <alexl@redhat.com>
141 Add g_themed_icon_new_with_default_fallbacks
144 Use default fallbacks for icons
146 2008-01-09 Alexander Larsson <alexl@redhat.com>
149 * gmountoperation.[ch]:
150 Change the API a bit so that unhandled methods
151 get reported via the reply, rather than by
152 the signal emission return value. This is because
153 some handlers can't know this immediately without
154 doing I/O, and this is an async operation that
157 2008-01-09 Alexander Larsson <alexl@redhat.com>
160 * fam/gfamdirectorymonitor.c:
161 * fam/gfamfilemonitor.c:
162 Fix double free crash (#508224)
163 Patch from Joe Marcus Clarke
165 008-01-07 Matthias Clasen <mclasen@redhat.com>
167 * === Released 2.15.1 ===
169 2008-01-07 Alexander Larsson <alexl@redhat.com>
171 * gunixinputstream.c (g_unix_input_stream_skip_finish):
172 Fix warning (#507835)
174 2008-01-07 Alexander Larsson <alexl@redhat.com>
177 Pass --internal to glib-genmarshal
182 Use better types for signal arguments (#507822)
184 2008-01-07 Alexander Larsson <alexl@redhat.com>
187 Build test subdir after .
188 Remove gdirectorymonitor.[ch]
190 * gdirectorymonitor.[ch]:
194 Remove GDirectoryMonitor and make
195 GFileMonitor the baseclass for both file and
196 directory monitors. Lift the more generic
197 rate limiting code from GDirectoryMonitor
201 * fam/gfamdirectorymonitor.[ch]:
202 * inotify/ginotifydirectorymonitor.[ch]:
203 * inotify/inotify-helper.c:
204 * glocaldirectorymonitor.[ch]:
207 Update for the removed GDirectoryMonitor.
209 * gmemoryoutputstream.c:
210 Remove ununsed variable
212 2008-01-07 Alexander Larsson <alexl@redhat.com>
214 * gmemoryinputstream.c:
215 Translate error strings
218 * gmemoryoutputstream.[ch]:
219 New implementation that avoids using GByteArray
220 in implementation and API. (#506377)
222 2008-01-06 Matthias Clasen <mclasen@redhat.com>
224 * tests/*: Add a test for memory input streams.
226 * Makefile.am: Add tests to SUBDIRS.
228 2008-01-06 Matthias Clasen <mclasen@redhat.com>
230 * glocalfilemonitor.c:
231 * glocaldirectorymonitor.c: Mark property nicks and blurbs
234 2008-01-06 Matthias Clasen <mclasen@redhat.com>
236 * gdesktopappinfo.c: Fix a docs typo.
238 * gfileattribute.c: Add information about extended attributes
239 to the documentation. (#505058)
241 2008-01-04 Alexander Larsson <alexl@redhat.com>
245 Use the right type (uint) for the ask_password signal.
247 2008-01-04 Alexander Larsson <alexl@redhat.com>
252 Add g_app_info_supports_files()
253 Remove desktop arg from g_app_info_should_show().
255 * gdesktopappinfo.[ch]:
256 Implement g_app_info_supports_files() and new should_show()
257 Add g_desktop_app_info_set_desktop_env() to set the desktop
258 for should_show(). (This will be set by gtk+ later)
260 2008-01-04 Alexander Larsson <alexl@redhat.com>
263 * gmemoryinputstream.[ch]:
264 Improve API so that you can use multiple chunks
265 of memory and custom destroy functions. (#506374)
267 2008-01-03 Alexander Larsson <alexl@redhat.com>
270 Handle NULL attribute matchers safely, as we return this
271 for empty attribute matcher strings.
273 2008-01-03 Alexander Larsson <alexl@redhat.com>
275 * gunixmounts.c (g_unix_is_mount_path_system_internal):
276 Add /usr/local to list of internal mountpoints
278 2008-01-03 Alexander Larsson <alexl@redhat.com>
281 Check for HAVE_LCHOWN (#505887)
283 2008-01-03 Alexander Larsson <alexl@redhat.com>
287 Add define for selinux context attribute.
288 Fix missing : -> :: namespace separator change
289 Fix missing _ -> - name change for xattr-sys.
292 2008-01-03 Alexander Larsson <alexl@redhat.com>
295 Link to libglib and libgobject directly (#504879)
296 Patch from Sebastien Bacher
298 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
300 * gfile.c: Expanded the g_file_new_for_commandline_arg
301 description a bit, based on the code and the docs of the
302 other g_file_new_for_* functions.
304 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
306 * gfilemonitor.h: Fixed typo in docs.
308 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
310 Updates to GIO documentation. (#506395, Mikael Hermansson)
312 * gcontenttype.c: Describe memory management for return value of
313 g_content_types_get_registered(). Missing piece from #505815.
314 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
315 GVolume, GDrive, GMounts, which hopefully gives the user less
316 confusions when using this API. Following explainations from
317 Alexander Larsson on gtk-devel-list.
319 2007-12-30 Matthias Clasen <mclasen@redhat.com>
321 * gfileinfo.c: Expand the long description.
323 2007-12-30 Matthias Clasen <mclasen@redhat.com>
326 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
327 fix builds with --disable-visibility. (#500273, Christian Persch)
329 2007-12-30 Matthias Clasen <mclasen@redhat.com>
331 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
332 in the list of returned app infos.
334 2007-12-30 Matthias Clasen <mclasen@redhat.com>
336 * gappinfo.c: Fix a cross-reference
338 2007-12-30 Matthias Clasen <mclasen@redhat.com>
340 * gfileinputstream.c:
341 * gfileoutputstream.c:
347 * gfileinfo.c: Documentation updates.
349 2007-12-26 Matthias Clasen <mclasen@redhat.com>
351 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
354 2007-12-26 Matthias Clasen <mclasen@redhat.com>
356 * gcontenttype.c (g_content_types_get_registered): Don't return
357 freed memory (#505815, Mikael Hermansson)
359 2007-12-25 Paolo Borelli <pborelli@katamail.com>
361 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
362 used to detect statbuf->st_blocks. (#505042)
364 2007-12-24 Matthias Clasen <mclasen@redhat.com>
366 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
367 environment handling. (#504829, Cosimo Cecchi)
369 2007-12-22 Matthias Clasen <mclasen@redhat.com>
371 * gappinfo.c: Doc improvements
373 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
376 2007-12-20 Matthias Clasen <mclasen@redhat.com>
378 * === Released 2.15.0 ===
380 2007-12-20 Hans Breuer <hans@breuer.org>
382 * makefile.msc : don't build gdesktopappinfo.obj, it collides
383 with symbols gwin32appinfo.obj, added gmount.obj
384 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
386 2007-12-20 Alexander Larsson <alexl@redhat.com>
392 * gfilenamecompleter.c:
395 * gpollfilemonitor.c:
396 File attribute renames:
399 id::fs -> id::filesystem
401 2007-12-20 Alexander Larsson <alexl@redhat.com>
410 Add GMountUnmountFlags to all unmount and
412 Add g_mount_remount() call.
414 2007-12-20 Alexander Larsson <alexl@redhat.com>
416 * gvfs.c (get_default_vfs):
417 Fix unused variable warning
419 2007-12-19 Matthias Clasen <mclasen@redhat.com>
421 * pltcheck.sh: Update
423 2007-12-19 Matthias Clasen <mclasen@redhat.com>
425 * gunionvolumemonitor.c:
426 * gunixmount.c: Remove C99 comments
428 2007-12-19 Matthias Clasen <mclasen@redhat.com>
430 * gio.symbols: Add some missing symbols
432 2007-12-19 Alexander Larsson <alexl@redhat.com>
435 Make g_io_modules_load_all_in_directory not unuse
436 loaded modules so that users of it can do stuff
438 Init internal "module" types.
439 Initialize static prio and name for types so that
440 we don't have to load modules to get it.
442 * gnativevolumemonitor.h:
444 Move is_supported to parent class so that
445 non-native monitors can avoid being initialized
446 too. (For instance GDaemonVolumeMonitor if we're
447 not using GDaemonVfs.)
449 * glocaldirectorymonitor.[ch]:
450 * glocalfilemonitor.[ch]:
451 * gunionvolumemonitor.c:
452 * gunixvolumemonitor.c:
454 Find plugins using the static prio+name to
455 avoid unnecessarily loading the modules.
457 2007-12-19 Alexander Larsson <alexl@redhat.com>
462 2007-12-19 Alexander Larsson <alexl@redhat.com>
464 * gunionvolumemonitor.c:
465 Store the native type as GType, not class so that
466 we can unload it. But still avoid unnecessarily
469 2007-12-19 David Zeuthen <davidz@redhat.com>
471 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
472 add signals 'disconnected' and 'eject-button' on GDrive. Add
473 signal 'removed' on GVolume and 'unmounted' on GMount.
475 * gdrive.c: (g_drive_base_init):
477 * gfile.c: (g_file_mount_mountable),
478 (g_file_mount_enclosing_volume):
481 * gmount.c: (g_mount_base_init):
483 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
484 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
485 * gvolume.c: (g_volume_base_init), (g_volume_mount):
489 2007-12-17 Matthias Clasen <mclasen@redhat.com>
491 * *.c: Fix up includes in the section docs.
493 2007-12-17 Alexander Larsson <alexl@redhat.com>
495 * gnativevolumemonitor.h:
496 * gunionvolumemonitor.c:
497 * gunixvolumemonitor.c:
498 Add is_supported() to GNativeVolumeMonitorClass so
499 that we can avoid having to create an object to see
500 if the backend is supported at runtime.
501 Also add name member and an env var to pick a specific
502 volume monitor backend.
506 Add cancellable to _g_mount_get_for_mount_path()
508 * glocaldirectorymonitor.c:
509 * glocalfilemonitor.c:
510 Avoid loading and unloading modules while sorting.
512 2007-12-17 Matthias Clasen <mclasen@redhat.com>
515 * gunixmounts.[hc]: Namespace waste reduction, move some
516 g_get_unix_mount functions to the g_unix_mount namespace.
519 * gunixvolumemonitor.c:
521 * glocaldirectorymonitor.c: Update all callers.
523 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
525 2007-12-17 Alexander Larsson <alexl@redhat.com>
528 Add doc comments about what GFile operations are
529 guaranteed to not block.
531 2007-12-17 Alexander Larsson <alexl@redhat.com>
534 Add missing #ifdef fixing OSX build.
535 (#503334, patch from Richard Hult)
537 2007-12-14 David Zeuthen <davidz@redhat.com>
541 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
542 (g_mount_eject), (g_mount_eject_finish):
544 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
545 (get_volume_for_uuid), (get_mount_for_uuid),
546 (g_union_volume_monitor_class_init),
547 (get_default_native_type_with_exclude), (get_default_native_type),
548 (get_native_type), (update_native_type),
549 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
550 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
551 (g_unix_mount_can_eject), (eject_unmount_cb),
552 (eject_unmount_read_error), (eject_unmount_do),
553 (g_unix_mount_unmount), (g_unix_mount_eject),
554 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
555 * gunixmounts.c: (g_unix_mount_guess_can_eject),
556 (g_unix_mount_point_guess_can_eject):
558 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
559 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
560 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
561 (g_unix_volume_mount), (g_unix_volume_eject),
562 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
563 * gunixvolumemonitor.c: (get_volume_for_uuid),
564 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
566 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
567 (g_volume_eject), (g_volume_eject_finish):
569 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
570 (g_volume_monitor_get_mount_for_uuid):
573 Provide eject() on both GMount and GVolume and utility functions
574 to guess whether a GUnixMountPoint or GUnixMountEntry should be
575 ejected. Introduce the concept of UUID's and wire it into GVolume
576 and GMount and provide API on GVolumeMonitor to find such
577 instances. Also handle the case where an external
578 GNativeVolumeMonitor fails to initialize. Lock around the
579 _g_get_mount_for_mount_path() function such that volume monitor
580 implementations won't have to do locking themselves.
582 2007-12-17 Matthias Clasen <mclasen@redhat.com>
590 * gvolume.h: Documentation updates
592 2007-12-14 Matthias Clasen <mclasen@redhat.com>
595 * gfile.h: Doc updates
597 2007-12-14 Matthias Clasen <mclasen@redhat.com>
600 * gdesktopappinfo.c: Use hash table iterators.
602 2007-12-14 Alexander Larsson <alexl@redhat.com>
605 * gfileattribute.[ch]:
606 * gfileattribute-priv.h:
607 Move GFileAttributeValue to a private header, as
611 Make set_attribute take a type + a pointer instead
612 of a GFileAttributeValue.
615 Fix up for above changes.
616 Add g_file_info_get_attribute_data to get
617 all info in one call, g_file_info_get_attribute_status
618 to get the status and g_file_info_get_attribute_as_string.
622 * glocalfileinfo.[ch]:
626 Make _guess_type static.
628 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
631 * inotify/Makefile.am: Fixed build when srcdir != builddir,
632 made mkenums and friends use temporary files to avoid leaving
633 empty generated files on failure (#503470).
635 2007-12-14 Alexander Larsson <alexl@redhat.com>
640 2007-12-14 Alexander Larsson <alexl@redhat.com>
644 * gfileattribute.[ch]:
647 * glocalfileoutputstream.c:
648 * gmountoperation.[ch]:
649 * goutputstream.[ch]:
650 Clean up all flags enums to not have _FLAGS in them
651 Make the names of some of the enums better.
656 2007-12-14 Michael Natterer <mitch@imendio.com>
658 * gio.symbols: fix g_io_scheduler symbol names.
660 2007-12-14 Alexander Larsson <alexl@redhat.com>
666 * gbufferedinputstream.h:
667 * gbufferedoutputstream.h:
670 * gdatainputstream.h:
671 * gdataoutputstream.h:
673 * gdirectorymonitor.h:
680 * gfileinputstream.h:
682 * gfilenamecompleter.h:
683 * gfileoutputstream.h:
684 * gfilterinputstream.h:
685 * gfilteroutputstream.h:
693 * gmemoryinputstream.h:
694 * gmemoryoutputstream.h:
699 * gsimpleasyncresult.h:
701 * gunixinputstream.h:
703 * gunixoutputstream.h:
707 * inotify/Makefile.am:
708 Only allow including <gio/gio.h> from apps
710 2007-12-14 Alexander Larsson <alexl@redhat.com>
713 * gsimpleasyncresult.c:
714 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
715 Split out the send_to_mainloop call into two versions instead
716 of having the block argument.
718 2007-12-13 Alexander Larsson <alexl@redhat.com>
722 * gbufferedinputstream.c:
724 * gfileinputstream.c:
725 * gfileoutputstream.c:
729 g_push/pop_current_cancellable ->
730 g_cancellable_push/pop_current
732 2007-12-13 Alexander Larsson <alexl@redhat.com>
736 Rename g_mount_for_location to g_file_mount_enclosing_volume.
738 2007-12-13 Alexander Larsson <alexl@redhat.com>
741 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
743 2007-12-12 Alexander Larsson <alexl@redhat.com>
746 Fix race condition when freeing proxy in
747 g_io_job_send_to_mainloop().
749 2007-12-12 Alexander Larsson <alexl@redhat.com>
755 Make attribute namespace separator "::" instead of ":".
756 Use - instead of _ as separator in attribute names.
758 2007-12-12 Alexander Larsson <alexl@redhat.com>
760 * gbufferedinputstream.h:
761 * gbufferedoutputstream.h:
762 * gdatainputstream.h:
763 * gdataoutputstream.h:
764 * gdirectorymonitor.h:
766 * gfileinputstream.h:
768 * gfileoutputstream.h:
769 * gfilterinputstream.h:
770 * gfilteroutputstream.h:
772 * glocalfileinputstream.h:
773 * glocalfileoutputstream.h:
774 * gmemoryinputstream.h:
775 * gmemoryoutputstream.h:
776 * gnativevolumemonitor.h:
778 * gunixinputstream.h:
779 * gunixoutputstream.h:
782 s/parent/parent_instance/ in GObjects
784 2007-12-12 Alexander Larsson <alexl@redhat.com>
789 No need for padding for interfaces
791 2007-12-12 Alexander Larsson <alexl@redhat.com>
795 * gbufferedinputstream.c:
796 * gbufferedoutputstream.c:
799 * gdatainputstream.[ch]:
801 * gdirectorymonitor.c:
803 * gfileattribute.[ch]:
806 * gfileinputstream.h:
808 * gfileoutputstream.[ch]:
809 * gfilterinputstream.h:
810 * gfilteroutputstream.h:
813 * gloadableicon.[ch]:
814 * gmemoryinputstream.c:
817 Fix up a bunch of details in the docs.
822 2007-12-11 David Zeuthen <davidz@redhat.com>
824 Rework how volumes, drives and volume monitoring is
825 done. Previosly the model was
829 where a GDrive instance represented a mount point and a GVolume
830 instance represented a mounted file system. This patch changes it
833 GDrive <1-N> GVolume <1-1> GMount
835 where GMount now serves the purpose of the old GVolume and the new
836 GVolume serves the purpose of the old GDrive. In addition the new
837 GDrive interface is used to represent a collection of GVolume
838 instances (typically partitions) and also contains utility to query
839 the state of the physical drive the GDrive object represents (such
840 as checking for media, polling the drive, ejecting the media etc.).
842 Also implement mounting and unmounting in the Unix volume monitor
843 backend. A subquent patch will introduce GDrive support for ejection
847 * gdrive.c: (g_drive_is_media_check_automatic),
848 (g_drive_is_media_removable), (g_drive_has_media),
849 (g_drive_can_poll_for_media), (g_drive_eject),
850 (g_drive_eject_finish), (g_drive_poll_for_media),
851 (g_drive_poll_for_media_finish):
853 * gfile.c: (g_file_find_enclosing_mount):
856 * glocaldirectorymonitor.c:
857 (g_local_directory_monitor_constructor), (mounts_changed):
858 * glocalfile.c: (get_mount_info),
859 (g_local_file_find_enclosing_mount),
860 (g_local_file_file_iface_init):
861 * gnativevolumemonitor.h:
862 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
863 (get_connected_drives), (g_union_volume_monitor_class_init),
864 (child_volume_added), (child_volume_removed),
865 (child_volume_changed), (child_mount_added), (child_mount_removed),
866 (child_mount_pre_unmount), (child_mount_changed),
867 (child_drive_changed), (g_union_volume_monitor_add_monitor),
868 (g_union_volume_monitor_remove_monitor),
869 (_g_mount_get_for_mount_path):
870 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
871 (guess_system_internal), (_g_get_unix_mounts),
872 (_g_get_unix_mount_points), (g_get_unix_mount_at),
873 (g_unix_mount_free), (g_unix_mount_compare),
874 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
875 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
876 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
877 (type_to_icon), (g_unix_mount_guess_name),
878 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
879 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
880 (_resolve_symlink), (_resolve_dev_root):
882 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
883 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
884 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
885 (g_unix_volume_get_name), (g_unix_volume_can_mount),
886 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
887 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
888 (g_unix_volume_mount), (g_unix_volume_mount_finish),
889 (g_unix_volume_volume_iface_init):
891 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
892 (get_mounts), (get_volumes), (get_connected_drives),
893 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
894 (mountpoints_changed), (mounts_changed),
895 (g_unix_volume_monitor_init),
896 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
897 (find_mount_by_mountpath), (update_volumes), (update_mounts):
898 * gunixvolumemonitor.h:
899 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
900 (g_volume_mount), (g_volume_mount_finish):
902 * gvolumemonitor.c: (g_volume_monitor_class_init),
903 (g_volume_monitor_get_connected_drives),
904 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
907 2007-12-10 Matthias Clasen <mclasen@redhat.com>
909 * gmountoperation.h (GPasswordFlags): Close the gap
911 2007-12-10 Matthias Clasen <mclasen@redhat.com>
913 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
915 * gdesktopappinfo.[hc]: Remove _-prefixes
917 2007-12-10 Tor Lillqvist <tml@novell.com>
919 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
922 2007-12-10 Alexander Larsson <alexl@redhat.com>
924 * gfile.c (g_file_set_display_name):
925 Don't hardcode '/' (#502727)
927 2007-12-09 Hans Breuer <hans@breuer.org>
929 * makefile.msc : follow lib naming convention
930 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
931 for user and group name, tested with ../tests/gio-ls
933 2007-12-09 A. Walton <awalton@svn.gnome.org>
946 * gmemoryinputstream.c:
947 * gmemoryoutputstream.c:
949 * gsimpleasyncresult.c:
950 More documentation cleanup and filling in missing information, bringing
951 GIO to 99% symbol coverage.
953 2007-12-08 Hans Breuer <hans@breuer.org>
955 [gio compiles and links on win32, not sure how much already works]
956 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
957 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
958 base on win32 API; prefer g_lstat() over lstat(); instead of
959 localtime_r() use an all GLib implementation on win32;
960 get_mount_info() still needs a win32 specifc implementation
961 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
962 win32_get_file_user_info to get owner/group info without uid/gid
963 * glocalfileinputstream.c : include <io.h> on win32
964 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
965 definition, use g_win32_ftruncate() for G_OS_WIN32
966 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
967 it is available with mingw/w32api but a mess with the M$ Platform SDKs
968 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
969 * makefile.msc : updated
971 2007-12-07 Alexander Larsson <alexl@redhat.com>
973 * glocalfileenumerator.c (_g_local_file_enumerator_new):
974 Avoid warning spew if error == NULL
976 2007-12-07 Alexander Larsson <alexl@redhat.com>
979 Update docs wrt etags
981 2007-12-06 Alexander Larsson <alexl@redhat.com>
984 Include sys/types.h for dev_t (#501919)
986 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
990 Make abicheck and pltcheck pass.
992 2007-12-05 Alexander Larsson <alexl@redhat.com>
995 * giomodule-priv.h: Added.
996 * glocaldirectorymonitor.c:
997 * glocalfilemonitor.c:
998 * gunionvolumemonitor.c:
1000 Actually add the declaration of _g_io_modules_ensure_loaded
1002 2007-12-05 Alexander Larsson <alexl@redhat.com>
1004 * gdatainputstream.c:
1009 * glocaldirectorymonitor.c:
1010 * glocalfilemonitor.c:
1011 * gunionvolumemonitor.c:
1013 Make g_io_modules_ensure_loaded a private function and
1014 don't pass in the dirname. This means we can do magic
1015 directory finding in the win32 version.
1016 Export the actual load-modules-in-directory code so that
1017 gvfs can reuse that.
1019 2007-12-05 Alexander Larsson <alexl@redhat.com>
1021 * gbufferedinputstream.c:
1022 * gbufferedoutputstream.c:
1025 * gfileenumerator.[ch]:
1026 * gfileinputstream.c:
1027 * gfileoutputstream.[ch]:
1028 * gfilterinputstream.c:
1029 * gfilteroutputstream.c:
1030 * ginputstream.[ch]:
1032 * glocalfileenumerator.c:
1033 * glocalfileinputstream.c:
1034 * glocalfileoutputstream.c:
1035 * gmemoryinputstream.c:
1036 * gmemoryoutputstream.c:
1037 * goutputstream.[ch]:
1040 * gunixinputstream.c:
1041 * gunixoutputstream.c:
1042 Rename all struct members named:
1043 read, write, close, truncate, or mount
1044 to foo_fn, as these are reserved names
1045 and could be defined as macros in libc.
1048 2007-12-04 Alexander Larsson <alexl@redhat.com>
1051 (g_output_stream_close):
1052 Only call flush if non-null.
1054 2007-11-30 Dan Winship <danw@gnome.org>
1056 * ginputstream.c (g_input_stream_set_pending): Make this take a
1057 GError and return a gboolean, and do the "outstanding operation"
1058 check (and the "stream is already closed" check) itself.
1059 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1061 * goutputstream.c (g_output_stream_set_pending)
1062 (g_output_stream_clear_pending): Likewise
1064 * gbufferedinputstream.c:
1065 * gfileinputstream.c:
1066 * gfileoutputstream.c: Update for that
1068 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1069 Like g_simple_async_report_error_in_idle, but takes a GError
1070 rather than building one.
1072 2007-11-30 Dan Winship <danw@gnome.org>
1074 * goutputstream.c: Don't cheat and unset the "pending" flag around
1075 inner calls. Instead, call the class method directly rather than
1076 the wrapper function that checks "pending"
1078 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1080 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1082 2007-12-03 Hans Breuer <hans@breuer.org>
1084 [start of port to win32/msvc]
1085 * gcancellable.c : HAVE_UNIST_H and _pipe()
1086 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1087 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1088 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1090 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1091 * glocalvfs.c : use HAVE_PWD_H
1092 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1093 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1094 * Makefile.am : added to EXTRA_DIST
1096 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1098 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1101 2007-12-03 Alexander Larsson <alexl@redhat.com>
1104 Handle OSX style xattrs API (#500506)
1106 2007-12-03 Alexander Larsson <alexl@redhat.com>
1110 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1112 2007-12-02 A. Walton <awalton@svn.gnome.org>
1116 Documentation accuracy fixes.
1118 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1120 * gioenumtypes.c.template: Fix typo.
1122 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1124 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1126 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1128 * gdirectorymonitor.c:
1129 * gfilemonitor.c: Add properties
1131 * gbufferedoutputstream.c: Don't mark buffer-size property
1134 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1136 * gbufferedoutputstream.c: Add auto-grow property.
1138 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1140 * *.c: Unify the capitalization of section headings.
1142 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1144 * gmountoperation.c: Add properties
1146 * gdatainputstream.c: Turn byte-order and newline-type into
1149 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1151 * gioenumtypes.[hc].template: Templates for enum registration
1153 * Makefile.am: Generate gioenumtypes.[hc]
1155 * gio.h: Include gioenumtypes.h
1157 * gfile.h: Add some explicit nicks.
1159 * gio.symbols: Add new symbols
1161 * pltcheck.sh: Adjust
1163 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1165 * *.c: Explain etags and link to the explanation
1167 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1169 * *.c: Explain I/O priority.
1171 * *.c: More coding style fixes.
1173 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1175 * gasyncresult.c: Add another paragraph to the intro,
1176 adjust coding style of example.
1178 2007-11-29 A. Walton <awalton@svn.gnome.org>
1181 Fixes unknown meaning in GAppLaunchContext docs.
1183 Clarify asynchronous ops.
1185 Fix entity tag docs.
1188 Provides missing gtk-doc section, fixes API docs slighly.
1189 * gsimpleasyncresult.c:
1190 Fill in missing info in docs.
1191 * gunixinputstream.c:
1192 * gunixoutputstream.c:
1193 Be more expressive in short description.
1195 Remove gtk-doc stubs for non-public API.
1197 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1199 * *.c: Coding style fixups
1201 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1203 * inotify/inotify-helper.c: Don't export the lock from libgio.
1205 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1208 * abicheck.sh: Fix copy-and-paste leftovers
1210 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1212 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1214 2007-11-28 Alexander Larsson <alexl@redhat.com>
1218 Removed unnecessary file
1220 * gdesktopappinfo.[ch]:
1223 * glocaldirectorymonitor.[ch]:
1225 * glocalfileenumerator.[ch]:
1226 * glocalfileinputstream.[ch]:
1227 * glocalfilemonitor.[ch]:
1228 * glocalfileoutputstream.[ch]:
1230 * gnativevolumemonitor.c:
1231 * gpollfilemonitor.[ch]:
1232 * gunionvolumemonitor.[ch]:
1235 * gunixvolumemonitor.[ch]:
1238 * inotify/ginotifydirectorymonitor.[ch]:
1239 * inotify/ginotifyfilemonitor.[ch]:
1240 * inotify/inotify-helper.c:
1241 Append _ to all internal functions
1245 Export symbols needed for modules
1247 2007-11-28 Alexander Larsson <alexl@redhat.com>
1250 * abicheck.sh: Added.
1251 * makegioalias.pl: Added.
1252 * pltcheck.sh: Added.
1253 * gio.symbols: Added.
1256 Initial work on adding symbol handling.
1259 Correct ifdef guard name
1262 * inotify/Makefile.am:
1263 * xdgmime/Makefile.am:
1264 Include toplevel Makefile.decl
1266 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1268 * gcontenttype.c: Move doc comments to the unix section.
1270 * *.[hc]: More trivial doc corrections.
1272 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1274 * gpollfilemonitor.c:
1278 * gdesktopappinfo.c:
1283 * gdatainputstream.c:
1284 * gdatainputstream.h:
1285 * gdataoutputstream.c:
1286 * gdataoutputstream.h:
1287 * gfileinfo.h: Doc cleanups
1289 2007-11-28 Andre Klapper <a9016009@gmx.de>
1291 * gdesktopappinfo.c: Fix a typo.
1293 2007-11-27 Andre Klapper <a9016009@gmx.de>
1295 * glocalfileoutputstream.c: Fix a typo.
1297 2007-11-27 Alexander Larsson <alexl@redhat.com>
1300 Don't include removed headers
1302 2007-11-27 Alexander Larsson <alexl@redhat.com>
1305 * gsocketinputstream.[ch]: Removed.
1306 * gsocketoutputstream.[ch]: Removed.
1307 * gunixinputstream.[ch]: Added.
1308 * gunixoutputstream.[ch]: Added.
1309 Renamed GSocket*Stream to GUnix*Stream and made
1310 it unix-only, since its not really only for sockets
1311 and it only works on unix (but is highly useful there).
1313 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1319 * gbufferedinputstream.c:
1320 * gbufferedinputstream.h:
1321 * gbufferedoutputstream.c:
1322 * gbufferedoutputstream.h:
1326 * gdatainputstream.c:
1327 * gdatainputstream.h:
1328 * gdataoutputstream.c:
1329 * gdataoutputstream.h:
1330 * gdirectorymonitor.c:
1331 * gdirectorymonitor.h:
1338 * gfileenumerator.c:
1339 * gfileenumerator.h:
1344 * gfileinputstream.c:
1345 * gfileinputstream.h:
1348 * gfilenamecompleter.c:
1349 * gfilenamecompleter.h:
1350 * gfileoutputstream.c:
1351 * gfileoutputstream.h:
1352 * gfilterinputstream.c:
1353 * gfilterinputstream.h:
1354 * gfilteroutputstream.c:
1355 * gfilteroutputstream.h:
1368 * glocalfileoutputstream.c:
1369 * gmemoryinputstream.c:
1370 * gmemoryinputstream.h:
1371 * gmemoryoutputstream.c:
1372 * gmemoryoutputstream.h:
1373 * gmountoperation.c:
1374 * gmountoperation.h:
1377 * gpollfilemonitor.c:
1380 * gsimpleasyncresult.c:
1381 * gsimpleasyncresult.h:
1382 * gsocketinputstream.c:
1383 * gsocketinputstream.h:
1384 * gsocketoutputstream.c:
1385 * gsocketoutputstream.h:
1392 * gunixvolumemonitor.c:
1401 Bumps documentation to 93% symbol coverage, touching most
1402 of the public files. Fixes broken function documentation prototypes.
1403 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1404 gtk-doc headers in private files.
1406 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1408 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1409 (g_buffered_input_stream_read_byte):
1410 * gbufferedinputstream.h:
1411 New functions for efficient access to buffer and simple single byte
1414 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1415 (g_data_input_stream_read_until):
1416 * gdatainputstream.h:
1417 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1418 read_until with multiple stop chars.
1420 2007-11-27 Alexander Larsson <alexl@redhat.com>
1424 * inotify/Makefile.am:
1425 Use the user-specified giomoduledir
1427 2007-11-27 Alexander Larsson <alexl@redhat.com>
1431 Add catch-all gio.h header
1432 Don't install gdummyfile.h
1434 2007-11-26 Alexander Larsson <alexl@redhat.com>
1436 * Makefile.am (gioinclude_HEADERS):
1437 Remove trailing whitespace
1439 2007-11-26 Alexander Larsson <alexl@redhat.com>
1441 Merge gio-standalone into glib
1443 2007-11-25 Christian Kellner <gicmo@gnome.org>
1445 * gio/goutputstream.c:
1446 Fix small mistake in the docs.
1448 2007-11-21 Christian Persch <chpe@gnome.org>
1450 * gio/glocalfile.c: (g_local_file_trash):
1451 Convert filenames to UTF-8 for GError.
1452 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1453 as per xdg base dir spec.
1455 2007-11-21 Christian Persch <chpe@gnome.org>
1457 * gio/gdesktopappinfo.c:
1458 Use that g_key_file_to_data cannot fail.
1460 Use stock defines for the key file group and key names.
1463 2007-11-21 Alexander Larsson <alexl@redhat.com>
1466 (copy_stream_with_progress):
1467 Make sure we do a final progress callback with
1468 the full total size.
1470 2007-11-21 Alexander Larsson <alexl@redhat.com>
1473 Export g_file_copy_attributes
1474 Remove padding as its not needed for interfaces
1476 2007-11-20 Alexander Larsson <alexl@redhat.com>
1481 Add G_IO_ERROR_WOULD_MERGE for
1482 copy/move dir on dir with overwrite.
1484 2007-11-20 Alexander Larsson <alexl@redhat.com>
1487 * gio/glocalfileinfo.c:
1488 Add COPY_NAME (this is an optional
1489 non-modified utf8 version of the name) that
1492 2007-11-20 Alexander Larsson <alexl@redhat.com>
1494 * gio/glocalfileenumerator.c:
1495 Report errors as GIOError, not GFileError
1497 2007-11-16 Alexander Larsson <alexl@redhat.com>
1499 * gio/glocalfileoutputstream.c:
1500 * gio/gwin32appinfo.c:
1501 Fix typos in strings.
1502 Patch from Luca Ferretti <elle.uca@libero.it>
1504 2007-11-15 Alexander Larsson <alexl@redhat.com>
1507 Post release version bump
1509 === gio-standalone 0.1.2 ===
1511 2007-11-15 Alexander Larsson <alexl@redhat.com>
1513 * docs/reference/gio/Makefile.am:
1514 Fix up distcheck by removing weird
1520 2007-11-14 Alexander Larsson <alexl@redhat.com>
1522 * gio/gdesktopappinfo.c:
1523 * gio/glocaldirectorymonitor.c:
1525 * gio/glocalfileinfo.c:
1526 * gio/inotify/inotify-sub.c:
1527 * programs/gio-cat.c:
1528 * programs/gio-copy.c:
1529 * programs/gio-info.c:
1530 * programs/gio-ls.c:
1531 * programs/gio-monitor-dir.c:
1532 * programs/gio-monitor-file.c:
1533 * programs/gio-mount.c:
1534 * programs/gio-move.c:
1535 * programs/gio-rm.c:
1536 * programs/gio-save.c:
1537 * programs/gio-trash.c:
1538 Leak fixes from Kjartan Maraas
1540 2007-11-14 Alexander Larsson <alexl@redhat.com>
1542 * gio/fam/fam-helper.c:
1544 * gio/glocalfileinfo.c:
1548 * gio/inotify/inotify-diag.c:
1549 * gio/inotify/inotify-kernel.c:
1550 Various code cleanups from Kjartan Maraas
1552 2007-11-14 Alexander Larsson <alexl@redhat.com>
1554 * gio/gioscheduler.c:
1556 Set up threadpool so that we cache 2 unused
1557 idle threads for at 15 secs. This means we
1558 will reuse thread-local data (like dbus connections)
1561 2007-11-14 Alexander Larsson <alexl@redhat.com>
1563 * gio/fam/fam-helper.c:
1564 * gio/fam/gfamdirectorymonitor.c:
1565 * gio/fam/gfamfilemonitor.c:
1567 * gio/gcontenttype.c:
1568 * gio/gdatainputstream.c:
1569 * gio/gdataoutputstream.c:
1573 * gio/gfileattribute.h:
1574 * gio/gfileenumerator.c:
1576 * gio/ginputstream.c:
1579 * gio/glocalfileinfo.c:
1580 * gio/goutputstream.c:
1581 * gio/gpollfilemonitor.c:
1582 * gio/gsimpleasyncresult.c:
1583 * gio/gunixmounts.c:
1584 * gio/gunixmounts.h:
1585 * gio/inotify/ginotifydirectorymonitor.c:
1586 * gio/inotify/ginotifyfilemonitor.c:
1587 * gio/inotify/inotify-diag.c:
1588 * gio/inotify/inotify-kernel.c:
1589 * gio/inotify/inotify-path.c:
1591 * gio/test-streams.c:
1592 * programs/gio-info.c:
1593 * programs/gio-monitor-dir.c:
1594 * programs/gio-monitor-file.c:
1595 Various code cleanups from Kjartan Maraas
1597 2007-11-13 Alexander Larsson <alexl@redhat.com>
1600 Handle the uri-scheme calls for dummy files
1602 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1604 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1605 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1606 to avoid clash with the C++ keyword.
1608 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1610 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1611 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1613 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1615 * gio/glocaldirectorymonitor.c:
1616 * gio/glocalfilemonitor.c:
1617 * gio/gunionvolumemonitor.c:
1618 Don't use g_once_init_*() for initializations that could fail and
1619 could leave the initialization variable set to 0 but use GOnce.
1620 This prevents a deadlock on the second call when trying to create
1621 a monitor and no monitor type is available. Thanks to Sven Herzberg
1624 2007-11-11 Sven Herzberg <sven@imendio.com>
1626 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1627 #ifdef (make it work on MacOS X again)
1629 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1631 Fixes Changelog for last two commits (sorry guys).
1633 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1635 * gio/gbufferedinputstream.c:
1636 * gio/gdatainputstream.c:
1638 * gio/gfileoutputstream.c:
1639 * gio/gfilterinputstream.c:
1640 * gio/glocalfileinputstream.c:
1643 More consistency fixes in g*stream.c files.
1644 Significant clean of gfile's documentation, filling in of
1645 asynchronous operations documentation.
1647 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1649 * gio/gasyncresult.c:
1650 * gio/gbufferedinputstream.c:
1651 * gio/gbufferedoutputstream.c:
1652 * gio/gcancellable.c:
1653 * gio/gcontenttype.c:
1654 * gio/gdatainputstream.c:
1655 * gio/gdataoutputstream.c:
1656 * gio/gdesktopappinfo.c:
1659 * gio/gfileattribute.c:
1660 * gio/gio/gfileenumerator.c:
1662 * gio/gfileinputstream.c:
1663 * gio/gfilemonitor.c:
1664 * gio/gfileoutputstream.c:
1665 * gio/ginputstream.c:
1667 * gio/gioscheduler.c:
1668 * gio/gloadableicon.c:
1669 * gio/glocalfileoutputstream.c:
1670 * gio/gmemoryoutputstream.c:
1671 * gio/gmountoperation.c:
1672 * gio/goutputstream.c:
1674 * gio/gsimpleasyncresult.c:
1675 * gio/gunionvolumemonitor.c:
1676 * gio/gunixmounts.c:
1677 * gio/gunixvolume.c:
1681 * gio/gvolumemonitor.c:
1682 Updated documentation stubs, working towards consistency and
1685 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1687 * gio/gmemoryoutputstream.c:
1688 * gio/gmemoryoutputstream.h:
1689 Change g_memory_output_stream_set_free_on_close() to
1690 g_memory_output_stream_set_free_data() as this makes more sense and
1691 is more consistent with GMemoryInputStream.
1693 2007-11-07 Alexander Larsson <alexl@redhat.com>
1700 Change how we find the default vfs so that
1701 we can handle a gvfs failing to init
1703 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1705 * gio/gbufferedoutputstream.c:
1706 * gio/gdatainputstream.c:
1707 * gio/gdataoutputstream.c:
1708 * gio/gfileinputstream.c:
1709 * gio/gfileoutputstream.c:
1710 * gio/gfilterinputstream.c:
1711 * gio/gfilteroutputstream.c:
1712 * gio/ginputstream.c:
1713 * gio/gmemoryinputstream.c:
1714 * gio/gmemoryoutputstream.c:
1715 * gio/goutputstream.c:
1716 * gio/gsimpleasyncresult.c:
1717 * gio/gsocketinputstream.c:
1718 * gio/gsocketoutputstream.c:
1719 Add guards to the remaining public functions, add a TODO for
1720 an unimplemented function and remove some useless guards.
1722 2007-11-07 Alexander Larsson <alexl@redhat.com>
1725 Autoconf checks for the various types of
1726 getpwuid_r and getgrgid_r
1728 * gio/glocalfileinfo.c:
1729 Use the autoconf checks from above
1731 2007-11-07 Alexander Larsson <alexl@redhat.com>
1734 (g_local_file_query_filesystem_info):
1735 Some fixes for the statvfs case
1737 2007-11-07 Alexander Larsson <alexl@redhat.com>
1740 (g_local_file_query_filesystem_info):
1741 Pick the "best" of statfs / statvfs for the system
1742 if both are availible.
1744 2007-11-07 Alexander Larsson <alexl@redhat.com>
1746 Solaris fixes from Halton.Huo@Sun.COM:
1753 * gio/glocalfileinfo.c:
1754 Fix for solaris definition of getpwuid_r
1756 * gio/test-streams.c:
1757 Use G_GNUC_PRETTY_FUNCTION
1759 2007-11-07 Alexander Larsson <alexl@redhat.com>
1761 * gio/gdesktopappinfo.c:
1762 (update_default_list):
1763 Remove double semicolon.
1764 Patch from Jens Granseuer
1766 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1768 * docs/reference/gio/gio-sections.txt:
1769 * gio/gbufferedinputstream.c:
1770 * gio/gbufferedinputstream.h:
1771 * gio/gdatainputstream.c:
1772 * gio/gfileenumerator.c:
1773 * gio/gioscheduler.c:
1774 * gio/gunionvolumemonitor.c:
1776 * programs/gio-save.c:
1777 Fix typo: availible -> available. Unfortuntely this breaks API
1778 and ABI as g_buffered_input_stream_get_available() was renamed.
1780 * gio/gunixmounts.c:
1781 * gio/gbufferedinputstream.c:
1782 Add guards for public functions.
1784 2007-11-06 Ross Burton <ross@openedhand.com>
1786 * docs/reference/gio/Makefile.am:
1787 Fix invalid += usage which automake 1.10 doesn't like.
1789 2007-11-06 Alexander Larsson <alexl@redhat.com>
1792 (g_app_launch_context_class_init):
1795 Patch from Ross Burton
1797 2007-11-06 Alexander Larsson <alexl@redhat.com>
1800 Post release version bump
1802 === gio-standalone 0.1.1 ===
1804 2007-11-06 Alexander Larsson <alexl@redhat.com>
1807 Bump version to 0.1.1
1809 * gio/gsimpleasyncresult.c:
1810 (g_simple_async_result_set_from_error):
1811 Remove bogus g_return_if_fail
1813 2007-11-06 Alexander Larsson <alexl@redhat.com>
1816 The name is gio-standalone
1819 Add top src/builddir to includedir
1821 2007-11-06 Alexander Larsson <alexl@redhat.com>
1823 * docs/reference/gio/gio-sections.txt:
1825 * gio/gbufferedinputstream.c:
1826 * gio/gbufferedoutputstream.c:
1827 * gio/gcancellable.c:
1828 * gio/gdatainputstream.h:
1829 * gio/gdataoutputstream.c:
1830 * gio/gdataoutputstream.h:
1831 * gio/gdirectorymonitor.c:
1833 * gio/gfileattribute.c:
1834 * gio/gfileattribute.h:
1835 * gio/gfileenumerator.c:
1836 * gio/gfileenumerator.h:
1839 * gio/gfileinputstream.h:
1840 * gio/gfilemonitor.c:
1841 * gio/gfileoutputstream.h:
1842 * gio/glocalfilemonitor.h:
1843 * gio/glocalfileoutputstream.h:
1844 * gio/gmemoryinputstream.c:
1845 * gio/gmemoryoutputstream.c:
1846 * gio/gmountoperation.c:
1847 * gio/goutputstream.c:
1848 * gio/goutputstream.h:
1850 * gio/gsimpleasyncresult.c:
1851 * gio/gunixmounts.c:
1852 * gio/gunixmounts.h:
1854 * gio/inotify/inotify-helper.c:
1855 Fix gtk-doc warnings
1857 Patch from Ross Burton
1859 2007-11-06 Alexander Larsson <alexl@redhat.com>
1861 * gio/gfilenamecompleter.c:
1862 (g_filename_completer_get_completions):
1865 * gio/gunixvolume.c:
1866 Remove unused function
1868 Patches from Ross Burton
1870 2007-11-06 Alexander Larsson <alexl@redhat.com>
1875 Padding not needed for interfaces
1877 2007-11-06 Alexander Larsson <alexl@redhat.com>
1879 * gio/gfilemonitor.c:
1883 Make giotypes.h an internal file
1886 * gio/gbufferedinputstream.h:
1887 * gio/gbufferedoutputstream.h:
1888 * gio/gcancellable.h:
1889 * gio/gdatainputstream.h:
1890 * gio/gdataoutputstream.h:
1891 * gio/gdirectorymonitor.c:
1892 * gio/gdirectorymonitor.h:
1897 * gio/gfileattribute.h:
1898 * gio/gfileenumerator.h:
1903 * gio/gfilemonitor.c:
1904 * gio/gfilemonitor.h:
1905 * gio/gfilenamecompleter.c:
1906 * gio/gfilenamecompleter.h:
1907 * gio/gfilterinputstream.h:
1908 * gio/gfilteroutputstream.h:
1909 * gio/ginputstream.h:
1910 * gio/gmemoryinputstream.h:
1911 * gio/gmemoryoutputstream.h:
1912 * gio/gmountoperation.c:
1913 * gio/gmountoperation.h:
1914 * gio/gnativevolumemonitor.c:
1915 * gio/goutputstream.h:
1918 * gio/gsimpleasyncresult.c:
1919 * gio/gsimpleasyncresult.h:
1920 * gio/gsocketinputstream.h:
1921 * gio/gsocketoutputstream.h:
1922 * gio/gthemedicon.c:
1923 * gio/gthemedicon.h:
1927 * gio/gvolumemonitor.c:
1928 * gio/gvolumemonitor.h:
1929 Add padding in classes where it seems useful
1930 Don't include giotypes.h from public headers
1931 Move in Class definitions into c file where possible
1936 2007-11-06 Alexander Larsson <alexl@redhat.com>
1938 * docs/reference/gio/gio-docs.xml:
1939 Better structure for API docs
1941 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1944 * gio/gloadableicon.c:
1945 * gio/gsimpleasyncresult.c:
1946 * gio/gthemedicon.c:
1947 Add some more guards to public functions. Only files missing are now
1950 2007-11-06 Alexander Larsson <alexl@redhat.com>
1952 * docs/reference/gio/gio-docs.xml:
1953 Remove old files, add missing ones
1955 2007-11-06 Alexander Larsson <alexl@redhat.com>
1957 * docs/reference/gio/gio-sections.txt:
1960 Hide implementation classes
1962 * gio/gdriveprivate.h:
1963 * gio/gvolumeprivate.h:
1964 Remove non-existing function declarations
1966 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1969 Fix compilation warnings and add guards to the new functions.
1971 * gio/gasyncresult.c:
1973 Add guards to the public functions.
1976 Implement get_path().
1978 2007-11-06 Alexander Larsson <alexl@redhat.com>
1980 * gio/gfilenamecompleter.c:
1981 Make g_filename_completer_get_completions
1982 return char ** instead of GList for
1985 * docs/reference/gio/gio-docs.xml:
1986 * docs/reference/gio/gio-sections.txt:
1988 * gio/gasyncresult.c:
1989 * gio/gbufferedinputstream.c:
1990 * gio/gbufferedoutputstream.c:
1991 * gio/gcancellable.c:
1992 * gio/gcontenttype.c:
1993 * gio/gdatainputstream.c:
1994 * gio/gdataoutputstream.c:
1995 * gio/gdesktopappinfo.c:
1996 * gio/gdirectorymonitor.c:
2000 * gio/gfileattribute.c:
2001 * gio/gfileenumerator.c:
2004 * gio/gfileinputstream.c:
2005 * gio/gfilemonitor.c:
2006 * gio/gfilenamecompleter.c:
2007 * gio/gfilenamecompleter.h:
2008 * gio/gfileoutputstream.c:
2009 * gio/gfilterinputstream.c:
2011 * gio/ginputstream.c:
2013 * gio/gioscheduler.c:
2014 * gio/gloadableicon.c:
2015 * gio/glocaldirectorymonitor.c:
2017 * gio/glocalfileinputstream.c:
2018 * gio/glocalfilemonitor.c:
2019 * gio/glocalfileoutputstream.c:
2021 * gio/gmemoryinputstream.c:
2022 * gio/gmemoryoutputstream.c:
2023 * gio/gmountoperation.c:
2024 * gio/goutputstream.c:
2025 * gio/gpollfilemonitor.c:
2027 * gio/gsimpleasyncresult.c:
2028 * gio/gsocketinputstream.c:
2029 * gio/gsocketoutputstream.c:
2030 * gio/gthemedicon.c:
2031 * gio/gunionvolumemonitor.c:
2033 * gio/gunixmounts.c:
2034 * gio/gunixvolume.c:
2035 * gio/gunixvolumemonitor.c:
2039 * gio/gvolumemonitor.c:
2040 * gio/gwin32appinfo.c:
2041 Add (mostly stub) doc strings to public functions.
2042 Patch from Andrew Walton (awalton@gmail.com)
2044 2007-11-06 Alexander Larsson <alexl@redhat.com>
2046 * gio/gappinfo.[ch]:
2047 Added GAppLaunchContext object and pass that to launch.
2048 This allows simple implementation of both
2049 launch-on-screen and startup notification via a gtk+
2050 subclass of GAppLaunchContext
2052 * gio/gdesktopappinfo.c:
2053 Implement GAppLaunchContext API
2055 * gio/gwin32appinfo.c:
2058 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2060 * gio/gmountoperation.c:
2061 Add some guards to GMountOperation's public functions.
2063 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2067 * gio/gcancellable.c:
2068 * gio/gdirectorymonitor.c:
2070 * gio/gfileenumerator.c:
2071 * gio/gfilemonitor.c:,
2072 * gio/gfilenamecompleter.c:
2075 * gio/gioscheduler.c:
2079 * gio/gvolumemonitor.c:
2080 Add even more guards to various public functions.
2082 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2085 Add guards to the public functions of GAppInfo.
2087 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2089 * gio/gcontenttype.c:
2090 Add some more guards for public functions.
2092 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2094 * gio/fam/fam-module.c:
2095 * gio/fam/gfamdirectorymonitor.c:
2096 * gio/fam/gfamdirectorymonitor.h:
2097 * gio/fam/gfamfilemonitor.c:
2098 * gio/fam/gfamfilemonitor.h:
2099 * gio/inotify/ginotifydirectorymonitor.c:
2100 * gio/inotify/ginotifydirectorymonitor.h:
2101 * gio/inotify/ginotifyfilemonitor.c:
2102 * gio/inotify/ginotifyfilemonitor.h:
2103 Add proper copyright information and remove an unused variable
2104 in the GInotifyFileMonitor constructor.
2106 * gio/gcancellable.c:
2107 Add a guard for a public function and an assertion to prevent
2108 an undefined program state.
2110 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2112 * gio/gfileattribute.c:
2113 Don't run into an assertion if the given attribute value is NULL
2114 in g_file_attribute_value_get_*() but instead return a fallback
2115 value that makes sense in most situations. Passing them a attribute
2116 value with the wrong type will still run into an assertion.
2118 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2120 * gio/gfileattribute.c:
2122 Add even more guards to the public functions. Also fix the refcounting
2123 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2124 let g_file_info_list_attributes() filter the attributes by namespace
2125 instead of simply ignoring the namespace parameter.
2127 2007-11-03 Sven Herzberg <sven@imendio.com>
2129 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2130 (This makes gio work on MacOS X again)
2132 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2135 Build the gio subdirectory before the docs. Otherwise the build will
2138 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2139 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2140 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2141 Add guards to the public functions.
2143 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2145 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2146 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2147 to prevent a compiler warning.
2149 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2150 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2151 return something in the non-void function find_topdir_for().
2153 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2160 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2162 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2163 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2164 * gwin32appinfo.c (g_win32_app_info_launch):
2165 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2166 envp_for_startup_id, g_desktop_app_info_launch,
2167 g_desktop_app_info_launch_uris):
2169 Give an opaque 'startup_id' string instead of 'envp'.
2170 Support empty file lists for launching new windows.
2171 Fix infinite recursion bug when launching URIs.
2173 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2176 Add guard to the new g_file_get_uri_scheme() function.
2178 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2181 Convert a g_return_val_if_fail() to setting the GError instead as
2182 otherwise applications have to verify the parameter before otherwise
2183 and the parameter might come directly from the user.
2185 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2187 * gio/inotify/ginotify*.[ch]:
2188 Add missing copyright information.
2190 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2193 Add guards in the beginning of public functions to check for valid
2194 parameters and fix a bug in copy_stream_with_progress() that could've
2195 caused writing less bytes than reading.
2196 * gio/glocalfileinfo.c:
2197 Check for a NULL parameter and set the GError accordingly then.
2198 * gio/goutputstream.c:
2199 Fix the same bug as in gfile.c that could've caused writing less bytes
2200 than reading in g_output_stream_real_splice().
2202 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2205 Use the correct gvolumeprivate.h naming
2207 2007-11-01 Christian Kellner <gicmo@gnome.org>
2210 Remove leftover "$(daemon_sources)" entry.
2212 2007-11-01 Christian Kellner <gicmo@gnome.org>
2217 Add copyright information to source files.
2219 2007-11-01 Alexander Larsson <alexl@redhat.com>
2223 Add g_file_get_uri_scheme
2225 2007-11-01 Alexander Larsson <alexl@redhat.com>
2228 * gio/gdesktopappinfo.c:
2229 * gio/gwin32appinfo.c:
2230 Add g_app_info_get_default_for_uri_scheme.
2232 2007-11-01 Alexander Larsson <alexl@redhat.com>
2235 Correct filename for gdriveprivate.h
2237 2007-10-31 Alexander Larsson <alexl@redhat.com>
2240 Rename id:value to id:file
2243 * gio/glocalfileinfo.c:
2246 2007-10-31 Alexander Larsson <alexl@redhat.com>
2248 * gio/gunixvolume.c:
2250 Remove g_volume_get_platform_id, as thats not
2251 needed with the simpler union volume monitor
2253 2007-10-31 Alexander Larsson <alexl@redhat.com>
2256 * gio/guniondrive.[ch]: Removed.
2257 * gio/gunionvolume.[ch]: Removed.
2258 Remove GUnionDrive/Volume
2260 * gio/gunionvolumemonitor.c:
2261 Simplify union volume monitor, now we
2262 only have one native volume monitor and
2263 we use the actual volumes/drives from the
2264 child monitors instead of wrapping them
2266 * gio/gnativevolumemonitor.[ch]:
2267 Base class for native volume monitors.
2268 Includes priority and get_volume_for_mountpoint
2271 Add g_file_find_enclosing_volume
2274 Remove volume name fs attribute
2275 Add readonly fs attribute
2278 Implement readonly attribute
2279 remove volume name attribute
2280 Implement find_enclosing volume
2282 * gio/gunixmounts.c:
2283 Add a volume for "/".
2285 * gio/gunixvolume.[ch]:
2286 Set better name for /
2288 * gio/gunixvolumemonitor.[ch]:
2289 Derive from GNativeVolumeMonitor
2290 Implement get_volume_for_mountpoint
2293 GVolume typedef moved to gfile.h
2295 * gio/gvolumeprivate.h:
2296 Add g_volume_get_for_mount_path
2298 2007-10-31 Alexander Larsson <alexl@redhat.com>
2300 * gio/gunixmounts.[ch]:
2301 Add cache info to unix mount listers
2302 Make getmntent use threadsafe
2303 Add is_system_internal attribute for GUnixMount
2305 * gio/gunixvolume.c:
2306 (g_unix_volume_new):
2307 Use is_system_internal instead of own code
2309 * gio/glocaldirectorymonitor.c:
2310 * gio/gunixvolumemonitor.c:
2311 Update to new gunixmounts API
2316 2007-10-30 Alexander Larsson <alexl@redhat.com>
2319 Add volume name fsinfo attribute
2322 Read volume name info
2324 * gio/gunionvolumemonitor.c:
2325 Fix infinite loops when finalizing a union volume monitor
2327 2007-10-30 Alexander Larsson <alexl@redhat.com>
2329 * gio/goutputstream.[ch]:
2330 Add splice() with default implementation
2332 * gio/gsocketoutputstream.c:
2333 (g_socket_output_stream_write):
2334 Return error on cancellation correctly.
2336 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2338 * gio/glocalfile.c (g_local_file_trash):
2339 Do not leak a string.
2341 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2343 * gio/gfile.c (g_file_load_contents):
2344 Unref the stream after closing it.
2346 2007-10-25 Alexander Larsson <alexl@redhat.com>
2348 * gio/gioscheduler.h:
2351 2007-10-25 Alexander Larsson <alexl@redhat.com>
2355 Add g_file_has_uri_scheme and implement for local files
2357 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2359 * gio/gdesktopappinfo.c: do not leak a string.
2361 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2363 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2364 (g_local_directory_monitor_new):
2365 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2366 (g_local_file_monitor_new):
2367 Only look for the monitor type that should be used the first time
2368 and use g_qsort_with_data() instead of our own bubble sort
2371 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2374 * gio/fam/Makefile.am:
2375 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2376 * gio/fam/fam-helper.h:
2377 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2378 * gio/fam/gfamdirectorymonitor.c:
2379 * gio/fam/gfamdirectorymonitor.h:
2380 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2381 * gio/fam/gfamfilemonitor.h:
2382 * gio/glocaldirectorymonitor.c:
2383 * gio/glocaldirectorymonitor.h:
2384 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2385 * gio/glocalfilemonitor.h:
2386 * gio/inotify/Makefile.am:
2387 * gio/inotify/ginotifydirectorymonitor.c:
2388 * gio/inotify/ginotifydirectorymonitor.h:
2389 * gio/inotify/ginotifyfilemonitor.c:
2390 * gio/inotify/ginotifyfilemonitor.h:
2391 Implement the FAM and Inotify monitors as
2392 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2393 their own GIO module. GLocal(Directory|File)Monitor will use the
2394 monitor with the highest rank that is supported on that machine.
2396 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2399 Change GIO module dir to $(libdir)/gio/modules and change
2400 the log domain from GVFS to GIO. Also only export symbols starting
2401 with g_ in the resulting library.
2402 * gio/test-streams.c: (main):
2403 Set log handler for the GIO log domain.
2405 2007-10-22 Alexander Larsson <alexl@redhat.com>
2407 * gio/gfilenamecompleter.[ch]:
2408 Add g_filename_completer_set_dirs_only
2410 2007-10-22 Alexander Larsson <alexl@redhat.com>
2413 * gio/gurifuncs.[ch]:
2414 Add some simple URI helpers
2416 * gio/gfilenamecompleter.[ch]:
2417 Added object for filename (parse name actually) completion
2420 Handle ~ in parse names
2422 2007-10-17 Alexander Larsson <alexl@redhat.com>
2425 * gio/glocalfileinfo.c:
2426 Add and implement id:value attribute
2428 2007-10-17 Alexander Larsson <alexl@redhat.com>
2431 * gio/guniondrive.c:
2433 Add and implement g_drive_has_volumes
2435 2007-10-17 Alexander Larsson <alexl@redhat.com>
2438 * gio/glocalfileinfo.[ch]:
2439 Add unix:is_mountpoint and implement for local files
2441 2007-10-16 Alexander Larsson <alexl@redhat.com>
2443 * gio/gunionvolumemonitor.c:
2444 (g_union_volume_monitor_init):
2445 Fix up the unix type getting so that it works with gcc
2447 2007-10-12 Alexander Larsson <alexl@redhat.com>
2450 * gio/glocalfileinfo.c:
2451 Add thumbnail:failed to file info
2453 2007-10-12 Richard Hult <richard@imendio.com>
2455 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2456 optimizing away the get_type call (happens with some gcc versions,
2457 like the one shipped with OS X 10.4).
2459 2007-10-12 Alexander Larsson <alexl@redhat.com>
2461 * gio/glocalfileinfo.c:
2462 (_g_local_file_info_set_attribute):
2463 Fix build if not HAVE_XATTR
2464 Patch from Milosz Derezynski <internalerror@gmail.com>
2466 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2468 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2469 around for review, otherwise I would have asked you before
2472 2007-10-11 Alexander Larsson <alexl@redhat.com>
2475 Add thumbnail:path attribute
2477 * gio/glocalfileinfo.c:
2478 Implement thumbnail:path for local files
2480 2007-10-11 Alexander Larsson <alexl@redhat.com>
2482 * gio/glocalfileinfo.c:
2483 (_g_local_file_info_get):
2484 Avoid duplicate icon names
2486 2007-10-11 Alexander Larsson <alexl@redhat.com>
2488 * gio/gthemedicon.[ch]:
2489 Change g_themed_icon_get_names return type to const
2491 2007-10-10 Alexander Larsson <alexl@redhat.com>
2493 * gio/glocalfileinfo.c:
2494 Don't reference freed memory
2496 2007-10-10 Alexander Larsson <alexl@redhat.com>
2498 * gio/gfileattribute.c:
2501 * gio/glocalfileinfo.c:
2504 2007-10-10 Alexander Larsson <alexl@redhat.com>
2507 Check for NULL icons
2509 * gio/gfileattribute.c:
2510 Don't dup when getting objects (same as for string attributes)
2512 * gio/gicon.c (g_icon_equal):
2513 Safely handle NULLs in equal
2515 2007-10-10 Alexander Larsson <alexl@redhat.com>
2518 Fix c++ compilation issues
2519 Patch from Milosz Derezynski <internalerror@gmail.com>
2521 2007-10-10 Alexander Larsson <alexl@redhat.com>
2523 * programs/gio-monitor-dir.c:
2524 Don't crash if dir monitor not supported.
2526 2007-10-09 Alexander Larsson <alexl@redhat.com>
2529 Add missing G_END_DECLS
2531 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2533 * gio/gfile.c: (g_file_set_display_name),
2534 (g_file_query_settable_attributes),
2535 (g_file_query_writable_namespaces):
2536 Return NULL not FALSE on errors as the return type is a pointer.
2538 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2540 * gio/glocalfile.c: (g_local_file_monitor_file):
2541 Don't call monitor_file on the default interface vtable (which
2542 is NULL) but simply return NULL. The caller, GFile, will create a
2543 polling monitor if NULL is returned.
2545 2007-10-09 Alexander Larsson <alexl@redhat.com>
2549 * gio-unix-2.0.pc.in:
2550 Add gio-unix-2.0.pc if OS_UNIX
2553 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2555 2007-10-09 Alexander Larsson <alexl@redhat.com>
2557 * gio/gunixmounts.[ch]:
2558 Make unix mount monitoring API sane.
2559 Now its just a object with mounts_changed
2560 and mountpoints_changed signals.
2562 * gio/glocaldirectorymonitor.c:
2563 * gio/gunixvolumemonitor.c:
2564 Use new mount monitor api
2566 2007-10-09 Alexander Larsson <alexl@redhat.com>
2568 * gio/gunixmounts.[ch]:
2569 Move guess type into one call for mounts and one for mountpoints
2572 * gio/gunixvolume.c:
2575 2007-10-09 Alexander Larsson <alexl@redhat.com>
2577 * gio/gunixmounts.[ch]:
2578 Remove _ prefix in preparation to make this semi-public
2579 Hide implementation of structs
2581 * gio/glocaldirectorymonitor.c:
2583 * gio/gunixvolume.c:
2584 * gio/gunixvolumemonitor.c:
2585 Update for above API changes
2587 2007-10-08 Alexander Larsson <alexl@redhat.com>
2590 Better polling fallback. This also handles the case where we have
2591 a monitor_file implementation, but it fails.
2593 2007-10-08 Alexander Larsson <alexl@redhat.com>
2597 * gio/gunixmounts.c:
2598 * programs/gio-monitor-dir.c:
2599 * programs/gio-monitor-file.c:
2600 Added cancellable to file monitoring calls.
2601 These are really sync calls and need this.
2603 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2605 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2606 (g_local_vfs_class_init):
2607 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2608 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2610 2007-10-05 Alexander Larsson <alexl@redhat.com>
2612 * gio/gdirectorymonitorprivate.h:
2613 * gio/gfilemonitorprivate.h:
2614 * gio/gdirectorymonitor.h:
2615 * gio/gfilemonitor.h:
2616 Remove *private.h and move to the public API, so that
2617 we can do implementations outside gio (such as in gvfs)
2619 * gio/gdirectorymonitor.c:
2620 * gio/gfilemonitor.c:
2621 * gio/glocaldirectorymonitor.c:
2622 * gio/gpollfilemonitor.c:
2623 * gio/inotify/inotify-helper.c:
2624 * gio/fam/fam-helper.c:
2625 Update to the new header names
2627 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2629 * gio/gdirectorymonitor.c:
2630 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2633 2007-10-04 Alexander Larsson <alexl@redhat.com>
2635 * gio/glocalfileinfo.c (get_access_rights):
2636 Set CAN_TRASH when we can move the file.
2637 We should really also check for a parent trash dir.
2639 2007-10-04 Alexander Larsson <alexl@redhat.com>
2641 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2642 Add can_trash access attribute
2644 2007-10-04 Alexander Larsson <alexl@redhat.com>
2647 (g_local_file_trash):
2648 Create info file first. This is per-spec and allows
2649 us to actually trash directories.
2651 2007-10-02 Alexander Larsson <alexl@redhat.com>
2653 * gio/gdesktopappinfo.c:
2654 Implement the new mime support code.
2655 Always set app as handling mimetype when being set as default for it
2657 2007-10-01 Alexander Larsson <alexl@redhat.com>
2659 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2660 Fix up check for xattrs:
2662 2007-10-01 Alexander Larsson <alexl@redhat.com>
2665 (g_app_info_set_as_default_for_extension):
2666 (g_app_info_add_supports_type):
2667 (g_app_info_can_remove_supports_type):
2668 (g_app_info_remove_supports_type):
2669 Make these fail nicely if not implemented
2671 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2673 * gio/glocalfileoutputstream.c:
2674 * gio/glocalfileoutputstream.h:
2679 * programs/gio-save.c:
2680 Add a GFileCreateFlags argument to operations that can create
2683 2007-10-01 Alexander Larsson <alexl@redhat.com>
2685 * gio/gappinfo.[ch]:
2686 * gio/gdesktopappinfo.c:
2687 Add more (stubbed out) mime API needed for nautilus
2689 2007-10-01 Alexander Larsson <alexl@redhat.com>
2692 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2693 Add g_app_info_set_as_default_for_extension.
2695 * gio/gdesktopappinfo.c:
2696 Dummy for g_app_info_set_as_default_for_extension
2697 Support flags in g_app_info_create_from_commandline
2699 * gio/gwin32appinfo.c:
2701 Update for API changes
2703 * gio/gthemedicon.c:
2704 Properly NULL-terminate list of icon names
2706 2007-09-28 Alexander Larsson <alexl@redhat.com>
2708 * gio/gloadableicon.h:
2709 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2711 2007-09-28 Alexander Larsson <alexl@redhat.com>
2714 Install headers in $includedir/gio-standalone/
2716 * gio-2.0.pc.in: Added.
2717 * gio-standalone.pc.in: Removed.
2720 Renamed pkg-config file to match glib (for future move)
2721 Update to the new include dir
2724 Add more TODO comments
2726 2007-09-28 Alexander Larsson <alexl@redhat.com>
2728 * gio/gdesktopappinfo.[ch]:
2729 Expose new_from_filename
2730 Add getter for is_hidden and handle it better
2732 2007-09-28 Alexander Larsson <alexl@redhat.com>
2734 * gio/gfileinfo.[ch]:
2735 Rename g_file_size_format_for_display to
2736 g_format_file_size_for_display.
2737 Now it doesn't have the g_file prefix, so we
2738 can later move it to glib.
2740 2007-09-28 Alexander Larsson <alexl@redhat.com>
2742 * gio/gappinfo.[ch]:
2743 Add g_app_info_get_id and g_app_info_get_executable.
2744 Make all getters non-reffing
2745 Make g_app_info_launch take GFile arguments.
2746 Add must_support_uris argument to g_app_info_get_default_for_type.
2748 * gio/gwin32appinfo.c:
2749 Update to GAppInfo api changes
2751 * gio/gdesktopappinfo.c:
2752 Update to GAppInfo api changes
2753 Implement supports_xdg_startup_notify
2755 * gio/gfileicon.c (g_file_icon_get_file):
2756 Make getter non-reffing.
2761 2007-09-27 Alexander Larsson <alexl@redhat.com>
2763 * gio/gfileinfo.[ch]:
2764 Add g_file_size_format_for_display helper
2766 2007-09-27 Alexander Larsson <alexl@redhat.com>
2768 * gio/glocalfileinfo.c:
2769 Set UNIX_GID from gid, not from uid
2771 2007-09-27 Alexander Larsson <alexl@redhat.com>
2774 Add g_file_set_attributes_async
2776 2007-09-27 Alexander Larsson <alexl@redhat.com>
2778 * gio/glocalfile.c (g_local_file_set_display_name):
2779 Fix set_display_name to actually rename to the right place.
2780 Use lstat to look for existing files so we don't overwrite
2783 2007-09-26 Alexander Larsson <alexl@redhat.com>
2786 Add g_file_set_display_name_async()
2788 2007-09-26 Alexander Larsson <alexl@redhat.com>
2791 Add load_partial_contents async calls
2794 Make internal function static
2796 2007-09-26 Alexander Larsson <alexl@redhat.com>
2798 * gio/glocalfileinfo.c:
2799 Correctly detect broken symlinks
2801 2007-09-26 Alexander Larsson <alexl@redhat.com>
2803 * gio/gcancellable.c (g_cancellable_cancel):
2804 Allow cancel on NULL cancellable
2806 2007-09-25 Alexander Larsson <alexl@redhat.com>
2808 * gio/gsimpleasyncresult.c:
2809 Don't allocate g_error manually.
2810 Fixes g_slice/g_new mixup crash
2812 2007-09-25 Alexander Larsson <alexl@redhat.com>
2814 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2815 Actually set active_backend.
2816 This means the monitor will be cancelled correctly.
2818 2007-09-25 Alexander Larsson <alexl@redhat.com>
2820 * gio/gdirectorymonitor.c:
2821 Set timeout to NULL when destroying
2823 2007-09-25 Alexander Larsson <alexl@redhat.com>
2826 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2827 that is a better description of the error.
2829 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2831 * gio/gvfs.c: (g_vfs_get_local):
2832 Make the local vfs variable static. The same instance should
2835 2007-09-24 Alexander Larsson <alexl@redhat.com>
2837 * gio/glocalfileinfo.c:
2838 Pass in actual length read into sniffer, not the length
2841 2007-09-21 Alexander Larsson <alexl@redhat.com>
2843 * gio/gfileenumerator.c:
2846 * gio/gfileinputstream.c:
2847 * gio/gfileoutputstream.c:
2848 * gio/ginputstream.c:
2849 * gio/goutputstream.c:
2850 Don't crash if async callbacks are NULL
2852 2007-09-20 Alexander Larsson <alexl@redhat.com>
2855 Add async enumerate_children method and default
2858 2007-09-20 Alexander Larsson <alexl@redhat.com>
2861 Add g_file_contains_file & g_file_get_relative_path, since they
2862 were needed for nautilus.
2863 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2868 Implement new methods
2870 2007-09-17 Alexander Larsson <alexl@redhat.com>
2873 * gio/gfileinputstream.[ch]:
2874 * gio/gfileoutputstream.[ch]:
2876 * gio/glocalfileenumerator.[ch]:
2877 * gio/glocalfileinfo.[ch]:
2878 * gio/glocalfileinputstream.c:
2879 * gio/glocalfileoutputstream.c:
2880 * gio/gpollfilemonitor.c:
2881 * programs/gio-copy.c:
2882 * programs/gio-info.c:
2883 * programs/gio-move.c:
2884 Rename get_file_info to query_info() to make it clearer
2885 that these are not simple getters, but do i/o.
2887 2007-09-17 Alexander Larsson <alexl@redhat.com>
2889 * gio/gdatainputstream.[ch]:
2890 * gio/test-streams.c:
2891 Use _read_XXX instead of _get_XXX for the i/o calls
2894 2007-09-17 Alexander Larsson <alexl@redhat.com>
2897 Added needed stuff to TODO comment
2899 2007-09-17 Alexander Larsson <alexl@redhat.com>
2901 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2902 Don't error out removing the backup copy if it doesn't
2905 2007-09-14 Alexander Larsson <alexl@redhat.com>
2907 * programs/Makefile.am:
2908 * programs/gvfs-*.c:
2910 Renamed apps from gvfs-xxx to gio-xxx.
2912 2007-09-14 Alexander Larsson <alexl@redhat.com>
2915 * gio/gfileoutputstream.[ch]:
2916 * gio/glocalfileoutputstream.c:
2917 * programs/gvfs-save.c:
2918 g_file_output_stream_get_etag doesn't do i/o, so remove
2919 cancellation and error.
2921 2007-09-14 Alexander Larsson <alexl@redhat.com>
2924 Add new_etag output to replace_contents functions
2926 2007-09-14 Alexander Larsson <alexl@redhat.com>
2928 * gio/gfileoutputstream.[ch]:
2929 Add async get_file_info and default implementation
2931 2007-09-14 Alexander Larsson <alexl@redhat.com>
2933 * gio/gfileinputstream.c:
2934 Implement fallback wrapper for async get_file_info
2936 2007-09-14 Alexander Larsson <alexl@redhat.com>
2939 Add etag out argument to load_contents
2944 2007-09-14 Alexander Larsson <alexl@redhat.com>
2946 * gio/gcontenttype.c (looks_like_text):
2947 Whitespace like tab, cr and lf do not make the
2950 2007-09-14 Alexander Larsson <alexl@redhat.com>
2952 * gio/gfileinputstream.[ch]:
2953 Add async get_file_info.
2955 2007-09-13 Alexander Larsson <alexl@redhat.com>
2957 * gio/goutputstream.c (g_output_stream_write_all):
2958 Allow NULL for bytes_written
2960 2007-09-13 Alexander Larsson <alexl@redhat.com>
2962 * gio/gmemoryinputstream.[ch]:
2963 Add accessors for data
2965 2007-09-13 Alexander Larsson <alexl@redhat.com>
2967 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2968 Don't crash if length is NULL