1 2008-01-24 Matthias Clasen <mclasen@redhat.com>
3 * gioscheduler.h: Expand docs a bit.
5 2008-01-24 Alexander Larsson <alexl@redhat.com>
8 Add g_drive_get_identifier and
9 g_drive_enumerate_identifiers
12 Add g_volume_get_identifier and
13 g_volume_enumerate_identifiers
19 Implement identifiers for unix backend
21 2008-01-24 Alexander Larsson <alexl@redhat.com>
26 Add g_file_copy_async() (#511580)
27 Based on patch from Carlos Garcia Campos
29 2008-01-23 Matthias Clasen <mclasen@redhat.com>
31 * gioscheduler.c: Some documentation additions.
33 2008-01-22 Alexander Larsson <alexl@redhat.com>
36 (g_desktop_app_info_new):
39 2008-01-22 Alexander Larsson <alexl@redhat.com>
42 (g_desktop_app_info_new_from_filename):
45 2008-01-22 Alexander Larsson <alexl@redhat.com>
47 * glocalfileinfo.c (get_thumbnail_attributes):
50 2008-01-22 Alexander Larsson <alexl@redhat.com>
53 (canonicalize_filename):
54 Canonicalize paths that start with more than
59 (test_g_file_new_for_path):
62 2008-01-22 Alexander Larsson <alexl@redhat.com>
65 Allow UTF-8 in file:// parse names.
68 * tests/data-input-stream.c:
69 * tests/data-output-stream.c:
70 * tests/g-file-info.c:
72 Added a bunch of tests from Tomas Bzatek
74 2008-01-21 Matthias Clasen <mclasen@redhat.com>
76 * === Released 2.15.3 ===
78 2008-01-21 Alexander Larsson <alexl@redhat.com>
80 * gfileinputstream.[ch]:
81 * gfileoutputstream.[ch]:
83 Remove duplicated GSeekable functions. (#509990)
84 Just use the g_seekable_xxx() calls instead.
86 2008-01-21 Matthias Clasen <mclasen@redhat.com>
89 * gvolumemanager.c: Whitespace cleanups.
91 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
92 Use the right mode when creating the file.
94 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
99 * goutputstream.c: Documentation: Fixed minor typos
100 and added more mentions of specific _finish() functions.
102 2008-01-21 Alexander Larsson <alexl@redhat.com>
104 * inotify/Makefile.am:
105 * inotify/inotify-helper.c:
106 * inotify/inotify-kernel.c:
107 * inotify/inotify-path.c:
108 * inotify/local_inotify.h: Removed.
109 * inotify/local_inotify_syscalls.h: Removed.
110 Removed the included copies of the inotify
111 headers. We now only use the <sys/inotify.h>
112 header which exists on modern systems.
113 This fixes problems on ARM and SH5 (#510448)
114 but is also generally much cleaner and future
115 safe. For instance, if other OSes add support
116 for inotify it should "just work".
118 2008-01-20 Matthias Clasen <mclasen@redhat.com>
120 * inotify/*.c: Coding style fixes.
121 * inotify/inotify-missing.c: Use g_timeout_add_seconds
122 for the 1/4 Hz timer.
124 2008-01-20 Matthias Clasen <mclasen@redhat.com>
128 * gmemoryinputstream.c:
129 * gmemoryoutputstream.c:
131 * gthemedicon.c: Documentation updates
133 2008-01-20 Murray Cumming <murrayc@murrayc.com>
135 * gfile.c: documentation: Fixed more minor
138 2008-01-18 Murray Cumming <murrayc@murrayc.com>
140 * gmount.c: (g_mount_remount): documentation:
141 Mention g_mount_remount_finish() instead of
142 g_mount_unmount_finish().
144 2008-01-18 Murray Cumming <murrayc@murrayc.com>
148 * gfile.c: Fixed some minor typos in the
151 2008-01-18 Murray Cumming <murrayc@murrayc.com>
153 * gio/gvolumemonitor.c:
154 (g_volume_monitor_get_connected_drives):
155 (g_volume_monitor_get_volumes):
156 (g_volume_monitor_get_mounts): Documentation:
157 Clarify the ownership of the regurn GLists.
159 2008-01-17 Alexander Larsson <alexl@redhat.com>
162 Add the async find_enclosing_mount version
163 to the header file too.
165 2008-01-17 Alexander Larsson <alexl@redhat.com>
168 Add async version of find_enclosing_mount
169 with default implementation.
171 2008-01-17 Alexander Larsson <alexl@redhat.com>
176 Allow calls to implementation of copy and write
177 even if the type of the file implementations is
178 different. This can be used to implement native
179 upload and download calls in a vfs.
183 Protect against the case where move is called
184 with one file not being local.
186 Make sure we call the progress callback once
187 in the native move operation so that the caller
188 knows how many bytes were copied.
190 2008-01-16 Murray Cumming <murrayc@murrayc.com>
193 * gdatainputstream.c:
195 * gfileoutputstream.c:
200 * gunixmounts.c: Corrected some typos in the documentation:
202 its -> it's (where appropriate).
204 2008-01-16 Alexander Larsson <alexl@redhat.com>
208 Add g_file_query_exists (#508771)
210 2008-01-15 Murray Cumming <murrayc@murrayc.com>
215 * gvolume.c: For async functions that have no non-async
216 version, document that the GAsyncReadyCallback may be NULL.
219 2008-01-15 Alexander Larsson <alexl@redhat.com>
221 * gmemoryinputstream.c:
222 * gmemoryoutputstream.c:
223 Don't do pointer arithmetic on void * (#508602)
224 Patch from Kazuki IWAMOTO
226 2008-01-14 Matthias Clasen <mclasen@redhat.com>
228 * === Released 2.15.2 ===
230 2008-01-14 Alexander Larsson <alexl@redhat.com>
232 * gfile.c (g_file_monitor_file):
233 Don't set error here, since we fallback to polling monitor.
235 2008-01-14 Alexander Larsson <alexl@redhat.com>
238 (g_file_monitor_directory):
239 (g_file_monitor_file):
240 Add GError to file monitor calls
242 * glocaldirectorymonitor.c:
243 * glocaldirectorymonitor.h:
245 * glocalfilemonitor.c:
246 * glocalfilemonitor.h:
248 Update for above change
250 2008-01-14 Alexander Larsson <alexl@redhat.com>
254 Handle root correctly in g_file_get_relative_path (#508719)
256 2008-01-14 Alexander Larsson <alexl@redhat.com>
259 Clean up docs and example for GAsyncResult (#508074)
261 2008-01-11 Murray Cumming <murrayc@murrayc.com>
263 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
264 and correct some spelling mistakes. Bug #508108.
266 2008-01-11 Matthias Clasen <mclasen@redhat.com>
268 * glocalfileinfo.c: Add a comment.
270 2008-01-10 Murray Cumming <murrayc@murrayc.com>
272 * gfileinfo.c: GFileInfo description: Mention
273 how to actually set attributes in a GFile and how to discover
274 which attributes are settable. Bug #508378.
276 2008-01-10 A. Walton <awalton@svn.gnome.org>
278 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
279 (g_app_info_get_default_for_type):
280 Check for NULL content types.
282 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
284 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
286 2008-01-09 Murray Cumming <murrayc@murrayc.com>
288 * gfile.c: *_async() functions: Several small corrections
289 to the documentation, mostly correcting copy/paste errors
290 and improving some sentences.
292 2008-01-09 Dan Winship <danw@gnome.org>
294 * glocalfile.c (get_unique_filename): x86_64 fix
296 2008-01-09 Alexander Larsson <alexl@redhat.com>
301 Add g_unix_mount_guess_should_display and use
302 for unix volume monitor backend.
303 This means we more or less show what the
304 gnome-vfs backend did.
305 Based on patch from Padraig O'Briain
307 2008-01-09 Alexander Larsson <alexl@redhat.com>
311 Add g_themed_icon_new_with_default_fallbacks
314 Use default fallbacks for icons
316 2008-01-09 Alexander Larsson <alexl@redhat.com>
319 * gmountoperation.[ch]:
320 Change the API a bit so that unhandled methods
321 get reported via the reply, rather than by
322 the signal emission return value. This is because
323 some handlers can't know this immediately without
324 doing I/O, and this is an async operation that
327 2008-01-09 Alexander Larsson <alexl@redhat.com>
330 * fam/gfamdirectorymonitor.c:
331 * fam/gfamfilemonitor.c:
332 Fix double free crash (#508224)
333 Patch from Joe Marcus Clarke
335 008-01-07 Matthias Clasen <mclasen@redhat.com>
337 * === Released 2.15.1 ===
339 2008-01-07 Alexander Larsson <alexl@redhat.com>
341 * gunixinputstream.c (g_unix_input_stream_skip_finish):
342 Fix warning (#507835)
344 2008-01-07 Alexander Larsson <alexl@redhat.com>
347 Pass --internal to glib-genmarshal
352 Use better types for signal arguments (#507822)
354 2008-01-07 Alexander Larsson <alexl@redhat.com>
357 Build test subdir after .
358 Remove gdirectorymonitor.[ch]
360 * gdirectorymonitor.[ch]:
364 Remove GDirectoryMonitor and make
365 GFileMonitor the baseclass for both file and
366 directory monitors. Lift the more generic
367 rate limiting code from GDirectoryMonitor
371 * fam/gfamdirectorymonitor.[ch]:
372 * inotify/ginotifydirectorymonitor.[ch]:
373 * inotify/inotify-helper.c:
374 * glocaldirectorymonitor.[ch]:
377 Update for the removed GDirectoryMonitor.
379 * gmemoryoutputstream.c:
380 Remove ununsed variable
382 2008-01-07 Alexander Larsson <alexl@redhat.com>
384 * gmemoryinputstream.c:
385 Translate error strings
388 * gmemoryoutputstream.[ch]:
389 New implementation that avoids using GByteArray
390 in implementation and API. (#506377)
392 2008-01-06 Matthias Clasen <mclasen@redhat.com>
394 * tests/*: Add a test for memory input streams.
396 * Makefile.am: Add tests to SUBDIRS.
398 2008-01-06 Matthias Clasen <mclasen@redhat.com>
400 * glocalfilemonitor.c:
401 * glocaldirectorymonitor.c: Mark property nicks and blurbs
404 2008-01-06 Matthias Clasen <mclasen@redhat.com>
406 * gdesktopappinfo.c: Fix a docs typo.
408 * gfileattribute.c: Add information about extended attributes
409 to the documentation. (#505058)
411 2008-01-04 Alexander Larsson <alexl@redhat.com>
415 Use the right type (uint) for the ask_password signal.
417 2008-01-04 Alexander Larsson <alexl@redhat.com>
422 Add g_app_info_supports_files()
423 Remove desktop arg from g_app_info_should_show().
425 * gdesktopappinfo.[ch]:
426 Implement g_app_info_supports_files() and new should_show()
427 Add g_desktop_app_info_set_desktop_env() to set the desktop
428 for should_show(). (This will be set by gtk+ later)
430 2008-01-04 Alexander Larsson <alexl@redhat.com>
433 * gmemoryinputstream.[ch]:
434 Improve API so that you can use multiple chunks
435 of memory and custom destroy functions. (#506374)
437 2008-01-03 Alexander Larsson <alexl@redhat.com>
440 Handle NULL attribute matchers safely, as we return this
441 for empty attribute matcher strings.
443 2008-01-03 Alexander Larsson <alexl@redhat.com>
445 * gunixmounts.c (g_unix_is_mount_path_system_internal):
446 Add /usr/local to list of internal mountpoints
448 2008-01-03 Alexander Larsson <alexl@redhat.com>
451 Check for HAVE_LCHOWN (#505887)
453 2008-01-03 Alexander Larsson <alexl@redhat.com>
457 Add define for selinux context attribute.
458 Fix missing : -> :: namespace separator change
459 Fix missing _ -> - name change for xattr-sys.
462 2008-01-03 Alexander Larsson <alexl@redhat.com>
465 Link to libglib and libgobject directly (#504879)
466 Patch from Sebastien Bacher
468 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
470 * gfile.c: Expanded the g_file_new_for_commandline_arg
471 description a bit, based on the code and the docs of the
472 other g_file_new_for_* functions.
474 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
476 * gfilemonitor.h: Fixed typo in docs.
478 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
480 Updates to GIO documentation. (#506395, Mikael Hermansson)
482 * gcontenttype.c: Describe memory management for return value of
483 g_content_types_get_registered(). Missing piece from #505815.
484 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
485 GVolume, GDrive, GMounts, which hopefully gives the user less
486 confusions when using this API. Following explainations from
487 Alexander Larsson on gtk-devel-list.
489 2007-12-30 Matthias Clasen <mclasen@redhat.com>
491 * gfileinfo.c: Expand the long description.
493 2007-12-30 Matthias Clasen <mclasen@redhat.com>
496 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
497 fix builds with --disable-visibility. (#500273, Christian Persch)
499 2007-12-30 Matthias Clasen <mclasen@redhat.com>
501 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
502 in the list of returned app infos.
504 2007-12-30 Matthias Clasen <mclasen@redhat.com>
506 * gappinfo.c: Fix a cross-reference
508 2007-12-30 Matthias Clasen <mclasen@redhat.com>
510 * gfileinputstream.c:
511 * gfileoutputstream.c:
517 * gfileinfo.c: Documentation updates.
519 2007-12-26 Matthias Clasen <mclasen@redhat.com>
521 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
524 2007-12-26 Matthias Clasen <mclasen@redhat.com>
526 * gcontenttype.c (g_content_types_get_registered): Don't return
527 freed memory (#505815, Mikael Hermansson)
529 2007-12-25 Paolo Borelli <pborelli@katamail.com>
531 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
532 used to detect statbuf->st_blocks. (#505042)
534 2007-12-24 Matthias Clasen <mclasen@redhat.com>
536 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
537 environment handling. (#504829, Cosimo Cecchi)
539 2007-12-22 Matthias Clasen <mclasen@redhat.com>
541 * gappinfo.c: Doc improvements
543 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
546 2007-12-20 Matthias Clasen <mclasen@redhat.com>
548 * === Released 2.15.0 ===
550 2007-12-20 Hans Breuer <hans@breuer.org>
552 * makefile.msc : don't build gdesktopappinfo.obj, it collides
553 with symbols gwin32appinfo.obj, added gmount.obj
554 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
556 2007-12-20 Alexander Larsson <alexl@redhat.com>
562 * gfilenamecompleter.c:
565 * gpollfilemonitor.c:
566 File attribute renames:
569 id::fs -> id::filesystem
571 2007-12-20 Alexander Larsson <alexl@redhat.com>
580 Add GMountUnmountFlags to all unmount and
582 Add g_mount_remount() call.
584 2007-12-20 Alexander Larsson <alexl@redhat.com>
586 * gvfs.c (get_default_vfs):
587 Fix unused variable warning
589 2007-12-19 Matthias Clasen <mclasen@redhat.com>
591 * pltcheck.sh: Update
593 2007-12-19 Matthias Clasen <mclasen@redhat.com>
595 * gunionvolumemonitor.c:
596 * gunixmount.c: Remove C99 comments
598 2007-12-19 Matthias Clasen <mclasen@redhat.com>
600 * gio.symbols: Add some missing symbols
602 2007-12-19 Alexander Larsson <alexl@redhat.com>
605 Make g_io_modules_load_all_in_directory not unuse
606 loaded modules so that users of it can do stuff
608 Init internal "module" types.
609 Initialize static prio and name for types so that
610 we don't have to load modules to get it.
612 * gnativevolumemonitor.h:
614 Move is_supported to parent class so that
615 non-native monitors can avoid being initialized
616 too. (For instance GDaemonVolumeMonitor if we're
617 not using GDaemonVfs.)
619 * glocaldirectorymonitor.[ch]:
620 * glocalfilemonitor.[ch]:
621 * gunionvolumemonitor.c:
622 * gunixvolumemonitor.c:
624 Find plugins using the static prio+name to
625 avoid unnecessarily loading the modules.
627 2007-12-19 Alexander Larsson <alexl@redhat.com>
632 2007-12-19 Alexander Larsson <alexl@redhat.com>
634 * gunionvolumemonitor.c:
635 Store the native type as GType, not class so that
636 we can unload it. But still avoid unnecessarily
639 2007-12-19 David Zeuthen <davidz@redhat.com>
641 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
642 add signals 'disconnected' and 'eject-button' on GDrive. Add
643 signal 'removed' on GVolume and 'unmounted' on GMount.
645 * gdrive.c: (g_drive_base_init):
647 * gfile.c: (g_file_mount_mountable),
648 (g_file_mount_enclosing_volume):
651 * gmount.c: (g_mount_base_init):
653 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
654 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
655 * gvolume.c: (g_volume_base_init), (g_volume_mount):
659 2007-12-17 Matthias Clasen <mclasen@redhat.com>
661 * *.c: Fix up includes in the section docs.
663 2007-12-17 Alexander Larsson <alexl@redhat.com>
665 * gnativevolumemonitor.h:
666 * gunionvolumemonitor.c:
667 * gunixvolumemonitor.c:
668 Add is_supported() to GNativeVolumeMonitorClass so
669 that we can avoid having to create an object to see
670 if the backend is supported at runtime.
671 Also add name member and an env var to pick a specific
672 volume monitor backend.
676 Add cancellable to _g_mount_get_for_mount_path()
678 * glocaldirectorymonitor.c:
679 * glocalfilemonitor.c:
680 Avoid loading and unloading modules while sorting.
682 2007-12-17 Matthias Clasen <mclasen@redhat.com>
685 * gunixmounts.[hc]: Namespace waste reduction, move some
686 g_get_unix_mount functions to the g_unix_mount namespace.
689 * gunixvolumemonitor.c:
691 * glocaldirectorymonitor.c: Update all callers.
693 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
695 2007-12-17 Alexander Larsson <alexl@redhat.com>
698 Add doc comments about what GFile operations are
699 guaranteed to not block.
701 2007-12-17 Alexander Larsson <alexl@redhat.com>
704 Add missing #ifdef fixing OSX build.
705 (#503334, patch from Richard Hult)
707 2007-12-14 David Zeuthen <davidz@redhat.com>
711 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
712 (g_mount_eject), (g_mount_eject_finish):
714 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
715 (get_volume_for_uuid), (get_mount_for_uuid),
716 (g_union_volume_monitor_class_init),
717 (get_default_native_type_with_exclude), (get_default_native_type),
718 (get_native_type), (update_native_type),
719 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
720 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
721 (g_unix_mount_can_eject), (eject_unmount_cb),
722 (eject_unmount_read_error), (eject_unmount_do),
723 (g_unix_mount_unmount), (g_unix_mount_eject),
724 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
725 * gunixmounts.c: (g_unix_mount_guess_can_eject),
726 (g_unix_mount_point_guess_can_eject):
728 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
729 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
730 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
731 (g_unix_volume_mount), (g_unix_volume_eject),
732 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
733 * gunixvolumemonitor.c: (get_volume_for_uuid),
734 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
736 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
737 (g_volume_eject), (g_volume_eject_finish):
739 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
740 (g_volume_monitor_get_mount_for_uuid):
743 Provide eject() on both GMount and GVolume and utility functions
744 to guess whether a GUnixMountPoint or GUnixMountEntry should be
745 ejected. Introduce the concept of UUID's and wire it into GVolume
746 and GMount and provide API on GVolumeMonitor to find such
747 instances. Also handle the case where an external
748 GNativeVolumeMonitor fails to initialize. Lock around the
749 _g_get_mount_for_mount_path() function such that volume monitor
750 implementations won't have to do locking themselves.
752 2007-12-17 Matthias Clasen <mclasen@redhat.com>
760 * gvolume.h: Documentation updates
762 2007-12-14 Matthias Clasen <mclasen@redhat.com>
765 * gfile.h: Doc updates
767 2007-12-14 Matthias Clasen <mclasen@redhat.com>
770 * gdesktopappinfo.c: Use hash table iterators.
772 2007-12-14 Alexander Larsson <alexl@redhat.com>
775 * gfileattribute.[ch]:
776 * gfileattribute-priv.h:
777 Move GFileAttributeValue to a private header, as
781 Make set_attribute take a type + a pointer instead
782 of a GFileAttributeValue.
785 Fix up for above changes.
786 Add g_file_info_get_attribute_data to get
787 all info in one call, g_file_info_get_attribute_status
788 to get the status and g_file_info_get_attribute_as_string.
792 * glocalfileinfo.[ch]:
796 Make _guess_type static.
798 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
801 * inotify/Makefile.am: Fixed build when srcdir != builddir,
802 made mkenums and friends use temporary files to avoid leaving
803 empty generated files on failure (#503470).
805 2007-12-14 Alexander Larsson <alexl@redhat.com>
810 2007-12-14 Alexander Larsson <alexl@redhat.com>
814 * gfileattribute.[ch]:
817 * glocalfileoutputstream.c:
818 * gmountoperation.[ch]:
819 * goutputstream.[ch]:
820 Clean up all flags enums to not have _FLAGS in them
821 Make the names of some of the enums better.
826 2007-12-14 Michael Natterer <mitch@imendio.com>
828 * gio.symbols: fix g_io_scheduler symbol names.
830 2007-12-14 Alexander Larsson <alexl@redhat.com>
836 * gbufferedinputstream.h:
837 * gbufferedoutputstream.h:
840 * gdatainputstream.h:
841 * gdataoutputstream.h:
843 * gdirectorymonitor.h:
850 * gfileinputstream.h:
852 * gfilenamecompleter.h:
853 * gfileoutputstream.h:
854 * gfilterinputstream.h:
855 * gfilteroutputstream.h:
863 * gmemoryinputstream.h:
864 * gmemoryoutputstream.h:
869 * gsimpleasyncresult.h:
871 * gunixinputstream.h:
873 * gunixoutputstream.h:
877 * inotify/Makefile.am:
878 Only allow including <gio/gio.h> from apps
880 2007-12-14 Alexander Larsson <alexl@redhat.com>
883 * gsimpleasyncresult.c:
884 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
885 Split out the send_to_mainloop call into two versions instead
886 of having the block argument.
888 2007-12-13 Alexander Larsson <alexl@redhat.com>
892 * gbufferedinputstream.c:
894 * gfileinputstream.c:
895 * gfileoutputstream.c:
899 g_push/pop_current_cancellable ->
900 g_cancellable_push/pop_current
902 2007-12-13 Alexander Larsson <alexl@redhat.com>
906 Rename g_mount_for_location to g_file_mount_enclosing_volume.
908 2007-12-13 Alexander Larsson <alexl@redhat.com>
911 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
913 2007-12-12 Alexander Larsson <alexl@redhat.com>
916 Fix race condition when freeing proxy in
917 g_io_job_send_to_mainloop().
919 2007-12-12 Alexander Larsson <alexl@redhat.com>
925 Make attribute namespace separator "::" instead of ":".
926 Use - instead of _ as separator in attribute names.
928 2007-12-12 Alexander Larsson <alexl@redhat.com>
930 * gbufferedinputstream.h:
931 * gbufferedoutputstream.h:
932 * gdatainputstream.h:
933 * gdataoutputstream.h:
934 * gdirectorymonitor.h:
936 * gfileinputstream.h:
938 * gfileoutputstream.h:
939 * gfilterinputstream.h:
940 * gfilteroutputstream.h:
942 * glocalfileinputstream.h:
943 * glocalfileoutputstream.h:
944 * gmemoryinputstream.h:
945 * gmemoryoutputstream.h:
946 * gnativevolumemonitor.h:
948 * gunixinputstream.h:
949 * gunixoutputstream.h:
952 s/parent/parent_instance/ in GObjects
954 2007-12-12 Alexander Larsson <alexl@redhat.com>
959 No need for padding for interfaces
961 2007-12-12 Alexander Larsson <alexl@redhat.com>
965 * gbufferedinputstream.c:
966 * gbufferedoutputstream.c:
969 * gdatainputstream.[ch]:
971 * gdirectorymonitor.c:
973 * gfileattribute.[ch]:
976 * gfileinputstream.h:
978 * gfileoutputstream.[ch]:
979 * gfilterinputstream.h:
980 * gfilteroutputstream.h:
983 * gloadableicon.[ch]:
984 * gmemoryinputstream.c:
987 Fix up a bunch of details in the docs.
992 2007-12-11 David Zeuthen <davidz@redhat.com>
994 Rework how volumes, drives and volume monitoring is
995 done. Previosly the model was
999 where a GDrive instance represented a mount point and a GVolume
1000 instance represented a mounted file system. This patch changes it
1003 GDrive <1-N> GVolume <1-1> GMount
1005 where GMount now serves the purpose of the old GVolume and the new
1006 GVolume serves the purpose of the old GDrive. In addition the new
1007 GDrive interface is used to represent a collection of GVolume
1008 instances (typically partitions) and also contains utility to query
1009 the state of the physical drive the GDrive object represents (such
1010 as checking for media, polling the drive, ejecting the media etc.).
1012 Also implement mounting and unmounting in the Unix volume monitor
1013 backend. A subquent patch will introduce GDrive support for ejection
1017 * gdrive.c: (g_drive_is_media_check_automatic),
1018 (g_drive_is_media_removable), (g_drive_has_media),
1019 (g_drive_can_poll_for_media), (g_drive_eject),
1020 (g_drive_eject_finish), (g_drive_poll_for_media),
1021 (g_drive_poll_for_media_finish):
1023 * gfile.c: (g_file_find_enclosing_mount):
1026 * glocaldirectorymonitor.c:
1027 (g_local_directory_monitor_constructor), (mounts_changed):
1028 * glocalfile.c: (get_mount_info),
1029 (g_local_file_find_enclosing_mount),
1030 (g_local_file_file_iface_init):
1031 * gnativevolumemonitor.h:
1032 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1033 (get_connected_drives), (g_union_volume_monitor_class_init),
1034 (child_volume_added), (child_volume_removed),
1035 (child_volume_changed), (child_mount_added), (child_mount_removed),
1036 (child_mount_pre_unmount), (child_mount_changed),
1037 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1038 (g_union_volume_monitor_remove_monitor),
1039 (_g_mount_get_for_mount_path):
1040 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1041 (guess_system_internal), (_g_get_unix_mounts),
1042 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1043 (g_unix_mount_free), (g_unix_mount_compare),
1044 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1045 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1046 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1047 (type_to_icon), (g_unix_mount_guess_name),
1048 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1049 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1050 (_resolve_symlink), (_resolve_dev_root):
1052 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1053 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1054 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1055 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1056 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1057 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1058 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1059 (g_unix_volume_volume_iface_init):
1061 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1062 (get_mounts), (get_volumes), (get_connected_drives),
1063 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1064 (mountpoints_changed), (mounts_changed),
1065 (g_unix_volume_monitor_init),
1066 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1067 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1068 * gunixvolumemonitor.h:
1069 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1070 (g_volume_mount), (g_volume_mount_finish):
1072 * gvolumemonitor.c: (g_volume_monitor_class_init),
1073 (g_volume_monitor_get_connected_drives),
1074 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1077 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1079 * gmountoperation.h (GPasswordFlags): Close the gap
1081 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1083 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1085 * gdesktopappinfo.[hc]: Remove _-prefixes
1087 2007-12-10 Tor Lillqvist <tml@novell.com>
1089 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1092 2007-12-10 Alexander Larsson <alexl@redhat.com>
1094 * gfile.c (g_file_set_display_name):
1095 Don't hardcode '/' (#502727)
1097 2007-12-09 Hans Breuer <hans@breuer.org>
1099 * makefile.msc : follow lib naming convention
1100 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1101 for user and group name, tested with ../tests/gio-ls
1103 2007-12-09 A. Walton <awalton@svn.gnome.org>
1105 * gdesktopappinfo.c:
1111 * gfileenumerator.c:
1116 * gmemoryinputstream.c:
1117 * gmemoryoutputstream.c:
1119 * gsimpleasyncresult.c:
1120 More documentation cleanup and filling in missing information, bringing
1121 GIO to 99% symbol coverage.
1123 2007-12-08 Hans Breuer <hans@breuer.org>
1125 [gio compiles and links on win32, not sure how much already works]
1126 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1127 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1128 base on win32 API; prefer g_lstat() over lstat(); instead of
1129 localtime_r() use an all GLib implementation on win32;
1130 get_mount_info() still needs a win32 specifc implementation
1131 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1132 win32_get_file_user_info to get owner/group info without uid/gid
1133 * glocalfileinputstream.c : include <io.h> on win32
1134 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1135 definition, use g_win32_ftruncate() for G_OS_WIN32
1136 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1137 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1138 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1139 * makefile.msc : updated
1141 2007-12-07 Alexander Larsson <alexl@redhat.com>
1143 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1144 Avoid warning spew if error == NULL
1146 2007-12-07 Alexander Larsson <alexl@redhat.com>
1149 Update docs wrt etags
1151 2007-12-06 Alexander Larsson <alexl@redhat.com>
1154 Include sys/types.h for dev_t (#501919)
1156 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1160 Make abicheck and pltcheck pass.
1162 2007-12-05 Alexander Larsson <alexl@redhat.com>
1165 * giomodule-priv.h: Added.
1166 * glocaldirectorymonitor.c:
1167 * glocalfilemonitor.c:
1168 * gunionvolumemonitor.c:
1170 Actually add the declaration of _g_io_modules_ensure_loaded
1172 2007-12-05 Alexander Larsson <alexl@redhat.com>
1174 * gdatainputstream.c:
1179 * glocaldirectorymonitor.c:
1180 * glocalfilemonitor.c:
1181 * gunionvolumemonitor.c:
1183 Make g_io_modules_ensure_loaded a private function and
1184 don't pass in the dirname. This means we can do magic
1185 directory finding in the win32 version.
1186 Export the actual load-modules-in-directory code so that
1187 gvfs can reuse that.
1189 2007-12-05 Alexander Larsson <alexl@redhat.com>
1191 * gbufferedinputstream.c:
1192 * gbufferedoutputstream.c:
1195 * gfileenumerator.[ch]:
1196 * gfileinputstream.c:
1197 * gfileoutputstream.[ch]:
1198 * gfilterinputstream.c:
1199 * gfilteroutputstream.c:
1200 * ginputstream.[ch]:
1202 * glocalfileenumerator.c:
1203 * glocalfileinputstream.c:
1204 * glocalfileoutputstream.c:
1205 * gmemoryinputstream.c:
1206 * gmemoryoutputstream.c:
1207 * goutputstream.[ch]:
1210 * gunixinputstream.c:
1211 * gunixoutputstream.c:
1212 Rename all struct members named:
1213 read, write, close, truncate, or mount
1214 to foo_fn, as these are reserved names
1215 and could be defined as macros in libc.
1218 2007-12-04 Alexander Larsson <alexl@redhat.com>
1221 (g_output_stream_close):
1222 Only call flush if non-null.
1224 2007-11-30 Dan Winship <danw@gnome.org>
1226 * ginputstream.c (g_input_stream_set_pending): Make this take a
1227 GError and return a gboolean, and do the "outstanding operation"
1228 check (and the "stream is already closed" check) itself.
1229 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1231 * goutputstream.c (g_output_stream_set_pending)
1232 (g_output_stream_clear_pending): Likewise
1234 * gbufferedinputstream.c:
1235 * gfileinputstream.c:
1236 * gfileoutputstream.c: Update for that
1238 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1239 Like g_simple_async_report_error_in_idle, but takes a GError
1240 rather than building one.
1242 2007-11-30 Dan Winship <danw@gnome.org>
1244 * goutputstream.c: Don't cheat and unset the "pending" flag around
1245 inner calls. Instead, call the class method directly rather than
1246 the wrapper function that checks "pending"
1248 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1250 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1252 2007-12-03 Hans Breuer <hans@breuer.org>
1254 [start of port to win32/msvc]
1255 * gcancellable.c : HAVE_UNIST_H and _pipe()
1256 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1257 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1258 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1260 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1261 * glocalvfs.c : use HAVE_PWD_H
1262 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1263 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1264 * Makefile.am : added to EXTRA_DIST
1266 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1268 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1271 2007-12-03 Alexander Larsson <alexl@redhat.com>
1274 Handle OSX style xattrs API (#500506)
1276 2007-12-03 Alexander Larsson <alexl@redhat.com>
1280 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1282 2007-12-02 A. Walton <awalton@svn.gnome.org>
1286 Documentation accuracy fixes.
1288 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1290 * gioenumtypes.c.template: Fix typo.
1292 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1294 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1296 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1298 * gdirectorymonitor.c:
1299 * gfilemonitor.c: Add properties
1301 * gbufferedoutputstream.c: Don't mark buffer-size property
1304 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1306 * gbufferedoutputstream.c: Add auto-grow property.
1308 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1310 * *.c: Unify the capitalization of section headings.
1312 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1314 * gmountoperation.c: Add properties
1316 * gdatainputstream.c: Turn byte-order and newline-type into
1319 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1321 * gioenumtypes.[hc].template: Templates for enum registration
1323 * Makefile.am: Generate gioenumtypes.[hc]
1325 * gio.h: Include gioenumtypes.h
1327 * gfile.h: Add some explicit nicks.
1329 * gio.symbols: Add new symbols
1331 * pltcheck.sh: Adjust
1333 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1335 * *.c: Explain etags and link to the explanation
1337 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1339 * *.c: Explain I/O priority.
1341 * *.c: More coding style fixes.
1343 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1345 * gasyncresult.c: Add another paragraph to the intro,
1346 adjust coding style of example.
1348 2007-11-29 A. Walton <awalton@svn.gnome.org>
1351 Fixes unknown meaning in GAppLaunchContext docs.
1353 Clarify asynchronous ops.
1355 Fix entity tag docs.
1358 Provides missing gtk-doc section, fixes API docs slighly.
1359 * gsimpleasyncresult.c:
1360 Fill in missing info in docs.
1361 * gunixinputstream.c:
1362 * gunixoutputstream.c:
1363 Be more expressive in short description.
1365 Remove gtk-doc stubs for non-public API.
1367 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1369 * *.c: Coding style fixups
1371 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1373 * inotify/inotify-helper.c: Don't export the lock from libgio.
1375 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1378 * abicheck.sh: Fix copy-and-paste leftovers
1380 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1382 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1384 2007-11-28 Alexander Larsson <alexl@redhat.com>
1388 Removed unnecessary file
1390 * gdesktopappinfo.[ch]:
1393 * glocaldirectorymonitor.[ch]:
1395 * glocalfileenumerator.[ch]:
1396 * glocalfileinputstream.[ch]:
1397 * glocalfilemonitor.[ch]:
1398 * glocalfileoutputstream.[ch]:
1400 * gnativevolumemonitor.c:
1401 * gpollfilemonitor.[ch]:
1402 * gunionvolumemonitor.[ch]:
1405 * gunixvolumemonitor.[ch]:
1408 * inotify/ginotifydirectorymonitor.[ch]:
1409 * inotify/ginotifyfilemonitor.[ch]:
1410 * inotify/inotify-helper.c:
1411 Append _ to all internal functions
1415 Export symbols needed for modules
1417 2007-11-28 Alexander Larsson <alexl@redhat.com>
1420 * abicheck.sh: Added.
1421 * makegioalias.pl: Added.
1422 * pltcheck.sh: Added.
1423 * gio.symbols: Added.
1426 Initial work on adding symbol handling.
1429 Correct ifdef guard name
1432 * inotify/Makefile.am:
1433 * xdgmime/Makefile.am:
1434 Include toplevel Makefile.decl
1436 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1438 * gcontenttype.c: Move doc comments to the unix section.
1440 * *.[hc]: More trivial doc corrections.
1442 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1444 * gpollfilemonitor.c:
1448 * gdesktopappinfo.c:
1453 * gdatainputstream.c:
1454 * gdatainputstream.h:
1455 * gdataoutputstream.c:
1456 * gdataoutputstream.h:
1457 * gfileinfo.h: Doc cleanups
1459 2007-11-28 Andre Klapper <a9016009@gmx.de>
1461 * gdesktopappinfo.c: Fix a typo.
1463 2007-11-27 Andre Klapper <a9016009@gmx.de>
1465 * glocalfileoutputstream.c: Fix a typo.
1467 2007-11-27 Alexander Larsson <alexl@redhat.com>
1470 Don't include removed headers
1472 2007-11-27 Alexander Larsson <alexl@redhat.com>
1475 * gsocketinputstream.[ch]: Removed.
1476 * gsocketoutputstream.[ch]: Removed.
1477 * gunixinputstream.[ch]: Added.
1478 * gunixoutputstream.[ch]: Added.
1479 Renamed GSocket*Stream to GUnix*Stream and made
1480 it unix-only, since its not really only for sockets
1481 and it only works on unix (but is highly useful there).
1483 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1489 * gbufferedinputstream.c:
1490 * gbufferedinputstream.h:
1491 * gbufferedoutputstream.c:
1492 * gbufferedoutputstream.h:
1496 * gdatainputstream.c:
1497 * gdatainputstream.h:
1498 * gdataoutputstream.c:
1499 * gdataoutputstream.h:
1500 * gdirectorymonitor.c:
1501 * gdirectorymonitor.h:
1508 * gfileenumerator.c:
1509 * gfileenumerator.h:
1514 * gfileinputstream.c:
1515 * gfileinputstream.h:
1518 * gfilenamecompleter.c:
1519 * gfilenamecompleter.h:
1520 * gfileoutputstream.c:
1521 * gfileoutputstream.h:
1522 * gfilterinputstream.c:
1523 * gfilterinputstream.h:
1524 * gfilteroutputstream.c:
1525 * gfilteroutputstream.h:
1538 * glocalfileoutputstream.c:
1539 * gmemoryinputstream.c:
1540 * gmemoryinputstream.h:
1541 * gmemoryoutputstream.c:
1542 * gmemoryoutputstream.h:
1543 * gmountoperation.c:
1544 * gmountoperation.h:
1547 * gpollfilemonitor.c:
1550 * gsimpleasyncresult.c:
1551 * gsimpleasyncresult.h:
1552 * gsocketinputstream.c:
1553 * gsocketinputstream.h:
1554 * gsocketoutputstream.c:
1555 * gsocketoutputstream.h:
1562 * gunixvolumemonitor.c:
1571 Bumps documentation to 93% symbol coverage, touching most
1572 of the public files. Fixes broken function documentation prototypes.
1573 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1574 gtk-doc headers in private files.
1576 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1578 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1579 (g_buffered_input_stream_read_byte):
1580 * gbufferedinputstream.h:
1581 New functions for efficient access to buffer and simple single byte
1584 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1585 (g_data_input_stream_read_until):
1586 * gdatainputstream.h:
1587 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1588 read_until with multiple stop chars.
1590 2007-11-27 Alexander Larsson <alexl@redhat.com>
1594 * inotify/Makefile.am:
1595 Use the user-specified giomoduledir
1597 2007-11-27 Alexander Larsson <alexl@redhat.com>
1601 Add catch-all gio.h header
1602 Don't install gdummyfile.h
1604 2007-11-26 Alexander Larsson <alexl@redhat.com>
1606 * Makefile.am (gioinclude_HEADERS):
1607 Remove trailing whitespace
1609 2007-11-26 Alexander Larsson <alexl@redhat.com>
1611 Merge gio-standalone into glib
1613 2007-11-25 Christian Kellner <gicmo@gnome.org>
1615 * gio/goutputstream.c:
1616 Fix small mistake in the docs.
1618 2007-11-21 Christian Persch <chpe@gnome.org>
1620 * gio/glocalfile.c: (g_local_file_trash):
1621 Convert filenames to UTF-8 for GError.
1622 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1623 as per xdg base dir spec.
1625 2007-11-21 Christian Persch <chpe@gnome.org>
1627 * gio/gdesktopappinfo.c:
1628 Use that g_key_file_to_data cannot fail.
1630 Use stock defines for the key file group and key names.
1633 2007-11-21 Alexander Larsson <alexl@redhat.com>
1636 (copy_stream_with_progress):
1637 Make sure we do a final progress callback with
1638 the full total size.
1640 2007-11-21 Alexander Larsson <alexl@redhat.com>
1643 Export g_file_copy_attributes
1644 Remove padding as its not needed for interfaces
1646 2007-11-20 Alexander Larsson <alexl@redhat.com>
1651 Add G_IO_ERROR_WOULD_MERGE for
1652 copy/move dir on dir with overwrite.
1654 2007-11-20 Alexander Larsson <alexl@redhat.com>
1657 * gio/glocalfileinfo.c:
1658 Add COPY_NAME (this is an optional
1659 non-modified utf8 version of the name) that
1662 2007-11-20 Alexander Larsson <alexl@redhat.com>
1664 * gio/glocalfileenumerator.c:
1665 Report errors as GIOError, not GFileError
1667 2007-11-16 Alexander Larsson <alexl@redhat.com>
1669 * gio/glocalfileoutputstream.c:
1670 * gio/gwin32appinfo.c:
1671 Fix typos in strings.
1672 Patch from Luca Ferretti <elle.uca@libero.it>
1674 2007-11-15 Alexander Larsson <alexl@redhat.com>
1677 Post release version bump
1679 === gio-standalone 0.1.2 ===
1681 2007-11-15 Alexander Larsson <alexl@redhat.com>
1683 * docs/reference/gio/Makefile.am:
1684 Fix up distcheck by removing weird
1690 2007-11-14 Alexander Larsson <alexl@redhat.com>
1692 * gio/gdesktopappinfo.c:
1693 * gio/glocaldirectorymonitor.c:
1695 * gio/glocalfileinfo.c:
1696 * gio/inotify/inotify-sub.c:
1697 * programs/gio-cat.c:
1698 * programs/gio-copy.c:
1699 * programs/gio-info.c:
1700 * programs/gio-ls.c:
1701 * programs/gio-monitor-dir.c:
1702 * programs/gio-monitor-file.c:
1703 * programs/gio-mount.c:
1704 * programs/gio-move.c:
1705 * programs/gio-rm.c:
1706 * programs/gio-save.c:
1707 * programs/gio-trash.c:
1708 Leak fixes from Kjartan Maraas
1710 2007-11-14 Alexander Larsson <alexl@redhat.com>
1712 * gio/fam/fam-helper.c:
1714 * gio/glocalfileinfo.c:
1718 * gio/inotify/inotify-diag.c:
1719 * gio/inotify/inotify-kernel.c:
1720 Various code cleanups from Kjartan Maraas
1722 2007-11-14 Alexander Larsson <alexl@redhat.com>
1724 * gio/gioscheduler.c:
1726 Set up threadpool so that we cache 2 unused
1727 idle threads for at 15 secs. This means we
1728 will reuse thread-local data (like dbus connections)
1731 2007-11-14 Alexander Larsson <alexl@redhat.com>
1733 * gio/fam/fam-helper.c:
1734 * gio/fam/gfamdirectorymonitor.c:
1735 * gio/fam/gfamfilemonitor.c:
1737 * gio/gcontenttype.c:
1738 * gio/gdatainputstream.c:
1739 * gio/gdataoutputstream.c:
1743 * gio/gfileattribute.h:
1744 * gio/gfileenumerator.c:
1746 * gio/ginputstream.c:
1749 * gio/glocalfileinfo.c:
1750 * gio/goutputstream.c:
1751 * gio/gpollfilemonitor.c:
1752 * gio/gsimpleasyncresult.c:
1753 * gio/gunixmounts.c:
1754 * gio/gunixmounts.h:
1755 * gio/inotify/ginotifydirectorymonitor.c:
1756 * gio/inotify/ginotifyfilemonitor.c:
1757 * gio/inotify/inotify-diag.c:
1758 * gio/inotify/inotify-kernel.c:
1759 * gio/inotify/inotify-path.c:
1761 * gio/test-streams.c:
1762 * programs/gio-info.c:
1763 * programs/gio-monitor-dir.c:
1764 * programs/gio-monitor-file.c:
1765 Various code cleanups from Kjartan Maraas
1767 2007-11-13 Alexander Larsson <alexl@redhat.com>
1770 Handle the uri-scheme calls for dummy files
1772 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1774 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1775 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1776 to avoid clash with the C++ keyword.
1778 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1780 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1781 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1783 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1785 * gio/glocaldirectorymonitor.c:
1786 * gio/glocalfilemonitor.c:
1787 * gio/gunionvolumemonitor.c:
1788 Don't use g_once_init_*() for initializations that could fail and
1789 could leave the initialization variable set to 0 but use GOnce.
1790 This prevents a deadlock on the second call when trying to create
1791 a monitor and no monitor type is available. Thanks to Sven Herzberg
1794 2007-11-11 Sven Herzberg <sven@imendio.com>
1796 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1797 #ifdef (make it work on MacOS X again)
1799 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1801 Fixes Changelog for last two commits (sorry guys).
1803 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1805 * gio/gbufferedinputstream.c:
1806 * gio/gdatainputstream.c:
1808 * gio/gfileoutputstream.c:
1809 * gio/gfilterinputstream.c:
1810 * gio/glocalfileinputstream.c:
1813 More consistency fixes in g*stream.c files.
1814 Significant clean of gfile's documentation, filling in of
1815 asynchronous operations documentation.
1817 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1819 * gio/gasyncresult.c:
1820 * gio/gbufferedinputstream.c:
1821 * gio/gbufferedoutputstream.c:
1822 * gio/gcancellable.c:
1823 * gio/gcontenttype.c:
1824 * gio/gdatainputstream.c:
1825 * gio/gdataoutputstream.c:
1826 * gio/gdesktopappinfo.c:
1829 * gio/gfileattribute.c:
1830 * gio/gio/gfileenumerator.c:
1832 * gio/gfileinputstream.c:
1833 * gio/gfilemonitor.c:
1834 * gio/gfileoutputstream.c:
1835 * gio/ginputstream.c:
1837 * gio/gioscheduler.c:
1838 * gio/gloadableicon.c:
1839 * gio/glocalfileoutputstream.c:
1840 * gio/gmemoryoutputstream.c:
1841 * gio/gmountoperation.c:
1842 * gio/goutputstream.c:
1844 * gio/gsimpleasyncresult.c:
1845 * gio/gunionvolumemonitor.c:
1846 * gio/gunixmounts.c:
1847 * gio/gunixvolume.c:
1851 * gio/gvolumemonitor.c:
1852 Updated documentation stubs, working towards consistency and
1855 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1857 * gio/gmemoryoutputstream.c:
1858 * gio/gmemoryoutputstream.h:
1859 Change g_memory_output_stream_set_free_on_close() to
1860 g_memory_output_stream_set_free_data() as this makes more sense and
1861 is more consistent with GMemoryInputStream.
1863 2007-11-07 Alexander Larsson <alexl@redhat.com>
1870 Change how we find the default vfs so that
1871 we can handle a gvfs failing to init
1873 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1875 * gio/gbufferedoutputstream.c:
1876 * gio/gdatainputstream.c:
1877 * gio/gdataoutputstream.c:
1878 * gio/gfileinputstream.c:
1879 * gio/gfileoutputstream.c:
1880 * gio/gfilterinputstream.c:
1881 * gio/gfilteroutputstream.c:
1882 * gio/ginputstream.c:
1883 * gio/gmemoryinputstream.c:
1884 * gio/gmemoryoutputstream.c:
1885 * gio/goutputstream.c:
1886 * gio/gsimpleasyncresult.c:
1887 * gio/gsocketinputstream.c:
1888 * gio/gsocketoutputstream.c:
1889 Add guards to the remaining public functions, add a TODO for
1890 an unimplemented function and remove some useless guards.
1892 2007-11-07 Alexander Larsson <alexl@redhat.com>
1895 Autoconf checks for the various types of
1896 getpwuid_r and getgrgid_r
1898 * gio/glocalfileinfo.c:
1899 Use the autoconf checks from above
1901 2007-11-07 Alexander Larsson <alexl@redhat.com>
1904 (g_local_file_query_filesystem_info):
1905 Some fixes for the statvfs case
1907 2007-11-07 Alexander Larsson <alexl@redhat.com>
1910 (g_local_file_query_filesystem_info):
1911 Pick the "best" of statfs / statvfs for the system
1912 if both are availible.
1914 2007-11-07 Alexander Larsson <alexl@redhat.com>
1916 Solaris fixes from Halton.Huo@Sun.COM:
1923 * gio/glocalfileinfo.c:
1924 Fix for solaris definition of getpwuid_r
1926 * gio/test-streams.c:
1927 Use G_GNUC_PRETTY_FUNCTION
1929 2007-11-07 Alexander Larsson <alexl@redhat.com>
1931 * gio/gdesktopappinfo.c:
1932 (update_default_list):
1933 Remove double semicolon.
1934 Patch from Jens Granseuer
1936 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1938 * docs/reference/gio/gio-sections.txt:
1939 * gio/gbufferedinputstream.c:
1940 * gio/gbufferedinputstream.h:
1941 * gio/gdatainputstream.c:
1942 * gio/gfileenumerator.c:
1943 * gio/gioscheduler.c:
1944 * gio/gunionvolumemonitor.c:
1946 * programs/gio-save.c:
1947 Fix typo: availible -> available. Unfortuntely this breaks API
1948 and ABI as g_buffered_input_stream_get_available() was renamed.
1950 * gio/gunixmounts.c:
1951 * gio/gbufferedinputstream.c:
1952 Add guards for public functions.
1954 2007-11-06 Ross Burton <ross@openedhand.com>
1956 * docs/reference/gio/Makefile.am:
1957 Fix invalid += usage which automake 1.10 doesn't like.
1959 2007-11-06 Alexander Larsson <alexl@redhat.com>
1962 (g_app_launch_context_class_init):
1965 Patch from Ross Burton
1967 2007-11-06 Alexander Larsson <alexl@redhat.com>
1970 Post release version bump
1972 === gio-standalone 0.1.1 ===
1974 2007-11-06 Alexander Larsson <alexl@redhat.com>
1977 Bump version to 0.1.1
1979 * gio/gsimpleasyncresult.c:
1980 (g_simple_async_result_set_from_error):
1981 Remove bogus g_return_if_fail
1983 2007-11-06 Alexander Larsson <alexl@redhat.com>
1986 The name is gio-standalone
1989 Add top src/builddir to includedir
1991 2007-11-06 Alexander Larsson <alexl@redhat.com>
1993 * docs/reference/gio/gio-sections.txt:
1995 * gio/gbufferedinputstream.c:
1996 * gio/gbufferedoutputstream.c:
1997 * gio/gcancellable.c:
1998 * gio/gdatainputstream.h:
1999 * gio/gdataoutputstream.c:
2000 * gio/gdataoutputstream.h:
2001 * gio/gdirectorymonitor.c:
2003 * gio/gfileattribute.c:
2004 * gio/gfileattribute.h:
2005 * gio/gfileenumerator.c:
2006 * gio/gfileenumerator.h:
2009 * gio/gfileinputstream.h:
2010 * gio/gfilemonitor.c:
2011 * gio/gfileoutputstream.h:
2012 * gio/glocalfilemonitor.h:
2013 * gio/glocalfileoutputstream.h:
2014 * gio/gmemoryinputstream.c:
2015 * gio/gmemoryoutputstream.c:
2016 * gio/gmountoperation.c:
2017 * gio/goutputstream.c:
2018 * gio/goutputstream.h:
2020 * gio/gsimpleasyncresult.c:
2021 * gio/gunixmounts.c:
2022 * gio/gunixmounts.h:
2024 * gio/inotify/inotify-helper.c:
2025 Fix gtk-doc warnings
2027 Patch from Ross Burton
2029 2007-11-06 Alexander Larsson <alexl@redhat.com>
2031 * gio/gfilenamecompleter.c:
2032 (g_filename_completer_get_completions):
2035 * gio/gunixvolume.c:
2036 Remove unused function
2038 Patches from Ross Burton
2040 2007-11-06 Alexander Larsson <alexl@redhat.com>
2045 Padding not needed for interfaces
2047 2007-11-06 Alexander Larsson <alexl@redhat.com>
2049 * gio/gfilemonitor.c:
2053 Make giotypes.h an internal file
2056 * gio/gbufferedinputstream.h:
2057 * gio/gbufferedoutputstream.h:
2058 * gio/gcancellable.h:
2059 * gio/gdatainputstream.h:
2060 * gio/gdataoutputstream.h:
2061 * gio/gdirectorymonitor.c:
2062 * gio/gdirectorymonitor.h:
2067 * gio/gfileattribute.h:
2068 * gio/gfileenumerator.h:
2073 * gio/gfilemonitor.c:
2074 * gio/gfilemonitor.h:
2075 * gio/gfilenamecompleter.c:
2076 * gio/gfilenamecompleter.h:
2077 * gio/gfilterinputstream.h:
2078 * gio/gfilteroutputstream.h:
2079 * gio/ginputstream.h:
2080 * gio/gmemoryinputstream.h:
2081 * gio/gmemoryoutputstream.h:
2082 * gio/gmountoperation.c:
2083 * gio/gmountoperation.h:
2084 * gio/gnativevolumemonitor.c:
2085 * gio/goutputstream.h:
2088 * gio/gsimpleasyncresult.c:
2089 * gio/gsimpleasyncresult.h:
2090 * gio/gsocketinputstream.h:
2091 * gio/gsocketoutputstream.h:
2092 * gio/gthemedicon.c:
2093 * gio/gthemedicon.h:
2097 * gio/gvolumemonitor.c:
2098 * gio/gvolumemonitor.h:
2099 Add padding in classes where it seems useful
2100 Don't include giotypes.h from public headers
2101 Move in Class definitions into c file where possible
2106 2007-11-06 Alexander Larsson <alexl@redhat.com>
2108 * docs/reference/gio/gio-docs.xml:
2109 Better structure for API docs
2111 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2114 * gio/gloadableicon.c:
2115 * gio/gsimpleasyncresult.c:
2116 * gio/gthemedicon.c:
2117 Add some more guards to public functions. Only files missing are now
2120 2007-11-06 Alexander Larsson <alexl@redhat.com>
2122 * docs/reference/gio/gio-docs.xml:
2123 Remove old files, add missing ones
2125 2007-11-06 Alexander Larsson <alexl@redhat.com>
2127 * docs/reference/gio/gio-sections.txt:
2130 Hide implementation classes
2132 * gio/gdriveprivate.h:
2133 * gio/gvolumeprivate.h:
2134 Remove non-existing function declarations
2136 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2139 Fix compilation warnings and add guards to the new functions.
2141 * gio/gasyncresult.c:
2143 Add guards to the public functions.
2146 Implement get_path().
2148 2007-11-06 Alexander Larsson <alexl@redhat.com>
2150 * gio/gfilenamecompleter.c:
2151 Make g_filename_completer_get_completions
2152 return char ** instead of GList for
2155 * docs/reference/gio/gio-docs.xml:
2156 * docs/reference/gio/gio-sections.txt:
2158 * gio/gasyncresult.c:
2159 * gio/gbufferedinputstream.c:
2160 * gio/gbufferedoutputstream.c:
2161 * gio/gcancellable.c:
2162 * gio/gcontenttype.c:
2163 * gio/gdatainputstream.c:
2164 * gio/gdataoutputstream.c:
2165 * gio/gdesktopappinfo.c:
2166 * gio/gdirectorymonitor.c:
2170 * gio/gfileattribute.c:
2171 * gio/gfileenumerator.c:
2174 * gio/gfileinputstream.c:
2175 * gio/gfilemonitor.c:
2176 * gio/gfilenamecompleter.c:
2177 * gio/gfilenamecompleter.h:
2178 * gio/gfileoutputstream.c:
2179 * gio/gfilterinputstream.c:
2181 * gio/ginputstream.c:
2183 * gio/gioscheduler.c:
2184 * gio/gloadableicon.c:
2185 * gio/glocaldirectorymonitor.c:
2187 * gio/glocalfileinputstream.c:
2188 * gio/glocalfilemonitor.c:
2189 * gio/glocalfileoutputstream.c:
2191 * gio/gmemoryinputstream.c:
2192 * gio/gmemoryoutputstream.c:
2193 * gio/gmountoperation.c:
2194 * gio/goutputstream.c:
2195 * gio/gpollfilemonitor.c:
2197 * gio/gsimpleasyncresult.c:
2198 * gio/gsocketinputstream.c:
2199 * gio/gsocketoutputstream.c:
2200 * gio/gthemedicon.c:
2201 * gio/gunionvolumemonitor.c:
2203 * gio/gunixmounts.c:
2204 * gio/gunixvolume.c:
2205 * gio/gunixvolumemonitor.c:
2209 * gio/gvolumemonitor.c:
2210 * gio/gwin32appinfo.c:
2211 Add (mostly stub) doc strings to public functions.
2212 Patch from Andrew Walton (awalton@gmail.com)
2214 2007-11-06 Alexander Larsson <alexl@redhat.com>
2216 * gio/gappinfo.[ch]:
2217 Added GAppLaunchContext object and pass that to launch.
2218 This allows simple implementation of both
2219 launch-on-screen and startup notification via a gtk+
2220 subclass of GAppLaunchContext
2222 * gio/gdesktopappinfo.c:
2223 Implement GAppLaunchContext API
2225 * gio/gwin32appinfo.c:
2228 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2230 * gio/gmountoperation.c:
2231 Add some guards to GMountOperation's public functions.
2233 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2237 * gio/gcancellable.c:
2238 * gio/gdirectorymonitor.c:
2240 * gio/gfileenumerator.c:
2241 * gio/gfilemonitor.c:,
2242 * gio/gfilenamecompleter.c:
2245 * gio/gioscheduler.c:
2249 * gio/gvolumemonitor.c:
2250 Add even more guards to various public functions.
2252 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2255 Add guards to the public functions of GAppInfo.
2257 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2259 * gio/gcontenttype.c:
2260 Add some more guards for public functions.
2262 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2264 * gio/fam/fam-module.c:
2265 * gio/fam/gfamdirectorymonitor.c:
2266 * gio/fam/gfamdirectorymonitor.h:
2267 * gio/fam/gfamfilemonitor.c:
2268 * gio/fam/gfamfilemonitor.h:
2269 * gio/inotify/ginotifydirectorymonitor.c:
2270 * gio/inotify/ginotifydirectorymonitor.h:
2271 * gio/inotify/ginotifyfilemonitor.c:
2272 * gio/inotify/ginotifyfilemonitor.h:
2273 Add proper copyright information and remove an unused variable
2274 in the GInotifyFileMonitor constructor.
2276 * gio/gcancellable.c:
2277 Add a guard for a public function and an assertion to prevent
2278 an undefined program state.
2280 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2282 * gio/gfileattribute.c:
2283 Don't run into an assertion if the given attribute value is NULL
2284 in g_file_attribute_value_get_*() but instead return a fallback
2285 value that makes sense in most situations. Passing them a attribute
2286 value with the wrong type will still run into an assertion.
2288 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2290 * gio/gfileattribute.c:
2292 Add even more guards to the public functions. Also fix the refcounting
2293 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2294 let g_file_info_list_attributes() filter the attributes by namespace
2295 instead of simply ignoring the namespace parameter.
2297 2007-11-03 Sven Herzberg <sven@imendio.com>
2299 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2300 (This makes gio work on MacOS X again)
2302 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2305 Build the gio subdirectory before the docs. Otherwise the build will
2308 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2309 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2310 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2311 Add guards to the public functions.
2313 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2315 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2316 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2317 to prevent a compiler warning.
2319 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2320 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2321 return something in the non-void function find_topdir_for().
2323 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2330 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2332 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2333 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2334 * gwin32appinfo.c (g_win32_app_info_launch):
2335 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2336 envp_for_startup_id, g_desktop_app_info_launch,
2337 g_desktop_app_info_launch_uris):
2339 Give an opaque 'startup_id' string instead of 'envp'.
2340 Support empty file lists for launching new windows.
2341 Fix infinite recursion bug when launching URIs.
2343 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2346 Add guard to the new g_file_get_uri_scheme() function.
2348 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2351 Convert a g_return_val_if_fail() to setting the GError instead as
2352 otherwise applications have to verify the parameter before otherwise
2353 and the parameter might come directly from the user.
2355 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2357 * gio/inotify/ginotify*.[ch]:
2358 Add missing copyright information.
2360 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2363 Add guards in the beginning of public functions to check for valid
2364 parameters and fix a bug in copy_stream_with_progress() that could've
2365 caused writing less bytes than reading.
2366 * gio/glocalfileinfo.c:
2367 Check for a NULL parameter and set the GError accordingly then.
2368 * gio/goutputstream.c:
2369 Fix the same bug as in gfile.c that could've caused writing less bytes
2370 than reading in g_output_stream_real_splice().
2372 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2375 Use the correct gvolumeprivate.h naming
2377 2007-11-01 Christian Kellner <gicmo@gnome.org>
2380 Remove leftover "$(daemon_sources)" entry.
2382 2007-11-01 Christian Kellner <gicmo@gnome.org>
2387 Add copyright information to source files.
2389 2007-11-01 Alexander Larsson <alexl@redhat.com>
2393 Add g_file_get_uri_scheme
2395 2007-11-01 Alexander Larsson <alexl@redhat.com>
2398 * gio/gdesktopappinfo.c:
2399 * gio/gwin32appinfo.c:
2400 Add g_app_info_get_default_for_uri_scheme.
2402 2007-11-01 Alexander Larsson <alexl@redhat.com>
2405 Correct filename for gdriveprivate.h
2407 2007-10-31 Alexander Larsson <alexl@redhat.com>
2410 Rename id:value to id:file
2413 * gio/glocalfileinfo.c:
2416 2007-10-31 Alexander Larsson <alexl@redhat.com>
2418 * gio/gunixvolume.c:
2420 Remove g_volume_get_platform_id, as thats not
2421 needed with the simpler union volume monitor
2423 2007-10-31 Alexander Larsson <alexl@redhat.com>
2426 * gio/guniondrive.[ch]: Removed.
2427 * gio/gunionvolume.[ch]: Removed.
2428 Remove GUnionDrive/Volume
2430 * gio/gunionvolumemonitor.c:
2431 Simplify union volume monitor, now we
2432 only have one native volume monitor and
2433 we use the actual volumes/drives from the
2434 child monitors instead of wrapping them
2436 * gio/gnativevolumemonitor.[ch]:
2437 Base class for native volume monitors.
2438 Includes priority and get_volume_for_mountpoint
2441 Add g_file_find_enclosing_volume
2444 Remove volume name fs attribute
2445 Add readonly fs attribute
2448 Implement readonly attribute
2449 remove volume name attribute
2450 Implement find_enclosing volume
2452 * gio/gunixmounts.c:
2453 Add a volume for "/".
2455 * gio/gunixvolume.[ch]:
2456 Set better name for /
2458 * gio/gunixvolumemonitor.[ch]:
2459 Derive from GNativeVolumeMonitor
2460 Implement get_volume_for_mountpoint
2463 GVolume typedef moved to gfile.h
2465 * gio/gvolumeprivate.h:
2466 Add g_volume_get_for_mount_path
2468 2007-10-31 Alexander Larsson <alexl@redhat.com>
2470 * gio/gunixmounts.[ch]:
2471 Add cache info to unix mount listers
2472 Make getmntent use threadsafe
2473 Add is_system_internal attribute for GUnixMount
2475 * gio/gunixvolume.c:
2476 (g_unix_volume_new):
2477 Use is_system_internal instead of own code
2479 * gio/glocaldirectorymonitor.c:
2480 * gio/gunixvolumemonitor.c:
2481 Update to new gunixmounts API
2486 2007-10-30 Alexander Larsson <alexl@redhat.com>
2489 Add volume name fsinfo attribute
2492 Read volume name info
2494 * gio/gunionvolumemonitor.c:
2495 Fix infinite loops when finalizing a union volume monitor
2497 2007-10-30 Alexander Larsson <alexl@redhat.com>
2499 * gio/goutputstream.[ch]:
2500 Add splice() with default implementation
2502 * gio/gsocketoutputstream.c:
2503 (g_socket_output_stream_write):
2504 Return error on cancellation correctly.
2506 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2508 * gio/glocalfile.c (g_local_file_trash):
2509 Do not leak a string.
2511 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2513 * gio/gfile.c (g_file_load_contents):
2514 Unref the stream after closing it.
2516 2007-10-25 Alexander Larsson <alexl@redhat.com>
2518 * gio/gioscheduler.h:
2521 2007-10-25 Alexander Larsson <alexl@redhat.com>
2525 Add g_file_has_uri_scheme and implement for local files
2527 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2529 * gio/gdesktopappinfo.c: do not leak a string.
2531 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2533 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2534 (g_local_directory_monitor_new):
2535 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2536 (g_local_file_monitor_new):
2537 Only look for the monitor type that should be used the first time
2538 and use g_qsort_with_data() instead of our own bubble sort
2541 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2544 * gio/fam/Makefile.am:
2545 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2546 * gio/fam/fam-helper.h:
2547 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2548 * gio/fam/gfamdirectorymonitor.c:
2549 * gio/fam/gfamdirectorymonitor.h:
2550 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2551 * gio/fam/gfamfilemonitor.h:
2552 * gio/glocaldirectorymonitor.c:
2553 * gio/glocaldirectorymonitor.h:
2554 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2555 * gio/glocalfilemonitor.h:
2556 * gio/inotify/Makefile.am:
2557 * gio/inotify/ginotifydirectorymonitor.c:
2558 * gio/inotify/ginotifydirectorymonitor.h:
2559 * gio/inotify/ginotifyfilemonitor.c:
2560 * gio/inotify/ginotifyfilemonitor.h:
2561 Implement the FAM and Inotify monitors as
2562 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2563 their own GIO module. GLocal(Directory|File)Monitor will use the
2564 monitor with the highest rank that is supported on that machine.
2566 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2569 Change GIO module dir to $(libdir)/gio/modules and change
2570 the log domain from GVFS to GIO. Also only export symbols starting
2571 with g_ in the resulting library.
2572 * gio/test-streams.c: (main):
2573 Set log handler for the GIO log domain.
2575 2007-10-22 Alexander Larsson <alexl@redhat.com>
2577 * gio/gfilenamecompleter.[ch]:
2578 Add g_filename_completer_set_dirs_only
2580 2007-10-22 Alexander Larsson <alexl@redhat.com>
2583 * gio/gurifuncs.[ch]:
2584 Add some simple URI helpers
2586 * gio/gfilenamecompleter.[ch]:
2587 Added object for filename (parse name actually) completion
2590 Handle ~ in parse names
2592 2007-10-17 Alexander Larsson <alexl@redhat.com>
2595 * gio/glocalfileinfo.c:
2596 Add and implement id:value attribute
2598 2007-10-17 Alexander Larsson <alexl@redhat.com>
2601 * gio/guniondrive.c:
2603 Add and implement g_drive_has_volumes
2605 2007-10-17 Alexander Larsson <alexl@redhat.com>
2608 * gio/glocalfileinfo.[ch]:
2609 Add unix:is_mountpoint and implement for local files
2611 2007-10-16 Alexander Larsson <alexl@redhat.com>
2613 * gio/gunionvolumemonitor.c:
2614 (g_union_volume_monitor_init):
2615 Fix up the unix type getting so that it works with gcc
2617 2007-10-12 Alexander Larsson <alexl@redhat.com>
2620 * gio/glocalfileinfo.c:
2621 Add thumbnail:failed to file info
2623 2007-10-12 Richard Hult <richard@imendio.com>
2625 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2626 optimizing away the get_type call (happens with some gcc versions,
2627 like the one shipped with OS X 10.4).
2629 2007-10-12 Alexander Larsson <alexl@redhat.com>
2631 * gio/glocalfileinfo.c:
2632 (_g_local_file_info_set_attribute):
2633 Fix build if not HAVE_XATTR
2634 Patch from Milosz Derezynski <internalerror@gmail.com>
2636 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2638 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2639 around for review, otherwise I would have asked you before
2642 2007-10-11 Alexander Larsson <alexl@redhat.com>
2645 Add thumbnail:path attribute
2647 * gio/glocalfileinfo.c:
2648 Implement thumbnail:path for local files
2650 2007-10-11 Alexander Larsson <alexl@redhat.com>
2652 * gio/glocalfileinfo.c:
2653 (_g_local_file_info_get):
2654 Avoid duplicate icon names
2656 2007-10-11 Alexander Larsson <alexl@redhat.com>
2658 * gio/gthemedicon.[ch]:
2659 Change g_themed_icon_get_names return type to const
2661 2007-10-10 Alexander Larsson <alexl@redhat.com>
2663 * gio/glocalfileinfo.c:
2664 Don't reference freed memory
2666 2007-10-10 Alexander Larsson <alexl@redhat.com>
2668 * gio/gfileattribute.c:
2671 * gio/glocalfileinfo.c:
2674 2007-10-10 Alexander Larsson <alexl@redhat.com>
2677 Check for NULL icons
2679 * gio/gfileattribute.c:
2680 Don't dup when getting objects (same as for string attributes)
2682 * gio/gicon.c (g_icon_equal):
2683 Safely handle NULLs in equal
2685 2007-10-10 Alexander Larsson <alexl@redhat.com>
2688 Fix c++ compilation issues
2689 Patch from Milosz Derezynski <internalerror@gmail.com>
2691 2007-10-10 Alexander Larsson <alexl@redhat.com>
2693 * programs/gio-monitor-dir.c:
2694 Don't crash if dir monitor not supported.
2696 2007-10-09 Alexander Larsson <alexl@redhat.com>
2699 Add missing G_END_DECLS
2701 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2703 * gio/gfile.c: (g_file_set_display_name),
2704 (g_file_query_settable_attributes),
2705 (g_file_query_writable_namespaces):
2706 Return NULL not FALSE on errors as the return type is a pointer.
2708 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2710 * gio/glocalfile.c: (g_local_file_monitor_file):
2711 Don't call monitor_file on the default interface vtable (which
2712 is NULL) but simply return NULL. The caller, GFile, will create a
2713 polling monitor if NULL is returned.
2715 2007-10-09 Alexander Larsson <alexl@redhat.com>
2719 * gio-unix-2.0.pc.in:
2720 Add gio-unix-2.0.pc if OS_UNIX
2723 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2725 2007-10-09 Alexander Larsson <alexl@redhat.com>
2727 * gio/gunixmounts.[ch]:
2728 Make unix mount monitoring API sane.
2729 Now its just a object with mounts_changed
2730 and mountpoints_changed signals.
2732 * gio/glocaldirectorymonitor.c:
2733 * gio/gunixvolumemonitor.c:
2734 Use new mount monitor api
2736 2007-10-09 Alexander Larsson <alexl@redhat.com>
2738 * gio/gunixmounts.[ch]:
2739 Move guess type into one call for mounts and one for mountpoints
2742 * gio/gunixvolume.c:
2745 2007-10-09 Alexander Larsson <alexl@redhat.com>
2747 * gio/gunixmounts.[ch]:
2748 Remove _ prefix in preparation to make this semi-public
2749 Hide implementation of structs
2751 * gio/glocaldirectorymonitor.c:
2753 * gio/gunixvolume.c:
2754 * gio/gunixvolumemonitor.c:
2755 Update for above API changes
2757 2007-10-08 Alexander Larsson <alexl@redhat.com>
2760 Better polling fallback. This also handles the case where we have
2761 a monitor_file implementation, but it fails.
2763 2007-10-08 Alexander Larsson <alexl@redhat.com>
2767 * gio/gunixmounts.c:
2768 * programs/gio-monitor-dir.c:
2769 * programs/gio-monitor-file.c:
2770 Added cancellable to file monitoring calls.
2771 These are really sync calls and need this.
2773 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2775 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2776 (g_local_vfs_class_init):
2777 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2778 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2780 2007-10-05 Alexander Larsson <alexl@redhat.com>
2782 * gio/gdirectorymonitorprivate.h:
2783 * gio/gfilemonitorprivate.h:
2784 * gio/gdirectorymonitor.h:
2785 * gio/gfilemonitor.h:
2786 Remove *private.h and move to the public API, so that
2787 we can do implementations outside gio (such as in gvfs)
2789 * gio/gdirectorymonitor.c:
2790 * gio/gfilemonitor.c:
2791 * gio/glocaldirectorymonitor.c:
2792 * gio/gpollfilemonitor.c:
2793 * gio/inotify/inotify-helper.c:
2794 * gio/fam/fam-helper.c:
2795 Update to the new header names
2797 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2799 * gio/gdirectorymonitor.c:
2800 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2803 2007-10-04 Alexander Larsson <alexl@redhat.com>
2805 * gio/glocalfileinfo.c (get_access_rights):
2806 Set CAN_TRASH when we can move the file.
2807 We should really also check for a parent trash dir.
2809 2007-10-04 Alexander Larsson <alexl@redhat.com>
2811 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2812 Add can_trash access attribute
2814 2007-10-04 Alexander Larsson <alexl@redhat.com>
2817 (g_local_file_trash):
2818 Create info file first. This is per-spec and allows
2819 us to actually trash directories.
2821 2007-10-02 Alexander Larsson <alexl@redhat.com>
2823 * gio/gdesktopappinfo.c:
2824 Implement the new mime support code.
2825 Always set app as handling mimetype when being set as default for it
2827 2007-10-01 Alexander Larsson <alexl@redhat.com>
2829 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2830 Fix up check for xattrs:
2832 2007-10-01 Alexander Larsson <alexl@redhat.com>
2835 (g_app_info_set_as_default_for_extension):
2836 (g_app_info_add_supports_type):
2837 (g_app_info_can_remove_supports_type):
2838 (g_app_info_remove_supports_type):
2839 Make these fail nicely if not implemented
2841 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2843 * gio/glocalfileoutputstream.c:
2844 * gio/glocalfileoutputstream.h:
2849 * programs/gio-save.c:
2850 Add a GFileCreateFlags argument to operations that can create
2853 2007-10-01 Alexander Larsson <alexl@redhat.com>
2855 * gio/gappinfo.[ch]:
2856 * gio/gdesktopappinfo.c:
2857 Add more (stubbed out) mime API needed for nautilus
2859 2007-10-01 Alexander Larsson <alexl@redhat.com>
2862 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2863 Add g_app_info_set_as_default_for_extension.
2865 * gio/gdesktopappinfo.c:
2866 Dummy for g_app_info_set_as_default_for_extension
2867 Support flags in g_app_info_create_from_commandline
2869 * gio/gwin32appinfo.c:
2871 Update for API changes
2873 * gio/gthemedicon.c:
2874 Properly NULL-terminate list of icon names
2876 2007-09-28 Alexander Larsson <alexl@redhat.com>
2878 * gio/gloadableicon.h:
2879 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2881 2007-09-28 Alexander Larsson <alexl@redhat.com>
2884 Install headers in $includedir/gio-standalone/
2886 * gio-2.0.pc.in: Added.
2887 * gio-standalone.pc.in: Removed.
2890 Renamed pkg-config file to match glib (for future move)
2891 Update to the new include dir
2894 Add more TODO comments
2896 2007-09-28 Alexander Larsson <alexl@redhat.com>
2898 * gio/gdesktopappinfo.[ch]:
2899 Expose new_from_filename
2900 Add getter for is_hidden and handle it better
2902 2007-09-28 Alexander Larsson <alexl@redhat.com>
2904 * gio/gfileinfo.[ch]:
2905 Rename g_file_size_format_for_display to
2906 g_format_file_size_for_display.
2907 Now it doesn't have the g_file prefix, so we
2908 can later move it to glib.
2910 2007-09-28 Alexander Larsson <alexl@redhat.com>
2912 * gio/gappinfo.[ch]:
2913 Add g_app_info_get_id and g_app_info_get_executable.
2914 Make all getters non-reffing
2915 Make g_app_info_launch take GFile arguments.
2916 Add must_support_uris argument to g_app_info_get_default_for_type.
2918 * gio/gwin32appinfo.c:
2919 Update to GAppInfo api changes
2921 * gio/gdesktopappinfo.c:
2922 Update to GAppInfo api changes
2923 Implement supports_xdg_startup_notify
2925 * gio/gfileicon.c (g_file_icon_get_file):
2926 Make getter non-reffing.
2931 2007-09-27 Alexander Larsson <alexl@redhat.com>
2933 * gio/gfileinfo.[ch]:
2934 Add g_file_size_format_for_display helper
2936 2007-09-27 Alexander Larsson <alexl@redhat.com>
2938 * gio/glocalfileinfo.c:
2939 Set UNIX_GID from gid, not from uid
2941 2007-09-27 Alexander Larsson <alexl@redhat.com>
2944 Add g_file_set_attributes_async
2946 2007-09-27 Alexander Larsson <alexl@redhat.com>
2948 * gio/glocalfile.c (g_local_file_set_display_name):
2949 Fix set_display_name to actually rename to the right place.
2950 Use lstat to look for existing files so we don't overwrite
2953 2007-09-26 Alexander Larsson <alexl@redhat.com>
2956 Add g_file_set_display_name_async()
2958 2007-09-26 Alexander Larsson <alexl@redhat.com>
2961 Add load_partial_contents async calls
2964 Make internal function static
2966 2007-09-26 Alexander Larsson <alexl@redhat.com>
2968 * gio/glocalfileinfo.c:
2969 Correctly detect broken symlinks
2971 2007-09-26 Alexander Larsson <alexl@redhat.com>
2973 * gio/gcancellable.c (g_cancellable_cancel):
2974 Allow cancel on NULL cancellable
2976 2007-09-25 Alexander Larsson <alexl@redhat.com>
2978 * gio/gsimpleasyncresult.c:
2979 Don't allocate g_error manually.
2980 Fixes g_slice/g_new mixup crash
2982 2007-09-25 Alexander Larsson <alexl@redhat.com>
2984 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2985 Actually set active_backend.
2986 This means the monitor will be cancelled correctly.
2988 2007-09-25 Alexander Larsson <alexl@redhat.com>
2990 * gio/gdirectorymonitor.c:
2991 Set timeout to NULL when destroying
2993 2007-09-25 Alexander Larsson <alexl@redhat.com>
2996 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2997 that is a better description of the error.
2999 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3001 * gio/gvfs.c: (g_vfs_get_local):
3002 Make the local vfs variable static. The same instance should
3005 2007-09-24 Alexander Larsson <alexl@redhat.com>
3007 * gio/glocalfileinfo.c:
3008 Pass in actual length read into sniffer, not the length
3011 2007-09-21 Alexander Larsson <alexl@redhat.com>
3013 * gio/gfileenumerator.c:
3016 * gio/gfileinputstream.c:
3017 * gio/gfileoutputstream.c:
3018 * gio/ginputstream.c:
3019 * gio/goutputstream.c:
3020 Don't crash if async callbacks are NULL
3022 2007-09-20 Alexander Larsson <alexl@redhat.com>
3025 Add async enumerate_children method and default
3028 2007-09-20 Alexander Larsson <alexl@redhat.com>
3031 Add g_file_contains_file & g_file_get_relative_path, since they
3032 were needed for nautilus.
3033 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3038 Implement new methods
3040 2007-09-17 Alexander Larsson <alexl@redhat.com>
3043 * gio/gfileinputstream.[ch]:
3044 * gio/gfileoutputstream.[ch]:
3046 * gio/glocalfileenumerator.[ch]:
3047 * gio/glocalfileinfo.[ch]:
3048 * gio/glocalfileinputstream.c:
3049 * gio/glocalfileoutputstream.c:
3050 * gio/gpollfilemonitor.c:
3051 * programs/gio-copy.c:
3052 * programs/gio-info.c:
3053 * programs/gio-move.c:
3054 Rename get_file_info to query_info() to make it clearer
3055 that these are not simple getters, but do i/o.
3057 2007-09-17 Alexander Larsson <alexl@redhat.com>
3059 * gio/gdatainputstream.[ch]:
3060 * gio/test-streams.c:
3061 Use _read_XXX instead of _get_XXX for the i/o calls
3064 2007-09-17 Alexander Larsson <alexl@redhat.com>
3067 Added needed stuff to TODO comment
3069 2007-09-17 Alexander Larsson <alexl@redhat.com>
3071 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3072 Don't error out removing the backup copy if it doesn't
3075 2007-09-14 Alexander Larsson <alexl@redhat.com>
3077 * programs/Makefile.am:
3078 * programs/gvfs-*.c:
3080 Renamed apps from gvfs-xxx to gio-xxx.
3082 2007-09-14 Alexander Larsson <alexl@redhat.com>
3085 * gio/gfileoutputstream.[ch]:
3086 * gio/glocalfileoutputstream.c:
3087 * programs/gvfs-save.c:
3088 g_file_output_stream_get_etag doesn't do i/o, so remove
3089 cancellation and error.
3091 2007-09-14 Alexander Larsson <alexl@redhat.com>
3094 Add new_etag output to replace_contents functions
3096 2007-09-14 Alexander Larsson <alexl@redhat.com>
3098 * gio/gfileoutputstream.[ch]:
3099 Add async get_file_info and default implementation
3101 2007-09-14 Alexander Larsson <alexl@redhat.com>
3103 * gio/gfileinputstream.c:
3104 Implement fallback wrapper for async get_file_info
3106 2007-09-14 Alexander Larsson <alexl@redhat.com>
3109 Add etag out argument to load_contents
3114 2007-09-14 Alexander Larsson <alexl@redhat.com>
3116 * gio/gcontenttype.c (looks_like_text):
3117 Whitespace like tab, cr and lf do not make the
3120 2007-09-14 Alexander Larsson <alexl@redhat.com>
3122 * gio/gfileinputstream.[ch]:
3123 Add async get_file_info.
3125 2007-09-13 Alexander Larsson <alexl@redhat.com>
3127 * gio/goutputstream.c (g_output_stream_write_all):
3128 Allow NULL for bytes_written
3130 2007-09-13 Alexander Larsson <alexl@redhat.com>
3132 * gio/gmemoryinputstream.[ch]:
3133 Add accessors for data
3135 2007-09-13 Alexander Larsson <alexl@redhat.com>
3137 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3138 Don't crash if length is NULL