1 2007-12-11 David Zeuthen <davidz@redhat.com>
3 Rework how volumes, drives and volume monitoring is
4 done. Previosly the model was
8 where a GDrive instance represented a mount point and a GVolume
9 instance represented a mounted file system. This patch changes it
12 GDrive <1-N> GVolume <1-1> GMount
14 where GMount now serves the purpose of the old GVolume and the new
15 GVolume serves the purpose of the old GDrive. In addition the new
16 GDrive interface is used to represent a collection of GVolume
17 instances (typically partitions) and also contains utility to query
18 the state of the physical drive the GDrive object represents (such
19 as checking for media, polling the drive, ejecting the media etc.).
21 Also implement mounting and unmounting in the Unix volume monitor
22 backend. A subquent patch will introduce GDrive support for ejection
26 * gdrive.c: (g_drive_is_media_check_automatic),
27 (g_drive_is_media_removable), (g_drive_has_media),
28 (g_drive_can_poll_for_media), (g_drive_eject),
29 (g_drive_eject_finish), (g_drive_poll_for_media),
30 (g_drive_poll_for_media_finish):
32 * gfile.c: (g_file_find_enclosing_mount):
35 * glocaldirectorymonitor.c:
36 (g_local_directory_monitor_constructor), (mounts_changed):
37 * glocalfile.c: (get_mount_info),
38 (g_local_file_find_enclosing_mount),
39 (g_local_file_file_iface_init):
40 * gnativevolumemonitor.h:
41 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
42 (get_connected_drives), (g_union_volume_monitor_class_init),
43 (child_volume_added), (child_volume_removed),
44 (child_volume_changed), (child_mount_added), (child_mount_removed),
45 (child_mount_pre_unmount), (child_mount_changed),
46 (child_drive_changed), (g_union_volume_monitor_add_monitor),
47 (g_union_volume_monitor_remove_monitor),
48 (_g_mount_get_for_mount_path):
49 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
50 (guess_system_internal), (_g_get_unix_mounts),
51 (_g_get_unix_mount_points), (g_get_unix_mount_at),
52 (g_unix_mount_free), (g_unix_mount_compare),
53 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
54 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
55 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
56 (type_to_icon), (g_unix_mount_guess_name),
57 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
58 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
59 (_resolve_symlink), (_resolve_dev_root):
61 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
62 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
63 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
64 (g_unix_volume_get_name), (g_unix_volume_can_mount),
65 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
66 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
67 (g_unix_volume_mount), (g_unix_volume_mount_finish),
68 (g_unix_volume_volume_iface_init):
70 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
71 (get_mounts), (get_volumes), (get_connected_drives),
72 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
73 (mountpoints_changed), (mounts_changed),
74 (g_unix_volume_monitor_init),
75 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
76 (find_mount_by_mountpath), (update_volumes), (update_mounts):
77 * gunixvolumemonitor.h:
78 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
79 (g_volume_mount), (g_volume_mount_finish):
81 * gvolumemonitor.c: (g_volume_monitor_class_init),
82 (g_volume_monitor_get_connected_drives),
83 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
86 2007-12-10 Matthias Clasen <mclasen@redhat.com>
88 * gmountoperation.h (GPasswordFlags): Close the gap
90 2007-12-10 Matthias Clasen <mclasen@redhat.com>
92 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
94 * gdesktopappinfo.[hc]: Remove _-prefixes
96 2007-12-10 Tor Lillqvist <tml@novell.com>
98 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
101 2007-12-10 Alexander Larsson <alexl@redhat.com>
103 * gfile.c (g_file_set_display_name):
104 Don't hardcode '/' (#502727)
106 2007-12-09 Hans Breuer <hans@breuer.org>
108 * makefile.msc : follow lib naming convention
109 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
110 for user and group name, tested with ../tests/gio-ls
112 2007-12-09 A. Walton <awalton@svn.gnome.org>
125 * gmemoryinputstream.c:
126 * gmemoryoutputstream.c:
128 * gsimpleasyncresult.c:
129 More documentation cleanup and filling in missing information, bringing
130 GIO to 99% symbol coverage.
132 2007-12-08 Hans Breuer <hans@breuer.org>
134 [gio compiles and links on win32, not sure how much already works]
135 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
136 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
137 base on win32 API; prefer g_lstat() over lstat(); instead of
138 localtime_r() use an all GLib implementation on win32;
139 get_mount_info() still needs a win32 specifc implementation
140 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
141 win32_get_file_user_info to get owner/group info without uid/gid
142 * glocalfileinputstream.c : include <io.h> on win32
143 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
144 definition, use g_win32_ftruncate() for G_OS_WIN32
145 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
146 it is available with mingw/w32api but a mess with the M$ Platform SDKs
147 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
148 * makefile.msc : updated
150 2007-12-07 Alexander Larsson <alexl@redhat.com>
152 * glocalfileenumerator.c (_g_local_file_enumerator_new):
153 Avoid warning spew if error == NULL
155 2007-12-07 Alexander Larsson <alexl@redhat.com>
158 Update docs wrt etags
160 2007-12-06 Alexander Larsson <alexl@redhat.com>
163 Include sys/types.h for dev_t (#501919)
165 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
169 Make abicheck and pltcheck pass.
171 2007-12-05 Alexander Larsson <alexl@redhat.com>
174 * giomodule-priv.h: Added.
175 * glocaldirectorymonitor.c:
176 * glocalfilemonitor.c:
177 * gunionvolumemonitor.c:
179 Actually add the declaration of _g_io_modules_ensure_loaded
181 2007-12-05 Alexander Larsson <alexl@redhat.com>
183 * gdatainputstream.c:
188 * glocaldirectorymonitor.c:
189 * glocalfilemonitor.c:
190 * gunionvolumemonitor.c:
192 Make g_io_modules_ensure_loaded a private function and
193 don't pass in the dirname. This means we can do magic
194 directory finding in the win32 version.
195 Export the actual load-modules-in-directory code so that
198 2007-12-05 Alexander Larsson <alexl@redhat.com>
200 * gbufferedinputstream.c:
201 * gbufferedoutputstream.c:
204 * gfileenumerator.[ch]:
205 * gfileinputstream.c:
206 * gfileoutputstream.[ch]:
207 * gfilterinputstream.c:
208 * gfilteroutputstream.c:
211 * glocalfileenumerator.c:
212 * glocalfileinputstream.c:
213 * glocalfileoutputstream.c:
214 * gmemoryinputstream.c:
215 * gmemoryoutputstream.c:
216 * goutputstream.[ch]:
219 * gunixinputstream.c:
220 * gunixoutputstream.c:
221 Rename all struct members named:
222 read, write, close, truncate, or mount
223 to foo_fn, as these are reserved names
224 and could be defined as macros in libc.
227 2007-12-04 Alexander Larsson <alexl@redhat.com>
230 (g_output_stream_close):
231 Only call flush if non-null.
233 2007-11-30 Dan Winship <danw@gnome.org>
235 * ginputstream.c (g_input_stream_set_pending): Make this take a
236 GError and return a gboolean, and do the "outstanding operation"
237 check (and the "stream is already closed" check) itself.
238 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
240 * goutputstream.c (g_output_stream_set_pending)
241 (g_output_stream_clear_pending): Likewise
243 * gbufferedinputstream.c:
244 * gfileinputstream.c:
245 * gfileoutputstream.c: Update for that
247 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
248 Like g_simple_async_report_error_in_idle, but takes a GError
249 rather than building one.
251 2007-11-30 Dan Winship <danw@gnome.org>
253 * goutputstream.c: Don't cheat and unset the "pending" flag around
254 inner calls. Instead, call the class method directly rather than
255 the wrapper function that checks "pending"
257 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
259 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
261 2007-12-03 Hans Breuer <hans@breuer.org>
263 [start of port to win32/msvc]
264 * gcancellable.c : HAVE_UNIST_H and _pipe()
265 * gcontenttype.c : only include <dirent.h> in the UNIX branch
266 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
267 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
269 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
270 * glocalvfs.c : use HAVE_PWD_H
271 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
272 * makefile.msc : new file (maybe later converted to makefile.msc.in)
273 * Makefile.am : added to EXTRA_DIST
275 2007-12-03 Matthias Clasen <mclasen@redhat.com>
277 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
280 2007-12-03 Alexander Larsson <alexl@redhat.com>
283 Handle OSX style xattrs API (#500506)
285 2007-12-03 Alexander Larsson <alexl@redhat.com>
289 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
291 2007-12-02 A. Walton <awalton@svn.gnome.org>
295 Documentation accuracy fixes.
297 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
299 * gioenumtypes.c.template: Fix typo.
301 2007-12-01 Matthias Clasen <mclasen@redhat.com>
303 * gioenumtypes.c.template: Make threadsafe get_type() functions.
305 2007-12-01 Matthias Clasen <mclasen@redhat.com>
307 * gdirectorymonitor.c:
308 * gfilemonitor.c: Add properties
310 * gbufferedoutputstream.c: Don't mark buffer-size property
313 2007-12-01 Matthias Clasen <mclasen@redhat.com>
315 * gbufferedoutputstream.c: Add auto-grow property.
317 2007-11-30 Matthias Clasen <mclasen@redhat.com>
319 * *.c: Unify the capitalization of section headings.
321 2007-11-30 Matthias Clasen <mclasen@redhat.com>
323 * gmountoperation.c: Add properties
325 * gdatainputstream.c: Turn byte-order and newline-type into
328 2007-11-30 Matthias Clasen <mclasen@redhat.com>
330 * gioenumtypes.[hc].template: Templates for enum registration
332 * Makefile.am: Generate gioenumtypes.[hc]
334 * gio.h: Include gioenumtypes.h
336 * gfile.h: Add some explicit nicks.
338 * gio.symbols: Add new symbols
340 * pltcheck.sh: Adjust
342 2007-11-30 Matthias Clasen <mclasen@redhat.com>
344 * *.c: Explain etags and link to the explanation
346 2007-11-29 Matthias Clasen <mclasen@redhat.com>
348 * *.c: Explain I/O priority.
350 * *.c: More coding style fixes.
352 2007-11-29 Matthias Clasen <mclasen@redhat.com>
354 * gasyncresult.c: Add another paragraph to the intro,
355 adjust coding style of example.
357 2007-11-29 A. Walton <awalton@svn.gnome.org>
360 Fixes unknown meaning in GAppLaunchContext docs.
362 Clarify asynchronous ops.
367 Provides missing gtk-doc section, fixes API docs slighly.
368 * gsimpleasyncresult.c:
369 Fill in missing info in docs.
370 * gunixinputstream.c:
371 * gunixoutputstream.c:
372 Be more expressive in short description.
374 Remove gtk-doc stubs for non-public API.
376 2007-11-28 Matthias Clasen <mclasen@redhat.com>
378 * *.c: Coding style fixups
380 2007-11-28 Matthias Clasen <mclasen@redhat.com>
382 * inotify/inotify-helper.c: Don't export the lock from libgio.
384 2007-11-28 Matthias Clasen <mclasen@redhat.com>
387 * abicheck.sh: Fix copy-and-paste leftovers
389 2007-11-28 Matthias Clasen <mclasen@redhat.com>
391 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
393 2007-11-28 Alexander Larsson <alexl@redhat.com>
397 Removed unnecessary file
399 * gdesktopappinfo.[ch]:
402 * glocaldirectorymonitor.[ch]:
404 * glocalfileenumerator.[ch]:
405 * glocalfileinputstream.[ch]:
406 * glocalfilemonitor.[ch]:
407 * glocalfileoutputstream.[ch]:
409 * gnativevolumemonitor.c:
410 * gpollfilemonitor.[ch]:
411 * gunionvolumemonitor.[ch]:
414 * gunixvolumemonitor.[ch]:
417 * inotify/ginotifydirectorymonitor.[ch]:
418 * inotify/ginotifyfilemonitor.[ch]:
419 * inotify/inotify-helper.c:
420 Append _ to all internal functions
424 Export symbols needed for modules
426 2007-11-28 Alexander Larsson <alexl@redhat.com>
429 * abicheck.sh: Added.
430 * makegioalias.pl: Added.
431 * pltcheck.sh: Added.
432 * gio.symbols: Added.
435 Initial work on adding symbol handling.
438 Correct ifdef guard name
441 * inotify/Makefile.am:
442 * xdgmime/Makefile.am:
443 Include toplevel Makefile.decl
445 2007-11-27 Matthias Clasen <mclasen@redhat.com>
447 * gcontenttype.c: Move doc comments to the unix section.
449 * *.[hc]: More trivial doc corrections.
451 2007-11-27 Matthias Clasen <mclasen@redhat.com>
453 * gpollfilemonitor.c:
462 * gdatainputstream.c:
463 * gdatainputstream.h:
464 * gdataoutputstream.c:
465 * gdataoutputstream.h:
466 * gfileinfo.h: Doc cleanups
468 2007-11-28 Andre Klapper <a9016009@gmx.de>
470 * gdesktopappinfo.c: Fix a typo.
472 2007-11-27 Andre Klapper <a9016009@gmx.de>
474 * glocalfileoutputstream.c: Fix a typo.
476 2007-11-27 Alexander Larsson <alexl@redhat.com>
479 Don't include removed headers
481 2007-11-27 Alexander Larsson <alexl@redhat.com>
484 * gsocketinputstream.[ch]: Removed.
485 * gsocketoutputstream.[ch]: Removed.
486 * gunixinputstream.[ch]: Added.
487 * gunixoutputstream.[ch]: Added.
488 Renamed GSocket*Stream to GUnix*Stream and made
489 it unix-only, since its not really only for sockets
490 and it only works on unix (but is highly useful there).
492 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
498 * gbufferedinputstream.c:
499 * gbufferedinputstream.h:
500 * gbufferedoutputstream.c:
501 * gbufferedoutputstream.h:
505 * gdatainputstream.c:
506 * gdatainputstream.h:
507 * gdataoutputstream.c:
508 * gdataoutputstream.h:
509 * gdirectorymonitor.c:
510 * gdirectorymonitor.h:
523 * gfileinputstream.c:
524 * gfileinputstream.h:
527 * gfilenamecompleter.c:
528 * gfilenamecompleter.h:
529 * gfileoutputstream.c:
530 * gfileoutputstream.h:
531 * gfilterinputstream.c:
532 * gfilterinputstream.h:
533 * gfilteroutputstream.c:
534 * gfilteroutputstream.h:
547 * glocalfileoutputstream.c:
548 * gmemoryinputstream.c:
549 * gmemoryinputstream.h:
550 * gmemoryoutputstream.c:
551 * gmemoryoutputstream.h:
556 * gpollfilemonitor.c:
559 * gsimpleasyncresult.c:
560 * gsimpleasyncresult.h:
561 * gsocketinputstream.c:
562 * gsocketinputstream.h:
563 * gsocketoutputstream.c:
564 * gsocketoutputstream.h:
571 * gunixvolumemonitor.c:
580 Bumps documentation to 93% symbol coverage, touching most
581 of the public files. Fixes broken function documentation prototypes.
582 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
583 gtk-doc headers in private files.
585 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
587 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
588 (g_buffered_input_stream_read_byte):
589 * gbufferedinputstream.h:
590 New functions for efficient access to buffer and simple single byte
593 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
594 (g_data_input_stream_read_until):
595 * gdatainputstream.h:
596 Use peek_buffer to avoid memcpy in scan_for_newline, implement
597 read_until with multiple stop chars.
599 2007-11-27 Alexander Larsson <alexl@redhat.com>
603 * inotify/Makefile.am:
604 Use the user-specified giomoduledir
606 2007-11-27 Alexander Larsson <alexl@redhat.com>
610 Add catch-all gio.h header
611 Don't install gdummyfile.h
613 2007-11-26 Alexander Larsson <alexl@redhat.com>
615 * Makefile.am (gioinclude_HEADERS):
616 Remove trailing whitespace
618 2007-11-26 Alexander Larsson <alexl@redhat.com>
620 Merge gio-standalone into glib
622 2007-11-25 Christian Kellner <gicmo@gnome.org>
624 * gio/goutputstream.c:
625 Fix small mistake in the docs.
627 2007-11-21 Christian Persch <chpe@gnome.org>
629 * gio/glocalfile.c: (g_local_file_trash):
630 Convert filenames to UTF-8 for GError.
631 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
632 as per xdg base dir spec.
634 2007-11-21 Christian Persch <chpe@gnome.org>
636 * gio/gdesktopappinfo.c:
637 Use that g_key_file_to_data cannot fail.
639 Use stock defines for the key file group and key names.
642 2007-11-21 Alexander Larsson <alexl@redhat.com>
645 (copy_stream_with_progress):
646 Make sure we do a final progress callback with
649 2007-11-21 Alexander Larsson <alexl@redhat.com>
652 Export g_file_copy_attributes
653 Remove padding as its not needed for interfaces
655 2007-11-20 Alexander Larsson <alexl@redhat.com>
660 Add G_IO_ERROR_WOULD_MERGE for
661 copy/move dir on dir with overwrite.
663 2007-11-20 Alexander Larsson <alexl@redhat.com>
666 * gio/glocalfileinfo.c:
667 Add COPY_NAME (this is an optional
668 non-modified utf8 version of the name) that
671 2007-11-20 Alexander Larsson <alexl@redhat.com>
673 * gio/glocalfileenumerator.c:
674 Report errors as GIOError, not GFileError
676 2007-11-16 Alexander Larsson <alexl@redhat.com>
678 * gio/glocalfileoutputstream.c:
679 * gio/gwin32appinfo.c:
680 Fix typos in strings.
681 Patch from Luca Ferretti <elle.uca@libero.it>
683 2007-11-15 Alexander Larsson <alexl@redhat.com>
686 Post release version bump
688 === gio-standalone 0.1.2 ===
690 2007-11-15 Alexander Larsson <alexl@redhat.com>
692 * docs/reference/gio/Makefile.am:
693 Fix up distcheck by removing weird
699 2007-11-14 Alexander Larsson <alexl@redhat.com>
701 * gio/gdesktopappinfo.c:
702 * gio/glocaldirectorymonitor.c:
704 * gio/glocalfileinfo.c:
705 * gio/inotify/inotify-sub.c:
706 * programs/gio-cat.c:
707 * programs/gio-copy.c:
708 * programs/gio-info.c:
710 * programs/gio-monitor-dir.c:
711 * programs/gio-monitor-file.c:
712 * programs/gio-mount.c:
713 * programs/gio-move.c:
715 * programs/gio-save.c:
716 * programs/gio-trash.c:
717 Leak fixes from Kjartan Maraas
719 2007-11-14 Alexander Larsson <alexl@redhat.com>
721 * gio/fam/fam-helper.c:
723 * gio/glocalfileinfo.c:
727 * gio/inotify/inotify-diag.c:
728 * gio/inotify/inotify-kernel.c:
729 Various code cleanups from Kjartan Maraas
731 2007-11-14 Alexander Larsson <alexl@redhat.com>
733 * gio/gioscheduler.c:
735 Set up threadpool so that we cache 2 unused
736 idle threads for at 15 secs. This means we
737 will reuse thread-local data (like dbus connections)
740 2007-11-14 Alexander Larsson <alexl@redhat.com>
742 * gio/fam/fam-helper.c:
743 * gio/fam/gfamdirectorymonitor.c:
744 * gio/fam/gfamfilemonitor.c:
746 * gio/gcontenttype.c:
747 * gio/gdatainputstream.c:
748 * gio/gdataoutputstream.c:
752 * gio/gfileattribute.h:
753 * gio/gfileenumerator.c:
755 * gio/ginputstream.c:
758 * gio/glocalfileinfo.c:
759 * gio/goutputstream.c:
760 * gio/gpollfilemonitor.c:
761 * gio/gsimpleasyncresult.c:
764 * gio/inotify/ginotifydirectorymonitor.c:
765 * gio/inotify/ginotifyfilemonitor.c:
766 * gio/inotify/inotify-diag.c:
767 * gio/inotify/inotify-kernel.c:
768 * gio/inotify/inotify-path.c:
770 * gio/test-streams.c:
771 * programs/gio-info.c:
772 * programs/gio-monitor-dir.c:
773 * programs/gio-monitor-file.c:
774 Various code cleanups from Kjartan Maraas
776 2007-11-13 Alexander Larsson <alexl@redhat.com>
779 Handle the uri-scheme calls for dummy files
781 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
783 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
784 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
785 to avoid clash with the C++ keyword.
787 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
789 * gio/glocalfileinfo.c: Build fix, added missing semicolon
790 to an ifdef'ed call to getpwuid() in lookup_uid_data().
792 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
794 * gio/glocaldirectorymonitor.c:
795 * gio/glocalfilemonitor.c:
796 * gio/gunionvolumemonitor.c:
797 Don't use g_once_init_*() for initializations that could fail and
798 could leave the initialization variable set to 0 but use GOnce.
799 This prevents a deadlock on the second call when trying to create
800 a monitor and no monitor type is available. Thanks to Sven Herzberg
803 2007-11-11 Sven Herzberg <sven@imendio.com>
805 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
806 #ifdef (make it work on MacOS X again)
808 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
810 Fixes Changelog for last two commits (sorry guys).
812 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
814 * gio/gbufferedinputstream.c:
815 * gio/gdatainputstream.c:
817 * gio/gfileoutputstream.c:
818 * gio/gfilterinputstream.c:
819 * gio/glocalfileinputstream.c:
822 More consistency fixes in g*stream.c files.
823 Significant clean of gfile's documentation, filling in of
824 asynchronous operations documentation.
826 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
828 * gio/gasyncresult.c:
829 * gio/gbufferedinputstream.c:
830 * gio/gbufferedoutputstream.c:
831 * gio/gcancellable.c:
832 * gio/gcontenttype.c:
833 * gio/gdatainputstream.c:
834 * gio/gdataoutputstream.c:
835 * gio/gdesktopappinfo.c:
838 * gio/gfileattribute.c:
839 * gio/gio/gfileenumerator.c:
841 * gio/gfileinputstream.c:
842 * gio/gfilemonitor.c:
843 * gio/gfileoutputstream.c:
844 * gio/ginputstream.c:
846 * gio/gioscheduler.c:
847 * gio/gloadableicon.c:
848 * gio/glocalfileoutputstream.c:
849 * gio/gmemoryoutputstream.c:
850 * gio/gmountoperation.c:
851 * gio/goutputstream.c:
853 * gio/gsimpleasyncresult.c:
854 * gio/gunionvolumemonitor.c:
860 * gio/gvolumemonitor.c:
861 Updated documentation stubs, working towards consistency and
864 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
866 * gio/gmemoryoutputstream.c:
867 * gio/gmemoryoutputstream.h:
868 Change g_memory_output_stream_set_free_on_close() to
869 g_memory_output_stream_set_free_data() as this makes more sense and
870 is more consistent with GMemoryInputStream.
872 2007-11-07 Alexander Larsson <alexl@redhat.com>
879 Change how we find the default vfs so that
880 we can handle a gvfs failing to init
882 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
884 * gio/gbufferedoutputstream.c:
885 * gio/gdatainputstream.c:
886 * gio/gdataoutputstream.c:
887 * gio/gfileinputstream.c:
888 * gio/gfileoutputstream.c:
889 * gio/gfilterinputstream.c:
890 * gio/gfilteroutputstream.c:
891 * gio/ginputstream.c:
892 * gio/gmemoryinputstream.c:
893 * gio/gmemoryoutputstream.c:
894 * gio/goutputstream.c:
895 * gio/gsimpleasyncresult.c:
896 * gio/gsocketinputstream.c:
897 * gio/gsocketoutputstream.c:
898 Add guards to the remaining public functions, add a TODO for
899 an unimplemented function and remove some useless guards.
901 2007-11-07 Alexander Larsson <alexl@redhat.com>
904 Autoconf checks for the various types of
905 getpwuid_r and getgrgid_r
907 * gio/glocalfileinfo.c:
908 Use the autoconf checks from above
910 2007-11-07 Alexander Larsson <alexl@redhat.com>
913 (g_local_file_query_filesystem_info):
914 Some fixes for the statvfs case
916 2007-11-07 Alexander Larsson <alexl@redhat.com>
919 (g_local_file_query_filesystem_info):
920 Pick the "best" of statfs / statvfs for the system
921 if both are availible.
923 2007-11-07 Alexander Larsson <alexl@redhat.com>
925 Solaris fixes from Halton.Huo@Sun.COM:
932 * gio/glocalfileinfo.c:
933 Fix for solaris definition of getpwuid_r
935 * gio/test-streams.c:
936 Use G_GNUC_PRETTY_FUNCTION
938 2007-11-07 Alexander Larsson <alexl@redhat.com>
940 * gio/gdesktopappinfo.c:
941 (update_default_list):
942 Remove double semicolon.
943 Patch from Jens Granseuer
945 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
947 * docs/reference/gio/gio-sections.txt:
948 * gio/gbufferedinputstream.c:
949 * gio/gbufferedinputstream.h:
950 * gio/gdatainputstream.c:
951 * gio/gfileenumerator.c:
952 * gio/gioscheduler.c:
953 * gio/gunionvolumemonitor.c:
955 * programs/gio-save.c:
956 Fix typo: availible -> available. Unfortuntely this breaks API
957 and ABI as g_buffered_input_stream_get_available() was renamed.
960 * gio/gbufferedinputstream.c:
961 Add guards for public functions.
963 2007-11-06 Ross Burton <ross@openedhand.com>
965 * docs/reference/gio/Makefile.am:
966 Fix invalid += usage which automake 1.10 doesn't like.
968 2007-11-06 Alexander Larsson <alexl@redhat.com>
971 (g_app_launch_context_class_init):
974 Patch from Ross Burton
976 2007-11-06 Alexander Larsson <alexl@redhat.com>
979 Post release version bump
981 === gio-standalone 0.1.1 ===
983 2007-11-06 Alexander Larsson <alexl@redhat.com>
986 Bump version to 0.1.1
988 * gio/gsimpleasyncresult.c:
989 (g_simple_async_result_set_from_error):
990 Remove bogus g_return_if_fail
992 2007-11-06 Alexander Larsson <alexl@redhat.com>
995 The name is gio-standalone
998 Add top src/builddir to includedir
1000 2007-11-06 Alexander Larsson <alexl@redhat.com>
1002 * docs/reference/gio/gio-sections.txt:
1004 * gio/gbufferedinputstream.c:
1005 * gio/gbufferedoutputstream.c:
1006 * gio/gcancellable.c:
1007 * gio/gdatainputstream.h:
1008 * gio/gdataoutputstream.c:
1009 * gio/gdataoutputstream.h:
1010 * gio/gdirectorymonitor.c:
1012 * gio/gfileattribute.c:
1013 * gio/gfileattribute.h:
1014 * gio/gfileenumerator.c:
1015 * gio/gfileenumerator.h:
1018 * gio/gfileinputstream.h:
1019 * gio/gfilemonitor.c:
1020 * gio/gfileoutputstream.h:
1021 * gio/glocalfilemonitor.h:
1022 * gio/glocalfileoutputstream.h:
1023 * gio/gmemoryinputstream.c:
1024 * gio/gmemoryoutputstream.c:
1025 * gio/gmountoperation.c:
1026 * gio/goutputstream.c:
1027 * gio/goutputstream.h:
1029 * gio/gsimpleasyncresult.c:
1030 * gio/gunixmounts.c:
1031 * gio/gunixmounts.h:
1033 * gio/inotify/inotify-helper.c:
1034 Fix gtk-doc warnings
1036 Patch from Ross Burton
1038 2007-11-06 Alexander Larsson <alexl@redhat.com>
1040 * gio/gfilenamecompleter.c:
1041 (g_filename_completer_get_completions):
1044 * gio/gunixvolume.c:
1045 Remove unused function
1047 Patches from Ross Burton
1049 2007-11-06 Alexander Larsson <alexl@redhat.com>
1054 Padding not needed for interfaces
1056 2007-11-06 Alexander Larsson <alexl@redhat.com>
1058 * gio/gfilemonitor.c:
1062 Make giotypes.h an internal file
1065 * gio/gbufferedinputstream.h:
1066 * gio/gbufferedoutputstream.h:
1067 * gio/gcancellable.h:
1068 * gio/gdatainputstream.h:
1069 * gio/gdataoutputstream.h:
1070 * gio/gdirectorymonitor.c:
1071 * gio/gdirectorymonitor.h:
1076 * gio/gfileattribute.h:
1077 * gio/gfileenumerator.h:
1082 * gio/gfilemonitor.c:
1083 * gio/gfilemonitor.h:
1084 * gio/gfilenamecompleter.c:
1085 * gio/gfilenamecompleter.h:
1086 * gio/gfilterinputstream.h:
1087 * gio/gfilteroutputstream.h:
1088 * gio/ginputstream.h:
1089 * gio/gmemoryinputstream.h:
1090 * gio/gmemoryoutputstream.h:
1091 * gio/gmountoperation.c:
1092 * gio/gmountoperation.h:
1093 * gio/gnativevolumemonitor.c:
1094 * gio/goutputstream.h:
1097 * gio/gsimpleasyncresult.c:
1098 * gio/gsimpleasyncresult.h:
1099 * gio/gsocketinputstream.h:
1100 * gio/gsocketoutputstream.h:
1101 * gio/gthemedicon.c:
1102 * gio/gthemedicon.h:
1106 * gio/gvolumemonitor.c:
1107 * gio/gvolumemonitor.h:
1108 Add padding in classes where it seems useful
1109 Don't include giotypes.h from public headers
1110 Move in Class definitions into c file where possible
1115 2007-11-06 Alexander Larsson <alexl@redhat.com>
1117 * docs/reference/gio/gio-docs.xml:
1118 Better structure for API docs
1120 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1123 * gio/gloadableicon.c:
1124 * gio/gsimpleasyncresult.c:
1125 * gio/gthemedicon.c:
1126 Add some more guards to public functions. Only files missing are now
1129 2007-11-06 Alexander Larsson <alexl@redhat.com>
1131 * docs/reference/gio/gio-docs.xml:
1132 Remove old files, add missing ones
1134 2007-11-06 Alexander Larsson <alexl@redhat.com>
1136 * docs/reference/gio/gio-sections.txt:
1139 Hide implementation classes
1141 * gio/gdriveprivate.h:
1142 * gio/gvolumeprivate.h:
1143 Remove non-existing function declarations
1145 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1148 Fix compilation warnings and add guards to the new functions.
1150 * gio/gasyncresult.c:
1152 Add guards to the public functions.
1155 Implement get_path().
1157 2007-11-06 Alexander Larsson <alexl@redhat.com>
1159 * gio/gfilenamecompleter.c:
1160 Make g_filename_completer_get_completions
1161 return char ** instead of GList for
1164 * docs/reference/gio/gio-docs.xml:
1165 * docs/reference/gio/gio-sections.txt:
1167 * gio/gasyncresult.c:
1168 * gio/gbufferedinputstream.c:
1169 * gio/gbufferedoutputstream.c:
1170 * gio/gcancellable.c:
1171 * gio/gcontenttype.c:
1172 * gio/gdatainputstream.c:
1173 * gio/gdataoutputstream.c:
1174 * gio/gdesktopappinfo.c:
1175 * gio/gdirectorymonitor.c:
1179 * gio/gfileattribute.c:
1180 * gio/gfileenumerator.c:
1183 * gio/gfileinputstream.c:
1184 * gio/gfilemonitor.c:
1185 * gio/gfilenamecompleter.c:
1186 * gio/gfilenamecompleter.h:
1187 * gio/gfileoutputstream.c:
1188 * gio/gfilterinputstream.c:
1190 * gio/ginputstream.c:
1192 * gio/gioscheduler.c:
1193 * gio/gloadableicon.c:
1194 * gio/glocaldirectorymonitor.c:
1196 * gio/glocalfileinputstream.c:
1197 * gio/glocalfilemonitor.c:
1198 * gio/glocalfileoutputstream.c:
1200 * gio/gmemoryinputstream.c:
1201 * gio/gmemoryoutputstream.c:
1202 * gio/gmountoperation.c:
1203 * gio/goutputstream.c:
1204 * gio/gpollfilemonitor.c:
1206 * gio/gsimpleasyncresult.c:
1207 * gio/gsocketinputstream.c:
1208 * gio/gsocketoutputstream.c:
1209 * gio/gthemedicon.c:
1210 * gio/gunionvolumemonitor.c:
1212 * gio/gunixmounts.c:
1213 * gio/gunixvolume.c:
1214 * gio/gunixvolumemonitor.c:
1218 * gio/gvolumemonitor.c:
1219 * gio/gwin32appinfo.c:
1220 Add (mostly stub) doc strings to public functions.
1221 Patch from Andrew Walton (awalton@gmail.com)
1223 2007-11-06 Alexander Larsson <alexl@redhat.com>
1225 * gio/gappinfo.[ch]:
1226 Added GAppLaunchContext object and pass that to launch.
1227 This allows simple implementation of both
1228 launch-on-screen and startup notification via a gtk+
1229 subclass of GAppLaunchContext
1231 * gio/gdesktopappinfo.c:
1232 Implement GAppLaunchContext API
1234 * gio/gwin32appinfo.c:
1237 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1239 * gio/gmountoperation.c:
1240 Add some guards to GMountOperation's public functions.
1242 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1246 * gio/gcancellable.c:
1247 * gio/gdirectorymonitor.c:
1249 * gio/gfileenumerator.c:
1250 * gio/gfilemonitor.c:,
1251 * gio/gfilenamecompleter.c:
1254 * gio/gioscheduler.c:
1258 * gio/gvolumemonitor.c:
1259 Add even more guards to various public functions.
1261 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1264 Add guards to the public functions of GAppInfo.
1266 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1268 * gio/gcontenttype.c:
1269 Add some more guards for public functions.
1271 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1273 * gio/fam/fam-module.c:
1274 * gio/fam/gfamdirectorymonitor.c:
1275 * gio/fam/gfamdirectorymonitor.h:
1276 * gio/fam/gfamfilemonitor.c:
1277 * gio/fam/gfamfilemonitor.h:
1278 * gio/inotify/ginotifydirectorymonitor.c:
1279 * gio/inotify/ginotifydirectorymonitor.h:
1280 * gio/inotify/ginotifyfilemonitor.c:
1281 * gio/inotify/ginotifyfilemonitor.h:
1282 Add proper copyright information and remove an unused variable
1283 in the GInotifyFileMonitor constructor.
1285 * gio/gcancellable.c:
1286 Add a guard for a public function and an assertion to prevent
1287 an undefined program state.
1289 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1291 * gio/gfileattribute.c:
1292 Don't run into an assertion if the given attribute value is NULL
1293 in g_file_attribute_value_get_*() but instead return a fallback
1294 value that makes sense in most situations. Passing them a attribute
1295 value with the wrong type will still run into an assertion.
1297 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1299 * gio/gfileattribute.c:
1301 Add even more guards to the public functions. Also fix the refcounting
1302 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1303 let g_file_info_list_attributes() filter the attributes by namespace
1304 instead of simply ignoring the namespace parameter.
1306 2007-11-03 Sven Herzberg <sven@imendio.com>
1308 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1309 (This makes gio work on MacOS X again)
1311 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1314 Build the gio subdirectory before the docs. Otherwise the build will
1317 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1318 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1319 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1320 Add guards to the public functions.
1322 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1324 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1325 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1326 to prevent a compiler warning.
1328 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1329 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1330 return something in the non-void function find_topdir_for().
1332 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1339 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1341 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1342 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1343 * gwin32appinfo.c (g_win32_app_info_launch):
1344 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1345 envp_for_startup_id, g_desktop_app_info_launch,
1346 g_desktop_app_info_launch_uris):
1348 Give an opaque 'startup_id' string instead of 'envp'.
1349 Support empty file lists for launching new windows.
1350 Fix infinite recursion bug when launching URIs.
1352 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1355 Add guard to the new g_file_get_uri_scheme() function.
1357 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1360 Convert a g_return_val_if_fail() to setting the GError instead as
1361 otherwise applications have to verify the parameter before otherwise
1362 and the parameter might come directly from the user.
1364 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1366 * gio/inotify/ginotify*.[ch]:
1367 Add missing copyright information.
1369 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1372 Add guards in the beginning of public functions to check for valid
1373 parameters and fix a bug in copy_stream_with_progress() that could've
1374 caused writing less bytes than reading.
1375 * gio/glocalfileinfo.c:
1376 Check for a NULL parameter and set the GError accordingly then.
1377 * gio/goutputstream.c:
1378 Fix the same bug as in gfile.c that could've caused writing less bytes
1379 than reading in g_output_stream_real_splice().
1381 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1384 Use the correct gvolumeprivate.h naming
1386 2007-11-01 Christian Kellner <gicmo@gnome.org>
1389 Remove leftover "$(daemon_sources)" entry.
1391 2007-11-01 Christian Kellner <gicmo@gnome.org>
1396 Add copyright information to source files.
1398 2007-11-01 Alexander Larsson <alexl@redhat.com>
1402 Add g_file_get_uri_scheme
1404 2007-11-01 Alexander Larsson <alexl@redhat.com>
1407 * gio/gdesktopappinfo.c:
1408 * gio/gwin32appinfo.c:
1409 Add g_app_info_get_default_for_uri_scheme.
1411 2007-11-01 Alexander Larsson <alexl@redhat.com>
1414 Correct filename for gdriveprivate.h
1416 2007-10-31 Alexander Larsson <alexl@redhat.com>
1419 Rename id:value to id:file
1422 * gio/glocalfileinfo.c:
1425 2007-10-31 Alexander Larsson <alexl@redhat.com>
1427 * gio/gunixvolume.c:
1429 Remove g_volume_get_platform_id, as thats not
1430 needed with the simpler union volume monitor
1432 2007-10-31 Alexander Larsson <alexl@redhat.com>
1435 * gio/guniondrive.[ch]: Removed.
1436 * gio/gunionvolume.[ch]: Removed.
1437 Remove GUnionDrive/Volume
1439 * gio/gunionvolumemonitor.c:
1440 Simplify union volume monitor, now we
1441 only have one native volume monitor and
1442 we use the actual volumes/drives from the
1443 child monitors instead of wrapping them
1445 * gio/gnativevolumemonitor.[ch]:
1446 Base class for native volume monitors.
1447 Includes priority and get_volume_for_mountpoint
1450 Add g_file_find_enclosing_volume
1453 Remove volume name fs attribute
1454 Add readonly fs attribute
1457 Implement readonly attribute
1458 remove volume name attribute
1459 Implement find_enclosing volume
1461 * gio/gunixmounts.c:
1462 Add a volume for "/".
1464 * gio/gunixvolume.[ch]:
1465 Set better name for /
1467 * gio/gunixvolumemonitor.[ch]:
1468 Derive from GNativeVolumeMonitor
1469 Implement get_volume_for_mountpoint
1472 GVolume typedef moved to gfile.h
1474 * gio/gvolumeprivate.h:
1475 Add g_volume_get_for_mount_path
1477 2007-10-31 Alexander Larsson <alexl@redhat.com>
1479 * gio/gunixmounts.[ch]:
1480 Add cache info to unix mount listers
1481 Make getmntent use threadsafe
1482 Add is_system_internal attribute for GUnixMount
1484 * gio/gunixvolume.c:
1485 (g_unix_volume_new):
1486 Use is_system_internal instead of own code
1488 * gio/glocaldirectorymonitor.c:
1489 * gio/gunixvolumemonitor.c:
1490 Update to new gunixmounts API
1495 2007-10-30 Alexander Larsson <alexl@redhat.com>
1498 Add volume name fsinfo attribute
1501 Read volume name info
1503 * gio/gunionvolumemonitor.c:
1504 Fix infinite loops when finalizing a union volume monitor
1506 2007-10-30 Alexander Larsson <alexl@redhat.com>
1508 * gio/goutputstream.[ch]:
1509 Add splice() with default implementation
1511 * gio/gsocketoutputstream.c:
1512 (g_socket_output_stream_write):
1513 Return error on cancellation correctly.
1515 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1517 * gio/glocalfile.c (g_local_file_trash):
1518 Do not leak a string.
1520 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1522 * gio/gfile.c (g_file_load_contents):
1523 Unref the stream after closing it.
1525 2007-10-25 Alexander Larsson <alexl@redhat.com>
1527 * gio/gioscheduler.h:
1530 2007-10-25 Alexander Larsson <alexl@redhat.com>
1534 Add g_file_has_uri_scheme and implement for local files
1536 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1538 * gio/gdesktopappinfo.c: do not leak a string.
1540 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1542 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1543 (g_local_directory_monitor_new):
1544 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1545 (g_local_file_monitor_new):
1546 Only look for the monitor type that should be used the first time
1547 and use g_qsort_with_data() instead of our own bubble sort
1550 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1553 * gio/fam/Makefile.am:
1554 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1555 * gio/fam/fam-helper.h:
1556 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1557 * gio/fam/gfamdirectorymonitor.c:
1558 * gio/fam/gfamdirectorymonitor.h:
1559 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1560 * gio/fam/gfamfilemonitor.h:
1561 * gio/glocaldirectorymonitor.c:
1562 * gio/glocaldirectorymonitor.h:
1563 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1564 * gio/glocalfilemonitor.h:
1565 * gio/inotify/Makefile.am:
1566 * gio/inotify/ginotifydirectorymonitor.c:
1567 * gio/inotify/ginotifydirectorymonitor.h:
1568 * gio/inotify/ginotifyfilemonitor.c:
1569 * gio/inotify/ginotifyfilemonitor.h:
1570 Implement the FAM and Inotify monitors as
1571 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1572 their own GIO module. GLocal(Directory|File)Monitor will use the
1573 monitor with the highest rank that is supported on that machine.
1575 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1578 Change GIO module dir to $(libdir)/gio/modules and change
1579 the log domain from GVFS to GIO. Also only export symbols starting
1580 with g_ in the resulting library.
1581 * gio/test-streams.c: (main):
1582 Set log handler for the GIO log domain.
1584 2007-10-22 Alexander Larsson <alexl@redhat.com>
1586 * gio/gfilenamecompleter.[ch]:
1587 Add g_filename_completer_set_dirs_only
1589 2007-10-22 Alexander Larsson <alexl@redhat.com>
1592 * gio/gurifuncs.[ch]:
1593 Add some simple URI helpers
1595 * gio/gfilenamecompleter.[ch]:
1596 Added object for filename (parse name actually) completion
1599 Handle ~ in parse names
1601 2007-10-17 Alexander Larsson <alexl@redhat.com>
1604 * gio/glocalfileinfo.c:
1605 Add and implement id:value attribute
1607 2007-10-17 Alexander Larsson <alexl@redhat.com>
1610 * gio/guniondrive.c:
1612 Add and implement g_drive_has_volumes
1614 2007-10-17 Alexander Larsson <alexl@redhat.com>
1617 * gio/glocalfileinfo.[ch]:
1618 Add unix:is_mountpoint and implement for local files
1620 2007-10-16 Alexander Larsson <alexl@redhat.com>
1622 * gio/gunionvolumemonitor.c:
1623 (g_union_volume_monitor_init):
1624 Fix up the unix type getting so that it works with gcc
1626 2007-10-12 Alexander Larsson <alexl@redhat.com>
1629 * gio/glocalfileinfo.c:
1630 Add thumbnail:failed to file info
1632 2007-10-12 Richard Hult <richard@imendio.com>
1634 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1635 optimizing away the get_type call (happens with some gcc versions,
1636 like the one shipped with OS X 10.4).
1638 2007-10-12 Alexander Larsson <alexl@redhat.com>
1640 * gio/glocalfileinfo.c:
1641 (_g_local_file_info_set_attribute):
1642 Fix build if not HAVE_XATTR
1643 Patch from Milosz Derezynski <internalerror@gmail.com>
1645 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1647 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1648 around for review, otherwise I would have asked you before
1651 2007-10-11 Alexander Larsson <alexl@redhat.com>
1654 Add thumbnail:path attribute
1656 * gio/glocalfileinfo.c:
1657 Implement thumbnail:path for local files
1659 2007-10-11 Alexander Larsson <alexl@redhat.com>
1661 * gio/glocalfileinfo.c:
1662 (_g_local_file_info_get):
1663 Avoid duplicate icon names
1665 2007-10-11 Alexander Larsson <alexl@redhat.com>
1667 * gio/gthemedicon.[ch]:
1668 Change g_themed_icon_get_names return type to const
1670 2007-10-10 Alexander Larsson <alexl@redhat.com>
1672 * gio/glocalfileinfo.c:
1673 Don't reference freed memory
1675 2007-10-10 Alexander Larsson <alexl@redhat.com>
1677 * gio/gfileattribute.c:
1680 * gio/glocalfileinfo.c:
1683 2007-10-10 Alexander Larsson <alexl@redhat.com>
1686 Check for NULL icons
1688 * gio/gfileattribute.c:
1689 Don't dup when getting objects (same as for string attributes)
1691 * gio/gicon.c (g_icon_equal):
1692 Safely handle NULLs in equal
1694 2007-10-10 Alexander Larsson <alexl@redhat.com>
1697 Fix c++ compilation issues
1698 Patch from Milosz Derezynski <internalerror@gmail.com>
1700 2007-10-10 Alexander Larsson <alexl@redhat.com>
1702 * programs/gio-monitor-dir.c:
1703 Don't crash if dir monitor not supported.
1705 2007-10-09 Alexander Larsson <alexl@redhat.com>
1708 Add missing G_END_DECLS
1710 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1712 * gio/gfile.c: (g_file_set_display_name),
1713 (g_file_query_settable_attributes),
1714 (g_file_query_writable_namespaces):
1715 Return NULL not FALSE on errors as the return type is a pointer.
1717 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1719 * gio/glocalfile.c: (g_local_file_monitor_file):
1720 Don't call monitor_file on the default interface vtable (which
1721 is NULL) but simply return NULL. The caller, GFile, will create a
1722 polling monitor if NULL is returned.
1724 2007-10-09 Alexander Larsson <alexl@redhat.com>
1728 * gio-unix-2.0.pc.in:
1729 Add gio-unix-2.0.pc if OS_UNIX
1732 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1734 2007-10-09 Alexander Larsson <alexl@redhat.com>
1736 * gio/gunixmounts.[ch]:
1737 Make unix mount monitoring API sane.
1738 Now its just a object with mounts_changed
1739 and mountpoints_changed signals.
1741 * gio/glocaldirectorymonitor.c:
1742 * gio/gunixvolumemonitor.c:
1743 Use new mount monitor api
1745 2007-10-09 Alexander Larsson <alexl@redhat.com>
1747 * gio/gunixmounts.[ch]:
1748 Move guess type into one call for mounts and one for mountpoints
1751 * gio/gunixvolume.c:
1754 2007-10-09 Alexander Larsson <alexl@redhat.com>
1756 * gio/gunixmounts.[ch]:
1757 Remove _ prefix in preparation to make this semi-public
1758 Hide implementation of structs
1760 * gio/glocaldirectorymonitor.c:
1762 * gio/gunixvolume.c:
1763 * gio/gunixvolumemonitor.c:
1764 Update for above API changes
1766 2007-10-08 Alexander Larsson <alexl@redhat.com>
1769 Better polling fallback. This also handles the case where we have
1770 a monitor_file implementation, but it fails.
1772 2007-10-08 Alexander Larsson <alexl@redhat.com>
1776 * gio/gunixmounts.c:
1777 * programs/gio-monitor-dir.c:
1778 * programs/gio-monitor-file.c:
1779 Added cancellable to file monitoring calls.
1780 These are really sync calls and need this.
1782 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1784 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1785 (g_local_vfs_class_init):
1786 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1787 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1789 2007-10-05 Alexander Larsson <alexl@redhat.com>
1791 * gio/gdirectorymonitorprivate.h:
1792 * gio/gfilemonitorprivate.h:
1793 * gio/gdirectorymonitor.h:
1794 * gio/gfilemonitor.h:
1795 Remove *private.h and move to the public API, so that
1796 we can do implementations outside gio (such as in gvfs)
1798 * gio/gdirectorymonitor.c:
1799 * gio/gfilemonitor.c:
1800 * gio/glocaldirectorymonitor.c:
1801 * gio/gpollfilemonitor.c:
1802 * gio/inotify/inotify-helper.c:
1803 * gio/fam/fam-helper.c:
1804 Update to the new header names
1806 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
1808 * gio/gdirectorymonitor.c:
1809 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1812 2007-10-04 Alexander Larsson <alexl@redhat.com>
1814 * gio/glocalfileinfo.c (get_access_rights):
1815 Set CAN_TRASH when we can move the file.
1816 We should really also check for a parent trash dir.
1818 2007-10-04 Alexander Larsson <alexl@redhat.com>
1820 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1821 Add can_trash access attribute
1823 2007-10-04 Alexander Larsson <alexl@redhat.com>
1826 (g_local_file_trash):
1827 Create info file first. This is per-spec and allows
1828 us to actually trash directories.
1830 2007-10-02 Alexander Larsson <alexl@redhat.com>
1832 * gio/gdesktopappinfo.c:
1833 Implement the new mime support code.
1834 Always set app as handling mimetype when being set as default for it
1836 2007-10-01 Alexander Larsson <alexl@redhat.com>
1838 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
1839 Fix up check for xattrs:
1841 2007-10-01 Alexander Larsson <alexl@redhat.com>
1844 (g_app_info_set_as_default_for_extension):
1845 (g_app_info_add_supports_type):
1846 (g_app_info_can_remove_supports_type):
1847 (g_app_info_remove_supports_type):
1848 Make these fail nicely if not implemented
1850 2007-10-01 Paolo Borelli <pborelli@katamail.com>
1852 * gio/glocalfileoutputstream.c:
1853 * gio/glocalfileoutputstream.h:
1858 * programs/gio-save.c:
1859 Add a GFileCreateFlags argument to operations that can create
1862 2007-10-01 Alexander Larsson <alexl@redhat.com>
1864 * gio/gappinfo.[ch]:
1865 * gio/gdesktopappinfo.c:
1866 Add more (stubbed out) mime API needed for nautilus
1868 2007-10-01 Alexander Larsson <alexl@redhat.com>
1871 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
1872 Add g_app_info_set_as_default_for_extension.
1874 * gio/gdesktopappinfo.c:
1875 Dummy for g_app_info_set_as_default_for_extension
1876 Support flags in g_app_info_create_from_commandline
1878 * gio/gwin32appinfo.c:
1880 Update for API changes
1882 * gio/gthemedicon.c:
1883 Properly NULL-terminate list of icon names
1885 2007-09-28 Alexander Larsson <alexl@redhat.com>
1887 * gio/gloadableicon.h:
1888 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
1890 2007-09-28 Alexander Larsson <alexl@redhat.com>
1893 Install headers in $includedir/gio-standalone/
1895 * gio-2.0.pc.in: Added.
1896 * gio-standalone.pc.in: Removed.
1899 Renamed pkg-config file to match glib (for future move)
1900 Update to the new include dir
1903 Add more TODO comments
1905 2007-09-28 Alexander Larsson <alexl@redhat.com>
1907 * gio/gdesktopappinfo.[ch]:
1908 Expose new_from_filename
1909 Add getter for is_hidden and handle it better
1911 2007-09-28 Alexander Larsson <alexl@redhat.com>
1913 * gio/gfileinfo.[ch]:
1914 Rename g_file_size_format_for_display to
1915 g_format_file_size_for_display.
1916 Now it doesn't have the g_file prefix, so we
1917 can later move it to glib.
1919 2007-09-28 Alexander Larsson <alexl@redhat.com>
1921 * gio/gappinfo.[ch]:
1922 Add g_app_info_get_id and g_app_info_get_executable.
1923 Make all getters non-reffing
1924 Make g_app_info_launch take GFile arguments.
1925 Add must_support_uris argument to g_app_info_get_default_for_type.
1927 * gio/gwin32appinfo.c:
1928 Update to GAppInfo api changes
1930 * gio/gdesktopappinfo.c:
1931 Update to GAppInfo api changes
1932 Implement supports_xdg_startup_notify
1934 * gio/gfileicon.c (g_file_icon_get_file):
1935 Make getter non-reffing.
1940 2007-09-27 Alexander Larsson <alexl@redhat.com>
1942 * gio/gfileinfo.[ch]:
1943 Add g_file_size_format_for_display helper
1945 2007-09-27 Alexander Larsson <alexl@redhat.com>
1947 * gio/glocalfileinfo.c:
1948 Set UNIX_GID from gid, not from uid
1950 2007-09-27 Alexander Larsson <alexl@redhat.com>
1953 Add g_file_set_attributes_async
1955 2007-09-27 Alexander Larsson <alexl@redhat.com>
1957 * gio/glocalfile.c (g_local_file_set_display_name):
1958 Fix set_display_name to actually rename to the right place.
1959 Use lstat to look for existing files so we don't overwrite
1962 2007-09-26 Alexander Larsson <alexl@redhat.com>
1965 Add g_file_set_display_name_async()
1967 2007-09-26 Alexander Larsson <alexl@redhat.com>
1970 Add load_partial_contents async calls
1973 Make internal function static
1975 2007-09-26 Alexander Larsson <alexl@redhat.com>
1977 * gio/glocalfileinfo.c:
1978 Correctly detect broken symlinks
1980 2007-09-26 Alexander Larsson <alexl@redhat.com>
1982 * gio/gcancellable.c (g_cancellable_cancel):
1983 Allow cancel on NULL cancellable
1985 2007-09-25 Alexander Larsson <alexl@redhat.com>
1987 * gio/gsimpleasyncresult.c:
1988 Don't allocate g_error manually.
1989 Fixes g_slice/g_new mixup crash
1991 2007-09-25 Alexander Larsson <alexl@redhat.com>
1993 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
1994 Actually set active_backend.
1995 This means the monitor will be cancelled correctly.
1997 2007-09-25 Alexander Larsson <alexl@redhat.com>
1999 * gio/gdirectorymonitor.c:
2000 Set timeout to NULL when destroying
2002 2007-09-25 Alexander Larsson <alexl@redhat.com>
2005 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2006 that is a better description of the error.
2008 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2010 * gio/gvfs.c: (g_vfs_get_local):
2011 Make the local vfs variable static. The same instance should
2014 2007-09-24 Alexander Larsson <alexl@redhat.com>
2016 * gio/glocalfileinfo.c:
2017 Pass in actual length read into sniffer, not the length
2020 2007-09-21 Alexander Larsson <alexl@redhat.com>
2022 * gio/gfileenumerator.c:
2025 * gio/gfileinputstream.c:
2026 * gio/gfileoutputstream.c:
2027 * gio/ginputstream.c:
2028 * gio/goutputstream.c:
2029 Don't crash if async callbacks are NULL
2031 2007-09-20 Alexander Larsson <alexl@redhat.com>
2034 Add async enumerate_children method and default
2037 2007-09-20 Alexander Larsson <alexl@redhat.com>
2040 Add g_file_contains_file & g_file_get_relative_path, since they
2041 were needed for nautilus.
2042 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2047 Implement new methods
2049 2007-09-17 Alexander Larsson <alexl@redhat.com>
2052 * gio/gfileinputstream.[ch]:
2053 * gio/gfileoutputstream.[ch]:
2055 * gio/glocalfileenumerator.[ch]:
2056 * gio/glocalfileinfo.[ch]:
2057 * gio/glocalfileinputstream.c:
2058 * gio/glocalfileoutputstream.c:
2059 * gio/gpollfilemonitor.c:
2060 * programs/gio-copy.c:
2061 * programs/gio-info.c:
2062 * programs/gio-move.c:
2063 Rename get_file_info to query_info() to make it clearer
2064 that these are not simple getters, but do i/o.
2066 2007-09-17 Alexander Larsson <alexl@redhat.com>
2068 * gio/gdatainputstream.[ch]:
2069 * gio/test-streams.c:
2070 Use _read_XXX instead of _get_XXX for the i/o calls
2073 2007-09-17 Alexander Larsson <alexl@redhat.com>
2076 Added needed stuff to TODO comment
2078 2007-09-17 Alexander Larsson <alexl@redhat.com>
2080 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2081 Don't error out removing the backup copy if it doesn't
2084 2007-09-14 Alexander Larsson <alexl@redhat.com>
2086 * programs/Makefile.am:
2087 * programs/gvfs-*.c:
2089 Renamed apps from gvfs-xxx to gio-xxx.
2091 2007-09-14 Alexander Larsson <alexl@redhat.com>
2094 * gio/gfileoutputstream.[ch]:
2095 * gio/glocalfileoutputstream.c:
2096 * programs/gvfs-save.c:
2097 g_file_output_stream_get_etag doesn't do i/o, so remove
2098 cancellation and error.
2100 2007-09-14 Alexander Larsson <alexl@redhat.com>
2103 Add new_etag output to replace_contents functions
2105 2007-09-14 Alexander Larsson <alexl@redhat.com>
2107 * gio/gfileoutputstream.[ch]:
2108 Add async get_file_info and default implementation
2110 2007-09-14 Alexander Larsson <alexl@redhat.com>
2112 * gio/gfileinputstream.c:
2113 Implement fallback wrapper for async get_file_info
2115 2007-09-14 Alexander Larsson <alexl@redhat.com>
2118 Add etag out argument to load_contents
2123 2007-09-14 Alexander Larsson <alexl@redhat.com>
2125 * gio/gcontenttype.c (looks_like_text):
2126 Whitespace like tab, cr and lf do not make the
2129 2007-09-14 Alexander Larsson <alexl@redhat.com>
2131 * gio/gfileinputstream.[ch]:
2132 Add async get_file_info.
2134 2007-09-13 Alexander Larsson <alexl@redhat.com>
2136 * gio/goutputstream.c (g_output_stream_write_all):
2137 Allow NULL for bytes_written
2139 2007-09-13 Alexander Larsson <alexl@redhat.com>
2141 * gio/gmemoryinputstream.[ch]:
2142 Add accessors for data
2144 2007-09-13 Alexander Larsson <alexl@redhat.com>
2146 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2147 Don't crash if length is NULL