1 2008-01-15 Alexander Larsson <alexl@redhat.com>
3 * gmemoryinputstream.c:
4 * gmemoryoutputstream.c:
5 Don't do pointer arithmetic on void * (#508602)
6 Patch from Kazuki IWAMOTO
8 2008-01-14 Matthias Clasen <mclasen@redhat.com>
10 * === Released 2.15.2 ===
12 2008-01-14 Alexander Larsson <alexl@redhat.com>
14 * gfile.c (g_file_monitor_file):
15 Don't set error here, since we fallback to polling monitor.
17 2008-01-14 Alexander Larsson <alexl@redhat.com>
20 (g_file_monitor_directory):
21 (g_file_monitor_file):
22 Add GError to file monitor calls
24 * glocaldirectorymonitor.c:
25 * glocaldirectorymonitor.h:
27 * glocalfilemonitor.c:
28 * glocalfilemonitor.h:
30 Update for above change
32 2008-01-14 Alexander Larsson <alexl@redhat.com>
36 Handle root correctly in g_file_get_relative_path (#508719)
38 2008-01-14 Alexander Larsson <alexl@redhat.com>
41 Clean up docs and example for GAsyncResult (#508074)
43 2008-01-11 Murray Cumming <murrayc@murrayc.com>
45 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
46 and correct some spelling mistakes. Bug #508108.
48 2008-01-11 Matthias Clasen <mclasen@redhat.com>
50 * glocalfileinfo.c: Add a comment.
52 2008-01-10 Murray Cumming <murrayc@murrayc.com>
54 * gfileinfo.c: GFileInfo description: Mention
55 how to actually set attributes in a GFile and how to discover
56 which attributes are settable. Bug #508378.
58 2008-01-10 A. Walton <awalton@svn.gnome.org>
60 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
61 (g_app_info_get_default_for_type):
62 Check for NULL content types.
64 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
66 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
68 2008-01-09 Murray Cumming <murrayc@murrayc.com>
70 * gfile.c: *_async() functions: Several small corrections
71 to the documentation, mostly correcting copy/paste errors
72 and improving some sentences.
74 2008-01-09 Dan Winship <danw@gnome.org>
76 * glocalfile.c (get_unique_filename): x86_64 fix
78 2008-01-09 Alexander Larsson <alexl@redhat.com>
83 Add g_unix_mount_guess_should_display and use
84 for unix volume monitor backend.
85 This means we more or less show what the
86 gnome-vfs backend did.
87 Based on patch from Padraig O'Briain
89 2008-01-09 Alexander Larsson <alexl@redhat.com>
93 Add g_themed_icon_new_with_default_fallbacks
96 Use default fallbacks for icons
98 2008-01-09 Alexander Larsson <alexl@redhat.com>
101 * gmountoperation.[ch]:
102 Change the API a bit so that unhandled methods
103 get reported via the reply, rather than by
104 the signal emission return value. This is because
105 some handlers can't know this immediately without
106 doing I/O, and this is an async operation that
109 2008-01-09 Alexander Larsson <alexl@redhat.com>
112 * fam/gfamdirectorymonitor.c:
113 * fam/gfamfilemonitor.c:
114 Fix double free crash (#508224)
115 Patch from Joe Marcus Clarke
117 008-01-07 Matthias Clasen <mclasen@redhat.com>
119 * === Released 2.15.1 ===
121 2008-01-07 Alexander Larsson <alexl@redhat.com>
123 * gunixinputstream.c (g_unix_input_stream_skip_finish):
124 Fix warning (#507835)
126 2008-01-07 Alexander Larsson <alexl@redhat.com>
129 Pass --internal to glib-genmarshal
134 Use better types for signal arguments (#507822)
136 2008-01-07 Alexander Larsson <alexl@redhat.com>
139 Build test subdir after .
140 Remove gdirectorymonitor.[ch]
142 * gdirectorymonitor.[ch]:
146 Remove GDirectoryMonitor and make
147 GFileMonitor the baseclass for both file and
148 directory monitors. Lift the more generic
149 rate limiting code from GDirectoryMonitor
153 * fam/gfamdirectorymonitor.[ch]:
154 * inotify/ginotifydirectorymonitor.[ch]:
155 * inotify/inotify-helper.c:
156 * glocaldirectorymonitor.[ch]:
159 Update for the removed GDirectoryMonitor.
161 * gmemoryoutputstream.c:
162 Remove ununsed variable
164 2008-01-07 Alexander Larsson <alexl@redhat.com>
166 * gmemoryinputstream.c:
167 Translate error strings
170 * gmemoryoutputstream.[ch]:
171 New implementation that avoids using GByteArray
172 in implementation and API. (#506377)
174 2008-01-06 Matthias Clasen <mclasen@redhat.com>
176 * tests/*: Add a test for memory input streams.
178 * Makefile.am: Add tests to SUBDIRS.
180 2008-01-06 Matthias Clasen <mclasen@redhat.com>
182 * glocalfilemonitor.c:
183 * glocaldirectorymonitor.c: Mark property nicks and blurbs
186 2008-01-06 Matthias Clasen <mclasen@redhat.com>
188 * gdesktopappinfo.c: Fix a docs typo.
190 * gfileattribute.c: Add information about extended attributes
191 to the documentation. (#505058)
193 2008-01-04 Alexander Larsson <alexl@redhat.com>
197 Use the right type (uint) for the ask_password signal.
199 2008-01-04 Alexander Larsson <alexl@redhat.com>
204 Add g_app_info_supports_files()
205 Remove desktop arg from g_app_info_should_show().
207 * gdesktopappinfo.[ch]:
208 Implement g_app_info_supports_files() and new should_show()
209 Add g_desktop_app_info_set_desktop_env() to set the desktop
210 for should_show(). (This will be set by gtk+ later)
212 2008-01-04 Alexander Larsson <alexl@redhat.com>
215 * gmemoryinputstream.[ch]:
216 Improve API so that you can use multiple chunks
217 of memory and custom destroy functions. (#506374)
219 2008-01-03 Alexander Larsson <alexl@redhat.com>
222 Handle NULL attribute matchers safely, as we return this
223 for empty attribute matcher strings.
225 2008-01-03 Alexander Larsson <alexl@redhat.com>
227 * gunixmounts.c (g_unix_is_mount_path_system_internal):
228 Add /usr/local to list of internal mountpoints
230 2008-01-03 Alexander Larsson <alexl@redhat.com>
233 Check for HAVE_LCHOWN (#505887)
235 2008-01-03 Alexander Larsson <alexl@redhat.com>
239 Add define for selinux context attribute.
240 Fix missing : -> :: namespace separator change
241 Fix missing _ -> - name change for xattr-sys.
244 2008-01-03 Alexander Larsson <alexl@redhat.com>
247 Link to libglib and libgobject directly (#504879)
248 Patch from Sebastien Bacher
250 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
252 * gfile.c: Expanded the g_file_new_for_commandline_arg
253 description a bit, based on the code and the docs of the
254 other g_file_new_for_* functions.
256 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
258 * gfilemonitor.h: Fixed typo in docs.
260 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
262 Updates to GIO documentation. (#506395, Mikael Hermansson)
264 * gcontenttype.c: Describe memory management for return value of
265 g_content_types_get_registered(). Missing piece from #505815.
266 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
267 GVolume, GDrive, GMounts, which hopefully gives the user less
268 confusions when using this API. Following explainations from
269 Alexander Larsson on gtk-devel-list.
271 2007-12-30 Matthias Clasen <mclasen@redhat.com>
273 * gfileinfo.c: Expand the long description.
275 2007-12-30 Matthias Clasen <mclasen@redhat.com>
278 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
279 fix builds with --disable-visibility. (#500273, Christian Persch)
281 2007-12-30 Matthias Clasen <mclasen@redhat.com>
283 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
284 in the list of returned app infos.
286 2007-12-30 Matthias Clasen <mclasen@redhat.com>
288 * gappinfo.c: Fix a cross-reference
290 2007-12-30 Matthias Clasen <mclasen@redhat.com>
292 * gfileinputstream.c:
293 * gfileoutputstream.c:
299 * gfileinfo.c: Documentation updates.
301 2007-12-26 Matthias Clasen <mclasen@redhat.com>
303 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
306 2007-12-26 Matthias Clasen <mclasen@redhat.com>
308 * gcontenttype.c (g_content_types_get_registered): Don't return
309 freed memory (#505815, Mikael Hermansson)
311 2007-12-25 Paolo Borelli <pborelli@katamail.com>
313 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
314 used to detect statbuf->st_blocks. (#505042)
316 2007-12-24 Matthias Clasen <mclasen@redhat.com>
318 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
319 environment handling. (#504829, Cosimo Cecchi)
321 2007-12-22 Matthias Clasen <mclasen@redhat.com>
323 * gappinfo.c: Doc improvements
325 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
328 2007-12-20 Matthias Clasen <mclasen@redhat.com>
330 * === Released 2.15.0 ===
332 2007-12-20 Hans Breuer <hans@breuer.org>
334 * makefile.msc : don't build gdesktopappinfo.obj, it collides
335 with symbols gwin32appinfo.obj, added gmount.obj
336 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
338 2007-12-20 Alexander Larsson <alexl@redhat.com>
344 * gfilenamecompleter.c:
347 * gpollfilemonitor.c:
348 File attribute renames:
351 id::fs -> id::filesystem
353 2007-12-20 Alexander Larsson <alexl@redhat.com>
362 Add GMountUnmountFlags to all unmount and
364 Add g_mount_remount() call.
366 2007-12-20 Alexander Larsson <alexl@redhat.com>
368 * gvfs.c (get_default_vfs):
369 Fix unused variable warning
371 2007-12-19 Matthias Clasen <mclasen@redhat.com>
373 * pltcheck.sh: Update
375 2007-12-19 Matthias Clasen <mclasen@redhat.com>
377 * gunionvolumemonitor.c:
378 * gunixmount.c: Remove C99 comments
380 2007-12-19 Matthias Clasen <mclasen@redhat.com>
382 * gio.symbols: Add some missing symbols
384 2007-12-19 Alexander Larsson <alexl@redhat.com>
387 Make g_io_modules_load_all_in_directory not unuse
388 loaded modules so that users of it can do stuff
390 Init internal "module" types.
391 Initialize static prio and name for types so that
392 we don't have to load modules to get it.
394 * gnativevolumemonitor.h:
396 Move is_supported to parent class so that
397 non-native monitors can avoid being initialized
398 too. (For instance GDaemonVolumeMonitor if we're
399 not using GDaemonVfs.)
401 * glocaldirectorymonitor.[ch]:
402 * glocalfilemonitor.[ch]:
403 * gunionvolumemonitor.c:
404 * gunixvolumemonitor.c:
406 Find plugins using the static prio+name to
407 avoid unnecessarily loading the modules.
409 2007-12-19 Alexander Larsson <alexl@redhat.com>
414 2007-12-19 Alexander Larsson <alexl@redhat.com>
416 * gunionvolumemonitor.c:
417 Store the native type as GType, not class so that
418 we can unload it. But still avoid unnecessarily
421 2007-12-19 David Zeuthen <davidz@redhat.com>
423 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
424 add signals 'disconnected' and 'eject-button' on GDrive. Add
425 signal 'removed' on GVolume and 'unmounted' on GMount.
427 * gdrive.c: (g_drive_base_init):
429 * gfile.c: (g_file_mount_mountable),
430 (g_file_mount_enclosing_volume):
433 * gmount.c: (g_mount_base_init):
435 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
436 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
437 * gvolume.c: (g_volume_base_init), (g_volume_mount):
441 2007-12-17 Matthias Clasen <mclasen@redhat.com>
443 * *.c: Fix up includes in the section docs.
445 2007-12-17 Alexander Larsson <alexl@redhat.com>
447 * gnativevolumemonitor.h:
448 * gunionvolumemonitor.c:
449 * gunixvolumemonitor.c:
450 Add is_supported() to GNativeVolumeMonitorClass so
451 that we can avoid having to create an object to see
452 if the backend is supported at runtime.
453 Also add name member and an env var to pick a specific
454 volume monitor backend.
458 Add cancellable to _g_mount_get_for_mount_path()
460 * glocaldirectorymonitor.c:
461 * glocalfilemonitor.c:
462 Avoid loading and unloading modules while sorting.
464 2007-12-17 Matthias Clasen <mclasen@redhat.com>
467 * gunixmounts.[hc]: Namespace waste reduction, move some
468 g_get_unix_mount functions to the g_unix_mount namespace.
471 * gunixvolumemonitor.c:
473 * glocaldirectorymonitor.c: Update all callers.
475 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
477 2007-12-17 Alexander Larsson <alexl@redhat.com>
480 Add doc comments about what GFile operations are
481 guaranteed to not block.
483 2007-12-17 Alexander Larsson <alexl@redhat.com>
486 Add missing #ifdef fixing OSX build.
487 (#503334, patch from Richard Hult)
489 2007-12-14 David Zeuthen <davidz@redhat.com>
493 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
494 (g_mount_eject), (g_mount_eject_finish):
496 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
497 (get_volume_for_uuid), (get_mount_for_uuid),
498 (g_union_volume_monitor_class_init),
499 (get_default_native_type_with_exclude), (get_default_native_type),
500 (get_native_type), (update_native_type),
501 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
502 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
503 (g_unix_mount_can_eject), (eject_unmount_cb),
504 (eject_unmount_read_error), (eject_unmount_do),
505 (g_unix_mount_unmount), (g_unix_mount_eject),
506 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
507 * gunixmounts.c: (g_unix_mount_guess_can_eject),
508 (g_unix_mount_point_guess_can_eject):
510 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
511 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
512 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
513 (g_unix_volume_mount), (g_unix_volume_eject),
514 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
515 * gunixvolumemonitor.c: (get_volume_for_uuid),
516 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
518 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
519 (g_volume_eject), (g_volume_eject_finish):
521 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
522 (g_volume_monitor_get_mount_for_uuid):
525 Provide eject() on both GMount and GVolume and utility functions
526 to guess whether a GUnixMountPoint or GUnixMountEntry should be
527 ejected. Introduce the concept of UUID's and wire it into GVolume
528 and GMount and provide API on GVolumeMonitor to find such
529 instances. Also handle the case where an external
530 GNativeVolumeMonitor fails to initialize. Lock around the
531 _g_get_mount_for_mount_path() function such that volume monitor
532 implementations won't have to do locking themselves.
534 2007-12-17 Matthias Clasen <mclasen@redhat.com>
542 * gvolume.h: Documentation updates
544 2007-12-14 Matthias Clasen <mclasen@redhat.com>
547 * gfile.h: Doc updates
549 2007-12-14 Matthias Clasen <mclasen@redhat.com>
552 * gdesktopappinfo.c: Use hash table iterators.
554 2007-12-14 Alexander Larsson <alexl@redhat.com>
557 * gfileattribute.[ch]:
558 * gfileattribute-priv.h:
559 Move GFileAttributeValue to a private header, as
563 Make set_attribute take a type + a pointer instead
564 of a GFileAttributeValue.
567 Fix up for above changes.
568 Add g_file_info_get_attribute_data to get
569 all info in one call, g_file_info_get_attribute_status
570 to get the status and g_file_info_get_attribute_as_string.
574 * glocalfileinfo.[ch]:
578 Make _guess_type static.
580 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
583 * inotify/Makefile.am: Fixed build when srcdir != builddir,
584 made mkenums and friends use temporary files to avoid leaving
585 empty generated files on failure (#503470).
587 2007-12-14 Alexander Larsson <alexl@redhat.com>
592 2007-12-14 Alexander Larsson <alexl@redhat.com>
596 * gfileattribute.[ch]:
599 * glocalfileoutputstream.c:
600 * gmountoperation.[ch]:
601 * goutputstream.[ch]:
602 Clean up all flags enums to not have _FLAGS in them
603 Make the names of some of the enums better.
608 2007-12-14 Michael Natterer <mitch@imendio.com>
610 * gio.symbols: fix g_io_scheduler symbol names.
612 2007-12-14 Alexander Larsson <alexl@redhat.com>
618 * gbufferedinputstream.h:
619 * gbufferedoutputstream.h:
622 * gdatainputstream.h:
623 * gdataoutputstream.h:
625 * gdirectorymonitor.h:
632 * gfileinputstream.h:
634 * gfilenamecompleter.h:
635 * gfileoutputstream.h:
636 * gfilterinputstream.h:
637 * gfilteroutputstream.h:
645 * gmemoryinputstream.h:
646 * gmemoryoutputstream.h:
651 * gsimpleasyncresult.h:
653 * gunixinputstream.h:
655 * gunixoutputstream.h:
659 * inotify/Makefile.am:
660 Only allow including <gio/gio.h> from apps
662 2007-12-14 Alexander Larsson <alexl@redhat.com>
665 * gsimpleasyncresult.c:
666 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
667 Split out the send_to_mainloop call into two versions instead
668 of having the block argument.
670 2007-12-13 Alexander Larsson <alexl@redhat.com>
674 * gbufferedinputstream.c:
676 * gfileinputstream.c:
677 * gfileoutputstream.c:
681 g_push/pop_current_cancellable ->
682 g_cancellable_push/pop_current
684 2007-12-13 Alexander Larsson <alexl@redhat.com>
688 Rename g_mount_for_location to g_file_mount_enclosing_volume.
690 2007-12-13 Alexander Larsson <alexl@redhat.com>
693 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
695 2007-12-12 Alexander Larsson <alexl@redhat.com>
698 Fix race condition when freeing proxy in
699 g_io_job_send_to_mainloop().
701 2007-12-12 Alexander Larsson <alexl@redhat.com>
707 Make attribute namespace separator "::" instead of ":".
708 Use - instead of _ as separator in attribute names.
710 2007-12-12 Alexander Larsson <alexl@redhat.com>
712 * gbufferedinputstream.h:
713 * gbufferedoutputstream.h:
714 * gdatainputstream.h:
715 * gdataoutputstream.h:
716 * gdirectorymonitor.h:
718 * gfileinputstream.h:
720 * gfileoutputstream.h:
721 * gfilterinputstream.h:
722 * gfilteroutputstream.h:
724 * glocalfileinputstream.h:
725 * glocalfileoutputstream.h:
726 * gmemoryinputstream.h:
727 * gmemoryoutputstream.h:
728 * gnativevolumemonitor.h:
730 * gunixinputstream.h:
731 * gunixoutputstream.h:
734 s/parent/parent_instance/ in GObjects
736 2007-12-12 Alexander Larsson <alexl@redhat.com>
741 No need for padding for interfaces
743 2007-12-12 Alexander Larsson <alexl@redhat.com>
747 * gbufferedinputstream.c:
748 * gbufferedoutputstream.c:
751 * gdatainputstream.[ch]:
753 * gdirectorymonitor.c:
755 * gfileattribute.[ch]:
758 * gfileinputstream.h:
760 * gfileoutputstream.[ch]:
761 * gfilterinputstream.h:
762 * gfilteroutputstream.h:
765 * gloadableicon.[ch]:
766 * gmemoryinputstream.c:
769 Fix up a bunch of details in the docs.
774 2007-12-11 David Zeuthen <davidz@redhat.com>
776 Rework how volumes, drives and volume monitoring is
777 done. Previosly the model was
781 where a GDrive instance represented a mount point and a GVolume
782 instance represented a mounted file system. This patch changes it
785 GDrive <1-N> GVolume <1-1> GMount
787 where GMount now serves the purpose of the old GVolume and the new
788 GVolume serves the purpose of the old GDrive. In addition the new
789 GDrive interface is used to represent a collection of GVolume
790 instances (typically partitions) and also contains utility to query
791 the state of the physical drive the GDrive object represents (such
792 as checking for media, polling the drive, ejecting the media etc.).
794 Also implement mounting and unmounting in the Unix volume monitor
795 backend. A subquent patch will introduce GDrive support for ejection
799 * gdrive.c: (g_drive_is_media_check_automatic),
800 (g_drive_is_media_removable), (g_drive_has_media),
801 (g_drive_can_poll_for_media), (g_drive_eject),
802 (g_drive_eject_finish), (g_drive_poll_for_media),
803 (g_drive_poll_for_media_finish):
805 * gfile.c: (g_file_find_enclosing_mount):
808 * glocaldirectorymonitor.c:
809 (g_local_directory_monitor_constructor), (mounts_changed):
810 * glocalfile.c: (get_mount_info),
811 (g_local_file_find_enclosing_mount),
812 (g_local_file_file_iface_init):
813 * gnativevolumemonitor.h:
814 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
815 (get_connected_drives), (g_union_volume_monitor_class_init),
816 (child_volume_added), (child_volume_removed),
817 (child_volume_changed), (child_mount_added), (child_mount_removed),
818 (child_mount_pre_unmount), (child_mount_changed),
819 (child_drive_changed), (g_union_volume_monitor_add_monitor),
820 (g_union_volume_monitor_remove_monitor),
821 (_g_mount_get_for_mount_path):
822 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
823 (guess_system_internal), (_g_get_unix_mounts),
824 (_g_get_unix_mount_points), (g_get_unix_mount_at),
825 (g_unix_mount_free), (g_unix_mount_compare),
826 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
827 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
828 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
829 (type_to_icon), (g_unix_mount_guess_name),
830 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
831 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
832 (_resolve_symlink), (_resolve_dev_root):
834 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
835 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
836 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
837 (g_unix_volume_get_name), (g_unix_volume_can_mount),
838 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
839 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
840 (g_unix_volume_mount), (g_unix_volume_mount_finish),
841 (g_unix_volume_volume_iface_init):
843 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
844 (get_mounts), (get_volumes), (get_connected_drives),
845 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
846 (mountpoints_changed), (mounts_changed),
847 (g_unix_volume_monitor_init),
848 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
849 (find_mount_by_mountpath), (update_volumes), (update_mounts):
850 * gunixvolumemonitor.h:
851 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
852 (g_volume_mount), (g_volume_mount_finish):
854 * gvolumemonitor.c: (g_volume_monitor_class_init),
855 (g_volume_monitor_get_connected_drives),
856 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
859 2007-12-10 Matthias Clasen <mclasen@redhat.com>
861 * gmountoperation.h (GPasswordFlags): Close the gap
863 2007-12-10 Matthias Clasen <mclasen@redhat.com>
865 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
867 * gdesktopappinfo.[hc]: Remove _-prefixes
869 2007-12-10 Tor Lillqvist <tml@novell.com>
871 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
874 2007-12-10 Alexander Larsson <alexl@redhat.com>
876 * gfile.c (g_file_set_display_name):
877 Don't hardcode '/' (#502727)
879 2007-12-09 Hans Breuer <hans@breuer.org>
881 * makefile.msc : follow lib naming convention
882 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
883 for user and group name, tested with ../tests/gio-ls
885 2007-12-09 A. Walton <awalton@svn.gnome.org>
898 * gmemoryinputstream.c:
899 * gmemoryoutputstream.c:
901 * gsimpleasyncresult.c:
902 More documentation cleanup and filling in missing information, bringing
903 GIO to 99% symbol coverage.
905 2007-12-08 Hans Breuer <hans@breuer.org>
907 [gio compiles and links on win32, not sure how much already works]
908 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
909 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
910 base on win32 API; prefer g_lstat() over lstat(); instead of
911 localtime_r() use an all GLib implementation on win32;
912 get_mount_info() still needs a win32 specifc implementation
913 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
914 win32_get_file_user_info to get owner/group info without uid/gid
915 * glocalfileinputstream.c : include <io.h> on win32
916 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
917 definition, use g_win32_ftruncate() for G_OS_WIN32
918 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
919 it is available with mingw/w32api but a mess with the M$ Platform SDKs
920 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
921 * makefile.msc : updated
923 2007-12-07 Alexander Larsson <alexl@redhat.com>
925 * glocalfileenumerator.c (_g_local_file_enumerator_new):
926 Avoid warning spew if error == NULL
928 2007-12-07 Alexander Larsson <alexl@redhat.com>
931 Update docs wrt etags
933 2007-12-06 Alexander Larsson <alexl@redhat.com>
936 Include sys/types.h for dev_t (#501919)
938 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
942 Make abicheck and pltcheck pass.
944 2007-12-05 Alexander Larsson <alexl@redhat.com>
947 * giomodule-priv.h: Added.
948 * glocaldirectorymonitor.c:
949 * glocalfilemonitor.c:
950 * gunionvolumemonitor.c:
952 Actually add the declaration of _g_io_modules_ensure_loaded
954 2007-12-05 Alexander Larsson <alexl@redhat.com>
956 * gdatainputstream.c:
961 * glocaldirectorymonitor.c:
962 * glocalfilemonitor.c:
963 * gunionvolumemonitor.c:
965 Make g_io_modules_ensure_loaded a private function and
966 don't pass in the dirname. This means we can do magic
967 directory finding in the win32 version.
968 Export the actual load-modules-in-directory code so that
971 2007-12-05 Alexander Larsson <alexl@redhat.com>
973 * gbufferedinputstream.c:
974 * gbufferedoutputstream.c:
977 * gfileenumerator.[ch]:
978 * gfileinputstream.c:
979 * gfileoutputstream.[ch]:
980 * gfilterinputstream.c:
981 * gfilteroutputstream.c:
984 * glocalfileenumerator.c:
985 * glocalfileinputstream.c:
986 * glocalfileoutputstream.c:
987 * gmemoryinputstream.c:
988 * gmemoryoutputstream.c:
989 * goutputstream.[ch]:
992 * gunixinputstream.c:
993 * gunixoutputstream.c:
994 Rename all struct members named:
995 read, write, close, truncate, or mount
996 to foo_fn, as these are reserved names
997 and could be defined as macros in libc.
1000 2007-12-04 Alexander Larsson <alexl@redhat.com>
1003 (g_output_stream_close):
1004 Only call flush if non-null.
1006 2007-11-30 Dan Winship <danw@gnome.org>
1008 * ginputstream.c (g_input_stream_set_pending): Make this take a
1009 GError and return a gboolean, and do the "outstanding operation"
1010 check (and the "stream is already closed" check) itself.
1011 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1013 * goutputstream.c (g_output_stream_set_pending)
1014 (g_output_stream_clear_pending): Likewise
1016 * gbufferedinputstream.c:
1017 * gfileinputstream.c:
1018 * gfileoutputstream.c: Update for that
1020 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1021 Like g_simple_async_report_error_in_idle, but takes a GError
1022 rather than building one.
1024 2007-11-30 Dan Winship <danw@gnome.org>
1026 * goutputstream.c: Don't cheat and unset the "pending" flag around
1027 inner calls. Instead, call the class method directly rather than
1028 the wrapper function that checks "pending"
1030 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1032 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1034 2007-12-03 Hans Breuer <hans@breuer.org>
1036 [start of port to win32/msvc]
1037 * gcancellable.c : HAVE_UNIST_H and _pipe()
1038 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1039 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1040 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1042 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1043 * glocalvfs.c : use HAVE_PWD_H
1044 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1045 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1046 * Makefile.am : added to EXTRA_DIST
1048 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1050 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1053 2007-12-03 Alexander Larsson <alexl@redhat.com>
1056 Handle OSX style xattrs API (#500506)
1058 2007-12-03 Alexander Larsson <alexl@redhat.com>
1062 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1064 2007-12-02 A. Walton <awalton@svn.gnome.org>
1068 Documentation accuracy fixes.
1070 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1072 * gioenumtypes.c.template: Fix typo.
1074 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1076 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1078 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1080 * gdirectorymonitor.c:
1081 * gfilemonitor.c: Add properties
1083 * gbufferedoutputstream.c: Don't mark buffer-size property
1086 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1088 * gbufferedoutputstream.c: Add auto-grow property.
1090 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1092 * *.c: Unify the capitalization of section headings.
1094 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1096 * gmountoperation.c: Add properties
1098 * gdatainputstream.c: Turn byte-order and newline-type into
1101 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1103 * gioenumtypes.[hc].template: Templates for enum registration
1105 * Makefile.am: Generate gioenumtypes.[hc]
1107 * gio.h: Include gioenumtypes.h
1109 * gfile.h: Add some explicit nicks.
1111 * gio.symbols: Add new symbols
1113 * pltcheck.sh: Adjust
1115 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1117 * *.c: Explain etags and link to the explanation
1119 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1121 * *.c: Explain I/O priority.
1123 * *.c: More coding style fixes.
1125 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1127 * gasyncresult.c: Add another paragraph to the intro,
1128 adjust coding style of example.
1130 2007-11-29 A. Walton <awalton@svn.gnome.org>
1133 Fixes unknown meaning in GAppLaunchContext docs.
1135 Clarify asynchronous ops.
1137 Fix entity tag docs.
1140 Provides missing gtk-doc section, fixes API docs slighly.
1141 * gsimpleasyncresult.c:
1142 Fill in missing info in docs.
1143 * gunixinputstream.c:
1144 * gunixoutputstream.c:
1145 Be more expressive in short description.
1147 Remove gtk-doc stubs for non-public API.
1149 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1151 * *.c: Coding style fixups
1153 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1155 * inotify/inotify-helper.c: Don't export the lock from libgio.
1157 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1160 * abicheck.sh: Fix copy-and-paste leftovers
1162 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1164 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1166 2007-11-28 Alexander Larsson <alexl@redhat.com>
1170 Removed unnecessary file
1172 * gdesktopappinfo.[ch]:
1175 * glocaldirectorymonitor.[ch]:
1177 * glocalfileenumerator.[ch]:
1178 * glocalfileinputstream.[ch]:
1179 * glocalfilemonitor.[ch]:
1180 * glocalfileoutputstream.[ch]:
1182 * gnativevolumemonitor.c:
1183 * gpollfilemonitor.[ch]:
1184 * gunionvolumemonitor.[ch]:
1187 * gunixvolumemonitor.[ch]:
1190 * inotify/ginotifydirectorymonitor.[ch]:
1191 * inotify/ginotifyfilemonitor.[ch]:
1192 * inotify/inotify-helper.c:
1193 Append _ to all internal functions
1197 Export symbols needed for modules
1199 2007-11-28 Alexander Larsson <alexl@redhat.com>
1202 * abicheck.sh: Added.
1203 * makegioalias.pl: Added.
1204 * pltcheck.sh: Added.
1205 * gio.symbols: Added.
1208 Initial work on adding symbol handling.
1211 Correct ifdef guard name
1214 * inotify/Makefile.am:
1215 * xdgmime/Makefile.am:
1216 Include toplevel Makefile.decl
1218 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1220 * gcontenttype.c: Move doc comments to the unix section.
1222 * *.[hc]: More trivial doc corrections.
1224 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1226 * gpollfilemonitor.c:
1230 * gdesktopappinfo.c:
1235 * gdatainputstream.c:
1236 * gdatainputstream.h:
1237 * gdataoutputstream.c:
1238 * gdataoutputstream.h:
1239 * gfileinfo.h: Doc cleanups
1241 2007-11-28 Andre Klapper <a9016009@gmx.de>
1243 * gdesktopappinfo.c: Fix a typo.
1245 2007-11-27 Andre Klapper <a9016009@gmx.de>
1247 * glocalfileoutputstream.c: Fix a typo.
1249 2007-11-27 Alexander Larsson <alexl@redhat.com>
1252 Don't include removed headers
1254 2007-11-27 Alexander Larsson <alexl@redhat.com>
1257 * gsocketinputstream.[ch]: Removed.
1258 * gsocketoutputstream.[ch]: Removed.
1259 * gunixinputstream.[ch]: Added.
1260 * gunixoutputstream.[ch]: Added.
1261 Renamed GSocket*Stream to GUnix*Stream and made
1262 it unix-only, since its not really only for sockets
1263 and it only works on unix (but is highly useful there).
1265 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1271 * gbufferedinputstream.c:
1272 * gbufferedinputstream.h:
1273 * gbufferedoutputstream.c:
1274 * gbufferedoutputstream.h:
1278 * gdatainputstream.c:
1279 * gdatainputstream.h:
1280 * gdataoutputstream.c:
1281 * gdataoutputstream.h:
1282 * gdirectorymonitor.c:
1283 * gdirectorymonitor.h:
1290 * gfileenumerator.c:
1291 * gfileenumerator.h:
1296 * gfileinputstream.c:
1297 * gfileinputstream.h:
1300 * gfilenamecompleter.c:
1301 * gfilenamecompleter.h:
1302 * gfileoutputstream.c:
1303 * gfileoutputstream.h:
1304 * gfilterinputstream.c:
1305 * gfilterinputstream.h:
1306 * gfilteroutputstream.c:
1307 * gfilteroutputstream.h:
1320 * glocalfileoutputstream.c:
1321 * gmemoryinputstream.c:
1322 * gmemoryinputstream.h:
1323 * gmemoryoutputstream.c:
1324 * gmemoryoutputstream.h:
1325 * gmountoperation.c:
1326 * gmountoperation.h:
1329 * gpollfilemonitor.c:
1332 * gsimpleasyncresult.c:
1333 * gsimpleasyncresult.h:
1334 * gsocketinputstream.c:
1335 * gsocketinputstream.h:
1336 * gsocketoutputstream.c:
1337 * gsocketoutputstream.h:
1344 * gunixvolumemonitor.c:
1353 Bumps documentation to 93% symbol coverage, touching most
1354 of the public files. Fixes broken function documentation prototypes.
1355 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1356 gtk-doc headers in private files.
1358 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1360 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1361 (g_buffered_input_stream_read_byte):
1362 * gbufferedinputstream.h:
1363 New functions for efficient access to buffer and simple single byte
1366 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1367 (g_data_input_stream_read_until):
1368 * gdatainputstream.h:
1369 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1370 read_until with multiple stop chars.
1372 2007-11-27 Alexander Larsson <alexl@redhat.com>
1376 * inotify/Makefile.am:
1377 Use the user-specified giomoduledir
1379 2007-11-27 Alexander Larsson <alexl@redhat.com>
1383 Add catch-all gio.h header
1384 Don't install gdummyfile.h
1386 2007-11-26 Alexander Larsson <alexl@redhat.com>
1388 * Makefile.am (gioinclude_HEADERS):
1389 Remove trailing whitespace
1391 2007-11-26 Alexander Larsson <alexl@redhat.com>
1393 Merge gio-standalone into glib
1395 2007-11-25 Christian Kellner <gicmo@gnome.org>
1397 * gio/goutputstream.c:
1398 Fix small mistake in the docs.
1400 2007-11-21 Christian Persch <chpe@gnome.org>
1402 * gio/glocalfile.c: (g_local_file_trash):
1403 Convert filenames to UTF-8 for GError.
1404 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1405 as per xdg base dir spec.
1407 2007-11-21 Christian Persch <chpe@gnome.org>
1409 * gio/gdesktopappinfo.c:
1410 Use that g_key_file_to_data cannot fail.
1412 Use stock defines for the key file group and key names.
1415 2007-11-21 Alexander Larsson <alexl@redhat.com>
1418 (copy_stream_with_progress):
1419 Make sure we do a final progress callback with
1420 the full total size.
1422 2007-11-21 Alexander Larsson <alexl@redhat.com>
1425 Export g_file_copy_attributes
1426 Remove padding as its not needed for interfaces
1428 2007-11-20 Alexander Larsson <alexl@redhat.com>
1433 Add G_IO_ERROR_WOULD_MERGE for
1434 copy/move dir on dir with overwrite.
1436 2007-11-20 Alexander Larsson <alexl@redhat.com>
1439 * gio/glocalfileinfo.c:
1440 Add COPY_NAME (this is an optional
1441 non-modified utf8 version of the name) that
1444 2007-11-20 Alexander Larsson <alexl@redhat.com>
1446 * gio/glocalfileenumerator.c:
1447 Report errors as GIOError, not GFileError
1449 2007-11-16 Alexander Larsson <alexl@redhat.com>
1451 * gio/glocalfileoutputstream.c:
1452 * gio/gwin32appinfo.c:
1453 Fix typos in strings.
1454 Patch from Luca Ferretti <elle.uca@libero.it>
1456 2007-11-15 Alexander Larsson <alexl@redhat.com>
1459 Post release version bump
1461 === gio-standalone 0.1.2 ===
1463 2007-11-15 Alexander Larsson <alexl@redhat.com>
1465 * docs/reference/gio/Makefile.am:
1466 Fix up distcheck by removing weird
1472 2007-11-14 Alexander Larsson <alexl@redhat.com>
1474 * gio/gdesktopappinfo.c:
1475 * gio/glocaldirectorymonitor.c:
1477 * gio/glocalfileinfo.c:
1478 * gio/inotify/inotify-sub.c:
1479 * programs/gio-cat.c:
1480 * programs/gio-copy.c:
1481 * programs/gio-info.c:
1482 * programs/gio-ls.c:
1483 * programs/gio-monitor-dir.c:
1484 * programs/gio-monitor-file.c:
1485 * programs/gio-mount.c:
1486 * programs/gio-move.c:
1487 * programs/gio-rm.c:
1488 * programs/gio-save.c:
1489 * programs/gio-trash.c:
1490 Leak fixes from Kjartan Maraas
1492 2007-11-14 Alexander Larsson <alexl@redhat.com>
1494 * gio/fam/fam-helper.c:
1496 * gio/glocalfileinfo.c:
1500 * gio/inotify/inotify-diag.c:
1501 * gio/inotify/inotify-kernel.c:
1502 Various code cleanups from Kjartan Maraas
1504 2007-11-14 Alexander Larsson <alexl@redhat.com>
1506 * gio/gioscheduler.c:
1508 Set up threadpool so that we cache 2 unused
1509 idle threads for at 15 secs. This means we
1510 will reuse thread-local data (like dbus connections)
1513 2007-11-14 Alexander Larsson <alexl@redhat.com>
1515 * gio/fam/fam-helper.c:
1516 * gio/fam/gfamdirectorymonitor.c:
1517 * gio/fam/gfamfilemonitor.c:
1519 * gio/gcontenttype.c:
1520 * gio/gdatainputstream.c:
1521 * gio/gdataoutputstream.c:
1525 * gio/gfileattribute.h:
1526 * gio/gfileenumerator.c:
1528 * gio/ginputstream.c:
1531 * gio/glocalfileinfo.c:
1532 * gio/goutputstream.c:
1533 * gio/gpollfilemonitor.c:
1534 * gio/gsimpleasyncresult.c:
1535 * gio/gunixmounts.c:
1536 * gio/gunixmounts.h:
1537 * gio/inotify/ginotifydirectorymonitor.c:
1538 * gio/inotify/ginotifyfilemonitor.c:
1539 * gio/inotify/inotify-diag.c:
1540 * gio/inotify/inotify-kernel.c:
1541 * gio/inotify/inotify-path.c:
1543 * gio/test-streams.c:
1544 * programs/gio-info.c:
1545 * programs/gio-monitor-dir.c:
1546 * programs/gio-monitor-file.c:
1547 Various code cleanups from Kjartan Maraas
1549 2007-11-13 Alexander Larsson <alexl@redhat.com>
1552 Handle the uri-scheme calls for dummy files
1554 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1556 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1557 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1558 to avoid clash with the C++ keyword.
1560 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1562 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1563 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1565 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1567 * gio/glocaldirectorymonitor.c:
1568 * gio/glocalfilemonitor.c:
1569 * gio/gunionvolumemonitor.c:
1570 Don't use g_once_init_*() for initializations that could fail and
1571 could leave the initialization variable set to 0 but use GOnce.
1572 This prevents a deadlock on the second call when trying to create
1573 a monitor and no monitor type is available. Thanks to Sven Herzberg
1576 2007-11-11 Sven Herzberg <sven@imendio.com>
1578 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1579 #ifdef (make it work on MacOS X again)
1581 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1583 Fixes Changelog for last two commits (sorry guys).
1585 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1587 * gio/gbufferedinputstream.c:
1588 * gio/gdatainputstream.c:
1590 * gio/gfileoutputstream.c:
1591 * gio/gfilterinputstream.c:
1592 * gio/glocalfileinputstream.c:
1595 More consistency fixes in g*stream.c files.
1596 Significant clean of gfile's documentation, filling in of
1597 asynchronous operations documentation.
1599 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1601 * gio/gasyncresult.c:
1602 * gio/gbufferedinputstream.c:
1603 * gio/gbufferedoutputstream.c:
1604 * gio/gcancellable.c:
1605 * gio/gcontenttype.c:
1606 * gio/gdatainputstream.c:
1607 * gio/gdataoutputstream.c:
1608 * gio/gdesktopappinfo.c:
1611 * gio/gfileattribute.c:
1612 * gio/gio/gfileenumerator.c:
1614 * gio/gfileinputstream.c:
1615 * gio/gfilemonitor.c:
1616 * gio/gfileoutputstream.c:
1617 * gio/ginputstream.c:
1619 * gio/gioscheduler.c:
1620 * gio/gloadableicon.c:
1621 * gio/glocalfileoutputstream.c:
1622 * gio/gmemoryoutputstream.c:
1623 * gio/gmountoperation.c:
1624 * gio/goutputstream.c:
1626 * gio/gsimpleasyncresult.c:
1627 * gio/gunionvolumemonitor.c:
1628 * gio/gunixmounts.c:
1629 * gio/gunixvolume.c:
1633 * gio/gvolumemonitor.c:
1634 Updated documentation stubs, working towards consistency and
1637 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1639 * gio/gmemoryoutputstream.c:
1640 * gio/gmemoryoutputstream.h:
1641 Change g_memory_output_stream_set_free_on_close() to
1642 g_memory_output_stream_set_free_data() as this makes more sense and
1643 is more consistent with GMemoryInputStream.
1645 2007-11-07 Alexander Larsson <alexl@redhat.com>
1652 Change how we find the default vfs so that
1653 we can handle a gvfs failing to init
1655 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1657 * gio/gbufferedoutputstream.c:
1658 * gio/gdatainputstream.c:
1659 * gio/gdataoutputstream.c:
1660 * gio/gfileinputstream.c:
1661 * gio/gfileoutputstream.c:
1662 * gio/gfilterinputstream.c:
1663 * gio/gfilteroutputstream.c:
1664 * gio/ginputstream.c:
1665 * gio/gmemoryinputstream.c:
1666 * gio/gmemoryoutputstream.c:
1667 * gio/goutputstream.c:
1668 * gio/gsimpleasyncresult.c:
1669 * gio/gsocketinputstream.c:
1670 * gio/gsocketoutputstream.c:
1671 Add guards to the remaining public functions, add a TODO for
1672 an unimplemented function and remove some useless guards.
1674 2007-11-07 Alexander Larsson <alexl@redhat.com>
1677 Autoconf checks for the various types of
1678 getpwuid_r and getgrgid_r
1680 * gio/glocalfileinfo.c:
1681 Use the autoconf checks from above
1683 2007-11-07 Alexander Larsson <alexl@redhat.com>
1686 (g_local_file_query_filesystem_info):
1687 Some fixes for the statvfs case
1689 2007-11-07 Alexander Larsson <alexl@redhat.com>
1692 (g_local_file_query_filesystem_info):
1693 Pick the "best" of statfs / statvfs for the system
1694 if both are availible.
1696 2007-11-07 Alexander Larsson <alexl@redhat.com>
1698 Solaris fixes from Halton.Huo@Sun.COM:
1705 * gio/glocalfileinfo.c:
1706 Fix for solaris definition of getpwuid_r
1708 * gio/test-streams.c:
1709 Use G_GNUC_PRETTY_FUNCTION
1711 2007-11-07 Alexander Larsson <alexl@redhat.com>
1713 * gio/gdesktopappinfo.c:
1714 (update_default_list):
1715 Remove double semicolon.
1716 Patch from Jens Granseuer
1718 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1720 * docs/reference/gio/gio-sections.txt:
1721 * gio/gbufferedinputstream.c:
1722 * gio/gbufferedinputstream.h:
1723 * gio/gdatainputstream.c:
1724 * gio/gfileenumerator.c:
1725 * gio/gioscheduler.c:
1726 * gio/gunionvolumemonitor.c:
1728 * programs/gio-save.c:
1729 Fix typo: availible -> available. Unfortuntely this breaks API
1730 and ABI as g_buffered_input_stream_get_available() was renamed.
1732 * gio/gunixmounts.c:
1733 * gio/gbufferedinputstream.c:
1734 Add guards for public functions.
1736 2007-11-06 Ross Burton <ross@openedhand.com>
1738 * docs/reference/gio/Makefile.am:
1739 Fix invalid += usage which automake 1.10 doesn't like.
1741 2007-11-06 Alexander Larsson <alexl@redhat.com>
1744 (g_app_launch_context_class_init):
1747 Patch from Ross Burton
1749 2007-11-06 Alexander Larsson <alexl@redhat.com>
1752 Post release version bump
1754 === gio-standalone 0.1.1 ===
1756 2007-11-06 Alexander Larsson <alexl@redhat.com>
1759 Bump version to 0.1.1
1761 * gio/gsimpleasyncresult.c:
1762 (g_simple_async_result_set_from_error):
1763 Remove bogus g_return_if_fail
1765 2007-11-06 Alexander Larsson <alexl@redhat.com>
1768 The name is gio-standalone
1771 Add top src/builddir to includedir
1773 2007-11-06 Alexander Larsson <alexl@redhat.com>
1775 * docs/reference/gio/gio-sections.txt:
1777 * gio/gbufferedinputstream.c:
1778 * gio/gbufferedoutputstream.c:
1779 * gio/gcancellable.c:
1780 * gio/gdatainputstream.h:
1781 * gio/gdataoutputstream.c:
1782 * gio/gdataoutputstream.h:
1783 * gio/gdirectorymonitor.c:
1785 * gio/gfileattribute.c:
1786 * gio/gfileattribute.h:
1787 * gio/gfileenumerator.c:
1788 * gio/gfileenumerator.h:
1791 * gio/gfileinputstream.h:
1792 * gio/gfilemonitor.c:
1793 * gio/gfileoutputstream.h:
1794 * gio/glocalfilemonitor.h:
1795 * gio/glocalfileoutputstream.h:
1796 * gio/gmemoryinputstream.c:
1797 * gio/gmemoryoutputstream.c:
1798 * gio/gmountoperation.c:
1799 * gio/goutputstream.c:
1800 * gio/goutputstream.h:
1802 * gio/gsimpleasyncresult.c:
1803 * gio/gunixmounts.c:
1804 * gio/gunixmounts.h:
1806 * gio/inotify/inotify-helper.c:
1807 Fix gtk-doc warnings
1809 Patch from Ross Burton
1811 2007-11-06 Alexander Larsson <alexl@redhat.com>
1813 * gio/gfilenamecompleter.c:
1814 (g_filename_completer_get_completions):
1817 * gio/gunixvolume.c:
1818 Remove unused function
1820 Patches from Ross Burton
1822 2007-11-06 Alexander Larsson <alexl@redhat.com>
1827 Padding not needed for interfaces
1829 2007-11-06 Alexander Larsson <alexl@redhat.com>
1831 * gio/gfilemonitor.c:
1835 Make giotypes.h an internal file
1838 * gio/gbufferedinputstream.h:
1839 * gio/gbufferedoutputstream.h:
1840 * gio/gcancellable.h:
1841 * gio/gdatainputstream.h:
1842 * gio/gdataoutputstream.h:
1843 * gio/gdirectorymonitor.c:
1844 * gio/gdirectorymonitor.h:
1849 * gio/gfileattribute.h:
1850 * gio/gfileenumerator.h:
1855 * gio/gfilemonitor.c:
1856 * gio/gfilemonitor.h:
1857 * gio/gfilenamecompleter.c:
1858 * gio/gfilenamecompleter.h:
1859 * gio/gfilterinputstream.h:
1860 * gio/gfilteroutputstream.h:
1861 * gio/ginputstream.h:
1862 * gio/gmemoryinputstream.h:
1863 * gio/gmemoryoutputstream.h:
1864 * gio/gmountoperation.c:
1865 * gio/gmountoperation.h:
1866 * gio/gnativevolumemonitor.c:
1867 * gio/goutputstream.h:
1870 * gio/gsimpleasyncresult.c:
1871 * gio/gsimpleasyncresult.h:
1872 * gio/gsocketinputstream.h:
1873 * gio/gsocketoutputstream.h:
1874 * gio/gthemedicon.c:
1875 * gio/gthemedicon.h:
1879 * gio/gvolumemonitor.c:
1880 * gio/gvolumemonitor.h:
1881 Add padding in classes where it seems useful
1882 Don't include giotypes.h from public headers
1883 Move in Class definitions into c file where possible
1888 2007-11-06 Alexander Larsson <alexl@redhat.com>
1890 * docs/reference/gio/gio-docs.xml:
1891 Better structure for API docs
1893 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1896 * gio/gloadableicon.c:
1897 * gio/gsimpleasyncresult.c:
1898 * gio/gthemedicon.c:
1899 Add some more guards to public functions. Only files missing are now
1902 2007-11-06 Alexander Larsson <alexl@redhat.com>
1904 * docs/reference/gio/gio-docs.xml:
1905 Remove old files, add missing ones
1907 2007-11-06 Alexander Larsson <alexl@redhat.com>
1909 * docs/reference/gio/gio-sections.txt:
1912 Hide implementation classes
1914 * gio/gdriveprivate.h:
1915 * gio/gvolumeprivate.h:
1916 Remove non-existing function declarations
1918 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1921 Fix compilation warnings and add guards to the new functions.
1923 * gio/gasyncresult.c:
1925 Add guards to the public functions.
1928 Implement get_path().
1930 2007-11-06 Alexander Larsson <alexl@redhat.com>
1932 * gio/gfilenamecompleter.c:
1933 Make g_filename_completer_get_completions
1934 return char ** instead of GList for
1937 * docs/reference/gio/gio-docs.xml:
1938 * docs/reference/gio/gio-sections.txt:
1940 * gio/gasyncresult.c:
1941 * gio/gbufferedinputstream.c:
1942 * gio/gbufferedoutputstream.c:
1943 * gio/gcancellable.c:
1944 * gio/gcontenttype.c:
1945 * gio/gdatainputstream.c:
1946 * gio/gdataoutputstream.c:
1947 * gio/gdesktopappinfo.c:
1948 * gio/gdirectorymonitor.c:
1952 * gio/gfileattribute.c:
1953 * gio/gfileenumerator.c:
1956 * gio/gfileinputstream.c:
1957 * gio/gfilemonitor.c:
1958 * gio/gfilenamecompleter.c:
1959 * gio/gfilenamecompleter.h:
1960 * gio/gfileoutputstream.c:
1961 * gio/gfilterinputstream.c:
1963 * gio/ginputstream.c:
1965 * gio/gioscheduler.c:
1966 * gio/gloadableicon.c:
1967 * gio/glocaldirectorymonitor.c:
1969 * gio/glocalfileinputstream.c:
1970 * gio/glocalfilemonitor.c:
1971 * gio/glocalfileoutputstream.c:
1973 * gio/gmemoryinputstream.c:
1974 * gio/gmemoryoutputstream.c:
1975 * gio/gmountoperation.c:
1976 * gio/goutputstream.c:
1977 * gio/gpollfilemonitor.c:
1979 * gio/gsimpleasyncresult.c:
1980 * gio/gsocketinputstream.c:
1981 * gio/gsocketoutputstream.c:
1982 * gio/gthemedicon.c:
1983 * gio/gunionvolumemonitor.c:
1985 * gio/gunixmounts.c:
1986 * gio/gunixvolume.c:
1987 * gio/gunixvolumemonitor.c:
1991 * gio/gvolumemonitor.c:
1992 * gio/gwin32appinfo.c:
1993 Add (mostly stub) doc strings to public functions.
1994 Patch from Andrew Walton (awalton@gmail.com)
1996 2007-11-06 Alexander Larsson <alexl@redhat.com>
1998 * gio/gappinfo.[ch]:
1999 Added GAppLaunchContext object and pass that to launch.
2000 This allows simple implementation of both
2001 launch-on-screen and startup notification via a gtk+
2002 subclass of GAppLaunchContext
2004 * gio/gdesktopappinfo.c:
2005 Implement GAppLaunchContext API
2007 * gio/gwin32appinfo.c:
2010 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2012 * gio/gmountoperation.c:
2013 Add some guards to GMountOperation's public functions.
2015 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2019 * gio/gcancellable.c:
2020 * gio/gdirectorymonitor.c:
2022 * gio/gfileenumerator.c:
2023 * gio/gfilemonitor.c:,
2024 * gio/gfilenamecompleter.c:
2027 * gio/gioscheduler.c:
2031 * gio/gvolumemonitor.c:
2032 Add even more guards to various public functions.
2034 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2037 Add guards to the public functions of GAppInfo.
2039 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2041 * gio/gcontenttype.c:
2042 Add some more guards for public functions.
2044 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2046 * gio/fam/fam-module.c:
2047 * gio/fam/gfamdirectorymonitor.c:
2048 * gio/fam/gfamdirectorymonitor.h:
2049 * gio/fam/gfamfilemonitor.c:
2050 * gio/fam/gfamfilemonitor.h:
2051 * gio/inotify/ginotifydirectorymonitor.c:
2052 * gio/inotify/ginotifydirectorymonitor.h:
2053 * gio/inotify/ginotifyfilemonitor.c:
2054 * gio/inotify/ginotifyfilemonitor.h:
2055 Add proper copyright information and remove an unused variable
2056 in the GInotifyFileMonitor constructor.
2058 * gio/gcancellable.c:
2059 Add a guard for a public function and an assertion to prevent
2060 an undefined program state.
2062 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2064 * gio/gfileattribute.c:
2065 Don't run into an assertion if the given attribute value is NULL
2066 in g_file_attribute_value_get_*() but instead return a fallback
2067 value that makes sense in most situations. Passing them a attribute
2068 value with the wrong type will still run into an assertion.
2070 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2072 * gio/gfileattribute.c:
2074 Add even more guards to the public functions. Also fix the refcounting
2075 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2076 let g_file_info_list_attributes() filter the attributes by namespace
2077 instead of simply ignoring the namespace parameter.
2079 2007-11-03 Sven Herzberg <sven@imendio.com>
2081 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2082 (This makes gio work on MacOS X again)
2084 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2087 Build the gio subdirectory before the docs. Otherwise the build will
2090 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2091 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2092 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2093 Add guards to the public functions.
2095 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2097 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2098 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2099 to prevent a compiler warning.
2101 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2102 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2103 return something in the non-void function find_topdir_for().
2105 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2112 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2114 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2115 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2116 * gwin32appinfo.c (g_win32_app_info_launch):
2117 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2118 envp_for_startup_id, g_desktop_app_info_launch,
2119 g_desktop_app_info_launch_uris):
2121 Give an opaque 'startup_id' string instead of 'envp'.
2122 Support empty file lists for launching new windows.
2123 Fix infinite recursion bug when launching URIs.
2125 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2128 Add guard to the new g_file_get_uri_scheme() function.
2130 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2133 Convert a g_return_val_if_fail() to setting the GError instead as
2134 otherwise applications have to verify the parameter before otherwise
2135 and the parameter might come directly from the user.
2137 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2139 * gio/inotify/ginotify*.[ch]:
2140 Add missing copyright information.
2142 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2145 Add guards in the beginning of public functions to check for valid
2146 parameters and fix a bug in copy_stream_with_progress() that could've
2147 caused writing less bytes than reading.
2148 * gio/glocalfileinfo.c:
2149 Check for a NULL parameter and set the GError accordingly then.
2150 * gio/goutputstream.c:
2151 Fix the same bug as in gfile.c that could've caused writing less bytes
2152 than reading in g_output_stream_real_splice().
2154 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2157 Use the correct gvolumeprivate.h naming
2159 2007-11-01 Christian Kellner <gicmo@gnome.org>
2162 Remove leftover "$(daemon_sources)" entry.
2164 2007-11-01 Christian Kellner <gicmo@gnome.org>
2169 Add copyright information to source files.
2171 2007-11-01 Alexander Larsson <alexl@redhat.com>
2175 Add g_file_get_uri_scheme
2177 2007-11-01 Alexander Larsson <alexl@redhat.com>
2180 * gio/gdesktopappinfo.c:
2181 * gio/gwin32appinfo.c:
2182 Add g_app_info_get_default_for_uri_scheme.
2184 2007-11-01 Alexander Larsson <alexl@redhat.com>
2187 Correct filename for gdriveprivate.h
2189 2007-10-31 Alexander Larsson <alexl@redhat.com>
2192 Rename id:value to id:file
2195 * gio/glocalfileinfo.c:
2198 2007-10-31 Alexander Larsson <alexl@redhat.com>
2200 * gio/gunixvolume.c:
2202 Remove g_volume_get_platform_id, as thats not
2203 needed with the simpler union volume monitor
2205 2007-10-31 Alexander Larsson <alexl@redhat.com>
2208 * gio/guniondrive.[ch]: Removed.
2209 * gio/gunionvolume.[ch]: Removed.
2210 Remove GUnionDrive/Volume
2212 * gio/gunionvolumemonitor.c:
2213 Simplify union volume monitor, now we
2214 only have one native volume monitor and
2215 we use the actual volumes/drives from the
2216 child monitors instead of wrapping them
2218 * gio/gnativevolumemonitor.[ch]:
2219 Base class for native volume monitors.
2220 Includes priority and get_volume_for_mountpoint
2223 Add g_file_find_enclosing_volume
2226 Remove volume name fs attribute
2227 Add readonly fs attribute
2230 Implement readonly attribute
2231 remove volume name attribute
2232 Implement find_enclosing volume
2234 * gio/gunixmounts.c:
2235 Add a volume for "/".
2237 * gio/gunixvolume.[ch]:
2238 Set better name for /
2240 * gio/gunixvolumemonitor.[ch]:
2241 Derive from GNativeVolumeMonitor
2242 Implement get_volume_for_mountpoint
2245 GVolume typedef moved to gfile.h
2247 * gio/gvolumeprivate.h:
2248 Add g_volume_get_for_mount_path
2250 2007-10-31 Alexander Larsson <alexl@redhat.com>
2252 * gio/gunixmounts.[ch]:
2253 Add cache info to unix mount listers
2254 Make getmntent use threadsafe
2255 Add is_system_internal attribute for GUnixMount
2257 * gio/gunixvolume.c:
2258 (g_unix_volume_new):
2259 Use is_system_internal instead of own code
2261 * gio/glocaldirectorymonitor.c:
2262 * gio/gunixvolumemonitor.c:
2263 Update to new gunixmounts API
2268 2007-10-30 Alexander Larsson <alexl@redhat.com>
2271 Add volume name fsinfo attribute
2274 Read volume name info
2276 * gio/gunionvolumemonitor.c:
2277 Fix infinite loops when finalizing a union volume monitor
2279 2007-10-30 Alexander Larsson <alexl@redhat.com>
2281 * gio/goutputstream.[ch]:
2282 Add splice() with default implementation
2284 * gio/gsocketoutputstream.c:
2285 (g_socket_output_stream_write):
2286 Return error on cancellation correctly.
2288 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2290 * gio/glocalfile.c (g_local_file_trash):
2291 Do not leak a string.
2293 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2295 * gio/gfile.c (g_file_load_contents):
2296 Unref the stream after closing it.
2298 2007-10-25 Alexander Larsson <alexl@redhat.com>
2300 * gio/gioscheduler.h:
2303 2007-10-25 Alexander Larsson <alexl@redhat.com>
2307 Add g_file_has_uri_scheme and implement for local files
2309 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2311 * gio/gdesktopappinfo.c: do not leak a string.
2313 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2315 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2316 (g_local_directory_monitor_new):
2317 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2318 (g_local_file_monitor_new):
2319 Only look for the monitor type that should be used the first time
2320 and use g_qsort_with_data() instead of our own bubble sort
2323 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2326 * gio/fam/Makefile.am:
2327 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2328 * gio/fam/fam-helper.h:
2329 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2330 * gio/fam/gfamdirectorymonitor.c:
2331 * gio/fam/gfamdirectorymonitor.h:
2332 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2333 * gio/fam/gfamfilemonitor.h:
2334 * gio/glocaldirectorymonitor.c:
2335 * gio/glocaldirectorymonitor.h:
2336 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2337 * gio/glocalfilemonitor.h:
2338 * gio/inotify/Makefile.am:
2339 * gio/inotify/ginotifydirectorymonitor.c:
2340 * gio/inotify/ginotifydirectorymonitor.h:
2341 * gio/inotify/ginotifyfilemonitor.c:
2342 * gio/inotify/ginotifyfilemonitor.h:
2343 Implement the FAM and Inotify monitors as
2344 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2345 their own GIO module. GLocal(Directory|File)Monitor will use the
2346 monitor with the highest rank that is supported on that machine.
2348 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2351 Change GIO module dir to $(libdir)/gio/modules and change
2352 the log domain from GVFS to GIO. Also only export symbols starting
2353 with g_ in the resulting library.
2354 * gio/test-streams.c: (main):
2355 Set log handler for the GIO log domain.
2357 2007-10-22 Alexander Larsson <alexl@redhat.com>
2359 * gio/gfilenamecompleter.[ch]:
2360 Add g_filename_completer_set_dirs_only
2362 2007-10-22 Alexander Larsson <alexl@redhat.com>
2365 * gio/gurifuncs.[ch]:
2366 Add some simple URI helpers
2368 * gio/gfilenamecompleter.[ch]:
2369 Added object for filename (parse name actually) completion
2372 Handle ~ in parse names
2374 2007-10-17 Alexander Larsson <alexl@redhat.com>
2377 * gio/glocalfileinfo.c:
2378 Add and implement id:value attribute
2380 2007-10-17 Alexander Larsson <alexl@redhat.com>
2383 * gio/guniondrive.c:
2385 Add and implement g_drive_has_volumes
2387 2007-10-17 Alexander Larsson <alexl@redhat.com>
2390 * gio/glocalfileinfo.[ch]:
2391 Add unix:is_mountpoint and implement for local files
2393 2007-10-16 Alexander Larsson <alexl@redhat.com>
2395 * gio/gunionvolumemonitor.c:
2396 (g_union_volume_monitor_init):
2397 Fix up the unix type getting so that it works with gcc
2399 2007-10-12 Alexander Larsson <alexl@redhat.com>
2402 * gio/glocalfileinfo.c:
2403 Add thumbnail:failed to file info
2405 2007-10-12 Richard Hult <richard@imendio.com>
2407 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2408 optimizing away the get_type call (happens with some gcc versions,
2409 like the one shipped with OS X 10.4).
2411 2007-10-12 Alexander Larsson <alexl@redhat.com>
2413 * gio/glocalfileinfo.c:
2414 (_g_local_file_info_set_attribute):
2415 Fix build if not HAVE_XATTR
2416 Patch from Milosz Derezynski <internalerror@gmail.com>
2418 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2420 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2421 around for review, otherwise I would have asked you before
2424 2007-10-11 Alexander Larsson <alexl@redhat.com>
2427 Add thumbnail:path attribute
2429 * gio/glocalfileinfo.c:
2430 Implement thumbnail:path for local files
2432 2007-10-11 Alexander Larsson <alexl@redhat.com>
2434 * gio/glocalfileinfo.c:
2435 (_g_local_file_info_get):
2436 Avoid duplicate icon names
2438 2007-10-11 Alexander Larsson <alexl@redhat.com>
2440 * gio/gthemedicon.[ch]:
2441 Change g_themed_icon_get_names return type to const
2443 2007-10-10 Alexander Larsson <alexl@redhat.com>
2445 * gio/glocalfileinfo.c:
2446 Don't reference freed memory
2448 2007-10-10 Alexander Larsson <alexl@redhat.com>
2450 * gio/gfileattribute.c:
2453 * gio/glocalfileinfo.c:
2456 2007-10-10 Alexander Larsson <alexl@redhat.com>
2459 Check for NULL icons
2461 * gio/gfileattribute.c:
2462 Don't dup when getting objects (same as for string attributes)
2464 * gio/gicon.c (g_icon_equal):
2465 Safely handle NULLs in equal
2467 2007-10-10 Alexander Larsson <alexl@redhat.com>
2470 Fix c++ compilation issues
2471 Patch from Milosz Derezynski <internalerror@gmail.com>
2473 2007-10-10 Alexander Larsson <alexl@redhat.com>
2475 * programs/gio-monitor-dir.c:
2476 Don't crash if dir monitor not supported.
2478 2007-10-09 Alexander Larsson <alexl@redhat.com>
2481 Add missing G_END_DECLS
2483 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2485 * gio/gfile.c: (g_file_set_display_name),
2486 (g_file_query_settable_attributes),
2487 (g_file_query_writable_namespaces):
2488 Return NULL not FALSE on errors as the return type is a pointer.
2490 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2492 * gio/glocalfile.c: (g_local_file_monitor_file):
2493 Don't call monitor_file on the default interface vtable (which
2494 is NULL) but simply return NULL. The caller, GFile, will create a
2495 polling monitor if NULL is returned.
2497 2007-10-09 Alexander Larsson <alexl@redhat.com>
2501 * gio-unix-2.0.pc.in:
2502 Add gio-unix-2.0.pc if OS_UNIX
2505 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2507 2007-10-09 Alexander Larsson <alexl@redhat.com>
2509 * gio/gunixmounts.[ch]:
2510 Make unix mount monitoring API sane.
2511 Now its just a object with mounts_changed
2512 and mountpoints_changed signals.
2514 * gio/glocaldirectorymonitor.c:
2515 * gio/gunixvolumemonitor.c:
2516 Use new mount monitor api
2518 2007-10-09 Alexander Larsson <alexl@redhat.com>
2520 * gio/gunixmounts.[ch]:
2521 Move guess type into one call for mounts and one for mountpoints
2524 * gio/gunixvolume.c:
2527 2007-10-09 Alexander Larsson <alexl@redhat.com>
2529 * gio/gunixmounts.[ch]:
2530 Remove _ prefix in preparation to make this semi-public
2531 Hide implementation of structs
2533 * gio/glocaldirectorymonitor.c:
2535 * gio/gunixvolume.c:
2536 * gio/gunixvolumemonitor.c:
2537 Update for above API changes
2539 2007-10-08 Alexander Larsson <alexl@redhat.com>
2542 Better polling fallback. This also handles the case where we have
2543 a monitor_file implementation, but it fails.
2545 2007-10-08 Alexander Larsson <alexl@redhat.com>
2549 * gio/gunixmounts.c:
2550 * programs/gio-monitor-dir.c:
2551 * programs/gio-monitor-file.c:
2552 Added cancellable to file monitoring calls.
2553 These are really sync calls and need this.
2555 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2557 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2558 (g_local_vfs_class_init):
2559 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2560 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2562 2007-10-05 Alexander Larsson <alexl@redhat.com>
2564 * gio/gdirectorymonitorprivate.h:
2565 * gio/gfilemonitorprivate.h:
2566 * gio/gdirectorymonitor.h:
2567 * gio/gfilemonitor.h:
2568 Remove *private.h and move to the public API, so that
2569 we can do implementations outside gio (such as in gvfs)
2571 * gio/gdirectorymonitor.c:
2572 * gio/gfilemonitor.c:
2573 * gio/glocaldirectorymonitor.c:
2574 * gio/gpollfilemonitor.c:
2575 * gio/inotify/inotify-helper.c:
2576 * gio/fam/fam-helper.c:
2577 Update to the new header names
2579 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2581 * gio/gdirectorymonitor.c:
2582 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2585 2007-10-04 Alexander Larsson <alexl@redhat.com>
2587 * gio/glocalfileinfo.c (get_access_rights):
2588 Set CAN_TRASH when we can move the file.
2589 We should really also check for a parent trash dir.
2591 2007-10-04 Alexander Larsson <alexl@redhat.com>
2593 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2594 Add can_trash access attribute
2596 2007-10-04 Alexander Larsson <alexl@redhat.com>
2599 (g_local_file_trash):
2600 Create info file first. This is per-spec and allows
2601 us to actually trash directories.
2603 2007-10-02 Alexander Larsson <alexl@redhat.com>
2605 * gio/gdesktopappinfo.c:
2606 Implement the new mime support code.
2607 Always set app as handling mimetype when being set as default for it
2609 2007-10-01 Alexander Larsson <alexl@redhat.com>
2611 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2612 Fix up check for xattrs:
2614 2007-10-01 Alexander Larsson <alexl@redhat.com>
2617 (g_app_info_set_as_default_for_extension):
2618 (g_app_info_add_supports_type):
2619 (g_app_info_can_remove_supports_type):
2620 (g_app_info_remove_supports_type):
2621 Make these fail nicely if not implemented
2623 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2625 * gio/glocalfileoutputstream.c:
2626 * gio/glocalfileoutputstream.h:
2631 * programs/gio-save.c:
2632 Add a GFileCreateFlags argument to operations that can create
2635 2007-10-01 Alexander Larsson <alexl@redhat.com>
2637 * gio/gappinfo.[ch]:
2638 * gio/gdesktopappinfo.c:
2639 Add more (stubbed out) mime API needed for nautilus
2641 2007-10-01 Alexander Larsson <alexl@redhat.com>
2644 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2645 Add g_app_info_set_as_default_for_extension.
2647 * gio/gdesktopappinfo.c:
2648 Dummy for g_app_info_set_as_default_for_extension
2649 Support flags in g_app_info_create_from_commandline
2651 * gio/gwin32appinfo.c:
2653 Update for API changes
2655 * gio/gthemedicon.c:
2656 Properly NULL-terminate list of icon names
2658 2007-09-28 Alexander Larsson <alexl@redhat.com>
2660 * gio/gloadableicon.h:
2661 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2663 2007-09-28 Alexander Larsson <alexl@redhat.com>
2666 Install headers in $includedir/gio-standalone/
2668 * gio-2.0.pc.in: Added.
2669 * gio-standalone.pc.in: Removed.
2672 Renamed pkg-config file to match glib (for future move)
2673 Update to the new include dir
2676 Add more TODO comments
2678 2007-09-28 Alexander Larsson <alexl@redhat.com>
2680 * gio/gdesktopappinfo.[ch]:
2681 Expose new_from_filename
2682 Add getter for is_hidden and handle it better
2684 2007-09-28 Alexander Larsson <alexl@redhat.com>
2686 * gio/gfileinfo.[ch]:
2687 Rename g_file_size_format_for_display to
2688 g_format_file_size_for_display.
2689 Now it doesn't have the g_file prefix, so we
2690 can later move it to glib.
2692 2007-09-28 Alexander Larsson <alexl@redhat.com>
2694 * gio/gappinfo.[ch]:
2695 Add g_app_info_get_id and g_app_info_get_executable.
2696 Make all getters non-reffing
2697 Make g_app_info_launch take GFile arguments.
2698 Add must_support_uris argument to g_app_info_get_default_for_type.
2700 * gio/gwin32appinfo.c:
2701 Update to GAppInfo api changes
2703 * gio/gdesktopappinfo.c:
2704 Update to GAppInfo api changes
2705 Implement supports_xdg_startup_notify
2707 * gio/gfileicon.c (g_file_icon_get_file):
2708 Make getter non-reffing.
2713 2007-09-27 Alexander Larsson <alexl@redhat.com>
2715 * gio/gfileinfo.[ch]:
2716 Add g_file_size_format_for_display helper
2718 2007-09-27 Alexander Larsson <alexl@redhat.com>
2720 * gio/glocalfileinfo.c:
2721 Set UNIX_GID from gid, not from uid
2723 2007-09-27 Alexander Larsson <alexl@redhat.com>
2726 Add g_file_set_attributes_async
2728 2007-09-27 Alexander Larsson <alexl@redhat.com>
2730 * gio/glocalfile.c (g_local_file_set_display_name):
2731 Fix set_display_name to actually rename to the right place.
2732 Use lstat to look for existing files so we don't overwrite
2735 2007-09-26 Alexander Larsson <alexl@redhat.com>
2738 Add g_file_set_display_name_async()
2740 2007-09-26 Alexander Larsson <alexl@redhat.com>
2743 Add load_partial_contents async calls
2746 Make internal function static
2748 2007-09-26 Alexander Larsson <alexl@redhat.com>
2750 * gio/glocalfileinfo.c:
2751 Correctly detect broken symlinks
2753 2007-09-26 Alexander Larsson <alexl@redhat.com>
2755 * gio/gcancellable.c (g_cancellable_cancel):
2756 Allow cancel on NULL cancellable
2758 2007-09-25 Alexander Larsson <alexl@redhat.com>
2760 * gio/gsimpleasyncresult.c:
2761 Don't allocate g_error manually.
2762 Fixes g_slice/g_new mixup crash
2764 2007-09-25 Alexander Larsson <alexl@redhat.com>
2766 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2767 Actually set active_backend.
2768 This means the monitor will be cancelled correctly.
2770 2007-09-25 Alexander Larsson <alexl@redhat.com>
2772 * gio/gdirectorymonitor.c:
2773 Set timeout to NULL when destroying
2775 2007-09-25 Alexander Larsson <alexl@redhat.com>
2778 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2779 that is a better description of the error.
2781 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2783 * gio/gvfs.c: (g_vfs_get_local):
2784 Make the local vfs variable static. The same instance should
2787 2007-09-24 Alexander Larsson <alexl@redhat.com>
2789 * gio/glocalfileinfo.c:
2790 Pass in actual length read into sniffer, not the length
2793 2007-09-21 Alexander Larsson <alexl@redhat.com>
2795 * gio/gfileenumerator.c:
2798 * gio/gfileinputstream.c:
2799 * gio/gfileoutputstream.c:
2800 * gio/ginputstream.c:
2801 * gio/goutputstream.c:
2802 Don't crash if async callbacks are NULL
2804 2007-09-20 Alexander Larsson <alexl@redhat.com>
2807 Add async enumerate_children method and default
2810 2007-09-20 Alexander Larsson <alexl@redhat.com>
2813 Add g_file_contains_file & g_file_get_relative_path, since they
2814 were needed for nautilus.
2815 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2820 Implement new methods
2822 2007-09-17 Alexander Larsson <alexl@redhat.com>
2825 * gio/gfileinputstream.[ch]:
2826 * gio/gfileoutputstream.[ch]:
2828 * gio/glocalfileenumerator.[ch]:
2829 * gio/glocalfileinfo.[ch]:
2830 * gio/glocalfileinputstream.c:
2831 * gio/glocalfileoutputstream.c:
2832 * gio/gpollfilemonitor.c:
2833 * programs/gio-copy.c:
2834 * programs/gio-info.c:
2835 * programs/gio-move.c:
2836 Rename get_file_info to query_info() to make it clearer
2837 that these are not simple getters, but do i/o.
2839 2007-09-17 Alexander Larsson <alexl@redhat.com>
2841 * gio/gdatainputstream.[ch]:
2842 * gio/test-streams.c:
2843 Use _read_XXX instead of _get_XXX for the i/o calls
2846 2007-09-17 Alexander Larsson <alexl@redhat.com>
2849 Added needed stuff to TODO comment
2851 2007-09-17 Alexander Larsson <alexl@redhat.com>
2853 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2854 Don't error out removing the backup copy if it doesn't
2857 2007-09-14 Alexander Larsson <alexl@redhat.com>
2859 * programs/Makefile.am:
2860 * programs/gvfs-*.c:
2862 Renamed apps from gvfs-xxx to gio-xxx.
2864 2007-09-14 Alexander Larsson <alexl@redhat.com>
2867 * gio/gfileoutputstream.[ch]:
2868 * gio/glocalfileoutputstream.c:
2869 * programs/gvfs-save.c:
2870 g_file_output_stream_get_etag doesn't do i/o, so remove
2871 cancellation and error.
2873 2007-09-14 Alexander Larsson <alexl@redhat.com>
2876 Add new_etag output to replace_contents functions
2878 2007-09-14 Alexander Larsson <alexl@redhat.com>
2880 * gio/gfileoutputstream.[ch]:
2881 Add async get_file_info and default implementation
2883 2007-09-14 Alexander Larsson <alexl@redhat.com>
2885 * gio/gfileinputstream.c:
2886 Implement fallback wrapper for async get_file_info
2888 2007-09-14 Alexander Larsson <alexl@redhat.com>
2891 Add etag out argument to load_contents
2896 2007-09-14 Alexander Larsson <alexl@redhat.com>
2898 * gio/gcontenttype.c (looks_like_text):
2899 Whitespace like tab, cr and lf do not make the
2902 2007-09-14 Alexander Larsson <alexl@redhat.com>
2904 * gio/gfileinputstream.[ch]:
2905 Add async get_file_info.
2907 2007-09-13 Alexander Larsson <alexl@redhat.com>
2909 * gio/goutputstream.c (g_output_stream_write_all):
2910 Allow NULL for bytes_written
2912 2007-09-13 Alexander Larsson <alexl@redhat.com>
2914 * gio/gmemoryinputstream.[ch]:
2915 Add accessors for data
2917 2007-09-13 Alexander Larsson <alexl@redhat.com>
2919 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2920 Don't crash if length is NULL