1 2008-03-11 Alexander Larsson <alexl@redhat.com>
5 Correctly implement can_trash by actually
6 looking for a trash dir, not just assuming
9 2008-03-10 Matthias Clasen <mclasen@redhat.com>
11 * === Released 2.16.1 ===
13 2008-03-11 Alexander Larsson <alexl@redhat.com>
16 Fix crashes in new constructor and properties code
18 2008-03-10 Murray Cumming <murrayc@murrayc.com>
20 * gfile.c: Minor spelling correction in documentation:
21 existance -> existence.
23 2008-03-10 Matthias Clasen <mclasen@redhat.com>
25 * === Released 2.16.0 ===
27 2008-03-10 Matthias Clasen <mclasen@redhat.com>
29 * gio.symbols: Remove g_file_contains_file here, too.
31 2008-03-10 Matthias Clasen <mclasen@redhat.com>
33 * gthemedicon.c: Add properties to make bindings happy. (#517676,
34 Samuel Cormier-Iijima)
36 2008-03-08 Tor Lillqvist <tml@novell.com>
38 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
41 2008-03-07 Alexander Larsson <alexl@redhat.com>
44 (g_local_file_query_filesystem_info):
45 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
46 Patch from Jasper Lievisse Adriaanse
48 2008-03-06 Tor Lillqvist <tml@novell.com>
50 * gfileinfo.h: Correct milliseconds to microseconds in the doc
51 comments for the *_USEC attributes.
53 2008-03-06 Alexander Larsson <alexl@redhat.com>
55 * gfile.c (g_file_query_exists):
56 Add g_return_val_if_fail check (#520700)
58 2008-03-06 Alexander Larsson <alexl@redhat.com>
63 * gunionvolumemonitor.c:
66 * tests/live-g-file.c:
67 * xdgmime/xdgmimecache.c:
68 Fix sparse warnings (#519489)
70 2008-03-05 Alexander Larsson <alexl@redhat.com>
73 Make cancellation threadsafe (i.e.
74 guarantee its only done once, and always
77 * glocaldirectorymonitor.c:
78 Make sure we the monitor lives while the
79 mounts_changed callback is being called (#520484)
81 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
83 * gbufferedinputstream.c: Fix typo in parameter
86 2008-03-04 Alexander Larsson <alexl@redhat.com>
89 Remove deprecated symbols we kept for one release.
91 2008-03-04 Murray Cumming <murrayc@murrayc.com>
94 * goutputstream.c: Tiny documentation corrections.
96 2008-03-03 Alexander Larsson <alexl@redhat.com>
98 * gunionvolumemonitor.c:
100 Fix the adopt_orphan_mount vfunc to take a
101 volume_monitor reference in an ABI compat way.
102 This change is not API compat, but the added
103 arg is not used in the only user of this vfunc, so
104 all we get is a harmless warning in gvfs (#520169)
106 2008-03-01 Benjamin Otte <otte@gnome.org>
109 clarify docs for g_file_delete().
111 2008-02-29 Alexander Larsson <alexl@redhat.com>
115 Make sure empty files get text/plain type (#518720)
117 2008-02-27 Alexander Larsson <alexl@redhat.com>
123 (g_unix_volume_mount):
124 Add missing GMountMountFlags argument
126 2008-02-26 Alexander Larsson <alexl@redhat.com>
129 (g_local_file_delete):
130 Handle filesystems (like ntfs-3g) that return EEXIST instead
131 of ENOTEMPTY (#518816)
133 2008-02-25 Matthias Clasen <mclasen@redhat.com>
135 * === Released 2.15.6 ===
137 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
139 * gfile.c (g_file_find_enclosing_mount):
140 * ginputstream.c (g_input_stream_set_pending):
141 * glocalfile.c (g_local_file_find_enclosing_mount):
142 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
143 * goutputstream.c (g_output_stream_set_pending):
145 Fixup translator comments (#518578).
147 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
149 * gfile.c (g_file_find_enclosing_mount):
151 * glocalfile.c (g_local_file_find_enclosing_mount):
154 Fix a few typos in translator comments and documentation.
156 2008-02-25 Alexander Larsson <alexl@redhat.com>
163 Add translator comments (#518578)
165 2008-02-25 Alexander Larsson <alexl@redhat.com>
168 Reintroduce g_file_contains_file, keep around for one
169 unstable release cycle to avoid crashing to many apps.
170 Make sure to delete after release.
172 2008-02-25 Alexander Larsson <alexl@redhat.com>
175 Remove deprecated g_file_contains_file.
177 2008-02-25 Alexander Larsson <alexl@redhat.com>
180 Emit actual change signals in an idle handler.
181 This avoids reentrance and locking problems in
182 the file notification backends.
184 2008-02-25 Alexander Larsson <alexl@redhat.com>
187 (g_unix_mount_guess_should_display):
188 Remove type guessing, instead just display
189 mounts in /media and in ~/.
191 2008-02-25 Alexander Larsson <alexl@redhat.com>
194 Make new strings reuse old ones.
196 2008-02-25 Alexander Larsson <alexl@redhat.com>
199 Implement trashing and filesystem::readonly for win32 (#517235)
200 Patch from Yevgen Muntyan
202 2008-02-23 Matthias Clasen <mclasen@redhat.com>
204 * gfileinfo.h: Documentation fixes.
206 2008-02-22 Alexander Larsson <alexl@redhat.com>
208 * gcontenttype.c (g_content_type_get_icon):
209 Look at old-style gnome mime icon names too, as many
210 have not moved to the new style.
212 2008-02-21 Matthias Clasen <mclasen@redhat.com>
214 * *.c: Correct the @include in for section docs.
216 2008-02-21 David Zeuthen <davidz@redhat.com>
218 * glocalfileinfo.c: (_g_local_file_info_get):
220 (g_content_type_get_icon): Implement this function by
221 moving bits from glocalfileinfo.c
222 (g_content_type_get_description): Unalias before getting
223 description (#517687)
225 * gfile.c: (g_file_class_init),
226 (g_file_query_filesystem_info_async),
227 (g_file_query_filesystem_info_finish),
228 (query_filesystem_info_data_free),
229 (query_filesystem_info_async_thread),
230 (g_file_real_query_filesystem_info_async),
231 (g_file_real_query_filesystem_info_finish):
232 * gfile.h: Implement async version of
233 g_file_query_filesystem_info()
235 * gfileinfo.h: Add new attributes for filesystem::use-preview
237 * gio.symbols: Update
239 * gthemedicon.c: (g_themed_icon_append_name):
240 * gthemedicon.h: Add new new convenience function.
242 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
243 (get_mounts), (get_volumes), (get_connected_drives),
244 (get_volume_for_uuid), (get_mount_for_uuid),
245 (g_union_volume_monitor_init), (populate_union_monitor),
246 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
247 (g_volume_monitor_adopt_orphan_mount):
249 * gvolumemonitor.h: Use recursive locks so it's safe for volume
250 monitor implementations to call into the main volume monitor. Also
251 separate object initialization and volume monitor initialization
252 such that non-native volume monitors can properly adopt their
255 2008-02-21 Alexander Larsson <alexl@redhat.com>
260 2008-02-21 Alexander Larsson <alexl@redhat.com>
263 Add more documentation about how GFiles work (from #517086)
265 2008-02-21 Alexander Larsson <alexl@redhat.com>
269 Add new g_file_has_prefix that does the same as g_file_contains_file.
270 Deprecate g_file_contains_file and add a macro that converts
271 it to g_file_has_prefix.
272 The reason for this change is that the contains_file() name seems to
273 imply that this does more work than what it does, but its really only
274 a name match (from #517086)
279 Update to match the above change.
281 2008-02-20 Benjamin Otte <otte@gnome.org>
283 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
284 (g_file_eject_mountable):
285 even more cases of not returning in error path
287 2008-02-20 Benjamin Otte <otte@gnome.org>
289 * gfile.c: (g_file_mount_mountable):
290 return from function in error path.
292 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
295 Remove trailing coma in GMountMountFlags struct
297 2008-02-18 Alexander Larsson <alexl@redhat.com>
301 * glocalfileoutputstream.c:
302 Use g_unlink/g_rename instead of unlink/rename;
303 do not pass raw filenames to g_set_error. (#517239)
304 Patch from Yevgen Muntyan.
306 2008-02-18 Alexander Larsson <alexl@redhat.com>
309 * glocalfileoutputstream.c:
310 Open files with O_BINARY on windows. (#517140)
312 2008-02-14 Alexander Larsson <alexl@redhat.com>
314 * glocalfileoutputstream.c:
315 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
317 2008-02-14 Alexander Larsson <alexl@redhat.com>
320 Copy permissions with file on copy (#514084)
321 This is what cp does and makes sure e.g. the
322 exec permissions are kept.
323 Its kinda weird in that it keeps the permission bits
324 the same while the uid and gid are different. However
325 the new uid is the user so its not a security issue,
326 and I've heard no complaints about cp on this issue.
328 2008-02-13 Ryan Lortie <desrt@desrt.ca>
330 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
332 2008-02-13 Alexander Larsson <alexl@redhat.com>
334 * inotify/inotify-path.c:
335 Define IN_ONLYDIR if not in header (#515346)
337 2008-02-12 Alexander Larsson <alexl@redhat.com>
339 * tests/live-g-file.c:
342 2008-02-11 Matthias Clasen <mclasen@redhat.com>
344 * === Released 2.15.5 ===
346 2008-02-11 Matthias Clasen <mclasen@redhat.com>
348 * gio.symbols: Add g_mount_mount_flags_get_type.
350 2008-02-11 Alexander Larsson <alexl@redhat.com>
353 (g_file_info_set_attribute_mask):
354 (g_file_attribute_matcher_matches_id):
355 Correctly handle NULL GAttributeMatcher meaning
356 matches nothing. (Fixes #513492)
358 2008-02-11 Alexander Larsson <alexl@redhat.com>
363 Added GMountMountFlags enum and added a flags
364 argument to all mount calls.
366 This is an API/ABI change for future extensibility,
367 as I think we will need at least an
368 inhibit-autorun flag (the panel needs this).
369 There are no flags defined yet though.
371 2008-02-11 Alexander Larsson <alexl@redhat.com>
374 Added new standard::description attribute.
375 Requested by Vincent, and useful for both
378 2008-02-11 Alexander Larsson <alexl@redhat.com>
383 2008-02-11 Matthias Clasen <mclasen@redhat.com>
385 * *.c: Documentation additions
387 2008-02-10 Matthias Clasen <mclasen@redhat.com>
389 * gappinfo.h: Formatting cleanup
390 * gappinfo.c: Fix up docs.
392 2008-02-09 Matthias Clasen <mclasen@redhat.com>
394 * gunixmounts.c: Consistently use getmntent_r() and fall
395 back to getmntent(). (#515492)
397 2008-02-09 Matthias Clasen <mclasen@redhat.com>
399 * gbufferedinputstream.c:
401 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
403 * tests/data-input-stream.c:
404 * tests/data-output-stream.c: Portability fixes.
406 2008-02-08 Alexander Larsson <alexl@redhat.com>
411 Add g_volume_should_automount.
414 2008-02-07 Tor Lillqvist <tml@novell.com>
416 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
417 Win32, too Unix-specific.
419 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
421 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
422 a local plt if the compiler doesn't support what we want. Bug #514702
424 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
426 reviewed by: <delete if not using a buddy>
429 * gunixinputstream.c:
430 * gunixoutputstream.c:
432 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
435 * tests/live-g-file.c:
436 * tests/live-g-file.txt:
437 New GIO testing module working over real data
439 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
441 * glocalfileoutputstream.c (g_local_file_output_stream_close):
442 Fallback to rename() if link() is not available
443 (when no support on target filesystem)
445 2008-02-06 Michael Natterer <mitch@imendio.com>
447 * gfileinfo.c (g_file_info_get_icon): replace
448 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
450 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
452 * gfile.c (g_file_create):
453 Documentation update of error codes
455 2008-02-06 Alexander Larsson <alexl@redhat.com>
458 Update to use both mimeapps.list and
459 defaults.list as discussed on xdg list.
461 2008-02-06 Benjamin Otte <otte@gnome.org>
464 * gfilenamecompleter.c:
465 Fix some typos in the documentation.
467 2008-02-06 Alexander Larsson <alexl@redhat.com>
469 * glocalfile.c (g_local_file_trash):
470 Don't succeed with trash if newly created
471 trash dir has the wrong owner. (#514696)
473 2008-02-05 Alexander Larsson <alexl@redhat.com>
475 * glocalfile.c (g_local_file_move):
476 Don't spew warnings when destination is not
479 2008-02-03 Hans Breuer <hans@breuer.org>
481 * makefile.msc : update
483 2008-02-01 Michael Natterer <mitch@imendio.com>
485 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
486 return value of xdg_mime_list_mime_parents() to a variable of the
489 2008-02-01 Alexander Larsson <alexl@redhat.com>
491 * gappinfo.c (g_app_info_launch_uris):
492 Actually call the launch_uris method, not
495 2008-02-01 Alexander Larsson <alexl@redhat.com>
497 * gdesktopappinfo.c (g_desktop_app_info_equal):
498 Ensure appinfos with no id but same pointer value
501 2008-02-01 Alexander Larsson <alexl@redhat.com>
503 * gappinfo.c (g_app_info_launch_default_for_uri):
506 2008-02-01 Alexander Larsson <alexl@redhat.com>
510 Add g_app_info_launch_default_for_uri utility
513 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
516 Doc fix for g_app_info_get_default_for_uri_scheme ()
519 2008-01-30 Alexander Larsson <alexl@redhat.com>
522 Add doc comment about uris vs GFiles to
526 Ensure uris passed to g_app_info_launch_uris()
527 are not roundtriped through GFile (as that
528 may be slightly destructive for e.g. mailto: links)
530 2008-01-30 Alexander Larsson <alexl@redhat.com>
532 * tests/data-input-stream.c:
533 * tests/data-output-stream.c:
534 C89 fixes from Jens Granseuer (#512849)
536 2008-01-30 Alexander Larsson <alexl@redhat.com>
539 Fix gamin/fam difference build issue. (#509419)
541 2008-01-29 Alexander Larsson <alexl@redhat.com>
545 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
547 2008-01-29 Alexander Larsson <alexl@redhat.com>
551 giomodule-priv.h include moved to .c file.
553 2008-01-29 Alexander Larsson <alexl@redhat.com>
555 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
556 Remove unused prio/name fields.
558 2008-01-29 Alexander Larsson <alexl@redhat.com>
560 * gcontenttype.c (looks_like_text):
561 Don't treat whitespace as control chars.
563 2008-01-29 Alexander Larsson <alexl@redhat.com>
566 Lazily create the desktop files for appinfos created
567 by g_app_info_create_from_commandline() when needed
568 for mime associations. This allows run-time use
569 of GAppInfo object without creating unnecessary
572 2008-01-29 Alexander Larsson <alexl@redhat.com>
575 Added new symbols to gio.symbols
577 2008-01-29 Alexander Larsson <alexl@redhat.com>
580 Add g_file_query_default_handler utility to easily look up
581 the GAppInfo that handles a file.
583 * gdesktopappinfo.[ch]:
585 Set up an extension point for g_app_info_get_default_for_uri_scheme()
588 Remove unused function
590 2008-01-29 Alexander Larsson <alexl@redhat.com>
593 Mention need to free returned value in
594 g_file_enumerator_next_files_finish docs.
595 Fix leak if g_file_enumerator_next_files_finish()
598 2008-01-29 Alexander Larsson <alexl@redhat.com>
601 (_g_unix_content_type_get_parents):
602 Use list_parents, not get_parents from xdgmime, because
603 the later doesn't use the cache.
605 * xdgmime/xdgmimecache.c:
606 (_xdg_mime_cache_list_mime_parents):
607 Don't list the same type as parent multiple times.
609 2008-01-28 Matthias Clasen <mclasen@redhat.com>
611 * === Released 2.15.4 ===
613 2008-01-28 Alexander Larsson <alexl@redhat.com>
616 Register local vfs with prio 0.
619 Remove old name and prio class members
621 2008-01-28 Matthias Clasen <mclasen@redhat.com>
623 * tests/g-file.c: Disable some tests that are failing in
624 the absence of a http backend.
626 2008-01-28 Alexander Larsson <alexl@redhat.com>
630 Add registration hooks for extension points.
631 Register the gio extension points.
633 * fam/gfamdirectorymonitor.c:
634 * fam/gfamfilemonitor.c:
635 * glocaldirectorymonitor.[ch]:
636 * glocalfilemonitor.[ch]:
637 * gnativevolumemonitor.h:
638 * gunionvolumemonitor.c:
639 * gunixvolumemonitor.c:
642 * inotify/ginotifydirectorymonitor.c:
643 * inotify/ginotifyfilemonitor.c:
644 Use the extension points registration instead
645 of g_type_children().
647 2008-01-28 Matthias Clasen <mclasen@redhat.com>
650 * gvolume.[hc]: Document new API.
652 * gfile.c (g_file_copy_async): Fix docs
654 2008-01-27 Matthias Clasen <mclasen@redhat.com>
656 * gbufferedinputstream.c:
658 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
661 2008-01-27 Matthias Clasen <mclasen@redhat.com>
663 * glocalfile.c: Avoid trivial differences in translatable strings.
665 2008-01-25 Matthias Clasen <mclasen@redhat.com>
667 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
668 build with gcc 3.4 (#509419)
670 2008-01-25 Matthias Clasen <mclasen@redhat.com>
672 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
673 (#509994, Murray Cumming)
675 2008-01-25 Matthias Clasen <mclasen@redhat.com>
677 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
678 * gioscheduler.c: Keep calling io jobs until they return FALSE;
679 this allows big jobs to be executed in chunks, instead of blocking
680 the main loop for a long time.
682 * gsimpleasyncresult.c:
683 * giofile.c: Adapt callers.
685 2008-01-25 Alexander Larsson <alexl@redhat.com>
688 Implement changes discussed on xdg list.
689 Now we can add supported mimetypes by just using defaults.list
690 We can also remove associations in defaults.list.
692 2008-01-25 Alexander Larsson <alexl@redhat.com>
695 Don't make local copy of desktop file
696 for mimetype changes if the file already
697 supports the new mimetype.
699 2008-01-25 Matthias Clasen <mclasen@redhat.com>
703 * gbufferedinputstream.c:
704 * glocalfile.c: String improvements. (#511966,
705 Theppitak Karoonboonyanan)
707 2008-01-24 Matthias Clasen <mclasen@redhat.com>
709 * gioscheduler.h: Expand docs a bit.
711 2008-01-24 Alexander Larsson <alexl@redhat.com>
714 Add g_drive_get_identifier and
715 g_drive_enumerate_identifiers
718 Add g_volume_get_identifier and
719 g_volume_enumerate_identifiers
725 Implement identifiers for unix backend
727 2008-01-24 Alexander Larsson <alexl@redhat.com>
732 Add g_file_copy_async() (#511580)
733 Based on patch from Carlos Garcia Campos
735 2008-01-23 Matthias Clasen <mclasen@redhat.com>
737 * gioscheduler.c: Some documentation additions.
739 2008-01-22 Alexander Larsson <alexl@redhat.com>
742 (g_desktop_app_info_new):
745 2008-01-22 Alexander Larsson <alexl@redhat.com>
748 (g_desktop_app_info_new_from_filename):
751 2008-01-22 Alexander Larsson <alexl@redhat.com>
753 * glocalfileinfo.c (get_thumbnail_attributes):
756 2008-01-22 Alexander Larsson <alexl@redhat.com>
759 (canonicalize_filename):
760 Canonicalize paths that start with more than
765 (test_g_file_new_for_path):
768 2008-01-22 Alexander Larsson <alexl@redhat.com>
771 Allow UTF-8 in file:// parse names.
774 * tests/data-input-stream.c:
775 * tests/data-output-stream.c:
776 * tests/g-file-info.c:
778 Added a bunch of tests from Tomas Bzatek
780 2008-01-21 Matthias Clasen <mclasen@redhat.com>
782 * === Released 2.15.3 ===
784 2008-01-21 Alexander Larsson <alexl@redhat.com>
786 * gfileinputstream.[ch]:
787 * gfileoutputstream.[ch]:
789 Remove duplicated GSeekable functions. (#509990)
790 Just use the g_seekable_xxx() calls instead.
792 2008-01-21 Matthias Clasen <mclasen@redhat.com>
795 * gvolumemanager.c: Whitespace cleanups.
797 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
798 Use the right mode when creating the file.
800 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
803 * gfileinputstream.c:
805 * goutputstream.c: Documentation: Fixed minor typos
806 and added more mentions of specific _finish() functions.
808 2008-01-21 Alexander Larsson <alexl@redhat.com>
810 * inotify/Makefile.am:
811 * inotify/inotify-helper.c:
812 * inotify/inotify-kernel.c:
813 * inotify/inotify-path.c:
814 * inotify/local_inotify.h: Removed.
815 * inotify/local_inotify_syscalls.h: Removed.
816 Removed the included copies of the inotify
817 headers. We now only use the <sys/inotify.h>
818 header which exists on modern systems.
819 This fixes problems on ARM and SH5 (#510448)
820 but is also generally much cleaner and future
821 safe. For instance, if other OSes add support
822 for inotify it should "just work".
824 2008-01-20 Matthias Clasen <mclasen@redhat.com>
826 * inotify/*.c: Coding style fixes.
827 * inotify/inotify-missing.c: Use g_timeout_add_seconds
828 for the 1/4 Hz timer.
830 2008-01-20 Matthias Clasen <mclasen@redhat.com>
834 * gmemoryinputstream.c:
835 * gmemoryoutputstream.c:
837 * gthemedicon.c: Documentation updates
839 2008-01-20 Murray Cumming <murrayc@murrayc.com>
841 * gfile.c: documentation: Fixed more minor
844 2008-01-18 Murray Cumming <murrayc@murrayc.com>
846 * gmount.c: (g_mount_remount): documentation:
847 Mention g_mount_remount_finish() instead of
848 g_mount_unmount_finish().
850 2008-01-18 Murray Cumming <murrayc@murrayc.com>
854 * gfile.c: Fixed some minor typos in the
857 2008-01-18 Murray Cumming <murrayc@murrayc.com>
859 * gio/gvolumemonitor.c:
860 (g_volume_monitor_get_connected_drives):
861 (g_volume_monitor_get_volumes):
862 (g_volume_monitor_get_mounts): Documentation:
863 Clarify the ownership of the regurn GLists.
865 2008-01-17 Alexander Larsson <alexl@redhat.com>
868 Add the async find_enclosing_mount version
869 to the header file too.
871 2008-01-17 Alexander Larsson <alexl@redhat.com>
874 Add async version of find_enclosing_mount
875 with default implementation.
877 2008-01-17 Alexander Larsson <alexl@redhat.com>
882 Allow calls to implementation of copy and write
883 even if the type of the file implementations is
884 different. This can be used to implement native
885 upload and download calls in a vfs.
889 Protect against the case where move is called
890 with one file not being local.
892 Make sure we call the progress callback once
893 in the native move operation so that the caller
894 knows how many bytes were copied.
896 2008-01-16 Murray Cumming <murrayc@murrayc.com>
899 * gdatainputstream.c:
901 * gfileoutputstream.c:
906 * gunixmounts.c: Corrected some typos in the documentation:
908 its -> it's (where appropriate).
910 2008-01-16 Alexander Larsson <alexl@redhat.com>
914 Add g_file_query_exists (#508771)
916 2008-01-15 Murray Cumming <murrayc@murrayc.com>
921 * gvolume.c: For async functions that have no non-async
922 version, document that the GAsyncReadyCallback may be NULL.
925 2008-01-15 Alexander Larsson <alexl@redhat.com>
927 * gmemoryinputstream.c:
928 * gmemoryoutputstream.c:
929 Don't do pointer arithmetic on void * (#508602)
930 Patch from Kazuki IWAMOTO
932 2008-01-14 Matthias Clasen <mclasen@redhat.com>
934 * === Released 2.15.2 ===
936 2008-01-14 Alexander Larsson <alexl@redhat.com>
938 * gfile.c (g_file_monitor_file):
939 Don't set error here, since we fallback to polling monitor.
941 2008-01-14 Alexander Larsson <alexl@redhat.com>
944 (g_file_monitor_directory):
945 (g_file_monitor_file):
946 Add GError to file monitor calls
948 * glocaldirectorymonitor.c:
949 * glocaldirectorymonitor.h:
951 * glocalfilemonitor.c:
952 * glocalfilemonitor.h:
954 Update for above change
956 2008-01-14 Alexander Larsson <alexl@redhat.com>
960 Handle root correctly in g_file_get_relative_path (#508719)
962 2008-01-14 Alexander Larsson <alexl@redhat.com>
965 Clean up docs and example for GAsyncResult (#508074)
967 2008-01-11 Murray Cumming <murrayc@murrayc.com>
969 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
970 and correct some spelling mistakes. Bug #508108.
972 2008-01-11 Matthias Clasen <mclasen@redhat.com>
974 * glocalfileinfo.c: Add a comment.
976 2008-01-10 Murray Cumming <murrayc@murrayc.com>
978 * gfileinfo.c: GFileInfo description: Mention
979 how to actually set attributes in a GFile and how to discover
980 which attributes are settable. Bug #508378.
982 2008-01-10 A. Walton <awalton@svn.gnome.org>
984 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
985 (g_app_info_get_default_for_type):
986 Check for NULL content types.
988 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
990 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
992 2008-01-09 Murray Cumming <murrayc@murrayc.com>
994 * gfile.c: *_async() functions: Several small corrections
995 to the documentation, mostly correcting copy/paste errors
996 and improving some sentences.
998 2008-01-09 Dan Winship <danw@gnome.org>
1000 * glocalfile.c (get_unique_filename): x86_64 fix
1002 2008-01-09 Alexander Larsson <alexl@redhat.com>
1007 Add g_unix_mount_guess_should_display and use
1008 for unix volume monitor backend.
1009 This means we more or less show what the
1010 gnome-vfs backend did.
1011 Based on patch from Padraig O'Briain
1013 2008-01-09 Alexander Larsson <alexl@redhat.com>
1017 Add g_themed_icon_new_with_default_fallbacks
1020 Use default fallbacks for icons
1022 2008-01-09 Alexander Larsson <alexl@redhat.com>
1025 * gmountoperation.[ch]:
1026 Change the API a bit so that unhandled methods
1027 get reported via the reply, rather than by
1028 the signal emission return value. This is because
1029 some handlers can't know this immediately without
1030 doing I/O, and this is an async operation that
1033 2008-01-09 Alexander Larsson <alexl@redhat.com>
1036 * fam/gfamdirectorymonitor.c:
1037 * fam/gfamfilemonitor.c:
1038 Fix double free crash (#508224)
1039 Patch from Joe Marcus Clarke
1041 008-01-07 Matthias Clasen <mclasen@redhat.com>
1043 * === Released 2.15.1 ===
1045 2008-01-07 Alexander Larsson <alexl@redhat.com>
1047 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1048 Fix warning (#507835)
1050 2008-01-07 Alexander Larsson <alexl@redhat.com>
1053 Pass --internal to glib-genmarshal
1056 * gmountoperation.c:
1058 Use better types for signal arguments (#507822)
1060 2008-01-07 Alexander Larsson <alexl@redhat.com>
1063 Build test subdir after .
1064 Remove gdirectorymonitor.[ch]
1066 * gdirectorymonitor.[ch]:
1070 Remove GDirectoryMonitor and make
1071 GFileMonitor the baseclass for both file and
1072 directory monitors. Lift the more generic
1073 rate limiting code from GDirectoryMonitor
1077 * fam/gfamdirectorymonitor.[ch]:
1078 * inotify/ginotifydirectorymonitor.[ch]:
1079 * inotify/inotify-helper.c:
1080 * glocaldirectorymonitor.[ch]:
1083 Update for the removed GDirectoryMonitor.
1085 * gmemoryoutputstream.c:
1086 Remove ununsed variable
1088 2008-01-07 Alexander Larsson <alexl@redhat.com>
1090 * gmemoryinputstream.c:
1091 Translate error strings
1094 * gmemoryoutputstream.[ch]:
1095 New implementation that avoids using GByteArray
1096 in implementation and API. (#506377)
1098 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1100 * tests/*: Add a test for memory input streams.
1102 * Makefile.am: Add tests to SUBDIRS.
1104 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1106 * glocalfilemonitor.c:
1107 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1110 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1112 * gdesktopappinfo.c: Fix a docs typo.
1114 * gfileattribute.c: Add information about extended attributes
1115 to the documentation. (#505058)
1117 2008-01-04 Alexander Larsson <alexl@redhat.com>
1120 * gmountoperation.c:
1121 Use the right type (uint) for the ask_password signal.
1123 2008-01-04 Alexander Larsson <alexl@redhat.com>
1128 Add g_app_info_supports_files()
1129 Remove desktop arg from g_app_info_should_show().
1131 * gdesktopappinfo.[ch]:
1132 Implement g_app_info_supports_files() and new should_show()
1133 Add g_desktop_app_info_set_desktop_env() to set the desktop
1134 for should_show(). (This will be set by gtk+ later)
1136 2008-01-04 Alexander Larsson <alexl@redhat.com>
1139 * gmemoryinputstream.[ch]:
1140 Improve API so that you can use multiple chunks
1141 of memory and custom destroy functions. (#506374)
1143 2008-01-03 Alexander Larsson <alexl@redhat.com>
1146 Handle NULL attribute matchers safely, as we return this
1147 for empty attribute matcher strings.
1149 2008-01-03 Alexander Larsson <alexl@redhat.com>
1151 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1152 Add /usr/local to list of internal mountpoints
1154 2008-01-03 Alexander Larsson <alexl@redhat.com>
1157 Check for HAVE_LCHOWN (#505887)
1159 2008-01-03 Alexander Larsson <alexl@redhat.com>
1163 Add define for selinux context attribute.
1164 Fix missing : -> :: namespace separator change
1165 Fix missing _ -> - name change for xattr-sys.
1168 2008-01-03 Alexander Larsson <alexl@redhat.com>
1171 Link to libglib and libgobject directly (#504879)
1172 Patch from Sebastien Bacher
1174 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1176 * gfile.c: Expanded the g_file_new_for_commandline_arg
1177 description a bit, based on the code and the docs of the
1178 other g_file_new_for_* functions.
1180 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1182 * gfilemonitor.h: Fixed typo in docs.
1184 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1186 Updates to GIO documentation. (#506395, Mikael Hermansson)
1188 * gcontenttype.c: Describe memory management for return value of
1189 g_content_types_get_registered(). Missing piece from #505815.
1190 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1191 GVolume, GDrive, GMounts, which hopefully gives the user less
1192 confusions when using this API. Following explainations from
1193 Alexander Larsson on gtk-devel-list.
1195 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1197 * gfileinfo.c: Expand the long description.
1199 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1202 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1203 fix builds with --disable-visibility. (#500273, Christian Persch)
1205 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1207 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1208 in the list of returned app infos.
1210 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1212 * gappinfo.c: Fix a cross-reference
1214 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1216 * gfileinputstream.c:
1217 * gfileoutputstream.c:
1221 * gdesktopappinfo.c:
1223 * gfileinfo.c: Documentation updates.
1225 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1227 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1230 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1232 * gcontenttype.c (g_content_types_get_registered): Don't return
1233 freed memory (#505815, Mikael Hermansson)
1235 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1237 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1238 used to detect statbuf->st_blocks. (#505042)
1240 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1242 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1243 environment handling. (#504829, Cosimo Cecchi)
1245 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1247 * gappinfo.c: Doc improvements
1249 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1252 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1254 * === Released 2.15.0 ===
1256 2007-12-20 Hans Breuer <hans@breuer.org>
1258 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1259 with symbols gwin32appinfo.obj, added gmount.obj
1260 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1262 2007-12-20 Alexander Larsson <alexl@redhat.com>
1268 * gfilenamecompleter.c:
1271 * gpollfilemonitor.c:
1272 File attribute renames:
1274 fs:: -> filesystem::
1275 id::fs -> id::filesystem
1277 2007-12-20 Alexander Larsson <alexl@redhat.com>
1286 Add GMountUnmountFlags to all unmount and
1288 Add g_mount_remount() call.
1290 2007-12-20 Alexander Larsson <alexl@redhat.com>
1292 * gvfs.c (get_default_vfs):
1293 Fix unused variable warning
1295 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1297 * pltcheck.sh: Update
1299 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1301 * gunionvolumemonitor.c:
1302 * gunixmount.c: Remove C99 comments
1304 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1306 * gio.symbols: Add some missing symbols
1308 2007-12-19 Alexander Larsson <alexl@redhat.com>
1311 Make g_io_modules_load_all_in_directory not unuse
1312 loaded modules so that users of it can do stuff
1314 Init internal "module" types.
1315 Initialize static prio and name for types so that
1316 we don't have to load modules to get it.
1318 * gnativevolumemonitor.h:
1320 Move is_supported to parent class so that
1321 non-native monitors can avoid being initialized
1322 too. (For instance GDaemonVolumeMonitor if we're
1323 not using GDaemonVfs.)
1325 * glocaldirectorymonitor.[ch]:
1326 * glocalfilemonitor.[ch]:
1327 * gunionvolumemonitor.c:
1328 * gunixvolumemonitor.c:
1330 Find plugins using the static prio+name to
1331 avoid unnecessarily loading the modules.
1333 2007-12-19 Alexander Larsson <alexl@redhat.com>
1338 2007-12-19 Alexander Larsson <alexl@redhat.com>
1340 * gunionvolumemonitor.c:
1341 Store the native type as GType, not class so that
1342 we can unload it. But still avoid unnecessarily
1345 2007-12-19 David Zeuthen <davidz@redhat.com>
1347 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1348 add signals 'disconnected' and 'eject-button' on GDrive. Add
1349 signal 'removed' on GVolume and 'unmounted' on GMount.
1351 * gdrive.c: (g_drive_base_init):
1353 * gfile.c: (g_file_mount_mountable),
1354 (g_file_mount_enclosing_volume):
1357 * gmount.c: (g_mount_base_init):
1359 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1360 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1361 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1365 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1367 * *.c: Fix up includes in the section docs.
1369 2007-12-17 Alexander Larsson <alexl@redhat.com>
1371 * gnativevolumemonitor.h:
1372 * gunionvolumemonitor.c:
1373 * gunixvolumemonitor.c:
1374 Add is_supported() to GNativeVolumeMonitorClass so
1375 that we can avoid having to create an object to see
1376 if the backend is supported at runtime.
1377 Also add name member and an env var to pick a specific
1378 volume monitor backend.
1382 Add cancellable to _g_mount_get_for_mount_path()
1384 * glocaldirectorymonitor.c:
1385 * glocalfilemonitor.c:
1386 Avoid loading and unloading modules while sorting.
1388 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1391 * gunixmounts.[hc]: Namespace waste reduction, move some
1392 g_get_unix_mount functions to the g_unix_mount namespace.
1395 * gunixvolumemonitor.c:
1397 * glocaldirectorymonitor.c: Update all callers.
1399 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1401 2007-12-17 Alexander Larsson <alexl@redhat.com>
1404 Add doc comments about what GFile operations are
1405 guaranteed to not block.
1407 2007-12-17 Alexander Larsson <alexl@redhat.com>
1410 Add missing #ifdef fixing OSX build.
1411 (#503334, patch from Richard Hult)
1413 2007-12-14 David Zeuthen <davidz@redhat.com>
1417 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1418 (g_mount_eject), (g_mount_eject_finish):
1420 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1421 (get_volume_for_uuid), (get_mount_for_uuid),
1422 (g_union_volume_monitor_class_init),
1423 (get_default_native_type_with_exclude), (get_default_native_type),
1424 (get_native_type), (update_native_type),
1425 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1426 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1427 (g_unix_mount_can_eject), (eject_unmount_cb),
1428 (eject_unmount_read_error), (eject_unmount_do),
1429 (g_unix_mount_unmount), (g_unix_mount_eject),
1430 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1431 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1432 (g_unix_mount_point_guess_can_eject):
1434 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1435 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1436 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1437 (g_unix_volume_mount), (g_unix_volume_eject),
1438 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1439 * gunixvolumemonitor.c: (get_volume_for_uuid),
1440 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1442 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1443 (g_volume_eject), (g_volume_eject_finish):
1445 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1446 (g_volume_monitor_get_mount_for_uuid):
1449 Provide eject() on both GMount and GVolume and utility functions
1450 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1451 ejected. Introduce the concept of UUID's and wire it into GVolume
1452 and GMount and provide API on GVolumeMonitor to find such
1453 instances. Also handle the case where an external
1454 GNativeVolumeMonitor fails to initialize. Lock around the
1455 _g_get_mount_for_mount_path() function such that volume monitor
1456 implementations won't have to do locking themselves.
1458 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1460 * gdesktopappinfo.c:
1466 * gvolume.h: Documentation updates
1468 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1471 * gfile.h: Doc updates
1473 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1476 * gdesktopappinfo.c: Use hash table iterators.
1478 2007-12-14 Alexander Larsson <alexl@redhat.com>
1481 * gfileattribute.[ch]:
1482 * gfileattribute-priv.h:
1483 Move GFileAttributeValue to a private header, as
1487 Make set_attribute take a type + a pointer instead
1488 of a GFileAttributeValue.
1491 Fix up for above changes.
1492 Add g_file_info_get_attribute_data to get
1493 all info in one call, g_file_info_get_attribute_status
1494 to get the status and g_file_info_get_attribute_as_string.
1498 * glocalfileinfo.[ch]:
1502 Make _guess_type static.
1504 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1507 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1508 made mkenums and friends use temporary files to avoid leaving
1509 empty generated files on failure (#503470).
1511 2007-12-14 Alexander Larsson <alexl@redhat.com>
1513 * gmountoperation.h:
1516 2007-12-14 Alexander Larsson <alexl@redhat.com>
1520 * gfileattribute.[ch]:
1523 * glocalfileoutputstream.c:
1524 * gmountoperation.[ch]:
1525 * goutputstream.[ch]:
1526 Clean up all flags enums to not have _FLAGS in them
1527 Make the names of some of the enums better.
1532 2007-12-14 Michael Natterer <mitch@imendio.com>
1534 * gio.symbols: fix g_io_scheduler symbol names.
1536 2007-12-14 Alexander Larsson <alexl@redhat.com>
1542 * gbufferedinputstream.h:
1543 * gbufferedoutputstream.h:
1546 * gdatainputstream.h:
1547 * gdataoutputstream.h:
1548 * gdesktopappinfo.h:
1549 * gdirectorymonitor.h:
1553 * gfileenumerator.h:
1556 * gfileinputstream.h:
1558 * gfilenamecompleter.h:
1559 * gfileoutputstream.h:
1560 * gfilterinputstream.h:
1561 * gfilteroutputstream.h:
1569 * gmemoryinputstream.h:
1570 * gmemoryoutputstream.h:
1572 * gmountoperation.h:
1575 * gsimpleasyncresult.h:
1577 * gunixinputstream.h:
1579 * gunixoutputstream.h:
1583 * inotify/Makefile.am:
1584 Only allow including <gio/gio.h> from apps
1586 2007-12-14 Alexander Larsson <alexl@redhat.com>
1588 * gioscheduler.[ch]:
1589 * gsimpleasyncresult.c:
1590 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1591 Split out the send_to_mainloop call into two versions instead
1592 of having the block argument.
1594 2007-12-13 Alexander Larsson <alexl@redhat.com>
1596 * gcancellable.[ch]:
1598 * gbufferedinputstream.c:
1599 * gfileenumerator.c:
1600 * gfileinputstream.c:
1601 * gfileoutputstream.c:
1605 g_push/pop_current_cancellable ->
1606 g_cancellable_push/pop_current
1608 2007-12-13 Alexander Larsson <alexl@redhat.com>
1612 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1614 2007-12-13 Alexander Larsson <alexl@redhat.com>
1616 * gmountoperation.h:
1617 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1619 2007-12-12 Alexander Larsson <alexl@redhat.com>
1622 Fix race condition when freeing proxy in
1623 g_io_job_send_to_mainloop().
1625 2007-12-12 Alexander Larsson <alexl@redhat.com>
1631 Make attribute namespace separator "::" instead of ":".
1632 Use - instead of _ as separator in attribute names.
1634 2007-12-12 Alexander Larsson <alexl@redhat.com>
1636 * gbufferedinputstream.h:
1637 * gbufferedoutputstream.h:
1638 * gdatainputstream.h:
1639 * gdataoutputstream.h:
1640 * gdirectorymonitor.h:
1641 * gfileenumerator.h:
1642 * gfileinputstream.h:
1644 * gfileoutputstream.h:
1645 * gfilterinputstream.h:
1646 * gfilteroutputstream.h:
1648 * glocalfileinputstream.h:
1649 * glocalfileoutputstream.h:
1650 * gmemoryinputstream.h:
1651 * gmemoryoutputstream.h:
1652 * gnativevolumemonitor.h:
1654 * gunixinputstream.h:
1655 * gunixoutputstream.h:
1658 s/parent/parent_instance/ in GObjects
1660 2007-12-12 Alexander Larsson <alexl@redhat.com>
1665 No need for padding for interfaces
1667 2007-12-12 Alexander Larsson <alexl@redhat.com>
1671 * gbufferedinputstream.c:
1672 * gbufferedoutputstream.c:
1675 * gdatainputstream.[ch]:
1676 * gdesktopappinfo.c:
1677 * gdirectorymonitor.c:
1679 * gfileattribute.[ch]:
1682 * gfileinputstream.h:
1683 * gfilemonitor.[ch]:
1684 * gfileoutputstream.[ch]:
1685 * gfilterinputstream.h:
1686 * gfilteroutputstream.h:
1689 * gloadableicon.[ch]:
1690 * gmemoryinputstream.c:
1691 * gmountoperation.c:
1693 Fix up a bunch of details in the docs.
1698 2007-12-11 David Zeuthen <davidz@redhat.com>
1700 Rework how volumes, drives and volume monitoring is
1701 done. Previosly the model was
1703 GDrive <1-1> GVolume
1705 where a GDrive instance represented a mount point and a GVolume
1706 instance represented a mounted file system. This patch changes it
1709 GDrive <1-N> GVolume <1-1> GMount
1711 where GMount now serves the purpose of the old GVolume and the new
1712 GVolume serves the purpose of the old GDrive. In addition the new
1713 GDrive interface is used to represent a collection of GVolume
1714 instances (typically partitions) and also contains utility to query
1715 the state of the physical drive the GDrive object represents (such
1716 as checking for media, polling the drive, ejecting the media etc.).
1718 Also implement mounting and unmounting in the Unix volume monitor
1719 backend. A subquent patch will introduce GDrive support for ejection
1723 * gdrive.c: (g_drive_is_media_check_automatic),
1724 (g_drive_is_media_removable), (g_drive_has_media),
1725 (g_drive_can_poll_for_media), (g_drive_eject),
1726 (g_drive_eject_finish), (g_drive_poll_for_media),
1727 (g_drive_poll_for_media_finish):
1729 * gfile.c: (g_file_find_enclosing_mount):
1732 * glocaldirectorymonitor.c:
1733 (g_local_directory_monitor_constructor), (mounts_changed):
1734 * glocalfile.c: (get_mount_info),
1735 (g_local_file_find_enclosing_mount),
1736 (g_local_file_file_iface_init):
1737 * gnativevolumemonitor.h:
1738 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1739 (get_connected_drives), (g_union_volume_monitor_class_init),
1740 (child_volume_added), (child_volume_removed),
1741 (child_volume_changed), (child_mount_added), (child_mount_removed),
1742 (child_mount_pre_unmount), (child_mount_changed),
1743 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1744 (g_union_volume_monitor_remove_monitor),
1745 (_g_mount_get_for_mount_path):
1746 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1747 (guess_system_internal), (_g_get_unix_mounts),
1748 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1749 (g_unix_mount_free), (g_unix_mount_compare),
1750 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1751 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1752 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1753 (type_to_icon), (g_unix_mount_guess_name),
1754 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1755 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1756 (_resolve_symlink), (_resolve_dev_root):
1758 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1759 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1760 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1761 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1762 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1763 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1764 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1765 (g_unix_volume_volume_iface_init):
1767 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1768 (get_mounts), (get_volumes), (get_connected_drives),
1769 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1770 (mountpoints_changed), (mounts_changed),
1771 (g_unix_volume_monitor_init),
1772 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1773 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1774 * gunixvolumemonitor.h:
1775 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1776 (g_volume_mount), (g_volume_mount_finish):
1778 * gvolumemonitor.c: (g_volume_monitor_class_init),
1779 (g_volume_monitor_get_connected_drives),
1780 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1783 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1785 * gmountoperation.h (GPasswordFlags): Close the gap
1787 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1789 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1791 * gdesktopappinfo.[hc]: Remove _-prefixes
1793 2007-12-10 Tor Lillqvist <tml@novell.com>
1795 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1798 2007-12-10 Alexander Larsson <alexl@redhat.com>
1800 * gfile.c (g_file_set_display_name):
1801 Don't hardcode '/' (#502727)
1803 2007-12-09 Hans Breuer <hans@breuer.org>
1805 * makefile.msc : follow lib naming convention
1806 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1807 for user and group name, tested with ../tests/gio-ls
1809 2007-12-09 A. Walton <awalton@svn.gnome.org>
1811 * gdesktopappinfo.c:
1817 * gfileenumerator.c:
1822 * gmemoryinputstream.c:
1823 * gmemoryoutputstream.c:
1825 * gsimpleasyncresult.c:
1826 More documentation cleanup and filling in missing information, bringing
1827 GIO to 99% symbol coverage.
1829 2007-12-08 Hans Breuer <hans@breuer.org>
1831 [gio compiles and links on win32, not sure how much already works]
1832 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1833 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1834 base on win32 API; prefer g_lstat() over lstat(); instead of
1835 localtime_r() use an all GLib implementation on win32;
1836 get_mount_info() still needs a win32 specifc implementation
1837 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1838 win32_get_file_user_info to get owner/group info without uid/gid
1839 * glocalfileinputstream.c : include <io.h> on win32
1840 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1841 definition, use g_win32_ftruncate() for G_OS_WIN32
1842 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1843 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1844 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1845 * makefile.msc : updated
1847 2007-12-07 Alexander Larsson <alexl@redhat.com>
1849 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1850 Avoid warning spew if error == NULL
1852 2007-12-07 Alexander Larsson <alexl@redhat.com>
1855 Update docs wrt etags
1857 2007-12-06 Alexander Larsson <alexl@redhat.com>
1860 Include sys/types.h for dev_t (#501919)
1862 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1866 Make abicheck and pltcheck pass.
1868 2007-12-05 Alexander Larsson <alexl@redhat.com>
1871 * giomodule-priv.h: Added.
1872 * glocaldirectorymonitor.c:
1873 * glocalfilemonitor.c:
1874 * gunionvolumemonitor.c:
1876 Actually add the declaration of _g_io_modules_ensure_loaded
1878 2007-12-05 Alexander Larsson <alexl@redhat.com>
1880 * gdatainputstream.c:
1885 * glocaldirectorymonitor.c:
1886 * glocalfilemonitor.c:
1887 * gunionvolumemonitor.c:
1889 Make g_io_modules_ensure_loaded a private function and
1890 don't pass in the dirname. This means we can do magic
1891 directory finding in the win32 version.
1892 Export the actual load-modules-in-directory code so that
1893 gvfs can reuse that.
1895 2007-12-05 Alexander Larsson <alexl@redhat.com>
1897 * gbufferedinputstream.c:
1898 * gbufferedoutputstream.c:
1901 * gfileenumerator.[ch]:
1902 * gfileinputstream.c:
1903 * gfileoutputstream.[ch]:
1904 * gfilterinputstream.c:
1905 * gfilteroutputstream.c:
1906 * ginputstream.[ch]:
1908 * glocalfileenumerator.c:
1909 * glocalfileinputstream.c:
1910 * glocalfileoutputstream.c:
1911 * gmemoryinputstream.c:
1912 * gmemoryoutputstream.c:
1913 * goutputstream.[ch]:
1916 * gunixinputstream.c:
1917 * gunixoutputstream.c:
1918 Rename all struct members named:
1919 read, write, close, truncate, or mount
1920 to foo_fn, as these are reserved names
1921 and could be defined as macros in libc.
1924 2007-12-04 Alexander Larsson <alexl@redhat.com>
1927 (g_output_stream_close):
1928 Only call flush if non-null.
1930 2007-11-30 Dan Winship <danw@gnome.org>
1932 * ginputstream.c (g_input_stream_set_pending): Make this take a
1933 GError and return a gboolean, and do the "outstanding operation"
1934 check (and the "stream is already closed" check) itself.
1935 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1937 * goutputstream.c (g_output_stream_set_pending)
1938 (g_output_stream_clear_pending): Likewise
1940 * gbufferedinputstream.c:
1941 * gfileinputstream.c:
1942 * gfileoutputstream.c: Update for that
1944 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1945 Like g_simple_async_report_error_in_idle, but takes a GError
1946 rather than building one.
1948 2007-11-30 Dan Winship <danw@gnome.org>
1950 * goutputstream.c: Don't cheat and unset the "pending" flag around
1951 inner calls. Instead, call the class method directly rather than
1952 the wrapper function that checks "pending"
1954 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1956 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1958 2007-12-03 Hans Breuer <hans@breuer.org>
1960 [start of port to win32/msvc]
1961 * gcancellable.c : HAVE_UNIST_H and _pipe()
1962 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1963 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1964 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1966 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1967 * glocalvfs.c : use HAVE_PWD_H
1968 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1969 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1970 * Makefile.am : added to EXTRA_DIST
1972 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1974 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1977 2007-12-03 Alexander Larsson <alexl@redhat.com>
1980 Handle OSX style xattrs API (#500506)
1982 2007-12-03 Alexander Larsson <alexl@redhat.com>
1986 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1988 2007-12-02 A. Walton <awalton@svn.gnome.org>
1992 Documentation accuracy fixes.
1994 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1996 * gioenumtypes.c.template: Fix typo.
1998 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2000 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2002 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2004 * gdirectorymonitor.c:
2005 * gfilemonitor.c: Add properties
2007 * gbufferedoutputstream.c: Don't mark buffer-size property
2010 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2012 * gbufferedoutputstream.c: Add auto-grow property.
2014 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2016 * *.c: Unify the capitalization of section headings.
2018 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2020 * gmountoperation.c: Add properties
2022 * gdatainputstream.c: Turn byte-order and newline-type into
2025 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2027 * gioenumtypes.[hc].template: Templates for enum registration
2029 * Makefile.am: Generate gioenumtypes.[hc]
2031 * gio.h: Include gioenumtypes.h
2033 * gfile.h: Add some explicit nicks.
2035 * gio.symbols: Add new symbols
2037 * pltcheck.sh: Adjust
2039 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2041 * *.c: Explain etags and link to the explanation
2043 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2045 * *.c: Explain I/O priority.
2047 * *.c: More coding style fixes.
2049 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2051 * gasyncresult.c: Add another paragraph to the intro,
2052 adjust coding style of example.
2054 2007-11-29 A. Walton <awalton@svn.gnome.org>
2057 Fixes unknown meaning in GAppLaunchContext docs.
2059 Clarify asynchronous ops.
2061 Fix entity tag docs.
2064 Provides missing gtk-doc section, fixes API docs slighly.
2065 * gsimpleasyncresult.c:
2066 Fill in missing info in docs.
2067 * gunixinputstream.c:
2068 * gunixoutputstream.c:
2069 Be more expressive in short description.
2071 Remove gtk-doc stubs for non-public API.
2073 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2075 * *.c: Coding style fixups
2077 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2079 * inotify/inotify-helper.c: Don't export the lock from libgio.
2081 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2084 * abicheck.sh: Fix copy-and-paste leftovers
2086 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2088 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2090 2007-11-28 Alexander Larsson <alexl@redhat.com>
2094 Removed unnecessary file
2096 * gdesktopappinfo.[ch]:
2099 * glocaldirectorymonitor.[ch]:
2101 * glocalfileenumerator.[ch]:
2102 * glocalfileinputstream.[ch]:
2103 * glocalfilemonitor.[ch]:
2104 * glocalfileoutputstream.[ch]:
2106 * gnativevolumemonitor.c:
2107 * gpollfilemonitor.[ch]:
2108 * gunionvolumemonitor.[ch]:
2111 * gunixvolumemonitor.[ch]:
2114 * inotify/ginotifydirectorymonitor.[ch]:
2115 * inotify/ginotifyfilemonitor.[ch]:
2116 * inotify/inotify-helper.c:
2117 Append _ to all internal functions
2121 Export symbols needed for modules
2123 2007-11-28 Alexander Larsson <alexl@redhat.com>
2126 * abicheck.sh: Added.
2127 * makegioalias.pl: Added.
2128 * pltcheck.sh: Added.
2129 * gio.symbols: Added.
2132 Initial work on adding symbol handling.
2135 Correct ifdef guard name
2138 * inotify/Makefile.am:
2139 * xdgmime/Makefile.am:
2140 Include toplevel Makefile.decl
2142 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2144 * gcontenttype.c: Move doc comments to the unix section.
2146 * *.[hc]: More trivial doc corrections.
2148 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2150 * gpollfilemonitor.c:
2154 * gdesktopappinfo.c:
2159 * gdatainputstream.c:
2160 * gdatainputstream.h:
2161 * gdataoutputstream.c:
2162 * gdataoutputstream.h:
2163 * gfileinfo.h: Doc cleanups
2165 2007-11-28 Andre Klapper <a9016009@gmx.de>
2167 * gdesktopappinfo.c: Fix a typo.
2169 2007-11-27 Andre Klapper <a9016009@gmx.de>
2171 * glocalfileoutputstream.c: Fix a typo.
2173 2007-11-27 Alexander Larsson <alexl@redhat.com>
2176 Don't include removed headers
2178 2007-11-27 Alexander Larsson <alexl@redhat.com>
2181 * gsocketinputstream.[ch]: Removed.
2182 * gsocketoutputstream.[ch]: Removed.
2183 * gunixinputstream.[ch]: Added.
2184 * gunixoutputstream.[ch]: Added.
2185 Renamed GSocket*Stream to GUnix*Stream and made
2186 it unix-only, since its not really only for sockets
2187 and it only works on unix (but is highly useful there).
2189 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2195 * gbufferedinputstream.c:
2196 * gbufferedinputstream.h:
2197 * gbufferedoutputstream.c:
2198 * gbufferedoutputstream.h:
2202 * gdatainputstream.c:
2203 * gdatainputstream.h:
2204 * gdataoutputstream.c:
2205 * gdataoutputstream.h:
2206 * gdirectorymonitor.c:
2207 * gdirectorymonitor.h:
2214 * gfileenumerator.c:
2215 * gfileenumerator.h:
2220 * gfileinputstream.c:
2221 * gfileinputstream.h:
2224 * gfilenamecompleter.c:
2225 * gfilenamecompleter.h:
2226 * gfileoutputstream.c:
2227 * gfileoutputstream.h:
2228 * gfilterinputstream.c:
2229 * gfilterinputstream.h:
2230 * gfilteroutputstream.c:
2231 * gfilteroutputstream.h:
2244 * glocalfileoutputstream.c:
2245 * gmemoryinputstream.c:
2246 * gmemoryinputstream.h:
2247 * gmemoryoutputstream.c:
2248 * gmemoryoutputstream.h:
2249 * gmountoperation.c:
2250 * gmountoperation.h:
2253 * gpollfilemonitor.c:
2256 * gsimpleasyncresult.c:
2257 * gsimpleasyncresult.h:
2258 * gsocketinputstream.c:
2259 * gsocketinputstream.h:
2260 * gsocketoutputstream.c:
2261 * gsocketoutputstream.h:
2268 * gunixvolumemonitor.c:
2277 Bumps documentation to 93% symbol coverage, touching most
2278 of the public files. Fixes broken function documentation prototypes.
2279 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2280 gtk-doc headers in private files.
2282 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
2284 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2285 (g_buffered_input_stream_read_byte):
2286 * gbufferedinputstream.h:
2287 New functions for efficient access to buffer and simple single byte
2290 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2291 (g_data_input_stream_read_until):
2292 * gdatainputstream.h:
2293 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2294 read_until with multiple stop chars.
2296 2007-11-27 Alexander Larsson <alexl@redhat.com>
2300 * inotify/Makefile.am:
2301 Use the user-specified giomoduledir
2303 2007-11-27 Alexander Larsson <alexl@redhat.com>
2307 Add catch-all gio.h header
2308 Don't install gdummyfile.h
2310 2007-11-26 Alexander Larsson <alexl@redhat.com>
2312 * Makefile.am (gioinclude_HEADERS):
2313 Remove trailing whitespace
2315 2007-11-26 Alexander Larsson <alexl@redhat.com>
2317 Merge gio-standalone into glib
2319 2007-11-25 Christian Kellner <gicmo@gnome.org>
2321 * gio/goutputstream.c:
2322 Fix small mistake in the docs.
2324 2007-11-21 Christian Persch <chpe@gnome.org>
2326 * gio/glocalfile.c: (g_local_file_trash):
2327 Convert filenames to UTF-8 for GError.
2328 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2329 as per xdg base dir spec.
2331 2007-11-21 Christian Persch <chpe@gnome.org>
2333 * gio/gdesktopappinfo.c:
2334 Use that g_key_file_to_data cannot fail.
2336 Use stock defines for the key file group and key names.
2339 2007-11-21 Alexander Larsson <alexl@redhat.com>
2342 (copy_stream_with_progress):
2343 Make sure we do a final progress callback with
2344 the full total size.
2346 2007-11-21 Alexander Larsson <alexl@redhat.com>
2349 Export g_file_copy_attributes
2350 Remove padding as its not needed for interfaces
2352 2007-11-20 Alexander Larsson <alexl@redhat.com>
2357 Add G_IO_ERROR_WOULD_MERGE for
2358 copy/move dir on dir with overwrite.
2360 2007-11-20 Alexander Larsson <alexl@redhat.com>
2363 * gio/glocalfileinfo.c:
2364 Add COPY_NAME (this is an optional
2365 non-modified utf8 version of the name) that
2368 2007-11-20 Alexander Larsson <alexl@redhat.com>
2370 * gio/glocalfileenumerator.c:
2371 Report errors as GIOError, not GFileError
2373 2007-11-16 Alexander Larsson <alexl@redhat.com>
2375 * gio/glocalfileoutputstream.c:
2376 * gio/gwin32appinfo.c:
2377 Fix typos in strings.
2378 Patch from Luca Ferretti <elle.uca@libero.it>
2380 2007-11-15 Alexander Larsson <alexl@redhat.com>
2383 Post release version bump
2385 === gio-standalone 0.1.2 ===
2387 2007-11-15 Alexander Larsson <alexl@redhat.com>
2389 * docs/reference/gio/Makefile.am:
2390 Fix up distcheck by removing weird
2396 2007-11-14 Alexander Larsson <alexl@redhat.com>
2398 * gio/gdesktopappinfo.c:
2399 * gio/glocaldirectorymonitor.c:
2401 * gio/glocalfileinfo.c:
2402 * gio/inotify/inotify-sub.c:
2403 * programs/gio-cat.c:
2404 * programs/gio-copy.c:
2405 * programs/gio-info.c:
2406 * programs/gio-ls.c:
2407 * programs/gio-monitor-dir.c:
2408 * programs/gio-monitor-file.c:
2409 * programs/gio-mount.c:
2410 * programs/gio-move.c:
2411 * programs/gio-rm.c:
2412 * programs/gio-save.c:
2413 * programs/gio-trash.c:
2414 Leak fixes from Kjartan Maraas
2416 2007-11-14 Alexander Larsson <alexl@redhat.com>
2418 * gio/fam/fam-helper.c:
2420 * gio/glocalfileinfo.c:
2424 * gio/inotify/inotify-diag.c:
2425 * gio/inotify/inotify-kernel.c:
2426 Various code cleanups from Kjartan Maraas
2428 2007-11-14 Alexander Larsson <alexl@redhat.com>
2430 * gio/gioscheduler.c:
2432 Set up threadpool so that we cache 2 unused
2433 idle threads for at 15 secs. This means we
2434 will reuse thread-local data (like dbus connections)
2437 2007-11-14 Alexander Larsson <alexl@redhat.com>
2439 * gio/fam/fam-helper.c:
2440 * gio/fam/gfamdirectorymonitor.c:
2441 * gio/fam/gfamfilemonitor.c:
2443 * gio/gcontenttype.c:
2444 * gio/gdatainputstream.c:
2445 * gio/gdataoutputstream.c:
2449 * gio/gfileattribute.h:
2450 * gio/gfileenumerator.c:
2452 * gio/ginputstream.c:
2455 * gio/glocalfileinfo.c:
2456 * gio/goutputstream.c:
2457 * gio/gpollfilemonitor.c:
2458 * gio/gsimpleasyncresult.c:
2459 * gio/gunixmounts.c:
2460 * gio/gunixmounts.h:
2461 * gio/inotify/ginotifydirectorymonitor.c:
2462 * gio/inotify/ginotifyfilemonitor.c:
2463 * gio/inotify/inotify-diag.c:
2464 * gio/inotify/inotify-kernel.c:
2465 * gio/inotify/inotify-path.c:
2467 * gio/test-streams.c:
2468 * programs/gio-info.c:
2469 * programs/gio-monitor-dir.c:
2470 * programs/gio-monitor-file.c:
2471 Various code cleanups from Kjartan Maraas
2473 2007-11-13 Alexander Larsson <alexl@redhat.com>
2476 Handle the uri-scheme calls for dummy files
2478 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2480 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2481 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2482 to avoid clash with the C++ keyword.
2484 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2486 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2487 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2489 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2491 * gio/glocaldirectorymonitor.c:
2492 * gio/glocalfilemonitor.c:
2493 * gio/gunionvolumemonitor.c:
2494 Don't use g_once_init_*() for initializations that could fail and
2495 could leave the initialization variable set to 0 but use GOnce.
2496 This prevents a deadlock on the second call when trying to create
2497 a monitor and no monitor type is available. Thanks to Sven Herzberg
2500 2007-11-11 Sven Herzberg <sven@imendio.com>
2502 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2503 #ifdef (make it work on MacOS X again)
2505 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2507 Fixes Changelog for last two commits (sorry guys).
2509 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2511 * gio/gbufferedinputstream.c:
2512 * gio/gdatainputstream.c:
2514 * gio/gfileoutputstream.c:
2515 * gio/gfilterinputstream.c:
2516 * gio/glocalfileinputstream.c:
2519 More consistency fixes in g*stream.c files.
2520 Significant clean of gfile's documentation, filling in of
2521 asynchronous operations documentation.
2523 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2525 * gio/gasyncresult.c:
2526 * gio/gbufferedinputstream.c:
2527 * gio/gbufferedoutputstream.c:
2528 * gio/gcancellable.c:
2529 * gio/gcontenttype.c:
2530 * gio/gdatainputstream.c:
2531 * gio/gdataoutputstream.c:
2532 * gio/gdesktopappinfo.c:
2535 * gio/gfileattribute.c:
2536 * gio/gio/gfileenumerator.c:
2538 * gio/gfileinputstream.c:
2539 * gio/gfilemonitor.c:
2540 * gio/gfileoutputstream.c:
2541 * gio/ginputstream.c:
2543 * gio/gioscheduler.c:
2544 * gio/gloadableicon.c:
2545 * gio/glocalfileoutputstream.c:
2546 * gio/gmemoryoutputstream.c:
2547 * gio/gmountoperation.c:
2548 * gio/goutputstream.c:
2550 * gio/gsimpleasyncresult.c:
2551 * gio/gunionvolumemonitor.c:
2552 * gio/gunixmounts.c:
2553 * gio/gunixvolume.c:
2557 * gio/gvolumemonitor.c:
2558 Updated documentation stubs, working towards consistency and
2561 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2563 * gio/gmemoryoutputstream.c:
2564 * gio/gmemoryoutputstream.h:
2565 Change g_memory_output_stream_set_free_on_close() to
2566 g_memory_output_stream_set_free_data() as this makes more sense and
2567 is more consistent with GMemoryInputStream.
2569 2007-11-07 Alexander Larsson <alexl@redhat.com>
2576 Change how we find the default vfs so that
2577 we can handle a gvfs failing to init
2579 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2581 * gio/gbufferedoutputstream.c:
2582 * gio/gdatainputstream.c:
2583 * gio/gdataoutputstream.c:
2584 * gio/gfileinputstream.c:
2585 * gio/gfileoutputstream.c:
2586 * gio/gfilterinputstream.c:
2587 * gio/gfilteroutputstream.c:
2588 * gio/ginputstream.c:
2589 * gio/gmemoryinputstream.c:
2590 * gio/gmemoryoutputstream.c:
2591 * gio/goutputstream.c:
2592 * gio/gsimpleasyncresult.c:
2593 * gio/gsocketinputstream.c:
2594 * gio/gsocketoutputstream.c:
2595 Add guards to the remaining public functions, add a TODO for
2596 an unimplemented function and remove some useless guards.
2598 2007-11-07 Alexander Larsson <alexl@redhat.com>
2601 Autoconf checks for the various types of
2602 getpwuid_r and getgrgid_r
2604 * gio/glocalfileinfo.c:
2605 Use the autoconf checks from above
2607 2007-11-07 Alexander Larsson <alexl@redhat.com>
2610 (g_local_file_query_filesystem_info):
2611 Some fixes for the statvfs case
2613 2007-11-07 Alexander Larsson <alexl@redhat.com>
2616 (g_local_file_query_filesystem_info):
2617 Pick the "best" of statfs / statvfs for the system
2618 if both are availible.
2620 2007-11-07 Alexander Larsson <alexl@redhat.com>
2622 Solaris fixes from Halton.Huo@Sun.COM:
2629 * gio/glocalfileinfo.c:
2630 Fix for solaris definition of getpwuid_r
2632 * gio/test-streams.c:
2633 Use G_GNUC_PRETTY_FUNCTION
2635 2007-11-07 Alexander Larsson <alexl@redhat.com>
2637 * gio/gdesktopappinfo.c:
2638 (update_default_list):
2639 Remove double semicolon.
2640 Patch from Jens Granseuer
2642 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2644 * docs/reference/gio/gio-sections.txt:
2645 * gio/gbufferedinputstream.c:
2646 * gio/gbufferedinputstream.h:
2647 * gio/gdatainputstream.c:
2648 * gio/gfileenumerator.c:
2649 * gio/gioscheduler.c:
2650 * gio/gunionvolumemonitor.c:
2652 * programs/gio-save.c:
2653 Fix typo: availible -> available. Unfortuntely this breaks API
2654 and ABI as g_buffered_input_stream_get_available() was renamed.
2656 * gio/gunixmounts.c:
2657 * gio/gbufferedinputstream.c:
2658 Add guards for public functions.
2660 2007-11-06 Ross Burton <ross@openedhand.com>
2662 * docs/reference/gio/Makefile.am:
2663 Fix invalid += usage which automake 1.10 doesn't like.
2665 2007-11-06 Alexander Larsson <alexl@redhat.com>
2668 (g_app_launch_context_class_init):
2671 Patch from Ross Burton
2673 2007-11-06 Alexander Larsson <alexl@redhat.com>
2676 Post release version bump
2678 === gio-standalone 0.1.1 ===
2680 2007-11-06 Alexander Larsson <alexl@redhat.com>
2683 Bump version to 0.1.1
2685 * gio/gsimpleasyncresult.c:
2686 (g_simple_async_result_set_from_error):
2687 Remove bogus g_return_if_fail
2689 2007-11-06 Alexander Larsson <alexl@redhat.com>
2692 The name is gio-standalone
2695 Add top src/builddir to includedir
2697 2007-11-06 Alexander Larsson <alexl@redhat.com>
2699 * docs/reference/gio/gio-sections.txt:
2701 * gio/gbufferedinputstream.c:
2702 * gio/gbufferedoutputstream.c:
2703 * gio/gcancellable.c:
2704 * gio/gdatainputstream.h:
2705 * gio/gdataoutputstream.c:
2706 * gio/gdataoutputstream.h:
2707 * gio/gdirectorymonitor.c:
2709 * gio/gfileattribute.c:
2710 * gio/gfileattribute.h:
2711 * gio/gfileenumerator.c:
2712 * gio/gfileenumerator.h:
2715 * gio/gfileinputstream.h:
2716 * gio/gfilemonitor.c:
2717 * gio/gfileoutputstream.h:
2718 * gio/glocalfilemonitor.h:
2719 * gio/glocalfileoutputstream.h:
2720 * gio/gmemoryinputstream.c:
2721 * gio/gmemoryoutputstream.c:
2722 * gio/gmountoperation.c:
2723 * gio/goutputstream.c:
2724 * gio/goutputstream.h:
2726 * gio/gsimpleasyncresult.c:
2727 * gio/gunixmounts.c:
2728 * gio/gunixmounts.h:
2730 * gio/inotify/inotify-helper.c:
2731 Fix gtk-doc warnings
2733 Patch from Ross Burton
2735 2007-11-06 Alexander Larsson <alexl@redhat.com>
2737 * gio/gfilenamecompleter.c:
2738 (g_filename_completer_get_completions):
2741 * gio/gunixvolume.c:
2742 Remove unused function
2744 Patches from Ross Burton
2746 2007-11-06 Alexander Larsson <alexl@redhat.com>
2751 Padding not needed for interfaces
2753 2007-11-06 Alexander Larsson <alexl@redhat.com>
2755 * gio/gfilemonitor.c:
2759 Make giotypes.h an internal file
2762 * gio/gbufferedinputstream.h:
2763 * gio/gbufferedoutputstream.h:
2764 * gio/gcancellable.h:
2765 * gio/gdatainputstream.h:
2766 * gio/gdataoutputstream.h:
2767 * gio/gdirectorymonitor.c:
2768 * gio/gdirectorymonitor.h:
2773 * gio/gfileattribute.h:
2774 * gio/gfileenumerator.h:
2779 * gio/gfilemonitor.c:
2780 * gio/gfilemonitor.h:
2781 * gio/gfilenamecompleter.c:
2782 * gio/gfilenamecompleter.h:
2783 * gio/gfilterinputstream.h:
2784 * gio/gfilteroutputstream.h:
2785 * gio/ginputstream.h:
2786 * gio/gmemoryinputstream.h:
2787 * gio/gmemoryoutputstream.h:
2788 * gio/gmountoperation.c:
2789 * gio/gmountoperation.h:
2790 * gio/gnativevolumemonitor.c:
2791 * gio/goutputstream.h:
2794 * gio/gsimpleasyncresult.c:
2795 * gio/gsimpleasyncresult.h:
2796 * gio/gsocketinputstream.h:
2797 * gio/gsocketoutputstream.h:
2798 * gio/gthemedicon.c:
2799 * gio/gthemedicon.h:
2803 * gio/gvolumemonitor.c:
2804 * gio/gvolumemonitor.h:
2805 Add padding in classes where it seems useful
2806 Don't include giotypes.h from public headers
2807 Move in Class definitions into c file where possible
2812 2007-11-06 Alexander Larsson <alexl@redhat.com>
2814 * docs/reference/gio/gio-docs.xml:
2815 Better structure for API docs
2817 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2820 * gio/gloadableicon.c:
2821 * gio/gsimpleasyncresult.c:
2822 * gio/gthemedicon.c:
2823 Add some more guards to public functions. Only files missing are now
2826 2007-11-06 Alexander Larsson <alexl@redhat.com>
2828 * docs/reference/gio/gio-docs.xml:
2829 Remove old files, add missing ones
2831 2007-11-06 Alexander Larsson <alexl@redhat.com>
2833 * docs/reference/gio/gio-sections.txt:
2836 Hide implementation classes
2838 * gio/gdriveprivate.h:
2839 * gio/gvolumeprivate.h:
2840 Remove non-existing function declarations
2842 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2845 Fix compilation warnings and add guards to the new functions.
2847 * gio/gasyncresult.c:
2849 Add guards to the public functions.
2852 Implement get_path().
2854 2007-11-06 Alexander Larsson <alexl@redhat.com>
2856 * gio/gfilenamecompleter.c:
2857 Make g_filename_completer_get_completions
2858 return char ** instead of GList for
2861 * docs/reference/gio/gio-docs.xml:
2862 * docs/reference/gio/gio-sections.txt:
2864 * gio/gasyncresult.c:
2865 * gio/gbufferedinputstream.c:
2866 * gio/gbufferedoutputstream.c:
2867 * gio/gcancellable.c:
2868 * gio/gcontenttype.c:
2869 * gio/gdatainputstream.c:
2870 * gio/gdataoutputstream.c:
2871 * gio/gdesktopappinfo.c:
2872 * gio/gdirectorymonitor.c:
2876 * gio/gfileattribute.c:
2877 * gio/gfileenumerator.c:
2880 * gio/gfileinputstream.c:
2881 * gio/gfilemonitor.c:
2882 * gio/gfilenamecompleter.c:
2883 * gio/gfilenamecompleter.h:
2884 * gio/gfileoutputstream.c:
2885 * gio/gfilterinputstream.c:
2887 * gio/ginputstream.c:
2889 * gio/gioscheduler.c:
2890 * gio/gloadableicon.c:
2891 * gio/glocaldirectorymonitor.c:
2893 * gio/glocalfileinputstream.c:
2894 * gio/glocalfilemonitor.c:
2895 * gio/glocalfileoutputstream.c:
2897 * gio/gmemoryinputstream.c:
2898 * gio/gmemoryoutputstream.c:
2899 * gio/gmountoperation.c:
2900 * gio/goutputstream.c:
2901 * gio/gpollfilemonitor.c:
2903 * gio/gsimpleasyncresult.c:
2904 * gio/gsocketinputstream.c:
2905 * gio/gsocketoutputstream.c:
2906 * gio/gthemedicon.c:
2907 * gio/gunionvolumemonitor.c:
2909 * gio/gunixmounts.c:
2910 * gio/gunixvolume.c:
2911 * gio/gunixvolumemonitor.c:
2915 * gio/gvolumemonitor.c:
2916 * gio/gwin32appinfo.c:
2917 Add (mostly stub) doc strings to public functions.
2918 Patch from Andrew Walton (awalton@gmail.com)
2920 2007-11-06 Alexander Larsson <alexl@redhat.com>
2922 * gio/gappinfo.[ch]:
2923 Added GAppLaunchContext object and pass that to launch.
2924 This allows simple implementation of both
2925 launch-on-screen and startup notification via a gtk+
2926 subclass of GAppLaunchContext
2928 * gio/gdesktopappinfo.c:
2929 Implement GAppLaunchContext API
2931 * gio/gwin32appinfo.c:
2934 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2936 * gio/gmountoperation.c:
2937 Add some guards to GMountOperation's public functions.
2939 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2943 * gio/gcancellable.c:
2944 * gio/gdirectorymonitor.c:
2946 * gio/gfileenumerator.c:
2947 * gio/gfilemonitor.c:,
2948 * gio/gfilenamecompleter.c:
2951 * gio/gioscheduler.c:
2955 * gio/gvolumemonitor.c:
2956 Add even more guards to various public functions.
2958 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2961 Add guards to the public functions of GAppInfo.
2963 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2965 * gio/gcontenttype.c:
2966 Add some more guards for public functions.
2968 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2970 * gio/fam/fam-module.c:
2971 * gio/fam/gfamdirectorymonitor.c:
2972 * gio/fam/gfamdirectorymonitor.h:
2973 * gio/fam/gfamfilemonitor.c:
2974 * gio/fam/gfamfilemonitor.h:
2975 * gio/inotify/ginotifydirectorymonitor.c:
2976 * gio/inotify/ginotifydirectorymonitor.h:
2977 * gio/inotify/ginotifyfilemonitor.c:
2978 * gio/inotify/ginotifyfilemonitor.h:
2979 Add proper copyright information and remove an unused variable
2980 in the GInotifyFileMonitor constructor.
2982 * gio/gcancellable.c:
2983 Add a guard for a public function and an assertion to prevent
2984 an undefined program state.
2986 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2988 * gio/gfileattribute.c:
2989 Don't run into an assertion if the given attribute value is NULL
2990 in g_file_attribute_value_get_*() but instead return a fallback
2991 value that makes sense in most situations. Passing them a attribute
2992 value with the wrong type will still run into an assertion.
2994 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2996 * gio/gfileattribute.c:
2998 Add even more guards to the public functions. Also fix the refcounting
2999 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3000 let g_file_info_list_attributes() filter the attributes by namespace
3001 instead of simply ignoring the namespace parameter.
3003 2007-11-03 Sven Herzberg <sven@imendio.com>
3005 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3006 (This makes gio work on MacOS X again)
3008 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3011 Build the gio subdirectory before the docs. Otherwise the build will
3014 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3015 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3016 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3017 Add guards to the public functions.
3019 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3021 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3022 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3023 to prevent a compiler warning.
3025 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3026 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3027 return something in the non-void function find_topdir_for().
3029 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3036 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3038 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3039 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3040 * gwin32appinfo.c (g_win32_app_info_launch):
3041 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3042 envp_for_startup_id, g_desktop_app_info_launch,
3043 g_desktop_app_info_launch_uris):
3045 Give an opaque 'startup_id' string instead of 'envp'.
3046 Support empty file lists for launching new windows.
3047 Fix infinite recursion bug when launching URIs.
3049 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3052 Add guard to the new g_file_get_uri_scheme() function.
3054 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3057 Convert a g_return_val_if_fail() to setting the GError instead as
3058 otherwise applications have to verify the parameter before otherwise
3059 and the parameter might come directly from the user.
3061 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3063 * gio/inotify/ginotify*.[ch]:
3064 Add missing copyright information.
3066 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3069 Add guards in the beginning of public functions to check for valid
3070 parameters and fix a bug in copy_stream_with_progress() that could've
3071 caused writing less bytes than reading.
3072 * gio/glocalfileinfo.c:
3073 Check for a NULL parameter and set the GError accordingly then.
3074 * gio/goutputstream.c:
3075 Fix the same bug as in gfile.c that could've caused writing less bytes
3076 than reading in g_output_stream_real_splice().
3078 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3081 Use the correct gvolumeprivate.h naming
3083 2007-11-01 Christian Kellner <gicmo@gnome.org>
3086 Remove leftover "$(daemon_sources)" entry.
3088 2007-11-01 Christian Kellner <gicmo@gnome.org>
3093 Add copyright information to source files.
3095 2007-11-01 Alexander Larsson <alexl@redhat.com>
3099 Add g_file_get_uri_scheme
3101 2007-11-01 Alexander Larsson <alexl@redhat.com>
3104 * gio/gdesktopappinfo.c:
3105 * gio/gwin32appinfo.c:
3106 Add g_app_info_get_default_for_uri_scheme.
3108 2007-11-01 Alexander Larsson <alexl@redhat.com>
3111 Correct filename for gdriveprivate.h
3113 2007-10-31 Alexander Larsson <alexl@redhat.com>
3116 Rename id:value to id:file
3119 * gio/glocalfileinfo.c:
3122 2007-10-31 Alexander Larsson <alexl@redhat.com>
3124 * gio/gunixvolume.c:
3126 Remove g_volume_get_platform_id, as thats not
3127 needed with the simpler union volume monitor
3129 2007-10-31 Alexander Larsson <alexl@redhat.com>
3132 * gio/guniondrive.[ch]: Removed.
3133 * gio/gunionvolume.[ch]: Removed.
3134 Remove GUnionDrive/Volume
3136 * gio/gunionvolumemonitor.c:
3137 Simplify union volume monitor, now we
3138 only have one native volume monitor and
3139 we use the actual volumes/drives from the
3140 child monitors instead of wrapping them
3142 * gio/gnativevolumemonitor.[ch]:
3143 Base class for native volume monitors.
3144 Includes priority and get_volume_for_mountpoint
3147 Add g_file_find_enclosing_volume
3150 Remove volume name fs attribute
3151 Add readonly fs attribute
3154 Implement readonly attribute
3155 remove volume name attribute
3156 Implement find_enclosing volume
3158 * gio/gunixmounts.c:
3159 Add a volume for "/".
3161 * gio/gunixvolume.[ch]:
3162 Set better name for /
3164 * gio/gunixvolumemonitor.[ch]:
3165 Derive from GNativeVolumeMonitor
3166 Implement get_volume_for_mountpoint
3169 GVolume typedef moved to gfile.h
3171 * gio/gvolumeprivate.h:
3172 Add g_volume_get_for_mount_path
3174 2007-10-31 Alexander Larsson <alexl@redhat.com>
3176 * gio/gunixmounts.[ch]:
3177 Add cache info to unix mount listers
3178 Make getmntent use threadsafe
3179 Add is_system_internal attribute for GUnixMount
3181 * gio/gunixvolume.c:
3182 (g_unix_volume_new):
3183 Use is_system_internal instead of own code
3185 * gio/glocaldirectorymonitor.c:
3186 * gio/gunixvolumemonitor.c:
3187 Update to new gunixmounts API
3192 2007-10-30 Alexander Larsson <alexl@redhat.com>
3195 Add volume name fsinfo attribute
3198 Read volume name info
3200 * gio/gunionvolumemonitor.c:
3201 Fix infinite loops when finalizing a union volume monitor
3203 2007-10-30 Alexander Larsson <alexl@redhat.com>
3205 * gio/goutputstream.[ch]:
3206 Add splice() with default implementation
3208 * gio/gsocketoutputstream.c:
3209 (g_socket_output_stream_write):
3210 Return error on cancellation correctly.
3212 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3214 * gio/glocalfile.c (g_local_file_trash):
3215 Do not leak a string.
3217 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3219 * gio/gfile.c (g_file_load_contents):
3220 Unref the stream after closing it.
3222 2007-10-25 Alexander Larsson <alexl@redhat.com>
3224 * gio/gioscheduler.h:
3227 2007-10-25 Alexander Larsson <alexl@redhat.com>
3231 Add g_file_has_uri_scheme and implement for local files
3233 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3235 * gio/gdesktopappinfo.c: do not leak a string.
3237 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3239 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3240 (g_local_directory_monitor_new):
3241 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3242 (g_local_file_monitor_new):
3243 Only look for the monitor type that should be used the first time
3244 and use g_qsort_with_data() instead of our own bubble sort
3247 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3250 * gio/fam/Makefile.am:
3251 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3252 * gio/fam/fam-helper.h:
3253 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3254 * gio/fam/gfamdirectorymonitor.c:
3255 * gio/fam/gfamdirectorymonitor.h:
3256 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3257 * gio/fam/gfamfilemonitor.h:
3258 * gio/glocaldirectorymonitor.c:
3259 * gio/glocaldirectorymonitor.h:
3260 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3261 * gio/glocalfilemonitor.h:
3262 * gio/inotify/Makefile.am:
3263 * gio/inotify/ginotifydirectorymonitor.c:
3264 * gio/inotify/ginotifydirectorymonitor.h:
3265 * gio/inotify/ginotifyfilemonitor.c:
3266 * gio/inotify/ginotifyfilemonitor.h:
3267 Implement the FAM and Inotify monitors as
3268 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3269 their own GIO module. GLocal(Directory|File)Monitor will use the
3270 monitor with the highest rank that is supported on that machine.
3272 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3275 Change GIO module dir to $(libdir)/gio/modules and change
3276 the log domain from GVFS to GIO. Also only export symbols starting
3277 with g_ in the resulting library.
3278 * gio/test-streams.c: (main):
3279 Set log handler for the GIO log domain.
3281 2007-10-22 Alexander Larsson <alexl@redhat.com>
3283 * gio/gfilenamecompleter.[ch]:
3284 Add g_filename_completer_set_dirs_only
3286 2007-10-22 Alexander Larsson <alexl@redhat.com>
3289 * gio/gurifuncs.[ch]:
3290 Add some simple URI helpers
3292 * gio/gfilenamecompleter.[ch]:
3293 Added object for filename (parse name actually) completion
3296 Handle ~ in parse names
3298 2007-10-17 Alexander Larsson <alexl@redhat.com>
3301 * gio/glocalfileinfo.c:
3302 Add and implement id:value attribute
3304 2007-10-17 Alexander Larsson <alexl@redhat.com>
3307 * gio/guniondrive.c:
3309 Add and implement g_drive_has_volumes
3311 2007-10-17 Alexander Larsson <alexl@redhat.com>
3314 * gio/glocalfileinfo.[ch]:
3315 Add unix:is_mountpoint and implement for local files
3317 2007-10-16 Alexander Larsson <alexl@redhat.com>
3319 * gio/gunionvolumemonitor.c:
3320 (g_union_volume_monitor_init):
3321 Fix up the unix type getting so that it works with gcc
3323 2007-10-12 Alexander Larsson <alexl@redhat.com>
3326 * gio/glocalfileinfo.c:
3327 Add thumbnail:failed to file info
3329 2007-10-12 Richard Hult <richard@imendio.com>
3331 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3332 optimizing away the get_type call (happens with some gcc versions,
3333 like the one shipped with OS X 10.4).
3335 2007-10-12 Alexander Larsson <alexl@redhat.com>
3337 * gio/glocalfileinfo.c:
3338 (_g_local_file_info_set_attribute):
3339 Fix build if not HAVE_XATTR
3340 Patch from Milosz Derezynski <internalerror@gmail.com>
3342 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3344 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3345 around for review, otherwise I would have asked you before
3348 2007-10-11 Alexander Larsson <alexl@redhat.com>
3351 Add thumbnail:path attribute
3353 * gio/glocalfileinfo.c:
3354 Implement thumbnail:path for local files
3356 2007-10-11 Alexander Larsson <alexl@redhat.com>
3358 * gio/glocalfileinfo.c:
3359 (_g_local_file_info_get):
3360 Avoid duplicate icon names
3362 2007-10-11 Alexander Larsson <alexl@redhat.com>
3364 * gio/gthemedicon.[ch]:
3365 Change g_themed_icon_get_names return type to const
3367 2007-10-10 Alexander Larsson <alexl@redhat.com>
3369 * gio/glocalfileinfo.c:
3370 Don't reference freed memory
3372 2007-10-10 Alexander Larsson <alexl@redhat.com>
3374 * gio/gfileattribute.c:
3377 * gio/glocalfileinfo.c:
3380 2007-10-10 Alexander Larsson <alexl@redhat.com>
3383 Check for NULL icons
3385 * gio/gfileattribute.c:
3386 Don't dup when getting objects (same as for string attributes)
3388 * gio/gicon.c (g_icon_equal):
3389 Safely handle NULLs in equal
3391 2007-10-10 Alexander Larsson <alexl@redhat.com>
3394 Fix c++ compilation issues
3395 Patch from Milosz Derezynski <internalerror@gmail.com>
3397 2007-10-10 Alexander Larsson <alexl@redhat.com>
3399 * programs/gio-monitor-dir.c:
3400 Don't crash if dir monitor not supported.
3402 2007-10-09 Alexander Larsson <alexl@redhat.com>
3405 Add missing G_END_DECLS
3407 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3409 * gio/gfile.c: (g_file_set_display_name),
3410 (g_file_query_settable_attributes),
3411 (g_file_query_writable_namespaces):
3412 Return NULL not FALSE on errors as the return type is a pointer.
3414 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3416 * gio/glocalfile.c: (g_local_file_monitor_file):
3417 Don't call monitor_file on the default interface vtable (which
3418 is NULL) but simply return NULL. The caller, GFile, will create a
3419 polling monitor if NULL is returned.
3421 2007-10-09 Alexander Larsson <alexl@redhat.com>
3425 * gio-unix-2.0.pc.in:
3426 Add gio-unix-2.0.pc if OS_UNIX
3429 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3431 2007-10-09 Alexander Larsson <alexl@redhat.com>
3433 * gio/gunixmounts.[ch]:
3434 Make unix mount monitoring API sane.
3435 Now its just a object with mounts_changed
3436 and mountpoints_changed signals.
3438 * gio/glocaldirectorymonitor.c:
3439 * gio/gunixvolumemonitor.c:
3440 Use new mount monitor api
3442 2007-10-09 Alexander Larsson <alexl@redhat.com>
3444 * gio/gunixmounts.[ch]:
3445 Move guess type into one call for mounts and one for mountpoints
3448 * gio/gunixvolume.c:
3451 2007-10-09 Alexander Larsson <alexl@redhat.com>
3453 * gio/gunixmounts.[ch]:
3454 Remove _ prefix in preparation to make this semi-public
3455 Hide implementation of structs
3457 * gio/glocaldirectorymonitor.c:
3459 * gio/gunixvolume.c:
3460 * gio/gunixvolumemonitor.c:
3461 Update for above API changes
3463 2007-10-08 Alexander Larsson <alexl@redhat.com>
3466 Better polling fallback. This also handles the case where we have
3467 a monitor_file implementation, but it fails.
3469 2007-10-08 Alexander Larsson <alexl@redhat.com>
3473 * gio/gunixmounts.c:
3474 * programs/gio-monitor-dir.c:
3475 * programs/gio-monitor-file.c:
3476 Added cancellable to file monitoring calls.
3477 These are really sync calls and need this.
3479 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3481 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3482 (g_local_vfs_class_init):
3483 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3484 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3486 2007-10-05 Alexander Larsson <alexl@redhat.com>
3488 * gio/gdirectorymonitorprivate.h:
3489 * gio/gfilemonitorprivate.h:
3490 * gio/gdirectorymonitor.h:
3491 * gio/gfilemonitor.h:
3492 Remove *private.h and move to the public API, so that
3493 we can do implementations outside gio (such as in gvfs)
3495 * gio/gdirectorymonitor.c:
3496 * gio/gfilemonitor.c:
3497 * gio/glocaldirectorymonitor.c:
3498 * gio/gpollfilemonitor.c:
3499 * gio/inotify/inotify-helper.c:
3500 * gio/fam/fam-helper.c:
3501 Update to the new header names
3503 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3505 * gio/gdirectorymonitor.c:
3506 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3509 2007-10-04 Alexander Larsson <alexl@redhat.com>
3511 * gio/glocalfileinfo.c (get_access_rights):
3512 Set CAN_TRASH when we can move the file.
3513 We should really also check for a parent trash dir.
3515 2007-10-04 Alexander Larsson <alexl@redhat.com>
3517 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3518 Add can_trash access attribute
3520 2007-10-04 Alexander Larsson <alexl@redhat.com>
3523 (g_local_file_trash):
3524 Create info file first. This is per-spec and allows
3525 us to actually trash directories.
3527 2007-10-02 Alexander Larsson <alexl@redhat.com>
3529 * gio/gdesktopappinfo.c:
3530 Implement the new mime support code.
3531 Always set app as handling mimetype when being set as default for it
3533 2007-10-01 Alexander Larsson <alexl@redhat.com>
3535 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3536 Fix up check for xattrs:
3538 2007-10-01 Alexander Larsson <alexl@redhat.com>
3541 (g_app_info_set_as_default_for_extension):
3542 (g_app_info_add_supports_type):
3543 (g_app_info_can_remove_supports_type):
3544 (g_app_info_remove_supports_type):
3545 Make these fail nicely if not implemented
3547 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3549 * gio/glocalfileoutputstream.c:
3550 * gio/glocalfileoutputstream.h:
3555 * programs/gio-save.c:
3556 Add a GFileCreateFlags argument to operations that can create
3559 2007-10-01 Alexander Larsson <alexl@redhat.com>
3561 * gio/gappinfo.[ch]:
3562 * gio/gdesktopappinfo.c:
3563 Add more (stubbed out) mime API needed for nautilus
3565 2007-10-01 Alexander Larsson <alexl@redhat.com>
3568 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3569 Add g_app_info_set_as_default_for_extension.
3571 * gio/gdesktopappinfo.c:
3572 Dummy for g_app_info_set_as_default_for_extension
3573 Support flags in g_app_info_create_from_commandline
3575 * gio/gwin32appinfo.c:
3577 Update for API changes
3579 * gio/gthemedicon.c:
3580 Properly NULL-terminate list of icon names
3582 2007-09-28 Alexander Larsson <alexl@redhat.com>
3584 * gio/gloadableicon.h:
3585 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3587 2007-09-28 Alexander Larsson <alexl@redhat.com>
3590 Install headers in $includedir/gio-standalone/
3592 * gio-2.0.pc.in: Added.
3593 * gio-standalone.pc.in: Removed.
3596 Renamed pkg-config file to match glib (for future move)
3597 Update to the new include dir
3600 Add more TODO comments
3602 2007-09-28 Alexander Larsson <alexl@redhat.com>
3604 * gio/gdesktopappinfo.[ch]:
3605 Expose new_from_filename
3606 Add getter for is_hidden and handle it better
3608 2007-09-28 Alexander Larsson <alexl@redhat.com>
3610 * gio/gfileinfo.[ch]:
3611 Rename g_file_size_format_for_display to
3612 g_format_file_size_for_display.
3613 Now it doesn't have the g_file prefix, so we
3614 can later move it to glib.
3616 2007-09-28 Alexander Larsson <alexl@redhat.com>
3618 * gio/gappinfo.[ch]:
3619 Add g_app_info_get_id and g_app_info_get_executable.
3620 Make all getters non-reffing
3621 Make g_app_info_launch take GFile arguments.
3622 Add must_support_uris argument to g_app_info_get_default_for_type.
3624 * gio/gwin32appinfo.c:
3625 Update to GAppInfo api changes
3627 * gio/gdesktopappinfo.c:
3628 Update to GAppInfo api changes
3629 Implement supports_xdg_startup_notify
3631 * gio/gfileicon.c (g_file_icon_get_file):
3632 Make getter non-reffing.
3637 2007-09-27 Alexander Larsson <alexl@redhat.com>
3639 * gio/gfileinfo.[ch]:
3640 Add g_file_size_format_for_display helper
3642 2007-09-27 Alexander Larsson <alexl@redhat.com>
3644 * gio/glocalfileinfo.c:
3645 Set UNIX_GID from gid, not from uid
3647 2007-09-27 Alexander Larsson <alexl@redhat.com>
3650 Add g_file_set_attributes_async
3652 2007-09-27 Alexander Larsson <alexl@redhat.com>
3654 * gio/glocalfile.c (g_local_file_set_display_name):
3655 Fix set_display_name to actually rename to the right place.
3656 Use lstat to look for existing files so we don't overwrite
3659 2007-09-26 Alexander Larsson <alexl@redhat.com>
3662 Add g_file_set_display_name_async()
3664 2007-09-26 Alexander Larsson <alexl@redhat.com>
3667 Add load_partial_contents async calls
3670 Make internal function static
3672 2007-09-26 Alexander Larsson <alexl@redhat.com>
3674 * gio/glocalfileinfo.c:
3675 Correctly detect broken symlinks
3677 2007-09-26 Alexander Larsson <alexl@redhat.com>
3679 * gio/gcancellable.c (g_cancellable_cancel):
3680 Allow cancel on NULL cancellable
3682 2007-09-25 Alexander Larsson <alexl@redhat.com>
3684 * gio/gsimpleasyncresult.c:
3685 Don't allocate g_error manually.
3686 Fixes g_slice/g_new mixup crash
3688 2007-09-25 Alexander Larsson <alexl@redhat.com>
3690 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3691 Actually set active_backend.
3692 This means the monitor will be cancelled correctly.
3694 2007-09-25 Alexander Larsson <alexl@redhat.com>
3696 * gio/gdirectorymonitor.c:
3697 Set timeout to NULL when destroying
3699 2007-09-25 Alexander Larsson <alexl@redhat.com>
3702 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3703 that is a better description of the error.
3705 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3707 * gio/gvfs.c: (g_vfs_get_local):
3708 Make the local vfs variable static. The same instance should
3711 2007-09-24 Alexander Larsson <alexl@redhat.com>
3713 * gio/glocalfileinfo.c:
3714 Pass in actual length read into sniffer, not the length
3717 2007-09-21 Alexander Larsson <alexl@redhat.com>
3719 * gio/gfileenumerator.c:
3722 * gio/gfileinputstream.c:
3723 * gio/gfileoutputstream.c:
3724 * gio/ginputstream.c:
3725 * gio/goutputstream.c:
3726 Don't crash if async callbacks are NULL
3728 2007-09-20 Alexander Larsson <alexl@redhat.com>
3731 Add async enumerate_children method and default
3734 2007-09-20 Alexander Larsson <alexl@redhat.com>
3737 Add g_file_contains_file & g_file_get_relative_path, since they
3738 were needed for nautilus.
3739 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3744 Implement new methods
3746 2007-09-17 Alexander Larsson <alexl@redhat.com>
3749 * gio/gfileinputstream.[ch]:
3750 * gio/gfileoutputstream.[ch]:
3752 * gio/glocalfileenumerator.[ch]:
3753 * gio/glocalfileinfo.[ch]:
3754 * gio/glocalfileinputstream.c:
3755 * gio/glocalfileoutputstream.c:
3756 * gio/gpollfilemonitor.c:
3757 * programs/gio-copy.c:
3758 * programs/gio-info.c:
3759 * programs/gio-move.c:
3760 Rename get_file_info to query_info() to make it clearer
3761 that these are not simple getters, but do i/o.
3763 2007-09-17 Alexander Larsson <alexl@redhat.com>
3765 * gio/gdatainputstream.[ch]:
3766 * gio/test-streams.c:
3767 Use _read_XXX instead of _get_XXX for the i/o calls
3770 2007-09-17 Alexander Larsson <alexl@redhat.com>
3773 Added needed stuff to TODO comment
3775 2007-09-17 Alexander Larsson <alexl@redhat.com>
3777 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3778 Don't error out removing the backup copy if it doesn't
3781 2007-09-14 Alexander Larsson <alexl@redhat.com>
3783 * programs/Makefile.am:
3784 * programs/gvfs-*.c:
3786 Renamed apps from gvfs-xxx to gio-xxx.
3788 2007-09-14 Alexander Larsson <alexl@redhat.com>
3791 * gio/gfileoutputstream.[ch]:
3792 * gio/glocalfileoutputstream.c:
3793 * programs/gvfs-save.c:
3794 g_file_output_stream_get_etag doesn't do i/o, so remove
3795 cancellation and error.
3797 2007-09-14 Alexander Larsson <alexl@redhat.com>
3800 Add new_etag output to replace_contents functions
3802 2007-09-14 Alexander Larsson <alexl@redhat.com>
3804 * gio/gfileoutputstream.[ch]:
3805 Add async get_file_info and default implementation
3807 2007-09-14 Alexander Larsson <alexl@redhat.com>
3809 * gio/gfileinputstream.c:
3810 Implement fallback wrapper for async get_file_info
3812 2007-09-14 Alexander Larsson <alexl@redhat.com>
3815 Add etag out argument to load_contents
3820 2007-09-14 Alexander Larsson <alexl@redhat.com>
3822 * gio/gcontenttype.c (looks_like_text):
3823 Whitespace like tab, cr and lf do not make the
3826 2007-09-14 Alexander Larsson <alexl@redhat.com>
3828 * gio/gfileinputstream.[ch]:
3829 Add async get_file_info.
3831 2007-09-13 Alexander Larsson <alexl@redhat.com>
3833 * gio/goutputstream.c (g_output_stream_write_all):
3834 Allow NULL for bytes_written
3836 2007-09-13 Alexander Larsson <alexl@redhat.com>
3838 * gio/gmemoryinputstream.[ch]:
3839 Add accessors for data
3841 2007-09-13 Alexander Larsson <alexl@redhat.com>
3843 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3844 Don't crash if length is NULL