1 2008-03-28 Alexander Larsson <alexl@redhat.com>
4 (copy_stream_with_progress):
7 2008-03-28 Alexander Larsson <alexl@redhat.com>
10 (copy_stream_with_progress):
12 Fallback to g_file_query_info for source size
13 if g_file_input_stream_query_info fails. (#524579)
15 2008-03-28 Alexander Larsson <alexl@redhat.com>
17 * glocalfile.c (g_local_file_move):
18 Reuse old string instead of adding new one.
20 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
22 * fen/*.[hc]: still copyright issue. I hate copyright.
24 2008-03-27 Alexander Larsson <alexl@redhat.com>
26 * glocalfile.c (g_local_file_move):
27 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
28 file over directory. This is according to the docs and what the move via
29 copy+remove fallback does.
31 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
33 * fen/*.[hc]: Updated copyright.
35 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
37 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
39 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
41 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
42 not emit attribute changed events when optimizing changed events.
43 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
46 2008-03-19 Matthias Clasen <mclasen@redhat.com>
48 * gmountoperation.[hc]: Small documentation additions
50 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
52 * gunixmounts.c: (guess_mount_type):
53 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
55 2008-03-19 Alexander Larsson <alexl@redhat.com>
58 (copy_stream_with_progress):
59 Bump block side for copy to 64k to minimize
60 overhead for low latency links. (#523015)
62 2008-03-16 Tor Lillqvist <tml@novell.com>
64 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
65 depend on gio.def on Windows.
67 2008-03-12 David Zeuthen <davidz@redhat.com>
71 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
73 2008-03-14 Alexander Larsson <alexl@redhat.com>
77 Avoid redudant tests (#521851)
78 Patch from Josselin Mouette
80 2008-03-14 Alexander Larsson <alexl@redhat.com>
83 (g_file_monitor_is_cancelled):
84 Fix C89 issue (#521672)
85 Patch from Jens Granseuer
87 2008-03-14 Alexander Larsson <alexl@redhat.com>
89 * fam/fam-helper.[ch]:
91 Shut down fam (including removing fam GSource) when
92 module is unloaded (#521513)
93 Patch from Joe Marcus Clarke
95 2008-03-14 Alexander Larsson <alexl@redhat.com>
98 (_g_io_modules_ensure_loaded):
101 2008-03-14 Alexander Larsson <alexl@redhat.com>
104 (g_local_file_query_filesystem_info):
105 Use right define name for f_fstypename member check
107 2008-03-14 Alexander Larsson <alexl@redhat.com>
110 * fen/Makefile.am: Added.
111 * fen/fen-data.[ch]: Added.
112 * fen/fen-dump.[ch]: Added.
113 * fen/fen-helper.[ch]: Added.
114 * fen/fen-kernel.[ch]: Added.
115 * fen/fen-missing.[ch]: Added.
116 * fen/fen-node.[ch]: Added.
117 * fen/fen-sub.[ch]: Added.
118 * fen/gfendirectorymonitor.[ch]: Added.
119 * fen/gfenfilemonitor.[ch]: Added.
121 Added Solaris FEN file notification backend.
122 Patch from Lin Ma <Lin.Ma@Sun.COM>
124 2008-03-13 Tor Lillqvist <tml@novell.com>
126 * Makefile.am: Actually use the gio.def file when linking the
127 library on Windows. Produce .lib library for Microsoft's toolchain
128 when possible. Install the .lib and .def file like for the other
131 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
133 * tests/live-g-file.c:
134 Include live-g-file in standard set of tests, making a temporary
135 directory in source structure.
137 Clean target directory before the tests (write mode only)
139 2008-03-12 Tor Lillqvist <tml@novell.com>
141 Bug 517419 - gio win32 directory monitor
142 Implementation by Vlad Grecescu.
145 * win32/gwin32directorymonitor.h
146 * win32/gwin32directorymonitor.c: New files.
148 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
150 * Makefile.am: Add the win32 subdirectory.
152 2008-03-12 Tor Lillqvist <tml@novell.com>
154 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
155 normal struct stat on Unix but struct _stati64 on Windows to have
156 access to 64-bit file size information. Use that instead of struct
157 stat in the functions declared here in this private header.
159 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
160 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
161 warnings about unused functions and variables. Don't set
162 meaningless attributes like inode numbers on Windows.
164 2008-03-12 Benjamin Otte <otte@gnome.org>
167 trim whitespace so gtk-doc groks the function name
169 2008-03-12 Tor Lillqvist <tml@novell.com>
171 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
172 returning FALSE, on Win32.
174 2008-03-11 Alexander Larsson <alexl@redhat.com>
177 * glocalfileinfo.[ch]:
178 Correctly implement can_trash by actually
179 looking for a trash dir, not just assuming
182 2008-03-10 Matthias Clasen <mclasen@redhat.com>
184 * === Released 2.16.1 ===
186 2008-03-11 Alexander Larsson <alexl@redhat.com>
189 Fix crashes in new constructor and properties code
191 2008-03-10 Murray Cumming <murrayc@murrayc.com>
193 * gfile.c: Minor spelling correction in documentation:
194 existance -> existence.
196 2008-03-10 Matthias Clasen <mclasen@redhat.com>
198 * === Released 2.16.0 ===
200 2008-03-10 Matthias Clasen <mclasen@redhat.com>
202 * gio.symbols: Remove g_file_contains_file here, too.
204 2008-03-10 Matthias Clasen <mclasen@redhat.com>
206 * gthemedicon.c: Add properties to make bindings happy. (#517676,
207 Samuel Cormier-Iijima)
209 2008-03-08 Tor Lillqvist <tml@novell.com>
211 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
214 2008-03-07 Alexander Larsson <alexl@redhat.com>
217 (g_local_file_query_filesystem_info):
218 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
219 Patch from Jasper Lievisse Adriaanse
221 2008-03-06 Tor Lillqvist <tml@novell.com>
223 * gfileinfo.h: Correct milliseconds to microseconds in the doc
224 comments for the *_USEC attributes.
226 2008-03-06 Alexander Larsson <alexl@redhat.com>
228 * gfile.c (g_file_query_exists):
229 Add g_return_val_if_fail check (#520700)
231 2008-03-06 Alexander Larsson <alexl@redhat.com>
236 * gunionvolumemonitor.c:
239 * tests/live-g-file.c:
240 * xdgmime/xdgmimecache.c:
241 Fix sparse warnings (#519489)
243 2008-03-05 Alexander Larsson <alexl@redhat.com>
246 Make cancellation threadsafe (i.e.
247 guarantee its only done once, and always
250 * glocaldirectorymonitor.c:
251 Make sure we the monitor lives while the
252 mounts_changed callback is being called (#520484)
254 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
256 * gbufferedinputstream.c: Fix typo in parameter
259 2008-03-04 Alexander Larsson <alexl@redhat.com>
262 Remove deprecated symbols we kept for one release.
264 2008-03-04 Murray Cumming <murrayc@murrayc.com>
267 * goutputstream.c: Tiny documentation corrections.
269 2008-03-03 Alexander Larsson <alexl@redhat.com>
271 * gunionvolumemonitor.c:
273 Fix the adopt_orphan_mount vfunc to take a
274 volume_monitor reference in an ABI compat way.
275 This change is not API compat, but the added
276 arg is not used in the only user of this vfunc, so
277 all we get is a harmless warning in gvfs (#520169)
279 2008-03-01 Benjamin Otte <otte@gnome.org>
282 clarify docs for g_file_delete().
284 2008-02-29 Alexander Larsson <alexl@redhat.com>
288 Make sure empty files get text/plain type (#518720)
290 2008-02-27 Alexander Larsson <alexl@redhat.com>
296 (g_unix_volume_mount):
297 Add missing GMountMountFlags argument
299 2008-02-26 Alexander Larsson <alexl@redhat.com>
302 (g_local_file_delete):
303 Handle filesystems (like ntfs-3g) that return EEXIST instead
304 of ENOTEMPTY (#518816)
306 2008-02-25 Matthias Clasen <mclasen@redhat.com>
308 * === Released 2.15.6 ===
310 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
312 * gfile.c (g_file_find_enclosing_mount):
313 * ginputstream.c (g_input_stream_set_pending):
314 * glocalfile.c (g_local_file_find_enclosing_mount):
315 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
316 * goutputstream.c (g_output_stream_set_pending):
318 Fixup translator comments (#518578).
320 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
322 * gfile.c (g_file_find_enclosing_mount):
324 * glocalfile.c (g_local_file_find_enclosing_mount):
327 Fix a few typos in translator comments and documentation.
329 2008-02-25 Alexander Larsson <alexl@redhat.com>
336 Add translator comments (#518578)
338 2008-02-25 Alexander Larsson <alexl@redhat.com>
341 Reintroduce g_file_contains_file, keep around for one
342 unstable release cycle to avoid crashing to many apps.
343 Make sure to delete after release.
345 2008-02-25 Alexander Larsson <alexl@redhat.com>
348 Remove deprecated g_file_contains_file.
350 2008-02-25 Alexander Larsson <alexl@redhat.com>
353 Emit actual change signals in an idle handler.
354 This avoids reentrance and locking problems in
355 the file notification backends.
357 2008-02-25 Alexander Larsson <alexl@redhat.com>
360 (g_unix_mount_guess_should_display):
361 Remove type guessing, instead just display
362 mounts in /media and in ~/.
364 2008-02-25 Alexander Larsson <alexl@redhat.com>
367 Make new strings reuse old ones.
369 2008-02-25 Alexander Larsson <alexl@redhat.com>
372 Implement trashing and filesystem::readonly for win32 (#517235)
373 Patch from Yevgen Muntyan
375 2008-02-23 Matthias Clasen <mclasen@redhat.com>
377 * gfileinfo.h: Documentation fixes.
379 2008-02-22 Alexander Larsson <alexl@redhat.com>
381 * gcontenttype.c (g_content_type_get_icon):
382 Look at old-style gnome mime icon names too, as many
383 have not moved to the new style.
385 2008-02-21 Matthias Clasen <mclasen@redhat.com>
387 * *.c: Correct the @include in for section docs.
389 2008-02-21 David Zeuthen <davidz@redhat.com>
391 * glocalfileinfo.c: (_g_local_file_info_get):
393 (g_content_type_get_icon): Implement this function by
394 moving bits from glocalfileinfo.c
395 (g_content_type_get_description): Unalias before getting
396 description (#517687)
398 * gfile.c: (g_file_class_init),
399 (g_file_query_filesystem_info_async),
400 (g_file_query_filesystem_info_finish),
401 (query_filesystem_info_data_free),
402 (query_filesystem_info_async_thread),
403 (g_file_real_query_filesystem_info_async),
404 (g_file_real_query_filesystem_info_finish):
405 * gfile.h: Implement async version of
406 g_file_query_filesystem_info()
408 * gfileinfo.h: Add new attributes for filesystem::use-preview
410 * gio.symbols: Update
412 * gthemedicon.c: (g_themed_icon_append_name):
413 * gthemedicon.h: Add new new convenience function.
415 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
416 (get_mounts), (get_volumes), (get_connected_drives),
417 (get_volume_for_uuid), (get_mount_for_uuid),
418 (g_union_volume_monitor_init), (populate_union_monitor),
419 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
420 (g_volume_monitor_adopt_orphan_mount):
422 * gvolumemonitor.h: Use recursive locks so it's safe for volume
423 monitor implementations to call into the main volume monitor. Also
424 separate object initialization and volume monitor initialization
425 such that non-native volume monitors can properly adopt their
428 2008-02-21 Alexander Larsson <alexl@redhat.com>
433 2008-02-21 Alexander Larsson <alexl@redhat.com>
436 Add more documentation about how GFiles work (from #517086)
438 2008-02-21 Alexander Larsson <alexl@redhat.com>
442 Add new g_file_has_prefix that does the same as g_file_contains_file.
443 Deprecate g_file_contains_file and add a macro that converts
444 it to g_file_has_prefix.
445 The reason for this change is that the contains_file() name seems to
446 imply that this does more work than what it does, but its really only
447 a name match (from #517086)
452 Update to match the above change.
454 2008-02-20 Benjamin Otte <otte@gnome.org>
456 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
457 (g_file_eject_mountable):
458 even more cases of not returning in error path
460 2008-02-20 Benjamin Otte <otte@gnome.org>
462 * gfile.c: (g_file_mount_mountable):
463 return from function in error path.
465 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
468 Remove trailing coma in GMountMountFlags struct
470 2008-02-18 Alexander Larsson <alexl@redhat.com>
474 * glocalfileoutputstream.c:
475 Use g_unlink/g_rename instead of unlink/rename;
476 do not pass raw filenames to g_set_error. (#517239)
477 Patch from Yevgen Muntyan.
479 2008-02-18 Alexander Larsson <alexl@redhat.com>
482 * glocalfileoutputstream.c:
483 Open files with O_BINARY on windows. (#517140)
485 2008-02-14 Alexander Larsson <alexl@redhat.com>
487 * glocalfileoutputstream.c:
488 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
490 2008-02-14 Alexander Larsson <alexl@redhat.com>
493 Copy permissions with file on copy (#514084)
494 This is what cp does and makes sure e.g. the
495 exec permissions are kept.
496 Its kinda weird in that it keeps the permission bits
497 the same while the uid and gid are different. However
498 the new uid is the user so its not a security issue,
499 and I've heard no complaints about cp on this issue.
501 2008-02-13 Ryan Lortie <desrt@desrt.ca>
503 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
505 2008-02-13 Alexander Larsson <alexl@redhat.com>
507 * inotify/inotify-path.c:
508 Define IN_ONLYDIR if not in header (#515346)
510 2008-02-12 Alexander Larsson <alexl@redhat.com>
512 * tests/live-g-file.c:
515 2008-02-11 Matthias Clasen <mclasen@redhat.com>
517 * === Released 2.15.5 ===
519 2008-02-11 Matthias Clasen <mclasen@redhat.com>
521 * gio.symbols: Add g_mount_mount_flags_get_type.
523 2008-02-11 Alexander Larsson <alexl@redhat.com>
526 (g_file_info_set_attribute_mask):
527 (g_file_attribute_matcher_matches_id):
528 Correctly handle NULL GAttributeMatcher meaning
529 matches nothing. (Fixes #513492)
531 2008-02-11 Alexander Larsson <alexl@redhat.com>
536 Added GMountMountFlags enum and added a flags
537 argument to all mount calls.
539 This is an API/ABI change for future extensibility,
540 as I think we will need at least an
541 inhibit-autorun flag (the panel needs this).
542 There are no flags defined yet though.
544 2008-02-11 Alexander Larsson <alexl@redhat.com>
547 Added new standard::description attribute.
548 Requested by Vincent, and useful for both
551 2008-02-11 Alexander Larsson <alexl@redhat.com>
556 2008-02-11 Matthias Clasen <mclasen@redhat.com>
558 * *.c: Documentation additions
560 2008-02-10 Matthias Clasen <mclasen@redhat.com>
562 * gappinfo.h: Formatting cleanup
563 * gappinfo.c: Fix up docs.
565 2008-02-09 Matthias Clasen <mclasen@redhat.com>
567 * gunixmounts.c: Consistently use getmntent_r() and fall
568 back to getmntent(). (#515492)
570 2008-02-09 Matthias Clasen <mclasen@redhat.com>
572 * gbufferedinputstream.c:
574 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
576 * tests/data-input-stream.c:
577 * tests/data-output-stream.c: Portability fixes.
579 2008-02-08 Alexander Larsson <alexl@redhat.com>
584 Add g_volume_should_automount.
587 2008-02-07 Tor Lillqvist <tml@novell.com>
589 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
590 Win32, too Unix-specific.
592 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
594 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
595 a local plt if the compiler doesn't support what we want. Bug #514702
597 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
599 reviewed by: <delete if not using a buddy>
602 * gunixinputstream.c:
603 * gunixoutputstream.c:
605 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
608 * tests/live-g-file.c:
609 * tests/live-g-file.txt:
610 New GIO testing module working over real data
612 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
614 * glocalfileoutputstream.c (g_local_file_output_stream_close):
615 Fallback to rename() if link() is not available
616 (when no support on target filesystem)
618 2008-02-06 Michael Natterer <mitch@imendio.com>
620 * gfileinfo.c (g_file_info_get_icon): replace
621 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
623 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
625 * gfile.c (g_file_create):
626 Documentation update of error codes
628 2008-02-06 Alexander Larsson <alexl@redhat.com>
631 Update to use both mimeapps.list and
632 defaults.list as discussed on xdg list.
634 2008-02-06 Benjamin Otte <otte@gnome.org>
637 * gfilenamecompleter.c:
638 Fix some typos in the documentation.
640 2008-02-06 Alexander Larsson <alexl@redhat.com>
642 * glocalfile.c (g_local_file_trash):
643 Don't succeed with trash if newly created
644 trash dir has the wrong owner. (#514696)
646 2008-02-05 Alexander Larsson <alexl@redhat.com>
648 * glocalfile.c (g_local_file_move):
649 Don't spew warnings when destination is not
652 2008-02-03 Hans Breuer <hans@breuer.org>
654 * makefile.msc : update
656 2008-02-01 Michael Natterer <mitch@imendio.com>
658 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
659 return value of xdg_mime_list_mime_parents() to a variable of the
662 2008-02-01 Alexander Larsson <alexl@redhat.com>
664 * gappinfo.c (g_app_info_launch_uris):
665 Actually call the launch_uris method, not
668 2008-02-01 Alexander Larsson <alexl@redhat.com>
670 * gdesktopappinfo.c (g_desktop_app_info_equal):
671 Ensure appinfos with no id but same pointer value
674 2008-02-01 Alexander Larsson <alexl@redhat.com>
676 * gappinfo.c (g_app_info_launch_default_for_uri):
679 2008-02-01 Alexander Larsson <alexl@redhat.com>
683 Add g_app_info_launch_default_for_uri utility
686 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
689 Doc fix for g_app_info_get_default_for_uri_scheme ()
692 2008-01-30 Alexander Larsson <alexl@redhat.com>
695 Add doc comment about uris vs GFiles to
699 Ensure uris passed to g_app_info_launch_uris()
700 are not roundtriped through GFile (as that
701 may be slightly destructive for e.g. mailto: links)
703 2008-01-30 Alexander Larsson <alexl@redhat.com>
705 * tests/data-input-stream.c:
706 * tests/data-output-stream.c:
707 C89 fixes from Jens Granseuer (#512849)
709 2008-01-30 Alexander Larsson <alexl@redhat.com>
712 Fix gamin/fam difference build issue. (#509419)
714 2008-01-29 Alexander Larsson <alexl@redhat.com>
718 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
720 2008-01-29 Alexander Larsson <alexl@redhat.com>
724 giomodule-priv.h include moved to .c file.
726 2008-01-29 Alexander Larsson <alexl@redhat.com>
728 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
729 Remove unused prio/name fields.
731 2008-01-29 Alexander Larsson <alexl@redhat.com>
733 * gcontenttype.c (looks_like_text):
734 Don't treat whitespace as control chars.
736 2008-01-29 Alexander Larsson <alexl@redhat.com>
739 Lazily create the desktop files for appinfos created
740 by g_app_info_create_from_commandline() when needed
741 for mime associations. This allows run-time use
742 of GAppInfo object without creating unnecessary
745 2008-01-29 Alexander Larsson <alexl@redhat.com>
748 Added new symbols to gio.symbols
750 2008-01-29 Alexander Larsson <alexl@redhat.com>
753 Add g_file_query_default_handler utility to easily look up
754 the GAppInfo that handles a file.
756 * gdesktopappinfo.[ch]:
758 Set up an extension point for g_app_info_get_default_for_uri_scheme()
761 Remove unused function
763 2008-01-29 Alexander Larsson <alexl@redhat.com>
766 Mention need to free returned value in
767 g_file_enumerator_next_files_finish docs.
768 Fix leak if g_file_enumerator_next_files_finish()
771 2008-01-29 Alexander Larsson <alexl@redhat.com>
774 (_g_unix_content_type_get_parents):
775 Use list_parents, not get_parents from xdgmime, because
776 the later doesn't use the cache.
778 * xdgmime/xdgmimecache.c:
779 (_xdg_mime_cache_list_mime_parents):
780 Don't list the same type as parent multiple times.
782 2008-01-28 Matthias Clasen <mclasen@redhat.com>
784 * === Released 2.15.4 ===
786 2008-01-28 Alexander Larsson <alexl@redhat.com>
789 Register local vfs with prio 0.
792 Remove old name and prio class members
794 2008-01-28 Matthias Clasen <mclasen@redhat.com>
796 * tests/g-file.c: Disable some tests that are failing in
797 the absence of a http backend.
799 2008-01-28 Alexander Larsson <alexl@redhat.com>
803 Add registration hooks for extension points.
804 Register the gio extension points.
806 * fam/gfamdirectorymonitor.c:
807 * fam/gfamfilemonitor.c:
808 * glocaldirectorymonitor.[ch]:
809 * glocalfilemonitor.[ch]:
810 * gnativevolumemonitor.h:
811 * gunionvolumemonitor.c:
812 * gunixvolumemonitor.c:
815 * inotify/ginotifydirectorymonitor.c:
816 * inotify/ginotifyfilemonitor.c:
817 Use the extension points registration instead
818 of g_type_children().
820 2008-01-28 Matthias Clasen <mclasen@redhat.com>
823 * gvolume.[hc]: Document new API.
825 * gfile.c (g_file_copy_async): Fix docs
827 2008-01-27 Matthias Clasen <mclasen@redhat.com>
829 * gbufferedinputstream.c:
831 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
834 2008-01-27 Matthias Clasen <mclasen@redhat.com>
836 * glocalfile.c: Avoid trivial differences in translatable strings.
838 2008-01-25 Matthias Clasen <mclasen@redhat.com>
840 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
841 build with gcc 3.4 (#509419)
843 2008-01-25 Matthias Clasen <mclasen@redhat.com>
845 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
846 (#509994, Murray Cumming)
848 2008-01-25 Matthias Clasen <mclasen@redhat.com>
850 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
851 * gioscheduler.c: Keep calling io jobs until they return FALSE;
852 this allows big jobs to be executed in chunks, instead of blocking
853 the main loop for a long time.
855 * gsimpleasyncresult.c:
856 * giofile.c: Adapt callers.
858 2008-01-25 Alexander Larsson <alexl@redhat.com>
861 Implement changes discussed on xdg list.
862 Now we can add supported mimetypes by just using defaults.list
863 We can also remove associations in defaults.list.
865 2008-01-25 Alexander Larsson <alexl@redhat.com>
868 Don't make local copy of desktop file
869 for mimetype changes if the file already
870 supports the new mimetype.
872 2008-01-25 Matthias Clasen <mclasen@redhat.com>
876 * gbufferedinputstream.c:
877 * glocalfile.c: String improvements. (#511966,
878 Theppitak Karoonboonyanan)
880 2008-01-24 Matthias Clasen <mclasen@redhat.com>
882 * gioscheduler.h: Expand docs a bit.
884 2008-01-24 Alexander Larsson <alexl@redhat.com>
887 Add g_drive_get_identifier and
888 g_drive_enumerate_identifiers
891 Add g_volume_get_identifier and
892 g_volume_enumerate_identifiers
898 Implement identifiers for unix backend
900 2008-01-24 Alexander Larsson <alexl@redhat.com>
905 Add g_file_copy_async() (#511580)
906 Based on patch from Carlos Garcia Campos
908 2008-01-23 Matthias Clasen <mclasen@redhat.com>
910 * gioscheduler.c: Some documentation additions.
912 2008-01-22 Alexander Larsson <alexl@redhat.com>
915 (g_desktop_app_info_new):
918 2008-01-22 Alexander Larsson <alexl@redhat.com>
921 (g_desktop_app_info_new_from_filename):
924 2008-01-22 Alexander Larsson <alexl@redhat.com>
926 * glocalfileinfo.c (get_thumbnail_attributes):
929 2008-01-22 Alexander Larsson <alexl@redhat.com>
932 (canonicalize_filename):
933 Canonicalize paths that start with more than
938 (test_g_file_new_for_path):
941 2008-01-22 Alexander Larsson <alexl@redhat.com>
944 Allow UTF-8 in file:// parse names.
947 * tests/data-input-stream.c:
948 * tests/data-output-stream.c:
949 * tests/g-file-info.c:
951 Added a bunch of tests from Tomas Bzatek
953 2008-01-21 Matthias Clasen <mclasen@redhat.com>
955 * === Released 2.15.3 ===
957 2008-01-21 Alexander Larsson <alexl@redhat.com>
959 * gfileinputstream.[ch]:
960 * gfileoutputstream.[ch]:
962 Remove duplicated GSeekable functions. (#509990)
963 Just use the g_seekable_xxx() calls instead.
965 2008-01-21 Matthias Clasen <mclasen@redhat.com>
968 * gvolumemanager.c: Whitespace cleanups.
970 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
971 Use the right mode when creating the file.
973 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
976 * gfileinputstream.c:
978 * goutputstream.c: Documentation: Fixed minor typos
979 and added more mentions of specific _finish() functions.
981 2008-01-21 Alexander Larsson <alexl@redhat.com>
983 * inotify/Makefile.am:
984 * inotify/inotify-helper.c:
985 * inotify/inotify-kernel.c:
986 * inotify/inotify-path.c:
987 * inotify/local_inotify.h: Removed.
988 * inotify/local_inotify_syscalls.h: Removed.
989 Removed the included copies of the inotify
990 headers. We now only use the <sys/inotify.h>
991 header which exists on modern systems.
992 This fixes problems on ARM and SH5 (#510448)
993 but is also generally much cleaner and future
994 safe. For instance, if other OSes add support
995 for inotify it should "just work".
997 2008-01-20 Matthias Clasen <mclasen@redhat.com>
999 * inotify/*.c: Coding style fixes.
1000 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1001 for the 1/4 Hz timer.
1003 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1006 * gfilemonitor.[hc]:
1007 * gmemoryinputstream.c:
1008 * gmemoryoutputstream.c:
1009 * gmountoperation.c:
1010 * gthemedicon.c: Documentation updates
1012 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1014 * gfile.c: documentation: Fixed more minor
1017 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1019 * gmount.c: (g_mount_remount): documentation:
1020 Mention g_mount_remount_finish() instead of
1021 g_mount_unmount_finish().
1023 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1027 * gfile.c: Fixed some minor typos in the
1030 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1032 * gio/gvolumemonitor.c:
1033 (g_volume_monitor_get_connected_drives):
1034 (g_volume_monitor_get_volumes):
1035 (g_volume_monitor_get_mounts): Documentation:
1036 Clarify the ownership of the regurn GLists.
1038 2008-01-17 Alexander Larsson <alexl@redhat.com>
1041 Add the async find_enclosing_mount version
1042 to the header file too.
1044 2008-01-17 Alexander Larsson <alexl@redhat.com>
1047 Add async version of find_enclosing_mount
1048 with default implementation.
1050 2008-01-17 Alexander Larsson <alexl@redhat.com>
1055 Allow calls to implementation of copy and write
1056 even if the type of the file implementations is
1057 different. This can be used to implement native
1058 upload and download calls in a vfs.
1061 (g_local_file_move):
1062 Protect against the case where move is called
1063 with one file not being local.
1065 Make sure we call the progress callback once
1066 in the native move operation so that the caller
1067 knows how many bytes were copied.
1069 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1072 * gdatainputstream.c:
1074 * gfileoutputstream.c:
1079 * gunixmounts.c: Corrected some typos in the documentation:
1080 occured -> occurred.
1081 its -> it's (where appropriate).
1083 2008-01-16 Alexander Larsson <alexl@redhat.com>
1087 Add g_file_query_exists (#508771)
1089 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1094 * gvolume.c: For async functions that have no non-async
1095 version, document that the GAsyncReadyCallback may be NULL.
1098 2008-01-15 Alexander Larsson <alexl@redhat.com>
1100 * gmemoryinputstream.c:
1101 * gmemoryoutputstream.c:
1102 Don't do pointer arithmetic on void * (#508602)
1103 Patch from Kazuki IWAMOTO
1105 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1107 * === Released 2.15.2 ===
1109 2008-01-14 Alexander Larsson <alexl@redhat.com>
1111 * gfile.c (g_file_monitor_file):
1112 Don't set error here, since we fallback to polling monitor.
1114 2008-01-14 Alexander Larsson <alexl@redhat.com>
1117 (g_file_monitor_directory):
1118 (g_file_monitor_file):
1119 Add GError to file monitor calls
1121 * glocaldirectorymonitor.c:
1122 * glocaldirectorymonitor.h:
1124 * glocalfilemonitor.c:
1125 * glocalfilemonitor.h:
1127 Update for above change
1129 2008-01-14 Alexander Larsson <alexl@redhat.com>
1133 Handle root correctly in g_file_get_relative_path (#508719)
1135 2008-01-14 Alexander Larsson <alexl@redhat.com>
1138 Clean up docs and example for GAsyncResult (#508074)
1140 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1142 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1143 and correct some spelling mistakes. Bug #508108.
1145 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1147 * glocalfileinfo.c: Add a comment.
1149 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1151 * gfileinfo.c: GFileInfo description: Mention
1152 how to actually set attributes in a GFile and how to discover
1153 which attributes are settable. Bug #508378.
1155 2008-01-10 A. Walton <awalton@svn.gnome.org>
1157 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1158 (g_app_info_get_default_for_type):
1159 Check for NULL content types.
1161 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1163 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1165 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1167 * gfile.c: *_async() functions: Several small corrections
1168 to the documentation, mostly correcting copy/paste errors
1169 and improving some sentences.
1171 2008-01-09 Dan Winship <danw@gnome.org>
1173 * glocalfile.c (get_unique_filename): x86_64 fix
1175 2008-01-09 Alexander Larsson <alexl@redhat.com>
1180 Add g_unix_mount_guess_should_display and use
1181 for unix volume monitor backend.
1182 This means we more or less show what the
1183 gnome-vfs backend did.
1184 Based on patch from Padraig O'Briain
1186 2008-01-09 Alexander Larsson <alexl@redhat.com>
1190 Add g_themed_icon_new_with_default_fallbacks
1193 Use default fallbacks for icons
1195 2008-01-09 Alexander Larsson <alexl@redhat.com>
1198 * gmountoperation.[ch]:
1199 Change the API a bit so that unhandled methods
1200 get reported via the reply, rather than by
1201 the signal emission return value. This is because
1202 some handlers can't know this immediately without
1203 doing I/O, and this is an async operation that
1206 2008-01-09 Alexander Larsson <alexl@redhat.com>
1209 * fam/gfamdirectorymonitor.c:
1210 * fam/gfamfilemonitor.c:
1211 Fix double free crash (#508224)
1212 Patch from Joe Marcus Clarke
1214 008-01-07 Matthias Clasen <mclasen@redhat.com>
1216 * === Released 2.15.1 ===
1218 2008-01-07 Alexander Larsson <alexl@redhat.com>
1220 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1221 Fix warning (#507835)
1223 2008-01-07 Alexander Larsson <alexl@redhat.com>
1226 Pass --internal to glib-genmarshal
1229 * gmountoperation.c:
1231 Use better types for signal arguments (#507822)
1233 2008-01-07 Alexander Larsson <alexl@redhat.com>
1236 Build test subdir after .
1237 Remove gdirectorymonitor.[ch]
1239 * gdirectorymonitor.[ch]:
1243 Remove GDirectoryMonitor and make
1244 GFileMonitor the baseclass for both file and
1245 directory monitors. Lift the more generic
1246 rate limiting code from GDirectoryMonitor
1250 * fam/gfamdirectorymonitor.[ch]:
1251 * inotify/ginotifydirectorymonitor.[ch]:
1252 * inotify/inotify-helper.c:
1253 * glocaldirectorymonitor.[ch]:
1256 Update for the removed GDirectoryMonitor.
1258 * gmemoryoutputstream.c:
1259 Remove ununsed variable
1261 2008-01-07 Alexander Larsson <alexl@redhat.com>
1263 * gmemoryinputstream.c:
1264 Translate error strings
1267 * gmemoryoutputstream.[ch]:
1268 New implementation that avoids using GByteArray
1269 in implementation and API. (#506377)
1271 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1273 * tests/*: Add a test for memory input streams.
1275 * Makefile.am: Add tests to SUBDIRS.
1277 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1279 * glocalfilemonitor.c:
1280 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1283 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1285 * gdesktopappinfo.c: Fix a docs typo.
1287 * gfileattribute.c: Add information about extended attributes
1288 to the documentation. (#505058)
1290 2008-01-04 Alexander Larsson <alexl@redhat.com>
1293 * gmountoperation.c:
1294 Use the right type (uint) for the ask_password signal.
1296 2008-01-04 Alexander Larsson <alexl@redhat.com>
1301 Add g_app_info_supports_files()
1302 Remove desktop arg from g_app_info_should_show().
1304 * gdesktopappinfo.[ch]:
1305 Implement g_app_info_supports_files() and new should_show()
1306 Add g_desktop_app_info_set_desktop_env() to set the desktop
1307 for should_show(). (This will be set by gtk+ later)
1309 2008-01-04 Alexander Larsson <alexl@redhat.com>
1312 * gmemoryinputstream.[ch]:
1313 Improve API so that you can use multiple chunks
1314 of memory and custom destroy functions. (#506374)
1316 2008-01-03 Alexander Larsson <alexl@redhat.com>
1319 Handle NULL attribute matchers safely, as we return this
1320 for empty attribute matcher strings.
1322 2008-01-03 Alexander Larsson <alexl@redhat.com>
1324 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1325 Add /usr/local to list of internal mountpoints
1327 2008-01-03 Alexander Larsson <alexl@redhat.com>
1330 Check for HAVE_LCHOWN (#505887)
1332 2008-01-03 Alexander Larsson <alexl@redhat.com>
1336 Add define for selinux context attribute.
1337 Fix missing : -> :: namespace separator change
1338 Fix missing _ -> - name change for xattr-sys.
1341 2008-01-03 Alexander Larsson <alexl@redhat.com>
1344 Link to libglib and libgobject directly (#504879)
1345 Patch from Sebastien Bacher
1347 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1349 * gfile.c: Expanded the g_file_new_for_commandline_arg
1350 description a bit, based on the code and the docs of the
1351 other g_file_new_for_* functions.
1353 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1355 * gfilemonitor.h: Fixed typo in docs.
1357 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1359 Updates to GIO documentation. (#506395, Mikael Hermansson)
1361 * gcontenttype.c: Describe memory management for return value of
1362 g_content_types_get_registered(). Missing piece from #505815.
1363 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1364 GVolume, GDrive, GMounts, which hopefully gives the user less
1365 confusions when using this API. Following explainations from
1366 Alexander Larsson on gtk-devel-list.
1368 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1370 * gfileinfo.c: Expand the long description.
1372 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1375 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1376 fix builds with --disable-visibility. (#500273, Christian Persch)
1378 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1380 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1381 in the list of returned app infos.
1383 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1385 * gappinfo.c: Fix a cross-reference
1387 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1389 * gfileinputstream.c:
1390 * gfileoutputstream.c:
1394 * gdesktopappinfo.c:
1396 * gfileinfo.c: Documentation updates.
1398 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1400 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1403 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1405 * gcontenttype.c (g_content_types_get_registered): Don't return
1406 freed memory (#505815, Mikael Hermansson)
1408 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1410 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1411 used to detect statbuf->st_blocks. (#505042)
1413 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1415 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1416 environment handling. (#504829, Cosimo Cecchi)
1418 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1420 * gappinfo.c: Doc improvements
1422 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1425 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1427 * === Released 2.15.0 ===
1429 2007-12-20 Hans Breuer <hans@breuer.org>
1431 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1432 with symbols gwin32appinfo.obj, added gmount.obj
1433 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1435 2007-12-20 Alexander Larsson <alexl@redhat.com>
1441 * gfilenamecompleter.c:
1444 * gpollfilemonitor.c:
1445 File attribute renames:
1447 fs:: -> filesystem::
1448 id::fs -> id::filesystem
1450 2007-12-20 Alexander Larsson <alexl@redhat.com>
1459 Add GMountUnmountFlags to all unmount and
1461 Add g_mount_remount() call.
1463 2007-12-20 Alexander Larsson <alexl@redhat.com>
1465 * gvfs.c (get_default_vfs):
1466 Fix unused variable warning
1468 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1470 * pltcheck.sh: Update
1472 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1474 * gunionvolumemonitor.c:
1475 * gunixmount.c: Remove C99 comments
1477 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1479 * gio.symbols: Add some missing symbols
1481 2007-12-19 Alexander Larsson <alexl@redhat.com>
1484 Make g_io_modules_load_all_in_directory not unuse
1485 loaded modules so that users of it can do stuff
1487 Init internal "module" types.
1488 Initialize static prio and name for types so that
1489 we don't have to load modules to get it.
1491 * gnativevolumemonitor.h:
1493 Move is_supported to parent class so that
1494 non-native monitors can avoid being initialized
1495 too. (For instance GDaemonVolumeMonitor if we're
1496 not using GDaemonVfs.)
1498 * glocaldirectorymonitor.[ch]:
1499 * glocalfilemonitor.[ch]:
1500 * gunionvolumemonitor.c:
1501 * gunixvolumemonitor.c:
1503 Find plugins using the static prio+name to
1504 avoid unnecessarily loading the modules.
1506 2007-12-19 Alexander Larsson <alexl@redhat.com>
1511 2007-12-19 Alexander Larsson <alexl@redhat.com>
1513 * gunionvolumemonitor.c:
1514 Store the native type as GType, not class so that
1515 we can unload it. But still avoid unnecessarily
1518 2007-12-19 David Zeuthen <davidz@redhat.com>
1520 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1521 add signals 'disconnected' and 'eject-button' on GDrive. Add
1522 signal 'removed' on GVolume and 'unmounted' on GMount.
1524 * gdrive.c: (g_drive_base_init):
1526 * gfile.c: (g_file_mount_mountable),
1527 (g_file_mount_enclosing_volume):
1530 * gmount.c: (g_mount_base_init):
1532 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1533 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1534 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1538 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1540 * *.c: Fix up includes in the section docs.
1542 2007-12-17 Alexander Larsson <alexl@redhat.com>
1544 * gnativevolumemonitor.h:
1545 * gunionvolumemonitor.c:
1546 * gunixvolumemonitor.c:
1547 Add is_supported() to GNativeVolumeMonitorClass so
1548 that we can avoid having to create an object to see
1549 if the backend is supported at runtime.
1550 Also add name member and an env var to pick a specific
1551 volume monitor backend.
1555 Add cancellable to _g_mount_get_for_mount_path()
1557 * glocaldirectorymonitor.c:
1558 * glocalfilemonitor.c:
1559 Avoid loading and unloading modules while sorting.
1561 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1564 * gunixmounts.[hc]: Namespace waste reduction, move some
1565 g_get_unix_mount functions to the g_unix_mount namespace.
1568 * gunixvolumemonitor.c:
1570 * glocaldirectorymonitor.c: Update all callers.
1572 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1574 2007-12-17 Alexander Larsson <alexl@redhat.com>
1577 Add doc comments about what GFile operations are
1578 guaranteed to not block.
1580 2007-12-17 Alexander Larsson <alexl@redhat.com>
1583 Add missing #ifdef fixing OSX build.
1584 (#503334, patch from Richard Hult)
1586 2007-12-14 David Zeuthen <davidz@redhat.com>
1590 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1591 (g_mount_eject), (g_mount_eject_finish):
1593 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1594 (get_volume_for_uuid), (get_mount_for_uuid),
1595 (g_union_volume_monitor_class_init),
1596 (get_default_native_type_with_exclude), (get_default_native_type),
1597 (get_native_type), (update_native_type),
1598 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1599 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1600 (g_unix_mount_can_eject), (eject_unmount_cb),
1601 (eject_unmount_read_error), (eject_unmount_do),
1602 (g_unix_mount_unmount), (g_unix_mount_eject),
1603 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1604 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1605 (g_unix_mount_point_guess_can_eject):
1607 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1608 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1609 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1610 (g_unix_volume_mount), (g_unix_volume_eject),
1611 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1612 * gunixvolumemonitor.c: (get_volume_for_uuid),
1613 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1615 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1616 (g_volume_eject), (g_volume_eject_finish):
1618 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1619 (g_volume_monitor_get_mount_for_uuid):
1622 Provide eject() on both GMount and GVolume and utility functions
1623 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1624 ejected. Introduce the concept of UUID's and wire it into GVolume
1625 and GMount and provide API on GVolumeMonitor to find such
1626 instances. Also handle the case where an external
1627 GNativeVolumeMonitor fails to initialize. Lock around the
1628 _g_get_mount_for_mount_path() function such that volume monitor
1629 implementations won't have to do locking themselves.
1631 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1633 * gdesktopappinfo.c:
1639 * gvolume.h: Documentation updates
1641 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1644 * gfile.h: Doc updates
1646 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1649 * gdesktopappinfo.c: Use hash table iterators.
1651 2007-12-14 Alexander Larsson <alexl@redhat.com>
1654 * gfileattribute.[ch]:
1655 * gfileattribute-priv.h:
1656 Move GFileAttributeValue to a private header, as
1660 Make set_attribute take a type + a pointer instead
1661 of a GFileAttributeValue.
1664 Fix up for above changes.
1665 Add g_file_info_get_attribute_data to get
1666 all info in one call, g_file_info_get_attribute_status
1667 to get the status and g_file_info_get_attribute_as_string.
1671 * glocalfileinfo.[ch]:
1675 Make _guess_type static.
1677 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1680 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1681 made mkenums and friends use temporary files to avoid leaving
1682 empty generated files on failure (#503470).
1684 2007-12-14 Alexander Larsson <alexl@redhat.com>
1686 * gmountoperation.h:
1689 2007-12-14 Alexander Larsson <alexl@redhat.com>
1693 * gfileattribute.[ch]:
1696 * glocalfileoutputstream.c:
1697 * gmountoperation.[ch]:
1698 * goutputstream.[ch]:
1699 Clean up all flags enums to not have _FLAGS in them
1700 Make the names of some of the enums better.
1705 2007-12-14 Michael Natterer <mitch@imendio.com>
1707 * gio.symbols: fix g_io_scheduler symbol names.
1709 2007-12-14 Alexander Larsson <alexl@redhat.com>
1715 * gbufferedinputstream.h:
1716 * gbufferedoutputstream.h:
1719 * gdatainputstream.h:
1720 * gdataoutputstream.h:
1721 * gdesktopappinfo.h:
1722 * gdirectorymonitor.h:
1726 * gfileenumerator.h:
1729 * gfileinputstream.h:
1731 * gfilenamecompleter.h:
1732 * gfileoutputstream.h:
1733 * gfilterinputstream.h:
1734 * gfilteroutputstream.h:
1742 * gmemoryinputstream.h:
1743 * gmemoryoutputstream.h:
1745 * gmountoperation.h:
1748 * gsimpleasyncresult.h:
1750 * gunixinputstream.h:
1752 * gunixoutputstream.h:
1756 * inotify/Makefile.am:
1757 Only allow including <gio/gio.h> from apps
1759 2007-12-14 Alexander Larsson <alexl@redhat.com>
1761 * gioscheduler.[ch]:
1762 * gsimpleasyncresult.c:
1763 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1764 Split out the send_to_mainloop call into two versions instead
1765 of having the block argument.
1767 2007-12-13 Alexander Larsson <alexl@redhat.com>
1769 * gcancellable.[ch]:
1771 * gbufferedinputstream.c:
1772 * gfileenumerator.c:
1773 * gfileinputstream.c:
1774 * gfileoutputstream.c:
1778 g_push/pop_current_cancellable ->
1779 g_cancellable_push/pop_current
1781 2007-12-13 Alexander Larsson <alexl@redhat.com>
1785 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1787 2007-12-13 Alexander Larsson <alexl@redhat.com>
1789 * gmountoperation.h:
1790 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1792 2007-12-12 Alexander Larsson <alexl@redhat.com>
1795 Fix race condition when freeing proxy in
1796 g_io_job_send_to_mainloop().
1798 2007-12-12 Alexander Larsson <alexl@redhat.com>
1804 Make attribute namespace separator "::" instead of ":".
1805 Use - instead of _ as separator in attribute names.
1807 2007-12-12 Alexander Larsson <alexl@redhat.com>
1809 * gbufferedinputstream.h:
1810 * gbufferedoutputstream.h:
1811 * gdatainputstream.h:
1812 * gdataoutputstream.h:
1813 * gdirectorymonitor.h:
1814 * gfileenumerator.h:
1815 * gfileinputstream.h:
1817 * gfileoutputstream.h:
1818 * gfilterinputstream.h:
1819 * gfilteroutputstream.h:
1821 * glocalfileinputstream.h:
1822 * glocalfileoutputstream.h:
1823 * gmemoryinputstream.h:
1824 * gmemoryoutputstream.h:
1825 * gnativevolumemonitor.h:
1827 * gunixinputstream.h:
1828 * gunixoutputstream.h:
1831 s/parent/parent_instance/ in GObjects
1833 2007-12-12 Alexander Larsson <alexl@redhat.com>
1838 No need for padding for interfaces
1840 2007-12-12 Alexander Larsson <alexl@redhat.com>
1844 * gbufferedinputstream.c:
1845 * gbufferedoutputstream.c:
1848 * gdatainputstream.[ch]:
1849 * gdesktopappinfo.c:
1850 * gdirectorymonitor.c:
1852 * gfileattribute.[ch]:
1855 * gfileinputstream.h:
1856 * gfilemonitor.[ch]:
1857 * gfileoutputstream.[ch]:
1858 * gfilterinputstream.h:
1859 * gfilteroutputstream.h:
1862 * gloadableicon.[ch]:
1863 * gmemoryinputstream.c:
1864 * gmountoperation.c:
1866 Fix up a bunch of details in the docs.
1871 2007-12-11 David Zeuthen <davidz@redhat.com>
1873 Rework how volumes, drives and volume monitoring is
1874 done. Previosly the model was
1876 GDrive <1-1> GVolume
1878 where a GDrive instance represented a mount point and a GVolume
1879 instance represented a mounted file system. This patch changes it
1882 GDrive <1-N> GVolume <1-1> GMount
1884 where GMount now serves the purpose of the old GVolume and the new
1885 GVolume serves the purpose of the old GDrive. In addition the new
1886 GDrive interface is used to represent a collection of GVolume
1887 instances (typically partitions) and also contains utility to query
1888 the state of the physical drive the GDrive object represents (such
1889 as checking for media, polling the drive, ejecting the media etc.).
1891 Also implement mounting and unmounting in the Unix volume monitor
1892 backend. A subquent patch will introduce GDrive support for ejection
1896 * gdrive.c: (g_drive_is_media_check_automatic),
1897 (g_drive_is_media_removable), (g_drive_has_media),
1898 (g_drive_can_poll_for_media), (g_drive_eject),
1899 (g_drive_eject_finish), (g_drive_poll_for_media),
1900 (g_drive_poll_for_media_finish):
1902 * gfile.c: (g_file_find_enclosing_mount):
1905 * glocaldirectorymonitor.c:
1906 (g_local_directory_monitor_constructor), (mounts_changed):
1907 * glocalfile.c: (get_mount_info),
1908 (g_local_file_find_enclosing_mount),
1909 (g_local_file_file_iface_init):
1910 * gnativevolumemonitor.h:
1911 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1912 (get_connected_drives), (g_union_volume_monitor_class_init),
1913 (child_volume_added), (child_volume_removed),
1914 (child_volume_changed), (child_mount_added), (child_mount_removed),
1915 (child_mount_pre_unmount), (child_mount_changed),
1916 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1917 (g_union_volume_monitor_remove_monitor),
1918 (_g_mount_get_for_mount_path):
1919 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1920 (guess_system_internal), (_g_get_unix_mounts),
1921 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1922 (g_unix_mount_free), (g_unix_mount_compare),
1923 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1924 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1925 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1926 (type_to_icon), (g_unix_mount_guess_name),
1927 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1928 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1929 (_resolve_symlink), (_resolve_dev_root):
1931 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1932 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1933 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1934 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1935 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1936 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1937 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1938 (g_unix_volume_volume_iface_init):
1940 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1941 (get_mounts), (get_volumes), (get_connected_drives),
1942 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1943 (mountpoints_changed), (mounts_changed),
1944 (g_unix_volume_monitor_init),
1945 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1946 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1947 * gunixvolumemonitor.h:
1948 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1949 (g_volume_mount), (g_volume_mount_finish):
1951 * gvolumemonitor.c: (g_volume_monitor_class_init),
1952 (g_volume_monitor_get_connected_drives),
1953 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1956 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1958 * gmountoperation.h (GPasswordFlags): Close the gap
1960 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1962 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1964 * gdesktopappinfo.[hc]: Remove _-prefixes
1966 2007-12-10 Tor Lillqvist <tml@novell.com>
1968 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1971 2007-12-10 Alexander Larsson <alexl@redhat.com>
1973 * gfile.c (g_file_set_display_name):
1974 Don't hardcode '/' (#502727)
1976 2007-12-09 Hans Breuer <hans@breuer.org>
1978 * makefile.msc : follow lib naming convention
1979 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1980 for user and group name, tested with ../tests/gio-ls
1982 2007-12-09 A. Walton <awalton@svn.gnome.org>
1984 * gdesktopappinfo.c:
1990 * gfileenumerator.c:
1995 * gmemoryinputstream.c:
1996 * gmemoryoutputstream.c:
1998 * gsimpleasyncresult.c:
1999 More documentation cleanup and filling in missing information, bringing
2000 GIO to 99% symbol coverage.
2002 2007-12-08 Hans Breuer <hans@breuer.org>
2004 [gio compiles and links on win32, not sure how much already works]
2005 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2006 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2007 base on win32 API; prefer g_lstat() over lstat(); instead of
2008 localtime_r() use an all GLib implementation on win32;
2009 get_mount_info() still needs a win32 specifc implementation
2010 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2011 win32_get_file_user_info to get owner/group info without uid/gid
2012 * glocalfileinputstream.c : include <io.h> on win32
2013 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2014 definition, use g_win32_ftruncate() for G_OS_WIN32
2015 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2016 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2017 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2018 * makefile.msc : updated
2020 2007-12-07 Alexander Larsson <alexl@redhat.com>
2022 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2023 Avoid warning spew if error == NULL
2025 2007-12-07 Alexander Larsson <alexl@redhat.com>
2028 Update docs wrt etags
2030 2007-12-06 Alexander Larsson <alexl@redhat.com>
2033 Include sys/types.h for dev_t (#501919)
2035 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2039 Make abicheck and pltcheck pass.
2041 2007-12-05 Alexander Larsson <alexl@redhat.com>
2044 * giomodule-priv.h: Added.
2045 * glocaldirectorymonitor.c:
2046 * glocalfilemonitor.c:
2047 * gunionvolumemonitor.c:
2049 Actually add the declaration of _g_io_modules_ensure_loaded
2051 2007-12-05 Alexander Larsson <alexl@redhat.com>
2053 * gdatainputstream.c:
2058 * glocaldirectorymonitor.c:
2059 * glocalfilemonitor.c:
2060 * gunionvolumemonitor.c:
2062 Make g_io_modules_ensure_loaded a private function and
2063 don't pass in the dirname. This means we can do magic
2064 directory finding in the win32 version.
2065 Export the actual load-modules-in-directory code so that
2066 gvfs can reuse that.
2068 2007-12-05 Alexander Larsson <alexl@redhat.com>
2070 * gbufferedinputstream.c:
2071 * gbufferedoutputstream.c:
2074 * gfileenumerator.[ch]:
2075 * gfileinputstream.c:
2076 * gfileoutputstream.[ch]:
2077 * gfilterinputstream.c:
2078 * gfilteroutputstream.c:
2079 * ginputstream.[ch]:
2081 * glocalfileenumerator.c:
2082 * glocalfileinputstream.c:
2083 * glocalfileoutputstream.c:
2084 * gmemoryinputstream.c:
2085 * gmemoryoutputstream.c:
2086 * goutputstream.[ch]:
2089 * gunixinputstream.c:
2090 * gunixoutputstream.c:
2091 Rename all struct members named:
2092 read, write, close, truncate, or mount
2093 to foo_fn, as these are reserved names
2094 and could be defined as macros in libc.
2097 2007-12-04 Alexander Larsson <alexl@redhat.com>
2100 (g_output_stream_close):
2101 Only call flush if non-null.
2103 2007-11-30 Dan Winship <danw@gnome.org>
2105 * ginputstream.c (g_input_stream_set_pending): Make this take a
2106 GError and return a gboolean, and do the "outstanding operation"
2107 check (and the "stream is already closed" check) itself.
2108 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2110 * goutputstream.c (g_output_stream_set_pending)
2111 (g_output_stream_clear_pending): Likewise
2113 * gbufferedinputstream.c:
2114 * gfileinputstream.c:
2115 * gfileoutputstream.c: Update for that
2117 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2118 Like g_simple_async_report_error_in_idle, but takes a GError
2119 rather than building one.
2121 2007-11-30 Dan Winship <danw@gnome.org>
2123 * goutputstream.c: Don't cheat and unset the "pending" flag around
2124 inner calls. Instead, call the class method directly rather than
2125 the wrapper function that checks "pending"
2127 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2129 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2131 2007-12-03 Hans Breuer <hans@breuer.org>
2133 [start of port to win32/msvc]
2134 * gcancellable.c : HAVE_UNIST_H and _pipe()
2135 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2136 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2137 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2139 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2140 * glocalvfs.c : use HAVE_PWD_H
2141 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2142 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2143 * Makefile.am : added to EXTRA_DIST
2145 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2147 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2150 2007-12-03 Alexander Larsson <alexl@redhat.com>
2153 Handle OSX style xattrs API (#500506)
2155 2007-12-03 Alexander Larsson <alexl@redhat.com>
2159 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2161 2007-12-02 A. Walton <awalton@svn.gnome.org>
2165 Documentation accuracy fixes.
2167 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2169 * gioenumtypes.c.template: Fix typo.
2171 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2173 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2175 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2177 * gdirectorymonitor.c:
2178 * gfilemonitor.c: Add properties
2180 * gbufferedoutputstream.c: Don't mark buffer-size property
2183 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2185 * gbufferedoutputstream.c: Add auto-grow property.
2187 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2189 * *.c: Unify the capitalization of section headings.
2191 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2193 * gmountoperation.c: Add properties
2195 * gdatainputstream.c: Turn byte-order and newline-type into
2198 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2200 * gioenumtypes.[hc].template: Templates for enum registration
2202 * Makefile.am: Generate gioenumtypes.[hc]
2204 * gio.h: Include gioenumtypes.h
2206 * gfile.h: Add some explicit nicks.
2208 * gio.symbols: Add new symbols
2210 * pltcheck.sh: Adjust
2212 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2214 * *.c: Explain etags and link to the explanation
2216 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2218 * *.c: Explain I/O priority.
2220 * *.c: More coding style fixes.
2222 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2224 * gasyncresult.c: Add another paragraph to the intro,
2225 adjust coding style of example.
2227 2007-11-29 A. Walton <awalton@svn.gnome.org>
2230 Fixes unknown meaning in GAppLaunchContext docs.
2232 Clarify asynchronous ops.
2234 Fix entity tag docs.
2237 Provides missing gtk-doc section, fixes API docs slighly.
2238 * gsimpleasyncresult.c:
2239 Fill in missing info in docs.
2240 * gunixinputstream.c:
2241 * gunixoutputstream.c:
2242 Be more expressive in short description.
2244 Remove gtk-doc stubs for non-public API.
2246 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2248 * *.c: Coding style fixups
2250 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2252 * inotify/inotify-helper.c: Don't export the lock from libgio.
2254 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2257 * abicheck.sh: Fix copy-and-paste leftovers
2259 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2261 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2263 2007-11-28 Alexander Larsson <alexl@redhat.com>
2267 Removed unnecessary file
2269 * gdesktopappinfo.[ch]:
2272 * glocaldirectorymonitor.[ch]:
2274 * glocalfileenumerator.[ch]:
2275 * glocalfileinputstream.[ch]:
2276 * glocalfilemonitor.[ch]:
2277 * glocalfileoutputstream.[ch]:
2279 * gnativevolumemonitor.c:
2280 * gpollfilemonitor.[ch]:
2281 * gunionvolumemonitor.[ch]:
2284 * gunixvolumemonitor.[ch]:
2287 * inotify/ginotifydirectorymonitor.[ch]:
2288 * inotify/ginotifyfilemonitor.[ch]:
2289 * inotify/inotify-helper.c:
2290 Append _ to all internal functions
2294 Export symbols needed for modules
2296 2007-11-28 Alexander Larsson <alexl@redhat.com>
2299 * abicheck.sh: Added.
2300 * makegioalias.pl: Added.
2301 * pltcheck.sh: Added.
2302 * gio.symbols: Added.
2305 Initial work on adding symbol handling.
2308 Correct ifdef guard name
2311 * inotify/Makefile.am:
2312 * xdgmime/Makefile.am:
2313 Include toplevel Makefile.decl
2315 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2317 * gcontenttype.c: Move doc comments to the unix section.
2319 * *.[hc]: More trivial doc corrections.
2321 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2323 * gpollfilemonitor.c:
2327 * gdesktopappinfo.c:
2332 * gdatainputstream.c:
2333 * gdatainputstream.h:
2334 * gdataoutputstream.c:
2335 * gdataoutputstream.h:
2336 * gfileinfo.h: Doc cleanups
2338 2007-11-28 Andre Klapper <a9016009@gmx.de>
2340 * gdesktopappinfo.c: Fix a typo.
2342 2007-11-27 Andre Klapper <a9016009@gmx.de>
2344 * glocalfileoutputstream.c: Fix a typo.
2346 2007-11-27 Alexander Larsson <alexl@redhat.com>
2349 Don't include removed headers
2351 2007-11-27 Alexander Larsson <alexl@redhat.com>
2354 * gsocketinputstream.[ch]: Removed.
2355 * gsocketoutputstream.[ch]: Removed.
2356 * gunixinputstream.[ch]: Added.
2357 * gunixoutputstream.[ch]: Added.
2358 Renamed GSocket*Stream to GUnix*Stream and made
2359 it unix-only, since its not really only for sockets
2360 and it only works on unix (but is highly useful there).
2362 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2368 * gbufferedinputstream.c:
2369 * gbufferedinputstream.h:
2370 * gbufferedoutputstream.c:
2371 * gbufferedoutputstream.h:
2375 * gdatainputstream.c:
2376 * gdatainputstream.h:
2377 * gdataoutputstream.c:
2378 * gdataoutputstream.h:
2379 * gdirectorymonitor.c:
2380 * gdirectorymonitor.h:
2387 * gfileenumerator.c:
2388 * gfileenumerator.h:
2393 * gfileinputstream.c:
2394 * gfileinputstream.h:
2397 * gfilenamecompleter.c:
2398 * gfilenamecompleter.h:
2399 * gfileoutputstream.c:
2400 * gfileoutputstream.h:
2401 * gfilterinputstream.c:
2402 * gfilterinputstream.h:
2403 * gfilteroutputstream.c:
2404 * gfilteroutputstream.h:
2417 * glocalfileoutputstream.c:
2418 * gmemoryinputstream.c:
2419 * gmemoryinputstream.h:
2420 * gmemoryoutputstream.c:
2421 * gmemoryoutputstream.h:
2422 * gmountoperation.c:
2423 * gmountoperation.h:
2426 * gpollfilemonitor.c:
2429 * gsimpleasyncresult.c:
2430 * gsimpleasyncresult.h:
2431 * gsocketinputstream.c:
2432 * gsocketinputstream.h:
2433 * gsocketoutputstream.c:
2434 * gsocketoutputstream.h:
2441 * gunixvolumemonitor.c:
2450 Bumps documentation to 93% symbol coverage, touching most
2451 of the public files. Fixes broken function documentation prototypes.
2452 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2453 gtk-doc headers in private files.
2455 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
2457 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2458 (g_buffered_input_stream_read_byte):
2459 * gbufferedinputstream.h:
2460 New functions for efficient access to buffer and simple single byte
2463 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2464 (g_data_input_stream_read_until):
2465 * gdatainputstream.h:
2466 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2467 read_until with multiple stop chars.
2469 2007-11-27 Alexander Larsson <alexl@redhat.com>
2473 * inotify/Makefile.am:
2474 Use the user-specified giomoduledir
2476 2007-11-27 Alexander Larsson <alexl@redhat.com>
2480 Add catch-all gio.h header
2481 Don't install gdummyfile.h
2483 2007-11-26 Alexander Larsson <alexl@redhat.com>
2485 * Makefile.am (gioinclude_HEADERS):
2486 Remove trailing whitespace
2488 2007-11-26 Alexander Larsson <alexl@redhat.com>
2490 Merge gio-standalone into glib
2492 2007-11-25 Christian Kellner <gicmo@gnome.org>
2494 * gio/goutputstream.c:
2495 Fix small mistake in the docs.
2497 2007-11-21 Christian Persch <chpe@gnome.org>
2499 * gio/glocalfile.c: (g_local_file_trash):
2500 Convert filenames to UTF-8 for GError.
2501 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2502 as per xdg base dir spec.
2504 2007-11-21 Christian Persch <chpe@gnome.org>
2506 * gio/gdesktopappinfo.c:
2507 Use that g_key_file_to_data cannot fail.
2509 Use stock defines for the key file group and key names.
2512 2007-11-21 Alexander Larsson <alexl@redhat.com>
2515 (copy_stream_with_progress):
2516 Make sure we do a final progress callback with
2517 the full total size.
2519 2007-11-21 Alexander Larsson <alexl@redhat.com>
2522 Export g_file_copy_attributes
2523 Remove padding as its not needed for interfaces
2525 2007-11-20 Alexander Larsson <alexl@redhat.com>
2530 Add G_IO_ERROR_WOULD_MERGE for
2531 copy/move dir on dir with overwrite.
2533 2007-11-20 Alexander Larsson <alexl@redhat.com>
2536 * gio/glocalfileinfo.c:
2537 Add COPY_NAME (this is an optional
2538 non-modified utf8 version of the name) that
2541 2007-11-20 Alexander Larsson <alexl@redhat.com>
2543 * gio/glocalfileenumerator.c:
2544 Report errors as GIOError, not GFileError
2546 2007-11-16 Alexander Larsson <alexl@redhat.com>
2548 * gio/glocalfileoutputstream.c:
2549 * gio/gwin32appinfo.c:
2550 Fix typos in strings.
2551 Patch from Luca Ferretti <elle.uca@libero.it>
2553 2007-11-15 Alexander Larsson <alexl@redhat.com>
2556 Post release version bump
2558 === gio-standalone 0.1.2 ===
2560 2007-11-15 Alexander Larsson <alexl@redhat.com>
2562 * docs/reference/gio/Makefile.am:
2563 Fix up distcheck by removing weird
2569 2007-11-14 Alexander Larsson <alexl@redhat.com>
2571 * gio/gdesktopappinfo.c:
2572 * gio/glocaldirectorymonitor.c:
2574 * gio/glocalfileinfo.c:
2575 * gio/inotify/inotify-sub.c:
2576 * programs/gio-cat.c:
2577 * programs/gio-copy.c:
2578 * programs/gio-info.c:
2579 * programs/gio-ls.c:
2580 * programs/gio-monitor-dir.c:
2581 * programs/gio-monitor-file.c:
2582 * programs/gio-mount.c:
2583 * programs/gio-move.c:
2584 * programs/gio-rm.c:
2585 * programs/gio-save.c:
2586 * programs/gio-trash.c:
2587 Leak fixes from Kjartan Maraas
2589 2007-11-14 Alexander Larsson <alexl@redhat.com>
2591 * gio/fam/fam-helper.c:
2593 * gio/glocalfileinfo.c:
2597 * gio/inotify/inotify-diag.c:
2598 * gio/inotify/inotify-kernel.c:
2599 Various code cleanups from Kjartan Maraas
2601 2007-11-14 Alexander Larsson <alexl@redhat.com>
2603 * gio/gioscheduler.c:
2605 Set up threadpool so that we cache 2 unused
2606 idle threads for at 15 secs. This means we
2607 will reuse thread-local data (like dbus connections)
2610 2007-11-14 Alexander Larsson <alexl@redhat.com>
2612 * gio/fam/fam-helper.c:
2613 * gio/fam/gfamdirectorymonitor.c:
2614 * gio/fam/gfamfilemonitor.c:
2616 * gio/gcontenttype.c:
2617 * gio/gdatainputstream.c:
2618 * gio/gdataoutputstream.c:
2622 * gio/gfileattribute.h:
2623 * gio/gfileenumerator.c:
2625 * gio/ginputstream.c:
2628 * gio/glocalfileinfo.c:
2629 * gio/goutputstream.c:
2630 * gio/gpollfilemonitor.c:
2631 * gio/gsimpleasyncresult.c:
2632 * gio/gunixmounts.c:
2633 * gio/gunixmounts.h:
2634 * gio/inotify/ginotifydirectorymonitor.c:
2635 * gio/inotify/ginotifyfilemonitor.c:
2636 * gio/inotify/inotify-diag.c:
2637 * gio/inotify/inotify-kernel.c:
2638 * gio/inotify/inotify-path.c:
2640 * gio/test-streams.c:
2641 * programs/gio-info.c:
2642 * programs/gio-monitor-dir.c:
2643 * programs/gio-monitor-file.c:
2644 Various code cleanups from Kjartan Maraas
2646 2007-11-13 Alexander Larsson <alexl@redhat.com>
2649 Handle the uri-scheme calls for dummy files
2651 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2653 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2654 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2655 to avoid clash with the C++ keyword.
2657 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2659 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2660 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2662 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2664 * gio/glocaldirectorymonitor.c:
2665 * gio/glocalfilemonitor.c:
2666 * gio/gunionvolumemonitor.c:
2667 Don't use g_once_init_*() for initializations that could fail and
2668 could leave the initialization variable set to 0 but use GOnce.
2669 This prevents a deadlock on the second call when trying to create
2670 a monitor and no monitor type is available. Thanks to Sven Herzberg
2673 2007-11-11 Sven Herzberg <sven@imendio.com>
2675 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2676 #ifdef (make it work on MacOS X again)
2678 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2680 Fixes Changelog for last two commits (sorry guys).
2682 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2684 * gio/gbufferedinputstream.c:
2685 * gio/gdatainputstream.c:
2687 * gio/gfileoutputstream.c:
2688 * gio/gfilterinputstream.c:
2689 * gio/glocalfileinputstream.c:
2692 More consistency fixes in g*stream.c files.
2693 Significant clean of gfile's documentation, filling in of
2694 asynchronous operations documentation.
2696 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2698 * gio/gasyncresult.c:
2699 * gio/gbufferedinputstream.c:
2700 * gio/gbufferedoutputstream.c:
2701 * gio/gcancellable.c:
2702 * gio/gcontenttype.c:
2703 * gio/gdatainputstream.c:
2704 * gio/gdataoutputstream.c:
2705 * gio/gdesktopappinfo.c:
2708 * gio/gfileattribute.c:
2709 * gio/gio/gfileenumerator.c:
2711 * gio/gfileinputstream.c:
2712 * gio/gfilemonitor.c:
2713 * gio/gfileoutputstream.c:
2714 * gio/ginputstream.c:
2716 * gio/gioscheduler.c:
2717 * gio/gloadableicon.c:
2718 * gio/glocalfileoutputstream.c:
2719 * gio/gmemoryoutputstream.c:
2720 * gio/gmountoperation.c:
2721 * gio/goutputstream.c:
2723 * gio/gsimpleasyncresult.c:
2724 * gio/gunionvolumemonitor.c:
2725 * gio/gunixmounts.c:
2726 * gio/gunixvolume.c:
2730 * gio/gvolumemonitor.c:
2731 Updated documentation stubs, working towards consistency and
2734 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2736 * gio/gmemoryoutputstream.c:
2737 * gio/gmemoryoutputstream.h:
2738 Change g_memory_output_stream_set_free_on_close() to
2739 g_memory_output_stream_set_free_data() as this makes more sense and
2740 is more consistent with GMemoryInputStream.
2742 2007-11-07 Alexander Larsson <alexl@redhat.com>
2749 Change how we find the default vfs so that
2750 we can handle a gvfs failing to init
2752 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2754 * gio/gbufferedoutputstream.c:
2755 * gio/gdatainputstream.c:
2756 * gio/gdataoutputstream.c:
2757 * gio/gfileinputstream.c:
2758 * gio/gfileoutputstream.c:
2759 * gio/gfilterinputstream.c:
2760 * gio/gfilteroutputstream.c:
2761 * gio/ginputstream.c:
2762 * gio/gmemoryinputstream.c:
2763 * gio/gmemoryoutputstream.c:
2764 * gio/goutputstream.c:
2765 * gio/gsimpleasyncresult.c:
2766 * gio/gsocketinputstream.c:
2767 * gio/gsocketoutputstream.c:
2768 Add guards to the remaining public functions, add a TODO for
2769 an unimplemented function and remove some useless guards.
2771 2007-11-07 Alexander Larsson <alexl@redhat.com>
2774 Autoconf checks for the various types of
2775 getpwuid_r and getgrgid_r
2777 * gio/glocalfileinfo.c:
2778 Use the autoconf checks from above
2780 2007-11-07 Alexander Larsson <alexl@redhat.com>
2783 (g_local_file_query_filesystem_info):
2784 Some fixes for the statvfs case
2786 2007-11-07 Alexander Larsson <alexl@redhat.com>
2789 (g_local_file_query_filesystem_info):
2790 Pick the "best" of statfs / statvfs for the system
2791 if both are availible.
2793 2007-11-07 Alexander Larsson <alexl@redhat.com>
2795 Solaris fixes from Halton.Huo@Sun.COM:
2802 * gio/glocalfileinfo.c:
2803 Fix for solaris definition of getpwuid_r
2805 * gio/test-streams.c:
2806 Use G_GNUC_PRETTY_FUNCTION
2808 2007-11-07 Alexander Larsson <alexl@redhat.com>
2810 * gio/gdesktopappinfo.c:
2811 (update_default_list):
2812 Remove double semicolon.
2813 Patch from Jens Granseuer
2815 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2817 * docs/reference/gio/gio-sections.txt:
2818 * gio/gbufferedinputstream.c:
2819 * gio/gbufferedinputstream.h:
2820 * gio/gdatainputstream.c:
2821 * gio/gfileenumerator.c:
2822 * gio/gioscheduler.c:
2823 * gio/gunionvolumemonitor.c:
2825 * programs/gio-save.c:
2826 Fix typo: availible -> available. Unfortuntely this breaks API
2827 and ABI as g_buffered_input_stream_get_available() was renamed.
2829 * gio/gunixmounts.c:
2830 * gio/gbufferedinputstream.c:
2831 Add guards for public functions.
2833 2007-11-06 Ross Burton <ross@openedhand.com>
2835 * docs/reference/gio/Makefile.am:
2836 Fix invalid += usage which automake 1.10 doesn't like.
2838 2007-11-06 Alexander Larsson <alexl@redhat.com>
2841 (g_app_launch_context_class_init):
2844 Patch from Ross Burton
2846 2007-11-06 Alexander Larsson <alexl@redhat.com>
2849 Post release version bump
2851 === gio-standalone 0.1.1 ===
2853 2007-11-06 Alexander Larsson <alexl@redhat.com>
2856 Bump version to 0.1.1
2858 * gio/gsimpleasyncresult.c:
2859 (g_simple_async_result_set_from_error):
2860 Remove bogus g_return_if_fail
2862 2007-11-06 Alexander Larsson <alexl@redhat.com>
2865 The name is gio-standalone
2868 Add top src/builddir to includedir
2870 2007-11-06 Alexander Larsson <alexl@redhat.com>
2872 * docs/reference/gio/gio-sections.txt:
2874 * gio/gbufferedinputstream.c:
2875 * gio/gbufferedoutputstream.c:
2876 * gio/gcancellable.c:
2877 * gio/gdatainputstream.h:
2878 * gio/gdataoutputstream.c:
2879 * gio/gdataoutputstream.h:
2880 * gio/gdirectorymonitor.c:
2882 * gio/gfileattribute.c:
2883 * gio/gfileattribute.h:
2884 * gio/gfileenumerator.c:
2885 * gio/gfileenumerator.h:
2888 * gio/gfileinputstream.h:
2889 * gio/gfilemonitor.c:
2890 * gio/gfileoutputstream.h:
2891 * gio/glocalfilemonitor.h:
2892 * gio/glocalfileoutputstream.h:
2893 * gio/gmemoryinputstream.c:
2894 * gio/gmemoryoutputstream.c:
2895 * gio/gmountoperation.c:
2896 * gio/goutputstream.c:
2897 * gio/goutputstream.h:
2899 * gio/gsimpleasyncresult.c:
2900 * gio/gunixmounts.c:
2901 * gio/gunixmounts.h:
2903 * gio/inotify/inotify-helper.c:
2904 Fix gtk-doc warnings
2906 Patch from Ross Burton
2908 2007-11-06 Alexander Larsson <alexl@redhat.com>
2910 * gio/gfilenamecompleter.c:
2911 (g_filename_completer_get_completions):
2914 * gio/gunixvolume.c:
2915 Remove unused function
2917 Patches from Ross Burton
2919 2007-11-06 Alexander Larsson <alexl@redhat.com>
2924 Padding not needed for interfaces
2926 2007-11-06 Alexander Larsson <alexl@redhat.com>
2928 * gio/gfilemonitor.c:
2932 Make giotypes.h an internal file
2935 * gio/gbufferedinputstream.h:
2936 * gio/gbufferedoutputstream.h:
2937 * gio/gcancellable.h:
2938 * gio/gdatainputstream.h:
2939 * gio/gdataoutputstream.h:
2940 * gio/gdirectorymonitor.c:
2941 * gio/gdirectorymonitor.h:
2946 * gio/gfileattribute.h:
2947 * gio/gfileenumerator.h:
2952 * gio/gfilemonitor.c:
2953 * gio/gfilemonitor.h:
2954 * gio/gfilenamecompleter.c:
2955 * gio/gfilenamecompleter.h:
2956 * gio/gfilterinputstream.h:
2957 * gio/gfilteroutputstream.h:
2958 * gio/ginputstream.h:
2959 * gio/gmemoryinputstream.h:
2960 * gio/gmemoryoutputstream.h:
2961 * gio/gmountoperation.c:
2962 * gio/gmountoperation.h:
2963 * gio/gnativevolumemonitor.c:
2964 * gio/goutputstream.h:
2967 * gio/gsimpleasyncresult.c:
2968 * gio/gsimpleasyncresult.h:
2969 * gio/gsocketinputstream.h:
2970 * gio/gsocketoutputstream.h:
2971 * gio/gthemedicon.c:
2972 * gio/gthemedicon.h:
2976 * gio/gvolumemonitor.c:
2977 * gio/gvolumemonitor.h:
2978 Add padding in classes where it seems useful
2979 Don't include giotypes.h from public headers
2980 Move in Class definitions into c file where possible
2985 2007-11-06 Alexander Larsson <alexl@redhat.com>
2987 * docs/reference/gio/gio-docs.xml:
2988 Better structure for API docs
2990 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2993 * gio/gloadableicon.c:
2994 * gio/gsimpleasyncresult.c:
2995 * gio/gthemedicon.c:
2996 Add some more guards to public functions. Only files missing are now
2999 2007-11-06 Alexander Larsson <alexl@redhat.com>
3001 * docs/reference/gio/gio-docs.xml:
3002 Remove old files, add missing ones
3004 2007-11-06 Alexander Larsson <alexl@redhat.com>
3006 * docs/reference/gio/gio-sections.txt:
3009 Hide implementation classes
3011 * gio/gdriveprivate.h:
3012 * gio/gvolumeprivate.h:
3013 Remove non-existing function declarations
3015 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3018 Fix compilation warnings and add guards to the new functions.
3020 * gio/gasyncresult.c:
3022 Add guards to the public functions.
3025 Implement get_path().
3027 2007-11-06 Alexander Larsson <alexl@redhat.com>
3029 * gio/gfilenamecompleter.c:
3030 Make g_filename_completer_get_completions
3031 return char ** instead of GList for
3034 * docs/reference/gio/gio-docs.xml:
3035 * docs/reference/gio/gio-sections.txt:
3037 * gio/gasyncresult.c:
3038 * gio/gbufferedinputstream.c:
3039 * gio/gbufferedoutputstream.c:
3040 * gio/gcancellable.c:
3041 * gio/gcontenttype.c:
3042 * gio/gdatainputstream.c:
3043 * gio/gdataoutputstream.c:
3044 * gio/gdesktopappinfo.c:
3045 * gio/gdirectorymonitor.c:
3049 * gio/gfileattribute.c:
3050 * gio/gfileenumerator.c:
3053 * gio/gfileinputstream.c:
3054 * gio/gfilemonitor.c:
3055 * gio/gfilenamecompleter.c:
3056 * gio/gfilenamecompleter.h:
3057 * gio/gfileoutputstream.c:
3058 * gio/gfilterinputstream.c:
3060 * gio/ginputstream.c:
3062 * gio/gioscheduler.c:
3063 * gio/gloadableicon.c:
3064 * gio/glocaldirectorymonitor.c:
3066 * gio/glocalfileinputstream.c:
3067 * gio/glocalfilemonitor.c:
3068 * gio/glocalfileoutputstream.c:
3070 * gio/gmemoryinputstream.c:
3071 * gio/gmemoryoutputstream.c:
3072 * gio/gmountoperation.c:
3073 * gio/goutputstream.c:
3074 * gio/gpollfilemonitor.c:
3076 * gio/gsimpleasyncresult.c:
3077 * gio/gsocketinputstream.c:
3078 * gio/gsocketoutputstream.c:
3079 * gio/gthemedicon.c:
3080 * gio/gunionvolumemonitor.c:
3082 * gio/gunixmounts.c:
3083 * gio/gunixvolume.c:
3084 * gio/gunixvolumemonitor.c:
3088 * gio/gvolumemonitor.c:
3089 * gio/gwin32appinfo.c:
3090 Add (mostly stub) doc strings to public functions.
3091 Patch from Andrew Walton (awalton@gmail.com)
3093 2007-11-06 Alexander Larsson <alexl@redhat.com>
3095 * gio/gappinfo.[ch]:
3096 Added GAppLaunchContext object and pass that to launch.
3097 This allows simple implementation of both
3098 launch-on-screen and startup notification via a gtk+
3099 subclass of GAppLaunchContext
3101 * gio/gdesktopappinfo.c:
3102 Implement GAppLaunchContext API
3104 * gio/gwin32appinfo.c:
3107 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3109 * gio/gmountoperation.c:
3110 Add some guards to GMountOperation's public functions.
3112 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3116 * gio/gcancellable.c:
3117 * gio/gdirectorymonitor.c:
3119 * gio/gfileenumerator.c:
3120 * gio/gfilemonitor.c:,
3121 * gio/gfilenamecompleter.c:
3124 * gio/gioscheduler.c:
3128 * gio/gvolumemonitor.c:
3129 Add even more guards to various public functions.
3131 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3134 Add guards to the public functions of GAppInfo.
3136 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3138 * gio/gcontenttype.c:
3139 Add some more guards for public functions.
3141 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3143 * gio/fam/fam-module.c:
3144 * gio/fam/gfamdirectorymonitor.c:
3145 * gio/fam/gfamdirectorymonitor.h:
3146 * gio/fam/gfamfilemonitor.c:
3147 * gio/fam/gfamfilemonitor.h:
3148 * gio/inotify/ginotifydirectorymonitor.c:
3149 * gio/inotify/ginotifydirectorymonitor.h:
3150 * gio/inotify/ginotifyfilemonitor.c:
3151 * gio/inotify/ginotifyfilemonitor.h:
3152 Add proper copyright information and remove an unused variable
3153 in the GInotifyFileMonitor constructor.
3155 * gio/gcancellable.c:
3156 Add a guard for a public function and an assertion to prevent
3157 an undefined program state.
3159 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3161 * gio/gfileattribute.c:
3162 Don't run into an assertion if the given attribute value is NULL
3163 in g_file_attribute_value_get_*() but instead return a fallback
3164 value that makes sense in most situations. Passing them a attribute
3165 value with the wrong type will still run into an assertion.
3167 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3169 * gio/gfileattribute.c:
3171 Add even more guards to the public functions. Also fix the refcounting
3172 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3173 let g_file_info_list_attributes() filter the attributes by namespace
3174 instead of simply ignoring the namespace parameter.
3176 2007-11-03 Sven Herzberg <sven@imendio.com>
3178 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3179 (This makes gio work on MacOS X again)
3181 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3184 Build the gio subdirectory before the docs. Otherwise the build will
3187 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3188 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3189 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3190 Add guards to the public functions.
3192 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3194 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3195 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3196 to prevent a compiler warning.
3198 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3199 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3200 return something in the non-void function find_topdir_for().
3202 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3209 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3211 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3212 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3213 * gwin32appinfo.c (g_win32_app_info_launch):
3214 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3215 envp_for_startup_id, g_desktop_app_info_launch,
3216 g_desktop_app_info_launch_uris):
3218 Give an opaque 'startup_id' string instead of 'envp'.
3219 Support empty file lists for launching new windows.
3220 Fix infinite recursion bug when launching URIs.
3222 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3225 Add guard to the new g_file_get_uri_scheme() function.
3227 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3230 Convert a g_return_val_if_fail() to setting the GError instead as
3231 otherwise applications have to verify the parameter before otherwise
3232 and the parameter might come directly from the user.
3234 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3236 * gio/inotify/ginotify*.[ch]:
3237 Add missing copyright information.
3239 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3242 Add guards in the beginning of public functions to check for valid
3243 parameters and fix a bug in copy_stream_with_progress() that could've
3244 caused writing less bytes than reading.
3245 * gio/glocalfileinfo.c:
3246 Check for a NULL parameter and set the GError accordingly then.
3247 * gio/goutputstream.c:
3248 Fix the same bug as in gfile.c that could've caused writing less bytes
3249 than reading in g_output_stream_real_splice().
3251 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3254 Use the correct gvolumeprivate.h naming
3256 2007-11-01 Christian Kellner <gicmo@gnome.org>
3259 Remove leftover "$(daemon_sources)" entry.
3261 2007-11-01 Christian Kellner <gicmo@gnome.org>
3266 Add copyright information to source files.
3268 2007-11-01 Alexander Larsson <alexl@redhat.com>
3272 Add g_file_get_uri_scheme
3274 2007-11-01 Alexander Larsson <alexl@redhat.com>
3277 * gio/gdesktopappinfo.c:
3278 * gio/gwin32appinfo.c:
3279 Add g_app_info_get_default_for_uri_scheme.
3281 2007-11-01 Alexander Larsson <alexl@redhat.com>
3284 Correct filename for gdriveprivate.h
3286 2007-10-31 Alexander Larsson <alexl@redhat.com>
3289 Rename id:value to id:file
3292 * gio/glocalfileinfo.c:
3295 2007-10-31 Alexander Larsson <alexl@redhat.com>
3297 * gio/gunixvolume.c:
3299 Remove g_volume_get_platform_id, as thats not
3300 needed with the simpler union volume monitor
3302 2007-10-31 Alexander Larsson <alexl@redhat.com>
3305 * gio/guniondrive.[ch]: Removed.
3306 * gio/gunionvolume.[ch]: Removed.
3307 Remove GUnionDrive/Volume
3309 * gio/gunionvolumemonitor.c:
3310 Simplify union volume monitor, now we
3311 only have one native volume monitor and
3312 we use the actual volumes/drives from the
3313 child monitors instead of wrapping them
3315 * gio/gnativevolumemonitor.[ch]:
3316 Base class for native volume monitors.
3317 Includes priority and get_volume_for_mountpoint
3320 Add g_file_find_enclosing_volume
3323 Remove volume name fs attribute
3324 Add readonly fs attribute
3327 Implement readonly attribute
3328 remove volume name attribute
3329 Implement find_enclosing volume
3331 * gio/gunixmounts.c:
3332 Add a volume for "/".
3334 * gio/gunixvolume.[ch]:
3335 Set better name for /
3337 * gio/gunixvolumemonitor.[ch]:
3338 Derive from GNativeVolumeMonitor
3339 Implement get_volume_for_mountpoint
3342 GVolume typedef moved to gfile.h
3344 * gio/gvolumeprivate.h:
3345 Add g_volume_get_for_mount_path
3347 2007-10-31 Alexander Larsson <alexl@redhat.com>
3349 * gio/gunixmounts.[ch]:
3350 Add cache info to unix mount listers
3351 Make getmntent use threadsafe
3352 Add is_system_internal attribute for GUnixMount
3354 * gio/gunixvolume.c:
3355 (g_unix_volume_new):
3356 Use is_system_internal instead of own code
3358 * gio/glocaldirectorymonitor.c:
3359 * gio/gunixvolumemonitor.c:
3360 Update to new gunixmounts API
3365 2007-10-30 Alexander Larsson <alexl@redhat.com>
3368 Add volume name fsinfo attribute
3371 Read volume name info
3373 * gio/gunionvolumemonitor.c:
3374 Fix infinite loops when finalizing a union volume monitor
3376 2007-10-30 Alexander Larsson <alexl@redhat.com>
3378 * gio/goutputstream.[ch]:
3379 Add splice() with default implementation
3381 * gio/gsocketoutputstream.c:
3382 (g_socket_output_stream_write):
3383 Return error on cancellation correctly.
3385 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3387 * gio/glocalfile.c (g_local_file_trash):
3388 Do not leak a string.
3390 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3392 * gio/gfile.c (g_file_load_contents):
3393 Unref the stream after closing it.
3395 2007-10-25 Alexander Larsson <alexl@redhat.com>
3397 * gio/gioscheduler.h:
3400 2007-10-25 Alexander Larsson <alexl@redhat.com>
3404 Add g_file_has_uri_scheme and implement for local files
3406 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3408 * gio/gdesktopappinfo.c: do not leak a string.
3410 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3412 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3413 (g_local_directory_monitor_new):
3414 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3415 (g_local_file_monitor_new):
3416 Only look for the monitor type that should be used the first time
3417 and use g_qsort_with_data() instead of our own bubble sort
3420 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3423 * gio/fam/Makefile.am:
3424 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3425 * gio/fam/fam-helper.h:
3426 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3427 * gio/fam/gfamdirectorymonitor.c:
3428 * gio/fam/gfamdirectorymonitor.h:
3429 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3430 * gio/fam/gfamfilemonitor.h:
3431 * gio/glocaldirectorymonitor.c:
3432 * gio/glocaldirectorymonitor.h:
3433 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3434 * gio/glocalfilemonitor.h:
3435 * gio/inotify/Makefile.am:
3436 * gio/inotify/ginotifydirectorymonitor.c:
3437 * gio/inotify/ginotifydirectorymonitor.h:
3438 * gio/inotify/ginotifyfilemonitor.c:
3439 * gio/inotify/ginotifyfilemonitor.h:
3440 Implement the FAM and Inotify monitors as
3441 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3442 their own GIO module. GLocal(Directory|File)Monitor will use the
3443 monitor with the highest rank that is supported on that machine.
3445 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3448 Change GIO module dir to $(libdir)/gio/modules and change
3449 the log domain from GVFS to GIO. Also only export symbols starting
3450 with g_ in the resulting library.
3451 * gio/test-streams.c: (main):
3452 Set log handler for the GIO log domain.
3454 2007-10-22 Alexander Larsson <alexl@redhat.com>
3456 * gio/gfilenamecompleter.[ch]:
3457 Add g_filename_completer_set_dirs_only
3459 2007-10-22 Alexander Larsson <alexl@redhat.com>
3462 * gio/gurifuncs.[ch]:
3463 Add some simple URI helpers
3465 * gio/gfilenamecompleter.[ch]:
3466 Added object for filename (parse name actually) completion
3469 Handle ~ in parse names
3471 2007-10-17 Alexander Larsson <alexl@redhat.com>
3474 * gio/glocalfileinfo.c:
3475 Add and implement id:value attribute
3477 2007-10-17 Alexander Larsson <alexl@redhat.com>
3480 * gio/guniondrive.c:
3482 Add and implement g_drive_has_volumes
3484 2007-10-17 Alexander Larsson <alexl@redhat.com>
3487 * gio/glocalfileinfo.[ch]:
3488 Add unix:is_mountpoint and implement for local files
3490 2007-10-16 Alexander Larsson <alexl@redhat.com>
3492 * gio/gunionvolumemonitor.c:
3493 (g_union_volume_monitor_init):
3494 Fix up the unix type getting so that it works with gcc
3496 2007-10-12 Alexander Larsson <alexl@redhat.com>
3499 * gio/glocalfileinfo.c:
3500 Add thumbnail:failed to file info
3502 2007-10-12 Richard Hult <richard@imendio.com>
3504 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3505 optimizing away the get_type call (happens with some gcc versions,
3506 like the one shipped with OS X 10.4).
3508 2007-10-12 Alexander Larsson <alexl@redhat.com>
3510 * gio/glocalfileinfo.c:
3511 (_g_local_file_info_set_attribute):
3512 Fix build if not HAVE_XATTR
3513 Patch from Milosz Derezynski <internalerror@gmail.com>
3515 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3517 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3518 around for review, otherwise I would have asked you before
3521 2007-10-11 Alexander Larsson <alexl@redhat.com>
3524 Add thumbnail:path attribute
3526 * gio/glocalfileinfo.c:
3527 Implement thumbnail:path for local files
3529 2007-10-11 Alexander Larsson <alexl@redhat.com>
3531 * gio/glocalfileinfo.c:
3532 (_g_local_file_info_get):
3533 Avoid duplicate icon names
3535 2007-10-11 Alexander Larsson <alexl@redhat.com>
3537 * gio/gthemedicon.[ch]:
3538 Change g_themed_icon_get_names return type to const
3540 2007-10-10 Alexander Larsson <alexl@redhat.com>
3542 * gio/glocalfileinfo.c:
3543 Don't reference freed memory
3545 2007-10-10 Alexander Larsson <alexl@redhat.com>
3547 * gio/gfileattribute.c:
3550 * gio/glocalfileinfo.c:
3553 2007-10-10 Alexander Larsson <alexl@redhat.com>
3556 Check for NULL icons
3558 * gio/gfileattribute.c:
3559 Don't dup when getting objects (same as for string attributes)
3561 * gio/gicon.c (g_icon_equal):
3562 Safely handle NULLs in equal
3564 2007-10-10 Alexander Larsson <alexl@redhat.com>
3567 Fix c++ compilation issues
3568 Patch from Milosz Derezynski <internalerror@gmail.com>
3570 2007-10-10 Alexander Larsson <alexl@redhat.com>
3572 * programs/gio-monitor-dir.c:
3573 Don't crash if dir monitor not supported.
3575 2007-10-09 Alexander Larsson <alexl@redhat.com>
3578 Add missing G_END_DECLS
3580 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3582 * gio/gfile.c: (g_file_set_display_name),
3583 (g_file_query_settable_attributes),
3584 (g_file_query_writable_namespaces):
3585 Return NULL not FALSE on errors as the return type is a pointer.
3587 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3589 * gio/glocalfile.c: (g_local_file_monitor_file):
3590 Don't call monitor_file on the default interface vtable (which
3591 is NULL) but simply return NULL. The caller, GFile, will create a
3592 polling monitor if NULL is returned.
3594 2007-10-09 Alexander Larsson <alexl@redhat.com>
3598 * gio-unix-2.0.pc.in:
3599 Add gio-unix-2.0.pc if OS_UNIX
3602 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3604 2007-10-09 Alexander Larsson <alexl@redhat.com>
3606 * gio/gunixmounts.[ch]:
3607 Make unix mount monitoring API sane.
3608 Now its just a object with mounts_changed
3609 and mountpoints_changed signals.
3611 * gio/glocaldirectorymonitor.c:
3612 * gio/gunixvolumemonitor.c:
3613 Use new mount monitor api
3615 2007-10-09 Alexander Larsson <alexl@redhat.com>
3617 * gio/gunixmounts.[ch]:
3618 Move guess type into one call for mounts and one for mountpoints
3621 * gio/gunixvolume.c:
3624 2007-10-09 Alexander Larsson <alexl@redhat.com>
3626 * gio/gunixmounts.[ch]:
3627 Remove _ prefix in preparation to make this semi-public
3628 Hide implementation of structs
3630 * gio/glocaldirectorymonitor.c:
3632 * gio/gunixvolume.c:
3633 * gio/gunixvolumemonitor.c:
3634 Update for above API changes
3636 2007-10-08 Alexander Larsson <alexl@redhat.com>
3639 Better polling fallback. This also handles the case where we have
3640 a monitor_file implementation, but it fails.
3642 2007-10-08 Alexander Larsson <alexl@redhat.com>
3646 * gio/gunixmounts.c:
3647 * programs/gio-monitor-dir.c:
3648 * programs/gio-monitor-file.c:
3649 Added cancellable to file monitoring calls.
3650 These are really sync calls and need this.
3652 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3654 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3655 (g_local_vfs_class_init):
3656 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3657 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3659 2007-10-05 Alexander Larsson <alexl@redhat.com>
3661 * gio/gdirectorymonitorprivate.h:
3662 * gio/gfilemonitorprivate.h:
3663 * gio/gdirectorymonitor.h:
3664 * gio/gfilemonitor.h:
3665 Remove *private.h and move to the public API, so that
3666 we can do implementations outside gio (such as in gvfs)
3668 * gio/gdirectorymonitor.c:
3669 * gio/gfilemonitor.c:
3670 * gio/glocaldirectorymonitor.c:
3671 * gio/gpollfilemonitor.c:
3672 * gio/inotify/inotify-helper.c:
3673 * gio/fam/fam-helper.c:
3674 Update to the new header names
3676 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3678 * gio/gdirectorymonitor.c:
3679 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3682 2007-10-04 Alexander Larsson <alexl@redhat.com>
3684 * gio/glocalfileinfo.c (get_access_rights):
3685 Set CAN_TRASH when we can move the file.
3686 We should really also check for a parent trash dir.
3688 2007-10-04 Alexander Larsson <alexl@redhat.com>
3690 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3691 Add can_trash access attribute
3693 2007-10-04 Alexander Larsson <alexl@redhat.com>
3696 (g_local_file_trash):
3697 Create info file first. This is per-spec and allows
3698 us to actually trash directories.
3700 2007-10-02 Alexander Larsson <alexl@redhat.com>
3702 * gio/gdesktopappinfo.c:
3703 Implement the new mime support code.
3704 Always set app as handling mimetype when being set as default for it
3706 2007-10-01 Alexander Larsson <alexl@redhat.com>
3708 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3709 Fix up check for xattrs:
3711 2007-10-01 Alexander Larsson <alexl@redhat.com>
3714 (g_app_info_set_as_default_for_extension):
3715 (g_app_info_add_supports_type):
3716 (g_app_info_can_remove_supports_type):
3717 (g_app_info_remove_supports_type):
3718 Make these fail nicely if not implemented
3720 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3722 * gio/glocalfileoutputstream.c:
3723 * gio/glocalfileoutputstream.h:
3728 * programs/gio-save.c:
3729 Add a GFileCreateFlags argument to operations that can create
3732 2007-10-01 Alexander Larsson <alexl@redhat.com>
3734 * gio/gappinfo.[ch]:
3735 * gio/gdesktopappinfo.c:
3736 Add more (stubbed out) mime API needed for nautilus
3738 2007-10-01 Alexander Larsson <alexl@redhat.com>
3741 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3742 Add g_app_info_set_as_default_for_extension.
3744 * gio/gdesktopappinfo.c:
3745 Dummy for g_app_info_set_as_default_for_extension
3746 Support flags in g_app_info_create_from_commandline
3748 * gio/gwin32appinfo.c:
3750 Update for API changes
3752 * gio/gthemedicon.c:
3753 Properly NULL-terminate list of icon names
3755 2007-09-28 Alexander Larsson <alexl@redhat.com>
3757 * gio/gloadableicon.h:
3758 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3760 2007-09-28 Alexander Larsson <alexl@redhat.com>
3763 Install headers in $includedir/gio-standalone/
3765 * gio-2.0.pc.in: Added.
3766 * gio-standalone.pc.in: Removed.
3769 Renamed pkg-config file to match glib (for future move)
3770 Update to the new include dir
3773 Add more TODO comments
3775 2007-09-28 Alexander Larsson <alexl@redhat.com>
3777 * gio/gdesktopappinfo.[ch]:
3778 Expose new_from_filename
3779 Add getter for is_hidden and handle it better
3781 2007-09-28 Alexander Larsson <alexl@redhat.com>
3783 * gio/gfileinfo.[ch]:
3784 Rename g_file_size_format_for_display to
3785 g_format_file_size_for_display.
3786 Now it doesn't have the g_file prefix, so we
3787 can later move it to glib.
3789 2007-09-28 Alexander Larsson <alexl@redhat.com>
3791 * gio/gappinfo.[ch]:
3792 Add g_app_info_get_id and g_app_info_get_executable.
3793 Make all getters non-reffing
3794 Make g_app_info_launch take GFile arguments.
3795 Add must_support_uris argument to g_app_info_get_default_for_type.
3797 * gio/gwin32appinfo.c:
3798 Update to GAppInfo api changes
3800 * gio/gdesktopappinfo.c:
3801 Update to GAppInfo api changes
3802 Implement supports_xdg_startup_notify
3804 * gio/gfileicon.c (g_file_icon_get_file):
3805 Make getter non-reffing.
3810 2007-09-27 Alexander Larsson <alexl@redhat.com>
3812 * gio/gfileinfo.[ch]:
3813 Add g_file_size_format_for_display helper
3815 2007-09-27 Alexander Larsson <alexl@redhat.com>
3817 * gio/glocalfileinfo.c:
3818 Set UNIX_GID from gid, not from uid
3820 2007-09-27 Alexander Larsson <alexl@redhat.com>
3823 Add g_file_set_attributes_async
3825 2007-09-27 Alexander Larsson <alexl@redhat.com>
3827 * gio/glocalfile.c (g_local_file_set_display_name):
3828 Fix set_display_name to actually rename to the right place.
3829 Use lstat to look for existing files so we don't overwrite
3832 2007-09-26 Alexander Larsson <alexl@redhat.com>
3835 Add g_file_set_display_name_async()
3837 2007-09-26 Alexander Larsson <alexl@redhat.com>
3840 Add load_partial_contents async calls
3843 Make internal function static
3845 2007-09-26 Alexander Larsson <alexl@redhat.com>
3847 * gio/glocalfileinfo.c:
3848 Correctly detect broken symlinks
3850 2007-09-26 Alexander Larsson <alexl@redhat.com>
3852 * gio/gcancellable.c (g_cancellable_cancel):
3853 Allow cancel on NULL cancellable
3855 2007-09-25 Alexander Larsson <alexl@redhat.com>
3857 * gio/gsimpleasyncresult.c:
3858 Don't allocate g_error manually.
3859 Fixes g_slice/g_new mixup crash
3861 2007-09-25 Alexander Larsson <alexl@redhat.com>
3863 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3864 Actually set active_backend.
3865 This means the monitor will be cancelled correctly.
3867 2007-09-25 Alexander Larsson <alexl@redhat.com>
3869 * gio/gdirectorymonitor.c:
3870 Set timeout to NULL when destroying
3872 2007-09-25 Alexander Larsson <alexl@redhat.com>
3875 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3876 that is a better description of the error.
3878 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3880 * gio/gvfs.c: (g_vfs_get_local):
3881 Make the local vfs variable static. The same instance should
3884 2007-09-24 Alexander Larsson <alexl@redhat.com>
3886 * gio/glocalfileinfo.c:
3887 Pass in actual length read into sniffer, not the length
3890 2007-09-21 Alexander Larsson <alexl@redhat.com>
3892 * gio/gfileenumerator.c:
3895 * gio/gfileinputstream.c:
3896 * gio/gfileoutputstream.c:
3897 * gio/ginputstream.c:
3898 * gio/goutputstream.c:
3899 Don't crash if async callbacks are NULL
3901 2007-09-20 Alexander Larsson <alexl@redhat.com>
3904 Add async enumerate_children method and default
3907 2007-09-20 Alexander Larsson <alexl@redhat.com>
3910 Add g_file_contains_file & g_file_get_relative_path, since they
3911 were needed for nautilus.
3912 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3917 Implement new methods
3919 2007-09-17 Alexander Larsson <alexl@redhat.com>
3922 * gio/gfileinputstream.[ch]:
3923 * gio/gfileoutputstream.[ch]:
3925 * gio/glocalfileenumerator.[ch]:
3926 * gio/glocalfileinfo.[ch]:
3927 * gio/glocalfileinputstream.c:
3928 * gio/glocalfileoutputstream.c:
3929 * gio/gpollfilemonitor.c:
3930 * programs/gio-copy.c:
3931 * programs/gio-info.c:
3932 * programs/gio-move.c:
3933 Rename get_file_info to query_info() to make it clearer
3934 that these are not simple getters, but do i/o.
3936 2007-09-17 Alexander Larsson <alexl@redhat.com>
3938 * gio/gdatainputstream.[ch]:
3939 * gio/test-streams.c:
3940 Use _read_XXX instead of _get_XXX for the i/o calls
3943 2007-09-17 Alexander Larsson <alexl@redhat.com>
3946 Added needed stuff to TODO comment
3948 2007-09-17 Alexander Larsson <alexl@redhat.com>
3950 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3951 Don't error out removing the backup copy if it doesn't
3954 2007-09-14 Alexander Larsson <alexl@redhat.com>
3956 * programs/Makefile.am:
3957 * programs/gvfs-*.c:
3959 Renamed apps from gvfs-xxx to gio-xxx.
3961 2007-09-14 Alexander Larsson <alexl@redhat.com>
3964 * gio/gfileoutputstream.[ch]:
3965 * gio/glocalfileoutputstream.c:
3966 * programs/gvfs-save.c:
3967 g_file_output_stream_get_etag doesn't do i/o, so remove
3968 cancellation and error.
3970 2007-09-14 Alexander Larsson <alexl@redhat.com>
3973 Add new_etag output to replace_contents functions
3975 2007-09-14 Alexander Larsson <alexl@redhat.com>
3977 * gio/gfileoutputstream.[ch]:
3978 Add async get_file_info and default implementation
3980 2007-09-14 Alexander Larsson <alexl@redhat.com>
3982 * gio/gfileinputstream.c:
3983 Implement fallback wrapper for async get_file_info
3985 2007-09-14 Alexander Larsson <alexl@redhat.com>
3988 Add etag out argument to load_contents
3993 2007-09-14 Alexander Larsson <alexl@redhat.com>
3995 * gio/gcontenttype.c (looks_like_text):
3996 Whitespace like tab, cr and lf do not make the
3999 2007-09-14 Alexander Larsson <alexl@redhat.com>
4001 * gio/gfileinputstream.[ch]:
4002 Add async get_file_info.
4004 2007-09-13 Alexander Larsson <alexl@redhat.com>
4006 * gio/goutputstream.c (g_output_stream_write_all):
4007 Allow NULL for bytes_written
4009 2007-09-13 Alexander Larsson <alexl@redhat.com>
4011 * gio/gmemoryinputstream.[ch]:
4012 Add accessors for data
4014 2007-09-13 Alexander Larsson <alexl@redhat.com>
4016 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4017 Don't crash if length is NULL