1 2008-01-18 Murray Cumming <murrayc@murrayc.com>
3 * gmount.c: (g_mount_remount): documentation:
4 Mention g_mount_remount_finish() instead of
5 g_mount_unmount_finish().
7 2008-01-18 Murray Cumming <murrayc@murrayc.com>
11 * gfile.c: Fixed some minor typos in the
14 2008-01-18 Murray Cumming <murrayc@murrayc.com>
16 * gio/gvolumemonitor.c:
17 (g_volume_monitor_get_connected_drives):
18 (g_volume_monitor_get_volumes):
19 (g_volume_monitor_get_mounts): Documentation:
20 Clarify the ownership of the regurn GLists.
22 2008-01-17 Alexander Larsson <alexl@redhat.com>
25 Add the async find_enclosing_mount version
26 to the header file too.
28 2008-01-17 Alexander Larsson <alexl@redhat.com>
31 Add async version of find_enclosing_mount
32 with default implementation.
34 2008-01-17 Alexander Larsson <alexl@redhat.com>
39 Allow calls to implementation of copy and write
40 even if the type of the file implementations is
41 different. This can be used to implement native
42 upload and download calls in a vfs.
46 Protect against the case where move is called
47 with one file not being local.
49 Make sure we call the progress callback once
50 in the native move operation so that the caller
51 knows how many bytes were copied.
53 2008-01-16 Murray Cumming <murrayc@murrayc.com>
58 * gfileoutputstream.c:
63 * gunixmounts.c: Corrected some typos in the documentation:
65 its -> it's (where appropriate).
67 2008-01-16 Alexander Larsson <alexl@redhat.com>
71 Add g_file_query_exists (#508771)
73 2008-01-15 Murray Cumming <murrayc@murrayc.com>
78 * gvolume.c: For async functions that have no non-async
79 version, document that the GAsyncReadyCallback may be NULL.
82 2008-01-15 Alexander Larsson <alexl@redhat.com>
84 * gmemoryinputstream.c:
85 * gmemoryoutputstream.c:
86 Don't do pointer arithmetic on void * (#508602)
87 Patch from Kazuki IWAMOTO
89 2008-01-14 Matthias Clasen <mclasen@redhat.com>
91 * === Released 2.15.2 ===
93 2008-01-14 Alexander Larsson <alexl@redhat.com>
95 * gfile.c (g_file_monitor_file):
96 Don't set error here, since we fallback to polling monitor.
98 2008-01-14 Alexander Larsson <alexl@redhat.com>
101 (g_file_monitor_directory):
102 (g_file_monitor_file):
103 Add GError to file monitor calls
105 * glocaldirectorymonitor.c:
106 * glocaldirectorymonitor.h:
108 * glocalfilemonitor.c:
109 * glocalfilemonitor.h:
111 Update for above change
113 2008-01-14 Alexander Larsson <alexl@redhat.com>
117 Handle root correctly in g_file_get_relative_path (#508719)
119 2008-01-14 Alexander Larsson <alexl@redhat.com>
122 Clean up docs and example for GAsyncResult (#508074)
124 2008-01-11 Murray Cumming <murrayc@murrayc.com>
126 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
127 and correct some spelling mistakes. Bug #508108.
129 2008-01-11 Matthias Clasen <mclasen@redhat.com>
131 * glocalfileinfo.c: Add a comment.
133 2008-01-10 Murray Cumming <murrayc@murrayc.com>
135 * gfileinfo.c: GFileInfo description: Mention
136 how to actually set attributes in a GFile and how to discover
137 which attributes are settable. Bug #508378.
139 2008-01-10 A. Walton <awalton@svn.gnome.org>
141 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
142 (g_app_info_get_default_for_type):
143 Check for NULL content types.
145 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
147 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
149 2008-01-09 Murray Cumming <murrayc@murrayc.com>
151 * gfile.c: *_async() functions: Several small corrections
152 to the documentation, mostly correcting copy/paste errors
153 and improving some sentences.
155 2008-01-09 Dan Winship <danw@gnome.org>
157 * glocalfile.c (get_unique_filename): x86_64 fix
159 2008-01-09 Alexander Larsson <alexl@redhat.com>
164 Add g_unix_mount_guess_should_display and use
165 for unix volume monitor backend.
166 This means we more or less show what the
167 gnome-vfs backend did.
168 Based on patch from Padraig O'Briain
170 2008-01-09 Alexander Larsson <alexl@redhat.com>
174 Add g_themed_icon_new_with_default_fallbacks
177 Use default fallbacks for icons
179 2008-01-09 Alexander Larsson <alexl@redhat.com>
182 * gmountoperation.[ch]:
183 Change the API a bit so that unhandled methods
184 get reported via the reply, rather than by
185 the signal emission return value. This is because
186 some handlers can't know this immediately without
187 doing I/O, and this is an async operation that
190 2008-01-09 Alexander Larsson <alexl@redhat.com>
193 * fam/gfamdirectorymonitor.c:
194 * fam/gfamfilemonitor.c:
195 Fix double free crash (#508224)
196 Patch from Joe Marcus Clarke
198 008-01-07 Matthias Clasen <mclasen@redhat.com>
200 * === Released 2.15.1 ===
202 2008-01-07 Alexander Larsson <alexl@redhat.com>
204 * gunixinputstream.c (g_unix_input_stream_skip_finish):
205 Fix warning (#507835)
207 2008-01-07 Alexander Larsson <alexl@redhat.com>
210 Pass --internal to glib-genmarshal
215 Use better types for signal arguments (#507822)
217 2008-01-07 Alexander Larsson <alexl@redhat.com>
220 Build test subdir after .
221 Remove gdirectorymonitor.[ch]
223 * gdirectorymonitor.[ch]:
227 Remove GDirectoryMonitor and make
228 GFileMonitor the baseclass for both file and
229 directory monitors. Lift the more generic
230 rate limiting code from GDirectoryMonitor
234 * fam/gfamdirectorymonitor.[ch]:
235 * inotify/ginotifydirectorymonitor.[ch]:
236 * inotify/inotify-helper.c:
237 * glocaldirectorymonitor.[ch]:
240 Update for the removed GDirectoryMonitor.
242 * gmemoryoutputstream.c:
243 Remove ununsed variable
245 2008-01-07 Alexander Larsson <alexl@redhat.com>
247 * gmemoryinputstream.c:
248 Translate error strings
251 * gmemoryoutputstream.[ch]:
252 New implementation that avoids using GByteArray
253 in implementation and API. (#506377)
255 2008-01-06 Matthias Clasen <mclasen@redhat.com>
257 * tests/*: Add a test for memory input streams.
259 * Makefile.am: Add tests to SUBDIRS.
261 2008-01-06 Matthias Clasen <mclasen@redhat.com>
263 * glocalfilemonitor.c:
264 * glocaldirectorymonitor.c: Mark property nicks and blurbs
267 2008-01-06 Matthias Clasen <mclasen@redhat.com>
269 * gdesktopappinfo.c: Fix a docs typo.
271 * gfileattribute.c: Add information about extended attributes
272 to the documentation. (#505058)
274 2008-01-04 Alexander Larsson <alexl@redhat.com>
278 Use the right type (uint) for the ask_password signal.
280 2008-01-04 Alexander Larsson <alexl@redhat.com>
285 Add g_app_info_supports_files()
286 Remove desktop arg from g_app_info_should_show().
288 * gdesktopappinfo.[ch]:
289 Implement g_app_info_supports_files() and new should_show()
290 Add g_desktop_app_info_set_desktop_env() to set the desktop
291 for should_show(). (This will be set by gtk+ later)
293 2008-01-04 Alexander Larsson <alexl@redhat.com>
296 * gmemoryinputstream.[ch]:
297 Improve API so that you can use multiple chunks
298 of memory and custom destroy functions. (#506374)
300 2008-01-03 Alexander Larsson <alexl@redhat.com>
303 Handle NULL attribute matchers safely, as we return this
304 for empty attribute matcher strings.
306 2008-01-03 Alexander Larsson <alexl@redhat.com>
308 * gunixmounts.c (g_unix_is_mount_path_system_internal):
309 Add /usr/local to list of internal mountpoints
311 2008-01-03 Alexander Larsson <alexl@redhat.com>
314 Check for HAVE_LCHOWN (#505887)
316 2008-01-03 Alexander Larsson <alexl@redhat.com>
320 Add define for selinux context attribute.
321 Fix missing : -> :: namespace separator change
322 Fix missing _ -> - name change for xattr-sys.
325 2008-01-03 Alexander Larsson <alexl@redhat.com>
328 Link to libglib and libgobject directly (#504879)
329 Patch from Sebastien Bacher
331 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
333 * gfile.c: Expanded the g_file_new_for_commandline_arg
334 description a bit, based on the code and the docs of the
335 other g_file_new_for_* functions.
337 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
339 * gfilemonitor.h: Fixed typo in docs.
341 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
343 Updates to GIO documentation. (#506395, Mikael Hermansson)
345 * gcontenttype.c: Describe memory management for return value of
346 g_content_types_get_registered(). Missing piece from #505815.
347 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
348 GVolume, GDrive, GMounts, which hopefully gives the user less
349 confusions when using this API. Following explainations from
350 Alexander Larsson on gtk-devel-list.
352 2007-12-30 Matthias Clasen <mclasen@redhat.com>
354 * gfileinfo.c: Expand the long description.
356 2007-12-30 Matthias Clasen <mclasen@redhat.com>
359 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
360 fix builds with --disable-visibility. (#500273, Christian Persch)
362 2007-12-30 Matthias Clasen <mclasen@redhat.com>
364 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
365 in the list of returned app infos.
367 2007-12-30 Matthias Clasen <mclasen@redhat.com>
369 * gappinfo.c: Fix a cross-reference
371 2007-12-30 Matthias Clasen <mclasen@redhat.com>
373 * gfileinputstream.c:
374 * gfileoutputstream.c:
380 * gfileinfo.c: Documentation updates.
382 2007-12-26 Matthias Clasen <mclasen@redhat.com>
384 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
387 2007-12-26 Matthias Clasen <mclasen@redhat.com>
389 * gcontenttype.c (g_content_types_get_registered): Don't return
390 freed memory (#505815, Mikael Hermansson)
392 2007-12-25 Paolo Borelli <pborelli@katamail.com>
394 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
395 used to detect statbuf->st_blocks. (#505042)
397 2007-12-24 Matthias Clasen <mclasen@redhat.com>
399 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
400 environment handling. (#504829, Cosimo Cecchi)
402 2007-12-22 Matthias Clasen <mclasen@redhat.com>
404 * gappinfo.c: Doc improvements
406 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
409 2007-12-20 Matthias Clasen <mclasen@redhat.com>
411 * === Released 2.15.0 ===
413 2007-12-20 Hans Breuer <hans@breuer.org>
415 * makefile.msc : don't build gdesktopappinfo.obj, it collides
416 with symbols gwin32appinfo.obj, added gmount.obj
417 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
419 2007-12-20 Alexander Larsson <alexl@redhat.com>
425 * gfilenamecompleter.c:
428 * gpollfilemonitor.c:
429 File attribute renames:
432 id::fs -> id::filesystem
434 2007-12-20 Alexander Larsson <alexl@redhat.com>
443 Add GMountUnmountFlags to all unmount and
445 Add g_mount_remount() call.
447 2007-12-20 Alexander Larsson <alexl@redhat.com>
449 * gvfs.c (get_default_vfs):
450 Fix unused variable warning
452 2007-12-19 Matthias Clasen <mclasen@redhat.com>
454 * pltcheck.sh: Update
456 2007-12-19 Matthias Clasen <mclasen@redhat.com>
458 * gunionvolumemonitor.c:
459 * gunixmount.c: Remove C99 comments
461 2007-12-19 Matthias Clasen <mclasen@redhat.com>
463 * gio.symbols: Add some missing symbols
465 2007-12-19 Alexander Larsson <alexl@redhat.com>
468 Make g_io_modules_load_all_in_directory not unuse
469 loaded modules so that users of it can do stuff
471 Init internal "module" types.
472 Initialize static prio and name for types so that
473 we don't have to load modules to get it.
475 * gnativevolumemonitor.h:
477 Move is_supported to parent class so that
478 non-native monitors can avoid being initialized
479 too. (For instance GDaemonVolumeMonitor if we're
480 not using GDaemonVfs.)
482 * glocaldirectorymonitor.[ch]:
483 * glocalfilemonitor.[ch]:
484 * gunionvolumemonitor.c:
485 * gunixvolumemonitor.c:
487 Find plugins using the static prio+name to
488 avoid unnecessarily loading the modules.
490 2007-12-19 Alexander Larsson <alexl@redhat.com>
495 2007-12-19 Alexander Larsson <alexl@redhat.com>
497 * gunionvolumemonitor.c:
498 Store the native type as GType, not class so that
499 we can unload it. But still avoid unnecessarily
502 2007-12-19 David Zeuthen <davidz@redhat.com>
504 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
505 add signals 'disconnected' and 'eject-button' on GDrive. Add
506 signal 'removed' on GVolume and 'unmounted' on GMount.
508 * gdrive.c: (g_drive_base_init):
510 * gfile.c: (g_file_mount_mountable),
511 (g_file_mount_enclosing_volume):
514 * gmount.c: (g_mount_base_init):
516 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
517 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
518 * gvolume.c: (g_volume_base_init), (g_volume_mount):
522 2007-12-17 Matthias Clasen <mclasen@redhat.com>
524 * *.c: Fix up includes in the section docs.
526 2007-12-17 Alexander Larsson <alexl@redhat.com>
528 * gnativevolumemonitor.h:
529 * gunionvolumemonitor.c:
530 * gunixvolumemonitor.c:
531 Add is_supported() to GNativeVolumeMonitorClass so
532 that we can avoid having to create an object to see
533 if the backend is supported at runtime.
534 Also add name member and an env var to pick a specific
535 volume monitor backend.
539 Add cancellable to _g_mount_get_for_mount_path()
541 * glocaldirectorymonitor.c:
542 * glocalfilemonitor.c:
543 Avoid loading and unloading modules while sorting.
545 2007-12-17 Matthias Clasen <mclasen@redhat.com>
548 * gunixmounts.[hc]: Namespace waste reduction, move some
549 g_get_unix_mount functions to the g_unix_mount namespace.
552 * gunixvolumemonitor.c:
554 * glocaldirectorymonitor.c: Update all callers.
556 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
558 2007-12-17 Alexander Larsson <alexl@redhat.com>
561 Add doc comments about what GFile operations are
562 guaranteed to not block.
564 2007-12-17 Alexander Larsson <alexl@redhat.com>
567 Add missing #ifdef fixing OSX build.
568 (#503334, patch from Richard Hult)
570 2007-12-14 David Zeuthen <davidz@redhat.com>
574 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
575 (g_mount_eject), (g_mount_eject_finish):
577 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
578 (get_volume_for_uuid), (get_mount_for_uuid),
579 (g_union_volume_monitor_class_init),
580 (get_default_native_type_with_exclude), (get_default_native_type),
581 (get_native_type), (update_native_type),
582 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
583 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
584 (g_unix_mount_can_eject), (eject_unmount_cb),
585 (eject_unmount_read_error), (eject_unmount_do),
586 (g_unix_mount_unmount), (g_unix_mount_eject),
587 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
588 * gunixmounts.c: (g_unix_mount_guess_can_eject),
589 (g_unix_mount_point_guess_can_eject):
591 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
592 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
593 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
594 (g_unix_volume_mount), (g_unix_volume_eject),
595 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
596 * gunixvolumemonitor.c: (get_volume_for_uuid),
597 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
599 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
600 (g_volume_eject), (g_volume_eject_finish):
602 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
603 (g_volume_monitor_get_mount_for_uuid):
606 Provide eject() on both GMount and GVolume and utility functions
607 to guess whether a GUnixMountPoint or GUnixMountEntry should be
608 ejected. Introduce the concept of UUID's and wire it into GVolume
609 and GMount and provide API on GVolumeMonitor to find such
610 instances. Also handle the case where an external
611 GNativeVolumeMonitor fails to initialize. Lock around the
612 _g_get_mount_for_mount_path() function such that volume monitor
613 implementations won't have to do locking themselves.
615 2007-12-17 Matthias Clasen <mclasen@redhat.com>
623 * gvolume.h: Documentation updates
625 2007-12-14 Matthias Clasen <mclasen@redhat.com>
628 * gfile.h: Doc updates
630 2007-12-14 Matthias Clasen <mclasen@redhat.com>
633 * gdesktopappinfo.c: Use hash table iterators.
635 2007-12-14 Alexander Larsson <alexl@redhat.com>
638 * gfileattribute.[ch]:
639 * gfileattribute-priv.h:
640 Move GFileAttributeValue to a private header, as
644 Make set_attribute take a type + a pointer instead
645 of a GFileAttributeValue.
648 Fix up for above changes.
649 Add g_file_info_get_attribute_data to get
650 all info in one call, g_file_info_get_attribute_status
651 to get the status and g_file_info_get_attribute_as_string.
655 * glocalfileinfo.[ch]:
659 Make _guess_type static.
661 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
664 * inotify/Makefile.am: Fixed build when srcdir != builddir,
665 made mkenums and friends use temporary files to avoid leaving
666 empty generated files on failure (#503470).
668 2007-12-14 Alexander Larsson <alexl@redhat.com>
673 2007-12-14 Alexander Larsson <alexl@redhat.com>
677 * gfileattribute.[ch]:
680 * glocalfileoutputstream.c:
681 * gmountoperation.[ch]:
682 * goutputstream.[ch]:
683 Clean up all flags enums to not have _FLAGS in them
684 Make the names of some of the enums better.
689 2007-12-14 Michael Natterer <mitch@imendio.com>
691 * gio.symbols: fix g_io_scheduler symbol names.
693 2007-12-14 Alexander Larsson <alexl@redhat.com>
699 * gbufferedinputstream.h:
700 * gbufferedoutputstream.h:
703 * gdatainputstream.h:
704 * gdataoutputstream.h:
706 * gdirectorymonitor.h:
713 * gfileinputstream.h:
715 * gfilenamecompleter.h:
716 * gfileoutputstream.h:
717 * gfilterinputstream.h:
718 * gfilteroutputstream.h:
726 * gmemoryinputstream.h:
727 * gmemoryoutputstream.h:
732 * gsimpleasyncresult.h:
734 * gunixinputstream.h:
736 * gunixoutputstream.h:
740 * inotify/Makefile.am:
741 Only allow including <gio/gio.h> from apps
743 2007-12-14 Alexander Larsson <alexl@redhat.com>
746 * gsimpleasyncresult.c:
747 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
748 Split out the send_to_mainloop call into two versions instead
749 of having the block argument.
751 2007-12-13 Alexander Larsson <alexl@redhat.com>
755 * gbufferedinputstream.c:
757 * gfileinputstream.c:
758 * gfileoutputstream.c:
762 g_push/pop_current_cancellable ->
763 g_cancellable_push/pop_current
765 2007-12-13 Alexander Larsson <alexl@redhat.com>
769 Rename g_mount_for_location to g_file_mount_enclosing_volume.
771 2007-12-13 Alexander Larsson <alexl@redhat.com>
774 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
776 2007-12-12 Alexander Larsson <alexl@redhat.com>
779 Fix race condition when freeing proxy in
780 g_io_job_send_to_mainloop().
782 2007-12-12 Alexander Larsson <alexl@redhat.com>
788 Make attribute namespace separator "::" instead of ":".
789 Use - instead of _ as separator in attribute names.
791 2007-12-12 Alexander Larsson <alexl@redhat.com>
793 * gbufferedinputstream.h:
794 * gbufferedoutputstream.h:
795 * gdatainputstream.h:
796 * gdataoutputstream.h:
797 * gdirectorymonitor.h:
799 * gfileinputstream.h:
801 * gfileoutputstream.h:
802 * gfilterinputstream.h:
803 * gfilteroutputstream.h:
805 * glocalfileinputstream.h:
806 * glocalfileoutputstream.h:
807 * gmemoryinputstream.h:
808 * gmemoryoutputstream.h:
809 * gnativevolumemonitor.h:
811 * gunixinputstream.h:
812 * gunixoutputstream.h:
815 s/parent/parent_instance/ in GObjects
817 2007-12-12 Alexander Larsson <alexl@redhat.com>
822 No need for padding for interfaces
824 2007-12-12 Alexander Larsson <alexl@redhat.com>
828 * gbufferedinputstream.c:
829 * gbufferedoutputstream.c:
832 * gdatainputstream.[ch]:
834 * gdirectorymonitor.c:
836 * gfileattribute.[ch]:
839 * gfileinputstream.h:
841 * gfileoutputstream.[ch]:
842 * gfilterinputstream.h:
843 * gfilteroutputstream.h:
846 * gloadableicon.[ch]:
847 * gmemoryinputstream.c:
850 Fix up a bunch of details in the docs.
855 2007-12-11 David Zeuthen <davidz@redhat.com>
857 Rework how volumes, drives and volume monitoring is
858 done. Previosly the model was
862 where a GDrive instance represented a mount point and a GVolume
863 instance represented a mounted file system. This patch changes it
866 GDrive <1-N> GVolume <1-1> GMount
868 where GMount now serves the purpose of the old GVolume and the new
869 GVolume serves the purpose of the old GDrive. In addition the new
870 GDrive interface is used to represent a collection of GVolume
871 instances (typically partitions) and also contains utility to query
872 the state of the physical drive the GDrive object represents (such
873 as checking for media, polling the drive, ejecting the media etc.).
875 Also implement mounting and unmounting in the Unix volume monitor
876 backend. A subquent patch will introduce GDrive support for ejection
880 * gdrive.c: (g_drive_is_media_check_automatic),
881 (g_drive_is_media_removable), (g_drive_has_media),
882 (g_drive_can_poll_for_media), (g_drive_eject),
883 (g_drive_eject_finish), (g_drive_poll_for_media),
884 (g_drive_poll_for_media_finish):
886 * gfile.c: (g_file_find_enclosing_mount):
889 * glocaldirectorymonitor.c:
890 (g_local_directory_monitor_constructor), (mounts_changed):
891 * glocalfile.c: (get_mount_info),
892 (g_local_file_find_enclosing_mount),
893 (g_local_file_file_iface_init):
894 * gnativevolumemonitor.h:
895 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
896 (get_connected_drives), (g_union_volume_monitor_class_init),
897 (child_volume_added), (child_volume_removed),
898 (child_volume_changed), (child_mount_added), (child_mount_removed),
899 (child_mount_pre_unmount), (child_mount_changed),
900 (child_drive_changed), (g_union_volume_monitor_add_monitor),
901 (g_union_volume_monitor_remove_monitor),
902 (_g_mount_get_for_mount_path):
903 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
904 (guess_system_internal), (_g_get_unix_mounts),
905 (_g_get_unix_mount_points), (g_get_unix_mount_at),
906 (g_unix_mount_free), (g_unix_mount_compare),
907 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
908 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
909 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
910 (type_to_icon), (g_unix_mount_guess_name),
911 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
912 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
913 (_resolve_symlink), (_resolve_dev_root):
915 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
916 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
917 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
918 (g_unix_volume_get_name), (g_unix_volume_can_mount),
919 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
920 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
921 (g_unix_volume_mount), (g_unix_volume_mount_finish),
922 (g_unix_volume_volume_iface_init):
924 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
925 (get_mounts), (get_volumes), (get_connected_drives),
926 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
927 (mountpoints_changed), (mounts_changed),
928 (g_unix_volume_monitor_init),
929 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
930 (find_mount_by_mountpath), (update_volumes), (update_mounts):
931 * gunixvolumemonitor.h:
932 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
933 (g_volume_mount), (g_volume_mount_finish):
935 * gvolumemonitor.c: (g_volume_monitor_class_init),
936 (g_volume_monitor_get_connected_drives),
937 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
940 2007-12-10 Matthias Clasen <mclasen@redhat.com>
942 * gmountoperation.h (GPasswordFlags): Close the gap
944 2007-12-10 Matthias Clasen <mclasen@redhat.com>
946 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
948 * gdesktopappinfo.[hc]: Remove _-prefixes
950 2007-12-10 Tor Lillqvist <tml@novell.com>
952 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
955 2007-12-10 Alexander Larsson <alexl@redhat.com>
957 * gfile.c (g_file_set_display_name):
958 Don't hardcode '/' (#502727)
960 2007-12-09 Hans Breuer <hans@breuer.org>
962 * makefile.msc : follow lib naming convention
963 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
964 for user and group name, tested with ../tests/gio-ls
966 2007-12-09 A. Walton <awalton@svn.gnome.org>
979 * gmemoryinputstream.c:
980 * gmemoryoutputstream.c:
982 * gsimpleasyncresult.c:
983 More documentation cleanup and filling in missing information, bringing
984 GIO to 99% symbol coverage.
986 2007-12-08 Hans Breuer <hans@breuer.org>
988 [gio compiles and links on win32, not sure how much already works]
989 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
990 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
991 base on win32 API; prefer g_lstat() over lstat(); instead of
992 localtime_r() use an all GLib implementation on win32;
993 get_mount_info() still needs a win32 specifc implementation
994 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
995 win32_get_file_user_info to get owner/group info without uid/gid
996 * glocalfileinputstream.c : include <io.h> on win32
997 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
998 definition, use g_win32_ftruncate() for G_OS_WIN32
999 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1000 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1001 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1002 * makefile.msc : updated
1004 2007-12-07 Alexander Larsson <alexl@redhat.com>
1006 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1007 Avoid warning spew if error == NULL
1009 2007-12-07 Alexander Larsson <alexl@redhat.com>
1012 Update docs wrt etags
1014 2007-12-06 Alexander Larsson <alexl@redhat.com>
1017 Include sys/types.h for dev_t (#501919)
1019 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1023 Make abicheck and pltcheck pass.
1025 2007-12-05 Alexander Larsson <alexl@redhat.com>
1028 * giomodule-priv.h: Added.
1029 * glocaldirectorymonitor.c:
1030 * glocalfilemonitor.c:
1031 * gunionvolumemonitor.c:
1033 Actually add the declaration of _g_io_modules_ensure_loaded
1035 2007-12-05 Alexander Larsson <alexl@redhat.com>
1037 * gdatainputstream.c:
1042 * glocaldirectorymonitor.c:
1043 * glocalfilemonitor.c:
1044 * gunionvolumemonitor.c:
1046 Make g_io_modules_ensure_loaded a private function and
1047 don't pass in the dirname. This means we can do magic
1048 directory finding in the win32 version.
1049 Export the actual load-modules-in-directory code so that
1050 gvfs can reuse that.
1052 2007-12-05 Alexander Larsson <alexl@redhat.com>
1054 * gbufferedinputstream.c:
1055 * gbufferedoutputstream.c:
1058 * gfileenumerator.[ch]:
1059 * gfileinputstream.c:
1060 * gfileoutputstream.[ch]:
1061 * gfilterinputstream.c:
1062 * gfilteroutputstream.c:
1063 * ginputstream.[ch]:
1065 * glocalfileenumerator.c:
1066 * glocalfileinputstream.c:
1067 * glocalfileoutputstream.c:
1068 * gmemoryinputstream.c:
1069 * gmemoryoutputstream.c:
1070 * goutputstream.[ch]:
1073 * gunixinputstream.c:
1074 * gunixoutputstream.c:
1075 Rename all struct members named:
1076 read, write, close, truncate, or mount
1077 to foo_fn, as these are reserved names
1078 and could be defined as macros in libc.
1081 2007-12-04 Alexander Larsson <alexl@redhat.com>
1084 (g_output_stream_close):
1085 Only call flush if non-null.
1087 2007-11-30 Dan Winship <danw@gnome.org>
1089 * ginputstream.c (g_input_stream_set_pending): Make this take a
1090 GError and return a gboolean, and do the "outstanding operation"
1091 check (and the "stream is already closed" check) itself.
1092 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1094 * goutputstream.c (g_output_stream_set_pending)
1095 (g_output_stream_clear_pending): Likewise
1097 * gbufferedinputstream.c:
1098 * gfileinputstream.c:
1099 * gfileoutputstream.c: Update for that
1101 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1102 Like g_simple_async_report_error_in_idle, but takes a GError
1103 rather than building one.
1105 2007-11-30 Dan Winship <danw@gnome.org>
1107 * goutputstream.c: Don't cheat and unset the "pending" flag around
1108 inner calls. Instead, call the class method directly rather than
1109 the wrapper function that checks "pending"
1111 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1113 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1115 2007-12-03 Hans Breuer <hans@breuer.org>
1117 [start of port to win32/msvc]
1118 * gcancellable.c : HAVE_UNIST_H and _pipe()
1119 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1120 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1121 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1123 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1124 * glocalvfs.c : use HAVE_PWD_H
1125 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1126 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1127 * Makefile.am : added to EXTRA_DIST
1129 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1131 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1134 2007-12-03 Alexander Larsson <alexl@redhat.com>
1137 Handle OSX style xattrs API (#500506)
1139 2007-12-03 Alexander Larsson <alexl@redhat.com>
1143 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1145 2007-12-02 A. Walton <awalton@svn.gnome.org>
1149 Documentation accuracy fixes.
1151 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1153 * gioenumtypes.c.template: Fix typo.
1155 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1157 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1159 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1161 * gdirectorymonitor.c:
1162 * gfilemonitor.c: Add properties
1164 * gbufferedoutputstream.c: Don't mark buffer-size property
1167 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1169 * gbufferedoutputstream.c: Add auto-grow property.
1171 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1173 * *.c: Unify the capitalization of section headings.
1175 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1177 * gmountoperation.c: Add properties
1179 * gdatainputstream.c: Turn byte-order and newline-type into
1182 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1184 * gioenumtypes.[hc].template: Templates for enum registration
1186 * Makefile.am: Generate gioenumtypes.[hc]
1188 * gio.h: Include gioenumtypes.h
1190 * gfile.h: Add some explicit nicks.
1192 * gio.symbols: Add new symbols
1194 * pltcheck.sh: Adjust
1196 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1198 * *.c: Explain etags and link to the explanation
1200 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1202 * *.c: Explain I/O priority.
1204 * *.c: More coding style fixes.
1206 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1208 * gasyncresult.c: Add another paragraph to the intro,
1209 adjust coding style of example.
1211 2007-11-29 A. Walton <awalton@svn.gnome.org>
1214 Fixes unknown meaning in GAppLaunchContext docs.
1216 Clarify asynchronous ops.
1218 Fix entity tag docs.
1221 Provides missing gtk-doc section, fixes API docs slighly.
1222 * gsimpleasyncresult.c:
1223 Fill in missing info in docs.
1224 * gunixinputstream.c:
1225 * gunixoutputstream.c:
1226 Be more expressive in short description.
1228 Remove gtk-doc stubs for non-public API.
1230 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1232 * *.c: Coding style fixups
1234 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1236 * inotify/inotify-helper.c: Don't export the lock from libgio.
1238 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1241 * abicheck.sh: Fix copy-and-paste leftovers
1243 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1245 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1247 2007-11-28 Alexander Larsson <alexl@redhat.com>
1251 Removed unnecessary file
1253 * gdesktopappinfo.[ch]:
1256 * glocaldirectorymonitor.[ch]:
1258 * glocalfileenumerator.[ch]:
1259 * glocalfileinputstream.[ch]:
1260 * glocalfilemonitor.[ch]:
1261 * glocalfileoutputstream.[ch]:
1263 * gnativevolumemonitor.c:
1264 * gpollfilemonitor.[ch]:
1265 * gunionvolumemonitor.[ch]:
1268 * gunixvolumemonitor.[ch]:
1271 * inotify/ginotifydirectorymonitor.[ch]:
1272 * inotify/ginotifyfilemonitor.[ch]:
1273 * inotify/inotify-helper.c:
1274 Append _ to all internal functions
1278 Export symbols needed for modules
1280 2007-11-28 Alexander Larsson <alexl@redhat.com>
1283 * abicheck.sh: Added.
1284 * makegioalias.pl: Added.
1285 * pltcheck.sh: Added.
1286 * gio.symbols: Added.
1289 Initial work on adding symbol handling.
1292 Correct ifdef guard name
1295 * inotify/Makefile.am:
1296 * xdgmime/Makefile.am:
1297 Include toplevel Makefile.decl
1299 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1301 * gcontenttype.c: Move doc comments to the unix section.
1303 * *.[hc]: More trivial doc corrections.
1305 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1307 * gpollfilemonitor.c:
1311 * gdesktopappinfo.c:
1316 * gdatainputstream.c:
1317 * gdatainputstream.h:
1318 * gdataoutputstream.c:
1319 * gdataoutputstream.h:
1320 * gfileinfo.h: Doc cleanups
1322 2007-11-28 Andre Klapper <a9016009@gmx.de>
1324 * gdesktopappinfo.c: Fix a typo.
1326 2007-11-27 Andre Klapper <a9016009@gmx.de>
1328 * glocalfileoutputstream.c: Fix a typo.
1330 2007-11-27 Alexander Larsson <alexl@redhat.com>
1333 Don't include removed headers
1335 2007-11-27 Alexander Larsson <alexl@redhat.com>
1338 * gsocketinputstream.[ch]: Removed.
1339 * gsocketoutputstream.[ch]: Removed.
1340 * gunixinputstream.[ch]: Added.
1341 * gunixoutputstream.[ch]: Added.
1342 Renamed GSocket*Stream to GUnix*Stream and made
1343 it unix-only, since its not really only for sockets
1344 and it only works on unix (but is highly useful there).
1346 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1352 * gbufferedinputstream.c:
1353 * gbufferedinputstream.h:
1354 * gbufferedoutputstream.c:
1355 * gbufferedoutputstream.h:
1359 * gdatainputstream.c:
1360 * gdatainputstream.h:
1361 * gdataoutputstream.c:
1362 * gdataoutputstream.h:
1363 * gdirectorymonitor.c:
1364 * gdirectorymonitor.h:
1371 * gfileenumerator.c:
1372 * gfileenumerator.h:
1377 * gfileinputstream.c:
1378 * gfileinputstream.h:
1381 * gfilenamecompleter.c:
1382 * gfilenamecompleter.h:
1383 * gfileoutputstream.c:
1384 * gfileoutputstream.h:
1385 * gfilterinputstream.c:
1386 * gfilterinputstream.h:
1387 * gfilteroutputstream.c:
1388 * gfilteroutputstream.h:
1401 * glocalfileoutputstream.c:
1402 * gmemoryinputstream.c:
1403 * gmemoryinputstream.h:
1404 * gmemoryoutputstream.c:
1405 * gmemoryoutputstream.h:
1406 * gmountoperation.c:
1407 * gmountoperation.h:
1410 * gpollfilemonitor.c:
1413 * gsimpleasyncresult.c:
1414 * gsimpleasyncresult.h:
1415 * gsocketinputstream.c:
1416 * gsocketinputstream.h:
1417 * gsocketoutputstream.c:
1418 * gsocketoutputstream.h:
1425 * gunixvolumemonitor.c:
1434 Bumps documentation to 93% symbol coverage, touching most
1435 of the public files. Fixes broken function documentation prototypes.
1436 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1437 gtk-doc headers in private files.
1439 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1441 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1442 (g_buffered_input_stream_read_byte):
1443 * gbufferedinputstream.h:
1444 New functions for efficient access to buffer and simple single byte
1447 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1448 (g_data_input_stream_read_until):
1449 * gdatainputstream.h:
1450 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1451 read_until with multiple stop chars.
1453 2007-11-27 Alexander Larsson <alexl@redhat.com>
1457 * inotify/Makefile.am:
1458 Use the user-specified giomoduledir
1460 2007-11-27 Alexander Larsson <alexl@redhat.com>
1464 Add catch-all gio.h header
1465 Don't install gdummyfile.h
1467 2007-11-26 Alexander Larsson <alexl@redhat.com>
1469 * Makefile.am (gioinclude_HEADERS):
1470 Remove trailing whitespace
1472 2007-11-26 Alexander Larsson <alexl@redhat.com>
1474 Merge gio-standalone into glib
1476 2007-11-25 Christian Kellner <gicmo@gnome.org>
1478 * gio/goutputstream.c:
1479 Fix small mistake in the docs.
1481 2007-11-21 Christian Persch <chpe@gnome.org>
1483 * gio/glocalfile.c: (g_local_file_trash):
1484 Convert filenames to UTF-8 for GError.
1485 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1486 as per xdg base dir spec.
1488 2007-11-21 Christian Persch <chpe@gnome.org>
1490 * gio/gdesktopappinfo.c:
1491 Use that g_key_file_to_data cannot fail.
1493 Use stock defines for the key file group and key names.
1496 2007-11-21 Alexander Larsson <alexl@redhat.com>
1499 (copy_stream_with_progress):
1500 Make sure we do a final progress callback with
1501 the full total size.
1503 2007-11-21 Alexander Larsson <alexl@redhat.com>
1506 Export g_file_copy_attributes
1507 Remove padding as its not needed for interfaces
1509 2007-11-20 Alexander Larsson <alexl@redhat.com>
1514 Add G_IO_ERROR_WOULD_MERGE for
1515 copy/move dir on dir with overwrite.
1517 2007-11-20 Alexander Larsson <alexl@redhat.com>
1520 * gio/glocalfileinfo.c:
1521 Add COPY_NAME (this is an optional
1522 non-modified utf8 version of the name) that
1525 2007-11-20 Alexander Larsson <alexl@redhat.com>
1527 * gio/glocalfileenumerator.c:
1528 Report errors as GIOError, not GFileError
1530 2007-11-16 Alexander Larsson <alexl@redhat.com>
1532 * gio/glocalfileoutputstream.c:
1533 * gio/gwin32appinfo.c:
1534 Fix typos in strings.
1535 Patch from Luca Ferretti <elle.uca@libero.it>
1537 2007-11-15 Alexander Larsson <alexl@redhat.com>
1540 Post release version bump
1542 === gio-standalone 0.1.2 ===
1544 2007-11-15 Alexander Larsson <alexl@redhat.com>
1546 * docs/reference/gio/Makefile.am:
1547 Fix up distcheck by removing weird
1553 2007-11-14 Alexander Larsson <alexl@redhat.com>
1555 * gio/gdesktopappinfo.c:
1556 * gio/glocaldirectorymonitor.c:
1558 * gio/glocalfileinfo.c:
1559 * gio/inotify/inotify-sub.c:
1560 * programs/gio-cat.c:
1561 * programs/gio-copy.c:
1562 * programs/gio-info.c:
1563 * programs/gio-ls.c:
1564 * programs/gio-monitor-dir.c:
1565 * programs/gio-monitor-file.c:
1566 * programs/gio-mount.c:
1567 * programs/gio-move.c:
1568 * programs/gio-rm.c:
1569 * programs/gio-save.c:
1570 * programs/gio-trash.c:
1571 Leak fixes from Kjartan Maraas
1573 2007-11-14 Alexander Larsson <alexl@redhat.com>
1575 * gio/fam/fam-helper.c:
1577 * gio/glocalfileinfo.c:
1581 * gio/inotify/inotify-diag.c:
1582 * gio/inotify/inotify-kernel.c:
1583 Various code cleanups from Kjartan Maraas
1585 2007-11-14 Alexander Larsson <alexl@redhat.com>
1587 * gio/gioscheduler.c:
1589 Set up threadpool so that we cache 2 unused
1590 idle threads for at 15 secs. This means we
1591 will reuse thread-local data (like dbus connections)
1594 2007-11-14 Alexander Larsson <alexl@redhat.com>
1596 * gio/fam/fam-helper.c:
1597 * gio/fam/gfamdirectorymonitor.c:
1598 * gio/fam/gfamfilemonitor.c:
1600 * gio/gcontenttype.c:
1601 * gio/gdatainputstream.c:
1602 * gio/gdataoutputstream.c:
1606 * gio/gfileattribute.h:
1607 * gio/gfileenumerator.c:
1609 * gio/ginputstream.c:
1612 * gio/glocalfileinfo.c:
1613 * gio/goutputstream.c:
1614 * gio/gpollfilemonitor.c:
1615 * gio/gsimpleasyncresult.c:
1616 * gio/gunixmounts.c:
1617 * gio/gunixmounts.h:
1618 * gio/inotify/ginotifydirectorymonitor.c:
1619 * gio/inotify/ginotifyfilemonitor.c:
1620 * gio/inotify/inotify-diag.c:
1621 * gio/inotify/inotify-kernel.c:
1622 * gio/inotify/inotify-path.c:
1624 * gio/test-streams.c:
1625 * programs/gio-info.c:
1626 * programs/gio-monitor-dir.c:
1627 * programs/gio-monitor-file.c:
1628 Various code cleanups from Kjartan Maraas
1630 2007-11-13 Alexander Larsson <alexl@redhat.com>
1633 Handle the uri-scheme calls for dummy files
1635 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1637 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1638 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1639 to avoid clash with the C++ keyword.
1641 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1643 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1644 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1646 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1648 * gio/glocaldirectorymonitor.c:
1649 * gio/glocalfilemonitor.c:
1650 * gio/gunionvolumemonitor.c:
1651 Don't use g_once_init_*() for initializations that could fail and
1652 could leave the initialization variable set to 0 but use GOnce.
1653 This prevents a deadlock on the second call when trying to create
1654 a monitor and no monitor type is available. Thanks to Sven Herzberg
1657 2007-11-11 Sven Herzberg <sven@imendio.com>
1659 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1660 #ifdef (make it work on MacOS X again)
1662 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1664 Fixes Changelog for last two commits (sorry guys).
1666 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1668 * gio/gbufferedinputstream.c:
1669 * gio/gdatainputstream.c:
1671 * gio/gfileoutputstream.c:
1672 * gio/gfilterinputstream.c:
1673 * gio/glocalfileinputstream.c:
1676 More consistency fixes in g*stream.c files.
1677 Significant clean of gfile's documentation, filling in of
1678 asynchronous operations documentation.
1680 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1682 * gio/gasyncresult.c:
1683 * gio/gbufferedinputstream.c:
1684 * gio/gbufferedoutputstream.c:
1685 * gio/gcancellable.c:
1686 * gio/gcontenttype.c:
1687 * gio/gdatainputstream.c:
1688 * gio/gdataoutputstream.c:
1689 * gio/gdesktopappinfo.c:
1692 * gio/gfileattribute.c:
1693 * gio/gio/gfileenumerator.c:
1695 * gio/gfileinputstream.c:
1696 * gio/gfilemonitor.c:
1697 * gio/gfileoutputstream.c:
1698 * gio/ginputstream.c:
1700 * gio/gioscheduler.c:
1701 * gio/gloadableicon.c:
1702 * gio/glocalfileoutputstream.c:
1703 * gio/gmemoryoutputstream.c:
1704 * gio/gmountoperation.c:
1705 * gio/goutputstream.c:
1707 * gio/gsimpleasyncresult.c:
1708 * gio/gunionvolumemonitor.c:
1709 * gio/gunixmounts.c:
1710 * gio/gunixvolume.c:
1714 * gio/gvolumemonitor.c:
1715 Updated documentation stubs, working towards consistency and
1718 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1720 * gio/gmemoryoutputstream.c:
1721 * gio/gmemoryoutputstream.h:
1722 Change g_memory_output_stream_set_free_on_close() to
1723 g_memory_output_stream_set_free_data() as this makes more sense and
1724 is more consistent with GMemoryInputStream.
1726 2007-11-07 Alexander Larsson <alexl@redhat.com>
1733 Change how we find the default vfs so that
1734 we can handle a gvfs failing to init
1736 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1738 * gio/gbufferedoutputstream.c:
1739 * gio/gdatainputstream.c:
1740 * gio/gdataoutputstream.c:
1741 * gio/gfileinputstream.c:
1742 * gio/gfileoutputstream.c:
1743 * gio/gfilterinputstream.c:
1744 * gio/gfilteroutputstream.c:
1745 * gio/ginputstream.c:
1746 * gio/gmemoryinputstream.c:
1747 * gio/gmemoryoutputstream.c:
1748 * gio/goutputstream.c:
1749 * gio/gsimpleasyncresult.c:
1750 * gio/gsocketinputstream.c:
1751 * gio/gsocketoutputstream.c:
1752 Add guards to the remaining public functions, add a TODO for
1753 an unimplemented function and remove some useless guards.
1755 2007-11-07 Alexander Larsson <alexl@redhat.com>
1758 Autoconf checks for the various types of
1759 getpwuid_r and getgrgid_r
1761 * gio/glocalfileinfo.c:
1762 Use the autoconf checks from above
1764 2007-11-07 Alexander Larsson <alexl@redhat.com>
1767 (g_local_file_query_filesystem_info):
1768 Some fixes for the statvfs case
1770 2007-11-07 Alexander Larsson <alexl@redhat.com>
1773 (g_local_file_query_filesystem_info):
1774 Pick the "best" of statfs / statvfs for the system
1775 if both are availible.
1777 2007-11-07 Alexander Larsson <alexl@redhat.com>
1779 Solaris fixes from Halton.Huo@Sun.COM:
1786 * gio/glocalfileinfo.c:
1787 Fix for solaris definition of getpwuid_r
1789 * gio/test-streams.c:
1790 Use G_GNUC_PRETTY_FUNCTION
1792 2007-11-07 Alexander Larsson <alexl@redhat.com>
1794 * gio/gdesktopappinfo.c:
1795 (update_default_list):
1796 Remove double semicolon.
1797 Patch from Jens Granseuer
1799 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1801 * docs/reference/gio/gio-sections.txt:
1802 * gio/gbufferedinputstream.c:
1803 * gio/gbufferedinputstream.h:
1804 * gio/gdatainputstream.c:
1805 * gio/gfileenumerator.c:
1806 * gio/gioscheduler.c:
1807 * gio/gunionvolumemonitor.c:
1809 * programs/gio-save.c:
1810 Fix typo: availible -> available. Unfortuntely this breaks API
1811 and ABI as g_buffered_input_stream_get_available() was renamed.
1813 * gio/gunixmounts.c:
1814 * gio/gbufferedinputstream.c:
1815 Add guards for public functions.
1817 2007-11-06 Ross Burton <ross@openedhand.com>
1819 * docs/reference/gio/Makefile.am:
1820 Fix invalid += usage which automake 1.10 doesn't like.
1822 2007-11-06 Alexander Larsson <alexl@redhat.com>
1825 (g_app_launch_context_class_init):
1828 Patch from Ross Burton
1830 2007-11-06 Alexander Larsson <alexl@redhat.com>
1833 Post release version bump
1835 === gio-standalone 0.1.1 ===
1837 2007-11-06 Alexander Larsson <alexl@redhat.com>
1840 Bump version to 0.1.1
1842 * gio/gsimpleasyncresult.c:
1843 (g_simple_async_result_set_from_error):
1844 Remove bogus g_return_if_fail
1846 2007-11-06 Alexander Larsson <alexl@redhat.com>
1849 The name is gio-standalone
1852 Add top src/builddir to includedir
1854 2007-11-06 Alexander Larsson <alexl@redhat.com>
1856 * docs/reference/gio/gio-sections.txt:
1858 * gio/gbufferedinputstream.c:
1859 * gio/gbufferedoutputstream.c:
1860 * gio/gcancellable.c:
1861 * gio/gdatainputstream.h:
1862 * gio/gdataoutputstream.c:
1863 * gio/gdataoutputstream.h:
1864 * gio/gdirectorymonitor.c:
1866 * gio/gfileattribute.c:
1867 * gio/gfileattribute.h:
1868 * gio/gfileenumerator.c:
1869 * gio/gfileenumerator.h:
1872 * gio/gfileinputstream.h:
1873 * gio/gfilemonitor.c:
1874 * gio/gfileoutputstream.h:
1875 * gio/glocalfilemonitor.h:
1876 * gio/glocalfileoutputstream.h:
1877 * gio/gmemoryinputstream.c:
1878 * gio/gmemoryoutputstream.c:
1879 * gio/gmountoperation.c:
1880 * gio/goutputstream.c:
1881 * gio/goutputstream.h:
1883 * gio/gsimpleasyncresult.c:
1884 * gio/gunixmounts.c:
1885 * gio/gunixmounts.h:
1887 * gio/inotify/inotify-helper.c:
1888 Fix gtk-doc warnings
1890 Patch from Ross Burton
1892 2007-11-06 Alexander Larsson <alexl@redhat.com>
1894 * gio/gfilenamecompleter.c:
1895 (g_filename_completer_get_completions):
1898 * gio/gunixvolume.c:
1899 Remove unused function
1901 Patches from Ross Burton
1903 2007-11-06 Alexander Larsson <alexl@redhat.com>
1908 Padding not needed for interfaces
1910 2007-11-06 Alexander Larsson <alexl@redhat.com>
1912 * gio/gfilemonitor.c:
1916 Make giotypes.h an internal file
1919 * gio/gbufferedinputstream.h:
1920 * gio/gbufferedoutputstream.h:
1921 * gio/gcancellable.h:
1922 * gio/gdatainputstream.h:
1923 * gio/gdataoutputstream.h:
1924 * gio/gdirectorymonitor.c:
1925 * gio/gdirectorymonitor.h:
1930 * gio/gfileattribute.h:
1931 * gio/gfileenumerator.h:
1936 * gio/gfilemonitor.c:
1937 * gio/gfilemonitor.h:
1938 * gio/gfilenamecompleter.c:
1939 * gio/gfilenamecompleter.h:
1940 * gio/gfilterinputstream.h:
1941 * gio/gfilteroutputstream.h:
1942 * gio/ginputstream.h:
1943 * gio/gmemoryinputstream.h:
1944 * gio/gmemoryoutputstream.h:
1945 * gio/gmountoperation.c:
1946 * gio/gmountoperation.h:
1947 * gio/gnativevolumemonitor.c:
1948 * gio/goutputstream.h:
1951 * gio/gsimpleasyncresult.c:
1952 * gio/gsimpleasyncresult.h:
1953 * gio/gsocketinputstream.h:
1954 * gio/gsocketoutputstream.h:
1955 * gio/gthemedicon.c:
1956 * gio/gthemedicon.h:
1960 * gio/gvolumemonitor.c:
1961 * gio/gvolumemonitor.h:
1962 Add padding in classes where it seems useful
1963 Don't include giotypes.h from public headers
1964 Move in Class definitions into c file where possible
1969 2007-11-06 Alexander Larsson <alexl@redhat.com>
1971 * docs/reference/gio/gio-docs.xml:
1972 Better structure for API docs
1974 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1977 * gio/gloadableicon.c:
1978 * gio/gsimpleasyncresult.c:
1979 * gio/gthemedicon.c:
1980 Add some more guards to public functions. Only files missing are now
1983 2007-11-06 Alexander Larsson <alexl@redhat.com>
1985 * docs/reference/gio/gio-docs.xml:
1986 Remove old files, add missing ones
1988 2007-11-06 Alexander Larsson <alexl@redhat.com>
1990 * docs/reference/gio/gio-sections.txt:
1993 Hide implementation classes
1995 * gio/gdriveprivate.h:
1996 * gio/gvolumeprivate.h:
1997 Remove non-existing function declarations
1999 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2002 Fix compilation warnings and add guards to the new functions.
2004 * gio/gasyncresult.c:
2006 Add guards to the public functions.
2009 Implement get_path().
2011 2007-11-06 Alexander Larsson <alexl@redhat.com>
2013 * gio/gfilenamecompleter.c:
2014 Make g_filename_completer_get_completions
2015 return char ** instead of GList for
2018 * docs/reference/gio/gio-docs.xml:
2019 * docs/reference/gio/gio-sections.txt:
2021 * gio/gasyncresult.c:
2022 * gio/gbufferedinputstream.c:
2023 * gio/gbufferedoutputstream.c:
2024 * gio/gcancellable.c:
2025 * gio/gcontenttype.c:
2026 * gio/gdatainputstream.c:
2027 * gio/gdataoutputstream.c:
2028 * gio/gdesktopappinfo.c:
2029 * gio/gdirectorymonitor.c:
2033 * gio/gfileattribute.c:
2034 * gio/gfileenumerator.c:
2037 * gio/gfileinputstream.c:
2038 * gio/gfilemonitor.c:
2039 * gio/gfilenamecompleter.c:
2040 * gio/gfilenamecompleter.h:
2041 * gio/gfileoutputstream.c:
2042 * gio/gfilterinputstream.c:
2044 * gio/ginputstream.c:
2046 * gio/gioscheduler.c:
2047 * gio/gloadableicon.c:
2048 * gio/glocaldirectorymonitor.c:
2050 * gio/glocalfileinputstream.c:
2051 * gio/glocalfilemonitor.c:
2052 * gio/glocalfileoutputstream.c:
2054 * gio/gmemoryinputstream.c:
2055 * gio/gmemoryoutputstream.c:
2056 * gio/gmountoperation.c:
2057 * gio/goutputstream.c:
2058 * gio/gpollfilemonitor.c:
2060 * gio/gsimpleasyncresult.c:
2061 * gio/gsocketinputstream.c:
2062 * gio/gsocketoutputstream.c:
2063 * gio/gthemedicon.c:
2064 * gio/gunionvolumemonitor.c:
2066 * gio/gunixmounts.c:
2067 * gio/gunixvolume.c:
2068 * gio/gunixvolumemonitor.c:
2072 * gio/gvolumemonitor.c:
2073 * gio/gwin32appinfo.c:
2074 Add (mostly stub) doc strings to public functions.
2075 Patch from Andrew Walton (awalton@gmail.com)
2077 2007-11-06 Alexander Larsson <alexl@redhat.com>
2079 * gio/gappinfo.[ch]:
2080 Added GAppLaunchContext object and pass that to launch.
2081 This allows simple implementation of both
2082 launch-on-screen and startup notification via a gtk+
2083 subclass of GAppLaunchContext
2085 * gio/gdesktopappinfo.c:
2086 Implement GAppLaunchContext API
2088 * gio/gwin32appinfo.c:
2091 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2093 * gio/gmountoperation.c:
2094 Add some guards to GMountOperation's public functions.
2096 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2100 * gio/gcancellable.c:
2101 * gio/gdirectorymonitor.c:
2103 * gio/gfileenumerator.c:
2104 * gio/gfilemonitor.c:,
2105 * gio/gfilenamecompleter.c:
2108 * gio/gioscheduler.c:
2112 * gio/gvolumemonitor.c:
2113 Add even more guards to various public functions.
2115 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2118 Add guards to the public functions of GAppInfo.
2120 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2122 * gio/gcontenttype.c:
2123 Add some more guards for public functions.
2125 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2127 * gio/fam/fam-module.c:
2128 * gio/fam/gfamdirectorymonitor.c:
2129 * gio/fam/gfamdirectorymonitor.h:
2130 * gio/fam/gfamfilemonitor.c:
2131 * gio/fam/gfamfilemonitor.h:
2132 * gio/inotify/ginotifydirectorymonitor.c:
2133 * gio/inotify/ginotifydirectorymonitor.h:
2134 * gio/inotify/ginotifyfilemonitor.c:
2135 * gio/inotify/ginotifyfilemonitor.h:
2136 Add proper copyright information and remove an unused variable
2137 in the GInotifyFileMonitor constructor.
2139 * gio/gcancellable.c:
2140 Add a guard for a public function and an assertion to prevent
2141 an undefined program state.
2143 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2145 * gio/gfileattribute.c:
2146 Don't run into an assertion if the given attribute value is NULL
2147 in g_file_attribute_value_get_*() but instead return a fallback
2148 value that makes sense in most situations. Passing them a attribute
2149 value with the wrong type will still run into an assertion.
2151 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2153 * gio/gfileattribute.c:
2155 Add even more guards to the public functions. Also fix the refcounting
2156 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2157 let g_file_info_list_attributes() filter the attributes by namespace
2158 instead of simply ignoring the namespace parameter.
2160 2007-11-03 Sven Herzberg <sven@imendio.com>
2162 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2163 (This makes gio work on MacOS X again)
2165 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2168 Build the gio subdirectory before the docs. Otherwise the build will
2171 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2172 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2173 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2174 Add guards to the public functions.
2176 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2178 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2179 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2180 to prevent a compiler warning.
2182 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2183 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2184 return something in the non-void function find_topdir_for().
2186 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2193 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2195 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2196 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2197 * gwin32appinfo.c (g_win32_app_info_launch):
2198 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2199 envp_for_startup_id, g_desktop_app_info_launch,
2200 g_desktop_app_info_launch_uris):
2202 Give an opaque 'startup_id' string instead of 'envp'.
2203 Support empty file lists for launching new windows.
2204 Fix infinite recursion bug when launching URIs.
2206 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2209 Add guard to the new g_file_get_uri_scheme() function.
2211 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2214 Convert a g_return_val_if_fail() to setting the GError instead as
2215 otherwise applications have to verify the parameter before otherwise
2216 and the parameter might come directly from the user.
2218 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2220 * gio/inotify/ginotify*.[ch]:
2221 Add missing copyright information.
2223 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2226 Add guards in the beginning of public functions to check for valid
2227 parameters and fix a bug in copy_stream_with_progress() that could've
2228 caused writing less bytes than reading.
2229 * gio/glocalfileinfo.c:
2230 Check for a NULL parameter and set the GError accordingly then.
2231 * gio/goutputstream.c:
2232 Fix the same bug as in gfile.c that could've caused writing less bytes
2233 than reading in g_output_stream_real_splice().
2235 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2238 Use the correct gvolumeprivate.h naming
2240 2007-11-01 Christian Kellner <gicmo@gnome.org>
2243 Remove leftover "$(daemon_sources)" entry.
2245 2007-11-01 Christian Kellner <gicmo@gnome.org>
2250 Add copyright information to source files.
2252 2007-11-01 Alexander Larsson <alexl@redhat.com>
2256 Add g_file_get_uri_scheme
2258 2007-11-01 Alexander Larsson <alexl@redhat.com>
2261 * gio/gdesktopappinfo.c:
2262 * gio/gwin32appinfo.c:
2263 Add g_app_info_get_default_for_uri_scheme.
2265 2007-11-01 Alexander Larsson <alexl@redhat.com>
2268 Correct filename for gdriveprivate.h
2270 2007-10-31 Alexander Larsson <alexl@redhat.com>
2273 Rename id:value to id:file
2276 * gio/glocalfileinfo.c:
2279 2007-10-31 Alexander Larsson <alexl@redhat.com>
2281 * gio/gunixvolume.c:
2283 Remove g_volume_get_platform_id, as thats not
2284 needed with the simpler union volume monitor
2286 2007-10-31 Alexander Larsson <alexl@redhat.com>
2289 * gio/guniondrive.[ch]: Removed.
2290 * gio/gunionvolume.[ch]: Removed.
2291 Remove GUnionDrive/Volume
2293 * gio/gunionvolumemonitor.c:
2294 Simplify union volume monitor, now we
2295 only have one native volume monitor and
2296 we use the actual volumes/drives from the
2297 child monitors instead of wrapping them
2299 * gio/gnativevolumemonitor.[ch]:
2300 Base class for native volume monitors.
2301 Includes priority and get_volume_for_mountpoint
2304 Add g_file_find_enclosing_volume
2307 Remove volume name fs attribute
2308 Add readonly fs attribute
2311 Implement readonly attribute
2312 remove volume name attribute
2313 Implement find_enclosing volume
2315 * gio/gunixmounts.c:
2316 Add a volume for "/".
2318 * gio/gunixvolume.[ch]:
2319 Set better name for /
2321 * gio/gunixvolumemonitor.[ch]:
2322 Derive from GNativeVolumeMonitor
2323 Implement get_volume_for_mountpoint
2326 GVolume typedef moved to gfile.h
2328 * gio/gvolumeprivate.h:
2329 Add g_volume_get_for_mount_path
2331 2007-10-31 Alexander Larsson <alexl@redhat.com>
2333 * gio/gunixmounts.[ch]:
2334 Add cache info to unix mount listers
2335 Make getmntent use threadsafe
2336 Add is_system_internal attribute for GUnixMount
2338 * gio/gunixvolume.c:
2339 (g_unix_volume_new):
2340 Use is_system_internal instead of own code
2342 * gio/glocaldirectorymonitor.c:
2343 * gio/gunixvolumemonitor.c:
2344 Update to new gunixmounts API
2349 2007-10-30 Alexander Larsson <alexl@redhat.com>
2352 Add volume name fsinfo attribute
2355 Read volume name info
2357 * gio/gunionvolumemonitor.c:
2358 Fix infinite loops when finalizing a union volume monitor
2360 2007-10-30 Alexander Larsson <alexl@redhat.com>
2362 * gio/goutputstream.[ch]:
2363 Add splice() with default implementation
2365 * gio/gsocketoutputstream.c:
2366 (g_socket_output_stream_write):
2367 Return error on cancellation correctly.
2369 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2371 * gio/glocalfile.c (g_local_file_trash):
2372 Do not leak a string.
2374 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2376 * gio/gfile.c (g_file_load_contents):
2377 Unref the stream after closing it.
2379 2007-10-25 Alexander Larsson <alexl@redhat.com>
2381 * gio/gioscheduler.h:
2384 2007-10-25 Alexander Larsson <alexl@redhat.com>
2388 Add g_file_has_uri_scheme and implement for local files
2390 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2392 * gio/gdesktopappinfo.c: do not leak a string.
2394 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2396 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2397 (g_local_directory_monitor_new):
2398 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2399 (g_local_file_monitor_new):
2400 Only look for the monitor type that should be used the first time
2401 and use g_qsort_with_data() instead of our own bubble sort
2404 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2407 * gio/fam/Makefile.am:
2408 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2409 * gio/fam/fam-helper.h:
2410 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2411 * gio/fam/gfamdirectorymonitor.c:
2412 * gio/fam/gfamdirectorymonitor.h:
2413 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2414 * gio/fam/gfamfilemonitor.h:
2415 * gio/glocaldirectorymonitor.c:
2416 * gio/glocaldirectorymonitor.h:
2417 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2418 * gio/glocalfilemonitor.h:
2419 * gio/inotify/Makefile.am:
2420 * gio/inotify/ginotifydirectorymonitor.c:
2421 * gio/inotify/ginotifydirectorymonitor.h:
2422 * gio/inotify/ginotifyfilemonitor.c:
2423 * gio/inotify/ginotifyfilemonitor.h:
2424 Implement the FAM and Inotify monitors as
2425 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2426 their own GIO module. GLocal(Directory|File)Monitor will use the
2427 monitor with the highest rank that is supported on that machine.
2429 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2432 Change GIO module dir to $(libdir)/gio/modules and change
2433 the log domain from GVFS to GIO. Also only export symbols starting
2434 with g_ in the resulting library.
2435 * gio/test-streams.c: (main):
2436 Set log handler for the GIO log domain.
2438 2007-10-22 Alexander Larsson <alexl@redhat.com>
2440 * gio/gfilenamecompleter.[ch]:
2441 Add g_filename_completer_set_dirs_only
2443 2007-10-22 Alexander Larsson <alexl@redhat.com>
2446 * gio/gurifuncs.[ch]:
2447 Add some simple URI helpers
2449 * gio/gfilenamecompleter.[ch]:
2450 Added object for filename (parse name actually) completion
2453 Handle ~ in parse names
2455 2007-10-17 Alexander Larsson <alexl@redhat.com>
2458 * gio/glocalfileinfo.c:
2459 Add and implement id:value attribute
2461 2007-10-17 Alexander Larsson <alexl@redhat.com>
2464 * gio/guniondrive.c:
2466 Add and implement g_drive_has_volumes
2468 2007-10-17 Alexander Larsson <alexl@redhat.com>
2471 * gio/glocalfileinfo.[ch]:
2472 Add unix:is_mountpoint and implement for local files
2474 2007-10-16 Alexander Larsson <alexl@redhat.com>
2476 * gio/gunionvolumemonitor.c:
2477 (g_union_volume_monitor_init):
2478 Fix up the unix type getting so that it works with gcc
2480 2007-10-12 Alexander Larsson <alexl@redhat.com>
2483 * gio/glocalfileinfo.c:
2484 Add thumbnail:failed to file info
2486 2007-10-12 Richard Hult <richard@imendio.com>
2488 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2489 optimizing away the get_type call (happens with some gcc versions,
2490 like the one shipped with OS X 10.4).
2492 2007-10-12 Alexander Larsson <alexl@redhat.com>
2494 * gio/glocalfileinfo.c:
2495 (_g_local_file_info_set_attribute):
2496 Fix build if not HAVE_XATTR
2497 Patch from Milosz Derezynski <internalerror@gmail.com>
2499 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2501 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2502 around for review, otherwise I would have asked you before
2505 2007-10-11 Alexander Larsson <alexl@redhat.com>
2508 Add thumbnail:path attribute
2510 * gio/glocalfileinfo.c:
2511 Implement thumbnail:path for local files
2513 2007-10-11 Alexander Larsson <alexl@redhat.com>
2515 * gio/glocalfileinfo.c:
2516 (_g_local_file_info_get):
2517 Avoid duplicate icon names
2519 2007-10-11 Alexander Larsson <alexl@redhat.com>
2521 * gio/gthemedicon.[ch]:
2522 Change g_themed_icon_get_names return type to const
2524 2007-10-10 Alexander Larsson <alexl@redhat.com>
2526 * gio/glocalfileinfo.c:
2527 Don't reference freed memory
2529 2007-10-10 Alexander Larsson <alexl@redhat.com>
2531 * gio/gfileattribute.c:
2534 * gio/glocalfileinfo.c:
2537 2007-10-10 Alexander Larsson <alexl@redhat.com>
2540 Check for NULL icons
2542 * gio/gfileattribute.c:
2543 Don't dup when getting objects (same as for string attributes)
2545 * gio/gicon.c (g_icon_equal):
2546 Safely handle NULLs in equal
2548 2007-10-10 Alexander Larsson <alexl@redhat.com>
2551 Fix c++ compilation issues
2552 Patch from Milosz Derezynski <internalerror@gmail.com>
2554 2007-10-10 Alexander Larsson <alexl@redhat.com>
2556 * programs/gio-monitor-dir.c:
2557 Don't crash if dir monitor not supported.
2559 2007-10-09 Alexander Larsson <alexl@redhat.com>
2562 Add missing G_END_DECLS
2564 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2566 * gio/gfile.c: (g_file_set_display_name),
2567 (g_file_query_settable_attributes),
2568 (g_file_query_writable_namespaces):
2569 Return NULL not FALSE on errors as the return type is a pointer.
2571 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2573 * gio/glocalfile.c: (g_local_file_monitor_file):
2574 Don't call monitor_file on the default interface vtable (which
2575 is NULL) but simply return NULL. The caller, GFile, will create a
2576 polling monitor if NULL is returned.
2578 2007-10-09 Alexander Larsson <alexl@redhat.com>
2582 * gio-unix-2.0.pc.in:
2583 Add gio-unix-2.0.pc if OS_UNIX
2586 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2588 2007-10-09 Alexander Larsson <alexl@redhat.com>
2590 * gio/gunixmounts.[ch]:
2591 Make unix mount monitoring API sane.
2592 Now its just a object with mounts_changed
2593 and mountpoints_changed signals.
2595 * gio/glocaldirectorymonitor.c:
2596 * gio/gunixvolumemonitor.c:
2597 Use new mount monitor api
2599 2007-10-09 Alexander Larsson <alexl@redhat.com>
2601 * gio/gunixmounts.[ch]:
2602 Move guess type into one call for mounts and one for mountpoints
2605 * gio/gunixvolume.c:
2608 2007-10-09 Alexander Larsson <alexl@redhat.com>
2610 * gio/gunixmounts.[ch]:
2611 Remove _ prefix in preparation to make this semi-public
2612 Hide implementation of structs
2614 * gio/glocaldirectorymonitor.c:
2616 * gio/gunixvolume.c:
2617 * gio/gunixvolumemonitor.c:
2618 Update for above API changes
2620 2007-10-08 Alexander Larsson <alexl@redhat.com>
2623 Better polling fallback. This also handles the case where we have
2624 a monitor_file implementation, but it fails.
2626 2007-10-08 Alexander Larsson <alexl@redhat.com>
2630 * gio/gunixmounts.c:
2631 * programs/gio-monitor-dir.c:
2632 * programs/gio-monitor-file.c:
2633 Added cancellable to file monitoring calls.
2634 These are really sync calls and need this.
2636 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2638 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2639 (g_local_vfs_class_init):
2640 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2641 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2643 2007-10-05 Alexander Larsson <alexl@redhat.com>
2645 * gio/gdirectorymonitorprivate.h:
2646 * gio/gfilemonitorprivate.h:
2647 * gio/gdirectorymonitor.h:
2648 * gio/gfilemonitor.h:
2649 Remove *private.h and move to the public API, so that
2650 we can do implementations outside gio (such as in gvfs)
2652 * gio/gdirectorymonitor.c:
2653 * gio/gfilemonitor.c:
2654 * gio/glocaldirectorymonitor.c:
2655 * gio/gpollfilemonitor.c:
2656 * gio/inotify/inotify-helper.c:
2657 * gio/fam/fam-helper.c:
2658 Update to the new header names
2660 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2662 * gio/gdirectorymonitor.c:
2663 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2666 2007-10-04 Alexander Larsson <alexl@redhat.com>
2668 * gio/glocalfileinfo.c (get_access_rights):
2669 Set CAN_TRASH when we can move the file.
2670 We should really also check for a parent trash dir.
2672 2007-10-04 Alexander Larsson <alexl@redhat.com>
2674 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2675 Add can_trash access attribute
2677 2007-10-04 Alexander Larsson <alexl@redhat.com>
2680 (g_local_file_trash):
2681 Create info file first. This is per-spec and allows
2682 us to actually trash directories.
2684 2007-10-02 Alexander Larsson <alexl@redhat.com>
2686 * gio/gdesktopappinfo.c:
2687 Implement the new mime support code.
2688 Always set app as handling mimetype when being set as default for it
2690 2007-10-01 Alexander Larsson <alexl@redhat.com>
2692 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2693 Fix up check for xattrs:
2695 2007-10-01 Alexander Larsson <alexl@redhat.com>
2698 (g_app_info_set_as_default_for_extension):
2699 (g_app_info_add_supports_type):
2700 (g_app_info_can_remove_supports_type):
2701 (g_app_info_remove_supports_type):
2702 Make these fail nicely if not implemented
2704 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2706 * gio/glocalfileoutputstream.c:
2707 * gio/glocalfileoutputstream.h:
2712 * programs/gio-save.c:
2713 Add a GFileCreateFlags argument to operations that can create
2716 2007-10-01 Alexander Larsson <alexl@redhat.com>
2718 * gio/gappinfo.[ch]:
2719 * gio/gdesktopappinfo.c:
2720 Add more (stubbed out) mime API needed for nautilus
2722 2007-10-01 Alexander Larsson <alexl@redhat.com>
2725 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2726 Add g_app_info_set_as_default_for_extension.
2728 * gio/gdesktopappinfo.c:
2729 Dummy for g_app_info_set_as_default_for_extension
2730 Support flags in g_app_info_create_from_commandline
2732 * gio/gwin32appinfo.c:
2734 Update for API changes
2736 * gio/gthemedicon.c:
2737 Properly NULL-terminate list of icon names
2739 2007-09-28 Alexander Larsson <alexl@redhat.com>
2741 * gio/gloadableicon.h:
2742 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2744 2007-09-28 Alexander Larsson <alexl@redhat.com>
2747 Install headers in $includedir/gio-standalone/
2749 * gio-2.0.pc.in: Added.
2750 * gio-standalone.pc.in: Removed.
2753 Renamed pkg-config file to match glib (for future move)
2754 Update to the new include dir
2757 Add more TODO comments
2759 2007-09-28 Alexander Larsson <alexl@redhat.com>
2761 * gio/gdesktopappinfo.[ch]:
2762 Expose new_from_filename
2763 Add getter for is_hidden and handle it better
2765 2007-09-28 Alexander Larsson <alexl@redhat.com>
2767 * gio/gfileinfo.[ch]:
2768 Rename g_file_size_format_for_display to
2769 g_format_file_size_for_display.
2770 Now it doesn't have the g_file prefix, so we
2771 can later move it to glib.
2773 2007-09-28 Alexander Larsson <alexl@redhat.com>
2775 * gio/gappinfo.[ch]:
2776 Add g_app_info_get_id and g_app_info_get_executable.
2777 Make all getters non-reffing
2778 Make g_app_info_launch take GFile arguments.
2779 Add must_support_uris argument to g_app_info_get_default_for_type.
2781 * gio/gwin32appinfo.c:
2782 Update to GAppInfo api changes
2784 * gio/gdesktopappinfo.c:
2785 Update to GAppInfo api changes
2786 Implement supports_xdg_startup_notify
2788 * gio/gfileicon.c (g_file_icon_get_file):
2789 Make getter non-reffing.
2794 2007-09-27 Alexander Larsson <alexl@redhat.com>
2796 * gio/gfileinfo.[ch]:
2797 Add g_file_size_format_for_display helper
2799 2007-09-27 Alexander Larsson <alexl@redhat.com>
2801 * gio/glocalfileinfo.c:
2802 Set UNIX_GID from gid, not from uid
2804 2007-09-27 Alexander Larsson <alexl@redhat.com>
2807 Add g_file_set_attributes_async
2809 2007-09-27 Alexander Larsson <alexl@redhat.com>
2811 * gio/glocalfile.c (g_local_file_set_display_name):
2812 Fix set_display_name to actually rename to the right place.
2813 Use lstat to look for existing files so we don't overwrite
2816 2007-09-26 Alexander Larsson <alexl@redhat.com>
2819 Add g_file_set_display_name_async()
2821 2007-09-26 Alexander Larsson <alexl@redhat.com>
2824 Add load_partial_contents async calls
2827 Make internal function static
2829 2007-09-26 Alexander Larsson <alexl@redhat.com>
2831 * gio/glocalfileinfo.c:
2832 Correctly detect broken symlinks
2834 2007-09-26 Alexander Larsson <alexl@redhat.com>
2836 * gio/gcancellable.c (g_cancellable_cancel):
2837 Allow cancel on NULL cancellable
2839 2007-09-25 Alexander Larsson <alexl@redhat.com>
2841 * gio/gsimpleasyncresult.c:
2842 Don't allocate g_error manually.
2843 Fixes g_slice/g_new mixup crash
2845 2007-09-25 Alexander Larsson <alexl@redhat.com>
2847 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2848 Actually set active_backend.
2849 This means the monitor will be cancelled correctly.
2851 2007-09-25 Alexander Larsson <alexl@redhat.com>
2853 * gio/gdirectorymonitor.c:
2854 Set timeout to NULL when destroying
2856 2007-09-25 Alexander Larsson <alexl@redhat.com>
2859 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2860 that is a better description of the error.
2862 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2864 * gio/gvfs.c: (g_vfs_get_local):
2865 Make the local vfs variable static. The same instance should
2868 2007-09-24 Alexander Larsson <alexl@redhat.com>
2870 * gio/glocalfileinfo.c:
2871 Pass in actual length read into sniffer, not the length
2874 2007-09-21 Alexander Larsson <alexl@redhat.com>
2876 * gio/gfileenumerator.c:
2879 * gio/gfileinputstream.c:
2880 * gio/gfileoutputstream.c:
2881 * gio/ginputstream.c:
2882 * gio/goutputstream.c:
2883 Don't crash if async callbacks are NULL
2885 2007-09-20 Alexander Larsson <alexl@redhat.com>
2888 Add async enumerate_children method and default
2891 2007-09-20 Alexander Larsson <alexl@redhat.com>
2894 Add g_file_contains_file & g_file_get_relative_path, since they
2895 were needed for nautilus.
2896 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2901 Implement new methods
2903 2007-09-17 Alexander Larsson <alexl@redhat.com>
2906 * gio/gfileinputstream.[ch]:
2907 * gio/gfileoutputstream.[ch]:
2909 * gio/glocalfileenumerator.[ch]:
2910 * gio/glocalfileinfo.[ch]:
2911 * gio/glocalfileinputstream.c:
2912 * gio/glocalfileoutputstream.c:
2913 * gio/gpollfilemonitor.c:
2914 * programs/gio-copy.c:
2915 * programs/gio-info.c:
2916 * programs/gio-move.c:
2917 Rename get_file_info to query_info() to make it clearer
2918 that these are not simple getters, but do i/o.
2920 2007-09-17 Alexander Larsson <alexl@redhat.com>
2922 * gio/gdatainputstream.[ch]:
2923 * gio/test-streams.c:
2924 Use _read_XXX instead of _get_XXX for the i/o calls
2927 2007-09-17 Alexander Larsson <alexl@redhat.com>
2930 Added needed stuff to TODO comment
2932 2007-09-17 Alexander Larsson <alexl@redhat.com>
2934 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2935 Don't error out removing the backup copy if it doesn't
2938 2007-09-14 Alexander Larsson <alexl@redhat.com>
2940 * programs/Makefile.am:
2941 * programs/gvfs-*.c:
2943 Renamed apps from gvfs-xxx to gio-xxx.
2945 2007-09-14 Alexander Larsson <alexl@redhat.com>
2948 * gio/gfileoutputstream.[ch]:
2949 * gio/glocalfileoutputstream.c:
2950 * programs/gvfs-save.c:
2951 g_file_output_stream_get_etag doesn't do i/o, so remove
2952 cancellation and error.
2954 2007-09-14 Alexander Larsson <alexl@redhat.com>
2957 Add new_etag output to replace_contents functions
2959 2007-09-14 Alexander Larsson <alexl@redhat.com>
2961 * gio/gfileoutputstream.[ch]:
2962 Add async get_file_info and default implementation
2964 2007-09-14 Alexander Larsson <alexl@redhat.com>
2966 * gio/gfileinputstream.c:
2967 Implement fallback wrapper for async get_file_info
2969 2007-09-14 Alexander Larsson <alexl@redhat.com>
2972 Add etag out argument to load_contents
2977 2007-09-14 Alexander Larsson <alexl@redhat.com>
2979 * gio/gcontenttype.c (looks_like_text):
2980 Whitespace like tab, cr and lf do not make the
2983 2007-09-14 Alexander Larsson <alexl@redhat.com>
2985 * gio/gfileinputstream.[ch]:
2986 Add async get_file_info.
2988 2007-09-13 Alexander Larsson <alexl@redhat.com>
2990 * gio/goutputstream.c (g_output_stream_write_all):
2991 Allow NULL for bytes_written
2993 2007-09-13 Alexander Larsson <alexl@redhat.com>
2995 * gio/gmemoryinputstream.[ch]:
2996 Add accessors for data
2998 2007-09-13 Alexander Larsson <alexl@redhat.com>
3000 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3001 Don't crash if length is NULL