1 2007-11-27 Jürg Billeter <j@bitron.ch>
3 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
4 (g_buffered_input_stream_read_byte):
5 * gbufferedinputstream.h:
6 New functions for efficient access to buffer and simple single byte
9 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
10 (g_data_input_stream_read_until):
12 Use peek_buffer to avoid memcpy in scan_for_newline, implement
13 read_until with multiple stop chars.
15 2007-11-27 Alexander Larsson <alexl@redhat.com>
19 * inotify/Makefile.am:
20 Use the user-specified giomoduledir
22 2007-11-27 Alexander Larsson <alexl@redhat.com>
26 Add catch-all gio.h header
27 Don't install gdummyfile.h
29 2007-11-26 Alexander Larsson <alexl@redhat.com>
31 * Makefile.am (gioinclude_HEADERS):
32 Remove trailing whitespace
34 2007-11-26 Alexander Larsson <alexl@redhat.com>
36 Merge gio-standalone into glib
38 2007-11-25 Christian Kellner <gicmo@gnome.org>
40 * gio/goutputstream.c:
41 Fix small mistake in the docs.
43 2007-11-21 Christian Persch <chpe@gnome.org>
45 * gio/glocalfile.c: (g_local_file_trash):
46 Convert filenames to UTF-8 for GError.
47 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
48 as per xdg base dir spec.
50 2007-11-21 Christian Persch <chpe@gnome.org>
52 * gio/gdesktopappinfo.c:
53 Use that g_key_file_to_data cannot fail.
55 Use stock defines for the key file group and key names.
58 2007-11-21 Alexander Larsson <alexl@redhat.com>
61 (copy_stream_with_progress):
62 Make sure we do a final progress callback with
65 2007-11-21 Alexander Larsson <alexl@redhat.com>
68 Export g_file_copy_attributes
69 Remove padding as its not needed for interfaces
71 2007-11-20 Alexander Larsson <alexl@redhat.com>
76 Add G_IO_ERROR_WOULD_MERGE for
77 copy/move dir on dir with overwrite.
79 2007-11-20 Alexander Larsson <alexl@redhat.com>
82 * gio/glocalfileinfo.c:
83 Add COPY_NAME (this is an optional
84 non-modified utf8 version of the name) that
87 2007-11-20 Alexander Larsson <alexl@redhat.com>
89 * gio/glocalfileenumerator.c:
90 Report errors as GIOError, not GFileError
92 2007-11-16 Alexander Larsson <alexl@redhat.com>
94 * gio/glocalfileoutputstream.c:
95 * gio/gwin32appinfo.c:
97 Patch from Luca Ferretti <elle.uca@libero.it>
99 2007-11-15 Alexander Larsson <alexl@redhat.com>
102 Post release version bump
104 === gio-standalone 0.1.2 ===
106 2007-11-15 Alexander Larsson <alexl@redhat.com>
108 * docs/reference/gio/Makefile.am:
109 Fix up distcheck by removing weird
115 2007-11-14 Alexander Larsson <alexl@redhat.com>
117 * gio/gdesktopappinfo.c:
118 * gio/glocaldirectorymonitor.c:
120 * gio/glocalfileinfo.c:
121 * gio/inotify/inotify-sub.c:
122 * programs/gio-cat.c:
123 * programs/gio-copy.c:
124 * programs/gio-info.c:
126 * programs/gio-monitor-dir.c:
127 * programs/gio-monitor-file.c:
128 * programs/gio-mount.c:
129 * programs/gio-move.c:
131 * programs/gio-save.c:
132 * programs/gio-trash.c:
133 Leak fixes from Kjartan Maraas
135 2007-11-14 Alexander Larsson <alexl@redhat.com>
137 * gio/fam/fam-helper.c:
139 * gio/glocalfileinfo.c:
143 * gio/inotify/inotify-diag.c:
144 * gio/inotify/inotify-kernel.c:
145 Various code cleanups from Kjartan Maraas
147 2007-11-14 Alexander Larsson <alexl@redhat.com>
149 * gio/gioscheduler.c:
151 Set up threadpool so that we cache 2 unused
152 idle threads for at 15 secs. This means we
153 will reuse thread-local data (like dbus connections)
156 2007-11-14 Alexander Larsson <alexl@redhat.com>
158 * gio/fam/fam-helper.c:
159 * gio/fam/gfamdirectorymonitor.c:
160 * gio/fam/gfamfilemonitor.c:
162 * gio/gcontenttype.c:
163 * gio/gdatainputstream.c:
164 * gio/gdataoutputstream.c:
168 * gio/gfileattribute.h:
169 * gio/gfileenumerator.c:
171 * gio/ginputstream.c:
174 * gio/glocalfileinfo.c:
175 * gio/goutputstream.c:
176 * gio/gpollfilemonitor.c:
177 * gio/gsimpleasyncresult.c:
180 * gio/inotify/ginotifydirectorymonitor.c:
181 * gio/inotify/ginotifyfilemonitor.c:
182 * gio/inotify/inotify-diag.c:
183 * gio/inotify/inotify-kernel.c:
184 * gio/inotify/inotify-path.c:
186 * gio/test-streams.c:
187 * programs/gio-info.c:
188 * programs/gio-monitor-dir.c:
189 * programs/gio-monitor-file.c:
190 Various code cleanups from Kjartan Maraas
192 2007-11-13 Alexander Larsson <alexl@redhat.com>
195 Handle the uri-scheme calls for dummy files
197 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
199 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
200 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
201 to avoid clash with the C++ keyword.
203 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
205 * gio/glocalfileinfo.c: Build fix, added missing semicolon
206 to an ifdef'ed call to getpwuid() in lookup_uid_data().
208 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
210 * gio/glocaldirectorymonitor.c:
211 * gio/glocalfilemonitor.c:
212 * gio/gunionvolumemonitor.c:
213 Don't use g_once_init_*() for initializations that could fail and
214 could leave the initialization variable set to 0 but use GOnce.
215 This prevents a deadlock on the second call when trying to create
216 a monitor and no monitor type is available. Thanks to Sven Herzberg
219 2007-11-11 Sven Herzberg <sven@imendio.com>
221 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
222 #ifdef (make it work on MacOS X again)
224 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
226 Fixes Changelog for last two commits (sorry guys).
228 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
230 * gio/gbufferedinputstream.c:
231 * gio/gdatainputstream.c:
233 * gio/gfileoutputstream.c:
234 * gio/gfilterinputstream.c:
235 * gio/glocalfileinputstream.c:
238 More consistency fixes in g*stream.c files.
239 Significant clean of gfile's documentation, filling in of
240 asynchronous operations documentation.
242 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
244 * gio/gasyncresult.c:
245 * gio/gbufferedinputstream.c:
246 * gio/gbufferedoutputstream.c:
247 * gio/gcancellable.c:
248 * gio/gcontenttype.c:
249 * gio/gdatainputstream.c:
250 * gio/gdataoutputstream.c:
251 * gio/gdesktopappinfo.c:
254 * gio/gfileattribute.c:
255 * gio/gio/gfileenumerator.c:
257 * gio/gfileinputstream.c:
258 * gio/gfilemonitor.c:
259 * gio/gfileoutputstream.c:
260 * gio/ginputstream.c:
262 * gio/gioscheduler.c:
263 * gio/gloadableicon.c:
264 * gio/glocalfileoutputstream.c:
265 * gio/gmemoryoutputstream.c:
266 * gio/gmountoperation.c:
267 * gio/goutputstream.c:
269 * gio/gsimpleasyncresult.c:
270 * gio/gunionvolumemonitor.c:
276 * gio/gvolumemonitor.c:
277 Updated documentation stubs, working towards consistency and
280 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
282 * gio/gmemoryoutputstream.c:
283 * gio/gmemoryoutputstream.h:
284 Change g_memory_output_stream_set_free_on_close() to
285 g_memory_output_stream_set_free_data() as this makes more sense and
286 is more consistent with GMemoryInputStream.
288 2007-11-07 Alexander Larsson <alexl@redhat.com>
295 Change how we find the default vfs so that
296 we can handle a gvfs failing to init
298 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
300 * gio/gbufferedoutputstream.c:
301 * gio/gdatainputstream.c:
302 * gio/gdataoutputstream.c:
303 * gio/gfileinputstream.c:
304 * gio/gfileoutputstream.c:
305 * gio/gfilterinputstream.c:
306 * gio/gfilteroutputstream.c:
307 * gio/ginputstream.c:
308 * gio/gmemoryinputstream.c:
309 * gio/gmemoryoutputstream.c:
310 * gio/goutputstream.c:
311 * gio/gsimpleasyncresult.c:
312 * gio/gsocketinputstream.c:
313 * gio/gsocketoutputstream.c:
314 Add guards to the remaining public functions, add a TODO for
315 an unimplemented function and remove some useless guards.
317 2007-11-07 Alexander Larsson <alexl@redhat.com>
320 Autoconf checks for the various types of
321 getpwuid_r and getgrgid_r
323 * gio/glocalfileinfo.c:
324 Use the autoconf checks from above
326 2007-11-07 Alexander Larsson <alexl@redhat.com>
329 (g_local_file_query_filesystem_info):
330 Some fixes for the statvfs case
332 2007-11-07 Alexander Larsson <alexl@redhat.com>
335 (g_local_file_query_filesystem_info):
336 Pick the "best" of statfs / statvfs for the system
337 if both are availible.
339 2007-11-07 Alexander Larsson <alexl@redhat.com>
341 Solaris fixes from Halton.Huo@Sun.COM:
348 * gio/glocalfileinfo.c:
349 Fix for solaris definition of getpwuid_r
351 * gio/test-streams.c:
352 Use G_GNUC_PRETTY_FUNCTION
354 2007-11-07 Alexander Larsson <alexl@redhat.com>
356 * gio/gdesktopappinfo.c:
357 (update_default_list):
358 Remove double semicolon.
359 Patch from Jens Granseuer
361 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
363 * docs/reference/gio/gio-sections.txt:
364 * gio/gbufferedinputstream.c:
365 * gio/gbufferedinputstream.h:
366 * gio/gdatainputstream.c:
367 * gio/gfileenumerator.c:
368 * gio/gioscheduler.c:
369 * gio/gunionvolumemonitor.c:
371 * programs/gio-save.c:
372 Fix typo: availible -> available. Unfortuntely this breaks API
373 and ABI as g_buffered_input_stream_get_available() was renamed.
376 * gio/gbufferedinputstream.c:
377 Add guards for public functions.
379 2007-11-06 Ross Burton <ross@openedhand.com>
381 * docs/reference/gio/Makefile.am:
382 Fix invalid += usage which automake 1.10 doesn't like.
384 2007-11-06 Alexander Larsson <alexl@redhat.com>
387 (g_app_launch_context_class_init):
390 Patch from Ross Burton
392 2007-11-06 Alexander Larsson <alexl@redhat.com>
395 Post release version bump
397 === gio-standalone 0.1.1 ===
399 2007-11-06 Alexander Larsson <alexl@redhat.com>
402 Bump version to 0.1.1
404 * gio/gsimpleasyncresult.c:
405 (g_simple_async_result_set_from_error):
406 Remove bogus g_return_if_fail
408 2007-11-06 Alexander Larsson <alexl@redhat.com>
411 The name is gio-standalone
414 Add top src/builddir to includedir
416 2007-11-06 Alexander Larsson <alexl@redhat.com>
418 * docs/reference/gio/gio-sections.txt:
420 * gio/gbufferedinputstream.c:
421 * gio/gbufferedoutputstream.c:
422 * gio/gcancellable.c:
423 * gio/gdatainputstream.h:
424 * gio/gdataoutputstream.c:
425 * gio/gdataoutputstream.h:
426 * gio/gdirectorymonitor.c:
428 * gio/gfileattribute.c:
429 * gio/gfileattribute.h:
430 * gio/gfileenumerator.c:
431 * gio/gfileenumerator.h:
434 * gio/gfileinputstream.h:
435 * gio/gfilemonitor.c:
436 * gio/gfileoutputstream.h:
437 * gio/glocalfilemonitor.h:
438 * gio/glocalfileoutputstream.h:
439 * gio/gmemoryinputstream.c:
440 * gio/gmemoryoutputstream.c:
441 * gio/gmountoperation.c:
442 * gio/goutputstream.c:
443 * gio/goutputstream.h:
445 * gio/gsimpleasyncresult.c:
449 * gio/inotify/inotify-helper.c:
452 Patch from Ross Burton
454 2007-11-06 Alexander Larsson <alexl@redhat.com>
456 * gio/gfilenamecompleter.c:
457 (g_filename_completer_get_completions):
461 Remove unused function
463 Patches from Ross Burton
465 2007-11-06 Alexander Larsson <alexl@redhat.com>
470 Padding not needed for interfaces
472 2007-11-06 Alexander Larsson <alexl@redhat.com>
474 * gio/gfilemonitor.c:
478 Make giotypes.h an internal file
481 * gio/gbufferedinputstream.h:
482 * gio/gbufferedoutputstream.h:
483 * gio/gcancellable.h:
484 * gio/gdatainputstream.h:
485 * gio/gdataoutputstream.h:
486 * gio/gdirectorymonitor.c:
487 * gio/gdirectorymonitor.h:
492 * gio/gfileattribute.h:
493 * gio/gfileenumerator.h:
498 * gio/gfilemonitor.c:
499 * gio/gfilemonitor.h:
500 * gio/gfilenamecompleter.c:
501 * gio/gfilenamecompleter.h:
502 * gio/gfilterinputstream.h:
503 * gio/gfilteroutputstream.h:
504 * gio/ginputstream.h:
505 * gio/gmemoryinputstream.h:
506 * gio/gmemoryoutputstream.h:
507 * gio/gmountoperation.c:
508 * gio/gmountoperation.h:
509 * gio/gnativevolumemonitor.c:
510 * gio/goutputstream.h:
513 * gio/gsimpleasyncresult.c:
514 * gio/gsimpleasyncresult.h:
515 * gio/gsocketinputstream.h:
516 * gio/gsocketoutputstream.h:
522 * gio/gvolumemonitor.c:
523 * gio/gvolumemonitor.h:
524 Add padding in classes where it seems useful
525 Don't include giotypes.h from public headers
526 Move in Class definitions into c file where possible
531 2007-11-06 Alexander Larsson <alexl@redhat.com>
533 * docs/reference/gio/gio-docs.xml:
534 Better structure for API docs
536 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
539 * gio/gloadableicon.c:
540 * gio/gsimpleasyncresult.c:
542 Add some more guards to public functions. Only files missing are now
545 2007-11-06 Alexander Larsson <alexl@redhat.com>
547 * docs/reference/gio/gio-docs.xml:
548 Remove old files, add missing ones
550 2007-11-06 Alexander Larsson <alexl@redhat.com>
552 * docs/reference/gio/gio-sections.txt:
555 Hide implementation classes
557 * gio/gdriveprivate.h:
558 * gio/gvolumeprivate.h:
559 Remove non-existing function declarations
561 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
564 Fix compilation warnings and add guards to the new functions.
566 * gio/gasyncresult.c:
568 Add guards to the public functions.
571 Implement get_path().
573 2007-11-06 Alexander Larsson <alexl@redhat.com>
575 * gio/gfilenamecompleter.c:
576 Make g_filename_completer_get_completions
577 return char ** instead of GList for
580 * docs/reference/gio/gio-docs.xml:
581 * docs/reference/gio/gio-sections.txt:
583 * gio/gasyncresult.c:
584 * gio/gbufferedinputstream.c:
585 * gio/gbufferedoutputstream.c:
586 * gio/gcancellable.c:
587 * gio/gcontenttype.c:
588 * gio/gdatainputstream.c:
589 * gio/gdataoutputstream.c:
590 * gio/gdesktopappinfo.c:
591 * gio/gdirectorymonitor.c:
595 * gio/gfileattribute.c:
596 * gio/gfileenumerator.c:
599 * gio/gfileinputstream.c:
600 * gio/gfilemonitor.c:
601 * gio/gfilenamecompleter.c:
602 * gio/gfilenamecompleter.h:
603 * gio/gfileoutputstream.c:
604 * gio/gfilterinputstream.c:
606 * gio/ginputstream.c:
608 * gio/gioscheduler.c:
609 * gio/gloadableicon.c:
610 * gio/glocaldirectorymonitor.c:
612 * gio/glocalfileinputstream.c:
613 * gio/glocalfilemonitor.c:
614 * gio/glocalfileoutputstream.c:
616 * gio/gmemoryinputstream.c:
617 * gio/gmemoryoutputstream.c:
618 * gio/gmountoperation.c:
619 * gio/goutputstream.c:
620 * gio/gpollfilemonitor.c:
622 * gio/gsimpleasyncresult.c:
623 * gio/gsocketinputstream.c:
624 * gio/gsocketoutputstream.c:
626 * gio/gunionvolumemonitor.c:
630 * gio/gunixvolumemonitor.c:
634 * gio/gvolumemonitor.c:
635 * gio/gwin32appinfo.c:
636 Add (mostly stub) doc strings to public functions.
637 Patch from Andrew Walton (awalton@gmail.com)
639 2007-11-06 Alexander Larsson <alexl@redhat.com>
642 Added GAppLaunchContext object and pass that to launch.
643 This allows simple implementation of both
644 launch-on-screen and startup notification via a gtk+
645 subclass of GAppLaunchContext
647 * gio/gdesktopappinfo.c:
648 Implement GAppLaunchContext API
650 * gio/gwin32appinfo.c:
653 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
655 * gio/gmountoperation.c:
656 Add some guards to GMountOperation's public functions.
658 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
662 * gio/gcancellable.c:
663 * gio/gdirectorymonitor.c:
665 * gio/gfileenumerator.c:
666 * gio/gfilemonitor.c:,
667 * gio/gfilenamecompleter.c:
670 * gio/gioscheduler.c:
674 * gio/gvolumemonitor.c:
675 Add even more guards to various public functions.
677 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
680 Add guards to the public functions of GAppInfo.
682 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
684 * gio/gcontenttype.c:
685 Add some more guards for public functions.
687 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
689 * gio/fam/fam-module.c:
690 * gio/fam/gfamdirectorymonitor.c:
691 * gio/fam/gfamdirectorymonitor.h:
692 * gio/fam/gfamfilemonitor.c:
693 * gio/fam/gfamfilemonitor.h:
694 * gio/inotify/ginotifydirectorymonitor.c:
695 * gio/inotify/ginotifydirectorymonitor.h:
696 * gio/inotify/ginotifyfilemonitor.c:
697 * gio/inotify/ginotifyfilemonitor.h:
698 Add proper copyright information and remove an unused variable
699 in the GInotifyFileMonitor constructor.
701 * gio/gcancellable.c:
702 Add a guard for a public function and an assertion to prevent
703 an undefined program state.
705 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
707 * gio/gfileattribute.c:
708 Don't run into an assertion if the given attribute value is NULL
709 in g_file_attribute_value_get_*() but instead return a fallback
710 value that makes sense in most situations. Passing them a attribute
711 value with the wrong type will still run into an assertion.
713 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
715 * gio/gfileattribute.c:
717 Add even more guards to the public functions. Also fix the refcounting
718 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
719 let g_file_info_list_attributes() filter the attributes by namespace
720 instead of simply ignoring the namespace parameter.
722 2007-11-03 Sven Herzberg <sven@imendio.com>
724 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
725 (This makes gio work on MacOS X again)
727 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
730 Build the gio subdirectory before the docs. Otherwise the build will
733 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
734 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
735 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
736 Add guards to the public functions.
738 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
740 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
741 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
742 to prevent a compiler warning.
744 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
745 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
746 return something in the non-void function find_topdir_for().
748 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
755 2007-11-01 Ryan Lortie <desrt@desrt.ca>
757 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
758 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
759 * gwin32appinfo.c (g_win32_app_info_launch):
760 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
761 envp_for_startup_id, g_desktop_app_info_launch,
762 g_desktop_app_info_launch_uris):
764 Give an opaque 'startup_id' string instead of 'envp'.
765 Support empty file lists for launching new windows.
766 Fix infinite recursion bug when launching URIs.
768 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
771 Add guard to the new g_file_get_uri_scheme() function.
773 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
776 Convert a g_return_val_if_fail() to setting the GError instead as
777 otherwise applications have to verify the parameter before otherwise
778 and the parameter might come directly from the user.
780 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
782 * gio/inotify/ginotify*.[ch]:
783 Add missing copyright information.
785 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
788 Add guards in the beginning of public functions to check for valid
789 parameters and fix a bug in copy_stream_with_progress() that could've
790 caused writing less bytes than reading.
791 * gio/glocalfileinfo.c:
792 Check for a NULL parameter and set the GError accordingly then.
793 * gio/goutputstream.c:
794 Fix the same bug as in gfile.c that could've caused writing less bytes
795 than reading in g_output_stream_real_splice().
797 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
800 Use the correct gvolumeprivate.h naming
802 2007-11-01 Christian Kellner <gicmo@gnome.org>
805 Remove leftover "$(daemon_sources)" entry.
807 2007-11-01 Christian Kellner <gicmo@gnome.org>
812 Add copyright information to source files.
814 2007-11-01 Alexander Larsson <alexl@redhat.com>
818 Add g_file_get_uri_scheme
820 2007-11-01 Alexander Larsson <alexl@redhat.com>
823 * gio/gdesktopappinfo.c:
824 * gio/gwin32appinfo.c:
825 Add g_app_info_get_default_for_uri_scheme.
827 2007-11-01 Alexander Larsson <alexl@redhat.com>
830 Correct filename for gdriveprivate.h
832 2007-10-31 Alexander Larsson <alexl@redhat.com>
835 Rename id:value to id:file
838 * gio/glocalfileinfo.c:
841 2007-10-31 Alexander Larsson <alexl@redhat.com>
845 Remove g_volume_get_platform_id, as thats not
846 needed with the simpler union volume monitor
848 2007-10-31 Alexander Larsson <alexl@redhat.com>
851 * gio/guniondrive.[ch]: Removed.
852 * gio/gunionvolume.[ch]: Removed.
853 Remove GUnionDrive/Volume
855 * gio/gunionvolumemonitor.c:
856 Simplify union volume monitor, now we
857 only have one native volume monitor and
858 we use the actual volumes/drives from the
859 child monitors instead of wrapping them
861 * gio/gnativevolumemonitor.[ch]:
862 Base class for native volume monitors.
863 Includes priority and get_volume_for_mountpoint
866 Add g_file_find_enclosing_volume
869 Remove volume name fs attribute
870 Add readonly fs attribute
873 Implement readonly attribute
874 remove volume name attribute
875 Implement find_enclosing volume
878 Add a volume for "/".
880 * gio/gunixvolume.[ch]:
881 Set better name for /
883 * gio/gunixvolumemonitor.[ch]:
884 Derive from GNativeVolumeMonitor
885 Implement get_volume_for_mountpoint
888 GVolume typedef moved to gfile.h
890 * gio/gvolumeprivate.h:
891 Add g_volume_get_for_mount_path
893 2007-10-31 Alexander Larsson <alexl@redhat.com>
895 * gio/gunixmounts.[ch]:
896 Add cache info to unix mount listers
897 Make getmntent use threadsafe
898 Add is_system_internal attribute for GUnixMount
902 Use is_system_internal instead of own code
904 * gio/glocaldirectorymonitor.c:
905 * gio/gunixvolumemonitor.c:
906 Update to new gunixmounts API
911 2007-10-30 Alexander Larsson <alexl@redhat.com>
914 Add volume name fsinfo attribute
917 Read volume name info
919 * gio/gunionvolumemonitor.c:
920 Fix infinite loops when finalizing a union volume monitor
922 2007-10-30 Alexander Larsson <alexl@redhat.com>
924 * gio/goutputstream.[ch]:
925 Add splice() with default implementation
927 * gio/gsocketoutputstream.c:
928 (g_socket_output_stream_write):
929 Return error on cancellation correctly.
931 2007-10-26 Paolo Borelli <pborelli@katamail.com>
933 * gio/glocalfile.c (g_local_file_trash):
934 Do not leak a string.
936 2007-10-26 Paolo Borelli <pborelli@katamail.com>
938 * gio/gfile.c (g_file_load_contents):
939 Unref the stream after closing it.
941 2007-10-25 Alexander Larsson <alexl@redhat.com>
943 * gio/gioscheduler.h:
946 2007-10-25 Alexander Larsson <alexl@redhat.com>
950 Add g_file_has_uri_scheme and implement for local files
952 2007-10-25 Paolo Borelli <pborelli@katamail.com>
954 * gio/gdesktopappinfo.c: do not leak a string.
956 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
958 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
959 (g_local_directory_monitor_new):
960 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
961 (g_local_file_monitor_new):
962 Only look for the monitor type that should be used the first time
963 and use g_qsort_with_data() instead of our own bubble sort
966 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
969 * gio/fam/Makefile.am:
970 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
971 * gio/fam/fam-helper.h:
972 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
973 * gio/fam/gfamdirectorymonitor.c:
974 * gio/fam/gfamdirectorymonitor.h:
975 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
976 * gio/fam/gfamfilemonitor.h:
977 * gio/glocaldirectorymonitor.c:
978 * gio/glocaldirectorymonitor.h:
979 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
980 * gio/glocalfilemonitor.h:
981 * gio/inotify/Makefile.am:
982 * gio/inotify/ginotifydirectorymonitor.c:
983 * gio/inotify/ginotifydirectorymonitor.h:
984 * gio/inotify/ginotifyfilemonitor.c:
985 * gio/inotify/ginotifyfilemonitor.h:
986 Implement the FAM and Inotify monitors as
987 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
988 their own GIO module. GLocal(Directory|File)Monitor will use the
989 monitor with the highest rank that is supported on that machine.
991 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
994 Change GIO module dir to $(libdir)/gio/modules and change
995 the log domain from GVFS to GIO. Also only export symbols starting
996 with g_ in the resulting library.
997 * gio/test-streams.c: (main):
998 Set log handler for the GIO log domain.
1000 2007-10-22 Alexander Larsson <alexl@redhat.com>
1002 * gio/gfilenamecompleter.[ch]:
1003 Add g_filename_completer_set_dirs_only
1005 2007-10-22 Alexander Larsson <alexl@redhat.com>
1008 * gio/gurifuncs.[ch]:
1009 Add some simple URI helpers
1011 * gio/gfilenamecompleter.[ch]:
1012 Added object for filename (parse name actually) completion
1015 Handle ~ in parse names
1017 2007-10-17 Alexander Larsson <alexl@redhat.com>
1020 * gio/glocalfileinfo.c:
1021 Add and implement id:value attribute
1023 2007-10-17 Alexander Larsson <alexl@redhat.com>
1026 * gio/guniondrive.c:
1028 Add and implement g_drive_has_volumes
1030 2007-10-17 Alexander Larsson <alexl@redhat.com>
1033 * gio/glocalfileinfo.[ch]:
1034 Add unix:is_mountpoint and implement for local files
1036 2007-10-16 Alexander Larsson <alexl@redhat.com>
1038 * gio/gunionvolumemonitor.c:
1039 (g_union_volume_monitor_init):
1040 Fix up the unix type getting so that it works with gcc
1042 2007-10-12 Alexander Larsson <alexl@redhat.com>
1045 * gio/glocalfileinfo.c:
1046 Add thumbnail:failed to file info
1048 2007-10-12 Richard Hult <richard@imendio.com>
1050 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1051 optimizing away the get_type call (happens with some gcc versions,
1052 like the one shipped with OS X 10.4).
1054 2007-10-12 Alexander Larsson <alexl@redhat.com>
1056 * gio/glocalfileinfo.c:
1057 (_g_local_file_info_set_attribute):
1058 Fix build if not HAVE_XATTR
1059 Patch from Milosz Derezynski <internalerror@gmail.com>
1061 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1063 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1064 around for review, otherwise I would have asked you before
1067 2007-10-11 Alexander Larsson <alexl@redhat.com>
1070 Add thumbnail:path attribute
1072 * gio/glocalfileinfo.c:
1073 Implement thumbnail:path for local files
1075 2007-10-11 Alexander Larsson <alexl@redhat.com>
1077 * gio/glocalfileinfo.c:
1078 (_g_local_file_info_get):
1079 Avoid duplicate icon names
1081 2007-10-11 Alexander Larsson <alexl@redhat.com>
1083 * gio/gthemedicon.[ch]:
1084 Change g_themed_icon_get_names return type to const
1086 2007-10-10 Alexander Larsson <alexl@redhat.com>
1088 * gio/glocalfileinfo.c:
1089 Don't reference freed memory
1091 2007-10-10 Alexander Larsson <alexl@redhat.com>
1093 * gio/gfileattribute.c:
1096 * gio/glocalfileinfo.c:
1099 2007-10-10 Alexander Larsson <alexl@redhat.com>
1102 Check for NULL icons
1104 * gio/gfileattribute.c:
1105 Don't dup when getting objects (same as for string attributes)
1107 * gio/gicon.c (g_icon_equal):
1108 Safely handle NULLs in equal
1110 2007-10-10 Alexander Larsson <alexl@redhat.com>
1113 Fix c++ compilation issues
1114 Patch from Milosz Derezynski <internalerror@gmail.com>
1116 2007-10-10 Alexander Larsson <alexl@redhat.com>
1118 * programs/gio-monitor-dir.c:
1119 Don't crash if dir monitor not supported.
1121 2007-10-09 Alexander Larsson <alexl@redhat.com>
1124 Add missing G_END_DECLS
1126 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1128 * gio/gfile.c: (g_file_set_display_name),
1129 (g_file_query_settable_attributes),
1130 (g_file_query_writable_namespaces):
1131 Return NULL not FALSE on errors as the return type is a pointer.
1133 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1135 * gio/glocalfile.c: (g_local_file_monitor_file):
1136 Don't call monitor_file on the default interface vtable (which
1137 is NULL) but simply return NULL. The caller, GFile, will create a
1138 polling monitor if NULL is returned.
1140 2007-10-09 Alexander Larsson <alexl@redhat.com>
1144 * gio-unix-2.0.pc.in:
1145 Add gio-unix-2.0.pc if OS_UNIX
1148 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1150 2007-10-09 Alexander Larsson <alexl@redhat.com>
1152 * gio/gunixmounts.[ch]:
1153 Make unix mount monitoring API sane.
1154 Now its just a object with mounts_changed
1155 and mountpoints_changed signals.
1157 * gio/glocaldirectorymonitor.c:
1158 * gio/gunixvolumemonitor.c:
1159 Use new mount monitor api
1161 2007-10-09 Alexander Larsson <alexl@redhat.com>
1163 * gio/gunixmounts.[ch]:
1164 Move guess type into one call for mounts and one for mountpoints
1167 * gio/gunixvolume.c:
1170 2007-10-09 Alexander Larsson <alexl@redhat.com>
1172 * gio/gunixmounts.[ch]:
1173 Remove _ prefix in preparation to make this semi-public
1174 Hide implementation of structs
1176 * gio/glocaldirectorymonitor.c:
1178 * gio/gunixvolume.c:
1179 * gio/gunixvolumemonitor.c:
1180 Update for above API changes
1182 2007-10-08 Alexander Larsson <alexl@redhat.com>
1185 Better polling fallback. This also handles the case where we have
1186 a monitor_file implementation, but it fails.
1188 2007-10-08 Alexander Larsson <alexl@redhat.com>
1192 * gio/gunixmounts.c:
1193 * programs/gio-monitor-dir.c:
1194 * programs/gio-monitor-file.c:
1195 Added cancellable to file monitoring calls.
1196 These are really sync calls and need this.
1198 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1200 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1201 (g_local_vfs_class_init):
1202 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1203 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1205 2007-10-05 Alexander Larsson <alexl@redhat.com>
1207 * gio/gdirectorymonitorprivate.h:
1208 * gio/gfilemonitorprivate.h:
1209 * gio/gdirectorymonitor.h:
1210 * gio/gfilemonitor.h:
1211 Remove *private.h and move to the public API, so that
1212 we can do implementations outside gio (such as in gvfs)
1214 * gio/gdirectorymonitor.c:
1215 * gio/gfilemonitor.c:
1216 * gio/glocaldirectorymonitor.c:
1217 * gio/gpollfilemonitor.c:
1218 * gio/inotify/inotify-helper.c:
1219 * gio/fam/fam-helper.c:
1220 Update to the new header names
1222 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
1224 * gio/gdirectorymonitor.c:
1225 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1228 2007-10-04 Alexander Larsson <alexl@redhat.com>
1230 * gio/glocalfileinfo.c (get_access_rights):
1231 Set CAN_TRASH when we can move the file.
1232 We should really also check for a parent trash dir.
1234 2007-10-04 Alexander Larsson <alexl@redhat.com>
1236 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1237 Add can_trash access attribute
1239 2007-10-04 Alexander Larsson <alexl@redhat.com>
1242 (g_local_file_trash):
1243 Create info file first. This is per-spec and allows
1244 us to actually trash directories.
1246 2007-10-02 Alexander Larsson <alexl@redhat.com>
1248 * gio/gdesktopappinfo.c:
1249 Implement the new mime support code.
1250 Always set app as handling mimetype when being set as default for it
1252 2007-10-01 Alexander Larsson <alexl@redhat.com>
1254 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
1255 Fix up check for xattrs:
1257 2007-10-01 Alexander Larsson <alexl@redhat.com>
1260 (g_app_info_set_as_default_for_extension):
1261 (g_app_info_add_supports_type):
1262 (g_app_info_can_remove_supports_type):
1263 (g_app_info_remove_supports_type):
1264 Make these fail nicely if not implemented
1266 2007-10-01 Paolo Borelli <pborelli@katamail.com>
1268 * gio/glocalfileoutputstream.c:
1269 * gio/glocalfileoutputstream.h:
1274 * programs/gio-save.c:
1275 Add a GFileCreateFlags argument to operations that can create
1278 2007-10-01 Alexander Larsson <alexl@redhat.com>
1280 * gio/gappinfo.[ch]:
1281 * gio/gdesktopappinfo.c:
1282 Add more (stubbed out) mime API needed for nautilus
1284 2007-10-01 Alexander Larsson <alexl@redhat.com>
1287 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
1288 Add g_app_info_set_as_default_for_extension.
1290 * gio/gdesktopappinfo.c:
1291 Dummy for g_app_info_set_as_default_for_extension
1292 Support flags in g_app_info_create_from_commandline
1294 * gio/gwin32appinfo.c:
1296 Update for API changes
1298 * gio/gthemedicon.c:
1299 Properly NULL-terminate list of icon names
1301 2007-09-28 Alexander Larsson <alexl@redhat.com>
1303 * gio/gloadableicon.h:
1304 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
1306 2007-09-28 Alexander Larsson <alexl@redhat.com>
1309 Install headers in $includedir/gio-standalone/
1311 * gio-2.0.pc.in: Added.
1312 * gio-standalone.pc.in: Removed.
1315 Renamed pkg-config file to match glib (for future move)
1316 Update to the new include dir
1319 Add more TODO comments
1321 2007-09-28 Alexander Larsson <alexl@redhat.com>
1323 * gio/gdesktopappinfo.[ch]:
1324 Expose new_from_filename
1325 Add getter for is_hidden and handle it better
1327 2007-09-28 Alexander Larsson <alexl@redhat.com>
1329 * gio/gfileinfo.[ch]:
1330 Rename g_file_size_format_for_display to
1331 g_format_file_size_for_display.
1332 Now it doesn't have the g_file prefix, so we
1333 can later move it to glib.
1335 2007-09-28 Alexander Larsson <alexl@redhat.com>
1337 * gio/gappinfo.[ch]:
1338 Add g_app_info_get_id and g_app_info_get_executable.
1339 Make all getters non-reffing
1340 Make g_app_info_launch take GFile arguments.
1341 Add must_support_uris argument to g_app_info_get_default_for_type.
1343 * gio/gwin32appinfo.c:
1344 Update to GAppInfo api changes
1346 * gio/gdesktopappinfo.c:
1347 Update to GAppInfo api changes
1348 Implement supports_xdg_startup_notify
1350 * gio/gfileicon.c (g_file_icon_get_file):
1351 Make getter non-reffing.
1356 2007-09-27 Alexander Larsson <alexl@redhat.com>
1358 * gio/gfileinfo.[ch]:
1359 Add g_file_size_format_for_display helper
1361 2007-09-27 Alexander Larsson <alexl@redhat.com>
1363 * gio/glocalfileinfo.c:
1364 Set UNIX_GID from gid, not from uid
1366 2007-09-27 Alexander Larsson <alexl@redhat.com>
1369 Add g_file_set_attributes_async
1371 2007-09-27 Alexander Larsson <alexl@redhat.com>
1373 * gio/glocalfile.c (g_local_file_set_display_name):
1374 Fix set_display_name to actually rename to the right place.
1375 Use lstat to look for existing files so we don't overwrite
1378 2007-09-26 Alexander Larsson <alexl@redhat.com>
1381 Add g_file_set_display_name_async()
1383 2007-09-26 Alexander Larsson <alexl@redhat.com>
1386 Add load_partial_contents async calls
1389 Make internal function static
1391 2007-09-26 Alexander Larsson <alexl@redhat.com>
1393 * gio/glocalfileinfo.c:
1394 Correctly detect broken symlinks
1396 2007-09-26 Alexander Larsson <alexl@redhat.com>
1398 * gio/gcancellable.c (g_cancellable_cancel):
1399 Allow cancel on NULL cancellable
1401 2007-09-25 Alexander Larsson <alexl@redhat.com>
1403 * gio/gsimpleasyncresult.c:
1404 Don't allocate g_error manually.
1405 Fixes g_slice/g_new mixup crash
1407 2007-09-25 Alexander Larsson <alexl@redhat.com>
1409 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
1410 Actually set active_backend.
1411 This means the monitor will be cancelled correctly.
1413 2007-09-25 Alexander Larsson <alexl@redhat.com>
1415 * gio/gdirectorymonitor.c:
1416 Set timeout to NULL when destroying
1418 2007-09-25 Alexander Larsson <alexl@redhat.com>
1421 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
1422 that is a better description of the error.
1424 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
1426 * gio/gvfs.c: (g_vfs_get_local):
1427 Make the local vfs variable static. The same instance should
1430 2007-09-24 Alexander Larsson <alexl@redhat.com>
1432 * gio/glocalfileinfo.c:
1433 Pass in actual length read into sniffer, not the length
1436 2007-09-21 Alexander Larsson <alexl@redhat.com>
1438 * gio/gfileenumerator.c:
1441 * gio/gfileinputstream.c:
1442 * gio/gfileoutputstream.c:
1443 * gio/ginputstream.c:
1444 * gio/goutputstream.c:
1445 Don't crash if async callbacks are NULL
1447 2007-09-20 Alexander Larsson <alexl@redhat.com>
1450 Add async enumerate_children method and default
1453 2007-09-20 Alexander Larsson <alexl@redhat.com>
1456 Add g_file_contains_file & g_file_get_relative_path, since they
1457 were needed for nautilus.
1458 Renamed g_file_resolve_relative to g_file_resolve_relative_path
1463 Implement new methods
1465 2007-09-17 Alexander Larsson <alexl@redhat.com>
1468 * gio/gfileinputstream.[ch]:
1469 * gio/gfileoutputstream.[ch]:
1471 * gio/glocalfileenumerator.[ch]:
1472 * gio/glocalfileinfo.[ch]:
1473 * gio/glocalfileinputstream.c:
1474 * gio/glocalfileoutputstream.c:
1475 * gio/gpollfilemonitor.c:
1476 * programs/gio-copy.c:
1477 * programs/gio-info.c:
1478 * programs/gio-move.c:
1479 Rename get_file_info to query_info() to make it clearer
1480 that these are not simple getters, but do i/o.
1482 2007-09-17 Alexander Larsson <alexl@redhat.com>
1484 * gio/gdatainputstream.[ch]:
1485 * gio/test-streams.c:
1486 Use _read_XXX instead of _get_XXX for the i/o calls
1489 2007-09-17 Alexander Larsson <alexl@redhat.com>
1492 Added needed stuff to TODO comment
1494 2007-09-17 Alexander Larsson <alexl@redhat.com>
1496 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
1497 Don't error out removing the backup copy if it doesn't
1500 2007-09-14 Alexander Larsson <alexl@redhat.com>
1502 * programs/Makefile.am:
1503 * programs/gvfs-*.c:
1505 Renamed apps from gvfs-xxx to gio-xxx.
1507 2007-09-14 Alexander Larsson <alexl@redhat.com>
1510 * gio/gfileoutputstream.[ch]:
1511 * gio/glocalfileoutputstream.c:
1512 * programs/gvfs-save.c:
1513 g_file_output_stream_get_etag doesn't do i/o, so remove
1514 cancellation and error.
1516 2007-09-14 Alexander Larsson <alexl@redhat.com>
1519 Add new_etag output to replace_contents functions
1521 2007-09-14 Alexander Larsson <alexl@redhat.com>
1523 * gio/gfileoutputstream.[ch]:
1524 Add async get_file_info and default implementation
1526 2007-09-14 Alexander Larsson <alexl@redhat.com>
1528 * gio/gfileinputstream.c:
1529 Implement fallback wrapper for async get_file_info
1531 2007-09-14 Alexander Larsson <alexl@redhat.com>
1534 Add etag out argument to load_contents
1539 2007-09-14 Alexander Larsson <alexl@redhat.com>
1541 * gio/gcontenttype.c (looks_like_text):
1542 Whitespace like tab, cr and lf do not make the
1545 2007-09-14 Alexander Larsson <alexl@redhat.com>
1547 * gio/gfileinputstream.[ch]:
1548 Add async get_file_info.
1550 2007-09-13 Alexander Larsson <alexl@redhat.com>
1552 * gio/goutputstream.c (g_output_stream_write_all):
1553 Allow NULL for bytes_written
1555 2007-09-13 Alexander Larsson <alexl@redhat.com>
1557 * gio/gmemoryinputstream.[ch]:
1558 Add accessors for data
1560 2007-09-13 Alexander Larsson <alexl@redhat.com>
1562 * gio/gdatainputstream.c (g_data_input_stream_get_until):
1563 Don't crash if length is NULL