1 2007-12-13 Alexander Larsson <alexl@redhat.com>
5 Rename g_mount_for_location to g_file_mount_enclosing_volume.
7 2007-12-13 Alexander Larsson <alexl@redhat.com>
10 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
12 2007-12-12 Alexander Larsson <alexl@redhat.com>
15 Fix race condition when freeing proxy in
16 g_io_job_send_to_mainloop().
18 2007-12-12 Alexander Larsson <alexl@redhat.com>
24 Make attribute namespace separator "::" instead of ":".
25 Use - instead of _ as separator in attribute names.
27 2007-12-12 Alexander Larsson <alexl@redhat.com>
29 * gbufferedinputstream.h:
30 * gbufferedoutputstream.h:
32 * gdataoutputstream.h:
33 * gdirectorymonitor.h:
37 * gfileoutputstream.h:
38 * gfilterinputstream.h:
39 * gfilteroutputstream.h:
41 * glocalfileinputstream.h:
42 * glocalfileoutputstream.h:
43 * gmemoryinputstream.h:
44 * gmemoryoutputstream.h:
45 * gnativevolumemonitor.h:
48 * gunixoutputstream.h:
51 s/parent/parent_instance/ in GObjects
53 2007-12-12 Alexander Larsson <alexl@redhat.com>
58 No need for padding for interfaces
60 2007-12-12 Alexander Larsson <alexl@redhat.com>
64 * gbufferedinputstream.c:
65 * gbufferedoutputstream.c:
68 * gdatainputstream.[ch]:
70 * gdirectorymonitor.c:
72 * gfileattribute.[ch]:
77 * gfileoutputstream.[ch]:
78 * gfilterinputstream.h:
79 * gfilteroutputstream.h:
83 * gmemoryinputstream.c:
86 Fix up a bunch of details in the docs.
91 2007-12-11 David Zeuthen <davidz@redhat.com>
93 Rework how volumes, drives and volume monitoring is
94 done. Previosly the model was
98 where a GDrive instance represented a mount point and a GVolume
99 instance represented a mounted file system. This patch changes it
102 GDrive <1-N> GVolume <1-1> GMount
104 where GMount now serves the purpose of the old GVolume and the new
105 GVolume serves the purpose of the old GDrive. In addition the new
106 GDrive interface is used to represent a collection of GVolume
107 instances (typically partitions) and also contains utility to query
108 the state of the physical drive the GDrive object represents (such
109 as checking for media, polling the drive, ejecting the media etc.).
111 Also implement mounting and unmounting in the Unix volume monitor
112 backend. A subquent patch will introduce GDrive support for ejection
116 * gdrive.c: (g_drive_is_media_check_automatic),
117 (g_drive_is_media_removable), (g_drive_has_media),
118 (g_drive_can_poll_for_media), (g_drive_eject),
119 (g_drive_eject_finish), (g_drive_poll_for_media),
120 (g_drive_poll_for_media_finish):
122 * gfile.c: (g_file_find_enclosing_mount):
125 * glocaldirectorymonitor.c:
126 (g_local_directory_monitor_constructor), (mounts_changed):
127 * glocalfile.c: (get_mount_info),
128 (g_local_file_find_enclosing_mount),
129 (g_local_file_file_iface_init):
130 * gnativevolumemonitor.h:
131 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
132 (get_connected_drives), (g_union_volume_monitor_class_init),
133 (child_volume_added), (child_volume_removed),
134 (child_volume_changed), (child_mount_added), (child_mount_removed),
135 (child_mount_pre_unmount), (child_mount_changed),
136 (child_drive_changed), (g_union_volume_monitor_add_monitor),
137 (g_union_volume_monitor_remove_monitor),
138 (_g_mount_get_for_mount_path):
139 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
140 (guess_system_internal), (_g_get_unix_mounts),
141 (_g_get_unix_mount_points), (g_get_unix_mount_at),
142 (g_unix_mount_free), (g_unix_mount_compare),
143 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
144 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
145 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
146 (type_to_icon), (g_unix_mount_guess_name),
147 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
148 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
149 (_resolve_symlink), (_resolve_dev_root):
151 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
152 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
153 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
154 (g_unix_volume_get_name), (g_unix_volume_can_mount),
155 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
156 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
157 (g_unix_volume_mount), (g_unix_volume_mount_finish),
158 (g_unix_volume_volume_iface_init):
160 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
161 (get_mounts), (get_volumes), (get_connected_drives),
162 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
163 (mountpoints_changed), (mounts_changed),
164 (g_unix_volume_monitor_init),
165 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
166 (find_mount_by_mountpath), (update_volumes), (update_mounts):
167 * gunixvolumemonitor.h:
168 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
169 (g_volume_mount), (g_volume_mount_finish):
171 * gvolumemonitor.c: (g_volume_monitor_class_init),
172 (g_volume_monitor_get_connected_drives),
173 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
176 2007-12-10 Matthias Clasen <mclasen@redhat.com>
178 * gmountoperation.h (GPasswordFlags): Close the gap
180 2007-12-10 Matthias Clasen <mclasen@redhat.com>
182 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
184 * gdesktopappinfo.[hc]: Remove _-prefixes
186 2007-12-10 Tor Lillqvist <tml@novell.com>
188 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
191 2007-12-10 Alexander Larsson <alexl@redhat.com>
193 * gfile.c (g_file_set_display_name):
194 Don't hardcode '/' (#502727)
196 2007-12-09 Hans Breuer <hans@breuer.org>
198 * makefile.msc : follow lib naming convention
199 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
200 for user and group name, tested with ../tests/gio-ls
202 2007-12-09 A. Walton <awalton@svn.gnome.org>
215 * gmemoryinputstream.c:
216 * gmemoryoutputstream.c:
218 * gsimpleasyncresult.c:
219 More documentation cleanup and filling in missing information, bringing
220 GIO to 99% symbol coverage.
222 2007-12-08 Hans Breuer <hans@breuer.org>
224 [gio compiles and links on win32, not sure how much already works]
225 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
226 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
227 base on win32 API; prefer g_lstat() over lstat(); instead of
228 localtime_r() use an all GLib implementation on win32;
229 get_mount_info() still needs a win32 specifc implementation
230 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
231 win32_get_file_user_info to get owner/group info without uid/gid
232 * glocalfileinputstream.c : include <io.h> on win32
233 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
234 definition, use g_win32_ftruncate() for G_OS_WIN32
235 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
236 it is available with mingw/w32api but a mess with the M$ Platform SDKs
237 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
238 * makefile.msc : updated
240 2007-12-07 Alexander Larsson <alexl@redhat.com>
242 * glocalfileenumerator.c (_g_local_file_enumerator_new):
243 Avoid warning spew if error == NULL
245 2007-12-07 Alexander Larsson <alexl@redhat.com>
248 Update docs wrt etags
250 2007-12-06 Alexander Larsson <alexl@redhat.com>
253 Include sys/types.h for dev_t (#501919)
255 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
259 Make abicheck and pltcheck pass.
261 2007-12-05 Alexander Larsson <alexl@redhat.com>
264 * giomodule-priv.h: Added.
265 * glocaldirectorymonitor.c:
266 * glocalfilemonitor.c:
267 * gunionvolumemonitor.c:
269 Actually add the declaration of _g_io_modules_ensure_loaded
271 2007-12-05 Alexander Larsson <alexl@redhat.com>
273 * gdatainputstream.c:
278 * glocaldirectorymonitor.c:
279 * glocalfilemonitor.c:
280 * gunionvolumemonitor.c:
282 Make g_io_modules_ensure_loaded a private function and
283 don't pass in the dirname. This means we can do magic
284 directory finding in the win32 version.
285 Export the actual load-modules-in-directory code so that
288 2007-12-05 Alexander Larsson <alexl@redhat.com>
290 * gbufferedinputstream.c:
291 * gbufferedoutputstream.c:
294 * gfileenumerator.[ch]:
295 * gfileinputstream.c:
296 * gfileoutputstream.[ch]:
297 * gfilterinputstream.c:
298 * gfilteroutputstream.c:
301 * glocalfileenumerator.c:
302 * glocalfileinputstream.c:
303 * glocalfileoutputstream.c:
304 * gmemoryinputstream.c:
305 * gmemoryoutputstream.c:
306 * goutputstream.[ch]:
309 * gunixinputstream.c:
310 * gunixoutputstream.c:
311 Rename all struct members named:
312 read, write, close, truncate, or mount
313 to foo_fn, as these are reserved names
314 and could be defined as macros in libc.
317 2007-12-04 Alexander Larsson <alexl@redhat.com>
320 (g_output_stream_close):
321 Only call flush if non-null.
323 2007-11-30 Dan Winship <danw@gnome.org>
325 * ginputstream.c (g_input_stream_set_pending): Make this take a
326 GError and return a gboolean, and do the "outstanding operation"
327 check (and the "stream is already closed" check) itself.
328 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
330 * goutputstream.c (g_output_stream_set_pending)
331 (g_output_stream_clear_pending): Likewise
333 * gbufferedinputstream.c:
334 * gfileinputstream.c:
335 * gfileoutputstream.c: Update for that
337 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
338 Like g_simple_async_report_error_in_idle, but takes a GError
339 rather than building one.
341 2007-11-30 Dan Winship <danw@gnome.org>
343 * goutputstream.c: Don't cheat and unset the "pending" flag around
344 inner calls. Instead, call the class method directly rather than
345 the wrapper function that checks "pending"
347 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
349 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
351 2007-12-03 Hans Breuer <hans@breuer.org>
353 [start of port to win32/msvc]
354 * gcancellable.c : HAVE_UNIST_H and _pipe()
355 * gcontenttype.c : only include <dirent.h> in the UNIX branch
356 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
357 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
359 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
360 * glocalvfs.c : use HAVE_PWD_H
361 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
362 * makefile.msc : new file (maybe later converted to makefile.msc.in)
363 * Makefile.am : added to EXTRA_DIST
365 2007-12-03 Matthias Clasen <mclasen@redhat.com>
367 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
370 2007-12-03 Alexander Larsson <alexl@redhat.com>
373 Handle OSX style xattrs API (#500506)
375 2007-12-03 Alexander Larsson <alexl@redhat.com>
379 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
381 2007-12-02 A. Walton <awalton@svn.gnome.org>
385 Documentation accuracy fixes.
387 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
389 * gioenumtypes.c.template: Fix typo.
391 2007-12-01 Matthias Clasen <mclasen@redhat.com>
393 * gioenumtypes.c.template: Make threadsafe get_type() functions.
395 2007-12-01 Matthias Clasen <mclasen@redhat.com>
397 * gdirectorymonitor.c:
398 * gfilemonitor.c: Add properties
400 * gbufferedoutputstream.c: Don't mark buffer-size property
403 2007-12-01 Matthias Clasen <mclasen@redhat.com>
405 * gbufferedoutputstream.c: Add auto-grow property.
407 2007-11-30 Matthias Clasen <mclasen@redhat.com>
409 * *.c: Unify the capitalization of section headings.
411 2007-11-30 Matthias Clasen <mclasen@redhat.com>
413 * gmountoperation.c: Add properties
415 * gdatainputstream.c: Turn byte-order and newline-type into
418 2007-11-30 Matthias Clasen <mclasen@redhat.com>
420 * gioenumtypes.[hc].template: Templates for enum registration
422 * Makefile.am: Generate gioenumtypes.[hc]
424 * gio.h: Include gioenumtypes.h
426 * gfile.h: Add some explicit nicks.
428 * gio.symbols: Add new symbols
430 * pltcheck.sh: Adjust
432 2007-11-30 Matthias Clasen <mclasen@redhat.com>
434 * *.c: Explain etags and link to the explanation
436 2007-11-29 Matthias Clasen <mclasen@redhat.com>
438 * *.c: Explain I/O priority.
440 * *.c: More coding style fixes.
442 2007-11-29 Matthias Clasen <mclasen@redhat.com>
444 * gasyncresult.c: Add another paragraph to the intro,
445 adjust coding style of example.
447 2007-11-29 A. Walton <awalton@svn.gnome.org>
450 Fixes unknown meaning in GAppLaunchContext docs.
452 Clarify asynchronous ops.
457 Provides missing gtk-doc section, fixes API docs slighly.
458 * gsimpleasyncresult.c:
459 Fill in missing info in docs.
460 * gunixinputstream.c:
461 * gunixoutputstream.c:
462 Be more expressive in short description.
464 Remove gtk-doc stubs for non-public API.
466 2007-11-28 Matthias Clasen <mclasen@redhat.com>
468 * *.c: Coding style fixups
470 2007-11-28 Matthias Clasen <mclasen@redhat.com>
472 * inotify/inotify-helper.c: Don't export the lock from libgio.
474 2007-11-28 Matthias Clasen <mclasen@redhat.com>
477 * abicheck.sh: Fix copy-and-paste leftovers
479 2007-11-28 Matthias Clasen <mclasen@redhat.com>
481 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
483 2007-11-28 Alexander Larsson <alexl@redhat.com>
487 Removed unnecessary file
489 * gdesktopappinfo.[ch]:
492 * glocaldirectorymonitor.[ch]:
494 * glocalfileenumerator.[ch]:
495 * glocalfileinputstream.[ch]:
496 * glocalfilemonitor.[ch]:
497 * glocalfileoutputstream.[ch]:
499 * gnativevolumemonitor.c:
500 * gpollfilemonitor.[ch]:
501 * gunionvolumemonitor.[ch]:
504 * gunixvolumemonitor.[ch]:
507 * inotify/ginotifydirectorymonitor.[ch]:
508 * inotify/ginotifyfilemonitor.[ch]:
509 * inotify/inotify-helper.c:
510 Append _ to all internal functions
514 Export symbols needed for modules
516 2007-11-28 Alexander Larsson <alexl@redhat.com>
519 * abicheck.sh: Added.
520 * makegioalias.pl: Added.
521 * pltcheck.sh: Added.
522 * gio.symbols: Added.
525 Initial work on adding symbol handling.
528 Correct ifdef guard name
531 * inotify/Makefile.am:
532 * xdgmime/Makefile.am:
533 Include toplevel Makefile.decl
535 2007-11-27 Matthias Clasen <mclasen@redhat.com>
537 * gcontenttype.c: Move doc comments to the unix section.
539 * *.[hc]: More trivial doc corrections.
541 2007-11-27 Matthias Clasen <mclasen@redhat.com>
543 * gpollfilemonitor.c:
552 * gdatainputstream.c:
553 * gdatainputstream.h:
554 * gdataoutputstream.c:
555 * gdataoutputstream.h:
556 * gfileinfo.h: Doc cleanups
558 2007-11-28 Andre Klapper <a9016009@gmx.de>
560 * gdesktopappinfo.c: Fix a typo.
562 2007-11-27 Andre Klapper <a9016009@gmx.de>
564 * glocalfileoutputstream.c: Fix a typo.
566 2007-11-27 Alexander Larsson <alexl@redhat.com>
569 Don't include removed headers
571 2007-11-27 Alexander Larsson <alexl@redhat.com>
574 * gsocketinputstream.[ch]: Removed.
575 * gsocketoutputstream.[ch]: Removed.
576 * gunixinputstream.[ch]: Added.
577 * gunixoutputstream.[ch]: Added.
578 Renamed GSocket*Stream to GUnix*Stream and made
579 it unix-only, since its not really only for sockets
580 and it only works on unix (but is highly useful there).
582 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
588 * gbufferedinputstream.c:
589 * gbufferedinputstream.h:
590 * gbufferedoutputstream.c:
591 * gbufferedoutputstream.h:
595 * gdatainputstream.c:
596 * gdatainputstream.h:
597 * gdataoutputstream.c:
598 * gdataoutputstream.h:
599 * gdirectorymonitor.c:
600 * gdirectorymonitor.h:
613 * gfileinputstream.c:
614 * gfileinputstream.h:
617 * gfilenamecompleter.c:
618 * gfilenamecompleter.h:
619 * gfileoutputstream.c:
620 * gfileoutputstream.h:
621 * gfilterinputstream.c:
622 * gfilterinputstream.h:
623 * gfilteroutputstream.c:
624 * gfilteroutputstream.h:
637 * glocalfileoutputstream.c:
638 * gmemoryinputstream.c:
639 * gmemoryinputstream.h:
640 * gmemoryoutputstream.c:
641 * gmemoryoutputstream.h:
646 * gpollfilemonitor.c:
649 * gsimpleasyncresult.c:
650 * gsimpleasyncresult.h:
651 * gsocketinputstream.c:
652 * gsocketinputstream.h:
653 * gsocketoutputstream.c:
654 * gsocketoutputstream.h:
661 * gunixvolumemonitor.c:
670 Bumps documentation to 93% symbol coverage, touching most
671 of the public files. Fixes broken function documentation prototypes.
672 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
673 gtk-doc headers in private files.
675 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
677 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
678 (g_buffered_input_stream_read_byte):
679 * gbufferedinputstream.h:
680 New functions for efficient access to buffer and simple single byte
683 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
684 (g_data_input_stream_read_until):
685 * gdatainputstream.h:
686 Use peek_buffer to avoid memcpy in scan_for_newline, implement
687 read_until with multiple stop chars.
689 2007-11-27 Alexander Larsson <alexl@redhat.com>
693 * inotify/Makefile.am:
694 Use the user-specified giomoduledir
696 2007-11-27 Alexander Larsson <alexl@redhat.com>
700 Add catch-all gio.h header
701 Don't install gdummyfile.h
703 2007-11-26 Alexander Larsson <alexl@redhat.com>
705 * Makefile.am (gioinclude_HEADERS):
706 Remove trailing whitespace
708 2007-11-26 Alexander Larsson <alexl@redhat.com>
710 Merge gio-standalone into glib
712 2007-11-25 Christian Kellner <gicmo@gnome.org>
714 * gio/goutputstream.c:
715 Fix small mistake in the docs.
717 2007-11-21 Christian Persch <chpe@gnome.org>
719 * gio/glocalfile.c: (g_local_file_trash):
720 Convert filenames to UTF-8 for GError.
721 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
722 as per xdg base dir spec.
724 2007-11-21 Christian Persch <chpe@gnome.org>
726 * gio/gdesktopappinfo.c:
727 Use that g_key_file_to_data cannot fail.
729 Use stock defines for the key file group and key names.
732 2007-11-21 Alexander Larsson <alexl@redhat.com>
735 (copy_stream_with_progress):
736 Make sure we do a final progress callback with
739 2007-11-21 Alexander Larsson <alexl@redhat.com>
742 Export g_file_copy_attributes
743 Remove padding as its not needed for interfaces
745 2007-11-20 Alexander Larsson <alexl@redhat.com>
750 Add G_IO_ERROR_WOULD_MERGE for
751 copy/move dir on dir with overwrite.
753 2007-11-20 Alexander Larsson <alexl@redhat.com>
756 * gio/glocalfileinfo.c:
757 Add COPY_NAME (this is an optional
758 non-modified utf8 version of the name) that
761 2007-11-20 Alexander Larsson <alexl@redhat.com>
763 * gio/glocalfileenumerator.c:
764 Report errors as GIOError, not GFileError
766 2007-11-16 Alexander Larsson <alexl@redhat.com>
768 * gio/glocalfileoutputstream.c:
769 * gio/gwin32appinfo.c:
770 Fix typos in strings.
771 Patch from Luca Ferretti <elle.uca@libero.it>
773 2007-11-15 Alexander Larsson <alexl@redhat.com>
776 Post release version bump
778 === gio-standalone 0.1.2 ===
780 2007-11-15 Alexander Larsson <alexl@redhat.com>
782 * docs/reference/gio/Makefile.am:
783 Fix up distcheck by removing weird
789 2007-11-14 Alexander Larsson <alexl@redhat.com>
791 * gio/gdesktopappinfo.c:
792 * gio/glocaldirectorymonitor.c:
794 * gio/glocalfileinfo.c:
795 * gio/inotify/inotify-sub.c:
796 * programs/gio-cat.c:
797 * programs/gio-copy.c:
798 * programs/gio-info.c:
800 * programs/gio-monitor-dir.c:
801 * programs/gio-monitor-file.c:
802 * programs/gio-mount.c:
803 * programs/gio-move.c:
805 * programs/gio-save.c:
806 * programs/gio-trash.c:
807 Leak fixes from Kjartan Maraas
809 2007-11-14 Alexander Larsson <alexl@redhat.com>
811 * gio/fam/fam-helper.c:
813 * gio/glocalfileinfo.c:
817 * gio/inotify/inotify-diag.c:
818 * gio/inotify/inotify-kernel.c:
819 Various code cleanups from Kjartan Maraas
821 2007-11-14 Alexander Larsson <alexl@redhat.com>
823 * gio/gioscheduler.c:
825 Set up threadpool so that we cache 2 unused
826 idle threads for at 15 secs. This means we
827 will reuse thread-local data (like dbus connections)
830 2007-11-14 Alexander Larsson <alexl@redhat.com>
832 * gio/fam/fam-helper.c:
833 * gio/fam/gfamdirectorymonitor.c:
834 * gio/fam/gfamfilemonitor.c:
836 * gio/gcontenttype.c:
837 * gio/gdatainputstream.c:
838 * gio/gdataoutputstream.c:
842 * gio/gfileattribute.h:
843 * gio/gfileenumerator.c:
845 * gio/ginputstream.c:
848 * gio/glocalfileinfo.c:
849 * gio/goutputstream.c:
850 * gio/gpollfilemonitor.c:
851 * gio/gsimpleasyncresult.c:
854 * gio/inotify/ginotifydirectorymonitor.c:
855 * gio/inotify/ginotifyfilemonitor.c:
856 * gio/inotify/inotify-diag.c:
857 * gio/inotify/inotify-kernel.c:
858 * gio/inotify/inotify-path.c:
860 * gio/test-streams.c:
861 * programs/gio-info.c:
862 * programs/gio-monitor-dir.c:
863 * programs/gio-monitor-file.c:
864 Various code cleanups from Kjartan Maraas
866 2007-11-13 Alexander Larsson <alexl@redhat.com>
869 Handle the uri-scheme calls for dummy files
871 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
873 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
874 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
875 to avoid clash with the C++ keyword.
877 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
879 * gio/glocalfileinfo.c: Build fix, added missing semicolon
880 to an ifdef'ed call to getpwuid() in lookup_uid_data().
882 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
884 * gio/glocaldirectorymonitor.c:
885 * gio/glocalfilemonitor.c:
886 * gio/gunionvolumemonitor.c:
887 Don't use g_once_init_*() for initializations that could fail and
888 could leave the initialization variable set to 0 but use GOnce.
889 This prevents a deadlock on the second call when trying to create
890 a monitor and no monitor type is available. Thanks to Sven Herzberg
893 2007-11-11 Sven Herzberg <sven@imendio.com>
895 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
896 #ifdef (make it work on MacOS X again)
898 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
900 Fixes Changelog for last two commits (sorry guys).
902 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
904 * gio/gbufferedinputstream.c:
905 * gio/gdatainputstream.c:
907 * gio/gfileoutputstream.c:
908 * gio/gfilterinputstream.c:
909 * gio/glocalfileinputstream.c:
912 More consistency fixes in g*stream.c files.
913 Significant clean of gfile's documentation, filling in of
914 asynchronous operations documentation.
916 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
918 * gio/gasyncresult.c:
919 * gio/gbufferedinputstream.c:
920 * gio/gbufferedoutputstream.c:
921 * gio/gcancellable.c:
922 * gio/gcontenttype.c:
923 * gio/gdatainputstream.c:
924 * gio/gdataoutputstream.c:
925 * gio/gdesktopappinfo.c:
928 * gio/gfileattribute.c:
929 * gio/gio/gfileenumerator.c:
931 * gio/gfileinputstream.c:
932 * gio/gfilemonitor.c:
933 * gio/gfileoutputstream.c:
934 * gio/ginputstream.c:
936 * gio/gioscheduler.c:
937 * gio/gloadableicon.c:
938 * gio/glocalfileoutputstream.c:
939 * gio/gmemoryoutputstream.c:
940 * gio/gmountoperation.c:
941 * gio/goutputstream.c:
943 * gio/gsimpleasyncresult.c:
944 * gio/gunionvolumemonitor.c:
950 * gio/gvolumemonitor.c:
951 Updated documentation stubs, working towards consistency and
954 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
956 * gio/gmemoryoutputstream.c:
957 * gio/gmemoryoutputstream.h:
958 Change g_memory_output_stream_set_free_on_close() to
959 g_memory_output_stream_set_free_data() as this makes more sense and
960 is more consistent with GMemoryInputStream.
962 2007-11-07 Alexander Larsson <alexl@redhat.com>
969 Change how we find the default vfs so that
970 we can handle a gvfs failing to init
972 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
974 * gio/gbufferedoutputstream.c:
975 * gio/gdatainputstream.c:
976 * gio/gdataoutputstream.c:
977 * gio/gfileinputstream.c:
978 * gio/gfileoutputstream.c:
979 * gio/gfilterinputstream.c:
980 * gio/gfilteroutputstream.c:
981 * gio/ginputstream.c:
982 * gio/gmemoryinputstream.c:
983 * gio/gmemoryoutputstream.c:
984 * gio/goutputstream.c:
985 * gio/gsimpleasyncresult.c:
986 * gio/gsocketinputstream.c:
987 * gio/gsocketoutputstream.c:
988 Add guards to the remaining public functions, add a TODO for
989 an unimplemented function and remove some useless guards.
991 2007-11-07 Alexander Larsson <alexl@redhat.com>
994 Autoconf checks for the various types of
995 getpwuid_r and getgrgid_r
997 * gio/glocalfileinfo.c:
998 Use the autoconf checks from above
1000 2007-11-07 Alexander Larsson <alexl@redhat.com>
1003 (g_local_file_query_filesystem_info):
1004 Some fixes for the statvfs case
1006 2007-11-07 Alexander Larsson <alexl@redhat.com>
1009 (g_local_file_query_filesystem_info):
1010 Pick the "best" of statfs / statvfs for the system
1011 if both are availible.
1013 2007-11-07 Alexander Larsson <alexl@redhat.com>
1015 Solaris fixes from Halton.Huo@Sun.COM:
1022 * gio/glocalfileinfo.c:
1023 Fix for solaris definition of getpwuid_r
1025 * gio/test-streams.c:
1026 Use G_GNUC_PRETTY_FUNCTION
1028 2007-11-07 Alexander Larsson <alexl@redhat.com>
1030 * gio/gdesktopappinfo.c:
1031 (update_default_list):
1032 Remove double semicolon.
1033 Patch from Jens Granseuer
1035 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1037 * docs/reference/gio/gio-sections.txt:
1038 * gio/gbufferedinputstream.c:
1039 * gio/gbufferedinputstream.h:
1040 * gio/gdatainputstream.c:
1041 * gio/gfileenumerator.c:
1042 * gio/gioscheduler.c:
1043 * gio/gunionvolumemonitor.c:
1045 * programs/gio-save.c:
1046 Fix typo: availible -> available. Unfortuntely this breaks API
1047 and ABI as g_buffered_input_stream_get_available() was renamed.
1049 * gio/gunixmounts.c:
1050 * gio/gbufferedinputstream.c:
1051 Add guards for public functions.
1053 2007-11-06 Ross Burton <ross@openedhand.com>
1055 * docs/reference/gio/Makefile.am:
1056 Fix invalid += usage which automake 1.10 doesn't like.
1058 2007-11-06 Alexander Larsson <alexl@redhat.com>
1061 (g_app_launch_context_class_init):
1064 Patch from Ross Burton
1066 2007-11-06 Alexander Larsson <alexl@redhat.com>
1069 Post release version bump
1071 === gio-standalone 0.1.1 ===
1073 2007-11-06 Alexander Larsson <alexl@redhat.com>
1076 Bump version to 0.1.1
1078 * gio/gsimpleasyncresult.c:
1079 (g_simple_async_result_set_from_error):
1080 Remove bogus g_return_if_fail
1082 2007-11-06 Alexander Larsson <alexl@redhat.com>
1085 The name is gio-standalone
1088 Add top src/builddir to includedir
1090 2007-11-06 Alexander Larsson <alexl@redhat.com>
1092 * docs/reference/gio/gio-sections.txt:
1094 * gio/gbufferedinputstream.c:
1095 * gio/gbufferedoutputstream.c:
1096 * gio/gcancellable.c:
1097 * gio/gdatainputstream.h:
1098 * gio/gdataoutputstream.c:
1099 * gio/gdataoutputstream.h:
1100 * gio/gdirectorymonitor.c:
1102 * gio/gfileattribute.c:
1103 * gio/gfileattribute.h:
1104 * gio/gfileenumerator.c:
1105 * gio/gfileenumerator.h:
1108 * gio/gfileinputstream.h:
1109 * gio/gfilemonitor.c:
1110 * gio/gfileoutputstream.h:
1111 * gio/glocalfilemonitor.h:
1112 * gio/glocalfileoutputstream.h:
1113 * gio/gmemoryinputstream.c:
1114 * gio/gmemoryoutputstream.c:
1115 * gio/gmountoperation.c:
1116 * gio/goutputstream.c:
1117 * gio/goutputstream.h:
1119 * gio/gsimpleasyncresult.c:
1120 * gio/gunixmounts.c:
1121 * gio/gunixmounts.h:
1123 * gio/inotify/inotify-helper.c:
1124 Fix gtk-doc warnings
1126 Patch from Ross Burton
1128 2007-11-06 Alexander Larsson <alexl@redhat.com>
1130 * gio/gfilenamecompleter.c:
1131 (g_filename_completer_get_completions):
1134 * gio/gunixvolume.c:
1135 Remove unused function
1137 Patches from Ross Burton
1139 2007-11-06 Alexander Larsson <alexl@redhat.com>
1144 Padding not needed for interfaces
1146 2007-11-06 Alexander Larsson <alexl@redhat.com>
1148 * gio/gfilemonitor.c:
1152 Make giotypes.h an internal file
1155 * gio/gbufferedinputstream.h:
1156 * gio/gbufferedoutputstream.h:
1157 * gio/gcancellable.h:
1158 * gio/gdatainputstream.h:
1159 * gio/gdataoutputstream.h:
1160 * gio/gdirectorymonitor.c:
1161 * gio/gdirectorymonitor.h:
1166 * gio/gfileattribute.h:
1167 * gio/gfileenumerator.h:
1172 * gio/gfilemonitor.c:
1173 * gio/gfilemonitor.h:
1174 * gio/gfilenamecompleter.c:
1175 * gio/gfilenamecompleter.h:
1176 * gio/gfilterinputstream.h:
1177 * gio/gfilteroutputstream.h:
1178 * gio/ginputstream.h:
1179 * gio/gmemoryinputstream.h:
1180 * gio/gmemoryoutputstream.h:
1181 * gio/gmountoperation.c:
1182 * gio/gmountoperation.h:
1183 * gio/gnativevolumemonitor.c:
1184 * gio/goutputstream.h:
1187 * gio/gsimpleasyncresult.c:
1188 * gio/gsimpleasyncresult.h:
1189 * gio/gsocketinputstream.h:
1190 * gio/gsocketoutputstream.h:
1191 * gio/gthemedicon.c:
1192 * gio/gthemedicon.h:
1196 * gio/gvolumemonitor.c:
1197 * gio/gvolumemonitor.h:
1198 Add padding in classes where it seems useful
1199 Don't include giotypes.h from public headers
1200 Move in Class definitions into c file where possible
1205 2007-11-06 Alexander Larsson <alexl@redhat.com>
1207 * docs/reference/gio/gio-docs.xml:
1208 Better structure for API docs
1210 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1213 * gio/gloadableicon.c:
1214 * gio/gsimpleasyncresult.c:
1215 * gio/gthemedicon.c:
1216 Add some more guards to public functions. Only files missing are now
1219 2007-11-06 Alexander Larsson <alexl@redhat.com>
1221 * docs/reference/gio/gio-docs.xml:
1222 Remove old files, add missing ones
1224 2007-11-06 Alexander Larsson <alexl@redhat.com>
1226 * docs/reference/gio/gio-sections.txt:
1229 Hide implementation classes
1231 * gio/gdriveprivate.h:
1232 * gio/gvolumeprivate.h:
1233 Remove non-existing function declarations
1235 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1238 Fix compilation warnings and add guards to the new functions.
1240 * gio/gasyncresult.c:
1242 Add guards to the public functions.
1245 Implement get_path().
1247 2007-11-06 Alexander Larsson <alexl@redhat.com>
1249 * gio/gfilenamecompleter.c:
1250 Make g_filename_completer_get_completions
1251 return char ** instead of GList for
1254 * docs/reference/gio/gio-docs.xml:
1255 * docs/reference/gio/gio-sections.txt:
1257 * gio/gasyncresult.c:
1258 * gio/gbufferedinputstream.c:
1259 * gio/gbufferedoutputstream.c:
1260 * gio/gcancellable.c:
1261 * gio/gcontenttype.c:
1262 * gio/gdatainputstream.c:
1263 * gio/gdataoutputstream.c:
1264 * gio/gdesktopappinfo.c:
1265 * gio/gdirectorymonitor.c:
1269 * gio/gfileattribute.c:
1270 * gio/gfileenumerator.c:
1273 * gio/gfileinputstream.c:
1274 * gio/gfilemonitor.c:
1275 * gio/gfilenamecompleter.c:
1276 * gio/gfilenamecompleter.h:
1277 * gio/gfileoutputstream.c:
1278 * gio/gfilterinputstream.c:
1280 * gio/ginputstream.c:
1282 * gio/gioscheduler.c:
1283 * gio/gloadableicon.c:
1284 * gio/glocaldirectorymonitor.c:
1286 * gio/glocalfileinputstream.c:
1287 * gio/glocalfilemonitor.c:
1288 * gio/glocalfileoutputstream.c:
1290 * gio/gmemoryinputstream.c:
1291 * gio/gmemoryoutputstream.c:
1292 * gio/gmountoperation.c:
1293 * gio/goutputstream.c:
1294 * gio/gpollfilemonitor.c:
1296 * gio/gsimpleasyncresult.c:
1297 * gio/gsocketinputstream.c:
1298 * gio/gsocketoutputstream.c:
1299 * gio/gthemedicon.c:
1300 * gio/gunionvolumemonitor.c:
1302 * gio/gunixmounts.c:
1303 * gio/gunixvolume.c:
1304 * gio/gunixvolumemonitor.c:
1308 * gio/gvolumemonitor.c:
1309 * gio/gwin32appinfo.c:
1310 Add (mostly stub) doc strings to public functions.
1311 Patch from Andrew Walton (awalton@gmail.com)
1313 2007-11-06 Alexander Larsson <alexl@redhat.com>
1315 * gio/gappinfo.[ch]:
1316 Added GAppLaunchContext object and pass that to launch.
1317 This allows simple implementation of both
1318 launch-on-screen and startup notification via a gtk+
1319 subclass of GAppLaunchContext
1321 * gio/gdesktopappinfo.c:
1322 Implement GAppLaunchContext API
1324 * gio/gwin32appinfo.c:
1327 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1329 * gio/gmountoperation.c:
1330 Add some guards to GMountOperation's public functions.
1332 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1336 * gio/gcancellable.c:
1337 * gio/gdirectorymonitor.c:
1339 * gio/gfileenumerator.c:
1340 * gio/gfilemonitor.c:,
1341 * gio/gfilenamecompleter.c:
1344 * gio/gioscheduler.c:
1348 * gio/gvolumemonitor.c:
1349 Add even more guards to various public functions.
1351 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1354 Add guards to the public functions of GAppInfo.
1356 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1358 * gio/gcontenttype.c:
1359 Add some more guards for public functions.
1361 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1363 * gio/fam/fam-module.c:
1364 * gio/fam/gfamdirectorymonitor.c:
1365 * gio/fam/gfamdirectorymonitor.h:
1366 * gio/fam/gfamfilemonitor.c:
1367 * gio/fam/gfamfilemonitor.h:
1368 * gio/inotify/ginotifydirectorymonitor.c:
1369 * gio/inotify/ginotifydirectorymonitor.h:
1370 * gio/inotify/ginotifyfilemonitor.c:
1371 * gio/inotify/ginotifyfilemonitor.h:
1372 Add proper copyright information and remove an unused variable
1373 in the GInotifyFileMonitor constructor.
1375 * gio/gcancellable.c:
1376 Add a guard for a public function and an assertion to prevent
1377 an undefined program state.
1379 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1381 * gio/gfileattribute.c:
1382 Don't run into an assertion if the given attribute value is NULL
1383 in g_file_attribute_value_get_*() but instead return a fallback
1384 value that makes sense in most situations. Passing them a attribute
1385 value with the wrong type will still run into an assertion.
1387 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1389 * gio/gfileattribute.c:
1391 Add even more guards to the public functions. Also fix the refcounting
1392 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1393 let g_file_info_list_attributes() filter the attributes by namespace
1394 instead of simply ignoring the namespace parameter.
1396 2007-11-03 Sven Herzberg <sven@imendio.com>
1398 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1399 (This makes gio work on MacOS X again)
1401 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1404 Build the gio subdirectory before the docs. Otherwise the build will
1407 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1408 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1409 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1410 Add guards to the public functions.
1412 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1414 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1415 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1416 to prevent a compiler warning.
1418 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1419 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1420 return something in the non-void function find_topdir_for().
1422 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1429 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1431 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1432 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1433 * gwin32appinfo.c (g_win32_app_info_launch):
1434 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1435 envp_for_startup_id, g_desktop_app_info_launch,
1436 g_desktop_app_info_launch_uris):
1438 Give an opaque 'startup_id' string instead of 'envp'.
1439 Support empty file lists for launching new windows.
1440 Fix infinite recursion bug when launching URIs.
1442 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1445 Add guard to the new g_file_get_uri_scheme() function.
1447 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1450 Convert a g_return_val_if_fail() to setting the GError instead as
1451 otherwise applications have to verify the parameter before otherwise
1452 and the parameter might come directly from the user.
1454 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1456 * gio/inotify/ginotify*.[ch]:
1457 Add missing copyright information.
1459 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1462 Add guards in the beginning of public functions to check for valid
1463 parameters and fix a bug in copy_stream_with_progress() that could've
1464 caused writing less bytes than reading.
1465 * gio/glocalfileinfo.c:
1466 Check for a NULL parameter and set the GError accordingly then.
1467 * gio/goutputstream.c:
1468 Fix the same bug as in gfile.c that could've caused writing less bytes
1469 than reading in g_output_stream_real_splice().
1471 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1474 Use the correct gvolumeprivate.h naming
1476 2007-11-01 Christian Kellner <gicmo@gnome.org>
1479 Remove leftover "$(daemon_sources)" entry.
1481 2007-11-01 Christian Kellner <gicmo@gnome.org>
1486 Add copyright information to source files.
1488 2007-11-01 Alexander Larsson <alexl@redhat.com>
1492 Add g_file_get_uri_scheme
1494 2007-11-01 Alexander Larsson <alexl@redhat.com>
1497 * gio/gdesktopappinfo.c:
1498 * gio/gwin32appinfo.c:
1499 Add g_app_info_get_default_for_uri_scheme.
1501 2007-11-01 Alexander Larsson <alexl@redhat.com>
1504 Correct filename for gdriveprivate.h
1506 2007-10-31 Alexander Larsson <alexl@redhat.com>
1509 Rename id:value to id:file
1512 * gio/glocalfileinfo.c:
1515 2007-10-31 Alexander Larsson <alexl@redhat.com>
1517 * gio/gunixvolume.c:
1519 Remove g_volume_get_platform_id, as thats not
1520 needed with the simpler union volume monitor
1522 2007-10-31 Alexander Larsson <alexl@redhat.com>
1525 * gio/guniondrive.[ch]: Removed.
1526 * gio/gunionvolume.[ch]: Removed.
1527 Remove GUnionDrive/Volume
1529 * gio/gunionvolumemonitor.c:
1530 Simplify union volume monitor, now we
1531 only have one native volume monitor and
1532 we use the actual volumes/drives from the
1533 child monitors instead of wrapping them
1535 * gio/gnativevolumemonitor.[ch]:
1536 Base class for native volume monitors.
1537 Includes priority and get_volume_for_mountpoint
1540 Add g_file_find_enclosing_volume
1543 Remove volume name fs attribute
1544 Add readonly fs attribute
1547 Implement readonly attribute
1548 remove volume name attribute
1549 Implement find_enclosing volume
1551 * gio/gunixmounts.c:
1552 Add a volume for "/".
1554 * gio/gunixvolume.[ch]:
1555 Set better name for /
1557 * gio/gunixvolumemonitor.[ch]:
1558 Derive from GNativeVolumeMonitor
1559 Implement get_volume_for_mountpoint
1562 GVolume typedef moved to gfile.h
1564 * gio/gvolumeprivate.h:
1565 Add g_volume_get_for_mount_path
1567 2007-10-31 Alexander Larsson <alexl@redhat.com>
1569 * gio/gunixmounts.[ch]:
1570 Add cache info to unix mount listers
1571 Make getmntent use threadsafe
1572 Add is_system_internal attribute for GUnixMount
1574 * gio/gunixvolume.c:
1575 (g_unix_volume_new):
1576 Use is_system_internal instead of own code
1578 * gio/glocaldirectorymonitor.c:
1579 * gio/gunixvolumemonitor.c:
1580 Update to new gunixmounts API
1585 2007-10-30 Alexander Larsson <alexl@redhat.com>
1588 Add volume name fsinfo attribute
1591 Read volume name info
1593 * gio/gunionvolumemonitor.c:
1594 Fix infinite loops when finalizing a union volume monitor
1596 2007-10-30 Alexander Larsson <alexl@redhat.com>
1598 * gio/goutputstream.[ch]:
1599 Add splice() with default implementation
1601 * gio/gsocketoutputstream.c:
1602 (g_socket_output_stream_write):
1603 Return error on cancellation correctly.
1605 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1607 * gio/glocalfile.c (g_local_file_trash):
1608 Do not leak a string.
1610 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1612 * gio/gfile.c (g_file_load_contents):
1613 Unref the stream after closing it.
1615 2007-10-25 Alexander Larsson <alexl@redhat.com>
1617 * gio/gioscheduler.h:
1620 2007-10-25 Alexander Larsson <alexl@redhat.com>
1624 Add g_file_has_uri_scheme and implement for local files
1626 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1628 * gio/gdesktopappinfo.c: do not leak a string.
1630 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1632 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1633 (g_local_directory_monitor_new):
1634 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1635 (g_local_file_monitor_new):
1636 Only look for the monitor type that should be used the first time
1637 and use g_qsort_with_data() instead of our own bubble sort
1640 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1643 * gio/fam/Makefile.am:
1644 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1645 * gio/fam/fam-helper.h:
1646 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1647 * gio/fam/gfamdirectorymonitor.c:
1648 * gio/fam/gfamdirectorymonitor.h:
1649 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1650 * gio/fam/gfamfilemonitor.h:
1651 * gio/glocaldirectorymonitor.c:
1652 * gio/glocaldirectorymonitor.h:
1653 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1654 * gio/glocalfilemonitor.h:
1655 * gio/inotify/Makefile.am:
1656 * gio/inotify/ginotifydirectorymonitor.c:
1657 * gio/inotify/ginotifydirectorymonitor.h:
1658 * gio/inotify/ginotifyfilemonitor.c:
1659 * gio/inotify/ginotifyfilemonitor.h:
1660 Implement the FAM and Inotify monitors as
1661 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1662 their own GIO module. GLocal(Directory|File)Monitor will use the
1663 monitor with the highest rank that is supported on that machine.
1665 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1668 Change GIO module dir to $(libdir)/gio/modules and change
1669 the log domain from GVFS to GIO. Also only export symbols starting
1670 with g_ in the resulting library.
1671 * gio/test-streams.c: (main):
1672 Set log handler for the GIO log domain.
1674 2007-10-22 Alexander Larsson <alexl@redhat.com>
1676 * gio/gfilenamecompleter.[ch]:
1677 Add g_filename_completer_set_dirs_only
1679 2007-10-22 Alexander Larsson <alexl@redhat.com>
1682 * gio/gurifuncs.[ch]:
1683 Add some simple URI helpers
1685 * gio/gfilenamecompleter.[ch]:
1686 Added object for filename (parse name actually) completion
1689 Handle ~ in parse names
1691 2007-10-17 Alexander Larsson <alexl@redhat.com>
1694 * gio/glocalfileinfo.c:
1695 Add and implement id:value attribute
1697 2007-10-17 Alexander Larsson <alexl@redhat.com>
1700 * gio/guniondrive.c:
1702 Add and implement g_drive_has_volumes
1704 2007-10-17 Alexander Larsson <alexl@redhat.com>
1707 * gio/glocalfileinfo.[ch]:
1708 Add unix:is_mountpoint and implement for local files
1710 2007-10-16 Alexander Larsson <alexl@redhat.com>
1712 * gio/gunionvolumemonitor.c:
1713 (g_union_volume_monitor_init):
1714 Fix up the unix type getting so that it works with gcc
1716 2007-10-12 Alexander Larsson <alexl@redhat.com>
1719 * gio/glocalfileinfo.c:
1720 Add thumbnail:failed to file info
1722 2007-10-12 Richard Hult <richard@imendio.com>
1724 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1725 optimizing away the get_type call (happens with some gcc versions,
1726 like the one shipped with OS X 10.4).
1728 2007-10-12 Alexander Larsson <alexl@redhat.com>
1730 * gio/glocalfileinfo.c:
1731 (_g_local_file_info_set_attribute):
1732 Fix build if not HAVE_XATTR
1733 Patch from Milosz Derezynski <internalerror@gmail.com>
1735 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1737 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1738 around for review, otherwise I would have asked you before
1741 2007-10-11 Alexander Larsson <alexl@redhat.com>
1744 Add thumbnail:path attribute
1746 * gio/glocalfileinfo.c:
1747 Implement thumbnail:path for local files
1749 2007-10-11 Alexander Larsson <alexl@redhat.com>
1751 * gio/glocalfileinfo.c:
1752 (_g_local_file_info_get):
1753 Avoid duplicate icon names
1755 2007-10-11 Alexander Larsson <alexl@redhat.com>
1757 * gio/gthemedicon.[ch]:
1758 Change g_themed_icon_get_names return type to const
1760 2007-10-10 Alexander Larsson <alexl@redhat.com>
1762 * gio/glocalfileinfo.c:
1763 Don't reference freed memory
1765 2007-10-10 Alexander Larsson <alexl@redhat.com>
1767 * gio/gfileattribute.c:
1770 * gio/glocalfileinfo.c:
1773 2007-10-10 Alexander Larsson <alexl@redhat.com>
1776 Check for NULL icons
1778 * gio/gfileattribute.c:
1779 Don't dup when getting objects (same as for string attributes)
1781 * gio/gicon.c (g_icon_equal):
1782 Safely handle NULLs in equal
1784 2007-10-10 Alexander Larsson <alexl@redhat.com>
1787 Fix c++ compilation issues
1788 Patch from Milosz Derezynski <internalerror@gmail.com>
1790 2007-10-10 Alexander Larsson <alexl@redhat.com>
1792 * programs/gio-monitor-dir.c:
1793 Don't crash if dir monitor not supported.
1795 2007-10-09 Alexander Larsson <alexl@redhat.com>
1798 Add missing G_END_DECLS
1800 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1802 * gio/gfile.c: (g_file_set_display_name),
1803 (g_file_query_settable_attributes),
1804 (g_file_query_writable_namespaces):
1805 Return NULL not FALSE on errors as the return type is a pointer.
1807 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1809 * gio/glocalfile.c: (g_local_file_monitor_file):
1810 Don't call monitor_file on the default interface vtable (which
1811 is NULL) but simply return NULL. The caller, GFile, will create a
1812 polling monitor if NULL is returned.
1814 2007-10-09 Alexander Larsson <alexl@redhat.com>
1818 * gio-unix-2.0.pc.in:
1819 Add gio-unix-2.0.pc if OS_UNIX
1822 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1824 2007-10-09 Alexander Larsson <alexl@redhat.com>
1826 * gio/gunixmounts.[ch]:
1827 Make unix mount monitoring API sane.
1828 Now its just a object with mounts_changed
1829 and mountpoints_changed signals.
1831 * gio/glocaldirectorymonitor.c:
1832 * gio/gunixvolumemonitor.c:
1833 Use new mount monitor api
1835 2007-10-09 Alexander Larsson <alexl@redhat.com>
1837 * gio/gunixmounts.[ch]:
1838 Move guess type into one call for mounts and one for mountpoints
1841 * gio/gunixvolume.c:
1844 2007-10-09 Alexander Larsson <alexl@redhat.com>
1846 * gio/gunixmounts.[ch]:
1847 Remove _ prefix in preparation to make this semi-public
1848 Hide implementation of structs
1850 * gio/glocaldirectorymonitor.c:
1852 * gio/gunixvolume.c:
1853 * gio/gunixvolumemonitor.c:
1854 Update for above API changes
1856 2007-10-08 Alexander Larsson <alexl@redhat.com>
1859 Better polling fallback. This also handles the case where we have
1860 a monitor_file implementation, but it fails.
1862 2007-10-08 Alexander Larsson <alexl@redhat.com>
1866 * gio/gunixmounts.c:
1867 * programs/gio-monitor-dir.c:
1868 * programs/gio-monitor-file.c:
1869 Added cancellable to file monitoring calls.
1870 These are really sync calls and need this.
1872 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1874 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1875 (g_local_vfs_class_init):
1876 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1877 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1879 2007-10-05 Alexander Larsson <alexl@redhat.com>
1881 * gio/gdirectorymonitorprivate.h:
1882 * gio/gfilemonitorprivate.h:
1883 * gio/gdirectorymonitor.h:
1884 * gio/gfilemonitor.h:
1885 Remove *private.h and move to the public API, so that
1886 we can do implementations outside gio (such as in gvfs)
1888 * gio/gdirectorymonitor.c:
1889 * gio/gfilemonitor.c:
1890 * gio/glocaldirectorymonitor.c:
1891 * gio/gpollfilemonitor.c:
1892 * gio/inotify/inotify-helper.c:
1893 * gio/fam/fam-helper.c:
1894 Update to the new header names
1896 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
1898 * gio/gdirectorymonitor.c:
1899 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1902 2007-10-04 Alexander Larsson <alexl@redhat.com>
1904 * gio/glocalfileinfo.c (get_access_rights):
1905 Set CAN_TRASH when we can move the file.
1906 We should really also check for a parent trash dir.
1908 2007-10-04 Alexander Larsson <alexl@redhat.com>
1910 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1911 Add can_trash access attribute
1913 2007-10-04 Alexander Larsson <alexl@redhat.com>
1916 (g_local_file_trash):
1917 Create info file first. This is per-spec and allows
1918 us to actually trash directories.
1920 2007-10-02 Alexander Larsson <alexl@redhat.com>
1922 * gio/gdesktopappinfo.c:
1923 Implement the new mime support code.
1924 Always set app as handling mimetype when being set as default for it
1926 2007-10-01 Alexander Larsson <alexl@redhat.com>
1928 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
1929 Fix up check for xattrs:
1931 2007-10-01 Alexander Larsson <alexl@redhat.com>
1934 (g_app_info_set_as_default_for_extension):
1935 (g_app_info_add_supports_type):
1936 (g_app_info_can_remove_supports_type):
1937 (g_app_info_remove_supports_type):
1938 Make these fail nicely if not implemented
1940 2007-10-01 Paolo Borelli <pborelli@katamail.com>
1942 * gio/glocalfileoutputstream.c:
1943 * gio/glocalfileoutputstream.h:
1948 * programs/gio-save.c:
1949 Add a GFileCreateFlags argument to operations that can create
1952 2007-10-01 Alexander Larsson <alexl@redhat.com>
1954 * gio/gappinfo.[ch]:
1955 * gio/gdesktopappinfo.c:
1956 Add more (stubbed out) mime API needed for nautilus
1958 2007-10-01 Alexander Larsson <alexl@redhat.com>
1961 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
1962 Add g_app_info_set_as_default_for_extension.
1964 * gio/gdesktopappinfo.c:
1965 Dummy for g_app_info_set_as_default_for_extension
1966 Support flags in g_app_info_create_from_commandline
1968 * gio/gwin32appinfo.c:
1970 Update for API changes
1972 * gio/gthemedicon.c:
1973 Properly NULL-terminate list of icon names
1975 2007-09-28 Alexander Larsson <alexl@redhat.com>
1977 * gio/gloadableicon.h:
1978 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
1980 2007-09-28 Alexander Larsson <alexl@redhat.com>
1983 Install headers in $includedir/gio-standalone/
1985 * gio-2.0.pc.in: Added.
1986 * gio-standalone.pc.in: Removed.
1989 Renamed pkg-config file to match glib (for future move)
1990 Update to the new include dir
1993 Add more TODO comments
1995 2007-09-28 Alexander Larsson <alexl@redhat.com>
1997 * gio/gdesktopappinfo.[ch]:
1998 Expose new_from_filename
1999 Add getter for is_hidden and handle it better
2001 2007-09-28 Alexander Larsson <alexl@redhat.com>
2003 * gio/gfileinfo.[ch]:
2004 Rename g_file_size_format_for_display to
2005 g_format_file_size_for_display.
2006 Now it doesn't have the g_file prefix, so we
2007 can later move it to glib.
2009 2007-09-28 Alexander Larsson <alexl@redhat.com>
2011 * gio/gappinfo.[ch]:
2012 Add g_app_info_get_id and g_app_info_get_executable.
2013 Make all getters non-reffing
2014 Make g_app_info_launch take GFile arguments.
2015 Add must_support_uris argument to g_app_info_get_default_for_type.
2017 * gio/gwin32appinfo.c:
2018 Update to GAppInfo api changes
2020 * gio/gdesktopappinfo.c:
2021 Update to GAppInfo api changes
2022 Implement supports_xdg_startup_notify
2024 * gio/gfileicon.c (g_file_icon_get_file):
2025 Make getter non-reffing.
2030 2007-09-27 Alexander Larsson <alexl@redhat.com>
2032 * gio/gfileinfo.[ch]:
2033 Add g_file_size_format_for_display helper
2035 2007-09-27 Alexander Larsson <alexl@redhat.com>
2037 * gio/glocalfileinfo.c:
2038 Set UNIX_GID from gid, not from uid
2040 2007-09-27 Alexander Larsson <alexl@redhat.com>
2043 Add g_file_set_attributes_async
2045 2007-09-27 Alexander Larsson <alexl@redhat.com>
2047 * gio/glocalfile.c (g_local_file_set_display_name):
2048 Fix set_display_name to actually rename to the right place.
2049 Use lstat to look for existing files so we don't overwrite
2052 2007-09-26 Alexander Larsson <alexl@redhat.com>
2055 Add g_file_set_display_name_async()
2057 2007-09-26 Alexander Larsson <alexl@redhat.com>
2060 Add load_partial_contents async calls
2063 Make internal function static
2065 2007-09-26 Alexander Larsson <alexl@redhat.com>
2067 * gio/glocalfileinfo.c:
2068 Correctly detect broken symlinks
2070 2007-09-26 Alexander Larsson <alexl@redhat.com>
2072 * gio/gcancellable.c (g_cancellable_cancel):
2073 Allow cancel on NULL cancellable
2075 2007-09-25 Alexander Larsson <alexl@redhat.com>
2077 * gio/gsimpleasyncresult.c:
2078 Don't allocate g_error manually.
2079 Fixes g_slice/g_new mixup crash
2081 2007-09-25 Alexander Larsson <alexl@redhat.com>
2083 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2084 Actually set active_backend.
2085 This means the monitor will be cancelled correctly.
2087 2007-09-25 Alexander Larsson <alexl@redhat.com>
2089 * gio/gdirectorymonitor.c:
2090 Set timeout to NULL when destroying
2092 2007-09-25 Alexander Larsson <alexl@redhat.com>
2095 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2096 that is a better description of the error.
2098 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2100 * gio/gvfs.c: (g_vfs_get_local):
2101 Make the local vfs variable static. The same instance should
2104 2007-09-24 Alexander Larsson <alexl@redhat.com>
2106 * gio/glocalfileinfo.c:
2107 Pass in actual length read into sniffer, not the length
2110 2007-09-21 Alexander Larsson <alexl@redhat.com>
2112 * gio/gfileenumerator.c:
2115 * gio/gfileinputstream.c:
2116 * gio/gfileoutputstream.c:
2117 * gio/ginputstream.c:
2118 * gio/goutputstream.c:
2119 Don't crash if async callbacks are NULL
2121 2007-09-20 Alexander Larsson <alexl@redhat.com>
2124 Add async enumerate_children method and default
2127 2007-09-20 Alexander Larsson <alexl@redhat.com>
2130 Add g_file_contains_file & g_file_get_relative_path, since they
2131 were needed for nautilus.
2132 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2137 Implement new methods
2139 2007-09-17 Alexander Larsson <alexl@redhat.com>
2142 * gio/gfileinputstream.[ch]:
2143 * gio/gfileoutputstream.[ch]:
2145 * gio/glocalfileenumerator.[ch]:
2146 * gio/glocalfileinfo.[ch]:
2147 * gio/glocalfileinputstream.c:
2148 * gio/glocalfileoutputstream.c:
2149 * gio/gpollfilemonitor.c:
2150 * programs/gio-copy.c:
2151 * programs/gio-info.c:
2152 * programs/gio-move.c:
2153 Rename get_file_info to query_info() to make it clearer
2154 that these are not simple getters, but do i/o.
2156 2007-09-17 Alexander Larsson <alexl@redhat.com>
2158 * gio/gdatainputstream.[ch]:
2159 * gio/test-streams.c:
2160 Use _read_XXX instead of _get_XXX for the i/o calls
2163 2007-09-17 Alexander Larsson <alexl@redhat.com>
2166 Added needed stuff to TODO comment
2168 2007-09-17 Alexander Larsson <alexl@redhat.com>
2170 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2171 Don't error out removing the backup copy if it doesn't
2174 2007-09-14 Alexander Larsson <alexl@redhat.com>
2176 * programs/Makefile.am:
2177 * programs/gvfs-*.c:
2179 Renamed apps from gvfs-xxx to gio-xxx.
2181 2007-09-14 Alexander Larsson <alexl@redhat.com>
2184 * gio/gfileoutputstream.[ch]:
2185 * gio/glocalfileoutputstream.c:
2186 * programs/gvfs-save.c:
2187 g_file_output_stream_get_etag doesn't do i/o, so remove
2188 cancellation and error.
2190 2007-09-14 Alexander Larsson <alexl@redhat.com>
2193 Add new_etag output to replace_contents functions
2195 2007-09-14 Alexander Larsson <alexl@redhat.com>
2197 * gio/gfileoutputstream.[ch]:
2198 Add async get_file_info and default implementation
2200 2007-09-14 Alexander Larsson <alexl@redhat.com>
2202 * gio/gfileinputstream.c:
2203 Implement fallback wrapper for async get_file_info
2205 2007-09-14 Alexander Larsson <alexl@redhat.com>
2208 Add etag out argument to load_contents
2213 2007-09-14 Alexander Larsson <alexl@redhat.com>
2215 * gio/gcontenttype.c (looks_like_text):
2216 Whitespace like tab, cr and lf do not make the
2219 2007-09-14 Alexander Larsson <alexl@redhat.com>
2221 * gio/gfileinputstream.[ch]:
2222 Add async get_file_info.
2224 2007-09-13 Alexander Larsson <alexl@redhat.com>
2226 * gio/goutputstream.c (g_output_stream_write_all):
2227 Allow NULL for bytes_written
2229 2007-09-13 Alexander Larsson <alexl@redhat.com>
2231 * gio/gmemoryinputstream.[ch]:
2232 Add accessors for data
2234 2007-09-13 Alexander Larsson <alexl@redhat.com>
2236 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2237 Don't crash if length is NULL