1 2008-01-14 Matthias Clasen <mclasen@redhat.com>
3 * === Released 2.15.2 ===
5 2008-01-14 Alexander Larsson <alexl@redhat.com>
7 * gfile.c (g_file_monitor_file):
8 Don't set error here, since we fallback to polling monitor.
10 2008-01-14 Alexander Larsson <alexl@redhat.com>
13 (g_file_monitor_directory):
14 (g_file_monitor_file):
15 Add GError to file monitor calls
17 * glocaldirectorymonitor.c:
18 * glocaldirectorymonitor.h:
20 * glocalfilemonitor.c:
21 * glocalfilemonitor.h:
23 Update for above change
25 2008-01-14 Alexander Larsson <alexl@redhat.com>
29 Handle root correctly in g_file_get_relative_path (#508719)
31 2008-01-14 Alexander Larsson <alexl@redhat.com>
34 Clean up docs and example for GAsyncResult (#508074)
36 2008-01-11 Murray Cumming <murrayc@murrayc.com>
38 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
39 and correct some spelling mistakes. Bug #508108.
41 2008-01-11 Matthias Clasen <mclasen@redhat.com>
43 * glocalfileinfo.c: Add a comment.
45 2008-01-10 Murray Cumming <murrayc@murrayc.com>
47 * gfileinfo.c: GFileInfo description: Mention
48 how to actually set attributes in a GFile and how to discover
49 which attributes are settable. Bug #508378.
51 2008-01-10 A. Walton <awalton@svn.gnome.org>
53 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
54 (g_app_info_get_default_for_type):
55 Check for NULL content types.
57 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
59 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
61 2008-01-09 Murray Cumming <murrayc@murrayc.com>
63 * gfile.c: *_async() functions: Several small corrections
64 to the documentation, mostly correcting copy/paste errors
65 and improving some sentences.
67 2008-01-09 Dan Winship <danw@gnome.org>
69 * glocalfile.c (get_unique_filename): x86_64 fix
71 2008-01-09 Alexander Larsson <alexl@redhat.com>
76 Add g_unix_mount_guess_should_display and use
77 for unix volume monitor backend.
78 This means we more or less show what the
79 gnome-vfs backend did.
80 Based on patch from Padraig O'Briain
82 2008-01-09 Alexander Larsson <alexl@redhat.com>
86 Add g_themed_icon_new_with_default_fallbacks
89 Use default fallbacks for icons
91 2008-01-09 Alexander Larsson <alexl@redhat.com>
94 * gmountoperation.[ch]:
95 Change the API a bit so that unhandled methods
96 get reported via the reply, rather than by
97 the signal emission return value. This is because
98 some handlers can't know this immediately without
99 doing I/O, and this is an async operation that
102 2008-01-09 Alexander Larsson <alexl@redhat.com>
105 * fam/gfamdirectorymonitor.c:
106 * fam/gfamfilemonitor.c:
107 Fix double free crash (#508224)
108 Patch from Joe Marcus Clarke
110 008-01-07 Matthias Clasen <mclasen@redhat.com>
112 * === Released 2.15.1 ===
114 2008-01-07 Alexander Larsson <alexl@redhat.com>
116 * gunixinputstream.c (g_unix_input_stream_skip_finish):
117 Fix warning (#507835)
119 2008-01-07 Alexander Larsson <alexl@redhat.com>
122 Pass --internal to glib-genmarshal
127 Use better types for signal arguments (#507822)
129 2008-01-07 Alexander Larsson <alexl@redhat.com>
132 Build test subdir after .
133 Remove gdirectorymonitor.[ch]
135 * gdirectorymonitor.[ch]:
139 Remove GDirectoryMonitor and make
140 GFileMonitor the baseclass for both file and
141 directory monitors. Lift the more generic
142 rate limiting code from GDirectoryMonitor
146 * fam/gfamdirectorymonitor.[ch]:
147 * inotify/ginotifydirectorymonitor.[ch]:
148 * inotify/inotify-helper.c:
149 * glocaldirectorymonitor.[ch]:
152 Update for the removed GDirectoryMonitor.
154 * gmemoryoutputstream.c:
155 Remove ununsed variable
157 2008-01-07 Alexander Larsson <alexl@redhat.com>
159 * gmemoryinputstream.c:
160 Translate error strings
163 * gmemoryoutputstream.[ch]:
164 New implementation that avoids using GByteArray
165 in implementation and API. (#506377)
167 2008-01-06 Matthias Clasen <mclasen@redhat.com>
169 * tests/*: Add a test for memory input streams.
171 * Makefile.am: Add tests to SUBDIRS.
173 2008-01-06 Matthias Clasen <mclasen@redhat.com>
175 * glocalfilemonitor.c:
176 * glocaldirectorymonitor.c: Mark property nicks and blurbs
179 2008-01-06 Matthias Clasen <mclasen@redhat.com>
181 * gdesktopappinfo.c: Fix a docs typo.
183 * gfileattribute.c: Add information about extended attributes
184 to the documentation. (#505058)
186 2008-01-04 Alexander Larsson <alexl@redhat.com>
190 Use the right type (uint) for the ask_password signal.
192 2008-01-04 Alexander Larsson <alexl@redhat.com>
197 Add g_app_info_supports_files()
198 Remove desktop arg from g_app_info_should_show().
200 * gdesktopappinfo.[ch]:
201 Implement g_app_info_supports_files() and new should_show()
202 Add g_desktop_app_info_set_desktop_env() to set the desktop
203 for should_show(). (This will be set by gtk+ later)
205 2008-01-04 Alexander Larsson <alexl@redhat.com>
208 * gmemoryinputstream.[ch]:
209 Improve API so that you can use multiple chunks
210 of memory and custom destroy functions. (#506374)
212 2008-01-03 Alexander Larsson <alexl@redhat.com>
215 Handle NULL attribute matchers safely, as we return this
216 for empty attribute matcher strings.
218 2008-01-03 Alexander Larsson <alexl@redhat.com>
220 * gunixmounts.c (g_unix_is_mount_path_system_internal):
221 Add /usr/local to list of internal mountpoints
223 2008-01-03 Alexander Larsson <alexl@redhat.com>
226 Check for HAVE_LCHOWN (#505887)
228 2008-01-03 Alexander Larsson <alexl@redhat.com>
232 Add define for selinux context attribute.
233 Fix missing : -> :: namespace separator change
234 Fix missing _ -> - name change for xattr-sys.
237 2008-01-03 Alexander Larsson <alexl@redhat.com>
240 Link to libglib and libgobject directly (#504879)
241 Patch from Sebastien Bacher
243 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
245 * gfile.c: Expanded the g_file_new_for_commandline_arg
246 description a bit, based on the code and the docs of the
247 other g_file_new_for_* functions.
249 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
251 * gfilemonitor.h: Fixed typo in docs.
253 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
255 Updates to GIO documentation. (#506395, Mikael Hermansson)
257 * gcontenttype.c: Describe memory management for return value of
258 g_content_types_get_registered(). Missing piece from #505815.
259 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
260 GVolume, GDrive, GMounts, which hopefully gives the user less
261 confusions when using this API. Following explainations from
262 Alexander Larsson on gtk-devel-list.
264 2007-12-30 Matthias Clasen <mclasen@redhat.com>
266 * gfileinfo.c: Expand the long description.
268 2007-12-30 Matthias Clasen <mclasen@redhat.com>
271 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
272 fix builds with --disable-visibility. (#500273, Christian Persch)
274 2007-12-30 Matthias Clasen <mclasen@redhat.com>
276 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
277 in the list of returned app infos.
279 2007-12-30 Matthias Clasen <mclasen@redhat.com>
281 * gappinfo.c: Fix a cross-reference
283 2007-12-30 Matthias Clasen <mclasen@redhat.com>
285 * gfileinputstream.c:
286 * gfileoutputstream.c:
292 * gfileinfo.c: Documentation updates.
294 2007-12-26 Matthias Clasen <mclasen@redhat.com>
296 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
299 2007-12-26 Matthias Clasen <mclasen@redhat.com>
301 * gcontenttype.c (g_content_types_get_registered): Don't return
302 freed memory (#505815, Mikael Hermansson)
304 2007-12-25 Paolo Borelli <pborelli@katamail.com>
306 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
307 used to detect statbuf->st_blocks. (#505042)
309 2007-12-24 Matthias Clasen <mclasen@redhat.com>
311 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
312 environment handling. (#504829, Cosimo Cecchi)
314 2007-12-22 Matthias Clasen <mclasen@redhat.com>
316 * gappinfo.c: Doc improvements
318 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
321 2007-12-20 Matthias Clasen <mclasen@redhat.com>
323 * === Released 2.15.0 ===
325 2007-12-20 Hans Breuer <hans@breuer.org>
327 * makefile.msc : don't build gdesktopappinfo.obj, it collides
328 with symbols gwin32appinfo.obj, added gmount.obj
329 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
331 2007-12-20 Alexander Larsson <alexl@redhat.com>
337 * gfilenamecompleter.c:
340 * gpollfilemonitor.c:
341 File attribute renames:
344 id::fs -> id::filesystem
346 2007-12-20 Alexander Larsson <alexl@redhat.com>
355 Add GMountUnmountFlags to all unmount and
357 Add g_mount_remount() call.
359 2007-12-20 Alexander Larsson <alexl@redhat.com>
361 * gvfs.c (get_default_vfs):
362 Fix unused variable warning
364 2007-12-19 Matthias Clasen <mclasen@redhat.com>
366 * pltcheck.sh: Update
368 2007-12-19 Matthias Clasen <mclasen@redhat.com>
370 * gunionvolumemonitor.c:
371 * gunixmount.c: Remove C99 comments
373 2007-12-19 Matthias Clasen <mclasen@redhat.com>
375 * gio.symbols: Add some missing symbols
377 2007-12-19 Alexander Larsson <alexl@redhat.com>
380 Make g_io_modules_load_all_in_directory not unuse
381 loaded modules so that users of it can do stuff
383 Init internal "module" types.
384 Initialize static prio and name for types so that
385 we don't have to load modules to get it.
387 * gnativevolumemonitor.h:
389 Move is_supported to parent class so that
390 non-native monitors can avoid being initialized
391 too. (For instance GDaemonVolumeMonitor if we're
392 not using GDaemonVfs.)
394 * glocaldirectorymonitor.[ch]:
395 * glocalfilemonitor.[ch]:
396 * gunionvolumemonitor.c:
397 * gunixvolumemonitor.c:
399 Find plugins using the static prio+name to
400 avoid unnecessarily loading the modules.
402 2007-12-19 Alexander Larsson <alexl@redhat.com>
407 2007-12-19 Alexander Larsson <alexl@redhat.com>
409 * gunionvolumemonitor.c:
410 Store the native type as GType, not class so that
411 we can unload it. But still avoid unnecessarily
414 2007-12-19 David Zeuthen <davidz@redhat.com>
416 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
417 add signals 'disconnected' and 'eject-button' on GDrive. Add
418 signal 'removed' on GVolume and 'unmounted' on GMount.
420 * gdrive.c: (g_drive_base_init):
422 * gfile.c: (g_file_mount_mountable),
423 (g_file_mount_enclosing_volume):
426 * gmount.c: (g_mount_base_init):
428 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
429 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
430 * gvolume.c: (g_volume_base_init), (g_volume_mount):
434 2007-12-17 Matthias Clasen <mclasen@redhat.com>
436 * *.c: Fix up includes in the section docs.
438 2007-12-17 Alexander Larsson <alexl@redhat.com>
440 * gnativevolumemonitor.h:
441 * gunionvolumemonitor.c:
442 * gunixvolumemonitor.c:
443 Add is_supported() to GNativeVolumeMonitorClass so
444 that we can avoid having to create an object to see
445 if the backend is supported at runtime.
446 Also add name member and an env var to pick a specific
447 volume monitor backend.
451 Add cancellable to _g_mount_get_for_mount_path()
453 * glocaldirectorymonitor.c:
454 * glocalfilemonitor.c:
455 Avoid loading and unloading modules while sorting.
457 2007-12-17 Matthias Clasen <mclasen@redhat.com>
460 * gunixmounts.[hc]: Namespace waste reduction, move some
461 g_get_unix_mount functions to the g_unix_mount namespace.
464 * gunixvolumemonitor.c:
466 * glocaldirectorymonitor.c: Update all callers.
468 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
470 2007-12-17 Alexander Larsson <alexl@redhat.com>
473 Add doc comments about what GFile operations are
474 guaranteed to not block.
476 2007-12-17 Alexander Larsson <alexl@redhat.com>
479 Add missing #ifdef fixing OSX build.
480 (#503334, patch from Richard Hult)
482 2007-12-14 David Zeuthen <davidz@redhat.com>
486 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
487 (g_mount_eject), (g_mount_eject_finish):
489 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
490 (get_volume_for_uuid), (get_mount_for_uuid),
491 (g_union_volume_monitor_class_init),
492 (get_default_native_type_with_exclude), (get_default_native_type),
493 (get_native_type), (update_native_type),
494 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
495 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
496 (g_unix_mount_can_eject), (eject_unmount_cb),
497 (eject_unmount_read_error), (eject_unmount_do),
498 (g_unix_mount_unmount), (g_unix_mount_eject),
499 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
500 * gunixmounts.c: (g_unix_mount_guess_can_eject),
501 (g_unix_mount_point_guess_can_eject):
503 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
504 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
505 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
506 (g_unix_volume_mount), (g_unix_volume_eject),
507 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
508 * gunixvolumemonitor.c: (get_volume_for_uuid),
509 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
511 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
512 (g_volume_eject), (g_volume_eject_finish):
514 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
515 (g_volume_monitor_get_mount_for_uuid):
518 Provide eject() on both GMount and GVolume and utility functions
519 to guess whether a GUnixMountPoint or GUnixMountEntry should be
520 ejected. Introduce the concept of UUID's and wire it into GVolume
521 and GMount and provide API on GVolumeMonitor to find such
522 instances. Also handle the case where an external
523 GNativeVolumeMonitor fails to initialize. Lock around the
524 _g_get_mount_for_mount_path() function such that volume monitor
525 implementations won't have to do locking themselves.
527 2007-12-17 Matthias Clasen <mclasen@redhat.com>
535 * gvolume.h: Documentation updates
537 2007-12-14 Matthias Clasen <mclasen@redhat.com>
540 * gfile.h: Doc updates
542 2007-12-14 Matthias Clasen <mclasen@redhat.com>
545 * gdesktopappinfo.c: Use hash table iterators.
547 2007-12-14 Alexander Larsson <alexl@redhat.com>
550 * gfileattribute.[ch]:
551 * gfileattribute-priv.h:
552 Move GFileAttributeValue to a private header, as
556 Make set_attribute take a type + a pointer instead
557 of a GFileAttributeValue.
560 Fix up for above changes.
561 Add g_file_info_get_attribute_data to get
562 all info in one call, g_file_info_get_attribute_status
563 to get the status and g_file_info_get_attribute_as_string.
567 * glocalfileinfo.[ch]:
571 Make _guess_type static.
573 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
576 * inotify/Makefile.am: Fixed build when srcdir != builddir,
577 made mkenums and friends use temporary files to avoid leaving
578 empty generated files on failure (#503470).
580 2007-12-14 Alexander Larsson <alexl@redhat.com>
585 2007-12-14 Alexander Larsson <alexl@redhat.com>
589 * gfileattribute.[ch]:
592 * glocalfileoutputstream.c:
593 * gmountoperation.[ch]:
594 * goutputstream.[ch]:
595 Clean up all flags enums to not have _FLAGS in them
596 Make the names of some of the enums better.
601 2007-12-14 Michael Natterer <mitch@imendio.com>
603 * gio.symbols: fix g_io_scheduler symbol names.
605 2007-12-14 Alexander Larsson <alexl@redhat.com>
611 * gbufferedinputstream.h:
612 * gbufferedoutputstream.h:
615 * gdatainputstream.h:
616 * gdataoutputstream.h:
618 * gdirectorymonitor.h:
625 * gfileinputstream.h:
627 * gfilenamecompleter.h:
628 * gfileoutputstream.h:
629 * gfilterinputstream.h:
630 * gfilteroutputstream.h:
638 * gmemoryinputstream.h:
639 * gmemoryoutputstream.h:
644 * gsimpleasyncresult.h:
646 * gunixinputstream.h:
648 * gunixoutputstream.h:
652 * inotify/Makefile.am:
653 Only allow including <gio/gio.h> from apps
655 2007-12-14 Alexander Larsson <alexl@redhat.com>
658 * gsimpleasyncresult.c:
659 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
660 Split out the send_to_mainloop call into two versions instead
661 of having the block argument.
663 2007-12-13 Alexander Larsson <alexl@redhat.com>
667 * gbufferedinputstream.c:
669 * gfileinputstream.c:
670 * gfileoutputstream.c:
674 g_push/pop_current_cancellable ->
675 g_cancellable_push/pop_current
677 2007-12-13 Alexander Larsson <alexl@redhat.com>
681 Rename g_mount_for_location to g_file_mount_enclosing_volume.
683 2007-12-13 Alexander Larsson <alexl@redhat.com>
686 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
688 2007-12-12 Alexander Larsson <alexl@redhat.com>
691 Fix race condition when freeing proxy in
692 g_io_job_send_to_mainloop().
694 2007-12-12 Alexander Larsson <alexl@redhat.com>
700 Make attribute namespace separator "::" instead of ":".
701 Use - instead of _ as separator in attribute names.
703 2007-12-12 Alexander Larsson <alexl@redhat.com>
705 * gbufferedinputstream.h:
706 * gbufferedoutputstream.h:
707 * gdatainputstream.h:
708 * gdataoutputstream.h:
709 * gdirectorymonitor.h:
711 * gfileinputstream.h:
713 * gfileoutputstream.h:
714 * gfilterinputstream.h:
715 * gfilteroutputstream.h:
717 * glocalfileinputstream.h:
718 * glocalfileoutputstream.h:
719 * gmemoryinputstream.h:
720 * gmemoryoutputstream.h:
721 * gnativevolumemonitor.h:
723 * gunixinputstream.h:
724 * gunixoutputstream.h:
727 s/parent/parent_instance/ in GObjects
729 2007-12-12 Alexander Larsson <alexl@redhat.com>
734 No need for padding for interfaces
736 2007-12-12 Alexander Larsson <alexl@redhat.com>
740 * gbufferedinputstream.c:
741 * gbufferedoutputstream.c:
744 * gdatainputstream.[ch]:
746 * gdirectorymonitor.c:
748 * gfileattribute.[ch]:
751 * gfileinputstream.h:
753 * gfileoutputstream.[ch]:
754 * gfilterinputstream.h:
755 * gfilteroutputstream.h:
758 * gloadableicon.[ch]:
759 * gmemoryinputstream.c:
762 Fix up a bunch of details in the docs.
767 2007-12-11 David Zeuthen <davidz@redhat.com>
769 Rework how volumes, drives and volume monitoring is
770 done. Previosly the model was
774 where a GDrive instance represented a mount point and a GVolume
775 instance represented a mounted file system. This patch changes it
778 GDrive <1-N> GVolume <1-1> GMount
780 where GMount now serves the purpose of the old GVolume and the new
781 GVolume serves the purpose of the old GDrive. In addition the new
782 GDrive interface is used to represent a collection of GVolume
783 instances (typically partitions) and also contains utility to query
784 the state of the physical drive the GDrive object represents (such
785 as checking for media, polling the drive, ejecting the media etc.).
787 Also implement mounting and unmounting in the Unix volume monitor
788 backend. A subquent patch will introduce GDrive support for ejection
792 * gdrive.c: (g_drive_is_media_check_automatic),
793 (g_drive_is_media_removable), (g_drive_has_media),
794 (g_drive_can_poll_for_media), (g_drive_eject),
795 (g_drive_eject_finish), (g_drive_poll_for_media),
796 (g_drive_poll_for_media_finish):
798 * gfile.c: (g_file_find_enclosing_mount):
801 * glocaldirectorymonitor.c:
802 (g_local_directory_monitor_constructor), (mounts_changed):
803 * glocalfile.c: (get_mount_info),
804 (g_local_file_find_enclosing_mount),
805 (g_local_file_file_iface_init):
806 * gnativevolumemonitor.h:
807 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
808 (get_connected_drives), (g_union_volume_monitor_class_init),
809 (child_volume_added), (child_volume_removed),
810 (child_volume_changed), (child_mount_added), (child_mount_removed),
811 (child_mount_pre_unmount), (child_mount_changed),
812 (child_drive_changed), (g_union_volume_monitor_add_monitor),
813 (g_union_volume_monitor_remove_monitor),
814 (_g_mount_get_for_mount_path):
815 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
816 (guess_system_internal), (_g_get_unix_mounts),
817 (_g_get_unix_mount_points), (g_get_unix_mount_at),
818 (g_unix_mount_free), (g_unix_mount_compare),
819 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
820 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
821 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
822 (type_to_icon), (g_unix_mount_guess_name),
823 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
824 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
825 (_resolve_symlink), (_resolve_dev_root):
827 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
828 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
829 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
830 (g_unix_volume_get_name), (g_unix_volume_can_mount),
831 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
832 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
833 (g_unix_volume_mount), (g_unix_volume_mount_finish),
834 (g_unix_volume_volume_iface_init):
836 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
837 (get_mounts), (get_volumes), (get_connected_drives),
838 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
839 (mountpoints_changed), (mounts_changed),
840 (g_unix_volume_monitor_init),
841 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
842 (find_mount_by_mountpath), (update_volumes), (update_mounts):
843 * gunixvolumemonitor.h:
844 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
845 (g_volume_mount), (g_volume_mount_finish):
847 * gvolumemonitor.c: (g_volume_monitor_class_init),
848 (g_volume_monitor_get_connected_drives),
849 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
852 2007-12-10 Matthias Clasen <mclasen@redhat.com>
854 * gmountoperation.h (GPasswordFlags): Close the gap
856 2007-12-10 Matthias Clasen <mclasen@redhat.com>
858 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
860 * gdesktopappinfo.[hc]: Remove _-prefixes
862 2007-12-10 Tor Lillqvist <tml@novell.com>
864 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
867 2007-12-10 Alexander Larsson <alexl@redhat.com>
869 * gfile.c (g_file_set_display_name):
870 Don't hardcode '/' (#502727)
872 2007-12-09 Hans Breuer <hans@breuer.org>
874 * makefile.msc : follow lib naming convention
875 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
876 for user and group name, tested with ../tests/gio-ls
878 2007-12-09 A. Walton <awalton@svn.gnome.org>
891 * gmemoryinputstream.c:
892 * gmemoryoutputstream.c:
894 * gsimpleasyncresult.c:
895 More documentation cleanup and filling in missing information, bringing
896 GIO to 99% symbol coverage.
898 2007-12-08 Hans Breuer <hans@breuer.org>
900 [gio compiles and links on win32, not sure how much already works]
901 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
902 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
903 base on win32 API; prefer g_lstat() over lstat(); instead of
904 localtime_r() use an all GLib implementation on win32;
905 get_mount_info() still needs a win32 specifc implementation
906 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
907 win32_get_file_user_info to get owner/group info without uid/gid
908 * glocalfileinputstream.c : include <io.h> on win32
909 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
910 definition, use g_win32_ftruncate() for G_OS_WIN32
911 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
912 it is available with mingw/w32api but a mess with the M$ Platform SDKs
913 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
914 * makefile.msc : updated
916 2007-12-07 Alexander Larsson <alexl@redhat.com>
918 * glocalfileenumerator.c (_g_local_file_enumerator_new):
919 Avoid warning spew if error == NULL
921 2007-12-07 Alexander Larsson <alexl@redhat.com>
924 Update docs wrt etags
926 2007-12-06 Alexander Larsson <alexl@redhat.com>
929 Include sys/types.h for dev_t (#501919)
931 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
935 Make abicheck and pltcheck pass.
937 2007-12-05 Alexander Larsson <alexl@redhat.com>
940 * giomodule-priv.h: Added.
941 * glocaldirectorymonitor.c:
942 * glocalfilemonitor.c:
943 * gunionvolumemonitor.c:
945 Actually add the declaration of _g_io_modules_ensure_loaded
947 2007-12-05 Alexander Larsson <alexl@redhat.com>
949 * gdatainputstream.c:
954 * glocaldirectorymonitor.c:
955 * glocalfilemonitor.c:
956 * gunionvolumemonitor.c:
958 Make g_io_modules_ensure_loaded a private function and
959 don't pass in the dirname. This means we can do magic
960 directory finding in the win32 version.
961 Export the actual load-modules-in-directory code so that
964 2007-12-05 Alexander Larsson <alexl@redhat.com>
966 * gbufferedinputstream.c:
967 * gbufferedoutputstream.c:
970 * gfileenumerator.[ch]:
971 * gfileinputstream.c:
972 * gfileoutputstream.[ch]:
973 * gfilterinputstream.c:
974 * gfilteroutputstream.c:
977 * glocalfileenumerator.c:
978 * glocalfileinputstream.c:
979 * glocalfileoutputstream.c:
980 * gmemoryinputstream.c:
981 * gmemoryoutputstream.c:
982 * goutputstream.[ch]:
985 * gunixinputstream.c:
986 * gunixoutputstream.c:
987 Rename all struct members named:
988 read, write, close, truncate, or mount
989 to foo_fn, as these are reserved names
990 and could be defined as macros in libc.
993 2007-12-04 Alexander Larsson <alexl@redhat.com>
996 (g_output_stream_close):
997 Only call flush if non-null.
999 2007-11-30 Dan Winship <danw@gnome.org>
1001 * ginputstream.c (g_input_stream_set_pending): Make this take a
1002 GError and return a gboolean, and do the "outstanding operation"
1003 check (and the "stream is already closed" check) itself.
1004 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1006 * goutputstream.c (g_output_stream_set_pending)
1007 (g_output_stream_clear_pending): Likewise
1009 * gbufferedinputstream.c:
1010 * gfileinputstream.c:
1011 * gfileoutputstream.c: Update for that
1013 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1014 Like g_simple_async_report_error_in_idle, but takes a GError
1015 rather than building one.
1017 2007-11-30 Dan Winship <danw@gnome.org>
1019 * goutputstream.c: Don't cheat and unset the "pending" flag around
1020 inner calls. Instead, call the class method directly rather than
1021 the wrapper function that checks "pending"
1023 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1025 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1027 2007-12-03 Hans Breuer <hans@breuer.org>
1029 [start of port to win32/msvc]
1030 * gcancellable.c : HAVE_UNIST_H and _pipe()
1031 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1032 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1033 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1035 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1036 * glocalvfs.c : use HAVE_PWD_H
1037 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1038 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1039 * Makefile.am : added to EXTRA_DIST
1041 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1043 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1046 2007-12-03 Alexander Larsson <alexl@redhat.com>
1049 Handle OSX style xattrs API (#500506)
1051 2007-12-03 Alexander Larsson <alexl@redhat.com>
1055 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1057 2007-12-02 A. Walton <awalton@svn.gnome.org>
1061 Documentation accuracy fixes.
1063 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1065 * gioenumtypes.c.template: Fix typo.
1067 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1069 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1071 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1073 * gdirectorymonitor.c:
1074 * gfilemonitor.c: Add properties
1076 * gbufferedoutputstream.c: Don't mark buffer-size property
1079 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1081 * gbufferedoutputstream.c: Add auto-grow property.
1083 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1085 * *.c: Unify the capitalization of section headings.
1087 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1089 * gmountoperation.c: Add properties
1091 * gdatainputstream.c: Turn byte-order and newline-type into
1094 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1096 * gioenumtypes.[hc].template: Templates for enum registration
1098 * Makefile.am: Generate gioenumtypes.[hc]
1100 * gio.h: Include gioenumtypes.h
1102 * gfile.h: Add some explicit nicks.
1104 * gio.symbols: Add new symbols
1106 * pltcheck.sh: Adjust
1108 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1110 * *.c: Explain etags and link to the explanation
1112 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1114 * *.c: Explain I/O priority.
1116 * *.c: More coding style fixes.
1118 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1120 * gasyncresult.c: Add another paragraph to the intro,
1121 adjust coding style of example.
1123 2007-11-29 A. Walton <awalton@svn.gnome.org>
1126 Fixes unknown meaning in GAppLaunchContext docs.
1128 Clarify asynchronous ops.
1130 Fix entity tag docs.
1133 Provides missing gtk-doc section, fixes API docs slighly.
1134 * gsimpleasyncresult.c:
1135 Fill in missing info in docs.
1136 * gunixinputstream.c:
1137 * gunixoutputstream.c:
1138 Be more expressive in short description.
1140 Remove gtk-doc stubs for non-public API.
1142 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1144 * *.c: Coding style fixups
1146 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1148 * inotify/inotify-helper.c: Don't export the lock from libgio.
1150 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1153 * abicheck.sh: Fix copy-and-paste leftovers
1155 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1157 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1159 2007-11-28 Alexander Larsson <alexl@redhat.com>
1163 Removed unnecessary file
1165 * gdesktopappinfo.[ch]:
1168 * glocaldirectorymonitor.[ch]:
1170 * glocalfileenumerator.[ch]:
1171 * glocalfileinputstream.[ch]:
1172 * glocalfilemonitor.[ch]:
1173 * glocalfileoutputstream.[ch]:
1175 * gnativevolumemonitor.c:
1176 * gpollfilemonitor.[ch]:
1177 * gunionvolumemonitor.[ch]:
1180 * gunixvolumemonitor.[ch]:
1183 * inotify/ginotifydirectorymonitor.[ch]:
1184 * inotify/ginotifyfilemonitor.[ch]:
1185 * inotify/inotify-helper.c:
1186 Append _ to all internal functions
1190 Export symbols needed for modules
1192 2007-11-28 Alexander Larsson <alexl@redhat.com>
1195 * abicheck.sh: Added.
1196 * makegioalias.pl: Added.
1197 * pltcheck.sh: Added.
1198 * gio.symbols: Added.
1201 Initial work on adding symbol handling.
1204 Correct ifdef guard name
1207 * inotify/Makefile.am:
1208 * xdgmime/Makefile.am:
1209 Include toplevel Makefile.decl
1211 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1213 * gcontenttype.c: Move doc comments to the unix section.
1215 * *.[hc]: More trivial doc corrections.
1217 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1219 * gpollfilemonitor.c:
1223 * gdesktopappinfo.c:
1228 * gdatainputstream.c:
1229 * gdatainputstream.h:
1230 * gdataoutputstream.c:
1231 * gdataoutputstream.h:
1232 * gfileinfo.h: Doc cleanups
1234 2007-11-28 Andre Klapper <a9016009@gmx.de>
1236 * gdesktopappinfo.c: Fix a typo.
1238 2007-11-27 Andre Klapper <a9016009@gmx.de>
1240 * glocalfileoutputstream.c: Fix a typo.
1242 2007-11-27 Alexander Larsson <alexl@redhat.com>
1245 Don't include removed headers
1247 2007-11-27 Alexander Larsson <alexl@redhat.com>
1250 * gsocketinputstream.[ch]: Removed.
1251 * gsocketoutputstream.[ch]: Removed.
1252 * gunixinputstream.[ch]: Added.
1253 * gunixoutputstream.[ch]: Added.
1254 Renamed GSocket*Stream to GUnix*Stream and made
1255 it unix-only, since its not really only for sockets
1256 and it only works on unix (but is highly useful there).
1258 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1264 * gbufferedinputstream.c:
1265 * gbufferedinputstream.h:
1266 * gbufferedoutputstream.c:
1267 * gbufferedoutputstream.h:
1271 * gdatainputstream.c:
1272 * gdatainputstream.h:
1273 * gdataoutputstream.c:
1274 * gdataoutputstream.h:
1275 * gdirectorymonitor.c:
1276 * gdirectorymonitor.h:
1283 * gfileenumerator.c:
1284 * gfileenumerator.h:
1289 * gfileinputstream.c:
1290 * gfileinputstream.h:
1293 * gfilenamecompleter.c:
1294 * gfilenamecompleter.h:
1295 * gfileoutputstream.c:
1296 * gfileoutputstream.h:
1297 * gfilterinputstream.c:
1298 * gfilterinputstream.h:
1299 * gfilteroutputstream.c:
1300 * gfilteroutputstream.h:
1313 * glocalfileoutputstream.c:
1314 * gmemoryinputstream.c:
1315 * gmemoryinputstream.h:
1316 * gmemoryoutputstream.c:
1317 * gmemoryoutputstream.h:
1318 * gmountoperation.c:
1319 * gmountoperation.h:
1322 * gpollfilemonitor.c:
1325 * gsimpleasyncresult.c:
1326 * gsimpleasyncresult.h:
1327 * gsocketinputstream.c:
1328 * gsocketinputstream.h:
1329 * gsocketoutputstream.c:
1330 * gsocketoutputstream.h:
1337 * gunixvolumemonitor.c:
1346 Bumps documentation to 93% symbol coverage, touching most
1347 of the public files. Fixes broken function documentation prototypes.
1348 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1349 gtk-doc headers in private files.
1351 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1353 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1354 (g_buffered_input_stream_read_byte):
1355 * gbufferedinputstream.h:
1356 New functions for efficient access to buffer and simple single byte
1359 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1360 (g_data_input_stream_read_until):
1361 * gdatainputstream.h:
1362 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1363 read_until with multiple stop chars.
1365 2007-11-27 Alexander Larsson <alexl@redhat.com>
1369 * inotify/Makefile.am:
1370 Use the user-specified giomoduledir
1372 2007-11-27 Alexander Larsson <alexl@redhat.com>
1376 Add catch-all gio.h header
1377 Don't install gdummyfile.h
1379 2007-11-26 Alexander Larsson <alexl@redhat.com>
1381 * Makefile.am (gioinclude_HEADERS):
1382 Remove trailing whitespace
1384 2007-11-26 Alexander Larsson <alexl@redhat.com>
1386 Merge gio-standalone into glib
1388 2007-11-25 Christian Kellner <gicmo@gnome.org>
1390 * gio/goutputstream.c:
1391 Fix small mistake in the docs.
1393 2007-11-21 Christian Persch <chpe@gnome.org>
1395 * gio/glocalfile.c: (g_local_file_trash):
1396 Convert filenames to UTF-8 for GError.
1397 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1398 as per xdg base dir spec.
1400 2007-11-21 Christian Persch <chpe@gnome.org>
1402 * gio/gdesktopappinfo.c:
1403 Use that g_key_file_to_data cannot fail.
1405 Use stock defines for the key file group and key names.
1408 2007-11-21 Alexander Larsson <alexl@redhat.com>
1411 (copy_stream_with_progress):
1412 Make sure we do a final progress callback with
1413 the full total size.
1415 2007-11-21 Alexander Larsson <alexl@redhat.com>
1418 Export g_file_copy_attributes
1419 Remove padding as its not needed for interfaces
1421 2007-11-20 Alexander Larsson <alexl@redhat.com>
1426 Add G_IO_ERROR_WOULD_MERGE for
1427 copy/move dir on dir with overwrite.
1429 2007-11-20 Alexander Larsson <alexl@redhat.com>
1432 * gio/glocalfileinfo.c:
1433 Add COPY_NAME (this is an optional
1434 non-modified utf8 version of the name) that
1437 2007-11-20 Alexander Larsson <alexl@redhat.com>
1439 * gio/glocalfileenumerator.c:
1440 Report errors as GIOError, not GFileError
1442 2007-11-16 Alexander Larsson <alexl@redhat.com>
1444 * gio/glocalfileoutputstream.c:
1445 * gio/gwin32appinfo.c:
1446 Fix typos in strings.
1447 Patch from Luca Ferretti <elle.uca@libero.it>
1449 2007-11-15 Alexander Larsson <alexl@redhat.com>
1452 Post release version bump
1454 === gio-standalone 0.1.2 ===
1456 2007-11-15 Alexander Larsson <alexl@redhat.com>
1458 * docs/reference/gio/Makefile.am:
1459 Fix up distcheck by removing weird
1465 2007-11-14 Alexander Larsson <alexl@redhat.com>
1467 * gio/gdesktopappinfo.c:
1468 * gio/glocaldirectorymonitor.c:
1470 * gio/glocalfileinfo.c:
1471 * gio/inotify/inotify-sub.c:
1472 * programs/gio-cat.c:
1473 * programs/gio-copy.c:
1474 * programs/gio-info.c:
1475 * programs/gio-ls.c:
1476 * programs/gio-monitor-dir.c:
1477 * programs/gio-monitor-file.c:
1478 * programs/gio-mount.c:
1479 * programs/gio-move.c:
1480 * programs/gio-rm.c:
1481 * programs/gio-save.c:
1482 * programs/gio-trash.c:
1483 Leak fixes from Kjartan Maraas
1485 2007-11-14 Alexander Larsson <alexl@redhat.com>
1487 * gio/fam/fam-helper.c:
1489 * gio/glocalfileinfo.c:
1493 * gio/inotify/inotify-diag.c:
1494 * gio/inotify/inotify-kernel.c:
1495 Various code cleanups from Kjartan Maraas
1497 2007-11-14 Alexander Larsson <alexl@redhat.com>
1499 * gio/gioscheduler.c:
1501 Set up threadpool so that we cache 2 unused
1502 idle threads for at 15 secs. This means we
1503 will reuse thread-local data (like dbus connections)
1506 2007-11-14 Alexander Larsson <alexl@redhat.com>
1508 * gio/fam/fam-helper.c:
1509 * gio/fam/gfamdirectorymonitor.c:
1510 * gio/fam/gfamfilemonitor.c:
1512 * gio/gcontenttype.c:
1513 * gio/gdatainputstream.c:
1514 * gio/gdataoutputstream.c:
1518 * gio/gfileattribute.h:
1519 * gio/gfileenumerator.c:
1521 * gio/ginputstream.c:
1524 * gio/glocalfileinfo.c:
1525 * gio/goutputstream.c:
1526 * gio/gpollfilemonitor.c:
1527 * gio/gsimpleasyncresult.c:
1528 * gio/gunixmounts.c:
1529 * gio/gunixmounts.h:
1530 * gio/inotify/ginotifydirectorymonitor.c:
1531 * gio/inotify/ginotifyfilemonitor.c:
1532 * gio/inotify/inotify-diag.c:
1533 * gio/inotify/inotify-kernel.c:
1534 * gio/inotify/inotify-path.c:
1536 * gio/test-streams.c:
1537 * programs/gio-info.c:
1538 * programs/gio-monitor-dir.c:
1539 * programs/gio-monitor-file.c:
1540 Various code cleanups from Kjartan Maraas
1542 2007-11-13 Alexander Larsson <alexl@redhat.com>
1545 Handle the uri-scheme calls for dummy files
1547 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1549 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1550 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1551 to avoid clash with the C++ keyword.
1553 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1555 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1556 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1558 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1560 * gio/glocaldirectorymonitor.c:
1561 * gio/glocalfilemonitor.c:
1562 * gio/gunionvolumemonitor.c:
1563 Don't use g_once_init_*() for initializations that could fail and
1564 could leave the initialization variable set to 0 but use GOnce.
1565 This prevents a deadlock on the second call when trying to create
1566 a monitor and no monitor type is available. Thanks to Sven Herzberg
1569 2007-11-11 Sven Herzberg <sven@imendio.com>
1571 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1572 #ifdef (make it work on MacOS X again)
1574 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1576 Fixes Changelog for last two commits (sorry guys).
1578 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1580 * gio/gbufferedinputstream.c:
1581 * gio/gdatainputstream.c:
1583 * gio/gfileoutputstream.c:
1584 * gio/gfilterinputstream.c:
1585 * gio/glocalfileinputstream.c:
1588 More consistency fixes in g*stream.c files.
1589 Significant clean of gfile's documentation, filling in of
1590 asynchronous operations documentation.
1592 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1594 * gio/gasyncresult.c:
1595 * gio/gbufferedinputstream.c:
1596 * gio/gbufferedoutputstream.c:
1597 * gio/gcancellable.c:
1598 * gio/gcontenttype.c:
1599 * gio/gdatainputstream.c:
1600 * gio/gdataoutputstream.c:
1601 * gio/gdesktopappinfo.c:
1604 * gio/gfileattribute.c:
1605 * gio/gio/gfileenumerator.c:
1607 * gio/gfileinputstream.c:
1608 * gio/gfilemonitor.c:
1609 * gio/gfileoutputstream.c:
1610 * gio/ginputstream.c:
1612 * gio/gioscheduler.c:
1613 * gio/gloadableicon.c:
1614 * gio/glocalfileoutputstream.c:
1615 * gio/gmemoryoutputstream.c:
1616 * gio/gmountoperation.c:
1617 * gio/goutputstream.c:
1619 * gio/gsimpleasyncresult.c:
1620 * gio/gunionvolumemonitor.c:
1621 * gio/gunixmounts.c:
1622 * gio/gunixvolume.c:
1626 * gio/gvolumemonitor.c:
1627 Updated documentation stubs, working towards consistency and
1630 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1632 * gio/gmemoryoutputstream.c:
1633 * gio/gmemoryoutputstream.h:
1634 Change g_memory_output_stream_set_free_on_close() to
1635 g_memory_output_stream_set_free_data() as this makes more sense and
1636 is more consistent with GMemoryInputStream.
1638 2007-11-07 Alexander Larsson <alexl@redhat.com>
1645 Change how we find the default vfs so that
1646 we can handle a gvfs failing to init
1648 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1650 * gio/gbufferedoutputstream.c:
1651 * gio/gdatainputstream.c:
1652 * gio/gdataoutputstream.c:
1653 * gio/gfileinputstream.c:
1654 * gio/gfileoutputstream.c:
1655 * gio/gfilterinputstream.c:
1656 * gio/gfilteroutputstream.c:
1657 * gio/ginputstream.c:
1658 * gio/gmemoryinputstream.c:
1659 * gio/gmemoryoutputstream.c:
1660 * gio/goutputstream.c:
1661 * gio/gsimpleasyncresult.c:
1662 * gio/gsocketinputstream.c:
1663 * gio/gsocketoutputstream.c:
1664 Add guards to the remaining public functions, add a TODO for
1665 an unimplemented function and remove some useless guards.
1667 2007-11-07 Alexander Larsson <alexl@redhat.com>
1670 Autoconf checks for the various types of
1671 getpwuid_r and getgrgid_r
1673 * gio/glocalfileinfo.c:
1674 Use the autoconf checks from above
1676 2007-11-07 Alexander Larsson <alexl@redhat.com>
1679 (g_local_file_query_filesystem_info):
1680 Some fixes for the statvfs case
1682 2007-11-07 Alexander Larsson <alexl@redhat.com>
1685 (g_local_file_query_filesystem_info):
1686 Pick the "best" of statfs / statvfs for the system
1687 if both are availible.
1689 2007-11-07 Alexander Larsson <alexl@redhat.com>
1691 Solaris fixes from Halton.Huo@Sun.COM:
1698 * gio/glocalfileinfo.c:
1699 Fix for solaris definition of getpwuid_r
1701 * gio/test-streams.c:
1702 Use G_GNUC_PRETTY_FUNCTION
1704 2007-11-07 Alexander Larsson <alexl@redhat.com>
1706 * gio/gdesktopappinfo.c:
1707 (update_default_list):
1708 Remove double semicolon.
1709 Patch from Jens Granseuer
1711 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1713 * docs/reference/gio/gio-sections.txt:
1714 * gio/gbufferedinputstream.c:
1715 * gio/gbufferedinputstream.h:
1716 * gio/gdatainputstream.c:
1717 * gio/gfileenumerator.c:
1718 * gio/gioscheduler.c:
1719 * gio/gunionvolumemonitor.c:
1721 * programs/gio-save.c:
1722 Fix typo: availible -> available. Unfortuntely this breaks API
1723 and ABI as g_buffered_input_stream_get_available() was renamed.
1725 * gio/gunixmounts.c:
1726 * gio/gbufferedinputstream.c:
1727 Add guards for public functions.
1729 2007-11-06 Ross Burton <ross@openedhand.com>
1731 * docs/reference/gio/Makefile.am:
1732 Fix invalid += usage which automake 1.10 doesn't like.
1734 2007-11-06 Alexander Larsson <alexl@redhat.com>
1737 (g_app_launch_context_class_init):
1740 Patch from Ross Burton
1742 2007-11-06 Alexander Larsson <alexl@redhat.com>
1745 Post release version bump
1747 === gio-standalone 0.1.1 ===
1749 2007-11-06 Alexander Larsson <alexl@redhat.com>
1752 Bump version to 0.1.1
1754 * gio/gsimpleasyncresult.c:
1755 (g_simple_async_result_set_from_error):
1756 Remove bogus g_return_if_fail
1758 2007-11-06 Alexander Larsson <alexl@redhat.com>
1761 The name is gio-standalone
1764 Add top src/builddir to includedir
1766 2007-11-06 Alexander Larsson <alexl@redhat.com>
1768 * docs/reference/gio/gio-sections.txt:
1770 * gio/gbufferedinputstream.c:
1771 * gio/gbufferedoutputstream.c:
1772 * gio/gcancellable.c:
1773 * gio/gdatainputstream.h:
1774 * gio/gdataoutputstream.c:
1775 * gio/gdataoutputstream.h:
1776 * gio/gdirectorymonitor.c:
1778 * gio/gfileattribute.c:
1779 * gio/gfileattribute.h:
1780 * gio/gfileenumerator.c:
1781 * gio/gfileenumerator.h:
1784 * gio/gfileinputstream.h:
1785 * gio/gfilemonitor.c:
1786 * gio/gfileoutputstream.h:
1787 * gio/glocalfilemonitor.h:
1788 * gio/glocalfileoutputstream.h:
1789 * gio/gmemoryinputstream.c:
1790 * gio/gmemoryoutputstream.c:
1791 * gio/gmountoperation.c:
1792 * gio/goutputstream.c:
1793 * gio/goutputstream.h:
1795 * gio/gsimpleasyncresult.c:
1796 * gio/gunixmounts.c:
1797 * gio/gunixmounts.h:
1799 * gio/inotify/inotify-helper.c:
1800 Fix gtk-doc warnings
1802 Patch from Ross Burton
1804 2007-11-06 Alexander Larsson <alexl@redhat.com>
1806 * gio/gfilenamecompleter.c:
1807 (g_filename_completer_get_completions):
1810 * gio/gunixvolume.c:
1811 Remove unused function
1813 Patches from Ross Burton
1815 2007-11-06 Alexander Larsson <alexl@redhat.com>
1820 Padding not needed for interfaces
1822 2007-11-06 Alexander Larsson <alexl@redhat.com>
1824 * gio/gfilemonitor.c:
1828 Make giotypes.h an internal file
1831 * gio/gbufferedinputstream.h:
1832 * gio/gbufferedoutputstream.h:
1833 * gio/gcancellable.h:
1834 * gio/gdatainputstream.h:
1835 * gio/gdataoutputstream.h:
1836 * gio/gdirectorymonitor.c:
1837 * gio/gdirectorymonitor.h:
1842 * gio/gfileattribute.h:
1843 * gio/gfileenumerator.h:
1848 * gio/gfilemonitor.c:
1849 * gio/gfilemonitor.h:
1850 * gio/gfilenamecompleter.c:
1851 * gio/gfilenamecompleter.h:
1852 * gio/gfilterinputstream.h:
1853 * gio/gfilteroutputstream.h:
1854 * gio/ginputstream.h:
1855 * gio/gmemoryinputstream.h:
1856 * gio/gmemoryoutputstream.h:
1857 * gio/gmountoperation.c:
1858 * gio/gmountoperation.h:
1859 * gio/gnativevolumemonitor.c:
1860 * gio/goutputstream.h:
1863 * gio/gsimpleasyncresult.c:
1864 * gio/gsimpleasyncresult.h:
1865 * gio/gsocketinputstream.h:
1866 * gio/gsocketoutputstream.h:
1867 * gio/gthemedicon.c:
1868 * gio/gthemedicon.h:
1872 * gio/gvolumemonitor.c:
1873 * gio/gvolumemonitor.h:
1874 Add padding in classes where it seems useful
1875 Don't include giotypes.h from public headers
1876 Move in Class definitions into c file where possible
1881 2007-11-06 Alexander Larsson <alexl@redhat.com>
1883 * docs/reference/gio/gio-docs.xml:
1884 Better structure for API docs
1886 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1889 * gio/gloadableicon.c:
1890 * gio/gsimpleasyncresult.c:
1891 * gio/gthemedicon.c:
1892 Add some more guards to public functions. Only files missing are now
1895 2007-11-06 Alexander Larsson <alexl@redhat.com>
1897 * docs/reference/gio/gio-docs.xml:
1898 Remove old files, add missing ones
1900 2007-11-06 Alexander Larsson <alexl@redhat.com>
1902 * docs/reference/gio/gio-sections.txt:
1905 Hide implementation classes
1907 * gio/gdriveprivate.h:
1908 * gio/gvolumeprivate.h:
1909 Remove non-existing function declarations
1911 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1914 Fix compilation warnings and add guards to the new functions.
1916 * gio/gasyncresult.c:
1918 Add guards to the public functions.
1921 Implement get_path().
1923 2007-11-06 Alexander Larsson <alexl@redhat.com>
1925 * gio/gfilenamecompleter.c:
1926 Make g_filename_completer_get_completions
1927 return char ** instead of GList for
1930 * docs/reference/gio/gio-docs.xml:
1931 * docs/reference/gio/gio-sections.txt:
1933 * gio/gasyncresult.c:
1934 * gio/gbufferedinputstream.c:
1935 * gio/gbufferedoutputstream.c:
1936 * gio/gcancellable.c:
1937 * gio/gcontenttype.c:
1938 * gio/gdatainputstream.c:
1939 * gio/gdataoutputstream.c:
1940 * gio/gdesktopappinfo.c:
1941 * gio/gdirectorymonitor.c:
1945 * gio/gfileattribute.c:
1946 * gio/gfileenumerator.c:
1949 * gio/gfileinputstream.c:
1950 * gio/gfilemonitor.c:
1951 * gio/gfilenamecompleter.c:
1952 * gio/gfilenamecompleter.h:
1953 * gio/gfileoutputstream.c:
1954 * gio/gfilterinputstream.c:
1956 * gio/ginputstream.c:
1958 * gio/gioscheduler.c:
1959 * gio/gloadableicon.c:
1960 * gio/glocaldirectorymonitor.c:
1962 * gio/glocalfileinputstream.c:
1963 * gio/glocalfilemonitor.c:
1964 * gio/glocalfileoutputstream.c:
1966 * gio/gmemoryinputstream.c:
1967 * gio/gmemoryoutputstream.c:
1968 * gio/gmountoperation.c:
1969 * gio/goutputstream.c:
1970 * gio/gpollfilemonitor.c:
1972 * gio/gsimpleasyncresult.c:
1973 * gio/gsocketinputstream.c:
1974 * gio/gsocketoutputstream.c:
1975 * gio/gthemedicon.c:
1976 * gio/gunionvolumemonitor.c:
1978 * gio/gunixmounts.c:
1979 * gio/gunixvolume.c:
1980 * gio/gunixvolumemonitor.c:
1984 * gio/gvolumemonitor.c:
1985 * gio/gwin32appinfo.c:
1986 Add (mostly stub) doc strings to public functions.
1987 Patch from Andrew Walton (awalton@gmail.com)
1989 2007-11-06 Alexander Larsson <alexl@redhat.com>
1991 * gio/gappinfo.[ch]:
1992 Added GAppLaunchContext object and pass that to launch.
1993 This allows simple implementation of both
1994 launch-on-screen and startup notification via a gtk+
1995 subclass of GAppLaunchContext
1997 * gio/gdesktopappinfo.c:
1998 Implement GAppLaunchContext API
2000 * gio/gwin32appinfo.c:
2003 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2005 * gio/gmountoperation.c:
2006 Add some guards to GMountOperation's public functions.
2008 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2012 * gio/gcancellable.c:
2013 * gio/gdirectorymonitor.c:
2015 * gio/gfileenumerator.c:
2016 * gio/gfilemonitor.c:,
2017 * gio/gfilenamecompleter.c:
2020 * gio/gioscheduler.c:
2024 * gio/gvolumemonitor.c:
2025 Add even more guards to various public functions.
2027 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2030 Add guards to the public functions of GAppInfo.
2032 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2034 * gio/gcontenttype.c:
2035 Add some more guards for public functions.
2037 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2039 * gio/fam/fam-module.c:
2040 * gio/fam/gfamdirectorymonitor.c:
2041 * gio/fam/gfamdirectorymonitor.h:
2042 * gio/fam/gfamfilemonitor.c:
2043 * gio/fam/gfamfilemonitor.h:
2044 * gio/inotify/ginotifydirectorymonitor.c:
2045 * gio/inotify/ginotifydirectorymonitor.h:
2046 * gio/inotify/ginotifyfilemonitor.c:
2047 * gio/inotify/ginotifyfilemonitor.h:
2048 Add proper copyright information and remove an unused variable
2049 in the GInotifyFileMonitor constructor.
2051 * gio/gcancellable.c:
2052 Add a guard for a public function and an assertion to prevent
2053 an undefined program state.
2055 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2057 * gio/gfileattribute.c:
2058 Don't run into an assertion if the given attribute value is NULL
2059 in g_file_attribute_value_get_*() but instead return a fallback
2060 value that makes sense in most situations. Passing them a attribute
2061 value with the wrong type will still run into an assertion.
2063 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2065 * gio/gfileattribute.c:
2067 Add even more guards to the public functions. Also fix the refcounting
2068 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2069 let g_file_info_list_attributes() filter the attributes by namespace
2070 instead of simply ignoring the namespace parameter.
2072 2007-11-03 Sven Herzberg <sven@imendio.com>
2074 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2075 (This makes gio work on MacOS X again)
2077 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2080 Build the gio subdirectory before the docs. Otherwise the build will
2083 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2084 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2085 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2086 Add guards to the public functions.
2088 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2090 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2091 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2092 to prevent a compiler warning.
2094 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2095 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2096 return something in the non-void function find_topdir_for().
2098 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2105 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2107 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2108 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2109 * gwin32appinfo.c (g_win32_app_info_launch):
2110 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2111 envp_for_startup_id, g_desktop_app_info_launch,
2112 g_desktop_app_info_launch_uris):
2114 Give an opaque 'startup_id' string instead of 'envp'.
2115 Support empty file lists for launching new windows.
2116 Fix infinite recursion bug when launching URIs.
2118 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2121 Add guard to the new g_file_get_uri_scheme() function.
2123 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2126 Convert a g_return_val_if_fail() to setting the GError instead as
2127 otherwise applications have to verify the parameter before otherwise
2128 and the parameter might come directly from the user.
2130 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2132 * gio/inotify/ginotify*.[ch]:
2133 Add missing copyright information.
2135 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2138 Add guards in the beginning of public functions to check for valid
2139 parameters and fix a bug in copy_stream_with_progress() that could've
2140 caused writing less bytes than reading.
2141 * gio/glocalfileinfo.c:
2142 Check for a NULL parameter and set the GError accordingly then.
2143 * gio/goutputstream.c:
2144 Fix the same bug as in gfile.c that could've caused writing less bytes
2145 than reading in g_output_stream_real_splice().
2147 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2150 Use the correct gvolumeprivate.h naming
2152 2007-11-01 Christian Kellner <gicmo@gnome.org>
2155 Remove leftover "$(daemon_sources)" entry.
2157 2007-11-01 Christian Kellner <gicmo@gnome.org>
2162 Add copyright information to source files.
2164 2007-11-01 Alexander Larsson <alexl@redhat.com>
2168 Add g_file_get_uri_scheme
2170 2007-11-01 Alexander Larsson <alexl@redhat.com>
2173 * gio/gdesktopappinfo.c:
2174 * gio/gwin32appinfo.c:
2175 Add g_app_info_get_default_for_uri_scheme.
2177 2007-11-01 Alexander Larsson <alexl@redhat.com>
2180 Correct filename for gdriveprivate.h
2182 2007-10-31 Alexander Larsson <alexl@redhat.com>
2185 Rename id:value to id:file
2188 * gio/glocalfileinfo.c:
2191 2007-10-31 Alexander Larsson <alexl@redhat.com>
2193 * gio/gunixvolume.c:
2195 Remove g_volume_get_platform_id, as thats not
2196 needed with the simpler union volume monitor
2198 2007-10-31 Alexander Larsson <alexl@redhat.com>
2201 * gio/guniondrive.[ch]: Removed.
2202 * gio/gunionvolume.[ch]: Removed.
2203 Remove GUnionDrive/Volume
2205 * gio/gunionvolumemonitor.c:
2206 Simplify union volume monitor, now we
2207 only have one native volume monitor and
2208 we use the actual volumes/drives from the
2209 child monitors instead of wrapping them
2211 * gio/gnativevolumemonitor.[ch]:
2212 Base class for native volume monitors.
2213 Includes priority and get_volume_for_mountpoint
2216 Add g_file_find_enclosing_volume
2219 Remove volume name fs attribute
2220 Add readonly fs attribute
2223 Implement readonly attribute
2224 remove volume name attribute
2225 Implement find_enclosing volume
2227 * gio/gunixmounts.c:
2228 Add a volume for "/".
2230 * gio/gunixvolume.[ch]:
2231 Set better name for /
2233 * gio/gunixvolumemonitor.[ch]:
2234 Derive from GNativeVolumeMonitor
2235 Implement get_volume_for_mountpoint
2238 GVolume typedef moved to gfile.h
2240 * gio/gvolumeprivate.h:
2241 Add g_volume_get_for_mount_path
2243 2007-10-31 Alexander Larsson <alexl@redhat.com>
2245 * gio/gunixmounts.[ch]:
2246 Add cache info to unix mount listers
2247 Make getmntent use threadsafe
2248 Add is_system_internal attribute for GUnixMount
2250 * gio/gunixvolume.c:
2251 (g_unix_volume_new):
2252 Use is_system_internal instead of own code
2254 * gio/glocaldirectorymonitor.c:
2255 * gio/gunixvolumemonitor.c:
2256 Update to new gunixmounts API
2261 2007-10-30 Alexander Larsson <alexl@redhat.com>
2264 Add volume name fsinfo attribute
2267 Read volume name info
2269 * gio/gunionvolumemonitor.c:
2270 Fix infinite loops when finalizing a union volume monitor
2272 2007-10-30 Alexander Larsson <alexl@redhat.com>
2274 * gio/goutputstream.[ch]:
2275 Add splice() with default implementation
2277 * gio/gsocketoutputstream.c:
2278 (g_socket_output_stream_write):
2279 Return error on cancellation correctly.
2281 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2283 * gio/glocalfile.c (g_local_file_trash):
2284 Do not leak a string.
2286 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2288 * gio/gfile.c (g_file_load_contents):
2289 Unref the stream after closing it.
2291 2007-10-25 Alexander Larsson <alexl@redhat.com>
2293 * gio/gioscheduler.h:
2296 2007-10-25 Alexander Larsson <alexl@redhat.com>
2300 Add g_file_has_uri_scheme and implement for local files
2302 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2304 * gio/gdesktopappinfo.c: do not leak a string.
2306 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2308 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2309 (g_local_directory_monitor_new):
2310 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2311 (g_local_file_monitor_new):
2312 Only look for the monitor type that should be used the first time
2313 and use g_qsort_with_data() instead of our own bubble sort
2316 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2319 * gio/fam/Makefile.am:
2320 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2321 * gio/fam/fam-helper.h:
2322 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2323 * gio/fam/gfamdirectorymonitor.c:
2324 * gio/fam/gfamdirectorymonitor.h:
2325 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2326 * gio/fam/gfamfilemonitor.h:
2327 * gio/glocaldirectorymonitor.c:
2328 * gio/glocaldirectorymonitor.h:
2329 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2330 * gio/glocalfilemonitor.h:
2331 * gio/inotify/Makefile.am:
2332 * gio/inotify/ginotifydirectorymonitor.c:
2333 * gio/inotify/ginotifydirectorymonitor.h:
2334 * gio/inotify/ginotifyfilemonitor.c:
2335 * gio/inotify/ginotifyfilemonitor.h:
2336 Implement the FAM and Inotify monitors as
2337 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2338 their own GIO module. GLocal(Directory|File)Monitor will use the
2339 monitor with the highest rank that is supported on that machine.
2341 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2344 Change GIO module dir to $(libdir)/gio/modules and change
2345 the log domain from GVFS to GIO. Also only export symbols starting
2346 with g_ in the resulting library.
2347 * gio/test-streams.c: (main):
2348 Set log handler for the GIO log domain.
2350 2007-10-22 Alexander Larsson <alexl@redhat.com>
2352 * gio/gfilenamecompleter.[ch]:
2353 Add g_filename_completer_set_dirs_only
2355 2007-10-22 Alexander Larsson <alexl@redhat.com>
2358 * gio/gurifuncs.[ch]:
2359 Add some simple URI helpers
2361 * gio/gfilenamecompleter.[ch]:
2362 Added object for filename (parse name actually) completion
2365 Handle ~ in parse names
2367 2007-10-17 Alexander Larsson <alexl@redhat.com>
2370 * gio/glocalfileinfo.c:
2371 Add and implement id:value attribute
2373 2007-10-17 Alexander Larsson <alexl@redhat.com>
2376 * gio/guniondrive.c:
2378 Add and implement g_drive_has_volumes
2380 2007-10-17 Alexander Larsson <alexl@redhat.com>
2383 * gio/glocalfileinfo.[ch]:
2384 Add unix:is_mountpoint and implement for local files
2386 2007-10-16 Alexander Larsson <alexl@redhat.com>
2388 * gio/gunionvolumemonitor.c:
2389 (g_union_volume_monitor_init):
2390 Fix up the unix type getting so that it works with gcc
2392 2007-10-12 Alexander Larsson <alexl@redhat.com>
2395 * gio/glocalfileinfo.c:
2396 Add thumbnail:failed to file info
2398 2007-10-12 Richard Hult <richard@imendio.com>
2400 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2401 optimizing away the get_type call (happens with some gcc versions,
2402 like the one shipped with OS X 10.4).
2404 2007-10-12 Alexander Larsson <alexl@redhat.com>
2406 * gio/glocalfileinfo.c:
2407 (_g_local_file_info_set_attribute):
2408 Fix build if not HAVE_XATTR
2409 Patch from Milosz Derezynski <internalerror@gmail.com>
2411 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2413 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2414 around for review, otherwise I would have asked you before
2417 2007-10-11 Alexander Larsson <alexl@redhat.com>
2420 Add thumbnail:path attribute
2422 * gio/glocalfileinfo.c:
2423 Implement thumbnail:path for local files
2425 2007-10-11 Alexander Larsson <alexl@redhat.com>
2427 * gio/glocalfileinfo.c:
2428 (_g_local_file_info_get):
2429 Avoid duplicate icon names
2431 2007-10-11 Alexander Larsson <alexl@redhat.com>
2433 * gio/gthemedicon.[ch]:
2434 Change g_themed_icon_get_names return type to const
2436 2007-10-10 Alexander Larsson <alexl@redhat.com>
2438 * gio/glocalfileinfo.c:
2439 Don't reference freed memory
2441 2007-10-10 Alexander Larsson <alexl@redhat.com>
2443 * gio/gfileattribute.c:
2446 * gio/glocalfileinfo.c:
2449 2007-10-10 Alexander Larsson <alexl@redhat.com>
2452 Check for NULL icons
2454 * gio/gfileattribute.c:
2455 Don't dup when getting objects (same as for string attributes)
2457 * gio/gicon.c (g_icon_equal):
2458 Safely handle NULLs in equal
2460 2007-10-10 Alexander Larsson <alexl@redhat.com>
2463 Fix c++ compilation issues
2464 Patch from Milosz Derezynski <internalerror@gmail.com>
2466 2007-10-10 Alexander Larsson <alexl@redhat.com>
2468 * programs/gio-monitor-dir.c:
2469 Don't crash if dir monitor not supported.
2471 2007-10-09 Alexander Larsson <alexl@redhat.com>
2474 Add missing G_END_DECLS
2476 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2478 * gio/gfile.c: (g_file_set_display_name),
2479 (g_file_query_settable_attributes),
2480 (g_file_query_writable_namespaces):
2481 Return NULL not FALSE on errors as the return type is a pointer.
2483 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2485 * gio/glocalfile.c: (g_local_file_monitor_file):
2486 Don't call monitor_file on the default interface vtable (which
2487 is NULL) but simply return NULL. The caller, GFile, will create a
2488 polling monitor if NULL is returned.
2490 2007-10-09 Alexander Larsson <alexl@redhat.com>
2494 * gio-unix-2.0.pc.in:
2495 Add gio-unix-2.0.pc if OS_UNIX
2498 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2500 2007-10-09 Alexander Larsson <alexl@redhat.com>
2502 * gio/gunixmounts.[ch]:
2503 Make unix mount monitoring API sane.
2504 Now its just a object with mounts_changed
2505 and mountpoints_changed signals.
2507 * gio/glocaldirectorymonitor.c:
2508 * gio/gunixvolumemonitor.c:
2509 Use new mount monitor api
2511 2007-10-09 Alexander Larsson <alexl@redhat.com>
2513 * gio/gunixmounts.[ch]:
2514 Move guess type into one call for mounts and one for mountpoints
2517 * gio/gunixvolume.c:
2520 2007-10-09 Alexander Larsson <alexl@redhat.com>
2522 * gio/gunixmounts.[ch]:
2523 Remove _ prefix in preparation to make this semi-public
2524 Hide implementation of structs
2526 * gio/glocaldirectorymonitor.c:
2528 * gio/gunixvolume.c:
2529 * gio/gunixvolumemonitor.c:
2530 Update for above API changes
2532 2007-10-08 Alexander Larsson <alexl@redhat.com>
2535 Better polling fallback. This also handles the case where we have
2536 a monitor_file implementation, but it fails.
2538 2007-10-08 Alexander Larsson <alexl@redhat.com>
2542 * gio/gunixmounts.c:
2543 * programs/gio-monitor-dir.c:
2544 * programs/gio-monitor-file.c:
2545 Added cancellable to file monitoring calls.
2546 These are really sync calls and need this.
2548 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2550 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2551 (g_local_vfs_class_init):
2552 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2553 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2555 2007-10-05 Alexander Larsson <alexl@redhat.com>
2557 * gio/gdirectorymonitorprivate.h:
2558 * gio/gfilemonitorprivate.h:
2559 * gio/gdirectorymonitor.h:
2560 * gio/gfilemonitor.h:
2561 Remove *private.h and move to the public API, so that
2562 we can do implementations outside gio (such as in gvfs)
2564 * gio/gdirectorymonitor.c:
2565 * gio/gfilemonitor.c:
2566 * gio/glocaldirectorymonitor.c:
2567 * gio/gpollfilemonitor.c:
2568 * gio/inotify/inotify-helper.c:
2569 * gio/fam/fam-helper.c:
2570 Update to the new header names
2572 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2574 * gio/gdirectorymonitor.c:
2575 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2578 2007-10-04 Alexander Larsson <alexl@redhat.com>
2580 * gio/glocalfileinfo.c (get_access_rights):
2581 Set CAN_TRASH when we can move the file.
2582 We should really also check for a parent trash dir.
2584 2007-10-04 Alexander Larsson <alexl@redhat.com>
2586 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2587 Add can_trash access attribute
2589 2007-10-04 Alexander Larsson <alexl@redhat.com>
2592 (g_local_file_trash):
2593 Create info file first. This is per-spec and allows
2594 us to actually trash directories.
2596 2007-10-02 Alexander Larsson <alexl@redhat.com>
2598 * gio/gdesktopappinfo.c:
2599 Implement the new mime support code.
2600 Always set app as handling mimetype when being set as default for it
2602 2007-10-01 Alexander Larsson <alexl@redhat.com>
2604 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2605 Fix up check for xattrs:
2607 2007-10-01 Alexander Larsson <alexl@redhat.com>
2610 (g_app_info_set_as_default_for_extension):
2611 (g_app_info_add_supports_type):
2612 (g_app_info_can_remove_supports_type):
2613 (g_app_info_remove_supports_type):
2614 Make these fail nicely if not implemented
2616 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2618 * gio/glocalfileoutputstream.c:
2619 * gio/glocalfileoutputstream.h:
2624 * programs/gio-save.c:
2625 Add a GFileCreateFlags argument to operations that can create
2628 2007-10-01 Alexander Larsson <alexl@redhat.com>
2630 * gio/gappinfo.[ch]:
2631 * gio/gdesktopappinfo.c:
2632 Add more (stubbed out) mime API needed for nautilus
2634 2007-10-01 Alexander Larsson <alexl@redhat.com>
2637 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2638 Add g_app_info_set_as_default_for_extension.
2640 * gio/gdesktopappinfo.c:
2641 Dummy for g_app_info_set_as_default_for_extension
2642 Support flags in g_app_info_create_from_commandline
2644 * gio/gwin32appinfo.c:
2646 Update for API changes
2648 * gio/gthemedicon.c:
2649 Properly NULL-terminate list of icon names
2651 2007-09-28 Alexander Larsson <alexl@redhat.com>
2653 * gio/gloadableicon.h:
2654 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2656 2007-09-28 Alexander Larsson <alexl@redhat.com>
2659 Install headers in $includedir/gio-standalone/
2661 * gio-2.0.pc.in: Added.
2662 * gio-standalone.pc.in: Removed.
2665 Renamed pkg-config file to match glib (for future move)
2666 Update to the new include dir
2669 Add more TODO comments
2671 2007-09-28 Alexander Larsson <alexl@redhat.com>
2673 * gio/gdesktopappinfo.[ch]:
2674 Expose new_from_filename
2675 Add getter for is_hidden and handle it better
2677 2007-09-28 Alexander Larsson <alexl@redhat.com>
2679 * gio/gfileinfo.[ch]:
2680 Rename g_file_size_format_for_display to
2681 g_format_file_size_for_display.
2682 Now it doesn't have the g_file prefix, so we
2683 can later move it to glib.
2685 2007-09-28 Alexander Larsson <alexl@redhat.com>
2687 * gio/gappinfo.[ch]:
2688 Add g_app_info_get_id and g_app_info_get_executable.
2689 Make all getters non-reffing
2690 Make g_app_info_launch take GFile arguments.
2691 Add must_support_uris argument to g_app_info_get_default_for_type.
2693 * gio/gwin32appinfo.c:
2694 Update to GAppInfo api changes
2696 * gio/gdesktopappinfo.c:
2697 Update to GAppInfo api changes
2698 Implement supports_xdg_startup_notify
2700 * gio/gfileicon.c (g_file_icon_get_file):
2701 Make getter non-reffing.
2706 2007-09-27 Alexander Larsson <alexl@redhat.com>
2708 * gio/gfileinfo.[ch]:
2709 Add g_file_size_format_for_display helper
2711 2007-09-27 Alexander Larsson <alexl@redhat.com>
2713 * gio/glocalfileinfo.c:
2714 Set UNIX_GID from gid, not from uid
2716 2007-09-27 Alexander Larsson <alexl@redhat.com>
2719 Add g_file_set_attributes_async
2721 2007-09-27 Alexander Larsson <alexl@redhat.com>
2723 * gio/glocalfile.c (g_local_file_set_display_name):
2724 Fix set_display_name to actually rename to the right place.
2725 Use lstat to look for existing files so we don't overwrite
2728 2007-09-26 Alexander Larsson <alexl@redhat.com>
2731 Add g_file_set_display_name_async()
2733 2007-09-26 Alexander Larsson <alexl@redhat.com>
2736 Add load_partial_contents async calls
2739 Make internal function static
2741 2007-09-26 Alexander Larsson <alexl@redhat.com>
2743 * gio/glocalfileinfo.c:
2744 Correctly detect broken symlinks
2746 2007-09-26 Alexander Larsson <alexl@redhat.com>
2748 * gio/gcancellable.c (g_cancellable_cancel):
2749 Allow cancel on NULL cancellable
2751 2007-09-25 Alexander Larsson <alexl@redhat.com>
2753 * gio/gsimpleasyncresult.c:
2754 Don't allocate g_error manually.
2755 Fixes g_slice/g_new mixup crash
2757 2007-09-25 Alexander Larsson <alexl@redhat.com>
2759 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2760 Actually set active_backend.
2761 This means the monitor will be cancelled correctly.
2763 2007-09-25 Alexander Larsson <alexl@redhat.com>
2765 * gio/gdirectorymonitor.c:
2766 Set timeout to NULL when destroying
2768 2007-09-25 Alexander Larsson <alexl@redhat.com>
2771 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2772 that is a better description of the error.
2774 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2776 * gio/gvfs.c: (g_vfs_get_local):
2777 Make the local vfs variable static. The same instance should
2780 2007-09-24 Alexander Larsson <alexl@redhat.com>
2782 * gio/glocalfileinfo.c:
2783 Pass in actual length read into sniffer, not the length
2786 2007-09-21 Alexander Larsson <alexl@redhat.com>
2788 * gio/gfileenumerator.c:
2791 * gio/gfileinputstream.c:
2792 * gio/gfileoutputstream.c:
2793 * gio/ginputstream.c:
2794 * gio/goutputstream.c:
2795 Don't crash if async callbacks are NULL
2797 2007-09-20 Alexander Larsson <alexl@redhat.com>
2800 Add async enumerate_children method and default
2803 2007-09-20 Alexander Larsson <alexl@redhat.com>
2806 Add g_file_contains_file & g_file_get_relative_path, since they
2807 were needed for nautilus.
2808 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2813 Implement new methods
2815 2007-09-17 Alexander Larsson <alexl@redhat.com>
2818 * gio/gfileinputstream.[ch]:
2819 * gio/gfileoutputstream.[ch]:
2821 * gio/glocalfileenumerator.[ch]:
2822 * gio/glocalfileinfo.[ch]:
2823 * gio/glocalfileinputstream.c:
2824 * gio/glocalfileoutputstream.c:
2825 * gio/gpollfilemonitor.c:
2826 * programs/gio-copy.c:
2827 * programs/gio-info.c:
2828 * programs/gio-move.c:
2829 Rename get_file_info to query_info() to make it clearer
2830 that these are not simple getters, but do i/o.
2832 2007-09-17 Alexander Larsson <alexl@redhat.com>
2834 * gio/gdatainputstream.[ch]:
2835 * gio/test-streams.c:
2836 Use _read_XXX instead of _get_XXX for the i/o calls
2839 2007-09-17 Alexander Larsson <alexl@redhat.com>
2842 Added needed stuff to TODO comment
2844 2007-09-17 Alexander Larsson <alexl@redhat.com>
2846 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2847 Don't error out removing the backup copy if it doesn't
2850 2007-09-14 Alexander Larsson <alexl@redhat.com>
2852 * programs/Makefile.am:
2853 * programs/gvfs-*.c:
2855 Renamed apps from gvfs-xxx to gio-xxx.
2857 2007-09-14 Alexander Larsson <alexl@redhat.com>
2860 * gio/gfileoutputstream.[ch]:
2861 * gio/glocalfileoutputstream.c:
2862 * programs/gvfs-save.c:
2863 g_file_output_stream_get_etag doesn't do i/o, so remove
2864 cancellation and error.
2866 2007-09-14 Alexander Larsson <alexl@redhat.com>
2869 Add new_etag output to replace_contents functions
2871 2007-09-14 Alexander Larsson <alexl@redhat.com>
2873 * gio/gfileoutputstream.[ch]:
2874 Add async get_file_info and default implementation
2876 2007-09-14 Alexander Larsson <alexl@redhat.com>
2878 * gio/gfileinputstream.c:
2879 Implement fallback wrapper for async get_file_info
2881 2007-09-14 Alexander Larsson <alexl@redhat.com>
2884 Add etag out argument to load_contents
2889 2007-09-14 Alexander Larsson <alexl@redhat.com>
2891 * gio/gcontenttype.c (looks_like_text):
2892 Whitespace like tab, cr and lf do not make the
2895 2007-09-14 Alexander Larsson <alexl@redhat.com>
2897 * gio/gfileinputstream.[ch]:
2898 Add async get_file_info.
2900 2007-09-13 Alexander Larsson <alexl@redhat.com>
2902 * gio/goutputstream.c (g_output_stream_write_all):
2903 Allow NULL for bytes_written
2905 2007-09-13 Alexander Larsson <alexl@redhat.com>
2907 * gio/gmemoryinputstream.[ch]:
2908 Add accessors for data
2910 2007-09-13 Alexander Larsson <alexl@redhat.com>
2912 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2913 Don't crash if length is NULL