1 2008-01-23 Matthias Clasen <mclasen@redhat.com>
3 * gioscheduler.c: Some documentation additions.
5 2008-01-22 Alexander Larsson <alexl@redhat.com>
8 (g_desktop_app_info_new):
11 2008-01-22 Alexander Larsson <alexl@redhat.com>
14 (g_desktop_app_info_new_from_filename):
17 2008-01-22 Alexander Larsson <alexl@redhat.com>
19 * glocalfileinfo.c (get_thumbnail_attributes):
22 2008-01-22 Alexander Larsson <alexl@redhat.com>
25 (canonicalize_filename):
26 Canonicalize paths that start with more than
31 (test_g_file_new_for_path):
34 2008-01-22 Alexander Larsson <alexl@redhat.com>
37 Allow UTF-8 in file:// parse names.
40 * tests/data-input-stream.c:
41 * tests/data-output-stream.c:
42 * tests/g-file-info.c:
44 Added a bunch of tests from Tomas Bzatek
46 2008-01-21 Matthias Clasen <mclasen@redhat.com>
48 * === Released 2.15.3 ===
50 2008-01-21 Alexander Larsson <alexl@redhat.com>
52 * gfileinputstream.[ch]:
53 * gfileoutputstream.[ch]:
55 Remove duplicated GSeekable functions. (#509990)
56 Just use the g_seekable_xxx() calls instead.
58 2008-01-21 Matthias Clasen <mclasen@redhat.com>
61 * gvolumemanager.c: Whitespace cleanups.
63 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
64 Use the right mode when creating the file.
66 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
71 * goutputstream.c: Documentation: Fixed minor typos
72 and added more mentions of specific _finish() functions.
74 2008-01-21 Alexander Larsson <alexl@redhat.com>
76 * inotify/Makefile.am:
77 * inotify/inotify-helper.c:
78 * inotify/inotify-kernel.c:
79 * inotify/inotify-path.c:
80 * inotify/local_inotify.h: Removed.
81 * inotify/local_inotify_syscalls.h: Removed.
82 Removed the included copies of the inotify
83 headers. We now only use the <sys/inotify.h>
84 header which exists on modern systems.
85 This fixes problems on ARM and SH5 (#510448)
86 but is also generally much cleaner and future
87 safe. For instance, if other OSes add support
88 for inotify it should "just work".
90 2008-01-20 Matthias Clasen <mclasen@redhat.com>
92 * inotify/*.c: Coding style fixes.
93 * inotify/inotify-missing.c: Use g_timeout_add_seconds
96 2008-01-20 Matthias Clasen <mclasen@redhat.com>
100 * gmemoryinputstream.c:
101 * gmemoryoutputstream.c:
103 * gthemedicon.c: Documentation updates
105 2008-01-20 Murray Cumming <murrayc@murrayc.com>
107 * gfile.c: documentation: Fixed more minor
110 2008-01-18 Murray Cumming <murrayc@murrayc.com>
112 * gmount.c: (g_mount_remount): documentation:
113 Mention g_mount_remount_finish() instead of
114 g_mount_unmount_finish().
116 2008-01-18 Murray Cumming <murrayc@murrayc.com>
120 * gfile.c: Fixed some minor typos in the
123 2008-01-18 Murray Cumming <murrayc@murrayc.com>
125 * gio/gvolumemonitor.c:
126 (g_volume_monitor_get_connected_drives):
127 (g_volume_monitor_get_volumes):
128 (g_volume_monitor_get_mounts): Documentation:
129 Clarify the ownership of the regurn GLists.
131 2008-01-17 Alexander Larsson <alexl@redhat.com>
134 Add the async find_enclosing_mount version
135 to the header file too.
137 2008-01-17 Alexander Larsson <alexl@redhat.com>
140 Add async version of find_enclosing_mount
141 with default implementation.
143 2008-01-17 Alexander Larsson <alexl@redhat.com>
148 Allow calls to implementation of copy and write
149 even if the type of the file implementations is
150 different. This can be used to implement native
151 upload and download calls in a vfs.
155 Protect against the case where move is called
156 with one file not being local.
158 Make sure we call the progress callback once
159 in the native move operation so that the caller
160 knows how many bytes were copied.
162 2008-01-16 Murray Cumming <murrayc@murrayc.com>
165 * gdatainputstream.c:
167 * gfileoutputstream.c:
172 * gunixmounts.c: Corrected some typos in the documentation:
174 its -> it's (where appropriate).
176 2008-01-16 Alexander Larsson <alexl@redhat.com>
180 Add g_file_query_exists (#508771)
182 2008-01-15 Murray Cumming <murrayc@murrayc.com>
187 * gvolume.c: For async functions that have no non-async
188 version, document that the GAsyncReadyCallback may be NULL.
191 2008-01-15 Alexander Larsson <alexl@redhat.com>
193 * gmemoryinputstream.c:
194 * gmemoryoutputstream.c:
195 Don't do pointer arithmetic on void * (#508602)
196 Patch from Kazuki IWAMOTO
198 2008-01-14 Matthias Clasen <mclasen@redhat.com>
200 * === Released 2.15.2 ===
202 2008-01-14 Alexander Larsson <alexl@redhat.com>
204 * gfile.c (g_file_monitor_file):
205 Don't set error here, since we fallback to polling monitor.
207 2008-01-14 Alexander Larsson <alexl@redhat.com>
210 (g_file_monitor_directory):
211 (g_file_monitor_file):
212 Add GError to file monitor calls
214 * glocaldirectorymonitor.c:
215 * glocaldirectorymonitor.h:
217 * glocalfilemonitor.c:
218 * glocalfilemonitor.h:
220 Update for above change
222 2008-01-14 Alexander Larsson <alexl@redhat.com>
226 Handle root correctly in g_file_get_relative_path (#508719)
228 2008-01-14 Alexander Larsson <alexl@redhat.com>
231 Clean up docs and example for GAsyncResult (#508074)
233 2008-01-11 Murray Cumming <murrayc@murrayc.com>
235 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
236 and correct some spelling mistakes. Bug #508108.
238 2008-01-11 Matthias Clasen <mclasen@redhat.com>
240 * glocalfileinfo.c: Add a comment.
242 2008-01-10 Murray Cumming <murrayc@murrayc.com>
244 * gfileinfo.c: GFileInfo description: Mention
245 how to actually set attributes in a GFile and how to discover
246 which attributes are settable. Bug #508378.
248 2008-01-10 A. Walton <awalton@svn.gnome.org>
250 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
251 (g_app_info_get_default_for_type):
252 Check for NULL content types.
254 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
256 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
258 2008-01-09 Murray Cumming <murrayc@murrayc.com>
260 * gfile.c: *_async() functions: Several small corrections
261 to the documentation, mostly correcting copy/paste errors
262 and improving some sentences.
264 2008-01-09 Dan Winship <danw@gnome.org>
266 * glocalfile.c (get_unique_filename): x86_64 fix
268 2008-01-09 Alexander Larsson <alexl@redhat.com>
273 Add g_unix_mount_guess_should_display and use
274 for unix volume monitor backend.
275 This means we more or less show what the
276 gnome-vfs backend did.
277 Based on patch from Padraig O'Briain
279 2008-01-09 Alexander Larsson <alexl@redhat.com>
283 Add g_themed_icon_new_with_default_fallbacks
286 Use default fallbacks for icons
288 2008-01-09 Alexander Larsson <alexl@redhat.com>
291 * gmountoperation.[ch]:
292 Change the API a bit so that unhandled methods
293 get reported via the reply, rather than by
294 the signal emission return value. This is because
295 some handlers can't know this immediately without
296 doing I/O, and this is an async operation that
299 2008-01-09 Alexander Larsson <alexl@redhat.com>
302 * fam/gfamdirectorymonitor.c:
303 * fam/gfamfilemonitor.c:
304 Fix double free crash (#508224)
305 Patch from Joe Marcus Clarke
307 008-01-07 Matthias Clasen <mclasen@redhat.com>
309 * === Released 2.15.1 ===
311 2008-01-07 Alexander Larsson <alexl@redhat.com>
313 * gunixinputstream.c (g_unix_input_stream_skip_finish):
314 Fix warning (#507835)
316 2008-01-07 Alexander Larsson <alexl@redhat.com>
319 Pass --internal to glib-genmarshal
324 Use better types for signal arguments (#507822)
326 2008-01-07 Alexander Larsson <alexl@redhat.com>
329 Build test subdir after .
330 Remove gdirectorymonitor.[ch]
332 * gdirectorymonitor.[ch]:
336 Remove GDirectoryMonitor and make
337 GFileMonitor the baseclass for both file and
338 directory monitors. Lift the more generic
339 rate limiting code from GDirectoryMonitor
343 * fam/gfamdirectorymonitor.[ch]:
344 * inotify/ginotifydirectorymonitor.[ch]:
345 * inotify/inotify-helper.c:
346 * glocaldirectorymonitor.[ch]:
349 Update for the removed GDirectoryMonitor.
351 * gmemoryoutputstream.c:
352 Remove ununsed variable
354 2008-01-07 Alexander Larsson <alexl@redhat.com>
356 * gmemoryinputstream.c:
357 Translate error strings
360 * gmemoryoutputstream.[ch]:
361 New implementation that avoids using GByteArray
362 in implementation and API. (#506377)
364 2008-01-06 Matthias Clasen <mclasen@redhat.com>
366 * tests/*: Add a test for memory input streams.
368 * Makefile.am: Add tests to SUBDIRS.
370 2008-01-06 Matthias Clasen <mclasen@redhat.com>
372 * glocalfilemonitor.c:
373 * glocaldirectorymonitor.c: Mark property nicks and blurbs
376 2008-01-06 Matthias Clasen <mclasen@redhat.com>
378 * gdesktopappinfo.c: Fix a docs typo.
380 * gfileattribute.c: Add information about extended attributes
381 to the documentation. (#505058)
383 2008-01-04 Alexander Larsson <alexl@redhat.com>
387 Use the right type (uint) for the ask_password signal.
389 2008-01-04 Alexander Larsson <alexl@redhat.com>
394 Add g_app_info_supports_files()
395 Remove desktop arg from g_app_info_should_show().
397 * gdesktopappinfo.[ch]:
398 Implement g_app_info_supports_files() and new should_show()
399 Add g_desktop_app_info_set_desktop_env() to set the desktop
400 for should_show(). (This will be set by gtk+ later)
402 2008-01-04 Alexander Larsson <alexl@redhat.com>
405 * gmemoryinputstream.[ch]:
406 Improve API so that you can use multiple chunks
407 of memory and custom destroy functions. (#506374)
409 2008-01-03 Alexander Larsson <alexl@redhat.com>
412 Handle NULL attribute matchers safely, as we return this
413 for empty attribute matcher strings.
415 2008-01-03 Alexander Larsson <alexl@redhat.com>
417 * gunixmounts.c (g_unix_is_mount_path_system_internal):
418 Add /usr/local to list of internal mountpoints
420 2008-01-03 Alexander Larsson <alexl@redhat.com>
423 Check for HAVE_LCHOWN (#505887)
425 2008-01-03 Alexander Larsson <alexl@redhat.com>
429 Add define for selinux context attribute.
430 Fix missing : -> :: namespace separator change
431 Fix missing _ -> - name change for xattr-sys.
434 2008-01-03 Alexander Larsson <alexl@redhat.com>
437 Link to libglib and libgobject directly (#504879)
438 Patch from Sebastien Bacher
440 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
442 * gfile.c: Expanded the g_file_new_for_commandline_arg
443 description a bit, based on the code and the docs of the
444 other g_file_new_for_* functions.
446 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
448 * gfilemonitor.h: Fixed typo in docs.
450 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
452 Updates to GIO documentation. (#506395, Mikael Hermansson)
454 * gcontenttype.c: Describe memory management for return value of
455 g_content_types_get_registered(). Missing piece from #505815.
456 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
457 GVolume, GDrive, GMounts, which hopefully gives the user less
458 confusions when using this API. Following explainations from
459 Alexander Larsson on gtk-devel-list.
461 2007-12-30 Matthias Clasen <mclasen@redhat.com>
463 * gfileinfo.c: Expand the long description.
465 2007-12-30 Matthias Clasen <mclasen@redhat.com>
468 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
469 fix builds with --disable-visibility. (#500273, Christian Persch)
471 2007-12-30 Matthias Clasen <mclasen@redhat.com>
473 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
474 in the list of returned app infos.
476 2007-12-30 Matthias Clasen <mclasen@redhat.com>
478 * gappinfo.c: Fix a cross-reference
480 2007-12-30 Matthias Clasen <mclasen@redhat.com>
482 * gfileinputstream.c:
483 * gfileoutputstream.c:
489 * gfileinfo.c: Documentation updates.
491 2007-12-26 Matthias Clasen <mclasen@redhat.com>
493 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
496 2007-12-26 Matthias Clasen <mclasen@redhat.com>
498 * gcontenttype.c (g_content_types_get_registered): Don't return
499 freed memory (#505815, Mikael Hermansson)
501 2007-12-25 Paolo Borelli <pborelli@katamail.com>
503 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
504 used to detect statbuf->st_blocks. (#505042)
506 2007-12-24 Matthias Clasen <mclasen@redhat.com>
508 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
509 environment handling. (#504829, Cosimo Cecchi)
511 2007-12-22 Matthias Clasen <mclasen@redhat.com>
513 * gappinfo.c: Doc improvements
515 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
518 2007-12-20 Matthias Clasen <mclasen@redhat.com>
520 * === Released 2.15.0 ===
522 2007-12-20 Hans Breuer <hans@breuer.org>
524 * makefile.msc : don't build gdesktopappinfo.obj, it collides
525 with symbols gwin32appinfo.obj, added gmount.obj
526 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
528 2007-12-20 Alexander Larsson <alexl@redhat.com>
534 * gfilenamecompleter.c:
537 * gpollfilemonitor.c:
538 File attribute renames:
541 id::fs -> id::filesystem
543 2007-12-20 Alexander Larsson <alexl@redhat.com>
552 Add GMountUnmountFlags to all unmount and
554 Add g_mount_remount() call.
556 2007-12-20 Alexander Larsson <alexl@redhat.com>
558 * gvfs.c (get_default_vfs):
559 Fix unused variable warning
561 2007-12-19 Matthias Clasen <mclasen@redhat.com>
563 * pltcheck.sh: Update
565 2007-12-19 Matthias Clasen <mclasen@redhat.com>
567 * gunionvolumemonitor.c:
568 * gunixmount.c: Remove C99 comments
570 2007-12-19 Matthias Clasen <mclasen@redhat.com>
572 * gio.symbols: Add some missing symbols
574 2007-12-19 Alexander Larsson <alexl@redhat.com>
577 Make g_io_modules_load_all_in_directory not unuse
578 loaded modules so that users of it can do stuff
580 Init internal "module" types.
581 Initialize static prio and name for types so that
582 we don't have to load modules to get it.
584 * gnativevolumemonitor.h:
586 Move is_supported to parent class so that
587 non-native monitors can avoid being initialized
588 too. (For instance GDaemonVolumeMonitor if we're
589 not using GDaemonVfs.)
591 * glocaldirectorymonitor.[ch]:
592 * glocalfilemonitor.[ch]:
593 * gunionvolumemonitor.c:
594 * gunixvolumemonitor.c:
596 Find plugins using the static prio+name to
597 avoid unnecessarily loading the modules.
599 2007-12-19 Alexander Larsson <alexl@redhat.com>
604 2007-12-19 Alexander Larsson <alexl@redhat.com>
606 * gunionvolumemonitor.c:
607 Store the native type as GType, not class so that
608 we can unload it. But still avoid unnecessarily
611 2007-12-19 David Zeuthen <davidz@redhat.com>
613 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
614 add signals 'disconnected' and 'eject-button' on GDrive. Add
615 signal 'removed' on GVolume and 'unmounted' on GMount.
617 * gdrive.c: (g_drive_base_init):
619 * gfile.c: (g_file_mount_mountable),
620 (g_file_mount_enclosing_volume):
623 * gmount.c: (g_mount_base_init):
625 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
626 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
627 * gvolume.c: (g_volume_base_init), (g_volume_mount):
631 2007-12-17 Matthias Clasen <mclasen@redhat.com>
633 * *.c: Fix up includes in the section docs.
635 2007-12-17 Alexander Larsson <alexl@redhat.com>
637 * gnativevolumemonitor.h:
638 * gunionvolumemonitor.c:
639 * gunixvolumemonitor.c:
640 Add is_supported() to GNativeVolumeMonitorClass so
641 that we can avoid having to create an object to see
642 if the backend is supported at runtime.
643 Also add name member and an env var to pick a specific
644 volume monitor backend.
648 Add cancellable to _g_mount_get_for_mount_path()
650 * glocaldirectorymonitor.c:
651 * glocalfilemonitor.c:
652 Avoid loading and unloading modules while sorting.
654 2007-12-17 Matthias Clasen <mclasen@redhat.com>
657 * gunixmounts.[hc]: Namespace waste reduction, move some
658 g_get_unix_mount functions to the g_unix_mount namespace.
661 * gunixvolumemonitor.c:
663 * glocaldirectorymonitor.c: Update all callers.
665 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
667 2007-12-17 Alexander Larsson <alexl@redhat.com>
670 Add doc comments about what GFile operations are
671 guaranteed to not block.
673 2007-12-17 Alexander Larsson <alexl@redhat.com>
676 Add missing #ifdef fixing OSX build.
677 (#503334, patch from Richard Hult)
679 2007-12-14 David Zeuthen <davidz@redhat.com>
683 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
684 (g_mount_eject), (g_mount_eject_finish):
686 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
687 (get_volume_for_uuid), (get_mount_for_uuid),
688 (g_union_volume_monitor_class_init),
689 (get_default_native_type_with_exclude), (get_default_native_type),
690 (get_native_type), (update_native_type),
691 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
692 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
693 (g_unix_mount_can_eject), (eject_unmount_cb),
694 (eject_unmount_read_error), (eject_unmount_do),
695 (g_unix_mount_unmount), (g_unix_mount_eject),
696 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
697 * gunixmounts.c: (g_unix_mount_guess_can_eject),
698 (g_unix_mount_point_guess_can_eject):
700 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
701 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
702 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
703 (g_unix_volume_mount), (g_unix_volume_eject),
704 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
705 * gunixvolumemonitor.c: (get_volume_for_uuid),
706 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
708 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
709 (g_volume_eject), (g_volume_eject_finish):
711 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
712 (g_volume_monitor_get_mount_for_uuid):
715 Provide eject() on both GMount and GVolume and utility functions
716 to guess whether a GUnixMountPoint or GUnixMountEntry should be
717 ejected. Introduce the concept of UUID's and wire it into GVolume
718 and GMount and provide API on GVolumeMonitor to find such
719 instances. Also handle the case where an external
720 GNativeVolumeMonitor fails to initialize. Lock around the
721 _g_get_mount_for_mount_path() function such that volume monitor
722 implementations won't have to do locking themselves.
724 2007-12-17 Matthias Clasen <mclasen@redhat.com>
732 * gvolume.h: Documentation updates
734 2007-12-14 Matthias Clasen <mclasen@redhat.com>
737 * gfile.h: Doc updates
739 2007-12-14 Matthias Clasen <mclasen@redhat.com>
742 * gdesktopappinfo.c: Use hash table iterators.
744 2007-12-14 Alexander Larsson <alexl@redhat.com>
747 * gfileattribute.[ch]:
748 * gfileattribute-priv.h:
749 Move GFileAttributeValue to a private header, as
753 Make set_attribute take a type + a pointer instead
754 of a GFileAttributeValue.
757 Fix up for above changes.
758 Add g_file_info_get_attribute_data to get
759 all info in one call, g_file_info_get_attribute_status
760 to get the status and g_file_info_get_attribute_as_string.
764 * glocalfileinfo.[ch]:
768 Make _guess_type static.
770 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
773 * inotify/Makefile.am: Fixed build when srcdir != builddir,
774 made mkenums and friends use temporary files to avoid leaving
775 empty generated files on failure (#503470).
777 2007-12-14 Alexander Larsson <alexl@redhat.com>
782 2007-12-14 Alexander Larsson <alexl@redhat.com>
786 * gfileattribute.[ch]:
789 * glocalfileoutputstream.c:
790 * gmountoperation.[ch]:
791 * goutputstream.[ch]:
792 Clean up all flags enums to not have _FLAGS in them
793 Make the names of some of the enums better.
798 2007-12-14 Michael Natterer <mitch@imendio.com>
800 * gio.symbols: fix g_io_scheduler symbol names.
802 2007-12-14 Alexander Larsson <alexl@redhat.com>
808 * gbufferedinputstream.h:
809 * gbufferedoutputstream.h:
812 * gdatainputstream.h:
813 * gdataoutputstream.h:
815 * gdirectorymonitor.h:
822 * gfileinputstream.h:
824 * gfilenamecompleter.h:
825 * gfileoutputstream.h:
826 * gfilterinputstream.h:
827 * gfilteroutputstream.h:
835 * gmemoryinputstream.h:
836 * gmemoryoutputstream.h:
841 * gsimpleasyncresult.h:
843 * gunixinputstream.h:
845 * gunixoutputstream.h:
849 * inotify/Makefile.am:
850 Only allow including <gio/gio.h> from apps
852 2007-12-14 Alexander Larsson <alexl@redhat.com>
855 * gsimpleasyncresult.c:
856 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
857 Split out the send_to_mainloop call into two versions instead
858 of having the block argument.
860 2007-12-13 Alexander Larsson <alexl@redhat.com>
864 * gbufferedinputstream.c:
866 * gfileinputstream.c:
867 * gfileoutputstream.c:
871 g_push/pop_current_cancellable ->
872 g_cancellable_push/pop_current
874 2007-12-13 Alexander Larsson <alexl@redhat.com>
878 Rename g_mount_for_location to g_file_mount_enclosing_volume.
880 2007-12-13 Alexander Larsson <alexl@redhat.com>
883 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
885 2007-12-12 Alexander Larsson <alexl@redhat.com>
888 Fix race condition when freeing proxy in
889 g_io_job_send_to_mainloop().
891 2007-12-12 Alexander Larsson <alexl@redhat.com>
897 Make attribute namespace separator "::" instead of ":".
898 Use - instead of _ as separator in attribute names.
900 2007-12-12 Alexander Larsson <alexl@redhat.com>
902 * gbufferedinputstream.h:
903 * gbufferedoutputstream.h:
904 * gdatainputstream.h:
905 * gdataoutputstream.h:
906 * gdirectorymonitor.h:
908 * gfileinputstream.h:
910 * gfileoutputstream.h:
911 * gfilterinputstream.h:
912 * gfilteroutputstream.h:
914 * glocalfileinputstream.h:
915 * glocalfileoutputstream.h:
916 * gmemoryinputstream.h:
917 * gmemoryoutputstream.h:
918 * gnativevolumemonitor.h:
920 * gunixinputstream.h:
921 * gunixoutputstream.h:
924 s/parent/parent_instance/ in GObjects
926 2007-12-12 Alexander Larsson <alexl@redhat.com>
931 No need for padding for interfaces
933 2007-12-12 Alexander Larsson <alexl@redhat.com>
937 * gbufferedinputstream.c:
938 * gbufferedoutputstream.c:
941 * gdatainputstream.[ch]:
943 * gdirectorymonitor.c:
945 * gfileattribute.[ch]:
948 * gfileinputstream.h:
950 * gfileoutputstream.[ch]:
951 * gfilterinputstream.h:
952 * gfilteroutputstream.h:
955 * gloadableicon.[ch]:
956 * gmemoryinputstream.c:
959 Fix up a bunch of details in the docs.
964 2007-12-11 David Zeuthen <davidz@redhat.com>
966 Rework how volumes, drives and volume monitoring is
967 done. Previosly the model was
971 where a GDrive instance represented a mount point and a GVolume
972 instance represented a mounted file system. This patch changes it
975 GDrive <1-N> GVolume <1-1> GMount
977 where GMount now serves the purpose of the old GVolume and the new
978 GVolume serves the purpose of the old GDrive. In addition the new
979 GDrive interface is used to represent a collection of GVolume
980 instances (typically partitions) and also contains utility to query
981 the state of the physical drive the GDrive object represents (such
982 as checking for media, polling the drive, ejecting the media etc.).
984 Also implement mounting and unmounting in the Unix volume monitor
985 backend. A subquent patch will introduce GDrive support for ejection
989 * gdrive.c: (g_drive_is_media_check_automatic),
990 (g_drive_is_media_removable), (g_drive_has_media),
991 (g_drive_can_poll_for_media), (g_drive_eject),
992 (g_drive_eject_finish), (g_drive_poll_for_media),
993 (g_drive_poll_for_media_finish):
995 * gfile.c: (g_file_find_enclosing_mount):
998 * glocaldirectorymonitor.c:
999 (g_local_directory_monitor_constructor), (mounts_changed):
1000 * glocalfile.c: (get_mount_info),
1001 (g_local_file_find_enclosing_mount),
1002 (g_local_file_file_iface_init):
1003 * gnativevolumemonitor.h:
1004 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1005 (get_connected_drives), (g_union_volume_monitor_class_init),
1006 (child_volume_added), (child_volume_removed),
1007 (child_volume_changed), (child_mount_added), (child_mount_removed),
1008 (child_mount_pre_unmount), (child_mount_changed),
1009 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1010 (g_union_volume_monitor_remove_monitor),
1011 (_g_mount_get_for_mount_path):
1012 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1013 (guess_system_internal), (_g_get_unix_mounts),
1014 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1015 (g_unix_mount_free), (g_unix_mount_compare),
1016 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1017 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1018 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1019 (type_to_icon), (g_unix_mount_guess_name),
1020 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1021 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1022 (_resolve_symlink), (_resolve_dev_root):
1024 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1025 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1026 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1027 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1028 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1029 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1030 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1031 (g_unix_volume_volume_iface_init):
1033 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1034 (get_mounts), (get_volumes), (get_connected_drives),
1035 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1036 (mountpoints_changed), (mounts_changed),
1037 (g_unix_volume_monitor_init),
1038 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1039 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1040 * gunixvolumemonitor.h:
1041 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1042 (g_volume_mount), (g_volume_mount_finish):
1044 * gvolumemonitor.c: (g_volume_monitor_class_init),
1045 (g_volume_monitor_get_connected_drives),
1046 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1049 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1051 * gmountoperation.h (GPasswordFlags): Close the gap
1053 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1055 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1057 * gdesktopappinfo.[hc]: Remove _-prefixes
1059 2007-12-10 Tor Lillqvist <tml@novell.com>
1061 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1064 2007-12-10 Alexander Larsson <alexl@redhat.com>
1066 * gfile.c (g_file_set_display_name):
1067 Don't hardcode '/' (#502727)
1069 2007-12-09 Hans Breuer <hans@breuer.org>
1071 * makefile.msc : follow lib naming convention
1072 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1073 for user and group name, tested with ../tests/gio-ls
1075 2007-12-09 A. Walton <awalton@svn.gnome.org>
1077 * gdesktopappinfo.c:
1083 * gfileenumerator.c:
1088 * gmemoryinputstream.c:
1089 * gmemoryoutputstream.c:
1091 * gsimpleasyncresult.c:
1092 More documentation cleanup and filling in missing information, bringing
1093 GIO to 99% symbol coverage.
1095 2007-12-08 Hans Breuer <hans@breuer.org>
1097 [gio compiles and links on win32, not sure how much already works]
1098 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1099 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1100 base on win32 API; prefer g_lstat() over lstat(); instead of
1101 localtime_r() use an all GLib implementation on win32;
1102 get_mount_info() still needs a win32 specifc implementation
1103 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1104 win32_get_file_user_info to get owner/group info without uid/gid
1105 * glocalfileinputstream.c : include <io.h> on win32
1106 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1107 definition, use g_win32_ftruncate() for G_OS_WIN32
1108 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1109 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1110 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1111 * makefile.msc : updated
1113 2007-12-07 Alexander Larsson <alexl@redhat.com>
1115 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1116 Avoid warning spew if error == NULL
1118 2007-12-07 Alexander Larsson <alexl@redhat.com>
1121 Update docs wrt etags
1123 2007-12-06 Alexander Larsson <alexl@redhat.com>
1126 Include sys/types.h for dev_t (#501919)
1128 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1132 Make abicheck and pltcheck pass.
1134 2007-12-05 Alexander Larsson <alexl@redhat.com>
1137 * giomodule-priv.h: Added.
1138 * glocaldirectorymonitor.c:
1139 * glocalfilemonitor.c:
1140 * gunionvolumemonitor.c:
1142 Actually add the declaration of _g_io_modules_ensure_loaded
1144 2007-12-05 Alexander Larsson <alexl@redhat.com>
1146 * gdatainputstream.c:
1151 * glocaldirectorymonitor.c:
1152 * glocalfilemonitor.c:
1153 * gunionvolumemonitor.c:
1155 Make g_io_modules_ensure_loaded a private function and
1156 don't pass in the dirname. This means we can do magic
1157 directory finding in the win32 version.
1158 Export the actual load-modules-in-directory code so that
1159 gvfs can reuse that.
1161 2007-12-05 Alexander Larsson <alexl@redhat.com>
1163 * gbufferedinputstream.c:
1164 * gbufferedoutputstream.c:
1167 * gfileenumerator.[ch]:
1168 * gfileinputstream.c:
1169 * gfileoutputstream.[ch]:
1170 * gfilterinputstream.c:
1171 * gfilteroutputstream.c:
1172 * ginputstream.[ch]:
1174 * glocalfileenumerator.c:
1175 * glocalfileinputstream.c:
1176 * glocalfileoutputstream.c:
1177 * gmemoryinputstream.c:
1178 * gmemoryoutputstream.c:
1179 * goutputstream.[ch]:
1182 * gunixinputstream.c:
1183 * gunixoutputstream.c:
1184 Rename all struct members named:
1185 read, write, close, truncate, or mount
1186 to foo_fn, as these are reserved names
1187 and could be defined as macros in libc.
1190 2007-12-04 Alexander Larsson <alexl@redhat.com>
1193 (g_output_stream_close):
1194 Only call flush if non-null.
1196 2007-11-30 Dan Winship <danw@gnome.org>
1198 * ginputstream.c (g_input_stream_set_pending): Make this take a
1199 GError and return a gboolean, and do the "outstanding operation"
1200 check (and the "stream is already closed" check) itself.
1201 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1203 * goutputstream.c (g_output_stream_set_pending)
1204 (g_output_stream_clear_pending): Likewise
1206 * gbufferedinputstream.c:
1207 * gfileinputstream.c:
1208 * gfileoutputstream.c: Update for that
1210 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1211 Like g_simple_async_report_error_in_idle, but takes a GError
1212 rather than building one.
1214 2007-11-30 Dan Winship <danw@gnome.org>
1216 * goutputstream.c: Don't cheat and unset the "pending" flag around
1217 inner calls. Instead, call the class method directly rather than
1218 the wrapper function that checks "pending"
1220 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1222 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1224 2007-12-03 Hans Breuer <hans@breuer.org>
1226 [start of port to win32/msvc]
1227 * gcancellable.c : HAVE_UNIST_H and _pipe()
1228 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1229 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1230 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1232 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1233 * glocalvfs.c : use HAVE_PWD_H
1234 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1235 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1236 * Makefile.am : added to EXTRA_DIST
1238 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1240 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1243 2007-12-03 Alexander Larsson <alexl@redhat.com>
1246 Handle OSX style xattrs API (#500506)
1248 2007-12-03 Alexander Larsson <alexl@redhat.com>
1252 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1254 2007-12-02 A. Walton <awalton@svn.gnome.org>
1258 Documentation accuracy fixes.
1260 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1262 * gioenumtypes.c.template: Fix typo.
1264 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1266 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1268 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1270 * gdirectorymonitor.c:
1271 * gfilemonitor.c: Add properties
1273 * gbufferedoutputstream.c: Don't mark buffer-size property
1276 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1278 * gbufferedoutputstream.c: Add auto-grow property.
1280 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1282 * *.c: Unify the capitalization of section headings.
1284 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1286 * gmountoperation.c: Add properties
1288 * gdatainputstream.c: Turn byte-order and newline-type into
1291 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1293 * gioenumtypes.[hc].template: Templates for enum registration
1295 * Makefile.am: Generate gioenumtypes.[hc]
1297 * gio.h: Include gioenumtypes.h
1299 * gfile.h: Add some explicit nicks.
1301 * gio.symbols: Add new symbols
1303 * pltcheck.sh: Adjust
1305 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1307 * *.c: Explain etags and link to the explanation
1309 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1311 * *.c: Explain I/O priority.
1313 * *.c: More coding style fixes.
1315 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1317 * gasyncresult.c: Add another paragraph to the intro,
1318 adjust coding style of example.
1320 2007-11-29 A. Walton <awalton@svn.gnome.org>
1323 Fixes unknown meaning in GAppLaunchContext docs.
1325 Clarify asynchronous ops.
1327 Fix entity tag docs.
1330 Provides missing gtk-doc section, fixes API docs slighly.
1331 * gsimpleasyncresult.c:
1332 Fill in missing info in docs.
1333 * gunixinputstream.c:
1334 * gunixoutputstream.c:
1335 Be more expressive in short description.
1337 Remove gtk-doc stubs for non-public API.
1339 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1341 * *.c: Coding style fixups
1343 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1345 * inotify/inotify-helper.c: Don't export the lock from libgio.
1347 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1350 * abicheck.sh: Fix copy-and-paste leftovers
1352 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1354 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1356 2007-11-28 Alexander Larsson <alexl@redhat.com>
1360 Removed unnecessary file
1362 * gdesktopappinfo.[ch]:
1365 * glocaldirectorymonitor.[ch]:
1367 * glocalfileenumerator.[ch]:
1368 * glocalfileinputstream.[ch]:
1369 * glocalfilemonitor.[ch]:
1370 * glocalfileoutputstream.[ch]:
1372 * gnativevolumemonitor.c:
1373 * gpollfilemonitor.[ch]:
1374 * gunionvolumemonitor.[ch]:
1377 * gunixvolumemonitor.[ch]:
1380 * inotify/ginotifydirectorymonitor.[ch]:
1381 * inotify/ginotifyfilemonitor.[ch]:
1382 * inotify/inotify-helper.c:
1383 Append _ to all internal functions
1387 Export symbols needed for modules
1389 2007-11-28 Alexander Larsson <alexl@redhat.com>
1392 * abicheck.sh: Added.
1393 * makegioalias.pl: Added.
1394 * pltcheck.sh: Added.
1395 * gio.symbols: Added.
1398 Initial work on adding symbol handling.
1401 Correct ifdef guard name
1404 * inotify/Makefile.am:
1405 * xdgmime/Makefile.am:
1406 Include toplevel Makefile.decl
1408 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1410 * gcontenttype.c: Move doc comments to the unix section.
1412 * *.[hc]: More trivial doc corrections.
1414 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1416 * gpollfilemonitor.c:
1420 * gdesktopappinfo.c:
1425 * gdatainputstream.c:
1426 * gdatainputstream.h:
1427 * gdataoutputstream.c:
1428 * gdataoutputstream.h:
1429 * gfileinfo.h: Doc cleanups
1431 2007-11-28 Andre Klapper <a9016009@gmx.de>
1433 * gdesktopappinfo.c: Fix a typo.
1435 2007-11-27 Andre Klapper <a9016009@gmx.de>
1437 * glocalfileoutputstream.c: Fix a typo.
1439 2007-11-27 Alexander Larsson <alexl@redhat.com>
1442 Don't include removed headers
1444 2007-11-27 Alexander Larsson <alexl@redhat.com>
1447 * gsocketinputstream.[ch]: Removed.
1448 * gsocketoutputstream.[ch]: Removed.
1449 * gunixinputstream.[ch]: Added.
1450 * gunixoutputstream.[ch]: Added.
1451 Renamed GSocket*Stream to GUnix*Stream and made
1452 it unix-only, since its not really only for sockets
1453 and it only works on unix (but is highly useful there).
1455 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1461 * gbufferedinputstream.c:
1462 * gbufferedinputstream.h:
1463 * gbufferedoutputstream.c:
1464 * gbufferedoutputstream.h:
1468 * gdatainputstream.c:
1469 * gdatainputstream.h:
1470 * gdataoutputstream.c:
1471 * gdataoutputstream.h:
1472 * gdirectorymonitor.c:
1473 * gdirectorymonitor.h:
1480 * gfileenumerator.c:
1481 * gfileenumerator.h:
1486 * gfileinputstream.c:
1487 * gfileinputstream.h:
1490 * gfilenamecompleter.c:
1491 * gfilenamecompleter.h:
1492 * gfileoutputstream.c:
1493 * gfileoutputstream.h:
1494 * gfilterinputstream.c:
1495 * gfilterinputstream.h:
1496 * gfilteroutputstream.c:
1497 * gfilteroutputstream.h:
1510 * glocalfileoutputstream.c:
1511 * gmemoryinputstream.c:
1512 * gmemoryinputstream.h:
1513 * gmemoryoutputstream.c:
1514 * gmemoryoutputstream.h:
1515 * gmountoperation.c:
1516 * gmountoperation.h:
1519 * gpollfilemonitor.c:
1522 * gsimpleasyncresult.c:
1523 * gsimpleasyncresult.h:
1524 * gsocketinputstream.c:
1525 * gsocketinputstream.h:
1526 * gsocketoutputstream.c:
1527 * gsocketoutputstream.h:
1534 * gunixvolumemonitor.c:
1543 Bumps documentation to 93% symbol coverage, touching most
1544 of the public files. Fixes broken function documentation prototypes.
1545 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1546 gtk-doc headers in private files.
1548 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1550 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1551 (g_buffered_input_stream_read_byte):
1552 * gbufferedinputstream.h:
1553 New functions for efficient access to buffer and simple single byte
1556 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1557 (g_data_input_stream_read_until):
1558 * gdatainputstream.h:
1559 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1560 read_until with multiple stop chars.
1562 2007-11-27 Alexander Larsson <alexl@redhat.com>
1566 * inotify/Makefile.am:
1567 Use the user-specified giomoduledir
1569 2007-11-27 Alexander Larsson <alexl@redhat.com>
1573 Add catch-all gio.h header
1574 Don't install gdummyfile.h
1576 2007-11-26 Alexander Larsson <alexl@redhat.com>
1578 * Makefile.am (gioinclude_HEADERS):
1579 Remove trailing whitespace
1581 2007-11-26 Alexander Larsson <alexl@redhat.com>
1583 Merge gio-standalone into glib
1585 2007-11-25 Christian Kellner <gicmo@gnome.org>
1587 * gio/goutputstream.c:
1588 Fix small mistake in the docs.
1590 2007-11-21 Christian Persch <chpe@gnome.org>
1592 * gio/glocalfile.c: (g_local_file_trash):
1593 Convert filenames to UTF-8 for GError.
1594 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1595 as per xdg base dir spec.
1597 2007-11-21 Christian Persch <chpe@gnome.org>
1599 * gio/gdesktopappinfo.c:
1600 Use that g_key_file_to_data cannot fail.
1602 Use stock defines for the key file group and key names.
1605 2007-11-21 Alexander Larsson <alexl@redhat.com>
1608 (copy_stream_with_progress):
1609 Make sure we do a final progress callback with
1610 the full total size.
1612 2007-11-21 Alexander Larsson <alexl@redhat.com>
1615 Export g_file_copy_attributes
1616 Remove padding as its not needed for interfaces
1618 2007-11-20 Alexander Larsson <alexl@redhat.com>
1623 Add G_IO_ERROR_WOULD_MERGE for
1624 copy/move dir on dir with overwrite.
1626 2007-11-20 Alexander Larsson <alexl@redhat.com>
1629 * gio/glocalfileinfo.c:
1630 Add COPY_NAME (this is an optional
1631 non-modified utf8 version of the name) that
1634 2007-11-20 Alexander Larsson <alexl@redhat.com>
1636 * gio/glocalfileenumerator.c:
1637 Report errors as GIOError, not GFileError
1639 2007-11-16 Alexander Larsson <alexl@redhat.com>
1641 * gio/glocalfileoutputstream.c:
1642 * gio/gwin32appinfo.c:
1643 Fix typos in strings.
1644 Patch from Luca Ferretti <elle.uca@libero.it>
1646 2007-11-15 Alexander Larsson <alexl@redhat.com>
1649 Post release version bump
1651 === gio-standalone 0.1.2 ===
1653 2007-11-15 Alexander Larsson <alexl@redhat.com>
1655 * docs/reference/gio/Makefile.am:
1656 Fix up distcheck by removing weird
1662 2007-11-14 Alexander Larsson <alexl@redhat.com>
1664 * gio/gdesktopappinfo.c:
1665 * gio/glocaldirectorymonitor.c:
1667 * gio/glocalfileinfo.c:
1668 * gio/inotify/inotify-sub.c:
1669 * programs/gio-cat.c:
1670 * programs/gio-copy.c:
1671 * programs/gio-info.c:
1672 * programs/gio-ls.c:
1673 * programs/gio-monitor-dir.c:
1674 * programs/gio-monitor-file.c:
1675 * programs/gio-mount.c:
1676 * programs/gio-move.c:
1677 * programs/gio-rm.c:
1678 * programs/gio-save.c:
1679 * programs/gio-trash.c:
1680 Leak fixes from Kjartan Maraas
1682 2007-11-14 Alexander Larsson <alexl@redhat.com>
1684 * gio/fam/fam-helper.c:
1686 * gio/glocalfileinfo.c:
1690 * gio/inotify/inotify-diag.c:
1691 * gio/inotify/inotify-kernel.c:
1692 Various code cleanups from Kjartan Maraas
1694 2007-11-14 Alexander Larsson <alexl@redhat.com>
1696 * gio/gioscheduler.c:
1698 Set up threadpool so that we cache 2 unused
1699 idle threads for at 15 secs. This means we
1700 will reuse thread-local data (like dbus connections)
1703 2007-11-14 Alexander Larsson <alexl@redhat.com>
1705 * gio/fam/fam-helper.c:
1706 * gio/fam/gfamdirectorymonitor.c:
1707 * gio/fam/gfamfilemonitor.c:
1709 * gio/gcontenttype.c:
1710 * gio/gdatainputstream.c:
1711 * gio/gdataoutputstream.c:
1715 * gio/gfileattribute.h:
1716 * gio/gfileenumerator.c:
1718 * gio/ginputstream.c:
1721 * gio/glocalfileinfo.c:
1722 * gio/goutputstream.c:
1723 * gio/gpollfilemonitor.c:
1724 * gio/gsimpleasyncresult.c:
1725 * gio/gunixmounts.c:
1726 * gio/gunixmounts.h:
1727 * gio/inotify/ginotifydirectorymonitor.c:
1728 * gio/inotify/ginotifyfilemonitor.c:
1729 * gio/inotify/inotify-diag.c:
1730 * gio/inotify/inotify-kernel.c:
1731 * gio/inotify/inotify-path.c:
1733 * gio/test-streams.c:
1734 * programs/gio-info.c:
1735 * programs/gio-monitor-dir.c:
1736 * programs/gio-monitor-file.c:
1737 Various code cleanups from Kjartan Maraas
1739 2007-11-13 Alexander Larsson <alexl@redhat.com>
1742 Handle the uri-scheme calls for dummy files
1744 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1746 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1747 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1748 to avoid clash with the C++ keyword.
1750 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1752 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1753 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1755 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1757 * gio/glocaldirectorymonitor.c:
1758 * gio/glocalfilemonitor.c:
1759 * gio/gunionvolumemonitor.c:
1760 Don't use g_once_init_*() for initializations that could fail and
1761 could leave the initialization variable set to 0 but use GOnce.
1762 This prevents a deadlock on the second call when trying to create
1763 a monitor and no monitor type is available. Thanks to Sven Herzberg
1766 2007-11-11 Sven Herzberg <sven@imendio.com>
1768 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1769 #ifdef (make it work on MacOS X again)
1771 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1773 Fixes Changelog for last two commits (sorry guys).
1775 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1777 * gio/gbufferedinputstream.c:
1778 * gio/gdatainputstream.c:
1780 * gio/gfileoutputstream.c:
1781 * gio/gfilterinputstream.c:
1782 * gio/glocalfileinputstream.c:
1785 More consistency fixes in g*stream.c files.
1786 Significant clean of gfile's documentation, filling in of
1787 asynchronous operations documentation.
1789 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1791 * gio/gasyncresult.c:
1792 * gio/gbufferedinputstream.c:
1793 * gio/gbufferedoutputstream.c:
1794 * gio/gcancellable.c:
1795 * gio/gcontenttype.c:
1796 * gio/gdatainputstream.c:
1797 * gio/gdataoutputstream.c:
1798 * gio/gdesktopappinfo.c:
1801 * gio/gfileattribute.c:
1802 * gio/gio/gfileenumerator.c:
1804 * gio/gfileinputstream.c:
1805 * gio/gfilemonitor.c:
1806 * gio/gfileoutputstream.c:
1807 * gio/ginputstream.c:
1809 * gio/gioscheduler.c:
1810 * gio/gloadableicon.c:
1811 * gio/glocalfileoutputstream.c:
1812 * gio/gmemoryoutputstream.c:
1813 * gio/gmountoperation.c:
1814 * gio/goutputstream.c:
1816 * gio/gsimpleasyncresult.c:
1817 * gio/gunionvolumemonitor.c:
1818 * gio/gunixmounts.c:
1819 * gio/gunixvolume.c:
1823 * gio/gvolumemonitor.c:
1824 Updated documentation stubs, working towards consistency and
1827 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1829 * gio/gmemoryoutputstream.c:
1830 * gio/gmemoryoutputstream.h:
1831 Change g_memory_output_stream_set_free_on_close() to
1832 g_memory_output_stream_set_free_data() as this makes more sense and
1833 is more consistent with GMemoryInputStream.
1835 2007-11-07 Alexander Larsson <alexl@redhat.com>
1842 Change how we find the default vfs so that
1843 we can handle a gvfs failing to init
1845 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1847 * gio/gbufferedoutputstream.c:
1848 * gio/gdatainputstream.c:
1849 * gio/gdataoutputstream.c:
1850 * gio/gfileinputstream.c:
1851 * gio/gfileoutputstream.c:
1852 * gio/gfilterinputstream.c:
1853 * gio/gfilteroutputstream.c:
1854 * gio/ginputstream.c:
1855 * gio/gmemoryinputstream.c:
1856 * gio/gmemoryoutputstream.c:
1857 * gio/goutputstream.c:
1858 * gio/gsimpleasyncresult.c:
1859 * gio/gsocketinputstream.c:
1860 * gio/gsocketoutputstream.c:
1861 Add guards to the remaining public functions, add a TODO for
1862 an unimplemented function and remove some useless guards.
1864 2007-11-07 Alexander Larsson <alexl@redhat.com>
1867 Autoconf checks for the various types of
1868 getpwuid_r and getgrgid_r
1870 * gio/glocalfileinfo.c:
1871 Use the autoconf checks from above
1873 2007-11-07 Alexander Larsson <alexl@redhat.com>
1876 (g_local_file_query_filesystem_info):
1877 Some fixes for the statvfs case
1879 2007-11-07 Alexander Larsson <alexl@redhat.com>
1882 (g_local_file_query_filesystem_info):
1883 Pick the "best" of statfs / statvfs for the system
1884 if both are availible.
1886 2007-11-07 Alexander Larsson <alexl@redhat.com>
1888 Solaris fixes from Halton.Huo@Sun.COM:
1895 * gio/glocalfileinfo.c:
1896 Fix for solaris definition of getpwuid_r
1898 * gio/test-streams.c:
1899 Use G_GNUC_PRETTY_FUNCTION
1901 2007-11-07 Alexander Larsson <alexl@redhat.com>
1903 * gio/gdesktopappinfo.c:
1904 (update_default_list):
1905 Remove double semicolon.
1906 Patch from Jens Granseuer
1908 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1910 * docs/reference/gio/gio-sections.txt:
1911 * gio/gbufferedinputstream.c:
1912 * gio/gbufferedinputstream.h:
1913 * gio/gdatainputstream.c:
1914 * gio/gfileenumerator.c:
1915 * gio/gioscheduler.c:
1916 * gio/gunionvolumemonitor.c:
1918 * programs/gio-save.c:
1919 Fix typo: availible -> available. Unfortuntely this breaks API
1920 and ABI as g_buffered_input_stream_get_available() was renamed.
1922 * gio/gunixmounts.c:
1923 * gio/gbufferedinputstream.c:
1924 Add guards for public functions.
1926 2007-11-06 Ross Burton <ross@openedhand.com>
1928 * docs/reference/gio/Makefile.am:
1929 Fix invalid += usage which automake 1.10 doesn't like.
1931 2007-11-06 Alexander Larsson <alexl@redhat.com>
1934 (g_app_launch_context_class_init):
1937 Patch from Ross Burton
1939 2007-11-06 Alexander Larsson <alexl@redhat.com>
1942 Post release version bump
1944 === gio-standalone 0.1.1 ===
1946 2007-11-06 Alexander Larsson <alexl@redhat.com>
1949 Bump version to 0.1.1
1951 * gio/gsimpleasyncresult.c:
1952 (g_simple_async_result_set_from_error):
1953 Remove bogus g_return_if_fail
1955 2007-11-06 Alexander Larsson <alexl@redhat.com>
1958 The name is gio-standalone
1961 Add top src/builddir to includedir
1963 2007-11-06 Alexander Larsson <alexl@redhat.com>
1965 * docs/reference/gio/gio-sections.txt:
1967 * gio/gbufferedinputstream.c:
1968 * gio/gbufferedoutputstream.c:
1969 * gio/gcancellable.c:
1970 * gio/gdatainputstream.h:
1971 * gio/gdataoutputstream.c:
1972 * gio/gdataoutputstream.h:
1973 * gio/gdirectorymonitor.c:
1975 * gio/gfileattribute.c:
1976 * gio/gfileattribute.h:
1977 * gio/gfileenumerator.c:
1978 * gio/gfileenumerator.h:
1981 * gio/gfileinputstream.h:
1982 * gio/gfilemonitor.c:
1983 * gio/gfileoutputstream.h:
1984 * gio/glocalfilemonitor.h:
1985 * gio/glocalfileoutputstream.h:
1986 * gio/gmemoryinputstream.c:
1987 * gio/gmemoryoutputstream.c:
1988 * gio/gmountoperation.c:
1989 * gio/goutputstream.c:
1990 * gio/goutputstream.h:
1992 * gio/gsimpleasyncresult.c:
1993 * gio/gunixmounts.c:
1994 * gio/gunixmounts.h:
1996 * gio/inotify/inotify-helper.c:
1997 Fix gtk-doc warnings
1999 Patch from Ross Burton
2001 2007-11-06 Alexander Larsson <alexl@redhat.com>
2003 * gio/gfilenamecompleter.c:
2004 (g_filename_completer_get_completions):
2007 * gio/gunixvolume.c:
2008 Remove unused function
2010 Patches from Ross Burton
2012 2007-11-06 Alexander Larsson <alexl@redhat.com>
2017 Padding not needed for interfaces
2019 2007-11-06 Alexander Larsson <alexl@redhat.com>
2021 * gio/gfilemonitor.c:
2025 Make giotypes.h an internal file
2028 * gio/gbufferedinputstream.h:
2029 * gio/gbufferedoutputstream.h:
2030 * gio/gcancellable.h:
2031 * gio/gdatainputstream.h:
2032 * gio/gdataoutputstream.h:
2033 * gio/gdirectorymonitor.c:
2034 * gio/gdirectorymonitor.h:
2039 * gio/gfileattribute.h:
2040 * gio/gfileenumerator.h:
2045 * gio/gfilemonitor.c:
2046 * gio/gfilemonitor.h:
2047 * gio/gfilenamecompleter.c:
2048 * gio/gfilenamecompleter.h:
2049 * gio/gfilterinputstream.h:
2050 * gio/gfilteroutputstream.h:
2051 * gio/ginputstream.h:
2052 * gio/gmemoryinputstream.h:
2053 * gio/gmemoryoutputstream.h:
2054 * gio/gmountoperation.c:
2055 * gio/gmountoperation.h:
2056 * gio/gnativevolumemonitor.c:
2057 * gio/goutputstream.h:
2060 * gio/gsimpleasyncresult.c:
2061 * gio/gsimpleasyncresult.h:
2062 * gio/gsocketinputstream.h:
2063 * gio/gsocketoutputstream.h:
2064 * gio/gthemedicon.c:
2065 * gio/gthemedicon.h:
2069 * gio/gvolumemonitor.c:
2070 * gio/gvolumemonitor.h:
2071 Add padding in classes where it seems useful
2072 Don't include giotypes.h from public headers
2073 Move in Class definitions into c file where possible
2078 2007-11-06 Alexander Larsson <alexl@redhat.com>
2080 * docs/reference/gio/gio-docs.xml:
2081 Better structure for API docs
2083 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2086 * gio/gloadableicon.c:
2087 * gio/gsimpleasyncresult.c:
2088 * gio/gthemedicon.c:
2089 Add some more guards to public functions. Only files missing are now
2092 2007-11-06 Alexander Larsson <alexl@redhat.com>
2094 * docs/reference/gio/gio-docs.xml:
2095 Remove old files, add missing ones
2097 2007-11-06 Alexander Larsson <alexl@redhat.com>
2099 * docs/reference/gio/gio-sections.txt:
2102 Hide implementation classes
2104 * gio/gdriveprivate.h:
2105 * gio/gvolumeprivate.h:
2106 Remove non-existing function declarations
2108 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2111 Fix compilation warnings and add guards to the new functions.
2113 * gio/gasyncresult.c:
2115 Add guards to the public functions.
2118 Implement get_path().
2120 2007-11-06 Alexander Larsson <alexl@redhat.com>
2122 * gio/gfilenamecompleter.c:
2123 Make g_filename_completer_get_completions
2124 return char ** instead of GList for
2127 * docs/reference/gio/gio-docs.xml:
2128 * docs/reference/gio/gio-sections.txt:
2130 * gio/gasyncresult.c:
2131 * gio/gbufferedinputstream.c:
2132 * gio/gbufferedoutputstream.c:
2133 * gio/gcancellable.c:
2134 * gio/gcontenttype.c:
2135 * gio/gdatainputstream.c:
2136 * gio/gdataoutputstream.c:
2137 * gio/gdesktopappinfo.c:
2138 * gio/gdirectorymonitor.c:
2142 * gio/gfileattribute.c:
2143 * gio/gfileenumerator.c:
2146 * gio/gfileinputstream.c:
2147 * gio/gfilemonitor.c:
2148 * gio/gfilenamecompleter.c:
2149 * gio/gfilenamecompleter.h:
2150 * gio/gfileoutputstream.c:
2151 * gio/gfilterinputstream.c:
2153 * gio/ginputstream.c:
2155 * gio/gioscheduler.c:
2156 * gio/gloadableicon.c:
2157 * gio/glocaldirectorymonitor.c:
2159 * gio/glocalfileinputstream.c:
2160 * gio/glocalfilemonitor.c:
2161 * gio/glocalfileoutputstream.c:
2163 * gio/gmemoryinputstream.c:
2164 * gio/gmemoryoutputstream.c:
2165 * gio/gmountoperation.c:
2166 * gio/goutputstream.c:
2167 * gio/gpollfilemonitor.c:
2169 * gio/gsimpleasyncresult.c:
2170 * gio/gsocketinputstream.c:
2171 * gio/gsocketoutputstream.c:
2172 * gio/gthemedicon.c:
2173 * gio/gunionvolumemonitor.c:
2175 * gio/gunixmounts.c:
2176 * gio/gunixvolume.c:
2177 * gio/gunixvolumemonitor.c:
2181 * gio/gvolumemonitor.c:
2182 * gio/gwin32appinfo.c:
2183 Add (mostly stub) doc strings to public functions.
2184 Patch from Andrew Walton (awalton@gmail.com)
2186 2007-11-06 Alexander Larsson <alexl@redhat.com>
2188 * gio/gappinfo.[ch]:
2189 Added GAppLaunchContext object and pass that to launch.
2190 This allows simple implementation of both
2191 launch-on-screen and startup notification via a gtk+
2192 subclass of GAppLaunchContext
2194 * gio/gdesktopappinfo.c:
2195 Implement GAppLaunchContext API
2197 * gio/gwin32appinfo.c:
2200 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2202 * gio/gmountoperation.c:
2203 Add some guards to GMountOperation's public functions.
2205 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2209 * gio/gcancellable.c:
2210 * gio/gdirectorymonitor.c:
2212 * gio/gfileenumerator.c:
2213 * gio/gfilemonitor.c:,
2214 * gio/gfilenamecompleter.c:
2217 * gio/gioscheduler.c:
2221 * gio/gvolumemonitor.c:
2222 Add even more guards to various public functions.
2224 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2227 Add guards to the public functions of GAppInfo.
2229 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2231 * gio/gcontenttype.c:
2232 Add some more guards for public functions.
2234 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2236 * gio/fam/fam-module.c:
2237 * gio/fam/gfamdirectorymonitor.c:
2238 * gio/fam/gfamdirectorymonitor.h:
2239 * gio/fam/gfamfilemonitor.c:
2240 * gio/fam/gfamfilemonitor.h:
2241 * gio/inotify/ginotifydirectorymonitor.c:
2242 * gio/inotify/ginotifydirectorymonitor.h:
2243 * gio/inotify/ginotifyfilemonitor.c:
2244 * gio/inotify/ginotifyfilemonitor.h:
2245 Add proper copyright information and remove an unused variable
2246 in the GInotifyFileMonitor constructor.
2248 * gio/gcancellable.c:
2249 Add a guard for a public function and an assertion to prevent
2250 an undefined program state.
2252 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2254 * gio/gfileattribute.c:
2255 Don't run into an assertion if the given attribute value is NULL
2256 in g_file_attribute_value_get_*() but instead return a fallback
2257 value that makes sense in most situations. Passing them a attribute
2258 value with the wrong type will still run into an assertion.
2260 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2262 * gio/gfileattribute.c:
2264 Add even more guards to the public functions. Also fix the refcounting
2265 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2266 let g_file_info_list_attributes() filter the attributes by namespace
2267 instead of simply ignoring the namespace parameter.
2269 2007-11-03 Sven Herzberg <sven@imendio.com>
2271 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2272 (This makes gio work on MacOS X again)
2274 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2277 Build the gio subdirectory before the docs. Otherwise the build will
2280 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2281 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2282 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2283 Add guards to the public functions.
2285 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2287 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2288 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2289 to prevent a compiler warning.
2291 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2292 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2293 return something in the non-void function find_topdir_for().
2295 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2302 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2304 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2305 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2306 * gwin32appinfo.c (g_win32_app_info_launch):
2307 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2308 envp_for_startup_id, g_desktop_app_info_launch,
2309 g_desktop_app_info_launch_uris):
2311 Give an opaque 'startup_id' string instead of 'envp'.
2312 Support empty file lists for launching new windows.
2313 Fix infinite recursion bug when launching URIs.
2315 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2318 Add guard to the new g_file_get_uri_scheme() function.
2320 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2323 Convert a g_return_val_if_fail() to setting the GError instead as
2324 otherwise applications have to verify the parameter before otherwise
2325 and the parameter might come directly from the user.
2327 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2329 * gio/inotify/ginotify*.[ch]:
2330 Add missing copyright information.
2332 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2335 Add guards in the beginning of public functions to check for valid
2336 parameters and fix a bug in copy_stream_with_progress() that could've
2337 caused writing less bytes than reading.
2338 * gio/glocalfileinfo.c:
2339 Check for a NULL parameter and set the GError accordingly then.
2340 * gio/goutputstream.c:
2341 Fix the same bug as in gfile.c that could've caused writing less bytes
2342 than reading in g_output_stream_real_splice().
2344 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2347 Use the correct gvolumeprivate.h naming
2349 2007-11-01 Christian Kellner <gicmo@gnome.org>
2352 Remove leftover "$(daemon_sources)" entry.
2354 2007-11-01 Christian Kellner <gicmo@gnome.org>
2359 Add copyright information to source files.
2361 2007-11-01 Alexander Larsson <alexl@redhat.com>
2365 Add g_file_get_uri_scheme
2367 2007-11-01 Alexander Larsson <alexl@redhat.com>
2370 * gio/gdesktopappinfo.c:
2371 * gio/gwin32appinfo.c:
2372 Add g_app_info_get_default_for_uri_scheme.
2374 2007-11-01 Alexander Larsson <alexl@redhat.com>
2377 Correct filename for gdriveprivate.h
2379 2007-10-31 Alexander Larsson <alexl@redhat.com>
2382 Rename id:value to id:file
2385 * gio/glocalfileinfo.c:
2388 2007-10-31 Alexander Larsson <alexl@redhat.com>
2390 * gio/gunixvolume.c:
2392 Remove g_volume_get_platform_id, as thats not
2393 needed with the simpler union volume monitor
2395 2007-10-31 Alexander Larsson <alexl@redhat.com>
2398 * gio/guniondrive.[ch]: Removed.
2399 * gio/gunionvolume.[ch]: Removed.
2400 Remove GUnionDrive/Volume
2402 * gio/gunionvolumemonitor.c:
2403 Simplify union volume monitor, now we
2404 only have one native volume monitor and
2405 we use the actual volumes/drives from the
2406 child monitors instead of wrapping them
2408 * gio/gnativevolumemonitor.[ch]:
2409 Base class for native volume monitors.
2410 Includes priority and get_volume_for_mountpoint
2413 Add g_file_find_enclosing_volume
2416 Remove volume name fs attribute
2417 Add readonly fs attribute
2420 Implement readonly attribute
2421 remove volume name attribute
2422 Implement find_enclosing volume
2424 * gio/gunixmounts.c:
2425 Add a volume for "/".
2427 * gio/gunixvolume.[ch]:
2428 Set better name for /
2430 * gio/gunixvolumemonitor.[ch]:
2431 Derive from GNativeVolumeMonitor
2432 Implement get_volume_for_mountpoint
2435 GVolume typedef moved to gfile.h
2437 * gio/gvolumeprivate.h:
2438 Add g_volume_get_for_mount_path
2440 2007-10-31 Alexander Larsson <alexl@redhat.com>
2442 * gio/gunixmounts.[ch]:
2443 Add cache info to unix mount listers
2444 Make getmntent use threadsafe
2445 Add is_system_internal attribute for GUnixMount
2447 * gio/gunixvolume.c:
2448 (g_unix_volume_new):
2449 Use is_system_internal instead of own code
2451 * gio/glocaldirectorymonitor.c:
2452 * gio/gunixvolumemonitor.c:
2453 Update to new gunixmounts API
2458 2007-10-30 Alexander Larsson <alexl@redhat.com>
2461 Add volume name fsinfo attribute
2464 Read volume name info
2466 * gio/gunionvolumemonitor.c:
2467 Fix infinite loops when finalizing a union volume monitor
2469 2007-10-30 Alexander Larsson <alexl@redhat.com>
2471 * gio/goutputstream.[ch]:
2472 Add splice() with default implementation
2474 * gio/gsocketoutputstream.c:
2475 (g_socket_output_stream_write):
2476 Return error on cancellation correctly.
2478 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2480 * gio/glocalfile.c (g_local_file_trash):
2481 Do not leak a string.
2483 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2485 * gio/gfile.c (g_file_load_contents):
2486 Unref the stream after closing it.
2488 2007-10-25 Alexander Larsson <alexl@redhat.com>
2490 * gio/gioscheduler.h:
2493 2007-10-25 Alexander Larsson <alexl@redhat.com>
2497 Add g_file_has_uri_scheme and implement for local files
2499 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2501 * gio/gdesktopappinfo.c: do not leak a string.
2503 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2505 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2506 (g_local_directory_monitor_new):
2507 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2508 (g_local_file_monitor_new):
2509 Only look for the monitor type that should be used the first time
2510 and use g_qsort_with_data() instead of our own bubble sort
2513 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2516 * gio/fam/Makefile.am:
2517 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2518 * gio/fam/fam-helper.h:
2519 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2520 * gio/fam/gfamdirectorymonitor.c:
2521 * gio/fam/gfamdirectorymonitor.h:
2522 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2523 * gio/fam/gfamfilemonitor.h:
2524 * gio/glocaldirectorymonitor.c:
2525 * gio/glocaldirectorymonitor.h:
2526 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2527 * gio/glocalfilemonitor.h:
2528 * gio/inotify/Makefile.am:
2529 * gio/inotify/ginotifydirectorymonitor.c:
2530 * gio/inotify/ginotifydirectorymonitor.h:
2531 * gio/inotify/ginotifyfilemonitor.c:
2532 * gio/inotify/ginotifyfilemonitor.h:
2533 Implement the FAM and Inotify monitors as
2534 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2535 their own GIO module. GLocal(Directory|File)Monitor will use the
2536 monitor with the highest rank that is supported on that machine.
2538 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2541 Change GIO module dir to $(libdir)/gio/modules and change
2542 the log domain from GVFS to GIO. Also only export symbols starting
2543 with g_ in the resulting library.
2544 * gio/test-streams.c: (main):
2545 Set log handler for the GIO log domain.
2547 2007-10-22 Alexander Larsson <alexl@redhat.com>
2549 * gio/gfilenamecompleter.[ch]:
2550 Add g_filename_completer_set_dirs_only
2552 2007-10-22 Alexander Larsson <alexl@redhat.com>
2555 * gio/gurifuncs.[ch]:
2556 Add some simple URI helpers
2558 * gio/gfilenamecompleter.[ch]:
2559 Added object for filename (parse name actually) completion
2562 Handle ~ in parse names
2564 2007-10-17 Alexander Larsson <alexl@redhat.com>
2567 * gio/glocalfileinfo.c:
2568 Add and implement id:value attribute
2570 2007-10-17 Alexander Larsson <alexl@redhat.com>
2573 * gio/guniondrive.c:
2575 Add and implement g_drive_has_volumes
2577 2007-10-17 Alexander Larsson <alexl@redhat.com>
2580 * gio/glocalfileinfo.[ch]:
2581 Add unix:is_mountpoint and implement for local files
2583 2007-10-16 Alexander Larsson <alexl@redhat.com>
2585 * gio/gunionvolumemonitor.c:
2586 (g_union_volume_monitor_init):
2587 Fix up the unix type getting so that it works with gcc
2589 2007-10-12 Alexander Larsson <alexl@redhat.com>
2592 * gio/glocalfileinfo.c:
2593 Add thumbnail:failed to file info
2595 2007-10-12 Richard Hult <richard@imendio.com>
2597 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2598 optimizing away the get_type call (happens with some gcc versions,
2599 like the one shipped with OS X 10.4).
2601 2007-10-12 Alexander Larsson <alexl@redhat.com>
2603 * gio/glocalfileinfo.c:
2604 (_g_local_file_info_set_attribute):
2605 Fix build if not HAVE_XATTR
2606 Patch from Milosz Derezynski <internalerror@gmail.com>
2608 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2610 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2611 around for review, otherwise I would have asked you before
2614 2007-10-11 Alexander Larsson <alexl@redhat.com>
2617 Add thumbnail:path attribute
2619 * gio/glocalfileinfo.c:
2620 Implement thumbnail:path for local files
2622 2007-10-11 Alexander Larsson <alexl@redhat.com>
2624 * gio/glocalfileinfo.c:
2625 (_g_local_file_info_get):
2626 Avoid duplicate icon names
2628 2007-10-11 Alexander Larsson <alexl@redhat.com>
2630 * gio/gthemedicon.[ch]:
2631 Change g_themed_icon_get_names return type to const
2633 2007-10-10 Alexander Larsson <alexl@redhat.com>
2635 * gio/glocalfileinfo.c:
2636 Don't reference freed memory
2638 2007-10-10 Alexander Larsson <alexl@redhat.com>
2640 * gio/gfileattribute.c:
2643 * gio/glocalfileinfo.c:
2646 2007-10-10 Alexander Larsson <alexl@redhat.com>
2649 Check for NULL icons
2651 * gio/gfileattribute.c:
2652 Don't dup when getting objects (same as for string attributes)
2654 * gio/gicon.c (g_icon_equal):
2655 Safely handle NULLs in equal
2657 2007-10-10 Alexander Larsson <alexl@redhat.com>
2660 Fix c++ compilation issues
2661 Patch from Milosz Derezynski <internalerror@gmail.com>
2663 2007-10-10 Alexander Larsson <alexl@redhat.com>
2665 * programs/gio-monitor-dir.c:
2666 Don't crash if dir monitor not supported.
2668 2007-10-09 Alexander Larsson <alexl@redhat.com>
2671 Add missing G_END_DECLS
2673 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2675 * gio/gfile.c: (g_file_set_display_name),
2676 (g_file_query_settable_attributes),
2677 (g_file_query_writable_namespaces):
2678 Return NULL not FALSE on errors as the return type is a pointer.
2680 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2682 * gio/glocalfile.c: (g_local_file_monitor_file):
2683 Don't call monitor_file on the default interface vtable (which
2684 is NULL) but simply return NULL. The caller, GFile, will create a
2685 polling monitor if NULL is returned.
2687 2007-10-09 Alexander Larsson <alexl@redhat.com>
2691 * gio-unix-2.0.pc.in:
2692 Add gio-unix-2.0.pc if OS_UNIX
2695 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2697 2007-10-09 Alexander Larsson <alexl@redhat.com>
2699 * gio/gunixmounts.[ch]:
2700 Make unix mount monitoring API sane.
2701 Now its just a object with mounts_changed
2702 and mountpoints_changed signals.
2704 * gio/glocaldirectorymonitor.c:
2705 * gio/gunixvolumemonitor.c:
2706 Use new mount monitor api
2708 2007-10-09 Alexander Larsson <alexl@redhat.com>
2710 * gio/gunixmounts.[ch]:
2711 Move guess type into one call for mounts and one for mountpoints
2714 * gio/gunixvolume.c:
2717 2007-10-09 Alexander Larsson <alexl@redhat.com>
2719 * gio/gunixmounts.[ch]:
2720 Remove _ prefix in preparation to make this semi-public
2721 Hide implementation of structs
2723 * gio/glocaldirectorymonitor.c:
2725 * gio/gunixvolume.c:
2726 * gio/gunixvolumemonitor.c:
2727 Update for above API changes
2729 2007-10-08 Alexander Larsson <alexl@redhat.com>
2732 Better polling fallback. This also handles the case where we have
2733 a monitor_file implementation, but it fails.
2735 2007-10-08 Alexander Larsson <alexl@redhat.com>
2739 * gio/gunixmounts.c:
2740 * programs/gio-monitor-dir.c:
2741 * programs/gio-monitor-file.c:
2742 Added cancellable to file monitoring calls.
2743 These are really sync calls and need this.
2745 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2747 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2748 (g_local_vfs_class_init):
2749 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2750 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2752 2007-10-05 Alexander Larsson <alexl@redhat.com>
2754 * gio/gdirectorymonitorprivate.h:
2755 * gio/gfilemonitorprivate.h:
2756 * gio/gdirectorymonitor.h:
2757 * gio/gfilemonitor.h:
2758 Remove *private.h and move to the public API, so that
2759 we can do implementations outside gio (such as in gvfs)
2761 * gio/gdirectorymonitor.c:
2762 * gio/gfilemonitor.c:
2763 * gio/glocaldirectorymonitor.c:
2764 * gio/gpollfilemonitor.c:
2765 * gio/inotify/inotify-helper.c:
2766 * gio/fam/fam-helper.c:
2767 Update to the new header names
2769 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2771 * gio/gdirectorymonitor.c:
2772 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2775 2007-10-04 Alexander Larsson <alexl@redhat.com>
2777 * gio/glocalfileinfo.c (get_access_rights):
2778 Set CAN_TRASH when we can move the file.
2779 We should really also check for a parent trash dir.
2781 2007-10-04 Alexander Larsson <alexl@redhat.com>
2783 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2784 Add can_trash access attribute
2786 2007-10-04 Alexander Larsson <alexl@redhat.com>
2789 (g_local_file_trash):
2790 Create info file first. This is per-spec and allows
2791 us to actually trash directories.
2793 2007-10-02 Alexander Larsson <alexl@redhat.com>
2795 * gio/gdesktopappinfo.c:
2796 Implement the new mime support code.
2797 Always set app as handling mimetype when being set as default for it
2799 2007-10-01 Alexander Larsson <alexl@redhat.com>
2801 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2802 Fix up check for xattrs:
2804 2007-10-01 Alexander Larsson <alexl@redhat.com>
2807 (g_app_info_set_as_default_for_extension):
2808 (g_app_info_add_supports_type):
2809 (g_app_info_can_remove_supports_type):
2810 (g_app_info_remove_supports_type):
2811 Make these fail nicely if not implemented
2813 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2815 * gio/glocalfileoutputstream.c:
2816 * gio/glocalfileoutputstream.h:
2821 * programs/gio-save.c:
2822 Add a GFileCreateFlags argument to operations that can create
2825 2007-10-01 Alexander Larsson <alexl@redhat.com>
2827 * gio/gappinfo.[ch]:
2828 * gio/gdesktopappinfo.c:
2829 Add more (stubbed out) mime API needed for nautilus
2831 2007-10-01 Alexander Larsson <alexl@redhat.com>
2834 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2835 Add g_app_info_set_as_default_for_extension.
2837 * gio/gdesktopappinfo.c:
2838 Dummy for g_app_info_set_as_default_for_extension
2839 Support flags in g_app_info_create_from_commandline
2841 * gio/gwin32appinfo.c:
2843 Update for API changes
2845 * gio/gthemedicon.c:
2846 Properly NULL-terminate list of icon names
2848 2007-09-28 Alexander Larsson <alexl@redhat.com>
2850 * gio/gloadableicon.h:
2851 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2853 2007-09-28 Alexander Larsson <alexl@redhat.com>
2856 Install headers in $includedir/gio-standalone/
2858 * gio-2.0.pc.in: Added.
2859 * gio-standalone.pc.in: Removed.
2862 Renamed pkg-config file to match glib (for future move)
2863 Update to the new include dir
2866 Add more TODO comments
2868 2007-09-28 Alexander Larsson <alexl@redhat.com>
2870 * gio/gdesktopappinfo.[ch]:
2871 Expose new_from_filename
2872 Add getter for is_hidden and handle it better
2874 2007-09-28 Alexander Larsson <alexl@redhat.com>
2876 * gio/gfileinfo.[ch]:
2877 Rename g_file_size_format_for_display to
2878 g_format_file_size_for_display.
2879 Now it doesn't have the g_file prefix, so we
2880 can later move it to glib.
2882 2007-09-28 Alexander Larsson <alexl@redhat.com>
2884 * gio/gappinfo.[ch]:
2885 Add g_app_info_get_id and g_app_info_get_executable.
2886 Make all getters non-reffing
2887 Make g_app_info_launch take GFile arguments.
2888 Add must_support_uris argument to g_app_info_get_default_for_type.
2890 * gio/gwin32appinfo.c:
2891 Update to GAppInfo api changes
2893 * gio/gdesktopappinfo.c:
2894 Update to GAppInfo api changes
2895 Implement supports_xdg_startup_notify
2897 * gio/gfileicon.c (g_file_icon_get_file):
2898 Make getter non-reffing.
2903 2007-09-27 Alexander Larsson <alexl@redhat.com>
2905 * gio/gfileinfo.[ch]:
2906 Add g_file_size_format_for_display helper
2908 2007-09-27 Alexander Larsson <alexl@redhat.com>
2910 * gio/glocalfileinfo.c:
2911 Set UNIX_GID from gid, not from uid
2913 2007-09-27 Alexander Larsson <alexl@redhat.com>
2916 Add g_file_set_attributes_async
2918 2007-09-27 Alexander Larsson <alexl@redhat.com>
2920 * gio/glocalfile.c (g_local_file_set_display_name):
2921 Fix set_display_name to actually rename to the right place.
2922 Use lstat to look for existing files so we don't overwrite
2925 2007-09-26 Alexander Larsson <alexl@redhat.com>
2928 Add g_file_set_display_name_async()
2930 2007-09-26 Alexander Larsson <alexl@redhat.com>
2933 Add load_partial_contents async calls
2936 Make internal function static
2938 2007-09-26 Alexander Larsson <alexl@redhat.com>
2940 * gio/glocalfileinfo.c:
2941 Correctly detect broken symlinks
2943 2007-09-26 Alexander Larsson <alexl@redhat.com>
2945 * gio/gcancellable.c (g_cancellable_cancel):
2946 Allow cancel on NULL cancellable
2948 2007-09-25 Alexander Larsson <alexl@redhat.com>
2950 * gio/gsimpleasyncresult.c:
2951 Don't allocate g_error manually.
2952 Fixes g_slice/g_new mixup crash
2954 2007-09-25 Alexander Larsson <alexl@redhat.com>
2956 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2957 Actually set active_backend.
2958 This means the monitor will be cancelled correctly.
2960 2007-09-25 Alexander Larsson <alexl@redhat.com>
2962 * gio/gdirectorymonitor.c:
2963 Set timeout to NULL when destroying
2965 2007-09-25 Alexander Larsson <alexl@redhat.com>
2968 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2969 that is a better description of the error.
2971 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2973 * gio/gvfs.c: (g_vfs_get_local):
2974 Make the local vfs variable static. The same instance should
2977 2007-09-24 Alexander Larsson <alexl@redhat.com>
2979 * gio/glocalfileinfo.c:
2980 Pass in actual length read into sniffer, not the length
2983 2007-09-21 Alexander Larsson <alexl@redhat.com>
2985 * gio/gfileenumerator.c:
2988 * gio/gfileinputstream.c:
2989 * gio/gfileoutputstream.c:
2990 * gio/ginputstream.c:
2991 * gio/goutputstream.c:
2992 Don't crash if async callbacks are NULL
2994 2007-09-20 Alexander Larsson <alexl@redhat.com>
2997 Add async enumerate_children method and default
3000 2007-09-20 Alexander Larsson <alexl@redhat.com>
3003 Add g_file_contains_file & g_file_get_relative_path, since they
3004 were needed for nautilus.
3005 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3010 Implement new methods
3012 2007-09-17 Alexander Larsson <alexl@redhat.com>
3015 * gio/gfileinputstream.[ch]:
3016 * gio/gfileoutputstream.[ch]:
3018 * gio/glocalfileenumerator.[ch]:
3019 * gio/glocalfileinfo.[ch]:
3020 * gio/glocalfileinputstream.c:
3021 * gio/glocalfileoutputstream.c:
3022 * gio/gpollfilemonitor.c:
3023 * programs/gio-copy.c:
3024 * programs/gio-info.c:
3025 * programs/gio-move.c:
3026 Rename get_file_info to query_info() to make it clearer
3027 that these are not simple getters, but do i/o.
3029 2007-09-17 Alexander Larsson <alexl@redhat.com>
3031 * gio/gdatainputstream.[ch]:
3032 * gio/test-streams.c:
3033 Use _read_XXX instead of _get_XXX for the i/o calls
3036 2007-09-17 Alexander Larsson <alexl@redhat.com>
3039 Added needed stuff to TODO comment
3041 2007-09-17 Alexander Larsson <alexl@redhat.com>
3043 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3044 Don't error out removing the backup copy if it doesn't
3047 2007-09-14 Alexander Larsson <alexl@redhat.com>
3049 * programs/Makefile.am:
3050 * programs/gvfs-*.c:
3052 Renamed apps from gvfs-xxx to gio-xxx.
3054 2007-09-14 Alexander Larsson <alexl@redhat.com>
3057 * gio/gfileoutputstream.[ch]:
3058 * gio/glocalfileoutputstream.c:
3059 * programs/gvfs-save.c:
3060 g_file_output_stream_get_etag doesn't do i/o, so remove
3061 cancellation and error.
3063 2007-09-14 Alexander Larsson <alexl@redhat.com>
3066 Add new_etag output to replace_contents functions
3068 2007-09-14 Alexander Larsson <alexl@redhat.com>
3070 * gio/gfileoutputstream.[ch]:
3071 Add async get_file_info and default implementation
3073 2007-09-14 Alexander Larsson <alexl@redhat.com>
3075 * gio/gfileinputstream.c:
3076 Implement fallback wrapper for async get_file_info
3078 2007-09-14 Alexander Larsson <alexl@redhat.com>
3081 Add etag out argument to load_contents
3086 2007-09-14 Alexander Larsson <alexl@redhat.com>
3088 * gio/gcontenttype.c (looks_like_text):
3089 Whitespace like tab, cr and lf do not make the
3092 2007-09-14 Alexander Larsson <alexl@redhat.com>
3094 * gio/gfileinputstream.[ch]:
3095 Add async get_file_info.
3097 2007-09-13 Alexander Larsson <alexl@redhat.com>
3099 * gio/goutputstream.c (g_output_stream_write_all):
3100 Allow NULL for bytes_written
3102 2007-09-13 Alexander Larsson <alexl@redhat.com>
3104 * gio/gmemoryinputstream.[ch]:
3105 Add accessors for data
3107 2007-09-13 Alexander Larsson <alexl@redhat.com>
3109 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3110 Don't crash if length is NULL