1 2008-01-21 Alexander Larsson <alexl@redhat.com>
4 * inotify/inotify-helper.c:
5 * inotify/inotify-kernel.c:
6 * inotify/inotify-path.c:
7 * inotify/local_inotify.h: Removed.
8 * inotify/local_inotify_syscalls.h: Removed.
9 Removed the included copies of the inotify
10 headers. We now only use the <sys/inotify.h>
11 header which exists on modern systems.
12 This fixes problems on ARM and SH5 (#510448)
13 but is also generally much cleaner and future
14 safe. For instance, if other OSes add support
15 for inotify it should "just work".
17 2008-01-20 Matthias Clasen <mclasen@redhat.com>
19 * inotify/*.c: Coding style fixes.
20 * inotify/inotify-missing.c: Use g_timeout_add_seconds
23 2008-01-20 Matthias Clasen <mclasen@redhat.com>
27 * gmemoryinputstream.c:
28 * gmemoryoutputstream.c:
30 * gthemedicon.c: Documentation updates
32 2008-01-20 Murray Cumming <murrayc@murrayc.com>
34 * gfile.c: documentation: Fixed more minor
37 2008-01-18 Murray Cumming <murrayc@murrayc.com>
39 * gmount.c: (g_mount_remount): documentation:
40 Mention g_mount_remount_finish() instead of
41 g_mount_unmount_finish().
43 2008-01-18 Murray Cumming <murrayc@murrayc.com>
47 * gfile.c: Fixed some minor typos in the
50 2008-01-18 Murray Cumming <murrayc@murrayc.com>
52 * gio/gvolumemonitor.c:
53 (g_volume_monitor_get_connected_drives):
54 (g_volume_monitor_get_volumes):
55 (g_volume_monitor_get_mounts): Documentation:
56 Clarify the ownership of the regurn GLists.
58 2008-01-17 Alexander Larsson <alexl@redhat.com>
61 Add the async find_enclosing_mount version
62 to the header file too.
64 2008-01-17 Alexander Larsson <alexl@redhat.com>
67 Add async version of find_enclosing_mount
68 with default implementation.
70 2008-01-17 Alexander Larsson <alexl@redhat.com>
75 Allow calls to implementation of copy and write
76 even if the type of the file implementations is
77 different. This can be used to implement native
78 upload and download calls in a vfs.
82 Protect against the case where move is called
83 with one file not being local.
85 Make sure we call the progress callback once
86 in the native move operation so that the caller
87 knows how many bytes were copied.
89 2008-01-16 Murray Cumming <murrayc@murrayc.com>
94 * gfileoutputstream.c:
99 * gunixmounts.c: Corrected some typos in the documentation:
101 its -> it's (where appropriate).
103 2008-01-16 Alexander Larsson <alexl@redhat.com>
107 Add g_file_query_exists (#508771)
109 2008-01-15 Murray Cumming <murrayc@murrayc.com>
114 * gvolume.c: For async functions that have no non-async
115 version, document that the GAsyncReadyCallback may be NULL.
118 2008-01-15 Alexander Larsson <alexl@redhat.com>
120 * gmemoryinputstream.c:
121 * gmemoryoutputstream.c:
122 Don't do pointer arithmetic on void * (#508602)
123 Patch from Kazuki IWAMOTO
125 2008-01-14 Matthias Clasen <mclasen@redhat.com>
127 * === Released 2.15.2 ===
129 2008-01-14 Alexander Larsson <alexl@redhat.com>
131 * gfile.c (g_file_monitor_file):
132 Don't set error here, since we fallback to polling monitor.
134 2008-01-14 Alexander Larsson <alexl@redhat.com>
137 (g_file_monitor_directory):
138 (g_file_monitor_file):
139 Add GError to file monitor calls
141 * glocaldirectorymonitor.c:
142 * glocaldirectorymonitor.h:
144 * glocalfilemonitor.c:
145 * glocalfilemonitor.h:
147 Update for above change
149 2008-01-14 Alexander Larsson <alexl@redhat.com>
153 Handle root correctly in g_file_get_relative_path (#508719)
155 2008-01-14 Alexander Larsson <alexl@redhat.com>
158 Clean up docs and example for GAsyncResult (#508074)
160 2008-01-11 Murray Cumming <murrayc@murrayc.com>
162 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
163 and correct some spelling mistakes. Bug #508108.
165 2008-01-11 Matthias Clasen <mclasen@redhat.com>
167 * glocalfileinfo.c: Add a comment.
169 2008-01-10 Murray Cumming <murrayc@murrayc.com>
171 * gfileinfo.c: GFileInfo description: Mention
172 how to actually set attributes in a GFile and how to discover
173 which attributes are settable. Bug #508378.
175 2008-01-10 A. Walton <awalton@svn.gnome.org>
177 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
178 (g_app_info_get_default_for_type):
179 Check for NULL content types.
181 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
183 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
185 2008-01-09 Murray Cumming <murrayc@murrayc.com>
187 * gfile.c: *_async() functions: Several small corrections
188 to the documentation, mostly correcting copy/paste errors
189 and improving some sentences.
191 2008-01-09 Dan Winship <danw@gnome.org>
193 * glocalfile.c (get_unique_filename): x86_64 fix
195 2008-01-09 Alexander Larsson <alexl@redhat.com>
200 Add g_unix_mount_guess_should_display and use
201 for unix volume monitor backend.
202 This means we more or less show what the
203 gnome-vfs backend did.
204 Based on patch from Padraig O'Briain
206 2008-01-09 Alexander Larsson <alexl@redhat.com>
210 Add g_themed_icon_new_with_default_fallbacks
213 Use default fallbacks for icons
215 2008-01-09 Alexander Larsson <alexl@redhat.com>
218 * gmountoperation.[ch]:
219 Change the API a bit so that unhandled methods
220 get reported via the reply, rather than by
221 the signal emission return value. This is because
222 some handlers can't know this immediately without
223 doing I/O, and this is an async operation that
226 2008-01-09 Alexander Larsson <alexl@redhat.com>
229 * fam/gfamdirectorymonitor.c:
230 * fam/gfamfilemonitor.c:
231 Fix double free crash (#508224)
232 Patch from Joe Marcus Clarke
234 008-01-07 Matthias Clasen <mclasen@redhat.com>
236 * === Released 2.15.1 ===
238 2008-01-07 Alexander Larsson <alexl@redhat.com>
240 * gunixinputstream.c (g_unix_input_stream_skip_finish):
241 Fix warning (#507835)
243 2008-01-07 Alexander Larsson <alexl@redhat.com>
246 Pass --internal to glib-genmarshal
251 Use better types for signal arguments (#507822)
253 2008-01-07 Alexander Larsson <alexl@redhat.com>
256 Build test subdir after .
257 Remove gdirectorymonitor.[ch]
259 * gdirectorymonitor.[ch]:
263 Remove GDirectoryMonitor and make
264 GFileMonitor the baseclass for both file and
265 directory monitors. Lift the more generic
266 rate limiting code from GDirectoryMonitor
270 * fam/gfamdirectorymonitor.[ch]:
271 * inotify/ginotifydirectorymonitor.[ch]:
272 * inotify/inotify-helper.c:
273 * glocaldirectorymonitor.[ch]:
276 Update for the removed GDirectoryMonitor.
278 * gmemoryoutputstream.c:
279 Remove ununsed variable
281 2008-01-07 Alexander Larsson <alexl@redhat.com>
283 * gmemoryinputstream.c:
284 Translate error strings
287 * gmemoryoutputstream.[ch]:
288 New implementation that avoids using GByteArray
289 in implementation and API. (#506377)
291 2008-01-06 Matthias Clasen <mclasen@redhat.com>
293 * tests/*: Add a test for memory input streams.
295 * Makefile.am: Add tests to SUBDIRS.
297 2008-01-06 Matthias Clasen <mclasen@redhat.com>
299 * glocalfilemonitor.c:
300 * glocaldirectorymonitor.c: Mark property nicks and blurbs
303 2008-01-06 Matthias Clasen <mclasen@redhat.com>
305 * gdesktopappinfo.c: Fix a docs typo.
307 * gfileattribute.c: Add information about extended attributes
308 to the documentation. (#505058)
310 2008-01-04 Alexander Larsson <alexl@redhat.com>
314 Use the right type (uint) for the ask_password signal.
316 2008-01-04 Alexander Larsson <alexl@redhat.com>
321 Add g_app_info_supports_files()
322 Remove desktop arg from g_app_info_should_show().
324 * gdesktopappinfo.[ch]:
325 Implement g_app_info_supports_files() and new should_show()
326 Add g_desktop_app_info_set_desktop_env() to set the desktop
327 for should_show(). (This will be set by gtk+ later)
329 2008-01-04 Alexander Larsson <alexl@redhat.com>
332 * gmemoryinputstream.[ch]:
333 Improve API so that you can use multiple chunks
334 of memory and custom destroy functions. (#506374)
336 2008-01-03 Alexander Larsson <alexl@redhat.com>
339 Handle NULL attribute matchers safely, as we return this
340 for empty attribute matcher strings.
342 2008-01-03 Alexander Larsson <alexl@redhat.com>
344 * gunixmounts.c (g_unix_is_mount_path_system_internal):
345 Add /usr/local to list of internal mountpoints
347 2008-01-03 Alexander Larsson <alexl@redhat.com>
350 Check for HAVE_LCHOWN (#505887)
352 2008-01-03 Alexander Larsson <alexl@redhat.com>
356 Add define for selinux context attribute.
357 Fix missing : -> :: namespace separator change
358 Fix missing _ -> - name change for xattr-sys.
361 2008-01-03 Alexander Larsson <alexl@redhat.com>
364 Link to libglib and libgobject directly (#504879)
365 Patch from Sebastien Bacher
367 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
369 * gfile.c: Expanded the g_file_new_for_commandline_arg
370 description a bit, based on the code and the docs of the
371 other g_file_new_for_* functions.
373 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
375 * gfilemonitor.h: Fixed typo in docs.
377 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
379 Updates to GIO documentation. (#506395, Mikael Hermansson)
381 * gcontenttype.c: Describe memory management for return value of
382 g_content_types_get_registered(). Missing piece from #505815.
383 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
384 GVolume, GDrive, GMounts, which hopefully gives the user less
385 confusions when using this API. Following explainations from
386 Alexander Larsson on gtk-devel-list.
388 2007-12-30 Matthias Clasen <mclasen@redhat.com>
390 * gfileinfo.c: Expand the long description.
392 2007-12-30 Matthias Clasen <mclasen@redhat.com>
395 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
396 fix builds with --disable-visibility. (#500273, Christian Persch)
398 2007-12-30 Matthias Clasen <mclasen@redhat.com>
400 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
401 in the list of returned app infos.
403 2007-12-30 Matthias Clasen <mclasen@redhat.com>
405 * gappinfo.c: Fix a cross-reference
407 2007-12-30 Matthias Clasen <mclasen@redhat.com>
409 * gfileinputstream.c:
410 * gfileoutputstream.c:
416 * gfileinfo.c: Documentation updates.
418 2007-12-26 Matthias Clasen <mclasen@redhat.com>
420 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
423 2007-12-26 Matthias Clasen <mclasen@redhat.com>
425 * gcontenttype.c (g_content_types_get_registered): Don't return
426 freed memory (#505815, Mikael Hermansson)
428 2007-12-25 Paolo Borelli <pborelli@katamail.com>
430 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
431 used to detect statbuf->st_blocks. (#505042)
433 2007-12-24 Matthias Clasen <mclasen@redhat.com>
435 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
436 environment handling. (#504829, Cosimo Cecchi)
438 2007-12-22 Matthias Clasen <mclasen@redhat.com>
440 * gappinfo.c: Doc improvements
442 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
445 2007-12-20 Matthias Clasen <mclasen@redhat.com>
447 * === Released 2.15.0 ===
449 2007-12-20 Hans Breuer <hans@breuer.org>
451 * makefile.msc : don't build gdesktopappinfo.obj, it collides
452 with symbols gwin32appinfo.obj, added gmount.obj
453 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
455 2007-12-20 Alexander Larsson <alexl@redhat.com>
461 * gfilenamecompleter.c:
464 * gpollfilemonitor.c:
465 File attribute renames:
468 id::fs -> id::filesystem
470 2007-12-20 Alexander Larsson <alexl@redhat.com>
479 Add GMountUnmountFlags to all unmount and
481 Add g_mount_remount() call.
483 2007-12-20 Alexander Larsson <alexl@redhat.com>
485 * gvfs.c (get_default_vfs):
486 Fix unused variable warning
488 2007-12-19 Matthias Clasen <mclasen@redhat.com>
490 * pltcheck.sh: Update
492 2007-12-19 Matthias Clasen <mclasen@redhat.com>
494 * gunionvolumemonitor.c:
495 * gunixmount.c: Remove C99 comments
497 2007-12-19 Matthias Clasen <mclasen@redhat.com>
499 * gio.symbols: Add some missing symbols
501 2007-12-19 Alexander Larsson <alexl@redhat.com>
504 Make g_io_modules_load_all_in_directory not unuse
505 loaded modules so that users of it can do stuff
507 Init internal "module" types.
508 Initialize static prio and name for types so that
509 we don't have to load modules to get it.
511 * gnativevolumemonitor.h:
513 Move is_supported to parent class so that
514 non-native monitors can avoid being initialized
515 too. (For instance GDaemonVolumeMonitor if we're
516 not using GDaemonVfs.)
518 * glocaldirectorymonitor.[ch]:
519 * glocalfilemonitor.[ch]:
520 * gunionvolumemonitor.c:
521 * gunixvolumemonitor.c:
523 Find plugins using the static prio+name to
524 avoid unnecessarily loading the modules.
526 2007-12-19 Alexander Larsson <alexl@redhat.com>
531 2007-12-19 Alexander Larsson <alexl@redhat.com>
533 * gunionvolumemonitor.c:
534 Store the native type as GType, not class so that
535 we can unload it. But still avoid unnecessarily
538 2007-12-19 David Zeuthen <davidz@redhat.com>
540 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
541 add signals 'disconnected' and 'eject-button' on GDrive. Add
542 signal 'removed' on GVolume and 'unmounted' on GMount.
544 * gdrive.c: (g_drive_base_init):
546 * gfile.c: (g_file_mount_mountable),
547 (g_file_mount_enclosing_volume):
550 * gmount.c: (g_mount_base_init):
552 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
553 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
554 * gvolume.c: (g_volume_base_init), (g_volume_mount):
558 2007-12-17 Matthias Clasen <mclasen@redhat.com>
560 * *.c: Fix up includes in the section docs.
562 2007-12-17 Alexander Larsson <alexl@redhat.com>
564 * gnativevolumemonitor.h:
565 * gunionvolumemonitor.c:
566 * gunixvolumemonitor.c:
567 Add is_supported() to GNativeVolumeMonitorClass so
568 that we can avoid having to create an object to see
569 if the backend is supported at runtime.
570 Also add name member and an env var to pick a specific
571 volume monitor backend.
575 Add cancellable to _g_mount_get_for_mount_path()
577 * glocaldirectorymonitor.c:
578 * glocalfilemonitor.c:
579 Avoid loading and unloading modules while sorting.
581 2007-12-17 Matthias Clasen <mclasen@redhat.com>
584 * gunixmounts.[hc]: Namespace waste reduction, move some
585 g_get_unix_mount functions to the g_unix_mount namespace.
588 * gunixvolumemonitor.c:
590 * glocaldirectorymonitor.c: Update all callers.
592 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
594 2007-12-17 Alexander Larsson <alexl@redhat.com>
597 Add doc comments about what GFile operations are
598 guaranteed to not block.
600 2007-12-17 Alexander Larsson <alexl@redhat.com>
603 Add missing #ifdef fixing OSX build.
604 (#503334, patch from Richard Hult)
606 2007-12-14 David Zeuthen <davidz@redhat.com>
610 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
611 (g_mount_eject), (g_mount_eject_finish):
613 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
614 (get_volume_for_uuid), (get_mount_for_uuid),
615 (g_union_volume_monitor_class_init),
616 (get_default_native_type_with_exclude), (get_default_native_type),
617 (get_native_type), (update_native_type),
618 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
619 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
620 (g_unix_mount_can_eject), (eject_unmount_cb),
621 (eject_unmount_read_error), (eject_unmount_do),
622 (g_unix_mount_unmount), (g_unix_mount_eject),
623 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
624 * gunixmounts.c: (g_unix_mount_guess_can_eject),
625 (g_unix_mount_point_guess_can_eject):
627 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
628 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
629 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
630 (g_unix_volume_mount), (g_unix_volume_eject),
631 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
632 * gunixvolumemonitor.c: (get_volume_for_uuid),
633 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
635 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
636 (g_volume_eject), (g_volume_eject_finish):
638 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
639 (g_volume_monitor_get_mount_for_uuid):
642 Provide eject() on both GMount and GVolume and utility functions
643 to guess whether a GUnixMountPoint or GUnixMountEntry should be
644 ejected. Introduce the concept of UUID's and wire it into GVolume
645 and GMount and provide API on GVolumeMonitor to find such
646 instances. Also handle the case where an external
647 GNativeVolumeMonitor fails to initialize. Lock around the
648 _g_get_mount_for_mount_path() function such that volume monitor
649 implementations won't have to do locking themselves.
651 2007-12-17 Matthias Clasen <mclasen@redhat.com>
659 * gvolume.h: Documentation updates
661 2007-12-14 Matthias Clasen <mclasen@redhat.com>
664 * gfile.h: Doc updates
666 2007-12-14 Matthias Clasen <mclasen@redhat.com>
669 * gdesktopappinfo.c: Use hash table iterators.
671 2007-12-14 Alexander Larsson <alexl@redhat.com>
674 * gfileattribute.[ch]:
675 * gfileattribute-priv.h:
676 Move GFileAttributeValue to a private header, as
680 Make set_attribute take a type + a pointer instead
681 of a GFileAttributeValue.
684 Fix up for above changes.
685 Add g_file_info_get_attribute_data to get
686 all info in one call, g_file_info_get_attribute_status
687 to get the status and g_file_info_get_attribute_as_string.
691 * glocalfileinfo.[ch]:
695 Make _guess_type static.
697 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
700 * inotify/Makefile.am: Fixed build when srcdir != builddir,
701 made mkenums and friends use temporary files to avoid leaving
702 empty generated files on failure (#503470).
704 2007-12-14 Alexander Larsson <alexl@redhat.com>
709 2007-12-14 Alexander Larsson <alexl@redhat.com>
713 * gfileattribute.[ch]:
716 * glocalfileoutputstream.c:
717 * gmountoperation.[ch]:
718 * goutputstream.[ch]:
719 Clean up all flags enums to not have _FLAGS in them
720 Make the names of some of the enums better.
725 2007-12-14 Michael Natterer <mitch@imendio.com>
727 * gio.symbols: fix g_io_scheduler symbol names.
729 2007-12-14 Alexander Larsson <alexl@redhat.com>
735 * gbufferedinputstream.h:
736 * gbufferedoutputstream.h:
739 * gdatainputstream.h:
740 * gdataoutputstream.h:
742 * gdirectorymonitor.h:
749 * gfileinputstream.h:
751 * gfilenamecompleter.h:
752 * gfileoutputstream.h:
753 * gfilterinputstream.h:
754 * gfilteroutputstream.h:
762 * gmemoryinputstream.h:
763 * gmemoryoutputstream.h:
768 * gsimpleasyncresult.h:
770 * gunixinputstream.h:
772 * gunixoutputstream.h:
776 * inotify/Makefile.am:
777 Only allow including <gio/gio.h> from apps
779 2007-12-14 Alexander Larsson <alexl@redhat.com>
782 * gsimpleasyncresult.c:
783 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
784 Split out the send_to_mainloop call into two versions instead
785 of having the block argument.
787 2007-12-13 Alexander Larsson <alexl@redhat.com>
791 * gbufferedinputstream.c:
793 * gfileinputstream.c:
794 * gfileoutputstream.c:
798 g_push/pop_current_cancellable ->
799 g_cancellable_push/pop_current
801 2007-12-13 Alexander Larsson <alexl@redhat.com>
805 Rename g_mount_for_location to g_file_mount_enclosing_volume.
807 2007-12-13 Alexander Larsson <alexl@redhat.com>
810 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
812 2007-12-12 Alexander Larsson <alexl@redhat.com>
815 Fix race condition when freeing proxy in
816 g_io_job_send_to_mainloop().
818 2007-12-12 Alexander Larsson <alexl@redhat.com>
824 Make attribute namespace separator "::" instead of ":".
825 Use - instead of _ as separator in attribute names.
827 2007-12-12 Alexander Larsson <alexl@redhat.com>
829 * gbufferedinputstream.h:
830 * gbufferedoutputstream.h:
831 * gdatainputstream.h:
832 * gdataoutputstream.h:
833 * gdirectorymonitor.h:
835 * gfileinputstream.h:
837 * gfileoutputstream.h:
838 * gfilterinputstream.h:
839 * gfilteroutputstream.h:
841 * glocalfileinputstream.h:
842 * glocalfileoutputstream.h:
843 * gmemoryinputstream.h:
844 * gmemoryoutputstream.h:
845 * gnativevolumemonitor.h:
847 * gunixinputstream.h:
848 * gunixoutputstream.h:
851 s/parent/parent_instance/ in GObjects
853 2007-12-12 Alexander Larsson <alexl@redhat.com>
858 No need for padding for interfaces
860 2007-12-12 Alexander Larsson <alexl@redhat.com>
864 * gbufferedinputstream.c:
865 * gbufferedoutputstream.c:
868 * gdatainputstream.[ch]:
870 * gdirectorymonitor.c:
872 * gfileattribute.[ch]:
875 * gfileinputstream.h:
877 * gfileoutputstream.[ch]:
878 * gfilterinputstream.h:
879 * gfilteroutputstream.h:
882 * gloadableicon.[ch]:
883 * gmemoryinputstream.c:
886 Fix up a bunch of details in the docs.
891 2007-12-11 David Zeuthen <davidz@redhat.com>
893 Rework how volumes, drives and volume monitoring is
894 done. Previosly the model was
898 where a GDrive instance represented a mount point and a GVolume
899 instance represented a mounted file system. This patch changes it
902 GDrive <1-N> GVolume <1-1> GMount
904 where GMount now serves the purpose of the old GVolume and the new
905 GVolume serves the purpose of the old GDrive. In addition the new
906 GDrive interface is used to represent a collection of GVolume
907 instances (typically partitions) and also contains utility to query
908 the state of the physical drive the GDrive object represents (such
909 as checking for media, polling the drive, ejecting the media etc.).
911 Also implement mounting and unmounting in the Unix volume monitor
912 backend. A subquent patch will introduce GDrive support for ejection
916 * gdrive.c: (g_drive_is_media_check_automatic),
917 (g_drive_is_media_removable), (g_drive_has_media),
918 (g_drive_can_poll_for_media), (g_drive_eject),
919 (g_drive_eject_finish), (g_drive_poll_for_media),
920 (g_drive_poll_for_media_finish):
922 * gfile.c: (g_file_find_enclosing_mount):
925 * glocaldirectorymonitor.c:
926 (g_local_directory_monitor_constructor), (mounts_changed):
927 * glocalfile.c: (get_mount_info),
928 (g_local_file_find_enclosing_mount),
929 (g_local_file_file_iface_init):
930 * gnativevolumemonitor.h:
931 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
932 (get_connected_drives), (g_union_volume_monitor_class_init),
933 (child_volume_added), (child_volume_removed),
934 (child_volume_changed), (child_mount_added), (child_mount_removed),
935 (child_mount_pre_unmount), (child_mount_changed),
936 (child_drive_changed), (g_union_volume_monitor_add_monitor),
937 (g_union_volume_monitor_remove_monitor),
938 (_g_mount_get_for_mount_path):
939 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
940 (guess_system_internal), (_g_get_unix_mounts),
941 (_g_get_unix_mount_points), (g_get_unix_mount_at),
942 (g_unix_mount_free), (g_unix_mount_compare),
943 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
944 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
945 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
946 (type_to_icon), (g_unix_mount_guess_name),
947 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
948 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
949 (_resolve_symlink), (_resolve_dev_root):
951 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
952 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
953 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
954 (g_unix_volume_get_name), (g_unix_volume_can_mount),
955 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
956 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
957 (g_unix_volume_mount), (g_unix_volume_mount_finish),
958 (g_unix_volume_volume_iface_init):
960 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
961 (get_mounts), (get_volumes), (get_connected_drives),
962 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
963 (mountpoints_changed), (mounts_changed),
964 (g_unix_volume_monitor_init),
965 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
966 (find_mount_by_mountpath), (update_volumes), (update_mounts):
967 * gunixvolumemonitor.h:
968 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
969 (g_volume_mount), (g_volume_mount_finish):
971 * gvolumemonitor.c: (g_volume_monitor_class_init),
972 (g_volume_monitor_get_connected_drives),
973 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
976 2007-12-10 Matthias Clasen <mclasen@redhat.com>
978 * gmountoperation.h (GPasswordFlags): Close the gap
980 2007-12-10 Matthias Clasen <mclasen@redhat.com>
982 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
984 * gdesktopappinfo.[hc]: Remove _-prefixes
986 2007-12-10 Tor Lillqvist <tml@novell.com>
988 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
991 2007-12-10 Alexander Larsson <alexl@redhat.com>
993 * gfile.c (g_file_set_display_name):
994 Don't hardcode '/' (#502727)
996 2007-12-09 Hans Breuer <hans@breuer.org>
998 * makefile.msc : follow lib naming convention
999 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1000 for user and group name, tested with ../tests/gio-ls
1002 2007-12-09 A. Walton <awalton@svn.gnome.org>
1004 * gdesktopappinfo.c:
1010 * gfileenumerator.c:
1015 * gmemoryinputstream.c:
1016 * gmemoryoutputstream.c:
1018 * gsimpleasyncresult.c:
1019 More documentation cleanup and filling in missing information, bringing
1020 GIO to 99% symbol coverage.
1022 2007-12-08 Hans Breuer <hans@breuer.org>
1024 [gio compiles and links on win32, not sure how much already works]
1025 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1026 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1027 base on win32 API; prefer g_lstat() over lstat(); instead of
1028 localtime_r() use an all GLib implementation on win32;
1029 get_mount_info() still needs a win32 specifc implementation
1030 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1031 win32_get_file_user_info to get owner/group info without uid/gid
1032 * glocalfileinputstream.c : include <io.h> on win32
1033 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1034 definition, use g_win32_ftruncate() for G_OS_WIN32
1035 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1036 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1037 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1038 * makefile.msc : updated
1040 2007-12-07 Alexander Larsson <alexl@redhat.com>
1042 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1043 Avoid warning spew if error == NULL
1045 2007-12-07 Alexander Larsson <alexl@redhat.com>
1048 Update docs wrt etags
1050 2007-12-06 Alexander Larsson <alexl@redhat.com>
1053 Include sys/types.h for dev_t (#501919)
1055 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1059 Make abicheck and pltcheck pass.
1061 2007-12-05 Alexander Larsson <alexl@redhat.com>
1064 * giomodule-priv.h: Added.
1065 * glocaldirectorymonitor.c:
1066 * glocalfilemonitor.c:
1067 * gunionvolumemonitor.c:
1069 Actually add the declaration of _g_io_modules_ensure_loaded
1071 2007-12-05 Alexander Larsson <alexl@redhat.com>
1073 * gdatainputstream.c:
1078 * glocaldirectorymonitor.c:
1079 * glocalfilemonitor.c:
1080 * gunionvolumemonitor.c:
1082 Make g_io_modules_ensure_loaded a private function and
1083 don't pass in the dirname. This means we can do magic
1084 directory finding in the win32 version.
1085 Export the actual load-modules-in-directory code so that
1086 gvfs can reuse that.
1088 2007-12-05 Alexander Larsson <alexl@redhat.com>
1090 * gbufferedinputstream.c:
1091 * gbufferedoutputstream.c:
1094 * gfileenumerator.[ch]:
1095 * gfileinputstream.c:
1096 * gfileoutputstream.[ch]:
1097 * gfilterinputstream.c:
1098 * gfilteroutputstream.c:
1099 * ginputstream.[ch]:
1101 * glocalfileenumerator.c:
1102 * glocalfileinputstream.c:
1103 * glocalfileoutputstream.c:
1104 * gmemoryinputstream.c:
1105 * gmemoryoutputstream.c:
1106 * goutputstream.[ch]:
1109 * gunixinputstream.c:
1110 * gunixoutputstream.c:
1111 Rename all struct members named:
1112 read, write, close, truncate, or mount
1113 to foo_fn, as these are reserved names
1114 and could be defined as macros in libc.
1117 2007-12-04 Alexander Larsson <alexl@redhat.com>
1120 (g_output_stream_close):
1121 Only call flush if non-null.
1123 2007-11-30 Dan Winship <danw@gnome.org>
1125 * ginputstream.c (g_input_stream_set_pending): Make this take a
1126 GError and return a gboolean, and do the "outstanding operation"
1127 check (and the "stream is already closed" check) itself.
1128 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1130 * goutputstream.c (g_output_stream_set_pending)
1131 (g_output_stream_clear_pending): Likewise
1133 * gbufferedinputstream.c:
1134 * gfileinputstream.c:
1135 * gfileoutputstream.c: Update for that
1137 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1138 Like g_simple_async_report_error_in_idle, but takes a GError
1139 rather than building one.
1141 2007-11-30 Dan Winship <danw@gnome.org>
1143 * goutputstream.c: Don't cheat and unset the "pending" flag around
1144 inner calls. Instead, call the class method directly rather than
1145 the wrapper function that checks "pending"
1147 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1149 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1151 2007-12-03 Hans Breuer <hans@breuer.org>
1153 [start of port to win32/msvc]
1154 * gcancellable.c : HAVE_UNIST_H and _pipe()
1155 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1156 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1157 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1159 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1160 * glocalvfs.c : use HAVE_PWD_H
1161 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1162 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1163 * Makefile.am : added to EXTRA_DIST
1165 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1167 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1170 2007-12-03 Alexander Larsson <alexl@redhat.com>
1173 Handle OSX style xattrs API (#500506)
1175 2007-12-03 Alexander Larsson <alexl@redhat.com>
1179 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1181 2007-12-02 A. Walton <awalton@svn.gnome.org>
1185 Documentation accuracy fixes.
1187 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1189 * gioenumtypes.c.template: Fix typo.
1191 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1193 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1195 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1197 * gdirectorymonitor.c:
1198 * gfilemonitor.c: Add properties
1200 * gbufferedoutputstream.c: Don't mark buffer-size property
1203 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1205 * gbufferedoutputstream.c: Add auto-grow property.
1207 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1209 * *.c: Unify the capitalization of section headings.
1211 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1213 * gmountoperation.c: Add properties
1215 * gdatainputstream.c: Turn byte-order and newline-type into
1218 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1220 * gioenumtypes.[hc].template: Templates for enum registration
1222 * Makefile.am: Generate gioenumtypes.[hc]
1224 * gio.h: Include gioenumtypes.h
1226 * gfile.h: Add some explicit nicks.
1228 * gio.symbols: Add new symbols
1230 * pltcheck.sh: Adjust
1232 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1234 * *.c: Explain etags and link to the explanation
1236 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1238 * *.c: Explain I/O priority.
1240 * *.c: More coding style fixes.
1242 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1244 * gasyncresult.c: Add another paragraph to the intro,
1245 adjust coding style of example.
1247 2007-11-29 A. Walton <awalton@svn.gnome.org>
1250 Fixes unknown meaning in GAppLaunchContext docs.
1252 Clarify asynchronous ops.
1254 Fix entity tag docs.
1257 Provides missing gtk-doc section, fixes API docs slighly.
1258 * gsimpleasyncresult.c:
1259 Fill in missing info in docs.
1260 * gunixinputstream.c:
1261 * gunixoutputstream.c:
1262 Be more expressive in short description.
1264 Remove gtk-doc stubs for non-public API.
1266 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1268 * *.c: Coding style fixups
1270 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1272 * inotify/inotify-helper.c: Don't export the lock from libgio.
1274 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1277 * abicheck.sh: Fix copy-and-paste leftovers
1279 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1281 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1283 2007-11-28 Alexander Larsson <alexl@redhat.com>
1287 Removed unnecessary file
1289 * gdesktopappinfo.[ch]:
1292 * glocaldirectorymonitor.[ch]:
1294 * glocalfileenumerator.[ch]:
1295 * glocalfileinputstream.[ch]:
1296 * glocalfilemonitor.[ch]:
1297 * glocalfileoutputstream.[ch]:
1299 * gnativevolumemonitor.c:
1300 * gpollfilemonitor.[ch]:
1301 * gunionvolumemonitor.[ch]:
1304 * gunixvolumemonitor.[ch]:
1307 * inotify/ginotifydirectorymonitor.[ch]:
1308 * inotify/ginotifyfilemonitor.[ch]:
1309 * inotify/inotify-helper.c:
1310 Append _ to all internal functions
1314 Export symbols needed for modules
1316 2007-11-28 Alexander Larsson <alexl@redhat.com>
1319 * abicheck.sh: Added.
1320 * makegioalias.pl: Added.
1321 * pltcheck.sh: Added.
1322 * gio.symbols: Added.
1325 Initial work on adding symbol handling.
1328 Correct ifdef guard name
1331 * inotify/Makefile.am:
1332 * xdgmime/Makefile.am:
1333 Include toplevel Makefile.decl
1335 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1337 * gcontenttype.c: Move doc comments to the unix section.
1339 * *.[hc]: More trivial doc corrections.
1341 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1343 * gpollfilemonitor.c:
1347 * gdesktopappinfo.c:
1352 * gdatainputstream.c:
1353 * gdatainputstream.h:
1354 * gdataoutputstream.c:
1355 * gdataoutputstream.h:
1356 * gfileinfo.h: Doc cleanups
1358 2007-11-28 Andre Klapper <a9016009@gmx.de>
1360 * gdesktopappinfo.c: Fix a typo.
1362 2007-11-27 Andre Klapper <a9016009@gmx.de>
1364 * glocalfileoutputstream.c: Fix a typo.
1366 2007-11-27 Alexander Larsson <alexl@redhat.com>
1369 Don't include removed headers
1371 2007-11-27 Alexander Larsson <alexl@redhat.com>
1374 * gsocketinputstream.[ch]: Removed.
1375 * gsocketoutputstream.[ch]: Removed.
1376 * gunixinputstream.[ch]: Added.
1377 * gunixoutputstream.[ch]: Added.
1378 Renamed GSocket*Stream to GUnix*Stream and made
1379 it unix-only, since its not really only for sockets
1380 and it only works on unix (but is highly useful there).
1382 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1388 * gbufferedinputstream.c:
1389 * gbufferedinputstream.h:
1390 * gbufferedoutputstream.c:
1391 * gbufferedoutputstream.h:
1395 * gdatainputstream.c:
1396 * gdatainputstream.h:
1397 * gdataoutputstream.c:
1398 * gdataoutputstream.h:
1399 * gdirectorymonitor.c:
1400 * gdirectorymonitor.h:
1407 * gfileenumerator.c:
1408 * gfileenumerator.h:
1413 * gfileinputstream.c:
1414 * gfileinputstream.h:
1417 * gfilenamecompleter.c:
1418 * gfilenamecompleter.h:
1419 * gfileoutputstream.c:
1420 * gfileoutputstream.h:
1421 * gfilterinputstream.c:
1422 * gfilterinputstream.h:
1423 * gfilteroutputstream.c:
1424 * gfilteroutputstream.h:
1437 * glocalfileoutputstream.c:
1438 * gmemoryinputstream.c:
1439 * gmemoryinputstream.h:
1440 * gmemoryoutputstream.c:
1441 * gmemoryoutputstream.h:
1442 * gmountoperation.c:
1443 * gmountoperation.h:
1446 * gpollfilemonitor.c:
1449 * gsimpleasyncresult.c:
1450 * gsimpleasyncresult.h:
1451 * gsocketinputstream.c:
1452 * gsocketinputstream.h:
1453 * gsocketoutputstream.c:
1454 * gsocketoutputstream.h:
1461 * gunixvolumemonitor.c:
1470 Bumps documentation to 93% symbol coverage, touching most
1471 of the public files. Fixes broken function documentation prototypes.
1472 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1473 gtk-doc headers in private files.
1475 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1477 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1478 (g_buffered_input_stream_read_byte):
1479 * gbufferedinputstream.h:
1480 New functions for efficient access to buffer and simple single byte
1483 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1484 (g_data_input_stream_read_until):
1485 * gdatainputstream.h:
1486 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1487 read_until with multiple stop chars.
1489 2007-11-27 Alexander Larsson <alexl@redhat.com>
1493 * inotify/Makefile.am:
1494 Use the user-specified giomoduledir
1496 2007-11-27 Alexander Larsson <alexl@redhat.com>
1500 Add catch-all gio.h header
1501 Don't install gdummyfile.h
1503 2007-11-26 Alexander Larsson <alexl@redhat.com>
1505 * Makefile.am (gioinclude_HEADERS):
1506 Remove trailing whitespace
1508 2007-11-26 Alexander Larsson <alexl@redhat.com>
1510 Merge gio-standalone into glib
1512 2007-11-25 Christian Kellner <gicmo@gnome.org>
1514 * gio/goutputstream.c:
1515 Fix small mistake in the docs.
1517 2007-11-21 Christian Persch <chpe@gnome.org>
1519 * gio/glocalfile.c: (g_local_file_trash):
1520 Convert filenames to UTF-8 for GError.
1521 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1522 as per xdg base dir spec.
1524 2007-11-21 Christian Persch <chpe@gnome.org>
1526 * gio/gdesktopappinfo.c:
1527 Use that g_key_file_to_data cannot fail.
1529 Use stock defines for the key file group and key names.
1532 2007-11-21 Alexander Larsson <alexl@redhat.com>
1535 (copy_stream_with_progress):
1536 Make sure we do a final progress callback with
1537 the full total size.
1539 2007-11-21 Alexander Larsson <alexl@redhat.com>
1542 Export g_file_copy_attributes
1543 Remove padding as its not needed for interfaces
1545 2007-11-20 Alexander Larsson <alexl@redhat.com>
1550 Add G_IO_ERROR_WOULD_MERGE for
1551 copy/move dir on dir with overwrite.
1553 2007-11-20 Alexander Larsson <alexl@redhat.com>
1556 * gio/glocalfileinfo.c:
1557 Add COPY_NAME (this is an optional
1558 non-modified utf8 version of the name) that
1561 2007-11-20 Alexander Larsson <alexl@redhat.com>
1563 * gio/glocalfileenumerator.c:
1564 Report errors as GIOError, not GFileError
1566 2007-11-16 Alexander Larsson <alexl@redhat.com>
1568 * gio/glocalfileoutputstream.c:
1569 * gio/gwin32appinfo.c:
1570 Fix typos in strings.
1571 Patch from Luca Ferretti <elle.uca@libero.it>
1573 2007-11-15 Alexander Larsson <alexl@redhat.com>
1576 Post release version bump
1578 === gio-standalone 0.1.2 ===
1580 2007-11-15 Alexander Larsson <alexl@redhat.com>
1582 * docs/reference/gio/Makefile.am:
1583 Fix up distcheck by removing weird
1589 2007-11-14 Alexander Larsson <alexl@redhat.com>
1591 * gio/gdesktopappinfo.c:
1592 * gio/glocaldirectorymonitor.c:
1594 * gio/glocalfileinfo.c:
1595 * gio/inotify/inotify-sub.c:
1596 * programs/gio-cat.c:
1597 * programs/gio-copy.c:
1598 * programs/gio-info.c:
1599 * programs/gio-ls.c:
1600 * programs/gio-monitor-dir.c:
1601 * programs/gio-monitor-file.c:
1602 * programs/gio-mount.c:
1603 * programs/gio-move.c:
1604 * programs/gio-rm.c:
1605 * programs/gio-save.c:
1606 * programs/gio-trash.c:
1607 Leak fixes from Kjartan Maraas
1609 2007-11-14 Alexander Larsson <alexl@redhat.com>
1611 * gio/fam/fam-helper.c:
1613 * gio/glocalfileinfo.c:
1617 * gio/inotify/inotify-diag.c:
1618 * gio/inotify/inotify-kernel.c:
1619 Various code cleanups from Kjartan Maraas
1621 2007-11-14 Alexander Larsson <alexl@redhat.com>
1623 * gio/gioscheduler.c:
1625 Set up threadpool so that we cache 2 unused
1626 idle threads for at 15 secs. This means we
1627 will reuse thread-local data (like dbus connections)
1630 2007-11-14 Alexander Larsson <alexl@redhat.com>
1632 * gio/fam/fam-helper.c:
1633 * gio/fam/gfamdirectorymonitor.c:
1634 * gio/fam/gfamfilemonitor.c:
1636 * gio/gcontenttype.c:
1637 * gio/gdatainputstream.c:
1638 * gio/gdataoutputstream.c:
1642 * gio/gfileattribute.h:
1643 * gio/gfileenumerator.c:
1645 * gio/ginputstream.c:
1648 * gio/glocalfileinfo.c:
1649 * gio/goutputstream.c:
1650 * gio/gpollfilemonitor.c:
1651 * gio/gsimpleasyncresult.c:
1652 * gio/gunixmounts.c:
1653 * gio/gunixmounts.h:
1654 * gio/inotify/ginotifydirectorymonitor.c:
1655 * gio/inotify/ginotifyfilemonitor.c:
1656 * gio/inotify/inotify-diag.c:
1657 * gio/inotify/inotify-kernel.c:
1658 * gio/inotify/inotify-path.c:
1660 * gio/test-streams.c:
1661 * programs/gio-info.c:
1662 * programs/gio-monitor-dir.c:
1663 * programs/gio-monitor-file.c:
1664 Various code cleanups from Kjartan Maraas
1666 2007-11-13 Alexander Larsson <alexl@redhat.com>
1669 Handle the uri-scheme calls for dummy files
1671 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1673 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1674 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1675 to avoid clash with the C++ keyword.
1677 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1679 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1680 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1682 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1684 * gio/glocaldirectorymonitor.c:
1685 * gio/glocalfilemonitor.c:
1686 * gio/gunionvolumemonitor.c:
1687 Don't use g_once_init_*() for initializations that could fail and
1688 could leave the initialization variable set to 0 but use GOnce.
1689 This prevents a deadlock on the second call when trying to create
1690 a monitor and no monitor type is available. Thanks to Sven Herzberg
1693 2007-11-11 Sven Herzberg <sven@imendio.com>
1695 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1696 #ifdef (make it work on MacOS X again)
1698 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1700 Fixes Changelog for last two commits (sorry guys).
1702 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1704 * gio/gbufferedinputstream.c:
1705 * gio/gdatainputstream.c:
1707 * gio/gfileoutputstream.c:
1708 * gio/gfilterinputstream.c:
1709 * gio/glocalfileinputstream.c:
1712 More consistency fixes in g*stream.c files.
1713 Significant clean of gfile's documentation, filling in of
1714 asynchronous operations documentation.
1716 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1718 * gio/gasyncresult.c:
1719 * gio/gbufferedinputstream.c:
1720 * gio/gbufferedoutputstream.c:
1721 * gio/gcancellable.c:
1722 * gio/gcontenttype.c:
1723 * gio/gdatainputstream.c:
1724 * gio/gdataoutputstream.c:
1725 * gio/gdesktopappinfo.c:
1728 * gio/gfileattribute.c:
1729 * gio/gio/gfileenumerator.c:
1731 * gio/gfileinputstream.c:
1732 * gio/gfilemonitor.c:
1733 * gio/gfileoutputstream.c:
1734 * gio/ginputstream.c:
1736 * gio/gioscheduler.c:
1737 * gio/gloadableicon.c:
1738 * gio/glocalfileoutputstream.c:
1739 * gio/gmemoryoutputstream.c:
1740 * gio/gmountoperation.c:
1741 * gio/goutputstream.c:
1743 * gio/gsimpleasyncresult.c:
1744 * gio/gunionvolumemonitor.c:
1745 * gio/gunixmounts.c:
1746 * gio/gunixvolume.c:
1750 * gio/gvolumemonitor.c:
1751 Updated documentation stubs, working towards consistency and
1754 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1756 * gio/gmemoryoutputstream.c:
1757 * gio/gmemoryoutputstream.h:
1758 Change g_memory_output_stream_set_free_on_close() to
1759 g_memory_output_stream_set_free_data() as this makes more sense and
1760 is more consistent with GMemoryInputStream.
1762 2007-11-07 Alexander Larsson <alexl@redhat.com>
1769 Change how we find the default vfs so that
1770 we can handle a gvfs failing to init
1772 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1774 * gio/gbufferedoutputstream.c:
1775 * gio/gdatainputstream.c:
1776 * gio/gdataoutputstream.c:
1777 * gio/gfileinputstream.c:
1778 * gio/gfileoutputstream.c:
1779 * gio/gfilterinputstream.c:
1780 * gio/gfilteroutputstream.c:
1781 * gio/ginputstream.c:
1782 * gio/gmemoryinputstream.c:
1783 * gio/gmemoryoutputstream.c:
1784 * gio/goutputstream.c:
1785 * gio/gsimpleasyncresult.c:
1786 * gio/gsocketinputstream.c:
1787 * gio/gsocketoutputstream.c:
1788 Add guards to the remaining public functions, add a TODO for
1789 an unimplemented function and remove some useless guards.
1791 2007-11-07 Alexander Larsson <alexl@redhat.com>
1794 Autoconf checks for the various types of
1795 getpwuid_r and getgrgid_r
1797 * gio/glocalfileinfo.c:
1798 Use the autoconf checks from above
1800 2007-11-07 Alexander Larsson <alexl@redhat.com>
1803 (g_local_file_query_filesystem_info):
1804 Some fixes for the statvfs case
1806 2007-11-07 Alexander Larsson <alexl@redhat.com>
1809 (g_local_file_query_filesystem_info):
1810 Pick the "best" of statfs / statvfs for the system
1811 if both are availible.
1813 2007-11-07 Alexander Larsson <alexl@redhat.com>
1815 Solaris fixes from Halton.Huo@Sun.COM:
1822 * gio/glocalfileinfo.c:
1823 Fix for solaris definition of getpwuid_r
1825 * gio/test-streams.c:
1826 Use G_GNUC_PRETTY_FUNCTION
1828 2007-11-07 Alexander Larsson <alexl@redhat.com>
1830 * gio/gdesktopappinfo.c:
1831 (update_default_list):
1832 Remove double semicolon.
1833 Patch from Jens Granseuer
1835 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1837 * docs/reference/gio/gio-sections.txt:
1838 * gio/gbufferedinputstream.c:
1839 * gio/gbufferedinputstream.h:
1840 * gio/gdatainputstream.c:
1841 * gio/gfileenumerator.c:
1842 * gio/gioscheduler.c:
1843 * gio/gunionvolumemonitor.c:
1845 * programs/gio-save.c:
1846 Fix typo: availible -> available. Unfortuntely this breaks API
1847 and ABI as g_buffered_input_stream_get_available() was renamed.
1849 * gio/gunixmounts.c:
1850 * gio/gbufferedinputstream.c:
1851 Add guards for public functions.
1853 2007-11-06 Ross Burton <ross@openedhand.com>
1855 * docs/reference/gio/Makefile.am:
1856 Fix invalid += usage which automake 1.10 doesn't like.
1858 2007-11-06 Alexander Larsson <alexl@redhat.com>
1861 (g_app_launch_context_class_init):
1864 Patch from Ross Burton
1866 2007-11-06 Alexander Larsson <alexl@redhat.com>
1869 Post release version bump
1871 === gio-standalone 0.1.1 ===
1873 2007-11-06 Alexander Larsson <alexl@redhat.com>
1876 Bump version to 0.1.1
1878 * gio/gsimpleasyncresult.c:
1879 (g_simple_async_result_set_from_error):
1880 Remove bogus g_return_if_fail
1882 2007-11-06 Alexander Larsson <alexl@redhat.com>
1885 The name is gio-standalone
1888 Add top src/builddir to includedir
1890 2007-11-06 Alexander Larsson <alexl@redhat.com>
1892 * docs/reference/gio/gio-sections.txt:
1894 * gio/gbufferedinputstream.c:
1895 * gio/gbufferedoutputstream.c:
1896 * gio/gcancellable.c:
1897 * gio/gdatainputstream.h:
1898 * gio/gdataoutputstream.c:
1899 * gio/gdataoutputstream.h:
1900 * gio/gdirectorymonitor.c:
1902 * gio/gfileattribute.c:
1903 * gio/gfileattribute.h:
1904 * gio/gfileenumerator.c:
1905 * gio/gfileenumerator.h:
1908 * gio/gfileinputstream.h:
1909 * gio/gfilemonitor.c:
1910 * gio/gfileoutputstream.h:
1911 * gio/glocalfilemonitor.h:
1912 * gio/glocalfileoutputstream.h:
1913 * gio/gmemoryinputstream.c:
1914 * gio/gmemoryoutputstream.c:
1915 * gio/gmountoperation.c:
1916 * gio/goutputstream.c:
1917 * gio/goutputstream.h:
1919 * gio/gsimpleasyncresult.c:
1920 * gio/gunixmounts.c:
1921 * gio/gunixmounts.h:
1923 * gio/inotify/inotify-helper.c:
1924 Fix gtk-doc warnings
1926 Patch from Ross Burton
1928 2007-11-06 Alexander Larsson <alexl@redhat.com>
1930 * gio/gfilenamecompleter.c:
1931 (g_filename_completer_get_completions):
1934 * gio/gunixvolume.c:
1935 Remove unused function
1937 Patches from Ross Burton
1939 2007-11-06 Alexander Larsson <alexl@redhat.com>
1944 Padding not needed for interfaces
1946 2007-11-06 Alexander Larsson <alexl@redhat.com>
1948 * gio/gfilemonitor.c:
1952 Make giotypes.h an internal file
1955 * gio/gbufferedinputstream.h:
1956 * gio/gbufferedoutputstream.h:
1957 * gio/gcancellable.h:
1958 * gio/gdatainputstream.h:
1959 * gio/gdataoutputstream.h:
1960 * gio/gdirectorymonitor.c:
1961 * gio/gdirectorymonitor.h:
1966 * gio/gfileattribute.h:
1967 * gio/gfileenumerator.h:
1972 * gio/gfilemonitor.c:
1973 * gio/gfilemonitor.h:
1974 * gio/gfilenamecompleter.c:
1975 * gio/gfilenamecompleter.h:
1976 * gio/gfilterinputstream.h:
1977 * gio/gfilteroutputstream.h:
1978 * gio/ginputstream.h:
1979 * gio/gmemoryinputstream.h:
1980 * gio/gmemoryoutputstream.h:
1981 * gio/gmountoperation.c:
1982 * gio/gmountoperation.h:
1983 * gio/gnativevolumemonitor.c:
1984 * gio/goutputstream.h:
1987 * gio/gsimpleasyncresult.c:
1988 * gio/gsimpleasyncresult.h:
1989 * gio/gsocketinputstream.h:
1990 * gio/gsocketoutputstream.h:
1991 * gio/gthemedicon.c:
1992 * gio/gthemedicon.h:
1996 * gio/gvolumemonitor.c:
1997 * gio/gvolumemonitor.h:
1998 Add padding in classes where it seems useful
1999 Don't include giotypes.h from public headers
2000 Move in Class definitions into c file where possible
2005 2007-11-06 Alexander Larsson <alexl@redhat.com>
2007 * docs/reference/gio/gio-docs.xml:
2008 Better structure for API docs
2010 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2013 * gio/gloadableicon.c:
2014 * gio/gsimpleasyncresult.c:
2015 * gio/gthemedicon.c:
2016 Add some more guards to public functions. Only files missing are now
2019 2007-11-06 Alexander Larsson <alexl@redhat.com>
2021 * docs/reference/gio/gio-docs.xml:
2022 Remove old files, add missing ones
2024 2007-11-06 Alexander Larsson <alexl@redhat.com>
2026 * docs/reference/gio/gio-sections.txt:
2029 Hide implementation classes
2031 * gio/gdriveprivate.h:
2032 * gio/gvolumeprivate.h:
2033 Remove non-existing function declarations
2035 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2038 Fix compilation warnings and add guards to the new functions.
2040 * gio/gasyncresult.c:
2042 Add guards to the public functions.
2045 Implement get_path().
2047 2007-11-06 Alexander Larsson <alexl@redhat.com>
2049 * gio/gfilenamecompleter.c:
2050 Make g_filename_completer_get_completions
2051 return char ** instead of GList for
2054 * docs/reference/gio/gio-docs.xml:
2055 * docs/reference/gio/gio-sections.txt:
2057 * gio/gasyncresult.c:
2058 * gio/gbufferedinputstream.c:
2059 * gio/gbufferedoutputstream.c:
2060 * gio/gcancellable.c:
2061 * gio/gcontenttype.c:
2062 * gio/gdatainputstream.c:
2063 * gio/gdataoutputstream.c:
2064 * gio/gdesktopappinfo.c:
2065 * gio/gdirectorymonitor.c:
2069 * gio/gfileattribute.c:
2070 * gio/gfileenumerator.c:
2073 * gio/gfileinputstream.c:
2074 * gio/gfilemonitor.c:
2075 * gio/gfilenamecompleter.c:
2076 * gio/gfilenamecompleter.h:
2077 * gio/gfileoutputstream.c:
2078 * gio/gfilterinputstream.c:
2080 * gio/ginputstream.c:
2082 * gio/gioscheduler.c:
2083 * gio/gloadableicon.c:
2084 * gio/glocaldirectorymonitor.c:
2086 * gio/glocalfileinputstream.c:
2087 * gio/glocalfilemonitor.c:
2088 * gio/glocalfileoutputstream.c:
2090 * gio/gmemoryinputstream.c:
2091 * gio/gmemoryoutputstream.c:
2092 * gio/gmountoperation.c:
2093 * gio/goutputstream.c:
2094 * gio/gpollfilemonitor.c:
2096 * gio/gsimpleasyncresult.c:
2097 * gio/gsocketinputstream.c:
2098 * gio/gsocketoutputstream.c:
2099 * gio/gthemedicon.c:
2100 * gio/gunionvolumemonitor.c:
2102 * gio/gunixmounts.c:
2103 * gio/gunixvolume.c:
2104 * gio/gunixvolumemonitor.c:
2108 * gio/gvolumemonitor.c:
2109 * gio/gwin32appinfo.c:
2110 Add (mostly stub) doc strings to public functions.
2111 Patch from Andrew Walton (awalton@gmail.com)
2113 2007-11-06 Alexander Larsson <alexl@redhat.com>
2115 * gio/gappinfo.[ch]:
2116 Added GAppLaunchContext object and pass that to launch.
2117 This allows simple implementation of both
2118 launch-on-screen and startup notification via a gtk+
2119 subclass of GAppLaunchContext
2121 * gio/gdesktopappinfo.c:
2122 Implement GAppLaunchContext API
2124 * gio/gwin32appinfo.c:
2127 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2129 * gio/gmountoperation.c:
2130 Add some guards to GMountOperation's public functions.
2132 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2136 * gio/gcancellable.c:
2137 * gio/gdirectorymonitor.c:
2139 * gio/gfileenumerator.c:
2140 * gio/gfilemonitor.c:,
2141 * gio/gfilenamecompleter.c:
2144 * gio/gioscheduler.c:
2148 * gio/gvolumemonitor.c:
2149 Add even more guards to various public functions.
2151 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2154 Add guards to the public functions of GAppInfo.
2156 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2158 * gio/gcontenttype.c:
2159 Add some more guards for public functions.
2161 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2163 * gio/fam/fam-module.c:
2164 * gio/fam/gfamdirectorymonitor.c:
2165 * gio/fam/gfamdirectorymonitor.h:
2166 * gio/fam/gfamfilemonitor.c:
2167 * gio/fam/gfamfilemonitor.h:
2168 * gio/inotify/ginotifydirectorymonitor.c:
2169 * gio/inotify/ginotifydirectorymonitor.h:
2170 * gio/inotify/ginotifyfilemonitor.c:
2171 * gio/inotify/ginotifyfilemonitor.h:
2172 Add proper copyright information and remove an unused variable
2173 in the GInotifyFileMonitor constructor.
2175 * gio/gcancellable.c:
2176 Add a guard for a public function and an assertion to prevent
2177 an undefined program state.
2179 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2181 * gio/gfileattribute.c:
2182 Don't run into an assertion if the given attribute value is NULL
2183 in g_file_attribute_value_get_*() but instead return a fallback
2184 value that makes sense in most situations. Passing them a attribute
2185 value with the wrong type will still run into an assertion.
2187 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2189 * gio/gfileattribute.c:
2191 Add even more guards to the public functions. Also fix the refcounting
2192 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2193 let g_file_info_list_attributes() filter the attributes by namespace
2194 instead of simply ignoring the namespace parameter.
2196 2007-11-03 Sven Herzberg <sven@imendio.com>
2198 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2199 (This makes gio work on MacOS X again)
2201 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2204 Build the gio subdirectory before the docs. Otherwise the build will
2207 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2208 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2209 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2210 Add guards to the public functions.
2212 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2214 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2215 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2216 to prevent a compiler warning.
2218 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2219 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2220 return something in the non-void function find_topdir_for().
2222 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2229 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2231 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2232 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2233 * gwin32appinfo.c (g_win32_app_info_launch):
2234 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2235 envp_for_startup_id, g_desktop_app_info_launch,
2236 g_desktop_app_info_launch_uris):
2238 Give an opaque 'startup_id' string instead of 'envp'.
2239 Support empty file lists for launching new windows.
2240 Fix infinite recursion bug when launching URIs.
2242 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2245 Add guard to the new g_file_get_uri_scheme() function.
2247 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2250 Convert a g_return_val_if_fail() to setting the GError instead as
2251 otherwise applications have to verify the parameter before otherwise
2252 and the parameter might come directly from the user.
2254 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2256 * gio/inotify/ginotify*.[ch]:
2257 Add missing copyright information.
2259 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2262 Add guards in the beginning of public functions to check for valid
2263 parameters and fix a bug in copy_stream_with_progress() that could've
2264 caused writing less bytes than reading.
2265 * gio/glocalfileinfo.c:
2266 Check for a NULL parameter and set the GError accordingly then.
2267 * gio/goutputstream.c:
2268 Fix the same bug as in gfile.c that could've caused writing less bytes
2269 than reading in g_output_stream_real_splice().
2271 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2274 Use the correct gvolumeprivate.h naming
2276 2007-11-01 Christian Kellner <gicmo@gnome.org>
2279 Remove leftover "$(daemon_sources)" entry.
2281 2007-11-01 Christian Kellner <gicmo@gnome.org>
2286 Add copyright information to source files.
2288 2007-11-01 Alexander Larsson <alexl@redhat.com>
2292 Add g_file_get_uri_scheme
2294 2007-11-01 Alexander Larsson <alexl@redhat.com>
2297 * gio/gdesktopappinfo.c:
2298 * gio/gwin32appinfo.c:
2299 Add g_app_info_get_default_for_uri_scheme.
2301 2007-11-01 Alexander Larsson <alexl@redhat.com>
2304 Correct filename for gdriveprivate.h
2306 2007-10-31 Alexander Larsson <alexl@redhat.com>
2309 Rename id:value to id:file
2312 * gio/glocalfileinfo.c:
2315 2007-10-31 Alexander Larsson <alexl@redhat.com>
2317 * gio/gunixvolume.c:
2319 Remove g_volume_get_platform_id, as thats not
2320 needed with the simpler union volume monitor
2322 2007-10-31 Alexander Larsson <alexl@redhat.com>
2325 * gio/guniondrive.[ch]: Removed.
2326 * gio/gunionvolume.[ch]: Removed.
2327 Remove GUnionDrive/Volume
2329 * gio/gunionvolumemonitor.c:
2330 Simplify union volume monitor, now we
2331 only have one native volume monitor and
2332 we use the actual volumes/drives from the
2333 child monitors instead of wrapping them
2335 * gio/gnativevolumemonitor.[ch]:
2336 Base class for native volume monitors.
2337 Includes priority and get_volume_for_mountpoint
2340 Add g_file_find_enclosing_volume
2343 Remove volume name fs attribute
2344 Add readonly fs attribute
2347 Implement readonly attribute
2348 remove volume name attribute
2349 Implement find_enclosing volume
2351 * gio/gunixmounts.c:
2352 Add a volume for "/".
2354 * gio/gunixvolume.[ch]:
2355 Set better name for /
2357 * gio/gunixvolumemonitor.[ch]:
2358 Derive from GNativeVolumeMonitor
2359 Implement get_volume_for_mountpoint
2362 GVolume typedef moved to gfile.h
2364 * gio/gvolumeprivate.h:
2365 Add g_volume_get_for_mount_path
2367 2007-10-31 Alexander Larsson <alexl@redhat.com>
2369 * gio/gunixmounts.[ch]:
2370 Add cache info to unix mount listers
2371 Make getmntent use threadsafe
2372 Add is_system_internal attribute for GUnixMount
2374 * gio/gunixvolume.c:
2375 (g_unix_volume_new):
2376 Use is_system_internal instead of own code
2378 * gio/glocaldirectorymonitor.c:
2379 * gio/gunixvolumemonitor.c:
2380 Update to new gunixmounts API
2385 2007-10-30 Alexander Larsson <alexl@redhat.com>
2388 Add volume name fsinfo attribute
2391 Read volume name info
2393 * gio/gunionvolumemonitor.c:
2394 Fix infinite loops when finalizing a union volume monitor
2396 2007-10-30 Alexander Larsson <alexl@redhat.com>
2398 * gio/goutputstream.[ch]:
2399 Add splice() with default implementation
2401 * gio/gsocketoutputstream.c:
2402 (g_socket_output_stream_write):
2403 Return error on cancellation correctly.
2405 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2407 * gio/glocalfile.c (g_local_file_trash):
2408 Do not leak a string.
2410 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2412 * gio/gfile.c (g_file_load_contents):
2413 Unref the stream after closing it.
2415 2007-10-25 Alexander Larsson <alexl@redhat.com>
2417 * gio/gioscheduler.h:
2420 2007-10-25 Alexander Larsson <alexl@redhat.com>
2424 Add g_file_has_uri_scheme and implement for local files
2426 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2428 * gio/gdesktopappinfo.c: do not leak a string.
2430 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2432 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2433 (g_local_directory_monitor_new):
2434 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2435 (g_local_file_monitor_new):
2436 Only look for the monitor type that should be used the first time
2437 and use g_qsort_with_data() instead of our own bubble sort
2440 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2443 * gio/fam/Makefile.am:
2444 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2445 * gio/fam/fam-helper.h:
2446 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2447 * gio/fam/gfamdirectorymonitor.c:
2448 * gio/fam/gfamdirectorymonitor.h:
2449 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2450 * gio/fam/gfamfilemonitor.h:
2451 * gio/glocaldirectorymonitor.c:
2452 * gio/glocaldirectorymonitor.h:
2453 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2454 * gio/glocalfilemonitor.h:
2455 * gio/inotify/Makefile.am:
2456 * gio/inotify/ginotifydirectorymonitor.c:
2457 * gio/inotify/ginotifydirectorymonitor.h:
2458 * gio/inotify/ginotifyfilemonitor.c:
2459 * gio/inotify/ginotifyfilemonitor.h:
2460 Implement the FAM and Inotify monitors as
2461 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2462 their own GIO module. GLocal(Directory|File)Monitor will use the
2463 monitor with the highest rank that is supported on that machine.
2465 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2468 Change GIO module dir to $(libdir)/gio/modules and change
2469 the log domain from GVFS to GIO. Also only export symbols starting
2470 with g_ in the resulting library.
2471 * gio/test-streams.c: (main):
2472 Set log handler for the GIO log domain.
2474 2007-10-22 Alexander Larsson <alexl@redhat.com>
2476 * gio/gfilenamecompleter.[ch]:
2477 Add g_filename_completer_set_dirs_only
2479 2007-10-22 Alexander Larsson <alexl@redhat.com>
2482 * gio/gurifuncs.[ch]:
2483 Add some simple URI helpers
2485 * gio/gfilenamecompleter.[ch]:
2486 Added object for filename (parse name actually) completion
2489 Handle ~ in parse names
2491 2007-10-17 Alexander Larsson <alexl@redhat.com>
2494 * gio/glocalfileinfo.c:
2495 Add and implement id:value attribute
2497 2007-10-17 Alexander Larsson <alexl@redhat.com>
2500 * gio/guniondrive.c:
2502 Add and implement g_drive_has_volumes
2504 2007-10-17 Alexander Larsson <alexl@redhat.com>
2507 * gio/glocalfileinfo.[ch]:
2508 Add unix:is_mountpoint and implement for local files
2510 2007-10-16 Alexander Larsson <alexl@redhat.com>
2512 * gio/gunionvolumemonitor.c:
2513 (g_union_volume_monitor_init):
2514 Fix up the unix type getting so that it works with gcc
2516 2007-10-12 Alexander Larsson <alexl@redhat.com>
2519 * gio/glocalfileinfo.c:
2520 Add thumbnail:failed to file info
2522 2007-10-12 Richard Hult <richard@imendio.com>
2524 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2525 optimizing away the get_type call (happens with some gcc versions,
2526 like the one shipped with OS X 10.4).
2528 2007-10-12 Alexander Larsson <alexl@redhat.com>
2530 * gio/glocalfileinfo.c:
2531 (_g_local_file_info_set_attribute):
2532 Fix build if not HAVE_XATTR
2533 Patch from Milosz Derezynski <internalerror@gmail.com>
2535 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2537 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2538 around for review, otherwise I would have asked you before
2541 2007-10-11 Alexander Larsson <alexl@redhat.com>
2544 Add thumbnail:path attribute
2546 * gio/glocalfileinfo.c:
2547 Implement thumbnail:path for local files
2549 2007-10-11 Alexander Larsson <alexl@redhat.com>
2551 * gio/glocalfileinfo.c:
2552 (_g_local_file_info_get):
2553 Avoid duplicate icon names
2555 2007-10-11 Alexander Larsson <alexl@redhat.com>
2557 * gio/gthemedicon.[ch]:
2558 Change g_themed_icon_get_names return type to const
2560 2007-10-10 Alexander Larsson <alexl@redhat.com>
2562 * gio/glocalfileinfo.c:
2563 Don't reference freed memory
2565 2007-10-10 Alexander Larsson <alexl@redhat.com>
2567 * gio/gfileattribute.c:
2570 * gio/glocalfileinfo.c:
2573 2007-10-10 Alexander Larsson <alexl@redhat.com>
2576 Check for NULL icons
2578 * gio/gfileattribute.c:
2579 Don't dup when getting objects (same as for string attributes)
2581 * gio/gicon.c (g_icon_equal):
2582 Safely handle NULLs in equal
2584 2007-10-10 Alexander Larsson <alexl@redhat.com>
2587 Fix c++ compilation issues
2588 Patch from Milosz Derezynski <internalerror@gmail.com>
2590 2007-10-10 Alexander Larsson <alexl@redhat.com>
2592 * programs/gio-monitor-dir.c:
2593 Don't crash if dir monitor not supported.
2595 2007-10-09 Alexander Larsson <alexl@redhat.com>
2598 Add missing G_END_DECLS
2600 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2602 * gio/gfile.c: (g_file_set_display_name),
2603 (g_file_query_settable_attributes),
2604 (g_file_query_writable_namespaces):
2605 Return NULL not FALSE on errors as the return type is a pointer.
2607 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2609 * gio/glocalfile.c: (g_local_file_monitor_file):
2610 Don't call monitor_file on the default interface vtable (which
2611 is NULL) but simply return NULL. The caller, GFile, will create a
2612 polling monitor if NULL is returned.
2614 2007-10-09 Alexander Larsson <alexl@redhat.com>
2618 * gio-unix-2.0.pc.in:
2619 Add gio-unix-2.0.pc if OS_UNIX
2622 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2624 2007-10-09 Alexander Larsson <alexl@redhat.com>
2626 * gio/gunixmounts.[ch]:
2627 Make unix mount monitoring API sane.
2628 Now its just a object with mounts_changed
2629 and mountpoints_changed signals.
2631 * gio/glocaldirectorymonitor.c:
2632 * gio/gunixvolumemonitor.c:
2633 Use new mount monitor api
2635 2007-10-09 Alexander Larsson <alexl@redhat.com>
2637 * gio/gunixmounts.[ch]:
2638 Move guess type into one call for mounts and one for mountpoints
2641 * gio/gunixvolume.c:
2644 2007-10-09 Alexander Larsson <alexl@redhat.com>
2646 * gio/gunixmounts.[ch]:
2647 Remove _ prefix in preparation to make this semi-public
2648 Hide implementation of structs
2650 * gio/glocaldirectorymonitor.c:
2652 * gio/gunixvolume.c:
2653 * gio/gunixvolumemonitor.c:
2654 Update for above API changes
2656 2007-10-08 Alexander Larsson <alexl@redhat.com>
2659 Better polling fallback. This also handles the case where we have
2660 a monitor_file implementation, but it fails.
2662 2007-10-08 Alexander Larsson <alexl@redhat.com>
2666 * gio/gunixmounts.c:
2667 * programs/gio-monitor-dir.c:
2668 * programs/gio-monitor-file.c:
2669 Added cancellable to file monitoring calls.
2670 These are really sync calls and need this.
2672 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2674 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2675 (g_local_vfs_class_init):
2676 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2677 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2679 2007-10-05 Alexander Larsson <alexl@redhat.com>
2681 * gio/gdirectorymonitorprivate.h:
2682 * gio/gfilemonitorprivate.h:
2683 * gio/gdirectorymonitor.h:
2684 * gio/gfilemonitor.h:
2685 Remove *private.h and move to the public API, so that
2686 we can do implementations outside gio (such as in gvfs)
2688 * gio/gdirectorymonitor.c:
2689 * gio/gfilemonitor.c:
2690 * gio/glocaldirectorymonitor.c:
2691 * gio/gpollfilemonitor.c:
2692 * gio/inotify/inotify-helper.c:
2693 * gio/fam/fam-helper.c:
2694 Update to the new header names
2696 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2698 * gio/gdirectorymonitor.c:
2699 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2702 2007-10-04 Alexander Larsson <alexl@redhat.com>
2704 * gio/glocalfileinfo.c (get_access_rights):
2705 Set CAN_TRASH when we can move the file.
2706 We should really also check for a parent trash dir.
2708 2007-10-04 Alexander Larsson <alexl@redhat.com>
2710 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2711 Add can_trash access attribute
2713 2007-10-04 Alexander Larsson <alexl@redhat.com>
2716 (g_local_file_trash):
2717 Create info file first. This is per-spec and allows
2718 us to actually trash directories.
2720 2007-10-02 Alexander Larsson <alexl@redhat.com>
2722 * gio/gdesktopappinfo.c:
2723 Implement the new mime support code.
2724 Always set app as handling mimetype when being set as default for it
2726 2007-10-01 Alexander Larsson <alexl@redhat.com>
2728 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2729 Fix up check for xattrs:
2731 2007-10-01 Alexander Larsson <alexl@redhat.com>
2734 (g_app_info_set_as_default_for_extension):
2735 (g_app_info_add_supports_type):
2736 (g_app_info_can_remove_supports_type):
2737 (g_app_info_remove_supports_type):
2738 Make these fail nicely if not implemented
2740 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2742 * gio/glocalfileoutputstream.c:
2743 * gio/glocalfileoutputstream.h:
2748 * programs/gio-save.c:
2749 Add a GFileCreateFlags argument to operations that can create
2752 2007-10-01 Alexander Larsson <alexl@redhat.com>
2754 * gio/gappinfo.[ch]:
2755 * gio/gdesktopappinfo.c:
2756 Add more (stubbed out) mime API needed for nautilus
2758 2007-10-01 Alexander Larsson <alexl@redhat.com>
2761 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2762 Add g_app_info_set_as_default_for_extension.
2764 * gio/gdesktopappinfo.c:
2765 Dummy for g_app_info_set_as_default_for_extension
2766 Support flags in g_app_info_create_from_commandline
2768 * gio/gwin32appinfo.c:
2770 Update for API changes
2772 * gio/gthemedicon.c:
2773 Properly NULL-terminate list of icon names
2775 2007-09-28 Alexander Larsson <alexl@redhat.com>
2777 * gio/gloadableicon.h:
2778 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2780 2007-09-28 Alexander Larsson <alexl@redhat.com>
2783 Install headers in $includedir/gio-standalone/
2785 * gio-2.0.pc.in: Added.
2786 * gio-standalone.pc.in: Removed.
2789 Renamed pkg-config file to match glib (for future move)
2790 Update to the new include dir
2793 Add more TODO comments
2795 2007-09-28 Alexander Larsson <alexl@redhat.com>
2797 * gio/gdesktopappinfo.[ch]:
2798 Expose new_from_filename
2799 Add getter for is_hidden and handle it better
2801 2007-09-28 Alexander Larsson <alexl@redhat.com>
2803 * gio/gfileinfo.[ch]:
2804 Rename g_file_size_format_for_display to
2805 g_format_file_size_for_display.
2806 Now it doesn't have the g_file prefix, so we
2807 can later move it to glib.
2809 2007-09-28 Alexander Larsson <alexl@redhat.com>
2811 * gio/gappinfo.[ch]:
2812 Add g_app_info_get_id and g_app_info_get_executable.
2813 Make all getters non-reffing
2814 Make g_app_info_launch take GFile arguments.
2815 Add must_support_uris argument to g_app_info_get_default_for_type.
2817 * gio/gwin32appinfo.c:
2818 Update to GAppInfo api changes
2820 * gio/gdesktopappinfo.c:
2821 Update to GAppInfo api changes
2822 Implement supports_xdg_startup_notify
2824 * gio/gfileicon.c (g_file_icon_get_file):
2825 Make getter non-reffing.
2830 2007-09-27 Alexander Larsson <alexl@redhat.com>
2832 * gio/gfileinfo.[ch]:
2833 Add g_file_size_format_for_display helper
2835 2007-09-27 Alexander Larsson <alexl@redhat.com>
2837 * gio/glocalfileinfo.c:
2838 Set UNIX_GID from gid, not from uid
2840 2007-09-27 Alexander Larsson <alexl@redhat.com>
2843 Add g_file_set_attributes_async
2845 2007-09-27 Alexander Larsson <alexl@redhat.com>
2847 * gio/glocalfile.c (g_local_file_set_display_name):
2848 Fix set_display_name to actually rename to the right place.
2849 Use lstat to look for existing files so we don't overwrite
2852 2007-09-26 Alexander Larsson <alexl@redhat.com>
2855 Add g_file_set_display_name_async()
2857 2007-09-26 Alexander Larsson <alexl@redhat.com>
2860 Add load_partial_contents async calls
2863 Make internal function static
2865 2007-09-26 Alexander Larsson <alexl@redhat.com>
2867 * gio/glocalfileinfo.c:
2868 Correctly detect broken symlinks
2870 2007-09-26 Alexander Larsson <alexl@redhat.com>
2872 * gio/gcancellable.c (g_cancellable_cancel):
2873 Allow cancel on NULL cancellable
2875 2007-09-25 Alexander Larsson <alexl@redhat.com>
2877 * gio/gsimpleasyncresult.c:
2878 Don't allocate g_error manually.
2879 Fixes g_slice/g_new mixup crash
2881 2007-09-25 Alexander Larsson <alexl@redhat.com>
2883 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2884 Actually set active_backend.
2885 This means the monitor will be cancelled correctly.
2887 2007-09-25 Alexander Larsson <alexl@redhat.com>
2889 * gio/gdirectorymonitor.c:
2890 Set timeout to NULL when destroying
2892 2007-09-25 Alexander Larsson <alexl@redhat.com>
2895 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2896 that is a better description of the error.
2898 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2900 * gio/gvfs.c: (g_vfs_get_local):
2901 Make the local vfs variable static. The same instance should
2904 2007-09-24 Alexander Larsson <alexl@redhat.com>
2906 * gio/glocalfileinfo.c:
2907 Pass in actual length read into sniffer, not the length
2910 2007-09-21 Alexander Larsson <alexl@redhat.com>
2912 * gio/gfileenumerator.c:
2915 * gio/gfileinputstream.c:
2916 * gio/gfileoutputstream.c:
2917 * gio/ginputstream.c:
2918 * gio/goutputstream.c:
2919 Don't crash if async callbacks are NULL
2921 2007-09-20 Alexander Larsson <alexl@redhat.com>
2924 Add async enumerate_children method and default
2927 2007-09-20 Alexander Larsson <alexl@redhat.com>
2930 Add g_file_contains_file & g_file_get_relative_path, since they
2931 were needed for nautilus.
2932 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2937 Implement new methods
2939 2007-09-17 Alexander Larsson <alexl@redhat.com>
2942 * gio/gfileinputstream.[ch]:
2943 * gio/gfileoutputstream.[ch]:
2945 * gio/glocalfileenumerator.[ch]:
2946 * gio/glocalfileinfo.[ch]:
2947 * gio/glocalfileinputstream.c:
2948 * gio/glocalfileoutputstream.c:
2949 * gio/gpollfilemonitor.c:
2950 * programs/gio-copy.c:
2951 * programs/gio-info.c:
2952 * programs/gio-move.c:
2953 Rename get_file_info to query_info() to make it clearer
2954 that these are not simple getters, but do i/o.
2956 2007-09-17 Alexander Larsson <alexl@redhat.com>
2958 * gio/gdatainputstream.[ch]:
2959 * gio/test-streams.c:
2960 Use _read_XXX instead of _get_XXX for the i/o calls
2963 2007-09-17 Alexander Larsson <alexl@redhat.com>
2966 Added needed stuff to TODO comment
2968 2007-09-17 Alexander Larsson <alexl@redhat.com>
2970 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2971 Don't error out removing the backup copy if it doesn't
2974 2007-09-14 Alexander Larsson <alexl@redhat.com>
2976 * programs/Makefile.am:
2977 * programs/gvfs-*.c:
2979 Renamed apps from gvfs-xxx to gio-xxx.
2981 2007-09-14 Alexander Larsson <alexl@redhat.com>
2984 * gio/gfileoutputstream.[ch]:
2985 * gio/glocalfileoutputstream.c:
2986 * programs/gvfs-save.c:
2987 g_file_output_stream_get_etag doesn't do i/o, so remove
2988 cancellation and error.
2990 2007-09-14 Alexander Larsson <alexl@redhat.com>
2993 Add new_etag output to replace_contents functions
2995 2007-09-14 Alexander Larsson <alexl@redhat.com>
2997 * gio/gfileoutputstream.[ch]:
2998 Add async get_file_info and default implementation
3000 2007-09-14 Alexander Larsson <alexl@redhat.com>
3002 * gio/gfileinputstream.c:
3003 Implement fallback wrapper for async get_file_info
3005 2007-09-14 Alexander Larsson <alexl@redhat.com>
3008 Add etag out argument to load_contents
3013 2007-09-14 Alexander Larsson <alexl@redhat.com>
3015 * gio/gcontenttype.c (looks_like_text):
3016 Whitespace like tab, cr and lf do not make the
3019 2007-09-14 Alexander Larsson <alexl@redhat.com>
3021 * gio/gfileinputstream.[ch]:
3022 Add async get_file_info.
3024 2007-09-13 Alexander Larsson <alexl@redhat.com>
3026 * gio/goutputstream.c (g_output_stream_write_all):
3027 Allow NULL for bytes_written
3029 2007-09-13 Alexander Larsson <alexl@redhat.com>
3031 * gio/gmemoryinputstream.[ch]:
3032 Add accessors for data
3034 2007-09-13 Alexander Larsson <alexl@redhat.com>
3036 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3037 Don't crash if length is NULL