1 2008-01-20 Murray Cumming <murrayc@murrayc.com>
3 * gfile.c: documentation: Fixed more minor
6 2008-01-18 Murray Cumming <murrayc@murrayc.com>
8 * gmount.c: (g_mount_remount): documentation:
9 Mention g_mount_remount_finish() instead of
10 g_mount_unmount_finish().
12 2008-01-18 Murray Cumming <murrayc@murrayc.com>
16 * gfile.c: Fixed some minor typos in the
19 2008-01-18 Murray Cumming <murrayc@murrayc.com>
21 * gio/gvolumemonitor.c:
22 (g_volume_monitor_get_connected_drives):
23 (g_volume_monitor_get_volumes):
24 (g_volume_monitor_get_mounts): Documentation:
25 Clarify the ownership of the regurn GLists.
27 2008-01-17 Alexander Larsson <alexl@redhat.com>
30 Add the async find_enclosing_mount version
31 to the header file too.
33 2008-01-17 Alexander Larsson <alexl@redhat.com>
36 Add async version of find_enclosing_mount
37 with default implementation.
39 2008-01-17 Alexander Larsson <alexl@redhat.com>
44 Allow calls to implementation of copy and write
45 even if the type of the file implementations is
46 different. This can be used to implement native
47 upload and download calls in a vfs.
51 Protect against the case where move is called
52 with one file not being local.
54 Make sure we call the progress callback once
55 in the native move operation so that the caller
56 knows how many bytes were copied.
58 2008-01-16 Murray Cumming <murrayc@murrayc.com>
63 * gfileoutputstream.c:
68 * gunixmounts.c: Corrected some typos in the documentation:
70 its -> it's (where appropriate).
72 2008-01-16 Alexander Larsson <alexl@redhat.com>
76 Add g_file_query_exists (#508771)
78 2008-01-15 Murray Cumming <murrayc@murrayc.com>
83 * gvolume.c: For async functions that have no non-async
84 version, document that the GAsyncReadyCallback may be NULL.
87 2008-01-15 Alexander Larsson <alexl@redhat.com>
89 * gmemoryinputstream.c:
90 * gmemoryoutputstream.c:
91 Don't do pointer arithmetic on void * (#508602)
92 Patch from Kazuki IWAMOTO
94 2008-01-14 Matthias Clasen <mclasen@redhat.com>
96 * === Released 2.15.2 ===
98 2008-01-14 Alexander Larsson <alexl@redhat.com>
100 * gfile.c (g_file_monitor_file):
101 Don't set error here, since we fallback to polling monitor.
103 2008-01-14 Alexander Larsson <alexl@redhat.com>
106 (g_file_monitor_directory):
107 (g_file_monitor_file):
108 Add GError to file monitor calls
110 * glocaldirectorymonitor.c:
111 * glocaldirectorymonitor.h:
113 * glocalfilemonitor.c:
114 * glocalfilemonitor.h:
116 Update for above change
118 2008-01-14 Alexander Larsson <alexl@redhat.com>
122 Handle root correctly in g_file_get_relative_path (#508719)
124 2008-01-14 Alexander Larsson <alexl@redhat.com>
127 Clean up docs and example for GAsyncResult (#508074)
129 2008-01-11 Murray Cumming <murrayc@murrayc.com>
131 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
132 and correct some spelling mistakes. Bug #508108.
134 2008-01-11 Matthias Clasen <mclasen@redhat.com>
136 * glocalfileinfo.c: Add a comment.
138 2008-01-10 Murray Cumming <murrayc@murrayc.com>
140 * gfileinfo.c: GFileInfo description: Mention
141 how to actually set attributes in a GFile and how to discover
142 which attributes are settable. Bug #508378.
144 2008-01-10 A. Walton <awalton@svn.gnome.org>
146 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
147 (g_app_info_get_default_for_type):
148 Check for NULL content types.
150 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
152 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
154 2008-01-09 Murray Cumming <murrayc@murrayc.com>
156 * gfile.c: *_async() functions: Several small corrections
157 to the documentation, mostly correcting copy/paste errors
158 and improving some sentences.
160 2008-01-09 Dan Winship <danw@gnome.org>
162 * glocalfile.c (get_unique_filename): x86_64 fix
164 2008-01-09 Alexander Larsson <alexl@redhat.com>
169 Add g_unix_mount_guess_should_display and use
170 for unix volume monitor backend.
171 This means we more or less show what the
172 gnome-vfs backend did.
173 Based on patch from Padraig O'Briain
175 2008-01-09 Alexander Larsson <alexl@redhat.com>
179 Add g_themed_icon_new_with_default_fallbacks
182 Use default fallbacks for icons
184 2008-01-09 Alexander Larsson <alexl@redhat.com>
187 * gmountoperation.[ch]:
188 Change the API a bit so that unhandled methods
189 get reported via the reply, rather than by
190 the signal emission return value. This is because
191 some handlers can't know this immediately without
192 doing I/O, and this is an async operation that
195 2008-01-09 Alexander Larsson <alexl@redhat.com>
198 * fam/gfamdirectorymonitor.c:
199 * fam/gfamfilemonitor.c:
200 Fix double free crash (#508224)
201 Patch from Joe Marcus Clarke
203 008-01-07 Matthias Clasen <mclasen@redhat.com>
205 * === Released 2.15.1 ===
207 2008-01-07 Alexander Larsson <alexl@redhat.com>
209 * gunixinputstream.c (g_unix_input_stream_skip_finish):
210 Fix warning (#507835)
212 2008-01-07 Alexander Larsson <alexl@redhat.com>
215 Pass --internal to glib-genmarshal
220 Use better types for signal arguments (#507822)
222 2008-01-07 Alexander Larsson <alexl@redhat.com>
225 Build test subdir after .
226 Remove gdirectorymonitor.[ch]
228 * gdirectorymonitor.[ch]:
232 Remove GDirectoryMonitor and make
233 GFileMonitor the baseclass for both file and
234 directory monitors. Lift the more generic
235 rate limiting code from GDirectoryMonitor
239 * fam/gfamdirectorymonitor.[ch]:
240 * inotify/ginotifydirectorymonitor.[ch]:
241 * inotify/inotify-helper.c:
242 * glocaldirectorymonitor.[ch]:
245 Update for the removed GDirectoryMonitor.
247 * gmemoryoutputstream.c:
248 Remove ununsed variable
250 2008-01-07 Alexander Larsson <alexl@redhat.com>
252 * gmemoryinputstream.c:
253 Translate error strings
256 * gmemoryoutputstream.[ch]:
257 New implementation that avoids using GByteArray
258 in implementation and API. (#506377)
260 2008-01-06 Matthias Clasen <mclasen@redhat.com>
262 * tests/*: Add a test for memory input streams.
264 * Makefile.am: Add tests to SUBDIRS.
266 2008-01-06 Matthias Clasen <mclasen@redhat.com>
268 * glocalfilemonitor.c:
269 * glocaldirectorymonitor.c: Mark property nicks and blurbs
272 2008-01-06 Matthias Clasen <mclasen@redhat.com>
274 * gdesktopappinfo.c: Fix a docs typo.
276 * gfileattribute.c: Add information about extended attributes
277 to the documentation. (#505058)
279 2008-01-04 Alexander Larsson <alexl@redhat.com>
283 Use the right type (uint) for the ask_password signal.
285 2008-01-04 Alexander Larsson <alexl@redhat.com>
290 Add g_app_info_supports_files()
291 Remove desktop arg from g_app_info_should_show().
293 * gdesktopappinfo.[ch]:
294 Implement g_app_info_supports_files() and new should_show()
295 Add g_desktop_app_info_set_desktop_env() to set the desktop
296 for should_show(). (This will be set by gtk+ later)
298 2008-01-04 Alexander Larsson <alexl@redhat.com>
301 * gmemoryinputstream.[ch]:
302 Improve API so that you can use multiple chunks
303 of memory and custom destroy functions. (#506374)
305 2008-01-03 Alexander Larsson <alexl@redhat.com>
308 Handle NULL attribute matchers safely, as we return this
309 for empty attribute matcher strings.
311 2008-01-03 Alexander Larsson <alexl@redhat.com>
313 * gunixmounts.c (g_unix_is_mount_path_system_internal):
314 Add /usr/local to list of internal mountpoints
316 2008-01-03 Alexander Larsson <alexl@redhat.com>
319 Check for HAVE_LCHOWN (#505887)
321 2008-01-03 Alexander Larsson <alexl@redhat.com>
325 Add define for selinux context attribute.
326 Fix missing : -> :: namespace separator change
327 Fix missing _ -> - name change for xattr-sys.
330 2008-01-03 Alexander Larsson <alexl@redhat.com>
333 Link to libglib and libgobject directly (#504879)
334 Patch from Sebastien Bacher
336 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
338 * gfile.c: Expanded the g_file_new_for_commandline_arg
339 description a bit, based on the code and the docs of the
340 other g_file_new_for_* functions.
342 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
344 * gfilemonitor.h: Fixed typo in docs.
346 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
348 Updates to GIO documentation. (#506395, Mikael Hermansson)
350 * gcontenttype.c: Describe memory management for return value of
351 g_content_types_get_registered(). Missing piece from #505815.
352 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
353 GVolume, GDrive, GMounts, which hopefully gives the user less
354 confusions when using this API. Following explainations from
355 Alexander Larsson on gtk-devel-list.
357 2007-12-30 Matthias Clasen <mclasen@redhat.com>
359 * gfileinfo.c: Expand the long description.
361 2007-12-30 Matthias Clasen <mclasen@redhat.com>
364 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
365 fix builds with --disable-visibility. (#500273, Christian Persch)
367 2007-12-30 Matthias Clasen <mclasen@redhat.com>
369 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
370 in the list of returned app infos.
372 2007-12-30 Matthias Clasen <mclasen@redhat.com>
374 * gappinfo.c: Fix a cross-reference
376 2007-12-30 Matthias Clasen <mclasen@redhat.com>
378 * gfileinputstream.c:
379 * gfileoutputstream.c:
385 * gfileinfo.c: Documentation updates.
387 2007-12-26 Matthias Clasen <mclasen@redhat.com>
389 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
392 2007-12-26 Matthias Clasen <mclasen@redhat.com>
394 * gcontenttype.c (g_content_types_get_registered): Don't return
395 freed memory (#505815, Mikael Hermansson)
397 2007-12-25 Paolo Borelli <pborelli@katamail.com>
399 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
400 used to detect statbuf->st_blocks. (#505042)
402 2007-12-24 Matthias Clasen <mclasen@redhat.com>
404 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
405 environment handling. (#504829, Cosimo Cecchi)
407 2007-12-22 Matthias Clasen <mclasen@redhat.com>
409 * gappinfo.c: Doc improvements
411 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
414 2007-12-20 Matthias Clasen <mclasen@redhat.com>
416 * === Released 2.15.0 ===
418 2007-12-20 Hans Breuer <hans@breuer.org>
420 * makefile.msc : don't build gdesktopappinfo.obj, it collides
421 with symbols gwin32appinfo.obj, added gmount.obj
422 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
424 2007-12-20 Alexander Larsson <alexl@redhat.com>
430 * gfilenamecompleter.c:
433 * gpollfilemonitor.c:
434 File attribute renames:
437 id::fs -> id::filesystem
439 2007-12-20 Alexander Larsson <alexl@redhat.com>
448 Add GMountUnmountFlags to all unmount and
450 Add g_mount_remount() call.
452 2007-12-20 Alexander Larsson <alexl@redhat.com>
454 * gvfs.c (get_default_vfs):
455 Fix unused variable warning
457 2007-12-19 Matthias Clasen <mclasen@redhat.com>
459 * pltcheck.sh: Update
461 2007-12-19 Matthias Clasen <mclasen@redhat.com>
463 * gunionvolumemonitor.c:
464 * gunixmount.c: Remove C99 comments
466 2007-12-19 Matthias Clasen <mclasen@redhat.com>
468 * gio.symbols: Add some missing symbols
470 2007-12-19 Alexander Larsson <alexl@redhat.com>
473 Make g_io_modules_load_all_in_directory not unuse
474 loaded modules so that users of it can do stuff
476 Init internal "module" types.
477 Initialize static prio and name for types so that
478 we don't have to load modules to get it.
480 * gnativevolumemonitor.h:
482 Move is_supported to parent class so that
483 non-native monitors can avoid being initialized
484 too. (For instance GDaemonVolumeMonitor if we're
485 not using GDaemonVfs.)
487 * glocaldirectorymonitor.[ch]:
488 * glocalfilemonitor.[ch]:
489 * gunionvolumemonitor.c:
490 * gunixvolumemonitor.c:
492 Find plugins using the static prio+name to
493 avoid unnecessarily loading the modules.
495 2007-12-19 Alexander Larsson <alexl@redhat.com>
500 2007-12-19 Alexander Larsson <alexl@redhat.com>
502 * gunionvolumemonitor.c:
503 Store the native type as GType, not class so that
504 we can unload it. But still avoid unnecessarily
507 2007-12-19 David Zeuthen <davidz@redhat.com>
509 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
510 add signals 'disconnected' and 'eject-button' on GDrive. Add
511 signal 'removed' on GVolume and 'unmounted' on GMount.
513 * gdrive.c: (g_drive_base_init):
515 * gfile.c: (g_file_mount_mountable),
516 (g_file_mount_enclosing_volume):
519 * gmount.c: (g_mount_base_init):
521 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
522 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
523 * gvolume.c: (g_volume_base_init), (g_volume_mount):
527 2007-12-17 Matthias Clasen <mclasen@redhat.com>
529 * *.c: Fix up includes in the section docs.
531 2007-12-17 Alexander Larsson <alexl@redhat.com>
533 * gnativevolumemonitor.h:
534 * gunionvolumemonitor.c:
535 * gunixvolumemonitor.c:
536 Add is_supported() to GNativeVolumeMonitorClass so
537 that we can avoid having to create an object to see
538 if the backend is supported at runtime.
539 Also add name member and an env var to pick a specific
540 volume monitor backend.
544 Add cancellable to _g_mount_get_for_mount_path()
546 * glocaldirectorymonitor.c:
547 * glocalfilemonitor.c:
548 Avoid loading and unloading modules while sorting.
550 2007-12-17 Matthias Clasen <mclasen@redhat.com>
553 * gunixmounts.[hc]: Namespace waste reduction, move some
554 g_get_unix_mount functions to the g_unix_mount namespace.
557 * gunixvolumemonitor.c:
559 * glocaldirectorymonitor.c: Update all callers.
561 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
563 2007-12-17 Alexander Larsson <alexl@redhat.com>
566 Add doc comments about what GFile operations are
567 guaranteed to not block.
569 2007-12-17 Alexander Larsson <alexl@redhat.com>
572 Add missing #ifdef fixing OSX build.
573 (#503334, patch from Richard Hult)
575 2007-12-14 David Zeuthen <davidz@redhat.com>
579 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
580 (g_mount_eject), (g_mount_eject_finish):
582 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
583 (get_volume_for_uuid), (get_mount_for_uuid),
584 (g_union_volume_monitor_class_init),
585 (get_default_native_type_with_exclude), (get_default_native_type),
586 (get_native_type), (update_native_type),
587 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
588 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
589 (g_unix_mount_can_eject), (eject_unmount_cb),
590 (eject_unmount_read_error), (eject_unmount_do),
591 (g_unix_mount_unmount), (g_unix_mount_eject),
592 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
593 * gunixmounts.c: (g_unix_mount_guess_can_eject),
594 (g_unix_mount_point_guess_can_eject):
596 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
597 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
598 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
599 (g_unix_volume_mount), (g_unix_volume_eject),
600 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
601 * gunixvolumemonitor.c: (get_volume_for_uuid),
602 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
604 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
605 (g_volume_eject), (g_volume_eject_finish):
607 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
608 (g_volume_monitor_get_mount_for_uuid):
611 Provide eject() on both GMount and GVolume and utility functions
612 to guess whether a GUnixMountPoint or GUnixMountEntry should be
613 ejected. Introduce the concept of UUID's and wire it into GVolume
614 and GMount and provide API on GVolumeMonitor to find such
615 instances. Also handle the case where an external
616 GNativeVolumeMonitor fails to initialize. Lock around the
617 _g_get_mount_for_mount_path() function such that volume monitor
618 implementations won't have to do locking themselves.
620 2007-12-17 Matthias Clasen <mclasen@redhat.com>
628 * gvolume.h: Documentation updates
630 2007-12-14 Matthias Clasen <mclasen@redhat.com>
633 * gfile.h: Doc updates
635 2007-12-14 Matthias Clasen <mclasen@redhat.com>
638 * gdesktopappinfo.c: Use hash table iterators.
640 2007-12-14 Alexander Larsson <alexl@redhat.com>
643 * gfileattribute.[ch]:
644 * gfileattribute-priv.h:
645 Move GFileAttributeValue to a private header, as
649 Make set_attribute take a type + a pointer instead
650 of a GFileAttributeValue.
653 Fix up for above changes.
654 Add g_file_info_get_attribute_data to get
655 all info in one call, g_file_info_get_attribute_status
656 to get the status and g_file_info_get_attribute_as_string.
660 * glocalfileinfo.[ch]:
664 Make _guess_type static.
666 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
669 * inotify/Makefile.am: Fixed build when srcdir != builddir,
670 made mkenums and friends use temporary files to avoid leaving
671 empty generated files on failure (#503470).
673 2007-12-14 Alexander Larsson <alexl@redhat.com>
678 2007-12-14 Alexander Larsson <alexl@redhat.com>
682 * gfileattribute.[ch]:
685 * glocalfileoutputstream.c:
686 * gmountoperation.[ch]:
687 * goutputstream.[ch]:
688 Clean up all flags enums to not have _FLAGS in them
689 Make the names of some of the enums better.
694 2007-12-14 Michael Natterer <mitch@imendio.com>
696 * gio.symbols: fix g_io_scheduler symbol names.
698 2007-12-14 Alexander Larsson <alexl@redhat.com>
704 * gbufferedinputstream.h:
705 * gbufferedoutputstream.h:
708 * gdatainputstream.h:
709 * gdataoutputstream.h:
711 * gdirectorymonitor.h:
718 * gfileinputstream.h:
720 * gfilenamecompleter.h:
721 * gfileoutputstream.h:
722 * gfilterinputstream.h:
723 * gfilteroutputstream.h:
731 * gmemoryinputstream.h:
732 * gmemoryoutputstream.h:
737 * gsimpleasyncresult.h:
739 * gunixinputstream.h:
741 * gunixoutputstream.h:
745 * inotify/Makefile.am:
746 Only allow including <gio/gio.h> from apps
748 2007-12-14 Alexander Larsson <alexl@redhat.com>
751 * gsimpleasyncresult.c:
752 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
753 Split out the send_to_mainloop call into two versions instead
754 of having the block argument.
756 2007-12-13 Alexander Larsson <alexl@redhat.com>
760 * gbufferedinputstream.c:
762 * gfileinputstream.c:
763 * gfileoutputstream.c:
767 g_push/pop_current_cancellable ->
768 g_cancellable_push/pop_current
770 2007-12-13 Alexander Larsson <alexl@redhat.com>
774 Rename g_mount_for_location to g_file_mount_enclosing_volume.
776 2007-12-13 Alexander Larsson <alexl@redhat.com>
779 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
781 2007-12-12 Alexander Larsson <alexl@redhat.com>
784 Fix race condition when freeing proxy in
785 g_io_job_send_to_mainloop().
787 2007-12-12 Alexander Larsson <alexl@redhat.com>
793 Make attribute namespace separator "::" instead of ":".
794 Use - instead of _ as separator in attribute names.
796 2007-12-12 Alexander Larsson <alexl@redhat.com>
798 * gbufferedinputstream.h:
799 * gbufferedoutputstream.h:
800 * gdatainputstream.h:
801 * gdataoutputstream.h:
802 * gdirectorymonitor.h:
804 * gfileinputstream.h:
806 * gfileoutputstream.h:
807 * gfilterinputstream.h:
808 * gfilteroutputstream.h:
810 * glocalfileinputstream.h:
811 * glocalfileoutputstream.h:
812 * gmemoryinputstream.h:
813 * gmemoryoutputstream.h:
814 * gnativevolumemonitor.h:
816 * gunixinputstream.h:
817 * gunixoutputstream.h:
820 s/parent/parent_instance/ in GObjects
822 2007-12-12 Alexander Larsson <alexl@redhat.com>
827 No need for padding for interfaces
829 2007-12-12 Alexander Larsson <alexl@redhat.com>
833 * gbufferedinputstream.c:
834 * gbufferedoutputstream.c:
837 * gdatainputstream.[ch]:
839 * gdirectorymonitor.c:
841 * gfileattribute.[ch]:
844 * gfileinputstream.h:
846 * gfileoutputstream.[ch]:
847 * gfilterinputstream.h:
848 * gfilteroutputstream.h:
851 * gloadableicon.[ch]:
852 * gmemoryinputstream.c:
855 Fix up a bunch of details in the docs.
860 2007-12-11 David Zeuthen <davidz@redhat.com>
862 Rework how volumes, drives and volume monitoring is
863 done. Previosly the model was
867 where a GDrive instance represented a mount point and a GVolume
868 instance represented a mounted file system. This patch changes it
871 GDrive <1-N> GVolume <1-1> GMount
873 where GMount now serves the purpose of the old GVolume and the new
874 GVolume serves the purpose of the old GDrive. In addition the new
875 GDrive interface is used to represent a collection of GVolume
876 instances (typically partitions) and also contains utility to query
877 the state of the physical drive the GDrive object represents (such
878 as checking for media, polling the drive, ejecting the media etc.).
880 Also implement mounting and unmounting in the Unix volume monitor
881 backend. A subquent patch will introduce GDrive support for ejection
885 * gdrive.c: (g_drive_is_media_check_automatic),
886 (g_drive_is_media_removable), (g_drive_has_media),
887 (g_drive_can_poll_for_media), (g_drive_eject),
888 (g_drive_eject_finish), (g_drive_poll_for_media),
889 (g_drive_poll_for_media_finish):
891 * gfile.c: (g_file_find_enclosing_mount):
894 * glocaldirectorymonitor.c:
895 (g_local_directory_monitor_constructor), (mounts_changed):
896 * glocalfile.c: (get_mount_info),
897 (g_local_file_find_enclosing_mount),
898 (g_local_file_file_iface_init):
899 * gnativevolumemonitor.h:
900 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
901 (get_connected_drives), (g_union_volume_monitor_class_init),
902 (child_volume_added), (child_volume_removed),
903 (child_volume_changed), (child_mount_added), (child_mount_removed),
904 (child_mount_pre_unmount), (child_mount_changed),
905 (child_drive_changed), (g_union_volume_monitor_add_monitor),
906 (g_union_volume_monitor_remove_monitor),
907 (_g_mount_get_for_mount_path):
908 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
909 (guess_system_internal), (_g_get_unix_mounts),
910 (_g_get_unix_mount_points), (g_get_unix_mount_at),
911 (g_unix_mount_free), (g_unix_mount_compare),
912 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
913 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
914 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
915 (type_to_icon), (g_unix_mount_guess_name),
916 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
917 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
918 (_resolve_symlink), (_resolve_dev_root):
920 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
921 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
922 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
923 (g_unix_volume_get_name), (g_unix_volume_can_mount),
924 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
925 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
926 (g_unix_volume_mount), (g_unix_volume_mount_finish),
927 (g_unix_volume_volume_iface_init):
929 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
930 (get_mounts), (get_volumes), (get_connected_drives),
931 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
932 (mountpoints_changed), (mounts_changed),
933 (g_unix_volume_monitor_init),
934 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
935 (find_mount_by_mountpath), (update_volumes), (update_mounts):
936 * gunixvolumemonitor.h:
937 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
938 (g_volume_mount), (g_volume_mount_finish):
940 * gvolumemonitor.c: (g_volume_monitor_class_init),
941 (g_volume_monitor_get_connected_drives),
942 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
945 2007-12-10 Matthias Clasen <mclasen@redhat.com>
947 * gmountoperation.h (GPasswordFlags): Close the gap
949 2007-12-10 Matthias Clasen <mclasen@redhat.com>
951 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
953 * gdesktopappinfo.[hc]: Remove _-prefixes
955 2007-12-10 Tor Lillqvist <tml@novell.com>
957 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
960 2007-12-10 Alexander Larsson <alexl@redhat.com>
962 * gfile.c (g_file_set_display_name):
963 Don't hardcode '/' (#502727)
965 2007-12-09 Hans Breuer <hans@breuer.org>
967 * makefile.msc : follow lib naming convention
968 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
969 for user and group name, tested with ../tests/gio-ls
971 2007-12-09 A. Walton <awalton@svn.gnome.org>
984 * gmemoryinputstream.c:
985 * gmemoryoutputstream.c:
987 * gsimpleasyncresult.c:
988 More documentation cleanup and filling in missing information, bringing
989 GIO to 99% symbol coverage.
991 2007-12-08 Hans Breuer <hans@breuer.org>
993 [gio compiles and links on win32, not sure how much already works]
994 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
995 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
996 base on win32 API; prefer g_lstat() over lstat(); instead of
997 localtime_r() use an all GLib implementation on win32;
998 get_mount_info() still needs a win32 specifc implementation
999 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1000 win32_get_file_user_info to get owner/group info without uid/gid
1001 * glocalfileinputstream.c : include <io.h> on win32
1002 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1003 definition, use g_win32_ftruncate() for G_OS_WIN32
1004 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1005 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1006 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1007 * makefile.msc : updated
1009 2007-12-07 Alexander Larsson <alexl@redhat.com>
1011 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1012 Avoid warning spew if error == NULL
1014 2007-12-07 Alexander Larsson <alexl@redhat.com>
1017 Update docs wrt etags
1019 2007-12-06 Alexander Larsson <alexl@redhat.com>
1022 Include sys/types.h for dev_t (#501919)
1024 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1028 Make abicheck and pltcheck pass.
1030 2007-12-05 Alexander Larsson <alexl@redhat.com>
1033 * giomodule-priv.h: Added.
1034 * glocaldirectorymonitor.c:
1035 * glocalfilemonitor.c:
1036 * gunionvolumemonitor.c:
1038 Actually add the declaration of _g_io_modules_ensure_loaded
1040 2007-12-05 Alexander Larsson <alexl@redhat.com>
1042 * gdatainputstream.c:
1047 * glocaldirectorymonitor.c:
1048 * glocalfilemonitor.c:
1049 * gunionvolumemonitor.c:
1051 Make g_io_modules_ensure_loaded a private function and
1052 don't pass in the dirname. This means we can do magic
1053 directory finding in the win32 version.
1054 Export the actual load-modules-in-directory code so that
1055 gvfs can reuse that.
1057 2007-12-05 Alexander Larsson <alexl@redhat.com>
1059 * gbufferedinputstream.c:
1060 * gbufferedoutputstream.c:
1063 * gfileenumerator.[ch]:
1064 * gfileinputstream.c:
1065 * gfileoutputstream.[ch]:
1066 * gfilterinputstream.c:
1067 * gfilteroutputstream.c:
1068 * ginputstream.[ch]:
1070 * glocalfileenumerator.c:
1071 * glocalfileinputstream.c:
1072 * glocalfileoutputstream.c:
1073 * gmemoryinputstream.c:
1074 * gmemoryoutputstream.c:
1075 * goutputstream.[ch]:
1078 * gunixinputstream.c:
1079 * gunixoutputstream.c:
1080 Rename all struct members named:
1081 read, write, close, truncate, or mount
1082 to foo_fn, as these are reserved names
1083 and could be defined as macros in libc.
1086 2007-12-04 Alexander Larsson <alexl@redhat.com>
1089 (g_output_stream_close):
1090 Only call flush if non-null.
1092 2007-11-30 Dan Winship <danw@gnome.org>
1094 * ginputstream.c (g_input_stream_set_pending): Make this take a
1095 GError and return a gboolean, and do the "outstanding operation"
1096 check (and the "stream is already closed" check) itself.
1097 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1099 * goutputstream.c (g_output_stream_set_pending)
1100 (g_output_stream_clear_pending): Likewise
1102 * gbufferedinputstream.c:
1103 * gfileinputstream.c:
1104 * gfileoutputstream.c: Update for that
1106 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1107 Like g_simple_async_report_error_in_idle, but takes a GError
1108 rather than building one.
1110 2007-11-30 Dan Winship <danw@gnome.org>
1112 * goutputstream.c: Don't cheat and unset the "pending" flag around
1113 inner calls. Instead, call the class method directly rather than
1114 the wrapper function that checks "pending"
1116 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1118 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1120 2007-12-03 Hans Breuer <hans@breuer.org>
1122 [start of port to win32/msvc]
1123 * gcancellable.c : HAVE_UNIST_H and _pipe()
1124 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1125 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1126 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1128 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1129 * glocalvfs.c : use HAVE_PWD_H
1130 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1131 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1132 * Makefile.am : added to EXTRA_DIST
1134 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1136 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1139 2007-12-03 Alexander Larsson <alexl@redhat.com>
1142 Handle OSX style xattrs API (#500506)
1144 2007-12-03 Alexander Larsson <alexl@redhat.com>
1148 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1150 2007-12-02 A. Walton <awalton@svn.gnome.org>
1154 Documentation accuracy fixes.
1156 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1158 * gioenumtypes.c.template: Fix typo.
1160 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1162 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1164 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1166 * gdirectorymonitor.c:
1167 * gfilemonitor.c: Add properties
1169 * gbufferedoutputstream.c: Don't mark buffer-size property
1172 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1174 * gbufferedoutputstream.c: Add auto-grow property.
1176 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1178 * *.c: Unify the capitalization of section headings.
1180 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1182 * gmountoperation.c: Add properties
1184 * gdatainputstream.c: Turn byte-order and newline-type into
1187 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1189 * gioenumtypes.[hc].template: Templates for enum registration
1191 * Makefile.am: Generate gioenumtypes.[hc]
1193 * gio.h: Include gioenumtypes.h
1195 * gfile.h: Add some explicit nicks.
1197 * gio.symbols: Add new symbols
1199 * pltcheck.sh: Adjust
1201 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1203 * *.c: Explain etags and link to the explanation
1205 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1207 * *.c: Explain I/O priority.
1209 * *.c: More coding style fixes.
1211 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1213 * gasyncresult.c: Add another paragraph to the intro,
1214 adjust coding style of example.
1216 2007-11-29 A. Walton <awalton@svn.gnome.org>
1219 Fixes unknown meaning in GAppLaunchContext docs.
1221 Clarify asynchronous ops.
1223 Fix entity tag docs.
1226 Provides missing gtk-doc section, fixes API docs slighly.
1227 * gsimpleasyncresult.c:
1228 Fill in missing info in docs.
1229 * gunixinputstream.c:
1230 * gunixoutputstream.c:
1231 Be more expressive in short description.
1233 Remove gtk-doc stubs for non-public API.
1235 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1237 * *.c: Coding style fixups
1239 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1241 * inotify/inotify-helper.c: Don't export the lock from libgio.
1243 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1246 * abicheck.sh: Fix copy-and-paste leftovers
1248 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1250 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1252 2007-11-28 Alexander Larsson <alexl@redhat.com>
1256 Removed unnecessary file
1258 * gdesktopappinfo.[ch]:
1261 * glocaldirectorymonitor.[ch]:
1263 * glocalfileenumerator.[ch]:
1264 * glocalfileinputstream.[ch]:
1265 * glocalfilemonitor.[ch]:
1266 * glocalfileoutputstream.[ch]:
1268 * gnativevolumemonitor.c:
1269 * gpollfilemonitor.[ch]:
1270 * gunionvolumemonitor.[ch]:
1273 * gunixvolumemonitor.[ch]:
1276 * inotify/ginotifydirectorymonitor.[ch]:
1277 * inotify/ginotifyfilemonitor.[ch]:
1278 * inotify/inotify-helper.c:
1279 Append _ to all internal functions
1283 Export symbols needed for modules
1285 2007-11-28 Alexander Larsson <alexl@redhat.com>
1288 * abicheck.sh: Added.
1289 * makegioalias.pl: Added.
1290 * pltcheck.sh: Added.
1291 * gio.symbols: Added.
1294 Initial work on adding symbol handling.
1297 Correct ifdef guard name
1300 * inotify/Makefile.am:
1301 * xdgmime/Makefile.am:
1302 Include toplevel Makefile.decl
1304 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1306 * gcontenttype.c: Move doc comments to the unix section.
1308 * *.[hc]: More trivial doc corrections.
1310 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1312 * gpollfilemonitor.c:
1316 * gdesktopappinfo.c:
1321 * gdatainputstream.c:
1322 * gdatainputstream.h:
1323 * gdataoutputstream.c:
1324 * gdataoutputstream.h:
1325 * gfileinfo.h: Doc cleanups
1327 2007-11-28 Andre Klapper <a9016009@gmx.de>
1329 * gdesktopappinfo.c: Fix a typo.
1331 2007-11-27 Andre Klapper <a9016009@gmx.de>
1333 * glocalfileoutputstream.c: Fix a typo.
1335 2007-11-27 Alexander Larsson <alexl@redhat.com>
1338 Don't include removed headers
1340 2007-11-27 Alexander Larsson <alexl@redhat.com>
1343 * gsocketinputstream.[ch]: Removed.
1344 * gsocketoutputstream.[ch]: Removed.
1345 * gunixinputstream.[ch]: Added.
1346 * gunixoutputstream.[ch]: Added.
1347 Renamed GSocket*Stream to GUnix*Stream and made
1348 it unix-only, since its not really only for sockets
1349 and it only works on unix (but is highly useful there).
1351 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1357 * gbufferedinputstream.c:
1358 * gbufferedinputstream.h:
1359 * gbufferedoutputstream.c:
1360 * gbufferedoutputstream.h:
1364 * gdatainputstream.c:
1365 * gdatainputstream.h:
1366 * gdataoutputstream.c:
1367 * gdataoutputstream.h:
1368 * gdirectorymonitor.c:
1369 * gdirectorymonitor.h:
1376 * gfileenumerator.c:
1377 * gfileenumerator.h:
1382 * gfileinputstream.c:
1383 * gfileinputstream.h:
1386 * gfilenamecompleter.c:
1387 * gfilenamecompleter.h:
1388 * gfileoutputstream.c:
1389 * gfileoutputstream.h:
1390 * gfilterinputstream.c:
1391 * gfilterinputstream.h:
1392 * gfilteroutputstream.c:
1393 * gfilteroutputstream.h:
1406 * glocalfileoutputstream.c:
1407 * gmemoryinputstream.c:
1408 * gmemoryinputstream.h:
1409 * gmemoryoutputstream.c:
1410 * gmemoryoutputstream.h:
1411 * gmountoperation.c:
1412 * gmountoperation.h:
1415 * gpollfilemonitor.c:
1418 * gsimpleasyncresult.c:
1419 * gsimpleasyncresult.h:
1420 * gsocketinputstream.c:
1421 * gsocketinputstream.h:
1422 * gsocketoutputstream.c:
1423 * gsocketoutputstream.h:
1430 * gunixvolumemonitor.c:
1439 Bumps documentation to 93% symbol coverage, touching most
1440 of the public files. Fixes broken function documentation prototypes.
1441 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1442 gtk-doc headers in private files.
1444 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1446 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1447 (g_buffered_input_stream_read_byte):
1448 * gbufferedinputstream.h:
1449 New functions for efficient access to buffer and simple single byte
1452 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1453 (g_data_input_stream_read_until):
1454 * gdatainputstream.h:
1455 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1456 read_until with multiple stop chars.
1458 2007-11-27 Alexander Larsson <alexl@redhat.com>
1462 * inotify/Makefile.am:
1463 Use the user-specified giomoduledir
1465 2007-11-27 Alexander Larsson <alexl@redhat.com>
1469 Add catch-all gio.h header
1470 Don't install gdummyfile.h
1472 2007-11-26 Alexander Larsson <alexl@redhat.com>
1474 * Makefile.am (gioinclude_HEADERS):
1475 Remove trailing whitespace
1477 2007-11-26 Alexander Larsson <alexl@redhat.com>
1479 Merge gio-standalone into glib
1481 2007-11-25 Christian Kellner <gicmo@gnome.org>
1483 * gio/goutputstream.c:
1484 Fix small mistake in the docs.
1486 2007-11-21 Christian Persch <chpe@gnome.org>
1488 * gio/glocalfile.c: (g_local_file_trash):
1489 Convert filenames to UTF-8 for GError.
1490 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1491 as per xdg base dir spec.
1493 2007-11-21 Christian Persch <chpe@gnome.org>
1495 * gio/gdesktopappinfo.c:
1496 Use that g_key_file_to_data cannot fail.
1498 Use stock defines for the key file group and key names.
1501 2007-11-21 Alexander Larsson <alexl@redhat.com>
1504 (copy_stream_with_progress):
1505 Make sure we do a final progress callback with
1506 the full total size.
1508 2007-11-21 Alexander Larsson <alexl@redhat.com>
1511 Export g_file_copy_attributes
1512 Remove padding as its not needed for interfaces
1514 2007-11-20 Alexander Larsson <alexl@redhat.com>
1519 Add G_IO_ERROR_WOULD_MERGE for
1520 copy/move dir on dir with overwrite.
1522 2007-11-20 Alexander Larsson <alexl@redhat.com>
1525 * gio/glocalfileinfo.c:
1526 Add COPY_NAME (this is an optional
1527 non-modified utf8 version of the name) that
1530 2007-11-20 Alexander Larsson <alexl@redhat.com>
1532 * gio/glocalfileenumerator.c:
1533 Report errors as GIOError, not GFileError
1535 2007-11-16 Alexander Larsson <alexl@redhat.com>
1537 * gio/glocalfileoutputstream.c:
1538 * gio/gwin32appinfo.c:
1539 Fix typos in strings.
1540 Patch from Luca Ferretti <elle.uca@libero.it>
1542 2007-11-15 Alexander Larsson <alexl@redhat.com>
1545 Post release version bump
1547 === gio-standalone 0.1.2 ===
1549 2007-11-15 Alexander Larsson <alexl@redhat.com>
1551 * docs/reference/gio/Makefile.am:
1552 Fix up distcheck by removing weird
1558 2007-11-14 Alexander Larsson <alexl@redhat.com>
1560 * gio/gdesktopappinfo.c:
1561 * gio/glocaldirectorymonitor.c:
1563 * gio/glocalfileinfo.c:
1564 * gio/inotify/inotify-sub.c:
1565 * programs/gio-cat.c:
1566 * programs/gio-copy.c:
1567 * programs/gio-info.c:
1568 * programs/gio-ls.c:
1569 * programs/gio-monitor-dir.c:
1570 * programs/gio-monitor-file.c:
1571 * programs/gio-mount.c:
1572 * programs/gio-move.c:
1573 * programs/gio-rm.c:
1574 * programs/gio-save.c:
1575 * programs/gio-trash.c:
1576 Leak fixes from Kjartan Maraas
1578 2007-11-14 Alexander Larsson <alexl@redhat.com>
1580 * gio/fam/fam-helper.c:
1582 * gio/glocalfileinfo.c:
1586 * gio/inotify/inotify-diag.c:
1587 * gio/inotify/inotify-kernel.c:
1588 Various code cleanups from Kjartan Maraas
1590 2007-11-14 Alexander Larsson <alexl@redhat.com>
1592 * gio/gioscheduler.c:
1594 Set up threadpool so that we cache 2 unused
1595 idle threads for at 15 secs. This means we
1596 will reuse thread-local data (like dbus connections)
1599 2007-11-14 Alexander Larsson <alexl@redhat.com>
1601 * gio/fam/fam-helper.c:
1602 * gio/fam/gfamdirectorymonitor.c:
1603 * gio/fam/gfamfilemonitor.c:
1605 * gio/gcontenttype.c:
1606 * gio/gdatainputstream.c:
1607 * gio/gdataoutputstream.c:
1611 * gio/gfileattribute.h:
1612 * gio/gfileenumerator.c:
1614 * gio/ginputstream.c:
1617 * gio/glocalfileinfo.c:
1618 * gio/goutputstream.c:
1619 * gio/gpollfilemonitor.c:
1620 * gio/gsimpleasyncresult.c:
1621 * gio/gunixmounts.c:
1622 * gio/gunixmounts.h:
1623 * gio/inotify/ginotifydirectorymonitor.c:
1624 * gio/inotify/ginotifyfilemonitor.c:
1625 * gio/inotify/inotify-diag.c:
1626 * gio/inotify/inotify-kernel.c:
1627 * gio/inotify/inotify-path.c:
1629 * gio/test-streams.c:
1630 * programs/gio-info.c:
1631 * programs/gio-monitor-dir.c:
1632 * programs/gio-monitor-file.c:
1633 Various code cleanups from Kjartan Maraas
1635 2007-11-13 Alexander Larsson <alexl@redhat.com>
1638 Handle the uri-scheme calls for dummy files
1640 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1642 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1643 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1644 to avoid clash with the C++ keyword.
1646 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1648 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1649 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1651 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1653 * gio/glocaldirectorymonitor.c:
1654 * gio/glocalfilemonitor.c:
1655 * gio/gunionvolumemonitor.c:
1656 Don't use g_once_init_*() for initializations that could fail and
1657 could leave the initialization variable set to 0 but use GOnce.
1658 This prevents a deadlock on the second call when trying to create
1659 a monitor and no monitor type is available. Thanks to Sven Herzberg
1662 2007-11-11 Sven Herzberg <sven@imendio.com>
1664 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1665 #ifdef (make it work on MacOS X again)
1667 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1669 Fixes Changelog for last two commits (sorry guys).
1671 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1673 * gio/gbufferedinputstream.c:
1674 * gio/gdatainputstream.c:
1676 * gio/gfileoutputstream.c:
1677 * gio/gfilterinputstream.c:
1678 * gio/glocalfileinputstream.c:
1681 More consistency fixes in g*stream.c files.
1682 Significant clean of gfile's documentation, filling in of
1683 asynchronous operations documentation.
1685 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1687 * gio/gasyncresult.c:
1688 * gio/gbufferedinputstream.c:
1689 * gio/gbufferedoutputstream.c:
1690 * gio/gcancellable.c:
1691 * gio/gcontenttype.c:
1692 * gio/gdatainputstream.c:
1693 * gio/gdataoutputstream.c:
1694 * gio/gdesktopappinfo.c:
1697 * gio/gfileattribute.c:
1698 * gio/gio/gfileenumerator.c:
1700 * gio/gfileinputstream.c:
1701 * gio/gfilemonitor.c:
1702 * gio/gfileoutputstream.c:
1703 * gio/ginputstream.c:
1705 * gio/gioscheduler.c:
1706 * gio/gloadableicon.c:
1707 * gio/glocalfileoutputstream.c:
1708 * gio/gmemoryoutputstream.c:
1709 * gio/gmountoperation.c:
1710 * gio/goutputstream.c:
1712 * gio/gsimpleasyncresult.c:
1713 * gio/gunionvolumemonitor.c:
1714 * gio/gunixmounts.c:
1715 * gio/gunixvolume.c:
1719 * gio/gvolumemonitor.c:
1720 Updated documentation stubs, working towards consistency and
1723 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1725 * gio/gmemoryoutputstream.c:
1726 * gio/gmemoryoutputstream.h:
1727 Change g_memory_output_stream_set_free_on_close() to
1728 g_memory_output_stream_set_free_data() as this makes more sense and
1729 is more consistent with GMemoryInputStream.
1731 2007-11-07 Alexander Larsson <alexl@redhat.com>
1738 Change how we find the default vfs so that
1739 we can handle a gvfs failing to init
1741 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1743 * gio/gbufferedoutputstream.c:
1744 * gio/gdatainputstream.c:
1745 * gio/gdataoutputstream.c:
1746 * gio/gfileinputstream.c:
1747 * gio/gfileoutputstream.c:
1748 * gio/gfilterinputstream.c:
1749 * gio/gfilteroutputstream.c:
1750 * gio/ginputstream.c:
1751 * gio/gmemoryinputstream.c:
1752 * gio/gmemoryoutputstream.c:
1753 * gio/goutputstream.c:
1754 * gio/gsimpleasyncresult.c:
1755 * gio/gsocketinputstream.c:
1756 * gio/gsocketoutputstream.c:
1757 Add guards to the remaining public functions, add a TODO for
1758 an unimplemented function and remove some useless guards.
1760 2007-11-07 Alexander Larsson <alexl@redhat.com>
1763 Autoconf checks for the various types of
1764 getpwuid_r and getgrgid_r
1766 * gio/glocalfileinfo.c:
1767 Use the autoconf checks from above
1769 2007-11-07 Alexander Larsson <alexl@redhat.com>
1772 (g_local_file_query_filesystem_info):
1773 Some fixes for the statvfs case
1775 2007-11-07 Alexander Larsson <alexl@redhat.com>
1778 (g_local_file_query_filesystem_info):
1779 Pick the "best" of statfs / statvfs for the system
1780 if both are availible.
1782 2007-11-07 Alexander Larsson <alexl@redhat.com>
1784 Solaris fixes from Halton.Huo@Sun.COM:
1791 * gio/glocalfileinfo.c:
1792 Fix for solaris definition of getpwuid_r
1794 * gio/test-streams.c:
1795 Use G_GNUC_PRETTY_FUNCTION
1797 2007-11-07 Alexander Larsson <alexl@redhat.com>
1799 * gio/gdesktopappinfo.c:
1800 (update_default_list):
1801 Remove double semicolon.
1802 Patch from Jens Granseuer
1804 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1806 * docs/reference/gio/gio-sections.txt:
1807 * gio/gbufferedinputstream.c:
1808 * gio/gbufferedinputstream.h:
1809 * gio/gdatainputstream.c:
1810 * gio/gfileenumerator.c:
1811 * gio/gioscheduler.c:
1812 * gio/gunionvolumemonitor.c:
1814 * programs/gio-save.c:
1815 Fix typo: availible -> available. Unfortuntely this breaks API
1816 and ABI as g_buffered_input_stream_get_available() was renamed.
1818 * gio/gunixmounts.c:
1819 * gio/gbufferedinputstream.c:
1820 Add guards for public functions.
1822 2007-11-06 Ross Burton <ross@openedhand.com>
1824 * docs/reference/gio/Makefile.am:
1825 Fix invalid += usage which automake 1.10 doesn't like.
1827 2007-11-06 Alexander Larsson <alexl@redhat.com>
1830 (g_app_launch_context_class_init):
1833 Patch from Ross Burton
1835 2007-11-06 Alexander Larsson <alexl@redhat.com>
1838 Post release version bump
1840 === gio-standalone 0.1.1 ===
1842 2007-11-06 Alexander Larsson <alexl@redhat.com>
1845 Bump version to 0.1.1
1847 * gio/gsimpleasyncresult.c:
1848 (g_simple_async_result_set_from_error):
1849 Remove bogus g_return_if_fail
1851 2007-11-06 Alexander Larsson <alexl@redhat.com>
1854 The name is gio-standalone
1857 Add top src/builddir to includedir
1859 2007-11-06 Alexander Larsson <alexl@redhat.com>
1861 * docs/reference/gio/gio-sections.txt:
1863 * gio/gbufferedinputstream.c:
1864 * gio/gbufferedoutputstream.c:
1865 * gio/gcancellable.c:
1866 * gio/gdatainputstream.h:
1867 * gio/gdataoutputstream.c:
1868 * gio/gdataoutputstream.h:
1869 * gio/gdirectorymonitor.c:
1871 * gio/gfileattribute.c:
1872 * gio/gfileattribute.h:
1873 * gio/gfileenumerator.c:
1874 * gio/gfileenumerator.h:
1877 * gio/gfileinputstream.h:
1878 * gio/gfilemonitor.c:
1879 * gio/gfileoutputstream.h:
1880 * gio/glocalfilemonitor.h:
1881 * gio/glocalfileoutputstream.h:
1882 * gio/gmemoryinputstream.c:
1883 * gio/gmemoryoutputstream.c:
1884 * gio/gmountoperation.c:
1885 * gio/goutputstream.c:
1886 * gio/goutputstream.h:
1888 * gio/gsimpleasyncresult.c:
1889 * gio/gunixmounts.c:
1890 * gio/gunixmounts.h:
1892 * gio/inotify/inotify-helper.c:
1893 Fix gtk-doc warnings
1895 Patch from Ross Burton
1897 2007-11-06 Alexander Larsson <alexl@redhat.com>
1899 * gio/gfilenamecompleter.c:
1900 (g_filename_completer_get_completions):
1903 * gio/gunixvolume.c:
1904 Remove unused function
1906 Patches from Ross Burton
1908 2007-11-06 Alexander Larsson <alexl@redhat.com>
1913 Padding not needed for interfaces
1915 2007-11-06 Alexander Larsson <alexl@redhat.com>
1917 * gio/gfilemonitor.c:
1921 Make giotypes.h an internal file
1924 * gio/gbufferedinputstream.h:
1925 * gio/gbufferedoutputstream.h:
1926 * gio/gcancellable.h:
1927 * gio/gdatainputstream.h:
1928 * gio/gdataoutputstream.h:
1929 * gio/gdirectorymonitor.c:
1930 * gio/gdirectorymonitor.h:
1935 * gio/gfileattribute.h:
1936 * gio/gfileenumerator.h:
1941 * gio/gfilemonitor.c:
1942 * gio/gfilemonitor.h:
1943 * gio/gfilenamecompleter.c:
1944 * gio/gfilenamecompleter.h:
1945 * gio/gfilterinputstream.h:
1946 * gio/gfilteroutputstream.h:
1947 * gio/ginputstream.h:
1948 * gio/gmemoryinputstream.h:
1949 * gio/gmemoryoutputstream.h:
1950 * gio/gmountoperation.c:
1951 * gio/gmountoperation.h:
1952 * gio/gnativevolumemonitor.c:
1953 * gio/goutputstream.h:
1956 * gio/gsimpleasyncresult.c:
1957 * gio/gsimpleasyncresult.h:
1958 * gio/gsocketinputstream.h:
1959 * gio/gsocketoutputstream.h:
1960 * gio/gthemedicon.c:
1961 * gio/gthemedicon.h:
1965 * gio/gvolumemonitor.c:
1966 * gio/gvolumemonitor.h:
1967 Add padding in classes where it seems useful
1968 Don't include giotypes.h from public headers
1969 Move in Class definitions into c file where possible
1974 2007-11-06 Alexander Larsson <alexl@redhat.com>
1976 * docs/reference/gio/gio-docs.xml:
1977 Better structure for API docs
1979 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1982 * gio/gloadableicon.c:
1983 * gio/gsimpleasyncresult.c:
1984 * gio/gthemedicon.c:
1985 Add some more guards to public functions. Only files missing are now
1988 2007-11-06 Alexander Larsson <alexl@redhat.com>
1990 * docs/reference/gio/gio-docs.xml:
1991 Remove old files, add missing ones
1993 2007-11-06 Alexander Larsson <alexl@redhat.com>
1995 * docs/reference/gio/gio-sections.txt:
1998 Hide implementation classes
2000 * gio/gdriveprivate.h:
2001 * gio/gvolumeprivate.h:
2002 Remove non-existing function declarations
2004 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2007 Fix compilation warnings and add guards to the new functions.
2009 * gio/gasyncresult.c:
2011 Add guards to the public functions.
2014 Implement get_path().
2016 2007-11-06 Alexander Larsson <alexl@redhat.com>
2018 * gio/gfilenamecompleter.c:
2019 Make g_filename_completer_get_completions
2020 return char ** instead of GList for
2023 * docs/reference/gio/gio-docs.xml:
2024 * docs/reference/gio/gio-sections.txt:
2026 * gio/gasyncresult.c:
2027 * gio/gbufferedinputstream.c:
2028 * gio/gbufferedoutputstream.c:
2029 * gio/gcancellable.c:
2030 * gio/gcontenttype.c:
2031 * gio/gdatainputstream.c:
2032 * gio/gdataoutputstream.c:
2033 * gio/gdesktopappinfo.c:
2034 * gio/gdirectorymonitor.c:
2038 * gio/gfileattribute.c:
2039 * gio/gfileenumerator.c:
2042 * gio/gfileinputstream.c:
2043 * gio/gfilemonitor.c:
2044 * gio/gfilenamecompleter.c:
2045 * gio/gfilenamecompleter.h:
2046 * gio/gfileoutputstream.c:
2047 * gio/gfilterinputstream.c:
2049 * gio/ginputstream.c:
2051 * gio/gioscheduler.c:
2052 * gio/gloadableicon.c:
2053 * gio/glocaldirectorymonitor.c:
2055 * gio/glocalfileinputstream.c:
2056 * gio/glocalfilemonitor.c:
2057 * gio/glocalfileoutputstream.c:
2059 * gio/gmemoryinputstream.c:
2060 * gio/gmemoryoutputstream.c:
2061 * gio/gmountoperation.c:
2062 * gio/goutputstream.c:
2063 * gio/gpollfilemonitor.c:
2065 * gio/gsimpleasyncresult.c:
2066 * gio/gsocketinputstream.c:
2067 * gio/gsocketoutputstream.c:
2068 * gio/gthemedicon.c:
2069 * gio/gunionvolumemonitor.c:
2071 * gio/gunixmounts.c:
2072 * gio/gunixvolume.c:
2073 * gio/gunixvolumemonitor.c:
2077 * gio/gvolumemonitor.c:
2078 * gio/gwin32appinfo.c:
2079 Add (mostly stub) doc strings to public functions.
2080 Patch from Andrew Walton (awalton@gmail.com)
2082 2007-11-06 Alexander Larsson <alexl@redhat.com>
2084 * gio/gappinfo.[ch]:
2085 Added GAppLaunchContext object and pass that to launch.
2086 This allows simple implementation of both
2087 launch-on-screen and startup notification via a gtk+
2088 subclass of GAppLaunchContext
2090 * gio/gdesktopappinfo.c:
2091 Implement GAppLaunchContext API
2093 * gio/gwin32appinfo.c:
2096 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2098 * gio/gmountoperation.c:
2099 Add some guards to GMountOperation's public functions.
2101 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2105 * gio/gcancellable.c:
2106 * gio/gdirectorymonitor.c:
2108 * gio/gfileenumerator.c:
2109 * gio/gfilemonitor.c:,
2110 * gio/gfilenamecompleter.c:
2113 * gio/gioscheduler.c:
2117 * gio/gvolumemonitor.c:
2118 Add even more guards to various public functions.
2120 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2123 Add guards to the public functions of GAppInfo.
2125 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2127 * gio/gcontenttype.c:
2128 Add some more guards for public functions.
2130 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2132 * gio/fam/fam-module.c:
2133 * gio/fam/gfamdirectorymonitor.c:
2134 * gio/fam/gfamdirectorymonitor.h:
2135 * gio/fam/gfamfilemonitor.c:
2136 * gio/fam/gfamfilemonitor.h:
2137 * gio/inotify/ginotifydirectorymonitor.c:
2138 * gio/inotify/ginotifydirectorymonitor.h:
2139 * gio/inotify/ginotifyfilemonitor.c:
2140 * gio/inotify/ginotifyfilemonitor.h:
2141 Add proper copyright information and remove an unused variable
2142 in the GInotifyFileMonitor constructor.
2144 * gio/gcancellable.c:
2145 Add a guard for a public function and an assertion to prevent
2146 an undefined program state.
2148 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2150 * gio/gfileattribute.c:
2151 Don't run into an assertion if the given attribute value is NULL
2152 in g_file_attribute_value_get_*() but instead return a fallback
2153 value that makes sense in most situations. Passing them a attribute
2154 value with the wrong type will still run into an assertion.
2156 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2158 * gio/gfileattribute.c:
2160 Add even more guards to the public functions. Also fix the refcounting
2161 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2162 let g_file_info_list_attributes() filter the attributes by namespace
2163 instead of simply ignoring the namespace parameter.
2165 2007-11-03 Sven Herzberg <sven@imendio.com>
2167 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2168 (This makes gio work on MacOS X again)
2170 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2173 Build the gio subdirectory before the docs. Otherwise the build will
2176 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2177 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2178 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2179 Add guards to the public functions.
2181 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2183 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2184 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2185 to prevent a compiler warning.
2187 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2188 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2189 return something in the non-void function find_topdir_for().
2191 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2198 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2200 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2201 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2202 * gwin32appinfo.c (g_win32_app_info_launch):
2203 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2204 envp_for_startup_id, g_desktop_app_info_launch,
2205 g_desktop_app_info_launch_uris):
2207 Give an opaque 'startup_id' string instead of 'envp'.
2208 Support empty file lists for launching new windows.
2209 Fix infinite recursion bug when launching URIs.
2211 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2214 Add guard to the new g_file_get_uri_scheme() function.
2216 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2219 Convert a g_return_val_if_fail() to setting the GError instead as
2220 otherwise applications have to verify the parameter before otherwise
2221 and the parameter might come directly from the user.
2223 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2225 * gio/inotify/ginotify*.[ch]:
2226 Add missing copyright information.
2228 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2231 Add guards in the beginning of public functions to check for valid
2232 parameters and fix a bug in copy_stream_with_progress() that could've
2233 caused writing less bytes than reading.
2234 * gio/glocalfileinfo.c:
2235 Check for a NULL parameter and set the GError accordingly then.
2236 * gio/goutputstream.c:
2237 Fix the same bug as in gfile.c that could've caused writing less bytes
2238 than reading in g_output_stream_real_splice().
2240 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2243 Use the correct gvolumeprivate.h naming
2245 2007-11-01 Christian Kellner <gicmo@gnome.org>
2248 Remove leftover "$(daemon_sources)" entry.
2250 2007-11-01 Christian Kellner <gicmo@gnome.org>
2255 Add copyright information to source files.
2257 2007-11-01 Alexander Larsson <alexl@redhat.com>
2261 Add g_file_get_uri_scheme
2263 2007-11-01 Alexander Larsson <alexl@redhat.com>
2266 * gio/gdesktopappinfo.c:
2267 * gio/gwin32appinfo.c:
2268 Add g_app_info_get_default_for_uri_scheme.
2270 2007-11-01 Alexander Larsson <alexl@redhat.com>
2273 Correct filename for gdriveprivate.h
2275 2007-10-31 Alexander Larsson <alexl@redhat.com>
2278 Rename id:value to id:file
2281 * gio/glocalfileinfo.c:
2284 2007-10-31 Alexander Larsson <alexl@redhat.com>
2286 * gio/gunixvolume.c:
2288 Remove g_volume_get_platform_id, as thats not
2289 needed with the simpler union volume monitor
2291 2007-10-31 Alexander Larsson <alexl@redhat.com>
2294 * gio/guniondrive.[ch]: Removed.
2295 * gio/gunionvolume.[ch]: Removed.
2296 Remove GUnionDrive/Volume
2298 * gio/gunionvolumemonitor.c:
2299 Simplify union volume monitor, now we
2300 only have one native volume monitor and
2301 we use the actual volumes/drives from the
2302 child monitors instead of wrapping them
2304 * gio/gnativevolumemonitor.[ch]:
2305 Base class for native volume monitors.
2306 Includes priority and get_volume_for_mountpoint
2309 Add g_file_find_enclosing_volume
2312 Remove volume name fs attribute
2313 Add readonly fs attribute
2316 Implement readonly attribute
2317 remove volume name attribute
2318 Implement find_enclosing volume
2320 * gio/gunixmounts.c:
2321 Add a volume for "/".
2323 * gio/gunixvolume.[ch]:
2324 Set better name for /
2326 * gio/gunixvolumemonitor.[ch]:
2327 Derive from GNativeVolumeMonitor
2328 Implement get_volume_for_mountpoint
2331 GVolume typedef moved to gfile.h
2333 * gio/gvolumeprivate.h:
2334 Add g_volume_get_for_mount_path
2336 2007-10-31 Alexander Larsson <alexl@redhat.com>
2338 * gio/gunixmounts.[ch]:
2339 Add cache info to unix mount listers
2340 Make getmntent use threadsafe
2341 Add is_system_internal attribute for GUnixMount
2343 * gio/gunixvolume.c:
2344 (g_unix_volume_new):
2345 Use is_system_internal instead of own code
2347 * gio/glocaldirectorymonitor.c:
2348 * gio/gunixvolumemonitor.c:
2349 Update to new gunixmounts API
2354 2007-10-30 Alexander Larsson <alexl@redhat.com>
2357 Add volume name fsinfo attribute
2360 Read volume name info
2362 * gio/gunionvolumemonitor.c:
2363 Fix infinite loops when finalizing a union volume monitor
2365 2007-10-30 Alexander Larsson <alexl@redhat.com>
2367 * gio/goutputstream.[ch]:
2368 Add splice() with default implementation
2370 * gio/gsocketoutputstream.c:
2371 (g_socket_output_stream_write):
2372 Return error on cancellation correctly.
2374 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2376 * gio/glocalfile.c (g_local_file_trash):
2377 Do not leak a string.
2379 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2381 * gio/gfile.c (g_file_load_contents):
2382 Unref the stream after closing it.
2384 2007-10-25 Alexander Larsson <alexl@redhat.com>
2386 * gio/gioscheduler.h:
2389 2007-10-25 Alexander Larsson <alexl@redhat.com>
2393 Add g_file_has_uri_scheme and implement for local files
2395 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2397 * gio/gdesktopappinfo.c: do not leak a string.
2399 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2401 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2402 (g_local_directory_monitor_new):
2403 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2404 (g_local_file_monitor_new):
2405 Only look for the monitor type that should be used the first time
2406 and use g_qsort_with_data() instead of our own bubble sort
2409 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2412 * gio/fam/Makefile.am:
2413 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2414 * gio/fam/fam-helper.h:
2415 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2416 * gio/fam/gfamdirectorymonitor.c:
2417 * gio/fam/gfamdirectorymonitor.h:
2418 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2419 * gio/fam/gfamfilemonitor.h:
2420 * gio/glocaldirectorymonitor.c:
2421 * gio/glocaldirectorymonitor.h:
2422 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2423 * gio/glocalfilemonitor.h:
2424 * gio/inotify/Makefile.am:
2425 * gio/inotify/ginotifydirectorymonitor.c:
2426 * gio/inotify/ginotifydirectorymonitor.h:
2427 * gio/inotify/ginotifyfilemonitor.c:
2428 * gio/inotify/ginotifyfilemonitor.h:
2429 Implement the FAM and Inotify monitors as
2430 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2431 their own GIO module. GLocal(Directory|File)Monitor will use the
2432 monitor with the highest rank that is supported on that machine.
2434 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2437 Change GIO module dir to $(libdir)/gio/modules and change
2438 the log domain from GVFS to GIO. Also only export symbols starting
2439 with g_ in the resulting library.
2440 * gio/test-streams.c: (main):
2441 Set log handler for the GIO log domain.
2443 2007-10-22 Alexander Larsson <alexl@redhat.com>
2445 * gio/gfilenamecompleter.[ch]:
2446 Add g_filename_completer_set_dirs_only
2448 2007-10-22 Alexander Larsson <alexl@redhat.com>
2451 * gio/gurifuncs.[ch]:
2452 Add some simple URI helpers
2454 * gio/gfilenamecompleter.[ch]:
2455 Added object for filename (parse name actually) completion
2458 Handle ~ in parse names
2460 2007-10-17 Alexander Larsson <alexl@redhat.com>
2463 * gio/glocalfileinfo.c:
2464 Add and implement id:value attribute
2466 2007-10-17 Alexander Larsson <alexl@redhat.com>
2469 * gio/guniondrive.c:
2471 Add and implement g_drive_has_volumes
2473 2007-10-17 Alexander Larsson <alexl@redhat.com>
2476 * gio/glocalfileinfo.[ch]:
2477 Add unix:is_mountpoint and implement for local files
2479 2007-10-16 Alexander Larsson <alexl@redhat.com>
2481 * gio/gunionvolumemonitor.c:
2482 (g_union_volume_monitor_init):
2483 Fix up the unix type getting so that it works with gcc
2485 2007-10-12 Alexander Larsson <alexl@redhat.com>
2488 * gio/glocalfileinfo.c:
2489 Add thumbnail:failed to file info
2491 2007-10-12 Richard Hult <richard@imendio.com>
2493 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2494 optimizing away the get_type call (happens with some gcc versions,
2495 like the one shipped with OS X 10.4).
2497 2007-10-12 Alexander Larsson <alexl@redhat.com>
2499 * gio/glocalfileinfo.c:
2500 (_g_local_file_info_set_attribute):
2501 Fix build if not HAVE_XATTR
2502 Patch from Milosz Derezynski <internalerror@gmail.com>
2504 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2506 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2507 around for review, otherwise I would have asked you before
2510 2007-10-11 Alexander Larsson <alexl@redhat.com>
2513 Add thumbnail:path attribute
2515 * gio/glocalfileinfo.c:
2516 Implement thumbnail:path for local files
2518 2007-10-11 Alexander Larsson <alexl@redhat.com>
2520 * gio/glocalfileinfo.c:
2521 (_g_local_file_info_get):
2522 Avoid duplicate icon names
2524 2007-10-11 Alexander Larsson <alexl@redhat.com>
2526 * gio/gthemedicon.[ch]:
2527 Change g_themed_icon_get_names return type to const
2529 2007-10-10 Alexander Larsson <alexl@redhat.com>
2531 * gio/glocalfileinfo.c:
2532 Don't reference freed memory
2534 2007-10-10 Alexander Larsson <alexl@redhat.com>
2536 * gio/gfileattribute.c:
2539 * gio/glocalfileinfo.c:
2542 2007-10-10 Alexander Larsson <alexl@redhat.com>
2545 Check for NULL icons
2547 * gio/gfileattribute.c:
2548 Don't dup when getting objects (same as for string attributes)
2550 * gio/gicon.c (g_icon_equal):
2551 Safely handle NULLs in equal
2553 2007-10-10 Alexander Larsson <alexl@redhat.com>
2556 Fix c++ compilation issues
2557 Patch from Milosz Derezynski <internalerror@gmail.com>
2559 2007-10-10 Alexander Larsson <alexl@redhat.com>
2561 * programs/gio-monitor-dir.c:
2562 Don't crash if dir monitor not supported.
2564 2007-10-09 Alexander Larsson <alexl@redhat.com>
2567 Add missing G_END_DECLS
2569 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2571 * gio/gfile.c: (g_file_set_display_name),
2572 (g_file_query_settable_attributes),
2573 (g_file_query_writable_namespaces):
2574 Return NULL not FALSE on errors as the return type is a pointer.
2576 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2578 * gio/glocalfile.c: (g_local_file_monitor_file):
2579 Don't call monitor_file on the default interface vtable (which
2580 is NULL) but simply return NULL. The caller, GFile, will create a
2581 polling monitor if NULL is returned.
2583 2007-10-09 Alexander Larsson <alexl@redhat.com>
2587 * gio-unix-2.0.pc.in:
2588 Add gio-unix-2.0.pc if OS_UNIX
2591 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2593 2007-10-09 Alexander Larsson <alexl@redhat.com>
2595 * gio/gunixmounts.[ch]:
2596 Make unix mount monitoring API sane.
2597 Now its just a object with mounts_changed
2598 and mountpoints_changed signals.
2600 * gio/glocaldirectorymonitor.c:
2601 * gio/gunixvolumemonitor.c:
2602 Use new mount monitor api
2604 2007-10-09 Alexander Larsson <alexl@redhat.com>
2606 * gio/gunixmounts.[ch]:
2607 Move guess type into one call for mounts and one for mountpoints
2610 * gio/gunixvolume.c:
2613 2007-10-09 Alexander Larsson <alexl@redhat.com>
2615 * gio/gunixmounts.[ch]:
2616 Remove _ prefix in preparation to make this semi-public
2617 Hide implementation of structs
2619 * gio/glocaldirectorymonitor.c:
2621 * gio/gunixvolume.c:
2622 * gio/gunixvolumemonitor.c:
2623 Update for above API changes
2625 2007-10-08 Alexander Larsson <alexl@redhat.com>
2628 Better polling fallback. This also handles the case where we have
2629 a monitor_file implementation, but it fails.
2631 2007-10-08 Alexander Larsson <alexl@redhat.com>
2635 * gio/gunixmounts.c:
2636 * programs/gio-monitor-dir.c:
2637 * programs/gio-monitor-file.c:
2638 Added cancellable to file monitoring calls.
2639 These are really sync calls and need this.
2641 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2643 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2644 (g_local_vfs_class_init):
2645 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2646 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2648 2007-10-05 Alexander Larsson <alexl@redhat.com>
2650 * gio/gdirectorymonitorprivate.h:
2651 * gio/gfilemonitorprivate.h:
2652 * gio/gdirectorymonitor.h:
2653 * gio/gfilemonitor.h:
2654 Remove *private.h and move to the public API, so that
2655 we can do implementations outside gio (such as in gvfs)
2657 * gio/gdirectorymonitor.c:
2658 * gio/gfilemonitor.c:
2659 * gio/glocaldirectorymonitor.c:
2660 * gio/gpollfilemonitor.c:
2661 * gio/inotify/inotify-helper.c:
2662 * gio/fam/fam-helper.c:
2663 Update to the new header names
2665 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2667 * gio/gdirectorymonitor.c:
2668 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2671 2007-10-04 Alexander Larsson <alexl@redhat.com>
2673 * gio/glocalfileinfo.c (get_access_rights):
2674 Set CAN_TRASH when we can move the file.
2675 We should really also check for a parent trash dir.
2677 2007-10-04 Alexander Larsson <alexl@redhat.com>
2679 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2680 Add can_trash access attribute
2682 2007-10-04 Alexander Larsson <alexl@redhat.com>
2685 (g_local_file_trash):
2686 Create info file first. This is per-spec and allows
2687 us to actually trash directories.
2689 2007-10-02 Alexander Larsson <alexl@redhat.com>
2691 * gio/gdesktopappinfo.c:
2692 Implement the new mime support code.
2693 Always set app as handling mimetype when being set as default for it
2695 2007-10-01 Alexander Larsson <alexl@redhat.com>
2697 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2698 Fix up check for xattrs:
2700 2007-10-01 Alexander Larsson <alexl@redhat.com>
2703 (g_app_info_set_as_default_for_extension):
2704 (g_app_info_add_supports_type):
2705 (g_app_info_can_remove_supports_type):
2706 (g_app_info_remove_supports_type):
2707 Make these fail nicely if not implemented
2709 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2711 * gio/glocalfileoutputstream.c:
2712 * gio/glocalfileoutputstream.h:
2717 * programs/gio-save.c:
2718 Add a GFileCreateFlags argument to operations that can create
2721 2007-10-01 Alexander Larsson <alexl@redhat.com>
2723 * gio/gappinfo.[ch]:
2724 * gio/gdesktopappinfo.c:
2725 Add more (stubbed out) mime API needed for nautilus
2727 2007-10-01 Alexander Larsson <alexl@redhat.com>
2730 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2731 Add g_app_info_set_as_default_for_extension.
2733 * gio/gdesktopappinfo.c:
2734 Dummy for g_app_info_set_as_default_for_extension
2735 Support flags in g_app_info_create_from_commandline
2737 * gio/gwin32appinfo.c:
2739 Update for API changes
2741 * gio/gthemedicon.c:
2742 Properly NULL-terminate list of icon names
2744 2007-09-28 Alexander Larsson <alexl@redhat.com>
2746 * gio/gloadableicon.h:
2747 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2749 2007-09-28 Alexander Larsson <alexl@redhat.com>
2752 Install headers in $includedir/gio-standalone/
2754 * gio-2.0.pc.in: Added.
2755 * gio-standalone.pc.in: Removed.
2758 Renamed pkg-config file to match glib (for future move)
2759 Update to the new include dir
2762 Add more TODO comments
2764 2007-09-28 Alexander Larsson <alexl@redhat.com>
2766 * gio/gdesktopappinfo.[ch]:
2767 Expose new_from_filename
2768 Add getter for is_hidden and handle it better
2770 2007-09-28 Alexander Larsson <alexl@redhat.com>
2772 * gio/gfileinfo.[ch]:
2773 Rename g_file_size_format_for_display to
2774 g_format_file_size_for_display.
2775 Now it doesn't have the g_file prefix, so we
2776 can later move it to glib.
2778 2007-09-28 Alexander Larsson <alexl@redhat.com>
2780 * gio/gappinfo.[ch]:
2781 Add g_app_info_get_id and g_app_info_get_executable.
2782 Make all getters non-reffing
2783 Make g_app_info_launch take GFile arguments.
2784 Add must_support_uris argument to g_app_info_get_default_for_type.
2786 * gio/gwin32appinfo.c:
2787 Update to GAppInfo api changes
2789 * gio/gdesktopappinfo.c:
2790 Update to GAppInfo api changes
2791 Implement supports_xdg_startup_notify
2793 * gio/gfileicon.c (g_file_icon_get_file):
2794 Make getter non-reffing.
2799 2007-09-27 Alexander Larsson <alexl@redhat.com>
2801 * gio/gfileinfo.[ch]:
2802 Add g_file_size_format_for_display helper
2804 2007-09-27 Alexander Larsson <alexl@redhat.com>
2806 * gio/glocalfileinfo.c:
2807 Set UNIX_GID from gid, not from uid
2809 2007-09-27 Alexander Larsson <alexl@redhat.com>
2812 Add g_file_set_attributes_async
2814 2007-09-27 Alexander Larsson <alexl@redhat.com>
2816 * gio/glocalfile.c (g_local_file_set_display_name):
2817 Fix set_display_name to actually rename to the right place.
2818 Use lstat to look for existing files so we don't overwrite
2821 2007-09-26 Alexander Larsson <alexl@redhat.com>
2824 Add g_file_set_display_name_async()
2826 2007-09-26 Alexander Larsson <alexl@redhat.com>
2829 Add load_partial_contents async calls
2832 Make internal function static
2834 2007-09-26 Alexander Larsson <alexl@redhat.com>
2836 * gio/glocalfileinfo.c:
2837 Correctly detect broken symlinks
2839 2007-09-26 Alexander Larsson <alexl@redhat.com>
2841 * gio/gcancellable.c (g_cancellable_cancel):
2842 Allow cancel on NULL cancellable
2844 2007-09-25 Alexander Larsson <alexl@redhat.com>
2846 * gio/gsimpleasyncresult.c:
2847 Don't allocate g_error manually.
2848 Fixes g_slice/g_new mixup crash
2850 2007-09-25 Alexander Larsson <alexl@redhat.com>
2852 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2853 Actually set active_backend.
2854 This means the monitor will be cancelled correctly.
2856 2007-09-25 Alexander Larsson <alexl@redhat.com>
2858 * gio/gdirectorymonitor.c:
2859 Set timeout to NULL when destroying
2861 2007-09-25 Alexander Larsson <alexl@redhat.com>
2864 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2865 that is a better description of the error.
2867 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2869 * gio/gvfs.c: (g_vfs_get_local):
2870 Make the local vfs variable static. The same instance should
2873 2007-09-24 Alexander Larsson <alexl@redhat.com>
2875 * gio/glocalfileinfo.c:
2876 Pass in actual length read into sniffer, not the length
2879 2007-09-21 Alexander Larsson <alexl@redhat.com>
2881 * gio/gfileenumerator.c:
2884 * gio/gfileinputstream.c:
2885 * gio/gfileoutputstream.c:
2886 * gio/ginputstream.c:
2887 * gio/goutputstream.c:
2888 Don't crash if async callbacks are NULL
2890 2007-09-20 Alexander Larsson <alexl@redhat.com>
2893 Add async enumerate_children method and default
2896 2007-09-20 Alexander Larsson <alexl@redhat.com>
2899 Add g_file_contains_file & g_file_get_relative_path, since they
2900 were needed for nautilus.
2901 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2906 Implement new methods
2908 2007-09-17 Alexander Larsson <alexl@redhat.com>
2911 * gio/gfileinputstream.[ch]:
2912 * gio/gfileoutputstream.[ch]:
2914 * gio/glocalfileenumerator.[ch]:
2915 * gio/glocalfileinfo.[ch]:
2916 * gio/glocalfileinputstream.c:
2917 * gio/glocalfileoutputstream.c:
2918 * gio/gpollfilemonitor.c:
2919 * programs/gio-copy.c:
2920 * programs/gio-info.c:
2921 * programs/gio-move.c:
2922 Rename get_file_info to query_info() to make it clearer
2923 that these are not simple getters, but do i/o.
2925 2007-09-17 Alexander Larsson <alexl@redhat.com>
2927 * gio/gdatainputstream.[ch]:
2928 * gio/test-streams.c:
2929 Use _read_XXX instead of _get_XXX for the i/o calls
2932 2007-09-17 Alexander Larsson <alexl@redhat.com>
2935 Added needed stuff to TODO comment
2937 2007-09-17 Alexander Larsson <alexl@redhat.com>
2939 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2940 Don't error out removing the backup copy if it doesn't
2943 2007-09-14 Alexander Larsson <alexl@redhat.com>
2945 * programs/Makefile.am:
2946 * programs/gvfs-*.c:
2948 Renamed apps from gvfs-xxx to gio-xxx.
2950 2007-09-14 Alexander Larsson <alexl@redhat.com>
2953 * gio/gfileoutputstream.[ch]:
2954 * gio/glocalfileoutputstream.c:
2955 * programs/gvfs-save.c:
2956 g_file_output_stream_get_etag doesn't do i/o, so remove
2957 cancellation and error.
2959 2007-09-14 Alexander Larsson <alexl@redhat.com>
2962 Add new_etag output to replace_contents functions
2964 2007-09-14 Alexander Larsson <alexl@redhat.com>
2966 * gio/gfileoutputstream.[ch]:
2967 Add async get_file_info and default implementation
2969 2007-09-14 Alexander Larsson <alexl@redhat.com>
2971 * gio/gfileinputstream.c:
2972 Implement fallback wrapper for async get_file_info
2974 2007-09-14 Alexander Larsson <alexl@redhat.com>
2977 Add etag out argument to load_contents
2982 2007-09-14 Alexander Larsson <alexl@redhat.com>
2984 * gio/gcontenttype.c (looks_like_text):
2985 Whitespace like tab, cr and lf do not make the
2988 2007-09-14 Alexander Larsson <alexl@redhat.com>
2990 * gio/gfileinputstream.[ch]:
2991 Add async get_file_info.
2993 2007-09-13 Alexander Larsson <alexl@redhat.com>
2995 * gio/goutputstream.c (g_output_stream_write_all):
2996 Allow NULL for bytes_written
2998 2007-09-13 Alexander Larsson <alexl@redhat.com>
3000 * gio/gmemoryinputstream.[ch]:
3001 Add accessors for data
3003 2007-09-13 Alexander Larsson <alexl@redhat.com>
3005 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3006 Don't crash if length is NULL