1 2008-03-28 A. Walton <awalton@svn.gnome.org>
3 * giomodule.c (_g_io_modules_ensure_loaded):
4 Adds GIO_EXTRA_MODULES environment variable support, closing bug
7 2008-03-28 Alexander Larsson <alexl@redhat.com>
10 (copy_stream_with_progress):
13 2008-03-28 Alexander Larsson <alexl@redhat.com>
16 (copy_stream_with_progress):
18 Fallback to g_file_query_info for source size
19 if g_file_input_stream_query_info fails. (#524579)
21 2008-03-28 Alexander Larsson <alexl@redhat.com>
23 * glocalfile.c (g_local_file_move):
24 Reuse old string instead of adding new one.
26 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
28 * fen/*.[hc]: still copyright issue. I hate copyright.
30 2008-03-27 Alexander Larsson <alexl@redhat.com>
32 * glocalfile.c (g_local_file_move):
33 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
34 file over directory. This is according to the docs and what the move via
35 copy+remove fallback does.
37 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
39 * fen/*.[hc]: Updated copyright.
41 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
43 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
45 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
47 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
48 not emit attribute changed events when optimizing changed events.
49 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
52 2008-03-19 Matthias Clasen <mclasen@redhat.com>
54 * gmountoperation.[hc]: Small documentation additions
56 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
58 * gunixmounts.c: (guess_mount_type):
59 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
61 2008-03-19 Alexander Larsson <alexl@redhat.com>
64 (copy_stream_with_progress):
65 Bump block side for copy to 64k to minimize
66 overhead for low latency links. (#523015)
68 2008-03-16 Tor Lillqvist <tml@novell.com>
70 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
71 depend on gio.def on Windows.
73 2008-03-12 David Zeuthen <davidz@redhat.com>
77 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
79 2008-03-14 Alexander Larsson <alexl@redhat.com>
83 Avoid redudant tests (#521851)
84 Patch from Josselin Mouette
86 2008-03-14 Alexander Larsson <alexl@redhat.com>
89 (g_file_monitor_is_cancelled):
90 Fix C89 issue (#521672)
91 Patch from Jens Granseuer
93 2008-03-14 Alexander Larsson <alexl@redhat.com>
95 * fam/fam-helper.[ch]:
97 Shut down fam (including removing fam GSource) when
98 module is unloaded (#521513)
99 Patch from Joe Marcus Clarke
101 2008-03-14 Alexander Larsson <alexl@redhat.com>
104 (_g_io_modules_ensure_loaded):
107 2008-03-14 Alexander Larsson <alexl@redhat.com>
110 (g_local_file_query_filesystem_info):
111 Use right define name for f_fstypename member check
113 2008-03-14 Alexander Larsson <alexl@redhat.com>
116 * fen/Makefile.am: Added.
117 * fen/fen-data.[ch]: Added.
118 * fen/fen-dump.[ch]: Added.
119 * fen/fen-helper.[ch]: Added.
120 * fen/fen-kernel.[ch]: Added.
121 * fen/fen-missing.[ch]: Added.
122 * fen/fen-node.[ch]: Added.
123 * fen/fen-sub.[ch]: Added.
124 * fen/gfendirectorymonitor.[ch]: Added.
125 * fen/gfenfilemonitor.[ch]: Added.
127 Added Solaris FEN file notification backend.
128 Patch from Lin Ma <Lin.Ma@Sun.COM>
130 2008-03-13 Tor Lillqvist <tml@novell.com>
132 * Makefile.am: Actually use the gio.def file when linking the
133 library on Windows. Produce .lib library for Microsoft's toolchain
134 when possible. Install the .lib and .def file like for the other
137 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
139 * tests/live-g-file.c:
140 Include live-g-file in standard set of tests, making a temporary
141 directory in source structure.
143 Clean target directory before the tests (write mode only)
145 2008-03-12 Tor Lillqvist <tml@novell.com>
147 Bug 517419 - gio win32 directory monitor
148 Implementation by Vlad Grecescu.
151 * win32/gwin32directorymonitor.h
152 * win32/gwin32directorymonitor.c: New files.
154 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
156 * Makefile.am: Add the win32 subdirectory.
158 2008-03-12 Tor Lillqvist <tml@novell.com>
160 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
161 normal struct stat on Unix but struct _stati64 on Windows to have
162 access to 64-bit file size information. Use that instead of struct
163 stat in the functions declared here in this private header.
165 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
166 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
167 warnings about unused functions and variables. Don't set
168 meaningless attributes like inode numbers on Windows.
170 2008-03-12 Benjamin Otte <otte@gnome.org>
173 trim whitespace so gtk-doc groks the function name
175 2008-03-12 Tor Lillqvist <tml@novell.com>
177 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
178 returning FALSE, on Win32.
180 2008-03-11 Alexander Larsson <alexl@redhat.com>
183 * glocalfileinfo.[ch]:
184 Correctly implement can_trash by actually
185 looking for a trash dir, not just assuming
188 2008-03-10 Matthias Clasen <mclasen@redhat.com>
190 * === Released 2.16.1 ===
192 2008-03-11 Alexander Larsson <alexl@redhat.com>
195 Fix crashes in new constructor and properties code
197 2008-03-10 Murray Cumming <murrayc@murrayc.com>
199 * gfile.c: Minor spelling correction in documentation:
200 existance -> existence.
202 2008-03-10 Matthias Clasen <mclasen@redhat.com>
204 * === Released 2.16.0 ===
206 2008-03-10 Matthias Clasen <mclasen@redhat.com>
208 * gio.symbols: Remove g_file_contains_file here, too.
210 2008-03-10 Matthias Clasen <mclasen@redhat.com>
212 * gthemedicon.c: Add properties to make bindings happy. (#517676,
213 Samuel Cormier-Iijima)
215 2008-03-08 Tor Lillqvist <tml@novell.com>
217 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
220 2008-03-07 Alexander Larsson <alexl@redhat.com>
223 (g_local_file_query_filesystem_info):
224 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
225 Patch from Jasper Lievisse Adriaanse
227 2008-03-06 Tor Lillqvist <tml@novell.com>
229 * gfileinfo.h: Correct milliseconds to microseconds in the doc
230 comments for the *_USEC attributes.
232 2008-03-06 Alexander Larsson <alexl@redhat.com>
234 * gfile.c (g_file_query_exists):
235 Add g_return_val_if_fail check (#520700)
237 2008-03-06 Alexander Larsson <alexl@redhat.com>
242 * gunionvolumemonitor.c:
245 * tests/live-g-file.c:
246 * xdgmime/xdgmimecache.c:
247 Fix sparse warnings (#519489)
249 2008-03-05 Alexander Larsson <alexl@redhat.com>
252 Make cancellation threadsafe (i.e.
253 guarantee its only done once, and always
256 * glocaldirectorymonitor.c:
257 Make sure we the monitor lives while the
258 mounts_changed callback is being called (#520484)
260 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
262 * gbufferedinputstream.c: Fix typo in parameter
265 2008-03-04 Alexander Larsson <alexl@redhat.com>
268 Remove deprecated symbols we kept for one release.
270 2008-03-04 Murray Cumming <murrayc@murrayc.com>
273 * goutputstream.c: Tiny documentation corrections.
275 2008-03-03 Alexander Larsson <alexl@redhat.com>
277 * gunionvolumemonitor.c:
279 Fix the adopt_orphan_mount vfunc to take a
280 volume_monitor reference in an ABI compat way.
281 This change is not API compat, but the added
282 arg is not used in the only user of this vfunc, so
283 all we get is a harmless warning in gvfs (#520169)
285 2008-03-01 Benjamin Otte <otte@gnome.org>
288 clarify docs for g_file_delete().
290 2008-02-29 Alexander Larsson <alexl@redhat.com>
294 Make sure empty files get text/plain type (#518720)
296 2008-02-27 Alexander Larsson <alexl@redhat.com>
302 (g_unix_volume_mount):
303 Add missing GMountMountFlags argument
305 2008-02-26 Alexander Larsson <alexl@redhat.com>
308 (g_local_file_delete):
309 Handle filesystems (like ntfs-3g) that return EEXIST instead
310 of ENOTEMPTY (#518816)
312 2008-02-25 Matthias Clasen <mclasen@redhat.com>
314 * === Released 2.15.6 ===
316 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
318 * gfile.c (g_file_find_enclosing_mount):
319 * ginputstream.c (g_input_stream_set_pending):
320 * glocalfile.c (g_local_file_find_enclosing_mount):
321 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
322 * goutputstream.c (g_output_stream_set_pending):
324 Fixup translator comments (#518578).
326 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
328 * gfile.c (g_file_find_enclosing_mount):
330 * glocalfile.c (g_local_file_find_enclosing_mount):
333 Fix a few typos in translator comments and documentation.
335 2008-02-25 Alexander Larsson <alexl@redhat.com>
342 Add translator comments (#518578)
344 2008-02-25 Alexander Larsson <alexl@redhat.com>
347 Reintroduce g_file_contains_file, keep around for one
348 unstable release cycle to avoid crashing to many apps.
349 Make sure to delete after release.
351 2008-02-25 Alexander Larsson <alexl@redhat.com>
354 Remove deprecated g_file_contains_file.
356 2008-02-25 Alexander Larsson <alexl@redhat.com>
359 Emit actual change signals in an idle handler.
360 This avoids reentrance and locking problems in
361 the file notification backends.
363 2008-02-25 Alexander Larsson <alexl@redhat.com>
366 (g_unix_mount_guess_should_display):
367 Remove type guessing, instead just display
368 mounts in /media and in ~/.
370 2008-02-25 Alexander Larsson <alexl@redhat.com>
373 Make new strings reuse old ones.
375 2008-02-25 Alexander Larsson <alexl@redhat.com>
378 Implement trashing and filesystem::readonly for win32 (#517235)
379 Patch from Yevgen Muntyan
381 2008-02-23 Matthias Clasen <mclasen@redhat.com>
383 * gfileinfo.h: Documentation fixes.
385 2008-02-22 Alexander Larsson <alexl@redhat.com>
387 * gcontenttype.c (g_content_type_get_icon):
388 Look at old-style gnome mime icon names too, as many
389 have not moved to the new style.
391 2008-02-21 Matthias Clasen <mclasen@redhat.com>
393 * *.c: Correct the @include in for section docs.
395 2008-02-21 David Zeuthen <davidz@redhat.com>
397 * glocalfileinfo.c: (_g_local_file_info_get):
399 (g_content_type_get_icon): Implement this function by
400 moving bits from glocalfileinfo.c
401 (g_content_type_get_description): Unalias before getting
402 description (#517687)
404 * gfile.c: (g_file_class_init),
405 (g_file_query_filesystem_info_async),
406 (g_file_query_filesystem_info_finish),
407 (query_filesystem_info_data_free),
408 (query_filesystem_info_async_thread),
409 (g_file_real_query_filesystem_info_async),
410 (g_file_real_query_filesystem_info_finish):
411 * gfile.h: Implement async version of
412 g_file_query_filesystem_info()
414 * gfileinfo.h: Add new attributes for filesystem::use-preview
416 * gio.symbols: Update
418 * gthemedicon.c: (g_themed_icon_append_name):
419 * gthemedicon.h: Add new new convenience function.
421 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
422 (get_mounts), (get_volumes), (get_connected_drives),
423 (get_volume_for_uuid), (get_mount_for_uuid),
424 (g_union_volume_monitor_init), (populate_union_monitor),
425 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
426 (g_volume_monitor_adopt_orphan_mount):
428 * gvolumemonitor.h: Use recursive locks so it's safe for volume
429 monitor implementations to call into the main volume monitor. Also
430 separate object initialization and volume monitor initialization
431 such that non-native volume monitors can properly adopt their
434 2008-02-21 Alexander Larsson <alexl@redhat.com>
439 2008-02-21 Alexander Larsson <alexl@redhat.com>
442 Add more documentation about how GFiles work (from #517086)
444 2008-02-21 Alexander Larsson <alexl@redhat.com>
448 Add new g_file_has_prefix that does the same as g_file_contains_file.
449 Deprecate g_file_contains_file and add a macro that converts
450 it to g_file_has_prefix.
451 The reason for this change is that the contains_file() name seems to
452 imply that this does more work than what it does, but its really only
453 a name match (from #517086)
458 Update to match the above change.
460 2008-02-20 Benjamin Otte <otte@gnome.org>
462 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
463 (g_file_eject_mountable):
464 even more cases of not returning in error path
466 2008-02-20 Benjamin Otte <otte@gnome.org>
468 * gfile.c: (g_file_mount_mountable):
469 return from function in error path.
471 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
474 Remove trailing coma in GMountMountFlags struct
476 2008-02-18 Alexander Larsson <alexl@redhat.com>
480 * glocalfileoutputstream.c:
481 Use g_unlink/g_rename instead of unlink/rename;
482 do not pass raw filenames to g_set_error. (#517239)
483 Patch from Yevgen Muntyan.
485 2008-02-18 Alexander Larsson <alexl@redhat.com>
488 * glocalfileoutputstream.c:
489 Open files with O_BINARY on windows. (#517140)
491 2008-02-14 Alexander Larsson <alexl@redhat.com>
493 * glocalfileoutputstream.c:
494 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
496 2008-02-14 Alexander Larsson <alexl@redhat.com>
499 Copy permissions with file on copy (#514084)
500 This is what cp does and makes sure e.g. the
501 exec permissions are kept.
502 Its kinda weird in that it keeps the permission bits
503 the same while the uid and gid are different. However
504 the new uid is the user so its not a security issue,
505 and I've heard no complaints about cp on this issue.
507 2008-02-13 Ryan Lortie <desrt@desrt.ca>
509 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
511 2008-02-13 Alexander Larsson <alexl@redhat.com>
513 * inotify/inotify-path.c:
514 Define IN_ONLYDIR if not in header (#515346)
516 2008-02-12 Alexander Larsson <alexl@redhat.com>
518 * tests/live-g-file.c:
521 2008-02-11 Matthias Clasen <mclasen@redhat.com>
523 * === Released 2.15.5 ===
525 2008-02-11 Matthias Clasen <mclasen@redhat.com>
527 * gio.symbols: Add g_mount_mount_flags_get_type.
529 2008-02-11 Alexander Larsson <alexl@redhat.com>
532 (g_file_info_set_attribute_mask):
533 (g_file_attribute_matcher_matches_id):
534 Correctly handle NULL GAttributeMatcher meaning
535 matches nothing. (Fixes #513492)
537 2008-02-11 Alexander Larsson <alexl@redhat.com>
542 Added GMountMountFlags enum and added a flags
543 argument to all mount calls.
545 This is an API/ABI change for future extensibility,
546 as I think we will need at least an
547 inhibit-autorun flag (the panel needs this).
548 There are no flags defined yet though.
550 2008-02-11 Alexander Larsson <alexl@redhat.com>
553 Added new standard::description attribute.
554 Requested by Vincent, and useful for both
557 2008-02-11 Alexander Larsson <alexl@redhat.com>
562 2008-02-11 Matthias Clasen <mclasen@redhat.com>
564 * *.c: Documentation additions
566 2008-02-10 Matthias Clasen <mclasen@redhat.com>
568 * gappinfo.h: Formatting cleanup
569 * gappinfo.c: Fix up docs.
571 2008-02-09 Matthias Clasen <mclasen@redhat.com>
573 * gunixmounts.c: Consistently use getmntent_r() and fall
574 back to getmntent(). (#515492)
576 2008-02-09 Matthias Clasen <mclasen@redhat.com>
578 * gbufferedinputstream.c:
580 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
582 * tests/data-input-stream.c:
583 * tests/data-output-stream.c: Portability fixes.
585 2008-02-08 Alexander Larsson <alexl@redhat.com>
590 Add g_volume_should_automount.
593 2008-02-07 Tor Lillqvist <tml@novell.com>
595 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
596 Win32, too Unix-specific.
598 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
600 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
601 a local plt if the compiler doesn't support what we want. Bug #514702
603 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
605 reviewed by: <delete if not using a buddy>
608 * gunixinputstream.c:
609 * gunixoutputstream.c:
611 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
614 * tests/live-g-file.c:
615 * tests/live-g-file.txt:
616 New GIO testing module working over real data
618 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
620 * glocalfileoutputstream.c (g_local_file_output_stream_close):
621 Fallback to rename() if link() is not available
622 (when no support on target filesystem)
624 2008-02-06 Michael Natterer <mitch@imendio.com>
626 * gfileinfo.c (g_file_info_get_icon): replace
627 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
629 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
631 * gfile.c (g_file_create):
632 Documentation update of error codes
634 2008-02-06 Alexander Larsson <alexl@redhat.com>
637 Update to use both mimeapps.list and
638 defaults.list as discussed on xdg list.
640 2008-02-06 Benjamin Otte <otte@gnome.org>
643 * gfilenamecompleter.c:
644 Fix some typos in the documentation.
646 2008-02-06 Alexander Larsson <alexl@redhat.com>
648 * glocalfile.c (g_local_file_trash):
649 Don't succeed with trash if newly created
650 trash dir has the wrong owner. (#514696)
652 2008-02-05 Alexander Larsson <alexl@redhat.com>
654 * glocalfile.c (g_local_file_move):
655 Don't spew warnings when destination is not
658 2008-02-03 Hans Breuer <hans@breuer.org>
660 * makefile.msc : update
662 2008-02-01 Michael Natterer <mitch@imendio.com>
664 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
665 return value of xdg_mime_list_mime_parents() to a variable of the
668 2008-02-01 Alexander Larsson <alexl@redhat.com>
670 * gappinfo.c (g_app_info_launch_uris):
671 Actually call the launch_uris method, not
674 2008-02-01 Alexander Larsson <alexl@redhat.com>
676 * gdesktopappinfo.c (g_desktop_app_info_equal):
677 Ensure appinfos with no id but same pointer value
680 2008-02-01 Alexander Larsson <alexl@redhat.com>
682 * gappinfo.c (g_app_info_launch_default_for_uri):
685 2008-02-01 Alexander Larsson <alexl@redhat.com>
689 Add g_app_info_launch_default_for_uri utility
692 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
695 Doc fix for g_app_info_get_default_for_uri_scheme ()
698 2008-01-30 Alexander Larsson <alexl@redhat.com>
701 Add doc comment about uris vs GFiles to
705 Ensure uris passed to g_app_info_launch_uris()
706 are not roundtriped through GFile (as that
707 may be slightly destructive for e.g. mailto: links)
709 2008-01-30 Alexander Larsson <alexl@redhat.com>
711 * tests/data-input-stream.c:
712 * tests/data-output-stream.c:
713 C89 fixes from Jens Granseuer (#512849)
715 2008-01-30 Alexander Larsson <alexl@redhat.com>
718 Fix gamin/fam difference build issue. (#509419)
720 2008-01-29 Alexander Larsson <alexl@redhat.com>
724 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
726 2008-01-29 Alexander Larsson <alexl@redhat.com>
730 giomodule-priv.h include moved to .c file.
732 2008-01-29 Alexander Larsson <alexl@redhat.com>
734 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
735 Remove unused prio/name fields.
737 2008-01-29 Alexander Larsson <alexl@redhat.com>
739 * gcontenttype.c (looks_like_text):
740 Don't treat whitespace as control chars.
742 2008-01-29 Alexander Larsson <alexl@redhat.com>
745 Lazily create the desktop files for appinfos created
746 by g_app_info_create_from_commandline() when needed
747 for mime associations. This allows run-time use
748 of GAppInfo object without creating unnecessary
751 2008-01-29 Alexander Larsson <alexl@redhat.com>
754 Added new symbols to gio.symbols
756 2008-01-29 Alexander Larsson <alexl@redhat.com>
759 Add g_file_query_default_handler utility to easily look up
760 the GAppInfo that handles a file.
762 * gdesktopappinfo.[ch]:
764 Set up an extension point for g_app_info_get_default_for_uri_scheme()
767 Remove unused function
769 2008-01-29 Alexander Larsson <alexl@redhat.com>
772 Mention need to free returned value in
773 g_file_enumerator_next_files_finish docs.
774 Fix leak if g_file_enumerator_next_files_finish()
777 2008-01-29 Alexander Larsson <alexl@redhat.com>
780 (_g_unix_content_type_get_parents):
781 Use list_parents, not get_parents from xdgmime, because
782 the later doesn't use the cache.
784 * xdgmime/xdgmimecache.c:
785 (_xdg_mime_cache_list_mime_parents):
786 Don't list the same type as parent multiple times.
788 2008-01-28 Matthias Clasen <mclasen@redhat.com>
790 * === Released 2.15.4 ===
792 2008-01-28 Alexander Larsson <alexl@redhat.com>
795 Register local vfs with prio 0.
798 Remove old name and prio class members
800 2008-01-28 Matthias Clasen <mclasen@redhat.com>
802 * tests/g-file.c: Disable some tests that are failing in
803 the absence of a http backend.
805 2008-01-28 Alexander Larsson <alexl@redhat.com>
809 Add registration hooks for extension points.
810 Register the gio extension points.
812 * fam/gfamdirectorymonitor.c:
813 * fam/gfamfilemonitor.c:
814 * glocaldirectorymonitor.[ch]:
815 * glocalfilemonitor.[ch]:
816 * gnativevolumemonitor.h:
817 * gunionvolumemonitor.c:
818 * gunixvolumemonitor.c:
821 * inotify/ginotifydirectorymonitor.c:
822 * inotify/ginotifyfilemonitor.c:
823 Use the extension points registration instead
824 of g_type_children().
826 2008-01-28 Matthias Clasen <mclasen@redhat.com>
829 * gvolume.[hc]: Document new API.
831 * gfile.c (g_file_copy_async): Fix docs
833 2008-01-27 Matthias Clasen <mclasen@redhat.com>
835 * gbufferedinputstream.c:
837 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
840 2008-01-27 Matthias Clasen <mclasen@redhat.com>
842 * glocalfile.c: Avoid trivial differences in translatable strings.
844 2008-01-25 Matthias Clasen <mclasen@redhat.com>
846 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
847 build with gcc 3.4 (#509419)
849 2008-01-25 Matthias Clasen <mclasen@redhat.com>
851 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
852 (#509994, Murray Cumming)
854 2008-01-25 Matthias Clasen <mclasen@redhat.com>
856 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
857 * gioscheduler.c: Keep calling io jobs until they return FALSE;
858 this allows big jobs to be executed in chunks, instead of blocking
859 the main loop for a long time.
861 * gsimpleasyncresult.c:
862 * giofile.c: Adapt callers.
864 2008-01-25 Alexander Larsson <alexl@redhat.com>
867 Implement changes discussed on xdg list.
868 Now we can add supported mimetypes by just using defaults.list
869 We can also remove associations in defaults.list.
871 2008-01-25 Alexander Larsson <alexl@redhat.com>
874 Don't make local copy of desktop file
875 for mimetype changes if the file already
876 supports the new mimetype.
878 2008-01-25 Matthias Clasen <mclasen@redhat.com>
882 * gbufferedinputstream.c:
883 * glocalfile.c: String improvements. (#511966,
884 Theppitak Karoonboonyanan)
886 2008-01-24 Matthias Clasen <mclasen@redhat.com>
888 * gioscheduler.h: Expand docs a bit.
890 2008-01-24 Alexander Larsson <alexl@redhat.com>
893 Add g_drive_get_identifier and
894 g_drive_enumerate_identifiers
897 Add g_volume_get_identifier and
898 g_volume_enumerate_identifiers
904 Implement identifiers for unix backend
906 2008-01-24 Alexander Larsson <alexl@redhat.com>
911 Add g_file_copy_async() (#511580)
912 Based on patch from Carlos Garcia Campos
914 2008-01-23 Matthias Clasen <mclasen@redhat.com>
916 * gioscheduler.c: Some documentation additions.
918 2008-01-22 Alexander Larsson <alexl@redhat.com>
921 (g_desktop_app_info_new):
924 2008-01-22 Alexander Larsson <alexl@redhat.com>
927 (g_desktop_app_info_new_from_filename):
930 2008-01-22 Alexander Larsson <alexl@redhat.com>
932 * glocalfileinfo.c (get_thumbnail_attributes):
935 2008-01-22 Alexander Larsson <alexl@redhat.com>
938 (canonicalize_filename):
939 Canonicalize paths that start with more than
944 (test_g_file_new_for_path):
947 2008-01-22 Alexander Larsson <alexl@redhat.com>
950 Allow UTF-8 in file:// parse names.
953 * tests/data-input-stream.c:
954 * tests/data-output-stream.c:
955 * tests/g-file-info.c:
957 Added a bunch of tests from Tomas Bzatek
959 2008-01-21 Matthias Clasen <mclasen@redhat.com>
961 * === Released 2.15.3 ===
963 2008-01-21 Alexander Larsson <alexl@redhat.com>
965 * gfileinputstream.[ch]:
966 * gfileoutputstream.[ch]:
968 Remove duplicated GSeekable functions. (#509990)
969 Just use the g_seekable_xxx() calls instead.
971 2008-01-21 Matthias Clasen <mclasen@redhat.com>
974 * gvolumemanager.c: Whitespace cleanups.
976 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
977 Use the right mode when creating the file.
979 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
982 * gfileinputstream.c:
984 * goutputstream.c: Documentation: Fixed minor typos
985 and added more mentions of specific _finish() functions.
987 2008-01-21 Alexander Larsson <alexl@redhat.com>
989 * inotify/Makefile.am:
990 * inotify/inotify-helper.c:
991 * inotify/inotify-kernel.c:
992 * inotify/inotify-path.c:
993 * inotify/local_inotify.h: Removed.
994 * inotify/local_inotify_syscalls.h: Removed.
995 Removed the included copies of the inotify
996 headers. We now only use the <sys/inotify.h>
997 header which exists on modern systems.
998 This fixes problems on ARM and SH5 (#510448)
999 but is also generally much cleaner and future
1000 safe. For instance, if other OSes add support
1001 for inotify it should "just work".
1003 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1005 * inotify/*.c: Coding style fixes.
1006 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1007 for the 1/4 Hz timer.
1009 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1012 * gfilemonitor.[hc]:
1013 * gmemoryinputstream.c:
1014 * gmemoryoutputstream.c:
1015 * gmountoperation.c:
1016 * gthemedicon.c: Documentation updates
1018 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1020 * gfile.c: documentation: Fixed more minor
1023 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1025 * gmount.c: (g_mount_remount): documentation:
1026 Mention g_mount_remount_finish() instead of
1027 g_mount_unmount_finish().
1029 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1033 * gfile.c: Fixed some minor typos in the
1036 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1038 * gio/gvolumemonitor.c:
1039 (g_volume_monitor_get_connected_drives):
1040 (g_volume_monitor_get_volumes):
1041 (g_volume_monitor_get_mounts): Documentation:
1042 Clarify the ownership of the regurn GLists.
1044 2008-01-17 Alexander Larsson <alexl@redhat.com>
1047 Add the async find_enclosing_mount version
1048 to the header file too.
1050 2008-01-17 Alexander Larsson <alexl@redhat.com>
1053 Add async version of find_enclosing_mount
1054 with default implementation.
1056 2008-01-17 Alexander Larsson <alexl@redhat.com>
1061 Allow calls to implementation of copy and write
1062 even if the type of the file implementations is
1063 different. This can be used to implement native
1064 upload and download calls in a vfs.
1067 (g_local_file_move):
1068 Protect against the case where move is called
1069 with one file not being local.
1071 Make sure we call the progress callback once
1072 in the native move operation so that the caller
1073 knows how many bytes were copied.
1075 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1078 * gdatainputstream.c:
1080 * gfileoutputstream.c:
1085 * gunixmounts.c: Corrected some typos in the documentation:
1086 occured -> occurred.
1087 its -> it's (where appropriate).
1089 2008-01-16 Alexander Larsson <alexl@redhat.com>
1093 Add g_file_query_exists (#508771)
1095 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1100 * gvolume.c: For async functions that have no non-async
1101 version, document that the GAsyncReadyCallback may be NULL.
1104 2008-01-15 Alexander Larsson <alexl@redhat.com>
1106 * gmemoryinputstream.c:
1107 * gmemoryoutputstream.c:
1108 Don't do pointer arithmetic on void * (#508602)
1109 Patch from Kazuki IWAMOTO
1111 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1113 * === Released 2.15.2 ===
1115 2008-01-14 Alexander Larsson <alexl@redhat.com>
1117 * gfile.c (g_file_monitor_file):
1118 Don't set error here, since we fallback to polling monitor.
1120 2008-01-14 Alexander Larsson <alexl@redhat.com>
1123 (g_file_monitor_directory):
1124 (g_file_monitor_file):
1125 Add GError to file monitor calls
1127 * glocaldirectorymonitor.c:
1128 * glocaldirectorymonitor.h:
1130 * glocalfilemonitor.c:
1131 * glocalfilemonitor.h:
1133 Update for above change
1135 2008-01-14 Alexander Larsson <alexl@redhat.com>
1139 Handle root correctly in g_file_get_relative_path (#508719)
1141 2008-01-14 Alexander Larsson <alexl@redhat.com>
1144 Clean up docs and example for GAsyncResult (#508074)
1146 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1148 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1149 and correct some spelling mistakes. Bug #508108.
1151 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1153 * glocalfileinfo.c: Add a comment.
1155 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1157 * gfileinfo.c: GFileInfo description: Mention
1158 how to actually set attributes in a GFile and how to discover
1159 which attributes are settable. Bug #508378.
1161 2008-01-10 A. Walton <awalton@svn.gnome.org>
1163 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1164 (g_app_info_get_default_for_type):
1165 Check for NULL content types.
1167 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1169 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1171 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1173 * gfile.c: *_async() functions: Several small corrections
1174 to the documentation, mostly correcting copy/paste errors
1175 and improving some sentences.
1177 2008-01-09 Dan Winship <danw@gnome.org>
1179 * glocalfile.c (get_unique_filename): x86_64 fix
1181 2008-01-09 Alexander Larsson <alexl@redhat.com>
1186 Add g_unix_mount_guess_should_display and use
1187 for unix volume monitor backend.
1188 This means we more or less show what the
1189 gnome-vfs backend did.
1190 Based on patch from Padraig O'Briain
1192 2008-01-09 Alexander Larsson <alexl@redhat.com>
1196 Add g_themed_icon_new_with_default_fallbacks
1199 Use default fallbacks for icons
1201 2008-01-09 Alexander Larsson <alexl@redhat.com>
1204 * gmountoperation.[ch]:
1205 Change the API a bit so that unhandled methods
1206 get reported via the reply, rather than by
1207 the signal emission return value. This is because
1208 some handlers can't know this immediately without
1209 doing I/O, and this is an async operation that
1212 2008-01-09 Alexander Larsson <alexl@redhat.com>
1215 * fam/gfamdirectorymonitor.c:
1216 * fam/gfamfilemonitor.c:
1217 Fix double free crash (#508224)
1218 Patch from Joe Marcus Clarke
1220 008-01-07 Matthias Clasen <mclasen@redhat.com>
1222 * === Released 2.15.1 ===
1224 2008-01-07 Alexander Larsson <alexl@redhat.com>
1226 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1227 Fix warning (#507835)
1229 2008-01-07 Alexander Larsson <alexl@redhat.com>
1232 Pass --internal to glib-genmarshal
1235 * gmountoperation.c:
1237 Use better types for signal arguments (#507822)
1239 2008-01-07 Alexander Larsson <alexl@redhat.com>
1242 Build test subdir after .
1243 Remove gdirectorymonitor.[ch]
1245 * gdirectorymonitor.[ch]:
1249 Remove GDirectoryMonitor and make
1250 GFileMonitor the baseclass for both file and
1251 directory monitors. Lift the more generic
1252 rate limiting code from GDirectoryMonitor
1256 * fam/gfamdirectorymonitor.[ch]:
1257 * inotify/ginotifydirectorymonitor.[ch]:
1258 * inotify/inotify-helper.c:
1259 * glocaldirectorymonitor.[ch]:
1262 Update for the removed GDirectoryMonitor.
1264 * gmemoryoutputstream.c:
1265 Remove ununsed variable
1267 2008-01-07 Alexander Larsson <alexl@redhat.com>
1269 * gmemoryinputstream.c:
1270 Translate error strings
1273 * gmemoryoutputstream.[ch]:
1274 New implementation that avoids using GByteArray
1275 in implementation and API. (#506377)
1277 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1279 * tests/*: Add a test for memory input streams.
1281 * Makefile.am: Add tests to SUBDIRS.
1283 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1285 * glocalfilemonitor.c:
1286 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1289 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1291 * gdesktopappinfo.c: Fix a docs typo.
1293 * gfileattribute.c: Add information about extended attributes
1294 to the documentation. (#505058)
1296 2008-01-04 Alexander Larsson <alexl@redhat.com>
1299 * gmountoperation.c:
1300 Use the right type (uint) for the ask_password signal.
1302 2008-01-04 Alexander Larsson <alexl@redhat.com>
1307 Add g_app_info_supports_files()
1308 Remove desktop arg from g_app_info_should_show().
1310 * gdesktopappinfo.[ch]:
1311 Implement g_app_info_supports_files() and new should_show()
1312 Add g_desktop_app_info_set_desktop_env() to set the desktop
1313 for should_show(). (This will be set by gtk+ later)
1315 2008-01-04 Alexander Larsson <alexl@redhat.com>
1318 * gmemoryinputstream.[ch]:
1319 Improve API so that you can use multiple chunks
1320 of memory and custom destroy functions. (#506374)
1322 2008-01-03 Alexander Larsson <alexl@redhat.com>
1325 Handle NULL attribute matchers safely, as we return this
1326 for empty attribute matcher strings.
1328 2008-01-03 Alexander Larsson <alexl@redhat.com>
1330 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1331 Add /usr/local to list of internal mountpoints
1333 2008-01-03 Alexander Larsson <alexl@redhat.com>
1336 Check for HAVE_LCHOWN (#505887)
1338 2008-01-03 Alexander Larsson <alexl@redhat.com>
1342 Add define for selinux context attribute.
1343 Fix missing : -> :: namespace separator change
1344 Fix missing _ -> - name change for xattr-sys.
1347 2008-01-03 Alexander Larsson <alexl@redhat.com>
1350 Link to libglib and libgobject directly (#504879)
1351 Patch from Sebastien Bacher
1353 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1355 * gfile.c: Expanded the g_file_new_for_commandline_arg
1356 description a bit, based on the code and the docs of the
1357 other g_file_new_for_* functions.
1359 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1361 * gfilemonitor.h: Fixed typo in docs.
1363 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1365 Updates to GIO documentation. (#506395, Mikael Hermansson)
1367 * gcontenttype.c: Describe memory management for return value of
1368 g_content_types_get_registered(). Missing piece from #505815.
1369 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1370 GVolume, GDrive, GMounts, which hopefully gives the user less
1371 confusions when using this API. Following explainations from
1372 Alexander Larsson on gtk-devel-list.
1374 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1376 * gfileinfo.c: Expand the long description.
1378 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1381 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1382 fix builds with --disable-visibility. (#500273, Christian Persch)
1384 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1386 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1387 in the list of returned app infos.
1389 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1391 * gappinfo.c: Fix a cross-reference
1393 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1395 * gfileinputstream.c:
1396 * gfileoutputstream.c:
1400 * gdesktopappinfo.c:
1402 * gfileinfo.c: Documentation updates.
1404 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1406 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1409 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1411 * gcontenttype.c (g_content_types_get_registered): Don't return
1412 freed memory (#505815, Mikael Hermansson)
1414 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1416 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1417 used to detect statbuf->st_blocks. (#505042)
1419 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1421 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1422 environment handling. (#504829, Cosimo Cecchi)
1424 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1426 * gappinfo.c: Doc improvements
1428 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1431 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1433 * === Released 2.15.0 ===
1435 2007-12-20 Hans Breuer <hans@breuer.org>
1437 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1438 with symbols gwin32appinfo.obj, added gmount.obj
1439 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1441 2007-12-20 Alexander Larsson <alexl@redhat.com>
1447 * gfilenamecompleter.c:
1450 * gpollfilemonitor.c:
1451 File attribute renames:
1453 fs:: -> filesystem::
1454 id::fs -> id::filesystem
1456 2007-12-20 Alexander Larsson <alexl@redhat.com>
1465 Add GMountUnmountFlags to all unmount and
1467 Add g_mount_remount() call.
1469 2007-12-20 Alexander Larsson <alexl@redhat.com>
1471 * gvfs.c (get_default_vfs):
1472 Fix unused variable warning
1474 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1476 * pltcheck.sh: Update
1478 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1480 * gunionvolumemonitor.c:
1481 * gunixmount.c: Remove C99 comments
1483 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1485 * gio.symbols: Add some missing symbols
1487 2007-12-19 Alexander Larsson <alexl@redhat.com>
1490 Make g_io_modules_load_all_in_directory not unuse
1491 loaded modules so that users of it can do stuff
1493 Init internal "module" types.
1494 Initialize static prio and name for types so that
1495 we don't have to load modules to get it.
1497 * gnativevolumemonitor.h:
1499 Move is_supported to parent class so that
1500 non-native monitors can avoid being initialized
1501 too. (For instance GDaemonVolumeMonitor if we're
1502 not using GDaemonVfs.)
1504 * glocaldirectorymonitor.[ch]:
1505 * glocalfilemonitor.[ch]:
1506 * gunionvolumemonitor.c:
1507 * gunixvolumemonitor.c:
1509 Find plugins using the static prio+name to
1510 avoid unnecessarily loading the modules.
1512 2007-12-19 Alexander Larsson <alexl@redhat.com>
1517 2007-12-19 Alexander Larsson <alexl@redhat.com>
1519 * gunionvolumemonitor.c:
1520 Store the native type as GType, not class so that
1521 we can unload it. But still avoid unnecessarily
1524 2007-12-19 David Zeuthen <davidz@redhat.com>
1526 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1527 add signals 'disconnected' and 'eject-button' on GDrive. Add
1528 signal 'removed' on GVolume and 'unmounted' on GMount.
1530 * gdrive.c: (g_drive_base_init):
1532 * gfile.c: (g_file_mount_mountable),
1533 (g_file_mount_enclosing_volume):
1536 * gmount.c: (g_mount_base_init):
1538 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1539 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1540 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1544 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1546 * *.c: Fix up includes in the section docs.
1548 2007-12-17 Alexander Larsson <alexl@redhat.com>
1550 * gnativevolumemonitor.h:
1551 * gunionvolumemonitor.c:
1552 * gunixvolumemonitor.c:
1553 Add is_supported() to GNativeVolumeMonitorClass so
1554 that we can avoid having to create an object to see
1555 if the backend is supported at runtime.
1556 Also add name member and an env var to pick a specific
1557 volume monitor backend.
1561 Add cancellable to _g_mount_get_for_mount_path()
1563 * glocaldirectorymonitor.c:
1564 * glocalfilemonitor.c:
1565 Avoid loading and unloading modules while sorting.
1567 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1570 * gunixmounts.[hc]: Namespace waste reduction, move some
1571 g_get_unix_mount functions to the g_unix_mount namespace.
1574 * gunixvolumemonitor.c:
1576 * glocaldirectorymonitor.c: Update all callers.
1578 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1580 2007-12-17 Alexander Larsson <alexl@redhat.com>
1583 Add doc comments about what GFile operations are
1584 guaranteed to not block.
1586 2007-12-17 Alexander Larsson <alexl@redhat.com>
1589 Add missing #ifdef fixing OSX build.
1590 (#503334, patch from Richard Hult)
1592 2007-12-14 David Zeuthen <davidz@redhat.com>
1596 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1597 (g_mount_eject), (g_mount_eject_finish):
1599 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1600 (get_volume_for_uuid), (get_mount_for_uuid),
1601 (g_union_volume_monitor_class_init),
1602 (get_default_native_type_with_exclude), (get_default_native_type),
1603 (get_native_type), (update_native_type),
1604 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1605 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1606 (g_unix_mount_can_eject), (eject_unmount_cb),
1607 (eject_unmount_read_error), (eject_unmount_do),
1608 (g_unix_mount_unmount), (g_unix_mount_eject),
1609 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1610 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1611 (g_unix_mount_point_guess_can_eject):
1613 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1614 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1615 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1616 (g_unix_volume_mount), (g_unix_volume_eject),
1617 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1618 * gunixvolumemonitor.c: (get_volume_for_uuid),
1619 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1621 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1622 (g_volume_eject), (g_volume_eject_finish):
1624 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1625 (g_volume_monitor_get_mount_for_uuid):
1628 Provide eject() on both GMount and GVolume and utility functions
1629 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1630 ejected. Introduce the concept of UUID's and wire it into GVolume
1631 and GMount and provide API on GVolumeMonitor to find such
1632 instances. Also handle the case where an external
1633 GNativeVolumeMonitor fails to initialize. Lock around the
1634 _g_get_mount_for_mount_path() function such that volume monitor
1635 implementations won't have to do locking themselves.
1637 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1639 * gdesktopappinfo.c:
1645 * gvolume.h: Documentation updates
1647 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1650 * gfile.h: Doc updates
1652 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1655 * gdesktopappinfo.c: Use hash table iterators.
1657 2007-12-14 Alexander Larsson <alexl@redhat.com>
1660 * gfileattribute.[ch]:
1661 * gfileattribute-priv.h:
1662 Move GFileAttributeValue to a private header, as
1666 Make set_attribute take a type + a pointer instead
1667 of a GFileAttributeValue.
1670 Fix up for above changes.
1671 Add g_file_info_get_attribute_data to get
1672 all info in one call, g_file_info_get_attribute_status
1673 to get the status and g_file_info_get_attribute_as_string.
1677 * glocalfileinfo.[ch]:
1681 Make _guess_type static.
1683 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1686 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1687 made mkenums and friends use temporary files to avoid leaving
1688 empty generated files on failure (#503470).
1690 2007-12-14 Alexander Larsson <alexl@redhat.com>
1692 * gmountoperation.h:
1695 2007-12-14 Alexander Larsson <alexl@redhat.com>
1699 * gfileattribute.[ch]:
1702 * glocalfileoutputstream.c:
1703 * gmountoperation.[ch]:
1704 * goutputstream.[ch]:
1705 Clean up all flags enums to not have _FLAGS in them
1706 Make the names of some of the enums better.
1711 2007-12-14 Michael Natterer <mitch@imendio.com>
1713 * gio.symbols: fix g_io_scheduler symbol names.
1715 2007-12-14 Alexander Larsson <alexl@redhat.com>
1721 * gbufferedinputstream.h:
1722 * gbufferedoutputstream.h:
1725 * gdatainputstream.h:
1726 * gdataoutputstream.h:
1727 * gdesktopappinfo.h:
1728 * gdirectorymonitor.h:
1732 * gfileenumerator.h:
1735 * gfileinputstream.h:
1737 * gfilenamecompleter.h:
1738 * gfileoutputstream.h:
1739 * gfilterinputstream.h:
1740 * gfilteroutputstream.h:
1748 * gmemoryinputstream.h:
1749 * gmemoryoutputstream.h:
1751 * gmountoperation.h:
1754 * gsimpleasyncresult.h:
1756 * gunixinputstream.h:
1758 * gunixoutputstream.h:
1762 * inotify/Makefile.am:
1763 Only allow including <gio/gio.h> from apps
1765 2007-12-14 Alexander Larsson <alexl@redhat.com>
1767 * gioscheduler.[ch]:
1768 * gsimpleasyncresult.c:
1769 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1770 Split out the send_to_mainloop call into two versions instead
1771 of having the block argument.
1773 2007-12-13 Alexander Larsson <alexl@redhat.com>
1775 * gcancellable.[ch]:
1777 * gbufferedinputstream.c:
1778 * gfileenumerator.c:
1779 * gfileinputstream.c:
1780 * gfileoutputstream.c:
1784 g_push/pop_current_cancellable ->
1785 g_cancellable_push/pop_current
1787 2007-12-13 Alexander Larsson <alexl@redhat.com>
1791 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1793 2007-12-13 Alexander Larsson <alexl@redhat.com>
1795 * gmountoperation.h:
1796 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1798 2007-12-12 Alexander Larsson <alexl@redhat.com>
1801 Fix race condition when freeing proxy in
1802 g_io_job_send_to_mainloop().
1804 2007-12-12 Alexander Larsson <alexl@redhat.com>
1810 Make attribute namespace separator "::" instead of ":".
1811 Use - instead of _ as separator in attribute names.
1813 2007-12-12 Alexander Larsson <alexl@redhat.com>
1815 * gbufferedinputstream.h:
1816 * gbufferedoutputstream.h:
1817 * gdatainputstream.h:
1818 * gdataoutputstream.h:
1819 * gdirectorymonitor.h:
1820 * gfileenumerator.h:
1821 * gfileinputstream.h:
1823 * gfileoutputstream.h:
1824 * gfilterinputstream.h:
1825 * gfilteroutputstream.h:
1827 * glocalfileinputstream.h:
1828 * glocalfileoutputstream.h:
1829 * gmemoryinputstream.h:
1830 * gmemoryoutputstream.h:
1831 * gnativevolumemonitor.h:
1833 * gunixinputstream.h:
1834 * gunixoutputstream.h:
1837 s/parent/parent_instance/ in GObjects
1839 2007-12-12 Alexander Larsson <alexl@redhat.com>
1844 No need for padding for interfaces
1846 2007-12-12 Alexander Larsson <alexl@redhat.com>
1850 * gbufferedinputstream.c:
1851 * gbufferedoutputstream.c:
1854 * gdatainputstream.[ch]:
1855 * gdesktopappinfo.c:
1856 * gdirectorymonitor.c:
1858 * gfileattribute.[ch]:
1861 * gfileinputstream.h:
1862 * gfilemonitor.[ch]:
1863 * gfileoutputstream.[ch]:
1864 * gfilterinputstream.h:
1865 * gfilteroutputstream.h:
1868 * gloadableicon.[ch]:
1869 * gmemoryinputstream.c:
1870 * gmountoperation.c:
1872 Fix up a bunch of details in the docs.
1877 2007-12-11 David Zeuthen <davidz@redhat.com>
1879 Rework how volumes, drives and volume monitoring is
1880 done. Previosly the model was
1882 GDrive <1-1> GVolume
1884 where a GDrive instance represented a mount point and a GVolume
1885 instance represented a mounted file system. This patch changes it
1888 GDrive <1-N> GVolume <1-1> GMount
1890 where GMount now serves the purpose of the old GVolume and the new
1891 GVolume serves the purpose of the old GDrive. In addition the new
1892 GDrive interface is used to represent a collection of GVolume
1893 instances (typically partitions) and also contains utility to query
1894 the state of the physical drive the GDrive object represents (such
1895 as checking for media, polling the drive, ejecting the media etc.).
1897 Also implement mounting and unmounting in the Unix volume monitor
1898 backend. A subquent patch will introduce GDrive support for ejection
1902 * gdrive.c: (g_drive_is_media_check_automatic),
1903 (g_drive_is_media_removable), (g_drive_has_media),
1904 (g_drive_can_poll_for_media), (g_drive_eject),
1905 (g_drive_eject_finish), (g_drive_poll_for_media),
1906 (g_drive_poll_for_media_finish):
1908 * gfile.c: (g_file_find_enclosing_mount):
1911 * glocaldirectorymonitor.c:
1912 (g_local_directory_monitor_constructor), (mounts_changed):
1913 * glocalfile.c: (get_mount_info),
1914 (g_local_file_find_enclosing_mount),
1915 (g_local_file_file_iface_init):
1916 * gnativevolumemonitor.h:
1917 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1918 (get_connected_drives), (g_union_volume_monitor_class_init),
1919 (child_volume_added), (child_volume_removed),
1920 (child_volume_changed), (child_mount_added), (child_mount_removed),
1921 (child_mount_pre_unmount), (child_mount_changed),
1922 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1923 (g_union_volume_monitor_remove_monitor),
1924 (_g_mount_get_for_mount_path):
1925 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1926 (guess_system_internal), (_g_get_unix_mounts),
1927 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1928 (g_unix_mount_free), (g_unix_mount_compare),
1929 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1930 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1931 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1932 (type_to_icon), (g_unix_mount_guess_name),
1933 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1934 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1935 (_resolve_symlink), (_resolve_dev_root):
1937 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1938 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1939 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1940 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1941 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1942 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1943 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1944 (g_unix_volume_volume_iface_init):
1946 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1947 (get_mounts), (get_volumes), (get_connected_drives),
1948 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1949 (mountpoints_changed), (mounts_changed),
1950 (g_unix_volume_monitor_init),
1951 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1952 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1953 * gunixvolumemonitor.h:
1954 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1955 (g_volume_mount), (g_volume_mount_finish):
1957 * gvolumemonitor.c: (g_volume_monitor_class_init),
1958 (g_volume_monitor_get_connected_drives),
1959 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1962 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1964 * gmountoperation.h (GPasswordFlags): Close the gap
1966 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1968 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1970 * gdesktopappinfo.[hc]: Remove _-prefixes
1972 2007-12-10 Tor Lillqvist <tml@novell.com>
1974 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1977 2007-12-10 Alexander Larsson <alexl@redhat.com>
1979 * gfile.c (g_file_set_display_name):
1980 Don't hardcode '/' (#502727)
1982 2007-12-09 Hans Breuer <hans@breuer.org>
1984 * makefile.msc : follow lib naming convention
1985 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1986 for user and group name, tested with ../tests/gio-ls
1988 2007-12-09 A. Walton <awalton@svn.gnome.org>
1990 * gdesktopappinfo.c:
1996 * gfileenumerator.c:
2001 * gmemoryinputstream.c:
2002 * gmemoryoutputstream.c:
2004 * gsimpleasyncresult.c:
2005 More documentation cleanup and filling in missing information, bringing
2006 GIO to 99% symbol coverage.
2008 2007-12-08 Hans Breuer <hans@breuer.org>
2010 [gio compiles and links on win32, not sure how much already works]
2011 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2012 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2013 base on win32 API; prefer g_lstat() over lstat(); instead of
2014 localtime_r() use an all GLib implementation on win32;
2015 get_mount_info() still needs a win32 specifc implementation
2016 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2017 win32_get_file_user_info to get owner/group info without uid/gid
2018 * glocalfileinputstream.c : include <io.h> on win32
2019 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2020 definition, use g_win32_ftruncate() for G_OS_WIN32
2021 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2022 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2023 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2024 * makefile.msc : updated
2026 2007-12-07 Alexander Larsson <alexl@redhat.com>
2028 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2029 Avoid warning spew if error == NULL
2031 2007-12-07 Alexander Larsson <alexl@redhat.com>
2034 Update docs wrt etags
2036 2007-12-06 Alexander Larsson <alexl@redhat.com>
2039 Include sys/types.h for dev_t (#501919)
2041 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2045 Make abicheck and pltcheck pass.
2047 2007-12-05 Alexander Larsson <alexl@redhat.com>
2050 * giomodule-priv.h: Added.
2051 * glocaldirectorymonitor.c:
2052 * glocalfilemonitor.c:
2053 * gunionvolumemonitor.c:
2055 Actually add the declaration of _g_io_modules_ensure_loaded
2057 2007-12-05 Alexander Larsson <alexl@redhat.com>
2059 * gdatainputstream.c:
2064 * glocaldirectorymonitor.c:
2065 * glocalfilemonitor.c:
2066 * gunionvolumemonitor.c:
2068 Make g_io_modules_ensure_loaded a private function and
2069 don't pass in the dirname. This means we can do magic
2070 directory finding in the win32 version.
2071 Export the actual load-modules-in-directory code so that
2072 gvfs can reuse that.
2074 2007-12-05 Alexander Larsson <alexl@redhat.com>
2076 * gbufferedinputstream.c:
2077 * gbufferedoutputstream.c:
2080 * gfileenumerator.[ch]:
2081 * gfileinputstream.c:
2082 * gfileoutputstream.[ch]:
2083 * gfilterinputstream.c:
2084 * gfilteroutputstream.c:
2085 * ginputstream.[ch]:
2087 * glocalfileenumerator.c:
2088 * glocalfileinputstream.c:
2089 * glocalfileoutputstream.c:
2090 * gmemoryinputstream.c:
2091 * gmemoryoutputstream.c:
2092 * goutputstream.[ch]:
2095 * gunixinputstream.c:
2096 * gunixoutputstream.c:
2097 Rename all struct members named:
2098 read, write, close, truncate, or mount
2099 to foo_fn, as these are reserved names
2100 and could be defined as macros in libc.
2103 2007-12-04 Alexander Larsson <alexl@redhat.com>
2106 (g_output_stream_close):
2107 Only call flush if non-null.
2109 2007-11-30 Dan Winship <danw@gnome.org>
2111 * ginputstream.c (g_input_stream_set_pending): Make this take a
2112 GError and return a gboolean, and do the "outstanding operation"
2113 check (and the "stream is already closed" check) itself.
2114 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2116 * goutputstream.c (g_output_stream_set_pending)
2117 (g_output_stream_clear_pending): Likewise
2119 * gbufferedinputstream.c:
2120 * gfileinputstream.c:
2121 * gfileoutputstream.c: Update for that
2123 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2124 Like g_simple_async_report_error_in_idle, but takes a GError
2125 rather than building one.
2127 2007-11-30 Dan Winship <danw@gnome.org>
2129 * goutputstream.c: Don't cheat and unset the "pending" flag around
2130 inner calls. Instead, call the class method directly rather than
2131 the wrapper function that checks "pending"
2133 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2135 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2137 2007-12-03 Hans Breuer <hans@breuer.org>
2139 [start of port to win32/msvc]
2140 * gcancellable.c : HAVE_UNIST_H and _pipe()
2141 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2142 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2143 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2145 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2146 * glocalvfs.c : use HAVE_PWD_H
2147 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2148 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2149 * Makefile.am : added to EXTRA_DIST
2151 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2153 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2156 2007-12-03 Alexander Larsson <alexl@redhat.com>
2159 Handle OSX style xattrs API (#500506)
2161 2007-12-03 Alexander Larsson <alexl@redhat.com>
2165 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2167 2007-12-02 A. Walton <awalton@svn.gnome.org>
2171 Documentation accuracy fixes.
2173 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2175 * gioenumtypes.c.template: Fix typo.
2177 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2179 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2181 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2183 * gdirectorymonitor.c:
2184 * gfilemonitor.c: Add properties
2186 * gbufferedoutputstream.c: Don't mark buffer-size property
2189 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2191 * gbufferedoutputstream.c: Add auto-grow property.
2193 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2195 * *.c: Unify the capitalization of section headings.
2197 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2199 * gmountoperation.c: Add properties
2201 * gdatainputstream.c: Turn byte-order and newline-type into
2204 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2206 * gioenumtypes.[hc].template: Templates for enum registration
2208 * Makefile.am: Generate gioenumtypes.[hc]
2210 * gio.h: Include gioenumtypes.h
2212 * gfile.h: Add some explicit nicks.
2214 * gio.symbols: Add new symbols
2216 * pltcheck.sh: Adjust
2218 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2220 * *.c: Explain etags and link to the explanation
2222 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2224 * *.c: Explain I/O priority.
2226 * *.c: More coding style fixes.
2228 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2230 * gasyncresult.c: Add another paragraph to the intro,
2231 adjust coding style of example.
2233 2007-11-29 A. Walton <awalton@svn.gnome.org>
2236 Fixes unknown meaning in GAppLaunchContext docs.
2238 Clarify asynchronous ops.
2240 Fix entity tag docs.
2243 Provides missing gtk-doc section, fixes API docs slighly.
2244 * gsimpleasyncresult.c:
2245 Fill in missing info in docs.
2246 * gunixinputstream.c:
2247 * gunixoutputstream.c:
2248 Be more expressive in short description.
2250 Remove gtk-doc stubs for non-public API.
2252 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2254 * *.c: Coding style fixups
2256 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2258 * inotify/inotify-helper.c: Don't export the lock from libgio.
2260 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2263 * abicheck.sh: Fix copy-and-paste leftovers
2265 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2267 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2269 2007-11-28 Alexander Larsson <alexl@redhat.com>
2273 Removed unnecessary file
2275 * gdesktopappinfo.[ch]:
2278 * glocaldirectorymonitor.[ch]:
2280 * glocalfileenumerator.[ch]:
2281 * glocalfileinputstream.[ch]:
2282 * glocalfilemonitor.[ch]:
2283 * glocalfileoutputstream.[ch]:
2285 * gnativevolumemonitor.c:
2286 * gpollfilemonitor.[ch]:
2287 * gunionvolumemonitor.[ch]:
2290 * gunixvolumemonitor.[ch]:
2293 * inotify/ginotifydirectorymonitor.[ch]:
2294 * inotify/ginotifyfilemonitor.[ch]:
2295 * inotify/inotify-helper.c:
2296 Append _ to all internal functions
2300 Export symbols needed for modules
2302 2007-11-28 Alexander Larsson <alexl@redhat.com>
2305 * abicheck.sh: Added.
2306 * makegioalias.pl: Added.
2307 * pltcheck.sh: Added.
2308 * gio.symbols: Added.
2311 Initial work on adding symbol handling.
2314 Correct ifdef guard name
2317 * inotify/Makefile.am:
2318 * xdgmime/Makefile.am:
2319 Include toplevel Makefile.decl
2321 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2323 * gcontenttype.c: Move doc comments to the unix section.
2325 * *.[hc]: More trivial doc corrections.
2327 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2329 * gpollfilemonitor.c:
2333 * gdesktopappinfo.c:
2338 * gdatainputstream.c:
2339 * gdatainputstream.h:
2340 * gdataoutputstream.c:
2341 * gdataoutputstream.h:
2342 * gfileinfo.h: Doc cleanups
2344 2007-11-28 Andre Klapper <a9016009@gmx.de>
2346 * gdesktopappinfo.c: Fix a typo.
2348 2007-11-27 Andre Klapper <a9016009@gmx.de>
2350 * glocalfileoutputstream.c: Fix a typo.
2352 2007-11-27 Alexander Larsson <alexl@redhat.com>
2355 Don't include removed headers
2357 2007-11-27 Alexander Larsson <alexl@redhat.com>
2360 * gsocketinputstream.[ch]: Removed.
2361 * gsocketoutputstream.[ch]: Removed.
2362 * gunixinputstream.[ch]: Added.
2363 * gunixoutputstream.[ch]: Added.
2364 Renamed GSocket*Stream to GUnix*Stream and made
2365 it unix-only, since its not really only for sockets
2366 and it only works on unix (but is highly useful there).
2368 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2374 * gbufferedinputstream.c:
2375 * gbufferedinputstream.h:
2376 * gbufferedoutputstream.c:
2377 * gbufferedoutputstream.h:
2381 * gdatainputstream.c:
2382 * gdatainputstream.h:
2383 * gdataoutputstream.c:
2384 * gdataoutputstream.h:
2385 * gdirectorymonitor.c:
2386 * gdirectorymonitor.h:
2393 * gfileenumerator.c:
2394 * gfileenumerator.h:
2399 * gfileinputstream.c:
2400 * gfileinputstream.h:
2403 * gfilenamecompleter.c:
2404 * gfilenamecompleter.h:
2405 * gfileoutputstream.c:
2406 * gfileoutputstream.h:
2407 * gfilterinputstream.c:
2408 * gfilterinputstream.h:
2409 * gfilteroutputstream.c:
2410 * gfilteroutputstream.h:
2423 * glocalfileoutputstream.c:
2424 * gmemoryinputstream.c:
2425 * gmemoryinputstream.h:
2426 * gmemoryoutputstream.c:
2427 * gmemoryoutputstream.h:
2428 * gmountoperation.c:
2429 * gmountoperation.h:
2432 * gpollfilemonitor.c:
2435 * gsimpleasyncresult.c:
2436 * gsimpleasyncresult.h:
2437 * gsocketinputstream.c:
2438 * gsocketinputstream.h:
2439 * gsocketoutputstream.c:
2440 * gsocketoutputstream.h:
2447 * gunixvolumemonitor.c:
2456 Bumps documentation to 93% symbol coverage, touching most
2457 of the public files. Fixes broken function documentation prototypes.
2458 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2459 gtk-doc headers in private files.
2461 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
2463 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2464 (g_buffered_input_stream_read_byte):
2465 * gbufferedinputstream.h:
2466 New functions for efficient access to buffer and simple single byte
2469 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2470 (g_data_input_stream_read_until):
2471 * gdatainputstream.h:
2472 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2473 read_until with multiple stop chars.
2475 2007-11-27 Alexander Larsson <alexl@redhat.com>
2479 * inotify/Makefile.am:
2480 Use the user-specified giomoduledir
2482 2007-11-27 Alexander Larsson <alexl@redhat.com>
2486 Add catch-all gio.h header
2487 Don't install gdummyfile.h
2489 2007-11-26 Alexander Larsson <alexl@redhat.com>
2491 * Makefile.am (gioinclude_HEADERS):
2492 Remove trailing whitespace
2494 2007-11-26 Alexander Larsson <alexl@redhat.com>
2496 Merge gio-standalone into glib
2498 2007-11-25 Christian Kellner <gicmo@gnome.org>
2500 * gio/goutputstream.c:
2501 Fix small mistake in the docs.
2503 2007-11-21 Christian Persch <chpe@gnome.org>
2505 * gio/glocalfile.c: (g_local_file_trash):
2506 Convert filenames to UTF-8 for GError.
2507 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2508 as per xdg base dir spec.
2510 2007-11-21 Christian Persch <chpe@gnome.org>
2512 * gio/gdesktopappinfo.c:
2513 Use that g_key_file_to_data cannot fail.
2515 Use stock defines for the key file group and key names.
2518 2007-11-21 Alexander Larsson <alexl@redhat.com>
2521 (copy_stream_with_progress):
2522 Make sure we do a final progress callback with
2523 the full total size.
2525 2007-11-21 Alexander Larsson <alexl@redhat.com>
2528 Export g_file_copy_attributes
2529 Remove padding as its not needed for interfaces
2531 2007-11-20 Alexander Larsson <alexl@redhat.com>
2536 Add G_IO_ERROR_WOULD_MERGE for
2537 copy/move dir on dir with overwrite.
2539 2007-11-20 Alexander Larsson <alexl@redhat.com>
2542 * gio/glocalfileinfo.c:
2543 Add COPY_NAME (this is an optional
2544 non-modified utf8 version of the name) that
2547 2007-11-20 Alexander Larsson <alexl@redhat.com>
2549 * gio/glocalfileenumerator.c:
2550 Report errors as GIOError, not GFileError
2552 2007-11-16 Alexander Larsson <alexl@redhat.com>
2554 * gio/glocalfileoutputstream.c:
2555 * gio/gwin32appinfo.c:
2556 Fix typos in strings.
2557 Patch from Luca Ferretti <elle.uca@libero.it>
2559 2007-11-15 Alexander Larsson <alexl@redhat.com>
2562 Post release version bump
2564 === gio-standalone 0.1.2 ===
2566 2007-11-15 Alexander Larsson <alexl@redhat.com>
2568 * docs/reference/gio/Makefile.am:
2569 Fix up distcheck by removing weird
2575 2007-11-14 Alexander Larsson <alexl@redhat.com>
2577 * gio/gdesktopappinfo.c:
2578 * gio/glocaldirectorymonitor.c:
2580 * gio/glocalfileinfo.c:
2581 * gio/inotify/inotify-sub.c:
2582 * programs/gio-cat.c:
2583 * programs/gio-copy.c:
2584 * programs/gio-info.c:
2585 * programs/gio-ls.c:
2586 * programs/gio-monitor-dir.c:
2587 * programs/gio-monitor-file.c:
2588 * programs/gio-mount.c:
2589 * programs/gio-move.c:
2590 * programs/gio-rm.c:
2591 * programs/gio-save.c:
2592 * programs/gio-trash.c:
2593 Leak fixes from Kjartan Maraas
2595 2007-11-14 Alexander Larsson <alexl@redhat.com>
2597 * gio/fam/fam-helper.c:
2599 * gio/glocalfileinfo.c:
2603 * gio/inotify/inotify-diag.c:
2604 * gio/inotify/inotify-kernel.c:
2605 Various code cleanups from Kjartan Maraas
2607 2007-11-14 Alexander Larsson <alexl@redhat.com>
2609 * gio/gioscheduler.c:
2611 Set up threadpool so that we cache 2 unused
2612 idle threads for at 15 secs. This means we
2613 will reuse thread-local data (like dbus connections)
2616 2007-11-14 Alexander Larsson <alexl@redhat.com>
2618 * gio/fam/fam-helper.c:
2619 * gio/fam/gfamdirectorymonitor.c:
2620 * gio/fam/gfamfilemonitor.c:
2622 * gio/gcontenttype.c:
2623 * gio/gdatainputstream.c:
2624 * gio/gdataoutputstream.c:
2628 * gio/gfileattribute.h:
2629 * gio/gfileenumerator.c:
2631 * gio/ginputstream.c:
2634 * gio/glocalfileinfo.c:
2635 * gio/goutputstream.c:
2636 * gio/gpollfilemonitor.c:
2637 * gio/gsimpleasyncresult.c:
2638 * gio/gunixmounts.c:
2639 * gio/gunixmounts.h:
2640 * gio/inotify/ginotifydirectorymonitor.c:
2641 * gio/inotify/ginotifyfilemonitor.c:
2642 * gio/inotify/inotify-diag.c:
2643 * gio/inotify/inotify-kernel.c:
2644 * gio/inotify/inotify-path.c:
2646 * gio/test-streams.c:
2647 * programs/gio-info.c:
2648 * programs/gio-monitor-dir.c:
2649 * programs/gio-monitor-file.c:
2650 Various code cleanups from Kjartan Maraas
2652 2007-11-13 Alexander Larsson <alexl@redhat.com>
2655 Handle the uri-scheme calls for dummy files
2657 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2659 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2660 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2661 to avoid clash with the C++ keyword.
2663 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2665 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2666 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2668 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2670 * gio/glocaldirectorymonitor.c:
2671 * gio/glocalfilemonitor.c:
2672 * gio/gunionvolumemonitor.c:
2673 Don't use g_once_init_*() for initializations that could fail and
2674 could leave the initialization variable set to 0 but use GOnce.
2675 This prevents a deadlock on the second call when trying to create
2676 a monitor and no monitor type is available. Thanks to Sven Herzberg
2679 2007-11-11 Sven Herzberg <sven@imendio.com>
2681 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2682 #ifdef (make it work on MacOS X again)
2684 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2686 Fixes Changelog for last two commits (sorry guys).
2688 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2690 * gio/gbufferedinputstream.c:
2691 * gio/gdatainputstream.c:
2693 * gio/gfileoutputstream.c:
2694 * gio/gfilterinputstream.c:
2695 * gio/glocalfileinputstream.c:
2698 More consistency fixes in g*stream.c files.
2699 Significant clean of gfile's documentation, filling in of
2700 asynchronous operations documentation.
2702 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2704 * gio/gasyncresult.c:
2705 * gio/gbufferedinputstream.c:
2706 * gio/gbufferedoutputstream.c:
2707 * gio/gcancellable.c:
2708 * gio/gcontenttype.c:
2709 * gio/gdatainputstream.c:
2710 * gio/gdataoutputstream.c:
2711 * gio/gdesktopappinfo.c:
2714 * gio/gfileattribute.c:
2715 * gio/gio/gfileenumerator.c:
2717 * gio/gfileinputstream.c:
2718 * gio/gfilemonitor.c:
2719 * gio/gfileoutputstream.c:
2720 * gio/ginputstream.c:
2722 * gio/gioscheduler.c:
2723 * gio/gloadableicon.c:
2724 * gio/glocalfileoutputstream.c:
2725 * gio/gmemoryoutputstream.c:
2726 * gio/gmountoperation.c:
2727 * gio/goutputstream.c:
2729 * gio/gsimpleasyncresult.c:
2730 * gio/gunionvolumemonitor.c:
2731 * gio/gunixmounts.c:
2732 * gio/gunixvolume.c:
2736 * gio/gvolumemonitor.c:
2737 Updated documentation stubs, working towards consistency and
2740 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2742 * gio/gmemoryoutputstream.c:
2743 * gio/gmemoryoutputstream.h:
2744 Change g_memory_output_stream_set_free_on_close() to
2745 g_memory_output_stream_set_free_data() as this makes more sense and
2746 is more consistent with GMemoryInputStream.
2748 2007-11-07 Alexander Larsson <alexl@redhat.com>
2755 Change how we find the default vfs so that
2756 we can handle a gvfs failing to init
2758 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2760 * gio/gbufferedoutputstream.c:
2761 * gio/gdatainputstream.c:
2762 * gio/gdataoutputstream.c:
2763 * gio/gfileinputstream.c:
2764 * gio/gfileoutputstream.c:
2765 * gio/gfilterinputstream.c:
2766 * gio/gfilteroutputstream.c:
2767 * gio/ginputstream.c:
2768 * gio/gmemoryinputstream.c:
2769 * gio/gmemoryoutputstream.c:
2770 * gio/goutputstream.c:
2771 * gio/gsimpleasyncresult.c:
2772 * gio/gsocketinputstream.c:
2773 * gio/gsocketoutputstream.c:
2774 Add guards to the remaining public functions, add a TODO for
2775 an unimplemented function and remove some useless guards.
2777 2007-11-07 Alexander Larsson <alexl@redhat.com>
2780 Autoconf checks for the various types of
2781 getpwuid_r and getgrgid_r
2783 * gio/glocalfileinfo.c:
2784 Use the autoconf checks from above
2786 2007-11-07 Alexander Larsson <alexl@redhat.com>
2789 (g_local_file_query_filesystem_info):
2790 Some fixes for the statvfs case
2792 2007-11-07 Alexander Larsson <alexl@redhat.com>
2795 (g_local_file_query_filesystem_info):
2796 Pick the "best" of statfs / statvfs for the system
2797 if both are availible.
2799 2007-11-07 Alexander Larsson <alexl@redhat.com>
2801 Solaris fixes from Halton.Huo@Sun.COM:
2808 * gio/glocalfileinfo.c:
2809 Fix for solaris definition of getpwuid_r
2811 * gio/test-streams.c:
2812 Use G_GNUC_PRETTY_FUNCTION
2814 2007-11-07 Alexander Larsson <alexl@redhat.com>
2816 * gio/gdesktopappinfo.c:
2817 (update_default_list):
2818 Remove double semicolon.
2819 Patch from Jens Granseuer
2821 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2823 * docs/reference/gio/gio-sections.txt:
2824 * gio/gbufferedinputstream.c:
2825 * gio/gbufferedinputstream.h:
2826 * gio/gdatainputstream.c:
2827 * gio/gfileenumerator.c:
2828 * gio/gioscheduler.c:
2829 * gio/gunionvolumemonitor.c:
2831 * programs/gio-save.c:
2832 Fix typo: availible -> available. Unfortuntely this breaks API
2833 and ABI as g_buffered_input_stream_get_available() was renamed.
2835 * gio/gunixmounts.c:
2836 * gio/gbufferedinputstream.c:
2837 Add guards for public functions.
2839 2007-11-06 Ross Burton <ross@openedhand.com>
2841 * docs/reference/gio/Makefile.am:
2842 Fix invalid += usage which automake 1.10 doesn't like.
2844 2007-11-06 Alexander Larsson <alexl@redhat.com>
2847 (g_app_launch_context_class_init):
2850 Patch from Ross Burton
2852 2007-11-06 Alexander Larsson <alexl@redhat.com>
2855 Post release version bump
2857 === gio-standalone 0.1.1 ===
2859 2007-11-06 Alexander Larsson <alexl@redhat.com>
2862 Bump version to 0.1.1
2864 * gio/gsimpleasyncresult.c:
2865 (g_simple_async_result_set_from_error):
2866 Remove bogus g_return_if_fail
2868 2007-11-06 Alexander Larsson <alexl@redhat.com>
2871 The name is gio-standalone
2874 Add top src/builddir to includedir
2876 2007-11-06 Alexander Larsson <alexl@redhat.com>
2878 * docs/reference/gio/gio-sections.txt:
2880 * gio/gbufferedinputstream.c:
2881 * gio/gbufferedoutputstream.c:
2882 * gio/gcancellable.c:
2883 * gio/gdatainputstream.h:
2884 * gio/gdataoutputstream.c:
2885 * gio/gdataoutputstream.h:
2886 * gio/gdirectorymonitor.c:
2888 * gio/gfileattribute.c:
2889 * gio/gfileattribute.h:
2890 * gio/gfileenumerator.c:
2891 * gio/gfileenumerator.h:
2894 * gio/gfileinputstream.h:
2895 * gio/gfilemonitor.c:
2896 * gio/gfileoutputstream.h:
2897 * gio/glocalfilemonitor.h:
2898 * gio/glocalfileoutputstream.h:
2899 * gio/gmemoryinputstream.c:
2900 * gio/gmemoryoutputstream.c:
2901 * gio/gmountoperation.c:
2902 * gio/goutputstream.c:
2903 * gio/goutputstream.h:
2905 * gio/gsimpleasyncresult.c:
2906 * gio/gunixmounts.c:
2907 * gio/gunixmounts.h:
2909 * gio/inotify/inotify-helper.c:
2910 Fix gtk-doc warnings
2912 Patch from Ross Burton
2914 2007-11-06 Alexander Larsson <alexl@redhat.com>
2916 * gio/gfilenamecompleter.c:
2917 (g_filename_completer_get_completions):
2920 * gio/gunixvolume.c:
2921 Remove unused function
2923 Patches from Ross Burton
2925 2007-11-06 Alexander Larsson <alexl@redhat.com>
2930 Padding not needed for interfaces
2932 2007-11-06 Alexander Larsson <alexl@redhat.com>
2934 * gio/gfilemonitor.c:
2938 Make giotypes.h an internal file
2941 * gio/gbufferedinputstream.h:
2942 * gio/gbufferedoutputstream.h:
2943 * gio/gcancellable.h:
2944 * gio/gdatainputstream.h:
2945 * gio/gdataoutputstream.h:
2946 * gio/gdirectorymonitor.c:
2947 * gio/gdirectorymonitor.h:
2952 * gio/gfileattribute.h:
2953 * gio/gfileenumerator.h:
2958 * gio/gfilemonitor.c:
2959 * gio/gfilemonitor.h:
2960 * gio/gfilenamecompleter.c:
2961 * gio/gfilenamecompleter.h:
2962 * gio/gfilterinputstream.h:
2963 * gio/gfilteroutputstream.h:
2964 * gio/ginputstream.h:
2965 * gio/gmemoryinputstream.h:
2966 * gio/gmemoryoutputstream.h:
2967 * gio/gmountoperation.c:
2968 * gio/gmountoperation.h:
2969 * gio/gnativevolumemonitor.c:
2970 * gio/goutputstream.h:
2973 * gio/gsimpleasyncresult.c:
2974 * gio/gsimpleasyncresult.h:
2975 * gio/gsocketinputstream.h:
2976 * gio/gsocketoutputstream.h:
2977 * gio/gthemedicon.c:
2978 * gio/gthemedicon.h:
2982 * gio/gvolumemonitor.c:
2983 * gio/gvolumemonitor.h:
2984 Add padding in classes where it seems useful
2985 Don't include giotypes.h from public headers
2986 Move in Class definitions into c file where possible
2991 2007-11-06 Alexander Larsson <alexl@redhat.com>
2993 * docs/reference/gio/gio-docs.xml:
2994 Better structure for API docs
2996 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2999 * gio/gloadableicon.c:
3000 * gio/gsimpleasyncresult.c:
3001 * gio/gthemedicon.c:
3002 Add some more guards to public functions. Only files missing are now
3005 2007-11-06 Alexander Larsson <alexl@redhat.com>
3007 * docs/reference/gio/gio-docs.xml:
3008 Remove old files, add missing ones
3010 2007-11-06 Alexander Larsson <alexl@redhat.com>
3012 * docs/reference/gio/gio-sections.txt:
3015 Hide implementation classes
3017 * gio/gdriveprivate.h:
3018 * gio/gvolumeprivate.h:
3019 Remove non-existing function declarations
3021 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3024 Fix compilation warnings and add guards to the new functions.
3026 * gio/gasyncresult.c:
3028 Add guards to the public functions.
3031 Implement get_path().
3033 2007-11-06 Alexander Larsson <alexl@redhat.com>
3035 * gio/gfilenamecompleter.c:
3036 Make g_filename_completer_get_completions
3037 return char ** instead of GList for
3040 * docs/reference/gio/gio-docs.xml:
3041 * docs/reference/gio/gio-sections.txt:
3043 * gio/gasyncresult.c:
3044 * gio/gbufferedinputstream.c:
3045 * gio/gbufferedoutputstream.c:
3046 * gio/gcancellable.c:
3047 * gio/gcontenttype.c:
3048 * gio/gdatainputstream.c:
3049 * gio/gdataoutputstream.c:
3050 * gio/gdesktopappinfo.c:
3051 * gio/gdirectorymonitor.c:
3055 * gio/gfileattribute.c:
3056 * gio/gfileenumerator.c:
3059 * gio/gfileinputstream.c:
3060 * gio/gfilemonitor.c:
3061 * gio/gfilenamecompleter.c:
3062 * gio/gfilenamecompleter.h:
3063 * gio/gfileoutputstream.c:
3064 * gio/gfilterinputstream.c:
3066 * gio/ginputstream.c:
3068 * gio/gioscheduler.c:
3069 * gio/gloadableicon.c:
3070 * gio/glocaldirectorymonitor.c:
3072 * gio/glocalfileinputstream.c:
3073 * gio/glocalfilemonitor.c:
3074 * gio/glocalfileoutputstream.c:
3076 * gio/gmemoryinputstream.c:
3077 * gio/gmemoryoutputstream.c:
3078 * gio/gmountoperation.c:
3079 * gio/goutputstream.c:
3080 * gio/gpollfilemonitor.c:
3082 * gio/gsimpleasyncresult.c:
3083 * gio/gsocketinputstream.c:
3084 * gio/gsocketoutputstream.c:
3085 * gio/gthemedicon.c:
3086 * gio/gunionvolumemonitor.c:
3088 * gio/gunixmounts.c:
3089 * gio/gunixvolume.c:
3090 * gio/gunixvolumemonitor.c:
3094 * gio/gvolumemonitor.c:
3095 * gio/gwin32appinfo.c:
3096 Add (mostly stub) doc strings to public functions.
3097 Patch from Andrew Walton (awalton@gmail.com)
3099 2007-11-06 Alexander Larsson <alexl@redhat.com>
3101 * gio/gappinfo.[ch]:
3102 Added GAppLaunchContext object and pass that to launch.
3103 This allows simple implementation of both
3104 launch-on-screen and startup notification via a gtk+
3105 subclass of GAppLaunchContext
3107 * gio/gdesktopappinfo.c:
3108 Implement GAppLaunchContext API
3110 * gio/gwin32appinfo.c:
3113 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3115 * gio/gmountoperation.c:
3116 Add some guards to GMountOperation's public functions.
3118 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3122 * gio/gcancellable.c:
3123 * gio/gdirectorymonitor.c:
3125 * gio/gfileenumerator.c:
3126 * gio/gfilemonitor.c:,
3127 * gio/gfilenamecompleter.c:
3130 * gio/gioscheduler.c:
3134 * gio/gvolumemonitor.c:
3135 Add even more guards to various public functions.
3137 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3140 Add guards to the public functions of GAppInfo.
3142 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3144 * gio/gcontenttype.c:
3145 Add some more guards for public functions.
3147 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3149 * gio/fam/fam-module.c:
3150 * gio/fam/gfamdirectorymonitor.c:
3151 * gio/fam/gfamdirectorymonitor.h:
3152 * gio/fam/gfamfilemonitor.c:
3153 * gio/fam/gfamfilemonitor.h:
3154 * gio/inotify/ginotifydirectorymonitor.c:
3155 * gio/inotify/ginotifydirectorymonitor.h:
3156 * gio/inotify/ginotifyfilemonitor.c:
3157 * gio/inotify/ginotifyfilemonitor.h:
3158 Add proper copyright information and remove an unused variable
3159 in the GInotifyFileMonitor constructor.
3161 * gio/gcancellable.c:
3162 Add a guard for a public function and an assertion to prevent
3163 an undefined program state.
3165 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3167 * gio/gfileattribute.c:
3168 Don't run into an assertion if the given attribute value is NULL
3169 in g_file_attribute_value_get_*() but instead return a fallback
3170 value that makes sense in most situations. Passing them a attribute
3171 value with the wrong type will still run into an assertion.
3173 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3175 * gio/gfileattribute.c:
3177 Add even more guards to the public functions. Also fix the refcounting
3178 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3179 let g_file_info_list_attributes() filter the attributes by namespace
3180 instead of simply ignoring the namespace parameter.
3182 2007-11-03 Sven Herzberg <sven@imendio.com>
3184 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3185 (This makes gio work on MacOS X again)
3187 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3190 Build the gio subdirectory before the docs. Otherwise the build will
3193 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3194 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3195 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3196 Add guards to the public functions.
3198 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3200 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3201 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3202 to prevent a compiler warning.
3204 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3205 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3206 return something in the non-void function find_topdir_for().
3208 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3215 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3217 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3218 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3219 * gwin32appinfo.c (g_win32_app_info_launch):
3220 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3221 envp_for_startup_id, g_desktop_app_info_launch,
3222 g_desktop_app_info_launch_uris):
3224 Give an opaque 'startup_id' string instead of 'envp'.
3225 Support empty file lists for launching new windows.
3226 Fix infinite recursion bug when launching URIs.
3228 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3231 Add guard to the new g_file_get_uri_scheme() function.
3233 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3236 Convert a g_return_val_if_fail() to setting the GError instead as
3237 otherwise applications have to verify the parameter before otherwise
3238 and the parameter might come directly from the user.
3240 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3242 * gio/inotify/ginotify*.[ch]:
3243 Add missing copyright information.
3245 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3248 Add guards in the beginning of public functions to check for valid
3249 parameters and fix a bug in copy_stream_with_progress() that could've
3250 caused writing less bytes than reading.
3251 * gio/glocalfileinfo.c:
3252 Check for a NULL parameter and set the GError accordingly then.
3253 * gio/goutputstream.c:
3254 Fix the same bug as in gfile.c that could've caused writing less bytes
3255 than reading in g_output_stream_real_splice().
3257 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3260 Use the correct gvolumeprivate.h naming
3262 2007-11-01 Christian Kellner <gicmo@gnome.org>
3265 Remove leftover "$(daemon_sources)" entry.
3267 2007-11-01 Christian Kellner <gicmo@gnome.org>
3272 Add copyright information to source files.
3274 2007-11-01 Alexander Larsson <alexl@redhat.com>
3278 Add g_file_get_uri_scheme
3280 2007-11-01 Alexander Larsson <alexl@redhat.com>
3283 * gio/gdesktopappinfo.c:
3284 * gio/gwin32appinfo.c:
3285 Add g_app_info_get_default_for_uri_scheme.
3287 2007-11-01 Alexander Larsson <alexl@redhat.com>
3290 Correct filename for gdriveprivate.h
3292 2007-10-31 Alexander Larsson <alexl@redhat.com>
3295 Rename id:value to id:file
3298 * gio/glocalfileinfo.c:
3301 2007-10-31 Alexander Larsson <alexl@redhat.com>
3303 * gio/gunixvolume.c:
3305 Remove g_volume_get_platform_id, as thats not
3306 needed with the simpler union volume monitor
3308 2007-10-31 Alexander Larsson <alexl@redhat.com>
3311 * gio/guniondrive.[ch]: Removed.
3312 * gio/gunionvolume.[ch]: Removed.
3313 Remove GUnionDrive/Volume
3315 * gio/gunionvolumemonitor.c:
3316 Simplify union volume monitor, now we
3317 only have one native volume monitor and
3318 we use the actual volumes/drives from the
3319 child monitors instead of wrapping them
3321 * gio/gnativevolumemonitor.[ch]:
3322 Base class for native volume monitors.
3323 Includes priority and get_volume_for_mountpoint
3326 Add g_file_find_enclosing_volume
3329 Remove volume name fs attribute
3330 Add readonly fs attribute
3333 Implement readonly attribute
3334 remove volume name attribute
3335 Implement find_enclosing volume
3337 * gio/gunixmounts.c:
3338 Add a volume for "/".
3340 * gio/gunixvolume.[ch]:
3341 Set better name for /
3343 * gio/gunixvolumemonitor.[ch]:
3344 Derive from GNativeVolumeMonitor
3345 Implement get_volume_for_mountpoint
3348 GVolume typedef moved to gfile.h
3350 * gio/gvolumeprivate.h:
3351 Add g_volume_get_for_mount_path
3353 2007-10-31 Alexander Larsson <alexl@redhat.com>
3355 * gio/gunixmounts.[ch]:
3356 Add cache info to unix mount listers
3357 Make getmntent use threadsafe
3358 Add is_system_internal attribute for GUnixMount
3360 * gio/gunixvolume.c:
3361 (g_unix_volume_new):
3362 Use is_system_internal instead of own code
3364 * gio/glocaldirectorymonitor.c:
3365 * gio/gunixvolumemonitor.c:
3366 Update to new gunixmounts API
3371 2007-10-30 Alexander Larsson <alexl@redhat.com>
3374 Add volume name fsinfo attribute
3377 Read volume name info
3379 * gio/gunionvolumemonitor.c:
3380 Fix infinite loops when finalizing a union volume monitor
3382 2007-10-30 Alexander Larsson <alexl@redhat.com>
3384 * gio/goutputstream.[ch]:
3385 Add splice() with default implementation
3387 * gio/gsocketoutputstream.c:
3388 (g_socket_output_stream_write):
3389 Return error on cancellation correctly.
3391 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3393 * gio/glocalfile.c (g_local_file_trash):
3394 Do not leak a string.
3396 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3398 * gio/gfile.c (g_file_load_contents):
3399 Unref the stream after closing it.
3401 2007-10-25 Alexander Larsson <alexl@redhat.com>
3403 * gio/gioscheduler.h:
3406 2007-10-25 Alexander Larsson <alexl@redhat.com>
3410 Add g_file_has_uri_scheme and implement for local files
3412 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3414 * gio/gdesktopappinfo.c: do not leak a string.
3416 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3418 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3419 (g_local_directory_monitor_new):
3420 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3421 (g_local_file_monitor_new):
3422 Only look for the monitor type that should be used the first time
3423 and use g_qsort_with_data() instead of our own bubble sort
3426 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3429 * gio/fam/Makefile.am:
3430 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3431 * gio/fam/fam-helper.h:
3432 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3433 * gio/fam/gfamdirectorymonitor.c:
3434 * gio/fam/gfamdirectorymonitor.h:
3435 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3436 * gio/fam/gfamfilemonitor.h:
3437 * gio/glocaldirectorymonitor.c:
3438 * gio/glocaldirectorymonitor.h:
3439 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3440 * gio/glocalfilemonitor.h:
3441 * gio/inotify/Makefile.am:
3442 * gio/inotify/ginotifydirectorymonitor.c:
3443 * gio/inotify/ginotifydirectorymonitor.h:
3444 * gio/inotify/ginotifyfilemonitor.c:
3445 * gio/inotify/ginotifyfilemonitor.h:
3446 Implement the FAM and Inotify monitors as
3447 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3448 their own GIO module. GLocal(Directory|File)Monitor will use the
3449 monitor with the highest rank that is supported on that machine.
3451 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3454 Change GIO module dir to $(libdir)/gio/modules and change
3455 the log domain from GVFS to GIO. Also only export symbols starting
3456 with g_ in the resulting library.
3457 * gio/test-streams.c: (main):
3458 Set log handler for the GIO log domain.
3460 2007-10-22 Alexander Larsson <alexl@redhat.com>
3462 * gio/gfilenamecompleter.[ch]:
3463 Add g_filename_completer_set_dirs_only
3465 2007-10-22 Alexander Larsson <alexl@redhat.com>
3468 * gio/gurifuncs.[ch]:
3469 Add some simple URI helpers
3471 * gio/gfilenamecompleter.[ch]:
3472 Added object for filename (parse name actually) completion
3475 Handle ~ in parse names
3477 2007-10-17 Alexander Larsson <alexl@redhat.com>
3480 * gio/glocalfileinfo.c:
3481 Add and implement id:value attribute
3483 2007-10-17 Alexander Larsson <alexl@redhat.com>
3486 * gio/guniondrive.c:
3488 Add and implement g_drive_has_volumes
3490 2007-10-17 Alexander Larsson <alexl@redhat.com>
3493 * gio/glocalfileinfo.[ch]:
3494 Add unix:is_mountpoint and implement for local files
3496 2007-10-16 Alexander Larsson <alexl@redhat.com>
3498 * gio/gunionvolumemonitor.c:
3499 (g_union_volume_monitor_init):
3500 Fix up the unix type getting so that it works with gcc
3502 2007-10-12 Alexander Larsson <alexl@redhat.com>
3505 * gio/glocalfileinfo.c:
3506 Add thumbnail:failed to file info
3508 2007-10-12 Richard Hult <richard@imendio.com>
3510 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3511 optimizing away the get_type call (happens with some gcc versions,
3512 like the one shipped with OS X 10.4).
3514 2007-10-12 Alexander Larsson <alexl@redhat.com>
3516 * gio/glocalfileinfo.c:
3517 (_g_local_file_info_set_attribute):
3518 Fix build if not HAVE_XATTR
3519 Patch from Milosz Derezynski <internalerror@gmail.com>
3521 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3523 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3524 around for review, otherwise I would have asked you before
3527 2007-10-11 Alexander Larsson <alexl@redhat.com>
3530 Add thumbnail:path attribute
3532 * gio/glocalfileinfo.c:
3533 Implement thumbnail:path for local files
3535 2007-10-11 Alexander Larsson <alexl@redhat.com>
3537 * gio/glocalfileinfo.c:
3538 (_g_local_file_info_get):
3539 Avoid duplicate icon names
3541 2007-10-11 Alexander Larsson <alexl@redhat.com>
3543 * gio/gthemedicon.[ch]:
3544 Change g_themed_icon_get_names return type to const
3546 2007-10-10 Alexander Larsson <alexl@redhat.com>
3548 * gio/glocalfileinfo.c:
3549 Don't reference freed memory
3551 2007-10-10 Alexander Larsson <alexl@redhat.com>
3553 * gio/gfileattribute.c:
3556 * gio/glocalfileinfo.c:
3559 2007-10-10 Alexander Larsson <alexl@redhat.com>
3562 Check for NULL icons
3564 * gio/gfileattribute.c:
3565 Don't dup when getting objects (same as for string attributes)
3567 * gio/gicon.c (g_icon_equal):
3568 Safely handle NULLs in equal
3570 2007-10-10 Alexander Larsson <alexl@redhat.com>
3573 Fix c++ compilation issues
3574 Patch from Milosz Derezynski <internalerror@gmail.com>
3576 2007-10-10 Alexander Larsson <alexl@redhat.com>
3578 * programs/gio-monitor-dir.c:
3579 Don't crash if dir monitor not supported.
3581 2007-10-09 Alexander Larsson <alexl@redhat.com>
3584 Add missing G_END_DECLS
3586 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3588 * gio/gfile.c: (g_file_set_display_name),
3589 (g_file_query_settable_attributes),
3590 (g_file_query_writable_namespaces):
3591 Return NULL not FALSE on errors as the return type is a pointer.
3593 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3595 * gio/glocalfile.c: (g_local_file_monitor_file):
3596 Don't call monitor_file on the default interface vtable (which
3597 is NULL) but simply return NULL. The caller, GFile, will create a
3598 polling monitor if NULL is returned.
3600 2007-10-09 Alexander Larsson <alexl@redhat.com>
3604 * gio-unix-2.0.pc.in:
3605 Add gio-unix-2.0.pc if OS_UNIX
3608 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3610 2007-10-09 Alexander Larsson <alexl@redhat.com>
3612 * gio/gunixmounts.[ch]:
3613 Make unix mount monitoring API sane.
3614 Now its just a object with mounts_changed
3615 and mountpoints_changed signals.
3617 * gio/glocaldirectorymonitor.c:
3618 * gio/gunixvolumemonitor.c:
3619 Use new mount monitor api
3621 2007-10-09 Alexander Larsson <alexl@redhat.com>
3623 * gio/gunixmounts.[ch]:
3624 Move guess type into one call for mounts and one for mountpoints
3627 * gio/gunixvolume.c:
3630 2007-10-09 Alexander Larsson <alexl@redhat.com>
3632 * gio/gunixmounts.[ch]:
3633 Remove _ prefix in preparation to make this semi-public
3634 Hide implementation of structs
3636 * gio/glocaldirectorymonitor.c:
3638 * gio/gunixvolume.c:
3639 * gio/gunixvolumemonitor.c:
3640 Update for above API changes
3642 2007-10-08 Alexander Larsson <alexl@redhat.com>
3645 Better polling fallback. This also handles the case where we have
3646 a monitor_file implementation, but it fails.
3648 2007-10-08 Alexander Larsson <alexl@redhat.com>
3652 * gio/gunixmounts.c:
3653 * programs/gio-monitor-dir.c:
3654 * programs/gio-monitor-file.c:
3655 Added cancellable to file monitoring calls.
3656 These are really sync calls and need this.
3658 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3660 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3661 (g_local_vfs_class_init):
3662 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3663 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3665 2007-10-05 Alexander Larsson <alexl@redhat.com>
3667 * gio/gdirectorymonitorprivate.h:
3668 * gio/gfilemonitorprivate.h:
3669 * gio/gdirectorymonitor.h:
3670 * gio/gfilemonitor.h:
3671 Remove *private.h and move to the public API, so that
3672 we can do implementations outside gio (such as in gvfs)
3674 * gio/gdirectorymonitor.c:
3675 * gio/gfilemonitor.c:
3676 * gio/glocaldirectorymonitor.c:
3677 * gio/gpollfilemonitor.c:
3678 * gio/inotify/inotify-helper.c:
3679 * gio/fam/fam-helper.c:
3680 Update to the new header names
3682 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3684 * gio/gdirectorymonitor.c:
3685 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3688 2007-10-04 Alexander Larsson <alexl@redhat.com>
3690 * gio/glocalfileinfo.c (get_access_rights):
3691 Set CAN_TRASH when we can move the file.
3692 We should really also check for a parent trash dir.
3694 2007-10-04 Alexander Larsson <alexl@redhat.com>
3696 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3697 Add can_trash access attribute
3699 2007-10-04 Alexander Larsson <alexl@redhat.com>
3702 (g_local_file_trash):
3703 Create info file first. This is per-spec and allows
3704 us to actually trash directories.
3706 2007-10-02 Alexander Larsson <alexl@redhat.com>
3708 * gio/gdesktopappinfo.c:
3709 Implement the new mime support code.
3710 Always set app as handling mimetype when being set as default for it
3712 2007-10-01 Alexander Larsson <alexl@redhat.com>
3714 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3715 Fix up check for xattrs:
3717 2007-10-01 Alexander Larsson <alexl@redhat.com>
3720 (g_app_info_set_as_default_for_extension):
3721 (g_app_info_add_supports_type):
3722 (g_app_info_can_remove_supports_type):
3723 (g_app_info_remove_supports_type):
3724 Make these fail nicely if not implemented
3726 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3728 * gio/glocalfileoutputstream.c:
3729 * gio/glocalfileoutputstream.h:
3734 * programs/gio-save.c:
3735 Add a GFileCreateFlags argument to operations that can create
3738 2007-10-01 Alexander Larsson <alexl@redhat.com>
3740 * gio/gappinfo.[ch]:
3741 * gio/gdesktopappinfo.c:
3742 Add more (stubbed out) mime API needed for nautilus
3744 2007-10-01 Alexander Larsson <alexl@redhat.com>
3747 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3748 Add g_app_info_set_as_default_for_extension.
3750 * gio/gdesktopappinfo.c:
3751 Dummy for g_app_info_set_as_default_for_extension
3752 Support flags in g_app_info_create_from_commandline
3754 * gio/gwin32appinfo.c:
3756 Update for API changes
3758 * gio/gthemedicon.c:
3759 Properly NULL-terminate list of icon names
3761 2007-09-28 Alexander Larsson <alexl@redhat.com>
3763 * gio/gloadableicon.h:
3764 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3766 2007-09-28 Alexander Larsson <alexl@redhat.com>
3769 Install headers in $includedir/gio-standalone/
3771 * gio-2.0.pc.in: Added.
3772 * gio-standalone.pc.in: Removed.
3775 Renamed pkg-config file to match glib (for future move)
3776 Update to the new include dir
3779 Add more TODO comments
3781 2007-09-28 Alexander Larsson <alexl@redhat.com>
3783 * gio/gdesktopappinfo.[ch]:
3784 Expose new_from_filename
3785 Add getter for is_hidden and handle it better
3787 2007-09-28 Alexander Larsson <alexl@redhat.com>
3789 * gio/gfileinfo.[ch]:
3790 Rename g_file_size_format_for_display to
3791 g_format_file_size_for_display.
3792 Now it doesn't have the g_file prefix, so we
3793 can later move it to glib.
3795 2007-09-28 Alexander Larsson <alexl@redhat.com>
3797 * gio/gappinfo.[ch]:
3798 Add g_app_info_get_id and g_app_info_get_executable.
3799 Make all getters non-reffing
3800 Make g_app_info_launch take GFile arguments.
3801 Add must_support_uris argument to g_app_info_get_default_for_type.
3803 * gio/gwin32appinfo.c:
3804 Update to GAppInfo api changes
3806 * gio/gdesktopappinfo.c:
3807 Update to GAppInfo api changes
3808 Implement supports_xdg_startup_notify
3810 * gio/gfileicon.c (g_file_icon_get_file):
3811 Make getter non-reffing.
3816 2007-09-27 Alexander Larsson <alexl@redhat.com>
3818 * gio/gfileinfo.[ch]:
3819 Add g_file_size_format_for_display helper
3821 2007-09-27 Alexander Larsson <alexl@redhat.com>
3823 * gio/glocalfileinfo.c:
3824 Set UNIX_GID from gid, not from uid
3826 2007-09-27 Alexander Larsson <alexl@redhat.com>
3829 Add g_file_set_attributes_async
3831 2007-09-27 Alexander Larsson <alexl@redhat.com>
3833 * gio/glocalfile.c (g_local_file_set_display_name):
3834 Fix set_display_name to actually rename to the right place.
3835 Use lstat to look for existing files so we don't overwrite
3838 2007-09-26 Alexander Larsson <alexl@redhat.com>
3841 Add g_file_set_display_name_async()
3843 2007-09-26 Alexander Larsson <alexl@redhat.com>
3846 Add load_partial_contents async calls
3849 Make internal function static
3851 2007-09-26 Alexander Larsson <alexl@redhat.com>
3853 * gio/glocalfileinfo.c:
3854 Correctly detect broken symlinks
3856 2007-09-26 Alexander Larsson <alexl@redhat.com>
3858 * gio/gcancellable.c (g_cancellable_cancel):
3859 Allow cancel on NULL cancellable
3861 2007-09-25 Alexander Larsson <alexl@redhat.com>
3863 * gio/gsimpleasyncresult.c:
3864 Don't allocate g_error manually.
3865 Fixes g_slice/g_new mixup crash
3867 2007-09-25 Alexander Larsson <alexl@redhat.com>
3869 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3870 Actually set active_backend.
3871 This means the monitor will be cancelled correctly.
3873 2007-09-25 Alexander Larsson <alexl@redhat.com>
3875 * gio/gdirectorymonitor.c:
3876 Set timeout to NULL when destroying
3878 2007-09-25 Alexander Larsson <alexl@redhat.com>
3881 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3882 that is a better description of the error.
3884 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3886 * gio/gvfs.c: (g_vfs_get_local):
3887 Make the local vfs variable static. The same instance should
3890 2007-09-24 Alexander Larsson <alexl@redhat.com>
3892 * gio/glocalfileinfo.c:
3893 Pass in actual length read into sniffer, not the length
3896 2007-09-21 Alexander Larsson <alexl@redhat.com>
3898 * gio/gfileenumerator.c:
3901 * gio/gfileinputstream.c:
3902 * gio/gfileoutputstream.c:
3903 * gio/ginputstream.c:
3904 * gio/goutputstream.c:
3905 Don't crash if async callbacks are NULL
3907 2007-09-20 Alexander Larsson <alexl@redhat.com>
3910 Add async enumerate_children method and default
3913 2007-09-20 Alexander Larsson <alexl@redhat.com>
3916 Add g_file_contains_file & g_file_get_relative_path, since they
3917 were needed for nautilus.
3918 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3923 Implement new methods
3925 2007-09-17 Alexander Larsson <alexl@redhat.com>
3928 * gio/gfileinputstream.[ch]:
3929 * gio/gfileoutputstream.[ch]:
3931 * gio/glocalfileenumerator.[ch]:
3932 * gio/glocalfileinfo.[ch]:
3933 * gio/glocalfileinputstream.c:
3934 * gio/glocalfileoutputstream.c:
3935 * gio/gpollfilemonitor.c:
3936 * programs/gio-copy.c:
3937 * programs/gio-info.c:
3938 * programs/gio-move.c:
3939 Rename get_file_info to query_info() to make it clearer
3940 that these are not simple getters, but do i/o.
3942 2007-09-17 Alexander Larsson <alexl@redhat.com>
3944 * gio/gdatainputstream.[ch]:
3945 * gio/test-streams.c:
3946 Use _read_XXX instead of _get_XXX for the i/o calls
3949 2007-09-17 Alexander Larsson <alexl@redhat.com>
3952 Added needed stuff to TODO comment
3954 2007-09-17 Alexander Larsson <alexl@redhat.com>
3956 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3957 Don't error out removing the backup copy if it doesn't
3960 2007-09-14 Alexander Larsson <alexl@redhat.com>
3962 * programs/Makefile.am:
3963 * programs/gvfs-*.c:
3965 Renamed apps from gvfs-xxx to gio-xxx.
3967 2007-09-14 Alexander Larsson <alexl@redhat.com>
3970 * gio/gfileoutputstream.[ch]:
3971 * gio/glocalfileoutputstream.c:
3972 * programs/gvfs-save.c:
3973 g_file_output_stream_get_etag doesn't do i/o, so remove
3974 cancellation and error.
3976 2007-09-14 Alexander Larsson <alexl@redhat.com>
3979 Add new_etag output to replace_contents functions
3981 2007-09-14 Alexander Larsson <alexl@redhat.com>
3983 * gio/gfileoutputstream.[ch]:
3984 Add async get_file_info and default implementation
3986 2007-09-14 Alexander Larsson <alexl@redhat.com>
3988 * gio/gfileinputstream.c:
3989 Implement fallback wrapper for async get_file_info
3991 2007-09-14 Alexander Larsson <alexl@redhat.com>
3994 Add etag out argument to load_contents
3999 2007-09-14 Alexander Larsson <alexl@redhat.com>
4001 * gio/gcontenttype.c (looks_like_text):
4002 Whitespace like tab, cr and lf do not make the
4005 2007-09-14 Alexander Larsson <alexl@redhat.com>
4007 * gio/gfileinputstream.[ch]:
4008 Add async get_file_info.
4010 2007-09-13 Alexander Larsson <alexl@redhat.com>
4012 * gio/goutputstream.c (g_output_stream_write_all):
4013 Allow NULL for bytes_written
4015 2007-09-13 Alexander Larsson <alexl@redhat.com>
4017 * gio/gmemoryinputstream.[ch]:
4018 Add accessors for data
4020 2007-09-13 Alexander Larsson <alexl@redhat.com>
4022 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4023 Don't crash if length is NULL