1 2007-12-17 Matthias Clasen <mclasen@redhat.com>
9 * gvolume.h: Documentation updates
11 2007-12-14 Matthias Clasen <mclasen@redhat.com>
14 * gfile.h: Doc updates
16 2007-12-14 Matthias Clasen <mclasen@redhat.com>
19 * gdesktopappinfo.c: Use hash table iterators.
21 2007-12-14 Alexander Larsson <alexl@redhat.com>
24 * gfileattribute.[ch]:
25 * gfileattribute-priv.h:
26 Move GFileAttributeValue to a private header, as
30 Make set_attribute take a type + a pointer instead
31 of a GFileAttributeValue.
34 Fix up for above changes.
35 Add g_file_info_get_attribute_data to get
36 all info in one call, g_file_info_get_attribute_status
37 to get the status and g_file_info_get_attribute_as_string.
41 * glocalfileinfo.[ch]:
45 Make _guess_type static.
47 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
50 * inotify/Makefile.am: Fixed build when srcdir != builddir,
51 made mkenums and friends use temporary files to avoid leaving
52 empty generated files on failure (#503470).
54 2007-12-14 Alexander Larsson <alexl@redhat.com>
59 2007-12-14 Alexander Larsson <alexl@redhat.com>
63 * gfileattribute.[ch]:
66 * glocalfileoutputstream.c:
67 * gmountoperation.[ch]:
69 Clean up all flags enums to not have _FLAGS in them
70 Make the names of some of the enums better.
75 2007-12-14 Michael Natterer <mitch@imendio.com>
77 * gio.symbols: fix g_io_scheduler symbol names.
79 2007-12-14 Alexander Larsson <alexl@redhat.com>
85 * gbufferedinputstream.h:
86 * gbufferedoutputstream.h:
90 * gdataoutputstream.h:
92 * gdirectorymonitor.h:
101 * gfilenamecompleter.h:
102 * gfileoutputstream.h:
103 * gfilterinputstream.h:
104 * gfilteroutputstream.h:
112 * gmemoryinputstream.h:
113 * gmemoryoutputstream.h:
118 * gsimpleasyncresult.h:
120 * gunixinputstream.h:
122 * gunixoutputstream.h:
126 * inotify/Makefile.am:
127 Only allow including <gio/gio.h> from apps
129 2007-12-14 Alexander Larsson <alexl@redhat.com>
132 * gsimpleasyncresult.c:
133 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
134 Split out the send_to_mainloop call into two versions instead
135 of having the block argument.
137 2007-12-13 Alexander Larsson <alexl@redhat.com>
141 * gbufferedinputstream.c:
143 * gfileinputstream.c:
144 * gfileoutputstream.c:
148 g_push/pop_current_cancellable ->
149 g_cancellable_push/pop_current
151 2007-12-13 Alexander Larsson <alexl@redhat.com>
155 Rename g_mount_for_location to g_file_mount_enclosing_volume.
157 2007-12-13 Alexander Larsson <alexl@redhat.com>
160 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
162 2007-12-12 Alexander Larsson <alexl@redhat.com>
165 Fix race condition when freeing proxy in
166 g_io_job_send_to_mainloop().
168 2007-12-12 Alexander Larsson <alexl@redhat.com>
174 Make attribute namespace separator "::" instead of ":".
175 Use - instead of _ as separator in attribute names.
177 2007-12-12 Alexander Larsson <alexl@redhat.com>
179 * gbufferedinputstream.h:
180 * gbufferedoutputstream.h:
181 * gdatainputstream.h:
182 * gdataoutputstream.h:
183 * gdirectorymonitor.h:
185 * gfileinputstream.h:
187 * gfileoutputstream.h:
188 * gfilterinputstream.h:
189 * gfilteroutputstream.h:
191 * glocalfileinputstream.h:
192 * glocalfileoutputstream.h:
193 * gmemoryinputstream.h:
194 * gmemoryoutputstream.h:
195 * gnativevolumemonitor.h:
197 * gunixinputstream.h:
198 * gunixoutputstream.h:
201 s/parent/parent_instance/ in GObjects
203 2007-12-12 Alexander Larsson <alexl@redhat.com>
208 No need for padding for interfaces
210 2007-12-12 Alexander Larsson <alexl@redhat.com>
214 * gbufferedinputstream.c:
215 * gbufferedoutputstream.c:
218 * gdatainputstream.[ch]:
220 * gdirectorymonitor.c:
222 * gfileattribute.[ch]:
225 * gfileinputstream.h:
227 * gfileoutputstream.[ch]:
228 * gfilterinputstream.h:
229 * gfilteroutputstream.h:
232 * gloadableicon.[ch]:
233 * gmemoryinputstream.c:
236 Fix up a bunch of details in the docs.
241 2007-12-11 David Zeuthen <davidz@redhat.com>
243 Rework how volumes, drives and volume monitoring is
244 done. Previosly the model was
248 where a GDrive instance represented a mount point and a GVolume
249 instance represented a mounted file system. This patch changes it
252 GDrive <1-N> GVolume <1-1> GMount
254 where GMount now serves the purpose of the old GVolume and the new
255 GVolume serves the purpose of the old GDrive. In addition the new
256 GDrive interface is used to represent a collection of GVolume
257 instances (typically partitions) and also contains utility to query
258 the state of the physical drive the GDrive object represents (such
259 as checking for media, polling the drive, ejecting the media etc.).
261 Also implement mounting and unmounting in the Unix volume monitor
262 backend. A subquent patch will introduce GDrive support for ejection
266 * gdrive.c: (g_drive_is_media_check_automatic),
267 (g_drive_is_media_removable), (g_drive_has_media),
268 (g_drive_can_poll_for_media), (g_drive_eject),
269 (g_drive_eject_finish), (g_drive_poll_for_media),
270 (g_drive_poll_for_media_finish):
272 * gfile.c: (g_file_find_enclosing_mount):
275 * glocaldirectorymonitor.c:
276 (g_local_directory_monitor_constructor), (mounts_changed):
277 * glocalfile.c: (get_mount_info),
278 (g_local_file_find_enclosing_mount),
279 (g_local_file_file_iface_init):
280 * gnativevolumemonitor.h:
281 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
282 (get_connected_drives), (g_union_volume_monitor_class_init),
283 (child_volume_added), (child_volume_removed),
284 (child_volume_changed), (child_mount_added), (child_mount_removed),
285 (child_mount_pre_unmount), (child_mount_changed),
286 (child_drive_changed), (g_union_volume_monitor_add_monitor),
287 (g_union_volume_monitor_remove_monitor),
288 (_g_mount_get_for_mount_path):
289 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
290 (guess_system_internal), (_g_get_unix_mounts),
291 (_g_get_unix_mount_points), (g_get_unix_mount_at),
292 (g_unix_mount_free), (g_unix_mount_compare),
293 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
294 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
295 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
296 (type_to_icon), (g_unix_mount_guess_name),
297 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
298 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
299 (_resolve_symlink), (_resolve_dev_root):
301 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
302 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
303 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
304 (g_unix_volume_get_name), (g_unix_volume_can_mount),
305 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
306 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
307 (g_unix_volume_mount), (g_unix_volume_mount_finish),
308 (g_unix_volume_volume_iface_init):
310 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
311 (get_mounts), (get_volumes), (get_connected_drives),
312 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
313 (mountpoints_changed), (mounts_changed),
314 (g_unix_volume_monitor_init),
315 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
316 (find_mount_by_mountpath), (update_volumes), (update_mounts):
317 * gunixvolumemonitor.h:
318 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
319 (g_volume_mount), (g_volume_mount_finish):
321 * gvolumemonitor.c: (g_volume_monitor_class_init),
322 (g_volume_monitor_get_connected_drives),
323 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
326 2007-12-10 Matthias Clasen <mclasen@redhat.com>
328 * gmountoperation.h (GPasswordFlags): Close the gap
330 2007-12-10 Matthias Clasen <mclasen@redhat.com>
332 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
334 * gdesktopappinfo.[hc]: Remove _-prefixes
336 2007-12-10 Tor Lillqvist <tml@novell.com>
338 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
341 2007-12-10 Alexander Larsson <alexl@redhat.com>
343 * gfile.c (g_file_set_display_name):
344 Don't hardcode '/' (#502727)
346 2007-12-09 Hans Breuer <hans@breuer.org>
348 * makefile.msc : follow lib naming convention
349 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
350 for user and group name, tested with ../tests/gio-ls
352 2007-12-09 A. Walton <awalton@svn.gnome.org>
365 * gmemoryinputstream.c:
366 * gmemoryoutputstream.c:
368 * gsimpleasyncresult.c:
369 More documentation cleanup and filling in missing information, bringing
370 GIO to 99% symbol coverage.
372 2007-12-08 Hans Breuer <hans@breuer.org>
374 [gio compiles and links on win32, not sure how much already works]
375 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
376 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
377 base on win32 API; prefer g_lstat() over lstat(); instead of
378 localtime_r() use an all GLib implementation on win32;
379 get_mount_info() still needs a win32 specifc implementation
380 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
381 win32_get_file_user_info to get owner/group info without uid/gid
382 * glocalfileinputstream.c : include <io.h> on win32
383 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
384 definition, use g_win32_ftruncate() for G_OS_WIN32
385 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
386 it is available with mingw/w32api but a mess with the M$ Platform SDKs
387 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
388 * makefile.msc : updated
390 2007-12-07 Alexander Larsson <alexl@redhat.com>
392 * glocalfileenumerator.c (_g_local_file_enumerator_new):
393 Avoid warning spew if error == NULL
395 2007-12-07 Alexander Larsson <alexl@redhat.com>
398 Update docs wrt etags
400 2007-12-06 Alexander Larsson <alexl@redhat.com>
403 Include sys/types.h for dev_t (#501919)
405 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
409 Make abicheck and pltcheck pass.
411 2007-12-05 Alexander Larsson <alexl@redhat.com>
414 * giomodule-priv.h: Added.
415 * glocaldirectorymonitor.c:
416 * glocalfilemonitor.c:
417 * gunionvolumemonitor.c:
419 Actually add the declaration of _g_io_modules_ensure_loaded
421 2007-12-05 Alexander Larsson <alexl@redhat.com>
423 * gdatainputstream.c:
428 * glocaldirectorymonitor.c:
429 * glocalfilemonitor.c:
430 * gunionvolumemonitor.c:
432 Make g_io_modules_ensure_loaded a private function and
433 don't pass in the dirname. This means we can do magic
434 directory finding in the win32 version.
435 Export the actual load-modules-in-directory code so that
438 2007-12-05 Alexander Larsson <alexl@redhat.com>
440 * gbufferedinputstream.c:
441 * gbufferedoutputstream.c:
444 * gfileenumerator.[ch]:
445 * gfileinputstream.c:
446 * gfileoutputstream.[ch]:
447 * gfilterinputstream.c:
448 * gfilteroutputstream.c:
451 * glocalfileenumerator.c:
452 * glocalfileinputstream.c:
453 * glocalfileoutputstream.c:
454 * gmemoryinputstream.c:
455 * gmemoryoutputstream.c:
456 * goutputstream.[ch]:
459 * gunixinputstream.c:
460 * gunixoutputstream.c:
461 Rename all struct members named:
462 read, write, close, truncate, or mount
463 to foo_fn, as these are reserved names
464 and could be defined as macros in libc.
467 2007-12-04 Alexander Larsson <alexl@redhat.com>
470 (g_output_stream_close):
471 Only call flush if non-null.
473 2007-11-30 Dan Winship <danw@gnome.org>
475 * ginputstream.c (g_input_stream_set_pending): Make this take a
476 GError and return a gboolean, and do the "outstanding operation"
477 check (and the "stream is already closed" check) itself.
478 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
480 * goutputstream.c (g_output_stream_set_pending)
481 (g_output_stream_clear_pending): Likewise
483 * gbufferedinputstream.c:
484 * gfileinputstream.c:
485 * gfileoutputstream.c: Update for that
487 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
488 Like g_simple_async_report_error_in_idle, but takes a GError
489 rather than building one.
491 2007-11-30 Dan Winship <danw@gnome.org>
493 * goutputstream.c: Don't cheat and unset the "pending" flag around
494 inner calls. Instead, call the class method directly rather than
495 the wrapper function that checks "pending"
497 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
499 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
501 2007-12-03 Hans Breuer <hans@breuer.org>
503 [start of port to win32/msvc]
504 * gcancellable.c : HAVE_UNIST_H and _pipe()
505 * gcontenttype.c : only include <dirent.h> in the UNIX branch
506 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
507 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
509 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
510 * glocalvfs.c : use HAVE_PWD_H
511 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
512 * makefile.msc : new file (maybe later converted to makefile.msc.in)
513 * Makefile.am : added to EXTRA_DIST
515 2007-12-03 Matthias Clasen <mclasen@redhat.com>
517 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
520 2007-12-03 Alexander Larsson <alexl@redhat.com>
523 Handle OSX style xattrs API (#500506)
525 2007-12-03 Alexander Larsson <alexl@redhat.com>
529 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
531 2007-12-02 A. Walton <awalton@svn.gnome.org>
535 Documentation accuracy fixes.
537 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
539 * gioenumtypes.c.template: Fix typo.
541 2007-12-01 Matthias Clasen <mclasen@redhat.com>
543 * gioenumtypes.c.template: Make threadsafe get_type() functions.
545 2007-12-01 Matthias Clasen <mclasen@redhat.com>
547 * gdirectorymonitor.c:
548 * gfilemonitor.c: Add properties
550 * gbufferedoutputstream.c: Don't mark buffer-size property
553 2007-12-01 Matthias Clasen <mclasen@redhat.com>
555 * gbufferedoutputstream.c: Add auto-grow property.
557 2007-11-30 Matthias Clasen <mclasen@redhat.com>
559 * *.c: Unify the capitalization of section headings.
561 2007-11-30 Matthias Clasen <mclasen@redhat.com>
563 * gmountoperation.c: Add properties
565 * gdatainputstream.c: Turn byte-order and newline-type into
568 2007-11-30 Matthias Clasen <mclasen@redhat.com>
570 * gioenumtypes.[hc].template: Templates for enum registration
572 * Makefile.am: Generate gioenumtypes.[hc]
574 * gio.h: Include gioenumtypes.h
576 * gfile.h: Add some explicit nicks.
578 * gio.symbols: Add new symbols
580 * pltcheck.sh: Adjust
582 2007-11-30 Matthias Clasen <mclasen@redhat.com>
584 * *.c: Explain etags and link to the explanation
586 2007-11-29 Matthias Clasen <mclasen@redhat.com>
588 * *.c: Explain I/O priority.
590 * *.c: More coding style fixes.
592 2007-11-29 Matthias Clasen <mclasen@redhat.com>
594 * gasyncresult.c: Add another paragraph to the intro,
595 adjust coding style of example.
597 2007-11-29 A. Walton <awalton@svn.gnome.org>
600 Fixes unknown meaning in GAppLaunchContext docs.
602 Clarify asynchronous ops.
607 Provides missing gtk-doc section, fixes API docs slighly.
608 * gsimpleasyncresult.c:
609 Fill in missing info in docs.
610 * gunixinputstream.c:
611 * gunixoutputstream.c:
612 Be more expressive in short description.
614 Remove gtk-doc stubs for non-public API.
616 2007-11-28 Matthias Clasen <mclasen@redhat.com>
618 * *.c: Coding style fixups
620 2007-11-28 Matthias Clasen <mclasen@redhat.com>
622 * inotify/inotify-helper.c: Don't export the lock from libgio.
624 2007-11-28 Matthias Clasen <mclasen@redhat.com>
627 * abicheck.sh: Fix copy-and-paste leftovers
629 2007-11-28 Matthias Clasen <mclasen@redhat.com>
631 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
633 2007-11-28 Alexander Larsson <alexl@redhat.com>
637 Removed unnecessary file
639 * gdesktopappinfo.[ch]:
642 * glocaldirectorymonitor.[ch]:
644 * glocalfileenumerator.[ch]:
645 * glocalfileinputstream.[ch]:
646 * glocalfilemonitor.[ch]:
647 * glocalfileoutputstream.[ch]:
649 * gnativevolumemonitor.c:
650 * gpollfilemonitor.[ch]:
651 * gunionvolumemonitor.[ch]:
654 * gunixvolumemonitor.[ch]:
657 * inotify/ginotifydirectorymonitor.[ch]:
658 * inotify/ginotifyfilemonitor.[ch]:
659 * inotify/inotify-helper.c:
660 Append _ to all internal functions
664 Export symbols needed for modules
666 2007-11-28 Alexander Larsson <alexl@redhat.com>
669 * abicheck.sh: Added.
670 * makegioalias.pl: Added.
671 * pltcheck.sh: Added.
672 * gio.symbols: Added.
675 Initial work on adding symbol handling.
678 Correct ifdef guard name
681 * inotify/Makefile.am:
682 * xdgmime/Makefile.am:
683 Include toplevel Makefile.decl
685 2007-11-27 Matthias Clasen <mclasen@redhat.com>
687 * gcontenttype.c: Move doc comments to the unix section.
689 * *.[hc]: More trivial doc corrections.
691 2007-11-27 Matthias Clasen <mclasen@redhat.com>
693 * gpollfilemonitor.c:
702 * gdatainputstream.c:
703 * gdatainputstream.h:
704 * gdataoutputstream.c:
705 * gdataoutputstream.h:
706 * gfileinfo.h: Doc cleanups
708 2007-11-28 Andre Klapper <a9016009@gmx.de>
710 * gdesktopappinfo.c: Fix a typo.
712 2007-11-27 Andre Klapper <a9016009@gmx.de>
714 * glocalfileoutputstream.c: Fix a typo.
716 2007-11-27 Alexander Larsson <alexl@redhat.com>
719 Don't include removed headers
721 2007-11-27 Alexander Larsson <alexl@redhat.com>
724 * gsocketinputstream.[ch]: Removed.
725 * gsocketoutputstream.[ch]: Removed.
726 * gunixinputstream.[ch]: Added.
727 * gunixoutputstream.[ch]: Added.
728 Renamed GSocket*Stream to GUnix*Stream and made
729 it unix-only, since its not really only for sockets
730 and it only works on unix (but is highly useful there).
732 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
738 * gbufferedinputstream.c:
739 * gbufferedinputstream.h:
740 * gbufferedoutputstream.c:
741 * gbufferedoutputstream.h:
745 * gdatainputstream.c:
746 * gdatainputstream.h:
747 * gdataoutputstream.c:
748 * gdataoutputstream.h:
749 * gdirectorymonitor.c:
750 * gdirectorymonitor.h:
763 * gfileinputstream.c:
764 * gfileinputstream.h:
767 * gfilenamecompleter.c:
768 * gfilenamecompleter.h:
769 * gfileoutputstream.c:
770 * gfileoutputstream.h:
771 * gfilterinputstream.c:
772 * gfilterinputstream.h:
773 * gfilteroutputstream.c:
774 * gfilteroutputstream.h:
787 * glocalfileoutputstream.c:
788 * gmemoryinputstream.c:
789 * gmemoryinputstream.h:
790 * gmemoryoutputstream.c:
791 * gmemoryoutputstream.h:
796 * gpollfilemonitor.c:
799 * gsimpleasyncresult.c:
800 * gsimpleasyncresult.h:
801 * gsocketinputstream.c:
802 * gsocketinputstream.h:
803 * gsocketoutputstream.c:
804 * gsocketoutputstream.h:
811 * gunixvolumemonitor.c:
820 Bumps documentation to 93% symbol coverage, touching most
821 of the public files. Fixes broken function documentation prototypes.
822 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
823 gtk-doc headers in private files.
825 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
827 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
828 (g_buffered_input_stream_read_byte):
829 * gbufferedinputstream.h:
830 New functions for efficient access to buffer and simple single byte
833 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
834 (g_data_input_stream_read_until):
835 * gdatainputstream.h:
836 Use peek_buffer to avoid memcpy in scan_for_newline, implement
837 read_until with multiple stop chars.
839 2007-11-27 Alexander Larsson <alexl@redhat.com>
843 * inotify/Makefile.am:
844 Use the user-specified giomoduledir
846 2007-11-27 Alexander Larsson <alexl@redhat.com>
850 Add catch-all gio.h header
851 Don't install gdummyfile.h
853 2007-11-26 Alexander Larsson <alexl@redhat.com>
855 * Makefile.am (gioinclude_HEADERS):
856 Remove trailing whitespace
858 2007-11-26 Alexander Larsson <alexl@redhat.com>
860 Merge gio-standalone into glib
862 2007-11-25 Christian Kellner <gicmo@gnome.org>
864 * gio/goutputstream.c:
865 Fix small mistake in the docs.
867 2007-11-21 Christian Persch <chpe@gnome.org>
869 * gio/glocalfile.c: (g_local_file_trash):
870 Convert filenames to UTF-8 for GError.
871 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
872 as per xdg base dir spec.
874 2007-11-21 Christian Persch <chpe@gnome.org>
876 * gio/gdesktopappinfo.c:
877 Use that g_key_file_to_data cannot fail.
879 Use stock defines for the key file group and key names.
882 2007-11-21 Alexander Larsson <alexl@redhat.com>
885 (copy_stream_with_progress):
886 Make sure we do a final progress callback with
889 2007-11-21 Alexander Larsson <alexl@redhat.com>
892 Export g_file_copy_attributes
893 Remove padding as its not needed for interfaces
895 2007-11-20 Alexander Larsson <alexl@redhat.com>
900 Add G_IO_ERROR_WOULD_MERGE for
901 copy/move dir on dir with overwrite.
903 2007-11-20 Alexander Larsson <alexl@redhat.com>
906 * gio/glocalfileinfo.c:
907 Add COPY_NAME (this is an optional
908 non-modified utf8 version of the name) that
911 2007-11-20 Alexander Larsson <alexl@redhat.com>
913 * gio/glocalfileenumerator.c:
914 Report errors as GIOError, not GFileError
916 2007-11-16 Alexander Larsson <alexl@redhat.com>
918 * gio/glocalfileoutputstream.c:
919 * gio/gwin32appinfo.c:
920 Fix typos in strings.
921 Patch from Luca Ferretti <elle.uca@libero.it>
923 2007-11-15 Alexander Larsson <alexl@redhat.com>
926 Post release version bump
928 === gio-standalone 0.1.2 ===
930 2007-11-15 Alexander Larsson <alexl@redhat.com>
932 * docs/reference/gio/Makefile.am:
933 Fix up distcheck by removing weird
939 2007-11-14 Alexander Larsson <alexl@redhat.com>
941 * gio/gdesktopappinfo.c:
942 * gio/glocaldirectorymonitor.c:
944 * gio/glocalfileinfo.c:
945 * gio/inotify/inotify-sub.c:
946 * programs/gio-cat.c:
947 * programs/gio-copy.c:
948 * programs/gio-info.c:
950 * programs/gio-monitor-dir.c:
951 * programs/gio-monitor-file.c:
952 * programs/gio-mount.c:
953 * programs/gio-move.c:
955 * programs/gio-save.c:
956 * programs/gio-trash.c:
957 Leak fixes from Kjartan Maraas
959 2007-11-14 Alexander Larsson <alexl@redhat.com>
961 * gio/fam/fam-helper.c:
963 * gio/glocalfileinfo.c:
967 * gio/inotify/inotify-diag.c:
968 * gio/inotify/inotify-kernel.c:
969 Various code cleanups from Kjartan Maraas
971 2007-11-14 Alexander Larsson <alexl@redhat.com>
973 * gio/gioscheduler.c:
975 Set up threadpool so that we cache 2 unused
976 idle threads for at 15 secs. This means we
977 will reuse thread-local data (like dbus connections)
980 2007-11-14 Alexander Larsson <alexl@redhat.com>
982 * gio/fam/fam-helper.c:
983 * gio/fam/gfamdirectorymonitor.c:
984 * gio/fam/gfamfilemonitor.c:
986 * gio/gcontenttype.c:
987 * gio/gdatainputstream.c:
988 * gio/gdataoutputstream.c:
992 * gio/gfileattribute.h:
993 * gio/gfileenumerator.c:
995 * gio/ginputstream.c:
998 * gio/glocalfileinfo.c:
999 * gio/goutputstream.c:
1000 * gio/gpollfilemonitor.c:
1001 * gio/gsimpleasyncresult.c:
1002 * gio/gunixmounts.c:
1003 * gio/gunixmounts.h:
1004 * gio/inotify/ginotifydirectorymonitor.c:
1005 * gio/inotify/ginotifyfilemonitor.c:
1006 * gio/inotify/inotify-diag.c:
1007 * gio/inotify/inotify-kernel.c:
1008 * gio/inotify/inotify-path.c:
1010 * gio/test-streams.c:
1011 * programs/gio-info.c:
1012 * programs/gio-monitor-dir.c:
1013 * programs/gio-monitor-file.c:
1014 Various code cleanups from Kjartan Maraas
1016 2007-11-13 Alexander Larsson <alexl@redhat.com>
1019 Handle the uri-scheme calls for dummy files
1021 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1023 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1024 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1025 to avoid clash with the C++ keyword.
1027 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1029 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1030 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1032 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1034 * gio/glocaldirectorymonitor.c:
1035 * gio/glocalfilemonitor.c:
1036 * gio/gunionvolumemonitor.c:
1037 Don't use g_once_init_*() for initializations that could fail and
1038 could leave the initialization variable set to 0 but use GOnce.
1039 This prevents a deadlock on the second call when trying to create
1040 a monitor and no monitor type is available. Thanks to Sven Herzberg
1043 2007-11-11 Sven Herzberg <sven@imendio.com>
1045 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1046 #ifdef (make it work on MacOS X again)
1048 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1050 Fixes Changelog for last two commits (sorry guys).
1052 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1054 * gio/gbufferedinputstream.c:
1055 * gio/gdatainputstream.c:
1057 * gio/gfileoutputstream.c:
1058 * gio/gfilterinputstream.c:
1059 * gio/glocalfileinputstream.c:
1062 More consistency fixes in g*stream.c files.
1063 Significant clean of gfile's documentation, filling in of
1064 asynchronous operations documentation.
1066 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1068 * gio/gasyncresult.c:
1069 * gio/gbufferedinputstream.c:
1070 * gio/gbufferedoutputstream.c:
1071 * gio/gcancellable.c:
1072 * gio/gcontenttype.c:
1073 * gio/gdatainputstream.c:
1074 * gio/gdataoutputstream.c:
1075 * gio/gdesktopappinfo.c:
1078 * gio/gfileattribute.c:
1079 * gio/gio/gfileenumerator.c:
1081 * gio/gfileinputstream.c:
1082 * gio/gfilemonitor.c:
1083 * gio/gfileoutputstream.c:
1084 * gio/ginputstream.c:
1086 * gio/gioscheduler.c:
1087 * gio/gloadableicon.c:
1088 * gio/glocalfileoutputstream.c:
1089 * gio/gmemoryoutputstream.c:
1090 * gio/gmountoperation.c:
1091 * gio/goutputstream.c:
1093 * gio/gsimpleasyncresult.c:
1094 * gio/gunionvolumemonitor.c:
1095 * gio/gunixmounts.c:
1096 * gio/gunixvolume.c:
1100 * gio/gvolumemonitor.c:
1101 Updated documentation stubs, working towards consistency and
1104 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1106 * gio/gmemoryoutputstream.c:
1107 * gio/gmemoryoutputstream.h:
1108 Change g_memory_output_stream_set_free_on_close() to
1109 g_memory_output_stream_set_free_data() as this makes more sense and
1110 is more consistent with GMemoryInputStream.
1112 2007-11-07 Alexander Larsson <alexl@redhat.com>
1119 Change how we find the default vfs so that
1120 we can handle a gvfs failing to init
1122 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1124 * gio/gbufferedoutputstream.c:
1125 * gio/gdatainputstream.c:
1126 * gio/gdataoutputstream.c:
1127 * gio/gfileinputstream.c:
1128 * gio/gfileoutputstream.c:
1129 * gio/gfilterinputstream.c:
1130 * gio/gfilteroutputstream.c:
1131 * gio/ginputstream.c:
1132 * gio/gmemoryinputstream.c:
1133 * gio/gmemoryoutputstream.c:
1134 * gio/goutputstream.c:
1135 * gio/gsimpleasyncresult.c:
1136 * gio/gsocketinputstream.c:
1137 * gio/gsocketoutputstream.c:
1138 Add guards to the remaining public functions, add a TODO for
1139 an unimplemented function and remove some useless guards.
1141 2007-11-07 Alexander Larsson <alexl@redhat.com>
1144 Autoconf checks for the various types of
1145 getpwuid_r and getgrgid_r
1147 * gio/glocalfileinfo.c:
1148 Use the autoconf checks from above
1150 2007-11-07 Alexander Larsson <alexl@redhat.com>
1153 (g_local_file_query_filesystem_info):
1154 Some fixes for the statvfs case
1156 2007-11-07 Alexander Larsson <alexl@redhat.com>
1159 (g_local_file_query_filesystem_info):
1160 Pick the "best" of statfs / statvfs for the system
1161 if both are availible.
1163 2007-11-07 Alexander Larsson <alexl@redhat.com>
1165 Solaris fixes from Halton.Huo@Sun.COM:
1172 * gio/glocalfileinfo.c:
1173 Fix for solaris definition of getpwuid_r
1175 * gio/test-streams.c:
1176 Use G_GNUC_PRETTY_FUNCTION
1178 2007-11-07 Alexander Larsson <alexl@redhat.com>
1180 * gio/gdesktopappinfo.c:
1181 (update_default_list):
1182 Remove double semicolon.
1183 Patch from Jens Granseuer
1185 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1187 * docs/reference/gio/gio-sections.txt:
1188 * gio/gbufferedinputstream.c:
1189 * gio/gbufferedinputstream.h:
1190 * gio/gdatainputstream.c:
1191 * gio/gfileenumerator.c:
1192 * gio/gioscheduler.c:
1193 * gio/gunionvolumemonitor.c:
1195 * programs/gio-save.c:
1196 Fix typo: availible -> available. Unfortuntely this breaks API
1197 and ABI as g_buffered_input_stream_get_available() was renamed.
1199 * gio/gunixmounts.c:
1200 * gio/gbufferedinputstream.c:
1201 Add guards for public functions.
1203 2007-11-06 Ross Burton <ross@openedhand.com>
1205 * docs/reference/gio/Makefile.am:
1206 Fix invalid += usage which automake 1.10 doesn't like.
1208 2007-11-06 Alexander Larsson <alexl@redhat.com>
1211 (g_app_launch_context_class_init):
1214 Patch from Ross Burton
1216 2007-11-06 Alexander Larsson <alexl@redhat.com>
1219 Post release version bump
1221 === gio-standalone 0.1.1 ===
1223 2007-11-06 Alexander Larsson <alexl@redhat.com>
1226 Bump version to 0.1.1
1228 * gio/gsimpleasyncresult.c:
1229 (g_simple_async_result_set_from_error):
1230 Remove bogus g_return_if_fail
1232 2007-11-06 Alexander Larsson <alexl@redhat.com>
1235 The name is gio-standalone
1238 Add top src/builddir to includedir
1240 2007-11-06 Alexander Larsson <alexl@redhat.com>
1242 * docs/reference/gio/gio-sections.txt:
1244 * gio/gbufferedinputstream.c:
1245 * gio/gbufferedoutputstream.c:
1246 * gio/gcancellable.c:
1247 * gio/gdatainputstream.h:
1248 * gio/gdataoutputstream.c:
1249 * gio/gdataoutputstream.h:
1250 * gio/gdirectorymonitor.c:
1252 * gio/gfileattribute.c:
1253 * gio/gfileattribute.h:
1254 * gio/gfileenumerator.c:
1255 * gio/gfileenumerator.h:
1258 * gio/gfileinputstream.h:
1259 * gio/gfilemonitor.c:
1260 * gio/gfileoutputstream.h:
1261 * gio/glocalfilemonitor.h:
1262 * gio/glocalfileoutputstream.h:
1263 * gio/gmemoryinputstream.c:
1264 * gio/gmemoryoutputstream.c:
1265 * gio/gmountoperation.c:
1266 * gio/goutputstream.c:
1267 * gio/goutputstream.h:
1269 * gio/gsimpleasyncresult.c:
1270 * gio/gunixmounts.c:
1271 * gio/gunixmounts.h:
1273 * gio/inotify/inotify-helper.c:
1274 Fix gtk-doc warnings
1276 Patch from Ross Burton
1278 2007-11-06 Alexander Larsson <alexl@redhat.com>
1280 * gio/gfilenamecompleter.c:
1281 (g_filename_completer_get_completions):
1284 * gio/gunixvolume.c:
1285 Remove unused function
1287 Patches from Ross Burton
1289 2007-11-06 Alexander Larsson <alexl@redhat.com>
1294 Padding not needed for interfaces
1296 2007-11-06 Alexander Larsson <alexl@redhat.com>
1298 * gio/gfilemonitor.c:
1302 Make giotypes.h an internal file
1305 * gio/gbufferedinputstream.h:
1306 * gio/gbufferedoutputstream.h:
1307 * gio/gcancellable.h:
1308 * gio/gdatainputstream.h:
1309 * gio/gdataoutputstream.h:
1310 * gio/gdirectorymonitor.c:
1311 * gio/gdirectorymonitor.h:
1316 * gio/gfileattribute.h:
1317 * gio/gfileenumerator.h:
1322 * gio/gfilemonitor.c:
1323 * gio/gfilemonitor.h:
1324 * gio/gfilenamecompleter.c:
1325 * gio/gfilenamecompleter.h:
1326 * gio/gfilterinputstream.h:
1327 * gio/gfilteroutputstream.h:
1328 * gio/ginputstream.h:
1329 * gio/gmemoryinputstream.h:
1330 * gio/gmemoryoutputstream.h:
1331 * gio/gmountoperation.c:
1332 * gio/gmountoperation.h:
1333 * gio/gnativevolumemonitor.c:
1334 * gio/goutputstream.h:
1337 * gio/gsimpleasyncresult.c:
1338 * gio/gsimpleasyncresult.h:
1339 * gio/gsocketinputstream.h:
1340 * gio/gsocketoutputstream.h:
1341 * gio/gthemedicon.c:
1342 * gio/gthemedicon.h:
1346 * gio/gvolumemonitor.c:
1347 * gio/gvolumemonitor.h:
1348 Add padding in classes where it seems useful
1349 Don't include giotypes.h from public headers
1350 Move in Class definitions into c file where possible
1355 2007-11-06 Alexander Larsson <alexl@redhat.com>
1357 * docs/reference/gio/gio-docs.xml:
1358 Better structure for API docs
1360 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1363 * gio/gloadableicon.c:
1364 * gio/gsimpleasyncresult.c:
1365 * gio/gthemedicon.c:
1366 Add some more guards to public functions. Only files missing are now
1369 2007-11-06 Alexander Larsson <alexl@redhat.com>
1371 * docs/reference/gio/gio-docs.xml:
1372 Remove old files, add missing ones
1374 2007-11-06 Alexander Larsson <alexl@redhat.com>
1376 * docs/reference/gio/gio-sections.txt:
1379 Hide implementation classes
1381 * gio/gdriveprivate.h:
1382 * gio/gvolumeprivate.h:
1383 Remove non-existing function declarations
1385 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1388 Fix compilation warnings and add guards to the new functions.
1390 * gio/gasyncresult.c:
1392 Add guards to the public functions.
1395 Implement get_path().
1397 2007-11-06 Alexander Larsson <alexl@redhat.com>
1399 * gio/gfilenamecompleter.c:
1400 Make g_filename_completer_get_completions
1401 return char ** instead of GList for
1404 * docs/reference/gio/gio-docs.xml:
1405 * docs/reference/gio/gio-sections.txt:
1407 * gio/gasyncresult.c:
1408 * gio/gbufferedinputstream.c:
1409 * gio/gbufferedoutputstream.c:
1410 * gio/gcancellable.c:
1411 * gio/gcontenttype.c:
1412 * gio/gdatainputstream.c:
1413 * gio/gdataoutputstream.c:
1414 * gio/gdesktopappinfo.c:
1415 * gio/gdirectorymonitor.c:
1419 * gio/gfileattribute.c:
1420 * gio/gfileenumerator.c:
1423 * gio/gfileinputstream.c:
1424 * gio/gfilemonitor.c:
1425 * gio/gfilenamecompleter.c:
1426 * gio/gfilenamecompleter.h:
1427 * gio/gfileoutputstream.c:
1428 * gio/gfilterinputstream.c:
1430 * gio/ginputstream.c:
1432 * gio/gioscheduler.c:
1433 * gio/gloadableicon.c:
1434 * gio/glocaldirectorymonitor.c:
1436 * gio/glocalfileinputstream.c:
1437 * gio/glocalfilemonitor.c:
1438 * gio/glocalfileoutputstream.c:
1440 * gio/gmemoryinputstream.c:
1441 * gio/gmemoryoutputstream.c:
1442 * gio/gmountoperation.c:
1443 * gio/goutputstream.c:
1444 * gio/gpollfilemonitor.c:
1446 * gio/gsimpleasyncresult.c:
1447 * gio/gsocketinputstream.c:
1448 * gio/gsocketoutputstream.c:
1449 * gio/gthemedicon.c:
1450 * gio/gunionvolumemonitor.c:
1452 * gio/gunixmounts.c:
1453 * gio/gunixvolume.c:
1454 * gio/gunixvolumemonitor.c:
1458 * gio/gvolumemonitor.c:
1459 * gio/gwin32appinfo.c:
1460 Add (mostly stub) doc strings to public functions.
1461 Patch from Andrew Walton (awalton@gmail.com)
1463 2007-11-06 Alexander Larsson <alexl@redhat.com>
1465 * gio/gappinfo.[ch]:
1466 Added GAppLaunchContext object and pass that to launch.
1467 This allows simple implementation of both
1468 launch-on-screen and startup notification via a gtk+
1469 subclass of GAppLaunchContext
1471 * gio/gdesktopappinfo.c:
1472 Implement GAppLaunchContext API
1474 * gio/gwin32appinfo.c:
1477 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1479 * gio/gmountoperation.c:
1480 Add some guards to GMountOperation's public functions.
1482 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1486 * gio/gcancellable.c:
1487 * gio/gdirectorymonitor.c:
1489 * gio/gfileenumerator.c:
1490 * gio/gfilemonitor.c:,
1491 * gio/gfilenamecompleter.c:
1494 * gio/gioscheduler.c:
1498 * gio/gvolumemonitor.c:
1499 Add even more guards to various public functions.
1501 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1504 Add guards to the public functions of GAppInfo.
1506 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1508 * gio/gcontenttype.c:
1509 Add some more guards for public functions.
1511 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1513 * gio/fam/fam-module.c:
1514 * gio/fam/gfamdirectorymonitor.c:
1515 * gio/fam/gfamdirectorymonitor.h:
1516 * gio/fam/gfamfilemonitor.c:
1517 * gio/fam/gfamfilemonitor.h:
1518 * gio/inotify/ginotifydirectorymonitor.c:
1519 * gio/inotify/ginotifydirectorymonitor.h:
1520 * gio/inotify/ginotifyfilemonitor.c:
1521 * gio/inotify/ginotifyfilemonitor.h:
1522 Add proper copyright information and remove an unused variable
1523 in the GInotifyFileMonitor constructor.
1525 * gio/gcancellable.c:
1526 Add a guard for a public function and an assertion to prevent
1527 an undefined program state.
1529 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1531 * gio/gfileattribute.c:
1532 Don't run into an assertion if the given attribute value is NULL
1533 in g_file_attribute_value_get_*() but instead return a fallback
1534 value that makes sense in most situations. Passing them a attribute
1535 value with the wrong type will still run into an assertion.
1537 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1539 * gio/gfileattribute.c:
1541 Add even more guards to the public functions. Also fix the refcounting
1542 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1543 let g_file_info_list_attributes() filter the attributes by namespace
1544 instead of simply ignoring the namespace parameter.
1546 2007-11-03 Sven Herzberg <sven@imendio.com>
1548 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1549 (This makes gio work on MacOS X again)
1551 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1554 Build the gio subdirectory before the docs. Otherwise the build will
1557 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1558 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1559 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1560 Add guards to the public functions.
1562 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1564 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1565 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1566 to prevent a compiler warning.
1568 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1569 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1570 return something in the non-void function find_topdir_for().
1572 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1579 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1581 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1582 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1583 * gwin32appinfo.c (g_win32_app_info_launch):
1584 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1585 envp_for_startup_id, g_desktop_app_info_launch,
1586 g_desktop_app_info_launch_uris):
1588 Give an opaque 'startup_id' string instead of 'envp'.
1589 Support empty file lists for launching new windows.
1590 Fix infinite recursion bug when launching URIs.
1592 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1595 Add guard to the new g_file_get_uri_scheme() function.
1597 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1600 Convert a g_return_val_if_fail() to setting the GError instead as
1601 otherwise applications have to verify the parameter before otherwise
1602 and the parameter might come directly from the user.
1604 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1606 * gio/inotify/ginotify*.[ch]:
1607 Add missing copyright information.
1609 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1612 Add guards in the beginning of public functions to check for valid
1613 parameters and fix a bug in copy_stream_with_progress() that could've
1614 caused writing less bytes than reading.
1615 * gio/glocalfileinfo.c:
1616 Check for a NULL parameter and set the GError accordingly then.
1617 * gio/goutputstream.c:
1618 Fix the same bug as in gfile.c that could've caused writing less bytes
1619 than reading in g_output_stream_real_splice().
1621 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1624 Use the correct gvolumeprivate.h naming
1626 2007-11-01 Christian Kellner <gicmo@gnome.org>
1629 Remove leftover "$(daemon_sources)" entry.
1631 2007-11-01 Christian Kellner <gicmo@gnome.org>
1636 Add copyright information to source files.
1638 2007-11-01 Alexander Larsson <alexl@redhat.com>
1642 Add g_file_get_uri_scheme
1644 2007-11-01 Alexander Larsson <alexl@redhat.com>
1647 * gio/gdesktopappinfo.c:
1648 * gio/gwin32appinfo.c:
1649 Add g_app_info_get_default_for_uri_scheme.
1651 2007-11-01 Alexander Larsson <alexl@redhat.com>
1654 Correct filename for gdriveprivate.h
1656 2007-10-31 Alexander Larsson <alexl@redhat.com>
1659 Rename id:value to id:file
1662 * gio/glocalfileinfo.c:
1665 2007-10-31 Alexander Larsson <alexl@redhat.com>
1667 * gio/gunixvolume.c:
1669 Remove g_volume_get_platform_id, as thats not
1670 needed with the simpler union volume monitor
1672 2007-10-31 Alexander Larsson <alexl@redhat.com>
1675 * gio/guniondrive.[ch]: Removed.
1676 * gio/gunionvolume.[ch]: Removed.
1677 Remove GUnionDrive/Volume
1679 * gio/gunionvolumemonitor.c:
1680 Simplify union volume monitor, now we
1681 only have one native volume monitor and
1682 we use the actual volumes/drives from the
1683 child monitors instead of wrapping them
1685 * gio/gnativevolumemonitor.[ch]:
1686 Base class for native volume monitors.
1687 Includes priority and get_volume_for_mountpoint
1690 Add g_file_find_enclosing_volume
1693 Remove volume name fs attribute
1694 Add readonly fs attribute
1697 Implement readonly attribute
1698 remove volume name attribute
1699 Implement find_enclosing volume
1701 * gio/gunixmounts.c:
1702 Add a volume for "/".
1704 * gio/gunixvolume.[ch]:
1705 Set better name for /
1707 * gio/gunixvolumemonitor.[ch]:
1708 Derive from GNativeVolumeMonitor
1709 Implement get_volume_for_mountpoint
1712 GVolume typedef moved to gfile.h
1714 * gio/gvolumeprivate.h:
1715 Add g_volume_get_for_mount_path
1717 2007-10-31 Alexander Larsson <alexl@redhat.com>
1719 * gio/gunixmounts.[ch]:
1720 Add cache info to unix mount listers
1721 Make getmntent use threadsafe
1722 Add is_system_internal attribute for GUnixMount
1724 * gio/gunixvolume.c:
1725 (g_unix_volume_new):
1726 Use is_system_internal instead of own code
1728 * gio/glocaldirectorymonitor.c:
1729 * gio/gunixvolumemonitor.c:
1730 Update to new gunixmounts API
1735 2007-10-30 Alexander Larsson <alexl@redhat.com>
1738 Add volume name fsinfo attribute
1741 Read volume name info
1743 * gio/gunionvolumemonitor.c:
1744 Fix infinite loops when finalizing a union volume monitor
1746 2007-10-30 Alexander Larsson <alexl@redhat.com>
1748 * gio/goutputstream.[ch]:
1749 Add splice() with default implementation
1751 * gio/gsocketoutputstream.c:
1752 (g_socket_output_stream_write):
1753 Return error on cancellation correctly.
1755 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1757 * gio/glocalfile.c (g_local_file_trash):
1758 Do not leak a string.
1760 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1762 * gio/gfile.c (g_file_load_contents):
1763 Unref the stream after closing it.
1765 2007-10-25 Alexander Larsson <alexl@redhat.com>
1767 * gio/gioscheduler.h:
1770 2007-10-25 Alexander Larsson <alexl@redhat.com>
1774 Add g_file_has_uri_scheme and implement for local files
1776 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1778 * gio/gdesktopappinfo.c: do not leak a string.
1780 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1782 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1783 (g_local_directory_monitor_new):
1784 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1785 (g_local_file_monitor_new):
1786 Only look for the monitor type that should be used the first time
1787 and use g_qsort_with_data() instead of our own bubble sort
1790 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1793 * gio/fam/Makefile.am:
1794 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1795 * gio/fam/fam-helper.h:
1796 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1797 * gio/fam/gfamdirectorymonitor.c:
1798 * gio/fam/gfamdirectorymonitor.h:
1799 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1800 * gio/fam/gfamfilemonitor.h:
1801 * gio/glocaldirectorymonitor.c:
1802 * gio/glocaldirectorymonitor.h:
1803 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1804 * gio/glocalfilemonitor.h:
1805 * gio/inotify/Makefile.am:
1806 * gio/inotify/ginotifydirectorymonitor.c:
1807 * gio/inotify/ginotifydirectorymonitor.h:
1808 * gio/inotify/ginotifyfilemonitor.c:
1809 * gio/inotify/ginotifyfilemonitor.h:
1810 Implement the FAM and Inotify monitors as
1811 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1812 their own GIO module. GLocal(Directory|File)Monitor will use the
1813 monitor with the highest rank that is supported on that machine.
1815 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1818 Change GIO module dir to $(libdir)/gio/modules and change
1819 the log domain from GVFS to GIO. Also only export symbols starting
1820 with g_ in the resulting library.
1821 * gio/test-streams.c: (main):
1822 Set log handler for the GIO log domain.
1824 2007-10-22 Alexander Larsson <alexl@redhat.com>
1826 * gio/gfilenamecompleter.[ch]:
1827 Add g_filename_completer_set_dirs_only
1829 2007-10-22 Alexander Larsson <alexl@redhat.com>
1832 * gio/gurifuncs.[ch]:
1833 Add some simple URI helpers
1835 * gio/gfilenamecompleter.[ch]:
1836 Added object for filename (parse name actually) completion
1839 Handle ~ in parse names
1841 2007-10-17 Alexander Larsson <alexl@redhat.com>
1844 * gio/glocalfileinfo.c:
1845 Add and implement id:value attribute
1847 2007-10-17 Alexander Larsson <alexl@redhat.com>
1850 * gio/guniondrive.c:
1852 Add and implement g_drive_has_volumes
1854 2007-10-17 Alexander Larsson <alexl@redhat.com>
1857 * gio/glocalfileinfo.[ch]:
1858 Add unix:is_mountpoint and implement for local files
1860 2007-10-16 Alexander Larsson <alexl@redhat.com>
1862 * gio/gunionvolumemonitor.c:
1863 (g_union_volume_monitor_init):
1864 Fix up the unix type getting so that it works with gcc
1866 2007-10-12 Alexander Larsson <alexl@redhat.com>
1869 * gio/glocalfileinfo.c:
1870 Add thumbnail:failed to file info
1872 2007-10-12 Richard Hult <richard@imendio.com>
1874 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1875 optimizing away the get_type call (happens with some gcc versions,
1876 like the one shipped with OS X 10.4).
1878 2007-10-12 Alexander Larsson <alexl@redhat.com>
1880 * gio/glocalfileinfo.c:
1881 (_g_local_file_info_set_attribute):
1882 Fix build if not HAVE_XATTR
1883 Patch from Milosz Derezynski <internalerror@gmail.com>
1885 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1887 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1888 around for review, otherwise I would have asked you before
1891 2007-10-11 Alexander Larsson <alexl@redhat.com>
1894 Add thumbnail:path attribute
1896 * gio/glocalfileinfo.c:
1897 Implement thumbnail:path for local files
1899 2007-10-11 Alexander Larsson <alexl@redhat.com>
1901 * gio/glocalfileinfo.c:
1902 (_g_local_file_info_get):
1903 Avoid duplicate icon names
1905 2007-10-11 Alexander Larsson <alexl@redhat.com>
1907 * gio/gthemedicon.[ch]:
1908 Change g_themed_icon_get_names return type to const
1910 2007-10-10 Alexander Larsson <alexl@redhat.com>
1912 * gio/glocalfileinfo.c:
1913 Don't reference freed memory
1915 2007-10-10 Alexander Larsson <alexl@redhat.com>
1917 * gio/gfileattribute.c:
1920 * gio/glocalfileinfo.c:
1923 2007-10-10 Alexander Larsson <alexl@redhat.com>
1926 Check for NULL icons
1928 * gio/gfileattribute.c:
1929 Don't dup when getting objects (same as for string attributes)
1931 * gio/gicon.c (g_icon_equal):
1932 Safely handle NULLs in equal
1934 2007-10-10 Alexander Larsson <alexl@redhat.com>
1937 Fix c++ compilation issues
1938 Patch from Milosz Derezynski <internalerror@gmail.com>
1940 2007-10-10 Alexander Larsson <alexl@redhat.com>
1942 * programs/gio-monitor-dir.c:
1943 Don't crash if dir monitor not supported.
1945 2007-10-09 Alexander Larsson <alexl@redhat.com>
1948 Add missing G_END_DECLS
1950 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1952 * gio/gfile.c: (g_file_set_display_name),
1953 (g_file_query_settable_attributes),
1954 (g_file_query_writable_namespaces):
1955 Return NULL not FALSE on errors as the return type is a pointer.
1957 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1959 * gio/glocalfile.c: (g_local_file_monitor_file):
1960 Don't call monitor_file on the default interface vtable (which
1961 is NULL) but simply return NULL. The caller, GFile, will create a
1962 polling monitor if NULL is returned.
1964 2007-10-09 Alexander Larsson <alexl@redhat.com>
1968 * gio-unix-2.0.pc.in:
1969 Add gio-unix-2.0.pc if OS_UNIX
1972 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1974 2007-10-09 Alexander Larsson <alexl@redhat.com>
1976 * gio/gunixmounts.[ch]:
1977 Make unix mount monitoring API sane.
1978 Now its just a object with mounts_changed
1979 and mountpoints_changed signals.
1981 * gio/glocaldirectorymonitor.c:
1982 * gio/gunixvolumemonitor.c:
1983 Use new mount monitor api
1985 2007-10-09 Alexander Larsson <alexl@redhat.com>
1987 * gio/gunixmounts.[ch]:
1988 Move guess type into one call for mounts and one for mountpoints
1991 * gio/gunixvolume.c:
1994 2007-10-09 Alexander Larsson <alexl@redhat.com>
1996 * gio/gunixmounts.[ch]:
1997 Remove _ prefix in preparation to make this semi-public
1998 Hide implementation of structs
2000 * gio/glocaldirectorymonitor.c:
2002 * gio/gunixvolume.c:
2003 * gio/gunixvolumemonitor.c:
2004 Update for above API changes
2006 2007-10-08 Alexander Larsson <alexl@redhat.com>
2009 Better polling fallback. This also handles the case where we have
2010 a monitor_file implementation, but it fails.
2012 2007-10-08 Alexander Larsson <alexl@redhat.com>
2016 * gio/gunixmounts.c:
2017 * programs/gio-monitor-dir.c:
2018 * programs/gio-monitor-file.c:
2019 Added cancellable to file monitoring calls.
2020 These are really sync calls and need this.
2022 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2024 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2025 (g_local_vfs_class_init):
2026 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2027 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2029 2007-10-05 Alexander Larsson <alexl@redhat.com>
2031 * gio/gdirectorymonitorprivate.h:
2032 * gio/gfilemonitorprivate.h:
2033 * gio/gdirectorymonitor.h:
2034 * gio/gfilemonitor.h:
2035 Remove *private.h and move to the public API, so that
2036 we can do implementations outside gio (such as in gvfs)
2038 * gio/gdirectorymonitor.c:
2039 * gio/gfilemonitor.c:
2040 * gio/glocaldirectorymonitor.c:
2041 * gio/gpollfilemonitor.c:
2042 * gio/inotify/inotify-helper.c:
2043 * gio/fam/fam-helper.c:
2044 Update to the new header names
2046 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2048 * gio/gdirectorymonitor.c:
2049 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2052 2007-10-04 Alexander Larsson <alexl@redhat.com>
2054 * gio/glocalfileinfo.c (get_access_rights):
2055 Set CAN_TRASH when we can move the file.
2056 We should really also check for a parent trash dir.
2058 2007-10-04 Alexander Larsson <alexl@redhat.com>
2060 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2061 Add can_trash access attribute
2063 2007-10-04 Alexander Larsson <alexl@redhat.com>
2066 (g_local_file_trash):
2067 Create info file first. This is per-spec and allows
2068 us to actually trash directories.
2070 2007-10-02 Alexander Larsson <alexl@redhat.com>
2072 * gio/gdesktopappinfo.c:
2073 Implement the new mime support code.
2074 Always set app as handling mimetype when being set as default for it
2076 2007-10-01 Alexander Larsson <alexl@redhat.com>
2078 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2079 Fix up check for xattrs:
2081 2007-10-01 Alexander Larsson <alexl@redhat.com>
2084 (g_app_info_set_as_default_for_extension):
2085 (g_app_info_add_supports_type):
2086 (g_app_info_can_remove_supports_type):
2087 (g_app_info_remove_supports_type):
2088 Make these fail nicely if not implemented
2090 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2092 * gio/glocalfileoutputstream.c:
2093 * gio/glocalfileoutputstream.h:
2098 * programs/gio-save.c:
2099 Add a GFileCreateFlags argument to operations that can create
2102 2007-10-01 Alexander Larsson <alexl@redhat.com>
2104 * gio/gappinfo.[ch]:
2105 * gio/gdesktopappinfo.c:
2106 Add more (stubbed out) mime API needed for nautilus
2108 2007-10-01 Alexander Larsson <alexl@redhat.com>
2111 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2112 Add g_app_info_set_as_default_for_extension.
2114 * gio/gdesktopappinfo.c:
2115 Dummy for g_app_info_set_as_default_for_extension
2116 Support flags in g_app_info_create_from_commandline
2118 * gio/gwin32appinfo.c:
2120 Update for API changes
2122 * gio/gthemedicon.c:
2123 Properly NULL-terminate list of icon names
2125 2007-09-28 Alexander Larsson <alexl@redhat.com>
2127 * gio/gloadableicon.h:
2128 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2130 2007-09-28 Alexander Larsson <alexl@redhat.com>
2133 Install headers in $includedir/gio-standalone/
2135 * gio-2.0.pc.in: Added.
2136 * gio-standalone.pc.in: Removed.
2139 Renamed pkg-config file to match glib (for future move)
2140 Update to the new include dir
2143 Add more TODO comments
2145 2007-09-28 Alexander Larsson <alexl@redhat.com>
2147 * gio/gdesktopappinfo.[ch]:
2148 Expose new_from_filename
2149 Add getter for is_hidden and handle it better
2151 2007-09-28 Alexander Larsson <alexl@redhat.com>
2153 * gio/gfileinfo.[ch]:
2154 Rename g_file_size_format_for_display to
2155 g_format_file_size_for_display.
2156 Now it doesn't have the g_file prefix, so we
2157 can later move it to glib.
2159 2007-09-28 Alexander Larsson <alexl@redhat.com>
2161 * gio/gappinfo.[ch]:
2162 Add g_app_info_get_id and g_app_info_get_executable.
2163 Make all getters non-reffing
2164 Make g_app_info_launch take GFile arguments.
2165 Add must_support_uris argument to g_app_info_get_default_for_type.
2167 * gio/gwin32appinfo.c:
2168 Update to GAppInfo api changes
2170 * gio/gdesktopappinfo.c:
2171 Update to GAppInfo api changes
2172 Implement supports_xdg_startup_notify
2174 * gio/gfileicon.c (g_file_icon_get_file):
2175 Make getter non-reffing.
2180 2007-09-27 Alexander Larsson <alexl@redhat.com>
2182 * gio/gfileinfo.[ch]:
2183 Add g_file_size_format_for_display helper
2185 2007-09-27 Alexander Larsson <alexl@redhat.com>
2187 * gio/glocalfileinfo.c:
2188 Set UNIX_GID from gid, not from uid
2190 2007-09-27 Alexander Larsson <alexl@redhat.com>
2193 Add g_file_set_attributes_async
2195 2007-09-27 Alexander Larsson <alexl@redhat.com>
2197 * gio/glocalfile.c (g_local_file_set_display_name):
2198 Fix set_display_name to actually rename to the right place.
2199 Use lstat to look for existing files so we don't overwrite
2202 2007-09-26 Alexander Larsson <alexl@redhat.com>
2205 Add g_file_set_display_name_async()
2207 2007-09-26 Alexander Larsson <alexl@redhat.com>
2210 Add load_partial_contents async calls
2213 Make internal function static
2215 2007-09-26 Alexander Larsson <alexl@redhat.com>
2217 * gio/glocalfileinfo.c:
2218 Correctly detect broken symlinks
2220 2007-09-26 Alexander Larsson <alexl@redhat.com>
2222 * gio/gcancellable.c (g_cancellable_cancel):
2223 Allow cancel on NULL cancellable
2225 2007-09-25 Alexander Larsson <alexl@redhat.com>
2227 * gio/gsimpleasyncresult.c:
2228 Don't allocate g_error manually.
2229 Fixes g_slice/g_new mixup crash
2231 2007-09-25 Alexander Larsson <alexl@redhat.com>
2233 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2234 Actually set active_backend.
2235 This means the monitor will be cancelled correctly.
2237 2007-09-25 Alexander Larsson <alexl@redhat.com>
2239 * gio/gdirectorymonitor.c:
2240 Set timeout to NULL when destroying
2242 2007-09-25 Alexander Larsson <alexl@redhat.com>
2245 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2246 that is a better description of the error.
2248 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2250 * gio/gvfs.c: (g_vfs_get_local):
2251 Make the local vfs variable static. The same instance should
2254 2007-09-24 Alexander Larsson <alexl@redhat.com>
2256 * gio/glocalfileinfo.c:
2257 Pass in actual length read into sniffer, not the length
2260 2007-09-21 Alexander Larsson <alexl@redhat.com>
2262 * gio/gfileenumerator.c:
2265 * gio/gfileinputstream.c:
2266 * gio/gfileoutputstream.c:
2267 * gio/ginputstream.c:
2268 * gio/goutputstream.c:
2269 Don't crash if async callbacks are NULL
2271 2007-09-20 Alexander Larsson <alexl@redhat.com>
2274 Add async enumerate_children method and default
2277 2007-09-20 Alexander Larsson <alexl@redhat.com>
2280 Add g_file_contains_file & g_file_get_relative_path, since they
2281 were needed for nautilus.
2282 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2287 Implement new methods
2289 2007-09-17 Alexander Larsson <alexl@redhat.com>
2292 * gio/gfileinputstream.[ch]:
2293 * gio/gfileoutputstream.[ch]:
2295 * gio/glocalfileenumerator.[ch]:
2296 * gio/glocalfileinfo.[ch]:
2297 * gio/glocalfileinputstream.c:
2298 * gio/glocalfileoutputstream.c:
2299 * gio/gpollfilemonitor.c:
2300 * programs/gio-copy.c:
2301 * programs/gio-info.c:
2302 * programs/gio-move.c:
2303 Rename get_file_info to query_info() to make it clearer
2304 that these are not simple getters, but do i/o.
2306 2007-09-17 Alexander Larsson <alexl@redhat.com>
2308 * gio/gdatainputstream.[ch]:
2309 * gio/test-streams.c:
2310 Use _read_XXX instead of _get_XXX for the i/o calls
2313 2007-09-17 Alexander Larsson <alexl@redhat.com>
2316 Added needed stuff to TODO comment
2318 2007-09-17 Alexander Larsson <alexl@redhat.com>
2320 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2321 Don't error out removing the backup copy if it doesn't
2324 2007-09-14 Alexander Larsson <alexl@redhat.com>
2326 * programs/Makefile.am:
2327 * programs/gvfs-*.c:
2329 Renamed apps from gvfs-xxx to gio-xxx.
2331 2007-09-14 Alexander Larsson <alexl@redhat.com>
2334 * gio/gfileoutputstream.[ch]:
2335 * gio/glocalfileoutputstream.c:
2336 * programs/gvfs-save.c:
2337 g_file_output_stream_get_etag doesn't do i/o, so remove
2338 cancellation and error.
2340 2007-09-14 Alexander Larsson <alexl@redhat.com>
2343 Add new_etag output to replace_contents functions
2345 2007-09-14 Alexander Larsson <alexl@redhat.com>
2347 * gio/gfileoutputstream.[ch]:
2348 Add async get_file_info and default implementation
2350 2007-09-14 Alexander Larsson <alexl@redhat.com>
2352 * gio/gfileinputstream.c:
2353 Implement fallback wrapper for async get_file_info
2355 2007-09-14 Alexander Larsson <alexl@redhat.com>
2358 Add etag out argument to load_contents
2363 2007-09-14 Alexander Larsson <alexl@redhat.com>
2365 * gio/gcontenttype.c (looks_like_text):
2366 Whitespace like tab, cr and lf do not make the
2369 2007-09-14 Alexander Larsson <alexl@redhat.com>
2371 * gio/gfileinputstream.[ch]:
2372 Add async get_file_info.
2374 2007-09-13 Alexander Larsson <alexl@redhat.com>
2376 * gio/goutputstream.c (g_output_stream_write_all):
2377 Allow NULL for bytes_written
2379 2007-09-13 Alexander Larsson <alexl@redhat.com>
2381 * gio/gmemoryinputstream.[ch]:
2382 Add accessors for data
2384 2007-09-13 Alexander Larsson <alexl@redhat.com>
2386 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2387 Don't crash if length is NULL