1 2008-01-18 Murray Cumming <murrayc@murrayc.com>
3 * gio/gvolumemonitor.c:
4 (g_volume_monitor_get_connected_drives):
5 (g_volume_monitor_get_volumes):
6 (g_volume_monitor_get_mounts): Documentation:
7 Clarify the ownership of the regurn GLists.
9 2008-01-17 Alexander Larsson <alexl@redhat.com>
12 Add the async find_enclosing_mount version
13 to the header file too.
15 2008-01-17 Alexander Larsson <alexl@redhat.com>
18 Add async version of find_enclosing_mount
19 with default implementation.
21 2008-01-17 Alexander Larsson <alexl@redhat.com>
26 Allow calls to implementation of copy and write
27 even if the type of the file implementations is
28 different. This can be used to implement native
29 upload and download calls in a vfs.
33 Protect against the case where move is called
34 with one file not being local.
36 Make sure we call the progress callback once
37 in the native move operation so that the caller
38 knows how many bytes were copied.
40 2008-01-16 Murray Cumming <murrayc@murrayc.com>
45 * gfileoutputstream.c:
50 * gunixmounts.c: Corrected some typos in the documentation:
52 its -> it's (where appropriate).
54 2008-01-16 Alexander Larsson <alexl@redhat.com>
58 Add g_file_query_exists (#508771)
60 2008-01-15 Murray Cumming <murrayc@murrayc.com>
65 * gvolume.c: For async functions that have no non-async
66 version, document that the GAsyncReadyCallback may be NULL.
69 2008-01-15 Alexander Larsson <alexl@redhat.com>
71 * gmemoryinputstream.c:
72 * gmemoryoutputstream.c:
73 Don't do pointer arithmetic on void * (#508602)
74 Patch from Kazuki IWAMOTO
76 2008-01-14 Matthias Clasen <mclasen@redhat.com>
78 * === Released 2.15.2 ===
80 2008-01-14 Alexander Larsson <alexl@redhat.com>
82 * gfile.c (g_file_monitor_file):
83 Don't set error here, since we fallback to polling monitor.
85 2008-01-14 Alexander Larsson <alexl@redhat.com>
88 (g_file_monitor_directory):
89 (g_file_monitor_file):
90 Add GError to file monitor calls
92 * glocaldirectorymonitor.c:
93 * glocaldirectorymonitor.h:
95 * glocalfilemonitor.c:
96 * glocalfilemonitor.h:
98 Update for above change
100 2008-01-14 Alexander Larsson <alexl@redhat.com>
104 Handle root correctly in g_file_get_relative_path (#508719)
106 2008-01-14 Alexander Larsson <alexl@redhat.com>
109 Clean up docs and example for GAsyncResult (#508074)
111 2008-01-11 Murray Cumming <murrayc@murrayc.com>
113 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
114 and correct some spelling mistakes. Bug #508108.
116 2008-01-11 Matthias Clasen <mclasen@redhat.com>
118 * glocalfileinfo.c: Add a comment.
120 2008-01-10 Murray Cumming <murrayc@murrayc.com>
122 * gfileinfo.c: GFileInfo description: Mention
123 how to actually set attributes in a GFile and how to discover
124 which attributes are settable. Bug #508378.
126 2008-01-10 A. Walton <awalton@svn.gnome.org>
128 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
129 (g_app_info_get_default_for_type):
130 Check for NULL content types.
132 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
134 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
136 2008-01-09 Murray Cumming <murrayc@murrayc.com>
138 * gfile.c: *_async() functions: Several small corrections
139 to the documentation, mostly correcting copy/paste errors
140 and improving some sentences.
142 2008-01-09 Dan Winship <danw@gnome.org>
144 * glocalfile.c (get_unique_filename): x86_64 fix
146 2008-01-09 Alexander Larsson <alexl@redhat.com>
151 Add g_unix_mount_guess_should_display and use
152 for unix volume monitor backend.
153 This means we more or less show what the
154 gnome-vfs backend did.
155 Based on patch from Padraig O'Briain
157 2008-01-09 Alexander Larsson <alexl@redhat.com>
161 Add g_themed_icon_new_with_default_fallbacks
164 Use default fallbacks for icons
166 2008-01-09 Alexander Larsson <alexl@redhat.com>
169 * gmountoperation.[ch]:
170 Change the API a bit so that unhandled methods
171 get reported via the reply, rather than by
172 the signal emission return value. This is because
173 some handlers can't know this immediately without
174 doing I/O, and this is an async operation that
177 2008-01-09 Alexander Larsson <alexl@redhat.com>
180 * fam/gfamdirectorymonitor.c:
181 * fam/gfamfilemonitor.c:
182 Fix double free crash (#508224)
183 Patch from Joe Marcus Clarke
185 008-01-07 Matthias Clasen <mclasen@redhat.com>
187 * === Released 2.15.1 ===
189 2008-01-07 Alexander Larsson <alexl@redhat.com>
191 * gunixinputstream.c (g_unix_input_stream_skip_finish):
192 Fix warning (#507835)
194 2008-01-07 Alexander Larsson <alexl@redhat.com>
197 Pass --internal to glib-genmarshal
202 Use better types for signal arguments (#507822)
204 2008-01-07 Alexander Larsson <alexl@redhat.com>
207 Build test subdir after .
208 Remove gdirectorymonitor.[ch]
210 * gdirectorymonitor.[ch]:
214 Remove GDirectoryMonitor and make
215 GFileMonitor the baseclass for both file and
216 directory monitors. Lift the more generic
217 rate limiting code from GDirectoryMonitor
221 * fam/gfamdirectorymonitor.[ch]:
222 * inotify/ginotifydirectorymonitor.[ch]:
223 * inotify/inotify-helper.c:
224 * glocaldirectorymonitor.[ch]:
227 Update for the removed GDirectoryMonitor.
229 * gmemoryoutputstream.c:
230 Remove ununsed variable
232 2008-01-07 Alexander Larsson <alexl@redhat.com>
234 * gmemoryinputstream.c:
235 Translate error strings
238 * gmemoryoutputstream.[ch]:
239 New implementation that avoids using GByteArray
240 in implementation and API. (#506377)
242 2008-01-06 Matthias Clasen <mclasen@redhat.com>
244 * tests/*: Add a test for memory input streams.
246 * Makefile.am: Add tests to SUBDIRS.
248 2008-01-06 Matthias Clasen <mclasen@redhat.com>
250 * glocalfilemonitor.c:
251 * glocaldirectorymonitor.c: Mark property nicks and blurbs
254 2008-01-06 Matthias Clasen <mclasen@redhat.com>
256 * gdesktopappinfo.c: Fix a docs typo.
258 * gfileattribute.c: Add information about extended attributes
259 to the documentation. (#505058)
261 2008-01-04 Alexander Larsson <alexl@redhat.com>
265 Use the right type (uint) for the ask_password signal.
267 2008-01-04 Alexander Larsson <alexl@redhat.com>
272 Add g_app_info_supports_files()
273 Remove desktop arg from g_app_info_should_show().
275 * gdesktopappinfo.[ch]:
276 Implement g_app_info_supports_files() and new should_show()
277 Add g_desktop_app_info_set_desktop_env() to set the desktop
278 for should_show(). (This will be set by gtk+ later)
280 2008-01-04 Alexander Larsson <alexl@redhat.com>
283 * gmemoryinputstream.[ch]:
284 Improve API so that you can use multiple chunks
285 of memory and custom destroy functions. (#506374)
287 2008-01-03 Alexander Larsson <alexl@redhat.com>
290 Handle NULL attribute matchers safely, as we return this
291 for empty attribute matcher strings.
293 2008-01-03 Alexander Larsson <alexl@redhat.com>
295 * gunixmounts.c (g_unix_is_mount_path_system_internal):
296 Add /usr/local to list of internal mountpoints
298 2008-01-03 Alexander Larsson <alexl@redhat.com>
301 Check for HAVE_LCHOWN (#505887)
303 2008-01-03 Alexander Larsson <alexl@redhat.com>
307 Add define for selinux context attribute.
308 Fix missing : -> :: namespace separator change
309 Fix missing _ -> - name change for xattr-sys.
312 2008-01-03 Alexander Larsson <alexl@redhat.com>
315 Link to libglib and libgobject directly (#504879)
316 Patch from Sebastien Bacher
318 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
320 * gfile.c: Expanded the g_file_new_for_commandline_arg
321 description a bit, based on the code and the docs of the
322 other g_file_new_for_* functions.
324 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
326 * gfilemonitor.h: Fixed typo in docs.
328 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
330 Updates to GIO documentation. (#506395, Mikael Hermansson)
332 * gcontenttype.c: Describe memory management for return value of
333 g_content_types_get_registered(). Missing piece from #505815.
334 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
335 GVolume, GDrive, GMounts, which hopefully gives the user less
336 confusions when using this API. Following explainations from
337 Alexander Larsson on gtk-devel-list.
339 2007-12-30 Matthias Clasen <mclasen@redhat.com>
341 * gfileinfo.c: Expand the long description.
343 2007-12-30 Matthias Clasen <mclasen@redhat.com>
346 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
347 fix builds with --disable-visibility. (#500273, Christian Persch)
349 2007-12-30 Matthias Clasen <mclasen@redhat.com>
351 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
352 in the list of returned app infos.
354 2007-12-30 Matthias Clasen <mclasen@redhat.com>
356 * gappinfo.c: Fix a cross-reference
358 2007-12-30 Matthias Clasen <mclasen@redhat.com>
360 * gfileinputstream.c:
361 * gfileoutputstream.c:
367 * gfileinfo.c: Documentation updates.
369 2007-12-26 Matthias Clasen <mclasen@redhat.com>
371 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
374 2007-12-26 Matthias Clasen <mclasen@redhat.com>
376 * gcontenttype.c (g_content_types_get_registered): Don't return
377 freed memory (#505815, Mikael Hermansson)
379 2007-12-25 Paolo Borelli <pborelli@katamail.com>
381 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
382 used to detect statbuf->st_blocks. (#505042)
384 2007-12-24 Matthias Clasen <mclasen@redhat.com>
386 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
387 environment handling. (#504829, Cosimo Cecchi)
389 2007-12-22 Matthias Clasen <mclasen@redhat.com>
391 * gappinfo.c: Doc improvements
393 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
396 2007-12-20 Matthias Clasen <mclasen@redhat.com>
398 * === Released 2.15.0 ===
400 2007-12-20 Hans Breuer <hans@breuer.org>
402 * makefile.msc : don't build gdesktopappinfo.obj, it collides
403 with symbols gwin32appinfo.obj, added gmount.obj
404 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
406 2007-12-20 Alexander Larsson <alexl@redhat.com>
412 * gfilenamecompleter.c:
415 * gpollfilemonitor.c:
416 File attribute renames:
419 id::fs -> id::filesystem
421 2007-12-20 Alexander Larsson <alexl@redhat.com>
430 Add GMountUnmountFlags to all unmount and
432 Add g_mount_remount() call.
434 2007-12-20 Alexander Larsson <alexl@redhat.com>
436 * gvfs.c (get_default_vfs):
437 Fix unused variable warning
439 2007-12-19 Matthias Clasen <mclasen@redhat.com>
441 * pltcheck.sh: Update
443 2007-12-19 Matthias Clasen <mclasen@redhat.com>
445 * gunionvolumemonitor.c:
446 * gunixmount.c: Remove C99 comments
448 2007-12-19 Matthias Clasen <mclasen@redhat.com>
450 * gio.symbols: Add some missing symbols
452 2007-12-19 Alexander Larsson <alexl@redhat.com>
455 Make g_io_modules_load_all_in_directory not unuse
456 loaded modules so that users of it can do stuff
458 Init internal "module" types.
459 Initialize static prio and name for types so that
460 we don't have to load modules to get it.
462 * gnativevolumemonitor.h:
464 Move is_supported to parent class so that
465 non-native monitors can avoid being initialized
466 too. (For instance GDaemonVolumeMonitor if we're
467 not using GDaemonVfs.)
469 * glocaldirectorymonitor.[ch]:
470 * glocalfilemonitor.[ch]:
471 * gunionvolumemonitor.c:
472 * gunixvolumemonitor.c:
474 Find plugins using the static prio+name to
475 avoid unnecessarily loading the modules.
477 2007-12-19 Alexander Larsson <alexl@redhat.com>
482 2007-12-19 Alexander Larsson <alexl@redhat.com>
484 * gunionvolumemonitor.c:
485 Store the native type as GType, not class so that
486 we can unload it. But still avoid unnecessarily
489 2007-12-19 David Zeuthen <davidz@redhat.com>
491 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
492 add signals 'disconnected' and 'eject-button' on GDrive. Add
493 signal 'removed' on GVolume and 'unmounted' on GMount.
495 * gdrive.c: (g_drive_base_init):
497 * gfile.c: (g_file_mount_mountable),
498 (g_file_mount_enclosing_volume):
501 * gmount.c: (g_mount_base_init):
503 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
504 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
505 * gvolume.c: (g_volume_base_init), (g_volume_mount):
509 2007-12-17 Matthias Clasen <mclasen@redhat.com>
511 * *.c: Fix up includes in the section docs.
513 2007-12-17 Alexander Larsson <alexl@redhat.com>
515 * gnativevolumemonitor.h:
516 * gunionvolumemonitor.c:
517 * gunixvolumemonitor.c:
518 Add is_supported() to GNativeVolumeMonitorClass so
519 that we can avoid having to create an object to see
520 if the backend is supported at runtime.
521 Also add name member and an env var to pick a specific
522 volume monitor backend.
526 Add cancellable to _g_mount_get_for_mount_path()
528 * glocaldirectorymonitor.c:
529 * glocalfilemonitor.c:
530 Avoid loading and unloading modules while sorting.
532 2007-12-17 Matthias Clasen <mclasen@redhat.com>
535 * gunixmounts.[hc]: Namespace waste reduction, move some
536 g_get_unix_mount functions to the g_unix_mount namespace.
539 * gunixvolumemonitor.c:
541 * glocaldirectorymonitor.c: Update all callers.
543 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
545 2007-12-17 Alexander Larsson <alexl@redhat.com>
548 Add doc comments about what GFile operations are
549 guaranteed to not block.
551 2007-12-17 Alexander Larsson <alexl@redhat.com>
554 Add missing #ifdef fixing OSX build.
555 (#503334, patch from Richard Hult)
557 2007-12-14 David Zeuthen <davidz@redhat.com>
561 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
562 (g_mount_eject), (g_mount_eject_finish):
564 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
565 (get_volume_for_uuid), (get_mount_for_uuid),
566 (g_union_volume_monitor_class_init),
567 (get_default_native_type_with_exclude), (get_default_native_type),
568 (get_native_type), (update_native_type),
569 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
570 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
571 (g_unix_mount_can_eject), (eject_unmount_cb),
572 (eject_unmount_read_error), (eject_unmount_do),
573 (g_unix_mount_unmount), (g_unix_mount_eject),
574 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
575 * gunixmounts.c: (g_unix_mount_guess_can_eject),
576 (g_unix_mount_point_guess_can_eject):
578 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
579 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
580 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
581 (g_unix_volume_mount), (g_unix_volume_eject),
582 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
583 * gunixvolumemonitor.c: (get_volume_for_uuid),
584 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
586 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
587 (g_volume_eject), (g_volume_eject_finish):
589 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
590 (g_volume_monitor_get_mount_for_uuid):
593 Provide eject() on both GMount and GVolume and utility functions
594 to guess whether a GUnixMountPoint or GUnixMountEntry should be
595 ejected. Introduce the concept of UUID's and wire it into GVolume
596 and GMount and provide API on GVolumeMonitor to find such
597 instances. Also handle the case where an external
598 GNativeVolumeMonitor fails to initialize. Lock around the
599 _g_get_mount_for_mount_path() function such that volume monitor
600 implementations won't have to do locking themselves.
602 2007-12-17 Matthias Clasen <mclasen@redhat.com>
610 * gvolume.h: Documentation updates
612 2007-12-14 Matthias Clasen <mclasen@redhat.com>
615 * gfile.h: Doc updates
617 2007-12-14 Matthias Clasen <mclasen@redhat.com>
620 * gdesktopappinfo.c: Use hash table iterators.
622 2007-12-14 Alexander Larsson <alexl@redhat.com>
625 * gfileattribute.[ch]:
626 * gfileattribute-priv.h:
627 Move GFileAttributeValue to a private header, as
631 Make set_attribute take a type + a pointer instead
632 of a GFileAttributeValue.
635 Fix up for above changes.
636 Add g_file_info_get_attribute_data to get
637 all info in one call, g_file_info_get_attribute_status
638 to get the status and g_file_info_get_attribute_as_string.
642 * glocalfileinfo.[ch]:
646 Make _guess_type static.
648 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
651 * inotify/Makefile.am: Fixed build when srcdir != builddir,
652 made mkenums and friends use temporary files to avoid leaving
653 empty generated files on failure (#503470).
655 2007-12-14 Alexander Larsson <alexl@redhat.com>
660 2007-12-14 Alexander Larsson <alexl@redhat.com>
664 * gfileattribute.[ch]:
667 * glocalfileoutputstream.c:
668 * gmountoperation.[ch]:
669 * goutputstream.[ch]:
670 Clean up all flags enums to not have _FLAGS in them
671 Make the names of some of the enums better.
676 2007-12-14 Michael Natterer <mitch@imendio.com>
678 * gio.symbols: fix g_io_scheduler symbol names.
680 2007-12-14 Alexander Larsson <alexl@redhat.com>
686 * gbufferedinputstream.h:
687 * gbufferedoutputstream.h:
690 * gdatainputstream.h:
691 * gdataoutputstream.h:
693 * gdirectorymonitor.h:
700 * gfileinputstream.h:
702 * gfilenamecompleter.h:
703 * gfileoutputstream.h:
704 * gfilterinputstream.h:
705 * gfilteroutputstream.h:
713 * gmemoryinputstream.h:
714 * gmemoryoutputstream.h:
719 * gsimpleasyncresult.h:
721 * gunixinputstream.h:
723 * gunixoutputstream.h:
727 * inotify/Makefile.am:
728 Only allow including <gio/gio.h> from apps
730 2007-12-14 Alexander Larsson <alexl@redhat.com>
733 * gsimpleasyncresult.c:
734 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
735 Split out the send_to_mainloop call into two versions instead
736 of having the block argument.
738 2007-12-13 Alexander Larsson <alexl@redhat.com>
742 * gbufferedinputstream.c:
744 * gfileinputstream.c:
745 * gfileoutputstream.c:
749 g_push/pop_current_cancellable ->
750 g_cancellable_push/pop_current
752 2007-12-13 Alexander Larsson <alexl@redhat.com>
756 Rename g_mount_for_location to g_file_mount_enclosing_volume.
758 2007-12-13 Alexander Larsson <alexl@redhat.com>
761 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
763 2007-12-12 Alexander Larsson <alexl@redhat.com>
766 Fix race condition when freeing proxy in
767 g_io_job_send_to_mainloop().
769 2007-12-12 Alexander Larsson <alexl@redhat.com>
775 Make attribute namespace separator "::" instead of ":".
776 Use - instead of _ as separator in attribute names.
778 2007-12-12 Alexander Larsson <alexl@redhat.com>
780 * gbufferedinputstream.h:
781 * gbufferedoutputstream.h:
782 * gdatainputstream.h:
783 * gdataoutputstream.h:
784 * gdirectorymonitor.h:
786 * gfileinputstream.h:
788 * gfileoutputstream.h:
789 * gfilterinputstream.h:
790 * gfilteroutputstream.h:
792 * glocalfileinputstream.h:
793 * glocalfileoutputstream.h:
794 * gmemoryinputstream.h:
795 * gmemoryoutputstream.h:
796 * gnativevolumemonitor.h:
798 * gunixinputstream.h:
799 * gunixoutputstream.h:
802 s/parent/parent_instance/ in GObjects
804 2007-12-12 Alexander Larsson <alexl@redhat.com>
809 No need for padding for interfaces
811 2007-12-12 Alexander Larsson <alexl@redhat.com>
815 * gbufferedinputstream.c:
816 * gbufferedoutputstream.c:
819 * gdatainputstream.[ch]:
821 * gdirectorymonitor.c:
823 * gfileattribute.[ch]:
826 * gfileinputstream.h:
828 * gfileoutputstream.[ch]:
829 * gfilterinputstream.h:
830 * gfilteroutputstream.h:
833 * gloadableicon.[ch]:
834 * gmemoryinputstream.c:
837 Fix up a bunch of details in the docs.
842 2007-12-11 David Zeuthen <davidz@redhat.com>
844 Rework how volumes, drives and volume monitoring is
845 done. Previosly the model was
849 where a GDrive instance represented a mount point and a GVolume
850 instance represented a mounted file system. This patch changes it
853 GDrive <1-N> GVolume <1-1> GMount
855 where GMount now serves the purpose of the old GVolume and the new
856 GVolume serves the purpose of the old GDrive. In addition the new
857 GDrive interface is used to represent a collection of GVolume
858 instances (typically partitions) and also contains utility to query
859 the state of the physical drive the GDrive object represents (such
860 as checking for media, polling the drive, ejecting the media etc.).
862 Also implement mounting and unmounting in the Unix volume monitor
863 backend. A subquent patch will introduce GDrive support for ejection
867 * gdrive.c: (g_drive_is_media_check_automatic),
868 (g_drive_is_media_removable), (g_drive_has_media),
869 (g_drive_can_poll_for_media), (g_drive_eject),
870 (g_drive_eject_finish), (g_drive_poll_for_media),
871 (g_drive_poll_for_media_finish):
873 * gfile.c: (g_file_find_enclosing_mount):
876 * glocaldirectorymonitor.c:
877 (g_local_directory_monitor_constructor), (mounts_changed):
878 * glocalfile.c: (get_mount_info),
879 (g_local_file_find_enclosing_mount),
880 (g_local_file_file_iface_init):
881 * gnativevolumemonitor.h:
882 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
883 (get_connected_drives), (g_union_volume_monitor_class_init),
884 (child_volume_added), (child_volume_removed),
885 (child_volume_changed), (child_mount_added), (child_mount_removed),
886 (child_mount_pre_unmount), (child_mount_changed),
887 (child_drive_changed), (g_union_volume_monitor_add_monitor),
888 (g_union_volume_monitor_remove_monitor),
889 (_g_mount_get_for_mount_path):
890 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
891 (guess_system_internal), (_g_get_unix_mounts),
892 (_g_get_unix_mount_points), (g_get_unix_mount_at),
893 (g_unix_mount_free), (g_unix_mount_compare),
894 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
895 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
896 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
897 (type_to_icon), (g_unix_mount_guess_name),
898 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
899 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
900 (_resolve_symlink), (_resolve_dev_root):
902 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
903 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
904 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
905 (g_unix_volume_get_name), (g_unix_volume_can_mount),
906 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
907 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
908 (g_unix_volume_mount), (g_unix_volume_mount_finish),
909 (g_unix_volume_volume_iface_init):
911 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
912 (get_mounts), (get_volumes), (get_connected_drives),
913 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
914 (mountpoints_changed), (mounts_changed),
915 (g_unix_volume_monitor_init),
916 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
917 (find_mount_by_mountpath), (update_volumes), (update_mounts):
918 * gunixvolumemonitor.h:
919 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
920 (g_volume_mount), (g_volume_mount_finish):
922 * gvolumemonitor.c: (g_volume_monitor_class_init),
923 (g_volume_monitor_get_connected_drives),
924 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
927 2007-12-10 Matthias Clasen <mclasen@redhat.com>
929 * gmountoperation.h (GPasswordFlags): Close the gap
931 2007-12-10 Matthias Clasen <mclasen@redhat.com>
933 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
935 * gdesktopappinfo.[hc]: Remove _-prefixes
937 2007-12-10 Tor Lillqvist <tml@novell.com>
939 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
942 2007-12-10 Alexander Larsson <alexl@redhat.com>
944 * gfile.c (g_file_set_display_name):
945 Don't hardcode '/' (#502727)
947 2007-12-09 Hans Breuer <hans@breuer.org>
949 * makefile.msc : follow lib naming convention
950 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
951 for user and group name, tested with ../tests/gio-ls
953 2007-12-09 A. Walton <awalton@svn.gnome.org>
966 * gmemoryinputstream.c:
967 * gmemoryoutputstream.c:
969 * gsimpleasyncresult.c:
970 More documentation cleanup and filling in missing information, bringing
971 GIO to 99% symbol coverage.
973 2007-12-08 Hans Breuer <hans@breuer.org>
975 [gio compiles and links on win32, not sure how much already works]
976 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
977 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
978 base on win32 API; prefer g_lstat() over lstat(); instead of
979 localtime_r() use an all GLib implementation on win32;
980 get_mount_info() still needs a win32 specifc implementation
981 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
982 win32_get_file_user_info to get owner/group info without uid/gid
983 * glocalfileinputstream.c : include <io.h> on win32
984 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
985 definition, use g_win32_ftruncate() for G_OS_WIN32
986 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
987 it is available with mingw/w32api but a mess with the M$ Platform SDKs
988 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
989 * makefile.msc : updated
991 2007-12-07 Alexander Larsson <alexl@redhat.com>
993 * glocalfileenumerator.c (_g_local_file_enumerator_new):
994 Avoid warning spew if error == NULL
996 2007-12-07 Alexander Larsson <alexl@redhat.com>
999 Update docs wrt etags
1001 2007-12-06 Alexander Larsson <alexl@redhat.com>
1004 Include sys/types.h for dev_t (#501919)
1006 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1010 Make abicheck and pltcheck pass.
1012 2007-12-05 Alexander Larsson <alexl@redhat.com>
1015 * giomodule-priv.h: Added.
1016 * glocaldirectorymonitor.c:
1017 * glocalfilemonitor.c:
1018 * gunionvolumemonitor.c:
1020 Actually add the declaration of _g_io_modules_ensure_loaded
1022 2007-12-05 Alexander Larsson <alexl@redhat.com>
1024 * gdatainputstream.c:
1029 * glocaldirectorymonitor.c:
1030 * glocalfilemonitor.c:
1031 * gunionvolumemonitor.c:
1033 Make g_io_modules_ensure_loaded a private function and
1034 don't pass in the dirname. This means we can do magic
1035 directory finding in the win32 version.
1036 Export the actual load-modules-in-directory code so that
1037 gvfs can reuse that.
1039 2007-12-05 Alexander Larsson <alexl@redhat.com>
1041 * gbufferedinputstream.c:
1042 * gbufferedoutputstream.c:
1045 * gfileenumerator.[ch]:
1046 * gfileinputstream.c:
1047 * gfileoutputstream.[ch]:
1048 * gfilterinputstream.c:
1049 * gfilteroutputstream.c:
1050 * ginputstream.[ch]:
1052 * glocalfileenumerator.c:
1053 * glocalfileinputstream.c:
1054 * glocalfileoutputstream.c:
1055 * gmemoryinputstream.c:
1056 * gmemoryoutputstream.c:
1057 * goutputstream.[ch]:
1060 * gunixinputstream.c:
1061 * gunixoutputstream.c:
1062 Rename all struct members named:
1063 read, write, close, truncate, or mount
1064 to foo_fn, as these are reserved names
1065 and could be defined as macros in libc.
1068 2007-12-04 Alexander Larsson <alexl@redhat.com>
1071 (g_output_stream_close):
1072 Only call flush if non-null.
1074 2007-11-30 Dan Winship <danw@gnome.org>
1076 * ginputstream.c (g_input_stream_set_pending): Make this take a
1077 GError and return a gboolean, and do the "outstanding operation"
1078 check (and the "stream is already closed" check) itself.
1079 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1081 * goutputstream.c (g_output_stream_set_pending)
1082 (g_output_stream_clear_pending): Likewise
1084 * gbufferedinputstream.c:
1085 * gfileinputstream.c:
1086 * gfileoutputstream.c: Update for that
1088 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1089 Like g_simple_async_report_error_in_idle, but takes a GError
1090 rather than building one.
1092 2007-11-30 Dan Winship <danw@gnome.org>
1094 * goutputstream.c: Don't cheat and unset the "pending" flag around
1095 inner calls. Instead, call the class method directly rather than
1096 the wrapper function that checks "pending"
1098 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1100 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1102 2007-12-03 Hans Breuer <hans@breuer.org>
1104 [start of port to win32/msvc]
1105 * gcancellable.c : HAVE_UNIST_H and _pipe()
1106 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1107 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1108 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1110 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1111 * glocalvfs.c : use HAVE_PWD_H
1112 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1113 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1114 * Makefile.am : added to EXTRA_DIST
1116 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1118 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1121 2007-12-03 Alexander Larsson <alexl@redhat.com>
1124 Handle OSX style xattrs API (#500506)
1126 2007-12-03 Alexander Larsson <alexl@redhat.com>
1130 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1132 2007-12-02 A. Walton <awalton@svn.gnome.org>
1136 Documentation accuracy fixes.
1138 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1140 * gioenumtypes.c.template: Fix typo.
1142 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1144 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1146 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1148 * gdirectorymonitor.c:
1149 * gfilemonitor.c: Add properties
1151 * gbufferedoutputstream.c: Don't mark buffer-size property
1154 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1156 * gbufferedoutputstream.c: Add auto-grow property.
1158 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1160 * *.c: Unify the capitalization of section headings.
1162 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1164 * gmountoperation.c: Add properties
1166 * gdatainputstream.c: Turn byte-order and newline-type into
1169 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1171 * gioenumtypes.[hc].template: Templates for enum registration
1173 * Makefile.am: Generate gioenumtypes.[hc]
1175 * gio.h: Include gioenumtypes.h
1177 * gfile.h: Add some explicit nicks.
1179 * gio.symbols: Add new symbols
1181 * pltcheck.sh: Adjust
1183 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1185 * *.c: Explain etags and link to the explanation
1187 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1189 * *.c: Explain I/O priority.
1191 * *.c: More coding style fixes.
1193 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1195 * gasyncresult.c: Add another paragraph to the intro,
1196 adjust coding style of example.
1198 2007-11-29 A. Walton <awalton@svn.gnome.org>
1201 Fixes unknown meaning in GAppLaunchContext docs.
1203 Clarify asynchronous ops.
1205 Fix entity tag docs.
1208 Provides missing gtk-doc section, fixes API docs slighly.
1209 * gsimpleasyncresult.c:
1210 Fill in missing info in docs.
1211 * gunixinputstream.c:
1212 * gunixoutputstream.c:
1213 Be more expressive in short description.
1215 Remove gtk-doc stubs for non-public API.
1217 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1219 * *.c: Coding style fixups
1221 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1223 * inotify/inotify-helper.c: Don't export the lock from libgio.
1225 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1228 * abicheck.sh: Fix copy-and-paste leftovers
1230 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1232 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1234 2007-11-28 Alexander Larsson <alexl@redhat.com>
1238 Removed unnecessary file
1240 * gdesktopappinfo.[ch]:
1243 * glocaldirectorymonitor.[ch]:
1245 * glocalfileenumerator.[ch]:
1246 * glocalfileinputstream.[ch]:
1247 * glocalfilemonitor.[ch]:
1248 * glocalfileoutputstream.[ch]:
1250 * gnativevolumemonitor.c:
1251 * gpollfilemonitor.[ch]:
1252 * gunionvolumemonitor.[ch]:
1255 * gunixvolumemonitor.[ch]:
1258 * inotify/ginotifydirectorymonitor.[ch]:
1259 * inotify/ginotifyfilemonitor.[ch]:
1260 * inotify/inotify-helper.c:
1261 Append _ to all internal functions
1265 Export symbols needed for modules
1267 2007-11-28 Alexander Larsson <alexl@redhat.com>
1270 * abicheck.sh: Added.
1271 * makegioalias.pl: Added.
1272 * pltcheck.sh: Added.
1273 * gio.symbols: Added.
1276 Initial work on adding symbol handling.
1279 Correct ifdef guard name
1282 * inotify/Makefile.am:
1283 * xdgmime/Makefile.am:
1284 Include toplevel Makefile.decl
1286 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1288 * gcontenttype.c: Move doc comments to the unix section.
1290 * *.[hc]: More trivial doc corrections.
1292 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1294 * gpollfilemonitor.c:
1298 * gdesktopappinfo.c:
1303 * gdatainputstream.c:
1304 * gdatainputstream.h:
1305 * gdataoutputstream.c:
1306 * gdataoutputstream.h:
1307 * gfileinfo.h: Doc cleanups
1309 2007-11-28 Andre Klapper <a9016009@gmx.de>
1311 * gdesktopappinfo.c: Fix a typo.
1313 2007-11-27 Andre Klapper <a9016009@gmx.de>
1315 * glocalfileoutputstream.c: Fix a typo.
1317 2007-11-27 Alexander Larsson <alexl@redhat.com>
1320 Don't include removed headers
1322 2007-11-27 Alexander Larsson <alexl@redhat.com>
1325 * gsocketinputstream.[ch]: Removed.
1326 * gsocketoutputstream.[ch]: Removed.
1327 * gunixinputstream.[ch]: Added.
1328 * gunixoutputstream.[ch]: Added.
1329 Renamed GSocket*Stream to GUnix*Stream and made
1330 it unix-only, since its not really only for sockets
1331 and it only works on unix (but is highly useful there).
1333 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1339 * gbufferedinputstream.c:
1340 * gbufferedinputstream.h:
1341 * gbufferedoutputstream.c:
1342 * gbufferedoutputstream.h:
1346 * gdatainputstream.c:
1347 * gdatainputstream.h:
1348 * gdataoutputstream.c:
1349 * gdataoutputstream.h:
1350 * gdirectorymonitor.c:
1351 * gdirectorymonitor.h:
1358 * gfileenumerator.c:
1359 * gfileenumerator.h:
1364 * gfileinputstream.c:
1365 * gfileinputstream.h:
1368 * gfilenamecompleter.c:
1369 * gfilenamecompleter.h:
1370 * gfileoutputstream.c:
1371 * gfileoutputstream.h:
1372 * gfilterinputstream.c:
1373 * gfilterinputstream.h:
1374 * gfilteroutputstream.c:
1375 * gfilteroutputstream.h:
1388 * glocalfileoutputstream.c:
1389 * gmemoryinputstream.c:
1390 * gmemoryinputstream.h:
1391 * gmemoryoutputstream.c:
1392 * gmemoryoutputstream.h:
1393 * gmountoperation.c:
1394 * gmountoperation.h:
1397 * gpollfilemonitor.c:
1400 * gsimpleasyncresult.c:
1401 * gsimpleasyncresult.h:
1402 * gsocketinputstream.c:
1403 * gsocketinputstream.h:
1404 * gsocketoutputstream.c:
1405 * gsocketoutputstream.h:
1412 * gunixvolumemonitor.c:
1421 Bumps documentation to 93% symbol coverage, touching most
1422 of the public files. Fixes broken function documentation prototypes.
1423 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1424 gtk-doc headers in private files.
1426 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1428 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1429 (g_buffered_input_stream_read_byte):
1430 * gbufferedinputstream.h:
1431 New functions for efficient access to buffer and simple single byte
1434 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1435 (g_data_input_stream_read_until):
1436 * gdatainputstream.h:
1437 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1438 read_until with multiple stop chars.
1440 2007-11-27 Alexander Larsson <alexl@redhat.com>
1444 * inotify/Makefile.am:
1445 Use the user-specified giomoduledir
1447 2007-11-27 Alexander Larsson <alexl@redhat.com>
1451 Add catch-all gio.h header
1452 Don't install gdummyfile.h
1454 2007-11-26 Alexander Larsson <alexl@redhat.com>
1456 * Makefile.am (gioinclude_HEADERS):
1457 Remove trailing whitespace
1459 2007-11-26 Alexander Larsson <alexl@redhat.com>
1461 Merge gio-standalone into glib
1463 2007-11-25 Christian Kellner <gicmo@gnome.org>
1465 * gio/goutputstream.c:
1466 Fix small mistake in the docs.
1468 2007-11-21 Christian Persch <chpe@gnome.org>
1470 * gio/glocalfile.c: (g_local_file_trash):
1471 Convert filenames to UTF-8 for GError.
1472 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1473 as per xdg base dir spec.
1475 2007-11-21 Christian Persch <chpe@gnome.org>
1477 * gio/gdesktopappinfo.c:
1478 Use that g_key_file_to_data cannot fail.
1480 Use stock defines for the key file group and key names.
1483 2007-11-21 Alexander Larsson <alexl@redhat.com>
1486 (copy_stream_with_progress):
1487 Make sure we do a final progress callback with
1488 the full total size.
1490 2007-11-21 Alexander Larsson <alexl@redhat.com>
1493 Export g_file_copy_attributes
1494 Remove padding as its not needed for interfaces
1496 2007-11-20 Alexander Larsson <alexl@redhat.com>
1501 Add G_IO_ERROR_WOULD_MERGE for
1502 copy/move dir on dir with overwrite.
1504 2007-11-20 Alexander Larsson <alexl@redhat.com>
1507 * gio/glocalfileinfo.c:
1508 Add COPY_NAME (this is an optional
1509 non-modified utf8 version of the name) that
1512 2007-11-20 Alexander Larsson <alexl@redhat.com>
1514 * gio/glocalfileenumerator.c:
1515 Report errors as GIOError, not GFileError
1517 2007-11-16 Alexander Larsson <alexl@redhat.com>
1519 * gio/glocalfileoutputstream.c:
1520 * gio/gwin32appinfo.c:
1521 Fix typos in strings.
1522 Patch from Luca Ferretti <elle.uca@libero.it>
1524 2007-11-15 Alexander Larsson <alexl@redhat.com>
1527 Post release version bump
1529 === gio-standalone 0.1.2 ===
1531 2007-11-15 Alexander Larsson <alexl@redhat.com>
1533 * docs/reference/gio/Makefile.am:
1534 Fix up distcheck by removing weird
1540 2007-11-14 Alexander Larsson <alexl@redhat.com>
1542 * gio/gdesktopappinfo.c:
1543 * gio/glocaldirectorymonitor.c:
1545 * gio/glocalfileinfo.c:
1546 * gio/inotify/inotify-sub.c:
1547 * programs/gio-cat.c:
1548 * programs/gio-copy.c:
1549 * programs/gio-info.c:
1550 * programs/gio-ls.c:
1551 * programs/gio-monitor-dir.c:
1552 * programs/gio-monitor-file.c:
1553 * programs/gio-mount.c:
1554 * programs/gio-move.c:
1555 * programs/gio-rm.c:
1556 * programs/gio-save.c:
1557 * programs/gio-trash.c:
1558 Leak fixes from Kjartan Maraas
1560 2007-11-14 Alexander Larsson <alexl@redhat.com>
1562 * gio/fam/fam-helper.c:
1564 * gio/glocalfileinfo.c:
1568 * gio/inotify/inotify-diag.c:
1569 * gio/inotify/inotify-kernel.c:
1570 Various code cleanups from Kjartan Maraas
1572 2007-11-14 Alexander Larsson <alexl@redhat.com>
1574 * gio/gioscheduler.c:
1576 Set up threadpool so that we cache 2 unused
1577 idle threads for at 15 secs. This means we
1578 will reuse thread-local data (like dbus connections)
1581 2007-11-14 Alexander Larsson <alexl@redhat.com>
1583 * gio/fam/fam-helper.c:
1584 * gio/fam/gfamdirectorymonitor.c:
1585 * gio/fam/gfamfilemonitor.c:
1587 * gio/gcontenttype.c:
1588 * gio/gdatainputstream.c:
1589 * gio/gdataoutputstream.c:
1593 * gio/gfileattribute.h:
1594 * gio/gfileenumerator.c:
1596 * gio/ginputstream.c:
1599 * gio/glocalfileinfo.c:
1600 * gio/goutputstream.c:
1601 * gio/gpollfilemonitor.c:
1602 * gio/gsimpleasyncresult.c:
1603 * gio/gunixmounts.c:
1604 * gio/gunixmounts.h:
1605 * gio/inotify/ginotifydirectorymonitor.c:
1606 * gio/inotify/ginotifyfilemonitor.c:
1607 * gio/inotify/inotify-diag.c:
1608 * gio/inotify/inotify-kernel.c:
1609 * gio/inotify/inotify-path.c:
1611 * gio/test-streams.c:
1612 * programs/gio-info.c:
1613 * programs/gio-monitor-dir.c:
1614 * programs/gio-monitor-file.c:
1615 Various code cleanups from Kjartan Maraas
1617 2007-11-13 Alexander Larsson <alexl@redhat.com>
1620 Handle the uri-scheme calls for dummy files
1622 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1624 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1625 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1626 to avoid clash with the C++ keyword.
1628 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1630 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1631 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1633 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1635 * gio/glocaldirectorymonitor.c:
1636 * gio/glocalfilemonitor.c:
1637 * gio/gunionvolumemonitor.c:
1638 Don't use g_once_init_*() for initializations that could fail and
1639 could leave the initialization variable set to 0 but use GOnce.
1640 This prevents a deadlock on the second call when trying to create
1641 a monitor and no monitor type is available. Thanks to Sven Herzberg
1644 2007-11-11 Sven Herzberg <sven@imendio.com>
1646 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1647 #ifdef (make it work on MacOS X again)
1649 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1651 Fixes Changelog for last two commits (sorry guys).
1653 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1655 * gio/gbufferedinputstream.c:
1656 * gio/gdatainputstream.c:
1658 * gio/gfileoutputstream.c:
1659 * gio/gfilterinputstream.c:
1660 * gio/glocalfileinputstream.c:
1663 More consistency fixes in g*stream.c files.
1664 Significant clean of gfile's documentation, filling in of
1665 asynchronous operations documentation.
1667 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1669 * gio/gasyncresult.c:
1670 * gio/gbufferedinputstream.c:
1671 * gio/gbufferedoutputstream.c:
1672 * gio/gcancellable.c:
1673 * gio/gcontenttype.c:
1674 * gio/gdatainputstream.c:
1675 * gio/gdataoutputstream.c:
1676 * gio/gdesktopappinfo.c:
1679 * gio/gfileattribute.c:
1680 * gio/gio/gfileenumerator.c:
1682 * gio/gfileinputstream.c:
1683 * gio/gfilemonitor.c:
1684 * gio/gfileoutputstream.c:
1685 * gio/ginputstream.c:
1687 * gio/gioscheduler.c:
1688 * gio/gloadableicon.c:
1689 * gio/glocalfileoutputstream.c:
1690 * gio/gmemoryoutputstream.c:
1691 * gio/gmountoperation.c:
1692 * gio/goutputstream.c:
1694 * gio/gsimpleasyncresult.c:
1695 * gio/gunionvolumemonitor.c:
1696 * gio/gunixmounts.c:
1697 * gio/gunixvolume.c:
1701 * gio/gvolumemonitor.c:
1702 Updated documentation stubs, working towards consistency and
1705 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1707 * gio/gmemoryoutputstream.c:
1708 * gio/gmemoryoutputstream.h:
1709 Change g_memory_output_stream_set_free_on_close() to
1710 g_memory_output_stream_set_free_data() as this makes more sense and
1711 is more consistent with GMemoryInputStream.
1713 2007-11-07 Alexander Larsson <alexl@redhat.com>
1720 Change how we find the default vfs so that
1721 we can handle a gvfs failing to init
1723 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1725 * gio/gbufferedoutputstream.c:
1726 * gio/gdatainputstream.c:
1727 * gio/gdataoutputstream.c:
1728 * gio/gfileinputstream.c:
1729 * gio/gfileoutputstream.c:
1730 * gio/gfilterinputstream.c:
1731 * gio/gfilteroutputstream.c:
1732 * gio/ginputstream.c:
1733 * gio/gmemoryinputstream.c:
1734 * gio/gmemoryoutputstream.c:
1735 * gio/goutputstream.c:
1736 * gio/gsimpleasyncresult.c:
1737 * gio/gsocketinputstream.c:
1738 * gio/gsocketoutputstream.c:
1739 Add guards to the remaining public functions, add a TODO for
1740 an unimplemented function and remove some useless guards.
1742 2007-11-07 Alexander Larsson <alexl@redhat.com>
1745 Autoconf checks for the various types of
1746 getpwuid_r and getgrgid_r
1748 * gio/glocalfileinfo.c:
1749 Use the autoconf checks from above
1751 2007-11-07 Alexander Larsson <alexl@redhat.com>
1754 (g_local_file_query_filesystem_info):
1755 Some fixes for the statvfs case
1757 2007-11-07 Alexander Larsson <alexl@redhat.com>
1760 (g_local_file_query_filesystem_info):
1761 Pick the "best" of statfs / statvfs for the system
1762 if both are availible.
1764 2007-11-07 Alexander Larsson <alexl@redhat.com>
1766 Solaris fixes from Halton.Huo@Sun.COM:
1773 * gio/glocalfileinfo.c:
1774 Fix for solaris definition of getpwuid_r
1776 * gio/test-streams.c:
1777 Use G_GNUC_PRETTY_FUNCTION
1779 2007-11-07 Alexander Larsson <alexl@redhat.com>
1781 * gio/gdesktopappinfo.c:
1782 (update_default_list):
1783 Remove double semicolon.
1784 Patch from Jens Granseuer
1786 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1788 * docs/reference/gio/gio-sections.txt:
1789 * gio/gbufferedinputstream.c:
1790 * gio/gbufferedinputstream.h:
1791 * gio/gdatainputstream.c:
1792 * gio/gfileenumerator.c:
1793 * gio/gioscheduler.c:
1794 * gio/gunionvolumemonitor.c:
1796 * programs/gio-save.c:
1797 Fix typo: availible -> available. Unfortuntely this breaks API
1798 and ABI as g_buffered_input_stream_get_available() was renamed.
1800 * gio/gunixmounts.c:
1801 * gio/gbufferedinputstream.c:
1802 Add guards for public functions.
1804 2007-11-06 Ross Burton <ross@openedhand.com>
1806 * docs/reference/gio/Makefile.am:
1807 Fix invalid += usage which automake 1.10 doesn't like.
1809 2007-11-06 Alexander Larsson <alexl@redhat.com>
1812 (g_app_launch_context_class_init):
1815 Patch from Ross Burton
1817 2007-11-06 Alexander Larsson <alexl@redhat.com>
1820 Post release version bump
1822 === gio-standalone 0.1.1 ===
1824 2007-11-06 Alexander Larsson <alexl@redhat.com>
1827 Bump version to 0.1.1
1829 * gio/gsimpleasyncresult.c:
1830 (g_simple_async_result_set_from_error):
1831 Remove bogus g_return_if_fail
1833 2007-11-06 Alexander Larsson <alexl@redhat.com>
1836 The name is gio-standalone
1839 Add top src/builddir to includedir
1841 2007-11-06 Alexander Larsson <alexl@redhat.com>
1843 * docs/reference/gio/gio-sections.txt:
1845 * gio/gbufferedinputstream.c:
1846 * gio/gbufferedoutputstream.c:
1847 * gio/gcancellable.c:
1848 * gio/gdatainputstream.h:
1849 * gio/gdataoutputstream.c:
1850 * gio/gdataoutputstream.h:
1851 * gio/gdirectorymonitor.c:
1853 * gio/gfileattribute.c:
1854 * gio/gfileattribute.h:
1855 * gio/gfileenumerator.c:
1856 * gio/gfileenumerator.h:
1859 * gio/gfileinputstream.h:
1860 * gio/gfilemonitor.c:
1861 * gio/gfileoutputstream.h:
1862 * gio/glocalfilemonitor.h:
1863 * gio/glocalfileoutputstream.h:
1864 * gio/gmemoryinputstream.c:
1865 * gio/gmemoryoutputstream.c:
1866 * gio/gmountoperation.c:
1867 * gio/goutputstream.c:
1868 * gio/goutputstream.h:
1870 * gio/gsimpleasyncresult.c:
1871 * gio/gunixmounts.c:
1872 * gio/gunixmounts.h:
1874 * gio/inotify/inotify-helper.c:
1875 Fix gtk-doc warnings
1877 Patch from Ross Burton
1879 2007-11-06 Alexander Larsson <alexl@redhat.com>
1881 * gio/gfilenamecompleter.c:
1882 (g_filename_completer_get_completions):
1885 * gio/gunixvolume.c:
1886 Remove unused function
1888 Patches from Ross Burton
1890 2007-11-06 Alexander Larsson <alexl@redhat.com>
1895 Padding not needed for interfaces
1897 2007-11-06 Alexander Larsson <alexl@redhat.com>
1899 * gio/gfilemonitor.c:
1903 Make giotypes.h an internal file
1906 * gio/gbufferedinputstream.h:
1907 * gio/gbufferedoutputstream.h:
1908 * gio/gcancellable.h:
1909 * gio/gdatainputstream.h:
1910 * gio/gdataoutputstream.h:
1911 * gio/gdirectorymonitor.c:
1912 * gio/gdirectorymonitor.h:
1917 * gio/gfileattribute.h:
1918 * gio/gfileenumerator.h:
1923 * gio/gfilemonitor.c:
1924 * gio/gfilemonitor.h:
1925 * gio/gfilenamecompleter.c:
1926 * gio/gfilenamecompleter.h:
1927 * gio/gfilterinputstream.h:
1928 * gio/gfilteroutputstream.h:
1929 * gio/ginputstream.h:
1930 * gio/gmemoryinputstream.h:
1931 * gio/gmemoryoutputstream.h:
1932 * gio/gmountoperation.c:
1933 * gio/gmountoperation.h:
1934 * gio/gnativevolumemonitor.c:
1935 * gio/goutputstream.h:
1938 * gio/gsimpleasyncresult.c:
1939 * gio/gsimpleasyncresult.h:
1940 * gio/gsocketinputstream.h:
1941 * gio/gsocketoutputstream.h:
1942 * gio/gthemedicon.c:
1943 * gio/gthemedicon.h:
1947 * gio/gvolumemonitor.c:
1948 * gio/gvolumemonitor.h:
1949 Add padding in classes where it seems useful
1950 Don't include giotypes.h from public headers
1951 Move in Class definitions into c file where possible
1956 2007-11-06 Alexander Larsson <alexl@redhat.com>
1958 * docs/reference/gio/gio-docs.xml:
1959 Better structure for API docs
1961 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1964 * gio/gloadableicon.c:
1965 * gio/gsimpleasyncresult.c:
1966 * gio/gthemedicon.c:
1967 Add some more guards to public functions. Only files missing are now
1970 2007-11-06 Alexander Larsson <alexl@redhat.com>
1972 * docs/reference/gio/gio-docs.xml:
1973 Remove old files, add missing ones
1975 2007-11-06 Alexander Larsson <alexl@redhat.com>
1977 * docs/reference/gio/gio-sections.txt:
1980 Hide implementation classes
1982 * gio/gdriveprivate.h:
1983 * gio/gvolumeprivate.h:
1984 Remove non-existing function declarations
1986 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1989 Fix compilation warnings and add guards to the new functions.
1991 * gio/gasyncresult.c:
1993 Add guards to the public functions.
1996 Implement get_path().
1998 2007-11-06 Alexander Larsson <alexl@redhat.com>
2000 * gio/gfilenamecompleter.c:
2001 Make g_filename_completer_get_completions
2002 return char ** instead of GList for
2005 * docs/reference/gio/gio-docs.xml:
2006 * docs/reference/gio/gio-sections.txt:
2008 * gio/gasyncresult.c:
2009 * gio/gbufferedinputstream.c:
2010 * gio/gbufferedoutputstream.c:
2011 * gio/gcancellable.c:
2012 * gio/gcontenttype.c:
2013 * gio/gdatainputstream.c:
2014 * gio/gdataoutputstream.c:
2015 * gio/gdesktopappinfo.c:
2016 * gio/gdirectorymonitor.c:
2020 * gio/gfileattribute.c:
2021 * gio/gfileenumerator.c:
2024 * gio/gfileinputstream.c:
2025 * gio/gfilemonitor.c:
2026 * gio/gfilenamecompleter.c:
2027 * gio/gfilenamecompleter.h:
2028 * gio/gfileoutputstream.c:
2029 * gio/gfilterinputstream.c:
2031 * gio/ginputstream.c:
2033 * gio/gioscheduler.c:
2034 * gio/gloadableicon.c:
2035 * gio/glocaldirectorymonitor.c:
2037 * gio/glocalfileinputstream.c:
2038 * gio/glocalfilemonitor.c:
2039 * gio/glocalfileoutputstream.c:
2041 * gio/gmemoryinputstream.c:
2042 * gio/gmemoryoutputstream.c:
2043 * gio/gmountoperation.c:
2044 * gio/goutputstream.c:
2045 * gio/gpollfilemonitor.c:
2047 * gio/gsimpleasyncresult.c:
2048 * gio/gsocketinputstream.c:
2049 * gio/gsocketoutputstream.c:
2050 * gio/gthemedicon.c:
2051 * gio/gunionvolumemonitor.c:
2053 * gio/gunixmounts.c:
2054 * gio/gunixvolume.c:
2055 * gio/gunixvolumemonitor.c:
2059 * gio/gvolumemonitor.c:
2060 * gio/gwin32appinfo.c:
2061 Add (mostly stub) doc strings to public functions.
2062 Patch from Andrew Walton (awalton@gmail.com)
2064 2007-11-06 Alexander Larsson <alexl@redhat.com>
2066 * gio/gappinfo.[ch]:
2067 Added GAppLaunchContext object and pass that to launch.
2068 This allows simple implementation of both
2069 launch-on-screen and startup notification via a gtk+
2070 subclass of GAppLaunchContext
2072 * gio/gdesktopappinfo.c:
2073 Implement GAppLaunchContext API
2075 * gio/gwin32appinfo.c:
2078 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2080 * gio/gmountoperation.c:
2081 Add some guards to GMountOperation's public functions.
2083 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2087 * gio/gcancellable.c:
2088 * gio/gdirectorymonitor.c:
2090 * gio/gfileenumerator.c:
2091 * gio/gfilemonitor.c:,
2092 * gio/gfilenamecompleter.c:
2095 * gio/gioscheduler.c:
2099 * gio/gvolumemonitor.c:
2100 Add even more guards to various public functions.
2102 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2105 Add guards to the public functions of GAppInfo.
2107 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2109 * gio/gcontenttype.c:
2110 Add some more guards for public functions.
2112 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2114 * gio/fam/fam-module.c:
2115 * gio/fam/gfamdirectorymonitor.c:
2116 * gio/fam/gfamdirectorymonitor.h:
2117 * gio/fam/gfamfilemonitor.c:
2118 * gio/fam/gfamfilemonitor.h:
2119 * gio/inotify/ginotifydirectorymonitor.c:
2120 * gio/inotify/ginotifydirectorymonitor.h:
2121 * gio/inotify/ginotifyfilemonitor.c:
2122 * gio/inotify/ginotifyfilemonitor.h:
2123 Add proper copyright information and remove an unused variable
2124 in the GInotifyFileMonitor constructor.
2126 * gio/gcancellable.c:
2127 Add a guard for a public function and an assertion to prevent
2128 an undefined program state.
2130 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2132 * gio/gfileattribute.c:
2133 Don't run into an assertion if the given attribute value is NULL
2134 in g_file_attribute_value_get_*() but instead return a fallback
2135 value that makes sense in most situations. Passing them a attribute
2136 value with the wrong type will still run into an assertion.
2138 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2140 * gio/gfileattribute.c:
2142 Add even more guards to the public functions. Also fix the refcounting
2143 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2144 let g_file_info_list_attributes() filter the attributes by namespace
2145 instead of simply ignoring the namespace parameter.
2147 2007-11-03 Sven Herzberg <sven@imendio.com>
2149 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2150 (This makes gio work on MacOS X again)
2152 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2155 Build the gio subdirectory before the docs. Otherwise the build will
2158 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2159 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2160 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2161 Add guards to the public functions.
2163 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2165 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2166 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2167 to prevent a compiler warning.
2169 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2170 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2171 return something in the non-void function find_topdir_for().
2173 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2180 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2182 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2183 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2184 * gwin32appinfo.c (g_win32_app_info_launch):
2185 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2186 envp_for_startup_id, g_desktop_app_info_launch,
2187 g_desktop_app_info_launch_uris):
2189 Give an opaque 'startup_id' string instead of 'envp'.
2190 Support empty file lists for launching new windows.
2191 Fix infinite recursion bug when launching URIs.
2193 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2196 Add guard to the new g_file_get_uri_scheme() function.
2198 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2201 Convert a g_return_val_if_fail() to setting the GError instead as
2202 otherwise applications have to verify the parameter before otherwise
2203 and the parameter might come directly from the user.
2205 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2207 * gio/inotify/ginotify*.[ch]:
2208 Add missing copyright information.
2210 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2213 Add guards in the beginning of public functions to check for valid
2214 parameters and fix a bug in copy_stream_with_progress() that could've
2215 caused writing less bytes than reading.
2216 * gio/glocalfileinfo.c:
2217 Check for a NULL parameter and set the GError accordingly then.
2218 * gio/goutputstream.c:
2219 Fix the same bug as in gfile.c that could've caused writing less bytes
2220 than reading in g_output_stream_real_splice().
2222 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2225 Use the correct gvolumeprivate.h naming
2227 2007-11-01 Christian Kellner <gicmo@gnome.org>
2230 Remove leftover "$(daemon_sources)" entry.
2232 2007-11-01 Christian Kellner <gicmo@gnome.org>
2237 Add copyright information to source files.
2239 2007-11-01 Alexander Larsson <alexl@redhat.com>
2243 Add g_file_get_uri_scheme
2245 2007-11-01 Alexander Larsson <alexl@redhat.com>
2248 * gio/gdesktopappinfo.c:
2249 * gio/gwin32appinfo.c:
2250 Add g_app_info_get_default_for_uri_scheme.
2252 2007-11-01 Alexander Larsson <alexl@redhat.com>
2255 Correct filename for gdriveprivate.h
2257 2007-10-31 Alexander Larsson <alexl@redhat.com>
2260 Rename id:value to id:file
2263 * gio/glocalfileinfo.c:
2266 2007-10-31 Alexander Larsson <alexl@redhat.com>
2268 * gio/gunixvolume.c:
2270 Remove g_volume_get_platform_id, as thats not
2271 needed with the simpler union volume monitor
2273 2007-10-31 Alexander Larsson <alexl@redhat.com>
2276 * gio/guniondrive.[ch]: Removed.
2277 * gio/gunionvolume.[ch]: Removed.
2278 Remove GUnionDrive/Volume
2280 * gio/gunionvolumemonitor.c:
2281 Simplify union volume monitor, now we
2282 only have one native volume monitor and
2283 we use the actual volumes/drives from the
2284 child monitors instead of wrapping them
2286 * gio/gnativevolumemonitor.[ch]:
2287 Base class for native volume monitors.
2288 Includes priority and get_volume_for_mountpoint
2291 Add g_file_find_enclosing_volume
2294 Remove volume name fs attribute
2295 Add readonly fs attribute
2298 Implement readonly attribute
2299 remove volume name attribute
2300 Implement find_enclosing volume
2302 * gio/gunixmounts.c:
2303 Add a volume for "/".
2305 * gio/gunixvolume.[ch]:
2306 Set better name for /
2308 * gio/gunixvolumemonitor.[ch]:
2309 Derive from GNativeVolumeMonitor
2310 Implement get_volume_for_mountpoint
2313 GVolume typedef moved to gfile.h
2315 * gio/gvolumeprivate.h:
2316 Add g_volume_get_for_mount_path
2318 2007-10-31 Alexander Larsson <alexl@redhat.com>
2320 * gio/gunixmounts.[ch]:
2321 Add cache info to unix mount listers
2322 Make getmntent use threadsafe
2323 Add is_system_internal attribute for GUnixMount
2325 * gio/gunixvolume.c:
2326 (g_unix_volume_new):
2327 Use is_system_internal instead of own code
2329 * gio/glocaldirectorymonitor.c:
2330 * gio/gunixvolumemonitor.c:
2331 Update to new gunixmounts API
2336 2007-10-30 Alexander Larsson <alexl@redhat.com>
2339 Add volume name fsinfo attribute
2342 Read volume name info
2344 * gio/gunionvolumemonitor.c:
2345 Fix infinite loops when finalizing a union volume monitor
2347 2007-10-30 Alexander Larsson <alexl@redhat.com>
2349 * gio/goutputstream.[ch]:
2350 Add splice() with default implementation
2352 * gio/gsocketoutputstream.c:
2353 (g_socket_output_stream_write):
2354 Return error on cancellation correctly.
2356 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2358 * gio/glocalfile.c (g_local_file_trash):
2359 Do not leak a string.
2361 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2363 * gio/gfile.c (g_file_load_contents):
2364 Unref the stream after closing it.
2366 2007-10-25 Alexander Larsson <alexl@redhat.com>
2368 * gio/gioscheduler.h:
2371 2007-10-25 Alexander Larsson <alexl@redhat.com>
2375 Add g_file_has_uri_scheme and implement for local files
2377 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2379 * gio/gdesktopappinfo.c: do not leak a string.
2381 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2383 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2384 (g_local_directory_monitor_new):
2385 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2386 (g_local_file_monitor_new):
2387 Only look for the monitor type that should be used the first time
2388 and use g_qsort_with_data() instead of our own bubble sort
2391 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2394 * gio/fam/Makefile.am:
2395 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2396 * gio/fam/fam-helper.h:
2397 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2398 * gio/fam/gfamdirectorymonitor.c:
2399 * gio/fam/gfamdirectorymonitor.h:
2400 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2401 * gio/fam/gfamfilemonitor.h:
2402 * gio/glocaldirectorymonitor.c:
2403 * gio/glocaldirectorymonitor.h:
2404 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2405 * gio/glocalfilemonitor.h:
2406 * gio/inotify/Makefile.am:
2407 * gio/inotify/ginotifydirectorymonitor.c:
2408 * gio/inotify/ginotifydirectorymonitor.h:
2409 * gio/inotify/ginotifyfilemonitor.c:
2410 * gio/inotify/ginotifyfilemonitor.h:
2411 Implement the FAM and Inotify monitors as
2412 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2413 their own GIO module. GLocal(Directory|File)Monitor will use the
2414 monitor with the highest rank that is supported on that machine.
2416 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2419 Change GIO module dir to $(libdir)/gio/modules and change
2420 the log domain from GVFS to GIO. Also only export symbols starting
2421 with g_ in the resulting library.
2422 * gio/test-streams.c: (main):
2423 Set log handler for the GIO log domain.
2425 2007-10-22 Alexander Larsson <alexl@redhat.com>
2427 * gio/gfilenamecompleter.[ch]:
2428 Add g_filename_completer_set_dirs_only
2430 2007-10-22 Alexander Larsson <alexl@redhat.com>
2433 * gio/gurifuncs.[ch]:
2434 Add some simple URI helpers
2436 * gio/gfilenamecompleter.[ch]:
2437 Added object for filename (parse name actually) completion
2440 Handle ~ in parse names
2442 2007-10-17 Alexander Larsson <alexl@redhat.com>
2445 * gio/glocalfileinfo.c:
2446 Add and implement id:value attribute
2448 2007-10-17 Alexander Larsson <alexl@redhat.com>
2451 * gio/guniondrive.c:
2453 Add and implement g_drive_has_volumes
2455 2007-10-17 Alexander Larsson <alexl@redhat.com>
2458 * gio/glocalfileinfo.[ch]:
2459 Add unix:is_mountpoint and implement for local files
2461 2007-10-16 Alexander Larsson <alexl@redhat.com>
2463 * gio/gunionvolumemonitor.c:
2464 (g_union_volume_monitor_init):
2465 Fix up the unix type getting so that it works with gcc
2467 2007-10-12 Alexander Larsson <alexl@redhat.com>
2470 * gio/glocalfileinfo.c:
2471 Add thumbnail:failed to file info
2473 2007-10-12 Richard Hult <richard@imendio.com>
2475 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2476 optimizing away the get_type call (happens with some gcc versions,
2477 like the one shipped with OS X 10.4).
2479 2007-10-12 Alexander Larsson <alexl@redhat.com>
2481 * gio/glocalfileinfo.c:
2482 (_g_local_file_info_set_attribute):
2483 Fix build if not HAVE_XATTR
2484 Patch from Milosz Derezynski <internalerror@gmail.com>
2486 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2488 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2489 around for review, otherwise I would have asked you before
2492 2007-10-11 Alexander Larsson <alexl@redhat.com>
2495 Add thumbnail:path attribute
2497 * gio/glocalfileinfo.c:
2498 Implement thumbnail:path for local files
2500 2007-10-11 Alexander Larsson <alexl@redhat.com>
2502 * gio/glocalfileinfo.c:
2503 (_g_local_file_info_get):
2504 Avoid duplicate icon names
2506 2007-10-11 Alexander Larsson <alexl@redhat.com>
2508 * gio/gthemedicon.[ch]:
2509 Change g_themed_icon_get_names return type to const
2511 2007-10-10 Alexander Larsson <alexl@redhat.com>
2513 * gio/glocalfileinfo.c:
2514 Don't reference freed memory
2516 2007-10-10 Alexander Larsson <alexl@redhat.com>
2518 * gio/gfileattribute.c:
2521 * gio/glocalfileinfo.c:
2524 2007-10-10 Alexander Larsson <alexl@redhat.com>
2527 Check for NULL icons
2529 * gio/gfileattribute.c:
2530 Don't dup when getting objects (same as for string attributes)
2532 * gio/gicon.c (g_icon_equal):
2533 Safely handle NULLs in equal
2535 2007-10-10 Alexander Larsson <alexl@redhat.com>
2538 Fix c++ compilation issues
2539 Patch from Milosz Derezynski <internalerror@gmail.com>
2541 2007-10-10 Alexander Larsson <alexl@redhat.com>
2543 * programs/gio-monitor-dir.c:
2544 Don't crash if dir monitor not supported.
2546 2007-10-09 Alexander Larsson <alexl@redhat.com>
2549 Add missing G_END_DECLS
2551 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2553 * gio/gfile.c: (g_file_set_display_name),
2554 (g_file_query_settable_attributes),
2555 (g_file_query_writable_namespaces):
2556 Return NULL not FALSE on errors as the return type is a pointer.
2558 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2560 * gio/glocalfile.c: (g_local_file_monitor_file):
2561 Don't call monitor_file on the default interface vtable (which
2562 is NULL) but simply return NULL. The caller, GFile, will create a
2563 polling monitor if NULL is returned.
2565 2007-10-09 Alexander Larsson <alexl@redhat.com>
2569 * gio-unix-2.0.pc.in:
2570 Add gio-unix-2.0.pc if OS_UNIX
2573 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2575 2007-10-09 Alexander Larsson <alexl@redhat.com>
2577 * gio/gunixmounts.[ch]:
2578 Make unix mount monitoring API sane.
2579 Now its just a object with mounts_changed
2580 and mountpoints_changed signals.
2582 * gio/glocaldirectorymonitor.c:
2583 * gio/gunixvolumemonitor.c:
2584 Use new mount monitor api
2586 2007-10-09 Alexander Larsson <alexl@redhat.com>
2588 * gio/gunixmounts.[ch]:
2589 Move guess type into one call for mounts and one for mountpoints
2592 * gio/gunixvolume.c:
2595 2007-10-09 Alexander Larsson <alexl@redhat.com>
2597 * gio/gunixmounts.[ch]:
2598 Remove _ prefix in preparation to make this semi-public
2599 Hide implementation of structs
2601 * gio/glocaldirectorymonitor.c:
2603 * gio/gunixvolume.c:
2604 * gio/gunixvolumemonitor.c:
2605 Update for above API changes
2607 2007-10-08 Alexander Larsson <alexl@redhat.com>
2610 Better polling fallback. This also handles the case where we have
2611 a monitor_file implementation, but it fails.
2613 2007-10-08 Alexander Larsson <alexl@redhat.com>
2617 * gio/gunixmounts.c:
2618 * programs/gio-monitor-dir.c:
2619 * programs/gio-monitor-file.c:
2620 Added cancellable to file monitoring calls.
2621 These are really sync calls and need this.
2623 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2625 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2626 (g_local_vfs_class_init):
2627 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2628 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2630 2007-10-05 Alexander Larsson <alexl@redhat.com>
2632 * gio/gdirectorymonitorprivate.h:
2633 * gio/gfilemonitorprivate.h:
2634 * gio/gdirectorymonitor.h:
2635 * gio/gfilemonitor.h:
2636 Remove *private.h and move to the public API, so that
2637 we can do implementations outside gio (such as in gvfs)
2639 * gio/gdirectorymonitor.c:
2640 * gio/gfilemonitor.c:
2641 * gio/glocaldirectorymonitor.c:
2642 * gio/gpollfilemonitor.c:
2643 * gio/inotify/inotify-helper.c:
2644 * gio/fam/fam-helper.c:
2645 Update to the new header names
2647 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2649 * gio/gdirectorymonitor.c:
2650 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2653 2007-10-04 Alexander Larsson <alexl@redhat.com>
2655 * gio/glocalfileinfo.c (get_access_rights):
2656 Set CAN_TRASH when we can move the file.
2657 We should really also check for a parent trash dir.
2659 2007-10-04 Alexander Larsson <alexl@redhat.com>
2661 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2662 Add can_trash access attribute
2664 2007-10-04 Alexander Larsson <alexl@redhat.com>
2667 (g_local_file_trash):
2668 Create info file first. This is per-spec and allows
2669 us to actually trash directories.
2671 2007-10-02 Alexander Larsson <alexl@redhat.com>
2673 * gio/gdesktopappinfo.c:
2674 Implement the new mime support code.
2675 Always set app as handling mimetype when being set as default for it
2677 2007-10-01 Alexander Larsson <alexl@redhat.com>
2679 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2680 Fix up check for xattrs:
2682 2007-10-01 Alexander Larsson <alexl@redhat.com>
2685 (g_app_info_set_as_default_for_extension):
2686 (g_app_info_add_supports_type):
2687 (g_app_info_can_remove_supports_type):
2688 (g_app_info_remove_supports_type):
2689 Make these fail nicely if not implemented
2691 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2693 * gio/glocalfileoutputstream.c:
2694 * gio/glocalfileoutputstream.h:
2699 * programs/gio-save.c:
2700 Add a GFileCreateFlags argument to operations that can create
2703 2007-10-01 Alexander Larsson <alexl@redhat.com>
2705 * gio/gappinfo.[ch]:
2706 * gio/gdesktopappinfo.c:
2707 Add more (stubbed out) mime API needed for nautilus
2709 2007-10-01 Alexander Larsson <alexl@redhat.com>
2712 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2713 Add g_app_info_set_as_default_for_extension.
2715 * gio/gdesktopappinfo.c:
2716 Dummy for g_app_info_set_as_default_for_extension
2717 Support flags in g_app_info_create_from_commandline
2719 * gio/gwin32appinfo.c:
2721 Update for API changes
2723 * gio/gthemedicon.c:
2724 Properly NULL-terminate list of icon names
2726 2007-09-28 Alexander Larsson <alexl@redhat.com>
2728 * gio/gloadableicon.h:
2729 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2731 2007-09-28 Alexander Larsson <alexl@redhat.com>
2734 Install headers in $includedir/gio-standalone/
2736 * gio-2.0.pc.in: Added.
2737 * gio-standalone.pc.in: Removed.
2740 Renamed pkg-config file to match glib (for future move)
2741 Update to the new include dir
2744 Add more TODO comments
2746 2007-09-28 Alexander Larsson <alexl@redhat.com>
2748 * gio/gdesktopappinfo.[ch]:
2749 Expose new_from_filename
2750 Add getter for is_hidden and handle it better
2752 2007-09-28 Alexander Larsson <alexl@redhat.com>
2754 * gio/gfileinfo.[ch]:
2755 Rename g_file_size_format_for_display to
2756 g_format_file_size_for_display.
2757 Now it doesn't have the g_file prefix, so we
2758 can later move it to glib.
2760 2007-09-28 Alexander Larsson <alexl@redhat.com>
2762 * gio/gappinfo.[ch]:
2763 Add g_app_info_get_id and g_app_info_get_executable.
2764 Make all getters non-reffing
2765 Make g_app_info_launch take GFile arguments.
2766 Add must_support_uris argument to g_app_info_get_default_for_type.
2768 * gio/gwin32appinfo.c:
2769 Update to GAppInfo api changes
2771 * gio/gdesktopappinfo.c:
2772 Update to GAppInfo api changes
2773 Implement supports_xdg_startup_notify
2775 * gio/gfileicon.c (g_file_icon_get_file):
2776 Make getter non-reffing.
2781 2007-09-27 Alexander Larsson <alexl@redhat.com>
2783 * gio/gfileinfo.[ch]:
2784 Add g_file_size_format_for_display helper
2786 2007-09-27 Alexander Larsson <alexl@redhat.com>
2788 * gio/glocalfileinfo.c:
2789 Set UNIX_GID from gid, not from uid
2791 2007-09-27 Alexander Larsson <alexl@redhat.com>
2794 Add g_file_set_attributes_async
2796 2007-09-27 Alexander Larsson <alexl@redhat.com>
2798 * gio/glocalfile.c (g_local_file_set_display_name):
2799 Fix set_display_name to actually rename to the right place.
2800 Use lstat to look for existing files so we don't overwrite
2803 2007-09-26 Alexander Larsson <alexl@redhat.com>
2806 Add g_file_set_display_name_async()
2808 2007-09-26 Alexander Larsson <alexl@redhat.com>
2811 Add load_partial_contents async calls
2814 Make internal function static
2816 2007-09-26 Alexander Larsson <alexl@redhat.com>
2818 * gio/glocalfileinfo.c:
2819 Correctly detect broken symlinks
2821 2007-09-26 Alexander Larsson <alexl@redhat.com>
2823 * gio/gcancellable.c (g_cancellable_cancel):
2824 Allow cancel on NULL cancellable
2826 2007-09-25 Alexander Larsson <alexl@redhat.com>
2828 * gio/gsimpleasyncresult.c:
2829 Don't allocate g_error manually.
2830 Fixes g_slice/g_new mixup crash
2832 2007-09-25 Alexander Larsson <alexl@redhat.com>
2834 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2835 Actually set active_backend.
2836 This means the monitor will be cancelled correctly.
2838 2007-09-25 Alexander Larsson <alexl@redhat.com>
2840 * gio/gdirectorymonitor.c:
2841 Set timeout to NULL when destroying
2843 2007-09-25 Alexander Larsson <alexl@redhat.com>
2846 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2847 that is a better description of the error.
2849 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2851 * gio/gvfs.c: (g_vfs_get_local):
2852 Make the local vfs variable static. The same instance should
2855 2007-09-24 Alexander Larsson <alexl@redhat.com>
2857 * gio/glocalfileinfo.c:
2858 Pass in actual length read into sniffer, not the length
2861 2007-09-21 Alexander Larsson <alexl@redhat.com>
2863 * gio/gfileenumerator.c:
2866 * gio/gfileinputstream.c:
2867 * gio/gfileoutputstream.c:
2868 * gio/ginputstream.c:
2869 * gio/goutputstream.c:
2870 Don't crash if async callbacks are NULL
2872 2007-09-20 Alexander Larsson <alexl@redhat.com>
2875 Add async enumerate_children method and default
2878 2007-09-20 Alexander Larsson <alexl@redhat.com>
2881 Add g_file_contains_file & g_file_get_relative_path, since they
2882 were needed for nautilus.
2883 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2888 Implement new methods
2890 2007-09-17 Alexander Larsson <alexl@redhat.com>
2893 * gio/gfileinputstream.[ch]:
2894 * gio/gfileoutputstream.[ch]:
2896 * gio/glocalfileenumerator.[ch]:
2897 * gio/glocalfileinfo.[ch]:
2898 * gio/glocalfileinputstream.c:
2899 * gio/glocalfileoutputstream.c:
2900 * gio/gpollfilemonitor.c:
2901 * programs/gio-copy.c:
2902 * programs/gio-info.c:
2903 * programs/gio-move.c:
2904 Rename get_file_info to query_info() to make it clearer
2905 that these are not simple getters, but do i/o.
2907 2007-09-17 Alexander Larsson <alexl@redhat.com>
2909 * gio/gdatainputstream.[ch]:
2910 * gio/test-streams.c:
2911 Use _read_XXX instead of _get_XXX for the i/o calls
2914 2007-09-17 Alexander Larsson <alexl@redhat.com>
2917 Added needed stuff to TODO comment
2919 2007-09-17 Alexander Larsson <alexl@redhat.com>
2921 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2922 Don't error out removing the backup copy if it doesn't
2925 2007-09-14 Alexander Larsson <alexl@redhat.com>
2927 * programs/Makefile.am:
2928 * programs/gvfs-*.c:
2930 Renamed apps from gvfs-xxx to gio-xxx.
2932 2007-09-14 Alexander Larsson <alexl@redhat.com>
2935 * gio/gfileoutputstream.[ch]:
2936 * gio/glocalfileoutputstream.c:
2937 * programs/gvfs-save.c:
2938 g_file_output_stream_get_etag doesn't do i/o, so remove
2939 cancellation and error.
2941 2007-09-14 Alexander Larsson <alexl@redhat.com>
2944 Add new_etag output to replace_contents functions
2946 2007-09-14 Alexander Larsson <alexl@redhat.com>
2948 * gio/gfileoutputstream.[ch]:
2949 Add async get_file_info and default implementation
2951 2007-09-14 Alexander Larsson <alexl@redhat.com>
2953 * gio/gfileinputstream.c:
2954 Implement fallback wrapper for async get_file_info
2956 2007-09-14 Alexander Larsson <alexl@redhat.com>
2959 Add etag out argument to load_contents
2964 2007-09-14 Alexander Larsson <alexl@redhat.com>
2966 * gio/gcontenttype.c (looks_like_text):
2967 Whitespace like tab, cr and lf do not make the
2970 2007-09-14 Alexander Larsson <alexl@redhat.com>
2972 * gio/gfileinputstream.[ch]:
2973 Add async get_file_info.
2975 2007-09-13 Alexander Larsson <alexl@redhat.com>
2977 * gio/goutputstream.c (g_output_stream_write_all):
2978 Allow NULL for bytes_written
2980 2007-09-13 Alexander Larsson <alexl@redhat.com>
2982 * gio/gmemoryinputstream.[ch]:
2983 Add accessors for data
2985 2007-09-13 Alexander Larsson <alexl@redhat.com>
2987 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2988 Don't crash if length is NULL