1 2007-12-09 Hans Breuer <hans@breuer.org>
3 * makefile.msc : follow lib naming convention
4 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
5 for user and group name, tested with ../tests/gio-ls
7 2007-12-09 A. Walton <awalton@svn.gnome.org>
20 * gmemoryinputstream.c:
21 * gmemoryoutputstream.c:
23 * gsimpleasyncresult.c:
24 More documentation cleanup and filling in missing information, bringing
25 GIO to 99% symbol coverage.
27 2007-12-08 Hans Breuer <hans@breuer.org>
29 [gio compiles and links on win32, not sure how much already works]
30 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
31 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
32 base on win32 API; prefer g_lstat() over lstat(); instead of
33 localtime_r() use an all GLib implementation on win32;
34 get_mount_info() still needs a win32 specifc implementation
35 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
36 win32_get_file_user_info to get owner/group info without uid/gid
37 * glocalfileinputstream.c : include <io.h> on win32
38 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
39 definition, use g_win32_ftruncate() for G_OS_WIN32
40 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
41 it is available with mingw/w32api but a mess with the M$ Platform SDKs
42 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
43 * makefile.msc : updated
45 2007-12-07 Alexander Larsson <alexl@redhat.com>
47 * glocalfileenumerator.c (_g_local_file_enumerator_new):
48 Avoid warning spew if error == NULL
50 2007-12-07 Alexander Larsson <alexl@redhat.com>
55 2007-12-06 Alexander Larsson <alexl@redhat.com>
58 Include sys/types.h for dev_t (#501919)
60 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
64 Make abicheck and pltcheck pass.
66 2007-12-05 Alexander Larsson <alexl@redhat.com>
69 * giomodule-priv.h: Added.
70 * glocaldirectorymonitor.c:
71 * glocalfilemonitor.c:
72 * gunionvolumemonitor.c:
74 Actually add the declaration of _g_io_modules_ensure_loaded
76 2007-12-05 Alexander Larsson <alexl@redhat.com>
83 * glocaldirectorymonitor.c:
84 * glocalfilemonitor.c:
85 * gunionvolumemonitor.c:
87 Make g_io_modules_ensure_loaded a private function and
88 don't pass in the dirname. This means we can do magic
89 directory finding in the win32 version.
90 Export the actual load-modules-in-directory code so that
93 2007-12-05 Alexander Larsson <alexl@redhat.com>
95 * gbufferedinputstream.c:
96 * gbufferedoutputstream.c:
99 * gfileenumerator.[ch]:
100 * gfileinputstream.c:
101 * gfileoutputstream.[ch]:
102 * gfilterinputstream.c:
103 * gfilteroutputstream.c:
106 * glocalfileenumerator.c:
107 * glocalfileinputstream.c:
108 * glocalfileoutputstream.c:
109 * gmemoryinputstream.c:
110 * gmemoryoutputstream.c:
111 * goutputstream.[ch]:
114 * gunixinputstream.c:
115 * gunixoutputstream.c:
116 Rename all struct members named:
117 read, write, close, truncate, or mount
118 to foo_fn, as these are reserved names
119 and could be defined as macros in libc.
122 2007-12-04 Alexander Larsson <alexl@redhat.com>
125 (g_output_stream_close):
126 Only call flush if non-null.
128 2007-11-30 Dan Winship <danw@gnome.org>
130 * ginputstream.c (g_input_stream_set_pending): Make this take a
131 GError and return a gboolean, and do the "outstanding operation"
132 check (and the "stream is already closed" check) itself.
133 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
135 * goutputstream.c (g_output_stream_set_pending)
136 (g_output_stream_clear_pending): Likewise
138 * gbufferedinputstream.c:
139 * gfileinputstream.c:
140 * gfileoutputstream.c: Update for that
142 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
143 Like g_simple_async_report_error_in_idle, but takes a GError
144 rather than building one.
146 2007-11-30 Dan Winship <danw@gnome.org>
148 * goutputstream.c: Don't cheat and unset the "pending" flag around
149 inner calls. Instead, call the class method directly rather than
150 the wrapper function that checks "pending"
152 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
154 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
156 2007-12-03 Hans Breuer <hans@breuer.org>
158 [start of port to win32/msvc]
159 * gcancellable.c : HAVE_UNIST_H and _pipe()
160 * gcontenttype.c : only include <dirent.h> in the UNIX branch
161 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
162 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
164 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
165 * glocalvfs.c : use HAVE_PWD_H
166 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
167 * makefile.msc : new file (maybe later converted to makefile.msc.in)
168 * Makefile.am : added to EXTRA_DIST
170 2007-12-03 Matthias Clasen <mclasen@redhat.com>
172 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
175 2007-12-03 Alexander Larsson <alexl@redhat.com>
178 Handle OSX style xattrs API (#500506)
180 2007-12-03 Alexander Larsson <alexl@redhat.com>
184 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
186 2007-12-02 A. Walton <awalton@svn.gnome.org>
190 Documentation accuracy fixes.
192 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
194 * gioenumtypes.c.template: Fix typo.
196 2007-12-01 Matthias Clasen <mclasen@redhat.com>
198 * gioenumtypes.c.template: Make threadsafe get_type() functions.
200 2007-12-01 Matthias Clasen <mclasen@redhat.com>
202 * gdirectorymonitor.c:
203 * gfilemonitor.c: Add properties
205 * gbufferedoutputstream.c: Don't mark buffer-size property
208 2007-12-01 Matthias Clasen <mclasen@redhat.com>
210 * gbufferedoutputstream.c: Add auto-grow property.
212 2007-11-30 Matthias Clasen <mclasen@redhat.com>
214 * *.c: Unify the capitalization of section headings.
216 2007-11-30 Matthias Clasen <mclasen@redhat.com>
218 * gmountoperation.c: Add properties
220 * gdatainputstream.c: Turn byte-order and newline-type into
223 2007-11-30 Matthias Clasen <mclasen@redhat.com>
225 * gioenumtypes.[hc].template: Templates for enum registration
227 * Makefile.am: Generate gioenumtypes.[hc]
229 * gio.h: Include gioenumtypes.h
231 * gfile.h: Add some explicit nicks.
233 * gio.symbols: Add new symbols
235 * pltcheck.sh: Adjust
237 2007-11-30 Matthias Clasen <mclasen@redhat.com>
239 * *.c: Explain etags and link to the explanation
241 2007-11-29 Matthias Clasen <mclasen@redhat.com>
243 * *.c: Explain I/O priority.
245 * *.c: More coding style fixes.
247 2007-11-29 Matthias Clasen <mclasen@redhat.com>
249 * gasyncresult.c: Add another paragraph to the intro,
250 adjust coding style of example.
252 2007-11-29 A. Walton <awalton@svn.gnome.org>
255 Fixes unknown meaning in GAppLaunchContext docs.
257 Clarify asynchronous ops.
262 Provides missing gtk-doc section, fixes API docs slighly.
263 * gsimpleasyncresult.c:
264 Fill in missing info in docs.
265 * gunixinputstream.c:
266 * gunixoutputstream.c:
267 Be more expressive in short description.
269 Remove gtk-doc stubs for non-public API.
271 2007-11-28 Matthias Clasen <mclasen@redhat.com>
273 * *.c: Coding style fixups
275 2007-11-28 Matthias Clasen <mclasen@redhat.com>
277 * inotify/inotify-helper.c: Don't export the lock from libgio.
279 2007-11-28 Matthias Clasen <mclasen@redhat.com>
282 * abicheck.sh: Fix copy-and-paste leftovers
284 2007-11-28 Matthias Clasen <mclasen@redhat.com>
286 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
288 2007-11-28 Alexander Larsson <alexl@redhat.com>
292 Removed unnecessary file
294 * gdesktopappinfo.[ch]:
297 * glocaldirectorymonitor.[ch]:
299 * glocalfileenumerator.[ch]:
300 * glocalfileinputstream.[ch]:
301 * glocalfilemonitor.[ch]:
302 * glocalfileoutputstream.[ch]:
304 * gnativevolumemonitor.c:
305 * gpollfilemonitor.[ch]:
306 * gunionvolumemonitor.[ch]:
309 * gunixvolumemonitor.[ch]:
312 * inotify/ginotifydirectorymonitor.[ch]:
313 * inotify/ginotifyfilemonitor.[ch]:
314 * inotify/inotify-helper.c:
315 Append _ to all internal functions
319 Export symbols needed for modules
321 2007-11-28 Alexander Larsson <alexl@redhat.com>
324 * abicheck.sh: Added.
325 * makegioalias.pl: Added.
326 * pltcheck.sh: Added.
327 * gio.symbols: Added.
330 Initial work on adding symbol handling.
333 Correct ifdef guard name
336 * inotify/Makefile.am:
337 * xdgmime/Makefile.am:
338 Include toplevel Makefile.decl
340 2007-11-27 Matthias Clasen <mclasen@redhat.com>
342 * gcontenttype.c: Move doc comments to the unix section.
344 * *.[hc]: More trivial doc corrections.
346 2007-11-27 Matthias Clasen <mclasen@redhat.com>
348 * gpollfilemonitor.c:
357 * gdatainputstream.c:
358 * gdatainputstream.h:
359 * gdataoutputstream.c:
360 * gdataoutputstream.h:
361 * gfileinfo.h: Doc cleanups
363 2007-11-28 Andre Klapper <a9016009@gmx.de>
365 * gdesktopappinfo.c: Fix a typo.
367 2007-11-27 Andre Klapper <a9016009@gmx.de>
369 * glocalfileoutputstream.c: Fix a typo.
371 2007-11-27 Alexander Larsson <alexl@redhat.com>
374 Don't include removed headers
376 2007-11-27 Alexander Larsson <alexl@redhat.com>
379 * gsocketinputstream.[ch]: Removed.
380 * gsocketoutputstream.[ch]: Removed.
381 * gunixinputstream.[ch]: Added.
382 * gunixoutputstream.[ch]: Added.
383 Renamed GSocket*Stream to GUnix*Stream and made
384 it unix-only, since its not really only for sockets
385 and it only works on unix (but is highly useful there).
387 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
393 * gbufferedinputstream.c:
394 * gbufferedinputstream.h:
395 * gbufferedoutputstream.c:
396 * gbufferedoutputstream.h:
400 * gdatainputstream.c:
401 * gdatainputstream.h:
402 * gdataoutputstream.c:
403 * gdataoutputstream.h:
404 * gdirectorymonitor.c:
405 * gdirectorymonitor.h:
418 * gfileinputstream.c:
419 * gfileinputstream.h:
422 * gfilenamecompleter.c:
423 * gfilenamecompleter.h:
424 * gfileoutputstream.c:
425 * gfileoutputstream.h:
426 * gfilterinputstream.c:
427 * gfilterinputstream.h:
428 * gfilteroutputstream.c:
429 * gfilteroutputstream.h:
442 * glocalfileoutputstream.c:
443 * gmemoryinputstream.c:
444 * gmemoryinputstream.h:
445 * gmemoryoutputstream.c:
446 * gmemoryoutputstream.h:
451 * gpollfilemonitor.c:
454 * gsimpleasyncresult.c:
455 * gsimpleasyncresult.h:
456 * gsocketinputstream.c:
457 * gsocketinputstream.h:
458 * gsocketoutputstream.c:
459 * gsocketoutputstream.h:
466 * gunixvolumemonitor.c:
475 Bumps documentation to 93% symbol coverage, touching most
476 of the public files. Fixes broken function documentation prototypes.
477 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
478 gtk-doc headers in private files.
480 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
482 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
483 (g_buffered_input_stream_read_byte):
484 * gbufferedinputstream.h:
485 New functions for efficient access to buffer and simple single byte
488 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
489 (g_data_input_stream_read_until):
490 * gdatainputstream.h:
491 Use peek_buffer to avoid memcpy in scan_for_newline, implement
492 read_until with multiple stop chars.
494 2007-11-27 Alexander Larsson <alexl@redhat.com>
498 * inotify/Makefile.am:
499 Use the user-specified giomoduledir
501 2007-11-27 Alexander Larsson <alexl@redhat.com>
505 Add catch-all gio.h header
506 Don't install gdummyfile.h
508 2007-11-26 Alexander Larsson <alexl@redhat.com>
510 * Makefile.am (gioinclude_HEADERS):
511 Remove trailing whitespace
513 2007-11-26 Alexander Larsson <alexl@redhat.com>
515 Merge gio-standalone into glib
517 2007-11-25 Christian Kellner <gicmo@gnome.org>
519 * gio/goutputstream.c:
520 Fix small mistake in the docs.
522 2007-11-21 Christian Persch <chpe@gnome.org>
524 * gio/glocalfile.c: (g_local_file_trash):
525 Convert filenames to UTF-8 for GError.
526 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
527 as per xdg base dir spec.
529 2007-11-21 Christian Persch <chpe@gnome.org>
531 * gio/gdesktopappinfo.c:
532 Use that g_key_file_to_data cannot fail.
534 Use stock defines for the key file group and key names.
537 2007-11-21 Alexander Larsson <alexl@redhat.com>
540 (copy_stream_with_progress):
541 Make sure we do a final progress callback with
544 2007-11-21 Alexander Larsson <alexl@redhat.com>
547 Export g_file_copy_attributes
548 Remove padding as its not needed for interfaces
550 2007-11-20 Alexander Larsson <alexl@redhat.com>
555 Add G_IO_ERROR_WOULD_MERGE for
556 copy/move dir on dir with overwrite.
558 2007-11-20 Alexander Larsson <alexl@redhat.com>
561 * gio/glocalfileinfo.c:
562 Add COPY_NAME (this is an optional
563 non-modified utf8 version of the name) that
566 2007-11-20 Alexander Larsson <alexl@redhat.com>
568 * gio/glocalfileenumerator.c:
569 Report errors as GIOError, not GFileError
571 2007-11-16 Alexander Larsson <alexl@redhat.com>
573 * gio/glocalfileoutputstream.c:
574 * gio/gwin32appinfo.c:
575 Fix typos in strings.
576 Patch from Luca Ferretti <elle.uca@libero.it>
578 2007-11-15 Alexander Larsson <alexl@redhat.com>
581 Post release version bump
583 === gio-standalone 0.1.2 ===
585 2007-11-15 Alexander Larsson <alexl@redhat.com>
587 * docs/reference/gio/Makefile.am:
588 Fix up distcheck by removing weird
594 2007-11-14 Alexander Larsson <alexl@redhat.com>
596 * gio/gdesktopappinfo.c:
597 * gio/glocaldirectorymonitor.c:
599 * gio/glocalfileinfo.c:
600 * gio/inotify/inotify-sub.c:
601 * programs/gio-cat.c:
602 * programs/gio-copy.c:
603 * programs/gio-info.c:
605 * programs/gio-monitor-dir.c:
606 * programs/gio-monitor-file.c:
607 * programs/gio-mount.c:
608 * programs/gio-move.c:
610 * programs/gio-save.c:
611 * programs/gio-trash.c:
612 Leak fixes from Kjartan Maraas
614 2007-11-14 Alexander Larsson <alexl@redhat.com>
616 * gio/fam/fam-helper.c:
618 * gio/glocalfileinfo.c:
622 * gio/inotify/inotify-diag.c:
623 * gio/inotify/inotify-kernel.c:
624 Various code cleanups from Kjartan Maraas
626 2007-11-14 Alexander Larsson <alexl@redhat.com>
628 * gio/gioscheduler.c:
630 Set up threadpool so that we cache 2 unused
631 idle threads for at 15 secs. This means we
632 will reuse thread-local data (like dbus connections)
635 2007-11-14 Alexander Larsson <alexl@redhat.com>
637 * gio/fam/fam-helper.c:
638 * gio/fam/gfamdirectorymonitor.c:
639 * gio/fam/gfamfilemonitor.c:
641 * gio/gcontenttype.c:
642 * gio/gdatainputstream.c:
643 * gio/gdataoutputstream.c:
647 * gio/gfileattribute.h:
648 * gio/gfileenumerator.c:
650 * gio/ginputstream.c:
653 * gio/glocalfileinfo.c:
654 * gio/goutputstream.c:
655 * gio/gpollfilemonitor.c:
656 * gio/gsimpleasyncresult.c:
659 * gio/inotify/ginotifydirectorymonitor.c:
660 * gio/inotify/ginotifyfilemonitor.c:
661 * gio/inotify/inotify-diag.c:
662 * gio/inotify/inotify-kernel.c:
663 * gio/inotify/inotify-path.c:
665 * gio/test-streams.c:
666 * programs/gio-info.c:
667 * programs/gio-monitor-dir.c:
668 * programs/gio-monitor-file.c:
669 Various code cleanups from Kjartan Maraas
671 2007-11-13 Alexander Larsson <alexl@redhat.com>
674 Handle the uri-scheme calls for dummy files
676 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
678 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
679 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
680 to avoid clash with the C++ keyword.
682 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
684 * gio/glocalfileinfo.c: Build fix, added missing semicolon
685 to an ifdef'ed call to getpwuid() in lookup_uid_data().
687 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
689 * gio/glocaldirectorymonitor.c:
690 * gio/glocalfilemonitor.c:
691 * gio/gunionvolumemonitor.c:
692 Don't use g_once_init_*() for initializations that could fail and
693 could leave the initialization variable set to 0 but use GOnce.
694 This prevents a deadlock on the second call when trying to create
695 a monitor and no monitor type is available. Thanks to Sven Herzberg
698 2007-11-11 Sven Herzberg <sven@imendio.com>
700 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
701 #ifdef (make it work on MacOS X again)
703 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
705 Fixes Changelog for last two commits (sorry guys).
707 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
709 * gio/gbufferedinputstream.c:
710 * gio/gdatainputstream.c:
712 * gio/gfileoutputstream.c:
713 * gio/gfilterinputstream.c:
714 * gio/glocalfileinputstream.c:
717 More consistency fixes in g*stream.c files.
718 Significant clean of gfile's documentation, filling in of
719 asynchronous operations documentation.
721 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
723 * gio/gasyncresult.c:
724 * gio/gbufferedinputstream.c:
725 * gio/gbufferedoutputstream.c:
726 * gio/gcancellable.c:
727 * gio/gcontenttype.c:
728 * gio/gdatainputstream.c:
729 * gio/gdataoutputstream.c:
730 * gio/gdesktopappinfo.c:
733 * gio/gfileattribute.c:
734 * gio/gio/gfileenumerator.c:
736 * gio/gfileinputstream.c:
737 * gio/gfilemonitor.c:
738 * gio/gfileoutputstream.c:
739 * gio/ginputstream.c:
741 * gio/gioscheduler.c:
742 * gio/gloadableicon.c:
743 * gio/glocalfileoutputstream.c:
744 * gio/gmemoryoutputstream.c:
745 * gio/gmountoperation.c:
746 * gio/goutputstream.c:
748 * gio/gsimpleasyncresult.c:
749 * gio/gunionvolumemonitor.c:
755 * gio/gvolumemonitor.c:
756 Updated documentation stubs, working towards consistency and
759 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
761 * gio/gmemoryoutputstream.c:
762 * gio/gmemoryoutputstream.h:
763 Change g_memory_output_stream_set_free_on_close() to
764 g_memory_output_stream_set_free_data() as this makes more sense and
765 is more consistent with GMemoryInputStream.
767 2007-11-07 Alexander Larsson <alexl@redhat.com>
774 Change how we find the default vfs so that
775 we can handle a gvfs failing to init
777 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
779 * gio/gbufferedoutputstream.c:
780 * gio/gdatainputstream.c:
781 * gio/gdataoutputstream.c:
782 * gio/gfileinputstream.c:
783 * gio/gfileoutputstream.c:
784 * gio/gfilterinputstream.c:
785 * gio/gfilteroutputstream.c:
786 * gio/ginputstream.c:
787 * gio/gmemoryinputstream.c:
788 * gio/gmemoryoutputstream.c:
789 * gio/goutputstream.c:
790 * gio/gsimpleasyncresult.c:
791 * gio/gsocketinputstream.c:
792 * gio/gsocketoutputstream.c:
793 Add guards to the remaining public functions, add a TODO for
794 an unimplemented function and remove some useless guards.
796 2007-11-07 Alexander Larsson <alexl@redhat.com>
799 Autoconf checks for the various types of
800 getpwuid_r and getgrgid_r
802 * gio/glocalfileinfo.c:
803 Use the autoconf checks from above
805 2007-11-07 Alexander Larsson <alexl@redhat.com>
808 (g_local_file_query_filesystem_info):
809 Some fixes for the statvfs case
811 2007-11-07 Alexander Larsson <alexl@redhat.com>
814 (g_local_file_query_filesystem_info):
815 Pick the "best" of statfs / statvfs for the system
816 if both are availible.
818 2007-11-07 Alexander Larsson <alexl@redhat.com>
820 Solaris fixes from Halton.Huo@Sun.COM:
827 * gio/glocalfileinfo.c:
828 Fix for solaris definition of getpwuid_r
830 * gio/test-streams.c:
831 Use G_GNUC_PRETTY_FUNCTION
833 2007-11-07 Alexander Larsson <alexl@redhat.com>
835 * gio/gdesktopappinfo.c:
836 (update_default_list):
837 Remove double semicolon.
838 Patch from Jens Granseuer
840 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
842 * docs/reference/gio/gio-sections.txt:
843 * gio/gbufferedinputstream.c:
844 * gio/gbufferedinputstream.h:
845 * gio/gdatainputstream.c:
846 * gio/gfileenumerator.c:
847 * gio/gioscheduler.c:
848 * gio/gunionvolumemonitor.c:
850 * programs/gio-save.c:
851 Fix typo: availible -> available. Unfortuntely this breaks API
852 and ABI as g_buffered_input_stream_get_available() was renamed.
855 * gio/gbufferedinputstream.c:
856 Add guards for public functions.
858 2007-11-06 Ross Burton <ross@openedhand.com>
860 * docs/reference/gio/Makefile.am:
861 Fix invalid += usage which automake 1.10 doesn't like.
863 2007-11-06 Alexander Larsson <alexl@redhat.com>
866 (g_app_launch_context_class_init):
869 Patch from Ross Burton
871 2007-11-06 Alexander Larsson <alexl@redhat.com>
874 Post release version bump
876 === gio-standalone 0.1.1 ===
878 2007-11-06 Alexander Larsson <alexl@redhat.com>
881 Bump version to 0.1.1
883 * gio/gsimpleasyncresult.c:
884 (g_simple_async_result_set_from_error):
885 Remove bogus g_return_if_fail
887 2007-11-06 Alexander Larsson <alexl@redhat.com>
890 The name is gio-standalone
893 Add top src/builddir to includedir
895 2007-11-06 Alexander Larsson <alexl@redhat.com>
897 * docs/reference/gio/gio-sections.txt:
899 * gio/gbufferedinputstream.c:
900 * gio/gbufferedoutputstream.c:
901 * gio/gcancellable.c:
902 * gio/gdatainputstream.h:
903 * gio/gdataoutputstream.c:
904 * gio/gdataoutputstream.h:
905 * gio/gdirectorymonitor.c:
907 * gio/gfileattribute.c:
908 * gio/gfileattribute.h:
909 * gio/gfileenumerator.c:
910 * gio/gfileenumerator.h:
913 * gio/gfileinputstream.h:
914 * gio/gfilemonitor.c:
915 * gio/gfileoutputstream.h:
916 * gio/glocalfilemonitor.h:
917 * gio/glocalfileoutputstream.h:
918 * gio/gmemoryinputstream.c:
919 * gio/gmemoryoutputstream.c:
920 * gio/gmountoperation.c:
921 * gio/goutputstream.c:
922 * gio/goutputstream.h:
924 * gio/gsimpleasyncresult.c:
928 * gio/inotify/inotify-helper.c:
931 Patch from Ross Burton
933 2007-11-06 Alexander Larsson <alexl@redhat.com>
935 * gio/gfilenamecompleter.c:
936 (g_filename_completer_get_completions):
940 Remove unused function
942 Patches from Ross Burton
944 2007-11-06 Alexander Larsson <alexl@redhat.com>
949 Padding not needed for interfaces
951 2007-11-06 Alexander Larsson <alexl@redhat.com>
953 * gio/gfilemonitor.c:
957 Make giotypes.h an internal file
960 * gio/gbufferedinputstream.h:
961 * gio/gbufferedoutputstream.h:
962 * gio/gcancellable.h:
963 * gio/gdatainputstream.h:
964 * gio/gdataoutputstream.h:
965 * gio/gdirectorymonitor.c:
966 * gio/gdirectorymonitor.h:
971 * gio/gfileattribute.h:
972 * gio/gfileenumerator.h:
977 * gio/gfilemonitor.c:
978 * gio/gfilemonitor.h:
979 * gio/gfilenamecompleter.c:
980 * gio/gfilenamecompleter.h:
981 * gio/gfilterinputstream.h:
982 * gio/gfilteroutputstream.h:
983 * gio/ginputstream.h:
984 * gio/gmemoryinputstream.h:
985 * gio/gmemoryoutputstream.h:
986 * gio/gmountoperation.c:
987 * gio/gmountoperation.h:
988 * gio/gnativevolumemonitor.c:
989 * gio/goutputstream.h:
992 * gio/gsimpleasyncresult.c:
993 * gio/gsimpleasyncresult.h:
994 * gio/gsocketinputstream.h:
995 * gio/gsocketoutputstream.h:
1001 * gio/gvolumemonitor.c:
1002 * gio/gvolumemonitor.h:
1003 Add padding in classes where it seems useful
1004 Don't include giotypes.h from public headers
1005 Move in Class definitions into c file where possible
1010 2007-11-06 Alexander Larsson <alexl@redhat.com>
1012 * docs/reference/gio/gio-docs.xml:
1013 Better structure for API docs
1015 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1018 * gio/gloadableicon.c:
1019 * gio/gsimpleasyncresult.c:
1020 * gio/gthemedicon.c:
1021 Add some more guards to public functions. Only files missing are now
1024 2007-11-06 Alexander Larsson <alexl@redhat.com>
1026 * docs/reference/gio/gio-docs.xml:
1027 Remove old files, add missing ones
1029 2007-11-06 Alexander Larsson <alexl@redhat.com>
1031 * docs/reference/gio/gio-sections.txt:
1034 Hide implementation classes
1036 * gio/gdriveprivate.h:
1037 * gio/gvolumeprivate.h:
1038 Remove non-existing function declarations
1040 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1043 Fix compilation warnings and add guards to the new functions.
1045 * gio/gasyncresult.c:
1047 Add guards to the public functions.
1050 Implement get_path().
1052 2007-11-06 Alexander Larsson <alexl@redhat.com>
1054 * gio/gfilenamecompleter.c:
1055 Make g_filename_completer_get_completions
1056 return char ** instead of GList for
1059 * docs/reference/gio/gio-docs.xml:
1060 * docs/reference/gio/gio-sections.txt:
1062 * gio/gasyncresult.c:
1063 * gio/gbufferedinputstream.c:
1064 * gio/gbufferedoutputstream.c:
1065 * gio/gcancellable.c:
1066 * gio/gcontenttype.c:
1067 * gio/gdatainputstream.c:
1068 * gio/gdataoutputstream.c:
1069 * gio/gdesktopappinfo.c:
1070 * gio/gdirectorymonitor.c:
1074 * gio/gfileattribute.c:
1075 * gio/gfileenumerator.c:
1078 * gio/gfileinputstream.c:
1079 * gio/gfilemonitor.c:
1080 * gio/gfilenamecompleter.c:
1081 * gio/gfilenamecompleter.h:
1082 * gio/gfileoutputstream.c:
1083 * gio/gfilterinputstream.c:
1085 * gio/ginputstream.c:
1087 * gio/gioscheduler.c:
1088 * gio/gloadableicon.c:
1089 * gio/glocaldirectorymonitor.c:
1091 * gio/glocalfileinputstream.c:
1092 * gio/glocalfilemonitor.c:
1093 * gio/glocalfileoutputstream.c:
1095 * gio/gmemoryinputstream.c:
1096 * gio/gmemoryoutputstream.c:
1097 * gio/gmountoperation.c:
1098 * gio/goutputstream.c:
1099 * gio/gpollfilemonitor.c:
1101 * gio/gsimpleasyncresult.c:
1102 * gio/gsocketinputstream.c:
1103 * gio/gsocketoutputstream.c:
1104 * gio/gthemedicon.c:
1105 * gio/gunionvolumemonitor.c:
1107 * gio/gunixmounts.c:
1108 * gio/gunixvolume.c:
1109 * gio/gunixvolumemonitor.c:
1113 * gio/gvolumemonitor.c:
1114 * gio/gwin32appinfo.c:
1115 Add (mostly stub) doc strings to public functions.
1116 Patch from Andrew Walton (awalton@gmail.com)
1118 2007-11-06 Alexander Larsson <alexl@redhat.com>
1120 * gio/gappinfo.[ch]:
1121 Added GAppLaunchContext object and pass that to launch.
1122 This allows simple implementation of both
1123 launch-on-screen and startup notification via a gtk+
1124 subclass of GAppLaunchContext
1126 * gio/gdesktopappinfo.c:
1127 Implement GAppLaunchContext API
1129 * gio/gwin32appinfo.c:
1132 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1134 * gio/gmountoperation.c:
1135 Add some guards to GMountOperation's public functions.
1137 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1141 * gio/gcancellable.c:
1142 * gio/gdirectorymonitor.c:
1144 * gio/gfileenumerator.c:
1145 * gio/gfilemonitor.c:,
1146 * gio/gfilenamecompleter.c:
1149 * gio/gioscheduler.c:
1153 * gio/gvolumemonitor.c:
1154 Add even more guards to various public functions.
1156 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1159 Add guards to the public functions of GAppInfo.
1161 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1163 * gio/gcontenttype.c:
1164 Add some more guards for public functions.
1166 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1168 * gio/fam/fam-module.c:
1169 * gio/fam/gfamdirectorymonitor.c:
1170 * gio/fam/gfamdirectorymonitor.h:
1171 * gio/fam/gfamfilemonitor.c:
1172 * gio/fam/gfamfilemonitor.h:
1173 * gio/inotify/ginotifydirectorymonitor.c:
1174 * gio/inotify/ginotifydirectorymonitor.h:
1175 * gio/inotify/ginotifyfilemonitor.c:
1176 * gio/inotify/ginotifyfilemonitor.h:
1177 Add proper copyright information and remove an unused variable
1178 in the GInotifyFileMonitor constructor.
1180 * gio/gcancellable.c:
1181 Add a guard for a public function and an assertion to prevent
1182 an undefined program state.
1184 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1186 * gio/gfileattribute.c:
1187 Don't run into an assertion if the given attribute value is NULL
1188 in g_file_attribute_value_get_*() but instead return a fallback
1189 value that makes sense in most situations. Passing them a attribute
1190 value with the wrong type will still run into an assertion.
1192 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1194 * gio/gfileattribute.c:
1196 Add even more guards to the public functions. Also fix the refcounting
1197 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1198 let g_file_info_list_attributes() filter the attributes by namespace
1199 instead of simply ignoring the namespace parameter.
1201 2007-11-03 Sven Herzberg <sven@imendio.com>
1203 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1204 (This makes gio work on MacOS X again)
1206 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1209 Build the gio subdirectory before the docs. Otherwise the build will
1212 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1213 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1214 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1215 Add guards to the public functions.
1217 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1219 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1220 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1221 to prevent a compiler warning.
1223 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1224 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1225 return something in the non-void function find_topdir_for().
1227 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1234 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1236 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1237 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1238 * gwin32appinfo.c (g_win32_app_info_launch):
1239 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1240 envp_for_startup_id, g_desktop_app_info_launch,
1241 g_desktop_app_info_launch_uris):
1243 Give an opaque 'startup_id' string instead of 'envp'.
1244 Support empty file lists for launching new windows.
1245 Fix infinite recursion bug when launching URIs.
1247 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1250 Add guard to the new g_file_get_uri_scheme() function.
1252 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1255 Convert a g_return_val_if_fail() to setting the GError instead as
1256 otherwise applications have to verify the parameter before otherwise
1257 and the parameter might come directly from the user.
1259 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1261 * gio/inotify/ginotify*.[ch]:
1262 Add missing copyright information.
1264 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1267 Add guards in the beginning of public functions to check for valid
1268 parameters and fix a bug in copy_stream_with_progress() that could've
1269 caused writing less bytes than reading.
1270 * gio/glocalfileinfo.c:
1271 Check for a NULL parameter and set the GError accordingly then.
1272 * gio/goutputstream.c:
1273 Fix the same bug as in gfile.c that could've caused writing less bytes
1274 than reading in g_output_stream_real_splice().
1276 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1279 Use the correct gvolumeprivate.h naming
1281 2007-11-01 Christian Kellner <gicmo@gnome.org>
1284 Remove leftover "$(daemon_sources)" entry.
1286 2007-11-01 Christian Kellner <gicmo@gnome.org>
1291 Add copyright information to source files.
1293 2007-11-01 Alexander Larsson <alexl@redhat.com>
1297 Add g_file_get_uri_scheme
1299 2007-11-01 Alexander Larsson <alexl@redhat.com>
1302 * gio/gdesktopappinfo.c:
1303 * gio/gwin32appinfo.c:
1304 Add g_app_info_get_default_for_uri_scheme.
1306 2007-11-01 Alexander Larsson <alexl@redhat.com>
1309 Correct filename for gdriveprivate.h
1311 2007-10-31 Alexander Larsson <alexl@redhat.com>
1314 Rename id:value to id:file
1317 * gio/glocalfileinfo.c:
1320 2007-10-31 Alexander Larsson <alexl@redhat.com>
1322 * gio/gunixvolume.c:
1324 Remove g_volume_get_platform_id, as thats not
1325 needed with the simpler union volume monitor
1327 2007-10-31 Alexander Larsson <alexl@redhat.com>
1330 * gio/guniondrive.[ch]: Removed.
1331 * gio/gunionvolume.[ch]: Removed.
1332 Remove GUnionDrive/Volume
1334 * gio/gunionvolumemonitor.c:
1335 Simplify union volume monitor, now we
1336 only have one native volume monitor and
1337 we use the actual volumes/drives from the
1338 child monitors instead of wrapping them
1340 * gio/gnativevolumemonitor.[ch]:
1341 Base class for native volume monitors.
1342 Includes priority and get_volume_for_mountpoint
1345 Add g_file_find_enclosing_volume
1348 Remove volume name fs attribute
1349 Add readonly fs attribute
1352 Implement readonly attribute
1353 remove volume name attribute
1354 Implement find_enclosing volume
1356 * gio/gunixmounts.c:
1357 Add a volume for "/".
1359 * gio/gunixvolume.[ch]:
1360 Set better name for /
1362 * gio/gunixvolumemonitor.[ch]:
1363 Derive from GNativeVolumeMonitor
1364 Implement get_volume_for_mountpoint
1367 GVolume typedef moved to gfile.h
1369 * gio/gvolumeprivate.h:
1370 Add g_volume_get_for_mount_path
1372 2007-10-31 Alexander Larsson <alexl@redhat.com>
1374 * gio/gunixmounts.[ch]:
1375 Add cache info to unix mount listers
1376 Make getmntent use threadsafe
1377 Add is_system_internal attribute for GUnixMount
1379 * gio/gunixvolume.c:
1380 (g_unix_volume_new):
1381 Use is_system_internal instead of own code
1383 * gio/glocaldirectorymonitor.c:
1384 * gio/gunixvolumemonitor.c:
1385 Update to new gunixmounts API
1390 2007-10-30 Alexander Larsson <alexl@redhat.com>
1393 Add volume name fsinfo attribute
1396 Read volume name info
1398 * gio/gunionvolumemonitor.c:
1399 Fix infinite loops when finalizing a union volume monitor
1401 2007-10-30 Alexander Larsson <alexl@redhat.com>
1403 * gio/goutputstream.[ch]:
1404 Add splice() with default implementation
1406 * gio/gsocketoutputstream.c:
1407 (g_socket_output_stream_write):
1408 Return error on cancellation correctly.
1410 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1412 * gio/glocalfile.c (g_local_file_trash):
1413 Do not leak a string.
1415 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1417 * gio/gfile.c (g_file_load_contents):
1418 Unref the stream after closing it.
1420 2007-10-25 Alexander Larsson <alexl@redhat.com>
1422 * gio/gioscheduler.h:
1425 2007-10-25 Alexander Larsson <alexl@redhat.com>
1429 Add g_file_has_uri_scheme and implement for local files
1431 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1433 * gio/gdesktopappinfo.c: do not leak a string.
1435 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1437 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1438 (g_local_directory_monitor_new):
1439 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1440 (g_local_file_monitor_new):
1441 Only look for the monitor type that should be used the first time
1442 and use g_qsort_with_data() instead of our own bubble sort
1445 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1448 * gio/fam/Makefile.am:
1449 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1450 * gio/fam/fam-helper.h:
1451 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1452 * gio/fam/gfamdirectorymonitor.c:
1453 * gio/fam/gfamdirectorymonitor.h:
1454 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1455 * gio/fam/gfamfilemonitor.h:
1456 * gio/glocaldirectorymonitor.c:
1457 * gio/glocaldirectorymonitor.h:
1458 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1459 * gio/glocalfilemonitor.h:
1460 * gio/inotify/Makefile.am:
1461 * gio/inotify/ginotifydirectorymonitor.c:
1462 * gio/inotify/ginotifydirectorymonitor.h:
1463 * gio/inotify/ginotifyfilemonitor.c:
1464 * gio/inotify/ginotifyfilemonitor.h:
1465 Implement the FAM and Inotify monitors as
1466 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1467 their own GIO module. GLocal(Directory|File)Monitor will use the
1468 monitor with the highest rank that is supported on that machine.
1470 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1473 Change GIO module dir to $(libdir)/gio/modules and change
1474 the log domain from GVFS to GIO. Also only export symbols starting
1475 with g_ in the resulting library.
1476 * gio/test-streams.c: (main):
1477 Set log handler for the GIO log domain.
1479 2007-10-22 Alexander Larsson <alexl@redhat.com>
1481 * gio/gfilenamecompleter.[ch]:
1482 Add g_filename_completer_set_dirs_only
1484 2007-10-22 Alexander Larsson <alexl@redhat.com>
1487 * gio/gurifuncs.[ch]:
1488 Add some simple URI helpers
1490 * gio/gfilenamecompleter.[ch]:
1491 Added object for filename (parse name actually) completion
1494 Handle ~ in parse names
1496 2007-10-17 Alexander Larsson <alexl@redhat.com>
1499 * gio/glocalfileinfo.c:
1500 Add and implement id:value attribute
1502 2007-10-17 Alexander Larsson <alexl@redhat.com>
1505 * gio/guniondrive.c:
1507 Add and implement g_drive_has_volumes
1509 2007-10-17 Alexander Larsson <alexl@redhat.com>
1512 * gio/glocalfileinfo.[ch]:
1513 Add unix:is_mountpoint and implement for local files
1515 2007-10-16 Alexander Larsson <alexl@redhat.com>
1517 * gio/gunionvolumemonitor.c:
1518 (g_union_volume_monitor_init):
1519 Fix up the unix type getting so that it works with gcc
1521 2007-10-12 Alexander Larsson <alexl@redhat.com>
1524 * gio/glocalfileinfo.c:
1525 Add thumbnail:failed to file info
1527 2007-10-12 Richard Hult <richard@imendio.com>
1529 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1530 optimizing away the get_type call (happens with some gcc versions,
1531 like the one shipped with OS X 10.4).
1533 2007-10-12 Alexander Larsson <alexl@redhat.com>
1535 * gio/glocalfileinfo.c:
1536 (_g_local_file_info_set_attribute):
1537 Fix build if not HAVE_XATTR
1538 Patch from Milosz Derezynski <internalerror@gmail.com>
1540 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1542 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1543 around for review, otherwise I would have asked you before
1546 2007-10-11 Alexander Larsson <alexl@redhat.com>
1549 Add thumbnail:path attribute
1551 * gio/glocalfileinfo.c:
1552 Implement thumbnail:path for local files
1554 2007-10-11 Alexander Larsson <alexl@redhat.com>
1556 * gio/glocalfileinfo.c:
1557 (_g_local_file_info_get):
1558 Avoid duplicate icon names
1560 2007-10-11 Alexander Larsson <alexl@redhat.com>
1562 * gio/gthemedicon.[ch]:
1563 Change g_themed_icon_get_names return type to const
1565 2007-10-10 Alexander Larsson <alexl@redhat.com>
1567 * gio/glocalfileinfo.c:
1568 Don't reference freed memory
1570 2007-10-10 Alexander Larsson <alexl@redhat.com>
1572 * gio/gfileattribute.c:
1575 * gio/glocalfileinfo.c:
1578 2007-10-10 Alexander Larsson <alexl@redhat.com>
1581 Check for NULL icons
1583 * gio/gfileattribute.c:
1584 Don't dup when getting objects (same as for string attributes)
1586 * gio/gicon.c (g_icon_equal):
1587 Safely handle NULLs in equal
1589 2007-10-10 Alexander Larsson <alexl@redhat.com>
1592 Fix c++ compilation issues
1593 Patch from Milosz Derezynski <internalerror@gmail.com>
1595 2007-10-10 Alexander Larsson <alexl@redhat.com>
1597 * programs/gio-monitor-dir.c:
1598 Don't crash if dir monitor not supported.
1600 2007-10-09 Alexander Larsson <alexl@redhat.com>
1603 Add missing G_END_DECLS
1605 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1607 * gio/gfile.c: (g_file_set_display_name),
1608 (g_file_query_settable_attributes),
1609 (g_file_query_writable_namespaces):
1610 Return NULL not FALSE on errors as the return type is a pointer.
1612 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1614 * gio/glocalfile.c: (g_local_file_monitor_file):
1615 Don't call monitor_file on the default interface vtable (which
1616 is NULL) but simply return NULL. The caller, GFile, will create a
1617 polling monitor if NULL is returned.
1619 2007-10-09 Alexander Larsson <alexl@redhat.com>
1623 * gio-unix-2.0.pc.in:
1624 Add gio-unix-2.0.pc if OS_UNIX
1627 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1629 2007-10-09 Alexander Larsson <alexl@redhat.com>
1631 * gio/gunixmounts.[ch]:
1632 Make unix mount monitoring API sane.
1633 Now its just a object with mounts_changed
1634 and mountpoints_changed signals.
1636 * gio/glocaldirectorymonitor.c:
1637 * gio/gunixvolumemonitor.c:
1638 Use new mount monitor api
1640 2007-10-09 Alexander Larsson <alexl@redhat.com>
1642 * gio/gunixmounts.[ch]:
1643 Move guess type into one call for mounts and one for mountpoints
1646 * gio/gunixvolume.c:
1649 2007-10-09 Alexander Larsson <alexl@redhat.com>
1651 * gio/gunixmounts.[ch]:
1652 Remove _ prefix in preparation to make this semi-public
1653 Hide implementation of structs
1655 * gio/glocaldirectorymonitor.c:
1657 * gio/gunixvolume.c:
1658 * gio/gunixvolumemonitor.c:
1659 Update for above API changes
1661 2007-10-08 Alexander Larsson <alexl@redhat.com>
1664 Better polling fallback. This also handles the case where we have
1665 a monitor_file implementation, but it fails.
1667 2007-10-08 Alexander Larsson <alexl@redhat.com>
1671 * gio/gunixmounts.c:
1672 * programs/gio-monitor-dir.c:
1673 * programs/gio-monitor-file.c:
1674 Added cancellable to file monitoring calls.
1675 These are really sync calls and need this.
1677 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1679 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1680 (g_local_vfs_class_init):
1681 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1682 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1684 2007-10-05 Alexander Larsson <alexl@redhat.com>
1686 * gio/gdirectorymonitorprivate.h:
1687 * gio/gfilemonitorprivate.h:
1688 * gio/gdirectorymonitor.h:
1689 * gio/gfilemonitor.h:
1690 Remove *private.h and move to the public API, so that
1691 we can do implementations outside gio (such as in gvfs)
1693 * gio/gdirectorymonitor.c:
1694 * gio/gfilemonitor.c:
1695 * gio/glocaldirectorymonitor.c:
1696 * gio/gpollfilemonitor.c:
1697 * gio/inotify/inotify-helper.c:
1698 * gio/fam/fam-helper.c:
1699 Update to the new header names
1701 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
1703 * gio/gdirectorymonitor.c:
1704 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1707 2007-10-04 Alexander Larsson <alexl@redhat.com>
1709 * gio/glocalfileinfo.c (get_access_rights):
1710 Set CAN_TRASH when we can move the file.
1711 We should really also check for a parent trash dir.
1713 2007-10-04 Alexander Larsson <alexl@redhat.com>
1715 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1716 Add can_trash access attribute
1718 2007-10-04 Alexander Larsson <alexl@redhat.com>
1721 (g_local_file_trash):
1722 Create info file first. This is per-spec and allows
1723 us to actually trash directories.
1725 2007-10-02 Alexander Larsson <alexl@redhat.com>
1727 * gio/gdesktopappinfo.c:
1728 Implement the new mime support code.
1729 Always set app as handling mimetype when being set as default for it
1731 2007-10-01 Alexander Larsson <alexl@redhat.com>
1733 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
1734 Fix up check for xattrs:
1736 2007-10-01 Alexander Larsson <alexl@redhat.com>
1739 (g_app_info_set_as_default_for_extension):
1740 (g_app_info_add_supports_type):
1741 (g_app_info_can_remove_supports_type):
1742 (g_app_info_remove_supports_type):
1743 Make these fail nicely if not implemented
1745 2007-10-01 Paolo Borelli <pborelli@katamail.com>
1747 * gio/glocalfileoutputstream.c:
1748 * gio/glocalfileoutputstream.h:
1753 * programs/gio-save.c:
1754 Add a GFileCreateFlags argument to operations that can create
1757 2007-10-01 Alexander Larsson <alexl@redhat.com>
1759 * gio/gappinfo.[ch]:
1760 * gio/gdesktopappinfo.c:
1761 Add more (stubbed out) mime API needed for nautilus
1763 2007-10-01 Alexander Larsson <alexl@redhat.com>
1766 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
1767 Add g_app_info_set_as_default_for_extension.
1769 * gio/gdesktopappinfo.c:
1770 Dummy for g_app_info_set_as_default_for_extension
1771 Support flags in g_app_info_create_from_commandline
1773 * gio/gwin32appinfo.c:
1775 Update for API changes
1777 * gio/gthemedicon.c:
1778 Properly NULL-terminate list of icon names
1780 2007-09-28 Alexander Larsson <alexl@redhat.com>
1782 * gio/gloadableicon.h:
1783 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
1785 2007-09-28 Alexander Larsson <alexl@redhat.com>
1788 Install headers in $includedir/gio-standalone/
1790 * gio-2.0.pc.in: Added.
1791 * gio-standalone.pc.in: Removed.
1794 Renamed pkg-config file to match glib (for future move)
1795 Update to the new include dir
1798 Add more TODO comments
1800 2007-09-28 Alexander Larsson <alexl@redhat.com>
1802 * gio/gdesktopappinfo.[ch]:
1803 Expose new_from_filename
1804 Add getter for is_hidden and handle it better
1806 2007-09-28 Alexander Larsson <alexl@redhat.com>
1808 * gio/gfileinfo.[ch]:
1809 Rename g_file_size_format_for_display to
1810 g_format_file_size_for_display.
1811 Now it doesn't have the g_file prefix, so we
1812 can later move it to glib.
1814 2007-09-28 Alexander Larsson <alexl@redhat.com>
1816 * gio/gappinfo.[ch]:
1817 Add g_app_info_get_id and g_app_info_get_executable.
1818 Make all getters non-reffing
1819 Make g_app_info_launch take GFile arguments.
1820 Add must_support_uris argument to g_app_info_get_default_for_type.
1822 * gio/gwin32appinfo.c:
1823 Update to GAppInfo api changes
1825 * gio/gdesktopappinfo.c:
1826 Update to GAppInfo api changes
1827 Implement supports_xdg_startup_notify
1829 * gio/gfileicon.c (g_file_icon_get_file):
1830 Make getter non-reffing.
1835 2007-09-27 Alexander Larsson <alexl@redhat.com>
1837 * gio/gfileinfo.[ch]:
1838 Add g_file_size_format_for_display helper
1840 2007-09-27 Alexander Larsson <alexl@redhat.com>
1842 * gio/glocalfileinfo.c:
1843 Set UNIX_GID from gid, not from uid
1845 2007-09-27 Alexander Larsson <alexl@redhat.com>
1848 Add g_file_set_attributes_async
1850 2007-09-27 Alexander Larsson <alexl@redhat.com>
1852 * gio/glocalfile.c (g_local_file_set_display_name):
1853 Fix set_display_name to actually rename to the right place.
1854 Use lstat to look for existing files so we don't overwrite
1857 2007-09-26 Alexander Larsson <alexl@redhat.com>
1860 Add g_file_set_display_name_async()
1862 2007-09-26 Alexander Larsson <alexl@redhat.com>
1865 Add load_partial_contents async calls
1868 Make internal function static
1870 2007-09-26 Alexander Larsson <alexl@redhat.com>
1872 * gio/glocalfileinfo.c:
1873 Correctly detect broken symlinks
1875 2007-09-26 Alexander Larsson <alexl@redhat.com>
1877 * gio/gcancellable.c (g_cancellable_cancel):
1878 Allow cancel on NULL cancellable
1880 2007-09-25 Alexander Larsson <alexl@redhat.com>
1882 * gio/gsimpleasyncresult.c:
1883 Don't allocate g_error manually.
1884 Fixes g_slice/g_new mixup crash
1886 2007-09-25 Alexander Larsson <alexl@redhat.com>
1888 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
1889 Actually set active_backend.
1890 This means the monitor will be cancelled correctly.
1892 2007-09-25 Alexander Larsson <alexl@redhat.com>
1894 * gio/gdirectorymonitor.c:
1895 Set timeout to NULL when destroying
1897 2007-09-25 Alexander Larsson <alexl@redhat.com>
1900 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
1901 that is a better description of the error.
1903 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
1905 * gio/gvfs.c: (g_vfs_get_local):
1906 Make the local vfs variable static. The same instance should
1909 2007-09-24 Alexander Larsson <alexl@redhat.com>
1911 * gio/glocalfileinfo.c:
1912 Pass in actual length read into sniffer, not the length
1915 2007-09-21 Alexander Larsson <alexl@redhat.com>
1917 * gio/gfileenumerator.c:
1920 * gio/gfileinputstream.c:
1921 * gio/gfileoutputstream.c:
1922 * gio/ginputstream.c:
1923 * gio/goutputstream.c:
1924 Don't crash if async callbacks are NULL
1926 2007-09-20 Alexander Larsson <alexl@redhat.com>
1929 Add async enumerate_children method and default
1932 2007-09-20 Alexander Larsson <alexl@redhat.com>
1935 Add g_file_contains_file & g_file_get_relative_path, since they
1936 were needed for nautilus.
1937 Renamed g_file_resolve_relative to g_file_resolve_relative_path
1942 Implement new methods
1944 2007-09-17 Alexander Larsson <alexl@redhat.com>
1947 * gio/gfileinputstream.[ch]:
1948 * gio/gfileoutputstream.[ch]:
1950 * gio/glocalfileenumerator.[ch]:
1951 * gio/glocalfileinfo.[ch]:
1952 * gio/glocalfileinputstream.c:
1953 * gio/glocalfileoutputstream.c:
1954 * gio/gpollfilemonitor.c:
1955 * programs/gio-copy.c:
1956 * programs/gio-info.c:
1957 * programs/gio-move.c:
1958 Rename get_file_info to query_info() to make it clearer
1959 that these are not simple getters, but do i/o.
1961 2007-09-17 Alexander Larsson <alexl@redhat.com>
1963 * gio/gdatainputstream.[ch]:
1964 * gio/test-streams.c:
1965 Use _read_XXX instead of _get_XXX for the i/o calls
1968 2007-09-17 Alexander Larsson <alexl@redhat.com>
1971 Added needed stuff to TODO comment
1973 2007-09-17 Alexander Larsson <alexl@redhat.com>
1975 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
1976 Don't error out removing the backup copy if it doesn't
1979 2007-09-14 Alexander Larsson <alexl@redhat.com>
1981 * programs/Makefile.am:
1982 * programs/gvfs-*.c:
1984 Renamed apps from gvfs-xxx to gio-xxx.
1986 2007-09-14 Alexander Larsson <alexl@redhat.com>
1989 * gio/gfileoutputstream.[ch]:
1990 * gio/glocalfileoutputstream.c:
1991 * programs/gvfs-save.c:
1992 g_file_output_stream_get_etag doesn't do i/o, so remove
1993 cancellation and error.
1995 2007-09-14 Alexander Larsson <alexl@redhat.com>
1998 Add new_etag output to replace_contents functions
2000 2007-09-14 Alexander Larsson <alexl@redhat.com>
2002 * gio/gfileoutputstream.[ch]:
2003 Add async get_file_info and default implementation
2005 2007-09-14 Alexander Larsson <alexl@redhat.com>
2007 * gio/gfileinputstream.c:
2008 Implement fallback wrapper for async get_file_info
2010 2007-09-14 Alexander Larsson <alexl@redhat.com>
2013 Add etag out argument to load_contents
2018 2007-09-14 Alexander Larsson <alexl@redhat.com>
2020 * gio/gcontenttype.c (looks_like_text):
2021 Whitespace like tab, cr and lf do not make the
2024 2007-09-14 Alexander Larsson <alexl@redhat.com>
2026 * gio/gfileinputstream.[ch]:
2027 Add async get_file_info.
2029 2007-09-13 Alexander Larsson <alexl@redhat.com>
2031 * gio/goutputstream.c (g_output_stream_write_all):
2032 Allow NULL for bytes_written
2034 2007-09-13 Alexander Larsson <alexl@redhat.com>
2036 * gio/gmemoryinputstream.[ch]:
2037 Add accessors for data
2039 2007-09-13 Alexander Larsson <alexl@redhat.com>
2041 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2042 Don't crash if length is NULL