1 2008-03-12 Tor Lillqvist <tml@novell.com>
3 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
4 normal struct stat on Unix but struct _stati64 on Windows to have
5 access to 64-bit file size information. Use that instead of struct
6 stat in the functions declared here in this private header.
8 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
9 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
10 warnings about unused functions and variables. Don't set
11 meaningless attributes like inode numbers on Windows.
13 2008-03-12 Benjamin Otte <otte@gnome.org>
16 trim whitespace so gtk-doc groks the function name
18 2008-03-12 Tor Lillqvist <tml@novell.com>
20 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
21 returning FALSE, on Win32.
23 2008-03-11 Alexander Larsson <alexl@redhat.com>
26 * glocalfileinfo.[ch]:
27 Correctly implement can_trash by actually
28 looking for a trash dir, not just assuming
31 2008-03-10 Matthias Clasen <mclasen@redhat.com>
33 * === Released 2.16.1 ===
35 2008-03-11 Alexander Larsson <alexl@redhat.com>
38 Fix crashes in new constructor and properties code
40 2008-03-10 Murray Cumming <murrayc@murrayc.com>
42 * gfile.c: Minor spelling correction in documentation:
43 existance -> existence.
45 2008-03-10 Matthias Clasen <mclasen@redhat.com>
47 * === Released 2.16.0 ===
49 2008-03-10 Matthias Clasen <mclasen@redhat.com>
51 * gio.symbols: Remove g_file_contains_file here, too.
53 2008-03-10 Matthias Clasen <mclasen@redhat.com>
55 * gthemedicon.c: Add properties to make bindings happy. (#517676,
56 Samuel Cormier-Iijima)
58 2008-03-08 Tor Lillqvist <tml@novell.com>
60 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
63 2008-03-07 Alexander Larsson <alexl@redhat.com>
66 (g_local_file_query_filesystem_info):
67 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
68 Patch from Jasper Lievisse Adriaanse
70 2008-03-06 Tor Lillqvist <tml@novell.com>
72 * gfileinfo.h: Correct milliseconds to microseconds in the doc
73 comments for the *_USEC attributes.
75 2008-03-06 Alexander Larsson <alexl@redhat.com>
77 * gfile.c (g_file_query_exists):
78 Add g_return_val_if_fail check (#520700)
80 2008-03-06 Alexander Larsson <alexl@redhat.com>
85 * gunionvolumemonitor.c:
88 * tests/live-g-file.c:
89 * xdgmime/xdgmimecache.c:
90 Fix sparse warnings (#519489)
92 2008-03-05 Alexander Larsson <alexl@redhat.com>
95 Make cancellation threadsafe (i.e.
96 guarantee its only done once, and always
99 * glocaldirectorymonitor.c:
100 Make sure we the monitor lives while the
101 mounts_changed callback is being called (#520484)
103 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
105 * gbufferedinputstream.c: Fix typo in parameter
108 2008-03-04 Alexander Larsson <alexl@redhat.com>
111 Remove deprecated symbols we kept for one release.
113 2008-03-04 Murray Cumming <murrayc@murrayc.com>
116 * goutputstream.c: Tiny documentation corrections.
118 2008-03-03 Alexander Larsson <alexl@redhat.com>
120 * gunionvolumemonitor.c:
122 Fix the adopt_orphan_mount vfunc to take a
123 volume_monitor reference in an ABI compat way.
124 This change is not API compat, but the added
125 arg is not used in the only user of this vfunc, so
126 all we get is a harmless warning in gvfs (#520169)
128 2008-03-01 Benjamin Otte <otte@gnome.org>
131 clarify docs for g_file_delete().
133 2008-02-29 Alexander Larsson <alexl@redhat.com>
137 Make sure empty files get text/plain type (#518720)
139 2008-02-27 Alexander Larsson <alexl@redhat.com>
145 (g_unix_volume_mount):
146 Add missing GMountMountFlags argument
148 2008-02-26 Alexander Larsson <alexl@redhat.com>
151 (g_local_file_delete):
152 Handle filesystems (like ntfs-3g) that return EEXIST instead
153 of ENOTEMPTY (#518816)
155 2008-02-25 Matthias Clasen <mclasen@redhat.com>
157 * === Released 2.15.6 ===
159 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
161 * gfile.c (g_file_find_enclosing_mount):
162 * ginputstream.c (g_input_stream_set_pending):
163 * glocalfile.c (g_local_file_find_enclosing_mount):
164 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
165 * goutputstream.c (g_output_stream_set_pending):
167 Fixup translator comments (#518578).
169 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
171 * gfile.c (g_file_find_enclosing_mount):
173 * glocalfile.c (g_local_file_find_enclosing_mount):
176 Fix a few typos in translator comments and documentation.
178 2008-02-25 Alexander Larsson <alexl@redhat.com>
185 Add translator comments (#518578)
187 2008-02-25 Alexander Larsson <alexl@redhat.com>
190 Reintroduce g_file_contains_file, keep around for one
191 unstable release cycle to avoid crashing to many apps.
192 Make sure to delete after release.
194 2008-02-25 Alexander Larsson <alexl@redhat.com>
197 Remove deprecated g_file_contains_file.
199 2008-02-25 Alexander Larsson <alexl@redhat.com>
202 Emit actual change signals in an idle handler.
203 This avoids reentrance and locking problems in
204 the file notification backends.
206 2008-02-25 Alexander Larsson <alexl@redhat.com>
209 (g_unix_mount_guess_should_display):
210 Remove type guessing, instead just display
211 mounts in /media and in ~/.
213 2008-02-25 Alexander Larsson <alexl@redhat.com>
216 Make new strings reuse old ones.
218 2008-02-25 Alexander Larsson <alexl@redhat.com>
221 Implement trashing and filesystem::readonly for win32 (#517235)
222 Patch from Yevgen Muntyan
224 2008-02-23 Matthias Clasen <mclasen@redhat.com>
226 * gfileinfo.h: Documentation fixes.
228 2008-02-22 Alexander Larsson <alexl@redhat.com>
230 * gcontenttype.c (g_content_type_get_icon):
231 Look at old-style gnome mime icon names too, as many
232 have not moved to the new style.
234 2008-02-21 Matthias Clasen <mclasen@redhat.com>
236 * *.c: Correct the @include in for section docs.
238 2008-02-21 David Zeuthen <davidz@redhat.com>
240 * glocalfileinfo.c: (_g_local_file_info_get):
242 (g_content_type_get_icon): Implement this function by
243 moving bits from glocalfileinfo.c
244 (g_content_type_get_description): Unalias before getting
245 description (#517687)
247 * gfile.c: (g_file_class_init),
248 (g_file_query_filesystem_info_async),
249 (g_file_query_filesystem_info_finish),
250 (query_filesystem_info_data_free),
251 (query_filesystem_info_async_thread),
252 (g_file_real_query_filesystem_info_async),
253 (g_file_real_query_filesystem_info_finish):
254 * gfile.h: Implement async version of
255 g_file_query_filesystem_info()
257 * gfileinfo.h: Add new attributes for filesystem::use-preview
259 * gio.symbols: Update
261 * gthemedicon.c: (g_themed_icon_append_name):
262 * gthemedicon.h: Add new new convenience function.
264 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
265 (get_mounts), (get_volumes), (get_connected_drives),
266 (get_volume_for_uuid), (get_mount_for_uuid),
267 (g_union_volume_monitor_init), (populate_union_monitor),
268 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
269 (g_volume_monitor_adopt_orphan_mount):
271 * gvolumemonitor.h: Use recursive locks so it's safe for volume
272 monitor implementations to call into the main volume monitor. Also
273 separate object initialization and volume monitor initialization
274 such that non-native volume monitors can properly adopt their
277 2008-02-21 Alexander Larsson <alexl@redhat.com>
282 2008-02-21 Alexander Larsson <alexl@redhat.com>
285 Add more documentation about how GFiles work (from #517086)
287 2008-02-21 Alexander Larsson <alexl@redhat.com>
291 Add new g_file_has_prefix that does the same as g_file_contains_file.
292 Deprecate g_file_contains_file and add a macro that converts
293 it to g_file_has_prefix.
294 The reason for this change is that the contains_file() name seems to
295 imply that this does more work than what it does, but its really only
296 a name match (from #517086)
301 Update to match the above change.
303 2008-02-20 Benjamin Otte <otte@gnome.org>
305 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
306 (g_file_eject_mountable):
307 even more cases of not returning in error path
309 2008-02-20 Benjamin Otte <otte@gnome.org>
311 * gfile.c: (g_file_mount_mountable):
312 return from function in error path.
314 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
317 Remove trailing coma in GMountMountFlags struct
319 2008-02-18 Alexander Larsson <alexl@redhat.com>
323 * glocalfileoutputstream.c:
324 Use g_unlink/g_rename instead of unlink/rename;
325 do not pass raw filenames to g_set_error. (#517239)
326 Patch from Yevgen Muntyan.
328 2008-02-18 Alexander Larsson <alexl@redhat.com>
331 * glocalfileoutputstream.c:
332 Open files with O_BINARY on windows. (#517140)
334 2008-02-14 Alexander Larsson <alexl@redhat.com>
336 * glocalfileoutputstream.c:
337 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
339 2008-02-14 Alexander Larsson <alexl@redhat.com>
342 Copy permissions with file on copy (#514084)
343 This is what cp does and makes sure e.g. the
344 exec permissions are kept.
345 Its kinda weird in that it keeps the permission bits
346 the same while the uid and gid are different. However
347 the new uid is the user so its not a security issue,
348 and I've heard no complaints about cp on this issue.
350 2008-02-13 Ryan Lortie <desrt@desrt.ca>
352 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
354 2008-02-13 Alexander Larsson <alexl@redhat.com>
356 * inotify/inotify-path.c:
357 Define IN_ONLYDIR if not in header (#515346)
359 2008-02-12 Alexander Larsson <alexl@redhat.com>
361 * tests/live-g-file.c:
364 2008-02-11 Matthias Clasen <mclasen@redhat.com>
366 * === Released 2.15.5 ===
368 2008-02-11 Matthias Clasen <mclasen@redhat.com>
370 * gio.symbols: Add g_mount_mount_flags_get_type.
372 2008-02-11 Alexander Larsson <alexl@redhat.com>
375 (g_file_info_set_attribute_mask):
376 (g_file_attribute_matcher_matches_id):
377 Correctly handle NULL GAttributeMatcher meaning
378 matches nothing. (Fixes #513492)
380 2008-02-11 Alexander Larsson <alexl@redhat.com>
385 Added GMountMountFlags enum and added a flags
386 argument to all mount calls.
388 This is an API/ABI change for future extensibility,
389 as I think we will need at least an
390 inhibit-autorun flag (the panel needs this).
391 There are no flags defined yet though.
393 2008-02-11 Alexander Larsson <alexl@redhat.com>
396 Added new standard::description attribute.
397 Requested by Vincent, and useful for both
400 2008-02-11 Alexander Larsson <alexl@redhat.com>
405 2008-02-11 Matthias Clasen <mclasen@redhat.com>
407 * *.c: Documentation additions
409 2008-02-10 Matthias Clasen <mclasen@redhat.com>
411 * gappinfo.h: Formatting cleanup
412 * gappinfo.c: Fix up docs.
414 2008-02-09 Matthias Clasen <mclasen@redhat.com>
416 * gunixmounts.c: Consistently use getmntent_r() and fall
417 back to getmntent(). (#515492)
419 2008-02-09 Matthias Clasen <mclasen@redhat.com>
421 * gbufferedinputstream.c:
423 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
425 * tests/data-input-stream.c:
426 * tests/data-output-stream.c: Portability fixes.
428 2008-02-08 Alexander Larsson <alexl@redhat.com>
433 Add g_volume_should_automount.
436 2008-02-07 Tor Lillqvist <tml@novell.com>
438 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
439 Win32, too Unix-specific.
441 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
443 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
444 a local plt if the compiler doesn't support what we want. Bug #514702
446 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
448 reviewed by: <delete if not using a buddy>
451 * gunixinputstream.c:
452 * gunixoutputstream.c:
454 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
457 * tests/live-g-file.c:
458 * tests/live-g-file.txt:
459 New GIO testing module working over real data
461 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
463 * glocalfileoutputstream.c (g_local_file_output_stream_close):
464 Fallback to rename() if link() is not available
465 (when no support on target filesystem)
467 2008-02-06 Michael Natterer <mitch@imendio.com>
469 * gfileinfo.c (g_file_info_get_icon): replace
470 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
472 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
474 * gfile.c (g_file_create):
475 Documentation update of error codes
477 2008-02-06 Alexander Larsson <alexl@redhat.com>
480 Update to use both mimeapps.list and
481 defaults.list as discussed on xdg list.
483 2008-02-06 Benjamin Otte <otte@gnome.org>
486 * gfilenamecompleter.c:
487 Fix some typos in the documentation.
489 2008-02-06 Alexander Larsson <alexl@redhat.com>
491 * glocalfile.c (g_local_file_trash):
492 Don't succeed with trash if newly created
493 trash dir has the wrong owner. (#514696)
495 2008-02-05 Alexander Larsson <alexl@redhat.com>
497 * glocalfile.c (g_local_file_move):
498 Don't spew warnings when destination is not
501 2008-02-03 Hans Breuer <hans@breuer.org>
503 * makefile.msc : update
505 2008-02-01 Michael Natterer <mitch@imendio.com>
507 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
508 return value of xdg_mime_list_mime_parents() to a variable of the
511 2008-02-01 Alexander Larsson <alexl@redhat.com>
513 * gappinfo.c (g_app_info_launch_uris):
514 Actually call the launch_uris method, not
517 2008-02-01 Alexander Larsson <alexl@redhat.com>
519 * gdesktopappinfo.c (g_desktop_app_info_equal):
520 Ensure appinfos with no id but same pointer value
523 2008-02-01 Alexander Larsson <alexl@redhat.com>
525 * gappinfo.c (g_app_info_launch_default_for_uri):
528 2008-02-01 Alexander Larsson <alexl@redhat.com>
532 Add g_app_info_launch_default_for_uri utility
535 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
538 Doc fix for g_app_info_get_default_for_uri_scheme ()
541 2008-01-30 Alexander Larsson <alexl@redhat.com>
544 Add doc comment about uris vs GFiles to
548 Ensure uris passed to g_app_info_launch_uris()
549 are not roundtriped through GFile (as that
550 may be slightly destructive for e.g. mailto: links)
552 2008-01-30 Alexander Larsson <alexl@redhat.com>
554 * tests/data-input-stream.c:
555 * tests/data-output-stream.c:
556 C89 fixes from Jens Granseuer (#512849)
558 2008-01-30 Alexander Larsson <alexl@redhat.com>
561 Fix gamin/fam difference build issue. (#509419)
563 2008-01-29 Alexander Larsson <alexl@redhat.com>
567 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
569 2008-01-29 Alexander Larsson <alexl@redhat.com>
573 giomodule-priv.h include moved to .c file.
575 2008-01-29 Alexander Larsson <alexl@redhat.com>
577 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
578 Remove unused prio/name fields.
580 2008-01-29 Alexander Larsson <alexl@redhat.com>
582 * gcontenttype.c (looks_like_text):
583 Don't treat whitespace as control chars.
585 2008-01-29 Alexander Larsson <alexl@redhat.com>
588 Lazily create the desktop files for appinfos created
589 by g_app_info_create_from_commandline() when needed
590 for mime associations. This allows run-time use
591 of GAppInfo object without creating unnecessary
594 2008-01-29 Alexander Larsson <alexl@redhat.com>
597 Added new symbols to gio.symbols
599 2008-01-29 Alexander Larsson <alexl@redhat.com>
602 Add g_file_query_default_handler utility to easily look up
603 the GAppInfo that handles a file.
605 * gdesktopappinfo.[ch]:
607 Set up an extension point for g_app_info_get_default_for_uri_scheme()
610 Remove unused function
612 2008-01-29 Alexander Larsson <alexl@redhat.com>
615 Mention need to free returned value in
616 g_file_enumerator_next_files_finish docs.
617 Fix leak if g_file_enumerator_next_files_finish()
620 2008-01-29 Alexander Larsson <alexl@redhat.com>
623 (_g_unix_content_type_get_parents):
624 Use list_parents, not get_parents from xdgmime, because
625 the later doesn't use the cache.
627 * xdgmime/xdgmimecache.c:
628 (_xdg_mime_cache_list_mime_parents):
629 Don't list the same type as parent multiple times.
631 2008-01-28 Matthias Clasen <mclasen@redhat.com>
633 * === Released 2.15.4 ===
635 2008-01-28 Alexander Larsson <alexl@redhat.com>
638 Register local vfs with prio 0.
641 Remove old name and prio class members
643 2008-01-28 Matthias Clasen <mclasen@redhat.com>
645 * tests/g-file.c: Disable some tests that are failing in
646 the absence of a http backend.
648 2008-01-28 Alexander Larsson <alexl@redhat.com>
652 Add registration hooks for extension points.
653 Register the gio extension points.
655 * fam/gfamdirectorymonitor.c:
656 * fam/gfamfilemonitor.c:
657 * glocaldirectorymonitor.[ch]:
658 * glocalfilemonitor.[ch]:
659 * gnativevolumemonitor.h:
660 * gunionvolumemonitor.c:
661 * gunixvolumemonitor.c:
664 * inotify/ginotifydirectorymonitor.c:
665 * inotify/ginotifyfilemonitor.c:
666 Use the extension points registration instead
667 of g_type_children().
669 2008-01-28 Matthias Clasen <mclasen@redhat.com>
672 * gvolume.[hc]: Document new API.
674 * gfile.c (g_file_copy_async): Fix docs
676 2008-01-27 Matthias Clasen <mclasen@redhat.com>
678 * gbufferedinputstream.c:
680 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
683 2008-01-27 Matthias Clasen <mclasen@redhat.com>
685 * glocalfile.c: Avoid trivial differences in translatable strings.
687 2008-01-25 Matthias Clasen <mclasen@redhat.com>
689 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
690 build with gcc 3.4 (#509419)
692 2008-01-25 Matthias Clasen <mclasen@redhat.com>
694 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
695 (#509994, Murray Cumming)
697 2008-01-25 Matthias Clasen <mclasen@redhat.com>
699 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
700 * gioscheduler.c: Keep calling io jobs until they return FALSE;
701 this allows big jobs to be executed in chunks, instead of blocking
702 the main loop for a long time.
704 * gsimpleasyncresult.c:
705 * giofile.c: Adapt callers.
707 2008-01-25 Alexander Larsson <alexl@redhat.com>
710 Implement changes discussed on xdg list.
711 Now we can add supported mimetypes by just using defaults.list
712 We can also remove associations in defaults.list.
714 2008-01-25 Alexander Larsson <alexl@redhat.com>
717 Don't make local copy of desktop file
718 for mimetype changes if the file already
719 supports the new mimetype.
721 2008-01-25 Matthias Clasen <mclasen@redhat.com>
725 * gbufferedinputstream.c:
726 * glocalfile.c: String improvements. (#511966,
727 Theppitak Karoonboonyanan)
729 2008-01-24 Matthias Clasen <mclasen@redhat.com>
731 * gioscheduler.h: Expand docs a bit.
733 2008-01-24 Alexander Larsson <alexl@redhat.com>
736 Add g_drive_get_identifier and
737 g_drive_enumerate_identifiers
740 Add g_volume_get_identifier and
741 g_volume_enumerate_identifiers
747 Implement identifiers for unix backend
749 2008-01-24 Alexander Larsson <alexl@redhat.com>
754 Add g_file_copy_async() (#511580)
755 Based on patch from Carlos Garcia Campos
757 2008-01-23 Matthias Clasen <mclasen@redhat.com>
759 * gioscheduler.c: Some documentation additions.
761 2008-01-22 Alexander Larsson <alexl@redhat.com>
764 (g_desktop_app_info_new):
767 2008-01-22 Alexander Larsson <alexl@redhat.com>
770 (g_desktop_app_info_new_from_filename):
773 2008-01-22 Alexander Larsson <alexl@redhat.com>
775 * glocalfileinfo.c (get_thumbnail_attributes):
778 2008-01-22 Alexander Larsson <alexl@redhat.com>
781 (canonicalize_filename):
782 Canonicalize paths that start with more than
787 (test_g_file_new_for_path):
790 2008-01-22 Alexander Larsson <alexl@redhat.com>
793 Allow UTF-8 in file:// parse names.
796 * tests/data-input-stream.c:
797 * tests/data-output-stream.c:
798 * tests/g-file-info.c:
800 Added a bunch of tests from Tomas Bzatek
802 2008-01-21 Matthias Clasen <mclasen@redhat.com>
804 * === Released 2.15.3 ===
806 2008-01-21 Alexander Larsson <alexl@redhat.com>
808 * gfileinputstream.[ch]:
809 * gfileoutputstream.[ch]:
811 Remove duplicated GSeekable functions. (#509990)
812 Just use the g_seekable_xxx() calls instead.
814 2008-01-21 Matthias Clasen <mclasen@redhat.com>
817 * gvolumemanager.c: Whitespace cleanups.
819 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
820 Use the right mode when creating the file.
822 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
825 * gfileinputstream.c:
827 * goutputstream.c: Documentation: Fixed minor typos
828 and added more mentions of specific _finish() functions.
830 2008-01-21 Alexander Larsson <alexl@redhat.com>
832 * inotify/Makefile.am:
833 * inotify/inotify-helper.c:
834 * inotify/inotify-kernel.c:
835 * inotify/inotify-path.c:
836 * inotify/local_inotify.h: Removed.
837 * inotify/local_inotify_syscalls.h: Removed.
838 Removed the included copies of the inotify
839 headers. We now only use the <sys/inotify.h>
840 header which exists on modern systems.
841 This fixes problems on ARM and SH5 (#510448)
842 but is also generally much cleaner and future
843 safe. For instance, if other OSes add support
844 for inotify it should "just work".
846 2008-01-20 Matthias Clasen <mclasen@redhat.com>
848 * inotify/*.c: Coding style fixes.
849 * inotify/inotify-missing.c: Use g_timeout_add_seconds
850 for the 1/4 Hz timer.
852 2008-01-20 Matthias Clasen <mclasen@redhat.com>
856 * gmemoryinputstream.c:
857 * gmemoryoutputstream.c:
859 * gthemedicon.c: Documentation updates
861 2008-01-20 Murray Cumming <murrayc@murrayc.com>
863 * gfile.c: documentation: Fixed more minor
866 2008-01-18 Murray Cumming <murrayc@murrayc.com>
868 * gmount.c: (g_mount_remount): documentation:
869 Mention g_mount_remount_finish() instead of
870 g_mount_unmount_finish().
872 2008-01-18 Murray Cumming <murrayc@murrayc.com>
876 * gfile.c: Fixed some minor typos in the
879 2008-01-18 Murray Cumming <murrayc@murrayc.com>
881 * gio/gvolumemonitor.c:
882 (g_volume_monitor_get_connected_drives):
883 (g_volume_monitor_get_volumes):
884 (g_volume_monitor_get_mounts): Documentation:
885 Clarify the ownership of the regurn GLists.
887 2008-01-17 Alexander Larsson <alexl@redhat.com>
890 Add the async find_enclosing_mount version
891 to the header file too.
893 2008-01-17 Alexander Larsson <alexl@redhat.com>
896 Add async version of find_enclosing_mount
897 with default implementation.
899 2008-01-17 Alexander Larsson <alexl@redhat.com>
904 Allow calls to implementation of copy and write
905 even if the type of the file implementations is
906 different. This can be used to implement native
907 upload and download calls in a vfs.
911 Protect against the case where move is called
912 with one file not being local.
914 Make sure we call the progress callback once
915 in the native move operation so that the caller
916 knows how many bytes were copied.
918 2008-01-16 Murray Cumming <murrayc@murrayc.com>
921 * gdatainputstream.c:
923 * gfileoutputstream.c:
928 * gunixmounts.c: Corrected some typos in the documentation:
930 its -> it's (where appropriate).
932 2008-01-16 Alexander Larsson <alexl@redhat.com>
936 Add g_file_query_exists (#508771)
938 2008-01-15 Murray Cumming <murrayc@murrayc.com>
943 * gvolume.c: For async functions that have no non-async
944 version, document that the GAsyncReadyCallback may be NULL.
947 2008-01-15 Alexander Larsson <alexl@redhat.com>
949 * gmemoryinputstream.c:
950 * gmemoryoutputstream.c:
951 Don't do pointer arithmetic on void * (#508602)
952 Patch from Kazuki IWAMOTO
954 2008-01-14 Matthias Clasen <mclasen@redhat.com>
956 * === Released 2.15.2 ===
958 2008-01-14 Alexander Larsson <alexl@redhat.com>
960 * gfile.c (g_file_monitor_file):
961 Don't set error here, since we fallback to polling monitor.
963 2008-01-14 Alexander Larsson <alexl@redhat.com>
966 (g_file_monitor_directory):
967 (g_file_monitor_file):
968 Add GError to file monitor calls
970 * glocaldirectorymonitor.c:
971 * glocaldirectorymonitor.h:
973 * glocalfilemonitor.c:
974 * glocalfilemonitor.h:
976 Update for above change
978 2008-01-14 Alexander Larsson <alexl@redhat.com>
982 Handle root correctly in g_file_get_relative_path (#508719)
984 2008-01-14 Alexander Larsson <alexl@redhat.com>
987 Clean up docs and example for GAsyncResult (#508074)
989 2008-01-11 Murray Cumming <murrayc@murrayc.com>
991 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
992 and correct some spelling mistakes. Bug #508108.
994 2008-01-11 Matthias Clasen <mclasen@redhat.com>
996 * glocalfileinfo.c: Add a comment.
998 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1000 * gfileinfo.c: GFileInfo description: Mention
1001 how to actually set attributes in a GFile and how to discover
1002 which attributes are settable. Bug #508378.
1004 2008-01-10 A. Walton <awalton@svn.gnome.org>
1006 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1007 (g_app_info_get_default_for_type):
1008 Check for NULL content types.
1010 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1012 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1014 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1016 * gfile.c: *_async() functions: Several small corrections
1017 to the documentation, mostly correcting copy/paste errors
1018 and improving some sentences.
1020 2008-01-09 Dan Winship <danw@gnome.org>
1022 * glocalfile.c (get_unique_filename): x86_64 fix
1024 2008-01-09 Alexander Larsson <alexl@redhat.com>
1029 Add g_unix_mount_guess_should_display and use
1030 for unix volume monitor backend.
1031 This means we more or less show what the
1032 gnome-vfs backend did.
1033 Based on patch from Padraig O'Briain
1035 2008-01-09 Alexander Larsson <alexl@redhat.com>
1039 Add g_themed_icon_new_with_default_fallbacks
1042 Use default fallbacks for icons
1044 2008-01-09 Alexander Larsson <alexl@redhat.com>
1047 * gmountoperation.[ch]:
1048 Change the API a bit so that unhandled methods
1049 get reported via the reply, rather than by
1050 the signal emission return value. This is because
1051 some handlers can't know this immediately without
1052 doing I/O, and this is an async operation that
1055 2008-01-09 Alexander Larsson <alexl@redhat.com>
1058 * fam/gfamdirectorymonitor.c:
1059 * fam/gfamfilemonitor.c:
1060 Fix double free crash (#508224)
1061 Patch from Joe Marcus Clarke
1063 008-01-07 Matthias Clasen <mclasen@redhat.com>
1065 * === Released 2.15.1 ===
1067 2008-01-07 Alexander Larsson <alexl@redhat.com>
1069 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1070 Fix warning (#507835)
1072 2008-01-07 Alexander Larsson <alexl@redhat.com>
1075 Pass --internal to glib-genmarshal
1078 * gmountoperation.c:
1080 Use better types for signal arguments (#507822)
1082 2008-01-07 Alexander Larsson <alexl@redhat.com>
1085 Build test subdir after .
1086 Remove gdirectorymonitor.[ch]
1088 * gdirectorymonitor.[ch]:
1092 Remove GDirectoryMonitor and make
1093 GFileMonitor the baseclass for both file and
1094 directory monitors. Lift the more generic
1095 rate limiting code from GDirectoryMonitor
1099 * fam/gfamdirectorymonitor.[ch]:
1100 * inotify/ginotifydirectorymonitor.[ch]:
1101 * inotify/inotify-helper.c:
1102 * glocaldirectorymonitor.[ch]:
1105 Update for the removed GDirectoryMonitor.
1107 * gmemoryoutputstream.c:
1108 Remove ununsed variable
1110 2008-01-07 Alexander Larsson <alexl@redhat.com>
1112 * gmemoryinputstream.c:
1113 Translate error strings
1116 * gmemoryoutputstream.[ch]:
1117 New implementation that avoids using GByteArray
1118 in implementation and API. (#506377)
1120 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1122 * tests/*: Add a test for memory input streams.
1124 * Makefile.am: Add tests to SUBDIRS.
1126 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1128 * glocalfilemonitor.c:
1129 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1132 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1134 * gdesktopappinfo.c: Fix a docs typo.
1136 * gfileattribute.c: Add information about extended attributes
1137 to the documentation. (#505058)
1139 2008-01-04 Alexander Larsson <alexl@redhat.com>
1142 * gmountoperation.c:
1143 Use the right type (uint) for the ask_password signal.
1145 2008-01-04 Alexander Larsson <alexl@redhat.com>
1150 Add g_app_info_supports_files()
1151 Remove desktop arg from g_app_info_should_show().
1153 * gdesktopappinfo.[ch]:
1154 Implement g_app_info_supports_files() and new should_show()
1155 Add g_desktop_app_info_set_desktop_env() to set the desktop
1156 for should_show(). (This will be set by gtk+ later)
1158 2008-01-04 Alexander Larsson <alexl@redhat.com>
1161 * gmemoryinputstream.[ch]:
1162 Improve API so that you can use multiple chunks
1163 of memory and custom destroy functions. (#506374)
1165 2008-01-03 Alexander Larsson <alexl@redhat.com>
1168 Handle NULL attribute matchers safely, as we return this
1169 for empty attribute matcher strings.
1171 2008-01-03 Alexander Larsson <alexl@redhat.com>
1173 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1174 Add /usr/local to list of internal mountpoints
1176 2008-01-03 Alexander Larsson <alexl@redhat.com>
1179 Check for HAVE_LCHOWN (#505887)
1181 2008-01-03 Alexander Larsson <alexl@redhat.com>
1185 Add define for selinux context attribute.
1186 Fix missing : -> :: namespace separator change
1187 Fix missing _ -> - name change for xattr-sys.
1190 2008-01-03 Alexander Larsson <alexl@redhat.com>
1193 Link to libglib and libgobject directly (#504879)
1194 Patch from Sebastien Bacher
1196 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1198 * gfile.c: Expanded the g_file_new_for_commandline_arg
1199 description a bit, based on the code and the docs of the
1200 other g_file_new_for_* functions.
1202 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1204 * gfilemonitor.h: Fixed typo in docs.
1206 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1208 Updates to GIO documentation. (#506395, Mikael Hermansson)
1210 * gcontenttype.c: Describe memory management for return value of
1211 g_content_types_get_registered(). Missing piece from #505815.
1212 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1213 GVolume, GDrive, GMounts, which hopefully gives the user less
1214 confusions when using this API. Following explainations from
1215 Alexander Larsson on gtk-devel-list.
1217 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1219 * gfileinfo.c: Expand the long description.
1221 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1224 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1225 fix builds with --disable-visibility. (#500273, Christian Persch)
1227 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1229 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1230 in the list of returned app infos.
1232 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1234 * gappinfo.c: Fix a cross-reference
1236 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1238 * gfileinputstream.c:
1239 * gfileoutputstream.c:
1243 * gdesktopappinfo.c:
1245 * gfileinfo.c: Documentation updates.
1247 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1249 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1252 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1254 * gcontenttype.c (g_content_types_get_registered): Don't return
1255 freed memory (#505815, Mikael Hermansson)
1257 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1259 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1260 used to detect statbuf->st_blocks. (#505042)
1262 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1264 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1265 environment handling. (#504829, Cosimo Cecchi)
1267 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1269 * gappinfo.c: Doc improvements
1271 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1274 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1276 * === Released 2.15.0 ===
1278 2007-12-20 Hans Breuer <hans@breuer.org>
1280 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1281 with symbols gwin32appinfo.obj, added gmount.obj
1282 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1284 2007-12-20 Alexander Larsson <alexl@redhat.com>
1290 * gfilenamecompleter.c:
1293 * gpollfilemonitor.c:
1294 File attribute renames:
1296 fs:: -> filesystem::
1297 id::fs -> id::filesystem
1299 2007-12-20 Alexander Larsson <alexl@redhat.com>
1308 Add GMountUnmountFlags to all unmount and
1310 Add g_mount_remount() call.
1312 2007-12-20 Alexander Larsson <alexl@redhat.com>
1314 * gvfs.c (get_default_vfs):
1315 Fix unused variable warning
1317 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1319 * pltcheck.sh: Update
1321 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1323 * gunionvolumemonitor.c:
1324 * gunixmount.c: Remove C99 comments
1326 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1328 * gio.symbols: Add some missing symbols
1330 2007-12-19 Alexander Larsson <alexl@redhat.com>
1333 Make g_io_modules_load_all_in_directory not unuse
1334 loaded modules so that users of it can do stuff
1336 Init internal "module" types.
1337 Initialize static prio and name for types so that
1338 we don't have to load modules to get it.
1340 * gnativevolumemonitor.h:
1342 Move is_supported to parent class so that
1343 non-native monitors can avoid being initialized
1344 too. (For instance GDaemonVolumeMonitor if we're
1345 not using GDaemonVfs.)
1347 * glocaldirectorymonitor.[ch]:
1348 * glocalfilemonitor.[ch]:
1349 * gunionvolumemonitor.c:
1350 * gunixvolumemonitor.c:
1352 Find plugins using the static prio+name to
1353 avoid unnecessarily loading the modules.
1355 2007-12-19 Alexander Larsson <alexl@redhat.com>
1360 2007-12-19 Alexander Larsson <alexl@redhat.com>
1362 * gunionvolumemonitor.c:
1363 Store the native type as GType, not class so that
1364 we can unload it. But still avoid unnecessarily
1367 2007-12-19 David Zeuthen <davidz@redhat.com>
1369 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1370 add signals 'disconnected' and 'eject-button' on GDrive. Add
1371 signal 'removed' on GVolume and 'unmounted' on GMount.
1373 * gdrive.c: (g_drive_base_init):
1375 * gfile.c: (g_file_mount_mountable),
1376 (g_file_mount_enclosing_volume):
1379 * gmount.c: (g_mount_base_init):
1381 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1382 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1383 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1387 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1389 * *.c: Fix up includes in the section docs.
1391 2007-12-17 Alexander Larsson <alexl@redhat.com>
1393 * gnativevolumemonitor.h:
1394 * gunionvolumemonitor.c:
1395 * gunixvolumemonitor.c:
1396 Add is_supported() to GNativeVolumeMonitorClass so
1397 that we can avoid having to create an object to see
1398 if the backend is supported at runtime.
1399 Also add name member and an env var to pick a specific
1400 volume monitor backend.
1404 Add cancellable to _g_mount_get_for_mount_path()
1406 * glocaldirectorymonitor.c:
1407 * glocalfilemonitor.c:
1408 Avoid loading and unloading modules while sorting.
1410 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1413 * gunixmounts.[hc]: Namespace waste reduction, move some
1414 g_get_unix_mount functions to the g_unix_mount namespace.
1417 * gunixvolumemonitor.c:
1419 * glocaldirectorymonitor.c: Update all callers.
1421 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1423 2007-12-17 Alexander Larsson <alexl@redhat.com>
1426 Add doc comments about what GFile operations are
1427 guaranteed to not block.
1429 2007-12-17 Alexander Larsson <alexl@redhat.com>
1432 Add missing #ifdef fixing OSX build.
1433 (#503334, patch from Richard Hult)
1435 2007-12-14 David Zeuthen <davidz@redhat.com>
1439 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1440 (g_mount_eject), (g_mount_eject_finish):
1442 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1443 (get_volume_for_uuid), (get_mount_for_uuid),
1444 (g_union_volume_monitor_class_init),
1445 (get_default_native_type_with_exclude), (get_default_native_type),
1446 (get_native_type), (update_native_type),
1447 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1448 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1449 (g_unix_mount_can_eject), (eject_unmount_cb),
1450 (eject_unmount_read_error), (eject_unmount_do),
1451 (g_unix_mount_unmount), (g_unix_mount_eject),
1452 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1453 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1454 (g_unix_mount_point_guess_can_eject):
1456 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1457 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1458 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1459 (g_unix_volume_mount), (g_unix_volume_eject),
1460 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1461 * gunixvolumemonitor.c: (get_volume_for_uuid),
1462 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1464 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1465 (g_volume_eject), (g_volume_eject_finish):
1467 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1468 (g_volume_monitor_get_mount_for_uuid):
1471 Provide eject() on both GMount and GVolume and utility functions
1472 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1473 ejected. Introduce the concept of UUID's and wire it into GVolume
1474 and GMount and provide API on GVolumeMonitor to find such
1475 instances. Also handle the case where an external
1476 GNativeVolumeMonitor fails to initialize. Lock around the
1477 _g_get_mount_for_mount_path() function such that volume monitor
1478 implementations won't have to do locking themselves.
1480 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1482 * gdesktopappinfo.c:
1488 * gvolume.h: Documentation updates
1490 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1493 * gfile.h: Doc updates
1495 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1498 * gdesktopappinfo.c: Use hash table iterators.
1500 2007-12-14 Alexander Larsson <alexl@redhat.com>
1503 * gfileattribute.[ch]:
1504 * gfileattribute-priv.h:
1505 Move GFileAttributeValue to a private header, as
1509 Make set_attribute take a type + a pointer instead
1510 of a GFileAttributeValue.
1513 Fix up for above changes.
1514 Add g_file_info_get_attribute_data to get
1515 all info in one call, g_file_info_get_attribute_status
1516 to get the status and g_file_info_get_attribute_as_string.
1520 * glocalfileinfo.[ch]:
1524 Make _guess_type static.
1526 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1529 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1530 made mkenums and friends use temporary files to avoid leaving
1531 empty generated files on failure (#503470).
1533 2007-12-14 Alexander Larsson <alexl@redhat.com>
1535 * gmountoperation.h:
1538 2007-12-14 Alexander Larsson <alexl@redhat.com>
1542 * gfileattribute.[ch]:
1545 * glocalfileoutputstream.c:
1546 * gmountoperation.[ch]:
1547 * goutputstream.[ch]:
1548 Clean up all flags enums to not have _FLAGS in them
1549 Make the names of some of the enums better.
1554 2007-12-14 Michael Natterer <mitch@imendio.com>
1556 * gio.symbols: fix g_io_scheduler symbol names.
1558 2007-12-14 Alexander Larsson <alexl@redhat.com>
1564 * gbufferedinputstream.h:
1565 * gbufferedoutputstream.h:
1568 * gdatainputstream.h:
1569 * gdataoutputstream.h:
1570 * gdesktopappinfo.h:
1571 * gdirectorymonitor.h:
1575 * gfileenumerator.h:
1578 * gfileinputstream.h:
1580 * gfilenamecompleter.h:
1581 * gfileoutputstream.h:
1582 * gfilterinputstream.h:
1583 * gfilteroutputstream.h:
1591 * gmemoryinputstream.h:
1592 * gmemoryoutputstream.h:
1594 * gmountoperation.h:
1597 * gsimpleasyncresult.h:
1599 * gunixinputstream.h:
1601 * gunixoutputstream.h:
1605 * inotify/Makefile.am:
1606 Only allow including <gio/gio.h> from apps
1608 2007-12-14 Alexander Larsson <alexl@redhat.com>
1610 * gioscheduler.[ch]:
1611 * gsimpleasyncresult.c:
1612 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1613 Split out the send_to_mainloop call into two versions instead
1614 of having the block argument.
1616 2007-12-13 Alexander Larsson <alexl@redhat.com>
1618 * gcancellable.[ch]:
1620 * gbufferedinputstream.c:
1621 * gfileenumerator.c:
1622 * gfileinputstream.c:
1623 * gfileoutputstream.c:
1627 g_push/pop_current_cancellable ->
1628 g_cancellable_push/pop_current
1630 2007-12-13 Alexander Larsson <alexl@redhat.com>
1634 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1636 2007-12-13 Alexander Larsson <alexl@redhat.com>
1638 * gmountoperation.h:
1639 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1641 2007-12-12 Alexander Larsson <alexl@redhat.com>
1644 Fix race condition when freeing proxy in
1645 g_io_job_send_to_mainloop().
1647 2007-12-12 Alexander Larsson <alexl@redhat.com>
1653 Make attribute namespace separator "::" instead of ":".
1654 Use - instead of _ as separator in attribute names.
1656 2007-12-12 Alexander Larsson <alexl@redhat.com>
1658 * gbufferedinputstream.h:
1659 * gbufferedoutputstream.h:
1660 * gdatainputstream.h:
1661 * gdataoutputstream.h:
1662 * gdirectorymonitor.h:
1663 * gfileenumerator.h:
1664 * gfileinputstream.h:
1666 * gfileoutputstream.h:
1667 * gfilterinputstream.h:
1668 * gfilteroutputstream.h:
1670 * glocalfileinputstream.h:
1671 * glocalfileoutputstream.h:
1672 * gmemoryinputstream.h:
1673 * gmemoryoutputstream.h:
1674 * gnativevolumemonitor.h:
1676 * gunixinputstream.h:
1677 * gunixoutputstream.h:
1680 s/parent/parent_instance/ in GObjects
1682 2007-12-12 Alexander Larsson <alexl@redhat.com>
1687 No need for padding for interfaces
1689 2007-12-12 Alexander Larsson <alexl@redhat.com>
1693 * gbufferedinputstream.c:
1694 * gbufferedoutputstream.c:
1697 * gdatainputstream.[ch]:
1698 * gdesktopappinfo.c:
1699 * gdirectorymonitor.c:
1701 * gfileattribute.[ch]:
1704 * gfileinputstream.h:
1705 * gfilemonitor.[ch]:
1706 * gfileoutputstream.[ch]:
1707 * gfilterinputstream.h:
1708 * gfilteroutputstream.h:
1711 * gloadableicon.[ch]:
1712 * gmemoryinputstream.c:
1713 * gmountoperation.c:
1715 Fix up a bunch of details in the docs.
1720 2007-12-11 David Zeuthen <davidz@redhat.com>
1722 Rework how volumes, drives and volume monitoring is
1723 done. Previosly the model was
1725 GDrive <1-1> GVolume
1727 where a GDrive instance represented a mount point and a GVolume
1728 instance represented a mounted file system. This patch changes it
1731 GDrive <1-N> GVolume <1-1> GMount
1733 where GMount now serves the purpose of the old GVolume and the new
1734 GVolume serves the purpose of the old GDrive. In addition the new
1735 GDrive interface is used to represent a collection of GVolume
1736 instances (typically partitions) and also contains utility to query
1737 the state of the physical drive the GDrive object represents (such
1738 as checking for media, polling the drive, ejecting the media etc.).
1740 Also implement mounting and unmounting in the Unix volume monitor
1741 backend. A subquent patch will introduce GDrive support for ejection
1745 * gdrive.c: (g_drive_is_media_check_automatic),
1746 (g_drive_is_media_removable), (g_drive_has_media),
1747 (g_drive_can_poll_for_media), (g_drive_eject),
1748 (g_drive_eject_finish), (g_drive_poll_for_media),
1749 (g_drive_poll_for_media_finish):
1751 * gfile.c: (g_file_find_enclosing_mount):
1754 * glocaldirectorymonitor.c:
1755 (g_local_directory_monitor_constructor), (mounts_changed):
1756 * glocalfile.c: (get_mount_info),
1757 (g_local_file_find_enclosing_mount),
1758 (g_local_file_file_iface_init):
1759 * gnativevolumemonitor.h:
1760 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1761 (get_connected_drives), (g_union_volume_monitor_class_init),
1762 (child_volume_added), (child_volume_removed),
1763 (child_volume_changed), (child_mount_added), (child_mount_removed),
1764 (child_mount_pre_unmount), (child_mount_changed),
1765 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1766 (g_union_volume_monitor_remove_monitor),
1767 (_g_mount_get_for_mount_path):
1768 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1769 (guess_system_internal), (_g_get_unix_mounts),
1770 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1771 (g_unix_mount_free), (g_unix_mount_compare),
1772 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1773 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1774 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1775 (type_to_icon), (g_unix_mount_guess_name),
1776 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1777 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1778 (_resolve_symlink), (_resolve_dev_root):
1780 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1781 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1782 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1783 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1784 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1785 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1786 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1787 (g_unix_volume_volume_iface_init):
1789 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1790 (get_mounts), (get_volumes), (get_connected_drives),
1791 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1792 (mountpoints_changed), (mounts_changed),
1793 (g_unix_volume_monitor_init),
1794 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1795 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1796 * gunixvolumemonitor.h:
1797 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1798 (g_volume_mount), (g_volume_mount_finish):
1800 * gvolumemonitor.c: (g_volume_monitor_class_init),
1801 (g_volume_monitor_get_connected_drives),
1802 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1805 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1807 * gmountoperation.h (GPasswordFlags): Close the gap
1809 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1811 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1813 * gdesktopappinfo.[hc]: Remove _-prefixes
1815 2007-12-10 Tor Lillqvist <tml@novell.com>
1817 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1820 2007-12-10 Alexander Larsson <alexl@redhat.com>
1822 * gfile.c (g_file_set_display_name):
1823 Don't hardcode '/' (#502727)
1825 2007-12-09 Hans Breuer <hans@breuer.org>
1827 * makefile.msc : follow lib naming convention
1828 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1829 for user and group name, tested with ../tests/gio-ls
1831 2007-12-09 A. Walton <awalton@svn.gnome.org>
1833 * gdesktopappinfo.c:
1839 * gfileenumerator.c:
1844 * gmemoryinputstream.c:
1845 * gmemoryoutputstream.c:
1847 * gsimpleasyncresult.c:
1848 More documentation cleanup and filling in missing information, bringing
1849 GIO to 99% symbol coverage.
1851 2007-12-08 Hans Breuer <hans@breuer.org>
1853 [gio compiles and links on win32, not sure how much already works]
1854 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1855 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1856 base on win32 API; prefer g_lstat() over lstat(); instead of
1857 localtime_r() use an all GLib implementation on win32;
1858 get_mount_info() still needs a win32 specifc implementation
1859 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1860 win32_get_file_user_info to get owner/group info without uid/gid
1861 * glocalfileinputstream.c : include <io.h> on win32
1862 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1863 definition, use g_win32_ftruncate() for G_OS_WIN32
1864 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1865 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1866 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1867 * makefile.msc : updated
1869 2007-12-07 Alexander Larsson <alexl@redhat.com>
1871 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1872 Avoid warning spew if error == NULL
1874 2007-12-07 Alexander Larsson <alexl@redhat.com>
1877 Update docs wrt etags
1879 2007-12-06 Alexander Larsson <alexl@redhat.com>
1882 Include sys/types.h for dev_t (#501919)
1884 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1888 Make abicheck and pltcheck pass.
1890 2007-12-05 Alexander Larsson <alexl@redhat.com>
1893 * giomodule-priv.h: Added.
1894 * glocaldirectorymonitor.c:
1895 * glocalfilemonitor.c:
1896 * gunionvolumemonitor.c:
1898 Actually add the declaration of _g_io_modules_ensure_loaded
1900 2007-12-05 Alexander Larsson <alexl@redhat.com>
1902 * gdatainputstream.c:
1907 * glocaldirectorymonitor.c:
1908 * glocalfilemonitor.c:
1909 * gunionvolumemonitor.c:
1911 Make g_io_modules_ensure_loaded a private function and
1912 don't pass in the dirname. This means we can do magic
1913 directory finding in the win32 version.
1914 Export the actual load-modules-in-directory code so that
1915 gvfs can reuse that.
1917 2007-12-05 Alexander Larsson <alexl@redhat.com>
1919 * gbufferedinputstream.c:
1920 * gbufferedoutputstream.c:
1923 * gfileenumerator.[ch]:
1924 * gfileinputstream.c:
1925 * gfileoutputstream.[ch]:
1926 * gfilterinputstream.c:
1927 * gfilteroutputstream.c:
1928 * ginputstream.[ch]:
1930 * glocalfileenumerator.c:
1931 * glocalfileinputstream.c:
1932 * glocalfileoutputstream.c:
1933 * gmemoryinputstream.c:
1934 * gmemoryoutputstream.c:
1935 * goutputstream.[ch]:
1938 * gunixinputstream.c:
1939 * gunixoutputstream.c:
1940 Rename all struct members named:
1941 read, write, close, truncate, or mount
1942 to foo_fn, as these are reserved names
1943 and could be defined as macros in libc.
1946 2007-12-04 Alexander Larsson <alexl@redhat.com>
1949 (g_output_stream_close):
1950 Only call flush if non-null.
1952 2007-11-30 Dan Winship <danw@gnome.org>
1954 * ginputstream.c (g_input_stream_set_pending): Make this take a
1955 GError and return a gboolean, and do the "outstanding operation"
1956 check (and the "stream is already closed" check) itself.
1957 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1959 * goutputstream.c (g_output_stream_set_pending)
1960 (g_output_stream_clear_pending): Likewise
1962 * gbufferedinputstream.c:
1963 * gfileinputstream.c:
1964 * gfileoutputstream.c: Update for that
1966 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1967 Like g_simple_async_report_error_in_idle, but takes a GError
1968 rather than building one.
1970 2007-11-30 Dan Winship <danw@gnome.org>
1972 * goutputstream.c: Don't cheat and unset the "pending" flag around
1973 inner calls. Instead, call the class method directly rather than
1974 the wrapper function that checks "pending"
1976 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1978 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1980 2007-12-03 Hans Breuer <hans@breuer.org>
1982 [start of port to win32/msvc]
1983 * gcancellable.c : HAVE_UNIST_H and _pipe()
1984 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1985 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1986 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1988 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1989 * glocalvfs.c : use HAVE_PWD_H
1990 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1991 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1992 * Makefile.am : added to EXTRA_DIST
1994 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1996 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1999 2007-12-03 Alexander Larsson <alexl@redhat.com>
2002 Handle OSX style xattrs API (#500506)
2004 2007-12-03 Alexander Larsson <alexl@redhat.com>
2008 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2010 2007-12-02 A. Walton <awalton@svn.gnome.org>
2014 Documentation accuracy fixes.
2016 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2018 * gioenumtypes.c.template: Fix typo.
2020 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2022 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2024 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2026 * gdirectorymonitor.c:
2027 * gfilemonitor.c: Add properties
2029 * gbufferedoutputstream.c: Don't mark buffer-size property
2032 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2034 * gbufferedoutputstream.c: Add auto-grow property.
2036 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2038 * *.c: Unify the capitalization of section headings.
2040 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2042 * gmountoperation.c: Add properties
2044 * gdatainputstream.c: Turn byte-order and newline-type into
2047 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2049 * gioenumtypes.[hc].template: Templates for enum registration
2051 * Makefile.am: Generate gioenumtypes.[hc]
2053 * gio.h: Include gioenumtypes.h
2055 * gfile.h: Add some explicit nicks.
2057 * gio.symbols: Add new symbols
2059 * pltcheck.sh: Adjust
2061 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2063 * *.c: Explain etags and link to the explanation
2065 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2067 * *.c: Explain I/O priority.
2069 * *.c: More coding style fixes.
2071 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2073 * gasyncresult.c: Add another paragraph to the intro,
2074 adjust coding style of example.
2076 2007-11-29 A. Walton <awalton@svn.gnome.org>
2079 Fixes unknown meaning in GAppLaunchContext docs.
2081 Clarify asynchronous ops.
2083 Fix entity tag docs.
2086 Provides missing gtk-doc section, fixes API docs slighly.
2087 * gsimpleasyncresult.c:
2088 Fill in missing info in docs.
2089 * gunixinputstream.c:
2090 * gunixoutputstream.c:
2091 Be more expressive in short description.
2093 Remove gtk-doc stubs for non-public API.
2095 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2097 * *.c: Coding style fixups
2099 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2101 * inotify/inotify-helper.c: Don't export the lock from libgio.
2103 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2106 * abicheck.sh: Fix copy-and-paste leftovers
2108 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2110 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2112 2007-11-28 Alexander Larsson <alexl@redhat.com>
2116 Removed unnecessary file
2118 * gdesktopappinfo.[ch]:
2121 * glocaldirectorymonitor.[ch]:
2123 * glocalfileenumerator.[ch]:
2124 * glocalfileinputstream.[ch]:
2125 * glocalfilemonitor.[ch]:
2126 * glocalfileoutputstream.[ch]:
2128 * gnativevolumemonitor.c:
2129 * gpollfilemonitor.[ch]:
2130 * gunionvolumemonitor.[ch]:
2133 * gunixvolumemonitor.[ch]:
2136 * inotify/ginotifydirectorymonitor.[ch]:
2137 * inotify/ginotifyfilemonitor.[ch]:
2138 * inotify/inotify-helper.c:
2139 Append _ to all internal functions
2143 Export symbols needed for modules
2145 2007-11-28 Alexander Larsson <alexl@redhat.com>
2148 * abicheck.sh: Added.
2149 * makegioalias.pl: Added.
2150 * pltcheck.sh: Added.
2151 * gio.symbols: Added.
2154 Initial work on adding symbol handling.
2157 Correct ifdef guard name
2160 * inotify/Makefile.am:
2161 * xdgmime/Makefile.am:
2162 Include toplevel Makefile.decl
2164 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2166 * gcontenttype.c: Move doc comments to the unix section.
2168 * *.[hc]: More trivial doc corrections.
2170 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2172 * gpollfilemonitor.c:
2176 * gdesktopappinfo.c:
2181 * gdatainputstream.c:
2182 * gdatainputstream.h:
2183 * gdataoutputstream.c:
2184 * gdataoutputstream.h:
2185 * gfileinfo.h: Doc cleanups
2187 2007-11-28 Andre Klapper <a9016009@gmx.de>
2189 * gdesktopappinfo.c: Fix a typo.
2191 2007-11-27 Andre Klapper <a9016009@gmx.de>
2193 * glocalfileoutputstream.c: Fix a typo.
2195 2007-11-27 Alexander Larsson <alexl@redhat.com>
2198 Don't include removed headers
2200 2007-11-27 Alexander Larsson <alexl@redhat.com>
2203 * gsocketinputstream.[ch]: Removed.
2204 * gsocketoutputstream.[ch]: Removed.
2205 * gunixinputstream.[ch]: Added.
2206 * gunixoutputstream.[ch]: Added.
2207 Renamed GSocket*Stream to GUnix*Stream and made
2208 it unix-only, since its not really only for sockets
2209 and it only works on unix (but is highly useful there).
2211 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2217 * gbufferedinputstream.c:
2218 * gbufferedinputstream.h:
2219 * gbufferedoutputstream.c:
2220 * gbufferedoutputstream.h:
2224 * gdatainputstream.c:
2225 * gdatainputstream.h:
2226 * gdataoutputstream.c:
2227 * gdataoutputstream.h:
2228 * gdirectorymonitor.c:
2229 * gdirectorymonitor.h:
2236 * gfileenumerator.c:
2237 * gfileenumerator.h:
2242 * gfileinputstream.c:
2243 * gfileinputstream.h:
2246 * gfilenamecompleter.c:
2247 * gfilenamecompleter.h:
2248 * gfileoutputstream.c:
2249 * gfileoutputstream.h:
2250 * gfilterinputstream.c:
2251 * gfilterinputstream.h:
2252 * gfilteroutputstream.c:
2253 * gfilteroutputstream.h:
2266 * glocalfileoutputstream.c:
2267 * gmemoryinputstream.c:
2268 * gmemoryinputstream.h:
2269 * gmemoryoutputstream.c:
2270 * gmemoryoutputstream.h:
2271 * gmountoperation.c:
2272 * gmountoperation.h:
2275 * gpollfilemonitor.c:
2278 * gsimpleasyncresult.c:
2279 * gsimpleasyncresult.h:
2280 * gsocketinputstream.c:
2281 * gsocketinputstream.h:
2282 * gsocketoutputstream.c:
2283 * gsocketoutputstream.h:
2290 * gunixvolumemonitor.c:
2299 Bumps documentation to 93% symbol coverage, touching most
2300 of the public files. Fixes broken function documentation prototypes.
2301 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2302 gtk-doc headers in private files.
2304 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
2306 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2307 (g_buffered_input_stream_read_byte):
2308 * gbufferedinputstream.h:
2309 New functions for efficient access to buffer and simple single byte
2312 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2313 (g_data_input_stream_read_until):
2314 * gdatainputstream.h:
2315 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2316 read_until with multiple stop chars.
2318 2007-11-27 Alexander Larsson <alexl@redhat.com>
2322 * inotify/Makefile.am:
2323 Use the user-specified giomoduledir
2325 2007-11-27 Alexander Larsson <alexl@redhat.com>
2329 Add catch-all gio.h header
2330 Don't install gdummyfile.h
2332 2007-11-26 Alexander Larsson <alexl@redhat.com>
2334 * Makefile.am (gioinclude_HEADERS):
2335 Remove trailing whitespace
2337 2007-11-26 Alexander Larsson <alexl@redhat.com>
2339 Merge gio-standalone into glib
2341 2007-11-25 Christian Kellner <gicmo@gnome.org>
2343 * gio/goutputstream.c:
2344 Fix small mistake in the docs.
2346 2007-11-21 Christian Persch <chpe@gnome.org>
2348 * gio/glocalfile.c: (g_local_file_trash):
2349 Convert filenames to UTF-8 for GError.
2350 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2351 as per xdg base dir spec.
2353 2007-11-21 Christian Persch <chpe@gnome.org>
2355 * gio/gdesktopappinfo.c:
2356 Use that g_key_file_to_data cannot fail.
2358 Use stock defines for the key file group and key names.
2361 2007-11-21 Alexander Larsson <alexl@redhat.com>
2364 (copy_stream_with_progress):
2365 Make sure we do a final progress callback with
2366 the full total size.
2368 2007-11-21 Alexander Larsson <alexl@redhat.com>
2371 Export g_file_copy_attributes
2372 Remove padding as its not needed for interfaces
2374 2007-11-20 Alexander Larsson <alexl@redhat.com>
2379 Add G_IO_ERROR_WOULD_MERGE for
2380 copy/move dir on dir with overwrite.
2382 2007-11-20 Alexander Larsson <alexl@redhat.com>
2385 * gio/glocalfileinfo.c:
2386 Add COPY_NAME (this is an optional
2387 non-modified utf8 version of the name) that
2390 2007-11-20 Alexander Larsson <alexl@redhat.com>
2392 * gio/glocalfileenumerator.c:
2393 Report errors as GIOError, not GFileError
2395 2007-11-16 Alexander Larsson <alexl@redhat.com>
2397 * gio/glocalfileoutputstream.c:
2398 * gio/gwin32appinfo.c:
2399 Fix typos in strings.
2400 Patch from Luca Ferretti <elle.uca@libero.it>
2402 2007-11-15 Alexander Larsson <alexl@redhat.com>
2405 Post release version bump
2407 === gio-standalone 0.1.2 ===
2409 2007-11-15 Alexander Larsson <alexl@redhat.com>
2411 * docs/reference/gio/Makefile.am:
2412 Fix up distcheck by removing weird
2418 2007-11-14 Alexander Larsson <alexl@redhat.com>
2420 * gio/gdesktopappinfo.c:
2421 * gio/glocaldirectorymonitor.c:
2423 * gio/glocalfileinfo.c:
2424 * gio/inotify/inotify-sub.c:
2425 * programs/gio-cat.c:
2426 * programs/gio-copy.c:
2427 * programs/gio-info.c:
2428 * programs/gio-ls.c:
2429 * programs/gio-monitor-dir.c:
2430 * programs/gio-monitor-file.c:
2431 * programs/gio-mount.c:
2432 * programs/gio-move.c:
2433 * programs/gio-rm.c:
2434 * programs/gio-save.c:
2435 * programs/gio-trash.c:
2436 Leak fixes from Kjartan Maraas
2438 2007-11-14 Alexander Larsson <alexl@redhat.com>
2440 * gio/fam/fam-helper.c:
2442 * gio/glocalfileinfo.c:
2446 * gio/inotify/inotify-diag.c:
2447 * gio/inotify/inotify-kernel.c:
2448 Various code cleanups from Kjartan Maraas
2450 2007-11-14 Alexander Larsson <alexl@redhat.com>
2452 * gio/gioscheduler.c:
2454 Set up threadpool so that we cache 2 unused
2455 idle threads for at 15 secs. This means we
2456 will reuse thread-local data (like dbus connections)
2459 2007-11-14 Alexander Larsson <alexl@redhat.com>
2461 * gio/fam/fam-helper.c:
2462 * gio/fam/gfamdirectorymonitor.c:
2463 * gio/fam/gfamfilemonitor.c:
2465 * gio/gcontenttype.c:
2466 * gio/gdatainputstream.c:
2467 * gio/gdataoutputstream.c:
2471 * gio/gfileattribute.h:
2472 * gio/gfileenumerator.c:
2474 * gio/ginputstream.c:
2477 * gio/glocalfileinfo.c:
2478 * gio/goutputstream.c:
2479 * gio/gpollfilemonitor.c:
2480 * gio/gsimpleasyncresult.c:
2481 * gio/gunixmounts.c:
2482 * gio/gunixmounts.h:
2483 * gio/inotify/ginotifydirectorymonitor.c:
2484 * gio/inotify/ginotifyfilemonitor.c:
2485 * gio/inotify/inotify-diag.c:
2486 * gio/inotify/inotify-kernel.c:
2487 * gio/inotify/inotify-path.c:
2489 * gio/test-streams.c:
2490 * programs/gio-info.c:
2491 * programs/gio-monitor-dir.c:
2492 * programs/gio-monitor-file.c:
2493 Various code cleanups from Kjartan Maraas
2495 2007-11-13 Alexander Larsson <alexl@redhat.com>
2498 Handle the uri-scheme calls for dummy files
2500 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2502 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2503 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2504 to avoid clash with the C++ keyword.
2506 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2508 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2509 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2511 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2513 * gio/glocaldirectorymonitor.c:
2514 * gio/glocalfilemonitor.c:
2515 * gio/gunionvolumemonitor.c:
2516 Don't use g_once_init_*() for initializations that could fail and
2517 could leave the initialization variable set to 0 but use GOnce.
2518 This prevents a deadlock on the second call when trying to create
2519 a monitor and no monitor type is available. Thanks to Sven Herzberg
2522 2007-11-11 Sven Herzberg <sven@imendio.com>
2524 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2525 #ifdef (make it work on MacOS X again)
2527 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2529 Fixes Changelog for last two commits (sorry guys).
2531 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2533 * gio/gbufferedinputstream.c:
2534 * gio/gdatainputstream.c:
2536 * gio/gfileoutputstream.c:
2537 * gio/gfilterinputstream.c:
2538 * gio/glocalfileinputstream.c:
2541 More consistency fixes in g*stream.c files.
2542 Significant clean of gfile's documentation, filling in of
2543 asynchronous operations documentation.
2545 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2547 * gio/gasyncresult.c:
2548 * gio/gbufferedinputstream.c:
2549 * gio/gbufferedoutputstream.c:
2550 * gio/gcancellable.c:
2551 * gio/gcontenttype.c:
2552 * gio/gdatainputstream.c:
2553 * gio/gdataoutputstream.c:
2554 * gio/gdesktopappinfo.c:
2557 * gio/gfileattribute.c:
2558 * gio/gio/gfileenumerator.c:
2560 * gio/gfileinputstream.c:
2561 * gio/gfilemonitor.c:
2562 * gio/gfileoutputstream.c:
2563 * gio/ginputstream.c:
2565 * gio/gioscheduler.c:
2566 * gio/gloadableicon.c:
2567 * gio/glocalfileoutputstream.c:
2568 * gio/gmemoryoutputstream.c:
2569 * gio/gmountoperation.c:
2570 * gio/goutputstream.c:
2572 * gio/gsimpleasyncresult.c:
2573 * gio/gunionvolumemonitor.c:
2574 * gio/gunixmounts.c:
2575 * gio/gunixvolume.c:
2579 * gio/gvolumemonitor.c:
2580 Updated documentation stubs, working towards consistency and
2583 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2585 * gio/gmemoryoutputstream.c:
2586 * gio/gmemoryoutputstream.h:
2587 Change g_memory_output_stream_set_free_on_close() to
2588 g_memory_output_stream_set_free_data() as this makes more sense and
2589 is more consistent with GMemoryInputStream.
2591 2007-11-07 Alexander Larsson <alexl@redhat.com>
2598 Change how we find the default vfs so that
2599 we can handle a gvfs failing to init
2601 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2603 * gio/gbufferedoutputstream.c:
2604 * gio/gdatainputstream.c:
2605 * gio/gdataoutputstream.c:
2606 * gio/gfileinputstream.c:
2607 * gio/gfileoutputstream.c:
2608 * gio/gfilterinputstream.c:
2609 * gio/gfilteroutputstream.c:
2610 * gio/ginputstream.c:
2611 * gio/gmemoryinputstream.c:
2612 * gio/gmemoryoutputstream.c:
2613 * gio/goutputstream.c:
2614 * gio/gsimpleasyncresult.c:
2615 * gio/gsocketinputstream.c:
2616 * gio/gsocketoutputstream.c:
2617 Add guards to the remaining public functions, add a TODO for
2618 an unimplemented function and remove some useless guards.
2620 2007-11-07 Alexander Larsson <alexl@redhat.com>
2623 Autoconf checks for the various types of
2624 getpwuid_r and getgrgid_r
2626 * gio/glocalfileinfo.c:
2627 Use the autoconf checks from above
2629 2007-11-07 Alexander Larsson <alexl@redhat.com>
2632 (g_local_file_query_filesystem_info):
2633 Some fixes for the statvfs case
2635 2007-11-07 Alexander Larsson <alexl@redhat.com>
2638 (g_local_file_query_filesystem_info):
2639 Pick the "best" of statfs / statvfs for the system
2640 if both are availible.
2642 2007-11-07 Alexander Larsson <alexl@redhat.com>
2644 Solaris fixes from Halton.Huo@Sun.COM:
2651 * gio/glocalfileinfo.c:
2652 Fix for solaris definition of getpwuid_r
2654 * gio/test-streams.c:
2655 Use G_GNUC_PRETTY_FUNCTION
2657 2007-11-07 Alexander Larsson <alexl@redhat.com>
2659 * gio/gdesktopappinfo.c:
2660 (update_default_list):
2661 Remove double semicolon.
2662 Patch from Jens Granseuer
2664 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2666 * docs/reference/gio/gio-sections.txt:
2667 * gio/gbufferedinputstream.c:
2668 * gio/gbufferedinputstream.h:
2669 * gio/gdatainputstream.c:
2670 * gio/gfileenumerator.c:
2671 * gio/gioscheduler.c:
2672 * gio/gunionvolumemonitor.c:
2674 * programs/gio-save.c:
2675 Fix typo: availible -> available. Unfortuntely this breaks API
2676 and ABI as g_buffered_input_stream_get_available() was renamed.
2678 * gio/gunixmounts.c:
2679 * gio/gbufferedinputstream.c:
2680 Add guards for public functions.
2682 2007-11-06 Ross Burton <ross@openedhand.com>
2684 * docs/reference/gio/Makefile.am:
2685 Fix invalid += usage which automake 1.10 doesn't like.
2687 2007-11-06 Alexander Larsson <alexl@redhat.com>
2690 (g_app_launch_context_class_init):
2693 Patch from Ross Burton
2695 2007-11-06 Alexander Larsson <alexl@redhat.com>
2698 Post release version bump
2700 === gio-standalone 0.1.1 ===
2702 2007-11-06 Alexander Larsson <alexl@redhat.com>
2705 Bump version to 0.1.1
2707 * gio/gsimpleasyncresult.c:
2708 (g_simple_async_result_set_from_error):
2709 Remove bogus g_return_if_fail
2711 2007-11-06 Alexander Larsson <alexl@redhat.com>
2714 The name is gio-standalone
2717 Add top src/builddir to includedir
2719 2007-11-06 Alexander Larsson <alexl@redhat.com>
2721 * docs/reference/gio/gio-sections.txt:
2723 * gio/gbufferedinputstream.c:
2724 * gio/gbufferedoutputstream.c:
2725 * gio/gcancellable.c:
2726 * gio/gdatainputstream.h:
2727 * gio/gdataoutputstream.c:
2728 * gio/gdataoutputstream.h:
2729 * gio/gdirectorymonitor.c:
2731 * gio/gfileattribute.c:
2732 * gio/gfileattribute.h:
2733 * gio/gfileenumerator.c:
2734 * gio/gfileenumerator.h:
2737 * gio/gfileinputstream.h:
2738 * gio/gfilemonitor.c:
2739 * gio/gfileoutputstream.h:
2740 * gio/glocalfilemonitor.h:
2741 * gio/glocalfileoutputstream.h:
2742 * gio/gmemoryinputstream.c:
2743 * gio/gmemoryoutputstream.c:
2744 * gio/gmountoperation.c:
2745 * gio/goutputstream.c:
2746 * gio/goutputstream.h:
2748 * gio/gsimpleasyncresult.c:
2749 * gio/gunixmounts.c:
2750 * gio/gunixmounts.h:
2752 * gio/inotify/inotify-helper.c:
2753 Fix gtk-doc warnings
2755 Patch from Ross Burton
2757 2007-11-06 Alexander Larsson <alexl@redhat.com>
2759 * gio/gfilenamecompleter.c:
2760 (g_filename_completer_get_completions):
2763 * gio/gunixvolume.c:
2764 Remove unused function
2766 Patches from Ross Burton
2768 2007-11-06 Alexander Larsson <alexl@redhat.com>
2773 Padding not needed for interfaces
2775 2007-11-06 Alexander Larsson <alexl@redhat.com>
2777 * gio/gfilemonitor.c:
2781 Make giotypes.h an internal file
2784 * gio/gbufferedinputstream.h:
2785 * gio/gbufferedoutputstream.h:
2786 * gio/gcancellable.h:
2787 * gio/gdatainputstream.h:
2788 * gio/gdataoutputstream.h:
2789 * gio/gdirectorymonitor.c:
2790 * gio/gdirectorymonitor.h:
2795 * gio/gfileattribute.h:
2796 * gio/gfileenumerator.h:
2801 * gio/gfilemonitor.c:
2802 * gio/gfilemonitor.h:
2803 * gio/gfilenamecompleter.c:
2804 * gio/gfilenamecompleter.h:
2805 * gio/gfilterinputstream.h:
2806 * gio/gfilteroutputstream.h:
2807 * gio/ginputstream.h:
2808 * gio/gmemoryinputstream.h:
2809 * gio/gmemoryoutputstream.h:
2810 * gio/gmountoperation.c:
2811 * gio/gmountoperation.h:
2812 * gio/gnativevolumemonitor.c:
2813 * gio/goutputstream.h:
2816 * gio/gsimpleasyncresult.c:
2817 * gio/gsimpleasyncresult.h:
2818 * gio/gsocketinputstream.h:
2819 * gio/gsocketoutputstream.h:
2820 * gio/gthemedicon.c:
2821 * gio/gthemedicon.h:
2825 * gio/gvolumemonitor.c:
2826 * gio/gvolumemonitor.h:
2827 Add padding in classes where it seems useful
2828 Don't include giotypes.h from public headers
2829 Move in Class definitions into c file where possible
2834 2007-11-06 Alexander Larsson <alexl@redhat.com>
2836 * docs/reference/gio/gio-docs.xml:
2837 Better structure for API docs
2839 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2842 * gio/gloadableicon.c:
2843 * gio/gsimpleasyncresult.c:
2844 * gio/gthemedicon.c:
2845 Add some more guards to public functions. Only files missing are now
2848 2007-11-06 Alexander Larsson <alexl@redhat.com>
2850 * docs/reference/gio/gio-docs.xml:
2851 Remove old files, add missing ones
2853 2007-11-06 Alexander Larsson <alexl@redhat.com>
2855 * docs/reference/gio/gio-sections.txt:
2858 Hide implementation classes
2860 * gio/gdriveprivate.h:
2861 * gio/gvolumeprivate.h:
2862 Remove non-existing function declarations
2864 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2867 Fix compilation warnings and add guards to the new functions.
2869 * gio/gasyncresult.c:
2871 Add guards to the public functions.
2874 Implement get_path().
2876 2007-11-06 Alexander Larsson <alexl@redhat.com>
2878 * gio/gfilenamecompleter.c:
2879 Make g_filename_completer_get_completions
2880 return char ** instead of GList for
2883 * docs/reference/gio/gio-docs.xml:
2884 * docs/reference/gio/gio-sections.txt:
2886 * gio/gasyncresult.c:
2887 * gio/gbufferedinputstream.c:
2888 * gio/gbufferedoutputstream.c:
2889 * gio/gcancellable.c:
2890 * gio/gcontenttype.c:
2891 * gio/gdatainputstream.c:
2892 * gio/gdataoutputstream.c:
2893 * gio/gdesktopappinfo.c:
2894 * gio/gdirectorymonitor.c:
2898 * gio/gfileattribute.c:
2899 * gio/gfileenumerator.c:
2902 * gio/gfileinputstream.c:
2903 * gio/gfilemonitor.c:
2904 * gio/gfilenamecompleter.c:
2905 * gio/gfilenamecompleter.h:
2906 * gio/gfileoutputstream.c:
2907 * gio/gfilterinputstream.c:
2909 * gio/ginputstream.c:
2911 * gio/gioscheduler.c:
2912 * gio/gloadableicon.c:
2913 * gio/glocaldirectorymonitor.c:
2915 * gio/glocalfileinputstream.c:
2916 * gio/glocalfilemonitor.c:
2917 * gio/glocalfileoutputstream.c:
2919 * gio/gmemoryinputstream.c:
2920 * gio/gmemoryoutputstream.c:
2921 * gio/gmountoperation.c:
2922 * gio/goutputstream.c:
2923 * gio/gpollfilemonitor.c:
2925 * gio/gsimpleasyncresult.c:
2926 * gio/gsocketinputstream.c:
2927 * gio/gsocketoutputstream.c:
2928 * gio/gthemedicon.c:
2929 * gio/gunionvolumemonitor.c:
2931 * gio/gunixmounts.c:
2932 * gio/gunixvolume.c:
2933 * gio/gunixvolumemonitor.c:
2937 * gio/gvolumemonitor.c:
2938 * gio/gwin32appinfo.c:
2939 Add (mostly stub) doc strings to public functions.
2940 Patch from Andrew Walton (awalton@gmail.com)
2942 2007-11-06 Alexander Larsson <alexl@redhat.com>
2944 * gio/gappinfo.[ch]:
2945 Added GAppLaunchContext object and pass that to launch.
2946 This allows simple implementation of both
2947 launch-on-screen and startup notification via a gtk+
2948 subclass of GAppLaunchContext
2950 * gio/gdesktopappinfo.c:
2951 Implement GAppLaunchContext API
2953 * gio/gwin32appinfo.c:
2956 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2958 * gio/gmountoperation.c:
2959 Add some guards to GMountOperation's public functions.
2961 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2965 * gio/gcancellable.c:
2966 * gio/gdirectorymonitor.c:
2968 * gio/gfileenumerator.c:
2969 * gio/gfilemonitor.c:,
2970 * gio/gfilenamecompleter.c:
2973 * gio/gioscheduler.c:
2977 * gio/gvolumemonitor.c:
2978 Add even more guards to various public functions.
2980 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2983 Add guards to the public functions of GAppInfo.
2985 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2987 * gio/gcontenttype.c:
2988 Add some more guards for public functions.
2990 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2992 * gio/fam/fam-module.c:
2993 * gio/fam/gfamdirectorymonitor.c:
2994 * gio/fam/gfamdirectorymonitor.h:
2995 * gio/fam/gfamfilemonitor.c:
2996 * gio/fam/gfamfilemonitor.h:
2997 * gio/inotify/ginotifydirectorymonitor.c:
2998 * gio/inotify/ginotifydirectorymonitor.h:
2999 * gio/inotify/ginotifyfilemonitor.c:
3000 * gio/inotify/ginotifyfilemonitor.h:
3001 Add proper copyright information and remove an unused variable
3002 in the GInotifyFileMonitor constructor.
3004 * gio/gcancellable.c:
3005 Add a guard for a public function and an assertion to prevent
3006 an undefined program state.
3008 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3010 * gio/gfileattribute.c:
3011 Don't run into an assertion if the given attribute value is NULL
3012 in g_file_attribute_value_get_*() but instead return a fallback
3013 value that makes sense in most situations. Passing them a attribute
3014 value with the wrong type will still run into an assertion.
3016 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3018 * gio/gfileattribute.c:
3020 Add even more guards to the public functions. Also fix the refcounting
3021 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3022 let g_file_info_list_attributes() filter the attributes by namespace
3023 instead of simply ignoring the namespace parameter.
3025 2007-11-03 Sven Herzberg <sven@imendio.com>
3027 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3028 (This makes gio work on MacOS X again)
3030 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3033 Build the gio subdirectory before the docs. Otherwise the build will
3036 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3037 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3038 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3039 Add guards to the public functions.
3041 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3043 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3044 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3045 to prevent a compiler warning.
3047 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3048 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3049 return something in the non-void function find_topdir_for().
3051 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3058 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3060 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3061 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3062 * gwin32appinfo.c (g_win32_app_info_launch):
3063 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3064 envp_for_startup_id, g_desktop_app_info_launch,
3065 g_desktop_app_info_launch_uris):
3067 Give an opaque 'startup_id' string instead of 'envp'.
3068 Support empty file lists for launching new windows.
3069 Fix infinite recursion bug when launching URIs.
3071 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3074 Add guard to the new g_file_get_uri_scheme() function.
3076 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3079 Convert a g_return_val_if_fail() to setting the GError instead as
3080 otherwise applications have to verify the parameter before otherwise
3081 and the parameter might come directly from the user.
3083 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3085 * gio/inotify/ginotify*.[ch]:
3086 Add missing copyright information.
3088 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3091 Add guards in the beginning of public functions to check for valid
3092 parameters and fix a bug in copy_stream_with_progress() that could've
3093 caused writing less bytes than reading.
3094 * gio/glocalfileinfo.c:
3095 Check for a NULL parameter and set the GError accordingly then.
3096 * gio/goutputstream.c:
3097 Fix the same bug as in gfile.c that could've caused writing less bytes
3098 than reading in g_output_stream_real_splice().
3100 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3103 Use the correct gvolumeprivate.h naming
3105 2007-11-01 Christian Kellner <gicmo@gnome.org>
3108 Remove leftover "$(daemon_sources)" entry.
3110 2007-11-01 Christian Kellner <gicmo@gnome.org>
3115 Add copyright information to source files.
3117 2007-11-01 Alexander Larsson <alexl@redhat.com>
3121 Add g_file_get_uri_scheme
3123 2007-11-01 Alexander Larsson <alexl@redhat.com>
3126 * gio/gdesktopappinfo.c:
3127 * gio/gwin32appinfo.c:
3128 Add g_app_info_get_default_for_uri_scheme.
3130 2007-11-01 Alexander Larsson <alexl@redhat.com>
3133 Correct filename for gdriveprivate.h
3135 2007-10-31 Alexander Larsson <alexl@redhat.com>
3138 Rename id:value to id:file
3141 * gio/glocalfileinfo.c:
3144 2007-10-31 Alexander Larsson <alexl@redhat.com>
3146 * gio/gunixvolume.c:
3148 Remove g_volume_get_platform_id, as thats not
3149 needed with the simpler union volume monitor
3151 2007-10-31 Alexander Larsson <alexl@redhat.com>
3154 * gio/guniondrive.[ch]: Removed.
3155 * gio/gunionvolume.[ch]: Removed.
3156 Remove GUnionDrive/Volume
3158 * gio/gunionvolumemonitor.c:
3159 Simplify union volume monitor, now we
3160 only have one native volume monitor and
3161 we use the actual volumes/drives from the
3162 child monitors instead of wrapping them
3164 * gio/gnativevolumemonitor.[ch]:
3165 Base class for native volume monitors.
3166 Includes priority and get_volume_for_mountpoint
3169 Add g_file_find_enclosing_volume
3172 Remove volume name fs attribute
3173 Add readonly fs attribute
3176 Implement readonly attribute
3177 remove volume name attribute
3178 Implement find_enclosing volume
3180 * gio/gunixmounts.c:
3181 Add a volume for "/".
3183 * gio/gunixvolume.[ch]:
3184 Set better name for /
3186 * gio/gunixvolumemonitor.[ch]:
3187 Derive from GNativeVolumeMonitor
3188 Implement get_volume_for_mountpoint
3191 GVolume typedef moved to gfile.h
3193 * gio/gvolumeprivate.h:
3194 Add g_volume_get_for_mount_path
3196 2007-10-31 Alexander Larsson <alexl@redhat.com>
3198 * gio/gunixmounts.[ch]:
3199 Add cache info to unix mount listers
3200 Make getmntent use threadsafe
3201 Add is_system_internal attribute for GUnixMount
3203 * gio/gunixvolume.c:
3204 (g_unix_volume_new):
3205 Use is_system_internal instead of own code
3207 * gio/glocaldirectorymonitor.c:
3208 * gio/gunixvolumemonitor.c:
3209 Update to new gunixmounts API
3214 2007-10-30 Alexander Larsson <alexl@redhat.com>
3217 Add volume name fsinfo attribute
3220 Read volume name info
3222 * gio/gunionvolumemonitor.c:
3223 Fix infinite loops when finalizing a union volume monitor
3225 2007-10-30 Alexander Larsson <alexl@redhat.com>
3227 * gio/goutputstream.[ch]:
3228 Add splice() with default implementation
3230 * gio/gsocketoutputstream.c:
3231 (g_socket_output_stream_write):
3232 Return error on cancellation correctly.
3234 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3236 * gio/glocalfile.c (g_local_file_trash):
3237 Do not leak a string.
3239 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3241 * gio/gfile.c (g_file_load_contents):
3242 Unref the stream after closing it.
3244 2007-10-25 Alexander Larsson <alexl@redhat.com>
3246 * gio/gioscheduler.h:
3249 2007-10-25 Alexander Larsson <alexl@redhat.com>
3253 Add g_file_has_uri_scheme and implement for local files
3255 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3257 * gio/gdesktopappinfo.c: do not leak a string.
3259 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3261 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3262 (g_local_directory_monitor_new):
3263 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3264 (g_local_file_monitor_new):
3265 Only look for the monitor type that should be used the first time
3266 and use g_qsort_with_data() instead of our own bubble sort
3269 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3272 * gio/fam/Makefile.am:
3273 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3274 * gio/fam/fam-helper.h:
3275 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3276 * gio/fam/gfamdirectorymonitor.c:
3277 * gio/fam/gfamdirectorymonitor.h:
3278 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3279 * gio/fam/gfamfilemonitor.h:
3280 * gio/glocaldirectorymonitor.c:
3281 * gio/glocaldirectorymonitor.h:
3282 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3283 * gio/glocalfilemonitor.h:
3284 * gio/inotify/Makefile.am:
3285 * gio/inotify/ginotifydirectorymonitor.c:
3286 * gio/inotify/ginotifydirectorymonitor.h:
3287 * gio/inotify/ginotifyfilemonitor.c:
3288 * gio/inotify/ginotifyfilemonitor.h:
3289 Implement the FAM and Inotify monitors as
3290 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3291 their own GIO module. GLocal(Directory|File)Monitor will use the
3292 monitor with the highest rank that is supported on that machine.
3294 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3297 Change GIO module dir to $(libdir)/gio/modules and change
3298 the log domain from GVFS to GIO. Also only export symbols starting
3299 with g_ in the resulting library.
3300 * gio/test-streams.c: (main):
3301 Set log handler for the GIO log domain.
3303 2007-10-22 Alexander Larsson <alexl@redhat.com>
3305 * gio/gfilenamecompleter.[ch]:
3306 Add g_filename_completer_set_dirs_only
3308 2007-10-22 Alexander Larsson <alexl@redhat.com>
3311 * gio/gurifuncs.[ch]:
3312 Add some simple URI helpers
3314 * gio/gfilenamecompleter.[ch]:
3315 Added object for filename (parse name actually) completion
3318 Handle ~ in parse names
3320 2007-10-17 Alexander Larsson <alexl@redhat.com>
3323 * gio/glocalfileinfo.c:
3324 Add and implement id:value attribute
3326 2007-10-17 Alexander Larsson <alexl@redhat.com>
3329 * gio/guniondrive.c:
3331 Add and implement g_drive_has_volumes
3333 2007-10-17 Alexander Larsson <alexl@redhat.com>
3336 * gio/glocalfileinfo.[ch]:
3337 Add unix:is_mountpoint and implement for local files
3339 2007-10-16 Alexander Larsson <alexl@redhat.com>
3341 * gio/gunionvolumemonitor.c:
3342 (g_union_volume_monitor_init):
3343 Fix up the unix type getting so that it works with gcc
3345 2007-10-12 Alexander Larsson <alexl@redhat.com>
3348 * gio/glocalfileinfo.c:
3349 Add thumbnail:failed to file info
3351 2007-10-12 Richard Hult <richard@imendio.com>
3353 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3354 optimizing away the get_type call (happens with some gcc versions,
3355 like the one shipped with OS X 10.4).
3357 2007-10-12 Alexander Larsson <alexl@redhat.com>
3359 * gio/glocalfileinfo.c:
3360 (_g_local_file_info_set_attribute):
3361 Fix build if not HAVE_XATTR
3362 Patch from Milosz Derezynski <internalerror@gmail.com>
3364 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3366 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3367 around for review, otherwise I would have asked you before
3370 2007-10-11 Alexander Larsson <alexl@redhat.com>
3373 Add thumbnail:path attribute
3375 * gio/glocalfileinfo.c:
3376 Implement thumbnail:path for local files
3378 2007-10-11 Alexander Larsson <alexl@redhat.com>
3380 * gio/glocalfileinfo.c:
3381 (_g_local_file_info_get):
3382 Avoid duplicate icon names
3384 2007-10-11 Alexander Larsson <alexl@redhat.com>
3386 * gio/gthemedicon.[ch]:
3387 Change g_themed_icon_get_names return type to const
3389 2007-10-10 Alexander Larsson <alexl@redhat.com>
3391 * gio/glocalfileinfo.c:
3392 Don't reference freed memory
3394 2007-10-10 Alexander Larsson <alexl@redhat.com>
3396 * gio/gfileattribute.c:
3399 * gio/glocalfileinfo.c:
3402 2007-10-10 Alexander Larsson <alexl@redhat.com>
3405 Check for NULL icons
3407 * gio/gfileattribute.c:
3408 Don't dup when getting objects (same as for string attributes)
3410 * gio/gicon.c (g_icon_equal):
3411 Safely handle NULLs in equal
3413 2007-10-10 Alexander Larsson <alexl@redhat.com>
3416 Fix c++ compilation issues
3417 Patch from Milosz Derezynski <internalerror@gmail.com>
3419 2007-10-10 Alexander Larsson <alexl@redhat.com>
3421 * programs/gio-monitor-dir.c:
3422 Don't crash if dir monitor not supported.
3424 2007-10-09 Alexander Larsson <alexl@redhat.com>
3427 Add missing G_END_DECLS
3429 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3431 * gio/gfile.c: (g_file_set_display_name),
3432 (g_file_query_settable_attributes),
3433 (g_file_query_writable_namespaces):
3434 Return NULL not FALSE on errors as the return type is a pointer.
3436 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3438 * gio/glocalfile.c: (g_local_file_monitor_file):
3439 Don't call monitor_file on the default interface vtable (which
3440 is NULL) but simply return NULL. The caller, GFile, will create a
3441 polling monitor if NULL is returned.
3443 2007-10-09 Alexander Larsson <alexl@redhat.com>
3447 * gio-unix-2.0.pc.in:
3448 Add gio-unix-2.0.pc if OS_UNIX
3451 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3453 2007-10-09 Alexander Larsson <alexl@redhat.com>
3455 * gio/gunixmounts.[ch]:
3456 Make unix mount monitoring API sane.
3457 Now its just a object with mounts_changed
3458 and mountpoints_changed signals.
3460 * gio/glocaldirectorymonitor.c:
3461 * gio/gunixvolumemonitor.c:
3462 Use new mount monitor api
3464 2007-10-09 Alexander Larsson <alexl@redhat.com>
3466 * gio/gunixmounts.[ch]:
3467 Move guess type into one call for mounts and one for mountpoints
3470 * gio/gunixvolume.c:
3473 2007-10-09 Alexander Larsson <alexl@redhat.com>
3475 * gio/gunixmounts.[ch]:
3476 Remove _ prefix in preparation to make this semi-public
3477 Hide implementation of structs
3479 * gio/glocaldirectorymonitor.c:
3481 * gio/gunixvolume.c:
3482 * gio/gunixvolumemonitor.c:
3483 Update for above API changes
3485 2007-10-08 Alexander Larsson <alexl@redhat.com>
3488 Better polling fallback. This also handles the case where we have
3489 a monitor_file implementation, but it fails.
3491 2007-10-08 Alexander Larsson <alexl@redhat.com>
3495 * gio/gunixmounts.c:
3496 * programs/gio-monitor-dir.c:
3497 * programs/gio-monitor-file.c:
3498 Added cancellable to file monitoring calls.
3499 These are really sync calls and need this.
3501 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3503 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3504 (g_local_vfs_class_init):
3505 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3506 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3508 2007-10-05 Alexander Larsson <alexl@redhat.com>
3510 * gio/gdirectorymonitorprivate.h:
3511 * gio/gfilemonitorprivate.h:
3512 * gio/gdirectorymonitor.h:
3513 * gio/gfilemonitor.h:
3514 Remove *private.h and move to the public API, so that
3515 we can do implementations outside gio (such as in gvfs)
3517 * gio/gdirectorymonitor.c:
3518 * gio/gfilemonitor.c:
3519 * gio/glocaldirectorymonitor.c:
3520 * gio/gpollfilemonitor.c:
3521 * gio/inotify/inotify-helper.c:
3522 * gio/fam/fam-helper.c:
3523 Update to the new header names
3525 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3527 * gio/gdirectorymonitor.c:
3528 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3531 2007-10-04 Alexander Larsson <alexl@redhat.com>
3533 * gio/glocalfileinfo.c (get_access_rights):
3534 Set CAN_TRASH when we can move the file.
3535 We should really also check for a parent trash dir.
3537 2007-10-04 Alexander Larsson <alexl@redhat.com>
3539 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3540 Add can_trash access attribute
3542 2007-10-04 Alexander Larsson <alexl@redhat.com>
3545 (g_local_file_trash):
3546 Create info file first. This is per-spec and allows
3547 us to actually trash directories.
3549 2007-10-02 Alexander Larsson <alexl@redhat.com>
3551 * gio/gdesktopappinfo.c:
3552 Implement the new mime support code.
3553 Always set app as handling mimetype when being set as default for it
3555 2007-10-01 Alexander Larsson <alexl@redhat.com>
3557 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3558 Fix up check for xattrs:
3560 2007-10-01 Alexander Larsson <alexl@redhat.com>
3563 (g_app_info_set_as_default_for_extension):
3564 (g_app_info_add_supports_type):
3565 (g_app_info_can_remove_supports_type):
3566 (g_app_info_remove_supports_type):
3567 Make these fail nicely if not implemented
3569 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3571 * gio/glocalfileoutputstream.c:
3572 * gio/glocalfileoutputstream.h:
3577 * programs/gio-save.c:
3578 Add a GFileCreateFlags argument to operations that can create
3581 2007-10-01 Alexander Larsson <alexl@redhat.com>
3583 * gio/gappinfo.[ch]:
3584 * gio/gdesktopappinfo.c:
3585 Add more (stubbed out) mime API needed for nautilus
3587 2007-10-01 Alexander Larsson <alexl@redhat.com>
3590 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3591 Add g_app_info_set_as_default_for_extension.
3593 * gio/gdesktopappinfo.c:
3594 Dummy for g_app_info_set_as_default_for_extension
3595 Support flags in g_app_info_create_from_commandline
3597 * gio/gwin32appinfo.c:
3599 Update for API changes
3601 * gio/gthemedicon.c:
3602 Properly NULL-terminate list of icon names
3604 2007-09-28 Alexander Larsson <alexl@redhat.com>
3606 * gio/gloadableicon.h:
3607 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3609 2007-09-28 Alexander Larsson <alexl@redhat.com>
3612 Install headers in $includedir/gio-standalone/
3614 * gio-2.0.pc.in: Added.
3615 * gio-standalone.pc.in: Removed.
3618 Renamed pkg-config file to match glib (for future move)
3619 Update to the new include dir
3622 Add more TODO comments
3624 2007-09-28 Alexander Larsson <alexl@redhat.com>
3626 * gio/gdesktopappinfo.[ch]:
3627 Expose new_from_filename
3628 Add getter for is_hidden and handle it better
3630 2007-09-28 Alexander Larsson <alexl@redhat.com>
3632 * gio/gfileinfo.[ch]:
3633 Rename g_file_size_format_for_display to
3634 g_format_file_size_for_display.
3635 Now it doesn't have the g_file prefix, so we
3636 can later move it to glib.
3638 2007-09-28 Alexander Larsson <alexl@redhat.com>
3640 * gio/gappinfo.[ch]:
3641 Add g_app_info_get_id and g_app_info_get_executable.
3642 Make all getters non-reffing
3643 Make g_app_info_launch take GFile arguments.
3644 Add must_support_uris argument to g_app_info_get_default_for_type.
3646 * gio/gwin32appinfo.c:
3647 Update to GAppInfo api changes
3649 * gio/gdesktopappinfo.c:
3650 Update to GAppInfo api changes
3651 Implement supports_xdg_startup_notify
3653 * gio/gfileicon.c (g_file_icon_get_file):
3654 Make getter non-reffing.
3659 2007-09-27 Alexander Larsson <alexl@redhat.com>
3661 * gio/gfileinfo.[ch]:
3662 Add g_file_size_format_for_display helper
3664 2007-09-27 Alexander Larsson <alexl@redhat.com>
3666 * gio/glocalfileinfo.c:
3667 Set UNIX_GID from gid, not from uid
3669 2007-09-27 Alexander Larsson <alexl@redhat.com>
3672 Add g_file_set_attributes_async
3674 2007-09-27 Alexander Larsson <alexl@redhat.com>
3676 * gio/glocalfile.c (g_local_file_set_display_name):
3677 Fix set_display_name to actually rename to the right place.
3678 Use lstat to look for existing files so we don't overwrite
3681 2007-09-26 Alexander Larsson <alexl@redhat.com>
3684 Add g_file_set_display_name_async()
3686 2007-09-26 Alexander Larsson <alexl@redhat.com>
3689 Add load_partial_contents async calls
3692 Make internal function static
3694 2007-09-26 Alexander Larsson <alexl@redhat.com>
3696 * gio/glocalfileinfo.c:
3697 Correctly detect broken symlinks
3699 2007-09-26 Alexander Larsson <alexl@redhat.com>
3701 * gio/gcancellable.c (g_cancellable_cancel):
3702 Allow cancel on NULL cancellable
3704 2007-09-25 Alexander Larsson <alexl@redhat.com>
3706 * gio/gsimpleasyncresult.c:
3707 Don't allocate g_error manually.
3708 Fixes g_slice/g_new mixup crash
3710 2007-09-25 Alexander Larsson <alexl@redhat.com>
3712 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3713 Actually set active_backend.
3714 This means the monitor will be cancelled correctly.
3716 2007-09-25 Alexander Larsson <alexl@redhat.com>
3718 * gio/gdirectorymonitor.c:
3719 Set timeout to NULL when destroying
3721 2007-09-25 Alexander Larsson <alexl@redhat.com>
3724 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3725 that is a better description of the error.
3727 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3729 * gio/gvfs.c: (g_vfs_get_local):
3730 Make the local vfs variable static. The same instance should
3733 2007-09-24 Alexander Larsson <alexl@redhat.com>
3735 * gio/glocalfileinfo.c:
3736 Pass in actual length read into sniffer, not the length
3739 2007-09-21 Alexander Larsson <alexl@redhat.com>
3741 * gio/gfileenumerator.c:
3744 * gio/gfileinputstream.c:
3745 * gio/gfileoutputstream.c:
3746 * gio/ginputstream.c:
3747 * gio/goutputstream.c:
3748 Don't crash if async callbacks are NULL
3750 2007-09-20 Alexander Larsson <alexl@redhat.com>
3753 Add async enumerate_children method and default
3756 2007-09-20 Alexander Larsson <alexl@redhat.com>
3759 Add g_file_contains_file & g_file_get_relative_path, since they
3760 were needed for nautilus.
3761 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3766 Implement new methods
3768 2007-09-17 Alexander Larsson <alexl@redhat.com>
3771 * gio/gfileinputstream.[ch]:
3772 * gio/gfileoutputstream.[ch]:
3774 * gio/glocalfileenumerator.[ch]:
3775 * gio/glocalfileinfo.[ch]:
3776 * gio/glocalfileinputstream.c:
3777 * gio/glocalfileoutputstream.c:
3778 * gio/gpollfilemonitor.c:
3779 * programs/gio-copy.c:
3780 * programs/gio-info.c:
3781 * programs/gio-move.c:
3782 Rename get_file_info to query_info() to make it clearer
3783 that these are not simple getters, but do i/o.
3785 2007-09-17 Alexander Larsson <alexl@redhat.com>
3787 * gio/gdatainputstream.[ch]:
3788 * gio/test-streams.c:
3789 Use _read_XXX instead of _get_XXX for the i/o calls
3792 2007-09-17 Alexander Larsson <alexl@redhat.com>
3795 Added needed stuff to TODO comment
3797 2007-09-17 Alexander Larsson <alexl@redhat.com>
3799 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3800 Don't error out removing the backup copy if it doesn't
3803 2007-09-14 Alexander Larsson <alexl@redhat.com>
3805 * programs/Makefile.am:
3806 * programs/gvfs-*.c:
3808 Renamed apps from gvfs-xxx to gio-xxx.
3810 2007-09-14 Alexander Larsson <alexl@redhat.com>
3813 * gio/gfileoutputstream.[ch]:
3814 * gio/glocalfileoutputstream.c:
3815 * programs/gvfs-save.c:
3816 g_file_output_stream_get_etag doesn't do i/o, so remove
3817 cancellation and error.
3819 2007-09-14 Alexander Larsson <alexl@redhat.com>
3822 Add new_etag output to replace_contents functions
3824 2007-09-14 Alexander Larsson <alexl@redhat.com>
3826 * gio/gfileoutputstream.[ch]:
3827 Add async get_file_info and default implementation
3829 2007-09-14 Alexander Larsson <alexl@redhat.com>
3831 * gio/gfileinputstream.c:
3832 Implement fallback wrapper for async get_file_info
3834 2007-09-14 Alexander Larsson <alexl@redhat.com>
3837 Add etag out argument to load_contents
3842 2007-09-14 Alexander Larsson <alexl@redhat.com>
3844 * gio/gcontenttype.c (looks_like_text):
3845 Whitespace like tab, cr and lf do not make the
3848 2007-09-14 Alexander Larsson <alexl@redhat.com>
3850 * gio/gfileinputstream.[ch]:
3851 Add async get_file_info.
3853 2007-09-13 Alexander Larsson <alexl@redhat.com>
3855 * gio/goutputstream.c (g_output_stream_write_all):
3856 Allow NULL for bytes_written
3858 2007-09-13 Alexander Larsson <alexl@redhat.com>
3860 * gio/gmemoryinputstream.[ch]:
3861 Add accessors for data
3863 2007-09-13 Alexander Larsson <alexl@redhat.com>
3865 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3866 Don't crash if length is NULL