1 2008-03-11 Alexander Larsson <alexl@redhat.com>
4 Fix crashes in new constructor and properties code
6 2008-03-10 Murray Cumming <murrayc@murrayc.com>
8 * gfile.c: Minor spelling correction in documentation:
9 existance -> existence.
11 2008-03-10 Matthias Clasen <mclasen@redhat.com>
13 * === Released 2.16.0 ===
15 2008-03-10 Matthias Clasen <mclasen@redhat.com>
17 * gio.symbols: Remove g_file_contains_file here, too.
19 2008-03-10 Matthias Clasen <mclasen@redhat.com>
21 * gthemedicon.c: Add properties to make bindings happy. (#517676,
22 Samuel Cormier-Iijima)
24 2008-03-08 Tor Lillqvist <tml@novell.com>
26 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
29 2008-03-07 Alexander Larsson <alexl@redhat.com>
32 (g_local_file_query_filesystem_info):
33 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
34 Patch from Jasper Lievisse Adriaanse
36 2008-03-06 Tor Lillqvist <tml@novell.com>
38 * gfileinfo.h: Correct milliseconds to microseconds in the doc
39 comments for the *_USEC attributes.
41 2008-03-06 Alexander Larsson <alexl@redhat.com>
43 * gfile.c (g_file_query_exists):
44 Add g_return_val_if_fail check (#520700)
46 2008-03-06 Alexander Larsson <alexl@redhat.com>
51 * gunionvolumemonitor.c:
54 * tests/live-g-file.c:
55 * xdgmime/xdgmimecache.c:
56 Fix sparse warnings (#519489)
58 2008-03-05 Alexander Larsson <alexl@redhat.com>
61 Make cancellation threadsafe (i.e.
62 guarantee its only done once, and always
65 * glocaldirectorymonitor.c:
66 Make sure we the monitor lives while the
67 mounts_changed callback is being called (#520484)
69 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
71 * gbufferedinputstream.c: Fix typo in parameter
74 2008-03-04 Alexander Larsson <alexl@redhat.com>
77 Remove deprecated symbols we kept for one release.
79 2008-03-04 Murray Cumming <murrayc@murrayc.com>
82 * goutputstream.c: Tiny documentation corrections.
84 2008-03-03 Alexander Larsson <alexl@redhat.com>
86 * gunionvolumemonitor.c:
88 Fix the adopt_orphan_mount vfunc to take a
89 volume_monitor reference in an ABI compat way.
90 This change is not API compat, but the added
91 arg is not used in the only user of this vfunc, so
92 all we get is a harmless warning in gvfs (#520169)
94 2008-03-01 Benjamin Otte <otte@gnome.org>
97 clarify docs for g_file_delete().
99 2008-02-29 Alexander Larsson <alexl@redhat.com>
103 Make sure empty files get text/plain type (#518720)
105 2008-02-27 Alexander Larsson <alexl@redhat.com>
111 (g_unix_volume_mount):
112 Add missing GMountMountFlags argument
114 2008-02-26 Alexander Larsson <alexl@redhat.com>
117 (g_local_file_delete):
118 Handle filesystems (like ntfs-3g) that return EEXIST instead
119 of ENOTEMPTY (#518816)
121 2008-02-25 Matthias Clasen <mclasen@redhat.com>
123 * === Released 2.15.6 ===
125 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
127 * gfile.c (g_file_find_enclosing_mount):
128 * ginputstream.c (g_input_stream_set_pending):
129 * glocalfile.c (g_local_file_find_enclosing_mount):
130 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
131 * goutputstream.c (g_output_stream_set_pending):
133 Fixup translator comments (#518578).
135 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
137 * gfile.c (g_file_find_enclosing_mount):
139 * glocalfile.c (g_local_file_find_enclosing_mount):
142 Fix a few typos in translator comments and documentation.
144 2008-02-25 Alexander Larsson <alexl@redhat.com>
151 Add translator comments (#518578)
153 2008-02-25 Alexander Larsson <alexl@redhat.com>
156 Reintroduce g_file_contains_file, keep around for one
157 unstable release cycle to avoid crashing to many apps.
158 Make sure to delete after release.
160 2008-02-25 Alexander Larsson <alexl@redhat.com>
163 Remove deprecated g_file_contains_file.
165 2008-02-25 Alexander Larsson <alexl@redhat.com>
168 Emit actual change signals in an idle handler.
169 This avoids reentrance and locking problems in
170 the file notification backends.
172 2008-02-25 Alexander Larsson <alexl@redhat.com>
175 (g_unix_mount_guess_should_display):
176 Remove type guessing, instead just display
177 mounts in /media and in ~/.
179 2008-02-25 Alexander Larsson <alexl@redhat.com>
182 Make new strings reuse old ones.
184 2008-02-25 Alexander Larsson <alexl@redhat.com>
187 Implement trashing and filesystem::readonly for win32 (#517235)
188 Patch from Yevgen Muntyan
190 2008-02-23 Matthias Clasen <mclasen@redhat.com>
192 * gfileinfo.h: Documentation fixes.
194 2008-02-22 Alexander Larsson <alexl@redhat.com>
196 * gcontenttype.c (g_content_type_get_icon):
197 Look at old-style gnome mime icon names too, as many
198 have not moved to the new style.
200 2008-02-21 Matthias Clasen <mclasen@redhat.com>
202 * *.c: Correct the @include in for section docs.
204 2008-02-21 David Zeuthen <davidz@redhat.com>
206 * glocalfileinfo.c: (_g_local_file_info_get):
208 (g_content_type_get_icon): Implement this function by
209 moving bits from glocalfileinfo.c
210 (g_content_type_get_description): Unalias before getting
211 description (#517687)
213 * gfile.c: (g_file_class_init),
214 (g_file_query_filesystem_info_async),
215 (g_file_query_filesystem_info_finish),
216 (query_filesystem_info_data_free),
217 (query_filesystem_info_async_thread),
218 (g_file_real_query_filesystem_info_async),
219 (g_file_real_query_filesystem_info_finish):
220 * gfile.h: Implement async version of
221 g_file_query_filesystem_info()
223 * gfileinfo.h: Add new attributes for filesystem::use-preview
225 * gio.symbols: Update
227 * gthemedicon.c: (g_themed_icon_append_name):
228 * gthemedicon.h: Add new new convenience function.
230 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
231 (get_mounts), (get_volumes), (get_connected_drives),
232 (get_volume_for_uuid), (get_mount_for_uuid),
233 (g_union_volume_monitor_init), (populate_union_monitor),
234 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
235 (g_volume_monitor_adopt_orphan_mount):
237 * gvolumemonitor.h: Use recursive locks so it's safe for volume
238 monitor implementations to call into the main volume monitor. Also
239 separate object initialization and volume monitor initialization
240 such that non-native volume monitors can properly adopt their
243 2008-02-21 Alexander Larsson <alexl@redhat.com>
248 2008-02-21 Alexander Larsson <alexl@redhat.com>
251 Add more documentation about how GFiles work (from #517086)
253 2008-02-21 Alexander Larsson <alexl@redhat.com>
257 Add new g_file_has_prefix that does the same as g_file_contains_file.
258 Deprecate g_file_contains_file and add a macro that converts
259 it to g_file_has_prefix.
260 The reason for this change is that the contains_file() name seems to
261 imply that this does more work than what it does, but its really only
262 a name match (from #517086)
267 Update to match the above change.
269 2008-02-20 Benjamin Otte <otte@gnome.org>
271 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
272 (g_file_eject_mountable):
273 even more cases of not returning in error path
275 2008-02-20 Benjamin Otte <otte@gnome.org>
277 * gfile.c: (g_file_mount_mountable):
278 return from function in error path.
280 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
283 Remove trailing coma in GMountMountFlags struct
285 2008-02-18 Alexander Larsson <alexl@redhat.com>
289 * glocalfileoutputstream.c:
290 Use g_unlink/g_rename instead of unlink/rename;
291 do not pass raw filenames to g_set_error. (#517239)
292 Patch from Yevgen Muntyan.
294 2008-02-18 Alexander Larsson <alexl@redhat.com>
297 * glocalfileoutputstream.c:
298 Open files with O_BINARY on windows. (#517140)
300 2008-02-14 Alexander Larsson <alexl@redhat.com>
302 * glocalfileoutputstream.c:
303 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
305 2008-02-14 Alexander Larsson <alexl@redhat.com>
308 Copy permissions with file on copy (#514084)
309 This is what cp does and makes sure e.g. the
310 exec permissions are kept.
311 Its kinda weird in that it keeps the permission bits
312 the same while the uid and gid are different. However
313 the new uid is the user so its not a security issue,
314 and I've heard no complaints about cp on this issue.
316 2008-02-13 Ryan Lortie <desrt@desrt.ca>
318 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
320 2008-02-13 Alexander Larsson <alexl@redhat.com>
322 * inotify/inotify-path.c:
323 Define IN_ONLYDIR if not in header (#515346)
325 2008-02-12 Alexander Larsson <alexl@redhat.com>
327 * tests/live-g-file.c:
330 2008-02-11 Matthias Clasen <mclasen@redhat.com>
332 * === Released 2.15.5 ===
334 2008-02-11 Matthias Clasen <mclasen@redhat.com>
336 * gio.symbols: Add g_mount_mount_flags_get_type.
338 2008-02-11 Alexander Larsson <alexl@redhat.com>
341 (g_file_info_set_attribute_mask):
342 (g_file_attribute_matcher_matches_id):
343 Correctly handle NULL GAttributeMatcher meaning
344 matches nothing. (Fixes #513492)
346 2008-02-11 Alexander Larsson <alexl@redhat.com>
351 Added GMountMountFlags enum and added a flags
352 argument to all mount calls.
354 This is an API/ABI change for future extensibility,
355 as I think we will need at least an
356 inhibit-autorun flag (the panel needs this).
357 There are no flags defined yet though.
359 2008-02-11 Alexander Larsson <alexl@redhat.com>
362 Added new standard::description attribute.
363 Requested by Vincent, and useful for both
366 2008-02-11 Alexander Larsson <alexl@redhat.com>
371 2008-02-11 Matthias Clasen <mclasen@redhat.com>
373 * *.c: Documentation additions
375 2008-02-10 Matthias Clasen <mclasen@redhat.com>
377 * gappinfo.h: Formatting cleanup
378 * gappinfo.c: Fix up docs.
380 2008-02-09 Matthias Clasen <mclasen@redhat.com>
382 * gunixmounts.c: Consistently use getmntent_r() and fall
383 back to getmntent(). (#515492)
385 2008-02-09 Matthias Clasen <mclasen@redhat.com>
387 * gbufferedinputstream.c:
389 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
391 * tests/data-input-stream.c:
392 * tests/data-output-stream.c: Portability fixes.
394 2008-02-08 Alexander Larsson <alexl@redhat.com>
399 Add g_volume_should_automount.
402 2008-02-07 Tor Lillqvist <tml@novell.com>
404 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
405 Win32, too Unix-specific.
407 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
409 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
410 a local plt if the compiler doesn't support what we want. Bug #514702
412 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
414 reviewed by: <delete if not using a buddy>
417 * gunixinputstream.c:
418 * gunixoutputstream.c:
420 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
423 * tests/live-g-file.c:
424 * tests/live-g-file.txt:
425 New GIO testing module working over real data
427 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
429 * glocalfileoutputstream.c (g_local_file_output_stream_close):
430 Fallback to rename() if link() is not available
431 (when no support on target filesystem)
433 2008-02-06 Michael Natterer <mitch@imendio.com>
435 * gfileinfo.c (g_file_info_get_icon): replace
436 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
438 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
440 * gfile.c (g_file_create):
441 Documentation update of error codes
443 2008-02-06 Alexander Larsson <alexl@redhat.com>
446 Update to use both mimeapps.list and
447 defaults.list as discussed on xdg list.
449 2008-02-06 Benjamin Otte <otte@gnome.org>
452 * gfilenamecompleter.c:
453 Fix some typos in the documentation.
455 2008-02-06 Alexander Larsson <alexl@redhat.com>
457 * glocalfile.c (g_local_file_trash):
458 Don't succeed with trash if newly created
459 trash dir has the wrong owner. (#514696)
461 2008-02-05 Alexander Larsson <alexl@redhat.com>
463 * glocalfile.c (g_local_file_move):
464 Don't spew warnings when destination is not
467 2008-02-03 Hans Breuer <hans@breuer.org>
469 * makefile.msc : update
471 2008-02-01 Michael Natterer <mitch@imendio.com>
473 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
474 return value of xdg_mime_list_mime_parents() to a variable of the
477 2008-02-01 Alexander Larsson <alexl@redhat.com>
479 * gappinfo.c (g_app_info_launch_uris):
480 Actually call the launch_uris method, not
483 2008-02-01 Alexander Larsson <alexl@redhat.com>
485 * gdesktopappinfo.c (g_desktop_app_info_equal):
486 Ensure appinfos with no id but same pointer value
489 2008-02-01 Alexander Larsson <alexl@redhat.com>
491 * gappinfo.c (g_app_info_launch_default_for_uri):
494 2008-02-01 Alexander Larsson <alexl@redhat.com>
498 Add g_app_info_launch_default_for_uri utility
501 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
504 Doc fix for g_app_info_get_default_for_uri_scheme ()
507 2008-01-30 Alexander Larsson <alexl@redhat.com>
510 Add doc comment about uris vs GFiles to
514 Ensure uris passed to g_app_info_launch_uris()
515 are not roundtriped through GFile (as that
516 may be slightly destructive for e.g. mailto: links)
518 2008-01-30 Alexander Larsson <alexl@redhat.com>
520 * tests/data-input-stream.c:
521 * tests/data-output-stream.c:
522 C89 fixes from Jens Granseuer (#512849)
524 2008-01-30 Alexander Larsson <alexl@redhat.com>
527 Fix gamin/fam difference build issue. (#509419)
529 2008-01-29 Alexander Larsson <alexl@redhat.com>
533 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
535 2008-01-29 Alexander Larsson <alexl@redhat.com>
539 giomodule-priv.h include moved to .c file.
541 2008-01-29 Alexander Larsson <alexl@redhat.com>
543 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
544 Remove unused prio/name fields.
546 2008-01-29 Alexander Larsson <alexl@redhat.com>
548 * gcontenttype.c (looks_like_text):
549 Don't treat whitespace as control chars.
551 2008-01-29 Alexander Larsson <alexl@redhat.com>
554 Lazily create the desktop files for appinfos created
555 by g_app_info_create_from_commandline() when needed
556 for mime associations. This allows run-time use
557 of GAppInfo object without creating unnecessary
560 2008-01-29 Alexander Larsson <alexl@redhat.com>
563 Added new symbols to gio.symbols
565 2008-01-29 Alexander Larsson <alexl@redhat.com>
568 Add g_file_query_default_handler utility to easily look up
569 the GAppInfo that handles a file.
571 * gdesktopappinfo.[ch]:
573 Set up an extension point for g_app_info_get_default_for_uri_scheme()
576 Remove unused function
578 2008-01-29 Alexander Larsson <alexl@redhat.com>
581 Mention need to free returned value in
582 g_file_enumerator_next_files_finish docs.
583 Fix leak if g_file_enumerator_next_files_finish()
586 2008-01-29 Alexander Larsson <alexl@redhat.com>
589 (_g_unix_content_type_get_parents):
590 Use list_parents, not get_parents from xdgmime, because
591 the later doesn't use the cache.
593 * xdgmime/xdgmimecache.c:
594 (_xdg_mime_cache_list_mime_parents):
595 Don't list the same type as parent multiple times.
597 2008-01-28 Matthias Clasen <mclasen@redhat.com>
599 * === Released 2.15.4 ===
601 2008-01-28 Alexander Larsson <alexl@redhat.com>
604 Register local vfs with prio 0.
607 Remove old name and prio class members
609 2008-01-28 Matthias Clasen <mclasen@redhat.com>
611 * tests/g-file.c: Disable some tests that are failing in
612 the absence of a http backend.
614 2008-01-28 Alexander Larsson <alexl@redhat.com>
618 Add registration hooks for extension points.
619 Register the gio extension points.
621 * fam/gfamdirectorymonitor.c:
622 * fam/gfamfilemonitor.c:
623 * glocaldirectorymonitor.[ch]:
624 * glocalfilemonitor.[ch]:
625 * gnativevolumemonitor.h:
626 * gunionvolumemonitor.c:
627 * gunixvolumemonitor.c:
630 * inotify/ginotifydirectorymonitor.c:
631 * inotify/ginotifyfilemonitor.c:
632 Use the extension points registration instead
633 of g_type_children().
635 2008-01-28 Matthias Clasen <mclasen@redhat.com>
638 * gvolume.[hc]: Document new API.
640 * gfile.c (g_file_copy_async): Fix docs
642 2008-01-27 Matthias Clasen <mclasen@redhat.com>
644 * gbufferedinputstream.c:
646 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
649 2008-01-27 Matthias Clasen <mclasen@redhat.com>
651 * glocalfile.c: Avoid trivial differences in translatable strings.
653 2008-01-25 Matthias Clasen <mclasen@redhat.com>
655 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
656 build with gcc 3.4 (#509419)
658 2008-01-25 Matthias Clasen <mclasen@redhat.com>
660 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
661 (#509994, Murray Cumming)
663 2008-01-25 Matthias Clasen <mclasen@redhat.com>
665 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
666 * gioscheduler.c: Keep calling io jobs until they return FALSE;
667 this allows big jobs to be executed in chunks, instead of blocking
668 the main loop for a long time.
670 * gsimpleasyncresult.c:
671 * giofile.c: Adapt callers.
673 2008-01-25 Alexander Larsson <alexl@redhat.com>
676 Implement changes discussed on xdg list.
677 Now we can add supported mimetypes by just using defaults.list
678 We can also remove associations in defaults.list.
680 2008-01-25 Alexander Larsson <alexl@redhat.com>
683 Don't make local copy of desktop file
684 for mimetype changes if the file already
685 supports the new mimetype.
687 2008-01-25 Matthias Clasen <mclasen@redhat.com>
691 * gbufferedinputstream.c:
692 * glocalfile.c: String improvements. (#511966,
693 Theppitak Karoonboonyanan)
695 2008-01-24 Matthias Clasen <mclasen@redhat.com>
697 * gioscheduler.h: Expand docs a bit.
699 2008-01-24 Alexander Larsson <alexl@redhat.com>
702 Add g_drive_get_identifier and
703 g_drive_enumerate_identifiers
706 Add g_volume_get_identifier and
707 g_volume_enumerate_identifiers
713 Implement identifiers for unix backend
715 2008-01-24 Alexander Larsson <alexl@redhat.com>
720 Add g_file_copy_async() (#511580)
721 Based on patch from Carlos Garcia Campos
723 2008-01-23 Matthias Clasen <mclasen@redhat.com>
725 * gioscheduler.c: Some documentation additions.
727 2008-01-22 Alexander Larsson <alexl@redhat.com>
730 (g_desktop_app_info_new):
733 2008-01-22 Alexander Larsson <alexl@redhat.com>
736 (g_desktop_app_info_new_from_filename):
739 2008-01-22 Alexander Larsson <alexl@redhat.com>
741 * glocalfileinfo.c (get_thumbnail_attributes):
744 2008-01-22 Alexander Larsson <alexl@redhat.com>
747 (canonicalize_filename):
748 Canonicalize paths that start with more than
753 (test_g_file_new_for_path):
756 2008-01-22 Alexander Larsson <alexl@redhat.com>
759 Allow UTF-8 in file:// parse names.
762 * tests/data-input-stream.c:
763 * tests/data-output-stream.c:
764 * tests/g-file-info.c:
766 Added a bunch of tests from Tomas Bzatek
768 2008-01-21 Matthias Clasen <mclasen@redhat.com>
770 * === Released 2.15.3 ===
772 2008-01-21 Alexander Larsson <alexl@redhat.com>
774 * gfileinputstream.[ch]:
775 * gfileoutputstream.[ch]:
777 Remove duplicated GSeekable functions. (#509990)
778 Just use the g_seekable_xxx() calls instead.
780 2008-01-21 Matthias Clasen <mclasen@redhat.com>
783 * gvolumemanager.c: Whitespace cleanups.
785 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
786 Use the right mode when creating the file.
788 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
791 * gfileinputstream.c:
793 * goutputstream.c: Documentation: Fixed minor typos
794 and added more mentions of specific _finish() functions.
796 2008-01-21 Alexander Larsson <alexl@redhat.com>
798 * inotify/Makefile.am:
799 * inotify/inotify-helper.c:
800 * inotify/inotify-kernel.c:
801 * inotify/inotify-path.c:
802 * inotify/local_inotify.h: Removed.
803 * inotify/local_inotify_syscalls.h: Removed.
804 Removed the included copies of the inotify
805 headers. We now only use the <sys/inotify.h>
806 header which exists on modern systems.
807 This fixes problems on ARM and SH5 (#510448)
808 but is also generally much cleaner and future
809 safe. For instance, if other OSes add support
810 for inotify it should "just work".
812 2008-01-20 Matthias Clasen <mclasen@redhat.com>
814 * inotify/*.c: Coding style fixes.
815 * inotify/inotify-missing.c: Use g_timeout_add_seconds
816 for the 1/4 Hz timer.
818 2008-01-20 Matthias Clasen <mclasen@redhat.com>
822 * gmemoryinputstream.c:
823 * gmemoryoutputstream.c:
825 * gthemedicon.c: Documentation updates
827 2008-01-20 Murray Cumming <murrayc@murrayc.com>
829 * gfile.c: documentation: Fixed more minor
832 2008-01-18 Murray Cumming <murrayc@murrayc.com>
834 * gmount.c: (g_mount_remount): documentation:
835 Mention g_mount_remount_finish() instead of
836 g_mount_unmount_finish().
838 2008-01-18 Murray Cumming <murrayc@murrayc.com>
842 * gfile.c: Fixed some minor typos in the
845 2008-01-18 Murray Cumming <murrayc@murrayc.com>
847 * gio/gvolumemonitor.c:
848 (g_volume_monitor_get_connected_drives):
849 (g_volume_monitor_get_volumes):
850 (g_volume_monitor_get_mounts): Documentation:
851 Clarify the ownership of the regurn GLists.
853 2008-01-17 Alexander Larsson <alexl@redhat.com>
856 Add the async find_enclosing_mount version
857 to the header file too.
859 2008-01-17 Alexander Larsson <alexl@redhat.com>
862 Add async version of find_enclosing_mount
863 with default implementation.
865 2008-01-17 Alexander Larsson <alexl@redhat.com>
870 Allow calls to implementation of copy and write
871 even if the type of the file implementations is
872 different. This can be used to implement native
873 upload and download calls in a vfs.
877 Protect against the case where move is called
878 with one file not being local.
880 Make sure we call the progress callback once
881 in the native move operation so that the caller
882 knows how many bytes were copied.
884 2008-01-16 Murray Cumming <murrayc@murrayc.com>
887 * gdatainputstream.c:
889 * gfileoutputstream.c:
894 * gunixmounts.c: Corrected some typos in the documentation:
896 its -> it's (where appropriate).
898 2008-01-16 Alexander Larsson <alexl@redhat.com>
902 Add g_file_query_exists (#508771)
904 2008-01-15 Murray Cumming <murrayc@murrayc.com>
909 * gvolume.c: For async functions that have no non-async
910 version, document that the GAsyncReadyCallback may be NULL.
913 2008-01-15 Alexander Larsson <alexl@redhat.com>
915 * gmemoryinputstream.c:
916 * gmemoryoutputstream.c:
917 Don't do pointer arithmetic on void * (#508602)
918 Patch from Kazuki IWAMOTO
920 2008-01-14 Matthias Clasen <mclasen@redhat.com>
922 * === Released 2.15.2 ===
924 2008-01-14 Alexander Larsson <alexl@redhat.com>
926 * gfile.c (g_file_monitor_file):
927 Don't set error here, since we fallback to polling monitor.
929 2008-01-14 Alexander Larsson <alexl@redhat.com>
932 (g_file_monitor_directory):
933 (g_file_monitor_file):
934 Add GError to file monitor calls
936 * glocaldirectorymonitor.c:
937 * glocaldirectorymonitor.h:
939 * glocalfilemonitor.c:
940 * glocalfilemonitor.h:
942 Update for above change
944 2008-01-14 Alexander Larsson <alexl@redhat.com>
948 Handle root correctly in g_file_get_relative_path (#508719)
950 2008-01-14 Alexander Larsson <alexl@redhat.com>
953 Clean up docs and example for GAsyncResult (#508074)
955 2008-01-11 Murray Cumming <murrayc@murrayc.com>
957 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
958 and correct some spelling mistakes. Bug #508108.
960 2008-01-11 Matthias Clasen <mclasen@redhat.com>
962 * glocalfileinfo.c: Add a comment.
964 2008-01-10 Murray Cumming <murrayc@murrayc.com>
966 * gfileinfo.c: GFileInfo description: Mention
967 how to actually set attributes in a GFile and how to discover
968 which attributes are settable. Bug #508378.
970 2008-01-10 A. Walton <awalton@svn.gnome.org>
972 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
973 (g_app_info_get_default_for_type):
974 Check for NULL content types.
976 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
978 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
980 2008-01-09 Murray Cumming <murrayc@murrayc.com>
982 * gfile.c: *_async() functions: Several small corrections
983 to the documentation, mostly correcting copy/paste errors
984 and improving some sentences.
986 2008-01-09 Dan Winship <danw@gnome.org>
988 * glocalfile.c (get_unique_filename): x86_64 fix
990 2008-01-09 Alexander Larsson <alexl@redhat.com>
995 Add g_unix_mount_guess_should_display and use
996 for unix volume monitor backend.
997 This means we more or less show what the
998 gnome-vfs backend did.
999 Based on patch from Padraig O'Briain
1001 2008-01-09 Alexander Larsson <alexl@redhat.com>
1005 Add g_themed_icon_new_with_default_fallbacks
1008 Use default fallbacks for icons
1010 2008-01-09 Alexander Larsson <alexl@redhat.com>
1013 * gmountoperation.[ch]:
1014 Change the API a bit so that unhandled methods
1015 get reported via the reply, rather than by
1016 the signal emission return value. This is because
1017 some handlers can't know this immediately without
1018 doing I/O, and this is an async operation that
1021 2008-01-09 Alexander Larsson <alexl@redhat.com>
1024 * fam/gfamdirectorymonitor.c:
1025 * fam/gfamfilemonitor.c:
1026 Fix double free crash (#508224)
1027 Patch from Joe Marcus Clarke
1029 008-01-07 Matthias Clasen <mclasen@redhat.com>
1031 * === Released 2.15.1 ===
1033 2008-01-07 Alexander Larsson <alexl@redhat.com>
1035 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1036 Fix warning (#507835)
1038 2008-01-07 Alexander Larsson <alexl@redhat.com>
1041 Pass --internal to glib-genmarshal
1044 * gmountoperation.c:
1046 Use better types for signal arguments (#507822)
1048 2008-01-07 Alexander Larsson <alexl@redhat.com>
1051 Build test subdir after .
1052 Remove gdirectorymonitor.[ch]
1054 * gdirectorymonitor.[ch]:
1058 Remove GDirectoryMonitor and make
1059 GFileMonitor the baseclass for both file and
1060 directory monitors. Lift the more generic
1061 rate limiting code from GDirectoryMonitor
1065 * fam/gfamdirectorymonitor.[ch]:
1066 * inotify/ginotifydirectorymonitor.[ch]:
1067 * inotify/inotify-helper.c:
1068 * glocaldirectorymonitor.[ch]:
1071 Update for the removed GDirectoryMonitor.
1073 * gmemoryoutputstream.c:
1074 Remove ununsed variable
1076 2008-01-07 Alexander Larsson <alexl@redhat.com>
1078 * gmemoryinputstream.c:
1079 Translate error strings
1082 * gmemoryoutputstream.[ch]:
1083 New implementation that avoids using GByteArray
1084 in implementation and API. (#506377)
1086 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1088 * tests/*: Add a test for memory input streams.
1090 * Makefile.am: Add tests to SUBDIRS.
1092 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1094 * glocalfilemonitor.c:
1095 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1098 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1100 * gdesktopappinfo.c: Fix a docs typo.
1102 * gfileattribute.c: Add information about extended attributes
1103 to the documentation. (#505058)
1105 2008-01-04 Alexander Larsson <alexl@redhat.com>
1108 * gmountoperation.c:
1109 Use the right type (uint) for the ask_password signal.
1111 2008-01-04 Alexander Larsson <alexl@redhat.com>
1116 Add g_app_info_supports_files()
1117 Remove desktop arg from g_app_info_should_show().
1119 * gdesktopappinfo.[ch]:
1120 Implement g_app_info_supports_files() and new should_show()
1121 Add g_desktop_app_info_set_desktop_env() to set the desktop
1122 for should_show(). (This will be set by gtk+ later)
1124 2008-01-04 Alexander Larsson <alexl@redhat.com>
1127 * gmemoryinputstream.[ch]:
1128 Improve API so that you can use multiple chunks
1129 of memory and custom destroy functions. (#506374)
1131 2008-01-03 Alexander Larsson <alexl@redhat.com>
1134 Handle NULL attribute matchers safely, as we return this
1135 for empty attribute matcher strings.
1137 2008-01-03 Alexander Larsson <alexl@redhat.com>
1139 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1140 Add /usr/local to list of internal mountpoints
1142 2008-01-03 Alexander Larsson <alexl@redhat.com>
1145 Check for HAVE_LCHOWN (#505887)
1147 2008-01-03 Alexander Larsson <alexl@redhat.com>
1151 Add define for selinux context attribute.
1152 Fix missing : -> :: namespace separator change
1153 Fix missing _ -> - name change for xattr-sys.
1156 2008-01-03 Alexander Larsson <alexl@redhat.com>
1159 Link to libglib and libgobject directly (#504879)
1160 Patch from Sebastien Bacher
1162 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1164 * gfile.c: Expanded the g_file_new_for_commandline_arg
1165 description a bit, based on the code and the docs of the
1166 other g_file_new_for_* functions.
1168 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1170 * gfilemonitor.h: Fixed typo in docs.
1172 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1174 Updates to GIO documentation. (#506395, Mikael Hermansson)
1176 * gcontenttype.c: Describe memory management for return value of
1177 g_content_types_get_registered(). Missing piece from #505815.
1178 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1179 GVolume, GDrive, GMounts, which hopefully gives the user less
1180 confusions when using this API. Following explainations from
1181 Alexander Larsson on gtk-devel-list.
1183 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1185 * gfileinfo.c: Expand the long description.
1187 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1190 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1191 fix builds with --disable-visibility. (#500273, Christian Persch)
1193 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1195 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1196 in the list of returned app infos.
1198 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1200 * gappinfo.c: Fix a cross-reference
1202 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1204 * gfileinputstream.c:
1205 * gfileoutputstream.c:
1209 * gdesktopappinfo.c:
1211 * gfileinfo.c: Documentation updates.
1213 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1215 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1218 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1220 * gcontenttype.c (g_content_types_get_registered): Don't return
1221 freed memory (#505815, Mikael Hermansson)
1223 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1225 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1226 used to detect statbuf->st_blocks. (#505042)
1228 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1230 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1231 environment handling. (#504829, Cosimo Cecchi)
1233 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1235 * gappinfo.c: Doc improvements
1237 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1240 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1242 * === Released 2.15.0 ===
1244 2007-12-20 Hans Breuer <hans@breuer.org>
1246 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1247 with symbols gwin32appinfo.obj, added gmount.obj
1248 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1250 2007-12-20 Alexander Larsson <alexl@redhat.com>
1256 * gfilenamecompleter.c:
1259 * gpollfilemonitor.c:
1260 File attribute renames:
1262 fs:: -> filesystem::
1263 id::fs -> id::filesystem
1265 2007-12-20 Alexander Larsson <alexl@redhat.com>
1274 Add GMountUnmountFlags to all unmount and
1276 Add g_mount_remount() call.
1278 2007-12-20 Alexander Larsson <alexl@redhat.com>
1280 * gvfs.c (get_default_vfs):
1281 Fix unused variable warning
1283 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1285 * pltcheck.sh: Update
1287 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1289 * gunionvolumemonitor.c:
1290 * gunixmount.c: Remove C99 comments
1292 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1294 * gio.symbols: Add some missing symbols
1296 2007-12-19 Alexander Larsson <alexl@redhat.com>
1299 Make g_io_modules_load_all_in_directory not unuse
1300 loaded modules so that users of it can do stuff
1302 Init internal "module" types.
1303 Initialize static prio and name for types so that
1304 we don't have to load modules to get it.
1306 * gnativevolumemonitor.h:
1308 Move is_supported to parent class so that
1309 non-native monitors can avoid being initialized
1310 too. (For instance GDaemonVolumeMonitor if we're
1311 not using GDaemonVfs.)
1313 * glocaldirectorymonitor.[ch]:
1314 * glocalfilemonitor.[ch]:
1315 * gunionvolumemonitor.c:
1316 * gunixvolumemonitor.c:
1318 Find plugins using the static prio+name to
1319 avoid unnecessarily loading the modules.
1321 2007-12-19 Alexander Larsson <alexl@redhat.com>
1326 2007-12-19 Alexander Larsson <alexl@redhat.com>
1328 * gunionvolumemonitor.c:
1329 Store the native type as GType, not class so that
1330 we can unload it. But still avoid unnecessarily
1333 2007-12-19 David Zeuthen <davidz@redhat.com>
1335 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1336 add signals 'disconnected' and 'eject-button' on GDrive. Add
1337 signal 'removed' on GVolume and 'unmounted' on GMount.
1339 * gdrive.c: (g_drive_base_init):
1341 * gfile.c: (g_file_mount_mountable),
1342 (g_file_mount_enclosing_volume):
1345 * gmount.c: (g_mount_base_init):
1347 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1348 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1349 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1353 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1355 * *.c: Fix up includes in the section docs.
1357 2007-12-17 Alexander Larsson <alexl@redhat.com>
1359 * gnativevolumemonitor.h:
1360 * gunionvolumemonitor.c:
1361 * gunixvolumemonitor.c:
1362 Add is_supported() to GNativeVolumeMonitorClass so
1363 that we can avoid having to create an object to see
1364 if the backend is supported at runtime.
1365 Also add name member and an env var to pick a specific
1366 volume monitor backend.
1370 Add cancellable to _g_mount_get_for_mount_path()
1372 * glocaldirectorymonitor.c:
1373 * glocalfilemonitor.c:
1374 Avoid loading and unloading modules while sorting.
1376 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1379 * gunixmounts.[hc]: Namespace waste reduction, move some
1380 g_get_unix_mount functions to the g_unix_mount namespace.
1383 * gunixvolumemonitor.c:
1385 * glocaldirectorymonitor.c: Update all callers.
1387 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1389 2007-12-17 Alexander Larsson <alexl@redhat.com>
1392 Add doc comments about what GFile operations are
1393 guaranteed to not block.
1395 2007-12-17 Alexander Larsson <alexl@redhat.com>
1398 Add missing #ifdef fixing OSX build.
1399 (#503334, patch from Richard Hult)
1401 2007-12-14 David Zeuthen <davidz@redhat.com>
1405 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1406 (g_mount_eject), (g_mount_eject_finish):
1408 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1409 (get_volume_for_uuid), (get_mount_for_uuid),
1410 (g_union_volume_monitor_class_init),
1411 (get_default_native_type_with_exclude), (get_default_native_type),
1412 (get_native_type), (update_native_type),
1413 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1414 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1415 (g_unix_mount_can_eject), (eject_unmount_cb),
1416 (eject_unmount_read_error), (eject_unmount_do),
1417 (g_unix_mount_unmount), (g_unix_mount_eject),
1418 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1419 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1420 (g_unix_mount_point_guess_can_eject):
1422 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1423 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1424 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1425 (g_unix_volume_mount), (g_unix_volume_eject),
1426 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1427 * gunixvolumemonitor.c: (get_volume_for_uuid),
1428 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1430 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1431 (g_volume_eject), (g_volume_eject_finish):
1433 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1434 (g_volume_monitor_get_mount_for_uuid):
1437 Provide eject() on both GMount and GVolume and utility functions
1438 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1439 ejected. Introduce the concept of UUID's and wire it into GVolume
1440 and GMount and provide API on GVolumeMonitor to find such
1441 instances. Also handle the case where an external
1442 GNativeVolumeMonitor fails to initialize. Lock around the
1443 _g_get_mount_for_mount_path() function such that volume monitor
1444 implementations won't have to do locking themselves.
1446 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1448 * gdesktopappinfo.c:
1454 * gvolume.h: Documentation updates
1456 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1459 * gfile.h: Doc updates
1461 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1464 * gdesktopappinfo.c: Use hash table iterators.
1466 2007-12-14 Alexander Larsson <alexl@redhat.com>
1469 * gfileattribute.[ch]:
1470 * gfileattribute-priv.h:
1471 Move GFileAttributeValue to a private header, as
1475 Make set_attribute take a type + a pointer instead
1476 of a GFileAttributeValue.
1479 Fix up for above changes.
1480 Add g_file_info_get_attribute_data to get
1481 all info in one call, g_file_info_get_attribute_status
1482 to get the status and g_file_info_get_attribute_as_string.
1486 * glocalfileinfo.[ch]:
1490 Make _guess_type static.
1492 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1495 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1496 made mkenums and friends use temporary files to avoid leaving
1497 empty generated files on failure (#503470).
1499 2007-12-14 Alexander Larsson <alexl@redhat.com>
1501 * gmountoperation.h:
1504 2007-12-14 Alexander Larsson <alexl@redhat.com>
1508 * gfileattribute.[ch]:
1511 * glocalfileoutputstream.c:
1512 * gmountoperation.[ch]:
1513 * goutputstream.[ch]:
1514 Clean up all flags enums to not have _FLAGS in them
1515 Make the names of some of the enums better.
1520 2007-12-14 Michael Natterer <mitch@imendio.com>
1522 * gio.symbols: fix g_io_scheduler symbol names.
1524 2007-12-14 Alexander Larsson <alexl@redhat.com>
1530 * gbufferedinputstream.h:
1531 * gbufferedoutputstream.h:
1534 * gdatainputstream.h:
1535 * gdataoutputstream.h:
1536 * gdesktopappinfo.h:
1537 * gdirectorymonitor.h:
1541 * gfileenumerator.h:
1544 * gfileinputstream.h:
1546 * gfilenamecompleter.h:
1547 * gfileoutputstream.h:
1548 * gfilterinputstream.h:
1549 * gfilteroutputstream.h:
1557 * gmemoryinputstream.h:
1558 * gmemoryoutputstream.h:
1560 * gmountoperation.h:
1563 * gsimpleasyncresult.h:
1565 * gunixinputstream.h:
1567 * gunixoutputstream.h:
1571 * inotify/Makefile.am:
1572 Only allow including <gio/gio.h> from apps
1574 2007-12-14 Alexander Larsson <alexl@redhat.com>
1576 * gioscheduler.[ch]:
1577 * gsimpleasyncresult.c:
1578 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1579 Split out the send_to_mainloop call into two versions instead
1580 of having the block argument.
1582 2007-12-13 Alexander Larsson <alexl@redhat.com>
1584 * gcancellable.[ch]:
1586 * gbufferedinputstream.c:
1587 * gfileenumerator.c:
1588 * gfileinputstream.c:
1589 * gfileoutputstream.c:
1593 g_push/pop_current_cancellable ->
1594 g_cancellable_push/pop_current
1596 2007-12-13 Alexander Larsson <alexl@redhat.com>
1600 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1602 2007-12-13 Alexander Larsson <alexl@redhat.com>
1604 * gmountoperation.h:
1605 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1607 2007-12-12 Alexander Larsson <alexl@redhat.com>
1610 Fix race condition when freeing proxy in
1611 g_io_job_send_to_mainloop().
1613 2007-12-12 Alexander Larsson <alexl@redhat.com>
1619 Make attribute namespace separator "::" instead of ":".
1620 Use - instead of _ as separator in attribute names.
1622 2007-12-12 Alexander Larsson <alexl@redhat.com>
1624 * gbufferedinputstream.h:
1625 * gbufferedoutputstream.h:
1626 * gdatainputstream.h:
1627 * gdataoutputstream.h:
1628 * gdirectorymonitor.h:
1629 * gfileenumerator.h:
1630 * gfileinputstream.h:
1632 * gfileoutputstream.h:
1633 * gfilterinputstream.h:
1634 * gfilteroutputstream.h:
1636 * glocalfileinputstream.h:
1637 * glocalfileoutputstream.h:
1638 * gmemoryinputstream.h:
1639 * gmemoryoutputstream.h:
1640 * gnativevolumemonitor.h:
1642 * gunixinputstream.h:
1643 * gunixoutputstream.h:
1646 s/parent/parent_instance/ in GObjects
1648 2007-12-12 Alexander Larsson <alexl@redhat.com>
1653 No need for padding for interfaces
1655 2007-12-12 Alexander Larsson <alexl@redhat.com>
1659 * gbufferedinputstream.c:
1660 * gbufferedoutputstream.c:
1663 * gdatainputstream.[ch]:
1664 * gdesktopappinfo.c:
1665 * gdirectorymonitor.c:
1667 * gfileattribute.[ch]:
1670 * gfileinputstream.h:
1671 * gfilemonitor.[ch]:
1672 * gfileoutputstream.[ch]:
1673 * gfilterinputstream.h:
1674 * gfilteroutputstream.h:
1677 * gloadableicon.[ch]:
1678 * gmemoryinputstream.c:
1679 * gmountoperation.c:
1681 Fix up a bunch of details in the docs.
1686 2007-12-11 David Zeuthen <davidz@redhat.com>
1688 Rework how volumes, drives and volume monitoring is
1689 done. Previosly the model was
1691 GDrive <1-1> GVolume
1693 where a GDrive instance represented a mount point and a GVolume
1694 instance represented a mounted file system. This patch changes it
1697 GDrive <1-N> GVolume <1-1> GMount
1699 where GMount now serves the purpose of the old GVolume and the new
1700 GVolume serves the purpose of the old GDrive. In addition the new
1701 GDrive interface is used to represent a collection of GVolume
1702 instances (typically partitions) and also contains utility to query
1703 the state of the physical drive the GDrive object represents (such
1704 as checking for media, polling the drive, ejecting the media etc.).
1706 Also implement mounting and unmounting in the Unix volume monitor
1707 backend. A subquent patch will introduce GDrive support for ejection
1711 * gdrive.c: (g_drive_is_media_check_automatic),
1712 (g_drive_is_media_removable), (g_drive_has_media),
1713 (g_drive_can_poll_for_media), (g_drive_eject),
1714 (g_drive_eject_finish), (g_drive_poll_for_media),
1715 (g_drive_poll_for_media_finish):
1717 * gfile.c: (g_file_find_enclosing_mount):
1720 * glocaldirectorymonitor.c:
1721 (g_local_directory_monitor_constructor), (mounts_changed):
1722 * glocalfile.c: (get_mount_info),
1723 (g_local_file_find_enclosing_mount),
1724 (g_local_file_file_iface_init):
1725 * gnativevolumemonitor.h:
1726 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1727 (get_connected_drives), (g_union_volume_monitor_class_init),
1728 (child_volume_added), (child_volume_removed),
1729 (child_volume_changed), (child_mount_added), (child_mount_removed),
1730 (child_mount_pre_unmount), (child_mount_changed),
1731 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1732 (g_union_volume_monitor_remove_monitor),
1733 (_g_mount_get_for_mount_path):
1734 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1735 (guess_system_internal), (_g_get_unix_mounts),
1736 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1737 (g_unix_mount_free), (g_unix_mount_compare),
1738 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1739 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1740 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1741 (type_to_icon), (g_unix_mount_guess_name),
1742 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1743 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1744 (_resolve_symlink), (_resolve_dev_root):
1746 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1747 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1748 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1749 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1750 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1751 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1752 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1753 (g_unix_volume_volume_iface_init):
1755 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1756 (get_mounts), (get_volumes), (get_connected_drives),
1757 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1758 (mountpoints_changed), (mounts_changed),
1759 (g_unix_volume_monitor_init),
1760 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1761 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1762 * gunixvolumemonitor.h:
1763 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1764 (g_volume_mount), (g_volume_mount_finish):
1766 * gvolumemonitor.c: (g_volume_monitor_class_init),
1767 (g_volume_monitor_get_connected_drives),
1768 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1771 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1773 * gmountoperation.h (GPasswordFlags): Close the gap
1775 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1777 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1779 * gdesktopappinfo.[hc]: Remove _-prefixes
1781 2007-12-10 Tor Lillqvist <tml@novell.com>
1783 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1786 2007-12-10 Alexander Larsson <alexl@redhat.com>
1788 * gfile.c (g_file_set_display_name):
1789 Don't hardcode '/' (#502727)
1791 2007-12-09 Hans Breuer <hans@breuer.org>
1793 * makefile.msc : follow lib naming convention
1794 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1795 for user and group name, tested with ../tests/gio-ls
1797 2007-12-09 A. Walton <awalton@svn.gnome.org>
1799 * gdesktopappinfo.c:
1805 * gfileenumerator.c:
1810 * gmemoryinputstream.c:
1811 * gmemoryoutputstream.c:
1813 * gsimpleasyncresult.c:
1814 More documentation cleanup and filling in missing information, bringing
1815 GIO to 99% symbol coverage.
1817 2007-12-08 Hans Breuer <hans@breuer.org>
1819 [gio compiles and links on win32, not sure how much already works]
1820 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1821 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1822 base on win32 API; prefer g_lstat() over lstat(); instead of
1823 localtime_r() use an all GLib implementation on win32;
1824 get_mount_info() still needs a win32 specifc implementation
1825 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1826 win32_get_file_user_info to get owner/group info without uid/gid
1827 * glocalfileinputstream.c : include <io.h> on win32
1828 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1829 definition, use g_win32_ftruncate() for G_OS_WIN32
1830 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1831 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1832 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1833 * makefile.msc : updated
1835 2007-12-07 Alexander Larsson <alexl@redhat.com>
1837 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1838 Avoid warning spew if error == NULL
1840 2007-12-07 Alexander Larsson <alexl@redhat.com>
1843 Update docs wrt etags
1845 2007-12-06 Alexander Larsson <alexl@redhat.com>
1848 Include sys/types.h for dev_t (#501919)
1850 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1854 Make abicheck and pltcheck pass.
1856 2007-12-05 Alexander Larsson <alexl@redhat.com>
1859 * giomodule-priv.h: Added.
1860 * glocaldirectorymonitor.c:
1861 * glocalfilemonitor.c:
1862 * gunionvolumemonitor.c:
1864 Actually add the declaration of _g_io_modules_ensure_loaded
1866 2007-12-05 Alexander Larsson <alexl@redhat.com>
1868 * gdatainputstream.c:
1873 * glocaldirectorymonitor.c:
1874 * glocalfilemonitor.c:
1875 * gunionvolumemonitor.c:
1877 Make g_io_modules_ensure_loaded a private function and
1878 don't pass in the dirname. This means we can do magic
1879 directory finding in the win32 version.
1880 Export the actual load-modules-in-directory code so that
1881 gvfs can reuse that.
1883 2007-12-05 Alexander Larsson <alexl@redhat.com>
1885 * gbufferedinputstream.c:
1886 * gbufferedoutputstream.c:
1889 * gfileenumerator.[ch]:
1890 * gfileinputstream.c:
1891 * gfileoutputstream.[ch]:
1892 * gfilterinputstream.c:
1893 * gfilteroutputstream.c:
1894 * ginputstream.[ch]:
1896 * glocalfileenumerator.c:
1897 * glocalfileinputstream.c:
1898 * glocalfileoutputstream.c:
1899 * gmemoryinputstream.c:
1900 * gmemoryoutputstream.c:
1901 * goutputstream.[ch]:
1904 * gunixinputstream.c:
1905 * gunixoutputstream.c:
1906 Rename all struct members named:
1907 read, write, close, truncate, or mount
1908 to foo_fn, as these are reserved names
1909 and could be defined as macros in libc.
1912 2007-12-04 Alexander Larsson <alexl@redhat.com>
1915 (g_output_stream_close):
1916 Only call flush if non-null.
1918 2007-11-30 Dan Winship <danw@gnome.org>
1920 * ginputstream.c (g_input_stream_set_pending): Make this take a
1921 GError and return a gboolean, and do the "outstanding operation"
1922 check (and the "stream is already closed" check) itself.
1923 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1925 * goutputstream.c (g_output_stream_set_pending)
1926 (g_output_stream_clear_pending): Likewise
1928 * gbufferedinputstream.c:
1929 * gfileinputstream.c:
1930 * gfileoutputstream.c: Update for that
1932 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1933 Like g_simple_async_report_error_in_idle, but takes a GError
1934 rather than building one.
1936 2007-11-30 Dan Winship <danw@gnome.org>
1938 * goutputstream.c: Don't cheat and unset the "pending" flag around
1939 inner calls. Instead, call the class method directly rather than
1940 the wrapper function that checks "pending"
1942 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1944 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1946 2007-12-03 Hans Breuer <hans@breuer.org>
1948 [start of port to win32/msvc]
1949 * gcancellable.c : HAVE_UNIST_H and _pipe()
1950 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1951 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1952 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1954 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1955 * glocalvfs.c : use HAVE_PWD_H
1956 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1957 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1958 * Makefile.am : added to EXTRA_DIST
1960 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1962 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1965 2007-12-03 Alexander Larsson <alexl@redhat.com>
1968 Handle OSX style xattrs API (#500506)
1970 2007-12-03 Alexander Larsson <alexl@redhat.com>
1974 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1976 2007-12-02 A. Walton <awalton@svn.gnome.org>
1980 Documentation accuracy fixes.
1982 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1984 * gioenumtypes.c.template: Fix typo.
1986 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1988 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1990 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1992 * gdirectorymonitor.c:
1993 * gfilemonitor.c: Add properties
1995 * gbufferedoutputstream.c: Don't mark buffer-size property
1998 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2000 * gbufferedoutputstream.c: Add auto-grow property.
2002 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2004 * *.c: Unify the capitalization of section headings.
2006 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2008 * gmountoperation.c: Add properties
2010 * gdatainputstream.c: Turn byte-order and newline-type into
2013 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2015 * gioenumtypes.[hc].template: Templates for enum registration
2017 * Makefile.am: Generate gioenumtypes.[hc]
2019 * gio.h: Include gioenumtypes.h
2021 * gfile.h: Add some explicit nicks.
2023 * gio.symbols: Add new symbols
2025 * pltcheck.sh: Adjust
2027 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2029 * *.c: Explain etags and link to the explanation
2031 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2033 * *.c: Explain I/O priority.
2035 * *.c: More coding style fixes.
2037 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2039 * gasyncresult.c: Add another paragraph to the intro,
2040 adjust coding style of example.
2042 2007-11-29 A. Walton <awalton@svn.gnome.org>
2045 Fixes unknown meaning in GAppLaunchContext docs.
2047 Clarify asynchronous ops.
2049 Fix entity tag docs.
2052 Provides missing gtk-doc section, fixes API docs slighly.
2053 * gsimpleasyncresult.c:
2054 Fill in missing info in docs.
2055 * gunixinputstream.c:
2056 * gunixoutputstream.c:
2057 Be more expressive in short description.
2059 Remove gtk-doc stubs for non-public API.
2061 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2063 * *.c: Coding style fixups
2065 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2067 * inotify/inotify-helper.c: Don't export the lock from libgio.
2069 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2072 * abicheck.sh: Fix copy-and-paste leftovers
2074 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2076 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2078 2007-11-28 Alexander Larsson <alexl@redhat.com>
2082 Removed unnecessary file
2084 * gdesktopappinfo.[ch]:
2087 * glocaldirectorymonitor.[ch]:
2089 * glocalfileenumerator.[ch]:
2090 * glocalfileinputstream.[ch]:
2091 * glocalfilemonitor.[ch]:
2092 * glocalfileoutputstream.[ch]:
2094 * gnativevolumemonitor.c:
2095 * gpollfilemonitor.[ch]:
2096 * gunionvolumemonitor.[ch]:
2099 * gunixvolumemonitor.[ch]:
2102 * inotify/ginotifydirectorymonitor.[ch]:
2103 * inotify/ginotifyfilemonitor.[ch]:
2104 * inotify/inotify-helper.c:
2105 Append _ to all internal functions
2109 Export symbols needed for modules
2111 2007-11-28 Alexander Larsson <alexl@redhat.com>
2114 * abicheck.sh: Added.
2115 * makegioalias.pl: Added.
2116 * pltcheck.sh: Added.
2117 * gio.symbols: Added.
2120 Initial work on adding symbol handling.
2123 Correct ifdef guard name
2126 * inotify/Makefile.am:
2127 * xdgmime/Makefile.am:
2128 Include toplevel Makefile.decl
2130 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2132 * gcontenttype.c: Move doc comments to the unix section.
2134 * *.[hc]: More trivial doc corrections.
2136 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2138 * gpollfilemonitor.c:
2142 * gdesktopappinfo.c:
2147 * gdatainputstream.c:
2148 * gdatainputstream.h:
2149 * gdataoutputstream.c:
2150 * gdataoutputstream.h:
2151 * gfileinfo.h: Doc cleanups
2153 2007-11-28 Andre Klapper <a9016009@gmx.de>
2155 * gdesktopappinfo.c: Fix a typo.
2157 2007-11-27 Andre Klapper <a9016009@gmx.de>
2159 * glocalfileoutputstream.c: Fix a typo.
2161 2007-11-27 Alexander Larsson <alexl@redhat.com>
2164 Don't include removed headers
2166 2007-11-27 Alexander Larsson <alexl@redhat.com>
2169 * gsocketinputstream.[ch]: Removed.
2170 * gsocketoutputstream.[ch]: Removed.
2171 * gunixinputstream.[ch]: Added.
2172 * gunixoutputstream.[ch]: Added.
2173 Renamed GSocket*Stream to GUnix*Stream and made
2174 it unix-only, since its not really only for sockets
2175 and it only works on unix (but is highly useful there).
2177 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2183 * gbufferedinputstream.c:
2184 * gbufferedinputstream.h:
2185 * gbufferedoutputstream.c:
2186 * gbufferedoutputstream.h:
2190 * gdatainputstream.c:
2191 * gdatainputstream.h:
2192 * gdataoutputstream.c:
2193 * gdataoutputstream.h:
2194 * gdirectorymonitor.c:
2195 * gdirectorymonitor.h:
2202 * gfileenumerator.c:
2203 * gfileenumerator.h:
2208 * gfileinputstream.c:
2209 * gfileinputstream.h:
2212 * gfilenamecompleter.c:
2213 * gfilenamecompleter.h:
2214 * gfileoutputstream.c:
2215 * gfileoutputstream.h:
2216 * gfilterinputstream.c:
2217 * gfilterinputstream.h:
2218 * gfilteroutputstream.c:
2219 * gfilteroutputstream.h:
2232 * glocalfileoutputstream.c:
2233 * gmemoryinputstream.c:
2234 * gmemoryinputstream.h:
2235 * gmemoryoutputstream.c:
2236 * gmemoryoutputstream.h:
2237 * gmountoperation.c:
2238 * gmountoperation.h:
2241 * gpollfilemonitor.c:
2244 * gsimpleasyncresult.c:
2245 * gsimpleasyncresult.h:
2246 * gsocketinputstream.c:
2247 * gsocketinputstream.h:
2248 * gsocketoutputstream.c:
2249 * gsocketoutputstream.h:
2256 * gunixvolumemonitor.c:
2265 Bumps documentation to 93% symbol coverage, touching most
2266 of the public files. Fixes broken function documentation prototypes.
2267 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2268 gtk-doc headers in private files.
2270 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
2272 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2273 (g_buffered_input_stream_read_byte):
2274 * gbufferedinputstream.h:
2275 New functions for efficient access to buffer and simple single byte
2278 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2279 (g_data_input_stream_read_until):
2280 * gdatainputstream.h:
2281 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2282 read_until with multiple stop chars.
2284 2007-11-27 Alexander Larsson <alexl@redhat.com>
2288 * inotify/Makefile.am:
2289 Use the user-specified giomoduledir
2291 2007-11-27 Alexander Larsson <alexl@redhat.com>
2295 Add catch-all gio.h header
2296 Don't install gdummyfile.h
2298 2007-11-26 Alexander Larsson <alexl@redhat.com>
2300 * Makefile.am (gioinclude_HEADERS):
2301 Remove trailing whitespace
2303 2007-11-26 Alexander Larsson <alexl@redhat.com>
2305 Merge gio-standalone into glib
2307 2007-11-25 Christian Kellner <gicmo@gnome.org>
2309 * gio/goutputstream.c:
2310 Fix small mistake in the docs.
2312 2007-11-21 Christian Persch <chpe@gnome.org>
2314 * gio/glocalfile.c: (g_local_file_trash):
2315 Convert filenames to UTF-8 for GError.
2316 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2317 as per xdg base dir spec.
2319 2007-11-21 Christian Persch <chpe@gnome.org>
2321 * gio/gdesktopappinfo.c:
2322 Use that g_key_file_to_data cannot fail.
2324 Use stock defines for the key file group and key names.
2327 2007-11-21 Alexander Larsson <alexl@redhat.com>
2330 (copy_stream_with_progress):
2331 Make sure we do a final progress callback with
2332 the full total size.
2334 2007-11-21 Alexander Larsson <alexl@redhat.com>
2337 Export g_file_copy_attributes
2338 Remove padding as its not needed for interfaces
2340 2007-11-20 Alexander Larsson <alexl@redhat.com>
2345 Add G_IO_ERROR_WOULD_MERGE for
2346 copy/move dir on dir with overwrite.
2348 2007-11-20 Alexander Larsson <alexl@redhat.com>
2351 * gio/glocalfileinfo.c:
2352 Add COPY_NAME (this is an optional
2353 non-modified utf8 version of the name) that
2356 2007-11-20 Alexander Larsson <alexl@redhat.com>
2358 * gio/glocalfileenumerator.c:
2359 Report errors as GIOError, not GFileError
2361 2007-11-16 Alexander Larsson <alexl@redhat.com>
2363 * gio/glocalfileoutputstream.c:
2364 * gio/gwin32appinfo.c:
2365 Fix typos in strings.
2366 Patch from Luca Ferretti <elle.uca@libero.it>
2368 2007-11-15 Alexander Larsson <alexl@redhat.com>
2371 Post release version bump
2373 === gio-standalone 0.1.2 ===
2375 2007-11-15 Alexander Larsson <alexl@redhat.com>
2377 * docs/reference/gio/Makefile.am:
2378 Fix up distcheck by removing weird
2384 2007-11-14 Alexander Larsson <alexl@redhat.com>
2386 * gio/gdesktopappinfo.c:
2387 * gio/glocaldirectorymonitor.c:
2389 * gio/glocalfileinfo.c:
2390 * gio/inotify/inotify-sub.c:
2391 * programs/gio-cat.c:
2392 * programs/gio-copy.c:
2393 * programs/gio-info.c:
2394 * programs/gio-ls.c:
2395 * programs/gio-monitor-dir.c:
2396 * programs/gio-monitor-file.c:
2397 * programs/gio-mount.c:
2398 * programs/gio-move.c:
2399 * programs/gio-rm.c:
2400 * programs/gio-save.c:
2401 * programs/gio-trash.c:
2402 Leak fixes from Kjartan Maraas
2404 2007-11-14 Alexander Larsson <alexl@redhat.com>
2406 * gio/fam/fam-helper.c:
2408 * gio/glocalfileinfo.c:
2412 * gio/inotify/inotify-diag.c:
2413 * gio/inotify/inotify-kernel.c:
2414 Various code cleanups from Kjartan Maraas
2416 2007-11-14 Alexander Larsson <alexl@redhat.com>
2418 * gio/gioscheduler.c:
2420 Set up threadpool so that we cache 2 unused
2421 idle threads for at 15 secs. This means we
2422 will reuse thread-local data (like dbus connections)
2425 2007-11-14 Alexander Larsson <alexl@redhat.com>
2427 * gio/fam/fam-helper.c:
2428 * gio/fam/gfamdirectorymonitor.c:
2429 * gio/fam/gfamfilemonitor.c:
2431 * gio/gcontenttype.c:
2432 * gio/gdatainputstream.c:
2433 * gio/gdataoutputstream.c:
2437 * gio/gfileattribute.h:
2438 * gio/gfileenumerator.c:
2440 * gio/ginputstream.c:
2443 * gio/glocalfileinfo.c:
2444 * gio/goutputstream.c:
2445 * gio/gpollfilemonitor.c:
2446 * gio/gsimpleasyncresult.c:
2447 * gio/gunixmounts.c:
2448 * gio/gunixmounts.h:
2449 * gio/inotify/ginotifydirectorymonitor.c:
2450 * gio/inotify/ginotifyfilemonitor.c:
2451 * gio/inotify/inotify-diag.c:
2452 * gio/inotify/inotify-kernel.c:
2453 * gio/inotify/inotify-path.c:
2455 * gio/test-streams.c:
2456 * programs/gio-info.c:
2457 * programs/gio-monitor-dir.c:
2458 * programs/gio-monitor-file.c:
2459 Various code cleanups from Kjartan Maraas
2461 2007-11-13 Alexander Larsson <alexl@redhat.com>
2464 Handle the uri-scheme calls for dummy files
2466 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2468 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2469 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2470 to avoid clash with the C++ keyword.
2472 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2474 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2475 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2477 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2479 * gio/glocaldirectorymonitor.c:
2480 * gio/glocalfilemonitor.c:
2481 * gio/gunionvolumemonitor.c:
2482 Don't use g_once_init_*() for initializations that could fail and
2483 could leave the initialization variable set to 0 but use GOnce.
2484 This prevents a deadlock on the second call when trying to create
2485 a monitor and no monitor type is available. Thanks to Sven Herzberg
2488 2007-11-11 Sven Herzberg <sven@imendio.com>
2490 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2491 #ifdef (make it work on MacOS X again)
2493 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2495 Fixes Changelog for last two commits (sorry guys).
2497 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2499 * gio/gbufferedinputstream.c:
2500 * gio/gdatainputstream.c:
2502 * gio/gfileoutputstream.c:
2503 * gio/gfilterinputstream.c:
2504 * gio/glocalfileinputstream.c:
2507 More consistency fixes in g*stream.c files.
2508 Significant clean of gfile's documentation, filling in of
2509 asynchronous operations documentation.
2511 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2513 * gio/gasyncresult.c:
2514 * gio/gbufferedinputstream.c:
2515 * gio/gbufferedoutputstream.c:
2516 * gio/gcancellable.c:
2517 * gio/gcontenttype.c:
2518 * gio/gdatainputstream.c:
2519 * gio/gdataoutputstream.c:
2520 * gio/gdesktopappinfo.c:
2523 * gio/gfileattribute.c:
2524 * gio/gio/gfileenumerator.c:
2526 * gio/gfileinputstream.c:
2527 * gio/gfilemonitor.c:
2528 * gio/gfileoutputstream.c:
2529 * gio/ginputstream.c:
2531 * gio/gioscheduler.c:
2532 * gio/gloadableicon.c:
2533 * gio/glocalfileoutputstream.c:
2534 * gio/gmemoryoutputstream.c:
2535 * gio/gmountoperation.c:
2536 * gio/goutputstream.c:
2538 * gio/gsimpleasyncresult.c:
2539 * gio/gunionvolumemonitor.c:
2540 * gio/gunixmounts.c:
2541 * gio/gunixvolume.c:
2545 * gio/gvolumemonitor.c:
2546 Updated documentation stubs, working towards consistency and
2549 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2551 * gio/gmemoryoutputstream.c:
2552 * gio/gmemoryoutputstream.h:
2553 Change g_memory_output_stream_set_free_on_close() to
2554 g_memory_output_stream_set_free_data() as this makes more sense and
2555 is more consistent with GMemoryInputStream.
2557 2007-11-07 Alexander Larsson <alexl@redhat.com>
2564 Change how we find the default vfs so that
2565 we can handle a gvfs failing to init
2567 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2569 * gio/gbufferedoutputstream.c:
2570 * gio/gdatainputstream.c:
2571 * gio/gdataoutputstream.c:
2572 * gio/gfileinputstream.c:
2573 * gio/gfileoutputstream.c:
2574 * gio/gfilterinputstream.c:
2575 * gio/gfilteroutputstream.c:
2576 * gio/ginputstream.c:
2577 * gio/gmemoryinputstream.c:
2578 * gio/gmemoryoutputstream.c:
2579 * gio/goutputstream.c:
2580 * gio/gsimpleasyncresult.c:
2581 * gio/gsocketinputstream.c:
2582 * gio/gsocketoutputstream.c:
2583 Add guards to the remaining public functions, add a TODO for
2584 an unimplemented function and remove some useless guards.
2586 2007-11-07 Alexander Larsson <alexl@redhat.com>
2589 Autoconf checks for the various types of
2590 getpwuid_r and getgrgid_r
2592 * gio/glocalfileinfo.c:
2593 Use the autoconf checks from above
2595 2007-11-07 Alexander Larsson <alexl@redhat.com>
2598 (g_local_file_query_filesystem_info):
2599 Some fixes for the statvfs case
2601 2007-11-07 Alexander Larsson <alexl@redhat.com>
2604 (g_local_file_query_filesystem_info):
2605 Pick the "best" of statfs / statvfs for the system
2606 if both are availible.
2608 2007-11-07 Alexander Larsson <alexl@redhat.com>
2610 Solaris fixes from Halton.Huo@Sun.COM:
2617 * gio/glocalfileinfo.c:
2618 Fix for solaris definition of getpwuid_r
2620 * gio/test-streams.c:
2621 Use G_GNUC_PRETTY_FUNCTION
2623 2007-11-07 Alexander Larsson <alexl@redhat.com>
2625 * gio/gdesktopappinfo.c:
2626 (update_default_list):
2627 Remove double semicolon.
2628 Patch from Jens Granseuer
2630 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2632 * docs/reference/gio/gio-sections.txt:
2633 * gio/gbufferedinputstream.c:
2634 * gio/gbufferedinputstream.h:
2635 * gio/gdatainputstream.c:
2636 * gio/gfileenumerator.c:
2637 * gio/gioscheduler.c:
2638 * gio/gunionvolumemonitor.c:
2640 * programs/gio-save.c:
2641 Fix typo: availible -> available. Unfortuntely this breaks API
2642 and ABI as g_buffered_input_stream_get_available() was renamed.
2644 * gio/gunixmounts.c:
2645 * gio/gbufferedinputstream.c:
2646 Add guards for public functions.
2648 2007-11-06 Ross Burton <ross@openedhand.com>
2650 * docs/reference/gio/Makefile.am:
2651 Fix invalid += usage which automake 1.10 doesn't like.
2653 2007-11-06 Alexander Larsson <alexl@redhat.com>
2656 (g_app_launch_context_class_init):
2659 Patch from Ross Burton
2661 2007-11-06 Alexander Larsson <alexl@redhat.com>
2664 Post release version bump
2666 === gio-standalone 0.1.1 ===
2668 2007-11-06 Alexander Larsson <alexl@redhat.com>
2671 Bump version to 0.1.1
2673 * gio/gsimpleasyncresult.c:
2674 (g_simple_async_result_set_from_error):
2675 Remove bogus g_return_if_fail
2677 2007-11-06 Alexander Larsson <alexl@redhat.com>
2680 The name is gio-standalone
2683 Add top src/builddir to includedir
2685 2007-11-06 Alexander Larsson <alexl@redhat.com>
2687 * docs/reference/gio/gio-sections.txt:
2689 * gio/gbufferedinputstream.c:
2690 * gio/gbufferedoutputstream.c:
2691 * gio/gcancellable.c:
2692 * gio/gdatainputstream.h:
2693 * gio/gdataoutputstream.c:
2694 * gio/gdataoutputstream.h:
2695 * gio/gdirectorymonitor.c:
2697 * gio/gfileattribute.c:
2698 * gio/gfileattribute.h:
2699 * gio/gfileenumerator.c:
2700 * gio/gfileenumerator.h:
2703 * gio/gfileinputstream.h:
2704 * gio/gfilemonitor.c:
2705 * gio/gfileoutputstream.h:
2706 * gio/glocalfilemonitor.h:
2707 * gio/glocalfileoutputstream.h:
2708 * gio/gmemoryinputstream.c:
2709 * gio/gmemoryoutputstream.c:
2710 * gio/gmountoperation.c:
2711 * gio/goutputstream.c:
2712 * gio/goutputstream.h:
2714 * gio/gsimpleasyncresult.c:
2715 * gio/gunixmounts.c:
2716 * gio/gunixmounts.h:
2718 * gio/inotify/inotify-helper.c:
2719 Fix gtk-doc warnings
2721 Patch from Ross Burton
2723 2007-11-06 Alexander Larsson <alexl@redhat.com>
2725 * gio/gfilenamecompleter.c:
2726 (g_filename_completer_get_completions):
2729 * gio/gunixvolume.c:
2730 Remove unused function
2732 Patches from Ross Burton
2734 2007-11-06 Alexander Larsson <alexl@redhat.com>
2739 Padding not needed for interfaces
2741 2007-11-06 Alexander Larsson <alexl@redhat.com>
2743 * gio/gfilemonitor.c:
2747 Make giotypes.h an internal file
2750 * gio/gbufferedinputstream.h:
2751 * gio/gbufferedoutputstream.h:
2752 * gio/gcancellable.h:
2753 * gio/gdatainputstream.h:
2754 * gio/gdataoutputstream.h:
2755 * gio/gdirectorymonitor.c:
2756 * gio/gdirectorymonitor.h:
2761 * gio/gfileattribute.h:
2762 * gio/gfileenumerator.h:
2767 * gio/gfilemonitor.c:
2768 * gio/gfilemonitor.h:
2769 * gio/gfilenamecompleter.c:
2770 * gio/gfilenamecompleter.h:
2771 * gio/gfilterinputstream.h:
2772 * gio/gfilteroutputstream.h:
2773 * gio/ginputstream.h:
2774 * gio/gmemoryinputstream.h:
2775 * gio/gmemoryoutputstream.h:
2776 * gio/gmountoperation.c:
2777 * gio/gmountoperation.h:
2778 * gio/gnativevolumemonitor.c:
2779 * gio/goutputstream.h:
2782 * gio/gsimpleasyncresult.c:
2783 * gio/gsimpleasyncresult.h:
2784 * gio/gsocketinputstream.h:
2785 * gio/gsocketoutputstream.h:
2786 * gio/gthemedicon.c:
2787 * gio/gthemedicon.h:
2791 * gio/gvolumemonitor.c:
2792 * gio/gvolumemonitor.h:
2793 Add padding in classes where it seems useful
2794 Don't include giotypes.h from public headers
2795 Move in Class definitions into c file where possible
2800 2007-11-06 Alexander Larsson <alexl@redhat.com>
2802 * docs/reference/gio/gio-docs.xml:
2803 Better structure for API docs
2805 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2808 * gio/gloadableicon.c:
2809 * gio/gsimpleasyncresult.c:
2810 * gio/gthemedicon.c:
2811 Add some more guards to public functions. Only files missing are now
2814 2007-11-06 Alexander Larsson <alexl@redhat.com>
2816 * docs/reference/gio/gio-docs.xml:
2817 Remove old files, add missing ones
2819 2007-11-06 Alexander Larsson <alexl@redhat.com>
2821 * docs/reference/gio/gio-sections.txt:
2824 Hide implementation classes
2826 * gio/gdriveprivate.h:
2827 * gio/gvolumeprivate.h:
2828 Remove non-existing function declarations
2830 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2833 Fix compilation warnings and add guards to the new functions.
2835 * gio/gasyncresult.c:
2837 Add guards to the public functions.
2840 Implement get_path().
2842 2007-11-06 Alexander Larsson <alexl@redhat.com>
2844 * gio/gfilenamecompleter.c:
2845 Make g_filename_completer_get_completions
2846 return char ** instead of GList for
2849 * docs/reference/gio/gio-docs.xml:
2850 * docs/reference/gio/gio-sections.txt:
2852 * gio/gasyncresult.c:
2853 * gio/gbufferedinputstream.c:
2854 * gio/gbufferedoutputstream.c:
2855 * gio/gcancellable.c:
2856 * gio/gcontenttype.c:
2857 * gio/gdatainputstream.c:
2858 * gio/gdataoutputstream.c:
2859 * gio/gdesktopappinfo.c:
2860 * gio/gdirectorymonitor.c:
2864 * gio/gfileattribute.c:
2865 * gio/gfileenumerator.c:
2868 * gio/gfileinputstream.c:
2869 * gio/gfilemonitor.c:
2870 * gio/gfilenamecompleter.c:
2871 * gio/gfilenamecompleter.h:
2872 * gio/gfileoutputstream.c:
2873 * gio/gfilterinputstream.c:
2875 * gio/ginputstream.c:
2877 * gio/gioscheduler.c:
2878 * gio/gloadableicon.c:
2879 * gio/glocaldirectorymonitor.c:
2881 * gio/glocalfileinputstream.c:
2882 * gio/glocalfilemonitor.c:
2883 * gio/glocalfileoutputstream.c:
2885 * gio/gmemoryinputstream.c:
2886 * gio/gmemoryoutputstream.c:
2887 * gio/gmountoperation.c:
2888 * gio/goutputstream.c:
2889 * gio/gpollfilemonitor.c:
2891 * gio/gsimpleasyncresult.c:
2892 * gio/gsocketinputstream.c:
2893 * gio/gsocketoutputstream.c:
2894 * gio/gthemedicon.c:
2895 * gio/gunionvolumemonitor.c:
2897 * gio/gunixmounts.c:
2898 * gio/gunixvolume.c:
2899 * gio/gunixvolumemonitor.c:
2903 * gio/gvolumemonitor.c:
2904 * gio/gwin32appinfo.c:
2905 Add (mostly stub) doc strings to public functions.
2906 Patch from Andrew Walton (awalton@gmail.com)
2908 2007-11-06 Alexander Larsson <alexl@redhat.com>
2910 * gio/gappinfo.[ch]:
2911 Added GAppLaunchContext object and pass that to launch.
2912 This allows simple implementation of both
2913 launch-on-screen and startup notification via a gtk+
2914 subclass of GAppLaunchContext
2916 * gio/gdesktopappinfo.c:
2917 Implement GAppLaunchContext API
2919 * gio/gwin32appinfo.c:
2922 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2924 * gio/gmountoperation.c:
2925 Add some guards to GMountOperation's public functions.
2927 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2931 * gio/gcancellable.c:
2932 * gio/gdirectorymonitor.c:
2934 * gio/gfileenumerator.c:
2935 * gio/gfilemonitor.c:,
2936 * gio/gfilenamecompleter.c:
2939 * gio/gioscheduler.c:
2943 * gio/gvolumemonitor.c:
2944 Add even more guards to various public functions.
2946 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2949 Add guards to the public functions of GAppInfo.
2951 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2953 * gio/gcontenttype.c:
2954 Add some more guards for public functions.
2956 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2958 * gio/fam/fam-module.c:
2959 * gio/fam/gfamdirectorymonitor.c:
2960 * gio/fam/gfamdirectorymonitor.h:
2961 * gio/fam/gfamfilemonitor.c:
2962 * gio/fam/gfamfilemonitor.h:
2963 * gio/inotify/ginotifydirectorymonitor.c:
2964 * gio/inotify/ginotifydirectorymonitor.h:
2965 * gio/inotify/ginotifyfilemonitor.c:
2966 * gio/inotify/ginotifyfilemonitor.h:
2967 Add proper copyright information and remove an unused variable
2968 in the GInotifyFileMonitor constructor.
2970 * gio/gcancellable.c:
2971 Add a guard for a public function and an assertion to prevent
2972 an undefined program state.
2974 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2976 * gio/gfileattribute.c:
2977 Don't run into an assertion if the given attribute value is NULL
2978 in g_file_attribute_value_get_*() but instead return a fallback
2979 value that makes sense in most situations. Passing them a attribute
2980 value with the wrong type will still run into an assertion.
2982 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2984 * gio/gfileattribute.c:
2986 Add even more guards to the public functions. Also fix the refcounting
2987 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2988 let g_file_info_list_attributes() filter the attributes by namespace
2989 instead of simply ignoring the namespace parameter.
2991 2007-11-03 Sven Herzberg <sven@imendio.com>
2993 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2994 (This makes gio work on MacOS X again)
2996 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2999 Build the gio subdirectory before the docs. Otherwise the build will
3002 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3003 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3004 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3005 Add guards to the public functions.
3007 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3009 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3010 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3011 to prevent a compiler warning.
3013 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3014 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3015 return something in the non-void function find_topdir_for().
3017 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3024 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3026 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3027 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3028 * gwin32appinfo.c (g_win32_app_info_launch):
3029 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3030 envp_for_startup_id, g_desktop_app_info_launch,
3031 g_desktop_app_info_launch_uris):
3033 Give an opaque 'startup_id' string instead of 'envp'.
3034 Support empty file lists for launching new windows.
3035 Fix infinite recursion bug when launching URIs.
3037 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3040 Add guard to the new g_file_get_uri_scheme() function.
3042 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3045 Convert a g_return_val_if_fail() to setting the GError instead as
3046 otherwise applications have to verify the parameter before otherwise
3047 and the parameter might come directly from the user.
3049 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3051 * gio/inotify/ginotify*.[ch]:
3052 Add missing copyright information.
3054 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3057 Add guards in the beginning of public functions to check for valid
3058 parameters and fix a bug in copy_stream_with_progress() that could've
3059 caused writing less bytes than reading.
3060 * gio/glocalfileinfo.c:
3061 Check for a NULL parameter and set the GError accordingly then.
3062 * gio/goutputstream.c:
3063 Fix the same bug as in gfile.c that could've caused writing less bytes
3064 than reading in g_output_stream_real_splice().
3066 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3069 Use the correct gvolumeprivate.h naming
3071 2007-11-01 Christian Kellner <gicmo@gnome.org>
3074 Remove leftover "$(daemon_sources)" entry.
3076 2007-11-01 Christian Kellner <gicmo@gnome.org>
3081 Add copyright information to source files.
3083 2007-11-01 Alexander Larsson <alexl@redhat.com>
3087 Add g_file_get_uri_scheme
3089 2007-11-01 Alexander Larsson <alexl@redhat.com>
3092 * gio/gdesktopappinfo.c:
3093 * gio/gwin32appinfo.c:
3094 Add g_app_info_get_default_for_uri_scheme.
3096 2007-11-01 Alexander Larsson <alexl@redhat.com>
3099 Correct filename for gdriveprivate.h
3101 2007-10-31 Alexander Larsson <alexl@redhat.com>
3104 Rename id:value to id:file
3107 * gio/glocalfileinfo.c:
3110 2007-10-31 Alexander Larsson <alexl@redhat.com>
3112 * gio/gunixvolume.c:
3114 Remove g_volume_get_platform_id, as thats not
3115 needed with the simpler union volume monitor
3117 2007-10-31 Alexander Larsson <alexl@redhat.com>
3120 * gio/guniondrive.[ch]: Removed.
3121 * gio/gunionvolume.[ch]: Removed.
3122 Remove GUnionDrive/Volume
3124 * gio/gunionvolumemonitor.c:
3125 Simplify union volume monitor, now we
3126 only have one native volume monitor and
3127 we use the actual volumes/drives from the
3128 child monitors instead of wrapping them
3130 * gio/gnativevolumemonitor.[ch]:
3131 Base class for native volume monitors.
3132 Includes priority and get_volume_for_mountpoint
3135 Add g_file_find_enclosing_volume
3138 Remove volume name fs attribute
3139 Add readonly fs attribute
3142 Implement readonly attribute
3143 remove volume name attribute
3144 Implement find_enclosing volume
3146 * gio/gunixmounts.c:
3147 Add a volume for "/".
3149 * gio/gunixvolume.[ch]:
3150 Set better name for /
3152 * gio/gunixvolumemonitor.[ch]:
3153 Derive from GNativeVolumeMonitor
3154 Implement get_volume_for_mountpoint
3157 GVolume typedef moved to gfile.h
3159 * gio/gvolumeprivate.h:
3160 Add g_volume_get_for_mount_path
3162 2007-10-31 Alexander Larsson <alexl@redhat.com>
3164 * gio/gunixmounts.[ch]:
3165 Add cache info to unix mount listers
3166 Make getmntent use threadsafe
3167 Add is_system_internal attribute for GUnixMount
3169 * gio/gunixvolume.c:
3170 (g_unix_volume_new):
3171 Use is_system_internal instead of own code
3173 * gio/glocaldirectorymonitor.c:
3174 * gio/gunixvolumemonitor.c:
3175 Update to new gunixmounts API
3180 2007-10-30 Alexander Larsson <alexl@redhat.com>
3183 Add volume name fsinfo attribute
3186 Read volume name info
3188 * gio/gunionvolumemonitor.c:
3189 Fix infinite loops when finalizing a union volume monitor
3191 2007-10-30 Alexander Larsson <alexl@redhat.com>
3193 * gio/goutputstream.[ch]:
3194 Add splice() with default implementation
3196 * gio/gsocketoutputstream.c:
3197 (g_socket_output_stream_write):
3198 Return error on cancellation correctly.
3200 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3202 * gio/glocalfile.c (g_local_file_trash):
3203 Do not leak a string.
3205 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3207 * gio/gfile.c (g_file_load_contents):
3208 Unref the stream after closing it.
3210 2007-10-25 Alexander Larsson <alexl@redhat.com>
3212 * gio/gioscheduler.h:
3215 2007-10-25 Alexander Larsson <alexl@redhat.com>
3219 Add g_file_has_uri_scheme and implement for local files
3221 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3223 * gio/gdesktopappinfo.c: do not leak a string.
3225 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3227 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3228 (g_local_directory_monitor_new):
3229 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3230 (g_local_file_monitor_new):
3231 Only look for the monitor type that should be used the first time
3232 and use g_qsort_with_data() instead of our own bubble sort
3235 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3238 * gio/fam/Makefile.am:
3239 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3240 * gio/fam/fam-helper.h:
3241 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3242 * gio/fam/gfamdirectorymonitor.c:
3243 * gio/fam/gfamdirectorymonitor.h:
3244 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3245 * gio/fam/gfamfilemonitor.h:
3246 * gio/glocaldirectorymonitor.c:
3247 * gio/glocaldirectorymonitor.h:
3248 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3249 * gio/glocalfilemonitor.h:
3250 * gio/inotify/Makefile.am:
3251 * gio/inotify/ginotifydirectorymonitor.c:
3252 * gio/inotify/ginotifydirectorymonitor.h:
3253 * gio/inotify/ginotifyfilemonitor.c:
3254 * gio/inotify/ginotifyfilemonitor.h:
3255 Implement the FAM and Inotify monitors as
3256 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3257 their own GIO module. GLocal(Directory|File)Monitor will use the
3258 monitor with the highest rank that is supported on that machine.
3260 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3263 Change GIO module dir to $(libdir)/gio/modules and change
3264 the log domain from GVFS to GIO. Also only export symbols starting
3265 with g_ in the resulting library.
3266 * gio/test-streams.c: (main):
3267 Set log handler for the GIO log domain.
3269 2007-10-22 Alexander Larsson <alexl@redhat.com>
3271 * gio/gfilenamecompleter.[ch]:
3272 Add g_filename_completer_set_dirs_only
3274 2007-10-22 Alexander Larsson <alexl@redhat.com>
3277 * gio/gurifuncs.[ch]:
3278 Add some simple URI helpers
3280 * gio/gfilenamecompleter.[ch]:
3281 Added object for filename (parse name actually) completion
3284 Handle ~ in parse names
3286 2007-10-17 Alexander Larsson <alexl@redhat.com>
3289 * gio/glocalfileinfo.c:
3290 Add and implement id:value attribute
3292 2007-10-17 Alexander Larsson <alexl@redhat.com>
3295 * gio/guniondrive.c:
3297 Add and implement g_drive_has_volumes
3299 2007-10-17 Alexander Larsson <alexl@redhat.com>
3302 * gio/glocalfileinfo.[ch]:
3303 Add unix:is_mountpoint and implement for local files
3305 2007-10-16 Alexander Larsson <alexl@redhat.com>
3307 * gio/gunionvolumemonitor.c:
3308 (g_union_volume_monitor_init):
3309 Fix up the unix type getting so that it works with gcc
3311 2007-10-12 Alexander Larsson <alexl@redhat.com>
3314 * gio/glocalfileinfo.c:
3315 Add thumbnail:failed to file info
3317 2007-10-12 Richard Hult <richard@imendio.com>
3319 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3320 optimizing away the get_type call (happens with some gcc versions,
3321 like the one shipped with OS X 10.4).
3323 2007-10-12 Alexander Larsson <alexl@redhat.com>
3325 * gio/glocalfileinfo.c:
3326 (_g_local_file_info_set_attribute):
3327 Fix build if not HAVE_XATTR
3328 Patch from Milosz Derezynski <internalerror@gmail.com>
3330 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3332 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3333 around for review, otherwise I would have asked you before
3336 2007-10-11 Alexander Larsson <alexl@redhat.com>
3339 Add thumbnail:path attribute
3341 * gio/glocalfileinfo.c:
3342 Implement thumbnail:path for local files
3344 2007-10-11 Alexander Larsson <alexl@redhat.com>
3346 * gio/glocalfileinfo.c:
3347 (_g_local_file_info_get):
3348 Avoid duplicate icon names
3350 2007-10-11 Alexander Larsson <alexl@redhat.com>
3352 * gio/gthemedicon.[ch]:
3353 Change g_themed_icon_get_names return type to const
3355 2007-10-10 Alexander Larsson <alexl@redhat.com>
3357 * gio/glocalfileinfo.c:
3358 Don't reference freed memory
3360 2007-10-10 Alexander Larsson <alexl@redhat.com>
3362 * gio/gfileattribute.c:
3365 * gio/glocalfileinfo.c:
3368 2007-10-10 Alexander Larsson <alexl@redhat.com>
3371 Check for NULL icons
3373 * gio/gfileattribute.c:
3374 Don't dup when getting objects (same as for string attributes)
3376 * gio/gicon.c (g_icon_equal):
3377 Safely handle NULLs in equal
3379 2007-10-10 Alexander Larsson <alexl@redhat.com>
3382 Fix c++ compilation issues
3383 Patch from Milosz Derezynski <internalerror@gmail.com>
3385 2007-10-10 Alexander Larsson <alexl@redhat.com>
3387 * programs/gio-monitor-dir.c:
3388 Don't crash if dir monitor not supported.
3390 2007-10-09 Alexander Larsson <alexl@redhat.com>
3393 Add missing G_END_DECLS
3395 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3397 * gio/gfile.c: (g_file_set_display_name),
3398 (g_file_query_settable_attributes),
3399 (g_file_query_writable_namespaces):
3400 Return NULL not FALSE on errors as the return type is a pointer.
3402 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3404 * gio/glocalfile.c: (g_local_file_monitor_file):
3405 Don't call monitor_file on the default interface vtable (which
3406 is NULL) but simply return NULL. The caller, GFile, will create a
3407 polling monitor if NULL is returned.
3409 2007-10-09 Alexander Larsson <alexl@redhat.com>
3413 * gio-unix-2.0.pc.in:
3414 Add gio-unix-2.0.pc if OS_UNIX
3417 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3419 2007-10-09 Alexander Larsson <alexl@redhat.com>
3421 * gio/gunixmounts.[ch]:
3422 Make unix mount monitoring API sane.
3423 Now its just a object with mounts_changed
3424 and mountpoints_changed signals.
3426 * gio/glocaldirectorymonitor.c:
3427 * gio/gunixvolumemonitor.c:
3428 Use new mount monitor api
3430 2007-10-09 Alexander Larsson <alexl@redhat.com>
3432 * gio/gunixmounts.[ch]:
3433 Move guess type into one call for mounts and one for mountpoints
3436 * gio/gunixvolume.c:
3439 2007-10-09 Alexander Larsson <alexl@redhat.com>
3441 * gio/gunixmounts.[ch]:
3442 Remove _ prefix in preparation to make this semi-public
3443 Hide implementation of structs
3445 * gio/glocaldirectorymonitor.c:
3447 * gio/gunixvolume.c:
3448 * gio/gunixvolumemonitor.c:
3449 Update for above API changes
3451 2007-10-08 Alexander Larsson <alexl@redhat.com>
3454 Better polling fallback. This also handles the case where we have
3455 a monitor_file implementation, but it fails.
3457 2007-10-08 Alexander Larsson <alexl@redhat.com>
3461 * gio/gunixmounts.c:
3462 * programs/gio-monitor-dir.c:
3463 * programs/gio-monitor-file.c:
3464 Added cancellable to file monitoring calls.
3465 These are really sync calls and need this.
3467 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3469 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3470 (g_local_vfs_class_init):
3471 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3472 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3474 2007-10-05 Alexander Larsson <alexl@redhat.com>
3476 * gio/gdirectorymonitorprivate.h:
3477 * gio/gfilemonitorprivate.h:
3478 * gio/gdirectorymonitor.h:
3479 * gio/gfilemonitor.h:
3480 Remove *private.h and move to the public API, so that
3481 we can do implementations outside gio (such as in gvfs)
3483 * gio/gdirectorymonitor.c:
3484 * gio/gfilemonitor.c:
3485 * gio/glocaldirectorymonitor.c:
3486 * gio/gpollfilemonitor.c:
3487 * gio/inotify/inotify-helper.c:
3488 * gio/fam/fam-helper.c:
3489 Update to the new header names
3491 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3493 * gio/gdirectorymonitor.c:
3494 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3497 2007-10-04 Alexander Larsson <alexl@redhat.com>
3499 * gio/glocalfileinfo.c (get_access_rights):
3500 Set CAN_TRASH when we can move the file.
3501 We should really also check for a parent trash dir.
3503 2007-10-04 Alexander Larsson <alexl@redhat.com>
3505 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3506 Add can_trash access attribute
3508 2007-10-04 Alexander Larsson <alexl@redhat.com>
3511 (g_local_file_trash):
3512 Create info file first. This is per-spec and allows
3513 us to actually trash directories.
3515 2007-10-02 Alexander Larsson <alexl@redhat.com>
3517 * gio/gdesktopappinfo.c:
3518 Implement the new mime support code.
3519 Always set app as handling mimetype when being set as default for it
3521 2007-10-01 Alexander Larsson <alexl@redhat.com>
3523 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3524 Fix up check for xattrs:
3526 2007-10-01 Alexander Larsson <alexl@redhat.com>
3529 (g_app_info_set_as_default_for_extension):
3530 (g_app_info_add_supports_type):
3531 (g_app_info_can_remove_supports_type):
3532 (g_app_info_remove_supports_type):
3533 Make these fail nicely if not implemented
3535 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3537 * gio/glocalfileoutputstream.c:
3538 * gio/glocalfileoutputstream.h:
3543 * programs/gio-save.c:
3544 Add a GFileCreateFlags argument to operations that can create
3547 2007-10-01 Alexander Larsson <alexl@redhat.com>
3549 * gio/gappinfo.[ch]:
3550 * gio/gdesktopappinfo.c:
3551 Add more (stubbed out) mime API needed for nautilus
3553 2007-10-01 Alexander Larsson <alexl@redhat.com>
3556 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3557 Add g_app_info_set_as_default_for_extension.
3559 * gio/gdesktopappinfo.c:
3560 Dummy for g_app_info_set_as_default_for_extension
3561 Support flags in g_app_info_create_from_commandline
3563 * gio/gwin32appinfo.c:
3565 Update for API changes
3567 * gio/gthemedicon.c:
3568 Properly NULL-terminate list of icon names
3570 2007-09-28 Alexander Larsson <alexl@redhat.com>
3572 * gio/gloadableicon.h:
3573 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3575 2007-09-28 Alexander Larsson <alexl@redhat.com>
3578 Install headers in $includedir/gio-standalone/
3580 * gio-2.0.pc.in: Added.
3581 * gio-standalone.pc.in: Removed.
3584 Renamed pkg-config file to match glib (for future move)
3585 Update to the new include dir
3588 Add more TODO comments
3590 2007-09-28 Alexander Larsson <alexl@redhat.com>
3592 * gio/gdesktopappinfo.[ch]:
3593 Expose new_from_filename
3594 Add getter for is_hidden and handle it better
3596 2007-09-28 Alexander Larsson <alexl@redhat.com>
3598 * gio/gfileinfo.[ch]:
3599 Rename g_file_size_format_for_display to
3600 g_format_file_size_for_display.
3601 Now it doesn't have the g_file prefix, so we
3602 can later move it to glib.
3604 2007-09-28 Alexander Larsson <alexl@redhat.com>
3606 * gio/gappinfo.[ch]:
3607 Add g_app_info_get_id and g_app_info_get_executable.
3608 Make all getters non-reffing
3609 Make g_app_info_launch take GFile arguments.
3610 Add must_support_uris argument to g_app_info_get_default_for_type.
3612 * gio/gwin32appinfo.c:
3613 Update to GAppInfo api changes
3615 * gio/gdesktopappinfo.c:
3616 Update to GAppInfo api changes
3617 Implement supports_xdg_startup_notify
3619 * gio/gfileicon.c (g_file_icon_get_file):
3620 Make getter non-reffing.
3625 2007-09-27 Alexander Larsson <alexl@redhat.com>
3627 * gio/gfileinfo.[ch]:
3628 Add g_file_size_format_for_display helper
3630 2007-09-27 Alexander Larsson <alexl@redhat.com>
3632 * gio/glocalfileinfo.c:
3633 Set UNIX_GID from gid, not from uid
3635 2007-09-27 Alexander Larsson <alexl@redhat.com>
3638 Add g_file_set_attributes_async
3640 2007-09-27 Alexander Larsson <alexl@redhat.com>
3642 * gio/glocalfile.c (g_local_file_set_display_name):
3643 Fix set_display_name to actually rename to the right place.
3644 Use lstat to look for existing files so we don't overwrite
3647 2007-09-26 Alexander Larsson <alexl@redhat.com>
3650 Add g_file_set_display_name_async()
3652 2007-09-26 Alexander Larsson <alexl@redhat.com>
3655 Add load_partial_contents async calls
3658 Make internal function static
3660 2007-09-26 Alexander Larsson <alexl@redhat.com>
3662 * gio/glocalfileinfo.c:
3663 Correctly detect broken symlinks
3665 2007-09-26 Alexander Larsson <alexl@redhat.com>
3667 * gio/gcancellable.c (g_cancellable_cancel):
3668 Allow cancel on NULL cancellable
3670 2007-09-25 Alexander Larsson <alexl@redhat.com>
3672 * gio/gsimpleasyncresult.c:
3673 Don't allocate g_error manually.
3674 Fixes g_slice/g_new mixup crash
3676 2007-09-25 Alexander Larsson <alexl@redhat.com>
3678 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3679 Actually set active_backend.
3680 This means the monitor will be cancelled correctly.
3682 2007-09-25 Alexander Larsson <alexl@redhat.com>
3684 * gio/gdirectorymonitor.c:
3685 Set timeout to NULL when destroying
3687 2007-09-25 Alexander Larsson <alexl@redhat.com>
3690 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3691 that is a better description of the error.
3693 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3695 * gio/gvfs.c: (g_vfs_get_local):
3696 Make the local vfs variable static. The same instance should
3699 2007-09-24 Alexander Larsson <alexl@redhat.com>
3701 * gio/glocalfileinfo.c:
3702 Pass in actual length read into sniffer, not the length
3705 2007-09-21 Alexander Larsson <alexl@redhat.com>
3707 * gio/gfileenumerator.c:
3710 * gio/gfileinputstream.c:
3711 * gio/gfileoutputstream.c:
3712 * gio/ginputstream.c:
3713 * gio/goutputstream.c:
3714 Don't crash if async callbacks are NULL
3716 2007-09-20 Alexander Larsson <alexl@redhat.com>
3719 Add async enumerate_children method and default
3722 2007-09-20 Alexander Larsson <alexl@redhat.com>
3725 Add g_file_contains_file & g_file_get_relative_path, since they
3726 were needed for nautilus.
3727 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3732 Implement new methods
3734 2007-09-17 Alexander Larsson <alexl@redhat.com>
3737 * gio/gfileinputstream.[ch]:
3738 * gio/gfileoutputstream.[ch]:
3740 * gio/glocalfileenumerator.[ch]:
3741 * gio/glocalfileinfo.[ch]:
3742 * gio/glocalfileinputstream.c:
3743 * gio/glocalfileoutputstream.c:
3744 * gio/gpollfilemonitor.c:
3745 * programs/gio-copy.c:
3746 * programs/gio-info.c:
3747 * programs/gio-move.c:
3748 Rename get_file_info to query_info() to make it clearer
3749 that these are not simple getters, but do i/o.
3751 2007-09-17 Alexander Larsson <alexl@redhat.com>
3753 * gio/gdatainputstream.[ch]:
3754 * gio/test-streams.c:
3755 Use _read_XXX instead of _get_XXX for the i/o calls
3758 2007-09-17 Alexander Larsson <alexl@redhat.com>
3761 Added needed stuff to TODO comment
3763 2007-09-17 Alexander Larsson <alexl@redhat.com>
3765 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3766 Don't error out removing the backup copy if it doesn't
3769 2007-09-14 Alexander Larsson <alexl@redhat.com>
3771 * programs/Makefile.am:
3772 * programs/gvfs-*.c:
3774 Renamed apps from gvfs-xxx to gio-xxx.
3776 2007-09-14 Alexander Larsson <alexl@redhat.com>
3779 * gio/gfileoutputstream.[ch]:
3780 * gio/glocalfileoutputstream.c:
3781 * programs/gvfs-save.c:
3782 g_file_output_stream_get_etag doesn't do i/o, so remove
3783 cancellation and error.
3785 2007-09-14 Alexander Larsson <alexl@redhat.com>
3788 Add new_etag output to replace_contents functions
3790 2007-09-14 Alexander Larsson <alexl@redhat.com>
3792 * gio/gfileoutputstream.[ch]:
3793 Add async get_file_info and default implementation
3795 2007-09-14 Alexander Larsson <alexl@redhat.com>
3797 * gio/gfileinputstream.c:
3798 Implement fallback wrapper for async get_file_info
3800 2007-09-14 Alexander Larsson <alexl@redhat.com>
3803 Add etag out argument to load_contents
3808 2007-09-14 Alexander Larsson <alexl@redhat.com>
3810 * gio/gcontenttype.c (looks_like_text):
3811 Whitespace like tab, cr and lf do not make the
3814 2007-09-14 Alexander Larsson <alexl@redhat.com>
3816 * gio/gfileinputstream.[ch]:
3817 Add async get_file_info.
3819 2007-09-13 Alexander Larsson <alexl@redhat.com>
3821 * gio/goutputstream.c (g_output_stream_write_all):
3822 Allow NULL for bytes_written
3824 2007-09-13 Alexander Larsson <alexl@redhat.com>
3826 * gio/gmemoryinputstream.[ch]:
3827 Add accessors for data
3829 2007-09-13 Alexander Larsson <alexl@redhat.com>
3831 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3832 Don't crash if length is NULL