1 2008-01-21 Matthias Clasen <mclasen@redhat.com>
4 * gvolumemanager.c: Whitespace cleanups.
6 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
7 Use the right mode when creating the file.
9 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
14 * goutputstream.c: Documentation: Fixed minor typos
15 and added more mentions of specific _finish() functions.
17 2008-01-21 Alexander Larsson <alexl@redhat.com>
19 * inotify/Makefile.am:
20 * inotify/inotify-helper.c:
21 * inotify/inotify-kernel.c:
22 * inotify/inotify-path.c:
23 * inotify/local_inotify.h: Removed.
24 * inotify/local_inotify_syscalls.h: Removed.
25 Removed the included copies of the inotify
26 headers. We now only use the <sys/inotify.h>
27 header which exists on modern systems.
28 This fixes problems on ARM and SH5 (#510448)
29 but is also generally much cleaner and future
30 safe. For instance, if other OSes add support
31 for inotify it should "just work".
33 2008-01-20 Matthias Clasen <mclasen@redhat.com>
35 * inotify/*.c: Coding style fixes.
36 * inotify/inotify-missing.c: Use g_timeout_add_seconds
39 2008-01-20 Matthias Clasen <mclasen@redhat.com>
43 * gmemoryinputstream.c:
44 * gmemoryoutputstream.c:
46 * gthemedicon.c: Documentation updates
48 2008-01-20 Murray Cumming <murrayc@murrayc.com>
50 * gfile.c: documentation: Fixed more minor
53 2008-01-18 Murray Cumming <murrayc@murrayc.com>
55 * gmount.c: (g_mount_remount): documentation:
56 Mention g_mount_remount_finish() instead of
57 g_mount_unmount_finish().
59 2008-01-18 Murray Cumming <murrayc@murrayc.com>
63 * gfile.c: Fixed some minor typos in the
66 2008-01-18 Murray Cumming <murrayc@murrayc.com>
68 * gio/gvolumemonitor.c:
69 (g_volume_monitor_get_connected_drives):
70 (g_volume_monitor_get_volumes):
71 (g_volume_monitor_get_mounts): Documentation:
72 Clarify the ownership of the regurn GLists.
74 2008-01-17 Alexander Larsson <alexl@redhat.com>
77 Add the async find_enclosing_mount version
78 to the header file too.
80 2008-01-17 Alexander Larsson <alexl@redhat.com>
83 Add async version of find_enclosing_mount
84 with default implementation.
86 2008-01-17 Alexander Larsson <alexl@redhat.com>
91 Allow calls to implementation of copy and write
92 even if the type of the file implementations is
93 different. This can be used to implement native
94 upload and download calls in a vfs.
98 Protect against the case where move is called
99 with one file not being local.
101 Make sure we call the progress callback once
102 in the native move operation so that the caller
103 knows how many bytes were copied.
105 2008-01-16 Murray Cumming <murrayc@murrayc.com>
108 * gdatainputstream.c:
110 * gfileoutputstream.c:
115 * gunixmounts.c: Corrected some typos in the documentation:
117 its -> it's (where appropriate).
119 2008-01-16 Alexander Larsson <alexl@redhat.com>
123 Add g_file_query_exists (#508771)
125 2008-01-15 Murray Cumming <murrayc@murrayc.com>
130 * gvolume.c: For async functions that have no non-async
131 version, document that the GAsyncReadyCallback may be NULL.
134 2008-01-15 Alexander Larsson <alexl@redhat.com>
136 * gmemoryinputstream.c:
137 * gmemoryoutputstream.c:
138 Don't do pointer arithmetic on void * (#508602)
139 Patch from Kazuki IWAMOTO
141 2008-01-14 Matthias Clasen <mclasen@redhat.com>
143 * === Released 2.15.2 ===
145 2008-01-14 Alexander Larsson <alexl@redhat.com>
147 * gfile.c (g_file_monitor_file):
148 Don't set error here, since we fallback to polling monitor.
150 2008-01-14 Alexander Larsson <alexl@redhat.com>
153 (g_file_monitor_directory):
154 (g_file_monitor_file):
155 Add GError to file monitor calls
157 * glocaldirectorymonitor.c:
158 * glocaldirectorymonitor.h:
160 * glocalfilemonitor.c:
161 * glocalfilemonitor.h:
163 Update for above change
165 2008-01-14 Alexander Larsson <alexl@redhat.com>
169 Handle root correctly in g_file_get_relative_path (#508719)
171 2008-01-14 Alexander Larsson <alexl@redhat.com>
174 Clean up docs and example for GAsyncResult (#508074)
176 2008-01-11 Murray Cumming <murrayc@murrayc.com>
178 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
179 and correct some spelling mistakes. Bug #508108.
181 2008-01-11 Matthias Clasen <mclasen@redhat.com>
183 * glocalfileinfo.c: Add a comment.
185 2008-01-10 Murray Cumming <murrayc@murrayc.com>
187 * gfileinfo.c: GFileInfo description: Mention
188 how to actually set attributes in a GFile and how to discover
189 which attributes are settable. Bug #508378.
191 2008-01-10 A. Walton <awalton@svn.gnome.org>
193 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
194 (g_app_info_get_default_for_type):
195 Check for NULL content types.
197 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
199 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
201 2008-01-09 Murray Cumming <murrayc@murrayc.com>
203 * gfile.c: *_async() functions: Several small corrections
204 to the documentation, mostly correcting copy/paste errors
205 and improving some sentences.
207 2008-01-09 Dan Winship <danw@gnome.org>
209 * glocalfile.c (get_unique_filename): x86_64 fix
211 2008-01-09 Alexander Larsson <alexl@redhat.com>
216 Add g_unix_mount_guess_should_display and use
217 for unix volume monitor backend.
218 This means we more or less show what the
219 gnome-vfs backend did.
220 Based on patch from Padraig O'Briain
222 2008-01-09 Alexander Larsson <alexl@redhat.com>
226 Add g_themed_icon_new_with_default_fallbacks
229 Use default fallbacks for icons
231 2008-01-09 Alexander Larsson <alexl@redhat.com>
234 * gmountoperation.[ch]:
235 Change the API a bit so that unhandled methods
236 get reported via the reply, rather than by
237 the signal emission return value. This is because
238 some handlers can't know this immediately without
239 doing I/O, and this is an async operation that
242 2008-01-09 Alexander Larsson <alexl@redhat.com>
245 * fam/gfamdirectorymonitor.c:
246 * fam/gfamfilemonitor.c:
247 Fix double free crash (#508224)
248 Patch from Joe Marcus Clarke
250 008-01-07 Matthias Clasen <mclasen@redhat.com>
252 * === Released 2.15.1 ===
254 2008-01-07 Alexander Larsson <alexl@redhat.com>
256 * gunixinputstream.c (g_unix_input_stream_skip_finish):
257 Fix warning (#507835)
259 2008-01-07 Alexander Larsson <alexl@redhat.com>
262 Pass --internal to glib-genmarshal
267 Use better types for signal arguments (#507822)
269 2008-01-07 Alexander Larsson <alexl@redhat.com>
272 Build test subdir after .
273 Remove gdirectorymonitor.[ch]
275 * gdirectorymonitor.[ch]:
279 Remove GDirectoryMonitor and make
280 GFileMonitor the baseclass for both file and
281 directory monitors. Lift the more generic
282 rate limiting code from GDirectoryMonitor
286 * fam/gfamdirectorymonitor.[ch]:
287 * inotify/ginotifydirectorymonitor.[ch]:
288 * inotify/inotify-helper.c:
289 * glocaldirectorymonitor.[ch]:
292 Update for the removed GDirectoryMonitor.
294 * gmemoryoutputstream.c:
295 Remove ununsed variable
297 2008-01-07 Alexander Larsson <alexl@redhat.com>
299 * gmemoryinputstream.c:
300 Translate error strings
303 * gmemoryoutputstream.[ch]:
304 New implementation that avoids using GByteArray
305 in implementation and API. (#506377)
307 2008-01-06 Matthias Clasen <mclasen@redhat.com>
309 * tests/*: Add a test for memory input streams.
311 * Makefile.am: Add tests to SUBDIRS.
313 2008-01-06 Matthias Clasen <mclasen@redhat.com>
315 * glocalfilemonitor.c:
316 * glocaldirectorymonitor.c: Mark property nicks and blurbs
319 2008-01-06 Matthias Clasen <mclasen@redhat.com>
321 * gdesktopappinfo.c: Fix a docs typo.
323 * gfileattribute.c: Add information about extended attributes
324 to the documentation. (#505058)
326 2008-01-04 Alexander Larsson <alexl@redhat.com>
330 Use the right type (uint) for the ask_password signal.
332 2008-01-04 Alexander Larsson <alexl@redhat.com>
337 Add g_app_info_supports_files()
338 Remove desktop arg from g_app_info_should_show().
340 * gdesktopappinfo.[ch]:
341 Implement g_app_info_supports_files() and new should_show()
342 Add g_desktop_app_info_set_desktop_env() to set the desktop
343 for should_show(). (This will be set by gtk+ later)
345 2008-01-04 Alexander Larsson <alexl@redhat.com>
348 * gmemoryinputstream.[ch]:
349 Improve API so that you can use multiple chunks
350 of memory and custom destroy functions. (#506374)
352 2008-01-03 Alexander Larsson <alexl@redhat.com>
355 Handle NULL attribute matchers safely, as we return this
356 for empty attribute matcher strings.
358 2008-01-03 Alexander Larsson <alexl@redhat.com>
360 * gunixmounts.c (g_unix_is_mount_path_system_internal):
361 Add /usr/local to list of internal mountpoints
363 2008-01-03 Alexander Larsson <alexl@redhat.com>
366 Check for HAVE_LCHOWN (#505887)
368 2008-01-03 Alexander Larsson <alexl@redhat.com>
372 Add define for selinux context attribute.
373 Fix missing : -> :: namespace separator change
374 Fix missing _ -> - name change for xattr-sys.
377 2008-01-03 Alexander Larsson <alexl@redhat.com>
380 Link to libglib and libgobject directly (#504879)
381 Patch from Sebastien Bacher
383 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
385 * gfile.c: Expanded the g_file_new_for_commandline_arg
386 description a bit, based on the code and the docs of the
387 other g_file_new_for_* functions.
389 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
391 * gfilemonitor.h: Fixed typo in docs.
393 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
395 Updates to GIO documentation. (#506395, Mikael Hermansson)
397 * gcontenttype.c: Describe memory management for return value of
398 g_content_types_get_registered(). Missing piece from #505815.
399 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
400 GVolume, GDrive, GMounts, which hopefully gives the user less
401 confusions when using this API. Following explainations from
402 Alexander Larsson on gtk-devel-list.
404 2007-12-30 Matthias Clasen <mclasen@redhat.com>
406 * gfileinfo.c: Expand the long description.
408 2007-12-30 Matthias Clasen <mclasen@redhat.com>
411 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
412 fix builds with --disable-visibility. (#500273, Christian Persch)
414 2007-12-30 Matthias Clasen <mclasen@redhat.com>
416 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
417 in the list of returned app infos.
419 2007-12-30 Matthias Clasen <mclasen@redhat.com>
421 * gappinfo.c: Fix a cross-reference
423 2007-12-30 Matthias Clasen <mclasen@redhat.com>
425 * gfileinputstream.c:
426 * gfileoutputstream.c:
432 * gfileinfo.c: Documentation updates.
434 2007-12-26 Matthias Clasen <mclasen@redhat.com>
436 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
439 2007-12-26 Matthias Clasen <mclasen@redhat.com>
441 * gcontenttype.c (g_content_types_get_registered): Don't return
442 freed memory (#505815, Mikael Hermansson)
444 2007-12-25 Paolo Borelli <pborelli@katamail.com>
446 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
447 used to detect statbuf->st_blocks. (#505042)
449 2007-12-24 Matthias Clasen <mclasen@redhat.com>
451 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
452 environment handling. (#504829, Cosimo Cecchi)
454 2007-12-22 Matthias Clasen <mclasen@redhat.com>
456 * gappinfo.c: Doc improvements
458 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
461 2007-12-20 Matthias Clasen <mclasen@redhat.com>
463 * === Released 2.15.0 ===
465 2007-12-20 Hans Breuer <hans@breuer.org>
467 * makefile.msc : don't build gdesktopappinfo.obj, it collides
468 with symbols gwin32appinfo.obj, added gmount.obj
469 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
471 2007-12-20 Alexander Larsson <alexl@redhat.com>
477 * gfilenamecompleter.c:
480 * gpollfilemonitor.c:
481 File attribute renames:
484 id::fs -> id::filesystem
486 2007-12-20 Alexander Larsson <alexl@redhat.com>
495 Add GMountUnmountFlags to all unmount and
497 Add g_mount_remount() call.
499 2007-12-20 Alexander Larsson <alexl@redhat.com>
501 * gvfs.c (get_default_vfs):
502 Fix unused variable warning
504 2007-12-19 Matthias Clasen <mclasen@redhat.com>
506 * pltcheck.sh: Update
508 2007-12-19 Matthias Clasen <mclasen@redhat.com>
510 * gunionvolumemonitor.c:
511 * gunixmount.c: Remove C99 comments
513 2007-12-19 Matthias Clasen <mclasen@redhat.com>
515 * gio.symbols: Add some missing symbols
517 2007-12-19 Alexander Larsson <alexl@redhat.com>
520 Make g_io_modules_load_all_in_directory not unuse
521 loaded modules so that users of it can do stuff
523 Init internal "module" types.
524 Initialize static prio and name for types so that
525 we don't have to load modules to get it.
527 * gnativevolumemonitor.h:
529 Move is_supported to parent class so that
530 non-native monitors can avoid being initialized
531 too. (For instance GDaemonVolumeMonitor if we're
532 not using GDaemonVfs.)
534 * glocaldirectorymonitor.[ch]:
535 * glocalfilemonitor.[ch]:
536 * gunionvolumemonitor.c:
537 * gunixvolumemonitor.c:
539 Find plugins using the static prio+name to
540 avoid unnecessarily loading the modules.
542 2007-12-19 Alexander Larsson <alexl@redhat.com>
547 2007-12-19 Alexander Larsson <alexl@redhat.com>
549 * gunionvolumemonitor.c:
550 Store the native type as GType, not class so that
551 we can unload it. But still avoid unnecessarily
554 2007-12-19 David Zeuthen <davidz@redhat.com>
556 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
557 add signals 'disconnected' and 'eject-button' on GDrive. Add
558 signal 'removed' on GVolume and 'unmounted' on GMount.
560 * gdrive.c: (g_drive_base_init):
562 * gfile.c: (g_file_mount_mountable),
563 (g_file_mount_enclosing_volume):
566 * gmount.c: (g_mount_base_init):
568 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
569 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
570 * gvolume.c: (g_volume_base_init), (g_volume_mount):
574 2007-12-17 Matthias Clasen <mclasen@redhat.com>
576 * *.c: Fix up includes in the section docs.
578 2007-12-17 Alexander Larsson <alexl@redhat.com>
580 * gnativevolumemonitor.h:
581 * gunionvolumemonitor.c:
582 * gunixvolumemonitor.c:
583 Add is_supported() to GNativeVolumeMonitorClass so
584 that we can avoid having to create an object to see
585 if the backend is supported at runtime.
586 Also add name member and an env var to pick a specific
587 volume monitor backend.
591 Add cancellable to _g_mount_get_for_mount_path()
593 * glocaldirectorymonitor.c:
594 * glocalfilemonitor.c:
595 Avoid loading and unloading modules while sorting.
597 2007-12-17 Matthias Clasen <mclasen@redhat.com>
600 * gunixmounts.[hc]: Namespace waste reduction, move some
601 g_get_unix_mount functions to the g_unix_mount namespace.
604 * gunixvolumemonitor.c:
606 * glocaldirectorymonitor.c: Update all callers.
608 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
610 2007-12-17 Alexander Larsson <alexl@redhat.com>
613 Add doc comments about what GFile operations are
614 guaranteed to not block.
616 2007-12-17 Alexander Larsson <alexl@redhat.com>
619 Add missing #ifdef fixing OSX build.
620 (#503334, patch from Richard Hult)
622 2007-12-14 David Zeuthen <davidz@redhat.com>
626 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
627 (g_mount_eject), (g_mount_eject_finish):
629 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
630 (get_volume_for_uuid), (get_mount_for_uuid),
631 (g_union_volume_monitor_class_init),
632 (get_default_native_type_with_exclude), (get_default_native_type),
633 (get_native_type), (update_native_type),
634 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
635 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
636 (g_unix_mount_can_eject), (eject_unmount_cb),
637 (eject_unmount_read_error), (eject_unmount_do),
638 (g_unix_mount_unmount), (g_unix_mount_eject),
639 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
640 * gunixmounts.c: (g_unix_mount_guess_can_eject),
641 (g_unix_mount_point_guess_can_eject):
643 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
644 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
645 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
646 (g_unix_volume_mount), (g_unix_volume_eject),
647 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
648 * gunixvolumemonitor.c: (get_volume_for_uuid),
649 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
651 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
652 (g_volume_eject), (g_volume_eject_finish):
654 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
655 (g_volume_monitor_get_mount_for_uuid):
658 Provide eject() on both GMount and GVolume and utility functions
659 to guess whether a GUnixMountPoint or GUnixMountEntry should be
660 ejected. Introduce the concept of UUID's and wire it into GVolume
661 and GMount and provide API on GVolumeMonitor to find such
662 instances. Also handle the case where an external
663 GNativeVolumeMonitor fails to initialize. Lock around the
664 _g_get_mount_for_mount_path() function such that volume monitor
665 implementations won't have to do locking themselves.
667 2007-12-17 Matthias Clasen <mclasen@redhat.com>
675 * gvolume.h: Documentation updates
677 2007-12-14 Matthias Clasen <mclasen@redhat.com>
680 * gfile.h: Doc updates
682 2007-12-14 Matthias Clasen <mclasen@redhat.com>
685 * gdesktopappinfo.c: Use hash table iterators.
687 2007-12-14 Alexander Larsson <alexl@redhat.com>
690 * gfileattribute.[ch]:
691 * gfileattribute-priv.h:
692 Move GFileAttributeValue to a private header, as
696 Make set_attribute take a type + a pointer instead
697 of a GFileAttributeValue.
700 Fix up for above changes.
701 Add g_file_info_get_attribute_data to get
702 all info in one call, g_file_info_get_attribute_status
703 to get the status and g_file_info_get_attribute_as_string.
707 * glocalfileinfo.[ch]:
711 Make _guess_type static.
713 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
716 * inotify/Makefile.am: Fixed build when srcdir != builddir,
717 made mkenums and friends use temporary files to avoid leaving
718 empty generated files on failure (#503470).
720 2007-12-14 Alexander Larsson <alexl@redhat.com>
725 2007-12-14 Alexander Larsson <alexl@redhat.com>
729 * gfileattribute.[ch]:
732 * glocalfileoutputstream.c:
733 * gmountoperation.[ch]:
734 * goutputstream.[ch]:
735 Clean up all flags enums to not have _FLAGS in them
736 Make the names of some of the enums better.
741 2007-12-14 Michael Natterer <mitch@imendio.com>
743 * gio.symbols: fix g_io_scheduler symbol names.
745 2007-12-14 Alexander Larsson <alexl@redhat.com>
751 * gbufferedinputstream.h:
752 * gbufferedoutputstream.h:
755 * gdatainputstream.h:
756 * gdataoutputstream.h:
758 * gdirectorymonitor.h:
765 * gfileinputstream.h:
767 * gfilenamecompleter.h:
768 * gfileoutputstream.h:
769 * gfilterinputstream.h:
770 * gfilteroutputstream.h:
778 * gmemoryinputstream.h:
779 * gmemoryoutputstream.h:
784 * gsimpleasyncresult.h:
786 * gunixinputstream.h:
788 * gunixoutputstream.h:
792 * inotify/Makefile.am:
793 Only allow including <gio/gio.h> from apps
795 2007-12-14 Alexander Larsson <alexl@redhat.com>
798 * gsimpleasyncresult.c:
799 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
800 Split out the send_to_mainloop call into two versions instead
801 of having the block argument.
803 2007-12-13 Alexander Larsson <alexl@redhat.com>
807 * gbufferedinputstream.c:
809 * gfileinputstream.c:
810 * gfileoutputstream.c:
814 g_push/pop_current_cancellable ->
815 g_cancellable_push/pop_current
817 2007-12-13 Alexander Larsson <alexl@redhat.com>
821 Rename g_mount_for_location to g_file_mount_enclosing_volume.
823 2007-12-13 Alexander Larsson <alexl@redhat.com>
826 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
828 2007-12-12 Alexander Larsson <alexl@redhat.com>
831 Fix race condition when freeing proxy in
832 g_io_job_send_to_mainloop().
834 2007-12-12 Alexander Larsson <alexl@redhat.com>
840 Make attribute namespace separator "::" instead of ":".
841 Use - instead of _ as separator in attribute names.
843 2007-12-12 Alexander Larsson <alexl@redhat.com>
845 * gbufferedinputstream.h:
846 * gbufferedoutputstream.h:
847 * gdatainputstream.h:
848 * gdataoutputstream.h:
849 * gdirectorymonitor.h:
851 * gfileinputstream.h:
853 * gfileoutputstream.h:
854 * gfilterinputstream.h:
855 * gfilteroutputstream.h:
857 * glocalfileinputstream.h:
858 * glocalfileoutputstream.h:
859 * gmemoryinputstream.h:
860 * gmemoryoutputstream.h:
861 * gnativevolumemonitor.h:
863 * gunixinputstream.h:
864 * gunixoutputstream.h:
867 s/parent/parent_instance/ in GObjects
869 2007-12-12 Alexander Larsson <alexl@redhat.com>
874 No need for padding for interfaces
876 2007-12-12 Alexander Larsson <alexl@redhat.com>
880 * gbufferedinputstream.c:
881 * gbufferedoutputstream.c:
884 * gdatainputstream.[ch]:
886 * gdirectorymonitor.c:
888 * gfileattribute.[ch]:
891 * gfileinputstream.h:
893 * gfileoutputstream.[ch]:
894 * gfilterinputstream.h:
895 * gfilteroutputstream.h:
898 * gloadableicon.[ch]:
899 * gmemoryinputstream.c:
902 Fix up a bunch of details in the docs.
907 2007-12-11 David Zeuthen <davidz@redhat.com>
909 Rework how volumes, drives and volume monitoring is
910 done. Previosly the model was
914 where a GDrive instance represented a mount point and a GVolume
915 instance represented a mounted file system. This patch changes it
918 GDrive <1-N> GVolume <1-1> GMount
920 where GMount now serves the purpose of the old GVolume and the new
921 GVolume serves the purpose of the old GDrive. In addition the new
922 GDrive interface is used to represent a collection of GVolume
923 instances (typically partitions) and also contains utility to query
924 the state of the physical drive the GDrive object represents (such
925 as checking for media, polling the drive, ejecting the media etc.).
927 Also implement mounting and unmounting in the Unix volume monitor
928 backend. A subquent patch will introduce GDrive support for ejection
932 * gdrive.c: (g_drive_is_media_check_automatic),
933 (g_drive_is_media_removable), (g_drive_has_media),
934 (g_drive_can_poll_for_media), (g_drive_eject),
935 (g_drive_eject_finish), (g_drive_poll_for_media),
936 (g_drive_poll_for_media_finish):
938 * gfile.c: (g_file_find_enclosing_mount):
941 * glocaldirectorymonitor.c:
942 (g_local_directory_monitor_constructor), (mounts_changed):
943 * glocalfile.c: (get_mount_info),
944 (g_local_file_find_enclosing_mount),
945 (g_local_file_file_iface_init):
946 * gnativevolumemonitor.h:
947 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
948 (get_connected_drives), (g_union_volume_monitor_class_init),
949 (child_volume_added), (child_volume_removed),
950 (child_volume_changed), (child_mount_added), (child_mount_removed),
951 (child_mount_pre_unmount), (child_mount_changed),
952 (child_drive_changed), (g_union_volume_monitor_add_monitor),
953 (g_union_volume_monitor_remove_monitor),
954 (_g_mount_get_for_mount_path):
955 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
956 (guess_system_internal), (_g_get_unix_mounts),
957 (_g_get_unix_mount_points), (g_get_unix_mount_at),
958 (g_unix_mount_free), (g_unix_mount_compare),
959 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
960 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
961 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
962 (type_to_icon), (g_unix_mount_guess_name),
963 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
964 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
965 (_resolve_symlink), (_resolve_dev_root):
967 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
968 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
969 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
970 (g_unix_volume_get_name), (g_unix_volume_can_mount),
971 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
972 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
973 (g_unix_volume_mount), (g_unix_volume_mount_finish),
974 (g_unix_volume_volume_iface_init):
976 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
977 (get_mounts), (get_volumes), (get_connected_drives),
978 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
979 (mountpoints_changed), (mounts_changed),
980 (g_unix_volume_monitor_init),
981 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
982 (find_mount_by_mountpath), (update_volumes), (update_mounts):
983 * gunixvolumemonitor.h:
984 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
985 (g_volume_mount), (g_volume_mount_finish):
987 * gvolumemonitor.c: (g_volume_monitor_class_init),
988 (g_volume_monitor_get_connected_drives),
989 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
992 2007-12-10 Matthias Clasen <mclasen@redhat.com>
994 * gmountoperation.h (GPasswordFlags): Close the gap
996 2007-12-10 Matthias Clasen <mclasen@redhat.com>
998 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1000 * gdesktopappinfo.[hc]: Remove _-prefixes
1002 2007-12-10 Tor Lillqvist <tml@novell.com>
1004 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1007 2007-12-10 Alexander Larsson <alexl@redhat.com>
1009 * gfile.c (g_file_set_display_name):
1010 Don't hardcode '/' (#502727)
1012 2007-12-09 Hans Breuer <hans@breuer.org>
1014 * makefile.msc : follow lib naming convention
1015 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1016 for user and group name, tested with ../tests/gio-ls
1018 2007-12-09 A. Walton <awalton@svn.gnome.org>
1020 * gdesktopappinfo.c:
1026 * gfileenumerator.c:
1031 * gmemoryinputstream.c:
1032 * gmemoryoutputstream.c:
1034 * gsimpleasyncresult.c:
1035 More documentation cleanup and filling in missing information, bringing
1036 GIO to 99% symbol coverage.
1038 2007-12-08 Hans Breuer <hans@breuer.org>
1040 [gio compiles and links on win32, not sure how much already works]
1041 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1042 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1043 base on win32 API; prefer g_lstat() over lstat(); instead of
1044 localtime_r() use an all GLib implementation on win32;
1045 get_mount_info() still needs a win32 specifc implementation
1046 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1047 win32_get_file_user_info to get owner/group info without uid/gid
1048 * glocalfileinputstream.c : include <io.h> on win32
1049 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1050 definition, use g_win32_ftruncate() for G_OS_WIN32
1051 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1052 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1053 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1054 * makefile.msc : updated
1056 2007-12-07 Alexander Larsson <alexl@redhat.com>
1058 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1059 Avoid warning spew if error == NULL
1061 2007-12-07 Alexander Larsson <alexl@redhat.com>
1064 Update docs wrt etags
1066 2007-12-06 Alexander Larsson <alexl@redhat.com>
1069 Include sys/types.h for dev_t (#501919)
1071 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1075 Make abicheck and pltcheck pass.
1077 2007-12-05 Alexander Larsson <alexl@redhat.com>
1080 * giomodule-priv.h: Added.
1081 * glocaldirectorymonitor.c:
1082 * glocalfilemonitor.c:
1083 * gunionvolumemonitor.c:
1085 Actually add the declaration of _g_io_modules_ensure_loaded
1087 2007-12-05 Alexander Larsson <alexl@redhat.com>
1089 * gdatainputstream.c:
1094 * glocaldirectorymonitor.c:
1095 * glocalfilemonitor.c:
1096 * gunionvolumemonitor.c:
1098 Make g_io_modules_ensure_loaded a private function and
1099 don't pass in the dirname. This means we can do magic
1100 directory finding in the win32 version.
1101 Export the actual load-modules-in-directory code so that
1102 gvfs can reuse that.
1104 2007-12-05 Alexander Larsson <alexl@redhat.com>
1106 * gbufferedinputstream.c:
1107 * gbufferedoutputstream.c:
1110 * gfileenumerator.[ch]:
1111 * gfileinputstream.c:
1112 * gfileoutputstream.[ch]:
1113 * gfilterinputstream.c:
1114 * gfilteroutputstream.c:
1115 * ginputstream.[ch]:
1117 * glocalfileenumerator.c:
1118 * glocalfileinputstream.c:
1119 * glocalfileoutputstream.c:
1120 * gmemoryinputstream.c:
1121 * gmemoryoutputstream.c:
1122 * goutputstream.[ch]:
1125 * gunixinputstream.c:
1126 * gunixoutputstream.c:
1127 Rename all struct members named:
1128 read, write, close, truncate, or mount
1129 to foo_fn, as these are reserved names
1130 and could be defined as macros in libc.
1133 2007-12-04 Alexander Larsson <alexl@redhat.com>
1136 (g_output_stream_close):
1137 Only call flush if non-null.
1139 2007-11-30 Dan Winship <danw@gnome.org>
1141 * ginputstream.c (g_input_stream_set_pending): Make this take a
1142 GError and return a gboolean, and do the "outstanding operation"
1143 check (and the "stream is already closed" check) itself.
1144 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1146 * goutputstream.c (g_output_stream_set_pending)
1147 (g_output_stream_clear_pending): Likewise
1149 * gbufferedinputstream.c:
1150 * gfileinputstream.c:
1151 * gfileoutputstream.c: Update for that
1153 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1154 Like g_simple_async_report_error_in_idle, but takes a GError
1155 rather than building one.
1157 2007-11-30 Dan Winship <danw@gnome.org>
1159 * goutputstream.c: Don't cheat and unset the "pending" flag around
1160 inner calls. Instead, call the class method directly rather than
1161 the wrapper function that checks "pending"
1163 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1165 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1167 2007-12-03 Hans Breuer <hans@breuer.org>
1169 [start of port to win32/msvc]
1170 * gcancellable.c : HAVE_UNIST_H and _pipe()
1171 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1172 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1173 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1175 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1176 * glocalvfs.c : use HAVE_PWD_H
1177 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1178 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1179 * Makefile.am : added to EXTRA_DIST
1181 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1183 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1186 2007-12-03 Alexander Larsson <alexl@redhat.com>
1189 Handle OSX style xattrs API (#500506)
1191 2007-12-03 Alexander Larsson <alexl@redhat.com>
1195 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1197 2007-12-02 A. Walton <awalton@svn.gnome.org>
1201 Documentation accuracy fixes.
1203 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1205 * gioenumtypes.c.template: Fix typo.
1207 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1209 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1211 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1213 * gdirectorymonitor.c:
1214 * gfilemonitor.c: Add properties
1216 * gbufferedoutputstream.c: Don't mark buffer-size property
1219 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1221 * gbufferedoutputstream.c: Add auto-grow property.
1223 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1225 * *.c: Unify the capitalization of section headings.
1227 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1229 * gmountoperation.c: Add properties
1231 * gdatainputstream.c: Turn byte-order and newline-type into
1234 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1236 * gioenumtypes.[hc].template: Templates for enum registration
1238 * Makefile.am: Generate gioenumtypes.[hc]
1240 * gio.h: Include gioenumtypes.h
1242 * gfile.h: Add some explicit nicks.
1244 * gio.symbols: Add new symbols
1246 * pltcheck.sh: Adjust
1248 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1250 * *.c: Explain etags and link to the explanation
1252 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1254 * *.c: Explain I/O priority.
1256 * *.c: More coding style fixes.
1258 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1260 * gasyncresult.c: Add another paragraph to the intro,
1261 adjust coding style of example.
1263 2007-11-29 A. Walton <awalton@svn.gnome.org>
1266 Fixes unknown meaning in GAppLaunchContext docs.
1268 Clarify asynchronous ops.
1270 Fix entity tag docs.
1273 Provides missing gtk-doc section, fixes API docs slighly.
1274 * gsimpleasyncresult.c:
1275 Fill in missing info in docs.
1276 * gunixinputstream.c:
1277 * gunixoutputstream.c:
1278 Be more expressive in short description.
1280 Remove gtk-doc stubs for non-public API.
1282 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1284 * *.c: Coding style fixups
1286 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1288 * inotify/inotify-helper.c: Don't export the lock from libgio.
1290 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1293 * abicheck.sh: Fix copy-and-paste leftovers
1295 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1297 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1299 2007-11-28 Alexander Larsson <alexl@redhat.com>
1303 Removed unnecessary file
1305 * gdesktopappinfo.[ch]:
1308 * glocaldirectorymonitor.[ch]:
1310 * glocalfileenumerator.[ch]:
1311 * glocalfileinputstream.[ch]:
1312 * glocalfilemonitor.[ch]:
1313 * glocalfileoutputstream.[ch]:
1315 * gnativevolumemonitor.c:
1316 * gpollfilemonitor.[ch]:
1317 * gunionvolumemonitor.[ch]:
1320 * gunixvolumemonitor.[ch]:
1323 * inotify/ginotifydirectorymonitor.[ch]:
1324 * inotify/ginotifyfilemonitor.[ch]:
1325 * inotify/inotify-helper.c:
1326 Append _ to all internal functions
1330 Export symbols needed for modules
1332 2007-11-28 Alexander Larsson <alexl@redhat.com>
1335 * abicheck.sh: Added.
1336 * makegioalias.pl: Added.
1337 * pltcheck.sh: Added.
1338 * gio.symbols: Added.
1341 Initial work on adding symbol handling.
1344 Correct ifdef guard name
1347 * inotify/Makefile.am:
1348 * xdgmime/Makefile.am:
1349 Include toplevel Makefile.decl
1351 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1353 * gcontenttype.c: Move doc comments to the unix section.
1355 * *.[hc]: More trivial doc corrections.
1357 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1359 * gpollfilemonitor.c:
1363 * gdesktopappinfo.c:
1368 * gdatainputstream.c:
1369 * gdatainputstream.h:
1370 * gdataoutputstream.c:
1371 * gdataoutputstream.h:
1372 * gfileinfo.h: Doc cleanups
1374 2007-11-28 Andre Klapper <a9016009@gmx.de>
1376 * gdesktopappinfo.c: Fix a typo.
1378 2007-11-27 Andre Klapper <a9016009@gmx.de>
1380 * glocalfileoutputstream.c: Fix a typo.
1382 2007-11-27 Alexander Larsson <alexl@redhat.com>
1385 Don't include removed headers
1387 2007-11-27 Alexander Larsson <alexl@redhat.com>
1390 * gsocketinputstream.[ch]: Removed.
1391 * gsocketoutputstream.[ch]: Removed.
1392 * gunixinputstream.[ch]: Added.
1393 * gunixoutputstream.[ch]: Added.
1394 Renamed GSocket*Stream to GUnix*Stream and made
1395 it unix-only, since its not really only for sockets
1396 and it only works on unix (but is highly useful there).
1398 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1404 * gbufferedinputstream.c:
1405 * gbufferedinputstream.h:
1406 * gbufferedoutputstream.c:
1407 * gbufferedoutputstream.h:
1411 * gdatainputstream.c:
1412 * gdatainputstream.h:
1413 * gdataoutputstream.c:
1414 * gdataoutputstream.h:
1415 * gdirectorymonitor.c:
1416 * gdirectorymonitor.h:
1423 * gfileenumerator.c:
1424 * gfileenumerator.h:
1429 * gfileinputstream.c:
1430 * gfileinputstream.h:
1433 * gfilenamecompleter.c:
1434 * gfilenamecompleter.h:
1435 * gfileoutputstream.c:
1436 * gfileoutputstream.h:
1437 * gfilterinputstream.c:
1438 * gfilterinputstream.h:
1439 * gfilteroutputstream.c:
1440 * gfilteroutputstream.h:
1453 * glocalfileoutputstream.c:
1454 * gmemoryinputstream.c:
1455 * gmemoryinputstream.h:
1456 * gmemoryoutputstream.c:
1457 * gmemoryoutputstream.h:
1458 * gmountoperation.c:
1459 * gmountoperation.h:
1462 * gpollfilemonitor.c:
1465 * gsimpleasyncresult.c:
1466 * gsimpleasyncresult.h:
1467 * gsocketinputstream.c:
1468 * gsocketinputstream.h:
1469 * gsocketoutputstream.c:
1470 * gsocketoutputstream.h:
1477 * gunixvolumemonitor.c:
1486 Bumps documentation to 93% symbol coverage, touching most
1487 of the public files. Fixes broken function documentation prototypes.
1488 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1489 gtk-doc headers in private files.
1491 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1493 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1494 (g_buffered_input_stream_read_byte):
1495 * gbufferedinputstream.h:
1496 New functions for efficient access to buffer and simple single byte
1499 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1500 (g_data_input_stream_read_until):
1501 * gdatainputstream.h:
1502 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1503 read_until with multiple stop chars.
1505 2007-11-27 Alexander Larsson <alexl@redhat.com>
1509 * inotify/Makefile.am:
1510 Use the user-specified giomoduledir
1512 2007-11-27 Alexander Larsson <alexl@redhat.com>
1516 Add catch-all gio.h header
1517 Don't install gdummyfile.h
1519 2007-11-26 Alexander Larsson <alexl@redhat.com>
1521 * Makefile.am (gioinclude_HEADERS):
1522 Remove trailing whitespace
1524 2007-11-26 Alexander Larsson <alexl@redhat.com>
1526 Merge gio-standalone into glib
1528 2007-11-25 Christian Kellner <gicmo@gnome.org>
1530 * gio/goutputstream.c:
1531 Fix small mistake in the docs.
1533 2007-11-21 Christian Persch <chpe@gnome.org>
1535 * gio/glocalfile.c: (g_local_file_trash):
1536 Convert filenames to UTF-8 for GError.
1537 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1538 as per xdg base dir spec.
1540 2007-11-21 Christian Persch <chpe@gnome.org>
1542 * gio/gdesktopappinfo.c:
1543 Use that g_key_file_to_data cannot fail.
1545 Use stock defines for the key file group and key names.
1548 2007-11-21 Alexander Larsson <alexl@redhat.com>
1551 (copy_stream_with_progress):
1552 Make sure we do a final progress callback with
1553 the full total size.
1555 2007-11-21 Alexander Larsson <alexl@redhat.com>
1558 Export g_file_copy_attributes
1559 Remove padding as its not needed for interfaces
1561 2007-11-20 Alexander Larsson <alexl@redhat.com>
1566 Add G_IO_ERROR_WOULD_MERGE for
1567 copy/move dir on dir with overwrite.
1569 2007-11-20 Alexander Larsson <alexl@redhat.com>
1572 * gio/glocalfileinfo.c:
1573 Add COPY_NAME (this is an optional
1574 non-modified utf8 version of the name) that
1577 2007-11-20 Alexander Larsson <alexl@redhat.com>
1579 * gio/glocalfileenumerator.c:
1580 Report errors as GIOError, not GFileError
1582 2007-11-16 Alexander Larsson <alexl@redhat.com>
1584 * gio/glocalfileoutputstream.c:
1585 * gio/gwin32appinfo.c:
1586 Fix typos in strings.
1587 Patch from Luca Ferretti <elle.uca@libero.it>
1589 2007-11-15 Alexander Larsson <alexl@redhat.com>
1592 Post release version bump
1594 === gio-standalone 0.1.2 ===
1596 2007-11-15 Alexander Larsson <alexl@redhat.com>
1598 * docs/reference/gio/Makefile.am:
1599 Fix up distcheck by removing weird
1605 2007-11-14 Alexander Larsson <alexl@redhat.com>
1607 * gio/gdesktopappinfo.c:
1608 * gio/glocaldirectorymonitor.c:
1610 * gio/glocalfileinfo.c:
1611 * gio/inotify/inotify-sub.c:
1612 * programs/gio-cat.c:
1613 * programs/gio-copy.c:
1614 * programs/gio-info.c:
1615 * programs/gio-ls.c:
1616 * programs/gio-monitor-dir.c:
1617 * programs/gio-monitor-file.c:
1618 * programs/gio-mount.c:
1619 * programs/gio-move.c:
1620 * programs/gio-rm.c:
1621 * programs/gio-save.c:
1622 * programs/gio-trash.c:
1623 Leak fixes from Kjartan Maraas
1625 2007-11-14 Alexander Larsson <alexl@redhat.com>
1627 * gio/fam/fam-helper.c:
1629 * gio/glocalfileinfo.c:
1633 * gio/inotify/inotify-diag.c:
1634 * gio/inotify/inotify-kernel.c:
1635 Various code cleanups from Kjartan Maraas
1637 2007-11-14 Alexander Larsson <alexl@redhat.com>
1639 * gio/gioscheduler.c:
1641 Set up threadpool so that we cache 2 unused
1642 idle threads for at 15 secs. This means we
1643 will reuse thread-local data (like dbus connections)
1646 2007-11-14 Alexander Larsson <alexl@redhat.com>
1648 * gio/fam/fam-helper.c:
1649 * gio/fam/gfamdirectorymonitor.c:
1650 * gio/fam/gfamfilemonitor.c:
1652 * gio/gcontenttype.c:
1653 * gio/gdatainputstream.c:
1654 * gio/gdataoutputstream.c:
1658 * gio/gfileattribute.h:
1659 * gio/gfileenumerator.c:
1661 * gio/ginputstream.c:
1664 * gio/glocalfileinfo.c:
1665 * gio/goutputstream.c:
1666 * gio/gpollfilemonitor.c:
1667 * gio/gsimpleasyncresult.c:
1668 * gio/gunixmounts.c:
1669 * gio/gunixmounts.h:
1670 * gio/inotify/ginotifydirectorymonitor.c:
1671 * gio/inotify/ginotifyfilemonitor.c:
1672 * gio/inotify/inotify-diag.c:
1673 * gio/inotify/inotify-kernel.c:
1674 * gio/inotify/inotify-path.c:
1676 * gio/test-streams.c:
1677 * programs/gio-info.c:
1678 * programs/gio-monitor-dir.c:
1679 * programs/gio-monitor-file.c:
1680 Various code cleanups from Kjartan Maraas
1682 2007-11-13 Alexander Larsson <alexl@redhat.com>
1685 Handle the uri-scheme calls for dummy files
1687 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1689 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1690 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1691 to avoid clash with the C++ keyword.
1693 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1695 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1696 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1698 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1700 * gio/glocaldirectorymonitor.c:
1701 * gio/glocalfilemonitor.c:
1702 * gio/gunionvolumemonitor.c:
1703 Don't use g_once_init_*() for initializations that could fail and
1704 could leave the initialization variable set to 0 but use GOnce.
1705 This prevents a deadlock on the second call when trying to create
1706 a monitor and no monitor type is available. Thanks to Sven Herzberg
1709 2007-11-11 Sven Herzberg <sven@imendio.com>
1711 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1712 #ifdef (make it work on MacOS X again)
1714 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1716 Fixes Changelog for last two commits (sorry guys).
1718 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1720 * gio/gbufferedinputstream.c:
1721 * gio/gdatainputstream.c:
1723 * gio/gfileoutputstream.c:
1724 * gio/gfilterinputstream.c:
1725 * gio/glocalfileinputstream.c:
1728 More consistency fixes in g*stream.c files.
1729 Significant clean of gfile's documentation, filling in of
1730 asynchronous operations documentation.
1732 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1734 * gio/gasyncresult.c:
1735 * gio/gbufferedinputstream.c:
1736 * gio/gbufferedoutputstream.c:
1737 * gio/gcancellable.c:
1738 * gio/gcontenttype.c:
1739 * gio/gdatainputstream.c:
1740 * gio/gdataoutputstream.c:
1741 * gio/gdesktopappinfo.c:
1744 * gio/gfileattribute.c:
1745 * gio/gio/gfileenumerator.c:
1747 * gio/gfileinputstream.c:
1748 * gio/gfilemonitor.c:
1749 * gio/gfileoutputstream.c:
1750 * gio/ginputstream.c:
1752 * gio/gioscheduler.c:
1753 * gio/gloadableicon.c:
1754 * gio/glocalfileoutputstream.c:
1755 * gio/gmemoryoutputstream.c:
1756 * gio/gmountoperation.c:
1757 * gio/goutputstream.c:
1759 * gio/gsimpleasyncresult.c:
1760 * gio/gunionvolumemonitor.c:
1761 * gio/gunixmounts.c:
1762 * gio/gunixvolume.c:
1766 * gio/gvolumemonitor.c:
1767 Updated documentation stubs, working towards consistency and
1770 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1772 * gio/gmemoryoutputstream.c:
1773 * gio/gmemoryoutputstream.h:
1774 Change g_memory_output_stream_set_free_on_close() to
1775 g_memory_output_stream_set_free_data() as this makes more sense and
1776 is more consistent with GMemoryInputStream.
1778 2007-11-07 Alexander Larsson <alexl@redhat.com>
1785 Change how we find the default vfs so that
1786 we can handle a gvfs failing to init
1788 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1790 * gio/gbufferedoutputstream.c:
1791 * gio/gdatainputstream.c:
1792 * gio/gdataoutputstream.c:
1793 * gio/gfileinputstream.c:
1794 * gio/gfileoutputstream.c:
1795 * gio/gfilterinputstream.c:
1796 * gio/gfilteroutputstream.c:
1797 * gio/ginputstream.c:
1798 * gio/gmemoryinputstream.c:
1799 * gio/gmemoryoutputstream.c:
1800 * gio/goutputstream.c:
1801 * gio/gsimpleasyncresult.c:
1802 * gio/gsocketinputstream.c:
1803 * gio/gsocketoutputstream.c:
1804 Add guards to the remaining public functions, add a TODO for
1805 an unimplemented function and remove some useless guards.
1807 2007-11-07 Alexander Larsson <alexl@redhat.com>
1810 Autoconf checks for the various types of
1811 getpwuid_r and getgrgid_r
1813 * gio/glocalfileinfo.c:
1814 Use the autoconf checks from above
1816 2007-11-07 Alexander Larsson <alexl@redhat.com>
1819 (g_local_file_query_filesystem_info):
1820 Some fixes for the statvfs case
1822 2007-11-07 Alexander Larsson <alexl@redhat.com>
1825 (g_local_file_query_filesystem_info):
1826 Pick the "best" of statfs / statvfs for the system
1827 if both are availible.
1829 2007-11-07 Alexander Larsson <alexl@redhat.com>
1831 Solaris fixes from Halton.Huo@Sun.COM:
1838 * gio/glocalfileinfo.c:
1839 Fix for solaris definition of getpwuid_r
1841 * gio/test-streams.c:
1842 Use G_GNUC_PRETTY_FUNCTION
1844 2007-11-07 Alexander Larsson <alexl@redhat.com>
1846 * gio/gdesktopappinfo.c:
1847 (update_default_list):
1848 Remove double semicolon.
1849 Patch from Jens Granseuer
1851 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1853 * docs/reference/gio/gio-sections.txt:
1854 * gio/gbufferedinputstream.c:
1855 * gio/gbufferedinputstream.h:
1856 * gio/gdatainputstream.c:
1857 * gio/gfileenumerator.c:
1858 * gio/gioscheduler.c:
1859 * gio/gunionvolumemonitor.c:
1861 * programs/gio-save.c:
1862 Fix typo: availible -> available. Unfortuntely this breaks API
1863 and ABI as g_buffered_input_stream_get_available() was renamed.
1865 * gio/gunixmounts.c:
1866 * gio/gbufferedinputstream.c:
1867 Add guards for public functions.
1869 2007-11-06 Ross Burton <ross@openedhand.com>
1871 * docs/reference/gio/Makefile.am:
1872 Fix invalid += usage which automake 1.10 doesn't like.
1874 2007-11-06 Alexander Larsson <alexl@redhat.com>
1877 (g_app_launch_context_class_init):
1880 Patch from Ross Burton
1882 2007-11-06 Alexander Larsson <alexl@redhat.com>
1885 Post release version bump
1887 === gio-standalone 0.1.1 ===
1889 2007-11-06 Alexander Larsson <alexl@redhat.com>
1892 Bump version to 0.1.1
1894 * gio/gsimpleasyncresult.c:
1895 (g_simple_async_result_set_from_error):
1896 Remove bogus g_return_if_fail
1898 2007-11-06 Alexander Larsson <alexl@redhat.com>
1901 The name is gio-standalone
1904 Add top src/builddir to includedir
1906 2007-11-06 Alexander Larsson <alexl@redhat.com>
1908 * docs/reference/gio/gio-sections.txt:
1910 * gio/gbufferedinputstream.c:
1911 * gio/gbufferedoutputstream.c:
1912 * gio/gcancellable.c:
1913 * gio/gdatainputstream.h:
1914 * gio/gdataoutputstream.c:
1915 * gio/gdataoutputstream.h:
1916 * gio/gdirectorymonitor.c:
1918 * gio/gfileattribute.c:
1919 * gio/gfileattribute.h:
1920 * gio/gfileenumerator.c:
1921 * gio/gfileenumerator.h:
1924 * gio/gfileinputstream.h:
1925 * gio/gfilemonitor.c:
1926 * gio/gfileoutputstream.h:
1927 * gio/glocalfilemonitor.h:
1928 * gio/glocalfileoutputstream.h:
1929 * gio/gmemoryinputstream.c:
1930 * gio/gmemoryoutputstream.c:
1931 * gio/gmountoperation.c:
1932 * gio/goutputstream.c:
1933 * gio/goutputstream.h:
1935 * gio/gsimpleasyncresult.c:
1936 * gio/gunixmounts.c:
1937 * gio/gunixmounts.h:
1939 * gio/inotify/inotify-helper.c:
1940 Fix gtk-doc warnings
1942 Patch from Ross Burton
1944 2007-11-06 Alexander Larsson <alexl@redhat.com>
1946 * gio/gfilenamecompleter.c:
1947 (g_filename_completer_get_completions):
1950 * gio/gunixvolume.c:
1951 Remove unused function
1953 Patches from Ross Burton
1955 2007-11-06 Alexander Larsson <alexl@redhat.com>
1960 Padding not needed for interfaces
1962 2007-11-06 Alexander Larsson <alexl@redhat.com>
1964 * gio/gfilemonitor.c:
1968 Make giotypes.h an internal file
1971 * gio/gbufferedinputstream.h:
1972 * gio/gbufferedoutputstream.h:
1973 * gio/gcancellable.h:
1974 * gio/gdatainputstream.h:
1975 * gio/gdataoutputstream.h:
1976 * gio/gdirectorymonitor.c:
1977 * gio/gdirectorymonitor.h:
1982 * gio/gfileattribute.h:
1983 * gio/gfileenumerator.h:
1988 * gio/gfilemonitor.c:
1989 * gio/gfilemonitor.h:
1990 * gio/gfilenamecompleter.c:
1991 * gio/gfilenamecompleter.h:
1992 * gio/gfilterinputstream.h:
1993 * gio/gfilteroutputstream.h:
1994 * gio/ginputstream.h:
1995 * gio/gmemoryinputstream.h:
1996 * gio/gmemoryoutputstream.h:
1997 * gio/gmountoperation.c:
1998 * gio/gmountoperation.h:
1999 * gio/gnativevolumemonitor.c:
2000 * gio/goutputstream.h:
2003 * gio/gsimpleasyncresult.c:
2004 * gio/gsimpleasyncresult.h:
2005 * gio/gsocketinputstream.h:
2006 * gio/gsocketoutputstream.h:
2007 * gio/gthemedicon.c:
2008 * gio/gthemedicon.h:
2012 * gio/gvolumemonitor.c:
2013 * gio/gvolumemonitor.h:
2014 Add padding in classes where it seems useful
2015 Don't include giotypes.h from public headers
2016 Move in Class definitions into c file where possible
2021 2007-11-06 Alexander Larsson <alexl@redhat.com>
2023 * docs/reference/gio/gio-docs.xml:
2024 Better structure for API docs
2026 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2029 * gio/gloadableicon.c:
2030 * gio/gsimpleasyncresult.c:
2031 * gio/gthemedicon.c:
2032 Add some more guards to public functions. Only files missing are now
2035 2007-11-06 Alexander Larsson <alexl@redhat.com>
2037 * docs/reference/gio/gio-docs.xml:
2038 Remove old files, add missing ones
2040 2007-11-06 Alexander Larsson <alexl@redhat.com>
2042 * docs/reference/gio/gio-sections.txt:
2045 Hide implementation classes
2047 * gio/gdriveprivate.h:
2048 * gio/gvolumeprivate.h:
2049 Remove non-existing function declarations
2051 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2054 Fix compilation warnings and add guards to the new functions.
2056 * gio/gasyncresult.c:
2058 Add guards to the public functions.
2061 Implement get_path().
2063 2007-11-06 Alexander Larsson <alexl@redhat.com>
2065 * gio/gfilenamecompleter.c:
2066 Make g_filename_completer_get_completions
2067 return char ** instead of GList for
2070 * docs/reference/gio/gio-docs.xml:
2071 * docs/reference/gio/gio-sections.txt:
2073 * gio/gasyncresult.c:
2074 * gio/gbufferedinputstream.c:
2075 * gio/gbufferedoutputstream.c:
2076 * gio/gcancellable.c:
2077 * gio/gcontenttype.c:
2078 * gio/gdatainputstream.c:
2079 * gio/gdataoutputstream.c:
2080 * gio/gdesktopappinfo.c:
2081 * gio/gdirectorymonitor.c:
2085 * gio/gfileattribute.c:
2086 * gio/gfileenumerator.c:
2089 * gio/gfileinputstream.c:
2090 * gio/gfilemonitor.c:
2091 * gio/gfilenamecompleter.c:
2092 * gio/gfilenamecompleter.h:
2093 * gio/gfileoutputstream.c:
2094 * gio/gfilterinputstream.c:
2096 * gio/ginputstream.c:
2098 * gio/gioscheduler.c:
2099 * gio/gloadableicon.c:
2100 * gio/glocaldirectorymonitor.c:
2102 * gio/glocalfileinputstream.c:
2103 * gio/glocalfilemonitor.c:
2104 * gio/glocalfileoutputstream.c:
2106 * gio/gmemoryinputstream.c:
2107 * gio/gmemoryoutputstream.c:
2108 * gio/gmountoperation.c:
2109 * gio/goutputstream.c:
2110 * gio/gpollfilemonitor.c:
2112 * gio/gsimpleasyncresult.c:
2113 * gio/gsocketinputstream.c:
2114 * gio/gsocketoutputstream.c:
2115 * gio/gthemedicon.c:
2116 * gio/gunionvolumemonitor.c:
2118 * gio/gunixmounts.c:
2119 * gio/gunixvolume.c:
2120 * gio/gunixvolumemonitor.c:
2124 * gio/gvolumemonitor.c:
2125 * gio/gwin32appinfo.c:
2126 Add (mostly stub) doc strings to public functions.
2127 Patch from Andrew Walton (awalton@gmail.com)
2129 2007-11-06 Alexander Larsson <alexl@redhat.com>
2131 * gio/gappinfo.[ch]:
2132 Added GAppLaunchContext object and pass that to launch.
2133 This allows simple implementation of both
2134 launch-on-screen and startup notification via a gtk+
2135 subclass of GAppLaunchContext
2137 * gio/gdesktopappinfo.c:
2138 Implement GAppLaunchContext API
2140 * gio/gwin32appinfo.c:
2143 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2145 * gio/gmountoperation.c:
2146 Add some guards to GMountOperation's public functions.
2148 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2152 * gio/gcancellable.c:
2153 * gio/gdirectorymonitor.c:
2155 * gio/gfileenumerator.c:
2156 * gio/gfilemonitor.c:,
2157 * gio/gfilenamecompleter.c:
2160 * gio/gioscheduler.c:
2164 * gio/gvolumemonitor.c:
2165 Add even more guards to various public functions.
2167 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2170 Add guards to the public functions of GAppInfo.
2172 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2174 * gio/gcontenttype.c:
2175 Add some more guards for public functions.
2177 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2179 * gio/fam/fam-module.c:
2180 * gio/fam/gfamdirectorymonitor.c:
2181 * gio/fam/gfamdirectorymonitor.h:
2182 * gio/fam/gfamfilemonitor.c:
2183 * gio/fam/gfamfilemonitor.h:
2184 * gio/inotify/ginotifydirectorymonitor.c:
2185 * gio/inotify/ginotifydirectorymonitor.h:
2186 * gio/inotify/ginotifyfilemonitor.c:
2187 * gio/inotify/ginotifyfilemonitor.h:
2188 Add proper copyright information and remove an unused variable
2189 in the GInotifyFileMonitor constructor.
2191 * gio/gcancellable.c:
2192 Add a guard for a public function and an assertion to prevent
2193 an undefined program state.
2195 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2197 * gio/gfileattribute.c:
2198 Don't run into an assertion if the given attribute value is NULL
2199 in g_file_attribute_value_get_*() but instead return a fallback
2200 value that makes sense in most situations. Passing them a attribute
2201 value with the wrong type will still run into an assertion.
2203 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2205 * gio/gfileattribute.c:
2207 Add even more guards to the public functions. Also fix the refcounting
2208 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2209 let g_file_info_list_attributes() filter the attributes by namespace
2210 instead of simply ignoring the namespace parameter.
2212 2007-11-03 Sven Herzberg <sven@imendio.com>
2214 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2215 (This makes gio work on MacOS X again)
2217 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2220 Build the gio subdirectory before the docs. Otherwise the build will
2223 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2224 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2225 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2226 Add guards to the public functions.
2228 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2230 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2231 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2232 to prevent a compiler warning.
2234 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2235 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2236 return something in the non-void function find_topdir_for().
2238 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2245 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2247 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2248 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2249 * gwin32appinfo.c (g_win32_app_info_launch):
2250 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2251 envp_for_startup_id, g_desktop_app_info_launch,
2252 g_desktop_app_info_launch_uris):
2254 Give an opaque 'startup_id' string instead of 'envp'.
2255 Support empty file lists for launching new windows.
2256 Fix infinite recursion bug when launching URIs.
2258 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2261 Add guard to the new g_file_get_uri_scheme() function.
2263 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2266 Convert a g_return_val_if_fail() to setting the GError instead as
2267 otherwise applications have to verify the parameter before otherwise
2268 and the parameter might come directly from the user.
2270 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2272 * gio/inotify/ginotify*.[ch]:
2273 Add missing copyright information.
2275 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2278 Add guards in the beginning of public functions to check for valid
2279 parameters and fix a bug in copy_stream_with_progress() that could've
2280 caused writing less bytes than reading.
2281 * gio/glocalfileinfo.c:
2282 Check for a NULL parameter and set the GError accordingly then.
2283 * gio/goutputstream.c:
2284 Fix the same bug as in gfile.c that could've caused writing less bytes
2285 than reading in g_output_stream_real_splice().
2287 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2290 Use the correct gvolumeprivate.h naming
2292 2007-11-01 Christian Kellner <gicmo@gnome.org>
2295 Remove leftover "$(daemon_sources)" entry.
2297 2007-11-01 Christian Kellner <gicmo@gnome.org>
2302 Add copyright information to source files.
2304 2007-11-01 Alexander Larsson <alexl@redhat.com>
2308 Add g_file_get_uri_scheme
2310 2007-11-01 Alexander Larsson <alexl@redhat.com>
2313 * gio/gdesktopappinfo.c:
2314 * gio/gwin32appinfo.c:
2315 Add g_app_info_get_default_for_uri_scheme.
2317 2007-11-01 Alexander Larsson <alexl@redhat.com>
2320 Correct filename for gdriveprivate.h
2322 2007-10-31 Alexander Larsson <alexl@redhat.com>
2325 Rename id:value to id:file
2328 * gio/glocalfileinfo.c:
2331 2007-10-31 Alexander Larsson <alexl@redhat.com>
2333 * gio/gunixvolume.c:
2335 Remove g_volume_get_platform_id, as thats not
2336 needed with the simpler union volume monitor
2338 2007-10-31 Alexander Larsson <alexl@redhat.com>
2341 * gio/guniondrive.[ch]: Removed.
2342 * gio/gunionvolume.[ch]: Removed.
2343 Remove GUnionDrive/Volume
2345 * gio/gunionvolumemonitor.c:
2346 Simplify union volume monitor, now we
2347 only have one native volume monitor and
2348 we use the actual volumes/drives from the
2349 child monitors instead of wrapping them
2351 * gio/gnativevolumemonitor.[ch]:
2352 Base class for native volume monitors.
2353 Includes priority and get_volume_for_mountpoint
2356 Add g_file_find_enclosing_volume
2359 Remove volume name fs attribute
2360 Add readonly fs attribute
2363 Implement readonly attribute
2364 remove volume name attribute
2365 Implement find_enclosing volume
2367 * gio/gunixmounts.c:
2368 Add a volume for "/".
2370 * gio/gunixvolume.[ch]:
2371 Set better name for /
2373 * gio/gunixvolumemonitor.[ch]:
2374 Derive from GNativeVolumeMonitor
2375 Implement get_volume_for_mountpoint
2378 GVolume typedef moved to gfile.h
2380 * gio/gvolumeprivate.h:
2381 Add g_volume_get_for_mount_path
2383 2007-10-31 Alexander Larsson <alexl@redhat.com>
2385 * gio/gunixmounts.[ch]:
2386 Add cache info to unix mount listers
2387 Make getmntent use threadsafe
2388 Add is_system_internal attribute for GUnixMount
2390 * gio/gunixvolume.c:
2391 (g_unix_volume_new):
2392 Use is_system_internal instead of own code
2394 * gio/glocaldirectorymonitor.c:
2395 * gio/gunixvolumemonitor.c:
2396 Update to new gunixmounts API
2401 2007-10-30 Alexander Larsson <alexl@redhat.com>
2404 Add volume name fsinfo attribute
2407 Read volume name info
2409 * gio/gunionvolumemonitor.c:
2410 Fix infinite loops when finalizing a union volume monitor
2412 2007-10-30 Alexander Larsson <alexl@redhat.com>
2414 * gio/goutputstream.[ch]:
2415 Add splice() with default implementation
2417 * gio/gsocketoutputstream.c:
2418 (g_socket_output_stream_write):
2419 Return error on cancellation correctly.
2421 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2423 * gio/glocalfile.c (g_local_file_trash):
2424 Do not leak a string.
2426 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2428 * gio/gfile.c (g_file_load_contents):
2429 Unref the stream after closing it.
2431 2007-10-25 Alexander Larsson <alexl@redhat.com>
2433 * gio/gioscheduler.h:
2436 2007-10-25 Alexander Larsson <alexl@redhat.com>
2440 Add g_file_has_uri_scheme and implement for local files
2442 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2444 * gio/gdesktopappinfo.c: do not leak a string.
2446 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2448 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2449 (g_local_directory_monitor_new):
2450 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2451 (g_local_file_monitor_new):
2452 Only look for the monitor type that should be used the first time
2453 and use g_qsort_with_data() instead of our own bubble sort
2456 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2459 * gio/fam/Makefile.am:
2460 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2461 * gio/fam/fam-helper.h:
2462 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2463 * gio/fam/gfamdirectorymonitor.c:
2464 * gio/fam/gfamdirectorymonitor.h:
2465 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2466 * gio/fam/gfamfilemonitor.h:
2467 * gio/glocaldirectorymonitor.c:
2468 * gio/glocaldirectorymonitor.h:
2469 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2470 * gio/glocalfilemonitor.h:
2471 * gio/inotify/Makefile.am:
2472 * gio/inotify/ginotifydirectorymonitor.c:
2473 * gio/inotify/ginotifydirectorymonitor.h:
2474 * gio/inotify/ginotifyfilemonitor.c:
2475 * gio/inotify/ginotifyfilemonitor.h:
2476 Implement the FAM and Inotify monitors as
2477 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2478 their own GIO module. GLocal(Directory|File)Monitor will use the
2479 monitor with the highest rank that is supported on that machine.
2481 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2484 Change GIO module dir to $(libdir)/gio/modules and change
2485 the log domain from GVFS to GIO. Also only export symbols starting
2486 with g_ in the resulting library.
2487 * gio/test-streams.c: (main):
2488 Set log handler for the GIO log domain.
2490 2007-10-22 Alexander Larsson <alexl@redhat.com>
2492 * gio/gfilenamecompleter.[ch]:
2493 Add g_filename_completer_set_dirs_only
2495 2007-10-22 Alexander Larsson <alexl@redhat.com>
2498 * gio/gurifuncs.[ch]:
2499 Add some simple URI helpers
2501 * gio/gfilenamecompleter.[ch]:
2502 Added object for filename (parse name actually) completion
2505 Handle ~ in parse names
2507 2007-10-17 Alexander Larsson <alexl@redhat.com>
2510 * gio/glocalfileinfo.c:
2511 Add and implement id:value attribute
2513 2007-10-17 Alexander Larsson <alexl@redhat.com>
2516 * gio/guniondrive.c:
2518 Add and implement g_drive_has_volumes
2520 2007-10-17 Alexander Larsson <alexl@redhat.com>
2523 * gio/glocalfileinfo.[ch]:
2524 Add unix:is_mountpoint and implement for local files
2526 2007-10-16 Alexander Larsson <alexl@redhat.com>
2528 * gio/gunionvolumemonitor.c:
2529 (g_union_volume_monitor_init):
2530 Fix up the unix type getting so that it works with gcc
2532 2007-10-12 Alexander Larsson <alexl@redhat.com>
2535 * gio/glocalfileinfo.c:
2536 Add thumbnail:failed to file info
2538 2007-10-12 Richard Hult <richard@imendio.com>
2540 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2541 optimizing away the get_type call (happens with some gcc versions,
2542 like the one shipped with OS X 10.4).
2544 2007-10-12 Alexander Larsson <alexl@redhat.com>
2546 * gio/glocalfileinfo.c:
2547 (_g_local_file_info_set_attribute):
2548 Fix build if not HAVE_XATTR
2549 Patch from Milosz Derezynski <internalerror@gmail.com>
2551 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2553 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2554 around for review, otherwise I would have asked you before
2557 2007-10-11 Alexander Larsson <alexl@redhat.com>
2560 Add thumbnail:path attribute
2562 * gio/glocalfileinfo.c:
2563 Implement thumbnail:path for local files
2565 2007-10-11 Alexander Larsson <alexl@redhat.com>
2567 * gio/glocalfileinfo.c:
2568 (_g_local_file_info_get):
2569 Avoid duplicate icon names
2571 2007-10-11 Alexander Larsson <alexl@redhat.com>
2573 * gio/gthemedicon.[ch]:
2574 Change g_themed_icon_get_names return type to const
2576 2007-10-10 Alexander Larsson <alexl@redhat.com>
2578 * gio/glocalfileinfo.c:
2579 Don't reference freed memory
2581 2007-10-10 Alexander Larsson <alexl@redhat.com>
2583 * gio/gfileattribute.c:
2586 * gio/glocalfileinfo.c:
2589 2007-10-10 Alexander Larsson <alexl@redhat.com>
2592 Check for NULL icons
2594 * gio/gfileattribute.c:
2595 Don't dup when getting objects (same as for string attributes)
2597 * gio/gicon.c (g_icon_equal):
2598 Safely handle NULLs in equal
2600 2007-10-10 Alexander Larsson <alexl@redhat.com>
2603 Fix c++ compilation issues
2604 Patch from Milosz Derezynski <internalerror@gmail.com>
2606 2007-10-10 Alexander Larsson <alexl@redhat.com>
2608 * programs/gio-monitor-dir.c:
2609 Don't crash if dir monitor not supported.
2611 2007-10-09 Alexander Larsson <alexl@redhat.com>
2614 Add missing G_END_DECLS
2616 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2618 * gio/gfile.c: (g_file_set_display_name),
2619 (g_file_query_settable_attributes),
2620 (g_file_query_writable_namespaces):
2621 Return NULL not FALSE on errors as the return type is a pointer.
2623 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2625 * gio/glocalfile.c: (g_local_file_monitor_file):
2626 Don't call monitor_file on the default interface vtable (which
2627 is NULL) but simply return NULL. The caller, GFile, will create a
2628 polling monitor if NULL is returned.
2630 2007-10-09 Alexander Larsson <alexl@redhat.com>
2634 * gio-unix-2.0.pc.in:
2635 Add gio-unix-2.0.pc if OS_UNIX
2638 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2640 2007-10-09 Alexander Larsson <alexl@redhat.com>
2642 * gio/gunixmounts.[ch]:
2643 Make unix mount monitoring API sane.
2644 Now its just a object with mounts_changed
2645 and mountpoints_changed signals.
2647 * gio/glocaldirectorymonitor.c:
2648 * gio/gunixvolumemonitor.c:
2649 Use new mount monitor api
2651 2007-10-09 Alexander Larsson <alexl@redhat.com>
2653 * gio/gunixmounts.[ch]:
2654 Move guess type into one call for mounts and one for mountpoints
2657 * gio/gunixvolume.c:
2660 2007-10-09 Alexander Larsson <alexl@redhat.com>
2662 * gio/gunixmounts.[ch]:
2663 Remove _ prefix in preparation to make this semi-public
2664 Hide implementation of structs
2666 * gio/glocaldirectorymonitor.c:
2668 * gio/gunixvolume.c:
2669 * gio/gunixvolumemonitor.c:
2670 Update for above API changes
2672 2007-10-08 Alexander Larsson <alexl@redhat.com>
2675 Better polling fallback. This also handles the case where we have
2676 a monitor_file implementation, but it fails.
2678 2007-10-08 Alexander Larsson <alexl@redhat.com>
2682 * gio/gunixmounts.c:
2683 * programs/gio-monitor-dir.c:
2684 * programs/gio-monitor-file.c:
2685 Added cancellable to file monitoring calls.
2686 These are really sync calls and need this.
2688 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2690 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2691 (g_local_vfs_class_init):
2692 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2693 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2695 2007-10-05 Alexander Larsson <alexl@redhat.com>
2697 * gio/gdirectorymonitorprivate.h:
2698 * gio/gfilemonitorprivate.h:
2699 * gio/gdirectorymonitor.h:
2700 * gio/gfilemonitor.h:
2701 Remove *private.h and move to the public API, so that
2702 we can do implementations outside gio (such as in gvfs)
2704 * gio/gdirectorymonitor.c:
2705 * gio/gfilemonitor.c:
2706 * gio/glocaldirectorymonitor.c:
2707 * gio/gpollfilemonitor.c:
2708 * gio/inotify/inotify-helper.c:
2709 * gio/fam/fam-helper.c:
2710 Update to the new header names
2712 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2714 * gio/gdirectorymonitor.c:
2715 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2718 2007-10-04 Alexander Larsson <alexl@redhat.com>
2720 * gio/glocalfileinfo.c (get_access_rights):
2721 Set CAN_TRASH when we can move the file.
2722 We should really also check for a parent trash dir.
2724 2007-10-04 Alexander Larsson <alexl@redhat.com>
2726 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2727 Add can_trash access attribute
2729 2007-10-04 Alexander Larsson <alexl@redhat.com>
2732 (g_local_file_trash):
2733 Create info file first. This is per-spec and allows
2734 us to actually trash directories.
2736 2007-10-02 Alexander Larsson <alexl@redhat.com>
2738 * gio/gdesktopappinfo.c:
2739 Implement the new mime support code.
2740 Always set app as handling mimetype when being set as default for it
2742 2007-10-01 Alexander Larsson <alexl@redhat.com>
2744 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2745 Fix up check for xattrs:
2747 2007-10-01 Alexander Larsson <alexl@redhat.com>
2750 (g_app_info_set_as_default_for_extension):
2751 (g_app_info_add_supports_type):
2752 (g_app_info_can_remove_supports_type):
2753 (g_app_info_remove_supports_type):
2754 Make these fail nicely if not implemented
2756 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2758 * gio/glocalfileoutputstream.c:
2759 * gio/glocalfileoutputstream.h:
2764 * programs/gio-save.c:
2765 Add a GFileCreateFlags argument to operations that can create
2768 2007-10-01 Alexander Larsson <alexl@redhat.com>
2770 * gio/gappinfo.[ch]:
2771 * gio/gdesktopappinfo.c:
2772 Add more (stubbed out) mime API needed for nautilus
2774 2007-10-01 Alexander Larsson <alexl@redhat.com>
2777 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2778 Add g_app_info_set_as_default_for_extension.
2780 * gio/gdesktopappinfo.c:
2781 Dummy for g_app_info_set_as_default_for_extension
2782 Support flags in g_app_info_create_from_commandline
2784 * gio/gwin32appinfo.c:
2786 Update for API changes
2788 * gio/gthemedicon.c:
2789 Properly NULL-terminate list of icon names
2791 2007-09-28 Alexander Larsson <alexl@redhat.com>
2793 * gio/gloadableicon.h:
2794 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2796 2007-09-28 Alexander Larsson <alexl@redhat.com>
2799 Install headers in $includedir/gio-standalone/
2801 * gio-2.0.pc.in: Added.
2802 * gio-standalone.pc.in: Removed.
2805 Renamed pkg-config file to match glib (for future move)
2806 Update to the new include dir
2809 Add more TODO comments
2811 2007-09-28 Alexander Larsson <alexl@redhat.com>
2813 * gio/gdesktopappinfo.[ch]:
2814 Expose new_from_filename
2815 Add getter for is_hidden and handle it better
2817 2007-09-28 Alexander Larsson <alexl@redhat.com>
2819 * gio/gfileinfo.[ch]:
2820 Rename g_file_size_format_for_display to
2821 g_format_file_size_for_display.
2822 Now it doesn't have the g_file prefix, so we
2823 can later move it to glib.
2825 2007-09-28 Alexander Larsson <alexl@redhat.com>
2827 * gio/gappinfo.[ch]:
2828 Add g_app_info_get_id and g_app_info_get_executable.
2829 Make all getters non-reffing
2830 Make g_app_info_launch take GFile arguments.
2831 Add must_support_uris argument to g_app_info_get_default_for_type.
2833 * gio/gwin32appinfo.c:
2834 Update to GAppInfo api changes
2836 * gio/gdesktopappinfo.c:
2837 Update to GAppInfo api changes
2838 Implement supports_xdg_startup_notify
2840 * gio/gfileicon.c (g_file_icon_get_file):
2841 Make getter non-reffing.
2846 2007-09-27 Alexander Larsson <alexl@redhat.com>
2848 * gio/gfileinfo.[ch]:
2849 Add g_file_size_format_for_display helper
2851 2007-09-27 Alexander Larsson <alexl@redhat.com>
2853 * gio/glocalfileinfo.c:
2854 Set UNIX_GID from gid, not from uid
2856 2007-09-27 Alexander Larsson <alexl@redhat.com>
2859 Add g_file_set_attributes_async
2861 2007-09-27 Alexander Larsson <alexl@redhat.com>
2863 * gio/glocalfile.c (g_local_file_set_display_name):
2864 Fix set_display_name to actually rename to the right place.
2865 Use lstat to look for existing files so we don't overwrite
2868 2007-09-26 Alexander Larsson <alexl@redhat.com>
2871 Add g_file_set_display_name_async()
2873 2007-09-26 Alexander Larsson <alexl@redhat.com>
2876 Add load_partial_contents async calls
2879 Make internal function static
2881 2007-09-26 Alexander Larsson <alexl@redhat.com>
2883 * gio/glocalfileinfo.c:
2884 Correctly detect broken symlinks
2886 2007-09-26 Alexander Larsson <alexl@redhat.com>
2888 * gio/gcancellable.c (g_cancellable_cancel):
2889 Allow cancel on NULL cancellable
2891 2007-09-25 Alexander Larsson <alexl@redhat.com>
2893 * gio/gsimpleasyncresult.c:
2894 Don't allocate g_error manually.
2895 Fixes g_slice/g_new mixup crash
2897 2007-09-25 Alexander Larsson <alexl@redhat.com>
2899 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2900 Actually set active_backend.
2901 This means the monitor will be cancelled correctly.
2903 2007-09-25 Alexander Larsson <alexl@redhat.com>
2905 * gio/gdirectorymonitor.c:
2906 Set timeout to NULL when destroying
2908 2007-09-25 Alexander Larsson <alexl@redhat.com>
2911 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2912 that is a better description of the error.
2914 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2916 * gio/gvfs.c: (g_vfs_get_local):
2917 Make the local vfs variable static. The same instance should
2920 2007-09-24 Alexander Larsson <alexl@redhat.com>
2922 * gio/glocalfileinfo.c:
2923 Pass in actual length read into sniffer, not the length
2926 2007-09-21 Alexander Larsson <alexl@redhat.com>
2928 * gio/gfileenumerator.c:
2931 * gio/gfileinputstream.c:
2932 * gio/gfileoutputstream.c:
2933 * gio/ginputstream.c:
2934 * gio/goutputstream.c:
2935 Don't crash if async callbacks are NULL
2937 2007-09-20 Alexander Larsson <alexl@redhat.com>
2940 Add async enumerate_children method and default
2943 2007-09-20 Alexander Larsson <alexl@redhat.com>
2946 Add g_file_contains_file & g_file_get_relative_path, since they
2947 were needed for nautilus.
2948 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2953 Implement new methods
2955 2007-09-17 Alexander Larsson <alexl@redhat.com>
2958 * gio/gfileinputstream.[ch]:
2959 * gio/gfileoutputstream.[ch]:
2961 * gio/glocalfileenumerator.[ch]:
2962 * gio/glocalfileinfo.[ch]:
2963 * gio/glocalfileinputstream.c:
2964 * gio/glocalfileoutputstream.c:
2965 * gio/gpollfilemonitor.c:
2966 * programs/gio-copy.c:
2967 * programs/gio-info.c:
2968 * programs/gio-move.c:
2969 Rename get_file_info to query_info() to make it clearer
2970 that these are not simple getters, but do i/o.
2972 2007-09-17 Alexander Larsson <alexl@redhat.com>
2974 * gio/gdatainputstream.[ch]:
2975 * gio/test-streams.c:
2976 Use _read_XXX instead of _get_XXX for the i/o calls
2979 2007-09-17 Alexander Larsson <alexl@redhat.com>
2982 Added needed stuff to TODO comment
2984 2007-09-17 Alexander Larsson <alexl@redhat.com>
2986 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2987 Don't error out removing the backup copy if it doesn't
2990 2007-09-14 Alexander Larsson <alexl@redhat.com>
2992 * programs/Makefile.am:
2993 * programs/gvfs-*.c:
2995 Renamed apps from gvfs-xxx to gio-xxx.
2997 2007-09-14 Alexander Larsson <alexl@redhat.com>
3000 * gio/gfileoutputstream.[ch]:
3001 * gio/glocalfileoutputstream.c:
3002 * programs/gvfs-save.c:
3003 g_file_output_stream_get_etag doesn't do i/o, so remove
3004 cancellation and error.
3006 2007-09-14 Alexander Larsson <alexl@redhat.com>
3009 Add new_etag output to replace_contents functions
3011 2007-09-14 Alexander Larsson <alexl@redhat.com>
3013 * gio/gfileoutputstream.[ch]:
3014 Add async get_file_info and default implementation
3016 2007-09-14 Alexander Larsson <alexl@redhat.com>
3018 * gio/gfileinputstream.c:
3019 Implement fallback wrapper for async get_file_info
3021 2007-09-14 Alexander Larsson <alexl@redhat.com>
3024 Add etag out argument to load_contents
3029 2007-09-14 Alexander Larsson <alexl@redhat.com>
3031 * gio/gcontenttype.c (looks_like_text):
3032 Whitespace like tab, cr and lf do not make the
3035 2007-09-14 Alexander Larsson <alexl@redhat.com>
3037 * gio/gfileinputstream.[ch]:
3038 Add async get_file_info.
3040 2007-09-13 Alexander Larsson <alexl@redhat.com>
3042 * gio/goutputstream.c (g_output_stream_write_all):
3043 Allow NULL for bytes_written
3045 2007-09-13 Alexander Larsson <alexl@redhat.com>
3047 * gio/gmemoryinputstream.[ch]:
3048 Add accessors for data
3050 2007-09-13 Alexander Larsson <alexl@redhat.com>
3052 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3053 Don't crash if length is NULL