1 2008-03-10 Matthias Clasen <mclasen@redhat.com>
3 * gio.symbols: Remove g_file_contains_file here, too.
5 2008-03-10 Matthias Clasen <mclasen@redhat.com>
7 * gthemedicon.c: Add properties to make bindings happy. (#517676,
10 2008-03-08 Tor Lillqvist <tml@novell.com>
12 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
15 2008-03-07 Alexander Larsson <alexl@redhat.com>
18 (g_local_file_query_filesystem_info):
19 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
20 Patch from Jasper Lievisse Adriaanse
22 2008-03-06 Tor Lillqvist <tml@novell.com>
24 * gfileinfo.h: Correct milliseconds to microseconds in the doc
25 comments for the *_USEC attributes.
27 2008-03-06 Alexander Larsson <alexl@redhat.com>
29 * gfile.c (g_file_query_exists):
30 Add g_return_val_if_fail check (#520700)
32 2008-03-06 Alexander Larsson <alexl@redhat.com>
37 * gunionvolumemonitor.c:
40 * tests/live-g-file.c:
41 * xdgmime/xdgmimecache.c:
42 Fix sparse warnings (#519489)
44 2008-03-05 Alexander Larsson <alexl@redhat.com>
47 Make cancellation threadsafe (i.e.
48 guarantee its only done once, and always
51 * glocaldirectorymonitor.c:
52 Make sure we the monitor lives while the
53 mounts_changed callback is being called (#520484)
55 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
57 * gbufferedinputstream.c: Fix typo in parameter
60 2008-03-04 Alexander Larsson <alexl@redhat.com>
63 Remove deprecated symbols we kept for one release.
65 2008-03-04 Murray Cumming <murrayc@murrayc.com>
68 * goutputstream.c: Tiny documentation corrections.
70 2008-03-03 Alexander Larsson <alexl@redhat.com>
72 * gunionvolumemonitor.c:
74 Fix the adopt_orphan_mount vfunc to take a
75 volume_monitor reference in an ABI compat way.
76 This change is not API compat, but the added
77 arg is not used in the only user of this vfunc, so
78 all we get is a harmless warning in gvfs (#520169)
80 2008-03-01 Benjamin Otte <otte@gnome.org>
83 clarify docs for g_file_delete().
85 2008-02-29 Alexander Larsson <alexl@redhat.com>
89 Make sure empty files get text/plain type (#518720)
91 2008-02-27 Alexander Larsson <alexl@redhat.com>
97 (g_unix_volume_mount):
98 Add missing GMountMountFlags argument
100 2008-02-26 Alexander Larsson <alexl@redhat.com>
103 (g_local_file_delete):
104 Handle filesystems (like ntfs-3g) that return EEXIST instead
105 of ENOTEMPTY (#518816)
107 2008-02-25 Matthias Clasen <mclasen@redhat.com>
109 * === Released 2.15.6 ===
111 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
113 * gfile.c (g_file_find_enclosing_mount):
114 * ginputstream.c (g_input_stream_set_pending):
115 * glocalfile.c (g_local_file_find_enclosing_mount):
116 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
117 * goutputstream.c (g_output_stream_set_pending):
119 Fixup translator comments (#518578).
121 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
123 * gfile.c (g_file_find_enclosing_mount):
125 * glocalfile.c (g_local_file_find_enclosing_mount):
128 Fix a few typos in translator comments and documentation.
130 2008-02-25 Alexander Larsson <alexl@redhat.com>
137 Add translator comments (#518578)
139 2008-02-25 Alexander Larsson <alexl@redhat.com>
142 Reintroduce g_file_contains_file, keep around for one
143 unstable release cycle to avoid crashing to many apps.
144 Make sure to delete after release.
146 2008-02-25 Alexander Larsson <alexl@redhat.com>
149 Remove deprecated g_file_contains_file.
151 2008-02-25 Alexander Larsson <alexl@redhat.com>
154 Emit actual change signals in an idle handler.
155 This avoids reentrance and locking problems in
156 the file notification backends.
158 2008-02-25 Alexander Larsson <alexl@redhat.com>
161 (g_unix_mount_guess_should_display):
162 Remove type guessing, instead just display
163 mounts in /media and in ~/.
165 2008-02-25 Alexander Larsson <alexl@redhat.com>
168 Make new strings reuse old ones.
170 2008-02-25 Alexander Larsson <alexl@redhat.com>
173 Implement trashing and filesystem::readonly for win32 (#517235)
174 Patch from Yevgen Muntyan
176 2008-02-23 Matthias Clasen <mclasen@redhat.com>
178 * gfileinfo.h: Documentation fixes.
180 2008-02-22 Alexander Larsson <alexl@redhat.com>
182 * gcontenttype.c (g_content_type_get_icon):
183 Look at old-style gnome mime icon names too, as many
184 have not moved to the new style.
186 2008-02-21 Matthias Clasen <mclasen@redhat.com>
188 * *.c: Correct the @include in for section docs.
190 2008-02-21 David Zeuthen <davidz@redhat.com>
192 * glocalfileinfo.c: (_g_local_file_info_get):
194 (g_content_type_get_icon): Implement this function by
195 moving bits from glocalfileinfo.c
196 (g_content_type_get_description): Unalias before getting
197 description (#517687)
199 * gfile.c: (g_file_class_init),
200 (g_file_query_filesystem_info_async),
201 (g_file_query_filesystem_info_finish),
202 (query_filesystem_info_data_free),
203 (query_filesystem_info_async_thread),
204 (g_file_real_query_filesystem_info_async),
205 (g_file_real_query_filesystem_info_finish):
206 * gfile.h: Implement async version of
207 g_file_query_filesystem_info()
209 * gfileinfo.h: Add new attributes for filesystem::use-preview
211 * gio.symbols: Update
213 * gthemedicon.c: (g_themed_icon_append_name):
214 * gthemedicon.h: Add new new convenience function.
216 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
217 (get_mounts), (get_volumes), (get_connected_drives),
218 (get_volume_for_uuid), (get_mount_for_uuid),
219 (g_union_volume_monitor_init), (populate_union_monitor),
220 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
221 (g_volume_monitor_adopt_orphan_mount):
223 * gvolumemonitor.h: Use recursive locks so it's safe for volume
224 monitor implementations to call into the main volume monitor. Also
225 separate object initialization and volume monitor initialization
226 such that non-native volume monitors can properly adopt their
229 2008-02-21 Alexander Larsson <alexl@redhat.com>
234 2008-02-21 Alexander Larsson <alexl@redhat.com>
237 Add more documentation about how GFiles work (from #517086)
239 2008-02-21 Alexander Larsson <alexl@redhat.com>
243 Add new g_file_has_prefix that does the same as g_file_contains_file.
244 Deprecate g_file_contains_file and add a macro that converts
245 it to g_file_has_prefix.
246 The reason for this change is that the contains_file() name seems to
247 imply that this does more work than what it does, but its really only
248 a name match (from #517086)
253 Update to match the above change.
255 2008-02-20 Benjamin Otte <otte@gnome.org>
257 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
258 (g_file_eject_mountable):
259 even more cases of not returning in error path
261 2008-02-20 Benjamin Otte <otte@gnome.org>
263 * gfile.c: (g_file_mount_mountable):
264 return from function in error path.
266 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
269 Remove trailing coma in GMountMountFlags struct
271 2008-02-18 Alexander Larsson <alexl@redhat.com>
275 * glocalfileoutputstream.c:
276 Use g_unlink/g_rename instead of unlink/rename;
277 do not pass raw filenames to g_set_error. (#517239)
278 Patch from Yevgen Muntyan.
280 2008-02-18 Alexander Larsson <alexl@redhat.com>
283 * glocalfileoutputstream.c:
284 Open files with O_BINARY on windows. (#517140)
286 2008-02-14 Alexander Larsson <alexl@redhat.com>
288 * glocalfileoutputstream.c:
289 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
291 2008-02-14 Alexander Larsson <alexl@redhat.com>
294 Copy permissions with file on copy (#514084)
295 This is what cp does and makes sure e.g. the
296 exec permissions are kept.
297 Its kinda weird in that it keeps the permission bits
298 the same while the uid and gid are different. However
299 the new uid is the user so its not a security issue,
300 and I've heard no complaints about cp on this issue.
302 2008-02-13 Ryan Lortie <desrt@desrt.ca>
304 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
306 2008-02-13 Alexander Larsson <alexl@redhat.com>
308 * inotify/inotify-path.c:
309 Define IN_ONLYDIR if not in header (#515346)
311 2008-02-12 Alexander Larsson <alexl@redhat.com>
313 * tests/live-g-file.c:
316 2008-02-11 Matthias Clasen <mclasen@redhat.com>
318 * === Released 2.15.5 ===
320 2008-02-11 Matthias Clasen <mclasen@redhat.com>
322 * gio.symbols: Add g_mount_mount_flags_get_type.
324 2008-02-11 Alexander Larsson <alexl@redhat.com>
327 (g_file_info_set_attribute_mask):
328 (g_file_attribute_matcher_matches_id):
329 Correctly handle NULL GAttributeMatcher meaning
330 matches nothing. (Fixes #513492)
332 2008-02-11 Alexander Larsson <alexl@redhat.com>
337 Added GMountMountFlags enum and added a flags
338 argument to all mount calls.
340 This is an API/ABI change for future extensibility,
341 as I think we will need at least an
342 inhibit-autorun flag (the panel needs this).
343 There are no flags defined yet though.
345 2008-02-11 Alexander Larsson <alexl@redhat.com>
348 Added new standard::description attribute.
349 Requested by Vincent, and useful for both
352 2008-02-11 Alexander Larsson <alexl@redhat.com>
357 2008-02-11 Matthias Clasen <mclasen@redhat.com>
359 * *.c: Documentation additions
361 2008-02-10 Matthias Clasen <mclasen@redhat.com>
363 * gappinfo.h: Formatting cleanup
364 * gappinfo.c: Fix up docs.
366 2008-02-09 Matthias Clasen <mclasen@redhat.com>
368 * gunixmounts.c: Consistently use getmntent_r() and fall
369 back to getmntent(). (#515492)
371 2008-02-09 Matthias Clasen <mclasen@redhat.com>
373 * gbufferedinputstream.c:
375 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
377 * tests/data-input-stream.c:
378 * tests/data-output-stream.c: Portability fixes.
380 2008-02-08 Alexander Larsson <alexl@redhat.com>
385 Add g_volume_should_automount.
388 2008-02-07 Tor Lillqvist <tml@novell.com>
390 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
391 Win32, too Unix-specific.
393 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
395 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
396 a local plt if the compiler doesn't support what we want. Bug #514702
398 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
400 reviewed by: <delete if not using a buddy>
403 * gunixinputstream.c:
404 * gunixoutputstream.c:
406 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
409 * tests/live-g-file.c:
410 * tests/live-g-file.txt:
411 New GIO testing module working over real data
413 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
415 * glocalfileoutputstream.c (g_local_file_output_stream_close):
416 Fallback to rename() if link() is not available
417 (when no support on target filesystem)
419 2008-02-06 Michael Natterer <mitch@imendio.com>
421 * gfileinfo.c (g_file_info_get_icon): replace
422 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
424 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
426 * gfile.c (g_file_create):
427 Documentation update of error codes
429 2008-02-06 Alexander Larsson <alexl@redhat.com>
432 Update to use both mimeapps.list and
433 defaults.list as discussed on xdg list.
435 2008-02-06 Benjamin Otte <otte@gnome.org>
438 * gfilenamecompleter.c:
439 Fix some typos in the documentation.
441 2008-02-06 Alexander Larsson <alexl@redhat.com>
443 * glocalfile.c (g_local_file_trash):
444 Don't succeed with trash if newly created
445 trash dir has the wrong owner. (#514696)
447 2008-02-05 Alexander Larsson <alexl@redhat.com>
449 * glocalfile.c (g_local_file_move):
450 Don't spew warnings when destination is not
453 2008-02-03 Hans Breuer <hans@breuer.org>
455 * makefile.msc : update
457 2008-02-01 Michael Natterer <mitch@imendio.com>
459 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
460 return value of xdg_mime_list_mime_parents() to a variable of the
463 2008-02-01 Alexander Larsson <alexl@redhat.com>
465 * gappinfo.c (g_app_info_launch_uris):
466 Actually call the launch_uris method, not
469 2008-02-01 Alexander Larsson <alexl@redhat.com>
471 * gdesktopappinfo.c (g_desktop_app_info_equal):
472 Ensure appinfos with no id but same pointer value
475 2008-02-01 Alexander Larsson <alexl@redhat.com>
477 * gappinfo.c (g_app_info_launch_default_for_uri):
480 2008-02-01 Alexander Larsson <alexl@redhat.com>
484 Add g_app_info_launch_default_for_uri utility
487 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
490 Doc fix for g_app_info_get_default_for_uri_scheme ()
493 2008-01-30 Alexander Larsson <alexl@redhat.com>
496 Add doc comment about uris vs GFiles to
500 Ensure uris passed to g_app_info_launch_uris()
501 are not roundtriped through GFile (as that
502 may be slightly destructive for e.g. mailto: links)
504 2008-01-30 Alexander Larsson <alexl@redhat.com>
506 * tests/data-input-stream.c:
507 * tests/data-output-stream.c:
508 C89 fixes from Jens Granseuer (#512849)
510 2008-01-30 Alexander Larsson <alexl@redhat.com>
513 Fix gamin/fam difference build issue. (#509419)
515 2008-01-29 Alexander Larsson <alexl@redhat.com>
519 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
521 2008-01-29 Alexander Larsson <alexl@redhat.com>
525 giomodule-priv.h include moved to .c file.
527 2008-01-29 Alexander Larsson <alexl@redhat.com>
529 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
530 Remove unused prio/name fields.
532 2008-01-29 Alexander Larsson <alexl@redhat.com>
534 * gcontenttype.c (looks_like_text):
535 Don't treat whitespace as control chars.
537 2008-01-29 Alexander Larsson <alexl@redhat.com>
540 Lazily create the desktop files for appinfos created
541 by g_app_info_create_from_commandline() when needed
542 for mime associations. This allows run-time use
543 of GAppInfo object without creating unnecessary
546 2008-01-29 Alexander Larsson <alexl@redhat.com>
549 Added new symbols to gio.symbols
551 2008-01-29 Alexander Larsson <alexl@redhat.com>
554 Add g_file_query_default_handler utility to easily look up
555 the GAppInfo that handles a file.
557 * gdesktopappinfo.[ch]:
559 Set up an extension point for g_app_info_get_default_for_uri_scheme()
562 Remove unused function
564 2008-01-29 Alexander Larsson <alexl@redhat.com>
567 Mention need to free returned value in
568 g_file_enumerator_next_files_finish docs.
569 Fix leak if g_file_enumerator_next_files_finish()
572 2008-01-29 Alexander Larsson <alexl@redhat.com>
575 (_g_unix_content_type_get_parents):
576 Use list_parents, not get_parents from xdgmime, because
577 the later doesn't use the cache.
579 * xdgmime/xdgmimecache.c:
580 (_xdg_mime_cache_list_mime_parents):
581 Don't list the same type as parent multiple times.
583 2008-01-28 Matthias Clasen <mclasen@redhat.com>
585 * === Released 2.15.4 ===
587 2008-01-28 Alexander Larsson <alexl@redhat.com>
590 Register local vfs with prio 0.
593 Remove old name and prio class members
595 2008-01-28 Matthias Clasen <mclasen@redhat.com>
597 * tests/g-file.c: Disable some tests that are failing in
598 the absence of a http backend.
600 2008-01-28 Alexander Larsson <alexl@redhat.com>
604 Add registration hooks for extension points.
605 Register the gio extension points.
607 * fam/gfamdirectorymonitor.c:
608 * fam/gfamfilemonitor.c:
609 * glocaldirectorymonitor.[ch]:
610 * glocalfilemonitor.[ch]:
611 * gnativevolumemonitor.h:
612 * gunionvolumemonitor.c:
613 * gunixvolumemonitor.c:
616 * inotify/ginotifydirectorymonitor.c:
617 * inotify/ginotifyfilemonitor.c:
618 Use the extension points registration instead
619 of g_type_children().
621 2008-01-28 Matthias Clasen <mclasen@redhat.com>
624 * gvolume.[hc]: Document new API.
626 * gfile.c (g_file_copy_async): Fix docs
628 2008-01-27 Matthias Clasen <mclasen@redhat.com>
630 * gbufferedinputstream.c:
632 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
635 2008-01-27 Matthias Clasen <mclasen@redhat.com>
637 * glocalfile.c: Avoid trivial differences in translatable strings.
639 2008-01-25 Matthias Clasen <mclasen@redhat.com>
641 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
642 build with gcc 3.4 (#509419)
644 2008-01-25 Matthias Clasen <mclasen@redhat.com>
646 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
647 (#509994, Murray Cumming)
649 2008-01-25 Matthias Clasen <mclasen@redhat.com>
651 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
652 * gioscheduler.c: Keep calling io jobs until they return FALSE;
653 this allows big jobs to be executed in chunks, instead of blocking
654 the main loop for a long time.
656 * gsimpleasyncresult.c:
657 * giofile.c: Adapt callers.
659 2008-01-25 Alexander Larsson <alexl@redhat.com>
662 Implement changes discussed on xdg list.
663 Now we can add supported mimetypes by just using defaults.list
664 We can also remove associations in defaults.list.
666 2008-01-25 Alexander Larsson <alexl@redhat.com>
669 Don't make local copy of desktop file
670 for mimetype changes if the file already
671 supports the new mimetype.
673 2008-01-25 Matthias Clasen <mclasen@redhat.com>
677 * gbufferedinputstream.c:
678 * glocalfile.c: String improvements. (#511966,
679 Theppitak Karoonboonyanan)
681 2008-01-24 Matthias Clasen <mclasen@redhat.com>
683 * gioscheduler.h: Expand docs a bit.
685 2008-01-24 Alexander Larsson <alexl@redhat.com>
688 Add g_drive_get_identifier and
689 g_drive_enumerate_identifiers
692 Add g_volume_get_identifier and
693 g_volume_enumerate_identifiers
699 Implement identifiers for unix backend
701 2008-01-24 Alexander Larsson <alexl@redhat.com>
706 Add g_file_copy_async() (#511580)
707 Based on patch from Carlos Garcia Campos
709 2008-01-23 Matthias Clasen <mclasen@redhat.com>
711 * gioscheduler.c: Some documentation additions.
713 2008-01-22 Alexander Larsson <alexl@redhat.com>
716 (g_desktop_app_info_new):
719 2008-01-22 Alexander Larsson <alexl@redhat.com>
722 (g_desktop_app_info_new_from_filename):
725 2008-01-22 Alexander Larsson <alexl@redhat.com>
727 * glocalfileinfo.c (get_thumbnail_attributes):
730 2008-01-22 Alexander Larsson <alexl@redhat.com>
733 (canonicalize_filename):
734 Canonicalize paths that start with more than
739 (test_g_file_new_for_path):
742 2008-01-22 Alexander Larsson <alexl@redhat.com>
745 Allow UTF-8 in file:// parse names.
748 * tests/data-input-stream.c:
749 * tests/data-output-stream.c:
750 * tests/g-file-info.c:
752 Added a bunch of tests from Tomas Bzatek
754 2008-01-21 Matthias Clasen <mclasen@redhat.com>
756 * === Released 2.15.3 ===
758 2008-01-21 Alexander Larsson <alexl@redhat.com>
760 * gfileinputstream.[ch]:
761 * gfileoutputstream.[ch]:
763 Remove duplicated GSeekable functions. (#509990)
764 Just use the g_seekable_xxx() calls instead.
766 2008-01-21 Matthias Clasen <mclasen@redhat.com>
769 * gvolumemanager.c: Whitespace cleanups.
771 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
772 Use the right mode when creating the file.
774 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
777 * gfileinputstream.c:
779 * goutputstream.c: Documentation: Fixed minor typos
780 and added more mentions of specific _finish() functions.
782 2008-01-21 Alexander Larsson <alexl@redhat.com>
784 * inotify/Makefile.am:
785 * inotify/inotify-helper.c:
786 * inotify/inotify-kernel.c:
787 * inotify/inotify-path.c:
788 * inotify/local_inotify.h: Removed.
789 * inotify/local_inotify_syscalls.h: Removed.
790 Removed the included copies of the inotify
791 headers. We now only use the <sys/inotify.h>
792 header which exists on modern systems.
793 This fixes problems on ARM and SH5 (#510448)
794 but is also generally much cleaner and future
795 safe. For instance, if other OSes add support
796 for inotify it should "just work".
798 2008-01-20 Matthias Clasen <mclasen@redhat.com>
800 * inotify/*.c: Coding style fixes.
801 * inotify/inotify-missing.c: Use g_timeout_add_seconds
802 for the 1/4 Hz timer.
804 2008-01-20 Matthias Clasen <mclasen@redhat.com>
808 * gmemoryinputstream.c:
809 * gmemoryoutputstream.c:
811 * gthemedicon.c: Documentation updates
813 2008-01-20 Murray Cumming <murrayc@murrayc.com>
815 * gfile.c: documentation: Fixed more minor
818 2008-01-18 Murray Cumming <murrayc@murrayc.com>
820 * gmount.c: (g_mount_remount): documentation:
821 Mention g_mount_remount_finish() instead of
822 g_mount_unmount_finish().
824 2008-01-18 Murray Cumming <murrayc@murrayc.com>
828 * gfile.c: Fixed some minor typos in the
831 2008-01-18 Murray Cumming <murrayc@murrayc.com>
833 * gio/gvolumemonitor.c:
834 (g_volume_monitor_get_connected_drives):
835 (g_volume_monitor_get_volumes):
836 (g_volume_monitor_get_mounts): Documentation:
837 Clarify the ownership of the regurn GLists.
839 2008-01-17 Alexander Larsson <alexl@redhat.com>
842 Add the async find_enclosing_mount version
843 to the header file too.
845 2008-01-17 Alexander Larsson <alexl@redhat.com>
848 Add async version of find_enclosing_mount
849 with default implementation.
851 2008-01-17 Alexander Larsson <alexl@redhat.com>
856 Allow calls to implementation of copy and write
857 even if the type of the file implementations is
858 different. This can be used to implement native
859 upload and download calls in a vfs.
863 Protect against the case where move is called
864 with one file not being local.
866 Make sure we call the progress callback once
867 in the native move operation so that the caller
868 knows how many bytes were copied.
870 2008-01-16 Murray Cumming <murrayc@murrayc.com>
873 * gdatainputstream.c:
875 * gfileoutputstream.c:
880 * gunixmounts.c: Corrected some typos in the documentation:
882 its -> it's (where appropriate).
884 2008-01-16 Alexander Larsson <alexl@redhat.com>
888 Add g_file_query_exists (#508771)
890 2008-01-15 Murray Cumming <murrayc@murrayc.com>
895 * gvolume.c: For async functions that have no non-async
896 version, document that the GAsyncReadyCallback may be NULL.
899 2008-01-15 Alexander Larsson <alexl@redhat.com>
901 * gmemoryinputstream.c:
902 * gmemoryoutputstream.c:
903 Don't do pointer arithmetic on void * (#508602)
904 Patch from Kazuki IWAMOTO
906 2008-01-14 Matthias Clasen <mclasen@redhat.com>
908 * === Released 2.15.2 ===
910 2008-01-14 Alexander Larsson <alexl@redhat.com>
912 * gfile.c (g_file_monitor_file):
913 Don't set error here, since we fallback to polling monitor.
915 2008-01-14 Alexander Larsson <alexl@redhat.com>
918 (g_file_monitor_directory):
919 (g_file_monitor_file):
920 Add GError to file monitor calls
922 * glocaldirectorymonitor.c:
923 * glocaldirectorymonitor.h:
925 * glocalfilemonitor.c:
926 * glocalfilemonitor.h:
928 Update for above change
930 2008-01-14 Alexander Larsson <alexl@redhat.com>
934 Handle root correctly in g_file_get_relative_path (#508719)
936 2008-01-14 Alexander Larsson <alexl@redhat.com>
939 Clean up docs and example for GAsyncResult (#508074)
941 2008-01-11 Murray Cumming <murrayc@murrayc.com>
943 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
944 and correct some spelling mistakes. Bug #508108.
946 2008-01-11 Matthias Clasen <mclasen@redhat.com>
948 * glocalfileinfo.c: Add a comment.
950 2008-01-10 Murray Cumming <murrayc@murrayc.com>
952 * gfileinfo.c: GFileInfo description: Mention
953 how to actually set attributes in a GFile and how to discover
954 which attributes are settable. Bug #508378.
956 2008-01-10 A. Walton <awalton@svn.gnome.org>
958 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
959 (g_app_info_get_default_for_type):
960 Check for NULL content types.
962 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
964 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
966 2008-01-09 Murray Cumming <murrayc@murrayc.com>
968 * gfile.c: *_async() functions: Several small corrections
969 to the documentation, mostly correcting copy/paste errors
970 and improving some sentences.
972 2008-01-09 Dan Winship <danw@gnome.org>
974 * glocalfile.c (get_unique_filename): x86_64 fix
976 2008-01-09 Alexander Larsson <alexl@redhat.com>
981 Add g_unix_mount_guess_should_display and use
982 for unix volume monitor backend.
983 This means we more or less show what the
984 gnome-vfs backend did.
985 Based on patch from Padraig O'Briain
987 2008-01-09 Alexander Larsson <alexl@redhat.com>
991 Add g_themed_icon_new_with_default_fallbacks
994 Use default fallbacks for icons
996 2008-01-09 Alexander Larsson <alexl@redhat.com>
999 * gmountoperation.[ch]:
1000 Change the API a bit so that unhandled methods
1001 get reported via the reply, rather than by
1002 the signal emission return value. This is because
1003 some handlers can't know this immediately without
1004 doing I/O, and this is an async operation that
1007 2008-01-09 Alexander Larsson <alexl@redhat.com>
1010 * fam/gfamdirectorymonitor.c:
1011 * fam/gfamfilemonitor.c:
1012 Fix double free crash (#508224)
1013 Patch from Joe Marcus Clarke
1015 008-01-07 Matthias Clasen <mclasen@redhat.com>
1017 * === Released 2.15.1 ===
1019 2008-01-07 Alexander Larsson <alexl@redhat.com>
1021 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1022 Fix warning (#507835)
1024 2008-01-07 Alexander Larsson <alexl@redhat.com>
1027 Pass --internal to glib-genmarshal
1030 * gmountoperation.c:
1032 Use better types for signal arguments (#507822)
1034 2008-01-07 Alexander Larsson <alexl@redhat.com>
1037 Build test subdir after .
1038 Remove gdirectorymonitor.[ch]
1040 * gdirectorymonitor.[ch]:
1044 Remove GDirectoryMonitor and make
1045 GFileMonitor the baseclass for both file and
1046 directory monitors. Lift the more generic
1047 rate limiting code from GDirectoryMonitor
1051 * fam/gfamdirectorymonitor.[ch]:
1052 * inotify/ginotifydirectorymonitor.[ch]:
1053 * inotify/inotify-helper.c:
1054 * glocaldirectorymonitor.[ch]:
1057 Update for the removed GDirectoryMonitor.
1059 * gmemoryoutputstream.c:
1060 Remove ununsed variable
1062 2008-01-07 Alexander Larsson <alexl@redhat.com>
1064 * gmemoryinputstream.c:
1065 Translate error strings
1068 * gmemoryoutputstream.[ch]:
1069 New implementation that avoids using GByteArray
1070 in implementation and API. (#506377)
1072 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1074 * tests/*: Add a test for memory input streams.
1076 * Makefile.am: Add tests to SUBDIRS.
1078 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1080 * glocalfilemonitor.c:
1081 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1084 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1086 * gdesktopappinfo.c: Fix a docs typo.
1088 * gfileattribute.c: Add information about extended attributes
1089 to the documentation. (#505058)
1091 2008-01-04 Alexander Larsson <alexl@redhat.com>
1094 * gmountoperation.c:
1095 Use the right type (uint) for the ask_password signal.
1097 2008-01-04 Alexander Larsson <alexl@redhat.com>
1102 Add g_app_info_supports_files()
1103 Remove desktop arg from g_app_info_should_show().
1105 * gdesktopappinfo.[ch]:
1106 Implement g_app_info_supports_files() and new should_show()
1107 Add g_desktop_app_info_set_desktop_env() to set the desktop
1108 for should_show(). (This will be set by gtk+ later)
1110 2008-01-04 Alexander Larsson <alexl@redhat.com>
1113 * gmemoryinputstream.[ch]:
1114 Improve API so that you can use multiple chunks
1115 of memory and custom destroy functions. (#506374)
1117 2008-01-03 Alexander Larsson <alexl@redhat.com>
1120 Handle NULL attribute matchers safely, as we return this
1121 for empty attribute matcher strings.
1123 2008-01-03 Alexander Larsson <alexl@redhat.com>
1125 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1126 Add /usr/local to list of internal mountpoints
1128 2008-01-03 Alexander Larsson <alexl@redhat.com>
1131 Check for HAVE_LCHOWN (#505887)
1133 2008-01-03 Alexander Larsson <alexl@redhat.com>
1137 Add define for selinux context attribute.
1138 Fix missing : -> :: namespace separator change
1139 Fix missing _ -> - name change for xattr-sys.
1142 2008-01-03 Alexander Larsson <alexl@redhat.com>
1145 Link to libglib and libgobject directly (#504879)
1146 Patch from Sebastien Bacher
1148 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1150 * gfile.c: Expanded the g_file_new_for_commandline_arg
1151 description a bit, based on the code and the docs of the
1152 other g_file_new_for_* functions.
1154 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1156 * gfilemonitor.h: Fixed typo in docs.
1158 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1160 Updates to GIO documentation. (#506395, Mikael Hermansson)
1162 * gcontenttype.c: Describe memory management for return value of
1163 g_content_types_get_registered(). Missing piece from #505815.
1164 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1165 GVolume, GDrive, GMounts, which hopefully gives the user less
1166 confusions when using this API. Following explainations from
1167 Alexander Larsson on gtk-devel-list.
1169 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1171 * gfileinfo.c: Expand the long description.
1173 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1176 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1177 fix builds with --disable-visibility. (#500273, Christian Persch)
1179 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1181 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1182 in the list of returned app infos.
1184 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1186 * gappinfo.c: Fix a cross-reference
1188 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1190 * gfileinputstream.c:
1191 * gfileoutputstream.c:
1195 * gdesktopappinfo.c:
1197 * gfileinfo.c: Documentation updates.
1199 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1201 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1204 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1206 * gcontenttype.c (g_content_types_get_registered): Don't return
1207 freed memory (#505815, Mikael Hermansson)
1209 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1211 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1212 used to detect statbuf->st_blocks. (#505042)
1214 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1216 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1217 environment handling. (#504829, Cosimo Cecchi)
1219 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1221 * gappinfo.c: Doc improvements
1223 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1226 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1228 * === Released 2.15.0 ===
1230 2007-12-20 Hans Breuer <hans@breuer.org>
1232 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1233 with symbols gwin32appinfo.obj, added gmount.obj
1234 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1236 2007-12-20 Alexander Larsson <alexl@redhat.com>
1242 * gfilenamecompleter.c:
1245 * gpollfilemonitor.c:
1246 File attribute renames:
1248 fs:: -> filesystem::
1249 id::fs -> id::filesystem
1251 2007-12-20 Alexander Larsson <alexl@redhat.com>
1260 Add GMountUnmountFlags to all unmount and
1262 Add g_mount_remount() call.
1264 2007-12-20 Alexander Larsson <alexl@redhat.com>
1266 * gvfs.c (get_default_vfs):
1267 Fix unused variable warning
1269 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1271 * pltcheck.sh: Update
1273 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1275 * gunionvolumemonitor.c:
1276 * gunixmount.c: Remove C99 comments
1278 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1280 * gio.symbols: Add some missing symbols
1282 2007-12-19 Alexander Larsson <alexl@redhat.com>
1285 Make g_io_modules_load_all_in_directory not unuse
1286 loaded modules so that users of it can do stuff
1288 Init internal "module" types.
1289 Initialize static prio and name for types so that
1290 we don't have to load modules to get it.
1292 * gnativevolumemonitor.h:
1294 Move is_supported to parent class so that
1295 non-native monitors can avoid being initialized
1296 too. (For instance GDaemonVolumeMonitor if we're
1297 not using GDaemonVfs.)
1299 * glocaldirectorymonitor.[ch]:
1300 * glocalfilemonitor.[ch]:
1301 * gunionvolumemonitor.c:
1302 * gunixvolumemonitor.c:
1304 Find plugins using the static prio+name to
1305 avoid unnecessarily loading the modules.
1307 2007-12-19 Alexander Larsson <alexl@redhat.com>
1312 2007-12-19 Alexander Larsson <alexl@redhat.com>
1314 * gunionvolumemonitor.c:
1315 Store the native type as GType, not class so that
1316 we can unload it. But still avoid unnecessarily
1319 2007-12-19 David Zeuthen <davidz@redhat.com>
1321 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1322 add signals 'disconnected' and 'eject-button' on GDrive. Add
1323 signal 'removed' on GVolume and 'unmounted' on GMount.
1325 * gdrive.c: (g_drive_base_init):
1327 * gfile.c: (g_file_mount_mountable),
1328 (g_file_mount_enclosing_volume):
1331 * gmount.c: (g_mount_base_init):
1333 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1334 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1335 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1339 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1341 * *.c: Fix up includes in the section docs.
1343 2007-12-17 Alexander Larsson <alexl@redhat.com>
1345 * gnativevolumemonitor.h:
1346 * gunionvolumemonitor.c:
1347 * gunixvolumemonitor.c:
1348 Add is_supported() to GNativeVolumeMonitorClass so
1349 that we can avoid having to create an object to see
1350 if the backend is supported at runtime.
1351 Also add name member and an env var to pick a specific
1352 volume monitor backend.
1356 Add cancellable to _g_mount_get_for_mount_path()
1358 * glocaldirectorymonitor.c:
1359 * glocalfilemonitor.c:
1360 Avoid loading and unloading modules while sorting.
1362 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1365 * gunixmounts.[hc]: Namespace waste reduction, move some
1366 g_get_unix_mount functions to the g_unix_mount namespace.
1369 * gunixvolumemonitor.c:
1371 * glocaldirectorymonitor.c: Update all callers.
1373 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1375 2007-12-17 Alexander Larsson <alexl@redhat.com>
1378 Add doc comments about what GFile operations are
1379 guaranteed to not block.
1381 2007-12-17 Alexander Larsson <alexl@redhat.com>
1384 Add missing #ifdef fixing OSX build.
1385 (#503334, patch from Richard Hult)
1387 2007-12-14 David Zeuthen <davidz@redhat.com>
1391 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1392 (g_mount_eject), (g_mount_eject_finish):
1394 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1395 (get_volume_for_uuid), (get_mount_for_uuid),
1396 (g_union_volume_monitor_class_init),
1397 (get_default_native_type_with_exclude), (get_default_native_type),
1398 (get_native_type), (update_native_type),
1399 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1400 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1401 (g_unix_mount_can_eject), (eject_unmount_cb),
1402 (eject_unmount_read_error), (eject_unmount_do),
1403 (g_unix_mount_unmount), (g_unix_mount_eject),
1404 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1405 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1406 (g_unix_mount_point_guess_can_eject):
1408 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1409 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1410 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1411 (g_unix_volume_mount), (g_unix_volume_eject),
1412 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1413 * gunixvolumemonitor.c: (get_volume_for_uuid),
1414 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1416 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1417 (g_volume_eject), (g_volume_eject_finish):
1419 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1420 (g_volume_monitor_get_mount_for_uuid):
1423 Provide eject() on both GMount and GVolume and utility functions
1424 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1425 ejected. Introduce the concept of UUID's and wire it into GVolume
1426 and GMount and provide API on GVolumeMonitor to find such
1427 instances. Also handle the case where an external
1428 GNativeVolumeMonitor fails to initialize. Lock around the
1429 _g_get_mount_for_mount_path() function such that volume monitor
1430 implementations won't have to do locking themselves.
1432 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1434 * gdesktopappinfo.c:
1440 * gvolume.h: Documentation updates
1442 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1445 * gfile.h: Doc updates
1447 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1450 * gdesktopappinfo.c: Use hash table iterators.
1452 2007-12-14 Alexander Larsson <alexl@redhat.com>
1455 * gfileattribute.[ch]:
1456 * gfileattribute-priv.h:
1457 Move GFileAttributeValue to a private header, as
1461 Make set_attribute take a type + a pointer instead
1462 of a GFileAttributeValue.
1465 Fix up for above changes.
1466 Add g_file_info_get_attribute_data to get
1467 all info in one call, g_file_info_get_attribute_status
1468 to get the status and g_file_info_get_attribute_as_string.
1472 * glocalfileinfo.[ch]:
1476 Make _guess_type static.
1478 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1481 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1482 made mkenums and friends use temporary files to avoid leaving
1483 empty generated files on failure (#503470).
1485 2007-12-14 Alexander Larsson <alexl@redhat.com>
1487 * gmountoperation.h:
1490 2007-12-14 Alexander Larsson <alexl@redhat.com>
1494 * gfileattribute.[ch]:
1497 * glocalfileoutputstream.c:
1498 * gmountoperation.[ch]:
1499 * goutputstream.[ch]:
1500 Clean up all flags enums to not have _FLAGS in them
1501 Make the names of some of the enums better.
1506 2007-12-14 Michael Natterer <mitch@imendio.com>
1508 * gio.symbols: fix g_io_scheduler symbol names.
1510 2007-12-14 Alexander Larsson <alexl@redhat.com>
1516 * gbufferedinputstream.h:
1517 * gbufferedoutputstream.h:
1520 * gdatainputstream.h:
1521 * gdataoutputstream.h:
1522 * gdesktopappinfo.h:
1523 * gdirectorymonitor.h:
1527 * gfileenumerator.h:
1530 * gfileinputstream.h:
1532 * gfilenamecompleter.h:
1533 * gfileoutputstream.h:
1534 * gfilterinputstream.h:
1535 * gfilteroutputstream.h:
1543 * gmemoryinputstream.h:
1544 * gmemoryoutputstream.h:
1546 * gmountoperation.h:
1549 * gsimpleasyncresult.h:
1551 * gunixinputstream.h:
1553 * gunixoutputstream.h:
1557 * inotify/Makefile.am:
1558 Only allow including <gio/gio.h> from apps
1560 2007-12-14 Alexander Larsson <alexl@redhat.com>
1562 * gioscheduler.[ch]:
1563 * gsimpleasyncresult.c:
1564 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1565 Split out the send_to_mainloop call into two versions instead
1566 of having the block argument.
1568 2007-12-13 Alexander Larsson <alexl@redhat.com>
1570 * gcancellable.[ch]:
1572 * gbufferedinputstream.c:
1573 * gfileenumerator.c:
1574 * gfileinputstream.c:
1575 * gfileoutputstream.c:
1579 g_push/pop_current_cancellable ->
1580 g_cancellable_push/pop_current
1582 2007-12-13 Alexander Larsson <alexl@redhat.com>
1586 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1588 2007-12-13 Alexander Larsson <alexl@redhat.com>
1590 * gmountoperation.h:
1591 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1593 2007-12-12 Alexander Larsson <alexl@redhat.com>
1596 Fix race condition when freeing proxy in
1597 g_io_job_send_to_mainloop().
1599 2007-12-12 Alexander Larsson <alexl@redhat.com>
1605 Make attribute namespace separator "::" instead of ":".
1606 Use - instead of _ as separator in attribute names.
1608 2007-12-12 Alexander Larsson <alexl@redhat.com>
1610 * gbufferedinputstream.h:
1611 * gbufferedoutputstream.h:
1612 * gdatainputstream.h:
1613 * gdataoutputstream.h:
1614 * gdirectorymonitor.h:
1615 * gfileenumerator.h:
1616 * gfileinputstream.h:
1618 * gfileoutputstream.h:
1619 * gfilterinputstream.h:
1620 * gfilteroutputstream.h:
1622 * glocalfileinputstream.h:
1623 * glocalfileoutputstream.h:
1624 * gmemoryinputstream.h:
1625 * gmemoryoutputstream.h:
1626 * gnativevolumemonitor.h:
1628 * gunixinputstream.h:
1629 * gunixoutputstream.h:
1632 s/parent/parent_instance/ in GObjects
1634 2007-12-12 Alexander Larsson <alexl@redhat.com>
1639 No need for padding for interfaces
1641 2007-12-12 Alexander Larsson <alexl@redhat.com>
1645 * gbufferedinputstream.c:
1646 * gbufferedoutputstream.c:
1649 * gdatainputstream.[ch]:
1650 * gdesktopappinfo.c:
1651 * gdirectorymonitor.c:
1653 * gfileattribute.[ch]:
1656 * gfileinputstream.h:
1657 * gfilemonitor.[ch]:
1658 * gfileoutputstream.[ch]:
1659 * gfilterinputstream.h:
1660 * gfilteroutputstream.h:
1663 * gloadableicon.[ch]:
1664 * gmemoryinputstream.c:
1665 * gmountoperation.c:
1667 Fix up a bunch of details in the docs.
1672 2007-12-11 David Zeuthen <davidz@redhat.com>
1674 Rework how volumes, drives and volume monitoring is
1675 done. Previosly the model was
1677 GDrive <1-1> GVolume
1679 where a GDrive instance represented a mount point and a GVolume
1680 instance represented a mounted file system. This patch changes it
1683 GDrive <1-N> GVolume <1-1> GMount
1685 where GMount now serves the purpose of the old GVolume and the new
1686 GVolume serves the purpose of the old GDrive. In addition the new
1687 GDrive interface is used to represent a collection of GVolume
1688 instances (typically partitions) and also contains utility to query
1689 the state of the physical drive the GDrive object represents (such
1690 as checking for media, polling the drive, ejecting the media etc.).
1692 Also implement mounting and unmounting in the Unix volume monitor
1693 backend. A subquent patch will introduce GDrive support for ejection
1697 * gdrive.c: (g_drive_is_media_check_automatic),
1698 (g_drive_is_media_removable), (g_drive_has_media),
1699 (g_drive_can_poll_for_media), (g_drive_eject),
1700 (g_drive_eject_finish), (g_drive_poll_for_media),
1701 (g_drive_poll_for_media_finish):
1703 * gfile.c: (g_file_find_enclosing_mount):
1706 * glocaldirectorymonitor.c:
1707 (g_local_directory_monitor_constructor), (mounts_changed):
1708 * glocalfile.c: (get_mount_info),
1709 (g_local_file_find_enclosing_mount),
1710 (g_local_file_file_iface_init):
1711 * gnativevolumemonitor.h:
1712 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1713 (get_connected_drives), (g_union_volume_monitor_class_init),
1714 (child_volume_added), (child_volume_removed),
1715 (child_volume_changed), (child_mount_added), (child_mount_removed),
1716 (child_mount_pre_unmount), (child_mount_changed),
1717 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1718 (g_union_volume_monitor_remove_monitor),
1719 (_g_mount_get_for_mount_path):
1720 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1721 (guess_system_internal), (_g_get_unix_mounts),
1722 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1723 (g_unix_mount_free), (g_unix_mount_compare),
1724 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1725 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1726 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1727 (type_to_icon), (g_unix_mount_guess_name),
1728 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1729 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1730 (_resolve_symlink), (_resolve_dev_root):
1732 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1733 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1734 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1735 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1736 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1737 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1738 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1739 (g_unix_volume_volume_iface_init):
1741 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1742 (get_mounts), (get_volumes), (get_connected_drives),
1743 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1744 (mountpoints_changed), (mounts_changed),
1745 (g_unix_volume_monitor_init),
1746 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1747 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1748 * gunixvolumemonitor.h:
1749 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1750 (g_volume_mount), (g_volume_mount_finish):
1752 * gvolumemonitor.c: (g_volume_monitor_class_init),
1753 (g_volume_monitor_get_connected_drives),
1754 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1757 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1759 * gmountoperation.h (GPasswordFlags): Close the gap
1761 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1763 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1765 * gdesktopappinfo.[hc]: Remove _-prefixes
1767 2007-12-10 Tor Lillqvist <tml@novell.com>
1769 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1772 2007-12-10 Alexander Larsson <alexl@redhat.com>
1774 * gfile.c (g_file_set_display_name):
1775 Don't hardcode '/' (#502727)
1777 2007-12-09 Hans Breuer <hans@breuer.org>
1779 * makefile.msc : follow lib naming convention
1780 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1781 for user and group name, tested with ../tests/gio-ls
1783 2007-12-09 A. Walton <awalton@svn.gnome.org>
1785 * gdesktopappinfo.c:
1791 * gfileenumerator.c:
1796 * gmemoryinputstream.c:
1797 * gmemoryoutputstream.c:
1799 * gsimpleasyncresult.c:
1800 More documentation cleanup and filling in missing information, bringing
1801 GIO to 99% symbol coverage.
1803 2007-12-08 Hans Breuer <hans@breuer.org>
1805 [gio compiles and links on win32, not sure how much already works]
1806 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1807 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1808 base on win32 API; prefer g_lstat() over lstat(); instead of
1809 localtime_r() use an all GLib implementation on win32;
1810 get_mount_info() still needs a win32 specifc implementation
1811 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1812 win32_get_file_user_info to get owner/group info without uid/gid
1813 * glocalfileinputstream.c : include <io.h> on win32
1814 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1815 definition, use g_win32_ftruncate() for G_OS_WIN32
1816 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1817 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1818 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1819 * makefile.msc : updated
1821 2007-12-07 Alexander Larsson <alexl@redhat.com>
1823 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1824 Avoid warning spew if error == NULL
1826 2007-12-07 Alexander Larsson <alexl@redhat.com>
1829 Update docs wrt etags
1831 2007-12-06 Alexander Larsson <alexl@redhat.com>
1834 Include sys/types.h for dev_t (#501919)
1836 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1840 Make abicheck and pltcheck pass.
1842 2007-12-05 Alexander Larsson <alexl@redhat.com>
1845 * giomodule-priv.h: Added.
1846 * glocaldirectorymonitor.c:
1847 * glocalfilemonitor.c:
1848 * gunionvolumemonitor.c:
1850 Actually add the declaration of _g_io_modules_ensure_loaded
1852 2007-12-05 Alexander Larsson <alexl@redhat.com>
1854 * gdatainputstream.c:
1859 * glocaldirectorymonitor.c:
1860 * glocalfilemonitor.c:
1861 * gunionvolumemonitor.c:
1863 Make g_io_modules_ensure_loaded a private function and
1864 don't pass in the dirname. This means we can do magic
1865 directory finding in the win32 version.
1866 Export the actual load-modules-in-directory code so that
1867 gvfs can reuse that.
1869 2007-12-05 Alexander Larsson <alexl@redhat.com>
1871 * gbufferedinputstream.c:
1872 * gbufferedoutputstream.c:
1875 * gfileenumerator.[ch]:
1876 * gfileinputstream.c:
1877 * gfileoutputstream.[ch]:
1878 * gfilterinputstream.c:
1879 * gfilteroutputstream.c:
1880 * ginputstream.[ch]:
1882 * glocalfileenumerator.c:
1883 * glocalfileinputstream.c:
1884 * glocalfileoutputstream.c:
1885 * gmemoryinputstream.c:
1886 * gmemoryoutputstream.c:
1887 * goutputstream.[ch]:
1890 * gunixinputstream.c:
1891 * gunixoutputstream.c:
1892 Rename all struct members named:
1893 read, write, close, truncate, or mount
1894 to foo_fn, as these are reserved names
1895 and could be defined as macros in libc.
1898 2007-12-04 Alexander Larsson <alexl@redhat.com>
1901 (g_output_stream_close):
1902 Only call flush if non-null.
1904 2007-11-30 Dan Winship <danw@gnome.org>
1906 * ginputstream.c (g_input_stream_set_pending): Make this take a
1907 GError and return a gboolean, and do the "outstanding operation"
1908 check (and the "stream is already closed" check) itself.
1909 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1911 * goutputstream.c (g_output_stream_set_pending)
1912 (g_output_stream_clear_pending): Likewise
1914 * gbufferedinputstream.c:
1915 * gfileinputstream.c:
1916 * gfileoutputstream.c: Update for that
1918 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1919 Like g_simple_async_report_error_in_idle, but takes a GError
1920 rather than building one.
1922 2007-11-30 Dan Winship <danw@gnome.org>
1924 * goutputstream.c: Don't cheat and unset the "pending" flag around
1925 inner calls. Instead, call the class method directly rather than
1926 the wrapper function that checks "pending"
1928 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1930 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1932 2007-12-03 Hans Breuer <hans@breuer.org>
1934 [start of port to win32/msvc]
1935 * gcancellable.c : HAVE_UNIST_H and _pipe()
1936 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1937 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1938 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1940 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1941 * glocalvfs.c : use HAVE_PWD_H
1942 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1943 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1944 * Makefile.am : added to EXTRA_DIST
1946 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1948 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1951 2007-12-03 Alexander Larsson <alexl@redhat.com>
1954 Handle OSX style xattrs API (#500506)
1956 2007-12-03 Alexander Larsson <alexl@redhat.com>
1960 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1962 2007-12-02 A. Walton <awalton@svn.gnome.org>
1966 Documentation accuracy fixes.
1968 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1970 * gioenumtypes.c.template: Fix typo.
1972 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1974 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1976 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1978 * gdirectorymonitor.c:
1979 * gfilemonitor.c: Add properties
1981 * gbufferedoutputstream.c: Don't mark buffer-size property
1984 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1986 * gbufferedoutputstream.c: Add auto-grow property.
1988 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1990 * *.c: Unify the capitalization of section headings.
1992 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1994 * gmountoperation.c: Add properties
1996 * gdatainputstream.c: Turn byte-order and newline-type into
1999 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2001 * gioenumtypes.[hc].template: Templates for enum registration
2003 * Makefile.am: Generate gioenumtypes.[hc]
2005 * gio.h: Include gioenumtypes.h
2007 * gfile.h: Add some explicit nicks.
2009 * gio.symbols: Add new symbols
2011 * pltcheck.sh: Adjust
2013 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2015 * *.c: Explain etags and link to the explanation
2017 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2019 * *.c: Explain I/O priority.
2021 * *.c: More coding style fixes.
2023 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2025 * gasyncresult.c: Add another paragraph to the intro,
2026 adjust coding style of example.
2028 2007-11-29 A. Walton <awalton@svn.gnome.org>
2031 Fixes unknown meaning in GAppLaunchContext docs.
2033 Clarify asynchronous ops.
2035 Fix entity tag docs.
2038 Provides missing gtk-doc section, fixes API docs slighly.
2039 * gsimpleasyncresult.c:
2040 Fill in missing info in docs.
2041 * gunixinputstream.c:
2042 * gunixoutputstream.c:
2043 Be more expressive in short description.
2045 Remove gtk-doc stubs for non-public API.
2047 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2049 * *.c: Coding style fixups
2051 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2053 * inotify/inotify-helper.c: Don't export the lock from libgio.
2055 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2058 * abicheck.sh: Fix copy-and-paste leftovers
2060 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2062 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2064 2007-11-28 Alexander Larsson <alexl@redhat.com>
2068 Removed unnecessary file
2070 * gdesktopappinfo.[ch]:
2073 * glocaldirectorymonitor.[ch]:
2075 * glocalfileenumerator.[ch]:
2076 * glocalfileinputstream.[ch]:
2077 * glocalfilemonitor.[ch]:
2078 * glocalfileoutputstream.[ch]:
2080 * gnativevolumemonitor.c:
2081 * gpollfilemonitor.[ch]:
2082 * gunionvolumemonitor.[ch]:
2085 * gunixvolumemonitor.[ch]:
2088 * inotify/ginotifydirectorymonitor.[ch]:
2089 * inotify/ginotifyfilemonitor.[ch]:
2090 * inotify/inotify-helper.c:
2091 Append _ to all internal functions
2095 Export symbols needed for modules
2097 2007-11-28 Alexander Larsson <alexl@redhat.com>
2100 * abicheck.sh: Added.
2101 * makegioalias.pl: Added.
2102 * pltcheck.sh: Added.
2103 * gio.symbols: Added.
2106 Initial work on adding symbol handling.
2109 Correct ifdef guard name
2112 * inotify/Makefile.am:
2113 * xdgmime/Makefile.am:
2114 Include toplevel Makefile.decl
2116 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2118 * gcontenttype.c: Move doc comments to the unix section.
2120 * *.[hc]: More trivial doc corrections.
2122 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2124 * gpollfilemonitor.c:
2128 * gdesktopappinfo.c:
2133 * gdatainputstream.c:
2134 * gdatainputstream.h:
2135 * gdataoutputstream.c:
2136 * gdataoutputstream.h:
2137 * gfileinfo.h: Doc cleanups
2139 2007-11-28 Andre Klapper <a9016009@gmx.de>
2141 * gdesktopappinfo.c: Fix a typo.
2143 2007-11-27 Andre Klapper <a9016009@gmx.de>
2145 * glocalfileoutputstream.c: Fix a typo.
2147 2007-11-27 Alexander Larsson <alexl@redhat.com>
2150 Don't include removed headers
2152 2007-11-27 Alexander Larsson <alexl@redhat.com>
2155 * gsocketinputstream.[ch]: Removed.
2156 * gsocketoutputstream.[ch]: Removed.
2157 * gunixinputstream.[ch]: Added.
2158 * gunixoutputstream.[ch]: Added.
2159 Renamed GSocket*Stream to GUnix*Stream and made
2160 it unix-only, since its not really only for sockets
2161 and it only works on unix (but is highly useful there).
2163 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2169 * gbufferedinputstream.c:
2170 * gbufferedinputstream.h:
2171 * gbufferedoutputstream.c:
2172 * gbufferedoutputstream.h:
2176 * gdatainputstream.c:
2177 * gdatainputstream.h:
2178 * gdataoutputstream.c:
2179 * gdataoutputstream.h:
2180 * gdirectorymonitor.c:
2181 * gdirectorymonitor.h:
2188 * gfileenumerator.c:
2189 * gfileenumerator.h:
2194 * gfileinputstream.c:
2195 * gfileinputstream.h:
2198 * gfilenamecompleter.c:
2199 * gfilenamecompleter.h:
2200 * gfileoutputstream.c:
2201 * gfileoutputstream.h:
2202 * gfilterinputstream.c:
2203 * gfilterinputstream.h:
2204 * gfilteroutputstream.c:
2205 * gfilteroutputstream.h:
2218 * glocalfileoutputstream.c:
2219 * gmemoryinputstream.c:
2220 * gmemoryinputstream.h:
2221 * gmemoryoutputstream.c:
2222 * gmemoryoutputstream.h:
2223 * gmountoperation.c:
2224 * gmountoperation.h:
2227 * gpollfilemonitor.c:
2230 * gsimpleasyncresult.c:
2231 * gsimpleasyncresult.h:
2232 * gsocketinputstream.c:
2233 * gsocketinputstream.h:
2234 * gsocketoutputstream.c:
2235 * gsocketoutputstream.h:
2242 * gunixvolumemonitor.c:
2251 Bumps documentation to 93% symbol coverage, touching most
2252 of the public files. Fixes broken function documentation prototypes.
2253 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2254 gtk-doc headers in private files.
2256 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
2258 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2259 (g_buffered_input_stream_read_byte):
2260 * gbufferedinputstream.h:
2261 New functions for efficient access to buffer and simple single byte
2264 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2265 (g_data_input_stream_read_until):
2266 * gdatainputstream.h:
2267 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2268 read_until with multiple stop chars.
2270 2007-11-27 Alexander Larsson <alexl@redhat.com>
2274 * inotify/Makefile.am:
2275 Use the user-specified giomoduledir
2277 2007-11-27 Alexander Larsson <alexl@redhat.com>
2281 Add catch-all gio.h header
2282 Don't install gdummyfile.h
2284 2007-11-26 Alexander Larsson <alexl@redhat.com>
2286 * Makefile.am (gioinclude_HEADERS):
2287 Remove trailing whitespace
2289 2007-11-26 Alexander Larsson <alexl@redhat.com>
2291 Merge gio-standalone into glib
2293 2007-11-25 Christian Kellner <gicmo@gnome.org>
2295 * gio/goutputstream.c:
2296 Fix small mistake in the docs.
2298 2007-11-21 Christian Persch <chpe@gnome.org>
2300 * gio/glocalfile.c: (g_local_file_trash):
2301 Convert filenames to UTF-8 for GError.
2302 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2303 as per xdg base dir spec.
2305 2007-11-21 Christian Persch <chpe@gnome.org>
2307 * gio/gdesktopappinfo.c:
2308 Use that g_key_file_to_data cannot fail.
2310 Use stock defines for the key file group and key names.
2313 2007-11-21 Alexander Larsson <alexl@redhat.com>
2316 (copy_stream_with_progress):
2317 Make sure we do a final progress callback with
2318 the full total size.
2320 2007-11-21 Alexander Larsson <alexl@redhat.com>
2323 Export g_file_copy_attributes
2324 Remove padding as its not needed for interfaces
2326 2007-11-20 Alexander Larsson <alexl@redhat.com>
2331 Add G_IO_ERROR_WOULD_MERGE for
2332 copy/move dir on dir with overwrite.
2334 2007-11-20 Alexander Larsson <alexl@redhat.com>
2337 * gio/glocalfileinfo.c:
2338 Add COPY_NAME (this is an optional
2339 non-modified utf8 version of the name) that
2342 2007-11-20 Alexander Larsson <alexl@redhat.com>
2344 * gio/glocalfileenumerator.c:
2345 Report errors as GIOError, not GFileError
2347 2007-11-16 Alexander Larsson <alexl@redhat.com>
2349 * gio/glocalfileoutputstream.c:
2350 * gio/gwin32appinfo.c:
2351 Fix typos in strings.
2352 Patch from Luca Ferretti <elle.uca@libero.it>
2354 2007-11-15 Alexander Larsson <alexl@redhat.com>
2357 Post release version bump
2359 === gio-standalone 0.1.2 ===
2361 2007-11-15 Alexander Larsson <alexl@redhat.com>
2363 * docs/reference/gio/Makefile.am:
2364 Fix up distcheck by removing weird
2370 2007-11-14 Alexander Larsson <alexl@redhat.com>
2372 * gio/gdesktopappinfo.c:
2373 * gio/glocaldirectorymonitor.c:
2375 * gio/glocalfileinfo.c:
2376 * gio/inotify/inotify-sub.c:
2377 * programs/gio-cat.c:
2378 * programs/gio-copy.c:
2379 * programs/gio-info.c:
2380 * programs/gio-ls.c:
2381 * programs/gio-monitor-dir.c:
2382 * programs/gio-monitor-file.c:
2383 * programs/gio-mount.c:
2384 * programs/gio-move.c:
2385 * programs/gio-rm.c:
2386 * programs/gio-save.c:
2387 * programs/gio-trash.c:
2388 Leak fixes from Kjartan Maraas
2390 2007-11-14 Alexander Larsson <alexl@redhat.com>
2392 * gio/fam/fam-helper.c:
2394 * gio/glocalfileinfo.c:
2398 * gio/inotify/inotify-diag.c:
2399 * gio/inotify/inotify-kernel.c:
2400 Various code cleanups from Kjartan Maraas
2402 2007-11-14 Alexander Larsson <alexl@redhat.com>
2404 * gio/gioscheduler.c:
2406 Set up threadpool so that we cache 2 unused
2407 idle threads for at 15 secs. This means we
2408 will reuse thread-local data (like dbus connections)
2411 2007-11-14 Alexander Larsson <alexl@redhat.com>
2413 * gio/fam/fam-helper.c:
2414 * gio/fam/gfamdirectorymonitor.c:
2415 * gio/fam/gfamfilemonitor.c:
2417 * gio/gcontenttype.c:
2418 * gio/gdatainputstream.c:
2419 * gio/gdataoutputstream.c:
2423 * gio/gfileattribute.h:
2424 * gio/gfileenumerator.c:
2426 * gio/ginputstream.c:
2429 * gio/glocalfileinfo.c:
2430 * gio/goutputstream.c:
2431 * gio/gpollfilemonitor.c:
2432 * gio/gsimpleasyncresult.c:
2433 * gio/gunixmounts.c:
2434 * gio/gunixmounts.h:
2435 * gio/inotify/ginotifydirectorymonitor.c:
2436 * gio/inotify/ginotifyfilemonitor.c:
2437 * gio/inotify/inotify-diag.c:
2438 * gio/inotify/inotify-kernel.c:
2439 * gio/inotify/inotify-path.c:
2441 * gio/test-streams.c:
2442 * programs/gio-info.c:
2443 * programs/gio-monitor-dir.c:
2444 * programs/gio-monitor-file.c:
2445 Various code cleanups from Kjartan Maraas
2447 2007-11-13 Alexander Larsson <alexl@redhat.com>
2450 Handle the uri-scheme calls for dummy files
2452 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2454 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2455 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2456 to avoid clash with the C++ keyword.
2458 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2460 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2461 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2463 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2465 * gio/glocaldirectorymonitor.c:
2466 * gio/glocalfilemonitor.c:
2467 * gio/gunionvolumemonitor.c:
2468 Don't use g_once_init_*() for initializations that could fail and
2469 could leave the initialization variable set to 0 but use GOnce.
2470 This prevents a deadlock on the second call when trying to create
2471 a monitor and no monitor type is available. Thanks to Sven Herzberg
2474 2007-11-11 Sven Herzberg <sven@imendio.com>
2476 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2477 #ifdef (make it work on MacOS X again)
2479 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2481 Fixes Changelog for last two commits (sorry guys).
2483 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2485 * gio/gbufferedinputstream.c:
2486 * gio/gdatainputstream.c:
2488 * gio/gfileoutputstream.c:
2489 * gio/gfilterinputstream.c:
2490 * gio/glocalfileinputstream.c:
2493 More consistency fixes in g*stream.c files.
2494 Significant clean of gfile's documentation, filling in of
2495 asynchronous operations documentation.
2497 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2499 * gio/gasyncresult.c:
2500 * gio/gbufferedinputstream.c:
2501 * gio/gbufferedoutputstream.c:
2502 * gio/gcancellable.c:
2503 * gio/gcontenttype.c:
2504 * gio/gdatainputstream.c:
2505 * gio/gdataoutputstream.c:
2506 * gio/gdesktopappinfo.c:
2509 * gio/gfileattribute.c:
2510 * gio/gio/gfileenumerator.c:
2512 * gio/gfileinputstream.c:
2513 * gio/gfilemonitor.c:
2514 * gio/gfileoutputstream.c:
2515 * gio/ginputstream.c:
2517 * gio/gioscheduler.c:
2518 * gio/gloadableicon.c:
2519 * gio/glocalfileoutputstream.c:
2520 * gio/gmemoryoutputstream.c:
2521 * gio/gmountoperation.c:
2522 * gio/goutputstream.c:
2524 * gio/gsimpleasyncresult.c:
2525 * gio/gunionvolumemonitor.c:
2526 * gio/gunixmounts.c:
2527 * gio/gunixvolume.c:
2531 * gio/gvolumemonitor.c:
2532 Updated documentation stubs, working towards consistency and
2535 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2537 * gio/gmemoryoutputstream.c:
2538 * gio/gmemoryoutputstream.h:
2539 Change g_memory_output_stream_set_free_on_close() to
2540 g_memory_output_stream_set_free_data() as this makes more sense and
2541 is more consistent with GMemoryInputStream.
2543 2007-11-07 Alexander Larsson <alexl@redhat.com>
2550 Change how we find the default vfs so that
2551 we can handle a gvfs failing to init
2553 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2555 * gio/gbufferedoutputstream.c:
2556 * gio/gdatainputstream.c:
2557 * gio/gdataoutputstream.c:
2558 * gio/gfileinputstream.c:
2559 * gio/gfileoutputstream.c:
2560 * gio/gfilterinputstream.c:
2561 * gio/gfilteroutputstream.c:
2562 * gio/ginputstream.c:
2563 * gio/gmemoryinputstream.c:
2564 * gio/gmemoryoutputstream.c:
2565 * gio/goutputstream.c:
2566 * gio/gsimpleasyncresult.c:
2567 * gio/gsocketinputstream.c:
2568 * gio/gsocketoutputstream.c:
2569 Add guards to the remaining public functions, add a TODO for
2570 an unimplemented function and remove some useless guards.
2572 2007-11-07 Alexander Larsson <alexl@redhat.com>
2575 Autoconf checks for the various types of
2576 getpwuid_r and getgrgid_r
2578 * gio/glocalfileinfo.c:
2579 Use the autoconf checks from above
2581 2007-11-07 Alexander Larsson <alexl@redhat.com>
2584 (g_local_file_query_filesystem_info):
2585 Some fixes for the statvfs case
2587 2007-11-07 Alexander Larsson <alexl@redhat.com>
2590 (g_local_file_query_filesystem_info):
2591 Pick the "best" of statfs / statvfs for the system
2592 if both are availible.
2594 2007-11-07 Alexander Larsson <alexl@redhat.com>
2596 Solaris fixes from Halton.Huo@Sun.COM:
2603 * gio/glocalfileinfo.c:
2604 Fix for solaris definition of getpwuid_r
2606 * gio/test-streams.c:
2607 Use G_GNUC_PRETTY_FUNCTION
2609 2007-11-07 Alexander Larsson <alexl@redhat.com>
2611 * gio/gdesktopappinfo.c:
2612 (update_default_list):
2613 Remove double semicolon.
2614 Patch from Jens Granseuer
2616 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2618 * docs/reference/gio/gio-sections.txt:
2619 * gio/gbufferedinputstream.c:
2620 * gio/gbufferedinputstream.h:
2621 * gio/gdatainputstream.c:
2622 * gio/gfileenumerator.c:
2623 * gio/gioscheduler.c:
2624 * gio/gunionvolumemonitor.c:
2626 * programs/gio-save.c:
2627 Fix typo: availible -> available. Unfortuntely this breaks API
2628 and ABI as g_buffered_input_stream_get_available() was renamed.
2630 * gio/gunixmounts.c:
2631 * gio/gbufferedinputstream.c:
2632 Add guards for public functions.
2634 2007-11-06 Ross Burton <ross@openedhand.com>
2636 * docs/reference/gio/Makefile.am:
2637 Fix invalid += usage which automake 1.10 doesn't like.
2639 2007-11-06 Alexander Larsson <alexl@redhat.com>
2642 (g_app_launch_context_class_init):
2645 Patch from Ross Burton
2647 2007-11-06 Alexander Larsson <alexl@redhat.com>
2650 Post release version bump
2652 === gio-standalone 0.1.1 ===
2654 2007-11-06 Alexander Larsson <alexl@redhat.com>
2657 Bump version to 0.1.1
2659 * gio/gsimpleasyncresult.c:
2660 (g_simple_async_result_set_from_error):
2661 Remove bogus g_return_if_fail
2663 2007-11-06 Alexander Larsson <alexl@redhat.com>
2666 The name is gio-standalone
2669 Add top src/builddir to includedir
2671 2007-11-06 Alexander Larsson <alexl@redhat.com>
2673 * docs/reference/gio/gio-sections.txt:
2675 * gio/gbufferedinputstream.c:
2676 * gio/gbufferedoutputstream.c:
2677 * gio/gcancellable.c:
2678 * gio/gdatainputstream.h:
2679 * gio/gdataoutputstream.c:
2680 * gio/gdataoutputstream.h:
2681 * gio/gdirectorymonitor.c:
2683 * gio/gfileattribute.c:
2684 * gio/gfileattribute.h:
2685 * gio/gfileenumerator.c:
2686 * gio/gfileenumerator.h:
2689 * gio/gfileinputstream.h:
2690 * gio/gfilemonitor.c:
2691 * gio/gfileoutputstream.h:
2692 * gio/glocalfilemonitor.h:
2693 * gio/glocalfileoutputstream.h:
2694 * gio/gmemoryinputstream.c:
2695 * gio/gmemoryoutputstream.c:
2696 * gio/gmountoperation.c:
2697 * gio/goutputstream.c:
2698 * gio/goutputstream.h:
2700 * gio/gsimpleasyncresult.c:
2701 * gio/gunixmounts.c:
2702 * gio/gunixmounts.h:
2704 * gio/inotify/inotify-helper.c:
2705 Fix gtk-doc warnings
2707 Patch from Ross Burton
2709 2007-11-06 Alexander Larsson <alexl@redhat.com>
2711 * gio/gfilenamecompleter.c:
2712 (g_filename_completer_get_completions):
2715 * gio/gunixvolume.c:
2716 Remove unused function
2718 Patches from Ross Burton
2720 2007-11-06 Alexander Larsson <alexl@redhat.com>
2725 Padding not needed for interfaces
2727 2007-11-06 Alexander Larsson <alexl@redhat.com>
2729 * gio/gfilemonitor.c:
2733 Make giotypes.h an internal file
2736 * gio/gbufferedinputstream.h:
2737 * gio/gbufferedoutputstream.h:
2738 * gio/gcancellable.h:
2739 * gio/gdatainputstream.h:
2740 * gio/gdataoutputstream.h:
2741 * gio/gdirectorymonitor.c:
2742 * gio/gdirectorymonitor.h:
2747 * gio/gfileattribute.h:
2748 * gio/gfileenumerator.h:
2753 * gio/gfilemonitor.c:
2754 * gio/gfilemonitor.h:
2755 * gio/gfilenamecompleter.c:
2756 * gio/gfilenamecompleter.h:
2757 * gio/gfilterinputstream.h:
2758 * gio/gfilteroutputstream.h:
2759 * gio/ginputstream.h:
2760 * gio/gmemoryinputstream.h:
2761 * gio/gmemoryoutputstream.h:
2762 * gio/gmountoperation.c:
2763 * gio/gmountoperation.h:
2764 * gio/gnativevolumemonitor.c:
2765 * gio/goutputstream.h:
2768 * gio/gsimpleasyncresult.c:
2769 * gio/gsimpleasyncresult.h:
2770 * gio/gsocketinputstream.h:
2771 * gio/gsocketoutputstream.h:
2772 * gio/gthemedicon.c:
2773 * gio/gthemedicon.h:
2777 * gio/gvolumemonitor.c:
2778 * gio/gvolumemonitor.h:
2779 Add padding in classes where it seems useful
2780 Don't include giotypes.h from public headers
2781 Move in Class definitions into c file where possible
2786 2007-11-06 Alexander Larsson <alexl@redhat.com>
2788 * docs/reference/gio/gio-docs.xml:
2789 Better structure for API docs
2791 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2794 * gio/gloadableicon.c:
2795 * gio/gsimpleasyncresult.c:
2796 * gio/gthemedicon.c:
2797 Add some more guards to public functions. Only files missing are now
2800 2007-11-06 Alexander Larsson <alexl@redhat.com>
2802 * docs/reference/gio/gio-docs.xml:
2803 Remove old files, add missing ones
2805 2007-11-06 Alexander Larsson <alexl@redhat.com>
2807 * docs/reference/gio/gio-sections.txt:
2810 Hide implementation classes
2812 * gio/gdriveprivate.h:
2813 * gio/gvolumeprivate.h:
2814 Remove non-existing function declarations
2816 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2819 Fix compilation warnings and add guards to the new functions.
2821 * gio/gasyncresult.c:
2823 Add guards to the public functions.
2826 Implement get_path().
2828 2007-11-06 Alexander Larsson <alexl@redhat.com>
2830 * gio/gfilenamecompleter.c:
2831 Make g_filename_completer_get_completions
2832 return char ** instead of GList for
2835 * docs/reference/gio/gio-docs.xml:
2836 * docs/reference/gio/gio-sections.txt:
2838 * gio/gasyncresult.c:
2839 * gio/gbufferedinputstream.c:
2840 * gio/gbufferedoutputstream.c:
2841 * gio/gcancellable.c:
2842 * gio/gcontenttype.c:
2843 * gio/gdatainputstream.c:
2844 * gio/gdataoutputstream.c:
2845 * gio/gdesktopappinfo.c:
2846 * gio/gdirectorymonitor.c:
2850 * gio/gfileattribute.c:
2851 * gio/gfileenumerator.c:
2854 * gio/gfileinputstream.c:
2855 * gio/gfilemonitor.c:
2856 * gio/gfilenamecompleter.c:
2857 * gio/gfilenamecompleter.h:
2858 * gio/gfileoutputstream.c:
2859 * gio/gfilterinputstream.c:
2861 * gio/ginputstream.c:
2863 * gio/gioscheduler.c:
2864 * gio/gloadableicon.c:
2865 * gio/glocaldirectorymonitor.c:
2867 * gio/glocalfileinputstream.c:
2868 * gio/glocalfilemonitor.c:
2869 * gio/glocalfileoutputstream.c:
2871 * gio/gmemoryinputstream.c:
2872 * gio/gmemoryoutputstream.c:
2873 * gio/gmountoperation.c:
2874 * gio/goutputstream.c:
2875 * gio/gpollfilemonitor.c:
2877 * gio/gsimpleasyncresult.c:
2878 * gio/gsocketinputstream.c:
2879 * gio/gsocketoutputstream.c:
2880 * gio/gthemedicon.c:
2881 * gio/gunionvolumemonitor.c:
2883 * gio/gunixmounts.c:
2884 * gio/gunixvolume.c:
2885 * gio/gunixvolumemonitor.c:
2889 * gio/gvolumemonitor.c:
2890 * gio/gwin32appinfo.c:
2891 Add (mostly stub) doc strings to public functions.
2892 Patch from Andrew Walton (awalton@gmail.com)
2894 2007-11-06 Alexander Larsson <alexl@redhat.com>
2896 * gio/gappinfo.[ch]:
2897 Added GAppLaunchContext object and pass that to launch.
2898 This allows simple implementation of both
2899 launch-on-screen and startup notification via a gtk+
2900 subclass of GAppLaunchContext
2902 * gio/gdesktopappinfo.c:
2903 Implement GAppLaunchContext API
2905 * gio/gwin32appinfo.c:
2908 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2910 * gio/gmountoperation.c:
2911 Add some guards to GMountOperation's public functions.
2913 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2917 * gio/gcancellable.c:
2918 * gio/gdirectorymonitor.c:
2920 * gio/gfileenumerator.c:
2921 * gio/gfilemonitor.c:,
2922 * gio/gfilenamecompleter.c:
2925 * gio/gioscheduler.c:
2929 * gio/gvolumemonitor.c:
2930 Add even more guards to various public functions.
2932 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2935 Add guards to the public functions of GAppInfo.
2937 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2939 * gio/gcontenttype.c:
2940 Add some more guards for public functions.
2942 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2944 * gio/fam/fam-module.c:
2945 * gio/fam/gfamdirectorymonitor.c:
2946 * gio/fam/gfamdirectorymonitor.h:
2947 * gio/fam/gfamfilemonitor.c:
2948 * gio/fam/gfamfilemonitor.h:
2949 * gio/inotify/ginotifydirectorymonitor.c:
2950 * gio/inotify/ginotifydirectorymonitor.h:
2951 * gio/inotify/ginotifyfilemonitor.c:
2952 * gio/inotify/ginotifyfilemonitor.h:
2953 Add proper copyright information and remove an unused variable
2954 in the GInotifyFileMonitor constructor.
2956 * gio/gcancellable.c:
2957 Add a guard for a public function and an assertion to prevent
2958 an undefined program state.
2960 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2962 * gio/gfileattribute.c:
2963 Don't run into an assertion if the given attribute value is NULL
2964 in g_file_attribute_value_get_*() but instead return a fallback
2965 value that makes sense in most situations. Passing them a attribute
2966 value with the wrong type will still run into an assertion.
2968 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2970 * gio/gfileattribute.c:
2972 Add even more guards to the public functions. Also fix the refcounting
2973 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2974 let g_file_info_list_attributes() filter the attributes by namespace
2975 instead of simply ignoring the namespace parameter.
2977 2007-11-03 Sven Herzberg <sven@imendio.com>
2979 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2980 (This makes gio work on MacOS X again)
2982 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2985 Build the gio subdirectory before the docs. Otherwise the build will
2988 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2989 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2990 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2991 Add guards to the public functions.
2993 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2995 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2996 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2997 to prevent a compiler warning.
2999 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3000 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3001 return something in the non-void function find_topdir_for().
3003 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3010 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3012 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3013 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3014 * gwin32appinfo.c (g_win32_app_info_launch):
3015 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3016 envp_for_startup_id, g_desktop_app_info_launch,
3017 g_desktop_app_info_launch_uris):
3019 Give an opaque 'startup_id' string instead of 'envp'.
3020 Support empty file lists for launching new windows.
3021 Fix infinite recursion bug when launching URIs.
3023 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3026 Add guard to the new g_file_get_uri_scheme() function.
3028 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3031 Convert a g_return_val_if_fail() to setting the GError instead as
3032 otherwise applications have to verify the parameter before otherwise
3033 and the parameter might come directly from the user.
3035 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3037 * gio/inotify/ginotify*.[ch]:
3038 Add missing copyright information.
3040 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3043 Add guards in the beginning of public functions to check for valid
3044 parameters and fix a bug in copy_stream_with_progress() that could've
3045 caused writing less bytes than reading.
3046 * gio/glocalfileinfo.c:
3047 Check for a NULL parameter and set the GError accordingly then.
3048 * gio/goutputstream.c:
3049 Fix the same bug as in gfile.c that could've caused writing less bytes
3050 than reading in g_output_stream_real_splice().
3052 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3055 Use the correct gvolumeprivate.h naming
3057 2007-11-01 Christian Kellner <gicmo@gnome.org>
3060 Remove leftover "$(daemon_sources)" entry.
3062 2007-11-01 Christian Kellner <gicmo@gnome.org>
3067 Add copyright information to source files.
3069 2007-11-01 Alexander Larsson <alexl@redhat.com>
3073 Add g_file_get_uri_scheme
3075 2007-11-01 Alexander Larsson <alexl@redhat.com>
3078 * gio/gdesktopappinfo.c:
3079 * gio/gwin32appinfo.c:
3080 Add g_app_info_get_default_for_uri_scheme.
3082 2007-11-01 Alexander Larsson <alexl@redhat.com>
3085 Correct filename for gdriveprivate.h
3087 2007-10-31 Alexander Larsson <alexl@redhat.com>
3090 Rename id:value to id:file
3093 * gio/glocalfileinfo.c:
3096 2007-10-31 Alexander Larsson <alexl@redhat.com>
3098 * gio/gunixvolume.c:
3100 Remove g_volume_get_platform_id, as thats not
3101 needed with the simpler union volume monitor
3103 2007-10-31 Alexander Larsson <alexl@redhat.com>
3106 * gio/guniondrive.[ch]: Removed.
3107 * gio/gunionvolume.[ch]: Removed.
3108 Remove GUnionDrive/Volume
3110 * gio/gunionvolumemonitor.c:
3111 Simplify union volume monitor, now we
3112 only have one native volume monitor and
3113 we use the actual volumes/drives from the
3114 child monitors instead of wrapping them
3116 * gio/gnativevolumemonitor.[ch]:
3117 Base class for native volume monitors.
3118 Includes priority and get_volume_for_mountpoint
3121 Add g_file_find_enclosing_volume
3124 Remove volume name fs attribute
3125 Add readonly fs attribute
3128 Implement readonly attribute
3129 remove volume name attribute
3130 Implement find_enclosing volume
3132 * gio/gunixmounts.c:
3133 Add a volume for "/".
3135 * gio/gunixvolume.[ch]:
3136 Set better name for /
3138 * gio/gunixvolumemonitor.[ch]:
3139 Derive from GNativeVolumeMonitor
3140 Implement get_volume_for_mountpoint
3143 GVolume typedef moved to gfile.h
3145 * gio/gvolumeprivate.h:
3146 Add g_volume_get_for_mount_path
3148 2007-10-31 Alexander Larsson <alexl@redhat.com>
3150 * gio/gunixmounts.[ch]:
3151 Add cache info to unix mount listers
3152 Make getmntent use threadsafe
3153 Add is_system_internal attribute for GUnixMount
3155 * gio/gunixvolume.c:
3156 (g_unix_volume_new):
3157 Use is_system_internal instead of own code
3159 * gio/glocaldirectorymonitor.c:
3160 * gio/gunixvolumemonitor.c:
3161 Update to new gunixmounts API
3166 2007-10-30 Alexander Larsson <alexl@redhat.com>
3169 Add volume name fsinfo attribute
3172 Read volume name info
3174 * gio/gunionvolumemonitor.c:
3175 Fix infinite loops when finalizing a union volume monitor
3177 2007-10-30 Alexander Larsson <alexl@redhat.com>
3179 * gio/goutputstream.[ch]:
3180 Add splice() with default implementation
3182 * gio/gsocketoutputstream.c:
3183 (g_socket_output_stream_write):
3184 Return error on cancellation correctly.
3186 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3188 * gio/glocalfile.c (g_local_file_trash):
3189 Do not leak a string.
3191 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3193 * gio/gfile.c (g_file_load_contents):
3194 Unref the stream after closing it.
3196 2007-10-25 Alexander Larsson <alexl@redhat.com>
3198 * gio/gioscheduler.h:
3201 2007-10-25 Alexander Larsson <alexl@redhat.com>
3205 Add g_file_has_uri_scheme and implement for local files
3207 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3209 * gio/gdesktopappinfo.c: do not leak a string.
3211 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3213 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3214 (g_local_directory_monitor_new):
3215 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3216 (g_local_file_monitor_new):
3217 Only look for the monitor type that should be used the first time
3218 and use g_qsort_with_data() instead of our own bubble sort
3221 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3224 * gio/fam/Makefile.am:
3225 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3226 * gio/fam/fam-helper.h:
3227 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3228 * gio/fam/gfamdirectorymonitor.c:
3229 * gio/fam/gfamdirectorymonitor.h:
3230 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3231 * gio/fam/gfamfilemonitor.h:
3232 * gio/glocaldirectorymonitor.c:
3233 * gio/glocaldirectorymonitor.h:
3234 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3235 * gio/glocalfilemonitor.h:
3236 * gio/inotify/Makefile.am:
3237 * gio/inotify/ginotifydirectorymonitor.c:
3238 * gio/inotify/ginotifydirectorymonitor.h:
3239 * gio/inotify/ginotifyfilemonitor.c:
3240 * gio/inotify/ginotifyfilemonitor.h:
3241 Implement the FAM and Inotify monitors as
3242 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3243 their own GIO module. GLocal(Directory|File)Monitor will use the
3244 monitor with the highest rank that is supported on that machine.
3246 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3249 Change GIO module dir to $(libdir)/gio/modules and change
3250 the log domain from GVFS to GIO. Also only export symbols starting
3251 with g_ in the resulting library.
3252 * gio/test-streams.c: (main):
3253 Set log handler for the GIO log domain.
3255 2007-10-22 Alexander Larsson <alexl@redhat.com>
3257 * gio/gfilenamecompleter.[ch]:
3258 Add g_filename_completer_set_dirs_only
3260 2007-10-22 Alexander Larsson <alexl@redhat.com>
3263 * gio/gurifuncs.[ch]:
3264 Add some simple URI helpers
3266 * gio/gfilenamecompleter.[ch]:
3267 Added object for filename (parse name actually) completion
3270 Handle ~ in parse names
3272 2007-10-17 Alexander Larsson <alexl@redhat.com>
3275 * gio/glocalfileinfo.c:
3276 Add and implement id:value attribute
3278 2007-10-17 Alexander Larsson <alexl@redhat.com>
3281 * gio/guniondrive.c:
3283 Add and implement g_drive_has_volumes
3285 2007-10-17 Alexander Larsson <alexl@redhat.com>
3288 * gio/glocalfileinfo.[ch]:
3289 Add unix:is_mountpoint and implement for local files
3291 2007-10-16 Alexander Larsson <alexl@redhat.com>
3293 * gio/gunionvolumemonitor.c:
3294 (g_union_volume_monitor_init):
3295 Fix up the unix type getting so that it works with gcc
3297 2007-10-12 Alexander Larsson <alexl@redhat.com>
3300 * gio/glocalfileinfo.c:
3301 Add thumbnail:failed to file info
3303 2007-10-12 Richard Hult <richard@imendio.com>
3305 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3306 optimizing away the get_type call (happens with some gcc versions,
3307 like the one shipped with OS X 10.4).
3309 2007-10-12 Alexander Larsson <alexl@redhat.com>
3311 * gio/glocalfileinfo.c:
3312 (_g_local_file_info_set_attribute):
3313 Fix build if not HAVE_XATTR
3314 Patch from Milosz Derezynski <internalerror@gmail.com>
3316 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3318 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3319 around for review, otherwise I would have asked you before
3322 2007-10-11 Alexander Larsson <alexl@redhat.com>
3325 Add thumbnail:path attribute
3327 * gio/glocalfileinfo.c:
3328 Implement thumbnail:path for local files
3330 2007-10-11 Alexander Larsson <alexl@redhat.com>
3332 * gio/glocalfileinfo.c:
3333 (_g_local_file_info_get):
3334 Avoid duplicate icon names
3336 2007-10-11 Alexander Larsson <alexl@redhat.com>
3338 * gio/gthemedicon.[ch]:
3339 Change g_themed_icon_get_names return type to const
3341 2007-10-10 Alexander Larsson <alexl@redhat.com>
3343 * gio/glocalfileinfo.c:
3344 Don't reference freed memory
3346 2007-10-10 Alexander Larsson <alexl@redhat.com>
3348 * gio/gfileattribute.c:
3351 * gio/glocalfileinfo.c:
3354 2007-10-10 Alexander Larsson <alexl@redhat.com>
3357 Check for NULL icons
3359 * gio/gfileattribute.c:
3360 Don't dup when getting objects (same as for string attributes)
3362 * gio/gicon.c (g_icon_equal):
3363 Safely handle NULLs in equal
3365 2007-10-10 Alexander Larsson <alexl@redhat.com>
3368 Fix c++ compilation issues
3369 Patch from Milosz Derezynski <internalerror@gmail.com>
3371 2007-10-10 Alexander Larsson <alexl@redhat.com>
3373 * programs/gio-monitor-dir.c:
3374 Don't crash if dir monitor not supported.
3376 2007-10-09 Alexander Larsson <alexl@redhat.com>
3379 Add missing G_END_DECLS
3381 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3383 * gio/gfile.c: (g_file_set_display_name),
3384 (g_file_query_settable_attributes),
3385 (g_file_query_writable_namespaces):
3386 Return NULL not FALSE on errors as the return type is a pointer.
3388 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3390 * gio/glocalfile.c: (g_local_file_monitor_file):
3391 Don't call monitor_file on the default interface vtable (which
3392 is NULL) but simply return NULL. The caller, GFile, will create a
3393 polling monitor if NULL is returned.
3395 2007-10-09 Alexander Larsson <alexl@redhat.com>
3399 * gio-unix-2.0.pc.in:
3400 Add gio-unix-2.0.pc if OS_UNIX
3403 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3405 2007-10-09 Alexander Larsson <alexl@redhat.com>
3407 * gio/gunixmounts.[ch]:
3408 Make unix mount monitoring API sane.
3409 Now its just a object with mounts_changed
3410 and mountpoints_changed signals.
3412 * gio/glocaldirectorymonitor.c:
3413 * gio/gunixvolumemonitor.c:
3414 Use new mount monitor api
3416 2007-10-09 Alexander Larsson <alexl@redhat.com>
3418 * gio/gunixmounts.[ch]:
3419 Move guess type into one call for mounts and one for mountpoints
3422 * gio/gunixvolume.c:
3425 2007-10-09 Alexander Larsson <alexl@redhat.com>
3427 * gio/gunixmounts.[ch]:
3428 Remove _ prefix in preparation to make this semi-public
3429 Hide implementation of structs
3431 * gio/glocaldirectorymonitor.c:
3433 * gio/gunixvolume.c:
3434 * gio/gunixvolumemonitor.c:
3435 Update for above API changes
3437 2007-10-08 Alexander Larsson <alexl@redhat.com>
3440 Better polling fallback. This also handles the case where we have
3441 a monitor_file implementation, but it fails.
3443 2007-10-08 Alexander Larsson <alexl@redhat.com>
3447 * gio/gunixmounts.c:
3448 * programs/gio-monitor-dir.c:
3449 * programs/gio-monitor-file.c:
3450 Added cancellable to file monitoring calls.
3451 These are really sync calls and need this.
3453 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3455 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3456 (g_local_vfs_class_init):
3457 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3458 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3460 2007-10-05 Alexander Larsson <alexl@redhat.com>
3462 * gio/gdirectorymonitorprivate.h:
3463 * gio/gfilemonitorprivate.h:
3464 * gio/gdirectorymonitor.h:
3465 * gio/gfilemonitor.h:
3466 Remove *private.h and move to the public API, so that
3467 we can do implementations outside gio (such as in gvfs)
3469 * gio/gdirectorymonitor.c:
3470 * gio/gfilemonitor.c:
3471 * gio/glocaldirectorymonitor.c:
3472 * gio/gpollfilemonitor.c:
3473 * gio/inotify/inotify-helper.c:
3474 * gio/fam/fam-helper.c:
3475 Update to the new header names
3477 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3479 * gio/gdirectorymonitor.c:
3480 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3483 2007-10-04 Alexander Larsson <alexl@redhat.com>
3485 * gio/glocalfileinfo.c (get_access_rights):
3486 Set CAN_TRASH when we can move the file.
3487 We should really also check for a parent trash dir.
3489 2007-10-04 Alexander Larsson <alexl@redhat.com>
3491 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3492 Add can_trash access attribute
3494 2007-10-04 Alexander Larsson <alexl@redhat.com>
3497 (g_local_file_trash):
3498 Create info file first. This is per-spec and allows
3499 us to actually trash directories.
3501 2007-10-02 Alexander Larsson <alexl@redhat.com>
3503 * gio/gdesktopappinfo.c:
3504 Implement the new mime support code.
3505 Always set app as handling mimetype when being set as default for it
3507 2007-10-01 Alexander Larsson <alexl@redhat.com>
3509 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3510 Fix up check for xattrs:
3512 2007-10-01 Alexander Larsson <alexl@redhat.com>
3515 (g_app_info_set_as_default_for_extension):
3516 (g_app_info_add_supports_type):
3517 (g_app_info_can_remove_supports_type):
3518 (g_app_info_remove_supports_type):
3519 Make these fail nicely if not implemented
3521 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3523 * gio/glocalfileoutputstream.c:
3524 * gio/glocalfileoutputstream.h:
3529 * programs/gio-save.c:
3530 Add a GFileCreateFlags argument to operations that can create
3533 2007-10-01 Alexander Larsson <alexl@redhat.com>
3535 * gio/gappinfo.[ch]:
3536 * gio/gdesktopappinfo.c:
3537 Add more (stubbed out) mime API needed for nautilus
3539 2007-10-01 Alexander Larsson <alexl@redhat.com>
3542 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3543 Add g_app_info_set_as_default_for_extension.
3545 * gio/gdesktopappinfo.c:
3546 Dummy for g_app_info_set_as_default_for_extension
3547 Support flags in g_app_info_create_from_commandline
3549 * gio/gwin32appinfo.c:
3551 Update for API changes
3553 * gio/gthemedicon.c:
3554 Properly NULL-terminate list of icon names
3556 2007-09-28 Alexander Larsson <alexl@redhat.com>
3558 * gio/gloadableicon.h:
3559 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3561 2007-09-28 Alexander Larsson <alexl@redhat.com>
3564 Install headers in $includedir/gio-standalone/
3566 * gio-2.0.pc.in: Added.
3567 * gio-standalone.pc.in: Removed.
3570 Renamed pkg-config file to match glib (for future move)
3571 Update to the new include dir
3574 Add more TODO comments
3576 2007-09-28 Alexander Larsson <alexl@redhat.com>
3578 * gio/gdesktopappinfo.[ch]:
3579 Expose new_from_filename
3580 Add getter for is_hidden and handle it better
3582 2007-09-28 Alexander Larsson <alexl@redhat.com>
3584 * gio/gfileinfo.[ch]:
3585 Rename g_file_size_format_for_display to
3586 g_format_file_size_for_display.
3587 Now it doesn't have the g_file prefix, so we
3588 can later move it to glib.
3590 2007-09-28 Alexander Larsson <alexl@redhat.com>
3592 * gio/gappinfo.[ch]:
3593 Add g_app_info_get_id and g_app_info_get_executable.
3594 Make all getters non-reffing
3595 Make g_app_info_launch take GFile arguments.
3596 Add must_support_uris argument to g_app_info_get_default_for_type.
3598 * gio/gwin32appinfo.c:
3599 Update to GAppInfo api changes
3601 * gio/gdesktopappinfo.c:
3602 Update to GAppInfo api changes
3603 Implement supports_xdg_startup_notify
3605 * gio/gfileicon.c (g_file_icon_get_file):
3606 Make getter non-reffing.
3611 2007-09-27 Alexander Larsson <alexl@redhat.com>
3613 * gio/gfileinfo.[ch]:
3614 Add g_file_size_format_for_display helper
3616 2007-09-27 Alexander Larsson <alexl@redhat.com>
3618 * gio/glocalfileinfo.c:
3619 Set UNIX_GID from gid, not from uid
3621 2007-09-27 Alexander Larsson <alexl@redhat.com>
3624 Add g_file_set_attributes_async
3626 2007-09-27 Alexander Larsson <alexl@redhat.com>
3628 * gio/glocalfile.c (g_local_file_set_display_name):
3629 Fix set_display_name to actually rename to the right place.
3630 Use lstat to look for existing files so we don't overwrite
3633 2007-09-26 Alexander Larsson <alexl@redhat.com>
3636 Add g_file_set_display_name_async()
3638 2007-09-26 Alexander Larsson <alexl@redhat.com>
3641 Add load_partial_contents async calls
3644 Make internal function static
3646 2007-09-26 Alexander Larsson <alexl@redhat.com>
3648 * gio/glocalfileinfo.c:
3649 Correctly detect broken symlinks
3651 2007-09-26 Alexander Larsson <alexl@redhat.com>
3653 * gio/gcancellable.c (g_cancellable_cancel):
3654 Allow cancel on NULL cancellable
3656 2007-09-25 Alexander Larsson <alexl@redhat.com>
3658 * gio/gsimpleasyncresult.c:
3659 Don't allocate g_error manually.
3660 Fixes g_slice/g_new mixup crash
3662 2007-09-25 Alexander Larsson <alexl@redhat.com>
3664 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3665 Actually set active_backend.
3666 This means the monitor will be cancelled correctly.
3668 2007-09-25 Alexander Larsson <alexl@redhat.com>
3670 * gio/gdirectorymonitor.c:
3671 Set timeout to NULL when destroying
3673 2007-09-25 Alexander Larsson <alexl@redhat.com>
3676 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3677 that is a better description of the error.
3679 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3681 * gio/gvfs.c: (g_vfs_get_local):
3682 Make the local vfs variable static. The same instance should
3685 2007-09-24 Alexander Larsson <alexl@redhat.com>
3687 * gio/glocalfileinfo.c:
3688 Pass in actual length read into sniffer, not the length
3691 2007-09-21 Alexander Larsson <alexl@redhat.com>
3693 * gio/gfileenumerator.c:
3696 * gio/gfileinputstream.c:
3697 * gio/gfileoutputstream.c:
3698 * gio/ginputstream.c:
3699 * gio/goutputstream.c:
3700 Don't crash if async callbacks are NULL
3702 2007-09-20 Alexander Larsson <alexl@redhat.com>
3705 Add async enumerate_children method and default
3708 2007-09-20 Alexander Larsson <alexl@redhat.com>
3711 Add g_file_contains_file & g_file_get_relative_path, since they
3712 were needed for nautilus.
3713 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3718 Implement new methods
3720 2007-09-17 Alexander Larsson <alexl@redhat.com>
3723 * gio/gfileinputstream.[ch]:
3724 * gio/gfileoutputstream.[ch]:
3726 * gio/glocalfileenumerator.[ch]:
3727 * gio/glocalfileinfo.[ch]:
3728 * gio/glocalfileinputstream.c:
3729 * gio/glocalfileoutputstream.c:
3730 * gio/gpollfilemonitor.c:
3731 * programs/gio-copy.c:
3732 * programs/gio-info.c:
3733 * programs/gio-move.c:
3734 Rename get_file_info to query_info() to make it clearer
3735 that these are not simple getters, but do i/o.
3737 2007-09-17 Alexander Larsson <alexl@redhat.com>
3739 * gio/gdatainputstream.[ch]:
3740 * gio/test-streams.c:
3741 Use _read_XXX instead of _get_XXX for the i/o calls
3744 2007-09-17 Alexander Larsson <alexl@redhat.com>
3747 Added needed stuff to TODO comment
3749 2007-09-17 Alexander Larsson <alexl@redhat.com>
3751 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3752 Don't error out removing the backup copy if it doesn't
3755 2007-09-14 Alexander Larsson <alexl@redhat.com>
3757 * programs/Makefile.am:
3758 * programs/gvfs-*.c:
3760 Renamed apps from gvfs-xxx to gio-xxx.
3762 2007-09-14 Alexander Larsson <alexl@redhat.com>
3765 * gio/gfileoutputstream.[ch]:
3766 * gio/glocalfileoutputstream.c:
3767 * programs/gvfs-save.c:
3768 g_file_output_stream_get_etag doesn't do i/o, so remove
3769 cancellation and error.
3771 2007-09-14 Alexander Larsson <alexl@redhat.com>
3774 Add new_etag output to replace_contents functions
3776 2007-09-14 Alexander Larsson <alexl@redhat.com>
3778 * gio/gfileoutputstream.[ch]:
3779 Add async get_file_info and default implementation
3781 2007-09-14 Alexander Larsson <alexl@redhat.com>
3783 * gio/gfileinputstream.c:
3784 Implement fallback wrapper for async get_file_info
3786 2007-09-14 Alexander Larsson <alexl@redhat.com>
3789 Add etag out argument to load_contents
3794 2007-09-14 Alexander Larsson <alexl@redhat.com>
3796 * gio/gcontenttype.c (looks_like_text):
3797 Whitespace like tab, cr and lf do not make the
3800 2007-09-14 Alexander Larsson <alexl@redhat.com>
3802 * gio/gfileinputstream.[ch]:
3803 Add async get_file_info.
3805 2007-09-13 Alexander Larsson <alexl@redhat.com>
3807 * gio/goutputstream.c (g_output_stream_write_all):
3808 Allow NULL for bytes_written
3810 2007-09-13 Alexander Larsson <alexl@redhat.com>
3812 * gio/gmemoryinputstream.[ch]:
3813 Add accessors for data
3815 2007-09-13 Alexander Larsson <alexl@redhat.com>
3817 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3818 Don't crash if length is NULL