1 2007-11-26 Alexander Larsson <alexl@redhat.com>
3 * Makefile.am (gioinclude_HEADERS):
4 Remove trailing whitespace
6 2007-11-26 Alexander Larsson <alexl@redhat.com>
8 Merge gio-standalone into glib
10 2007-11-25 Christian Kellner <gicmo@gnome.org>
12 * gio/goutputstream.c:
13 Fix small mistake in the docs.
15 2007-11-21 Christian Persch <chpe@gnome.org>
17 * gio/glocalfile.c: (g_local_file_trash):
18 Convert filenames to UTF-8 for GError.
19 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
20 as per xdg base dir spec.
22 2007-11-21 Christian Persch <chpe@gnome.org>
24 * gio/gdesktopappinfo.c:
25 Use that g_key_file_to_data cannot fail.
27 Use stock defines for the key file group and key names.
30 2007-11-21 Alexander Larsson <alexl@redhat.com>
33 (copy_stream_with_progress):
34 Make sure we do a final progress callback with
37 2007-11-21 Alexander Larsson <alexl@redhat.com>
40 Export g_file_copy_attributes
41 Remove padding as its not needed for interfaces
43 2007-11-20 Alexander Larsson <alexl@redhat.com>
48 Add G_IO_ERROR_WOULD_MERGE for
49 copy/move dir on dir with overwrite.
51 2007-11-20 Alexander Larsson <alexl@redhat.com>
54 * gio/glocalfileinfo.c:
55 Add COPY_NAME (this is an optional
56 non-modified utf8 version of the name) that
59 2007-11-20 Alexander Larsson <alexl@redhat.com>
61 * gio/glocalfileenumerator.c:
62 Report errors as GIOError, not GFileError
64 2007-11-16 Alexander Larsson <alexl@redhat.com>
66 * gio/glocalfileoutputstream.c:
67 * gio/gwin32appinfo.c:
69 Patch from Luca Ferretti <elle.uca@libero.it>
71 2007-11-15 Alexander Larsson <alexl@redhat.com>
74 Post release version bump
76 === gio-standalone 0.1.2 ===
78 2007-11-15 Alexander Larsson <alexl@redhat.com>
80 * docs/reference/gio/Makefile.am:
81 Fix up distcheck by removing weird
87 2007-11-14 Alexander Larsson <alexl@redhat.com>
89 * gio/gdesktopappinfo.c:
90 * gio/glocaldirectorymonitor.c:
92 * gio/glocalfileinfo.c:
93 * gio/inotify/inotify-sub.c:
95 * programs/gio-copy.c:
96 * programs/gio-info.c:
98 * programs/gio-monitor-dir.c:
99 * programs/gio-monitor-file.c:
100 * programs/gio-mount.c:
101 * programs/gio-move.c:
103 * programs/gio-save.c:
104 * programs/gio-trash.c:
105 Leak fixes from Kjartan Maraas
107 2007-11-14 Alexander Larsson <alexl@redhat.com>
109 * gio/fam/fam-helper.c:
111 * gio/glocalfileinfo.c:
115 * gio/inotify/inotify-diag.c:
116 * gio/inotify/inotify-kernel.c:
117 Various code cleanups from Kjartan Maraas
119 2007-11-14 Alexander Larsson <alexl@redhat.com>
121 * gio/gioscheduler.c:
123 Set up threadpool so that we cache 2 unused
124 idle threads for at 15 secs. This means we
125 will reuse thread-local data (like dbus connections)
128 2007-11-14 Alexander Larsson <alexl@redhat.com>
130 * gio/fam/fam-helper.c:
131 * gio/fam/gfamdirectorymonitor.c:
132 * gio/fam/gfamfilemonitor.c:
134 * gio/gcontenttype.c:
135 * gio/gdatainputstream.c:
136 * gio/gdataoutputstream.c:
140 * gio/gfileattribute.h:
141 * gio/gfileenumerator.c:
143 * gio/ginputstream.c:
146 * gio/glocalfileinfo.c:
147 * gio/goutputstream.c:
148 * gio/gpollfilemonitor.c:
149 * gio/gsimpleasyncresult.c:
152 * gio/inotify/ginotifydirectorymonitor.c:
153 * gio/inotify/ginotifyfilemonitor.c:
154 * gio/inotify/inotify-diag.c:
155 * gio/inotify/inotify-kernel.c:
156 * gio/inotify/inotify-path.c:
158 * gio/test-streams.c:
159 * programs/gio-info.c:
160 * programs/gio-monitor-dir.c:
161 * programs/gio-monitor-file.c:
162 Various code cleanups from Kjartan Maraas
164 2007-11-13 Alexander Larsson <alexl@redhat.com>
167 Handle the uri-scheme calls for dummy files
169 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
171 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
172 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
173 to avoid clash with the C++ keyword.
175 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
177 * gio/glocalfileinfo.c: Build fix, added missing semicolon
178 to an ifdef'ed call to getpwuid() in lookup_uid_data().
180 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
182 * gio/glocaldirectorymonitor.c:
183 * gio/glocalfilemonitor.c:
184 * gio/gunionvolumemonitor.c:
185 Don't use g_once_init_*() for initializations that could fail and
186 could leave the initialization variable set to 0 but use GOnce.
187 This prevents a deadlock on the second call when trying to create
188 a monitor and no monitor type is available. Thanks to Sven Herzberg
191 2007-11-11 Sven Herzberg <sven@imendio.com>
193 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
194 #ifdef (make it work on MacOS X again)
196 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
198 Fixes Changelog for last two commits (sorry guys).
200 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
202 * gio/gbufferedinputstream.c:
203 * gio/gdatainputstream.c:
205 * gio/gfileoutputstream.c:
206 * gio/gfilterinputstream.c:
207 * gio/glocalfileinputstream.c:
210 More consistency fixes in g*stream.c files.
211 Significant clean of gfile's documentation, filling in of
212 asynchronous operations documentation.
214 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
216 * gio/gasyncresult.c:
217 * gio/gbufferedinputstream.c:
218 * gio/gbufferedoutputstream.c:
219 * gio/gcancellable.c:
220 * gio/gcontenttype.c:
221 * gio/gdatainputstream.c:
222 * gio/gdataoutputstream.c:
223 * gio/gdesktopappinfo.c:
226 * gio/gfileattribute.c:
227 * gio/gio/gfileenumerator.c:
229 * gio/gfileinputstream.c:
230 * gio/gfilemonitor.c:
231 * gio/gfileoutputstream.c:
232 * gio/ginputstream.c:
234 * gio/gioscheduler.c:
235 * gio/gloadableicon.c:
236 * gio/glocalfileoutputstream.c:
237 * gio/gmemoryoutputstream.c:
238 * gio/gmountoperation.c:
239 * gio/goutputstream.c:
241 * gio/gsimpleasyncresult.c:
242 * gio/gunionvolumemonitor.c:
248 * gio/gvolumemonitor.c:
249 Updated documentation stubs, working towards consistency and
252 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
254 * gio/gmemoryoutputstream.c:
255 * gio/gmemoryoutputstream.h:
256 Change g_memory_output_stream_set_free_on_close() to
257 g_memory_output_stream_set_free_data() as this makes more sense and
258 is more consistent with GMemoryInputStream.
260 2007-11-07 Alexander Larsson <alexl@redhat.com>
267 Change how we find the default vfs so that
268 we can handle a gvfs failing to init
270 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
272 * gio/gbufferedoutputstream.c:
273 * gio/gdatainputstream.c:
274 * gio/gdataoutputstream.c:
275 * gio/gfileinputstream.c:
276 * gio/gfileoutputstream.c:
277 * gio/gfilterinputstream.c:
278 * gio/gfilteroutputstream.c:
279 * gio/ginputstream.c:
280 * gio/gmemoryinputstream.c:
281 * gio/gmemoryoutputstream.c:
282 * gio/goutputstream.c:
283 * gio/gsimpleasyncresult.c:
284 * gio/gsocketinputstream.c:
285 * gio/gsocketoutputstream.c:
286 Add guards to the remaining public functions, add a TODO for
287 an unimplemented function and remove some useless guards.
289 2007-11-07 Alexander Larsson <alexl@redhat.com>
292 Autoconf checks for the various types of
293 getpwuid_r and getgrgid_r
295 * gio/glocalfileinfo.c:
296 Use the autoconf checks from above
298 2007-11-07 Alexander Larsson <alexl@redhat.com>
301 (g_local_file_query_filesystem_info):
302 Some fixes for the statvfs case
304 2007-11-07 Alexander Larsson <alexl@redhat.com>
307 (g_local_file_query_filesystem_info):
308 Pick the "best" of statfs / statvfs for the system
309 if both are availible.
311 2007-11-07 Alexander Larsson <alexl@redhat.com>
313 Solaris fixes from Halton.Huo@Sun.COM:
320 * gio/glocalfileinfo.c:
321 Fix for solaris definition of getpwuid_r
323 * gio/test-streams.c:
324 Use G_GNUC_PRETTY_FUNCTION
326 2007-11-07 Alexander Larsson <alexl@redhat.com>
328 * gio/gdesktopappinfo.c:
329 (update_default_list):
330 Remove double semicolon.
331 Patch from Jens Granseuer
333 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
335 * docs/reference/gio/gio-sections.txt:
336 * gio/gbufferedinputstream.c:
337 * gio/gbufferedinputstream.h:
338 * gio/gdatainputstream.c:
339 * gio/gfileenumerator.c:
340 * gio/gioscheduler.c:
341 * gio/gunionvolumemonitor.c:
343 * programs/gio-save.c:
344 Fix typo: availible -> available. Unfortuntely this breaks API
345 and ABI as g_buffered_input_stream_get_available() was renamed.
348 * gio/gbufferedinputstream.c:
349 Add guards for public functions.
351 2007-11-06 Ross Burton <ross@openedhand.com>
353 * docs/reference/gio/Makefile.am:
354 Fix invalid += usage which automake 1.10 doesn't like.
356 2007-11-06 Alexander Larsson <alexl@redhat.com>
359 (g_app_launch_context_class_init):
362 Patch from Ross Burton
364 2007-11-06 Alexander Larsson <alexl@redhat.com>
367 Post release version bump
369 === gio-standalone 0.1.1 ===
371 2007-11-06 Alexander Larsson <alexl@redhat.com>
374 Bump version to 0.1.1
376 * gio/gsimpleasyncresult.c:
377 (g_simple_async_result_set_from_error):
378 Remove bogus g_return_if_fail
380 2007-11-06 Alexander Larsson <alexl@redhat.com>
383 The name is gio-standalone
386 Add top src/builddir to includedir
388 2007-11-06 Alexander Larsson <alexl@redhat.com>
390 * docs/reference/gio/gio-sections.txt:
392 * gio/gbufferedinputstream.c:
393 * gio/gbufferedoutputstream.c:
394 * gio/gcancellable.c:
395 * gio/gdatainputstream.h:
396 * gio/gdataoutputstream.c:
397 * gio/gdataoutputstream.h:
398 * gio/gdirectorymonitor.c:
400 * gio/gfileattribute.c:
401 * gio/gfileattribute.h:
402 * gio/gfileenumerator.c:
403 * gio/gfileenumerator.h:
406 * gio/gfileinputstream.h:
407 * gio/gfilemonitor.c:
408 * gio/gfileoutputstream.h:
409 * gio/glocalfilemonitor.h:
410 * gio/glocalfileoutputstream.h:
411 * gio/gmemoryinputstream.c:
412 * gio/gmemoryoutputstream.c:
413 * gio/gmountoperation.c:
414 * gio/goutputstream.c:
415 * gio/goutputstream.h:
417 * gio/gsimpleasyncresult.c:
421 * gio/inotify/inotify-helper.c:
424 Patch from Ross Burton
426 2007-11-06 Alexander Larsson <alexl@redhat.com>
428 * gio/gfilenamecompleter.c:
429 (g_filename_completer_get_completions):
433 Remove unused function
435 Patches from Ross Burton
437 2007-11-06 Alexander Larsson <alexl@redhat.com>
442 Padding not needed for interfaces
444 2007-11-06 Alexander Larsson <alexl@redhat.com>
446 * gio/gfilemonitor.c:
450 Make giotypes.h an internal file
453 * gio/gbufferedinputstream.h:
454 * gio/gbufferedoutputstream.h:
455 * gio/gcancellable.h:
456 * gio/gdatainputstream.h:
457 * gio/gdataoutputstream.h:
458 * gio/gdirectorymonitor.c:
459 * gio/gdirectorymonitor.h:
464 * gio/gfileattribute.h:
465 * gio/gfileenumerator.h:
470 * gio/gfilemonitor.c:
471 * gio/gfilemonitor.h:
472 * gio/gfilenamecompleter.c:
473 * gio/gfilenamecompleter.h:
474 * gio/gfilterinputstream.h:
475 * gio/gfilteroutputstream.h:
476 * gio/ginputstream.h:
477 * gio/gmemoryinputstream.h:
478 * gio/gmemoryoutputstream.h:
479 * gio/gmountoperation.c:
480 * gio/gmountoperation.h:
481 * gio/gnativevolumemonitor.c:
482 * gio/goutputstream.h:
485 * gio/gsimpleasyncresult.c:
486 * gio/gsimpleasyncresult.h:
487 * gio/gsocketinputstream.h:
488 * gio/gsocketoutputstream.h:
494 * gio/gvolumemonitor.c:
495 * gio/gvolumemonitor.h:
496 Add padding in classes where it seems useful
497 Don't include giotypes.h from public headers
498 Move in Class definitions into c file where possible
503 2007-11-06 Alexander Larsson <alexl@redhat.com>
505 * docs/reference/gio/gio-docs.xml:
506 Better structure for API docs
508 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
511 * gio/gloadableicon.c:
512 * gio/gsimpleasyncresult.c:
514 Add some more guards to public functions. Only files missing are now
517 2007-11-06 Alexander Larsson <alexl@redhat.com>
519 * docs/reference/gio/gio-docs.xml:
520 Remove old files, add missing ones
522 2007-11-06 Alexander Larsson <alexl@redhat.com>
524 * docs/reference/gio/gio-sections.txt:
527 Hide implementation classes
529 * gio/gdriveprivate.h:
530 * gio/gvolumeprivate.h:
531 Remove non-existing function declarations
533 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
536 Fix compilation warnings and add guards to the new functions.
538 * gio/gasyncresult.c:
540 Add guards to the public functions.
543 Implement get_path().
545 2007-11-06 Alexander Larsson <alexl@redhat.com>
547 * gio/gfilenamecompleter.c:
548 Make g_filename_completer_get_completions
549 return char ** instead of GList for
552 * docs/reference/gio/gio-docs.xml:
553 * docs/reference/gio/gio-sections.txt:
555 * gio/gasyncresult.c:
556 * gio/gbufferedinputstream.c:
557 * gio/gbufferedoutputstream.c:
558 * gio/gcancellable.c:
559 * gio/gcontenttype.c:
560 * gio/gdatainputstream.c:
561 * gio/gdataoutputstream.c:
562 * gio/gdesktopappinfo.c:
563 * gio/gdirectorymonitor.c:
567 * gio/gfileattribute.c:
568 * gio/gfileenumerator.c:
571 * gio/gfileinputstream.c:
572 * gio/gfilemonitor.c:
573 * gio/gfilenamecompleter.c:
574 * gio/gfilenamecompleter.h:
575 * gio/gfileoutputstream.c:
576 * gio/gfilterinputstream.c:
578 * gio/ginputstream.c:
580 * gio/gioscheduler.c:
581 * gio/gloadableicon.c:
582 * gio/glocaldirectorymonitor.c:
584 * gio/glocalfileinputstream.c:
585 * gio/glocalfilemonitor.c:
586 * gio/glocalfileoutputstream.c:
588 * gio/gmemoryinputstream.c:
589 * gio/gmemoryoutputstream.c:
590 * gio/gmountoperation.c:
591 * gio/goutputstream.c:
592 * gio/gpollfilemonitor.c:
594 * gio/gsimpleasyncresult.c:
595 * gio/gsocketinputstream.c:
596 * gio/gsocketoutputstream.c:
598 * gio/gunionvolumemonitor.c:
602 * gio/gunixvolumemonitor.c:
606 * gio/gvolumemonitor.c:
607 * gio/gwin32appinfo.c:
608 Add (mostly stub) doc strings to public functions.
609 Patch from Andrew Walton (awalton@gmail.com)
611 2007-11-06 Alexander Larsson <alexl@redhat.com>
614 Added GAppLaunchContext object and pass that to launch.
615 This allows simple implementation of both
616 launch-on-screen and startup notification via a gtk+
617 subclass of GAppLaunchContext
619 * gio/gdesktopappinfo.c:
620 Implement GAppLaunchContext API
622 * gio/gwin32appinfo.c:
625 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
627 * gio/gmountoperation.c:
628 Add some guards to GMountOperation's public functions.
630 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
634 * gio/gcancellable.c:
635 * gio/gdirectorymonitor.c:
637 * gio/gfileenumerator.c:
638 * gio/gfilemonitor.c:,
639 * gio/gfilenamecompleter.c:
642 * gio/gioscheduler.c:
646 * gio/gvolumemonitor.c:
647 Add even more guards to various public functions.
649 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
652 Add guards to the public functions of GAppInfo.
654 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
656 * gio/gcontenttype.c:
657 Add some more guards for public functions.
659 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
661 * gio/fam/fam-module.c:
662 * gio/fam/gfamdirectorymonitor.c:
663 * gio/fam/gfamdirectorymonitor.h:
664 * gio/fam/gfamfilemonitor.c:
665 * gio/fam/gfamfilemonitor.h:
666 * gio/inotify/ginotifydirectorymonitor.c:
667 * gio/inotify/ginotifydirectorymonitor.h:
668 * gio/inotify/ginotifyfilemonitor.c:
669 * gio/inotify/ginotifyfilemonitor.h:
670 Add proper copyright information and remove an unused variable
671 in the GInotifyFileMonitor constructor.
673 * gio/gcancellable.c:
674 Add a guard for a public function and an assertion to prevent
675 an undefined program state.
677 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
679 * gio/gfileattribute.c:
680 Don't run into an assertion if the given attribute value is NULL
681 in g_file_attribute_value_get_*() but instead return a fallback
682 value that makes sense in most situations. Passing them a attribute
683 value with the wrong type will still run into an assertion.
685 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
687 * gio/gfileattribute.c:
689 Add even more guards to the public functions. Also fix the refcounting
690 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
691 let g_file_info_list_attributes() filter the attributes by namespace
692 instead of simply ignoring the namespace parameter.
694 2007-11-03 Sven Herzberg <sven@imendio.com>
696 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
697 (This makes gio work on MacOS X again)
699 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
702 Build the gio subdirectory before the docs. Otherwise the build will
705 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
706 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
707 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
708 Add guards to the public functions.
710 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
712 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
713 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
714 to prevent a compiler warning.
716 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
717 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
718 return something in the non-void function find_topdir_for().
720 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
727 2007-11-01 Ryan Lortie <desrt@desrt.ca>
729 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
730 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
731 * gwin32appinfo.c (g_win32_app_info_launch):
732 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
733 envp_for_startup_id, g_desktop_app_info_launch,
734 g_desktop_app_info_launch_uris):
736 Give an opaque 'startup_id' string instead of 'envp'.
737 Support empty file lists for launching new windows.
738 Fix infinite recursion bug when launching URIs.
740 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
743 Add guard to the new g_file_get_uri_scheme() function.
745 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
748 Convert a g_return_val_if_fail() to setting the GError instead as
749 otherwise applications have to verify the parameter before otherwise
750 and the parameter might come directly from the user.
752 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
754 * gio/inotify/ginotify*.[ch]:
755 Add missing copyright information.
757 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
760 Add guards in the beginning of public functions to check for valid
761 parameters and fix a bug in copy_stream_with_progress() that could've
762 caused writing less bytes than reading.
763 * gio/glocalfileinfo.c:
764 Check for a NULL parameter and set the GError accordingly then.
765 * gio/goutputstream.c:
766 Fix the same bug as in gfile.c that could've caused writing less bytes
767 than reading in g_output_stream_real_splice().
769 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
772 Use the correct gvolumeprivate.h naming
774 2007-11-01 Christian Kellner <gicmo@gnome.org>
777 Remove leftover "$(daemon_sources)" entry.
779 2007-11-01 Christian Kellner <gicmo@gnome.org>
784 Add copyright information to source files.
786 2007-11-01 Alexander Larsson <alexl@redhat.com>
790 Add g_file_get_uri_scheme
792 2007-11-01 Alexander Larsson <alexl@redhat.com>
795 * gio/gdesktopappinfo.c:
796 * gio/gwin32appinfo.c:
797 Add g_app_info_get_default_for_uri_scheme.
799 2007-11-01 Alexander Larsson <alexl@redhat.com>
802 Correct filename for gdriveprivate.h
804 2007-10-31 Alexander Larsson <alexl@redhat.com>
807 Rename id:value to id:file
810 * gio/glocalfileinfo.c:
813 2007-10-31 Alexander Larsson <alexl@redhat.com>
817 Remove g_volume_get_platform_id, as thats not
818 needed with the simpler union volume monitor
820 2007-10-31 Alexander Larsson <alexl@redhat.com>
823 * gio/guniondrive.[ch]: Removed.
824 * gio/gunionvolume.[ch]: Removed.
825 Remove GUnionDrive/Volume
827 * gio/gunionvolumemonitor.c:
828 Simplify union volume monitor, now we
829 only have one native volume monitor and
830 we use the actual volumes/drives from the
831 child monitors instead of wrapping them
833 * gio/gnativevolumemonitor.[ch]:
834 Base class for native volume monitors.
835 Includes priority and get_volume_for_mountpoint
838 Add g_file_find_enclosing_volume
841 Remove volume name fs attribute
842 Add readonly fs attribute
845 Implement readonly attribute
846 remove volume name attribute
847 Implement find_enclosing volume
850 Add a volume for "/".
852 * gio/gunixvolume.[ch]:
853 Set better name for /
855 * gio/gunixvolumemonitor.[ch]:
856 Derive from GNativeVolumeMonitor
857 Implement get_volume_for_mountpoint
860 GVolume typedef moved to gfile.h
862 * gio/gvolumeprivate.h:
863 Add g_volume_get_for_mount_path
865 2007-10-31 Alexander Larsson <alexl@redhat.com>
867 * gio/gunixmounts.[ch]:
868 Add cache info to unix mount listers
869 Make getmntent use threadsafe
870 Add is_system_internal attribute for GUnixMount
874 Use is_system_internal instead of own code
876 * gio/glocaldirectorymonitor.c:
877 * gio/gunixvolumemonitor.c:
878 Update to new gunixmounts API
883 2007-10-30 Alexander Larsson <alexl@redhat.com>
886 Add volume name fsinfo attribute
889 Read volume name info
891 * gio/gunionvolumemonitor.c:
892 Fix infinite loops when finalizing a union volume monitor
894 2007-10-30 Alexander Larsson <alexl@redhat.com>
896 * gio/goutputstream.[ch]:
897 Add splice() with default implementation
899 * gio/gsocketoutputstream.c:
900 (g_socket_output_stream_write):
901 Return error on cancellation correctly.
903 2007-10-26 Paolo Borelli <pborelli@katamail.com>
905 * gio/glocalfile.c (g_local_file_trash):
906 Do not leak a string.
908 2007-10-26 Paolo Borelli <pborelli@katamail.com>
910 * gio/gfile.c (g_file_load_contents):
911 Unref the stream after closing it.
913 2007-10-25 Alexander Larsson <alexl@redhat.com>
915 * gio/gioscheduler.h:
918 2007-10-25 Alexander Larsson <alexl@redhat.com>
922 Add g_file_has_uri_scheme and implement for local files
924 2007-10-25 Paolo Borelli <pborelli@katamail.com>
926 * gio/gdesktopappinfo.c: do not leak a string.
928 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
930 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
931 (g_local_directory_monitor_new):
932 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
933 (g_local_file_monitor_new):
934 Only look for the monitor type that should be used the first time
935 and use g_qsort_with_data() instead of our own bubble sort
938 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
941 * gio/fam/Makefile.am:
942 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
943 * gio/fam/fam-helper.h:
944 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
945 * gio/fam/gfamdirectorymonitor.c:
946 * gio/fam/gfamdirectorymonitor.h:
947 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
948 * gio/fam/gfamfilemonitor.h:
949 * gio/glocaldirectorymonitor.c:
950 * gio/glocaldirectorymonitor.h:
951 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
952 * gio/glocalfilemonitor.h:
953 * gio/inotify/Makefile.am:
954 * gio/inotify/ginotifydirectorymonitor.c:
955 * gio/inotify/ginotifydirectorymonitor.h:
956 * gio/inotify/ginotifyfilemonitor.c:
957 * gio/inotify/ginotifyfilemonitor.h:
958 Implement the FAM and Inotify monitors as
959 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
960 their own GIO module. GLocal(Directory|File)Monitor will use the
961 monitor with the highest rank that is supported on that machine.
963 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
966 Change GIO module dir to $(libdir)/gio/modules and change
967 the log domain from GVFS to GIO. Also only export symbols starting
968 with g_ in the resulting library.
969 * gio/test-streams.c: (main):
970 Set log handler for the GIO log domain.
972 2007-10-22 Alexander Larsson <alexl@redhat.com>
974 * gio/gfilenamecompleter.[ch]:
975 Add g_filename_completer_set_dirs_only
977 2007-10-22 Alexander Larsson <alexl@redhat.com>
980 * gio/gurifuncs.[ch]:
981 Add some simple URI helpers
983 * gio/gfilenamecompleter.[ch]:
984 Added object for filename (parse name actually) completion
987 Handle ~ in parse names
989 2007-10-17 Alexander Larsson <alexl@redhat.com>
992 * gio/glocalfileinfo.c:
993 Add and implement id:value attribute
995 2007-10-17 Alexander Larsson <alexl@redhat.com>
1000 Add and implement g_drive_has_volumes
1002 2007-10-17 Alexander Larsson <alexl@redhat.com>
1005 * gio/glocalfileinfo.[ch]:
1006 Add unix:is_mountpoint and implement for local files
1008 2007-10-16 Alexander Larsson <alexl@redhat.com>
1010 * gio/gunionvolumemonitor.c:
1011 (g_union_volume_monitor_init):
1012 Fix up the unix type getting so that it works with gcc
1014 2007-10-12 Alexander Larsson <alexl@redhat.com>
1017 * gio/glocalfileinfo.c:
1018 Add thumbnail:failed to file info
1020 2007-10-12 Richard Hult <richard@imendio.com>
1022 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1023 optimizing away the get_type call (happens with some gcc versions,
1024 like the one shipped with OS X 10.4).
1026 2007-10-12 Alexander Larsson <alexl@redhat.com>
1028 * gio/glocalfileinfo.c:
1029 (_g_local_file_info_set_attribute):
1030 Fix build if not HAVE_XATTR
1031 Patch from Milosz Derezynski <internalerror@gmail.com>
1033 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1035 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1036 around for review, otherwise I would have asked you before
1039 2007-10-11 Alexander Larsson <alexl@redhat.com>
1042 Add thumbnail:path attribute
1044 * gio/glocalfileinfo.c:
1045 Implement thumbnail:path for local files
1047 2007-10-11 Alexander Larsson <alexl@redhat.com>
1049 * gio/glocalfileinfo.c:
1050 (_g_local_file_info_get):
1051 Avoid duplicate icon names
1053 2007-10-11 Alexander Larsson <alexl@redhat.com>
1055 * gio/gthemedicon.[ch]:
1056 Change g_themed_icon_get_names return type to const
1058 2007-10-10 Alexander Larsson <alexl@redhat.com>
1060 * gio/glocalfileinfo.c:
1061 Don't reference freed memory
1063 2007-10-10 Alexander Larsson <alexl@redhat.com>
1065 * gio/gfileattribute.c:
1068 * gio/glocalfileinfo.c:
1071 2007-10-10 Alexander Larsson <alexl@redhat.com>
1074 Check for NULL icons
1076 * gio/gfileattribute.c:
1077 Don't dup when getting objects (same as for string attributes)
1079 * gio/gicon.c (g_icon_equal):
1080 Safely handle NULLs in equal
1082 2007-10-10 Alexander Larsson <alexl@redhat.com>
1085 Fix c++ compilation issues
1086 Patch from Milosz Derezynski <internalerror@gmail.com>
1088 2007-10-10 Alexander Larsson <alexl@redhat.com>
1090 * programs/gio-monitor-dir.c:
1091 Don't crash if dir monitor not supported.
1093 2007-10-09 Alexander Larsson <alexl@redhat.com>
1096 Add missing G_END_DECLS
1098 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1100 * gio/gfile.c: (g_file_set_display_name),
1101 (g_file_query_settable_attributes),
1102 (g_file_query_writable_namespaces):
1103 Return NULL not FALSE on errors as the return type is a pointer.
1105 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1107 * gio/glocalfile.c: (g_local_file_monitor_file):
1108 Don't call monitor_file on the default interface vtable (which
1109 is NULL) but simply return NULL. The caller, GFile, will create a
1110 polling monitor if NULL is returned.
1112 2007-10-09 Alexander Larsson <alexl@redhat.com>
1116 * gio-unix-2.0.pc.in:
1117 Add gio-unix-2.0.pc if OS_UNIX
1120 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1122 2007-10-09 Alexander Larsson <alexl@redhat.com>
1124 * gio/gunixmounts.[ch]:
1125 Make unix mount monitoring API sane.
1126 Now its just a object with mounts_changed
1127 and mountpoints_changed signals.
1129 * gio/glocaldirectorymonitor.c:
1130 * gio/gunixvolumemonitor.c:
1131 Use new mount monitor api
1133 2007-10-09 Alexander Larsson <alexl@redhat.com>
1135 * gio/gunixmounts.[ch]:
1136 Move guess type into one call for mounts and one for mountpoints
1139 * gio/gunixvolume.c:
1142 2007-10-09 Alexander Larsson <alexl@redhat.com>
1144 * gio/gunixmounts.[ch]:
1145 Remove _ prefix in preparation to make this semi-public
1146 Hide implementation of structs
1148 * gio/glocaldirectorymonitor.c:
1150 * gio/gunixvolume.c:
1151 * gio/gunixvolumemonitor.c:
1152 Update for above API changes
1154 2007-10-08 Alexander Larsson <alexl@redhat.com>
1157 Better polling fallback. This also handles the case where we have
1158 a monitor_file implementation, but it fails.
1160 2007-10-08 Alexander Larsson <alexl@redhat.com>
1164 * gio/gunixmounts.c:
1165 * programs/gio-monitor-dir.c:
1166 * programs/gio-monitor-file.c:
1167 Added cancellable to file monitoring calls.
1168 These are really sync calls and need this.
1170 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1172 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1173 (g_local_vfs_class_init):
1174 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1175 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1177 2007-10-05 Alexander Larsson <alexl@redhat.com>
1179 * gio/gdirectorymonitorprivate.h:
1180 * gio/gfilemonitorprivate.h:
1181 * gio/gdirectorymonitor.h:
1182 * gio/gfilemonitor.h:
1183 Remove *private.h and move to the public API, so that
1184 we can do implementations outside gio (such as in gvfs)
1186 * gio/gdirectorymonitor.c:
1187 * gio/gfilemonitor.c:
1188 * gio/glocaldirectorymonitor.c:
1189 * gio/gpollfilemonitor.c:
1190 * gio/inotify/inotify-helper.c:
1191 * gio/fam/fam-helper.c:
1192 Update to the new header names
1194 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
1196 * gio/gdirectorymonitor.c:
1197 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1200 2007-10-04 Alexander Larsson <alexl@redhat.com>
1202 * gio/glocalfileinfo.c (get_access_rights):
1203 Set CAN_TRASH when we can move the file.
1204 We should really also check for a parent trash dir.
1206 2007-10-04 Alexander Larsson <alexl@redhat.com>
1208 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1209 Add can_trash access attribute
1211 2007-10-04 Alexander Larsson <alexl@redhat.com>
1214 (g_local_file_trash):
1215 Create info file first. This is per-spec and allows
1216 us to actually trash directories.
1218 2007-10-02 Alexander Larsson <alexl@redhat.com>
1220 * gio/gdesktopappinfo.c:
1221 Implement the new mime support code.
1222 Always set app as handling mimetype when being set as default for it
1224 2007-10-01 Alexander Larsson <alexl@redhat.com>
1226 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
1227 Fix up check for xattrs:
1229 2007-10-01 Alexander Larsson <alexl@redhat.com>
1232 (g_app_info_set_as_default_for_extension):
1233 (g_app_info_add_supports_type):
1234 (g_app_info_can_remove_supports_type):
1235 (g_app_info_remove_supports_type):
1236 Make these fail nicely if not implemented
1238 2007-10-01 Paolo Borelli <pborelli@katamail.com>
1240 * gio/glocalfileoutputstream.c:
1241 * gio/glocalfileoutputstream.h:
1246 * programs/gio-save.c:
1247 Add a GFileCreateFlags argument to operations that can create
1250 2007-10-01 Alexander Larsson <alexl@redhat.com>
1252 * gio/gappinfo.[ch]:
1253 * gio/gdesktopappinfo.c:
1254 Add more (stubbed out) mime API needed for nautilus
1256 2007-10-01 Alexander Larsson <alexl@redhat.com>
1259 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
1260 Add g_app_info_set_as_default_for_extension.
1262 * gio/gdesktopappinfo.c:
1263 Dummy for g_app_info_set_as_default_for_extension
1264 Support flags in g_app_info_create_from_commandline
1266 * gio/gwin32appinfo.c:
1268 Update for API changes
1270 * gio/gthemedicon.c:
1271 Properly NULL-terminate list of icon names
1273 2007-09-28 Alexander Larsson <alexl@redhat.com>
1275 * gio/gloadableicon.h:
1276 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
1278 2007-09-28 Alexander Larsson <alexl@redhat.com>
1281 Install headers in $includedir/gio-standalone/
1283 * gio-2.0.pc.in: Added.
1284 * gio-standalone.pc.in: Removed.
1287 Renamed pkg-config file to match glib (for future move)
1288 Update to the new include dir
1291 Add more TODO comments
1293 2007-09-28 Alexander Larsson <alexl@redhat.com>
1295 * gio/gdesktopappinfo.[ch]:
1296 Expose new_from_filename
1297 Add getter for is_hidden and handle it better
1299 2007-09-28 Alexander Larsson <alexl@redhat.com>
1301 * gio/gfileinfo.[ch]:
1302 Rename g_file_size_format_for_display to
1303 g_format_file_size_for_display.
1304 Now it doesn't have the g_file prefix, so we
1305 can later move it to glib.
1307 2007-09-28 Alexander Larsson <alexl@redhat.com>
1309 * gio/gappinfo.[ch]:
1310 Add g_app_info_get_id and g_app_info_get_executable.
1311 Make all getters non-reffing
1312 Make g_app_info_launch take GFile arguments.
1313 Add must_support_uris argument to g_app_info_get_default_for_type.
1315 * gio/gwin32appinfo.c:
1316 Update to GAppInfo api changes
1318 * gio/gdesktopappinfo.c:
1319 Update to GAppInfo api changes
1320 Implement supports_xdg_startup_notify
1322 * gio/gfileicon.c (g_file_icon_get_file):
1323 Make getter non-reffing.
1328 2007-09-27 Alexander Larsson <alexl@redhat.com>
1330 * gio/gfileinfo.[ch]:
1331 Add g_file_size_format_for_display helper
1333 2007-09-27 Alexander Larsson <alexl@redhat.com>
1335 * gio/glocalfileinfo.c:
1336 Set UNIX_GID from gid, not from uid
1338 2007-09-27 Alexander Larsson <alexl@redhat.com>
1341 Add g_file_set_attributes_async
1343 2007-09-27 Alexander Larsson <alexl@redhat.com>
1345 * gio/glocalfile.c (g_local_file_set_display_name):
1346 Fix set_display_name to actually rename to the right place.
1347 Use lstat to look for existing files so we don't overwrite
1350 2007-09-26 Alexander Larsson <alexl@redhat.com>
1353 Add g_file_set_display_name_async()
1355 2007-09-26 Alexander Larsson <alexl@redhat.com>
1358 Add load_partial_contents async calls
1361 Make internal function static
1363 2007-09-26 Alexander Larsson <alexl@redhat.com>
1365 * gio/glocalfileinfo.c:
1366 Correctly detect broken symlinks
1368 2007-09-26 Alexander Larsson <alexl@redhat.com>
1370 * gio/gcancellable.c (g_cancellable_cancel):
1371 Allow cancel on NULL cancellable
1373 2007-09-25 Alexander Larsson <alexl@redhat.com>
1375 * gio/gsimpleasyncresult.c:
1376 Don't allocate g_error manually.
1377 Fixes g_slice/g_new mixup crash
1379 2007-09-25 Alexander Larsson <alexl@redhat.com>
1381 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
1382 Actually set active_backend.
1383 This means the monitor will be cancelled correctly.
1385 2007-09-25 Alexander Larsson <alexl@redhat.com>
1387 * gio/gdirectorymonitor.c:
1388 Set timeout to NULL when destroying
1390 2007-09-25 Alexander Larsson <alexl@redhat.com>
1393 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
1394 that is a better description of the error.
1396 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
1398 * gio/gvfs.c: (g_vfs_get_local):
1399 Make the local vfs variable static. The same instance should
1402 2007-09-24 Alexander Larsson <alexl@redhat.com>
1404 * gio/glocalfileinfo.c:
1405 Pass in actual length read into sniffer, not the length
1408 2007-09-21 Alexander Larsson <alexl@redhat.com>
1410 * gio/gfileenumerator.c:
1413 * gio/gfileinputstream.c:
1414 * gio/gfileoutputstream.c:
1415 * gio/ginputstream.c:
1416 * gio/goutputstream.c:
1417 Don't crash if async callbacks are NULL
1419 2007-09-20 Alexander Larsson <alexl@redhat.com>
1422 Add async enumerate_children method and default
1425 2007-09-20 Alexander Larsson <alexl@redhat.com>
1428 Add g_file_contains_file & g_file_get_relative_path, since they
1429 were needed for nautilus.
1430 Renamed g_file_resolve_relative to g_file_resolve_relative_path
1435 Implement new methods
1437 2007-09-17 Alexander Larsson <alexl@redhat.com>
1440 * gio/gfileinputstream.[ch]:
1441 * gio/gfileoutputstream.[ch]:
1443 * gio/glocalfileenumerator.[ch]:
1444 * gio/glocalfileinfo.[ch]:
1445 * gio/glocalfileinputstream.c:
1446 * gio/glocalfileoutputstream.c:
1447 * gio/gpollfilemonitor.c:
1448 * programs/gio-copy.c:
1449 * programs/gio-info.c:
1450 * programs/gio-move.c:
1451 Rename get_file_info to query_info() to make it clearer
1452 that these are not simple getters, but do i/o.
1454 2007-09-17 Alexander Larsson <alexl@redhat.com>
1456 * gio/gdatainputstream.[ch]:
1457 * gio/test-streams.c:
1458 Use _read_XXX instead of _get_XXX for the i/o calls
1461 2007-09-17 Alexander Larsson <alexl@redhat.com>
1464 Added needed stuff to TODO comment
1466 2007-09-17 Alexander Larsson <alexl@redhat.com>
1468 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
1469 Don't error out removing the backup copy if it doesn't
1472 2007-09-14 Alexander Larsson <alexl@redhat.com>
1474 * programs/Makefile.am:
1475 * programs/gvfs-*.c:
1477 Renamed apps from gvfs-xxx to gio-xxx.
1479 2007-09-14 Alexander Larsson <alexl@redhat.com>
1482 * gio/gfileoutputstream.[ch]:
1483 * gio/glocalfileoutputstream.c:
1484 * programs/gvfs-save.c:
1485 g_file_output_stream_get_etag doesn't do i/o, so remove
1486 cancellation and error.
1488 2007-09-14 Alexander Larsson <alexl@redhat.com>
1491 Add new_etag output to replace_contents functions
1493 2007-09-14 Alexander Larsson <alexl@redhat.com>
1495 * gio/gfileoutputstream.[ch]:
1496 Add async get_file_info and default implementation
1498 2007-09-14 Alexander Larsson <alexl@redhat.com>
1500 * gio/gfileinputstream.c:
1501 Implement fallback wrapper for async get_file_info
1503 2007-09-14 Alexander Larsson <alexl@redhat.com>
1506 Add etag out argument to load_contents
1511 2007-09-14 Alexander Larsson <alexl@redhat.com>
1513 * gio/gcontenttype.c (looks_like_text):
1514 Whitespace like tab, cr and lf do not make the
1517 2007-09-14 Alexander Larsson <alexl@redhat.com>
1519 * gio/gfileinputstream.[ch]:
1520 Add async get_file_info.
1522 2007-09-13 Alexander Larsson <alexl@redhat.com>
1524 * gio/goutputstream.c (g_output_stream_write_all):
1525 Allow NULL for bytes_written
1527 2007-09-13 Alexander Larsson <alexl@redhat.com>
1529 * gio/gmemoryinputstream.[ch]:
1530 Add accessors for data
1532 2007-09-13 Alexander Larsson <alexl@redhat.com>
1534 * gio/gdatainputstream.c (g_data_input_stream_get_until):
1535 Don't crash if length is NULL