1 2008-01-14 Alexander Larsson <alexl@redhat.com>
5 Handle root correctly in g_file_get_relative_path (#508719)
7 2008-01-14 Alexander Larsson <alexl@redhat.com>
10 Clean up docs and example for GAsyncResult (#508074)
12 2008-01-11 Murray Cumming <murrayc@murrayc.com>
14 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
15 and correct some spelling mistakes. Bug #508108.
17 2008-01-11 Matthias Clasen <mclasen@redhat.com>
19 * glocalfileinfo.c: Add a comment.
21 2008-01-10 Murray Cumming <murrayc@murrayc.com>
23 * gfileinfo.c: GFileInfo description: Mention
24 how to actually set attributes in a GFile and how to discover
25 which attributes are settable. Bug #508378.
27 2008-01-10 A. Walton <awalton@svn.gnome.org>
29 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
30 (g_app_info_get_default_for_type):
31 Check for NULL content types.
33 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
35 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
37 2008-01-09 Murray Cumming <murrayc@murrayc.com>
39 * gfile.c: *_async() functions: Several small corrections
40 to the documentation, mostly correcting copy/paste errors
41 and improving some sentences.
43 2008-01-09 Dan Winship <danw@gnome.org>
45 * glocalfile.c (get_unique_filename): x86_64 fix
47 2008-01-09 Alexander Larsson <alexl@redhat.com>
52 Add g_unix_mount_guess_should_display and use
53 for unix volume monitor backend.
54 This means we more or less show what the
55 gnome-vfs backend did.
56 Based on patch from Padraig O'Briain
58 2008-01-09 Alexander Larsson <alexl@redhat.com>
62 Add g_themed_icon_new_with_default_fallbacks
65 Use default fallbacks for icons
67 2008-01-09 Alexander Larsson <alexl@redhat.com>
70 * gmountoperation.[ch]:
71 Change the API a bit so that unhandled methods
72 get reported via the reply, rather than by
73 the signal emission return value. This is because
74 some handlers can't know this immediately without
75 doing I/O, and this is an async operation that
78 2008-01-09 Alexander Larsson <alexl@redhat.com>
81 * fam/gfamdirectorymonitor.c:
82 * fam/gfamfilemonitor.c:
83 Fix double free crash (#508224)
84 Patch from Joe Marcus Clarke
86 008-01-07 Matthias Clasen <mclasen@redhat.com>
88 * === Released 2.15.1 ===
90 2008-01-07 Alexander Larsson <alexl@redhat.com>
92 * gunixinputstream.c (g_unix_input_stream_skip_finish):
95 2008-01-07 Alexander Larsson <alexl@redhat.com>
98 Pass --internal to glib-genmarshal
103 Use better types for signal arguments (#507822)
105 2008-01-07 Alexander Larsson <alexl@redhat.com>
108 Build test subdir after .
109 Remove gdirectorymonitor.[ch]
111 * gdirectorymonitor.[ch]:
115 Remove GDirectoryMonitor and make
116 GFileMonitor the baseclass for both file and
117 directory monitors. Lift the more generic
118 rate limiting code from GDirectoryMonitor
122 * fam/gfamdirectorymonitor.[ch]:
123 * inotify/ginotifydirectorymonitor.[ch]:
124 * inotify/inotify-helper.c:
125 * glocaldirectorymonitor.[ch]:
128 Update for the removed GDirectoryMonitor.
130 * gmemoryoutputstream.c:
131 Remove ununsed variable
133 2008-01-07 Alexander Larsson <alexl@redhat.com>
135 * gmemoryinputstream.c:
136 Translate error strings
139 * gmemoryoutputstream.[ch]:
140 New implementation that avoids using GByteArray
141 in implementation and API. (#506377)
143 2008-01-06 Matthias Clasen <mclasen@redhat.com>
145 * tests/*: Add a test for memory input streams.
147 * Makefile.am: Add tests to SUBDIRS.
149 2008-01-06 Matthias Clasen <mclasen@redhat.com>
151 * glocalfilemonitor.c:
152 * glocaldirectorymonitor.c: Mark property nicks and blurbs
155 2008-01-06 Matthias Clasen <mclasen@redhat.com>
157 * gdesktopappinfo.c: Fix a docs typo.
159 * gfileattribute.c: Add information about extended attributes
160 to the documentation. (#505058)
162 2008-01-04 Alexander Larsson <alexl@redhat.com>
166 Use the right type (uint) for the ask_password signal.
168 2008-01-04 Alexander Larsson <alexl@redhat.com>
173 Add g_app_info_supports_files()
174 Remove desktop arg from g_app_info_should_show().
176 * gdesktopappinfo.[ch]:
177 Implement g_app_info_supports_files() and new should_show()
178 Add g_desktop_app_info_set_desktop_env() to set the desktop
179 for should_show(). (This will be set by gtk+ later)
181 2008-01-04 Alexander Larsson <alexl@redhat.com>
184 * gmemoryinputstream.[ch]:
185 Improve API so that you can use multiple chunks
186 of memory and custom destroy functions. (#506374)
188 2008-01-03 Alexander Larsson <alexl@redhat.com>
191 Handle NULL attribute matchers safely, as we return this
192 for empty attribute matcher strings.
194 2008-01-03 Alexander Larsson <alexl@redhat.com>
196 * gunixmounts.c (g_unix_is_mount_path_system_internal):
197 Add /usr/local to list of internal mountpoints
199 2008-01-03 Alexander Larsson <alexl@redhat.com>
202 Check for HAVE_LCHOWN (#505887)
204 2008-01-03 Alexander Larsson <alexl@redhat.com>
208 Add define for selinux context attribute.
209 Fix missing : -> :: namespace separator change
210 Fix missing _ -> - name change for xattr-sys.
213 2008-01-03 Alexander Larsson <alexl@redhat.com>
216 Link to libglib and libgobject directly (#504879)
217 Patch from Sebastien Bacher
219 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
221 * gfile.c: Expanded the g_file_new_for_commandline_arg
222 description a bit, based on the code and the docs of the
223 other g_file_new_for_* functions.
225 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
227 * gfilemonitor.h: Fixed typo in docs.
229 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
231 Updates to GIO documentation. (#506395, Mikael Hermansson)
233 * gcontenttype.c: Describe memory management for return value of
234 g_content_types_get_registered(). Missing piece from #505815.
235 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
236 GVolume, GDrive, GMounts, which hopefully gives the user less
237 confusions when using this API. Following explainations from
238 Alexander Larsson on gtk-devel-list.
240 2007-12-30 Matthias Clasen <mclasen@redhat.com>
242 * gfileinfo.c: Expand the long description.
244 2007-12-30 Matthias Clasen <mclasen@redhat.com>
247 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
248 fix builds with --disable-visibility. (#500273, Christian Persch)
250 2007-12-30 Matthias Clasen <mclasen@redhat.com>
252 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
253 in the list of returned app infos.
255 2007-12-30 Matthias Clasen <mclasen@redhat.com>
257 * gappinfo.c: Fix a cross-reference
259 2007-12-30 Matthias Clasen <mclasen@redhat.com>
261 * gfileinputstream.c:
262 * gfileoutputstream.c:
268 * gfileinfo.c: Documentation updates.
270 2007-12-26 Matthias Clasen <mclasen@redhat.com>
272 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
275 2007-12-26 Matthias Clasen <mclasen@redhat.com>
277 * gcontenttype.c (g_content_types_get_registered): Don't return
278 freed memory (#505815, Mikael Hermansson)
280 2007-12-25 Paolo Borelli <pborelli@katamail.com>
282 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
283 used to detect statbuf->st_blocks. (#505042)
285 2007-12-24 Matthias Clasen <mclasen@redhat.com>
287 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
288 environment handling. (#504829, Cosimo Cecchi)
290 2007-12-22 Matthias Clasen <mclasen@redhat.com>
292 * gappinfo.c: Doc improvements
294 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
297 2007-12-20 Matthias Clasen <mclasen@redhat.com>
299 * === Released 2.15.0 ===
301 2007-12-20 Hans Breuer <hans@breuer.org>
303 * makefile.msc : don't build gdesktopappinfo.obj, it collides
304 with symbols gwin32appinfo.obj, added gmount.obj
305 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
307 2007-12-20 Alexander Larsson <alexl@redhat.com>
313 * gfilenamecompleter.c:
316 * gpollfilemonitor.c:
317 File attribute renames:
320 id::fs -> id::filesystem
322 2007-12-20 Alexander Larsson <alexl@redhat.com>
331 Add GMountUnmountFlags to all unmount and
333 Add g_mount_remount() call.
335 2007-12-20 Alexander Larsson <alexl@redhat.com>
337 * gvfs.c (get_default_vfs):
338 Fix unused variable warning
340 2007-12-19 Matthias Clasen <mclasen@redhat.com>
342 * pltcheck.sh: Update
344 2007-12-19 Matthias Clasen <mclasen@redhat.com>
346 * gunionvolumemonitor.c:
347 * gunixmount.c: Remove C99 comments
349 2007-12-19 Matthias Clasen <mclasen@redhat.com>
351 * gio.symbols: Add some missing symbols
353 2007-12-19 Alexander Larsson <alexl@redhat.com>
356 Make g_io_modules_load_all_in_directory not unuse
357 loaded modules so that users of it can do stuff
359 Init internal "module" types.
360 Initialize static prio and name for types so that
361 we don't have to load modules to get it.
363 * gnativevolumemonitor.h:
365 Move is_supported to parent class so that
366 non-native monitors can avoid being initialized
367 too. (For instance GDaemonVolumeMonitor if we're
368 not using GDaemonVfs.)
370 * glocaldirectorymonitor.[ch]:
371 * glocalfilemonitor.[ch]:
372 * gunionvolumemonitor.c:
373 * gunixvolumemonitor.c:
375 Find plugins using the static prio+name to
376 avoid unnecessarily loading the modules.
378 2007-12-19 Alexander Larsson <alexl@redhat.com>
383 2007-12-19 Alexander Larsson <alexl@redhat.com>
385 * gunionvolumemonitor.c:
386 Store the native type as GType, not class so that
387 we can unload it. But still avoid unnecessarily
390 2007-12-19 David Zeuthen <davidz@redhat.com>
392 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
393 add signals 'disconnected' and 'eject-button' on GDrive. Add
394 signal 'removed' on GVolume and 'unmounted' on GMount.
396 * gdrive.c: (g_drive_base_init):
398 * gfile.c: (g_file_mount_mountable),
399 (g_file_mount_enclosing_volume):
402 * gmount.c: (g_mount_base_init):
404 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
405 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
406 * gvolume.c: (g_volume_base_init), (g_volume_mount):
410 2007-12-17 Matthias Clasen <mclasen@redhat.com>
412 * *.c: Fix up includes in the section docs.
414 2007-12-17 Alexander Larsson <alexl@redhat.com>
416 * gnativevolumemonitor.h:
417 * gunionvolumemonitor.c:
418 * gunixvolumemonitor.c:
419 Add is_supported() to GNativeVolumeMonitorClass so
420 that we can avoid having to create an object to see
421 if the backend is supported at runtime.
422 Also add name member and an env var to pick a specific
423 volume monitor backend.
427 Add cancellable to _g_mount_get_for_mount_path()
429 * glocaldirectorymonitor.c:
430 * glocalfilemonitor.c:
431 Avoid loading and unloading modules while sorting.
433 2007-12-17 Matthias Clasen <mclasen@redhat.com>
436 * gunixmounts.[hc]: Namespace waste reduction, move some
437 g_get_unix_mount functions to the g_unix_mount namespace.
440 * gunixvolumemonitor.c:
442 * glocaldirectorymonitor.c: Update all callers.
444 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
446 2007-12-17 Alexander Larsson <alexl@redhat.com>
449 Add doc comments about what GFile operations are
450 guaranteed to not block.
452 2007-12-17 Alexander Larsson <alexl@redhat.com>
455 Add missing #ifdef fixing OSX build.
456 (#503334, patch from Richard Hult)
458 2007-12-14 David Zeuthen <davidz@redhat.com>
462 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
463 (g_mount_eject), (g_mount_eject_finish):
465 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
466 (get_volume_for_uuid), (get_mount_for_uuid),
467 (g_union_volume_monitor_class_init),
468 (get_default_native_type_with_exclude), (get_default_native_type),
469 (get_native_type), (update_native_type),
470 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
471 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
472 (g_unix_mount_can_eject), (eject_unmount_cb),
473 (eject_unmount_read_error), (eject_unmount_do),
474 (g_unix_mount_unmount), (g_unix_mount_eject),
475 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
476 * gunixmounts.c: (g_unix_mount_guess_can_eject),
477 (g_unix_mount_point_guess_can_eject):
479 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
480 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
481 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
482 (g_unix_volume_mount), (g_unix_volume_eject),
483 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
484 * gunixvolumemonitor.c: (get_volume_for_uuid),
485 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
487 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
488 (g_volume_eject), (g_volume_eject_finish):
490 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
491 (g_volume_monitor_get_mount_for_uuid):
494 Provide eject() on both GMount and GVolume and utility functions
495 to guess whether a GUnixMountPoint or GUnixMountEntry should be
496 ejected. Introduce the concept of UUID's and wire it into GVolume
497 and GMount and provide API on GVolumeMonitor to find such
498 instances. Also handle the case where an external
499 GNativeVolumeMonitor fails to initialize. Lock around the
500 _g_get_mount_for_mount_path() function such that volume monitor
501 implementations won't have to do locking themselves.
503 2007-12-17 Matthias Clasen <mclasen@redhat.com>
511 * gvolume.h: Documentation updates
513 2007-12-14 Matthias Clasen <mclasen@redhat.com>
516 * gfile.h: Doc updates
518 2007-12-14 Matthias Clasen <mclasen@redhat.com>
521 * gdesktopappinfo.c: Use hash table iterators.
523 2007-12-14 Alexander Larsson <alexl@redhat.com>
526 * gfileattribute.[ch]:
527 * gfileattribute-priv.h:
528 Move GFileAttributeValue to a private header, as
532 Make set_attribute take a type + a pointer instead
533 of a GFileAttributeValue.
536 Fix up for above changes.
537 Add g_file_info_get_attribute_data to get
538 all info in one call, g_file_info_get_attribute_status
539 to get the status and g_file_info_get_attribute_as_string.
543 * glocalfileinfo.[ch]:
547 Make _guess_type static.
549 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
552 * inotify/Makefile.am: Fixed build when srcdir != builddir,
553 made mkenums and friends use temporary files to avoid leaving
554 empty generated files on failure (#503470).
556 2007-12-14 Alexander Larsson <alexl@redhat.com>
561 2007-12-14 Alexander Larsson <alexl@redhat.com>
565 * gfileattribute.[ch]:
568 * glocalfileoutputstream.c:
569 * gmountoperation.[ch]:
570 * goutputstream.[ch]:
571 Clean up all flags enums to not have _FLAGS in them
572 Make the names of some of the enums better.
577 2007-12-14 Michael Natterer <mitch@imendio.com>
579 * gio.symbols: fix g_io_scheduler symbol names.
581 2007-12-14 Alexander Larsson <alexl@redhat.com>
587 * gbufferedinputstream.h:
588 * gbufferedoutputstream.h:
591 * gdatainputstream.h:
592 * gdataoutputstream.h:
594 * gdirectorymonitor.h:
601 * gfileinputstream.h:
603 * gfilenamecompleter.h:
604 * gfileoutputstream.h:
605 * gfilterinputstream.h:
606 * gfilteroutputstream.h:
614 * gmemoryinputstream.h:
615 * gmemoryoutputstream.h:
620 * gsimpleasyncresult.h:
622 * gunixinputstream.h:
624 * gunixoutputstream.h:
628 * inotify/Makefile.am:
629 Only allow including <gio/gio.h> from apps
631 2007-12-14 Alexander Larsson <alexl@redhat.com>
634 * gsimpleasyncresult.c:
635 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
636 Split out the send_to_mainloop call into two versions instead
637 of having the block argument.
639 2007-12-13 Alexander Larsson <alexl@redhat.com>
643 * gbufferedinputstream.c:
645 * gfileinputstream.c:
646 * gfileoutputstream.c:
650 g_push/pop_current_cancellable ->
651 g_cancellable_push/pop_current
653 2007-12-13 Alexander Larsson <alexl@redhat.com>
657 Rename g_mount_for_location to g_file_mount_enclosing_volume.
659 2007-12-13 Alexander Larsson <alexl@redhat.com>
662 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
664 2007-12-12 Alexander Larsson <alexl@redhat.com>
667 Fix race condition when freeing proxy in
668 g_io_job_send_to_mainloop().
670 2007-12-12 Alexander Larsson <alexl@redhat.com>
676 Make attribute namespace separator "::" instead of ":".
677 Use - instead of _ as separator in attribute names.
679 2007-12-12 Alexander Larsson <alexl@redhat.com>
681 * gbufferedinputstream.h:
682 * gbufferedoutputstream.h:
683 * gdatainputstream.h:
684 * gdataoutputstream.h:
685 * gdirectorymonitor.h:
687 * gfileinputstream.h:
689 * gfileoutputstream.h:
690 * gfilterinputstream.h:
691 * gfilteroutputstream.h:
693 * glocalfileinputstream.h:
694 * glocalfileoutputstream.h:
695 * gmemoryinputstream.h:
696 * gmemoryoutputstream.h:
697 * gnativevolumemonitor.h:
699 * gunixinputstream.h:
700 * gunixoutputstream.h:
703 s/parent/parent_instance/ in GObjects
705 2007-12-12 Alexander Larsson <alexl@redhat.com>
710 No need for padding for interfaces
712 2007-12-12 Alexander Larsson <alexl@redhat.com>
716 * gbufferedinputstream.c:
717 * gbufferedoutputstream.c:
720 * gdatainputstream.[ch]:
722 * gdirectorymonitor.c:
724 * gfileattribute.[ch]:
727 * gfileinputstream.h:
729 * gfileoutputstream.[ch]:
730 * gfilterinputstream.h:
731 * gfilteroutputstream.h:
734 * gloadableicon.[ch]:
735 * gmemoryinputstream.c:
738 Fix up a bunch of details in the docs.
743 2007-12-11 David Zeuthen <davidz@redhat.com>
745 Rework how volumes, drives and volume monitoring is
746 done. Previosly the model was
750 where a GDrive instance represented a mount point and a GVolume
751 instance represented a mounted file system. This patch changes it
754 GDrive <1-N> GVolume <1-1> GMount
756 where GMount now serves the purpose of the old GVolume and the new
757 GVolume serves the purpose of the old GDrive. In addition the new
758 GDrive interface is used to represent a collection of GVolume
759 instances (typically partitions) and also contains utility to query
760 the state of the physical drive the GDrive object represents (such
761 as checking for media, polling the drive, ejecting the media etc.).
763 Also implement mounting and unmounting in the Unix volume monitor
764 backend. A subquent patch will introduce GDrive support for ejection
768 * gdrive.c: (g_drive_is_media_check_automatic),
769 (g_drive_is_media_removable), (g_drive_has_media),
770 (g_drive_can_poll_for_media), (g_drive_eject),
771 (g_drive_eject_finish), (g_drive_poll_for_media),
772 (g_drive_poll_for_media_finish):
774 * gfile.c: (g_file_find_enclosing_mount):
777 * glocaldirectorymonitor.c:
778 (g_local_directory_monitor_constructor), (mounts_changed):
779 * glocalfile.c: (get_mount_info),
780 (g_local_file_find_enclosing_mount),
781 (g_local_file_file_iface_init):
782 * gnativevolumemonitor.h:
783 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
784 (get_connected_drives), (g_union_volume_monitor_class_init),
785 (child_volume_added), (child_volume_removed),
786 (child_volume_changed), (child_mount_added), (child_mount_removed),
787 (child_mount_pre_unmount), (child_mount_changed),
788 (child_drive_changed), (g_union_volume_monitor_add_monitor),
789 (g_union_volume_monitor_remove_monitor),
790 (_g_mount_get_for_mount_path):
791 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
792 (guess_system_internal), (_g_get_unix_mounts),
793 (_g_get_unix_mount_points), (g_get_unix_mount_at),
794 (g_unix_mount_free), (g_unix_mount_compare),
795 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
796 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
797 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
798 (type_to_icon), (g_unix_mount_guess_name),
799 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
800 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
801 (_resolve_symlink), (_resolve_dev_root):
803 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
804 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
805 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
806 (g_unix_volume_get_name), (g_unix_volume_can_mount),
807 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
808 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
809 (g_unix_volume_mount), (g_unix_volume_mount_finish),
810 (g_unix_volume_volume_iface_init):
812 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
813 (get_mounts), (get_volumes), (get_connected_drives),
814 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
815 (mountpoints_changed), (mounts_changed),
816 (g_unix_volume_monitor_init),
817 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
818 (find_mount_by_mountpath), (update_volumes), (update_mounts):
819 * gunixvolumemonitor.h:
820 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
821 (g_volume_mount), (g_volume_mount_finish):
823 * gvolumemonitor.c: (g_volume_monitor_class_init),
824 (g_volume_monitor_get_connected_drives),
825 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
828 2007-12-10 Matthias Clasen <mclasen@redhat.com>
830 * gmountoperation.h (GPasswordFlags): Close the gap
832 2007-12-10 Matthias Clasen <mclasen@redhat.com>
834 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
836 * gdesktopappinfo.[hc]: Remove _-prefixes
838 2007-12-10 Tor Lillqvist <tml@novell.com>
840 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
843 2007-12-10 Alexander Larsson <alexl@redhat.com>
845 * gfile.c (g_file_set_display_name):
846 Don't hardcode '/' (#502727)
848 2007-12-09 Hans Breuer <hans@breuer.org>
850 * makefile.msc : follow lib naming convention
851 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
852 for user and group name, tested with ../tests/gio-ls
854 2007-12-09 A. Walton <awalton@svn.gnome.org>
867 * gmemoryinputstream.c:
868 * gmemoryoutputstream.c:
870 * gsimpleasyncresult.c:
871 More documentation cleanup and filling in missing information, bringing
872 GIO to 99% symbol coverage.
874 2007-12-08 Hans Breuer <hans@breuer.org>
876 [gio compiles and links on win32, not sure how much already works]
877 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
878 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
879 base on win32 API; prefer g_lstat() over lstat(); instead of
880 localtime_r() use an all GLib implementation on win32;
881 get_mount_info() still needs a win32 specifc implementation
882 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
883 win32_get_file_user_info to get owner/group info without uid/gid
884 * glocalfileinputstream.c : include <io.h> on win32
885 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
886 definition, use g_win32_ftruncate() for G_OS_WIN32
887 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
888 it is available with mingw/w32api but a mess with the M$ Platform SDKs
889 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
890 * makefile.msc : updated
892 2007-12-07 Alexander Larsson <alexl@redhat.com>
894 * glocalfileenumerator.c (_g_local_file_enumerator_new):
895 Avoid warning spew if error == NULL
897 2007-12-07 Alexander Larsson <alexl@redhat.com>
900 Update docs wrt etags
902 2007-12-06 Alexander Larsson <alexl@redhat.com>
905 Include sys/types.h for dev_t (#501919)
907 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
911 Make abicheck and pltcheck pass.
913 2007-12-05 Alexander Larsson <alexl@redhat.com>
916 * giomodule-priv.h: Added.
917 * glocaldirectorymonitor.c:
918 * glocalfilemonitor.c:
919 * gunionvolumemonitor.c:
921 Actually add the declaration of _g_io_modules_ensure_loaded
923 2007-12-05 Alexander Larsson <alexl@redhat.com>
925 * gdatainputstream.c:
930 * glocaldirectorymonitor.c:
931 * glocalfilemonitor.c:
932 * gunionvolumemonitor.c:
934 Make g_io_modules_ensure_loaded a private function and
935 don't pass in the dirname. This means we can do magic
936 directory finding in the win32 version.
937 Export the actual load-modules-in-directory code so that
940 2007-12-05 Alexander Larsson <alexl@redhat.com>
942 * gbufferedinputstream.c:
943 * gbufferedoutputstream.c:
946 * gfileenumerator.[ch]:
947 * gfileinputstream.c:
948 * gfileoutputstream.[ch]:
949 * gfilterinputstream.c:
950 * gfilteroutputstream.c:
953 * glocalfileenumerator.c:
954 * glocalfileinputstream.c:
955 * glocalfileoutputstream.c:
956 * gmemoryinputstream.c:
957 * gmemoryoutputstream.c:
958 * goutputstream.[ch]:
961 * gunixinputstream.c:
962 * gunixoutputstream.c:
963 Rename all struct members named:
964 read, write, close, truncate, or mount
965 to foo_fn, as these are reserved names
966 and could be defined as macros in libc.
969 2007-12-04 Alexander Larsson <alexl@redhat.com>
972 (g_output_stream_close):
973 Only call flush if non-null.
975 2007-11-30 Dan Winship <danw@gnome.org>
977 * ginputstream.c (g_input_stream_set_pending): Make this take a
978 GError and return a gboolean, and do the "outstanding operation"
979 check (and the "stream is already closed" check) itself.
980 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
982 * goutputstream.c (g_output_stream_set_pending)
983 (g_output_stream_clear_pending): Likewise
985 * gbufferedinputstream.c:
986 * gfileinputstream.c:
987 * gfileoutputstream.c: Update for that
989 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
990 Like g_simple_async_report_error_in_idle, but takes a GError
991 rather than building one.
993 2007-11-30 Dan Winship <danw@gnome.org>
995 * goutputstream.c: Don't cheat and unset the "pending" flag around
996 inner calls. Instead, call the class method directly rather than
997 the wrapper function that checks "pending"
999 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1001 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1003 2007-12-03 Hans Breuer <hans@breuer.org>
1005 [start of port to win32/msvc]
1006 * gcancellable.c : HAVE_UNIST_H and _pipe()
1007 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1008 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1009 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1011 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1012 * glocalvfs.c : use HAVE_PWD_H
1013 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1014 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1015 * Makefile.am : added to EXTRA_DIST
1017 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1019 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1022 2007-12-03 Alexander Larsson <alexl@redhat.com>
1025 Handle OSX style xattrs API (#500506)
1027 2007-12-03 Alexander Larsson <alexl@redhat.com>
1031 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1033 2007-12-02 A. Walton <awalton@svn.gnome.org>
1037 Documentation accuracy fixes.
1039 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1041 * gioenumtypes.c.template: Fix typo.
1043 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1045 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1047 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1049 * gdirectorymonitor.c:
1050 * gfilemonitor.c: Add properties
1052 * gbufferedoutputstream.c: Don't mark buffer-size property
1055 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1057 * gbufferedoutputstream.c: Add auto-grow property.
1059 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1061 * *.c: Unify the capitalization of section headings.
1063 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1065 * gmountoperation.c: Add properties
1067 * gdatainputstream.c: Turn byte-order and newline-type into
1070 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1072 * gioenumtypes.[hc].template: Templates for enum registration
1074 * Makefile.am: Generate gioenumtypes.[hc]
1076 * gio.h: Include gioenumtypes.h
1078 * gfile.h: Add some explicit nicks.
1080 * gio.symbols: Add new symbols
1082 * pltcheck.sh: Adjust
1084 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1086 * *.c: Explain etags and link to the explanation
1088 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1090 * *.c: Explain I/O priority.
1092 * *.c: More coding style fixes.
1094 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1096 * gasyncresult.c: Add another paragraph to the intro,
1097 adjust coding style of example.
1099 2007-11-29 A. Walton <awalton@svn.gnome.org>
1102 Fixes unknown meaning in GAppLaunchContext docs.
1104 Clarify asynchronous ops.
1106 Fix entity tag docs.
1109 Provides missing gtk-doc section, fixes API docs slighly.
1110 * gsimpleasyncresult.c:
1111 Fill in missing info in docs.
1112 * gunixinputstream.c:
1113 * gunixoutputstream.c:
1114 Be more expressive in short description.
1116 Remove gtk-doc stubs for non-public API.
1118 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1120 * *.c: Coding style fixups
1122 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1124 * inotify/inotify-helper.c: Don't export the lock from libgio.
1126 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1129 * abicheck.sh: Fix copy-and-paste leftovers
1131 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1133 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1135 2007-11-28 Alexander Larsson <alexl@redhat.com>
1139 Removed unnecessary file
1141 * gdesktopappinfo.[ch]:
1144 * glocaldirectorymonitor.[ch]:
1146 * glocalfileenumerator.[ch]:
1147 * glocalfileinputstream.[ch]:
1148 * glocalfilemonitor.[ch]:
1149 * glocalfileoutputstream.[ch]:
1151 * gnativevolumemonitor.c:
1152 * gpollfilemonitor.[ch]:
1153 * gunionvolumemonitor.[ch]:
1156 * gunixvolumemonitor.[ch]:
1159 * inotify/ginotifydirectorymonitor.[ch]:
1160 * inotify/ginotifyfilemonitor.[ch]:
1161 * inotify/inotify-helper.c:
1162 Append _ to all internal functions
1166 Export symbols needed for modules
1168 2007-11-28 Alexander Larsson <alexl@redhat.com>
1171 * abicheck.sh: Added.
1172 * makegioalias.pl: Added.
1173 * pltcheck.sh: Added.
1174 * gio.symbols: Added.
1177 Initial work on adding symbol handling.
1180 Correct ifdef guard name
1183 * inotify/Makefile.am:
1184 * xdgmime/Makefile.am:
1185 Include toplevel Makefile.decl
1187 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1189 * gcontenttype.c: Move doc comments to the unix section.
1191 * *.[hc]: More trivial doc corrections.
1193 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1195 * gpollfilemonitor.c:
1199 * gdesktopappinfo.c:
1204 * gdatainputstream.c:
1205 * gdatainputstream.h:
1206 * gdataoutputstream.c:
1207 * gdataoutputstream.h:
1208 * gfileinfo.h: Doc cleanups
1210 2007-11-28 Andre Klapper <a9016009@gmx.de>
1212 * gdesktopappinfo.c: Fix a typo.
1214 2007-11-27 Andre Klapper <a9016009@gmx.de>
1216 * glocalfileoutputstream.c: Fix a typo.
1218 2007-11-27 Alexander Larsson <alexl@redhat.com>
1221 Don't include removed headers
1223 2007-11-27 Alexander Larsson <alexl@redhat.com>
1226 * gsocketinputstream.[ch]: Removed.
1227 * gsocketoutputstream.[ch]: Removed.
1228 * gunixinputstream.[ch]: Added.
1229 * gunixoutputstream.[ch]: Added.
1230 Renamed GSocket*Stream to GUnix*Stream and made
1231 it unix-only, since its not really only for sockets
1232 and it only works on unix (but is highly useful there).
1234 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1240 * gbufferedinputstream.c:
1241 * gbufferedinputstream.h:
1242 * gbufferedoutputstream.c:
1243 * gbufferedoutputstream.h:
1247 * gdatainputstream.c:
1248 * gdatainputstream.h:
1249 * gdataoutputstream.c:
1250 * gdataoutputstream.h:
1251 * gdirectorymonitor.c:
1252 * gdirectorymonitor.h:
1259 * gfileenumerator.c:
1260 * gfileenumerator.h:
1265 * gfileinputstream.c:
1266 * gfileinputstream.h:
1269 * gfilenamecompleter.c:
1270 * gfilenamecompleter.h:
1271 * gfileoutputstream.c:
1272 * gfileoutputstream.h:
1273 * gfilterinputstream.c:
1274 * gfilterinputstream.h:
1275 * gfilteroutputstream.c:
1276 * gfilteroutputstream.h:
1289 * glocalfileoutputstream.c:
1290 * gmemoryinputstream.c:
1291 * gmemoryinputstream.h:
1292 * gmemoryoutputstream.c:
1293 * gmemoryoutputstream.h:
1294 * gmountoperation.c:
1295 * gmountoperation.h:
1298 * gpollfilemonitor.c:
1301 * gsimpleasyncresult.c:
1302 * gsimpleasyncresult.h:
1303 * gsocketinputstream.c:
1304 * gsocketinputstream.h:
1305 * gsocketoutputstream.c:
1306 * gsocketoutputstream.h:
1313 * gunixvolumemonitor.c:
1322 Bumps documentation to 93% symbol coverage, touching most
1323 of the public files. Fixes broken function documentation prototypes.
1324 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1325 gtk-doc headers in private files.
1327 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1329 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1330 (g_buffered_input_stream_read_byte):
1331 * gbufferedinputstream.h:
1332 New functions for efficient access to buffer and simple single byte
1335 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1336 (g_data_input_stream_read_until):
1337 * gdatainputstream.h:
1338 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1339 read_until with multiple stop chars.
1341 2007-11-27 Alexander Larsson <alexl@redhat.com>
1345 * inotify/Makefile.am:
1346 Use the user-specified giomoduledir
1348 2007-11-27 Alexander Larsson <alexl@redhat.com>
1352 Add catch-all gio.h header
1353 Don't install gdummyfile.h
1355 2007-11-26 Alexander Larsson <alexl@redhat.com>
1357 * Makefile.am (gioinclude_HEADERS):
1358 Remove trailing whitespace
1360 2007-11-26 Alexander Larsson <alexl@redhat.com>
1362 Merge gio-standalone into glib
1364 2007-11-25 Christian Kellner <gicmo@gnome.org>
1366 * gio/goutputstream.c:
1367 Fix small mistake in the docs.
1369 2007-11-21 Christian Persch <chpe@gnome.org>
1371 * gio/glocalfile.c: (g_local_file_trash):
1372 Convert filenames to UTF-8 for GError.
1373 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1374 as per xdg base dir spec.
1376 2007-11-21 Christian Persch <chpe@gnome.org>
1378 * gio/gdesktopappinfo.c:
1379 Use that g_key_file_to_data cannot fail.
1381 Use stock defines for the key file group and key names.
1384 2007-11-21 Alexander Larsson <alexl@redhat.com>
1387 (copy_stream_with_progress):
1388 Make sure we do a final progress callback with
1389 the full total size.
1391 2007-11-21 Alexander Larsson <alexl@redhat.com>
1394 Export g_file_copy_attributes
1395 Remove padding as its not needed for interfaces
1397 2007-11-20 Alexander Larsson <alexl@redhat.com>
1402 Add G_IO_ERROR_WOULD_MERGE for
1403 copy/move dir on dir with overwrite.
1405 2007-11-20 Alexander Larsson <alexl@redhat.com>
1408 * gio/glocalfileinfo.c:
1409 Add COPY_NAME (this is an optional
1410 non-modified utf8 version of the name) that
1413 2007-11-20 Alexander Larsson <alexl@redhat.com>
1415 * gio/glocalfileenumerator.c:
1416 Report errors as GIOError, not GFileError
1418 2007-11-16 Alexander Larsson <alexl@redhat.com>
1420 * gio/glocalfileoutputstream.c:
1421 * gio/gwin32appinfo.c:
1422 Fix typos in strings.
1423 Patch from Luca Ferretti <elle.uca@libero.it>
1425 2007-11-15 Alexander Larsson <alexl@redhat.com>
1428 Post release version bump
1430 === gio-standalone 0.1.2 ===
1432 2007-11-15 Alexander Larsson <alexl@redhat.com>
1434 * docs/reference/gio/Makefile.am:
1435 Fix up distcheck by removing weird
1441 2007-11-14 Alexander Larsson <alexl@redhat.com>
1443 * gio/gdesktopappinfo.c:
1444 * gio/glocaldirectorymonitor.c:
1446 * gio/glocalfileinfo.c:
1447 * gio/inotify/inotify-sub.c:
1448 * programs/gio-cat.c:
1449 * programs/gio-copy.c:
1450 * programs/gio-info.c:
1451 * programs/gio-ls.c:
1452 * programs/gio-monitor-dir.c:
1453 * programs/gio-monitor-file.c:
1454 * programs/gio-mount.c:
1455 * programs/gio-move.c:
1456 * programs/gio-rm.c:
1457 * programs/gio-save.c:
1458 * programs/gio-trash.c:
1459 Leak fixes from Kjartan Maraas
1461 2007-11-14 Alexander Larsson <alexl@redhat.com>
1463 * gio/fam/fam-helper.c:
1465 * gio/glocalfileinfo.c:
1469 * gio/inotify/inotify-diag.c:
1470 * gio/inotify/inotify-kernel.c:
1471 Various code cleanups from Kjartan Maraas
1473 2007-11-14 Alexander Larsson <alexl@redhat.com>
1475 * gio/gioscheduler.c:
1477 Set up threadpool so that we cache 2 unused
1478 idle threads for at 15 secs. This means we
1479 will reuse thread-local data (like dbus connections)
1482 2007-11-14 Alexander Larsson <alexl@redhat.com>
1484 * gio/fam/fam-helper.c:
1485 * gio/fam/gfamdirectorymonitor.c:
1486 * gio/fam/gfamfilemonitor.c:
1488 * gio/gcontenttype.c:
1489 * gio/gdatainputstream.c:
1490 * gio/gdataoutputstream.c:
1494 * gio/gfileattribute.h:
1495 * gio/gfileenumerator.c:
1497 * gio/ginputstream.c:
1500 * gio/glocalfileinfo.c:
1501 * gio/goutputstream.c:
1502 * gio/gpollfilemonitor.c:
1503 * gio/gsimpleasyncresult.c:
1504 * gio/gunixmounts.c:
1505 * gio/gunixmounts.h:
1506 * gio/inotify/ginotifydirectorymonitor.c:
1507 * gio/inotify/ginotifyfilemonitor.c:
1508 * gio/inotify/inotify-diag.c:
1509 * gio/inotify/inotify-kernel.c:
1510 * gio/inotify/inotify-path.c:
1512 * gio/test-streams.c:
1513 * programs/gio-info.c:
1514 * programs/gio-monitor-dir.c:
1515 * programs/gio-monitor-file.c:
1516 Various code cleanups from Kjartan Maraas
1518 2007-11-13 Alexander Larsson <alexl@redhat.com>
1521 Handle the uri-scheme calls for dummy files
1523 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1525 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1526 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1527 to avoid clash with the C++ keyword.
1529 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1531 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1532 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1534 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1536 * gio/glocaldirectorymonitor.c:
1537 * gio/glocalfilemonitor.c:
1538 * gio/gunionvolumemonitor.c:
1539 Don't use g_once_init_*() for initializations that could fail and
1540 could leave the initialization variable set to 0 but use GOnce.
1541 This prevents a deadlock on the second call when trying to create
1542 a monitor and no monitor type is available. Thanks to Sven Herzberg
1545 2007-11-11 Sven Herzberg <sven@imendio.com>
1547 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1548 #ifdef (make it work on MacOS X again)
1550 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1552 Fixes Changelog for last two commits (sorry guys).
1554 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1556 * gio/gbufferedinputstream.c:
1557 * gio/gdatainputstream.c:
1559 * gio/gfileoutputstream.c:
1560 * gio/gfilterinputstream.c:
1561 * gio/glocalfileinputstream.c:
1564 More consistency fixes in g*stream.c files.
1565 Significant clean of gfile's documentation, filling in of
1566 asynchronous operations documentation.
1568 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1570 * gio/gasyncresult.c:
1571 * gio/gbufferedinputstream.c:
1572 * gio/gbufferedoutputstream.c:
1573 * gio/gcancellable.c:
1574 * gio/gcontenttype.c:
1575 * gio/gdatainputstream.c:
1576 * gio/gdataoutputstream.c:
1577 * gio/gdesktopappinfo.c:
1580 * gio/gfileattribute.c:
1581 * gio/gio/gfileenumerator.c:
1583 * gio/gfileinputstream.c:
1584 * gio/gfilemonitor.c:
1585 * gio/gfileoutputstream.c:
1586 * gio/ginputstream.c:
1588 * gio/gioscheduler.c:
1589 * gio/gloadableicon.c:
1590 * gio/glocalfileoutputstream.c:
1591 * gio/gmemoryoutputstream.c:
1592 * gio/gmountoperation.c:
1593 * gio/goutputstream.c:
1595 * gio/gsimpleasyncresult.c:
1596 * gio/gunionvolumemonitor.c:
1597 * gio/gunixmounts.c:
1598 * gio/gunixvolume.c:
1602 * gio/gvolumemonitor.c:
1603 Updated documentation stubs, working towards consistency and
1606 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1608 * gio/gmemoryoutputstream.c:
1609 * gio/gmemoryoutputstream.h:
1610 Change g_memory_output_stream_set_free_on_close() to
1611 g_memory_output_stream_set_free_data() as this makes more sense and
1612 is more consistent with GMemoryInputStream.
1614 2007-11-07 Alexander Larsson <alexl@redhat.com>
1621 Change how we find the default vfs so that
1622 we can handle a gvfs failing to init
1624 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1626 * gio/gbufferedoutputstream.c:
1627 * gio/gdatainputstream.c:
1628 * gio/gdataoutputstream.c:
1629 * gio/gfileinputstream.c:
1630 * gio/gfileoutputstream.c:
1631 * gio/gfilterinputstream.c:
1632 * gio/gfilteroutputstream.c:
1633 * gio/ginputstream.c:
1634 * gio/gmemoryinputstream.c:
1635 * gio/gmemoryoutputstream.c:
1636 * gio/goutputstream.c:
1637 * gio/gsimpleasyncresult.c:
1638 * gio/gsocketinputstream.c:
1639 * gio/gsocketoutputstream.c:
1640 Add guards to the remaining public functions, add a TODO for
1641 an unimplemented function and remove some useless guards.
1643 2007-11-07 Alexander Larsson <alexl@redhat.com>
1646 Autoconf checks for the various types of
1647 getpwuid_r and getgrgid_r
1649 * gio/glocalfileinfo.c:
1650 Use the autoconf checks from above
1652 2007-11-07 Alexander Larsson <alexl@redhat.com>
1655 (g_local_file_query_filesystem_info):
1656 Some fixes for the statvfs case
1658 2007-11-07 Alexander Larsson <alexl@redhat.com>
1661 (g_local_file_query_filesystem_info):
1662 Pick the "best" of statfs / statvfs for the system
1663 if both are availible.
1665 2007-11-07 Alexander Larsson <alexl@redhat.com>
1667 Solaris fixes from Halton.Huo@Sun.COM:
1674 * gio/glocalfileinfo.c:
1675 Fix for solaris definition of getpwuid_r
1677 * gio/test-streams.c:
1678 Use G_GNUC_PRETTY_FUNCTION
1680 2007-11-07 Alexander Larsson <alexl@redhat.com>
1682 * gio/gdesktopappinfo.c:
1683 (update_default_list):
1684 Remove double semicolon.
1685 Patch from Jens Granseuer
1687 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1689 * docs/reference/gio/gio-sections.txt:
1690 * gio/gbufferedinputstream.c:
1691 * gio/gbufferedinputstream.h:
1692 * gio/gdatainputstream.c:
1693 * gio/gfileenumerator.c:
1694 * gio/gioscheduler.c:
1695 * gio/gunionvolumemonitor.c:
1697 * programs/gio-save.c:
1698 Fix typo: availible -> available. Unfortuntely this breaks API
1699 and ABI as g_buffered_input_stream_get_available() was renamed.
1701 * gio/gunixmounts.c:
1702 * gio/gbufferedinputstream.c:
1703 Add guards for public functions.
1705 2007-11-06 Ross Burton <ross@openedhand.com>
1707 * docs/reference/gio/Makefile.am:
1708 Fix invalid += usage which automake 1.10 doesn't like.
1710 2007-11-06 Alexander Larsson <alexl@redhat.com>
1713 (g_app_launch_context_class_init):
1716 Patch from Ross Burton
1718 2007-11-06 Alexander Larsson <alexl@redhat.com>
1721 Post release version bump
1723 === gio-standalone 0.1.1 ===
1725 2007-11-06 Alexander Larsson <alexl@redhat.com>
1728 Bump version to 0.1.1
1730 * gio/gsimpleasyncresult.c:
1731 (g_simple_async_result_set_from_error):
1732 Remove bogus g_return_if_fail
1734 2007-11-06 Alexander Larsson <alexl@redhat.com>
1737 The name is gio-standalone
1740 Add top src/builddir to includedir
1742 2007-11-06 Alexander Larsson <alexl@redhat.com>
1744 * docs/reference/gio/gio-sections.txt:
1746 * gio/gbufferedinputstream.c:
1747 * gio/gbufferedoutputstream.c:
1748 * gio/gcancellable.c:
1749 * gio/gdatainputstream.h:
1750 * gio/gdataoutputstream.c:
1751 * gio/gdataoutputstream.h:
1752 * gio/gdirectorymonitor.c:
1754 * gio/gfileattribute.c:
1755 * gio/gfileattribute.h:
1756 * gio/gfileenumerator.c:
1757 * gio/gfileenumerator.h:
1760 * gio/gfileinputstream.h:
1761 * gio/gfilemonitor.c:
1762 * gio/gfileoutputstream.h:
1763 * gio/glocalfilemonitor.h:
1764 * gio/glocalfileoutputstream.h:
1765 * gio/gmemoryinputstream.c:
1766 * gio/gmemoryoutputstream.c:
1767 * gio/gmountoperation.c:
1768 * gio/goutputstream.c:
1769 * gio/goutputstream.h:
1771 * gio/gsimpleasyncresult.c:
1772 * gio/gunixmounts.c:
1773 * gio/gunixmounts.h:
1775 * gio/inotify/inotify-helper.c:
1776 Fix gtk-doc warnings
1778 Patch from Ross Burton
1780 2007-11-06 Alexander Larsson <alexl@redhat.com>
1782 * gio/gfilenamecompleter.c:
1783 (g_filename_completer_get_completions):
1786 * gio/gunixvolume.c:
1787 Remove unused function
1789 Patches from Ross Burton
1791 2007-11-06 Alexander Larsson <alexl@redhat.com>
1796 Padding not needed for interfaces
1798 2007-11-06 Alexander Larsson <alexl@redhat.com>
1800 * gio/gfilemonitor.c:
1804 Make giotypes.h an internal file
1807 * gio/gbufferedinputstream.h:
1808 * gio/gbufferedoutputstream.h:
1809 * gio/gcancellable.h:
1810 * gio/gdatainputstream.h:
1811 * gio/gdataoutputstream.h:
1812 * gio/gdirectorymonitor.c:
1813 * gio/gdirectorymonitor.h:
1818 * gio/gfileattribute.h:
1819 * gio/gfileenumerator.h:
1824 * gio/gfilemonitor.c:
1825 * gio/gfilemonitor.h:
1826 * gio/gfilenamecompleter.c:
1827 * gio/gfilenamecompleter.h:
1828 * gio/gfilterinputstream.h:
1829 * gio/gfilteroutputstream.h:
1830 * gio/ginputstream.h:
1831 * gio/gmemoryinputstream.h:
1832 * gio/gmemoryoutputstream.h:
1833 * gio/gmountoperation.c:
1834 * gio/gmountoperation.h:
1835 * gio/gnativevolumemonitor.c:
1836 * gio/goutputstream.h:
1839 * gio/gsimpleasyncresult.c:
1840 * gio/gsimpleasyncresult.h:
1841 * gio/gsocketinputstream.h:
1842 * gio/gsocketoutputstream.h:
1843 * gio/gthemedicon.c:
1844 * gio/gthemedicon.h:
1848 * gio/gvolumemonitor.c:
1849 * gio/gvolumemonitor.h:
1850 Add padding in classes where it seems useful
1851 Don't include giotypes.h from public headers
1852 Move in Class definitions into c file where possible
1857 2007-11-06 Alexander Larsson <alexl@redhat.com>
1859 * docs/reference/gio/gio-docs.xml:
1860 Better structure for API docs
1862 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1865 * gio/gloadableicon.c:
1866 * gio/gsimpleasyncresult.c:
1867 * gio/gthemedicon.c:
1868 Add some more guards to public functions. Only files missing are now
1871 2007-11-06 Alexander Larsson <alexl@redhat.com>
1873 * docs/reference/gio/gio-docs.xml:
1874 Remove old files, add missing ones
1876 2007-11-06 Alexander Larsson <alexl@redhat.com>
1878 * docs/reference/gio/gio-sections.txt:
1881 Hide implementation classes
1883 * gio/gdriveprivate.h:
1884 * gio/gvolumeprivate.h:
1885 Remove non-existing function declarations
1887 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1890 Fix compilation warnings and add guards to the new functions.
1892 * gio/gasyncresult.c:
1894 Add guards to the public functions.
1897 Implement get_path().
1899 2007-11-06 Alexander Larsson <alexl@redhat.com>
1901 * gio/gfilenamecompleter.c:
1902 Make g_filename_completer_get_completions
1903 return char ** instead of GList for
1906 * docs/reference/gio/gio-docs.xml:
1907 * docs/reference/gio/gio-sections.txt:
1909 * gio/gasyncresult.c:
1910 * gio/gbufferedinputstream.c:
1911 * gio/gbufferedoutputstream.c:
1912 * gio/gcancellable.c:
1913 * gio/gcontenttype.c:
1914 * gio/gdatainputstream.c:
1915 * gio/gdataoutputstream.c:
1916 * gio/gdesktopappinfo.c:
1917 * gio/gdirectorymonitor.c:
1921 * gio/gfileattribute.c:
1922 * gio/gfileenumerator.c:
1925 * gio/gfileinputstream.c:
1926 * gio/gfilemonitor.c:
1927 * gio/gfilenamecompleter.c:
1928 * gio/gfilenamecompleter.h:
1929 * gio/gfileoutputstream.c:
1930 * gio/gfilterinputstream.c:
1932 * gio/ginputstream.c:
1934 * gio/gioscheduler.c:
1935 * gio/gloadableicon.c:
1936 * gio/glocaldirectorymonitor.c:
1938 * gio/glocalfileinputstream.c:
1939 * gio/glocalfilemonitor.c:
1940 * gio/glocalfileoutputstream.c:
1942 * gio/gmemoryinputstream.c:
1943 * gio/gmemoryoutputstream.c:
1944 * gio/gmountoperation.c:
1945 * gio/goutputstream.c:
1946 * gio/gpollfilemonitor.c:
1948 * gio/gsimpleasyncresult.c:
1949 * gio/gsocketinputstream.c:
1950 * gio/gsocketoutputstream.c:
1951 * gio/gthemedicon.c:
1952 * gio/gunionvolumemonitor.c:
1954 * gio/gunixmounts.c:
1955 * gio/gunixvolume.c:
1956 * gio/gunixvolumemonitor.c:
1960 * gio/gvolumemonitor.c:
1961 * gio/gwin32appinfo.c:
1962 Add (mostly stub) doc strings to public functions.
1963 Patch from Andrew Walton (awalton@gmail.com)
1965 2007-11-06 Alexander Larsson <alexl@redhat.com>
1967 * gio/gappinfo.[ch]:
1968 Added GAppLaunchContext object and pass that to launch.
1969 This allows simple implementation of both
1970 launch-on-screen and startup notification via a gtk+
1971 subclass of GAppLaunchContext
1973 * gio/gdesktopappinfo.c:
1974 Implement GAppLaunchContext API
1976 * gio/gwin32appinfo.c:
1979 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1981 * gio/gmountoperation.c:
1982 Add some guards to GMountOperation's public functions.
1984 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1988 * gio/gcancellable.c:
1989 * gio/gdirectorymonitor.c:
1991 * gio/gfileenumerator.c:
1992 * gio/gfilemonitor.c:,
1993 * gio/gfilenamecompleter.c:
1996 * gio/gioscheduler.c:
2000 * gio/gvolumemonitor.c:
2001 Add even more guards to various public functions.
2003 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2006 Add guards to the public functions of GAppInfo.
2008 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2010 * gio/gcontenttype.c:
2011 Add some more guards for public functions.
2013 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2015 * gio/fam/fam-module.c:
2016 * gio/fam/gfamdirectorymonitor.c:
2017 * gio/fam/gfamdirectorymonitor.h:
2018 * gio/fam/gfamfilemonitor.c:
2019 * gio/fam/gfamfilemonitor.h:
2020 * gio/inotify/ginotifydirectorymonitor.c:
2021 * gio/inotify/ginotifydirectorymonitor.h:
2022 * gio/inotify/ginotifyfilemonitor.c:
2023 * gio/inotify/ginotifyfilemonitor.h:
2024 Add proper copyright information and remove an unused variable
2025 in the GInotifyFileMonitor constructor.
2027 * gio/gcancellable.c:
2028 Add a guard for a public function and an assertion to prevent
2029 an undefined program state.
2031 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2033 * gio/gfileattribute.c:
2034 Don't run into an assertion if the given attribute value is NULL
2035 in g_file_attribute_value_get_*() but instead return a fallback
2036 value that makes sense in most situations. Passing them a attribute
2037 value with the wrong type will still run into an assertion.
2039 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2041 * gio/gfileattribute.c:
2043 Add even more guards to the public functions. Also fix the refcounting
2044 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2045 let g_file_info_list_attributes() filter the attributes by namespace
2046 instead of simply ignoring the namespace parameter.
2048 2007-11-03 Sven Herzberg <sven@imendio.com>
2050 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2051 (This makes gio work on MacOS X again)
2053 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2056 Build the gio subdirectory before the docs. Otherwise the build will
2059 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2060 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2061 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2062 Add guards to the public functions.
2064 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2066 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2067 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2068 to prevent a compiler warning.
2070 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2071 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2072 return something in the non-void function find_topdir_for().
2074 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2081 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2083 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2084 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2085 * gwin32appinfo.c (g_win32_app_info_launch):
2086 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2087 envp_for_startup_id, g_desktop_app_info_launch,
2088 g_desktop_app_info_launch_uris):
2090 Give an opaque 'startup_id' string instead of 'envp'.
2091 Support empty file lists for launching new windows.
2092 Fix infinite recursion bug when launching URIs.
2094 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2097 Add guard to the new g_file_get_uri_scheme() function.
2099 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2102 Convert a g_return_val_if_fail() to setting the GError instead as
2103 otherwise applications have to verify the parameter before otherwise
2104 and the parameter might come directly from the user.
2106 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2108 * gio/inotify/ginotify*.[ch]:
2109 Add missing copyright information.
2111 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2114 Add guards in the beginning of public functions to check for valid
2115 parameters and fix a bug in copy_stream_with_progress() that could've
2116 caused writing less bytes than reading.
2117 * gio/glocalfileinfo.c:
2118 Check for a NULL parameter and set the GError accordingly then.
2119 * gio/goutputstream.c:
2120 Fix the same bug as in gfile.c that could've caused writing less bytes
2121 than reading in g_output_stream_real_splice().
2123 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2126 Use the correct gvolumeprivate.h naming
2128 2007-11-01 Christian Kellner <gicmo@gnome.org>
2131 Remove leftover "$(daemon_sources)" entry.
2133 2007-11-01 Christian Kellner <gicmo@gnome.org>
2138 Add copyright information to source files.
2140 2007-11-01 Alexander Larsson <alexl@redhat.com>
2144 Add g_file_get_uri_scheme
2146 2007-11-01 Alexander Larsson <alexl@redhat.com>
2149 * gio/gdesktopappinfo.c:
2150 * gio/gwin32appinfo.c:
2151 Add g_app_info_get_default_for_uri_scheme.
2153 2007-11-01 Alexander Larsson <alexl@redhat.com>
2156 Correct filename for gdriveprivate.h
2158 2007-10-31 Alexander Larsson <alexl@redhat.com>
2161 Rename id:value to id:file
2164 * gio/glocalfileinfo.c:
2167 2007-10-31 Alexander Larsson <alexl@redhat.com>
2169 * gio/gunixvolume.c:
2171 Remove g_volume_get_platform_id, as thats not
2172 needed with the simpler union volume monitor
2174 2007-10-31 Alexander Larsson <alexl@redhat.com>
2177 * gio/guniondrive.[ch]: Removed.
2178 * gio/gunionvolume.[ch]: Removed.
2179 Remove GUnionDrive/Volume
2181 * gio/gunionvolumemonitor.c:
2182 Simplify union volume monitor, now we
2183 only have one native volume monitor and
2184 we use the actual volumes/drives from the
2185 child monitors instead of wrapping them
2187 * gio/gnativevolumemonitor.[ch]:
2188 Base class for native volume monitors.
2189 Includes priority and get_volume_for_mountpoint
2192 Add g_file_find_enclosing_volume
2195 Remove volume name fs attribute
2196 Add readonly fs attribute
2199 Implement readonly attribute
2200 remove volume name attribute
2201 Implement find_enclosing volume
2203 * gio/gunixmounts.c:
2204 Add a volume for "/".
2206 * gio/gunixvolume.[ch]:
2207 Set better name for /
2209 * gio/gunixvolumemonitor.[ch]:
2210 Derive from GNativeVolumeMonitor
2211 Implement get_volume_for_mountpoint
2214 GVolume typedef moved to gfile.h
2216 * gio/gvolumeprivate.h:
2217 Add g_volume_get_for_mount_path
2219 2007-10-31 Alexander Larsson <alexl@redhat.com>
2221 * gio/gunixmounts.[ch]:
2222 Add cache info to unix mount listers
2223 Make getmntent use threadsafe
2224 Add is_system_internal attribute for GUnixMount
2226 * gio/gunixvolume.c:
2227 (g_unix_volume_new):
2228 Use is_system_internal instead of own code
2230 * gio/glocaldirectorymonitor.c:
2231 * gio/gunixvolumemonitor.c:
2232 Update to new gunixmounts API
2237 2007-10-30 Alexander Larsson <alexl@redhat.com>
2240 Add volume name fsinfo attribute
2243 Read volume name info
2245 * gio/gunionvolumemonitor.c:
2246 Fix infinite loops when finalizing a union volume monitor
2248 2007-10-30 Alexander Larsson <alexl@redhat.com>
2250 * gio/goutputstream.[ch]:
2251 Add splice() with default implementation
2253 * gio/gsocketoutputstream.c:
2254 (g_socket_output_stream_write):
2255 Return error on cancellation correctly.
2257 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2259 * gio/glocalfile.c (g_local_file_trash):
2260 Do not leak a string.
2262 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2264 * gio/gfile.c (g_file_load_contents):
2265 Unref the stream after closing it.
2267 2007-10-25 Alexander Larsson <alexl@redhat.com>
2269 * gio/gioscheduler.h:
2272 2007-10-25 Alexander Larsson <alexl@redhat.com>
2276 Add g_file_has_uri_scheme and implement for local files
2278 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2280 * gio/gdesktopappinfo.c: do not leak a string.
2282 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2284 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2285 (g_local_directory_monitor_new):
2286 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2287 (g_local_file_monitor_new):
2288 Only look for the monitor type that should be used the first time
2289 and use g_qsort_with_data() instead of our own bubble sort
2292 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2295 * gio/fam/Makefile.am:
2296 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2297 * gio/fam/fam-helper.h:
2298 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2299 * gio/fam/gfamdirectorymonitor.c:
2300 * gio/fam/gfamdirectorymonitor.h:
2301 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2302 * gio/fam/gfamfilemonitor.h:
2303 * gio/glocaldirectorymonitor.c:
2304 * gio/glocaldirectorymonitor.h:
2305 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2306 * gio/glocalfilemonitor.h:
2307 * gio/inotify/Makefile.am:
2308 * gio/inotify/ginotifydirectorymonitor.c:
2309 * gio/inotify/ginotifydirectorymonitor.h:
2310 * gio/inotify/ginotifyfilemonitor.c:
2311 * gio/inotify/ginotifyfilemonitor.h:
2312 Implement the FAM and Inotify monitors as
2313 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2314 their own GIO module. GLocal(Directory|File)Monitor will use the
2315 monitor with the highest rank that is supported on that machine.
2317 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2320 Change GIO module dir to $(libdir)/gio/modules and change
2321 the log domain from GVFS to GIO. Also only export symbols starting
2322 with g_ in the resulting library.
2323 * gio/test-streams.c: (main):
2324 Set log handler for the GIO log domain.
2326 2007-10-22 Alexander Larsson <alexl@redhat.com>
2328 * gio/gfilenamecompleter.[ch]:
2329 Add g_filename_completer_set_dirs_only
2331 2007-10-22 Alexander Larsson <alexl@redhat.com>
2334 * gio/gurifuncs.[ch]:
2335 Add some simple URI helpers
2337 * gio/gfilenamecompleter.[ch]:
2338 Added object for filename (parse name actually) completion
2341 Handle ~ in parse names
2343 2007-10-17 Alexander Larsson <alexl@redhat.com>
2346 * gio/glocalfileinfo.c:
2347 Add and implement id:value attribute
2349 2007-10-17 Alexander Larsson <alexl@redhat.com>
2352 * gio/guniondrive.c:
2354 Add and implement g_drive_has_volumes
2356 2007-10-17 Alexander Larsson <alexl@redhat.com>
2359 * gio/glocalfileinfo.[ch]:
2360 Add unix:is_mountpoint and implement for local files
2362 2007-10-16 Alexander Larsson <alexl@redhat.com>
2364 * gio/gunionvolumemonitor.c:
2365 (g_union_volume_monitor_init):
2366 Fix up the unix type getting so that it works with gcc
2368 2007-10-12 Alexander Larsson <alexl@redhat.com>
2371 * gio/glocalfileinfo.c:
2372 Add thumbnail:failed to file info
2374 2007-10-12 Richard Hult <richard@imendio.com>
2376 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2377 optimizing away the get_type call (happens with some gcc versions,
2378 like the one shipped with OS X 10.4).
2380 2007-10-12 Alexander Larsson <alexl@redhat.com>
2382 * gio/glocalfileinfo.c:
2383 (_g_local_file_info_set_attribute):
2384 Fix build if not HAVE_XATTR
2385 Patch from Milosz Derezynski <internalerror@gmail.com>
2387 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2389 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2390 around for review, otherwise I would have asked you before
2393 2007-10-11 Alexander Larsson <alexl@redhat.com>
2396 Add thumbnail:path attribute
2398 * gio/glocalfileinfo.c:
2399 Implement thumbnail:path for local files
2401 2007-10-11 Alexander Larsson <alexl@redhat.com>
2403 * gio/glocalfileinfo.c:
2404 (_g_local_file_info_get):
2405 Avoid duplicate icon names
2407 2007-10-11 Alexander Larsson <alexl@redhat.com>
2409 * gio/gthemedicon.[ch]:
2410 Change g_themed_icon_get_names return type to const
2412 2007-10-10 Alexander Larsson <alexl@redhat.com>
2414 * gio/glocalfileinfo.c:
2415 Don't reference freed memory
2417 2007-10-10 Alexander Larsson <alexl@redhat.com>
2419 * gio/gfileattribute.c:
2422 * gio/glocalfileinfo.c:
2425 2007-10-10 Alexander Larsson <alexl@redhat.com>
2428 Check for NULL icons
2430 * gio/gfileattribute.c:
2431 Don't dup when getting objects (same as for string attributes)
2433 * gio/gicon.c (g_icon_equal):
2434 Safely handle NULLs in equal
2436 2007-10-10 Alexander Larsson <alexl@redhat.com>
2439 Fix c++ compilation issues
2440 Patch from Milosz Derezynski <internalerror@gmail.com>
2442 2007-10-10 Alexander Larsson <alexl@redhat.com>
2444 * programs/gio-monitor-dir.c:
2445 Don't crash if dir monitor not supported.
2447 2007-10-09 Alexander Larsson <alexl@redhat.com>
2450 Add missing G_END_DECLS
2452 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2454 * gio/gfile.c: (g_file_set_display_name),
2455 (g_file_query_settable_attributes),
2456 (g_file_query_writable_namespaces):
2457 Return NULL not FALSE on errors as the return type is a pointer.
2459 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2461 * gio/glocalfile.c: (g_local_file_monitor_file):
2462 Don't call monitor_file on the default interface vtable (which
2463 is NULL) but simply return NULL. The caller, GFile, will create a
2464 polling monitor if NULL is returned.
2466 2007-10-09 Alexander Larsson <alexl@redhat.com>
2470 * gio-unix-2.0.pc.in:
2471 Add gio-unix-2.0.pc if OS_UNIX
2474 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2476 2007-10-09 Alexander Larsson <alexl@redhat.com>
2478 * gio/gunixmounts.[ch]:
2479 Make unix mount monitoring API sane.
2480 Now its just a object with mounts_changed
2481 and mountpoints_changed signals.
2483 * gio/glocaldirectorymonitor.c:
2484 * gio/gunixvolumemonitor.c:
2485 Use new mount monitor api
2487 2007-10-09 Alexander Larsson <alexl@redhat.com>
2489 * gio/gunixmounts.[ch]:
2490 Move guess type into one call for mounts and one for mountpoints
2493 * gio/gunixvolume.c:
2496 2007-10-09 Alexander Larsson <alexl@redhat.com>
2498 * gio/gunixmounts.[ch]:
2499 Remove _ prefix in preparation to make this semi-public
2500 Hide implementation of structs
2502 * gio/glocaldirectorymonitor.c:
2504 * gio/gunixvolume.c:
2505 * gio/gunixvolumemonitor.c:
2506 Update for above API changes
2508 2007-10-08 Alexander Larsson <alexl@redhat.com>
2511 Better polling fallback. This also handles the case where we have
2512 a monitor_file implementation, but it fails.
2514 2007-10-08 Alexander Larsson <alexl@redhat.com>
2518 * gio/gunixmounts.c:
2519 * programs/gio-monitor-dir.c:
2520 * programs/gio-monitor-file.c:
2521 Added cancellable to file monitoring calls.
2522 These are really sync calls and need this.
2524 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2526 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2527 (g_local_vfs_class_init):
2528 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2529 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2531 2007-10-05 Alexander Larsson <alexl@redhat.com>
2533 * gio/gdirectorymonitorprivate.h:
2534 * gio/gfilemonitorprivate.h:
2535 * gio/gdirectorymonitor.h:
2536 * gio/gfilemonitor.h:
2537 Remove *private.h and move to the public API, so that
2538 we can do implementations outside gio (such as in gvfs)
2540 * gio/gdirectorymonitor.c:
2541 * gio/gfilemonitor.c:
2542 * gio/glocaldirectorymonitor.c:
2543 * gio/gpollfilemonitor.c:
2544 * gio/inotify/inotify-helper.c:
2545 * gio/fam/fam-helper.c:
2546 Update to the new header names
2548 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2550 * gio/gdirectorymonitor.c:
2551 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2554 2007-10-04 Alexander Larsson <alexl@redhat.com>
2556 * gio/glocalfileinfo.c (get_access_rights):
2557 Set CAN_TRASH when we can move the file.
2558 We should really also check for a parent trash dir.
2560 2007-10-04 Alexander Larsson <alexl@redhat.com>
2562 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2563 Add can_trash access attribute
2565 2007-10-04 Alexander Larsson <alexl@redhat.com>
2568 (g_local_file_trash):
2569 Create info file first. This is per-spec and allows
2570 us to actually trash directories.
2572 2007-10-02 Alexander Larsson <alexl@redhat.com>
2574 * gio/gdesktopappinfo.c:
2575 Implement the new mime support code.
2576 Always set app as handling mimetype when being set as default for it
2578 2007-10-01 Alexander Larsson <alexl@redhat.com>
2580 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2581 Fix up check for xattrs:
2583 2007-10-01 Alexander Larsson <alexl@redhat.com>
2586 (g_app_info_set_as_default_for_extension):
2587 (g_app_info_add_supports_type):
2588 (g_app_info_can_remove_supports_type):
2589 (g_app_info_remove_supports_type):
2590 Make these fail nicely if not implemented
2592 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2594 * gio/glocalfileoutputstream.c:
2595 * gio/glocalfileoutputstream.h:
2600 * programs/gio-save.c:
2601 Add a GFileCreateFlags argument to operations that can create
2604 2007-10-01 Alexander Larsson <alexl@redhat.com>
2606 * gio/gappinfo.[ch]:
2607 * gio/gdesktopappinfo.c:
2608 Add more (stubbed out) mime API needed for nautilus
2610 2007-10-01 Alexander Larsson <alexl@redhat.com>
2613 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2614 Add g_app_info_set_as_default_for_extension.
2616 * gio/gdesktopappinfo.c:
2617 Dummy for g_app_info_set_as_default_for_extension
2618 Support flags in g_app_info_create_from_commandline
2620 * gio/gwin32appinfo.c:
2622 Update for API changes
2624 * gio/gthemedicon.c:
2625 Properly NULL-terminate list of icon names
2627 2007-09-28 Alexander Larsson <alexl@redhat.com>
2629 * gio/gloadableicon.h:
2630 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2632 2007-09-28 Alexander Larsson <alexl@redhat.com>
2635 Install headers in $includedir/gio-standalone/
2637 * gio-2.0.pc.in: Added.
2638 * gio-standalone.pc.in: Removed.
2641 Renamed pkg-config file to match glib (for future move)
2642 Update to the new include dir
2645 Add more TODO comments
2647 2007-09-28 Alexander Larsson <alexl@redhat.com>
2649 * gio/gdesktopappinfo.[ch]:
2650 Expose new_from_filename
2651 Add getter for is_hidden and handle it better
2653 2007-09-28 Alexander Larsson <alexl@redhat.com>
2655 * gio/gfileinfo.[ch]:
2656 Rename g_file_size_format_for_display to
2657 g_format_file_size_for_display.
2658 Now it doesn't have the g_file prefix, so we
2659 can later move it to glib.
2661 2007-09-28 Alexander Larsson <alexl@redhat.com>
2663 * gio/gappinfo.[ch]:
2664 Add g_app_info_get_id and g_app_info_get_executable.
2665 Make all getters non-reffing
2666 Make g_app_info_launch take GFile arguments.
2667 Add must_support_uris argument to g_app_info_get_default_for_type.
2669 * gio/gwin32appinfo.c:
2670 Update to GAppInfo api changes
2672 * gio/gdesktopappinfo.c:
2673 Update to GAppInfo api changes
2674 Implement supports_xdg_startup_notify
2676 * gio/gfileicon.c (g_file_icon_get_file):
2677 Make getter non-reffing.
2682 2007-09-27 Alexander Larsson <alexl@redhat.com>
2684 * gio/gfileinfo.[ch]:
2685 Add g_file_size_format_for_display helper
2687 2007-09-27 Alexander Larsson <alexl@redhat.com>
2689 * gio/glocalfileinfo.c:
2690 Set UNIX_GID from gid, not from uid
2692 2007-09-27 Alexander Larsson <alexl@redhat.com>
2695 Add g_file_set_attributes_async
2697 2007-09-27 Alexander Larsson <alexl@redhat.com>
2699 * gio/glocalfile.c (g_local_file_set_display_name):
2700 Fix set_display_name to actually rename to the right place.
2701 Use lstat to look for existing files so we don't overwrite
2704 2007-09-26 Alexander Larsson <alexl@redhat.com>
2707 Add g_file_set_display_name_async()
2709 2007-09-26 Alexander Larsson <alexl@redhat.com>
2712 Add load_partial_contents async calls
2715 Make internal function static
2717 2007-09-26 Alexander Larsson <alexl@redhat.com>
2719 * gio/glocalfileinfo.c:
2720 Correctly detect broken symlinks
2722 2007-09-26 Alexander Larsson <alexl@redhat.com>
2724 * gio/gcancellable.c (g_cancellable_cancel):
2725 Allow cancel on NULL cancellable
2727 2007-09-25 Alexander Larsson <alexl@redhat.com>
2729 * gio/gsimpleasyncresult.c:
2730 Don't allocate g_error manually.
2731 Fixes g_slice/g_new mixup crash
2733 2007-09-25 Alexander Larsson <alexl@redhat.com>
2735 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2736 Actually set active_backend.
2737 This means the monitor will be cancelled correctly.
2739 2007-09-25 Alexander Larsson <alexl@redhat.com>
2741 * gio/gdirectorymonitor.c:
2742 Set timeout to NULL when destroying
2744 2007-09-25 Alexander Larsson <alexl@redhat.com>
2747 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2748 that is a better description of the error.
2750 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2752 * gio/gvfs.c: (g_vfs_get_local):
2753 Make the local vfs variable static. The same instance should
2756 2007-09-24 Alexander Larsson <alexl@redhat.com>
2758 * gio/glocalfileinfo.c:
2759 Pass in actual length read into sniffer, not the length
2762 2007-09-21 Alexander Larsson <alexl@redhat.com>
2764 * gio/gfileenumerator.c:
2767 * gio/gfileinputstream.c:
2768 * gio/gfileoutputstream.c:
2769 * gio/ginputstream.c:
2770 * gio/goutputstream.c:
2771 Don't crash if async callbacks are NULL
2773 2007-09-20 Alexander Larsson <alexl@redhat.com>
2776 Add async enumerate_children method and default
2779 2007-09-20 Alexander Larsson <alexl@redhat.com>
2782 Add g_file_contains_file & g_file_get_relative_path, since they
2783 were needed for nautilus.
2784 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2789 Implement new methods
2791 2007-09-17 Alexander Larsson <alexl@redhat.com>
2794 * gio/gfileinputstream.[ch]:
2795 * gio/gfileoutputstream.[ch]:
2797 * gio/glocalfileenumerator.[ch]:
2798 * gio/glocalfileinfo.[ch]:
2799 * gio/glocalfileinputstream.c:
2800 * gio/glocalfileoutputstream.c:
2801 * gio/gpollfilemonitor.c:
2802 * programs/gio-copy.c:
2803 * programs/gio-info.c:
2804 * programs/gio-move.c:
2805 Rename get_file_info to query_info() to make it clearer
2806 that these are not simple getters, but do i/o.
2808 2007-09-17 Alexander Larsson <alexl@redhat.com>
2810 * gio/gdatainputstream.[ch]:
2811 * gio/test-streams.c:
2812 Use _read_XXX instead of _get_XXX for the i/o calls
2815 2007-09-17 Alexander Larsson <alexl@redhat.com>
2818 Added needed stuff to TODO comment
2820 2007-09-17 Alexander Larsson <alexl@redhat.com>
2822 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2823 Don't error out removing the backup copy if it doesn't
2826 2007-09-14 Alexander Larsson <alexl@redhat.com>
2828 * programs/Makefile.am:
2829 * programs/gvfs-*.c:
2831 Renamed apps from gvfs-xxx to gio-xxx.
2833 2007-09-14 Alexander Larsson <alexl@redhat.com>
2836 * gio/gfileoutputstream.[ch]:
2837 * gio/glocalfileoutputstream.c:
2838 * programs/gvfs-save.c:
2839 g_file_output_stream_get_etag doesn't do i/o, so remove
2840 cancellation and error.
2842 2007-09-14 Alexander Larsson <alexl@redhat.com>
2845 Add new_etag output to replace_contents functions
2847 2007-09-14 Alexander Larsson <alexl@redhat.com>
2849 * gio/gfileoutputstream.[ch]:
2850 Add async get_file_info and default implementation
2852 2007-09-14 Alexander Larsson <alexl@redhat.com>
2854 * gio/gfileinputstream.c:
2855 Implement fallback wrapper for async get_file_info
2857 2007-09-14 Alexander Larsson <alexl@redhat.com>
2860 Add etag out argument to load_contents
2865 2007-09-14 Alexander Larsson <alexl@redhat.com>
2867 * gio/gcontenttype.c (looks_like_text):
2868 Whitespace like tab, cr and lf do not make the
2871 2007-09-14 Alexander Larsson <alexl@redhat.com>
2873 * gio/gfileinputstream.[ch]:
2874 Add async get_file_info.
2876 2007-09-13 Alexander Larsson <alexl@redhat.com>
2878 * gio/goutputstream.c (g_output_stream_write_all):
2879 Allow NULL for bytes_written
2881 2007-09-13 Alexander Larsson <alexl@redhat.com>
2883 * gio/gmemoryinputstream.[ch]:
2884 Add accessors for data
2886 2007-09-13 Alexander Larsson <alexl@redhat.com>
2888 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2889 Don't crash if length is NULL