1 2008-03-14 Alexander Larsson <alexl@redhat.com>
5 Avoid redudant tests (#521851)
6 Patch from Josselin Mouette
8 2008-03-14 Alexander Larsson <alexl@redhat.com>
11 (g_file_monitor_is_cancelled):
12 Fix C89 issue (#521672)
13 Patch from Jens Granseuer
15 2008-03-14 Alexander Larsson <alexl@redhat.com>
17 * fam/fam-helper.[ch]:
19 Shut down fam (including removing fam GSource) when
20 module is unloaded (#521513)
21 Patch from Joe Marcus Clarke
23 2008-03-14 Alexander Larsson <alexl@redhat.com>
26 (_g_io_modules_ensure_loaded):
29 2008-03-14 Alexander Larsson <alexl@redhat.com>
32 (g_local_file_query_filesystem_info):
33 Use right define name for f_fstypename member check
35 2008-03-14 Alexander Larsson <alexl@redhat.com>
38 * fen/Makefile.am: Added.
39 * fen/fen-data.[ch]: Added.
40 * fen/fen-dump.[ch]: Added.
41 * fen/fen-helper.[ch]: Added.
42 * fen/fen-kernel.[ch]: Added.
43 * fen/fen-missing.[ch]: Added.
44 * fen/fen-node.[ch]: Added.
45 * fen/fen-sub.[ch]: Added.
46 * fen/gfendirectorymonitor.[ch]: Added.
47 * fen/gfenfilemonitor.[ch]: Added.
49 Added Solaris FEN file notification backend.
50 Patch from Lin Ma <Lin.Ma@Sun.COM>
52 2008-03-13 Tor Lillqvist <tml@novell.com>
54 * Makefile.am: Actually use the gio.def file when linking the
55 library on Windows. Produce .lib library for Microsoft's toolchain
56 when possible. Install the .lib and .def file like for the other
59 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
61 * tests/live-g-file.c:
62 Include live-g-file in standard set of tests, making a temporary
63 directory in source structure.
65 Clean target directory before the tests (write mode only)
67 2008-03-12 Tor Lillqvist <tml@novell.com>
69 Bug 517419 - gio win32 directory monitor
70 Implementation by Vlad Grecescu.
73 * win32/gwin32directorymonitor.h
74 * win32/gwin32directorymonitor.c: New files.
76 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
78 * Makefile.am: Add the win32 subdirectory.
80 2008-03-12 Tor Lillqvist <tml@novell.com>
82 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
83 normal struct stat on Unix but struct _stati64 on Windows to have
84 access to 64-bit file size information. Use that instead of struct
85 stat in the functions declared here in this private header.
87 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
88 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
89 warnings about unused functions and variables. Don't set
90 meaningless attributes like inode numbers on Windows.
92 2008-03-12 Benjamin Otte <otte@gnome.org>
95 trim whitespace so gtk-doc groks the function name
97 2008-03-12 Tor Lillqvist <tml@novell.com>
99 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
100 returning FALSE, on Win32.
102 2008-03-11 Alexander Larsson <alexl@redhat.com>
105 * glocalfileinfo.[ch]:
106 Correctly implement can_trash by actually
107 looking for a trash dir, not just assuming
110 2008-03-10 Matthias Clasen <mclasen@redhat.com>
112 * === Released 2.16.1 ===
114 2008-03-11 Alexander Larsson <alexl@redhat.com>
117 Fix crashes in new constructor and properties code
119 2008-03-10 Murray Cumming <murrayc@murrayc.com>
121 * gfile.c: Minor spelling correction in documentation:
122 existance -> existence.
124 2008-03-10 Matthias Clasen <mclasen@redhat.com>
126 * === Released 2.16.0 ===
128 2008-03-10 Matthias Clasen <mclasen@redhat.com>
130 * gio.symbols: Remove g_file_contains_file here, too.
132 2008-03-10 Matthias Clasen <mclasen@redhat.com>
134 * gthemedicon.c: Add properties to make bindings happy. (#517676,
135 Samuel Cormier-Iijima)
137 2008-03-08 Tor Lillqvist <tml@novell.com>
139 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
142 2008-03-07 Alexander Larsson <alexl@redhat.com>
145 (g_local_file_query_filesystem_info):
146 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
147 Patch from Jasper Lievisse Adriaanse
149 2008-03-06 Tor Lillqvist <tml@novell.com>
151 * gfileinfo.h: Correct milliseconds to microseconds in the doc
152 comments for the *_USEC attributes.
154 2008-03-06 Alexander Larsson <alexl@redhat.com>
156 * gfile.c (g_file_query_exists):
157 Add g_return_val_if_fail check (#520700)
159 2008-03-06 Alexander Larsson <alexl@redhat.com>
164 * gunionvolumemonitor.c:
167 * tests/live-g-file.c:
168 * xdgmime/xdgmimecache.c:
169 Fix sparse warnings (#519489)
171 2008-03-05 Alexander Larsson <alexl@redhat.com>
174 Make cancellation threadsafe (i.e.
175 guarantee its only done once, and always
178 * glocaldirectorymonitor.c:
179 Make sure we the monitor lives while the
180 mounts_changed callback is being called (#520484)
182 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
184 * gbufferedinputstream.c: Fix typo in parameter
187 2008-03-04 Alexander Larsson <alexl@redhat.com>
190 Remove deprecated symbols we kept for one release.
192 2008-03-04 Murray Cumming <murrayc@murrayc.com>
195 * goutputstream.c: Tiny documentation corrections.
197 2008-03-03 Alexander Larsson <alexl@redhat.com>
199 * gunionvolumemonitor.c:
201 Fix the adopt_orphan_mount vfunc to take a
202 volume_monitor reference in an ABI compat way.
203 This change is not API compat, but the added
204 arg is not used in the only user of this vfunc, so
205 all we get is a harmless warning in gvfs (#520169)
207 2008-03-01 Benjamin Otte <otte@gnome.org>
210 clarify docs for g_file_delete().
212 2008-02-29 Alexander Larsson <alexl@redhat.com>
216 Make sure empty files get text/plain type (#518720)
218 2008-02-27 Alexander Larsson <alexl@redhat.com>
224 (g_unix_volume_mount):
225 Add missing GMountMountFlags argument
227 2008-02-26 Alexander Larsson <alexl@redhat.com>
230 (g_local_file_delete):
231 Handle filesystems (like ntfs-3g) that return EEXIST instead
232 of ENOTEMPTY (#518816)
234 2008-02-25 Matthias Clasen <mclasen@redhat.com>
236 * === Released 2.15.6 ===
238 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
240 * gfile.c (g_file_find_enclosing_mount):
241 * ginputstream.c (g_input_stream_set_pending):
242 * glocalfile.c (g_local_file_find_enclosing_mount):
243 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
244 * goutputstream.c (g_output_stream_set_pending):
246 Fixup translator comments (#518578).
248 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
250 * gfile.c (g_file_find_enclosing_mount):
252 * glocalfile.c (g_local_file_find_enclosing_mount):
255 Fix a few typos in translator comments and documentation.
257 2008-02-25 Alexander Larsson <alexl@redhat.com>
264 Add translator comments (#518578)
266 2008-02-25 Alexander Larsson <alexl@redhat.com>
269 Reintroduce g_file_contains_file, keep around for one
270 unstable release cycle to avoid crashing to many apps.
271 Make sure to delete after release.
273 2008-02-25 Alexander Larsson <alexl@redhat.com>
276 Remove deprecated g_file_contains_file.
278 2008-02-25 Alexander Larsson <alexl@redhat.com>
281 Emit actual change signals in an idle handler.
282 This avoids reentrance and locking problems in
283 the file notification backends.
285 2008-02-25 Alexander Larsson <alexl@redhat.com>
288 (g_unix_mount_guess_should_display):
289 Remove type guessing, instead just display
290 mounts in /media and in ~/.
292 2008-02-25 Alexander Larsson <alexl@redhat.com>
295 Make new strings reuse old ones.
297 2008-02-25 Alexander Larsson <alexl@redhat.com>
300 Implement trashing and filesystem::readonly for win32 (#517235)
301 Patch from Yevgen Muntyan
303 2008-02-23 Matthias Clasen <mclasen@redhat.com>
305 * gfileinfo.h: Documentation fixes.
307 2008-02-22 Alexander Larsson <alexl@redhat.com>
309 * gcontenttype.c (g_content_type_get_icon):
310 Look at old-style gnome mime icon names too, as many
311 have not moved to the new style.
313 2008-02-21 Matthias Clasen <mclasen@redhat.com>
315 * *.c: Correct the @include in for section docs.
317 2008-02-21 David Zeuthen <davidz@redhat.com>
319 * glocalfileinfo.c: (_g_local_file_info_get):
321 (g_content_type_get_icon): Implement this function by
322 moving bits from glocalfileinfo.c
323 (g_content_type_get_description): Unalias before getting
324 description (#517687)
326 * gfile.c: (g_file_class_init),
327 (g_file_query_filesystem_info_async),
328 (g_file_query_filesystem_info_finish),
329 (query_filesystem_info_data_free),
330 (query_filesystem_info_async_thread),
331 (g_file_real_query_filesystem_info_async),
332 (g_file_real_query_filesystem_info_finish):
333 * gfile.h: Implement async version of
334 g_file_query_filesystem_info()
336 * gfileinfo.h: Add new attributes for filesystem::use-preview
338 * gio.symbols: Update
340 * gthemedicon.c: (g_themed_icon_append_name):
341 * gthemedicon.h: Add new new convenience function.
343 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
344 (get_mounts), (get_volumes), (get_connected_drives),
345 (get_volume_for_uuid), (get_mount_for_uuid),
346 (g_union_volume_monitor_init), (populate_union_monitor),
347 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
348 (g_volume_monitor_adopt_orphan_mount):
350 * gvolumemonitor.h: Use recursive locks so it's safe for volume
351 monitor implementations to call into the main volume monitor. Also
352 separate object initialization and volume monitor initialization
353 such that non-native volume monitors can properly adopt their
356 2008-02-21 Alexander Larsson <alexl@redhat.com>
361 2008-02-21 Alexander Larsson <alexl@redhat.com>
364 Add more documentation about how GFiles work (from #517086)
366 2008-02-21 Alexander Larsson <alexl@redhat.com>
370 Add new g_file_has_prefix that does the same as g_file_contains_file.
371 Deprecate g_file_contains_file and add a macro that converts
372 it to g_file_has_prefix.
373 The reason for this change is that the contains_file() name seems to
374 imply that this does more work than what it does, but its really only
375 a name match (from #517086)
380 Update to match the above change.
382 2008-02-20 Benjamin Otte <otte@gnome.org>
384 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
385 (g_file_eject_mountable):
386 even more cases of not returning in error path
388 2008-02-20 Benjamin Otte <otte@gnome.org>
390 * gfile.c: (g_file_mount_mountable):
391 return from function in error path.
393 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
396 Remove trailing coma in GMountMountFlags struct
398 2008-02-18 Alexander Larsson <alexl@redhat.com>
402 * glocalfileoutputstream.c:
403 Use g_unlink/g_rename instead of unlink/rename;
404 do not pass raw filenames to g_set_error. (#517239)
405 Patch from Yevgen Muntyan.
407 2008-02-18 Alexander Larsson <alexl@redhat.com>
410 * glocalfileoutputstream.c:
411 Open files with O_BINARY on windows. (#517140)
413 2008-02-14 Alexander Larsson <alexl@redhat.com>
415 * glocalfileoutputstream.c:
416 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
418 2008-02-14 Alexander Larsson <alexl@redhat.com>
421 Copy permissions with file on copy (#514084)
422 This is what cp does and makes sure e.g. the
423 exec permissions are kept.
424 Its kinda weird in that it keeps the permission bits
425 the same while the uid and gid are different. However
426 the new uid is the user so its not a security issue,
427 and I've heard no complaints about cp on this issue.
429 2008-02-13 Ryan Lortie <desrt@desrt.ca>
431 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
433 2008-02-13 Alexander Larsson <alexl@redhat.com>
435 * inotify/inotify-path.c:
436 Define IN_ONLYDIR if not in header (#515346)
438 2008-02-12 Alexander Larsson <alexl@redhat.com>
440 * tests/live-g-file.c:
443 2008-02-11 Matthias Clasen <mclasen@redhat.com>
445 * === Released 2.15.5 ===
447 2008-02-11 Matthias Clasen <mclasen@redhat.com>
449 * gio.symbols: Add g_mount_mount_flags_get_type.
451 2008-02-11 Alexander Larsson <alexl@redhat.com>
454 (g_file_info_set_attribute_mask):
455 (g_file_attribute_matcher_matches_id):
456 Correctly handle NULL GAttributeMatcher meaning
457 matches nothing. (Fixes #513492)
459 2008-02-11 Alexander Larsson <alexl@redhat.com>
464 Added GMountMountFlags enum and added a flags
465 argument to all mount calls.
467 This is an API/ABI change for future extensibility,
468 as I think we will need at least an
469 inhibit-autorun flag (the panel needs this).
470 There are no flags defined yet though.
472 2008-02-11 Alexander Larsson <alexl@redhat.com>
475 Added new standard::description attribute.
476 Requested by Vincent, and useful for both
479 2008-02-11 Alexander Larsson <alexl@redhat.com>
484 2008-02-11 Matthias Clasen <mclasen@redhat.com>
486 * *.c: Documentation additions
488 2008-02-10 Matthias Clasen <mclasen@redhat.com>
490 * gappinfo.h: Formatting cleanup
491 * gappinfo.c: Fix up docs.
493 2008-02-09 Matthias Clasen <mclasen@redhat.com>
495 * gunixmounts.c: Consistently use getmntent_r() and fall
496 back to getmntent(). (#515492)
498 2008-02-09 Matthias Clasen <mclasen@redhat.com>
500 * gbufferedinputstream.c:
502 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
504 * tests/data-input-stream.c:
505 * tests/data-output-stream.c: Portability fixes.
507 2008-02-08 Alexander Larsson <alexl@redhat.com>
512 Add g_volume_should_automount.
515 2008-02-07 Tor Lillqvist <tml@novell.com>
517 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
518 Win32, too Unix-specific.
520 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
522 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
523 a local plt if the compiler doesn't support what we want. Bug #514702
525 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
527 reviewed by: <delete if not using a buddy>
530 * gunixinputstream.c:
531 * gunixoutputstream.c:
533 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
536 * tests/live-g-file.c:
537 * tests/live-g-file.txt:
538 New GIO testing module working over real data
540 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
542 * glocalfileoutputstream.c (g_local_file_output_stream_close):
543 Fallback to rename() if link() is not available
544 (when no support on target filesystem)
546 2008-02-06 Michael Natterer <mitch@imendio.com>
548 * gfileinfo.c (g_file_info_get_icon): replace
549 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
551 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
553 * gfile.c (g_file_create):
554 Documentation update of error codes
556 2008-02-06 Alexander Larsson <alexl@redhat.com>
559 Update to use both mimeapps.list and
560 defaults.list as discussed on xdg list.
562 2008-02-06 Benjamin Otte <otte@gnome.org>
565 * gfilenamecompleter.c:
566 Fix some typos in the documentation.
568 2008-02-06 Alexander Larsson <alexl@redhat.com>
570 * glocalfile.c (g_local_file_trash):
571 Don't succeed with trash if newly created
572 trash dir has the wrong owner. (#514696)
574 2008-02-05 Alexander Larsson <alexl@redhat.com>
576 * glocalfile.c (g_local_file_move):
577 Don't spew warnings when destination is not
580 2008-02-03 Hans Breuer <hans@breuer.org>
582 * makefile.msc : update
584 2008-02-01 Michael Natterer <mitch@imendio.com>
586 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
587 return value of xdg_mime_list_mime_parents() to a variable of the
590 2008-02-01 Alexander Larsson <alexl@redhat.com>
592 * gappinfo.c (g_app_info_launch_uris):
593 Actually call the launch_uris method, not
596 2008-02-01 Alexander Larsson <alexl@redhat.com>
598 * gdesktopappinfo.c (g_desktop_app_info_equal):
599 Ensure appinfos with no id but same pointer value
602 2008-02-01 Alexander Larsson <alexl@redhat.com>
604 * gappinfo.c (g_app_info_launch_default_for_uri):
607 2008-02-01 Alexander Larsson <alexl@redhat.com>
611 Add g_app_info_launch_default_for_uri utility
614 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
617 Doc fix for g_app_info_get_default_for_uri_scheme ()
620 2008-01-30 Alexander Larsson <alexl@redhat.com>
623 Add doc comment about uris vs GFiles to
627 Ensure uris passed to g_app_info_launch_uris()
628 are not roundtriped through GFile (as that
629 may be slightly destructive for e.g. mailto: links)
631 2008-01-30 Alexander Larsson <alexl@redhat.com>
633 * tests/data-input-stream.c:
634 * tests/data-output-stream.c:
635 C89 fixes from Jens Granseuer (#512849)
637 2008-01-30 Alexander Larsson <alexl@redhat.com>
640 Fix gamin/fam difference build issue. (#509419)
642 2008-01-29 Alexander Larsson <alexl@redhat.com>
646 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
648 2008-01-29 Alexander Larsson <alexl@redhat.com>
652 giomodule-priv.h include moved to .c file.
654 2008-01-29 Alexander Larsson <alexl@redhat.com>
656 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
657 Remove unused prio/name fields.
659 2008-01-29 Alexander Larsson <alexl@redhat.com>
661 * gcontenttype.c (looks_like_text):
662 Don't treat whitespace as control chars.
664 2008-01-29 Alexander Larsson <alexl@redhat.com>
667 Lazily create the desktop files for appinfos created
668 by g_app_info_create_from_commandline() when needed
669 for mime associations. This allows run-time use
670 of GAppInfo object without creating unnecessary
673 2008-01-29 Alexander Larsson <alexl@redhat.com>
676 Added new symbols to gio.symbols
678 2008-01-29 Alexander Larsson <alexl@redhat.com>
681 Add g_file_query_default_handler utility to easily look up
682 the GAppInfo that handles a file.
684 * gdesktopappinfo.[ch]:
686 Set up an extension point for g_app_info_get_default_for_uri_scheme()
689 Remove unused function
691 2008-01-29 Alexander Larsson <alexl@redhat.com>
694 Mention need to free returned value in
695 g_file_enumerator_next_files_finish docs.
696 Fix leak if g_file_enumerator_next_files_finish()
699 2008-01-29 Alexander Larsson <alexl@redhat.com>
702 (_g_unix_content_type_get_parents):
703 Use list_parents, not get_parents from xdgmime, because
704 the later doesn't use the cache.
706 * xdgmime/xdgmimecache.c:
707 (_xdg_mime_cache_list_mime_parents):
708 Don't list the same type as parent multiple times.
710 2008-01-28 Matthias Clasen <mclasen@redhat.com>
712 * === Released 2.15.4 ===
714 2008-01-28 Alexander Larsson <alexl@redhat.com>
717 Register local vfs with prio 0.
720 Remove old name and prio class members
722 2008-01-28 Matthias Clasen <mclasen@redhat.com>
724 * tests/g-file.c: Disable some tests that are failing in
725 the absence of a http backend.
727 2008-01-28 Alexander Larsson <alexl@redhat.com>
731 Add registration hooks for extension points.
732 Register the gio extension points.
734 * fam/gfamdirectorymonitor.c:
735 * fam/gfamfilemonitor.c:
736 * glocaldirectorymonitor.[ch]:
737 * glocalfilemonitor.[ch]:
738 * gnativevolumemonitor.h:
739 * gunionvolumemonitor.c:
740 * gunixvolumemonitor.c:
743 * inotify/ginotifydirectorymonitor.c:
744 * inotify/ginotifyfilemonitor.c:
745 Use the extension points registration instead
746 of g_type_children().
748 2008-01-28 Matthias Clasen <mclasen@redhat.com>
751 * gvolume.[hc]: Document new API.
753 * gfile.c (g_file_copy_async): Fix docs
755 2008-01-27 Matthias Clasen <mclasen@redhat.com>
757 * gbufferedinputstream.c:
759 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
762 2008-01-27 Matthias Clasen <mclasen@redhat.com>
764 * glocalfile.c: Avoid trivial differences in translatable strings.
766 2008-01-25 Matthias Clasen <mclasen@redhat.com>
768 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
769 build with gcc 3.4 (#509419)
771 2008-01-25 Matthias Clasen <mclasen@redhat.com>
773 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
774 (#509994, Murray Cumming)
776 2008-01-25 Matthias Clasen <mclasen@redhat.com>
778 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
779 * gioscheduler.c: Keep calling io jobs until they return FALSE;
780 this allows big jobs to be executed in chunks, instead of blocking
781 the main loop for a long time.
783 * gsimpleasyncresult.c:
784 * giofile.c: Adapt callers.
786 2008-01-25 Alexander Larsson <alexl@redhat.com>
789 Implement changes discussed on xdg list.
790 Now we can add supported mimetypes by just using defaults.list
791 We can also remove associations in defaults.list.
793 2008-01-25 Alexander Larsson <alexl@redhat.com>
796 Don't make local copy of desktop file
797 for mimetype changes if the file already
798 supports the new mimetype.
800 2008-01-25 Matthias Clasen <mclasen@redhat.com>
804 * gbufferedinputstream.c:
805 * glocalfile.c: String improvements. (#511966,
806 Theppitak Karoonboonyanan)
808 2008-01-24 Matthias Clasen <mclasen@redhat.com>
810 * gioscheduler.h: Expand docs a bit.
812 2008-01-24 Alexander Larsson <alexl@redhat.com>
815 Add g_drive_get_identifier and
816 g_drive_enumerate_identifiers
819 Add g_volume_get_identifier and
820 g_volume_enumerate_identifiers
826 Implement identifiers for unix backend
828 2008-01-24 Alexander Larsson <alexl@redhat.com>
833 Add g_file_copy_async() (#511580)
834 Based on patch from Carlos Garcia Campos
836 2008-01-23 Matthias Clasen <mclasen@redhat.com>
838 * gioscheduler.c: Some documentation additions.
840 2008-01-22 Alexander Larsson <alexl@redhat.com>
843 (g_desktop_app_info_new):
846 2008-01-22 Alexander Larsson <alexl@redhat.com>
849 (g_desktop_app_info_new_from_filename):
852 2008-01-22 Alexander Larsson <alexl@redhat.com>
854 * glocalfileinfo.c (get_thumbnail_attributes):
857 2008-01-22 Alexander Larsson <alexl@redhat.com>
860 (canonicalize_filename):
861 Canonicalize paths that start with more than
866 (test_g_file_new_for_path):
869 2008-01-22 Alexander Larsson <alexl@redhat.com>
872 Allow UTF-8 in file:// parse names.
875 * tests/data-input-stream.c:
876 * tests/data-output-stream.c:
877 * tests/g-file-info.c:
879 Added a bunch of tests from Tomas Bzatek
881 2008-01-21 Matthias Clasen <mclasen@redhat.com>
883 * === Released 2.15.3 ===
885 2008-01-21 Alexander Larsson <alexl@redhat.com>
887 * gfileinputstream.[ch]:
888 * gfileoutputstream.[ch]:
890 Remove duplicated GSeekable functions. (#509990)
891 Just use the g_seekable_xxx() calls instead.
893 2008-01-21 Matthias Clasen <mclasen@redhat.com>
896 * gvolumemanager.c: Whitespace cleanups.
898 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
899 Use the right mode when creating the file.
901 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
904 * gfileinputstream.c:
906 * goutputstream.c: Documentation: Fixed minor typos
907 and added more mentions of specific _finish() functions.
909 2008-01-21 Alexander Larsson <alexl@redhat.com>
911 * inotify/Makefile.am:
912 * inotify/inotify-helper.c:
913 * inotify/inotify-kernel.c:
914 * inotify/inotify-path.c:
915 * inotify/local_inotify.h: Removed.
916 * inotify/local_inotify_syscalls.h: Removed.
917 Removed the included copies of the inotify
918 headers. We now only use the <sys/inotify.h>
919 header which exists on modern systems.
920 This fixes problems on ARM and SH5 (#510448)
921 but is also generally much cleaner and future
922 safe. For instance, if other OSes add support
923 for inotify it should "just work".
925 2008-01-20 Matthias Clasen <mclasen@redhat.com>
927 * inotify/*.c: Coding style fixes.
928 * inotify/inotify-missing.c: Use g_timeout_add_seconds
929 for the 1/4 Hz timer.
931 2008-01-20 Matthias Clasen <mclasen@redhat.com>
935 * gmemoryinputstream.c:
936 * gmemoryoutputstream.c:
938 * gthemedicon.c: Documentation updates
940 2008-01-20 Murray Cumming <murrayc@murrayc.com>
942 * gfile.c: documentation: Fixed more minor
945 2008-01-18 Murray Cumming <murrayc@murrayc.com>
947 * gmount.c: (g_mount_remount): documentation:
948 Mention g_mount_remount_finish() instead of
949 g_mount_unmount_finish().
951 2008-01-18 Murray Cumming <murrayc@murrayc.com>
955 * gfile.c: Fixed some minor typos in the
958 2008-01-18 Murray Cumming <murrayc@murrayc.com>
960 * gio/gvolumemonitor.c:
961 (g_volume_monitor_get_connected_drives):
962 (g_volume_monitor_get_volumes):
963 (g_volume_monitor_get_mounts): Documentation:
964 Clarify the ownership of the regurn GLists.
966 2008-01-17 Alexander Larsson <alexl@redhat.com>
969 Add the async find_enclosing_mount version
970 to the header file too.
972 2008-01-17 Alexander Larsson <alexl@redhat.com>
975 Add async version of find_enclosing_mount
976 with default implementation.
978 2008-01-17 Alexander Larsson <alexl@redhat.com>
983 Allow calls to implementation of copy and write
984 even if the type of the file implementations is
985 different. This can be used to implement native
986 upload and download calls in a vfs.
990 Protect against the case where move is called
991 with one file not being local.
993 Make sure we call the progress callback once
994 in the native move operation so that the caller
995 knows how many bytes were copied.
997 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1000 * gdatainputstream.c:
1002 * gfileoutputstream.c:
1007 * gunixmounts.c: Corrected some typos in the documentation:
1008 occured -> occurred.
1009 its -> it's (where appropriate).
1011 2008-01-16 Alexander Larsson <alexl@redhat.com>
1015 Add g_file_query_exists (#508771)
1017 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1022 * gvolume.c: For async functions that have no non-async
1023 version, document that the GAsyncReadyCallback may be NULL.
1026 2008-01-15 Alexander Larsson <alexl@redhat.com>
1028 * gmemoryinputstream.c:
1029 * gmemoryoutputstream.c:
1030 Don't do pointer arithmetic on void * (#508602)
1031 Patch from Kazuki IWAMOTO
1033 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1035 * === Released 2.15.2 ===
1037 2008-01-14 Alexander Larsson <alexl@redhat.com>
1039 * gfile.c (g_file_monitor_file):
1040 Don't set error here, since we fallback to polling monitor.
1042 2008-01-14 Alexander Larsson <alexl@redhat.com>
1045 (g_file_monitor_directory):
1046 (g_file_monitor_file):
1047 Add GError to file monitor calls
1049 * glocaldirectorymonitor.c:
1050 * glocaldirectorymonitor.h:
1052 * glocalfilemonitor.c:
1053 * glocalfilemonitor.h:
1055 Update for above change
1057 2008-01-14 Alexander Larsson <alexl@redhat.com>
1061 Handle root correctly in g_file_get_relative_path (#508719)
1063 2008-01-14 Alexander Larsson <alexl@redhat.com>
1066 Clean up docs and example for GAsyncResult (#508074)
1068 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1070 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1071 and correct some spelling mistakes. Bug #508108.
1073 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1075 * glocalfileinfo.c: Add a comment.
1077 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1079 * gfileinfo.c: GFileInfo description: Mention
1080 how to actually set attributes in a GFile and how to discover
1081 which attributes are settable. Bug #508378.
1083 2008-01-10 A. Walton <awalton@svn.gnome.org>
1085 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1086 (g_app_info_get_default_for_type):
1087 Check for NULL content types.
1089 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1091 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1093 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1095 * gfile.c: *_async() functions: Several small corrections
1096 to the documentation, mostly correcting copy/paste errors
1097 and improving some sentences.
1099 2008-01-09 Dan Winship <danw@gnome.org>
1101 * glocalfile.c (get_unique_filename): x86_64 fix
1103 2008-01-09 Alexander Larsson <alexl@redhat.com>
1108 Add g_unix_mount_guess_should_display and use
1109 for unix volume monitor backend.
1110 This means we more or less show what the
1111 gnome-vfs backend did.
1112 Based on patch from Padraig O'Briain
1114 2008-01-09 Alexander Larsson <alexl@redhat.com>
1118 Add g_themed_icon_new_with_default_fallbacks
1121 Use default fallbacks for icons
1123 2008-01-09 Alexander Larsson <alexl@redhat.com>
1126 * gmountoperation.[ch]:
1127 Change the API a bit so that unhandled methods
1128 get reported via the reply, rather than by
1129 the signal emission return value. This is because
1130 some handlers can't know this immediately without
1131 doing I/O, and this is an async operation that
1134 2008-01-09 Alexander Larsson <alexl@redhat.com>
1137 * fam/gfamdirectorymonitor.c:
1138 * fam/gfamfilemonitor.c:
1139 Fix double free crash (#508224)
1140 Patch from Joe Marcus Clarke
1142 008-01-07 Matthias Clasen <mclasen@redhat.com>
1144 * === Released 2.15.1 ===
1146 2008-01-07 Alexander Larsson <alexl@redhat.com>
1148 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1149 Fix warning (#507835)
1151 2008-01-07 Alexander Larsson <alexl@redhat.com>
1154 Pass --internal to glib-genmarshal
1157 * gmountoperation.c:
1159 Use better types for signal arguments (#507822)
1161 2008-01-07 Alexander Larsson <alexl@redhat.com>
1164 Build test subdir after .
1165 Remove gdirectorymonitor.[ch]
1167 * gdirectorymonitor.[ch]:
1171 Remove GDirectoryMonitor and make
1172 GFileMonitor the baseclass for both file and
1173 directory monitors. Lift the more generic
1174 rate limiting code from GDirectoryMonitor
1178 * fam/gfamdirectorymonitor.[ch]:
1179 * inotify/ginotifydirectorymonitor.[ch]:
1180 * inotify/inotify-helper.c:
1181 * glocaldirectorymonitor.[ch]:
1184 Update for the removed GDirectoryMonitor.
1186 * gmemoryoutputstream.c:
1187 Remove ununsed variable
1189 2008-01-07 Alexander Larsson <alexl@redhat.com>
1191 * gmemoryinputstream.c:
1192 Translate error strings
1195 * gmemoryoutputstream.[ch]:
1196 New implementation that avoids using GByteArray
1197 in implementation and API. (#506377)
1199 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1201 * tests/*: Add a test for memory input streams.
1203 * Makefile.am: Add tests to SUBDIRS.
1205 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1207 * glocalfilemonitor.c:
1208 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1211 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1213 * gdesktopappinfo.c: Fix a docs typo.
1215 * gfileattribute.c: Add information about extended attributes
1216 to the documentation. (#505058)
1218 2008-01-04 Alexander Larsson <alexl@redhat.com>
1221 * gmountoperation.c:
1222 Use the right type (uint) for the ask_password signal.
1224 2008-01-04 Alexander Larsson <alexl@redhat.com>
1229 Add g_app_info_supports_files()
1230 Remove desktop arg from g_app_info_should_show().
1232 * gdesktopappinfo.[ch]:
1233 Implement g_app_info_supports_files() and new should_show()
1234 Add g_desktop_app_info_set_desktop_env() to set the desktop
1235 for should_show(). (This will be set by gtk+ later)
1237 2008-01-04 Alexander Larsson <alexl@redhat.com>
1240 * gmemoryinputstream.[ch]:
1241 Improve API so that you can use multiple chunks
1242 of memory and custom destroy functions. (#506374)
1244 2008-01-03 Alexander Larsson <alexl@redhat.com>
1247 Handle NULL attribute matchers safely, as we return this
1248 for empty attribute matcher strings.
1250 2008-01-03 Alexander Larsson <alexl@redhat.com>
1252 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1253 Add /usr/local to list of internal mountpoints
1255 2008-01-03 Alexander Larsson <alexl@redhat.com>
1258 Check for HAVE_LCHOWN (#505887)
1260 2008-01-03 Alexander Larsson <alexl@redhat.com>
1264 Add define for selinux context attribute.
1265 Fix missing : -> :: namespace separator change
1266 Fix missing _ -> - name change for xattr-sys.
1269 2008-01-03 Alexander Larsson <alexl@redhat.com>
1272 Link to libglib and libgobject directly (#504879)
1273 Patch from Sebastien Bacher
1275 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1277 * gfile.c: Expanded the g_file_new_for_commandline_arg
1278 description a bit, based on the code and the docs of the
1279 other g_file_new_for_* functions.
1281 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1283 * gfilemonitor.h: Fixed typo in docs.
1285 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1287 Updates to GIO documentation. (#506395, Mikael Hermansson)
1289 * gcontenttype.c: Describe memory management for return value of
1290 g_content_types_get_registered(). Missing piece from #505815.
1291 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1292 GVolume, GDrive, GMounts, which hopefully gives the user less
1293 confusions when using this API. Following explainations from
1294 Alexander Larsson on gtk-devel-list.
1296 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1298 * gfileinfo.c: Expand the long description.
1300 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1303 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1304 fix builds with --disable-visibility. (#500273, Christian Persch)
1306 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1308 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1309 in the list of returned app infos.
1311 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1313 * gappinfo.c: Fix a cross-reference
1315 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1317 * gfileinputstream.c:
1318 * gfileoutputstream.c:
1322 * gdesktopappinfo.c:
1324 * gfileinfo.c: Documentation updates.
1326 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1328 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1331 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1333 * gcontenttype.c (g_content_types_get_registered): Don't return
1334 freed memory (#505815, Mikael Hermansson)
1336 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1338 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1339 used to detect statbuf->st_blocks. (#505042)
1341 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1343 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1344 environment handling. (#504829, Cosimo Cecchi)
1346 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1348 * gappinfo.c: Doc improvements
1350 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1353 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1355 * === Released 2.15.0 ===
1357 2007-12-20 Hans Breuer <hans@breuer.org>
1359 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1360 with symbols gwin32appinfo.obj, added gmount.obj
1361 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1363 2007-12-20 Alexander Larsson <alexl@redhat.com>
1369 * gfilenamecompleter.c:
1372 * gpollfilemonitor.c:
1373 File attribute renames:
1375 fs:: -> filesystem::
1376 id::fs -> id::filesystem
1378 2007-12-20 Alexander Larsson <alexl@redhat.com>
1387 Add GMountUnmountFlags to all unmount and
1389 Add g_mount_remount() call.
1391 2007-12-20 Alexander Larsson <alexl@redhat.com>
1393 * gvfs.c (get_default_vfs):
1394 Fix unused variable warning
1396 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1398 * pltcheck.sh: Update
1400 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1402 * gunionvolumemonitor.c:
1403 * gunixmount.c: Remove C99 comments
1405 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1407 * gio.symbols: Add some missing symbols
1409 2007-12-19 Alexander Larsson <alexl@redhat.com>
1412 Make g_io_modules_load_all_in_directory not unuse
1413 loaded modules so that users of it can do stuff
1415 Init internal "module" types.
1416 Initialize static prio and name for types so that
1417 we don't have to load modules to get it.
1419 * gnativevolumemonitor.h:
1421 Move is_supported to parent class so that
1422 non-native monitors can avoid being initialized
1423 too. (For instance GDaemonVolumeMonitor if we're
1424 not using GDaemonVfs.)
1426 * glocaldirectorymonitor.[ch]:
1427 * glocalfilemonitor.[ch]:
1428 * gunionvolumemonitor.c:
1429 * gunixvolumemonitor.c:
1431 Find plugins using the static prio+name to
1432 avoid unnecessarily loading the modules.
1434 2007-12-19 Alexander Larsson <alexl@redhat.com>
1439 2007-12-19 Alexander Larsson <alexl@redhat.com>
1441 * gunionvolumemonitor.c:
1442 Store the native type as GType, not class so that
1443 we can unload it. But still avoid unnecessarily
1446 2007-12-19 David Zeuthen <davidz@redhat.com>
1448 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1449 add signals 'disconnected' and 'eject-button' on GDrive. Add
1450 signal 'removed' on GVolume and 'unmounted' on GMount.
1452 * gdrive.c: (g_drive_base_init):
1454 * gfile.c: (g_file_mount_mountable),
1455 (g_file_mount_enclosing_volume):
1458 * gmount.c: (g_mount_base_init):
1460 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1461 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1462 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1466 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1468 * *.c: Fix up includes in the section docs.
1470 2007-12-17 Alexander Larsson <alexl@redhat.com>
1472 * gnativevolumemonitor.h:
1473 * gunionvolumemonitor.c:
1474 * gunixvolumemonitor.c:
1475 Add is_supported() to GNativeVolumeMonitorClass so
1476 that we can avoid having to create an object to see
1477 if the backend is supported at runtime.
1478 Also add name member and an env var to pick a specific
1479 volume monitor backend.
1483 Add cancellable to _g_mount_get_for_mount_path()
1485 * glocaldirectorymonitor.c:
1486 * glocalfilemonitor.c:
1487 Avoid loading and unloading modules while sorting.
1489 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1492 * gunixmounts.[hc]: Namespace waste reduction, move some
1493 g_get_unix_mount functions to the g_unix_mount namespace.
1496 * gunixvolumemonitor.c:
1498 * glocaldirectorymonitor.c: Update all callers.
1500 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1502 2007-12-17 Alexander Larsson <alexl@redhat.com>
1505 Add doc comments about what GFile operations are
1506 guaranteed to not block.
1508 2007-12-17 Alexander Larsson <alexl@redhat.com>
1511 Add missing #ifdef fixing OSX build.
1512 (#503334, patch from Richard Hult)
1514 2007-12-14 David Zeuthen <davidz@redhat.com>
1518 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1519 (g_mount_eject), (g_mount_eject_finish):
1521 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1522 (get_volume_for_uuid), (get_mount_for_uuid),
1523 (g_union_volume_monitor_class_init),
1524 (get_default_native_type_with_exclude), (get_default_native_type),
1525 (get_native_type), (update_native_type),
1526 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1527 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1528 (g_unix_mount_can_eject), (eject_unmount_cb),
1529 (eject_unmount_read_error), (eject_unmount_do),
1530 (g_unix_mount_unmount), (g_unix_mount_eject),
1531 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1532 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1533 (g_unix_mount_point_guess_can_eject):
1535 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1536 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1537 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1538 (g_unix_volume_mount), (g_unix_volume_eject),
1539 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1540 * gunixvolumemonitor.c: (get_volume_for_uuid),
1541 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1543 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1544 (g_volume_eject), (g_volume_eject_finish):
1546 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1547 (g_volume_monitor_get_mount_for_uuid):
1550 Provide eject() on both GMount and GVolume and utility functions
1551 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1552 ejected. Introduce the concept of UUID's and wire it into GVolume
1553 and GMount and provide API on GVolumeMonitor to find such
1554 instances. Also handle the case where an external
1555 GNativeVolumeMonitor fails to initialize. Lock around the
1556 _g_get_mount_for_mount_path() function such that volume monitor
1557 implementations won't have to do locking themselves.
1559 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1561 * gdesktopappinfo.c:
1567 * gvolume.h: Documentation updates
1569 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1572 * gfile.h: Doc updates
1574 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1577 * gdesktopappinfo.c: Use hash table iterators.
1579 2007-12-14 Alexander Larsson <alexl@redhat.com>
1582 * gfileattribute.[ch]:
1583 * gfileattribute-priv.h:
1584 Move GFileAttributeValue to a private header, as
1588 Make set_attribute take a type + a pointer instead
1589 of a GFileAttributeValue.
1592 Fix up for above changes.
1593 Add g_file_info_get_attribute_data to get
1594 all info in one call, g_file_info_get_attribute_status
1595 to get the status and g_file_info_get_attribute_as_string.
1599 * glocalfileinfo.[ch]:
1603 Make _guess_type static.
1605 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1608 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1609 made mkenums and friends use temporary files to avoid leaving
1610 empty generated files on failure (#503470).
1612 2007-12-14 Alexander Larsson <alexl@redhat.com>
1614 * gmountoperation.h:
1617 2007-12-14 Alexander Larsson <alexl@redhat.com>
1621 * gfileattribute.[ch]:
1624 * glocalfileoutputstream.c:
1625 * gmountoperation.[ch]:
1626 * goutputstream.[ch]:
1627 Clean up all flags enums to not have _FLAGS in them
1628 Make the names of some of the enums better.
1633 2007-12-14 Michael Natterer <mitch@imendio.com>
1635 * gio.symbols: fix g_io_scheduler symbol names.
1637 2007-12-14 Alexander Larsson <alexl@redhat.com>
1643 * gbufferedinputstream.h:
1644 * gbufferedoutputstream.h:
1647 * gdatainputstream.h:
1648 * gdataoutputstream.h:
1649 * gdesktopappinfo.h:
1650 * gdirectorymonitor.h:
1654 * gfileenumerator.h:
1657 * gfileinputstream.h:
1659 * gfilenamecompleter.h:
1660 * gfileoutputstream.h:
1661 * gfilterinputstream.h:
1662 * gfilteroutputstream.h:
1670 * gmemoryinputstream.h:
1671 * gmemoryoutputstream.h:
1673 * gmountoperation.h:
1676 * gsimpleasyncresult.h:
1678 * gunixinputstream.h:
1680 * gunixoutputstream.h:
1684 * inotify/Makefile.am:
1685 Only allow including <gio/gio.h> from apps
1687 2007-12-14 Alexander Larsson <alexl@redhat.com>
1689 * gioscheduler.[ch]:
1690 * gsimpleasyncresult.c:
1691 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1692 Split out the send_to_mainloop call into two versions instead
1693 of having the block argument.
1695 2007-12-13 Alexander Larsson <alexl@redhat.com>
1697 * gcancellable.[ch]:
1699 * gbufferedinputstream.c:
1700 * gfileenumerator.c:
1701 * gfileinputstream.c:
1702 * gfileoutputstream.c:
1706 g_push/pop_current_cancellable ->
1707 g_cancellable_push/pop_current
1709 2007-12-13 Alexander Larsson <alexl@redhat.com>
1713 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1715 2007-12-13 Alexander Larsson <alexl@redhat.com>
1717 * gmountoperation.h:
1718 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1720 2007-12-12 Alexander Larsson <alexl@redhat.com>
1723 Fix race condition when freeing proxy in
1724 g_io_job_send_to_mainloop().
1726 2007-12-12 Alexander Larsson <alexl@redhat.com>
1732 Make attribute namespace separator "::" instead of ":".
1733 Use - instead of _ as separator in attribute names.
1735 2007-12-12 Alexander Larsson <alexl@redhat.com>
1737 * gbufferedinputstream.h:
1738 * gbufferedoutputstream.h:
1739 * gdatainputstream.h:
1740 * gdataoutputstream.h:
1741 * gdirectorymonitor.h:
1742 * gfileenumerator.h:
1743 * gfileinputstream.h:
1745 * gfileoutputstream.h:
1746 * gfilterinputstream.h:
1747 * gfilteroutputstream.h:
1749 * glocalfileinputstream.h:
1750 * glocalfileoutputstream.h:
1751 * gmemoryinputstream.h:
1752 * gmemoryoutputstream.h:
1753 * gnativevolumemonitor.h:
1755 * gunixinputstream.h:
1756 * gunixoutputstream.h:
1759 s/parent/parent_instance/ in GObjects
1761 2007-12-12 Alexander Larsson <alexl@redhat.com>
1766 No need for padding for interfaces
1768 2007-12-12 Alexander Larsson <alexl@redhat.com>
1772 * gbufferedinputstream.c:
1773 * gbufferedoutputstream.c:
1776 * gdatainputstream.[ch]:
1777 * gdesktopappinfo.c:
1778 * gdirectorymonitor.c:
1780 * gfileattribute.[ch]:
1783 * gfileinputstream.h:
1784 * gfilemonitor.[ch]:
1785 * gfileoutputstream.[ch]:
1786 * gfilterinputstream.h:
1787 * gfilteroutputstream.h:
1790 * gloadableicon.[ch]:
1791 * gmemoryinputstream.c:
1792 * gmountoperation.c:
1794 Fix up a bunch of details in the docs.
1799 2007-12-11 David Zeuthen <davidz@redhat.com>
1801 Rework how volumes, drives and volume monitoring is
1802 done. Previosly the model was
1804 GDrive <1-1> GVolume
1806 where a GDrive instance represented a mount point and a GVolume
1807 instance represented a mounted file system. This patch changes it
1810 GDrive <1-N> GVolume <1-1> GMount
1812 where GMount now serves the purpose of the old GVolume and the new
1813 GVolume serves the purpose of the old GDrive. In addition the new
1814 GDrive interface is used to represent a collection of GVolume
1815 instances (typically partitions) and also contains utility to query
1816 the state of the physical drive the GDrive object represents (such
1817 as checking for media, polling the drive, ejecting the media etc.).
1819 Also implement mounting and unmounting in the Unix volume monitor
1820 backend. A subquent patch will introduce GDrive support for ejection
1824 * gdrive.c: (g_drive_is_media_check_automatic),
1825 (g_drive_is_media_removable), (g_drive_has_media),
1826 (g_drive_can_poll_for_media), (g_drive_eject),
1827 (g_drive_eject_finish), (g_drive_poll_for_media),
1828 (g_drive_poll_for_media_finish):
1830 * gfile.c: (g_file_find_enclosing_mount):
1833 * glocaldirectorymonitor.c:
1834 (g_local_directory_monitor_constructor), (mounts_changed):
1835 * glocalfile.c: (get_mount_info),
1836 (g_local_file_find_enclosing_mount),
1837 (g_local_file_file_iface_init):
1838 * gnativevolumemonitor.h:
1839 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1840 (get_connected_drives), (g_union_volume_monitor_class_init),
1841 (child_volume_added), (child_volume_removed),
1842 (child_volume_changed), (child_mount_added), (child_mount_removed),
1843 (child_mount_pre_unmount), (child_mount_changed),
1844 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1845 (g_union_volume_monitor_remove_monitor),
1846 (_g_mount_get_for_mount_path):
1847 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1848 (guess_system_internal), (_g_get_unix_mounts),
1849 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1850 (g_unix_mount_free), (g_unix_mount_compare),
1851 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1852 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1853 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1854 (type_to_icon), (g_unix_mount_guess_name),
1855 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1856 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1857 (_resolve_symlink), (_resolve_dev_root):
1859 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1860 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1861 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1862 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1863 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1864 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1865 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1866 (g_unix_volume_volume_iface_init):
1868 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1869 (get_mounts), (get_volumes), (get_connected_drives),
1870 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1871 (mountpoints_changed), (mounts_changed),
1872 (g_unix_volume_monitor_init),
1873 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1874 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1875 * gunixvolumemonitor.h:
1876 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1877 (g_volume_mount), (g_volume_mount_finish):
1879 * gvolumemonitor.c: (g_volume_monitor_class_init),
1880 (g_volume_monitor_get_connected_drives),
1881 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1884 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1886 * gmountoperation.h (GPasswordFlags): Close the gap
1888 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1890 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1892 * gdesktopappinfo.[hc]: Remove _-prefixes
1894 2007-12-10 Tor Lillqvist <tml@novell.com>
1896 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1899 2007-12-10 Alexander Larsson <alexl@redhat.com>
1901 * gfile.c (g_file_set_display_name):
1902 Don't hardcode '/' (#502727)
1904 2007-12-09 Hans Breuer <hans@breuer.org>
1906 * makefile.msc : follow lib naming convention
1907 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1908 for user and group name, tested with ../tests/gio-ls
1910 2007-12-09 A. Walton <awalton@svn.gnome.org>
1912 * gdesktopappinfo.c:
1918 * gfileenumerator.c:
1923 * gmemoryinputstream.c:
1924 * gmemoryoutputstream.c:
1926 * gsimpleasyncresult.c:
1927 More documentation cleanup and filling in missing information, bringing
1928 GIO to 99% symbol coverage.
1930 2007-12-08 Hans Breuer <hans@breuer.org>
1932 [gio compiles and links on win32, not sure how much already works]
1933 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1934 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1935 base on win32 API; prefer g_lstat() over lstat(); instead of
1936 localtime_r() use an all GLib implementation on win32;
1937 get_mount_info() still needs a win32 specifc implementation
1938 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1939 win32_get_file_user_info to get owner/group info without uid/gid
1940 * glocalfileinputstream.c : include <io.h> on win32
1941 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1942 definition, use g_win32_ftruncate() for G_OS_WIN32
1943 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1944 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1945 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1946 * makefile.msc : updated
1948 2007-12-07 Alexander Larsson <alexl@redhat.com>
1950 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1951 Avoid warning spew if error == NULL
1953 2007-12-07 Alexander Larsson <alexl@redhat.com>
1956 Update docs wrt etags
1958 2007-12-06 Alexander Larsson <alexl@redhat.com>
1961 Include sys/types.h for dev_t (#501919)
1963 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1967 Make abicheck and pltcheck pass.
1969 2007-12-05 Alexander Larsson <alexl@redhat.com>
1972 * giomodule-priv.h: Added.
1973 * glocaldirectorymonitor.c:
1974 * glocalfilemonitor.c:
1975 * gunionvolumemonitor.c:
1977 Actually add the declaration of _g_io_modules_ensure_loaded
1979 2007-12-05 Alexander Larsson <alexl@redhat.com>
1981 * gdatainputstream.c:
1986 * glocaldirectorymonitor.c:
1987 * glocalfilemonitor.c:
1988 * gunionvolumemonitor.c:
1990 Make g_io_modules_ensure_loaded a private function and
1991 don't pass in the dirname. This means we can do magic
1992 directory finding in the win32 version.
1993 Export the actual load-modules-in-directory code so that
1994 gvfs can reuse that.
1996 2007-12-05 Alexander Larsson <alexl@redhat.com>
1998 * gbufferedinputstream.c:
1999 * gbufferedoutputstream.c:
2002 * gfileenumerator.[ch]:
2003 * gfileinputstream.c:
2004 * gfileoutputstream.[ch]:
2005 * gfilterinputstream.c:
2006 * gfilteroutputstream.c:
2007 * ginputstream.[ch]:
2009 * glocalfileenumerator.c:
2010 * glocalfileinputstream.c:
2011 * glocalfileoutputstream.c:
2012 * gmemoryinputstream.c:
2013 * gmemoryoutputstream.c:
2014 * goutputstream.[ch]:
2017 * gunixinputstream.c:
2018 * gunixoutputstream.c:
2019 Rename all struct members named:
2020 read, write, close, truncate, or mount
2021 to foo_fn, as these are reserved names
2022 and could be defined as macros in libc.
2025 2007-12-04 Alexander Larsson <alexl@redhat.com>
2028 (g_output_stream_close):
2029 Only call flush if non-null.
2031 2007-11-30 Dan Winship <danw@gnome.org>
2033 * ginputstream.c (g_input_stream_set_pending): Make this take a
2034 GError and return a gboolean, and do the "outstanding operation"
2035 check (and the "stream is already closed" check) itself.
2036 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2038 * goutputstream.c (g_output_stream_set_pending)
2039 (g_output_stream_clear_pending): Likewise
2041 * gbufferedinputstream.c:
2042 * gfileinputstream.c:
2043 * gfileoutputstream.c: Update for that
2045 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2046 Like g_simple_async_report_error_in_idle, but takes a GError
2047 rather than building one.
2049 2007-11-30 Dan Winship <danw@gnome.org>
2051 * goutputstream.c: Don't cheat and unset the "pending" flag around
2052 inner calls. Instead, call the class method directly rather than
2053 the wrapper function that checks "pending"
2055 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2057 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2059 2007-12-03 Hans Breuer <hans@breuer.org>
2061 [start of port to win32/msvc]
2062 * gcancellable.c : HAVE_UNIST_H and _pipe()
2063 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2064 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2065 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2067 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2068 * glocalvfs.c : use HAVE_PWD_H
2069 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2070 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2071 * Makefile.am : added to EXTRA_DIST
2073 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2075 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2078 2007-12-03 Alexander Larsson <alexl@redhat.com>
2081 Handle OSX style xattrs API (#500506)
2083 2007-12-03 Alexander Larsson <alexl@redhat.com>
2087 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2089 2007-12-02 A. Walton <awalton@svn.gnome.org>
2093 Documentation accuracy fixes.
2095 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2097 * gioenumtypes.c.template: Fix typo.
2099 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2101 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2103 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2105 * gdirectorymonitor.c:
2106 * gfilemonitor.c: Add properties
2108 * gbufferedoutputstream.c: Don't mark buffer-size property
2111 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2113 * gbufferedoutputstream.c: Add auto-grow property.
2115 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2117 * *.c: Unify the capitalization of section headings.
2119 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2121 * gmountoperation.c: Add properties
2123 * gdatainputstream.c: Turn byte-order and newline-type into
2126 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2128 * gioenumtypes.[hc].template: Templates for enum registration
2130 * Makefile.am: Generate gioenumtypes.[hc]
2132 * gio.h: Include gioenumtypes.h
2134 * gfile.h: Add some explicit nicks.
2136 * gio.symbols: Add new symbols
2138 * pltcheck.sh: Adjust
2140 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2142 * *.c: Explain etags and link to the explanation
2144 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2146 * *.c: Explain I/O priority.
2148 * *.c: More coding style fixes.
2150 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2152 * gasyncresult.c: Add another paragraph to the intro,
2153 adjust coding style of example.
2155 2007-11-29 A. Walton <awalton@svn.gnome.org>
2158 Fixes unknown meaning in GAppLaunchContext docs.
2160 Clarify asynchronous ops.
2162 Fix entity tag docs.
2165 Provides missing gtk-doc section, fixes API docs slighly.
2166 * gsimpleasyncresult.c:
2167 Fill in missing info in docs.
2168 * gunixinputstream.c:
2169 * gunixoutputstream.c:
2170 Be more expressive in short description.
2172 Remove gtk-doc stubs for non-public API.
2174 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2176 * *.c: Coding style fixups
2178 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2180 * inotify/inotify-helper.c: Don't export the lock from libgio.
2182 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2185 * abicheck.sh: Fix copy-and-paste leftovers
2187 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2189 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2191 2007-11-28 Alexander Larsson <alexl@redhat.com>
2195 Removed unnecessary file
2197 * gdesktopappinfo.[ch]:
2200 * glocaldirectorymonitor.[ch]:
2202 * glocalfileenumerator.[ch]:
2203 * glocalfileinputstream.[ch]:
2204 * glocalfilemonitor.[ch]:
2205 * glocalfileoutputstream.[ch]:
2207 * gnativevolumemonitor.c:
2208 * gpollfilemonitor.[ch]:
2209 * gunionvolumemonitor.[ch]:
2212 * gunixvolumemonitor.[ch]:
2215 * inotify/ginotifydirectorymonitor.[ch]:
2216 * inotify/ginotifyfilemonitor.[ch]:
2217 * inotify/inotify-helper.c:
2218 Append _ to all internal functions
2222 Export symbols needed for modules
2224 2007-11-28 Alexander Larsson <alexl@redhat.com>
2227 * abicheck.sh: Added.
2228 * makegioalias.pl: Added.
2229 * pltcheck.sh: Added.
2230 * gio.symbols: Added.
2233 Initial work on adding symbol handling.
2236 Correct ifdef guard name
2239 * inotify/Makefile.am:
2240 * xdgmime/Makefile.am:
2241 Include toplevel Makefile.decl
2243 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2245 * gcontenttype.c: Move doc comments to the unix section.
2247 * *.[hc]: More trivial doc corrections.
2249 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2251 * gpollfilemonitor.c:
2255 * gdesktopappinfo.c:
2260 * gdatainputstream.c:
2261 * gdatainputstream.h:
2262 * gdataoutputstream.c:
2263 * gdataoutputstream.h:
2264 * gfileinfo.h: Doc cleanups
2266 2007-11-28 Andre Klapper <a9016009@gmx.de>
2268 * gdesktopappinfo.c: Fix a typo.
2270 2007-11-27 Andre Klapper <a9016009@gmx.de>
2272 * glocalfileoutputstream.c: Fix a typo.
2274 2007-11-27 Alexander Larsson <alexl@redhat.com>
2277 Don't include removed headers
2279 2007-11-27 Alexander Larsson <alexl@redhat.com>
2282 * gsocketinputstream.[ch]: Removed.
2283 * gsocketoutputstream.[ch]: Removed.
2284 * gunixinputstream.[ch]: Added.
2285 * gunixoutputstream.[ch]: Added.
2286 Renamed GSocket*Stream to GUnix*Stream and made
2287 it unix-only, since its not really only for sockets
2288 and it only works on unix (but is highly useful there).
2290 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2296 * gbufferedinputstream.c:
2297 * gbufferedinputstream.h:
2298 * gbufferedoutputstream.c:
2299 * gbufferedoutputstream.h:
2303 * gdatainputstream.c:
2304 * gdatainputstream.h:
2305 * gdataoutputstream.c:
2306 * gdataoutputstream.h:
2307 * gdirectorymonitor.c:
2308 * gdirectorymonitor.h:
2315 * gfileenumerator.c:
2316 * gfileenumerator.h:
2321 * gfileinputstream.c:
2322 * gfileinputstream.h:
2325 * gfilenamecompleter.c:
2326 * gfilenamecompleter.h:
2327 * gfileoutputstream.c:
2328 * gfileoutputstream.h:
2329 * gfilterinputstream.c:
2330 * gfilterinputstream.h:
2331 * gfilteroutputstream.c:
2332 * gfilteroutputstream.h:
2345 * glocalfileoutputstream.c:
2346 * gmemoryinputstream.c:
2347 * gmemoryinputstream.h:
2348 * gmemoryoutputstream.c:
2349 * gmemoryoutputstream.h:
2350 * gmountoperation.c:
2351 * gmountoperation.h:
2354 * gpollfilemonitor.c:
2357 * gsimpleasyncresult.c:
2358 * gsimpleasyncresult.h:
2359 * gsocketinputstream.c:
2360 * gsocketinputstream.h:
2361 * gsocketoutputstream.c:
2362 * gsocketoutputstream.h:
2369 * gunixvolumemonitor.c:
2378 Bumps documentation to 93% symbol coverage, touching most
2379 of the public files. Fixes broken function documentation prototypes.
2380 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2381 gtk-doc headers in private files.
2383 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
2385 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2386 (g_buffered_input_stream_read_byte):
2387 * gbufferedinputstream.h:
2388 New functions for efficient access to buffer and simple single byte
2391 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2392 (g_data_input_stream_read_until):
2393 * gdatainputstream.h:
2394 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2395 read_until with multiple stop chars.
2397 2007-11-27 Alexander Larsson <alexl@redhat.com>
2401 * inotify/Makefile.am:
2402 Use the user-specified giomoduledir
2404 2007-11-27 Alexander Larsson <alexl@redhat.com>
2408 Add catch-all gio.h header
2409 Don't install gdummyfile.h
2411 2007-11-26 Alexander Larsson <alexl@redhat.com>
2413 * Makefile.am (gioinclude_HEADERS):
2414 Remove trailing whitespace
2416 2007-11-26 Alexander Larsson <alexl@redhat.com>
2418 Merge gio-standalone into glib
2420 2007-11-25 Christian Kellner <gicmo@gnome.org>
2422 * gio/goutputstream.c:
2423 Fix small mistake in the docs.
2425 2007-11-21 Christian Persch <chpe@gnome.org>
2427 * gio/glocalfile.c: (g_local_file_trash):
2428 Convert filenames to UTF-8 for GError.
2429 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2430 as per xdg base dir spec.
2432 2007-11-21 Christian Persch <chpe@gnome.org>
2434 * gio/gdesktopappinfo.c:
2435 Use that g_key_file_to_data cannot fail.
2437 Use stock defines for the key file group and key names.
2440 2007-11-21 Alexander Larsson <alexl@redhat.com>
2443 (copy_stream_with_progress):
2444 Make sure we do a final progress callback with
2445 the full total size.
2447 2007-11-21 Alexander Larsson <alexl@redhat.com>
2450 Export g_file_copy_attributes
2451 Remove padding as its not needed for interfaces
2453 2007-11-20 Alexander Larsson <alexl@redhat.com>
2458 Add G_IO_ERROR_WOULD_MERGE for
2459 copy/move dir on dir with overwrite.
2461 2007-11-20 Alexander Larsson <alexl@redhat.com>
2464 * gio/glocalfileinfo.c:
2465 Add COPY_NAME (this is an optional
2466 non-modified utf8 version of the name) that
2469 2007-11-20 Alexander Larsson <alexl@redhat.com>
2471 * gio/glocalfileenumerator.c:
2472 Report errors as GIOError, not GFileError
2474 2007-11-16 Alexander Larsson <alexl@redhat.com>
2476 * gio/glocalfileoutputstream.c:
2477 * gio/gwin32appinfo.c:
2478 Fix typos in strings.
2479 Patch from Luca Ferretti <elle.uca@libero.it>
2481 2007-11-15 Alexander Larsson <alexl@redhat.com>
2484 Post release version bump
2486 === gio-standalone 0.1.2 ===
2488 2007-11-15 Alexander Larsson <alexl@redhat.com>
2490 * docs/reference/gio/Makefile.am:
2491 Fix up distcheck by removing weird
2497 2007-11-14 Alexander Larsson <alexl@redhat.com>
2499 * gio/gdesktopappinfo.c:
2500 * gio/glocaldirectorymonitor.c:
2502 * gio/glocalfileinfo.c:
2503 * gio/inotify/inotify-sub.c:
2504 * programs/gio-cat.c:
2505 * programs/gio-copy.c:
2506 * programs/gio-info.c:
2507 * programs/gio-ls.c:
2508 * programs/gio-monitor-dir.c:
2509 * programs/gio-monitor-file.c:
2510 * programs/gio-mount.c:
2511 * programs/gio-move.c:
2512 * programs/gio-rm.c:
2513 * programs/gio-save.c:
2514 * programs/gio-trash.c:
2515 Leak fixes from Kjartan Maraas
2517 2007-11-14 Alexander Larsson <alexl@redhat.com>
2519 * gio/fam/fam-helper.c:
2521 * gio/glocalfileinfo.c:
2525 * gio/inotify/inotify-diag.c:
2526 * gio/inotify/inotify-kernel.c:
2527 Various code cleanups from Kjartan Maraas
2529 2007-11-14 Alexander Larsson <alexl@redhat.com>
2531 * gio/gioscheduler.c:
2533 Set up threadpool so that we cache 2 unused
2534 idle threads for at 15 secs. This means we
2535 will reuse thread-local data (like dbus connections)
2538 2007-11-14 Alexander Larsson <alexl@redhat.com>
2540 * gio/fam/fam-helper.c:
2541 * gio/fam/gfamdirectorymonitor.c:
2542 * gio/fam/gfamfilemonitor.c:
2544 * gio/gcontenttype.c:
2545 * gio/gdatainputstream.c:
2546 * gio/gdataoutputstream.c:
2550 * gio/gfileattribute.h:
2551 * gio/gfileenumerator.c:
2553 * gio/ginputstream.c:
2556 * gio/glocalfileinfo.c:
2557 * gio/goutputstream.c:
2558 * gio/gpollfilemonitor.c:
2559 * gio/gsimpleasyncresult.c:
2560 * gio/gunixmounts.c:
2561 * gio/gunixmounts.h:
2562 * gio/inotify/ginotifydirectorymonitor.c:
2563 * gio/inotify/ginotifyfilemonitor.c:
2564 * gio/inotify/inotify-diag.c:
2565 * gio/inotify/inotify-kernel.c:
2566 * gio/inotify/inotify-path.c:
2568 * gio/test-streams.c:
2569 * programs/gio-info.c:
2570 * programs/gio-monitor-dir.c:
2571 * programs/gio-monitor-file.c:
2572 Various code cleanups from Kjartan Maraas
2574 2007-11-13 Alexander Larsson <alexl@redhat.com>
2577 Handle the uri-scheme calls for dummy files
2579 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2581 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2582 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2583 to avoid clash with the C++ keyword.
2585 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2587 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2588 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2590 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2592 * gio/glocaldirectorymonitor.c:
2593 * gio/glocalfilemonitor.c:
2594 * gio/gunionvolumemonitor.c:
2595 Don't use g_once_init_*() for initializations that could fail and
2596 could leave the initialization variable set to 0 but use GOnce.
2597 This prevents a deadlock on the second call when trying to create
2598 a monitor and no monitor type is available. Thanks to Sven Herzberg
2601 2007-11-11 Sven Herzberg <sven@imendio.com>
2603 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2604 #ifdef (make it work on MacOS X again)
2606 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2608 Fixes Changelog for last two commits (sorry guys).
2610 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2612 * gio/gbufferedinputstream.c:
2613 * gio/gdatainputstream.c:
2615 * gio/gfileoutputstream.c:
2616 * gio/gfilterinputstream.c:
2617 * gio/glocalfileinputstream.c:
2620 More consistency fixes in g*stream.c files.
2621 Significant clean of gfile's documentation, filling in of
2622 asynchronous operations documentation.
2624 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2626 * gio/gasyncresult.c:
2627 * gio/gbufferedinputstream.c:
2628 * gio/gbufferedoutputstream.c:
2629 * gio/gcancellable.c:
2630 * gio/gcontenttype.c:
2631 * gio/gdatainputstream.c:
2632 * gio/gdataoutputstream.c:
2633 * gio/gdesktopappinfo.c:
2636 * gio/gfileattribute.c:
2637 * gio/gio/gfileenumerator.c:
2639 * gio/gfileinputstream.c:
2640 * gio/gfilemonitor.c:
2641 * gio/gfileoutputstream.c:
2642 * gio/ginputstream.c:
2644 * gio/gioscheduler.c:
2645 * gio/gloadableicon.c:
2646 * gio/glocalfileoutputstream.c:
2647 * gio/gmemoryoutputstream.c:
2648 * gio/gmountoperation.c:
2649 * gio/goutputstream.c:
2651 * gio/gsimpleasyncresult.c:
2652 * gio/gunionvolumemonitor.c:
2653 * gio/gunixmounts.c:
2654 * gio/gunixvolume.c:
2658 * gio/gvolumemonitor.c:
2659 Updated documentation stubs, working towards consistency and
2662 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2664 * gio/gmemoryoutputstream.c:
2665 * gio/gmemoryoutputstream.h:
2666 Change g_memory_output_stream_set_free_on_close() to
2667 g_memory_output_stream_set_free_data() as this makes more sense and
2668 is more consistent with GMemoryInputStream.
2670 2007-11-07 Alexander Larsson <alexl@redhat.com>
2677 Change how we find the default vfs so that
2678 we can handle a gvfs failing to init
2680 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2682 * gio/gbufferedoutputstream.c:
2683 * gio/gdatainputstream.c:
2684 * gio/gdataoutputstream.c:
2685 * gio/gfileinputstream.c:
2686 * gio/gfileoutputstream.c:
2687 * gio/gfilterinputstream.c:
2688 * gio/gfilteroutputstream.c:
2689 * gio/ginputstream.c:
2690 * gio/gmemoryinputstream.c:
2691 * gio/gmemoryoutputstream.c:
2692 * gio/goutputstream.c:
2693 * gio/gsimpleasyncresult.c:
2694 * gio/gsocketinputstream.c:
2695 * gio/gsocketoutputstream.c:
2696 Add guards to the remaining public functions, add a TODO for
2697 an unimplemented function and remove some useless guards.
2699 2007-11-07 Alexander Larsson <alexl@redhat.com>
2702 Autoconf checks for the various types of
2703 getpwuid_r and getgrgid_r
2705 * gio/glocalfileinfo.c:
2706 Use the autoconf checks from above
2708 2007-11-07 Alexander Larsson <alexl@redhat.com>
2711 (g_local_file_query_filesystem_info):
2712 Some fixes for the statvfs case
2714 2007-11-07 Alexander Larsson <alexl@redhat.com>
2717 (g_local_file_query_filesystem_info):
2718 Pick the "best" of statfs / statvfs for the system
2719 if both are availible.
2721 2007-11-07 Alexander Larsson <alexl@redhat.com>
2723 Solaris fixes from Halton.Huo@Sun.COM:
2730 * gio/glocalfileinfo.c:
2731 Fix for solaris definition of getpwuid_r
2733 * gio/test-streams.c:
2734 Use G_GNUC_PRETTY_FUNCTION
2736 2007-11-07 Alexander Larsson <alexl@redhat.com>
2738 * gio/gdesktopappinfo.c:
2739 (update_default_list):
2740 Remove double semicolon.
2741 Patch from Jens Granseuer
2743 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2745 * docs/reference/gio/gio-sections.txt:
2746 * gio/gbufferedinputstream.c:
2747 * gio/gbufferedinputstream.h:
2748 * gio/gdatainputstream.c:
2749 * gio/gfileenumerator.c:
2750 * gio/gioscheduler.c:
2751 * gio/gunionvolumemonitor.c:
2753 * programs/gio-save.c:
2754 Fix typo: availible -> available. Unfortuntely this breaks API
2755 and ABI as g_buffered_input_stream_get_available() was renamed.
2757 * gio/gunixmounts.c:
2758 * gio/gbufferedinputstream.c:
2759 Add guards for public functions.
2761 2007-11-06 Ross Burton <ross@openedhand.com>
2763 * docs/reference/gio/Makefile.am:
2764 Fix invalid += usage which automake 1.10 doesn't like.
2766 2007-11-06 Alexander Larsson <alexl@redhat.com>
2769 (g_app_launch_context_class_init):
2772 Patch from Ross Burton
2774 2007-11-06 Alexander Larsson <alexl@redhat.com>
2777 Post release version bump
2779 === gio-standalone 0.1.1 ===
2781 2007-11-06 Alexander Larsson <alexl@redhat.com>
2784 Bump version to 0.1.1
2786 * gio/gsimpleasyncresult.c:
2787 (g_simple_async_result_set_from_error):
2788 Remove bogus g_return_if_fail
2790 2007-11-06 Alexander Larsson <alexl@redhat.com>
2793 The name is gio-standalone
2796 Add top src/builddir to includedir
2798 2007-11-06 Alexander Larsson <alexl@redhat.com>
2800 * docs/reference/gio/gio-sections.txt:
2802 * gio/gbufferedinputstream.c:
2803 * gio/gbufferedoutputstream.c:
2804 * gio/gcancellable.c:
2805 * gio/gdatainputstream.h:
2806 * gio/gdataoutputstream.c:
2807 * gio/gdataoutputstream.h:
2808 * gio/gdirectorymonitor.c:
2810 * gio/gfileattribute.c:
2811 * gio/gfileattribute.h:
2812 * gio/gfileenumerator.c:
2813 * gio/gfileenumerator.h:
2816 * gio/gfileinputstream.h:
2817 * gio/gfilemonitor.c:
2818 * gio/gfileoutputstream.h:
2819 * gio/glocalfilemonitor.h:
2820 * gio/glocalfileoutputstream.h:
2821 * gio/gmemoryinputstream.c:
2822 * gio/gmemoryoutputstream.c:
2823 * gio/gmountoperation.c:
2824 * gio/goutputstream.c:
2825 * gio/goutputstream.h:
2827 * gio/gsimpleasyncresult.c:
2828 * gio/gunixmounts.c:
2829 * gio/gunixmounts.h:
2831 * gio/inotify/inotify-helper.c:
2832 Fix gtk-doc warnings
2834 Patch from Ross Burton
2836 2007-11-06 Alexander Larsson <alexl@redhat.com>
2838 * gio/gfilenamecompleter.c:
2839 (g_filename_completer_get_completions):
2842 * gio/gunixvolume.c:
2843 Remove unused function
2845 Patches from Ross Burton
2847 2007-11-06 Alexander Larsson <alexl@redhat.com>
2852 Padding not needed for interfaces
2854 2007-11-06 Alexander Larsson <alexl@redhat.com>
2856 * gio/gfilemonitor.c:
2860 Make giotypes.h an internal file
2863 * gio/gbufferedinputstream.h:
2864 * gio/gbufferedoutputstream.h:
2865 * gio/gcancellable.h:
2866 * gio/gdatainputstream.h:
2867 * gio/gdataoutputstream.h:
2868 * gio/gdirectorymonitor.c:
2869 * gio/gdirectorymonitor.h:
2874 * gio/gfileattribute.h:
2875 * gio/gfileenumerator.h:
2880 * gio/gfilemonitor.c:
2881 * gio/gfilemonitor.h:
2882 * gio/gfilenamecompleter.c:
2883 * gio/gfilenamecompleter.h:
2884 * gio/gfilterinputstream.h:
2885 * gio/gfilteroutputstream.h:
2886 * gio/ginputstream.h:
2887 * gio/gmemoryinputstream.h:
2888 * gio/gmemoryoutputstream.h:
2889 * gio/gmountoperation.c:
2890 * gio/gmountoperation.h:
2891 * gio/gnativevolumemonitor.c:
2892 * gio/goutputstream.h:
2895 * gio/gsimpleasyncresult.c:
2896 * gio/gsimpleasyncresult.h:
2897 * gio/gsocketinputstream.h:
2898 * gio/gsocketoutputstream.h:
2899 * gio/gthemedicon.c:
2900 * gio/gthemedicon.h:
2904 * gio/gvolumemonitor.c:
2905 * gio/gvolumemonitor.h:
2906 Add padding in classes where it seems useful
2907 Don't include giotypes.h from public headers
2908 Move in Class definitions into c file where possible
2913 2007-11-06 Alexander Larsson <alexl@redhat.com>
2915 * docs/reference/gio/gio-docs.xml:
2916 Better structure for API docs
2918 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2921 * gio/gloadableicon.c:
2922 * gio/gsimpleasyncresult.c:
2923 * gio/gthemedicon.c:
2924 Add some more guards to public functions. Only files missing are now
2927 2007-11-06 Alexander Larsson <alexl@redhat.com>
2929 * docs/reference/gio/gio-docs.xml:
2930 Remove old files, add missing ones
2932 2007-11-06 Alexander Larsson <alexl@redhat.com>
2934 * docs/reference/gio/gio-sections.txt:
2937 Hide implementation classes
2939 * gio/gdriveprivate.h:
2940 * gio/gvolumeprivate.h:
2941 Remove non-existing function declarations
2943 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2946 Fix compilation warnings and add guards to the new functions.
2948 * gio/gasyncresult.c:
2950 Add guards to the public functions.
2953 Implement get_path().
2955 2007-11-06 Alexander Larsson <alexl@redhat.com>
2957 * gio/gfilenamecompleter.c:
2958 Make g_filename_completer_get_completions
2959 return char ** instead of GList for
2962 * docs/reference/gio/gio-docs.xml:
2963 * docs/reference/gio/gio-sections.txt:
2965 * gio/gasyncresult.c:
2966 * gio/gbufferedinputstream.c:
2967 * gio/gbufferedoutputstream.c:
2968 * gio/gcancellable.c:
2969 * gio/gcontenttype.c:
2970 * gio/gdatainputstream.c:
2971 * gio/gdataoutputstream.c:
2972 * gio/gdesktopappinfo.c:
2973 * gio/gdirectorymonitor.c:
2977 * gio/gfileattribute.c:
2978 * gio/gfileenumerator.c:
2981 * gio/gfileinputstream.c:
2982 * gio/gfilemonitor.c:
2983 * gio/gfilenamecompleter.c:
2984 * gio/gfilenamecompleter.h:
2985 * gio/gfileoutputstream.c:
2986 * gio/gfilterinputstream.c:
2988 * gio/ginputstream.c:
2990 * gio/gioscheduler.c:
2991 * gio/gloadableicon.c:
2992 * gio/glocaldirectorymonitor.c:
2994 * gio/glocalfileinputstream.c:
2995 * gio/glocalfilemonitor.c:
2996 * gio/glocalfileoutputstream.c:
2998 * gio/gmemoryinputstream.c:
2999 * gio/gmemoryoutputstream.c:
3000 * gio/gmountoperation.c:
3001 * gio/goutputstream.c:
3002 * gio/gpollfilemonitor.c:
3004 * gio/gsimpleasyncresult.c:
3005 * gio/gsocketinputstream.c:
3006 * gio/gsocketoutputstream.c:
3007 * gio/gthemedicon.c:
3008 * gio/gunionvolumemonitor.c:
3010 * gio/gunixmounts.c:
3011 * gio/gunixvolume.c:
3012 * gio/gunixvolumemonitor.c:
3016 * gio/gvolumemonitor.c:
3017 * gio/gwin32appinfo.c:
3018 Add (mostly stub) doc strings to public functions.
3019 Patch from Andrew Walton (awalton@gmail.com)
3021 2007-11-06 Alexander Larsson <alexl@redhat.com>
3023 * gio/gappinfo.[ch]:
3024 Added GAppLaunchContext object and pass that to launch.
3025 This allows simple implementation of both
3026 launch-on-screen and startup notification via a gtk+
3027 subclass of GAppLaunchContext
3029 * gio/gdesktopappinfo.c:
3030 Implement GAppLaunchContext API
3032 * gio/gwin32appinfo.c:
3035 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3037 * gio/gmountoperation.c:
3038 Add some guards to GMountOperation's public functions.
3040 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3044 * gio/gcancellable.c:
3045 * gio/gdirectorymonitor.c:
3047 * gio/gfileenumerator.c:
3048 * gio/gfilemonitor.c:,
3049 * gio/gfilenamecompleter.c:
3052 * gio/gioscheduler.c:
3056 * gio/gvolumemonitor.c:
3057 Add even more guards to various public functions.
3059 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3062 Add guards to the public functions of GAppInfo.
3064 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3066 * gio/gcontenttype.c:
3067 Add some more guards for public functions.
3069 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3071 * gio/fam/fam-module.c:
3072 * gio/fam/gfamdirectorymonitor.c:
3073 * gio/fam/gfamdirectorymonitor.h:
3074 * gio/fam/gfamfilemonitor.c:
3075 * gio/fam/gfamfilemonitor.h:
3076 * gio/inotify/ginotifydirectorymonitor.c:
3077 * gio/inotify/ginotifydirectorymonitor.h:
3078 * gio/inotify/ginotifyfilemonitor.c:
3079 * gio/inotify/ginotifyfilemonitor.h:
3080 Add proper copyright information and remove an unused variable
3081 in the GInotifyFileMonitor constructor.
3083 * gio/gcancellable.c:
3084 Add a guard for a public function and an assertion to prevent
3085 an undefined program state.
3087 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3089 * gio/gfileattribute.c:
3090 Don't run into an assertion if the given attribute value is NULL
3091 in g_file_attribute_value_get_*() but instead return a fallback
3092 value that makes sense in most situations. Passing them a attribute
3093 value with the wrong type will still run into an assertion.
3095 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3097 * gio/gfileattribute.c:
3099 Add even more guards to the public functions. Also fix the refcounting
3100 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3101 let g_file_info_list_attributes() filter the attributes by namespace
3102 instead of simply ignoring the namespace parameter.
3104 2007-11-03 Sven Herzberg <sven@imendio.com>
3106 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3107 (This makes gio work on MacOS X again)
3109 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3112 Build the gio subdirectory before the docs. Otherwise the build will
3115 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3116 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3117 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3118 Add guards to the public functions.
3120 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3122 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3123 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3124 to prevent a compiler warning.
3126 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3127 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3128 return something in the non-void function find_topdir_for().
3130 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3137 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3139 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3140 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3141 * gwin32appinfo.c (g_win32_app_info_launch):
3142 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3143 envp_for_startup_id, g_desktop_app_info_launch,
3144 g_desktop_app_info_launch_uris):
3146 Give an opaque 'startup_id' string instead of 'envp'.
3147 Support empty file lists for launching new windows.
3148 Fix infinite recursion bug when launching URIs.
3150 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3153 Add guard to the new g_file_get_uri_scheme() function.
3155 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3158 Convert a g_return_val_if_fail() to setting the GError instead as
3159 otherwise applications have to verify the parameter before otherwise
3160 and the parameter might come directly from the user.
3162 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3164 * gio/inotify/ginotify*.[ch]:
3165 Add missing copyright information.
3167 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3170 Add guards in the beginning of public functions to check for valid
3171 parameters and fix a bug in copy_stream_with_progress() that could've
3172 caused writing less bytes than reading.
3173 * gio/glocalfileinfo.c:
3174 Check for a NULL parameter and set the GError accordingly then.
3175 * gio/goutputstream.c:
3176 Fix the same bug as in gfile.c that could've caused writing less bytes
3177 than reading in g_output_stream_real_splice().
3179 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3182 Use the correct gvolumeprivate.h naming
3184 2007-11-01 Christian Kellner <gicmo@gnome.org>
3187 Remove leftover "$(daemon_sources)" entry.
3189 2007-11-01 Christian Kellner <gicmo@gnome.org>
3194 Add copyright information to source files.
3196 2007-11-01 Alexander Larsson <alexl@redhat.com>
3200 Add g_file_get_uri_scheme
3202 2007-11-01 Alexander Larsson <alexl@redhat.com>
3205 * gio/gdesktopappinfo.c:
3206 * gio/gwin32appinfo.c:
3207 Add g_app_info_get_default_for_uri_scheme.
3209 2007-11-01 Alexander Larsson <alexl@redhat.com>
3212 Correct filename for gdriveprivate.h
3214 2007-10-31 Alexander Larsson <alexl@redhat.com>
3217 Rename id:value to id:file
3220 * gio/glocalfileinfo.c:
3223 2007-10-31 Alexander Larsson <alexl@redhat.com>
3225 * gio/gunixvolume.c:
3227 Remove g_volume_get_platform_id, as thats not
3228 needed with the simpler union volume monitor
3230 2007-10-31 Alexander Larsson <alexl@redhat.com>
3233 * gio/guniondrive.[ch]: Removed.
3234 * gio/gunionvolume.[ch]: Removed.
3235 Remove GUnionDrive/Volume
3237 * gio/gunionvolumemonitor.c:
3238 Simplify union volume monitor, now we
3239 only have one native volume monitor and
3240 we use the actual volumes/drives from the
3241 child monitors instead of wrapping them
3243 * gio/gnativevolumemonitor.[ch]:
3244 Base class for native volume monitors.
3245 Includes priority and get_volume_for_mountpoint
3248 Add g_file_find_enclosing_volume
3251 Remove volume name fs attribute
3252 Add readonly fs attribute
3255 Implement readonly attribute
3256 remove volume name attribute
3257 Implement find_enclosing volume
3259 * gio/gunixmounts.c:
3260 Add a volume for "/".
3262 * gio/gunixvolume.[ch]:
3263 Set better name for /
3265 * gio/gunixvolumemonitor.[ch]:
3266 Derive from GNativeVolumeMonitor
3267 Implement get_volume_for_mountpoint
3270 GVolume typedef moved to gfile.h
3272 * gio/gvolumeprivate.h:
3273 Add g_volume_get_for_mount_path
3275 2007-10-31 Alexander Larsson <alexl@redhat.com>
3277 * gio/gunixmounts.[ch]:
3278 Add cache info to unix mount listers
3279 Make getmntent use threadsafe
3280 Add is_system_internal attribute for GUnixMount
3282 * gio/gunixvolume.c:
3283 (g_unix_volume_new):
3284 Use is_system_internal instead of own code
3286 * gio/glocaldirectorymonitor.c:
3287 * gio/gunixvolumemonitor.c:
3288 Update to new gunixmounts API
3293 2007-10-30 Alexander Larsson <alexl@redhat.com>
3296 Add volume name fsinfo attribute
3299 Read volume name info
3301 * gio/gunionvolumemonitor.c:
3302 Fix infinite loops when finalizing a union volume monitor
3304 2007-10-30 Alexander Larsson <alexl@redhat.com>
3306 * gio/goutputstream.[ch]:
3307 Add splice() with default implementation
3309 * gio/gsocketoutputstream.c:
3310 (g_socket_output_stream_write):
3311 Return error on cancellation correctly.
3313 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3315 * gio/glocalfile.c (g_local_file_trash):
3316 Do not leak a string.
3318 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3320 * gio/gfile.c (g_file_load_contents):
3321 Unref the stream after closing it.
3323 2007-10-25 Alexander Larsson <alexl@redhat.com>
3325 * gio/gioscheduler.h:
3328 2007-10-25 Alexander Larsson <alexl@redhat.com>
3332 Add g_file_has_uri_scheme and implement for local files
3334 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3336 * gio/gdesktopappinfo.c: do not leak a string.
3338 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3340 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3341 (g_local_directory_monitor_new):
3342 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3343 (g_local_file_monitor_new):
3344 Only look for the monitor type that should be used the first time
3345 and use g_qsort_with_data() instead of our own bubble sort
3348 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3351 * gio/fam/Makefile.am:
3352 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3353 * gio/fam/fam-helper.h:
3354 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3355 * gio/fam/gfamdirectorymonitor.c:
3356 * gio/fam/gfamdirectorymonitor.h:
3357 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3358 * gio/fam/gfamfilemonitor.h:
3359 * gio/glocaldirectorymonitor.c:
3360 * gio/glocaldirectorymonitor.h:
3361 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3362 * gio/glocalfilemonitor.h:
3363 * gio/inotify/Makefile.am:
3364 * gio/inotify/ginotifydirectorymonitor.c:
3365 * gio/inotify/ginotifydirectorymonitor.h:
3366 * gio/inotify/ginotifyfilemonitor.c:
3367 * gio/inotify/ginotifyfilemonitor.h:
3368 Implement the FAM and Inotify monitors as
3369 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3370 their own GIO module. GLocal(Directory|File)Monitor will use the
3371 monitor with the highest rank that is supported on that machine.
3373 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3376 Change GIO module dir to $(libdir)/gio/modules and change
3377 the log domain from GVFS to GIO. Also only export symbols starting
3378 with g_ in the resulting library.
3379 * gio/test-streams.c: (main):
3380 Set log handler for the GIO log domain.
3382 2007-10-22 Alexander Larsson <alexl@redhat.com>
3384 * gio/gfilenamecompleter.[ch]:
3385 Add g_filename_completer_set_dirs_only
3387 2007-10-22 Alexander Larsson <alexl@redhat.com>
3390 * gio/gurifuncs.[ch]:
3391 Add some simple URI helpers
3393 * gio/gfilenamecompleter.[ch]:
3394 Added object for filename (parse name actually) completion
3397 Handle ~ in parse names
3399 2007-10-17 Alexander Larsson <alexl@redhat.com>
3402 * gio/glocalfileinfo.c:
3403 Add and implement id:value attribute
3405 2007-10-17 Alexander Larsson <alexl@redhat.com>
3408 * gio/guniondrive.c:
3410 Add and implement g_drive_has_volumes
3412 2007-10-17 Alexander Larsson <alexl@redhat.com>
3415 * gio/glocalfileinfo.[ch]:
3416 Add unix:is_mountpoint and implement for local files
3418 2007-10-16 Alexander Larsson <alexl@redhat.com>
3420 * gio/gunionvolumemonitor.c:
3421 (g_union_volume_monitor_init):
3422 Fix up the unix type getting so that it works with gcc
3424 2007-10-12 Alexander Larsson <alexl@redhat.com>
3427 * gio/glocalfileinfo.c:
3428 Add thumbnail:failed to file info
3430 2007-10-12 Richard Hult <richard@imendio.com>
3432 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3433 optimizing away the get_type call (happens with some gcc versions,
3434 like the one shipped with OS X 10.4).
3436 2007-10-12 Alexander Larsson <alexl@redhat.com>
3438 * gio/glocalfileinfo.c:
3439 (_g_local_file_info_set_attribute):
3440 Fix build if not HAVE_XATTR
3441 Patch from Milosz Derezynski <internalerror@gmail.com>
3443 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3445 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3446 around for review, otherwise I would have asked you before
3449 2007-10-11 Alexander Larsson <alexl@redhat.com>
3452 Add thumbnail:path attribute
3454 * gio/glocalfileinfo.c:
3455 Implement thumbnail:path for local files
3457 2007-10-11 Alexander Larsson <alexl@redhat.com>
3459 * gio/glocalfileinfo.c:
3460 (_g_local_file_info_get):
3461 Avoid duplicate icon names
3463 2007-10-11 Alexander Larsson <alexl@redhat.com>
3465 * gio/gthemedicon.[ch]:
3466 Change g_themed_icon_get_names return type to const
3468 2007-10-10 Alexander Larsson <alexl@redhat.com>
3470 * gio/glocalfileinfo.c:
3471 Don't reference freed memory
3473 2007-10-10 Alexander Larsson <alexl@redhat.com>
3475 * gio/gfileattribute.c:
3478 * gio/glocalfileinfo.c:
3481 2007-10-10 Alexander Larsson <alexl@redhat.com>
3484 Check for NULL icons
3486 * gio/gfileattribute.c:
3487 Don't dup when getting objects (same as for string attributes)
3489 * gio/gicon.c (g_icon_equal):
3490 Safely handle NULLs in equal
3492 2007-10-10 Alexander Larsson <alexl@redhat.com>
3495 Fix c++ compilation issues
3496 Patch from Milosz Derezynski <internalerror@gmail.com>
3498 2007-10-10 Alexander Larsson <alexl@redhat.com>
3500 * programs/gio-monitor-dir.c:
3501 Don't crash if dir monitor not supported.
3503 2007-10-09 Alexander Larsson <alexl@redhat.com>
3506 Add missing G_END_DECLS
3508 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3510 * gio/gfile.c: (g_file_set_display_name),
3511 (g_file_query_settable_attributes),
3512 (g_file_query_writable_namespaces):
3513 Return NULL not FALSE on errors as the return type is a pointer.
3515 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3517 * gio/glocalfile.c: (g_local_file_monitor_file):
3518 Don't call monitor_file on the default interface vtable (which
3519 is NULL) but simply return NULL. The caller, GFile, will create a
3520 polling monitor if NULL is returned.
3522 2007-10-09 Alexander Larsson <alexl@redhat.com>
3526 * gio-unix-2.0.pc.in:
3527 Add gio-unix-2.0.pc if OS_UNIX
3530 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3532 2007-10-09 Alexander Larsson <alexl@redhat.com>
3534 * gio/gunixmounts.[ch]:
3535 Make unix mount monitoring API sane.
3536 Now its just a object with mounts_changed
3537 and mountpoints_changed signals.
3539 * gio/glocaldirectorymonitor.c:
3540 * gio/gunixvolumemonitor.c:
3541 Use new mount monitor api
3543 2007-10-09 Alexander Larsson <alexl@redhat.com>
3545 * gio/gunixmounts.[ch]:
3546 Move guess type into one call for mounts and one for mountpoints
3549 * gio/gunixvolume.c:
3552 2007-10-09 Alexander Larsson <alexl@redhat.com>
3554 * gio/gunixmounts.[ch]:
3555 Remove _ prefix in preparation to make this semi-public
3556 Hide implementation of structs
3558 * gio/glocaldirectorymonitor.c:
3560 * gio/gunixvolume.c:
3561 * gio/gunixvolumemonitor.c:
3562 Update for above API changes
3564 2007-10-08 Alexander Larsson <alexl@redhat.com>
3567 Better polling fallback. This also handles the case where we have
3568 a monitor_file implementation, but it fails.
3570 2007-10-08 Alexander Larsson <alexl@redhat.com>
3574 * gio/gunixmounts.c:
3575 * programs/gio-monitor-dir.c:
3576 * programs/gio-monitor-file.c:
3577 Added cancellable to file monitoring calls.
3578 These are really sync calls and need this.
3580 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3582 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3583 (g_local_vfs_class_init):
3584 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3585 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3587 2007-10-05 Alexander Larsson <alexl@redhat.com>
3589 * gio/gdirectorymonitorprivate.h:
3590 * gio/gfilemonitorprivate.h:
3591 * gio/gdirectorymonitor.h:
3592 * gio/gfilemonitor.h:
3593 Remove *private.h and move to the public API, so that
3594 we can do implementations outside gio (such as in gvfs)
3596 * gio/gdirectorymonitor.c:
3597 * gio/gfilemonitor.c:
3598 * gio/glocaldirectorymonitor.c:
3599 * gio/gpollfilemonitor.c:
3600 * gio/inotify/inotify-helper.c:
3601 * gio/fam/fam-helper.c:
3602 Update to the new header names
3604 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3606 * gio/gdirectorymonitor.c:
3607 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3610 2007-10-04 Alexander Larsson <alexl@redhat.com>
3612 * gio/glocalfileinfo.c (get_access_rights):
3613 Set CAN_TRASH when we can move the file.
3614 We should really also check for a parent trash dir.
3616 2007-10-04 Alexander Larsson <alexl@redhat.com>
3618 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3619 Add can_trash access attribute
3621 2007-10-04 Alexander Larsson <alexl@redhat.com>
3624 (g_local_file_trash):
3625 Create info file first. This is per-spec and allows
3626 us to actually trash directories.
3628 2007-10-02 Alexander Larsson <alexl@redhat.com>
3630 * gio/gdesktopappinfo.c:
3631 Implement the new mime support code.
3632 Always set app as handling mimetype when being set as default for it
3634 2007-10-01 Alexander Larsson <alexl@redhat.com>
3636 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3637 Fix up check for xattrs:
3639 2007-10-01 Alexander Larsson <alexl@redhat.com>
3642 (g_app_info_set_as_default_for_extension):
3643 (g_app_info_add_supports_type):
3644 (g_app_info_can_remove_supports_type):
3645 (g_app_info_remove_supports_type):
3646 Make these fail nicely if not implemented
3648 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3650 * gio/glocalfileoutputstream.c:
3651 * gio/glocalfileoutputstream.h:
3656 * programs/gio-save.c:
3657 Add a GFileCreateFlags argument to operations that can create
3660 2007-10-01 Alexander Larsson <alexl@redhat.com>
3662 * gio/gappinfo.[ch]:
3663 * gio/gdesktopappinfo.c:
3664 Add more (stubbed out) mime API needed for nautilus
3666 2007-10-01 Alexander Larsson <alexl@redhat.com>
3669 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3670 Add g_app_info_set_as_default_for_extension.
3672 * gio/gdesktopappinfo.c:
3673 Dummy for g_app_info_set_as_default_for_extension
3674 Support flags in g_app_info_create_from_commandline
3676 * gio/gwin32appinfo.c:
3678 Update for API changes
3680 * gio/gthemedicon.c:
3681 Properly NULL-terminate list of icon names
3683 2007-09-28 Alexander Larsson <alexl@redhat.com>
3685 * gio/gloadableicon.h:
3686 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3688 2007-09-28 Alexander Larsson <alexl@redhat.com>
3691 Install headers in $includedir/gio-standalone/
3693 * gio-2.0.pc.in: Added.
3694 * gio-standalone.pc.in: Removed.
3697 Renamed pkg-config file to match glib (for future move)
3698 Update to the new include dir
3701 Add more TODO comments
3703 2007-09-28 Alexander Larsson <alexl@redhat.com>
3705 * gio/gdesktopappinfo.[ch]:
3706 Expose new_from_filename
3707 Add getter for is_hidden and handle it better
3709 2007-09-28 Alexander Larsson <alexl@redhat.com>
3711 * gio/gfileinfo.[ch]:
3712 Rename g_file_size_format_for_display to
3713 g_format_file_size_for_display.
3714 Now it doesn't have the g_file prefix, so we
3715 can later move it to glib.
3717 2007-09-28 Alexander Larsson <alexl@redhat.com>
3719 * gio/gappinfo.[ch]:
3720 Add g_app_info_get_id and g_app_info_get_executable.
3721 Make all getters non-reffing
3722 Make g_app_info_launch take GFile arguments.
3723 Add must_support_uris argument to g_app_info_get_default_for_type.
3725 * gio/gwin32appinfo.c:
3726 Update to GAppInfo api changes
3728 * gio/gdesktopappinfo.c:
3729 Update to GAppInfo api changes
3730 Implement supports_xdg_startup_notify
3732 * gio/gfileicon.c (g_file_icon_get_file):
3733 Make getter non-reffing.
3738 2007-09-27 Alexander Larsson <alexl@redhat.com>
3740 * gio/gfileinfo.[ch]:
3741 Add g_file_size_format_for_display helper
3743 2007-09-27 Alexander Larsson <alexl@redhat.com>
3745 * gio/glocalfileinfo.c:
3746 Set UNIX_GID from gid, not from uid
3748 2007-09-27 Alexander Larsson <alexl@redhat.com>
3751 Add g_file_set_attributes_async
3753 2007-09-27 Alexander Larsson <alexl@redhat.com>
3755 * gio/glocalfile.c (g_local_file_set_display_name):
3756 Fix set_display_name to actually rename to the right place.
3757 Use lstat to look for existing files so we don't overwrite
3760 2007-09-26 Alexander Larsson <alexl@redhat.com>
3763 Add g_file_set_display_name_async()
3765 2007-09-26 Alexander Larsson <alexl@redhat.com>
3768 Add load_partial_contents async calls
3771 Make internal function static
3773 2007-09-26 Alexander Larsson <alexl@redhat.com>
3775 * gio/glocalfileinfo.c:
3776 Correctly detect broken symlinks
3778 2007-09-26 Alexander Larsson <alexl@redhat.com>
3780 * gio/gcancellable.c (g_cancellable_cancel):
3781 Allow cancel on NULL cancellable
3783 2007-09-25 Alexander Larsson <alexl@redhat.com>
3785 * gio/gsimpleasyncresult.c:
3786 Don't allocate g_error manually.
3787 Fixes g_slice/g_new mixup crash
3789 2007-09-25 Alexander Larsson <alexl@redhat.com>
3791 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3792 Actually set active_backend.
3793 This means the monitor will be cancelled correctly.
3795 2007-09-25 Alexander Larsson <alexl@redhat.com>
3797 * gio/gdirectorymonitor.c:
3798 Set timeout to NULL when destroying
3800 2007-09-25 Alexander Larsson <alexl@redhat.com>
3803 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3804 that is a better description of the error.
3806 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3808 * gio/gvfs.c: (g_vfs_get_local):
3809 Make the local vfs variable static. The same instance should
3812 2007-09-24 Alexander Larsson <alexl@redhat.com>
3814 * gio/glocalfileinfo.c:
3815 Pass in actual length read into sniffer, not the length
3818 2007-09-21 Alexander Larsson <alexl@redhat.com>
3820 * gio/gfileenumerator.c:
3823 * gio/gfileinputstream.c:
3824 * gio/gfileoutputstream.c:
3825 * gio/ginputstream.c:
3826 * gio/goutputstream.c:
3827 Don't crash if async callbacks are NULL
3829 2007-09-20 Alexander Larsson <alexl@redhat.com>
3832 Add async enumerate_children method and default
3835 2007-09-20 Alexander Larsson <alexl@redhat.com>
3838 Add g_file_contains_file & g_file_get_relative_path, since they
3839 were needed for nautilus.
3840 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3845 Implement new methods
3847 2007-09-17 Alexander Larsson <alexl@redhat.com>
3850 * gio/gfileinputstream.[ch]:
3851 * gio/gfileoutputstream.[ch]:
3853 * gio/glocalfileenumerator.[ch]:
3854 * gio/glocalfileinfo.[ch]:
3855 * gio/glocalfileinputstream.c:
3856 * gio/glocalfileoutputstream.c:
3857 * gio/gpollfilemonitor.c:
3858 * programs/gio-copy.c:
3859 * programs/gio-info.c:
3860 * programs/gio-move.c:
3861 Rename get_file_info to query_info() to make it clearer
3862 that these are not simple getters, but do i/o.
3864 2007-09-17 Alexander Larsson <alexl@redhat.com>
3866 * gio/gdatainputstream.[ch]:
3867 * gio/test-streams.c:
3868 Use _read_XXX instead of _get_XXX for the i/o calls
3871 2007-09-17 Alexander Larsson <alexl@redhat.com>
3874 Added needed stuff to TODO comment
3876 2007-09-17 Alexander Larsson <alexl@redhat.com>
3878 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3879 Don't error out removing the backup copy if it doesn't
3882 2007-09-14 Alexander Larsson <alexl@redhat.com>
3884 * programs/Makefile.am:
3885 * programs/gvfs-*.c:
3887 Renamed apps from gvfs-xxx to gio-xxx.
3889 2007-09-14 Alexander Larsson <alexl@redhat.com>
3892 * gio/gfileoutputstream.[ch]:
3893 * gio/glocalfileoutputstream.c:
3894 * programs/gvfs-save.c:
3895 g_file_output_stream_get_etag doesn't do i/o, so remove
3896 cancellation and error.
3898 2007-09-14 Alexander Larsson <alexl@redhat.com>
3901 Add new_etag output to replace_contents functions
3903 2007-09-14 Alexander Larsson <alexl@redhat.com>
3905 * gio/gfileoutputstream.[ch]:
3906 Add async get_file_info and default implementation
3908 2007-09-14 Alexander Larsson <alexl@redhat.com>
3910 * gio/gfileinputstream.c:
3911 Implement fallback wrapper for async get_file_info
3913 2007-09-14 Alexander Larsson <alexl@redhat.com>
3916 Add etag out argument to load_contents
3921 2007-09-14 Alexander Larsson <alexl@redhat.com>
3923 * gio/gcontenttype.c (looks_like_text):
3924 Whitespace like tab, cr and lf do not make the
3927 2007-09-14 Alexander Larsson <alexl@redhat.com>
3929 * gio/gfileinputstream.[ch]:
3930 Add async get_file_info.
3932 2007-09-13 Alexander Larsson <alexl@redhat.com>
3934 * gio/goutputstream.c (g_output_stream_write_all):
3935 Allow NULL for bytes_written
3937 2007-09-13 Alexander Larsson <alexl@redhat.com>
3939 * gio/gmemoryinputstream.[ch]:
3940 Add accessors for data
3942 2007-09-13 Alexander Larsson <alexl@redhat.com>
3944 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3945 Don't crash if length is NULL