1 2008-01-17 Alexander Larsson <alexl@redhat.com>
4 Add the async find_enclosing_mount version
5 to the header file too.
7 2008-01-17 Alexander Larsson <alexl@redhat.com>
10 Add async version of find_enclosing_mount
11 with default implementation.
13 2008-01-17 Alexander Larsson <alexl@redhat.com>
18 Allow calls to implementation of copy and write
19 even if the type of the file implementations is
20 different. This can be used to implement native
21 upload and download calls in a vfs.
25 Protect against the case where move is called
26 with one file not being local.
28 Make sure we call the progress callback once
29 in the native move operation so that the caller
30 knows how many bytes were copied.
32 2008-01-16 Murray Cumming <murrayc@murrayc.com>
37 * gfileoutputstream.c:
42 * gunixmounts.c: Corrected some typos in the documentation:
44 its -> it's (where appropriate).
46 2008-01-16 Alexander Larsson <alexl@redhat.com>
50 Add g_file_query_exists (#508771)
52 2008-01-15 Murray Cumming <murrayc@murrayc.com>
57 * gvolume.c: For async functions that have no non-async
58 version, document that the GAsyncReadyCallback may be NULL.
61 2008-01-15 Alexander Larsson <alexl@redhat.com>
63 * gmemoryinputstream.c:
64 * gmemoryoutputstream.c:
65 Don't do pointer arithmetic on void * (#508602)
66 Patch from Kazuki IWAMOTO
68 2008-01-14 Matthias Clasen <mclasen@redhat.com>
70 * === Released 2.15.2 ===
72 2008-01-14 Alexander Larsson <alexl@redhat.com>
74 * gfile.c (g_file_monitor_file):
75 Don't set error here, since we fallback to polling monitor.
77 2008-01-14 Alexander Larsson <alexl@redhat.com>
80 (g_file_monitor_directory):
81 (g_file_monitor_file):
82 Add GError to file monitor calls
84 * glocaldirectorymonitor.c:
85 * glocaldirectorymonitor.h:
87 * glocalfilemonitor.c:
88 * glocalfilemonitor.h:
90 Update for above change
92 2008-01-14 Alexander Larsson <alexl@redhat.com>
96 Handle root correctly in g_file_get_relative_path (#508719)
98 2008-01-14 Alexander Larsson <alexl@redhat.com>
101 Clean up docs and example for GAsyncResult (#508074)
103 2008-01-11 Murray Cumming <murrayc@murrayc.com>
105 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
106 and correct some spelling mistakes. Bug #508108.
108 2008-01-11 Matthias Clasen <mclasen@redhat.com>
110 * glocalfileinfo.c: Add a comment.
112 2008-01-10 Murray Cumming <murrayc@murrayc.com>
114 * gfileinfo.c: GFileInfo description: Mention
115 how to actually set attributes in a GFile and how to discover
116 which attributes are settable. Bug #508378.
118 2008-01-10 A. Walton <awalton@svn.gnome.org>
120 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
121 (g_app_info_get_default_for_type):
122 Check for NULL content types.
124 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
126 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
128 2008-01-09 Murray Cumming <murrayc@murrayc.com>
130 * gfile.c: *_async() functions: Several small corrections
131 to the documentation, mostly correcting copy/paste errors
132 and improving some sentences.
134 2008-01-09 Dan Winship <danw@gnome.org>
136 * glocalfile.c (get_unique_filename): x86_64 fix
138 2008-01-09 Alexander Larsson <alexl@redhat.com>
143 Add g_unix_mount_guess_should_display and use
144 for unix volume monitor backend.
145 This means we more or less show what the
146 gnome-vfs backend did.
147 Based on patch from Padraig O'Briain
149 2008-01-09 Alexander Larsson <alexl@redhat.com>
153 Add g_themed_icon_new_with_default_fallbacks
156 Use default fallbacks for icons
158 2008-01-09 Alexander Larsson <alexl@redhat.com>
161 * gmountoperation.[ch]:
162 Change the API a bit so that unhandled methods
163 get reported via the reply, rather than by
164 the signal emission return value. This is because
165 some handlers can't know this immediately without
166 doing I/O, and this is an async operation that
169 2008-01-09 Alexander Larsson <alexl@redhat.com>
172 * fam/gfamdirectorymonitor.c:
173 * fam/gfamfilemonitor.c:
174 Fix double free crash (#508224)
175 Patch from Joe Marcus Clarke
177 008-01-07 Matthias Clasen <mclasen@redhat.com>
179 * === Released 2.15.1 ===
181 2008-01-07 Alexander Larsson <alexl@redhat.com>
183 * gunixinputstream.c (g_unix_input_stream_skip_finish):
184 Fix warning (#507835)
186 2008-01-07 Alexander Larsson <alexl@redhat.com>
189 Pass --internal to glib-genmarshal
194 Use better types for signal arguments (#507822)
196 2008-01-07 Alexander Larsson <alexl@redhat.com>
199 Build test subdir after .
200 Remove gdirectorymonitor.[ch]
202 * gdirectorymonitor.[ch]:
206 Remove GDirectoryMonitor and make
207 GFileMonitor the baseclass for both file and
208 directory monitors. Lift the more generic
209 rate limiting code from GDirectoryMonitor
213 * fam/gfamdirectorymonitor.[ch]:
214 * inotify/ginotifydirectorymonitor.[ch]:
215 * inotify/inotify-helper.c:
216 * glocaldirectorymonitor.[ch]:
219 Update for the removed GDirectoryMonitor.
221 * gmemoryoutputstream.c:
222 Remove ununsed variable
224 2008-01-07 Alexander Larsson <alexl@redhat.com>
226 * gmemoryinputstream.c:
227 Translate error strings
230 * gmemoryoutputstream.[ch]:
231 New implementation that avoids using GByteArray
232 in implementation and API. (#506377)
234 2008-01-06 Matthias Clasen <mclasen@redhat.com>
236 * tests/*: Add a test for memory input streams.
238 * Makefile.am: Add tests to SUBDIRS.
240 2008-01-06 Matthias Clasen <mclasen@redhat.com>
242 * glocalfilemonitor.c:
243 * glocaldirectorymonitor.c: Mark property nicks and blurbs
246 2008-01-06 Matthias Clasen <mclasen@redhat.com>
248 * gdesktopappinfo.c: Fix a docs typo.
250 * gfileattribute.c: Add information about extended attributes
251 to the documentation. (#505058)
253 2008-01-04 Alexander Larsson <alexl@redhat.com>
257 Use the right type (uint) for the ask_password signal.
259 2008-01-04 Alexander Larsson <alexl@redhat.com>
264 Add g_app_info_supports_files()
265 Remove desktop arg from g_app_info_should_show().
267 * gdesktopappinfo.[ch]:
268 Implement g_app_info_supports_files() and new should_show()
269 Add g_desktop_app_info_set_desktop_env() to set the desktop
270 for should_show(). (This will be set by gtk+ later)
272 2008-01-04 Alexander Larsson <alexl@redhat.com>
275 * gmemoryinputstream.[ch]:
276 Improve API so that you can use multiple chunks
277 of memory and custom destroy functions. (#506374)
279 2008-01-03 Alexander Larsson <alexl@redhat.com>
282 Handle NULL attribute matchers safely, as we return this
283 for empty attribute matcher strings.
285 2008-01-03 Alexander Larsson <alexl@redhat.com>
287 * gunixmounts.c (g_unix_is_mount_path_system_internal):
288 Add /usr/local to list of internal mountpoints
290 2008-01-03 Alexander Larsson <alexl@redhat.com>
293 Check for HAVE_LCHOWN (#505887)
295 2008-01-03 Alexander Larsson <alexl@redhat.com>
299 Add define for selinux context attribute.
300 Fix missing : -> :: namespace separator change
301 Fix missing _ -> - name change for xattr-sys.
304 2008-01-03 Alexander Larsson <alexl@redhat.com>
307 Link to libglib and libgobject directly (#504879)
308 Patch from Sebastien Bacher
310 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
312 * gfile.c: Expanded the g_file_new_for_commandline_arg
313 description a bit, based on the code and the docs of the
314 other g_file_new_for_* functions.
316 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
318 * gfilemonitor.h: Fixed typo in docs.
320 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
322 Updates to GIO documentation. (#506395, Mikael Hermansson)
324 * gcontenttype.c: Describe memory management for return value of
325 g_content_types_get_registered(). Missing piece from #505815.
326 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
327 GVolume, GDrive, GMounts, which hopefully gives the user less
328 confusions when using this API. Following explainations from
329 Alexander Larsson on gtk-devel-list.
331 2007-12-30 Matthias Clasen <mclasen@redhat.com>
333 * gfileinfo.c: Expand the long description.
335 2007-12-30 Matthias Clasen <mclasen@redhat.com>
338 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
339 fix builds with --disable-visibility. (#500273, Christian Persch)
341 2007-12-30 Matthias Clasen <mclasen@redhat.com>
343 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
344 in the list of returned app infos.
346 2007-12-30 Matthias Clasen <mclasen@redhat.com>
348 * gappinfo.c: Fix a cross-reference
350 2007-12-30 Matthias Clasen <mclasen@redhat.com>
352 * gfileinputstream.c:
353 * gfileoutputstream.c:
359 * gfileinfo.c: Documentation updates.
361 2007-12-26 Matthias Clasen <mclasen@redhat.com>
363 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
366 2007-12-26 Matthias Clasen <mclasen@redhat.com>
368 * gcontenttype.c (g_content_types_get_registered): Don't return
369 freed memory (#505815, Mikael Hermansson)
371 2007-12-25 Paolo Borelli <pborelli@katamail.com>
373 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
374 used to detect statbuf->st_blocks. (#505042)
376 2007-12-24 Matthias Clasen <mclasen@redhat.com>
378 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
379 environment handling. (#504829, Cosimo Cecchi)
381 2007-12-22 Matthias Clasen <mclasen@redhat.com>
383 * gappinfo.c: Doc improvements
385 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
388 2007-12-20 Matthias Clasen <mclasen@redhat.com>
390 * === Released 2.15.0 ===
392 2007-12-20 Hans Breuer <hans@breuer.org>
394 * makefile.msc : don't build gdesktopappinfo.obj, it collides
395 with symbols gwin32appinfo.obj, added gmount.obj
396 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
398 2007-12-20 Alexander Larsson <alexl@redhat.com>
404 * gfilenamecompleter.c:
407 * gpollfilemonitor.c:
408 File attribute renames:
411 id::fs -> id::filesystem
413 2007-12-20 Alexander Larsson <alexl@redhat.com>
422 Add GMountUnmountFlags to all unmount and
424 Add g_mount_remount() call.
426 2007-12-20 Alexander Larsson <alexl@redhat.com>
428 * gvfs.c (get_default_vfs):
429 Fix unused variable warning
431 2007-12-19 Matthias Clasen <mclasen@redhat.com>
433 * pltcheck.sh: Update
435 2007-12-19 Matthias Clasen <mclasen@redhat.com>
437 * gunionvolumemonitor.c:
438 * gunixmount.c: Remove C99 comments
440 2007-12-19 Matthias Clasen <mclasen@redhat.com>
442 * gio.symbols: Add some missing symbols
444 2007-12-19 Alexander Larsson <alexl@redhat.com>
447 Make g_io_modules_load_all_in_directory not unuse
448 loaded modules so that users of it can do stuff
450 Init internal "module" types.
451 Initialize static prio and name for types so that
452 we don't have to load modules to get it.
454 * gnativevolumemonitor.h:
456 Move is_supported to parent class so that
457 non-native monitors can avoid being initialized
458 too. (For instance GDaemonVolumeMonitor if we're
459 not using GDaemonVfs.)
461 * glocaldirectorymonitor.[ch]:
462 * glocalfilemonitor.[ch]:
463 * gunionvolumemonitor.c:
464 * gunixvolumemonitor.c:
466 Find plugins using the static prio+name to
467 avoid unnecessarily loading the modules.
469 2007-12-19 Alexander Larsson <alexl@redhat.com>
474 2007-12-19 Alexander Larsson <alexl@redhat.com>
476 * gunionvolumemonitor.c:
477 Store the native type as GType, not class so that
478 we can unload it. But still avoid unnecessarily
481 2007-12-19 David Zeuthen <davidz@redhat.com>
483 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
484 add signals 'disconnected' and 'eject-button' on GDrive. Add
485 signal 'removed' on GVolume and 'unmounted' on GMount.
487 * gdrive.c: (g_drive_base_init):
489 * gfile.c: (g_file_mount_mountable),
490 (g_file_mount_enclosing_volume):
493 * gmount.c: (g_mount_base_init):
495 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
496 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
497 * gvolume.c: (g_volume_base_init), (g_volume_mount):
501 2007-12-17 Matthias Clasen <mclasen@redhat.com>
503 * *.c: Fix up includes in the section docs.
505 2007-12-17 Alexander Larsson <alexl@redhat.com>
507 * gnativevolumemonitor.h:
508 * gunionvolumemonitor.c:
509 * gunixvolumemonitor.c:
510 Add is_supported() to GNativeVolumeMonitorClass so
511 that we can avoid having to create an object to see
512 if the backend is supported at runtime.
513 Also add name member and an env var to pick a specific
514 volume monitor backend.
518 Add cancellable to _g_mount_get_for_mount_path()
520 * glocaldirectorymonitor.c:
521 * glocalfilemonitor.c:
522 Avoid loading and unloading modules while sorting.
524 2007-12-17 Matthias Clasen <mclasen@redhat.com>
527 * gunixmounts.[hc]: Namespace waste reduction, move some
528 g_get_unix_mount functions to the g_unix_mount namespace.
531 * gunixvolumemonitor.c:
533 * glocaldirectorymonitor.c: Update all callers.
535 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
537 2007-12-17 Alexander Larsson <alexl@redhat.com>
540 Add doc comments about what GFile operations are
541 guaranteed to not block.
543 2007-12-17 Alexander Larsson <alexl@redhat.com>
546 Add missing #ifdef fixing OSX build.
547 (#503334, patch from Richard Hult)
549 2007-12-14 David Zeuthen <davidz@redhat.com>
553 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
554 (g_mount_eject), (g_mount_eject_finish):
556 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
557 (get_volume_for_uuid), (get_mount_for_uuid),
558 (g_union_volume_monitor_class_init),
559 (get_default_native_type_with_exclude), (get_default_native_type),
560 (get_native_type), (update_native_type),
561 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
562 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
563 (g_unix_mount_can_eject), (eject_unmount_cb),
564 (eject_unmount_read_error), (eject_unmount_do),
565 (g_unix_mount_unmount), (g_unix_mount_eject),
566 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
567 * gunixmounts.c: (g_unix_mount_guess_can_eject),
568 (g_unix_mount_point_guess_can_eject):
570 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
571 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
572 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
573 (g_unix_volume_mount), (g_unix_volume_eject),
574 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
575 * gunixvolumemonitor.c: (get_volume_for_uuid),
576 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
578 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
579 (g_volume_eject), (g_volume_eject_finish):
581 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
582 (g_volume_monitor_get_mount_for_uuid):
585 Provide eject() on both GMount and GVolume and utility functions
586 to guess whether a GUnixMountPoint or GUnixMountEntry should be
587 ejected. Introduce the concept of UUID's and wire it into GVolume
588 and GMount and provide API on GVolumeMonitor to find such
589 instances. Also handle the case where an external
590 GNativeVolumeMonitor fails to initialize. Lock around the
591 _g_get_mount_for_mount_path() function such that volume monitor
592 implementations won't have to do locking themselves.
594 2007-12-17 Matthias Clasen <mclasen@redhat.com>
602 * gvolume.h: Documentation updates
604 2007-12-14 Matthias Clasen <mclasen@redhat.com>
607 * gfile.h: Doc updates
609 2007-12-14 Matthias Clasen <mclasen@redhat.com>
612 * gdesktopappinfo.c: Use hash table iterators.
614 2007-12-14 Alexander Larsson <alexl@redhat.com>
617 * gfileattribute.[ch]:
618 * gfileattribute-priv.h:
619 Move GFileAttributeValue to a private header, as
623 Make set_attribute take a type + a pointer instead
624 of a GFileAttributeValue.
627 Fix up for above changes.
628 Add g_file_info_get_attribute_data to get
629 all info in one call, g_file_info_get_attribute_status
630 to get the status and g_file_info_get_attribute_as_string.
634 * glocalfileinfo.[ch]:
638 Make _guess_type static.
640 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
643 * inotify/Makefile.am: Fixed build when srcdir != builddir,
644 made mkenums and friends use temporary files to avoid leaving
645 empty generated files on failure (#503470).
647 2007-12-14 Alexander Larsson <alexl@redhat.com>
652 2007-12-14 Alexander Larsson <alexl@redhat.com>
656 * gfileattribute.[ch]:
659 * glocalfileoutputstream.c:
660 * gmountoperation.[ch]:
661 * goutputstream.[ch]:
662 Clean up all flags enums to not have _FLAGS in them
663 Make the names of some of the enums better.
668 2007-12-14 Michael Natterer <mitch@imendio.com>
670 * gio.symbols: fix g_io_scheduler symbol names.
672 2007-12-14 Alexander Larsson <alexl@redhat.com>
678 * gbufferedinputstream.h:
679 * gbufferedoutputstream.h:
682 * gdatainputstream.h:
683 * gdataoutputstream.h:
685 * gdirectorymonitor.h:
692 * gfileinputstream.h:
694 * gfilenamecompleter.h:
695 * gfileoutputstream.h:
696 * gfilterinputstream.h:
697 * gfilteroutputstream.h:
705 * gmemoryinputstream.h:
706 * gmemoryoutputstream.h:
711 * gsimpleasyncresult.h:
713 * gunixinputstream.h:
715 * gunixoutputstream.h:
719 * inotify/Makefile.am:
720 Only allow including <gio/gio.h> from apps
722 2007-12-14 Alexander Larsson <alexl@redhat.com>
725 * gsimpleasyncresult.c:
726 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
727 Split out the send_to_mainloop call into two versions instead
728 of having the block argument.
730 2007-12-13 Alexander Larsson <alexl@redhat.com>
734 * gbufferedinputstream.c:
736 * gfileinputstream.c:
737 * gfileoutputstream.c:
741 g_push/pop_current_cancellable ->
742 g_cancellable_push/pop_current
744 2007-12-13 Alexander Larsson <alexl@redhat.com>
748 Rename g_mount_for_location to g_file_mount_enclosing_volume.
750 2007-12-13 Alexander Larsson <alexl@redhat.com>
753 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
755 2007-12-12 Alexander Larsson <alexl@redhat.com>
758 Fix race condition when freeing proxy in
759 g_io_job_send_to_mainloop().
761 2007-12-12 Alexander Larsson <alexl@redhat.com>
767 Make attribute namespace separator "::" instead of ":".
768 Use - instead of _ as separator in attribute names.
770 2007-12-12 Alexander Larsson <alexl@redhat.com>
772 * gbufferedinputstream.h:
773 * gbufferedoutputstream.h:
774 * gdatainputstream.h:
775 * gdataoutputstream.h:
776 * gdirectorymonitor.h:
778 * gfileinputstream.h:
780 * gfileoutputstream.h:
781 * gfilterinputstream.h:
782 * gfilteroutputstream.h:
784 * glocalfileinputstream.h:
785 * glocalfileoutputstream.h:
786 * gmemoryinputstream.h:
787 * gmemoryoutputstream.h:
788 * gnativevolumemonitor.h:
790 * gunixinputstream.h:
791 * gunixoutputstream.h:
794 s/parent/parent_instance/ in GObjects
796 2007-12-12 Alexander Larsson <alexl@redhat.com>
801 No need for padding for interfaces
803 2007-12-12 Alexander Larsson <alexl@redhat.com>
807 * gbufferedinputstream.c:
808 * gbufferedoutputstream.c:
811 * gdatainputstream.[ch]:
813 * gdirectorymonitor.c:
815 * gfileattribute.[ch]:
818 * gfileinputstream.h:
820 * gfileoutputstream.[ch]:
821 * gfilterinputstream.h:
822 * gfilteroutputstream.h:
825 * gloadableicon.[ch]:
826 * gmemoryinputstream.c:
829 Fix up a bunch of details in the docs.
834 2007-12-11 David Zeuthen <davidz@redhat.com>
836 Rework how volumes, drives and volume monitoring is
837 done. Previosly the model was
841 where a GDrive instance represented a mount point and a GVolume
842 instance represented a mounted file system. This patch changes it
845 GDrive <1-N> GVolume <1-1> GMount
847 where GMount now serves the purpose of the old GVolume and the new
848 GVolume serves the purpose of the old GDrive. In addition the new
849 GDrive interface is used to represent a collection of GVolume
850 instances (typically partitions) and also contains utility to query
851 the state of the physical drive the GDrive object represents (such
852 as checking for media, polling the drive, ejecting the media etc.).
854 Also implement mounting and unmounting in the Unix volume monitor
855 backend. A subquent patch will introduce GDrive support for ejection
859 * gdrive.c: (g_drive_is_media_check_automatic),
860 (g_drive_is_media_removable), (g_drive_has_media),
861 (g_drive_can_poll_for_media), (g_drive_eject),
862 (g_drive_eject_finish), (g_drive_poll_for_media),
863 (g_drive_poll_for_media_finish):
865 * gfile.c: (g_file_find_enclosing_mount):
868 * glocaldirectorymonitor.c:
869 (g_local_directory_monitor_constructor), (mounts_changed):
870 * glocalfile.c: (get_mount_info),
871 (g_local_file_find_enclosing_mount),
872 (g_local_file_file_iface_init):
873 * gnativevolumemonitor.h:
874 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
875 (get_connected_drives), (g_union_volume_monitor_class_init),
876 (child_volume_added), (child_volume_removed),
877 (child_volume_changed), (child_mount_added), (child_mount_removed),
878 (child_mount_pre_unmount), (child_mount_changed),
879 (child_drive_changed), (g_union_volume_monitor_add_monitor),
880 (g_union_volume_monitor_remove_monitor),
881 (_g_mount_get_for_mount_path):
882 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
883 (guess_system_internal), (_g_get_unix_mounts),
884 (_g_get_unix_mount_points), (g_get_unix_mount_at),
885 (g_unix_mount_free), (g_unix_mount_compare),
886 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
887 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
888 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
889 (type_to_icon), (g_unix_mount_guess_name),
890 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
891 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
892 (_resolve_symlink), (_resolve_dev_root):
894 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
895 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
896 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
897 (g_unix_volume_get_name), (g_unix_volume_can_mount),
898 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
899 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
900 (g_unix_volume_mount), (g_unix_volume_mount_finish),
901 (g_unix_volume_volume_iface_init):
903 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
904 (get_mounts), (get_volumes), (get_connected_drives),
905 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
906 (mountpoints_changed), (mounts_changed),
907 (g_unix_volume_monitor_init),
908 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
909 (find_mount_by_mountpath), (update_volumes), (update_mounts):
910 * gunixvolumemonitor.h:
911 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
912 (g_volume_mount), (g_volume_mount_finish):
914 * gvolumemonitor.c: (g_volume_monitor_class_init),
915 (g_volume_monitor_get_connected_drives),
916 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
919 2007-12-10 Matthias Clasen <mclasen@redhat.com>
921 * gmountoperation.h (GPasswordFlags): Close the gap
923 2007-12-10 Matthias Clasen <mclasen@redhat.com>
925 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
927 * gdesktopappinfo.[hc]: Remove _-prefixes
929 2007-12-10 Tor Lillqvist <tml@novell.com>
931 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
934 2007-12-10 Alexander Larsson <alexl@redhat.com>
936 * gfile.c (g_file_set_display_name):
937 Don't hardcode '/' (#502727)
939 2007-12-09 Hans Breuer <hans@breuer.org>
941 * makefile.msc : follow lib naming convention
942 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
943 for user and group name, tested with ../tests/gio-ls
945 2007-12-09 A. Walton <awalton@svn.gnome.org>
958 * gmemoryinputstream.c:
959 * gmemoryoutputstream.c:
961 * gsimpleasyncresult.c:
962 More documentation cleanup and filling in missing information, bringing
963 GIO to 99% symbol coverage.
965 2007-12-08 Hans Breuer <hans@breuer.org>
967 [gio compiles and links on win32, not sure how much already works]
968 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
969 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
970 base on win32 API; prefer g_lstat() over lstat(); instead of
971 localtime_r() use an all GLib implementation on win32;
972 get_mount_info() still needs a win32 specifc implementation
973 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
974 win32_get_file_user_info to get owner/group info without uid/gid
975 * glocalfileinputstream.c : include <io.h> on win32
976 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
977 definition, use g_win32_ftruncate() for G_OS_WIN32
978 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
979 it is available with mingw/w32api but a mess with the M$ Platform SDKs
980 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
981 * makefile.msc : updated
983 2007-12-07 Alexander Larsson <alexl@redhat.com>
985 * glocalfileenumerator.c (_g_local_file_enumerator_new):
986 Avoid warning spew if error == NULL
988 2007-12-07 Alexander Larsson <alexl@redhat.com>
991 Update docs wrt etags
993 2007-12-06 Alexander Larsson <alexl@redhat.com>
996 Include sys/types.h for dev_t (#501919)
998 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1002 Make abicheck and pltcheck pass.
1004 2007-12-05 Alexander Larsson <alexl@redhat.com>
1007 * giomodule-priv.h: Added.
1008 * glocaldirectorymonitor.c:
1009 * glocalfilemonitor.c:
1010 * gunionvolumemonitor.c:
1012 Actually add the declaration of _g_io_modules_ensure_loaded
1014 2007-12-05 Alexander Larsson <alexl@redhat.com>
1016 * gdatainputstream.c:
1021 * glocaldirectorymonitor.c:
1022 * glocalfilemonitor.c:
1023 * gunionvolumemonitor.c:
1025 Make g_io_modules_ensure_loaded a private function and
1026 don't pass in the dirname. This means we can do magic
1027 directory finding in the win32 version.
1028 Export the actual load-modules-in-directory code so that
1029 gvfs can reuse that.
1031 2007-12-05 Alexander Larsson <alexl@redhat.com>
1033 * gbufferedinputstream.c:
1034 * gbufferedoutputstream.c:
1037 * gfileenumerator.[ch]:
1038 * gfileinputstream.c:
1039 * gfileoutputstream.[ch]:
1040 * gfilterinputstream.c:
1041 * gfilteroutputstream.c:
1042 * ginputstream.[ch]:
1044 * glocalfileenumerator.c:
1045 * glocalfileinputstream.c:
1046 * glocalfileoutputstream.c:
1047 * gmemoryinputstream.c:
1048 * gmemoryoutputstream.c:
1049 * goutputstream.[ch]:
1052 * gunixinputstream.c:
1053 * gunixoutputstream.c:
1054 Rename all struct members named:
1055 read, write, close, truncate, or mount
1056 to foo_fn, as these are reserved names
1057 and could be defined as macros in libc.
1060 2007-12-04 Alexander Larsson <alexl@redhat.com>
1063 (g_output_stream_close):
1064 Only call flush if non-null.
1066 2007-11-30 Dan Winship <danw@gnome.org>
1068 * ginputstream.c (g_input_stream_set_pending): Make this take a
1069 GError and return a gboolean, and do the "outstanding operation"
1070 check (and the "stream is already closed" check) itself.
1071 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1073 * goutputstream.c (g_output_stream_set_pending)
1074 (g_output_stream_clear_pending): Likewise
1076 * gbufferedinputstream.c:
1077 * gfileinputstream.c:
1078 * gfileoutputstream.c: Update for that
1080 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1081 Like g_simple_async_report_error_in_idle, but takes a GError
1082 rather than building one.
1084 2007-11-30 Dan Winship <danw@gnome.org>
1086 * goutputstream.c: Don't cheat and unset the "pending" flag around
1087 inner calls. Instead, call the class method directly rather than
1088 the wrapper function that checks "pending"
1090 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1092 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1094 2007-12-03 Hans Breuer <hans@breuer.org>
1096 [start of port to win32/msvc]
1097 * gcancellable.c : HAVE_UNIST_H and _pipe()
1098 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1099 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1100 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1102 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1103 * glocalvfs.c : use HAVE_PWD_H
1104 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1105 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1106 * Makefile.am : added to EXTRA_DIST
1108 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1110 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1113 2007-12-03 Alexander Larsson <alexl@redhat.com>
1116 Handle OSX style xattrs API (#500506)
1118 2007-12-03 Alexander Larsson <alexl@redhat.com>
1122 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1124 2007-12-02 A. Walton <awalton@svn.gnome.org>
1128 Documentation accuracy fixes.
1130 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1132 * gioenumtypes.c.template: Fix typo.
1134 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1136 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1138 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1140 * gdirectorymonitor.c:
1141 * gfilemonitor.c: Add properties
1143 * gbufferedoutputstream.c: Don't mark buffer-size property
1146 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1148 * gbufferedoutputstream.c: Add auto-grow property.
1150 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1152 * *.c: Unify the capitalization of section headings.
1154 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1156 * gmountoperation.c: Add properties
1158 * gdatainputstream.c: Turn byte-order and newline-type into
1161 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1163 * gioenumtypes.[hc].template: Templates for enum registration
1165 * Makefile.am: Generate gioenumtypes.[hc]
1167 * gio.h: Include gioenumtypes.h
1169 * gfile.h: Add some explicit nicks.
1171 * gio.symbols: Add new symbols
1173 * pltcheck.sh: Adjust
1175 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1177 * *.c: Explain etags and link to the explanation
1179 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1181 * *.c: Explain I/O priority.
1183 * *.c: More coding style fixes.
1185 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1187 * gasyncresult.c: Add another paragraph to the intro,
1188 adjust coding style of example.
1190 2007-11-29 A. Walton <awalton@svn.gnome.org>
1193 Fixes unknown meaning in GAppLaunchContext docs.
1195 Clarify asynchronous ops.
1197 Fix entity tag docs.
1200 Provides missing gtk-doc section, fixes API docs slighly.
1201 * gsimpleasyncresult.c:
1202 Fill in missing info in docs.
1203 * gunixinputstream.c:
1204 * gunixoutputstream.c:
1205 Be more expressive in short description.
1207 Remove gtk-doc stubs for non-public API.
1209 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1211 * *.c: Coding style fixups
1213 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1215 * inotify/inotify-helper.c: Don't export the lock from libgio.
1217 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1220 * abicheck.sh: Fix copy-and-paste leftovers
1222 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1224 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1226 2007-11-28 Alexander Larsson <alexl@redhat.com>
1230 Removed unnecessary file
1232 * gdesktopappinfo.[ch]:
1235 * glocaldirectorymonitor.[ch]:
1237 * glocalfileenumerator.[ch]:
1238 * glocalfileinputstream.[ch]:
1239 * glocalfilemonitor.[ch]:
1240 * glocalfileoutputstream.[ch]:
1242 * gnativevolumemonitor.c:
1243 * gpollfilemonitor.[ch]:
1244 * gunionvolumemonitor.[ch]:
1247 * gunixvolumemonitor.[ch]:
1250 * inotify/ginotifydirectorymonitor.[ch]:
1251 * inotify/ginotifyfilemonitor.[ch]:
1252 * inotify/inotify-helper.c:
1253 Append _ to all internal functions
1257 Export symbols needed for modules
1259 2007-11-28 Alexander Larsson <alexl@redhat.com>
1262 * abicheck.sh: Added.
1263 * makegioalias.pl: Added.
1264 * pltcheck.sh: Added.
1265 * gio.symbols: Added.
1268 Initial work on adding symbol handling.
1271 Correct ifdef guard name
1274 * inotify/Makefile.am:
1275 * xdgmime/Makefile.am:
1276 Include toplevel Makefile.decl
1278 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1280 * gcontenttype.c: Move doc comments to the unix section.
1282 * *.[hc]: More trivial doc corrections.
1284 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1286 * gpollfilemonitor.c:
1290 * gdesktopappinfo.c:
1295 * gdatainputstream.c:
1296 * gdatainputstream.h:
1297 * gdataoutputstream.c:
1298 * gdataoutputstream.h:
1299 * gfileinfo.h: Doc cleanups
1301 2007-11-28 Andre Klapper <a9016009@gmx.de>
1303 * gdesktopappinfo.c: Fix a typo.
1305 2007-11-27 Andre Klapper <a9016009@gmx.de>
1307 * glocalfileoutputstream.c: Fix a typo.
1309 2007-11-27 Alexander Larsson <alexl@redhat.com>
1312 Don't include removed headers
1314 2007-11-27 Alexander Larsson <alexl@redhat.com>
1317 * gsocketinputstream.[ch]: Removed.
1318 * gsocketoutputstream.[ch]: Removed.
1319 * gunixinputstream.[ch]: Added.
1320 * gunixoutputstream.[ch]: Added.
1321 Renamed GSocket*Stream to GUnix*Stream and made
1322 it unix-only, since its not really only for sockets
1323 and it only works on unix (but is highly useful there).
1325 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1331 * gbufferedinputstream.c:
1332 * gbufferedinputstream.h:
1333 * gbufferedoutputstream.c:
1334 * gbufferedoutputstream.h:
1338 * gdatainputstream.c:
1339 * gdatainputstream.h:
1340 * gdataoutputstream.c:
1341 * gdataoutputstream.h:
1342 * gdirectorymonitor.c:
1343 * gdirectorymonitor.h:
1350 * gfileenumerator.c:
1351 * gfileenumerator.h:
1356 * gfileinputstream.c:
1357 * gfileinputstream.h:
1360 * gfilenamecompleter.c:
1361 * gfilenamecompleter.h:
1362 * gfileoutputstream.c:
1363 * gfileoutputstream.h:
1364 * gfilterinputstream.c:
1365 * gfilterinputstream.h:
1366 * gfilteroutputstream.c:
1367 * gfilteroutputstream.h:
1380 * glocalfileoutputstream.c:
1381 * gmemoryinputstream.c:
1382 * gmemoryinputstream.h:
1383 * gmemoryoutputstream.c:
1384 * gmemoryoutputstream.h:
1385 * gmountoperation.c:
1386 * gmountoperation.h:
1389 * gpollfilemonitor.c:
1392 * gsimpleasyncresult.c:
1393 * gsimpleasyncresult.h:
1394 * gsocketinputstream.c:
1395 * gsocketinputstream.h:
1396 * gsocketoutputstream.c:
1397 * gsocketoutputstream.h:
1404 * gunixvolumemonitor.c:
1413 Bumps documentation to 93% symbol coverage, touching most
1414 of the public files. Fixes broken function documentation prototypes.
1415 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1416 gtk-doc headers in private files.
1418 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1420 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1421 (g_buffered_input_stream_read_byte):
1422 * gbufferedinputstream.h:
1423 New functions for efficient access to buffer and simple single byte
1426 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1427 (g_data_input_stream_read_until):
1428 * gdatainputstream.h:
1429 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1430 read_until with multiple stop chars.
1432 2007-11-27 Alexander Larsson <alexl@redhat.com>
1436 * inotify/Makefile.am:
1437 Use the user-specified giomoduledir
1439 2007-11-27 Alexander Larsson <alexl@redhat.com>
1443 Add catch-all gio.h header
1444 Don't install gdummyfile.h
1446 2007-11-26 Alexander Larsson <alexl@redhat.com>
1448 * Makefile.am (gioinclude_HEADERS):
1449 Remove trailing whitespace
1451 2007-11-26 Alexander Larsson <alexl@redhat.com>
1453 Merge gio-standalone into glib
1455 2007-11-25 Christian Kellner <gicmo@gnome.org>
1457 * gio/goutputstream.c:
1458 Fix small mistake in the docs.
1460 2007-11-21 Christian Persch <chpe@gnome.org>
1462 * gio/glocalfile.c: (g_local_file_trash):
1463 Convert filenames to UTF-8 for GError.
1464 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1465 as per xdg base dir spec.
1467 2007-11-21 Christian Persch <chpe@gnome.org>
1469 * gio/gdesktopappinfo.c:
1470 Use that g_key_file_to_data cannot fail.
1472 Use stock defines for the key file group and key names.
1475 2007-11-21 Alexander Larsson <alexl@redhat.com>
1478 (copy_stream_with_progress):
1479 Make sure we do a final progress callback with
1480 the full total size.
1482 2007-11-21 Alexander Larsson <alexl@redhat.com>
1485 Export g_file_copy_attributes
1486 Remove padding as its not needed for interfaces
1488 2007-11-20 Alexander Larsson <alexl@redhat.com>
1493 Add G_IO_ERROR_WOULD_MERGE for
1494 copy/move dir on dir with overwrite.
1496 2007-11-20 Alexander Larsson <alexl@redhat.com>
1499 * gio/glocalfileinfo.c:
1500 Add COPY_NAME (this is an optional
1501 non-modified utf8 version of the name) that
1504 2007-11-20 Alexander Larsson <alexl@redhat.com>
1506 * gio/glocalfileenumerator.c:
1507 Report errors as GIOError, not GFileError
1509 2007-11-16 Alexander Larsson <alexl@redhat.com>
1511 * gio/glocalfileoutputstream.c:
1512 * gio/gwin32appinfo.c:
1513 Fix typos in strings.
1514 Patch from Luca Ferretti <elle.uca@libero.it>
1516 2007-11-15 Alexander Larsson <alexl@redhat.com>
1519 Post release version bump
1521 === gio-standalone 0.1.2 ===
1523 2007-11-15 Alexander Larsson <alexl@redhat.com>
1525 * docs/reference/gio/Makefile.am:
1526 Fix up distcheck by removing weird
1532 2007-11-14 Alexander Larsson <alexl@redhat.com>
1534 * gio/gdesktopappinfo.c:
1535 * gio/glocaldirectorymonitor.c:
1537 * gio/glocalfileinfo.c:
1538 * gio/inotify/inotify-sub.c:
1539 * programs/gio-cat.c:
1540 * programs/gio-copy.c:
1541 * programs/gio-info.c:
1542 * programs/gio-ls.c:
1543 * programs/gio-monitor-dir.c:
1544 * programs/gio-monitor-file.c:
1545 * programs/gio-mount.c:
1546 * programs/gio-move.c:
1547 * programs/gio-rm.c:
1548 * programs/gio-save.c:
1549 * programs/gio-trash.c:
1550 Leak fixes from Kjartan Maraas
1552 2007-11-14 Alexander Larsson <alexl@redhat.com>
1554 * gio/fam/fam-helper.c:
1556 * gio/glocalfileinfo.c:
1560 * gio/inotify/inotify-diag.c:
1561 * gio/inotify/inotify-kernel.c:
1562 Various code cleanups from Kjartan Maraas
1564 2007-11-14 Alexander Larsson <alexl@redhat.com>
1566 * gio/gioscheduler.c:
1568 Set up threadpool so that we cache 2 unused
1569 idle threads for at 15 secs. This means we
1570 will reuse thread-local data (like dbus connections)
1573 2007-11-14 Alexander Larsson <alexl@redhat.com>
1575 * gio/fam/fam-helper.c:
1576 * gio/fam/gfamdirectorymonitor.c:
1577 * gio/fam/gfamfilemonitor.c:
1579 * gio/gcontenttype.c:
1580 * gio/gdatainputstream.c:
1581 * gio/gdataoutputstream.c:
1585 * gio/gfileattribute.h:
1586 * gio/gfileenumerator.c:
1588 * gio/ginputstream.c:
1591 * gio/glocalfileinfo.c:
1592 * gio/goutputstream.c:
1593 * gio/gpollfilemonitor.c:
1594 * gio/gsimpleasyncresult.c:
1595 * gio/gunixmounts.c:
1596 * gio/gunixmounts.h:
1597 * gio/inotify/ginotifydirectorymonitor.c:
1598 * gio/inotify/ginotifyfilemonitor.c:
1599 * gio/inotify/inotify-diag.c:
1600 * gio/inotify/inotify-kernel.c:
1601 * gio/inotify/inotify-path.c:
1603 * gio/test-streams.c:
1604 * programs/gio-info.c:
1605 * programs/gio-monitor-dir.c:
1606 * programs/gio-monitor-file.c:
1607 Various code cleanups from Kjartan Maraas
1609 2007-11-13 Alexander Larsson <alexl@redhat.com>
1612 Handle the uri-scheme calls for dummy files
1614 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1616 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1617 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1618 to avoid clash with the C++ keyword.
1620 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1622 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1623 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1625 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1627 * gio/glocaldirectorymonitor.c:
1628 * gio/glocalfilemonitor.c:
1629 * gio/gunionvolumemonitor.c:
1630 Don't use g_once_init_*() for initializations that could fail and
1631 could leave the initialization variable set to 0 but use GOnce.
1632 This prevents a deadlock on the second call when trying to create
1633 a monitor and no monitor type is available. Thanks to Sven Herzberg
1636 2007-11-11 Sven Herzberg <sven@imendio.com>
1638 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1639 #ifdef (make it work on MacOS X again)
1641 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1643 Fixes Changelog for last two commits (sorry guys).
1645 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1647 * gio/gbufferedinputstream.c:
1648 * gio/gdatainputstream.c:
1650 * gio/gfileoutputstream.c:
1651 * gio/gfilterinputstream.c:
1652 * gio/glocalfileinputstream.c:
1655 More consistency fixes in g*stream.c files.
1656 Significant clean of gfile's documentation, filling in of
1657 asynchronous operations documentation.
1659 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1661 * gio/gasyncresult.c:
1662 * gio/gbufferedinputstream.c:
1663 * gio/gbufferedoutputstream.c:
1664 * gio/gcancellable.c:
1665 * gio/gcontenttype.c:
1666 * gio/gdatainputstream.c:
1667 * gio/gdataoutputstream.c:
1668 * gio/gdesktopappinfo.c:
1671 * gio/gfileattribute.c:
1672 * gio/gio/gfileenumerator.c:
1674 * gio/gfileinputstream.c:
1675 * gio/gfilemonitor.c:
1676 * gio/gfileoutputstream.c:
1677 * gio/ginputstream.c:
1679 * gio/gioscheduler.c:
1680 * gio/gloadableicon.c:
1681 * gio/glocalfileoutputstream.c:
1682 * gio/gmemoryoutputstream.c:
1683 * gio/gmountoperation.c:
1684 * gio/goutputstream.c:
1686 * gio/gsimpleasyncresult.c:
1687 * gio/gunionvolumemonitor.c:
1688 * gio/gunixmounts.c:
1689 * gio/gunixvolume.c:
1693 * gio/gvolumemonitor.c:
1694 Updated documentation stubs, working towards consistency and
1697 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1699 * gio/gmemoryoutputstream.c:
1700 * gio/gmemoryoutputstream.h:
1701 Change g_memory_output_stream_set_free_on_close() to
1702 g_memory_output_stream_set_free_data() as this makes more sense and
1703 is more consistent with GMemoryInputStream.
1705 2007-11-07 Alexander Larsson <alexl@redhat.com>
1712 Change how we find the default vfs so that
1713 we can handle a gvfs failing to init
1715 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1717 * gio/gbufferedoutputstream.c:
1718 * gio/gdatainputstream.c:
1719 * gio/gdataoutputstream.c:
1720 * gio/gfileinputstream.c:
1721 * gio/gfileoutputstream.c:
1722 * gio/gfilterinputstream.c:
1723 * gio/gfilteroutputstream.c:
1724 * gio/ginputstream.c:
1725 * gio/gmemoryinputstream.c:
1726 * gio/gmemoryoutputstream.c:
1727 * gio/goutputstream.c:
1728 * gio/gsimpleasyncresult.c:
1729 * gio/gsocketinputstream.c:
1730 * gio/gsocketoutputstream.c:
1731 Add guards to the remaining public functions, add a TODO for
1732 an unimplemented function and remove some useless guards.
1734 2007-11-07 Alexander Larsson <alexl@redhat.com>
1737 Autoconf checks for the various types of
1738 getpwuid_r and getgrgid_r
1740 * gio/glocalfileinfo.c:
1741 Use the autoconf checks from above
1743 2007-11-07 Alexander Larsson <alexl@redhat.com>
1746 (g_local_file_query_filesystem_info):
1747 Some fixes for the statvfs case
1749 2007-11-07 Alexander Larsson <alexl@redhat.com>
1752 (g_local_file_query_filesystem_info):
1753 Pick the "best" of statfs / statvfs for the system
1754 if both are availible.
1756 2007-11-07 Alexander Larsson <alexl@redhat.com>
1758 Solaris fixes from Halton.Huo@Sun.COM:
1765 * gio/glocalfileinfo.c:
1766 Fix for solaris definition of getpwuid_r
1768 * gio/test-streams.c:
1769 Use G_GNUC_PRETTY_FUNCTION
1771 2007-11-07 Alexander Larsson <alexl@redhat.com>
1773 * gio/gdesktopappinfo.c:
1774 (update_default_list):
1775 Remove double semicolon.
1776 Patch from Jens Granseuer
1778 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1780 * docs/reference/gio/gio-sections.txt:
1781 * gio/gbufferedinputstream.c:
1782 * gio/gbufferedinputstream.h:
1783 * gio/gdatainputstream.c:
1784 * gio/gfileenumerator.c:
1785 * gio/gioscheduler.c:
1786 * gio/gunionvolumemonitor.c:
1788 * programs/gio-save.c:
1789 Fix typo: availible -> available. Unfortuntely this breaks API
1790 and ABI as g_buffered_input_stream_get_available() was renamed.
1792 * gio/gunixmounts.c:
1793 * gio/gbufferedinputstream.c:
1794 Add guards for public functions.
1796 2007-11-06 Ross Burton <ross@openedhand.com>
1798 * docs/reference/gio/Makefile.am:
1799 Fix invalid += usage which automake 1.10 doesn't like.
1801 2007-11-06 Alexander Larsson <alexl@redhat.com>
1804 (g_app_launch_context_class_init):
1807 Patch from Ross Burton
1809 2007-11-06 Alexander Larsson <alexl@redhat.com>
1812 Post release version bump
1814 === gio-standalone 0.1.1 ===
1816 2007-11-06 Alexander Larsson <alexl@redhat.com>
1819 Bump version to 0.1.1
1821 * gio/gsimpleasyncresult.c:
1822 (g_simple_async_result_set_from_error):
1823 Remove bogus g_return_if_fail
1825 2007-11-06 Alexander Larsson <alexl@redhat.com>
1828 The name is gio-standalone
1831 Add top src/builddir to includedir
1833 2007-11-06 Alexander Larsson <alexl@redhat.com>
1835 * docs/reference/gio/gio-sections.txt:
1837 * gio/gbufferedinputstream.c:
1838 * gio/gbufferedoutputstream.c:
1839 * gio/gcancellable.c:
1840 * gio/gdatainputstream.h:
1841 * gio/gdataoutputstream.c:
1842 * gio/gdataoutputstream.h:
1843 * gio/gdirectorymonitor.c:
1845 * gio/gfileattribute.c:
1846 * gio/gfileattribute.h:
1847 * gio/gfileenumerator.c:
1848 * gio/gfileenumerator.h:
1851 * gio/gfileinputstream.h:
1852 * gio/gfilemonitor.c:
1853 * gio/gfileoutputstream.h:
1854 * gio/glocalfilemonitor.h:
1855 * gio/glocalfileoutputstream.h:
1856 * gio/gmemoryinputstream.c:
1857 * gio/gmemoryoutputstream.c:
1858 * gio/gmountoperation.c:
1859 * gio/goutputstream.c:
1860 * gio/goutputstream.h:
1862 * gio/gsimpleasyncresult.c:
1863 * gio/gunixmounts.c:
1864 * gio/gunixmounts.h:
1866 * gio/inotify/inotify-helper.c:
1867 Fix gtk-doc warnings
1869 Patch from Ross Burton
1871 2007-11-06 Alexander Larsson <alexl@redhat.com>
1873 * gio/gfilenamecompleter.c:
1874 (g_filename_completer_get_completions):
1877 * gio/gunixvolume.c:
1878 Remove unused function
1880 Patches from Ross Burton
1882 2007-11-06 Alexander Larsson <alexl@redhat.com>
1887 Padding not needed for interfaces
1889 2007-11-06 Alexander Larsson <alexl@redhat.com>
1891 * gio/gfilemonitor.c:
1895 Make giotypes.h an internal file
1898 * gio/gbufferedinputstream.h:
1899 * gio/gbufferedoutputstream.h:
1900 * gio/gcancellable.h:
1901 * gio/gdatainputstream.h:
1902 * gio/gdataoutputstream.h:
1903 * gio/gdirectorymonitor.c:
1904 * gio/gdirectorymonitor.h:
1909 * gio/gfileattribute.h:
1910 * gio/gfileenumerator.h:
1915 * gio/gfilemonitor.c:
1916 * gio/gfilemonitor.h:
1917 * gio/gfilenamecompleter.c:
1918 * gio/gfilenamecompleter.h:
1919 * gio/gfilterinputstream.h:
1920 * gio/gfilteroutputstream.h:
1921 * gio/ginputstream.h:
1922 * gio/gmemoryinputstream.h:
1923 * gio/gmemoryoutputstream.h:
1924 * gio/gmountoperation.c:
1925 * gio/gmountoperation.h:
1926 * gio/gnativevolumemonitor.c:
1927 * gio/goutputstream.h:
1930 * gio/gsimpleasyncresult.c:
1931 * gio/gsimpleasyncresult.h:
1932 * gio/gsocketinputstream.h:
1933 * gio/gsocketoutputstream.h:
1934 * gio/gthemedicon.c:
1935 * gio/gthemedicon.h:
1939 * gio/gvolumemonitor.c:
1940 * gio/gvolumemonitor.h:
1941 Add padding in classes where it seems useful
1942 Don't include giotypes.h from public headers
1943 Move in Class definitions into c file where possible
1948 2007-11-06 Alexander Larsson <alexl@redhat.com>
1950 * docs/reference/gio/gio-docs.xml:
1951 Better structure for API docs
1953 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1956 * gio/gloadableicon.c:
1957 * gio/gsimpleasyncresult.c:
1958 * gio/gthemedicon.c:
1959 Add some more guards to public functions. Only files missing are now
1962 2007-11-06 Alexander Larsson <alexl@redhat.com>
1964 * docs/reference/gio/gio-docs.xml:
1965 Remove old files, add missing ones
1967 2007-11-06 Alexander Larsson <alexl@redhat.com>
1969 * docs/reference/gio/gio-sections.txt:
1972 Hide implementation classes
1974 * gio/gdriveprivate.h:
1975 * gio/gvolumeprivate.h:
1976 Remove non-existing function declarations
1978 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1981 Fix compilation warnings and add guards to the new functions.
1983 * gio/gasyncresult.c:
1985 Add guards to the public functions.
1988 Implement get_path().
1990 2007-11-06 Alexander Larsson <alexl@redhat.com>
1992 * gio/gfilenamecompleter.c:
1993 Make g_filename_completer_get_completions
1994 return char ** instead of GList for
1997 * docs/reference/gio/gio-docs.xml:
1998 * docs/reference/gio/gio-sections.txt:
2000 * gio/gasyncresult.c:
2001 * gio/gbufferedinputstream.c:
2002 * gio/gbufferedoutputstream.c:
2003 * gio/gcancellable.c:
2004 * gio/gcontenttype.c:
2005 * gio/gdatainputstream.c:
2006 * gio/gdataoutputstream.c:
2007 * gio/gdesktopappinfo.c:
2008 * gio/gdirectorymonitor.c:
2012 * gio/gfileattribute.c:
2013 * gio/gfileenumerator.c:
2016 * gio/gfileinputstream.c:
2017 * gio/gfilemonitor.c:
2018 * gio/gfilenamecompleter.c:
2019 * gio/gfilenamecompleter.h:
2020 * gio/gfileoutputstream.c:
2021 * gio/gfilterinputstream.c:
2023 * gio/ginputstream.c:
2025 * gio/gioscheduler.c:
2026 * gio/gloadableicon.c:
2027 * gio/glocaldirectorymonitor.c:
2029 * gio/glocalfileinputstream.c:
2030 * gio/glocalfilemonitor.c:
2031 * gio/glocalfileoutputstream.c:
2033 * gio/gmemoryinputstream.c:
2034 * gio/gmemoryoutputstream.c:
2035 * gio/gmountoperation.c:
2036 * gio/goutputstream.c:
2037 * gio/gpollfilemonitor.c:
2039 * gio/gsimpleasyncresult.c:
2040 * gio/gsocketinputstream.c:
2041 * gio/gsocketoutputstream.c:
2042 * gio/gthemedicon.c:
2043 * gio/gunionvolumemonitor.c:
2045 * gio/gunixmounts.c:
2046 * gio/gunixvolume.c:
2047 * gio/gunixvolumemonitor.c:
2051 * gio/gvolumemonitor.c:
2052 * gio/gwin32appinfo.c:
2053 Add (mostly stub) doc strings to public functions.
2054 Patch from Andrew Walton (awalton@gmail.com)
2056 2007-11-06 Alexander Larsson <alexl@redhat.com>
2058 * gio/gappinfo.[ch]:
2059 Added GAppLaunchContext object and pass that to launch.
2060 This allows simple implementation of both
2061 launch-on-screen and startup notification via a gtk+
2062 subclass of GAppLaunchContext
2064 * gio/gdesktopappinfo.c:
2065 Implement GAppLaunchContext API
2067 * gio/gwin32appinfo.c:
2070 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2072 * gio/gmountoperation.c:
2073 Add some guards to GMountOperation's public functions.
2075 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2079 * gio/gcancellable.c:
2080 * gio/gdirectorymonitor.c:
2082 * gio/gfileenumerator.c:
2083 * gio/gfilemonitor.c:,
2084 * gio/gfilenamecompleter.c:
2087 * gio/gioscheduler.c:
2091 * gio/gvolumemonitor.c:
2092 Add even more guards to various public functions.
2094 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2097 Add guards to the public functions of GAppInfo.
2099 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2101 * gio/gcontenttype.c:
2102 Add some more guards for public functions.
2104 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2106 * gio/fam/fam-module.c:
2107 * gio/fam/gfamdirectorymonitor.c:
2108 * gio/fam/gfamdirectorymonitor.h:
2109 * gio/fam/gfamfilemonitor.c:
2110 * gio/fam/gfamfilemonitor.h:
2111 * gio/inotify/ginotifydirectorymonitor.c:
2112 * gio/inotify/ginotifydirectorymonitor.h:
2113 * gio/inotify/ginotifyfilemonitor.c:
2114 * gio/inotify/ginotifyfilemonitor.h:
2115 Add proper copyright information and remove an unused variable
2116 in the GInotifyFileMonitor constructor.
2118 * gio/gcancellable.c:
2119 Add a guard for a public function and an assertion to prevent
2120 an undefined program state.
2122 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2124 * gio/gfileattribute.c:
2125 Don't run into an assertion if the given attribute value is NULL
2126 in g_file_attribute_value_get_*() but instead return a fallback
2127 value that makes sense in most situations. Passing them a attribute
2128 value with the wrong type will still run into an assertion.
2130 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2132 * gio/gfileattribute.c:
2134 Add even more guards to the public functions. Also fix the refcounting
2135 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2136 let g_file_info_list_attributes() filter the attributes by namespace
2137 instead of simply ignoring the namespace parameter.
2139 2007-11-03 Sven Herzberg <sven@imendio.com>
2141 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2142 (This makes gio work on MacOS X again)
2144 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2147 Build the gio subdirectory before the docs. Otherwise the build will
2150 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2151 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2152 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2153 Add guards to the public functions.
2155 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2157 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2158 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2159 to prevent a compiler warning.
2161 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2162 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2163 return something in the non-void function find_topdir_for().
2165 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2172 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2174 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2175 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2176 * gwin32appinfo.c (g_win32_app_info_launch):
2177 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2178 envp_for_startup_id, g_desktop_app_info_launch,
2179 g_desktop_app_info_launch_uris):
2181 Give an opaque 'startup_id' string instead of 'envp'.
2182 Support empty file lists for launching new windows.
2183 Fix infinite recursion bug when launching URIs.
2185 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2188 Add guard to the new g_file_get_uri_scheme() function.
2190 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2193 Convert a g_return_val_if_fail() to setting the GError instead as
2194 otherwise applications have to verify the parameter before otherwise
2195 and the parameter might come directly from the user.
2197 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2199 * gio/inotify/ginotify*.[ch]:
2200 Add missing copyright information.
2202 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2205 Add guards in the beginning of public functions to check for valid
2206 parameters and fix a bug in copy_stream_with_progress() that could've
2207 caused writing less bytes than reading.
2208 * gio/glocalfileinfo.c:
2209 Check for a NULL parameter and set the GError accordingly then.
2210 * gio/goutputstream.c:
2211 Fix the same bug as in gfile.c that could've caused writing less bytes
2212 than reading in g_output_stream_real_splice().
2214 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2217 Use the correct gvolumeprivate.h naming
2219 2007-11-01 Christian Kellner <gicmo@gnome.org>
2222 Remove leftover "$(daemon_sources)" entry.
2224 2007-11-01 Christian Kellner <gicmo@gnome.org>
2229 Add copyright information to source files.
2231 2007-11-01 Alexander Larsson <alexl@redhat.com>
2235 Add g_file_get_uri_scheme
2237 2007-11-01 Alexander Larsson <alexl@redhat.com>
2240 * gio/gdesktopappinfo.c:
2241 * gio/gwin32appinfo.c:
2242 Add g_app_info_get_default_for_uri_scheme.
2244 2007-11-01 Alexander Larsson <alexl@redhat.com>
2247 Correct filename for gdriveprivate.h
2249 2007-10-31 Alexander Larsson <alexl@redhat.com>
2252 Rename id:value to id:file
2255 * gio/glocalfileinfo.c:
2258 2007-10-31 Alexander Larsson <alexl@redhat.com>
2260 * gio/gunixvolume.c:
2262 Remove g_volume_get_platform_id, as thats not
2263 needed with the simpler union volume monitor
2265 2007-10-31 Alexander Larsson <alexl@redhat.com>
2268 * gio/guniondrive.[ch]: Removed.
2269 * gio/gunionvolume.[ch]: Removed.
2270 Remove GUnionDrive/Volume
2272 * gio/gunionvolumemonitor.c:
2273 Simplify union volume monitor, now we
2274 only have one native volume monitor and
2275 we use the actual volumes/drives from the
2276 child monitors instead of wrapping them
2278 * gio/gnativevolumemonitor.[ch]:
2279 Base class for native volume monitors.
2280 Includes priority and get_volume_for_mountpoint
2283 Add g_file_find_enclosing_volume
2286 Remove volume name fs attribute
2287 Add readonly fs attribute
2290 Implement readonly attribute
2291 remove volume name attribute
2292 Implement find_enclosing volume
2294 * gio/gunixmounts.c:
2295 Add a volume for "/".
2297 * gio/gunixvolume.[ch]:
2298 Set better name for /
2300 * gio/gunixvolumemonitor.[ch]:
2301 Derive from GNativeVolumeMonitor
2302 Implement get_volume_for_mountpoint
2305 GVolume typedef moved to gfile.h
2307 * gio/gvolumeprivate.h:
2308 Add g_volume_get_for_mount_path
2310 2007-10-31 Alexander Larsson <alexl@redhat.com>
2312 * gio/gunixmounts.[ch]:
2313 Add cache info to unix mount listers
2314 Make getmntent use threadsafe
2315 Add is_system_internal attribute for GUnixMount
2317 * gio/gunixvolume.c:
2318 (g_unix_volume_new):
2319 Use is_system_internal instead of own code
2321 * gio/glocaldirectorymonitor.c:
2322 * gio/gunixvolumemonitor.c:
2323 Update to new gunixmounts API
2328 2007-10-30 Alexander Larsson <alexl@redhat.com>
2331 Add volume name fsinfo attribute
2334 Read volume name info
2336 * gio/gunionvolumemonitor.c:
2337 Fix infinite loops when finalizing a union volume monitor
2339 2007-10-30 Alexander Larsson <alexl@redhat.com>
2341 * gio/goutputstream.[ch]:
2342 Add splice() with default implementation
2344 * gio/gsocketoutputstream.c:
2345 (g_socket_output_stream_write):
2346 Return error on cancellation correctly.
2348 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2350 * gio/glocalfile.c (g_local_file_trash):
2351 Do not leak a string.
2353 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2355 * gio/gfile.c (g_file_load_contents):
2356 Unref the stream after closing it.
2358 2007-10-25 Alexander Larsson <alexl@redhat.com>
2360 * gio/gioscheduler.h:
2363 2007-10-25 Alexander Larsson <alexl@redhat.com>
2367 Add g_file_has_uri_scheme and implement for local files
2369 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2371 * gio/gdesktopappinfo.c: do not leak a string.
2373 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2375 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2376 (g_local_directory_monitor_new):
2377 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2378 (g_local_file_monitor_new):
2379 Only look for the monitor type that should be used the first time
2380 and use g_qsort_with_data() instead of our own bubble sort
2383 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2386 * gio/fam/Makefile.am:
2387 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2388 * gio/fam/fam-helper.h:
2389 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2390 * gio/fam/gfamdirectorymonitor.c:
2391 * gio/fam/gfamdirectorymonitor.h:
2392 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2393 * gio/fam/gfamfilemonitor.h:
2394 * gio/glocaldirectorymonitor.c:
2395 * gio/glocaldirectorymonitor.h:
2396 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2397 * gio/glocalfilemonitor.h:
2398 * gio/inotify/Makefile.am:
2399 * gio/inotify/ginotifydirectorymonitor.c:
2400 * gio/inotify/ginotifydirectorymonitor.h:
2401 * gio/inotify/ginotifyfilemonitor.c:
2402 * gio/inotify/ginotifyfilemonitor.h:
2403 Implement the FAM and Inotify monitors as
2404 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2405 their own GIO module. GLocal(Directory|File)Monitor will use the
2406 monitor with the highest rank that is supported on that machine.
2408 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2411 Change GIO module dir to $(libdir)/gio/modules and change
2412 the log domain from GVFS to GIO. Also only export symbols starting
2413 with g_ in the resulting library.
2414 * gio/test-streams.c: (main):
2415 Set log handler for the GIO log domain.
2417 2007-10-22 Alexander Larsson <alexl@redhat.com>
2419 * gio/gfilenamecompleter.[ch]:
2420 Add g_filename_completer_set_dirs_only
2422 2007-10-22 Alexander Larsson <alexl@redhat.com>
2425 * gio/gurifuncs.[ch]:
2426 Add some simple URI helpers
2428 * gio/gfilenamecompleter.[ch]:
2429 Added object for filename (parse name actually) completion
2432 Handle ~ in parse names
2434 2007-10-17 Alexander Larsson <alexl@redhat.com>
2437 * gio/glocalfileinfo.c:
2438 Add and implement id:value attribute
2440 2007-10-17 Alexander Larsson <alexl@redhat.com>
2443 * gio/guniondrive.c:
2445 Add and implement g_drive_has_volumes
2447 2007-10-17 Alexander Larsson <alexl@redhat.com>
2450 * gio/glocalfileinfo.[ch]:
2451 Add unix:is_mountpoint and implement for local files
2453 2007-10-16 Alexander Larsson <alexl@redhat.com>
2455 * gio/gunionvolumemonitor.c:
2456 (g_union_volume_monitor_init):
2457 Fix up the unix type getting so that it works with gcc
2459 2007-10-12 Alexander Larsson <alexl@redhat.com>
2462 * gio/glocalfileinfo.c:
2463 Add thumbnail:failed to file info
2465 2007-10-12 Richard Hult <richard@imendio.com>
2467 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2468 optimizing away the get_type call (happens with some gcc versions,
2469 like the one shipped with OS X 10.4).
2471 2007-10-12 Alexander Larsson <alexl@redhat.com>
2473 * gio/glocalfileinfo.c:
2474 (_g_local_file_info_set_attribute):
2475 Fix build if not HAVE_XATTR
2476 Patch from Milosz Derezynski <internalerror@gmail.com>
2478 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2480 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2481 around for review, otherwise I would have asked you before
2484 2007-10-11 Alexander Larsson <alexl@redhat.com>
2487 Add thumbnail:path attribute
2489 * gio/glocalfileinfo.c:
2490 Implement thumbnail:path for local files
2492 2007-10-11 Alexander Larsson <alexl@redhat.com>
2494 * gio/glocalfileinfo.c:
2495 (_g_local_file_info_get):
2496 Avoid duplicate icon names
2498 2007-10-11 Alexander Larsson <alexl@redhat.com>
2500 * gio/gthemedicon.[ch]:
2501 Change g_themed_icon_get_names return type to const
2503 2007-10-10 Alexander Larsson <alexl@redhat.com>
2505 * gio/glocalfileinfo.c:
2506 Don't reference freed memory
2508 2007-10-10 Alexander Larsson <alexl@redhat.com>
2510 * gio/gfileattribute.c:
2513 * gio/glocalfileinfo.c:
2516 2007-10-10 Alexander Larsson <alexl@redhat.com>
2519 Check for NULL icons
2521 * gio/gfileattribute.c:
2522 Don't dup when getting objects (same as for string attributes)
2524 * gio/gicon.c (g_icon_equal):
2525 Safely handle NULLs in equal
2527 2007-10-10 Alexander Larsson <alexl@redhat.com>
2530 Fix c++ compilation issues
2531 Patch from Milosz Derezynski <internalerror@gmail.com>
2533 2007-10-10 Alexander Larsson <alexl@redhat.com>
2535 * programs/gio-monitor-dir.c:
2536 Don't crash if dir monitor not supported.
2538 2007-10-09 Alexander Larsson <alexl@redhat.com>
2541 Add missing G_END_DECLS
2543 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2545 * gio/gfile.c: (g_file_set_display_name),
2546 (g_file_query_settable_attributes),
2547 (g_file_query_writable_namespaces):
2548 Return NULL not FALSE on errors as the return type is a pointer.
2550 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2552 * gio/glocalfile.c: (g_local_file_monitor_file):
2553 Don't call monitor_file on the default interface vtable (which
2554 is NULL) but simply return NULL. The caller, GFile, will create a
2555 polling monitor if NULL is returned.
2557 2007-10-09 Alexander Larsson <alexl@redhat.com>
2561 * gio-unix-2.0.pc.in:
2562 Add gio-unix-2.0.pc if OS_UNIX
2565 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2567 2007-10-09 Alexander Larsson <alexl@redhat.com>
2569 * gio/gunixmounts.[ch]:
2570 Make unix mount monitoring API sane.
2571 Now its just a object with mounts_changed
2572 and mountpoints_changed signals.
2574 * gio/glocaldirectorymonitor.c:
2575 * gio/gunixvolumemonitor.c:
2576 Use new mount monitor api
2578 2007-10-09 Alexander Larsson <alexl@redhat.com>
2580 * gio/gunixmounts.[ch]:
2581 Move guess type into one call for mounts and one for mountpoints
2584 * gio/gunixvolume.c:
2587 2007-10-09 Alexander Larsson <alexl@redhat.com>
2589 * gio/gunixmounts.[ch]:
2590 Remove _ prefix in preparation to make this semi-public
2591 Hide implementation of structs
2593 * gio/glocaldirectorymonitor.c:
2595 * gio/gunixvolume.c:
2596 * gio/gunixvolumemonitor.c:
2597 Update for above API changes
2599 2007-10-08 Alexander Larsson <alexl@redhat.com>
2602 Better polling fallback. This also handles the case where we have
2603 a monitor_file implementation, but it fails.
2605 2007-10-08 Alexander Larsson <alexl@redhat.com>
2609 * gio/gunixmounts.c:
2610 * programs/gio-monitor-dir.c:
2611 * programs/gio-monitor-file.c:
2612 Added cancellable to file monitoring calls.
2613 These are really sync calls and need this.
2615 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2617 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2618 (g_local_vfs_class_init):
2619 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2620 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2622 2007-10-05 Alexander Larsson <alexl@redhat.com>
2624 * gio/gdirectorymonitorprivate.h:
2625 * gio/gfilemonitorprivate.h:
2626 * gio/gdirectorymonitor.h:
2627 * gio/gfilemonitor.h:
2628 Remove *private.h and move to the public API, so that
2629 we can do implementations outside gio (such as in gvfs)
2631 * gio/gdirectorymonitor.c:
2632 * gio/gfilemonitor.c:
2633 * gio/glocaldirectorymonitor.c:
2634 * gio/gpollfilemonitor.c:
2635 * gio/inotify/inotify-helper.c:
2636 * gio/fam/fam-helper.c:
2637 Update to the new header names
2639 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2641 * gio/gdirectorymonitor.c:
2642 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2645 2007-10-04 Alexander Larsson <alexl@redhat.com>
2647 * gio/glocalfileinfo.c (get_access_rights):
2648 Set CAN_TRASH when we can move the file.
2649 We should really also check for a parent trash dir.
2651 2007-10-04 Alexander Larsson <alexl@redhat.com>
2653 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2654 Add can_trash access attribute
2656 2007-10-04 Alexander Larsson <alexl@redhat.com>
2659 (g_local_file_trash):
2660 Create info file first. This is per-spec and allows
2661 us to actually trash directories.
2663 2007-10-02 Alexander Larsson <alexl@redhat.com>
2665 * gio/gdesktopappinfo.c:
2666 Implement the new mime support code.
2667 Always set app as handling mimetype when being set as default for it
2669 2007-10-01 Alexander Larsson <alexl@redhat.com>
2671 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2672 Fix up check for xattrs:
2674 2007-10-01 Alexander Larsson <alexl@redhat.com>
2677 (g_app_info_set_as_default_for_extension):
2678 (g_app_info_add_supports_type):
2679 (g_app_info_can_remove_supports_type):
2680 (g_app_info_remove_supports_type):
2681 Make these fail nicely if not implemented
2683 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2685 * gio/glocalfileoutputstream.c:
2686 * gio/glocalfileoutputstream.h:
2691 * programs/gio-save.c:
2692 Add a GFileCreateFlags argument to operations that can create
2695 2007-10-01 Alexander Larsson <alexl@redhat.com>
2697 * gio/gappinfo.[ch]:
2698 * gio/gdesktopappinfo.c:
2699 Add more (stubbed out) mime API needed for nautilus
2701 2007-10-01 Alexander Larsson <alexl@redhat.com>
2704 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2705 Add g_app_info_set_as_default_for_extension.
2707 * gio/gdesktopappinfo.c:
2708 Dummy for g_app_info_set_as_default_for_extension
2709 Support flags in g_app_info_create_from_commandline
2711 * gio/gwin32appinfo.c:
2713 Update for API changes
2715 * gio/gthemedicon.c:
2716 Properly NULL-terminate list of icon names
2718 2007-09-28 Alexander Larsson <alexl@redhat.com>
2720 * gio/gloadableicon.h:
2721 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2723 2007-09-28 Alexander Larsson <alexl@redhat.com>
2726 Install headers in $includedir/gio-standalone/
2728 * gio-2.0.pc.in: Added.
2729 * gio-standalone.pc.in: Removed.
2732 Renamed pkg-config file to match glib (for future move)
2733 Update to the new include dir
2736 Add more TODO comments
2738 2007-09-28 Alexander Larsson <alexl@redhat.com>
2740 * gio/gdesktopappinfo.[ch]:
2741 Expose new_from_filename
2742 Add getter for is_hidden and handle it better
2744 2007-09-28 Alexander Larsson <alexl@redhat.com>
2746 * gio/gfileinfo.[ch]:
2747 Rename g_file_size_format_for_display to
2748 g_format_file_size_for_display.
2749 Now it doesn't have the g_file prefix, so we
2750 can later move it to glib.
2752 2007-09-28 Alexander Larsson <alexl@redhat.com>
2754 * gio/gappinfo.[ch]:
2755 Add g_app_info_get_id and g_app_info_get_executable.
2756 Make all getters non-reffing
2757 Make g_app_info_launch take GFile arguments.
2758 Add must_support_uris argument to g_app_info_get_default_for_type.
2760 * gio/gwin32appinfo.c:
2761 Update to GAppInfo api changes
2763 * gio/gdesktopappinfo.c:
2764 Update to GAppInfo api changes
2765 Implement supports_xdg_startup_notify
2767 * gio/gfileicon.c (g_file_icon_get_file):
2768 Make getter non-reffing.
2773 2007-09-27 Alexander Larsson <alexl@redhat.com>
2775 * gio/gfileinfo.[ch]:
2776 Add g_file_size_format_for_display helper
2778 2007-09-27 Alexander Larsson <alexl@redhat.com>
2780 * gio/glocalfileinfo.c:
2781 Set UNIX_GID from gid, not from uid
2783 2007-09-27 Alexander Larsson <alexl@redhat.com>
2786 Add g_file_set_attributes_async
2788 2007-09-27 Alexander Larsson <alexl@redhat.com>
2790 * gio/glocalfile.c (g_local_file_set_display_name):
2791 Fix set_display_name to actually rename to the right place.
2792 Use lstat to look for existing files so we don't overwrite
2795 2007-09-26 Alexander Larsson <alexl@redhat.com>
2798 Add g_file_set_display_name_async()
2800 2007-09-26 Alexander Larsson <alexl@redhat.com>
2803 Add load_partial_contents async calls
2806 Make internal function static
2808 2007-09-26 Alexander Larsson <alexl@redhat.com>
2810 * gio/glocalfileinfo.c:
2811 Correctly detect broken symlinks
2813 2007-09-26 Alexander Larsson <alexl@redhat.com>
2815 * gio/gcancellable.c (g_cancellable_cancel):
2816 Allow cancel on NULL cancellable
2818 2007-09-25 Alexander Larsson <alexl@redhat.com>
2820 * gio/gsimpleasyncresult.c:
2821 Don't allocate g_error manually.
2822 Fixes g_slice/g_new mixup crash
2824 2007-09-25 Alexander Larsson <alexl@redhat.com>
2826 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2827 Actually set active_backend.
2828 This means the monitor will be cancelled correctly.
2830 2007-09-25 Alexander Larsson <alexl@redhat.com>
2832 * gio/gdirectorymonitor.c:
2833 Set timeout to NULL when destroying
2835 2007-09-25 Alexander Larsson <alexl@redhat.com>
2838 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2839 that is a better description of the error.
2841 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2843 * gio/gvfs.c: (g_vfs_get_local):
2844 Make the local vfs variable static. The same instance should
2847 2007-09-24 Alexander Larsson <alexl@redhat.com>
2849 * gio/glocalfileinfo.c:
2850 Pass in actual length read into sniffer, not the length
2853 2007-09-21 Alexander Larsson <alexl@redhat.com>
2855 * gio/gfileenumerator.c:
2858 * gio/gfileinputstream.c:
2859 * gio/gfileoutputstream.c:
2860 * gio/ginputstream.c:
2861 * gio/goutputstream.c:
2862 Don't crash if async callbacks are NULL
2864 2007-09-20 Alexander Larsson <alexl@redhat.com>
2867 Add async enumerate_children method and default
2870 2007-09-20 Alexander Larsson <alexl@redhat.com>
2873 Add g_file_contains_file & g_file_get_relative_path, since they
2874 were needed for nautilus.
2875 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2880 Implement new methods
2882 2007-09-17 Alexander Larsson <alexl@redhat.com>
2885 * gio/gfileinputstream.[ch]:
2886 * gio/gfileoutputstream.[ch]:
2888 * gio/glocalfileenumerator.[ch]:
2889 * gio/glocalfileinfo.[ch]:
2890 * gio/glocalfileinputstream.c:
2891 * gio/glocalfileoutputstream.c:
2892 * gio/gpollfilemonitor.c:
2893 * programs/gio-copy.c:
2894 * programs/gio-info.c:
2895 * programs/gio-move.c:
2896 Rename get_file_info to query_info() to make it clearer
2897 that these are not simple getters, but do i/o.
2899 2007-09-17 Alexander Larsson <alexl@redhat.com>
2901 * gio/gdatainputstream.[ch]:
2902 * gio/test-streams.c:
2903 Use _read_XXX instead of _get_XXX for the i/o calls
2906 2007-09-17 Alexander Larsson <alexl@redhat.com>
2909 Added needed stuff to TODO comment
2911 2007-09-17 Alexander Larsson <alexl@redhat.com>
2913 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2914 Don't error out removing the backup copy if it doesn't
2917 2007-09-14 Alexander Larsson <alexl@redhat.com>
2919 * programs/Makefile.am:
2920 * programs/gvfs-*.c:
2922 Renamed apps from gvfs-xxx to gio-xxx.
2924 2007-09-14 Alexander Larsson <alexl@redhat.com>
2927 * gio/gfileoutputstream.[ch]:
2928 * gio/glocalfileoutputstream.c:
2929 * programs/gvfs-save.c:
2930 g_file_output_stream_get_etag doesn't do i/o, so remove
2931 cancellation and error.
2933 2007-09-14 Alexander Larsson <alexl@redhat.com>
2936 Add new_etag output to replace_contents functions
2938 2007-09-14 Alexander Larsson <alexl@redhat.com>
2940 * gio/gfileoutputstream.[ch]:
2941 Add async get_file_info and default implementation
2943 2007-09-14 Alexander Larsson <alexl@redhat.com>
2945 * gio/gfileinputstream.c:
2946 Implement fallback wrapper for async get_file_info
2948 2007-09-14 Alexander Larsson <alexl@redhat.com>
2951 Add etag out argument to load_contents
2956 2007-09-14 Alexander Larsson <alexl@redhat.com>
2958 * gio/gcontenttype.c (looks_like_text):
2959 Whitespace like tab, cr and lf do not make the
2962 2007-09-14 Alexander Larsson <alexl@redhat.com>
2964 * gio/gfileinputstream.[ch]:
2965 Add async get_file_info.
2967 2007-09-13 Alexander Larsson <alexl@redhat.com>
2969 * gio/goutputstream.c (g_output_stream_write_all):
2970 Allow NULL for bytes_written
2972 2007-09-13 Alexander Larsson <alexl@redhat.com>
2974 * gio/gmemoryinputstream.[ch]:
2975 Add accessors for data
2977 2007-09-13 Alexander Larsson <alexl@redhat.com>
2979 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2980 Don't crash if length is NULL