1 2008-01-21 Matthias Clasen <mclasen@redhat.com>
3 * === Released 2.15.3 ===
5 2008-01-21 Alexander Larsson <alexl@redhat.com>
7 * gfileinputstream.[ch]:
8 * gfileoutputstream.[ch]:
10 Remove duplicated GSeekable functions. (#509990)
11 Just use the g_seekable_xxx() calls instead.
13 2008-01-21 Matthias Clasen <mclasen@redhat.com>
16 * gvolumemanager.c: Whitespace cleanups.
18 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
19 Use the right mode when creating the file.
21 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
26 * goutputstream.c: Documentation: Fixed minor typos
27 and added more mentions of specific _finish() functions.
29 2008-01-21 Alexander Larsson <alexl@redhat.com>
31 * inotify/Makefile.am:
32 * inotify/inotify-helper.c:
33 * inotify/inotify-kernel.c:
34 * inotify/inotify-path.c:
35 * inotify/local_inotify.h: Removed.
36 * inotify/local_inotify_syscalls.h: Removed.
37 Removed the included copies of the inotify
38 headers. We now only use the <sys/inotify.h>
39 header which exists on modern systems.
40 This fixes problems on ARM and SH5 (#510448)
41 but is also generally much cleaner and future
42 safe. For instance, if other OSes add support
43 for inotify it should "just work".
45 2008-01-20 Matthias Clasen <mclasen@redhat.com>
47 * inotify/*.c: Coding style fixes.
48 * inotify/inotify-missing.c: Use g_timeout_add_seconds
51 2008-01-20 Matthias Clasen <mclasen@redhat.com>
55 * gmemoryinputstream.c:
56 * gmemoryoutputstream.c:
58 * gthemedicon.c: Documentation updates
60 2008-01-20 Murray Cumming <murrayc@murrayc.com>
62 * gfile.c: documentation: Fixed more minor
65 2008-01-18 Murray Cumming <murrayc@murrayc.com>
67 * gmount.c: (g_mount_remount): documentation:
68 Mention g_mount_remount_finish() instead of
69 g_mount_unmount_finish().
71 2008-01-18 Murray Cumming <murrayc@murrayc.com>
75 * gfile.c: Fixed some minor typos in the
78 2008-01-18 Murray Cumming <murrayc@murrayc.com>
80 * gio/gvolumemonitor.c:
81 (g_volume_monitor_get_connected_drives):
82 (g_volume_monitor_get_volumes):
83 (g_volume_monitor_get_mounts): Documentation:
84 Clarify the ownership of the regurn GLists.
86 2008-01-17 Alexander Larsson <alexl@redhat.com>
89 Add the async find_enclosing_mount version
90 to the header file too.
92 2008-01-17 Alexander Larsson <alexl@redhat.com>
95 Add async version of find_enclosing_mount
96 with default implementation.
98 2008-01-17 Alexander Larsson <alexl@redhat.com>
103 Allow calls to implementation of copy and write
104 even if the type of the file implementations is
105 different. This can be used to implement native
106 upload and download calls in a vfs.
110 Protect against the case where move is called
111 with one file not being local.
113 Make sure we call the progress callback once
114 in the native move operation so that the caller
115 knows how many bytes were copied.
117 2008-01-16 Murray Cumming <murrayc@murrayc.com>
120 * gdatainputstream.c:
122 * gfileoutputstream.c:
127 * gunixmounts.c: Corrected some typos in the documentation:
129 its -> it's (where appropriate).
131 2008-01-16 Alexander Larsson <alexl@redhat.com>
135 Add g_file_query_exists (#508771)
137 2008-01-15 Murray Cumming <murrayc@murrayc.com>
142 * gvolume.c: For async functions that have no non-async
143 version, document that the GAsyncReadyCallback may be NULL.
146 2008-01-15 Alexander Larsson <alexl@redhat.com>
148 * gmemoryinputstream.c:
149 * gmemoryoutputstream.c:
150 Don't do pointer arithmetic on void * (#508602)
151 Patch from Kazuki IWAMOTO
153 2008-01-14 Matthias Clasen <mclasen@redhat.com>
155 * === Released 2.15.2 ===
157 2008-01-14 Alexander Larsson <alexl@redhat.com>
159 * gfile.c (g_file_monitor_file):
160 Don't set error here, since we fallback to polling monitor.
162 2008-01-14 Alexander Larsson <alexl@redhat.com>
165 (g_file_monitor_directory):
166 (g_file_monitor_file):
167 Add GError to file monitor calls
169 * glocaldirectorymonitor.c:
170 * glocaldirectorymonitor.h:
172 * glocalfilemonitor.c:
173 * glocalfilemonitor.h:
175 Update for above change
177 2008-01-14 Alexander Larsson <alexl@redhat.com>
181 Handle root correctly in g_file_get_relative_path (#508719)
183 2008-01-14 Alexander Larsson <alexl@redhat.com>
186 Clean up docs and example for GAsyncResult (#508074)
188 2008-01-11 Murray Cumming <murrayc@murrayc.com>
190 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
191 and correct some spelling mistakes. Bug #508108.
193 2008-01-11 Matthias Clasen <mclasen@redhat.com>
195 * glocalfileinfo.c: Add a comment.
197 2008-01-10 Murray Cumming <murrayc@murrayc.com>
199 * gfileinfo.c: GFileInfo description: Mention
200 how to actually set attributes in a GFile and how to discover
201 which attributes are settable. Bug #508378.
203 2008-01-10 A. Walton <awalton@svn.gnome.org>
205 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
206 (g_app_info_get_default_for_type):
207 Check for NULL content types.
209 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
211 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
213 2008-01-09 Murray Cumming <murrayc@murrayc.com>
215 * gfile.c: *_async() functions: Several small corrections
216 to the documentation, mostly correcting copy/paste errors
217 and improving some sentences.
219 2008-01-09 Dan Winship <danw@gnome.org>
221 * glocalfile.c (get_unique_filename): x86_64 fix
223 2008-01-09 Alexander Larsson <alexl@redhat.com>
228 Add g_unix_mount_guess_should_display and use
229 for unix volume monitor backend.
230 This means we more or less show what the
231 gnome-vfs backend did.
232 Based on patch from Padraig O'Briain
234 2008-01-09 Alexander Larsson <alexl@redhat.com>
238 Add g_themed_icon_new_with_default_fallbacks
241 Use default fallbacks for icons
243 2008-01-09 Alexander Larsson <alexl@redhat.com>
246 * gmountoperation.[ch]:
247 Change the API a bit so that unhandled methods
248 get reported via the reply, rather than by
249 the signal emission return value. This is because
250 some handlers can't know this immediately without
251 doing I/O, and this is an async operation that
254 2008-01-09 Alexander Larsson <alexl@redhat.com>
257 * fam/gfamdirectorymonitor.c:
258 * fam/gfamfilemonitor.c:
259 Fix double free crash (#508224)
260 Patch from Joe Marcus Clarke
262 008-01-07 Matthias Clasen <mclasen@redhat.com>
264 * === Released 2.15.1 ===
266 2008-01-07 Alexander Larsson <alexl@redhat.com>
268 * gunixinputstream.c (g_unix_input_stream_skip_finish):
269 Fix warning (#507835)
271 2008-01-07 Alexander Larsson <alexl@redhat.com>
274 Pass --internal to glib-genmarshal
279 Use better types for signal arguments (#507822)
281 2008-01-07 Alexander Larsson <alexl@redhat.com>
284 Build test subdir after .
285 Remove gdirectorymonitor.[ch]
287 * gdirectorymonitor.[ch]:
291 Remove GDirectoryMonitor and make
292 GFileMonitor the baseclass for both file and
293 directory monitors. Lift the more generic
294 rate limiting code from GDirectoryMonitor
298 * fam/gfamdirectorymonitor.[ch]:
299 * inotify/ginotifydirectorymonitor.[ch]:
300 * inotify/inotify-helper.c:
301 * glocaldirectorymonitor.[ch]:
304 Update for the removed GDirectoryMonitor.
306 * gmemoryoutputstream.c:
307 Remove ununsed variable
309 2008-01-07 Alexander Larsson <alexl@redhat.com>
311 * gmemoryinputstream.c:
312 Translate error strings
315 * gmemoryoutputstream.[ch]:
316 New implementation that avoids using GByteArray
317 in implementation and API. (#506377)
319 2008-01-06 Matthias Clasen <mclasen@redhat.com>
321 * tests/*: Add a test for memory input streams.
323 * Makefile.am: Add tests to SUBDIRS.
325 2008-01-06 Matthias Clasen <mclasen@redhat.com>
327 * glocalfilemonitor.c:
328 * glocaldirectorymonitor.c: Mark property nicks and blurbs
331 2008-01-06 Matthias Clasen <mclasen@redhat.com>
333 * gdesktopappinfo.c: Fix a docs typo.
335 * gfileattribute.c: Add information about extended attributes
336 to the documentation. (#505058)
338 2008-01-04 Alexander Larsson <alexl@redhat.com>
342 Use the right type (uint) for the ask_password signal.
344 2008-01-04 Alexander Larsson <alexl@redhat.com>
349 Add g_app_info_supports_files()
350 Remove desktop arg from g_app_info_should_show().
352 * gdesktopappinfo.[ch]:
353 Implement g_app_info_supports_files() and new should_show()
354 Add g_desktop_app_info_set_desktop_env() to set the desktop
355 for should_show(). (This will be set by gtk+ later)
357 2008-01-04 Alexander Larsson <alexl@redhat.com>
360 * gmemoryinputstream.[ch]:
361 Improve API so that you can use multiple chunks
362 of memory and custom destroy functions. (#506374)
364 2008-01-03 Alexander Larsson <alexl@redhat.com>
367 Handle NULL attribute matchers safely, as we return this
368 for empty attribute matcher strings.
370 2008-01-03 Alexander Larsson <alexl@redhat.com>
372 * gunixmounts.c (g_unix_is_mount_path_system_internal):
373 Add /usr/local to list of internal mountpoints
375 2008-01-03 Alexander Larsson <alexl@redhat.com>
378 Check for HAVE_LCHOWN (#505887)
380 2008-01-03 Alexander Larsson <alexl@redhat.com>
384 Add define for selinux context attribute.
385 Fix missing : -> :: namespace separator change
386 Fix missing _ -> - name change for xattr-sys.
389 2008-01-03 Alexander Larsson <alexl@redhat.com>
392 Link to libglib and libgobject directly (#504879)
393 Patch from Sebastien Bacher
395 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
397 * gfile.c: Expanded the g_file_new_for_commandline_arg
398 description a bit, based on the code and the docs of the
399 other g_file_new_for_* functions.
401 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
403 * gfilemonitor.h: Fixed typo in docs.
405 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
407 Updates to GIO documentation. (#506395, Mikael Hermansson)
409 * gcontenttype.c: Describe memory management for return value of
410 g_content_types_get_registered(). Missing piece from #505815.
411 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
412 GVolume, GDrive, GMounts, which hopefully gives the user less
413 confusions when using this API. Following explainations from
414 Alexander Larsson on gtk-devel-list.
416 2007-12-30 Matthias Clasen <mclasen@redhat.com>
418 * gfileinfo.c: Expand the long description.
420 2007-12-30 Matthias Clasen <mclasen@redhat.com>
423 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
424 fix builds with --disable-visibility. (#500273, Christian Persch)
426 2007-12-30 Matthias Clasen <mclasen@redhat.com>
428 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
429 in the list of returned app infos.
431 2007-12-30 Matthias Clasen <mclasen@redhat.com>
433 * gappinfo.c: Fix a cross-reference
435 2007-12-30 Matthias Clasen <mclasen@redhat.com>
437 * gfileinputstream.c:
438 * gfileoutputstream.c:
444 * gfileinfo.c: Documentation updates.
446 2007-12-26 Matthias Clasen <mclasen@redhat.com>
448 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
451 2007-12-26 Matthias Clasen <mclasen@redhat.com>
453 * gcontenttype.c (g_content_types_get_registered): Don't return
454 freed memory (#505815, Mikael Hermansson)
456 2007-12-25 Paolo Borelli <pborelli@katamail.com>
458 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
459 used to detect statbuf->st_blocks. (#505042)
461 2007-12-24 Matthias Clasen <mclasen@redhat.com>
463 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
464 environment handling. (#504829, Cosimo Cecchi)
466 2007-12-22 Matthias Clasen <mclasen@redhat.com>
468 * gappinfo.c: Doc improvements
470 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
473 2007-12-20 Matthias Clasen <mclasen@redhat.com>
475 * === Released 2.15.0 ===
477 2007-12-20 Hans Breuer <hans@breuer.org>
479 * makefile.msc : don't build gdesktopappinfo.obj, it collides
480 with symbols gwin32appinfo.obj, added gmount.obj
481 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
483 2007-12-20 Alexander Larsson <alexl@redhat.com>
489 * gfilenamecompleter.c:
492 * gpollfilemonitor.c:
493 File attribute renames:
496 id::fs -> id::filesystem
498 2007-12-20 Alexander Larsson <alexl@redhat.com>
507 Add GMountUnmountFlags to all unmount and
509 Add g_mount_remount() call.
511 2007-12-20 Alexander Larsson <alexl@redhat.com>
513 * gvfs.c (get_default_vfs):
514 Fix unused variable warning
516 2007-12-19 Matthias Clasen <mclasen@redhat.com>
518 * pltcheck.sh: Update
520 2007-12-19 Matthias Clasen <mclasen@redhat.com>
522 * gunionvolumemonitor.c:
523 * gunixmount.c: Remove C99 comments
525 2007-12-19 Matthias Clasen <mclasen@redhat.com>
527 * gio.symbols: Add some missing symbols
529 2007-12-19 Alexander Larsson <alexl@redhat.com>
532 Make g_io_modules_load_all_in_directory not unuse
533 loaded modules so that users of it can do stuff
535 Init internal "module" types.
536 Initialize static prio and name for types so that
537 we don't have to load modules to get it.
539 * gnativevolumemonitor.h:
541 Move is_supported to parent class so that
542 non-native monitors can avoid being initialized
543 too. (For instance GDaemonVolumeMonitor if we're
544 not using GDaemonVfs.)
546 * glocaldirectorymonitor.[ch]:
547 * glocalfilemonitor.[ch]:
548 * gunionvolumemonitor.c:
549 * gunixvolumemonitor.c:
551 Find plugins using the static prio+name to
552 avoid unnecessarily loading the modules.
554 2007-12-19 Alexander Larsson <alexl@redhat.com>
559 2007-12-19 Alexander Larsson <alexl@redhat.com>
561 * gunionvolumemonitor.c:
562 Store the native type as GType, not class so that
563 we can unload it. But still avoid unnecessarily
566 2007-12-19 David Zeuthen <davidz@redhat.com>
568 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
569 add signals 'disconnected' and 'eject-button' on GDrive. Add
570 signal 'removed' on GVolume and 'unmounted' on GMount.
572 * gdrive.c: (g_drive_base_init):
574 * gfile.c: (g_file_mount_mountable),
575 (g_file_mount_enclosing_volume):
578 * gmount.c: (g_mount_base_init):
580 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
581 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
582 * gvolume.c: (g_volume_base_init), (g_volume_mount):
586 2007-12-17 Matthias Clasen <mclasen@redhat.com>
588 * *.c: Fix up includes in the section docs.
590 2007-12-17 Alexander Larsson <alexl@redhat.com>
592 * gnativevolumemonitor.h:
593 * gunionvolumemonitor.c:
594 * gunixvolumemonitor.c:
595 Add is_supported() to GNativeVolumeMonitorClass so
596 that we can avoid having to create an object to see
597 if the backend is supported at runtime.
598 Also add name member and an env var to pick a specific
599 volume monitor backend.
603 Add cancellable to _g_mount_get_for_mount_path()
605 * glocaldirectorymonitor.c:
606 * glocalfilemonitor.c:
607 Avoid loading and unloading modules while sorting.
609 2007-12-17 Matthias Clasen <mclasen@redhat.com>
612 * gunixmounts.[hc]: Namespace waste reduction, move some
613 g_get_unix_mount functions to the g_unix_mount namespace.
616 * gunixvolumemonitor.c:
618 * glocaldirectorymonitor.c: Update all callers.
620 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
622 2007-12-17 Alexander Larsson <alexl@redhat.com>
625 Add doc comments about what GFile operations are
626 guaranteed to not block.
628 2007-12-17 Alexander Larsson <alexl@redhat.com>
631 Add missing #ifdef fixing OSX build.
632 (#503334, patch from Richard Hult)
634 2007-12-14 David Zeuthen <davidz@redhat.com>
638 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
639 (g_mount_eject), (g_mount_eject_finish):
641 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
642 (get_volume_for_uuid), (get_mount_for_uuid),
643 (g_union_volume_monitor_class_init),
644 (get_default_native_type_with_exclude), (get_default_native_type),
645 (get_native_type), (update_native_type),
646 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
647 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
648 (g_unix_mount_can_eject), (eject_unmount_cb),
649 (eject_unmount_read_error), (eject_unmount_do),
650 (g_unix_mount_unmount), (g_unix_mount_eject),
651 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
652 * gunixmounts.c: (g_unix_mount_guess_can_eject),
653 (g_unix_mount_point_guess_can_eject):
655 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
656 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
657 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
658 (g_unix_volume_mount), (g_unix_volume_eject),
659 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
660 * gunixvolumemonitor.c: (get_volume_for_uuid),
661 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
663 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
664 (g_volume_eject), (g_volume_eject_finish):
666 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
667 (g_volume_monitor_get_mount_for_uuid):
670 Provide eject() on both GMount and GVolume and utility functions
671 to guess whether a GUnixMountPoint or GUnixMountEntry should be
672 ejected. Introduce the concept of UUID's and wire it into GVolume
673 and GMount and provide API on GVolumeMonitor to find such
674 instances. Also handle the case where an external
675 GNativeVolumeMonitor fails to initialize. Lock around the
676 _g_get_mount_for_mount_path() function such that volume monitor
677 implementations won't have to do locking themselves.
679 2007-12-17 Matthias Clasen <mclasen@redhat.com>
687 * gvolume.h: Documentation updates
689 2007-12-14 Matthias Clasen <mclasen@redhat.com>
692 * gfile.h: Doc updates
694 2007-12-14 Matthias Clasen <mclasen@redhat.com>
697 * gdesktopappinfo.c: Use hash table iterators.
699 2007-12-14 Alexander Larsson <alexl@redhat.com>
702 * gfileattribute.[ch]:
703 * gfileattribute-priv.h:
704 Move GFileAttributeValue to a private header, as
708 Make set_attribute take a type + a pointer instead
709 of a GFileAttributeValue.
712 Fix up for above changes.
713 Add g_file_info_get_attribute_data to get
714 all info in one call, g_file_info_get_attribute_status
715 to get the status and g_file_info_get_attribute_as_string.
719 * glocalfileinfo.[ch]:
723 Make _guess_type static.
725 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
728 * inotify/Makefile.am: Fixed build when srcdir != builddir,
729 made mkenums and friends use temporary files to avoid leaving
730 empty generated files on failure (#503470).
732 2007-12-14 Alexander Larsson <alexl@redhat.com>
737 2007-12-14 Alexander Larsson <alexl@redhat.com>
741 * gfileattribute.[ch]:
744 * glocalfileoutputstream.c:
745 * gmountoperation.[ch]:
746 * goutputstream.[ch]:
747 Clean up all flags enums to not have _FLAGS in them
748 Make the names of some of the enums better.
753 2007-12-14 Michael Natterer <mitch@imendio.com>
755 * gio.symbols: fix g_io_scheduler symbol names.
757 2007-12-14 Alexander Larsson <alexl@redhat.com>
763 * gbufferedinputstream.h:
764 * gbufferedoutputstream.h:
767 * gdatainputstream.h:
768 * gdataoutputstream.h:
770 * gdirectorymonitor.h:
777 * gfileinputstream.h:
779 * gfilenamecompleter.h:
780 * gfileoutputstream.h:
781 * gfilterinputstream.h:
782 * gfilteroutputstream.h:
790 * gmemoryinputstream.h:
791 * gmemoryoutputstream.h:
796 * gsimpleasyncresult.h:
798 * gunixinputstream.h:
800 * gunixoutputstream.h:
804 * inotify/Makefile.am:
805 Only allow including <gio/gio.h> from apps
807 2007-12-14 Alexander Larsson <alexl@redhat.com>
810 * gsimpleasyncresult.c:
811 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
812 Split out the send_to_mainloop call into two versions instead
813 of having the block argument.
815 2007-12-13 Alexander Larsson <alexl@redhat.com>
819 * gbufferedinputstream.c:
821 * gfileinputstream.c:
822 * gfileoutputstream.c:
826 g_push/pop_current_cancellable ->
827 g_cancellable_push/pop_current
829 2007-12-13 Alexander Larsson <alexl@redhat.com>
833 Rename g_mount_for_location to g_file_mount_enclosing_volume.
835 2007-12-13 Alexander Larsson <alexl@redhat.com>
838 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
840 2007-12-12 Alexander Larsson <alexl@redhat.com>
843 Fix race condition when freeing proxy in
844 g_io_job_send_to_mainloop().
846 2007-12-12 Alexander Larsson <alexl@redhat.com>
852 Make attribute namespace separator "::" instead of ":".
853 Use - instead of _ as separator in attribute names.
855 2007-12-12 Alexander Larsson <alexl@redhat.com>
857 * gbufferedinputstream.h:
858 * gbufferedoutputstream.h:
859 * gdatainputstream.h:
860 * gdataoutputstream.h:
861 * gdirectorymonitor.h:
863 * gfileinputstream.h:
865 * gfileoutputstream.h:
866 * gfilterinputstream.h:
867 * gfilteroutputstream.h:
869 * glocalfileinputstream.h:
870 * glocalfileoutputstream.h:
871 * gmemoryinputstream.h:
872 * gmemoryoutputstream.h:
873 * gnativevolumemonitor.h:
875 * gunixinputstream.h:
876 * gunixoutputstream.h:
879 s/parent/parent_instance/ in GObjects
881 2007-12-12 Alexander Larsson <alexl@redhat.com>
886 No need for padding for interfaces
888 2007-12-12 Alexander Larsson <alexl@redhat.com>
892 * gbufferedinputstream.c:
893 * gbufferedoutputstream.c:
896 * gdatainputstream.[ch]:
898 * gdirectorymonitor.c:
900 * gfileattribute.[ch]:
903 * gfileinputstream.h:
905 * gfileoutputstream.[ch]:
906 * gfilterinputstream.h:
907 * gfilteroutputstream.h:
910 * gloadableicon.[ch]:
911 * gmemoryinputstream.c:
914 Fix up a bunch of details in the docs.
919 2007-12-11 David Zeuthen <davidz@redhat.com>
921 Rework how volumes, drives and volume monitoring is
922 done. Previosly the model was
926 where a GDrive instance represented a mount point and a GVolume
927 instance represented a mounted file system. This patch changes it
930 GDrive <1-N> GVolume <1-1> GMount
932 where GMount now serves the purpose of the old GVolume and the new
933 GVolume serves the purpose of the old GDrive. In addition the new
934 GDrive interface is used to represent a collection of GVolume
935 instances (typically partitions) and also contains utility to query
936 the state of the physical drive the GDrive object represents (such
937 as checking for media, polling the drive, ejecting the media etc.).
939 Also implement mounting and unmounting in the Unix volume monitor
940 backend. A subquent patch will introduce GDrive support for ejection
944 * gdrive.c: (g_drive_is_media_check_automatic),
945 (g_drive_is_media_removable), (g_drive_has_media),
946 (g_drive_can_poll_for_media), (g_drive_eject),
947 (g_drive_eject_finish), (g_drive_poll_for_media),
948 (g_drive_poll_for_media_finish):
950 * gfile.c: (g_file_find_enclosing_mount):
953 * glocaldirectorymonitor.c:
954 (g_local_directory_monitor_constructor), (mounts_changed):
955 * glocalfile.c: (get_mount_info),
956 (g_local_file_find_enclosing_mount),
957 (g_local_file_file_iface_init):
958 * gnativevolumemonitor.h:
959 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
960 (get_connected_drives), (g_union_volume_monitor_class_init),
961 (child_volume_added), (child_volume_removed),
962 (child_volume_changed), (child_mount_added), (child_mount_removed),
963 (child_mount_pre_unmount), (child_mount_changed),
964 (child_drive_changed), (g_union_volume_monitor_add_monitor),
965 (g_union_volume_monitor_remove_monitor),
966 (_g_mount_get_for_mount_path):
967 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
968 (guess_system_internal), (_g_get_unix_mounts),
969 (_g_get_unix_mount_points), (g_get_unix_mount_at),
970 (g_unix_mount_free), (g_unix_mount_compare),
971 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
972 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
973 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
974 (type_to_icon), (g_unix_mount_guess_name),
975 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
976 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
977 (_resolve_symlink), (_resolve_dev_root):
979 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
980 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
981 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
982 (g_unix_volume_get_name), (g_unix_volume_can_mount),
983 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
984 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
985 (g_unix_volume_mount), (g_unix_volume_mount_finish),
986 (g_unix_volume_volume_iface_init):
988 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
989 (get_mounts), (get_volumes), (get_connected_drives),
990 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
991 (mountpoints_changed), (mounts_changed),
992 (g_unix_volume_monitor_init),
993 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
994 (find_mount_by_mountpath), (update_volumes), (update_mounts):
995 * gunixvolumemonitor.h:
996 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
997 (g_volume_mount), (g_volume_mount_finish):
999 * gvolumemonitor.c: (g_volume_monitor_class_init),
1000 (g_volume_monitor_get_connected_drives),
1001 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1004 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1006 * gmountoperation.h (GPasswordFlags): Close the gap
1008 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1010 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1012 * gdesktopappinfo.[hc]: Remove _-prefixes
1014 2007-12-10 Tor Lillqvist <tml@novell.com>
1016 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1019 2007-12-10 Alexander Larsson <alexl@redhat.com>
1021 * gfile.c (g_file_set_display_name):
1022 Don't hardcode '/' (#502727)
1024 2007-12-09 Hans Breuer <hans@breuer.org>
1026 * makefile.msc : follow lib naming convention
1027 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1028 for user and group name, tested with ../tests/gio-ls
1030 2007-12-09 A. Walton <awalton@svn.gnome.org>
1032 * gdesktopappinfo.c:
1038 * gfileenumerator.c:
1043 * gmemoryinputstream.c:
1044 * gmemoryoutputstream.c:
1046 * gsimpleasyncresult.c:
1047 More documentation cleanup and filling in missing information, bringing
1048 GIO to 99% symbol coverage.
1050 2007-12-08 Hans Breuer <hans@breuer.org>
1052 [gio compiles and links on win32, not sure how much already works]
1053 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1054 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1055 base on win32 API; prefer g_lstat() over lstat(); instead of
1056 localtime_r() use an all GLib implementation on win32;
1057 get_mount_info() still needs a win32 specifc implementation
1058 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1059 win32_get_file_user_info to get owner/group info without uid/gid
1060 * glocalfileinputstream.c : include <io.h> on win32
1061 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1062 definition, use g_win32_ftruncate() for G_OS_WIN32
1063 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1064 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1065 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1066 * makefile.msc : updated
1068 2007-12-07 Alexander Larsson <alexl@redhat.com>
1070 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1071 Avoid warning spew if error == NULL
1073 2007-12-07 Alexander Larsson <alexl@redhat.com>
1076 Update docs wrt etags
1078 2007-12-06 Alexander Larsson <alexl@redhat.com>
1081 Include sys/types.h for dev_t (#501919)
1083 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1087 Make abicheck and pltcheck pass.
1089 2007-12-05 Alexander Larsson <alexl@redhat.com>
1092 * giomodule-priv.h: Added.
1093 * glocaldirectorymonitor.c:
1094 * glocalfilemonitor.c:
1095 * gunionvolumemonitor.c:
1097 Actually add the declaration of _g_io_modules_ensure_loaded
1099 2007-12-05 Alexander Larsson <alexl@redhat.com>
1101 * gdatainputstream.c:
1106 * glocaldirectorymonitor.c:
1107 * glocalfilemonitor.c:
1108 * gunionvolumemonitor.c:
1110 Make g_io_modules_ensure_loaded a private function and
1111 don't pass in the dirname. This means we can do magic
1112 directory finding in the win32 version.
1113 Export the actual load-modules-in-directory code so that
1114 gvfs can reuse that.
1116 2007-12-05 Alexander Larsson <alexl@redhat.com>
1118 * gbufferedinputstream.c:
1119 * gbufferedoutputstream.c:
1122 * gfileenumerator.[ch]:
1123 * gfileinputstream.c:
1124 * gfileoutputstream.[ch]:
1125 * gfilterinputstream.c:
1126 * gfilteroutputstream.c:
1127 * ginputstream.[ch]:
1129 * glocalfileenumerator.c:
1130 * glocalfileinputstream.c:
1131 * glocalfileoutputstream.c:
1132 * gmemoryinputstream.c:
1133 * gmemoryoutputstream.c:
1134 * goutputstream.[ch]:
1137 * gunixinputstream.c:
1138 * gunixoutputstream.c:
1139 Rename all struct members named:
1140 read, write, close, truncate, or mount
1141 to foo_fn, as these are reserved names
1142 and could be defined as macros in libc.
1145 2007-12-04 Alexander Larsson <alexl@redhat.com>
1148 (g_output_stream_close):
1149 Only call flush if non-null.
1151 2007-11-30 Dan Winship <danw@gnome.org>
1153 * ginputstream.c (g_input_stream_set_pending): Make this take a
1154 GError and return a gboolean, and do the "outstanding operation"
1155 check (and the "stream is already closed" check) itself.
1156 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1158 * goutputstream.c (g_output_stream_set_pending)
1159 (g_output_stream_clear_pending): Likewise
1161 * gbufferedinputstream.c:
1162 * gfileinputstream.c:
1163 * gfileoutputstream.c: Update for that
1165 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1166 Like g_simple_async_report_error_in_idle, but takes a GError
1167 rather than building one.
1169 2007-11-30 Dan Winship <danw@gnome.org>
1171 * goutputstream.c: Don't cheat and unset the "pending" flag around
1172 inner calls. Instead, call the class method directly rather than
1173 the wrapper function that checks "pending"
1175 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1177 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1179 2007-12-03 Hans Breuer <hans@breuer.org>
1181 [start of port to win32/msvc]
1182 * gcancellable.c : HAVE_UNIST_H and _pipe()
1183 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1184 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1185 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1187 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1188 * glocalvfs.c : use HAVE_PWD_H
1189 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1190 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1191 * Makefile.am : added to EXTRA_DIST
1193 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1195 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1198 2007-12-03 Alexander Larsson <alexl@redhat.com>
1201 Handle OSX style xattrs API (#500506)
1203 2007-12-03 Alexander Larsson <alexl@redhat.com>
1207 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1209 2007-12-02 A. Walton <awalton@svn.gnome.org>
1213 Documentation accuracy fixes.
1215 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1217 * gioenumtypes.c.template: Fix typo.
1219 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1221 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1223 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1225 * gdirectorymonitor.c:
1226 * gfilemonitor.c: Add properties
1228 * gbufferedoutputstream.c: Don't mark buffer-size property
1231 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1233 * gbufferedoutputstream.c: Add auto-grow property.
1235 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1237 * *.c: Unify the capitalization of section headings.
1239 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1241 * gmountoperation.c: Add properties
1243 * gdatainputstream.c: Turn byte-order and newline-type into
1246 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1248 * gioenumtypes.[hc].template: Templates for enum registration
1250 * Makefile.am: Generate gioenumtypes.[hc]
1252 * gio.h: Include gioenumtypes.h
1254 * gfile.h: Add some explicit nicks.
1256 * gio.symbols: Add new symbols
1258 * pltcheck.sh: Adjust
1260 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1262 * *.c: Explain etags and link to the explanation
1264 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1266 * *.c: Explain I/O priority.
1268 * *.c: More coding style fixes.
1270 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1272 * gasyncresult.c: Add another paragraph to the intro,
1273 adjust coding style of example.
1275 2007-11-29 A. Walton <awalton@svn.gnome.org>
1278 Fixes unknown meaning in GAppLaunchContext docs.
1280 Clarify asynchronous ops.
1282 Fix entity tag docs.
1285 Provides missing gtk-doc section, fixes API docs slighly.
1286 * gsimpleasyncresult.c:
1287 Fill in missing info in docs.
1288 * gunixinputstream.c:
1289 * gunixoutputstream.c:
1290 Be more expressive in short description.
1292 Remove gtk-doc stubs for non-public API.
1294 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1296 * *.c: Coding style fixups
1298 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1300 * inotify/inotify-helper.c: Don't export the lock from libgio.
1302 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1305 * abicheck.sh: Fix copy-and-paste leftovers
1307 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1309 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1311 2007-11-28 Alexander Larsson <alexl@redhat.com>
1315 Removed unnecessary file
1317 * gdesktopappinfo.[ch]:
1320 * glocaldirectorymonitor.[ch]:
1322 * glocalfileenumerator.[ch]:
1323 * glocalfileinputstream.[ch]:
1324 * glocalfilemonitor.[ch]:
1325 * glocalfileoutputstream.[ch]:
1327 * gnativevolumemonitor.c:
1328 * gpollfilemonitor.[ch]:
1329 * gunionvolumemonitor.[ch]:
1332 * gunixvolumemonitor.[ch]:
1335 * inotify/ginotifydirectorymonitor.[ch]:
1336 * inotify/ginotifyfilemonitor.[ch]:
1337 * inotify/inotify-helper.c:
1338 Append _ to all internal functions
1342 Export symbols needed for modules
1344 2007-11-28 Alexander Larsson <alexl@redhat.com>
1347 * abicheck.sh: Added.
1348 * makegioalias.pl: Added.
1349 * pltcheck.sh: Added.
1350 * gio.symbols: Added.
1353 Initial work on adding symbol handling.
1356 Correct ifdef guard name
1359 * inotify/Makefile.am:
1360 * xdgmime/Makefile.am:
1361 Include toplevel Makefile.decl
1363 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1365 * gcontenttype.c: Move doc comments to the unix section.
1367 * *.[hc]: More trivial doc corrections.
1369 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1371 * gpollfilemonitor.c:
1375 * gdesktopappinfo.c:
1380 * gdatainputstream.c:
1381 * gdatainputstream.h:
1382 * gdataoutputstream.c:
1383 * gdataoutputstream.h:
1384 * gfileinfo.h: Doc cleanups
1386 2007-11-28 Andre Klapper <a9016009@gmx.de>
1388 * gdesktopappinfo.c: Fix a typo.
1390 2007-11-27 Andre Klapper <a9016009@gmx.de>
1392 * glocalfileoutputstream.c: Fix a typo.
1394 2007-11-27 Alexander Larsson <alexl@redhat.com>
1397 Don't include removed headers
1399 2007-11-27 Alexander Larsson <alexl@redhat.com>
1402 * gsocketinputstream.[ch]: Removed.
1403 * gsocketoutputstream.[ch]: Removed.
1404 * gunixinputstream.[ch]: Added.
1405 * gunixoutputstream.[ch]: Added.
1406 Renamed GSocket*Stream to GUnix*Stream and made
1407 it unix-only, since its not really only for sockets
1408 and it only works on unix (but is highly useful there).
1410 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1416 * gbufferedinputstream.c:
1417 * gbufferedinputstream.h:
1418 * gbufferedoutputstream.c:
1419 * gbufferedoutputstream.h:
1423 * gdatainputstream.c:
1424 * gdatainputstream.h:
1425 * gdataoutputstream.c:
1426 * gdataoutputstream.h:
1427 * gdirectorymonitor.c:
1428 * gdirectorymonitor.h:
1435 * gfileenumerator.c:
1436 * gfileenumerator.h:
1441 * gfileinputstream.c:
1442 * gfileinputstream.h:
1445 * gfilenamecompleter.c:
1446 * gfilenamecompleter.h:
1447 * gfileoutputstream.c:
1448 * gfileoutputstream.h:
1449 * gfilterinputstream.c:
1450 * gfilterinputstream.h:
1451 * gfilteroutputstream.c:
1452 * gfilteroutputstream.h:
1465 * glocalfileoutputstream.c:
1466 * gmemoryinputstream.c:
1467 * gmemoryinputstream.h:
1468 * gmemoryoutputstream.c:
1469 * gmemoryoutputstream.h:
1470 * gmountoperation.c:
1471 * gmountoperation.h:
1474 * gpollfilemonitor.c:
1477 * gsimpleasyncresult.c:
1478 * gsimpleasyncresult.h:
1479 * gsocketinputstream.c:
1480 * gsocketinputstream.h:
1481 * gsocketoutputstream.c:
1482 * gsocketoutputstream.h:
1489 * gunixvolumemonitor.c:
1498 Bumps documentation to 93% symbol coverage, touching most
1499 of the public files. Fixes broken function documentation prototypes.
1500 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1501 gtk-doc headers in private files.
1503 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1505 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1506 (g_buffered_input_stream_read_byte):
1507 * gbufferedinputstream.h:
1508 New functions for efficient access to buffer and simple single byte
1511 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1512 (g_data_input_stream_read_until):
1513 * gdatainputstream.h:
1514 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1515 read_until with multiple stop chars.
1517 2007-11-27 Alexander Larsson <alexl@redhat.com>
1521 * inotify/Makefile.am:
1522 Use the user-specified giomoduledir
1524 2007-11-27 Alexander Larsson <alexl@redhat.com>
1528 Add catch-all gio.h header
1529 Don't install gdummyfile.h
1531 2007-11-26 Alexander Larsson <alexl@redhat.com>
1533 * Makefile.am (gioinclude_HEADERS):
1534 Remove trailing whitespace
1536 2007-11-26 Alexander Larsson <alexl@redhat.com>
1538 Merge gio-standalone into glib
1540 2007-11-25 Christian Kellner <gicmo@gnome.org>
1542 * gio/goutputstream.c:
1543 Fix small mistake in the docs.
1545 2007-11-21 Christian Persch <chpe@gnome.org>
1547 * gio/glocalfile.c: (g_local_file_trash):
1548 Convert filenames to UTF-8 for GError.
1549 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1550 as per xdg base dir spec.
1552 2007-11-21 Christian Persch <chpe@gnome.org>
1554 * gio/gdesktopappinfo.c:
1555 Use that g_key_file_to_data cannot fail.
1557 Use stock defines for the key file group and key names.
1560 2007-11-21 Alexander Larsson <alexl@redhat.com>
1563 (copy_stream_with_progress):
1564 Make sure we do a final progress callback with
1565 the full total size.
1567 2007-11-21 Alexander Larsson <alexl@redhat.com>
1570 Export g_file_copy_attributes
1571 Remove padding as its not needed for interfaces
1573 2007-11-20 Alexander Larsson <alexl@redhat.com>
1578 Add G_IO_ERROR_WOULD_MERGE for
1579 copy/move dir on dir with overwrite.
1581 2007-11-20 Alexander Larsson <alexl@redhat.com>
1584 * gio/glocalfileinfo.c:
1585 Add COPY_NAME (this is an optional
1586 non-modified utf8 version of the name) that
1589 2007-11-20 Alexander Larsson <alexl@redhat.com>
1591 * gio/glocalfileenumerator.c:
1592 Report errors as GIOError, not GFileError
1594 2007-11-16 Alexander Larsson <alexl@redhat.com>
1596 * gio/glocalfileoutputstream.c:
1597 * gio/gwin32appinfo.c:
1598 Fix typos in strings.
1599 Patch from Luca Ferretti <elle.uca@libero.it>
1601 2007-11-15 Alexander Larsson <alexl@redhat.com>
1604 Post release version bump
1606 === gio-standalone 0.1.2 ===
1608 2007-11-15 Alexander Larsson <alexl@redhat.com>
1610 * docs/reference/gio/Makefile.am:
1611 Fix up distcheck by removing weird
1617 2007-11-14 Alexander Larsson <alexl@redhat.com>
1619 * gio/gdesktopappinfo.c:
1620 * gio/glocaldirectorymonitor.c:
1622 * gio/glocalfileinfo.c:
1623 * gio/inotify/inotify-sub.c:
1624 * programs/gio-cat.c:
1625 * programs/gio-copy.c:
1626 * programs/gio-info.c:
1627 * programs/gio-ls.c:
1628 * programs/gio-monitor-dir.c:
1629 * programs/gio-monitor-file.c:
1630 * programs/gio-mount.c:
1631 * programs/gio-move.c:
1632 * programs/gio-rm.c:
1633 * programs/gio-save.c:
1634 * programs/gio-trash.c:
1635 Leak fixes from Kjartan Maraas
1637 2007-11-14 Alexander Larsson <alexl@redhat.com>
1639 * gio/fam/fam-helper.c:
1641 * gio/glocalfileinfo.c:
1645 * gio/inotify/inotify-diag.c:
1646 * gio/inotify/inotify-kernel.c:
1647 Various code cleanups from Kjartan Maraas
1649 2007-11-14 Alexander Larsson <alexl@redhat.com>
1651 * gio/gioscheduler.c:
1653 Set up threadpool so that we cache 2 unused
1654 idle threads for at 15 secs. This means we
1655 will reuse thread-local data (like dbus connections)
1658 2007-11-14 Alexander Larsson <alexl@redhat.com>
1660 * gio/fam/fam-helper.c:
1661 * gio/fam/gfamdirectorymonitor.c:
1662 * gio/fam/gfamfilemonitor.c:
1664 * gio/gcontenttype.c:
1665 * gio/gdatainputstream.c:
1666 * gio/gdataoutputstream.c:
1670 * gio/gfileattribute.h:
1671 * gio/gfileenumerator.c:
1673 * gio/ginputstream.c:
1676 * gio/glocalfileinfo.c:
1677 * gio/goutputstream.c:
1678 * gio/gpollfilemonitor.c:
1679 * gio/gsimpleasyncresult.c:
1680 * gio/gunixmounts.c:
1681 * gio/gunixmounts.h:
1682 * gio/inotify/ginotifydirectorymonitor.c:
1683 * gio/inotify/ginotifyfilemonitor.c:
1684 * gio/inotify/inotify-diag.c:
1685 * gio/inotify/inotify-kernel.c:
1686 * gio/inotify/inotify-path.c:
1688 * gio/test-streams.c:
1689 * programs/gio-info.c:
1690 * programs/gio-monitor-dir.c:
1691 * programs/gio-monitor-file.c:
1692 Various code cleanups from Kjartan Maraas
1694 2007-11-13 Alexander Larsson <alexl@redhat.com>
1697 Handle the uri-scheme calls for dummy files
1699 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1701 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1702 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1703 to avoid clash with the C++ keyword.
1705 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1707 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1708 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1710 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1712 * gio/glocaldirectorymonitor.c:
1713 * gio/glocalfilemonitor.c:
1714 * gio/gunionvolumemonitor.c:
1715 Don't use g_once_init_*() for initializations that could fail and
1716 could leave the initialization variable set to 0 but use GOnce.
1717 This prevents a deadlock on the second call when trying to create
1718 a monitor and no monitor type is available. Thanks to Sven Herzberg
1721 2007-11-11 Sven Herzberg <sven@imendio.com>
1723 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1724 #ifdef (make it work on MacOS X again)
1726 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1728 Fixes Changelog for last two commits (sorry guys).
1730 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1732 * gio/gbufferedinputstream.c:
1733 * gio/gdatainputstream.c:
1735 * gio/gfileoutputstream.c:
1736 * gio/gfilterinputstream.c:
1737 * gio/glocalfileinputstream.c:
1740 More consistency fixes in g*stream.c files.
1741 Significant clean of gfile's documentation, filling in of
1742 asynchronous operations documentation.
1744 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1746 * gio/gasyncresult.c:
1747 * gio/gbufferedinputstream.c:
1748 * gio/gbufferedoutputstream.c:
1749 * gio/gcancellable.c:
1750 * gio/gcontenttype.c:
1751 * gio/gdatainputstream.c:
1752 * gio/gdataoutputstream.c:
1753 * gio/gdesktopappinfo.c:
1756 * gio/gfileattribute.c:
1757 * gio/gio/gfileenumerator.c:
1759 * gio/gfileinputstream.c:
1760 * gio/gfilemonitor.c:
1761 * gio/gfileoutputstream.c:
1762 * gio/ginputstream.c:
1764 * gio/gioscheduler.c:
1765 * gio/gloadableicon.c:
1766 * gio/glocalfileoutputstream.c:
1767 * gio/gmemoryoutputstream.c:
1768 * gio/gmountoperation.c:
1769 * gio/goutputstream.c:
1771 * gio/gsimpleasyncresult.c:
1772 * gio/gunionvolumemonitor.c:
1773 * gio/gunixmounts.c:
1774 * gio/gunixvolume.c:
1778 * gio/gvolumemonitor.c:
1779 Updated documentation stubs, working towards consistency and
1782 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1784 * gio/gmemoryoutputstream.c:
1785 * gio/gmemoryoutputstream.h:
1786 Change g_memory_output_stream_set_free_on_close() to
1787 g_memory_output_stream_set_free_data() as this makes more sense and
1788 is more consistent with GMemoryInputStream.
1790 2007-11-07 Alexander Larsson <alexl@redhat.com>
1797 Change how we find the default vfs so that
1798 we can handle a gvfs failing to init
1800 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1802 * gio/gbufferedoutputstream.c:
1803 * gio/gdatainputstream.c:
1804 * gio/gdataoutputstream.c:
1805 * gio/gfileinputstream.c:
1806 * gio/gfileoutputstream.c:
1807 * gio/gfilterinputstream.c:
1808 * gio/gfilteroutputstream.c:
1809 * gio/ginputstream.c:
1810 * gio/gmemoryinputstream.c:
1811 * gio/gmemoryoutputstream.c:
1812 * gio/goutputstream.c:
1813 * gio/gsimpleasyncresult.c:
1814 * gio/gsocketinputstream.c:
1815 * gio/gsocketoutputstream.c:
1816 Add guards to the remaining public functions, add a TODO for
1817 an unimplemented function and remove some useless guards.
1819 2007-11-07 Alexander Larsson <alexl@redhat.com>
1822 Autoconf checks for the various types of
1823 getpwuid_r and getgrgid_r
1825 * gio/glocalfileinfo.c:
1826 Use the autoconf checks from above
1828 2007-11-07 Alexander Larsson <alexl@redhat.com>
1831 (g_local_file_query_filesystem_info):
1832 Some fixes for the statvfs case
1834 2007-11-07 Alexander Larsson <alexl@redhat.com>
1837 (g_local_file_query_filesystem_info):
1838 Pick the "best" of statfs / statvfs for the system
1839 if both are availible.
1841 2007-11-07 Alexander Larsson <alexl@redhat.com>
1843 Solaris fixes from Halton.Huo@Sun.COM:
1850 * gio/glocalfileinfo.c:
1851 Fix for solaris definition of getpwuid_r
1853 * gio/test-streams.c:
1854 Use G_GNUC_PRETTY_FUNCTION
1856 2007-11-07 Alexander Larsson <alexl@redhat.com>
1858 * gio/gdesktopappinfo.c:
1859 (update_default_list):
1860 Remove double semicolon.
1861 Patch from Jens Granseuer
1863 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1865 * docs/reference/gio/gio-sections.txt:
1866 * gio/gbufferedinputstream.c:
1867 * gio/gbufferedinputstream.h:
1868 * gio/gdatainputstream.c:
1869 * gio/gfileenumerator.c:
1870 * gio/gioscheduler.c:
1871 * gio/gunionvolumemonitor.c:
1873 * programs/gio-save.c:
1874 Fix typo: availible -> available. Unfortuntely this breaks API
1875 and ABI as g_buffered_input_stream_get_available() was renamed.
1877 * gio/gunixmounts.c:
1878 * gio/gbufferedinputstream.c:
1879 Add guards for public functions.
1881 2007-11-06 Ross Burton <ross@openedhand.com>
1883 * docs/reference/gio/Makefile.am:
1884 Fix invalid += usage which automake 1.10 doesn't like.
1886 2007-11-06 Alexander Larsson <alexl@redhat.com>
1889 (g_app_launch_context_class_init):
1892 Patch from Ross Burton
1894 2007-11-06 Alexander Larsson <alexl@redhat.com>
1897 Post release version bump
1899 === gio-standalone 0.1.1 ===
1901 2007-11-06 Alexander Larsson <alexl@redhat.com>
1904 Bump version to 0.1.1
1906 * gio/gsimpleasyncresult.c:
1907 (g_simple_async_result_set_from_error):
1908 Remove bogus g_return_if_fail
1910 2007-11-06 Alexander Larsson <alexl@redhat.com>
1913 The name is gio-standalone
1916 Add top src/builddir to includedir
1918 2007-11-06 Alexander Larsson <alexl@redhat.com>
1920 * docs/reference/gio/gio-sections.txt:
1922 * gio/gbufferedinputstream.c:
1923 * gio/gbufferedoutputstream.c:
1924 * gio/gcancellable.c:
1925 * gio/gdatainputstream.h:
1926 * gio/gdataoutputstream.c:
1927 * gio/gdataoutputstream.h:
1928 * gio/gdirectorymonitor.c:
1930 * gio/gfileattribute.c:
1931 * gio/gfileattribute.h:
1932 * gio/gfileenumerator.c:
1933 * gio/gfileenumerator.h:
1936 * gio/gfileinputstream.h:
1937 * gio/gfilemonitor.c:
1938 * gio/gfileoutputstream.h:
1939 * gio/glocalfilemonitor.h:
1940 * gio/glocalfileoutputstream.h:
1941 * gio/gmemoryinputstream.c:
1942 * gio/gmemoryoutputstream.c:
1943 * gio/gmountoperation.c:
1944 * gio/goutputstream.c:
1945 * gio/goutputstream.h:
1947 * gio/gsimpleasyncresult.c:
1948 * gio/gunixmounts.c:
1949 * gio/gunixmounts.h:
1951 * gio/inotify/inotify-helper.c:
1952 Fix gtk-doc warnings
1954 Patch from Ross Burton
1956 2007-11-06 Alexander Larsson <alexl@redhat.com>
1958 * gio/gfilenamecompleter.c:
1959 (g_filename_completer_get_completions):
1962 * gio/gunixvolume.c:
1963 Remove unused function
1965 Patches from Ross Burton
1967 2007-11-06 Alexander Larsson <alexl@redhat.com>
1972 Padding not needed for interfaces
1974 2007-11-06 Alexander Larsson <alexl@redhat.com>
1976 * gio/gfilemonitor.c:
1980 Make giotypes.h an internal file
1983 * gio/gbufferedinputstream.h:
1984 * gio/gbufferedoutputstream.h:
1985 * gio/gcancellable.h:
1986 * gio/gdatainputstream.h:
1987 * gio/gdataoutputstream.h:
1988 * gio/gdirectorymonitor.c:
1989 * gio/gdirectorymonitor.h:
1994 * gio/gfileattribute.h:
1995 * gio/gfileenumerator.h:
2000 * gio/gfilemonitor.c:
2001 * gio/gfilemonitor.h:
2002 * gio/gfilenamecompleter.c:
2003 * gio/gfilenamecompleter.h:
2004 * gio/gfilterinputstream.h:
2005 * gio/gfilteroutputstream.h:
2006 * gio/ginputstream.h:
2007 * gio/gmemoryinputstream.h:
2008 * gio/gmemoryoutputstream.h:
2009 * gio/gmountoperation.c:
2010 * gio/gmountoperation.h:
2011 * gio/gnativevolumemonitor.c:
2012 * gio/goutputstream.h:
2015 * gio/gsimpleasyncresult.c:
2016 * gio/gsimpleasyncresult.h:
2017 * gio/gsocketinputstream.h:
2018 * gio/gsocketoutputstream.h:
2019 * gio/gthemedicon.c:
2020 * gio/gthemedicon.h:
2024 * gio/gvolumemonitor.c:
2025 * gio/gvolumemonitor.h:
2026 Add padding in classes where it seems useful
2027 Don't include giotypes.h from public headers
2028 Move in Class definitions into c file where possible
2033 2007-11-06 Alexander Larsson <alexl@redhat.com>
2035 * docs/reference/gio/gio-docs.xml:
2036 Better structure for API docs
2038 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2041 * gio/gloadableicon.c:
2042 * gio/gsimpleasyncresult.c:
2043 * gio/gthemedicon.c:
2044 Add some more guards to public functions. Only files missing are now
2047 2007-11-06 Alexander Larsson <alexl@redhat.com>
2049 * docs/reference/gio/gio-docs.xml:
2050 Remove old files, add missing ones
2052 2007-11-06 Alexander Larsson <alexl@redhat.com>
2054 * docs/reference/gio/gio-sections.txt:
2057 Hide implementation classes
2059 * gio/gdriveprivate.h:
2060 * gio/gvolumeprivate.h:
2061 Remove non-existing function declarations
2063 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2066 Fix compilation warnings and add guards to the new functions.
2068 * gio/gasyncresult.c:
2070 Add guards to the public functions.
2073 Implement get_path().
2075 2007-11-06 Alexander Larsson <alexl@redhat.com>
2077 * gio/gfilenamecompleter.c:
2078 Make g_filename_completer_get_completions
2079 return char ** instead of GList for
2082 * docs/reference/gio/gio-docs.xml:
2083 * docs/reference/gio/gio-sections.txt:
2085 * gio/gasyncresult.c:
2086 * gio/gbufferedinputstream.c:
2087 * gio/gbufferedoutputstream.c:
2088 * gio/gcancellable.c:
2089 * gio/gcontenttype.c:
2090 * gio/gdatainputstream.c:
2091 * gio/gdataoutputstream.c:
2092 * gio/gdesktopappinfo.c:
2093 * gio/gdirectorymonitor.c:
2097 * gio/gfileattribute.c:
2098 * gio/gfileenumerator.c:
2101 * gio/gfileinputstream.c:
2102 * gio/gfilemonitor.c:
2103 * gio/gfilenamecompleter.c:
2104 * gio/gfilenamecompleter.h:
2105 * gio/gfileoutputstream.c:
2106 * gio/gfilterinputstream.c:
2108 * gio/ginputstream.c:
2110 * gio/gioscheduler.c:
2111 * gio/gloadableicon.c:
2112 * gio/glocaldirectorymonitor.c:
2114 * gio/glocalfileinputstream.c:
2115 * gio/glocalfilemonitor.c:
2116 * gio/glocalfileoutputstream.c:
2118 * gio/gmemoryinputstream.c:
2119 * gio/gmemoryoutputstream.c:
2120 * gio/gmountoperation.c:
2121 * gio/goutputstream.c:
2122 * gio/gpollfilemonitor.c:
2124 * gio/gsimpleasyncresult.c:
2125 * gio/gsocketinputstream.c:
2126 * gio/gsocketoutputstream.c:
2127 * gio/gthemedicon.c:
2128 * gio/gunionvolumemonitor.c:
2130 * gio/gunixmounts.c:
2131 * gio/gunixvolume.c:
2132 * gio/gunixvolumemonitor.c:
2136 * gio/gvolumemonitor.c:
2137 * gio/gwin32appinfo.c:
2138 Add (mostly stub) doc strings to public functions.
2139 Patch from Andrew Walton (awalton@gmail.com)
2141 2007-11-06 Alexander Larsson <alexl@redhat.com>
2143 * gio/gappinfo.[ch]:
2144 Added GAppLaunchContext object and pass that to launch.
2145 This allows simple implementation of both
2146 launch-on-screen and startup notification via a gtk+
2147 subclass of GAppLaunchContext
2149 * gio/gdesktopappinfo.c:
2150 Implement GAppLaunchContext API
2152 * gio/gwin32appinfo.c:
2155 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2157 * gio/gmountoperation.c:
2158 Add some guards to GMountOperation's public functions.
2160 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2164 * gio/gcancellable.c:
2165 * gio/gdirectorymonitor.c:
2167 * gio/gfileenumerator.c:
2168 * gio/gfilemonitor.c:,
2169 * gio/gfilenamecompleter.c:
2172 * gio/gioscheduler.c:
2176 * gio/gvolumemonitor.c:
2177 Add even more guards to various public functions.
2179 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2182 Add guards to the public functions of GAppInfo.
2184 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2186 * gio/gcontenttype.c:
2187 Add some more guards for public functions.
2189 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2191 * gio/fam/fam-module.c:
2192 * gio/fam/gfamdirectorymonitor.c:
2193 * gio/fam/gfamdirectorymonitor.h:
2194 * gio/fam/gfamfilemonitor.c:
2195 * gio/fam/gfamfilemonitor.h:
2196 * gio/inotify/ginotifydirectorymonitor.c:
2197 * gio/inotify/ginotifydirectorymonitor.h:
2198 * gio/inotify/ginotifyfilemonitor.c:
2199 * gio/inotify/ginotifyfilemonitor.h:
2200 Add proper copyright information and remove an unused variable
2201 in the GInotifyFileMonitor constructor.
2203 * gio/gcancellable.c:
2204 Add a guard for a public function and an assertion to prevent
2205 an undefined program state.
2207 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2209 * gio/gfileattribute.c:
2210 Don't run into an assertion if the given attribute value is NULL
2211 in g_file_attribute_value_get_*() but instead return a fallback
2212 value that makes sense in most situations. Passing them a attribute
2213 value with the wrong type will still run into an assertion.
2215 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2217 * gio/gfileattribute.c:
2219 Add even more guards to the public functions. Also fix the refcounting
2220 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2221 let g_file_info_list_attributes() filter the attributes by namespace
2222 instead of simply ignoring the namespace parameter.
2224 2007-11-03 Sven Herzberg <sven@imendio.com>
2226 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2227 (This makes gio work on MacOS X again)
2229 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2232 Build the gio subdirectory before the docs. Otherwise the build will
2235 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2236 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2237 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2238 Add guards to the public functions.
2240 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2242 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2243 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2244 to prevent a compiler warning.
2246 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2247 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2248 return something in the non-void function find_topdir_for().
2250 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2257 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2259 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2260 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2261 * gwin32appinfo.c (g_win32_app_info_launch):
2262 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2263 envp_for_startup_id, g_desktop_app_info_launch,
2264 g_desktop_app_info_launch_uris):
2266 Give an opaque 'startup_id' string instead of 'envp'.
2267 Support empty file lists for launching new windows.
2268 Fix infinite recursion bug when launching URIs.
2270 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2273 Add guard to the new g_file_get_uri_scheme() function.
2275 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2278 Convert a g_return_val_if_fail() to setting the GError instead as
2279 otherwise applications have to verify the parameter before otherwise
2280 and the parameter might come directly from the user.
2282 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2284 * gio/inotify/ginotify*.[ch]:
2285 Add missing copyright information.
2287 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2290 Add guards in the beginning of public functions to check for valid
2291 parameters and fix a bug in copy_stream_with_progress() that could've
2292 caused writing less bytes than reading.
2293 * gio/glocalfileinfo.c:
2294 Check for a NULL parameter and set the GError accordingly then.
2295 * gio/goutputstream.c:
2296 Fix the same bug as in gfile.c that could've caused writing less bytes
2297 than reading in g_output_stream_real_splice().
2299 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2302 Use the correct gvolumeprivate.h naming
2304 2007-11-01 Christian Kellner <gicmo@gnome.org>
2307 Remove leftover "$(daemon_sources)" entry.
2309 2007-11-01 Christian Kellner <gicmo@gnome.org>
2314 Add copyright information to source files.
2316 2007-11-01 Alexander Larsson <alexl@redhat.com>
2320 Add g_file_get_uri_scheme
2322 2007-11-01 Alexander Larsson <alexl@redhat.com>
2325 * gio/gdesktopappinfo.c:
2326 * gio/gwin32appinfo.c:
2327 Add g_app_info_get_default_for_uri_scheme.
2329 2007-11-01 Alexander Larsson <alexl@redhat.com>
2332 Correct filename for gdriveprivate.h
2334 2007-10-31 Alexander Larsson <alexl@redhat.com>
2337 Rename id:value to id:file
2340 * gio/glocalfileinfo.c:
2343 2007-10-31 Alexander Larsson <alexl@redhat.com>
2345 * gio/gunixvolume.c:
2347 Remove g_volume_get_platform_id, as thats not
2348 needed with the simpler union volume monitor
2350 2007-10-31 Alexander Larsson <alexl@redhat.com>
2353 * gio/guniondrive.[ch]: Removed.
2354 * gio/gunionvolume.[ch]: Removed.
2355 Remove GUnionDrive/Volume
2357 * gio/gunionvolumemonitor.c:
2358 Simplify union volume monitor, now we
2359 only have one native volume monitor and
2360 we use the actual volumes/drives from the
2361 child monitors instead of wrapping them
2363 * gio/gnativevolumemonitor.[ch]:
2364 Base class for native volume monitors.
2365 Includes priority and get_volume_for_mountpoint
2368 Add g_file_find_enclosing_volume
2371 Remove volume name fs attribute
2372 Add readonly fs attribute
2375 Implement readonly attribute
2376 remove volume name attribute
2377 Implement find_enclosing volume
2379 * gio/gunixmounts.c:
2380 Add a volume for "/".
2382 * gio/gunixvolume.[ch]:
2383 Set better name for /
2385 * gio/gunixvolumemonitor.[ch]:
2386 Derive from GNativeVolumeMonitor
2387 Implement get_volume_for_mountpoint
2390 GVolume typedef moved to gfile.h
2392 * gio/gvolumeprivate.h:
2393 Add g_volume_get_for_mount_path
2395 2007-10-31 Alexander Larsson <alexl@redhat.com>
2397 * gio/gunixmounts.[ch]:
2398 Add cache info to unix mount listers
2399 Make getmntent use threadsafe
2400 Add is_system_internal attribute for GUnixMount
2402 * gio/gunixvolume.c:
2403 (g_unix_volume_new):
2404 Use is_system_internal instead of own code
2406 * gio/glocaldirectorymonitor.c:
2407 * gio/gunixvolumemonitor.c:
2408 Update to new gunixmounts API
2413 2007-10-30 Alexander Larsson <alexl@redhat.com>
2416 Add volume name fsinfo attribute
2419 Read volume name info
2421 * gio/gunionvolumemonitor.c:
2422 Fix infinite loops when finalizing a union volume monitor
2424 2007-10-30 Alexander Larsson <alexl@redhat.com>
2426 * gio/goutputstream.[ch]:
2427 Add splice() with default implementation
2429 * gio/gsocketoutputstream.c:
2430 (g_socket_output_stream_write):
2431 Return error on cancellation correctly.
2433 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2435 * gio/glocalfile.c (g_local_file_trash):
2436 Do not leak a string.
2438 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2440 * gio/gfile.c (g_file_load_contents):
2441 Unref the stream after closing it.
2443 2007-10-25 Alexander Larsson <alexl@redhat.com>
2445 * gio/gioscheduler.h:
2448 2007-10-25 Alexander Larsson <alexl@redhat.com>
2452 Add g_file_has_uri_scheme and implement for local files
2454 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2456 * gio/gdesktopappinfo.c: do not leak a string.
2458 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2460 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2461 (g_local_directory_monitor_new):
2462 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2463 (g_local_file_monitor_new):
2464 Only look for the monitor type that should be used the first time
2465 and use g_qsort_with_data() instead of our own bubble sort
2468 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2471 * gio/fam/Makefile.am:
2472 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2473 * gio/fam/fam-helper.h:
2474 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2475 * gio/fam/gfamdirectorymonitor.c:
2476 * gio/fam/gfamdirectorymonitor.h:
2477 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2478 * gio/fam/gfamfilemonitor.h:
2479 * gio/glocaldirectorymonitor.c:
2480 * gio/glocaldirectorymonitor.h:
2481 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2482 * gio/glocalfilemonitor.h:
2483 * gio/inotify/Makefile.am:
2484 * gio/inotify/ginotifydirectorymonitor.c:
2485 * gio/inotify/ginotifydirectorymonitor.h:
2486 * gio/inotify/ginotifyfilemonitor.c:
2487 * gio/inotify/ginotifyfilemonitor.h:
2488 Implement the FAM and Inotify monitors as
2489 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2490 their own GIO module. GLocal(Directory|File)Monitor will use the
2491 monitor with the highest rank that is supported on that machine.
2493 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2496 Change GIO module dir to $(libdir)/gio/modules and change
2497 the log domain from GVFS to GIO. Also only export symbols starting
2498 with g_ in the resulting library.
2499 * gio/test-streams.c: (main):
2500 Set log handler for the GIO log domain.
2502 2007-10-22 Alexander Larsson <alexl@redhat.com>
2504 * gio/gfilenamecompleter.[ch]:
2505 Add g_filename_completer_set_dirs_only
2507 2007-10-22 Alexander Larsson <alexl@redhat.com>
2510 * gio/gurifuncs.[ch]:
2511 Add some simple URI helpers
2513 * gio/gfilenamecompleter.[ch]:
2514 Added object for filename (parse name actually) completion
2517 Handle ~ in parse names
2519 2007-10-17 Alexander Larsson <alexl@redhat.com>
2522 * gio/glocalfileinfo.c:
2523 Add and implement id:value attribute
2525 2007-10-17 Alexander Larsson <alexl@redhat.com>
2528 * gio/guniondrive.c:
2530 Add and implement g_drive_has_volumes
2532 2007-10-17 Alexander Larsson <alexl@redhat.com>
2535 * gio/glocalfileinfo.[ch]:
2536 Add unix:is_mountpoint and implement for local files
2538 2007-10-16 Alexander Larsson <alexl@redhat.com>
2540 * gio/gunionvolumemonitor.c:
2541 (g_union_volume_monitor_init):
2542 Fix up the unix type getting so that it works with gcc
2544 2007-10-12 Alexander Larsson <alexl@redhat.com>
2547 * gio/glocalfileinfo.c:
2548 Add thumbnail:failed to file info
2550 2007-10-12 Richard Hult <richard@imendio.com>
2552 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2553 optimizing away the get_type call (happens with some gcc versions,
2554 like the one shipped with OS X 10.4).
2556 2007-10-12 Alexander Larsson <alexl@redhat.com>
2558 * gio/glocalfileinfo.c:
2559 (_g_local_file_info_set_attribute):
2560 Fix build if not HAVE_XATTR
2561 Patch from Milosz Derezynski <internalerror@gmail.com>
2563 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2565 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2566 around for review, otherwise I would have asked you before
2569 2007-10-11 Alexander Larsson <alexl@redhat.com>
2572 Add thumbnail:path attribute
2574 * gio/glocalfileinfo.c:
2575 Implement thumbnail:path for local files
2577 2007-10-11 Alexander Larsson <alexl@redhat.com>
2579 * gio/glocalfileinfo.c:
2580 (_g_local_file_info_get):
2581 Avoid duplicate icon names
2583 2007-10-11 Alexander Larsson <alexl@redhat.com>
2585 * gio/gthemedicon.[ch]:
2586 Change g_themed_icon_get_names return type to const
2588 2007-10-10 Alexander Larsson <alexl@redhat.com>
2590 * gio/glocalfileinfo.c:
2591 Don't reference freed memory
2593 2007-10-10 Alexander Larsson <alexl@redhat.com>
2595 * gio/gfileattribute.c:
2598 * gio/glocalfileinfo.c:
2601 2007-10-10 Alexander Larsson <alexl@redhat.com>
2604 Check for NULL icons
2606 * gio/gfileattribute.c:
2607 Don't dup when getting objects (same as for string attributes)
2609 * gio/gicon.c (g_icon_equal):
2610 Safely handle NULLs in equal
2612 2007-10-10 Alexander Larsson <alexl@redhat.com>
2615 Fix c++ compilation issues
2616 Patch from Milosz Derezynski <internalerror@gmail.com>
2618 2007-10-10 Alexander Larsson <alexl@redhat.com>
2620 * programs/gio-monitor-dir.c:
2621 Don't crash if dir monitor not supported.
2623 2007-10-09 Alexander Larsson <alexl@redhat.com>
2626 Add missing G_END_DECLS
2628 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2630 * gio/gfile.c: (g_file_set_display_name),
2631 (g_file_query_settable_attributes),
2632 (g_file_query_writable_namespaces):
2633 Return NULL not FALSE on errors as the return type is a pointer.
2635 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2637 * gio/glocalfile.c: (g_local_file_monitor_file):
2638 Don't call monitor_file on the default interface vtable (which
2639 is NULL) but simply return NULL. The caller, GFile, will create a
2640 polling monitor if NULL is returned.
2642 2007-10-09 Alexander Larsson <alexl@redhat.com>
2646 * gio-unix-2.0.pc.in:
2647 Add gio-unix-2.0.pc if OS_UNIX
2650 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2652 2007-10-09 Alexander Larsson <alexl@redhat.com>
2654 * gio/gunixmounts.[ch]:
2655 Make unix mount monitoring API sane.
2656 Now its just a object with mounts_changed
2657 and mountpoints_changed signals.
2659 * gio/glocaldirectorymonitor.c:
2660 * gio/gunixvolumemonitor.c:
2661 Use new mount monitor api
2663 2007-10-09 Alexander Larsson <alexl@redhat.com>
2665 * gio/gunixmounts.[ch]:
2666 Move guess type into one call for mounts and one for mountpoints
2669 * gio/gunixvolume.c:
2672 2007-10-09 Alexander Larsson <alexl@redhat.com>
2674 * gio/gunixmounts.[ch]:
2675 Remove _ prefix in preparation to make this semi-public
2676 Hide implementation of structs
2678 * gio/glocaldirectorymonitor.c:
2680 * gio/gunixvolume.c:
2681 * gio/gunixvolumemonitor.c:
2682 Update for above API changes
2684 2007-10-08 Alexander Larsson <alexl@redhat.com>
2687 Better polling fallback. This also handles the case where we have
2688 a monitor_file implementation, but it fails.
2690 2007-10-08 Alexander Larsson <alexl@redhat.com>
2694 * gio/gunixmounts.c:
2695 * programs/gio-monitor-dir.c:
2696 * programs/gio-monitor-file.c:
2697 Added cancellable to file monitoring calls.
2698 These are really sync calls and need this.
2700 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2702 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2703 (g_local_vfs_class_init):
2704 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2705 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2707 2007-10-05 Alexander Larsson <alexl@redhat.com>
2709 * gio/gdirectorymonitorprivate.h:
2710 * gio/gfilemonitorprivate.h:
2711 * gio/gdirectorymonitor.h:
2712 * gio/gfilemonitor.h:
2713 Remove *private.h and move to the public API, so that
2714 we can do implementations outside gio (such as in gvfs)
2716 * gio/gdirectorymonitor.c:
2717 * gio/gfilemonitor.c:
2718 * gio/glocaldirectorymonitor.c:
2719 * gio/gpollfilemonitor.c:
2720 * gio/inotify/inotify-helper.c:
2721 * gio/fam/fam-helper.c:
2722 Update to the new header names
2724 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2726 * gio/gdirectorymonitor.c:
2727 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2730 2007-10-04 Alexander Larsson <alexl@redhat.com>
2732 * gio/glocalfileinfo.c (get_access_rights):
2733 Set CAN_TRASH when we can move the file.
2734 We should really also check for a parent trash dir.
2736 2007-10-04 Alexander Larsson <alexl@redhat.com>
2738 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2739 Add can_trash access attribute
2741 2007-10-04 Alexander Larsson <alexl@redhat.com>
2744 (g_local_file_trash):
2745 Create info file first. This is per-spec and allows
2746 us to actually trash directories.
2748 2007-10-02 Alexander Larsson <alexl@redhat.com>
2750 * gio/gdesktopappinfo.c:
2751 Implement the new mime support code.
2752 Always set app as handling mimetype when being set as default for it
2754 2007-10-01 Alexander Larsson <alexl@redhat.com>
2756 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2757 Fix up check for xattrs:
2759 2007-10-01 Alexander Larsson <alexl@redhat.com>
2762 (g_app_info_set_as_default_for_extension):
2763 (g_app_info_add_supports_type):
2764 (g_app_info_can_remove_supports_type):
2765 (g_app_info_remove_supports_type):
2766 Make these fail nicely if not implemented
2768 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2770 * gio/glocalfileoutputstream.c:
2771 * gio/glocalfileoutputstream.h:
2776 * programs/gio-save.c:
2777 Add a GFileCreateFlags argument to operations that can create
2780 2007-10-01 Alexander Larsson <alexl@redhat.com>
2782 * gio/gappinfo.[ch]:
2783 * gio/gdesktopappinfo.c:
2784 Add more (stubbed out) mime API needed for nautilus
2786 2007-10-01 Alexander Larsson <alexl@redhat.com>
2789 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2790 Add g_app_info_set_as_default_for_extension.
2792 * gio/gdesktopappinfo.c:
2793 Dummy for g_app_info_set_as_default_for_extension
2794 Support flags in g_app_info_create_from_commandline
2796 * gio/gwin32appinfo.c:
2798 Update for API changes
2800 * gio/gthemedicon.c:
2801 Properly NULL-terminate list of icon names
2803 2007-09-28 Alexander Larsson <alexl@redhat.com>
2805 * gio/gloadableicon.h:
2806 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2808 2007-09-28 Alexander Larsson <alexl@redhat.com>
2811 Install headers in $includedir/gio-standalone/
2813 * gio-2.0.pc.in: Added.
2814 * gio-standalone.pc.in: Removed.
2817 Renamed pkg-config file to match glib (for future move)
2818 Update to the new include dir
2821 Add more TODO comments
2823 2007-09-28 Alexander Larsson <alexl@redhat.com>
2825 * gio/gdesktopappinfo.[ch]:
2826 Expose new_from_filename
2827 Add getter for is_hidden and handle it better
2829 2007-09-28 Alexander Larsson <alexl@redhat.com>
2831 * gio/gfileinfo.[ch]:
2832 Rename g_file_size_format_for_display to
2833 g_format_file_size_for_display.
2834 Now it doesn't have the g_file prefix, so we
2835 can later move it to glib.
2837 2007-09-28 Alexander Larsson <alexl@redhat.com>
2839 * gio/gappinfo.[ch]:
2840 Add g_app_info_get_id and g_app_info_get_executable.
2841 Make all getters non-reffing
2842 Make g_app_info_launch take GFile arguments.
2843 Add must_support_uris argument to g_app_info_get_default_for_type.
2845 * gio/gwin32appinfo.c:
2846 Update to GAppInfo api changes
2848 * gio/gdesktopappinfo.c:
2849 Update to GAppInfo api changes
2850 Implement supports_xdg_startup_notify
2852 * gio/gfileicon.c (g_file_icon_get_file):
2853 Make getter non-reffing.
2858 2007-09-27 Alexander Larsson <alexl@redhat.com>
2860 * gio/gfileinfo.[ch]:
2861 Add g_file_size_format_for_display helper
2863 2007-09-27 Alexander Larsson <alexl@redhat.com>
2865 * gio/glocalfileinfo.c:
2866 Set UNIX_GID from gid, not from uid
2868 2007-09-27 Alexander Larsson <alexl@redhat.com>
2871 Add g_file_set_attributes_async
2873 2007-09-27 Alexander Larsson <alexl@redhat.com>
2875 * gio/glocalfile.c (g_local_file_set_display_name):
2876 Fix set_display_name to actually rename to the right place.
2877 Use lstat to look for existing files so we don't overwrite
2880 2007-09-26 Alexander Larsson <alexl@redhat.com>
2883 Add g_file_set_display_name_async()
2885 2007-09-26 Alexander Larsson <alexl@redhat.com>
2888 Add load_partial_contents async calls
2891 Make internal function static
2893 2007-09-26 Alexander Larsson <alexl@redhat.com>
2895 * gio/glocalfileinfo.c:
2896 Correctly detect broken symlinks
2898 2007-09-26 Alexander Larsson <alexl@redhat.com>
2900 * gio/gcancellable.c (g_cancellable_cancel):
2901 Allow cancel on NULL cancellable
2903 2007-09-25 Alexander Larsson <alexl@redhat.com>
2905 * gio/gsimpleasyncresult.c:
2906 Don't allocate g_error manually.
2907 Fixes g_slice/g_new mixup crash
2909 2007-09-25 Alexander Larsson <alexl@redhat.com>
2911 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2912 Actually set active_backend.
2913 This means the monitor will be cancelled correctly.
2915 2007-09-25 Alexander Larsson <alexl@redhat.com>
2917 * gio/gdirectorymonitor.c:
2918 Set timeout to NULL when destroying
2920 2007-09-25 Alexander Larsson <alexl@redhat.com>
2923 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2924 that is a better description of the error.
2926 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2928 * gio/gvfs.c: (g_vfs_get_local):
2929 Make the local vfs variable static. The same instance should
2932 2007-09-24 Alexander Larsson <alexl@redhat.com>
2934 * gio/glocalfileinfo.c:
2935 Pass in actual length read into sniffer, not the length
2938 2007-09-21 Alexander Larsson <alexl@redhat.com>
2940 * gio/gfileenumerator.c:
2943 * gio/gfileinputstream.c:
2944 * gio/gfileoutputstream.c:
2945 * gio/ginputstream.c:
2946 * gio/goutputstream.c:
2947 Don't crash if async callbacks are NULL
2949 2007-09-20 Alexander Larsson <alexl@redhat.com>
2952 Add async enumerate_children method and default
2955 2007-09-20 Alexander Larsson <alexl@redhat.com>
2958 Add g_file_contains_file & g_file_get_relative_path, since they
2959 were needed for nautilus.
2960 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2965 Implement new methods
2967 2007-09-17 Alexander Larsson <alexl@redhat.com>
2970 * gio/gfileinputstream.[ch]:
2971 * gio/gfileoutputstream.[ch]:
2973 * gio/glocalfileenumerator.[ch]:
2974 * gio/glocalfileinfo.[ch]:
2975 * gio/glocalfileinputstream.c:
2976 * gio/glocalfileoutputstream.c:
2977 * gio/gpollfilemonitor.c:
2978 * programs/gio-copy.c:
2979 * programs/gio-info.c:
2980 * programs/gio-move.c:
2981 Rename get_file_info to query_info() to make it clearer
2982 that these are not simple getters, but do i/o.
2984 2007-09-17 Alexander Larsson <alexl@redhat.com>
2986 * gio/gdatainputstream.[ch]:
2987 * gio/test-streams.c:
2988 Use _read_XXX instead of _get_XXX for the i/o calls
2991 2007-09-17 Alexander Larsson <alexl@redhat.com>
2994 Added needed stuff to TODO comment
2996 2007-09-17 Alexander Larsson <alexl@redhat.com>
2998 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2999 Don't error out removing the backup copy if it doesn't
3002 2007-09-14 Alexander Larsson <alexl@redhat.com>
3004 * programs/Makefile.am:
3005 * programs/gvfs-*.c:
3007 Renamed apps from gvfs-xxx to gio-xxx.
3009 2007-09-14 Alexander Larsson <alexl@redhat.com>
3012 * gio/gfileoutputstream.[ch]:
3013 * gio/glocalfileoutputstream.c:
3014 * programs/gvfs-save.c:
3015 g_file_output_stream_get_etag doesn't do i/o, so remove
3016 cancellation and error.
3018 2007-09-14 Alexander Larsson <alexl@redhat.com>
3021 Add new_etag output to replace_contents functions
3023 2007-09-14 Alexander Larsson <alexl@redhat.com>
3025 * gio/gfileoutputstream.[ch]:
3026 Add async get_file_info and default implementation
3028 2007-09-14 Alexander Larsson <alexl@redhat.com>
3030 * gio/gfileinputstream.c:
3031 Implement fallback wrapper for async get_file_info
3033 2007-09-14 Alexander Larsson <alexl@redhat.com>
3036 Add etag out argument to load_contents
3041 2007-09-14 Alexander Larsson <alexl@redhat.com>
3043 * gio/gcontenttype.c (looks_like_text):
3044 Whitespace like tab, cr and lf do not make the
3047 2007-09-14 Alexander Larsson <alexl@redhat.com>
3049 * gio/gfileinputstream.[ch]:
3050 Add async get_file_info.
3052 2007-09-13 Alexander Larsson <alexl@redhat.com>
3054 * gio/goutputstream.c (g_output_stream_write_all):
3055 Allow NULL for bytes_written
3057 2007-09-13 Alexander Larsson <alexl@redhat.com>
3059 * gio/gmemoryinputstream.[ch]:
3060 Add accessors for data
3062 2007-09-13 Alexander Larsson <alexl@redhat.com>
3064 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3065 Don't crash if length is NULL