1 2008-01-09 Alexander Larsson <alexl@redhat.com>
4 * fam/gfamdirectorymonitor.c:
5 * fam/gfamfilemonitor.c:
6 Fix double free crash (#508224)
7 Patch from Joe Marcus Clarke
9 008-01-07 Matthias Clasen <mclasen@redhat.com>
11 * === Released 2.15.1 ===
13 2008-01-07 Alexander Larsson <alexl@redhat.com>
15 * gunixinputstream.c (g_unix_input_stream_skip_finish):
18 2008-01-07 Alexander Larsson <alexl@redhat.com>
21 Pass --internal to glib-genmarshal
26 Use better types for signal arguments (#507822)
28 2008-01-07 Alexander Larsson <alexl@redhat.com>
31 Build test subdir after .
32 Remove gdirectorymonitor.[ch]
34 * gdirectorymonitor.[ch]:
38 Remove GDirectoryMonitor and make
39 GFileMonitor the baseclass for both file and
40 directory monitors. Lift the more generic
41 rate limiting code from GDirectoryMonitor
45 * fam/gfamdirectorymonitor.[ch]:
46 * inotify/ginotifydirectorymonitor.[ch]:
47 * inotify/inotify-helper.c:
48 * glocaldirectorymonitor.[ch]:
51 Update for the removed GDirectoryMonitor.
53 * gmemoryoutputstream.c:
54 Remove ununsed variable
56 2008-01-07 Alexander Larsson <alexl@redhat.com>
58 * gmemoryinputstream.c:
59 Translate error strings
62 * gmemoryoutputstream.[ch]:
63 New implementation that avoids using GByteArray
64 in implementation and API. (#506377)
66 2008-01-06 Matthias Clasen <mclasen@redhat.com>
68 * tests/*: Add a test for memory input streams.
70 * Makefile.am: Add tests to SUBDIRS.
72 2008-01-06 Matthias Clasen <mclasen@redhat.com>
74 * glocalfilemonitor.c:
75 * glocaldirectorymonitor.c: Mark property nicks and blurbs
78 2008-01-06 Matthias Clasen <mclasen@redhat.com>
80 * gdesktopappinfo.c: Fix a docs typo.
82 * gfileattribute.c: Add information about extended attributes
83 to the documentation. (#505058)
85 2008-01-04 Alexander Larsson <alexl@redhat.com>
89 Use the right type (uint) for the ask_password signal.
91 2008-01-04 Alexander Larsson <alexl@redhat.com>
96 Add g_app_info_supports_files()
97 Remove desktop arg from g_app_info_should_show().
99 * gdesktopappinfo.[ch]:
100 Implement g_app_info_supports_files() and new should_show()
101 Add g_desktop_app_info_set_desktop_env() to set the desktop
102 for should_show(). (This will be set by gtk+ later)
104 2008-01-04 Alexander Larsson <alexl@redhat.com>
107 * gmemoryinputstream.[ch]:
108 Improve API so that you can use multiple chunks
109 of memory and custom destroy functions. (#506374)
111 2008-01-03 Alexander Larsson <alexl@redhat.com>
114 Handle NULL attribute matchers safely, as we return this
115 for empty attribute matcher strings.
117 2008-01-03 Alexander Larsson <alexl@redhat.com>
119 * gunixmounts.c (g_unix_is_mount_path_system_internal):
120 Add /usr/local to list of internal mountpoints
122 2008-01-03 Alexander Larsson <alexl@redhat.com>
125 Check for HAVE_LCHOWN (#505887)
127 2008-01-03 Alexander Larsson <alexl@redhat.com>
131 Add define for selinux context attribute.
132 Fix missing : -> :: namespace separator change
133 Fix missing _ -> - name change for xattr-sys.
136 2008-01-03 Alexander Larsson <alexl@redhat.com>
139 Link to libglib and libgobject directly (#504879)
140 Patch from Sebastien Bacher
142 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
144 * gfile.c: Expanded the g_file_new_for_commandline_arg
145 description a bit, based on the code and the docs of the
146 other g_file_new_for_* functions.
148 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
150 * gfilemonitor.h: Fixed typo in docs.
152 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
154 Updates to GIO documentation. (#506395, Mikael Hermansson)
156 * gcontenttype.c: Describe memory management for return value of
157 g_content_types_get_registered(). Missing piece from #505815.
158 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
159 GVolume, GDrive, GMounts, which hopefully gives the user less
160 confusions when using this API. Following explainations from
161 Alexander Larsson on gtk-devel-list.
163 2007-12-30 Matthias Clasen <mclasen@redhat.com>
165 * gfileinfo.c: Expand the long description.
167 2007-12-30 Matthias Clasen <mclasen@redhat.com>
170 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
171 fix builds with --disable-visibility. (#500273, Christian Persch)
173 2007-12-30 Matthias Clasen <mclasen@redhat.com>
175 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
176 in the list of returned app infos.
178 2007-12-30 Matthias Clasen <mclasen@redhat.com>
180 * gappinfo.c: Fix a cross-reference
182 2007-12-30 Matthias Clasen <mclasen@redhat.com>
184 * gfileinputstream.c:
185 * gfileoutputstream.c:
191 * gfileinfo.c: Documentation updates.
193 2007-12-26 Matthias Clasen <mclasen@redhat.com>
195 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
198 2007-12-26 Matthias Clasen <mclasen@redhat.com>
200 * gcontenttype.c (g_content_types_get_registered): Don't return
201 freed memory (#505815, Mikael Hermansson)
203 2007-12-25 Paolo Borelli <pborelli@katamail.com>
205 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
206 used to detect statbuf->st_blocks. (#505042)
208 2007-12-24 Matthias Clasen <mclasen@redhat.com>
210 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
211 environment handling. (#504829, Cosimo Cecchi)
213 2007-12-22 Matthias Clasen <mclasen@redhat.com>
215 * gappinfo.c: Doc improvements
217 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
220 2007-12-20 Matthias Clasen <mclasen@redhat.com>
222 * === Released 2.15.0 ===
224 2007-12-20 Hans Breuer <hans@breuer.org>
226 * makefile.msc : don't build gdesktopappinfo.obj, it collides
227 with symbols gwin32appinfo.obj, added gmount.obj
228 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
230 2007-12-20 Alexander Larsson <alexl@redhat.com>
236 * gfilenamecompleter.c:
239 * gpollfilemonitor.c:
240 File attribute renames:
243 id::fs -> id::filesystem
245 2007-12-20 Alexander Larsson <alexl@redhat.com>
254 Add GMountUnmountFlags to all unmount and
256 Add g_mount_remount() call.
258 2007-12-20 Alexander Larsson <alexl@redhat.com>
260 * gvfs.c (get_default_vfs):
261 Fix unused variable warning
263 2007-12-19 Matthias Clasen <mclasen@redhat.com>
265 * pltcheck.sh: Update
267 2007-12-19 Matthias Clasen <mclasen@redhat.com>
269 * gunionvolumemonitor.c:
270 * gunixmount.c: Remove C99 comments
272 2007-12-19 Matthias Clasen <mclasen@redhat.com>
274 * gio.symbols: Add some missing symbols
276 2007-12-19 Alexander Larsson <alexl@redhat.com>
279 Make g_io_modules_load_all_in_directory not unuse
280 loaded modules so that users of it can do stuff
282 Init internal "module" types.
283 Initialize static prio and name for types so that
284 we don't have to load modules to get it.
286 * gnativevolumemonitor.h:
288 Move is_supported to parent class so that
289 non-native monitors can avoid being initialized
290 too. (For instance GDaemonVolumeMonitor if we're
291 not using GDaemonVfs.)
293 * glocaldirectorymonitor.[ch]:
294 * glocalfilemonitor.[ch]:
295 * gunionvolumemonitor.c:
296 * gunixvolumemonitor.c:
298 Find plugins using the static prio+name to
299 avoid unnecessarily loading the modules.
301 2007-12-19 Alexander Larsson <alexl@redhat.com>
306 2007-12-19 Alexander Larsson <alexl@redhat.com>
308 * gunionvolumemonitor.c:
309 Store the native type as GType, not class so that
310 we can unload it. But still avoid unnecessarily
313 2007-12-19 David Zeuthen <davidz@redhat.com>
315 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
316 add signals 'disconnected' and 'eject-button' on GDrive. Add
317 signal 'removed' on GVolume and 'unmounted' on GMount.
319 * gdrive.c: (g_drive_base_init):
321 * gfile.c: (g_file_mount_mountable),
322 (g_file_mount_enclosing_volume):
325 * gmount.c: (g_mount_base_init):
327 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
328 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
329 * gvolume.c: (g_volume_base_init), (g_volume_mount):
333 2007-12-17 Matthias Clasen <mclasen@redhat.com>
335 * *.c: Fix up includes in the section docs.
337 2007-12-17 Alexander Larsson <alexl@redhat.com>
339 * gnativevolumemonitor.h:
340 * gunionvolumemonitor.c:
341 * gunixvolumemonitor.c:
342 Add is_supported() to GNativeVolumeMonitorClass so
343 that we can avoid having to create an object to see
344 if the backend is supported at runtime.
345 Also add name member and an env var to pick a specific
346 volume monitor backend.
350 Add cancellable to _g_mount_get_for_mount_path()
352 * glocaldirectorymonitor.c:
353 * glocalfilemonitor.c:
354 Avoid loading and unloading modules while sorting.
356 2007-12-17 Matthias Clasen <mclasen@redhat.com>
359 * gunixmounts.[hc]: Namespace waste reduction, move some
360 g_get_unix_mount functions to the g_unix_mount namespace.
363 * gunixvolumemonitor.c:
365 * glocaldirectorymonitor.c: Update all callers.
367 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
369 2007-12-17 Alexander Larsson <alexl@redhat.com>
372 Add doc comments about what GFile operations are
373 guaranteed to not block.
375 2007-12-17 Alexander Larsson <alexl@redhat.com>
378 Add missing #ifdef fixing OSX build.
379 (#503334, patch from Richard Hult)
381 2007-12-14 David Zeuthen <davidz@redhat.com>
385 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
386 (g_mount_eject), (g_mount_eject_finish):
388 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
389 (get_volume_for_uuid), (get_mount_for_uuid),
390 (g_union_volume_monitor_class_init),
391 (get_default_native_type_with_exclude), (get_default_native_type),
392 (get_native_type), (update_native_type),
393 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
394 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
395 (g_unix_mount_can_eject), (eject_unmount_cb),
396 (eject_unmount_read_error), (eject_unmount_do),
397 (g_unix_mount_unmount), (g_unix_mount_eject),
398 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
399 * gunixmounts.c: (g_unix_mount_guess_can_eject),
400 (g_unix_mount_point_guess_can_eject):
402 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
403 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
404 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
405 (g_unix_volume_mount), (g_unix_volume_eject),
406 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
407 * gunixvolumemonitor.c: (get_volume_for_uuid),
408 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
410 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
411 (g_volume_eject), (g_volume_eject_finish):
413 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
414 (g_volume_monitor_get_mount_for_uuid):
417 Provide eject() on both GMount and GVolume and utility functions
418 to guess whether a GUnixMountPoint or GUnixMountEntry should be
419 ejected. Introduce the concept of UUID's and wire it into GVolume
420 and GMount and provide API on GVolumeMonitor to find such
421 instances. Also handle the case where an external
422 GNativeVolumeMonitor fails to initialize. Lock around the
423 _g_get_mount_for_mount_path() function such that volume monitor
424 implementations won't have to do locking themselves.
426 2007-12-17 Matthias Clasen <mclasen@redhat.com>
434 * gvolume.h: Documentation updates
436 2007-12-14 Matthias Clasen <mclasen@redhat.com>
439 * gfile.h: Doc updates
441 2007-12-14 Matthias Clasen <mclasen@redhat.com>
444 * gdesktopappinfo.c: Use hash table iterators.
446 2007-12-14 Alexander Larsson <alexl@redhat.com>
449 * gfileattribute.[ch]:
450 * gfileattribute-priv.h:
451 Move GFileAttributeValue to a private header, as
455 Make set_attribute take a type + a pointer instead
456 of a GFileAttributeValue.
459 Fix up for above changes.
460 Add g_file_info_get_attribute_data to get
461 all info in one call, g_file_info_get_attribute_status
462 to get the status and g_file_info_get_attribute_as_string.
466 * glocalfileinfo.[ch]:
470 Make _guess_type static.
472 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
475 * inotify/Makefile.am: Fixed build when srcdir != builddir,
476 made mkenums and friends use temporary files to avoid leaving
477 empty generated files on failure (#503470).
479 2007-12-14 Alexander Larsson <alexl@redhat.com>
484 2007-12-14 Alexander Larsson <alexl@redhat.com>
488 * gfileattribute.[ch]:
491 * glocalfileoutputstream.c:
492 * gmountoperation.[ch]:
493 * goutputstream.[ch]:
494 Clean up all flags enums to not have _FLAGS in them
495 Make the names of some of the enums better.
500 2007-12-14 Michael Natterer <mitch@imendio.com>
502 * gio.symbols: fix g_io_scheduler symbol names.
504 2007-12-14 Alexander Larsson <alexl@redhat.com>
510 * gbufferedinputstream.h:
511 * gbufferedoutputstream.h:
514 * gdatainputstream.h:
515 * gdataoutputstream.h:
517 * gdirectorymonitor.h:
524 * gfileinputstream.h:
526 * gfilenamecompleter.h:
527 * gfileoutputstream.h:
528 * gfilterinputstream.h:
529 * gfilteroutputstream.h:
537 * gmemoryinputstream.h:
538 * gmemoryoutputstream.h:
543 * gsimpleasyncresult.h:
545 * gunixinputstream.h:
547 * gunixoutputstream.h:
551 * inotify/Makefile.am:
552 Only allow including <gio/gio.h> from apps
554 2007-12-14 Alexander Larsson <alexl@redhat.com>
557 * gsimpleasyncresult.c:
558 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
559 Split out the send_to_mainloop call into two versions instead
560 of having the block argument.
562 2007-12-13 Alexander Larsson <alexl@redhat.com>
566 * gbufferedinputstream.c:
568 * gfileinputstream.c:
569 * gfileoutputstream.c:
573 g_push/pop_current_cancellable ->
574 g_cancellable_push/pop_current
576 2007-12-13 Alexander Larsson <alexl@redhat.com>
580 Rename g_mount_for_location to g_file_mount_enclosing_volume.
582 2007-12-13 Alexander Larsson <alexl@redhat.com>
585 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
587 2007-12-12 Alexander Larsson <alexl@redhat.com>
590 Fix race condition when freeing proxy in
591 g_io_job_send_to_mainloop().
593 2007-12-12 Alexander Larsson <alexl@redhat.com>
599 Make attribute namespace separator "::" instead of ":".
600 Use - instead of _ as separator in attribute names.
602 2007-12-12 Alexander Larsson <alexl@redhat.com>
604 * gbufferedinputstream.h:
605 * gbufferedoutputstream.h:
606 * gdatainputstream.h:
607 * gdataoutputstream.h:
608 * gdirectorymonitor.h:
610 * gfileinputstream.h:
612 * gfileoutputstream.h:
613 * gfilterinputstream.h:
614 * gfilteroutputstream.h:
616 * glocalfileinputstream.h:
617 * glocalfileoutputstream.h:
618 * gmemoryinputstream.h:
619 * gmemoryoutputstream.h:
620 * gnativevolumemonitor.h:
622 * gunixinputstream.h:
623 * gunixoutputstream.h:
626 s/parent/parent_instance/ in GObjects
628 2007-12-12 Alexander Larsson <alexl@redhat.com>
633 No need for padding for interfaces
635 2007-12-12 Alexander Larsson <alexl@redhat.com>
639 * gbufferedinputstream.c:
640 * gbufferedoutputstream.c:
643 * gdatainputstream.[ch]:
645 * gdirectorymonitor.c:
647 * gfileattribute.[ch]:
650 * gfileinputstream.h:
652 * gfileoutputstream.[ch]:
653 * gfilterinputstream.h:
654 * gfilteroutputstream.h:
657 * gloadableicon.[ch]:
658 * gmemoryinputstream.c:
661 Fix up a bunch of details in the docs.
666 2007-12-11 David Zeuthen <davidz@redhat.com>
668 Rework how volumes, drives and volume monitoring is
669 done. Previosly the model was
673 where a GDrive instance represented a mount point and a GVolume
674 instance represented a mounted file system. This patch changes it
677 GDrive <1-N> GVolume <1-1> GMount
679 where GMount now serves the purpose of the old GVolume and the new
680 GVolume serves the purpose of the old GDrive. In addition the new
681 GDrive interface is used to represent a collection of GVolume
682 instances (typically partitions) and also contains utility to query
683 the state of the physical drive the GDrive object represents (such
684 as checking for media, polling the drive, ejecting the media etc.).
686 Also implement mounting and unmounting in the Unix volume monitor
687 backend. A subquent patch will introduce GDrive support for ejection
691 * gdrive.c: (g_drive_is_media_check_automatic),
692 (g_drive_is_media_removable), (g_drive_has_media),
693 (g_drive_can_poll_for_media), (g_drive_eject),
694 (g_drive_eject_finish), (g_drive_poll_for_media),
695 (g_drive_poll_for_media_finish):
697 * gfile.c: (g_file_find_enclosing_mount):
700 * glocaldirectorymonitor.c:
701 (g_local_directory_monitor_constructor), (mounts_changed):
702 * glocalfile.c: (get_mount_info),
703 (g_local_file_find_enclosing_mount),
704 (g_local_file_file_iface_init):
705 * gnativevolumemonitor.h:
706 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
707 (get_connected_drives), (g_union_volume_monitor_class_init),
708 (child_volume_added), (child_volume_removed),
709 (child_volume_changed), (child_mount_added), (child_mount_removed),
710 (child_mount_pre_unmount), (child_mount_changed),
711 (child_drive_changed), (g_union_volume_monitor_add_monitor),
712 (g_union_volume_monitor_remove_monitor),
713 (_g_mount_get_for_mount_path):
714 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
715 (guess_system_internal), (_g_get_unix_mounts),
716 (_g_get_unix_mount_points), (g_get_unix_mount_at),
717 (g_unix_mount_free), (g_unix_mount_compare),
718 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
719 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
720 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
721 (type_to_icon), (g_unix_mount_guess_name),
722 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
723 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
724 (_resolve_symlink), (_resolve_dev_root):
726 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
727 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
728 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
729 (g_unix_volume_get_name), (g_unix_volume_can_mount),
730 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
731 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
732 (g_unix_volume_mount), (g_unix_volume_mount_finish),
733 (g_unix_volume_volume_iface_init):
735 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
736 (get_mounts), (get_volumes), (get_connected_drives),
737 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
738 (mountpoints_changed), (mounts_changed),
739 (g_unix_volume_monitor_init),
740 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
741 (find_mount_by_mountpath), (update_volumes), (update_mounts):
742 * gunixvolumemonitor.h:
743 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
744 (g_volume_mount), (g_volume_mount_finish):
746 * gvolumemonitor.c: (g_volume_monitor_class_init),
747 (g_volume_monitor_get_connected_drives),
748 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
751 2007-12-10 Matthias Clasen <mclasen@redhat.com>
753 * gmountoperation.h (GPasswordFlags): Close the gap
755 2007-12-10 Matthias Clasen <mclasen@redhat.com>
757 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
759 * gdesktopappinfo.[hc]: Remove _-prefixes
761 2007-12-10 Tor Lillqvist <tml@novell.com>
763 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
766 2007-12-10 Alexander Larsson <alexl@redhat.com>
768 * gfile.c (g_file_set_display_name):
769 Don't hardcode '/' (#502727)
771 2007-12-09 Hans Breuer <hans@breuer.org>
773 * makefile.msc : follow lib naming convention
774 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
775 for user and group name, tested with ../tests/gio-ls
777 2007-12-09 A. Walton <awalton@svn.gnome.org>
790 * gmemoryinputstream.c:
791 * gmemoryoutputstream.c:
793 * gsimpleasyncresult.c:
794 More documentation cleanup and filling in missing information, bringing
795 GIO to 99% symbol coverage.
797 2007-12-08 Hans Breuer <hans@breuer.org>
799 [gio compiles and links on win32, not sure how much already works]
800 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
801 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
802 base on win32 API; prefer g_lstat() over lstat(); instead of
803 localtime_r() use an all GLib implementation on win32;
804 get_mount_info() still needs a win32 specifc implementation
805 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
806 win32_get_file_user_info to get owner/group info without uid/gid
807 * glocalfileinputstream.c : include <io.h> on win32
808 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
809 definition, use g_win32_ftruncate() for G_OS_WIN32
810 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
811 it is available with mingw/w32api but a mess with the M$ Platform SDKs
812 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
813 * makefile.msc : updated
815 2007-12-07 Alexander Larsson <alexl@redhat.com>
817 * glocalfileenumerator.c (_g_local_file_enumerator_new):
818 Avoid warning spew if error == NULL
820 2007-12-07 Alexander Larsson <alexl@redhat.com>
823 Update docs wrt etags
825 2007-12-06 Alexander Larsson <alexl@redhat.com>
828 Include sys/types.h for dev_t (#501919)
830 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
834 Make abicheck and pltcheck pass.
836 2007-12-05 Alexander Larsson <alexl@redhat.com>
839 * giomodule-priv.h: Added.
840 * glocaldirectorymonitor.c:
841 * glocalfilemonitor.c:
842 * gunionvolumemonitor.c:
844 Actually add the declaration of _g_io_modules_ensure_loaded
846 2007-12-05 Alexander Larsson <alexl@redhat.com>
848 * gdatainputstream.c:
853 * glocaldirectorymonitor.c:
854 * glocalfilemonitor.c:
855 * gunionvolumemonitor.c:
857 Make g_io_modules_ensure_loaded a private function and
858 don't pass in the dirname. This means we can do magic
859 directory finding in the win32 version.
860 Export the actual load-modules-in-directory code so that
863 2007-12-05 Alexander Larsson <alexl@redhat.com>
865 * gbufferedinputstream.c:
866 * gbufferedoutputstream.c:
869 * gfileenumerator.[ch]:
870 * gfileinputstream.c:
871 * gfileoutputstream.[ch]:
872 * gfilterinputstream.c:
873 * gfilteroutputstream.c:
876 * glocalfileenumerator.c:
877 * glocalfileinputstream.c:
878 * glocalfileoutputstream.c:
879 * gmemoryinputstream.c:
880 * gmemoryoutputstream.c:
881 * goutputstream.[ch]:
884 * gunixinputstream.c:
885 * gunixoutputstream.c:
886 Rename all struct members named:
887 read, write, close, truncate, or mount
888 to foo_fn, as these are reserved names
889 and could be defined as macros in libc.
892 2007-12-04 Alexander Larsson <alexl@redhat.com>
895 (g_output_stream_close):
896 Only call flush if non-null.
898 2007-11-30 Dan Winship <danw@gnome.org>
900 * ginputstream.c (g_input_stream_set_pending): Make this take a
901 GError and return a gboolean, and do the "outstanding operation"
902 check (and the "stream is already closed" check) itself.
903 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
905 * goutputstream.c (g_output_stream_set_pending)
906 (g_output_stream_clear_pending): Likewise
908 * gbufferedinputstream.c:
909 * gfileinputstream.c:
910 * gfileoutputstream.c: Update for that
912 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
913 Like g_simple_async_report_error_in_idle, but takes a GError
914 rather than building one.
916 2007-11-30 Dan Winship <danw@gnome.org>
918 * goutputstream.c: Don't cheat and unset the "pending" flag around
919 inner calls. Instead, call the class method directly rather than
920 the wrapper function that checks "pending"
922 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
924 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
926 2007-12-03 Hans Breuer <hans@breuer.org>
928 [start of port to win32/msvc]
929 * gcancellable.c : HAVE_UNIST_H and _pipe()
930 * gcontenttype.c : only include <dirent.h> in the UNIX branch
931 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
932 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
934 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
935 * glocalvfs.c : use HAVE_PWD_H
936 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
937 * makefile.msc : new file (maybe later converted to makefile.msc.in)
938 * Makefile.am : added to EXTRA_DIST
940 2007-12-03 Matthias Clasen <mclasen@redhat.com>
942 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
945 2007-12-03 Alexander Larsson <alexl@redhat.com>
948 Handle OSX style xattrs API (#500506)
950 2007-12-03 Alexander Larsson <alexl@redhat.com>
954 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
956 2007-12-02 A. Walton <awalton@svn.gnome.org>
960 Documentation accuracy fixes.
962 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
964 * gioenumtypes.c.template: Fix typo.
966 2007-12-01 Matthias Clasen <mclasen@redhat.com>
968 * gioenumtypes.c.template: Make threadsafe get_type() functions.
970 2007-12-01 Matthias Clasen <mclasen@redhat.com>
972 * gdirectorymonitor.c:
973 * gfilemonitor.c: Add properties
975 * gbufferedoutputstream.c: Don't mark buffer-size property
978 2007-12-01 Matthias Clasen <mclasen@redhat.com>
980 * gbufferedoutputstream.c: Add auto-grow property.
982 2007-11-30 Matthias Clasen <mclasen@redhat.com>
984 * *.c: Unify the capitalization of section headings.
986 2007-11-30 Matthias Clasen <mclasen@redhat.com>
988 * gmountoperation.c: Add properties
990 * gdatainputstream.c: Turn byte-order and newline-type into
993 2007-11-30 Matthias Clasen <mclasen@redhat.com>
995 * gioenumtypes.[hc].template: Templates for enum registration
997 * Makefile.am: Generate gioenumtypes.[hc]
999 * gio.h: Include gioenumtypes.h
1001 * gfile.h: Add some explicit nicks.
1003 * gio.symbols: Add new symbols
1005 * pltcheck.sh: Adjust
1007 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1009 * *.c: Explain etags and link to the explanation
1011 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1013 * *.c: Explain I/O priority.
1015 * *.c: More coding style fixes.
1017 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1019 * gasyncresult.c: Add another paragraph to the intro,
1020 adjust coding style of example.
1022 2007-11-29 A. Walton <awalton@svn.gnome.org>
1025 Fixes unknown meaning in GAppLaunchContext docs.
1027 Clarify asynchronous ops.
1029 Fix entity tag docs.
1032 Provides missing gtk-doc section, fixes API docs slighly.
1033 * gsimpleasyncresult.c:
1034 Fill in missing info in docs.
1035 * gunixinputstream.c:
1036 * gunixoutputstream.c:
1037 Be more expressive in short description.
1039 Remove gtk-doc stubs for non-public API.
1041 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1043 * *.c: Coding style fixups
1045 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1047 * inotify/inotify-helper.c: Don't export the lock from libgio.
1049 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1052 * abicheck.sh: Fix copy-and-paste leftovers
1054 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1056 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1058 2007-11-28 Alexander Larsson <alexl@redhat.com>
1062 Removed unnecessary file
1064 * gdesktopappinfo.[ch]:
1067 * glocaldirectorymonitor.[ch]:
1069 * glocalfileenumerator.[ch]:
1070 * glocalfileinputstream.[ch]:
1071 * glocalfilemonitor.[ch]:
1072 * glocalfileoutputstream.[ch]:
1074 * gnativevolumemonitor.c:
1075 * gpollfilemonitor.[ch]:
1076 * gunionvolumemonitor.[ch]:
1079 * gunixvolumemonitor.[ch]:
1082 * inotify/ginotifydirectorymonitor.[ch]:
1083 * inotify/ginotifyfilemonitor.[ch]:
1084 * inotify/inotify-helper.c:
1085 Append _ to all internal functions
1089 Export symbols needed for modules
1091 2007-11-28 Alexander Larsson <alexl@redhat.com>
1094 * abicheck.sh: Added.
1095 * makegioalias.pl: Added.
1096 * pltcheck.sh: Added.
1097 * gio.symbols: Added.
1100 Initial work on adding symbol handling.
1103 Correct ifdef guard name
1106 * inotify/Makefile.am:
1107 * xdgmime/Makefile.am:
1108 Include toplevel Makefile.decl
1110 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1112 * gcontenttype.c: Move doc comments to the unix section.
1114 * *.[hc]: More trivial doc corrections.
1116 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1118 * gpollfilemonitor.c:
1122 * gdesktopappinfo.c:
1127 * gdatainputstream.c:
1128 * gdatainputstream.h:
1129 * gdataoutputstream.c:
1130 * gdataoutputstream.h:
1131 * gfileinfo.h: Doc cleanups
1133 2007-11-28 Andre Klapper <a9016009@gmx.de>
1135 * gdesktopappinfo.c: Fix a typo.
1137 2007-11-27 Andre Klapper <a9016009@gmx.de>
1139 * glocalfileoutputstream.c: Fix a typo.
1141 2007-11-27 Alexander Larsson <alexl@redhat.com>
1144 Don't include removed headers
1146 2007-11-27 Alexander Larsson <alexl@redhat.com>
1149 * gsocketinputstream.[ch]: Removed.
1150 * gsocketoutputstream.[ch]: Removed.
1151 * gunixinputstream.[ch]: Added.
1152 * gunixoutputstream.[ch]: Added.
1153 Renamed GSocket*Stream to GUnix*Stream and made
1154 it unix-only, since its not really only for sockets
1155 and it only works on unix (but is highly useful there).
1157 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1163 * gbufferedinputstream.c:
1164 * gbufferedinputstream.h:
1165 * gbufferedoutputstream.c:
1166 * gbufferedoutputstream.h:
1170 * gdatainputstream.c:
1171 * gdatainputstream.h:
1172 * gdataoutputstream.c:
1173 * gdataoutputstream.h:
1174 * gdirectorymonitor.c:
1175 * gdirectorymonitor.h:
1182 * gfileenumerator.c:
1183 * gfileenumerator.h:
1188 * gfileinputstream.c:
1189 * gfileinputstream.h:
1192 * gfilenamecompleter.c:
1193 * gfilenamecompleter.h:
1194 * gfileoutputstream.c:
1195 * gfileoutputstream.h:
1196 * gfilterinputstream.c:
1197 * gfilterinputstream.h:
1198 * gfilteroutputstream.c:
1199 * gfilteroutputstream.h:
1212 * glocalfileoutputstream.c:
1213 * gmemoryinputstream.c:
1214 * gmemoryinputstream.h:
1215 * gmemoryoutputstream.c:
1216 * gmemoryoutputstream.h:
1217 * gmountoperation.c:
1218 * gmountoperation.h:
1221 * gpollfilemonitor.c:
1224 * gsimpleasyncresult.c:
1225 * gsimpleasyncresult.h:
1226 * gsocketinputstream.c:
1227 * gsocketinputstream.h:
1228 * gsocketoutputstream.c:
1229 * gsocketoutputstream.h:
1236 * gunixvolumemonitor.c:
1245 Bumps documentation to 93% symbol coverage, touching most
1246 of the public files. Fixes broken function documentation prototypes.
1247 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1248 gtk-doc headers in private files.
1250 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1252 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1253 (g_buffered_input_stream_read_byte):
1254 * gbufferedinputstream.h:
1255 New functions for efficient access to buffer and simple single byte
1258 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1259 (g_data_input_stream_read_until):
1260 * gdatainputstream.h:
1261 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1262 read_until with multiple stop chars.
1264 2007-11-27 Alexander Larsson <alexl@redhat.com>
1268 * inotify/Makefile.am:
1269 Use the user-specified giomoduledir
1271 2007-11-27 Alexander Larsson <alexl@redhat.com>
1275 Add catch-all gio.h header
1276 Don't install gdummyfile.h
1278 2007-11-26 Alexander Larsson <alexl@redhat.com>
1280 * Makefile.am (gioinclude_HEADERS):
1281 Remove trailing whitespace
1283 2007-11-26 Alexander Larsson <alexl@redhat.com>
1285 Merge gio-standalone into glib
1287 2007-11-25 Christian Kellner <gicmo@gnome.org>
1289 * gio/goutputstream.c:
1290 Fix small mistake in the docs.
1292 2007-11-21 Christian Persch <chpe@gnome.org>
1294 * gio/glocalfile.c: (g_local_file_trash):
1295 Convert filenames to UTF-8 for GError.
1296 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1297 as per xdg base dir spec.
1299 2007-11-21 Christian Persch <chpe@gnome.org>
1301 * gio/gdesktopappinfo.c:
1302 Use that g_key_file_to_data cannot fail.
1304 Use stock defines for the key file group and key names.
1307 2007-11-21 Alexander Larsson <alexl@redhat.com>
1310 (copy_stream_with_progress):
1311 Make sure we do a final progress callback with
1312 the full total size.
1314 2007-11-21 Alexander Larsson <alexl@redhat.com>
1317 Export g_file_copy_attributes
1318 Remove padding as its not needed for interfaces
1320 2007-11-20 Alexander Larsson <alexl@redhat.com>
1325 Add G_IO_ERROR_WOULD_MERGE for
1326 copy/move dir on dir with overwrite.
1328 2007-11-20 Alexander Larsson <alexl@redhat.com>
1331 * gio/glocalfileinfo.c:
1332 Add COPY_NAME (this is an optional
1333 non-modified utf8 version of the name) that
1336 2007-11-20 Alexander Larsson <alexl@redhat.com>
1338 * gio/glocalfileenumerator.c:
1339 Report errors as GIOError, not GFileError
1341 2007-11-16 Alexander Larsson <alexl@redhat.com>
1343 * gio/glocalfileoutputstream.c:
1344 * gio/gwin32appinfo.c:
1345 Fix typos in strings.
1346 Patch from Luca Ferretti <elle.uca@libero.it>
1348 2007-11-15 Alexander Larsson <alexl@redhat.com>
1351 Post release version bump
1353 === gio-standalone 0.1.2 ===
1355 2007-11-15 Alexander Larsson <alexl@redhat.com>
1357 * docs/reference/gio/Makefile.am:
1358 Fix up distcheck by removing weird
1364 2007-11-14 Alexander Larsson <alexl@redhat.com>
1366 * gio/gdesktopappinfo.c:
1367 * gio/glocaldirectorymonitor.c:
1369 * gio/glocalfileinfo.c:
1370 * gio/inotify/inotify-sub.c:
1371 * programs/gio-cat.c:
1372 * programs/gio-copy.c:
1373 * programs/gio-info.c:
1374 * programs/gio-ls.c:
1375 * programs/gio-monitor-dir.c:
1376 * programs/gio-monitor-file.c:
1377 * programs/gio-mount.c:
1378 * programs/gio-move.c:
1379 * programs/gio-rm.c:
1380 * programs/gio-save.c:
1381 * programs/gio-trash.c:
1382 Leak fixes from Kjartan Maraas
1384 2007-11-14 Alexander Larsson <alexl@redhat.com>
1386 * gio/fam/fam-helper.c:
1388 * gio/glocalfileinfo.c:
1392 * gio/inotify/inotify-diag.c:
1393 * gio/inotify/inotify-kernel.c:
1394 Various code cleanups from Kjartan Maraas
1396 2007-11-14 Alexander Larsson <alexl@redhat.com>
1398 * gio/gioscheduler.c:
1400 Set up threadpool so that we cache 2 unused
1401 idle threads for at 15 secs. This means we
1402 will reuse thread-local data (like dbus connections)
1405 2007-11-14 Alexander Larsson <alexl@redhat.com>
1407 * gio/fam/fam-helper.c:
1408 * gio/fam/gfamdirectorymonitor.c:
1409 * gio/fam/gfamfilemonitor.c:
1411 * gio/gcontenttype.c:
1412 * gio/gdatainputstream.c:
1413 * gio/gdataoutputstream.c:
1417 * gio/gfileattribute.h:
1418 * gio/gfileenumerator.c:
1420 * gio/ginputstream.c:
1423 * gio/glocalfileinfo.c:
1424 * gio/goutputstream.c:
1425 * gio/gpollfilemonitor.c:
1426 * gio/gsimpleasyncresult.c:
1427 * gio/gunixmounts.c:
1428 * gio/gunixmounts.h:
1429 * gio/inotify/ginotifydirectorymonitor.c:
1430 * gio/inotify/ginotifyfilemonitor.c:
1431 * gio/inotify/inotify-diag.c:
1432 * gio/inotify/inotify-kernel.c:
1433 * gio/inotify/inotify-path.c:
1435 * gio/test-streams.c:
1436 * programs/gio-info.c:
1437 * programs/gio-monitor-dir.c:
1438 * programs/gio-monitor-file.c:
1439 Various code cleanups from Kjartan Maraas
1441 2007-11-13 Alexander Larsson <alexl@redhat.com>
1444 Handle the uri-scheme calls for dummy files
1446 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1448 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1449 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1450 to avoid clash with the C++ keyword.
1452 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1454 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1455 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1457 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1459 * gio/glocaldirectorymonitor.c:
1460 * gio/glocalfilemonitor.c:
1461 * gio/gunionvolumemonitor.c:
1462 Don't use g_once_init_*() for initializations that could fail and
1463 could leave the initialization variable set to 0 but use GOnce.
1464 This prevents a deadlock on the second call when trying to create
1465 a monitor and no monitor type is available. Thanks to Sven Herzberg
1468 2007-11-11 Sven Herzberg <sven@imendio.com>
1470 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1471 #ifdef (make it work on MacOS X again)
1473 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1475 Fixes Changelog for last two commits (sorry guys).
1477 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1479 * gio/gbufferedinputstream.c:
1480 * gio/gdatainputstream.c:
1482 * gio/gfileoutputstream.c:
1483 * gio/gfilterinputstream.c:
1484 * gio/glocalfileinputstream.c:
1487 More consistency fixes in g*stream.c files.
1488 Significant clean of gfile's documentation, filling in of
1489 asynchronous operations documentation.
1491 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1493 * gio/gasyncresult.c:
1494 * gio/gbufferedinputstream.c:
1495 * gio/gbufferedoutputstream.c:
1496 * gio/gcancellable.c:
1497 * gio/gcontenttype.c:
1498 * gio/gdatainputstream.c:
1499 * gio/gdataoutputstream.c:
1500 * gio/gdesktopappinfo.c:
1503 * gio/gfileattribute.c:
1504 * gio/gio/gfileenumerator.c:
1506 * gio/gfileinputstream.c:
1507 * gio/gfilemonitor.c:
1508 * gio/gfileoutputstream.c:
1509 * gio/ginputstream.c:
1511 * gio/gioscheduler.c:
1512 * gio/gloadableicon.c:
1513 * gio/glocalfileoutputstream.c:
1514 * gio/gmemoryoutputstream.c:
1515 * gio/gmountoperation.c:
1516 * gio/goutputstream.c:
1518 * gio/gsimpleasyncresult.c:
1519 * gio/gunionvolumemonitor.c:
1520 * gio/gunixmounts.c:
1521 * gio/gunixvolume.c:
1525 * gio/gvolumemonitor.c:
1526 Updated documentation stubs, working towards consistency and
1529 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1531 * gio/gmemoryoutputstream.c:
1532 * gio/gmemoryoutputstream.h:
1533 Change g_memory_output_stream_set_free_on_close() to
1534 g_memory_output_stream_set_free_data() as this makes more sense and
1535 is more consistent with GMemoryInputStream.
1537 2007-11-07 Alexander Larsson <alexl@redhat.com>
1544 Change how we find the default vfs so that
1545 we can handle a gvfs failing to init
1547 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1549 * gio/gbufferedoutputstream.c:
1550 * gio/gdatainputstream.c:
1551 * gio/gdataoutputstream.c:
1552 * gio/gfileinputstream.c:
1553 * gio/gfileoutputstream.c:
1554 * gio/gfilterinputstream.c:
1555 * gio/gfilteroutputstream.c:
1556 * gio/ginputstream.c:
1557 * gio/gmemoryinputstream.c:
1558 * gio/gmemoryoutputstream.c:
1559 * gio/goutputstream.c:
1560 * gio/gsimpleasyncresult.c:
1561 * gio/gsocketinputstream.c:
1562 * gio/gsocketoutputstream.c:
1563 Add guards to the remaining public functions, add a TODO for
1564 an unimplemented function and remove some useless guards.
1566 2007-11-07 Alexander Larsson <alexl@redhat.com>
1569 Autoconf checks for the various types of
1570 getpwuid_r and getgrgid_r
1572 * gio/glocalfileinfo.c:
1573 Use the autoconf checks from above
1575 2007-11-07 Alexander Larsson <alexl@redhat.com>
1578 (g_local_file_query_filesystem_info):
1579 Some fixes for the statvfs case
1581 2007-11-07 Alexander Larsson <alexl@redhat.com>
1584 (g_local_file_query_filesystem_info):
1585 Pick the "best" of statfs / statvfs for the system
1586 if both are availible.
1588 2007-11-07 Alexander Larsson <alexl@redhat.com>
1590 Solaris fixes from Halton.Huo@Sun.COM:
1597 * gio/glocalfileinfo.c:
1598 Fix for solaris definition of getpwuid_r
1600 * gio/test-streams.c:
1601 Use G_GNUC_PRETTY_FUNCTION
1603 2007-11-07 Alexander Larsson <alexl@redhat.com>
1605 * gio/gdesktopappinfo.c:
1606 (update_default_list):
1607 Remove double semicolon.
1608 Patch from Jens Granseuer
1610 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1612 * docs/reference/gio/gio-sections.txt:
1613 * gio/gbufferedinputstream.c:
1614 * gio/gbufferedinputstream.h:
1615 * gio/gdatainputstream.c:
1616 * gio/gfileenumerator.c:
1617 * gio/gioscheduler.c:
1618 * gio/gunionvolumemonitor.c:
1620 * programs/gio-save.c:
1621 Fix typo: availible -> available. Unfortuntely this breaks API
1622 and ABI as g_buffered_input_stream_get_available() was renamed.
1624 * gio/gunixmounts.c:
1625 * gio/gbufferedinputstream.c:
1626 Add guards for public functions.
1628 2007-11-06 Ross Burton <ross@openedhand.com>
1630 * docs/reference/gio/Makefile.am:
1631 Fix invalid += usage which automake 1.10 doesn't like.
1633 2007-11-06 Alexander Larsson <alexl@redhat.com>
1636 (g_app_launch_context_class_init):
1639 Patch from Ross Burton
1641 2007-11-06 Alexander Larsson <alexl@redhat.com>
1644 Post release version bump
1646 === gio-standalone 0.1.1 ===
1648 2007-11-06 Alexander Larsson <alexl@redhat.com>
1651 Bump version to 0.1.1
1653 * gio/gsimpleasyncresult.c:
1654 (g_simple_async_result_set_from_error):
1655 Remove bogus g_return_if_fail
1657 2007-11-06 Alexander Larsson <alexl@redhat.com>
1660 The name is gio-standalone
1663 Add top src/builddir to includedir
1665 2007-11-06 Alexander Larsson <alexl@redhat.com>
1667 * docs/reference/gio/gio-sections.txt:
1669 * gio/gbufferedinputstream.c:
1670 * gio/gbufferedoutputstream.c:
1671 * gio/gcancellable.c:
1672 * gio/gdatainputstream.h:
1673 * gio/gdataoutputstream.c:
1674 * gio/gdataoutputstream.h:
1675 * gio/gdirectorymonitor.c:
1677 * gio/gfileattribute.c:
1678 * gio/gfileattribute.h:
1679 * gio/gfileenumerator.c:
1680 * gio/gfileenumerator.h:
1683 * gio/gfileinputstream.h:
1684 * gio/gfilemonitor.c:
1685 * gio/gfileoutputstream.h:
1686 * gio/glocalfilemonitor.h:
1687 * gio/glocalfileoutputstream.h:
1688 * gio/gmemoryinputstream.c:
1689 * gio/gmemoryoutputstream.c:
1690 * gio/gmountoperation.c:
1691 * gio/goutputstream.c:
1692 * gio/goutputstream.h:
1694 * gio/gsimpleasyncresult.c:
1695 * gio/gunixmounts.c:
1696 * gio/gunixmounts.h:
1698 * gio/inotify/inotify-helper.c:
1699 Fix gtk-doc warnings
1701 Patch from Ross Burton
1703 2007-11-06 Alexander Larsson <alexl@redhat.com>
1705 * gio/gfilenamecompleter.c:
1706 (g_filename_completer_get_completions):
1709 * gio/gunixvolume.c:
1710 Remove unused function
1712 Patches from Ross Burton
1714 2007-11-06 Alexander Larsson <alexl@redhat.com>
1719 Padding not needed for interfaces
1721 2007-11-06 Alexander Larsson <alexl@redhat.com>
1723 * gio/gfilemonitor.c:
1727 Make giotypes.h an internal file
1730 * gio/gbufferedinputstream.h:
1731 * gio/gbufferedoutputstream.h:
1732 * gio/gcancellable.h:
1733 * gio/gdatainputstream.h:
1734 * gio/gdataoutputstream.h:
1735 * gio/gdirectorymonitor.c:
1736 * gio/gdirectorymonitor.h:
1741 * gio/gfileattribute.h:
1742 * gio/gfileenumerator.h:
1747 * gio/gfilemonitor.c:
1748 * gio/gfilemonitor.h:
1749 * gio/gfilenamecompleter.c:
1750 * gio/gfilenamecompleter.h:
1751 * gio/gfilterinputstream.h:
1752 * gio/gfilteroutputstream.h:
1753 * gio/ginputstream.h:
1754 * gio/gmemoryinputstream.h:
1755 * gio/gmemoryoutputstream.h:
1756 * gio/gmountoperation.c:
1757 * gio/gmountoperation.h:
1758 * gio/gnativevolumemonitor.c:
1759 * gio/goutputstream.h:
1762 * gio/gsimpleasyncresult.c:
1763 * gio/gsimpleasyncresult.h:
1764 * gio/gsocketinputstream.h:
1765 * gio/gsocketoutputstream.h:
1766 * gio/gthemedicon.c:
1767 * gio/gthemedicon.h:
1771 * gio/gvolumemonitor.c:
1772 * gio/gvolumemonitor.h:
1773 Add padding in classes where it seems useful
1774 Don't include giotypes.h from public headers
1775 Move in Class definitions into c file where possible
1780 2007-11-06 Alexander Larsson <alexl@redhat.com>
1782 * docs/reference/gio/gio-docs.xml:
1783 Better structure for API docs
1785 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1788 * gio/gloadableicon.c:
1789 * gio/gsimpleasyncresult.c:
1790 * gio/gthemedicon.c:
1791 Add some more guards to public functions. Only files missing are now
1794 2007-11-06 Alexander Larsson <alexl@redhat.com>
1796 * docs/reference/gio/gio-docs.xml:
1797 Remove old files, add missing ones
1799 2007-11-06 Alexander Larsson <alexl@redhat.com>
1801 * docs/reference/gio/gio-sections.txt:
1804 Hide implementation classes
1806 * gio/gdriveprivate.h:
1807 * gio/gvolumeprivate.h:
1808 Remove non-existing function declarations
1810 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1813 Fix compilation warnings and add guards to the new functions.
1815 * gio/gasyncresult.c:
1817 Add guards to the public functions.
1820 Implement get_path().
1822 2007-11-06 Alexander Larsson <alexl@redhat.com>
1824 * gio/gfilenamecompleter.c:
1825 Make g_filename_completer_get_completions
1826 return char ** instead of GList for
1829 * docs/reference/gio/gio-docs.xml:
1830 * docs/reference/gio/gio-sections.txt:
1832 * gio/gasyncresult.c:
1833 * gio/gbufferedinputstream.c:
1834 * gio/gbufferedoutputstream.c:
1835 * gio/gcancellable.c:
1836 * gio/gcontenttype.c:
1837 * gio/gdatainputstream.c:
1838 * gio/gdataoutputstream.c:
1839 * gio/gdesktopappinfo.c:
1840 * gio/gdirectorymonitor.c:
1844 * gio/gfileattribute.c:
1845 * gio/gfileenumerator.c:
1848 * gio/gfileinputstream.c:
1849 * gio/gfilemonitor.c:
1850 * gio/gfilenamecompleter.c:
1851 * gio/gfilenamecompleter.h:
1852 * gio/gfileoutputstream.c:
1853 * gio/gfilterinputstream.c:
1855 * gio/ginputstream.c:
1857 * gio/gioscheduler.c:
1858 * gio/gloadableicon.c:
1859 * gio/glocaldirectorymonitor.c:
1861 * gio/glocalfileinputstream.c:
1862 * gio/glocalfilemonitor.c:
1863 * gio/glocalfileoutputstream.c:
1865 * gio/gmemoryinputstream.c:
1866 * gio/gmemoryoutputstream.c:
1867 * gio/gmountoperation.c:
1868 * gio/goutputstream.c:
1869 * gio/gpollfilemonitor.c:
1871 * gio/gsimpleasyncresult.c:
1872 * gio/gsocketinputstream.c:
1873 * gio/gsocketoutputstream.c:
1874 * gio/gthemedicon.c:
1875 * gio/gunionvolumemonitor.c:
1877 * gio/gunixmounts.c:
1878 * gio/gunixvolume.c:
1879 * gio/gunixvolumemonitor.c:
1883 * gio/gvolumemonitor.c:
1884 * gio/gwin32appinfo.c:
1885 Add (mostly stub) doc strings to public functions.
1886 Patch from Andrew Walton (awalton@gmail.com)
1888 2007-11-06 Alexander Larsson <alexl@redhat.com>
1890 * gio/gappinfo.[ch]:
1891 Added GAppLaunchContext object and pass that to launch.
1892 This allows simple implementation of both
1893 launch-on-screen and startup notification via a gtk+
1894 subclass of GAppLaunchContext
1896 * gio/gdesktopappinfo.c:
1897 Implement GAppLaunchContext API
1899 * gio/gwin32appinfo.c:
1902 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1904 * gio/gmountoperation.c:
1905 Add some guards to GMountOperation's public functions.
1907 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1911 * gio/gcancellable.c:
1912 * gio/gdirectorymonitor.c:
1914 * gio/gfileenumerator.c:
1915 * gio/gfilemonitor.c:,
1916 * gio/gfilenamecompleter.c:
1919 * gio/gioscheduler.c:
1923 * gio/gvolumemonitor.c:
1924 Add even more guards to various public functions.
1926 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1929 Add guards to the public functions of GAppInfo.
1931 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1933 * gio/gcontenttype.c:
1934 Add some more guards for public functions.
1936 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1938 * gio/fam/fam-module.c:
1939 * gio/fam/gfamdirectorymonitor.c:
1940 * gio/fam/gfamdirectorymonitor.h:
1941 * gio/fam/gfamfilemonitor.c:
1942 * gio/fam/gfamfilemonitor.h:
1943 * gio/inotify/ginotifydirectorymonitor.c:
1944 * gio/inotify/ginotifydirectorymonitor.h:
1945 * gio/inotify/ginotifyfilemonitor.c:
1946 * gio/inotify/ginotifyfilemonitor.h:
1947 Add proper copyright information and remove an unused variable
1948 in the GInotifyFileMonitor constructor.
1950 * gio/gcancellable.c:
1951 Add a guard for a public function and an assertion to prevent
1952 an undefined program state.
1954 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1956 * gio/gfileattribute.c:
1957 Don't run into an assertion if the given attribute value is NULL
1958 in g_file_attribute_value_get_*() but instead return a fallback
1959 value that makes sense in most situations. Passing them a attribute
1960 value with the wrong type will still run into an assertion.
1962 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1964 * gio/gfileattribute.c:
1966 Add even more guards to the public functions. Also fix the refcounting
1967 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1968 let g_file_info_list_attributes() filter the attributes by namespace
1969 instead of simply ignoring the namespace parameter.
1971 2007-11-03 Sven Herzberg <sven@imendio.com>
1973 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1974 (This makes gio work on MacOS X again)
1976 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1979 Build the gio subdirectory before the docs. Otherwise the build will
1982 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1983 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1984 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1985 Add guards to the public functions.
1987 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1989 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1990 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1991 to prevent a compiler warning.
1993 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1994 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1995 return something in the non-void function find_topdir_for().
1997 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2004 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2006 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2007 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2008 * gwin32appinfo.c (g_win32_app_info_launch):
2009 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2010 envp_for_startup_id, g_desktop_app_info_launch,
2011 g_desktop_app_info_launch_uris):
2013 Give an opaque 'startup_id' string instead of 'envp'.
2014 Support empty file lists for launching new windows.
2015 Fix infinite recursion bug when launching URIs.
2017 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2020 Add guard to the new g_file_get_uri_scheme() function.
2022 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2025 Convert a g_return_val_if_fail() to setting the GError instead as
2026 otherwise applications have to verify the parameter before otherwise
2027 and the parameter might come directly from the user.
2029 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2031 * gio/inotify/ginotify*.[ch]:
2032 Add missing copyright information.
2034 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2037 Add guards in the beginning of public functions to check for valid
2038 parameters and fix a bug in copy_stream_with_progress() that could've
2039 caused writing less bytes than reading.
2040 * gio/glocalfileinfo.c:
2041 Check for a NULL parameter and set the GError accordingly then.
2042 * gio/goutputstream.c:
2043 Fix the same bug as in gfile.c that could've caused writing less bytes
2044 than reading in g_output_stream_real_splice().
2046 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2049 Use the correct gvolumeprivate.h naming
2051 2007-11-01 Christian Kellner <gicmo@gnome.org>
2054 Remove leftover "$(daemon_sources)" entry.
2056 2007-11-01 Christian Kellner <gicmo@gnome.org>
2061 Add copyright information to source files.
2063 2007-11-01 Alexander Larsson <alexl@redhat.com>
2067 Add g_file_get_uri_scheme
2069 2007-11-01 Alexander Larsson <alexl@redhat.com>
2072 * gio/gdesktopappinfo.c:
2073 * gio/gwin32appinfo.c:
2074 Add g_app_info_get_default_for_uri_scheme.
2076 2007-11-01 Alexander Larsson <alexl@redhat.com>
2079 Correct filename for gdriveprivate.h
2081 2007-10-31 Alexander Larsson <alexl@redhat.com>
2084 Rename id:value to id:file
2087 * gio/glocalfileinfo.c:
2090 2007-10-31 Alexander Larsson <alexl@redhat.com>
2092 * gio/gunixvolume.c:
2094 Remove g_volume_get_platform_id, as thats not
2095 needed with the simpler union volume monitor
2097 2007-10-31 Alexander Larsson <alexl@redhat.com>
2100 * gio/guniondrive.[ch]: Removed.
2101 * gio/gunionvolume.[ch]: Removed.
2102 Remove GUnionDrive/Volume
2104 * gio/gunionvolumemonitor.c:
2105 Simplify union volume monitor, now we
2106 only have one native volume monitor and
2107 we use the actual volumes/drives from the
2108 child monitors instead of wrapping them
2110 * gio/gnativevolumemonitor.[ch]:
2111 Base class for native volume monitors.
2112 Includes priority and get_volume_for_mountpoint
2115 Add g_file_find_enclosing_volume
2118 Remove volume name fs attribute
2119 Add readonly fs attribute
2122 Implement readonly attribute
2123 remove volume name attribute
2124 Implement find_enclosing volume
2126 * gio/gunixmounts.c:
2127 Add a volume for "/".
2129 * gio/gunixvolume.[ch]:
2130 Set better name for /
2132 * gio/gunixvolumemonitor.[ch]:
2133 Derive from GNativeVolumeMonitor
2134 Implement get_volume_for_mountpoint
2137 GVolume typedef moved to gfile.h
2139 * gio/gvolumeprivate.h:
2140 Add g_volume_get_for_mount_path
2142 2007-10-31 Alexander Larsson <alexl@redhat.com>
2144 * gio/gunixmounts.[ch]:
2145 Add cache info to unix mount listers
2146 Make getmntent use threadsafe
2147 Add is_system_internal attribute for GUnixMount
2149 * gio/gunixvolume.c:
2150 (g_unix_volume_new):
2151 Use is_system_internal instead of own code
2153 * gio/glocaldirectorymonitor.c:
2154 * gio/gunixvolumemonitor.c:
2155 Update to new gunixmounts API
2160 2007-10-30 Alexander Larsson <alexl@redhat.com>
2163 Add volume name fsinfo attribute
2166 Read volume name info
2168 * gio/gunionvolumemonitor.c:
2169 Fix infinite loops when finalizing a union volume monitor
2171 2007-10-30 Alexander Larsson <alexl@redhat.com>
2173 * gio/goutputstream.[ch]:
2174 Add splice() with default implementation
2176 * gio/gsocketoutputstream.c:
2177 (g_socket_output_stream_write):
2178 Return error on cancellation correctly.
2180 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2182 * gio/glocalfile.c (g_local_file_trash):
2183 Do not leak a string.
2185 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2187 * gio/gfile.c (g_file_load_contents):
2188 Unref the stream after closing it.
2190 2007-10-25 Alexander Larsson <alexl@redhat.com>
2192 * gio/gioscheduler.h:
2195 2007-10-25 Alexander Larsson <alexl@redhat.com>
2199 Add g_file_has_uri_scheme and implement for local files
2201 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2203 * gio/gdesktopappinfo.c: do not leak a string.
2205 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2207 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2208 (g_local_directory_monitor_new):
2209 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2210 (g_local_file_monitor_new):
2211 Only look for the monitor type that should be used the first time
2212 and use g_qsort_with_data() instead of our own bubble sort
2215 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2218 * gio/fam/Makefile.am:
2219 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2220 * gio/fam/fam-helper.h:
2221 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2222 * gio/fam/gfamdirectorymonitor.c:
2223 * gio/fam/gfamdirectorymonitor.h:
2224 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2225 * gio/fam/gfamfilemonitor.h:
2226 * gio/glocaldirectorymonitor.c:
2227 * gio/glocaldirectorymonitor.h:
2228 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2229 * gio/glocalfilemonitor.h:
2230 * gio/inotify/Makefile.am:
2231 * gio/inotify/ginotifydirectorymonitor.c:
2232 * gio/inotify/ginotifydirectorymonitor.h:
2233 * gio/inotify/ginotifyfilemonitor.c:
2234 * gio/inotify/ginotifyfilemonitor.h:
2235 Implement the FAM and Inotify monitors as
2236 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2237 their own GIO module. GLocal(Directory|File)Monitor will use the
2238 monitor with the highest rank that is supported on that machine.
2240 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2243 Change GIO module dir to $(libdir)/gio/modules and change
2244 the log domain from GVFS to GIO. Also only export symbols starting
2245 with g_ in the resulting library.
2246 * gio/test-streams.c: (main):
2247 Set log handler for the GIO log domain.
2249 2007-10-22 Alexander Larsson <alexl@redhat.com>
2251 * gio/gfilenamecompleter.[ch]:
2252 Add g_filename_completer_set_dirs_only
2254 2007-10-22 Alexander Larsson <alexl@redhat.com>
2257 * gio/gurifuncs.[ch]:
2258 Add some simple URI helpers
2260 * gio/gfilenamecompleter.[ch]:
2261 Added object for filename (parse name actually) completion
2264 Handle ~ in parse names
2266 2007-10-17 Alexander Larsson <alexl@redhat.com>
2269 * gio/glocalfileinfo.c:
2270 Add and implement id:value attribute
2272 2007-10-17 Alexander Larsson <alexl@redhat.com>
2275 * gio/guniondrive.c:
2277 Add and implement g_drive_has_volumes
2279 2007-10-17 Alexander Larsson <alexl@redhat.com>
2282 * gio/glocalfileinfo.[ch]:
2283 Add unix:is_mountpoint and implement for local files
2285 2007-10-16 Alexander Larsson <alexl@redhat.com>
2287 * gio/gunionvolumemonitor.c:
2288 (g_union_volume_monitor_init):
2289 Fix up the unix type getting so that it works with gcc
2291 2007-10-12 Alexander Larsson <alexl@redhat.com>
2294 * gio/glocalfileinfo.c:
2295 Add thumbnail:failed to file info
2297 2007-10-12 Richard Hult <richard@imendio.com>
2299 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2300 optimizing away the get_type call (happens with some gcc versions,
2301 like the one shipped with OS X 10.4).
2303 2007-10-12 Alexander Larsson <alexl@redhat.com>
2305 * gio/glocalfileinfo.c:
2306 (_g_local_file_info_set_attribute):
2307 Fix build if not HAVE_XATTR
2308 Patch from Milosz Derezynski <internalerror@gmail.com>
2310 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2312 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2313 around for review, otherwise I would have asked you before
2316 2007-10-11 Alexander Larsson <alexl@redhat.com>
2319 Add thumbnail:path attribute
2321 * gio/glocalfileinfo.c:
2322 Implement thumbnail:path for local files
2324 2007-10-11 Alexander Larsson <alexl@redhat.com>
2326 * gio/glocalfileinfo.c:
2327 (_g_local_file_info_get):
2328 Avoid duplicate icon names
2330 2007-10-11 Alexander Larsson <alexl@redhat.com>
2332 * gio/gthemedicon.[ch]:
2333 Change g_themed_icon_get_names return type to const
2335 2007-10-10 Alexander Larsson <alexl@redhat.com>
2337 * gio/glocalfileinfo.c:
2338 Don't reference freed memory
2340 2007-10-10 Alexander Larsson <alexl@redhat.com>
2342 * gio/gfileattribute.c:
2345 * gio/glocalfileinfo.c:
2348 2007-10-10 Alexander Larsson <alexl@redhat.com>
2351 Check for NULL icons
2353 * gio/gfileattribute.c:
2354 Don't dup when getting objects (same as for string attributes)
2356 * gio/gicon.c (g_icon_equal):
2357 Safely handle NULLs in equal
2359 2007-10-10 Alexander Larsson <alexl@redhat.com>
2362 Fix c++ compilation issues
2363 Patch from Milosz Derezynski <internalerror@gmail.com>
2365 2007-10-10 Alexander Larsson <alexl@redhat.com>
2367 * programs/gio-monitor-dir.c:
2368 Don't crash if dir monitor not supported.
2370 2007-10-09 Alexander Larsson <alexl@redhat.com>
2373 Add missing G_END_DECLS
2375 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2377 * gio/gfile.c: (g_file_set_display_name),
2378 (g_file_query_settable_attributes),
2379 (g_file_query_writable_namespaces):
2380 Return NULL not FALSE on errors as the return type is a pointer.
2382 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2384 * gio/glocalfile.c: (g_local_file_monitor_file):
2385 Don't call monitor_file on the default interface vtable (which
2386 is NULL) but simply return NULL. The caller, GFile, will create a
2387 polling monitor if NULL is returned.
2389 2007-10-09 Alexander Larsson <alexl@redhat.com>
2393 * gio-unix-2.0.pc.in:
2394 Add gio-unix-2.0.pc if OS_UNIX
2397 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2399 2007-10-09 Alexander Larsson <alexl@redhat.com>
2401 * gio/gunixmounts.[ch]:
2402 Make unix mount monitoring API sane.
2403 Now its just a object with mounts_changed
2404 and mountpoints_changed signals.
2406 * gio/glocaldirectorymonitor.c:
2407 * gio/gunixvolumemonitor.c:
2408 Use new mount monitor api
2410 2007-10-09 Alexander Larsson <alexl@redhat.com>
2412 * gio/gunixmounts.[ch]:
2413 Move guess type into one call for mounts and one for mountpoints
2416 * gio/gunixvolume.c:
2419 2007-10-09 Alexander Larsson <alexl@redhat.com>
2421 * gio/gunixmounts.[ch]:
2422 Remove _ prefix in preparation to make this semi-public
2423 Hide implementation of structs
2425 * gio/glocaldirectorymonitor.c:
2427 * gio/gunixvolume.c:
2428 * gio/gunixvolumemonitor.c:
2429 Update for above API changes
2431 2007-10-08 Alexander Larsson <alexl@redhat.com>
2434 Better polling fallback. This also handles the case where we have
2435 a monitor_file implementation, but it fails.
2437 2007-10-08 Alexander Larsson <alexl@redhat.com>
2441 * gio/gunixmounts.c:
2442 * programs/gio-monitor-dir.c:
2443 * programs/gio-monitor-file.c:
2444 Added cancellable to file monitoring calls.
2445 These are really sync calls and need this.
2447 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2449 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2450 (g_local_vfs_class_init):
2451 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2452 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2454 2007-10-05 Alexander Larsson <alexl@redhat.com>
2456 * gio/gdirectorymonitorprivate.h:
2457 * gio/gfilemonitorprivate.h:
2458 * gio/gdirectorymonitor.h:
2459 * gio/gfilemonitor.h:
2460 Remove *private.h and move to the public API, so that
2461 we can do implementations outside gio (such as in gvfs)
2463 * gio/gdirectorymonitor.c:
2464 * gio/gfilemonitor.c:
2465 * gio/glocaldirectorymonitor.c:
2466 * gio/gpollfilemonitor.c:
2467 * gio/inotify/inotify-helper.c:
2468 * gio/fam/fam-helper.c:
2469 Update to the new header names
2471 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2473 * gio/gdirectorymonitor.c:
2474 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2477 2007-10-04 Alexander Larsson <alexl@redhat.com>
2479 * gio/glocalfileinfo.c (get_access_rights):
2480 Set CAN_TRASH when we can move the file.
2481 We should really also check for a parent trash dir.
2483 2007-10-04 Alexander Larsson <alexl@redhat.com>
2485 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2486 Add can_trash access attribute
2488 2007-10-04 Alexander Larsson <alexl@redhat.com>
2491 (g_local_file_trash):
2492 Create info file first. This is per-spec and allows
2493 us to actually trash directories.
2495 2007-10-02 Alexander Larsson <alexl@redhat.com>
2497 * gio/gdesktopappinfo.c:
2498 Implement the new mime support code.
2499 Always set app as handling mimetype when being set as default for it
2501 2007-10-01 Alexander Larsson <alexl@redhat.com>
2503 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2504 Fix up check for xattrs:
2506 2007-10-01 Alexander Larsson <alexl@redhat.com>
2509 (g_app_info_set_as_default_for_extension):
2510 (g_app_info_add_supports_type):
2511 (g_app_info_can_remove_supports_type):
2512 (g_app_info_remove_supports_type):
2513 Make these fail nicely if not implemented
2515 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2517 * gio/glocalfileoutputstream.c:
2518 * gio/glocalfileoutputstream.h:
2523 * programs/gio-save.c:
2524 Add a GFileCreateFlags argument to operations that can create
2527 2007-10-01 Alexander Larsson <alexl@redhat.com>
2529 * gio/gappinfo.[ch]:
2530 * gio/gdesktopappinfo.c:
2531 Add more (stubbed out) mime API needed for nautilus
2533 2007-10-01 Alexander Larsson <alexl@redhat.com>
2536 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2537 Add g_app_info_set_as_default_for_extension.
2539 * gio/gdesktopappinfo.c:
2540 Dummy for g_app_info_set_as_default_for_extension
2541 Support flags in g_app_info_create_from_commandline
2543 * gio/gwin32appinfo.c:
2545 Update for API changes
2547 * gio/gthemedicon.c:
2548 Properly NULL-terminate list of icon names
2550 2007-09-28 Alexander Larsson <alexl@redhat.com>
2552 * gio/gloadableicon.h:
2553 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2555 2007-09-28 Alexander Larsson <alexl@redhat.com>
2558 Install headers in $includedir/gio-standalone/
2560 * gio-2.0.pc.in: Added.
2561 * gio-standalone.pc.in: Removed.
2564 Renamed pkg-config file to match glib (for future move)
2565 Update to the new include dir
2568 Add more TODO comments
2570 2007-09-28 Alexander Larsson <alexl@redhat.com>
2572 * gio/gdesktopappinfo.[ch]:
2573 Expose new_from_filename
2574 Add getter for is_hidden and handle it better
2576 2007-09-28 Alexander Larsson <alexl@redhat.com>
2578 * gio/gfileinfo.[ch]:
2579 Rename g_file_size_format_for_display to
2580 g_format_file_size_for_display.
2581 Now it doesn't have the g_file prefix, so we
2582 can later move it to glib.
2584 2007-09-28 Alexander Larsson <alexl@redhat.com>
2586 * gio/gappinfo.[ch]:
2587 Add g_app_info_get_id and g_app_info_get_executable.
2588 Make all getters non-reffing
2589 Make g_app_info_launch take GFile arguments.
2590 Add must_support_uris argument to g_app_info_get_default_for_type.
2592 * gio/gwin32appinfo.c:
2593 Update to GAppInfo api changes
2595 * gio/gdesktopappinfo.c:
2596 Update to GAppInfo api changes
2597 Implement supports_xdg_startup_notify
2599 * gio/gfileicon.c (g_file_icon_get_file):
2600 Make getter non-reffing.
2605 2007-09-27 Alexander Larsson <alexl@redhat.com>
2607 * gio/gfileinfo.[ch]:
2608 Add g_file_size_format_for_display helper
2610 2007-09-27 Alexander Larsson <alexl@redhat.com>
2612 * gio/glocalfileinfo.c:
2613 Set UNIX_GID from gid, not from uid
2615 2007-09-27 Alexander Larsson <alexl@redhat.com>
2618 Add g_file_set_attributes_async
2620 2007-09-27 Alexander Larsson <alexl@redhat.com>
2622 * gio/glocalfile.c (g_local_file_set_display_name):
2623 Fix set_display_name to actually rename to the right place.
2624 Use lstat to look for existing files so we don't overwrite
2627 2007-09-26 Alexander Larsson <alexl@redhat.com>
2630 Add g_file_set_display_name_async()
2632 2007-09-26 Alexander Larsson <alexl@redhat.com>
2635 Add load_partial_contents async calls
2638 Make internal function static
2640 2007-09-26 Alexander Larsson <alexl@redhat.com>
2642 * gio/glocalfileinfo.c:
2643 Correctly detect broken symlinks
2645 2007-09-26 Alexander Larsson <alexl@redhat.com>
2647 * gio/gcancellable.c (g_cancellable_cancel):
2648 Allow cancel on NULL cancellable
2650 2007-09-25 Alexander Larsson <alexl@redhat.com>
2652 * gio/gsimpleasyncresult.c:
2653 Don't allocate g_error manually.
2654 Fixes g_slice/g_new mixup crash
2656 2007-09-25 Alexander Larsson <alexl@redhat.com>
2658 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2659 Actually set active_backend.
2660 This means the monitor will be cancelled correctly.
2662 2007-09-25 Alexander Larsson <alexl@redhat.com>
2664 * gio/gdirectorymonitor.c:
2665 Set timeout to NULL when destroying
2667 2007-09-25 Alexander Larsson <alexl@redhat.com>
2670 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2671 that is a better description of the error.
2673 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2675 * gio/gvfs.c: (g_vfs_get_local):
2676 Make the local vfs variable static. The same instance should
2679 2007-09-24 Alexander Larsson <alexl@redhat.com>
2681 * gio/glocalfileinfo.c:
2682 Pass in actual length read into sniffer, not the length
2685 2007-09-21 Alexander Larsson <alexl@redhat.com>
2687 * gio/gfileenumerator.c:
2690 * gio/gfileinputstream.c:
2691 * gio/gfileoutputstream.c:
2692 * gio/ginputstream.c:
2693 * gio/goutputstream.c:
2694 Don't crash if async callbacks are NULL
2696 2007-09-20 Alexander Larsson <alexl@redhat.com>
2699 Add async enumerate_children method and default
2702 2007-09-20 Alexander Larsson <alexl@redhat.com>
2705 Add g_file_contains_file & g_file_get_relative_path, since they
2706 were needed for nautilus.
2707 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2712 Implement new methods
2714 2007-09-17 Alexander Larsson <alexl@redhat.com>
2717 * gio/gfileinputstream.[ch]:
2718 * gio/gfileoutputstream.[ch]:
2720 * gio/glocalfileenumerator.[ch]:
2721 * gio/glocalfileinfo.[ch]:
2722 * gio/glocalfileinputstream.c:
2723 * gio/glocalfileoutputstream.c:
2724 * gio/gpollfilemonitor.c:
2725 * programs/gio-copy.c:
2726 * programs/gio-info.c:
2727 * programs/gio-move.c:
2728 Rename get_file_info to query_info() to make it clearer
2729 that these are not simple getters, but do i/o.
2731 2007-09-17 Alexander Larsson <alexl@redhat.com>
2733 * gio/gdatainputstream.[ch]:
2734 * gio/test-streams.c:
2735 Use _read_XXX instead of _get_XXX for the i/o calls
2738 2007-09-17 Alexander Larsson <alexl@redhat.com>
2741 Added needed stuff to TODO comment
2743 2007-09-17 Alexander Larsson <alexl@redhat.com>
2745 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2746 Don't error out removing the backup copy if it doesn't
2749 2007-09-14 Alexander Larsson <alexl@redhat.com>
2751 * programs/Makefile.am:
2752 * programs/gvfs-*.c:
2754 Renamed apps from gvfs-xxx to gio-xxx.
2756 2007-09-14 Alexander Larsson <alexl@redhat.com>
2759 * gio/gfileoutputstream.[ch]:
2760 * gio/glocalfileoutputstream.c:
2761 * programs/gvfs-save.c:
2762 g_file_output_stream_get_etag doesn't do i/o, so remove
2763 cancellation and error.
2765 2007-09-14 Alexander Larsson <alexl@redhat.com>
2768 Add new_etag output to replace_contents functions
2770 2007-09-14 Alexander Larsson <alexl@redhat.com>
2772 * gio/gfileoutputstream.[ch]:
2773 Add async get_file_info and default implementation
2775 2007-09-14 Alexander Larsson <alexl@redhat.com>
2777 * gio/gfileinputstream.c:
2778 Implement fallback wrapper for async get_file_info
2780 2007-09-14 Alexander Larsson <alexl@redhat.com>
2783 Add etag out argument to load_contents
2788 2007-09-14 Alexander Larsson <alexl@redhat.com>
2790 * gio/gcontenttype.c (looks_like_text):
2791 Whitespace like tab, cr and lf do not make the
2794 2007-09-14 Alexander Larsson <alexl@redhat.com>
2796 * gio/gfileinputstream.[ch]:
2797 Add async get_file_info.
2799 2007-09-13 Alexander Larsson <alexl@redhat.com>
2801 * gio/goutputstream.c (g_output_stream_write_all):
2802 Allow NULL for bytes_written
2804 2007-09-13 Alexander Larsson <alexl@redhat.com>
2806 * gio/gmemoryinputstream.[ch]:
2807 Add accessors for data
2809 2007-09-13 Alexander Larsson <alexl@redhat.com>
2811 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2812 Don't crash if length is NULL