1 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
7 * gbufferedinputstream.c:
8 * gbufferedinputstream.h:
9 * gbufferedoutputstream.c:
10 * gbufferedoutputstream.h:
16 * gdataoutputstream.c:
17 * gdataoutputstream.h:
18 * gdirectorymonitor.c:
19 * gdirectorymonitor.h:
36 * gfilenamecompleter.c:
37 * gfilenamecompleter.h:
38 * gfileoutputstream.c:
39 * gfileoutputstream.h:
40 * gfilterinputstream.c:
41 * gfilterinputstream.h:
42 * gfilteroutputstream.c:
43 * gfilteroutputstream.h:
56 * glocalfileoutputstream.c:
57 * gmemoryinputstream.c:
58 * gmemoryinputstream.h:
59 * gmemoryoutputstream.c:
60 * gmemoryoutputstream.h:
68 * gsimpleasyncresult.c:
69 * gsimpleasyncresult.h:
70 * gsocketinputstream.c:
71 * gsocketinputstream.h:
72 * gsocketoutputstream.c:
73 * gsocketoutputstream.h:
80 * gunixvolumemonitor.c:
89 Bumps documentation to 93% symbol coverage, touching most
90 of the public files. Fixes broken function documentation prototypes.
91 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
92 gtk-doc headers in private files.
94 2007-11-27 Jürg Billeter <j@bitron.ch>
96 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
97 (g_buffered_input_stream_read_byte):
98 * gbufferedinputstream.h:
99 New functions for efficient access to buffer and simple single byte
102 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
103 (g_data_input_stream_read_until):
104 * gdatainputstream.h:
105 Use peek_buffer to avoid memcpy in scan_for_newline, implement
106 read_until with multiple stop chars.
108 2007-11-27 Alexander Larsson <alexl@redhat.com>
112 * inotify/Makefile.am:
113 Use the user-specified giomoduledir
115 2007-11-27 Alexander Larsson <alexl@redhat.com>
119 Add catch-all gio.h header
120 Don't install gdummyfile.h
122 2007-11-26 Alexander Larsson <alexl@redhat.com>
124 * Makefile.am (gioinclude_HEADERS):
125 Remove trailing whitespace
127 2007-11-26 Alexander Larsson <alexl@redhat.com>
129 Merge gio-standalone into glib
131 2007-11-25 Christian Kellner <gicmo@gnome.org>
133 * gio/goutputstream.c:
134 Fix small mistake in the docs.
136 2007-11-21 Christian Persch <chpe@gnome.org>
138 * gio/glocalfile.c: (g_local_file_trash):
139 Convert filenames to UTF-8 for GError.
140 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
141 as per xdg base dir spec.
143 2007-11-21 Christian Persch <chpe@gnome.org>
145 * gio/gdesktopappinfo.c:
146 Use that g_key_file_to_data cannot fail.
148 Use stock defines for the key file group and key names.
151 2007-11-21 Alexander Larsson <alexl@redhat.com>
154 (copy_stream_with_progress):
155 Make sure we do a final progress callback with
158 2007-11-21 Alexander Larsson <alexl@redhat.com>
161 Export g_file_copy_attributes
162 Remove padding as its not needed for interfaces
164 2007-11-20 Alexander Larsson <alexl@redhat.com>
169 Add G_IO_ERROR_WOULD_MERGE for
170 copy/move dir on dir with overwrite.
172 2007-11-20 Alexander Larsson <alexl@redhat.com>
175 * gio/glocalfileinfo.c:
176 Add COPY_NAME (this is an optional
177 non-modified utf8 version of the name) that
180 2007-11-20 Alexander Larsson <alexl@redhat.com>
182 * gio/glocalfileenumerator.c:
183 Report errors as GIOError, not GFileError
185 2007-11-16 Alexander Larsson <alexl@redhat.com>
187 * gio/glocalfileoutputstream.c:
188 * gio/gwin32appinfo.c:
189 Fix typos in strings.
190 Patch from Luca Ferretti <elle.uca@libero.it>
192 2007-11-15 Alexander Larsson <alexl@redhat.com>
195 Post release version bump
197 === gio-standalone 0.1.2 ===
199 2007-11-15 Alexander Larsson <alexl@redhat.com>
201 * docs/reference/gio/Makefile.am:
202 Fix up distcheck by removing weird
208 2007-11-14 Alexander Larsson <alexl@redhat.com>
210 * gio/gdesktopappinfo.c:
211 * gio/glocaldirectorymonitor.c:
213 * gio/glocalfileinfo.c:
214 * gio/inotify/inotify-sub.c:
215 * programs/gio-cat.c:
216 * programs/gio-copy.c:
217 * programs/gio-info.c:
219 * programs/gio-monitor-dir.c:
220 * programs/gio-monitor-file.c:
221 * programs/gio-mount.c:
222 * programs/gio-move.c:
224 * programs/gio-save.c:
225 * programs/gio-trash.c:
226 Leak fixes from Kjartan Maraas
228 2007-11-14 Alexander Larsson <alexl@redhat.com>
230 * gio/fam/fam-helper.c:
232 * gio/glocalfileinfo.c:
236 * gio/inotify/inotify-diag.c:
237 * gio/inotify/inotify-kernel.c:
238 Various code cleanups from Kjartan Maraas
240 2007-11-14 Alexander Larsson <alexl@redhat.com>
242 * gio/gioscheduler.c:
244 Set up threadpool so that we cache 2 unused
245 idle threads for at 15 secs. This means we
246 will reuse thread-local data (like dbus connections)
249 2007-11-14 Alexander Larsson <alexl@redhat.com>
251 * gio/fam/fam-helper.c:
252 * gio/fam/gfamdirectorymonitor.c:
253 * gio/fam/gfamfilemonitor.c:
255 * gio/gcontenttype.c:
256 * gio/gdatainputstream.c:
257 * gio/gdataoutputstream.c:
261 * gio/gfileattribute.h:
262 * gio/gfileenumerator.c:
264 * gio/ginputstream.c:
267 * gio/glocalfileinfo.c:
268 * gio/goutputstream.c:
269 * gio/gpollfilemonitor.c:
270 * gio/gsimpleasyncresult.c:
273 * gio/inotify/ginotifydirectorymonitor.c:
274 * gio/inotify/ginotifyfilemonitor.c:
275 * gio/inotify/inotify-diag.c:
276 * gio/inotify/inotify-kernel.c:
277 * gio/inotify/inotify-path.c:
279 * gio/test-streams.c:
280 * programs/gio-info.c:
281 * programs/gio-monitor-dir.c:
282 * programs/gio-monitor-file.c:
283 Various code cleanups from Kjartan Maraas
285 2007-11-13 Alexander Larsson <alexl@redhat.com>
288 Handle the uri-scheme calls for dummy files
290 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
292 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
293 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
294 to avoid clash with the C++ keyword.
296 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
298 * gio/glocalfileinfo.c: Build fix, added missing semicolon
299 to an ifdef'ed call to getpwuid() in lookup_uid_data().
301 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
303 * gio/glocaldirectorymonitor.c:
304 * gio/glocalfilemonitor.c:
305 * gio/gunionvolumemonitor.c:
306 Don't use g_once_init_*() for initializations that could fail and
307 could leave the initialization variable set to 0 but use GOnce.
308 This prevents a deadlock on the second call when trying to create
309 a monitor and no monitor type is available. Thanks to Sven Herzberg
312 2007-11-11 Sven Herzberg <sven@imendio.com>
314 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
315 #ifdef (make it work on MacOS X again)
317 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
319 Fixes Changelog for last two commits (sorry guys).
321 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
323 * gio/gbufferedinputstream.c:
324 * gio/gdatainputstream.c:
326 * gio/gfileoutputstream.c:
327 * gio/gfilterinputstream.c:
328 * gio/glocalfileinputstream.c:
331 More consistency fixes in g*stream.c files.
332 Significant clean of gfile's documentation, filling in of
333 asynchronous operations documentation.
335 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
337 * gio/gasyncresult.c:
338 * gio/gbufferedinputstream.c:
339 * gio/gbufferedoutputstream.c:
340 * gio/gcancellable.c:
341 * gio/gcontenttype.c:
342 * gio/gdatainputstream.c:
343 * gio/gdataoutputstream.c:
344 * gio/gdesktopappinfo.c:
347 * gio/gfileattribute.c:
348 * gio/gio/gfileenumerator.c:
350 * gio/gfileinputstream.c:
351 * gio/gfilemonitor.c:
352 * gio/gfileoutputstream.c:
353 * gio/ginputstream.c:
355 * gio/gioscheduler.c:
356 * gio/gloadableicon.c:
357 * gio/glocalfileoutputstream.c:
358 * gio/gmemoryoutputstream.c:
359 * gio/gmountoperation.c:
360 * gio/goutputstream.c:
362 * gio/gsimpleasyncresult.c:
363 * gio/gunionvolumemonitor.c:
369 * gio/gvolumemonitor.c:
370 Updated documentation stubs, working towards consistency and
373 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
375 * gio/gmemoryoutputstream.c:
376 * gio/gmemoryoutputstream.h:
377 Change g_memory_output_stream_set_free_on_close() to
378 g_memory_output_stream_set_free_data() as this makes more sense and
379 is more consistent with GMemoryInputStream.
381 2007-11-07 Alexander Larsson <alexl@redhat.com>
388 Change how we find the default vfs so that
389 we can handle a gvfs failing to init
391 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
393 * gio/gbufferedoutputstream.c:
394 * gio/gdatainputstream.c:
395 * gio/gdataoutputstream.c:
396 * gio/gfileinputstream.c:
397 * gio/gfileoutputstream.c:
398 * gio/gfilterinputstream.c:
399 * gio/gfilteroutputstream.c:
400 * gio/ginputstream.c:
401 * gio/gmemoryinputstream.c:
402 * gio/gmemoryoutputstream.c:
403 * gio/goutputstream.c:
404 * gio/gsimpleasyncresult.c:
405 * gio/gsocketinputstream.c:
406 * gio/gsocketoutputstream.c:
407 Add guards to the remaining public functions, add a TODO for
408 an unimplemented function and remove some useless guards.
410 2007-11-07 Alexander Larsson <alexl@redhat.com>
413 Autoconf checks for the various types of
414 getpwuid_r and getgrgid_r
416 * gio/glocalfileinfo.c:
417 Use the autoconf checks from above
419 2007-11-07 Alexander Larsson <alexl@redhat.com>
422 (g_local_file_query_filesystem_info):
423 Some fixes for the statvfs case
425 2007-11-07 Alexander Larsson <alexl@redhat.com>
428 (g_local_file_query_filesystem_info):
429 Pick the "best" of statfs / statvfs for the system
430 if both are availible.
432 2007-11-07 Alexander Larsson <alexl@redhat.com>
434 Solaris fixes from Halton.Huo@Sun.COM:
441 * gio/glocalfileinfo.c:
442 Fix for solaris definition of getpwuid_r
444 * gio/test-streams.c:
445 Use G_GNUC_PRETTY_FUNCTION
447 2007-11-07 Alexander Larsson <alexl@redhat.com>
449 * gio/gdesktopappinfo.c:
450 (update_default_list):
451 Remove double semicolon.
452 Patch from Jens Granseuer
454 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
456 * docs/reference/gio/gio-sections.txt:
457 * gio/gbufferedinputstream.c:
458 * gio/gbufferedinputstream.h:
459 * gio/gdatainputstream.c:
460 * gio/gfileenumerator.c:
461 * gio/gioscheduler.c:
462 * gio/gunionvolumemonitor.c:
464 * programs/gio-save.c:
465 Fix typo: availible -> available. Unfortuntely this breaks API
466 and ABI as g_buffered_input_stream_get_available() was renamed.
469 * gio/gbufferedinputstream.c:
470 Add guards for public functions.
472 2007-11-06 Ross Burton <ross@openedhand.com>
474 * docs/reference/gio/Makefile.am:
475 Fix invalid += usage which automake 1.10 doesn't like.
477 2007-11-06 Alexander Larsson <alexl@redhat.com>
480 (g_app_launch_context_class_init):
483 Patch from Ross Burton
485 2007-11-06 Alexander Larsson <alexl@redhat.com>
488 Post release version bump
490 === gio-standalone 0.1.1 ===
492 2007-11-06 Alexander Larsson <alexl@redhat.com>
495 Bump version to 0.1.1
497 * gio/gsimpleasyncresult.c:
498 (g_simple_async_result_set_from_error):
499 Remove bogus g_return_if_fail
501 2007-11-06 Alexander Larsson <alexl@redhat.com>
504 The name is gio-standalone
507 Add top src/builddir to includedir
509 2007-11-06 Alexander Larsson <alexl@redhat.com>
511 * docs/reference/gio/gio-sections.txt:
513 * gio/gbufferedinputstream.c:
514 * gio/gbufferedoutputstream.c:
515 * gio/gcancellable.c:
516 * gio/gdatainputstream.h:
517 * gio/gdataoutputstream.c:
518 * gio/gdataoutputstream.h:
519 * gio/gdirectorymonitor.c:
521 * gio/gfileattribute.c:
522 * gio/gfileattribute.h:
523 * gio/gfileenumerator.c:
524 * gio/gfileenumerator.h:
527 * gio/gfileinputstream.h:
528 * gio/gfilemonitor.c:
529 * gio/gfileoutputstream.h:
530 * gio/glocalfilemonitor.h:
531 * gio/glocalfileoutputstream.h:
532 * gio/gmemoryinputstream.c:
533 * gio/gmemoryoutputstream.c:
534 * gio/gmountoperation.c:
535 * gio/goutputstream.c:
536 * gio/goutputstream.h:
538 * gio/gsimpleasyncresult.c:
542 * gio/inotify/inotify-helper.c:
545 Patch from Ross Burton
547 2007-11-06 Alexander Larsson <alexl@redhat.com>
549 * gio/gfilenamecompleter.c:
550 (g_filename_completer_get_completions):
554 Remove unused function
556 Patches from Ross Burton
558 2007-11-06 Alexander Larsson <alexl@redhat.com>
563 Padding not needed for interfaces
565 2007-11-06 Alexander Larsson <alexl@redhat.com>
567 * gio/gfilemonitor.c:
571 Make giotypes.h an internal file
574 * gio/gbufferedinputstream.h:
575 * gio/gbufferedoutputstream.h:
576 * gio/gcancellable.h:
577 * gio/gdatainputstream.h:
578 * gio/gdataoutputstream.h:
579 * gio/gdirectorymonitor.c:
580 * gio/gdirectorymonitor.h:
585 * gio/gfileattribute.h:
586 * gio/gfileenumerator.h:
591 * gio/gfilemonitor.c:
592 * gio/gfilemonitor.h:
593 * gio/gfilenamecompleter.c:
594 * gio/gfilenamecompleter.h:
595 * gio/gfilterinputstream.h:
596 * gio/gfilteroutputstream.h:
597 * gio/ginputstream.h:
598 * gio/gmemoryinputstream.h:
599 * gio/gmemoryoutputstream.h:
600 * gio/gmountoperation.c:
601 * gio/gmountoperation.h:
602 * gio/gnativevolumemonitor.c:
603 * gio/goutputstream.h:
606 * gio/gsimpleasyncresult.c:
607 * gio/gsimpleasyncresult.h:
608 * gio/gsocketinputstream.h:
609 * gio/gsocketoutputstream.h:
615 * gio/gvolumemonitor.c:
616 * gio/gvolumemonitor.h:
617 Add padding in classes where it seems useful
618 Don't include giotypes.h from public headers
619 Move in Class definitions into c file where possible
624 2007-11-06 Alexander Larsson <alexl@redhat.com>
626 * docs/reference/gio/gio-docs.xml:
627 Better structure for API docs
629 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
632 * gio/gloadableicon.c:
633 * gio/gsimpleasyncresult.c:
635 Add some more guards to public functions. Only files missing are now
638 2007-11-06 Alexander Larsson <alexl@redhat.com>
640 * docs/reference/gio/gio-docs.xml:
641 Remove old files, add missing ones
643 2007-11-06 Alexander Larsson <alexl@redhat.com>
645 * docs/reference/gio/gio-sections.txt:
648 Hide implementation classes
650 * gio/gdriveprivate.h:
651 * gio/gvolumeprivate.h:
652 Remove non-existing function declarations
654 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
657 Fix compilation warnings and add guards to the new functions.
659 * gio/gasyncresult.c:
661 Add guards to the public functions.
664 Implement get_path().
666 2007-11-06 Alexander Larsson <alexl@redhat.com>
668 * gio/gfilenamecompleter.c:
669 Make g_filename_completer_get_completions
670 return char ** instead of GList for
673 * docs/reference/gio/gio-docs.xml:
674 * docs/reference/gio/gio-sections.txt:
676 * gio/gasyncresult.c:
677 * gio/gbufferedinputstream.c:
678 * gio/gbufferedoutputstream.c:
679 * gio/gcancellable.c:
680 * gio/gcontenttype.c:
681 * gio/gdatainputstream.c:
682 * gio/gdataoutputstream.c:
683 * gio/gdesktopappinfo.c:
684 * gio/gdirectorymonitor.c:
688 * gio/gfileattribute.c:
689 * gio/gfileenumerator.c:
692 * gio/gfileinputstream.c:
693 * gio/gfilemonitor.c:
694 * gio/gfilenamecompleter.c:
695 * gio/gfilenamecompleter.h:
696 * gio/gfileoutputstream.c:
697 * gio/gfilterinputstream.c:
699 * gio/ginputstream.c:
701 * gio/gioscheduler.c:
702 * gio/gloadableicon.c:
703 * gio/glocaldirectorymonitor.c:
705 * gio/glocalfileinputstream.c:
706 * gio/glocalfilemonitor.c:
707 * gio/glocalfileoutputstream.c:
709 * gio/gmemoryinputstream.c:
710 * gio/gmemoryoutputstream.c:
711 * gio/gmountoperation.c:
712 * gio/goutputstream.c:
713 * gio/gpollfilemonitor.c:
715 * gio/gsimpleasyncresult.c:
716 * gio/gsocketinputstream.c:
717 * gio/gsocketoutputstream.c:
719 * gio/gunionvolumemonitor.c:
723 * gio/gunixvolumemonitor.c:
727 * gio/gvolumemonitor.c:
728 * gio/gwin32appinfo.c:
729 Add (mostly stub) doc strings to public functions.
730 Patch from Andrew Walton (awalton@gmail.com)
732 2007-11-06 Alexander Larsson <alexl@redhat.com>
735 Added GAppLaunchContext object and pass that to launch.
736 This allows simple implementation of both
737 launch-on-screen and startup notification via a gtk+
738 subclass of GAppLaunchContext
740 * gio/gdesktopappinfo.c:
741 Implement GAppLaunchContext API
743 * gio/gwin32appinfo.c:
746 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
748 * gio/gmountoperation.c:
749 Add some guards to GMountOperation's public functions.
751 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
755 * gio/gcancellable.c:
756 * gio/gdirectorymonitor.c:
758 * gio/gfileenumerator.c:
759 * gio/gfilemonitor.c:,
760 * gio/gfilenamecompleter.c:
763 * gio/gioscheduler.c:
767 * gio/gvolumemonitor.c:
768 Add even more guards to various public functions.
770 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
773 Add guards to the public functions of GAppInfo.
775 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
777 * gio/gcontenttype.c:
778 Add some more guards for public functions.
780 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
782 * gio/fam/fam-module.c:
783 * gio/fam/gfamdirectorymonitor.c:
784 * gio/fam/gfamdirectorymonitor.h:
785 * gio/fam/gfamfilemonitor.c:
786 * gio/fam/gfamfilemonitor.h:
787 * gio/inotify/ginotifydirectorymonitor.c:
788 * gio/inotify/ginotifydirectorymonitor.h:
789 * gio/inotify/ginotifyfilemonitor.c:
790 * gio/inotify/ginotifyfilemonitor.h:
791 Add proper copyright information and remove an unused variable
792 in the GInotifyFileMonitor constructor.
794 * gio/gcancellable.c:
795 Add a guard for a public function and an assertion to prevent
796 an undefined program state.
798 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
800 * gio/gfileattribute.c:
801 Don't run into an assertion if the given attribute value is NULL
802 in g_file_attribute_value_get_*() but instead return a fallback
803 value that makes sense in most situations. Passing them a attribute
804 value with the wrong type will still run into an assertion.
806 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
808 * gio/gfileattribute.c:
810 Add even more guards to the public functions. Also fix the refcounting
811 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
812 let g_file_info_list_attributes() filter the attributes by namespace
813 instead of simply ignoring the namespace parameter.
815 2007-11-03 Sven Herzberg <sven@imendio.com>
817 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
818 (This makes gio work on MacOS X again)
820 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
823 Build the gio subdirectory before the docs. Otherwise the build will
826 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
827 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
828 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
829 Add guards to the public functions.
831 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
833 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
834 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
835 to prevent a compiler warning.
837 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
838 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
839 return something in the non-void function find_topdir_for().
841 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
848 2007-11-01 Ryan Lortie <desrt@desrt.ca>
850 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
851 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
852 * gwin32appinfo.c (g_win32_app_info_launch):
853 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
854 envp_for_startup_id, g_desktop_app_info_launch,
855 g_desktop_app_info_launch_uris):
857 Give an opaque 'startup_id' string instead of 'envp'.
858 Support empty file lists for launching new windows.
859 Fix infinite recursion bug when launching URIs.
861 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
864 Add guard to the new g_file_get_uri_scheme() function.
866 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
869 Convert a g_return_val_if_fail() to setting the GError instead as
870 otherwise applications have to verify the parameter before otherwise
871 and the parameter might come directly from the user.
873 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
875 * gio/inotify/ginotify*.[ch]:
876 Add missing copyright information.
878 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
881 Add guards in the beginning of public functions to check for valid
882 parameters and fix a bug in copy_stream_with_progress() that could've
883 caused writing less bytes than reading.
884 * gio/glocalfileinfo.c:
885 Check for a NULL parameter and set the GError accordingly then.
886 * gio/goutputstream.c:
887 Fix the same bug as in gfile.c that could've caused writing less bytes
888 than reading in g_output_stream_real_splice().
890 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
893 Use the correct gvolumeprivate.h naming
895 2007-11-01 Christian Kellner <gicmo@gnome.org>
898 Remove leftover "$(daemon_sources)" entry.
900 2007-11-01 Christian Kellner <gicmo@gnome.org>
905 Add copyright information to source files.
907 2007-11-01 Alexander Larsson <alexl@redhat.com>
911 Add g_file_get_uri_scheme
913 2007-11-01 Alexander Larsson <alexl@redhat.com>
916 * gio/gdesktopappinfo.c:
917 * gio/gwin32appinfo.c:
918 Add g_app_info_get_default_for_uri_scheme.
920 2007-11-01 Alexander Larsson <alexl@redhat.com>
923 Correct filename for gdriveprivate.h
925 2007-10-31 Alexander Larsson <alexl@redhat.com>
928 Rename id:value to id:file
931 * gio/glocalfileinfo.c:
934 2007-10-31 Alexander Larsson <alexl@redhat.com>
938 Remove g_volume_get_platform_id, as thats not
939 needed with the simpler union volume monitor
941 2007-10-31 Alexander Larsson <alexl@redhat.com>
944 * gio/guniondrive.[ch]: Removed.
945 * gio/gunionvolume.[ch]: Removed.
946 Remove GUnionDrive/Volume
948 * gio/gunionvolumemonitor.c:
949 Simplify union volume monitor, now we
950 only have one native volume monitor and
951 we use the actual volumes/drives from the
952 child monitors instead of wrapping them
954 * gio/gnativevolumemonitor.[ch]:
955 Base class for native volume monitors.
956 Includes priority and get_volume_for_mountpoint
959 Add g_file_find_enclosing_volume
962 Remove volume name fs attribute
963 Add readonly fs attribute
966 Implement readonly attribute
967 remove volume name attribute
968 Implement find_enclosing volume
971 Add a volume for "/".
973 * gio/gunixvolume.[ch]:
974 Set better name for /
976 * gio/gunixvolumemonitor.[ch]:
977 Derive from GNativeVolumeMonitor
978 Implement get_volume_for_mountpoint
981 GVolume typedef moved to gfile.h
983 * gio/gvolumeprivate.h:
984 Add g_volume_get_for_mount_path
986 2007-10-31 Alexander Larsson <alexl@redhat.com>
988 * gio/gunixmounts.[ch]:
989 Add cache info to unix mount listers
990 Make getmntent use threadsafe
991 Add is_system_internal attribute for GUnixMount
995 Use is_system_internal instead of own code
997 * gio/glocaldirectorymonitor.c:
998 * gio/gunixvolumemonitor.c:
999 Update to new gunixmounts API
1004 2007-10-30 Alexander Larsson <alexl@redhat.com>
1007 Add volume name fsinfo attribute
1010 Read volume name info
1012 * gio/gunionvolumemonitor.c:
1013 Fix infinite loops when finalizing a union volume monitor
1015 2007-10-30 Alexander Larsson <alexl@redhat.com>
1017 * gio/goutputstream.[ch]:
1018 Add splice() with default implementation
1020 * gio/gsocketoutputstream.c:
1021 (g_socket_output_stream_write):
1022 Return error on cancellation correctly.
1024 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1026 * gio/glocalfile.c (g_local_file_trash):
1027 Do not leak a string.
1029 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1031 * gio/gfile.c (g_file_load_contents):
1032 Unref the stream after closing it.
1034 2007-10-25 Alexander Larsson <alexl@redhat.com>
1036 * gio/gioscheduler.h:
1039 2007-10-25 Alexander Larsson <alexl@redhat.com>
1043 Add g_file_has_uri_scheme and implement for local files
1045 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1047 * gio/gdesktopappinfo.c: do not leak a string.
1049 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1051 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1052 (g_local_directory_monitor_new):
1053 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1054 (g_local_file_monitor_new):
1055 Only look for the monitor type that should be used the first time
1056 and use g_qsort_with_data() instead of our own bubble sort
1059 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1062 * gio/fam/Makefile.am:
1063 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1064 * gio/fam/fam-helper.h:
1065 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1066 * gio/fam/gfamdirectorymonitor.c:
1067 * gio/fam/gfamdirectorymonitor.h:
1068 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1069 * gio/fam/gfamfilemonitor.h:
1070 * gio/glocaldirectorymonitor.c:
1071 * gio/glocaldirectorymonitor.h:
1072 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1073 * gio/glocalfilemonitor.h:
1074 * gio/inotify/Makefile.am:
1075 * gio/inotify/ginotifydirectorymonitor.c:
1076 * gio/inotify/ginotifydirectorymonitor.h:
1077 * gio/inotify/ginotifyfilemonitor.c:
1078 * gio/inotify/ginotifyfilemonitor.h:
1079 Implement the FAM and Inotify monitors as
1080 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1081 their own GIO module. GLocal(Directory|File)Monitor will use the
1082 monitor with the highest rank that is supported on that machine.
1084 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1087 Change GIO module dir to $(libdir)/gio/modules and change
1088 the log domain from GVFS to GIO. Also only export symbols starting
1089 with g_ in the resulting library.
1090 * gio/test-streams.c: (main):
1091 Set log handler for the GIO log domain.
1093 2007-10-22 Alexander Larsson <alexl@redhat.com>
1095 * gio/gfilenamecompleter.[ch]:
1096 Add g_filename_completer_set_dirs_only
1098 2007-10-22 Alexander Larsson <alexl@redhat.com>
1101 * gio/gurifuncs.[ch]:
1102 Add some simple URI helpers
1104 * gio/gfilenamecompleter.[ch]:
1105 Added object for filename (parse name actually) completion
1108 Handle ~ in parse names
1110 2007-10-17 Alexander Larsson <alexl@redhat.com>
1113 * gio/glocalfileinfo.c:
1114 Add and implement id:value attribute
1116 2007-10-17 Alexander Larsson <alexl@redhat.com>
1119 * gio/guniondrive.c:
1121 Add and implement g_drive_has_volumes
1123 2007-10-17 Alexander Larsson <alexl@redhat.com>
1126 * gio/glocalfileinfo.[ch]:
1127 Add unix:is_mountpoint and implement for local files
1129 2007-10-16 Alexander Larsson <alexl@redhat.com>
1131 * gio/gunionvolumemonitor.c:
1132 (g_union_volume_monitor_init):
1133 Fix up the unix type getting so that it works with gcc
1135 2007-10-12 Alexander Larsson <alexl@redhat.com>
1138 * gio/glocalfileinfo.c:
1139 Add thumbnail:failed to file info
1141 2007-10-12 Richard Hult <richard@imendio.com>
1143 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1144 optimizing away the get_type call (happens with some gcc versions,
1145 like the one shipped with OS X 10.4).
1147 2007-10-12 Alexander Larsson <alexl@redhat.com>
1149 * gio/glocalfileinfo.c:
1150 (_g_local_file_info_set_attribute):
1151 Fix build if not HAVE_XATTR
1152 Patch from Milosz Derezynski <internalerror@gmail.com>
1154 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1156 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1157 around for review, otherwise I would have asked you before
1160 2007-10-11 Alexander Larsson <alexl@redhat.com>
1163 Add thumbnail:path attribute
1165 * gio/glocalfileinfo.c:
1166 Implement thumbnail:path for local files
1168 2007-10-11 Alexander Larsson <alexl@redhat.com>
1170 * gio/glocalfileinfo.c:
1171 (_g_local_file_info_get):
1172 Avoid duplicate icon names
1174 2007-10-11 Alexander Larsson <alexl@redhat.com>
1176 * gio/gthemedicon.[ch]:
1177 Change g_themed_icon_get_names return type to const
1179 2007-10-10 Alexander Larsson <alexl@redhat.com>
1181 * gio/glocalfileinfo.c:
1182 Don't reference freed memory
1184 2007-10-10 Alexander Larsson <alexl@redhat.com>
1186 * gio/gfileattribute.c:
1189 * gio/glocalfileinfo.c:
1192 2007-10-10 Alexander Larsson <alexl@redhat.com>
1195 Check for NULL icons
1197 * gio/gfileattribute.c:
1198 Don't dup when getting objects (same as for string attributes)
1200 * gio/gicon.c (g_icon_equal):
1201 Safely handle NULLs in equal
1203 2007-10-10 Alexander Larsson <alexl@redhat.com>
1206 Fix c++ compilation issues
1207 Patch from Milosz Derezynski <internalerror@gmail.com>
1209 2007-10-10 Alexander Larsson <alexl@redhat.com>
1211 * programs/gio-monitor-dir.c:
1212 Don't crash if dir monitor not supported.
1214 2007-10-09 Alexander Larsson <alexl@redhat.com>
1217 Add missing G_END_DECLS
1219 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1221 * gio/gfile.c: (g_file_set_display_name),
1222 (g_file_query_settable_attributes),
1223 (g_file_query_writable_namespaces):
1224 Return NULL not FALSE on errors as the return type is a pointer.
1226 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1228 * gio/glocalfile.c: (g_local_file_monitor_file):
1229 Don't call monitor_file on the default interface vtable (which
1230 is NULL) but simply return NULL. The caller, GFile, will create a
1231 polling monitor if NULL is returned.
1233 2007-10-09 Alexander Larsson <alexl@redhat.com>
1237 * gio-unix-2.0.pc.in:
1238 Add gio-unix-2.0.pc if OS_UNIX
1241 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1243 2007-10-09 Alexander Larsson <alexl@redhat.com>
1245 * gio/gunixmounts.[ch]:
1246 Make unix mount monitoring API sane.
1247 Now its just a object with mounts_changed
1248 and mountpoints_changed signals.
1250 * gio/glocaldirectorymonitor.c:
1251 * gio/gunixvolumemonitor.c:
1252 Use new mount monitor api
1254 2007-10-09 Alexander Larsson <alexl@redhat.com>
1256 * gio/gunixmounts.[ch]:
1257 Move guess type into one call for mounts and one for mountpoints
1260 * gio/gunixvolume.c:
1263 2007-10-09 Alexander Larsson <alexl@redhat.com>
1265 * gio/gunixmounts.[ch]:
1266 Remove _ prefix in preparation to make this semi-public
1267 Hide implementation of structs
1269 * gio/glocaldirectorymonitor.c:
1271 * gio/gunixvolume.c:
1272 * gio/gunixvolumemonitor.c:
1273 Update for above API changes
1275 2007-10-08 Alexander Larsson <alexl@redhat.com>
1278 Better polling fallback. This also handles the case where we have
1279 a monitor_file implementation, but it fails.
1281 2007-10-08 Alexander Larsson <alexl@redhat.com>
1285 * gio/gunixmounts.c:
1286 * programs/gio-monitor-dir.c:
1287 * programs/gio-monitor-file.c:
1288 Added cancellable to file monitoring calls.
1289 These are really sync calls and need this.
1291 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1293 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1294 (g_local_vfs_class_init):
1295 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1296 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1298 2007-10-05 Alexander Larsson <alexl@redhat.com>
1300 * gio/gdirectorymonitorprivate.h:
1301 * gio/gfilemonitorprivate.h:
1302 * gio/gdirectorymonitor.h:
1303 * gio/gfilemonitor.h:
1304 Remove *private.h and move to the public API, so that
1305 we can do implementations outside gio (such as in gvfs)
1307 * gio/gdirectorymonitor.c:
1308 * gio/gfilemonitor.c:
1309 * gio/glocaldirectorymonitor.c:
1310 * gio/gpollfilemonitor.c:
1311 * gio/inotify/inotify-helper.c:
1312 * gio/fam/fam-helper.c:
1313 Update to the new header names
1315 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
1317 * gio/gdirectorymonitor.c:
1318 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1321 2007-10-04 Alexander Larsson <alexl@redhat.com>
1323 * gio/glocalfileinfo.c (get_access_rights):
1324 Set CAN_TRASH when we can move the file.
1325 We should really also check for a parent trash dir.
1327 2007-10-04 Alexander Larsson <alexl@redhat.com>
1329 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1330 Add can_trash access attribute
1332 2007-10-04 Alexander Larsson <alexl@redhat.com>
1335 (g_local_file_trash):
1336 Create info file first. This is per-spec and allows
1337 us to actually trash directories.
1339 2007-10-02 Alexander Larsson <alexl@redhat.com>
1341 * gio/gdesktopappinfo.c:
1342 Implement the new mime support code.
1343 Always set app as handling mimetype when being set as default for it
1345 2007-10-01 Alexander Larsson <alexl@redhat.com>
1347 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
1348 Fix up check for xattrs:
1350 2007-10-01 Alexander Larsson <alexl@redhat.com>
1353 (g_app_info_set_as_default_for_extension):
1354 (g_app_info_add_supports_type):
1355 (g_app_info_can_remove_supports_type):
1356 (g_app_info_remove_supports_type):
1357 Make these fail nicely if not implemented
1359 2007-10-01 Paolo Borelli <pborelli@katamail.com>
1361 * gio/glocalfileoutputstream.c:
1362 * gio/glocalfileoutputstream.h:
1367 * programs/gio-save.c:
1368 Add a GFileCreateFlags argument to operations that can create
1371 2007-10-01 Alexander Larsson <alexl@redhat.com>
1373 * gio/gappinfo.[ch]:
1374 * gio/gdesktopappinfo.c:
1375 Add more (stubbed out) mime API needed for nautilus
1377 2007-10-01 Alexander Larsson <alexl@redhat.com>
1380 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
1381 Add g_app_info_set_as_default_for_extension.
1383 * gio/gdesktopappinfo.c:
1384 Dummy for g_app_info_set_as_default_for_extension
1385 Support flags in g_app_info_create_from_commandline
1387 * gio/gwin32appinfo.c:
1389 Update for API changes
1391 * gio/gthemedicon.c:
1392 Properly NULL-terminate list of icon names
1394 2007-09-28 Alexander Larsson <alexl@redhat.com>
1396 * gio/gloadableicon.h:
1397 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
1399 2007-09-28 Alexander Larsson <alexl@redhat.com>
1402 Install headers in $includedir/gio-standalone/
1404 * gio-2.0.pc.in: Added.
1405 * gio-standalone.pc.in: Removed.
1408 Renamed pkg-config file to match glib (for future move)
1409 Update to the new include dir
1412 Add more TODO comments
1414 2007-09-28 Alexander Larsson <alexl@redhat.com>
1416 * gio/gdesktopappinfo.[ch]:
1417 Expose new_from_filename
1418 Add getter for is_hidden and handle it better
1420 2007-09-28 Alexander Larsson <alexl@redhat.com>
1422 * gio/gfileinfo.[ch]:
1423 Rename g_file_size_format_for_display to
1424 g_format_file_size_for_display.
1425 Now it doesn't have the g_file prefix, so we
1426 can later move it to glib.
1428 2007-09-28 Alexander Larsson <alexl@redhat.com>
1430 * gio/gappinfo.[ch]:
1431 Add g_app_info_get_id and g_app_info_get_executable.
1432 Make all getters non-reffing
1433 Make g_app_info_launch take GFile arguments.
1434 Add must_support_uris argument to g_app_info_get_default_for_type.
1436 * gio/gwin32appinfo.c:
1437 Update to GAppInfo api changes
1439 * gio/gdesktopappinfo.c:
1440 Update to GAppInfo api changes
1441 Implement supports_xdg_startup_notify
1443 * gio/gfileicon.c (g_file_icon_get_file):
1444 Make getter non-reffing.
1449 2007-09-27 Alexander Larsson <alexl@redhat.com>
1451 * gio/gfileinfo.[ch]:
1452 Add g_file_size_format_for_display helper
1454 2007-09-27 Alexander Larsson <alexl@redhat.com>
1456 * gio/glocalfileinfo.c:
1457 Set UNIX_GID from gid, not from uid
1459 2007-09-27 Alexander Larsson <alexl@redhat.com>
1462 Add g_file_set_attributes_async
1464 2007-09-27 Alexander Larsson <alexl@redhat.com>
1466 * gio/glocalfile.c (g_local_file_set_display_name):
1467 Fix set_display_name to actually rename to the right place.
1468 Use lstat to look for existing files so we don't overwrite
1471 2007-09-26 Alexander Larsson <alexl@redhat.com>
1474 Add g_file_set_display_name_async()
1476 2007-09-26 Alexander Larsson <alexl@redhat.com>
1479 Add load_partial_contents async calls
1482 Make internal function static
1484 2007-09-26 Alexander Larsson <alexl@redhat.com>
1486 * gio/glocalfileinfo.c:
1487 Correctly detect broken symlinks
1489 2007-09-26 Alexander Larsson <alexl@redhat.com>
1491 * gio/gcancellable.c (g_cancellable_cancel):
1492 Allow cancel on NULL cancellable
1494 2007-09-25 Alexander Larsson <alexl@redhat.com>
1496 * gio/gsimpleasyncresult.c:
1497 Don't allocate g_error manually.
1498 Fixes g_slice/g_new mixup crash
1500 2007-09-25 Alexander Larsson <alexl@redhat.com>
1502 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
1503 Actually set active_backend.
1504 This means the monitor will be cancelled correctly.
1506 2007-09-25 Alexander Larsson <alexl@redhat.com>
1508 * gio/gdirectorymonitor.c:
1509 Set timeout to NULL when destroying
1511 2007-09-25 Alexander Larsson <alexl@redhat.com>
1514 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
1515 that is a better description of the error.
1517 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
1519 * gio/gvfs.c: (g_vfs_get_local):
1520 Make the local vfs variable static. The same instance should
1523 2007-09-24 Alexander Larsson <alexl@redhat.com>
1525 * gio/glocalfileinfo.c:
1526 Pass in actual length read into sniffer, not the length
1529 2007-09-21 Alexander Larsson <alexl@redhat.com>
1531 * gio/gfileenumerator.c:
1534 * gio/gfileinputstream.c:
1535 * gio/gfileoutputstream.c:
1536 * gio/ginputstream.c:
1537 * gio/goutputstream.c:
1538 Don't crash if async callbacks are NULL
1540 2007-09-20 Alexander Larsson <alexl@redhat.com>
1543 Add async enumerate_children method and default
1546 2007-09-20 Alexander Larsson <alexl@redhat.com>
1549 Add g_file_contains_file & g_file_get_relative_path, since they
1550 were needed for nautilus.
1551 Renamed g_file_resolve_relative to g_file_resolve_relative_path
1556 Implement new methods
1558 2007-09-17 Alexander Larsson <alexl@redhat.com>
1561 * gio/gfileinputstream.[ch]:
1562 * gio/gfileoutputstream.[ch]:
1564 * gio/glocalfileenumerator.[ch]:
1565 * gio/glocalfileinfo.[ch]:
1566 * gio/glocalfileinputstream.c:
1567 * gio/glocalfileoutputstream.c:
1568 * gio/gpollfilemonitor.c:
1569 * programs/gio-copy.c:
1570 * programs/gio-info.c:
1571 * programs/gio-move.c:
1572 Rename get_file_info to query_info() to make it clearer
1573 that these are not simple getters, but do i/o.
1575 2007-09-17 Alexander Larsson <alexl@redhat.com>
1577 * gio/gdatainputstream.[ch]:
1578 * gio/test-streams.c:
1579 Use _read_XXX instead of _get_XXX for the i/o calls
1582 2007-09-17 Alexander Larsson <alexl@redhat.com>
1585 Added needed stuff to TODO comment
1587 2007-09-17 Alexander Larsson <alexl@redhat.com>
1589 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
1590 Don't error out removing the backup copy if it doesn't
1593 2007-09-14 Alexander Larsson <alexl@redhat.com>
1595 * programs/Makefile.am:
1596 * programs/gvfs-*.c:
1598 Renamed apps from gvfs-xxx to gio-xxx.
1600 2007-09-14 Alexander Larsson <alexl@redhat.com>
1603 * gio/gfileoutputstream.[ch]:
1604 * gio/glocalfileoutputstream.c:
1605 * programs/gvfs-save.c:
1606 g_file_output_stream_get_etag doesn't do i/o, so remove
1607 cancellation and error.
1609 2007-09-14 Alexander Larsson <alexl@redhat.com>
1612 Add new_etag output to replace_contents functions
1614 2007-09-14 Alexander Larsson <alexl@redhat.com>
1616 * gio/gfileoutputstream.[ch]:
1617 Add async get_file_info and default implementation
1619 2007-09-14 Alexander Larsson <alexl@redhat.com>
1621 * gio/gfileinputstream.c:
1622 Implement fallback wrapper for async get_file_info
1624 2007-09-14 Alexander Larsson <alexl@redhat.com>
1627 Add etag out argument to load_contents
1632 2007-09-14 Alexander Larsson <alexl@redhat.com>
1634 * gio/gcontenttype.c (looks_like_text):
1635 Whitespace like tab, cr and lf do not make the
1638 2007-09-14 Alexander Larsson <alexl@redhat.com>
1640 * gio/gfileinputstream.[ch]:
1641 Add async get_file_info.
1643 2007-09-13 Alexander Larsson <alexl@redhat.com>
1645 * gio/goutputstream.c (g_output_stream_write_all):
1646 Allow NULL for bytes_written
1648 2007-09-13 Alexander Larsson <alexl@redhat.com>
1650 * gio/gmemoryinputstream.[ch]:
1651 Add accessors for data
1653 2007-09-13 Alexander Larsson <alexl@redhat.com>
1655 * gio/gdatainputstream.c (g_data_input_stream_get_until):
1656 Don't crash if length is NULL