1 2007-12-30 Matthias Clasen <mclasen@redhat.com>
3 * gfileinfo.c: Expand the long description.
5 2007-12-30 Matthias Clasen <mclasen@redhat.com>
8 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
9 fix builds with --disable-visibility. (#500273, Christian Persch)
11 2007-12-30 Matthias Clasen <mclasen@redhat.com>
13 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
14 in the list of returned app infos.
16 2007-12-30 Matthias Clasen <mclasen@redhat.com>
18 * gappinfo.c: Fix a cross-reference
20 2007-12-30 Matthias Clasen <mclasen@redhat.com>
23 * gfileoutputstream.c:
29 * gfileinfo.c: Documentation updates.
31 2007-12-26 Matthias Clasen <mclasen@redhat.com>
33 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
36 2007-12-26 Matthias Clasen <mclasen@redhat.com>
38 * gcontenttype.c (g_content_types_get_registered): Don't return
39 freed memory (#505815, Mikael Hermansson)
41 2007-12-25 Paolo Borelli <pborelli@katamail.com>
43 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
44 used to detect statbuf->st_blocks. (#505042)
46 2007-12-24 Matthias Clasen <mclasen@redhat.com>
48 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
49 environment handling. (#504829, Cosimo Cecchi)
51 2007-12-22 Matthias Clasen <mclasen@redhat.com>
53 * gappinfo.c: Doc improvements
55 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
58 2007-12-20 Matthias Clasen <mclasen@redhat.com>
60 * === Released 2.15.0 ===
62 2007-12-20 Hans Breuer <hans@breuer.org>
64 * makefile.msc : don't build gdesktopappinfo.obj, it collides
65 with symbols gwin32appinfo.obj, added gmount.obj
66 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
68 2007-12-20 Alexander Larsson <alexl@redhat.com>
74 * gfilenamecompleter.c:
78 File attribute renames:
81 id::fs -> id::filesystem
83 2007-12-20 Alexander Larsson <alexl@redhat.com>
92 Add GMountUnmountFlags to all unmount and
94 Add g_mount_remount() call.
96 2007-12-20 Alexander Larsson <alexl@redhat.com>
98 * gvfs.c (get_default_vfs):
99 Fix unused variable warning
101 2007-12-19 Matthias Clasen <mclasen@redhat.com>
103 * pltcheck.sh: Update
105 2007-12-19 Matthias Clasen <mclasen@redhat.com>
107 * gunionvolumemonitor.c:
108 * gunixmount.c: Remove C99 comments
110 2007-12-19 Matthias Clasen <mclasen@redhat.com>
112 * gio.symbols: Add some missing symbols
114 2007-12-19 Alexander Larsson <alexl@redhat.com>
117 Make g_io_modules_load_all_in_directory not unuse
118 loaded modules so that users of it can do stuff
120 Init internal "module" types.
121 Initialize static prio and name for types so that
122 we don't have to load modules to get it.
124 * gnativevolumemonitor.h:
126 Move is_supported to parent class so that
127 non-native monitors can avoid being initialized
128 too. (For instance GDaemonVolumeMonitor if we're
129 not using GDaemonVfs.)
131 * glocaldirectorymonitor.[ch]:
132 * glocalfilemonitor.[ch]:
133 * gunionvolumemonitor.c:
134 * gunixvolumemonitor.c:
136 Find plugins using the static prio+name to
137 avoid unnecessarily loading the modules.
139 2007-12-19 Alexander Larsson <alexl@redhat.com>
144 2007-12-19 Alexander Larsson <alexl@redhat.com>
146 * gunionvolumemonitor.c:
147 Store the native type as GType, not class so that
148 we can unload it. But still avoid unnecessarily
151 2007-12-19 David Zeuthen <davidz@redhat.com>
153 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
154 add signals 'disconnected' and 'eject-button' on GDrive. Add
155 signal 'removed' on GVolume and 'unmounted' on GMount.
157 * gdrive.c: (g_drive_base_init):
159 * gfile.c: (g_file_mount_mountable),
160 (g_file_mount_enclosing_volume):
163 * gmount.c: (g_mount_base_init):
165 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
166 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
167 * gvolume.c: (g_volume_base_init), (g_volume_mount):
171 2007-12-17 Matthias Clasen <mclasen@redhat.com>
173 * *.c: Fix up includes in the section docs.
175 2007-12-17 Alexander Larsson <alexl@redhat.com>
177 * gnativevolumemonitor.h:
178 * gunionvolumemonitor.c:
179 * gunixvolumemonitor.c:
180 Add is_supported() to GNativeVolumeMonitorClass so
181 that we can avoid having to create an object to see
182 if the backend is supported at runtime.
183 Also add name member and an env var to pick a specific
184 volume monitor backend.
188 Add cancellable to _g_mount_get_for_mount_path()
190 * glocaldirectorymonitor.c:
191 * glocalfilemonitor.c:
192 Avoid loading and unloading modules while sorting.
194 2007-12-17 Matthias Clasen <mclasen@redhat.com>
197 * gunixmounts.[hc]: Namespace waste reduction, move some
198 g_get_unix_mount functions to the g_unix_mount namespace.
201 * gunixvolumemonitor.c:
203 * glocaldirectorymonitor.c: Update all callers.
205 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
207 2007-12-17 Alexander Larsson <alexl@redhat.com>
210 Add doc comments about what GFile operations are
211 guaranteed to not block.
213 2007-12-17 Alexander Larsson <alexl@redhat.com>
216 Add missing #ifdef fixing OSX build.
217 (#503334, patch from Richard Hult)
219 2007-12-14 David Zeuthen <davidz@redhat.com>
223 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
224 (g_mount_eject), (g_mount_eject_finish):
226 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
227 (get_volume_for_uuid), (get_mount_for_uuid),
228 (g_union_volume_monitor_class_init),
229 (get_default_native_type_with_exclude), (get_default_native_type),
230 (get_native_type), (update_native_type),
231 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
232 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
233 (g_unix_mount_can_eject), (eject_unmount_cb),
234 (eject_unmount_read_error), (eject_unmount_do),
235 (g_unix_mount_unmount), (g_unix_mount_eject),
236 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
237 * gunixmounts.c: (g_unix_mount_guess_can_eject),
238 (g_unix_mount_point_guess_can_eject):
240 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
241 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
242 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
243 (g_unix_volume_mount), (g_unix_volume_eject),
244 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
245 * gunixvolumemonitor.c: (get_volume_for_uuid),
246 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
248 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
249 (g_volume_eject), (g_volume_eject_finish):
251 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
252 (g_volume_monitor_get_mount_for_uuid):
255 Provide eject() on both GMount and GVolume and utility functions
256 to guess whether a GUnixMountPoint or GUnixMountEntry should be
257 ejected. Introduce the concept of UUID's and wire it into GVolume
258 and GMount and provide API on GVolumeMonitor to find such
259 instances. Also handle the case where an external
260 GNativeVolumeMonitor fails to initialize. Lock around the
261 _g_get_mount_for_mount_path() function such that volume monitor
262 implementations won't have to do locking themselves.
264 2007-12-17 Matthias Clasen <mclasen@redhat.com>
272 * gvolume.h: Documentation updates
274 2007-12-14 Matthias Clasen <mclasen@redhat.com>
277 * gfile.h: Doc updates
279 2007-12-14 Matthias Clasen <mclasen@redhat.com>
282 * gdesktopappinfo.c: Use hash table iterators.
284 2007-12-14 Alexander Larsson <alexl@redhat.com>
287 * gfileattribute.[ch]:
288 * gfileattribute-priv.h:
289 Move GFileAttributeValue to a private header, as
293 Make set_attribute take a type + a pointer instead
294 of a GFileAttributeValue.
297 Fix up for above changes.
298 Add g_file_info_get_attribute_data to get
299 all info in one call, g_file_info_get_attribute_status
300 to get the status and g_file_info_get_attribute_as_string.
304 * glocalfileinfo.[ch]:
308 Make _guess_type static.
310 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
313 * inotify/Makefile.am: Fixed build when srcdir != builddir,
314 made mkenums and friends use temporary files to avoid leaving
315 empty generated files on failure (#503470).
317 2007-12-14 Alexander Larsson <alexl@redhat.com>
322 2007-12-14 Alexander Larsson <alexl@redhat.com>
326 * gfileattribute.[ch]:
329 * glocalfileoutputstream.c:
330 * gmountoperation.[ch]:
331 * goutputstream.[ch]:
332 Clean up all flags enums to not have _FLAGS in them
333 Make the names of some of the enums better.
338 2007-12-14 Michael Natterer <mitch@imendio.com>
340 * gio.symbols: fix g_io_scheduler symbol names.
342 2007-12-14 Alexander Larsson <alexl@redhat.com>
348 * gbufferedinputstream.h:
349 * gbufferedoutputstream.h:
352 * gdatainputstream.h:
353 * gdataoutputstream.h:
355 * gdirectorymonitor.h:
362 * gfileinputstream.h:
364 * gfilenamecompleter.h:
365 * gfileoutputstream.h:
366 * gfilterinputstream.h:
367 * gfilteroutputstream.h:
375 * gmemoryinputstream.h:
376 * gmemoryoutputstream.h:
381 * gsimpleasyncresult.h:
383 * gunixinputstream.h:
385 * gunixoutputstream.h:
389 * inotify/Makefile.am:
390 Only allow including <gio/gio.h> from apps
392 2007-12-14 Alexander Larsson <alexl@redhat.com>
395 * gsimpleasyncresult.c:
396 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
397 Split out the send_to_mainloop call into two versions instead
398 of having the block argument.
400 2007-12-13 Alexander Larsson <alexl@redhat.com>
404 * gbufferedinputstream.c:
406 * gfileinputstream.c:
407 * gfileoutputstream.c:
411 g_push/pop_current_cancellable ->
412 g_cancellable_push/pop_current
414 2007-12-13 Alexander Larsson <alexl@redhat.com>
418 Rename g_mount_for_location to g_file_mount_enclosing_volume.
420 2007-12-13 Alexander Larsson <alexl@redhat.com>
423 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
425 2007-12-12 Alexander Larsson <alexl@redhat.com>
428 Fix race condition when freeing proxy in
429 g_io_job_send_to_mainloop().
431 2007-12-12 Alexander Larsson <alexl@redhat.com>
437 Make attribute namespace separator "::" instead of ":".
438 Use - instead of _ as separator in attribute names.
440 2007-12-12 Alexander Larsson <alexl@redhat.com>
442 * gbufferedinputstream.h:
443 * gbufferedoutputstream.h:
444 * gdatainputstream.h:
445 * gdataoutputstream.h:
446 * gdirectorymonitor.h:
448 * gfileinputstream.h:
450 * gfileoutputstream.h:
451 * gfilterinputstream.h:
452 * gfilteroutputstream.h:
454 * glocalfileinputstream.h:
455 * glocalfileoutputstream.h:
456 * gmemoryinputstream.h:
457 * gmemoryoutputstream.h:
458 * gnativevolumemonitor.h:
460 * gunixinputstream.h:
461 * gunixoutputstream.h:
464 s/parent/parent_instance/ in GObjects
466 2007-12-12 Alexander Larsson <alexl@redhat.com>
471 No need for padding for interfaces
473 2007-12-12 Alexander Larsson <alexl@redhat.com>
477 * gbufferedinputstream.c:
478 * gbufferedoutputstream.c:
481 * gdatainputstream.[ch]:
483 * gdirectorymonitor.c:
485 * gfileattribute.[ch]:
488 * gfileinputstream.h:
490 * gfileoutputstream.[ch]:
491 * gfilterinputstream.h:
492 * gfilteroutputstream.h:
495 * gloadableicon.[ch]:
496 * gmemoryinputstream.c:
499 Fix up a bunch of details in the docs.
504 2007-12-11 David Zeuthen <davidz@redhat.com>
506 Rework how volumes, drives and volume monitoring is
507 done. Previosly the model was
511 where a GDrive instance represented a mount point and a GVolume
512 instance represented a mounted file system. This patch changes it
515 GDrive <1-N> GVolume <1-1> GMount
517 where GMount now serves the purpose of the old GVolume and the new
518 GVolume serves the purpose of the old GDrive. In addition the new
519 GDrive interface is used to represent a collection of GVolume
520 instances (typically partitions) and also contains utility to query
521 the state of the physical drive the GDrive object represents (such
522 as checking for media, polling the drive, ejecting the media etc.).
524 Also implement mounting and unmounting in the Unix volume monitor
525 backend. A subquent patch will introduce GDrive support for ejection
529 * gdrive.c: (g_drive_is_media_check_automatic),
530 (g_drive_is_media_removable), (g_drive_has_media),
531 (g_drive_can_poll_for_media), (g_drive_eject),
532 (g_drive_eject_finish), (g_drive_poll_for_media),
533 (g_drive_poll_for_media_finish):
535 * gfile.c: (g_file_find_enclosing_mount):
538 * glocaldirectorymonitor.c:
539 (g_local_directory_monitor_constructor), (mounts_changed):
540 * glocalfile.c: (get_mount_info),
541 (g_local_file_find_enclosing_mount),
542 (g_local_file_file_iface_init):
543 * gnativevolumemonitor.h:
544 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
545 (get_connected_drives), (g_union_volume_monitor_class_init),
546 (child_volume_added), (child_volume_removed),
547 (child_volume_changed), (child_mount_added), (child_mount_removed),
548 (child_mount_pre_unmount), (child_mount_changed),
549 (child_drive_changed), (g_union_volume_monitor_add_monitor),
550 (g_union_volume_monitor_remove_monitor),
551 (_g_mount_get_for_mount_path):
552 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
553 (guess_system_internal), (_g_get_unix_mounts),
554 (_g_get_unix_mount_points), (g_get_unix_mount_at),
555 (g_unix_mount_free), (g_unix_mount_compare),
556 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
557 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
558 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
559 (type_to_icon), (g_unix_mount_guess_name),
560 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
561 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
562 (_resolve_symlink), (_resolve_dev_root):
564 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
565 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
566 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
567 (g_unix_volume_get_name), (g_unix_volume_can_mount),
568 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
569 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
570 (g_unix_volume_mount), (g_unix_volume_mount_finish),
571 (g_unix_volume_volume_iface_init):
573 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
574 (get_mounts), (get_volumes), (get_connected_drives),
575 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
576 (mountpoints_changed), (mounts_changed),
577 (g_unix_volume_monitor_init),
578 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
579 (find_mount_by_mountpath), (update_volumes), (update_mounts):
580 * gunixvolumemonitor.h:
581 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
582 (g_volume_mount), (g_volume_mount_finish):
584 * gvolumemonitor.c: (g_volume_monitor_class_init),
585 (g_volume_monitor_get_connected_drives),
586 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
589 2007-12-10 Matthias Clasen <mclasen@redhat.com>
591 * gmountoperation.h (GPasswordFlags): Close the gap
593 2007-12-10 Matthias Clasen <mclasen@redhat.com>
595 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
597 * gdesktopappinfo.[hc]: Remove _-prefixes
599 2007-12-10 Tor Lillqvist <tml@novell.com>
601 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
604 2007-12-10 Alexander Larsson <alexl@redhat.com>
606 * gfile.c (g_file_set_display_name):
607 Don't hardcode '/' (#502727)
609 2007-12-09 Hans Breuer <hans@breuer.org>
611 * makefile.msc : follow lib naming convention
612 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
613 for user and group name, tested with ../tests/gio-ls
615 2007-12-09 A. Walton <awalton@svn.gnome.org>
628 * gmemoryinputstream.c:
629 * gmemoryoutputstream.c:
631 * gsimpleasyncresult.c:
632 More documentation cleanup and filling in missing information, bringing
633 GIO to 99% symbol coverage.
635 2007-12-08 Hans Breuer <hans@breuer.org>
637 [gio compiles and links on win32, not sure how much already works]
638 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
639 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
640 base on win32 API; prefer g_lstat() over lstat(); instead of
641 localtime_r() use an all GLib implementation on win32;
642 get_mount_info() still needs a win32 specifc implementation
643 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
644 win32_get_file_user_info to get owner/group info without uid/gid
645 * glocalfileinputstream.c : include <io.h> on win32
646 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
647 definition, use g_win32_ftruncate() for G_OS_WIN32
648 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
649 it is available with mingw/w32api but a mess with the M$ Platform SDKs
650 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
651 * makefile.msc : updated
653 2007-12-07 Alexander Larsson <alexl@redhat.com>
655 * glocalfileenumerator.c (_g_local_file_enumerator_new):
656 Avoid warning spew if error == NULL
658 2007-12-07 Alexander Larsson <alexl@redhat.com>
661 Update docs wrt etags
663 2007-12-06 Alexander Larsson <alexl@redhat.com>
666 Include sys/types.h for dev_t (#501919)
668 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
672 Make abicheck and pltcheck pass.
674 2007-12-05 Alexander Larsson <alexl@redhat.com>
677 * giomodule-priv.h: Added.
678 * glocaldirectorymonitor.c:
679 * glocalfilemonitor.c:
680 * gunionvolumemonitor.c:
682 Actually add the declaration of _g_io_modules_ensure_loaded
684 2007-12-05 Alexander Larsson <alexl@redhat.com>
686 * gdatainputstream.c:
691 * glocaldirectorymonitor.c:
692 * glocalfilemonitor.c:
693 * gunionvolumemonitor.c:
695 Make g_io_modules_ensure_loaded a private function and
696 don't pass in the dirname. This means we can do magic
697 directory finding in the win32 version.
698 Export the actual load-modules-in-directory code so that
701 2007-12-05 Alexander Larsson <alexl@redhat.com>
703 * gbufferedinputstream.c:
704 * gbufferedoutputstream.c:
707 * gfileenumerator.[ch]:
708 * gfileinputstream.c:
709 * gfileoutputstream.[ch]:
710 * gfilterinputstream.c:
711 * gfilteroutputstream.c:
714 * glocalfileenumerator.c:
715 * glocalfileinputstream.c:
716 * glocalfileoutputstream.c:
717 * gmemoryinputstream.c:
718 * gmemoryoutputstream.c:
719 * goutputstream.[ch]:
722 * gunixinputstream.c:
723 * gunixoutputstream.c:
724 Rename all struct members named:
725 read, write, close, truncate, or mount
726 to foo_fn, as these are reserved names
727 and could be defined as macros in libc.
730 2007-12-04 Alexander Larsson <alexl@redhat.com>
733 (g_output_stream_close):
734 Only call flush if non-null.
736 2007-11-30 Dan Winship <danw@gnome.org>
738 * ginputstream.c (g_input_stream_set_pending): Make this take a
739 GError and return a gboolean, and do the "outstanding operation"
740 check (and the "stream is already closed" check) itself.
741 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
743 * goutputstream.c (g_output_stream_set_pending)
744 (g_output_stream_clear_pending): Likewise
746 * gbufferedinputstream.c:
747 * gfileinputstream.c:
748 * gfileoutputstream.c: Update for that
750 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
751 Like g_simple_async_report_error_in_idle, but takes a GError
752 rather than building one.
754 2007-11-30 Dan Winship <danw@gnome.org>
756 * goutputstream.c: Don't cheat and unset the "pending" flag around
757 inner calls. Instead, call the class method directly rather than
758 the wrapper function that checks "pending"
760 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
762 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
764 2007-12-03 Hans Breuer <hans@breuer.org>
766 [start of port to win32/msvc]
767 * gcancellable.c : HAVE_UNIST_H and _pipe()
768 * gcontenttype.c : only include <dirent.h> in the UNIX branch
769 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
770 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
772 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
773 * glocalvfs.c : use HAVE_PWD_H
774 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
775 * makefile.msc : new file (maybe later converted to makefile.msc.in)
776 * Makefile.am : added to EXTRA_DIST
778 2007-12-03 Matthias Clasen <mclasen@redhat.com>
780 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
783 2007-12-03 Alexander Larsson <alexl@redhat.com>
786 Handle OSX style xattrs API (#500506)
788 2007-12-03 Alexander Larsson <alexl@redhat.com>
792 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
794 2007-12-02 A. Walton <awalton@svn.gnome.org>
798 Documentation accuracy fixes.
800 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
802 * gioenumtypes.c.template: Fix typo.
804 2007-12-01 Matthias Clasen <mclasen@redhat.com>
806 * gioenumtypes.c.template: Make threadsafe get_type() functions.
808 2007-12-01 Matthias Clasen <mclasen@redhat.com>
810 * gdirectorymonitor.c:
811 * gfilemonitor.c: Add properties
813 * gbufferedoutputstream.c: Don't mark buffer-size property
816 2007-12-01 Matthias Clasen <mclasen@redhat.com>
818 * gbufferedoutputstream.c: Add auto-grow property.
820 2007-11-30 Matthias Clasen <mclasen@redhat.com>
822 * *.c: Unify the capitalization of section headings.
824 2007-11-30 Matthias Clasen <mclasen@redhat.com>
826 * gmountoperation.c: Add properties
828 * gdatainputstream.c: Turn byte-order and newline-type into
831 2007-11-30 Matthias Clasen <mclasen@redhat.com>
833 * gioenumtypes.[hc].template: Templates for enum registration
835 * Makefile.am: Generate gioenumtypes.[hc]
837 * gio.h: Include gioenumtypes.h
839 * gfile.h: Add some explicit nicks.
841 * gio.symbols: Add new symbols
843 * pltcheck.sh: Adjust
845 2007-11-30 Matthias Clasen <mclasen@redhat.com>
847 * *.c: Explain etags and link to the explanation
849 2007-11-29 Matthias Clasen <mclasen@redhat.com>
851 * *.c: Explain I/O priority.
853 * *.c: More coding style fixes.
855 2007-11-29 Matthias Clasen <mclasen@redhat.com>
857 * gasyncresult.c: Add another paragraph to the intro,
858 adjust coding style of example.
860 2007-11-29 A. Walton <awalton@svn.gnome.org>
863 Fixes unknown meaning in GAppLaunchContext docs.
865 Clarify asynchronous ops.
870 Provides missing gtk-doc section, fixes API docs slighly.
871 * gsimpleasyncresult.c:
872 Fill in missing info in docs.
873 * gunixinputstream.c:
874 * gunixoutputstream.c:
875 Be more expressive in short description.
877 Remove gtk-doc stubs for non-public API.
879 2007-11-28 Matthias Clasen <mclasen@redhat.com>
881 * *.c: Coding style fixups
883 2007-11-28 Matthias Clasen <mclasen@redhat.com>
885 * inotify/inotify-helper.c: Don't export the lock from libgio.
887 2007-11-28 Matthias Clasen <mclasen@redhat.com>
890 * abicheck.sh: Fix copy-and-paste leftovers
892 2007-11-28 Matthias Clasen <mclasen@redhat.com>
894 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
896 2007-11-28 Alexander Larsson <alexl@redhat.com>
900 Removed unnecessary file
902 * gdesktopappinfo.[ch]:
905 * glocaldirectorymonitor.[ch]:
907 * glocalfileenumerator.[ch]:
908 * glocalfileinputstream.[ch]:
909 * glocalfilemonitor.[ch]:
910 * glocalfileoutputstream.[ch]:
912 * gnativevolumemonitor.c:
913 * gpollfilemonitor.[ch]:
914 * gunionvolumemonitor.[ch]:
917 * gunixvolumemonitor.[ch]:
920 * inotify/ginotifydirectorymonitor.[ch]:
921 * inotify/ginotifyfilemonitor.[ch]:
922 * inotify/inotify-helper.c:
923 Append _ to all internal functions
927 Export symbols needed for modules
929 2007-11-28 Alexander Larsson <alexl@redhat.com>
932 * abicheck.sh: Added.
933 * makegioalias.pl: Added.
934 * pltcheck.sh: Added.
935 * gio.symbols: Added.
938 Initial work on adding symbol handling.
941 Correct ifdef guard name
944 * inotify/Makefile.am:
945 * xdgmime/Makefile.am:
946 Include toplevel Makefile.decl
948 2007-11-27 Matthias Clasen <mclasen@redhat.com>
950 * gcontenttype.c: Move doc comments to the unix section.
952 * *.[hc]: More trivial doc corrections.
954 2007-11-27 Matthias Clasen <mclasen@redhat.com>
956 * gpollfilemonitor.c:
965 * gdatainputstream.c:
966 * gdatainputstream.h:
967 * gdataoutputstream.c:
968 * gdataoutputstream.h:
969 * gfileinfo.h: Doc cleanups
971 2007-11-28 Andre Klapper <a9016009@gmx.de>
973 * gdesktopappinfo.c: Fix a typo.
975 2007-11-27 Andre Klapper <a9016009@gmx.de>
977 * glocalfileoutputstream.c: Fix a typo.
979 2007-11-27 Alexander Larsson <alexl@redhat.com>
982 Don't include removed headers
984 2007-11-27 Alexander Larsson <alexl@redhat.com>
987 * gsocketinputstream.[ch]: Removed.
988 * gsocketoutputstream.[ch]: Removed.
989 * gunixinputstream.[ch]: Added.
990 * gunixoutputstream.[ch]: Added.
991 Renamed GSocket*Stream to GUnix*Stream and made
992 it unix-only, since its not really only for sockets
993 and it only works on unix (but is highly useful there).
995 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1001 * gbufferedinputstream.c:
1002 * gbufferedinputstream.h:
1003 * gbufferedoutputstream.c:
1004 * gbufferedoutputstream.h:
1008 * gdatainputstream.c:
1009 * gdatainputstream.h:
1010 * gdataoutputstream.c:
1011 * gdataoutputstream.h:
1012 * gdirectorymonitor.c:
1013 * gdirectorymonitor.h:
1020 * gfileenumerator.c:
1021 * gfileenumerator.h:
1026 * gfileinputstream.c:
1027 * gfileinputstream.h:
1030 * gfilenamecompleter.c:
1031 * gfilenamecompleter.h:
1032 * gfileoutputstream.c:
1033 * gfileoutputstream.h:
1034 * gfilterinputstream.c:
1035 * gfilterinputstream.h:
1036 * gfilteroutputstream.c:
1037 * gfilteroutputstream.h:
1050 * glocalfileoutputstream.c:
1051 * gmemoryinputstream.c:
1052 * gmemoryinputstream.h:
1053 * gmemoryoutputstream.c:
1054 * gmemoryoutputstream.h:
1055 * gmountoperation.c:
1056 * gmountoperation.h:
1059 * gpollfilemonitor.c:
1062 * gsimpleasyncresult.c:
1063 * gsimpleasyncresult.h:
1064 * gsocketinputstream.c:
1065 * gsocketinputstream.h:
1066 * gsocketoutputstream.c:
1067 * gsocketoutputstream.h:
1074 * gunixvolumemonitor.c:
1083 Bumps documentation to 93% symbol coverage, touching most
1084 of the public files. Fixes broken function documentation prototypes.
1085 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1086 gtk-doc headers in private files.
1088 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1090 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1091 (g_buffered_input_stream_read_byte):
1092 * gbufferedinputstream.h:
1093 New functions for efficient access to buffer and simple single byte
1096 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1097 (g_data_input_stream_read_until):
1098 * gdatainputstream.h:
1099 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1100 read_until with multiple stop chars.
1102 2007-11-27 Alexander Larsson <alexl@redhat.com>
1106 * inotify/Makefile.am:
1107 Use the user-specified giomoduledir
1109 2007-11-27 Alexander Larsson <alexl@redhat.com>
1113 Add catch-all gio.h header
1114 Don't install gdummyfile.h
1116 2007-11-26 Alexander Larsson <alexl@redhat.com>
1118 * Makefile.am (gioinclude_HEADERS):
1119 Remove trailing whitespace
1121 2007-11-26 Alexander Larsson <alexl@redhat.com>
1123 Merge gio-standalone into glib
1125 2007-11-25 Christian Kellner <gicmo@gnome.org>
1127 * gio/goutputstream.c:
1128 Fix small mistake in the docs.
1130 2007-11-21 Christian Persch <chpe@gnome.org>
1132 * gio/glocalfile.c: (g_local_file_trash):
1133 Convert filenames to UTF-8 for GError.
1134 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1135 as per xdg base dir spec.
1137 2007-11-21 Christian Persch <chpe@gnome.org>
1139 * gio/gdesktopappinfo.c:
1140 Use that g_key_file_to_data cannot fail.
1142 Use stock defines for the key file group and key names.
1145 2007-11-21 Alexander Larsson <alexl@redhat.com>
1148 (copy_stream_with_progress):
1149 Make sure we do a final progress callback with
1150 the full total size.
1152 2007-11-21 Alexander Larsson <alexl@redhat.com>
1155 Export g_file_copy_attributes
1156 Remove padding as its not needed for interfaces
1158 2007-11-20 Alexander Larsson <alexl@redhat.com>
1163 Add G_IO_ERROR_WOULD_MERGE for
1164 copy/move dir on dir with overwrite.
1166 2007-11-20 Alexander Larsson <alexl@redhat.com>
1169 * gio/glocalfileinfo.c:
1170 Add COPY_NAME (this is an optional
1171 non-modified utf8 version of the name) that
1174 2007-11-20 Alexander Larsson <alexl@redhat.com>
1176 * gio/glocalfileenumerator.c:
1177 Report errors as GIOError, not GFileError
1179 2007-11-16 Alexander Larsson <alexl@redhat.com>
1181 * gio/glocalfileoutputstream.c:
1182 * gio/gwin32appinfo.c:
1183 Fix typos in strings.
1184 Patch from Luca Ferretti <elle.uca@libero.it>
1186 2007-11-15 Alexander Larsson <alexl@redhat.com>
1189 Post release version bump
1191 === gio-standalone 0.1.2 ===
1193 2007-11-15 Alexander Larsson <alexl@redhat.com>
1195 * docs/reference/gio/Makefile.am:
1196 Fix up distcheck by removing weird
1202 2007-11-14 Alexander Larsson <alexl@redhat.com>
1204 * gio/gdesktopappinfo.c:
1205 * gio/glocaldirectorymonitor.c:
1207 * gio/glocalfileinfo.c:
1208 * gio/inotify/inotify-sub.c:
1209 * programs/gio-cat.c:
1210 * programs/gio-copy.c:
1211 * programs/gio-info.c:
1212 * programs/gio-ls.c:
1213 * programs/gio-monitor-dir.c:
1214 * programs/gio-monitor-file.c:
1215 * programs/gio-mount.c:
1216 * programs/gio-move.c:
1217 * programs/gio-rm.c:
1218 * programs/gio-save.c:
1219 * programs/gio-trash.c:
1220 Leak fixes from Kjartan Maraas
1222 2007-11-14 Alexander Larsson <alexl@redhat.com>
1224 * gio/fam/fam-helper.c:
1226 * gio/glocalfileinfo.c:
1230 * gio/inotify/inotify-diag.c:
1231 * gio/inotify/inotify-kernel.c:
1232 Various code cleanups from Kjartan Maraas
1234 2007-11-14 Alexander Larsson <alexl@redhat.com>
1236 * gio/gioscheduler.c:
1238 Set up threadpool so that we cache 2 unused
1239 idle threads for at 15 secs. This means we
1240 will reuse thread-local data (like dbus connections)
1243 2007-11-14 Alexander Larsson <alexl@redhat.com>
1245 * gio/fam/fam-helper.c:
1246 * gio/fam/gfamdirectorymonitor.c:
1247 * gio/fam/gfamfilemonitor.c:
1249 * gio/gcontenttype.c:
1250 * gio/gdatainputstream.c:
1251 * gio/gdataoutputstream.c:
1255 * gio/gfileattribute.h:
1256 * gio/gfileenumerator.c:
1258 * gio/ginputstream.c:
1261 * gio/glocalfileinfo.c:
1262 * gio/goutputstream.c:
1263 * gio/gpollfilemonitor.c:
1264 * gio/gsimpleasyncresult.c:
1265 * gio/gunixmounts.c:
1266 * gio/gunixmounts.h:
1267 * gio/inotify/ginotifydirectorymonitor.c:
1268 * gio/inotify/ginotifyfilemonitor.c:
1269 * gio/inotify/inotify-diag.c:
1270 * gio/inotify/inotify-kernel.c:
1271 * gio/inotify/inotify-path.c:
1273 * gio/test-streams.c:
1274 * programs/gio-info.c:
1275 * programs/gio-monitor-dir.c:
1276 * programs/gio-monitor-file.c:
1277 Various code cleanups from Kjartan Maraas
1279 2007-11-13 Alexander Larsson <alexl@redhat.com>
1282 Handle the uri-scheme calls for dummy files
1284 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1286 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1287 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1288 to avoid clash with the C++ keyword.
1290 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1292 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1293 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1295 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1297 * gio/glocaldirectorymonitor.c:
1298 * gio/glocalfilemonitor.c:
1299 * gio/gunionvolumemonitor.c:
1300 Don't use g_once_init_*() for initializations that could fail and
1301 could leave the initialization variable set to 0 but use GOnce.
1302 This prevents a deadlock on the second call when trying to create
1303 a monitor and no monitor type is available. Thanks to Sven Herzberg
1306 2007-11-11 Sven Herzberg <sven@imendio.com>
1308 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1309 #ifdef (make it work on MacOS X again)
1311 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1313 Fixes Changelog for last two commits (sorry guys).
1315 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1317 * gio/gbufferedinputstream.c:
1318 * gio/gdatainputstream.c:
1320 * gio/gfileoutputstream.c:
1321 * gio/gfilterinputstream.c:
1322 * gio/glocalfileinputstream.c:
1325 More consistency fixes in g*stream.c files.
1326 Significant clean of gfile's documentation, filling in of
1327 asynchronous operations documentation.
1329 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1331 * gio/gasyncresult.c:
1332 * gio/gbufferedinputstream.c:
1333 * gio/gbufferedoutputstream.c:
1334 * gio/gcancellable.c:
1335 * gio/gcontenttype.c:
1336 * gio/gdatainputstream.c:
1337 * gio/gdataoutputstream.c:
1338 * gio/gdesktopappinfo.c:
1341 * gio/gfileattribute.c:
1342 * gio/gio/gfileenumerator.c:
1344 * gio/gfileinputstream.c:
1345 * gio/gfilemonitor.c:
1346 * gio/gfileoutputstream.c:
1347 * gio/ginputstream.c:
1349 * gio/gioscheduler.c:
1350 * gio/gloadableicon.c:
1351 * gio/glocalfileoutputstream.c:
1352 * gio/gmemoryoutputstream.c:
1353 * gio/gmountoperation.c:
1354 * gio/goutputstream.c:
1356 * gio/gsimpleasyncresult.c:
1357 * gio/gunionvolumemonitor.c:
1358 * gio/gunixmounts.c:
1359 * gio/gunixvolume.c:
1363 * gio/gvolumemonitor.c:
1364 Updated documentation stubs, working towards consistency and
1367 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1369 * gio/gmemoryoutputstream.c:
1370 * gio/gmemoryoutputstream.h:
1371 Change g_memory_output_stream_set_free_on_close() to
1372 g_memory_output_stream_set_free_data() as this makes more sense and
1373 is more consistent with GMemoryInputStream.
1375 2007-11-07 Alexander Larsson <alexl@redhat.com>
1382 Change how we find the default vfs so that
1383 we can handle a gvfs failing to init
1385 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1387 * gio/gbufferedoutputstream.c:
1388 * gio/gdatainputstream.c:
1389 * gio/gdataoutputstream.c:
1390 * gio/gfileinputstream.c:
1391 * gio/gfileoutputstream.c:
1392 * gio/gfilterinputstream.c:
1393 * gio/gfilteroutputstream.c:
1394 * gio/ginputstream.c:
1395 * gio/gmemoryinputstream.c:
1396 * gio/gmemoryoutputstream.c:
1397 * gio/goutputstream.c:
1398 * gio/gsimpleasyncresult.c:
1399 * gio/gsocketinputstream.c:
1400 * gio/gsocketoutputstream.c:
1401 Add guards to the remaining public functions, add a TODO for
1402 an unimplemented function and remove some useless guards.
1404 2007-11-07 Alexander Larsson <alexl@redhat.com>
1407 Autoconf checks for the various types of
1408 getpwuid_r and getgrgid_r
1410 * gio/glocalfileinfo.c:
1411 Use the autoconf checks from above
1413 2007-11-07 Alexander Larsson <alexl@redhat.com>
1416 (g_local_file_query_filesystem_info):
1417 Some fixes for the statvfs case
1419 2007-11-07 Alexander Larsson <alexl@redhat.com>
1422 (g_local_file_query_filesystem_info):
1423 Pick the "best" of statfs / statvfs for the system
1424 if both are availible.
1426 2007-11-07 Alexander Larsson <alexl@redhat.com>
1428 Solaris fixes from Halton.Huo@Sun.COM:
1435 * gio/glocalfileinfo.c:
1436 Fix for solaris definition of getpwuid_r
1438 * gio/test-streams.c:
1439 Use G_GNUC_PRETTY_FUNCTION
1441 2007-11-07 Alexander Larsson <alexl@redhat.com>
1443 * gio/gdesktopappinfo.c:
1444 (update_default_list):
1445 Remove double semicolon.
1446 Patch from Jens Granseuer
1448 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1450 * docs/reference/gio/gio-sections.txt:
1451 * gio/gbufferedinputstream.c:
1452 * gio/gbufferedinputstream.h:
1453 * gio/gdatainputstream.c:
1454 * gio/gfileenumerator.c:
1455 * gio/gioscheduler.c:
1456 * gio/gunionvolumemonitor.c:
1458 * programs/gio-save.c:
1459 Fix typo: availible -> available. Unfortuntely this breaks API
1460 and ABI as g_buffered_input_stream_get_available() was renamed.
1462 * gio/gunixmounts.c:
1463 * gio/gbufferedinputstream.c:
1464 Add guards for public functions.
1466 2007-11-06 Ross Burton <ross@openedhand.com>
1468 * docs/reference/gio/Makefile.am:
1469 Fix invalid += usage which automake 1.10 doesn't like.
1471 2007-11-06 Alexander Larsson <alexl@redhat.com>
1474 (g_app_launch_context_class_init):
1477 Patch from Ross Burton
1479 2007-11-06 Alexander Larsson <alexl@redhat.com>
1482 Post release version bump
1484 === gio-standalone 0.1.1 ===
1486 2007-11-06 Alexander Larsson <alexl@redhat.com>
1489 Bump version to 0.1.1
1491 * gio/gsimpleasyncresult.c:
1492 (g_simple_async_result_set_from_error):
1493 Remove bogus g_return_if_fail
1495 2007-11-06 Alexander Larsson <alexl@redhat.com>
1498 The name is gio-standalone
1501 Add top src/builddir to includedir
1503 2007-11-06 Alexander Larsson <alexl@redhat.com>
1505 * docs/reference/gio/gio-sections.txt:
1507 * gio/gbufferedinputstream.c:
1508 * gio/gbufferedoutputstream.c:
1509 * gio/gcancellable.c:
1510 * gio/gdatainputstream.h:
1511 * gio/gdataoutputstream.c:
1512 * gio/gdataoutputstream.h:
1513 * gio/gdirectorymonitor.c:
1515 * gio/gfileattribute.c:
1516 * gio/gfileattribute.h:
1517 * gio/gfileenumerator.c:
1518 * gio/gfileenumerator.h:
1521 * gio/gfileinputstream.h:
1522 * gio/gfilemonitor.c:
1523 * gio/gfileoutputstream.h:
1524 * gio/glocalfilemonitor.h:
1525 * gio/glocalfileoutputstream.h:
1526 * gio/gmemoryinputstream.c:
1527 * gio/gmemoryoutputstream.c:
1528 * gio/gmountoperation.c:
1529 * gio/goutputstream.c:
1530 * gio/goutputstream.h:
1532 * gio/gsimpleasyncresult.c:
1533 * gio/gunixmounts.c:
1534 * gio/gunixmounts.h:
1536 * gio/inotify/inotify-helper.c:
1537 Fix gtk-doc warnings
1539 Patch from Ross Burton
1541 2007-11-06 Alexander Larsson <alexl@redhat.com>
1543 * gio/gfilenamecompleter.c:
1544 (g_filename_completer_get_completions):
1547 * gio/gunixvolume.c:
1548 Remove unused function
1550 Patches from Ross Burton
1552 2007-11-06 Alexander Larsson <alexl@redhat.com>
1557 Padding not needed for interfaces
1559 2007-11-06 Alexander Larsson <alexl@redhat.com>
1561 * gio/gfilemonitor.c:
1565 Make giotypes.h an internal file
1568 * gio/gbufferedinputstream.h:
1569 * gio/gbufferedoutputstream.h:
1570 * gio/gcancellable.h:
1571 * gio/gdatainputstream.h:
1572 * gio/gdataoutputstream.h:
1573 * gio/gdirectorymonitor.c:
1574 * gio/gdirectorymonitor.h:
1579 * gio/gfileattribute.h:
1580 * gio/gfileenumerator.h:
1585 * gio/gfilemonitor.c:
1586 * gio/gfilemonitor.h:
1587 * gio/gfilenamecompleter.c:
1588 * gio/gfilenamecompleter.h:
1589 * gio/gfilterinputstream.h:
1590 * gio/gfilteroutputstream.h:
1591 * gio/ginputstream.h:
1592 * gio/gmemoryinputstream.h:
1593 * gio/gmemoryoutputstream.h:
1594 * gio/gmountoperation.c:
1595 * gio/gmountoperation.h:
1596 * gio/gnativevolumemonitor.c:
1597 * gio/goutputstream.h:
1600 * gio/gsimpleasyncresult.c:
1601 * gio/gsimpleasyncresult.h:
1602 * gio/gsocketinputstream.h:
1603 * gio/gsocketoutputstream.h:
1604 * gio/gthemedicon.c:
1605 * gio/gthemedicon.h:
1609 * gio/gvolumemonitor.c:
1610 * gio/gvolumemonitor.h:
1611 Add padding in classes where it seems useful
1612 Don't include giotypes.h from public headers
1613 Move in Class definitions into c file where possible
1618 2007-11-06 Alexander Larsson <alexl@redhat.com>
1620 * docs/reference/gio/gio-docs.xml:
1621 Better structure for API docs
1623 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1626 * gio/gloadableicon.c:
1627 * gio/gsimpleasyncresult.c:
1628 * gio/gthemedicon.c:
1629 Add some more guards to public functions. Only files missing are now
1632 2007-11-06 Alexander Larsson <alexl@redhat.com>
1634 * docs/reference/gio/gio-docs.xml:
1635 Remove old files, add missing ones
1637 2007-11-06 Alexander Larsson <alexl@redhat.com>
1639 * docs/reference/gio/gio-sections.txt:
1642 Hide implementation classes
1644 * gio/gdriveprivate.h:
1645 * gio/gvolumeprivate.h:
1646 Remove non-existing function declarations
1648 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1651 Fix compilation warnings and add guards to the new functions.
1653 * gio/gasyncresult.c:
1655 Add guards to the public functions.
1658 Implement get_path().
1660 2007-11-06 Alexander Larsson <alexl@redhat.com>
1662 * gio/gfilenamecompleter.c:
1663 Make g_filename_completer_get_completions
1664 return char ** instead of GList for
1667 * docs/reference/gio/gio-docs.xml:
1668 * docs/reference/gio/gio-sections.txt:
1670 * gio/gasyncresult.c:
1671 * gio/gbufferedinputstream.c:
1672 * gio/gbufferedoutputstream.c:
1673 * gio/gcancellable.c:
1674 * gio/gcontenttype.c:
1675 * gio/gdatainputstream.c:
1676 * gio/gdataoutputstream.c:
1677 * gio/gdesktopappinfo.c:
1678 * gio/gdirectorymonitor.c:
1682 * gio/gfileattribute.c:
1683 * gio/gfileenumerator.c:
1686 * gio/gfileinputstream.c:
1687 * gio/gfilemonitor.c:
1688 * gio/gfilenamecompleter.c:
1689 * gio/gfilenamecompleter.h:
1690 * gio/gfileoutputstream.c:
1691 * gio/gfilterinputstream.c:
1693 * gio/ginputstream.c:
1695 * gio/gioscheduler.c:
1696 * gio/gloadableicon.c:
1697 * gio/glocaldirectorymonitor.c:
1699 * gio/glocalfileinputstream.c:
1700 * gio/glocalfilemonitor.c:
1701 * gio/glocalfileoutputstream.c:
1703 * gio/gmemoryinputstream.c:
1704 * gio/gmemoryoutputstream.c:
1705 * gio/gmountoperation.c:
1706 * gio/goutputstream.c:
1707 * gio/gpollfilemonitor.c:
1709 * gio/gsimpleasyncresult.c:
1710 * gio/gsocketinputstream.c:
1711 * gio/gsocketoutputstream.c:
1712 * gio/gthemedicon.c:
1713 * gio/gunionvolumemonitor.c:
1715 * gio/gunixmounts.c:
1716 * gio/gunixvolume.c:
1717 * gio/gunixvolumemonitor.c:
1721 * gio/gvolumemonitor.c:
1722 * gio/gwin32appinfo.c:
1723 Add (mostly stub) doc strings to public functions.
1724 Patch from Andrew Walton (awalton@gmail.com)
1726 2007-11-06 Alexander Larsson <alexl@redhat.com>
1728 * gio/gappinfo.[ch]:
1729 Added GAppLaunchContext object and pass that to launch.
1730 This allows simple implementation of both
1731 launch-on-screen and startup notification via a gtk+
1732 subclass of GAppLaunchContext
1734 * gio/gdesktopappinfo.c:
1735 Implement GAppLaunchContext API
1737 * gio/gwin32appinfo.c:
1740 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1742 * gio/gmountoperation.c:
1743 Add some guards to GMountOperation's public functions.
1745 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1749 * gio/gcancellable.c:
1750 * gio/gdirectorymonitor.c:
1752 * gio/gfileenumerator.c:
1753 * gio/gfilemonitor.c:,
1754 * gio/gfilenamecompleter.c:
1757 * gio/gioscheduler.c:
1761 * gio/gvolumemonitor.c:
1762 Add even more guards to various public functions.
1764 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1767 Add guards to the public functions of GAppInfo.
1769 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1771 * gio/gcontenttype.c:
1772 Add some more guards for public functions.
1774 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1776 * gio/fam/fam-module.c:
1777 * gio/fam/gfamdirectorymonitor.c:
1778 * gio/fam/gfamdirectorymonitor.h:
1779 * gio/fam/gfamfilemonitor.c:
1780 * gio/fam/gfamfilemonitor.h:
1781 * gio/inotify/ginotifydirectorymonitor.c:
1782 * gio/inotify/ginotifydirectorymonitor.h:
1783 * gio/inotify/ginotifyfilemonitor.c:
1784 * gio/inotify/ginotifyfilemonitor.h:
1785 Add proper copyright information and remove an unused variable
1786 in the GInotifyFileMonitor constructor.
1788 * gio/gcancellable.c:
1789 Add a guard for a public function and an assertion to prevent
1790 an undefined program state.
1792 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1794 * gio/gfileattribute.c:
1795 Don't run into an assertion if the given attribute value is NULL
1796 in g_file_attribute_value_get_*() but instead return a fallback
1797 value that makes sense in most situations. Passing them a attribute
1798 value with the wrong type will still run into an assertion.
1800 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1802 * gio/gfileattribute.c:
1804 Add even more guards to the public functions. Also fix the refcounting
1805 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1806 let g_file_info_list_attributes() filter the attributes by namespace
1807 instead of simply ignoring the namespace parameter.
1809 2007-11-03 Sven Herzberg <sven@imendio.com>
1811 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1812 (This makes gio work on MacOS X again)
1814 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1817 Build the gio subdirectory before the docs. Otherwise the build will
1820 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1821 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1822 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1823 Add guards to the public functions.
1825 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1827 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1828 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1829 to prevent a compiler warning.
1831 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1832 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1833 return something in the non-void function find_topdir_for().
1835 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1842 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1844 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1845 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1846 * gwin32appinfo.c (g_win32_app_info_launch):
1847 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1848 envp_for_startup_id, g_desktop_app_info_launch,
1849 g_desktop_app_info_launch_uris):
1851 Give an opaque 'startup_id' string instead of 'envp'.
1852 Support empty file lists for launching new windows.
1853 Fix infinite recursion bug when launching URIs.
1855 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1858 Add guard to the new g_file_get_uri_scheme() function.
1860 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1863 Convert a g_return_val_if_fail() to setting the GError instead as
1864 otherwise applications have to verify the parameter before otherwise
1865 and the parameter might come directly from the user.
1867 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1869 * gio/inotify/ginotify*.[ch]:
1870 Add missing copyright information.
1872 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1875 Add guards in the beginning of public functions to check for valid
1876 parameters and fix a bug in copy_stream_with_progress() that could've
1877 caused writing less bytes than reading.
1878 * gio/glocalfileinfo.c:
1879 Check for a NULL parameter and set the GError accordingly then.
1880 * gio/goutputstream.c:
1881 Fix the same bug as in gfile.c that could've caused writing less bytes
1882 than reading in g_output_stream_real_splice().
1884 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1887 Use the correct gvolumeprivate.h naming
1889 2007-11-01 Christian Kellner <gicmo@gnome.org>
1892 Remove leftover "$(daemon_sources)" entry.
1894 2007-11-01 Christian Kellner <gicmo@gnome.org>
1899 Add copyright information to source files.
1901 2007-11-01 Alexander Larsson <alexl@redhat.com>
1905 Add g_file_get_uri_scheme
1907 2007-11-01 Alexander Larsson <alexl@redhat.com>
1910 * gio/gdesktopappinfo.c:
1911 * gio/gwin32appinfo.c:
1912 Add g_app_info_get_default_for_uri_scheme.
1914 2007-11-01 Alexander Larsson <alexl@redhat.com>
1917 Correct filename for gdriveprivate.h
1919 2007-10-31 Alexander Larsson <alexl@redhat.com>
1922 Rename id:value to id:file
1925 * gio/glocalfileinfo.c:
1928 2007-10-31 Alexander Larsson <alexl@redhat.com>
1930 * gio/gunixvolume.c:
1932 Remove g_volume_get_platform_id, as thats not
1933 needed with the simpler union volume monitor
1935 2007-10-31 Alexander Larsson <alexl@redhat.com>
1938 * gio/guniondrive.[ch]: Removed.
1939 * gio/gunionvolume.[ch]: Removed.
1940 Remove GUnionDrive/Volume
1942 * gio/gunionvolumemonitor.c:
1943 Simplify union volume monitor, now we
1944 only have one native volume monitor and
1945 we use the actual volumes/drives from the
1946 child monitors instead of wrapping them
1948 * gio/gnativevolumemonitor.[ch]:
1949 Base class for native volume monitors.
1950 Includes priority and get_volume_for_mountpoint
1953 Add g_file_find_enclosing_volume
1956 Remove volume name fs attribute
1957 Add readonly fs attribute
1960 Implement readonly attribute
1961 remove volume name attribute
1962 Implement find_enclosing volume
1964 * gio/gunixmounts.c:
1965 Add a volume for "/".
1967 * gio/gunixvolume.[ch]:
1968 Set better name for /
1970 * gio/gunixvolumemonitor.[ch]:
1971 Derive from GNativeVolumeMonitor
1972 Implement get_volume_for_mountpoint
1975 GVolume typedef moved to gfile.h
1977 * gio/gvolumeprivate.h:
1978 Add g_volume_get_for_mount_path
1980 2007-10-31 Alexander Larsson <alexl@redhat.com>
1982 * gio/gunixmounts.[ch]:
1983 Add cache info to unix mount listers
1984 Make getmntent use threadsafe
1985 Add is_system_internal attribute for GUnixMount
1987 * gio/gunixvolume.c:
1988 (g_unix_volume_new):
1989 Use is_system_internal instead of own code
1991 * gio/glocaldirectorymonitor.c:
1992 * gio/gunixvolumemonitor.c:
1993 Update to new gunixmounts API
1998 2007-10-30 Alexander Larsson <alexl@redhat.com>
2001 Add volume name fsinfo attribute
2004 Read volume name info
2006 * gio/gunionvolumemonitor.c:
2007 Fix infinite loops when finalizing a union volume monitor
2009 2007-10-30 Alexander Larsson <alexl@redhat.com>
2011 * gio/goutputstream.[ch]:
2012 Add splice() with default implementation
2014 * gio/gsocketoutputstream.c:
2015 (g_socket_output_stream_write):
2016 Return error on cancellation correctly.
2018 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2020 * gio/glocalfile.c (g_local_file_trash):
2021 Do not leak a string.
2023 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2025 * gio/gfile.c (g_file_load_contents):
2026 Unref the stream after closing it.
2028 2007-10-25 Alexander Larsson <alexl@redhat.com>
2030 * gio/gioscheduler.h:
2033 2007-10-25 Alexander Larsson <alexl@redhat.com>
2037 Add g_file_has_uri_scheme and implement for local files
2039 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2041 * gio/gdesktopappinfo.c: do not leak a string.
2043 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2045 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2046 (g_local_directory_monitor_new):
2047 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2048 (g_local_file_monitor_new):
2049 Only look for the monitor type that should be used the first time
2050 and use g_qsort_with_data() instead of our own bubble sort
2053 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2056 * gio/fam/Makefile.am:
2057 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2058 * gio/fam/fam-helper.h:
2059 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2060 * gio/fam/gfamdirectorymonitor.c:
2061 * gio/fam/gfamdirectorymonitor.h:
2062 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2063 * gio/fam/gfamfilemonitor.h:
2064 * gio/glocaldirectorymonitor.c:
2065 * gio/glocaldirectorymonitor.h:
2066 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2067 * gio/glocalfilemonitor.h:
2068 * gio/inotify/Makefile.am:
2069 * gio/inotify/ginotifydirectorymonitor.c:
2070 * gio/inotify/ginotifydirectorymonitor.h:
2071 * gio/inotify/ginotifyfilemonitor.c:
2072 * gio/inotify/ginotifyfilemonitor.h:
2073 Implement the FAM and Inotify monitors as
2074 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2075 their own GIO module. GLocal(Directory|File)Monitor will use the
2076 monitor with the highest rank that is supported on that machine.
2078 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2081 Change GIO module dir to $(libdir)/gio/modules and change
2082 the log domain from GVFS to GIO. Also only export symbols starting
2083 with g_ in the resulting library.
2084 * gio/test-streams.c: (main):
2085 Set log handler for the GIO log domain.
2087 2007-10-22 Alexander Larsson <alexl@redhat.com>
2089 * gio/gfilenamecompleter.[ch]:
2090 Add g_filename_completer_set_dirs_only
2092 2007-10-22 Alexander Larsson <alexl@redhat.com>
2095 * gio/gurifuncs.[ch]:
2096 Add some simple URI helpers
2098 * gio/gfilenamecompleter.[ch]:
2099 Added object for filename (parse name actually) completion
2102 Handle ~ in parse names
2104 2007-10-17 Alexander Larsson <alexl@redhat.com>
2107 * gio/glocalfileinfo.c:
2108 Add and implement id:value attribute
2110 2007-10-17 Alexander Larsson <alexl@redhat.com>
2113 * gio/guniondrive.c:
2115 Add and implement g_drive_has_volumes
2117 2007-10-17 Alexander Larsson <alexl@redhat.com>
2120 * gio/glocalfileinfo.[ch]:
2121 Add unix:is_mountpoint and implement for local files
2123 2007-10-16 Alexander Larsson <alexl@redhat.com>
2125 * gio/gunionvolumemonitor.c:
2126 (g_union_volume_monitor_init):
2127 Fix up the unix type getting so that it works with gcc
2129 2007-10-12 Alexander Larsson <alexl@redhat.com>
2132 * gio/glocalfileinfo.c:
2133 Add thumbnail:failed to file info
2135 2007-10-12 Richard Hult <richard@imendio.com>
2137 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2138 optimizing away the get_type call (happens with some gcc versions,
2139 like the one shipped with OS X 10.4).
2141 2007-10-12 Alexander Larsson <alexl@redhat.com>
2143 * gio/glocalfileinfo.c:
2144 (_g_local_file_info_set_attribute):
2145 Fix build if not HAVE_XATTR
2146 Patch from Milosz Derezynski <internalerror@gmail.com>
2148 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2150 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2151 around for review, otherwise I would have asked you before
2154 2007-10-11 Alexander Larsson <alexl@redhat.com>
2157 Add thumbnail:path attribute
2159 * gio/glocalfileinfo.c:
2160 Implement thumbnail:path for local files
2162 2007-10-11 Alexander Larsson <alexl@redhat.com>
2164 * gio/glocalfileinfo.c:
2165 (_g_local_file_info_get):
2166 Avoid duplicate icon names
2168 2007-10-11 Alexander Larsson <alexl@redhat.com>
2170 * gio/gthemedicon.[ch]:
2171 Change g_themed_icon_get_names return type to const
2173 2007-10-10 Alexander Larsson <alexl@redhat.com>
2175 * gio/glocalfileinfo.c:
2176 Don't reference freed memory
2178 2007-10-10 Alexander Larsson <alexl@redhat.com>
2180 * gio/gfileattribute.c:
2183 * gio/glocalfileinfo.c:
2186 2007-10-10 Alexander Larsson <alexl@redhat.com>
2189 Check for NULL icons
2191 * gio/gfileattribute.c:
2192 Don't dup when getting objects (same as for string attributes)
2194 * gio/gicon.c (g_icon_equal):
2195 Safely handle NULLs in equal
2197 2007-10-10 Alexander Larsson <alexl@redhat.com>
2200 Fix c++ compilation issues
2201 Patch from Milosz Derezynski <internalerror@gmail.com>
2203 2007-10-10 Alexander Larsson <alexl@redhat.com>
2205 * programs/gio-monitor-dir.c:
2206 Don't crash if dir monitor not supported.
2208 2007-10-09 Alexander Larsson <alexl@redhat.com>
2211 Add missing G_END_DECLS
2213 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2215 * gio/gfile.c: (g_file_set_display_name),
2216 (g_file_query_settable_attributes),
2217 (g_file_query_writable_namespaces):
2218 Return NULL not FALSE on errors as the return type is a pointer.
2220 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2222 * gio/glocalfile.c: (g_local_file_monitor_file):
2223 Don't call monitor_file on the default interface vtable (which
2224 is NULL) but simply return NULL. The caller, GFile, will create a
2225 polling monitor if NULL is returned.
2227 2007-10-09 Alexander Larsson <alexl@redhat.com>
2231 * gio-unix-2.0.pc.in:
2232 Add gio-unix-2.0.pc if OS_UNIX
2235 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2237 2007-10-09 Alexander Larsson <alexl@redhat.com>
2239 * gio/gunixmounts.[ch]:
2240 Make unix mount monitoring API sane.
2241 Now its just a object with mounts_changed
2242 and mountpoints_changed signals.
2244 * gio/glocaldirectorymonitor.c:
2245 * gio/gunixvolumemonitor.c:
2246 Use new mount monitor api
2248 2007-10-09 Alexander Larsson <alexl@redhat.com>
2250 * gio/gunixmounts.[ch]:
2251 Move guess type into one call for mounts and one for mountpoints
2254 * gio/gunixvolume.c:
2257 2007-10-09 Alexander Larsson <alexl@redhat.com>
2259 * gio/gunixmounts.[ch]:
2260 Remove _ prefix in preparation to make this semi-public
2261 Hide implementation of structs
2263 * gio/glocaldirectorymonitor.c:
2265 * gio/gunixvolume.c:
2266 * gio/gunixvolumemonitor.c:
2267 Update for above API changes
2269 2007-10-08 Alexander Larsson <alexl@redhat.com>
2272 Better polling fallback. This also handles the case where we have
2273 a monitor_file implementation, but it fails.
2275 2007-10-08 Alexander Larsson <alexl@redhat.com>
2279 * gio/gunixmounts.c:
2280 * programs/gio-monitor-dir.c:
2281 * programs/gio-monitor-file.c:
2282 Added cancellable to file monitoring calls.
2283 These are really sync calls and need this.
2285 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2287 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2288 (g_local_vfs_class_init):
2289 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2290 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2292 2007-10-05 Alexander Larsson <alexl@redhat.com>
2294 * gio/gdirectorymonitorprivate.h:
2295 * gio/gfilemonitorprivate.h:
2296 * gio/gdirectorymonitor.h:
2297 * gio/gfilemonitor.h:
2298 Remove *private.h and move to the public API, so that
2299 we can do implementations outside gio (such as in gvfs)
2301 * gio/gdirectorymonitor.c:
2302 * gio/gfilemonitor.c:
2303 * gio/glocaldirectorymonitor.c:
2304 * gio/gpollfilemonitor.c:
2305 * gio/inotify/inotify-helper.c:
2306 * gio/fam/fam-helper.c:
2307 Update to the new header names
2309 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2311 * gio/gdirectorymonitor.c:
2312 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2315 2007-10-04 Alexander Larsson <alexl@redhat.com>
2317 * gio/glocalfileinfo.c (get_access_rights):
2318 Set CAN_TRASH when we can move the file.
2319 We should really also check for a parent trash dir.
2321 2007-10-04 Alexander Larsson <alexl@redhat.com>
2323 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2324 Add can_trash access attribute
2326 2007-10-04 Alexander Larsson <alexl@redhat.com>
2329 (g_local_file_trash):
2330 Create info file first. This is per-spec and allows
2331 us to actually trash directories.
2333 2007-10-02 Alexander Larsson <alexl@redhat.com>
2335 * gio/gdesktopappinfo.c:
2336 Implement the new mime support code.
2337 Always set app as handling mimetype when being set as default for it
2339 2007-10-01 Alexander Larsson <alexl@redhat.com>
2341 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2342 Fix up check for xattrs:
2344 2007-10-01 Alexander Larsson <alexl@redhat.com>
2347 (g_app_info_set_as_default_for_extension):
2348 (g_app_info_add_supports_type):
2349 (g_app_info_can_remove_supports_type):
2350 (g_app_info_remove_supports_type):
2351 Make these fail nicely if not implemented
2353 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2355 * gio/glocalfileoutputstream.c:
2356 * gio/glocalfileoutputstream.h:
2361 * programs/gio-save.c:
2362 Add a GFileCreateFlags argument to operations that can create
2365 2007-10-01 Alexander Larsson <alexl@redhat.com>
2367 * gio/gappinfo.[ch]:
2368 * gio/gdesktopappinfo.c:
2369 Add more (stubbed out) mime API needed for nautilus
2371 2007-10-01 Alexander Larsson <alexl@redhat.com>
2374 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2375 Add g_app_info_set_as_default_for_extension.
2377 * gio/gdesktopappinfo.c:
2378 Dummy for g_app_info_set_as_default_for_extension
2379 Support flags in g_app_info_create_from_commandline
2381 * gio/gwin32appinfo.c:
2383 Update for API changes
2385 * gio/gthemedicon.c:
2386 Properly NULL-terminate list of icon names
2388 2007-09-28 Alexander Larsson <alexl@redhat.com>
2390 * gio/gloadableicon.h:
2391 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2393 2007-09-28 Alexander Larsson <alexl@redhat.com>
2396 Install headers in $includedir/gio-standalone/
2398 * gio-2.0.pc.in: Added.
2399 * gio-standalone.pc.in: Removed.
2402 Renamed pkg-config file to match glib (for future move)
2403 Update to the new include dir
2406 Add more TODO comments
2408 2007-09-28 Alexander Larsson <alexl@redhat.com>
2410 * gio/gdesktopappinfo.[ch]:
2411 Expose new_from_filename
2412 Add getter for is_hidden and handle it better
2414 2007-09-28 Alexander Larsson <alexl@redhat.com>
2416 * gio/gfileinfo.[ch]:
2417 Rename g_file_size_format_for_display to
2418 g_format_file_size_for_display.
2419 Now it doesn't have the g_file prefix, so we
2420 can later move it to glib.
2422 2007-09-28 Alexander Larsson <alexl@redhat.com>
2424 * gio/gappinfo.[ch]:
2425 Add g_app_info_get_id and g_app_info_get_executable.
2426 Make all getters non-reffing
2427 Make g_app_info_launch take GFile arguments.
2428 Add must_support_uris argument to g_app_info_get_default_for_type.
2430 * gio/gwin32appinfo.c:
2431 Update to GAppInfo api changes
2433 * gio/gdesktopappinfo.c:
2434 Update to GAppInfo api changes
2435 Implement supports_xdg_startup_notify
2437 * gio/gfileicon.c (g_file_icon_get_file):
2438 Make getter non-reffing.
2443 2007-09-27 Alexander Larsson <alexl@redhat.com>
2445 * gio/gfileinfo.[ch]:
2446 Add g_file_size_format_for_display helper
2448 2007-09-27 Alexander Larsson <alexl@redhat.com>
2450 * gio/glocalfileinfo.c:
2451 Set UNIX_GID from gid, not from uid
2453 2007-09-27 Alexander Larsson <alexl@redhat.com>
2456 Add g_file_set_attributes_async
2458 2007-09-27 Alexander Larsson <alexl@redhat.com>
2460 * gio/glocalfile.c (g_local_file_set_display_name):
2461 Fix set_display_name to actually rename to the right place.
2462 Use lstat to look for existing files so we don't overwrite
2465 2007-09-26 Alexander Larsson <alexl@redhat.com>
2468 Add g_file_set_display_name_async()
2470 2007-09-26 Alexander Larsson <alexl@redhat.com>
2473 Add load_partial_contents async calls
2476 Make internal function static
2478 2007-09-26 Alexander Larsson <alexl@redhat.com>
2480 * gio/glocalfileinfo.c:
2481 Correctly detect broken symlinks
2483 2007-09-26 Alexander Larsson <alexl@redhat.com>
2485 * gio/gcancellable.c (g_cancellable_cancel):
2486 Allow cancel on NULL cancellable
2488 2007-09-25 Alexander Larsson <alexl@redhat.com>
2490 * gio/gsimpleasyncresult.c:
2491 Don't allocate g_error manually.
2492 Fixes g_slice/g_new mixup crash
2494 2007-09-25 Alexander Larsson <alexl@redhat.com>
2496 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2497 Actually set active_backend.
2498 This means the monitor will be cancelled correctly.
2500 2007-09-25 Alexander Larsson <alexl@redhat.com>
2502 * gio/gdirectorymonitor.c:
2503 Set timeout to NULL when destroying
2505 2007-09-25 Alexander Larsson <alexl@redhat.com>
2508 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2509 that is a better description of the error.
2511 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2513 * gio/gvfs.c: (g_vfs_get_local):
2514 Make the local vfs variable static. The same instance should
2517 2007-09-24 Alexander Larsson <alexl@redhat.com>
2519 * gio/glocalfileinfo.c:
2520 Pass in actual length read into sniffer, not the length
2523 2007-09-21 Alexander Larsson <alexl@redhat.com>
2525 * gio/gfileenumerator.c:
2528 * gio/gfileinputstream.c:
2529 * gio/gfileoutputstream.c:
2530 * gio/ginputstream.c:
2531 * gio/goutputstream.c:
2532 Don't crash if async callbacks are NULL
2534 2007-09-20 Alexander Larsson <alexl@redhat.com>
2537 Add async enumerate_children method and default
2540 2007-09-20 Alexander Larsson <alexl@redhat.com>
2543 Add g_file_contains_file & g_file_get_relative_path, since they
2544 were needed for nautilus.
2545 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2550 Implement new methods
2552 2007-09-17 Alexander Larsson <alexl@redhat.com>
2555 * gio/gfileinputstream.[ch]:
2556 * gio/gfileoutputstream.[ch]:
2558 * gio/glocalfileenumerator.[ch]:
2559 * gio/glocalfileinfo.[ch]:
2560 * gio/glocalfileinputstream.c:
2561 * gio/glocalfileoutputstream.c:
2562 * gio/gpollfilemonitor.c:
2563 * programs/gio-copy.c:
2564 * programs/gio-info.c:
2565 * programs/gio-move.c:
2566 Rename get_file_info to query_info() to make it clearer
2567 that these are not simple getters, but do i/o.
2569 2007-09-17 Alexander Larsson <alexl@redhat.com>
2571 * gio/gdatainputstream.[ch]:
2572 * gio/test-streams.c:
2573 Use _read_XXX instead of _get_XXX for the i/o calls
2576 2007-09-17 Alexander Larsson <alexl@redhat.com>
2579 Added needed stuff to TODO comment
2581 2007-09-17 Alexander Larsson <alexl@redhat.com>
2583 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2584 Don't error out removing the backup copy if it doesn't
2587 2007-09-14 Alexander Larsson <alexl@redhat.com>
2589 * programs/Makefile.am:
2590 * programs/gvfs-*.c:
2592 Renamed apps from gvfs-xxx to gio-xxx.
2594 2007-09-14 Alexander Larsson <alexl@redhat.com>
2597 * gio/gfileoutputstream.[ch]:
2598 * gio/glocalfileoutputstream.c:
2599 * programs/gvfs-save.c:
2600 g_file_output_stream_get_etag doesn't do i/o, so remove
2601 cancellation and error.
2603 2007-09-14 Alexander Larsson <alexl@redhat.com>
2606 Add new_etag output to replace_contents functions
2608 2007-09-14 Alexander Larsson <alexl@redhat.com>
2610 * gio/gfileoutputstream.[ch]:
2611 Add async get_file_info and default implementation
2613 2007-09-14 Alexander Larsson <alexl@redhat.com>
2615 * gio/gfileinputstream.c:
2616 Implement fallback wrapper for async get_file_info
2618 2007-09-14 Alexander Larsson <alexl@redhat.com>
2621 Add etag out argument to load_contents
2626 2007-09-14 Alexander Larsson <alexl@redhat.com>
2628 * gio/gcontenttype.c (looks_like_text):
2629 Whitespace like tab, cr and lf do not make the
2632 2007-09-14 Alexander Larsson <alexl@redhat.com>
2634 * gio/gfileinputstream.[ch]:
2635 Add async get_file_info.
2637 2007-09-13 Alexander Larsson <alexl@redhat.com>
2639 * gio/goutputstream.c (g_output_stream_write_all):
2640 Allow NULL for bytes_written
2642 2007-09-13 Alexander Larsson <alexl@redhat.com>
2644 * gio/gmemoryinputstream.[ch]:
2645 Add accessors for data
2647 2007-09-13 Alexander Larsson <alexl@redhat.com>
2649 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2650 Don't crash if length is NULL