1 2008-01-18 Murray Cumming <murrayc@murrayc.com>
5 * gfile.c: Fixed some minor typos in the
8 2008-01-18 Murray Cumming <murrayc@murrayc.com>
10 * gio/gvolumemonitor.c:
11 (g_volume_monitor_get_connected_drives):
12 (g_volume_monitor_get_volumes):
13 (g_volume_monitor_get_mounts): Documentation:
14 Clarify the ownership of the regurn GLists.
16 2008-01-17 Alexander Larsson <alexl@redhat.com>
19 Add the async find_enclosing_mount version
20 to the header file too.
22 2008-01-17 Alexander Larsson <alexl@redhat.com>
25 Add async version of find_enclosing_mount
26 with default implementation.
28 2008-01-17 Alexander Larsson <alexl@redhat.com>
33 Allow calls to implementation of copy and write
34 even if the type of the file implementations is
35 different. This can be used to implement native
36 upload and download calls in a vfs.
40 Protect against the case where move is called
41 with one file not being local.
43 Make sure we call the progress callback once
44 in the native move operation so that the caller
45 knows how many bytes were copied.
47 2008-01-16 Murray Cumming <murrayc@murrayc.com>
52 * gfileoutputstream.c:
57 * gunixmounts.c: Corrected some typos in the documentation:
59 its -> it's (where appropriate).
61 2008-01-16 Alexander Larsson <alexl@redhat.com>
65 Add g_file_query_exists (#508771)
67 2008-01-15 Murray Cumming <murrayc@murrayc.com>
72 * gvolume.c: For async functions that have no non-async
73 version, document that the GAsyncReadyCallback may be NULL.
76 2008-01-15 Alexander Larsson <alexl@redhat.com>
78 * gmemoryinputstream.c:
79 * gmemoryoutputstream.c:
80 Don't do pointer arithmetic on void * (#508602)
81 Patch from Kazuki IWAMOTO
83 2008-01-14 Matthias Clasen <mclasen@redhat.com>
85 * === Released 2.15.2 ===
87 2008-01-14 Alexander Larsson <alexl@redhat.com>
89 * gfile.c (g_file_monitor_file):
90 Don't set error here, since we fallback to polling monitor.
92 2008-01-14 Alexander Larsson <alexl@redhat.com>
95 (g_file_monitor_directory):
96 (g_file_monitor_file):
97 Add GError to file monitor calls
99 * glocaldirectorymonitor.c:
100 * glocaldirectorymonitor.h:
102 * glocalfilemonitor.c:
103 * glocalfilemonitor.h:
105 Update for above change
107 2008-01-14 Alexander Larsson <alexl@redhat.com>
111 Handle root correctly in g_file_get_relative_path (#508719)
113 2008-01-14 Alexander Larsson <alexl@redhat.com>
116 Clean up docs and example for GAsyncResult (#508074)
118 2008-01-11 Murray Cumming <murrayc@murrayc.com>
120 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
121 and correct some spelling mistakes. Bug #508108.
123 2008-01-11 Matthias Clasen <mclasen@redhat.com>
125 * glocalfileinfo.c: Add a comment.
127 2008-01-10 Murray Cumming <murrayc@murrayc.com>
129 * gfileinfo.c: GFileInfo description: Mention
130 how to actually set attributes in a GFile and how to discover
131 which attributes are settable. Bug #508378.
133 2008-01-10 A. Walton <awalton@svn.gnome.org>
135 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
136 (g_app_info_get_default_for_type):
137 Check for NULL content types.
139 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
141 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
143 2008-01-09 Murray Cumming <murrayc@murrayc.com>
145 * gfile.c: *_async() functions: Several small corrections
146 to the documentation, mostly correcting copy/paste errors
147 and improving some sentences.
149 2008-01-09 Dan Winship <danw@gnome.org>
151 * glocalfile.c (get_unique_filename): x86_64 fix
153 2008-01-09 Alexander Larsson <alexl@redhat.com>
158 Add g_unix_mount_guess_should_display and use
159 for unix volume monitor backend.
160 This means we more or less show what the
161 gnome-vfs backend did.
162 Based on patch from Padraig O'Briain
164 2008-01-09 Alexander Larsson <alexl@redhat.com>
168 Add g_themed_icon_new_with_default_fallbacks
171 Use default fallbacks for icons
173 2008-01-09 Alexander Larsson <alexl@redhat.com>
176 * gmountoperation.[ch]:
177 Change the API a bit so that unhandled methods
178 get reported via the reply, rather than by
179 the signal emission return value. This is because
180 some handlers can't know this immediately without
181 doing I/O, and this is an async operation that
184 2008-01-09 Alexander Larsson <alexl@redhat.com>
187 * fam/gfamdirectorymonitor.c:
188 * fam/gfamfilemonitor.c:
189 Fix double free crash (#508224)
190 Patch from Joe Marcus Clarke
192 008-01-07 Matthias Clasen <mclasen@redhat.com>
194 * === Released 2.15.1 ===
196 2008-01-07 Alexander Larsson <alexl@redhat.com>
198 * gunixinputstream.c (g_unix_input_stream_skip_finish):
199 Fix warning (#507835)
201 2008-01-07 Alexander Larsson <alexl@redhat.com>
204 Pass --internal to glib-genmarshal
209 Use better types for signal arguments (#507822)
211 2008-01-07 Alexander Larsson <alexl@redhat.com>
214 Build test subdir after .
215 Remove gdirectorymonitor.[ch]
217 * gdirectorymonitor.[ch]:
221 Remove GDirectoryMonitor and make
222 GFileMonitor the baseclass for both file and
223 directory monitors. Lift the more generic
224 rate limiting code from GDirectoryMonitor
228 * fam/gfamdirectorymonitor.[ch]:
229 * inotify/ginotifydirectorymonitor.[ch]:
230 * inotify/inotify-helper.c:
231 * glocaldirectorymonitor.[ch]:
234 Update for the removed GDirectoryMonitor.
236 * gmemoryoutputstream.c:
237 Remove ununsed variable
239 2008-01-07 Alexander Larsson <alexl@redhat.com>
241 * gmemoryinputstream.c:
242 Translate error strings
245 * gmemoryoutputstream.[ch]:
246 New implementation that avoids using GByteArray
247 in implementation and API. (#506377)
249 2008-01-06 Matthias Clasen <mclasen@redhat.com>
251 * tests/*: Add a test for memory input streams.
253 * Makefile.am: Add tests to SUBDIRS.
255 2008-01-06 Matthias Clasen <mclasen@redhat.com>
257 * glocalfilemonitor.c:
258 * glocaldirectorymonitor.c: Mark property nicks and blurbs
261 2008-01-06 Matthias Clasen <mclasen@redhat.com>
263 * gdesktopappinfo.c: Fix a docs typo.
265 * gfileattribute.c: Add information about extended attributes
266 to the documentation. (#505058)
268 2008-01-04 Alexander Larsson <alexl@redhat.com>
272 Use the right type (uint) for the ask_password signal.
274 2008-01-04 Alexander Larsson <alexl@redhat.com>
279 Add g_app_info_supports_files()
280 Remove desktop arg from g_app_info_should_show().
282 * gdesktopappinfo.[ch]:
283 Implement g_app_info_supports_files() and new should_show()
284 Add g_desktop_app_info_set_desktop_env() to set the desktop
285 for should_show(). (This will be set by gtk+ later)
287 2008-01-04 Alexander Larsson <alexl@redhat.com>
290 * gmemoryinputstream.[ch]:
291 Improve API so that you can use multiple chunks
292 of memory and custom destroy functions. (#506374)
294 2008-01-03 Alexander Larsson <alexl@redhat.com>
297 Handle NULL attribute matchers safely, as we return this
298 for empty attribute matcher strings.
300 2008-01-03 Alexander Larsson <alexl@redhat.com>
302 * gunixmounts.c (g_unix_is_mount_path_system_internal):
303 Add /usr/local to list of internal mountpoints
305 2008-01-03 Alexander Larsson <alexl@redhat.com>
308 Check for HAVE_LCHOWN (#505887)
310 2008-01-03 Alexander Larsson <alexl@redhat.com>
314 Add define for selinux context attribute.
315 Fix missing : -> :: namespace separator change
316 Fix missing _ -> - name change for xattr-sys.
319 2008-01-03 Alexander Larsson <alexl@redhat.com>
322 Link to libglib and libgobject directly (#504879)
323 Patch from Sebastien Bacher
325 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
327 * gfile.c: Expanded the g_file_new_for_commandline_arg
328 description a bit, based on the code and the docs of the
329 other g_file_new_for_* functions.
331 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
333 * gfilemonitor.h: Fixed typo in docs.
335 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
337 Updates to GIO documentation. (#506395, Mikael Hermansson)
339 * gcontenttype.c: Describe memory management for return value of
340 g_content_types_get_registered(). Missing piece from #505815.
341 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
342 GVolume, GDrive, GMounts, which hopefully gives the user less
343 confusions when using this API. Following explainations from
344 Alexander Larsson on gtk-devel-list.
346 2007-12-30 Matthias Clasen <mclasen@redhat.com>
348 * gfileinfo.c: Expand the long description.
350 2007-12-30 Matthias Clasen <mclasen@redhat.com>
353 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
354 fix builds with --disable-visibility. (#500273, Christian Persch)
356 2007-12-30 Matthias Clasen <mclasen@redhat.com>
358 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
359 in the list of returned app infos.
361 2007-12-30 Matthias Clasen <mclasen@redhat.com>
363 * gappinfo.c: Fix a cross-reference
365 2007-12-30 Matthias Clasen <mclasen@redhat.com>
367 * gfileinputstream.c:
368 * gfileoutputstream.c:
374 * gfileinfo.c: Documentation updates.
376 2007-12-26 Matthias Clasen <mclasen@redhat.com>
378 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
381 2007-12-26 Matthias Clasen <mclasen@redhat.com>
383 * gcontenttype.c (g_content_types_get_registered): Don't return
384 freed memory (#505815, Mikael Hermansson)
386 2007-12-25 Paolo Borelli <pborelli@katamail.com>
388 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
389 used to detect statbuf->st_blocks. (#505042)
391 2007-12-24 Matthias Clasen <mclasen@redhat.com>
393 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
394 environment handling. (#504829, Cosimo Cecchi)
396 2007-12-22 Matthias Clasen <mclasen@redhat.com>
398 * gappinfo.c: Doc improvements
400 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
403 2007-12-20 Matthias Clasen <mclasen@redhat.com>
405 * === Released 2.15.0 ===
407 2007-12-20 Hans Breuer <hans@breuer.org>
409 * makefile.msc : don't build gdesktopappinfo.obj, it collides
410 with symbols gwin32appinfo.obj, added gmount.obj
411 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
413 2007-12-20 Alexander Larsson <alexl@redhat.com>
419 * gfilenamecompleter.c:
422 * gpollfilemonitor.c:
423 File attribute renames:
426 id::fs -> id::filesystem
428 2007-12-20 Alexander Larsson <alexl@redhat.com>
437 Add GMountUnmountFlags to all unmount and
439 Add g_mount_remount() call.
441 2007-12-20 Alexander Larsson <alexl@redhat.com>
443 * gvfs.c (get_default_vfs):
444 Fix unused variable warning
446 2007-12-19 Matthias Clasen <mclasen@redhat.com>
448 * pltcheck.sh: Update
450 2007-12-19 Matthias Clasen <mclasen@redhat.com>
452 * gunionvolumemonitor.c:
453 * gunixmount.c: Remove C99 comments
455 2007-12-19 Matthias Clasen <mclasen@redhat.com>
457 * gio.symbols: Add some missing symbols
459 2007-12-19 Alexander Larsson <alexl@redhat.com>
462 Make g_io_modules_load_all_in_directory not unuse
463 loaded modules so that users of it can do stuff
465 Init internal "module" types.
466 Initialize static prio and name for types so that
467 we don't have to load modules to get it.
469 * gnativevolumemonitor.h:
471 Move is_supported to parent class so that
472 non-native monitors can avoid being initialized
473 too. (For instance GDaemonVolumeMonitor if we're
474 not using GDaemonVfs.)
476 * glocaldirectorymonitor.[ch]:
477 * glocalfilemonitor.[ch]:
478 * gunionvolumemonitor.c:
479 * gunixvolumemonitor.c:
481 Find plugins using the static prio+name to
482 avoid unnecessarily loading the modules.
484 2007-12-19 Alexander Larsson <alexl@redhat.com>
489 2007-12-19 Alexander Larsson <alexl@redhat.com>
491 * gunionvolumemonitor.c:
492 Store the native type as GType, not class so that
493 we can unload it. But still avoid unnecessarily
496 2007-12-19 David Zeuthen <davidz@redhat.com>
498 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
499 add signals 'disconnected' and 'eject-button' on GDrive. Add
500 signal 'removed' on GVolume and 'unmounted' on GMount.
502 * gdrive.c: (g_drive_base_init):
504 * gfile.c: (g_file_mount_mountable),
505 (g_file_mount_enclosing_volume):
508 * gmount.c: (g_mount_base_init):
510 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
511 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
512 * gvolume.c: (g_volume_base_init), (g_volume_mount):
516 2007-12-17 Matthias Clasen <mclasen@redhat.com>
518 * *.c: Fix up includes in the section docs.
520 2007-12-17 Alexander Larsson <alexl@redhat.com>
522 * gnativevolumemonitor.h:
523 * gunionvolumemonitor.c:
524 * gunixvolumemonitor.c:
525 Add is_supported() to GNativeVolumeMonitorClass so
526 that we can avoid having to create an object to see
527 if the backend is supported at runtime.
528 Also add name member and an env var to pick a specific
529 volume monitor backend.
533 Add cancellable to _g_mount_get_for_mount_path()
535 * glocaldirectorymonitor.c:
536 * glocalfilemonitor.c:
537 Avoid loading and unloading modules while sorting.
539 2007-12-17 Matthias Clasen <mclasen@redhat.com>
542 * gunixmounts.[hc]: Namespace waste reduction, move some
543 g_get_unix_mount functions to the g_unix_mount namespace.
546 * gunixvolumemonitor.c:
548 * glocaldirectorymonitor.c: Update all callers.
550 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
552 2007-12-17 Alexander Larsson <alexl@redhat.com>
555 Add doc comments about what GFile operations are
556 guaranteed to not block.
558 2007-12-17 Alexander Larsson <alexl@redhat.com>
561 Add missing #ifdef fixing OSX build.
562 (#503334, patch from Richard Hult)
564 2007-12-14 David Zeuthen <davidz@redhat.com>
568 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
569 (g_mount_eject), (g_mount_eject_finish):
571 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
572 (get_volume_for_uuid), (get_mount_for_uuid),
573 (g_union_volume_monitor_class_init),
574 (get_default_native_type_with_exclude), (get_default_native_type),
575 (get_native_type), (update_native_type),
576 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
577 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
578 (g_unix_mount_can_eject), (eject_unmount_cb),
579 (eject_unmount_read_error), (eject_unmount_do),
580 (g_unix_mount_unmount), (g_unix_mount_eject),
581 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
582 * gunixmounts.c: (g_unix_mount_guess_can_eject),
583 (g_unix_mount_point_guess_can_eject):
585 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
586 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
587 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
588 (g_unix_volume_mount), (g_unix_volume_eject),
589 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
590 * gunixvolumemonitor.c: (get_volume_for_uuid),
591 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
593 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
594 (g_volume_eject), (g_volume_eject_finish):
596 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
597 (g_volume_monitor_get_mount_for_uuid):
600 Provide eject() on both GMount and GVolume and utility functions
601 to guess whether a GUnixMountPoint or GUnixMountEntry should be
602 ejected. Introduce the concept of UUID's and wire it into GVolume
603 and GMount and provide API on GVolumeMonitor to find such
604 instances. Also handle the case where an external
605 GNativeVolumeMonitor fails to initialize. Lock around the
606 _g_get_mount_for_mount_path() function such that volume monitor
607 implementations won't have to do locking themselves.
609 2007-12-17 Matthias Clasen <mclasen@redhat.com>
617 * gvolume.h: Documentation updates
619 2007-12-14 Matthias Clasen <mclasen@redhat.com>
622 * gfile.h: Doc updates
624 2007-12-14 Matthias Clasen <mclasen@redhat.com>
627 * gdesktopappinfo.c: Use hash table iterators.
629 2007-12-14 Alexander Larsson <alexl@redhat.com>
632 * gfileattribute.[ch]:
633 * gfileattribute-priv.h:
634 Move GFileAttributeValue to a private header, as
638 Make set_attribute take a type + a pointer instead
639 of a GFileAttributeValue.
642 Fix up for above changes.
643 Add g_file_info_get_attribute_data to get
644 all info in one call, g_file_info_get_attribute_status
645 to get the status and g_file_info_get_attribute_as_string.
649 * glocalfileinfo.[ch]:
653 Make _guess_type static.
655 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
658 * inotify/Makefile.am: Fixed build when srcdir != builddir,
659 made mkenums and friends use temporary files to avoid leaving
660 empty generated files on failure (#503470).
662 2007-12-14 Alexander Larsson <alexl@redhat.com>
667 2007-12-14 Alexander Larsson <alexl@redhat.com>
671 * gfileattribute.[ch]:
674 * glocalfileoutputstream.c:
675 * gmountoperation.[ch]:
676 * goutputstream.[ch]:
677 Clean up all flags enums to not have _FLAGS in them
678 Make the names of some of the enums better.
683 2007-12-14 Michael Natterer <mitch@imendio.com>
685 * gio.symbols: fix g_io_scheduler symbol names.
687 2007-12-14 Alexander Larsson <alexl@redhat.com>
693 * gbufferedinputstream.h:
694 * gbufferedoutputstream.h:
697 * gdatainputstream.h:
698 * gdataoutputstream.h:
700 * gdirectorymonitor.h:
707 * gfileinputstream.h:
709 * gfilenamecompleter.h:
710 * gfileoutputstream.h:
711 * gfilterinputstream.h:
712 * gfilteroutputstream.h:
720 * gmemoryinputstream.h:
721 * gmemoryoutputstream.h:
726 * gsimpleasyncresult.h:
728 * gunixinputstream.h:
730 * gunixoutputstream.h:
734 * inotify/Makefile.am:
735 Only allow including <gio/gio.h> from apps
737 2007-12-14 Alexander Larsson <alexl@redhat.com>
740 * gsimpleasyncresult.c:
741 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
742 Split out the send_to_mainloop call into two versions instead
743 of having the block argument.
745 2007-12-13 Alexander Larsson <alexl@redhat.com>
749 * gbufferedinputstream.c:
751 * gfileinputstream.c:
752 * gfileoutputstream.c:
756 g_push/pop_current_cancellable ->
757 g_cancellable_push/pop_current
759 2007-12-13 Alexander Larsson <alexl@redhat.com>
763 Rename g_mount_for_location to g_file_mount_enclosing_volume.
765 2007-12-13 Alexander Larsson <alexl@redhat.com>
768 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
770 2007-12-12 Alexander Larsson <alexl@redhat.com>
773 Fix race condition when freeing proxy in
774 g_io_job_send_to_mainloop().
776 2007-12-12 Alexander Larsson <alexl@redhat.com>
782 Make attribute namespace separator "::" instead of ":".
783 Use - instead of _ as separator in attribute names.
785 2007-12-12 Alexander Larsson <alexl@redhat.com>
787 * gbufferedinputstream.h:
788 * gbufferedoutputstream.h:
789 * gdatainputstream.h:
790 * gdataoutputstream.h:
791 * gdirectorymonitor.h:
793 * gfileinputstream.h:
795 * gfileoutputstream.h:
796 * gfilterinputstream.h:
797 * gfilteroutputstream.h:
799 * glocalfileinputstream.h:
800 * glocalfileoutputstream.h:
801 * gmemoryinputstream.h:
802 * gmemoryoutputstream.h:
803 * gnativevolumemonitor.h:
805 * gunixinputstream.h:
806 * gunixoutputstream.h:
809 s/parent/parent_instance/ in GObjects
811 2007-12-12 Alexander Larsson <alexl@redhat.com>
816 No need for padding for interfaces
818 2007-12-12 Alexander Larsson <alexl@redhat.com>
822 * gbufferedinputstream.c:
823 * gbufferedoutputstream.c:
826 * gdatainputstream.[ch]:
828 * gdirectorymonitor.c:
830 * gfileattribute.[ch]:
833 * gfileinputstream.h:
835 * gfileoutputstream.[ch]:
836 * gfilterinputstream.h:
837 * gfilteroutputstream.h:
840 * gloadableicon.[ch]:
841 * gmemoryinputstream.c:
844 Fix up a bunch of details in the docs.
849 2007-12-11 David Zeuthen <davidz@redhat.com>
851 Rework how volumes, drives and volume monitoring is
852 done. Previosly the model was
856 where a GDrive instance represented a mount point and a GVolume
857 instance represented a mounted file system. This patch changes it
860 GDrive <1-N> GVolume <1-1> GMount
862 where GMount now serves the purpose of the old GVolume and the new
863 GVolume serves the purpose of the old GDrive. In addition the new
864 GDrive interface is used to represent a collection of GVolume
865 instances (typically partitions) and also contains utility to query
866 the state of the physical drive the GDrive object represents (such
867 as checking for media, polling the drive, ejecting the media etc.).
869 Also implement mounting and unmounting in the Unix volume monitor
870 backend. A subquent patch will introduce GDrive support for ejection
874 * gdrive.c: (g_drive_is_media_check_automatic),
875 (g_drive_is_media_removable), (g_drive_has_media),
876 (g_drive_can_poll_for_media), (g_drive_eject),
877 (g_drive_eject_finish), (g_drive_poll_for_media),
878 (g_drive_poll_for_media_finish):
880 * gfile.c: (g_file_find_enclosing_mount):
883 * glocaldirectorymonitor.c:
884 (g_local_directory_monitor_constructor), (mounts_changed):
885 * glocalfile.c: (get_mount_info),
886 (g_local_file_find_enclosing_mount),
887 (g_local_file_file_iface_init):
888 * gnativevolumemonitor.h:
889 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
890 (get_connected_drives), (g_union_volume_monitor_class_init),
891 (child_volume_added), (child_volume_removed),
892 (child_volume_changed), (child_mount_added), (child_mount_removed),
893 (child_mount_pre_unmount), (child_mount_changed),
894 (child_drive_changed), (g_union_volume_monitor_add_monitor),
895 (g_union_volume_monitor_remove_monitor),
896 (_g_mount_get_for_mount_path):
897 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
898 (guess_system_internal), (_g_get_unix_mounts),
899 (_g_get_unix_mount_points), (g_get_unix_mount_at),
900 (g_unix_mount_free), (g_unix_mount_compare),
901 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
902 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
903 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
904 (type_to_icon), (g_unix_mount_guess_name),
905 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
906 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
907 (_resolve_symlink), (_resolve_dev_root):
909 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
910 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
911 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
912 (g_unix_volume_get_name), (g_unix_volume_can_mount),
913 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
914 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
915 (g_unix_volume_mount), (g_unix_volume_mount_finish),
916 (g_unix_volume_volume_iface_init):
918 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
919 (get_mounts), (get_volumes), (get_connected_drives),
920 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
921 (mountpoints_changed), (mounts_changed),
922 (g_unix_volume_monitor_init),
923 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
924 (find_mount_by_mountpath), (update_volumes), (update_mounts):
925 * gunixvolumemonitor.h:
926 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
927 (g_volume_mount), (g_volume_mount_finish):
929 * gvolumemonitor.c: (g_volume_monitor_class_init),
930 (g_volume_monitor_get_connected_drives),
931 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
934 2007-12-10 Matthias Clasen <mclasen@redhat.com>
936 * gmountoperation.h (GPasswordFlags): Close the gap
938 2007-12-10 Matthias Clasen <mclasen@redhat.com>
940 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
942 * gdesktopappinfo.[hc]: Remove _-prefixes
944 2007-12-10 Tor Lillqvist <tml@novell.com>
946 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
949 2007-12-10 Alexander Larsson <alexl@redhat.com>
951 * gfile.c (g_file_set_display_name):
952 Don't hardcode '/' (#502727)
954 2007-12-09 Hans Breuer <hans@breuer.org>
956 * makefile.msc : follow lib naming convention
957 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
958 for user and group name, tested with ../tests/gio-ls
960 2007-12-09 A. Walton <awalton@svn.gnome.org>
973 * gmemoryinputstream.c:
974 * gmemoryoutputstream.c:
976 * gsimpleasyncresult.c:
977 More documentation cleanup and filling in missing information, bringing
978 GIO to 99% symbol coverage.
980 2007-12-08 Hans Breuer <hans@breuer.org>
982 [gio compiles and links on win32, not sure how much already works]
983 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
984 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
985 base on win32 API; prefer g_lstat() over lstat(); instead of
986 localtime_r() use an all GLib implementation on win32;
987 get_mount_info() still needs a win32 specifc implementation
988 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
989 win32_get_file_user_info to get owner/group info without uid/gid
990 * glocalfileinputstream.c : include <io.h> on win32
991 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
992 definition, use g_win32_ftruncate() for G_OS_WIN32
993 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
994 it is available with mingw/w32api but a mess with the M$ Platform SDKs
995 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
996 * makefile.msc : updated
998 2007-12-07 Alexander Larsson <alexl@redhat.com>
1000 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1001 Avoid warning spew if error == NULL
1003 2007-12-07 Alexander Larsson <alexl@redhat.com>
1006 Update docs wrt etags
1008 2007-12-06 Alexander Larsson <alexl@redhat.com>
1011 Include sys/types.h for dev_t (#501919)
1013 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1017 Make abicheck and pltcheck pass.
1019 2007-12-05 Alexander Larsson <alexl@redhat.com>
1022 * giomodule-priv.h: Added.
1023 * glocaldirectorymonitor.c:
1024 * glocalfilemonitor.c:
1025 * gunionvolumemonitor.c:
1027 Actually add the declaration of _g_io_modules_ensure_loaded
1029 2007-12-05 Alexander Larsson <alexl@redhat.com>
1031 * gdatainputstream.c:
1036 * glocaldirectorymonitor.c:
1037 * glocalfilemonitor.c:
1038 * gunionvolumemonitor.c:
1040 Make g_io_modules_ensure_loaded a private function and
1041 don't pass in the dirname. This means we can do magic
1042 directory finding in the win32 version.
1043 Export the actual load-modules-in-directory code so that
1044 gvfs can reuse that.
1046 2007-12-05 Alexander Larsson <alexl@redhat.com>
1048 * gbufferedinputstream.c:
1049 * gbufferedoutputstream.c:
1052 * gfileenumerator.[ch]:
1053 * gfileinputstream.c:
1054 * gfileoutputstream.[ch]:
1055 * gfilterinputstream.c:
1056 * gfilteroutputstream.c:
1057 * ginputstream.[ch]:
1059 * glocalfileenumerator.c:
1060 * glocalfileinputstream.c:
1061 * glocalfileoutputstream.c:
1062 * gmemoryinputstream.c:
1063 * gmemoryoutputstream.c:
1064 * goutputstream.[ch]:
1067 * gunixinputstream.c:
1068 * gunixoutputstream.c:
1069 Rename all struct members named:
1070 read, write, close, truncate, or mount
1071 to foo_fn, as these are reserved names
1072 and could be defined as macros in libc.
1075 2007-12-04 Alexander Larsson <alexl@redhat.com>
1078 (g_output_stream_close):
1079 Only call flush if non-null.
1081 2007-11-30 Dan Winship <danw@gnome.org>
1083 * ginputstream.c (g_input_stream_set_pending): Make this take a
1084 GError and return a gboolean, and do the "outstanding operation"
1085 check (and the "stream is already closed" check) itself.
1086 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1088 * goutputstream.c (g_output_stream_set_pending)
1089 (g_output_stream_clear_pending): Likewise
1091 * gbufferedinputstream.c:
1092 * gfileinputstream.c:
1093 * gfileoutputstream.c: Update for that
1095 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1096 Like g_simple_async_report_error_in_idle, but takes a GError
1097 rather than building one.
1099 2007-11-30 Dan Winship <danw@gnome.org>
1101 * goutputstream.c: Don't cheat and unset the "pending" flag around
1102 inner calls. Instead, call the class method directly rather than
1103 the wrapper function that checks "pending"
1105 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1107 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1109 2007-12-03 Hans Breuer <hans@breuer.org>
1111 [start of port to win32/msvc]
1112 * gcancellable.c : HAVE_UNIST_H and _pipe()
1113 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1114 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1115 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1117 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1118 * glocalvfs.c : use HAVE_PWD_H
1119 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1120 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1121 * Makefile.am : added to EXTRA_DIST
1123 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1125 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1128 2007-12-03 Alexander Larsson <alexl@redhat.com>
1131 Handle OSX style xattrs API (#500506)
1133 2007-12-03 Alexander Larsson <alexl@redhat.com>
1137 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1139 2007-12-02 A. Walton <awalton@svn.gnome.org>
1143 Documentation accuracy fixes.
1145 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1147 * gioenumtypes.c.template: Fix typo.
1149 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1151 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1153 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1155 * gdirectorymonitor.c:
1156 * gfilemonitor.c: Add properties
1158 * gbufferedoutputstream.c: Don't mark buffer-size property
1161 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1163 * gbufferedoutputstream.c: Add auto-grow property.
1165 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1167 * *.c: Unify the capitalization of section headings.
1169 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1171 * gmountoperation.c: Add properties
1173 * gdatainputstream.c: Turn byte-order and newline-type into
1176 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1178 * gioenumtypes.[hc].template: Templates for enum registration
1180 * Makefile.am: Generate gioenumtypes.[hc]
1182 * gio.h: Include gioenumtypes.h
1184 * gfile.h: Add some explicit nicks.
1186 * gio.symbols: Add new symbols
1188 * pltcheck.sh: Adjust
1190 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1192 * *.c: Explain etags and link to the explanation
1194 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1196 * *.c: Explain I/O priority.
1198 * *.c: More coding style fixes.
1200 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1202 * gasyncresult.c: Add another paragraph to the intro,
1203 adjust coding style of example.
1205 2007-11-29 A. Walton <awalton@svn.gnome.org>
1208 Fixes unknown meaning in GAppLaunchContext docs.
1210 Clarify asynchronous ops.
1212 Fix entity tag docs.
1215 Provides missing gtk-doc section, fixes API docs slighly.
1216 * gsimpleasyncresult.c:
1217 Fill in missing info in docs.
1218 * gunixinputstream.c:
1219 * gunixoutputstream.c:
1220 Be more expressive in short description.
1222 Remove gtk-doc stubs for non-public API.
1224 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1226 * *.c: Coding style fixups
1228 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1230 * inotify/inotify-helper.c: Don't export the lock from libgio.
1232 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1235 * abicheck.sh: Fix copy-and-paste leftovers
1237 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1239 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1241 2007-11-28 Alexander Larsson <alexl@redhat.com>
1245 Removed unnecessary file
1247 * gdesktopappinfo.[ch]:
1250 * glocaldirectorymonitor.[ch]:
1252 * glocalfileenumerator.[ch]:
1253 * glocalfileinputstream.[ch]:
1254 * glocalfilemonitor.[ch]:
1255 * glocalfileoutputstream.[ch]:
1257 * gnativevolumemonitor.c:
1258 * gpollfilemonitor.[ch]:
1259 * gunionvolumemonitor.[ch]:
1262 * gunixvolumemonitor.[ch]:
1265 * inotify/ginotifydirectorymonitor.[ch]:
1266 * inotify/ginotifyfilemonitor.[ch]:
1267 * inotify/inotify-helper.c:
1268 Append _ to all internal functions
1272 Export symbols needed for modules
1274 2007-11-28 Alexander Larsson <alexl@redhat.com>
1277 * abicheck.sh: Added.
1278 * makegioalias.pl: Added.
1279 * pltcheck.sh: Added.
1280 * gio.symbols: Added.
1283 Initial work on adding symbol handling.
1286 Correct ifdef guard name
1289 * inotify/Makefile.am:
1290 * xdgmime/Makefile.am:
1291 Include toplevel Makefile.decl
1293 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1295 * gcontenttype.c: Move doc comments to the unix section.
1297 * *.[hc]: More trivial doc corrections.
1299 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1301 * gpollfilemonitor.c:
1305 * gdesktopappinfo.c:
1310 * gdatainputstream.c:
1311 * gdatainputstream.h:
1312 * gdataoutputstream.c:
1313 * gdataoutputstream.h:
1314 * gfileinfo.h: Doc cleanups
1316 2007-11-28 Andre Klapper <a9016009@gmx.de>
1318 * gdesktopappinfo.c: Fix a typo.
1320 2007-11-27 Andre Klapper <a9016009@gmx.de>
1322 * glocalfileoutputstream.c: Fix a typo.
1324 2007-11-27 Alexander Larsson <alexl@redhat.com>
1327 Don't include removed headers
1329 2007-11-27 Alexander Larsson <alexl@redhat.com>
1332 * gsocketinputstream.[ch]: Removed.
1333 * gsocketoutputstream.[ch]: Removed.
1334 * gunixinputstream.[ch]: Added.
1335 * gunixoutputstream.[ch]: Added.
1336 Renamed GSocket*Stream to GUnix*Stream and made
1337 it unix-only, since its not really only for sockets
1338 and it only works on unix (but is highly useful there).
1340 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1346 * gbufferedinputstream.c:
1347 * gbufferedinputstream.h:
1348 * gbufferedoutputstream.c:
1349 * gbufferedoutputstream.h:
1353 * gdatainputstream.c:
1354 * gdatainputstream.h:
1355 * gdataoutputstream.c:
1356 * gdataoutputstream.h:
1357 * gdirectorymonitor.c:
1358 * gdirectorymonitor.h:
1365 * gfileenumerator.c:
1366 * gfileenumerator.h:
1371 * gfileinputstream.c:
1372 * gfileinputstream.h:
1375 * gfilenamecompleter.c:
1376 * gfilenamecompleter.h:
1377 * gfileoutputstream.c:
1378 * gfileoutputstream.h:
1379 * gfilterinputstream.c:
1380 * gfilterinputstream.h:
1381 * gfilteroutputstream.c:
1382 * gfilteroutputstream.h:
1395 * glocalfileoutputstream.c:
1396 * gmemoryinputstream.c:
1397 * gmemoryinputstream.h:
1398 * gmemoryoutputstream.c:
1399 * gmemoryoutputstream.h:
1400 * gmountoperation.c:
1401 * gmountoperation.h:
1404 * gpollfilemonitor.c:
1407 * gsimpleasyncresult.c:
1408 * gsimpleasyncresult.h:
1409 * gsocketinputstream.c:
1410 * gsocketinputstream.h:
1411 * gsocketoutputstream.c:
1412 * gsocketoutputstream.h:
1419 * gunixvolumemonitor.c:
1428 Bumps documentation to 93% symbol coverage, touching most
1429 of the public files. Fixes broken function documentation prototypes.
1430 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1431 gtk-doc headers in private files.
1433 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1435 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1436 (g_buffered_input_stream_read_byte):
1437 * gbufferedinputstream.h:
1438 New functions for efficient access to buffer and simple single byte
1441 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1442 (g_data_input_stream_read_until):
1443 * gdatainputstream.h:
1444 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1445 read_until with multiple stop chars.
1447 2007-11-27 Alexander Larsson <alexl@redhat.com>
1451 * inotify/Makefile.am:
1452 Use the user-specified giomoduledir
1454 2007-11-27 Alexander Larsson <alexl@redhat.com>
1458 Add catch-all gio.h header
1459 Don't install gdummyfile.h
1461 2007-11-26 Alexander Larsson <alexl@redhat.com>
1463 * Makefile.am (gioinclude_HEADERS):
1464 Remove trailing whitespace
1466 2007-11-26 Alexander Larsson <alexl@redhat.com>
1468 Merge gio-standalone into glib
1470 2007-11-25 Christian Kellner <gicmo@gnome.org>
1472 * gio/goutputstream.c:
1473 Fix small mistake in the docs.
1475 2007-11-21 Christian Persch <chpe@gnome.org>
1477 * gio/glocalfile.c: (g_local_file_trash):
1478 Convert filenames to UTF-8 for GError.
1479 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1480 as per xdg base dir spec.
1482 2007-11-21 Christian Persch <chpe@gnome.org>
1484 * gio/gdesktopappinfo.c:
1485 Use that g_key_file_to_data cannot fail.
1487 Use stock defines for the key file group and key names.
1490 2007-11-21 Alexander Larsson <alexl@redhat.com>
1493 (copy_stream_with_progress):
1494 Make sure we do a final progress callback with
1495 the full total size.
1497 2007-11-21 Alexander Larsson <alexl@redhat.com>
1500 Export g_file_copy_attributes
1501 Remove padding as its not needed for interfaces
1503 2007-11-20 Alexander Larsson <alexl@redhat.com>
1508 Add G_IO_ERROR_WOULD_MERGE for
1509 copy/move dir on dir with overwrite.
1511 2007-11-20 Alexander Larsson <alexl@redhat.com>
1514 * gio/glocalfileinfo.c:
1515 Add COPY_NAME (this is an optional
1516 non-modified utf8 version of the name) that
1519 2007-11-20 Alexander Larsson <alexl@redhat.com>
1521 * gio/glocalfileenumerator.c:
1522 Report errors as GIOError, not GFileError
1524 2007-11-16 Alexander Larsson <alexl@redhat.com>
1526 * gio/glocalfileoutputstream.c:
1527 * gio/gwin32appinfo.c:
1528 Fix typos in strings.
1529 Patch from Luca Ferretti <elle.uca@libero.it>
1531 2007-11-15 Alexander Larsson <alexl@redhat.com>
1534 Post release version bump
1536 === gio-standalone 0.1.2 ===
1538 2007-11-15 Alexander Larsson <alexl@redhat.com>
1540 * docs/reference/gio/Makefile.am:
1541 Fix up distcheck by removing weird
1547 2007-11-14 Alexander Larsson <alexl@redhat.com>
1549 * gio/gdesktopappinfo.c:
1550 * gio/glocaldirectorymonitor.c:
1552 * gio/glocalfileinfo.c:
1553 * gio/inotify/inotify-sub.c:
1554 * programs/gio-cat.c:
1555 * programs/gio-copy.c:
1556 * programs/gio-info.c:
1557 * programs/gio-ls.c:
1558 * programs/gio-monitor-dir.c:
1559 * programs/gio-monitor-file.c:
1560 * programs/gio-mount.c:
1561 * programs/gio-move.c:
1562 * programs/gio-rm.c:
1563 * programs/gio-save.c:
1564 * programs/gio-trash.c:
1565 Leak fixes from Kjartan Maraas
1567 2007-11-14 Alexander Larsson <alexl@redhat.com>
1569 * gio/fam/fam-helper.c:
1571 * gio/glocalfileinfo.c:
1575 * gio/inotify/inotify-diag.c:
1576 * gio/inotify/inotify-kernel.c:
1577 Various code cleanups from Kjartan Maraas
1579 2007-11-14 Alexander Larsson <alexl@redhat.com>
1581 * gio/gioscheduler.c:
1583 Set up threadpool so that we cache 2 unused
1584 idle threads for at 15 secs. This means we
1585 will reuse thread-local data (like dbus connections)
1588 2007-11-14 Alexander Larsson <alexl@redhat.com>
1590 * gio/fam/fam-helper.c:
1591 * gio/fam/gfamdirectorymonitor.c:
1592 * gio/fam/gfamfilemonitor.c:
1594 * gio/gcontenttype.c:
1595 * gio/gdatainputstream.c:
1596 * gio/gdataoutputstream.c:
1600 * gio/gfileattribute.h:
1601 * gio/gfileenumerator.c:
1603 * gio/ginputstream.c:
1606 * gio/glocalfileinfo.c:
1607 * gio/goutputstream.c:
1608 * gio/gpollfilemonitor.c:
1609 * gio/gsimpleasyncresult.c:
1610 * gio/gunixmounts.c:
1611 * gio/gunixmounts.h:
1612 * gio/inotify/ginotifydirectorymonitor.c:
1613 * gio/inotify/ginotifyfilemonitor.c:
1614 * gio/inotify/inotify-diag.c:
1615 * gio/inotify/inotify-kernel.c:
1616 * gio/inotify/inotify-path.c:
1618 * gio/test-streams.c:
1619 * programs/gio-info.c:
1620 * programs/gio-monitor-dir.c:
1621 * programs/gio-monitor-file.c:
1622 Various code cleanups from Kjartan Maraas
1624 2007-11-13 Alexander Larsson <alexl@redhat.com>
1627 Handle the uri-scheme calls for dummy files
1629 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1631 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1632 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1633 to avoid clash with the C++ keyword.
1635 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1637 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1638 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1640 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1642 * gio/glocaldirectorymonitor.c:
1643 * gio/glocalfilemonitor.c:
1644 * gio/gunionvolumemonitor.c:
1645 Don't use g_once_init_*() for initializations that could fail and
1646 could leave the initialization variable set to 0 but use GOnce.
1647 This prevents a deadlock on the second call when trying to create
1648 a monitor and no monitor type is available. Thanks to Sven Herzberg
1651 2007-11-11 Sven Herzberg <sven@imendio.com>
1653 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1654 #ifdef (make it work on MacOS X again)
1656 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1658 Fixes Changelog for last two commits (sorry guys).
1660 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1662 * gio/gbufferedinputstream.c:
1663 * gio/gdatainputstream.c:
1665 * gio/gfileoutputstream.c:
1666 * gio/gfilterinputstream.c:
1667 * gio/glocalfileinputstream.c:
1670 More consistency fixes in g*stream.c files.
1671 Significant clean of gfile's documentation, filling in of
1672 asynchronous operations documentation.
1674 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1676 * gio/gasyncresult.c:
1677 * gio/gbufferedinputstream.c:
1678 * gio/gbufferedoutputstream.c:
1679 * gio/gcancellable.c:
1680 * gio/gcontenttype.c:
1681 * gio/gdatainputstream.c:
1682 * gio/gdataoutputstream.c:
1683 * gio/gdesktopappinfo.c:
1686 * gio/gfileattribute.c:
1687 * gio/gio/gfileenumerator.c:
1689 * gio/gfileinputstream.c:
1690 * gio/gfilemonitor.c:
1691 * gio/gfileoutputstream.c:
1692 * gio/ginputstream.c:
1694 * gio/gioscheduler.c:
1695 * gio/gloadableicon.c:
1696 * gio/glocalfileoutputstream.c:
1697 * gio/gmemoryoutputstream.c:
1698 * gio/gmountoperation.c:
1699 * gio/goutputstream.c:
1701 * gio/gsimpleasyncresult.c:
1702 * gio/gunionvolumemonitor.c:
1703 * gio/gunixmounts.c:
1704 * gio/gunixvolume.c:
1708 * gio/gvolumemonitor.c:
1709 Updated documentation stubs, working towards consistency and
1712 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1714 * gio/gmemoryoutputstream.c:
1715 * gio/gmemoryoutputstream.h:
1716 Change g_memory_output_stream_set_free_on_close() to
1717 g_memory_output_stream_set_free_data() as this makes more sense and
1718 is more consistent with GMemoryInputStream.
1720 2007-11-07 Alexander Larsson <alexl@redhat.com>
1727 Change how we find the default vfs so that
1728 we can handle a gvfs failing to init
1730 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1732 * gio/gbufferedoutputstream.c:
1733 * gio/gdatainputstream.c:
1734 * gio/gdataoutputstream.c:
1735 * gio/gfileinputstream.c:
1736 * gio/gfileoutputstream.c:
1737 * gio/gfilterinputstream.c:
1738 * gio/gfilteroutputstream.c:
1739 * gio/ginputstream.c:
1740 * gio/gmemoryinputstream.c:
1741 * gio/gmemoryoutputstream.c:
1742 * gio/goutputstream.c:
1743 * gio/gsimpleasyncresult.c:
1744 * gio/gsocketinputstream.c:
1745 * gio/gsocketoutputstream.c:
1746 Add guards to the remaining public functions, add a TODO for
1747 an unimplemented function and remove some useless guards.
1749 2007-11-07 Alexander Larsson <alexl@redhat.com>
1752 Autoconf checks for the various types of
1753 getpwuid_r and getgrgid_r
1755 * gio/glocalfileinfo.c:
1756 Use the autoconf checks from above
1758 2007-11-07 Alexander Larsson <alexl@redhat.com>
1761 (g_local_file_query_filesystem_info):
1762 Some fixes for the statvfs case
1764 2007-11-07 Alexander Larsson <alexl@redhat.com>
1767 (g_local_file_query_filesystem_info):
1768 Pick the "best" of statfs / statvfs for the system
1769 if both are availible.
1771 2007-11-07 Alexander Larsson <alexl@redhat.com>
1773 Solaris fixes from Halton.Huo@Sun.COM:
1780 * gio/glocalfileinfo.c:
1781 Fix for solaris definition of getpwuid_r
1783 * gio/test-streams.c:
1784 Use G_GNUC_PRETTY_FUNCTION
1786 2007-11-07 Alexander Larsson <alexl@redhat.com>
1788 * gio/gdesktopappinfo.c:
1789 (update_default_list):
1790 Remove double semicolon.
1791 Patch from Jens Granseuer
1793 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1795 * docs/reference/gio/gio-sections.txt:
1796 * gio/gbufferedinputstream.c:
1797 * gio/gbufferedinputstream.h:
1798 * gio/gdatainputstream.c:
1799 * gio/gfileenumerator.c:
1800 * gio/gioscheduler.c:
1801 * gio/gunionvolumemonitor.c:
1803 * programs/gio-save.c:
1804 Fix typo: availible -> available. Unfortuntely this breaks API
1805 and ABI as g_buffered_input_stream_get_available() was renamed.
1807 * gio/gunixmounts.c:
1808 * gio/gbufferedinputstream.c:
1809 Add guards for public functions.
1811 2007-11-06 Ross Burton <ross@openedhand.com>
1813 * docs/reference/gio/Makefile.am:
1814 Fix invalid += usage which automake 1.10 doesn't like.
1816 2007-11-06 Alexander Larsson <alexl@redhat.com>
1819 (g_app_launch_context_class_init):
1822 Patch from Ross Burton
1824 2007-11-06 Alexander Larsson <alexl@redhat.com>
1827 Post release version bump
1829 === gio-standalone 0.1.1 ===
1831 2007-11-06 Alexander Larsson <alexl@redhat.com>
1834 Bump version to 0.1.1
1836 * gio/gsimpleasyncresult.c:
1837 (g_simple_async_result_set_from_error):
1838 Remove bogus g_return_if_fail
1840 2007-11-06 Alexander Larsson <alexl@redhat.com>
1843 The name is gio-standalone
1846 Add top src/builddir to includedir
1848 2007-11-06 Alexander Larsson <alexl@redhat.com>
1850 * docs/reference/gio/gio-sections.txt:
1852 * gio/gbufferedinputstream.c:
1853 * gio/gbufferedoutputstream.c:
1854 * gio/gcancellable.c:
1855 * gio/gdatainputstream.h:
1856 * gio/gdataoutputstream.c:
1857 * gio/gdataoutputstream.h:
1858 * gio/gdirectorymonitor.c:
1860 * gio/gfileattribute.c:
1861 * gio/gfileattribute.h:
1862 * gio/gfileenumerator.c:
1863 * gio/gfileenumerator.h:
1866 * gio/gfileinputstream.h:
1867 * gio/gfilemonitor.c:
1868 * gio/gfileoutputstream.h:
1869 * gio/glocalfilemonitor.h:
1870 * gio/glocalfileoutputstream.h:
1871 * gio/gmemoryinputstream.c:
1872 * gio/gmemoryoutputstream.c:
1873 * gio/gmountoperation.c:
1874 * gio/goutputstream.c:
1875 * gio/goutputstream.h:
1877 * gio/gsimpleasyncresult.c:
1878 * gio/gunixmounts.c:
1879 * gio/gunixmounts.h:
1881 * gio/inotify/inotify-helper.c:
1882 Fix gtk-doc warnings
1884 Patch from Ross Burton
1886 2007-11-06 Alexander Larsson <alexl@redhat.com>
1888 * gio/gfilenamecompleter.c:
1889 (g_filename_completer_get_completions):
1892 * gio/gunixvolume.c:
1893 Remove unused function
1895 Patches from Ross Burton
1897 2007-11-06 Alexander Larsson <alexl@redhat.com>
1902 Padding not needed for interfaces
1904 2007-11-06 Alexander Larsson <alexl@redhat.com>
1906 * gio/gfilemonitor.c:
1910 Make giotypes.h an internal file
1913 * gio/gbufferedinputstream.h:
1914 * gio/gbufferedoutputstream.h:
1915 * gio/gcancellable.h:
1916 * gio/gdatainputstream.h:
1917 * gio/gdataoutputstream.h:
1918 * gio/gdirectorymonitor.c:
1919 * gio/gdirectorymonitor.h:
1924 * gio/gfileattribute.h:
1925 * gio/gfileenumerator.h:
1930 * gio/gfilemonitor.c:
1931 * gio/gfilemonitor.h:
1932 * gio/gfilenamecompleter.c:
1933 * gio/gfilenamecompleter.h:
1934 * gio/gfilterinputstream.h:
1935 * gio/gfilteroutputstream.h:
1936 * gio/ginputstream.h:
1937 * gio/gmemoryinputstream.h:
1938 * gio/gmemoryoutputstream.h:
1939 * gio/gmountoperation.c:
1940 * gio/gmountoperation.h:
1941 * gio/gnativevolumemonitor.c:
1942 * gio/goutputstream.h:
1945 * gio/gsimpleasyncresult.c:
1946 * gio/gsimpleasyncresult.h:
1947 * gio/gsocketinputstream.h:
1948 * gio/gsocketoutputstream.h:
1949 * gio/gthemedicon.c:
1950 * gio/gthemedicon.h:
1954 * gio/gvolumemonitor.c:
1955 * gio/gvolumemonitor.h:
1956 Add padding in classes where it seems useful
1957 Don't include giotypes.h from public headers
1958 Move in Class definitions into c file where possible
1963 2007-11-06 Alexander Larsson <alexl@redhat.com>
1965 * docs/reference/gio/gio-docs.xml:
1966 Better structure for API docs
1968 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1971 * gio/gloadableicon.c:
1972 * gio/gsimpleasyncresult.c:
1973 * gio/gthemedicon.c:
1974 Add some more guards to public functions. Only files missing are now
1977 2007-11-06 Alexander Larsson <alexl@redhat.com>
1979 * docs/reference/gio/gio-docs.xml:
1980 Remove old files, add missing ones
1982 2007-11-06 Alexander Larsson <alexl@redhat.com>
1984 * docs/reference/gio/gio-sections.txt:
1987 Hide implementation classes
1989 * gio/gdriveprivate.h:
1990 * gio/gvolumeprivate.h:
1991 Remove non-existing function declarations
1993 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1996 Fix compilation warnings and add guards to the new functions.
1998 * gio/gasyncresult.c:
2000 Add guards to the public functions.
2003 Implement get_path().
2005 2007-11-06 Alexander Larsson <alexl@redhat.com>
2007 * gio/gfilenamecompleter.c:
2008 Make g_filename_completer_get_completions
2009 return char ** instead of GList for
2012 * docs/reference/gio/gio-docs.xml:
2013 * docs/reference/gio/gio-sections.txt:
2015 * gio/gasyncresult.c:
2016 * gio/gbufferedinputstream.c:
2017 * gio/gbufferedoutputstream.c:
2018 * gio/gcancellable.c:
2019 * gio/gcontenttype.c:
2020 * gio/gdatainputstream.c:
2021 * gio/gdataoutputstream.c:
2022 * gio/gdesktopappinfo.c:
2023 * gio/gdirectorymonitor.c:
2027 * gio/gfileattribute.c:
2028 * gio/gfileenumerator.c:
2031 * gio/gfileinputstream.c:
2032 * gio/gfilemonitor.c:
2033 * gio/gfilenamecompleter.c:
2034 * gio/gfilenamecompleter.h:
2035 * gio/gfileoutputstream.c:
2036 * gio/gfilterinputstream.c:
2038 * gio/ginputstream.c:
2040 * gio/gioscheduler.c:
2041 * gio/gloadableicon.c:
2042 * gio/glocaldirectorymonitor.c:
2044 * gio/glocalfileinputstream.c:
2045 * gio/glocalfilemonitor.c:
2046 * gio/glocalfileoutputstream.c:
2048 * gio/gmemoryinputstream.c:
2049 * gio/gmemoryoutputstream.c:
2050 * gio/gmountoperation.c:
2051 * gio/goutputstream.c:
2052 * gio/gpollfilemonitor.c:
2054 * gio/gsimpleasyncresult.c:
2055 * gio/gsocketinputstream.c:
2056 * gio/gsocketoutputstream.c:
2057 * gio/gthemedicon.c:
2058 * gio/gunionvolumemonitor.c:
2060 * gio/gunixmounts.c:
2061 * gio/gunixvolume.c:
2062 * gio/gunixvolumemonitor.c:
2066 * gio/gvolumemonitor.c:
2067 * gio/gwin32appinfo.c:
2068 Add (mostly stub) doc strings to public functions.
2069 Patch from Andrew Walton (awalton@gmail.com)
2071 2007-11-06 Alexander Larsson <alexl@redhat.com>
2073 * gio/gappinfo.[ch]:
2074 Added GAppLaunchContext object and pass that to launch.
2075 This allows simple implementation of both
2076 launch-on-screen and startup notification via a gtk+
2077 subclass of GAppLaunchContext
2079 * gio/gdesktopappinfo.c:
2080 Implement GAppLaunchContext API
2082 * gio/gwin32appinfo.c:
2085 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2087 * gio/gmountoperation.c:
2088 Add some guards to GMountOperation's public functions.
2090 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2094 * gio/gcancellable.c:
2095 * gio/gdirectorymonitor.c:
2097 * gio/gfileenumerator.c:
2098 * gio/gfilemonitor.c:,
2099 * gio/gfilenamecompleter.c:
2102 * gio/gioscheduler.c:
2106 * gio/gvolumemonitor.c:
2107 Add even more guards to various public functions.
2109 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2112 Add guards to the public functions of GAppInfo.
2114 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2116 * gio/gcontenttype.c:
2117 Add some more guards for public functions.
2119 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2121 * gio/fam/fam-module.c:
2122 * gio/fam/gfamdirectorymonitor.c:
2123 * gio/fam/gfamdirectorymonitor.h:
2124 * gio/fam/gfamfilemonitor.c:
2125 * gio/fam/gfamfilemonitor.h:
2126 * gio/inotify/ginotifydirectorymonitor.c:
2127 * gio/inotify/ginotifydirectorymonitor.h:
2128 * gio/inotify/ginotifyfilemonitor.c:
2129 * gio/inotify/ginotifyfilemonitor.h:
2130 Add proper copyright information and remove an unused variable
2131 in the GInotifyFileMonitor constructor.
2133 * gio/gcancellable.c:
2134 Add a guard for a public function and an assertion to prevent
2135 an undefined program state.
2137 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2139 * gio/gfileattribute.c:
2140 Don't run into an assertion if the given attribute value is NULL
2141 in g_file_attribute_value_get_*() but instead return a fallback
2142 value that makes sense in most situations. Passing them a attribute
2143 value with the wrong type will still run into an assertion.
2145 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2147 * gio/gfileattribute.c:
2149 Add even more guards to the public functions. Also fix the refcounting
2150 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2151 let g_file_info_list_attributes() filter the attributes by namespace
2152 instead of simply ignoring the namespace parameter.
2154 2007-11-03 Sven Herzberg <sven@imendio.com>
2156 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2157 (This makes gio work on MacOS X again)
2159 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2162 Build the gio subdirectory before the docs. Otherwise the build will
2165 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2166 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2167 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2168 Add guards to the public functions.
2170 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2172 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2173 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2174 to prevent a compiler warning.
2176 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2177 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2178 return something in the non-void function find_topdir_for().
2180 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2187 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2189 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2190 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2191 * gwin32appinfo.c (g_win32_app_info_launch):
2192 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2193 envp_for_startup_id, g_desktop_app_info_launch,
2194 g_desktop_app_info_launch_uris):
2196 Give an opaque 'startup_id' string instead of 'envp'.
2197 Support empty file lists for launching new windows.
2198 Fix infinite recursion bug when launching URIs.
2200 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2203 Add guard to the new g_file_get_uri_scheme() function.
2205 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2208 Convert a g_return_val_if_fail() to setting the GError instead as
2209 otherwise applications have to verify the parameter before otherwise
2210 and the parameter might come directly from the user.
2212 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2214 * gio/inotify/ginotify*.[ch]:
2215 Add missing copyright information.
2217 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2220 Add guards in the beginning of public functions to check for valid
2221 parameters and fix a bug in copy_stream_with_progress() that could've
2222 caused writing less bytes than reading.
2223 * gio/glocalfileinfo.c:
2224 Check for a NULL parameter and set the GError accordingly then.
2225 * gio/goutputstream.c:
2226 Fix the same bug as in gfile.c that could've caused writing less bytes
2227 than reading in g_output_stream_real_splice().
2229 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2232 Use the correct gvolumeprivate.h naming
2234 2007-11-01 Christian Kellner <gicmo@gnome.org>
2237 Remove leftover "$(daemon_sources)" entry.
2239 2007-11-01 Christian Kellner <gicmo@gnome.org>
2244 Add copyright information to source files.
2246 2007-11-01 Alexander Larsson <alexl@redhat.com>
2250 Add g_file_get_uri_scheme
2252 2007-11-01 Alexander Larsson <alexl@redhat.com>
2255 * gio/gdesktopappinfo.c:
2256 * gio/gwin32appinfo.c:
2257 Add g_app_info_get_default_for_uri_scheme.
2259 2007-11-01 Alexander Larsson <alexl@redhat.com>
2262 Correct filename for gdriveprivate.h
2264 2007-10-31 Alexander Larsson <alexl@redhat.com>
2267 Rename id:value to id:file
2270 * gio/glocalfileinfo.c:
2273 2007-10-31 Alexander Larsson <alexl@redhat.com>
2275 * gio/gunixvolume.c:
2277 Remove g_volume_get_platform_id, as thats not
2278 needed with the simpler union volume monitor
2280 2007-10-31 Alexander Larsson <alexl@redhat.com>
2283 * gio/guniondrive.[ch]: Removed.
2284 * gio/gunionvolume.[ch]: Removed.
2285 Remove GUnionDrive/Volume
2287 * gio/gunionvolumemonitor.c:
2288 Simplify union volume monitor, now we
2289 only have one native volume monitor and
2290 we use the actual volumes/drives from the
2291 child monitors instead of wrapping them
2293 * gio/gnativevolumemonitor.[ch]:
2294 Base class for native volume monitors.
2295 Includes priority and get_volume_for_mountpoint
2298 Add g_file_find_enclosing_volume
2301 Remove volume name fs attribute
2302 Add readonly fs attribute
2305 Implement readonly attribute
2306 remove volume name attribute
2307 Implement find_enclosing volume
2309 * gio/gunixmounts.c:
2310 Add a volume for "/".
2312 * gio/gunixvolume.[ch]:
2313 Set better name for /
2315 * gio/gunixvolumemonitor.[ch]:
2316 Derive from GNativeVolumeMonitor
2317 Implement get_volume_for_mountpoint
2320 GVolume typedef moved to gfile.h
2322 * gio/gvolumeprivate.h:
2323 Add g_volume_get_for_mount_path
2325 2007-10-31 Alexander Larsson <alexl@redhat.com>
2327 * gio/gunixmounts.[ch]:
2328 Add cache info to unix mount listers
2329 Make getmntent use threadsafe
2330 Add is_system_internal attribute for GUnixMount
2332 * gio/gunixvolume.c:
2333 (g_unix_volume_new):
2334 Use is_system_internal instead of own code
2336 * gio/glocaldirectorymonitor.c:
2337 * gio/gunixvolumemonitor.c:
2338 Update to new gunixmounts API
2343 2007-10-30 Alexander Larsson <alexl@redhat.com>
2346 Add volume name fsinfo attribute
2349 Read volume name info
2351 * gio/gunionvolumemonitor.c:
2352 Fix infinite loops when finalizing a union volume monitor
2354 2007-10-30 Alexander Larsson <alexl@redhat.com>
2356 * gio/goutputstream.[ch]:
2357 Add splice() with default implementation
2359 * gio/gsocketoutputstream.c:
2360 (g_socket_output_stream_write):
2361 Return error on cancellation correctly.
2363 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2365 * gio/glocalfile.c (g_local_file_trash):
2366 Do not leak a string.
2368 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2370 * gio/gfile.c (g_file_load_contents):
2371 Unref the stream after closing it.
2373 2007-10-25 Alexander Larsson <alexl@redhat.com>
2375 * gio/gioscheduler.h:
2378 2007-10-25 Alexander Larsson <alexl@redhat.com>
2382 Add g_file_has_uri_scheme and implement for local files
2384 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2386 * gio/gdesktopappinfo.c: do not leak a string.
2388 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2390 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2391 (g_local_directory_monitor_new):
2392 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2393 (g_local_file_monitor_new):
2394 Only look for the monitor type that should be used the first time
2395 and use g_qsort_with_data() instead of our own bubble sort
2398 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2401 * gio/fam/Makefile.am:
2402 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2403 * gio/fam/fam-helper.h:
2404 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2405 * gio/fam/gfamdirectorymonitor.c:
2406 * gio/fam/gfamdirectorymonitor.h:
2407 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2408 * gio/fam/gfamfilemonitor.h:
2409 * gio/glocaldirectorymonitor.c:
2410 * gio/glocaldirectorymonitor.h:
2411 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2412 * gio/glocalfilemonitor.h:
2413 * gio/inotify/Makefile.am:
2414 * gio/inotify/ginotifydirectorymonitor.c:
2415 * gio/inotify/ginotifydirectorymonitor.h:
2416 * gio/inotify/ginotifyfilemonitor.c:
2417 * gio/inotify/ginotifyfilemonitor.h:
2418 Implement the FAM and Inotify monitors as
2419 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2420 their own GIO module. GLocal(Directory|File)Monitor will use the
2421 monitor with the highest rank that is supported on that machine.
2423 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2426 Change GIO module dir to $(libdir)/gio/modules and change
2427 the log domain from GVFS to GIO. Also only export symbols starting
2428 with g_ in the resulting library.
2429 * gio/test-streams.c: (main):
2430 Set log handler for the GIO log domain.
2432 2007-10-22 Alexander Larsson <alexl@redhat.com>
2434 * gio/gfilenamecompleter.[ch]:
2435 Add g_filename_completer_set_dirs_only
2437 2007-10-22 Alexander Larsson <alexl@redhat.com>
2440 * gio/gurifuncs.[ch]:
2441 Add some simple URI helpers
2443 * gio/gfilenamecompleter.[ch]:
2444 Added object for filename (parse name actually) completion
2447 Handle ~ in parse names
2449 2007-10-17 Alexander Larsson <alexl@redhat.com>
2452 * gio/glocalfileinfo.c:
2453 Add and implement id:value attribute
2455 2007-10-17 Alexander Larsson <alexl@redhat.com>
2458 * gio/guniondrive.c:
2460 Add and implement g_drive_has_volumes
2462 2007-10-17 Alexander Larsson <alexl@redhat.com>
2465 * gio/glocalfileinfo.[ch]:
2466 Add unix:is_mountpoint and implement for local files
2468 2007-10-16 Alexander Larsson <alexl@redhat.com>
2470 * gio/gunionvolumemonitor.c:
2471 (g_union_volume_monitor_init):
2472 Fix up the unix type getting so that it works with gcc
2474 2007-10-12 Alexander Larsson <alexl@redhat.com>
2477 * gio/glocalfileinfo.c:
2478 Add thumbnail:failed to file info
2480 2007-10-12 Richard Hult <richard@imendio.com>
2482 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2483 optimizing away the get_type call (happens with some gcc versions,
2484 like the one shipped with OS X 10.4).
2486 2007-10-12 Alexander Larsson <alexl@redhat.com>
2488 * gio/glocalfileinfo.c:
2489 (_g_local_file_info_set_attribute):
2490 Fix build if not HAVE_XATTR
2491 Patch from Milosz Derezynski <internalerror@gmail.com>
2493 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2495 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2496 around for review, otherwise I would have asked you before
2499 2007-10-11 Alexander Larsson <alexl@redhat.com>
2502 Add thumbnail:path attribute
2504 * gio/glocalfileinfo.c:
2505 Implement thumbnail:path for local files
2507 2007-10-11 Alexander Larsson <alexl@redhat.com>
2509 * gio/glocalfileinfo.c:
2510 (_g_local_file_info_get):
2511 Avoid duplicate icon names
2513 2007-10-11 Alexander Larsson <alexl@redhat.com>
2515 * gio/gthemedicon.[ch]:
2516 Change g_themed_icon_get_names return type to const
2518 2007-10-10 Alexander Larsson <alexl@redhat.com>
2520 * gio/glocalfileinfo.c:
2521 Don't reference freed memory
2523 2007-10-10 Alexander Larsson <alexl@redhat.com>
2525 * gio/gfileattribute.c:
2528 * gio/glocalfileinfo.c:
2531 2007-10-10 Alexander Larsson <alexl@redhat.com>
2534 Check for NULL icons
2536 * gio/gfileattribute.c:
2537 Don't dup when getting objects (same as for string attributes)
2539 * gio/gicon.c (g_icon_equal):
2540 Safely handle NULLs in equal
2542 2007-10-10 Alexander Larsson <alexl@redhat.com>
2545 Fix c++ compilation issues
2546 Patch from Milosz Derezynski <internalerror@gmail.com>
2548 2007-10-10 Alexander Larsson <alexl@redhat.com>
2550 * programs/gio-monitor-dir.c:
2551 Don't crash if dir monitor not supported.
2553 2007-10-09 Alexander Larsson <alexl@redhat.com>
2556 Add missing G_END_DECLS
2558 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2560 * gio/gfile.c: (g_file_set_display_name),
2561 (g_file_query_settable_attributes),
2562 (g_file_query_writable_namespaces):
2563 Return NULL not FALSE on errors as the return type is a pointer.
2565 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2567 * gio/glocalfile.c: (g_local_file_monitor_file):
2568 Don't call monitor_file on the default interface vtable (which
2569 is NULL) but simply return NULL. The caller, GFile, will create a
2570 polling monitor if NULL is returned.
2572 2007-10-09 Alexander Larsson <alexl@redhat.com>
2576 * gio-unix-2.0.pc.in:
2577 Add gio-unix-2.0.pc if OS_UNIX
2580 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2582 2007-10-09 Alexander Larsson <alexl@redhat.com>
2584 * gio/gunixmounts.[ch]:
2585 Make unix mount monitoring API sane.
2586 Now its just a object with mounts_changed
2587 and mountpoints_changed signals.
2589 * gio/glocaldirectorymonitor.c:
2590 * gio/gunixvolumemonitor.c:
2591 Use new mount monitor api
2593 2007-10-09 Alexander Larsson <alexl@redhat.com>
2595 * gio/gunixmounts.[ch]:
2596 Move guess type into one call for mounts and one for mountpoints
2599 * gio/gunixvolume.c:
2602 2007-10-09 Alexander Larsson <alexl@redhat.com>
2604 * gio/gunixmounts.[ch]:
2605 Remove _ prefix in preparation to make this semi-public
2606 Hide implementation of structs
2608 * gio/glocaldirectorymonitor.c:
2610 * gio/gunixvolume.c:
2611 * gio/gunixvolumemonitor.c:
2612 Update for above API changes
2614 2007-10-08 Alexander Larsson <alexl@redhat.com>
2617 Better polling fallback. This also handles the case where we have
2618 a monitor_file implementation, but it fails.
2620 2007-10-08 Alexander Larsson <alexl@redhat.com>
2624 * gio/gunixmounts.c:
2625 * programs/gio-monitor-dir.c:
2626 * programs/gio-monitor-file.c:
2627 Added cancellable to file monitoring calls.
2628 These are really sync calls and need this.
2630 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2632 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2633 (g_local_vfs_class_init):
2634 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2635 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2637 2007-10-05 Alexander Larsson <alexl@redhat.com>
2639 * gio/gdirectorymonitorprivate.h:
2640 * gio/gfilemonitorprivate.h:
2641 * gio/gdirectorymonitor.h:
2642 * gio/gfilemonitor.h:
2643 Remove *private.h and move to the public API, so that
2644 we can do implementations outside gio (such as in gvfs)
2646 * gio/gdirectorymonitor.c:
2647 * gio/gfilemonitor.c:
2648 * gio/glocaldirectorymonitor.c:
2649 * gio/gpollfilemonitor.c:
2650 * gio/inotify/inotify-helper.c:
2651 * gio/fam/fam-helper.c:
2652 Update to the new header names
2654 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2656 * gio/gdirectorymonitor.c:
2657 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2660 2007-10-04 Alexander Larsson <alexl@redhat.com>
2662 * gio/glocalfileinfo.c (get_access_rights):
2663 Set CAN_TRASH when we can move the file.
2664 We should really also check for a parent trash dir.
2666 2007-10-04 Alexander Larsson <alexl@redhat.com>
2668 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2669 Add can_trash access attribute
2671 2007-10-04 Alexander Larsson <alexl@redhat.com>
2674 (g_local_file_trash):
2675 Create info file first. This is per-spec and allows
2676 us to actually trash directories.
2678 2007-10-02 Alexander Larsson <alexl@redhat.com>
2680 * gio/gdesktopappinfo.c:
2681 Implement the new mime support code.
2682 Always set app as handling mimetype when being set as default for it
2684 2007-10-01 Alexander Larsson <alexl@redhat.com>
2686 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2687 Fix up check for xattrs:
2689 2007-10-01 Alexander Larsson <alexl@redhat.com>
2692 (g_app_info_set_as_default_for_extension):
2693 (g_app_info_add_supports_type):
2694 (g_app_info_can_remove_supports_type):
2695 (g_app_info_remove_supports_type):
2696 Make these fail nicely if not implemented
2698 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2700 * gio/glocalfileoutputstream.c:
2701 * gio/glocalfileoutputstream.h:
2706 * programs/gio-save.c:
2707 Add a GFileCreateFlags argument to operations that can create
2710 2007-10-01 Alexander Larsson <alexl@redhat.com>
2712 * gio/gappinfo.[ch]:
2713 * gio/gdesktopappinfo.c:
2714 Add more (stubbed out) mime API needed for nautilus
2716 2007-10-01 Alexander Larsson <alexl@redhat.com>
2719 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2720 Add g_app_info_set_as_default_for_extension.
2722 * gio/gdesktopappinfo.c:
2723 Dummy for g_app_info_set_as_default_for_extension
2724 Support flags in g_app_info_create_from_commandline
2726 * gio/gwin32appinfo.c:
2728 Update for API changes
2730 * gio/gthemedicon.c:
2731 Properly NULL-terminate list of icon names
2733 2007-09-28 Alexander Larsson <alexl@redhat.com>
2735 * gio/gloadableicon.h:
2736 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2738 2007-09-28 Alexander Larsson <alexl@redhat.com>
2741 Install headers in $includedir/gio-standalone/
2743 * gio-2.0.pc.in: Added.
2744 * gio-standalone.pc.in: Removed.
2747 Renamed pkg-config file to match glib (for future move)
2748 Update to the new include dir
2751 Add more TODO comments
2753 2007-09-28 Alexander Larsson <alexl@redhat.com>
2755 * gio/gdesktopappinfo.[ch]:
2756 Expose new_from_filename
2757 Add getter for is_hidden and handle it better
2759 2007-09-28 Alexander Larsson <alexl@redhat.com>
2761 * gio/gfileinfo.[ch]:
2762 Rename g_file_size_format_for_display to
2763 g_format_file_size_for_display.
2764 Now it doesn't have the g_file prefix, so we
2765 can later move it to glib.
2767 2007-09-28 Alexander Larsson <alexl@redhat.com>
2769 * gio/gappinfo.[ch]:
2770 Add g_app_info_get_id and g_app_info_get_executable.
2771 Make all getters non-reffing
2772 Make g_app_info_launch take GFile arguments.
2773 Add must_support_uris argument to g_app_info_get_default_for_type.
2775 * gio/gwin32appinfo.c:
2776 Update to GAppInfo api changes
2778 * gio/gdesktopappinfo.c:
2779 Update to GAppInfo api changes
2780 Implement supports_xdg_startup_notify
2782 * gio/gfileicon.c (g_file_icon_get_file):
2783 Make getter non-reffing.
2788 2007-09-27 Alexander Larsson <alexl@redhat.com>
2790 * gio/gfileinfo.[ch]:
2791 Add g_file_size_format_for_display helper
2793 2007-09-27 Alexander Larsson <alexl@redhat.com>
2795 * gio/glocalfileinfo.c:
2796 Set UNIX_GID from gid, not from uid
2798 2007-09-27 Alexander Larsson <alexl@redhat.com>
2801 Add g_file_set_attributes_async
2803 2007-09-27 Alexander Larsson <alexl@redhat.com>
2805 * gio/glocalfile.c (g_local_file_set_display_name):
2806 Fix set_display_name to actually rename to the right place.
2807 Use lstat to look for existing files so we don't overwrite
2810 2007-09-26 Alexander Larsson <alexl@redhat.com>
2813 Add g_file_set_display_name_async()
2815 2007-09-26 Alexander Larsson <alexl@redhat.com>
2818 Add load_partial_contents async calls
2821 Make internal function static
2823 2007-09-26 Alexander Larsson <alexl@redhat.com>
2825 * gio/glocalfileinfo.c:
2826 Correctly detect broken symlinks
2828 2007-09-26 Alexander Larsson <alexl@redhat.com>
2830 * gio/gcancellable.c (g_cancellable_cancel):
2831 Allow cancel on NULL cancellable
2833 2007-09-25 Alexander Larsson <alexl@redhat.com>
2835 * gio/gsimpleasyncresult.c:
2836 Don't allocate g_error manually.
2837 Fixes g_slice/g_new mixup crash
2839 2007-09-25 Alexander Larsson <alexl@redhat.com>
2841 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2842 Actually set active_backend.
2843 This means the monitor will be cancelled correctly.
2845 2007-09-25 Alexander Larsson <alexl@redhat.com>
2847 * gio/gdirectorymonitor.c:
2848 Set timeout to NULL when destroying
2850 2007-09-25 Alexander Larsson <alexl@redhat.com>
2853 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2854 that is a better description of the error.
2856 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2858 * gio/gvfs.c: (g_vfs_get_local):
2859 Make the local vfs variable static. The same instance should
2862 2007-09-24 Alexander Larsson <alexl@redhat.com>
2864 * gio/glocalfileinfo.c:
2865 Pass in actual length read into sniffer, not the length
2868 2007-09-21 Alexander Larsson <alexl@redhat.com>
2870 * gio/gfileenumerator.c:
2873 * gio/gfileinputstream.c:
2874 * gio/gfileoutputstream.c:
2875 * gio/ginputstream.c:
2876 * gio/goutputstream.c:
2877 Don't crash if async callbacks are NULL
2879 2007-09-20 Alexander Larsson <alexl@redhat.com>
2882 Add async enumerate_children method and default
2885 2007-09-20 Alexander Larsson <alexl@redhat.com>
2888 Add g_file_contains_file & g_file_get_relative_path, since they
2889 were needed for nautilus.
2890 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2895 Implement new methods
2897 2007-09-17 Alexander Larsson <alexl@redhat.com>
2900 * gio/gfileinputstream.[ch]:
2901 * gio/gfileoutputstream.[ch]:
2903 * gio/glocalfileenumerator.[ch]:
2904 * gio/glocalfileinfo.[ch]:
2905 * gio/glocalfileinputstream.c:
2906 * gio/glocalfileoutputstream.c:
2907 * gio/gpollfilemonitor.c:
2908 * programs/gio-copy.c:
2909 * programs/gio-info.c:
2910 * programs/gio-move.c:
2911 Rename get_file_info to query_info() to make it clearer
2912 that these are not simple getters, but do i/o.
2914 2007-09-17 Alexander Larsson <alexl@redhat.com>
2916 * gio/gdatainputstream.[ch]:
2917 * gio/test-streams.c:
2918 Use _read_XXX instead of _get_XXX for the i/o calls
2921 2007-09-17 Alexander Larsson <alexl@redhat.com>
2924 Added needed stuff to TODO comment
2926 2007-09-17 Alexander Larsson <alexl@redhat.com>
2928 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2929 Don't error out removing the backup copy if it doesn't
2932 2007-09-14 Alexander Larsson <alexl@redhat.com>
2934 * programs/Makefile.am:
2935 * programs/gvfs-*.c:
2937 Renamed apps from gvfs-xxx to gio-xxx.
2939 2007-09-14 Alexander Larsson <alexl@redhat.com>
2942 * gio/gfileoutputstream.[ch]:
2943 * gio/glocalfileoutputstream.c:
2944 * programs/gvfs-save.c:
2945 g_file_output_stream_get_etag doesn't do i/o, so remove
2946 cancellation and error.
2948 2007-09-14 Alexander Larsson <alexl@redhat.com>
2951 Add new_etag output to replace_contents functions
2953 2007-09-14 Alexander Larsson <alexl@redhat.com>
2955 * gio/gfileoutputstream.[ch]:
2956 Add async get_file_info and default implementation
2958 2007-09-14 Alexander Larsson <alexl@redhat.com>
2960 * gio/gfileinputstream.c:
2961 Implement fallback wrapper for async get_file_info
2963 2007-09-14 Alexander Larsson <alexl@redhat.com>
2966 Add etag out argument to load_contents
2971 2007-09-14 Alexander Larsson <alexl@redhat.com>
2973 * gio/gcontenttype.c (looks_like_text):
2974 Whitespace like tab, cr and lf do not make the
2977 2007-09-14 Alexander Larsson <alexl@redhat.com>
2979 * gio/gfileinputstream.[ch]:
2980 Add async get_file_info.
2982 2007-09-13 Alexander Larsson <alexl@redhat.com>
2984 * gio/goutputstream.c (g_output_stream_write_all):
2985 Allow NULL for bytes_written
2987 2007-09-13 Alexander Larsson <alexl@redhat.com>
2989 * gio/gmemoryinputstream.[ch]:
2990 Add accessors for data
2992 2007-09-13 Alexander Larsson <alexl@redhat.com>
2994 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2995 Don't crash if length is NULL