1 2007-12-20 Alexander Larsson <alexl@redhat.com>
7 * gfilenamecompleter.c:
11 File attribute renames:
14 id::fs -> id::filesystem
16 2007-12-20 Alexander Larsson <alexl@redhat.com>
25 Add GMountUnmountFlags to all unmount and
27 Add g_mount_remount() call.
29 2007-12-20 Alexander Larsson <alexl@redhat.com>
31 * gvfs.c (get_default_vfs):
32 Fix unused variable warning
34 2007-12-19 Matthias Clasen <mclasen@redhat.com>
38 2007-12-19 Matthias Clasen <mclasen@redhat.com>
40 * gunionvolumemonitor.c:
41 * gunixmount.c: Remove C99 comments
43 2007-12-19 Matthias Clasen <mclasen@redhat.com>
45 * gio.symbols: Add some missing symbols
47 2007-12-19 Alexander Larsson <alexl@redhat.com>
50 Make g_io_modules_load_all_in_directory not unuse
51 loaded modules so that users of it can do stuff
53 Init internal "module" types.
54 Initialize static prio and name for types so that
55 we don't have to load modules to get it.
57 * gnativevolumemonitor.h:
59 Move is_supported to parent class so that
60 non-native monitors can avoid being initialized
61 too. (For instance GDaemonVolumeMonitor if we're
62 not using GDaemonVfs.)
64 * glocaldirectorymonitor.[ch]:
65 * glocalfilemonitor.[ch]:
66 * gunionvolumemonitor.c:
67 * gunixvolumemonitor.c:
69 Find plugins using the static prio+name to
70 avoid unnecessarily loading the modules.
72 2007-12-19 Alexander Larsson <alexl@redhat.com>
77 2007-12-19 Alexander Larsson <alexl@redhat.com>
79 * gunionvolumemonitor.c:
80 Store the native type as GType, not class so that
81 we can unload it. But still avoid unnecessarily
84 2007-12-19 David Zeuthen <davidz@redhat.com>
86 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
87 add signals 'disconnected' and 'eject-button' on GDrive. Add
88 signal 'removed' on GVolume and 'unmounted' on GMount.
90 * gdrive.c: (g_drive_base_init):
92 * gfile.c: (g_file_mount_mountable),
93 (g_file_mount_enclosing_volume):
96 * gmount.c: (g_mount_base_init):
98 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
99 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
100 * gvolume.c: (g_volume_base_init), (g_volume_mount):
104 2007-12-17 Matthias Clasen <mclasen@redhat.com>
106 * *.c: Fix up includes in the section docs.
108 2007-12-17 Alexander Larsson <alexl@redhat.com>
110 * gnativevolumemonitor.h:
111 * gunionvolumemonitor.c:
112 * gunixvolumemonitor.c:
113 Add is_supported() to GNativeVolumeMonitorClass so
114 that we can avoid having to create an object to see
115 if the backend is supported at runtime.
116 Also add name member and an env var to pick a specific
117 volume monitor backend.
121 Add cancellable to _g_mount_get_for_mount_path()
123 * glocaldirectorymonitor.c:
124 * glocalfilemonitor.c:
125 Avoid loading and unloading modules while sorting.
127 2007-12-17 Matthias Clasen <mclasen@redhat.com>
130 * gunixmounts.[hc]: Namespace waste reduction, move some
131 g_get_unix_mount functions to the g_unix_mount namespace.
134 * gunixvolumemonitor.c:
136 * glocaldirectorymonitor.c: Update all callers.
138 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
140 2007-12-17 Alexander Larsson <alexl@redhat.com>
143 Add doc comments about what GFile operations are
144 guaranteed to not block.
146 2007-12-17 Alexander Larsson <alexl@redhat.com>
149 Add missing #ifdef fixing OSX build.
150 (#503334, patch from Richard Hult)
152 2007-12-14 David Zeuthen <davidz@redhat.com>
156 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
157 (g_mount_eject), (g_mount_eject_finish):
159 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
160 (get_volume_for_uuid), (get_mount_for_uuid),
161 (g_union_volume_monitor_class_init),
162 (get_default_native_type_with_exclude), (get_default_native_type),
163 (get_native_type), (update_native_type),
164 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
165 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
166 (g_unix_mount_can_eject), (eject_unmount_cb),
167 (eject_unmount_read_error), (eject_unmount_do),
168 (g_unix_mount_unmount), (g_unix_mount_eject),
169 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
170 * gunixmounts.c: (g_unix_mount_guess_can_eject),
171 (g_unix_mount_point_guess_can_eject):
173 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
174 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
175 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
176 (g_unix_volume_mount), (g_unix_volume_eject),
177 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
178 * gunixvolumemonitor.c: (get_volume_for_uuid),
179 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
181 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
182 (g_volume_eject), (g_volume_eject_finish):
184 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
185 (g_volume_monitor_get_mount_for_uuid):
188 Provide eject() on both GMount and GVolume and utility functions
189 to guess whether a GUnixMountPoint or GUnixMountEntry should be
190 ejected. Introduce the concept of UUID's and wire it into GVolume
191 and GMount and provide API on GVolumeMonitor to find such
192 instances. Also handle the case where an external
193 GNativeVolumeMonitor fails to initialize. Lock around the
194 _g_get_mount_for_mount_path() function such that volume monitor
195 implementations won't have to do locking themselves.
197 2007-12-17 Matthias Clasen <mclasen@redhat.com>
205 * gvolume.h: Documentation updates
207 2007-12-14 Matthias Clasen <mclasen@redhat.com>
210 * gfile.h: Doc updates
212 2007-12-14 Matthias Clasen <mclasen@redhat.com>
215 * gdesktopappinfo.c: Use hash table iterators.
217 2007-12-14 Alexander Larsson <alexl@redhat.com>
220 * gfileattribute.[ch]:
221 * gfileattribute-priv.h:
222 Move GFileAttributeValue to a private header, as
226 Make set_attribute take a type + a pointer instead
227 of a GFileAttributeValue.
230 Fix up for above changes.
231 Add g_file_info_get_attribute_data to get
232 all info in one call, g_file_info_get_attribute_status
233 to get the status and g_file_info_get_attribute_as_string.
237 * glocalfileinfo.[ch]:
241 Make _guess_type static.
243 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
246 * inotify/Makefile.am: Fixed build when srcdir != builddir,
247 made mkenums and friends use temporary files to avoid leaving
248 empty generated files on failure (#503470).
250 2007-12-14 Alexander Larsson <alexl@redhat.com>
255 2007-12-14 Alexander Larsson <alexl@redhat.com>
259 * gfileattribute.[ch]:
262 * glocalfileoutputstream.c:
263 * gmountoperation.[ch]:
264 * goutputstream.[ch]:
265 Clean up all flags enums to not have _FLAGS in them
266 Make the names of some of the enums better.
271 2007-12-14 Michael Natterer <mitch@imendio.com>
273 * gio.symbols: fix g_io_scheduler symbol names.
275 2007-12-14 Alexander Larsson <alexl@redhat.com>
281 * gbufferedinputstream.h:
282 * gbufferedoutputstream.h:
285 * gdatainputstream.h:
286 * gdataoutputstream.h:
288 * gdirectorymonitor.h:
295 * gfileinputstream.h:
297 * gfilenamecompleter.h:
298 * gfileoutputstream.h:
299 * gfilterinputstream.h:
300 * gfilteroutputstream.h:
308 * gmemoryinputstream.h:
309 * gmemoryoutputstream.h:
314 * gsimpleasyncresult.h:
316 * gunixinputstream.h:
318 * gunixoutputstream.h:
322 * inotify/Makefile.am:
323 Only allow including <gio/gio.h> from apps
325 2007-12-14 Alexander Larsson <alexl@redhat.com>
328 * gsimpleasyncresult.c:
329 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
330 Split out the send_to_mainloop call into two versions instead
331 of having the block argument.
333 2007-12-13 Alexander Larsson <alexl@redhat.com>
337 * gbufferedinputstream.c:
339 * gfileinputstream.c:
340 * gfileoutputstream.c:
344 g_push/pop_current_cancellable ->
345 g_cancellable_push/pop_current
347 2007-12-13 Alexander Larsson <alexl@redhat.com>
351 Rename g_mount_for_location to g_file_mount_enclosing_volume.
353 2007-12-13 Alexander Larsson <alexl@redhat.com>
356 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
358 2007-12-12 Alexander Larsson <alexl@redhat.com>
361 Fix race condition when freeing proxy in
362 g_io_job_send_to_mainloop().
364 2007-12-12 Alexander Larsson <alexl@redhat.com>
370 Make attribute namespace separator "::" instead of ":".
371 Use - instead of _ as separator in attribute names.
373 2007-12-12 Alexander Larsson <alexl@redhat.com>
375 * gbufferedinputstream.h:
376 * gbufferedoutputstream.h:
377 * gdatainputstream.h:
378 * gdataoutputstream.h:
379 * gdirectorymonitor.h:
381 * gfileinputstream.h:
383 * gfileoutputstream.h:
384 * gfilterinputstream.h:
385 * gfilteroutputstream.h:
387 * glocalfileinputstream.h:
388 * glocalfileoutputstream.h:
389 * gmemoryinputstream.h:
390 * gmemoryoutputstream.h:
391 * gnativevolumemonitor.h:
393 * gunixinputstream.h:
394 * gunixoutputstream.h:
397 s/parent/parent_instance/ in GObjects
399 2007-12-12 Alexander Larsson <alexl@redhat.com>
404 No need for padding for interfaces
406 2007-12-12 Alexander Larsson <alexl@redhat.com>
410 * gbufferedinputstream.c:
411 * gbufferedoutputstream.c:
414 * gdatainputstream.[ch]:
416 * gdirectorymonitor.c:
418 * gfileattribute.[ch]:
421 * gfileinputstream.h:
423 * gfileoutputstream.[ch]:
424 * gfilterinputstream.h:
425 * gfilteroutputstream.h:
428 * gloadableicon.[ch]:
429 * gmemoryinputstream.c:
432 Fix up a bunch of details in the docs.
437 2007-12-11 David Zeuthen <davidz@redhat.com>
439 Rework how volumes, drives and volume monitoring is
440 done. Previosly the model was
444 where a GDrive instance represented a mount point and a GVolume
445 instance represented a mounted file system. This patch changes it
448 GDrive <1-N> GVolume <1-1> GMount
450 where GMount now serves the purpose of the old GVolume and the new
451 GVolume serves the purpose of the old GDrive. In addition the new
452 GDrive interface is used to represent a collection of GVolume
453 instances (typically partitions) and also contains utility to query
454 the state of the physical drive the GDrive object represents (such
455 as checking for media, polling the drive, ejecting the media etc.).
457 Also implement mounting and unmounting in the Unix volume monitor
458 backend. A subquent patch will introduce GDrive support for ejection
462 * gdrive.c: (g_drive_is_media_check_automatic),
463 (g_drive_is_media_removable), (g_drive_has_media),
464 (g_drive_can_poll_for_media), (g_drive_eject),
465 (g_drive_eject_finish), (g_drive_poll_for_media),
466 (g_drive_poll_for_media_finish):
468 * gfile.c: (g_file_find_enclosing_mount):
471 * glocaldirectorymonitor.c:
472 (g_local_directory_monitor_constructor), (mounts_changed):
473 * glocalfile.c: (get_mount_info),
474 (g_local_file_find_enclosing_mount),
475 (g_local_file_file_iface_init):
476 * gnativevolumemonitor.h:
477 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
478 (get_connected_drives), (g_union_volume_monitor_class_init),
479 (child_volume_added), (child_volume_removed),
480 (child_volume_changed), (child_mount_added), (child_mount_removed),
481 (child_mount_pre_unmount), (child_mount_changed),
482 (child_drive_changed), (g_union_volume_monitor_add_monitor),
483 (g_union_volume_monitor_remove_monitor),
484 (_g_mount_get_for_mount_path):
485 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
486 (guess_system_internal), (_g_get_unix_mounts),
487 (_g_get_unix_mount_points), (g_get_unix_mount_at),
488 (g_unix_mount_free), (g_unix_mount_compare),
489 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
490 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
491 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
492 (type_to_icon), (g_unix_mount_guess_name),
493 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
494 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
495 (_resolve_symlink), (_resolve_dev_root):
497 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
498 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
499 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
500 (g_unix_volume_get_name), (g_unix_volume_can_mount),
501 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
502 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
503 (g_unix_volume_mount), (g_unix_volume_mount_finish),
504 (g_unix_volume_volume_iface_init):
506 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
507 (get_mounts), (get_volumes), (get_connected_drives),
508 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
509 (mountpoints_changed), (mounts_changed),
510 (g_unix_volume_monitor_init),
511 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
512 (find_mount_by_mountpath), (update_volumes), (update_mounts):
513 * gunixvolumemonitor.h:
514 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
515 (g_volume_mount), (g_volume_mount_finish):
517 * gvolumemonitor.c: (g_volume_monitor_class_init),
518 (g_volume_monitor_get_connected_drives),
519 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
522 2007-12-10 Matthias Clasen <mclasen@redhat.com>
524 * gmountoperation.h (GPasswordFlags): Close the gap
526 2007-12-10 Matthias Clasen <mclasen@redhat.com>
528 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
530 * gdesktopappinfo.[hc]: Remove _-prefixes
532 2007-12-10 Tor Lillqvist <tml@novell.com>
534 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
537 2007-12-10 Alexander Larsson <alexl@redhat.com>
539 * gfile.c (g_file_set_display_name):
540 Don't hardcode '/' (#502727)
542 2007-12-09 Hans Breuer <hans@breuer.org>
544 * makefile.msc : follow lib naming convention
545 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
546 for user and group name, tested with ../tests/gio-ls
548 2007-12-09 A. Walton <awalton@svn.gnome.org>
561 * gmemoryinputstream.c:
562 * gmemoryoutputstream.c:
564 * gsimpleasyncresult.c:
565 More documentation cleanup and filling in missing information, bringing
566 GIO to 99% symbol coverage.
568 2007-12-08 Hans Breuer <hans@breuer.org>
570 [gio compiles and links on win32, not sure how much already works]
571 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
572 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
573 base on win32 API; prefer g_lstat() over lstat(); instead of
574 localtime_r() use an all GLib implementation on win32;
575 get_mount_info() still needs a win32 specifc implementation
576 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
577 win32_get_file_user_info to get owner/group info without uid/gid
578 * glocalfileinputstream.c : include <io.h> on win32
579 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
580 definition, use g_win32_ftruncate() for G_OS_WIN32
581 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
582 it is available with mingw/w32api but a mess with the M$ Platform SDKs
583 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
584 * makefile.msc : updated
586 2007-12-07 Alexander Larsson <alexl@redhat.com>
588 * glocalfileenumerator.c (_g_local_file_enumerator_new):
589 Avoid warning spew if error == NULL
591 2007-12-07 Alexander Larsson <alexl@redhat.com>
594 Update docs wrt etags
596 2007-12-06 Alexander Larsson <alexl@redhat.com>
599 Include sys/types.h for dev_t (#501919)
601 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
605 Make abicheck and pltcheck pass.
607 2007-12-05 Alexander Larsson <alexl@redhat.com>
610 * giomodule-priv.h: Added.
611 * glocaldirectorymonitor.c:
612 * glocalfilemonitor.c:
613 * gunionvolumemonitor.c:
615 Actually add the declaration of _g_io_modules_ensure_loaded
617 2007-12-05 Alexander Larsson <alexl@redhat.com>
619 * gdatainputstream.c:
624 * glocaldirectorymonitor.c:
625 * glocalfilemonitor.c:
626 * gunionvolumemonitor.c:
628 Make g_io_modules_ensure_loaded a private function and
629 don't pass in the dirname. This means we can do magic
630 directory finding in the win32 version.
631 Export the actual load-modules-in-directory code so that
634 2007-12-05 Alexander Larsson <alexl@redhat.com>
636 * gbufferedinputstream.c:
637 * gbufferedoutputstream.c:
640 * gfileenumerator.[ch]:
641 * gfileinputstream.c:
642 * gfileoutputstream.[ch]:
643 * gfilterinputstream.c:
644 * gfilteroutputstream.c:
647 * glocalfileenumerator.c:
648 * glocalfileinputstream.c:
649 * glocalfileoutputstream.c:
650 * gmemoryinputstream.c:
651 * gmemoryoutputstream.c:
652 * goutputstream.[ch]:
655 * gunixinputstream.c:
656 * gunixoutputstream.c:
657 Rename all struct members named:
658 read, write, close, truncate, or mount
659 to foo_fn, as these are reserved names
660 and could be defined as macros in libc.
663 2007-12-04 Alexander Larsson <alexl@redhat.com>
666 (g_output_stream_close):
667 Only call flush if non-null.
669 2007-11-30 Dan Winship <danw@gnome.org>
671 * ginputstream.c (g_input_stream_set_pending): Make this take a
672 GError and return a gboolean, and do the "outstanding operation"
673 check (and the "stream is already closed" check) itself.
674 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
676 * goutputstream.c (g_output_stream_set_pending)
677 (g_output_stream_clear_pending): Likewise
679 * gbufferedinputstream.c:
680 * gfileinputstream.c:
681 * gfileoutputstream.c: Update for that
683 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
684 Like g_simple_async_report_error_in_idle, but takes a GError
685 rather than building one.
687 2007-11-30 Dan Winship <danw@gnome.org>
689 * goutputstream.c: Don't cheat and unset the "pending" flag around
690 inner calls. Instead, call the class method directly rather than
691 the wrapper function that checks "pending"
693 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
695 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
697 2007-12-03 Hans Breuer <hans@breuer.org>
699 [start of port to win32/msvc]
700 * gcancellable.c : HAVE_UNIST_H and _pipe()
701 * gcontenttype.c : only include <dirent.h> in the UNIX branch
702 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
703 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
705 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
706 * glocalvfs.c : use HAVE_PWD_H
707 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
708 * makefile.msc : new file (maybe later converted to makefile.msc.in)
709 * Makefile.am : added to EXTRA_DIST
711 2007-12-03 Matthias Clasen <mclasen@redhat.com>
713 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
716 2007-12-03 Alexander Larsson <alexl@redhat.com>
719 Handle OSX style xattrs API (#500506)
721 2007-12-03 Alexander Larsson <alexl@redhat.com>
725 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
727 2007-12-02 A. Walton <awalton@svn.gnome.org>
731 Documentation accuracy fixes.
733 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
735 * gioenumtypes.c.template: Fix typo.
737 2007-12-01 Matthias Clasen <mclasen@redhat.com>
739 * gioenumtypes.c.template: Make threadsafe get_type() functions.
741 2007-12-01 Matthias Clasen <mclasen@redhat.com>
743 * gdirectorymonitor.c:
744 * gfilemonitor.c: Add properties
746 * gbufferedoutputstream.c: Don't mark buffer-size property
749 2007-12-01 Matthias Clasen <mclasen@redhat.com>
751 * gbufferedoutputstream.c: Add auto-grow property.
753 2007-11-30 Matthias Clasen <mclasen@redhat.com>
755 * *.c: Unify the capitalization of section headings.
757 2007-11-30 Matthias Clasen <mclasen@redhat.com>
759 * gmountoperation.c: Add properties
761 * gdatainputstream.c: Turn byte-order and newline-type into
764 2007-11-30 Matthias Clasen <mclasen@redhat.com>
766 * gioenumtypes.[hc].template: Templates for enum registration
768 * Makefile.am: Generate gioenumtypes.[hc]
770 * gio.h: Include gioenumtypes.h
772 * gfile.h: Add some explicit nicks.
774 * gio.symbols: Add new symbols
776 * pltcheck.sh: Adjust
778 2007-11-30 Matthias Clasen <mclasen@redhat.com>
780 * *.c: Explain etags and link to the explanation
782 2007-11-29 Matthias Clasen <mclasen@redhat.com>
784 * *.c: Explain I/O priority.
786 * *.c: More coding style fixes.
788 2007-11-29 Matthias Clasen <mclasen@redhat.com>
790 * gasyncresult.c: Add another paragraph to the intro,
791 adjust coding style of example.
793 2007-11-29 A. Walton <awalton@svn.gnome.org>
796 Fixes unknown meaning in GAppLaunchContext docs.
798 Clarify asynchronous ops.
803 Provides missing gtk-doc section, fixes API docs slighly.
804 * gsimpleasyncresult.c:
805 Fill in missing info in docs.
806 * gunixinputstream.c:
807 * gunixoutputstream.c:
808 Be more expressive in short description.
810 Remove gtk-doc stubs for non-public API.
812 2007-11-28 Matthias Clasen <mclasen@redhat.com>
814 * *.c: Coding style fixups
816 2007-11-28 Matthias Clasen <mclasen@redhat.com>
818 * inotify/inotify-helper.c: Don't export the lock from libgio.
820 2007-11-28 Matthias Clasen <mclasen@redhat.com>
823 * abicheck.sh: Fix copy-and-paste leftovers
825 2007-11-28 Matthias Clasen <mclasen@redhat.com>
827 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
829 2007-11-28 Alexander Larsson <alexl@redhat.com>
833 Removed unnecessary file
835 * gdesktopappinfo.[ch]:
838 * glocaldirectorymonitor.[ch]:
840 * glocalfileenumerator.[ch]:
841 * glocalfileinputstream.[ch]:
842 * glocalfilemonitor.[ch]:
843 * glocalfileoutputstream.[ch]:
845 * gnativevolumemonitor.c:
846 * gpollfilemonitor.[ch]:
847 * gunionvolumemonitor.[ch]:
850 * gunixvolumemonitor.[ch]:
853 * inotify/ginotifydirectorymonitor.[ch]:
854 * inotify/ginotifyfilemonitor.[ch]:
855 * inotify/inotify-helper.c:
856 Append _ to all internal functions
860 Export symbols needed for modules
862 2007-11-28 Alexander Larsson <alexl@redhat.com>
865 * abicheck.sh: Added.
866 * makegioalias.pl: Added.
867 * pltcheck.sh: Added.
868 * gio.symbols: Added.
871 Initial work on adding symbol handling.
874 Correct ifdef guard name
877 * inotify/Makefile.am:
878 * xdgmime/Makefile.am:
879 Include toplevel Makefile.decl
881 2007-11-27 Matthias Clasen <mclasen@redhat.com>
883 * gcontenttype.c: Move doc comments to the unix section.
885 * *.[hc]: More trivial doc corrections.
887 2007-11-27 Matthias Clasen <mclasen@redhat.com>
889 * gpollfilemonitor.c:
898 * gdatainputstream.c:
899 * gdatainputstream.h:
900 * gdataoutputstream.c:
901 * gdataoutputstream.h:
902 * gfileinfo.h: Doc cleanups
904 2007-11-28 Andre Klapper <a9016009@gmx.de>
906 * gdesktopappinfo.c: Fix a typo.
908 2007-11-27 Andre Klapper <a9016009@gmx.de>
910 * glocalfileoutputstream.c: Fix a typo.
912 2007-11-27 Alexander Larsson <alexl@redhat.com>
915 Don't include removed headers
917 2007-11-27 Alexander Larsson <alexl@redhat.com>
920 * gsocketinputstream.[ch]: Removed.
921 * gsocketoutputstream.[ch]: Removed.
922 * gunixinputstream.[ch]: Added.
923 * gunixoutputstream.[ch]: Added.
924 Renamed GSocket*Stream to GUnix*Stream and made
925 it unix-only, since its not really only for sockets
926 and it only works on unix (but is highly useful there).
928 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
934 * gbufferedinputstream.c:
935 * gbufferedinputstream.h:
936 * gbufferedoutputstream.c:
937 * gbufferedoutputstream.h:
941 * gdatainputstream.c:
942 * gdatainputstream.h:
943 * gdataoutputstream.c:
944 * gdataoutputstream.h:
945 * gdirectorymonitor.c:
946 * gdirectorymonitor.h:
959 * gfileinputstream.c:
960 * gfileinputstream.h:
963 * gfilenamecompleter.c:
964 * gfilenamecompleter.h:
965 * gfileoutputstream.c:
966 * gfileoutputstream.h:
967 * gfilterinputstream.c:
968 * gfilterinputstream.h:
969 * gfilteroutputstream.c:
970 * gfilteroutputstream.h:
983 * glocalfileoutputstream.c:
984 * gmemoryinputstream.c:
985 * gmemoryinputstream.h:
986 * gmemoryoutputstream.c:
987 * gmemoryoutputstream.h:
992 * gpollfilemonitor.c:
995 * gsimpleasyncresult.c:
996 * gsimpleasyncresult.h:
997 * gsocketinputstream.c:
998 * gsocketinputstream.h:
999 * gsocketoutputstream.c:
1000 * gsocketoutputstream.h:
1007 * gunixvolumemonitor.c:
1016 Bumps documentation to 93% symbol coverage, touching most
1017 of the public files. Fixes broken function documentation prototypes.
1018 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1019 gtk-doc headers in private files.
1021 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1023 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1024 (g_buffered_input_stream_read_byte):
1025 * gbufferedinputstream.h:
1026 New functions for efficient access to buffer and simple single byte
1029 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1030 (g_data_input_stream_read_until):
1031 * gdatainputstream.h:
1032 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1033 read_until with multiple stop chars.
1035 2007-11-27 Alexander Larsson <alexl@redhat.com>
1039 * inotify/Makefile.am:
1040 Use the user-specified giomoduledir
1042 2007-11-27 Alexander Larsson <alexl@redhat.com>
1046 Add catch-all gio.h header
1047 Don't install gdummyfile.h
1049 2007-11-26 Alexander Larsson <alexl@redhat.com>
1051 * Makefile.am (gioinclude_HEADERS):
1052 Remove trailing whitespace
1054 2007-11-26 Alexander Larsson <alexl@redhat.com>
1056 Merge gio-standalone into glib
1058 2007-11-25 Christian Kellner <gicmo@gnome.org>
1060 * gio/goutputstream.c:
1061 Fix small mistake in the docs.
1063 2007-11-21 Christian Persch <chpe@gnome.org>
1065 * gio/glocalfile.c: (g_local_file_trash):
1066 Convert filenames to UTF-8 for GError.
1067 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1068 as per xdg base dir spec.
1070 2007-11-21 Christian Persch <chpe@gnome.org>
1072 * gio/gdesktopappinfo.c:
1073 Use that g_key_file_to_data cannot fail.
1075 Use stock defines for the key file group and key names.
1078 2007-11-21 Alexander Larsson <alexl@redhat.com>
1081 (copy_stream_with_progress):
1082 Make sure we do a final progress callback with
1083 the full total size.
1085 2007-11-21 Alexander Larsson <alexl@redhat.com>
1088 Export g_file_copy_attributes
1089 Remove padding as its not needed for interfaces
1091 2007-11-20 Alexander Larsson <alexl@redhat.com>
1096 Add G_IO_ERROR_WOULD_MERGE for
1097 copy/move dir on dir with overwrite.
1099 2007-11-20 Alexander Larsson <alexl@redhat.com>
1102 * gio/glocalfileinfo.c:
1103 Add COPY_NAME (this is an optional
1104 non-modified utf8 version of the name) that
1107 2007-11-20 Alexander Larsson <alexl@redhat.com>
1109 * gio/glocalfileenumerator.c:
1110 Report errors as GIOError, not GFileError
1112 2007-11-16 Alexander Larsson <alexl@redhat.com>
1114 * gio/glocalfileoutputstream.c:
1115 * gio/gwin32appinfo.c:
1116 Fix typos in strings.
1117 Patch from Luca Ferretti <elle.uca@libero.it>
1119 2007-11-15 Alexander Larsson <alexl@redhat.com>
1122 Post release version bump
1124 === gio-standalone 0.1.2 ===
1126 2007-11-15 Alexander Larsson <alexl@redhat.com>
1128 * docs/reference/gio/Makefile.am:
1129 Fix up distcheck by removing weird
1135 2007-11-14 Alexander Larsson <alexl@redhat.com>
1137 * gio/gdesktopappinfo.c:
1138 * gio/glocaldirectorymonitor.c:
1140 * gio/glocalfileinfo.c:
1141 * gio/inotify/inotify-sub.c:
1142 * programs/gio-cat.c:
1143 * programs/gio-copy.c:
1144 * programs/gio-info.c:
1145 * programs/gio-ls.c:
1146 * programs/gio-monitor-dir.c:
1147 * programs/gio-monitor-file.c:
1148 * programs/gio-mount.c:
1149 * programs/gio-move.c:
1150 * programs/gio-rm.c:
1151 * programs/gio-save.c:
1152 * programs/gio-trash.c:
1153 Leak fixes from Kjartan Maraas
1155 2007-11-14 Alexander Larsson <alexl@redhat.com>
1157 * gio/fam/fam-helper.c:
1159 * gio/glocalfileinfo.c:
1163 * gio/inotify/inotify-diag.c:
1164 * gio/inotify/inotify-kernel.c:
1165 Various code cleanups from Kjartan Maraas
1167 2007-11-14 Alexander Larsson <alexl@redhat.com>
1169 * gio/gioscheduler.c:
1171 Set up threadpool so that we cache 2 unused
1172 idle threads for at 15 secs. This means we
1173 will reuse thread-local data (like dbus connections)
1176 2007-11-14 Alexander Larsson <alexl@redhat.com>
1178 * gio/fam/fam-helper.c:
1179 * gio/fam/gfamdirectorymonitor.c:
1180 * gio/fam/gfamfilemonitor.c:
1182 * gio/gcontenttype.c:
1183 * gio/gdatainputstream.c:
1184 * gio/gdataoutputstream.c:
1188 * gio/gfileattribute.h:
1189 * gio/gfileenumerator.c:
1191 * gio/ginputstream.c:
1194 * gio/glocalfileinfo.c:
1195 * gio/goutputstream.c:
1196 * gio/gpollfilemonitor.c:
1197 * gio/gsimpleasyncresult.c:
1198 * gio/gunixmounts.c:
1199 * gio/gunixmounts.h:
1200 * gio/inotify/ginotifydirectorymonitor.c:
1201 * gio/inotify/ginotifyfilemonitor.c:
1202 * gio/inotify/inotify-diag.c:
1203 * gio/inotify/inotify-kernel.c:
1204 * gio/inotify/inotify-path.c:
1206 * gio/test-streams.c:
1207 * programs/gio-info.c:
1208 * programs/gio-monitor-dir.c:
1209 * programs/gio-monitor-file.c:
1210 Various code cleanups from Kjartan Maraas
1212 2007-11-13 Alexander Larsson <alexl@redhat.com>
1215 Handle the uri-scheme calls for dummy files
1217 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1219 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1220 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1221 to avoid clash with the C++ keyword.
1223 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1225 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1226 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1228 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1230 * gio/glocaldirectorymonitor.c:
1231 * gio/glocalfilemonitor.c:
1232 * gio/gunionvolumemonitor.c:
1233 Don't use g_once_init_*() for initializations that could fail and
1234 could leave the initialization variable set to 0 but use GOnce.
1235 This prevents a deadlock on the second call when trying to create
1236 a monitor and no monitor type is available. Thanks to Sven Herzberg
1239 2007-11-11 Sven Herzberg <sven@imendio.com>
1241 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1242 #ifdef (make it work on MacOS X again)
1244 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1246 Fixes Changelog for last two commits (sorry guys).
1248 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1250 * gio/gbufferedinputstream.c:
1251 * gio/gdatainputstream.c:
1253 * gio/gfileoutputstream.c:
1254 * gio/gfilterinputstream.c:
1255 * gio/glocalfileinputstream.c:
1258 More consistency fixes in g*stream.c files.
1259 Significant clean of gfile's documentation, filling in of
1260 asynchronous operations documentation.
1262 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1264 * gio/gasyncresult.c:
1265 * gio/gbufferedinputstream.c:
1266 * gio/gbufferedoutputstream.c:
1267 * gio/gcancellable.c:
1268 * gio/gcontenttype.c:
1269 * gio/gdatainputstream.c:
1270 * gio/gdataoutputstream.c:
1271 * gio/gdesktopappinfo.c:
1274 * gio/gfileattribute.c:
1275 * gio/gio/gfileenumerator.c:
1277 * gio/gfileinputstream.c:
1278 * gio/gfilemonitor.c:
1279 * gio/gfileoutputstream.c:
1280 * gio/ginputstream.c:
1282 * gio/gioscheduler.c:
1283 * gio/gloadableicon.c:
1284 * gio/glocalfileoutputstream.c:
1285 * gio/gmemoryoutputstream.c:
1286 * gio/gmountoperation.c:
1287 * gio/goutputstream.c:
1289 * gio/gsimpleasyncresult.c:
1290 * gio/gunionvolumemonitor.c:
1291 * gio/gunixmounts.c:
1292 * gio/gunixvolume.c:
1296 * gio/gvolumemonitor.c:
1297 Updated documentation stubs, working towards consistency and
1300 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1302 * gio/gmemoryoutputstream.c:
1303 * gio/gmemoryoutputstream.h:
1304 Change g_memory_output_stream_set_free_on_close() to
1305 g_memory_output_stream_set_free_data() as this makes more sense and
1306 is more consistent with GMemoryInputStream.
1308 2007-11-07 Alexander Larsson <alexl@redhat.com>
1315 Change how we find the default vfs so that
1316 we can handle a gvfs failing to init
1318 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1320 * gio/gbufferedoutputstream.c:
1321 * gio/gdatainputstream.c:
1322 * gio/gdataoutputstream.c:
1323 * gio/gfileinputstream.c:
1324 * gio/gfileoutputstream.c:
1325 * gio/gfilterinputstream.c:
1326 * gio/gfilteroutputstream.c:
1327 * gio/ginputstream.c:
1328 * gio/gmemoryinputstream.c:
1329 * gio/gmemoryoutputstream.c:
1330 * gio/goutputstream.c:
1331 * gio/gsimpleasyncresult.c:
1332 * gio/gsocketinputstream.c:
1333 * gio/gsocketoutputstream.c:
1334 Add guards to the remaining public functions, add a TODO for
1335 an unimplemented function and remove some useless guards.
1337 2007-11-07 Alexander Larsson <alexl@redhat.com>
1340 Autoconf checks for the various types of
1341 getpwuid_r and getgrgid_r
1343 * gio/glocalfileinfo.c:
1344 Use the autoconf checks from above
1346 2007-11-07 Alexander Larsson <alexl@redhat.com>
1349 (g_local_file_query_filesystem_info):
1350 Some fixes for the statvfs case
1352 2007-11-07 Alexander Larsson <alexl@redhat.com>
1355 (g_local_file_query_filesystem_info):
1356 Pick the "best" of statfs / statvfs for the system
1357 if both are availible.
1359 2007-11-07 Alexander Larsson <alexl@redhat.com>
1361 Solaris fixes from Halton.Huo@Sun.COM:
1368 * gio/glocalfileinfo.c:
1369 Fix for solaris definition of getpwuid_r
1371 * gio/test-streams.c:
1372 Use G_GNUC_PRETTY_FUNCTION
1374 2007-11-07 Alexander Larsson <alexl@redhat.com>
1376 * gio/gdesktopappinfo.c:
1377 (update_default_list):
1378 Remove double semicolon.
1379 Patch from Jens Granseuer
1381 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1383 * docs/reference/gio/gio-sections.txt:
1384 * gio/gbufferedinputstream.c:
1385 * gio/gbufferedinputstream.h:
1386 * gio/gdatainputstream.c:
1387 * gio/gfileenumerator.c:
1388 * gio/gioscheduler.c:
1389 * gio/gunionvolumemonitor.c:
1391 * programs/gio-save.c:
1392 Fix typo: availible -> available. Unfortuntely this breaks API
1393 and ABI as g_buffered_input_stream_get_available() was renamed.
1395 * gio/gunixmounts.c:
1396 * gio/gbufferedinputstream.c:
1397 Add guards for public functions.
1399 2007-11-06 Ross Burton <ross@openedhand.com>
1401 * docs/reference/gio/Makefile.am:
1402 Fix invalid += usage which automake 1.10 doesn't like.
1404 2007-11-06 Alexander Larsson <alexl@redhat.com>
1407 (g_app_launch_context_class_init):
1410 Patch from Ross Burton
1412 2007-11-06 Alexander Larsson <alexl@redhat.com>
1415 Post release version bump
1417 === gio-standalone 0.1.1 ===
1419 2007-11-06 Alexander Larsson <alexl@redhat.com>
1422 Bump version to 0.1.1
1424 * gio/gsimpleasyncresult.c:
1425 (g_simple_async_result_set_from_error):
1426 Remove bogus g_return_if_fail
1428 2007-11-06 Alexander Larsson <alexl@redhat.com>
1431 The name is gio-standalone
1434 Add top src/builddir to includedir
1436 2007-11-06 Alexander Larsson <alexl@redhat.com>
1438 * docs/reference/gio/gio-sections.txt:
1440 * gio/gbufferedinputstream.c:
1441 * gio/gbufferedoutputstream.c:
1442 * gio/gcancellable.c:
1443 * gio/gdatainputstream.h:
1444 * gio/gdataoutputstream.c:
1445 * gio/gdataoutputstream.h:
1446 * gio/gdirectorymonitor.c:
1448 * gio/gfileattribute.c:
1449 * gio/gfileattribute.h:
1450 * gio/gfileenumerator.c:
1451 * gio/gfileenumerator.h:
1454 * gio/gfileinputstream.h:
1455 * gio/gfilemonitor.c:
1456 * gio/gfileoutputstream.h:
1457 * gio/glocalfilemonitor.h:
1458 * gio/glocalfileoutputstream.h:
1459 * gio/gmemoryinputstream.c:
1460 * gio/gmemoryoutputstream.c:
1461 * gio/gmountoperation.c:
1462 * gio/goutputstream.c:
1463 * gio/goutputstream.h:
1465 * gio/gsimpleasyncresult.c:
1466 * gio/gunixmounts.c:
1467 * gio/gunixmounts.h:
1469 * gio/inotify/inotify-helper.c:
1470 Fix gtk-doc warnings
1472 Patch from Ross Burton
1474 2007-11-06 Alexander Larsson <alexl@redhat.com>
1476 * gio/gfilenamecompleter.c:
1477 (g_filename_completer_get_completions):
1480 * gio/gunixvolume.c:
1481 Remove unused function
1483 Patches from Ross Burton
1485 2007-11-06 Alexander Larsson <alexl@redhat.com>
1490 Padding not needed for interfaces
1492 2007-11-06 Alexander Larsson <alexl@redhat.com>
1494 * gio/gfilemonitor.c:
1498 Make giotypes.h an internal file
1501 * gio/gbufferedinputstream.h:
1502 * gio/gbufferedoutputstream.h:
1503 * gio/gcancellable.h:
1504 * gio/gdatainputstream.h:
1505 * gio/gdataoutputstream.h:
1506 * gio/gdirectorymonitor.c:
1507 * gio/gdirectorymonitor.h:
1512 * gio/gfileattribute.h:
1513 * gio/gfileenumerator.h:
1518 * gio/gfilemonitor.c:
1519 * gio/gfilemonitor.h:
1520 * gio/gfilenamecompleter.c:
1521 * gio/gfilenamecompleter.h:
1522 * gio/gfilterinputstream.h:
1523 * gio/gfilteroutputstream.h:
1524 * gio/ginputstream.h:
1525 * gio/gmemoryinputstream.h:
1526 * gio/gmemoryoutputstream.h:
1527 * gio/gmountoperation.c:
1528 * gio/gmountoperation.h:
1529 * gio/gnativevolumemonitor.c:
1530 * gio/goutputstream.h:
1533 * gio/gsimpleasyncresult.c:
1534 * gio/gsimpleasyncresult.h:
1535 * gio/gsocketinputstream.h:
1536 * gio/gsocketoutputstream.h:
1537 * gio/gthemedicon.c:
1538 * gio/gthemedicon.h:
1542 * gio/gvolumemonitor.c:
1543 * gio/gvolumemonitor.h:
1544 Add padding in classes where it seems useful
1545 Don't include giotypes.h from public headers
1546 Move in Class definitions into c file where possible
1551 2007-11-06 Alexander Larsson <alexl@redhat.com>
1553 * docs/reference/gio/gio-docs.xml:
1554 Better structure for API docs
1556 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1559 * gio/gloadableicon.c:
1560 * gio/gsimpleasyncresult.c:
1561 * gio/gthemedicon.c:
1562 Add some more guards to public functions. Only files missing are now
1565 2007-11-06 Alexander Larsson <alexl@redhat.com>
1567 * docs/reference/gio/gio-docs.xml:
1568 Remove old files, add missing ones
1570 2007-11-06 Alexander Larsson <alexl@redhat.com>
1572 * docs/reference/gio/gio-sections.txt:
1575 Hide implementation classes
1577 * gio/gdriveprivate.h:
1578 * gio/gvolumeprivate.h:
1579 Remove non-existing function declarations
1581 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1584 Fix compilation warnings and add guards to the new functions.
1586 * gio/gasyncresult.c:
1588 Add guards to the public functions.
1591 Implement get_path().
1593 2007-11-06 Alexander Larsson <alexl@redhat.com>
1595 * gio/gfilenamecompleter.c:
1596 Make g_filename_completer_get_completions
1597 return char ** instead of GList for
1600 * docs/reference/gio/gio-docs.xml:
1601 * docs/reference/gio/gio-sections.txt:
1603 * gio/gasyncresult.c:
1604 * gio/gbufferedinputstream.c:
1605 * gio/gbufferedoutputstream.c:
1606 * gio/gcancellable.c:
1607 * gio/gcontenttype.c:
1608 * gio/gdatainputstream.c:
1609 * gio/gdataoutputstream.c:
1610 * gio/gdesktopappinfo.c:
1611 * gio/gdirectorymonitor.c:
1615 * gio/gfileattribute.c:
1616 * gio/gfileenumerator.c:
1619 * gio/gfileinputstream.c:
1620 * gio/gfilemonitor.c:
1621 * gio/gfilenamecompleter.c:
1622 * gio/gfilenamecompleter.h:
1623 * gio/gfileoutputstream.c:
1624 * gio/gfilterinputstream.c:
1626 * gio/ginputstream.c:
1628 * gio/gioscheduler.c:
1629 * gio/gloadableicon.c:
1630 * gio/glocaldirectorymonitor.c:
1632 * gio/glocalfileinputstream.c:
1633 * gio/glocalfilemonitor.c:
1634 * gio/glocalfileoutputstream.c:
1636 * gio/gmemoryinputstream.c:
1637 * gio/gmemoryoutputstream.c:
1638 * gio/gmountoperation.c:
1639 * gio/goutputstream.c:
1640 * gio/gpollfilemonitor.c:
1642 * gio/gsimpleasyncresult.c:
1643 * gio/gsocketinputstream.c:
1644 * gio/gsocketoutputstream.c:
1645 * gio/gthemedicon.c:
1646 * gio/gunionvolumemonitor.c:
1648 * gio/gunixmounts.c:
1649 * gio/gunixvolume.c:
1650 * gio/gunixvolumemonitor.c:
1654 * gio/gvolumemonitor.c:
1655 * gio/gwin32appinfo.c:
1656 Add (mostly stub) doc strings to public functions.
1657 Patch from Andrew Walton (awalton@gmail.com)
1659 2007-11-06 Alexander Larsson <alexl@redhat.com>
1661 * gio/gappinfo.[ch]:
1662 Added GAppLaunchContext object and pass that to launch.
1663 This allows simple implementation of both
1664 launch-on-screen and startup notification via a gtk+
1665 subclass of GAppLaunchContext
1667 * gio/gdesktopappinfo.c:
1668 Implement GAppLaunchContext API
1670 * gio/gwin32appinfo.c:
1673 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1675 * gio/gmountoperation.c:
1676 Add some guards to GMountOperation's public functions.
1678 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1682 * gio/gcancellable.c:
1683 * gio/gdirectorymonitor.c:
1685 * gio/gfileenumerator.c:
1686 * gio/gfilemonitor.c:,
1687 * gio/gfilenamecompleter.c:
1690 * gio/gioscheduler.c:
1694 * gio/gvolumemonitor.c:
1695 Add even more guards to various public functions.
1697 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1700 Add guards to the public functions of GAppInfo.
1702 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1704 * gio/gcontenttype.c:
1705 Add some more guards for public functions.
1707 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1709 * gio/fam/fam-module.c:
1710 * gio/fam/gfamdirectorymonitor.c:
1711 * gio/fam/gfamdirectorymonitor.h:
1712 * gio/fam/gfamfilemonitor.c:
1713 * gio/fam/gfamfilemonitor.h:
1714 * gio/inotify/ginotifydirectorymonitor.c:
1715 * gio/inotify/ginotifydirectorymonitor.h:
1716 * gio/inotify/ginotifyfilemonitor.c:
1717 * gio/inotify/ginotifyfilemonitor.h:
1718 Add proper copyright information and remove an unused variable
1719 in the GInotifyFileMonitor constructor.
1721 * gio/gcancellable.c:
1722 Add a guard for a public function and an assertion to prevent
1723 an undefined program state.
1725 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1727 * gio/gfileattribute.c:
1728 Don't run into an assertion if the given attribute value is NULL
1729 in g_file_attribute_value_get_*() but instead return a fallback
1730 value that makes sense in most situations. Passing them a attribute
1731 value with the wrong type will still run into an assertion.
1733 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1735 * gio/gfileattribute.c:
1737 Add even more guards to the public functions. Also fix the refcounting
1738 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1739 let g_file_info_list_attributes() filter the attributes by namespace
1740 instead of simply ignoring the namespace parameter.
1742 2007-11-03 Sven Herzberg <sven@imendio.com>
1744 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1745 (This makes gio work on MacOS X again)
1747 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1750 Build the gio subdirectory before the docs. Otherwise the build will
1753 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1754 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1755 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1756 Add guards to the public functions.
1758 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1760 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1761 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1762 to prevent a compiler warning.
1764 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1765 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1766 return something in the non-void function find_topdir_for().
1768 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1775 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1777 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1778 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1779 * gwin32appinfo.c (g_win32_app_info_launch):
1780 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1781 envp_for_startup_id, g_desktop_app_info_launch,
1782 g_desktop_app_info_launch_uris):
1784 Give an opaque 'startup_id' string instead of 'envp'.
1785 Support empty file lists for launching new windows.
1786 Fix infinite recursion bug when launching URIs.
1788 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1791 Add guard to the new g_file_get_uri_scheme() function.
1793 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1796 Convert a g_return_val_if_fail() to setting the GError instead as
1797 otherwise applications have to verify the parameter before otherwise
1798 and the parameter might come directly from the user.
1800 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1802 * gio/inotify/ginotify*.[ch]:
1803 Add missing copyright information.
1805 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1808 Add guards in the beginning of public functions to check for valid
1809 parameters and fix a bug in copy_stream_with_progress() that could've
1810 caused writing less bytes than reading.
1811 * gio/glocalfileinfo.c:
1812 Check for a NULL parameter and set the GError accordingly then.
1813 * gio/goutputstream.c:
1814 Fix the same bug as in gfile.c that could've caused writing less bytes
1815 than reading in g_output_stream_real_splice().
1817 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1820 Use the correct gvolumeprivate.h naming
1822 2007-11-01 Christian Kellner <gicmo@gnome.org>
1825 Remove leftover "$(daemon_sources)" entry.
1827 2007-11-01 Christian Kellner <gicmo@gnome.org>
1832 Add copyright information to source files.
1834 2007-11-01 Alexander Larsson <alexl@redhat.com>
1838 Add g_file_get_uri_scheme
1840 2007-11-01 Alexander Larsson <alexl@redhat.com>
1843 * gio/gdesktopappinfo.c:
1844 * gio/gwin32appinfo.c:
1845 Add g_app_info_get_default_for_uri_scheme.
1847 2007-11-01 Alexander Larsson <alexl@redhat.com>
1850 Correct filename for gdriveprivate.h
1852 2007-10-31 Alexander Larsson <alexl@redhat.com>
1855 Rename id:value to id:file
1858 * gio/glocalfileinfo.c:
1861 2007-10-31 Alexander Larsson <alexl@redhat.com>
1863 * gio/gunixvolume.c:
1865 Remove g_volume_get_platform_id, as thats not
1866 needed with the simpler union volume monitor
1868 2007-10-31 Alexander Larsson <alexl@redhat.com>
1871 * gio/guniondrive.[ch]: Removed.
1872 * gio/gunionvolume.[ch]: Removed.
1873 Remove GUnionDrive/Volume
1875 * gio/gunionvolumemonitor.c:
1876 Simplify union volume monitor, now we
1877 only have one native volume monitor and
1878 we use the actual volumes/drives from the
1879 child monitors instead of wrapping them
1881 * gio/gnativevolumemonitor.[ch]:
1882 Base class for native volume monitors.
1883 Includes priority and get_volume_for_mountpoint
1886 Add g_file_find_enclosing_volume
1889 Remove volume name fs attribute
1890 Add readonly fs attribute
1893 Implement readonly attribute
1894 remove volume name attribute
1895 Implement find_enclosing volume
1897 * gio/gunixmounts.c:
1898 Add a volume for "/".
1900 * gio/gunixvolume.[ch]:
1901 Set better name for /
1903 * gio/gunixvolumemonitor.[ch]:
1904 Derive from GNativeVolumeMonitor
1905 Implement get_volume_for_mountpoint
1908 GVolume typedef moved to gfile.h
1910 * gio/gvolumeprivate.h:
1911 Add g_volume_get_for_mount_path
1913 2007-10-31 Alexander Larsson <alexl@redhat.com>
1915 * gio/gunixmounts.[ch]:
1916 Add cache info to unix mount listers
1917 Make getmntent use threadsafe
1918 Add is_system_internal attribute for GUnixMount
1920 * gio/gunixvolume.c:
1921 (g_unix_volume_new):
1922 Use is_system_internal instead of own code
1924 * gio/glocaldirectorymonitor.c:
1925 * gio/gunixvolumemonitor.c:
1926 Update to new gunixmounts API
1931 2007-10-30 Alexander Larsson <alexl@redhat.com>
1934 Add volume name fsinfo attribute
1937 Read volume name info
1939 * gio/gunionvolumemonitor.c:
1940 Fix infinite loops when finalizing a union volume monitor
1942 2007-10-30 Alexander Larsson <alexl@redhat.com>
1944 * gio/goutputstream.[ch]:
1945 Add splice() with default implementation
1947 * gio/gsocketoutputstream.c:
1948 (g_socket_output_stream_write):
1949 Return error on cancellation correctly.
1951 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1953 * gio/glocalfile.c (g_local_file_trash):
1954 Do not leak a string.
1956 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1958 * gio/gfile.c (g_file_load_contents):
1959 Unref the stream after closing it.
1961 2007-10-25 Alexander Larsson <alexl@redhat.com>
1963 * gio/gioscheduler.h:
1966 2007-10-25 Alexander Larsson <alexl@redhat.com>
1970 Add g_file_has_uri_scheme and implement for local files
1972 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1974 * gio/gdesktopappinfo.c: do not leak a string.
1976 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1978 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1979 (g_local_directory_monitor_new):
1980 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1981 (g_local_file_monitor_new):
1982 Only look for the monitor type that should be used the first time
1983 and use g_qsort_with_data() instead of our own bubble sort
1986 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1989 * gio/fam/Makefile.am:
1990 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1991 * gio/fam/fam-helper.h:
1992 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1993 * gio/fam/gfamdirectorymonitor.c:
1994 * gio/fam/gfamdirectorymonitor.h:
1995 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1996 * gio/fam/gfamfilemonitor.h:
1997 * gio/glocaldirectorymonitor.c:
1998 * gio/glocaldirectorymonitor.h:
1999 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2000 * gio/glocalfilemonitor.h:
2001 * gio/inotify/Makefile.am:
2002 * gio/inotify/ginotifydirectorymonitor.c:
2003 * gio/inotify/ginotifydirectorymonitor.h:
2004 * gio/inotify/ginotifyfilemonitor.c:
2005 * gio/inotify/ginotifyfilemonitor.h:
2006 Implement the FAM and Inotify monitors as
2007 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2008 their own GIO module. GLocal(Directory|File)Monitor will use the
2009 monitor with the highest rank that is supported on that machine.
2011 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2014 Change GIO module dir to $(libdir)/gio/modules and change
2015 the log domain from GVFS to GIO. Also only export symbols starting
2016 with g_ in the resulting library.
2017 * gio/test-streams.c: (main):
2018 Set log handler for the GIO log domain.
2020 2007-10-22 Alexander Larsson <alexl@redhat.com>
2022 * gio/gfilenamecompleter.[ch]:
2023 Add g_filename_completer_set_dirs_only
2025 2007-10-22 Alexander Larsson <alexl@redhat.com>
2028 * gio/gurifuncs.[ch]:
2029 Add some simple URI helpers
2031 * gio/gfilenamecompleter.[ch]:
2032 Added object for filename (parse name actually) completion
2035 Handle ~ in parse names
2037 2007-10-17 Alexander Larsson <alexl@redhat.com>
2040 * gio/glocalfileinfo.c:
2041 Add and implement id:value attribute
2043 2007-10-17 Alexander Larsson <alexl@redhat.com>
2046 * gio/guniondrive.c:
2048 Add and implement g_drive_has_volumes
2050 2007-10-17 Alexander Larsson <alexl@redhat.com>
2053 * gio/glocalfileinfo.[ch]:
2054 Add unix:is_mountpoint and implement for local files
2056 2007-10-16 Alexander Larsson <alexl@redhat.com>
2058 * gio/gunionvolumemonitor.c:
2059 (g_union_volume_monitor_init):
2060 Fix up the unix type getting so that it works with gcc
2062 2007-10-12 Alexander Larsson <alexl@redhat.com>
2065 * gio/glocalfileinfo.c:
2066 Add thumbnail:failed to file info
2068 2007-10-12 Richard Hult <richard@imendio.com>
2070 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2071 optimizing away the get_type call (happens with some gcc versions,
2072 like the one shipped with OS X 10.4).
2074 2007-10-12 Alexander Larsson <alexl@redhat.com>
2076 * gio/glocalfileinfo.c:
2077 (_g_local_file_info_set_attribute):
2078 Fix build if not HAVE_XATTR
2079 Patch from Milosz Derezynski <internalerror@gmail.com>
2081 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2083 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2084 around for review, otherwise I would have asked you before
2087 2007-10-11 Alexander Larsson <alexl@redhat.com>
2090 Add thumbnail:path attribute
2092 * gio/glocalfileinfo.c:
2093 Implement thumbnail:path for local files
2095 2007-10-11 Alexander Larsson <alexl@redhat.com>
2097 * gio/glocalfileinfo.c:
2098 (_g_local_file_info_get):
2099 Avoid duplicate icon names
2101 2007-10-11 Alexander Larsson <alexl@redhat.com>
2103 * gio/gthemedicon.[ch]:
2104 Change g_themed_icon_get_names return type to const
2106 2007-10-10 Alexander Larsson <alexl@redhat.com>
2108 * gio/glocalfileinfo.c:
2109 Don't reference freed memory
2111 2007-10-10 Alexander Larsson <alexl@redhat.com>
2113 * gio/gfileattribute.c:
2116 * gio/glocalfileinfo.c:
2119 2007-10-10 Alexander Larsson <alexl@redhat.com>
2122 Check for NULL icons
2124 * gio/gfileattribute.c:
2125 Don't dup when getting objects (same as for string attributes)
2127 * gio/gicon.c (g_icon_equal):
2128 Safely handle NULLs in equal
2130 2007-10-10 Alexander Larsson <alexl@redhat.com>
2133 Fix c++ compilation issues
2134 Patch from Milosz Derezynski <internalerror@gmail.com>
2136 2007-10-10 Alexander Larsson <alexl@redhat.com>
2138 * programs/gio-monitor-dir.c:
2139 Don't crash if dir monitor not supported.
2141 2007-10-09 Alexander Larsson <alexl@redhat.com>
2144 Add missing G_END_DECLS
2146 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2148 * gio/gfile.c: (g_file_set_display_name),
2149 (g_file_query_settable_attributes),
2150 (g_file_query_writable_namespaces):
2151 Return NULL not FALSE on errors as the return type is a pointer.
2153 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2155 * gio/glocalfile.c: (g_local_file_monitor_file):
2156 Don't call monitor_file on the default interface vtable (which
2157 is NULL) but simply return NULL. The caller, GFile, will create a
2158 polling monitor if NULL is returned.
2160 2007-10-09 Alexander Larsson <alexl@redhat.com>
2164 * gio-unix-2.0.pc.in:
2165 Add gio-unix-2.0.pc if OS_UNIX
2168 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2170 2007-10-09 Alexander Larsson <alexl@redhat.com>
2172 * gio/gunixmounts.[ch]:
2173 Make unix mount monitoring API sane.
2174 Now its just a object with mounts_changed
2175 and mountpoints_changed signals.
2177 * gio/glocaldirectorymonitor.c:
2178 * gio/gunixvolumemonitor.c:
2179 Use new mount monitor api
2181 2007-10-09 Alexander Larsson <alexl@redhat.com>
2183 * gio/gunixmounts.[ch]:
2184 Move guess type into one call for mounts and one for mountpoints
2187 * gio/gunixvolume.c:
2190 2007-10-09 Alexander Larsson <alexl@redhat.com>
2192 * gio/gunixmounts.[ch]:
2193 Remove _ prefix in preparation to make this semi-public
2194 Hide implementation of structs
2196 * gio/glocaldirectorymonitor.c:
2198 * gio/gunixvolume.c:
2199 * gio/gunixvolumemonitor.c:
2200 Update for above API changes
2202 2007-10-08 Alexander Larsson <alexl@redhat.com>
2205 Better polling fallback. This also handles the case where we have
2206 a monitor_file implementation, but it fails.
2208 2007-10-08 Alexander Larsson <alexl@redhat.com>
2212 * gio/gunixmounts.c:
2213 * programs/gio-monitor-dir.c:
2214 * programs/gio-monitor-file.c:
2215 Added cancellable to file monitoring calls.
2216 These are really sync calls and need this.
2218 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2220 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2221 (g_local_vfs_class_init):
2222 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2223 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2225 2007-10-05 Alexander Larsson <alexl@redhat.com>
2227 * gio/gdirectorymonitorprivate.h:
2228 * gio/gfilemonitorprivate.h:
2229 * gio/gdirectorymonitor.h:
2230 * gio/gfilemonitor.h:
2231 Remove *private.h and move to the public API, so that
2232 we can do implementations outside gio (such as in gvfs)
2234 * gio/gdirectorymonitor.c:
2235 * gio/gfilemonitor.c:
2236 * gio/glocaldirectorymonitor.c:
2237 * gio/gpollfilemonitor.c:
2238 * gio/inotify/inotify-helper.c:
2239 * gio/fam/fam-helper.c:
2240 Update to the new header names
2242 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2244 * gio/gdirectorymonitor.c:
2245 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2248 2007-10-04 Alexander Larsson <alexl@redhat.com>
2250 * gio/glocalfileinfo.c (get_access_rights):
2251 Set CAN_TRASH when we can move the file.
2252 We should really also check for a parent trash dir.
2254 2007-10-04 Alexander Larsson <alexl@redhat.com>
2256 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2257 Add can_trash access attribute
2259 2007-10-04 Alexander Larsson <alexl@redhat.com>
2262 (g_local_file_trash):
2263 Create info file first. This is per-spec and allows
2264 us to actually trash directories.
2266 2007-10-02 Alexander Larsson <alexl@redhat.com>
2268 * gio/gdesktopappinfo.c:
2269 Implement the new mime support code.
2270 Always set app as handling mimetype when being set as default for it
2272 2007-10-01 Alexander Larsson <alexl@redhat.com>
2274 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2275 Fix up check for xattrs:
2277 2007-10-01 Alexander Larsson <alexl@redhat.com>
2280 (g_app_info_set_as_default_for_extension):
2281 (g_app_info_add_supports_type):
2282 (g_app_info_can_remove_supports_type):
2283 (g_app_info_remove_supports_type):
2284 Make these fail nicely if not implemented
2286 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2288 * gio/glocalfileoutputstream.c:
2289 * gio/glocalfileoutputstream.h:
2294 * programs/gio-save.c:
2295 Add a GFileCreateFlags argument to operations that can create
2298 2007-10-01 Alexander Larsson <alexl@redhat.com>
2300 * gio/gappinfo.[ch]:
2301 * gio/gdesktopappinfo.c:
2302 Add more (stubbed out) mime API needed for nautilus
2304 2007-10-01 Alexander Larsson <alexl@redhat.com>
2307 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2308 Add g_app_info_set_as_default_for_extension.
2310 * gio/gdesktopappinfo.c:
2311 Dummy for g_app_info_set_as_default_for_extension
2312 Support flags in g_app_info_create_from_commandline
2314 * gio/gwin32appinfo.c:
2316 Update for API changes
2318 * gio/gthemedicon.c:
2319 Properly NULL-terminate list of icon names
2321 2007-09-28 Alexander Larsson <alexl@redhat.com>
2323 * gio/gloadableicon.h:
2324 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2326 2007-09-28 Alexander Larsson <alexl@redhat.com>
2329 Install headers in $includedir/gio-standalone/
2331 * gio-2.0.pc.in: Added.
2332 * gio-standalone.pc.in: Removed.
2335 Renamed pkg-config file to match glib (for future move)
2336 Update to the new include dir
2339 Add more TODO comments
2341 2007-09-28 Alexander Larsson <alexl@redhat.com>
2343 * gio/gdesktopappinfo.[ch]:
2344 Expose new_from_filename
2345 Add getter for is_hidden and handle it better
2347 2007-09-28 Alexander Larsson <alexl@redhat.com>
2349 * gio/gfileinfo.[ch]:
2350 Rename g_file_size_format_for_display to
2351 g_format_file_size_for_display.
2352 Now it doesn't have the g_file prefix, so we
2353 can later move it to glib.
2355 2007-09-28 Alexander Larsson <alexl@redhat.com>
2357 * gio/gappinfo.[ch]:
2358 Add g_app_info_get_id and g_app_info_get_executable.
2359 Make all getters non-reffing
2360 Make g_app_info_launch take GFile arguments.
2361 Add must_support_uris argument to g_app_info_get_default_for_type.
2363 * gio/gwin32appinfo.c:
2364 Update to GAppInfo api changes
2366 * gio/gdesktopappinfo.c:
2367 Update to GAppInfo api changes
2368 Implement supports_xdg_startup_notify
2370 * gio/gfileicon.c (g_file_icon_get_file):
2371 Make getter non-reffing.
2376 2007-09-27 Alexander Larsson <alexl@redhat.com>
2378 * gio/gfileinfo.[ch]:
2379 Add g_file_size_format_for_display helper
2381 2007-09-27 Alexander Larsson <alexl@redhat.com>
2383 * gio/glocalfileinfo.c:
2384 Set UNIX_GID from gid, not from uid
2386 2007-09-27 Alexander Larsson <alexl@redhat.com>
2389 Add g_file_set_attributes_async
2391 2007-09-27 Alexander Larsson <alexl@redhat.com>
2393 * gio/glocalfile.c (g_local_file_set_display_name):
2394 Fix set_display_name to actually rename to the right place.
2395 Use lstat to look for existing files so we don't overwrite
2398 2007-09-26 Alexander Larsson <alexl@redhat.com>
2401 Add g_file_set_display_name_async()
2403 2007-09-26 Alexander Larsson <alexl@redhat.com>
2406 Add load_partial_contents async calls
2409 Make internal function static
2411 2007-09-26 Alexander Larsson <alexl@redhat.com>
2413 * gio/glocalfileinfo.c:
2414 Correctly detect broken symlinks
2416 2007-09-26 Alexander Larsson <alexl@redhat.com>
2418 * gio/gcancellable.c (g_cancellable_cancel):
2419 Allow cancel on NULL cancellable
2421 2007-09-25 Alexander Larsson <alexl@redhat.com>
2423 * gio/gsimpleasyncresult.c:
2424 Don't allocate g_error manually.
2425 Fixes g_slice/g_new mixup crash
2427 2007-09-25 Alexander Larsson <alexl@redhat.com>
2429 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2430 Actually set active_backend.
2431 This means the monitor will be cancelled correctly.
2433 2007-09-25 Alexander Larsson <alexl@redhat.com>
2435 * gio/gdirectorymonitor.c:
2436 Set timeout to NULL when destroying
2438 2007-09-25 Alexander Larsson <alexl@redhat.com>
2441 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2442 that is a better description of the error.
2444 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2446 * gio/gvfs.c: (g_vfs_get_local):
2447 Make the local vfs variable static. The same instance should
2450 2007-09-24 Alexander Larsson <alexl@redhat.com>
2452 * gio/glocalfileinfo.c:
2453 Pass in actual length read into sniffer, not the length
2456 2007-09-21 Alexander Larsson <alexl@redhat.com>
2458 * gio/gfileenumerator.c:
2461 * gio/gfileinputstream.c:
2462 * gio/gfileoutputstream.c:
2463 * gio/ginputstream.c:
2464 * gio/goutputstream.c:
2465 Don't crash if async callbacks are NULL
2467 2007-09-20 Alexander Larsson <alexl@redhat.com>
2470 Add async enumerate_children method and default
2473 2007-09-20 Alexander Larsson <alexl@redhat.com>
2476 Add g_file_contains_file & g_file_get_relative_path, since they
2477 were needed for nautilus.
2478 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2483 Implement new methods
2485 2007-09-17 Alexander Larsson <alexl@redhat.com>
2488 * gio/gfileinputstream.[ch]:
2489 * gio/gfileoutputstream.[ch]:
2491 * gio/glocalfileenumerator.[ch]:
2492 * gio/glocalfileinfo.[ch]:
2493 * gio/glocalfileinputstream.c:
2494 * gio/glocalfileoutputstream.c:
2495 * gio/gpollfilemonitor.c:
2496 * programs/gio-copy.c:
2497 * programs/gio-info.c:
2498 * programs/gio-move.c:
2499 Rename get_file_info to query_info() to make it clearer
2500 that these are not simple getters, but do i/o.
2502 2007-09-17 Alexander Larsson <alexl@redhat.com>
2504 * gio/gdatainputstream.[ch]:
2505 * gio/test-streams.c:
2506 Use _read_XXX instead of _get_XXX for the i/o calls
2509 2007-09-17 Alexander Larsson <alexl@redhat.com>
2512 Added needed stuff to TODO comment
2514 2007-09-17 Alexander Larsson <alexl@redhat.com>
2516 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2517 Don't error out removing the backup copy if it doesn't
2520 2007-09-14 Alexander Larsson <alexl@redhat.com>
2522 * programs/Makefile.am:
2523 * programs/gvfs-*.c:
2525 Renamed apps from gvfs-xxx to gio-xxx.
2527 2007-09-14 Alexander Larsson <alexl@redhat.com>
2530 * gio/gfileoutputstream.[ch]:
2531 * gio/glocalfileoutputstream.c:
2532 * programs/gvfs-save.c:
2533 g_file_output_stream_get_etag doesn't do i/o, so remove
2534 cancellation and error.
2536 2007-09-14 Alexander Larsson <alexl@redhat.com>
2539 Add new_etag output to replace_contents functions
2541 2007-09-14 Alexander Larsson <alexl@redhat.com>
2543 * gio/gfileoutputstream.[ch]:
2544 Add async get_file_info and default implementation
2546 2007-09-14 Alexander Larsson <alexl@redhat.com>
2548 * gio/gfileinputstream.c:
2549 Implement fallback wrapper for async get_file_info
2551 2007-09-14 Alexander Larsson <alexl@redhat.com>
2554 Add etag out argument to load_contents
2559 2007-09-14 Alexander Larsson <alexl@redhat.com>
2561 * gio/gcontenttype.c (looks_like_text):
2562 Whitespace like tab, cr and lf do not make the
2565 2007-09-14 Alexander Larsson <alexl@redhat.com>
2567 * gio/gfileinputstream.[ch]:
2568 Add async get_file_info.
2570 2007-09-13 Alexander Larsson <alexl@redhat.com>
2572 * gio/goutputstream.c (g_output_stream_write_all):
2573 Allow NULL for bytes_written
2575 2007-09-13 Alexander Larsson <alexl@redhat.com>
2577 * gio/gmemoryinputstream.[ch]:
2578 Add accessors for data
2580 2007-09-13 Alexander Larsson <alexl@redhat.com>
2582 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2583 Don't crash if length is NULL