1 2008-01-25 Matthias Clasen <mclasen@redhat.com>
3 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
4 * gioscheduler.c: Keep calling io jobs until they return FALSE;
5 this allows big jobs to be executed in chunks, instead of blocking
6 the main loop for a long time.
8 * gsimpleasyncresult.c:
9 * giofile.c: Adapt callers.
11 2008-01-25 Alexander Larsson <alexl@redhat.com>
14 Implement changes discussed on xdg list.
15 Now we can add supported mimetypes by just using defaults.list
16 We can also remove associations in defaults.list.
18 2008-01-25 Alexander Larsson <alexl@redhat.com>
21 Don't make local copy of desktop file
22 for mimetype changes if the file already
23 supports the new mimetype.
25 2008-01-25 Matthias Clasen <mclasen@redhat.com>
29 * gbufferedinputstream.c:
30 * glocalfile.c: String improvements. (#511966,
31 Theppitak Karoonboonyanan)
33 2008-01-24 Matthias Clasen <mclasen@redhat.com>
35 * gioscheduler.h: Expand docs a bit.
37 2008-01-24 Alexander Larsson <alexl@redhat.com>
40 Add g_drive_get_identifier and
41 g_drive_enumerate_identifiers
44 Add g_volume_get_identifier and
45 g_volume_enumerate_identifiers
51 Implement identifiers for unix backend
53 2008-01-24 Alexander Larsson <alexl@redhat.com>
58 Add g_file_copy_async() (#511580)
59 Based on patch from Carlos Garcia Campos
61 2008-01-23 Matthias Clasen <mclasen@redhat.com>
63 * gioscheduler.c: Some documentation additions.
65 2008-01-22 Alexander Larsson <alexl@redhat.com>
68 (g_desktop_app_info_new):
71 2008-01-22 Alexander Larsson <alexl@redhat.com>
74 (g_desktop_app_info_new_from_filename):
77 2008-01-22 Alexander Larsson <alexl@redhat.com>
79 * glocalfileinfo.c (get_thumbnail_attributes):
82 2008-01-22 Alexander Larsson <alexl@redhat.com>
85 (canonicalize_filename):
86 Canonicalize paths that start with more than
91 (test_g_file_new_for_path):
94 2008-01-22 Alexander Larsson <alexl@redhat.com>
97 Allow UTF-8 in file:// parse names.
100 * tests/data-input-stream.c:
101 * tests/data-output-stream.c:
102 * tests/g-file-info.c:
104 Added a bunch of tests from Tomas Bzatek
106 2008-01-21 Matthias Clasen <mclasen@redhat.com>
108 * === Released 2.15.3 ===
110 2008-01-21 Alexander Larsson <alexl@redhat.com>
112 * gfileinputstream.[ch]:
113 * gfileoutputstream.[ch]:
115 Remove duplicated GSeekable functions. (#509990)
116 Just use the g_seekable_xxx() calls instead.
118 2008-01-21 Matthias Clasen <mclasen@redhat.com>
121 * gvolumemanager.c: Whitespace cleanups.
123 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
124 Use the right mode when creating the file.
126 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
129 * gfileinputstream.c:
131 * goutputstream.c: Documentation: Fixed minor typos
132 and added more mentions of specific _finish() functions.
134 2008-01-21 Alexander Larsson <alexl@redhat.com>
136 * inotify/Makefile.am:
137 * inotify/inotify-helper.c:
138 * inotify/inotify-kernel.c:
139 * inotify/inotify-path.c:
140 * inotify/local_inotify.h: Removed.
141 * inotify/local_inotify_syscalls.h: Removed.
142 Removed the included copies of the inotify
143 headers. We now only use the <sys/inotify.h>
144 header which exists on modern systems.
145 This fixes problems on ARM and SH5 (#510448)
146 but is also generally much cleaner and future
147 safe. For instance, if other OSes add support
148 for inotify it should "just work".
150 2008-01-20 Matthias Clasen <mclasen@redhat.com>
152 * inotify/*.c: Coding style fixes.
153 * inotify/inotify-missing.c: Use g_timeout_add_seconds
154 for the 1/4 Hz timer.
156 2008-01-20 Matthias Clasen <mclasen@redhat.com>
160 * gmemoryinputstream.c:
161 * gmemoryoutputstream.c:
163 * gthemedicon.c: Documentation updates
165 2008-01-20 Murray Cumming <murrayc@murrayc.com>
167 * gfile.c: documentation: Fixed more minor
170 2008-01-18 Murray Cumming <murrayc@murrayc.com>
172 * gmount.c: (g_mount_remount): documentation:
173 Mention g_mount_remount_finish() instead of
174 g_mount_unmount_finish().
176 2008-01-18 Murray Cumming <murrayc@murrayc.com>
180 * gfile.c: Fixed some minor typos in the
183 2008-01-18 Murray Cumming <murrayc@murrayc.com>
185 * gio/gvolumemonitor.c:
186 (g_volume_monitor_get_connected_drives):
187 (g_volume_monitor_get_volumes):
188 (g_volume_monitor_get_mounts): Documentation:
189 Clarify the ownership of the regurn GLists.
191 2008-01-17 Alexander Larsson <alexl@redhat.com>
194 Add the async find_enclosing_mount version
195 to the header file too.
197 2008-01-17 Alexander Larsson <alexl@redhat.com>
200 Add async version of find_enclosing_mount
201 with default implementation.
203 2008-01-17 Alexander Larsson <alexl@redhat.com>
208 Allow calls to implementation of copy and write
209 even if the type of the file implementations is
210 different. This can be used to implement native
211 upload and download calls in a vfs.
215 Protect against the case where move is called
216 with one file not being local.
218 Make sure we call the progress callback once
219 in the native move operation so that the caller
220 knows how many bytes were copied.
222 2008-01-16 Murray Cumming <murrayc@murrayc.com>
225 * gdatainputstream.c:
227 * gfileoutputstream.c:
232 * gunixmounts.c: Corrected some typos in the documentation:
234 its -> it's (where appropriate).
236 2008-01-16 Alexander Larsson <alexl@redhat.com>
240 Add g_file_query_exists (#508771)
242 2008-01-15 Murray Cumming <murrayc@murrayc.com>
247 * gvolume.c: For async functions that have no non-async
248 version, document that the GAsyncReadyCallback may be NULL.
251 2008-01-15 Alexander Larsson <alexl@redhat.com>
253 * gmemoryinputstream.c:
254 * gmemoryoutputstream.c:
255 Don't do pointer arithmetic on void * (#508602)
256 Patch from Kazuki IWAMOTO
258 2008-01-14 Matthias Clasen <mclasen@redhat.com>
260 * === Released 2.15.2 ===
262 2008-01-14 Alexander Larsson <alexl@redhat.com>
264 * gfile.c (g_file_monitor_file):
265 Don't set error here, since we fallback to polling monitor.
267 2008-01-14 Alexander Larsson <alexl@redhat.com>
270 (g_file_monitor_directory):
271 (g_file_monitor_file):
272 Add GError to file monitor calls
274 * glocaldirectorymonitor.c:
275 * glocaldirectorymonitor.h:
277 * glocalfilemonitor.c:
278 * glocalfilemonitor.h:
280 Update for above change
282 2008-01-14 Alexander Larsson <alexl@redhat.com>
286 Handle root correctly in g_file_get_relative_path (#508719)
288 2008-01-14 Alexander Larsson <alexl@redhat.com>
291 Clean up docs and example for GAsyncResult (#508074)
293 2008-01-11 Murray Cumming <murrayc@murrayc.com>
295 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
296 and correct some spelling mistakes. Bug #508108.
298 2008-01-11 Matthias Clasen <mclasen@redhat.com>
300 * glocalfileinfo.c: Add a comment.
302 2008-01-10 Murray Cumming <murrayc@murrayc.com>
304 * gfileinfo.c: GFileInfo description: Mention
305 how to actually set attributes in a GFile and how to discover
306 which attributes are settable. Bug #508378.
308 2008-01-10 A. Walton <awalton@svn.gnome.org>
310 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
311 (g_app_info_get_default_for_type):
312 Check for NULL content types.
314 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
316 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
318 2008-01-09 Murray Cumming <murrayc@murrayc.com>
320 * gfile.c: *_async() functions: Several small corrections
321 to the documentation, mostly correcting copy/paste errors
322 and improving some sentences.
324 2008-01-09 Dan Winship <danw@gnome.org>
326 * glocalfile.c (get_unique_filename): x86_64 fix
328 2008-01-09 Alexander Larsson <alexl@redhat.com>
333 Add g_unix_mount_guess_should_display and use
334 for unix volume monitor backend.
335 This means we more or less show what the
336 gnome-vfs backend did.
337 Based on patch from Padraig O'Briain
339 2008-01-09 Alexander Larsson <alexl@redhat.com>
343 Add g_themed_icon_new_with_default_fallbacks
346 Use default fallbacks for icons
348 2008-01-09 Alexander Larsson <alexl@redhat.com>
351 * gmountoperation.[ch]:
352 Change the API a bit so that unhandled methods
353 get reported via the reply, rather than by
354 the signal emission return value. This is because
355 some handlers can't know this immediately without
356 doing I/O, and this is an async operation that
359 2008-01-09 Alexander Larsson <alexl@redhat.com>
362 * fam/gfamdirectorymonitor.c:
363 * fam/gfamfilemonitor.c:
364 Fix double free crash (#508224)
365 Patch from Joe Marcus Clarke
367 008-01-07 Matthias Clasen <mclasen@redhat.com>
369 * === Released 2.15.1 ===
371 2008-01-07 Alexander Larsson <alexl@redhat.com>
373 * gunixinputstream.c (g_unix_input_stream_skip_finish):
374 Fix warning (#507835)
376 2008-01-07 Alexander Larsson <alexl@redhat.com>
379 Pass --internal to glib-genmarshal
384 Use better types for signal arguments (#507822)
386 2008-01-07 Alexander Larsson <alexl@redhat.com>
389 Build test subdir after .
390 Remove gdirectorymonitor.[ch]
392 * gdirectorymonitor.[ch]:
396 Remove GDirectoryMonitor and make
397 GFileMonitor the baseclass for both file and
398 directory monitors. Lift the more generic
399 rate limiting code from GDirectoryMonitor
403 * fam/gfamdirectorymonitor.[ch]:
404 * inotify/ginotifydirectorymonitor.[ch]:
405 * inotify/inotify-helper.c:
406 * glocaldirectorymonitor.[ch]:
409 Update for the removed GDirectoryMonitor.
411 * gmemoryoutputstream.c:
412 Remove ununsed variable
414 2008-01-07 Alexander Larsson <alexl@redhat.com>
416 * gmemoryinputstream.c:
417 Translate error strings
420 * gmemoryoutputstream.[ch]:
421 New implementation that avoids using GByteArray
422 in implementation and API. (#506377)
424 2008-01-06 Matthias Clasen <mclasen@redhat.com>
426 * tests/*: Add a test for memory input streams.
428 * Makefile.am: Add tests to SUBDIRS.
430 2008-01-06 Matthias Clasen <mclasen@redhat.com>
432 * glocalfilemonitor.c:
433 * glocaldirectorymonitor.c: Mark property nicks and blurbs
436 2008-01-06 Matthias Clasen <mclasen@redhat.com>
438 * gdesktopappinfo.c: Fix a docs typo.
440 * gfileattribute.c: Add information about extended attributes
441 to the documentation. (#505058)
443 2008-01-04 Alexander Larsson <alexl@redhat.com>
447 Use the right type (uint) for the ask_password signal.
449 2008-01-04 Alexander Larsson <alexl@redhat.com>
454 Add g_app_info_supports_files()
455 Remove desktop arg from g_app_info_should_show().
457 * gdesktopappinfo.[ch]:
458 Implement g_app_info_supports_files() and new should_show()
459 Add g_desktop_app_info_set_desktop_env() to set the desktop
460 for should_show(). (This will be set by gtk+ later)
462 2008-01-04 Alexander Larsson <alexl@redhat.com>
465 * gmemoryinputstream.[ch]:
466 Improve API so that you can use multiple chunks
467 of memory and custom destroy functions. (#506374)
469 2008-01-03 Alexander Larsson <alexl@redhat.com>
472 Handle NULL attribute matchers safely, as we return this
473 for empty attribute matcher strings.
475 2008-01-03 Alexander Larsson <alexl@redhat.com>
477 * gunixmounts.c (g_unix_is_mount_path_system_internal):
478 Add /usr/local to list of internal mountpoints
480 2008-01-03 Alexander Larsson <alexl@redhat.com>
483 Check for HAVE_LCHOWN (#505887)
485 2008-01-03 Alexander Larsson <alexl@redhat.com>
489 Add define for selinux context attribute.
490 Fix missing : -> :: namespace separator change
491 Fix missing _ -> - name change for xattr-sys.
494 2008-01-03 Alexander Larsson <alexl@redhat.com>
497 Link to libglib and libgobject directly (#504879)
498 Patch from Sebastien Bacher
500 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
502 * gfile.c: Expanded the g_file_new_for_commandline_arg
503 description a bit, based on the code and the docs of the
504 other g_file_new_for_* functions.
506 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
508 * gfilemonitor.h: Fixed typo in docs.
510 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
512 Updates to GIO documentation. (#506395, Mikael Hermansson)
514 * gcontenttype.c: Describe memory management for return value of
515 g_content_types_get_registered(). Missing piece from #505815.
516 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
517 GVolume, GDrive, GMounts, which hopefully gives the user less
518 confusions when using this API. Following explainations from
519 Alexander Larsson on gtk-devel-list.
521 2007-12-30 Matthias Clasen <mclasen@redhat.com>
523 * gfileinfo.c: Expand the long description.
525 2007-12-30 Matthias Clasen <mclasen@redhat.com>
528 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
529 fix builds with --disable-visibility. (#500273, Christian Persch)
531 2007-12-30 Matthias Clasen <mclasen@redhat.com>
533 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
534 in the list of returned app infos.
536 2007-12-30 Matthias Clasen <mclasen@redhat.com>
538 * gappinfo.c: Fix a cross-reference
540 2007-12-30 Matthias Clasen <mclasen@redhat.com>
542 * gfileinputstream.c:
543 * gfileoutputstream.c:
549 * gfileinfo.c: Documentation updates.
551 2007-12-26 Matthias Clasen <mclasen@redhat.com>
553 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
556 2007-12-26 Matthias Clasen <mclasen@redhat.com>
558 * gcontenttype.c (g_content_types_get_registered): Don't return
559 freed memory (#505815, Mikael Hermansson)
561 2007-12-25 Paolo Borelli <pborelli@katamail.com>
563 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
564 used to detect statbuf->st_blocks. (#505042)
566 2007-12-24 Matthias Clasen <mclasen@redhat.com>
568 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
569 environment handling. (#504829, Cosimo Cecchi)
571 2007-12-22 Matthias Clasen <mclasen@redhat.com>
573 * gappinfo.c: Doc improvements
575 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
578 2007-12-20 Matthias Clasen <mclasen@redhat.com>
580 * === Released 2.15.0 ===
582 2007-12-20 Hans Breuer <hans@breuer.org>
584 * makefile.msc : don't build gdesktopappinfo.obj, it collides
585 with symbols gwin32appinfo.obj, added gmount.obj
586 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
588 2007-12-20 Alexander Larsson <alexl@redhat.com>
594 * gfilenamecompleter.c:
597 * gpollfilemonitor.c:
598 File attribute renames:
601 id::fs -> id::filesystem
603 2007-12-20 Alexander Larsson <alexl@redhat.com>
612 Add GMountUnmountFlags to all unmount and
614 Add g_mount_remount() call.
616 2007-12-20 Alexander Larsson <alexl@redhat.com>
618 * gvfs.c (get_default_vfs):
619 Fix unused variable warning
621 2007-12-19 Matthias Clasen <mclasen@redhat.com>
623 * pltcheck.sh: Update
625 2007-12-19 Matthias Clasen <mclasen@redhat.com>
627 * gunionvolumemonitor.c:
628 * gunixmount.c: Remove C99 comments
630 2007-12-19 Matthias Clasen <mclasen@redhat.com>
632 * gio.symbols: Add some missing symbols
634 2007-12-19 Alexander Larsson <alexl@redhat.com>
637 Make g_io_modules_load_all_in_directory not unuse
638 loaded modules so that users of it can do stuff
640 Init internal "module" types.
641 Initialize static prio and name for types so that
642 we don't have to load modules to get it.
644 * gnativevolumemonitor.h:
646 Move is_supported to parent class so that
647 non-native monitors can avoid being initialized
648 too. (For instance GDaemonVolumeMonitor if we're
649 not using GDaemonVfs.)
651 * glocaldirectorymonitor.[ch]:
652 * glocalfilemonitor.[ch]:
653 * gunionvolumemonitor.c:
654 * gunixvolumemonitor.c:
656 Find plugins using the static prio+name to
657 avoid unnecessarily loading the modules.
659 2007-12-19 Alexander Larsson <alexl@redhat.com>
664 2007-12-19 Alexander Larsson <alexl@redhat.com>
666 * gunionvolumemonitor.c:
667 Store the native type as GType, not class so that
668 we can unload it. But still avoid unnecessarily
671 2007-12-19 David Zeuthen <davidz@redhat.com>
673 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
674 add signals 'disconnected' and 'eject-button' on GDrive. Add
675 signal 'removed' on GVolume and 'unmounted' on GMount.
677 * gdrive.c: (g_drive_base_init):
679 * gfile.c: (g_file_mount_mountable),
680 (g_file_mount_enclosing_volume):
683 * gmount.c: (g_mount_base_init):
685 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
686 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
687 * gvolume.c: (g_volume_base_init), (g_volume_mount):
691 2007-12-17 Matthias Clasen <mclasen@redhat.com>
693 * *.c: Fix up includes in the section docs.
695 2007-12-17 Alexander Larsson <alexl@redhat.com>
697 * gnativevolumemonitor.h:
698 * gunionvolumemonitor.c:
699 * gunixvolumemonitor.c:
700 Add is_supported() to GNativeVolumeMonitorClass so
701 that we can avoid having to create an object to see
702 if the backend is supported at runtime.
703 Also add name member and an env var to pick a specific
704 volume monitor backend.
708 Add cancellable to _g_mount_get_for_mount_path()
710 * glocaldirectorymonitor.c:
711 * glocalfilemonitor.c:
712 Avoid loading and unloading modules while sorting.
714 2007-12-17 Matthias Clasen <mclasen@redhat.com>
717 * gunixmounts.[hc]: Namespace waste reduction, move some
718 g_get_unix_mount functions to the g_unix_mount namespace.
721 * gunixvolumemonitor.c:
723 * glocaldirectorymonitor.c: Update all callers.
725 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
727 2007-12-17 Alexander Larsson <alexl@redhat.com>
730 Add doc comments about what GFile operations are
731 guaranteed to not block.
733 2007-12-17 Alexander Larsson <alexl@redhat.com>
736 Add missing #ifdef fixing OSX build.
737 (#503334, patch from Richard Hult)
739 2007-12-14 David Zeuthen <davidz@redhat.com>
743 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
744 (g_mount_eject), (g_mount_eject_finish):
746 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
747 (get_volume_for_uuid), (get_mount_for_uuid),
748 (g_union_volume_monitor_class_init),
749 (get_default_native_type_with_exclude), (get_default_native_type),
750 (get_native_type), (update_native_type),
751 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
752 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
753 (g_unix_mount_can_eject), (eject_unmount_cb),
754 (eject_unmount_read_error), (eject_unmount_do),
755 (g_unix_mount_unmount), (g_unix_mount_eject),
756 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
757 * gunixmounts.c: (g_unix_mount_guess_can_eject),
758 (g_unix_mount_point_guess_can_eject):
760 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
761 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
762 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
763 (g_unix_volume_mount), (g_unix_volume_eject),
764 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
765 * gunixvolumemonitor.c: (get_volume_for_uuid),
766 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
768 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
769 (g_volume_eject), (g_volume_eject_finish):
771 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
772 (g_volume_monitor_get_mount_for_uuid):
775 Provide eject() on both GMount and GVolume and utility functions
776 to guess whether a GUnixMountPoint or GUnixMountEntry should be
777 ejected. Introduce the concept of UUID's and wire it into GVolume
778 and GMount and provide API on GVolumeMonitor to find such
779 instances. Also handle the case where an external
780 GNativeVolumeMonitor fails to initialize. Lock around the
781 _g_get_mount_for_mount_path() function such that volume monitor
782 implementations won't have to do locking themselves.
784 2007-12-17 Matthias Clasen <mclasen@redhat.com>
792 * gvolume.h: Documentation updates
794 2007-12-14 Matthias Clasen <mclasen@redhat.com>
797 * gfile.h: Doc updates
799 2007-12-14 Matthias Clasen <mclasen@redhat.com>
802 * gdesktopappinfo.c: Use hash table iterators.
804 2007-12-14 Alexander Larsson <alexl@redhat.com>
807 * gfileattribute.[ch]:
808 * gfileattribute-priv.h:
809 Move GFileAttributeValue to a private header, as
813 Make set_attribute take a type + a pointer instead
814 of a GFileAttributeValue.
817 Fix up for above changes.
818 Add g_file_info_get_attribute_data to get
819 all info in one call, g_file_info_get_attribute_status
820 to get the status and g_file_info_get_attribute_as_string.
824 * glocalfileinfo.[ch]:
828 Make _guess_type static.
830 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
833 * inotify/Makefile.am: Fixed build when srcdir != builddir,
834 made mkenums and friends use temporary files to avoid leaving
835 empty generated files on failure (#503470).
837 2007-12-14 Alexander Larsson <alexl@redhat.com>
842 2007-12-14 Alexander Larsson <alexl@redhat.com>
846 * gfileattribute.[ch]:
849 * glocalfileoutputstream.c:
850 * gmountoperation.[ch]:
851 * goutputstream.[ch]:
852 Clean up all flags enums to not have _FLAGS in them
853 Make the names of some of the enums better.
858 2007-12-14 Michael Natterer <mitch@imendio.com>
860 * gio.symbols: fix g_io_scheduler symbol names.
862 2007-12-14 Alexander Larsson <alexl@redhat.com>
868 * gbufferedinputstream.h:
869 * gbufferedoutputstream.h:
872 * gdatainputstream.h:
873 * gdataoutputstream.h:
875 * gdirectorymonitor.h:
882 * gfileinputstream.h:
884 * gfilenamecompleter.h:
885 * gfileoutputstream.h:
886 * gfilterinputstream.h:
887 * gfilteroutputstream.h:
895 * gmemoryinputstream.h:
896 * gmemoryoutputstream.h:
901 * gsimpleasyncresult.h:
903 * gunixinputstream.h:
905 * gunixoutputstream.h:
909 * inotify/Makefile.am:
910 Only allow including <gio/gio.h> from apps
912 2007-12-14 Alexander Larsson <alexl@redhat.com>
915 * gsimpleasyncresult.c:
916 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
917 Split out the send_to_mainloop call into two versions instead
918 of having the block argument.
920 2007-12-13 Alexander Larsson <alexl@redhat.com>
924 * gbufferedinputstream.c:
926 * gfileinputstream.c:
927 * gfileoutputstream.c:
931 g_push/pop_current_cancellable ->
932 g_cancellable_push/pop_current
934 2007-12-13 Alexander Larsson <alexl@redhat.com>
938 Rename g_mount_for_location to g_file_mount_enclosing_volume.
940 2007-12-13 Alexander Larsson <alexl@redhat.com>
943 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
945 2007-12-12 Alexander Larsson <alexl@redhat.com>
948 Fix race condition when freeing proxy in
949 g_io_job_send_to_mainloop().
951 2007-12-12 Alexander Larsson <alexl@redhat.com>
957 Make attribute namespace separator "::" instead of ":".
958 Use - instead of _ as separator in attribute names.
960 2007-12-12 Alexander Larsson <alexl@redhat.com>
962 * gbufferedinputstream.h:
963 * gbufferedoutputstream.h:
964 * gdatainputstream.h:
965 * gdataoutputstream.h:
966 * gdirectorymonitor.h:
968 * gfileinputstream.h:
970 * gfileoutputstream.h:
971 * gfilterinputstream.h:
972 * gfilteroutputstream.h:
974 * glocalfileinputstream.h:
975 * glocalfileoutputstream.h:
976 * gmemoryinputstream.h:
977 * gmemoryoutputstream.h:
978 * gnativevolumemonitor.h:
980 * gunixinputstream.h:
981 * gunixoutputstream.h:
984 s/parent/parent_instance/ in GObjects
986 2007-12-12 Alexander Larsson <alexl@redhat.com>
991 No need for padding for interfaces
993 2007-12-12 Alexander Larsson <alexl@redhat.com>
997 * gbufferedinputstream.c:
998 * gbufferedoutputstream.c:
1001 * gdatainputstream.[ch]:
1002 * gdesktopappinfo.c:
1003 * gdirectorymonitor.c:
1005 * gfileattribute.[ch]:
1008 * gfileinputstream.h:
1009 * gfilemonitor.[ch]:
1010 * gfileoutputstream.[ch]:
1011 * gfilterinputstream.h:
1012 * gfilteroutputstream.h:
1015 * gloadableicon.[ch]:
1016 * gmemoryinputstream.c:
1017 * gmountoperation.c:
1019 Fix up a bunch of details in the docs.
1024 2007-12-11 David Zeuthen <davidz@redhat.com>
1026 Rework how volumes, drives and volume monitoring is
1027 done. Previosly the model was
1029 GDrive <1-1> GVolume
1031 where a GDrive instance represented a mount point and a GVolume
1032 instance represented a mounted file system. This patch changes it
1035 GDrive <1-N> GVolume <1-1> GMount
1037 where GMount now serves the purpose of the old GVolume and the new
1038 GVolume serves the purpose of the old GDrive. In addition the new
1039 GDrive interface is used to represent a collection of GVolume
1040 instances (typically partitions) and also contains utility to query
1041 the state of the physical drive the GDrive object represents (such
1042 as checking for media, polling the drive, ejecting the media etc.).
1044 Also implement mounting and unmounting in the Unix volume monitor
1045 backend. A subquent patch will introduce GDrive support for ejection
1049 * gdrive.c: (g_drive_is_media_check_automatic),
1050 (g_drive_is_media_removable), (g_drive_has_media),
1051 (g_drive_can_poll_for_media), (g_drive_eject),
1052 (g_drive_eject_finish), (g_drive_poll_for_media),
1053 (g_drive_poll_for_media_finish):
1055 * gfile.c: (g_file_find_enclosing_mount):
1058 * glocaldirectorymonitor.c:
1059 (g_local_directory_monitor_constructor), (mounts_changed):
1060 * glocalfile.c: (get_mount_info),
1061 (g_local_file_find_enclosing_mount),
1062 (g_local_file_file_iface_init):
1063 * gnativevolumemonitor.h:
1064 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1065 (get_connected_drives), (g_union_volume_monitor_class_init),
1066 (child_volume_added), (child_volume_removed),
1067 (child_volume_changed), (child_mount_added), (child_mount_removed),
1068 (child_mount_pre_unmount), (child_mount_changed),
1069 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1070 (g_union_volume_monitor_remove_monitor),
1071 (_g_mount_get_for_mount_path):
1072 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1073 (guess_system_internal), (_g_get_unix_mounts),
1074 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1075 (g_unix_mount_free), (g_unix_mount_compare),
1076 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1077 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1078 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1079 (type_to_icon), (g_unix_mount_guess_name),
1080 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1081 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1082 (_resolve_symlink), (_resolve_dev_root):
1084 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1085 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1086 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1087 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1088 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1089 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1090 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1091 (g_unix_volume_volume_iface_init):
1093 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1094 (get_mounts), (get_volumes), (get_connected_drives),
1095 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1096 (mountpoints_changed), (mounts_changed),
1097 (g_unix_volume_monitor_init),
1098 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1099 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1100 * gunixvolumemonitor.h:
1101 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1102 (g_volume_mount), (g_volume_mount_finish):
1104 * gvolumemonitor.c: (g_volume_monitor_class_init),
1105 (g_volume_monitor_get_connected_drives),
1106 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1109 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1111 * gmountoperation.h (GPasswordFlags): Close the gap
1113 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1115 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1117 * gdesktopappinfo.[hc]: Remove _-prefixes
1119 2007-12-10 Tor Lillqvist <tml@novell.com>
1121 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1124 2007-12-10 Alexander Larsson <alexl@redhat.com>
1126 * gfile.c (g_file_set_display_name):
1127 Don't hardcode '/' (#502727)
1129 2007-12-09 Hans Breuer <hans@breuer.org>
1131 * makefile.msc : follow lib naming convention
1132 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1133 for user and group name, tested with ../tests/gio-ls
1135 2007-12-09 A. Walton <awalton@svn.gnome.org>
1137 * gdesktopappinfo.c:
1143 * gfileenumerator.c:
1148 * gmemoryinputstream.c:
1149 * gmemoryoutputstream.c:
1151 * gsimpleasyncresult.c:
1152 More documentation cleanup and filling in missing information, bringing
1153 GIO to 99% symbol coverage.
1155 2007-12-08 Hans Breuer <hans@breuer.org>
1157 [gio compiles and links on win32, not sure how much already works]
1158 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1159 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1160 base on win32 API; prefer g_lstat() over lstat(); instead of
1161 localtime_r() use an all GLib implementation on win32;
1162 get_mount_info() still needs a win32 specifc implementation
1163 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1164 win32_get_file_user_info to get owner/group info without uid/gid
1165 * glocalfileinputstream.c : include <io.h> on win32
1166 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1167 definition, use g_win32_ftruncate() for G_OS_WIN32
1168 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1169 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1170 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1171 * makefile.msc : updated
1173 2007-12-07 Alexander Larsson <alexl@redhat.com>
1175 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1176 Avoid warning spew if error == NULL
1178 2007-12-07 Alexander Larsson <alexl@redhat.com>
1181 Update docs wrt etags
1183 2007-12-06 Alexander Larsson <alexl@redhat.com>
1186 Include sys/types.h for dev_t (#501919)
1188 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1192 Make abicheck and pltcheck pass.
1194 2007-12-05 Alexander Larsson <alexl@redhat.com>
1197 * giomodule-priv.h: Added.
1198 * glocaldirectorymonitor.c:
1199 * glocalfilemonitor.c:
1200 * gunionvolumemonitor.c:
1202 Actually add the declaration of _g_io_modules_ensure_loaded
1204 2007-12-05 Alexander Larsson <alexl@redhat.com>
1206 * gdatainputstream.c:
1211 * glocaldirectorymonitor.c:
1212 * glocalfilemonitor.c:
1213 * gunionvolumemonitor.c:
1215 Make g_io_modules_ensure_loaded a private function and
1216 don't pass in the dirname. This means we can do magic
1217 directory finding in the win32 version.
1218 Export the actual load-modules-in-directory code so that
1219 gvfs can reuse that.
1221 2007-12-05 Alexander Larsson <alexl@redhat.com>
1223 * gbufferedinputstream.c:
1224 * gbufferedoutputstream.c:
1227 * gfileenumerator.[ch]:
1228 * gfileinputstream.c:
1229 * gfileoutputstream.[ch]:
1230 * gfilterinputstream.c:
1231 * gfilteroutputstream.c:
1232 * ginputstream.[ch]:
1234 * glocalfileenumerator.c:
1235 * glocalfileinputstream.c:
1236 * glocalfileoutputstream.c:
1237 * gmemoryinputstream.c:
1238 * gmemoryoutputstream.c:
1239 * goutputstream.[ch]:
1242 * gunixinputstream.c:
1243 * gunixoutputstream.c:
1244 Rename all struct members named:
1245 read, write, close, truncate, or mount
1246 to foo_fn, as these are reserved names
1247 and could be defined as macros in libc.
1250 2007-12-04 Alexander Larsson <alexl@redhat.com>
1253 (g_output_stream_close):
1254 Only call flush if non-null.
1256 2007-11-30 Dan Winship <danw@gnome.org>
1258 * ginputstream.c (g_input_stream_set_pending): Make this take a
1259 GError and return a gboolean, and do the "outstanding operation"
1260 check (and the "stream is already closed" check) itself.
1261 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1263 * goutputstream.c (g_output_stream_set_pending)
1264 (g_output_stream_clear_pending): Likewise
1266 * gbufferedinputstream.c:
1267 * gfileinputstream.c:
1268 * gfileoutputstream.c: Update for that
1270 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1271 Like g_simple_async_report_error_in_idle, but takes a GError
1272 rather than building one.
1274 2007-11-30 Dan Winship <danw@gnome.org>
1276 * goutputstream.c: Don't cheat and unset the "pending" flag around
1277 inner calls. Instead, call the class method directly rather than
1278 the wrapper function that checks "pending"
1280 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1282 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1284 2007-12-03 Hans Breuer <hans@breuer.org>
1286 [start of port to win32/msvc]
1287 * gcancellable.c : HAVE_UNIST_H and _pipe()
1288 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1289 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1290 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1292 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1293 * glocalvfs.c : use HAVE_PWD_H
1294 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1295 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1296 * Makefile.am : added to EXTRA_DIST
1298 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1300 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1303 2007-12-03 Alexander Larsson <alexl@redhat.com>
1306 Handle OSX style xattrs API (#500506)
1308 2007-12-03 Alexander Larsson <alexl@redhat.com>
1312 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1314 2007-12-02 A. Walton <awalton@svn.gnome.org>
1318 Documentation accuracy fixes.
1320 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1322 * gioenumtypes.c.template: Fix typo.
1324 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1326 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1328 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1330 * gdirectorymonitor.c:
1331 * gfilemonitor.c: Add properties
1333 * gbufferedoutputstream.c: Don't mark buffer-size property
1336 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1338 * gbufferedoutputstream.c: Add auto-grow property.
1340 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1342 * *.c: Unify the capitalization of section headings.
1344 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1346 * gmountoperation.c: Add properties
1348 * gdatainputstream.c: Turn byte-order and newline-type into
1351 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1353 * gioenumtypes.[hc].template: Templates for enum registration
1355 * Makefile.am: Generate gioenumtypes.[hc]
1357 * gio.h: Include gioenumtypes.h
1359 * gfile.h: Add some explicit nicks.
1361 * gio.symbols: Add new symbols
1363 * pltcheck.sh: Adjust
1365 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1367 * *.c: Explain etags and link to the explanation
1369 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1371 * *.c: Explain I/O priority.
1373 * *.c: More coding style fixes.
1375 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1377 * gasyncresult.c: Add another paragraph to the intro,
1378 adjust coding style of example.
1380 2007-11-29 A. Walton <awalton@svn.gnome.org>
1383 Fixes unknown meaning in GAppLaunchContext docs.
1385 Clarify asynchronous ops.
1387 Fix entity tag docs.
1390 Provides missing gtk-doc section, fixes API docs slighly.
1391 * gsimpleasyncresult.c:
1392 Fill in missing info in docs.
1393 * gunixinputstream.c:
1394 * gunixoutputstream.c:
1395 Be more expressive in short description.
1397 Remove gtk-doc stubs for non-public API.
1399 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1401 * *.c: Coding style fixups
1403 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1405 * inotify/inotify-helper.c: Don't export the lock from libgio.
1407 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1410 * abicheck.sh: Fix copy-and-paste leftovers
1412 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1414 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1416 2007-11-28 Alexander Larsson <alexl@redhat.com>
1420 Removed unnecessary file
1422 * gdesktopappinfo.[ch]:
1425 * glocaldirectorymonitor.[ch]:
1427 * glocalfileenumerator.[ch]:
1428 * glocalfileinputstream.[ch]:
1429 * glocalfilemonitor.[ch]:
1430 * glocalfileoutputstream.[ch]:
1432 * gnativevolumemonitor.c:
1433 * gpollfilemonitor.[ch]:
1434 * gunionvolumemonitor.[ch]:
1437 * gunixvolumemonitor.[ch]:
1440 * inotify/ginotifydirectorymonitor.[ch]:
1441 * inotify/ginotifyfilemonitor.[ch]:
1442 * inotify/inotify-helper.c:
1443 Append _ to all internal functions
1447 Export symbols needed for modules
1449 2007-11-28 Alexander Larsson <alexl@redhat.com>
1452 * abicheck.sh: Added.
1453 * makegioalias.pl: Added.
1454 * pltcheck.sh: Added.
1455 * gio.symbols: Added.
1458 Initial work on adding symbol handling.
1461 Correct ifdef guard name
1464 * inotify/Makefile.am:
1465 * xdgmime/Makefile.am:
1466 Include toplevel Makefile.decl
1468 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1470 * gcontenttype.c: Move doc comments to the unix section.
1472 * *.[hc]: More trivial doc corrections.
1474 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1476 * gpollfilemonitor.c:
1480 * gdesktopappinfo.c:
1485 * gdatainputstream.c:
1486 * gdatainputstream.h:
1487 * gdataoutputstream.c:
1488 * gdataoutputstream.h:
1489 * gfileinfo.h: Doc cleanups
1491 2007-11-28 Andre Klapper <a9016009@gmx.de>
1493 * gdesktopappinfo.c: Fix a typo.
1495 2007-11-27 Andre Klapper <a9016009@gmx.de>
1497 * glocalfileoutputstream.c: Fix a typo.
1499 2007-11-27 Alexander Larsson <alexl@redhat.com>
1502 Don't include removed headers
1504 2007-11-27 Alexander Larsson <alexl@redhat.com>
1507 * gsocketinputstream.[ch]: Removed.
1508 * gsocketoutputstream.[ch]: Removed.
1509 * gunixinputstream.[ch]: Added.
1510 * gunixoutputstream.[ch]: Added.
1511 Renamed GSocket*Stream to GUnix*Stream and made
1512 it unix-only, since its not really only for sockets
1513 and it only works on unix (but is highly useful there).
1515 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1521 * gbufferedinputstream.c:
1522 * gbufferedinputstream.h:
1523 * gbufferedoutputstream.c:
1524 * gbufferedoutputstream.h:
1528 * gdatainputstream.c:
1529 * gdatainputstream.h:
1530 * gdataoutputstream.c:
1531 * gdataoutputstream.h:
1532 * gdirectorymonitor.c:
1533 * gdirectorymonitor.h:
1540 * gfileenumerator.c:
1541 * gfileenumerator.h:
1546 * gfileinputstream.c:
1547 * gfileinputstream.h:
1550 * gfilenamecompleter.c:
1551 * gfilenamecompleter.h:
1552 * gfileoutputstream.c:
1553 * gfileoutputstream.h:
1554 * gfilterinputstream.c:
1555 * gfilterinputstream.h:
1556 * gfilteroutputstream.c:
1557 * gfilteroutputstream.h:
1570 * glocalfileoutputstream.c:
1571 * gmemoryinputstream.c:
1572 * gmemoryinputstream.h:
1573 * gmemoryoutputstream.c:
1574 * gmemoryoutputstream.h:
1575 * gmountoperation.c:
1576 * gmountoperation.h:
1579 * gpollfilemonitor.c:
1582 * gsimpleasyncresult.c:
1583 * gsimpleasyncresult.h:
1584 * gsocketinputstream.c:
1585 * gsocketinputstream.h:
1586 * gsocketoutputstream.c:
1587 * gsocketoutputstream.h:
1594 * gunixvolumemonitor.c:
1603 Bumps documentation to 93% symbol coverage, touching most
1604 of the public files. Fixes broken function documentation prototypes.
1605 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1606 gtk-doc headers in private files.
1608 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1610 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1611 (g_buffered_input_stream_read_byte):
1612 * gbufferedinputstream.h:
1613 New functions for efficient access to buffer and simple single byte
1616 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1617 (g_data_input_stream_read_until):
1618 * gdatainputstream.h:
1619 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1620 read_until with multiple stop chars.
1622 2007-11-27 Alexander Larsson <alexl@redhat.com>
1626 * inotify/Makefile.am:
1627 Use the user-specified giomoduledir
1629 2007-11-27 Alexander Larsson <alexl@redhat.com>
1633 Add catch-all gio.h header
1634 Don't install gdummyfile.h
1636 2007-11-26 Alexander Larsson <alexl@redhat.com>
1638 * Makefile.am (gioinclude_HEADERS):
1639 Remove trailing whitespace
1641 2007-11-26 Alexander Larsson <alexl@redhat.com>
1643 Merge gio-standalone into glib
1645 2007-11-25 Christian Kellner <gicmo@gnome.org>
1647 * gio/goutputstream.c:
1648 Fix small mistake in the docs.
1650 2007-11-21 Christian Persch <chpe@gnome.org>
1652 * gio/glocalfile.c: (g_local_file_trash):
1653 Convert filenames to UTF-8 for GError.
1654 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1655 as per xdg base dir spec.
1657 2007-11-21 Christian Persch <chpe@gnome.org>
1659 * gio/gdesktopappinfo.c:
1660 Use that g_key_file_to_data cannot fail.
1662 Use stock defines for the key file group and key names.
1665 2007-11-21 Alexander Larsson <alexl@redhat.com>
1668 (copy_stream_with_progress):
1669 Make sure we do a final progress callback with
1670 the full total size.
1672 2007-11-21 Alexander Larsson <alexl@redhat.com>
1675 Export g_file_copy_attributes
1676 Remove padding as its not needed for interfaces
1678 2007-11-20 Alexander Larsson <alexl@redhat.com>
1683 Add G_IO_ERROR_WOULD_MERGE for
1684 copy/move dir on dir with overwrite.
1686 2007-11-20 Alexander Larsson <alexl@redhat.com>
1689 * gio/glocalfileinfo.c:
1690 Add COPY_NAME (this is an optional
1691 non-modified utf8 version of the name) that
1694 2007-11-20 Alexander Larsson <alexl@redhat.com>
1696 * gio/glocalfileenumerator.c:
1697 Report errors as GIOError, not GFileError
1699 2007-11-16 Alexander Larsson <alexl@redhat.com>
1701 * gio/glocalfileoutputstream.c:
1702 * gio/gwin32appinfo.c:
1703 Fix typos in strings.
1704 Patch from Luca Ferretti <elle.uca@libero.it>
1706 2007-11-15 Alexander Larsson <alexl@redhat.com>
1709 Post release version bump
1711 === gio-standalone 0.1.2 ===
1713 2007-11-15 Alexander Larsson <alexl@redhat.com>
1715 * docs/reference/gio/Makefile.am:
1716 Fix up distcheck by removing weird
1722 2007-11-14 Alexander Larsson <alexl@redhat.com>
1724 * gio/gdesktopappinfo.c:
1725 * gio/glocaldirectorymonitor.c:
1727 * gio/glocalfileinfo.c:
1728 * gio/inotify/inotify-sub.c:
1729 * programs/gio-cat.c:
1730 * programs/gio-copy.c:
1731 * programs/gio-info.c:
1732 * programs/gio-ls.c:
1733 * programs/gio-monitor-dir.c:
1734 * programs/gio-monitor-file.c:
1735 * programs/gio-mount.c:
1736 * programs/gio-move.c:
1737 * programs/gio-rm.c:
1738 * programs/gio-save.c:
1739 * programs/gio-trash.c:
1740 Leak fixes from Kjartan Maraas
1742 2007-11-14 Alexander Larsson <alexl@redhat.com>
1744 * gio/fam/fam-helper.c:
1746 * gio/glocalfileinfo.c:
1750 * gio/inotify/inotify-diag.c:
1751 * gio/inotify/inotify-kernel.c:
1752 Various code cleanups from Kjartan Maraas
1754 2007-11-14 Alexander Larsson <alexl@redhat.com>
1756 * gio/gioscheduler.c:
1758 Set up threadpool so that we cache 2 unused
1759 idle threads for at 15 secs. This means we
1760 will reuse thread-local data (like dbus connections)
1763 2007-11-14 Alexander Larsson <alexl@redhat.com>
1765 * gio/fam/fam-helper.c:
1766 * gio/fam/gfamdirectorymonitor.c:
1767 * gio/fam/gfamfilemonitor.c:
1769 * gio/gcontenttype.c:
1770 * gio/gdatainputstream.c:
1771 * gio/gdataoutputstream.c:
1775 * gio/gfileattribute.h:
1776 * gio/gfileenumerator.c:
1778 * gio/ginputstream.c:
1781 * gio/glocalfileinfo.c:
1782 * gio/goutputstream.c:
1783 * gio/gpollfilemonitor.c:
1784 * gio/gsimpleasyncresult.c:
1785 * gio/gunixmounts.c:
1786 * gio/gunixmounts.h:
1787 * gio/inotify/ginotifydirectorymonitor.c:
1788 * gio/inotify/ginotifyfilemonitor.c:
1789 * gio/inotify/inotify-diag.c:
1790 * gio/inotify/inotify-kernel.c:
1791 * gio/inotify/inotify-path.c:
1793 * gio/test-streams.c:
1794 * programs/gio-info.c:
1795 * programs/gio-monitor-dir.c:
1796 * programs/gio-monitor-file.c:
1797 Various code cleanups from Kjartan Maraas
1799 2007-11-13 Alexander Larsson <alexl@redhat.com>
1802 Handle the uri-scheme calls for dummy files
1804 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1806 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1807 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1808 to avoid clash with the C++ keyword.
1810 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1812 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1813 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1815 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1817 * gio/glocaldirectorymonitor.c:
1818 * gio/glocalfilemonitor.c:
1819 * gio/gunionvolumemonitor.c:
1820 Don't use g_once_init_*() for initializations that could fail and
1821 could leave the initialization variable set to 0 but use GOnce.
1822 This prevents a deadlock on the second call when trying to create
1823 a monitor and no monitor type is available. Thanks to Sven Herzberg
1826 2007-11-11 Sven Herzberg <sven@imendio.com>
1828 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1829 #ifdef (make it work on MacOS X again)
1831 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1833 Fixes Changelog for last two commits (sorry guys).
1835 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1837 * gio/gbufferedinputstream.c:
1838 * gio/gdatainputstream.c:
1840 * gio/gfileoutputstream.c:
1841 * gio/gfilterinputstream.c:
1842 * gio/glocalfileinputstream.c:
1845 More consistency fixes in g*stream.c files.
1846 Significant clean of gfile's documentation, filling in of
1847 asynchronous operations documentation.
1849 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1851 * gio/gasyncresult.c:
1852 * gio/gbufferedinputstream.c:
1853 * gio/gbufferedoutputstream.c:
1854 * gio/gcancellable.c:
1855 * gio/gcontenttype.c:
1856 * gio/gdatainputstream.c:
1857 * gio/gdataoutputstream.c:
1858 * gio/gdesktopappinfo.c:
1861 * gio/gfileattribute.c:
1862 * gio/gio/gfileenumerator.c:
1864 * gio/gfileinputstream.c:
1865 * gio/gfilemonitor.c:
1866 * gio/gfileoutputstream.c:
1867 * gio/ginputstream.c:
1869 * gio/gioscheduler.c:
1870 * gio/gloadableicon.c:
1871 * gio/glocalfileoutputstream.c:
1872 * gio/gmemoryoutputstream.c:
1873 * gio/gmountoperation.c:
1874 * gio/goutputstream.c:
1876 * gio/gsimpleasyncresult.c:
1877 * gio/gunionvolumemonitor.c:
1878 * gio/gunixmounts.c:
1879 * gio/gunixvolume.c:
1883 * gio/gvolumemonitor.c:
1884 Updated documentation stubs, working towards consistency and
1887 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1889 * gio/gmemoryoutputstream.c:
1890 * gio/gmemoryoutputstream.h:
1891 Change g_memory_output_stream_set_free_on_close() to
1892 g_memory_output_stream_set_free_data() as this makes more sense and
1893 is more consistent with GMemoryInputStream.
1895 2007-11-07 Alexander Larsson <alexl@redhat.com>
1902 Change how we find the default vfs so that
1903 we can handle a gvfs failing to init
1905 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1907 * gio/gbufferedoutputstream.c:
1908 * gio/gdatainputstream.c:
1909 * gio/gdataoutputstream.c:
1910 * gio/gfileinputstream.c:
1911 * gio/gfileoutputstream.c:
1912 * gio/gfilterinputstream.c:
1913 * gio/gfilteroutputstream.c:
1914 * gio/ginputstream.c:
1915 * gio/gmemoryinputstream.c:
1916 * gio/gmemoryoutputstream.c:
1917 * gio/goutputstream.c:
1918 * gio/gsimpleasyncresult.c:
1919 * gio/gsocketinputstream.c:
1920 * gio/gsocketoutputstream.c:
1921 Add guards to the remaining public functions, add a TODO for
1922 an unimplemented function and remove some useless guards.
1924 2007-11-07 Alexander Larsson <alexl@redhat.com>
1927 Autoconf checks for the various types of
1928 getpwuid_r and getgrgid_r
1930 * gio/glocalfileinfo.c:
1931 Use the autoconf checks from above
1933 2007-11-07 Alexander Larsson <alexl@redhat.com>
1936 (g_local_file_query_filesystem_info):
1937 Some fixes for the statvfs case
1939 2007-11-07 Alexander Larsson <alexl@redhat.com>
1942 (g_local_file_query_filesystem_info):
1943 Pick the "best" of statfs / statvfs for the system
1944 if both are availible.
1946 2007-11-07 Alexander Larsson <alexl@redhat.com>
1948 Solaris fixes from Halton.Huo@Sun.COM:
1955 * gio/glocalfileinfo.c:
1956 Fix for solaris definition of getpwuid_r
1958 * gio/test-streams.c:
1959 Use G_GNUC_PRETTY_FUNCTION
1961 2007-11-07 Alexander Larsson <alexl@redhat.com>
1963 * gio/gdesktopappinfo.c:
1964 (update_default_list):
1965 Remove double semicolon.
1966 Patch from Jens Granseuer
1968 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1970 * docs/reference/gio/gio-sections.txt:
1971 * gio/gbufferedinputstream.c:
1972 * gio/gbufferedinputstream.h:
1973 * gio/gdatainputstream.c:
1974 * gio/gfileenumerator.c:
1975 * gio/gioscheduler.c:
1976 * gio/gunionvolumemonitor.c:
1978 * programs/gio-save.c:
1979 Fix typo: availible -> available. Unfortuntely this breaks API
1980 and ABI as g_buffered_input_stream_get_available() was renamed.
1982 * gio/gunixmounts.c:
1983 * gio/gbufferedinputstream.c:
1984 Add guards for public functions.
1986 2007-11-06 Ross Burton <ross@openedhand.com>
1988 * docs/reference/gio/Makefile.am:
1989 Fix invalid += usage which automake 1.10 doesn't like.
1991 2007-11-06 Alexander Larsson <alexl@redhat.com>
1994 (g_app_launch_context_class_init):
1997 Patch from Ross Burton
1999 2007-11-06 Alexander Larsson <alexl@redhat.com>
2002 Post release version bump
2004 === gio-standalone 0.1.1 ===
2006 2007-11-06 Alexander Larsson <alexl@redhat.com>
2009 Bump version to 0.1.1
2011 * gio/gsimpleasyncresult.c:
2012 (g_simple_async_result_set_from_error):
2013 Remove bogus g_return_if_fail
2015 2007-11-06 Alexander Larsson <alexl@redhat.com>
2018 The name is gio-standalone
2021 Add top src/builddir to includedir
2023 2007-11-06 Alexander Larsson <alexl@redhat.com>
2025 * docs/reference/gio/gio-sections.txt:
2027 * gio/gbufferedinputstream.c:
2028 * gio/gbufferedoutputstream.c:
2029 * gio/gcancellable.c:
2030 * gio/gdatainputstream.h:
2031 * gio/gdataoutputstream.c:
2032 * gio/gdataoutputstream.h:
2033 * gio/gdirectorymonitor.c:
2035 * gio/gfileattribute.c:
2036 * gio/gfileattribute.h:
2037 * gio/gfileenumerator.c:
2038 * gio/gfileenumerator.h:
2041 * gio/gfileinputstream.h:
2042 * gio/gfilemonitor.c:
2043 * gio/gfileoutputstream.h:
2044 * gio/glocalfilemonitor.h:
2045 * gio/glocalfileoutputstream.h:
2046 * gio/gmemoryinputstream.c:
2047 * gio/gmemoryoutputstream.c:
2048 * gio/gmountoperation.c:
2049 * gio/goutputstream.c:
2050 * gio/goutputstream.h:
2052 * gio/gsimpleasyncresult.c:
2053 * gio/gunixmounts.c:
2054 * gio/gunixmounts.h:
2056 * gio/inotify/inotify-helper.c:
2057 Fix gtk-doc warnings
2059 Patch from Ross Burton
2061 2007-11-06 Alexander Larsson <alexl@redhat.com>
2063 * gio/gfilenamecompleter.c:
2064 (g_filename_completer_get_completions):
2067 * gio/gunixvolume.c:
2068 Remove unused function
2070 Patches from Ross Burton
2072 2007-11-06 Alexander Larsson <alexl@redhat.com>
2077 Padding not needed for interfaces
2079 2007-11-06 Alexander Larsson <alexl@redhat.com>
2081 * gio/gfilemonitor.c:
2085 Make giotypes.h an internal file
2088 * gio/gbufferedinputstream.h:
2089 * gio/gbufferedoutputstream.h:
2090 * gio/gcancellable.h:
2091 * gio/gdatainputstream.h:
2092 * gio/gdataoutputstream.h:
2093 * gio/gdirectorymonitor.c:
2094 * gio/gdirectorymonitor.h:
2099 * gio/gfileattribute.h:
2100 * gio/gfileenumerator.h:
2105 * gio/gfilemonitor.c:
2106 * gio/gfilemonitor.h:
2107 * gio/gfilenamecompleter.c:
2108 * gio/gfilenamecompleter.h:
2109 * gio/gfilterinputstream.h:
2110 * gio/gfilteroutputstream.h:
2111 * gio/ginputstream.h:
2112 * gio/gmemoryinputstream.h:
2113 * gio/gmemoryoutputstream.h:
2114 * gio/gmountoperation.c:
2115 * gio/gmountoperation.h:
2116 * gio/gnativevolumemonitor.c:
2117 * gio/goutputstream.h:
2120 * gio/gsimpleasyncresult.c:
2121 * gio/gsimpleasyncresult.h:
2122 * gio/gsocketinputstream.h:
2123 * gio/gsocketoutputstream.h:
2124 * gio/gthemedicon.c:
2125 * gio/gthemedicon.h:
2129 * gio/gvolumemonitor.c:
2130 * gio/gvolumemonitor.h:
2131 Add padding in classes where it seems useful
2132 Don't include giotypes.h from public headers
2133 Move in Class definitions into c file where possible
2138 2007-11-06 Alexander Larsson <alexl@redhat.com>
2140 * docs/reference/gio/gio-docs.xml:
2141 Better structure for API docs
2143 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2146 * gio/gloadableicon.c:
2147 * gio/gsimpleasyncresult.c:
2148 * gio/gthemedicon.c:
2149 Add some more guards to public functions. Only files missing are now
2152 2007-11-06 Alexander Larsson <alexl@redhat.com>
2154 * docs/reference/gio/gio-docs.xml:
2155 Remove old files, add missing ones
2157 2007-11-06 Alexander Larsson <alexl@redhat.com>
2159 * docs/reference/gio/gio-sections.txt:
2162 Hide implementation classes
2164 * gio/gdriveprivate.h:
2165 * gio/gvolumeprivate.h:
2166 Remove non-existing function declarations
2168 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2171 Fix compilation warnings and add guards to the new functions.
2173 * gio/gasyncresult.c:
2175 Add guards to the public functions.
2178 Implement get_path().
2180 2007-11-06 Alexander Larsson <alexl@redhat.com>
2182 * gio/gfilenamecompleter.c:
2183 Make g_filename_completer_get_completions
2184 return char ** instead of GList for
2187 * docs/reference/gio/gio-docs.xml:
2188 * docs/reference/gio/gio-sections.txt:
2190 * gio/gasyncresult.c:
2191 * gio/gbufferedinputstream.c:
2192 * gio/gbufferedoutputstream.c:
2193 * gio/gcancellable.c:
2194 * gio/gcontenttype.c:
2195 * gio/gdatainputstream.c:
2196 * gio/gdataoutputstream.c:
2197 * gio/gdesktopappinfo.c:
2198 * gio/gdirectorymonitor.c:
2202 * gio/gfileattribute.c:
2203 * gio/gfileenumerator.c:
2206 * gio/gfileinputstream.c:
2207 * gio/gfilemonitor.c:
2208 * gio/gfilenamecompleter.c:
2209 * gio/gfilenamecompleter.h:
2210 * gio/gfileoutputstream.c:
2211 * gio/gfilterinputstream.c:
2213 * gio/ginputstream.c:
2215 * gio/gioscheduler.c:
2216 * gio/gloadableicon.c:
2217 * gio/glocaldirectorymonitor.c:
2219 * gio/glocalfileinputstream.c:
2220 * gio/glocalfilemonitor.c:
2221 * gio/glocalfileoutputstream.c:
2223 * gio/gmemoryinputstream.c:
2224 * gio/gmemoryoutputstream.c:
2225 * gio/gmountoperation.c:
2226 * gio/goutputstream.c:
2227 * gio/gpollfilemonitor.c:
2229 * gio/gsimpleasyncresult.c:
2230 * gio/gsocketinputstream.c:
2231 * gio/gsocketoutputstream.c:
2232 * gio/gthemedicon.c:
2233 * gio/gunionvolumemonitor.c:
2235 * gio/gunixmounts.c:
2236 * gio/gunixvolume.c:
2237 * gio/gunixvolumemonitor.c:
2241 * gio/gvolumemonitor.c:
2242 * gio/gwin32appinfo.c:
2243 Add (mostly stub) doc strings to public functions.
2244 Patch from Andrew Walton (awalton@gmail.com)
2246 2007-11-06 Alexander Larsson <alexl@redhat.com>
2248 * gio/gappinfo.[ch]:
2249 Added GAppLaunchContext object and pass that to launch.
2250 This allows simple implementation of both
2251 launch-on-screen and startup notification via a gtk+
2252 subclass of GAppLaunchContext
2254 * gio/gdesktopappinfo.c:
2255 Implement GAppLaunchContext API
2257 * gio/gwin32appinfo.c:
2260 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2262 * gio/gmountoperation.c:
2263 Add some guards to GMountOperation's public functions.
2265 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2269 * gio/gcancellable.c:
2270 * gio/gdirectorymonitor.c:
2272 * gio/gfileenumerator.c:
2273 * gio/gfilemonitor.c:,
2274 * gio/gfilenamecompleter.c:
2277 * gio/gioscheduler.c:
2281 * gio/gvolumemonitor.c:
2282 Add even more guards to various public functions.
2284 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2287 Add guards to the public functions of GAppInfo.
2289 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2291 * gio/gcontenttype.c:
2292 Add some more guards for public functions.
2294 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2296 * gio/fam/fam-module.c:
2297 * gio/fam/gfamdirectorymonitor.c:
2298 * gio/fam/gfamdirectorymonitor.h:
2299 * gio/fam/gfamfilemonitor.c:
2300 * gio/fam/gfamfilemonitor.h:
2301 * gio/inotify/ginotifydirectorymonitor.c:
2302 * gio/inotify/ginotifydirectorymonitor.h:
2303 * gio/inotify/ginotifyfilemonitor.c:
2304 * gio/inotify/ginotifyfilemonitor.h:
2305 Add proper copyright information and remove an unused variable
2306 in the GInotifyFileMonitor constructor.
2308 * gio/gcancellable.c:
2309 Add a guard for a public function and an assertion to prevent
2310 an undefined program state.
2312 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2314 * gio/gfileattribute.c:
2315 Don't run into an assertion if the given attribute value is NULL
2316 in g_file_attribute_value_get_*() but instead return a fallback
2317 value that makes sense in most situations. Passing them a attribute
2318 value with the wrong type will still run into an assertion.
2320 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2322 * gio/gfileattribute.c:
2324 Add even more guards to the public functions. Also fix the refcounting
2325 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2326 let g_file_info_list_attributes() filter the attributes by namespace
2327 instead of simply ignoring the namespace parameter.
2329 2007-11-03 Sven Herzberg <sven@imendio.com>
2331 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2332 (This makes gio work on MacOS X again)
2334 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2337 Build the gio subdirectory before the docs. Otherwise the build will
2340 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2341 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2342 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2343 Add guards to the public functions.
2345 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2347 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2348 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2349 to prevent a compiler warning.
2351 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2352 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2353 return something in the non-void function find_topdir_for().
2355 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2362 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2364 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2365 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2366 * gwin32appinfo.c (g_win32_app_info_launch):
2367 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2368 envp_for_startup_id, g_desktop_app_info_launch,
2369 g_desktop_app_info_launch_uris):
2371 Give an opaque 'startup_id' string instead of 'envp'.
2372 Support empty file lists for launching new windows.
2373 Fix infinite recursion bug when launching URIs.
2375 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2378 Add guard to the new g_file_get_uri_scheme() function.
2380 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2383 Convert a g_return_val_if_fail() to setting the GError instead as
2384 otherwise applications have to verify the parameter before otherwise
2385 and the parameter might come directly from the user.
2387 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2389 * gio/inotify/ginotify*.[ch]:
2390 Add missing copyright information.
2392 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2395 Add guards in the beginning of public functions to check for valid
2396 parameters and fix a bug in copy_stream_with_progress() that could've
2397 caused writing less bytes than reading.
2398 * gio/glocalfileinfo.c:
2399 Check for a NULL parameter and set the GError accordingly then.
2400 * gio/goutputstream.c:
2401 Fix the same bug as in gfile.c that could've caused writing less bytes
2402 than reading in g_output_stream_real_splice().
2404 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2407 Use the correct gvolumeprivate.h naming
2409 2007-11-01 Christian Kellner <gicmo@gnome.org>
2412 Remove leftover "$(daemon_sources)" entry.
2414 2007-11-01 Christian Kellner <gicmo@gnome.org>
2419 Add copyright information to source files.
2421 2007-11-01 Alexander Larsson <alexl@redhat.com>
2425 Add g_file_get_uri_scheme
2427 2007-11-01 Alexander Larsson <alexl@redhat.com>
2430 * gio/gdesktopappinfo.c:
2431 * gio/gwin32appinfo.c:
2432 Add g_app_info_get_default_for_uri_scheme.
2434 2007-11-01 Alexander Larsson <alexl@redhat.com>
2437 Correct filename for gdriveprivate.h
2439 2007-10-31 Alexander Larsson <alexl@redhat.com>
2442 Rename id:value to id:file
2445 * gio/glocalfileinfo.c:
2448 2007-10-31 Alexander Larsson <alexl@redhat.com>
2450 * gio/gunixvolume.c:
2452 Remove g_volume_get_platform_id, as thats not
2453 needed with the simpler union volume monitor
2455 2007-10-31 Alexander Larsson <alexl@redhat.com>
2458 * gio/guniondrive.[ch]: Removed.
2459 * gio/gunionvolume.[ch]: Removed.
2460 Remove GUnionDrive/Volume
2462 * gio/gunionvolumemonitor.c:
2463 Simplify union volume monitor, now we
2464 only have one native volume monitor and
2465 we use the actual volumes/drives from the
2466 child monitors instead of wrapping them
2468 * gio/gnativevolumemonitor.[ch]:
2469 Base class for native volume monitors.
2470 Includes priority and get_volume_for_mountpoint
2473 Add g_file_find_enclosing_volume
2476 Remove volume name fs attribute
2477 Add readonly fs attribute
2480 Implement readonly attribute
2481 remove volume name attribute
2482 Implement find_enclosing volume
2484 * gio/gunixmounts.c:
2485 Add a volume for "/".
2487 * gio/gunixvolume.[ch]:
2488 Set better name for /
2490 * gio/gunixvolumemonitor.[ch]:
2491 Derive from GNativeVolumeMonitor
2492 Implement get_volume_for_mountpoint
2495 GVolume typedef moved to gfile.h
2497 * gio/gvolumeprivate.h:
2498 Add g_volume_get_for_mount_path
2500 2007-10-31 Alexander Larsson <alexl@redhat.com>
2502 * gio/gunixmounts.[ch]:
2503 Add cache info to unix mount listers
2504 Make getmntent use threadsafe
2505 Add is_system_internal attribute for GUnixMount
2507 * gio/gunixvolume.c:
2508 (g_unix_volume_new):
2509 Use is_system_internal instead of own code
2511 * gio/glocaldirectorymonitor.c:
2512 * gio/gunixvolumemonitor.c:
2513 Update to new gunixmounts API
2518 2007-10-30 Alexander Larsson <alexl@redhat.com>
2521 Add volume name fsinfo attribute
2524 Read volume name info
2526 * gio/gunionvolumemonitor.c:
2527 Fix infinite loops when finalizing a union volume monitor
2529 2007-10-30 Alexander Larsson <alexl@redhat.com>
2531 * gio/goutputstream.[ch]:
2532 Add splice() with default implementation
2534 * gio/gsocketoutputstream.c:
2535 (g_socket_output_stream_write):
2536 Return error on cancellation correctly.
2538 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2540 * gio/glocalfile.c (g_local_file_trash):
2541 Do not leak a string.
2543 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2545 * gio/gfile.c (g_file_load_contents):
2546 Unref the stream after closing it.
2548 2007-10-25 Alexander Larsson <alexl@redhat.com>
2550 * gio/gioscheduler.h:
2553 2007-10-25 Alexander Larsson <alexl@redhat.com>
2557 Add g_file_has_uri_scheme and implement for local files
2559 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2561 * gio/gdesktopappinfo.c: do not leak a string.
2563 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2565 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2566 (g_local_directory_monitor_new):
2567 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2568 (g_local_file_monitor_new):
2569 Only look for the monitor type that should be used the first time
2570 and use g_qsort_with_data() instead of our own bubble sort
2573 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2576 * gio/fam/Makefile.am:
2577 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2578 * gio/fam/fam-helper.h:
2579 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2580 * gio/fam/gfamdirectorymonitor.c:
2581 * gio/fam/gfamdirectorymonitor.h:
2582 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2583 * gio/fam/gfamfilemonitor.h:
2584 * gio/glocaldirectorymonitor.c:
2585 * gio/glocaldirectorymonitor.h:
2586 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2587 * gio/glocalfilemonitor.h:
2588 * gio/inotify/Makefile.am:
2589 * gio/inotify/ginotifydirectorymonitor.c:
2590 * gio/inotify/ginotifydirectorymonitor.h:
2591 * gio/inotify/ginotifyfilemonitor.c:
2592 * gio/inotify/ginotifyfilemonitor.h:
2593 Implement the FAM and Inotify monitors as
2594 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2595 their own GIO module. GLocal(Directory|File)Monitor will use the
2596 monitor with the highest rank that is supported on that machine.
2598 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2601 Change GIO module dir to $(libdir)/gio/modules and change
2602 the log domain from GVFS to GIO. Also only export symbols starting
2603 with g_ in the resulting library.
2604 * gio/test-streams.c: (main):
2605 Set log handler for the GIO log domain.
2607 2007-10-22 Alexander Larsson <alexl@redhat.com>
2609 * gio/gfilenamecompleter.[ch]:
2610 Add g_filename_completer_set_dirs_only
2612 2007-10-22 Alexander Larsson <alexl@redhat.com>
2615 * gio/gurifuncs.[ch]:
2616 Add some simple URI helpers
2618 * gio/gfilenamecompleter.[ch]:
2619 Added object for filename (parse name actually) completion
2622 Handle ~ in parse names
2624 2007-10-17 Alexander Larsson <alexl@redhat.com>
2627 * gio/glocalfileinfo.c:
2628 Add and implement id:value attribute
2630 2007-10-17 Alexander Larsson <alexl@redhat.com>
2633 * gio/guniondrive.c:
2635 Add and implement g_drive_has_volumes
2637 2007-10-17 Alexander Larsson <alexl@redhat.com>
2640 * gio/glocalfileinfo.[ch]:
2641 Add unix:is_mountpoint and implement for local files
2643 2007-10-16 Alexander Larsson <alexl@redhat.com>
2645 * gio/gunionvolumemonitor.c:
2646 (g_union_volume_monitor_init):
2647 Fix up the unix type getting so that it works with gcc
2649 2007-10-12 Alexander Larsson <alexl@redhat.com>
2652 * gio/glocalfileinfo.c:
2653 Add thumbnail:failed to file info
2655 2007-10-12 Richard Hult <richard@imendio.com>
2657 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2658 optimizing away the get_type call (happens with some gcc versions,
2659 like the one shipped with OS X 10.4).
2661 2007-10-12 Alexander Larsson <alexl@redhat.com>
2663 * gio/glocalfileinfo.c:
2664 (_g_local_file_info_set_attribute):
2665 Fix build if not HAVE_XATTR
2666 Patch from Milosz Derezynski <internalerror@gmail.com>
2668 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2670 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2671 around for review, otherwise I would have asked you before
2674 2007-10-11 Alexander Larsson <alexl@redhat.com>
2677 Add thumbnail:path attribute
2679 * gio/glocalfileinfo.c:
2680 Implement thumbnail:path for local files
2682 2007-10-11 Alexander Larsson <alexl@redhat.com>
2684 * gio/glocalfileinfo.c:
2685 (_g_local_file_info_get):
2686 Avoid duplicate icon names
2688 2007-10-11 Alexander Larsson <alexl@redhat.com>
2690 * gio/gthemedicon.[ch]:
2691 Change g_themed_icon_get_names return type to const
2693 2007-10-10 Alexander Larsson <alexl@redhat.com>
2695 * gio/glocalfileinfo.c:
2696 Don't reference freed memory
2698 2007-10-10 Alexander Larsson <alexl@redhat.com>
2700 * gio/gfileattribute.c:
2703 * gio/glocalfileinfo.c:
2706 2007-10-10 Alexander Larsson <alexl@redhat.com>
2709 Check for NULL icons
2711 * gio/gfileattribute.c:
2712 Don't dup when getting objects (same as for string attributes)
2714 * gio/gicon.c (g_icon_equal):
2715 Safely handle NULLs in equal
2717 2007-10-10 Alexander Larsson <alexl@redhat.com>
2720 Fix c++ compilation issues
2721 Patch from Milosz Derezynski <internalerror@gmail.com>
2723 2007-10-10 Alexander Larsson <alexl@redhat.com>
2725 * programs/gio-monitor-dir.c:
2726 Don't crash if dir monitor not supported.
2728 2007-10-09 Alexander Larsson <alexl@redhat.com>
2731 Add missing G_END_DECLS
2733 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2735 * gio/gfile.c: (g_file_set_display_name),
2736 (g_file_query_settable_attributes),
2737 (g_file_query_writable_namespaces):
2738 Return NULL not FALSE on errors as the return type is a pointer.
2740 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2742 * gio/glocalfile.c: (g_local_file_monitor_file):
2743 Don't call monitor_file on the default interface vtable (which
2744 is NULL) but simply return NULL. The caller, GFile, will create a
2745 polling monitor if NULL is returned.
2747 2007-10-09 Alexander Larsson <alexl@redhat.com>
2751 * gio-unix-2.0.pc.in:
2752 Add gio-unix-2.0.pc if OS_UNIX
2755 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2757 2007-10-09 Alexander Larsson <alexl@redhat.com>
2759 * gio/gunixmounts.[ch]:
2760 Make unix mount monitoring API sane.
2761 Now its just a object with mounts_changed
2762 and mountpoints_changed signals.
2764 * gio/glocaldirectorymonitor.c:
2765 * gio/gunixvolumemonitor.c:
2766 Use new mount monitor api
2768 2007-10-09 Alexander Larsson <alexl@redhat.com>
2770 * gio/gunixmounts.[ch]:
2771 Move guess type into one call for mounts and one for mountpoints
2774 * gio/gunixvolume.c:
2777 2007-10-09 Alexander Larsson <alexl@redhat.com>
2779 * gio/gunixmounts.[ch]:
2780 Remove _ prefix in preparation to make this semi-public
2781 Hide implementation of structs
2783 * gio/glocaldirectorymonitor.c:
2785 * gio/gunixvolume.c:
2786 * gio/gunixvolumemonitor.c:
2787 Update for above API changes
2789 2007-10-08 Alexander Larsson <alexl@redhat.com>
2792 Better polling fallback. This also handles the case where we have
2793 a monitor_file implementation, but it fails.
2795 2007-10-08 Alexander Larsson <alexl@redhat.com>
2799 * gio/gunixmounts.c:
2800 * programs/gio-monitor-dir.c:
2801 * programs/gio-monitor-file.c:
2802 Added cancellable to file monitoring calls.
2803 These are really sync calls and need this.
2805 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2807 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2808 (g_local_vfs_class_init):
2809 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2810 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2812 2007-10-05 Alexander Larsson <alexl@redhat.com>
2814 * gio/gdirectorymonitorprivate.h:
2815 * gio/gfilemonitorprivate.h:
2816 * gio/gdirectorymonitor.h:
2817 * gio/gfilemonitor.h:
2818 Remove *private.h and move to the public API, so that
2819 we can do implementations outside gio (such as in gvfs)
2821 * gio/gdirectorymonitor.c:
2822 * gio/gfilemonitor.c:
2823 * gio/glocaldirectorymonitor.c:
2824 * gio/gpollfilemonitor.c:
2825 * gio/inotify/inotify-helper.c:
2826 * gio/fam/fam-helper.c:
2827 Update to the new header names
2829 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2831 * gio/gdirectorymonitor.c:
2832 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2835 2007-10-04 Alexander Larsson <alexl@redhat.com>
2837 * gio/glocalfileinfo.c (get_access_rights):
2838 Set CAN_TRASH when we can move the file.
2839 We should really also check for a parent trash dir.
2841 2007-10-04 Alexander Larsson <alexl@redhat.com>
2843 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2844 Add can_trash access attribute
2846 2007-10-04 Alexander Larsson <alexl@redhat.com>
2849 (g_local_file_trash):
2850 Create info file first. This is per-spec and allows
2851 us to actually trash directories.
2853 2007-10-02 Alexander Larsson <alexl@redhat.com>
2855 * gio/gdesktopappinfo.c:
2856 Implement the new mime support code.
2857 Always set app as handling mimetype when being set as default for it
2859 2007-10-01 Alexander Larsson <alexl@redhat.com>
2861 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2862 Fix up check for xattrs:
2864 2007-10-01 Alexander Larsson <alexl@redhat.com>
2867 (g_app_info_set_as_default_for_extension):
2868 (g_app_info_add_supports_type):
2869 (g_app_info_can_remove_supports_type):
2870 (g_app_info_remove_supports_type):
2871 Make these fail nicely if not implemented
2873 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2875 * gio/glocalfileoutputstream.c:
2876 * gio/glocalfileoutputstream.h:
2881 * programs/gio-save.c:
2882 Add a GFileCreateFlags argument to operations that can create
2885 2007-10-01 Alexander Larsson <alexl@redhat.com>
2887 * gio/gappinfo.[ch]:
2888 * gio/gdesktopappinfo.c:
2889 Add more (stubbed out) mime API needed for nautilus
2891 2007-10-01 Alexander Larsson <alexl@redhat.com>
2894 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2895 Add g_app_info_set_as_default_for_extension.
2897 * gio/gdesktopappinfo.c:
2898 Dummy for g_app_info_set_as_default_for_extension
2899 Support flags in g_app_info_create_from_commandline
2901 * gio/gwin32appinfo.c:
2903 Update for API changes
2905 * gio/gthemedicon.c:
2906 Properly NULL-terminate list of icon names
2908 2007-09-28 Alexander Larsson <alexl@redhat.com>
2910 * gio/gloadableicon.h:
2911 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2913 2007-09-28 Alexander Larsson <alexl@redhat.com>
2916 Install headers in $includedir/gio-standalone/
2918 * gio-2.0.pc.in: Added.
2919 * gio-standalone.pc.in: Removed.
2922 Renamed pkg-config file to match glib (for future move)
2923 Update to the new include dir
2926 Add more TODO comments
2928 2007-09-28 Alexander Larsson <alexl@redhat.com>
2930 * gio/gdesktopappinfo.[ch]:
2931 Expose new_from_filename
2932 Add getter for is_hidden and handle it better
2934 2007-09-28 Alexander Larsson <alexl@redhat.com>
2936 * gio/gfileinfo.[ch]:
2937 Rename g_file_size_format_for_display to
2938 g_format_file_size_for_display.
2939 Now it doesn't have the g_file prefix, so we
2940 can later move it to glib.
2942 2007-09-28 Alexander Larsson <alexl@redhat.com>
2944 * gio/gappinfo.[ch]:
2945 Add g_app_info_get_id and g_app_info_get_executable.
2946 Make all getters non-reffing
2947 Make g_app_info_launch take GFile arguments.
2948 Add must_support_uris argument to g_app_info_get_default_for_type.
2950 * gio/gwin32appinfo.c:
2951 Update to GAppInfo api changes
2953 * gio/gdesktopappinfo.c:
2954 Update to GAppInfo api changes
2955 Implement supports_xdg_startup_notify
2957 * gio/gfileicon.c (g_file_icon_get_file):
2958 Make getter non-reffing.
2963 2007-09-27 Alexander Larsson <alexl@redhat.com>
2965 * gio/gfileinfo.[ch]:
2966 Add g_file_size_format_for_display helper
2968 2007-09-27 Alexander Larsson <alexl@redhat.com>
2970 * gio/glocalfileinfo.c:
2971 Set UNIX_GID from gid, not from uid
2973 2007-09-27 Alexander Larsson <alexl@redhat.com>
2976 Add g_file_set_attributes_async
2978 2007-09-27 Alexander Larsson <alexl@redhat.com>
2980 * gio/glocalfile.c (g_local_file_set_display_name):
2981 Fix set_display_name to actually rename to the right place.
2982 Use lstat to look for existing files so we don't overwrite
2985 2007-09-26 Alexander Larsson <alexl@redhat.com>
2988 Add g_file_set_display_name_async()
2990 2007-09-26 Alexander Larsson <alexl@redhat.com>
2993 Add load_partial_contents async calls
2996 Make internal function static
2998 2007-09-26 Alexander Larsson <alexl@redhat.com>
3000 * gio/glocalfileinfo.c:
3001 Correctly detect broken symlinks
3003 2007-09-26 Alexander Larsson <alexl@redhat.com>
3005 * gio/gcancellable.c (g_cancellable_cancel):
3006 Allow cancel on NULL cancellable
3008 2007-09-25 Alexander Larsson <alexl@redhat.com>
3010 * gio/gsimpleasyncresult.c:
3011 Don't allocate g_error manually.
3012 Fixes g_slice/g_new mixup crash
3014 2007-09-25 Alexander Larsson <alexl@redhat.com>
3016 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3017 Actually set active_backend.
3018 This means the monitor will be cancelled correctly.
3020 2007-09-25 Alexander Larsson <alexl@redhat.com>
3022 * gio/gdirectorymonitor.c:
3023 Set timeout to NULL when destroying
3025 2007-09-25 Alexander Larsson <alexl@redhat.com>
3028 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3029 that is a better description of the error.
3031 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3033 * gio/gvfs.c: (g_vfs_get_local):
3034 Make the local vfs variable static. The same instance should
3037 2007-09-24 Alexander Larsson <alexl@redhat.com>
3039 * gio/glocalfileinfo.c:
3040 Pass in actual length read into sniffer, not the length
3043 2007-09-21 Alexander Larsson <alexl@redhat.com>
3045 * gio/gfileenumerator.c:
3048 * gio/gfileinputstream.c:
3049 * gio/gfileoutputstream.c:
3050 * gio/ginputstream.c:
3051 * gio/goutputstream.c:
3052 Don't crash if async callbacks are NULL
3054 2007-09-20 Alexander Larsson <alexl@redhat.com>
3057 Add async enumerate_children method and default
3060 2007-09-20 Alexander Larsson <alexl@redhat.com>
3063 Add g_file_contains_file & g_file_get_relative_path, since they
3064 were needed for nautilus.
3065 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3070 Implement new methods
3072 2007-09-17 Alexander Larsson <alexl@redhat.com>
3075 * gio/gfileinputstream.[ch]:
3076 * gio/gfileoutputstream.[ch]:
3078 * gio/glocalfileenumerator.[ch]:
3079 * gio/glocalfileinfo.[ch]:
3080 * gio/glocalfileinputstream.c:
3081 * gio/glocalfileoutputstream.c:
3082 * gio/gpollfilemonitor.c:
3083 * programs/gio-copy.c:
3084 * programs/gio-info.c:
3085 * programs/gio-move.c:
3086 Rename get_file_info to query_info() to make it clearer
3087 that these are not simple getters, but do i/o.
3089 2007-09-17 Alexander Larsson <alexl@redhat.com>
3091 * gio/gdatainputstream.[ch]:
3092 * gio/test-streams.c:
3093 Use _read_XXX instead of _get_XXX for the i/o calls
3096 2007-09-17 Alexander Larsson <alexl@redhat.com>
3099 Added needed stuff to TODO comment
3101 2007-09-17 Alexander Larsson <alexl@redhat.com>
3103 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3104 Don't error out removing the backup copy if it doesn't
3107 2007-09-14 Alexander Larsson <alexl@redhat.com>
3109 * programs/Makefile.am:
3110 * programs/gvfs-*.c:
3112 Renamed apps from gvfs-xxx to gio-xxx.
3114 2007-09-14 Alexander Larsson <alexl@redhat.com>
3117 * gio/gfileoutputstream.[ch]:
3118 * gio/glocalfileoutputstream.c:
3119 * programs/gvfs-save.c:
3120 g_file_output_stream_get_etag doesn't do i/o, so remove
3121 cancellation and error.
3123 2007-09-14 Alexander Larsson <alexl@redhat.com>
3126 Add new_etag output to replace_contents functions
3128 2007-09-14 Alexander Larsson <alexl@redhat.com>
3130 * gio/gfileoutputstream.[ch]:
3131 Add async get_file_info and default implementation
3133 2007-09-14 Alexander Larsson <alexl@redhat.com>
3135 * gio/gfileinputstream.c:
3136 Implement fallback wrapper for async get_file_info
3138 2007-09-14 Alexander Larsson <alexl@redhat.com>
3141 Add etag out argument to load_contents
3146 2007-09-14 Alexander Larsson <alexl@redhat.com>
3148 * gio/gcontenttype.c (looks_like_text):
3149 Whitespace like tab, cr and lf do not make the
3152 2007-09-14 Alexander Larsson <alexl@redhat.com>
3154 * gio/gfileinputstream.[ch]:
3155 Add async get_file_info.
3157 2007-09-13 Alexander Larsson <alexl@redhat.com>
3159 * gio/goutputstream.c (g_output_stream_write_all):
3160 Allow NULL for bytes_written
3162 2007-09-13 Alexander Larsson <alexl@redhat.com>
3164 * gio/gmemoryinputstream.[ch]:
3165 Add accessors for data
3167 2007-09-13 Alexander Larsson <alexl@redhat.com>
3169 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3170 Don't crash if length is NULL