1 2008-01-20 Matthias Clasen <mclasen@redhat.com>
3 * inotify/*.c: Coding style fixes.
4 * inotify/inotify-missing.c: Use g_timeout_add_seconds
7 2008-01-20 Matthias Clasen <mclasen@redhat.com>
11 * gmemoryinputstream.c:
12 * gmemoryoutputstream.c:
14 * gthemedicon.c: Documentation updates
16 2008-01-20 Murray Cumming <murrayc@murrayc.com>
18 * gfile.c: documentation: Fixed more minor
21 2008-01-18 Murray Cumming <murrayc@murrayc.com>
23 * gmount.c: (g_mount_remount): documentation:
24 Mention g_mount_remount_finish() instead of
25 g_mount_unmount_finish().
27 2008-01-18 Murray Cumming <murrayc@murrayc.com>
31 * gfile.c: Fixed some minor typos in the
34 2008-01-18 Murray Cumming <murrayc@murrayc.com>
36 * gio/gvolumemonitor.c:
37 (g_volume_monitor_get_connected_drives):
38 (g_volume_monitor_get_volumes):
39 (g_volume_monitor_get_mounts): Documentation:
40 Clarify the ownership of the regurn GLists.
42 2008-01-17 Alexander Larsson <alexl@redhat.com>
45 Add the async find_enclosing_mount version
46 to the header file too.
48 2008-01-17 Alexander Larsson <alexl@redhat.com>
51 Add async version of find_enclosing_mount
52 with default implementation.
54 2008-01-17 Alexander Larsson <alexl@redhat.com>
59 Allow calls to implementation of copy and write
60 even if the type of the file implementations is
61 different. This can be used to implement native
62 upload and download calls in a vfs.
66 Protect against the case where move is called
67 with one file not being local.
69 Make sure we call the progress callback once
70 in the native move operation so that the caller
71 knows how many bytes were copied.
73 2008-01-16 Murray Cumming <murrayc@murrayc.com>
78 * gfileoutputstream.c:
83 * gunixmounts.c: Corrected some typos in the documentation:
85 its -> it's (where appropriate).
87 2008-01-16 Alexander Larsson <alexl@redhat.com>
91 Add g_file_query_exists (#508771)
93 2008-01-15 Murray Cumming <murrayc@murrayc.com>
98 * gvolume.c: For async functions that have no non-async
99 version, document that the GAsyncReadyCallback may be NULL.
102 2008-01-15 Alexander Larsson <alexl@redhat.com>
104 * gmemoryinputstream.c:
105 * gmemoryoutputstream.c:
106 Don't do pointer arithmetic on void * (#508602)
107 Patch from Kazuki IWAMOTO
109 2008-01-14 Matthias Clasen <mclasen@redhat.com>
111 * === Released 2.15.2 ===
113 2008-01-14 Alexander Larsson <alexl@redhat.com>
115 * gfile.c (g_file_monitor_file):
116 Don't set error here, since we fallback to polling monitor.
118 2008-01-14 Alexander Larsson <alexl@redhat.com>
121 (g_file_monitor_directory):
122 (g_file_monitor_file):
123 Add GError to file monitor calls
125 * glocaldirectorymonitor.c:
126 * glocaldirectorymonitor.h:
128 * glocalfilemonitor.c:
129 * glocalfilemonitor.h:
131 Update for above change
133 2008-01-14 Alexander Larsson <alexl@redhat.com>
137 Handle root correctly in g_file_get_relative_path (#508719)
139 2008-01-14 Alexander Larsson <alexl@redhat.com>
142 Clean up docs and example for GAsyncResult (#508074)
144 2008-01-11 Murray Cumming <murrayc@murrayc.com>
146 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
147 and correct some spelling mistakes. Bug #508108.
149 2008-01-11 Matthias Clasen <mclasen@redhat.com>
151 * glocalfileinfo.c: Add a comment.
153 2008-01-10 Murray Cumming <murrayc@murrayc.com>
155 * gfileinfo.c: GFileInfo description: Mention
156 how to actually set attributes in a GFile and how to discover
157 which attributes are settable. Bug #508378.
159 2008-01-10 A. Walton <awalton@svn.gnome.org>
161 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
162 (g_app_info_get_default_for_type):
163 Check for NULL content types.
165 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
167 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
169 2008-01-09 Murray Cumming <murrayc@murrayc.com>
171 * gfile.c: *_async() functions: Several small corrections
172 to the documentation, mostly correcting copy/paste errors
173 and improving some sentences.
175 2008-01-09 Dan Winship <danw@gnome.org>
177 * glocalfile.c (get_unique_filename): x86_64 fix
179 2008-01-09 Alexander Larsson <alexl@redhat.com>
184 Add g_unix_mount_guess_should_display and use
185 for unix volume monitor backend.
186 This means we more or less show what the
187 gnome-vfs backend did.
188 Based on patch from Padraig O'Briain
190 2008-01-09 Alexander Larsson <alexl@redhat.com>
194 Add g_themed_icon_new_with_default_fallbacks
197 Use default fallbacks for icons
199 2008-01-09 Alexander Larsson <alexl@redhat.com>
202 * gmountoperation.[ch]:
203 Change the API a bit so that unhandled methods
204 get reported via the reply, rather than by
205 the signal emission return value. This is because
206 some handlers can't know this immediately without
207 doing I/O, and this is an async operation that
210 2008-01-09 Alexander Larsson <alexl@redhat.com>
213 * fam/gfamdirectorymonitor.c:
214 * fam/gfamfilemonitor.c:
215 Fix double free crash (#508224)
216 Patch from Joe Marcus Clarke
218 008-01-07 Matthias Clasen <mclasen@redhat.com>
220 * === Released 2.15.1 ===
222 2008-01-07 Alexander Larsson <alexl@redhat.com>
224 * gunixinputstream.c (g_unix_input_stream_skip_finish):
225 Fix warning (#507835)
227 2008-01-07 Alexander Larsson <alexl@redhat.com>
230 Pass --internal to glib-genmarshal
235 Use better types for signal arguments (#507822)
237 2008-01-07 Alexander Larsson <alexl@redhat.com>
240 Build test subdir after .
241 Remove gdirectorymonitor.[ch]
243 * gdirectorymonitor.[ch]:
247 Remove GDirectoryMonitor and make
248 GFileMonitor the baseclass for both file and
249 directory monitors. Lift the more generic
250 rate limiting code from GDirectoryMonitor
254 * fam/gfamdirectorymonitor.[ch]:
255 * inotify/ginotifydirectorymonitor.[ch]:
256 * inotify/inotify-helper.c:
257 * glocaldirectorymonitor.[ch]:
260 Update for the removed GDirectoryMonitor.
262 * gmemoryoutputstream.c:
263 Remove ununsed variable
265 2008-01-07 Alexander Larsson <alexl@redhat.com>
267 * gmemoryinputstream.c:
268 Translate error strings
271 * gmemoryoutputstream.[ch]:
272 New implementation that avoids using GByteArray
273 in implementation and API. (#506377)
275 2008-01-06 Matthias Clasen <mclasen@redhat.com>
277 * tests/*: Add a test for memory input streams.
279 * Makefile.am: Add tests to SUBDIRS.
281 2008-01-06 Matthias Clasen <mclasen@redhat.com>
283 * glocalfilemonitor.c:
284 * glocaldirectorymonitor.c: Mark property nicks and blurbs
287 2008-01-06 Matthias Clasen <mclasen@redhat.com>
289 * gdesktopappinfo.c: Fix a docs typo.
291 * gfileattribute.c: Add information about extended attributes
292 to the documentation. (#505058)
294 2008-01-04 Alexander Larsson <alexl@redhat.com>
298 Use the right type (uint) for the ask_password signal.
300 2008-01-04 Alexander Larsson <alexl@redhat.com>
305 Add g_app_info_supports_files()
306 Remove desktop arg from g_app_info_should_show().
308 * gdesktopappinfo.[ch]:
309 Implement g_app_info_supports_files() and new should_show()
310 Add g_desktop_app_info_set_desktop_env() to set the desktop
311 for should_show(). (This will be set by gtk+ later)
313 2008-01-04 Alexander Larsson <alexl@redhat.com>
316 * gmemoryinputstream.[ch]:
317 Improve API so that you can use multiple chunks
318 of memory and custom destroy functions. (#506374)
320 2008-01-03 Alexander Larsson <alexl@redhat.com>
323 Handle NULL attribute matchers safely, as we return this
324 for empty attribute matcher strings.
326 2008-01-03 Alexander Larsson <alexl@redhat.com>
328 * gunixmounts.c (g_unix_is_mount_path_system_internal):
329 Add /usr/local to list of internal mountpoints
331 2008-01-03 Alexander Larsson <alexl@redhat.com>
334 Check for HAVE_LCHOWN (#505887)
336 2008-01-03 Alexander Larsson <alexl@redhat.com>
340 Add define for selinux context attribute.
341 Fix missing : -> :: namespace separator change
342 Fix missing _ -> - name change for xattr-sys.
345 2008-01-03 Alexander Larsson <alexl@redhat.com>
348 Link to libglib and libgobject directly (#504879)
349 Patch from Sebastien Bacher
351 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
353 * gfile.c: Expanded the g_file_new_for_commandline_arg
354 description a bit, based on the code and the docs of the
355 other g_file_new_for_* functions.
357 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
359 * gfilemonitor.h: Fixed typo in docs.
361 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
363 Updates to GIO documentation. (#506395, Mikael Hermansson)
365 * gcontenttype.c: Describe memory management for return value of
366 g_content_types_get_registered(). Missing piece from #505815.
367 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
368 GVolume, GDrive, GMounts, which hopefully gives the user less
369 confusions when using this API. Following explainations from
370 Alexander Larsson on gtk-devel-list.
372 2007-12-30 Matthias Clasen <mclasen@redhat.com>
374 * gfileinfo.c: Expand the long description.
376 2007-12-30 Matthias Clasen <mclasen@redhat.com>
379 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
380 fix builds with --disable-visibility. (#500273, Christian Persch)
382 2007-12-30 Matthias Clasen <mclasen@redhat.com>
384 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
385 in the list of returned app infos.
387 2007-12-30 Matthias Clasen <mclasen@redhat.com>
389 * gappinfo.c: Fix a cross-reference
391 2007-12-30 Matthias Clasen <mclasen@redhat.com>
393 * gfileinputstream.c:
394 * gfileoutputstream.c:
400 * gfileinfo.c: Documentation updates.
402 2007-12-26 Matthias Clasen <mclasen@redhat.com>
404 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
407 2007-12-26 Matthias Clasen <mclasen@redhat.com>
409 * gcontenttype.c (g_content_types_get_registered): Don't return
410 freed memory (#505815, Mikael Hermansson)
412 2007-12-25 Paolo Borelli <pborelli@katamail.com>
414 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
415 used to detect statbuf->st_blocks. (#505042)
417 2007-12-24 Matthias Clasen <mclasen@redhat.com>
419 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
420 environment handling. (#504829, Cosimo Cecchi)
422 2007-12-22 Matthias Clasen <mclasen@redhat.com>
424 * gappinfo.c: Doc improvements
426 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
429 2007-12-20 Matthias Clasen <mclasen@redhat.com>
431 * === Released 2.15.0 ===
433 2007-12-20 Hans Breuer <hans@breuer.org>
435 * makefile.msc : don't build gdesktopappinfo.obj, it collides
436 with symbols gwin32appinfo.obj, added gmount.obj
437 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
439 2007-12-20 Alexander Larsson <alexl@redhat.com>
445 * gfilenamecompleter.c:
448 * gpollfilemonitor.c:
449 File attribute renames:
452 id::fs -> id::filesystem
454 2007-12-20 Alexander Larsson <alexl@redhat.com>
463 Add GMountUnmountFlags to all unmount and
465 Add g_mount_remount() call.
467 2007-12-20 Alexander Larsson <alexl@redhat.com>
469 * gvfs.c (get_default_vfs):
470 Fix unused variable warning
472 2007-12-19 Matthias Clasen <mclasen@redhat.com>
474 * pltcheck.sh: Update
476 2007-12-19 Matthias Clasen <mclasen@redhat.com>
478 * gunionvolumemonitor.c:
479 * gunixmount.c: Remove C99 comments
481 2007-12-19 Matthias Clasen <mclasen@redhat.com>
483 * gio.symbols: Add some missing symbols
485 2007-12-19 Alexander Larsson <alexl@redhat.com>
488 Make g_io_modules_load_all_in_directory not unuse
489 loaded modules so that users of it can do stuff
491 Init internal "module" types.
492 Initialize static prio and name for types so that
493 we don't have to load modules to get it.
495 * gnativevolumemonitor.h:
497 Move is_supported to parent class so that
498 non-native monitors can avoid being initialized
499 too. (For instance GDaemonVolumeMonitor if we're
500 not using GDaemonVfs.)
502 * glocaldirectorymonitor.[ch]:
503 * glocalfilemonitor.[ch]:
504 * gunionvolumemonitor.c:
505 * gunixvolumemonitor.c:
507 Find plugins using the static prio+name to
508 avoid unnecessarily loading the modules.
510 2007-12-19 Alexander Larsson <alexl@redhat.com>
515 2007-12-19 Alexander Larsson <alexl@redhat.com>
517 * gunionvolumemonitor.c:
518 Store the native type as GType, not class so that
519 we can unload it. But still avoid unnecessarily
522 2007-12-19 David Zeuthen <davidz@redhat.com>
524 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
525 add signals 'disconnected' and 'eject-button' on GDrive. Add
526 signal 'removed' on GVolume and 'unmounted' on GMount.
528 * gdrive.c: (g_drive_base_init):
530 * gfile.c: (g_file_mount_mountable),
531 (g_file_mount_enclosing_volume):
534 * gmount.c: (g_mount_base_init):
536 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
537 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
538 * gvolume.c: (g_volume_base_init), (g_volume_mount):
542 2007-12-17 Matthias Clasen <mclasen@redhat.com>
544 * *.c: Fix up includes in the section docs.
546 2007-12-17 Alexander Larsson <alexl@redhat.com>
548 * gnativevolumemonitor.h:
549 * gunionvolumemonitor.c:
550 * gunixvolumemonitor.c:
551 Add is_supported() to GNativeVolumeMonitorClass so
552 that we can avoid having to create an object to see
553 if the backend is supported at runtime.
554 Also add name member and an env var to pick a specific
555 volume monitor backend.
559 Add cancellable to _g_mount_get_for_mount_path()
561 * glocaldirectorymonitor.c:
562 * glocalfilemonitor.c:
563 Avoid loading and unloading modules while sorting.
565 2007-12-17 Matthias Clasen <mclasen@redhat.com>
568 * gunixmounts.[hc]: Namespace waste reduction, move some
569 g_get_unix_mount functions to the g_unix_mount namespace.
572 * gunixvolumemonitor.c:
574 * glocaldirectorymonitor.c: Update all callers.
576 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
578 2007-12-17 Alexander Larsson <alexl@redhat.com>
581 Add doc comments about what GFile operations are
582 guaranteed to not block.
584 2007-12-17 Alexander Larsson <alexl@redhat.com>
587 Add missing #ifdef fixing OSX build.
588 (#503334, patch from Richard Hult)
590 2007-12-14 David Zeuthen <davidz@redhat.com>
594 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
595 (g_mount_eject), (g_mount_eject_finish):
597 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
598 (get_volume_for_uuid), (get_mount_for_uuid),
599 (g_union_volume_monitor_class_init),
600 (get_default_native_type_with_exclude), (get_default_native_type),
601 (get_native_type), (update_native_type),
602 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
603 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
604 (g_unix_mount_can_eject), (eject_unmount_cb),
605 (eject_unmount_read_error), (eject_unmount_do),
606 (g_unix_mount_unmount), (g_unix_mount_eject),
607 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
608 * gunixmounts.c: (g_unix_mount_guess_can_eject),
609 (g_unix_mount_point_guess_can_eject):
611 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
612 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
613 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
614 (g_unix_volume_mount), (g_unix_volume_eject),
615 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
616 * gunixvolumemonitor.c: (get_volume_for_uuid),
617 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
619 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
620 (g_volume_eject), (g_volume_eject_finish):
622 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
623 (g_volume_monitor_get_mount_for_uuid):
626 Provide eject() on both GMount and GVolume and utility functions
627 to guess whether a GUnixMountPoint or GUnixMountEntry should be
628 ejected. Introduce the concept of UUID's and wire it into GVolume
629 and GMount and provide API on GVolumeMonitor to find such
630 instances. Also handle the case where an external
631 GNativeVolumeMonitor fails to initialize. Lock around the
632 _g_get_mount_for_mount_path() function such that volume monitor
633 implementations won't have to do locking themselves.
635 2007-12-17 Matthias Clasen <mclasen@redhat.com>
643 * gvolume.h: Documentation updates
645 2007-12-14 Matthias Clasen <mclasen@redhat.com>
648 * gfile.h: Doc updates
650 2007-12-14 Matthias Clasen <mclasen@redhat.com>
653 * gdesktopappinfo.c: Use hash table iterators.
655 2007-12-14 Alexander Larsson <alexl@redhat.com>
658 * gfileattribute.[ch]:
659 * gfileattribute-priv.h:
660 Move GFileAttributeValue to a private header, as
664 Make set_attribute take a type + a pointer instead
665 of a GFileAttributeValue.
668 Fix up for above changes.
669 Add g_file_info_get_attribute_data to get
670 all info in one call, g_file_info_get_attribute_status
671 to get the status and g_file_info_get_attribute_as_string.
675 * glocalfileinfo.[ch]:
679 Make _guess_type static.
681 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
684 * inotify/Makefile.am: Fixed build when srcdir != builddir,
685 made mkenums and friends use temporary files to avoid leaving
686 empty generated files on failure (#503470).
688 2007-12-14 Alexander Larsson <alexl@redhat.com>
693 2007-12-14 Alexander Larsson <alexl@redhat.com>
697 * gfileattribute.[ch]:
700 * glocalfileoutputstream.c:
701 * gmountoperation.[ch]:
702 * goutputstream.[ch]:
703 Clean up all flags enums to not have _FLAGS in them
704 Make the names of some of the enums better.
709 2007-12-14 Michael Natterer <mitch@imendio.com>
711 * gio.symbols: fix g_io_scheduler symbol names.
713 2007-12-14 Alexander Larsson <alexl@redhat.com>
719 * gbufferedinputstream.h:
720 * gbufferedoutputstream.h:
723 * gdatainputstream.h:
724 * gdataoutputstream.h:
726 * gdirectorymonitor.h:
733 * gfileinputstream.h:
735 * gfilenamecompleter.h:
736 * gfileoutputstream.h:
737 * gfilterinputstream.h:
738 * gfilteroutputstream.h:
746 * gmemoryinputstream.h:
747 * gmemoryoutputstream.h:
752 * gsimpleasyncresult.h:
754 * gunixinputstream.h:
756 * gunixoutputstream.h:
760 * inotify/Makefile.am:
761 Only allow including <gio/gio.h> from apps
763 2007-12-14 Alexander Larsson <alexl@redhat.com>
766 * gsimpleasyncresult.c:
767 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
768 Split out the send_to_mainloop call into two versions instead
769 of having the block argument.
771 2007-12-13 Alexander Larsson <alexl@redhat.com>
775 * gbufferedinputstream.c:
777 * gfileinputstream.c:
778 * gfileoutputstream.c:
782 g_push/pop_current_cancellable ->
783 g_cancellable_push/pop_current
785 2007-12-13 Alexander Larsson <alexl@redhat.com>
789 Rename g_mount_for_location to g_file_mount_enclosing_volume.
791 2007-12-13 Alexander Larsson <alexl@redhat.com>
794 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
796 2007-12-12 Alexander Larsson <alexl@redhat.com>
799 Fix race condition when freeing proxy in
800 g_io_job_send_to_mainloop().
802 2007-12-12 Alexander Larsson <alexl@redhat.com>
808 Make attribute namespace separator "::" instead of ":".
809 Use - instead of _ as separator in attribute names.
811 2007-12-12 Alexander Larsson <alexl@redhat.com>
813 * gbufferedinputstream.h:
814 * gbufferedoutputstream.h:
815 * gdatainputstream.h:
816 * gdataoutputstream.h:
817 * gdirectorymonitor.h:
819 * gfileinputstream.h:
821 * gfileoutputstream.h:
822 * gfilterinputstream.h:
823 * gfilteroutputstream.h:
825 * glocalfileinputstream.h:
826 * glocalfileoutputstream.h:
827 * gmemoryinputstream.h:
828 * gmemoryoutputstream.h:
829 * gnativevolumemonitor.h:
831 * gunixinputstream.h:
832 * gunixoutputstream.h:
835 s/parent/parent_instance/ in GObjects
837 2007-12-12 Alexander Larsson <alexl@redhat.com>
842 No need for padding for interfaces
844 2007-12-12 Alexander Larsson <alexl@redhat.com>
848 * gbufferedinputstream.c:
849 * gbufferedoutputstream.c:
852 * gdatainputstream.[ch]:
854 * gdirectorymonitor.c:
856 * gfileattribute.[ch]:
859 * gfileinputstream.h:
861 * gfileoutputstream.[ch]:
862 * gfilterinputstream.h:
863 * gfilteroutputstream.h:
866 * gloadableicon.[ch]:
867 * gmemoryinputstream.c:
870 Fix up a bunch of details in the docs.
875 2007-12-11 David Zeuthen <davidz@redhat.com>
877 Rework how volumes, drives and volume monitoring is
878 done. Previosly the model was
882 where a GDrive instance represented a mount point and a GVolume
883 instance represented a mounted file system. This patch changes it
886 GDrive <1-N> GVolume <1-1> GMount
888 where GMount now serves the purpose of the old GVolume and the new
889 GVolume serves the purpose of the old GDrive. In addition the new
890 GDrive interface is used to represent a collection of GVolume
891 instances (typically partitions) and also contains utility to query
892 the state of the physical drive the GDrive object represents (such
893 as checking for media, polling the drive, ejecting the media etc.).
895 Also implement mounting and unmounting in the Unix volume monitor
896 backend. A subquent patch will introduce GDrive support for ejection
900 * gdrive.c: (g_drive_is_media_check_automatic),
901 (g_drive_is_media_removable), (g_drive_has_media),
902 (g_drive_can_poll_for_media), (g_drive_eject),
903 (g_drive_eject_finish), (g_drive_poll_for_media),
904 (g_drive_poll_for_media_finish):
906 * gfile.c: (g_file_find_enclosing_mount):
909 * glocaldirectorymonitor.c:
910 (g_local_directory_monitor_constructor), (mounts_changed):
911 * glocalfile.c: (get_mount_info),
912 (g_local_file_find_enclosing_mount),
913 (g_local_file_file_iface_init):
914 * gnativevolumemonitor.h:
915 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
916 (get_connected_drives), (g_union_volume_monitor_class_init),
917 (child_volume_added), (child_volume_removed),
918 (child_volume_changed), (child_mount_added), (child_mount_removed),
919 (child_mount_pre_unmount), (child_mount_changed),
920 (child_drive_changed), (g_union_volume_monitor_add_monitor),
921 (g_union_volume_monitor_remove_monitor),
922 (_g_mount_get_for_mount_path):
923 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
924 (guess_system_internal), (_g_get_unix_mounts),
925 (_g_get_unix_mount_points), (g_get_unix_mount_at),
926 (g_unix_mount_free), (g_unix_mount_compare),
927 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
928 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
929 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
930 (type_to_icon), (g_unix_mount_guess_name),
931 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
932 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
933 (_resolve_symlink), (_resolve_dev_root):
935 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
936 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
937 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
938 (g_unix_volume_get_name), (g_unix_volume_can_mount),
939 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
940 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
941 (g_unix_volume_mount), (g_unix_volume_mount_finish),
942 (g_unix_volume_volume_iface_init):
944 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
945 (get_mounts), (get_volumes), (get_connected_drives),
946 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
947 (mountpoints_changed), (mounts_changed),
948 (g_unix_volume_monitor_init),
949 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
950 (find_mount_by_mountpath), (update_volumes), (update_mounts):
951 * gunixvolumemonitor.h:
952 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
953 (g_volume_mount), (g_volume_mount_finish):
955 * gvolumemonitor.c: (g_volume_monitor_class_init),
956 (g_volume_monitor_get_connected_drives),
957 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
960 2007-12-10 Matthias Clasen <mclasen@redhat.com>
962 * gmountoperation.h (GPasswordFlags): Close the gap
964 2007-12-10 Matthias Clasen <mclasen@redhat.com>
966 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
968 * gdesktopappinfo.[hc]: Remove _-prefixes
970 2007-12-10 Tor Lillqvist <tml@novell.com>
972 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
975 2007-12-10 Alexander Larsson <alexl@redhat.com>
977 * gfile.c (g_file_set_display_name):
978 Don't hardcode '/' (#502727)
980 2007-12-09 Hans Breuer <hans@breuer.org>
982 * makefile.msc : follow lib naming convention
983 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
984 for user and group name, tested with ../tests/gio-ls
986 2007-12-09 A. Walton <awalton@svn.gnome.org>
999 * gmemoryinputstream.c:
1000 * gmemoryoutputstream.c:
1002 * gsimpleasyncresult.c:
1003 More documentation cleanup and filling in missing information, bringing
1004 GIO to 99% symbol coverage.
1006 2007-12-08 Hans Breuer <hans@breuer.org>
1008 [gio compiles and links on win32, not sure how much already works]
1009 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1010 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1011 base on win32 API; prefer g_lstat() over lstat(); instead of
1012 localtime_r() use an all GLib implementation on win32;
1013 get_mount_info() still needs a win32 specifc implementation
1014 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1015 win32_get_file_user_info to get owner/group info without uid/gid
1016 * glocalfileinputstream.c : include <io.h> on win32
1017 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1018 definition, use g_win32_ftruncate() for G_OS_WIN32
1019 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1020 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1021 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1022 * makefile.msc : updated
1024 2007-12-07 Alexander Larsson <alexl@redhat.com>
1026 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1027 Avoid warning spew if error == NULL
1029 2007-12-07 Alexander Larsson <alexl@redhat.com>
1032 Update docs wrt etags
1034 2007-12-06 Alexander Larsson <alexl@redhat.com>
1037 Include sys/types.h for dev_t (#501919)
1039 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1043 Make abicheck and pltcheck pass.
1045 2007-12-05 Alexander Larsson <alexl@redhat.com>
1048 * giomodule-priv.h: Added.
1049 * glocaldirectorymonitor.c:
1050 * glocalfilemonitor.c:
1051 * gunionvolumemonitor.c:
1053 Actually add the declaration of _g_io_modules_ensure_loaded
1055 2007-12-05 Alexander Larsson <alexl@redhat.com>
1057 * gdatainputstream.c:
1062 * glocaldirectorymonitor.c:
1063 * glocalfilemonitor.c:
1064 * gunionvolumemonitor.c:
1066 Make g_io_modules_ensure_loaded a private function and
1067 don't pass in the dirname. This means we can do magic
1068 directory finding in the win32 version.
1069 Export the actual load-modules-in-directory code so that
1070 gvfs can reuse that.
1072 2007-12-05 Alexander Larsson <alexl@redhat.com>
1074 * gbufferedinputstream.c:
1075 * gbufferedoutputstream.c:
1078 * gfileenumerator.[ch]:
1079 * gfileinputstream.c:
1080 * gfileoutputstream.[ch]:
1081 * gfilterinputstream.c:
1082 * gfilteroutputstream.c:
1083 * ginputstream.[ch]:
1085 * glocalfileenumerator.c:
1086 * glocalfileinputstream.c:
1087 * glocalfileoutputstream.c:
1088 * gmemoryinputstream.c:
1089 * gmemoryoutputstream.c:
1090 * goutputstream.[ch]:
1093 * gunixinputstream.c:
1094 * gunixoutputstream.c:
1095 Rename all struct members named:
1096 read, write, close, truncate, or mount
1097 to foo_fn, as these are reserved names
1098 and could be defined as macros in libc.
1101 2007-12-04 Alexander Larsson <alexl@redhat.com>
1104 (g_output_stream_close):
1105 Only call flush if non-null.
1107 2007-11-30 Dan Winship <danw@gnome.org>
1109 * ginputstream.c (g_input_stream_set_pending): Make this take a
1110 GError and return a gboolean, and do the "outstanding operation"
1111 check (and the "stream is already closed" check) itself.
1112 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1114 * goutputstream.c (g_output_stream_set_pending)
1115 (g_output_stream_clear_pending): Likewise
1117 * gbufferedinputstream.c:
1118 * gfileinputstream.c:
1119 * gfileoutputstream.c: Update for that
1121 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1122 Like g_simple_async_report_error_in_idle, but takes a GError
1123 rather than building one.
1125 2007-11-30 Dan Winship <danw@gnome.org>
1127 * goutputstream.c: Don't cheat and unset the "pending" flag around
1128 inner calls. Instead, call the class method directly rather than
1129 the wrapper function that checks "pending"
1131 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1133 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1135 2007-12-03 Hans Breuer <hans@breuer.org>
1137 [start of port to win32/msvc]
1138 * gcancellable.c : HAVE_UNIST_H and _pipe()
1139 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1140 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1141 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1143 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1144 * glocalvfs.c : use HAVE_PWD_H
1145 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1146 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1147 * Makefile.am : added to EXTRA_DIST
1149 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1151 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1154 2007-12-03 Alexander Larsson <alexl@redhat.com>
1157 Handle OSX style xattrs API (#500506)
1159 2007-12-03 Alexander Larsson <alexl@redhat.com>
1163 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1165 2007-12-02 A. Walton <awalton@svn.gnome.org>
1169 Documentation accuracy fixes.
1171 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1173 * gioenumtypes.c.template: Fix typo.
1175 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1177 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1179 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1181 * gdirectorymonitor.c:
1182 * gfilemonitor.c: Add properties
1184 * gbufferedoutputstream.c: Don't mark buffer-size property
1187 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1189 * gbufferedoutputstream.c: Add auto-grow property.
1191 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1193 * *.c: Unify the capitalization of section headings.
1195 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1197 * gmountoperation.c: Add properties
1199 * gdatainputstream.c: Turn byte-order and newline-type into
1202 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1204 * gioenumtypes.[hc].template: Templates for enum registration
1206 * Makefile.am: Generate gioenumtypes.[hc]
1208 * gio.h: Include gioenumtypes.h
1210 * gfile.h: Add some explicit nicks.
1212 * gio.symbols: Add new symbols
1214 * pltcheck.sh: Adjust
1216 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1218 * *.c: Explain etags and link to the explanation
1220 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1222 * *.c: Explain I/O priority.
1224 * *.c: More coding style fixes.
1226 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1228 * gasyncresult.c: Add another paragraph to the intro,
1229 adjust coding style of example.
1231 2007-11-29 A. Walton <awalton@svn.gnome.org>
1234 Fixes unknown meaning in GAppLaunchContext docs.
1236 Clarify asynchronous ops.
1238 Fix entity tag docs.
1241 Provides missing gtk-doc section, fixes API docs slighly.
1242 * gsimpleasyncresult.c:
1243 Fill in missing info in docs.
1244 * gunixinputstream.c:
1245 * gunixoutputstream.c:
1246 Be more expressive in short description.
1248 Remove gtk-doc stubs for non-public API.
1250 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1252 * *.c: Coding style fixups
1254 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1256 * inotify/inotify-helper.c: Don't export the lock from libgio.
1258 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1261 * abicheck.sh: Fix copy-and-paste leftovers
1263 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1265 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1267 2007-11-28 Alexander Larsson <alexl@redhat.com>
1271 Removed unnecessary file
1273 * gdesktopappinfo.[ch]:
1276 * glocaldirectorymonitor.[ch]:
1278 * glocalfileenumerator.[ch]:
1279 * glocalfileinputstream.[ch]:
1280 * glocalfilemonitor.[ch]:
1281 * glocalfileoutputstream.[ch]:
1283 * gnativevolumemonitor.c:
1284 * gpollfilemonitor.[ch]:
1285 * gunionvolumemonitor.[ch]:
1288 * gunixvolumemonitor.[ch]:
1291 * inotify/ginotifydirectorymonitor.[ch]:
1292 * inotify/ginotifyfilemonitor.[ch]:
1293 * inotify/inotify-helper.c:
1294 Append _ to all internal functions
1298 Export symbols needed for modules
1300 2007-11-28 Alexander Larsson <alexl@redhat.com>
1303 * abicheck.sh: Added.
1304 * makegioalias.pl: Added.
1305 * pltcheck.sh: Added.
1306 * gio.symbols: Added.
1309 Initial work on adding symbol handling.
1312 Correct ifdef guard name
1315 * inotify/Makefile.am:
1316 * xdgmime/Makefile.am:
1317 Include toplevel Makefile.decl
1319 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1321 * gcontenttype.c: Move doc comments to the unix section.
1323 * *.[hc]: More trivial doc corrections.
1325 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1327 * gpollfilemonitor.c:
1331 * gdesktopappinfo.c:
1336 * gdatainputstream.c:
1337 * gdatainputstream.h:
1338 * gdataoutputstream.c:
1339 * gdataoutputstream.h:
1340 * gfileinfo.h: Doc cleanups
1342 2007-11-28 Andre Klapper <a9016009@gmx.de>
1344 * gdesktopappinfo.c: Fix a typo.
1346 2007-11-27 Andre Klapper <a9016009@gmx.de>
1348 * glocalfileoutputstream.c: Fix a typo.
1350 2007-11-27 Alexander Larsson <alexl@redhat.com>
1353 Don't include removed headers
1355 2007-11-27 Alexander Larsson <alexl@redhat.com>
1358 * gsocketinputstream.[ch]: Removed.
1359 * gsocketoutputstream.[ch]: Removed.
1360 * gunixinputstream.[ch]: Added.
1361 * gunixoutputstream.[ch]: Added.
1362 Renamed GSocket*Stream to GUnix*Stream and made
1363 it unix-only, since its not really only for sockets
1364 and it only works on unix (but is highly useful there).
1366 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1372 * gbufferedinputstream.c:
1373 * gbufferedinputstream.h:
1374 * gbufferedoutputstream.c:
1375 * gbufferedoutputstream.h:
1379 * gdatainputstream.c:
1380 * gdatainputstream.h:
1381 * gdataoutputstream.c:
1382 * gdataoutputstream.h:
1383 * gdirectorymonitor.c:
1384 * gdirectorymonitor.h:
1391 * gfileenumerator.c:
1392 * gfileenumerator.h:
1397 * gfileinputstream.c:
1398 * gfileinputstream.h:
1401 * gfilenamecompleter.c:
1402 * gfilenamecompleter.h:
1403 * gfileoutputstream.c:
1404 * gfileoutputstream.h:
1405 * gfilterinputstream.c:
1406 * gfilterinputstream.h:
1407 * gfilteroutputstream.c:
1408 * gfilteroutputstream.h:
1421 * glocalfileoutputstream.c:
1422 * gmemoryinputstream.c:
1423 * gmemoryinputstream.h:
1424 * gmemoryoutputstream.c:
1425 * gmemoryoutputstream.h:
1426 * gmountoperation.c:
1427 * gmountoperation.h:
1430 * gpollfilemonitor.c:
1433 * gsimpleasyncresult.c:
1434 * gsimpleasyncresult.h:
1435 * gsocketinputstream.c:
1436 * gsocketinputstream.h:
1437 * gsocketoutputstream.c:
1438 * gsocketoutputstream.h:
1445 * gunixvolumemonitor.c:
1454 Bumps documentation to 93% symbol coverage, touching most
1455 of the public files. Fixes broken function documentation prototypes.
1456 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1457 gtk-doc headers in private files.
1459 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1461 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1462 (g_buffered_input_stream_read_byte):
1463 * gbufferedinputstream.h:
1464 New functions for efficient access to buffer and simple single byte
1467 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1468 (g_data_input_stream_read_until):
1469 * gdatainputstream.h:
1470 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1471 read_until with multiple stop chars.
1473 2007-11-27 Alexander Larsson <alexl@redhat.com>
1477 * inotify/Makefile.am:
1478 Use the user-specified giomoduledir
1480 2007-11-27 Alexander Larsson <alexl@redhat.com>
1484 Add catch-all gio.h header
1485 Don't install gdummyfile.h
1487 2007-11-26 Alexander Larsson <alexl@redhat.com>
1489 * Makefile.am (gioinclude_HEADERS):
1490 Remove trailing whitespace
1492 2007-11-26 Alexander Larsson <alexl@redhat.com>
1494 Merge gio-standalone into glib
1496 2007-11-25 Christian Kellner <gicmo@gnome.org>
1498 * gio/goutputstream.c:
1499 Fix small mistake in the docs.
1501 2007-11-21 Christian Persch <chpe@gnome.org>
1503 * gio/glocalfile.c: (g_local_file_trash):
1504 Convert filenames to UTF-8 for GError.
1505 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1506 as per xdg base dir spec.
1508 2007-11-21 Christian Persch <chpe@gnome.org>
1510 * gio/gdesktopappinfo.c:
1511 Use that g_key_file_to_data cannot fail.
1513 Use stock defines for the key file group and key names.
1516 2007-11-21 Alexander Larsson <alexl@redhat.com>
1519 (copy_stream_with_progress):
1520 Make sure we do a final progress callback with
1521 the full total size.
1523 2007-11-21 Alexander Larsson <alexl@redhat.com>
1526 Export g_file_copy_attributes
1527 Remove padding as its not needed for interfaces
1529 2007-11-20 Alexander Larsson <alexl@redhat.com>
1534 Add G_IO_ERROR_WOULD_MERGE for
1535 copy/move dir on dir with overwrite.
1537 2007-11-20 Alexander Larsson <alexl@redhat.com>
1540 * gio/glocalfileinfo.c:
1541 Add COPY_NAME (this is an optional
1542 non-modified utf8 version of the name) that
1545 2007-11-20 Alexander Larsson <alexl@redhat.com>
1547 * gio/glocalfileenumerator.c:
1548 Report errors as GIOError, not GFileError
1550 2007-11-16 Alexander Larsson <alexl@redhat.com>
1552 * gio/glocalfileoutputstream.c:
1553 * gio/gwin32appinfo.c:
1554 Fix typos in strings.
1555 Patch from Luca Ferretti <elle.uca@libero.it>
1557 2007-11-15 Alexander Larsson <alexl@redhat.com>
1560 Post release version bump
1562 === gio-standalone 0.1.2 ===
1564 2007-11-15 Alexander Larsson <alexl@redhat.com>
1566 * docs/reference/gio/Makefile.am:
1567 Fix up distcheck by removing weird
1573 2007-11-14 Alexander Larsson <alexl@redhat.com>
1575 * gio/gdesktopappinfo.c:
1576 * gio/glocaldirectorymonitor.c:
1578 * gio/glocalfileinfo.c:
1579 * gio/inotify/inotify-sub.c:
1580 * programs/gio-cat.c:
1581 * programs/gio-copy.c:
1582 * programs/gio-info.c:
1583 * programs/gio-ls.c:
1584 * programs/gio-monitor-dir.c:
1585 * programs/gio-monitor-file.c:
1586 * programs/gio-mount.c:
1587 * programs/gio-move.c:
1588 * programs/gio-rm.c:
1589 * programs/gio-save.c:
1590 * programs/gio-trash.c:
1591 Leak fixes from Kjartan Maraas
1593 2007-11-14 Alexander Larsson <alexl@redhat.com>
1595 * gio/fam/fam-helper.c:
1597 * gio/glocalfileinfo.c:
1601 * gio/inotify/inotify-diag.c:
1602 * gio/inotify/inotify-kernel.c:
1603 Various code cleanups from Kjartan Maraas
1605 2007-11-14 Alexander Larsson <alexl@redhat.com>
1607 * gio/gioscheduler.c:
1609 Set up threadpool so that we cache 2 unused
1610 idle threads for at 15 secs. This means we
1611 will reuse thread-local data (like dbus connections)
1614 2007-11-14 Alexander Larsson <alexl@redhat.com>
1616 * gio/fam/fam-helper.c:
1617 * gio/fam/gfamdirectorymonitor.c:
1618 * gio/fam/gfamfilemonitor.c:
1620 * gio/gcontenttype.c:
1621 * gio/gdatainputstream.c:
1622 * gio/gdataoutputstream.c:
1626 * gio/gfileattribute.h:
1627 * gio/gfileenumerator.c:
1629 * gio/ginputstream.c:
1632 * gio/glocalfileinfo.c:
1633 * gio/goutputstream.c:
1634 * gio/gpollfilemonitor.c:
1635 * gio/gsimpleasyncresult.c:
1636 * gio/gunixmounts.c:
1637 * gio/gunixmounts.h:
1638 * gio/inotify/ginotifydirectorymonitor.c:
1639 * gio/inotify/ginotifyfilemonitor.c:
1640 * gio/inotify/inotify-diag.c:
1641 * gio/inotify/inotify-kernel.c:
1642 * gio/inotify/inotify-path.c:
1644 * gio/test-streams.c:
1645 * programs/gio-info.c:
1646 * programs/gio-monitor-dir.c:
1647 * programs/gio-monitor-file.c:
1648 Various code cleanups from Kjartan Maraas
1650 2007-11-13 Alexander Larsson <alexl@redhat.com>
1653 Handle the uri-scheme calls for dummy files
1655 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1657 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1658 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1659 to avoid clash with the C++ keyword.
1661 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1663 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1664 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1666 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1668 * gio/glocaldirectorymonitor.c:
1669 * gio/glocalfilemonitor.c:
1670 * gio/gunionvolumemonitor.c:
1671 Don't use g_once_init_*() for initializations that could fail and
1672 could leave the initialization variable set to 0 but use GOnce.
1673 This prevents a deadlock on the second call when trying to create
1674 a monitor and no monitor type is available. Thanks to Sven Herzberg
1677 2007-11-11 Sven Herzberg <sven@imendio.com>
1679 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1680 #ifdef (make it work on MacOS X again)
1682 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1684 Fixes Changelog for last two commits (sorry guys).
1686 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1688 * gio/gbufferedinputstream.c:
1689 * gio/gdatainputstream.c:
1691 * gio/gfileoutputstream.c:
1692 * gio/gfilterinputstream.c:
1693 * gio/glocalfileinputstream.c:
1696 More consistency fixes in g*stream.c files.
1697 Significant clean of gfile's documentation, filling in of
1698 asynchronous operations documentation.
1700 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1702 * gio/gasyncresult.c:
1703 * gio/gbufferedinputstream.c:
1704 * gio/gbufferedoutputstream.c:
1705 * gio/gcancellable.c:
1706 * gio/gcontenttype.c:
1707 * gio/gdatainputstream.c:
1708 * gio/gdataoutputstream.c:
1709 * gio/gdesktopappinfo.c:
1712 * gio/gfileattribute.c:
1713 * gio/gio/gfileenumerator.c:
1715 * gio/gfileinputstream.c:
1716 * gio/gfilemonitor.c:
1717 * gio/gfileoutputstream.c:
1718 * gio/ginputstream.c:
1720 * gio/gioscheduler.c:
1721 * gio/gloadableicon.c:
1722 * gio/glocalfileoutputstream.c:
1723 * gio/gmemoryoutputstream.c:
1724 * gio/gmountoperation.c:
1725 * gio/goutputstream.c:
1727 * gio/gsimpleasyncresult.c:
1728 * gio/gunionvolumemonitor.c:
1729 * gio/gunixmounts.c:
1730 * gio/gunixvolume.c:
1734 * gio/gvolumemonitor.c:
1735 Updated documentation stubs, working towards consistency and
1738 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1740 * gio/gmemoryoutputstream.c:
1741 * gio/gmemoryoutputstream.h:
1742 Change g_memory_output_stream_set_free_on_close() to
1743 g_memory_output_stream_set_free_data() as this makes more sense and
1744 is more consistent with GMemoryInputStream.
1746 2007-11-07 Alexander Larsson <alexl@redhat.com>
1753 Change how we find the default vfs so that
1754 we can handle a gvfs failing to init
1756 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1758 * gio/gbufferedoutputstream.c:
1759 * gio/gdatainputstream.c:
1760 * gio/gdataoutputstream.c:
1761 * gio/gfileinputstream.c:
1762 * gio/gfileoutputstream.c:
1763 * gio/gfilterinputstream.c:
1764 * gio/gfilteroutputstream.c:
1765 * gio/ginputstream.c:
1766 * gio/gmemoryinputstream.c:
1767 * gio/gmemoryoutputstream.c:
1768 * gio/goutputstream.c:
1769 * gio/gsimpleasyncresult.c:
1770 * gio/gsocketinputstream.c:
1771 * gio/gsocketoutputstream.c:
1772 Add guards to the remaining public functions, add a TODO for
1773 an unimplemented function and remove some useless guards.
1775 2007-11-07 Alexander Larsson <alexl@redhat.com>
1778 Autoconf checks for the various types of
1779 getpwuid_r and getgrgid_r
1781 * gio/glocalfileinfo.c:
1782 Use the autoconf checks from above
1784 2007-11-07 Alexander Larsson <alexl@redhat.com>
1787 (g_local_file_query_filesystem_info):
1788 Some fixes for the statvfs case
1790 2007-11-07 Alexander Larsson <alexl@redhat.com>
1793 (g_local_file_query_filesystem_info):
1794 Pick the "best" of statfs / statvfs for the system
1795 if both are availible.
1797 2007-11-07 Alexander Larsson <alexl@redhat.com>
1799 Solaris fixes from Halton.Huo@Sun.COM:
1806 * gio/glocalfileinfo.c:
1807 Fix for solaris definition of getpwuid_r
1809 * gio/test-streams.c:
1810 Use G_GNUC_PRETTY_FUNCTION
1812 2007-11-07 Alexander Larsson <alexl@redhat.com>
1814 * gio/gdesktopappinfo.c:
1815 (update_default_list):
1816 Remove double semicolon.
1817 Patch from Jens Granseuer
1819 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1821 * docs/reference/gio/gio-sections.txt:
1822 * gio/gbufferedinputstream.c:
1823 * gio/gbufferedinputstream.h:
1824 * gio/gdatainputstream.c:
1825 * gio/gfileenumerator.c:
1826 * gio/gioscheduler.c:
1827 * gio/gunionvolumemonitor.c:
1829 * programs/gio-save.c:
1830 Fix typo: availible -> available. Unfortuntely this breaks API
1831 and ABI as g_buffered_input_stream_get_available() was renamed.
1833 * gio/gunixmounts.c:
1834 * gio/gbufferedinputstream.c:
1835 Add guards for public functions.
1837 2007-11-06 Ross Burton <ross@openedhand.com>
1839 * docs/reference/gio/Makefile.am:
1840 Fix invalid += usage which automake 1.10 doesn't like.
1842 2007-11-06 Alexander Larsson <alexl@redhat.com>
1845 (g_app_launch_context_class_init):
1848 Patch from Ross Burton
1850 2007-11-06 Alexander Larsson <alexl@redhat.com>
1853 Post release version bump
1855 === gio-standalone 0.1.1 ===
1857 2007-11-06 Alexander Larsson <alexl@redhat.com>
1860 Bump version to 0.1.1
1862 * gio/gsimpleasyncresult.c:
1863 (g_simple_async_result_set_from_error):
1864 Remove bogus g_return_if_fail
1866 2007-11-06 Alexander Larsson <alexl@redhat.com>
1869 The name is gio-standalone
1872 Add top src/builddir to includedir
1874 2007-11-06 Alexander Larsson <alexl@redhat.com>
1876 * docs/reference/gio/gio-sections.txt:
1878 * gio/gbufferedinputstream.c:
1879 * gio/gbufferedoutputstream.c:
1880 * gio/gcancellable.c:
1881 * gio/gdatainputstream.h:
1882 * gio/gdataoutputstream.c:
1883 * gio/gdataoutputstream.h:
1884 * gio/gdirectorymonitor.c:
1886 * gio/gfileattribute.c:
1887 * gio/gfileattribute.h:
1888 * gio/gfileenumerator.c:
1889 * gio/gfileenumerator.h:
1892 * gio/gfileinputstream.h:
1893 * gio/gfilemonitor.c:
1894 * gio/gfileoutputstream.h:
1895 * gio/glocalfilemonitor.h:
1896 * gio/glocalfileoutputstream.h:
1897 * gio/gmemoryinputstream.c:
1898 * gio/gmemoryoutputstream.c:
1899 * gio/gmountoperation.c:
1900 * gio/goutputstream.c:
1901 * gio/goutputstream.h:
1903 * gio/gsimpleasyncresult.c:
1904 * gio/gunixmounts.c:
1905 * gio/gunixmounts.h:
1907 * gio/inotify/inotify-helper.c:
1908 Fix gtk-doc warnings
1910 Patch from Ross Burton
1912 2007-11-06 Alexander Larsson <alexl@redhat.com>
1914 * gio/gfilenamecompleter.c:
1915 (g_filename_completer_get_completions):
1918 * gio/gunixvolume.c:
1919 Remove unused function
1921 Patches from Ross Burton
1923 2007-11-06 Alexander Larsson <alexl@redhat.com>
1928 Padding not needed for interfaces
1930 2007-11-06 Alexander Larsson <alexl@redhat.com>
1932 * gio/gfilemonitor.c:
1936 Make giotypes.h an internal file
1939 * gio/gbufferedinputstream.h:
1940 * gio/gbufferedoutputstream.h:
1941 * gio/gcancellable.h:
1942 * gio/gdatainputstream.h:
1943 * gio/gdataoutputstream.h:
1944 * gio/gdirectorymonitor.c:
1945 * gio/gdirectorymonitor.h:
1950 * gio/gfileattribute.h:
1951 * gio/gfileenumerator.h:
1956 * gio/gfilemonitor.c:
1957 * gio/gfilemonitor.h:
1958 * gio/gfilenamecompleter.c:
1959 * gio/gfilenamecompleter.h:
1960 * gio/gfilterinputstream.h:
1961 * gio/gfilteroutputstream.h:
1962 * gio/ginputstream.h:
1963 * gio/gmemoryinputstream.h:
1964 * gio/gmemoryoutputstream.h:
1965 * gio/gmountoperation.c:
1966 * gio/gmountoperation.h:
1967 * gio/gnativevolumemonitor.c:
1968 * gio/goutputstream.h:
1971 * gio/gsimpleasyncresult.c:
1972 * gio/gsimpleasyncresult.h:
1973 * gio/gsocketinputstream.h:
1974 * gio/gsocketoutputstream.h:
1975 * gio/gthemedicon.c:
1976 * gio/gthemedicon.h:
1980 * gio/gvolumemonitor.c:
1981 * gio/gvolumemonitor.h:
1982 Add padding in classes where it seems useful
1983 Don't include giotypes.h from public headers
1984 Move in Class definitions into c file where possible
1989 2007-11-06 Alexander Larsson <alexl@redhat.com>
1991 * docs/reference/gio/gio-docs.xml:
1992 Better structure for API docs
1994 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1997 * gio/gloadableicon.c:
1998 * gio/gsimpleasyncresult.c:
1999 * gio/gthemedicon.c:
2000 Add some more guards to public functions. Only files missing are now
2003 2007-11-06 Alexander Larsson <alexl@redhat.com>
2005 * docs/reference/gio/gio-docs.xml:
2006 Remove old files, add missing ones
2008 2007-11-06 Alexander Larsson <alexl@redhat.com>
2010 * docs/reference/gio/gio-sections.txt:
2013 Hide implementation classes
2015 * gio/gdriveprivate.h:
2016 * gio/gvolumeprivate.h:
2017 Remove non-existing function declarations
2019 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2022 Fix compilation warnings and add guards to the new functions.
2024 * gio/gasyncresult.c:
2026 Add guards to the public functions.
2029 Implement get_path().
2031 2007-11-06 Alexander Larsson <alexl@redhat.com>
2033 * gio/gfilenamecompleter.c:
2034 Make g_filename_completer_get_completions
2035 return char ** instead of GList for
2038 * docs/reference/gio/gio-docs.xml:
2039 * docs/reference/gio/gio-sections.txt:
2041 * gio/gasyncresult.c:
2042 * gio/gbufferedinputstream.c:
2043 * gio/gbufferedoutputstream.c:
2044 * gio/gcancellable.c:
2045 * gio/gcontenttype.c:
2046 * gio/gdatainputstream.c:
2047 * gio/gdataoutputstream.c:
2048 * gio/gdesktopappinfo.c:
2049 * gio/gdirectorymonitor.c:
2053 * gio/gfileattribute.c:
2054 * gio/gfileenumerator.c:
2057 * gio/gfileinputstream.c:
2058 * gio/gfilemonitor.c:
2059 * gio/gfilenamecompleter.c:
2060 * gio/gfilenamecompleter.h:
2061 * gio/gfileoutputstream.c:
2062 * gio/gfilterinputstream.c:
2064 * gio/ginputstream.c:
2066 * gio/gioscheduler.c:
2067 * gio/gloadableicon.c:
2068 * gio/glocaldirectorymonitor.c:
2070 * gio/glocalfileinputstream.c:
2071 * gio/glocalfilemonitor.c:
2072 * gio/glocalfileoutputstream.c:
2074 * gio/gmemoryinputstream.c:
2075 * gio/gmemoryoutputstream.c:
2076 * gio/gmountoperation.c:
2077 * gio/goutputstream.c:
2078 * gio/gpollfilemonitor.c:
2080 * gio/gsimpleasyncresult.c:
2081 * gio/gsocketinputstream.c:
2082 * gio/gsocketoutputstream.c:
2083 * gio/gthemedicon.c:
2084 * gio/gunionvolumemonitor.c:
2086 * gio/gunixmounts.c:
2087 * gio/gunixvolume.c:
2088 * gio/gunixvolumemonitor.c:
2092 * gio/gvolumemonitor.c:
2093 * gio/gwin32appinfo.c:
2094 Add (mostly stub) doc strings to public functions.
2095 Patch from Andrew Walton (awalton@gmail.com)
2097 2007-11-06 Alexander Larsson <alexl@redhat.com>
2099 * gio/gappinfo.[ch]:
2100 Added GAppLaunchContext object and pass that to launch.
2101 This allows simple implementation of both
2102 launch-on-screen and startup notification via a gtk+
2103 subclass of GAppLaunchContext
2105 * gio/gdesktopappinfo.c:
2106 Implement GAppLaunchContext API
2108 * gio/gwin32appinfo.c:
2111 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2113 * gio/gmountoperation.c:
2114 Add some guards to GMountOperation's public functions.
2116 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2120 * gio/gcancellable.c:
2121 * gio/gdirectorymonitor.c:
2123 * gio/gfileenumerator.c:
2124 * gio/gfilemonitor.c:,
2125 * gio/gfilenamecompleter.c:
2128 * gio/gioscheduler.c:
2132 * gio/gvolumemonitor.c:
2133 Add even more guards to various public functions.
2135 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2138 Add guards to the public functions of GAppInfo.
2140 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2142 * gio/gcontenttype.c:
2143 Add some more guards for public functions.
2145 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2147 * gio/fam/fam-module.c:
2148 * gio/fam/gfamdirectorymonitor.c:
2149 * gio/fam/gfamdirectorymonitor.h:
2150 * gio/fam/gfamfilemonitor.c:
2151 * gio/fam/gfamfilemonitor.h:
2152 * gio/inotify/ginotifydirectorymonitor.c:
2153 * gio/inotify/ginotifydirectorymonitor.h:
2154 * gio/inotify/ginotifyfilemonitor.c:
2155 * gio/inotify/ginotifyfilemonitor.h:
2156 Add proper copyright information and remove an unused variable
2157 in the GInotifyFileMonitor constructor.
2159 * gio/gcancellable.c:
2160 Add a guard for a public function and an assertion to prevent
2161 an undefined program state.
2163 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2165 * gio/gfileattribute.c:
2166 Don't run into an assertion if the given attribute value is NULL
2167 in g_file_attribute_value_get_*() but instead return a fallback
2168 value that makes sense in most situations. Passing them a attribute
2169 value with the wrong type will still run into an assertion.
2171 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2173 * gio/gfileattribute.c:
2175 Add even more guards to the public functions. Also fix the refcounting
2176 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2177 let g_file_info_list_attributes() filter the attributes by namespace
2178 instead of simply ignoring the namespace parameter.
2180 2007-11-03 Sven Herzberg <sven@imendio.com>
2182 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2183 (This makes gio work on MacOS X again)
2185 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2188 Build the gio subdirectory before the docs. Otherwise the build will
2191 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2192 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2193 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2194 Add guards to the public functions.
2196 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2198 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2199 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2200 to prevent a compiler warning.
2202 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2203 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2204 return something in the non-void function find_topdir_for().
2206 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2213 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2215 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2216 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2217 * gwin32appinfo.c (g_win32_app_info_launch):
2218 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2219 envp_for_startup_id, g_desktop_app_info_launch,
2220 g_desktop_app_info_launch_uris):
2222 Give an opaque 'startup_id' string instead of 'envp'.
2223 Support empty file lists for launching new windows.
2224 Fix infinite recursion bug when launching URIs.
2226 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2229 Add guard to the new g_file_get_uri_scheme() function.
2231 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2234 Convert a g_return_val_if_fail() to setting the GError instead as
2235 otherwise applications have to verify the parameter before otherwise
2236 and the parameter might come directly from the user.
2238 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2240 * gio/inotify/ginotify*.[ch]:
2241 Add missing copyright information.
2243 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2246 Add guards in the beginning of public functions to check for valid
2247 parameters and fix a bug in copy_stream_with_progress() that could've
2248 caused writing less bytes than reading.
2249 * gio/glocalfileinfo.c:
2250 Check for a NULL parameter and set the GError accordingly then.
2251 * gio/goutputstream.c:
2252 Fix the same bug as in gfile.c that could've caused writing less bytes
2253 than reading in g_output_stream_real_splice().
2255 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2258 Use the correct gvolumeprivate.h naming
2260 2007-11-01 Christian Kellner <gicmo@gnome.org>
2263 Remove leftover "$(daemon_sources)" entry.
2265 2007-11-01 Christian Kellner <gicmo@gnome.org>
2270 Add copyright information to source files.
2272 2007-11-01 Alexander Larsson <alexl@redhat.com>
2276 Add g_file_get_uri_scheme
2278 2007-11-01 Alexander Larsson <alexl@redhat.com>
2281 * gio/gdesktopappinfo.c:
2282 * gio/gwin32appinfo.c:
2283 Add g_app_info_get_default_for_uri_scheme.
2285 2007-11-01 Alexander Larsson <alexl@redhat.com>
2288 Correct filename for gdriveprivate.h
2290 2007-10-31 Alexander Larsson <alexl@redhat.com>
2293 Rename id:value to id:file
2296 * gio/glocalfileinfo.c:
2299 2007-10-31 Alexander Larsson <alexl@redhat.com>
2301 * gio/gunixvolume.c:
2303 Remove g_volume_get_platform_id, as thats not
2304 needed with the simpler union volume monitor
2306 2007-10-31 Alexander Larsson <alexl@redhat.com>
2309 * gio/guniondrive.[ch]: Removed.
2310 * gio/gunionvolume.[ch]: Removed.
2311 Remove GUnionDrive/Volume
2313 * gio/gunionvolumemonitor.c:
2314 Simplify union volume monitor, now we
2315 only have one native volume monitor and
2316 we use the actual volumes/drives from the
2317 child monitors instead of wrapping them
2319 * gio/gnativevolumemonitor.[ch]:
2320 Base class for native volume monitors.
2321 Includes priority and get_volume_for_mountpoint
2324 Add g_file_find_enclosing_volume
2327 Remove volume name fs attribute
2328 Add readonly fs attribute
2331 Implement readonly attribute
2332 remove volume name attribute
2333 Implement find_enclosing volume
2335 * gio/gunixmounts.c:
2336 Add a volume for "/".
2338 * gio/gunixvolume.[ch]:
2339 Set better name for /
2341 * gio/gunixvolumemonitor.[ch]:
2342 Derive from GNativeVolumeMonitor
2343 Implement get_volume_for_mountpoint
2346 GVolume typedef moved to gfile.h
2348 * gio/gvolumeprivate.h:
2349 Add g_volume_get_for_mount_path
2351 2007-10-31 Alexander Larsson <alexl@redhat.com>
2353 * gio/gunixmounts.[ch]:
2354 Add cache info to unix mount listers
2355 Make getmntent use threadsafe
2356 Add is_system_internal attribute for GUnixMount
2358 * gio/gunixvolume.c:
2359 (g_unix_volume_new):
2360 Use is_system_internal instead of own code
2362 * gio/glocaldirectorymonitor.c:
2363 * gio/gunixvolumemonitor.c:
2364 Update to new gunixmounts API
2369 2007-10-30 Alexander Larsson <alexl@redhat.com>
2372 Add volume name fsinfo attribute
2375 Read volume name info
2377 * gio/gunionvolumemonitor.c:
2378 Fix infinite loops when finalizing a union volume monitor
2380 2007-10-30 Alexander Larsson <alexl@redhat.com>
2382 * gio/goutputstream.[ch]:
2383 Add splice() with default implementation
2385 * gio/gsocketoutputstream.c:
2386 (g_socket_output_stream_write):
2387 Return error on cancellation correctly.
2389 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2391 * gio/glocalfile.c (g_local_file_trash):
2392 Do not leak a string.
2394 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2396 * gio/gfile.c (g_file_load_contents):
2397 Unref the stream after closing it.
2399 2007-10-25 Alexander Larsson <alexl@redhat.com>
2401 * gio/gioscheduler.h:
2404 2007-10-25 Alexander Larsson <alexl@redhat.com>
2408 Add g_file_has_uri_scheme and implement for local files
2410 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2412 * gio/gdesktopappinfo.c: do not leak a string.
2414 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2416 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2417 (g_local_directory_monitor_new):
2418 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2419 (g_local_file_monitor_new):
2420 Only look for the monitor type that should be used the first time
2421 and use g_qsort_with_data() instead of our own bubble sort
2424 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2427 * gio/fam/Makefile.am:
2428 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2429 * gio/fam/fam-helper.h:
2430 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2431 * gio/fam/gfamdirectorymonitor.c:
2432 * gio/fam/gfamdirectorymonitor.h:
2433 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2434 * gio/fam/gfamfilemonitor.h:
2435 * gio/glocaldirectorymonitor.c:
2436 * gio/glocaldirectorymonitor.h:
2437 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2438 * gio/glocalfilemonitor.h:
2439 * gio/inotify/Makefile.am:
2440 * gio/inotify/ginotifydirectorymonitor.c:
2441 * gio/inotify/ginotifydirectorymonitor.h:
2442 * gio/inotify/ginotifyfilemonitor.c:
2443 * gio/inotify/ginotifyfilemonitor.h:
2444 Implement the FAM and Inotify monitors as
2445 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2446 their own GIO module. GLocal(Directory|File)Monitor will use the
2447 monitor with the highest rank that is supported on that machine.
2449 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2452 Change GIO module dir to $(libdir)/gio/modules and change
2453 the log domain from GVFS to GIO. Also only export symbols starting
2454 with g_ in the resulting library.
2455 * gio/test-streams.c: (main):
2456 Set log handler for the GIO log domain.
2458 2007-10-22 Alexander Larsson <alexl@redhat.com>
2460 * gio/gfilenamecompleter.[ch]:
2461 Add g_filename_completer_set_dirs_only
2463 2007-10-22 Alexander Larsson <alexl@redhat.com>
2466 * gio/gurifuncs.[ch]:
2467 Add some simple URI helpers
2469 * gio/gfilenamecompleter.[ch]:
2470 Added object for filename (parse name actually) completion
2473 Handle ~ in parse names
2475 2007-10-17 Alexander Larsson <alexl@redhat.com>
2478 * gio/glocalfileinfo.c:
2479 Add and implement id:value attribute
2481 2007-10-17 Alexander Larsson <alexl@redhat.com>
2484 * gio/guniondrive.c:
2486 Add and implement g_drive_has_volumes
2488 2007-10-17 Alexander Larsson <alexl@redhat.com>
2491 * gio/glocalfileinfo.[ch]:
2492 Add unix:is_mountpoint and implement for local files
2494 2007-10-16 Alexander Larsson <alexl@redhat.com>
2496 * gio/gunionvolumemonitor.c:
2497 (g_union_volume_monitor_init):
2498 Fix up the unix type getting so that it works with gcc
2500 2007-10-12 Alexander Larsson <alexl@redhat.com>
2503 * gio/glocalfileinfo.c:
2504 Add thumbnail:failed to file info
2506 2007-10-12 Richard Hult <richard@imendio.com>
2508 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2509 optimizing away the get_type call (happens with some gcc versions,
2510 like the one shipped with OS X 10.4).
2512 2007-10-12 Alexander Larsson <alexl@redhat.com>
2514 * gio/glocalfileinfo.c:
2515 (_g_local_file_info_set_attribute):
2516 Fix build if not HAVE_XATTR
2517 Patch from Milosz Derezynski <internalerror@gmail.com>
2519 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2521 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2522 around for review, otherwise I would have asked you before
2525 2007-10-11 Alexander Larsson <alexl@redhat.com>
2528 Add thumbnail:path attribute
2530 * gio/glocalfileinfo.c:
2531 Implement thumbnail:path for local files
2533 2007-10-11 Alexander Larsson <alexl@redhat.com>
2535 * gio/glocalfileinfo.c:
2536 (_g_local_file_info_get):
2537 Avoid duplicate icon names
2539 2007-10-11 Alexander Larsson <alexl@redhat.com>
2541 * gio/gthemedicon.[ch]:
2542 Change g_themed_icon_get_names return type to const
2544 2007-10-10 Alexander Larsson <alexl@redhat.com>
2546 * gio/glocalfileinfo.c:
2547 Don't reference freed memory
2549 2007-10-10 Alexander Larsson <alexl@redhat.com>
2551 * gio/gfileattribute.c:
2554 * gio/glocalfileinfo.c:
2557 2007-10-10 Alexander Larsson <alexl@redhat.com>
2560 Check for NULL icons
2562 * gio/gfileattribute.c:
2563 Don't dup when getting objects (same as for string attributes)
2565 * gio/gicon.c (g_icon_equal):
2566 Safely handle NULLs in equal
2568 2007-10-10 Alexander Larsson <alexl@redhat.com>
2571 Fix c++ compilation issues
2572 Patch from Milosz Derezynski <internalerror@gmail.com>
2574 2007-10-10 Alexander Larsson <alexl@redhat.com>
2576 * programs/gio-monitor-dir.c:
2577 Don't crash if dir monitor not supported.
2579 2007-10-09 Alexander Larsson <alexl@redhat.com>
2582 Add missing G_END_DECLS
2584 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2586 * gio/gfile.c: (g_file_set_display_name),
2587 (g_file_query_settable_attributes),
2588 (g_file_query_writable_namespaces):
2589 Return NULL not FALSE on errors as the return type is a pointer.
2591 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2593 * gio/glocalfile.c: (g_local_file_monitor_file):
2594 Don't call monitor_file on the default interface vtable (which
2595 is NULL) but simply return NULL. The caller, GFile, will create a
2596 polling monitor if NULL is returned.
2598 2007-10-09 Alexander Larsson <alexl@redhat.com>
2602 * gio-unix-2.0.pc.in:
2603 Add gio-unix-2.0.pc if OS_UNIX
2606 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2608 2007-10-09 Alexander Larsson <alexl@redhat.com>
2610 * gio/gunixmounts.[ch]:
2611 Make unix mount monitoring API sane.
2612 Now its just a object with mounts_changed
2613 and mountpoints_changed signals.
2615 * gio/glocaldirectorymonitor.c:
2616 * gio/gunixvolumemonitor.c:
2617 Use new mount monitor api
2619 2007-10-09 Alexander Larsson <alexl@redhat.com>
2621 * gio/gunixmounts.[ch]:
2622 Move guess type into one call for mounts and one for mountpoints
2625 * gio/gunixvolume.c:
2628 2007-10-09 Alexander Larsson <alexl@redhat.com>
2630 * gio/gunixmounts.[ch]:
2631 Remove _ prefix in preparation to make this semi-public
2632 Hide implementation of structs
2634 * gio/glocaldirectorymonitor.c:
2636 * gio/gunixvolume.c:
2637 * gio/gunixvolumemonitor.c:
2638 Update for above API changes
2640 2007-10-08 Alexander Larsson <alexl@redhat.com>
2643 Better polling fallback. This also handles the case where we have
2644 a monitor_file implementation, but it fails.
2646 2007-10-08 Alexander Larsson <alexl@redhat.com>
2650 * gio/gunixmounts.c:
2651 * programs/gio-monitor-dir.c:
2652 * programs/gio-monitor-file.c:
2653 Added cancellable to file monitoring calls.
2654 These are really sync calls and need this.
2656 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2658 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2659 (g_local_vfs_class_init):
2660 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2661 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2663 2007-10-05 Alexander Larsson <alexl@redhat.com>
2665 * gio/gdirectorymonitorprivate.h:
2666 * gio/gfilemonitorprivate.h:
2667 * gio/gdirectorymonitor.h:
2668 * gio/gfilemonitor.h:
2669 Remove *private.h and move to the public API, so that
2670 we can do implementations outside gio (such as in gvfs)
2672 * gio/gdirectorymonitor.c:
2673 * gio/gfilemonitor.c:
2674 * gio/glocaldirectorymonitor.c:
2675 * gio/gpollfilemonitor.c:
2676 * gio/inotify/inotify-helper.c:
2677 * gio/fam/fam-helper.c:
2678 Update to the new header names
2680 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2682 * gio/gdirectorymonitor.c:
2683 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2686 2007-10-04 Alexander Larsson <alexl@redhat.com>
2688 * gio/glocalfileinfo.c (get_access_rights):
2689 Set CAN_TRASH when we can move the file.
2690 We should really also check for a parent trash dir.
2692 2007-10-04 Alexander Larsson <alexl@redhat.com>
2694 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2695 Add can_trash access attribute
2697 2007-10-04 Alexander Larsson <alexl@redhat.com>
2700 (g_local_file_trash):
2701 Create info file first. This is per-spec and allows
2702 us to actually trash directories.
2704 2007-10-02 Alexander Larsson <alexl@redhat.com>
2706 * gio/gdesktopappinfo.c:
2707 Implement the new mime support code.
2708 Always set app as handling mimetype when being set as default for it
2710 2007-10-01 Alexander Larsson <alexl@redhat.com>
2712 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2713 Fix up check for xattrs:
2715 2007-10-01 Alexander Larsson <alexl@redhat.com>
2718 (g_app_info_set_as_default_for_extension):
2719 (g_app_info_add_supports_type):
2720 (g_app_info_can_remove_supports_type):
2721 (g_app_info_remove_supports_type):
2722 Make these fail nicely if not implemented
2724 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2726 * gio/glocalfileoutputstream.c:
2727 * gio/glocalfileoutputstream.h:
2732 * programs/gio-save.c:
2733 Add a GFileCreateFlags argument to operations that can create
2736 2007-10-01 Alexander Larsson <alexl@redhat.com>
2738 * gio/gappinfo.[ch]:
2739 * gio/gdesktopappinfo.c:
2740 Add more (stubbed out) mime API needed for nautilus
2742 2007-10-01 Alexander Larsson <alexl@redhat.com>
2745 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2746 Add g_app_info_set_as_default_for_extension.
2748 * gio/gdesktopappinfo.c:
2749 Dummy for g_app_info_set_as_default_for_extension
2750 Support flags in g_app_info_create_from_commandline
2752 * gio/gwin32appinfo.c:
2754 Update for API changes
2756 * gio/gthemedicon.c:
2757 Properly NULL-terminate list of icon names
2759 2007-09-28 Alexander Larsson <alexl@redhat.com>
2761 * gio/gloadableicon.h:
2762 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2764 2007-09-28 Alexander Larsson <alexl@redhat.com>
2767 Install headers in $includedir/gio-standalone/
2769 * gio-2.0.pc.in: Added.
2770 * gio-standalone.pc.in: Removed.
2773 Renamed pkg-config file to match glib (for future move)
2774 Update to the new include dir
2777 Add more TODO comments
2779 2007-09-28 Alexander Larsson <alexl@redhat.com>
2781 * gio/gdesktopappinfo.[ch]:
2782 Expose new_from_filename
2783 Add getter for is_hidden and handle it better
2785 2007-09-28 Alexander Larsson <alexl@redhat.com>
2787 * gio/gfileinfo.[ch]:
2788 Rename g_file_size_format_for_display to
2789 g_format_file_size_for_display.
2790 Now it doesn't have the g_file prefix, so we
2791 can later move it to glib.
2793 2007-09-28 Alexander Larsson <alexl@redhat.com>
2795 * gio/gappinfo.[ch]:
2796 Add g_app_info_get_id and g_app_info_get_executable.
2797 Make all getters non-reffing
2798 Make g_app_info_launch take GFile arguments.
2799 Add must_support_uris argument to g_app_info_get_default_for_type.
2801 * gio/gwin32appinfo.c:
2802 Update to GAppInfo api changes
2804 * gio/gdesktopappinfo.c:
2805 Update to GAppInfo api changes
2806 Implement supports_xdg_startup_notify
2808 * gio/gfileicon.c (g_file_icon_get_file):
2809 Make getter non-reffing.
2814 2007-09-27 Alexander Larsson <alexl@redhat.com>
2816 * gio/gfileinfo.[ch]:
2817 Add g_file_size_format_for_display helper
2819 2007-09-27 Alexander Larsson <alexl@redhat.com>
2821 * gio/glocalfileinfo.c:
2822 Set UNIX_GID from gid, not from uid
2824 2007-09-27 Alexander Larsson <alexl@redhat.com>
2827 Add g_file_set_attributes_async
2829 2007-09-27 Alexander Larsson <alexl@redhat.com>
2831 * gio/glocalfile.c (g_local_file_set_display_name):
2832 Fix set_display_name to actually rename to the right place.
2833 Use lstat to look for existing files so we don't overwrite
2836 2007-09-26 Alexander Larsson <alexl@redhat.com>
2839 Add g_file_set_display_name_async()
2841 2007-09-26 Alexander Larsson <alexl@redhat.com>
2844 Add load_partial_contents async calls
2847 Make internal function static
2849 2007-09-26 Alexander Larsson <alexl@redhat.com>
2851 * gio/glocalfileinfo.c:
2852 Correctly detect broken symlinks
2854 2007-09-26 Alexander Larsson <alexl@redhat.com>
2856 * gio/gcancellable.c (g_cancellable_cancel):
2857 Allow cancel on NULL cancellable
2859 2007-09-25 Alexander Larsson <alexl@redhat.com>
2861 * gio/gsimpleasyncresult.c:
2862 Don't allocate g_error manually.
2863 Fixes g_slice/g_new mixup crash
2865 2007-09-25 Alexander Larsson <alexl@redhat.com>
2867 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2868 Actually set active_backend.
2869 This means the monitor will be cancelled correctly.
2871 2007-09-25 Alexander Larsson <alexl@redhat.com>
2873 * gio/gdirectorymonitor.c:
2874 Set timeout to NULL when destroying
2876 2007-09-25 Alexander Larsson <alexl@redhat.com>
2879 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2880 that is a better description of the error.
2882 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2884 * gio/gvfs.c: (g_vfs_get_local):
2885 Make the local vfs variable static. The same instance should
2888 2007-09-24 Alexander Larsson <alexl@redhat.com>
2890 * gio/glocalfileinfo.c:
2891 Pass in actual length read into sniffer, not the length
2894 2007-09-21 Alexander Larsson <alexl@redhat.com>
2896 * gio/gfileenumerator.c:
2899 * gio/gfileinputstream.c:
2900 * gio/gfileoutputstream.c:
2901 * gio/ginputstream.c:
2902 * gio/goutputstream.c:
2903 Don't crash if async callbacks are NULL
2905 2007-09-20 Alexander Larsson <alexl@redhat.com>
2908 Add async enumerate_children method and default
2911 2007-09-20 Alexander Larsson <alexl@redhat.com>
2914 Add g_file_contains_file & g_file_get_relative_path, since they
2915 were needed for nautilus.
2916 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2921 Implement new methods
2923 2007-09-17 Alexander Larsson <alexl@redhat.com>
2926 * gio/gfileinputstream.[ch]:
2927 * gio/gfileoutputstream.[ch]:
2929 * gio/glocalfileenumerator.[ch]:
2930 * gio/glocalfileinfo.[ch]:
2931 * gio/glocalfileinputstream.c:
2932 * gio/glocalfileoutputstream.c:
2933 * gio/gpollfilemonitor.c:
2934 * programs/gio-copy.c:
2935 * programs/gio-info.c:
2936 * programs/gio-move.c:
2937 Rename get_file_info to query_info() to make it clearer
2938 that these are not simple getters, but do i/o.
2940 2007-09-17 Alexander Larsson <alexl@redhat.com>
2942 * gio/gdatainputstream.[ch]:
2943 * gio/test-streams.c:
2944 Use _read_XXX instead of _get_XXX for the i/o calls
2947 2007-09-17 Alexander Larsson <alexl@redhat.com>
2950 Added needed stuff to TODO comment
2952 2007-09-17 Alexander Larsson <alexl@redhat.com>
2954 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2955 Don't error out removing the backup copy if it doesn't
2958 2007-09-14 Alexander Larsson <alexl@redhat.com>
2960 * programs/Makefile.am:
2961 * programs/gvfs-*.c:
2963 Renamed apps from gvfs-xxx to gio-xxx.
2965 2007-09-14 Alexander Larsson <alexl@redhat.com>
2968 * gio/gfileoutputstream.[ch]:
2969 * gio/glocalfileoutputstream.c:
2970 * programs/gvfs-save.c:
2971 g_file_output_stream_get_etag doesn't do i/o, so remove
2972 cancellation and error.
2974 2007-09-14 Alexander Larsson <alexl@redhat.com>
2977 Add new_etag output to replace_contents functions
2979 2007-09-14 Alexander Larsson <alexl@redhat.com>
2981 * gio/gfileoutputstream.[ch]:
2982 Add async get_file_info and default implementation
2984 2007-09-14 Alexander Larsson <alexl@redhat.com>
2986 * gio/gfileinputstream.c:
2987 Implement fallback wrapper for async get_file_info
2989 2007-09-14 Alexander Larsson <alexl@redhat.com>
2992 Add etag out argument to load_contents
2997 2007-09-14 Alexander Larsson <alexl@redhat.com>
2999 * gio/gcontenttype.c (looks_like_text):
3000 Whitespace like tab, cr and lf do not make the
3003 2007-09-14 Alexander Larsson <alexl@redhat.com>
3005 * gio/gfileinputstream.[ch]:
3006 Add async get_file_info.
3008 2007-09-13 Alexander Larsson <alexl@redhat.com>
3010 * gio/goutputstream.c (g_output_stream_write_all):
3011 Allow NULL for bytes_written
3013 2007-09-13 Alexander Larsson <alexl@redhat.com>
3015 * gio/gmemoryinputstream.[ch]:
3016 Add accessors for data
3018 2007-09-13 Alexander Larsson <alexl@redhat.com>
3020 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3021 Don't crash if length is NULL