1 2008-01-16 Alexander Larsson <alexl@redhat.com>
5 Add g_file_query_exists (#508771)
7 2008-01-15 Murray Cumming <murrayc@murrayc.com>
12 * gvolume.c: For async functions that have no non-async
13 version, document that the GAsyncReadyCallback may be NULL.
16 2008-01-15 Alexander Larsson <alexl@redhat.com>
18 * gmemoryinputstream.c:
19 * gmemoryoutputstream.c:
20 Don't do pointer arithmetic on void * (#508602)
21 Patch from Kazuki IWAMOTO
23 2008-01-14 Matthias Clasen <mclasen@redhat.com>
25 * === Released 2.15.2 ===
27 2008-01-14 Alexander Larsson <alexl@redhat.com>
29 * gfile.c (g_file_monitor_file):
30 Don't set error here, since we fallback to polling monitor.
32 2008-01-14 Alexander Larsson <alexl@redhat.com>
35 (g_file_monitor_directory):
36 (g_file_monitor_file):
37 Add GError to file monitor calls
39 * glocaldirectorymonitor.c:
40 * glocaldirectorymonitor.h:
42 * glocalfilemonitor.c:
43 * glocalfilemonitor.h:
45 Update for above change
47 2008-01-14 Alexander Larsson <alexl@redhat.com>
51 Handle root correctly in g_file_get_relative_path (#508719)
53 2008-01-14 Alexander Larsson <alexl@redhat.com>
56 Clean up docs and example for GAsyncResult (#508074)
58 2008-01-11 Murray Cumming <murrayc@murrayc.com>
60 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
61 and correct some spelling mistakes. Bug #508108.
63 2008-01-11 Matthias Clasen <mclasen@redhat.com>
65 * glocalfileinfo.c: Add a comment.
67 2008-01-10 Murray Cumming <murrayc@murrayc.com>
69 * gfileinfo.c: GFileInfo description: Mention
70 how to actually set attributes in a GFile and how to discover
71 which attributes are settable. Bug #508378.
73 2008-01-10 A. Walton <awalton@svn.gnome.org>
75 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
76 (g_app_info_get_default_for_type):
77 Check for NULL content types.
79 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
81 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
83 2008-01-09 Murray Cumming <murrayc@murrayc.com>
85 * gfile.c: *_async() functions: Several small corrections
86 to the documentation, mostly correcting copy/paste errors
87 and improving some sentences.
89 2008-01-09 Dan Winship <danw@gnome.org>
91 * glocalfile.c (get_unique_filename): x86_64 fix
93 2008-01-09 Alexander Larsson <alexl@redhat.com>
98 Add g_unix_mount_guess_should_display and use
99 for unix volume monitor backend.
100 This means we more or less show what the
101 gnome-vfs backend did.
102 Based on patch from Padraig O'Briain
104 2008-01-09 Alexander Larsson <alexl@redhat.com>
108 Add g_themed_icon_new_with_default_fallbacks
111 Use default fallbacks for icons
113 2008-01-09 Alexander Larsson <alexl@redhat.com>
116 * gmountoperation.[ch]:
117 Change the API a bit so that unhandled methods
118 get reported via the reply, rather than by
119 the signal emission return value. This is because
120 some handlers can't know this immediately without
121 doing I/O, and this is an async operation that
124 2008-01-09 Alexander Larsson <alexl@redhat.com>
127 * fam/gfamdirectorymonitor.c:
128 * fam/gfamfilemonitor.c:
129 Fix double free crash (#508224)
130 Patch from Joe Marcus Clarke
132 008-01-07 Matthias Clasen <mclasen@redhat.com>
134 * === Released 2.15.1 ===
136 2008-01-07 Alexander Larsson <alexl@redhat.com>
138 * gunixinputstream.c (g_unix_input_stream_skip_finish):
139 Fix warning (#507835)
141 2008-01-07 Alexander Larsson <alexl@redhat.com>
144 Pass --internal to glib-genmarshal
149 Use better types for signal arguments (#507822)
151 2008-01-07 Alexander Larsson <alexl@redhat.com>
154 Build test subdir after .
155 Remove gdirectorymonitor.[ch]
157 * gdirectorymonitor.[ch]:
161 Remove GDirectoryMonitor and make
162 GFileMonitor the baseclass for both file and
163 directory monitors. Lift the more generic
164 rate limiting code from GDirectoryMonitor
168 * fam/gfamdirectorymonitor.[ch]:
169 * inotify/ginotifydirectorymonitor.[ch]:
170 * inotify/inotify-helper.c:
171 * glocaldirectorymonitor.[ch]:
174 Update for the removed GDirectoryMonitor.
176 * gmemoryoutputstream.c:
177 Remove ununsed variable
179 2008-01-07 Alexander Larsson <alexl@redhat.com>
181 * gmemoryinputstream.c:
182 Translate error strings
185 * gmemoryoutputstream.[ch]:
186 New implementation that avoids using GByteArray
187 in implementation and API. (#506377)
189 2008-01-06 Matthias Clasen <mclasen@redhat.com>
191 * tests/*: Add a test for memory input streams.
193 * Makefile.am: Add tests to SUBDIRS.
195 2008-01-06 Matthias Clasen <mclasen@redhat.com>
197 * glocalfilemonitor.c:
198 * glocaldirectorymonitor.c: Mark property nicks and blurbs
201 2008-01-06 Matthias Clasen <mclasen@redhat.com>
203 * gdesktopappinfo.c: Fix a docs typo.
205 * gfileattribute.c: Add information about extended attributes
206 to the documentation. (#505058)
208 2008-01-04 Alexander Larsson <alexl@redhat.com>
212 Use the right type (uint) for the ask_password signal.
214 2008-01-04 Alexander Larsson <alexl@redhat.com>
219 Add g_app_info_supports_files()
220 Remove desktop arg from g_app_info_should_show().
222 * gdesktopappinfo.[ch]:
223 Implement g_app_info_supports_files() and new should_show()
224 Add g_desktop_app_info_set_desktop_env() to set the desktop
225 for should_show(). (This will be set by gtk+ later)
227 2008-01-04 Alexander Larsson <alexl@redhat.com>
230 * gmemoryinputstream.[ch]:
231 Improve API so that you can use multiple chunks
232 of memory and custom destroy functions. (#506374)
234 2008-01-03 Alexander Larsson <alexl@redhat.com>
237 Handle NULL attribute matchers safely, as we return this
238 for empty attribute matcher strings.
240 2008-01-03 Alexander Larsson <alexl@redhat.com>
242 * gunixmounts.c (g_unix_is_mount_path_system_internal):
243 Add /usr/local to list of internal mountpoints
245 2008-01-03 Alexander Larsson <alexl@redhat.com>
248 Check for HAVE_LCHOWN (#505887)
250 2008-01-03 Alexander Larsson <alexl@redhat.com>
254 Add define for selinux context attribute.
255 Fix missing : -> :: namespace separator change
256 Fix missing _ -> - name change for xattr-sys.
259 2008-01-03 Alexander Larsson <alexl@redhat.com>
262 Link to libglib and libgobject directly (#504879)
263 Patch from Sebastien Bacher
265 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
267 * gfile.c: Expanded the g_file_new_for_commandline_arg
268 description a bit, based on the code and the docs of the
269 other g_file_new_for_* functions.
271 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
273 * gfilemonitor.h: Fixed typo in docs.
275 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
277 Updates to GIO documentation. (#506395, Mikael Hermansson)
279 * gcontenttype.c: Describe memory management for return value of
280 g_content_types_get_registered(). Missing piece from #505815.
281 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
282 GVolume, GDrive, GMounts, which hopefully gives the user less
283 confusions when using this API. Following explainations from
284 Alexander Larsson on gtk-devel-list.
286 2007-12-30 Matthias Clasen <mclasen@redhat.com>
288 * gfileinfo.c: Expand the long description.
290 2007-12-30 Matthias Clasen <mclasen@redhat.com>
293 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
294 fix builds with --disable-visibility. (#500273, Christian Persch)
296 2007-12-30 Matthias Clasen <mclasen@redhat.com>
298 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
299 in the list of returned app infos.
301 2007-12-30 Matthias Clasen <mclasen@redhat.com>
303 * gappinfo.c: Fix a cross-reference
305 2007-12-30 Matthias Clasen <mclasen@redhat.com>
307 * gfileinputstream.c:
308 * gfileoutputstream.c:
314 * gfileinfo.c: Documentation updates.
316 2007-12-26 Matthias Clasen <mclasen@redhat.com>
318 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
321 2007-12-26 Matthias Clasen <mclasen@redhat.com>
323 * gcontenttype.c (g_content_types_get_registered): Don't return
324 freed memory (#505815, Mikael Hermansson)
326 2007-12-25 Paolo Borelli <pborelli@katamail.com>
328 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
329 used to detect statbuf->st_blocks. (#505042)
331 2007-12-24 Matthias Clasen <mclasen@redhat.com>
333 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
334 environment handling. (#504829, Cosimo Cecchi)
336 2007-12-22 Matthias Clasen <mclasen@redhat.com>
338 * gappinfo.c: Doc improvements
340 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
343 2007-12-20 Matthias Clasen <mclasen@redhat.com>
345 * === Released 2.15.0 ===
347 2007-12-20 Hans Breuer <hans@breuer.org>
349 * makefile.msc : don't build gdesktopappinfo.obj, it collides
350 with symbols gwin32appinfo.obj, added gmount.obj
351 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
353 2007-12-20 Alexander Larsson <alexl@redhat.com>
359 * gfilenamecompleter.c:
362 * gpollfilemonitor.c:
363 File attribute renames:
366 id::fs -> id::filesystem
368 2007-12-20 Alexander Larsson <alexl@redhat.com>
377 Add GMountUnmountFlags to all unmount and
379 Add g_mount_remount() call.
381 2007-12-20 Alexander Larsson <alexl@redhat.com>
383 * gvfs.c (get_default_vfs):
384 Fix unused variable warning
386 2007-12-19 Matthias Clasen <mclasen@redhat.com>
388 * pltcheck.sh: Update
390 2007-12-19 Matthias Clasen <mclasen@redhat.com>
392 * gunionvolumemonitor.c:
393 * gunixmount.c: Remove C99 comments
395 2007-12-19 Matthias Clasen <mclasen@redhat.com>
397 * gio.symbols: Add some missing symbols
399 2007-12-19 Alexander Larsson <alexl@redhat.com>
402 Make g_io_modules_load_all_in_directory not unuse
403 loaded modules so that users of it can do stuff
405 Init internal "module" types.
406 Initialize static prio and name for types so that
407 we don't have to load modules to get it.
409 * gnativevolumemonitor.h:
411 Move is_supported to parent class so that
412 non-native monitors can avoid being initialized
413 too. (For instance GDaemonVolumeMonitor if we're
414 not using GDaemonVfs.)
416 * glocaldirectorymonitor.[ch]:
417 * glocalfilemonitor.[ch]:
418 * gunionvolumemonitor.c:
419 * gunixvolumemonitor.c:
421 Find plugins using the static prio+name to
422 avoid unnecessarily loading the modules.
424 2007-12-19 Alexander Larsson <alexl@redhat.com>
429 2007-12-19 Alexander Larsson <alexl@redhat.com>
431 * gunionvolumemonitor.c:
432 Store the native type as GType, not class so that
433 we can unload it. But still avoid unnecessarily
436 2007-12-19 David Zeuthen <davidz@redhat.com>
438 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
439 add signals 'disconnected' and 'eject-button' on GDrive. Add
440 signal 'removed' on GVolume and 'unmounted' on GMount.
442 * gdrive.c: (g_drive_base_init):
444 * gfile.c: (g_file_mount_mountable),
445 (g_file_mount_enclosing_volume):
448 * gmount.c: (g_mount_base_init):
450 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
451 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
452 * gvolume.c: (g_volume_base_init), (g_volume_mount):
456 2007-12-17 Matthias Clasen <mclasen@redhat.com>
458 * *.c: Fix up includes in the section docs.
460 2007-12-17 Alexander Larsson <alexl@redhat.com>
462 * gnativevolumemonitor.h:
463 * gunionvolumemonitor.c:
464 * gunixvolumemonitor.c:
465 Add is_supported() to GNativeVolumeMonitorClass so
466 that we can avoid having to create an object to see
467 if the backend is supported at runtime.
468 Also add name member and an env var to pick a specific
469 volume monitor backend.
473 Add cancellable to _g_mount_get_for_mount_path()
475 * glocaldirectorymonitor.c:
476 * glocalfilemonitor.c:
477 Avoid loading and unloading modules while sorting.
479 2007-12-17 Matthias Clasen <mclasen@redhat.com>
482 * gunixmounts.[hc]: Namespace waste reduction, move some
483 g_get_unix_mount functions to the g_unix_mount namespace.
486 * gunixvolumemonitor.c:
488 * glocaldirectorymonitor.c: Update all callers.
490 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
492 2007-12-17 Alexander Larsson <alexl@redhat.com>
495 Add doc comments about what GFile operations are
496 guaranteed to not block.
498 2007-12-17 Alexander Larsson <alexl@redhat.com>
501 Add missing #ifdef fixing OSX build.
502 (#503334, patch from Richard Hult)
504 2007-12-14 David Zeuthen <davidz@redhat.com>
508 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
509 (g_mount_eject), (g_mount_eject_finish):
511 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
512 (get_volume_for_uuid), (get_mount_for_uuid),
513 (g_union_volume_monitor_class_init),
514 (get_default_native_type_with_exclude), (get_default_native_type),
515 (get_native_type), (update_native_type),
516 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
517 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
518 (g_unix_mount_can_eject), (eject_unmount_cb),
519 (eject_unmount_read_error), (eject_unmount_do),
520 (g_unix_mount_unmount), (g_unix_mount_eject),
521 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
522 * gunixmounts.c: (g_unix_mount_guess_can_eject),
523 (g_unix_mount_point_guess_can_eject):
525 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
526 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
527 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
528 (g_unix_volume_mount), (g_unix_volume_eject),
529 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
530 * gunixvolumemonitor.c: (get_volume_for_uuid),
531 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
533 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
534 (g_volume_eject), (g_volume_eject_finish):
536 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
537 (g_volume_monitor_get_mount_for_uuid):
540 Provide eject() on both GMount and GVolume and utility functions
541 to guess whether a GUnixMountPoint or GUnixMountEntry should be
542 ejected. Introduce the concept of UUID's and wire it into GVolume
543 and GMount and provide API on GVolumeMonitor to find such
544 instances. Also handle the case where an external
545 GNativeVolumeMonitor fails to initialize. Lock around the
546 _g_get_mount_for_mount_path() function such that volume monitor
547 implementations won't have to do locking themselves.
549 2007-12-17 Matthias Clasen <mclasen@redhat.com>
557 * gvolume.h: Documentation updates
559 2007-12-14 Matthias Clasen <mclasen@redhat.com>
562 * gfile.h: Doc updates
564 2007-12-14 Matthias Clasen <mclasen@redhat.com>
567 * gdesktopappinfo.c: Use hash table iterators.
569 2007-12-14 Alexander Larsson <alexl@redhat.com>
572 * gfileattribute.[ch]:
573 * gfileattribute-priv.h:
574 Move GFileAttributeValue to a private header, as
578 Make set_attribute take a type + a pointer instead
579 of a GFileAttributeValue.
582 Fix up for above changes.
583 Add g_file_info_get_attribute_data to get
584 all info in one call, g_file_info_get_attribute_status
585 to get the status and g_file_info_get_attribute_as_string.
589 * glocalfileinfo.[ch]:
593 Make _guess_type static.
595 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
598 * inotify/Makefile.am: Fixed build when srcdir != builddir,
599 made mkenums and friends use temporary files to avoid leaving
600 empty generated files on failure (#503470).
602 2007-12-14 Alexander Larsson <alexl@redhat.com>
607 2007-12-14 Alexander Larsson <alexl@redhat.com>
611 * gfileattribute.[ch]:
614 * glocalfileoutputstream.c:
615 * gmountoperation.[ch]:
616 * goutputstream.[ch]:
617 Clean up all flags enums to not have _FLAGS in them
618 Make the names of some of the enums better.
623 2007-12-14 Michael Natterer <mitch@imendio.com>
625 * gio.symbols: fix g_io_scheduler symbol names.
627 2007-12-14 Alexander Larsson <alexl@redhat.com>
633 * gbufferedinputstream.h:
634 * gbufferedoutputstream.h:
637 * gdatainputstream.h:
638 * gdataoutputstream.h:
640 * gdirectorymonitor.h:
647 * gfileinputstream.h:
649 * gfilenamecompleter.h:
650 * gfileoutputstream.h:
651 * gfilterinputstream.h:
652 * gfilteroutputstream.h:
660 * gmemoryinputstream.h:
661 * gmemoryoutputstream.h:
666 * gsimpleasyncresult.h:
668 * gunixinputstream.h:
670 * gunixoutputstream.h:
674 * inotify/Makefile.am:
675 Only allow including <gio/gio.h> from apps
677 2007-12-14 Alexander Larsson <alexl@redhat.com>
680 * gsimpleasyncresult.c:
681 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
682 Split out the send_to_mainloop call into two versions instead
683 of having the block argument.
685 2007-12-13 Alexander Larsson <alexl@redhat.com>
689 * gbufferedinputstream.c:
691 * gfileinputstream.c:
692 * gfileoutputstream.c:
696 g_push/pop_current_cancellable ->
697 g_cancellable_push/pop_current
699 2007-12-13 Alexander Larsson <alexl@redhat.com>
703 Rename g_mount_for_location to g_file_mount_enclosing_volume.
705 2007-12-13 Alexander Larsson <alexl@redhat.com>
708 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
710 2007-12-12 Alexander Larsson <alexl@redhat.com>
713 Fix race condition when freeing proxy in
714 g_io_job_send_to_mainloop().
716 2007-12-12 Alexander Larsson <alexl@redhat.com>
722 Make attribute namespace separator "::" instead of ":".
723 Use - instead of _ as separator in attribute names.
725 2007-12-12 Alexander Larsson <alexl@redhat.com>
727 * gbufferedinputstream.h:
728 * gbufferedoutputstream.h:
729 * gdatainputstream.h:
730 * gdataoutputstream.h:
731 * gdirectorymonitor.h:
733 * gfileinputstream.h:
735 * gfileoutputstream.h:
736 * gfilterinputstream.h:
737 * gfilteroutputstream.h:
739 * glocalfileinputstream.h:
740 * glocalfileoutputstream.h:
741 * gmemoryinputstream.h:
742 * gmemoryoutputstream.h:
743 * gnativevolumemonitor.h:
745 * gunixinputstream.h:
746 * gunixoutputstream.h:
749 s/parent/parent_instance/ in GObjects
751 2007-12-12 Alexander Larsson <alexl@redhat.com>
756 No need for padding for interfaces
758 2007-12-12 Alexander Larsson <alexl@redhat.com>
762 * gbufferedinputstream.c:
763 * gbufferedoutputstream.c:
766 * gdatainputstream.[ch]:
768 * gdirectorymonitor.c:
770 * gfileattribute.[ch]:
773 * gfileinputstream.h:
775 * gfileoutputstream.[ch]:
776 * gfilterinputstream.h:
777 * gfilteroutputstream.h:
780 * gloadableicon.[ch]:
781 * gmemoryinputstream.c:
784 Fix up a bunch of details in the docs.
789 2007-12-11 David Zeuthen <davidz@redhat.com>
791 Rework how volumes, drives and volume monitoring is
792 done. Previosly the model was
796 where a GDrive instance represented a mount point and a GVolume
797 instance represented a mounted file system. This patch changes it
800 GDrive <1-N> GVolume <1-1> GMount
802 where GMount now serves the purpose of the old GVolume and the new
803 GVolume serves the purpose of the old GDrive. In addition the new
804 GDrive interface is used to represent a collection of GVolume
805 instances (typically partitions) and also contains utility to query
806 the state of the physical drive the GDrive object represents (such
807 as checking for media, polling the drive, ejecting the media etc.).
809 Also implement mounting and unmounting in the Unix volume monitor
810 backend. A subquent patch will introduce GDrive support for ejection
814 * gdrive.c: (g_drive_is_media_check_automatic),
815 (g_drive_is_media_removable), (g_drive_has_media),
816 (g_drive_can_poll_for_media), (g_drive_eject),
817 (g_drive_eject_finish), (g_drive_poll_for_media),
818 (g_drive_poll_for_media_finish):
820 * gfile.c: (g_file_find_enclosing_mount):
823 * glocaldirectorymonitor.c:
824 (g_local_directory_monitor_constructor), (mounts_changed):
825 * glocalfile.c: (get_mount_info),
826 (g_local_file_find_enclosing_mount),
827 (g_local_file_file_iface_init):
828 * gnativevolumemonitor.h:
829 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
830 (get_connected_drives), (g_union_volume_monitor_class_init),
831 (child_volume_added), (child_volume_removed),
832 (child_volume_changed), (child_mount_added), (child_mount_removed),
833 (child_mount_pre_unmount), (child_mount_changed),
834 (child_drive_changed), (g_union_volume_monitor_add_monitor),
835 (g_union_volume_monitor_remove_monitor),
836 (_g_mount_get_for_mount_path):
837 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
838 (guess_system_internal), (_g_get_unix_mounts),
839 (_g_get_unix_mount_points), (g_get_unix_mount_at),
840 (g_unix_mount_free), (g_unix_mount_compare),
841 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
842 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
843 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
844 (type_to_icon), (g_unix_mount_guess_name),
845 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
846 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
847 (_resolve_symlink), (_resolve_dev_root):
849 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
850 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
851 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
852 (g_unix_volume_get_name), (g_unix_volume_can_mount),
853 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
854 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
855 (g_unix_volume_mount), (g_unix_volume_mount_finish),
856 (g_unix_volume_volume_iface_init):
858 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
859 (get_mounts), (get_volumes), (get_connected_drives),
860 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
861 (mountpoints_changed), (mounts_changed),
862 (g_unix_volume_monitor_init),
863 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
864 (find_mount_by_mountpath), (update_volumes), (update_mounts):
865 * gunixvolumemonitor.h:
866 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
867 (g_volume_mount), (g_volume_mount_finish):
869 * gvolumemonitor.c: (g_volume_monitor_class_init),
870 (g_volume_monitor_get_connected_drives),
871 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
874 2007-12-10 Matthias Clasen <mclasen@redhat.com>
876 * gmountoperation.h (GPasswordFlags): Close the gap
878 2007-12-10 Matthias Clasen <mclasen@redhat.com>
880 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
882 * gdesktopappinfo.[hc]: Remove _-prefixes
884 2007-12-10 Tor Lillqvist <tml@novell.com>
886 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
889 2007-12-10 Alexander Larsson <alexl@redhat.com>
891 * gfile.c (g_file_set_display_name):
892 Don't hardcode '/' (#502727)
894 2007-12-09 Hans Breuer <hans@breuer.org>
896 * makefile.msc : follow lib naming convention
897 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
898 for user and group name, tested with ../tests/gio-ls
900 2007-12-09 A. Walton <awalton@svn.gnome.org>
913 * gmemoryinputstream.c:
914 * gmemoryoutputstream.c:
916 * gsimpleasyncresult.c:
917 More documentation cleanup and filling in missing information, bringing
918 GIO to 99% symbol coverage.
920 2007-12-08 Hans Breuer <hans@breuer.org>
922 [gio compiles and links on win32, not sure how much already works]
923 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
924 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
925 base on win32 API; prefer g_lstat() over lstat(); instead of
926 localtime_r() use an all GLib implementation on win32;
927 get_mount_info() still needs a win32 specifc implementation
928 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
929 win32_get_file_user_info to get owner/group info without uid/gid
930 * glocalfileinputstream.c : include <io.h> on win32
931 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
932 definition, use g_win32_ftruncate() for G_OS_WIN32
933 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
934 it is available with mingw/w32api but a mess with the M$ Platform SDKs
935 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
936 * makefile.msc : updated
938 2007-12-07 Alexander Larsson <alexl@redhat.com>
940 * glocalfileenumerator.c (_g_local_file_enumerator_new):
941 Avoid warning spew if error == NULL
943 2007-12-07 Alexander Larsson <alexl@redhat.com>
946 Update docs wrt etags
948 2007-12-06 Alexander Larsson <alexl@redhat.com>
951 Include sys/types.h for dev_t (#501919)
953 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
957 Make abicheck and pltcheck pass.
959 2007-12-05 Alexander Larsson <alexl@redhat.com>
962 * giomodule-priv.h: Added.
963 * glocaldirectorymonitor.c:
964 * glocalfilemonitor.c:
965 * gunionvolumemonitor.c:
967 Actually add the declaration of _g_io_modules_ensure_loaded
969 2007-12-05 Alexander Larsson <alexl@redhat.com>
971 * gdatainputstream.c:
976 * glocaldirectorymonitor.c:
977 * glocalfilemonitor.c:
978 * gunionvolumemonitor.c:
980 Make g_io_modules_ensure_loaded a private function and
981 don't pass in the dirname. This means we can do magic
982 directory finding in the win32 version.
983 Export the actual load-modules-in-directory code so that
986 2007-12-05 Alexander Larsson <alexl@redhat.com>
988 * gbufferedinputstream.c:
989 * gbufferedoutputstream.c:
992 * gfileenumerator.[ch]:
993 * gfileinputstream.c:
994 * gfileoutputstream.[ch]:
995 * gfilterinputstream.c:
996 * gfilteroutputstream.c:
999 * glocalfileenumerator.c:
1000 * glocalfileinputstream.c:
1001 * glocalfileoutputstream.c:
1002 * gmemoryinputstream.c:
1003 * gmemoryoutputstream.c:
1004 * goutputstream.[ch]:
1007 * gunixinputstream.c:
1008 * gunixoutputstream.c:
1009 Rename all struct members named:
1010 read, write, close, truncate, or mount
1011 to foo_fn, as these are reserved names
1012 and could be defined as macros in libc.
1015 2007-12-04 Alexander Larsson <alexl@redhat.com>
1018 (g_output_stream_close):
1019 Only call flush if non-null.
1021 2007-11-30 Dan Winship <danw@gnome.org>
1023 * ginputstream.c (g_input_stream_set_pending): Make this take a
1024 GError and return a gboolean, and do the "outstanding operation"
1025 check (and the "stream is already closed" check) itself.
1026 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1028 * goutputstream.c (g_output_stream_set_pending)
1029 (g_output_stream_clear_pending): Likewise
1031 * gbufferedinputstream.c:
1032 * gfileinputstream.c:
1033 * gfileoutputstream.c: Update for that
1035 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1036 Like g_simple_async_report_error_in_idle, but takes a GError
1037 rather than building one.
1039 2007-11-30 Dan Winship <danw@gnome.org>
1041 * goutputstream.c: Don't cheat and unset the "pending" flag around
1042 inner calls. Instead, call the class method directly rather than
1043 the wrapper function that checks "pending"
1045 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1047 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1049 2007-12-03 Hans Breuer <hans@breuer.org>
1051 [start of port to win32/msvc]
1052 * gcancellable.c : HAVE_UNIST_H and _pipe()
1053 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1054 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1055 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1057 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1058 * glocalvfs.c : use HAVE_PWD_H
1059 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1060 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1061 * Makefile.am : added to EXTRA_DIST
1063 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1065 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1068 2007-12-03 Alexander Larsson <alexl@redhat.com>
1071 Handle OSX style xattrs API (#500506)
1073 2007-12-03 Alexander Larsson <alexl@redhat.com>
1077 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1079 2007-12-02 A. Walton <awalton@svn.gnome.org>
1083 Documentation accuracy fixes.
1085 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1087 * gioenumtypes.c.template: Fix typo.
1089 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1091 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1093 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1095 * gdirectorymonitor.c:
1096 * gfilemonitor.c: Add properties
1098 * gbufferedoutputstream.c: Don't mark buffer-size property
1101 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1103 * gbufferedoutputstream.c: Add auto-grow property.
1105 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1107 * *.c: Unify the capitalization of section headings.
1109 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1111 * gmountoperation.c: Add properties
1113 * gdatainputstream.c: Turn byte-order and newline-type into
1116 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1118 * gioenumtypes.[hc].template: Templates for enum registration
1120 * Makefile.am: Generate gioenumtypes.[hc]
1122 * gio.h: Include gioenumtypes.h
1124 * gfile.h: Add some explicit nicks.
1126 * gio.symbols: Add new symbols
1128 * pltcheck.sh: Adjust
1130 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1132 * *.c: Explain etags and link to the explanation
1134 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1136 * *.c: Explain I/O priority.
1138 * *.c: More coding style fixes.
1140 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1142 * gasyncresult.c: Add another paragraph to the intro,
1143 adjust coding style of example.
1145 2007-11-29 A. Walton <awalton@svn.gnome.org>
1148 Fixes unknown meaning in GAppLaunchContext docs.
1150 Clarify asynchronous ops.
1152 Fix entity tag docs.
1155 Provides missing gtk-doc section, fixes API docs slighly.
1156 * gsimpleasyncresult.c:
1157 Fill in missing info in docs.
1158 * gunixinputstream.c:
1159 * gunixoutputstream.c:
1160 Be more expressive in short description.
1162 Remove gtk-doc stubs for non-public API.
1164 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1166 * *.c: Coding style fixups
1168 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1170 * inotify/inotify-helper.c: Don't export the lock from libgio.
1172 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1175 * abicheck.sh: Fix copy-and-paste leftovers
1177 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1179 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1181 2007-11-28 Alexander Larsson <alexl@redhat.com>
1185 Removed unnecessary file
1187 * gdesktopappinfo.[ch]:
1190 * glocaldirectorymonitor.[ch]:
1192 * glocalfileenumerator.[ch]:
1193 * glocalfileinputstream.[ch]:
1194 * glocalfilemonitor.[ch]:
1195 * glocalfileoutputstream.[ch]:
1197 * gnativevolumemonitor.c:
1198 * gpollfilemonitor.[ch]:
1199 * gunionvolumemonitor.[ch]:
1202 * gunixvolumemonitor.[ch]:
1205 * inotify/ginotifydirectorymonitor.[ch]:
1206 * inotify/ginotifyfilemonitor.[ch]:
1207 * inotify/inotify-helper.c:
1208 Append _ to all internal functions
1212 Export symbols needed for modules
1214 2007-11-28 Alexander Larsson <alexl@redhat.com>
1217 * abicheck.sh: Added.
1218 * makegioalias.pl: Added.
1219 * pltcheck.sh: Added.
1220 * gio.symbols: Added.
1223 Initial work on adding symbol handling.
1226 Correct ifdef guard name
1229 * inotify/Makefile.am:
1230 * xdgmime/Makefile.am:
1231 Include toplevel Makefile.decl
1233 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1235 * gcontenttype.c: Move doc comments to the unix section.
1237 * *.[hc]: More trivial doc corrections.
1239 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1241 * gpollfilemonitor.c:
1245 * gdesktopappinfo.c:
1250 * gdatainputstream.c:
1251 * gdatainputstream.h:
1252 * gdataoutputstream.c:
1253 * gdataoutputstream.h:
1254 * gfileinfo.h: Doc cleanups
1256 2007-11-28 Andre Klapper <a9016009@gmx.de>
1258 * gdesktopappinfo.c: Fix a typo.
1260 2007-11-27 Andre Klapper <a9016009@gmx.de>
1262 * glocalfileoutputstream.c: Fix a typo.
1264 2007-11-27 Alexander Larsson <alexl@redhat.com>
1267 Don't include removed headers
1269 2007-11-27 Alexander Larsson <alexl@redhat.com>
1272 * gsocketinputstream.[ch]: Removed.
1273 * gsocketoutputstream.[ch]: Removed.
1274 * gunixinputstream.[ch]: Added.
1275 * gunixoutputstream.[ch]: Added.
1276 Renamed GSocket*Stream to GUnix*Stream and made
1277 it unix-only, since its not really only for sockets
1278 and it only works on unix (but is highly useful there).
1280 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1286 * gbufferedinputstream.c:
1287 * gbufferedinputstream.h:
1288 * gbufferedoutputstream.c:
1289 * gbufferedoutputstream.h:
1293 * gdatainputstream.c:
1294 * gdatainputstream.h:
1295 * gdataoutputstream.c:
1296 * gdataoutputstream.h:
1297 * gdirectorymonitor.c:
1298 * gdirectorymonitor.h:
1305 * gfileenumerator.c:
1306 * gfileenumerator.h:
1311 * gfileinputstream.c:
1312 * gfileinputstream.h:
1315 * gfilenamecompleter.c:
1316 * gfilenamecompleter.h:
1317 * gfileoutputstream.c:
1318 * gfileoutputstream.h:
1319 * gfilterinputstream.c:
1320 * gfilterinputstream.h:
1321 * gfilteroutputstream.c:
1322 * gfilteroutputstream.h:
1335 * glocalfileoutputstream.c:
1336 * gmemoryinputstream.c:
1337 * gmemoryinputstream.h:
1338 * gmemoryoutputstream.c:
1339 * gmemoryoutputstream.h:
1340 * gmountoperation.c:
1341 * gmountoperation.h:
1344 * gpollfilemonitor.c:
1347 * gsimpleasyncresult.c:
1348 * gsimpleasyncresult.h:
1349 * gsocketinputstream.c:
1350 * gsocketinputstream.h:
1351 * gsocketoutputstream.c:
1352 * gsocketoutputstream.h:
1359 * gunixvolumemonitor.c:
1368 Bumps documentation to 93% symbol coverage, touching most
1369 of the public files. Fixes broken function documentation prototypes.
1370 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1371 gtk-doc headers in private files.
1373 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1375 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1376 (g_buffered_input_stream_read_byte):
1377 * gbufferedinputstream.h:
1378 New functions for efficient access to buffer and simple single byte
1381 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1382 (g_data_input_stream_read_until):
1383 * gdatainputstream.h:
1384 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1385 read_until with multiple stop chars.
1387 2007-11-27 Alexander Larsson <alexl@redhat.com>
1391 * inotify/Makefile.am:
1392 Use the user-specified giomoduledir
1394 2007-11-27 Alexander Larsson <alexl@redhat.com>
1398 Add catch-all gio.h header
1399 Don't install gdummyfile.h
1401 2007-11-26 Alexander Larsson <alexl@redhat.com>
1403 * Makefile.am (gioinclude_HEADERS):
1404 Remove trailing whitespace
1406 2007-11-26 Alexander Larsson <alexl@redhat.com>
1408 Merge gio-standalone into glib
1410 2007-11-25 Christian Kellner <gicmo@gnome.org>
1412 * gio/goutputstream.c:
1413 Fix small mistake in the docs.
1415 2007-11-21 Christian Persch <chpe@gnome.org>
1417 * gio/glocalfile.c: (g_local_file_trash):
1418 Convert filenames to UTF-8 for GError.
1419 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1420 as per xdg base dir spec.
1422 2007-11-21 Christian Persch <chpe@gnome.org>
1424 * gio/gdesktopappinfo.c:
1425 Use that g_key_file_to_data cannot fail.
1427 Use stock defines for the key file group and key names.
1430 2007-11-21 Alexander Larsson <alexl@redhat.com>
1433 (copy_stream_with_progress):
1434 Make sure we do a final progress callback with
1435 the full total size.
1437 2007-11-21 Alexander Larsson <alexl@redhat.com>
1440 Export g_file_copy_attributes
1441 Remove padding as its not needed for interfaces
1443 2007-11-20 Alexander Larsson <alexl@redhat.com>
1448 Add G_IO_ERROR_WOULD_MERGE for
1449 copy/move dir on dir with overwrite.
1451 2007-11-20 Alexander Larsson <alexl@redhat.com>
1454 * gio/glocalfileinfo.c:
1455 Add COPY_NAME (this is an optional
1456 non-modified utf8 version of the name) that
1459 2007-11-20 Alexander Larsson <alexl@redhat.com>
1461 * gio/glocalfileenumerator.c:
1462 Report errors as GIOError, not GFileError
1464 2007-11-16 Alexander Larsson <alexl@redhat.com>
1466 * gio/glocalfileoutputstream.c:
1467 * gio/gwin32appinfo.c:
1468 Fix typos in strings.
1469 Patch from Luca Ferretti <elle.uca@libero.it>
1471 2007-11-15 Alexander Larsson <alexl@redhat.com>
1474 Post release version bump
1476 === gio-standalone 0.1.2 ===
1478 2007-11-15 Alexander Larsson <alexl@redhat.com>
1480 * docs/reference/gio/Makefile.am:
1481 Fix up distcheck by removing weird
1487 2007-11-14 Alexander Larsson <alexl@redhat.com>
1489 * gio/gdesktopappinfo.c:
1490 * gio/glocaldirectorymonitor.c:
1492 * gio/glocalfileinfo.c:
1493 * gio/inotify/inotify-sub.c:
1494 * programs/gio-cat.c:
1495 * programs/gio-copy.c:
1496 * programs/gio-info.c:
1497 * programs/gio-ls.c:
1498 * programs/gio-monitor-dir.c:
1499 * programs/gio-monitor-file.c:
1500 * programs/gio-mount.c:
1501 * programs/gio-move.c:
1502 * programs/gio-rm.c:
1503 * programs/gio-save.c:
1504 * programs/gio-trash.c:
1505 Leak fixes from Kjartan Maraas
1507 2007-11-14 Alexander Larsson <alexl@redhat.com>
1509 * gio/fam/fam-helper.c:
1511 * gio/glocalfileinfo.c:
1515 * gio/inotify/inotify-diag.c:
1516 * gio/inotify/inotify-kernel.c:
1517 Various code cleanups from Kjartan Maraas
1519 2007-11-14 Alexander Larsson <alexl@redhat.com>
1521 * gio/gioscheduler.c:
1523 Set up threadpool so that we cache 2 unused
1524 idle threads for at 15 secs. This means we
1525 will reuse thread-local data (like dbus connections)
1528 2007-11-14 Alexander Larsson <alexl@redhat.com>
1530 * gio/fam/fam-helper.c:
1531 * gio/fam/gfamdirectorymonitor.c:
1532 * gio/fam/gfamfilemonitor.c:
1534 * gio/gcontenttype.c:
1535 * gio/gdatainputstream.c:
1536 * gio/gdataoutputstream.c:
1540 * gio/gfileattribute.h:
1541 * gio/gfileenumerator.c:
1543 * gio/ginputstream.c:
1546 * gio/glocalfileinfo.c:
1547 * gio/goutputstream.c:
1548 * gio/gpollfilemonitor.c:
1549 * gio/gsimpleasyncresult.c:
1550 * gio/gunixmounts.c:
1551 * gio/gunixmounts.h:
1552 * gio/inotify/ginotifydirectorymonitor.c:
1553 * gio/inotify/ginotifyfilemonitor.c:
1554 * gio/inotify/inotify-diag.c:
1555 * gio/inotify/inotify-kernel.c:
1556 * gio/inotify/inotify-path.c:
1558 * gio/test-streams.c:
1559 * programs/gio-info.c:
1560 * programs/gio-monitor-dir.c:
1561 * programs/gio-monitor-file.c:
1562 Various code cleanups from Kjartan Maraas
1564 2007-11-13 Alexander Larsson <alexl@redhat.com>
1567 Handle the uri-scheme calls for dummy files
1569 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1571 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1572 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1573 to avoid clash with the C++ keyword.
1575 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1577 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1578 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1580 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1582 * gio/glocaldirectorymonitor.c:
1583 * gio/glocalfilemonitor.c:
1584 * gio/gunionvolumemonitor.c:
1585 Don't use g_once_init_*() for initializations that could fail and
1586 could leave the initialization variable set to 0 but use GOnce.
1587 This prevents a deadlock on the second call when trying to create
1588 a monitor and no monitor type is available. Thanks to Sven Herzberg
1591 2007-11-11 Sven Herzberg <sven@imendio.com>
1593 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1594 #ifdef (make it work on MacOS X again)
1596 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1598 Fixes Changelog for last two commits (sorry guys).
1600 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1602 * gio/gbufferedinputstream.c:
1603 * gio/gdatainputstream.c:
1605 * gio/gfileoutputstream.c:
1606 * gio/gfilterinputstream.c:
1607 * gio/glocalfileinputstream.c:
1610 More consistency fixes in g*stream.c files.
1611 Significant clean of gfile's documentation, filling in of
1612 asynchronous operations documentation.
1614 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1616 * gio/gasyncresult.c:
1617 * gio/gbufferedinputstream.c:
1618 * gio/gbufferedoutputstream.c:
1619 * gio/gcancellable.c:
1620 * gio/gcontenttype.c:
1621 * gio/gdatainputstream.c:
1622 * gio/gdataoutputstream.c:
1623 * gio/gdesktopappinfo.c:
1626 * gio/gfileattribute.c:
1627 * gio/gio/gfileenumerator.c:
1629 * gio/gfileinputstream.c:
1630 * gio/gfilemonitor.c:
1631 * gio/gfileoutputstream.c:
1632 * gio/ginputstream.c:
1634 * gio/gioscheduler.c:
1635 * gio/gloadableicon.c:
1636 * gio/glocalfileoutputstream.c:
1637 * gio/gmemoryoutputstream.c:
1638 * gio/gmountoperation.c:
1639 * gio/goutputstream.c:
1641 * gio/gsimpleasyncresult.c:
1642 * gio/gunionvolumemonitor.c:
1643 * gio/gunixmounts.c:
1644 * gio/gunixvolume.c:
1648 * gio/gvolumemonitor.c:
1649 Updated documentation stubs, working towards consistency and
1652 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1654 * gio/gmemoryoutputstream.c:
1655 * gio/gmemoryoutputstream.h:
1656 Change g_memory_output_stream_set_free_on_close() to
1657 g_memory_output_stream_set_free_data() as this makes more sense and
1658 is more consistent with GMemoryInputStream.
1660 2007-11-07 Alexander Larsson <alexl@redhat.com>
1667 Change how we find the default vfs so that
1668 we can handle a gvfs failing to init
1670 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1672 * gio/gbufferedoutputstream.c:
1673 * gio/gdatainputstream.c:
1674 * gio/gdataoutputstream.c:
1675 * gio/gfileinputstream.c:
1676 * gio/gfileoutputstream.c:
1677 * gio/gfilterinputstream.c:
1678 * gio/gfilteroutputstream.c:
1679 * gio/ginputstream.c:
1680 * gio/gmemoryinputstream.c:
1681 * gio/gmemoryoutputstream.c:
1682 * gio/goutputstream.c:
1683 * gio/gsimpleasyncresult.c:
1684 * gio/gsocketinputstream.c:
1685 * gio/gsocketoutputstream.c:
1686 Add guards to the remaining public functions, add a TODO for
1687 an unimplemented function and remove some useless guards.
1689 2007-11-07 Alexander Larsson <alexl@redhat.com>
1692 Autoconf checks for the various types of
1693 getpwuid_r and getgrgid_r
1695 * gio/glocalfileinfo.c:
1696 Use the autoconf checks from above
1698 2007-11-07 Alexander Larsson <alexl@redhat.com>
1701 (g_local_file_query_filesystem_info):
1702 Some fixes for the statvfs case
1704 2007-11-07 Alexander Larsson <alexl@redhat.com>
1707 (g_local_file_query_filesystem_info):
1708 Pick the "best" of statfs / statvfs for the system
1709 if both are availible.
1711 2007-11-07 Alexander Larsson <alexl@redhat.com>
1713 Solaris fixes from Halton.Huo@Sun.COM:
1720 * gio/glocalfileinfo.c:
1721 Fix for solaris definition of getpwuid_r
1723 * gio/test-streams.c:
1724 Use G_GNUC_PRETTY_FUNCTION
1726 2007-11-07 Alexander Larsson <alexl@redhat.com>
1728 * gio/gdesktopappinfo.c:
1729 (update_default_list):
1730 Remove double semicolon.
1731 Patch from Jens Granseuer
1733 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1735 * docs/reference/gio/gio-sections.txt:
1736 * gio/gbufferedinputstream.c:
1737 * gio/gbufferedinputstream.h:
1738 * gio/gdatainputstream.c:
1739 * gio/gfileenumerator.c:
1740 * gio/gioscheduler.c:
1741 * gio/gunionvolumemonitor.c:
1743 * programs/gio-save.c:
1744 Fix typo: availible -> available. Unfortuntely this breaks API
1745 and ABI as g_buffered_input_stream_get_available() was renamed.
1747 * gio/gunixmounts.c:
1748 * gio/gbufferedinputstream.c:
1749 Add guards for public functions.
1751 2007-11-06 Ross Burton <ross@openedhand.com>
1753 * docs/reference/gio/Makefile.am:
1754 Fix invalid += usage which automake 1.10 doesn't like.
1756 2007-11-06 Alexander Larsson <alexl@redhat.com>
1759 (g_app_launch_context_class_init):
1762 Patch from Ross Burton
1764 2007-11-06 Alexander Larsson <alexl@redhat.com>
1767 Post release version bump
1769 === gio-standalone 0.1.1 ===
1771 2007-11-06 Alexander Larsson <alexl@redhat.com>
1774 Bump version to 0.1.1
1776 * gio/gsimpleasyncresult.c:
1777 (g_simple_async_result_set_from_error):
1778 Remove bogus g_return_if_fail
1780 2007-11-06 Alexander Larsson <alexl@redhat.com>
1783 The name is gio-standalone
1786 Add top src/builddir to includedir
1788 2007-11-06 Alexander Larsson <alexl@redhat.com>
1790 * docs/reference/gio/gio-sections.txt:
1792 * gio/gbufferedinputstream.c:
1793 * gio/gbufferedoutputstream.c:
1794 * gio/gcancellable.c:
1795 * gio/gdatainputstream.h:
1796 * gio/gdataoutputstream.c:
1797 * gio/gdataoutputstream.h:
1798 * gio/gdirectorymonitor.c:
1800 * gio/gfileattribute.c:
1801 * gio/gfileattribute.h:
1802 * gio/gfileenumerator.c:
1803 * gio/gfileenumerator.h:
1806 * gio/gfileinputstream.h:
1807 * gio/gfilemonitor.c:
1808 * gio/gfileoutputstream.h:
1809 * gio/glocalfilemonitor.h:
1810 * gio/glocalfileoutputstream.h:
1811 * gio/gmemoryinputstream.c:
1812 * gio/gmemoryoutputstream.c:
1813 * gio/gmountoperation.c:
1814 * gio/goutputstream.c:
1815 * gio/goutputstream.h:
1817 * gio/gsimpleasyncresult.c:
1818 * gio/gunixmounts.c:
1819 * gio/gunixmounts.h:
1821 * gio/inotify/inotify-helper.c:
1822 Fix gtk-doc warnings
1824 Patch from Ross Burton
1826 2007-11-06 Alexander Larsson <alexl@redhat.com>
1828 * gio/gfilenamecompleter.c:
1829 (g_filename_completer_get_completions):
1832 * gio/gunixvolume.c:
1833 Remove unused function
1835 Patches from Ross Burton
1837 2007-11-06 Alexander Larsson <alexl@redhat.com>
1842 Padding not needed for interfaces
1844 2007-11-06 Alexander Larsson <alexl@redhat.com>
1846 * gio/gfilemonitor.c:
1850 Make giotypes.h an internal file
1853 * gio/gbufferedinputstream.h:
1854 * gio/gbufferedoutputstream.h:
1855 * gio/gcancellable.h:
1856 * gio/gdatainputstream.h:
1857 * gio/gdataoutputstream.h:
1858 * gio/gdirectorymonitor.c:
1859 * gio/gdirectorymonitor.h:
1864 * gio/gfileattribute.h:
1865 * gio/gfileenumerator.h:
1870 * gio/gfilemonitor.c:
1871 * gio/gfilemonitor.h:
1872 * gio/gfilenamecompleter.c:
1873 * gio/gfilenamecompleter.h:
1874 * gio/gfilterinputstream.h:
1875 * gio/gfilteroutputstream.h:
1876 * gio/ginputstream.h:
1877 * gio/gmemoryinputstream.h:
1878 * gio/gmemoryoutputstream.h:
1879 * gio/gmountoperation.c:
1880 * gio/gmountoperation.h:
1881 * gio/gnativevolumemonitor.c:
1882 * gio/goutputstream.h:
1885 * gio/gsimpleasyncresult.c:
1886 * gio/gsimpleasyncresult.h:
1887 * gio/gsocketinputstream.h:
1888 * gio/gsocketoutputstream.h:
1889 * gio/gthemedicon.c:
1890 * gio/gthemedicon.h:
1894 * gio/gvolumemonitor.c:
1895 * gio/gvolumemonitor.h:
1896 Add padding in classes where it seems useful
1897 Don't include giotypes.h from public headers
1898 Move in Class definitions into c file where possible
1903 2007-11-06 Alexander Larsson <alexl@redhat.com>
1905 * docs/reference/gio/gio-docs.xml:
1906 Better structure for API docs
1908 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1911 * gio/gloadableicon.c:
1912 * gio/gsimpleasyncresult.c:
1913 * gio/gthemedicon.c:
1914 Add some more guards to public functions. Only files missing are now
1917 2007-11-06 Alexander Larsson <alexl@redhat.com>
1919 * docs/reference/gio/gio-docs.xml:
1920 Remove old files, add missing ones
1922 2007-11-06 Alexander Larsson <alexl@redhat.com>
1924 * docs/reference/gio/gio-sections.txt:
1927 Hide implementation classes
1929 * gio/gdriveprivate.h:
1930 * gio/gvolumeprivate.h:
1931 Remove non-existing function declarations
1933 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1936 Fix compilation warnings and add guards to the new functions.
1938 * gio/gasyncresult.c:
1940 Add guards to the public functions.
1943 Implement get_path().
1945 2007-11-06 Alexander Larsson <alexl@redhat.com>
1947 * gio/gfilenamecompleter.c:
1948 Make g_filename_completer_get_completions
1949 return char ** instead of GList for
1952 * docs/reference/gio/gio-docs.xml:
1953 * docs/reference/gio/gio-sections.txt:
1955 * gio/gasyncresult.c:
1956 * gio/gbufferedinputstream.c:
1957 * gio/gbufferedoutputstream.c:
1958 * gio/gcancellable.c:
1959 * gio/gcontenttype.c:
1960 * gio/gdatainputstream.c:
1961 * gio/gdataoutputstream.c:
1962 * gio/gdesktopappinfo.c:
1963 * gio/gdirectorymonitor.c:
1967 * gio/gfileattribute.c:
1968 * gio/gfileenumerator.c:
1971 * gio/gfileinputstream.c:
1972 * gio/gfilemonitor.c:
1973 * gio/gfilenamecompleter.c:
1974 * gio/gfilenamecompleter.h:
1975 * gio/gfileoutputstream.c:
1976 * gio/gfilterinputstream.c:
1978 * gio/ginputstream.c:
1980 * gio/gioscheduler.c:
1981 * gio/gloadableicon.c:
1982 * gio/glocaldirectorymonitor.c:
1984 * gio/glocalfileinputstream.c:
1985 * gio/glocalfilemonitor.c:
1986 * gio/glocalfileoutputstream.c:
1988 * gio/gmemoryinputstream.c:
1989 * gio/gmemoryoutputstream.c:
1990 * gio/gmountoperation.c:
1991 * gio/goutputstream.c:
1992 * gio/gpollfilemonitor.c:
1994 * gio/gsimpleasyncresult.c:
1995 * gio/gsocketinputstream.c:
1996 * gio/gsocketoutputstream.c:
1997 * gio/gthemedicon.c:
1998 * gio/gunionvolumemonitor.c:
2000 * gio/gunixmounts.c:
2001 * gio/gunixvolume.c:
2002 * gio/gunixvolumemonitor.c:
2006 * gio/gvolumemonitor.c:
2007 * gio/gwin32appinfo.c:
2008 Add (mostly stub) doc strings to public functions.
2009 Patch from Andrew Walton (awalton@gmail.com)
2011 2007-11-06 Alexander Larsson <alexl@redhat.com>
2013 * gio/gappinfo.[ch]:
2014 Added GAppLaunchContext object and pass that to launch.
2015 This allows simple implementation of both
2016 launch-on-screen and startup notification via a gtk+
2017 subclass of GAppLaunchContext
2019 * gio/gdesktopappinfo.c:
2020 Implement GAppLaunchContext API
2022 * gio/gwin32appinfo.c:
2025 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2027 * gio/gmountoperation.c:
2028 Add some guards to GMountOperation's public functions.
2030 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2034 * gio/gcancellable.c:
2035 * gio/gdirectorymonitor.c:
2037 * gio/gfileenumerator.c:
2038 * gio/gfilemonitor.c:,
2039 * gio/gfilenamecompleter.c:
2042 * gio/gioscheduler.c:
2046 * gio/gvolumemonitor.c:
2047 Add even more guards to various public functions.
2049 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2052 Add guards to the public functions of GAppInfo.
2054 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2056 * gio/gcontenttype.c:
2057 Add some more guards for public functions.
2059 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2061 * gio/fam/fam-module.c:
2062 * gio/fam/gfamdirectorymonitor.c:
2063 * gio/fam/gfamdirectorymonitor.h:
2064 * gio/fam/gfamfilemonitor.c:
2065 * gio/fam/gfamfilemonitor.h:
2066 * gio/inotify/ginotifydirectorymonitor.c:
2067 * gio/inotify/ginotifydirectorymonitor.h:
2068 * gio/inotify/ginotifyfilemonitor.c:
2069 * gio/inotify/ginotifyfilemonitor.h:
2070 Add proper copyright information and remove an unused variable
2071 in the GInotifyFileMonitor constructor.
2073 * gio/gcancellable.c:
2074 Add a guard for a public function and an assertion to prevent
2075 an undefined program state.
2077 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2079 * gio/gfileattribute.c:
2080 Don't run into an assertion if the given attribute value is NULL
2081 in g_file_attribute_value_get_*() but instead return a fallback
2082 value that makes sense in most situations. Passing them a attribute
2083 value with the wrong type will still run into an assertion.
2085 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2087 * gio/gfileattribute.c:
2089 Add even more guards to the public functions. Also fix the refcounting
2090 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2091 let g_file_info_list_attributes() filter the attributes by namespace
2092 instead of simply ignoring the namespace parameter.
2094 2007-11-03 Sven Herzberg <sven@imendio.com>
2096 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2097 (This makes gio work on MacOS X again)
2099 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2102 Build the gio subdirectory before the docs. Otherwise the build will
2105 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2106 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2107 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2108 Add guards to the public functions.
2110 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2112 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2113 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2114 to prevent a compiler warning.
2116 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2117 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2118 return something in the non-void function find_topdir_for().
2120 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2127 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2129 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2130 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2131 * gwin32appinfo.c (g_win32_app_info_launch):
2132 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2133 envp_for_startup_id, g_desktop_app_info_launch,
2134 g_desktop_app_info_launch_uris):
2136 Give an opaque 'startup_id' string instead of 'envp'.
2137 Support empty file lists for launching new windows.
2138 Fix infinite recursion bug when launching URIs.
2140 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2143 Add guard to the new g_file_get_uri_scheme() function.
2145 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2148 Convert a g_return_val_if_fail() to setting the GError instead as
2149 otherwise applications have to verify the parameter before otherwise
2150 and the parameter might come directly from the user.
2152 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2154 * gio/inotify/ginotify*.[ch]:
2155 Add missing copyright information.
2157 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2160 Add guards in the beginning of public functions to check for valid
2161 parameters and fix a bug in copy_stream_with_progress() that could've
2162 caused writing less bytes than reading.
2163 * gio/glocalfileinfo.c:
2164 Check for a NULL parameter and set the GError accordingly then.
2165 * gio/goutputstream.c:
2166 Fix the same bug as in gfile.c that could've caused writing less bytes
2167 than reading in g_output_stream_real_splice().
2169 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2172 Use the correct gvolumeprivate.h naming
2174 2007-11-01 Christian Kellner <gicmo@gnome.org>
2177 Remove leftover "$(daemon_sources)" entry.
2179 2007-11-01 Christian Kellner <gicmo@gnome.org>
2184 Add copyright information to source files.
2186 2007-11-01 Alexander Larsson <alexl@redhat.com>
2190 Add g_file_get_uri_scheme
2192 2007-11-01 Alexander Larsson <alexl@redhat.com>
2195 * gio/gdesktopappinfo.c:
2196 * gio/gwin32appinfo.c:
2197 Add g_app_info_get_default_for_uri_scheme.
2199 2007-11-01 Alexander Larsson <alexl@redhat.com>
2202 Correct filename for gdriveprivate.h
2204 2007-10-31 Alexander Larsson <alexl@redhat.com>
2207 Rename id:value to id:file
2210 * gio/glocalfileinfo.c:
2213 2007-10-31 Alexander Larsson <alexl@redhat.com>
2215 * gio/gunixvolume.c:
2217 Remove g_volume_get_platform_id, as thats not
2218 needed with the simpler union volume monitor
2220 2007-10-31 Alexander Larsson <alexl@redhat.com>
2223 * gio/guniondrive.[ch]: Removed.
2224 * gio/gunionvolume.[ch]: Removed.
2225 Remove GUnionDrive/Volume
2227 * gio/gunionvolumemonitor.c:
2228 Simplify union volume monitor, now we
2229 only have one native volume monitor and
2230 we use the actual volumes/drives from the
2231 child monitors instead of wrapping them
2233 * gio/gnativevolumemonitor.[ch]:
2234 Base class for native volume monitors.
2235 Includes priority and get_volume_for_mountpoint
2238 Add g_file_find_enclosing_volume
2241 Remove volume name fs attribute
2242 Add readonly fs attribute
2245 Implement readonly attribute
2246 remove volume name attribute
2247 Implement find_enclosing volume
2249 * gio/gunixmounts.c:
2250 Add a volume for "/".
2252 * gio/gunixvolume.[ch]:
2253 Set better name for /
2255 * gio/gunixvolumemonitor.[ch]:
2256 Derive from GNativeVolumeMonitor
2257 Implement get_volume_for_mountpoint
2260 GVolume typedef moved to gfile.h
2262 * gio/gvolumeprivate.h:
2263 Add g_volume_get_for_mount_path
2265 2007-10-31 Alexander Larsson <alexl@redhat.com>
2267 * gio/gunixmounts.[ch]:
2268 Add cache info to unix mount listers
2269 Make getmntent use threadsafe
2270 Add is_system_internal attribute for GUnixMount
2272 * gio/gunixvolume.c:
2273 (g_unix_volume_new):
2274 Use is_system_internal instead of own code
2276 * gio/glocaldirectorymonitor.c:
2277 * gio/gunixvolumemonitor.c:
2278 Update to new gunixmounts API
2283 2007-10-30 Alexander Larsson <alexl@redhat.com>
2286 Add volume name fsinfo attribute
2289 Read volume name info
2291 * gio/gunionvolumemonitor.c:
2292 Fix infinite loops when finalizing a union volume monitor
2294 2007-10-30 Alexander Larsson <alexl@redhat.com>
2296 * gio/goutputstream.[ch]:
2297 Add splice() with default implementation
2299 * gio/gsocketoutputstream.c:
2300 (g_socket_output_stream_write):
2301 Return error on cancellation correctly.
2303 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2305 * gio/glocalfile.c (g_local_file_trash):
2306 Do not leak a string.
2308 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2310 * gio/gfile.c (g_file_load_contents):
2311 Unref the stream after closing it.
2313 2007-10-25 Alexander Larsson <alexl@redhat.com>
2315 * gio/gioscheduler.h:
2318 2007-10-25 Alexander Larsson <alexl@redhat.com>
2322 Add g_file_has_uri_scheme and implement for local files
2324 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2326 * gio/gdesktopappinfo.c: do not leak a string.
2328 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2330 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2331 (g_local_directory_monitor_new):
2332 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2333 (g_local_file_monitor_new):
2334 Only look for the monitor type that should be used the first time
2335 and use g_qsort_with_data() instead of our own bubble sort
2338 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2341 * gio/fam/Makefile.am:
2342 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2343 * gio/fam/fam-helper.h:
2344 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2345 * gio/fam/gfamdirectorymonitor.c:
2346 * gio/fam/gfamdirectorymonitor.h:
2347 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2348 * gio/fam/gfamfilemonitor.h:
2349 * gio/glocaldirectorymonitor.c:
2350 * gio/glocaldirectorymonitor.h:
2351 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2352 * gio/glocalfilemonitor.h:
2353 * gio/inotify/Makefile.am:
2354 * gio/inotify/ginotifydirectorymonitor.c:
2355 * gio/inotify/ginotifydirectorymonitor.h:
2356 * gio/inotify/ginotifyfilemonitor.c:
2357 * gio/inotify/ginotifyfilemonitor.h:
2358 Implement the FAM and Inotify monitors as
2359 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2360 their own GIO module. GLocal(Directory|File)Monitor will use the
2361 monitor with the highest rank that is supported on that machine.
2363 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2366 Change GIO module dir to $(libdir)/gio/modules and change
2367 the log domain from GVFS to GIO. Also only export symbols starting
2368 with g_ in the resulting library.
2369 * gio/test-streams.c: (main):
2370 Set log handler for the GIO log domain.
2372 2007-10-22 Alexander Larsson <alexl@redhat.com>
2374 * gio/gfilenamecompleter.[ch]:
2375 Add g_filename_completer_set_dirs_only
2377 2007-10-22 Alexander Larsson <alexl@redhat.com>
2380 * gio/gurifuncs.[ch]:
2381 Add some simple URI helpers
2383 * gio/gfilenamecompleter.[ch]:
2384 Added object for filename (parse name actually) completion
2387 Handle ~ in parse names
2389 2007-10-17 Alexander Larsson <alexl@redhat.com>
2392 * gio/glocalfileinfo.c:
2393 Add and implement id:value attribute
2395 2007-10-17 Alexander Larsson <alexl@redhat.com>
2398 * gio/guniondrive.c:
2400 Add and implement g_drive_has_volumes
2402 2007-10-17 Alexander Larsson <alexl@redhat.com>
2405 * gio/glocalfileinfo.[ch]:
2406 Add unix:is_mountpoint and implement for local files
2408 2007-10-16 Alexander Larsson <alexl@redhat.com>
2410 * gio/gunionvolumemonitor.c:
2411 (g_union_volume_monitor_init):
2412 Fix up the unix type getting so that it works with gcc
2414 2007-10-12 Alexander Larsson <alexl@redhat.com>
2417 * gio/glocalfileinfo.c:
2418 Add thumbnail:failed to file info
2420 2007-10-12 Richard Hult <richard@imendio.com>
2422 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2423 optimizing away the get_type call (happens with some gcc versions,
2424 like the one shipped with OS X 10.4).
2426 2007-10-12 Alexander Larsson <alexl@redhat.com>
2428 * gio/glocalfileinfo.c:
2429 (_g_local_file_info_set_attribute):
2430 Fix build if not HAVE_XATTR
2431 Patch from Milosz Derezynski <internalerror@gmail.com>
2433 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2435 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2436 around for review, otherwise I would have asked you before
2439 2007-10-11 Alexander Larsson <alexl@redhat.com>
2442 Add thumbnail:path attribute
2444 * gio/glocalfileinfo.c:
2445 Implement thumbnail:path for local files
2447 2007-10-11 Alexander Larsson <alexl@redhat.com>
2449 * gio/glocalfileinfo.c:
2450 (_g_local_file_info_get):
2451 Avoid duplicate icon names
2453 2007-10-11 Alexander Larsson <alexl@redhat.com>
2455 * gio/gthemedicon.[ch]:
2456 Change g_themed_icon_get_names return type to const
2458 2007-10-10 Alexander Larsson <alexl@redhat.com>
2460 * gio/glocalfileinfo.c:
2461 Don't reference freed memory
2463 2007-10-10 Alexander Larsson <alexl@redhat.com>
2465 * gio/gfileattribute.c:
2468 * gio/glocalfileinfo.c:
2471 2007-10-10 Alexander Larsson <alexl@redhat.com>
2474 Check for NULL icons
2476 * gio/gfileattribute.c:
2477 Don't dup when getting objects (same as for string attributes)
2479 * gio/gicon.c (g_icon_equal):
2480 Safely handle NULLs in equal
2482 2007-10-10 Alexander Larsson <alexl@redhat.com>
2485 Fix c++ compilation issues
2486 Patch from Milosz Derezynski <internalerror@gmail.com>
2488 2007-10-10 Alexander Larsson <alexl@redhat.com>
2490 * programs/gio-monitor-dir.c:
2491 Don't crash if dir monitor not supported.
2493 2007-10-09 Alexander Larsson <alexl@redhat.com>
2496 Add missing G_END_DECLS
2498 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2500 * gio/gfile.c: (g_file_set_display_name),
2501 (g_file_query_settable_attributes),
2502 (g_file_query_writable_namespaces):
2503 Return NULL not FALSE on errors as the return type is a pointer.
2505 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2507 * gio/glocalfile.c: (g_local_file_monitor_file):
2508 Don't call monitor_file on the default interface vtable (which
2509 is NULL) but simply return NULL. The caller, GFile, will create a
2510 polling monitor if NULL is returned.
2512 2007-10-09 Alexander Larsson <alexl@redhat.com>
2516 * gio-unix-2.0.pc.in:
2517 Add gio-unix-2.0.pc if OS_UNIX
2520 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2522 2007-10-09 Alexander Larsson <alexl@redhat.com>
2524 * gio/gunixmounts.[ch]:
2525 Make unix mount monitoring API sane.
2526 Now its just a object with mounts_changed
2527 and mountpoints_changed signals.
2529 * gio/glocaldirectorymonitor.c:
2530 * gio/gunixvolumemonitor.c:
2531 Use new mount monitor api
2533 2007-10-09 Alexander Larsson <alexl@redhat.com>
2535 * gio/gunixmounts.[ch]:
2536 Move guess type into one call for mounts and one for mountpoints
2539 * gio/gunixvolume.c:
2542 2007-10-09 Alexander Larsson <alexl@redhat.com>
2544 * gio/gunixmounts.[ch]:
2545 Remove _ prefix in preparation to make this semi-public
2546 Hide implementation of structs
2548 * gio/glocaldirectorymonitor.c:
2550 * gio/gunixvolume.c:
2551 * gio/gunixvolumemonitor.c:
2552 Update for above API changes
2554 2007-10-08 Alexander Larsson <alexl@redhat.com>
2557 Better polling fallback. This also handles the case where we have
2558 a monitor_file implementation, but it fails.
2560 2007-10-08 Alexander Larsson <alexl@redhat.com>
2564 * gio/gunixmounts.c:
2565 * programs/gio-monitor-dir.c:
2566 * programs/gio-monitor-file.c:
2567 Added cancellable to file monitoring calls.
2568 These are really sync calls and need this.
2570 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2572 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2573 (g_local_vfs_class_init):
2574 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2575 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2577 2007-10-05 Alexander Larsson <alexl@redhat.com>
2579 * gio/gdirectorymonitorprivate.h:
2580 * gio/gfilemonitorprivate.h:
2581 * gio/gdirectorymonitor.h:
2582 * gio/gfilemonitor.h:
2583 Remove *private.h and move to the public API, so that
2584 we can do implementations outside gio (such as in gvfs)
2586 * gio/gdirectorymonitor.c:
2587 * gio/gfilemonitor.c:
2588 * gio/glocaldirectorymonitor.c:
2589 * gio/gpollfilemonitor.c:
2590 * gio/inotify/inotify-helper.c:
2591 * gio/fam/fam-helper.c:
2592 Update to the new header names
2594 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2596 * gio/gdirectorymonitor.c:
2597 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2600 2007-10-04 Alexander Larsson <alexl@redhat.com>
2602 * gio/glocalfileinfo.c (get_access_rights):
2603 Set CAN_TRASH when we can move the file.
2604 We should really also check for a parent trash dir.
2606 2007-10-04 Alexander Larsson <alexl@redhat.com>
2608 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2609 Add can_trash access attribute
2611 2007-10-04 Alexander Larsson <alexl@redhat.com>
2614 (g_local_file_trash):
2615 Create info file first. This is per-spec and allows
2616 us to actually trash directories.
2618 2007-10-02 Alexander Larsson <alexl@redhat.com>
2620 * gio/gdesktopappinfo.c:
2621 Implement the new mime support code.
2622 Always set app as handling mimetype when being set as default for it
2624 2007-10-01 Alexander Larsson <alexl@redhat.com>
2626 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2627 Fix up check for xattrs:
2629 2007-10-01 Alexander Larsson <alexl@redhat.com>
2632 (g_app_info_set_as_default_for_extension):
2633 (g_app_info_add_supports_type):
2634 (g_app_info_can_remove_supports_type):
2635 (g_app_info_remove_supports_type):
2636 Make these fail nicely if not implemented
2638 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2640 * gio/glocalfileoutputstream.c:
2641 * gio/glocalfileoutputstream.h:
2646 * programs/gio-save.c:
2647 Add a GFileCreateFlags argument to operations that can create
2650 2007-10-01 Alexander Larsson <alexl@redhat.com>
2652 * gio/gappinfo.[ch]:
2653 * gio/gdesktopappinfo.c:
2654 Add more (stubbed out) mime API needed for nautilus
2656 2007-10-01 Alexander Larsson <alexl@redhat.com>
2659 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2660 Add g_app_info_set_as_default_for_extension.
2662 * gio/gdesktopappinfo.c:
2663 Dummy for g_app_info_set_as_default_for_extension
2664 Support flags in g_app_info_create_from_commandline
2666 * gio/gwin32appinfo.c:
2668 Update for API changes
2670 * gio/gthemedicon.c:
2671 Properly NULL-terminate list of icon names
2673 2007-09-28 Alexander Larsson <alexl@redhat.com>
2675 * gio/gloadableicon.h:
2676 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2678 2007-09-28 Alexander Larsson <alexl@redhat.com>
2681 Install headers in $includedir/gio-standalone/
2683 * gio-2.0.pc.in: Added.
2684 * gio-standalone.pc.in: Removed.
2687 Renamed pkg-config file to match glib (for future move)
2688 Update to the new include dir
2691 Add more TODO comments
2693 2007-09-28 Alexander Larsson <alexl@redhat.com>
2695 * gio/gdesktopappinfo.[ch]:
2696 Expose new_from_filename
2697 Add getter for is_hidden and handle it better
2699 2007-09-28 Alexander Larsson <alexl@redhat.com>
2701 * gio/gfileinfo.[ch]:
2702 Rename g_file_size_format_for_display to
2703 g_format_file_size_for_display.
2704 Now it doesn't have the g_file prefix, so we
2705 can later move it to glib.
2707 2007-09-28 Alexander Larsson <alexl@redhat.com>
2709 * gio/gappinfo.[ch]:
2710 Add g_app_info_get_id and g_app_info_get_executable.
2711 Make all getters non-reffing
2712 Make g_app_info_launch take GFile arguments.
2713 Add must_support_uris argument to g_app_info_get_default_for_type.
2715 * gio/gwin32appinfo.c:
2716 Update to GAppInfo api changes
2718 * gio/gdesktopappinfo.c:
2719 Update to GAppInfo api changes
2720 Implement supports_xdg_startup_notify
2722 * gio/gfileicon.c (g_file_icon_get_file):
2723 Make getter non-reffing.
2728 2007-09-27 Alexander Larsson <alexl@redhat.com>
2730 * gio/gfileinfo.[ch]:
2731 Add g_file_size_format_for_display helper
2733 2007-09-27 Alexander Larsson <alexl@redhat.com>
2735 * gio/glocalfileinfo.c:
2736 Set UNIX_GID from gid, not from uid
2738 2007-09-27 Alexander Larsson <alexl@redhat.com>
2741 Add g_file_set_attributes_async
2743 2007-09-27 Alexander Larsson <alexl@redhat.com>
2745 * gio/glocalfile.c (g_local_file_set_display_name):
2746 Fix set_display_name to actually rename to the right place.
2747 Use lstat to look for existing files so we don't overwrite
2750 2007-09-26 Alexander Larsson <alexl@redhat.com>
2753 Add g_file_set_display_name_async()
2755 2007-09-26 Alexander Larsson <alexl@redhat.com>
2758 Add load_partial_contents async calls
2761 Make internal function static
2763 2007-09-26 Alexander Larsson <alexl@redhat.com>
2765 * gio/glocalfileinfo.c:
2766 Correctly detect broken symlinks
2768 2007-09-26 Alexander Larsson <alexl@redhat.com>
2770 * gio/gcancellable.c (g_cancellable_cancel):
2771 Allow cancel on NULL cancellable
2773 2007-09-25 Alexander Larsson <alexl@redhat.com>
2775 * gio/gsimpleasyncresult.c:
2776 Don't allocate g_error manually.
2777 Fixes g_slice/g_new mixup crash
2779 2007-09-25 Alexander Larsson <alexl@redhat.com>
2781 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2782 Actually set active_backend.
2783 This means the monitor will be cancelled correctly.
2785 2007-09-25 Alexander Larsson <alexl@redhat.com>
2787 * gio/gdirectorymonitor.c:
2788 Set timeout to NULL when destroying
2790 2007-09-25 Alexander Larsson <alexl@redhat.com>
2793 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2794 that is a better description of the error.
2796 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2798 * gio/gvfs.c: (g_vfs_get_local):
2799 Make the local vfs variable static. The same instance should
2802 2007-09-24 Alexander Larsson <alexl@redhat.com>
2804 * gio/glocalfileinfo.c:
2805 Pass in actual length read into sniffer, not the length
2808 2007-09-21 Alexander Larsson <alexl@redhat.com>
2810 * gio/gfileenumerator.c:
2813 * gio/gfileinputstream.c:
2814 * gio/gfileoutputstream.c:
2815 * gio/ginputstream.c:
2816 * gio/goutputstream.c:
2817 Don't crash if async callbacks are NULL
2819 2007-09-20 Alexander Larsson <alexl@redhat.com>
2822 Add async enumerate_children method and default
2825 2007-09-20 Alexander Larsson <alexl@redhat.com>
2828 Add g_file_contains_file & g_file_get_relative_path, since they
2829 were needed for nautilus.
2830 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2835 Implement new methods
2837 2007-09-17 Alexander Larsson <alexl@redhat.com>
2840 * gio/gfileinputstream.[ch]:
2841 * gio/gfileoutputstream.[ch]:
2843 * gio/glocalfileenumerator.[ch]:
2844 * gio/glocalfileinfo.[ch]:
2845 * gio/glocalfileinputstream.c:
2846 * gio/glocalfileoutputstream.c:
2847 * gio/gpollfilemonitor.c:
2848 * programs/gio-copy.c:
2849 * programs/gio-info.c:
2850 * programs/gio-move.c:
2851 Rename get_file_info to query_info() to make it clearer
2852 that these are not simple getters, but do i/o.
2854 2007-09-17 Alexander Larsson <alexl@redhat.com>
2856 * gio/gdatainputstream.[ch]:
2857 * gio/test-streams.c:
2858 Use _read_XXX instead of _get_XXX for the i/o calls
2861 2007-09-17 Alexander Larsson <alexl@redhat.com>
2864 Added needed stuff to TODO comment
2866 2007-09-17 Alexander Larsson <alexl@redhat.com>
2868 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2869 Don't error out removing the backup copy if it doesn't
2872 2007-09-14 Alexander Larsson <alexl@redhat.com>
2874 * programs/Makefile.am:
2875 * programs/gvfs-*.c:
2877 Renamed apps from gvfs-xxx to gio-xxx.
2879 2007-09-14 Alexander Larsson <alexl@redhat.com>
2882 * gio/gfileoutputstream.[ch]:
2883 * gio/glocalfileoutputstream.c:
2884 * programs/gvfs-save.c:
2885 g_file_output_stream_get_etag doesn't do i/o, so remove
2886 cancellation and error.
2888 2007-09-14 Alexander Larsson <alexl@redhat.com>
2891 Add new_etag output to replace_contents functions
2893 2007-09-14 Alexander Larsson <alexl@redhat.com>
2895 * gio/gfileoutputstream.[ch]:
2896 Add async get_file_info and default implementation
2898 2007-09-14 Alexander Larsson <alexl@redhat.com>
2900 * gio/gfileinputstream.c:
2901 Implement fallback wrapper for async get_file_info
2903 2007-09-14 Alexander Larsson <alexl@redhat.com>
2906 Add etag out argument to load_contents
2911 2007-09-14 Alexander Larsson <alexl@redhat.com>
2913 * gio/gcontenttype.c (looks_like_text):
2914 Whitespace like tab, cr and lf do not make the
2917 2007-09-14 Alexander Larsson <alexl@redhat.com>
2919 * gio/gfileinputstream.[ch]:
2920 Add async get_file_info.
2922 2007-09-13 Alexander Larsson <alexl@redhat.com>
2924 * gio/goutputstream.c (g_output_stream_write_all):
2925 Allow NULL for bytes_written
2927 2007-09-13 Alexander Larsson <alexl@redhat.com>
2929 * gio/gmemoryinputstream.[ch]:
2930 Add accessors for data
2932 2007-09-13 Alexander Larsson <alexl@redhat.com>
2934 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2935 Don't crash if length is NULL