1 2007-11-27 Alexander Larsson <alexl@redhat.com>
5 Add catch-all gio.h header
6 Don't install gdummyfile.h
8 2007-11-26 Alexander Larsson <alexl@redhat.com>
10 * Makefile.am (gioinclude_HEADERS):
11 Remove trailing whitespace
13 2007-11-26 Alexander Larsson <alexl@redhat.com>
15 Merge gio-standalone into glib
17 2007-11-25 Christian Kellner <gicmo@gnome.org>
19 * gio/goutputstream.c:
20 Fix small mistake in the docs.
22 2007-11-21 Christian Persch <chpe@gnome.org>
24 * gio/glocalfile.c: (g_local_file_trash):
25 Convert filenames to UTF-8 for GError.
26 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
27 as per xdg base dir spec.
29 2007-11-21 Christian Persch <chpe@gnome.org>
31 * gio/gdesktopappinfo.c:
32 Use that g_key_file_to_data cannot fail.
34 Use stock defines for the key file group and key names.
37 2007-11-21 Alexander Larsson <alexl@redhat.com>
40 (copy_stream_with_progress):
41 Make sure we do a final progress callback with
44 2007-11-21 Alexander Larsson <alexl@redhat.com>
47 Export g_file_copy_attributes
48 Remove padding as its not needed for interfaces
50 2007-11-20 Alexander Larsson <alexl@redhat.com>
55 Add G_IO_ERROR_WOULD_MERGE for
56 copy/move dir on dir with overwrite.
58 2007-11-20 Alexander Larsson <alexl@redhat.com>
61 * gio/glocalfileinfo.c:
62 Add COPY_NAME (this is an optional
63 non-modified utf8 version of the name) that
66 2007-11-20 Alexander Larsson <alexl@redhat.com>
68 * gio/glocalfileenumerator.c:
69 Report errors as GIOError, not GFileError
71 2007-11-16 Alexander Larsson <alexl@redhat.com>
73 * gio/glocalfileoutputstream.c:
74 * gio/gwin32appinfo.c:
76 Patch from Luca Ferretti <elle.uca@libero.it>
78 2007-11-15 Alexander Larsson <alexl@redhat.com>
81 Post release version bump
83 === gio-standalone 0.1.2 ===
85 2007-11-15 Alexander Larsson <alexl@redhat.com>
87 * docs/reference/gio/Makefile.am:
88 Fix up distcheck by removing weird
94 2007-11-14 Alexander Larsson <alexl@redhat.com>
96 * gio/gdesktopappinfo.c:
97 * gio/glocaldirectorymonitor.c:
99 * gio/glocalfileinfo.c:
100 * gio/inotify/inotify-sub.c:
101 * programs/gio-cat.c:
102 * programs/gio-copy.c:
103 * programs/gio-info.c:
105 * programs/gio-monitor-dir.c:
106 * programs/gio-monitor-file.c:
107 * programs/gio-mount.c:
108 * programs/gio-move.c:
110 * programs/gio-save.c:
111 * programs/gio-trash.c:
112 Leak fixes from Kjartan Maraas
114 2007-11-14 Alexander Larsson <alexl@redhat.com>
116 * gio/fam/fam-helper.c:
118 * gio/glocalfileinfo.c:
122 * gio/inotify/inotify-diag.c:
123 * gio/inotify/inotify-kernel.c:
124 Various code cleanups from Kjartan Maraas
126 2007-11-14 Alexander Larsson <alexl@redhat.com>
128 * gio/gioscheduler.c:
130 Set up threadpool so that we cache 2 unused
131 idle threads for at 15 secs. This means we
132 will reuse thread-local data (like dbus connections)
135 2007-11-14 Alexander Larsson <alexl@redhat.com>
137 * gio/fam/fam-helper.c:
138 * gio/fam/gfamdirectorymonitor.c:
139 * gio/fam/gfamfilemonitor.c:
141 * gio/gcontenttype.c:
142 * gio/gdatainputstream.c:
143 * gio/gdataoutputstream.c:
147 * gio/gfileattribute.h:
148 * gio/gfileenumerator.c:
150 * gio/ginputstream.c:
153 * gio/glocalfileinfo.c:
154 * gio/goutputstream.c:
155 * gio/gpollfilemonitor.c:
156 * gio/gsimpleasyncresult.c:
159 * gio/inotify/ginotifydirectorymonitor.c:
160 * gio/inotify/ginotifyfilemonitor.c:
161 * gio/inotify/inotify-diag.c:
162 * gio/inotify/inotify-kernel.c:
163 * gio/inotify/inotify-path.c:
165 * gio/test-streams.c:
166 * programs/gio-info.c:
167 * programs/gio-monitor-dir.c:
168 * programs/gio-monitor-file.c:
169 Various code cleanups from Kjartan Maraas
171 2007-11-13 Alexander Larsson <alexl@redhat.com>
174 Handle the uri-scheme calls for dummy files
176 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
178 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
179 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
180 to avoid clash with the C++ keyword.
182 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
184 * gio/glocalfileinfo.c: Build fix, added missing semicolon
185 to an ifdef'ed call to getpwuid() in lookup_uid_data().
187 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
189 * gio/glocaldirectorymonitor.c:
190 * gio/glocalfilemonitor.c:
191 * gio/gunionvolumemonitor.c:
192 Don't use g_once_init_*() for initializations that could fail and
193 could leave the initialization variable set to 0 but use GOnce.
194 This prevents a deadlock on the second call when trying to create
195 a monitor and no monitor type is available. Thanks to Sven Herzberg
198 2007-11-11 Sven Herzberg <sven@imendio.com>
200 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
201 #ifdef (make it work on MacOS X again)
203 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
205 Fixes Changelog for last two commits (sorry guys).
207 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
209 * gio/gbufferedinputstream.c:
210 * gio/gdatainputstream.c:
212 * gio/gfileoutputstream.c:
213 * gio/gfilterinputstream.c:
214 * gio/glocalfileinputstream.c:
217 More consistency fixes in g*stream.c files.
218 Significant clean of gfile's documentation, filling in of
219 asynchronous operations documentation.
221 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
223 * gio/gasyncresult.c:
224 * gio/gbufferedinputstream.c:
225 * gio/gbufferedoutputstream.c:
226 * gio/gcancellable.c:
227 * gio/gcontenttype.c:
228 * gio/gdatainputstream.c:
229 * gio/gdataoutputstream.c:
230 * gio/gdesktopappinfo.c:
233 * gio/gfileattribute.c:
234 * gio/gio/gfileenumerator.c:
236 * gio/gfileinputstream.c:
237 * gio/gfilemonitor.c:
238 * gio/gfileoutputstream.c:
239 * gio/ginputstream.c:
241 * gio/gioscheduler.c:
242 * gio/gloadableicon.c:
243 * gio/glocalfileoutputstream.c:
244 * gio/gmemoryoutputstream.c:
245 * gio/gmountoperation.c:
246 * gio/goutputstream.c:
248 * gio/gsimpleasyncresult.c:
249 * gio/gunionvolumemonitor.c:
255 * gio/gvolumemonitor.c:
256 Updated documentation stubs, working towards consistency and
259 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
261 * gio/gmemoryoutputstream.c:
262 * gio/gmemoryoutputstream.h:
263 Change g_memory_output_stream_set_free_on_close() to
264 g_memory_output_stream_set_free_data() as this makes more sense and
265 is more consistent with GMemoryInputStream.
267 2007-11-07 Alexander Larsson <alexl@redhat.com>
274 Change how we find the default vfs so that
275 we can handle a gvfs failing to init
277 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
279 * gio/gbufferedoutputstream.c:
280 * gio/gdatainputstream.c:
281 * gio/gdataoutputstream.c:
282 * gio/gfileinputstream.c:
283 * gio/gfileoutputstream.c:
284 * gio/gfilterinputstream.c:
285 * gio/gfilteroutputstream.c:
286 * gio/ginputstream.c:
287 * gio/gmemoryinputstream.c:
288 * gio/gmemoryoutputstream.c:
289 * gio/goutputstream.c:
290 * gio/gsimpleasyncresult.c:
291 * gio/gsocketinputstream.c:
292 * gio/gsocketoutputstream.c:
293 Add guards to the remaining public functions, add a TODO for
294 an unimplemented function and remove some useless guards.
296 2007-11-07 Alexander Larsson <alexl@redhat.com>
299 Autoconf checks for the various types of
300 getpwuid_r and getgrgid_r
302 * gio/glocalfileinfo.c:
303 Use the autoconf checks from above
305 2007-11-07 Alexander Larsson <alexl@redhat.com>
308 (g_local_file_query_filesystem_info):
309 Some fixes for the statvfs case
311 2007-11-07 Alexander Larsson <alexl@redhat.com>
314 (g_local_file_query_filesystem_info):
315 Pick the "best" of statfs / statvfs for the system
316 if both are availible.
318 2007-11-07 Alexander Larsson <alexl@redhat.com>
320 Solaris fixes from Halton.Huo@Sun.COM:
327 * gio/glocalfileinfo.c:
328 Fix for solaris definition of getpwuid_r
330 * gio/test-streams.c:
331 Use G_GNUC_PRETTY_FUNCTION
333 2007-11-07 Alexander Larsson <alexl@redhat.com>
335 * gio/gdesktopappinfo.c:
336 (update_default_list):
337 Remove double semicolon.
338 Patch from Jens Granseuer
340 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
342 * docs/reference/gio/gio-sections.txt:
343 * gio/gbufferedinputstream.c:
344 * gio/gbufferedinputstream.h:
345 * gio/gdatainputstream.c:
346 * gio/gfileenumerator.c:
347 * gio/gioscheduler.c:
348 * gio/gunionvolumemonitor.c:
350 * programs/gio-save.c:
351 Fix typo: availible -> available. Unfortuntely this breaks API
352 and ABI as g_buffered_input_stream_get_available() was renamed.
355 * gio/gbufferedinputstream.c:
356 Add guards for public functions.
358 2007-11-06 Ross Burton <ross@openedhand.com>
360 * docs/reference/gio/Makefile.am:
361 Fix invalid += usage which automake 1.10 doesn't like.
363 2007-11-06 Alexander Larsson <alexl@redhat.com>
366 (g_app_launch_context_class_init):
369 Patch from Ross Burton
371 2007-11-06 Alexander Larsson <alexl@redhat.com>
374 Post release version bump
376 === gio-standalone 0.1.1 ===
378 2007-11-06 Alexander Larsson <alexl@redhat.com>
381 Bump version to 0.1.1
383 * gio/gsimpleasyncresult.c:
384 (g_simple_async_result_set_from_error):
385 Remove bogus g_return_if_fail
387 2007-11-06 Alexander Larsson <alexl@redhat.com>
390 The name is gio-standalone
393 Add top src/builddir to includedir
395 2007-11-06 Alexander Larsson <alexl@redhat.com>
397 * docs/reference/gio/gio-sections.txt:
399 * gio/gbufferedinputstream.c:
400 * gio/gbufferedoutputstream.c:
401 * gio/gcancellable.c:
402 * gio/gdatainputstream.h:
403 * gio/gdataoutputstream.c:
404 * gio/gdataoutputstream.h:
405 * gio/gdirectorymonitor.c:
407 * gio/gfileattribute.c:
408 * gio/gfileattribute.h:
409 * gio/gfileenumerator.c:
410 * gio/gfileenumerator.h:
413 * gio/gfileinputstream.h:
414 * gio/gfilemonitor.c:
415 * gio/gfileoutputstream.h:
416 * gio/glocalfilemonitor.h:
417 * gio/glocalfileoutputstream.h:
418 * gio/gmemoryinputstream.c:
419 * gio/gmemoryoutputstream.c:
420 * gio/gmountoperation.c:
421 * gio/goutputstream.c:
422 * gio/goutputstream.h:
424 * gio/gsimpleasyncresult.c:
428 * gio/inotify/inotify-helper.c:
431 Patch from Ross Burton
433 2007-11-06 Alexander Larsson <alexl@redhat.com>
435 * gio/gfilenamecompleter.c:
436 (g_filename_completer_get_completions):
440 Remove unused function
442 Patches from Ross Burton
444 2007-11-06 Alexander Larsson <alexl@redhat.com>
449 Padding not needed for interfaces
451 2007-11-06 Alexander Larsson <alexl@redhat.com>
453 * gio/gfilemonitor.c:
457 Make giotypes.h an internal file
460 * gio/gbufferedinputstream.h:
461 * gio/gbufferedoutputstream.h:
462 * gio/gcancellable.h:
463 * gio/gdatainputstream.h:
464 * gio/gdataoutputstream.h:
465 * gio/gdirectorymonitor.c:
466 * gio/gdirectorymonitor.h:
471 * gio/gfileattribute.h:
472 * gio/gfileenumerator.h:
477 * gio/gfilemonitor.c:
478 * gio/gfilemonitor.h:
479 * gio/gfilenamecompleter.c:
480 * gio/gfilenamecompleter.h:
481 * gio/gfilterinputstream.h:
482 * gio/gfilteroutputstream.h:
483 * gio/ginputstream.h:
484 * gio/gmemoryinputstream.h:
485 * gio/gmemoryoutputstream.h:
486 * gio/gmountoperation.c:
487 * gio/gmountoperation.h:
488 * gio/gnativevolumemonitor.c:
489 * gio/goutputstream.h:
492 * gio/gsimpleasyncresult.c:
493 * gio/gsimpleasyncresult.h:
494 * gio/gsocketinputstream.h:
495 * gio/gsocketoutputstream.h:
501 * gio/gvolumemonitor.c:
502 * gio/gvolumemonitor.h:
503 Add padding in classes where it seems useful
504 Don't include giotypes.h from public headers
505 Move in Class definitions into c file where possible
510 2007-11-06 Alexander Larsson <alexl@redhat.com>
512 * docs/reference/gio/gio-docs.xml:
513 Better structure for API docs
515 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
518 * gio/gloadableicon.c:
519 * gio/gsimpleasyncresult.c:
521 Add some more guards to public functions. Only files missing are now
524 2007-11-06 Alexander Larsson <alexl@redhat.com>
526 * docs/reference/gio/gio-docs.xml:
527 Remove old files, add missing ones
529 2007-11-06 Alexander Larsson <alexl@redhat.com>
531 * docs/reference/gio/gio-sections.txt:
534 Hide implementation classes
536 * gio/gdriveprivate.h:
537 * gio/gvolumeprivate.h:
538 Remove non-existing function declarations
540 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
543 Fix compilation warnings and add guards to the new functions.
545 * gio/gasyncresult.c:
547 Add guards to the public functions.
550 Implement get_path().
552 2007-11-06 Alexander Larsson <alexl@redhat.com>
554 * gio/gfilenamecompleter.c:
555 Make g_filename_completer_get_completions
556 return char ** instead of GList for
559 * docs/reference/gio/gio-docs.xml:
560 * docs/reference/gio/gio-sections.txt:
562 * gio/gasyncresult.c:
563 * gio/gbufferedinputstream.c:
564 * gio/gbufferedoutputstream.c:
565 * gio/gcancellable.c:
566 * gio/gcontenttype.c:
567 * gio/gdatainputstream.c:
568 * gio/gdataoutputstream.c:
569 * gio/gdesktopappinfo.c:
570 * gio/gdirectorymonitor.c:
574 * gio/gfileattribute.c:
575 * gio/gfileenumerator.c:
578 * gio/gfileinputstream.c:
579 * gio/gfilemonitor.c:
580 * gio/gfilenamecompleter.c:
581 * gio/gfilenamecompleter.h:
582 * gio/gfileoutputstream.c:
583 * gio/gfilterinputstream.c:
585 * gio/ginputstream.c:
587 * gio/gioscheduler.c:
588 * gio/gloadableicon.c:
589 * gio/glocaldirectorymonitor.c:
591 * gio/glocalfileinputstream.c:
592 * gio/glocalfilemonitor.c:
593 * gio/glocalfileoutputstream.c:
595 * gio/gmemoryinputstream.c:
596 * gio/gmemoryoutputstream.c:
597 * gio/gmountoperation.c:
598 * gio/goutputstream.c:
599 * gio/gpollfilemonitor.c:
601 * gio/gsimpleasyncresult.c:
602 * gio/gsocketinputstream.c:
603 * gio/gsocketoutputstream.c:
605 * gio/gunionvolumemonitor.c:
609 * gio/gunixvolumemonitor.c:
613 * gio/gvolumemonitor.c:
614 * gio/gwin32appinfo.c:
615 Add (mostly stub) doc strings to public functions.
616 Patch from Andrew Walton (awalton@gmail.com)
618 2007-11-06 Alexander Larsson <alexl@redhat.com>
621 Added GAppLaunchContext object and pass that to launch.
622 This allows simple implementation of both
623 launch-on-screen and startup notification via a gtk+
624 subclass of GAppLaunchContext
626 * gio/gdesktopappinfo.c:
627 Implement GAppLaunchContext API
629 * gio/gwin32appinfo.c:
632 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
634 * gio/gmountoperation.c:
635 Add some guards to GMountOperation's public functions.
637 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
641 * gio/gcancellable.c:
642 * gio/gdirectorymonitor.c:
644 * gio/gfileenumerator.c:
645 * gio/gfilemonitor.c:,
646 * gio/gfilenamecompleter.c:
649 * gio/gioscheduler.c:
653 * gio/gvolumemonitor.c:
654 Add even more guards to various public functions.
656 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
659 Add guards to the public functions of GAppInfo.
661 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
663 * gio/gcontenttype.c:
664 Add some more guards for public functions.
666 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
668 * gio/fam/fam-module.c:
669 * gio/fam/gfamdirectorymonitor.c:
670 * gio/fam/gfamdirectorymonitor.h:
671 * gio/fam/gfamfilemonitor.c:
672 * gio/fam/gfamfilemonitor.h:
673 * gio/inotify/ginotifydirectorymonitor.c:
674 * gio/inotify/ginotifydirectorymonitor.h:
675 * gio/inotify/ginotifyfilemonitor.c:
676 * gio/inotify/ginotifyfilemonitor.h:
677 Add proper copyright information and remove an unused variable
678 in the GInotifyFileMonitor constructor.
680 * gio/gcancellable.c:
681 Add a guard for a public function and an assertion to prevent
682 an undefined program state.
684 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
686 * gio/gfileattribute.c:
687 Don't run into an assertion if the given attribute value is NULL
688 in g_file_attribute_value_get_*() but instead return a fallback
689 value that makes sense in most situations. Passing them a attribute
690 value with the wrong type will still run into an assertion.
692 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
694 * gio/gfileattribute.c:
696 Add even more guards to the public functions. Also fix the refcounting
697 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
698 let g_file_info_list_attributes() filter the attributes by namespace
699 instead of simply ignoring the namespace parameter.
701 2007-11-03 Sven Herzberg <sven@imendio.com>
703 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
704 (This makes gio work on MacOS X again)
706 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
709 Build the gio subdirectory before the docs. Otherwise the build will
712 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
713 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
714 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
715 Add guards to the public functions.
717 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
719 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
720 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
721 to prevent a compiler warning.
723 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
724 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
725 return something in the non-void function find_topdir_for().
727 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
734 2007-11-01 Ryan Lortie <desrt@desrt.ca>
736 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
737 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
738 * gwin32appinfo.c (g_win32_app_info_launch):
739 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
740 envp_for_startup_id, g_desktop_app_info_launch,
741 g_desktop_app_info_launch_uris):
743 Give an opaque 'startup_id' string instead of 'envp'.
744 Support empty file lists for launching new windows.
745 Fix infinite recursion bug when launching URIs.
747 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
750 Add guard to the new g_file_get_uri_scheme() function.
752 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
755 Convert a g_return_val_if_fail() to setting the GError instead as
756 otherwise applications have to verify the parameter before otherwise
757 and the parameter might come directly from the user.
759 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
761 * gio/inotify/ginotify*.[ch]:
762 Add missing copyright information.
764 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
767 Add guards in the beginning of public functions to check for valid
768 parameters and fix a bug in copy_stream_with_progress() that could've
769 caused writing less bytes than reading.
770 * gio/glocalfileinfo.c:
771 Check for a NULL parameter and set the GError accordingly then.
772 * gio/goutputstream.c:
773 Fix the same bug as in gfile.c that could've caused writing less bytes
774 than reading in g_output_stream_real_splice().
776 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
779 Use the correct gvolumeprivate.h naming
781 2007-11-01 Christian Kellner <gicmo@gnome.org>
784 Remove leftover "$(daemon_sources)" entry.
786 2007-11-01 Christian Kellner <gicmo@gnome.org>
791 Add copyright information to source files.
793 2007-11-01 Alexander Larsson <alexl@redhat.com>
797 Add g_file_get_uri_scheme
799 2007-11-01 Alexander Larsson <alexl@redhat.com>
802 * gio/gdesktopappinfo.c:
803 * gio/gwin32appinfo.c:
804 Add g_app_info_get_default_for_uri_scheme.
806 2007-11-01 Alexander Larsson <alexl@redhat.com>
809 Correct filename for gdriveprivate.h
811 2007-10-31 Alexander Larsson <alexl@redhat.com>
814 Rename id:value to id:file
817 * gio/glocalfileinfo.c:
820 2007-10-31 Alexander Larsson <alexl@redhat.com>
824 Remove g_volume_get_platform_id, as thats not
825 needed with the simpler union volume monitor
827 2007-10-31 Alexander Larsson <alexl@redhat.com>
830 * gio/guniondrive.[ch]: Removed.
831 * gio/gunionvolume.[ch]: Removed.
832 Remove GUnionDrive/Volume
834 * gio/gunionvolumemonitor.c:
835 Simplify union volume monitor, now we
836 only have one native volume monitor and
837 we use the actual volumes/drives from the
838 child monitors instead of wrapping them
840 * gio/gnativevolumemonitor.[ch]:
841 Base class for native volume monitors.
842 Includes priority and get_volume_for_mountpoint
845 Add g_file_find_enclosing_volume
848 Remove volume name fs attribute
849 Add readonly fs attribute
852 Implement readonly attribute
853 remove volume name attribute
854 Implement find_enclosing volume
857 Add a volume for "/".
859 * gio/gunixvolume.[ch]:
860 Set better name for /
862 * gio/gunixvolumemonitor.[ch]:
863 Derive from GNativeVolumeMonitor
864 Implement get_volume_for_mountpoint
867 GVolume typedef moved to gfile.h
869 * gio/gvolumeprivate.h:
870 Add g_volume_get_for_mount_path
872 2007-10-31 Alexander Larsson <alexl@redhat.com>
874 * gio/gunixmounts.[ch]:
875 Add cache info to unix mount listers
876 Make getmntent use threadsafe
877 Add is_system_internal attribute for GUnixMount
881 Use is_system_internal instead of own code
883 * gio/glocaldirectorymonitor.c:
884 * gio/gunixvolumemonitor.c:
885 Update to new gunixmounts API
890 2007-10-30 Alexander Larsson <alexl@redhat.com>
893 Add volume name fsinfo attribute
896 Read volume name info
898 * gio/gunionvolumemonitor.c:
899 Fix infinite loops when finalizing a union volume monitor
901 2007-10-30 Alexander Larsson <alexl@redhat.com>
903 * gio/goutputstream.[ch]:
904 Add splice() with default implementation
906 * gio/gsocketoutputstream.c:
907 (g_socket_output_stream_write):
908 Return error on cancellation correctly.
910 2007-10-26 Paolo Borelli <pborelli@katamail.com>
912 * gio/glocalfile.c (g_local_file_trash):
913 Do not leak a string.
915 2007-10-26 Paolo Borelli <pborelli@katamail.com>
917 * gio/gfile.c (g_file_load_contents):
918 Unref the stream after closing it.
920 2007-10-25 Alexander Larsson <alexl@redhat.com>
922 * gio/gioscheduler.h:
925 2007-10-25 Alexander Larsson <alexl@redhat.com>
929 Add g_file_has_uri_scheme and implement for local files
931 2007-10-25 Paolo Borelli <pborelli@katamail.com>
933 * gio/gdesktopappinfo.c: do not leak a string.
935 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
937 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
938 (g_local_directory_monitor_new):
939 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
940 (g_local_file_monitor_new):
941 Only look for the monitor type that should be used the first time
942 and use g_qsort_with_data() instead of our own bubble sort
945 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
948 * gio/fam/Makefile.am:
949 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
950 * gio/fam/fam-helper.h:
951 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
952 * gio/fam/gfamdirectorymonitor.c:
953 * gio/fam/gfamdirectorymonitor.h:
954 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
955 * gio/fam/gfamfilemonitor.h:
956 * gio/glocaldirectorymonitor.c:
957 * gio/glocaldirectorymonitor.h:
958 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
959 * gio/glocalfilemonitor.h:
960 * gio/inotify/Makefile.am:
961 * gio/inotify/ginotifydirectorymonitor.c:
962 * gio/inotify/ginotifydirectorymonitor.h:
963 * gio/inotify/ginotifyfilemonitor.c:
964 * gio/inotify/ginotifyfilemonitor.h:
965 Implement the FAM and Inotify monitors as
966 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
967 their own GIO module. GLocal(Directory|File)Monitor will use the
968 monitor with the highest rank that is supported on that machine.
970 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
973 Change GIO module dir to $(libdir)/gio/modules and change
974 the log domain from GVFS to GIO. Also only export symbols starting
975 with g_ in the resulting library.
976 * gio/test-streams.c: (main):
977 Set log handler for the GIO log domain.
979 2007-10-22 Alexander Larsson <alexl@redhat.com>
981 * gio/gfilenamecompleter.[ch]:
982 Add g_filename_completer_set_dirs_only
984 2007-10-22 Alexander Larsson <alexl@redhat.com>
987 * gio/gurifuncs.[ch]:
988 Add some simple URI helpers
990 * gio/gfilenamecompleter.[ch]:
991 Added object for filename (parse name actually) completion
994 Handle ~ in parse names
996 2007-10-17 Alexander Larsson <alexl@redhat.com>
999 * gio/glocalfileinfo.c:
1000 Add and implement id:value attribute
1002 2007-10-17 Alexander Larsson <alexl@redhat.com>
1005 * gio/guniondrive.c:
1007 Add and implement g_drive_has_volumes
1009 2007-10-17 Alexander Larsson <alexl@redhat.com>
1012 * gio/glocalfileinfo.[ch]:
1013 Add unix:is_mountpoint and implement for local files
1015 2007-10-16 Alexander Larsson <alexl@redhat.com>
1017 * gio/gunionvolumemonitor.c:
1018 (g_union_volume_monitor_init):
1019 Fix up the unix type getting so that it works with gcc
1021 2007-10-12 Alexander Larsson <alexl@redhat.com>
1024 * gio/glocalfileinfo.c:
1025 Add thumbnail:failed to file info
1027 2007-10-12 Richard Hult <richard@imendio.com>
1029 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1030 optimizing away the get_type call (happens with some gcc versions,
1031 like the one shipped with OS X 10.4).
1033 2007-10-12 Alexander Larsson <alexl@redhat.com>
1035 * gio/glocalfileinfo.c:
1036 (_g_local_file_info_set_attribute):
1037 Fix build if not HAVE_XATTR
1038 Patch from Milosz Derezynski <internalerror@gmail.com>
1040 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1042 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1043 around for review, otherwise I would have asked you before
1046 2007-10-11 Alexander Larsson <alexl@redhat.com>
1049 Add thumbnail:path attribute
1051 * gio/glocalfileinfo.c:
1052 Implement thumbnail:path for local files
1054 2007-10-11 Alexander Larsson <alexl@redhat.com>
1056 * gio/glocalfileinfo.c:
1057 (_g_local_file_info_get):
1058 Avoid duplicate icon names
1060 2007-10-11 Alexander Larsson <alexl@redhat.com>
1062 * gio/gthemedicon.[ch]:
1063 Change g_themed_icon_get_names return type to const
1065 2007-10-10 Alexander Larsson <alexl@redhat.com>
1067 * gio/glocalfileinfo.c:
1068 Don't reference freed memory
1070 2007-10-10 Alexander Larsson <alexl@redhat.com>
1072 * gio/gfileattribute.c:
1075 * gio/glocalfileinfo.c:
1078 2007-10-10 Alexander Larsson <alexl@redhat.com>
1081 Check for NULL icons
1083 * gio/gfileattribute.c:
1084 Don't dup when getting objects (same as for string attributes)
1086 * gio/gicon.c (g_icon_equal):
1087 Safely handle NULLs in equal
1089 2007-10-10 Alexander Larsson <alexl@redhat.com>
1092 Fix c++ compilation issues
1093 Patch from Milosz Derezynski <internalerror@gmail.com>
1095 2007-10-10 Alexander Larsson <alexl@redhat.com>
1097 * programs/gio-monitor-dir.c:
1098 Don't crash if dir monitor not supported.
1100 2007-10-09 Alexander Larsson <alexl@redhat.com>
1103 Add missing G_END_DECLS
1105 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1107 * gio/gfile.c: (g_file_set_display_name),
1108 (g_file_query_settable_attributes),
1109 (g_file_query_writable_namespaces):
1110 Return NULL not FALSE on errors as the return type is a pointer.
1112 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1114 * gio/glocalfile.c: (g_local_file_monitor_file):
1115 Don't call monitor_file on the default interface vtable (which
1116 is NULL) but simply return NULL. The caller, GFile, will create a
1117 polling monitor if NULL is returned.
1119 2007-10-09 Alexander Larsson <alexl@redhat.com>
1123 * gio-unix-2.0.pc.in:
1124 Add gio-unix-2.0.pc if OS_UNIX
1127 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1129 2007-10-09 Alexander Larsson <alexl@redhat.com>
1131 * gio/gunixmounts.[ch]:
1132 Make unix mount monitoring API sane.
1133 Now its just a object with mounts_changed
1134 and mountpoints_changed signals.
1136 * gio/glocaldirectorymonitor.c:
1137 * gio/gunixvolumemonitor.c:
1138 Use new mount monitor api
1140 2007-10-09 Alexander Larsson <alexl@redhat.com>
1142 * gio/gunixmounts.[ch]:
1143 Move guess type into one call for mounts and one for mountpoints
1146 * gio/gunixvolume.c:
1149 2007-10-09 Alexander Larsson <alexl@redhat.com>
1151 * gio/gunixmounts.[ch]:
1152 Remove _ prefix in preparation to make this semi-public
1153 Hide implementation of structs
1155 * gio/glocaldirectorymonitor.c:
1157 * gio/gunixvolume.c:
1158 * gio/gunixvolumemonitor.c:
1159 Update for above API changes
1161 2007-10-08 Alexander Larsson <alexl@redhat.com>
1164 Better polling fallback. This also handles the case where we have
1165 a monitor_file implementation, but it fails.
1167 2007-10-08 Alexander Larsson <alexl@redhat.com>
1171 * gio/gunixmounts.c:
1172 * programs/gio-monitor-dir.c:
1173 * programs/gio-monitor-file.c:
1174 Added cancellable to file monitoring calls.
1175 These are really sync calls and need this.
1177 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1179 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1180 (g_local_vfs_class_init):
1181 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1182 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1184 2007-10-05 Alexander Larsson <alexl@redhat.com>
1186 * gio/gdirectorymonitorprivate.h:
1187 * gio/gfilemonitorprivate.h:
1188 * gio/gdirectorymonitor.h:
1189 * gio/gfilemonitor.h:
1190 Remove *private.h and move to the public API, so that
1191 we can do implementations outside gio (such as in gvfs)
1193 * gio/gdirectorymonitor.c:
1194 * gio/gfilemonitor.c:
1195 * gio/glocaldirectorymonitor.c:
1196 * gio/gpollfilemonitor.c:
1197 * gio/inotify/inotify-helper.c:
1198 * gio/fam/fam-helper.c:
1199 Update to the new header names
1201 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
1203 * gio/gdirectorymonitor.c:
1204 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1207 2007-10-04 Alexander Larsson <alexl@redhat.com>
1209 * gio/glocalfileinfo.c (get_access_rights):
1210 Set CAN_TRASH when we can move the file.
1211 We should really also check for a parent trash dir.
1213 2007-10-04 Alexander Larsson <alexl@redhat.com>
1215 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1216 Add can_trash access attribute
1218 2007-10-04 Alexander Larsson <alexl@redhat.com>
1221 (g_local_file_trash):
1222 Create info file first. This is per-spec and allows
1223 us to actually trash directories.
1225 2007-10-02 Alexander Larsson <alexl@redhat.com>
1227 * gio/gdesktopappinfo.c:
1228 Implement the new mime support code.
1229 Always set app as handling mimetype when being set as default for it
1231 2007-10-01 Alexander Larsson <alexl@redhat.com>
1233 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
1234 Fix up check for xattrs:
1236 2007-10-01 Alexander Larsson <alexl@redhat.com>
1239 (g_app_info_set_as_default_for_extension):
1240 (g_app_info_add_supports_type):
1241 (g_app_info_can_remove_supports_type):
1242 (g_app_info_remove_supports_type):
1243 Make these fail nicely if not implemented
1245 2007-10-01 Paolo Borelli <pborelli@katamail.com>
1247 * gio/glocalfileoutputstream.c:
1248 * gio/glocalfileoutputstream.h:
1253 * programs/gio-save.c:
1254 Add a GFileCreateFlags argument to operations that can create
1257 2007-10-01 Alexander Larsson <alexl@redhat.com>
1259 * gio/gappinfo.[ch]:
1260 * gio/gdesktopappinfo.c:
1261 Add more (stubbed out) mime API needed for nautilus
1263 2007-10-01 Alexander Larsson <alexl@redhat.com>
1266 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
1267 Add g_app_info_set_as_default_for_extension.
1269 * gio/gdesktopappinfo.c:
1270 Dummy for g_app_info_set_as_default_for_extension
1271 Support flags in g_app_info_create_from_commandline
1273 * gio/gwin32appinfo.c:
1275 Update for API changes
1277 * gio/gthemedicon.c:
1278 Properly NULL-terminate list of icon names
1280 2007-09-28 Alexander Larsson <alexl@redhat.com>
1282 * gio/gloadableicon.h:
1283 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
1285 2007-09-28 Alexander Larsson <alexl@redhat.com>
1288 Install headers in $includedir/gio-standalone/
1290 * gio-2.0.pc.in: Added.
1291 * gio-standalone.pc.in: Removed.
1294 Renamed pkg-config file to match glib (for future move)
1295 Update to the new include dir
1298 Add more TODO comments
1300 2007-09-28 Alexander Larsson <alexl@redhat.com>
1302 * gio/gdesktopappinfo.[ch]:
1303 Expose new_from_filename
1304 Add getter for is_hidden and handle it better
1306 2007-09-28 Alexander Larsson <alexl@redhat.com>
1308 * gio/gfileinfo.[ch]:
1309 Rename g_file_size_format_for_display to
1310 g_format_file_size_for_display.
1311 Now it doesn't have the g_file prefix, so we
1312 can later move it to glib.
1314 2007-09-28 Alexander Larsson <alexl@redhat.com>
1316 * gio/gappinfo.[ch]:
1317 Add g_app_info_get_id and g_app_info_get_executable.
1318 Make all getters non-reffing
1319 Make g_app_info_launch take GFile arguments.
1320 Add must_support_uris argument to g_app_info_get_default_for_type.
1322 * gio/gwin32appinfo.c:
1323 Update to GAppInfo api changes
1325 * gio/gdesktopappinfo.c:
1326 Update to GAppInfo api changes
1327 Implement supports_xdg_startup_notify
1329 * gio/gfileicon.c (g_file_icon_get_file):
1330 Make getter non-reffing.
1335 2007-09-27 Alexander Larsson <alexl@redhat.com>
1337 * gio/gfileinfo.[ch]:
1338 Add g_file_size_format_for_display helper
1340 2007-09-27 Alexander Larsson <alexl@redhat.com>
1342 * gio/glocalfileinfo.c:
1343 Set UNIX_GID from gid, not from uid
1345 2007-09-27 Alexander Larsson <alexl@redhat.com>
1348 Add g_file_set_attributes_async
1350 2007-09-27 Alexander Larsson <alexl@redhat.com>
1352 * gio/glocalfile.c (g_local_file_set_display_name):
1353 Fix set_display_name to actually rename to the right place.
1354 Use lstat to look for existing files so we don't overwrite
1357 2007-09-26 Alexander Larsson <alexl@redhat.com>
1360 Add g_file_set_display_name_async()
1362 2007-09-26 Alexander Larsson <alexl@redhat.com>
1365 Add load_partial_contents async calls
1368 Make internal function static
1370 2007-09-26 Alexander Larsson <alexl@redhat.com>
1372 * gio/glocalfileinfo.c:
1373 Correctly detect broken symlinks
1375 2007-09-26 Alexander Larsson <alexl@redhat.com>
1377 * gio/gcancellable.c (g_cancellable_cancel):
1378 Allow cancel on NULL cancellable
1380 2007-09-25 Alexander Larsson <alexl@redhat.com>
1382 * gio/gsimpleasyncresult.c:
1383 Don't allocate g_error manually.
1384 Fixes g_slice/g_new mixup crash
1386 2007-09-25 Alexander Larsson <alexl@redhat.com>
1388 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
1389 Actually set active_backend.
1390 This means the monitor will be cancelled correctly.
1392 2007-09-25 Alexander Larsson <alexl@redhat.com>
1394 * gio/gdirectorymonitor.c:
1395 Set timeout to NULL when destroying
1397 2007-09-25 Alexander Larsson <alexl@redhat.com>
1400 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
1401 that is a better description of the error.
1403 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
1405 * gio/gvfs.c: (g_vfs_get_local):
1406 Make the local vfs variable static. The same instance should
1409 2007-09-24 Alexander Larsson <alexl@redhat.com>
1411 * gio/glocalfileinfo.c:
1412 Pass in actual length read into sniffer, not the length
1415 2007-09-21 Alexander Larsson <alexl@redhat.com>
1417 * gio/gfileenumerator.c:
1420 * gio/gfileinputstream.c:
1421 * gio/gfileoutputstream.c:
1422 * gio/ginputstream.c:
1423 * gio/goutputstream.c:
1424 Don't crash if async callbacks are NULL
1426 2007-09-20 Alexander Larsson <alexl@redhat.com>
1429 Add async enumerate_children method and default
1432 2007-09-20 Alexander Larsson <alexl@redhat.com>
1435 Add g_file_contains_file & g_file_get_relative_path, since they
1436 were needed for nautilus.
1437 Renamed g_file_resolve_relative to g_file_resolve_relative_path
1442 Implement new methods
1444 2007-09-17 Alexander Larsson <alexl@redhat.com>
1447 * gio/gfileinputstream.[ch]:
1448 * gio/gfileoutputstream.[ch]:
1450 * gio/glocalfileenumerator.[ch]:
1451 * gio/glocalfileinfo.[ch]:
1452 * gio/glocalfileinputstream.c:
1453 * gio/glocalfileoutputstream.c:
1454 * gio/gpollfilemonitor.c:
1455 * programs/gio-copy.c:
1456 * programs/gio-info.c:
1457 * programs/gio-move.c:
1458 Rename get_file_info to query_info() to make it clearer
1459 that these are not simple getters, but do i/o.
1461 2007-09-17 Alexander Larsson <alexl@redhat.com>
1463 * gio/gdatainputstream.[ch]:
1464 * gio/test-streams.c:
1465 Use _read_XXX instead of _get_XXX for the i/o calls
1468 2007-09-17 Alexander Larsson <alexl@redhat.com>
1471 Added needed stuff to TODO comment
1473 2007-09-17 Alexander Larsson <alexl@redhat.com>
1475 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
1476 Don't error out removing the backup copy if it doesn't
1479 2007-09-14 Alexander Larsson <alexl@redhat.com>
1481 * programs/Makefile.am:
1482 * programs/gvfs-*.c:
1484 Renamed apps from gvfs-xxx to gio-xxx.
1486 2007-09-14 Alexander Larsson <alexl@redhat.com>
1489 * gio/gfileoutputstream.[ch]:
1490 * gio/glocalfileoutputstream.c:
1491 * programs/gvfs-save.c:
1492 g_file_output_stream_get_etag doesn't do i/o, so remove
1493 cancellation and error.
1495 2007-09-14 Alexander Larsson <alexl@redhat.com>
1498 Add new_etag output to replace_contents functions
1500 2007-09-14 Alexander Larsson <alexl@redhat.com>
1502 * gio/gfileoutputstream.[ch]:
1503 Add async get_file_info and default implementation
1505 2007-09-14 Alexander Larsson <alexl@redhat.com>
1507 * gio/gfileinputstream.c:
1508 Implement fallback wrapper for async get_file_info
1510 2007-09-14 Alexander Larsson <alexl@redhat.com>
1513 Add etag out argument to load_contents
1518 2007-09-14 Alexander Larsson <alexl@redhat.com>
1520 * gio/gcontenttype.c (looks_like_text):
1521 Whitespace like tab, cr and lf do not make the
1524 2007-09-14 Alexander Larsson <alexl@redhat.com>
1526 * gio/gfileinputstream.[ch]:
1527 Add async get_file_info.
1529 2007-09-13 Alexander Larsson <alexl@redhat.com>
1531 * gio/goutputstream.c (g_output_stream_write_all):
1532 Allow NULL for bytes_written
1534 2007-09-13 Alexander Larsson <alexl@redhat.com>
1536 * gio/gmemoryinputstream.[ch]:
1537 Add accessors for data
1539 2007-09-13 Alexander Larsson <alexl@redhat.com>
1541 * gio/gdatainputstream.c (g_data_input_stream_get_until):
1542 Don't crash if length is NULL