1 2008-01-14 Alexander Larsson <alexl@redhat.com>
4 Clean up docs and example for GAsyncResult (#508074)
6 2008-01-11 Murray Cumming <murrayc@murrayc.com>
8 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
9 and correct some spelling mistakes. Bug #508108.
11 2008-01-11 Matthias Clasen <mclasen@redhat.com>
13 * glocalfileinfo.c: Add a comment.
15 2008-01-10 Murray Cumming <murrayc@murrayc.com>
17 * gfileinfo.c: GFileInfo description: Mention
18 how to actually set attributes in a GFile and how to discover
19 which attributes are settable. Bug #508378.
21 2008-01-10 A. Walton <awalton@svn.gnome.org>
23 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
24 (g_app_info_get_default_for_type):
25 Check for NULL content types.
27 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
29 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
31 2008-01-09 Murray Cumming <murrayc@murrayc.com>
33 * gfile.c: *_async() functions: Several small corrections
34 to the documentation, mostly correcting copy/paste errors
35 and improving some sentences.
37 2008-01-09 Dan Winship <danw@gnome.org>
39 * glocalfile.c (get_unique_filename): x86_64 fix
41 2008-01-09 Alexander Larsson <alexl@redhat.com>
46 Add g_unix_mount_guess_should_display and use
47 for unix volume monitor backend.
48 This means we more or less show what the
49 gnome-vfs backend did.
50 Based on patch from Padraig O'Briain
52 2008-01-09 Alexander Larsson <alexl@redhat.com>
56 Add g_themed_icon_new_with_default_fallbacks
59 Use default fallbacks for icons
61 2008-01-09 Alexander Larsson <alexl@redhat.com>
64 * gmountoperation.[ch]:
65 Change the API a bit so that unhandled methods
66 get reported via the reply, rather than by
67 the signal emission return value. This is because
68 some handlers can't know this immediately without
69 doing I/O, and this is an async operation that
72 2008-01-09 Alexander Larsson <alexl@redhat.com>
75 * fam/gfamdirectorymonitor.c:
76 * fam/gfamfilemonitor.c:
77 Fix double free crash (#508224)
78 Patch from Joe Marcus Clarke
80 008-01-07 Matthias Clasen <mclasen@redhat.com>
82 * === Released 2.15.1 ===
84 2008-01-07 Alexander Larsson <alexl@redhat.com>
86 * gunixinputstream.c (g_unix_input_stream_skip_finish):
89 2008-01-07 Alexander Larsson <alexl@redhat.com>
92 Pass --internal to glib-genmarshal
97 Use better types for signal arguments (#507822)
99 2008-01-07 Alexander Larsson <alexl@redhat.com>
102 Build test subdir after .
103 Remove gdirectorymonitor.[ch]
105 * gdirectorymonitor.[ch]:
109 Remove GDirectoryMonitor and make
110 GFileMonitor the baseclass for both file and
111 directory monitors. Lift the more generic
112 rate limiting code from GDirectoryMonitor
116 * fam/gfamdirectorymonitor.[ch]:
117 * inotify/ginotifydirectorymonitor.[ch]:
118 * inotify/inotify-helper.c:
119 * glocaldirectorymonitor.[ch]:
122 Update for the removed GDirectoryMonitor.
124 * gmemoryoutputstream.c:
125 Remove ununsed variable
127 2008-01-07 Alexander Larsson <alexl@redhat.com>
129 * gmemoryinputstream.c:
130 Translate error strings
133 * gmemoryoutputstream.[ch]:
134 New implementation that avoids using GByteArray
135 in implementation and API. (#506377)
137 2008-01-06 Matthias Clasen <mclasen@redhat.com>
139 * tests/*: Add a test for memory input streams.
141 * Makefile.am: Add tests to SUBDIRS.
143 2008-01-06 Matthias Clasen <mclasen@redhat.com>
145 * glocalfilemonitor.c:
146 * glocaldirectorymonitor.c: Mark property nicks and blurbs
149 2008-01-06 Matthias Clasen <mclasen@redhat.com>
151 * gdesktopappinfo.c: Fix a docs typo.
153 * gfileattribute.c: Add information about extended attributes
154 to the documentation. (#505058)
156 2008-01-04 Alexander Larsson <alexl@redhat.com>
160 Use the right type (uint) for the ask_password signal.
162 2008-01-04 Alexander Larsson <alexl@redhat.com>
167 Add g_app_info_supports_files()
168 Remove desktop arg from g_app_info_should_show().
170 * gdesktopappinfo.[ch]:
171 Implement g_app_info_supports_files() and new should_show()
172 Add g_desktop_app_info_set_desktop_env() to set the desktop
173 for should_show(). (This will be set by gtk+ later)
175 2008-01-04 Alexander Larsson <alexl@redhat.com>
178 * gmemoryinputstream.[ch]:
179 Improve API so that you can use multiple chunks
180 of memory and custom destroy functions. (#506374)
182 2008-01-03 Alexander Larsson <alexl@redhat.com>
185 Handle NULL attribute matchers safely, as we return this
186 for empty attribute matcher strings.
188 2008-01-03 Alexander Larsson <alexl@redhat.com>
190 * gunixmounts.c (g_unix_is_mount_path_system_internal):
191 Add /usr/local to list of internal mountpoints
193 2008-01-03 Alexander Larsson <alexl@redhat.com>
196 Check for HAVE_LCHOWN (#505887)
198 2008-01-03 Alexander Larsson <alexl@redhat.com>
202 Add define for selinux context attribute.
203 Fix missing : -> :: namespace separator change
204 Fix missing _ -> - name change for xattr-sys.
207 2008-01-03 Alexander Larsson <alexl@redhat.com>
210 Link to libglib and libgobject directly (#504879)
211 Patch from Sebastien Bacher
213 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
215 * gfile.c: Expanded the g_file_new_for_commandline_arg
216 description a bit, based on the code and the docs of the
217 other g_file_new_for_* functions.
219 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
221 * gfilemonitor.h: Fixed typo in docs.
223 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
225 Updates to GIO documentation. (#506395, Mikael Hermansson)
227 * gcontenttype.c: Describe memory management for return value of
228 g_content_types_get_registered(). Missing piece from #505815.
229 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
230 GVolume, GDrive, GMounts, which hopefully gives the user less
231 confusions when using this API. Following explainations from
232 Alexander Larsson on gtk-devel-list.
234 2007-12-30 Matthias Clasen <mclasen@redhat.com>
236 * gfileinfo.c: Expand the long description.
238 2007-12-30 Matthias Clasen <mclasen@redhat.com>
241 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
242 fix builds with --disable-visibility. (#500273, Christian Persch)
244 2007-12-30 Matthias Clasen <mclasen@redhat.com>
246 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
247 in the list of returned app infos.
249 2007-12-30 Matthias Clasen <mclasen@redhat.com>
251 * gappinfo.c: Fix a cross-reference
253 2007-12-30 Matthias Clasen <mclasen@redhat.com>
255 * gfileinputstream.c:
256 * gfileoutputstream.c:
262 * gfileinfo.c: Documentation updates.
264 2007-12-26 Matthias Clasen <mclasen@redhat.com>
266 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
269 2007-12-26 Matthias Clasen <mclasen@redhat.com>
271 * gcontenttype.c (g_content_types_get_registered): Don't return
272 freed memory (#505815, Mikael Hermansson)
274 2007-12-25 Paolo Borelli <pborelli@katamail.com>
276 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
277 used to detect statbuf->st_blocks. (#505042)
279 2007-12-24 Matthias Clasen <mclasen@redhat.com>
281 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
282 environment handling. (#504829, Cosimo Cecchi)
284 2007-12-22 Matthias Clasen <mclasen@redhat.com>
286 * gappinfo.c: Doc improvements
288 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
291 2007-12-20 Matthias Clasen <mclasen@redhat.com>
293 * === Released 2.15.0 ===
295 2007-12-20 Hans Breuer <hans@breuer.org>
297 * makefile.msc : don't build gdesktopappinfo.obj, it collides
298 with symbols gwin32appinfo.obj, added gmount.obj
299 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
301 2007-12-20 Alexander Larsson <alexl@redhat.com>
307 * gfilenamecompleter.c:
310 * gpollfilemonitor.c:
311 File attribute renames:
314 id::fs -> id::filesystem
316 2007-12-20 Alexander Larsson <alexl@redhat.com>
325 Add GMountUnmountFlags to all unmount and
327 Add g_mount_remount() call.
329 2007-12-20 Alexander Larsson <alexl@redhat.com>
331 * gvfs.c (get_default_vfs):
332 Fix unused variable warning
334 2007-12-19 Matthias Clasen <mclasen@redhat.com>
336 * pltcheck.sh: Update
338 2007-12-19 Matthias Clasen <mclasen@redhat.com>
340 * gunionvolumemonitor.c:
341 * gunixmount.c: Remove C99 comments
343 2007-12-19 Matthias Clasen <mclasen@redhat.com>
345 * gio.symbols: Add some missing symbols
347 2007-12-19 Alexander Larsson <alexl@redhat.com>
350 Make g_io_modules_load_all_in_directory not unuse
351 loaded modules so that users of it can do stuff
353 Init internal "module" types.
354 Initialize static prio and name for types so that
355 we don't have to load modules to get it.
357 * gnativevolumemonitor.h:
359 Move is_supported to parent class so that
360 non-native monitors can avoid being initialized
361 too. (For instance GDaemonVolumeMonitor if we're
362 not using GDaemonVfs.)
364 * glocaldirectorymonitor.[ch]:
365 * glocalfilemonitor.[ch]:
366 * gunionvolumemonitor.c:
367 * gunixvolumemonitor.c:
369 Find plugins using the static prio+name to
370 avoid unnecessarily loading the modules.
372 2007-12-19 Alexander Larsson <alexl@redhat.com>
377 2007-12-19 Alexander Larsson <alexl@redhat.com>
379 * gunionvolumemonitor.c:
380 Store the native type as GType, not class so that
381 we can unload it. But still avoid unnecessarily
384 2007-12-19 David Zeuthen <davidz@redhat.com>
386 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
387 add signals 'disconnected' and 'eject-button' on GDrive. Add
388 signal 'removed' on GVolume and 'unmounted' on GMount.
390 * gdrive.c: (g_drive_base_init):
392 * gfile.c: (g_file_mount_mountable),
393 (g_file_mount_enclosing_volume):
396 * gmount.c: (g_mount_base_init):
398 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
399 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
400 * gvolume.c: (g_volume_base_init), (g_volume_mount):
404 2007-12-17 Matthias Clasen <mclasen@redhat.com>
406 * *.c: Fix up includes in the section docs.
408 2007-12-17 Alexander Larsson <alexl@redhat.com>
410 * gnativevolumemonitor.h:
411 * gunionvolumemonitor.c:
412 * gunixvolumemonitor.c:
413 Add is_supported() to GNativeVolumeMonitorClass so
414 that we can avoid having to create an object to see
415 if the backend is supported at runtime.
416 Also add name member and an env var to pick a specific
417 volume monitor backend.
421 Add cancellable to _g_mount_get_for_mount_path()
423 * glocaldirectorymonitor.c:
424 * glocalfilemonitor.c:
425 Avoid loading and unloading modules while sorting.
427 2007-12-17 Matthias Clasen <mclasen@redhat.com>
430 * gunixmounts.[hc]: Namespace waste reduction, move some
431 g_get_unix_mount functions to the g_unix_mount namespace.
434 * gunixvolumemonitor.c:
436 * glocaldirectorymonitor.c: Update all callers.
438 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
440 2007-12-17 Alexander Larsson <alexl@redhat.com>
443 Add doc comments about what GFile operations are
444 guaranteed to not block.
446 2007-12-17 Alexander Larsson <alexl@redhat.com>
449 Add missing #ifdef fixing OSX build.
450 (#503334, patch from Richard Hult)
452 2007-12-14 David Zeuthen <davidz@redhat.com>
456 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
457 (g_mount_eject), (g_mount_eject_finish):
459 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
460 (get_volume_for_uuid), (get_mount_for_uuid),
461 (g_union_volume_monitor_class_init),
462 (get_default_native_type_with_exclude), (get_default_native_type),
463 (get_native_type), (update_native_type),
464 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
465 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
466 (g_unix_mount_can_eject), (eject_unmount_cb),
467 (eject_unmount_read_error), (eject_unmount_do),
468 (g_unix_mount_unmount), (g_unix_mount_eject),
469 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
470 * gunixmounts.c: (g_unix_mount_guess_can_eject),
471 (g_unix_mount_point_guess_can_eject):
473 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
474 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
475 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
476 (g_unix_volume_mount), (g_unix_volume_eject),
477 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
478 * gunixvolumemonitor.c: (get_volume_for_uuid),
479 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
481 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
482 (g_volume_eject), (g_volume_eject_finish):
484 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
485 (g_volume_monitor_get_mount_for_uuid):
488 Provide eject() on both GMount and GVolume and utility functions
489 to guess whether a GUnixMountPoint or GUnixMountEntry should be
490 ejected. Introduce the concept of UUID's and wire it into GVolume
491 and GMount and provide API on GVolumeMonitor to find such
492 instances. Also handle the case where an external
493 GNativeVolumeMonitor fails to initialize. Lock around the
494 _g_get_mount_for_mount_path() function such that volume monitor
495 implementations won't have to do locking themselves.
497 2007-12-17 Matthias Clasen <mclasen@redhat.com>
505 * gvolume.h: Documentation updates
507 2007-12-14 Matthias Clasen <mclasen@redhat.com>
510 * gfile.h: Doc updates
512 2007-12-14 Matthias Clasen <mclasen@redhat.com>
515 * gdesktopappinfo.c: Use hash table iterators.
517 2007-12-14 Alexander Larsson <alexl@redhat.com>
520 * gfileattribute.[ch]:
521 * gfileattribute-priv.h:
522 Move GFileAttributeValue to a private header, as
526 Make set_attribute take a type + a pointer instead
527 of a GFileAttributeValue.
530 Fix up for above changes.
531 Add g_file_info_get_attribute_data to get
532 all info in one call, g_file_info_get_attribute_status
533 to get the status and g_file_info_get_attribute_as_string.
537 * glocalfileinfo.[ch]:
541 Make _guess_type static.
543 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
546 * inotify/Makefile.am: Fixed build when srcdir != builddir,
547 made mkenums and friends use temporary files to avoid leaving
548 empty generated files on failure (#503470).
550 2007-12-14 Alexander Larsson <alexl@redhat.com>
555 2007-12-14 Alexander Larsson <alexl@redhat.com>
559 * gfileattribute.[ch]:
562 * glocalfileoutputstream.c:
563 * gmountoperation.[ch]:
564 * goutputstream.[ch]:
565 Clean up all flags enums to not have _FLAGS in them
566 Make the names of some of the enums better.
571 2007-12-14 Michael Natterer <mitch@imendio.com>
573 * gio.symbols: fix g_io_scheduler symbol names.
575 2007-12-14 Alexander Larsson <alexl@redhat.com>
581 * gbufferedinputstream.h:
582 * gbufferedoutputstream.h:
585 * gdatainputstream.h:
586 * gdataoutputstream.h:
588 * gdirectorymonitor.h:
595 * gfileinputstream.h:
597 * gfilenamecompleter.h:
598 * gfileoutputstream.h:
599 * gfilterinputstream.h:
600 * gfilteroutputstream.h:
608 * gmemoryinputstream.h:
609 * gmemoryoutputstream.h:
614 * gsimpleasyncresult.h:
616 * gunixinputstream.h:
618 * gunixoutputstream.h:
622 * inotify/Makefile.am:
623 Only allow including <gio/gio.h> from apps
625 2007-12-14 Alexander Larsson <alexl@redhat.com>
628 * gsimpleasyncresult.c:
629 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
630 Split out the send_to_mainloop call into two versions instead
631 of having the block argument.
633 2007-12-13 Alexander Larsson <alexl@redhat.com>
637 * gbufferedinputstream.c:
639 * gfileinputstream.c:
640 * gfileoutputstream.c:
644 g_push/pop_current_cancellable ->
645 g_cancellable_push/pop_current
647 2007-12-13 Alexander Larsson <alexl@redhat.com>
651 Rename g_mount_for_location to g_file_mount_enclosing_volume.
653 2007-12-13 Alexander Larsson <alexl@redhat.com>
656 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
658 2007-12-12 Alexander Larsson <alexl@redhat.com>
661 Fix race condition when freeing proxy in
662 g_io_job_send_to_mainloop().
664 2007-12-12 Alexander Larsson <alexl@redhat.com>
670 Make attribute namespace separator "::" instead of ":".
671 Use - instead of _ as separator in attribute names.
673 2007-12-12 Alexander Larsson <alexl@redhat.com>
675 * gbufferedinputstream.h:
676 * gbufferedoutputstream.h:
677 * gdatainputstream.h:
678 * gdataoutputstream.h:
679 * gdirectorymonitor.h:
681 * gfileinputstream.h:
683 * gfileoutputstream.h:
684 * gfilterinputstream.h:
685 * gfilteroutputstream.h:
687 * glocalfileinputstream.h:
688 * glocalfileoutputstream.h:
689 * gmemoryinputstream.h:
690 * gmemoryoutputstream.h:
691 * gnativevolumemonitor.h:
693 * gunixinputstream.h:
694 * gunixoutputstream.h:
697 s/parent/parent_instance/ in GObjects
699 2007-12-12 Alexander Larsson <alexl@redhat.com>
704 No need for padding for interfaces
706 2007-12-12 Alexander Larsson <alexl@redhat.com>
710 * gbufferedinputstream.c:
711 * gbufferedoutputstream.c:
714 * gdatainputstream.[ch]:
716 * gdirectorymonitor.c:
718 * gfileattribute.[ch]:
721 * gfileinputstream.h:
723 * gfileoutputstream.[ch]:
724 * gfilterinputstream.h:
725 * gfilteroutputstream.h:
728 * gloadableicon.[ch]:
729 * gmemoryinputstream.c:
732 Fix up a bunch of details in the docs.
737 2007-12-11 David Zeuthen <davidz@redhat.com>
739 Rework how volumes, drives and volume monitoring is
740 done. Previosly the model was
744 where a GDrive instance represented a mount point and a GVolume
745 instance represented a mounted file system. This patch changes it
748 GDrive <1-N> GVolume <1-1> GMount
750 where GMount now serves the purpose of the old GVolume and the new
751 GVolume serves the purpose of the old GDrive. In addition the new
752 GDrive interface is used to represent a collection of GVolume
753 instances (typically partitions) and also contains utility to query
754 the state of the physical drive the GDrive object represents (such
755 as checking for media, polling the drive, ejecting the media etc.).
757 Also implement mounting and unmounting in the Unix volume monitor
758 backend. A subquent patch will introduce GDrive support for ejection
762 * gdrive.c: (g_drive_is_media_check_automatic),
763 (g_drive_is_media_removable), (g_drive_has_media),
764 (g_drive_can_poll_for_media), (g_drive_eject),
765 (g_drive_eject_finish), (g_drive_poll_for_media),
766 (g_drive_poll_for_media_finish):
768 * gfile.c: (g_file_find_enclosing_mount):
771 * glocaldirectorymonitor.c:
772 (g_local_directory_monitor_constructor), (mounts_changed):
773 * glocalfile.c: (get_mount_info),
774 (g_local_file_find_enclosing_mount),
775 (g_local_file_file_iface_init):
776 * gnativevolumemonitor.h:
777 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
778 (get_connected_drives), (g_union_volume_monitor_class_init),
779 (child_volume_added), (child_volume_removed),
780 (child_volume_changed), (child_mount_added), (child_mount_removed),
781 (child_mount_pre_unmount), (child_mount_changed),
782 (child_drive_changed), (g_union_volume_monitor_add_monitor),
783 (g_union_volume_monitor_remove_monitor),
784 (_g_mount_get_for_mount_path):
785 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
786 (guess_system_internal), (_g_get_unix_mounts),
787 (_g_get_unix_mount_points), (g_get_unix_mount_at),
788 (g_unix_mount_free), (g_unix_mount_compare),
789 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
790 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
791 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
792 (type_to_icon), (g_unix_mount_guess_name),
793 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
794 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
795 (_resolve_symlink), (_resolve_dev_root):
797 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
798 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
799 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
800 (g_unix_volume_get_name), (g_unix_volume_can_mount),
801 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
802 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
803 (g_unix_volume_mount), (g_unix_volume_mount_finish),
804 (g_unix_volume_volume_iface_init):
806 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
807 (get_mounts), (get_volumes), (get_connected_drives),
808 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
809 (mountpoints_changed), (mounts_changed),
810 (g_unix_volume_monitor_init),
811 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
812 (find_mount_by_mountpath), (update_volumes), (update_mounts):
813 * gunixvolumemonitor.h:
814 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
815 (g_volume_mount), (g_volume_mount_finish):
817 * gvolumemonitor.c: (g_volume_monitor_class_init),
818 (g_volume_monitor_get_connected_drives),
819 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
822 2007-12-10 Matthias Clasen <mclasen@redhat.com>
824 * gmountoperation.h (GPasswordFlags): Close the gap
826 2007-12-10 Matthias Clasen <mclasen@redhat.com>
828 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
830 * gdesktopappinfo.[hc]: Remove _-prefixes
832 2007-12-10 Tor Lillqvist <tml@novell.com>
834 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
837 2007-12-10 Alexander Larsson <alexl@redhat.com>
839 * gfile.c (g_file_set_display_name):
840 Don't hardcode '/' (#502727)
842 2007-12-09 Hans Breuer <hans@breuer.org>
844 * makefile.msc : follow lib naming convention
845 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
846 for user and group name, tested with ../tests/gio-ls
848 2007-12-09 A. Walton <awalton@svn.gnome.org>
861 * gmemoryinputstream.c:
862 * gmemoryoutputstream.c:
864 * gsimpleasyncresult.c:
865 More documentation cleanup and filling in missing information, bringing
866 GIO to 99% symbol coverage.
868 2007-12-08 Hans Breuer <hans@breuer.org>
870 [gio compiles and links on win32, not sure how much already works]
871 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
872 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
873 base on win32 API; prefer g_lstat() over lstat(); instead of
874 localtime_r() use an all GLib implementation on win32;
875 get_mount_info() still needs a win32 specifc implementation
876 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
877 win32_get_file_user_info to get owner/group info without uid/gid
878 * glocalfileinputstream.c : include <io.h> on win32
879 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
880 definition, use g_win32_ftruncate() for G_OS_WIN32
881 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
882 it is available with mingw/w32api but a mess with the M$ Platform SDKs
883 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
884 * makefile.msc : updated
886 2007-12-07 Alexander Larsson <alexl@redhat.com>
888 * glocalfileenumerator.c (_g_local_file_enumerator_new):
889 Avoid warning spew if error == NULL
891 2007-12-07 Alexander Larsson <alexl@redhat.com>
894 Update docs wrt etags
896 2007-12-06 Alexander Larsson <alexl@redhat.com>
899 Include sys/types.h for dev_t (#501919)
901 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
905 Make abicheck and pltcheck pass.
907 2007-12-05 Alexander Larsson <alexl@redhat.com>
910 * giomodule-priv.h: Added.
911 * glocaldirectorymonitor.c:
912 * glocalfilemonitor.c:
913 * gunionvolumemonitor.c:
915 Actually add the declaration of _g_io_modules_ensure_loaded
917 2007-12-05 Alexander Larsson <alexl@redhat.com>
919 * gdatainputstream.c:
924 * glocaldirectorymonitor.c:
925 * glocalfilemonitor.c:
926 * gunionvolumemonitor.c:
928 Make g_io_modules_ensure_loaded a private function and
929 don't pass in the dirname. This means we can do magic
930 directory finding in the win32 version.
931 Export the actual load-modules-in-directory code so that
934 2007-12-05 Alexander Larsson <alexl@redhat.com>
936 * gbufferedinputstream.c:
937 * gbufferedoutputstream.c:
940 * gfileenumerator.[ch]:
941 * gfileinputstream.c:
942 * gfileoutputstream.[ch]:
943 * gfilterinputstream.c:
944 * gfilteroutputstream.c:
947 * glocalfileenumerator.c:
948 * glocalfileinputstream.c:
949 * glocalfileoutputstream.c:
950 * gmemoryinputstream.c:
951 * gmemoryoutputstream.c:
952 * goutputstream.[ch]:
955 * gunixinputstream.c:
956 * gunixoutputstream.c:
957 Rename all struct members named:
958 read, write, close, truncate, or mount
959 to foo_fn, as these are reserved names
960 and could be defined as macros in libc.
963 2007-12-04 Alexander Larsson <alexl@redhat.com>
966 (g_output_stream_close):
967 Only call flush if non-null.
969 2007-11-30 Dan Winship <danw@gnome.org>
971 * ginputstream.c (g_input_stream_set_pending): Make this take a
972 GError and return a gboolean, and do the "outstanding operation"
973 check (and the "stream is already closed" check) itself.
974 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
976 * goutputstream.c (g_output_stream_set_pending)
977 (g_output_stream_clear_pending): Likewise
979 * gbufferedinputstream.c:
980 * gfileinputstream.c:
981 * gfileoutputstream.c: Update for that
983 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
984 Like g_simple_async_report_error_in_idle, but takes a GError
985 rather than building one.
987 2007-11-30 Dan Winship <danw@gnome.org>
989 * goutputstream.c: Don't cheat and unset the "pending" flag around
990 inner calls. Instead, call the class method directly rather than
991 the wrapper function that checks "pending"
993 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
995 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
997 2007-12-03 Hans Breuer <hans@breuer.org>
999 [start of port to win32/msvc]
1000 * gcancellable.c : HAVE_UNIST_H and _pipe()
1001 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1002 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1003 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1005 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1006 * glocalvfs.c : use HAVE_PWD_H
1007 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1008 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1009 * Makefile.am : added to EXTRA_DIST
1011 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1013 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1016 2007-12-03 Alexander Larsson <alexl@redhat.com>
1019 Handle OSX style xattrs API (#500506)
1021 2007-12-03 Alexander Larsson <alexl@redhat.com>
1025 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1027 2007-12-02 A. Walton <awalton@svn.gnome.org>
1031 Documentation accuracy fixes.
1033 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1035 * gioenumtypes.c.template: Fix typo.
1037 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1039 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1041 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1043 * gdirectorymonitor.c:
1044 * gfilemonitor.c: Add properties
1046 * gbufferedoutputstream.c: Don't mark buffer-size property
1049 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1051 * gbufferedoutputstream.c: Add auto-grow property.
1053 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1055 * *.c: Unify the capitalization of section headings.
1057 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1059 * gmountoperation.c: Add properties
1061 * gdatainputstream.c: Turn byte-order and newline-type into
1064 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1066 * gioenumtypes.[hc].template: Templates for enum registration
1068 * Makefile.am: Generate gioenumtypes.[hc]
1070 * gio.h: Include gioenumtypes.h
1072 * gfile.h: Add some explicit nicks.
1074 * gio.symbols: Add new symbols
1076 * pltcheck.sh: Adjust
1078 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1080 * *.c: Explain etags and link to the explanation
1082 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1084 * *.c: Explain I/O priority.
1086 * *.c: More coding style fixes.
1088 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1090 * gasyncresult.c: Add another paragraph to the intro,
1091 adjust coding style of example.
1093 2007-11-29 A. Walton <awalton@svn.gnome.org>
1096 Fixes unknown meaning in GAppLaunchContext docs.
1098 Clarify asynchronous ops.
1100 Fix entity tag docs.
1103 Provides missing gtk-doc section, fixes API docs slighly.
1104 * gsimpleasyncresult.c:
1105 Fill in missing info in docs.
1106 * gunixinputstream.c:
1107 * gunixoutputstream.c:
1108 Be more expressive in short description.
1110 Remove gtk-doc stubs for non-public API.
1112 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1114 * *.c: Coding style fixups
1116 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1118 * inotify/inotify-helper.c: Don't export the lock from libgio.
1120 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1123 * abicheck.sh: Fix copy-and-paste leftovers
1125 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1127 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1129 2007-11-28 Alexander Larsson <alexl@redhat.com>
1133 Removed unnecessary file
1135 * gdesktopappinfo.[ch]:
1138 * glocaldirectorymonitor.[ch]:
1140 * glocalfileenumerator.[ch]:
1141 * glocalfileinputstream.[ch]:
1142 * glocalfilemonitor.[ch]:
1143 * glocalfileoutputstream.[ch]:
1145 * gnativevolumemonitor.c:
1146 * gpollfilemonitor.[ch]:
1147 * gunionvolumemonitor.[ch]:
1150 * gunixvolumemonitor.[ch]:
1153 * inotify/ginotifydirectorymonitor.[ch]:
1154 * inotify/ginotifyfilemonitor.[ch]:
1155 * inotify/inotify-helper.c:
1156 Append _ to all internal functions
1160 Export symbols needed for modules
1162 2007-11-28 Alexander Larsson <alexl@redhat.com>
1165 * abicheck.sh: Added.
1166 * makegioalias.pl: Added.
1167 * pltcheck.sh: Added.
1168 * gio.symbols: Added.
1171 Initial work on adding symbol handling.
1174 Correct ifdef guard name
1177 * inotify/Makefile.am:
1178 * xdgmime/Makefile.am:
1179 Include toplevel Makefile.decl
1181 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1183 * gcontenttype.c: Move doc comments to the unix section.
1185 * *.[hc]: More trivial doc corrections.
1187 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1189 * gpollfilemonitor.c:
1193 * gdesktopappinfo.c:
1198 * gdatainputstream.c:
1199 * gdatainputstream.h:
1200 * gdataoutputstream.c:
1201 * gdataoutputstream.h:
1202 * gfileinfo.h: Doc cleanups
1204 2007-11-28 Andre Klapper <a9016009@gmx.de>
1206 * gdesktopappinfo.c: Fix a typo.
1208 2007-11-27 Andre Klapper <a9016009@gmx.de>
1210 * glocalfileoutputstream.c: Fix a typo.
1212 2007-11-27 Alexander Larsson <alexl@redhat.com>
1215 Don't include removed headers
1217 2007-11-27 Alexander Larsson <alexl@redhat.com>
1220 * gsocketinputstream.[ch]: Removed.
1221 * gsocketoutputstream.[ch]: Removed.
1222 * gunixinputstream.[ch]: Added.
1223 * gunixoutputstream.[ch]: Added.
1224 Renamed GSocket*Stream to GUnix*Stream and made
1225 it unix-only, since its not really only for sockets
1226 and it only works on unix (but is highly useful there).
1228 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1234 * gbufferedinputstream.c:
1235 * gbufferedinputstream.h:
1236 * gbufferedoutputstream.c:
1237 * gbufferedoutputstream.h:
1241 * gdatainputstream.c:
1242 * gdatainputstream.h:
1243 * gdataoutputstream.c:
1244 * gdataoutputstream.h:
1245 * gdirectorymonitor.c:
1246 * gdirectorymonitor.h:
1253 * gfileenumerator.c:
1254 * gfileenumerator.h:
1259 * gfileinputstream.c:
1260 * gfileinputstream.h:
1263 * gfilenamecompleter.c:
1264 * gfilenamecompleter.h:
1265 * gfileoutputstream.c:
1266 * gfileoutputstream.h:
1267 * gfilterinputstream.c:
1268 * gfilterinputstream.h:
1269 * gfilteroutputstream.c:
1270 * gfilteroutputstream.h:
1283 * glocalfileoutputstream.c:
1284 * gmemoryinputstream.c:
1285 * gmemoryinputstream.h:
1286 * gmemoryoutputstream.c:
1287 * gmemoryoutputstream.h:
1288 * gmountoperation.c:
1289 * gmountoperation.h:
1292 * gpollfilemonitor.c:
1295 * gsimpleasyncresult.c:
1296 * gsimpleasyncresult.h:
1297 * gsocketinputstream.c:
1298 * gsocketinputstream.h:
1299 * gsocketoutputstream.c:
1300 * gsocketoutputstream.h:
1307 * gunixvolumemonitor.c:
1316 Bumps documentation to 93% symbol coverage, touching most
1317 of the public files. Fixes broken function documentation prototypes.
1318 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1319 gtk-doc headers in private files.
1321 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1323 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1324 (g_buffered_input_stream_read_byte):
1325 * gbufferedinputstream.h:
1326 New functions for efficient access to buffer and simple single byte
1329 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1330 (g_data_input_stream_read_until):
1331 * gdatainputstream.h:
1332 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1333 read_until with multiple stop chars.
1335 2007-11-27 Alexander Larsson <alexl@redhat.com>
1339 * inotify/Makefile.am:
1340 Use the user-specified giomoduledir
1342 2007-11-27 Alexander Larsson <alexl@redhat.com>
1346 Add catch-all gio.h header
1347 Don't install gdummyfile.h
1349 2007-11-26 Alexander Larsson <alexl@redhat.com>
1351 * Makefile.am (gioinclude_HEADERS):
1352 Remove trailing whitespace
1354 2007-11-26 Alexander Larsson <alexl@redhat.com>
1356 Merge gio-standalone into glib
1358 2007-11-25 Christian Kellner <gicmo@gnome.org>
1360 * gio/goutputstream.c:
1361 Fix small mistake in the docs.
1363 2007-11-21 Christian Persch <chpe@gnome.org>
1365 * gio/glocalfile.c: (g_local_file_trash):
1366 Convert filenames to UTF-8 for GError.
1367 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1368 as per xdg base dir spec.
1370 2007-11-21 Christian Persch <chpe@gnome.org>
1372 * gio/gdesktopappinfo.c:
1373 Use that g_key_file_to_data cannot fail.
1375 Use stock defines for the key file group and key names.
1378 2007-11-21 Alexander Larsson <alexl@redhat.com>
1381 (copy_stream_with_progress):
1382 Make sure we do a final progress callback with
1383 the full total size.
1385 2007-11-21 Alexander Larsson <alexl@redhat.com>
1388 Export g_file_copy_attributes
1389 Remove padding as its not needed for interfaces
1391 2007-11-20 Alexander Larsson <alexl@redhat.com>
1396 Add G_IO_ERROR_WOULD_MERGE for
1397 copy/move dir on dir with overwrite.
1399 2007-11-20 Alexander Larsson <alexl@redhat.com>
1402 * gio/glocalfileinfo.c:
1403 Add COPY_NAME (this is an optional
1404 non-modified utf8 version of the name) that
1407 2007-11-20 Alexander Larsson <alexl@redhat.com>
1409 * gio/glocalfileenumerator.c:
1410 Report errors as GIOError, not GFileError
1412 2007-11-16 Alexander Larsson <alexl@redhat.com>
1414 * gio/glocalfileoutputstream.c:
1415 * gio/gwin32appinfo.c:
1416 Fix typos in strings.
1417 Patch from Luca Ferretti <elle.uca@libero.it>
1419 2007-11-15 Alexander Larsson <alexl@redhat.com>
1422 Post release version bump
1424 === gio-standalone 0.1.2 ===
1426 2007-11-15 Alexander Larsson <alexl@redhat.com>
1428 * docs/reference/gio/Makefile.am:
1429 Fix up distcheck by removing weird
1435 2007-11-14 Alexander Larsson <alexl@redhat.com>
1437 * gio/gdesktopappinfo.c:
1438 * gio/glocaldirectorymonitor.c:
1440 * gio/glocalfileinfo.c:
1441 * gio/inotify/inotify-sub.c:
1442 * programs/gio-cat.c:
1443 * programs/gio-copy.c:
1444 * programs/gio-info.c:
1445 * programs/gio-ls.c:
1446 * programs/gio-monitor-dir.c:
1447 * programs/gio-monitor-file.c:
1448 * programs/gio-mount.c:
1449 * programs/gio-move.c:
1450 * programs/gio-rm.c:
1451 * programs/gio-save.c:
1452 * programs/gio-trash.c:
1453 Leak fixes from Kjartan Maraas
1455 2007-11-14 Alexander Larsson <alexl@redhat.com>
1457 * gio/fam/fam-helper.c:
1459 * gio/glocalfileinfo.c:
1463 * gio/inotify/inotify-diag.c:
1464 * gio/inotify/inotify-kernel.c:
1465 Various code cleanups from Kjartan Maraas
1467 2007-11-14 Alexander Larsson <alexl@redhat.com>
1469 * gio/gioscheduler.c:
1471 Set up threadpool so that we cache 2 unused
1472 idle threads for at 15 secs. This means we
1473 will reuse thread-local data (like dbus connections)
1476 2007-11-14 Alexander Larsson <alexl@redhat.com>
1478 * gio/fam/fam-helper.c:
1479 * gio/fam/gfamdirectorymonitor.c:
1480 * gio/fam/gfamfilemonitor.c:
1482 * gio/gcontenttype.c:
1483 * gio/gdatainputstream.c:
1484 * gio/gdataoutputstream.c:
1488 * gio/gfileattribute.h:
1489 * gio/gfileenumerator.c:
1491 * gio/ginputstream.c:
1494 * gio/glocalfileinfo.c:
1495 * gio/goutputstream.c:
1496 * gio/gpollfilemonitor.c:
1497 * gio/gsimpleasyncresult.c:
1498 * gio/gunixmounts.c:
1499 * gio/gunixmounts.h:
1500 * gio/inotify/ginotifydirectorymonitor.c:
1501 * gio/inotify/ginotifyfilemonitor.c:
1502 * gio/inotify/inotify-diag.c:
1503 * gio/inotify/inotify-kernel.c:
1504 * gio/inotify/inotify-path.c:
1506 * gio/test-streams.c:
1507 * programs/gio-info.c:
1508 * programs/gio-monitor-dir.c:
1509 * programs/gio-monitor-file.c:
1510 Various code cleanups from Kjartan Maraas
1512 2007-11-13 Alexander Larsson <alexl@redhat.com>
1515 Handle the uri-scheme calls for dummy files
1517 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1519 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1520 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1521 to avoid clash with the C++ keyword.
1523 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1525 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1526 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1528 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1530 * gio/glocaldirectorymonitor.c:
1531 * gio/glocalfilemonitor.c:
1532 * gio/gunionvolumemonitor.c:
1533 Don't use g_once_init_*() for initializations that could fail and
1534 could leave the initialization variable set to 0 but use GOnce.
1535 This prevents a deadlock on the second call when trying to create
1536 a monitor and no monitor type is available. Thanks to Sven Herzberg
1539 2007-11-11 Sven Herzberg <sven@imendio.com>
1541 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1542 #ifdef (make it work on MacOS X again)
1544 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1546 Fixes Changelog for last two commits (sorry guys).
1548 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1550 * gio/gbufferedinputstream.c:
1551 * gio/gdatainputstream.c:
1553 * gio/gfileoutputstream.c:
1554 * gio/gfilterinputstream.c:
1555 * gio/glocalfileinputstream.c:
1558 More consistency fixes in g*stream.c files.
1559 Significant clean of gfile's documentation, filling in of
1560 asynchronous operations documentation.
1562 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1564 * gio/gasyncresult.c:
1565 * gio/gbufferedinputstream.c:
1566 * gio/gbufferedoutputstream.c:
1567 * gio/gcancellable.c:
1568 * gio/gcontenttype.c:
1569 * gio/gdatainputstream.c:
1570 * gio/gdataoutputstream.c:
1571 * gio/gdesktopappinfo.c:
1574 * gio/gfileattribute.c:
1575 * gio/gio/gfileenumerator.c:
1577 * gio/gfileinputstream.c:
1578 * gio/gfilemonitor.c:
1579 * gio/gfileoutputstream.c:
1580 * gio/ginputstream.c:
1582 * gio/gioscheduler.c:
1583 * gio/gloadableicon.c:
1584 * gio/glocalfileoutputstream.c:
1585 * gio/gmemoryoutputstream.c:
1586 * gio/gmountoperation.c:
1587 * gio/goutputstream.c:
1589 * gio/gsimpleasyncresult.c:
1590 * gio/gunionvolumemonitor.c:
1591 * gio/gunixmounts.c:
1592 * gio/gunixvolume.c:
1596 * gio/gvolumemonitor.c:
1597 Updated documentation stubs, working towards consistency and
1600 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1602 * gio/gmemoryoutputstream.c:
1603 * gio/gmemoryoutputstream.h:
1604 Change g_memory_output_stream_set_free_on_close() to
1605 g_memory_output_stream_set_free_data() as this makes more sense and
1606 is more consistent with GMemoryInputStream.
1608 2007-11-07 Alexander Larsson <alexl@redhat.com>
1615 Change how we find the default vfs so that
1616 we can handle a gvfs failing to init
1618 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1620 * gio/gbufferedoutputstream.c:
1621 * gio/gdatainputstream.c:
1622 * gio/gdataoutputstream.c:
1623 * gio/gfileinputstream.c:
1624 * gio/gfileoutputstream.c:
1625 * gio/gfilterinputstream.c:
1626 * gio/gfilteroutputstream.c:
1627 * gio/ginputstream.c:
1628 * gio/gmemoryinputstream.c:
1629 * gio/gmemoryoutputstream.c:
1630 * gio/goutputstream.c:
1631 * gio/gsimpleasyncresult.c:
1632 * gio/gsocketinputstream.c:
1633 * gio/gsocketoutputstream.c:
1634 Add guards to the remaining public functions, add a TODO for
1635 an unimplemented function and remove some useless guards.
1637 2007-11-07 Alexander Larsson <alexl@redhat.com>
1640 Autoconf checks for the various types of
1641 getpwuid_r and getgrgid_r
1643 * gio/glocalfileinfo.c:
1644 Use the autoconf checks from above
1646 2007-11-07 Alexander Larsson <alexl@redhat.com>
1649 (g_local_file_query_filesystem_info):
1650 Some fixes for the statvfs case
1652 2007-11-07 Alexander Larsson <alexl@redhat.com>
1655 (g_local_file_query_filesystem_info):
1656 Pick the "best" of statfs / statvfs for the system
1657 if both are availible.
1659 2007-11-07 Alexander Larsson <alexl@redhat.com>
1661 Solaris fixes from Halton.Huo@Sun.COM:
1668 * gio/glocalfileinfo.c:
1669 Fix for solaris definition of getpwuid_r
1671 * gio/test-streams.c:
1672 Use G_GNUC_PRETTY_FUNCTION
1674 2007-11-07 Alexander Larsson <alexl@redhat.com>
1676 * gio/gdesktopappinfo.c:
1677 (update_default_list):
1678 Remove double semicolon.
1679 Patch from Jens Granseuer
1681 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1683 * docs/reference/gio/gio-sections.txt:
1684 * gio/gbufferedinputstream.c:
1685 * gio/gbufferedinputstream.h:
1686 * gio/gdatainputstream.c:
1687 * gio/gfileenumerator.c:
1688 * gio/gioscheduler.c:
1689 * gio/gunionvolumemonitor.c:
1691 * programs/gio-save.c:
1692 Fix typo: availible -> available. Unfortuntely this breaks API
1693 and ABI as g_buffered_input_stream_get_available() was renamed.
1695 * gio/gunixmounts.c:
1696 * gio/gbufferedinputstream.c:
1697 Add guards for public functions.
1699 2007-11-06 Ross Burton <ross@openedhand.com>
1701 * docs/reference/gio/Makefile.am:
1702 Fix invalid += usage which automake 1.10 doesn't like.
1704 2007-11-06 Alexander Larsson <alexl@redhat.com>
1707 (g_app_launch_context_class_init):
1710 Patch from Ross Burton
1712 2007-11-06 Alexander Larsson <alexl@redhat.com>
1715 Post release version bump
1717 === gio-standalone 0.1.1 ===
1719 2007-11-06 Alexander Larsson <alexl@redhat.com>
1722 Bump version to 0.1.1
1724 * gio/gsimpleasyncresult.c:
1725 (g_simple_async_result_set_from_error):
1726 Remove bogus g_return_if_fail
1728 2007-11-06 Alexander Larsson <alexl@redhat.com>
1731 The name is gio-standalone
1734 Add top src/builddir to includedir
1736 2007-11-06 Alexander Larsson <alexl@redhat.com>
1738 * docs/reference/gio/gio-sections.txt:
1740 * gio/gbufferedinputstream.c:
1741 * gio/gbufferedoutputstream.c:
1742 * gio/gcancellable.c:
1743 * gio/gdatainputstream.h:
1744 * gio/gdataoutputstream.c:
1745 * gio/gdataoutputstream.h:
1746 * gio/gdirectorymonitor.c:
1748 * gio/gfileattribute.c:
1749 * gio/gfileattribute.h:
1750 * gio/gfileenumerator.c:
1751 * gio/gfileenumerator.h:
1754 * gio/gfileinputstream.h:
1755 * gio/gfilemonitor.c:
1756 * gio/gfileoutputstream.h:
1757 * gio/glocalfilemonitor.h:
1758 * gio/glocalfileoutputstream.h:
1759 * gio/gmemoryinputstream.c:
1760 * gio/gmemoryoutputstream.c:
1761 * gio/gmountoperation.c:
1762 * gio/goutputstream.c:
1763 * gio/goutputstream.h:
1765 * gio/gsimpleasyncresult.c:
1766 * gio/gunixmounts.c:
1767 * gio/gunixmounts.h:
1769 * gio/inotify/inotify-helper.c:
1770 Fix gtk-doc warnings
1772 Patch from Ross Burton
1774 2007-11-06 Alexander Larsson <alexl@redhat.com>
1776 * gio/gfilenamecompleter.c:
1777 (g_filename_completer_get_completions):
1780 * gio/gunixvolume.c:
1781 Remove unused function
1783 Patches from Ross Burton
1785 2007-11-06 Alexander Larsson <alexl@redhat.com>
1790 Padding not needed for interfaces
1792 2007-11-06 Alexander Larsson <alexl@redhat.com>
1794 * gio/gfilemonitor.c:
1798 Make giotypes.h an internal file
1801 * gio/gbufferedinputstream.h:
1802 * gio/gbufferedoutputstream.h:
1803 * gio/gcancellable.h:
1804 * gio/gdatainputstream.h:
1805 * gio/gdataoutputstream.h:
1806 * gio/gdirectorymonitor.c:
1807 * gio/gdirectorymonitor.h:
1812 * gio/gfileattribute.h:
1813 * gio/gfileenumerator.h:
1818 * gio/gfilemonitor.c:
1819 * gio/gfilemonitor.h:
1820 * gio/gfilenamecompleter.c:
1821 * gio/gfilenamecompleter.h:
1822 * gio/gfilterinputstream.h:
1823 * gio/gfilteroutputstream.h:
1824 * gio/ginputstream.h:
1825 * gio/gmemoryinputstream.h:
1826 * gio/gmemoryoutputstream.h:
1827 * gio/gmountoperation.c:
1828 * gio/gmountoperation.h:
1829 * gio/gnativevolumemonitor.c:
1830 * gio/goutputstream.h:
1833 * gio/gsimpleasyncresult.c:
1834 * gio/gsimpleasyncresult.h:
1835 * gio/gsocketinputstream.h:
1836 * gio/gsocketoutputstream.h:
1837 * gio/gthemedicon.c:
1838 * gio/gthemedicon.h:
1842 * gio/gvolumemonitor.c:
1843 * gio/gvolumemonitor.h:
1844 Add padding in classes where it seems useful
1845 Don't include giotypes.h from public headers
1846 Move in Class definitions into c file where possible
1851 2007-11-06 Alexander Larsson <alexl@redhat.com>
1853 * docs/reference/gio/gio-docs.xml:
1854 Better structure for API docs
1856 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1859 * gio/gloadableicon.c:
1860 * gio/gsimpleasyncresult.c:
1861 * gio/gthemedicon.c:
1862 Add some more guards to public functions. Only files missing are now
1865 2007-11-06 Alexander Larsson <alexl@redhat.com>
1867 * docs/reference/gio/gio-docs.xml:
1868 Remove old files, add missing ones
1870 2007-11-06 Alexander Larsson <alexl@redhat.com>
1872 * docs/reference/gio/gio-sections.txt:
1875 Hide implementation classes
1877 * gio/gdriveprivate.h:
1878 * gio/gvolumeprivate.h:
1879 Remove non-existing function declarations
1881 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1884 Fix compilation warnings and add guards to the new functions.
1886 * gio/gasyncresult.c:
1888 Add guards to the public functions.
1891 Implement get_path().
1893 2007-11-06 Alexander Larsson <alexl@redhat.com>
1895 * gio/gfilenamecompleter.c:
1896 Make g_filename_completer_get_completions
1897 return char ** instead of GList for
1900 * docs/reference/gio/gio-docs.xml:
1901 * docs/reference/gio/gio-sections.txt:
1903 * gio/gasyncresult.c:
1904 * gio/gbufferedinputstream.c:
1905 * gio/gbufferedoutputstream.c:
1906 * gio/gcancellable.c:
1907 * gio/gcontenttype.c:
1908 * gio/gdatainputstream.c:
1909 * gio/gdataoutputstream.c:
1910 * gio/gdesktopappinfo.c:
1911 * gio/gdirectorymonitor.c:
1915 * gio/gfileattribute.c:
1916 * gio/gfileenumerator.c:
1919 * gio/gfileinputstream.c:
1920 * gio/gfilemonitor.c:
1921 * gio/gfilenamecompleter.c:
1922 * gio/gfilenamecompleter.h:
1923 * gio/gfileoutputstream.c:
1924 * gio/gfilterinputstream.c:
1926 * gio/ginputstream.c:
1928 * gio/gioscheduler.c:
1929 * gio/gloadableicon.c:
1930 * gio/glocaldirectorymonitor.c:
1932 * gio/glocalfileinputstream.c:
1933 * gio/glocalfilemonitor.c:
1934 * gio/glocalfileoutputstream.c:
1936 * gio/gmemoryinputstream.c:
1937 * gio/gmemoryoutputstream.c:
1938 * gio/gmountoperation.c:
1939 * gio/goutputstream.c:
1940 * gio/gpollfilemonitor.c:
1942 * gio/gsimpleasyncresult.c:
1943 * gio/gsocketinputstream.c:
1944 * gio/gsocketoutputstream.c:
1945 * gio/gthemedicon.c:
1946 * gio/gunionvolumemonitor.c:
1948 * gio/gunixmounts.c:
1949 * gio/gunixvolume.c:
1950 * gio/gunixvolumemonitor.c:
1954 * gio/gvolumemonitor.c:
1955 * gio/gwin32appinfo.c:
1956 Add (mostly stub) doc strings to public functions.
1957 Patch from Andrew Walton (awalton@gmail.com)
1959 2007-11-06 Alexander Larsson <alexl@redhat.com>
1961 * gio/gappinfo.[ch]:
1962 Added GAppLaunchContext object and pass that to launch.
1963 This allows simple implementation of both
1964 launch-on-screen and startup notification via a gtk+
1965 subclass of GAppLaunchContext
1967 * gio/gdesktopappinfo.c:
1968 Implement GAppLaunchContext API
1970 * gio/gwin32appinfo.c:
1973 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1975 * gio/gmountoperation.c:
1976 Add some guards to GMountOperation's public functions.
1978 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1982 * gio/gcancellable.c:
1983 * gio/gdirectorymonitor.c:
1985 * gio/gfileenumerator.c:
1986 * gio/gfilemonitor.c:,
1987 * gio/gfilenamecompleter.c:
1990 * gio/gioscheduler.c:
1994 * gio/gvolumemonitor.c:
1995 Add even more guards to various public functions.
1997 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2000 Add guards to the public functions of GAppInfo.
2002 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2004 * gio/gcontenttype.c:
2005 Add some more guards for public functions.
2007 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2009 * gio/fam/fam-module.c:
2010 * gio/fam/gfamdirectorymonitor.c:
2011 * gio/fam/gfamdirectorymonitor.h:
2012 * gio/fam/gfamfilemonitor.c:
2013 * gio/fam/gfamfilemonitor.h:
2014 * gio/inotify/ginotifydirectorymonitor.c:
2015 * gio/inotify/ginotifydirectorymonitor.h:
2016 * gio/inotify/ginotifyfilemonitor.c:
2017 * gio/inotify/ginotifyfilemonitor.h:
2018 Add proper copyright information and remove an unused variable
2019 in the GInotifyFileMonitor constructor.
2021 * gio/gcancellable.c:
2022 Add a guard for a public function and an assertion to prevent
2023 an undefined program state.
2025 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2027 * gio/gfileattribute.c:
2028 Don't run into an assertion if the given attribute value is NULL
2029 in g_file_attribute_value_get_*() but instead return a fallback
2030 value that makes sense in most situations. Passing them a attribute
2031 value with the wrong type will still run into an assertion.
2033 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2035 * gio/gfileattribute.c:
2037 Add even more guards to the public functions. Also fix the refcounting
2038 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2039 let g_file_info_list_attributes() filter the attributes by namespace
2040 instead of simply ignoring the namespace parameter.
2042 2007-11-03 Sven Herzberg <sven@imendio.com>
2044 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2045 (This makes gio work on MacOS X again)
2047 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2050 Build the gio subdirectory before the docs. Otherwise the build will
2053 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2054 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2055 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2056 Add guards to the public functions.
2058 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2060 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2061 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2062 to prevent a compiler warning.
2064 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2065 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2066 return something in the non-void function find_topdir_for().
2068 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2075 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2077 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2078 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2079 * gwin32appinfo.c (g_win32_app_info_launch):
2080 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2081 envp_for_startup_id, g_desktop_app_info_launch,
2082 g_desktop_app_info_launch_uris):
2084 Give an opaque 'startup_id' string instead of 'envp'.
2085 Support empty file lists for launching new windows.
2086 Fix infinite recursion bug when launching URIs.
2088 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2091 Add guard to the new g_file_get_uri_scheme() function.
2093 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2096 Convert a g_return_val_if_fail() to setting the GError instead as
2097 otherwise applications have to verify the parameter before otherwise
2098 and the parameter might come directly from the user.
2100 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2102 * gio/inotify/ginotify*.[ch]:
2103 Add missing copyright information.
2105 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2108 Add guards in the beginning of public functions to check for valid
2109 parameters and fix a bug in copy_stream_with_progress() that could've
2110 caused writing less bytes than reading.
2111 * gio/glocalfileinfo.c:
2112 Check for a NULL parameter and set the GError accordingly then.
2113 * gio/goutputstream.c:
2114 Fix the same bug as in gfile.c that could've caused writing less bytes
2115 than reading in g_output_stream_real_splice().
2117 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2120 Use the correct gvolumeprivate.h naming
2122 2007-11-01 Christian Kellner <gicmo@gnome.org>
2125 Remove leftover "$(daemon_sources)" entry.
2127 2007-11-01 Christian Kellner <gicmo@gnome.org>
2132 Add copyright information to source files.
2134 2007-11-01 Alexander Larsson <alexl@redhat.com>
2138 Add g_file_get_uri_scheme
2140 2007-11-01 Alexander Larsson <alexl@redhat.com>
2143 * gio/gdesktopappinfo.c:
2144 * gio/gwin32appinfo.c:
2145 Add g_app_info_get_default_for_uri_scheme.
2147 2007-11-01 Alexander Larsson <alexl@redhat.com>
2150 Correct filename for gdriveprivate.h
2152 2007-10-31 Alexander Larsson <alexl@redhat.com>
2155 Rename id:value to id:file
2158 * gio/glocalfileinfo.c:
2161 2007-10-31 Alexander Larsson <alexl@redhat.com>
2163 * gio/gunixvolume.c:
2165 Remove g_volume_get_platform_id, as thats not
2166 needed with the simpler union volume monitor
2168 2007-10-31 Alexander Larsson <alexl@redhat.com>
2171 * gio/guniondrive.[ch]: Removed.
2172 * gio/gunionvolume.[ch]: Removed.
2173 Remove GUnionDrive/Volume
2175 * gio/gunionvolumemonitor.c:
2176 Simplify union volume monitor, now we
2177 only have one native volume monitor and
2178 we use the actual volumes/drives from the
2179 child monitors instead of wrapping them
2181 * gio/gnativevolumemonitor.[ch]:
2182 Base class for native volume monitors.
2183 Includes priority and get_volume_for_mountpoint
2186 Add g_file_find_enclosing_volume
2189 Remove volume name fs attribute
2190 Add readonly fs attribute
2193 Implement readonly attribute
2194 remove volume name attribute
2195 Implement find_enclosing volume
2197 * gio/gunixmounts.c:
2198 Add a volume for "/".
2200 * gio/gunixvolume.[ch]:
2201 Set better name for /
2203 * gio/gunixvolumemonitor.[ch]:
2204 Derive from GNativeVolumeMonitor
2205 Implement get_volume_for_mountpoint
2208 GVolume typedef moved to gfile.h
2210 * gio/gvolumeprivate.h:
2211 Add g_volume_get_for_mount_path
2213 2007-10-31 Alexander Larsson <alexl@redhat.com>
2215 * gio/gunixmounts.[ch]:
2216 Add cache info to unix mount listers
2217 Make getmntent use threadsafe
2218 Add is_system_internal attribute for GUnixMount
2220 * gio/gunixvolume.c:
2221 (g_unix_volume_new):
2222 Use is_system_internal instead of own code
2224 * gio/glocaldirectorymonitor.c:
2225 * gio/gunixvolumemonitor.c:
2226 Update to new gunixmounts API
2231 2007-10-30 Alexander Larsson <alexl@redhat.com>
2234 Add volume name fsinfo attribute
2237 Read volume name info
2239 * gio/gunionvolumemonitor.c:
2240 Fix infinite loops when finalizing a union volume monitor
2242 2007-10-30 Alexander Larsson <alexl@redhat.com>
2244 * gio/goutputstream.[ch]:
2245 Add splice() with default implementation
2247 * gio/gsocketoutputstream.c:
2248 (g_socket_output_stream_write):
2249 Return error on cancellation correctly.
2251 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2253 * gio/glocalfile.c (g_local_file_trash):
2254 Do not leak a string.
2256 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2258 * gio/gfile.c (g_file_load_contents):
2259 Unref the stream after closing it.
2261 2007-10-25 Alexander Larsson <alexl@redhat.com>
2263 * gio/gioscheduler.h:
2266 2007-10-25 Alexander Larsson <alexl@redhat.com>
2270 Add g_file_has_uri_scheme and implement for local files
2272 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2274 * gio/gdesktopappinfo.c: do not leak a string.
2276 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2278 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2279 (g_local_directory_monitor_new):
2280 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2281 (g_local_file_monitor_new):
2282 Only look for the monitor type that should be used the first time
2283 and use g_qsort_with_data() instead of our own bubble sort
2286 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2289 * gio/fam/Makefile.am:
2290 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2291 * gio/fam/fam-helper.h:
2292 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2293 * gio/fam/gfamdirectorymonitor.c:
2294 * gio/fam/gfamdirectorymonitor.h:
2295 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2296 * gio/fam/gfamfilemonitor.h:
2297 * gio/glocaldirectorymonitor.c:
2298 * gio/glocaldirectorymonitor.h:
2299 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2300 * gio/glocalfilemonitor.h:
2301 * gio/inotify/Makefile.am:
2302 * gio/inotify/ginotifydirectorymonitor.c:
2303 * gio/inotify/ginotifydirectorymonitor.h:
2304 * gio/inotify/ginotifyfilemonitor.c:
2305 * gio/inotify/ginotifyfilemonitor.h:
2306 Implement the FAM and Inotify monitors as
2307 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2308 their own GIO module. GLocal(Directory|File)Monitor will use the
2309 monitor with the highest rank that is supported on that machine.
2311 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2314 Change GIO module dir to $(libdir)/gio/modules and change
2315 the log domain from GVFS to GIO. Also only export symbols starting
2316 with g_ in the resulting library.
2317 * gio/test-streams.c: (main):
2318 Set log handler for the GIO log domain.
2320 2007-10-22 Alexander Larsson <alexl@redhat.com>
2322 * gio/gfilenamecompleter.[ch]:
2323 Add g_filename_completer_set_dirs_only
2325 2007-10-22 Alexander Larsson <alexl@redhat.com>
2328 * gio/gurifuncs.[ch]:
2329 Add some simple URI helpers
2331 * gio/gfilenamecompleter.[ch]:
2332 Added object for filename (parse name actually) completion
2335 Handle ~ in parse names
2337 2007-10-17 Alexander Larsson <alexl@redhat.com>
2340 * gio/glocalfileinfo.c:
2341 Add and implement id:value attribute
2343 2007-10-17 Alexander Larsson <alexl@redhat.com>
2346 * gio/guniondrive.c:
2348 Add and implement g_drive_has_volumes
2350 2007-10-17 Alexander Larsson <alexl@redhat.com>
2353 * gio/glocalfileinfo.[ch]:
2354 Add unix:is_mountpoint and implement for local files
2356 2007-10-16 Alexander Larsson <alexl@redhat.com>
2358 * gio/gunionvolumemonitor.c:
2359 (g_union_volume_monitor_init):
2360 Fix up the unix type getting so that it works with gcc
2362 2007-10-12 Alexander Larsson <alexl@redhat.com>
2365 * gio/glocalfileinfo.c:
2366 Add thumbnail:failed to file info
2368 2007-10-12 Richard Hult <richard@imendio.com>
2370 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2371 optimizing away the get_type call (happens with some gcc versions,
2372 like the one shipped with OS X 10.4).
2374 2007-10-12 Alexander Larsson <alexl@redhat.com>
2376 * gio/glocalfileinfo.c:
2377 (_g_local_file_info_set_attribute):
2378 Fix build if not HAVE_XATTR
2379 Patch from Milosz Derezynski <internalerror@gmail.com>
2381 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2383 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2384 around for review, otherwise I would have asked you before
2387 2007-10-11 Alexander Larsson <alexl@redhat.com>
2390 Add thumbnail:path attribute
2392 * gio/glocalfileinfo.c:
2393 Implement thumbnail:path for local files
2395 2007-10-11 Alexander Larsson <alexl@redhat.com>
2397 * gio/glocalfileinfo.c:
2398 (_g_local_file_info_get):
2399 Avoid duplicate icon names
2401 2007-10-11 Alexander Larsson <alexl@redhat.com>
2403 * gio/gthemedicon.[ch]:
2404 Change g_themed_icon_get_names return type to const
2406 2007-10-10 Alexander Larsson <alexl@redhat.com>
2408 * gio/glocalfileinfo.c:
2409 Don't reference freed memory
2411 2007-10-10 Alexander Larsson <alexl@redhat.com>
2413 * gio/gfileattribute.c:
2416 * gio/glocalfileinfo.c:
2419 2007-10-10 Alexander Larsson <alexl@redhat.com>
2422 Check for NULL icons
2424 * gio/gfileattribute.c:
2425 Don't dup when getting objects (same as for string attributes)
2427 * gio/gicon.c (g_icon_equal):
2428 Safely handle NULLs in equal
2430 2007-10-10 Alexander Larsson <alexl@redhat.com>
2433 Fix c++ compilation issues
2434 Patch from Milosz Derezynski <internalerror@gmail.com>
2436 2007-10-10 Alexander Larsson <alexl@redhat.com>
2438 * programs/gio-monitor-dir.c:
2439 Don't crash if dir monitor not supported.
2441 2007-10-09 Alexander Larsson <alexl@redhat.com>
2444 Add missing G_END_DECLS
2446 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2448 * gio/gfile.c: (g_file_set_display_name),
2449 (g_file_query_settable_attributes),
2450 (g_file_query_writable_namespaces):
2451 Return NULL not FALSE on errors as the return type is a pointer.
2453 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2455 * gio/glocalfile.c: (g_local_file_monitor_file):
2456 Don't call monitor_file on the default interface vtable (which
2457 is NULL) but simply return NULL. The caller, GFile, will create a
2458 polling monitor if NULL is returned.
2460 2007-10-09 Alexander Larsson <alexl@redhat.com>
2464 * gio-unix-2.0.pc.in:
2465 Add gio-unix-2.0.pc if OS_UNIX
2468 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2470 2007-10-09 Alexander Larsson <alexl@redhat.com>
2472 * gio/gunixmounts.[ch]:
2473 Make unix mount monitoring API sane.
2474 Now its just a object with mounts_changed
2475 and mountpoints_changed signals.
2477 * gio/glocaldirectorymonitor.c:
2478 * gio/gunixvolumemonitor.c:
2479 Use new mount monitor api
2481 2007-10-09 Alexander Larsson <alexl@redhat.com>
2483 * gio/gunixmounts.[ch]:
2484 Move guess type into one call for mounts and one for mountpoints
2487 * gio/gunixvolume.c:
2490 2007-10-09 Alexander Larsson <alexl@redhat.com>
2492 * gio/gunixmounts.[ch]:
2493 Remove _ prefix in preparation to make this semi-public
2494 Hide implementation of structs
2496 * gio/glocaldirectorymonitor.c:
2498 * gio/gunixvolume.c:
2499 * gio/gunixvolumemonitor.c:
2500 Update for above API changes
2502 2007-10-08 Alexander Larsson <alexl@redhat.com>
2505 Better polling fallback. This also handles the case where we have
2506 a monitor_file implementation, but it fails.
2508 2007-10-08 Alexander Larsson <alexl@redhat.com>
2512 * gio/gunixmounts.c:
2513 * programs/gio-monitor-dir.c:
2514 * programs/gio-monitor-file.c:
2515 Added cancellable to file monitoring calls.
2516 These are really sync calls and need this.
2518 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2520 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2521 (g_local_vfs_class_init):
2522 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2523 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2525 2007-10-05 Alexander Larsson <alexl@redhat.com>
2527 * gio/gdirectorymonitorprivate.h:
2528 * gio/gfilemonitorprivate.h:
2529 * gio/gdirectorymonitor.h:
2530 * gio/gfilemonitor.h:
2531 Remove *private.h and move to the public API, so that
2532 we can do implementations outside gio (such as in gvfs)
2534 * gio/gdirectorymonitor.c:
2535 * gio/gfilemonitor.c:
2536 * gio/glocaldirectorymonitor.c:
2537 * gio/gpollfilemonitor.c:
2538 * gio/inotify/inotify-helper.c:
2539 * gio/fam/fam-helper.c:
2540 Update to the new header names
2542 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2544 * gio/gdirectorymonitor.c:
2545 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2548 2007-10-04 Alexander Larsson <alexl@redhat.com>
2550 * gio/glocalfileinfo.c (get_access_rights):
2551 Set CAN_TRASH when we can move the file.
2552 We should really also check for a parent trash dir.
2554 2007-10-04 Alexander Larsson <alexl@redhat.com>
2556 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2557 Add can_trash access attribute
2559 2007-10-04 Alexander Larsson <alexl@redhat.com>
2562 (g_local_file_trash):
2563 Create info file first. This is per-spec and allows
2564 us to actually trash directories.
2566 2007-10-02 Alexander Larsson <alexl@redhat.com>
2568 * gio/gdesktopappinfo.c:
2569 Implement the new mime support code.
2570 Always set app as handling mimetype when being set as default for it
2572 2007-10-01 Alexander Larsson <alexl@redhat.com>
2574 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2575 Fix up check for xattrs:
2577 2007-10-01 Alexander Larsson <alexl@redhat.com>
2580 (g_app_info_set_as_default_for_extension):
2581 (g_app_info_add_supports_type):
2582 (g_app_info_can_remove_supports_type):
2583 (g_app_info_remove_supports_type):
2584 Make these fail nicely if not implemented
2586 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2588 * gio/glocalfileoutputstream.c:
2589 * gio/glocalfileoutputstream.h:
2594 * programs/gio-save.c:
2595 Add a GFileCreateFlags argument to operations that can create
2598 2007-10-01 Alexander Larsson <alexl@redhat.com>
2600 * gio/gappinfo.[ch]:
2601 * gio/gdesktopappinfo.c:
2602 Add more (stubbed out) mime API needed for nautilus
2604 2007-10-01 Alexander Larsson <alexl@redhat.com>
2607 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2608 Add g_app_info_set_as_default_for_extension.
2610 * gio/gdesktopappinfo.c:
2611 Dummy for g_app_info_set_as_default_for_extension
2612 Support flags in g_app_info_create_from_commandline
2614 * gio/gwin32appinfo.c:
2616 Update for API changes
2618 * gio/gthemedicon.c:
2619 Properly NULL-terminate list of icon names
2621 2007-09-28 Alexander Larsson <alexl@redhat.com>
2623 * gio/gloadableicon.h:
2624 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2626 2007-09-28 Alexander Larsson <alexl@redhat.com>
2629 Install headers in $includedir/gio-standalone/
2631 * gio-2.0.pc.in: Added.
2632 * gio-standalone.pc.in: Removed.
2635 Renamed pkg-config file to match glib (for future move)
2636 Update to the new include dir
2639 Add more TODO comments
2641 2007-09-28 Alexander Larsson <alexl@redhat.com>
2643 * gio/gdesktopappinfo.[ch]:
2644 Expose new_from_filename
2645 Add getter for is_hidden and handle it better
2647 2007-09-28 Alexander Larsson <alexl@redhat.com>
2649 * gio/gfileinfo.[ch]:
2650 Rename g_file_size_format_for_display to
2651 g_format_file_size_for_display.
2652 Now it doesn't have the g_file prefix, so we
2653 can later move it to glib.
2655 2007-09-28 Alexander Larsson <alexl@redhat.com>
2657 * gio/gappinfo.[ch]:
2658 Add g_app_info_get_id and g_app_info_get_executable.
2659 Make all getters non-reffing
2660 Make g_app_info_launch take GFile arguments.
2661 Add must_support_uris argument to g_app_info_get_default_for_type.
2663 * gio/gwin32appinfo.c:
2664 Update to GAppInfo api changes
2666 * gio/gdesktopappinfo.c:
2667 Update to GAppInfo api changes
2668 Implement supports_xdg_startup_notify
2670 * gio/gfileicon.c (g_file_icon_get_file):
2671 Make getter non-reffing.
2676 2007-09-27 Alexander Larsson <alexl@redhat.com>
2678 * gio/gfileinfo.[ch]:
2679 Add g_file_size_format_for_display helper
2681 2007-09-27 Alexander Larsson <alexl@redhat.com>
2683 * gio/glocalfileinfo.c:
2684 Set UNIX_GID from gid, not from uid
2686 2007-09-27 Alexander Larsson <alexl@redhat.com>
2689 Add g_file_set_attributes_async
2691 2007-09-27 Alexander Larsson <alexl@redhat.com>
2693 * gio/glocalfile.c (g_local_file_set_display_name):
2694 Fix set_display_name to actually rename to the right place.
2695 Use lstat to look for existing files so we don't overwrite
2698 2007-09-26 Alexander Larsson <alexl@redhat.com>
2701 Add g_file_set_display_name_async()
2703 2007-09-26 Alexander Larsson <alexl@redhat.com>
2706 Add load_partial_contents async calls
2709 Make internal function static
2711 2007-09-26 Alexander Larsson <alexl@redhat.com>
2713 * gio/glocalfileinfo.c:
2714 Correctly detect broken symlinks
2716 2007-09-26 Alexander Larsson <alexl@redhat.com>
2718 * gio/gcancellable.c (g_cancellable_cancel):
2719 Allow cancel on NULL cancellable
2721 2007-09-25 Alexander Larsson <alexl@redhat.com>
2723 * gio/gsimpleasyncresult.c:
2724 Don't allocate g_error manually.
2725 Fixes g_slice/g_new mixup crash
2727 2007-09-25 Alexander Larsson <alexl@redhat.com>
2729 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2730 Actually set active_backend.
2731 This means the monitor will be cancelled correctly.
2733 2007-09-25 Alexander Larsson <alexl@redhat.com>
2735 * gio/gdirectorymonitor.c:
2736 Set timeout to NULL when destroying
2738 2007-09-25 Alexander Larsson <alexl@redhat.com>
2741 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2742 that is a better description of the error.
2744 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2746 * gio/gvfs.c: (g_vfs_get_local):
2747 Make the local vfs variable static. The same instance should
2750 2007-09-24 Alexander Larsson <alexl@redhat.com>
2752 * gio/glocalfileinfo.c:
2753 Pass in actual length read into sniffer, not the length
2756 2007-09-21 Alexander Larsson <alexl@redhat.com>
2758 * gio/gfileenumerator.c:
2761 * gio/gfileinputstream.c:
2762 * gio/gfileoutputstream.c:
2763 * gio/ginputstream.c:
2764 * gio/goutputstream.c:
2765 Don't crash if async callbacks are NULL
2767 2007-09-20 Alexander Larsson <alexl@redhat.com>
2770 Add async enumerate_children method and default
2773 2007-09-20 Alexander Larsson <alexl@redhat.com>
2776 Add g_file_contains_file & g_file_get_relative_path, since they
2777 were needed for nautilus.
2778 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2783 Implement new methods
2785 2007-09-17 Alexander Larsson <alexl@redhat.com>
2788 * gio/gfileinputstream.[ch]:
2789 * gio/gfileoutputstream.[ch]:
2791 * gio/glocalfileenumerator.[ch]:
2792 * gio/glocalfileinfo.[ch]:
2793 * gio/glocalfileinputstream.c:
2794 * gio/glocalfileoutputstream.c:
2795 * gio/gpollfilemonitor.c:
2796 * programs/gio-copy.c:
2797 * programs/gio-info.c:
2798 * programs/gio-move.c:
2799 Rename get_file_info to query_info() to make it clearer
2800 that these are not simple getters, but do i/o.
2802 2007-09-17 Alexander Larsson <alexl@redhat.com>
2804 * gio/gdatainputstream.[ch]:
2805 * gio/test-streams.c:
2806 Use _read_XXX instead of _get_XXX for the i/o calls
2809 2007-09-17 Alexander Larsson <alexl@redhat.com>
2812 Added needed stuff to TODO comment
2814 2007-09-17 Alexander Larsson <alexl@redhat.com>
2816 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2817 Don't error out removing the backup copy if it doesn't
2820 2007-09-14 Alexander Larsson <alexl@redhat.com>
2822 * programs/Makefile.am:
2823 * programs/gvfs-*.c:
2825 Renamed apps from gvfs-xxx to gio-xxx.
2827 2007-09-14 Alexander Larsson <alexl@redhat.com>
2830 * gio/gfileoutputstream.[ch]:
2831 * gio/glocalfileoutputstream.c:
2832 * programs/gvfs-save.c:
2833 g_file_output_stream_get_etag doesn't do i/o, so remove
2834 cancellation and error.
2836 2007-09-14 Alexander Larsson <alexl@redhat.com>
2839 Add new_etag output to replace_contents functions
2841 2007-09-14 Alexander Larsson <alexl@redhat.com>
2843 * gio/gfileoutputstream.[ch]:
2844 Add async get_file_info and default implementation
2846 2007-09-14 Alexander Larsson <alexl@redhat.com>
2848 * gio/gfileinputstream.c:
2849 Implement fallback wrapper for async get_file_info
2851 2007-09-14 Alexander Larsson <alexl@redhat.com>
2854 Add etag out argument to load_contents
2859 2007-09-14 Alexander Larsson <alexl@redhat.com>
2861 * gio/gcontenttype.c (looks_like_text):
2862 Whitespace like tab, cr and lf do not make the
2865 2007-09-14 Alexander Larsson <alexl@redhat.com>
2867 * gio/gfileinputstream.[ch]:
2868 Add async get_file_info.
2870 2007-09-13 Alexander Larsson <alexl@redhat.com>
2872 * gio/goutputstream.c (g_output_stream_write_all):
2873 Allow NULL for bytes_written
2875 2007-09-13 Alexander Larsson <alexl@redhat.com>
2877 * gio/gmemoryinputstream.[ch]:
2878 Add accessors for data
2880 2007-09-13 Alexander Larsson <alexl@redhat.com>
2882 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2883 Don't crash if length is NULL