1 2008-01-14 Alexander Larsson <alexl@redhat.com>
4 (g_file_monitor_directory):
6 Add GError to file monitor calls
8 * glocaldirectorymonitor.c:
9 * glocaldirectorymonitor.h:
11 * glocalfilemonitor.c:
12 * glocalfilemonitor.h:
14 Update for above change
16 2008-01-14 Alexander Larsson <alexl@redhat.com>
20 Handle root correctly in g_file_get_relative_path (#508719)
22 2008-01-14 Alexander Larsson <alexl@redhat.com>
25 Clean up docs and example for GAsyncResult (#508074)
27 2008-01-11 Murray Cumming <murrayc@murrayc.com>
29 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
30 and correct some spelling mistakes. Bug #508108.
32 2008-01-11 Matthias Clasen <mclasen@redhat.com>
34 * glocalfileinfo.c: Add a comment.
36 2008-01-10 Murray Cumming <murrayc@murrayc.com>
38 * gfileinfo.c: GFileInfo description: Mention
39 how to actually set attributes in a GFile and how to discover
40 which attributes are settable. Bug #508378.
42 2008-01-10 A. Walton <awalton@svn.gnome.org>
44 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
45 (g_app_info_get_default_for_type):
46 Check for NULL content types.
48 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
50 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
52 2008-01-09 Murray Cumming <murrayc@murrayc.com>
54 * gfile.c: *_async() functions: Several small corrections
55 to the documentation, mostly correcting copy/paste errors
56 and improving some sentences.
58 2008-01-09 Dan Winship <danw@gnome.org>
60 * glocalfile.c (get_unique_filename): x86_64 fix
62 2008-01-09 Alexander Larsson <alexl@redhat.com>
67 Add g_unix_mount_guess_should_display and use
68 for unix volume monitor backend.
69 This means we more or less show what the
70 gnome-vfs backend did.
71 Based on patch from Padraig O'Briain
73 2008-01-09 Alexander Larsson <alexl@redhat.com>
77 Add g_themed_icon_new_with_default_fallbacks
80 Use default fallbacks for icons
82 2008-01-09 Alexander Larsson <alexl@redhat.com>
85 * gmountoperation.[ch]:
86 Change the API a bit so that unhandled methods
87 get reported via the reply, rather than by
88 the signal emission return value. This is because
89 some handlers can't know this immediately without
90 doing I/O, and this is an async operation that
93 2008-01-09 Alexander Larsson <alexl@redhat.com>
96 * fam/gfamdirectorymonitor.c:
97 * fam/gfamfilemonitor.c:
98 Fix double free crash (#508224)
99 Patch from Joe Marcus Clarke
101 008-01-07 Matthias Clasen <mclasen@redhat.com>
103 * === Released 2.15.1 ===
105 2008-01-07 Alexander Larsson <alexl@redhat.com>
107 * gunixinputstream.c (g_unix_input_stream_skip_finish):
108 Fix warning (#507835)
110 2008-01-07 Alexander Larsson <alexl@redhat.com>
113 Pass --internal to glib-genmarshal
118 Use better types for signal arguments (#507822)
120 2008-01-07 Alexander Larsson <alexl@redhat.com>
123 Build test subdir after .
124 Remove gdirectorymonitor.[ch]
126 * gdirectorymonitor.[ch]:
130 Remove GDirectoryMonitor and make
131 GFileMonitor the baseclass for both file and
132 directory monitors. Lift the more generic
133 rate limiting code from GDirectoryMonitor
137 * fam/gfamdirectorymonitor.[ch]:
138 * inotify/ginotifydirectorymonitor.[ch]:
139 * inotify/inotify-helper.c:
140 * glocaldirectorymonitor.[ch]:
143 Update for the removed GDirectoryMonitor.
145 * gmemoryoutputstream.c:
146 Remove ununsed variable
148 2008-01-07 Alexander Larsson <alexl@redhat.com>
150 * gmemoryinputstream.c:
151 Translate error strings
154 * gmemoryoutputstream.[ch]:
155 New implementation that avoids using GByteArray
156 in implementation and API. (#506377)
158 2008-01-06 Matthias Clasen <mclasen@redhat.com>
160 * tests/*: Add a test for memory input streams.
162 * Makefile.am: Add tests to SUBDIRS.
164 2008-01-06 Matthias Clasen <mclasen@redhat.com>
166 * glocalfilemonitor.c:
167 * glocaldirectorymonitor.c: Mark property nicks and blurbs
170 2008-01-06 Matthias Clasen <mclasen@redhat.com>
172 * gdesktopappinfo.c: Fix a docs typo.
174 * gfileattribute.c: Add information about extended attributes
175 to the documentation. (#505058)
177 2008-01-04 Alexander Larsson <alexl@redhat.com>
181 Use the right type (uint) for the ask_password signal.
183 2008-01-04 Alexander Larsson <alexl@redhat.com>
188 Add g_app_info_supports_files()
189 Remove desktop arg from g_app_info_should_show().
191 * gdesktopappinfo.[ch]:
192 Implement g_app_info_supports_files() and new should_show()
193 Add g_desktop_app_info_set_desktop_env() to set the desktop
194 for should_show(). (This will be set by gtk+ later)
196 2008-01-04 Alexander Larsson <alexl@redhat.com>
199 * gmemoryinputstream.[ch]:
200 Improve API so that you can use multiple chunks
201 of memory and custom destroy functions. (#506374)
203 2008-01-03 Alexander Larsson <alexl@redhat.com>
206 Handle NULL attribute matchers safely, as we return this
207 for empty attribute matcher strings.
209 2008-01-03 Alexander Larsson <alexl@redhat.com>
211 * gunixmounts.c (g_unix_is_mount_path_system_internal):
212 Add /usr/local to list of internal mountpoints
214 2008-01-03 Alexander Larsson <alexl@redhat.com>
217 Check for HAVE_LCHOWN (#505887)
219 2008-01-03 Alexander Larsson <alexl@redhat.com>
223 Add define for selinux context attribute.
224 Fix missing : -> :: namespace separator change
225 Fix missing _ -> - name change for xattr-sys.
228 2008-01-03 Alexander Larsson <alexl@redhat.com>
231 Link to libglib and libgobject directly (#504879)
232 Patch from Sebastien Bacher
234 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
236 * gfile.c: Expanded the g_file_new_for_commandline_arg
237 description a bit, based on the code and the docs of the
238 other g_file_new_for_* functions.
240 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
242 * gfilemonitor.h: Fixed typo in docs.
244 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
246 Updates to GIO documentation. (#506395, Mikael Hermansson)
248 * gcontenttype.c: Describe memory management for return value of
249 g_content_types_get_registered(). Missing piece from #505815.
250 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
251 GVolume, GDrive, GMounts, which hopefully gives the user less
252 confusions when using this API. Following explainations from
253 Alexander Larsson on gtk-devel-list.
255 2007-12-30 Matthias Clasen <mclasen@redhat.com>
257 * gfileinfo.c: Expand the long description.
259 2007-12-30 Matthias Clasen <mclasen@redhat.com>
262 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
263 fix builds with --disable-visibility. (#500273, Christian Persch)
265 2007-12-30 Matthias Clasen <mclasen@redhat.com>
267 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
268 in the list of returned app infos.
270 2007-12-30 Matthias Clasen <mclasen@redhat.com>
272 * gappinfo.c: Fix a cross-reference
274 2007-12-30 Matthias Clasen <mclasen@redhat.com>
276 * gfileinputstream.c:
277 * gfileoutputstream.c:
283 * gfileinfo.c: Documentation updates.
285 2007-12-26 Matthias Clasen <mclasen@redhat.com>
287 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
290 2007-12-26 Matthias Clasen <mclasen@redhat.com>
292 * gcontenttype.c (g_content_types_get_registered): Don't return
293 freed memory (#505815, Mikael Hermansson)
295 2007-12-25 Paolo Borelli <pborelli@katamail.com>
297 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
298 used to detect statbuf->st_blocks. (#505042)
300 2007-12-24 Matthias Clasen <mclasen@redhat.com>
302 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
303 environment handling. (#504829, Cosimo Cecchi)
305 2007-12-22 Matthias Clasen <mclasen@redhat.com>
307 * gappinfo.c: Doc improvements
309 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
312 2007-12-20 Matthias Clasen <mclasen@redhat.com>
314 * === Released 2.15.0 ===
316 2007-12-20 Hans Breuer <hans@breuer.org>
318 * makefile.msc : don't build gdesktopappinfo.obj, it collides
319 with symbols gwin32appinfo.obj, added gmount.obj
320 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
322 2007-12-20 Alexander Larsson <alexl@redhat.com>
328 * gfilenamecompleter.c:
331 * gpollfilemonitor.c:
332 File attribute renames:
335 id::fs -> id::filesystem
337 2007-12-20 Alexander Larsson <alexl@redhat.com>
346 Add GMountUnmountFlags to all unmount and
348 Add g_mount_remount() call.
350 2007-12-20 Alexander Larsson <alexl@redhat.com>
352 * gvfs.c (get_default_vfs):
353 Fix unused variable warning
355 2007-12-19 Matthias Clasen <mclasen@redhat.com>
357 * pltcheck.sh: Update
359 2007-12-19 Matthias Clasen <mclasen@redhat.com>
361 * gunionvolumemonitor.c:
362 * gunixmount.c: Remove C99 comments
364 2007-12-19 Matthias Clasen <mclasen@redhat.com>
366 * gio.symbols: Add some missing symbols
368 2007-12-19 Alexander Larsson <alexl@redhat.com>
371 Make g_io_modules_load_all_in_directory not unuse
372 loaded modules so that users of it can do stuff
374 Init internal "module" types.
375 Initialize static prio and name for types so that
376 we don't have to load modules to get it.
378 * gnativevolumemonitor.h:
380 Move is_supported to parent class so that
381 non-native monitors can avoid being initialized
382 too. (For instance GDaemonVolumeMonitor if we're
383 not using GDaemonVfs.)
385 * glocaldirectorymonitor.[ch]:
386 * glocalfilemonitor.[ch]:
387 * gunionvolumemonitor.c:
388 * gunixvolumemonitor.c:
390 Find plugins using the static prio+name to
391 avoid unnecessarily loading the modules.
393 2007-12-19 Alexander Larsson <alexl@redhat.com>
398 2007-12-19 Alexander Larsson <alexl@redhat.com>
400 * gunionvolumemonitor.c:
401 Store the native type as GType, not class so that
402 we can unload it. But still avoid unnecessarily
405 2007-12-19 David Zeuthen <davidz@redhat.com>
407 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
408 add signals 'disconnected' and 'eject-button' on GDrive. Add
409 signal 'removed' on GVolume and 'unmounted' on GMount.
411 * gdrive.c: (g_drive_base_init):
413 * gfile.c: (g_file_mount_mountable),
414 (g_file_mount_enclosing_volume):
417 * gmount.c: (g_mount_base_init):
419 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
420 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
421 * gvolume.c: (g_volume_base_init), (g_volume_mount):
425 2007-12-17 Matthias Clasen <mclasen@redhat.com>
427 * *.c: Fix up includes in the section docs.
429 2007-12-17 Alexander Larsson <alexl@redhat.com>
431 * gnativevolumemonitor.h:
432 * gunionvolumemonitor.c:
433 * gunixvolumemonitor.c:
434 Add is_supported() to GNativeVolumeMonitorClass so
435 that we can avoid having to create an object to see
436 if the backend is supported at runtime.
437 Also add name member and an env var to pick a specific
438 volume monitor backend.
442 Add cancellable to _g_mount_get_for_mount_path()
444 * glocaldirectorymonitor.c:
445 * glocalfilemonitor.c:
446 Avoid loading and unloading modules while sorting.
448 2007-12-17 Matthias Clasen <mclasen@redhat.com>
451 * gunixmounts.[hc]: Namespace waste reduction, move some
452 g_get_unix_mount functions to the g_unix_mount namespace.
455 * gunixvolumemonitor.c:
457 * glocaldirectorymonitor.c: Update all callers.
459 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
461 2007-12-17 Alexander Larsson <alexl@redhat.com>
464 Add doc comments about what GFile operations are
465 guaranteed to not block.
467 2007-12-17 Alexander Larsson <alexl@redhat.com>
470 Add missing #ifdef fixing OSX build.
471 (#503334, patch from Richard Hult)
473 2007-12-14 David Zeuthen <davidz@redhat.com>
477 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
478 (g_mount_eject), (g_mount_eject_finish):
480 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
481 (get_volume_for_uuid), (get_mount_for_uuid),
482 (g_union_volume_monitor_class_init),
483 (get_default_native_type_with_exclude), (get_default_native_type),
484 (get_native_type), (update_native_type),
485 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
486 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
487 (g_unix_mount_can_eject), (eject_unmount_cb),
488 (eject_unmount_read_error), (eject_unmount_do),
489 (g_unix_mount_unmount), (g_unix_mount_eject),
490 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
491 * gunixmounts.c: (g_unix_mount_guess_can_eject),
492 (g_unix_mount_point_guess_can_eject):
494 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
495 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
496 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
497 (g_unix_volume_mount), (g_unix_volume_eject),
498 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
499 * gunixvolumemonitor.c: (get_volume_for_uuid),
500 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
502 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
503 (g_volume_eject), (g_volume_eject_finish):
505 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
506 (g_volume_monitor_get_mount_for_uuid):
509 Provide eject() on both GMount and GVolume and utility functions
510 to guess whether a GUnixMountPoint or GUnixMountEntry should be
511 ejected. Introduce the concept of UUID's and wire it into GVolume
512 and GMount and provide API on GVolumeMonitor to find such
513 instances. Also handle the case where an external
514 GNativeVolumeMonitor fails to initialize. Lock around the
515 _g_get_mount_for_mount_path() function such that volume monitor
516 implementations won't have to do locking themselves.
518 2007-12-17 Matthias Clasen <mclasen@redhat.com>
526 * gvolume.h: Documentation updates
528 2007-12-14 Matthias Clasen <mclasen@redhat.com>
531 * gfile.h: Doc updates
533 2007-12-14 Matthias Clasen <mclasen@redhat.com>
536 * gdesktopappinfo.c: Use hash table iterators.
538 2007-12-14 Alexander Larsson <alexl@redhat.com>
541 * gfileattribute.[ch]:
542 * gfileattribute-priv.h:
543 Move GFileAttributeValue to a private header, as
547 Make set_attribute take a type + a pointer instead
548 of a GFileAttributeValue.
551 Fix up for above changes.
552 Add g_file_info_get_attribute_data to get
553 all info in one call, g_file_info_get_attribute_status
554 to get the status and g_file_info_get_attribute_as_string.
558 * glocalfileinfo.[ch]:
562 Make _guess_type static.
564 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
567 * inotify/Makefile.am: Fixed build when srcdir != builddir,
568 made mkenums and friends use temporary files to avoid leaving
569 empty generated files on failure (#503470).
571 2007-12-14 Alexander Larsson <alexl@redhat.com>
576 2007-12-14 Alexander Larsson <alexl@redhat.com>
580 * gfileattribute.[ch]:
583 * glocalfileoutputstream.c:
584 * gmountoperation.[ch]:
585 * goutputstream.[ch]:
586 Clean up all flags enums to not have _FLAGS in them
587 Make the names of some of the enums better.
592 2007-12-14 Michael Natterer <mitch@imendio.com>
594 * gio.symbols: fix g_io_scheduler symbol names.
596 2007-12-14 Alexander Larsson <alexl@redhat.com>
602 * gbufferedinputstream.h:
603 * gbufferedoutputstream.h:
606 * gdatainputstream.h:
607 * gdataoutputstream.h:
609 * gdirectorymonitor.h:
616 * gfileinputstream.h:
618 * gfilenamecompleter.h:
619 * gfileoutputstream.h:
620 * gfilterinputstream.h:
621 * gfilteroutputstream.h:
629 * gmemoryinputstream.h:
630 * gmemoryoutputstream.h:
635 * gsimpleasyncresult.h:
637 * gunixinputstream.h:
639 * gunixoutputstream.h:
643 * inotify/Makefile.am:
644 Only allow including <gio/gio.h> from apps
646 2007-12-14 Alexander Larsson <alexl@redhat.com>
649 * gsimpleasyncresult.c:
650 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
651 Split out the send_to_mainloop call into two versions instead
652 of having the block argument.
654 2007-12-13 Alexander Larsson <alexl@redhat.com>
658 * gbufferedinputstream.c:
660 * gfileinputstream.c:
661 * gfileoutputstream.c:
665 g_push/pop_current_cancellable ->
666 g_cancellable_push/pop_current
668 2007-12-13 Alexander Larsson <alexl@redhat.com>
672 Rename g_mount_for_location to g_file_mount_enclosing_volume.
674 2007-12-13 Alexander Larsson <alexl@redhat.com>
677 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
679 2007-12-12 Alexander Larsson <alexl@redhat.com>
682 Fix race condition when freeing proxy in
683 g_io_job_send_to_mainloop().
685 2007-12-12 Alexander Larsson <alexl@redhat.com>
691 Make attribute namespace separator "::" instead of ":".
692 Use - instead of _ as separator in attribute names.
694 2007-12-12 Alexander Larsson <alexl@redhat.com>
696 * gbufferedinputstream.h:
697 * gbufferedoutputstream.h:
698 * gdatainputstream.h:
699 * gdataoutputstream.h:
700 * gdirectorymonitor.h:
702 * gfileinputstream.h:
704 * gfileoutputstream.h:
705 * gfilterinputstream.h:
706 * gfilteroutputstream.h:
708 * glocalfileinputstream.h:
709 * glocalfileoutputstream.h:
710 * gmemoryinputstream.h:
711 * gmemoryoutputstream.h:
712 * gnativevolumemonitor.h:
714 * gunixinputstream.h:
715 * gunixoutputstream.h:
718 s/parent/parent_instance/ in GObjects
720 2007-12-12 Alexander Larsson <alexl@redhat.com>
725 No need for padding for interfaces
727 2007-12-12 Alexander Larsson <alexl@redhat.com>
731 * gbufferedinputstream.c:
732 * gbufferedoutputstream.c:
735 * gdatainputstream.[ch]:
737 * gdirectorymonitor.c:
739 * gfileattribute.[ch]:
742 * gfileinputstream.h:
744 * gfileoutputstream.[ch]:
745 * gfilterinputstream.h:
746 * gfilteroutputstream.h:
749 * gloadableicon.[ch]:
750 * gmemoryinputstream.c:
753 Fix up a bunch of details in the docs.
758 2007-12-11 David Zeuthen <davidz@redhat.com>
760 Rework how volumes, drives and volume monitoring is
761 done. Previosly the model was
765 where a GDrive instance represented a mount point and a GVolume
766 instance represented a mounted file system. This patch changes it
769 GDrive <1-N> GVolume <1-1> GMount
771 where GMount now serves the purpose of the old GVolume and the new
772 GVolume serves the purpose of the old GDrive. In addition the new
773 GDrive interface is used to represent a collection of GVolume
774 instances (typically partitions) and also contains utility to query
775 the state of the physical drive the GDrive object represents (such
776 as checking for media, polling the drive, ejecting the media etc.).
778 Also implement mounting and unmounting in the Unix volume monitor
779 backend. A subquent patch will introduce GDrive support for ejection
783 * gdrive.c: (g_drive_is_media_check_automatic),
784 (g_drive_is_media_removable), (g_drive_has_media),
785 (g_drive_can_poll_for_media), (g_drive_eject),
786 (g_drive_eject_finish), (g_drive_poll_for_media),
787 (g_drive_poll_for_media_finish):
789 * gfile.c: (g_file_find_enclosing_mount):
792 * glocaldirectorymonitor.c:
793 (g_local_directory_monitor_constructor), (mounts_changed):
794 * glocalfile.c: (get_mount_info),
795 (g_local_file_find_enclosing_mount),
796 (g_local_file_file_iface_init):
797 * gnativevolumemonitor.h:
798 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
799 (get_connected_drives), (g_union_volume_monitor_class_init),
800 (child_volume_added), (child_volume_removed),
801 (child_volume_changed), (child_mount_added), (child_mount_removed),
802 (child_mount_pre_unmount), (child_mount_changed),
803 (child_drive_changed), (g_union_volume_monitor_add_monitor),
804 (g_union_volume_monitor_remove_monitor),
805 (_g_mount_get_for_mount_path):
806 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
807 (guess_system_internal), (_g_get_unix_mounts),
808 (_g_get_unix_mount_points), (g_get_unix_mount_at),
809 (g_unix_mount_free), (g_unix_mount_compare),
810 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
811 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
812 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
813 (type_to_icon), (g_unix_mount_guess_name),
814 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
815 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
816 (_resolve_symlink), (_resolve_dev_root):
818 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
819 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
820 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
821 (g_unix_volume_get_name), (g_unix_volume_can_mount),
822 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
823 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
824 (g_unix_volume_mount), (g_unix_volume_mount_finish),
825 (g_unix_volume_volume_iface_init):
827 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
828 (get_mounts), (get_volumes), (get_connected_drives),
829 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
830 (mountpoints_changed), (mounts_changed),
831 (g_unix_volume_monitor_init),
832 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
833 (find_mount_by_mountpath), (update_volumes), (update_mounts):
834 * gunixvolumemonitor.h:
835 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
836 (g_volume_mount), (g_volume_mount_finish):
838 * gvolumemonitor.c: (g_volume_monitor_class_init),
839 (g_volume_monitor_get_connected_drives),
840 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
843 2007-12-10 Matthias Clasen <mclasen@redhat.com>
845 * gmountoperation.h (GPasswordFlags): Close the gap
847 2007-12-10 Matthias Clasen <mclasen@redhat.com>
849 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
851 * gdesktopappinfo.[hc]: Remove _-prefixes
853 2007-12-10 Tor Lillqvist <tml@novell.com>
855 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
858 2007-12-10 Alexander Larsson <alexl@redhat.com>
860 * gfile.c (g_file_set_display_name):
861 Don't hardcode '/' (#502727)
863 2007-12-09 Hans Breuer <hans@breuer.org>
865 * makefile.msc : follow lib naming convention
866 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
867 for user and group name, tested with ../tests/gio-ls
869 2007-12-09 A. Walton <awalton@svn.gnome.org>
882 * gmemoryinputstream.c:
883 * gmemoryoutputstream.c:
885 * gsimpleasyncresult.c:
886 More documentation cleanup and filling in missing information, bringing
887 GIO to 99% symbol coverage.
889 2007-12-08 Hans Breuer <hans@breuer.org>
891 [gio compiles and links on win32, not sure how much already works]
892 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
893 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
894 base on win32 API; prefer g_lstat() over lstat(); instead of
895 localtime_r() use an all GLib implementation on win32;
896 get_mount_info() still needs a win32 specifc implementation
897 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
898 win32_get_file_user_info to get owner/group info without uid/gid
899 * glocalfileinputstream.c : include <io.h> on win32
900 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
901 definition, use g_win32_ftruncate() for G_OS_WIN32
902 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
903 it is available with mingw/w32api but a mess with the M$ Platform SDKs
904 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
905 * makefile.msc : updated
907 2007-12-07 Alexander Larsson <alexl@redhat.com>
909 * glocalfileenumerator.c (_g_local_file_enumerator_new):
910 Avoid warning spew if error == NULL
912 2007-12-07 Alexander Larsson <alexl@redhat.com>
915 Update docs wrt etags
917 2007-12-06 Alexander Larsson <alexl@redhat.com>
920 Include sys/types.h for dev_t (#501919)
922 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
926 Make abicheck and pltcheck pass.
928 2007-12-05 Alexander Larsson <alexl@redhat.com>
931 * giomodule-priv.h: Added.
932 * glocaldirectorymonitor.c:
933 * glocalfilemonitor.c:
934 * gunionvolumemonitor.c:
936 Actually add the declaration of _g_io_modules_ensure_loaded
938 2007-12-05 Alexander Larsson <alexl@redhat.com>
940 * gdatainputstream.c:
945 * glocaldirectorymonitor.c:
946 * glocalfilemonitor.c:
947 * gunionvolumemonitor.c:
949 Make g_io_modules_ensure_loaded a private function and
950 don't pass in the dirname. This means we can do magic
951 directory finding in the win32 version.
952 Export the actual load-modules-in-directory code so that
955 2007-12-05 Alexander Larsson <alexl@redhat.com>
957 * gbufferedinputstream.c:
958 * gbufferedoutputstream.c:
961 * gfileenumerator.[ch]:
962 * gfileinputstream.c:
963 * gfileoutputstream.[ch]:
964 * gfilterinputstream.c:
965 * gfilteroutputstream.c:
968 * glocalfileenumerator.c:
969 * glocalfileinputstream.c:
970 * glocalfileoutputstream.c:
971 * gmemoryinputstream.c:
972 * gmemoryoutputstream.c:
973 * goutputstream.[ch]:
976 * gunixinputstream.c:
977 * gunixoutputstream.c:
978 Rename all struct members named:
979 read, write, close, truncate, or mount
980 to foo_fn, as these are reserved names
981 and could be defined as macros in libc.
984 2007-12-04 Alexander Larsson <alexl@redhat.com>
987 (g_output_stream_close):
988 Only call flush if non-null.
990 2007-11-30 Dan Winship <danw@gnome.org>
992 * ginputstream.c (g_input_stream_set_pending): Make this take a
993 GError and return a gboolean, and do the "outstanding operation"
994 check (and the "stream is already closed" check) itself.
995 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
997 * goutputstream.c (g_output_stream_set_pending)
998 (g_output_stream_clear_pending): Likewise
1000 * gbufferedinputstream.c:
1001 * gfileinputstream.c:
1002 * gfileoutputstream.c: Update for that
1004 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1005 Like g_simple_async_report_error_in_idle, but takes a GError
1006 rather than building one.
1008 2007-11-30 Dan Winship <danw@gnome.org>
1010 * goutputstream.c: Don't cheat and unset the "pending" flag around
1011 inner calls. Instead, call the class method directly rather than
1012 the wrapper function that checks "pending"
1014 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1016 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1018 2007-12-03 Hans Breuer <hans@breuer.org>
1020 [start of port to win32/msvc]
1021 * gcancellable.c : HAVE_UNIST_H and _pipe()
1022 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1023 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1024 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1026 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1027 * glocalvfs.c : use HAVE_PWD_H
1028 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1029 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1030 * Makefile.am : added to EXTRA_DIST
1032 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1034 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1037 2007-12-03 Alexander Larsson <alexl@redhat.com>
1040 Handle OSX style xattrs API (#500506)
1042 2007-12-03 Alexander Larsson <alexl@redhat.com>
1046 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1048 2007-12-02 A. Walton <awalton@svn.gnome.org>
1052 Documentation accuracy fixes.
1054 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1056 * gioenumtypes.c.template: Fix typo.
1058 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1060 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1062 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1064 * gdirectorymonitor.c:
1065 * gfilemonitor.c: Add properties
1067 * gbufferedoutputstream.c: Don't mark buffer-size property
1070 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1072 * gbufferedoutputstream.c: Add auto-grow property.
1074 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1076 * *.c: Unify the capitalization of section headings.
1078 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1080 * gmountoperation.c: Add properties
1082 * gdatainputstream.c: Turn byte-order and newline-type into
1085 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1087 * gioenumtypes.[hc].template: Templates for enum registration
1089 * Makefile.am: Generate gioenumtypes.[hc]
1091 * gio.h: Include gioenumtypes.h
1093 * gfile.h: Add some explicit nicks.
1095 * gio.symbols: Add new symbols
1097 * pltcheck.sh: Adjust
1099 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1101 * *.c: Explain etags and link to the explanation
1103 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1105 * *.c: Explain I/O priority.
1107 * *.c: More coding style fixes.
1109 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1111 * gasyncresult.c: Add another paragraph to the intro,
1112 adjust coding style of example.
1114 2007-11-29 A. Walton <awalton@svn.gnome.org>
1117 Fixes unknown meaning in GAppLaunchContext docs.
1119 Clarify asynchronous ops.
1121 Fix entity tag docs.
1124 Provides missing gtk-doc section, fixes API docs slighly.
1125 * gsimpleasyncresult.c:
1126 Fill in missing info in docs.
1127 * gunixinputstream.c:
1128 * gunixoutputstream.c:
1129 Be more expressive in short description.
1131 Remove gtk-doc stubs for non-public API.
1133 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1135 * *.c: Coding style fixups
1137 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1139 * inotify/inotify-helper.c: Don't export the lock from libgio.
1141 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1144 * abicheck.sh: Fix copy-and-paste leftovers
1146 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1148 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1150 2007-11-28 Alexander Larsson <alexl@redhat.com>
1154 Removed unnecessary file
1156 * gdesktopappinfo.[ch]:
1159 * glocaldirectorymonitor.[ch]:
1161 * glocalfileenumerator.[ch]:
1162 * glocalfileinputstream.[ch]:
1163 * glocalfilemonitor.[ch]:
1164 * glocalfileoutputstream.[ch]:
1166 * gnativevolumemonitor.c:
1167 * gpollfilemonitor.[ch]:
1168 * gunionvolumemonitor.[ch]:
1171 * gunixvolumemonitor.[ch]:
1174 * inotify/ginotifydirectorymonitor.[ch]:
1175 * inotify/ginotifyfilemonitor.[ch]:
1176 * inotify/inotify-helper.c:
1177 Append _ to all internal functions
1181 Export symbols needed for modules
1183 2007-11-28 Alexander Larsson <alexl@redhat.com>
1186 * abicheck.sh: Added.
1187 * makegioalias.pl: Added.
1188 * pltcheck.sh: Added.
1189 * gio.symbols: Added.
1192 Initial work on adding symbol handling.
1195 Correct ifdef guard name
1198 * inotify/Makefile.am:
1199 * xdgmime/Makefile.am:
1200 Include toplevel Makefile.decl
1202 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1204 * gcontenttype.c: Move doc comments to the unix section.
1206 * *.[hc]: More trivial doc corrections.
1208 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1210 * gpollfilemonitor.c:
1214 * gdesktopappinfo.c:
1219 * gdatainputstream.c:
1220 * gdatainputstream.h:
1221 * gdataoutputstream.c:
1222 * gdataoutputstream.h:
1223 * gfileinfo.h: Doc cleanups
1225 2007-11-28 Andre Klapper <a9016009@gmx.de>
1227 * gdesktopappinfo.c: Fix a typo.
1229 2007-11-27 Andre Klapper <a9016009@gmx.de>
1231 * glocalfileoutputstream.c: Fix a typo.
1233 2007-11-27 Alexander Larsson <alexl@redhat.com>
1236 Don't include removed headers
1238 2007-11-27 Alexander Larsson <alexl@redhat.com>
1241 * gsocketinputstream.[ch]: Removed.
1242 * gsocketoutputstream.[ch]: Removed.
1243 * gunixinputstream.[ch]: Added.
1244 * gunixoutputstream.[ch]: Added.
1245 Renamed GSocket*Stream to GUnix*Stream and made
1246 it unix-only, since its not really only for sockets
1247 and it only works on unix (but is highly useful there).
1249 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1255 * gbufferedinputstream.c:
1256 * gbufferedinputstream.h:
1257 * gbufferedoutputstream.c:
1258 * gbufferedoutputstream.h:
1262 * gdatainputstream.c:
1263 * gdatainputstream.h:
1264 * gdataoutputstream.c:
1265 * gdataoutputstream.h:
1266 * gdirectorymonitor.c:
1267 * gdirectorymonitor.h:
1274 * gfileenumerator.c:
1275 * gfileenumerator.h:
1280 * gfileinputstream.c:
1281 * gfileinputstream.h:
1284 * gfilenamecompleter.c:
1285 * gfilenamecompleter.h:
1286 * gfileoutputstream.c:
1287 * gfileoutputstream.h:
1288 * gfilterinputstream.c:
1289 * gfilterinputstream.h:
1290 * gfilteroutputstream.c:
1291 * gfilteroutputstream.h:
1304 * glocalfileoutputstream.c:
1305 * gmemoryinputstream.c:
1306 * gmemoryinputstream.h:
1307 * gmemoryoutputstream.c:
1308 * gmemoryoutputstream.h:
1309 * gmountoperation.c:
1310 * gmountoperation.h:
1313 * gpollfilemonitor.c:
1316 * gsimpleasyncresult.c:
1317 * gsimpleasyncresult.h:
1318 * gsocketinputstream.c:
1319 * gsocketinputstream.h:
1320 * gsocketoutputstream.c:
1321 * gsocketoutputstream.h:
1328 * gunixvolumemonitor.c:
1337 Bumps documentation to 93% symbol coverage, touching most
1338 of the public files. Fixes broken function documentation prototypes.
1339 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1340 gtk-doc headers in private files.
1342 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1344 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1345 (g_buffered_input_stream_read_byte):
1346 * gbufferedinputstream.h:
1347 New functions for efficient access to buffer and simple single byte
1350 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1351 (g_data_input_stream_read_until):
1352 * gdatainputstream.h:
1353 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1354 read_until with multiple stop chars.
1356 2007-11-27 Alexander Larsson <alexl@redhat.com>
1360 * inotify/Makefile.am:
1361 Use the user-specified giomoduledir
1363 2007-11-27 Alexander Larsson <alexl@redhat.com>
1367 Add catch-all gio.h header
1368 Don't install gdummyfile.h
1370 2007-11-26 Alexander Larsson <alexl@redhat.com>
1372 * Makefile.am (gioinclude_HEADERS):
1373 Remove trailing whitespace
1375 2007-11-26 Alexander Larsson <alexl@redhat.com>
1377 Merge gio-standalone into glib
1379 2007-11-25 Christian Kellner <gicmo@gnome.org>
1381 * gio/goutputstream.c:
1382 Fix small mistake in the docs.
1384 2007-11-21 Christian Persch <chpe@gnome.org>
1386 * gio/glocalfile.c: (g_local_file_trash):
1387 Convert filenames to UTF-8 for GError.
1388 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1389 as per xdg base dir spec.
1391 2007-11-21 Christian Persch <chpe@gnome.org>
1393 * gio/gdesktopappinfo.c:
1394 Use that g_key_file_to_data cannot fail.
1396 Use stock defines for the key file group and key names.
1399 2007-11-21 Alexander Larsson <alexl@redhat.com>
1402 (copy_stream_with_progress):
1403 Make sure we do a final progress callback with
1404 the full total size.
1406 2007-11-21 Alexander Larsson <alexl@redhat.com>
1409 Export g_file_copy_attributes
1410 Remove padding as its not needed for interfaces
1412 2007-11-20 Alexander Larsson <alexl@redhat.com>
1417 Add G_IO_ERROR_WOULD_MERGE for
1418 copy/move dir on dir with overwrite.
1420 2007-11-20 Alexander Larsson <alexl@redhat.com>
1423 * gio/glocalfileinfo.c:
1424 Add COPY_NAME (this is an optional
1425 non-modified utf8 version of the name) that
1428 2007-11-20 Alexander Larsson <alexl@redhat.com>
1430 * gio/glocalfileenumerator.c:
1431 Report errors as GIOError, not GFileError
1433 2007-11-16 Alexander Larsson <alexl@redhat.com>
1435 * gio/glocalfileoutputstream.c:
1436 * gio/gwin32appinfo.c:
1437 Fix typos in strings.
1438 Patch from Luca Ferretti <elle.uca@libero.it>
1440 2007-11-15 Alexander Larsson <alexl@redhat.com>
1443 Post release version bump
1445 === gio-standalone 0.1.2 ===
1447 2007-11-15 Alexander Larsson <alexl@redhat.com>
1449 * docs/reference/gio/Makefile.am:
1450 Fix up distcheck by removing weird
1456 2007-11-14 Alexander Larsson <alexl@redhat.com>
1458 * gio/gdesktopappinfo.c:
1459 * gio/glocaldirectorymonitor.c:
1461 * gio/glocalfileinfo.c:
1462 * gio/inotify/inotify-sub.c:
1463 * programs/gio-cat.c:
1464 * programs/gio-copy.c:
1465 * programs/gio-info.c:
1466 * programs/gio-ls.c:
1467 * programs/gio-monitor-dir.c:
1468 * programs/gio-monitor-file.c:
1469 * programs/gio-mount.c:
1470 * programs/gio-move.c:
1471 * programs/gio-rm.c:
1472 * programs/gio-save.c:
1473 * programs/gio-trash.c:
1474 Leak fixes from Kjartan Maraas
1476 2007-11-14 Alexander Larsson <alexl@redhat.com>
1478 * gio/fam/fam-helper.c:
1480 * gio/glocalfileinfo.c:
1484 * gio/inotify/inotify-diag.c:
1485 * gio/inotify/inotify-kernel.c:
1486 Various code cleanups from Kjartan Maraas
1488 2007-11-14 Alexander Larsson <alexl@redhat.com>
1490 * gio/gioscheduler.c:
1492 Set up threadpool so that we cache 2 unused
1493 idle threads for at 15 secs. This means we
1494 will reuse thread-local data (like dbus connections)
1497 2007-11-14 Alexander Larsson <alexl@redhat.com>
1499 * gio/fam/fam-helper.c:
1500 * gio/fam/gfamdirectorymonitor.c:
1501 * gio/fam/gfamfilemonitor.c:
1503 * gio/gcontenttype.c:
1504 * gio/gdatainputstream.c:
1505 * gio/gdataoutputstream.c:
1509 * gio/gfileattribute.h:
1510 * gio/gfileenumerator.c:
1512 * gio/ginputstream.c:
1515 * gio/glocalfileinfo.c:
1516 * gio/goutputstream.c:
1517 * gio/gpollfilemonitor.c:
1518 * gio/gsimpleasyncresult.c:
1519 * gio/gunixmounts.c:
1520 * gio/gunixmounts.h:
1521 * gio/inotify/ginotifydirectorymonitor.c:
1522 * gio/inotify/ginotifyfilemonitor.c:
1523 * gio/inotify/inotify-diag.c:
1524 * gio/inotify/inotify-kernel.c:
1525 * gio/inotify/inotify-path.c:
1527 * gio/test-streams.c:
1528 * programs/gio-info.c:
1529 * programs/gio-monitor-dir.c:
1530 * programs/gio-monitor-file.c:
1531 Various code cleanups from Kjartan Maraas
1533 2007-11-13 Alexander Larsson <alexl@redhat.com>
1536 Handle the uri-scheme calls for dummy files
1538 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1540 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1541 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1542 to avoid clash with the C++ keyword.
1544 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1546 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1547 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1549 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1551 * gio/glocaldirectorymonitor.c:
1552 * gio/glocalfilemonitor.c:
1553 * gio/gunionvolumemonitor.c:
1554 Don't use g_once_init_*() for initializations that could fail and
1555 could leave the initialization variable set to 0 but use GOnce.
1556 This prevents a deadlock on the second call when trying to create
1557 a monitor and no monitor type is available. Thanks to Sven Herzberg
1560 2007-11-11 Sven Herzberg <sven@imendio.com>
1562 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1563 #ifdef (make it work on MacOS X again)
1565 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1567 Fixes Changelog for last two commits (sorry guys).
1569 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1571 * gio/gbufferedinputstream.c:
1572 * gio/gdatainputstream.c:
1574 * gio/gfileoutputstream.c:
1575 * gio/gfilterinputstream.c:
1576 * gio/glocalfileinputstream.c:
1579 More consistency fixes in g*stream.c files.
1580 Significant clean of gfile's documentation, filling in of
1581 asynchronous operations documentation.
1583 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1585 * gio/gasyncresult.c:
1586 * gio/gbufferedinputstream.c:
1587 * gio/gbufferedoutputstream.c:
1588 * gio/gcancellable.c:
1589 * gio/gcontenttype.c:
1590 * gio/gdatainputstream.c:
1591 * gio/gdataoutputstream.c:
1592 * gio/gdesktopappinfo.c:
1595 * gio/gfileattribute.c:
1596 * gio/gio/gfileenumerator.c:
1598 * gio/gfileinputstream.c:
1599 * gio/gfilemonitor.c:
1600 * gio/gfileoutputstream.c:
1601 * gio/ginputstream.c:
1603 * gio/gioscheduler.c:
1604 * gio/gloadableicon.c:
1605 * gio/glocalfileoutputstream.c:
1606 * gio/gmemoryoutputstream.c:
1607 * gio/gmountoperation.c:
1608 * gio/goutputstream.c:
1610 * gio/gsimpleasyncresult.c:
1611 * gio/gunionvolumemonitor.c:
1612 * gio/gunixmounts.c:
1613 * gio/gunixvolume.c:
1617 * gio/gvolumemonitor.c:
1618 Updated documentation stubs, working towards consistency and
1621 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1623 * gio/gmemoryoutputstream.c:
1624 * gio/gmemoryoutputstream.h:
1625 Change g_memory_output_stream_set_free_on_close() to
1626 g_memory_output_stream_set_free_data() as this makes more sense and
1627 is more consistent with GMemoryInputStream.
1629 2007-11-07 Alexander Larsson <alexl@redhat.com>
1636 Change how we find the default vfs so that
1637 we can handle a gvfs failing to init
1639 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1641 * gio/gbufferedoutputstream.c:
1642 * gio/gdatainputstream.c:
1643 * gio/gdataoutputstream.c:
1644 * gio/gfileinputstream.c:
1645 * gio/gfileoutputstream.c:
1646 * gio/gfilterinputstream.c:
1647 * gio/gfilteroutputstream.c:
1648 * gio/ginputstream.c:
1649 * gio/gmemoryinputstream.c:
1650 * gio/gmemoryoutputstream.c:
1651 * gio/goutputstream.c:
1652 * gio/gsimpleasyncresult.c:
1653 * gio/gsocketinputstream.c:
1654 * gio/gsocketoutputstream.c:
1655 Add guards to the remaining public functions, add a TODO for
1656 an unimplemented function and remove some useless guards.
1658 2007-11-07 Alexander Larsson <alexl@redhat.com>
1661 Autoconf checks for the various types of
1662 getpwuid_r and getgrgid_r
1664 * gio/glocalfileinfo.c:
1665 Use the autoconf checks from above
1667 2007-11-07 Alexander Larsson <alexl@redhat.com>
1670 (g_local_file_query_filesystem_info):
1671 Some fixes for the statvfs case
1673 2007-11-07 Alexander Larsson <alexl@redhat.com>
1676 (g_local_file_query_filesystem_info):
1677 Pick the "best" of statfs / statvfs for the system
1678 if both are availible.
1680 2007-11-07 Alexander Larsson <alexl@redhat.com>
1682 Solaris fixes from Halton.Huo@Sun.COM:
1689 * gio/glocalfileinfo.c:
1690 Fix for solaris definition of getpwuid_r
1692 * gio/test-streams.c:
1693 Use G_GNUC_PRETTY_FUNCTION
1695 2007-11-07 Alexander Larsson <alexl@redhat.com>
1697 * gio/gdesktopappinfo.c:
1698 (update_default_list):
1699 Remove double semicolon.
1700 Patch from Jens Granseuer
1702 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1704 * docs/reference/gio/gio-sections.txt:
1705 * gio/gbufferedinputstream.c:
1706 * gio/gbufferedinputstream.h:
1707 * gio/gdatainputstream.c:
1708 * gio/gfileenumerator.c:
1709 * gio/gioscheduler.c:
1710 * gio/gunionvolumemonitor.c:
1712 * programs/gio-save.c:
1713 Fix typo: availible -> available. Unfortuntely this breaks API
1714 and ABI as g_buffered_input_stream_get_available() was renamed.
1716 * gio/gunixmounts.c:
1717 * gio/gbufferedinputstream.c:
1718 Add guards for public functions.
1720 2007-11-06 Ross Burton <ross@openedhand.com>
1722 * docs/reference/gio/Makefile.am:
1723 Fix invalid += usage which automake 1.10 doesn't like.
1725 2007-11-06 Alexander Larsson <alexl@redhat.com>
1728 (g_app_launch_context_class_init):
1731 Patch from Ross Burton
1733 2007-11-06 Alexander Larsson <alexl@redhat.com>
1736 Post release version bump
1738 === gio-standalone 0.1.1 ===
1740 2007-11-06 Alexander Larsson <alexl@redhat.com>
1743 Bump version to 0.1.1
1745 * gio/gsimpleasyncresult.c:
1746 (g_simple_async_result_set_from_error):
1747 Remove bogus g_return_if_fail
1749 2007-11-06 Alexander Larsson <alexl@redhat.com>
1752 The name is gio-standalone
1755 Add top src/builddir to includedir
1757 2007-11-06 Alexander Larsson <alexl@redhat.com>
1759 * docs/reference/gio/gio-sections.txt:
1761 * gio/gbufferedinputstream.c:
1762 * gio/gbufferedoutputstream.c:
1763 * gio/gcancellable.c:
1764 * gio/gdatainputstream.h:
1765 * gio/gdataoutputstream.c:
1766 * gio/gdataoutputstream.h:
1767 * gio/gdirectorymonitor.c:
1769 * gio/gfileattribute.c:
1770 * gio/gfileattribute.h:
1771 * gio/gfileenumerator.c:
1772 * gio/gfileenumerator.h:
1775 * gio/gfileinputstream.h:
1776 * gio/gfilemonitor.c:
1777 * gio/gfileoutputstream.h:
1778 * gio/glocalfilemonitor.h:
1779 * gio/glocalfileoutputstream.h:
1780 * gio/gmemoryinputstream.c:
1781 * gio/gmemoryoutputstream.c:
1782 * gio/gmountoperation.c:
1783 * gio/goutputstream.c:
1784 * gio/goutputstream.h:
1786 * gio/gsimpleasyncresult.c:
1787 * gio/gunixmounts.c:
1788 * gio/gunixmounts.h:
1790 * gio/inotify/inotify-helper.c:
1791 Fix gtk-doc warnings
1793 Patch from Ross Burton
1795 2007-11-06 Alexander Larsson <alexl@redhat.com>
1797 * gio/gfilenamecompleter.c:
1798 (g_filename_completer_get_completions):
1801 * gio/gunixvolume.c:
1802 Remove unused function
1804 Patches from Ross Burton
1806 2007-11-06 Alexander Larsson <alexl@redhat.com>
1811 Padding not needed for interfaces
1813 2007-11-06 Alexander Larsson <alexl@redhat.com>
1815 * gio/gfilemonitor.c:
1819 Make giotypes.h an internal file
1822 * gio/gbufferedinputstream.h:
1823 * gio/gbufferedoutputstream.h:
1824 * gio/gcancellable.h:
1825 * gio/gdatainputstream.h:
1826 * gio/gdataoutputstream.h:
1827 * gio/gdirectorymonitor.c:
1828 * gio/gdirectorymonitor.h:
1833 * gio/gfileattribute.h:
1834 * gio/gfileenumerator.h:
1839 * gio/gfilemonitor.c:
1840 * gio/gfilemonitor.h:
1841 * gio/gfilenamecompleter.c:
1842 * gio/gfilenamecompleter.h:
1843 * gio/gfilterinputstream.h:
1844 * gio/gfilteroutputstream.h:
1845 * gio/ginputstream.h:
1846 * gio/gmemoryinputstream.h:
1847 * gio/gmemoryoutputstream.h:
1848 * gio/gmountoperation.c:
1849 * gio/gmountoperation.h:
1850 * gio/gnativevolumemonitor.c:
1851 * gio/goutputstream.h:
1854 * gio/gsimpleasyncresult.c:
1855 * gio/gsimpleasyncresult.h:
1856 * gio/gsocketinputstream.h:
1857 * gio/gsocketoutputstream.h:
1858 * gio/gthemedicon.c:
1859 * gio/gthemedicon.h:
1863 * gio/gvolumemonitor.c:
1864 * gio/gvolumemonitor.h:
1865 Add padding in classes where it seems useful
1866 Don't include giotypes.h from public headers
1867 Move in Class definitions into c file where possible
1872 2007-11-06 Alexander Larsson <alexl@redhat.com>
1874 * docs/reference/gio/gio-docs.xml:
1875 Better structure for API docs
1877 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1880 * gio/gloadableicon.c:
1881 * gio/gsimpleasyncresult.c:
1882 * gio/gthemedicon.c:
1883 Add some more guards to public functions. Only files missing are now
1886 2007-11-06 Alexander Larsson <alexl@redhat.com>
1888 * docs/reference/gio/gio-docs.xml:
1889 Remove old files, add missing ones
1891 2007-11-06 Alexander Larsson <alexl@redhat.com>
1893 * docs/reference/gio/gio-sections.txt:
1896 Hide implementation classes
1898 * gio/gdriveprivate.h:
1899 * gio/gvolumeprivate.h:
1900 Remove non-existing function declarations
1902 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1905 Fix compilation warnings and add guards to the new functions.
1907 * gio/gasyncresult.c:
1909 Add guards to the public functions.
1912 Implement get_path().
1914 2007-11-06 Alexander Larsson <alexl@redhat.com>
1916 * gio/gfilenamecompleter.c:
1917 Make g_filename_completer_get_completions
1918 return char ** instead of GList for
1921 * docs/reference/gio/gio-docs.xml:
1922 * docs/reference/gio/gio-sections.txt:
1924 * gio/gasyncresult.c:
1925 * gio/gbufferedinputstream.c:
1926 * gio/gbufferedoutputstream.c:
1927 * gio/gcancellable.c:
1928 * gio/gcontenttype.c:
1929 * gio/gdatainputstream.c:
1930 * gio/gdataoutputstream.c:
1931 * gio/gdesktopappinfo.c:
1932 * gio/gdirectorymonitor.c:
1936 * gio/gfileattribute.c:
1937 * gio/gfileenumerator.c:
1940 * gio/gfileinputstream.c:
1941 * gio/gfilemonitor.c:
1942 * gio/gfilenamecompleter.c:
1943 * gio/gfilenamecompleter.h:
1944 * gio/gfileoutputstream.c:
1945 * gio/gfilterinputstream.c:
1947 * gio/ginputstream.c:
1949 * gio/gioscheduler.c:
1950 * gio/gloadableicon.c:
1951 * gio/glocaldirectorymonitor.c:
1953 * gio/glocalfileinputstream.c:
1954 * gio/glocalfilemonitor.c:
1955 * gio/glocalfileoutputstream.c:
1957 * gio/gmemoryinputstream.c:
1958 * gio/gmemoryoutputstream.c:
1959 * gio/gmountoperation.c:
1960 * gio/goutputstream.c:
1961 * gio/gpollfilemonitor.c:
1963 * gio/gsimpleasyncresult.c:
1964 * gio/gsocketinputstream.c:
1965 * gio/gsocketoutputstream.c:
1966 * gio/gthemedicon.c:
1967 * gio/gunionvolumemonitor.c:
1969 * gio/gunixmounts.c:
1970 * gio/gunixvolume.c:
1971 * gio/gunixvolumemonitor.c:
1975 * gio/gvolumemonitor.c:
1976 * gio/gwin32appinfo.c:
1977 Add (mostly stub) doc strings to public functions.
1978 Patch from Andrew Walton (awalton@gmail.com)
1980 2007-11-06 Alexander Larsson <alexl@redhat.com>
1982 * gio/gappinfo.[ch]:
1983 Added GAppLaunchContext object and pass that to launch.
1984 This allows simple implementation of both
1985 launch-on-screen and startup notification via a gtk+
1986 subclass of GAppLaunchContext
1988 * gio/gdesktopappinfo.c:
1989 Implement GAppLaunchContext API
1991 * gio/gwin32appinfo.c:
1994 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1996 * gio/gmountoperation.c:
1997 Add some guards to GMountOperation's public functions.
1999 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2003 * gio/gcancellable.c:
2004 * gio/gdirectorymonitor.c:
2006 * gio/gfileenumerator.c:
2007 * gio/gfilemonitor.c:,
2008 * gio/gfilenamecompleter.c:
2011 * gio/gioscheduler.c:
2015 * gio/gvolumemonitor.c:
2016 Add even more guards to various public functions.
2018 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2021 Add guards to the public functions of GAppInfo.
2023 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2025 * gio/gcontenttype.c:
2026 Add some more guards for public functions.
2028 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2030 * gio/fam/fam-module.c:
2031 * gio/fam/gfamdirectorymonitor.c:
2032 * gio/fam/gfamdirectorymonitor.h:
2033 * gio/fam/gfamfilemonitor.c:
2034 * gio/fam/gfamfilemonitor.h:
2035 * gio/inotify/ginotifydirectorymonitor.c:
2036 * gio/inotify/ginotifydirectorymonitor.h:
2037 * gio/inotify/ginotifyfilemonitor.c:
2038 * gio/inotify/ginotifyfilemonitor.h:
2039 Add proper copyright information and remove an unused variable
2040 in the GInotifyFileMonitor constructor.
2042 * gio/gcancellable.c:
2043 Add a guard for a public function and an assertion to prevent
2044 an undefined program state.
2046 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2048 * gio/gfileattribute.c:
2049 Don't run into an assertion if the given attribute value is NULL
2050 in g_file_attribute_value_get_*() but instead return a fallback
2051 value that makes sense in most situations. Passing them a attribute
2052 value with the wrong type will still run into an assertion.
2054 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2056 * gio/gfileattribute.c:
2058 Add even more guards to the public functions. Also fix the refcounting
2059 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2060 let g_file_info_list_attributes() filter the attributes by namespace
2061 instead of simply ignoring the namespace parameter.
2063 2007-11-03 Sven Herzberg <sven@imendio.com>
2065 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2066 (This makes gio work on MacOS X again)
2068 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2071 Build the gio subdirectory before the docs. Otherwise the build will
2074 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2075 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2076 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2077 Add guards to the public functions.
2079 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2081 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2082 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2083 to prevent a compiler warning.
2085 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2086 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2087 return something in the non-void function find_topdir_for().
2089 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2096 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2098 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2099 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2100 * gwin32appinfo.c (g_win32_app_info_launch):
2101 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2102 envp_for_startup_id, g_desktop_app_info_launch,
2103 g_desktop_app_info_launch_uris):
2105 Give an opaque 'startup_id' string instead of 'envp'.
2106 Support empty file lists for launching new windows.
2107 Fix infinite recursion bug when launching URIs.
2109 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2112 Add guard to the new g_file_get_uri_scheme() function.
2114 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2117 Convert a g_return_val_if_fail() to setting the GError instead as
2118 otherwise applications have to verify the parameter before otherwise
2119 and the parameter might come directly from the user.
2121 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2123 * gio/inotify/ginotify*.[ch]:
2124 Add missing copyright information.
2126 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2129 Add guards in the beginning of public functions to check for valid
2130 parameters and fix a bug in copy_stream_with_progress() that could've
2131 caused writing less bytes than reading.
2132 * gio/glocalfileinfo.c:
2133 Check for a NULL parameter and set the GError accordingly then.
2134 * gio/goutputstream.c:
2135 Fix the same bug as in gfile.c that could've caused writing less bytes
2136 than reading in g_output_stream_real_splice().
2138 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2141 Use the correct gvolumeprivate.h naming
2143 2007-11-01 Christian Kellner <gicmo@gnome.org>
2146 Remove leftover "$(daemon_sources)" entry.
2148 2007-11-01 Christian Kellner <gicmo@gnome.org>
2153 Add copyright information to source files.
2155 2007-11-01 Alexander Larsson <alexl@redhat.com>
2159 Add g_file_get_uri_scheme
2161 2007-11-01 Alexander Larsson <alexl@redhat.com>
2164 * gio/gdesktopappinfo.c:
2165 * gio/gwin32appinfo.c:
2166 Add g_app_info_get_default_for_uri_scheme.
2168 2007-11-01 Alexander Larsson <alexl@redhat.com>
2171 Correct filename for gdriveprivate.h
2173 2007-10-31 Alexander Larsson <alexl@redhat.com>
2176 Rename id:value to id:file
2179 * gio/glocalfileinfo.c:
2182 2007-10-31 Alexander Larsson <alexl@redhat.com>
2184 * gio/gunixvolume.c:
2186 Remove g_volume_get_platform_id, as thats not
2187 needed with the simpler union volume monitor
2189 2007-10-31 Alexander Larsson <alexl@redhat.com>
2192 * gio/guniondrive.[ch]: Removed.
2193 * gio/gunionvolume.[ch]: Removed.
2194 Remove GUnionDrive/Volume
2196 * gio/gunionvolumemonitor.c:
2197 Simplify union volume monitor, now we
2198 only have one native volume monitor and
2199 we use the actual volumes/drives from the
2200 child monitors instead of wrapping them
2202 * gio/gnativevolumemonitor.[ch]:
2203 Base class for native volume monitors.
2204 Includes priority and get_volume_for_mountpoint
2207 Add g_file_find_enclosing_volume
2210 Remove volume name fs attribute
2211 Add readonly fs attribute
2214 Implement readonly attribute
2215 remove volume name attribute
2216 Implement find_enclosing volume
2218 * gio/gunixmounts.c:
2219 Add a volume for "/".
2221 * gio/gunixvolume.[ch]:
2222 Set better name for /
2224 * gio/gunixvolumemonitor.[ch]:
2225 Derive from GNativeVolumeMonitor
2226 Implement get_volume_for_mountpoint
2229 GVolume typedef moved to gfile.h
2231 * gio/gvolumeprivate.h:
2232 Add g_volume_get_for_mount_path
2234 2007-10-31 Alexander Larsson <alexl@redhat.com>
2236 * gio/gunixmounts.[ch]:
2237 Add cache info to unix mount listers
2238 Make getmntent use threadsafe
2239 Add is_system_internal attribute for GUnixMount
2241 * gio/gunixvolume.c:
2242 (g_unix_volume_new):
2243 Use is_system_internal instead of own code
2245 * gio/glocaldirectorymonitor.c:
2246 * gio/gunixvolumemonitor.c:
2247 Update to new gunixmounts API
2252 2007-10-30 Alexander Larsson <alexl@redhat.com>
2255 Add volume name fsinfo attribute
2258 Read volume name info
2260 * gio/gunionvolumemonitor.c:
2261 Fix infinite loops when finalizing a union volume monitor
2263 2007-10-30 Alexander Larsson <alexl@redhat.com>
2265 * gio/goutputstream.[ch]:
2266 Add splice() with default implementation
2268 * gio/gsocketoutputstream.c:
2269 (g_socket_output_stream_write):
2270 Return error on cancellation correctly.
2272 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2274 * gio/glocalfile.c (g_local_file_trash):
2275 Do not leak a string.
2277 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2279 * gio/gfile.c (g_file_load_contents):
2280 Unref the stream after closing it.
2282 2007-10-25 Alexander Larsson <alexl@redhat.com>
2284 * gio/gioscheduler.h:
2287 2007-10-25 Alexander Larsson <alexl@redhat.com>
2291 Add g_file_has_uri_scheme and implement for local files
2293 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2295 * gio/gdesktopappinfo.c: do not leak a string.
2297 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2299 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2300 (g_local_directory_monitor_new):
2301 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2302 (g_local_file_monitor_new):
2303 Only look for the monitor type that should be used the first time
2304 and use g_qsort_with_data() instead of our own bubble sort
2307 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2310 * gio/fam/Makefile.am:
2311 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2312 * gio/fam/fam-helper.h:
2313 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2314 * gio/fam/gfamdirectorymonitor.c:
2315 * gio/fam/gfamdirectorymonitor.h:
2316 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2317 * gio/fam/gfamfilemonitor.h:
2318 * gio/glocaldirectorymonitor.c:
2319 * gio/glocaldirectorymonitor.h:
2320 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2321 * gio/glocalfilemonitor.h:
2322 * gio/inotify/Makefile.am:
2323 * gio/inotify/ginotifydirectorymonitor.c:
2324 * gio/inotify/ginotifydirectorymonitor.h:
2325 * gio/inotify/ginotifyfilemonitor.c:
2326 * gio/inotify/ginotifyfilemonitor.h:
2327 Implement the FAM and Inotify monitors as
2328 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2329 their own GIO module. GLocal(Directory|File)Monitor will use the
2330 monitor with the highest rank that is supported on that machine.
2332 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2335 Change GIO module dir to $(libdir)/gio/modules and change
2336 the log domain from GVFS to GIO. Also only export symbols starting
2337 with g_ in the resulting library.
2338 * gio/test-streams.c: (main):
2339 Set log handler for the GIO log domain.
2341 2007-10-22 Alexander Larsson <alexl@redhat.com>
2343 * gio/gfilenamecompleter.[ch]:
2344 Add g_filename_completer_set_dirs_only
2346 2007-10-22 Alexander Larsson <alexl@redhat.com>
2349 * gio/gurifuncs.[ch]:
2350 Add some simple URI helpers
2352 * gio/gfilenamecompleter.[ch]:
2353 Added object for filename (parse name actually) completion
2356 Handle ~ in parse names
2358 2007-10-17 Alexander Larsson <alexl@redhat.com>
2361 * gio/glocalfileinfo.c:
2362 Add and implement id:value attribute
2364 2007-10-17 Alexander Larsson <alexl@redhat.com>
2367 * gio/guniondrive.c:
2369 Add and implement g_drive_has_volumes
2371 2007-10-17 Alexander Larsson <alexl@redhat.com>
2374 * gio/glocalfileinfo.[ch]:
2375 Add unix:is_mountpoint and implement for local files
2377 2007-10-16 Alexander Larsson <alexl@redhat.com>
2379 * gio/gunionvolumemonitor.c:
2380 (g_union_volume_monitor_init):
2381 Fix up the unix type getting so that it works with gcc
2383 2007-10-12 Alexander Larsson <alexl@redhat.com>
2386 * gio/glocalfileinfo.c:
2387 Add thumbnail:failed to file info
2389 2007-10-12 Richard Hult <richard@imendio.com>
2391 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2392 optimizing away the get_type call (happens with some gcc versions,
2393 like the one shipped with OS X 10.4).
2395 2007-10-12 Alexander Larsson <alexl@redhat.com>
2397 * gio/glocalfileinfo.c:
2398 (_g_local_file_info_set_attribute):
2399 Fix build if not HAVE_XATTR
2400 Patch from Milosz Derezynski <internalerror@gmail.com>
2402 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2404 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2405 around for review, otherwise I would have asked you before
2408 2007-10-11 Alexander Larsson <alexl@redhat.com>
2411 Add thumbnail:path attribute
2413 * gio/glocalfileinfo.c:
2414 Implement thumbnail:path for local files
2416 2007-10-11 Alexander Larsson <alexl@redhat.com>
2418 * gio/glocalfileinfo.c:
2419 (_g_local_file_info_get):
2420 Avoid duplicate icon names
2422 2007-10-11 Alexander Larsson <alexl@redhat.com>
2424 * gio/gthemedicon.[ch]:
2425 Change g_themed_icon_get_names return type to const
2427 2007-10-10 Alexander Larsson <alexl@redhat.com>
2429 * gio/glocalfileinfo.c:
2430 Don't reference freed memory
2432 2007-10-10 Alexander Larsson <alexl@redhat.com>
2434 * gio/gfileattribute.c:
2437 * gio/glocalfileinfo.c:
2440 2007-10-10 Alexander Larsson <alexl@redhat.com>
2443 Check for NULL icons
2445 * gio/gfileattribute.c:
2446 Don't dup when getting objects (same as for string attributes)
2448 * gio/gicon.c (g_icon_equal):
2449 Safely handle NULLs in equal
2451 2007-10-10 Alexander Larsson <alexl@redhat.com>
2454 Fix c++ compilation issues
2455 Patch from Milosz Derezynski <internalerror@gmail.com>
2457 2007-10-10 Alexander Larsson <alexl@redhat.com>
2459 * programs/gio-monitor-dir.c:
2460 Don't crash if dir monitor not supported.
2462 2007-10-09 Alexander Larsson <alexl@redhat.com>
2465 Add missing G_END_DECLS
2467 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2469 * gio/gfile.c: (g_file_set_display_name),
2470 (g_file_query_settable_attributes),
2471 (g_file_query_writable_namespaces):
2472 Return NULL not FALSE on errors as the return type is a pointer.
2474 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2476 * gio/glocalfile.c: (g_local_file_monitor_file):
2477 Don't call monitor_file on the default interface vtable (which
2478 is NULL) but simply return NULL. The caller, GFile, will create a
2479 polling monitor if NULL is returned.
2481 2007-10-09 Alexander Larsson <alexl@redhat.com>
2485 * gio-unix-2.0.pc.in:
2486 Add gio-unix-2.0.pc if OS_UNIX
2489 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2491 2007-10-09 Alexander Larsson <alexl@redhat.com>
2493 * gio/gunixmounts.[ch]:
2494 Make unix mount monitoring API sane.
2495 Now its just a object with mounts_changed
2496 and mountpoints_changed signals.
2498 * gio/glocaldirectorymonitor.c:
2499 * gio/gunixvolumemonitor.c:
2500 Use new mount monitor api
2502 2007-10-09 Alexander Larsson <alexl@redhat.com>
2504 * gio/gunixmounts.[ch]:
2505 Move guess type into one call for mounts and one for mountpoints
2508 * gio/gunixvolume.c:
2511 2007-10-09 Alexander Larsson <alexl@redhat.com>
2513 * gio/gunixmounts.[ch]:
2514 Remove _ prefix in preparation to make this semi-public
2515 Hide implementation of structs
2517 * gio/glocaldirectorymonitor.c:
2519 * gio/gunixvolume.c:
2520 * gio/gunixvolumemonitor.c:
2521 Update for above API changes
2523 2007-10-08 Alexander Larsson <alexl@redhat.com>
2526 Better polling fallback. This also handles the case where we have
2527 a monitor_file implementation, but it fails.
2529 2007-10-08 Alexander Larsson <alexl@redhat.com>
2533 * gio/gunixmounts.c:
2534 * programs/gio-monitor-dir.c:
2535 * programs/gio-monitor-file.c:
2536 Added cancellable to file monitoring calls.
2537 These are really sync calls and need this.
2539 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2541 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2542 (g_local_vfs_class_init):
2543 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2544 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2546 2007-10-05 Alexander Larsson <alexl@redhat.com>
2548 * gio/gdirectorymonitorprivate.h:
2549 * gio/gfilemonitorprivate.h:
2550 * gio/gdirectorymonitor.h:
2551 * gio/gfilemonitor.h:
2552 Remove *private.h and move to the public API, so that
2553 we can do implementations outside gio (such as in gvfs)
2555 * gio/gdirectorymonitor.c:
2556 * gio/gfilemonitor.c:
2557 * gio/glocaldirectorymonitor.c:
2558 * gio/gpollfilemonitor.c:
2559 * gio/inotify/inotify-helper.c:
2560 * gio/fam/fam-helper.c:
2561 Update to the new header names
2563 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2565 * gio/gdirectorymonitor.c:
2566 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2569 2007-10-04 Alexander Larsson <alexl@redhat.com>
2571 * gio/glocalfileinfo.c (get_access_rights):
2572 Set CAN_TRASH when we can move the file.
2573 We should really also check for a parent trash dir.
2575 2007-10-04 Alexander Larsson <alexl@redhat.com>
2577 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2578 Add can_trash access attribute
2580 2007-10-04 Alexander Larsson <alexl@redhat.com>
2583 (g_local_file_trash):
2584 Create info file first. This is per-spec and allows
2585 us to actually trash directories.
2587 2007-10-02 Alexander Larsson <alexl@redhat.com>
2589 * gio/gdesktopappinfo.c:
2590 Implement the new mime support code.
2591 Always set app as handling mimetype when being set as default for it
2593 2007-10-01 Alexander Larsson <alexl@redhat.com>
2595 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2596 Fix up check for xattrs:
2598 2007-10-01 Alexander Larsson <alexl@redhat.com>
2601 (g_app_info_set_as_default_for_extension):
2602 (g_app_info_add_supports_type):
2603 (g_app_info_can_remove_supports_type):
2604 (g_app_info_remove_supports_type):
2605 Make these fail nicely if not implemented
2607 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2609 * gio/glocalfileoutputstream.c:
2610 * gio/glocalfileoutputstream.h:
2615 * programs/gio-save.c:
2616 Add a GFileCreateFlags argument to operations that can create
2619 2007-10-01 Alexander Larsson <alexl@redhat.com>
2621 * gio/gappinfo.[ch]:
2622 * gio/gdesktopappinfo.c:
2623 Add more (stubbed out) mime API needed for nautilus
2625 2007-10-01 Alexander Larsson <alexl@redhat.com>
2628 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2629 Add g_app_info_set_as_default_for_extension.
2631 * gio/gdesktopappinfo.c:
2632 Dummy for g_app_info_set_as_default_for_extension
2633 Support flags in g_app_info_create_from_commandline
2635 * gio/gwin32appinfo.c:
2637 Update for API changes
2639 * gio/gthemedicon.c:
2640 Properly NULL-terminate list of icon names
2642 2007-09-28 Alexander Larsson <alexl@redhat.com>
2644 * gio/gloadableicon.h:
2645 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2647 2007-09-28 Alexander Larsson <alexl@redhat.com>
2650 Install headers in $includedir/gio-standalone/
2652 * gio-2.0.pc.in: Added.
2653 * gio-standalone.pc.in: Removed.
2656 Renamed pkg-config file to match glib (for future move)
2657 Update to the new include dir
2660 Add more TODO comments
2662 2007-09-28 Alexander Larsson <alexl@redhat.com>
2664 * gio/gdesktopappinfo.[ch]:
2665 Expose new_from_filename
2666 Add getter for is_hidden and handle it better
2668 2007-09-28 Alexander Larsson <alexl@redhat.com>
2670 * gio/gfileinfo.[ch]:
2671 Rename g_file_size_format_for_display to
2672 g_format_file_size_for_display.
2673 Now it doesn't have the g_file prefix, so we
2674 can later move it to glib.
2676 2007-09-28 Alexander Larsson <alexl@redhat.com>
2678 * gio/gappinfo.[ch]:
2679 Add g_app_info_get_id and g_app_info_get_executable.
2680 Make all getters non-reffing
2681 Make g_app_info_launch take GFile arguments.
2682 Add must_support_uris argument to g_app_info_get_default_for_type.
2684 * gio/gwin32appinfo.c:
2685 Update to GAppInfo api changes
2687 * gio/gdesktopappinfo.c:
2688 Update to GAppInfo api changes
2689 Implement supports_xdg_startup_notify
2691 * gio/gfileicon.c (g_file_icon_get_file):
2692 Make getter non-reffing.
2697 2007-09-27 Alexander Larsson <alexl@redhat.com>
2699 * gio/gfileinfo.[ch]:
2700 Add g_file_size_format_for_display helper
2702 2007-09-27 Alexander Larsson <alexl@redhat.com>
2704 * gio/glocalfileinfo.c:
2705 Set UNIX_GID from gid, not from uid
2707 2007-09-27 Alexander Larsson <alexl@redhat.com>
2710 Add g_file_set_attributes_async
2712 2007-09-27 Alexander Larsson <alexl@redhat.com>
2714 * gio/glocalfile.c (g_local_file_set_display_name):
2715 Fix set_display_name to actually rename to the right place.
2716 Use lstat to look for existing files so we don't overwrite
2719 2007-09-26 Alexander Larsson <alexl@redhat.com>
2722 Add g_file_set_display_name_async()
2724 2007-09-26 Alexander Larsson <alexl@redhat.com>
2727 Add load_partial_contents async calls
2730 Make internal function static
2732 2007-09-26 Alexander Larsson <alexl@redhat.com>
2734 * gio/glocalfileinfo.c:
2735 Correctly detect broken symlinks
2737 2007-09-26 Alexander Larsson <alexl@redhat.com>
2739 * gio/gcancellable.c (g_cancellable_cancel):
2740 Allow cancel on NULL cancellable
2742 2007-09-25 Alexander Larsson <alexl@redhat.com>
2744 * gio/gsimpleasyncresult.c:
2745 Don't allocate g_error manually.
2746 Fixes g_slice/g_new mixup crash
2748 2007-09-25 Alexander Larsson <alexl@redhat.com>
2750 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2751 Actually set active_backend.
2752 This means the monitor will be cancelled correctly.
2754 2007-09-25 Alexander Larsson <alexl@redhat.com>
2756 * gio/gdirectorymonitor.c:
2757 Set timeout to NULL when destroying
2759 2007-09-25 Alexander Larsson <alexl@redhat.com>
2762 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2763 that is a better description of the error.
2765 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2767 * gio/gvfs.c: (g_vfs_get_local):
2768 Make the local vfs variable static. The same instance should
2771 2007-09-24 Alexander Larsson <alexl@redhat.com>
2773 * gio/glocalfileinfo.c:
2774 Pass in actual length read into sniffer, not the length
2777 2007-09-21 Alexander Larsson <alexl@redhat.com>
2779 * gio/gfileenumerator.c:
2782 * gio/gfileinputstream.c:
2783 * gio/gfileoutputstream.c:
2784 * gio/ginputstream.c:
2785 * gio/goutputstream.c:
2786 Don't crash if async callbacks are NULL
2788 2007-09-20 Alexander Larsson <alexl@redhat.com>
2791 Add async enumerate_children method and default
2794 2007-09-20 Alexander Larsson <alexl@redhat.com>
2797 Add g_file_contains_file & g_file_get_relative_path, since they
2798 were needed for nautilus.
2799 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2804 Implement new methods
2806 2007-09-17 Alexander Larsson <alexl@redhat.com>
2809 * gio/gfileinputstream.[ch]:
2810 * gio/gfileoutputstream.[ch]:
2812 * gio/glocalfileenumerator.[ch]:
2813 * gio/glocalfileinfo.[ch]:
2814 * gio/glocalfileinputstream.c:
2815 * gio/glocalfileoutputstream.c:
2816 * gio/gpollfilemonitor.c:
2817 * programs/gio-copy.c:
2818 * programs/gio-info.c:
2819 * programs/gio-move.c:
2820 Rename get_file_info to query_info() to make it clearer
2821 that these are not simple getters, but do i/o.
2823 2007-09-17 Alexander Larsson <alexl@redhat.com>
2825 * gio/gdatainputstream.[ch]:
2826 * gio/test-streams.c:
2827 Use _read_XXX instead of _get_XXX for the i/o calls
2830 2007-09-17 Alexander Larsson <alexl@redhat.com>
2833 Added needed stuff to TODO comment
2835 2007-09-17 Alexander Larsson <alexl@redhat.com>
2837 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2838 Don't error out removing the backup copy if it doesn't
2841 2007-09-14 Alexander Larsson <alexl@redhat.com>
2843 * programs/Makefile.am:
2844 * programs/gvfs-*.c:
2846 Renamed apps from gvfs-xxx to gio-xxx.
2848 2007-09-14 Alexander Larsson <alexl@redhat.com>
2851 * gio/gfileoutputstream.[ch]:
2852 * gio/glocalfileoutputstream.c:
2853 * programs/gvfs-save.c:
2854 g_file_output_stream_get_etag doesn't do i/o, so remove
2855 cancellation and error.
2857 2007-09-14 Alexander Larsson <alexl@redhat.com>
2860 Add new_etag output to replace_contents functions
2862 2007-09-14 Alexander Larsson <alexl@redhat.com>
2864 * gio/gfileoutputstream.[ch]:
2865 Add async get_file_info and default implementation
2867 2007-09-14 Alexander Larsson <alexl@redhat.com>
2869 * gio/gfileinputstream.c:
2870 Implement fallback wrapper for async get_file_info
2872 2007-09-14 Alexander Larsson <alexl@redhat.com>
2875 Add etag out argument to load_contents
2880 2007-09-14 Alexander Larsson <alexl@redhat.com>
2882 * gio/gcontenttype.c (looks_like_text):
2883 Whitespace like tab, cr and lf do not make the
2886 2007-09-14 Alexander Larsson <alexl@redhat.com>
2888 * gio/gfileinputstream.[ch]:
2889 Add async get_file_info.
2891 2007-09-13 Alexander Larsson <alexl@redhat.com>
2893 * gio/goutputstream.c (g_output_stream_write_all):
2894 Allow NULL for bytes_written
2896 2007-09-13 Alexander Larsson <alexl@redhat.com>
2898 * gio/gmemoryinputstream.[ch]:
2899 Add accessors for data
2901 2007-09-13 Alexander Larsson <alexl@redhat.com>
2903 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2904 Don't crash if length is NULL