1 2007-11-27 Alexander Larsson <alexl@redhat.com>
6 Use the user-specified giomoduledir
8 2007-11-27 Alexander Larsson <alexl@redhat.com>
12 Add catch-all gio.h header
13 Don't install gdummyfile.h
15 2007-11-26 Alexander Larsson <alexl@redhat.com>
17 * Makefile.am (gioinclude_HEADERS):
18 Remove trailing whitespace
20 2007-11-26 Alexander Larsson <alexl@redhat.com>
22 Merge gio-standalone into glib
24 2007-11-25 Christian Kellner <gicmo@gnome.org>
26 * gio/goutputstream.c:
27 Fix small mistake in the docs.
29 2007-11-21 Christian Persch <chpe@gnome.org>
31 * gio/glocalfile.c: (g_local_file_trash):
32 Convert filenames to UTF-8 for GError.
33 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
34 as per xdg base dir spec.
36 2007-11-21 Christian Persch <chpe@gnome.org>
38 * gio/gdesktopappinfo.c:
39 Use that g_key_file_to_data cannot fail.
41 Use stock defines for the key file group and key names.
44 2007-11-21 Alexander Larsson <alexl@redhat.com>
47 (copy_stream_with_progress):
48 Make sure we do a final progress callback with
51 2007-11-21 Alexander Larsson <alexl@redhat.com>
54 Export g_file_copy_attributes
55 Remove padding as its not needed for interfaces
57 2007-11-20 Alexander Larsson <alexl@redhat.com>
62 Add G_IO_ERROR_WOULD_MERGE for
63 copy/move dir on dir with overwrite.
65 2007-11-20 Alexander Larsson <alexl@redhat.com>
68 * gio/glocalfileinfo.c:
69 Add COPY_NAME (this is an optional
70 non-modified utf8 version of the name) that
73 2007-11-20 Alexander Larsson <alexl@redhat.com>
75 * gio/glocalfileenumerator.c:
76 Report errors as GIOError, not GFileError
78 2007-11-16 Alexander Larsson <alexl@redhat.com>
80 * gio/glocalfileoutputstream.c:
81 * gio/gwin32appinfo.c:
83 Patch from Luca Ferretti <elle.uca@libero.it>
85 2007-11-15 Alexander Larsson <alexl@redhat.com>
88 Post release version bump
90 === gio-standalone 0.1.2 ===
92 2007-11-15 Alexander Larsson <alexl@redhat.com>
94 * docs/reference/gio/Makefile.am:
95 Fix up distcheck by removing weird
101 2007-11-14 Alexander Larsson <alexl@redhat.com>
103 * gio/gdesktopappinfo.c:
104 * gio/glocaldirectorymonitor.c:
106 * gio/glocalfileinfo.c:
107 * gio/inotify/inotify-sub.c:
108 * programs/gio-cat.c:
109 * programs/gio-copy.c:
110 * programs/gio-info.c:
112 * programs/gio-monitor-dir.c:
113 * programs/gio-monitor-file.c:
114 * programs/gio-mount.c:
115 * programs/gio-move.c:
117 * programs/gio-save.c:
118 * programs/gio-trash.c:
119 Leak fixes from Kjartan Maraas
121 2007-11-14 Alexander Larsson <alexl@redhat.com>
123 * gio/fam/fam-helper.c:
125 * gio/glocalfileinfo.c:
129 * gio/inotify/inotify-diag.c:
130 * gio/inotify/inotify-kernel.c:
131 Various code cleanups from Kjartan Maraas
133 2007-11-14 Alexander Larsson <alexl@redhat.com>
135 * gio/gioscheduler.c:
137 Set up threadpool so that we cache 2 unused
138 idle threads for at 15 secs. This means we
139 will reuse thread-local data (like dbus connections)
142 2007-11-14 Alexander Larsson <alexl@redhat.com>
144 * gio/fam/fam-helper.c:
145 * gio/fam/gfamdirectorymonitor.c:
146 * gio/fam/gfamfilemonitor.c:
148 * gio/gcontenttype.c:
149 * gio/gdatainputstream.c:
150 * gio/gdataoutputstream.c:
154 * gio/gfileattribute.h:
155 * gio/gfileenumerator.c:
157 * gio/ginputstream.c:
160 * gio/glocalfileinfo.c:
161 * gio/goutputstream.c:
162 * gio/gpollfilemonitor.c:
163 * gio/gsimpleasyncresult.c:
166 * gio/inotify/ginotifydirectorymonitor.c:
167 * gio/inotify/ginotifyfilemonitor.c:
168 * gio/inotify/inotify-diag.c:
169 * gio/inotify/inotify-kernel.c:
170 * gio/inotify/inotify-path.c:
172 * gio/test-streams.c:
173 * programs/gio-info.c:
174 * programs/gio-monitor-dir.c:
175 * programs/gio-monitor-file.c:
176 Various code cleanups from Kjartan Maraas
178 2007-11-13 Alexander Larsson <alexl@redhat.com>
181 Handle the uri-scheme calls for dummy files
183 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
185 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
186 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
187 to avoid clash with the C++ keyword.
189 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
191 * gio/glocalfileinfo.c: Build fix, added missing semicolon
192 to an ifdef'ed call to getpwuid() in lookup_uid_data().
194 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
196 * gio/glocaldirectorymonitor.c:
197 * gio/glocalfilemonitor.c:
198 * gio/gunionvolumemonitor.c:
199 Don't use g_once_init_*() for initializations that could fail and
200 could leave the initialization variable set to 0 but use GOnce.
201 This prevents a deadlock on the second call when trying to create
202 a monitor and no monitor type is available. Thanks to Sven Herzberg
205 2007-11-11 Sven Herzberg <sven@imendio.com>
207 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
208 #ifdef (make it work on MacOS X again)
210 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
212 Fixes Changelog for last two commits (sorry guys).
214 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
216 * gio/gbufferedinputstream.c:
217 * gio/gdatainputstream.c:
219 * gio/gfileoutputstream.c:
220 * gio/gfilterinputstream.c:
221 * gio/glocalfileinputstream.c:
224 More consistency fixes in g*stream.c files.
225 Significant clean of gfile's documentation, filling in of
226 asynchronous operations documentation.
228 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
230 * gio/gasyncresult.c:
231 * gio/gbufferedinputstream.c:
232 * gio/gbufferedoutputstream.c:
233 * gio/gcancellable.c:
234 * gio/gcontenttype.c:
235 * gio/gdatainputstream.c:
236 * gio/gdataoutputstream.c:
237 * gio/gdesktopappinfo.c:
240 * gio/gfileattribute.c:
241 * gio/gio/gfileenumerator.c:
243 * gio/gfileinputstream.c:
244 * gio/gfilemonitor.c:
245 * gio/gfileoutputstream.c:
246 * gio/ginputstream.c:
248 * gio/gioscheduler.c:
249 * gio/gloadableicon.c:
250 * gio/glocalfileoutputstream.c:
251 * gio/gmemoryoutputstream.c:
252 * gio/gmountoperation.c:
253 * gio/goutputstream.c:
255 * gio/gsimpleasyncresult.c:
256 * gio/gunionvolumemonitor.c:
262 * gio/gvolumemonitor.c:
263 Updated documentation stubs, working towards consistency and
266 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
268 * gio/gmemoryoutputstream.c:
269 * gio/gmemoryoutputstream.h:
270 Change g_memory_output_stream_set_free_on_close() to
271 g_memory_output_stream_set_free_data() as this makes more sense and
272 is more consistent with GMemoryInputStream.
274 2007-11-07 Alexander Larsson <alexl@redhat.com>
281 Change how we find the default vfs so that
282 we can handle a gvfs failing to init
284 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
286 * gio/gbufferedoutputstream.c:
287 * gio/gdatainputstream.c:
288 * gio/gdataoutputstream.c:
289 * gio/gfileinputstream.c:
290 * gio/gfileoutputstream.c:
291 * gio/gfilterinputstream.c:
292 * gio/gfilteroutputstream.c:
293 * gio/ginputstream.c:
294 * gio/gmemoryinputstream.c:
295 * gio/gmemoryoutputstream.c:
296 * gio/goutputstream.c:
297 * gio/gsimpleasyncresult.c:
298 * gio/gsocketinputstream.c:
299 * gio/gsocketoutputstream.c:
300 Add guards to the remaining public functions, add a TODO for
301 an unimplemented function and remove some useless guards.
303 2007-11-07 Alexander Larsson <alexl@redhat.com>
306 Autoconf checks for the various types of
307 getpwuid_r and getgrgid_r
309 * gio/glocalfileinfo.c:
310 Use the autoconf checks from above
312 2007-11-07 Alexander Larsson <alexl@redhat.com>
315 (g_local_file_query_filesystem_info):
316 Some fixes for the statvfs case
318 2007-11-07 Alexander Larsson <alexl@redhat.com>
321 (g_local_file_query_filesystem_info):
322 Pick the "best" of statfs / statvfs for the system
323 if both are availible.
325 2007-11-07 Alexander Larsson <alexl@redhat.com>
327 Solaris fixes from Halton.Huo@Sun.COM:
334 * gio/glocalfileinfo.c:
335 Fix for solaris definition of getpwuid_r
337 * gio/test-streams.c:
338 Use G_GNUC_PRETTY_FUNCTION
340 2007-11-07 Alexander Larsson <alexl@redhat.com>
342 * gio/gdesktopappinfo.c:
343 (update_default_list):
344 Remove double semicolon.
345 Patch from Jens Granseuer
347 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
349 * docs/reference/gio/gio-sections.txt:
350 * gio/gbufferedinputstream.c:
351 * gio/gbufferedinputstream.h:
352 * gio/gdatainputstream.c:
353 * gio/gfileenumerator.c:
354 * gio/gioscheduler.c:
355 * gio/gunionvolumemonitor.c:
357 * programs/gio-save.c:
358 Fix typo: availible -> available. Unfortuntely this breaks API
359 and ABI as g_buffered_input_stream_get_available() was renamed.
362 * gio/gbufferedinputstream.c:
363 Add guards for public functions.
365 2007-11-06 Ross Burton <ross@openedhand.com>
367 * docs/reference/gio/Makefile.am:
368 Fix invalid += usage which automake 1.10 doesn't like.
370 2007-11-06 Alexander Larsson <alexl@redhat.com>
373 (g_app_launch_context_class_init):
376 Patch from Ross Burton
378 2007-11-06 Alexander Larsson <alexl@redhat.com>
381 Post release version bump
383 === gio-standalone 0.1.1 ===
385 2007-11-06 Alexander Larsson <alexl@redhat.com>
388 Bump version to 0.1.1
390 * gio/gsimpleasyncresult.c:
391 (g_simple_async_result_set_from_error):
392 Remove bogus g_return_if_fail
394 2007-11-06 Alexander Larsson <alexl@redhat.com>
397 The name is gio-standalone
400 Add top src/builddir to includedir
402 2007-11-06 Alexander Larsson <alexl@redhat.com>
404 * docs/reference/gio/gio-sections.txt:
406 * gio/gbufferedinputstream.c:
407 * gio/gbufferedoutputstream.c:
408 * gio/gcancellable.c:
409 * gio/gdatainputstream.h:
410 * gio/gdataoutputstream.c:
411 * gio/gdataoutputstream.h:
412 * gio/gdirectorymonitor.c:
414 * gio/gfileattribute.c:
415 * gio/gfileattribute.h:
416 * gio/gfileenumerator.c:
417 * gio/gfileenumerator.h:
420 * gio/gfileinputstream.h:
421 * gio/gfilemonitor.c:
422 * gio/gfileoutputstream.h:
423 * gio/glocalfilemonitor.h:
424 * gio/glocalfileoutputstream.h:
425 * gio/gmemoryinputstream.c:
426 * gio/gmemoryoutputstream.c:
427 * gio/gmountoperation.c:
428 * gio/goutputstream.c:
429 * gio/goutputstream.h:
431 * gio/gsimpleasyncresult.c:
435 * gio/inotify/inotify-helper.c:
438 Patch from Ross Burton
440 2007-11-06 Alexander Larsson <alexl@redhat.com>
442 * gio/gfilenamecompleter.c:
443 (g_filename_completer_get_completions):
447 Remove unused function
449 Patches from Ross Burton
451 2007-11-06 Alexander Larsson <alexl@redhat.com>
456 Padding not needed for interfaces
458 2007-11-06 Alexander Larsson <alexl@redhat.com>
460 * gio/gfilemonitor.c:
464 Make giotypes.h an internal file
467 * gio/gbufferedinputstream.h:
468 * gio/gbufferedoutputstream.h:
469 * gio/gcancellable.h:
470 * gio/gdatainputstream.h:
471 * gio/gdataoutputstream.h:
472 * gio/gdirectorymonitor.c:
473 * gio/gdirectorymonitor.h:
478 * gio/gfileattribute.h:
479 * gio/gfileenumerator.h:
484 * gio/gfilemonitor.c:
485 * gio/gfilemonitor.h:
486 * gio/gfilenamecompleter.c:
487 * gio/gfilenamecompleter.h:
488 * gio/gfilterinputstream.h:
489 * gio/gfilteroutputstream.h:
490 * gio/ginputstream.h:
491 * gio/gmemoryinputstream.h:
492 * gio/gmemoryoutputstream.h:
493 * gio/gmountoperation.c:
494 * gio/gmountoperation.h:
495 * gio/gnativevolumemonitor.c:
496 * gio/goutputstream.h:
499 * gio/gsimpleasyncresult.c:
500 * gio/gsimpleasyncresult.h:
501 * gio/gsocketinputstream.h:
502 * gio/gsocketoutputstream.h:
508 * gio/gvolumemonitor.c:
509 * gio/gvolumemonitor.h:
510 Add padding in classes where it seems useful
511 Don't include giotypes.h from public headers
512 Move in Class definitions into c file where possible
517 2007-11-06 Alexander Larsson <alexl@redhat.com>
519 * docs/reference/gio/gio-docs.xml:
520 Better structure for API docs
522 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
525 * gio/gloadableicon.c:
526 * gio/gsimpleasyncresult.c:
528 Add some more guards to public functions. Only files missing are now
531 2007-11-06 Alexander Larsson <alexl@redhat.com>
533 * docs/reference/gio/gio-docs.xml:
534 Remove old files, add missing ones
536 2007-11-06 Alexander Larsson <alexl@redhat.com>
538 * docs/reference/gio/gio-sections.txt:
541 Hide implementation classes
543 * gio/gdriveprivate.h:
544 * gio/gvolumeprivate.h:
545 Remove non-existing function declarations
547 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
550 Fix compilation warnings and add guards to the new functions.
552 * gio/gasyncresult.c:
554 Add guards to the public functions.
557 Implement get_path().
559 2007-11-06 Alexander Larsson <alexl@redhat.com>
561 * gio/gfilenamecompleter.c:
562 Make g_filename_completer_get_completions
563 return char ** instead of GList for
566 * docs/reference/gio/gio-docs.xml:
567 * docs/reference/gio/gio-sections.txt:
569 * gio/gasyncresult.c:
570 * gio/gbufferedinputstream.c:
571 * gio/gbufferedoutputstream.c:
572 * gio/gcancellable.c:
573 * gio/gcontenttype.c:
574 * gio/gdatainputstream.c:
575 * gio/gdataoutputstream.c:
576 * gio/gdesktopappinfo.c:
577 * gio/gdirectorymonitor.c:
581 * gio/gfileattribute.c:
582 * gio/gfileenumerator.c:
585 * gio/gfileinputstream.c:
586 * gio/gfilemonitor.c:
587 * gio/gfilenamecompleter.c:
588 * gio/gfilenamecompleter.h:
589 * gio/gfileoutputstream.c:
590 * gio/gfilterinputstream.c:
592 * gio/ginputstream.c:
594 * gio/gioscheduler.c:
595 * gio/gloadableicon.c:
596 * gio/glocaldirectorymonitor.c:
598 * gio/glocalfileinputstream.c:
599 * gio/glocalfilemonitor.c:
600 * gio/glocalfileoutputstream.c:
602 * gio/gmemoryinputstream.c:
603 * gio/gmemoryoutputstream.c:
604 * gio/gmountoperation.c:
605 * gio/goutputstream.c:
606 * gio/gpollfilemonitor.c:
608 * gio/gsimpleasyncresult.c:
609 * gio/gsocketinputstream.c:
610 * gio/gsocketoutputstream.c:
612 * gio/gunionvolumemonitor.c:
616 * gio/gunixvolumemonitor.c:
620 * gio/gvolumemonitor.c:
621 * gio/gwin32appinfo.c:
622 Add (mostly stub) doc strings to public functions.
623 Patch from Andrew Walton (awalton@gmail.com)
625 2007-11-06 Alexander Larsson <alexl@redhat.com>
628 Added GAppLaunchContext object and pass that to launch.
629 This allows simple implementation of both
630 launch-on-screen and startup notification via a gtk+
631 subclass of GAppLaunchContext
633 * gio/gdesktopappinfo.c:
634 Implement GAppLaunchContext API
636 * gio/gwin32appinfo.c:
639 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
641 * gio/gmountoperation.c:
642 Add some guards to GMountOperation's public functions.
644 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
648 * gio/gcancellable.c:
649 * gio/gdirectorymonitor.c:
651 * gio/gfileenumerator.c:
652 * gio/gfilemonitor.c:,
653 * gio/gfilenamecompleter.c:
656 * gio/gioscheduler.c:
660 * gio/gvolumemonitor.c:
661 Add even more guards to various public functions.
663 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
666 Add guards to the public functions of GAppInfo.
668 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
670 * gio/gcontenttype.c:
671 Add some more guards for public functions.
673 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
675 * gio/fam/fam-module.c:
676 * gio/fam/gfamdirectorymonitor.c:
677 * gio/fam/gfamdirectorymonitor.h:
678 * gio/fam/gfamfilemonitor.c:
679 * gio/fam/gfamfilemonitor.h:
680 * gio/inotify/ginotifydirectorymonitor.c:
681 * gio/inotify/ginotifydirectorymonitor.h:
682 * gio/inotify/ginotifyfilemonitor.c:
683 * gio/inotify/ginotifyfilemonitor.h:
684 Add proper copyright information and remove an unused variable
685 in the GInotifyFileMonitor constructor.
687 * gio/gcancellable.c:
688 Add a guard for a public function and an assertion to prevent
689 an undefined program state.
691 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
693 * gio/gfileattribute.c:
694 Don't run into an assertion if the given attribute value is NULL
695 in g_file_attribute_value_get_*() but instead return a fallback
696 value that makes sense in most situations. Passing them a attribute
697 value with the wrong type will still run into an assertion.
699 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
701 * gio/gfileattribute.c:
703 Add even more guards to the public functions. Also fix the refcounting
704 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
705 let g_file_info_list_attributes() filter the attributes by namespace
706 instead of simply ignoring the namespace parameter.
708 2007-11-03 Sven Herzberg <sven@imendio.com>
710 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
711 (This makes gio work on MacOS X again)
713 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
716 Build the gio subdirectory before the docs. Otherwise the build will
719 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
720 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
721 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
722 Add guards to the public functions.
724 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
726 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
727 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
728 to prevent a compiler warning.
730 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
731 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
732 return something in the non-void function find_topdir_for().
734 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
741 2007-11-01 Ryan Lortie <desrt@desrt.ca>
743 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
744 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
745 * gwin32appinfo.c (g_win32_app_info_launch):
746 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
747 envp_for_startup_id, g_desktop_app_info_launch,
748 g_desktop_app_info_launch_uris):
750 Give an opaque 'startup_id' string instead of 'envp'.
751 Support empty file lists for launching new windows.
752 Fix infinite recursion bug when launching URIs.
754 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
757 Add guard to the new g_file_get_uri_scheme() function.
759 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
762 Convert a g_return_val_if_fail() to setting the GError instead as
763 otherwise applications have to verify the parameter before otherwise
764 and the parameter might come directly from the user.
766 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
768 * gio/inotify/ginotify*.[ch]:
769 Add missing copyright information.
771 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
774 Add guards in the beginning of public functions to check for valid
775 parameters and fix a bug in copy_stream_with_progress() that could've
776 caused writing less bytes than reading.
777 * gio/glocalfileinfo.c:
778 Check for a NULL parameter and set the GError accordingly then.
779 * gio/goutputstream.c:
780 Fix the same bug as in gfile.c that could've caused writing less bytes
781 than reading in g_output_stream_real_splice().
783 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
786 Use the correct gvolumeprivate.h naming
788 2007-11-01 Christian Kellner <gicmo@gnome.org>
791 Remove leftover "$(daemon_sources)" entry.
793 2007-11-01 Christian Kellner <gicmo@gnome.org>
798 Add copyright information to source files.
800 2007-11-01 Alexander Larsson <alexl@redhat.com>
804 Add g_file_get_uri_scheme
806 2007-11-01 Alexander Larsson <alexl@redhat.com>
809 * gio/gdesktopappinfo.c:
810 * gio/gwin32appinfo.c:
811 Add g_app_info_get_default_for_uri_scheme.
813 2007-11-01 Alexander Larsson <alexl@redhat.com>
816 Correct filename for gdriveprivate.h
818 2007-10-31 Alexander Larsson <alexl@redhat.com>
821 Rename id:value to id:file
824 * gio/glocalfileinfo.c:
827 2007-10-31 Alexander Larsson <alexl@redhat.com>
831 Remove g_volume_get_platform_id, as thats not
832 needed with the simpler union volume monitor
834 2007-10-31 Alexander Larsson <alexl@redhat.com>
837 * gio/guniondrive.[ch]: Removed.
838 * gio/gunionvolume.[ch]: Removed.
839 Remove GUnionDrive/Volume
841 * gio/gunionvolumemonitor.c:
842 Simplify union volume monitor, now we
843 only have one native volume monitor and
844 we use the actual volumes/drives from the
845 child monitors instead of wrapping them
847 * gio/gnativevolumemonitor.[ch]:
848 Base class for native volume monitors.
849 Includes priority and get_volume_for_mountpoint
852 Add g_file_find_enclosing_volume
855 Remove volume name fs attribute
856 Add readonly fs attribute
859 Implement readonly attribute
860 remove volume name attribute
861 Implement find_enclosing volume
864 Add a volume for "/".
866 * gio/gunixvolume.[ch]:
867 Set better name for /
869 * gio/gunixvolumemonitor.[ch]:
870 Derive from GNativeVolumeMonitor
871 Implement get_volume_for_mountpoint
874 GVolume typedef moved to gfile.h
876 * gio/gvolumeprivate.h:
877 Add g_volume_get_for_mount_path
879 2007-10-31 Alexander Larsson <alexl@redhat.com>
881 * gio/gunixmounts.[ch]:
882 Add cache info to unix mount listers
883 Make getmntent use threadsafe
884 Add is_system_internal attribute for GUnixMount
888 Use is_system_internal instead of own code
890 * gio/glocaldirectorymonitor.c:
891 * gio/gunixvolumemonitor.c:
892 Update to new gunixmounts API
897 2007-10-30 Alexander Larsson <alexl@redhat.com>
900 Add volume name fsinfo attribute
903 Read volume name info
905 * gio/gunionvolumemonitor.c:
906 Fix infinite loops when finalizing a union volume monitor
908 2007-10-30 Alexander Larsson <alexl@redhat.com>
910 * gio/goutputstream.[ch]:
911 Add splice() with default implementation
913 * gio/gsocketoutputstream.c:
914 (g_socket_output_stream_write):
915 Return error on cancellation correctly.
917 2007-10-26 Paolo Borelli <pborelli@katamail.com>
919 * gio/glocalfile.c (g_local_file_trash):
920 Do not leak a string.
922 2007-10-26 Paolo Borelli <pborelli@katamail.com>
924 * gio/gfile.c (g_file_load_contents):
925 Unref the stream after closing it.
927 2007-10-25 Alexander Larsson <alexl@redhat.com>
929 * gio/gioscheduler.h:
932 2007-10-25 Alexander Larsson <alexl@redhat.com>
936 Add g_file_has_uri_scheme and implement for local files
938 2007-10-25 Paolo Borelli <pborelli@katamail.com>
940 * gio/gdesktopappinfo.c: do not leak a string.
942 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
944 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
945 (g_local_directory_monitor_new):
946 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
947 (g_local_file_monitor_new):
948 Only look for the monitor type that should be used the first time
949 and use g_qsort_with_data() instead of our own bubble sort
952 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
955 * gio/fam/Makefile.am:
956 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
957 * gio/fam/fam-helper.h:
958 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
959 * gio/fam/gfamdirectorymonitor.c:
960 * gio/fam/gfamdirectorymonitor.h:
961 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
962 * gio/fam/gfamfilemonitor.h:
963 * gio/glocaldirectorymonitor.c:
964 * gio/glocaldirectorymonitor.h:
965 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
966 * gio/glocalfilemonitor.h:
967 * gio/inotify/Makefile.am:
968 * gio/inotify/ginotifydirectorymonitor.c:
969 * gio/inotify/ginotifydirectorymonitor.h:
970 * gio/inotify/ginotifyfilemonitor.c:
971 * gio/inotify/ginotifyfilemonitor.h:
972 Implement the FAM and Inotify monitors as
973 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
974 their own GIO module. GLocal(Directory|File)Monitor will use the
975 monitor with the highest rank that is supported on that machine.
977 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
980 Change GIO module dir to $(libdir)/gio/modules and change
981 the log domain from GVFS to GIO. Also only export symbols starting
982 with g_ in the resulting library.
983 * gio/test-streams.c: (main):
984 Set log handler for the GIO log domain.
986 2007-10-22 Alexander Larsson <alexl@redhat.com>
988 * gio/gfilenamecompleter.[ch]:
989 Add g_filename_completer_set_dirs_only
991 2007-10-22 Alexander Larsson <alexl@redhat.com>
994 * gio/gurifuncs.[ch]:
995 Add some simple URI helpers
997 * gio/gfilenamecompleter.[ch]:
998 Added object for filename (parse name actually) completion
1001 Handle ~ in parse names
1003 2007-10-17 Alexander Larsson <alexl@redhat.com>
1006 * gio/glocalfileinfo.c:
1007 Add and implement id:value attribute
1009 2007-10-17 Alexander Larsson <alexl@redhat.com>
1012 * gio/guniondrive.c:
1014 Add and implement g_drive_has_volumes
1016 2007-10-17 Alexander Larsson <alexl@redhat.com>
1019 * gio/glocalfileinfo.[ch]:
1020 Add unix:is_mountpoint and implement for local files
1022 2007-10-16 Alexander Larsson <alexl@redhat.com>
1024 * gio/gunionvolumemonitor.c:
1025 (g_union_volume_monitor_init):
1026 Fix up the unix type getting so that it works with gcc
1028 2007-10-12 Alexander Larsson <alexl@redhat.com>
1031 * gio/glocalfileinfo.c:
1032 Add thumbnail:failed to file info
1034 2007-10-12 Richard Hult <richard@imendio.com>
1036 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1037 optimizing away the get_type call (happens with some gcc versions,
1038 like the one shipped with OS X 10.4).
1040 2007-10-12 Alexander Larsson <alexl@redhat.com>
1042 * gio/glocalfileinfo.c:
1043 (_g_local_file_info_set_attribute):
1044 Fix build if not HAVE_XATTR
1045 Patch from Milosz Derezynski <internalerror@gmail.com>
1047 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1049 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1050 around for review, otherwise I would have asked you before
1053 2007-10-11 Alexander Larsson <alexl@redhat.com>
1056 Add thumbnail:path attribute
1058 * gio/glocalfileinfo.c:
1059 Implement thumbnail:path for local files
1061 2007-10-11 Alexander Larsson <alexl@redhat.com>
1063 * gio/glocalfileinfo.c:
1064 (_g_local_file_info_get):
1065 Avoid duplicate icon names
1067 2007-10-11 Alexander Larsson <alexl@redhat.com>
1069 * gio/gthemedicon.[ch]:
1070 Change g_themed_icon_get_names return type to const
1072 2007-10-10 Alexander Larsson <alexl@redhat.com>
1074 * gio/glocalfileinfo.c:
1075 Don't reference freed memory
1077 2007-10-10 Alexander Larsson <alexl@redhat.com>
1079 * gio/gfileattribute.c:
1082 * gio/glocalfileinfo.c:
1085 2007-10-10 Alexander Larsson <alexl@redhat.com>
1088 Check for NULL icons
1090 * gio/gfileattribute.c:
1091 Don't dup when getting objects (same as for string attributes)
1093 * gio/gicon.c (g_icon_equal):
1094 Safely handle NULLs in equal
1096 2007-10-10 Alexander Larsson <alexl@redhat.com>
1099 Fix c++ compilation issues
1100 Patch from Milosz Derezynski <internalerror@gmail.com>
1102 2007-10-10 Alexander Larsson <alexl@redhat.com>
1104 * programs/gio-monitor-dir.c:
1105 Don't crash if dir monitor not supported.
1107 2007-10-09 Alexander Larsson <alexl@redhat.com>
1110 Add missing G_END_DECLS
1112 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1114 * gio/gfile.c: (g_file_set_display_name),
1115 (g_file_query_settable_attributes),
1116 (g_file_query_writable_namespaces):
1117 Return NULL not FALSE on errors as the return type is a pointer.
1119 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1121 * gio/glocalfile.c: (g_local_file_monitor_file):
1122 Don't call monitor_file on the default interface vtable (which
1123 is NULL) but simply return NULL. The caller, GFile, will create a
1124 polling monitor if NULL is returned.
1126 2007-10-09 Alexander Larsson <alexl@redhat.com>
1130 * gio-unix-2.0.pc.in:
1131 Add gio-unix-2.0.pc if OS_UNIX
1134 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1136 2007-10-09 Alexander Larsson <alexl@redhat.com>
1138 * gio/gunixmounts.[ch]:
1139 Make unix mount monitoring API sane.
1140 Now its just a object with mounts_changed
1141 and mountpoints_changed signals.
1143 * gio/glocaldirectorymonitor.c:
1144 * gio/gunixvolumemonitor.c:
1145 Use new mount monitor api
1147 2007-10-09 Alexander Larsson <alexl@redhat.com>
1149 * gio/gunixmounts.[ch]:
1150 Move guess type into one call for mounts and one for mountpoints
1153 * gio/gunixvolume.c:
1156 2007-10-09 Alexander Larsson <alexl@redhat.com>
1158 * gio/gunixmounts.[ch]:
1159 Remove _ prefix in preparation to make this semi-public
1160 Hide implementation of structs
1162 * gio/glocaldirectorymonitor.c:
1164 * gio/gunixvolume.c:
1165 * gio/gunixvolumemonitor.c:
1166 Update for above API changes
1168 2007-10-08 Alexander Larsson <alexl@redhat.com>
1171 Better polling fallback. This also handles the case where we have
1172 a monitor_file implementation, but it fails.
1174 2007-10-08 Alexander Larsson <alexl@redhat.com>
1178 * gio/gunixmounts.c:
1179 * programs/gio-monitor-dir.c:
1180 * programs/gio-monitor-file.c:
1181 Added cancellable to file monitoring calls.
1182 These are really sync calls and need this.
1184 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1186 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1187 (g_local_vfs_class_init):
1188 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1189 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1191 2007-10-05 Alexander Larsson <alexl@redhat.com>
1193 * gio/gdirectorymonitorprivate.h:
1194 * gio/gfilemonitorprivate.h:
1195 * gio/gdirectorymonitor.h:
1196 * gio/gfilemonitor.h:
1197 Remove *private.h and move to the public API, so that
1198 we can do implementations outside gio (such as in gvfs)
1200 * gio/gdirectorymonitor.c:
1201 * gio/gfilemonitor.c:
1202 * gio/glocaldirectorymonitor.c:
1203 * gio/gpollfilemonitor.c:
1204 * gio/inotify/inotify-helper.c:
1205 * gio/fam/fam-helper.c:
1206 Update to the new header names
1208 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
1210 * gio/gdirectorymonitor.c:
1211 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1214 2007-10-04 Alexander Larsson <alexl@redhat.com>
1216 * gio/glocalfileinfo.c (get_access_rights):
1217 Set CAN_TRASH when we can move the file.
1218 We should really also check for a parent trash dir.
1220 2007-10-04 Alexander Larsson <alexl@redhat.com>
1222 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1223 Add can_trash access attribute
1225 2007-10-04 Alexander Larsson <alexl@redhat.com>
1228 (g_local_file_trash):
1229 Create info file first. This is per-spec and allows
1230 us to actually trash directories.
1232 2007-10-02 Alexander Larsson <alexl@redhat.com>
1234 * gio/gdesktopappinfo.c:
1235 Implement the new mime support code.
1236 Always set app as handling mimetype when being set as default for it
1238 2007-10-01 Alexander Larsson <alexl@redhat.com>
1240 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
1241 Fix up check for xattrs:
1243 2007-10-01 Alexander Larsson <alexl@redhat.com>
1246 (g_app_info_set_as_default_for_extension):
1247 (g_app_info_add_supports_type):
1248 (g_app_info_can_remove_supports_type):
1249 (g_app_info_remove_supports_type):
1250 Make these fail nicely if not implemented
1252 2007-10-01 Paolo Borelli <pborelli@katamail.com>
1254 * gio/glocalfileoutputstream.c:
1255 * gio/glocalfileoutputstream.h:
1260 * programs/gio-save.c:
1261 Add a GFileCreateFlags argument to operations that can create
1264 2007-10-01 Alexander Larsson <alexl@redhat.com>
1266 * gio/gappinfo.[ch]:
1267 * gio/gdesktopappinfo.c:
1268 Add more (stubbed out) mime API needed for nautilus
1270 2007-10-01 Alexander Larsson <alexl@redhat.com>
1273 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
1274 Add g_app_info_set_as_default_for_extension.
1276 * gio/gdesktopappinfo.c:
1277 Dummy for g_app_info_set_as_default_for_extension
1278 Support flags in g_app_info_create_from_commandline
1280 * gio/gwin32appinfo.c:
1282 Update for API changes
1284 * gio/gthemedicon.c:
1285 Properly NULL-terminate list of icon names
1287 2007-09-28 Alexander Larsson <alexl@redhat.com>
1289 * gio/gloadableicon.h:
1290 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
1292 2007-09-28 Alexander Larsson <alexl@redhat.com>
1295 Install headers in $includedir/gio-standalone/
1297 * gio-2.0.pc.in: Added.
1298 * gio-standalone.pc.in: Removed.
1301 Renamed pkg-config file to match glib (for future move)
1302 Update to the new include dir
1305 Add more TODO comments
1307 2007-09-28 Alexander Larsson <alexl@redhat.com>
1309 * gio/gdesktopappinfo.[ch]:
1310 Expose new_from_filename
1311 Add getter for is_hidden and handle it better
1313 2007-09-28 Alexander Larsson <alexl@redhat.com>
1315 * gio/gfileinfo.[ch]:
1316 Rename g_file_size_format_for_display to
1317 g_format_file_size_for_display.
1318 Now it doesn't have the g_file prefix, so we
1319 can later move it to glib.
1321 2007-09-28 Alexander Larsson <alexl@redhat.com>
1323 * gio/gappinfo.[ch]:
1324 Add g_app_info_get_id and g_app_info_get_executable.
1325 Make all getters non-reffing
1326 Make g_app_info_launch take GFile arguments.
1327 Add must_support_uris argument to g_app_info_get_default_for_type.
1329 * gio/gwin32appinfo.c:
1330 Update to GAppInfo api changes
1332 * gio/gdesktopappinfo.c:
1333 Update to GAppInfo api changes
1334 Implement supports_xdg_startup_notify
1336 * gio/gfileicon.c (g_file_icon_get_file):
1337 Make getter non-reffing.
1342 2007-09-27 Alexander Larsson <alexl@redhat.com>
1344 * gio/gfileinfo.[ch]:
1345 Add g_file_size_format_for_display helper
1347 2007-09-27 Alexander Larsson <alexl@redhat.com>
1349 * gio/glocalfileinfo.c:
1350 Set UNIX_GID from gid, not from uid
1352 2007-09-27 Alexander Larsson <alexl@redhat.com>
1355 Add g_file_set_attributes_async
1357 2007-09-27 Alexander Larsson <alexl@redhat.com>
1359 * gio/glocalfile.c (g_local_file_set_display_name):
1360 Fix set_display_name to actually rename to the right place.
1361 Use lstat to look for existing files so we don't overwrite
1364 2007-09-26 Alexander Larsson <alexl@redhat.com>
1367 Add g_file_set_display_name_async()
1369 2007-09-26 Alexander Larsson <alexl@redhat.com>
1372 Add load_partial_contents async calls
1375 Make internal function static
1377 2007-09-26 Alexander Larsson <alexl@redhat.com>
1379 * gio/glocalfileinfo.c:
1380 Correctly detect broken symlinks
1382 2007-09-26 Alexander Larsson <alexl@redhat.com>
1384 * gio/gcancellable.c (g_cancellable_cancel):
1385 Allow cancel on NULL cancellable
1387 2007-09-25 Alexander Larsson <alexl@redhat.com>
1389 * gio/gsimpleasyncresult.c:
1390 Don't allocate g_error manually.
1391 Fixes g_slice/g_new mixup crash
1393 2007-09-25 Alexander Larsson <alexl@redhat.com>
1395 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
1396 Actually set active_backend.
1397 This means the monitor will be cancelled correctly.
1399 2007-09-25 Alexander Larsson <alexl@redhat.com>
1401 * gio/gdirectorymonitor.c:
1402 Set timeout to NULL when destroying
1404 2007-09-25 Alexander Larsson <alexl@redhat.com>
1407 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
1408 that is a better description of the error.
1410 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
1412 * gio/gvfs.c: (g_vfs_get_local):
1413 Make the local vfs variable static. The same instance should
1416 2007-09-24 Alexander Larsson <alexl@redhat.com>
1418 * gio/glocalfileinfo.c:
1419 Pass in actual length read into sniffer, not the length
1422 2007-09-21 Alexander Larsson <alexl@redhat.com>
1424 * gio/gfileenumerator.c:
1427 * gio/gfileinputstream.c:
1428 * gio/gfileoutputstream.c:
1429 * gio/ginputstream.c:
1430 * gio/goutputstream.c:
1431 Don't crash if async callbacks are NULL
1433 2007-09-20 Alexander Larsson <alexl@redhat.com>
1436 Add async enumerate_children method and default
1439 2007-09-20 Alexander Larsson <alexl@redhat.com>
1442 Add g_file_contains_file & g_file_get_relative_path, since they
1443 were needed for nautilus.
1444 Renamed g_file_resolve_relative to g_file_resolve_relative_path
1449 Implement new methods
1451 2007-09-17 Alexander Larsson <alexl@redhat.com>
1454 * gio/gfileinputstream.[ch]:
1455 * gio/gfileoutputstream.[ch]:
1457 * gio/glocalfileenumerator.[ch]:
1458 * gio/glocalfileinfo.[ch]:
1459 * gio/glocalfileinputstream.c:
1460 * gio/glocalfileoutputstream.c:
1461 * gio/gpollfilemonitor.c:
1462 * programs/gio-copy.c:
1463 * programs/gio-info.c:
1464 * programs/gio-move.c:
1465 Rename get_file_info to query_info() to make it clearer
1466 that these are not simple getters, but do i/o.
1468 2007-09-17 Alexander Larsson <alexl@redhat.com>
1470 * gio/gdatainputstream.[ch]:
1471 * gio/test-streams.c:
1472 Use _read_XXX instead of _get_XXX for the i/o calls
1475 2007-09-17 Alexander Larsson <alexl@redhat.com>
1478 Added needed stuff to TODO comment
1480 2007-09-17 Alexander Larsson <alexl@redhat.com>
1482 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
1483 Don't error out removing the backup copy if it doesn't
1486 2007-09-14 Alexander Larsson <alexl@redhat.com>
1488 * programs/Makefile.am:
1489 * programs/gvfs-*.c:
1491 Renamed apps from gvfs-xxx to gio-xxx.
1493 2007-09-14 Alexander Larsson <alexl@redhat.com>
1496 * gio/gfileoutputstream.[ch]:
1497 * gio/glocalfileoutputstream.c:
1498 * programs/gvfs-save.c:
1499 g_file_output_stream_get_etag doesn't do i/o, so remove
1500 cancellation and error.
1502 2007-09-14 Alexander Larsson <alexl@redhat.com>
1505 Add new_etag output to replace_contents functions
1507 2007-09-14 Alexander Larsson <alexl@redhat.com>
1509 * gio/gfileoutputstream.[ch]:
1510 Add async get_file_info and default implementation
1512 2007-09-14 Alexander Larsson <alexl@redhat.com>
1514 * gio/gfileinputstream.c:
1515 Implement fallback wrapper for async get_file_info
1517 2007-09-14 Alexander Larsson <alexl@redhat.com>
1520 Add etag out argument to load_contents
1525 2007-09-14 Alexander Larsson <alexl@redhat.com>
1527 * gio/gcontenttype.c (looks_like_text):
1528 Whitespace like tab, cr and lf do not make the
1531 2007-09-14 Alexander Larsson <alexl@redhat.com>
1533 * gio/gfileinputstream.[ch]:
1534 Add async get_file_info.
1536 2007-09-13 Alexander Larsson <alexl@redhat.com>
1538 * gio/goutputstream.c (g_output_stream_write_all):
1539 Allow NULL for bytes_written
1541 2007-09-13 Alexander Larsson <alexl@redhat.com>
1543 * gio/gmemoryinputstream.[ch]:
1544 Add accessors for data
1546 2007-09-13 Alexander Larsson <alexl@redhat.com>
1548 * gio/gdatainputstream.c (g_data_input_stream_get_until):
1549 Don't crash if length is NULL