1 2008-01-21 Alexander Larsson <alexl@redhat.com>
3 * gfileinputstream.[ch]:
4 * gfileoutputstream.[ch]:
6 Remove duplicated GSeekable functions. (#509990)
7 Just use the g_seekable_xxx() calls instead.
9 2008-01-21 Matthias Clasen <mclasen@redhat.com>
12 * gvolumemanager.c: Whitespace cleanups.
14 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
15 Use the right mode when creating the file.
17 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
22 * goutputstream.c: Documentation: Fixed minor typos
23 and added more mentions of specific _finish() functions.
25 2008-01-21 Alexander Larsson <alexl@redhat.com>
27 * inotify/Makefile.am:
28 * inotify/inotify-helper.c:
29 * inotify/inotify-kernel.c:
30 * inotify/inotify-path.c:
31 * inotify/local_inotify.h: Removed.
32 * inotify/local_inotify_syscalls.h: Removed.
33 Removed the included copies of the inotify
34 headers. We now only use the <sys/inotify.h>
35 header which exists on modern systems.
36 This fixes problems on ARM and SH5 (#510448)
37 but is also generally much cleaner and future
38 safe. For instance, if other OSes add support
39 for inotify it should "just work".
41 2008-01-20 Matthias Clasen <mclasen@redhat.com>
43 * inotify/*.c: Coding style fixes.
44 * inotify/inotify-missing.c: Use g_timeout_add_seconds
47 2008-01-20 Matthias Clasen <mclasen@redhat.com>
51 * gmemoryinputstream.c:
52 * gmemoryoutputstream.c:
54 * gthemedicon.c: Documentation updates
56 2008-01-20 Murray Cumming <murrayc@murrayc.com>
58 * gfile.c: documentation: Fixed more minor
61 2008-01-18 Murray Cumming <murrayc@murrayc.com>
63 * gmount.c: (g_mount_remount): documentation:
64 Mention g_mount_remount_finish() instead of
65 g_mount_unmount_finish().
67 2008-01-18 Murray Cumming <murrayc@murrayc.com>
71 * gfile.c: Fixed some minor typos in the
74 2008-01-18 Murray Cumming <murrayc@murrayc.com>
76 * gio/gvolumemonitor.c:
77 (g_volume_monitor_get_connected_drives):
78 (g_volume_monitor_get_volumes):
79 (g_volume_monitor_get_mounts): Documentation:
80 Clarify the ownership of the regurn GLists.
82 2008-01-17 Alexander Larsson <alexl@redhat.com>
85 Add the async find_enclosing_mount version
86 to the header file too.
88 2008-01-17 Alexander Larsson <alexl@redhat.com>
91 Add async version of find_enclosing_mount
92 with default implementation.
94 2008-01-17 Alexander Larsson <alexl@redhat.com>
99 Allow calls to implementation of copy and write
100 even if the type of the file implementations is
101 different. This can be used to implement native
102 upload and download calls in a vfs.
106 Protect against the case where move is called
107 with one file not being local.
109 Make sure we call the progress callback once
110 in the native move operation so that the caller
111 knows how many bytes were copied.
113 2008-01-16 Murray Cumming <murrayc@murrayc.com>
116 * gdatainputstream.c:
118 * gfileoutputstream.c:
123 * gunixmounts.c: Corrected some typos in the documentation:
125 its -> it's (where appropriate).
127 2008-01-16 Alexander Larsson <alexl@redhat.com>
131 Add g_file_query_exists (#508771)
133 2008-01-15 Murray Cumming <murrayc@murrayc.com>
138 * gvolume.c: For async functions that have no non-async
139 version, document that the GAsyncReadyCallback may be NULL.
142 2008-01-15 Alexander Larsson <alexl@redhat.com>
144 * gmemoryinputstream.c:
145 * gmemoryoutputstream.c:
146 Don't do pointer arithmetic on void * (#508602)
147 Patch from Kazuki IWAMOTO
149 2008-01-14 Matthias Clasen <mclasen@redhat.com>
151 * === Released 2.15.2 ===
153 2008-01-14 Alexander Larsson <alexl@redhat.com>
155 * gfile.c (g_file_monitor_file):
156 Don't set error here, since we fallback to polling monitor.
158 2008-01-14 Alexander Larsson <alexl@redhat.com>
161 (g_file_monitor_directory):
162 (g_file_monitor_file):
163 Add GError to file monitor calls
165 * glocaldirectorymonitor.c:
166 * glocaldirectorymonitor.h:
168 * glocalfilemonitor.c:
169 * glocalfilemonitor.h:
171 Update for above change
173 2008-01-14 Alexander Larsson <alexl@redhat.com>
177 Handle root correctly in g_file_get_relative_path (#508719)
179 2008-01-14 Alexander Larsson <alexl@redhat.com>
182 Clean up docs and example for GAsyncResult (#508074)
184 2008-01-11 Murray Cumming <murrayc@murrayc.com>
186 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
187 and correct some spelling mistakes. Bug #508108.
189 2008-01-11 Matthias Clasen <mclasen@redhat.com>
191 * glocalfileinfo.c: Add a comment.
193 2008-01-10 Murray Cumming <murrayc@murrayc.com>
195 * gfileinfo.c: GFileInfo description: Mention
196 how to actually set attributes in a GFile and how to discover
197 which attributes are settable. Bug #508378.
199 2008-01-10 A. Walton <awalton@svn.gnome.org>
201 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
202 (g_app_info_get_default_for_type):
203 Check for NULL content types.
205 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
207 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
209 2008-01-09 Murray Cumming <murrayc@murrayc.com>
211 * gfile.c: *_async() functions: Several small corrections
212 to the documentation, mostly correcting copy/paste errors
213 and improving some sentences.
215 2008-01-09 Dan Winship <danw@gnome.org>
217 * glocalfile.c (get_unique_filename): x86_64 fix
219 2008-01-09 Alexander Larsson <alexl@redhat.com>
224 Add g_unix_mount_guess_should_display and use
225 for unix volume monitor backend.
226 This means we more or less show what the
227 gnome-vfs backend did.
228 Based on patch from Padraig O'Briain
230 2008-01-09 Alexander Larsson <alexl@redhat.com>
234 Add g_themed_icon_new_with_default_fallbacks
237 Use default fallbacks for icons
239 2008-01-09 Alexander Larsson <alexl@redhat.com>
242 * gmountoperation.[ch]:
243 Change the API a bit so that unhandled methods
244 get reported via the reply, rather than by
245 the signal emission return value. This is because
246 some handlers can't know this immediately without
247 doing I/O, and this is an async operation that
250 2008-01-09 Alexander Larsson <alexl@redhat.com>
253 * fam/gfamdirectorymonitor.c:
254 * fam/gfamfilemonitor.c:
255 Fix double free crash (#508224)
256 Patch from Joe Marcus Clarke
258 008-01-07 Matthias Clasen <mclasen@redhat.com>
260 * === Released 2.15.1 ===
262 2008-01-07 Alexander Larsson <alexl@redhat.com>
264 * gunixinputstream.c (g_unix_input_stream_skip_finish):
265 Fix warning (#507835)
267 2008-01-07 Alexander Larsson <alexl@redhat.com>
270 Pass --internal to glib-genmarshal
275 Use better types for signal arguments (#507822)
277 2008-01-07 Alexander Larsson <alexl@redhat.com>
280 Build test subdir after .
281 Remove gdirectorymonitor.[ch]
283 * gdirectorymonitor.[ch]:
287 Remove GDirectoryMonitor and make
288 GFileMonitor the baseclass for both file and
289 directory monitors. Lift the more generic
290 rate limiting code from GDirectoryMonitor
294 * fam/gfamdirectorymonitor.[ch]:
295 * inotify/ginotifydirectorymonitor.[ch]:
296 * inotify/inotify-helper.c:
297 * glocaldirectorymonitor.[ch]:
300 Update for the removed GDirectoryMonitor.
302 * gmemoryoutputstream.c:
303 Remove ununsed variable
305 2008-01-07 Alexander Larsson <alexl@redhat.com>
307 * gmemoryinputstream.c:
308 Translate error strings
311 * gmemoryoutputstream.[ch]:
312 New implementation that avoids using GByteArray
313 in implementation and API. (#506377)
315 2008-01-06 Matthias Clasen <mclasen@redhat.com>
317 * tests/*: Add a test for memory input streams.
319 * Makefile.am: Add tests to SUBDIRS.
321 2008-01-06 Matthias Clasen <mclasen@redhat.com>
323 * glocalfilemonitor.c:
324 * glocaldirectorymonitor.c: Mark property nicks and blurbs
327 2008-01-06 Matthias Clasen <mclasen@redhat.com>
329 * gdesktopappinfo.c: Fix a docs typo.
331 * gfileattribute.c: Add information about extended attributes
332 to the documentation. (#505058)
334 2008-01-04 Alexander Larsson <alexl@redhat.com>
338 Use the right type (uint) for the ask_password signal.
340 2008-01-04 Alexander Larsson <alexl@redhat.com>
345 Add g_app_info_supports_files()
346 Remove desktop arg from g_app_info_should_show().
348 * gdesktopappinfo.[ch]:
349 Implement g_app_info_supports_files() and new should_show()
350 Add g_desktop_app_info_set_desktop_env() to set the desktop
351 for should_show(). (This will be set by gtk+ later)
353 2008-01-04 Alexander Larsson <alexl@redhat.com>
356 * gmemoryinputstream.[ch]:
357 Improve API so that you can use multiple chunks
358 of memory and custom destroy functions. (#506374)
360 2008-01-03 Alexander Larsson <alexl@redhat.com>
363 Handle NULL attribute matchers safely, as we return this
364 for empty attribute matcher strings.
366 2008-01-03 Alexander Larsson <alexl@redhat.com>
368 * gunixmounts.c (g_unix_is_mount_path_system_internal):
369 Add /usr/local to list of internal mountpoints
371 2008-01-03 Alexander Larsson <alexl@redhat.com>
374 Check for HAVE_LCHOWN (#505887)
376 2008-01-03 Alexander Larsson <alexl@redhat.com>
380 Add define for selinux context attribute.
381 Fix missing : -> :: namespace separator change
382 Fix missing _ -> - name change for xattr-sys.
385 2008-01-03 Alexander Larsson <alexl@redhat.com>
388 Link to libglib and libgobject directly (#504879)
389 Patch from Sebastien Bacher
391 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
393 * gfile.c: Expanded the g_file_new_for_commandline_arg
394 description a bit, based on the code and the docs of the
395 other g_file_new_for_* functions.
397 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
399 * gfilemonitor.h: Fixed typo in docs.
401 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
403 Updates to GIO documentation. (#506395, Mikael Hermansson)
405 * gcontenttype.c: Describe memory management for return value of
406 g_content_types_get_registered(). Missing piece from #505815.
407 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
408 GVolume, GDrive, GMounts, which hopefully gives the user less
409 confusions when using this API. Following explainations from
410 Alexander Larsson on gtk-devel-list.
412 2007-12-30 Matthias Clasen <mclasen@redhat.com>
414 * gfileinfo.c: Expand the long description.
416 2007-12-30 Matthias Clasen <mclasen@redhat.com>
419 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
420 fix builds with --disable-visibility. (#500273, Christian Persch)
422 2007-12-30 Matthias Clasen <mclasen@redhat.com>
424 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
425 in the list of returned app infos.
427 2007-12-30 Matthias Clasen <mclasen@redhat.com>
429 * gappinfo.c: Fix a cross-reference
431 2007-12-30 Matthias Clasen <mclasen@redhat.com>
433 * gfileinputstream.c:
434 * gfileoutputstream.c:
440 * gfileinfo.c: Documentation updates.
442 2007-12-26 Matthias Clasen <mclasen@redhat.com>
444 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
447 2007-12-26 Matthias Clasen <mclasen@redhat.com>
449 * gcontenttype.c (g_content_types_get_registered): Don't return
450 freed memory (#505815, Mikael Hermansson)
452 2007-12-25 Paolo Borelli <pborelli@katamail.com>
454 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
455 used to detect statbuf->st_blocks. (#505042)
457 2007-12-24 Matthias Clasen <mclasen@redhat.com>
459 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
460 environment handling. (#504829, Cosimo Cecchi)
462 2007-12-22 Matthias Clasen <mclasen@redhat.com>
464 * gappinfo.c: Doc improvements
466 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
469 2007-12-20 Matthias Clasen <mclasen@redhat.com>
471 * === Released 2.15.0 ===
473 2007-12-20 Hans Breuer <hans@breuer.org>
475 * makefile.msc : don't build gdesktopappinfo.obj, it collides
476 with symbols gwin32appinfo.obj, added gmount.obj
477 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
479 2007-12-20 Alexander Larsson <alexl@redhat.com>
485 * gfilenamecompleter.c:
488 * gpollfilemonitor.c:
489 File attribute renames:
492 id::fs -> id::filesystem
494 2007-12-20 Alexander Larsson <alexl@redhat.com>
503 Add GMountUnmountFlags to all unmount and
505 Add g_mount_remount() call.
507 2007-12-20 Alexander Larsson <alexl@redhat.com>
509 * gvfs.c (get_default_vfs):
510 Fix unused variable warning
512 2007-12-19 Matthias Clasen <mclasen@redhat.com>
514 * pltcheck.sh: Update
516 2007-12-19 Matthias Clasen <mclasen@redhat.com>
518 * gunionvolumemonitor.c:
519 * gunixmount.c: Remove C99 comments
521 2007-12-19 Matthias Clasen <mclasen@redhat.com>
523 * gio.symbols: Add some missing symbols
525 2007-12-19 Alexander Larsson <alexl@redhat.com>
528 Make g_io_modules_load_all_in_directory not unuse
529 loaded modules so that users of it can do stuff
531 Init internal "module" types.
532 Initialize static prio and name for types so that
533 we don't have to load modules to get it.
535 * gnativevolumemonitor.h:
537 Move is_supported to parent class so that
538 non-native monitors can avoid being initialized
539 too. (For instance GDaemonVolumeMonitor if we're
540 not using GDaemonVfs.)
542 * glocaldirectorymonitor.[ch]:
543 * glocalfilemonitor.[ch]:
544 * gunionvolumemonitor.c:
545 * gunixvolumemonitor.c:
547 Find plugins using the static prio+name to
548 avoid unnecessarily loading the modules.
550 2007-12-19 Alexander Larsson <alexl@redhat.com>
555 2007-12-19 Alexander Larsson <alexl@redhat.com>
557 * gunionvolumemonitor.c:
558 Store the native type as GType, not class so that
559 we can unload it. But still avoid unnecessarily
562 2007-12-19 David Zeuthen <davidz@redhat.com>
564 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
565 add signals 'disconnected' and 'eject-button' on GDrive. Add
566 signal 'removed' on GVolume and 'unmounted' on GMount.
568 * gdrive.c: (g_drive_base_init):
570 * gfile.c: (g_file_mount_mountable),
571 (g_file_mount_enclosing_volume):
574 * gmount.c: (g_mount_base_init):
576 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
577 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
578 * gvolume.c: (g_volume_base_init), (g_volume_mount):
582 2007-12-17 Matthias Clasen <mclasen@redhat.com>
584 * *.c: Fix up includes in the section docs.
586 2007-12-17 Alexander Larsson <alexl@redhat.com>
588 * gnativevolumemonitor.h:
589 * gunionvolumemonitor.c:
590 * gunixvolumemonitor.c:
591 Add is_supported() to GNativeVolumeMonitorClass so
592 that we can avoid having to create an object to see
593 if the backend is supported at runtime.
594 Also add name member and an env var to pick a specific
595 volume monitor backend.
599 Add cancellable to _g_mount_get_for_mount_path()
601 * glocaldirectorymonitor.c:
602 * glocalfilemonitor.c:
603 Avoid loading and unloading modules while sorting.
605 2007-12-17 Matthias Clasen <mclasen@redhat.com>
608 * gunixmounts.[hc]: Namespace waste reduction, move some
609 g_get_unix_mount functions to the g_unix_mount namespace.
612 * gunixvolumemonitor.c:
614 * glocaldirectorymonitor.c: Update all callers.
616 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
618 2007-12-17 Alexander Larsson <alexl@redhat.com>
621 Add doc comments about what GFile operations are
622 guaranteed to not block.
624 2007-12-17 Alexander Larsson <alexl@redhat.com>
627 Add missing #ifdef fixing OSX build.
628 (#503334, patch from Richard Hult)
630 2007-12-14 David Zeuthen <davidz@redhat.com>
634 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
635 (g_mount_eject), (g_mount_eject_finish):
637 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
638 (get_volume_for_uuid), (get_mount_for_uuid),
639 (g_union_volume_monitor_class_init),
640 (get_default_native_type_with_exclude), (get_default_native_type),
641 (get_native_type), (update_native_type),
642 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
643 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
644 (g_unix_mount_can_eject), (eject_unmount_cb),
645 (eject_unmount_read_error), (eject_unmount_do),
646 (g_unix_mount_unmount), (g_unix_mount_eject),
647 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
648 * gunixmounts.c: (g_unix_mount_guess_can_eject),
649 (g_unix_mount_point_guess_can_eject):
651 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
652 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
653 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
654 (g_unix_volume_mount), (g_unix_volume_eject),
655 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
656 * gunixvolumemonitor.c: (get_volume_for_uuid),
657 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
659 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
660 (g_volume_eject), (g_volume_eject_finish):
662 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
663 (g_volume_monitor_get_mount_for_uuid):
666 Provide eject() on both GMount and GVolume and utility functions
667 to guess whether a GUnixMountPoint or GUnixMountEntry should be
668 ejected. Introduce the concept of UUID's and wire it into GVolume
669 and GMount and provide API on GVolumeMonitor to find such
670 instances. Also handle the case where an external
671 GNativeVolumeMonitor fails to initialize. Lock around the
672 _g_get_mount_for_mount_path() function such that volume monitor
673 implementations won't have to do locking themselves.
675 2007-12-17 Matthias Clasen <mclasen@redhat.com>
683 * gvolume.h: Documentation updates
685 2007-12-14 Matthias Clasen <mclasen@redhat.com>
688 * gfile.h: Doc updates
690 2007-12-14 Matthias Clasen <mclasen@redhat.com>
693 * gdesktopappinfo.c: Use hash table iterators.
695 2007-12-14 Alexander Larsson <alexl@redhat.com>
698 * gfileattribute.[ch]:
699 * gfileattribute-priv.h:
700 Move GFileAttributeValue to a private header, as
704 Make set_attribute take a type + a pointer instead
705 of a GFileAttributeValue.
708 Fix up for above changes.
709 Add g_file_info_get_attribute_data to get
710 all info in one call, g_file_info_get_attribute_status
711 to get the status and g_file_info_get_attribute_as_string.
715 * glocalfileinfo.[ch]:
719 Make _guess_type static.
721 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
724 * inotify/Makefile.am: Fixed build when srcdir != builddir,
725 made mkenums and friends use temporary files to avoid leaving
726 empty generated files on failure (#503470).
728 2007-12-14 Alexander Larsson <alexl@redhat.com>
733 2007-12-14 Alexander Larsson <alexl@redhat.com>
737 * gfileattribute.[ch]:
740 * glocalfileoutputstream.c:
741 * gmountoperation.[ch]:
742 * goutputstream.[ch]:
743 Clean up all flags enums to not have _FLAGS in them
744 Make the names of some of the enums better.
749 2007-12-14 Michael Natterer <mitch@imendio.com>
751 * gio.symbols: fix g_io_scheduler symbol names.
753 2007-12-14 Alexander Larsson <alexl@redhat.com>
759 * gbufferedinputstream.h:
760 * gbufferedoutputstream.h:
763 * gdatainputstream.h:
764 * gdataoutputstream.h:
766 * gdirectorymonitor.h:
773 * gfileinputstream.h:
775 * gfilenamecompleter.h:
776 * gfileoutputstream.h:
777 * gfilterinputstream.h:
778 * gfilteroutputstream.h:
786 * gmemoryinputstream.h:
787 * gmemoryoutputstream.h:
792 * gsimpleasyncresult.h:
794 * gunixinputstream.h:
796 * gunixoutputstream.h:
800 * inotify/Makefile.am:
801 Only allow including <gio/gio.h> from apps
803 2007-12-14 Alexander Larsson <alexl@redhat.com>
806 * gsimpleasyncresult.c:
807 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
808 Split out the send_to_mainloop call into two versions instead
809 of having the block argument.
811 2007-12-13 Alexander Larsson <alexl@redhat.com>
815 * gbufferedinputstream.c:
817 * gfileinputstream.c:
818 * gfileoutputstream.c:
822 g_push/pop_current_cancellable ->
823 g_cancellable_push/pop_current
825 2007-12-13 Alexander Larsson <alexl@redhat.com>
829 Rename g_mount_for_location to g_file_mount_enclosing_volume.
831 2007-12-13 Alexander Larsson <alexl@redhat.com>
834 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
836 2007-12-12 Alexander Larsson <alexl@redhat.com>
839 Fix race condition when freeing proxy in
840 g_io_job_send_to_mainloop().
842 2007-12-12 Alexander Larsson <alexl@redhat.com>
848 Make attribute namespace separator "::" instead of ":".
849 Use - instead of _ as separator in attribute names.
851 2007-12-12 Alexander Larsson <alexl@redhat.com>
853 * gbufferedinputstream.h:
854 * gbufferedoutputstream.h:
855 * gdatainputstream.h:
856 * gdataoutputstream.h:
857 * gdirectorymonitor.h:
859 * gfileinputstream.h:
861 * gfileoutputstream.h:
862 * gfilterinputstream.h:
863 * gfilteroutputstream.h:
865 * glocalfileinputstream.h:
866 * glocalfileoutputstream.h:
867 * gmemoryinputstream.h:
868 * gmemoryoutputstream.h:
869 * gnativevolumemonitor.h:
871 * gunixinputstream.h:
872 * gunixoutputstream.h:
875 s/parent/parent_instance/ in GObjects
877 2007-12-12 Alexander Larsson <alexl@redhat.com>
882 No need for padding for interfaces
884 2007-12-12 Alexander Larsson <alexl@redhat.com>
888 * gbufferedinputstream.c:
889 * gbufferedoutputstream.c:
892 * gdatainputstream.[ch]:
894 * gdirectorymonitor.c:
896 * gfileattribute.[ch]:
899 * gfileinputstream.h:
901 * gfileoutputstream.[ch]:
902 * gfilterinputstream.h:
903 * gfilteroutputstream.h:
906 * gloadableicon.[ch]:
907 * gmemoryinputstream.c:
910 Fix up a bunch of details in the docs.
915 2007-12-11 David Zeuthen <davidz@redhat.com>
917 Rework how volumes, drives and volume monitoring is
918 done. Previosly the model was
922 where a GDrive instance represented a mount point and a GVolume
923 instance represented a mounted file system. This patch changes it
926 GDrive <1-N> GVolume <1-1> GMount
928 where GMount now serves the purpose of the old GVolume and the new
929 GVolume serves the purpose of the old GDrive. In addition the new
930 GDrive interface is used to represent a collection of GVolume
931 instances (typically partitions) and also contains utility to query
932 the state of the physical drive the GDrive object represents (such
933 as checking for media, polling the drive, ejecting the media etc.).
935 Also implement mounting and unmounting in the Unix volume monitor
936 backend. A subquent patch will introduce GDrive support for ejection
940 * gdrive.c: (g_drive_is_media_check_automatic),
941 (g_drive_is_media_removable), (g_drive_has_media),
942 (g_drive_can_poll_for_media), (g_drive_eject),
943 (g_drive_eject_finish), (g_drive_poll_for_media),
944 (g_drive_poll_for_media_finish):
946 * gfile.c: (g_file_find_enclosing_mount):
949 * glocaldirectorymonitor.c:
950 (g_local_directory_monitor_constructor), (mounts_changed):
951 * glocalfile.c: (get_mount_info),
952 (g_local_file_find_enclosing_mount),
953 (g_local_file_file_iface_init):
954 * gnativevolumemonitor.h:
955 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
956 (get_connected_drives), (g_union_volume_monitor_class_init),
957 (child_volume_added), (child_volume_removed),
958 (child_volume_changed), (child_mount_added), (child_mount_removed),
959 (child_mount_pre_unmount), (child_mount_changed),
960 (child_drive_changed), (g_union_volume_monitor_add_monitor),
961 (g_union_volume_monitor_remove_monitor),
962 (_g_mount_get_for_mount_path):
963 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
964 (guess_system_internal), (_g_get_unix_mounts),
965 (_g_get_unix_mount_points), (g_get_unix_mount_at),
966 (g_unix_mount_free), (g_unix_mount_compare),
967 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
968 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
969 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
970 (type_to_icon), (g_unix_mount_guess_name),
971 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
972 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
973 (_resolve_symlink), (_resolve_dev_root):
975 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
976 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
977 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
978 (g_unix_volume_get_name), (g_unix_volume_can_mount),
979 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
980 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
981 (g_unix_volume_mount), (g_unix_volume_mount_finish),
982 (g_unix_volume_volume_iface_init):
984 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
985 (get_mounts), (get_volumes), (get_connected_drives),
986 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
987 (mountpoints_changed), (mounts_changed),
988 (g_unix_volume_monitor_init),
989 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
990 (find_mount_by_mountpath), (update_volumes), (update_mounts):
991 * gunixvolumemonitor.h:
992 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
993 (g_volume_mount), (g_volume_mount_finish):
995 * gvolumemonitor.c: (g_volume_monitor_class_init),
996 (g_volume_monitor_get_connected_drives),
997 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1000 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1002 * gmountoperation.h (GPasswordFlags): Close the gap
1004 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1006 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1008 * gdesktopappinfo.[hc]: Remove _-prefixes
1010 2007-12-10 Tor Lillqvist <tml@novell.com>
1012 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1015 2007-12-10 Alexander Larsson <alexl@redhat.com>
1017 * gfile.c (g_file_set_display_name):
1018 Don't hardcode '/' (#502727)
1020 2007-12-09 Hans Breuer <hans@breuer.org>
1022 * makefile.msc : follow lib naming convention
1023 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1024 for user and group name, tested with ../tests/gio-ls
1026 2007-12-09 A. Walton <awalton@svn.gnome.org>
1028 * gdesktopappinfo.c:
1034 * gfileenumerator.c:
1039 * gmemoryinputstream.c:
1040 * gmemoryoutputstream.c:
1042 * gsimpleasyncresult.c:
1043 More documentation cleanup and filling in missing information, bringing
1044 GIO to 99% symbol coverage.
1046 2007-12-08 Hans Breuer <hans@breuer.org>
1048 [gio compiles and links on win32, not sure how much already works]
1049 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1050 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1051 base on win32 API; prefer g_lstat() over lstat(); instead of
1052 localtime_r() use an all GLib implementation on win32;
1053 get_mount_info() still needs a win32 specifc implementation
1054 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1055 win32_get_file_user_info to get owner/group info without uid/gid
1056 * glocalfileinputstream.c : include <io.h> on win32
1057 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1058 definition, use g_win32_ftruncate() for G_OS_WIN32
1059 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1060 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1061 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1062 * makefile.msc : updated
1064 2007-12-07 Alexander Larsson <alexl@redhat.com>
1066 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1067 Avoid warning spew if error == NULL
1069 2007-12-07 Alexander Larsson <alexl@redhat.com>
1072 Update docs wrt etags
1074 2007-12-06 Alexander Larsson <alexl@redhat.com>
1077 Include sys/types.h for dev_t (#501919)
1079 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1083 Make abicheck and pltcheck pass.
1085 2007-12-05 Alexander Larsson <alexl@redhat.com>
1088 * giomodule-priv.h: Added.
1089 * glocaldirectorymonitor.c:
1090 * glocalfilemonitor.c:
1091 * gunionvolumemonitor.c:
1093 Actually add the declaration of _g_io_modules_ensure_loaded
1095 2007-12-05 Alexander Larsson <alexl@redhat.com>
1097 * gdatainputstream.c:
1102 * glocaldirectorymonitor.c:
1103 * glocalfilemonitor.c:
1104 * gunionvolumemonitor.c:
1106 Make g_io_modules_ensure_loaded a private function and
1107 don't pass in the dirname. This means we can do magic
1108 directory finding in the win32 version.
1109 Export the actual load-modules-in-directory code so that
1110 gvfs can reuse that.
1112 2007-12-05 Alexander Larsson <alexl@redhat.com>
1114 * gbufferedinputstream.c:
1115 * gbufferedoutputstream.c:
1118 * gfileenumerator.[ch]:
1119 * gfileinputstream.c:
1120 * gfileoutputstream.[ch]:
1121 * gfilterinputstream.c:
1122 * gfilteroutputstream.c:
1123 * ginputstream.[ch]:
1125 * glocalfileenumerator.c:
1126 * glocalfileinputstream.c:
1127 * glocalfileoutputstream.c:
1128 * gmemoryinputstream.c:
1129 * gmemoryoutputstream.c:
1130 * goutputstream.[ch]:
1133 * gunixinputstream.c:
1134 * gunixoutputstream.c:
1135 Rename all struct members named:
1136 read, write, close, truncate, or mount
1137 to foo_fn, as these are reserved names
1138 and could be defined as macros in libc.
1141 2007-12-04 Alexander Larsson <alexl@redhat.com>
1144 (g_output_stream_close):
1145 Only call flush if non-null.
1147 2007-11-30 Dan Winship <danw@gnome.org>
1149 * ginputstream.c (g_input_stream_set_pending): Make this take a
1150 GError and return a gboolean, and do the "outstanding operation"
1151 check (and the "stream is already closed" check) itself.
1152 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1154 * goutputstream.c (g_output_stream_set_pending)
1155 (g_output_stream_clear_pending): Likewise
1157 * gbufferedinputstream.c:
1158 * gfileinputstream.c:
1159 * gfileoutputstream.c: Update for that
1161 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1162 Like g_simple_async_report_error_in_idle, but takes a GError
1163 rather than building one.
1165 2007-11-30 Dan Winship <danw@gnome.org>
1167 * goutputstream.c: Don't cheat and unset the "pending" flag around
1168 inner calls. Instead, call the class method directly rather than
1169 the wrapper function that checks "pending"
1171 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1173 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1175 2007-12-03 Hans Breuer <hans@breuer.org>
1177 [start of port to win32/msvc]
1178 * gcancellable.c : HAVE_UNIST_H and _pipe()
1179 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1180 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1181 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1183 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1184 * glocalvfs.c : use HAVE_PWD_H
1185 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1186 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1187 * Makefile.am : added to EXTRA_DIST
1189 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1191 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1194 2007-12-03 Alexander Larsson <alexl@redhat.com>
1197 Handle OSX style xattrs API (#500506)
1199 2007-12-03 Alexander Larsson <alexl@redhat.com>
1203 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1205 2007-12-02 A. Walton <awalton@svn.gnome.org>
1209 Documentation accuracy fixes.
1211 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1213 * gioenumtypes.c.template: Fix typo.
1215 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1217 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1219 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1221 * gdirectorymonitor.c:
1222 * gfilemonitor.c: Add properties
1224 * gbufferedoutputstream.c: Don't mark buffer-size property
1227 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1229 * gbufferedoutputstream.c: Add auto-grow property.
1231 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1233 * *.c: Unify the capitalization of section headings.
1235 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1237 * gmountoperation.c: Add properties
1239 * gdatainputstream.c: Turn byte-order and newline-type into
1242 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1244 * gioenumtypes.[hc].template: Templates for enum registration
1246 * Makefile.am: Generate gioenumtypes.[hc]
1248 * gio.h: Include gioenumtypes.h
1250 * gfile.h: Add some explicit nicks.
1252 * gio.symbols: Add new symbols
1254 * pltcheck.sh: Adjust
1256 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1258 * *.c: Explain etags and link to the explanation
1260 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1262 * *.c: Explain I/O priority.
1264 * *.c: More coding style fixes.
1266 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1268 * gasyncresult.c: Add another paragraph to the intro,
1269 adjust coding style of example.
1271 2007-11-29 A. Walton <awalton@svn.gnome.org>
1274 Fixes unknown meaning in GAppLaunchContext docs.
1276 Clarify asynchronous ops.
1278 Fix entity tag docs.
1281 Provides missing gtk-doc section, fixes API docs slighly.
1282 * gsimpleasyncresult.c:
1283 Fill in missing info in docs.
1284 * gunixinputstream.c:
1285 * gunixoutputstream.c:
1286 Be more expressive in short description.
1288 Remove gtk-doc stubs for non-public API.
1290 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1292 * *.c: Coding style fixups
1294 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1296 * inotify/inotify-helper.c: Don't export the lock from libgio.
1298 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1301 * abicheck.sh: Fix copy-and-paste leftovers
1303 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1305 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1307 2007-11-28 Alexander Larsson <alexl@redhat.com>
1311 Removed unnecessary file
1313 * gdesktopappinfo.[ch]:
1316 * glocaldirectorymonitor.[ch]:
1318 * glocalfileenumerator.[ch]:
1319 * glocalfileinputstream.[ch]:
1320 * glocalfilemonitor.[ch]:
1321 * glocalfileoutputstream.[ch]:
1323 * gnativevolumemonitor.c:
1324 * gpollfilemonitor.[ch]:
1325 * gunionvolumemonitor.[ch]:
1328 * gunixvolumemonitor.[ch]:
1331 * inotify/ginotifydirectorymonitor.[ch]:
1332 * inotify/ginotifyfilemonitor.[ch]:
1333 * inotify/inotify-helper.c:
1334 Append _ to all internal functions
1338 Export symbols needed for modules
1340 2007-11-28 Alexander Larsson <alexl@redhat.com>
1343 * abicheck.sh: Added.
1344 * makegioalias.pl: Added.
1345 * pltcheck.sh: Added.
1346 * gio.symbols: Added.
1349 Initial work on adding symbol handling.
1352 Correct ifdef guard name
1355 * inotify/Makefile.am:
1356 * xdgmime/Makefile.am:
1357 Include toplevel Makefile.decl
1359 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1361 * gcontenttype.c: Move doc comments to the unix section.
1363 * *.[hc]: More trivial doc corrections.
1365 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1367 * gpollfilemonitor.c:
1371 * gdesktopappinfo.c:
1376 * gdatainputstream.c:
1377 * gdatainputstream.h:
1378 * gdataoutputstream.c:
1379 * gdataoutputstream.h:
1380 * gfileinfo.h: Doc cleanups
1382 2007-11-28 Andre Klapper <a9016009@gmx.de>
1384 * gdesktopappinfo.c: Fix a typo.
1386 2007-11-27 Andre Klapper <a9016009@gmx.de>
1388 * glocalfileoutputstream.c: Fix a typo.
1390 2007-11-27 Alexander Larsson <alexl@redhat.com>
1393 Don't include removed headers
1395 2007-11-27 Alexander Larsson <alexl@redhat.com>
1398 * gsocketinputstream.[ch]: Removed.
1399 * gsocketoutputstream.[ch]: Removed.
1400 * gunixinputstream.[ch]: Added.
1401 * gunixoutputstream.[ch]: Added.
1402 Renamed GSocket*Stream to GUnix*Stream and made
1403 it unix-only, since its not really only for sockets
1404 and it only works on unix (but is highly useful there).
1406 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1412 * gbufferedinputstream.c:
1413 * gbufferedinputstream.h:
1414 * gbufferedoutputstream.c:
1415 * gbufferedoutputstream.h:
1419 * gdatainputstream.c:
1420 * gdatainputstream.h:
1421 * gdataoutputstream.c:
1422 * gdataoutputstream.h:
1423 * gdirectorymonitor.c:
1424 * gdirectorymonitor.h:
1431 * gfileenumerator.c:
1432 * gfileenumerator.h:
1437 * gfileinputstream.c:
1438 * gfileinputstream.h:
1441 * gfilenamecompleter.c:
1442 * gfilenamecompleter.h:
1443 * gfileoutputstream.c:
1444 * gfileoutputstream.h:
1445 * gfilterinputstream.c:
1446 * gfilterinputstream.h:
1447 * gfilteroutputstream.c:
1448 * gfilteroutputstream.h:
1461 * glocalfileoutputstream.c:
1462 * gmemoryinputstream.c:
1463 * gmemoryinputstream.h:
1464 * gmemoryoutputstream.c:
1465 * gmemoryoutputstream.h:
1466 * gmountoperation.c:
1467 * gmountoperation.h:
1470 * gpollfilemonitor.c:
1473 * gsimpleasyncresult.c:
1474 * gsimpleasyncresult.h:
1475 * gsocketinputstream.c:
1476 * gsocketinputstream.h:
1477 * gsocketoutputstream.c:
1478 * gsocketoutputstream.h:
1485 * gunixvolumemonitor.c:
1494 Bumps documentation to 93% symbol coverage, touching most
1495 of the public files. Fixes broken function documentation prototypes.
1496 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1497 gtk-doc headers in private files.
1499 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1501 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1502 (g_buffered_input_stream_read_byte):
1503 * gbufferedinputstream.h:
1504 New functions for efficient access to buffer and simple single byte
1507 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1508 (g_data_input_stream_read_until):
1509 * gdatainputstream.h:
1510 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1511 read_until with multiple stop chars.
1513 2007-11-27 Alexander Larsson <alexl@redhat.com>
1517 * inotify/Makefile.am:
1518 Use the user-specified giomoduledir
1520 2007-11-27 Alexander Larsson <alexl@redhat.com>
1524 Add catch-all gio.h header
1525 Don't install gdummyfile.h
1527 2007-11-26 Alexander Larsson <alexl@redhat.com>
1529 * Makefile.am (gioinclude_HEADERS):
1530 Remove trailing whitespace
1532 2007-11-26 Alexander Larsson <alexl@redhat.com>
1534 Merge gio-standalone into glib
1536 2007-11-25 Christian Kellner <gicmo@gnome.org>
1538 * gio/goutputstream.c:
1539 Fix small mistake in the docs.
1541 2007-11-21 Christian Persch <chpe@gnome.org>
1543 * gio/glocalfile.c: (g_local_file_trash):
1544 Convert filenames to UTF-8 for GError.
1545 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1546 as per xdg base dir spec.
1548 2007-11-21 Christian Persch <chpe@gnome.org>
1550 * gio/gdesktopappinfo.c:
1551 Use that g_key_file_to_data cannot fail.
1553 Use stock defines for the key file group and key names.
1556 2007-11-21 Alexander Larsson <alexl@redhat.com>
1559 (copy_stream_with_progress):
1560 Make sure we do a final progress callback with
1561 the full total size.
1563 2007-11-21 Alexander Larsson <alexl@redhat.com>
1566 Export g_file_copy_attributes
1567 Remove padding as its not needed for interfaces
1569 2007-11-20 Alexander Larsson <alexl@redhat.com>
1574 Add G_IO_ERROR_WOULD_MERGE for
1575 copy/move dir on dir with overwrite.
1577 2007-11-20 Alexander Larsson <alexl@redhat.com>
1580 * gio/glocalfileinfo.c:
1581 Add COPY_NAME (this is an optional
1582 non-modified utf8 version of the name) that
1585 2007-11-20 Alexander Larsson <alexl@redhat.com>
1587 * gio/glocalfileenumerator.c:
1588 Report errors as GIOError, not GFileError
1590 2007-11-16 Alexander Larsson <alexl@redhat.com>
1592 * gio/glocalfileoutputstream.c:
1593 * gio/gwin32appinfo.c:
1594 Fix typos in strings.
1595 Patch from Luca Ferretti <elle.uca@libero.it>
1597 2007-11-15 Alexander Larsson <alexl@redhat.com>
1600 Post release version bump
1602 === gio-standalone 0.1.2 ===
1604 2007-11-15 Alexander Larsson <alexl@redhat.com>
1606 * docs/reference/gio/Makefile.am:
1607 Fix up distcheck by removing weird
1613 2007-11-14 Alexander Larsson <alexl@redhat.com>
1615 * gio/gdesktopappinfo.c:
1616 * gio/glocaldirectorymonitor.c:
1618 * gio/glocalfileinfo.c:
1619 * gio/inotify/inotify-sub.c:
1620 * programs/gio-cat.c:
1621 * programs/gio-copy.c:
1622 * programs/gio-info.c:
1623 * programs/gio-ls.c:
1624 * programs/gio-monitor-dir.c:
1625 * programs/gio-monitor-file.c:
1626 * programs/gio-mount.c:
1627 * programs/gio-move.c:
1628 * programs/gio-rm.c:
1629 * programs/gio-save.c:
1630 * programs/gio-trash.c:
1631 Leak fixes from Kjartan Maraas
1633 2007-11-14 Alexander Larsson <alexl@redhat.com>
1635 * gio/fam/fam-helper.c:
1637 * gio/glocalfileinfo.c:
1641 * gio/inotify/inotify-diag.c:
1642 * gio/inotify/inotify-kernel.c:
1643 Various code cleanups from Kjartan Maraas
1645 2007-11-14 Alexander Larsson <alexl@redhat.com>
1647 * gio/gioscheduler.c:
1649 Set up threadpool so that we cache 2 unused
1650 idle threads for at 15 secs. This means we
1651 will reuse thread-local data (like dbus connections)
1654 2007-11-14 Alexander Larsson <alexl@redhat.com>
1656 * gio/fam/fam-helper.c:
1657 * gio/fam/gfamdirectorymonitor.c:
1658 * gio/fam/gfamfilemonitor.c:
1660 * gio/gcontenttype.c:
1661 * gio/gdatainputstream.c:
1662 * gio/gdataoutputstream.c:
1666 * gio/gfileattribute.h:
1667 * gio/gfileenumerator.c:
1669 * gio/ginputstream.c:
1672 * gio/glocalfileinfo.c:
1673 * gio/goutputstream.c:
1674 * gio/gpollfilemonitor.c:
1675 * gio/gsimpleasyncresult.c:
1676 * gio/gunixmounts.c:
1677 * gio/gunixmounts.h:
1678 * gio/inotify/ginotifydirectorymonitor.c:
1679 * gio/inotify/ginotifyfilemonitor.c:
1680 * gio/inotify/inotify-diag.c:
1681 * gio/inotify/inotify-kernel.c:
1682 * gio/inotify/inotify-path.c:
1684 * gio/test-streams.c:
1685 * programs/gio-info.c:
1686 * programs/gio-monitor-dir.c:
1687 * programs/gio-monitor-file.c:
1688 Various code cleanups from Kjartan Maraas
1690 2007-11-13 Alexander Larsson <alexl@redhat.com>
1693 Handle the uri-scheme calls for dummy files
1695 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1697 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1698 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1699 to avoid clash with the C++ keyword.
1701 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1703 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1704 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1706 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1708 * gio/glocaldirectorymonitor.c:
1709 * gio/glocalfilemonitor.c:
1710 * gio/gunionvolumemonitor.c:
1711 Don't use g_once_init_*() for initializations that could fail and
1712 could leave the initialization variable set to 0 but use GOnce.
1713 This prevents a deadlock on the second call when trying to create
1714 a monitor and no monitor type is available. Thanks to Sven Herzberg
1717 2007-11-11 Sven Herzberg <sven@imendio.com>
1719 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1720 #ifdef (make it work on MacOS X again)
1722 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1724 Fixes Changelog for last two commits (sorry guys).
1726 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1728 * gio/gbufferedinputstream.c:
1729 * gio/gdatainputstream.c:
1731 * gio/gfileoutputstream.c:
1732 * gio/gfilterinputstream.c:
1733 * gio/glocalfileinputstream.c:
1736 More consistency fixes in g*stream.c files.
1737 Significant clean of gfile's documentation, filling in of
1738 asynchronous operations documentation.
1740 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1742 * gio/gasyncresult.c:
1743 * gio/gbufferedinputstream.c:
1744 * gio/gbufferedoutputstream.c:
1745 * gio/gcancellable.c:
1746 * gio/gcontenttype.c:
1747 * gio/gdatainputstream.c:
1748 * gio/gdataoutputstream.c:
1749 * gio/gdesktopappinfo.c:
1752 * gio/gfileattribute.c:
1753 * gio/gio/gfileenumerator.c:
1755 * gio/gfileinputstream.c:
1756 * gio/gfilemonitor.c:
1757 * gio/gfileoutputstream.c:
1758 * gio/ginputstream.c:
1760 * gio/gioscheduler.c:
1761 * gio/gloadableicon.c:
1762 * gio/glocalfileoutputstream.c:
1763 * gio/gmemoryoutputstream.c:
1764 * gio/gmountoperation.c:
1765 * gio/goutputstream.c:
1767 * gio/gsimpleasyncresult.c:
1768 * gio/gunionvolumemonitor.c:
1769 * gio/gunixmounts.c:
1770 * gio/gunixvolume.c:
1774 * gio/gvolumemonitor.c:
1775 Updated documentation stubs, working towards consistency and
1778 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1780 * gio/gmemoryoutputstream.c:
1781 * gio/gmemoryoutputstream.h:
1782 Change g_memory_output_stream_set_free_on_close() to
1783 g_memory_output_stream_set_free_data() as this makes more sense and
1784 is more consistent with GMemoryInputStream.
1786 2007-11-07 Alexander Larsson <alexl@redhat.com>
1793 Change how we find the default vfs so that
1794 we can handle a gvfs failing to init
1796 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1798 * gio/gbufferedoutputstream.c:
1799 * gio/gdatainputstream.c:
1800 * gio/gdataoutputstream.c:
1801 * gio/gfileinputstream.c:
1802 * gio/gfileoutputstream.c:
1803 * gio/gfilterinputstream.c:
1804 * gio/gfilteroutputstream.c:
1805 * gio/ginputstream.c:
1806 * gio/gmemoryinputstream.c:
1807 * gio/gmemoryoutputstream.c:
1808 * gio/goutputstream.c:
1809 * gio/gsimpleasyncresult.c:
1810 * gio/gsocketinputstream.c:
1811 * gio/gsocketoutputstream.c:
1812 Add guards to the remaining public functions, add a TODO for
1813 an unimplemented function and remove some useless guards.
1815 2007-11-07 Alexander Larsson <alexl@redhat.com>
1818 Autoconf checks for the various types of
1819 getpwuid_r and getgrgid_r
1821 * gio/glocalfileinfo.c:
1822 Use the autoconf checks from above
1824 2007-11-07 Alexander Larsson <alexl@redhat.com>
1827 (g_local_file_query_filesystem_info):
1828 Some fixes for the statvfs case
1830 2007-11-07 Alexander Larsson <alexl@redhat.com>
1833 (g_local_file_query_filesystem_info):
1834 Pick the "best" of statfs / statvfs for the system
1835 if both are availible.
1837 2007-11-07 Alexander Larsson <alexl@redhat.com>
1839 Solaris fixes from Halton.Huo@Sun.COM:
1846 * gio/glocalfileinfo.c:
1847 Fix for solaris definition of getpwuid_r
1849 * gio/test-streams.c:
1850 Use G_GNUC_PRETTY_FUNCTION
1852 2007-11-07 Alexander Larsson <alexl@redhat.com>
1854 * gio/gdesktopappinfo.c:
1855 (update_default_list):
1856 Remove double semicolon.
1857 Patch from Jens Granseuer
1859 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1861 * docs/reference/gio/gio-sections.txt:
1862 * gio/gbufferedinputstream.c:
1863 * gio/gbufferedinputstream.h:
1864 * gio/gdatainputstream.c:
1865 * gio/gfileenumerator.c:
1866 * gio/gioscheduler.c:
1867 * gio/gunionvolumemonitor.c:
1869 * programs/gio-save.c:
1870 Fix typo: availible -> available. Unfortuntely this breaks API
1871 and ABI as g_buffered_input_stream_get_available() was renamed.
1873 * gio/gunixmounts.c:
1874 * gio/gbufferedinputstream.c:
1875 Add guards for public functions.
1877 2007-11-06 Ross Burton <ross@openedhand.com>
1879 * docs/reference/gio/Makefile.am:
1880 Fix invalid += usage which automake 1.10 doesn't like.
1882 2007-11-06 Alexander Larsson <alexl@redhat.com>
1885 (g_app_launch_context_class_init):
1888 Patch from Ross Burton
1890 2007-11-06 Alexander Larsson <alexl@redhat.com>
1893 Post release version bump
1895 === gio-standalone 0.1.1 ===
1897 2007-11-06 Alexander Larsson <alexl@redhat.com>
1900 Bump version to 0.1.1
1902 * gio/gsimpleasyncresult.c:
1903 (g_simple_async_result_set_from_error):
1904 Remove bogus g_return_if_fail
1906 2007-11-06 Alexander Larsson <alexl@redhat.com>
1909 The name is gio-standalone
1912 Add top src/builddir to includedir
1914 2007-11-06 Alexander Larsson <alexl@redhat.com>
1916 * docs/reference/gio/gio-sections.txt:
1918 * gio/gbufferedinputstream.c:
1919 * gio/gbufferedoutputstream.c:
1920 * gio/gcancellable.c:
1921 * gio/gdatainputstream.h:
1922 * gio/gdataoutputstream.c:
1923 * gio/gdataoutputstream.h:
1924 * gio/gdirectorymonitor.c:
1926 * gio/gfileattribute.c:
1927 * gio/gfileattribute.h:
1928 * gio/gfileenumerator.c:
1929 * gio/gfileenumerator.h:
1932 * gio/gfileinputstream.h:
1933 * gio/gfilemonitor.c:
1934 * gio/gfileoutputstream.h:
1935 * gio/glocalfilemonitor.h:
1936 * gio/glocalfileoutputstream.h:
1937 * gio/gmemoryinputstream.c:
1938 * gio/gmemoryoutputstream.c:
1939 * gio/gmountoperation.c:
1940 * gio/goutputstream.c:
1941 * gio/goutputstream.h:
1943 * gio/gsimpleasyncresult.c:
1944 * gio/gunixmounts.c:
1945 * gio/gunixmounts.h:
1947 * gio/inotify/inotify-helper.c:
1948 Fix gtk-doc warnings
1950 Patch from Ross Burton
1952 2007-11-06 Alexander Larsson <alexl@redhat.com>
1954 * gio/gfilenamecompleter.c:
1955 (g_filename_completer_get_completions):
1958 * gio/gunixvolume.c:
1959 Remove unused function
1961 Patches from Ross Burton
1963 2007-11-06 Alexander Larsson <alexl@redhat.com>
1968 Padding not needed for interfaces
1970 2007-11-06 Alexander Larsson <alexl@redhat.com>
1972 * gio/gfilemonitor.c:
1976 Make giotypes.h an internal file
1979 * gio/gbufferedinputstream.h:
1980 * gio/gbufferedoutputstream.h:
1981 * gio/gcancellable.h:
1982 * gio/gdatainputstream.h:
1983 * gio/gdataoutputstream.h:
1984 * gio/gdirectorymonitor.c:
1985 * gio/gdirectorymonitor.h:
1990 * gio/gfileattribute.h:
1991 * gio/gfileenumerator.h:
1996 * gio/gfilemonitor.c:
1997 * gio/gfilemonitor.h:
1998 * gio/gfilenamecompleter.c:
1999 * gio/gfilenamecompleter.h:
2000 * gio/gfilterinputstream.h:
2001 * gio/gfilteroutputstream.h:
2002 * gio/ginputstream.h:
2003 * gio/gmemoryinputstream.h:
2004 * gio/gmemoryoutputstream.h:
2005 * gio/gmountoperation.c:
2006 * gio/gmountoperation.h:
2007 * gio/gnativevolumemonitor.c:
2008 * gio/goutputstream.h:
2011 * gio/gsimpleasyncresult.c:
2012 * gio/gsimpleasyncresult.h:
2013 * gio/gsocketinputstream.h:
2014 * gio/gsocketoutputstream.h:
2015 * gio/gthemedicon.c:
2016 * gio/gthemedicon.h:
2020 * gio/gvolumemonitor.c:
2021 * gio/gvolumemonitor.h:
2022 Add padding in classes where it seems useful
2023 Don't include giotypes.h from public headers
2024 Move in Class definitions into c file where possible
2029 2007-11-06 Alexander Larsson <alexl@redhat.com>
2031 * docs/reference/gio/gio-docs.xml:
2032 Better structure for API docs
2034 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2037 * gio/gloadableicon.c:
2038 * gio/gsimpleasyncresult.c:
2039 * gio/gthemedicon.c:
2040 Add some more guards to public functions. Only files missing are now
2043 2007-11-06 Alexander Larsson <alexl@redhat.com>
2045 * docs/reference/gio/gio-docs.xml:
2046 Remove old files, add missing ones
2048 2007-11-06 Alexander Larsson <alexl@redhat.com>
2050 * docs/reference/gio/gio-sections.txt:
2053 Hide implementation classes
2055 * gio/gdriveprivate.h:
2056 * gio/gvolumeprivate.h:
2057 Remove non-existing function declarations
2059 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2062 Fix compilation warnings and add guards to the new functions.
2064 * gio/gasyncresult.c:
2066 Add guards to the public functions.
2069 Implement get_path().
2071 2007-11-06 Alexander Larsson <alexl@redhat.com>
2073 * gio/gfilenamecompleter.c:
2074 Make g_filename_completer_get_completions
2075 return char ** instead of GList for
2078 * docs/reference/gio/gio-docs.xml:
2079 * docs/reference/gio/gio-sections.txt:
2081 * gio/gasyncresult.c:
2082 * gio/gbufferedinputstream.c:
2083 * gio/gbufferedoutputstream.c:
2084 * gio/gcancellable.c:
2085 * gio/gcontenttype.c:
2086 * gio/gdatainputstream.c:
2087 * gio/gdataoutputstream.c:
2088 * gio/gdesktopappinfo.c:
2089 * gio/gdirectorymonitor.c:
2093 * gio/gfileattribute.c:
2094 * gio/gfileenumerator.c:
2097 * gio/gfileinputstream.c:
2098 * gio/gfilemonitor.c:
2099 * gio/gfilenamecompleter.c:
2100 * gio/gfilenamecompleter.h:
2101 * gio/gfileoutputstream.c:
2102 * gio/gfilterinputstream.c:
2104 * gio/ginputstream.c:
2106 * gio/gioscheduler.c:
2107 * gio/gloadableicon.c:
2108 * gio/glocaldirectorymonitor.c:
2110 * gio/glocalfileinputstream.c:
2111 * gio/glocalfilemonitor.c:
2112 * gio/glocalfileoutputstream.c:
2114 * gio/gmemoryinputstream.c:
2115 * gio/gmemoryoutputstream.c:
2116 * gio/gmountoperation.c:
2117 * gio/goutputstream.c:
2118 * gio/gpollfilemonitor.c:
2120 * gio/gsimpleasyncresult.c:
2121 * gio/gsocketinputstream.c:
2122 * gio/gsocketoutputstream.c:
2123 * gio/gthemedicon.c:
2124 * gio/gunionvolumemonitor.c:
2126 * gio/gunixmounts.c:
2127 * gio/gunixvolume.c:
2128 * gio/gunixvolumemonitor.c:
2132 * gio/gvolumemonitor.c:
2133 * gio/gwin32appinfo.c:
2134 Add (mostly stub) doc strings to public functions.
2135 Patch from Andrew Walton (awalton@gmail.com)
2137 2007-11-06 Alexander Larsson <alexl@redhat.com>
2139 * gio/gappinfo.[ch]:
2140 Added GAppLaunchContext object and pass that to launch.
2141 This allows simple implementation of both
2142 launch-on-screen and startup notification via a gtk+
2143 subclass of GAppLaunchContext
2145 * gio/gdesktopappinfo.c:
2146 Implement GAppLaunchContext API
2148 * gio/gwin32appinfo.c:
2151 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2153 * gio/gmountoperation.c:
2154 Add some guards to GMountOperation's public functions.
2156 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2160 * gio/gcancellable.c:
2161 * gio/gdirectorymonitor.c:
2163 * gio/gfileenumerator.c:
2164 * gio/gfilemonitor.c:,
2165 * gio/gfilenamecompleter.c:
2168 * gio/gioscheduler.c:
2172 * gio/gvolumemonitor.c:
2173 Add even more guards to various public functions.
2175 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2178 Add guards to the public functions of GAppInfo.
2180 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2182 * gio/gcontenttype.c:
2183 Add some more guards for public functions.
2185 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2187 * gio/fam/fam-module.c:
2188 * gio/fam/gfamdirectorymonitor.c:
2189 * gio/fam/gfamdirectorymonitor.h:
2190 * gio/fam/gfamfilemonitor.c:
2191 * gio/fam/gfamfilemonitor.h:
2192 * gio/inotify/ginotifydirectorymonitor.c:
2193 * gio/inotify/ginotifydirectorymonitor.h:
2194 * gio/inotify/ginotifyfilemonitor.c:
2195 * gio/inotify/ginotifyfilemonitor.h:
2196 Add proper copyright information and remove an unused variable
2197 in the GInotifyFileMonitor constructor.
2199 * gio/gcancellable.c:
2200 Add a guard for a public function and an assertion to prevent
2201 an undefined program state.
2203 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2205 * gio/gfileattribute.c:
2206 Don't run into an assertion if the given attribute value is NULL
2207 in g_file_attribute_value_get_*() but instead return a fallback
2208 value that makes sense in most situations. Passing them a attribute
2209 value with the wrong type will still run into an assertion.
2211 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2213 * gio/gfileattribute.c:
2215 Add even more guards to the public functions. Also fix the refcounting
2216 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2217 let g_file_info_list_attributes() filter the attributes by namespace
2218 instead of simply ignoring the namespace parameter.
2220 2007-11-03 Sven Herzberg <sven@imendio.com>
2222 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2223 (This makes gio work on MacOS X again)
2225 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2228 Build the gio subdirectory before the docs. Otherwise the build will
2231 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2232 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2233 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2234 Add guards to the public functions.
2236 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2238 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2239 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2240 to prevent a compiler warning.
2242 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2243 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2244 return something in the non-void function find_topdir_for().
2246 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2253 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2255 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2256 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2257 * gwin32appinfo.c (g_win32_app_info_launch):
2258 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2259 envp_for_startup_id, g_desktop_app_info_launch,
2260 g_desktop_app_info_launch_uris):
2262 Give an opaque 'startup_id' string instead of 'envp'.
2263 Support empty file lists for launching new windows.
2264 Fix infinite recursion bug when launching URIs.
2266 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2269 Add guard to the new g_file_get_uri_scheme() function.
2271 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2274 Convert a g_return_val_if_fail() to setting the GError instead as
2275 otherwise applications have to verify the parameter before otherwise
2276 and the parameter might come directly from the user.
2278 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2280 * gio/inotify/ginotify*.[ch]:
2281 Add missing copyright information.
2283 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2286 Add guards in the beginning of public functions to check for valid
2287 parameters and fix a bug in copy_stream_with_progress() that could've
2288 caused writing less bytes than reading.
2289 * gio/glocalfileinfo.c:
2290 Check for a NULL parameter and set the GError accordingly then.
2291 * gio/goutputstream.c:
2292 Fix the same bug as in gfile.c that could've caused writing less bytes
2293 than reading in g_output_stream_real_splice().
2295 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2298 Use the correct gvolumeprivate.h naming
2300 2007-11-01 Christian Kellner <gicmo@gnome.org>
2303 Remove leftover "$(daemon_sources)" entry.
2305 2007-11-01 Christian Kellner <gicmo@gnome.org>
2310 Add copyright information to source files.
2312 2007-11-01 Alexander Larsson <alexl@redhat.com>
2316 Add g_file_get_uri_scheme
2318 2007-11-01 Alexander Larsson <alexl@redhat.com>
2321 * gio/gdesktopappinfo.c:
2322 * gio/gwin32appinfo.c:
2323 Add g_app_info_get_default_for_uri_scheme.
2325 2007-11-01 Alexander Larsson <alexl@redhat.com>
2328 Correct filename for gdriveprivate.h
2330 2007-10-31 Alexander Larsson <alexl@redhat.com>
2333 Rename id:value to id:file
2336 * gio/glocalfileinfo.c:
2339 2007-10-31 Alexander Larsson <alexl@redhat.com>
2341 * gio/gunixvolume.c:
2343 Remove g_volume_get_platform_id, as thats not
2344 needed with the simpler union volume monitor
2346 2007-10-31 Alexander Larsson <alexl@redhat.com>
2349 * gio/guniondrive.[ch]: Removed.
2350 * gio/gunionvolume.[ch]: Removed.
2351 Remove GUnionDrive/Volume
2353 * gio/gunionvolumemonitor.c:
2354 Simplify union volume monitor, now we
2355 only have one native volume monitor and
2356 we use the actual volumes/drives from the
2357 child monitors instead of wrapping them
2359 * gio/gnativevolumemonitor.[ch]:
2360 Base class for native volume monitors.
2361 Includes priority and get_volume_for_mountpoint
2364 Add g_file_find_enclosing_volume
2367 Remove volume name fs attribute
2368 Add readonly fs attribute
2371 Implement readonly attribute
2372 remove volume name attribute
2373 Implement find_enclosing volume
2375 * gio/gunixmounts.c:
2376 Add a volume for "/".
2378 * gio/gunixvolume.[ch]:
2379 Set better name for /
2381 * gio/gunixvolumemonitor.[ch]:
2382 Derive from GNativeVolumeMonitor
2383 Implement get_volume_for_mountpoint
2386 GVolume typedef moved to gfile.h
2388 * gio/gvolumeprivate.h:
2389 Add g_volume_get_for_mount_path
2391 2007-10-31 Alexander Larsson <alexl@redhat.com>
2393 * gio/gunixmounts.[ch]:
2394 Add cache info to unix mount listers
2395 Make getmntent use threadsafe
2396 Add is_system_internal attribute for GUnixMount
2398 * gio/gunixvolume.c:
2399 (g_unix_volume_new):
2400 Use is_system_internal instead of own code
2402 * gio/glocaldirectorymonitor.c:
2403 * gio/gunixvolumemonitor.c:
2404 Update to new gunixmounts API
2409 2007-10-30 Alexander Larsson <alexl@redhat.com>
2412 Add volume name fsinfo attribute
2415 Read volume name info
2417 * gio/gunionvolumemonitor.c:
2418 Fix infinite loops when finalizing a union volume monitor
2420 2007-10-30 Alexander Larsson <alexl@redhat.com>
2422 * gio/goutputstream.[ch]:
2423 Add splice() with default implementation
2425 * gio/gsocketoutputstream.c:
2426 (g_socket_output_stream_write):
2427 Return error on cancellation correctly.
2429 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2431 * gio/glocalfile.c (g_local_file_trash):
2432 Do not leak a string.
2434 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2436 * gio/gfile.c (g_file_load_contents):
2437 Unref the stream after closing it.
2439 2007-10-25 Alexander Larsson <alexl@redhat.com>
2441 * gio/gioscheduler.h:
2444 2007-10-25 Alexander Larsson <alexl@redhat.com>
2448 Add g_file_has_uri_scheme and implement for local files
2450 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2452 * gio/gdesktopappinfo.c: do not leak a string.
2454 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2456 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2457 (g_local_directory_monitor_new):
2458 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2459 (g_local_file_monitor_new):
2460 Only look for the monitor type that should be used the first time
2461 and use g_qsort_with_data() instead of our own bubble sort
2464 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2467 * gio/fam/Makefile.am:
2468 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2469 * gio/fam/fam-helper.h:
2470 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2471 * gio/fam/gfamdirectorymonitor.c:
2472 * gio/fam/gfamdirectorymonitor.h:
2473 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2474 * gio/fam/gfamfilemonitor.h:
2475 * gio/glocaldirectorymonitor.c:
2476 * gio/glocaldirectorymonitor.h:
2477 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2478 * gio/glocalfilemonitor.h:
2479 * gio/inotify/Makefile.am:
2480 * gio/inotify/ginotifydirectorymonitor.c:
2481 * gio/inotify/ginotifydirectorymonitor.h:
2482 * gio/inotify/ginotifyfilemonitor.c:
2483 * gio/inotify/ginotifyfilemonitor.h:
2484 Implement the FAM and Inotify monitors as
2485 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2486 their own GIO module. GLocal(Directory|File)Monitor will use the
2487 monitor with the highest rank that is supported on that machine.
2489 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2492 Change GIO module dir to $(libdir)/gio/modules and change
2493 the log domain from GVFS to GIO. Also only export symbols starting
2494 with g_ in the resulting library.
2495 * gio/test-streams.c: (main):
2496 Set log handler for the GIO log domain.
2498 2007-10-22 Alexander Larsson <alexl@redhat.com>
2500 * gio/gfilenamecompleter.[ch]:
2501 Add g_filename_completer_set_dirs_only
2503 2007-10-22 Alexander Larsson <alexl@redhat.com>
2506 * gio/gurifuncs.[ch]:
2507 Add some simple URI helpers
2509 * gio/gfilenamecompleter.[ch]:
2510 Added object for filename (parse name actually) completion
2513 Handle ~ in parse names
2515 2007-10-17 Alexander Larsson <alexl@redhat.com>
2518 * gio/glocalfileinfo.c:
2519 Add and implement id:value attribute
2521 2007-10-17 Alexander Larsson <alexl@redhat.com>
2524 * gio/guniondrive.c:
2526 Add and implement g_drive_has_volumes
2528 2007-10-17 Alexander Larsson <alexl@redhat.com>
2531 * gio/glocalfileinfo.[ch]:
2532 Add unix:is_mountpoint and implement for local files
2534 2007-10-16 Alexander Larsson <alexl@redhat.com>
2536 * gio/gunionvolumemonitor.c:
2537 (g_union_volume_monitor_init):
2538 Fix up the unix type getting so that it works with gcc
2540 2007-10-12 Alexander Larsson <alexl@redhat.com>
2543 * gio/glocalfileinfo.c:
2544 Add thumbnail:failed to file info
2546 2007-10-12 Richard Hult <richard@imendio.com>
2548 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2549 optimizing away the get_type call (happens with some gcc versions,
2550 like the one shipped with OS X 10.4).
2552 2007-10-12 Alexander Larsson <alexl@redhat.com>
2554 * gio/glocalfileinfo.c:
2555 (_g_local_file_info_set_attribute):
2556 Fix build if not HAVE_XATTR
2557 Patch from Milosz Derezynski <internalerror@gmail.com>
2559 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2561 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2562 around for review, otherwise I would have asked you before
2565 2007-10-11 Alexander Larsson <alexl@redhat.com>
2568 Add thumbnail:path attribute
2570 * gio/glocalfileinfo.c:
2571 Implement thumbnail:path for local files
2573 2007-10-11 Alexander Larsson <alexl@redhat.com>
2575 * gio/glocalfileinfo.c:
2576 (_g_local_file_info_get):
2577 Avoid duplicate icon names
2579 2007-10-11 Alexander Larsson <alexl@redhat.com>
2581 * gio/gthemedicon.[ch]:
2582 Change g_themed_icon_get_names return type to const
2584 2007-10-10 Alexander Larsson <alexl@redhat.com>
2586 * gio/glocalfileinfo.c:
2587 Don't reference freed memory
2589 2007-10-10 Alexander Larsson <alexl@redhat.com>
2591 * gio/gfileattribute.c:
2594 * gio/glocalfileinfo.c:
2597 2007-10-10 Alexander Larsson <alexl@redhat.com>
2600 Check for NULL icons
2602 * gio/gfileattribute.c:
2603 Don't dup when getting objects (same as for string attributes)
2605 * gio/gicon.c (g_icon_equal):
2606 Safely handle NULLs in equal
2608 2007-10-10 Alexander Larsson <alexl@redhat.com>
2611 Fix c++ compilation issues
2612 Patch from Milosz Derezynski <internalerror@gmail.com>
2614 2007-10-10 Alexander Larsson <alexl@redhat.com>
2616 * programs/gio-monitor-dir.c:
2617 Don't crash if dir monitor not supported.
2619 2007-10-09 Alexander Larsson <alexl@redhat.com>
2622 Add missing G_END_DECLS
2624 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2626 * gio/gfile.c: (g_file_set_display_name),
2627 (g_file_query_settable_attributes),
2628 (g_file_query_writable_namespaces):
2629 Return NULL not FALSE on errors as the return type is a pointer.
2631 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2633 * gio/glocalfile.c: (g_local_file_monitor_file):
2634 Don't call monitor_file on the default interface vtable (which
2635 is NULL) but simply return NULL. The caller, GFile, will create a
2636 polling monitor if NULL is returned.
2638 2007-10-09 Alexander Larsson <alexl@redhat.com>
2642 * gio-unix-2.0.pc.in:
2643 Add gio-unix-2.0.pc if OS_UNIX
2646 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2648 2007-10-09 Alexander Larsson <alexl@redhat.com>
2650 * gio/gunixmounts.[ch]:
2651 Make unix mount monitoring API sane.
2652 Now its just a object with mounts_changed
2653 and mountpoints_changed signals.
2655 * gio/glocaldirectorymonitor.c:
2656 * gio/gunixvolumemonitor.c:
2657 Use new mount monitor api
2659 2007-10-09 Alexander Larsson <alexl@redhat.com>
2661 * gio/gunixmounts.[ch]:
2662 Move guess type into one call for mounts and one for mountpoints
2665 * gio/gunixvolume.c:
2668 2007-10-09 Alexander Larsson <alexl@redhat.com>
2670 * gio/gunixmounts.[ch]:
2671 Remove _ prefix in preparation to make this semi-public
2672 Hide implementation of structs
2674 * gio/glocaldirectorymonitor.c:
2676 * gio/gunixvolume.c:
2677 * gio/gunixvolumemonitor.c:
2678 Update for above API changes
2680 2007-10-08 Alexander Larsson <alexl@redhat.com>
2683 Better polling fallback. This also handles the case where we have
2684 a monitor_file implementation, but it fails.
2686 2007-10-08 Alexander Larsson <alexl@redhat.com>
2690 * gio/gunixmounts.c:
2691 * programs/gio-monitor-dir.c:
2692 * programs/gio-monitor-file.c:
2693 Added cancellable to file monitoring calls.
2694 These are really sync calls and need this.
2696 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2698 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2699 (g_local_vfs_class_init):
2700 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2701 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2703 2007-10-05 Alexander Larsson <alexl@redhat.com>
2705 * gio/gdirectorymonitorprivate.h:
2706 * gio/gfilemonitorprivate.h:
2707 * gio/gdirectorymonitor.h:
2708 * gio/gfilemonitor.h:
2709 Remove *private.h and move to the public API, so that
2710 we can do implementations outside gio (such as in gvfs)
2712 * gio/gdirectorymonitor.c:
2713 * gio/gfilemonitor.c:
2714 * gio/glocaldirectorymonitor.c:
2715 * gio/gpollfilemonitor.c:
2716 * gio/inotify/inotify-helper.c:
2717 * gio/fam/fam-helper.c:
2718 Update to the new header names
2720 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2722 * gio/gdirectorymonitor.c:
2723 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2726 2007-10-04 Alexander Larsson <alexl@redhat.com>
2728 * gio/glocalfileinfo.c (get_access_rights):
2729 Set CAN_TRASH when we can move the file.
2730 We should really also check for a parent trash dir.
2732 2007-10-04 Alexander Larsson <alexl@redhat.com>
2734 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2735 Add can_trash access attribute
2737 2007-10-04 Alexander Larsson <alexl@redhat.com>
2740 (g_local_file_trash):
2741 Create info file first. This is per-spec and allows
2742 us to actually trash directories.
2744 2007-10-02 Alexander Larsson <alexl@redhat.com>
2746 * gio/gdesktopappinfo.c:
2747 Implement the new mime support code.
2748 Always set app as handling mimetype when being set as default for it
2750 2007-10-01 Alexander Larsson <alexl@redhat.com>
2752 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2753 Fix up check for xattrs:
2755 2007-10-01 Alexander Larsson <alexl@redhat.com>
2758 (g_app_info_set_as_default_for_extension):
2759 (g_app_info_add_supports_type):
2760 (g_app_info_can_remove_supports_type):
2761 (g_app_info_remove_supports_type):
2762 Make these fail nicely if not implemented
2764 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2766 * gio/glocalfileoutputstream.c:
2767 * gio/glocalfileoutputstream.h:
2772 * programs/gio-save.c:
2773 Add a GFileCreateFlags argument to operations that can create
2776 2007-10-01 Alexander Larsson <alexl@redhat.com>
2778 * gio/gappinfo.[ch]:
2779 * gio/gdesktopappinfo.c:
2780 Add more (stubbed out) mime API needed for nautilus
2782 2007-10-01 Alexander Larsson <alexl@redhat.com>
2785 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2786 Add g_app_info_set_as_default_for_extension.
2788 * gio/gdesktopappinfo.c:
2789 Dummy for g_app_info_set_as_default_for_extension
2790 Support flags in g_app_info_create_from_commandline
2792 * gio/gwin32appinfo.c:
2794 Update for API changes
2796 * gio/gthemedicon.c:
2797 Properly NULL-terminate list of icon names
2799 2007-09-28 Alexander Larsson <alexl@redhat.com>
2801 * gio/gloadableicon.h:
2802 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2804 2007-09-28 Alexander Larsson <alexl@redhat.com>
2807 Install headers in $includedir/gio-standalone/
2809 * gio-2.0.pc.in: Added.
2810 * gio-standalone.pc.in: Removed.
2813 Renamed pkg-config file to match glib (for future move)
2814 Update to the new include dir
2817 Add more TODO comments
2819 2007-09-28 Alexander Larsson <alexl@redhat.com>
2821 * gio/gdesktopappinfo.[ch]:
2822 Expose new_from_filename
2823 Add getter for is_hidden and handle it better
2825 2007-09-28 Alexander Larsson <alexl@redhat.com>
2827 * gio/gfileinfo.[ch]:
2828 Rename g_file_size_format_for_display to
2829 g_format_file_size_for_display.
2830 Now it doesn't have the g_file prefix, so we
2831 can later move it to glib.
2833 2007-09-28 Alexander Larsson <alexl@redhat.com>
2835 * gio/gappinfo.[ch]:
2836 Add g_app_info_get_id and g_app_info_get_executable.
2837 Make all getters non-reffing
2838 Make g_app_info_launch take GFile arguments.
2839 Add must_support_uris argument to g_app_info_get_default_for_type.
2841 * gio/gwin32appinfo.c:
2842 Update to GAppInfo api changes
2844 * gio/gdesktopappinfo.c:
2845 Update to GAppInfo api changes
2846 Implement supports_xdg_startup_notify
2848 * gio/gfileicon.c (g_file_icon_get_file):
2849 Make getter non-reffing.
2854 2007-09-27 Alexander Larsson <alexl@redhat.com>
2856 * gio/gfileinfo.[ch]:
2857 Add g_file_size_format_for_display helper
2859 2007-09-27 Alexander Larsson <alexl@redhat.com>
2861 * gio/glocalfileinfo.c:
2862 Set UNIX_GID from gid, not from uid
2864 2007-09-27 Alexander Larsson <alexl@redhat.com>
2867 Add g_file_set_attributes_async
2869 2007-09-27 Alexander Larsson <alexl@redhat.com>
2871 * gio/glocalfile.c (g_local_file_set_display_name):
2872 Fix set_display_name to actually rename to the right place.
2873 Use lstat to look for existing files so we don't overwrite
2876 2007-09-26 Alexander Larsson <alexl@redhat.com>
2879 Add g_file_set_display_name_async()
2881 2007-09-26 Alexander Larsson <alexl@redhat.com>
2884 Add load_partial_contents async calls
2887 Make internal function static
2889 2007-09-26 Alexander Larsson <alexl@redhat.com>
2891 * gio/glocalfileinfo.c:
2892 Correctly detect broken symlinks
2894 2007-09-26 Alexander Larsson <alexl@redhat.com>
2896 * gio/gcancellable.c (g_cancellable_cancel):
2897 Allow cancel on NULL cancellable
2899 2007-09-25 Alexander Larsson <alexl@redhat.com>
2901 * gio/gsimpleasyncresult.c:
2902 Don't allocate g_error manually.
2903 Fixes g_slice/g_new mixup crash
2905 2007-09-25 Alexander Larsson <alexl@redhat.com>
2907 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2908 Actually set active_backend.
2909 This means the monitor will be cancelled correctly.
2911 2007-09-25 Alexander Larsson <alexl@redhat.com>
2913 * gio/gdirectorymonitor.c:
2914 Set timeout to NULL when destroying
2916 2007-09-25 Alexander Larsson <alexl@redhat.com>
2919 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2920 that is a better description of the error.
2922 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2924 * gio/gvfs.c: (g_vfs_get_local):
2925 Make the local vfs variable static. The same instance should
2928 2007-09-24 Alexander Larsson <alexl@redhat.com>
2930 * gio/glocalfileinfo.c:
2931 Pass in actual length read into sniffer, not the length
2934 2007-09-21 Alexander Larsson <alexl@redhat.com>
2936 * gio/gfileenumerator.c:
2939 * gio/gfileinputstream.c:
2940 * gio/gfileoutputstream.c:
2941 * gio/ginputstream.c:
2942 * gio/goutputstream.c:
2943 Don't crash if async callbacks are NULL
2945 2007-09-20 Alexander Larsson <alexl@redhat.com>
2948 Add async enumerate_children method and default
2951 2007-09-20 Alexander Larsson <alexl@redhat.com>
2954 Add g_file_contains_file & g_file_get_relative_path, since they
2955 were needed for nautilus.
2956 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2961 Implement new methods
2963 2007-09-17 Alexander Larsson <alexl@redhat.com>
2966 * gio/gfileinputstream.[ch]:
2967 * gio/gfileoutputstream.[ch]:
2969 * gio/glocalfileenumerator.[ch]:
2970 * gio/glocalfileinfo.[ch]:
2971 * gio/glocalfileinputstream.c:
2972 * gio/glocalfileoutputstream.c:
2973 * gio/gpollfilemonitor.c:
2974 * programs/gio-copy.c:
2975 * programs/gio-info.c:
2976 * programs/gio-move.c:
2977 Rename get_file_info to query_info() to make it clearer
2978 that these are not simple getters, but do i/o.
2980 2007-09-17 Alexander Larsson <alexl@redhat.com>
2982 * gio/gdatainputstream.[ch]:
2983 * gio/test-streams.c:
2984 Use _read_XXX instead of _get_XXX for the i/o calls
2987 2007-09-17 Alexander Larsson <alexl@redhat.com>
2990 Added needed stuff to TODO comment
2992 2007-09-17 Alexander Larsson <alexl@redhat.com>
2994 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2995 Don't error out removing the backup copy if it doesn't
2998 2007-09-14 Alexander Larsson <alexl@redhat.com>
3000 * programs/Makefile.am:
3001 * programs/gvfs-*.c:
3003 Renamed apps from gvfs-xxx to gio-xxx.
3005 2007-09-14 Alexander Larsson <alexl@redhat.com>
3008 * gio/gfileoutputstream.[ch]:
3009 * gio/glocalfileoutputstream.c:
3010 * programs/gvfs-save.c:
3011 g_file_output_stream_get_etag doesn't do i/o, so remove
3012 cancellation and error.
3014 2007-09-14 Alexander Larsson <alexl@redhat.com>
3017 Add new_etag output to replace_contents functions
3019 2007-09-14 Alexander Larsson <alexl@redhat.com>
3021 * gio/gfileoutputstream.[ch]:
3022 Add async get_file_info and default implementation
3024 2007-09-14 Alexander Larsson <alexl@redhat.com>
3026 * gio/gfileinputstream.c:
3027 Implement fallback wrapper for async get_file_info
3029 2007-09-14 Alexander Larsson <alexl@redhat.com>
3032 Add etag out argument to load_contents
3037 2007-09-14 Alexander Larsson <alexl@redhat.com>
3039 * gio/gcontenttype.c (looks_like_text):
3040 Whitespace like tab, cr and lf do not make the
3043 2007-09-14 Alexander Larsson <alexl@redhat.com>
3045 * gio/gfileinputstream.[ch]:
3046 Add async get_file_info.
3048 2007-09-13 Alexander Larsson <alexl@redhat.com>
3050 * gio/goutputstream.c (g_output_stream_write_all):
3051 Allow NULL for bytes_written
3053 2007-09-13 Alexander Larsson <alexl@redhat.com>
3055 * gio/gmemoryinputstream.[ch]:
3056 Add accessors for data
3058 2007-09-13 Alexander Larsson <alexl@redhat.com>
3060 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3061 Don't crash if length is NULL