1 2008-01-16 Murray Cumming <murrayc@murrayc.com>
11 * gunixmounts.c: Corrected some typos in the documentation:
13 its -> it's (where appropriate).
15 2008-01-16 Alexander Larsson <alexl@redhat.com>
19 Add g_file_query_exists (#508771)
21 2008-01-15 Murray Cumming <murrayc@murrayc.com>
26 * gvolume.c: For async functions that have no non-async
27 version, document that the GAsyncReadyCallback may be NULL.
30 2008-01-15 Alexander Larsson <alexl@redhat.com>
32 * gmemoryinputstream.c:
33 * gmemoryoutputstream.c:
34 Don't do pointer arithmetic on void * (#508602)
35 Patch from Kazuki IWAMOTO
37 2008-01-14 Matthias Clasen <mclasen@redhat.com>
39 * === Released 2.15.2 ===
41 2008-01-14 Alexander Larsson <alexl@redhat.com>
43 * gfile.c (g_file_monitor_file):
44 Don't set error here, since we fallback to polling monitor.
46 2008-01-14 Alexander Larsson <alexl@redhat.com>
49 (g_file_monitor_directory):
50 (g_file_monitor_file):
51 Add GError to file monitor calls
53 * glocaldirectorymonitor.c:
54 * glocaldirectorymonitor.h:
56 * glocalfilemonitor.c:
57 * glocalfilemonitor.h:
59 Update for above change
61 2008-01-14 Alexander Larsson <alexl@redhat.com>
65 Handle root correctly in g_file_get_relative_path (#508719)
67 2008-01-14 Alexander Larsson <alexl@redhat.com>
70 Clean up docs and example for GAsyncResult (#508074)
72 2008-01-11 Murray Cumming <murrayc@murrayc.com>
74 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
75 and correct some spelling mistakes. Bug #508108.
77 2008-01-11 Matthias Clasen <mclasen@redhat.com>
79 * glocalfileinfo.c: Add a comment.
81 2008-01-10 Murray Cumming <murrayc@murrayc.com>
83 * gfileinfo.c: GFileInfo description: Mention
84 how to actually set attributes in a GFile and how to discover
85 which attributes are settable. Bug #508378.
87 2008-01-10 A. Walton <awalton@svn.gnome.org>
89 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
90 (g_app_info_get_default_for_type):
91 Check for NULL content types.
93 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
95 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
97 2008-01-09 Murray Cumming <murrayc@murrayc.com>
99 * gfile.c: *_async() functions: Several small corrections
100 to the documentation, mostly correcting copy/paste errors
101 and improving some sentences.
103 2008-01-09 Dan Winship <danw@gnome.org>
105 * glocalfile.c (get_unique_filename): x86_64 fix
107 2008-01-09 Alexander Larsson <alexl@redhat.com>
112 Add g_unix_mount_guess_should_display and use
113 for unix volume monitor backend.
114 This means we more or less show what the
115 gnome-vfs backend did.
116 Based on patch from Padraig O'Briain
118 2008-01-09 Alexander Larsson <alexl@redhat.com>
122 Add g_themed_icon_new_with_default_fallbacks
125 Use default fallbacks for icons
127 2008-01-09 Alexander Larsson <alexl@redhat.com>
130 * gmountoperation.[ch]:
131 Change the API a bit so that unhandled methods
132 get reported via the reply, rather than by
133 the signal emission return value. This is because
134 some handlers can't know this immediately without
135 doing I/O, and this is an async operation that
138 2008-01-09 Alexander Larsson <alexl@redhat.com>
141 * fam/gfamdirectorymonitor.c:
142 * fam/gfamfilemonitor.c:
143 Fix double free crash (#508224)
144 Patch from Joe Marcus Clarke
146 008-01-07 Matthias Clasen <mclasen@redhat.com>
148 * === Released 2.15.1 ===
150 2008-01-07 Alexander Larsson <alexl@redhat.com>
152 * gunixinputstream.c (g_unix_input_stream_skip_finish):
153 Fix warning (#507835)
155 2008-01-07 Alexander Larsson <alexl@redhat.com>
158 Pass --internal to glib-genmarshal
163 Use better types for signal arguments (#507822)
165 2008-01-07 Alexander Larsson <alexl@redhat.com>
168 Build test subdir after .
169 Remove gdirectorymonitor.[ch]
171 * gdirectorymonitor.[ch]:
175 Remove GDirectoryMonitor and make
176 GFileMonitor the baseclass for both file and
177 directory monitors. Lift the more generic
178 rate limiting code from GDirectoryMonitor
182 * fam/gfamdirectorymonitor.[ch]:
183 * inotify/ginotifydirectorymonitor.[ch]:
184 * inotify/inotify-helper.c:
185 * glocaldirectorymonitor.[ch]:
188 Update for the removed GDirectoryMonitor.
190 * gmemoryoutputstream.c:
191 Remove ununsed variable
193 2008-01-07 Alexander Larsson <alexl@redhat.com>
195 * gmemoryinputstream.c:
196 Translate error strings
199 * gmemoryoutputstream.[ch]:
200 New implementation that avoids using GByteArray
201 in implementation and API. (#506377)
203 2008-01-06 Matthias Clasen <mclasen@redhat.com>
205 * tests/*: Add a test for memory input streams.
207 * Makefile.am: Add tests to SUBDIRS.
209 2008-01-06 Matthias Clasen <mclasen@redhat.com>
211 * glocalfilemonitor.c:
212 * glocaldirectorymonitor.c: Mark property nicks and blurbs
215 2008-01-06 Matthias Clasen <mclasen@redhat.com>
217 * gdesktopappinfo.c: Fix a docs typo.
219 * gfileattribute.c: Add information about extended attributes
220 to the documentation. (#505058)
222 2008-01-04 Alexander Larsson <alexl@redhat.com>
226 Use the right type (uint) for the ask_password signal.
228 2008-01-04 Alexander Larsson <alexl@redhat.com>
233 Add g_app_info_supports_files()
234 Remove desktop arg from g_app_info_should_show().
236 * gdesktopappinfo.[ch]:
237 Implement g_app_info_supports_files() and new should_show()
238 Add g_desktop_app_info_set_desktop_env() to set the desktop
239 for should_show(). (This will be set by gtk+ later)
241 2008-01-04 Alexander Larsson <alexl@redhat.com>
244 * gmemoryinputstream.[ch]:
245 Improve API so that you can use multiple chunks
246 of memory and custom destroy functions. (#506374)
248 2008-01-03 Alexander Larsson <alexl@redhat.com>
251 Handle NULL attribute matchers safely, as we return this
252 for empty attribute matcher strings.
254 2008-01-03 Alexander Larsson <alexl@redhat.com>
256 * gunixmounts.c (g_unix_is_mount_path_system_internal):
257 Add /usr/local to list of internal mountpoints
259 2008-01-03 Alexander Larsson <alexl@redhat.com>
262 Check for HAVE_LCHOWN (#505887)
264 2008-01-03 Alexander Larsson <alexl@redhat.com>
268 Add define for selinux context attribute.
269 Fix missing : -> :: namespace separator change
270 Fix missing _ -> - name change for xattr-sys.
273 2008-01-03 Alexander Larsson <alexl@redhat.com>
276 Link to libglib and libgobject directly (#504879)
277 Patch from Sebastien Bacher
279 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
281 * gfile.c: Expanded the g_file_new_for_commandline_arg
282 description a bit, based on the code and the docs of the
283 other g_file_new_for_* functions.
285 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
287 * gfilemonitor.h: Fixed typo in docs.
289 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
291 Updates to GIO documentation. (#506395, Mikael Hermansson)
293 * gcontenttype.c: Describe memory management for return value of
294 g_content_types_get_registered(). Missing piece from #505815.
295 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
296 GVolume, GDrive, GMounts, which hopefully gives the user less
297 confusions when using this API. Following explainations from
298 Alexander Larsson on gtk-devel-list.
300 2007-12-30 Matthias Clasen <mclasen@redhat.com>
302 * gfileinfo.c: Expand the long description.
304 2007-12-30 Matthias Clasen <mclasen@redhat.com>
307 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
308 fix builds with --disable-visibility. (#500273, Christian Persch)
310 2007-12-30 Matthias Clasen <mclasen@redhat.com>
312 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
313 in the list of returned app infos.
315 2007-12-30 Matthias Clasen <mclasen@redhat.com>
317 * gappinfo.c: Fix a cross-reference
319 2007-12-30 Matthias Clasen <mclasen@redhat.com>
321 * gfileinputstream.c:
322 * gfileoutputstream.c:
328 * gfileinfo.c: Documentation updates.
330 2007-12-26 Matthias Clasen <mclasen@redhat.com>
332 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
335 2007-12-26 Matthias Clasen <mclasen@redhat.com>
337 * gcontenttype.c (g_content_types_get_registered): Don't return
338 freed memory (#505815, Mikael Hermansson)
340 2007-12-25 Paolo Borelli <pborelli@katamail.com>
342 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
343 used to detect statbuf->st_blocks. (#505042)
345 2007-12-24 Matthias Clasen <mclasen@redhat.com>
347 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
348 environment handling. (#504829, Cosimo Cecchi)
350 2007-12-22 Matthias Clasen <mclasen@redhat.com>
352 * gappinfo.c: Doc improvements
354 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
357 2007-12-20 Matthias Clasen <mclasen@redhat.com>
359 * === Released 2.15.0 ===
361 2007-12-20 Hans Breuer <hans@breuer.org>
363 * makefile.msc : don't build gdesktopappinfo.obj, it collides
364 with symbols gwin32appinfo.obj, added gmount.obj
365 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
367 2007-12-20 Alexander Larsson <alexl@redhat.com>
373 * gfilenamecompleter.c:
376 * gpollfilemonitor.c:
377 File attribute renames:
380 id::fs -> id::filesystem
382 2007-12-20 Alexander Larsson <alexl@redhat.com>
391 Add GMountUnmountFlags to all unmount and
393 Add g_mount_remount() call.
395 2007-12-20 Alexander Larsson <alexl@redhat.com>
397 * gvfs.c (get_default_vfs):
398 Fix unused variable warning
400 2007-12-19 Matthias Clasen <mclasen@redhat.com>
402 * pltcheck.sh: Update
404 2007-12-19 Matthias Clasen <mclasen@redhat.com>
406 * gunionvolumemonitor.c:
407 * gunixmount.c: Remove C99 comments
409 2007-12-19 Matthias Clasen <mclasen@redhat.com>
411 * gio.symbols: Add some missing symbols
413 2007-12-19 Alexander Larsson <alexl@redhat.com>
416 Make g_io_modules_load_all_in_directory not unuse
417 loaded modules so that users of it can do stuff
419 Init internal "module" types.
420 Initialize static prio and name for types so that
421 we don't have to load modules to get it.
423 * gnativevolumemonitor.h:
425 Move is_supported to parent class so that
426 non-native monitors can avoid being initialized
427 too. (For instance GDaemonVolumeMonitor if we're
428 not using GDaemonVfs.)
430 * glocaldirectorymonitor.[ch]:
431 * glocalfilemonitor.[ch]:
432 * gunionvolumemonitor.c:
433 * gunixvolumemonitor.c:
435 Find plugins using the static prio+name to
436 avoid unnecessarily loading the modules.
438 2007-12-19 Alexander Larsson <alexl@redhat.com>
443 2007-12-19 Alexander Larsson <alexl@redhat.com>
445 * gunionvolumemonitor.c:
446 Store the native type as GType, not class so that
447 we can unload it. But still avoid unnecessarily
450 2007-12-19 David Zeuthen <davidz@redhat.com>
452 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
453 add signals 'disconnected' and 'eject-button' on GDrive. Add
454 signal 'removed' on GVolume and 'unmounted' on GMount.
456 * gdrive.c: (g_drive_base_init):
458 * gfile.c: (g_file_mount_mountable),
459 (g_file_mount_enclosing_volume):
462 * gmount.c: (g_mount_base_init):
464 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
465 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
466 * gvolume.c: (g_volume_base_init), (g_volume_mount):
470 2007-12-17 Matthias Clasen <mclasen@redhat.com>
472 * *.c: Fix up includes in the section docs.
474 2007-12-17 Alexander Larsson <alexl@redhat.com>
476 * gnativevolumemonitor.h:
477 * gunionvolumemonitor.c:
478 * gunixvolumemonitor.c:
479 Add is_supported() to GNativeVolumeMonitorClass so
480 that we can avoid having to create an object to see
481 if the backend is supported at runtime.
482 Also add name member and an env var to pick a specific
483 volume monitor backend.
487 Add cancellable to _g_mount_get_for_mount_path()
489 * glocaldirectorymonitor.c:
490 * glocalfilemonitor.c:
491 Avoid loading and unloading modules while sorting.
493 2007-12-17 Matthias Clasen <mclasen@redhat.com>
496 * gunixmounts.[hc]: Namespace waste reduction, move some
497 g_get_unix_mount functions to the g_unix_mount namespace.
500 * gunixvolumemonitor.c:
502 * glocaldirectorymonitor.c: Update all callers.
504 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
506 2007-12-17 Alexander Larsson <alexl@redhat.com>
509 Add doc comments about what GFile operations are
510 guaranteed to not block.
512 2007-12-17 Alexander Larsson <alexl@redhat.com>
515 Add missing #ifdef fixing OSX build.
516 (#503334, patch from Richard Hult)
518 2007-12-14 David Zeuthen <davidz@redhat.com>
522 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
523 (g_mount_eject), (g_mount_eject_finish):
525 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
526 (get_volume_for_uuid), (get_mount_for_uuid),
527 (g_union_volume_monitor_class_init),
528 (get_default_native_type_with_exclude), (get_default_native_type),
529 (get_native_type), (update_native_type),
530 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
531 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
532 (g_unix_mount_can_eject), (eject_unmount_cb),
533 (eject_unmount_read_error), (eject_unmount_do),
534 (g_unix_mount_unmount), (g_unix_mount_eject),
535 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
536 * gunixmounts.c: (g_unix_mount_guess_can_eject),
537 (g_unix_mount_point_guess_can_eject):
539 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
540 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
541 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
542 (g_unix_volume_mount), (g_unix_volume_eject),
543 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
544 * gunixvolumemonitor.c: (get_volume_for_uuid),
545 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
547 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
548 (g_volume_eject), (g_volume_eject_finish):
550 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
551 (g_volume_monitor_get_mount_for_uuid):
554 Provide eject() on both GMount and GVolume and utility functions
555 to guess whether a GUnixMountPoint or GUnixMountEntry should be
556 ejected. Introduce the concept of UUID's and wire it into GVolume
557 and GMount and provide API on GVolumeMonitor to find such
558 instances. Also handle the case where an external
559 GNativeVolumeMonitor fails to initialize. Lock around the
560 _g_get_mount_for_mount_path() function such that volume monitor
561 implementations won't have to do locking themselves.
563 2007-12-17 Matthias Clasen <mclasen@redhat.com>
571 * gvolume.h: Documentation updates
573 2007-12-14 Matthias Clasen <mclasen@redhat.com>
576 * gfile.h: Doc updates
578 2007-12-14 Matthias Clasen <mclasen@redhat.com>
581 * gdesktopappinfo.c: Use hash table iterators.
583 2007-12-14 Alexander Larsson <alexl@redhat.com>
586 * gfileattribute.[ch]:
587 * gfileattribute-priv.h:
588 Move GFileAttributeValue to a private header, as
592 Make set_attribute take a type + a pointer instead
593 of a GFileAttributeValue.
596 Fix up for above changes.
597 Add g_file_info_get_attribute_data to get
598 all info in one call, g_file_info_get_attribute_status
599 to get the status and g_file_info_get_attribute_as_string.
603 * glocalfileinfo.[ch]:
607 Make _guess_type static.
609 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
612 * inotify/Makefile.am: Fixed build when srcdir != builddir,
613 made mkenums and friends use temporary files to avoid leaving
614 empty generated files on failure (#503470).
616 2007-12-14 Alexander Larsson <alexl@redhat.com>
621 2007-12-14 Alexander Larsson <alexl@redhat.com>
625 * gfileattribute.[ch]:
628 * glocalfileoutputstream.c:
629 * gmountoperation.[ch]:
630 * goutputstream.[ch]:
631 Clean up all flags enums to not have _FLAGS in them
632 Make the names of some of the enums better.
637 2007-12-14 Michael Natterer <mitch@imendio.com>
639 * gio.symbols: fix g_io_scheduler symbol names.
641 2007-12-14 Alexander Larsson <alexl@redhat.com>
647 * gbufferedinputstream.h:
648 * gbufferedoutputstream.h:
651 * gdatainputstream.h:
652 * gdataoutputstream.h:
654 * gdirectorymonitor.h:
661 * gfileinputstream.h:
663 * gfilenamecompleter.h:
664 * gfileoutputstream.h:
665 * gfilterinputstream.h:
666 * gfilteroutputstream.h:
674 * gmemoryinputstream.h:
675 * gmemoryoutputstream.h:
680 * gsimpleasyncresult.h:
682 * gunixinputstream.h:
684 * gunixoutputstream.h:
688 * inotify/Makefile.am:
689 Only allow including <gio/gio.h> from apps
691 2007-12-14 Alexander Larsson <alexl@redhat.com>
694 * gsimpleasyncresult.c:
695 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
696 Split out the send_to_mainloop call into two versions instead
697 of having the block argument.
699 2007-12-13 Alexander Larsson <alexl@redhat.com>
703 * gbufferedinputstream.c:
705 * gfileinputstream.c:
706 * gfileoutputstream.c:
710 g_push/pop_current_cancellable ->
711 g_cancellable_push/pop_current
713 2007-12-13 Alexander Larsson <alexl@redhat.com>
717 Rename g_mount_for_location to g_file_mount_enclosing_volume.
719 2007-12-13 Alexander Larsson <alexl@redhat.com>
722 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
724 2007-12-12 Alexander Larsson <alexl@redhat.com>
727 Fix race condition when freeing proxy in
728 g_io_job_send_to_mainloop().
730 2007-12-12 Alexander Larsson <alexl@redhat.com>
736 Make attribute namespace separator "::" instead of ":".
737 Use - instead of _ as separator in attribute names.
739 2007-12-12 Alexander Larsson <alexl@redhat.com>
741 * gbufferedinputstream.h:
742 * gbufferedoutputstream.h:
743 * gdatainputstream.h:
744 * gdataoutputstream.h:
745 * gdirectorymonitor.h:
747 * gfileinputstream.h:
749 * gfileoutputstream.h:
750 * gfilterinputstream.h:
751 * gfilteroutputstream.h:
753 * glocalfileinputstream.h:
754 * glocalfileoutputstream.h:
755 * gmemoryinputstream.h:
756 * gmemoryoutputstream.h:
757 * gnativevolumemonitor.h:
759 * gunixinputstream.h:
760 * gunixoutputstream.h:
763 s/parent/parent_instance/ in GObjects
765 2007-12-12 Alexander Larsson <alexl@redhat.com>
770 No need for padding for interfaces
772 2007-12-12 Alexander Larsson <alexl@redhat.com>
776 * gbufferedinputstream.c:
777 * gbufferedoutputstream.c:
780 * gdatainputstream.[ch]:
782 * gdirectorymonitor.c:
784 * gfileattribute.[ch]:
787 * gfileinputstream.h:
789 * gfileoutputstream.[ch]:
790 * gfilterinputstream.h:
791 * gfilteroutputstream.h:
794 * gloadableicon.[ch]:
795 * gmemoryinputstream.c:
798 Fix up a bunch of details in the docs.
803 2007-12-11 David Zeuthen <davidz@redhat.com>
805 Rework how volumes, drives and volume monitoring is
806 done. Previosly the model was
810 where a GDrive instance represented a mount point and a GVolume
811 instance represented a mounted file system. This patch changes it
814 GDrive <1-N> GVolume <1-1> GMount
816 where GMount now serves the purpose of the old GVolume and the new
817 GVolume serves the purpose of the old GDrive. In addition the new
818 GDrive interface is used to represent a collection of GVolume
819 instances (typically partitions) and also contains utility to query
820 the state of the physical drive the GDrive object represents (such
821 as checking for media, polling the drive, ejecting the media etc.).
823 Also implement mounting and unmounting in the Unix volume monitor
824 backend. A subquent patch will introduce GDrive support for ejection
828 * gdrive.c: (g_drive_is_media_check_automatic),
829 (g_drive_is_media_removable), (g_drive_has_media),
830 (g_drive_can_poll_for_media), (g_drive_eject),
831 (g_drive_eject_finish), (g_drive_poll_for_media),
832 (g_drive_poll_for_media_finish):
834 * gfile.c: (g_file_find_enclosing_mount):
837 * glocaldirectorymonitor.c:
838 (g_local_directory_monitor_constructor), (mounts_changed):
839 * glocalfile.c: (get_mount_info),
840 (g_local_file_find_enclosing_mount),
841 (g_local_file_file_iface_init):
842 * gnativevolumemonitor.h:
843 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
844 (get_connected_drives), (g_union_volume_monitor_class_init),
845 (child_volume_added), (child_volume_removed),
846 (child_volume_changed), (child_mount_added), (child_mount_removed),
847 (child_mount_pre_unmount), (child_mount_changed),
848 (child_drive_changed), (g_union_volume_monitor_add_monitor),
849 (g_union_volume_monitor_remove_monitor),
850 (_g_mount_get_for_mount_path):
851 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
852 (guess_system_internal), (_g_get_unix_mounts),
853 (_g_get_unix_mount_points), (g_get_unix_mount_at),
854 (g_unix_mount_free), (g_unix_mount_compare),
855 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
856 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
857 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
858 (type_to_icon), (g_unix_mount_guess_name),
859 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
860 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
861 (_resolve_symlink), (_resolve_dev_root):
863 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
864 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
865 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
866 (g_unix_volume_get_name), (g_unix_volume_can_mount),
867 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
868 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
869 (g_unix_volume_mount), (g_unix_volume_mount_finish),
870 (g_unix_volume_volume_iface_init):
872 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
873 (get_mounts), (get_volumes), (get_connected_drives),
874 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
875 (mountpoints_changed), (mounts_changed),
876 (g_unix_volume_monitor_init),
877 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
878 (find_mount_by_mountpath), (update_volumes), (update_mounts):
879 * gunixvolumemonitor.h:
880 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
881 (g_volume_mount), (g_volume_mount_finish):
883 * gvolumemonitor.c: (g_volume_monitor_class_init),
884 (g_volume_monitor_get_connected_drives),
885 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
888 2007-12-10 Matthias Clasen <mclasen@redhat.com>
890 * gmountoperation.h (GPasswordFlags): Close the gap
892 2007-12-10 Matthias Clasen <mclasen@redhat.com>
894 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
896 * gdesktopappinfo.[hc]: Remove _-prefixes
898 2007-12-10 Tor Lillqvist <tml@novell.com>
900 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
903 2007-12-10 Alexander Larsson <alexl@redhat.com>
905 * gfile.c (g_file_set_display_name):
906 Don't hardcode '/' (#502727)
908 2007-12-09 Hans Breuer <hans@breuer.org>
910 * makefile.msc : follow lib naming convention
911 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
912 for user and group name, tested with ../tests/gio-ls
914 2007-12-09 A. Walton <awalton@svn.gnome.org>
927 * gmemoryinputstream.c:
928 * gmemoryoutputstream.c:
930 * gsimpleasyncresult.c:
931 More documentation cleanup and filling in missing information, bringing
932 GIO to 99% symbol coverage.
934 2007-12-08 Hans Breuer <hans@breuer.org>
936 [gio compiles and links on win32, not sure how much already works]
937 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
938 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
939 base on win32 API; prefer g_lstat() over lstat(); instead of
940 localtime_r() use an all GLib implementation on win32;
941 get_mount_info() still needs a win32 specifc implementation
942 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
943 win32_get_file_user_info to get owner/group info without uid/gid
944 * glocalfileinputstream.c : include <io.h> on win32
945 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
946 definition, use g_win32_ftruncate() for G_OS_WIN32
947 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
948 it is available with mingw/w32api but a mess with the M$ Platform SDKs
949 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
950 * makefile.msc : updated
952 2007-12-07 Alexander Larsson <alexl@redhat.com>
954 * glocalfileenumerator.c (_g_local_file_enumerator_new):
955 Avoid warning spew if error == NULL
957 2007-12-07 Alexander Larsson <alexl@redhat.com>
960 Update docs wrt etags
962 2007-12-06 Alexander Larsson <alexl@redhat.com>
965 Include sys/types.h for dev_t (#501919)
967 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
971 Make abicheck and pltcheck pass.
973 2007-12-05 Alexander Larsson <alexl@redhat.com>
976 * giomodule-priv.h: Added.
977 * glocaldirectorymonitor.c:
978 * glocalfilemonitor.c:
979 * gunionvolumemonitor.c:
981 Actually add the declaration of _g_io_modules_ensure_loaded
983 2007-12-05 Alexander Larsson <alexl@redhat.com>
985 * gdatainputstream.c:
990 * glocaldirectorymonitor.c:
991 * glocalfilemonitor.c:
992 * gunionvolumemonitor.c:
994 Make g_io_modules_ensure_loaded a private function and
995 don't pass in the dirname. This means we can do magic
996 directory finding in the win32 version.
997 Export the actual load-modules-in-directory code so that
1000 2007-12-05 Alexander Larsson <alexl@redhat.com>
1002 * gbufferedinputstream.c:
1003 * gbufferedoutputstream.c:
1006 * gfileenumerator.[ch]:
1007 * gfileinputstream.c:
1008 * gfileoutputstream.[ch]:
1009 * gfilterinputstream.c:
1010 * gfilteroutputstream.c:
1011 * ginputstream.[ch]:
1013 * glocalfileenumerator.c:
1014 * glocalfileinputstream.c:
1015 * glocalfileoutputstream.c:
1016 * gmemoryinputstream.c:
1017 * gmemoryoutputstream.c:
1018 * goutputstream.[ch]:
1021 * gunixinputstream.c:
1022 * gunixoutputstream.c:
1023 Rename all struct members named:
1024 read, write, close, truncate, or mount
1025 to foo_fn, as these are reserved names
1026 and could be defined as macros in libc.
1029 2007-12-04 Alexander Larsson <alexl@redhat.com>
1032 (g_output_stream_close):
1033 Only call flush if non-null.
1035 2007-11-30 Dan Winship <danw@gnome.org>
1037 * ginputstream.c (g_input_stream_set_pending): Make this take a
1038 GError and return a gboolean, and do the "outstanding operation"
1039 check (and the "stream is already closed" check) itself.
1040 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1042 * goutputstream.c (g_output_stream_set_pending)
1043 (g_output_stream_clear_pending): Likewise
1045 * gbufferedinputstream.c:
1046 * gfileinputstream.c:
1047 * gfileoutputstream.c: Update for that
1049 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1050 Like g_simple_async_report_error_in_idle, but takes a GError
1051 rather than building one.
1053 2007-11-30 Dan Winship <danw@gnome.org>
1055 * goutputstream.c: Don't cheat and unset the "pending" flag around
1056 inner calls. Instead, call the class method directly rather than
1057 the wrapper function that checks "pending"
1059 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1061 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1063 2007-12-03 Hans Breuer <hans@breuer.org>
1065 [start of port to win32/msvc]
1066 * gcancellable.c : HAVE_UNIST_H and _pipe()
1067 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1068 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1069 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1071 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1072 * glocalvfs.c : use HAVE_PWD_H
1073 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1074 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1075 * Makefile.am : added to EXTRA_DIST
1077 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1079 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1082 2007-12-03 Alexander Larsson <alexl@redhat.com>
1085 Handle OSX style xattrs API (#500506)
1087 2007-12-03 Alexander Larsson <alexl@redhat.com>
1091 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1093 2007-12-02 A. Walton <awalton@svn.gnome.org>
1097 Documentation accuracy fixes.
1099 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1101 * gioenumtypes.c.template: Fix typo.
1103 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1105 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1107 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1109 * gdirectorymonitor.c:
1110 * gfilemonitor.c: Add properties
1112 * gbufferedoutputstream.c: Don't mark buffer-size property
1115 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1117 * gbufferedoutputstream.c: Add auto-grow property.
1119 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1121 * *.c: Unify the capitalization of section headings.
1123 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1125 * gmountoperation.c: Add properties
1127 * gdatainputstream.c: Turn byte-order and newline-type into
1130 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1132 * gioenumtypes.[hc].template: Templates for enum registration
1134 * Makefile.am: Generate gioenumtypes.[hc]
1136 * gio.h: Include gioenumtypes.h
1138 * gfile.h: Add some explicit nicks.
1140 * gio.symbols: Add new symbols
1142 * pltcheck.sh: Adjust
1144 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1146 * *.c: Explain etags and link to the explanation
1148 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1150 * *.c: Explain I/O priority.
1152 * *.c: More coding style fixes.
1154 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1156 * gasyncresult.c: Add another paragraph to the intro,
1157 adjust coding style of example.
1159 2007-11-29 A. Walton <awalton@svn.gnome.org>
1162 Fixes unknown meaning in GAppLaunchContext docs.
1164 Clarify asynchronous ops.
1166 Fix entity tag docs.
1169 Provides missing gtk-doc section, fixes API docs slighly.
1170 * gsimpleasyncresult.c:
1171 Fill in missing info in docs.
1172 * gunixinputstream.c:
1173 * gunixoutputstream.c:
1174 Be more expressive in short description.
1176 Remove gtk-doc stubs for non-public API.
1178 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1180 * *.c: Coding style fixups
1182 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1184 * inotify/inotify-helper.c: Don't export the lock from libgio.
1186 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1189 * abicheck.sh: Fix copy-and-paste leftovers
1191 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1193 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1195 2007-11-28 Alexander Larsson <alexl@redhat.com>
1199 Removed unnecessary file
1201 * gdesktopappinfo.[ch]:
1204 * glocaldirectorymonitor.[ch]:
1206 * glocalfileenumerator.[ch]:
1207 * glocalfileinputstream.[ch]:
1208 * glocalfilemonitor.[ch]:
1209 * glocalfileoutputstream.[ch]:
1211 * gnativevolumemonitor.c:
1212 * gpollfilemonitor.[ch]:
1213 * gunionvolumemonitor.[ch]:
1216 * gunixvolumemonitor.[ch]:
1219 * inotify/ginotifydirectorymonitor.[ch]:
1220 * inotify/ginotifyfilemonitor.[ch]:
1221 * inotify/inotify-helper.c:
1222 Append _ to all internal functions
1226 Export symbols needed for modules
1228 2007-11-28 Alexander Larsson <alexl@redhat.com>
1231 * abicheck.sh: Added.
1232 * makegioalias.pl: Added.
1233 * pltcheck.sh: Added.
1234 * gio.symbols: Added.
1237 Initial work on adding symbol handling.
1240 Correct ifdef guard name
1243 * inotify/Makefile.am:
1244 * xdgmime/Makefile.am:
1245 Include toplevel Makefile.decl
1247 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1249 * gcontenttype.c: Move doc comments to the unix section.
1251 * *.[hc]: More trivial doc corrections.
1253 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1255 * gpollfilemonitor.c:
1259 * gdesktopappinfo.c:
1264 * gdatainputstream.c:
1265 * gdatainputstream.h:
1266 * gdataoutputstream.c:
1267 * gdataoutputstream.h:
1268 * gfileinfo.h: Doc cleanups
1270 2007-11-28 Andre Klapper <a9016009@gmx.de>
1272 * gdesktopappinfo.c: Fix a typo.
1274 2007-11-27 Andre Klapper <a9016009@gmx.de>
1276 * glocalfileoutputstream.c: Fix a typo.
1278 2007-11-27 Alexander Larsson <alexl@redhat.com>
1281 Don't include removed headers
1283 2007-11-27 Alexander Larsson <alexl@redhat.com>
1286 * gsocketinputstream.[ch]: Removed.
1287 * gsocketoutputstream.[ch]: Removed.
1288 * gunixinputstream.[ch]: Added.
1289 * gunixoutputstream.[ch]: Added.
1290 Renamed GSocket*Stream to GUnix*Stream and made
1291 it unix-only, since its not really only for sockets
1292 and it only works on unix (but is highly useful there).
1294 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1300 * gbufferedinputstream.c:
1301 * gbufferedinputstream.h:
1302 * gbufferedoutputstream.c:
1303 * gbufferedoutputstream.h:
1307 * gdatainputstream.c:
1308 * gdatainputstream.h:
1309 * gdataoutputstream.c:
1310 * gdataoutputstream.h:
1311 * gdirectorymonitor.c:
1312 * gdirectorymonitor.h:
1319 * gfileenumerator.c:
1320 * gfileenumerator.h:
1325 * gfileinputstream.c:
1326 * gfileinputstream.h:
1329 * gfilenamecompleter.c:
1330 * gfilenamecompleter.h:
1331 * gfileoutputstream.c:
1332 * gfileoutputstream.h:
1333 * gfilterinputstream.c:
1334 * gfilterinputstream.h:
1335 * gfilteroutputstream.c:
1336 * gfilteroutputstream.h:
1349 * glocalfileoutputstream.c:
1350 * gmemoryinputstream.c:
1351 * gmemoryinputstream.h:
1352 * gmemoryoutputstream.c:
1353 * gmemoryoutputstream.h:
1354 * gmountoperation.c:
1355 * gmountoperation.h:
1358 * gpollfilemonitor.c:
1361 * gsimpleasyncresult.c:
1362 * gsimpleasyncresult.h:
1363 * gsocketinputstream.c:
1364 * gsocketinputstream.h:
1365 * gsocketoutputstream.c:
1366 * gsocketoutputstream.h:
1373 * gunixvolumemonitor.c:
1382 Bumps documentation to 93% symbol coverage, touching most
1383 of the public files. Fixes broken function documentation prototypes.
1384 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1385 gtk-doc headers in private files.
1387 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1389 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1390 (g_buffered_input_stream_read_byte):
1391 * gbufferedinputstream.h:
1392 New functions for efficient access to buffer and simple single byte
1395 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1396 (g_data_input_stream_read_until):
1397 * gdatainputstream.h:
1398 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1399 read_until with multiple stop chars.
1401 2007-11-27 Alexander Larsson <alexl@redhat.com>
1405 * inotify/Makefile.am:
1406 Use the user-specified giomoduledir
1408 2007-11-27 Alexander Larsson <alexl@redhat.com>
1412 Add catch-all gio.h header
1413 Don't install gdummyfile.h
1415 2007-11-26 Alexander Larsson <alexl@redhat.com>
1417 * Makefile.am (gioinclude_HEADERS):
1418 Remove trailing whitespace
1420 2007-11-26 Alexander Larsson <alexl@redhat.com>
1422 Merge gio-standalone into glib
1424 2007-11-25 Christian Kellner <gicmo@gnome.org>
1426 * gio/goutputstream.c:
1427 Fix small mistake in the docs.
1429 2007-11-21 Christian Persch <chpe@gnome.org>
1431 * gio/glocalfile.c: (g_local_file_trash):
1432 Convert filenames to UTF-8 for GError.
1433 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1434 as per xdg base dir spec.
1436 2007-11-21 Christian Persch <chpe@gnome.org>
1438 * gio/gdesktopappinfo.c:
1439 Use that g_key_file_to_data cannot fail.
1441 Use stock defines for the key file group and key names.
1444 2007-11-21 Alexander Larsson <alexl@redhat.com>
1447 (copy_stream_with_progress):
1448 Make sure we do a final progress callback with
1449 the full total size.
1451 2007-11-21 Alexander Larsson <alexl@redhat.com>
1454 Export g_file_copy_attributes
1455 Remove padding as its not needed for interfaces
1457 2007-11-20 Alexander Larsson <alexl@redhat.com>
1462 Add G_IO_ERROR_WOULD_MERGE for
1463 copy/move dir on dir with overwrite.
1465 2007-11-20 Alexander Larsson <alexl@redhat.com>
1468 * gio/glocalfileinfo.c:
1469 Add COPY_NAME (this is an optional
1470 non-modified utf8 version of the name) that
1473 2007-11-20 Alexander Larsson <alexl@redhat.com>
1475 * gio/glocalfileenumerator.c:
1476 Report errors as GIOError, not GFileError
1478 2007-11-16 Alexander Larsson <alexl@redhat.com>
1480 * gio/glocalfileoutputstream.c:
1481 * gio/gwin32appinfo.c:
1482 Fix typos in strings.
1483 Patch from Luca Ferretti <elle.uca@libero.it>
1485 2007-11-15 Alexander Larsson <alexl@redhat.com>
1488 Post release version bump
1490 === gio-standalone 0.1.2 ===
1492 2007-11-15 Alexander Larsson <alexl@redhat.com>
1494 * docs/reference/gio/Makefile.am:
1495 Fix up distcheck by removing weird
1501 2007-11-14 Alexander Larsson <alexl@redhat.com>
1503 * gio/gdesktopappinfo.c:
1504 * gio/glocaldirectorymonitor.c:
1506 * gio/glocalfileinfo.c:
1507 * gio/inotify/inotify-sub.c:
1508 * programs/gio-cat.c:
1509 * programs/gio-copy.c:
1510 * programs/gio-info.c:
1511 * programs/gio-ls.c:
1512 * programs/gio-monitor-dir.c:
1513 * programs/gio-monitor-file.c:
1514 * programs/gio-mount.c:
1515 * programs/gio-move.c:
1516 * programs/gio-rm.c:
1517 * programs/gio-save.c:
1518 * programs/gio-trash.c:
1519 Leak fixes from Kjartan Maraas
1521 2007-11-14 Alexander Larsson <alexl@redhat.com>
1523 * gio/fam/fam-helper.c:
1525 * gio/glocalfileinfo.c:
1529 * gio/inotify/inotify-diag.c:
1530 * gio/inotify/inotify-kernel.c:
1531 Various code cleanups from Kjartan Maraas
1533 2007-11-14 Alexander Larsson <alexl@redhat.com>
1535 * gio/gioscheduler.c:
1537 Set up threadpool so that we cache 2 unused
1538 idle threads for at 15 secs. This means we
1539 will reuse thread-local data (like dbus connections)
1542 2007-11-14 Alexander Larsson <alexl@redhat.com>
1544 * gio/fam/fam-helper.c:
1545 * gio/fam/gfamdirectorymonitor.c:
1546 * gio/fam/gfamfilemonitor.c:
1548 * gio/gcontenttype.c:
1549 * gio/gdatainputstream.c:
1550 * gio/gdataoutputstream.c:
1554 * gio/gfileattribute.h:
1555 * gio/gfileenumerator.c:
1557 * gio/ginputstream.c:
1560 * gio/glocalfileinfo.c:
1561 * gio/goutputstream.c:
1562 * gio/gpollfilemonitor.c:
1563 * gio/gsimpleasyncresult.c:
1564 * gio/gunixmounts.c:
1565 * gio/gunixmounts.h:
1566 * gio/inotify/ginotifydirectorymonitor.c:
1567 * gio/inotify/ginotifyfilemonitor.c:
1568 * gio/inotify/inotify-diag.c:
1569 * gio/inotify/inotify-kernel.c:
1570 * gio/inotify/inotify-path.c:
1572 * gio/test-streams.c:
1573 * programs/gio-info.c:
1574 * programs/gio-monitor-dir.c:
1575 * programs/gio-monitor-file.c:
1576 Various code cleanups from Kjartan Maraas
1578 2007-11-13 Alexander Larsson <alexl@redhat.com>
1581 Handle the uri-scheme calls for dummy files
1583 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1585 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1586 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1587 to avoid clash with the C++ keyword.
1589 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1591 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1592 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1594 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1596 * gio/glocaldirectorymonitor.c:
1597 * gio/glocalfilemonitor.c:
1598 * gio/gunionvolumemonitor.c:
1599 Don't use g_once_init_*() for initializations that could fail and
1600 could leave the initialization variable set to 0 but use GOnce.
1601 This prevents a deadlock on the second call when trying to create
1602 a monitor and no monitor type is available. Thanks to Sven Herzberg
1605 2007-11-11 Sven Herzberg <sven@imendio.com>
1607 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1608 #ifdef (make it work on MacOS X again)
1610 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1612 Fixes Changelog for last two commits (sorry guys).
1614 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1616 * gio/gbufferedinputstream.c:
1617 * gio/gdatainputstream.c:
1619 * gio/gfileoutputstream.c:
1620 * gio/gfilterinputstream.c:
1621 * gio/glocalfileinputstream.c:
1624 More consistency fixes in g*stream.c files.
1625 Significant clean of gfile's documentation, filling in of
1626 asynchronous operations documentation.
1628 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1630 * gio/gasyncresult.c:
1631 * gio/gbufferedinputstream.c:
1632 * gio/gbufferedoutputstream.c:
1633 * gio/gcancellable.c:
1634 * gio/gcontenttype.c:
1635 * gio/gdatainputstream.c:
1636 * gio/gdataoutputstream.c:
1637 * gio/gdesktopappinfo.c:
1640 * gio/gfileattribute.c:
1641 * gio/gio/gfileenumerator.c:
1643 * gio/gfileinputstream.c:
1644 * gio/gfilemonitor.c:
1645 * gio/gfileoutputstream.c:
1646 * gio/ginputstream.c:
1648 * gio/gioscheduler.c:
1649 * gio/gloadableicon.c:
1650 * gio/glocalfileoutputstream.c:
1651 * gio/gmemoryoutputstream.c:
1652 * gio/gmountoperation.c:
1653 * gio/goutputstream.c:
1655 * gio/gsimpleasyncresult.c:
1656 * gio/gunionvolumemonitor.c:
1657 * gio/gunixmounts.c:
1658 * gio/gunixvolume.c:
1662 * gio/gvolumemonitor.c:
1663 Updated documentation stubs, working towards consistency and
1666 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1668 * gio/gmemoryoutputstream.c:
1669 * gio/gmemoryoutputstream.h:
1670 Change g_memory_output_stream_set_free_on_close() to
1671 g_memory_output_stream_set_free_data() as this makes more sense and
1672 is more consistent with GMemoryInputStream.
1674 2007-11-07 Alexander Larsson <alexl@redhat.com>
1681 Change how we find the default vfs so that
1682 we can handle a gvfs failing to init
1684 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1686 * gio/gbufferedoutputstream.c:
1687 * gio/gdatainputstream.c:
1688 * gio/gdataoutputstream.c:
1689 * gio/gfileinputstream.c:
1690 * gio/gfileoutputstream.c:
1691 * gio/gfilterinputstream.c:
1692 * gio/gfilteroutputstream.c:
1693 * gio/ginputstream.c:
1694 * gio/gmemoryinputstream.c:
1695 * gio/gmemoryoutputstream.c:
1696 * gio/goutputstream.c:
1697 * gio/gsimpleasyncresult.c:
1698 * gio/gsocketinputstream.c:
1699 * gio/gsocketoutputstream.c:
1700 Add guards to the remaining public functions, add a TODO for
1701 an unimplemented function and remove some useless guards.
1703 2007-11-07 Alexander Larsson <alexl@redhat.com>
1706 Autoconf checks for the various types of
1707 getpwuid_r and getgrgid_r
1709 * gio/glocalfileinfo.c:
1710 Use the autoconf checks from above
1712 2007-11-07 Alexander Larsson <alexl@redhat.com>
1715 (g_local_file_query_filesystem_info):
1716 Some fixes for the statvfs case
1718 2007-11-07 Alexander Larsson <alexl@redhat.com>
1721 (g_local_file_query_filesystem_info):
1722 Pick the "best" of statfs / statvfs for the system
1723 if both are availible.
1725 2007-11-07 Alexander Larsson <alexl@redhat.com>
1727 Solaris fixes from Halton.Huo@Sun.COM:
1734 * gio/glocalfileinfo.c:
1735 Fix for solaris definition of getpwuid_r
1737 * gio/test-streams.c:
1738 Use G_GNUC_PRETTY_FUNCTION
1740 2007-11-07 Alexander Larsson <alexl@redhat.com>
1742 * gio/gdesktopappinfo.c:
1743 (update_default_list):
1744 Remove double semicolon.
1745 Patch from Jens Granseuer
1747 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1749 * docs/reference/gio/gio-sections.txt:
1750 * gio/gbufferedinputstream.c:
1751 * gio/gbufferedinputstream.h:
1752 * gio/gdatainputstream.c:
1753 * gio/gfileenumerator.c:
1754 * gio/gioscheduler.c:
1755 * gio/gunionvolumemonitor.c:
1757 * programs/gio-save.c:
1758 Fix typo: availible -> available. Unfortuntely this breaks API
1759 and ABI as g_buffered_input_stream_get_available() was renamed.
1761 * gio/gunixmounts.c:
1762 * gio/gbufferedinputstream.c:
1763 Add guards for public functions.
1765 2007-11-06 Ross Burton <ross@openedhand.com>
1767 * docs/reference/gio/Makefile.am:
1768 Fix invalid += usage which automake 1.10 doesn't like.
1770 2007-11-06 Alexander Larsson <alexl@redhat.com>
1773 (g_app_launch_context_class_init):
1776 Patch from Ross Burton
1778 2007-11-06 Alexander Larsson <alexl@redhat.com>
1781 Post release version bump
1783 === gio-standalone 0.1.1 ===
1785 2007-11-06 Alexander Larsson <alexl@redhat.com>
1788 Bump version to 0.1.1
1790 * gio/gsimpleasyncresult.c:
1791 (g_simple_async_result_set_from_error):
1792 Remove bogus g_return_if_fail
1794 2007-11-06 Alexander Larsson <alexl@redhat.com>
1797 The name is gio-standalone
1800 Add top src/builddir to includedir
1802 2007-11-06 Alexander Larsson <alexl@redhat.com>
1804 * docs/reference/gio/gio-sections.txt:
1806 * gio/gbufferedinputstream.c:
1807 * gio/gbufferedoutputstream.c:
1808 * gio/gcancellable.c:
1809 * gio/gdatainputstream.h:
1810 * gio/gdataoutputstream.c:
1811 * gio/gdataoutputstream.h:
1812 * gio/gdirectorymonitor.c:
1814 * gio/gfileattribute.c:
1815 * gio/gfileattribute.h:
1816 * gio/gfileenumerator.c:
1817 * gio/gfileenumerator.h:
1820 * gio/gfileinputstream.h:
1821 * gio/gfilemonitor.c:
1822 * gio/gfileoutputstream.h:
1823 * gio/glocalfilemonitor.h:
1824 * gio/glocalfileoutputstream.h:
1825 * gio/gmemoryinputstream.c:
1826 * gio/gmemoryoutputstream.c:
1827 * gio/gmountoperation.c:
1828 * gio/goutputstream.c:
1829 * gio/goutputstream.h:
1831 * gio/gsimpleasyncresult.c:
1832 * gio/gunixmounts.c:
1833 * gio/gunixmounts.h:
1835 * gio/inotify/inotify-helper.c:
1836 Fix gtk-doc warnings
1838 Patch from Ross Burton
1840 2007-11-06 Alexander Larsson <alexl@redhat.com>
1842 * gio/gfilenamecompleter.c:
1843 (g_filename_completer_get_completions):
1846 * gio/gunixvolume.c:
1847 Remove unused function
1849 Patches from Ross Burton
1851 2007-11-06 Alexander Larsson <alexl@redhat.com>
1856 Padding not needed for interfaces
1858 2007-11-06 Alexander Larsson <alexl@redhat.com>
1860 * gio/gfilemonitor.c:
1864 Make giotypes.h an internal file
1867 * gio/gbufferedinputstream.h:
1868 * gio/gbufferedoutputstream.h:
1869 * gio/gcancellable.h:
1870 * gio/gdatainputstream.h:
1871 * gio/gdataoutputstream.h:
1872 * gio/gdirectorymonitor.c:
1873 * gio/gdirectorymonitor.h:
1878 * gio/gfileattribute.h:
1879 * gio/gfileenumerator.h:
1884 * gio/gfilemonitor.c:
1885 * gio/gfilemonitor.h:
1886 * gio/gfilenamecompleter.c:
1887 * gio/gfilenamecompleter.h:
1888 * gio/gfilterinputstream.h:
1889 * gio/gfilteroutputstream.h:
1890 * gio/ginputstream.h:
1891 * gio/gmemoryinputstream.h:
1892 * gio/gmemoryoutputstream.h:
1893 * gio/gmountoperation.c:
1894 * gio/gmountoperation.h:
1895 * gio/gnativevolumemonitor.c:
1896 * gio/goutputstream.h:
1899 * gio/gsimpleasyncresult.c:
1900 * gio/gsimpleasyncresult.h:
1901 * gio/gsocketinputstream.h:
1902 * gio/gsocketoutputstream.h:
1903 * gio/gthemedicon.c:
1904 * gio/gthemedicon.h:
1908 * gio/gvolumemonitor.c:
1909 * gio/gvolumemonitor.h:
1910 Add padding in classes where it seems useful
1911 Don't include giotypes.h from public headers
1912 Move in Class definitions into c file where possible
1917 2007-11-06 Alexander Larsson <alexl@redhat.com>
1919 * docs/reference/gio/gio-docs.xml:
1920 Better structure for API docs
1922 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1925 * gio/gloadableicon.c:
1926 * gio/gsimpleasyncresult.c:
1927 * gio/gthemedicon.c:
1928 Add some more guards to public functions. Only files missing are now
1931 2007-11-06 Alexander Larsson <alexl@redhat.com>
1933 * docs/reference/gio/gio-docs.xml:
1934 Remove old files, add missing ones
1936 2007-11-06 Alexander Larsson <alexl@redhat.com>
1938 * docs/reference/gio/gio-sections.txt:
1941 Hide implementation classes
1943 * gio/gdriveprivate.h:
1944 * gio/gvolumeprivate.h:
1945 Remove non-existing function declarations
1947 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1950 Fix compilation warnings and add guards to the new functions.
1952 * gio/gasyncresult.c:
1954 Add guards to the public functions.
1957 Implement get_path().
1959 2007-11-06 Alexander Larsson <alexl@redhat.com>
1961 * gio/gfilenamecompleter.c:
1962 Make g_filename_completer_get_completions
1963 return char ** instead of GList for
1966 * docs/reference/gio/gio-docs.xml:
1967 * docs/reference/gio/gio-sections.txt:
1969 * gio/gasyncresult.c:
1970 * gio/gbufferedinputstream.c:
1971 * gio/gbufferedoutputstream.c:
1972 * gio/gcancellable.c:
1973 * gio/gcontenttype.c:
1974 * gio/gdatainputstream.c:
1975 * gio/gdataoutputstream.c:
1976 * gio/gdesktopappinfo.c:
1977 * gio/gdirectorymonitor.c:
1981 * gio/gfileattribute.c:
1982 * gio/gfileenumerator.c:
1985 * gio/gfileinputstream.c:
1986 * gio/gfilemonitor.c:
1987 * gio/gfilenamecompleter.c:
1988 * gio/gfilenamecompleter.h:
1989 * gio/gfileoutputstream.c:
1990 * gio/gfilterinputstream.c:
1992 * gio/ginputstream.c:
1994 * gio/gioscheduler.c:
1995 * gio/gloadableicon.c:
1996 * gio/glocaldirectorymonitor.c:
1998 * gio/glocalfileinputstream.c:
1999 * gio/glocalfilemonitor.c:
2000 * gio/glocalfileoutputstream.c:
2002 * gio/gmemoryinputstream.c:
2003 * gio/gmemoryoutputstream.c:
2004 * gio/gmountoperation.c:
2005 * gio/goutputstream.c:
2006 * gio/gpollfilemonitor.c:
2008 * gio/gsimpleasyncresult.c:
2009 * gio/gsocketinputstream.c:
2010 * gio/gsocketoutputstream.c:
2011 * gio/gthemedicon.c:
2012 * gio/gunionvolumemonitor.c:
2014 * gio/gunixmounts.c:
2015 * gio/gunixvolume.c:
2016 * gio/gunixvolumemonitor.c:
2020 * gio/gvolumemonitor.c:
2021 * gio/gwin32appinfo.c:
2022 Add (mostly stub) doc strings to public functions.
2023 Patch from Andrew Walton (awalton@gmail.com)
2025 2007-11-06 Alexander Larsson <alexl@redhat.com>
2027 * gio/gappinfo.[ch]:
2028 Added GAppLaunchContext object and pass that to launch.
2029 This allows simple implementation of both
2030 launch-on-screen and startup notification via a gtk+
2031 subclass of GAppLaunchContext
2033 * gio/gdesktopappinfo.c:
2034 Implement GAppLaunchContext API
2036 * gio/gwin32appinfo.c:
2039 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2041 * gio/gmountoperation.c:
2042 Add some guards to GMountOperation's public functions.
2044 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2048 * gio/gcancellable.c:
2049 * gio/gdirectorymonitor.c:
2051 * gio/gfileenumerator.c:
2052 * gio/gfilemonitor.c:,
2053 * gio/gfilenamecompleter.c:
2056 * gio/gioscheduler.c:
2060 * gio/gvolumemonitor.c:
2061 Add even more guards to various public functions.
2063 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2066 Add guards to the public functions of GAppInfo.
2068 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2070 * gio/gcontenttype.c:
2071 Add some more guards for public functions.
2073 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2075 * gio/fam/fam-module.c:
2076 * gio/fam/gfamdirectorymonitor.c:
2077 * gio/fam/gfamdirectorymonitor.h:
2078 * gio/fam/gfamfilemonitor.c:
2079 * gio/fam/gfamfilemonitor.h:
2080 * gio/inotify/ginotifydirectorymonitor.c:
2081 * gio/inotify/ginotifydirectorymonitor.h:
2082 * gio/inotify/ginotifyfilemonitor.c:
2083 * gio/inotify/ginotifyfilemonitor.h:
2084 Add proper copyright information and remove an unused variable
2085 in the GInotifyFileMonitor constructor.
2087 * gio/gcancellable.c:
2088 Add a guard for a public function and an assertion to prevent
2089 an undefined program state.
2091 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2093 * gio/gfileattribute.c:
2094 Don't run into an assertion if the given attribute value is NULL
2095 in g_file_attribute_value_get_*() but instead return a fallback
2096 value that makes sense in most situations. Passing them a attribute
2097 value with the wrong type will still run into an assertion.
2099 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2101 * gio/gfileattribute.c:
2103 Add even more guards to the public functions. Also fix the refcounting
2104 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2105 let g_file_info_list_attributes() filter the attributes by namespace
2106 instead of simply ignoring the namespace parameter.
2108 2007-11-03 Sven Herzberg <sven@imendio.com>
2110 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2111 (This makes gio work on MacOS X again)
2113 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2116 Build the gio subdirectory before the docs. Otherwise the build will
2119 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2120 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2121 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2122 Add guards to the public functions.
2124 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2126 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2127 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2128 to prevent a compiler warning.
2130 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2131 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2132 return something in the non-void function find_topdir_for().
2134 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2141 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2143 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2144 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2145 * gwin32appinfo.c (g_win32_app_info_launch):
2146 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2147 envp_for_startup_id, g_desktop_app_info_launch,
2148 g_desktop_app_info_launch_uris):
2150 Give an opaque 'startup_id' string instead of 'envp'.
2151 Support empty file lists for launching new windows.
2152 Fix infinite recursion bug when launching URIs.
2154 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2157 Add guard to the new g_file_get_uri_scheme() function.
2159 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2162 Convert a g_return_val_if_fail() to setting the GError instead as
2163 otherwise applications have to verify the parameter before otherwise
2164 and the parameter might come directly from the user.
2166 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2168 * gio/inotify/ginotify*.[ch]:
2169 Add missing copyright information.
2171 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2174 Add guards in the beginning of public functions to check for valid
2175 parameters and fix a bug in copy_stream_with_progress() that could've
2176 caused writing less bytes than reading.
2177 * gio/glocalfileinfo.c:
2178 Check for a NULL parameter and set the GError accordingly then.
2179 * gio/goutputstream.c:
2180 Fix the same bug as in gfile.c that could've caused writing less bytes
2181 than reading in g_output_stream_real_splice().
2183 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2186 Use the correct gvolumeprivate.h naming
2188 2007-11-01 Christian Kellner <gicmo@gnome.org>
2191 Remove leftover "$(daemon_sources)" entry.
2193 2007-11-01 Christian Kellner <gicmo@gnome.org>
2198 Add copyright information to source files.
2200 2007-11-01 Alexander Larsson <alexl@redhat.com>
2204 Add g_file_get_uri_scheme
2206 2007-11-01 Alexander Larsson <alexl@redhat.com>
2209 * gio/gdesktopappinfo.c:
2210 * gio/gwin32appinfo.c:
2211 Add g_app_info_get_default_for_uri_scheme.
2213 2007-11-01 Alexander Larsson <alexl@redhat.com>
2216 Correct filename for gdriveprivate.h
2218 2007-10-31 Alexander Larsson <alexl@redhat.com>
2221 Rename id:value to id:file
2224 * gio/glocalfileinfo.c:
2227 2007-10-31 Alexander Larsson <alexl@redhat.com>
2229 * gio/gunixvolume.c:
2231 Remove g_volume_get_platform_id, as thats not
2232 needed with the simpler union volume monitor
2234 2007-10-31 Alexander Larsson <alexl@redhat.com>
2237 * gio/guniondrive.[ch]: Removed.
2238 * gio/gunionvolume.[ch]: Removed.
2239 Remove GUnionDrive/Volume
2241 * gio/gunionvolumemonitor.c:
2242 Simplify union volume monitor, now we
2243 only have one native volume monitor and
2244 we use the actual volumes/drives from the
2245 child monitors instead of wrapping them
2247 * gio/gnativevolumemonitor.[ch]:
2248 Base class for native volume monitors.
2249 Includes priority and get_volume_for_mountpoint
2252 Add g_file_find_enclosing_volume
2255 Remove volume name fs attribute
2256 Add readonly fs attribute
2259 Implement readonly attribute
2260 remove volume name attribute
2261 Implement find_enclosing volume
2263 * gio/gunixmounts.c:
2264 Add a volume for "/".
2266 * gio/gunixvolume.[ch]:
2267 Set better name for /
2269 * gio/gunixvolumemonitor.[ch]:
2270 Derive from GNativeVolumeMonitor
2271 Implement get_volume_for_mountpoint
2274 GVolume typedef moved to gfile.h
2276 * gio/gvolumeprivate.h:
2277 Add g_volume_get_for_mount_path
2279 2007-10-31 Alexander Larsson <alexl@redhat.com>
2281 * gio/gunixmounts.[ch]:
2282 Add cache info to unix mount listers
2283 Make getmntent use threadsafe
2284 Add is_system_internal attribute for GUnixMount
2286 * gio/gunixvolume.c:
2287 (g_unix_volume_new):
2288 Use is_system_internal instead of own code
2290 * gio/glocaldirectorymonitor.c:
2291 * gio/gunixvolumemonitor.c:
2292 Update to new gunixmounts API
2297 2007-10-30 Alexander Larsson <alexl@redhat.com>
2300 Add volume name fsinfo attribute
2303 Read volume name info
2305 * gio/gunionvolumemonitor.c:
2306 Fix infinite loops when finalizing a union volume monitor
2308 2007-10-30 Alexander Larsson <alexl@redhat.com>
2310 * gio/goutputstream.[ch]:
2311 Add splice() with default implementation
2313 * gio/gsocketoutputstream.c:
2314 (g_socket_output_stream_write):
2315 Return error on cancellation correctly.
2317 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2319 * gio/glocalfile.c (g_local_file_trash):
2320 Do not leak a string.
2322 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2324 * gio/gfile.c (g_file_load_contents):
2325 Unref the stream after closing it.
2327 2007-10-25 Alexander Larsson <alexl@redhat.com>
2329 * gio/gioscheduler.h:
2332 2007-10-25 Alexander Larsson <alexl@redhat.com>
2336 Add g_file_has_uri_scheme and implement for local files
2338 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2340 * gio/gdesktopappinfo.c: do not leak a string.
2342 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2344 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2345 (g_local_directory_monitor_new):
2346 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2347 (g_local_file_monitor_new):
2348 Only look for the monitor type that should be used the first time
2349 and use g_qsort_with_data() instead of our own bubble sort
2352 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2355 * gio/fam/Makefile.am:
2356 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2357 * gio/fam/fam-helper.h:
2358 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2359 * gio/fam/gfamdirectorymonitor.c:
2360 * gio/fam/gfamdirectorymonitor.h:
2361 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2362 * gio/fam/gfamfilemonitor.h:
2363 * gio/glocaldirectorymonitor.c:
2364 * gio/glocaldirectorymonitor.h:
2365 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2366 * gio/glocalfilemonitor.h:
2367 * gio/inotify/Makefile.am:
2368 * gio/inotify/ginotifydirectorymonitor.c:
2369 * gio/inotify/ginotifydirectorymonitor.h:
2370 * gio/inotify/ginotifyfilemonitor.c:
2371 * gio/inotify/ginotifyfilemonitor.h:
2372 Implement the FAM and Inotify monitors as
2373 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2374 their own GIO module. GLocal(Directory|File)Monitor will use the
2375 monitor with the highest rank that is supported on that machine.
2377 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2380 Change GIO module dir to $(libdir)/gio/modules and change
2381 the log domain from GVFS to GIO. Also only export symbols starting
2382 with g_ in the resulting library.
2383 * gio/test-streams.c: (main):
2384 Set log handler for the GIO log domain.
2386 2007-10-22 Alexander Larsson <alexl@redhat.com>
2388 * gio/gfilenamecompleter.[ch]:
2389 Add g_filename_completer_set_dirs_only
2391 2007-10-22 Alexander Larsson <alexl@redhat.com>
2394 * gio/gurifuncs.[ch]:
2395 Add some simple URI helpers
2397 * gio/gfilenamecompleter.[ch]:
2398 Added object for filename (parse name actually) completion
2401 Handle ~ in parse names
2403 2007-10-17 Alexander Larsson <alexl@redhat.com>
2406 * gio/glocalfileinfo.c:
2407 Add and implement id:value attribute
2409 2007-10-17 Alexander Larsson <alexl@redhat.com>
2412 * gio/guniondrive.c:
2414 Add and implement g_drive_has_volumes
2416 2007-10-17 Alexander Larsson <alexl@redhat.com>
2419 * gio/glocalfileinfo.[ch]:
2420 Add unix:is_mountpoint and implement for local files
2422 2007-10-16 Alexander Larsson <alexl@redhat.com>
2424 * gio/gunionvolumemonitor.c:
2425 (g_union_volume_monitor_init):
2426 Fix up the unix type getting so that it works with gcc
2428 2007-10-12 Alexander Larsson <alexl@redhat.com>
2431 * gio/glocalfileinfo.c:
2432 Add thumbnail:failed to file info
2434 2007-10-12 Richard Hult <richard@imendio.com>
2436 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2437 optimizing away the get_type call (happens with some gcc versions,
2438 like the one shipped with OS X 10.4).
2440 2007-10-12 Alexander Larsson <alexl@redhat.com>
2442 * gio/glocalfileinfo.c:
2443 (_g_local_file_info_set_attribute):
2444 Fix build if not HAVE_XATTR
2445 Patch from Milosz Derezynski <internalerror@gmail.com>
2447 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2449 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2450 around for review, otherwise I would have asked you before
2453 2007-10-11 Alexander Larsson <alexl@redhat.com>
2456 Add thumbnail:path attribute
2458 * gio/glocalfileinfo.c:
2459 Implement thumbnail:path for local files
2461 2007-10-11 Alexander Larsson <alexl@redhat.com>
2463 * gio/glocalfileinfo.c:
2464 (_g_local_file_info_get):
2465 Avoid duplicate icon names
2467 2007-10-11 Alexander Larsson <alexl@redhat.com>
2469 * gio/gthemedicon.[ch]:
2470 Change g_themed_icon_get_names return type to const
2472 2007-10-10 Alexander Larsson <alexl@redhat.com>
2474 * gio/glocalfileinfo.c:
2475 Don't reference freed memory
2477 2007-10-10 Alexander Larsson <alexl@redhat.com>
2479 * gio/gfileattribute.c:
2482 * gio/glocalfileinfo.c:
2485 2007-10-10 Alexander Larsson <alexl@redhat.com>
2488 Check for NULL icons
2490 * gio/gfileattribute.c:
2491 Don't dup when getting objects (same as for string attributes)
2493 * gio/gicon.c (g_icon_equal):
2494 Safely handle NULLs in equal
2496 2007-10-10 Alexander Larsson <alexl@redhat.com>
2499 Fix c++ compilation issues
2500 Patch from Milosz Derezynski <internalerror@gmail.com>
2502 2007-10-10 Alexander Larsson <alexl@redhat.com>
2504 * programs/gio-monitor-dir.c:
2505 Don't crash if dir monitor not supported.
2507 2007-10-09 Alexander Larsson <alexl@redhat.com>
2510 Add missing G_END_DECLS
2512 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2514 * gio/gfile.c: (g_file_set_display_name),
2515 (g_file_query_settable_attributes),
2516 (g_file_query_writable_namespaces):
2517 Return NULL not FALSE on errors as the return type is a pointer.
2519 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2521 * gio/glocalfile.c: (g_local_file_monitor_file):
2522 Don't call monitor_file on the default interface vtable (which
2523 is NULL) but simply return NULL. The caller, GFile, will create a
2524 polling monitor if NULL is returned.
2526 2007-10-09 Alexander Larsson <alexl@redhat.com>
2530 * gio-unix-2.0.pc.in:
2531 Add gio-unix-2.0.pc if OS_UNIX
2534 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2536 2007-10-09 Alexander Larsson <alexl@redhat.com>
2538 * gio/gunixmounts.[ch]:
2539 Make unix mount monitoring API sane.
2540 Now its just a object with mounts_changed
2541 and mountpoints_changed signals.
2543 * gio/glocaldirectorymonitor.c:
2544 * gio/gunixvolumemonitor.c:
2545 Use new mount monitor api
2547 2007-10-09 Alexander Larsson <alexl@redhat.com>
2549 * gio/gunixmounts.[ch]:
2550 Move guess type into one call for mounts and one for mountpoints
2553 * gio/gunixvolume.c:
2556 2007-10-09 Alexander Larsson <alexl@redhat.com>
2558 * gio/gunixmounts.[ch]:
2559 Remove _ prefix in preparation to make this semi-public
2560 Hide implementation of structs
2562 * gio/glocaldirectorymonitor.c:
2564 * gio/gunixvolume.c:
2565 * gio/gunixvolumemonitor.c:
2566 Update for above API changes
2568 2007-10-08 Alexander Larsson <alexl@redhat.com>
2571 Better polling fallback. This also handles the case where we have
2572 a monitor_file implementation, but it fails.
2574 2007-10-08 Alexander Larsson <alexl@redhat.com>
2578 * gio/gunixmounts.c:
2579 * programs/gio-monitor-dir.c:
2580 * programs/gio-monitor-file.c:
2581 Added cancellable to file monitoring calls.
2582 These are really sync calls and need this.
2584 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2586 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2587 (g_local_vfs_class_init):
2588 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2589 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2591 2007-10-05 Alexander Larsson <alexl@redhat.com>
2593 * gio/gdirectorymonitorprivate.h:
2594 * gio/gfilemonitorprivate.h:
2595 * gio/gdirectorymonitor.h:
2596 * gio/gfilemonitor.h:
2597 Remove *private.h and move to the public API, so that
2598 we can do implementations outside gio (such as in gvfs)
2600 * gio/gdirectorymonitor.c:
2601 * gio/gfilemonitor.c:
2602 * gio/glocaldirectorymonitor.c:
2603 * gio/gpollfilemonitor.c:
2604 * gio/inotify/inotify-helper.c:
2605 * gio/fam/fam-helper.c:
2606 Update to the new header names
2608 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2610 * gio/gdirectorymonitor.c:
2611 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2614 2007-10-04 Alexander Larsson <alexl@redhat.com>
2616 * gio/glocalfileinfo.c (get_access_rights):
2617 Set CAN_TRASH when we can move the file.
2618 We should really also check for a parent trash dir.
2620 2007-10-04 Alexander Larsson <alexl@redhat.com>
2622 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2623 Add can_trash access attribute
2625 2007-10-04 Alexander Larsson <alexl@redhat.com>
2628 (g_local_file_trash):
2629 Create info file first. This is per-spec and allows
2630 us to actually trash directories.
2632 2007-10-02 Alexander Larsson <alexl@redhat.com>
2634 * gio/gdesktopappinfo.c:
2635 Implement the new mime support code.
2636 Always set app as handling mimetype when being set as default for it
2638 2007-10-01 Alexander Larsson <alexl@redhat.com>
2640 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2641 Fix up check for xattrs:
2643 2007-10-01 Alexander Larsson <alexl@redhat.com>
2646 (g_app_info_set_as_default_for_extension):
2647 (g_app_info_add_supports_type):
2648 (g_app_info_can_remove_supports_type):
2649 (g_app_info_remove_supports_type):
2650 Make these fail nicely if not implemented
2652 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2654 * gio/glocalfileoutputstream.c:
2655 * gio/glocalfileoutputstream.h:
2660 * programs/gio-save.c:
2661 Add a GFileCreateFlags argument to operations that can create
2664 2007-10-01 Alexander Larsson <alexl@redhat.com>
2666 * gio/gappinfo.[ch]:
2667 * gio/gdesktopappinfo.c:
2668 Add more (stubbed out) mime API needed for nautilus
2670 2007-10-01 Alexander Larsson <alexl@redhat.com>
2673 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2674 Add g_app_info_set_as_default_for_extension.
2676 * gio/gdesktopappinfo.c:
2677 Dummy for g_app_info_set_as_default_for_extension
2678 Support flags in g_app_info_create_from_commandline
2680 * gio/gwin32appinfo.c:
2682 Update for API changes
2684 * gio/gthemedicon.c:
2685 Properly NULL-terminate list of icon names
2687 2007-09-28 Alexander Larsson <alexl@redhat.com>
2689 * gio/gloadableicon.h:
2690 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2692 2007-09-28 Alexander Larsson <alexl@redhat.com>
2695 Install headers in $includedir/gio-standalone/
2697 * gio-2.0.pc.in: Added.
2698 * gio-standalone.pc.in: Removed.
2701 Renamed pkg-config file to match glib (for future move)
2702 Update to the new include dir
2705 Add more TODO comments
2707 2007-09-28 Alexander Larsson <alexl@redhat.com>
2709 * gio/gdesktopappinfo.[ch]:
2710 Expose new_from_filename
2711 Add getter for is_hidden and handle it better
2713 2007-09-28 Alexander Larsson <alexl@redhat.com>
2715 * gio/gfileinfo.[ch]:
2716 Rename g_file_size_format_for_display to
2717 g_format_file_size_for_display.
2718 Now it doesn't have the g_file prefix, so we
2719 can later move it to glib.
2721 2007-09-28 Alexander Larsson <alexl@redhat.com>
2723 * gio/gappinfo.[ch]:
2724 Add g_app_info_get_id and g_app_info_get_executable.
2725 Make all getters non-reffing
2726 Make g_app_info_launch take GFile arguments.
2727 Add must_support_uris argument to g_app_info_get_default_for_type.
2729 * gio/gwin32appinfo.c:
2730 Update to GAppInfo api changes
2732 * gio/gdesktopappinfo.c:
2733 Update to GAppInfo api changes
2734 Implement supports_xdg_startup_notify
2736 * gio/gfileicon.c (g_file_icon_get_file):
2737 Make getter non-reffing.
2742 2007-09-27 Alexander Larsson <alexl@redhat.com>
2744 * gio/gfileinfo.[ch]:
2745 Add g_file_size_format_for_display helper
2747 2007-09-27 Alexander Larsson <alexl@redhat.com>
2749 * gio/glocalfileinfo.c:
2750 Set UNIX_GID from gid, not from uid
2752 2007-09-27 Alexander Larsson <alexl@redhat.com>
2755 Add g_file_set_attributes_async
2757 2007-09-27 Alexander Larsson <alexl@redhat.com>
2759 * gio/glocalfile.c (g_local_file_set_display_name):
2760 Fix set_display_name to actually rename to the right place.
2761 Use lstat to look for existing files so we don't overwrite
2764 2007-09-26 Alexander Larsson <alexl@redhat.com>
2767 Add g_file_set_display_name_async()
2769 2007-09-26 Alexander Larsson <alexl@redhat.com>
2772 Add load_partial_contents async calls
2775 Make internal function static
2777 2007-09-26 Alexander Larsson <alexl@redhat.com>
2779 * gio/glocalfileinfo.c:
2780 Correctly detect broken symlinks
2782 2007-09-26 Alexander Larsson <alexl@redhat.com>
2784 * gio/gcancellable.c (g_cancellable_cancel):
2785 Allow cancel on NULL cancellable
2787 2007-09-25 Alexander Larsson <alexl@redhat.com>
2789 * gio/gsimpleasyncresult.c:
2790 Don't allocate g_error manually.
2791 Fixes g_slice/g_new mixup crash
2793 2007-09-25 Alexander Larsson <alexl@redhat.com>
2795 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2796 Actually set active_backend.
2797 This means the monitor will be cancelled correctly.
2799 2007-09-25 Alexander Larsson <alexl@redhat.com>
2801 * gio/gdirectorymonitor.c:
2802 Set timeout to NULL when destroying
2804 2007-09-25 Alexander Larsson <alexl@redhat.com>
2807 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2808 that is a better description of the error.
2810 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2812 * gio/gvfs.c: (g_vfs_get_local):
2813 Make the local vfs variable static. The same instance should
2816 2007-09-24 Alexander Larsson <alexl@redhat.com>
2818 * gio/glocalfileinfo.c:
2819 Pass in actual length read into sniffer, not the length
2822 2007-09-21 Alexander Larsson <alexl@redhat.com>
2824 * gio/gfileenumerator.c:
2827 * gio/gfileinputstream.c:
2828 * gio/gfileoutputstream.c:
2829 * gio/ginputstream.c:
2830 * gio/goutputstream.c:
2831 Don't crash if async callbacks are NULL
2833 2007-09-20 Alexander Larsson <alexl@redhat.com>
2836 Add async enumerate_children method and default
2839 2007-09-20 Alexander Larsson <alexl@redhat.com>
2842 Add g_file_contains_file & g_file_get_relative_path, since they
2843 were needed for nautilus.
2844 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2849 Implement new methods
2851 2007-09-17 Alexander Larsson <alexl@redhat.com>
2854 * gio/gfileinputstream.[ch]:
2855 * gio/gfileoutputstream.[ch]:
2857 * gio/glocalfileenumerator.[ch]:
2858 * gio/glocalfileinfo.[ch]:
2859 * gio/glocalfileinputstream.c:
2860 * gio/glocalfileoutputstream.c:
2861 * gio/gpollfilemonitor.c:
2862 * programs/gio-copy.c:
2863 * programs/gio-info.c:
2864 * programs/gio-move.c:
2865 Rename get_file_info to query_info() to make it clearer
2866 that these are not simple getters, but do i/o.
2868 2007-09-17 Alexander Larsson <alexl@redhat.com>
2870 * gio/gdatainputstream.[ch]:
2871 * gio/test-streams.c:
2872 Use _read_XXX instead of _get_XXX for the i/o calls
2875 2007-09-17 Alexander Larsson <alexl@redhat.com>
2878 Added needed stuff to TODO comment
2880 2007-09-17 Alexander Larsson <alexl@redhat.com>
2882 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2883 Don't error out removing the backup copy if it doesn't
2886 2007-09-14 Alexander Larsson <alexl@redhat.com>
2888 * programs/Makefile.am:
2889 * programs/gvfs-*.c:
2891 Renamed apps from gvfs-xxx to gio-xxx.
2893 2007-09-14 Alexander Larsson <alexl@redhat.com>
2896 * gio/gfileoutputstream.[ch]:
2897 * gio/glocalfileoutputstream.c:
2898 * programs/gvfs-save.c:
2899 g_file_output_stream_get_etag doesn't do i/o, so remove
2900 cancellation and error.
2902 2007-09-14 Alexander Larsson <alexl@redhat.com>
2905 Add new_etag output to replace_contents functions
2907 2007-09-14 Alexander Larsson <alexl@redhat.com>
2909 * gio/gfileoutputstream.[ch]:
2910 Add async get_file_info and default implementation
2912 2007-09-14 Alexander Larsson <alexl@redhat.com>
2914 * gio/gfileinputstream.c:
2915 Implement fallback wrapper for async get_file_info
2917 2007-09-14 Alexander Larsson <alexl@redhat.com>
2920 Add etag out argument to load_contents
2925 2007-09-14 Alexander Larsson <alexl@redhat.com>
2927 * gio/gcontenttype.c (looks_like_text):
2928 Whitespace like tab, cr and lf do not make the
2931 2007-09-14 Alexander Larsson <alexl@redhat.com>
2933 * gio/gfileinputstream.[ch]:
2934 Add async get_file_info.
2936 2007-09-13 Alexander Larsson <alexl@redhat.com>
2938 * gio/goutputstream.c (g_output_stream_write_all):
2939 Allow NULL for bytes_written
2941 2007-09-13 Alexander Larsson <alexl@redhat.com>
2943 * gio/gmemoryinputstream.[ch]:
2944 Add accessors for data
2946 2007-09-13 Alexander Larsson <alexl@redhat.com>
2948 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2949 Don't crash if length is NULL