1 2008-01-17 Alexander Larsson <alexl@redhat.com>
4 Add async version of find_enclosing_mount
5 with default implementation.
7 2008-01-17 Alexander Larsson <alexl@redhat.com>
12 Allow calls to implementation of copy and write
13 even if the type of the file implementations is
14 different. This can be used to implement native
15 upload and download calls in a vfs.
19 Protect against the case where move is called
20 with one file not being local.
22 Make sure we call the progress callback once
23 in the native move operation so that the caller
24 knows how many bytes were copied.
26 2008-01-16 Murray Cumming <murrayc@murrayc.com>
31 * gfileoutputstream.c:
36 * gunixmounts.c: Corrected some typos in the documentation:
38 its -> it's (where appropriate).
40 2008-01-16 Alexander Larsson <alexl@redhat.com>
44 Add g_file_query_exists (#508771)
46 2008-01-15 Murray Cumming <murrayc@murrayc.com>
51 * gvolume.c: For async functions that have no non-async
52 version, document that the GAsyncReadyCallback may be NULL.
55 2008-01-15 Alexander Larsson <alexl@redhat.com>
57 * gmemoryinputstream.c:
58 * gmemoryoutputstream.c:
59 Don't do pointer arithmetic on void * (#508602)
60 Patch from Kazuki IWAMOTO
62 2008-01-14 Matthias Clasen <mclasen@redhat.com>
64 * === Released 2.15.2 ===
66 2008-01-14 Alexander Larsson <alexl@redhat.com>
68 * gfile.c (g_file_monitor_file):
69 Don't set error here, since we fallback to polling monitor.
71 2008-01-14 Alexander Larsson <alexl@redhat.com>
74 (g_file_monitor_directory):
75 (g_file_monitor_file):
76 Add GError to file monitor calls
78 * glocaldirectorymonitor.c:
79 * glocaldirectorymonitor.h:
81 * glocalfilemonitor.c:
82 * glocalfilemonitor.h:
84 Update for above change
86 2008-01-14 Alexander Larsson <alexl@redhat.com>
90 Handle root correctly in g_file_get_relative_path (#508719)
92 2008-01-14 Alexander Larsson <alexl@redhat.com>
95 Clean up docs and example for GAsyncResult (#508074)
97 2008-01-11 Murray Cumming <murrayc@murrayc.com>
99 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
100 and correct some spelling mistakes. Bug #508108.
102 2008-01-11 Matthias Clasen <mclasen@redhat.com>
104 * glocalfileinfo.c: Add a comment.
106 2008-01-10 Murray Cumming <murrayc@murrayc.com>
108 * gfileinfo.c: GFileInfo description: Mention
109 how to actually set attributes in a GFile and how to discover
110 which attributes are settable. Bug #508378.
112 2008-01-10 A. Walton <awalton@svn.gnome.org>
114 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
115 (g_app_info_get_default_for_type):
116 Check for NULL content types.
118 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
120 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
122 2008-01-09 Murray Cumming <murrayc@murrayc.com>
124 * gfile.c: *_async() functions: Several small corrections
125 to the documentation, mostly correcting copy/paste errors
126 and improving some sentences.
128 2008-01-09 Dan Winship <danw@gnome.org>
130 * glocalfile.c (get_unique_filename): x86_64 fix
132 2008-01-09 Alexander Larsson <alexl@redhat.com>
137 Add g_unix_mount_guess_should_display and use
138 for unix volume monitor backend.
139 This means we more or less show what the
140 gnome-vfs backend did.
141 Based on patch from Padraig O'Briain
143 2008-01-09 Alexander Larsson <alexl@redhat.com>
147 Add g_themed_icon_new_with_default_fallbacks
150 Use default fallbacks for icons
152 2008-01-09 Alexander Larsson <alexl@redhat.com>
155 * gmountoperation.[ch]:
156 Change the API a bit so that unhandled methods
157 get reported via the reply, rather than by
158 the signal emission return value. This is because
159 some handlers can't know this immediately without
160 doing I/O, and this is an async operation that
163 2008-01-09 Alexander Larsson <alexl@redhat.com>
166 * fam/gfamdirectorymonitor.c:
167 * fam/gfamfilemonitor.c:
168 Fix double free crash (#508224)
169 Patch from Joe Marcus Clarke
171 008-01-07 Matthias Clasen <mclasen@redhat.com>
173 * === Released 2.15.1 ===
175 2008-01-07 Alexander Larsson <alexl@redhat.com>
177 * gunixinputstream.c (g_unix_input_stream_skip_finish):
178 Fix warning (#507835)
180 2008-01-07 Alexander Larsson <alexl@redhat.com>
183 Pass --internal to glib-genmarshal
188 Use better types for signal arguments (#507822)
190 2008-01-07 Alexander Larsson <alexl@redhat.com>
193 Build test subdir after .
194 Remove gdirectorymonitor.[ch]
196 * gdirectorymonitor.[ch]:
200 Remove GDirectoryMonitor and make
201 GFileMonitor the baseclass for both file and
202 directory monitors. Lift the more generic
203 rate limiting code from GDirectoryMonitor
207 * fam/gfamdirectorymonitor.[ch]:
208 * inotify/ginotifydirectorymonitor.[ch]:
209 * inotify/inotify-helper.c:
210 * glocaldirectorymonitor.[ch]:
213 Update for the removed GDirectoryMonitor.
215 * gmemoryoutputstream.c:
216 Remove ununsed variable
218 2008-01-07 Alexander Larsson <alexl@redhat.com>
220 * gmemoryinputstream.c:
221 Translate error strings
224 * gmemoryoutputstream.[ch]:
225 New implementation that avoids using GByteArray
226 in implementation and API. (#506377)
228 2008-01-06 Matthias Clasen <mclasen@redhat.com>
230 * tests/*: Add a test for memory input streams.
232 * Makefile.am: Add tests to SUBDIRS.
234 2008-01-06 Matthias Clasen <mclasen@redhat.com>
236 * glocalfilemonitor.c:
237 * glocaldirectorymonitor.c: Mark property nicks and blurbs
240 2008-01-06 Matthias Clasen <mclasen@redhat.com>
242 * gdesktopappinfo.c: Fix a docs typo.
244 * gfileattribute.c: Add information about extended attributes
245 to the documentation. (#505058)
247 2008-01-04 Alexander Larsson <alexl@redhat.com>
251 Use the right type (uint) for the ask_password signal.
253 2008-01-04 Alexander Larsson <alexl@redhat.com>
258 Add g_app_info_supports_files()
259 Remove desktop arg from g_app_info_should_show().
261 * gdesktopappinfo.[ch]:
262 Implement g_app_info_supports_files() and new should_show()
263 Add g_desktop_app_info_set_desktop_env() to set the desktop
264 for should_show(). (This will be set by gtk+ later)
266 2008-01-04 Alexander Larsson <alexl@redhat.com>
269 * gmemoryinputstream.[ch]:
270 Improve API so that you can use multiple chunks
271 of memory and custom destroy functions. (#506374)
273 2008-01-03 Alexander Larsson <alexl@redhat.com>
276 Handle NULL attribute matchers safely, as we return this
277 for empty attribute matcher strings.
279 2008-01-03 Alexander Larsson <alexl@redhat.com>
281 * gunixmounts.c (g_unix_is_mount_path_system_internal):
282 Add /usr/local to list of internal mountpoints
284 2008-01-03 Alexander Larsson <alexl@redhat.com>
287 Check for HAVE_LCHOWN (#505887)
289 2008-01-03 Alexander Larsson <alexl@redhat.com>
293 Add define for selinux context attribute.
294 Fix missing : -> :: namespace separator change
295 Fix missing _ -> - name change for xattr-sys.
298 2008-01-03 Alexander Larsson <alexl@redhat.com>
301 Link to libglib and libgobject directly (#504879)
302 Patch from Sebastien Bacher
304 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
306 * gfile.c: Expanded the g_file_new_for_commandline_arg
307 description a bit, based on the code and the docs of the
308 other g_file_new_for_* functions.
310 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
312 * gfilemonitor.h: Fixed typo in docs.
314 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
316 Updates to GIO documentation. (#506395, Mikael Hermansson)
318 * gcontenttype.c: Describe memory management for return value of
319 g_content_types_get_registered(). Missing piece from #505815.
320 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
321 GVolume, GDrive, GMounts, which hopefully gives the user less
322 confusions when using this API. Following explainations from
323 Alexander Larsson on gtk-devel-list.
325 2007-12-30 Matthias Clasen <mclasen@redhat.com>
327 * gfileinfo.c: Expand the long description.
329 2007-12-30 Matthias Clasen <mclasen@redhat.com>
332 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
333 fix builds with --disable-visibility. (#500273, Christian Persch)
335 2007-12-30 Matthias Clasen <mclasen@redhat.com>
337 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
338 in the list of returned app infos.
340 2007-12-30 Matthias Clasen <mclasen@redhat.com>
342 * gappinfo.c: Fix a cross-reference
344 2007-12-30 Matthias Clasen <mclasen@redhat.com>
346 * gfileinputstream.c:
347 * gfileoutputstream.c:
353 * gfileinfo.c: Documentation updates.
355 2007-12-26 Matthias Clasen <mclasen@redhat.com>
357 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
360 2007-12-26 Matthias Clasen <mclasen@redhat.com>
362 * gcontenttype.c (g_content_types_get_registered): Don't return
363 freed memory (#505815, Mikael Hermansson)
365 2007-12-25 Paolo Borelli <pborelli@katamail.com>
367 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
368 used to detect statbuf->st_blocks. (#505042)
370 2007-12-24 Matthias Clasen <mclasen@redhat.com>
372 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
373 environment handling. (#504829, Cosimo Cecchi)
375 2007-12-22 Matthias Clasen <mclasen@redhat.com>
377 * gappinfo.c: Doc improvements
379 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
382 2007-12-20 Matthias Clasen <mclasen@redhat.com>
384 * === Released 2.15.0 ===
386 2007-12-20 Hans Breuer <hans@breuer.org>
388 * makefile.msc : don't build gdesktopappinfo.obj, it collides
389 with symbols gwin32appinfo.obj, added gmount.obj
390 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
392 2007-12-20 Alexander Larsson <alexl@redhat.com>
398 * gfilenamecompleter.c:
401 * gpollfilemonitor.c:
402 File attribute renames:
405 id::fs -> id::filesystem
407 2007-12-20 Alexander Larsson <alexl@redhat.com>
416 Add GMountUnmountFlags to all unmount and
418 Add g_mount_remount() call.
420 2007-12-20 Alexander Larsson <alexl@redhat.com>
422 * gvfs.c (get_default_vfs):
423 Fix unused variable warning
425 2007-12-19 Matthias Clasen <mclasen@redhat.com>
427 * pltcheck.sh: Update
429 2007-12-19 Matthias Clasen <mclasen@redhat.com>
431 * gunionvolumemonitor.c:
432 * gunixmount.c: Remove C99 comments
434 2007-12-19 Matthias Clasen <mclasen@redhat.com>
436 * gio.symbols: Add some missing symbols
438 2007-12-19 Alexander Larsson <alexl@redhat.com>
441 Make g_io_modules_load_all_in_directory not unuse
442 loaded modules so that users of it can do stuff
444 Init internal "module" types.
445 Initialize static prio and name for types so that
446 we don't have to load modules to get it.
448 * gnativevolumemonitor.h:
450 Move is_supported to parent class so that
451 non-native monitors can avoid being initialized
452 too. (For instance GDaemonVolumeMonitor if we're
453 not using GDaemonVfs.)
455 * glocaldirectorymonitor.[ch]:
456 * glocalfilemonitor.[ch]:
457 * gunionvolumemonitor.c:
458 * gunixvolumemonitor.c:
460 Find plugins using the static prio+name to
461 avoid unnecessarily loading the modules.
463 2007-12-19 Alexander Larsson <alexl@redhat.com>
468 2007-12-19 Alexander Larsson <alexl@redhat.com>
470 * gunionvolumemonitor.c:
471 Store the native type as GType, not class so that
472 we can unload it. But still avoid unnecessarily
475 2007-12-19 David Zeuthen <davidz@redhat.com>
477 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
478 add signals 'disconnected' and 'eject-button' on GDrive. Add
479 signal 'removed' on GVolume and 'unmounted' on GMount.
481 * gdrive.c: (g_drive_base_init):
483 * gfile.c: (g_file_mount_mountable),
484 (g_file_mount_enclosing_volume):
487 * gmount.c: (g_mount_base_init):
489 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
490 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
491 * gvolume.c: (g_volume_base_init), (g_volume_mount):
495 2007-12-17 Matthias Clasen <mclasen@redhat.com>
497 * *.c: Fix up includes in the section docs.
499 2007-12-17 Alexander Larsson <alexl@redhat.com>
501 * gnativevolumemonitor.h:
502 * gunionvolumemonitor.c:
503 * gunixvolumemonitor.c:
504 Add is_supported() to GNativeVolumeMonitorClass so
505 that we can avoid having to create an object to see
506 if the backend is supported at runtime.
507 Also add name member and an env var to pick a specific
508 volume monitor backend.
512 Add cancellable to _g_mount_get_for_mount_path()
514 * glocaldirectorymonitor.c:
515 * glocalfilemonitor.c:
516 Avoid loading and unloading modules while sorting.
518 2007-12-17 Matthias Clasen <mclasen@redhat.com>
521 * gunixmounts.[hc]: Namespace waste reduction, move some
522 g_get_unix_mount functions to the g_unix_mount namespace.
525 * gunixvolumemonitor.c:
527 * glocaldirectorymonitor.c: Update all callers.
529 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
531 2007-12-17 Alexander Larsson <alexl@redhat.com>
534 Add doc comments about what GFile operations are
535 guaranteed to not block.
537 2007-12-17 Alexander Larsson <alexl@redhat.com>
540 Add missing #ifdef fixing OSX build.
541 (#503334, patch from Richard Hult)
543 2007-12-14 David Zeuthen <davidz@redhat.com>
547 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
548 (g_mount_eject), (g_mount_eject_finish):
550 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
551 (get_volume_for_uuid), (get_mount_for_uuid),
552 (g_union_volume_monitor_class_init),
553 (get_default_native_type_with_exclude), (get_default_native_type),
554 (get_native_type), (update_native_type),
555 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
556 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
557 (g_unix_mount_can_eject), (eject_unmount_cb),
558 (eject_unmount_read_error), (eject_unmount_do),
559 (g_unix_mount_unmount), (g_unix_mount_eject),
560 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
561 * gunixmounts.c: (g_unix_mount_guess_can_eject),
562 (g_unix_mount_point_guess_can_eject):
564 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
565 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
566 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
567 (g_unix_volume_mount), (g_unix_volume_eject),
568 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
569 * gunixvolumemonitor.c: (get_volume_for_uuid),
570 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
572 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
573 (g_volume_eject), (g_volume_eject_finish):
575 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
576 (g_volume_monitor_get_mount_for_uuid):
579 Provide eject() on both GMount and GVolume and utility functions
580 to guess whether a GUnixMountPoint or GUnixMountEntry should be
581 ejected. Introduce the concept of UUID's and wire it into GVolume
582 and GMount and provide API on GVolumeMonitor to find such
583 instances. Also handle the case where an external
584 GNativeVolumeMonitor fails to initialize. Lock around the
585 _g_get_mount_for_mount_path() function such that volume monitor
586 implementations won't have to do locking themselves.
588 2007-12-17 Matthias Clasen <mclasen@redhat.com>
596 * gvolume.h: Documentation updates
598 2007-12-14 Matthias Clasen <mclasen@redhat.com>
601 * gfile.h: Doc updates
603 2007-12-14 Matthias Clasen <mclasen@redhat.com>
606 * gdesktopappinfo.c: Use hash table iterators.
608 2007-12-14 Alexander Larsson <alexl@redhat.com>
611 * gfileattribute.[ch]:
612 * gfileattribute-priv.h:
613 Move GFileAttributeValue to a private header, as
617 Make set_attribute take a type + a pointer instead
618 of a GFileAttributeValue.
621 Fix up for above changes.
622 Add g_file_info_get_attribute_data to get
623 all info in one call, g_file_info_get_attribute_status
624 to get the status and g_file_info_get_attribute_as_string.
628 * glocalfileinfo.[ch]:
632 Make _guess_type static.
634 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
637 * inotify/Makefile.am: Fixed build when srcdir != builddir,
638 made mkenums and friends use temporary files to avoid leaving
639 empty generated files on failure (#503470).
641 2007-12-14 Alexander Larsson <alexl@redhat.com>
646 2007-12-14 Alexander Larsson <alexl@redhat.com>
650 * gfileattribute.[ch]:
653 * glocalfileoutputstream.c:
654 * gmountoperation.[ch]:
655 * goutputstream.[ch]:
656 Clean up all flags enums to not have _FLAGS in them
657 Make the names of some of the enums better.
662 2007-12-14 Michael Natterer <mitch@imendio.com>
664 * gio.symbols: fix g_io_scheduler symbol names.
666 2007-12-14 Alexander Larsson <alexl@redhat.com>
672 * gbufferedinputstream.h:
673 * gbufferedoutputstream.h:
676 * gdatainputstream.h:
677 * gdataoutputstream.h:
679 * gdirectorymonitor.h:
686 * gfileinputstream.h:
688 * gfilenamecompleter.h:
689 * gfileoutputstream.h:
690 * gfilterinputstream.h:
691 * gfilteroutputstream.h:
699 * gmemoryinputstream.h:
700 * gmemoryoutputstream.h:
705 * gsimpleasyncresult.h:
707 * gunixinputstream.h:
709 * gunixoutputstream.h:
713 * inotify/Makefile.am:
714 Only allow including <gio/gio.h> from apps
716 2007-12-14 Alexander Larsson <alexl@redhat.com>
719 * gsimpleasyncresult.c:
720 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
721 Split out the send_to_mainloop call into two versions instead
722 of having the block argument.
724 2007-12-13 Alexander Larsson <alexl@redhat.com>
728 * gbufferedinputstream.c:
730 * gfileinputstream.c:
731 * gfileoutputstream.c:
735 g_push/pop_current_cancellable ->
736 g_cancellable_push/pop_current
738 2007-12-13 Alexander Larsson <alexl@redhat.com>
742 Rename g_mount_for_location to g_file_mount_enclosing_volume.
744 2007-12-13 Alexander Larsson <alexl@redhat.com>
747 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
749 2007-12-12 Alexander Larsson <alexl@redhat.com>
752 Fix race condition when freeing proxy in
753 g_io_job_send_to_mainloop().
755 2007-12-12 Alexander Larsson <alexl@redhat.com>
761 Make attribute namespace separator "::" instead of ":".
762 Use - instead of _ as separator in attribute names.
764 2007-12-12 Alexander Larsson <alexl@redhat.com>
766 * gbufferedinputstream.h:
767 * gbufferedoutputstream.h:
768 * gdatainputstream.h:
769 * gdataoutputstream.h:
770 * gdirectorymonitor.h:
772 * gfileinputstream.h:
774 * gfileoutputstream.h:
775 * gfilterinputstream.h:
776 * gfilteroutputstream.h:
778 * glocalfileinputstream.h:
779 * glocalfileoutputstream.h:
780 * gmemoryinputstream.h:
781 * gmemoryoutputstream.h:
782 * gnativevolumemonitor.h:
784 * gunixinputstream.h:
785 * gunixoutputstream.h:
788 s/parent/parent_instance/ in GObjects
790 2007-12-12 Alexander Larsson <alexl@redhat.com>
795 No need for padding for interfaces
797 2007-12-12 Alexander Larsson <alexl@redhat.com>
801 * gbufferedinputstream.c:
802 * gbufferedoutputstream.c:
805 * gdatainputstream.[ch]:
807 * gdirectorymonitor.c:
809 * gfileattribute.[ch]:
812 * gfileinputstream.h:
814 * gfileoutputstream.[ch]:
815 * gfilterinputstream.h:
816 * gfilteroutputstream.h:
819 * gloadableicon.[ch]:
820 * gmemoryinputstream.c:
823 Fix up a bunch of details in the docs.
828 2007-12-11 David Zeuthen <davidz@redhat.com>
830 Rework how volumes, drives and volume monitoring is
831 done. Previosly the model was
835 where a GDrive instance represented a mount point and a GVolume
836 instance represented a mounted file system. This patch changes it
839 GDrive <1-N> GVolume <1-1> GMount
841 where GMount now serves the purpose of the old GVolume and the new
842 GVolume serves the purpose of the old GDrive. In addition the new
843 GDrive interface is used to represent a collection of GVolume
844 instances (typically partitions) and also contains utility to query
845 the state of the physical drive the GDrive object represents (such
846 as checking for media, polling the drive, ejecting the media etc.).
848 Also implement mounting and unmounting in the Unix volume monitor
849 backend. A subquent patch will introduce GDrive support for ejection
853 * gdrive.c: (g_drive_is_media_check_automatic),
854 (g_drive_is_media_removable), (g_drive_has_media),
855 (g_drive_can_poll_for_media), (g_drive_eject),
856 (g_drive_eject_finish), (g_drive_poll_for_media),
857 (g_drive_poll_for_media_finish):
859 * gfile.c: (g_file_find_enclosing_mount):
862 * glocaldirectorymonitor.c:
863 (g_local_directory_monitor_constructor), (mounts_changed):
864 * glocalfile.c: (get_mount_info),
865 (g_local_file_find_enclosing_mount),
866 (g_local_file_file_iface_init):
867 * gnativevolumemonitor.h:
868 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
869 (get_connected_drives), (g_union_volume_monitor_class_init),
870 (child_volume_added), (child_volume_removed),
871 (child_volume_changed), (child_mount_added), (child_mount_removed),
872 (child_mount_pre_unmount), (child_mount_changed),
873 (child_drive_changed), (g_union_volume_monitor_add_monitor),
874 (g_union_volume_monitor_remove_monitor),
875 (_g_mount_get_for_mount_path):
876 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
877 (guess_system_internal), (_g_get_unix_mounts),
878 (_g_get_unix_mount_points), (g_get_unix_mount_at),
879 (g_unix_mount_free), (g_unix_mount_compare),
880 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
881 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
882 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
883 (type_to_icon), (g_unix_mount_guess_name),
884 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
885 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
886 (_resolve_symlink), (_resolve_dev_root):
888 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
889 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
890 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
891 (g_unix_volume_get_name), (g_unix_volume_can_mount),
892 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
893 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
894 (g_unix_volume_mount), (g_unix_volume_mount_finish),
895 (g_unix_volume_volume_iface_init):
897 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
898 (get_mounts), (get_volumes), (get_connected_drives),
899 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
900 (mountpoints_changed), (mounts_changed),
901 (g_unix_volume_monitor_init),
902 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
903 (find_mount_by_mountpath), (update_volumes), (update_mounts):
904 * gunixvolumemonitor.h:
905 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
906 (g_volume_mount), (g_volume_mount_finish):
908 * gvolumemonitor.c: (g_volume_monitor_class_init),
909 (g_volume_monitor_get_connected_drives),
910 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
913 2007-12-10 Matthias Clasen <mclasen@redhat.com>
915 * gmountoperation.h (GPasswordFlags): Close the gap
917 2007-12-10 Matthias Clasen <mclasen@redhat.com>
919 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
921 * gdesktopappinfo.[hc]: Remove _-prefixes
923 2007-12-10 Tor Lillqvist <tml@novell.com>
925 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
928 2007-12-10 Alexander Larsson <alexl@redhat.com>
930 * gfile.c (g_file_set_display_name):
931 Don't hardcode '/' (#502727)
933 2007-12-09 Hans Breuer <hans@breuer.org>
935 * makefile.msc : follow lib naming convention
936 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
937 for user and group name, tested with ../tests/gio-ls
939 2007-12-09 A. Walton <awalton@svn.gnome.org>
952 * gmemoryinputstream.c:
953 * gmemoryoutputstream.c:
955 * gsimpleasyncresult.c:
956 More documentation cleanup and filling in missing information, bringing
957 GIO to 99% symbol coverage.
959 2007-12-08 Hans Breuer <hans@breuer.org>
961 [gio compiles and links on win32, not sure how much already works]
962 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
963 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
964 base on win32 API; prefer g_lstat() over lstat(); instead of
965 localtime_r() use an all GLib implementation on win32;
966 get_mount_info() still needs a win32 specifc implementation
967 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
968 win32_get_file_user_info to get owner/group info without uid/gid
969 * glocalfileinputstream.c : include <io.h> on win32
970 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
971 definition, use g_win32_ftruncate() for G_OS_WIN32
972 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
973 it is available with mingw/w32api but a mess with the M$ Platform SDKs
974 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
975 * makefile.msc : updated
977 2007-12-07 Alexander Larsson <alexl@redhat.com>
979 * glocalfileenumerator.c (_g_local_file_enumerator_new):
980 Avoid warning spew if error == NULL
982 2007-12-07 Alexander Larsson <alexl@redhat.com>
985 Update docs wrt etags
987 2007-12-06 Alexander Larsson <alexl@redhat.com>
990 Include sys/types.h for dev_t (#501919)
992 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
996 Make abicheck and pltcheck pass.
998 2007-12-05 Alexander Larsson <alexl@redhat.com>
1001 * giomodule-priv.h: Added.
1002 * glocaldirectorymonitor.c:
1003 * glocalfilemonitor.c:
1004 * gunionvolumemonitor.c:
1006 Actually add the declaration of _g_io_modules_ensure_loaded
1008 2007-12-05 Alexander Larsson <alexl@redhat.com>
1010 * gdatainputstream.c:
1015 * glocaldirectorymonitor.c:
1016 * glocalfilemonitor.c:
1017 * gunionvolumemonitor.c:
1019 Make g_io_modules_ensure_loaded a private function and
1020 don't pass in the dirname. This means we can do magic
1021 directory finding in the win32 version.
1022 Export the actual load-modules-in-directory code so that
1023 gvfs can reuse that.
1025 2007-12-05 Alexander Larsson <alexl@redhat.com>
1027 * gbufferedinputstream.c:
1028 * gbufferedoutputstream.c:
1031 * gfileenumerator.[ch]:
1032 * gfileinputstream.c:
1033 * gfileoutputstream.[ch]:
1034 * gfilterinputstream.c:
1035 * gfilteroutputstream.c:
1036 * ginputstream.[ch]:
1038 * glocalfileenumerator.c:
1039 * glocalfileinputstream.c:
1040 * glocalfileoutputstream.c:
1041 * gmemoryinputstream.c:
1042 * gmemoryoutputstream.c:
1043 * goutputstream.[ch]:
1046 * gunixinputstream.c:
1047 * gunixoutputstream.c:
1048 Rename all struct members named:
1049 read, write, close, truncate, or mount
1050 to foo_fn, as these are reserved names
1051 and could be defined as macros in libc.
1054 2007-12-04 Alexander Larsson <alexl@redhat.com>
1057 (g_output_stream_close):
1058 Only call flush if non-null.
1060 2007-11-30 Dan Winship <danw@gnome.org>
1062 * ginputstream.c (g_input_stream_set_pending): Make this take a
1063 GError and return a gboolean, and do the "outstanding operation"
1064 check (and the "stream is already closed" check) itself.
1065 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1067 * goutputstream.c (g_output_stream_set_pending)
1068 (g_output_stream_clear_pending): Likewise
1070 * gbufferedinputstream.c:
1071 * gfileinputstream.c:
1072 * gfileoutputstream.c: Update for that
1074 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1075 Like g_simple_async_report_error_in_idle, but takes a GError
1076 rather than building one.
1078 2007-11-30 Dan Winship <danw@gnome.org>
1080 * goutputstream.c: Don't cheat and unset the "pending" flag around
1081 inner calls. Instead, call the class method directly rather than
1082 the wrapper function that checks "pending"
1084 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1086 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1088 2007-12-03 Hans Breuer <hans@breuer.org>
1090 [start of port to win32/msvc]
1091 * gcancellable.c : HAVE_UNIST_H and _pipe()
1092 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1093 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1094 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1096 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1097 * glocalvfs.c : use HAVE_PWD_H
1098 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1099 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1100 * Makefile.am : added to EXTRA_DIST
1102 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1104 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1107 2007-12-03 Alexander Larsson <alexl@redhat.com>
1110 Handle OSX style xattrs API (#500506)
1112 2007-12-03 Alexander Larsson <alexl@redhat.com>
1116 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1118 2007-12-02 A. Walton <awalton@svn.gnome.org>
1122 Documentation accuracy fixes.
1124 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1126 * gioenumtypes.c.template: Fix typo.
1128 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1130 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1132 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1134 * gdirectorymonitor.c:
1135 * gfilemonitor.c: Add properties
1137 * gbufferedoutputstream.c: Don't mark buffer-size property
1140 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1142 * gbufferedoutputstream.c: Add auto-grow property.
1144 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1146 * *.c: Unify the capitalization of section headings.
1148 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1150 * gmountoperation.c: Add properties
1152 * gdatainputstream.c: Turn byte-order and newline-type into
1155 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1157 * gioenumtypes.[hc].template: Templates for enum registration
1159 * Makefile.am: Generate gioenumtypes.[hc]
1161 * gio.h: Include gioenumtypes.h
1163 * gfile.h: Add some explicit nicks.
1165 * gio.symbols: Add new symbols
1167 * pltcheck.sh: Adjust
1169 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1171 * *.c: Explain etags and link to the explanation
1173 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1175 * *.c: Explain I/O priority.
1177 * *.c: More coding style fixes.
1179 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1181 * gasyncresult.c: Add another paragraph to the intro,
1182 adjust coding style of example.
1184 2007-11-29 A. Walton <awalton@svn.gnome.org>
1187 Fixes unknown meaning in GAppLaunchContext docs.
1189 Clarify asynchronous ops.
1191 Fix entity tag docs.
1194 Provides missing gtk-doc section, fixes API docs slighly.
1195 * gsimpleasyncresult.c:
1196 Fill in missing info in docs.
1197 * gunixinputstream.c:
1198 * gunixoutputstream.c:
1199 Be more expressive in short description.
1201 Remove gtk-doc stubs for non-public API.
1203 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1205 * *.c: Coding style fixups
1207 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1209 * inotify/inotify-helper.c: Don't export the lock from libgio.
1211 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1214 * abicheck.sh: Fix copy-and-paste leftovers
1216 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1218 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1220 2007-11-28 Alexander Larsson <alexl@redhat.com>
1224 Removed unnecessary file
1226 * gdesktopappinfo.[ch]:
1229 * glocaldirectorymonitor.[ch]:
1231 * glocalfileenumerator.[ch]:
1232 * glocalfileinputstream.[ch]:
1233 * glocalfilemonitor.[ch]:
1234 * glocalfileoutputstream.[ch]:
1236 * gnativevolumemonitor.c:
1237 * gpollfilemonitor.[ch]:
1238 * gunionvolumemonitor.[ch]:
1241 * gunixvolumemonitor.[ch]:
1244 * inotify/ginotifydirectorymonitor.[ch]:
1245 * inotify/ginotifyfilemonitor.[ch]:
1246 * inotify/inotify-helper.c:
1247 Append _ to all internal functions
1251 Export symbols needed for modules
1253 2007-11-28 Alexander Larsson <alexl@redhat.com>
1256 * abicheck.sh: Added.
1257 * makegioalias.pl: Added.
1258 * pltcheck.sh: Added.
1259 * gio.symbols: Added.
1262 Initial work on adding symbol handling.
1265 Correct ifdef guard name
1268 * inotify/Makefile.am:
1269 * xdgmime/Makefile.am:
1270 Include toplevel Makefile.decl
1272 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1274 * gcontenttype.c: Move doc comments to the unix section.
1276 * *.[hc]: More trivial doc corrections.
1278 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1280 * gpollfilemonitor.c:
1284 * gdesktopappinfo.c:
1289 * gdatainputstream.c:
1290 * gdatainputstream.h:
1291 * gdataoutputstream.c:
1292 * gdataoutputstream.h:
1293 * gfileinfo.h: Doc cleanups
1295 2007-11-28 Andre Klapper <a9016009@gmx.de>
1297 * gdesktopappinfo.c: Fix a typo.
1299 2007-11-27 Andre Klapper <a9016009@gmx.de>
1301 * glocalfileoutputstream.c: Fix a typo.
1303 2007-11-27 Alexander Larsson <alexl@redhat.com>
1306 Don't include removed headers
1308 2007-11-27 Alexander Larsson <alexl@redhat.com>
1311 * gsocketinputstream.[ch]: Removed.
1312 * gsocketoutputstream.[ch]: Removed.
1313 * gunixinputstream.[ch]: Added.
1314 * gunixoutputstream.[ch]: Added.
1315 Renamed GSocket*Stream to GUnix*Stream and made
1316 it unix-only, since its not really only for sockets
1317 and it only works on unix (but is highly useful there).
1319 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1325 * gbufferedinputstream.c:
1326 * gbufferedinputstream.h:
1327 * gbufferedoutputstream.c:
1328 * gbufferedoutputstream.h:
1332 * gdatainputstream.c:
1333 * gdatainputstream.h:
1334 * gdataoutputstream.c:
1335 * gdataoutputstream.h:
1336 * gdirectorymonitor.c:
1337 * gdirectorymonitor.h:
1344 * gfileenumerator.c:
1345 * gfileenumerator.h:
1350 * gfileinputstream.c:
1351 * gfileinputstream.h:
1354 * gfilenamecompleter.c:
1355 * gfilenamecompleter.h:
1356 * gfileoutputstream.c:
1357 * gfileoutputstream.h:
1358 * gfilterinputstream.c:
1359 * gfilterinputstream.h:
1360 * gfilteroutputstream.c:
1361 * gfilteroutputstream.h:
1374 * glocalfileoutputstream.c:
1375 * gmemoryinputstream.c:
1376 * gmemoryinputstream.h:
1377 * gmemoryoutputstream.c:
1378 * gmemoryoutputstream.h:
1379 * gmountoperation.c:
1380 * gmountoperation.h:
1383 * gpollfilemonitor.c:
1386 * gsimpleasyncresult.c:
1387 * gsimpleasyncresult.h:
1388 * gsocketinputstream.c:
1389 * gsocketinputstream.h:
1390 * gsocketoutputstream.c:
1391 * gsocketoutputstream.h:
1398 * gunixvolumemonitor.c:
1407 Bumps documentation to 93% symbol coverage, touching most
1408 of the public files. Fixes broken function documentation prototypes.
1409 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1410 gtk-doc headers in private files.
1412 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1414 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1415 (g_buffered_input_stream_read_byte):
1416 * gbufferedinputstream.h:
1417 New functions for efficient access to buffer and simple single byte
1420 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1421 (g_data_input_stream_read_until):
1422 * gdatainputstream.h:
1423 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1424 read_until with multiple stop chars.
1426 2007-11-27 Alexander Larsson <alexl@redhat.com>
1430 * inotify/Makefile.am:
1431 Use the user-specified giomoduledir
1433 2007-11-27 Alexander Larsson <alexl@redhat.com>
1437 Add catch-all gio.h header
1438 Don't install gdummyfile.h
1440 2007-11-26 Alexander Larsson <alexl@redhat.com>
1442 * Makefile.am (gioinclude_HEADERS):
1443 Remove trailing whitespace
1445 2007-11-26 Alexander Larsson <alexl@redhat.com>
1447 Merge gio-standalone into glib
1449 2007-11-25 Christian Kellner <gicmo@gnome.org>
1451 * gio/goutputstream.c:
1452 Fix small mistake in the docs.
1454 2007-11-21 Christian Persch <chpe@gnome.org>
1456 * gio/glocalfile.c: (g_local_file_trash):
1457 Convert filenames to UTF-8 for GError.
1458 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1459 as per xdg base dir spec.
1461 2007-11-21 Christian Persch <chpe@gnome.org>
1463 * gio/gdesktopappinfo.c:
1464 Use that g_key_file_to_data cannot fail.
1466 Use stock defines for the key file group and key names.
1469 2007-11-21 Alexander Larsson <alexl@redhat.com>
1472 (copy_stream_with_progress):
1473 Make sure we do a final progress callback with
1474 the full total size.
1476 2007-11-21 Alexander Larsson <alexl@redhat.com>
1479 Export g_file_copy_attributes
1480 Remove padding as its not needed for interfaces
1482 2007-11-20 Alexander Larsson <alexl@redhat.com>
1487 Add G_IO_ERROR_WOULD_MERGE for
1488 copy/move dir on dir with overwrite.
1490 2007-11-20 Alexander Larsson <alexl@redhat.com>
1493 * gio/glocalfileinfo.c:
1494 Add COPY_NAME (this is an optional
1495 non-modified utf8 version of the name) that
1498 2007-11-20 Alexander Larsson <alexl@redhat.com>
1500 * gio/glocalfileenumerator.c:
1501 Report errors as GIOError, not GFileError
1503 2007-11-16 Alexander Larsson <alexl@redhat.com>
1505 * gio/glocalfileoutputstream.c:
1506 * gio/gwin32appinfo.c:
1507 Fix typos in strings.
1508 Patch from Luca Ferretti <elle.uca@libero.it>
1510 2007-11-15 Alexander Larsson <alexl@redhat.com>
1513 Post release version bump
1515 === gio-standalone 0.1.2 ===
1517 2007-11-15 Alexander Larsson <alexl@redhat.com>
1519 * docs/reference/gio/Makefile.am:
1520 Fix up distcheck by removing weird
1526 2007-11-14 Alexander Larsson <alexl@redhat.com>
1528 * gio/gdesktopappinfo.c:
1529 * gio/glocaldirectorymonitor.c:
1531 * gio/glocalfileinfo.c:
1532 * gio/inotify/inotify-sub.c:
1533 * programs/gio-cat.c:
1534 * programs/gio-copy.c:
1535 * programs/gio-info.c:
1536 * programs/gio-ls.c:
1537 * programs/gio-monitor-dir.c:
1538 * programs/gio-monitor-file.c:
1539 * programs/gio-mount.c:
1540 * programs/gio-move.c:
1541 * programs/gio-rm.c:
1542 * programs/gio-save.c:
1543 * programs/gio-trash.c:
1544 Leak fixes from Kjartan Maraas
1546 2007-11-14 Alexander Larsson <alexl@redhat.com>
1548 * gio/fam/fam-helper.c:
1550 * gio/glocalfileinfo.c:
1554 * gio/inotify/inotify-diag.c:
1555 * gio/inotify/inotify-kernel.c:
1556 Various code cleanups from Kjartan Maraas
1558 2007-11-14 Alexander Larsson <alexl@redhat.com>
1560 * gio/gioscheduler.c:
1562 Set up threadpool so that we cache 2 unused
1563 idle threads for at 15 secs. This means we
1564 will reuse thread-local data (like dbus connections)
1567 2007-11-14 Alexander Larsson <alexl@redhat.com>
1569 * gio/fam/fam-helper.c:
1570 * gio/fam/gfamdirectorymonitor.c:
1571 * gio/fam/gfamfilemonitor.c:
1573 * gio/gcontenttype.c:
1574 * gio/gdatainputstream.c:
1575 * gio/gdataoutputstream.c:
1579 * gio/gfileattribute.h:
1580 * gio/gfileenumerator.c:
1582 * gio/ginputstream.c:
1585 * gio/glocalfileinfo.c:
1586 * gio/goutputstream.c:
1587 * gio/gpollfilemonitor.c:
1588 * gio/gsimpleasyncresult.c:
1589 * gio/gunixmounts.c:
1590 * gio/gunixmounts.h:
1591 * gio/inotify/ginotifydirectorymonitor.c:
1592 * gio/inotify/ginotifyfilemonitor.c:
1593 * gio/inotify/inotify-diag.c:
1594 * gio/inotify/inotify-kernel.c:
1595 * gio/inotify/inotify-path.c:
1597 * gio/test-streams.c:
1598 * programs/gio-info.c:
1599 * programs/gio-monitor-dir.c:
1600 * programs/gio-monitor-file.c:
1601 Various code cleanups from Kjartan Maraas
1603 2007-11-13 Alexander Larsson <alexl@redhat.com>
1606 Handle the uri-scheme calls for dummy files
1608 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1610 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1611 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1612 to avoid clash with the C++ keyword.
1614 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1616 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1617 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1619 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1621 * gio/glocaldirectorymonitor.c:
1622 * gio/glocalfilemonitor.c:
1623 * gio/gunionvolumemonitor.c:
1624 Don't use g_once_init_*() for initializations that could fail and
1625 could leave the initialization variable set to 0 but use GOnce.
1626 This prevents a deadlock on the second call when trying to create
1627 a monitor and no monitor type is available. Thanks to Sven Herzberg
1630 2007-11-11 Sven Herzberg <sven@imendio.com>
1632 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1633 #ifdef (make it work on MacOS X again)
1635 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1637 Fixes Changelog for last two commits (sorry guys).
1639 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1641 * gio/gbufferedinputstream.c:
1642 * gio/gdatainputstream.c:
1644 * gio/gfileoutputstream.c:
1645 * gio/gfilterinputstream.c:
1646 * gio/glocalfileinputstream.c:
1649 More consistency fixes in g*stream.c files.
1650 Significant clean of gfile's documentation, filling in of
1651 asynchronous operations documentation.
1653 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1655 * gio/gasyncresult.c:
1656 * gio/gbufferedinputstream.c:
1657 * gio/gbufferedoutputstream.c:
1658 * gio/gcancellable.c:
1659 * gio/gcontenttype.c:
1660 * gio/gdatainputstream.c:
1661 * gio/gdataoutputstream.c:
1662 * gio/gdesktopappinfo.c:
1665 * gio/gfileattribute.c:
1666 * gio/gio/gfileenumerator.c:
1668 * gio/gfileinputstream.c:
1669 * gio/gfilemonitor.c:
1670 * gio/gfileoutputstream.c:
1671 * gio/ginputstream.c:
1673 * gio/gioscheduler.c:
1674 * gio/gloadableicon.c:
1675 * gio/glocalfileoutputstream.c:
1676 * gio/gmemoryoutputstream.c:
1677 * gio/gmountoperation.c:
1678 * gio/goutputstream.c:
1680 * gio/gsimpleasyncresult.c:
1681 * gio/gunionvolumemonitor.c:
1682 * gio/gunixmounts.c:
1683 * gio/gunixvolume.c:
1687 * gio/gvolumemonitor.c:
1688 Updated documentation stubs, working towards consistency and
1691 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1693 * gio/gmemoryoutputstream.c:
1694 * gio/gmemoryoutputstream.h:
1695 Change g_memory_output_stream_set_free_on_close() to
1696 g_memory_output_stream_set_free_data() as this makes more sense and
1697 is more consistent with GMemoryInputStream.
1699 2007-11-07 Alexander Larsson <alexl@redhat.com>
1706 Change how we find the default vfs so that
1707 we can handle a gvfs failing to init
1709 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1711 * gio/gbufferedoutputstream.c:
1712 * gio/gdatainputstream.c:
1713 * gio/gdataoutputstream.c:
1714 * gio/gfileinputstream.c:
1715 * gio/gfileoutputstream.c:
1716 * gio/gfilterinputstream.c:
1717 * gio/gfilteroutputstream.c:
1718 * gio/ginputstream.c:
1719 * gio/gmemoryinputstream.c:
1720 * gio/gmemoryoutputstream.c:
1721 * gio/goutputstream.c:
1722 * gio/gsimpleasyncresult.c:
1723 * gio/gsocketinputstream.c:
1724 * gio/gsocketoutputstream.c:
1725 Add guards to the remaining public functions, add a TODO for
1726 an unimplemented function and remove some useless guards.
1728 2007-11-07 Alexander Larsson <alexl@redhat.com>
1731 Autoconf checks for the various types of
1732 getpwuid_r and getgrgid_r
1734 * gio/glocalfileinfo.c:
1735 Use the autoconf checks from above
1737 2007-11-07 Alexander Larsson <alexl@redhat.com>
1740 (g_local_file_query_filesystem_info):
1741 Some fixes for the statvfs case
1743 2007-11-07 Alexander Larsson <alexl@redhat.com>
1746 (g_local_file_query_filesystem_info):
1747 Pick the "best" of statfs / statvfs for the system
1748 if both are availible.
1750 2007-11-07 Alexander Larsson <alexl@redhat.com>
1752 Solaris fixes from Halton.Huo@Sun.COM:
1759 * gio/glocalfileinfo.c:
1760 Fix for solaris definition of getpwuid_r
1762 * gio/test-streams.c:
1763 Use G_GNUC_PRETTY_FUNCTION
1765 2007-11-07 Alexander Larsson <alexl@redhat.com>
1767 * gio/gdesktopappinfo.c:
1768 (update_default_list):
1769 Remove double semicolon.
1770 Patch from Jens Granseuer
1772 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1774 * docs/reference/gio/gio-sections.txt:
1775 * gio/gbufferedinputstream.c:
1776 * gio/gbufferedinputstream.h:
1777 * gio/gdatainputstream.c:
1778 * gio/gfileenumerator.c:
1779 * gio/gioscheduler.c:
1780 * gio/gunionvolumemonitor.c:
1782 * programs/gio-save.c:
1783 Fix typo: availible -> available. Unfortuntely this breaks API
1784 and ABI as g_buffered_input_stream_get_available() was renamed.
1786 * gio/gunixmounts.c:
1787 * gio/gbufferedinputstream.c:
1788 Add guards for public functions.
1790 2007-11-06 Ross Burton <ross@openedhand.com>
1792 * docs/reference/gio/Makefile.am:
1793 Fix invalid += usage which automake 1.10 doesn't like.
1795 2007-11-06 Alexander Larsson <alexl@redhat.com>
1798 (g_app_launch_context_class_init):
1801 Patch from Ross Burton
1803 2007-11-06 Alexander Larsson <alexl@redhat.com>
1806 Post release version bump
1808 === gio-standalone 0.1.1 ===
1810 2007-11-06 Alexander Larsson <alexl@redhat.com>
1813 Bump version to 0.1.1
1815 * gio/gsimpleasyncresult.c:
1816 (g_simple_async_result_set_from_error):
1817 Remove bogus g_return_if_fail
1819 2007-11-06 Alexander Larsson <alexl@redhat.com>
1822 The name is gio-standalone
1825 Add top src/builddir to includedir
1827 2007-11-06 Alexander Larsson <alexl@redhat.com>
1829 * docs/reference/gio/gio-sections.txt:
1831 * gio/gbufferedinputstream.c:
1832 * gio/gbufferedoutputstream.c:
1833 * gio/gcancellable.c:
1834 * gio/gdatainputstream.h:
1835 * gio/gdataoutputstream.c:
1836 * gio/gdataoutputstream.h:
1837 * gio/gdirectorymonitor.c:
1839 * gio/gfileattribute.c:
1840 * gio/gfileattribute.h:
1841 * gio/gfileenumerator.c:
1842 * gio/gfileenumerator.h:
1845 * gio/gfileinputstream.h:
1846 * gio/gfilemonitor.c:
1847 * gio/gfileoutputstream.h:
1848 * gio/glocalfilemonitor.h:
1849 * gio/glocalfileoutputstream.h:
1850 * gio/gmemoryinputstream.c:
1851 * gio/gmemoryoutputstream.c:
1852 * gio/gmountoperation.c:
1853 * gio/goutputstream.c:
1854 * gio/goutputstream.h:
1856 * gio/gsimpleasyncresult.c:
1857 * gio/gunixmounts.c:
1858 * gio/gunixmounts.h:
1860 * gio/inotify/inotify-helper.c:
1861 Fix gtk-doc warnings
1863 Patch from Ross Burton
1865 2007-11-06 Alexander Larsson <alexl@redhat.com>
1867 * gio/gfilenamecompleter.c:
1868 (g_filename_completer_get_completions):
1871 * gio/gunixvolume.c:
1872 Remove unused function
1874 Patches from Ross Burton
1876 2007-11-06 Alexander Larsson <alexl@redhat.com>
1881 Padding not needed for interfaces
1883 2007-11-06 Alexander Larsson <alexl@redhat.com>
1885 * gio/gfilemonitor.c:
1889 Make giotypes.h an internal file
1892 * gio/gbufferedinputstream.h:
1893 * gio/gbufferedoutputstream.h:
1894 * gio/gcancellable.h:
1895 * gio/gdatainputstream.h:
1896 * gio/gdataoutputstream.h:
1897 * gio/gdirectorymonitor.c:
1898 * gio/gdirectorymonitor.h:
1903 * gio/gfileattribute.h:
1904 * gio/gfileenumerator.h:
1909 * gio/gfilemonitor.c:
1910 * gio/gfilemonitor.h:
1911 * gio/gfilenamecompleter.c:
1912 * gio/gfilenamecompleter.h:
1913 * gio/gfilterinputstream.h:
1914 * gio/gfilteroutputstream.h:
1915 * gio/ginputstream.h:
1916 * gio/gmemoryinputstream.h:
1917 * gio/gmemoryoutputstream.h:
1918 * gio/gmountoperation.c:
1919 * gio/gmountoperation.h:
1920 * gio/gnativevolumemonitor.c:
1921 * gio/goutputstream.h:
1924 * gio/gsimpleasyncresult.c:
1925 * gio/gsimpleasyncresult.h:
1926 * gio/gsocketinputstream.h:
1927 * gio/gsocketoutputstream.h:
1928 * gio/gthemedicon.c:
1929 * gio/gthemedicon.h:
1933 * gio/gvolumemonitor.c:
1934 * gio/gvolumemonitor.h:
1935 Add padding in classes where it seems useful
1936 Don't include giotypes.h from public headers
1937 Move in Class definitions into c file where possible
1942 2007-11-06 Alexander Larsson <alexl@redhat.com>
1944 * docs/reference/gio/gio-docs.xml:
1945 Better structure for API docs
1947 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1950 * gio/gloadableicon.c:
1951 * gio/gsimpleasyncresult.c:
1952 * gio/gthemedicon.c:
1953 Add some more guards to public functions. Only files missing are now
1956 2007-11-06 Alexander Larsson <alexl@redhat.com>
1958 * docs/reference/gio/gio-docs.xml:
1959 Remove old files, add missing ones
1961 2007-11-06 Alexander Larsson <alexl@redhat.com>
1963 * docs/reference/gio/gio-sections.txt:
1966 Hide implementation classes
1968 * gio/gdriveprivate.h:
1969 * gio/gvolumeprivate.h:
1970 Remove non-existing function declarations
1972 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1975 Fix compilation warnings and add guards to the new functions.
1977 * gio/gasyncresult.c:
1979 Add guards to the public functions.
1982 Implement get_path().
1984 2007-11-06 Alexander Larsson <alexl@redhat.com>
1986 * gio/gfilenamecompleter.c:
1987 Make g_filename_completer_get_completions
1988 return char ** instead of GList for
1991 * docs/reference/gio/gio-docs.xml:
1992 * docs/reference/gio/gio-sections.txt:
1994 * gio/gasyncresult.c:
1995 * gio/gbufferedinputstream.c:
1996 * gio/gbufferedoutputstream.c:
1997 * gio/gcancellable.c:
1998 * gio/gcontenttype.c:
1999 * gio/gdatainputstream.c:
2000 * gio/gdataoutputstream.c:
2001 * gio/gdesktopappinfo.c:
2002 * gio/gdirectorymonitor.c:
2006 * gio/gfileattribute.c:
2007 * gio/gfileenumerator.c:
2010 * gio/gfileinputstream.c:
2011 * gio/gfilemonitor.c:
2012 * gio/gfilenamecompleter.c:
2013 * gio/gfilenamecompleter.h:
2014 * gio/gfileoutputstream.c:
2015 * gio/gfilterinputstream.c:
2017 * gio/ginputstream.c:
2019 * gio/gioscheduler.c:
2020 * gio/gloadableicon.c:
2021 * gio/glocaldirectorymonitor.c:
2023 * gio/glocalfileinputstream.c:
2024 * gio/glocalfilemonitor.c:
2025 * gio/glocalfileoutputstream.c:
2027 * gio/gmemoryinputstream.c:
2028 * gio/gmemoryoutputstream.c:
2029 * gio/gmountoperation.c:
2030 * gio/goutputstream.c:
2031 * gio/gpollfilemonitor.c:
2033 * gio/gsimpleasyncresult.c:
2034 * gio/gsocketinputstream.c:
2035 * gio/gsocketoutputstream.c:
2036 * gio/gthemedicon.c:
2037 * gio/gunionvolumemonitor.c:
2039 * gio/gunixmounts.c:
2040 * gio/gunixvolume.c:
2041 * gio/gunixvolumemonitor.c:
2045 * gio/gvolumemonitor.c:
2046 * gio/gwin32appinfo.c:
2047 Add (mostly stub) doc strings to public functions.
2048 Patch from Andrew Walton (awalton@gmail.com)
2050 2007-11-06 Alexander Larsson <alexl@redhat.com>
2052 * gio/gappinfo.[ch]:
2053 Added GAppLaunchContext object and pass that to launch.
2054 This allows simple implementation of both
2055 launch-on-screen and startup notification via a gtk+
2056 subclass of GAppLaunchContext
2058 * gio/gdesktopappinfo.c:
2059 Implement GAppLaunchContext API
2061 * gio/gwin32appinfo.c:
2064 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2066 * gio/gmountoperation.c:
2067 Add some guards to GMountOperation's public functions.
2069 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2073 * gio/gcancellable.c:
2074 * gio/gdirectorymonitor.c:
2076 * gio/gfileenumerator.c:
2077 * gio/gfilemonitor.c:,
2078 * gio/gfilenamecompleter.c:
2081 * gio/gioscheduler.c:
2085 * gio/gvolumemonitor.c:
2086 Add even more guards to various public functions.
2088 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2091 Add guards to the public functions of GAppInfo.
2093 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2095 * gio/gcontenttype.c:
2096 Add some more guards for public functions.
2098 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2100 * gio/fam/fam-module.c:
2101 * gio/fam/gfamdirectorymonitor.c:
2102 * gio/fam/gfamdirectorymonitor.h:
2103 * gio/fam/gfamfilemonitor.c:
2104 * gio/fam/gfamfilemonitor.h:
2105 * gio/inotify/ginotifydirectorymonitor.c:
2106 * gio/inotify/ginotifydirectorymonitor.h:
2107 * gio/inotify/ginotifyfilemonitor.c:
2108 * gio/inotify/ginotifyfilemonitor.h:
2109 Add proper copyright information and remove an unused variable
2110 in the GInotifyFileMonitor constructor.
2112 * gio/gcancellable.c:
2113 Add a guard for a public function and an assertion to prevent
2114 an undefined program state.
2116 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2118 * gio/gfileattribute.c:
2119 Don't run into an assertion if the given attribute value is NULL
2120 in g_file_attribute_value_get_*() but instead return a fallback
2121 value that makes sense in most situations. Passing them a attribute
2122 value with the wrong type will still run into an assertion.
2124 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2126 * gio/gfileattribute.c:
2128 Add even more guards to the public functions. Also fix the refcounting
2129 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2130 let g_file_info_list_attributes() filter the attributes by namespace
2131 instead of simply ignoring the namespace parameter.
2133 2007-11-03 Sven Herzberg <sven@imendio.com>
2135 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2136 (This makes gio work on MacOS X again)
2138 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2141 Build the gio subdirectory before the docs. Otherwise the build will
2144 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2145 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2146 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2147 Add guards to the public functions.
2149 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2151 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2152 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2153 to prevent a compiler warning.
2155 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2156 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2157 return something in the non-void function find_topdir_for().
2159 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2166 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2168 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2169 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2170 * gwin32appinfo.c (g_win32_app_info_launch):
2171 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2172 envp_for_startup_id, g_desktop_app_info_launch,
2173 g_desktop_app_info_launch_uris):
2175 Give an opaque 'startup_id' string instead of 'envp'.
2176 Support empty file lists for launching new windows.
2177 Fix infinite recursion bug when launching URIs.
2179 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2182 Add guard to the new g_file_get_uri_scheme() function.
2184 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2187 Convert a g_return_val_if_fail() to setting the GError instead as
2188 otherwise applications have to verify the parameter before otherwise
2189 and the parameter might come directly from the user.
2191 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2193 * gio/inotify/ginotify*.[ch]:
2194 Add missing copyright information.
2196 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2199 Add guards in the beginning of public functions to check for valid
2200 parameters and fix a bug in copy_stream_with_progress() that could've
2201 caused writing less bytes than reading.
2202 * gio/glocalfileinfo.c:
2203 Check for a NULL parameter and set the GError accordingly then.
2204 * gio/goutputstream.c:
2205 Fix the same bug as in gfile.c that could've caused writing less bytes
2206 than reading in g_output_stream_real_splice().
2208 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2211 Use the correct gvolumeprivate.h naming
2213 2007-11-01 Christian Kellner <gicmo@gnome.org>
2216 Remove leftover "$(daemon_sources)" entry.
2218 2007-11-01 Christian Kellner <gicmo@gnome.org>
2223 Add copyright information to source files.
2225 2007-11-01 Alexander Larsson <alexl@redhat.com>
2229 Add g_file_get_uri_scheme
2231 2007-11-01 Alexander Larsson <alexl@redhat.com>
2234 * gio/gdesktopappinfo.c:
2235 * gio/gwin32appinfo.c:
2236 Add g_app_info_get_default_for_uri_scheme.
2238 2007-11-01 Alexander Larsson <alexl@redhat.com>
2241 Correct filename for gdriveprivate.h
2243 2007-10-31 Alexander Larsson <alexl@redhat.com>
2246 Rename id:value to id:file
2249 * gio/glocalfileinfo.c:
2252 2007-10-31 Alexander Larsson <alexl@redhat.com>
2254 * gio/gunixvolume.c:
2256 Remove g_volume_get_platform_id, as thats not
2257 needed with the simpler union volume monitor
2259 2007-10-31 Alexander Larsson <alexl@redhat.com>
2262 * gio/guniondrive.[ch]: Removed.
2263 * gio/gunionvolume.[ch]: Removed.
2264 Remove GUnionDrive/Volume
2266 * gio/gunionvolumemonitor.c:
2267 Simplify union volume monitor, now we
2268 only have one native volume monitor and
2269 we use the actual volumes/drives from the
2270 child monitors instead of wrapping them
2272 * gio/gnativevolumemonitor.[ch]:
2273 Base class for native volume monitors.
2274 Includes priority and get_volume_for_mountpoint
2277 Add g_file_find_enclosing_volume
2280 Remove volume name fs attribute
2281 Add readonly fs attribute
2284 Implement readonly attribute
2285 remove volume name attribute
2286 Implement find_enclosing volume
2288 * gio/gunixmounts.c:
2289 Add a volume for "/".
2291 * gio/gunixvolume.[ch]:
2292 Set better name for /
2294 * gio/gunixvolumemonitor.[ch]:
2295 Derive from GNativeVolumeMonitor
2296 Implement get_volume_for_mountpoint
2299 GVolume typedef moved to gfile.h
2301 * gio/gvolumeprivate.h:
2302 Add g_volume_get_for_mount_path
2304 2007-10-31 Alexander Larsson <alexl@redhat.com>
2306 * gio/gunixmounts.[ch]:
2307 Add cache info to unix mount listers
2308 Make getmntent use threadsafe
2309 Add is_system_internal attribute for GUnixMount
2311 * gio/gunixvolume.c:
2312 (g_unix_volume_new):
2313 Use is_system_internal instead of own code
2315 * gio/glocaldirectorymonitor.c:
2316 * gio/gunixvolumemonitor.c:
2317 Update to new gunixmounts API
2322 2007-10-30 Alexander Larsson <alexl@redhat.com>
2325 Add volume name fsinfo attribute
2328 Read volume name info
2330 * gio/gunionvolumemonitor.c:
2331 Fix infinite loops when finalizing a union volume monitor
2333 2007-10-30 Alexander Larsson <alexl@redhat.com>
2335 * gio/goutputstream.[ch]:
2336 Add splice() with default implementation
2338 * gio/gsocketoutputstream.c:
2339 (g_socket_output_stream_write):
2340 Return error on cancellation correctly.
2342 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2344 * gio/glocalfile.c (g_local_file_trash):
2345 Do not leak a string.
2347 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2349 * gio/gfile.c (g_file_load_contents):
2350 Unref the stream after closing it.
2352 2007-10-25 Alexander Larsson <alexl@redhat.com>
2354 * gio/gioscheduler.h:
2357 2007-10-25 Alexander Larsson <alexl@redhat.com>
2361 Add g_file_has_uri_scheme and implement for local files
2363 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2365 * gio/gdesktopappinfo.c: do not leak a string.
2367 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2369 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2370 (g_local_directory_monitor_new):
2371 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2372 (g_local_file_monitor_new):
2373 Only look for the monitor type that should be used the first time
2374 and use g_qsort_with_data() instead of our own bubble sort
2377 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2380 * gio/fam/Makefile.am:
2381 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2382 * gio/fam/fam-helper.h:
2383 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2384 * gio/fam/gfamdirectorymonitor.c:
2385 * gio/fam/gfamdirectorymonitor.h:
2386 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2387 * gio/fam/gfamfilemonitor.h:
2388 * gio/glocaldirectorymonitor.c:
2389 * gio/glocaldirectorymonitor.h:
2390 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2391 * gio/glocalfilemonitor.h:
2392 * gio/inotify/Makefile.am:
2393 * gio/inotify/ginotifydirectorymonitor.c:
2394 * gio/inotify/ginotifydirectorymonitor.h:
2395 * gio/inotify/ginotifyfilemonitor.c:
2396 * gio/inotify/ginotifyfilemonitor.h:
2397 Implement the FAM and Inotify monitors as
2398 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2399 their own GIO module. GLocal(Directory|File)Monitor will use the
2400 monitor with the highest rank that is supported on that machine.
2402 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2405 Change GIO module dir to $(libdir)/gio/modules and change
2406 the log domain from GVFS to GIO. Also only export symbols starting
2407 with g_ in the resulting library.
2408 * gio/test-streams.c: (main):
2409 Set log handler for the GIO log domain.
2411 2007-10-22 Alexander Larsson <alexl@redhat.com>
2413 * gio/gfilenamecompleter.[ch]:
2414 Add g_filename_completer_set_dirs_only
2416 2007-10-22 Alexander Larsson <alexl@redhat.com>
2419 * gio/gurifuncs.[ch]:
2420 Add some simple URI helpers
2422 * gio/gfilenamecompleter.[ch]:
2423 Added object for filename (parse name actually) completion
2426 Handle ~ in parse names
2428 2007-10-17 Alexander Larsson <alexl@redhat.com>
2431 * gio/glocalfileinfo.c:
2432 Add and implement id:value attribute
2434 2007-10-17 Alexander Larsson <alexl@redhat.com>
2437 * gio/guniondrive.c:
2439 Add and implement g_drive_has_volumes
2441 2007-10-17 Alexander Larsson <alexl@redhat.com>
2444 * gio/glocalfileinfo.[ch]:
2445 Add unix:is_mountpoint and implement for local files
2447 2007-10-16 Alexander Larsson <alexl@redhat.com>
2449 * gio/gunionvolumemonitor.c:
2450 (g_union_volume_monitor_init):
2451 Fix up the unix type getting so that it works with gcc
2453 2007-10-12 Alexander Larsson <alexl@redhat.com>
2456 * gio/glocalfileinfo.c:
2457 Add thumbnail:failed to file info
2459 2007-10-12 Richard Hult <richard@imendio.com>
2461 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2462 optimizing away the get_type call (happens with some gcc versions,
2463 like the one shipped with OS X 10.4).
2465 2007-10-12 Alexander Larsson <alexl@redhat.com>
2467 * gio/glocalfileinfo.c:
2468 (_g_local_file_info_set_attribute):
2469 Fix build if not HAVE_XATTR
2470 Patch from Milosz Derezynski <internalerror@gmail.com>
2472 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2474 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2475 around for review, otherwise I would have asked you before
2478 2007-10-11 Alexander Larsson <alexl@redhat.com>
2481 Add thumbnail:path attribute
2483 * gio/glocalfileinfo.c:
2484 Implement thumbnail:path for local files
2486 2007-10-11 Alexander Larsson <alexl@redhat.com>
2488 * gio/glocalfileinfo.c:
2489 (_g_local_file_info_get):
2490 Avoid duplicate icon names
2492 2007-10-11 Alexander Larsson <alexl@redhat.com>
2494 * gio/gthemedicon.[ch]:
2495 Change g_themed_icon_get_names return type to const
2497 2007-10-10 Alexander Larsson <alexl@redhat.com>
2499 * gio/glocalfileinfo.c:
2500 Don't reference freed memory
2502 2007-10-10 Alexander Larsson <alexl@redhat.com>
2504 * gio/gfileattribute.c:
2507 * gio/glocalfileinfo.c:
2510 2007-10-10 Alexander Larsson <alexl@redhat.com>
2513 Check for NULL icons
2515 * gio/gfileattribute.c:
2516 Don't dup when getting objects (same as for string attributes)
2518 * gio/gicon.c (g_icon_equal):
2519 Safely handle NULLs in equal
2521 2007-10-10 Alexander Larsson <alexl@redhat.com>
2524 Fix c++ compilation issues
2525 Patch from Milosz Derezynski <internalerror@gmail.com>
2527 2007-10-10 Alexander Larsson <alexl@redhat.com>
2529 * programs/gio-monitor-dir.c:
2530 Don't crash if dir monitor not supported.
2532 2007-10-09 Alexander Larsson <alexl@redhat.com>
2535 Add missing G_END_DECLS
2537 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2539 * gio/gfile.c: (g_file_set_display_name),
2540 (g_file_query_settable_attributes),
2541 (g_file_query_writable_namespaces):
2542 Return NULL not FALSE on errors as the return type is a pointer.
2544 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2546 * gio/glocalfile.c: (g_local_file_monitor_file):
2547 Don't call monitor_file on the default interface vtable (which
2548 is NULL) but simply return NULL. The caller, GFile, will create a
2549 polling monitor if NULL is returned.
2551 2007-10-09 Alexander Larsson <alexl@redhat.com>
2555 * gio-unix-2.0.pc.in:
2556 Add gio-unix-2.0.pc if OS_UNIX
2559 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2561 2007-10-09 Alexander Larsson <alexl@redhat.com>
2563 * gio/gunixmounts.[ch]:
2564 Make unix mount monitoring API sane.
2565 Now its just a object with mounts_changed
2566 and mountpoints_changed signals.
2568 * gio/glocaldirectorymonitor.c:
2569 * gio/gunixvolumemonitor.c:
2570 Use new mount monitor api
2572 2007-10-09 Alexander Larsson <alexl@redhat.com>
2574 * gio/gunixmounts.[ch]:
2575 Move guess type into one call for mounts and one for mountpoints
2578 * gio/gunixvolume.c:
2581 2007-10-09 Alexander Larsson <alexl@redhat.com>
2583 * gio/gunixmounts.[ch]:
2584 Remove _ prefix in preparation to make this semi-public
2585 Hide implementation of structs
2587 * gio/glocaldirectorymonitor.c:
2589 * gio/gunixvolume.c:
2590 * gio/gunixvolumemonitor.c:
2591 Update for above API changes
2593 2007-10-08 Alexander Larsson <alexl@redhat.com>
2596 Better polling fallback. This also handles the case where we have
2597 a monitor_file implementation, but it fails.
2599 2007-10-08 Alexander Larsson <alexl@redhat.com>
2603 * gio/gunixmounts.c:
2604 * programs/gio-monitor-dir.c:
2605 * programs/gio-monitor-file.c:
2606 Added cancellable to file monitoring calls.
2607 These are really sync calls and need this.
2609 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2611 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2612 (g_local_vfs_class_init):
2613 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2614 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2616 2007-10-05 Alexander Larsson <alexl@redhat.com>
2618 * gio/gdirectorymonitorprivate.h:
2619 * gio/gfilemonitorprivate.h:
2620 * gio/gdirectorymonitor.h:
2621 * gio/gfilemonitor.h:
2622 Remove *private.h and move to the public API, so that
2623 we can do implementations outside gio (such as in gvfs)
2625 * gio/gdirectorymonitor.c:
2626 * gio/gfilemonitor.c:
2627 * gio/glocaldirectorymonitor.c:
2628 * gio/gpollfilemonitor.c:
2629 * gio/inotify/inotify-helper.c:
2630 * gio/fam/fam-helper.c:
2631 Update to the new header names
2633 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2635 * gio/gdirectorymonitor.c:
2636 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2639 2007-10-04 Alexander Larsson <alexl@redhat.com>
2641 * gio/glocalfileinfo.c (get_access_rights):
2642 Set CAN_TRASH when we can move the file.
2643 We should really also check for a parent trash dir.
2645 2007-10-04 Alexander Larsson <alexl@redhat.com>
2647 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2648 Add can_trash access attribute
2650 2007-10-04 Alexander Larsson <alexl@redhat.com>
2653 (g_local_file_trash):
2654 Create info file first. This is per-spec and allows
2655 us to actually trash directories.
2657 2007-10-02 Alexander Larsson <alexl@redhat.com>
2659 * gio/gdesktopappinfo.c:
2660 Implement the new mime support code.
2661 Always set app as handling mimetype when being set as default for it
2663 2007-10-01 Alexander Larsson <alexl@redhat.com>
2665 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2666 Fix up check for xattrs:
2668 2007-10-01 Alexander Larsson <alexl@redhat.com>
2671 (g_app_info_set_as_default_for_extension):
2672 (g_app_info_add_supports_type):
2673 (g_app_info_can_remove_supports_type):
2674 (g_app_info_remove_supports_type):
2675 Make these fail nicely if not implemented
2677 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2679 * gio/glocalfileoutputstream.c:
2680 * gio/glocalfileoutputstream.h:
2685 * programs/gio-save.c:
2686 Add a GFileCreateFlags argument to operations that can create
2689 2007-10-01 Alexander Larsson <alexl@redhat.com>
2691 * gio/gappinfo.[ch]:
2692 * gio/gdesktopappinfo.c:
2693 Add more (stubbed out) mime API needed for nautilus
2695 2007-10-01 Alexander Larsson <alexl@redhat.com>
2698 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2699 Add g_app_info_set_as_default_for_extension.
2701 * gio/gdesktopappinfo.c:
2702 Dummy for g_app_info_set_as_default_for_extension
2703 Support flags in g_app_info_create_from_commandline
2705 * gio/gwin32appinfo.c:
2707 Update for API changes
2709 * gio/gthemedicon.c:
2710 Properly NULL-terminate list of icon names
2712 2007-09-28 Alexander Larsson <alexl@redhat.com>
2714 * gio/gloadableicon.h:
2715 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2717 2007-09-28 Alexander Larsson <alexl@redhat.com>
2720 Install headers in $includedir/gio-standalone/
2722 * gio-2.0.pc.in: Added.
2723 * gio-standalone.pc.in: Removed.
2726 Renamed pkg-config file to match glib (for future move)
2727 Update to the new include dir
2730 Add more TODO comments
2732 2007-09-28 Alexander Larsson <alexl@redhat.com>
2734 * gio/gdesktopappinfo.[ch]:
2735 Expose new_from_filename
2736 Add getter for is_hidden and handle it better
2738 2007-09-28 Alexander Larsson <alexl@redhat.com>
2740 * gio/gfileinfo.[ch]:
2741 Rename g_file_size_format_for_display to
2742 g_format_file_size_for_display.
2743 Now it doesn't have the g_file prefix, so we
2744 can later move it to glib.
2746 2007-09-28 Alexander Larsson <alexl@redhat.com>
2748 * gio/gappinfo.[ch]:
2749 Add g_app_info_get_id and g_app_info_get_executable.
2750 Make all getters non-reffing
2751 Make g_app_info_launch take GFile arguments.
2752 Add must_support_uris argument to g_app_info_get_default_for_type.
2754 * gio/gwin32appinfo.c:
2755 Update to GAppInfo api changes
2757 * gio/gdesktopappinfo.c:
2758 Update to GAppInfo api changes
2759 Implement supports_xdg_startup_notify
2761 * gio/gfileicon.c (g_file_icon_get_file):
2762 Make getter non-reffing.
2767 2007-09-27 Alexander Larsson <alexl@redhat.com>
2769 * gio/gfileinfo.[ch]:
2770 Add g_file_size_format_for_display helper
2772 2007-09-27 Alexander Larsson <alexl@redhat.com>
2774 * gio/glocalfileinfo.c:
2775 Set UNIX_GID from gid, not from uid
2777 2007-09-27 Alexander Larsson <alexl@redhat.com>
2780 Add g_file_set_attributes_async
2782 2007-09-27 Alexander Larsson <alexl@redhat.com>
2784 * gio/glocalfile.c (g_local_file_set_display_name):
2785 Fix set_display_name to actually rename to the right place.
2786 Use lstat to look for existing files so we don't overwrite
2789 2007-09-26 Alexander Larsson <alexl@redhat.com>
2792 Add g_file_set_display_name_async()
2794 2007-09-26 Alexander Larsson <alexl@redhat.com>
2797 Add load_partial_contents async calls
2800 Make internal function static
2802 2007-09-26 Alexander Larsson <alexl@redhat.com>
2804 * gio/glocalfileinfo.c:
2805 Correctly detect broken symlinks
2807 2007-09-26 Alexander Larsson <alexl@redhat.com>
2809 * gio/gcancellable.c (g_cancellable_cancel):
2810 Allow cancel on NULL cancellable
2812 2007-09-25 Alexander Larsson <alexl@redhat.com>
2814 * gio/gsimpleasyncresult.c:
2815 Don't allocate g_error manually.
2816 Fixes g_slice/g_new mixup crash
2818 2007-09-25 Alexander Larsson <alexl@redhat.com>
2820 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2821 Actually set active_backend.
2822 This means the monitor will be cancelled correctly.
2824 2007-09-25 Alexander Larsson <alexl@redhat.com>
2826 * gio/gdirectorymonitor.c:
2827 Set timeout to NULL when destroying
2829 2007-09-25 Alexander Larsson <alexl@redhat.com>
2832 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2833 that is a better description of the error.
2835 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2837 * gio/gvfs.c: (g_vfs_get_local):
2838 Make the local vfs variable static. The same instance should
2841 2007-09-24 Alexander Larsson <alexl@redhat.com>
2843 * gio/glocalfileinfo.c:
2844 Pass in actual length read into sniffer, not the length
2847 2007-09-21 Alexander Larsson <alexl@redhat.com>
2849 * gio/gfileenumerator.c:
2852 * gio/gfileinputstream.c:
2853 * gio/gfileoutputstream.c:
2854 * gio/ginputstream.c:
2855 * gio/goutputstream.c:
2856 Don't crash if async callbacks are NULL
2858 2007-09-20 Alexander Larsson <alexl@redhat.com>
2861 Add async enumerate_children method and default
2864 2007-09-20 Alexander Larsson <alexl@redhat.com>
2867 Add g_file_contains_file & g_file_get_relative_path, since they
2868 were needed for nautilus.
2869 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2874 Implement new methods
2876 2007-09-17 Alexander Larsson <alexl@redhat.com>
2879 * gio/gfileinputstream.[ch]:
2880 * gio/gfileoutputstream.[ch]:
2882 * gio/glocalfileenumerator.[ch]:
2883 * gio/glocalfileinfo.[ch]:
2884 * gio/glocalfileinputstream.c:
2885 * gio/glocalfileoutputstream.c:
2886 * gio/gpollfilemonitor.c:
2887 * programs/gio-copy.c:
2888 * programs/gio-info.c:
2889 * programs/gio-move.c:
2890 Rename get_file_info to query_info() to make it clearer
2891 that these are not simple getters, but do i/o.
2893 2007-09-17 Alexander Larsson <alexl@redhat.com>
2895 * gio/gdatainputstream.[ch]:
2896 * gio/test-streams.c:
2897 Use _read_XXX instead of _get_XXX for the i/o calls
2900 2007-09-17 Alexander Larsson <alexl@redhat.com>
2903 Added needed stuff to TODO comment
2905 2007-09-17 Alexander Larsson <alexl@redhat.com>
2907 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2908 Don't error out removing the backup copy if it doesn't
2911 2007-09-14 Alexander Larsson <alexl@redhat.com>
2913 * programs/Makefile.am:
2914 * programs/gvfs-*.c:
2916 Renamed apps from gvfs-xxx to gio-xxx.
2918 2007-09-14 Alexander Larsson <alexl@redhat.com>
2921 * gio/gfileoutputstream.[ch]:
2922 * gio/glocalfileoutputstream.c:
2923 * programs/gvfs-save.c:
2924 g_file_output_stream_get_etag doesn't do i/o, so remove
2925 cancellation and error.
2927 2007-09-14 Alexander Larsson <alexl@redhat.com>
2930 Add new_etag output to replace_contents functions
2932 2007-09-14 Alexander Larsson <alexl@redhat.com>
2934 * gio/gfileoutputstream.[ch]:
2935 Add async get_file_info and default implementation
2937 2007-09-14 Alexander Larsson <alexl@redhat.com>
2939 * gio/gfileinputstream.c:
2940 Implement fallback wrapper for async get_file_info
2942 2007-09-14 Alexander Larsson <alexl@redhat.com>
2945 Add etag out argument to load_contents
2950 2007-09-14 Alexander Larsson <alexl@redhat.com>
2952 * gio/gcontenttype.c (looks_like_text):
2953 Whitespace like tab, cr and lf do not make the
2956 2007-09-14 Alexander Larsson <alexl@redhat.com>
2958 * gio/gfileinputstream.[ch]:
2959 Add async get_file_info.
2961 2007-09-13 Alexander Larsson <alexl@redhat.com>
2963 * gio/goutputstream.c (g_output_stream_write_all):
2964 Allow NULL for bytes_written
2966 2007-09-13 Alexander Larsson <alexl@redhat.com>
2968 * gio/gmemoryinputstream.[ch]:
2969 Add accessors for data
2971 2007-09-13 Alexander Larsson <alexl@redhat.com>
2973 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2974 Don't crash if length is NULL