1 2008-01-20 Matthias Clasen <mclasen@redhat.com>
5 * gmemoryinputstream.c:
6 * gmemoryoutputstream.c:
8 * gthemedicon.c: Documentation updates
10 2008-01-20 Murray Cumming <murrayc@murrayc.com>
12 * gfile.c: documentation: Fixed more minor
15 2008-01-18 Murray Cumming <murrayc@murrayc.com>
17 * gmount.c: (g_mount_remount): documentation:
18 Mention g_mount_remount_finish() instead of
19 g_mount_unmount_finish().
21 2008-01-18 Murray Cumming <murrayc@murrayc.com>
25 * gfile.c: Fixed some minor typos in the
28 2008-01-18 Murray Cumming <murrayc@murrayc.com>
30 * gio/gvolumemonitor.c:
31 (g_volume_monitor_get_connected_drives):
32 (g_volume_monitor_get_volumes):
33 (g_volume_monitor_get_mounts): Documentation:
34 Clarify the ownership of the regurn GLists.
36 2008-01-17 Alexander Larsson <alexl@redhat.com>
39 Add the async find_enclosing_mount version
40 to the header file too.
42 2008-01-17 Alexander Larsson <alexl@redhat.com>
45 Add async version of find_enclosing_mount
46 with default implementation.
48 2008-01-17 Alexander Larsson <alexl@redhat.com>
53 Allow calls to implementation of copy and write
54 even if the type of the file implementations is
55 different. This can be used to implement native
56 upload and download calls in a vfs.
60 Protect against the case where move is called
61 with one file not being local.
63 Make sure we call the progress callback once
64 in the native move operation so that the caller
65 knows how many bytes were copied.
67 2008-01-16 Murray Cumming <murrayc@murrayc.com>
72 * gfileoutputstream.c:
77 * gunixmounts.c: Corrected some typos in the documentation:
79 its -> it's (where appropriate).
81 2008-01-16 Alexander Larsson <alexl@redhat.com>
85 Add g_file_query_exists (#508771)
87 2008-01-15 Murray Cumming <murrayc@murrayc.com>
92 * gvolume.c: For async functions that have no non-async
93 version, document that the GAsyncReadyCallback may be NULL.
96 2008-01-15 Alexander Larsson <alexl@redhat.com>
98 * gmemoryinputstream.c:
99 * gmemoryoutputstream.c:
100 Don't do pointer arithmetic on void * (#508602)
101 Patch from Kazuki IWAMOTO
103 2008-01-14 Matthias Clasen <mclasen@redhat.com>
105 * === Released 2.15.2 ===
107 2008-01-14 Alexander Larsson <alexl@redhat.com>
109 * gfile.c (g_file_monitor_file):
110 Don't set error here, since we fallback to polling monitor.
112 2008-01-14 Alexander Larsson <alexl@redhat.com>
115 (g_file_monitor_directory):
116 (g_file_monitor_file):
117 Add GError to file monitor calls
119 * glocaldirectorymonitor.c:
120 * glocaldirectorymonitor.h:
122 * glocalfilemonitor.c:
123 * glocalfilemonitor.h:
125 Update for above change
127 2008-01-14 Alexander Larsson <alexl@redhat.com>
131 Handle root correctly in g_file_get_relative_path (#508719)
133 2008-01-14 Alexander Larsson <alexl@redhat.com>
136 Clean up docs and example for GAsyncResult (#508074)
138 2008-01-11 Murray Cumming <murrayc@murrayc.com>
140 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
141 and correct some spelling mistakes. Bug #508108.
143 2008-01-11 Matthias Clasen <mclasen@redhat.com>
145 * glocalfileinfo.c: Add a comment.
147 2008-01-10 Murray Cumming <murrayc@murrayc.com>
149 * gfileinfo.c: GFileInfo description: Mention
150 how to actually set attributes in a GFile and how to discover
151 which attributes are settable. Bug #508378.
153 2008-01-10 A. Walton <awalton@svn.gnome.org>
155 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
156 (g_app_info_get_default_for_type):
157 Check for NULL content types.
159 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
161 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
163 2008-01-09 Murray Cumming <murrayc@murrayc.com>
165 * gfile.c: *_async() functions: Several small corrections
166 to the documentation, mostly correcting copy/paste errors
167 and improving some sentences.
169 2008-01-09 Dan Winship <danw@gnome.org>
171 * glocalfile.c (get_unique_filename): x86_64 fix
173 2008-01-09 Alexander Larsson <alexl@redhat.com>
178 Add g_unix_mount_guess_should_display and use
179 for unix volume monitor backend.
180 This means we more or less show what the
181 gnome-vfs backend did.
182 Based on patch from Padraig O'Briain
184 2008-01-09 Alexander Larsson <alexl@redhat.com>
188 Add g_themed_icon_new_with_default_fallbacks
191 Use default fallbacks for icons
193 2008-01-09 Alexander Larsson <alexl@redhat.com>
196 * gmountoperation.[ch]:
197 Change the API a bit so that unhandled methods
198 get reported via the reply, rather than by
199 the signal emission return value. This is because
200 some handlers can't know this immediately without
201 doing I/O, and this is an async operation that
204 2008-01-09 Alexander Larsson <alexl@redhat.com>
207 * fam/gfamdirectorymonitor.c:
208 * fam/gfamfilemonitor.c:
209 Fix double free crash (#508224)
210 Patch from Joe Marcus Clarke
212 008-01-07 Matthias Clasen <mclasen@redhat.com>
214 * === Released 2.15.1 ===
216 2008-01-07 Alexander Larsson <alexl@redhat.com>
218 * gunixinputstream.c (g_unix_input_stream_skip_finish):
219 Fix warning (#507835)
221 2008-01-07 Alexander Larsson <alexl@redhat.com>
224 Pass --internal to glib-genmarshal
229 Use better types for signal arguments (#507822)
231 2008-01-07 Alexander Larsson <alexl@redhat.com>
234 Build test subdir after .
235 Remove gdirectorymonitor.[ch]
237 * gdirectorymonitor.[ch]:
241 Remove GDirectoryMonitor and make
242 GFileMonitor the baseclass for both file and
243 directory monitors. Lift the more generic
244 rate limiting code from GDirectoryMonitor
248 * fam/gfamdirectorymonitor.[ch]:
249 * inotify/ginotifydirectorymonitor.[ch]:
250 * inotify/inotify-helper.c:
251 * glocaldirectorymonitor.[ch]:
254 Update for the removed GDirectoryMonitor.
256 * gmemoryoutputstream.c:
257 Remove ununsed variable
259 2008-01-07 Alexander Larsson <alexl@redhat.com>
261 * gmemoryinputstream.c:
262 Translate error strings
265 * gmemoryoutputstream.[ch]:
266 New implementation that avoids using GByteArray
267 in implementation and API. (#506377)
269 2008-01-06 Matthias Clasen <mclasen@redhat.com>
271 * tests/*: Add a test for memory input streams.
273 * Makefile.am: Add tests to SUBDIRS.
275 2008-01-06 Matthias Clasen <mclasen@redhat.com>
277 * glocalfilemonitor.c:
278 * glocaldirectorymonitor.c: Mark property nicks and blurbs
281 2008-01-06 Matthias Clasen <mclasen@redhat.com>
283 * gdesktopappinfo.c: Fix a docs typo.
285 * gfileattribute.c: Add information about extended attributes
286 to the documentation. (#505058)
288 2008-01-04 Alexander Larsson <alexl@redhat.com>
292 Use the right type (uint) for the ask_password signal.
294 2008-01-04 Alexander Larsson <alexl@redhat.com>
299 Add g_app_info_supports_files()
300 Remove desktop arg from g_app_info_should_show().
302 * gdesktopappinfo.[ch]:
303 Implement g_app_info_supports_files() and new should_show()
304 Add g_desktop_app_info_set_desktop_env() to set the desktop
305 for should_show(). (This will be set by gtk+ later)
307 2008-01-04 Alexander Larsson <alexl@redhat.com>
310 * gmemoryinputstream.[ch]:
311 Improve API so that you can use multiple chunks
312 of memory and custom destroy functions. (#506374)
314 2008-01-03 Alexander Larsson <alexl@redhat.com>
317 Handle NULL attribute matchers safely, as we return this
318 for empty attribute matcher strings.
320 2008-01-03 Alexander Larsson <alexl@redhat.com>
322 * gunixmounts.c (g_unix_is_mount_path_system_internal):
323 Add /usr/local to list of internal mountpoints
325 2008-01-03 Alexander Larsson <alexl@redhat.com>
328 Check for HAVE_LCHOWN (#505887)
330 2008-01-03 Alexander Larsson <alexl@redhat.com>
334 Add define for selinux context attribute.
335 Fix missing : -> :: namespace separator change
336 Fix missing _ -> - name change for xattr-sys.
339 2008-01-03 Alexander Larsson <alexl@redhat.com>
342 Link to libglib and libgobject directly (#504879)
343 Patch from Sebastien Bacher
345 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
347 * gfile.c: Expanded the g_file_new_for_commandline_arg
348 description a bit, based on the code and the docs of the
349 other g_file_new_for_* functions.
351 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
353 * gfilemonitor.h: Fixed typo in docs.
355 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
357 Updates to GIO documentation. (#506395, Mikael Hermansson)
359 * gcontenttype.c: Describe memory management for return value of
360 g_content_types_get_registered(). Missing piece from #505815.
361 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
362 GVolume, GDrive, GMounts, which hopefully gives the user less
363 confusions when using this API. Following explainations from
364 Alexander Larsson on gtk-devel-list.
366 2007-12-30 Matthias Clasen <mclasen@redhat.com>
368 * gfileinfo.c: Expand the long description.
370 2007-12-30 Matthias Clasen <mclasen@redhat.com>
373 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
374 fix builds with --disable-visibility. (#500273, Christian Persch)
376 2007-12-30 Matthias Clasen <mclasen@redhat.com>
378 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
379 in the list of returned app infos.
381 2007-12-30 Matthias Clasen <mclasen@redhat.com>
383 * gappinfo.c: Fix a cross-reference
385 2007-12-30 Matthias Clasen <mclasen@redhat.com>
387 * gfileinputstream.c:
388 * gfileoutputstream.c:
394 * gfileinfo.c: Documentation updates.
396 2007-12-26 Matthias Clasen <mclasen@redhat.com>
398 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
401 2007-12-26 Matthias Clasen <mclasen@redhat.com>
403 * gcontenttype.c (g_content_types_get_registered): Don't return
404 freed memory (#505815, Mikael Hermansson)
406 2007-12-25 Paolo Borelli <pborelli@katamail.com>
408 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
409 used to detect statbuf->st_blocks. (#505042)
411 2007-12-24 Matthias Clasen <mclasen@redhat.com>
413 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
414 environment handling. (#504829, Cosimo Cecchi)
416 2007-12-22 Matthias Clasen <mclasen@redhat.com>
418 * gappinfo.c: Doc improvements
420 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
423 2007-12-20 Matthias Clasen <mclasen@redhat.com>
425 * === Released 2.15.0 ===
427 2007-12-20 Hans Breuer <hans@breuer.org>
429 * makefile.msc : don't build gdesktopappinfo.obj, it collides
430 with symbols gwin32appinfo.obj, added gmount.obj
431 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
433 2007-12-20 Alexander Larsson <alexl@redhat.com>
439 * gfilenamecompleter.c:
442 * gpollfilemonitor.c:
443 File attribute renames:
446 id::fs -> id::filesystem
448 2007-12-20 Alexander Larsson <alexl@redhat.com>
457 Add GMountUnmountFlags to all unmount and
459 Add g_mount_remount() call.
461 2007-12-20 Alexander Larsson <alexl@redhat.com>
463 * gvfs.c (get_default_vfs):
464 Fix unused variable warning
466 2007-12-19 Matthias Clasen <mclasen@redhat.com>
468 * pltcheck.sh: Update
470 2007-12-19 Matthias Clasen <mclasen@redhat.com>
472 * gunionvolumemonitor.c:
473 * gunixmount.c: Remove C99 comments
475 2007-12-19 Matthias Clasen <mclasen@redhat.com>
477 * gio.symbols: Add some missing symbols
479 2007-12-19 Alexander Larsson <alexl@redhat.com>
482 Make g_io_modules_load_all_in_directory not unuse
483 loaded modules so that users of it can do stuff
485 Init internal "module" types.
486 Initialize static prio and name for types so that
487 we don't have to load modules to get it.
489 * gnativevolumemonitor.h:
491 Move is_supported to parent class so that
492 non-native monitors can avoid being initialized
493 too. (For instance GDaemonVolumeMonitor if we're
494 not using GDaemonVfs.)
496 * glocaldirectorymonitor.[ch]:
497 * glocalfilemonitor.[ch]:
498 * gunionvolumemonitor.c:
499 * gunixvolumemonitor.c:
501 Find plugins using the static prio+name to
502 avoid unnecessarily loading the modules.
504 2007-12-19 Alexander Larsson <alexl@redhat.com>
509 2007-12-19 Alexander Larsson <alexl@redhat.com>
511 * gunionvolumemonitor.c:
512 Store the native type as GType, not class so that
513 we can unload it. But still avoid unnecessarily
516 2007-12-19 David Zeuthen <davidz@redhat.com>
518 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
519 add signals 'disconnected' and 'eject-button' on GDrive. Add
520 signal 'removed' on GVolume and 'unmounted' on GMount.
522 * gdrive.c: (g_drive_base_init):
524 * gfile.c: (g_file_mount_mountable),
525 (g_file_mount_enclosing_volume):
528 * gmount.c: (g_mount_base_init):
530 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
531 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
532 * gvolume.c: (g_volume_base_init), (g_volume_mount):
536 2007-12-17 Matthias Clasen <mclasen@redhat.com>
538 * *.c: Fix up includes in the section docs.
540 2007-12-17 Alexander Larsson <alexl@redhat.com>
542 * gnativevolumemonitor.h:
543 * gunionvolumemonitor.c:
544 * gunixvolumemonitor.c:
545 Add is_supported() to GNativeVolumeMonitorClass so
546 that we can avoid having to create an object to see
547 if the backend is supported at runtime.
548 Also add name member and an env var to pick a specific
549 volume monitor backend.
553 Add cancellable to _g_mount_get_for_mount_path()
555 * glocaldirectorymonitor.c:
556 * glocalfilemonitor.c:
557 Avoid loading and unloading modules while sorting.
559 2007-12-17 Matthias Clasen <mclasen@redhat.com>
562 * gunixmounts.[hc]: Namespace waste reduction, move some
563 g_get_unix_mount functions to the g_unix_mount namespace.
566 * gunixvolumemonitor.c:
568 * glocaldirectorymonitor.c: Update all callers.
570 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
572 2007-12-17 Alexander Larsson <alexl@redhat.com>
575 Add doc comments about what GFile operations are
576 guaranteed to not block.
578 2007-12-17 Alexander Larsson <alexl@redhat.com>
581 Add missing #ifdef fixing OSX build.
582 (#503334, patch from Richard Hult)
584 2007-12-14 David Zeuthen <davidz@redhat.com>
588 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
589 (g_mount_eject), (g_mount_eject_finish):
591 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
592 (get_volume_for_uuid), (get_mount_for_uuid),
593 (g_union_volume_monitor_class_init),
594 (get_default_native_type_with_exclude), (get_default_native_type),
595 (get_native_type), (update_native_type),
596 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
597 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
598 (g_unix_mount_can_eject), (eject_unmount_cb),
599 (eject_unmount_read_error), (eject_unmount_do),
600 (g_unix_mount_unmount), (g_unix_mount_eject),
601 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
602 * gunixmounts.c: (g_unix_mount_guess_can_eject),
603 (g_unix_mount_point_guess_can_eject):
605 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
606 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
607 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
608 (g_unix_volume_mount), (g_unix_volume_eject),
609 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
610 * gunixvolumemonitor.c: (get_volume_for_uuid),
611 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
613 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
614 (g_volume_eject), (g_volume_eject_finish):
616 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
617 (g_volume_monitor_get_mount_for_uuid):
620 Provide eject() on both GMount and GVolume and utility functions
621 to guess whether a GUnixMountPoint or GUnixMountEntry should be
622 ejected. Introduce the concept of UUID's and wire it into GVolume
623 and GMount and provide API on GVolumeMonitor to find such
624 instances. Also handle the case where an external
625 GNativeVolumeMonitor fails to initialize. Lock around the
626 _g_get_mount_for_mount_path() function such that volume monitor
627 implementations won't have to do locking themselves.
629 2007-12-17 Matthias Clasen <mclasen@redhat.com>
637 * gvolume.h: Documentation updates
639 2007-12-14 Matthias Clasen <mclasen@redhat.com>
642 * gfile.h: Doc updates
644 2007-12-14 Matthias Clasen <mclasen@redhat.com>
647 * gdesktopappinfo.c: Use hash table iterators.
649 2007-12-14 Alexander Larsson <alexl@redhat.com>
652 * gfileattribute.[ch]:
653 * gfileattribute-priv.h:
654 Move GFileAttributeValue to a private header, as
658 Make set_attribute take a type + a pointer instead
659 of a GFileAttributeValue.
662 Fix up for above changes.
663 Add g_file_info_get_attribute_data to get
664 all info in one call, g_file_info_get_attribute_status
665 to get the status and g_file_info_get_attribute_as_string.
669 * glocalfileinfo.[ch]:
673 Make _guess_type static.
675 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
678 * inotify/Makefile.am: Fixed build when srcdir != builddir,
679 made mkenums and friends use temporary files to avoid leaving
680 empty generated files on failure (#503470).
682 2007-12-14 Alexander Larsson <alexl@redhat.com>
687 2007-12-14 Alexander Larsson <alexl@redhat.com>
691 * gfileattribute.[ch]:
694 * glocalfileoutputstream.c:
695 * gmountoperation.[ch]:
696 * goutputstream.[ch]:
697 Clean up all flags enums to not have _FLAGS in them
698 Make the names of some of the enums better.
703 2007-12-14 Michael Natterer <mitch@imendio.com>
705 * gio.symbols: fix g_io_scheduler symbol names.
707 2007-12-14 Alexander Larsson <alexl@redhat.com>
713 * gbufferedinputstream.h:
714 * gbufferedoutputstream.h:
717 * gdatainputstream.h:
718 * gdataoutputstream.h:
720 * gdirectorymonitor.h:
727 * gfileinputstream.h:
729 * gfilenamecompleter.h:
730 * gfileoutputstream.h:
731 * gfilterinputstream.h:
732 * gfilteroutputstream.h:
740 * gmemoryinputstream.h:
741 * gmemoryoutputstream.h:
746 * gsimpleasyncresult.h:
748 * gunixinputstream.h:
750 * gunixoutputstream.h:
754 * inotify/Makefile.am:
755 Only allow including <gio/gio.h> from apps
757 2007-12-14 Alexander Larsson <alexl@redhat.com>
760 * gsimpleasyncresult.c:
761 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
762 Split out the send_to_mainloop call into two versions instead
763 of having the block argument.
765 2007-12-13 Alexander Larsson <alexl@redhat.com>
769 * gbufferedinputstream.c:
771 * gfileinputstream.c:
772 * gfileoutputstream.c:
776 g_push/pop_current_cancellable ->
777 g_cancellable_push/pop_current
779 2007-12-13 Alexander Larsson <alexl@redhat.com>
783 Rename g_mount_for_location to g_file_mount_enclosing_volume.
785 2007-12-13 Alexander Larsson <alexl@redhat.com>
788 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
790 2007-12-12 Alexander Larsson <alexl@redhat.com>
793 Fix race condition when freeing proxy in
794 g_io_job_send_to_mainloop().
796 2007-12-12 Alexander Larsson <alexl@redhat.com>
802 Make attribute namespace separator "::" instead of ":".
803 Use - instead of _ as separator in attribute names.
805 2007-12-12 Alexander Larsson <alexl@redhat.com>
807 * gbufferedinputstream.h:
808 * gbufferedoutputstream.h:
809 * gdatainputstream.h:
810 * gdataoutputstream.h:
811 * gdirectorymonitor.h:
813 * gfileinputstream.h:
815 * gfileoutputstream.h:
816 * gfilterinputstream.h:
817 * gfilteroutputstream.h:
819 * glocalfileinputstream.h:
820 * glocalfileoutputstream.h:
821 * gmemoryinputstream.h:
822 * gmemoryoutputstream.h:
823 * gnativevolumemonitor.h:
825 * gunixinputstream.h:
826 * gunixoutputstream.h:
829 s/parent/parent_instance/ in GObjects
831 2007-12-12 Alexander Larsson <alexl@redhat.com>
836 No need for padding for interfaces
838 2007-12-12 Alexander Larsson <alexl@redhat.com>
842 * gbufferedinputstream.c:
843 * gbufferedoutputstream.c:
846 * gdatainputstream.[ch]:
848 * gdirectorymonitor.c:
850 * gfileattribute.[ch]:
853 * gfileinputstream.h:
855 * gfileoutputstream.[ch]:
856 * gfilterinputstream.h:
857 * gfilteroutputstream.h:
860 * gloadableicon.[ch]:
861 * gmemoryinputstream.c:
864 Fix up a bunch of details in the docs.
869 2007-12-11 David Zeuthen <davidz@redhat.com>
871 Rework how volumes, drives and volume monitoring is
872 done. Previosly the model was
876 where a GDrive instance represented a mount point and a GVolume
877 instance represented a mounted file system. This patch changes it
880 GDrive <1-N> GVolume <1-1> GMount
882 where GMount now serves the purpose of the old GVolume and the new
883 GVolume serves the purpose of the old GDrive. In addition the new
884 GDrive interface is used to represent a collection of GVolume
885 instances (typically partitions) and also contains utility to query
886 the state of the physical drive the GDrive object represents (such
887 as checking for media, polling the drive, ejecting the media etc.).
889 Also implement mounting and unmounting in the Unix volume monitor
890 backend. A subquent patch will introduce GDrive support for ejection
894 * gdrive.c: (g_drive_is_media_check_automatic),
895 (g_drive_is_media_removable), (g_drive_has_media),
896 (g_drive_can_poll_for_media), (g_drive_eject),
897 (g_drive_eject_finish), (g_drive_poll_for_media),
898 (g_drive_poll_for_media_finish):
900 * gfile.c: (g_file_find_enclosing_mount):
903 * glocaldirectorymonitor.c:
904 (g_local_directory_monitor_constructor), (mounts_changed):
905 * glocalfile.c: (get_mount_info),
906 (g_local_file_find_enclosing_mount),
907 (g_local_file_file_iface_init):
908 * gnativevolumemonitor.h:
909 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
910 (get_connected_drives), (g_union_volume_monitor_class_init),
911 (child_volume_added), (child_volume_removed),
912 (child_volume_changed), (child_mount_added), (child_mount_removed),
913 (child_mount_pre_unmount), (child_mount_changed),
914 (child_drive_changed), (g_union_volume_monitor_add_monitor),
915 (g_union_volume_monitor_remove_monitor),
916 (_g_mount_get_for_mount_path):
917 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
918 (guess_system_internal), (_g_get_unix_mounts),
919 (_g_get_unix_mount_points), (g_get_unix_mount_at),
920 (g_unix_mount_free), (g_unix_mount_compare),
921 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
922 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
923 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
924 (type_to_icon), (g_unix_mount_guess_name),
925 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
926 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
927 (_resolve_symlink), (_resolve_dev_root):
929 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
930 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
931 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
932 (g_unix_volume_get_name), (g_unix_volume_can_mount),
933 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
934 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
935 (g_unix_volume_mount), (g_unix_volume_mount_finish),
936 (g_unix_volume_volume_iface_init):
938 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
939 (get_mounts), (get_volumes), (get_connected_drives),
940 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
941 (mountpoints_changed), (mounts_changed),
942 (g_unix_volume_monitor_init),
943 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
944 (find_mount_by_mountpath), (update_volumes), (update_mounts):
945 * gunixvolumemonitor.h:
946 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
947 (g_volume_mount), (g_volume_mount_finish):
949 * gvolumemonitor.c: (g_volume_monitor_class_init),
950 (g_volume_monitor_get_connected_drives),
951 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
954 2007-12-10 Matthias Clasen <mclasen@redhat.com>
956 * gmountoperation.h (GPasswordFlags): Close the gap
958 2007-12-10 Matthias Clasen <mclasen@redhat.com>
960 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
962 * gdesktopappinfo.[hc]: Remove _-prefixes
964 2007-12-10 Tor Lillqvist <tml@novell.com>
966 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
969 2007-12-10 Alexander Larsson <alexl@redhat.com>
971 * gfile.c (g_file_set_display_name):
972 Don't hardcode '/' (#502727)
974 2007-12-09 Hans Breuer <hans@breuer.org>
976 * makefile.msc : follow lib naming convention
977 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
978 for user and group name, tested with ../tests/gio-ls
980 2007-12-09 A. Walton <awalton@svn.gnome.org>
993 * gmemoryinputstream.c:
994 * gmemoryoutputstream.c:
996 * gsimpleasyncresult.c:
997 More documentation cleanup and filling in missing information, bringing
998 GIO to 99% symbol coverage.
1000 2007-12-08 Hans Breuer <hans@breuer.org>
1002 [gio compiles and links on win32, not sure how much already works]
1003 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1004 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1005 base on win32 API; prefer g_lstat() over lstat(); instead of
1006 localtime_r() use an all GLib implementation on win32;
1007 get_mount_info() still needs a win32 specifc implementation
1008 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1009 win32_get_file_user_info to get owner/group info without uid/gid
1010 * glocalfileinputstream.c : include <io.h> on win32
1011 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1012 definition, use g_win32_ftruncate() for G_OS_WIN32
1013 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1014 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1015 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1016 * makefile.msc : updated
1018 2007-12-07 Alexander Larsson <alexl@redhat.com>
1020 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1021 Avoid warning spew if error == NULL
1023 2007-12-07 Alexander Larsson <alexl@redhat.com>
1026 Update docs wrt etags
1028 2007-12-06 Alexander Larsson <alexl@redhat.com>
1031 Include sys/types.h for dev_t (#501919)
1033 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1037 Make abicheck and pltcheck pass.
1039 2007-12-05 Alexander Larsson <alexl@redhat.com>
1042 * giomodule-priv.h: Added.
1043 * glocaldirectorymonitor.c:
1044 * glocalfilemonitor.c:
1045 * gunionvolumemonitor.c:
1047 Actually add the declaration of _g_io_modules_ensure_loaded
1049 2007-12-05 Alexander Larsson <alexl@redhat.com>
1051 * gdatainputstream.c:
1056 * glocaldirectorymonitor.c:
1057 * glocalfilemonitor.c:
1058 * gunionvolumemonitor.c:
1060 Make g_io_modules_ensure_loaded a private function and
1061 don't pass in the dirname. This means we can do magic
1062 directory finding in the win32 version.
1063 Export the actual load-modules-in-directory code so that
1064 gvfs can reuse that.
1066 2007-12-05 Alexander Larsson <alexl@redhat.com>
1068 * gbufferedinputstream.c:
1069 * gbufferedoutputstream.c:
1072 * gfileenumerator.[ch]:
1073 * gfileinputstream.c:
1074 * gfileoutputstream.[ch]:
1075 * gfilterinputstream.c:
1076 * gfilteroutputstream.c:
1077 * ginputstream.[ch]:
1079 * glocalfileenumerator.c:
1080 * glocalfileinputstream.c:
1081 * glocalfileoutputstream.c:
1082 * gmemoryinputstream.c:
1083 * gmemoryoutputstream.c:
1084 * goutputstream.[ch]:
1087 * gunixinputstream.c:
1088 * gunixoutputstream.c:
1089 Rename all struct members named:
1090 read, write, close, truncate, or mount
1091 to foo_fn, as these are reserved names
1092 and could be defined as macros in libc.
1095 2007-12-04 Alexander Larsson <alexl@redhat.com>
1098 (g_output_stream_close):
1099 Only call flush if non-null.
1101 2007-11-30 Dan Winship <danw@gnome.org>
1103 * ginputstream.c (g_input_stream_set_pending): Make this take a
1104 GError and return a gboolean, and do the "outstanding operation"
1105 check (and the "stream is already closed" check) itself.
1106 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1108 * goutputstream.c (g_output_stream_set_pending)
1109 (g_output_stream_clear_pending): Likewise
1111 * gbufferedinputstream.c:
1112 * gfileinputstream.c:
1113 * gfileoutputstream.c: Update for that
1115 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1116 Like g_simple_async_report_error_in_idle, but takes a GError
1117 rather than building one.
1119 2007-11-30 Dan Winship <danw@gnome.org>
1121 * goutputstream.c: Don't cheat and unset the "pending" flag around
1122 inner calls. Instead, call the class method directly rather than
1123 the wrapper function that checks "pending"
1125 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1127 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1129 2007-12-03 Hans Breuer <hans@breuer.org>
1131 [start of port to win32/msvc]
1132 * gcancellable.c : HAVE_UNIST_H and _pipe()
1133 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1134 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1135 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1137 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1138 * glocalvfs.c : use HAVE_PWD_H
1139 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1140 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1141 * Makefile.am : added to EXTRA_DIST
1143 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1145 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1148 2007-12-03 Alexander Larsson <alexl@redhat.com>
1151 Handle OSX style xattrs API (#500506)
1153 2007-12-03 Alexander Larsson <alexl@redhat.com>
1157 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1159 2007-12-02 A. Walton <awalton@svn.gnome.org>
1163 Documentation accuracy fixes.
1165 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1167 * gioenumtypes.c.template: Fix typo.
1169 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1171 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1173 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1175 * gdirectorymonitor.c:
1176 * gfilemonitor.c: Add properties
1178 * gbufferedoutputstream.c: Don't mark buffer-size property
1181 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1183 * gbufferedoutputstream.c: Add auto-grow property.
1185 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1187 * *.c: Unify the capitalization of section headings.
1189 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1191 * gmountoperation.c: Add properties
1193 * gdatainputstream.c: Turn byte-order and newline-type into
1196 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1198 * gioenumtypes.[hc].template: Templates for enum registration
1200 * Makefile.am: Generate gioenumtypes.[hc]
1202 * gio.h: Include gioenumtypes.h
1204 * gfile.h: Add some explicit nicks.
1206 * gio.symbols: Add new symbols
1208 * pltcheck.sh: Adjust
1210 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1212 * *.c: Explain etags and link to the explanation
1214 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1216 * *.c: Explain I/O priority.
1218 * *.c: More coding style fixes.
1220 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1222 * gasyncresult.c: Add another paragraph to the intro,
1223 adjust coding style of example.
1225 2007-11-29 A. Walton <awalton@svn.gnome.org>
1228 Fixes unknown meaning in GAppLaunchContext docs.
1230 Clarify asynchronous ops.
1232 Fix entity tag docs.
1235 Provides missing gtk-doc section, fixes API docs slighly.
1236 * gsimpleasyncresult.c:
1237 Fill in missing info in docs.
1238 * gunixinputstream.c:
1239 * gunixoutputstream.c:
1240 Be more expressive in short description.
1242 Remove gtk-doc stubs for non-public API.
1244 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1246 * *.c: Coding style fixups
1248 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1250 * inotify/inotify-helper.c: Don't export the lock from libgio.
1252 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1255 * abicheck.sh: Fix copy-and-paste leftovers
1257 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1259 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1261 2007-11-28 Alexander Larsson <alexl@redhat.com>
1265 Removed unnecessary file
1267 * gdesktopappinfo.[ch]:
1270 * glocaldirectorymonitor.[ch]:
1272 * glocalfileenumerator.[ch]:
1273 * glocalfileinputstream.[ch]:
1274 * glocalfilemonitor.[ch]:
1275 * glocalfileoutputstream.[ch]:
1277 * gnativevolumemonitor.c:
1278 * gpollfilemonitor.[ch]:
1279 * gunionvolumemonitor.[ch]:
1282 * gunixvolumemonitor.[ch]:
1285 * inotify/ginotifydirectorymonitor.[ch]:
1286 * inotify/ginotifyfilemonitor.[ch]:
1287 * inotify/inotify-helper.c:
1288 Append _ to all internal functions
1292 Export symbols needed for modules
1294 2007-11-28 Alexander Larsson <alexl@redhat.com>
1297 * abicheck.sh: Added.
1298 * makegioalias.pl: Added.
1299 * pltcheck.sh: Added.
1300 * gio.symbols: Added.
1303 Initial work on adding symbol handling.
1306 Correct ifdef guard name
1309 * inotify/Makefile.am:
1310 * xdgmime/Makefile.am:
1311 Include toplevel Makefile.decl
1313 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1315 * gcontenttype.c: Move doc comments to the unix section.
1317 * *.[hc]: More trivial doc corrections.
1319 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1321 * gpollfilemonitor.c:
1325 * gdesktopappinfo.c:
1330 * gdatainputstream.c:
1331 * gdatainputstream.h:
1332 * gdataoutputstream.c:
1333 * gdataoutputstream.h:
1334 * gfileinfo.h: Doc cleanups
1336 2007-11-28 Andre Klapper <a9016009@gmx.de>
1338 * gdesktopappinfo.c: Fix a typo.
1340 2007-11-27 Andre Klapper <a9016009@gmx.de>
1342 * glocalfileoutputstream.c: Fix a typo.
1344 2007-11-27 Alexander Larsson <alexl@redhat.com>
1347 Don't include removed headers
1349 2007-11-27 Alexander Larsson <alexl@redhat.com>
1352 * gsocketinputstream.[ch]: Removed.
1353 * gsocketoutputstream.[ch]: Removed.
1354 * gunixinputstream.[ch]: Added.
1355 * gunixoutputstream.[ch]: Added.
1356 Renamed GSocket*Stream to GUnix*Stream and made
1357 it unix-only, since its not really only for sockets
1358 and it only works on unix (but is highly useful there).
1360 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1366 * gbufferedinputstream.c:
1367 * gbufferedinputstream.h:
1368 * gbufferedoutputstream.c:
1369 * gbufferedoutputstream.h:
1373 * gdatainputstream.c:
1374 * gdatainputstream.h:
1375 * gdataoutputstream.c:
1376 * gdataoutputstream.h:
1377 * gdirectorymonitor.c:
1378 * gdirectorymonitor.h:
1385 * gfileenumerator.c:
1386 * gfileenumerator.h:
1391 * gfileinputstream.c:
1392 * gfileinputstream.h:
1395 * gfilenamecompleter.c:
1396 * gfilenamecompleter.h:
1397 * gfileoutputstream.c:
1398 * gfileoutputstream.h:
1399 * gfilterinputstream.c:
1400 * gfilterinputstream.h:
1401 * gfilteroutputstream.c:
1402 * gfilteroutputstream.h:
1415 * glocalfileoutputstream.c:
1416 * gmemoryinputstream.c:
1417 * gmemoryinputstream.h:
1418 * gmemoryoutputstream.c:
1419 * gmemoryoutputstream.h:
1420 * gmountoperation.c:
1421 * gmountoperation.h:
1424 * gpollfilemonitor.c:
1427 * gsimpleasyncresult.c:
1428 * gsimpleasyncresult.h:
1429 * gsocketinputstream.c:
1430 * gsocketinputstream.h:
1431 * gsocketoutputstream.c:
1432 * gsocketoutputstream.h:
1439 * gunixvolumemonitor.c:
1448 Bumps documentation to 93% symbol coverage, touching most
1449 of the public files. Fixes broken function documentation prototypes.
1450 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1451 gtk-doc headers in private files.
1453 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1455 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1456 (g_buffered_input_stream_read_byte):
1457 * gbufferedinputstream.h:
1458 New functions for efficient access to buffer and simple single byte
1461 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1462 (g_data_input_stream_read_until):
1463 * gdatainputstream.h:
1464 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1465 read_until with multiple stop chars.
1467 2007-11-27 Alexander Larsson <alexl@redhat.com>
1471 * inotify/Makefile.am:
1472 Use the user-specified giomoduledir
1474 2007-11-27 Alexander Larsson <alexl@redhat.com>
1478 Add catch-all gio.h header
1479 Don't install gdummyfile.h
1481 2007-11-26 Alexander Larsson <alexl@redhat.com>
1483 * Makefile.am (gioinclude_HEADERS):
1484 Remove trailing whitespace
1486 2007-11-26 Alexander Larsson <alexl@redhat.com>
1488 Merge gio-standalone into glib
1490 2007-11-25 Christian Kellner <gicmo@gnome.org>
1492 * gio/goutputstream.c:
1493 Fix small mistake in the docs.
1495 2007-11-21 Christian Persch <chpe@gnome.org>
1497 * gio/glocalfile.c: (g_local_file_trash):
1498 Convert filenames to UTF-8 for GError.
1499 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1500 as per xdg base dir spec.
1502 2007-11-21 Christian Persch <chpe@gnome.org>
1504 * gio/gdesktopappinfo.c:
1505 Use that g_key_file_to_data cannot fail.
1507 Use stock defines for the key file group and key names.
1510 2007-11-21 Alexander Larsson <alexl@redhat.com>
1513 (copy_stream_with_progress):
1514 Make sure we do a final progress callback with
1515 the full total size.
1517 2007-11-21 Alexander Larsson <alexl@redhat.com>
1520 Export g_file_copy_attributes
1521 Remove padding as its not needed for interfaces
1523 2007-11-20 Alexander Larsson <alexl@redhat.com>
1528 Add G_IO_ERROR_WOULD_MERGE for
1529 copy/move dir on dir with overwrite.
1531 2007-11-20 Alexander Larsson <alexl@redhat.com>
1534 * gio/glocalfileinfo.c:
1535 Add COPY_NAME (this is an optional
1536 non-modified utf8 version of the name) that
1539 2007-11-20 Alexander Larsson <alexl@redhat.com>
1541 * gio/glocalfileenumerator.c:
1542 Report errors as GIOError, not GFileError
1544 2007-11-16 Alexander Larsson <alexl@redhat.com>
1546 * gio/glocalfileoutputstream.c:
1547 * gio/gwin32appinfo.c:
1548 Fix typos in strings.
1549 Patch from Luca Ferretti <elle.uca@libero.it>
1551 2007-11-15 Alexander Larsson <alexl@redhat.com>
1554 Post release version bump
1556 === gio-standalone 0.1.2 ===
1558 2007-11-15 Alexander Larsson <alexl@redhat.com>
1560 * docs/reference/gio/Makefile.am:
1561 Fix up distcheck by removing weird
1567 2007-11-14 Alexander Larsson <alexl@redhat.com>
1569 * gio/gdesktopappinfo.c:
1570 * gio/glocaldirectorymonitor.c:
1572 * gio/glocalfileinfo.c:
1573 * gio/inotify/inotify-sub.c:
1574 * programs/gio-cat.c:
1575 * programs/gio-copy.c:
1576 * programs/gio-info.c:
1577 * programs/gio-ls.c:
1578 * programs/gio-monitor-dir.c:
1579 * programs/gio-monitor-file.c:
1580 * programs/gio-mount.c:
1581 * programs/gio-move.c:
1582 * programs/gio-rm.c:
1583 * programs/gio-save.c:
1584 * programs/gio-trash.c:
1585 Leak fixes from Kjartan Maraas
1587 2007-11-14 Alexander Larsson <alexl@redhat.com>
1589 * gio/fam/fam-helper.c:
1591 * gio/glocalfileinfo.c:
1595 * gio/inotify/inotify-diag.c:
1596 * gio/inotify/inotify-kernel.c:
1597 Various code cleanups from Kjartan Maraas
1599 2007-11-14 Alexander Larsson <alexl@redhat.com>
1601 * gio/gioscheduler.c:
1603 Set up threadpool so that we cache 2 unused
1604 idle threads for at 15 secs. This means we
1605 will reuse thread-local data (like dbus connections)
1608 2007-11-14 Alexander Larsson <alexl@redhat.com>
1610 * gio/fam/fam-helper.c:
1611 * gio/fam/gfamdirectorymonitor.c:
1612 * gio/fam/gfamfilemonitor.c:
1614 * gio/gcontenttype.c:
1615 * gio/gdatainputstream.c:
1616 * gio/gdataoutputstream.c:
1620 * gio/gfileattribute.h:
1621 * gio/gfileenumerator.c:
1623 * gio/ginputstream.c:
1626 * gio/glocalfileinfo.c:
1627 * gio/goutputstream.c:
1628 * gio/gpollfilemonitor.c:
1629 * gio/gsimpleasyncresult.c:
1630 * gio/gunixmounts.c:
1631 * gio/gunixmounts.h:
1632 * gio/inotify/ginotifydirectorymonitor.c:
1633 * gio/inotify/ginotifyfilemonitor.c:
1634 * gio/inotify/inotify-diag.c:
1635 * gio/inotify/inotify-kernel.c:
1636 * gio/inotify/inotify-path.c:
1638 * gio/test-streams.c:
1639 * programs/gio-info.c:
1640 * programs/gio-monitor-dir.c:
1641 * programs/gio-monitor-file.c:
1642 Various code cleanups from Kjartan Maraas
1644 2007-11-13 Alexander Larsson <alexl@redhat.com>
1647 Handle the uri-scheme calls for dummy files
1649 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1651 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1652 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1653 to avoid clash with the C++ keyword.
1655 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1657 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1658 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1660 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1662 * gio/glocaldirectorymonitor.c:
1663 * gio/glocalfilemonitor.c:
1664 * gio/gunionvolumemonitor.c:
1665 Don't use g_once_init_*() for initializations that could fail and
1666 could leave the initialization variable set to 0 but use GOnce.
1667 This prevents a deadlock on the second call when trying to create
1668 a monitor and no monitor type is available. Thanks to Sven Herzberg
1671 2007-11-11 Sven Herzberg <sven@imendio.com>
1673 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1674 #ifdef (make it work on MacOS X again)
1676 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1678 Fixes Changelog for last two commits (sorry guys).
1680 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1682 * gio/gbufferedinputstream.c:
1683 * gio/gdatainputstream.c:
1685 * gio/gfileoutputstream.c:
1686 * gio/gfilterinputstream.c:
1687 * gio/glocalfileinputstream.c:
1690 More consistency fixes in g*stream.c files.
1691 Significant clean of gfile's documentation, filling in of
1692 asynchronous operations documentation.
1694 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1696 * gio/gasyncresult.c:
1697 * gio/gbufferedinputstream.c:
1698 * gio/gbufferedoutputstream.c:
1699 * gio/gcancellable.c:
1700 * gio/gcontenttype.c:
1701 * gio/gdatainputstream.c:
1702 * gio/gdataoutputstream.c:
1703 * gio/gdesktopappinfo.c:
1706 * gio/gfileattribute.c:
1707 * gio/gio/gfileenumerator.c:
1709 * gio/gfileinputstream.c:
1710 * gio/gfilemonitor.c:
1711 * gio/gfileoutputstream.c:
1712 * gio/ginputstream.c:
1714 * gio/gioscheduler.c:
1715 * gio/gloadableicon.c:
1716 * gio/glocalfileoutputstream.c:
1717 * gio/gmemoryoutputstream.c:
1718 * gio/gmountoperation.c:
1719 * gio/goutputstream.c:
1721 * gio/gsimpleasyncresult.c:
1722 * gio/gunionvolumemonitor.c:
1723 * gio/gunixmounts.c:
1724 * gio/gunixvolume.c:
1728 * gio/gvolumemonitor.c:
1729 Updated documentation stubs, working towards consistency and
1732 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1734 * gio/gmemoryoutputstream.c:
1735 * gio/gmemoryoutputstream.h:
1736 Change g_memory_output_stream_set_free_on_close() to
1737 g_memory_output_stream_set_free_data() as this makes more sense and
1738 is more consistent with GMemoryInputStream.
1740 2007-11-07 Alexander Larsson <alexl@redhat.com>
1747 Change how we find the default vfs so that
1748 we can handle a gvfs failing to init
1750 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1752 * gio/gbufferedoutputstream.c:
1753 * gio/gdatainputstream.c:
1754 * gio/gdataoutputstream.c:
1755 * gio/gfileinputstream.c:
1756 * gio/gfileoutputstream.c:
1757 * gio/gfilterinputstream.c:
1758 * gio/gfilteroutputstream.c:
1759 * gio/ginputstream.c:
1760 * gio/gmemoryinputstream.c:
1761 * gio/gmemoryoutputstream.c:
1762 * gio/goutputstream.c:
1763 * gio/gsimpleasyncresult.c:
1764 * gio/gsocketinputstream.c:
1765 * gio/gsocketoutputstream.c:
1766 Add guards to the remaining public functions, add a TODO for
1767 an unimplemented function and remove some useless guards.
1769 2007-11-07 Alexander Larsson <alexl@redhat.com>
1772 Autoconf checks for the various types of
1773 getpwuid_r and getgrgid_r
1775 * gio/glocalfileinfo.c:
1776 Use the autoconf checks from above
1778 2007-11-07 Alexander Larsson <alexl@redhat.com>
1781 (g_local_file_query_filesystem_info):
1782 Some fixes for the statvfs case
1784 2007-11-07 Alexander Larsson <alexl@redhat.com>
1787 (g_local_file_query_filesystem_info):
1788 Pick the "best" of statfs / statvfs for the system
1789 if both are availible.
1791 2007-11-07 Alexander Larsson <alexl@redhat.com>
1793 Solaris fixes from Halton.Huo@Sun.COM:
1800 * gio/glocalfileinfo.c:
1801 Fix for solaris definition of getpwuid_r
1803 * gio/test-streams.c:
1804 Use G_GNUC_PRETTY_FUNCTION
1806 2007-11-07 Alexander Larsson <alexl@redhat.com>
1808 * gio/gdesktopappinfo.c:
1809 (update_default_list):
1810 Remove double semicolon.
1811 Patch from Jens Granseuer
1813 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1815 * docs/reference/gio/gio-sections.txt:
1816 * gio/gbufferedinputstream.c:
1817 * gio/gbufferedinputstream.h:
1818 * gio/gdatainputstream.c:
1819 * gio/gfileenumerator.c:
1820 * gio/gioscheduler.c:
1821 * gio/gunionvolumemonitor.c:
1823 * programs/gio-save.c:
1824 Fix typo: availible -> available. Unfortuntely this breaks API
1825 and ABI as g_buffered_input_stream_get_available() was renamed.
1827 * gio/gunixmounts.c:
1828 * gio/gbufferedinputstream.c:
1829 Add guards for public functions.
1831 2007-11-06 Ross Burton <ross@openedhand.com>
1833 * docs/reference/gio/Makefile.am:
1834 Fix invalid += usage which automake 1.10 doesn't like.
1836 2007-11-06 Alexander Larsson <alexl@redhat.com>
1839 (g_app_launch_context_class_init):
1842 Patch from Ross Burton
1844 2007-11-06 Alexander Larsson <alexl@redhat.com>
1847 Post release version bump
1849 === gio-standalone 0.1.1 ===
1851 2007-11-06 Alexander Larsson <alexl@redhat.com>
1854 Bump version to 0.1.1
1856 * gio/gsimpleasyncresult.c:
1857 (g_simple_async_result_set_from_error):
1858 Remove bogus g_return_if_fail
1860 2007-11-06 Alexander Larsson <alexl@redhat.com>
1863 The name is gio-standalone
1866 Add top src/builddir to includedir
1868 2007-11-06 Alexander Larsson <alexl@redhat.com>
1870 * docs/reference/gio/gio-sections.txt:
1872 * gio/gbufferedinputstream.c:
1873 * gio/gbufferedoutputstream.c:
1874 * gio/gcancellable.c:
1875 * gio/gdatainputstream.h:
1876 * gio/gdataoutputstream.c:
1877 * gio/gdataoutputstream.h:
1878 * gio/gdirectorymonitor.c:
1880 * gio/gfileattribute.c:
1881 * gio/gfileattribute.h:
1882 * gio/gfileenumerator.c:
1883 * gio/gfileenumerator.h:
1886 * gio/gfileinputstream.h:
1887 * gio/gfilemonitor.c:
1888 * gio/gfileoutputstream.h:
1889 * gio/glocalfilemonitor.h:
1890 * gio/glocalfileoutputstream.h:
1891 * gio/gmemoryinputstream.c:
1892 * gio/gmemoryoutputstream.c:
1893 * gio/gmountoperation.c:
1894 * gio/goutputstream.c:
1895 * gio/goutputstream.h:
1897 * gio/gsimpleasyncresult.c:
1898 * gio/gunixmounts.c:
1899 * gio/gunixmounts.h:
1901 * gio/inotify/inotify-helper.c:
1902 Fix gtk-doc warnings
1904 Patch from Ross Burton
1906 2007-11-06 Alexander Larsson <alexl@redhat.com>
1908 * gio/gfilenamecompleter.c:
1909 (g_filename_completer_get_completions):
1912 * gio/gunixvolume.c:
1913 Remove unused function
1915 Patches from Ross Burton
1917 2007-11-06 Alexander Larsson <alexl@redhat.com>
1922 Padding not needed for interfaces
1924 2007-11-06 Alexander Larsson <alexl@redhat.com>
1926 * gio/gfilemonitor.c:
1930 Make giotypes.h an internal file
1933 * gio/gbufferedinputstream.h:
1934 * gio/gbufferedoutputstream.h:
1935 * gio/gcancellable.h:
1936 * gio/gdatainputstream.h:
1937 * gio/gdataoutputstream.h:
1938 * gio/gdirectorymonitor.c:
1939 * gio/gdirectorymonitor.h:
1944 * gio/gfileattribute.h:
1945 * gio/gfileenumerator.h:
1950 * gio/gfilemonitor.c:
1951 * gio/gfilemonitor.h:
1952 * gio/gfilenamecompleter.c:
1953 * gio/gfilenamecompleter.h:
1954 * gio/gfilterinputstream.h:
1955 * gio/gfilteroutputstream.h:
1956 * gio/ginputstream.h:
1957 * gio/gmemoryinputstream.h:
1958 * gio/gmemoryoutputstream.h:
1959 * gio/gmountoperation.c:
1960 * gio/gmountoperation.h:
1961 * gio/gnativevolumemonitor.c:
1962 * gio/goutputstream.h:
1965 * gio/gsimpleasyncresult.c:
1966 * gio/gsimpleasyncresult.h:
1967 * gio/gsocketinputstream.h:
1968 * gio/gsocketoutputstream.h:
1969 * gio/gthemedicon.c:
1970 * gio/gthemedicon.h:
1974 * gio/gvolumemonitor.c:
1975 * gio/gvolumemonitor.h:
1976 Add padding in classes where it seems useful
1977 Don't include giotypes.h from public headers
1978 Move in Class definitions into c file where possible
1983 2007-11-06 Alexander Larsson <alexl@redhat.com>
1985 * docs/reference/gio/gio-docs.xml:
1986 Better structure for API docs
1988 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1991 * gio/gloadableicon.c:
1992 * gio/gsimpleasyncresult.c:
1993 * gio/gthemedicon.c:
1994 Add some more guards to public functions. Only files missing are now
1997 2007-11-06 Alexander Larsson <alexl@redhat.com>
1999 * docs/reference/gio/gio-docs.xml:
2000 Remove old files, add missing ones
2002 2007-11-06 Alexander Larsson <alexl@redhat.com>
2004 * docs/reference/gio/gio-sections.txt:
2007 Hide implementation classes
2009 * gio/gdriveprivate.h:
2010 * gio/gvolumeprivate.h:
2011 Remove non-existing function declarations
2013 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2016 Fix compilation warnings and add guards to the new functions.
2018 * gio/gasyncresult.c:
2020 Add guards to the public functions.
2023 Implement get_path().
2025 2007-11-06 Alexander Larsson <alexl@redhat.com>
2027 * gio/gfilenamecompleter.c:
2028 Make g_filename_completer_get_completions
2029 return char ** instead of GList for
2032 * docs/reference/gio/gio-docs.xml:
2033 * docs/reference/gio/gio-sections.txt:
2035 * gio/gasyncresult.c:
2036 * gio/gbufferedinputstream.c:
2037 * gio/gbufferedoutputstream.c:
2038 * gio/gcancellable.c:
2039 * gio/gcontenttype.c:
2040 * gio/gdatainputstream.c:
2041 * gio/gdataoutputstream.c:
2042 * gio/gdesktopappinfo.c:
2043 * gio/gdirectorymonitor.c:
2047 * gio/gfileattribute.c:
2048 * gio/gfileenumerator.c:
2051 * gio/gfileinputstream.c:
2052 * gio/gfilemonitor.c:
2053 * gio/gfilenamecompleter.c:
2054 * gio/gfilenamecompleter.h:
2055 * gio/gfileoutputstream.c:
2056 * gio/gfilterinputstream.c:
2058 * gio/ginputstream.c:
2060 * gio/gioscheduler.c:
2061 * gio/gloadableicon.c:
2062 * gio/glocaldirectorymonitor.c:
2064 * gio/glocalfileinputstream.c:
2065 * gio/glocalfilemonitor.c:
2066 * gio/glocalfileoutputstream.c:
2068 * gio/gmemoryinputstream.c:
2069 * gio/gmemoryoutputstream.c:
2070 * gio/gmountoperation.c:
2071 * gio/goutputstream.c:
2072 * gio/gpollfilemonitor.c:
2074 * gio/gsimpleasyncresult.c:
2075 * gio/gsocketinputstream.c:
2076 * gio/gsocketoutputstream.c:
2077 * gio/gthemedicon.c:
2078 * gio/gunionvolumemonitor.c:
2080 * gio/gunixmounts.c:
2081 * gio/gunixvolume.c:
2082 * gio/gunixvolumemonitor.c:
2086 * gio/gvolumemonitor.c:
2087 * gio/gwin32appinfo.c:
2088 Add (mostly stub) doc strings to public functions.
2089 Patch from Andrew Walton (awalton@gmail.com)
2091 2007-11-06 Alexander Larsson <alexl@redhat.com>
2093 * gio/gappinfo.[ch]:
2094 Added GAppLaunchContext object and pass that to launch.
2095 This allows simple implementation of both
2096 launch-on-screen and startup notification via a gtk+
2097 subclass of GAppLaunchContext
2099 * gio/gdesktopappinfo.c:
2100 Implement GAppLaunchContext API
2102 * gio/gwin32appinfo.c:
2105 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2107 * gio/gmountoperation.c:
2108 Add some guards to GMountOperation's public functions.
2110 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2114 * gio/gcancellable.c:
2115 * gio/gdirectorymonitor.c:
2117 * gio/gfileenumerator.c:
2118 * gio/gfilemonitor.c:,
2119 * gio/gfilenamecompleter.c:
2122 * gio/gioscheduler.c:
2126 * gio/gvolumemonitor.c:
2127 Add even more guards to various public functions.
2129 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2132 Add guards to the public functions of GAppInfo.
2134 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2136 * gio/gcontenttype.c:
2137 Add some more guards for public functions.
2139 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2141 * gio/fam/fam-module.c:
2142 * gio/fam/gfamdirectorymonitor.c:
2143 * gio/fam/gfamdirectorymonitor.h:
2144 * gio/fam/gfamfilemonitor.c:
2145 * gio/fam/gfamfilemonitor.h:
2146 * gio/inotify/ginotifydirectorymonitor.c:
2147 * gio/inotify/ginotifydirectorymonitor.h:
2148 * gio/inotify/ginotifyfilemonitor.c:
2149 * gio/inotify/ginotifyfilemonitor.h:
2150 Add proper copyright information and remove an unused variable
2151 in the GInotifyFileMonitor constructor.
2153 * gio/gcancellable.c:
2154 Add a guard for a public function and an assertion to prevent
2155 an undefined program state.
2157 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2159 * gio/gfileattribute.c:
2160 Don't run into an assertion if the given attribute value is NULL
2161 in g_file_attribute_value_get_*() but instead return a fallback
2162 value that makes sense in most situations. Passing them a attribute
2163 value with the wrong type will still run into an assertion.
2165 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2167 * gio/gfileattribute.c:
2169 Add even more guards to the public functions. Also fix the refcounting
2170 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2171 let g_file_info_list_attributes() filter the attributes by namespace
2172 instead of simply ignoring the namespace parameter.
2174 2007-11-03 Sven Herzberg <sven@imendio.com>
2176 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2177 (This makes gio work on MacOS X again)
2179 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2182 Build the gio subdirectory before the docs. Otherwise the build will
2185 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2186 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2187 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2188 Add guards to the public functions.
2190 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2192 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2193 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2194 to prevent a compiler warning.
2196 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2197 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2198 return something in the non-void function find_topdir_for().
2200 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2207 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2209 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2210 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2211 * gwin32appinfo.c (g_win32_app_info_launch):
2212 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2213 envp_for_startup_id, g_desktop_app_info_launch,
2214 g_desktop_app_info_launch_uris):
2216 Give an opaque 'startup_id' string instead of 'envp'.
2217 Support empty file lists for launching new windows.
2218 Fix infinite recursion bug when launching URIs.
2220 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2223 Add guard to the new g_file_get_uri_scheme() function.
2225 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2228 Convert a g_return_val_if_fail() to setting the GError instead as
2229 otherwise applications have to verify the parameter before otherwise
2230 and the parameter might come directly from the user.
2232 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2234 * gio/inotify/ginotify*.[ch]:
2235 Add missing copyright information.
2237 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2240 Add guards in the beginning of public functions to check for valid
2241 parameters and fix a bug in copy_stream_with_progress() that could've
2242 caused writing less bytes than reading.
2243 * gio/glocalfileinfo.c:
2244 Check for a NULL parameter and set the GError accordingly then.
2245 * gio/goutputstream.c:
2246 Fix the same bug as in gfile.c that could've caused writing less bytes
2247 than reading in g_output_stream_real_splice().
2249 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2252 Use the correct gvolumeprivate.h naming
2254 2007-11-01 Christian Kellner <gicmo@gnome.org>
2257 Remove leftover "$(daemon_sources)" entry.
2259 2007-11-01 Christian Kellner <gicmo@gnome.org>
2264 Add copyright information to source files.
2266 2007-11-01 Alexander Larsson <alexl@redhat.com>
2270 Add g_file_get_uri_scheme
2272 2007-11-01 Alexander Larsson <alexl@redhat.com>
2275 * gio/gdesktopappinfo.c:
2276 * gio/gwin32appinfo.c:
2277 Add g_app_info_get_default_for_uri_scheme.
2279 2007-11-01 Alexander Larsson <alexl@redhat.com>
2282 Correct filename for gdriveprivate.h
2284 2007-10-31 Alexander Larsson <alexl@redhat.com>
2287 Rename id:value to id:file
2290 * gio/glocalfileinfo.c:
2293 2007-10-31 Alexander Larsson <alexl@redhat.com>
2295 * gio/gunixvolume.c:
2297 Remove g_volume_get_platform_id, as thats not
2298 needed with the simpler union volume monitor
2300 2007-10-31 Alexander Larsson <alexl@redhat.com>
2303 * gio/guniondrive.[ch]: Removed.
2304 * gio/gunionvolume.[ch]: Removed.
2305 Remove GUnionDrive/Volume
2307 * gio/gunionvolumemonitor.c:
2308 Simplify union volume monitor, now we
2309 only have one native volume monitor and
2310 we use the actual volumes/drives from the
2311 child monitors instead of wrapping them
2313 * gio/gnativevolumemonitor.[ch]:
2314 Base class for native volume monitors.
2315 Includes priority and get_volume_for_mountpoint
2318 Add g_file_find_enclosing_volume
2321 Remove volume name fs attribute
2322 Add readonly fs attribute
2325 Implement readonly attribute
2326 remove volume name attribute
2327 Implement find_enclosing volume
2329 * gio/gunixmounts.c:
2330 Add a volume for "/".
2332 * gio/gunixvolume.[ch]:
2333 Set better name for /
2335 * gio/gunixvolumemonitor.[ch]:
2336 Derive from GNativeVolumeMonitor
2337 Implement get_volume_for_mountpoint
2340 GVolume typedef moved to gfile.h
2342 * gio/gvolumeprivate.h:
2343 Add g_volume_get_for_mount_path
2345 2007-10-31 Alexander Larsson <alexl@redhat.com>
2347 * gio/gunixmounts.[ch]:
2348 Add cache info to unix mount listers
2349 Make getmntent use threadsafe
2350 Add is_system_internal attribute for GUnixMount
2352 * gio/gunixvolume.c:
2353 (g_unix_volume_new):
2354 Use is_system_internal instead of own code
2356 * gio/glocaldirectorymonitor.c:
2357 * gio/gunixvolumemonitor.c:
2358 Update to new gunixmounts API
2363 2007-10-30 Alexander Larsson <alexl@redhat.com>
2366 Add volume name fsinfo attribute
2369 Read volume name info
2371 * gio/gunionvolumemonitor.c:
2372 Fix infinite loops when finalizing a union volume monitor
2374 2007-10-30 Alexander Larsson <alexl@redhat.com>
2376 * gio/goutputstream.[ch]:
2377 Add splice() with default implementation
2379 * gio/gsocketoutputstream.c:
2380 (g_socket_output_stream_write):
2381 Return error on cancellation correctly.
2383 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2385 * gio/glocalfile.c (g_local_file_trash):
2386 Do not leak a string.
2388 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2390 * gio/gfile.c (g_file_load_contents):
2391 Unref the stream after closing it.
2393 2007-10-25 Alexander Larsson <alexl@redhat.com>
2395 * gio/gioscheduler.h:
2398 2007-10-25 Alexander Larsson <alexl@redhat.com>
2402 Add g_file_has_uri_scheme and implement for local files
2404 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2406 * gio/gdesktopappinfo.c: do not leak a string.
2408 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2410 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2411 (g_local_directory_monitor_new):
2412 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2413 (g_local_file_monitor_new):
2414 Only look for the monitor type that should be used the first time
2415 and use g_qsort_with_data() instead of our own bubble sort
2418 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2421 * gio/fam/Makefile.am:
2422 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2423 * gio/fam/fam-helper.h:
2424 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2425 * gio/fam/gfamdirectorymonitor.c:
2426 * gio/fam/gfamdirectorymonitor.h:
2427 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2428 * gio/fam/gfamfilemonitor.h:
2429 * gio/glocaldirectorymonitor.c:
2430 * gio/glocaldirectorymonitor.h:
2431 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2432 * gio/glocalfilemonitor.h:
2433 * gio/inotify/Makefile.am:
2434 * gio/inotify/ginotifydirectorymonitor.c:
2435 * gio/inotify/ginotifydirectorymonitor.h:
2436 * gio/inotify/ginotifyfilemonitor.c:
2437 * gio/inotify/ginotifyfilemonitor.h:
2438 Implement the FAM and Inotify monitors as
2439 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2440 their own GIO module. GLocal(Directory|File)Monitor will use the
2441 monitor with the highest rank that is supported on that machine.
2443 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2446 Change GIO module dir to $(libdir)/gio/modules and change
2447 the log domain from GVFS to GIO. Also only export symbols starting
2448 with g_ in the resulting library.
2449 * gio/test-streams.c: (main):
2450 Set log handler for the GIO log domain.
2452 2007-10-22 Alexander Larsson <alexl@redhat.com>
2454 * gio/gfilenamecompleter.[ch]:
2455 Add g_filename_completer_set_dirs_only
2457 2007-10-22 Alexander Larsson <alexl@redhat.com>
2460 * gio/gurifuncs.[ch]:
2461 Add some simple URI helpers
2463 * gio/gfilenamecompleter.[ch]:
2464 Added object for filename (parse name actually) completion
2467 Handle ~ in parse names
2469 2007-10-17 Alexander Larsson <alexl@redhat.com>
2472 * gio/glocalfileinfo.c:
2473 Add and implement id:value attribute
2475 2007-10-17 Alexander Larsson <alexl@redhat.com>
2478 * gio/guniondrive.c:
2480 Add and implement g_drive_has_volumes
2482 2007-10-17 Alexander Larsson <alexl@redhat.com>
2485 * gio/glocalfileinfo.[ch]:
2486 Add unix:is_mountpoint and implement for local files
2488 2007-10-16 Alexander Larsson <alexl@redhat.com>
2490 * gio/gunionvolumemonitor.c:
2491 (g_union_volume_monitor_init):
2492 Fix up the unix type getting so that it works with gcc
2494 2007-10-12 Alexander Larsson <alexl@redhat.com>
2497 * gio/glocalfileinfo.c:
2498 Add thumbnail:failed to file info
2500 2007-10-12 Richard Hult <richard@imendio.com>
2502 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2503 optimizing away the get_type call (happens with some gcc versions,
2504 like the one shipped with OS X 10.4).
2506 2007-10-12 Alexander Larsson <alexl@redhat.com>
2508 * gio/glocalfileinfo.c:
2509 (_g_local_file_info_set_attribute):
2510 Fix build if not HAVE_XATTR
2511 Patch from Milosz Derezynski <internalerror@gmail.com>
2513 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2515 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2516 around for review, otherwise I would have asked you before
2519 2007-10-11 Alexander Larsson <alexl@redhat.com>
2522 Add thumbnail:path attribute
2524 * gio/glocalfileinfo.c:
2525 Implement thumbnail:path for local files
2527 2007-10-11 Alexander Larsson <alexl@redhat.com>
2529 * gio/glocalfileinfo.c:
2530 (_g_local_file_info_get):
2531 Avoid duplicate icon names
2533 2007-10-11 Alexander Larsson <alexl@redhat.com>
2535 * gio/gthemedicon.[ch]:
2536 Change g_themed_icon_get_names return type to const
2538 2007-10-10 Alexander Larsson <alexl@redhat.com>
2540 * gio/glocalfileinfo.c:
2541 Don't reference freed memory
2543 2007-10-10 Alexander Larsson <alexl@redhat.com>
2545 * gio/gfileattribute.c:
2548 * gio/glocalfileinfo.c:
2551 2007-10-10 Alexander Larsson <alexl@redhat.com>
2554 Check for NULL icons
2556 * gio/gfileattribute.c:
2557 Don't dup when getting objects (same as for string attributes)
2559 * gio/gicon.c (g_icon_equal):
2560 Safely handle NULLs in equal
2562 2007-10-10 Alexander Larsson <alexl@redhat.com>
2565 Fix c++ compilation issues
2566 Patch from Milosz Derezynski <internalerror@gmail.com>
2568 2007-10-10 Alexander Larsson <alexl@redhat.com>
2570 * programs/gio-monitor-dir.c:
2571 Don't crash if dir monitor not supported.
2573 2007-10-09 Alexander Larsson <alexl@redhat.com>
2576 Add missing G_END_DECLS
2578 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2580 * gio/gfile.c: (g_file_set_display_name),
2581 (g_file_query_settable_attributes),
2582 (g_file_query_writable_namespaces):
2583 Return NULL not FALSE on errors as the return type is a pointer.
2585 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2587 * gio/glocalfile.c: (g_local_file_monitor_file):
2588 Don't call monitor_file on the default interface vtable (which
2589 is NULL) but simply return NULL. The caller, GFile, will create a
2590 polling monitor if NULL is returned.
2592 2007-10-09 Alexander Larsson <alexl@redhat.com>
2596 * gio-unix-2.0.pc.in:
2597 Add gio-unix-2.0.pc if OS_UNIX
2600 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2602 2007-10-09 Alexander Larsson <alexl@redhat.com>
2604 * gio/gunixmounts.[ch]:
2605 Make unix mount monitoring API sane.
2606 Now its just a object with mounts_changed
2607 and mountpoints_changed signals.
2609 * gio/glocaldirectorymonitor.c:
2610 * gio/gunixvolumemonitor.c:
2611 Use new mount monitor api
2613 2007-10-09 Alexander Larsson <alexl@redhat.com>
2615 * gio/gunixmounts.[ch]:
2616 Move guess type into one call for mounts and one for mountpoints
2619 * gio/gunixvolume.c:
2622 2007-10-09 Alexander Larsson <alexl@redhat.com>
2624 * gio/gunixmounts.[ch]:
2625 Remove _ prefix in preparation to make this semi-public
2626 Hide implementation of structs
2628 * gio/glocaldirectorymonitor.c:
2630 * gio/gunixvolume.c:
2631 * gio/gunixvolumemonitor.c:
2632 Update for above API changes
2634 2007-10-08 Alexander Larsson <alexl@redhat.com>
2637 Better polling fallback. This also handles the case where we have
2638 a monitor_file implementation, but it fails.
2640 2007-10-08 Alexander Larsson <alexl@redhat.com>
2644 * gio/gunixmounts.c:
2645 * programs/gio-monitor-dir.c:
2646 * programs/gio-monitor-file.c:
2647 Added cancellable to file monitoring calls.
2648 These are really sync calls and need this.
2650 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2652 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2653 (g_local_vfs_class_init):
2654 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2655 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2657 2007-10-05 Alexander Larsson <alexl@redhat.com>
2659 * gio/gdirectorymonitorprivate.h:
2660 * gio/gfilemonitorprivate.h:
2661 * gio/gdirectorymonitor.h:
2662 * gio/gfilemonitor.h:
2663 Remove *private.h and move to the public API, so that
2664 we can do implementations outside gio (such as in gvfs)
2666 * gio/gdirectorymonitor.c:
2667 * gio/gfilemonitor.c:
2668 * gio/glocaldirectorymonitor.c:
2669 * gio/gpollfilemonitor.c:
2670 * gio/inotify/inotify-helper.c:
2671 * gio/fam/fam-helper.c:
2672 Update to the new header names
2674 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2676 * gio/gdirectorymonitor.c:
2677 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2680 2007-10-04 Alexander Larsson <alexl@redhat.com>
2682 * gio/glocalfileinfo.c (get_access_rights):
2683 Set CAN_TRASH when we can move the file.
2684 We should really also check for a parent trash dir.
2686 2007-10-04 Alexander Larsson <alexl@redhat.com>
2688 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2689 Add can_trash access attribute
2691 2007-10-04 Alexander Larsson <alexl@redhat.com>
2694 (g_local_file_trash):
2695 Create info file first. This is per-spec and allows
2696 us to actually trash directories.
2698 2007-10-02 Alexander Larsson <alexl@redhat.com>
2700 * gio/gdesktopappinfo.c:
2701 Implement the new mime support code.
2702 Always set app as handling mimetype when being set as default for it
2704 2007-10-01 Alexander Larsson <alexl@redhat.com>
2706 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2707 Fix up check for xattrs:
2709 2007-10-01 Alexander Larsson <alexl@redhat.com>
2712 (g_app_info_set_as_default_for_extension):
2713 (g_app_info_add_supports_type):
2714 (g_app_info_can_remove_supports_type):
2715 (g_app_info_remove_supports_type):
2716 Make these fail nicely if not implemented
2718 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2720 * gio/glocalfileoutputstream.c:
2721 * gio/glocalfileoutputstream.h:
2726 * programs/gio-save.c:
2727 Add a GFileCreateFlags argument to operations that can create
2730 2007-10-01 Alexander Larsson <alexl@redhat.com>
2732 * gio/gappinfo.[ch]:
2733 * gio/gdesktopappinfo.c:
2734 Add more (stubbed out) mime API needed for nautilus
2736 2007-10-01 Alexander Larsson <alexl@redhat.com>
2739 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2740 Add g_app_info_set_as_default_for_extension.
2742 * gio/gdesktopappinfo.c:
2743 Dummy for g_app_info_set_as_default_for_extension
2744 Support flags in g_app_info_create_from_commandline
2746 * gio/gwin32appinfo.c:
2748 Update for API changes
2750 * gio/gthemedicon.c:
2751 Properly NULL-terminate list of icon names
2753 2007-09-28 Alexander Larsson <alexl@redhat.com>
2755 * gio/gloadableicon.h:
2756 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2758 2007-09-28 Alexander Larsson <alexl@redhat.com>
2761 Install headers in $includedir/gio-standalone/
2763 * gio-2.0.pc.in: Added.
2764 * gio-standalone.pc.in: Removed.
2767 Renamed pkg-config file to match glib (for future move)
2768 Update to the new include dir
2771 Add more TODO comments
2773 2007-09-28 Alexander Larsson <alexl@redhat.com>
2775 * gio/gdesktopappinfo.[ch]:
2776 Expose new_from_filename
2777 Add getter for is_hidden and handle it better
2779 2007-09-28 Alexander Larsson <alexl@redhat.com>
2781 * gio/gfileinfo.[ch]:
2782 Rename g_file_size_format_for_display to
2783 g_format_file_size_for_display.
2784 Now it doesn't have the g_file prefix, so we
2785 can later move it to glib.
2787 2007-09-28 Alexander Larsson <alexl@redhat.com>
2789 * gio/gappinfo.[ch]:
2790 Add g_app_info_get_id and g_app_info_get_executable.
2791 Make all getters non-reffing
2792 Make g_app_info_launch take GFile arguments.
2793 Add must_support_uris argument to g_app_info_get_default_for_type.
2795 * gio/gwin32appinfo.c:
2796 Update to GAppInfo api changes
2798 * gio/gdesktopappinfo.c:
2799 Update to GAppInfo api changes
2800 Implement supports_xdg_startup_notify
2802 * gio/gfileicon.c (g_file_icon_get_file):
2803 Make getter non-reffing.
2808 2007-09-27 Alexander Larsson <alexl@redhat.com>
2810 * gio/gfileinfo.[ch]:
2811 Add g_file_size_format_for_display helper
2813 2007-09-27 Alexander Larsson <alexl@redhat.com>
2815 * gio/glocalfileinfo.c:
2816 Set UNIX_GID from gid, not from uid
2818 2007-09-27 Alexander Larsson <alexl@redhat.com>
2821 Add g_file_set_attributes_async
2823 2007-09-27 Alexander Larsson <alexl@redhat.com>
2825 * gio/glocalfile.c (g_local_file_set_display_name):
2826 Fix set_display_name to actually rename to the right place.
2827 Use lstat to look for existing files so we don't overwrite
2830 2007-09-26 Alexander Larsson <alexl@redhat.com>
2833 Add g_file_set_display_name_async()
2835 2007-09-26 Alexander Larsson <alexl@redhat.com>
2838 Add load_partial_contents async calls
2841 Make internal function static
2843 2007-09-26 Alexander Larsson <alexl@redhat.com>
2845 * gio/glocalfileinfo.c:
2846 Correctly detect broken symlinks
2848 2007-09-26 Alexander Larsson <alexl@redhat.com>
2850 * gio/gcancellable.c (g_cancellable_cancel):
2851 Allow cancel on NULL cancellable
2853 2007-09-25 Alexander Larsson <alexl@redhat.com>
2855 * gio/gsimpleasyncresult.c:
2856 Don't allocate g_error manually.
2857 Fixes g_slice/g_new mixup crash
2859 2007-09-25 Alexander Larsson <alexl@redhat.com>
2861 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2862 Actually set active_backend.
2863 This means the monitor will be cancelled correctly.
2865 2007-09-25 Alexander Larsson <alexl@redhat.com>
2867 * gio/gdirectorymonitor.c:
2868 Set timeout to NULL when destroying
2870 2007-09-25 Alexander Larsson <alexl@redhat.com>
2873 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2874 that is a better description of the error.
2876 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2878 * gio/gvfs.c: (g_vfs_get_local):
2879 Make the local vfs variable static. The same instance should
2882 2007-09-24 Alexander Larsson <alexl@redhat.com>
2884 * gio/glocalfileinfo.c:
2885 Pass in actual length read into sniffer, not the length
2888 2007-09-21 Alexander Larsson <alexl@redhat.com>
2890 * gio/gfileenumerator.c:
2893 * gio/gfileinputstream.c:
2894 * gio/gfileoutputstream.c:
2895 * gio/ginputstream.c:
2896 * gio/goutputstream.c:
2897 Don't crash if async callbacks are NULL
2899 2007-09-20 Alexander Larsson <alexl@redhat.com>
2902 Add async enumerate_children method and default
2905 2007-09-20 Alexander Larsson <alexl@redhat.com>
2908 Add g_file_contains_file & g_file_get_relative_path, since they
2909 were needed for nautilus.
2910 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2915 Implement new methods
2917 2007-09-17 Alexander Larsson <alexl@redhat.com>
2920 * gio/gfileinputstream.[ch]:
2921 * gio/gfileoutputstream.[ch]:
2923 * gio/glocalfileenumerator.[ch]:
2924 * gio/glocalfileinfo.[ch]:
2925 * gio/glocalfileinputstream.c:
2926 * gio/glocalfileoutputstream.c:
2927 * gio/gpollfilemonitor.c:
2928 * programs/gio-copy.c:
2929 * programs/gio-info.c:
2930 * programs/gio-move.c:
2931 Rename get_file_info to query_info() to make it clearer
2932 that these are not simple getters, but do i/o.
2934 2007-09-17 Alexander Larsson <alexl@redhat.com>
2936 * gio/gdatainputstream.[ch]:
2937 * gio/test-streams.c:
2938 Use _read_XXX instead of _get_XXX for the i/o calls
2941 2007-09-17 Alexander Larsson <alexl@redhat.com>
2944 Added needed stuff to TODO comment
2946 2007-09-17 Alexander Larsson <alexl@redhat.com>
2948 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2949 Don't error out removing the backup copy if it doesn't
2952 2007-09-14 Alexander Larsson <alexl@redhat.com>
2954 * programs/Makefile.am:
2955 * programs/gvfs-*.c:
2957 Renamed apps from gvfs-xxx to gio-xxx.
2959 2007-09-14 Alexander Larsson <alexl@redhat.com>
2962 * gio/gfileoutputstream.[ch]:
2963 * gio/glocalfileoutputstream.c:
2964 * programs/gvfs-save.c:
2965 g_file_output_stream_get_etag doesn't do i/o, so remove
2966 cancellation and error.
2968 2007-09-14 Alexander Larsson <alexl@redhat.com>
2971 Add new_etag output to replace_contents functions
2973 2007-09-14 Alexander Larsson <alexl@redhat.com>
2975 * gio/gfileoutputstream.[ch]:
2976 Add async get_file_info and default implementation
2978 2007-09-14 Alexander Larsson <alexl@redhat.com>
2980 * gio/gfileinputstream.c:
2981 Implement fallback wrapper for async get_file_info
2983 2007-09-14 Alexander Larsson <alexl@redhat.com>
2986 Add etag out argument to load_contents
2991 2007-09-14 Alexander Larsson <alexl@redhat.com>
2993 * gio/gcontenttype.c (looks_like_text):
2994 Whitespace like tab, cr and lf do not make the
2997 2007-09-14 Alexander Larsson <alexl@redhat.com>
2999 * gio/gfileinputstream.[ch]:
3000 Add async get_file_info.
3002 2007-09-13 Alexander Larsson <alexl@redhat.com>
3004 * gio/goutputstream.c (g_output_stream_write_all):
3005 Allow NULL for bytes_written
3007 2007-09-13 Alexander Larsson <alexl@redhat.com>
3009 * gio/gmemoryinputstream.[ch]:
3010 Add accessors for data
3012 2007-09-13 Alexander Larsson <alexl@redhat.com>
3014 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3015 Don't crash if length is NULL