1 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
6 * goutputstream.c: Documentation: Fixed minor typos
7 and added more mentions of specific _finish() functions.
9 2008-01-21 Alexander Larsson <alexl@redhat.com>
11 * inotify/Makefile.am:
12 * inotify/inotify-helper.c:
13 * inotify/inotify-kernel.c:
14 * inotify/inotify-path.c:
15 * inotify/local_inotify.h: Removed.
16 * inotify/local_inotify_syscalls.h: Removed.
17 Removed the included copies of the inotify
18 headers. We now only use the <sys/inotify.h>
19 header which exists on modern systems.
20 This fixes problems on ARM and SH5 (#510448)
21 but is also generally much cleaner and future
22 safe. For instance, if other OSes add support
23 for inotify it should "just work".
25 2008-01-20 Matthias Clasen <mclasen@redhat.com>
27 * inotify/*.c: Coding style fixes.
28 * inotify/inotify-missing.c: Use g_timeout_add_seconds
31 2008-01-20 Matthias Clasen <mclasen@redhat.com>
35 * gmemoryinputstream.c:
36 * gmemoryoutputstream.c:
38 * gthemedicon.c: Documentation updates
40 2008-01-20 Murray Cumming <murrayc@murrayc.com>
42 * gfile.c: documentation: Fixed more minor
45 2008-01-18 Murray Cumming <murrayc@murrayc.com>
47 * gmount.c: (g_mount_remount): documentation:
48 Mention g_mount_remount_finish() instead of
49 g_mount_unmount_finish().
51 2008-01-18 Murray Cumming <murrayc@murrayc.com>
55 * gfile.c: Fixed some minor typos in the
58 2008-01-18 Murray Cumming <murrayc@murrayc.com>
60 * gio/gvolumemonitor.c:
61 (g_volume_monitor_get_connected_drives):
62 (g_volume_monitor_get_volumes):
63 (g_volume_monitor_get_mounts): Documentation:
64 Clarify the ownership of the regurn GLists.
66 2008-01-17 Alexander Larsson <alexl@redhat.com>
69 Add the async find_enclosing_mount version
70 to the header file too.
72 2008-01-17 Alexander Larsson <alexl@redhat.com>
75 Add async version of find_enclosing_mount
76 with default implementation.
78 2008-01-17 Alexander Larsson <alexl@redhat.com>
83 Allow calls to implementation of copy and write
84 even if the type of the file implementations is
85 different. This can be used to implement native
86 upload and download calls in a vfs.
90 Protect against the case where move is called
91 with one file not being local.
93 Make sure we call the progress callback once
94 in the native move operation so that the caller
95 knows how many bytes were copied.
97 2008-01-16 Murray Cumming <murrayc@murrayc.com>
100 * gdatainputstream.c:
102 * gfileoutputstream.c:
107 * gunixmounts.c: Corrected some typos in the documentation:
109 its -> it's (where appropriate).
111 2008-01-16 Alexander Larsson <alexl@redhat.com>
115 Add g_file_query_exists (#508771)
117 2008-01-15 Murray Cumming <murrayc@murrayc.com>
122 * gvolume.c: For async functions that have no non-async
123 version, document that the GAsyncReadyCallback may be NULL.
126 2008-01-15 Alexander Larsson <alexl@redhat.com>
128 * gmemoryinputstream.c:
129 * gmemoryoutputstream.c:
130 Don't do pointer arithmetic on void * (#508602)
131 Patch from Kazuki IWAMOTO
133 2008-01-14 Matthias Clasen <mclasen@redhat.com>
135 * === Released 2.15.2 ===
137 2008-01-14 Alexander Larsson <alexl@redhat.com>
139 * gfile.c (g_file_monitor_file):
140 Don't set error here, since we fallback to polling monitor.
142 2008-01-14 Alexander Larsson <alexl@redhat.com>
145 (g_file_monitor_directory):
146 (g_file_monitor_file):
147 Add GError to file monitor calls
149 * glocaldirectorymonitor.c:
150 * glocaldirectorymonitor.h:
152 * glocalfilemonitor.c:
153 * glocalfilemonitor.h:
155 Update for above change
157 2008-01-14 Alexander Larsson <alexl@redhat.com>
161 Handle root correctly in g_file_get_relative_path (#508719)
163 2008-01-14 Alexander Larsson <alexl@redhat.com>
166 Clean up docs and example for GAsyncResult (#508074)
168 2008-01-11 Murray Cumming <murrayc@murrayc.com>
170 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
171 and correct some spelling mistakes. Bug #508108.
173 2008-01-11 Matthias Clasen <mclasen@redhat.com>
175 * glocalfileinfo.c: Add a comment.
177 2008-01-10 Murray Cumming <murrayc@murrayc.com>
179 * gfileinfo.c: GFileInfo description: Mention
180 how to actually set attributes in a GFile and how to discover
181 which attributes are settable. Bug #508378.
183 2008-01-10 A. Walton <awalton@svn.gnome.org>
185 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
186 (g_app_info_get_default_for_type):
187 Check for NULL content types.
189 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
191 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
193 2008-01-09 Murray Cumming <murrayc@murrayc.com>
195 * gfile.c: *_async() functions: Several small corrections
196 to the documentation, mostly correcting copy/paste errors
197 and improving some sentences.
199 2008-01-09 Dan Winship <danw@gnome.org>
201 * glocalfile.c (get_unique_filename): x86_64 fix
203 2008-01-09 Alexander Larsson <alexl@redhat.com>
208 Add g_unix_mount_guess_should_display and use
209 for unix volume monitor backend.
210 This means we more or less show what the
211 gnome-vfs backend did.
212 Based on patch from Padraig O'Briain
214 2008-01-09 Alexander Larsson <alexl@redhat.com>
218 Add g_themed_icon_new_with_default_fallbacks
221 Use default fallbacks for icons
223 2008-01-09 Alexander Larsson <alexl@redhat.com>
226 * gmountoperation.[ch]:
227 Change the API a bit so that unhandled methods
228 get reported via the reply, rather than by
229 the signal emission return value. This is because
230 some handlers can't know this immediately without
231 doing I/O, and this is an async operation that
234 2008-01-09 Alexander Larsson <alexl@redhat.com>
237 * fam/gfamdirectorymonitor.c:
238 * fam/gfamfilemonitor.c:
239 Fix double free crash (#508224)
240 Patch from Joe Marcus Clarke
242 008-01-07 Matthias Clasen <mclasen@redhat.com>
244 * === Released 2.15.1 ===
246 2008-01-07 Alexander Larsson <alexl@redhat.com>
248 * gunixinputstream.c (g_unix_input_stream_skip_finish):
249 Fix warning (#507835)
251 2008-01-07 Alexander Larsson <alexl@redhat.com>
254 Pass --internal to glib-genmarshal
259 Use better types for signal arguments (#507822)
261 2008-01-07 Alexander Larsson <alexl@redhat.com>
264 Build test subdir after .
265 Remove gdirectorymonitor.[ch]
267 * gdirectorymonitor.[ch]:
271 Remove GDirectoryMonitor and make
272 GFileMonitor the baseclass for both file and
273 directory monitors. Lift the more generic
274 rate limiting code from GDirectoryMonitor
278 * fam/gfamdirectorymonitor.[ch]:
279 * inotify/ginotifydirectorymonitor.[ch]:
280 * inotify/inotify-helper.c:
281 * glocaldirectorymonitor.[ch]:
284 Update for the removed GDirectoryMonitor.
286 * gmemoryoutputstream.c:
287 Remove ununsed variable
289 2008-01-07 Alexander Larsson <alexl@redhat.com>
291 * gmemoryinputstream.c:
292 Translate error strings
295 * gmemoryoutputstream.[ch]:
296 New implementation that avoids using GByteArray
297 in implementation and API. (#506377)
299 2008-01-06 Matthias Clasen <mclasen@redhat.com>
301 * tests/*: Add a test for memory input streams.
303 * Makefile.am: Add tests to SUBDIRS.
305 2008-01-06 Matthias Clasen <mclasen@redhat.com>
307 * glocalfilemonitor.c:
308 * glocaldirectorymonitor.c: Mark property nicks and blurbs
311 2008-01-06 Matthias Clasen <mclasen@redhat.com>
313 * gdesktopappinfo.c: Fix a docs typo.
315 * gfileattribute.c: Add information about extended attributes
316 to the documentation. (#505058)
318 2008-01-04 Alexander Larsson <alexl@redhat.com>
322 Use the right type (uint) for the ask_password signal.
324 2008-01-04 Alexander Larsson <alexl@redhat.com>
329 Add g_app_info_supports_files()
330 Remove desktop arg from g_app_info_should_show().
332 * gdesktopappinfo.[ch]:
333 Implement g_app_info_supports_files() and new should_show()
334 Add g_desktop_app_info_set_desktop_env() to set the desktop
335 for should_show(). (This will be set by gtk+ later)
337 2008-01-04 Alexander Larsson <alexl@redhat.com>
340 * gmemoryinputstream.[ch]:
341 Improve API so that you can use multiple chunks
342 of memory and custom destroy functions. (#506374)
344 2008-01-03 Alexander Larsson <alexl@redhat.com>
347 Handle NULL attribute matchers safely, as we return this
348 for empty attribute matcher strings.
350 2008-01-03 Alexander Larsson <alexl@redhat.com>
352 * gunixmounts.c (g_unix_is_mount_path_system_internal):
353 Add /usr/local to list of internal mountpoints
355 2008-01-03 Alexander Larsson <alexl@redhat.com>
358 Check for HAVE_LCHOWN (#505887)
360 2008-01-03 Alexander Larsson <alexl@redhat.com>
364 Add define for selinux context attribute.
365 Fix missing : -> :: namespace separator change
366 Fix missing _ -> - name change for xattr-sys.
369 2008-01-03 Alexander Larsson <alexl@redhat.com>
372 Link to libglib and libgobject directly (#504879)
373 Patch from Sebastien Bacher
375 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
377 * gfile.c: Expanded the g_file_new_for_commandline_arg
378 description a bit, based on the code and the docs of the
379 other g_file_new_for_* functions.
381 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
383 * gfilemonitor.h: Fixed typo in docs.
385 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
387 Updates to GIO documentation. (#506395, Mikael Hermansson)
389 * gcontenttype.c: Describe memory management for return value of
390 g_content_types_get_registered(). Missing piece from #505815.
391 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
392 GVolume, GDrive, GMounts, which hopefully gives the user less
393 confusions when using this API. Following explainations from
394 Alexander Larsson on gtk-devel-list.
396 2007-12-30 Matthias Clasen <mclasen@redhat.com>
398 * gfileinfo.c: Expand the long description.
400 2007-12-30 Matthias Clasen <mclasen@redhat.com>
403 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
404 fix builds with --disable-visibility. (#500273, Christian Persch)
406 2007-12-30 Matthias Clasen <mclasen@redhat.com>
408 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
409 in the list of returned app infos.
411 2007-12-30 Matthias Clasen <mclasen@redhat.com>
413 * gappinfo.c: Fix a cross-reference
415 2007-12-30 Matthias Clasen <mclasen@redhat.com>
417 * gfileinputstream.c:
418 * gfileoutputstream.c:
424 * gfileinfo.c: Documentation updates.
426 2007-12-26 Matthias Clasen <mclasen@redhat.com>
428 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
431 2007-12-26 Matthias Clasen <mclasen@redhat.com>
433 * gcontenttype.c (g_content_types_get_registered): Don't return
434 freed memory (#505815, Mikael Hermansson)
436 2007-12-25 Paolo Borelli <pborelli@katamail.com>
438 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
439 used to detect statbuf->st_blocks. (#505042)
441 2007-12-24 Matthias Clasen <mclasen@redhat.com>
443 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
444 environment handling. (#504829, Cosimo Cecchi)
446 2007-12-22 Matthias Clasen <mclasen@redhat.com>
448 * gappinfo.c: Doc improvements
450 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
453 2007-12-20 Matthias Clasen <mclasen@redhat.com>
455 * === Released 2.15.0 ===
457 2007-12-20 Hans Breuer <hans@breuer.org>
459 * makefile.msc : don't build gdesktopappinfo.obj, it collides
460 with symbols gwin32appinfo.obj, added gmount.obj
461 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
463 2007-12-20 Alexander Larsson <alexl@redhat.com>
469 * gfilenamecompleter.c:
472 * gpollfilemonitor.c:
473 File attribute renames:
476 id::fs -> id::filesystem
478 2007-12-20 Alexander Larsson <alexl@redhat.com>
487 Add GMountUnmountFlags to all unmount and
489 Add g_mount_remount() call.
491 2007-12-20 Alexander Larsson <alexl@redhat.com>
493 * gvfs.c (get_default_vfs):
494 Fix unused variable warning
496 2007-12-19 Matthias Clasen <mclasen@redhat.com>
498 * pltcheck.sh: Update
500 2007-12-19 Matthias Clasen <mclasen@redhat.com>
502 * gunionvolumemonitor.c:
503 * gunixmount.c: Remove C99 comments
505 2007-12-19 Matthias Clasen <mclasen@redhat.com>
507 * gio.symbols: Add some missing symbols
509 2007-12-19 Alexander Larsson <alexl@redhat.com>
512 Make g_io_modules_load_all_in_directory not unuse
513 loaded modules so that users of it can do stuff
515 Init internal "module" types.
516 Initialize static prio and name for types so that
517 we don't have to load modules to get it.
519 * gnativevolumemonitor.h:
521 Move is_supported to parent class so that
522 non-native monitors can avoid being initialized
523 too. (For instance GDaemonVolumeMonitor if we're
524 not using GDaemonVfs.)
526 * glocaldirectorymonitor.[ch]:
527 * glocalfilemonitor.[ch]:
528 * gunionvolumemonitor.c:
529 * gunixvolumemonitor.c:
531 Find plugins using the static prio+name to
532 avoid unnecessarily loading the modules.
534 2007-12-19 Alexander Larsson <alexl@redhat.com>
539 2007-12-19 Alexander Larsson <alexl@redhat.com>
541 * gunionvolumemonitor.c:
542 Store the native type as GType, not class so that
543 we can unload it. But still avoid unnecessarily
546 2007-12-19 David Zeuthen <davidz@redhat.com>
548 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
549 add signals 'disconnected' and 'eject-button' on GDrive. Add
550 signal 'removed' on GVolume and 'unmounted' on GMount.
552 * gdrive.c: (g_drive_base_init):
554 * gfile.c: (g_file_mount_mountable),
555 (g_file_mount_enclosing_volume):
558 * gmount.c: (g_mount_base_init):
560 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
561 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
562 * gvolume.c: (g_volume_base_init), (g_volume_mount):
566 2007-12-17 Matthias Clasen <mclasen@redhat.com>
568 * *.c: Fix up includes in the section docs.
570 2007-12-17 Alexander Larsson <alexl@redhat.com>
572 * gnativevolumemonitor.h:
573 * gunionvolumemonitor.c:
574 * gunixvolumemonitor.c:
575 Add is_supported() to GNativeVolumeMonitorClass so
576 that we can avoid having to create an object to see
577 if the backend is supported at runtime.
578 Also add name member and an env var to pick a specific
579 volume monitor backend.
583 Add cancellable to _g_mount_get_for_mount_path()
585 * glocaldirectorymonitor.c:
586 * glocalfilemonitor.c:
587 Avoid loading and unloading modules while sorting.
589 2007-12-17 Matthias Clasen <mclasen@redhat.com>
592 * gunixmounts.[hc]: Namespace waste reduction, move some
593 g_get_unix_mount functions to the g_unix_mount namespace.
596 * gunixvolumemonitor.c:
598 * glocaldirectorymonitor.c: Update all callers.
600 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
602 2007-12-17 Alexander Larsson <alexl@redhat.com>
605 Add doc comments about what GFile operations are
606 guaranteed to not block.
608 2007-12-17 Alexander Larsson <alexl@redhat.com>
611 Add missing #ifdef fixing OSX build.
612 (#503334, patch from Richard Hult)
614 2007-12-14 David Zeuthen <davidz@redhat.com>
618 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
619 (g_mount_eject), (g_mount_eject_finish):
621 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
622 (get_volume_for_uuid), (get_mount_for_uuid),
623 (g_union_volume_monitor_class_init),
624 (get_default_native_type_with_exclude), (get_default_native_type),
625 (get_native_type), (update_native_type),
626 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
627 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
628 (g_unix_mount_can_eject), (eject_unmount_cb),
629 (eject_unmount_read_error), (eject_unmount_do),
630 (g_unix_mount_unmount), (g_unix_mount_eject),
631 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
632 * gunixmounts.c: (g_unix_mount_guess_can_eject),
633 (g_unix_mount_point_guess_can_eject):
635 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
636 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
637 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
638 (g_unix_volume_mount), (g_unix_volume_eject),
639 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
640 * gunixvolumemonitor.c: (get_volume_for_uuid),
641 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
643 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
644 (g_volume_eject), (g_volume_eject_finish):
646 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
647 (g_volume_monitor_get_mount_for_uuid):
650 Provide eject() on both GMount and GVolume and utility functions
651 to guess whether a GUnixMountPoint or GUnixMountEntry should be
652 ejected. Introduce the concept of UUID's and wire it into GVolume
653 and GMount and provide API on GVolumeMonitor to find such
654 instances. Also handle the case where an external
655 GNativeVolumeMonitor fails to initialize. Lock around the
656 _g_get_mount_for_mount_path() function such that volume monitor
657 implementations won't have to do locking themselves.
659 2007-12-17 Matthias Clasen <mclasen@redhat.com>
667 * gvolume.h: Documentation updates
669 2007-12-14 Matthias Clasen <mclasen@redhat.com>
672 * gfile.h: Doc updates
674 2007-12-14 Matthias Clasen <mclasen@redhat.com>
677 * gdesktopappinfo.c: Use hash table iterators.
679 2007-12-14 Alexander Larsson <alexl@redhat.com>
682 * gfileattribute.[ch]:
683 * gfileattribute-priv.h:
684 Move GFileAttributeValue to a private header, as
688 Make set_attribute take a type + a pointer instead
689 of a GFileAttributeValue.
692 Fix up for above changes.
693 Add g_file_info_get_attribute_data to get
694 all info in one call, g_file_info_get_attribute_status
695 to get the status and g_file_info_get_attribute_as_string.
699 * glocalfileinfo.[ch]:
703 Make _guess_type static.
705 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
708 * inotify/Makefile.am: Fixed build when srcdir != builddir,
709 made mkenums and friends use temporary files to avoid leaving
710 empty generated files on failure (#503470).
712 2007-12-14 Alexander Larsson <alexl@redhat.com>
717 2007-12-14 Alexander Larsson <alexl@redhat.com>
721 * gfileattribute.[ch]:
724 * glocalfileoutputstream.c:
725 * gmountoperation.[ch]:
726 * goutputstream.[ch]:
727 Clean up all flags enums to not have _FLAGS in them
728 Make the names of some of the enums better.
733 2007-12-14 Michael Natterer <mitch@imendio.com>
735 * gio.symbols: fix g_io_scheduler symbol names.
737 2007-12-14 Alexander Larsson <alexl@redhat.com>
743 * gbufferedinputstream.h:
744 * gbufferedoutputstream.h:
747 * gdatainputstream.h:
748 * gdataoutputstream.h:
750 * gdirectorymonitor.h:
757 * gfileinputstream.h:
759 * gfilenamecompleter.h:
760 * gfileoutputstream.h:
761 * gfilterinputstream.h:
762 * gfilteroutputstream.h:
770 * gmemoryinputstream.h:
771 * gmemoryoutputstream.h:
776 * gsimpleasyncresult.h:
778 * gunixinputstream.h:
780 * gunixoutputstream.h:
784 * inotify/Makefile.am:
785 Only allow including <gio/gio.h> from apps
787 2007-12-14 Alexander Larsson <alexl@redhat.com>
790 * gsimpleasyncresult.c:
791 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
792 Split out the send_to_mainloop call into two versions instead
793 of having the block argument.
795 2007-12-13 Alexander Larsson <alexl@redhat.com>
799 * gbufferedinputstream.c:
801 * gfileinputstream.c:
802 * gfileoutputstream.c:
806 g_push/pop_current_cancellable ->
807 g_cancellable_push/pop_current
809 2007-12-13 Alexander Larsson <alexl@redhat.com>
813 Rename g_mount_for_location to g_file_mount_enclosing_volume.
815 2007-12-13 Alexander Larsson <alexl@redhat.com>
818 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
820 2007-12-12 Alexander Larsson <alexl@redhat.com>
823 Fix race condition when freeing proxy in
824 g_io_job_send_to_mainloop().
826 2007-12-12 Alexander Larsson <alexl@redhat.com>
832 Make attribute namespace separator "::" instead of ":".
833 Use - instead of _ as separator in attribute names.
835 2007-12-12 Alexander Larsson <alexl@redhat.com>
837 * gbufferedinputstream.h:
838 * gbufferedoutputstream.h:
839 * gdatainputstream.h:
840 * gdataoutputstream.h:
841 * gdirectorymonitor.h:
843 * gfileinputstream.h:
845 * gfileoutputstream.h:
846 * gfilterinputstream.h:
847 * gfilteroutputstream.h:
849 * glocalfileinputstream.h:
850 * glocalfileoutputstream.h:
851 * gmemoryinputstream.h:
852 * gmemoryoutputstream.h:
853 * gnativevolumemonitor.h:
855 * gunixinputstream.h:
856 * gunixoutputstream.h:
859 s/parent/parent_instance/ in GObjects
861 2007-12-12 Alexander Larsson <alexl@redhat.com>
866 No need for padding for interfaces
868 2007-12-12 Alexander Larsson <alexl@redhat.com>
872 * gbufferedinputstream.c:
873 * gbufferedoutputstream.c:
876 * gdatainputstream.[ch]:
878 * gdirectorymonitor.c:
880 * gfileattribute.[ch]:
883 * gfileinputstream.h:
885 * gfileoutputstream.[ch]:
886 * gfilterinputstream.h:
887 * gfilteroutputstream.h:
890 * gloadableicon.[ch]:
891 * gmemoryinputstream.c:
894 Fix up a bunch of details in the docs.
899 2007-12-11 David Zeuthen <davidz@redhat.com>
901 Rework how volumes, drives and volume monitoring is
902 done. Previosly the model was
906 where a GDrive instance represented a mount point and a GVolume
907 instance represented a mounted file system. This patch changes it
910 GDrive <1-N> GVolume <1-1> GMount
912 where GMount now serves the purpose of the old GVolume and the new
913 GVolume serves the purpose of the old GDrive. In addition the new
914 GDrive interface is used to represent a collection of GVolume
915 instances (typically partitions) and also contains utility to query
916 the state of the physical drive the GDrive object represents (such
917 as checking for media, polling the drive, ejecting the media etc.).
919 Also implement mounting and unmounting in the Unix volume monitor
920 backend. A subquent patch will introduce GDrive support for ejection
924 * gdrive.c: (g_drive_is_media_check_automatic),
925 (g_drive_is_media_removable), (g_drive_has_media),
926 (g_drive_can_poll_for_media), (g_drive_eject),
927 (g_drive_eject_finish), (g_drive_poll_for_media),
928 (g_drive_poll_for_media_finish):
930 * gfile.c: (g_file_find_enclosing_mount):
933 * glocaldirectorymonitor.c:
934 (g_local_directory_monitor_constructor), (mounts_changed):
935 * glocalfile.c: (get_mount_info),
936 (g_local_file_find_enclosing_mount),
937 (g_local_file_file_iface_init):
938 * gnativevolumemonitor.h:
939 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
940 (get_connected_drives), (g_union_volume_monitor_class_init),
941 (child_volume_added), (child_volume_removed),
942 (child_volume_changed), (child_mount_added), (child_mount_removed),
943 (child_mount_pre_unmount), (child_mount_changed),
944 (child_drive_changed), (g_union_volume_monitor_add_monitor),
945 (g_union_volume_monitor_remove_monitor),
946 (_g_mount_get_for_mount_path):
947 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
948 (guess_system_internal), (_g_get_unix_mounts),
949 (_g_get_unix_mount_points), (g_get_unix_mount_at),
950 (g_unix_mount_free), (g_unix_mount_compare),
951 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
952 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
953 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
954 (type_to_icon), (g_unix_mount_guess_name),
955 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
956 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
957 (_resolve_symlink), (_resolve_dev_root):
959 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
960 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
961 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
962 (g_unix_volume_get_name), (g_unix_volume_can_mount),
963 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
964 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
965 (g_unix_volume_mount), (g_unix_volume_mount_finish),
966 (g_unix_volume_volume_iface_init):
968 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
969 (get_mounts), (get_volumes), (get_connected_drives),
970 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
971 (mountpoints_changed), (mounts_changed),
972 (g_unix_volume_monitor_init),
973 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
974 (find_mount_by_mountpath), (update_volumes), (update_mounts):
975 * gunixvolumemonitor.h:
976 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
977 (g_volume_mount), (g_volume_mount_finish):
979 * gvolumemonitor.c: (g_volume_monitor_class_init),
980 (g_volume_monitor_get_connected_drives),
981 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
984 2007-12-10 Matthias Clasen <mclasen@redhat.com>
986 * gmountoperation.h (GPasswordFlags): Close the gap
988 2007-12-10 Matthias Clasen <mclasen@redhat.com>
990 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
992 * gdesktopappinfo.[hc]: Remove _-prefixes
994 2007-12-10 Tor Lillqvist <tml@novell.com>
996 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
999 2007-12-10 Alexander Larsson <alexl@redhat.com>
1001 * gfile.c (g_file_set_display_name):
1002 Don't hardcode '/' (#502727)
1004 2007-12-09 Hans Breuer <hans@breuer.org>
1006 * makefile.msc : follow lib naming convention
1007 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1008 for user and group name, tested with ../tests/gio-ls
1010 2007-12-09 A. Walton <awalton@svn.gnome.org>
1012 * gdesktopappinfo.c:
1018 * gfileenumerator.c:
1023 * gmemoryinputstream.c:
1024 * gmemoryoutputstream.c:
1026 * gsimpleasyncresult.c:
1027 More documentation cleanup and filling in missing information, bringing
1028 GIO to 99% symbol coverage.
1030 2007-12-08 Hans Breuer <hans@breuer.org>
1032 [gio compiles and links on win32, not sure how much already works]
1033 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1034 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1035 base on win32 API; prefer g_lstat() over lstat(); instead of
1036 localtime_r() use an all GLib implementation on win32;
1037 get_mount_info() still needs a win32 specifc implementation
1038 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1039 win32_get_file_user_info to get owner/group info without uid/gid
1040 * glocalfileinputstream.c : include <io.h> on win32
1041 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1042 definition, use g_win32_ftruncate() for G_OS_WIN32
1043 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1044 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1045 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1046 * makefile.msc : updated
1048 2007-12-07 Alexander Larsson <alexl@redhat.com>
1050 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1051 Avoid warning spew if error == NULL
1053 2007-12-07 Alexander Larsson <alexl@redhat.com>
1056 Update docs wrt etags
1058 2007-12-06 Alexander Larsson <alexl@redhat.com>
1061 Include sys/types.h for dev_t (#501919)
1063 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1067 Make abicheck and pltcheck pass.
1069 2007-12-05 Alexander Larsson <alexl@redhat.com>
1072 * giomodule-priv.h: Added.
1073 * glocaldirectorymonitor.c:
1074 * glocalfilemonitor.c:
1075 * gunionvolumemonitor.c:
1077 Actually add the declaration of _g_io_modules_ensure_loaded
1079 2007-12-05 Alexander Larsson <alexl@redhat.com>
1081 * gdatainputstream.c:
1086 * glocaldirectorymonitor.c:
1087 * glocalfilemonitor.c:
1088 * gunionvolumemonitor.c:
1090 Make g_io_modules_ensure_loaded a private function and
1091 don't pass in the dirname. This means we can do magic
1092 directory finding in the win32 version.
1093 Export the actual load-modules-in-directory code so that
1094 gvfs can reuse that.
1096 2007-12-05 Alexander Larsson <alexl@redhat.com>
1098 * gbufferedinputstream.c:
1099 * gbufferedoutputstream.c:
1102 * gfileenumerator.[ch]:
1103 * gfileinputstream.c:
1104 * gfileoutputstream.[ch]:
1105 * gfilterinputstream.c:
1106 * gfilteroutputstream.c:
1107 * ginputstream.[ch]:
1109 * glocalfileenumerator.c:
1110 * glocalfileinputstream.c:
1111 * glocalfileoutputstream.c:
1112 * gmemoryinputstream.c:
1113 * gmemoryoutputstream.c:
1114 * goutputstream.[ch]:
1117 * gunixinputstream.c:
1118 * gunixoutputstream.c:
1119 Rename all struct members named:
1120 read, write, close, truncate, or mount
1121 to foo_fn, as these are reserved names
1122 and could be defined as macros in libc.
1125 2007-12-04 Alexander Larsson <alexl@redhat.com>
1128 (g_output_stream_close):
1129 Only call flush if non-null.
1131 2007-11-30 Dan Winship <danw@gnome.org>
1133 * ginputstream.c (g_input_stream_set_pending): Make this take a
1134 GError and return a gboolean, and do the "outstanding operation"
1135 check (and the "stream is already closed" check) itself.
1136 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1138 * goutputstream.c (g_output_stream_set_pending)
1139 (g_output_stream_clear_pending): Likewise
1141 * gbufferedinputstream.c:
1142 * gfileinputstream.c:
1143 * gfileoutputstream.c: Update for that
1145 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1146 Like g_simple_async_report_error_in_idle, but takes a GError
1147 rather than building one.
1149 2007-11-30 Dan Winship <danw@gnome.org>
1151 * goutputstream.c: Don't cheat and unset the "pending" flag around
1152 inner calls. Instead, call the class method directly rather than
1153 the wrapper function that checks "pending"
1155 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1157 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1159 2007-12-03 Hans Breuer <hans@breuer.org>
1161 [start of port to win32/msvc]
1162 * gcancellable.c : HAVE_UNIST_H and _pipe()
1163 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1164 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1165 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1167 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1168 * glocalvfs.c : use HAVE_PWD_H
1169 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1170 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1171 * Makefile.am : added to EXTRA_DIST
1173 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1175 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1178 2007-12-03 Alexander Larsson <alexl@redhat.com>
1181 Handle OSX style xattrs API (#500506)
1183 2007-12-03 Alexander Larsson <alexl@redhat.com>
1187 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1189 2007-12-02 A. Walton <awalton@svn.gnome.org>
1193 Documentation accuracy fixes.
1195 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1197 * gioenumtypes.c.template: Fix typo.
1199 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1201 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1203 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1205 * gdirectorymonitor.c:
1206 * gfilemonitor.c: Add properties
1208 * gbufferedoutputstream.c: Don't mark buffer-size property
1211 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1213 * gbufferedoutputstream.c: Add auto-grow property.
1215 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1217 * *.c: Unify the capitalization of section headings.
1219 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1221 * gmountoperation.c: Add properties
1223 * gdatainputstream.c: Turn byte-order and newline-type into
1226 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1228 * gioenumtypes.[hc].template: Templates for enum registration
1230 * Makefile.am: Generate gioenumtypes.[hc]
1232 * gio.h: Include gioenumtypes.h
1234 * gfile.h: Add some explicit nicks.
1236 * gio.symbols: Add new symbols
1238 * pltcheck.sh: Adjust
1240 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1242 * *.c: Explain etags and link to the explanation
1244 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1246 * *.c: Explain I/O priority.
1248 * *.c: More coding style fixes.
1250 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1252 * gasyncresult.c: Add another paragraph to the intro,
1253 adjust coding style of example.
1255 2007-11-29 A. Walton <awalton@svn.gnome.org>
1258 Fixes unknown meaning in GAppLaunchContext docs.
1260 Clarify asynchronous ops.
1262 Fix entity tag docs.
1265 Provides missing gtk-doc section, fixes API docs slighly.
1266 * gsimpleasyncresult.c:
1267 Fill in missing info in docs.
1268 * gunixinputstream.c:
1269 * gunixoutputstream.c:
1270 Be more expressive in short description.
1272 Remove gtk-doc stubs for non-public API.
1274 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1276 * *.c: Coding style fixups
1278 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1280 * inotify/inotify-helper.c: Don't export the lock from libgio.
1282 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1285 * abicheck.sh: Fix copy-and-paste leftovers
1287 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1289 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1291 2007-11-28 Alexander Larsson <alexl@redhat.com>
1295 Removed unnecessary file
1297 * gdesktopappinfo.[ch]:
1300 * glocaldirectorymonitor.[ch]:
1302 * glocalfileenumerator.[ch]:
1303 * glocalfileinputstream.[ch]:
1304 * glocalfilemonitor.[ch]:
1305 * glocalfileoutputstream.[ch]:
1307 * gnativevolumemonitor.c:
1308 * gpollfilemonitor.[ch]:
1309 * gunionvolumemonitor.[ch]:
1312 * gunixvolumemonitor.[ch]:
1315 * inotify/ginotifydirectorymonitor.[ch]:
1316 * inotify/ginotifyfilemonitor.[ch]:
1317 * inotify/inotify-helper.c:
1318 Append _ to all internal functions
1322 Export symbols needed for modules
1324 2007-11-28 Alexander Larsson <alexl@redhat.com>
1327 * abicheck.sh: Added.
1328 * makegioalias.pl: Added.
1329 * pltcheck.sh: Added.
1330 * gio.symbols: Added.
1333 Initial work on adding symbol handling.
1336 Correct ifdef guard name
1339 * inotify/Makefile.am:
1340 * xdgmime/Makefile.am:
1341 Include toplevel Makefile.decl
1343 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1345 * gcontenttype.c: Move doc comments to the unix section.
1347 * *.[hc]: More trivial doc corrections.
1349 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1351 * gpollfilemonitor.c:
1355 * gdesktopappinfo.c:
1360 * gdatainputstream.c:
1361 * gdatainputstream.h:
1362 * gdataoutputstream.c:
1363 * gdataoutputstream.h:
1364 * gfileinfo.h: Doc cleanups
1366 2007-11-28 Andre Klapper <a9016009@gmx.de>
1368 * gdesktopappinfo.c: Fix a typo.
1370 2007-11-27 Andre Klapper <a9016009@gmx.de>
1372 * glocalfileoutputstream.c: Fix a typo.
1374 2007-11-27 Alexander Larsson <alexl@redhat.com>
1377 Don't include removed headers
1379 2007-11-27 Alexander Larsson <alexl@redhat.com>
1382 * gsocketinputstream.[ch]: Removed.
1383 * gsocketoutputstream.[ch]: Removed.
1384 * gunixinputstream.[ch]: Added.
1385 * gunixoutputstream.[ch]: Added.
1386 Renamed GSocket*Stream to GUnix*Stream and made
1387 it unix-only, since its not really only for sockets
1388 and it only works on unix (but is highly useful there).
1390 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1396 * gbufferedinputstream.c:
1397 * gbufferedinputstream.h:
1398 * gbufferedoutputstream.c:
1399 * gbufferedoutputstream.h:
1403 * gdatainputstream.c:
1404 * gdatainputstream.h:
1405 * gdataoutputstream.c:
1406 * gdataoutputstream.h:
1407 * gdirectorymonitor.c:
1408 * gdirectorymonitor.h:
1415 * gfileenumerator.c:
1416 * gfileenumerator.h:
1421 * gfileinputstream.c:
1422 * gfileinputstream.h:
1425 * gfilenamecompleter.c:
1426 * gfilenamecompleter.h:
1427 * gfileoutputstream.c:
1428 * gfileoutputstream.h:
1429 * gfilterinputstream.c:
1430 * gfilterinputstream.h:
1431 * gfilteroutputstream.c:
1432 * gfilteroutputstream.h:
1445 * glocalfileoutputstream.c:
1446 * gmemoryinputstream.c:
1447 * gmemoryinputstream.h:
1448 * gmemoryoutputstream.c:
1449 * gmemoryoutputstream.h:
1450 * gmountoperation.c:
1451 * gmountoperation.h:
1454 * gpollfilemonitor.c:
1457 * gsimpleasyncresult.c:
1458 * gsimpleasyncresult.h:
1459 * gsocketinputstream.c:
1460 * gsocketinputstream.h:
1461 * gsocketoutputstream.c:
1462 * gsocketoutputstream.h:
1469 * gunixvolumemonitor.c:
1478 Bumps documentation to 93% symbol coverage, touching most
1479 of the public files. Fixes broken function documentation prototypes.
1480 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1481 gtk-doc headers in private files.
1483 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1485 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1486 (g_buffered_input_stream_read_byte):
1487 * gbufferedinputstream.h:
1488 New functions for efficient access to buffer and simple single byte
1491 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1492 (g_data_input_stream_read_until):
1493 * gdatainputstream.h:
1494 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1495 read_until with multiple stop chars.
1497 2007-11-27 Alexander Larsson <alexl@redhat.com>
1501 * inotify/Makefile.am:
1502 Use the user-specified giomoduledir
1504 2007-11-27 Alexander Larsson <alexl@redhat.com>
1508 Add catch-all gio.h header
1509 Don't install gdummyfile.h
1511 2007-11-26 Alexander Larsson <alexl@redhat.com>
1513 * Makefile.am (gioinclude_HEADERS):
1514 Remove trailing whitespace
1516 2007-11-26 Alexander Larsson <alexl@redhat.com>
1518 Merge gio-standalone into glib
1520 2007-11-25 Christian Kellner <gicmo@gnome.org>
1522 * gio/goutputstream.c:
1523 Fix small mistake in the docs.
1525 2007-11-21 Christian Persch <chpe@gnome.org>
1527 * gio/glocalfile.c: (g_local_file_trash):
1528 Convert filenames to UTF-8 for GError.
1529 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1530 as per xdg base dir spec.
1532 2007-11-21 Christian Persch <chpe@gnome.org>
1534 * gio/gdesktopappinfo.c:
1535 Use that g_key_file_to_data cannot fail.
1537 Use stock defines for the key file group and key names.
1540 2007-11-21 Alexander Larsson <alexl@redhat.com>
1543 (copy_stream_with_progress):
1544 Make sure we do a final progress callback with
1545 the full total size.
1547 2007-11-21 Alexander Larsson <alexl@redhat.com>
1550 Export g_file_copy_attributes
1551 Remove padding as its not needed for interfaces
1553 2007-11-20 Alexander Larsson <alexl@redhat.com>
1558 Add G_IO_ERROR_WOULD_MERGE for
1559 copy/move dir on dir with overwrite.
1561 2007-11-20 Alexander Larsson <alexl@redhat.com>
1564 * gio/glocalfileinfo.c:
1565 Add COPY_NAME (this is an optional
1566 non-modified utf8 version of the name) that
1569 2007-11-20 Alexander Larsson <alexl@redhat.com>
1571 * gio/glocalfileenumerator.c:
1572 Report errors as GIOError, not GFileError
1574 2007-11-16 Alexander Larsson <alexl@redhat.com>
1576 * gio/glocalfileoutputstream.c:
1577 * gio/gwin32appinfo.c:
1578 Fix typos in strings.
1579 Patch from Luca Ferretti <elle.uca@libero.it>
1581 2007-11-15 Alexander Larsson <alexl@redhat.com>
1584 Post release version bump
1586 === gio-standalone 0.1.2 ===
1588 2007-11-15 Alexander Larsson <alexl@redhat.com>
1590 * docs/reference/gio/Makefile.am:
1591 Fix up distcheck by removing weird
1597 2007-11-14 Alexander Larsson <alexl@redhat.com>
1599 * gio/gdesktopappinfo.c:
1600 * gio/glocaldirectorymonitor.c:
1602 * gio/glocalfileinfo.c:
1603 * gio/inotify/inotify-sub.c:
1604 * programs/gio-cat.c:
1605 * programs/gio-copy.c:
1606 * programs/gio-info.c:
1607 * programs/gio-ls.c:
1608 * programs/gio-monitor-dir.c:
1609 * programs/gio-monitor-file.c:
1610 * programs/gio-mount.c:
1611 * programs/gio-move.c:
1612 * programs/gio-rm.c:
1613 * programs/gio-save.c:
1614 * programs/gio-trash.c:
1615 Leak fixes from Kjartan Maraas
1617 2007-11-14 Alexander Larsson <alexl@redhat.com>
1619 * gio/fam/fam-helper.c:
1621 * gio/glocalfileinfo.c:
1625 * gio/inotify/inotify-diag.c:
1626 * gio/inotify/inotify-kernel.c:
1627 Various code cleanups from Kjartan Maraas
1629 2007-11-14 Alexander Larsson <alexl@redhat.com>
1631 * gio/gioscheduler.c:
1633 Set up threadpool so that we cache 2 unused
1634 idle threads for at 15 secs. This means we
1635 will reuse thread-local data (like dbus connections)
1638 2007-11-14 Alexander Larsson <alexl@redhat.com>
1640 * gio/fam/fam-helper.c:
1641 * gio/fam/gfamdirectorymonitor.c:
1642 * gio/fam/gfamfilemonitor.c:
1644 * gio/gcontenttype.c:
1645 * gio/gdatainputstream.c:
1646 * gio/gdataoutputstream.c:
1650 * gio/gfileattribute.h:
1651 * gio/gfileenumerator.c:
1653 * gio/ginputstream.c:
1656 * gio/glocalfileinfo.c:
1657 * gio/goutputstream.c:
1658 * gio/gpollfilemonitor.c:
1659 * gio/gsimpleasyncresult.c:
1660 * gio/gunixmounts.c:
1661 * gio/gunixmounts.h:
1662 * gio/inotify/ginotifydirectorymonitor.c:
1663 * gio/inotify/ginotifyfilemonitor.c:
1664 * gio/inotify/inotify-diag.c:
1665 * gio/inotify/inotify-kernel.c:
1666 * gio/inotify/inotify-path.c:
1668 * gio/test-streams.c:
1669 * programs/gio-info.c:
1670 * programs/gio-monitor-dir.c:
1671 * programs/gio-monitor-file.c:
1672 Various code cleanups from Kjartan Maraas
1674 2007-11-13 Alexander Larsson <alexl@redhat.com>
1677 Handle the uri-scheme calls for dummy files
1679 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1681 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1682 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1683 to avoid clash with the C++ keyword.
1685 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1687 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1688 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1690 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1692 * gio/glocaldirectorymonitor.c:
1693 * gio/glocalfilemonitor.c:
1694 * gio/gunionvolumemonitor.c:
1695 Don't use g_once_init_*() for initializations that could fail and
1696 could leave the initialization variable set to 0 but use GOnce.
1697 This prevents a deadlock on the second call when trying to create
1698 a monitor and no monitor type is available. Thanks to Sven Herzberg
1701 2007-11-11 Sven Herzberg <sven@imendio.com>
1703 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1704 #ifdef (make it work on MacOS X again)
1706 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1708 Fixes Changelog for last two commits (sorry guys).
1710 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1712 * gio/gbufferedinputstream.c:
1713 * gio/gdatainputstream.c:
1715 * gio/gfileoutputstream.c:
1716 * gio/gfilterinputstream.c:
1717 * gio/glocalfileinputstream.c:
1720 More consistency fixes in g*stream.c files.
1721 Significant clean of gfile's documentation, filling in of
1722 asynchronous operations documentation.
1724 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1726 * gio/gasyncresult.c:
1727 * gio/gbufferedinputstream.c:
1728 * gio/gbufferedoutputstream.c:
1729 * gio/gcancellable.c:
1730 * gio/gcontenttype.c:
1731 * gio/gdatainputstream.c:
1732 * gio/gdataoutputstream.c:
1733 * gio/gdesktopappinfo.c:
1736 * gio/gfileattribute.c:
1737 * gio/gio/gfileenumerator.c:
1739 * gio/gfileinputstream.c:
1740 * gio/gfilemonitor.c:
1741 * gio/gfileoutputstream.c:
1742 * gio/ginputstream.c:
1744 * gio/gioscheduler.c:
1745 * gio/gloadableicon.c:
1746 * gio/glocalfileoutputstream.c:
1747 * gio/gmemoryoutputstream.c:
1748 * gio/gmountoperation.c:
1749 * gio/goutputstream.c:
1751 * gio/gsimpleasyncresult.c:
1752 * gio/gunionvolumemonitor.c:
1753 * gio/gunixmounts.c:
1754 * gio/gunixvolume.c:
1758 * gio/gvolumemonitor.c:
1759 Updated documentation stubs, working towards consistency and
1762 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1764 * gio/gmemoryoutputstream.c:
1765 * gio/gmemoryoutputstream.h:
1766 Change g_memory_output_stream_set_free_on_close() to
1767 g_memory_output_stream_set_free_data() as this makes more sense and
1768 is more consistent with GMemoryInputStream.
1770 2007-11-07 Alexander Larsson <alexl@redhat.com>
1777 Change how we find the default vfs so that
1778 we can handle a gvfs failing to init
1780 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1782 * gio/gbufferedoutputstream.c:
1783 * gio/gdatainputstream.c:
1784 * gio/gdataoutputstream.c:
1785 * gio/gfileinputstream.c:
1786 * gio/gfileoutputstream.c:
1787 * gio/gfilterinputstream.c:
1788 * gio/gfilteroutputstream.c:
1789 * gio/ginputstream.c:
1790 * gio/gmemoryinputstream.c:
1791 * gio/gmemoryoutputstream.c:
1792 * gio/goutputstream.c:
1793 * gio/gsimpleasyncresult.c:
1794 * gio/gsocketinputstream.c:
1795 * gio/gsocketoutputstream.c:
1796 Add guards to the remaining public functions, add a TODO for
1797 an unimplemented function and remove some useless guards.
1799 2007-11-07 Alexander Larsson <alexl@redhat.com>
1802 Autoconf checks for the various types of
1803 getpwuid_r and getgrgid_r
1805 * gio/glocalfileinfo.c:
1806 Use the autoconf checks from above
1808 2007-11-07 Alexander Larsson <alexl@redhat.com>
1811 (g_local_file_query_filesystem_info):
1812 Some fixes for the statvfs case
1814 2007-11-07 Alexander Larsson <alexl@redhat.com>
1817 (g_local_file_query_filesystem_info):
1818 Pick the "best" of statfs / statvfs for the system
1819 if both are availible.
1821 2007-11-07 Alexander Larsson <alexl@redhat.com>
1823 Solaris fixes from Halton.Huo@Sun.COM:
1830 * gio/glocalfileinfo.c:
1831 Fix for solaris definition of getpwuid_r
1833 * gio/test-streams.c:
1834 Use G_GNUC_PRETTY_FUNCTION
1836 2007-11-07 Alexander Larsson <alexl@redhat.com>
1838 * gio/gdesktopappinfo.c:
1839 (update_default_list):
1840 Remove double semicolon.
1841 Patch from Jens Granseuer
1843 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1845 * docs/reference/gio/gio-sections.txt:
1846 * gio/gbufferedinputstream.c:
1847 * gio/gbufferedinputstream.h:
1848 * gio/gdatainputstream.c:
1849 * gio/gfileenumerator.c:
1850 * gio/gioscheduler.c:
1851 * gio/gunionvolumemonitor.c:
1853 * programs/gio-save.c:
1854 Fix typo: availible -> available. Unfortuntely this breaks API
1855 and ABI as g_buffered_input_stream_get_available() was renamed.
1857 * gio/gunixmounts.c:
1858 * gio/gbufferedinputstream.c:
1859 Add guards for public functions.
1861 2007-11-06 Ross Burton <ross@openedhand.com>
1863 * docs/reference/gio/Makefile.am:
1864 Fix invalid += usage which automake 1.10 doesn't like.
1866 2007-11-06 Alexander Larsson <alexl@redhat.com>
1869 (g_app_launch_context_class_init):
1872 Patch from Ross Burton
1874 2007-11-06 Alexander Larsson <alexl@redhat.com>
1877 Post release version bump
1879 === gio-standalone 0.1.1 ===
1881 2007-11-06 Alexander Larsson <alexl@redhat.com>
1884 Bump version to 0.1.1
1886 * gio/gsimpleasyncresult.c:
1887 (g_simple_async_result_set_from_error):
1888 Remove bogus g_return_if_fail
1890 2007-11-06 Alexander Larsson <alexl@redhat.com>
1893 The name is gio-standalone
1896 Add top src/builddir to includedir
1898 2007-11-06 Alexander Larsson <alexl@redhat.com>
1900 * docs/reference/gio/gio-sections.txt:
1902 * gio/gbufferedinputstream.c:
1903 * gio/gbufferedoutputstream.c:
1904 * gio/gcancellable.c:
1905 * gio/gdatainputstream.h:
1906 * gio/gdataoutputstream.c:
1907 * gio/gdataoutputstream.h:
1908 * gio/gdirectorymonitor.c:
1910 * gio/gfileattribute.c:
1911 * gio/gfileattribute.h:
1912 * gio/gfileenumerator.c:
1913 * gio/gfileenumerator.h:
1916 * gio/gfileinputstream.h:
1917 * gio/gfilemonitor.c:
1918 * gio/gfileoutputstream.h:
1919 * gio/glocalfilemonitor.h:
1920 * gio/glocalfileoutputstream.h:
1921 * gio/gmemoryinputstream.c:
1922 * gio/gmemoryoutputstream.c:
1923 * gio/gmountoperation.c:
1924 * gio/goutputstream.c:
1925 * gio/goutputstream.h:
1927 * gio/gsimpleasyncresult.c:
1928 * gio/gunixmounts.c:
1929 * gio/gunixmounts.h:
1931 * gio/inotify/inotify-helper.c:
1932 Fix gtk-doc warnings
1934 Patch from Ross Burton
1936 2007-11-06 Alexander Larsson <alexl@redhat.com>
1938 * gio/gfilenamecompleter.c:
1939 (g_filename_completer_get_completions):
1942 * gio/gunixvolume.c:
1943 Remove unused function
1945 Patches from Ross Burton
1947 2007-11-06 Alexander Larsson <alexl@redhat.com>
1952 Padding not needed for interfaces
1954 2007-11-06 Alexander Larsson <alexl@redhat.com>
1956 * gio/gfilemonitor.c:
1960 Make giotypes.h an internal file
1963 * gio/gbufferedinputstream.h:
1964 * gio/gbufferedoutputstream.h:
1965 * gio/gcancellable.h:
1966 * gio/gdatainputstream.h:
1967 * gio/gdataoutputstream.h:
1968 * gio/gdirectorymonitor.c:
1969 * gio/gdirectorymonitor.h:
1974 * gio/gfileattribute.h:
1975 * gio/gfileenumerator.h:
1980 * gio/gfilemonitor.c:
1981 * gio/gfilemonitor.h:
1982 * gio/gfilenamecompleter.c:
1983 * gio/gfilenamecompleter.h:
1984 * gio/gfilterinputstream.h:
1985 * gio/gfilteroutputstream.h:
1986 * gio/ginputstream.h:
1987 * gio/gmemoryinputstream.h:
1988 * gio/gmemoryoutputstream.h:
1989 * gio/gmountoperation.c:
1990 * gio/gmountoperation.h:
1991 * gio/gnativevolumemonitor.c:
1992 * gio/goutputstream.h:
1995 * gio/gsimpleasyncresult.c:
1996 * gio/gsimpleasyncresult.h:
1997 * gio/gsocketinputstream.h:
1998 * gio/gsocketoutputstream.h:
1999 * gio/gthemedicon.c:
2000 * gio/gthemedicon.h:
2004 * gio/gvolumemonitor.c:
2005 * gio/gvolumemonitor.h:
2006 Add padding in classes where it seems useful
2007 Don't include giotypes.h from public headers
2008 Move in Class definitions into c file where possible
2013 2007-11-06 Alexander Larsson <alexl@redhat.com>
2015 * docs/reference/gio/gio-docs.xml:
2016 Better structure for API docs
2018 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2021 * gio/gloadableicon.c:
2022 * gio/gsimpleasyncresult.c:
2023 * gio/gthemedicon.c:
2024 Add some more guards to public functions. Only files missing are now
2027 2007-11-06 Alexander Larsson <alexl@redhat.com>
2029 * docs/reference/gio/gio-docs.xml:
2030 Remove old files, add missing ones
2032 2007-11-06 Alexander Larsson <alexl@redhat.com>
2034 * docs/reference/gio/gio-sections.txt:
2037 Hide implementation classes
2039 * gio/gdriveprivate.h:
2040 * gio/gvolumeprivate.h:
2041 Remove non-existing function declarations
2043 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2046 Fix compilation warnings and add guards to the new functions.
2048 * gio/gasyncresult.c:
2050 Add guards to the public functions.
2053 Implement get_path().
2055 2007-11-06 Alexander Larsson <alexl@redhat.com>
2057 * gio/gfilenamecompleter.c:
2058 Make g_filename_completer_get_completions
2059 return char ** instead of GList for
2062 * docs/reference/gio/gio-docs.xml:
2063 * docs/reference/gio/gio-sections.txt:
2065 * gio/gasyncresult.c:
2066 * gio/gbufferedinputstream.c:
2067 * gio/gbufferedoutputstream.c:
2068 * gio/gcancellable.c:
2069 * gio/gcontenttype.c:
2070 * gio/gdatainputstream.c:
2071 * gio/gdataoutputstream.c:
2072 * gio/gdesktopappinfo.c:
2073 * gio/gdirectorymonitor.c:
2077 * gio/gfileattribute.c:
2078 * gio/gfileenumerator.c:
2081 * gio/gfileinputstream.c:
2082 * gio/gfilemonitor.c:
2083 * gio/gfilenamecompleter.c:
2084 * gio/gfilenamecompleter.h:
2085 * gio/gfileoutputstream.c:
2086 * gio/gfilterinputstream.c:
2088 * gio/ginputstream.c:
2090 * gio/gioscheduler.c:
2091 * gio/gloadableicon.c:
2092 * gio/glocaldirectorymonitor.c:
2094 * gio/glocalfileinputstream.c:
2095 * gio/glocalfilemonitor.c:
2096 * gio/glocalfileoutputstream.c:
2098 * gio/gmemoryinputstream.c:
2099 * gio/gmemoryoutputstream.c:
2100 * gio/gmountoperation.c:
2101 * gio/goutputstream.c:
2102 * gio/gpollfilemonitor.c:
2104 * gio/gsimpleasyncresult.c:
2105 * gio/gsocketinputstream.c:
2106 * gio/gsocketoutputstream.c:
2107 * gio/gthemedicon.c:
2108 * gio/gunionvolumemonitor.c:
2110 * gio/gunixmounts.c:
2111 * gio/gunixvolume.c:
2112 * gio/gunixvolumemonitor.c:
2116 * gio/gvolumemonitor.c:
2117 * gio/gwin32appinfo.c:
2118 Add (mostly stub) doc strings to public functions.
2119 Patch from Andrew Walton (awalton@gmail.com)
2121 2007-11-06 Alexander Larsson <alexl@redhat.com>
2123 * gio/gappinfo.[ch]:
2124 Added GAppLaunchContext object and pass that to launch.
2125 This allows simple implementation of both
2126 launch-on-screen and startup notification via a gtk+
2127 subclass of GAppLaunchContext
2129 * gio/gdesktopappinfo.c:
2130 Implement GAppLaunchContext API
2132 * gio/gwin32appinfo.c:
2135 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2137 * gio/gmountoperation.c:
2138 Add some guards to GMountOperation's public functions.
2140 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2144 * gio/gcancellable.c:
2145 * gio/gdirectorymonitor.c:
2147 * gio/gfileenumerator.c:
2148 * gio/gfilemonitor.c:,
2149 * gio/gfilenamecompleter.c:
2152 * gio/gioscheduler.c:
2156 * gio/gvolumemonitor.c:
2157 Add even more guards to various public functions.
2159 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2162 Add guards to the public functions of GAppInfo.
2164 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2166 * gio/gcontenttype.c:
2167 Add some more guards for public functions.
2169 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2171 * gio/fam/fam-module.c:
2172 * gio/fam/gfamdirectorymonitor.c:
2173 * gio/fam/gfamdirectorymonitor.h:
2174 * gio/fam/gfamfilemonitor.c:
2175 * gio/fam/gfamfilemonitor.h:
2176 * gio/inotify/ginotifydirectorymonitor.c:
2177 * gio/inotify/ginotifydirectorymonitor.h:
2178 * gio/inotify/ginotifyfilemonitor.c:
2179 * gio/inotify/ginotifyfilemonitor.h:
2180 Add proper copyright information and remove an unused variable
2181 in the GInotifyFileMonitor constructor.
2183 * gio/gcancellable.c:
2184 Add a guard for a public function and an assertion to prevent
2185 an undefined program state.
2187 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2189 * gio/gfileattribute.c:
2190 Don't run into an assertion if the given attribute value is NULL
2191 in g_file_attribute_value_get_*() but instead return a fallback
2192 value that makes sense in most situations. Passing them a attribute
2193 value with the wrong type will still run into an assertion.
2195 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2197 * gio/gfileattribute.c:
2199 Add even more guards to the public functions. Also fix the refcounting
2200 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2201 let g_file_info_list_attributes() filter the attributes by namespace
2202 instead of simply ignoring the namespace parameter.
2204 2007-11-03 Sven Herzberg <sven@imendio.com>
2206 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2207 (This makes gio work on MacOS X again)
2209 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2212 Build the gio subdirectory before the docs. Otherwise the build will
2215 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2216 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2217 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2218 Add guards to the public functions.
2220 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2222 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2223 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2224 to prevent a compiler warning.
2226 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2227 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2228 return something in the non-void function find_topdir_for().
2230 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2237 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2239 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2240 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2241 * gwin32appinfo.c (g_win32_app_info_launch):
2242 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2243 envp_for_startup_id, g_desktop_app_info_launch,
2244 g_desktop_app_info_launch_uris):
2246 Give an opaque 'startup_id' string instead of 'envp'.
2247 Support empty file lists for launching new windows.
2248 Fix infinite recursion bug when launching URIs.
2250 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2253 Add guard to the new g_file_get_uri_scheme() function.
2255 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2258 Convert a g_return_val_if_fail() to setting the GError instead as
2259 otherwise applications have to verify the parameter before otherwise
2260 and the parameter might come directly from the user.
2262 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2264 * gio/inotify/ginotify*.[ch]:
2265 Add missing copyright information.
2267 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2270 Add guards in the beginning of public functions to check for valid
2271 parameters and fix a bug in copy_stream_with_progress() that could've
2272 caused writing less bytes than reading.
2273 * gio/glocalfileinfo.c:
2274 Check for a NULL parameter and set the GError accordingly then.
2275 * gio/goutputstream.c:
2276 Fix the same bug as in gfile.c that could've caused writing less bytes
2277 than reading in g_output_stream_real_splice().
2279 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2282 Use the correct gvolumeprivate.h naming
2284 2007-11-01 Christian Kellner <gicmo@gnome.org>
2287 Remove leftover "$(daemon_sources)" entry.
2289 2007-11-01 Christian Kellner <gicmo@gnome.org>
2294 Add copyright information to source files.
2296 2007-11-01 Alexander Larsson <alexl@redhat.com>
2300 Add g_file_get_uri_scheme
2302 2007-11-01 Alexander Larsson <alexl@redhat.com>
2305 * gio/gdesktopappinfo.c:
2306 * gio/gwin32appinfo.c:
2307 Add g_app_info_get_default_for_uri_scheme.
2309 2007-11-01 Alexander Larsson <alexl@redhat.com>
2312 Correct filename for gdriveprivate.h
2314 2007-10-31 Alexander Larsson <alexl@redhat.com>
2317 Rename id:value to id:file
2320 * gio/glocalfileinfo.c:
2323 2007-10-31 Alexander Larsson <alexl@redhat.com>
2325 * gio/gunixvolume.c:
2327 Remove g_volume_get_platform_id, as thats not
2328 needed with the simpler union volume monitor
2330 2007-10-31 Alexander Larsson <alexl@redhat.com>
2333 * gio/guniondrive.[ch]: Removed.
2334 * gio/gunionvolume.[ch]: Removed.
2335 Remove GUnionDrive/Volume
2337 * gio/gunionvolumemonitor.c:
2338 Simplify union volume monitor, now we
2339 only have one native volume monitor and
2340 we use the actual volumes/drives from the
2341 child monitors instead of wrapping them
2343 * gio/gnativevolumemonitor.[ch]:
2344 Base class for native volume monitors.
2345 Includes priority and get_volume_for_mountpoint
2348 Add g_file_find_enclosing_volume
2351 Remove volume name fs attribute
2352 Add readonly fs attribute
2355 Implement readonly attribute
2356 remove volume name attribute
2357 Implement find_enclosing volume
2359 * gio/gunixmounts.c:
2360 Add a volume for "/".
2362 * gio/gunixvolume.[ch]:
2363 Set better name for /
2365 * gio/gunixvolumemonitor.[ch]:
2366 Derive from GNativeVolumeMonitor
2367 Implement get_volume_for_mountpoint
2370 GVolume typedef moved to gfile.h
2372 * gio/gvolumeprivate.h:
2373 Add g_volume_get_for_mount_path
2375 2007-10-31 Alexander Larsson <alexl@redhat.com>
2377 * gio/gunixmounts.[ch]:
2378 Add cache info to unix mount listers
2379 Make getmntent use threadsafe
2380 Add is_system_internal attribute for GUnixMount
2382 * gio/gunixvolume.c:
2383 (g_unix_volume_new):
2384 Use is_system_internal instead of own code
2386 * gio/glocaldirectorymonitor.c:
2387 * gio/gunixvolumemonitor.c:
2388 Update to new gunixmounts API
2393 2007-10-30 Alexander Larsson <alexl@redhat.com>
2396 Add volume name fsinfo attribute
2399 Read volume name info
2401 * gio/gunionvolumemonitor.c:
2402 Fix infinite loops when finalizing a union volume monitor
2404 2007-10-30 Alexander Larsson <alexl@redhat.com>
2406 * gio/goutputstream.[ch]:
2407 Add splice() with default implementation
2409 * gio/gsocketoutputstream.c:
2410 (g_socket_output_stream_write):
2411 Return error on cancellation correctly.
2413 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2415 * gio/glocalfile.c (g_local_file_trash):
2416 Do not leak a string.
2418 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2420 * gio/gfile.c (g_file_load_contents):
2421 Unref the stream after closing it.
2423 2007-10-25 Alexander Larsson <alexl@redhat.com>
2425 * gio/gioscheduler.h:
2428 2007-10-25 Alexander Larsson <alexl@redhat.com>
2432 Add g_file_has_uri_scheme and implement for local files
2434 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2436 * gio/gdesktopappinfo.c: do not leak a string.
2438 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2440 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2441 (g_local_directory_monitor_new):
2442 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2443 (g_local_file_monitor_new):
2444 Only look for the monitor type that should be used the first time
2445 and use g_qsort_with_data() instead of our own bubble sort
2448 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2451 * gio/fam/Makefile.am:
2452 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2453 * gio/fam/fam-helper.h:
2454 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2455 * gio/fam/gfamdirectorymonitor.c:
2456 * gio/fam/gfamdirectorymonitor.h:
2457 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2458 * gio/fam/gfamfilemonitor.h:
2459 * gio/glocaldirectorymonitor.c:
2460 * gio/glocaldirectorymonitor.h:
2461 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2462 * gio/glocalfilemonitor.h:
2463 * gio/inotify/Makefile.am:
2464 * gio/inotify/ginotifydirectorymonitor.c:
2465 * gio/inotify/ginotifydirectorymonitor.h:
2466 * gio/inotify/ginotifyfilemonitor.c:
2467 * gio/inotify/ginotifyfilemonitor.h:
2468 Implement the FAM and Inotify monitors as
2469 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2470 their own GIO module. GLocal(Directory|File)Monitor will use the
2471 monitor with the highest rank that is supported on that machine.
2473 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2476 Change GIO module dir to $(libdir)/gio/modules and change
2477 the log domain from GVFS to GIO. Also only export symbols starting
2478 with g_ in the resulting library.
2479 * gio/test-streams.c: (main):
2480 Set log handler for the GIO log domain.
2482 2007-10-22 Alexander Larsson <alexl@redhat.com>
2484 * gio/gfilenamecompleter.[ch]:
2485 Add g_filename_completer_set_dirs_only
2487 2007-10-22 Alexander Larsson <alexl@redhat.com>
2490 * gio/gurifuncs.[ch]:
2491 Add some simple URI helpers
2493 * gio/gfilenamecompleter.[ch]:
2494 Added object for filename (parse name actually) completion
2497 Handle ~ in parse names
2499 2007-10-17 Alexander Larsson <alexl@redhat.com>
2502 * gio/glocalfileinfo.c:
2503 Add and implement id:value attribute
2505 2007-10-17 Alexander Larsson <alexl@redhat.com>
2508 * gio/guniondrive.c:
2510 Add and implement g_drive_has_volumes
2512 2007-10-17 Alexander Larsson <alexl@redhat.com>
2515 * gio/glocalfileinfo.[ch]:
2516 Add unix:is_mountpoint and implement for local files
2518 2007-10-16 Alexander Larsson <alexl@redhat.com>
2520 * gio/gunionvolumemonitor.c:
2521 (g_union_volume_monitor_init):
2522 Fix up the unix type getting so that it works with gcc
2524 2007-10-12 Alexander Larsson <alexl@redhat.com>
2527 * gio/glocalfileinfo.c:
2528 Add thumbnail:failed to file info
2530 2007-10-12 Richard Hult <richard@imendio.com>
2532 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2533 optimizing away the get_type call (happens with some gcc versions,
2534 like the one shipped with OS X 10.4).
2536 2007-10-12 Alexander Larsson <alexl@redhat.com>
2538 * gio/glocalfileinfo.c:
2539 (_g_local_file_info_set_attribute):
2540 Fix build if not HAVE_XATTR
2541 Patch from Milosz Derezynski <internalerror@gmail.com>
2543 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2545 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2546 around for review, otherwise I would have asked you before
2549 2007-10-11 Alexander Larsson <alexl@redhat.com>
2552 Add thumbnail:path attribute
2554 * gio/glocalfileinfo.c:
2555 Implement thumbnail:path for local files
2557 2007-10-11 Alexander Larsson <alexl@redhat.com>
2559 * gio/glocalfileinfo.c:
2560 (_g_local_file_info_get):
2561 Avoid duplicate icon names
2563 2007-10-11 Alexander Larsson <alexl@redhat.com>
2565 * gio/gthemedicon.[ch]:
2566 Change g_themed_icon_get_names return type to const
2568 2007-10-10 Alexander Larsson <alexl@redhat.com>
2570 * gio/glocalfileinfo.c:
2571 Don't reference freed memory
2573 2007-10-10 Alexander Larsson <alexl@redhat.com>
2575 * gio/gfileattribute.c:
2578 * gio/glocalfileinfo.c:
2581 2007-10-10 Alexander Larsson <alexl@redhat.com>
2584 Check for NULL icons
2586 * gio/gfileattribute.c:
2587 Don't dup when getting objects (same as for string attributes)
2589 * gio/gicon.c (g_icon_equal):
2590 Safely handle NULLs in equal
2592 2007-10-10 Alexander Larsson <alexl@redhat.com>
2595 Fix c++ compilation issues
2596 Patch from Milosz Derezynski <internalerror@gmail.com>
2598 2007-10-10 Alexander Larsson <alexl@redhat.com>
2600 * programs/gio-monitor-dir.c:
2601 Don't crash if dir monitor not supported.
2603 2007-10-09 Alexander Larsson <alexl@redhat.com>
2606 Add missing G_END_DECLS
2608 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2610 * gio/gfile.c: (g_file_set_display_name),
2611 (g_file_query_settable_attributes),
2612 (g_file_query_writable_namespaces):
2613 Return NULL not FALSE on errors as the return type is a pointer.
2615 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2617 * gio/glocalfile.c: (g_local_file_monitor_file):
2618 Don't call monitor_file on the default interface vtable (which
2619 is NULL) but simply return NULL. The caller, GFile, will create a
2620 polling monitor if NULL is returned.
2622 2007-10-09 Alexander Larsson <alexl@redhat.com>
2626 * gio-unix-2.0.pc.in:
2627 Add gio-unix-2.0.pc if OS_UNIX
2630 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2632 2007-10-09 Alexander Larsson <alexl@redhat.com>
2634 * gio/gunixmounts.[ch]:
2635 Make unix mount monitoring API sane.
2636 Now its just a object with mounts_changed
2637 and mountpoints_changed signals.
2639 * gio/glocaldirectorymonitor.c:
2640 * gio/gunixvolumemonitor.c:
2641 Use new mount monitor api
2643 2007-10-09 Alexander Larsson <alexl@redhat.com>
2645 * gio/gunixmounts.[ch]:
2646 Move guess type into one call for mounts and one for mountpoints
2649 * gio/gunixvolume.c:
2652 2007-10-09 Alexander Larsson <alexl@redhat.com>
2654 * gio/gunixmounts.[ch]:
2655 Remove _ prefix in preparation to make this semi-public
2656 Hide implementation of structs
2658 * gio/glocaldirectorymonitor.c:
2660 * gio/gunixvolume.c:
2661 * gio/gunixvolumemonitor.c:
2662 Update for above API changes
2664 2007-10-08 Alexander Larsson <alexl@redhat.com>
2667 Better polling fallback. This also handles the case where we have
2668 a monitor_file implementation, but it fails.
2670 2007-10-08 Alexander Larsson <alexl@redhat.com>
2674 * gio/gunixmounts.c:
2675 * programs/gio-monitor-dir.c:
2676 * programs/gio-monitor-file.c:
2677 Added cancellable to file monitoring calls.
2678 These are really sync calls and need this.
2680 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2682 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2683 (g_local_vfs_class_init):
2684 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2685 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2687 2007-10-05 Alexander Larsson <alexl@redhat.com>
2689 * gio/gdirectorymonitorprivate.h:
2690 * gio/gfilemonitorprivate.h:
2691 * gio/gdirectorymonitor.h:
2692 * gio/gfilemonitor.h:
2693 Remove *private.h and move to the public API, so that
2694 we can do implementations outside gio (such as in gvfs)
2696 * gio/gdirectorymonitor.c:
2697 * gio/gfilemonitor.c:
2698 * gio/glocaldirectorymonitor.c:
2699 * gio/gpollfilemonitor.c:
2700 * gio/inotify/inotify-helper.c:
2701 * gio/fam/fam-helper.c:
2702 Update to the new header names
2704 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2706 * gio/gdirectorymonitor.c:
2707 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2710 2007-10-04 Alexander Larsson <alexl@redhat.com>
2712 * gio/glocalfileinfo.c (get_access_rights):
2713 Set CAN_TRASH when we can move the file.
2714 We should really also check for a parent trash dir.
2716 2007-10-04 Alexander Larsson <alexl@redhat.com>
2718 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2719 Add can_trash access attribute
2721 2007-10-04 Alexander Larsson <alexl@redhat.com>
2724 (g_local_file_trash):
2725 Create info file first. This is per-spec and allows
2726 us to actually trash directories.
2728 2007-10-02 Alexander Larsson <alexl@redhat.com>
2730 * gio/gdesktopappinfo.c:
2731 Implement the new mime support code.
2732 Always set app as handling mimetype when being set as default for it
2734 2007-10-01 Alexander Larsson <alexl@redhat.com>
2736 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2737 Fix up check for xattrs:
2739 2007-10-01 Alexander Larsson <alexl@redhat.com>
2742 (g_app_info_set_as_default_for_extension):
2743 (g_app_info_add_supports_type):
2744 (g_app_info_can_remove_supports_type):
2745 (g_app_info_remove_supports_type):
2746 Make these fail nicely if not implemented
2748 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2750 * gio/glocalfileoutputstream.c:
2751 * gio/glocalfileoutputstream.h:
2756 * programs/gio-save.c:
2757 Add a GFileCreateFlags argument to operations that can create
2760 2007-10-01 Alexander Larsson <alexl@redhat.com>
2762 * gio/gappinfo.[ch]:
2763 * gio/gdesktopappinfo.c:
2764 Add more (stubbed out) mime API needed for nautilus
2766 2007-10-01 Alexander Larsson <alexl@redhat.com>
2769 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2770 Add g_app_info_set_as_default_for_extension.
2772 * gio/gdesktopappinfo.c:
2773 Dummy for g_app_info_set_as_default_for_extension
2774 Support flags in g_app_info_create_from_commandline
2776 * gio/gwin32appinfo.c:
2778 Update for API changes
2780 * gio/gthemedicon.c:
2781 Properly NULL-terminate list of icon names
2783 2007-09-28 Alexander Larsson <alexl@redhat.com>
2785 * gio/gloadableicon.h:
2786 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2788 2007-09-28 Alexander Larsson <alexl@redhat.com>
2791 Install headers in $includedir/gio-standalone/
2793 * gio-2.0.pc.in: Added.
2794 * gio-standalone.pc.in: Removed.
2797 Renamed pkg-config file to match glib (for future move)
2798 Update to the new include dir
2801 Add more TODO comments
2803 2007-09-28 Alexander Larsson <alexl@redhat.com>
2805 * gio/gdesktopappinfo.[ch]:
2806 Expose new_from_filename
2807 Add getter for is_hidden and handle it better
2809 2007-09-28 Alexander Larsson <alexl@redhat.com>
2811 * gio/gfileinfo.[ch]:
2812 Rename g_file_size_format_for_display to
2813 g_format_file_size_for_display.
2814 Now it doesn't have the g_file prefix, so we
2815 can later move it to glib.
2817 2007-09-28 Alexander Larsson <alexl@redhat.com>
2819 * gio/gappinfo.[ch]:
2820 Add g_app_info_get_id and g_app_info_get_executable.
2821 Make all getters non-reffing
2822 Make g_app_info_launch take GFile arguments.
2823 Add must_support_uris argument to g_app_info_get_default_for_type.
2825 * gio/gwin32appinfo.c:
2826 Update to GAppInfo api changes
2828 * gio/gdesktopappinfo.c:
2829 Update to GAppInfo api changes
2830 Implement supports_xdg_startup_notify
2832 * gio/gfileicon.c (g_file_icon_get_file):
2833 Make getter non-reffing.
2838 2007-09-27 Alexander Larsson <alexl@redhat.com>
2840 * gio/gfileinfo.[ch]:
2841 Add g_file_size_format_for_display helper
2843 2007-09-27 Alexander Larsson <alexl@redhat.com>
2845 * gio/glocalfileinfo.c:
2846 Set UNIX_GID from gid, not from uid
2848 2007-09-27 Alexander Larsson <alexl@redhat.com>
2851 Add g_file_set_attributes_async
2853 2007-09-27 Alexander Larsson <alexl@redhat.com>
2855 * gio/glocalfile.c (g_local_file_set_display_name):
2856 Fix set_display_name to actually rename to the right place.
2857 Use lstat to look for existing files so we don't overwrite
2860 2007-09-26 Alexander Larsson <alexl@redhat.com>
2863 Add g_file_set_display_name_async()
2865 2007-09-26 Alexander Larsson <alexl@redhat.com>
2868 Add load_partial_contents async calls
2871 Make internal function static
2873 2007-09-26 Alexander Larsson <alexl@redhat.com>
2875 * gio/glocalfileinfo.c:
2876 Correctly detect broken symlinks
2878 2007-09-26 Alexander Larsson <alexl@redhat.com>
2880 * gio/gcancellable.c (g_cancellable_cancel):
2881 Allow cancel on NULL cancellable
2883 2007-09-25 Alexander Larsson <alexl@redhat.com>
2885 * gio/gsimpleasyncresult.c:
2886 Don't allocate g_error manually.
2887 Fixes g_slice/g_new mixup crash
2889 2007-09-25 Alexander Larsson <alexl@redhat.com>
2891 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2892 Actually set active_backend.
2893 This means the monitor will be cancelled correctly.
2895 2007-09-25 Alexander Larsson <alexl@redhat.com>
2897 * gio/gdirectorymonitor.c:
2898 Set timeout to NULL when destroying
2900 2007-09-25 Alexander Larsson <alexl@redhat.com>
2903 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2904 that is a better description of the error.
2906 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2908 * gio/gvfs.c: (g_vfs_get_local):
2909 Make the local vfs variable static. The same instance should
2912 2007-09-24 Alexander Larsson <alexl@redhat.com>
2914 * gio/glocalfileinfo.c:
2915 Pass in actual length read into sniffer, not the length
2918 2007-09-21 Alexander Larsson <alexl@redhat.com>
2920 * gio/gfileenumerator.c:
2923 * gio/gfileinputstream.c:
2924 * gio/gfileoutputstream.c:
2925 * gio/ginputstream.c:
2926 * gio/goutputstream.c:
2927 Don't crash if async callbacks are NULL
2929 2007-09-20 Alexander Larsson <alexl@redhat.com>
2932 Add async enumerate_children method and default
2935 2007-09-20 Alexander Larsson <alexl@redhat.com>
2938 Add g_file_contains_file & g_file_get_relative_path, since they
2939 were needed for nautilus.
2940 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2945 Implement new methods
2947 2007-09-17 Alexander Larsson <alexl@redhat.com>
2950 * gio/gfileinputstream.[ch]:
2951 * gio/gfileoutputstream.[ch]:
2953 * gio/glocalfileenumerator.[ch]:
2954 * gio/glocalfileinfo.[ch]:
2955 * gio/glocalfileinputstream.c:
2956 * gio/glocalfileoutputstream.c:
2957 * gio/gpollfilemonitor.c:
2958 * programs/gio-copy.c:
2959 * programs/gio-info.c:
2960 * programs/gio-move.c:
2961 Rename get_file_info to query_info() to make it clearer
2962 that these are not simple getters, but do i/o.
2964 2007-09-17 Alexander Larsson <alexl@redhat.com>
2966 * gio/gdatainputstream.[ch]:
2967 * gio/test-streams.c:
2968 Use _read_XXX instead of _get_XXX for the i/o calls
2971 2007-09-17 Alexander Larsson <alexl@redhat.com>
2974 Added needed stuff to TODO comment
2976 2007-09-17 Alexander Larsson <alexl@redhat.com>
2978 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2979 Don't error out removing the backup copy if it doesn't
2982 2007-09-14 Alexander Larsson <alexl@redhat.com>
2984 * programs/Makefile.am:
2985 * programs/gvfs-*.c:
2987 Renamed apps from gvfs-xxx to gio-xxx.
2989 2007-09-14 Alexander Larsson <alexl@redhat.com>
2992 * gio/gfileoutputstream.[ch]:
2993 * gio/glocalfileoutputstream.c:
2994 * programs/gvfs-save.c:
2995 g_file_output_stream_get_etag doesn't do i/o, so remove
2996 cancellation and error.
2998 2007-09-14 Alexander Larsson <alexl@redhat.com>
3001 Add new_etag output to replace_contents functions
3003 2007-09-14 Alexander Larsson <alexl@redhat.com>
3005 * gio/gfileoutputstream.[ch]:
3006 Add async get_file_info and default implementation
3008 2007-09-14 Alexander Larsson <alexl@redhat.com>
3010 * gio/gfileinputstream.c:
3011 Implement fallback wrapper for async get_file_info
3013 2007-09-14 Alexander Larsson <alexl@redhat.com>
3016 Add etag out argument to load_contents
3021 2007-09-14 Alexander Larsson <alexl@redhat.com>
3023 * gio/gcontenttype.c (looks_like_text):
3024 Whitespace like tab, cr and lf do not make the
3027 2007-09-14 Alexander Larsson <alexl@redhat.com>
3029 * gio/gfileinputstream.[ch]:
3030 Add async get_file_info.
3032 2007-09-13 Alexander Larsson <alexl@redhat.com>
3034 * gio/goutputstream.c (g_output_stream_write_all):
3035 Allow NULL for bytes_written
3037 2007-09-13 Alexander Larsson <alexl@redhat.com>
3039 * gio/gmemoryinputstream.[ch]:
3040 Add accessors for data
3042 2007-09-13 Alexander Larsson <alexl@redhat.com>
3044 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3045 Don't crash if length is NULL