1 2007-12-12 Alexander Larsson <alexl@redhat.com>
5 * gbufferedinputstream.c:
6 * gbufferedoutputstream.c:
9 * gdatainputstream.[ch]:
11 * gdirectorymonitor.c:
13 * gfileattribute.[ch]:
18 * gfileoutputstream.[ch]:
19 * gfilterinputstream.h:
20 * gfilteroutputstream.h:
24 * gmemoryinputstream.c:
27 Fix up a bunch of details in the docs.
32 2007-12-11 David Zeuthen <davidz@redhat.com>
34 Rework how volumes, drives and volume monitoring is
35 done. Previosly the model was
39 where a GDrive instance represented a mount point and a GVolume
40 instance represented a mounted file system. This patch changes it
43 GDrive <1-N> GVolume <1-1> GMount
45 where GMount now serves the purpose of the old GVolume and the new
46 GVolume serves the purpose of the old GDrive. In addition the new
47 GDrive interface is used to represent a collection of GVolume
48 instances (typically partitions) and also contains utility to query
49 the state of the physical drive the GDrive object represents (such
50 as checking for media, polling the drive, ejecting the media etc.).
52 Also implement mounting and unmounting in the Unix volume monitor
53 backend. A subquent patch will introduce GDrive support for ejection
57 * gdrive.c: (g_drive_is_media_check_automatic),
58 (g_drive_is_media_removable), (g_drive_has_media),
59 (g_drive_can_poll_for_media), (g_drive_eject),
60 (g_drive_eject_finish), (g_drive_poll_for_media),
61 (g_drive_poll_for_media_finish):
63 * gfile.c: (g_file_find_enclosing_mount):
66 * glocaldirectorymonitor.c:
67 (g_local_directory_monitor_constructor), (mounts_changed):
68 * glocalfile.c: (get_mount_info),
69 (g_local_file_find_enclosing_mount),
70 (g_local_file_file_iface_init):
71 * gnativevolumemonitor.h:
72 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
73 (get_connected_drives), (g_union_volume_monitor_class_init),
74 (child_volume_added), (child_volume_removed),
75 (child_volume_changed), (child_mount_added), (child_mount_removed),
76 (child_mount_pre_unmount), (child_mount_changed),
77 (child_drive_changed), (g_union_volume_monitor_add_monitor),
78 (g_union_volume_monitor_remove_monitor),
79 (_g_mount_get_for_mount_path):
80 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
81 (guess_system_internal), (_g_get_unix_mounts),
82 (_g_get_unix_mount_points), (g_get_unix_mount_at),
83 (g_unix_mount_free), (g_unix_mount_compare),
84 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
85 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
86 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
87 (type_to_icon), (g_unix_mount_guess_name),
88 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
89 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
90 (_resolve_symlink), (_resolve_dev_root):
92 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
93 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
94 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
95 (g_unix_volume_get_name), (g_unix_volume_can_mount),
96 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
97 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
98 (g_unix_volume_mount), (g_unix_volume_mount_finish),
99 (g_unix_volume_volume_iface_init):
101 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
102 (get_mounts), (get_volumes), (get_connected_drives),
103 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
104 (mountpoints_changed), (mounts_changed),
105 (g_unix_volume_monitor_init),
106 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
107 (find_mount_by_mountpath), (update_volumes), (update_mounts):
108 * gunixvolumemonitor.h:
109 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
110 (g_volume_mount), (g_volume_mount_finish):
112 * gvolumemonitor.c: (g_volume_monitor_class_init),
113 (g_volume_monitor_get_connected_drives),
114 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
117 2007-12-10 Matthias Clasen <mclasen@redhat.com>
119 * gmountoperation.h (GPasswordFlags): Close the gap
121 2007-12-10 Matthias Clasen <mclasen@redhat.com>
123 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
125 * gdesktopappinfo.[hc]: Remove _-prefixes
127 2007-12-10 Tor Lillqvist <tml@novell.com>
129 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
132 2007-12-10 Alexander Larsson <alexl@redhat.com>
134 * gfile.c (g_file_set_display_name):
135 Don't hardcode '/' (#502727)
137 2007-12-09 Hans Breuer <hans@breuer.org>
139 * makefile.msc : follow lib naming convention
140 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
141 for user and group name, tested with ../tests/gio-ls
143 2007-12-09 A. Walton <awalton@svn.gnome.org>
156 * gmemoryinputstream.c:
157 * gmemoryoutputstream.c:
159 * gsimpleasyncresult.c:
160 More documentation cleanup and filling in missing information, bringing
161 GIO to 99% symbol coverage.
163 2007-12-08 Hans Breuer <hans@breuer.org>
165 [gio compiles and links on win32, not sure how much already works]
166 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
167 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
168 base on win32 API; prefer g_lstat() over lstat(); instead of
169 localtime_r() use an all GLib implementation on win32;
170 get_mount_info() still needs a win32 specifc implementation
171 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
172 win32_get_file_user_info to get owner/group info without uid/gid
173 * glocalfileinputstream.c : include <io.h> on win32
174 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
175 definition, use g_win32_ftruncate() for G_OS_WIN32
176 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
177 it is available with mingw/w32api but a mess with the M$ Platform SDKs
178 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
179 * makefile.msc : updated
181 2007-12-07 Alexander Larsson <alexl@redhat.com>
183 * glocalfileenumerator.c (_g_local_file_enumerator_new):
184 Avoid warning spew if error == NULL
186 2007-12-07 Alexander Larsson <alexl@redhat.com>
189 Update docs wrt etags
191 2007-12-06 Alexander Larsson <alexl@redhat.com>
194 Include sys/types.h for dev_t (#501919)
196 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
200 Make abicheck and pltcheck pass.
202 2007-12-05 Alexander Larsson <alexl@redhat.com>
205 * giomodule-priv.h: Added.
206 * glocaldirectorymonitor.c:
207 * glocalfilemonitor.c:
208 * gunionvolumemonitor.c:
210 Actually add the declaration of _g_io_modules_ensure_loaded
212 2007-12-05 Alexander Larsson <alexl@redhat.com>
214 * gdatainputstream.c:
219 * glocaldirectorymonitor.c:
220 * glocalfilemonitor.c:
221 * gunionvolumemonitor.c:
223 Make g_io_modules_ensure_loaded a private function and
224 don't pass in the dirname. This means we can do magic
225 directory finding in the win32 version.
226 Export the actual load-modules-in-directory code so that
229 2007-12-05 Alexander Larsson <alexl@redhat.com>
231 * gbufferedinputstream.c:
232 * gbufferedoutputstream.c:
235 * gfileenumerator.[ch]:
236 * gfileinputstream.c:
237 * gfileoutputstream.[ch]:
238 * gfilterinputstream.c:
239 * gfilteroutputstream.c:
242 * glocalfileenumerator.c:
243 * glocalfileinputstream.c:
244 * glocalfileoutputstream.c:
245 * gmemoryinputstream.c:
246 * gmemoryoutputstream.c:
247 * goutputstream.[ch]:
250 * gunixinputstream.c:
251 * gunixoutputstream.c:
252 Rename all struct members named:
253 read, write, close, truncate, or mount
254 to foo_fn, as these are reserved names
255 and could be defined as macros in libc.
258 2007-12-04 Alexander Larsson <alexl@redhat.com>
261 (g_output_stream_close):
262 Only call flush if non-null.
264 2007-11-30 Dan Winship <danw@gnome.org>
266 * ginputstream.c (g_input_stream_set_pending): Make this take a
267 GError and return a gboolean, and do the "outstanding operation"
268 check (and the "stream is already closed" check) itself.
269 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
271 * goutputstream.c (g_output_stream_set_pending)
272 (g_output_stream_clear_pending): Likewise
274 * gbufferedinputstream.c:
275 * gfileinputstream.c:
276 * gfileoutputstream.c: Update for that
278 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
279 Like g_simple_async_report_error_in_idle, but takes a GError
280 rather than building one.
282 2007-11-30 Dan Winship <danw@gnome.org>
284 * goutputstream.c: Don't cheat and unset the "pending" flag around
285 inner calls. Instead, call the class method directly rather than
286 the wrapper function that checks "pending"
288 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
290 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
292 2007-12-03 Hans Breuer <hans@breuer.org>
294 [start of port to win32/msvc]
295 * gcancellable.c : HAVE_UNIST_H and _pipe()
296 * gcontenttype.c : only include <dirent.h> in the UNIX branch
297 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
298 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
300 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
301 * glocalvfs.c : use HAVE_PWD_H
302 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
303 * makefile.msc : new file (maybe later converted to makefile.msc.in)
304 * Makefile.am : added to EXTRA_DIST
306 2007-12-03 Matthias Clasen <mclasen@redhat.com>
308 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
311 2007-12-03 Alexander Larsson <alexl@redhat.com>
314 Handle OSX style xattrs API (#500506)
316 2007-12-03 Alexander Larsson <alexl@redhat.com>
320 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
322 2007-12-02 A. Walton <awalton@svn.gnome.org>
326 Documentation accuracy fixes.
328 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
330 * gioenumtypes.c.template: Fix typo.
332 2007-12-01 Matthias Clasen <mclasen@redhat.com>
334 * gioenumtypes.c.template: Make threadsafe get_type() functions.
336 2007-12-01 Matthias Clasen <mclasen@redhat.com>
338 * gdirectorymonitor.c:
339 * gfilemonitor.c: Add properties
341 * gbufferedoutputstream.c: Don't mark buffer-size property
344 2007-12-01 Matthias Clasen <mclasen@redhat.com>
346 * gbufferedoutputstream.c: Add auto-grow property.
348 2007-11-30 Matthias Clasen <mclasen@redhat.com>
350 * *.c: Unify the capitalization of section headings.
352 2007-11-30 Matthias Clasen <mclasen@redhat.com>
354 * gmountoperation.c: Add properties
356 * gdatainputstream.c: Turn byte-order and newline-type into
359 2007-11-30 Matthias Clasen <mclasen@redhat.com>
361 * gioenumtypes.[hc].template: Templates for enum registration
363 * Makefile.am: Generate gioenumtypes.[hc]
365 * gio.h: Include gioenumtypes.h
367 * gfile.h: Add some explicit nicks.
369 * gio.symbols: Add new symbols
371 * pltcheck.sh: Adjust
373 2007-11-30 Matthias Clasen <mclasen@redhat.com>
375 * *.c: Explain etags and link to the explanation
377 2007-11-29 Matthias Clasen <mclasen@redhat.com>
379 * *.c: Explain I/O priority.
381 * *.c: More coding style fixes.
383 2007-11-29 Matthias Clasen <mclasen@redhat.com>
385 * gasyncresult.c: Add another paragraph to the intro,
386 adjust coding style of example.
388 2007-11-29 A. Walton <awalton@svn.gnome.org>
391 Fixes unknown meaning in GAppLaunchContext docs.
393 Clarify asynchronous ops.
398 Provides missing gtk-doc section, fixes API docs slighly.
399 * gsimpleasyncresult.c:
400 Fill in missing info in docs.
401 * gunixinputstream.c:
402 * gunixoutputstream.c:
403 Be more expressive in short description.
405 Remove gtk-doc stubs for non-public API.
407 2007-11-28 Matthias Clasen <mclasen@redhat.com>
409 * *.c: Coding style fixups
411 2007-11-28 Matthias Clasen <mclasen@redhat.com>
413 * inotify/inotify-helper.c: Don't export the lock from libgio.
415 2007-11-28 Matthias Clasen <mclasen@redhat.com>
418 * abicheck.sh: Fix copy-and-paste leftovers
420 2007-11-28 Matthias Clasen <mclasen@redhat.com>
422 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
424 2007-11-28 Alexander Larsson <alexl@redhat.com>
428 Removed unnecessary file
430 * gdesktopappinfo.[ch]:
433 * glocaldirectorymonitor.[ch]:
435 * glocalfileenumerator.[ch]:
436 * glocalfileinputstream.[ch]:
437 * glocalfilemonitor.[ch]:
438 * glocalfileoutputstream.[ch]:
440 * gnativevolumemonitor.c:
441 * gpollfilemonitor.[ch]:
442 * gunionvolumemonitor.[ch]:
445 * gunixvolumemonitor.[ch]:
448 * inotify/ginotifydirectorymonitor.[ch]:
449 * inotify/ginotifyfilemonitor.[ch]:
450 * inotify/inotify-helper.c:
451 Append _ to all internal functions
455 Export symbols needed for modules
457 2007-11-28 Alexander Larsson <alexl@redhat.com>
460 * abicheck.sh: Added.
461 * makegioalias.pl: Added.
462 * pltcheck.sh: Added.
463 * gio.symbols: Added.
466 Initial work on adding symbol handling.
469 Correct ifdef guard name
472 * inotify/Makefile.am:
473 * xdgmime/Makefile.am:
474 Include toplevel Makefile.decl
476 2007-11-27 Matthias Clasen <mclasen@redhat.com>
478 * gcontenttype.c: Move doc comments to the unix section.
480 * *.[hc]: More trivial doc corrections.
482 2007-11-27 Matthias Clasen <mclasen@redhat.com>
484 * gpollfilemonitor.c:
493 * gdatainputstream.c:
494 * gdatainputstream.h:
495 * gdataoutputstream.c:
496 * gdataoutputstream.h:
497 * gfileinfo.h: Doc cleanups
499 2007-11-28 Andre Klapper <a9016009@gmx.de>
501 * gdesktopappinfo.c: Fix a typo.
503 2007-11-27 Andre Klapper <a9016009@gmx.de>
505 * glocalfileoutputstream.c: Fix a typo.
507 2007-11-27 Alexander Larsson <alexl@redhat.com>
510 Don't include removed headers
512 2007-11-27 Alexander Larsson <alexl@redhat.com>
515 * gsocketinputstream.[ch]: Removed.
516 * gsocketoutputstream.[ch]: Removed.
517 * gunixinputstream.[ch]: Added.
518 * gunixoutputstream.[ch]: Added.
519 Renamed GSocket*Stream to GUnix*Stream and made
520 it unix-only, since its not really only for sockets
521 and it only works on unix (but is highly useful there).
523 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
529 * gbufferedinputstream.c:
530 * gbufferedinputstream.h:
531 * gbufferedoutputstream.c:
532 * gbufferedoutputstream.h:
536 * gdatainputstream.c:
537 * gdatainputstream.h:
538 * gdataoutputstream.c:
539 * gdataoutputstream.h:
540 * gdirectorymonitor.c:
541 * gdirectorymonitor.h:
554 * gfileinputstream.c:
555 * gfileinputstream.h:
558 * gfilenamecompleter.c:
559 * gfilenamecompleter.h:
560 * gfileoutputstream.c:
561 * gfileoutputstream.h:
562 * gfilterinputstream.c:
563 * gfilterinputstream.h:
564 * gfilteroutputstream.c:
565 * gfilteroutputstream.h:
578 * glocalfileoutputstream.c:
579 * gmemoryinputstream.c:
580 * gmemoryinputstream.h:
581 * gmemoryoutputstream.c:
582 * gmemoryoutputstream.h:
587 * gpollfilemonitor.c:
590 * gsimpleasyncresult.c:
591 * gsimpleasyncresult.h:
592 * gsocketinputstream.c:
593 * gsocketinputstream.h:
594 * gsocketoutputstream.c:
595 * gsocketoutputstream.h:
602 * gunixvolumemonitor.c:
611 Bumps documentation to 93% symbol coverage, touching most
612 of the public files. Fixes broken function documentation prototypes.
613 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
614 gtk-doc headers in private files.
616 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
618 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
619 (g_buffered_input_stream_read_byte):
620 * gbufferedinputstream.h:
621 New functions for efficient access to buffer and simple single byte
624 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
625 (g_data_input_stream_read_until):
626 * gdatainputstream.h:
627 Use peek_buffer to avoid memcpy in scan_for_newline, implement
628 read_until with multiple stop chars.
630 2007-11-27 Alexander Larsson <alexl@redhat.com>
634 * inotify/Makefile.am:
635 Use the user-specified giomoduledir
637 2007-11-27 Alexander Larsson <alexl@redhat.com>
641 Add catch-all gio.h header
642 Don't install gdummyfile.h
644 2007-11-26 Alexander Larsson <alexl@redhat.com>
646 * Makefile.am (gioinclude_HEADERS):
647 Remove trailing whitespace
649 2007-11-26 Alexander Larsson <alexl@redhat.com>
651 Merge gio-standalone into glib
653 2007-11-25 Christian Kellner <gicmo@gnome.org>
655 * gio/goutputstream.c:
656 Fix small mistake in the docs.
658 2007-11-21 Christian Persch <chpe@gnome.org>
660 * gio/glocalfile.c: (g_local_file_trash):
661 Convert filenames to UTF-8 for GError.
662 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
663 as per xdg base dir spec.
665 2007-11-21 Christian Persch <chpe@gnome.org>
667 * gio/gdesktopappinfo.c:
668 Use that g_key_file_to_data cannot fail.
670 Use stock defines for the key file group and key names.
673 2007-11-21 Alexander Larsson <alexl@redhat.com>
676 (copy_stream_with_progress):
677 Make sure we do a final progress callback with
680 2007-11-21 Alexander Larsson <alexl@redhat.com>
683 Export g_file_copy_attributes
684 Remove padding as its not needed for interfaces
686 2007-11-20 Alexander Larsson <alexl@redhat.com>
691 Add G_IO_ERROR_WOULD_MERGE for
692 copy/move dir on dir with overwrite.
694 2007-11-20 Alexander Larsson <alexl@redhat.com>
697 * gio/glocalfileinfo.c:
698 Add COPY_NAME (this is an optional
699 non-modified utf8 version of the name) that
702 2007-11-20 Alexander Larsson <alexl@redhat.com>
704 * gio/glocalfileenumerator.c:
705 Report errors as GIOError, not GFileError
707 2007-11-16 Alexander Larsson <alexl@redhat.com>
709 * gio/glocalfileoutputstream.c:
710 * gio/gwin32appinfo.c:
711 Fix typos in strings.
712 Patch from Luca Ferretti <elle.uca@libero.it>
714 2007-11-15 Alexander Larsson <alexl@redhat.com>
717 Post release version bump
719 === gio-standalone 0.1.2 ===
721 2007-11-15 Alexander Larsson <alexl@redhat.com>
723 * docs/reference/gio/Makefile.am:
724 Fix up distcheck by removing weird
730 2007-11-14 Alexander Larsson <alexl@redhat.com>
732 * gio/gdesktopappinfo.c:
733 * gio/glocaldirectorymonitor.c:
735 * gio/glocalfileinfo.c:
736 * gio/inotify/inotify-sub.c:
737 * programs/gio-cat.c:
738 * programs/gio-copy.c:
739 * programs/gio-info.c:
741 * programs/gio-monitor-dir.c:
742 * programs/gio-monitor-file.c:
743 * programs/gio-mount.c:
744 * programs/gio-move.c:
746 * programs/gio-save.c:
747 * programs/gio-trash.c:
748 Leak fixes from Kjartan Maraas
750 2007-11-14 Alexander Larsson <alexl@redhat.com>
752 * gio/fam/fam-helper.c:
754 * gio/glocalfileinfo.c:
758 * gio/inotify/inotify-diag.c:
759 * gio/inotify/inotify-kernel.c:
760 Various code cleanups from Kjartan Maraas
762 2007-11-14 Alexander Larsson <alexl@redhat.com>
764 * gio/gioscheduler.c:
766 Set up threadpool so that we cache 2 unused
767 idle threads for at 15 secs. This means we
768 will reuse thread-local data (like dbus connections)
771 2007-11-14 Alexander Larsson <alexl@redhat.com>
773 * gio/fam/fam-helper.c:
774 * gio/fam/gfamdirectorymonitor.c:
775 * gio/fam/gfamfilemonitor.c:
777 * gio/gcontenttype.c:
778 * gio/gdatainputstream.c:
779 * gio/gdataoutputstream.c:
783 * gio/gfileattribute.h:
784 * gio/gfileenumerator.c:
786 * gio/ginputstream.c:
789 * gio/glocalfileinfo.c:
790 * gio/goutputstream.c:
791 * gio/gpollfilemonitor.c:
792 * gio/gsimpleasyncresult.c:
795 * gio/inotify/ginotifydirectorymonitor.c:
796 * gio/inotify/ginotifyfilemonitor.c:
797 * gio/inotify/inotify-diag.c:
798 * gio/inotify/inotify-kernel.c:
799 * gio/inotify/inotify-path.c:
801 * gio/test-streams.c:
802 * programs/gio-info.c:
803 * programs/gio-monitor-dir.c:
804 * programs/gio-monitor-file.c:
805 Various code cleanups from Kjartan Maraas
807 2007-11-13 Alexander Larsson <alexl@redhat.com>
810 Handle the uri-scheme calls for dummy files
812 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
814 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
815 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
816 to avoid clash with the C++ keyword.
818 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
820 * gio/glocalfileinfo.c: Build fix, added missing semicolon
821 to an ifdef'ed call to getpwuid() in lookup_uid_data().
823 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
825 * gio/glocaldirectorymonitor.c:
826 * gio/glocalfilemonitor.c:
827 * gio/gunionvolumemonitor.c:
828 Don't use g_once_init_*() for initializations that could fail and
829 could leave the initialization variable set to 0 but use GOnce.
830 This prevents a deadlock on the second call when trying to create
831 a monitor and no monitor type is available. Thanks to Sven Herzberg
834 2007-11-11 Sven Herzberg <sven@imendio.com>
836 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
837 #ifdef (make it work on MacOS X again)
839 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
841 Fixes Changelog for last two commits (sorry guys).
843 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
845 * gio/gbufferedinputstream.c:
846 * gio/gdatainputstream.c:
848 * gio/gfileoutputstream.c:
849 * gio/gfilterinputstream.c:
850 * gio/glocalfileinputstream.c:
853 More consistency fixes in g*stream.c files.
854 Significant clean of gfile's documentation, filling in of
855 asynchronous operations documentation.
857 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
859 * gio/gasyncresult.c:
860 * gio/gbufferedinputstream.c:
861 * gio/gbufferedoutputstream.c:
862 * gio/gcancellable.c:
863 * gio/gcontenttype.c:
864 * gio/gdatainputstream.c:
865 * gio/gdataoutputstream.c:
866 * gio/gdesktopappinfo.c:
869 * gio/gfileattribute.c:
870 * gio/gio/gfileenumerator.c:
872 * gio/gfileinputstream.c:
873 * gio/gfilemonitor.c:
874 * gio/gfileoutputstream.c:
875 * gio/ginputstream.c:
877 * gio/gioscheduler.c:
878 * gio/gloadableicon.c:
879 * gio/glocalfileoutputstream.c:
880 * gio/gmemoryoutputstream.c:
881 * gio/gmountoperation.c:
882 * gio/goutputstream.c:
884 * gio/gsimpleasyncresult.c:
885 * gio/gunionvolumemonitor.c:
891 * gio/gvolumemonitor.c:
892 Updated documentation stubs, working towards consistency and
895 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
897 * gio/gmemoryoutputstream.c:
898 * gio/gmemoryoutputstream.h:
899 Change g_memory_output_stream_set_free_on_close() to
900 g_memory_output_stream_set_free_data() as this makes more sense and
901 is more consistent with GMemoryInputStream.
903 2007-11-07 Alexander Larsson <alexl@redhat.com>
910 Change how we find the default vfs so that
911 we can handle a gvfs failing to init
913 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
915 * gio/gbufferedoutputstream.c:
916 * gio/gdatainputstream.c:
917 * gio/gdataoutputstream.c:
918 * gio/gfileinputstream.c:
919 * gio/gfileoutputstream.c:
920 * gio/gfilterinputstream.c:
921 * gio/gfilteroutputstream.c:
922 * gio/ginputstream.c:
923 * gio/gmemoryinputstream.c:
924 * gio/gmemoryoutputstream.c:
925 * gio/goutputstream.c:
926 * gio/gsimpleasyncresult.c:
927 * gio/gsocketinputstream.c:
928 * gio/gsocketoutputstream.c:
929 Add guards to the remaining public functions, add a TODO for
930 an unimplemented function and remove some useless guards.
932 2007-11-07 Alexander Larsson <alexl@redhat.com>
935 Autoconf checks for the various types of
936 getpwuid_r and getgrgid_r
938 * gio/glocalfileinfo.c:
939 Use the autoconf checks from above
941 2007-11-07 Alexander Larsson <alexl@redhat.com>
944 (g_local_file_query_filesystem_info):
945 Some fixes for the statvfs case
947 2007-11-07 Alexander Larsson <alexl@redhat.com>
950 (g_local_file_query_filesystem_info):
951 Pick the "best" of statfs / statvfs for the system
952 if both are availible.
954 2007-11-07 Alexander Larsson <alexl@redhat.com>
956 Solaris fixes from Halton.Huo@Sun.COM:
963 * gio/glocalfileinfo.c:
964 Fix for solaris definition of getpwuid_r
966 * gio/test-streams.c:
967 Use G_GNUC_PRETTY_FUNCTION
969 2007-11-07 Alexander Larsson <alexl@redhat.com>
971 * gio/gdesktopappinfo.c:
972 (update_default_list):
973 Remove double semicolon.
974 Patch from Jens Granseuer
976 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
978 * docs/reference/gio/gio-sections.txt:
979 * gio/gbufferedinputstream.c:
980 * gio/gbufferedinputstream.h:
981 * gio/gdatainputstream.c:
982 * gio/gfileenumerator.c:
983 * gio/gioscheduler.c:
984 * gio/gunionvolumemonitor.c:
986 * programs/gio-save.c:
987 Fix typo: availible -> available. Unfortuntely this breaks API
988 and ABI as g_buffered_input_stream_get_available() was renamed.
991 * gio/gbufferedinputstream.c:
992 Add guards for public functions.
994 2007-11-06 Ross Burton <ross@openedhand.com>
996 * docs/reference/gio/Makefile.am:
997 Fix invalid += usage which automake 1.10 doesn't like.
999 2007-11-06 Alexander Larsson <alexl@redhat.com>
1002 (g_app_launch_context_class_init):
1005 Patch from Ross Burton
1007 2007-11-06 Alexander Larsson <alexl@redhat.com>
1010 Post release version bump
1012 === gio-standalone 0.1.1 ===
1014 2007-11-06 Alexander Larsson <alexl@redhat.com>
1017 Bump version to 0.1.1
1019 * gio/gsimpleasyncresult.c:
1020 (g_simple_async_result_set_from_error):
1021 Remove bogus g_return_if_fail
1023 2007-11-06 Alexander Larsson <alexl@redhat.com>
1026 The name is gio-standalone
1029 Add top src/builddir to includedir
1031 2007-11-06 Alexander Larsson <alexl@redhat.com>
1033 * docs/reference/gio/gio-sections.txt:
1035 * gio/gbufferedinputstream.c:
1036 * gio/gbufferedoutputstream.c:
1037 * gio/gcancellable.c:
1038 * gio/gdatainputstream.h:
1039 * gio/gdataoutputstream.c:
1040 * gio/gdataoutputstream.h:
1041 * gio/gdirectorymonitor.c:
1043 * gio/gfileattribute.c:
1044 * gio/gfileattribute.h:
1045 * gio/gfileenumerator.c:
1046 * gio/gfileenumerator.h:
1049 * gio/gfileinputstream.h:
1050 * gio/gfilemonitor.c:
1051 * gio/gfileoutputstream.h:
1052 * gio/glocalfilemonitor.h:
1053 * gio/glocalfileoutputstream.h:
1054 * gio/gmemoryinputstream.c:
1055 * gio/gmemoryoutputstream.c:
1056 * gio/gmountoperation.c:
1057 * gio/goutputstream.c:
1058 * gio/goutputstream.h:
1060 * gio/gsimpleasyncresult.c:
1061 * gio/gunixmounts.c:
1062 * gio/gunixmounts.h:
1064 * gio/inotify/inotify-helper.c:
1065 Fix gtk-doc warnings
1067 Patch from Ross Burton
1069 2007-11-06 Alexander Larsson <alexl@redhat.com>
1071 * gio/gfilenamecompleter.c:
1072 (g_filename_completer_get_completions):
1075 * gio/gunixvolume.c:
1076 Remove unused function
1078 Patches from Ross Burton
1080 2007-11-06 Alexander Larsson <alexl@redhat.com>
1085 Padding not needed for interfaces
1087 2007-11-06 Alexander Larsson <alexl@redhat.com>
1089 * gio/gfilemonitor.c:
1093 Make giotypes.h an internal file
1096 * gio/gbufferedinputstream.h:
1097 * gio/gbufferedoutputstream.h:
1098 * gio/gcancellable.h:
1099 * gio/gdatainputstream.h:
1100 * gio/gdataoutputstream.h:
1101 * gio/gdirectorymonitor.c:
1102 * gio/gdirectorymonitor.h:
1107 * gio/gfileattribute.h:
1108 * gio/gfileenumerator.h:
1113 * gio/gfilemonitor.c:
1114 * gio/gfilemonitor.h:
1115 * gio/gfilenamecompleter.c:
1116 * gio/gfilenamecompleter.h:
1117 * gio/gfilterinputstream.h:
1118 * gio/gfilteroutputstream.h:
1119 * gio/ginputstream.h:
1120 * gio/gmemoryinputstream.h:
1121 * gio/gmemoryoutputstream.h:
1122 * gio/gmountoperation.c:
1123 * gio/gmountoperation.h:
1124 * gio/gnativevolumemonitor.c:
1125 * gio/goutputstream.h:
1128 * gio/gsimpleasyncresult.c:
1129 * gio/gsimpleasyncresult.h:
1130 * gio/gsocketinputstream.h:
1131 * gio/gsocketoutputstream.h:
1132 * gio/gthemedicon.c:
1133 * gio/gthemedicon.h:
1137 * gio/gvolumemonitor.c:
1138 * gio/gvolumemonitor.h:
1139 Add padding in classes where it seems useful
1140 Don't include giotypes.h from public headers
1141 Move in Class definitions into c file where possible
1146 2007-11-06 Alexander Larsson <alexl@redhat.com>
1148 * docs/reference/gio/gio-docs.xml:
1149 Better structure for API docs
1151 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1154 * gio/gloadableicon.c:
1155 * gio/gsimpleasyncresult.c:
1156 * gio/gthemedicon.c:
1157 Add some more guards to public functions. Only files missing are now
1160 2007-11-06 Alexander Larsson <alexl@redhat.com>
1162 * docs/reference/gio/gio-docs.xml:
1163 Remove old files, add missing ones
1165 2007-11-06 Alexander Larsson <alexl@redhat.com>
1167 * docs/reference/gio/gio-sections.txt:
1170 Hide implementation classes
1172 * gio/gdriveprivate.h:
1173 * gio/gvolumeprivate.h:
1174 Remove non-existing function declarations
1176 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1179 Fix compilation warnings and add guards to the new functions.
1181 * gio/gasyncresult.c:
1183 Add guards to the public functions.
1186 Implement get_path().
1188 2007-11-06 Alexander Larsson <alexl@redhat.com>
1190 * gio/gfilenamecompleter.c:
1191 Make g_filename_completer_get_completions
1192 return char ** instead of GList for
1195 * docs/reference/gio/gio-docs.xml:
1196 * docs/reference/gio/gio-sections.txt:
1198 * gio/gasyncresult.c:
1199 * gio/gbufferedinputstream.c:
1200 * gio/gbufferedoutputstream.c:
1201 * gio/gcancellable.c:
1202 * gio/gcontenttype.c:
1203 * gio/gdatainputstream.c:
1204 * gio/gdataoutputstream.c:
1205 * gio/gdesktopappinfo.c:
1206 * gio/gdirectorymonitor.c:
1210 * gio/gfileattribute.c:
1211 * gio/gfileenumerator.c:
1214 * gio/gfileinputstream.c:
1215 * gio/gfilemonitor.c:
1216 * gio/gfilenamecompleter.c:
1217 * gio/gfilenamecompleter.h:
1218 * gio/gfileoutputstream.c:
1219 * gio/gfilterinputstream.c:
1221 * gio/ginputstream.c:
1223 * gio/gioscheduler.c:
1224 * gio/gloadableicon.c:
1225 * gio/glocaldirectorymonitor.c:
1227 * gio/glocalfileinputstream.c:
1228 * gio/glocalfilemonitor.c:
1229 * gio/glocalfileoutputstream.c:
1231 * gio/gmemoryinputstream.c:
1232 * gio/gmemoryoutputstream.c:
1233 * gio/gmountoperation.c:
1234 * gio/goutputstream.c:
1235 * gio/gpollfilemonitor.c:
1237 * gio/gsimpleasyncresult.c:
1238 * gio/gsocketinputstream.c:
1239 * gio/gsocketoutputstream.c:
1240 * gio/gthemedicon.c:
1241 * gio/gunionvolumemonitor.c:
1243 * gio/gunixmounts.c:
1244 * gio/gunixvolume.c:
1245 * gio/gunixvolumemonitor.c:
1249 * gio/gvolumemonitor.c:
1250 * gio/gwin32appinfo.c:
1251 Add (mostly stub) doc strings to public functions.
1252 Patch from Andrew Walton (awalton@gmail.com)
1254 2007-11-06 Alexander Larsson <alexl@redhat.com>
1256 * gio/gappinfo.[ch]:
1257 Added GAppLaunchContext object and pass that to launch.
1258 This allows simple implementation of both
1259 launch-on-screen and startup notification via a gtk+
1260 subclass of GAppLaunchContext
1262 * gio/gdesktopappinfo.c:
1263 Implement GAppLaunchContext API
1265 * gio/gwin32appinfo.c:
1268 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1270 * gio/gmountoperation.c:
1271 Add some guards to GMountOperation's public functions.
1273 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1277 * gio/gcancellable.c:
1278 * gio/gdirectorymonitor.c:
1280 * gio/gfileenumerator.c:
1281 * gio/gfilemonitor.c:,
1282 * gio/gfilenamecompleter.c:
1285 * gio/gioscheduler.c:
1289 * gio/gvolumemonitor.c:
1290 Add even more guards to various public functions.
1292 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1295 Add guards to the public functions of GAppInfo.
1297 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1299 * gio/gcontenttype.c:
1300 Add some more guards for public functions.
1302 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1304 * gio/fam/fam-module.c:
1305 * gio/fam/gfamdirectorymonitor.c:
1306 * gio/fam/gfamdirectorymonitor.h:
1307 * gio/fam/gfamfilemonitor.c:
1308 * gio/fam/gfamfilemonitor.h:
1309 * gio/inotify/ginotifydirectorymonitor.c:
1310 * gio/inotify/ginotifydirectorymonitor.h:
1311 * gio/inotify/ginotifyfilemonitor.c:
1312 * gio/inotify/ginotifyfilemonitor.h:
1313 Add proper copyright information and remove an unused variable
1314 in the GInotifyFileMonitor constructor.
1316 * gio/gcancellable.c:
1317 Add a guard for a public function and an assertion to prevent
1318 an undefined program state.
1320 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1322 * gio/gfileattribute.c:
1323 Don't run into an assertion if the given attribute value is NULL
1324 in g_file_attribute_value_get_*() but instead return a fallback
1325 value that makes sense in most situations. Passing them a attribute
1326 value with the wrong type will still run into an assertion.
1328 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1330 * gio/gfileattribute.c:
1332 Add even more guards to the public functions. Also fix the refcounting
1333 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1334 let g_file_info_list_attributes() filter the attributes by namespace
1335 instead of simply ignoring the namespace parameter.
1337 2007-11-03 Sven Herzberg <sven@imendio.com>
1339 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1340 (This makes gio work on MacOS X again)
1342 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1345 Build the gio subdirectory before the docs. Otherwise the build will
1348 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1349 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1350 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1351 Add guards to the public functions.
1353 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1355 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1356 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1357 to prevent a compiler warning.
1359 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1360 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1361 return something in the non-void function find_topdir_for().
1363 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1370 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1372 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1373 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1374 * gwin32appinfo.c (g_win32_app_info_launch):
1375 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1376 envp_for_startup_id, g_desktop_app_info_launch,
1377 g_desktop_app_info_launch_uris):
1379 Give an opaque 'startup_id' string instead of 'envp'.
1380 Support empty file lists for launching new windows.
1381 Fix infinite recursion bug when launching URIs.
1383 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1386 Add guard to the new g_file_get_uri_scheme() function.
1388 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1391 Convert a g_return_val_if_fail() to setting the GError instead as
1392 otherwise applications have to verify the parameter before otherwise
1393 and the parameter might come directly from the user.
1395 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1397 * gio/inotify/ginotify*.[ch]:
1398 Add missing copyright information.
1400 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1403 Add guards in the beginning of public functions to check for valid
1404 parameters and fix a bug in copy_stream_with_progress() that could've
1405 caused writing less bytes than reading.
1406 * gio/glocalfileinfo.c:
1407 Check for a NULL parameter and set the GError accordingly then.
1408 * gio/goutputstream.c:
1409 Fix the same bug as in gfile.c that could've caused writing less bytes
1410 than reading in g_output_stream_real_splice().
1412 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1415 Use the correct gvolumeprivate.h naming
1417 2007-11-01 Christian Kellner <gicmo@gnome.org>
1420 Remove leftover "$(daemon_sources)" entry.
1422 2007-11-01 Christian Kellner <gicmo@gnome.org>
1427 Add copyright information to source files.
1429 2007-11-01 Alexander Larsson <alexl@redhat.com>
1433 Add g_file_get_uri_scheme
1435 2007-11-01 Alexander Larsson <alexl@redhat.com>
1438 * gio/gdesktopappinfo.c:
1439 * gio/gwin32appinfo.c:
1440 Add g_app_info_get_default_for_uri_scheme.
1442 2007-11-01 Alexander Larsson <alexl@redhat.com>
1445 Correct filename for gdriveprivate.h
1447 2007-10-31 Alexander Larsson <alexl@redhat.com>
1450 Rename id:value to id:file
1453 * gio/glocalfileinfo.c:
1456 2007-10-31 Alexander Larsson <alexl@redhat.com>
1458 * gio/gunixvolume.c:
1460 Remove g_volume_get_platform_id, as thats not
1461 needed with the simpler union volume monitor
1463 2007-10-31 Alexander Larsson <alexl@redhat.com>
1466 * gio/guniondrive.[ch]: Removed.
1467 * gio/gunionvolume.[ch]: Removed.
1468 Remove GUnionDrive/Volume
1470 * gio/gunionvolumemonitor.c:
1471 Simplify union volume monitor, now we
1472 only have one native volume monitor and
1473 we use the actual volumes/drives from the
1474 child monitors instead of wrapping them
1476 * gio/gnativevolumemonitor.[ch]:
1477 Base class for native volume monitors.
1478 Includes priority and get_volume_for_mountpoint
1481 Add g_file_find_enclosing_volume
1484 Remove volume name fs attribute
1485 Add readonly fs attribute
1488 Implement readonly attribute
1489 remove volume name attribute
1490 Implement find_enclosing volume
1492 * gio/gunixmounts.c:
1493 Add a volume for "/".
1495 * gio/gunixvolume.[ch]:
1496 Set better name for /
1498 * gio/gunixvolumemonitor.[ch]:
1499 Derive from GNativeVolumeMonitor
1500 Implement get_volume_for_mountpoint
1503 GVolume typedef moved to gfile.h
1505 * gio/gvolumeprivate.h:
1506 Add g_volume_get_for_mount_path
1508 2007-10-31 Alexander Larsson <alexl@redhat.com>
1510 * gio/gunixmounts.[ch]:
1511 Add cache info to unix mount listers
1512 Make getmntent use threadsafe
1513 Add is_system_internal attribute for GUnixMount
1515 * gio/gunixvolume.c:
1516 (g_unix_volume_new):
1517 Use is_system_internal instead of own code
1519 * gio/glocaldirectorymonitor.c:
1520 * gio/gunixvolumemonitor.c:
1521 Update to new gunixmounts API
1526 2007-10-30 Alexander Larsson <alexl@redhat.com>
1529 Add volume name fsinfo attribute
1532 Read volume name info
1534 * gio/gunionvolumemonitor.c:
1535 Fix infinite loops when finalizing a union volume monitor
1537 2007-10-30 Alexander Larsson <alexl@redhat.com>
1539 * gio/goutputstream.[ch]:
1540 Add splice() with default implementation
1542 * gio/gsocketoutputstream.c:
1543 (g_socket_output_stream_write):
1544 Return error on cancellation correctly.
1546 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1548 * gio/glocalfile.c (g_local_file_trash):
1549 Do not leak a string.
1551 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1553 * gio/gfile.c (g_file_load_contents):
1554 Unref the stream after closing it.
1556 2007-10-25 Alexander Larsson <alexl@redhat.com>
1558 * gio/gioscheduler.h:
1561 2007-10-25 Alexander Larsson <alexl@redhat.com>
1565 Add g_file_has_uri_scheme and implement for local files
1567 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1569 * gio/gdesktopappinfo.c: do not leak a string.
1571 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1573 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1574 (g_local_directory_monitor_new):
1575 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1576 (g_local_file_monitor_new):
1577 Only look for the monitor type that should be used the first time
1578 and use g_qsort_with_data() instead of our own bubble sort
1581 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1584 * gio/fam/Makefile.am:
1585 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1586 * gio/fam/fam-helper.h:
1587 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1588 * gio/fam/gfamdirectorymonitor.c:
1589 * gio/fam/gfamdirectorymonitor.h:
1590 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1591 * gio/fam/gfamfilemonitor.h:
1592 * gio/glocaldirectorymonitor.c:
1593 * gio/glocaldirectorymonitor.h:
1594 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1595 * gio/glocalfilemonitor.h:
1596 * gio/inotify/Makefile.am:
1597 * gio/inotify/ginotifydirectorymonitor.c:
1598 * gio/inotify/ginotifydirectorymonitor.h:
1599 * gio/inotify/ginotifyfilemonitor.c:
1600 * gio/inotify/ginotifyfilemonitor.h:
1601 Implement the FAM and Inotify monitors as
1602 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1603 their own GIO module. GLocal(Directory|File)Monitor will use the
1604 monitor with the highest rank that is supported on that machine.
1606 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1609 Change GIO module dir to $(libdir)/gio/modules and change
1610 the log domain from GVFS to GIO. Also only export symbols starting
1611 with g_ in the resulting library.
1612 * gio/test-streams.c: (main):
1613 Set log handler for the GIO log domain.
1615 2007-10-22 Alexander Larsson <alexl@redhat.com>
1617 * gio/gfilenamecompleter.[ch]:
1618 Add g_filename_completer_set_dirs_only
1620 2007-10-22 Alexander Larsson <alexl@redhat.com>
1623 * gio/gurifuncs.[ch]:
1624 Add some simple URI helpers
1626 * gio/gfilenamecompleter.[ch]:
1627 Added object for filename (parse name actually) completion
1630 Handle ~ in parse names
1632 2007-10-17 Alexander Larsson <alexl@redhat.com>
1635 * gio/glocalfileinfo.c:
1636 Add and implement id:value attribute
1638 2007-10-17 Alexander Larsson <alexl@redhat.com>
1641 * gio/guniondrive.c:
1643 Add and implement g_drive_has_volumes
1645 2007-10-17 Alexander Larsson <alexl@redhat.com>
1648 * gio/glocalfileinfo.[ch]:
1649 Add unix:is_mountpoint and implement for local files
1651 2007-10-16 Alexander Larsson <alexl@redhat.com>
1653 * gio/gunionvolumemonitor.c:
1654 (g_union_volume_monitor_init):
1655 Fix up the unix type getting so that it works with gcc
1657 2007-10-12 Alexander Larsson <alexl@redhat.com>
1660 * gio/glocalfileinfo.c:
1661 Add thumbnail:failed to file info
1663 2007-10-12 Richard Hult <richard@imendio.com>
1665 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1666 optimizing away the get_type call (happens with some gcc versions,
1667 like the one shipped with OS X 10.4).
1669 2007-10-12 Alexander Larsson <alexl@redhat.com>
1671 * gio/glocalfileinfo.c:
1672 (_g_local_file_info_set_attribute):
1673 Fix build if not HAVE_XATTR
1674 Patch from Milosz Derezynski <internalerror@gmail.com>
1676 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1678 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1679 around for review, otherwise I would have asked you before
1682 2007-10-11 Alexander Larsson <alexl@redhat.com>
1685 Add thumbnail:path attribute
1687 * gio/glocalfileinfo.c:
1688 Implement thumbnail:path for local files
1690 2007-10-11 Alexander Larsson <alexl@redhat.com>
1692 * gio/glocalfileinfo.c:
1693 (_g_local_file_info_get):
1694 Avoid duplicate icon names
1696 2007-10-11 Alexander Larsson <alexl@redhat.com>
1698 * gio/gthemedicon.[ch]:
1699 Change g_themed_icon_get_names return type to const
1701 2007-10-10 Alexander Larsson <alexl@redhat.com>
1703 * gio/glocalfileinfo.c:
1704 Don't reference freed memory
1706 2007-10-10 Alexander Larsson <alexl@redhat.com>
1708 * gio/gfileattribute.c:
1711 * gio/glocalfileinfo.c:
1714 2007-10-10 Alexander Larsson <alexl@redhat.com>
1717 Check for NULL icons
1719 * gio/gfileattribute.c:
1720 Don't dup when getting objects (same as for string attributes)
1722 * gio/gicon.c (g_icon_equal):
1723 Safely handle NULLs in equal
1725 2007-10-10 Alexander Larsson <alexl@redhat.com>
1728 Fix c++ compilation issues
1729 Patch from Milosz Derezynski <internalerror@gmail.com>
1731 2007-10-10 Alexander Larsson <alexl@redhat.com>
1733 * programs/gio-monitor-dir.c:
1734 Don't crash if dir monitor not supported.
1736 2007-10-09 Alexander Larsson <alexl@redhat.com>
1739 Add missing G_END_DECLS
1741 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1743 * gio/gfile.c: (g_file_set_display_name),
1744 (g_file_query_settable_attributes),
1745 (g_file_query_writable_namespaces):
1746 Return NULL not FALSE on errors as the return type is a pointer.
1748 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1750 * gio/glocalfile.c: (g_local_file_monitor_file):
1751 Don't call monitor_file on the default interface vtable (which
1752 is NULL) but simply return NULL. The caller, GFile, will create a
1753 polling monitor if NULL is returned.
1755 2007-10-09 Alexander Larsson <alexl@redhat.com>
1759 * gio-unix-2.0.pc.in:
1760 Add gio-unix-2.0.pc if OS_UNIX
1763 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1765 2007-10-09 Alexander Larsson <alexl@redhat.com>
1767 * gio/gunixmounts.[ch]:
1768 Make unix mount monitoring API sane.
1769 Now its just a object with mounts_changed
1770 and mountpoints_changed signals.
1772 * gio/glocaldirectorymonitor.c:
1773 * gio/gunixvolumemonitor.c:
1774 Use new mount monitor api
1776 2007-10-09 Alexander Larsson <alexl@redhat.com>
1778 * gio/gunixmounts.[ch]:
1779 Move guess type into one call for mounts and one for mountpoints
1782 * gio/gunixvolume.c:
1785 2007-10-09 Alexander Larsson <alexl@redhat.com>
1787 * gio/gunixmounts.[ch]:
1788 Remove _ prefix in preparation to make this semi-public
1789 Hide implementation of structs
1791 * gio/glocaldirectorymonitor.c:
1793 * gio/gunixvolume.c:
1794 * gio/gunixvolumemonitor.c:
1795 Update for above API changes
1797 2007-10-08 Alexander Larsson <alexl@redhat.com>
1800 Better polling fallback. This also handles the case where we have
1801 a monitor_file implementation, but it fails.
1803 2007-10-08 Alexander Larsson <alexl@redhat.com>
1807 * gio/gunixmounts.c:
1808 * programs/gio-monitor-dir.c:
1809 * programs/gio-monitor-file.c:
1810 Added cancellable to file monitoring calls.
1811 These are really sync calls and need this.
1813 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1815 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1816 (g_local_vfs_class_init):
1817 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1818 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1820 2007-10-05 Alexander Larsson <alexl@redhat.com>
1822 * gio/gdirectorymonitorprivate.h:
1823 * gio/gfilemonitorprivate.h:
1824 * gio/gdirectorymonitor.h:
1825 * gio/gfilemonitor.h:
1826 Remove *private.h and move to the public API, so that
1827 we can do implementations outside gio (such as in gvfs)
1829 * gio/gdirectorymonitor.c:
1830 * gio/gfilemonitor.c:
1831 * gio/glocaldirectorymonitor.c:
1832 * gio/gpollfilemonitor.c:
1833 * gio/inotify/inotify-helper.c:
1834 * gio/fam/fam-helper.c:
1835 Update to the new header names
1837 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
1839 * gio/gdirectorymonitor.c:
1840 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1843 2007-10-04 Alexander Larsson <alexl@redhat.com>
1845 * gio/glocalfileinfo.c (get_access_rights):
1846 Set CAN_TRASH when we can move the file.
1847 We should really also check for a parent trash dir.
1849 2007-10-04 Alexander Larsson <alexl@redhat.com>
1851 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1852 Add can_trash access attribute
1854 2007-10-04 Alexander Larsson <alexl@redhat.com>
1857 (g_local_file_trash):
1858 Create info file first. This is per-spec and allows
1859 us to actually trash directories.
1861 2007-10-02 Alexander Larsson <alexl@redhat.com>
1863 * gio/gdesktopappinfo.c:
1864 Implement the new mime support code.
1865 Always set app as handling mimetype when being set as default for it
1867 2007-10-01 Alexander Larsson <alexl@redhat.com>
1869 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
1870 Fix up check for xattrs:
1872 2007-10-01 Alexander Larsson <alexl@redhat.com>
1875 (g_app_info_set_as_default_for_extension):
1876 (g_app_info_add_supports_type):
1877 (g_app_info_can_remove_supports_type):
1878 (g_app_info_remove_supports_type):
1879 Make these fail nicely if not implemented
1881 2007-10-01 Paolo Borelli <pborelli@katamail.com>
1883 * gio/glocalfileoutputstream.c:
1884 * gio/glocalfileoutputstream.h:
1889 * programs/gio-save.c:
1890 Add a GFileCreateFlags argument to operations that can create
1893 2007-10-01 Alexander Larsson <alexl@redhat.com>
1895 * gio/gappinfo.[ch]:
1896 * gio/gdesktopappinfo.c:
1897 Add more (stubbed out) mime API needed for nautilus
1899 2007-10-01 Alexander Larsson <alexl@redhat.com>
1902 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
1903 Add g_app_info_set_as_default_for_extension.
1905 * gio/gdesktopappinfo.c:
1906 Dummy for g_app_info_set_as_default_for_extension
1907 Support flags in g_app_info_create_from_commandline
1909 * gio/gwin32appinfo.c:
1911 Update for API changes
1913 * gio/gthemedicon.c:
1914 Properly NULL-terminate list of icon names
1916 2007-09-28 Alexander Larsson <alexl@redhat.com>
1918 * gio/gloadableicon.h:
1919 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
1921 2007-09-28 Alexander Larsson <alexl@redhat.com>
1924 Install headers in $includedir/gio-standalone/
1926 * gio-2.0.pc.in: Added.
1927 * gio-standalone.pc.in: Removed.
1930 Renamed pkg-config file to match glib (for future move)
1931 Update to the new include dir
1934 Add more TODO comments
1936 2007-09-28 Alexander Larsson <alexl@redhat.com>
1938 * gio/gdesktopappinfo.[ch]:
1939 Expose new_from_filename
1940 Add getter for is_hidden and handle it better
1942 2007-09-28 Alexander Larsson <alexl@redhat.com>
1944 * gio/gfileinfo.[ch]:
1945 Rename g_file_size_format_for_display to
1946 g_format_file_size_for_display.
1947 Now it doesn't have the g_file prefix, so we
1948 can later move it to glib.
1950 2007-09-28 Alexander Larsson <alexl@redhat.com>
1952 * gio/gappinfo.[ch]:
1953 Add g_app_info_get_id and g_app_info_get_executable.
1954 Make all getters non-reffing
1955 Make g_app_info_launch take GFile arguments.
1956 Add must_support_uris argument to g_app_info_get_default_for_type.
1958 * gio/gwin32appinfo.c:
1959 Update to GAppInfo api changes
1961 * gio/gdesktopappinfo.c:
1962 Update to GAppInfo api changes
1963 Implement supports_xdg_startup_notify
1965 * gio/gfileicon.c (g_file_icon_get_file):
1966 Make getter non-reffing.
1971 2007-09-27 Alexander Larsson <alexl@redhat.com>
1973 * gio/gfileinfo.[ch]:
1974 Add g_file_size_format_for_display helper
1976 2007-09-27 Alexander Larsson <alexl@redhat.com>
1978 * gio/glocalfileinfo.c:
1979 Set UNIX_GID from gid, not from uid
1981 2007-09-27 Alexander Larsson <alexl@redhat.com>
1984 Add g_file_set_attributes_async
1986 2007-09-27 Alexander Larsson <alexl@redhat.com>
1988 * gio/glocalfile.c (g_local_file_set_display_name):
1989 Fix set_display_name to actually rename to the right place.
1990 Use lstat to look for existing files so we don't overwrite
1993 2007-09-26 Alexander Larsson <alexl@redhat.com>
1996 Add g_file_set_display_name_async()
1998 2007-09-26 Alexander Larsson <alexl@redhat.com>
2001 Add load_partial_contents async calls
2004 Make internal function static
2006 2007-09-26 Alexander Larsson <alexl@redhat.com>
2008 * gio/glocalfileinfo.c:
2009 Correctly detect broken symlinks
2011 2007-09-26 Alexander Larsson <alexl@redhat.com>
2013 * gio/gcancellable.c (g_cancellable_cancel):
2014 Allow cancel on NULL cancellable
2016 2007-09-25 Alexander Larsson <alexl@redhat.com>
2018 * gio/gsimpleasyncresult.c:
2019 Don't allocate g_error manually.
2020 Fixes g_slice/g_new mixup crash
2022 2007-09-25 Alexander Larsson <alexl@redhat.com>
2024 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2025 Actually set active_backend.
2026 This means the monitor will be cancelled correctly.
2028 2007-09-25 Alexander Larsson <alexl@redhat.com>
2030 * gio/gdirectorymonitor.c:
2031 Set timeout to NULL when destroying
2033 2007-09-25 Alexander Larsson <alexl@redhat.com>
2036 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2037 that is a better description of the error.
2039 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2041 * gio/gvfs.c: (g_vfs_get_local):
2042 Make the local vfs variable static. The same instance should
2045 2007-09-24 Alexander Larsson <alexl@redhat.com>
2047 * gio/glocalfileinfo.c:
2048 Pass in actual length read into sniffer, not the length
2051 2007-09-21 Alexander Larsson <alexl@redhat.com>
2053 * gio/gfileenumerator.c:
2056 * gio/gfileinputstream.c:
2057 * gio/gfileoutputstream.c:
2058 * gio/ginputstream.c:
2059 * gio/goutputstream.c:
2060 Don't crash if async callbacks are NULL
2062 2007-09-20 Alexander Larsson <alexl@redhat.com>
2065 Add async enumerate_children method and default
2068 2007-09-20 Alexander Larsson <alexl@redhat.com>
2071 Add g_file_contains_file & g_file_get_relative_path, since they
2072 were needed for nautilus.
2073 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2078 Implement new methods
2080 2007-09-17 Alexander Larsson <alexl@redhat.com>
2083 * gio/gfileinputstream.[ch]:
2084 * gio/gfileoutputstream.[ch]:
2086 * gio/glocalfileenumerator.[ch]:
2087 * gio/glocalfileinfo.[ch]:
2088 * gio/glocalfileinputstream.c:
2089 * gio/glocalfileoutputstream.c:
2090 * gio/gpollfilemonitor.c:
2091 * programs/gio-copy.c:
2092 * programs/gio-info.c:
2093 * programs/gio-move.c:
2094 Rename get_file_info to query_info() to make it clearer
2095 that these are not simple getters, but do i/o.
2097 2007-09-17 Alexander Larsson <alexl@redhat.com>
2099 * gio/gdatainputstream.[ch]:
2100 * gio/test-streams.c:
2101 Use _read_XXX instead of _get_XXX for the i/o calls
2104 2007-09-17 Alexander Larsson <alexl@redhat.com>
2107 Added needed stuff to TODO comment
2109 2007-09-17 Alexander Larsson <alexl@redhat.com>
2111 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2112 Don't error out removing the backup copy if it doesn't
2115 2007-09-14 Alexander Larsson <alexl@redhat.com>
2117 * programs/Makefile.am:
2118 * programs/gvfs-*.c:
2120 Renamed apps from gvfs-xxx to gio-xxx.
2122 2007-09-14 Alexander Larsson <alexl@redhat.com>
2125 * gio/gfileoutputstream.[ch]:
2126 * gio/glocalfileoutputstream.c:
2127 * programs/gvfs-save.c:
2128 g_file_output_stream_get_etag doesn't do i/o, so remove
2129 cancellation and error.
2131 2007-09-14 Alexander Larsson <alexl@redhat.com>
2134 Add new_etag output to replace_contents functions
2136 2007-09-14 Alexander Larsson <alexl@redhat.com>
2138 * gio/gfileoutputstream.[ch]:
2139 Add async get_file_info and default implementation
2141 2007-09-14 Alexander Larsson <alexl@redhat.com>
2143 * gio/gfileinputstream.c:
2144 Implement fallback wrapper for async get_file_info
2146 2007-09-14 Alexander Larsson <alexl@redhat.com>
2149 Add etag out argument to load_contents
2154 2007-09-14 Alexander Larsson <alexl@redhat.com>
2156 * gio/gcontenttype.c (looks_like_text):
2157 Whitespace like tab, cr and lf do not make the
2160 2007-09-14 Alexander Larsson <alexl@redhat.com>
2162 * gio/gfileinputstream.[ch]:
2163 Add async get_file_info.
2165 2007-09-13 Alexander Larsson <alexl@redhat.com>
2167 * gio/goutputstream.c (g_output_stream_write_all):
2168 Allow NULL for bytes_written
2170 2007-09-13 Alexander Larsson <alexl@redhat.com>
2172 * gio/gmemoryinputstream.[ch]:
2173 Add accessors for data
2175 2007-09-13 Alexander Larsson <alexl@redhat.com>
2177 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2178 Don't crash if length is NULL