1 2007-12-14 Alexander Larsson <alexl@redhat.com>
4 * gsimpleasyncresult.c:
5 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
6 Split out the send_to_mainloop call into two versions instead
7 of having the block argument.
9 2007-12-13 Alexander Larsson <alexl@redhat.com>
13 * gbufferedinputstream.c:
16 * gfileoutputstream.c:
20 g_push/pop_current_cancellable ->
21 g_cancellable_push/pop_current
23 2007-12-13 Alexander Larsson <alexl@redhat.com>
27 Rename g_mount_for_location to g_file_mount_enclosing_volume.
29 2007-12-13 Alexander Larsson <alexl@redhat.com>
32 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
34 2007-12-12 Alexander Larsson <alexl@redhat.com>
37 Fix race condition when freeing proxy in
38 g_io_job_send_to_mainloop().
40 2007-12-12 Alexander Larsson <alexl@redhat.com>
46 Make attribute namespace separator "::" instead of ":".
47 Use - instead of _ as separator in attribute names.
49 2007-12-12 Alexander Larsson <alexl@redhat.com>
51 * gbufferedinputstream.h:
52 * gbufferedoutputstream.h:
54 * gdataoutputstream.h:
55 * gdirectorymonitor.h:
59 * gfileoutputstream.h:
60 * gfilterinputstream.h:
61 * gfilteroutputstream.h:
63 * glocalfileinputstream.h:
64 * glocalfileoutputstream.h:
65 * gmemoryinputstream.h:
66 * gmemoryoutputstream.h:
67 * gnativevolumemonitor.h:
70 * gunixoutputstream.h:
73 s/parent/parent_instance/ in GObjects
75 2007-12-12 Alexander Larsson <alexl@redhat.com>
80 No need for padding for interfaces
82 2007-12-12 Alexander Larsson <alexl@redhat.com>
86 * gbufferedinputstream.c:
87 * gbufferedoutputstream.c:
90 * gdatainputstream.[ch]:
92 * gdirectorymonitor.c:
94 * gfileattribute.[ch]:
99 * gfileoutputstream.[ch]:
100 * gfilterinputstream.h:
101 * gfilteroutputstream.h:
104 * gloadableicon.[ch]:
105 * gmemoryinputstream.c:
108 Fix up a bunch of details in the docs.
113 2007-12-11 David Zeuthen <davidz@redhat.com>
115 Rework how volumes, drives and volume monitoring is
116 done. Previosly the model was
120 where a GDrive instance represented a mount point and a GVolume
121 instance represented a mounted file system. This patch changes it
124 GDrive <1-N> GVolume <1-1> GMount
126 where GMount now serves the purpose of the old GVolume and the new
127 GVolume serves the purpose of the old GDrive. In addition the new
128 GDrive interface is used to represent a collection of GVolume
129 instances (typically partitions) and also contains utility to query
130 the state of the physical drive the GDrive object represents (such
131 as checking for media, polling the drive, ejecting the media etc.).
133 Also implement mounting and unmounting in the Unix volume monitor
134 backend. A subquent patch will introduce GDrive support for ejection
138 * gdrive.c: (g_drive_is_media_check_automatic),
139 (g_drive_is_media_removable), (g_drive_has_media),
140 (g_drive_can_poll_for_media), (g_drive_eject),
141 (g_drive_eject_finish), (g_drive_poll_for_media),
142 (g_drive_poll_for_media_finish):
144 * gfile.c: (g_file_find_enclosing_mount):
147 * glocaldirectorymonitor.c:
148 (g_local_directory_monitor_constructor), (mounts_changed):
149 * glocalfile.c: (get_mount_info),
150 (g_local_file_find_enclosing_mount),
151 (g_local_file_file_iface_init):
152 * gnativevolumemonitor.h:
153 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
154 (get_connected_drives), (g_union_volume_monitor_class_init),
155 (child_volume_added), (child_volume_removed),
156 (child_volume_changed), (child_mount_added), (child_mount_removed),
157 (child_mount_pre_unmount), (child_mount_changed),
158 (child_drive_changed), (g_union_volume_monitor_add_monitor),
159 (g_union_volume_monitor_remove_monitor),
160 (_g_mount_get_for_mount_path):
161 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
162 (guess_system_internal), (_g_get_unix_mounts),
163 (_g_get_unix_mount_points), (g_get_unix_mount_at),
164 (g_unix_mount_free), (g_unix_mount_compare),
165 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
166 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
167 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
168 (type_to_icon), (g_unix_mount_guess_name),
169 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
170 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
171 (_resolve_symlink), (_resolve_dev_root):
173 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
174 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
175 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
176 (g_unix_volume_get_name), (g_unix_volume_can_mount),
177 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
178 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
179 (g_unix_volume_mount), (g_unix_volume_mount_finish),
180 (g_unix_volume_volume_iface_init):
182 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
183 (get_mounts), (get_volumes), (get_connected_drives),
184 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
185 (mountpoints_changed), (mounts_changed),
186 (g_unix_volume_monitor_init),
187 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
188 (find_mount_by_mountpath), (update_volumes), (update_mounts):
189 * gunixvolumemonitor.h:
190 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
191 (g_volume_mount), (g_volume_mount_finish):
193 * gvolumemonitor.c: (g_volume_monitor_class_init),
194 (g_volume_monitor_get_connected_drives),
195 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
198 2007-12-10 Matthias Clasen <mclasen@redhat.com>
200 * gmountoperation.h (GPasswordFlags): Close the gap
202 2007-12-10 Matthias Clasen <mclasen@redhat.com>
204 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
206 * gdesktopappinfo.[hc]: Remove _-prefixes
208 2007-12-10 Tor Lillqvist <tml@novell.com>
210 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
213 2007-12-10 Alexander Larsson <alexl@redhat.com>
215 * gfile.c (g_file_set_display_name):
216 Don't hardcode '/' (#502727)
218 2007-12-09 Hans Breuer <hans@breuer.org>
220 * makefile.msc : follow lib naming convention
221 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
222 for user and group name, tested with ../tests/gio-ls
224 2007-12-09 A. Walton <awalton@svn.gnome.org>
237 * gmemoryinputstream.c:
238 * gmemoryoutputstream.c:
240 * gsimpleasyncresult.c:
241 More documentation cleanup and filling in missing information, bringing
242 GIO to 99% symbol coverage.
244 2007-12-08 Hans Breuer <hans@breuer.org>
246 [gio compiles and links on win32, not sure how much already works]
247 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
248 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
249 base on win32 API; prefer g_lstat() over lstat(); instead of
250 localtime_r() use an all GLib implementation on win32;
251 get_mount_info() still needs a win32 specifc implementation
252 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
253 win32_get_file_user_info to get owner/group info without uid/gid
254 * glocalfileinputstream.c : include <io.h> on win32
255 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
256 definition, use g_win32_ftruncate() for G_OS_WIN32
257 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
258 it is available with mingw/w32api but a mess with the M$ Platform SDKs
259 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
260 * makefile.msc : updated
262 2007-12-07 Alexander Larsson <alexl@redhat.com>
264 * glocalfileenumerator.c (_g_local_file_enumerator_new):
265 Avoid warning spew if error == NULL
267 2007-12-07 Alexander Larsson <alexl@redhat.com>
270 Update docs wrt etags
272 2007-12-06 Alexander Larsson <alexl@redhat.com>
275 Include sys/types.h for dev_t (#501919)
277 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
281 Make abicheck and pltcheck pass.
283 2007-12-05 Alexander Larsson <alexl@redhat.com>
286 * giomodule-priv.h: Added.
287 * glocaldirectorymonitor.c:
288 * glocalfilemonitor.c:
289 * gunionvolumemonitor.c:
291 Actually add the declaration of _g_io_modules_ensure_loaded
293 2007-12-05 Alexander Larsson <alexl@redhat.com>
295 * gdatainputstream.c:
300 * glocaldirectorymonitor.c:
301 * glocalfilemonitor.c:
302 * gunionvolumemonitor.c:
304 Make g_io_modules_ensure_loaded a private function and
305 don't pass in the dirname. This means we can do magic
306 directory finding in the win32 version.
307 Export the actual load-modules-in-directory code so that
310 2007-12-05 Alexander Larsson <alexl@redhat.com>
312 * gbufferedinputstream.c:
313 * gbufferedoutputstream.c:
316 * gfileenumerator.[ch]:
317 * gfileinputstream.c:
318 * gfileoutputstream.[ch]:
319 * gfilterinputstream.c:
320 * gfilteroutputstream.c:
323 * glocalfileenumerator.c:
324 * glocalfileinputstream.c:
325 * glocalfileoutputstream.c:
326 * gmemoryinputstream.c:
327 * gmemoryoutputstream.c:
328 * goutputstream.[ch]:
331 * gunixinputstream.c:
332 * gunixoutputstream.c:
333 Rename all struct members named:
334 read, write, close, truncate, or mount
335 to foo_fn, as these are reserved names
336 and could be defined as macros in libc.
339 2007-12-04 Alexander Larsson <alexl@redhat.com>
342 (g_output_stream_close):
343 Only call flush if non-null.
345 2007-11-30 Dan Winship <danw@gnome.org>
347 * ginputstream.c (g_input_stream_set_pending): Make this take a
348 GError and return a gboolean, and do the "outstanding operation"
349 check (and the "stream is already closed" check) itself.
350 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
352 * goutputstream.c (g_output_stream_set_pending)
353 (g_output_stream_clear_pending): Likewise
355 * gbufferedinputstream.c:
356 * gfileinputstream.c:
357 * gfileoutputstream.c: Update for that
359 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
360 Like g_simple_async_report_error_in_idle, but takes a GError
361 rather than building one.
363 2007-11-30 Dan Winship <danw@gnome.org>
365 * goutputstream.c: Don't cheat and unset the "pending" flag around
366 inner calls. Instead, call the class method directly rather than
367 the wrapper function that checks "pending"
369 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
371 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
373 2007-12-03 Hans Breuer <hans@breuer.org>
375 [start of port to win32/msvc]
376 * gcancellable.c : HAVE_UNIST_H and _pipe()
377 * gcontenttype.c : only include <dirent.h> in the UNIX branch
378 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
379 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
381 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
382 * glocalvfs.c : use HAVE_PWD_H
383 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
384 * makefile.msc : new file (maybe later converted to makefile.msc.in)
385 * Makefile.am : added to EXTRA_DIST
387 2007-12-03 Matthias Clasen <mclasen@redhat.com>
389 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
392 2007-12-03 Alexander Larsson <alexl@redhat.com>
395 Handle OSX style xattrs API (#500506)
397 2007-12-03 Alexander Larsson <alexl@redhat.com>
401 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
403 2007-12-02 A. Walton <awalton@svn.gnome.org>
407 Documentation accuracy fixes.
409 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
411 * gioenumtypes.c.template: Fix typo.
413 2007-12-01 Matthias Clasen <mclasen@redhat.com>
415 * gioenumtypes.c.template: Make threadsafe get_type() functions.
417 2007-12-01 Matthias Clasen <mclasen@redhat.com>
419 * gdirectorymonitor.c:
420 * gfilemonitor.c: Add properties
422 * gbufferedoutputstream.c: Don't mark buffer-size property
425 2007-12-01 Matthias Clasen <mclasen@redhat.com>
427 * gbufferedoutputstream.c: Add auto-grow property.
429 2007-11-30 Matthias Clasen <mclasen@redhat.com>
431 * *.c: Unify the capitalization of section headings.
433 2007-11-30 Matthias Clasen <mclasen@redhat.com>
435 * gmountoperation.c: Add properties
437 * gdatainputstream.c: Turn byte-order and newline-type into
440 2007-11-30 Matthias Clasen <mclasen@redhat.com>
442 * gioenumtypes.[hc].template: Templates for enum registration
444 * Makefile.am: Generate gioenumtypes.[hc]
446 * gio.h: Include gioenumtypes.h
448 * gfile.h: Add some explicit nicks.
450 * gio.symbols: Add new symbols
452 * pltcheck.sh: Adjust
454 2007-11-30 Matthias Clasen <mclasen@redhat.com>
456 * *.c: Explain etags and link to the explanation
458 2007-11-29 Matthias Clasen <mclasen@redhat.com>
460 * *.c: Explain I/O priority.
462 * *.c: More coding style fixes.
464 2007-11-29 Matthias Clasen <mclasen@redhat.com>
466 * gasyncresult.c: Add another paragraph to the intro,
467 adjust coding style of example.
469 2007-11-29 A. Walton <awalton@svn.gnome.org>
472 Fixes unknown meaning in GAppLaunchContext docs.
474 Clarify asynchronous ops.
479 Provides missing gtk-doc section, fixes API docs slighly.
480 * gsimpleasyncresult.c:
481 Fill in missing info in docs.
482 * gunixinputstream.c:
483 * gunixoutputstream.c:
484 Be more expressive in short description.
486 Remove gtk-doc stubs for non-public API.
488 2007-11-28 Matthias Clasen <mclasen@redhat.com>
490 * *.c: Coding style fixups
492 2007-11-28 Matthias Clasen <mclasen@redhat.com>
494 * inotify/inotify-helper.c: Don't export the lock from libgio.
496 2007-11-28 Matthias Clasen <mclasen@redhat.com>
499 * abicheck.sh: Fix copy-and-paste leftovers
501 2007-11-28 Matthias Clasen <mclasen@redhat.com>
503 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
505 2007-11-28 Alexander Larsson <alexl@redhat.com>
509 Removed unnecessary file
511 * gdesktopappinfo.[ch]:
514 * glocaldirectorymonitor.[ch]:
516 * glocalfileenumerator.[ch]:
517 * glocalfileinputstream.[ch]:
518 * glocalfilemonitor.[ch]:
519 * glocalfileoutputstream.[ch]:
521 * gnativevolumemonitor.c:
522 * gpollfilemonitor.[ch]:
523 * gunionvolumemonitor.[ch]:
526 * gunixvolumemonitor.[ch]:
529 * inotify/ginotifydirectorymonitor.[ch]:
530 * inotify/ginotifyfilemonitor.[ch]:
531 * inotify/inotify-helper.c:
532 Append _ to all internal functions
536 Export symbols needed for modules
538 2007-11-28 Alexander Larsson <alexl@redhat.com>
541 * abicheck.sh: Added.
542 * makegioalias.pl: Added.
543 * pltcheck.sh: Added.
544 * gio.symbols: Added.
547 Initial work on adding symbol handling.
550 Correct ifdef guard name
553 * inotify/Makefile.am:
554 * xdgmime/Makefile.am:
555 Include toplevel Makefile.decl
557 2007-11-27 Matthias Clasen <mclasen@redhat.com>
559 * gcontenttype.c: Move doc comments to the unix section.
561 * *.[hc]: More trivial doc corrections.
563 2007-11-27 Matthias Clasen <mclasen@redhat.com>
565 * gpollfilemonitor.c:
574 * gdatainputstream.c:
575 * gdatainputstream.h:
576 * gdataoutputstream.c:
577 * gdataoutputstream.h:
578 * gfileinfo.h: Doc cleanups
580 2007-11-28 Andre Klapper <a9016009@gmx.de>
582 * gdesktopappinfo.c: Fix a typo.
584 2007-11-27 Andre Klapper <a9016009@gmx.de>
586 * glocalfileoutputstream.c: Fix a typo.
588 2007-11-27 Alexander Larsson <alexl@redhat.com>
591 Don't include removed headers
593 2007-11-27 Alexander Larsson <alexl@redhat.com>
596 * gsocketinputstream.[ch]: Removed.
597 * gsocketoutputstream.[ch]: Removed.
598 * gunixinputstream.[ch]: Added.
599 * gunixoutputstream.[ch]: Added.
600 Renamed GSocket*Stream to GUnix*Stream and made
601 it unix-only, since its not really only for sockets
602 and it only works on unix (but is highly useful there).
604 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
610 * gbufferedinputstream.c:
611 * gbufferedinputstream.h:
612 * gbufferedoutputstream.c:
613 * gbufferedoutputstream.h:
617 * gdatainputstream.c:
618 * gdatainputstream.h:
619 * gdataoutputstream.c:
620 * gdataoutputstream.h:
621 * gdirectorymonitor.c:
622 * gdirectorymonitor.h:
635 * gfileinputstream.c:
636 * gfileinputstream.h:
639 * gfilenamecompleter.c:
640 * gfilenamecompleter.h:
641 * gfileoutputstream.c:
642 * gfileoutputstream.h:
643 * gfilterinputstream.c:
644 * gfilterinputstream.h:
645 * gfilteroutputstream.c:
646 * gfilteroutputstream.h:
659 * glocalfileoutputstream.c:
660 * gmemoryinputstream.c:
661 * gmemoryinputstream.h:
662 * gmemoryoutputstream.c:
663 * gmemoryoutputstream.h:
668 * gpollfilemonitor.c:
671 * gsimpleasyncresult.c:
672 * gsimpleasyncresult.h:
673 * gsocketinputstream.c:
674 * gsocketinputstream.h:
675 * gsocketoutputstream.c:
676 * gsocketoutputstream.h:
683 * gunixvolumemonitor.c:
692 Bumps documentation to 93% symbol coverage, touching most
693 of the public files. Fixes broken function documentation prototypes.
694 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
695 gtk-doc headers in private files.
697 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
699 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
700 (g_buffered_input_stream_read_byte):
701 * gbufferedinputstream.h:
702 New functions for efficient access to buffer and simple single byte
705 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
706 (g_data_input_stream_read_until):
707 * gdatainputstream.h:
708 Use peek_buffer to avoid memcpy in scan_for_newline, implement
709 read_until with multiple stop chars.
711 2007-11-27 Alexander Larsson <alexl@redhat.com>
715 * inotify/Makefile.am:
716 Use the user-specified giomoduledir
718 2007-11-27 Alexander Larsson <alexl@redhat.com>
722 Add catch-all gio.h header
723 Don't install gdummyfile.h
725 2007-11-26 Alexander Larsson <alexl@redhat.com>
727 * Makefile.am (gioinclude_HEADERS):
728 Remove trailing whitespace
730 2007-11-26 Alexander Larsson <alexl@redhat.com>
732 Merge gio-standalone into glib
734 2007-11-25 Christian Kellner <gicmo@gnome.org>
736 * gio/goutputstream.c:
737 Fix small mistake in the docs.
739 2007-11-21 Christian Persch <chpe@gnome.org>
741 * gio/glocalfile.c: (g_local_file_trash):
742 Convert filenames to UTF-8 for GError.
743 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
744 as per xdg base dir spec.
746 2007-11-21 Christian Persch <chpe@gnome.org>
748 * gio/gdesktopappinfo.c:
749 Use that g_key_file_to_data cannot fail.
751 Use stock defines for the key file group and key names.
754 2007-11-21 Alexander Larsson <alexl@redhat.com>
757 (copy_stream_with_progress):
758 Make sure we do a final progress callback with
761 2007-11-21 Alexander Larsson <alexl@redhat.com>
764 Export g_file_copy_attributes
765 Remove padding as its not needed for interfaces
767 2007-11-20 Alexander Larsson <alexl@redhat.com>
772 Add G_IO_ERROR_WOULD_MERGE for
773 copy/move dir on dir with overwrite.
775 2007-11-20 Alexander Larsson <alexl@redhat.com>
778 * gio/glocalfileinfo.c:
779 Add COPY_NAME (this is an optional
780 non-modified utf8 version of the name) that
783 2007-11-20 Alexander Larsson <alexl@redhat.com>
785 * gio/glocalfileenumerator.c:
786 Report errors as GIOError, not GFileError
788 2007-11-16 Alexander Larsson <alexl@redhat.com>
790 * gio/glocalfileoutputstream.c:
791 * gio/gwin32appinfo.c:
792 Fix typos in strings.
793 Patch from Luca Ferretti <elle.uca@libero.it>
795 2007-11-15 Alexander Larsson <alexl@redhat.com>
798 Post release version bump
800 === gio-standalone 0.1.2 ===
802 2007-11-15 Alexander Larsson <alexl@redhat.com>
804 * docs/reference/gio/Makefile.am:
805 Fix up distcheck by removing weird
811 2007-11-14 Alexander Larsson <alexl@redhat.com>
813 * gio/gdesktopappinfo.c:
814 * gio/glocaldirectorymonitor.c:
816 * gio/glocalfileinfo.c:
817 * gio/inotify/inotify-sub.c:
818 * programs/gio-cat.c:
819 * programs/gio-copy.c:
820 * programs/gio-info.c:
822 * programs/gio-monitor-dir.c:
823 * programs/gio-monitor-file.c:
824 * programs/gio-mount.c:
825 * programs/gio-move.c:
827 * programs/gio-save.c:
828 * programs/gio-trash.c:
829 Leak fixes from Kjartan Maraas
831 2007-11-14 Alexander Larsson <alexl@redhat.com>
833 * gio/fam/fam-helper.c:
835 * gio/glocalfileinfo.c:
839 * gio/inotify/inotify-diag.c:
840 * gio/inotify/inotify-kernel.c:
841 Various code cleanups from Kjartan Maraas
843 2007-11-14 Alexander Larsson <alexl@redhat.com>
845 * gio/gioscheduler.c:
847 Set up threadpool so that we cache 2 unused
848 idle threads for at 15 secs. This means we
849 will reuse thread-local data (like dbus connections)
852 2007-11-14 Alexander Larsson <alexl@redhat.com>
854 * gio/fam/fam-helper.c:
855 * gio/fam/gfamdirectorymonitor.c:
856 * gio/fam/gfamfilemonitor.c:
858 * gio/gcontenttype.c:
859 * gio/gdatainputstream.c:
860 * gio/gdataoutputstream.c:
864 * gio/gfileattribute.h:
865 * gio/gfileenumerator.c:
867 * gio/ginputstream.c:
870 * gio/glocalfileinfo.c:
871 * gio/goutputstream.c:
872 * gio/gpollfilemonitor.c:
873 * gio/gsimpleasyncresult.c:
876 * gio/inotify/ginotifydirectorymonitor.c:
877 * gio/inotify/ginotifyfilemonitor.c:
878 * gio/inotify/inotify-diag.c:
879 * gio/inotify/inotify-kernel.c:
880 * gio/inotify/inotify-path.c:
882 * gio/test-streams.c:
883 * programs/gio-info.c:
884 * programs/gio-monitor-dir.c:
885 * programs/gio-monitor-file.c:
886 Various code cleanups from Kjartan Maraas
888 2007-11-13 Alexander Larsson <alexl@redhat.com>
891 Handle the uri-scheme calls for dummy files
893 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
895 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
896 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
897 to avoid clash with the C++ keyword.
899 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
901 * gio/glocalfileinfo.c: Build fix, added missing semicolon
902 to an ifdef'ed call to getpwuid() in lookup_uid_data().
904 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
906 * gio/glocaldirectorymonitor.c:
907 * gio/glocalfilemonitor.c:
908 * gio/gunionvolumemonitor.c:
909 Don't use g_once_init_*() for initializations that could fail and
910 could leave the initialization variable set to 0 but use GOnce.
911 This prevents a deadlock on the second call when trying to create
912 a monitor and no monitor type is available. Thanks to Sven Herzberg
915 2007-11-11 Sven Herzberg <sven@imendio.com>
917 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
918 #ifdef (make it work on MacOS X again)
920 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
922 Fixes Changelog for last two commits (sorry guys).
924 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
926 * gio/gbufferedinputstream.c:
927 * gio/gdatainputstream.c:
929 * gio/gfileoutputstream.c:
930 * gio/gfilterinputstream.c:
931 * gio/glocalfileinputstream.c:
934 More consistency fixes in g*stream.c files.
935 Significant clean of gfile's documentation, filling in of
936 asynchronous operations documentation.
938 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
940 * gio/gasyncresult.c:
941 * gio/gbufferedinputstream.c:
942 * gio/gbufferedoutputstream.c:
943 * gio/gcancellable.c:
944 * gio/gcontenttype.c:
945 * gio/gdatainputstream.c:
946 * gio/gdataoutputstream.c:
947 * gio/gdesktopappinfo.c:
950 * gio/gfileattribute.c:
951 * gio/gio/gfileenumerator.c:
953 * gio/gfileinputstream.c:
954 * gio/gfilemonitor.c:
955 * gio/gfileoutputstream.c:
956 * gio/ginputstream.c:
958 * gio/gioscheduler.c:
959 * gio/gloadableicon.c:
960 * gio/glocalfileoutputstream.c:
961 * gio/gmemoryoutputstream.c:
962 * gio/gmountoperation.c:
963 * gio/goutputstream.c:
965 * gio/gsimpleasyncresult.c:
966 * gio/gunionvolumemonitor.c:
972 * gio/gvolumemonitor.c:
973 Updated documentation stubs, working towards consistency and
976 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
978 * gio/gmemoryoutputstream.c:
979 * gio/gmemoryoutputstream.h:
980 Change g_memory_output_stream_set_free_on_close() to
981 g_memory_output_stream_set_free_data() as this makes more sense and
982 is more consistent with GMemoryInputStream.
984 2007-11-07 Alexander Larsson <alexl@redhat.com>
991 Change how we find the default vfs so that
992 we can handle a gvfs failing to init
994 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
996 * gio/gbufferedoutputstream.c:
997 * gio/gdatainputstream.c:
998 * gio/gdataoutputstream.c:
999 * gio/gfileinputstream.c:
1000 * gio/gfileoutputstream.c:
1001 * gio/gfilterinputstream.c:
1002 * gio/gfilteroutputstream.c:
1003 * gio/ginputstream.c:
1004 * gio/gmemoryinputstream.c:
1005 * gio/gmemoryoutputstream.c:
1006 * gio/goutputstream.c:
1007 * gio/gsimpleasyncresult.c:
1008 * gio/gsocketinputstream.c:
1009 * gio/gsocketoutputstream.c:
1010 Add guards to the remaining public functions, add a TODO for
1011 an unimplemented function and remove some useless guards.
1013 2007-11-07 Alexander Larsson <alexl@redhat.com>
1016 Autoconf checks for the various types of
1017 getpwuid_r and getgrgid_r
1019 * gio/glocalfileinfo.c:
1020 Use the autoconf checks from above
1022 2007-11-07 Alexander Larsson <alexl@redhat.com>
1025 (g_local_file_query_filesystem_info):
1026 Some fixes for the statvfs case
1028 2007-11-07 Alexander Larsson <alexl@redhat.com>
1031 (g_local_file_query_filesystem_info):
1032 Pick the "best" of statfs / statvfs for the system
1033 if both are availible.
1035 2007-11-07 Alexander Larsson <alexl@redhat.com>
1037 Solaris fixes from Halton.Huo@Sun.COM:
1044 * gio/glocalfileinfo.c:
1045 Fix for solaris definition of getpwuid_r
1047 * gio/test-streams.c:
1048 Use G_GNUC_PRETTY_FUNCTION
1050 2007-11-07 Alexander Larsson <alexl@redhat.com>
1052 * gio/gdesktopappinfo.c:
1053 (update_default_list):
1054 Remove double semicolon.
1055 Patch from Jens Granseuer
1057 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1059 * docs/reference/gio/gio-sections.txt:
1060 * gio/gbufferedinputstream.c:
1061 * gio/gbufferedinputstream.h:
1062 * gio/gdatainputstream.c:
1063 * gio/gfileenumerator.c:
1064 * gio/gioscheduler.c:
1065 * gio/gunionvolumemonitor.c:
1067 * programs/gio-save.c:
1068 Fix typo: availible -> available. Unfortuntely this breaks API
1069 and ABI as g_buffered_input_stream_get_available() was renamed.
1071 * gio/gunixmounts.c:
1072 * gio/gbufferedinputstream.c:
1073 Add guards for public functions.
1075 2007-11-06 Ross Burton <ross@openedhand.com>
1077 * docs/reference/gio/Makefile.am:
1078 Fix invalid += usage which automake 1.10 doesn't like.
1080 2007-11-06 Alexander Larsson <alexl@redhat.com>
1083 (g_app_launch_context_class_init):
1086 Patch from Ross Burton
1088 2007-11-06 Alexander Larsson <alexl@redhat.com>
1091 Post release version bump
1093 === gio-standalone 0.1.1 ===
1095 2007-11-06 Alexander Larsson <alexl@redhat.com>
1098 Bump version to 0.1.1
1100 * gio/gsimpleasyncresult.c:
1101 (g_simple_async_result_set_from_error):
1102 Remove bogus g_return_if_fail
1104 2007-11-06 Alexander Larsson <alexl@redhat.com>
1107 The name is gio-standalone
1110 Add top src/builddir to includedir
1112 2007-11-06 Alexander Larsson <alexl@redhat.com>
1114 * docs/reference/gio/gio-sections.txt:
1116 * gio/gbufferedinputstream.c:
1117 * gio/gbufferedoutputstream.c:
1118 * gio/gcancellable.c:
1119 * gio/gdatainputstream.h:
1120 * gio/gdataoutputstream.c:
1121 * gio/gdataoutputstream.h:
1122 * gio/gdirectorymonitor.c:
1124 * gio/gfileattribute.c:
1125 * gio/gfileattribute.h:
1126 * gio/gfileenumerator.c:
1127 * gio/gfileenumerator.h:
1130 * gio/gfileinputstream.h:
1131 * gio/gfilemonitor.c:
1132 * gio/gfileoutputstream.h:
1133 * gio/glocalfilemonitor.h:
1134 * gio/glocalfileoutputstream.h:
1135 * gio/gmemoryinputstream.c:
1136 * gio/gmemoryoutputstream.c:
1137 * gio/gmountoperation.c:
1138 * gio/goutputstream.c:
1139 * gio/goutputstream.h:
1141 * gio/gsimpleasyncresult.c:
1142 * gio/gunixmounts.c:
1143 * gio/gunixmounts.h:
1145 * gio/inotify/inotify-helper.c:
1146 Fix gtk-doc warnings
1148 Patch from Ross Burton
1150 2007-11-06 Alexander Larsson <alexl@redhat.com>
1152 * gio/gfilenamecompleter.c:
1153 (g_filename_completer_get_completions):
1156 * gio/gunixvolume.c:
1157 Remove unused function
1159 Patches from Ross Burton
1161 2007-11-06 Alexander Larsson <alexl@redhat.com>
1166 Padding not needed for interfaces
1168 2007-11-06 Alexander Larsson <alexl@redhat.com>
1170 * gio/gfilemonitor.c:
1174 Make giotypes.h an internal file
1177 * gio/gbufferedinputstream.h:
1178 * gio/gbufferedoutputstream.h:
1179 * gio/gcancellable.h:
1180 * gio/gdatainputstream.h:
1181 * gio/gdataoutputstream.h:
1182 * gio/gdirectorymonitor.c:
1183 * gio/gdirectorymonitor.h:
1188 * gio/gfileattribute.h:
1189 * gio/gfileenumerator.h:
1194 * gio/gfilemonitor.c:
1195 * gio/gfilemonitor.h:
1196 * gio/gfilenamecompleter.c:
1197 * gio/gfilenamecompleter.h:
1198 * gio/gfilterinputstream.h:
1199 * gio/gfilteroutputstream.h:
1200 * gio/ginputstream.h:
1201 * gio/gmemoryinputstream.h:
1202 * gio/gmemoryoutputstream.h:
1203 * gio/gmountoperation.c:
1204 * gio/gmountoperation.h:
1205 * gio/gnativevolumemonitor.c:
1206 * gio/goutputstream.h:
1209 * gio/gsimpleasyncresult.c:
1210 * gio/gsimpleasyncresult.h:
1211 * gio/gsocketinputstream.h:
1212 * gio/gsocketoutputstream.h:
1213 * gio/gthemedicon.c:
1214 * gio/gthemedicon.h:
1218 * gio/gvolumemonitor.c:
1219 * gio/gvolumemonitor.h:
1220 Add padding in classes where it seems useful
1221 Don't include giotypes.h from public headers
1222 Move in Class definitions into c file where possible
1227 2007-11-06 Alexander Larsson <alexl@redhat.com>
1229 * docs/reference/gio/gio-docs.xml:
1230 Better structure for API docs
1232 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1235 * gio/gloadableicon.c:
1236 * gio/gsimpleasyncresult.c:
1237 * gio/gthemedicon.c:
1238 Add some more guards to public functions. Only files missing are now
1241 2007-11-06 Alexander Larsson <alexl@redhat.com>
1243 * docs/reference/gio/gio-docs.xml:
1244 Remove old files, add missing ones
1246 2007-11-06 Alexander Larsson <alexl@redhat.com>
1248 * docs/reference/gio/gio-sections.txt:
1251 Hide implementation classes
1253 * gio/gdriveprivate.h:
1254 * gio/gvolumeprivate.h:
1255 Remove non-existing function declarations
1257 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1260 Fix compilation warnings and add guards to the new functions.
1262 * gio/gasyncresult.c:
1264 Add guards to the public functions.
1267 Implement get_path().
1269 2007-11-06 Alexander Larsson <alexl@redhat.com>
1271 * gio/gfilenamecompleter.c:
1272 Make g_filename_completer_get_completions
1273 return char ** instead of GList for
1276 * docs/reference/gio/gio-docs.xml:
1277 * docs/reference/gio/gio-sections.txt:
1279 * gio/gasyncresult.c:
1280 * gio/gbufferedinputstream.c:
1281 * gio/gbufferedoutputstream.c:
1282 * gio/gcancellable.c:
1283 * gio/gcontenttype.c:
1284 * gio/gdatainputstream.c:
1285 * gio/gdataoutputstream.c:
1286 * gio/gdesktopappinfo.c:
1287 * gio/gdirectorymonitor.c:
1291 * gio/gfileattribute.c:
1292 * gio/gfileenumerator.c:
1295 * gio/gfileinputstream.c:
1296 * gio/gfilemonitor.c:
1297 * gio/gfilenamecompleter.c:
1298 * gio/gfilenamecompleter.h:
1299 * gio/gfileoutputstream.c:
1300 * gio/gfilterinputstream.c:
1302 * gio/ginputstream.c:
1304 * gio/gioscheduler.c:
1305 * gio/gloadableicon.c:
1306 * gio/glocaldirectorymonitor.c:
1308 * gio/glocalfileinputstream.c:
1309 * gio/glocalfilemonitor.c:
1310 * gio/glocalfileoutputstream.c:
1312 * gio/gmemoryinputstream.c:
1313 * gio/gmemoryoutputstream.c:
1314 * gio/gmountoperation.c:
1315 * gio/goutputstream.c:
1316 * gio/gpollfilemonitor.c:
1318 * gio/gsimpleasyncresult.c:
1319 * gio/gsocketinputstream.c:
1320 * gio/gsocketoutputstream.c:
1321 * gio/gthemedicon.c:
1322 * gio/gunionvolumemonitor.c:
1324 * gio/gunixmounts.c:
1325 * gio/gunixvolume.c:
1326 * gio/gunixvolumemonitor.c:
1330 * gio/gvolumemonitor.c:
1331 * gio/gwin32appinfo.c:
1332 Add (mostly stub) doc strings to public functions.
1333 Patch from Andrew Walton (awalton@gmail.com)
1335 2007-11-06 Alexander Larsson <alexl@redhat.com>
1337 * gio/gappinfo.[ch]:
1338 Added GAppLaunchContext object and pass that to launch.
1339 This allows simple implementation of both
1340 launch-on-screen and startup notification via a gtk+
1341 subclass of GAppLaunchContext
1343 * gio/gdesktopappinfo.c:
1344 Implement GAppLaunchContext API
1346 * gio/gwin32appinfo.c:
1349 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1351 * gio/gmountoperation.c:
1352 Add some guards to GMountOperation's public functions.
1354 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1358 * gio/gcancellable.c:
1359 * gio/gdirectorymonitor.c:
1361 * gio/gfileenumerator.c:
1362 * gio/gfilemonitor.c:,
1363 * gio/gfilenamecompleter.c:
1366 * gio/gioscheduler.c:
1370 * gio/gvolumemonitor.c:
1371 Add even more guards to various public functions.
1373 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1376 Add guards to the public functions of GAppInfo.
1378 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1380 * gio/gcontenttype.c:
1381 Add some more guards for public functions.
1383 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1385 * gio/fam/fam-module.c:
1386 * gio/fam/gfamdirectorymonitor.c:
1387 * gio/fam/gfamdirectorymonitor.h:
1388 * gio/fam/gfamfilemonitor.c:
1389 * gio/fam/gfamfilemonitor.h:
1390 * gio/inotify/ginotifydirectorymonitor.c:
1391 * gio/inotify/ginotifydirectorymonitor.h:
1392 * gio/inotify/ginotifyfilemonitor.c:
1393 * gio/inotify/ginotifyfilemonitor.h:
1394 Add proper copyright information and remove an unused variable
1395 in the GInotifyFileMonitor constructor.
1397 * gio/gcancellable.c:
1398 Add a guard for a public function and an assertion to prevent
1399 an undefined program state.
1401 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1403 * gio/gfileattribute.c:
1404 Don't run into an assertion if the given attribute value is NULL
1405 in g_file_attribute_value_get_*() but instead return a fallback
1406 value that makes sense in most situations. Passing them a attribute
1407 value with the wrong type will still run into an assertion.
1409 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1411 * gio/gfileattribute.c:
1413 Add even more guards to the public functions. Also fix the refcounting
1414 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1415 let g_file_info_list_attributes() filter the attributes by namespace
1416 instead of simply ignoring the namespace parameter.
1418 2007-11-03 Sven Herzberg <sven@imendio.com>
1420 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1421 (This makes gio work on MacOS X again)
1423 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1426 Build the gio subdirectory before the docs. Otherwise the build will
1429 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1430 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1431 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1432 Add guards to the public functions.
1434 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1436 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1437 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1438 to prevent a compiler warning.
1440 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1441 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1442 return something in the non-void function find_topdir_for().
1444 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1451 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1453 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1454 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1455 * gwin32appinfo.c (g_win32_app_info_launch):
1456 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1457 envp_for_startup_id, g_desktop_app_info_launch,
1458 g_desktop_app_info_launch_uris):
1460 Give an opaque 'startup_id' string instead of 'envp'.
1461 Support empty file lists for launching new windows.
1462 Fix infinite recursion bug when launching URIs.
1464 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1467 Add guard to the new g_file_get_uri_scheme() function.
1469 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1472 Convert a g_return_val_if_fail() to setting the GError instead as
1473 otherwise applications have to verify the parameter before otherwise
1474 and the parameter might come directly from the user.
1476 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1478 * gio/inotify/ginotify*.[ch]:
1479 Add missing copyright information.
1481 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1484 Add guards in the beginning of public functions to check for valid
1485 parameters and fix a bug in copy_stream_with_progress() that could've
1486 caused writing less bytes than reading.
1487 * gio/glocalfileinfo.c:
1488 Check for a NULL parameter and set the GError accordingly then.
1489 * gio/goutputstream.c:
1490 Fix the same bug as in gfile.c that could've caused writing less bytes
1491 than reading in g_output_stream_real_splice().
1493 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1496 Use the correct gvolumeprivate.h naming
1498 2007-11-01 Christian Kellner <gicmo@gnome.org>
1501 Remove leftover "$(daemon_sources)" entry.
1503 2007-11-01 Christian Kellner <gicmo@gnome.org>
1508 Add copyright information to source files.
1510 2007-11-01 Alexander Larsson <alexl@redhat.com>
1514 Add g_file_get_uri_scheme
1516 2007-11-01 Alexander Larsson <alexl@redhat.com>
1519 * gio/gdesktopappinfo.c:
1520 * gio/gwin32appinfo.c:
1521 Add g_app_info_get_default_for_uri_scheme.
1523 2007-11-01 Alexander Larsson <alexl@redhat.com>
1526 Correct filename for gdriveprivate.h
1528 2007-10-31 Alexander Larsson <alexl@redhat.com>
1531 Rename id:value to id:file
1534 * gio/glocalfileinfo.c:
1537 2007-10-31 Alexander Larsson <alexl@redhat.com>
1539 * gio/gunixvolume.c:
1541 Remove g_volume_get_platform_id, as thats not
1542 needed with the simpler union volume monitor
1544 2007-10-31 Alexander Larsson <alexl@redhat.com>
1547 * gio/guniondrive.[ch]: Removed.
1548 * gio/gunionvolume.[ch]: Removed.
1549 Remove GUnionDrive/Volume
1551 * gio/gunionvolumemonitor.c:
1552 Simplify union volume monitor, now we
1553 only have one native volume monitor and
1554 we use the actual volumes/drives from the
1555 child monitors instead of wrapping them
1557 * gio/gnativevolumemonitor.[ch]:
1558 Base class for native volume monitors.
1559 Includes priority and get_volume_for_mountpoint
1562 Add g_file_find_enclosing_volume
1565 Remove volume name fs attribute
1566 Add readonly fs attribute
1569 Implement readonly attribute
1570 remove volume name attribute
1571 Implement find_enclosing volume
1573 * gio/gunixmounts.c:
1574 Add a volume for "/".
1576 * gio/gunixvolume.[ch]:
1577 Set better name for /
1579 * gio/gunixvolumemonitor.[ch]:
1580 Derive from GNativeVolumeMonitor
1581 Implement get_volume_for_mountpoint
1584 GVolume typedef moved to gfile.h
1586 * gio/gvolumeprivate.h:
1587 Add g_volume_get_for_mount_path
1589 2007-10-31 Alexander Larsson <alexl@redhat.com>
1591 * gio/gunixmounts.[ch]:
1592 Add cache info to unix mount listers
1593 Make getmntent use threadsafe
1594 Add is_system_internal attribute for GUnixMount
1596 * gio/gunixvolume.c:
1597 (g_unix_volume_new):
1598 Use is_system_internal instead of own code
1600 * gio/glocaldirectorymonitor.c:
1601 * gio/gunixvolumemonitor.c:
1602 Update to new gunixmounts API
1607 2007-10-30 Alexander Larsson <alexl@redhat.com>
1610 Add volume name fsinfo attribute
1613 Read volume name info
1615 * gio/gunionvolumemonitor.c:
1616 Fix infinite loops when finalizing a union volume monitor
1618 2007-10-30 Alexander Larsson <alexl@redhat.com>
1620 * gio/goutputstream.[ch]:
1621 Add splice() with default implementation
1623 * gio/gsocketoutputstream.c:
1624 (g_socket_output_stream_write):
1625 Return error on cancellation correctly.
1627 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1629 * gio/glocalfile.c (g_local_file_trash):
1630 Do not leak a string.
1632 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1634 * gio/gfile.c (g_file_load_contents):
1635 Unref the stream after closing it.
1637 2007-10-25 Alexander Larsson <alexl@redhat.com>
1639 * gio/gioscheduler.h:
1642 2007-10-25 Alexander Larsson <alexl@redhat.com>
1646 Add g_file_has_uri_scheme and implement for local files
1648 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1650 * gio/gdesktopappinfo.c: do not leak a string.
1652 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1654 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1655 (g_local_directory_monitor_new):
1656 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1657 (g_local_file_monitor_new):
1658 Only look for the monitor type that should be used the first time
1659 and use g_qsort_with_data() instead of our own bubble sort
1662 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1665 * gio/fam/Makefile.am:
1666 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1667 * gio/fam/fam-helper.h:
1668 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1669 * gio/fam/gfamdirectorymonitor.c:
1670 * gio/fam/gfamdirectorymonitor.h:
1671 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1672 * gio/fam/gfamfilemonitor.h:
1673 * gio/glocaldirectorymonitor.c:
1674 * gio/glocaldirectorymonitor.h:
1675 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1676 * gio/glocalfilemonitor.h:
1677 * gio/inotify/Makefile.am:
1678 * gio/inotify/ginotifydirectorymonitor.c:
1679 * gio/inotify/ginotifydirectorymonitor.h:
1680 * gio/inotify/ginotifyfilemonitor.c:
1681 * gio/inotify/ginotifyfilemonitor.h:
1682 Implement the FAM and Inotify monitors as
1683 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1684 their own GIO module. GLocal(Directory|File)Monitor will use the
1685 monitor with the highest rank that is supported on that machine.
1687 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1690 Change GIO module dir to $(libdir)/gio/modules and change
1691 the log domain from GVFS to GIO. Also only export symbols starting
1692 with g_ in the resulting library.
1693 * gio/test-streams.c: (main):
1694 Set log handler for the GIO log domain.
1696 2007-10-22 Alexander Larsson <alexl@redhat.com>
1698 * gio/gfilenamecompleter.[ch]:
1699 Add g_filename_completer_set_dirs_only
1701 2007-10-22 Alexander Larsson <alexl@redhat.com>
1704 * gio/gurifuncs.[ch]:
1705 Add some simple URI helpers
1707 * gio/gfilenamecompleter.[ch]:
1708 Added object for filename (parse name actually) completion
1711 Handle ~ in parse names
1713 2007-10-17 Alexander Larsson <alexl@redhat.com>
1716 * gio/glocalfileinfo.c:
1717 Add and implement id:value attribute
1719 2007-10-17 Alexander Larsson <alexl@redhat.com>
1722 * gio/guniondrive.c:
1724 Add and implement g_drive_has_volumes
1726 2007-10-17 Alexander Larsson <alexl@redhat.com>
1729 * gio/glocalfileinfo.[ch]:
1730 Add unix:is_mountpoint and implement for local files
1732 2007-10-16 Alexander Larsson <alexl@redhat.com>
1734 * gio/gunionvolumemonitor.c:
1735 (g_union_volume_monitor_init):
1736 Fix up the unix type getting so that it works with gcc
1738 2007-10-12 Alexander Larsson <alexl@redhat.com>
1741 * gio/glocalfileinfo.c:
1742 Add thumbnail:failed to file info
1744 2007-10-12 Richard Hult <richard@imendio.com>
1746 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1747 optimizing away the get_type call (happens with some gcc versions,
1748 like the one shipped with OS X 10.4).
1750 2007-10-12 Alexander Larsson <alexl@redhat.com>
1752 * gio/glocalfileinfo.c:
1753 (_g_local_file_info_set_attribute):
1754 Fix build if not HAVE_XATTR
1755 Patch from Milosz Derezynski <internalerror@gmail.com>
1757 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1759 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1760 around for review, otherwise I would have asked you before
1763 2007-10-11 Alexander Larsson <alexl@redhat.com>
1766 Add thumbnail:path attribute
1768 * gio/glocalfileinfo.c:
1769 Implement thumbnail:path for local files
1771 2007-10-11 Alexander Larsson <alexl@redhat.com>
1773 * gio/glocalfileinfo.c:
1774 (_g_local_file_info_get):
1775 Avoid duplicate icon names
1777 2007-10-11 Alexander Larsson <alexl@redhat.com>
1779 * gio/gthemedicon.[ch]:
1780 Change g_themed_icon_get_names return type to const
1782 2007-10-10 Alexander Larsson <alexl@redhat.com>
1784 * gio/glocalfileinfo.c:
1785 Don't reference freed memory
1787 2007-10-10 Alexander Larsson <alexl@redhat.com>
1789 * gio/gfileattribute.c:
1792 * gio/glocalfileinfo.c:
1795 2007-10-10 Alexander Larsson <alexl@redhat.com>
1798 Check for NULL icons
1800 * gio/gfileattribute.c:
1801 Don't dup when getting objects (same as for string attributes)
1803 * gio/gicon.c (g_icon_equal):
1804 Safely handle NULLs in equal
1806 2007-10-10 Alexander Larsson <alexl@redhat.com>
1809 Fix c++ compilation issues
1810 Patch from Milosz Derezynski <internalerror@gmail.com>
1812 2007-10-10 Alexander Larsson <alexl@redhat.com>
1814 * programs/gio-monitor-dir.c:
1815 Don't crash if dir monitor not supported.
1817 2007-10-09 Alexander Larsson <alexl@redhat.com>
1820 Add missing G_END_DECLS
1822 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1824 * gio/gfile.c: (g_file_set_display_name),
1825 (g_file_query_settable_attributes),
1826 (g_file_query_writable_namespaces):
1827 Return NULL not FALSE on errors as the return type is a pointer.
1829 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1831 * gio/glocalfile.c: (g_local_file_monitor_file):
1832 Don't call monitor_file on the default interface vtable (which
1833 is NULL) but simply return NULL. The caller, GFile, will create a
1834 polling monitor if NULL is returned.
1836 2007-10-09 Alexander Larsson <alexl@redhat.com>
1840 * gio-unix-2.0.pc.in:
1841 Add gio-unix-2.0.pc if OS_UNIX
1844 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1846 2007-10-09 Alexander Larsson <alexl@redhat.com>
1848 * gio/gunixmounts.[ch]:
1849 Make unix mount monitoring API sane.
1850 Now its just a object with mounts_changed
1851 and mountpoints_changed signals.
1853 * gio/glocaldirectorymonitor.c:
1854 * gio/gunixvolumemonitor.c:
1855 Use new mount monitor api
1857 2007-10-09 Alexander Larsson <alexl@redhat.com>
1859 * gio/gunixmounts.[ch]:
1860 Move guess type into one call for mounts and one for mountpoints
1863 * gio/gunixvolume.c:
1866 2007-10-09 Alexander Larsson <alexl@redhat.com>
1868 * gio/gunixmounts.[ch]:
1869 Remove _ prefix in preparation to make this semi-public
1870 Hide implementation of structs
1872 * gio/glocaldirectorymonitor.c:
1874 * gio/gunixvolume.c:
1875 * gio/gunixvolumemonitor.c:
1876 Update for above API changes
1878 2007-10-08 Alexander Larsson <alexl@redhat.com>
1881 Better polling fallback. This also handles the case where we have
1882 a monitor_file implementation, but it fails.
1884 2007-10-08 Alexander Larsson <alexl@redhat.com>
1888 * gio/gunixmounts.c:
1889 * programs/gio-monitor-dir.c:
1890 * programs/gio-monitor-file.c:
1891 Added cancellable to file monitoring calls.
1892 These are really sync calls and need this.
1894 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1896 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1897 (g_local_vfs_class_init):
1898 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1899 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1901 2007-10-05 Alexander Larsson <alexl@redhat.com>
1903 * gio/gdirectorymonitorprivate.h:
1904 * gio/gfilemonitorprivate.h:
1905 * gio/gdirectorymonitor.h:
1906 * gio/gfilemonitor.h:
1907 Remove *private.h and move to the public API, so that
1908 we can do implementations outside gio (such as in gvfs)
1910 * gio/gdirectorymonitor.c:
1911 * gio/gfilemonitor.c:
1912 * gio/glocaldirectorymonitor.c:
1913 * gio/gpollfilemonitor.c:
1914 * gio/inotify/inotify-helper.c:
1915 * gio/fam/fam-helper.c:
1916 Update to the new header names
1918 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
1920 * gio/gdirectorymonitor.c:
1921 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1924 2007-10-04 Alexander Larsson <alexl@redhat.com>
1926 * gio/glocalfileinfo.c (get_access_rights):
1927 Set CAN_TRASH when we can move the file.
1928 We should really also check for a parent trash dir.
1930 2007-10-04 Alexander Larsson <alexl@redhat.com>
1932 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1933 Add can_trash access attribute
1935 2007-10-04 Alexander Larsson <alexl@redhat.com>
1938 (g_local_file_trash):
1939 Create info file first. This is per-spec and allows
1940 us to actually trash directories.
1942 2007-10-02 Alexander Larsson <alexl@redhat.com>
1944 * gio/gdesktopappinfo.c:
1945 Implement the new mime support code.
1946 Always set app as handling mimetype when being set as default for it
1948 2007-10-01 Alexander Larsson <alexl@redhat.com>
1950 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
1951 Fix up check for xattrs:
1953 2007-10-01 Alexander Larsson <alexl@redhat.com>
1956 (g_app_info_set_as_default_for_extension):
1957 (g_app_info_add_supports_type):
1958 (g_app_info_can_remove_supports_type):
1959 (g_app_info_remove_supports_type):
1960 Make these fail nicely if not implemented
1962 2007-10-01 Paolo Borelli <pborelli@katamail.com>
1964 * gio/glocalfileoutputstream.c:
1965 * gio/glocalfileoutputstream.h:
1970 * programs/gio-save.c:
1971 Add a GFileCreateFlags argument to operations that can create
1974 2007-10-01 Alexander Larsson <alexl@redhat.com>
1976 * gio/gappinfo.[ch]:
1977 * gio/gdesktopappinfo.c:
1978 Add more (stubbed out) mime API needed for nautilus
1980 2007-10-01 Alexander Larsson <alexl@redhat.com>
1983 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
1984 Add g_app_info_set_as_default_for_extension.
1986 * gio/gdesktopappinfo.c:
1987 Dummy for g_app_info_set_as_default_for_extension
1988 Support flags in g_app_info_create_from_commandline
1990 * gio/gwin32appinfo.c:
1992 Update for API changes
1994 * gio/gthemedicon.c:
1995 Properly NULL-terminate list of icon names
1997 2007-09-28 Alexander Larsson <alexl@redhat.com>
1999 * gio/gloadableicon.h:
2000 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2002 2007-09-28 Alexander Larsson <alexl@redhat.com>
2005 Install headers in $includedir/gio-standalone/
2007 * gio-2.0.pc.in: Added.
2008 * gio-standalone.pc.in: Removed.
2011 Renamed pkg-config file to match glib (for future move)
2012 Update to the new include dir
2015 Add more TODO comments
2017 2007-09-28 Alexander Larsson <alexl@redhat.com>
2019 * gio/gdesktopappinfo.[ch]:
2020 Expose new_from_filename
2021 Add getter for is_hidden and handle it better
2023 2007-09-28 Alexander Larsson <alexl@redhat.com>
2025 * gio/gfileinfo.[ch]:
2026 Rename g_file_size_format_for_display to
2027 g_format_file_size_for_display.
2028 Now it doesn't have the g_file prefix, so we
2029 can later move it to glib.
2031 2007-09-28 Alexander Larsson <alexl@redhat.com>
2033 * gio/gappinfo.[ch]:
2034 Add g_app_info_get_id and g_app_info_get_executable.
2035 Make all getters non-reffing
2036 Make g_app_info_launch take GFile arguments.
2037 Add must_support_uris argument to g_app_info_get_default_for_type.
2039 * gio/gwin32appinfo.c:
2040 Update to GAppInfo api changes
2042 * gio/gdesktopappinfo.c:
2043 Update to GAppInfo api changes
2044 Implement supports_xdg_startup_notify
2046 * gio/gfileicon.c (g_file_icon_get_file):
2047 Make getter non-reffing.
2052 2007-09-27 Alexander Larsson <alexl@redhat.com>
2054 * gio/gfileinfo.[ch]:
2055 Add g_file_size_format_for_display helper
2057 2007-09-27 Alexander Larsson <alexl@redhat.com>
2059 * gio/glocalfileinfo.c:
2060 Set UNIX_GID from gid, not from uid
2062 2007-09-27 Alexander Larsson <alexl@redhat.com>
2065 Add g_file_set_attributes_async
2067 2007-09-27 Alexander Larsson <alexl@redhat.com>
2069 * gio/glocalfile.c (g_local_file_set_display_name):
2070 Fix set_display_name to actually rename to the right place.
2071 Use lstat to look for existing files so we don't overwrite
2074 2007-09-26 Alexander Larsson <alexl@redhat.com>
2077 Add g_file_set_display_name_async()
2079 2007-09-26 Alexander Larsson <alexl@redhat.com>
2082 Add load_partial_contents async calls
2085 Make internal function static
2087 2007-09-26 Alexander Larsson <alexl@redhat.com>
2089 * gio/glocalfileinfo.c:
2090 Correctly detect broken symlinks
2092 2007-09-26 Alexander Larsson <alexl@redhat.com>
2094 * gio/gcancellable.c (g_cancellable_cancel):
2095 Allow cancel on NULL cancellable
2097 2007-09-25 Alexander Larsson <alexl@redhat.com>
2099 * gio/gsimpleasyncresult.c:
2100 Don't allocate g_error manually.
2101 Fixes g_slice/g_new mixup crash
2103 2007-09-25 Alexander Larsson <alexl@redhat.com>
2105 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2106 Actually set active_backend.
2107 This means the monitor will be cancelled correctly.
2109 2007-09-25 Alexander Larsson <alexl@redhat.com>
2111 * gio/gdirectorymonitor.c:
2112 Set timeout to NULL when destroying
2114 2007-09-25 Alexander Larsson <alexl@redhat.com>
2117 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2118 that is a better description of the error.
2120 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2122 * gio/gvfs.c: (g_vfs_get_local):
2123 Make the local vfs variable static. The same instance should
2126 2007-09-24 Alexander Larsson <alexl@redhat.com>
2128 * gio/glocalfileinfo.c:
2129 Pass in actual length read into sniffer, not the length
2132 2007-09-21 Alexander Larsson <alexl@redhat.com>
2134 * gio/gfileenumerator.c:
2137 * gio/gfileinputstream.c:
2138 * gio/gfileoutputstream.c:
2139 * gio/ginputstream.c:
2140 * gio/goutputstream.c:
2141 Don't crash if async callbacks are NULL
2143 2007-09-20 Alexander Larsson <alexl@redhat.com>
2146 Add async enumerate_children method and default
2149 2007-09-20 Alexander Larsson <alexl@redhat.com>
2152 Add g_file_contains_file & g_file_get_relative_path, since they
2153 were needed for nautilus.
2154 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2159 Implement new methods
2161 2007-09-17 Alexander Larsson <alexl@redhat.com>
2164 * gio/gfileinputstream.[ch]:
2165 * gio/gfileoutputstream.[ch]:
2167 * gio/glocalfileenumerator.[ch]:
2168 * gio/glocalfileinfo.[ch]:
2169 * gio/glocalfileinputstream.c:
2170 * gio/glocalfileoutputstream.c:
2171 * gio/gpollfilemonitor.c:
2172 * programs/gio-copy.c:
2173 * programs/gio-info.c:
2174 * programs/gio-move.c:
2175 Rename get_file_info to query_info() to make it clearer
2176 that these are not simple getters, but do i/o.
2178 2007-09-17 Alexander Larsson <alexl@redhat.com>
2180 * gio/gdatainputstream.[ch]:
2181 * gio/test-streams.c:
2182 Use _read_XXX instead of _get_XXX for the i/o calls
2185 2007-09-17 Alexander Larsson <alexl@redhat.com>
2188 Added needed stuff to TODO comment
2190 2007-09-17 Alexander Larsson <alexl@redhat.com>
2192 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2193 Don't error out removing the backup copy if it doesn't
2196 2007-09-14 Alexander Larsson <alexl@redhat.com>
2198 * programs/Makefile.am:
2199 * programs/gvfs-*.c:
2201 Renamed apps from gvfs-xxx to gio-xxx.
2203 2007-09-14 Alexander Larsson <alexl@redhat.com>
2206 * gio/gfileoutputstream.[ch]:
2207 * gio/glocalfileoutputstream.c:
2208 * programs/gvfs-save.c:
2209 g_file_output_stream_get_etag doesn't do i/o, so remove
2210 cancellation and error.
2212 2007-09-14 Alexander Larsson <alexl@redhat.com>
2215 Add new_etag output to replace_contents functions
2217 2007-09-14 Alexander Larsson <alexl@redhat.com>
2219 * gio/gfileoutputstream.[ch]:
2220 Add async get_file_info and default implementation
2222 2007-09-14 Alexander Larsson <alexl@redhat.com>
2224 * gio/gfileinputstream.c:
2225 Implement fallback wrapper for async get_file_info
2227 2007-09-14 Alexander Larsson <alexl@redhat.com>
2230 Add etag out argument to load_contents
2235 2007-09-14 Alexander Larsson <alexl@redhat.com>
2237 * gio/gcontenttype.c (looks_like_text):
2238 Whitespace like tab, cr and lf do not make the
2241 2007-09-14 Alexander Larsson <alexl@redhat.com>
2243 * gio/gfileinputstream.[ch]:
2244 Add async get_file_info.
2246 2007-09-13 Alexander Larsson <alexl@redhat.com>
2248 * gio/goutputstream.c (g_output_stream_write_all):
2249 Allow NULL for bytes_written
2251 2007-09-13 Alexander Larsson <alexl@redhat.com>
2253 * gio/gmemoryinputstream.[ch]:
2254 Add accessors for data
2256 2007-09-13 Alexander Larsson <alexl@redhat.com>
2258 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2259 Don't crash if length is NULL