1 2007-12-07 Alexander Larsson <alexl@redhat.com>
3 * glocalfileenumerator.c (_g_local_file_enumerator_new):
4 Avoid warning spew if error == NULL
6 2007-12-07 Alexander Larsson <alexl@redhat.com>
11 2007-12-06 Alexander Larsson <alexl@redhat.com>
14 Include sys/types.h for dev_t (#501919)
16 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
20 Make abicheck and pltcheck pass.
22 2007-12-05 Alexander Larsson <alexl@redhat.com>
25 * giomodule-priv.h: Added.
26 * glocaldirectorymonitor.c:
27 * glocalfilemonitor.c:
28 * gunionvolumemonitor.c:
30 Actually add the declaration of _g_io_modules_ensure_loaded
32 2007-12-05 Alexander Larsson <alexl@redhat.com>
39 * glocaldirectorymonitor.c:
40 * glocalfilemonitor.c:
41 * gunionvolumemonitor.c:
43 Make g_io_modules_ensure_loaded a private function and
44 don't pass in the dirname. This means we can do magic
45 directory finding in the win32 version.
46 Export the actual load-modules-in-directory code so that
49 2007-12-05 Alexander Larsson <alexl@redhat.com>
51 * gbufferedinputstream.c:
52 * gbufferedoutputstream.c:
55 * gfileenumerator.[ch]:
57 * gfileoutputstream.[ch]:
58 * gfilterinputstream.c:
59 * gfilteroutputstream.c:
62 * glocalfileenumerator.c:
63 * glocalfileinputstream.c:
64 * glocalfileoutputstream.c:
65 * gmemoryinputstream.c:
66 * gmemoryoutputstream.c:
71 * gunixoutputstream.c:
72 Rename all struct members named:
73 read, write, close, truncate, or mount
74 to foo_fn, as these are reserved names
75 and could be defined as macros in libc.
78 2007-12-04 Alexander Larsson <alexl@redhat.com>
81 (g_output_stream_close):
82 Only call flush if non-null.
84 2007-11-30 Dan Winship <danw@gnome.org>
86 * ginputstream.c (g_input_stream_set_pending): Make this take a
87 GError and return a gboolean, and do the "outstanding operation"
88 check (and the "stream is already closed" check) itself.
89 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
91 * goutputstream.c (g_output_stream_set_pending)
92 (g_output_stream_clear_pending): Likewise
94 * gbufferedinputstream.c:
96 * gfileoutputstream.c: Update for that
98 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
99 Like g_simple_async_report_error_in_idle, but takes a GError
100 rather than building one.
102 2007-11-30 Dan Winship <danw@gnome.org>
104 * goutputstream.c: Don't cheat and unset the "pending" flag around
105 inner calls. Instead, call the class method directly rather than
106 the wrapper function that checks "pending"
108 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
110 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
112 2007-12-03 Hans Breuer <hans@breuer.org>
114 [start of port to win32/msvc]
115 * gcancellable.c : HAVE_UNIST_H and _pipe()
116 * gcontenttype.c : only include <dirent.h> in the UNIX branch
117 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
118 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
120 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
121 * glocalvfs.c : use HAVE_PWD_H
122 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
123 * makefile.msc : new file (maybe later converted to makefile.msc.in)
124 * Makefile.am : added to EXTRA_DIST
126 2007-12-03 Matthias Clasen <mclasen@redhat.com>
128 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
131 2007-12-03 Alexander Larsson <alexl@redhat.com>
134 Handle OSX style xattrs API (#500506)
136 2007-12-03 Alexander Larsson <alexl@redhat.com>
140 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
142 2007-12-02 A. Walton <awalton@svn.gnome.org>
146 Documentation accuracy fixes.
148 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
150 * gioenumtypes.c.template: Fix typo.
152 2007-12-01 Matthias Clasen <mclasen@redhat.com>
154 * gioenumtypes.c.template: Make threadsafe get_type() functions.
156 2007-12-01 Matthias Clasen <mclasen@redhat.com>
158 * gdirectorymonitor.c:
159 * gfilemonitor.c: Add properties
161 * gbufferedoutputstream.c: Don't mark buffer-size property
164 2007-12-01 Matthias Clasen <mclasen@redhat.com>
166 * gbufferedoutputstream.c: Add auto-grow property.
168 2007-11-30 Matthias Clasen <mclasen@redhat.com>
170 * *.c: Unify the capitalization of section headings.
172 2007-11-30 Matthias Clasen <mclasen@redhat.com>
174 * gmountoperation.c: Add properties
176 * gdatainputstream.c: Turn byte-order and newline-type into
179 2007-11-30 Matthias Clasen <mclasen@redhat.com>
181 * gioenumtypes.[hc].template: Templates for enum registration
183 * Makefile.am: Generate gioenumtypes.[hc]
185 * gio.h: Include gioenumtypes.h
187 * gfile.h: Add some explicit nicks.
189 * gio.symbols: Add new symbols
191 * pltcheck.sh: Adjust
193 2007-11-30 Matthias Clasen <mclasen@redhat.com>
195 * *.c: Explain etags and link to the explanation
197 2007-11-29 Matthias Clasen <mclasen@redhat.com>
199 * *.c: Explain I/O priority.
201 * *.c: More coding style fixes.
203 2007-11-29 Matthias Clasen <mclasen@redhat.com>
205 * gasyncresult.c: Add another paragraph to the intro,
206 adjust coding style of example.
208 2007-11-29 A. Walton <awalton@svn.gnome.org>
211 Fixes unknown meaning in GAppLaunchContext docs.
213 Clarify asynchronous ops.
218 Provides missing gtk-doc section, fixes API docs slighly.
219 * gsimpleasyncresult.c:
220 Fill in missing info in docs.
221 * gunixinputstream.c:
222 * gunixoutputstream.c:
223 Be more expressive in short description.
225 Remove gtk-doc stubs for non-public API.
227 2007-11-28 Matthias Clasen <mclasen@redhat.com>
229 * *.c: Coding style fixups
231 2007-11-28 Matthias Clasen <mclasen@redhat.com>
233 * inotify/inotify-helper.c: Don't export the lock from libgio.
235 2007-11-28 Matthias Clasen <mclasen@redhat.com>
238 * abicheck.sh: Fix copy-and-paste leftovers
240 2007-11-28 Matthias Clasen <mclasen@redhat.com>
242 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
244 2007-11-28 Alexander Larsson <alexl@redhat.com>
248 Removed unnecessary file
250 * gdesktopappinfo.[ch]:
253 * glocaldirectorymonitor.[ch]:
255 * glocalfileenumerator.[ch]:
256 * glocalfileinputstream.[ch]:
257 * glocalfilemonitor.[ch]:
258 * glocalfileoutputstream.[ch]:
260 * gnativevolumemonitor.c:
261 * gpollfilemonitor.[ch]:
262 * gunionvolumemonitor.[ch]:
265 * gunixvolumemonitor.[ch]:
268 * inotify/ginotifydirectorymonitor.[ch]:
269 * inotify/ginotifyfilemonitor.[ch]:
270 * inotify/inotify-helper.c:
271 Append _ to all internal functions
275 Export symbols needed for modules
277 2007-11-28 Alexander Larsson <alexl@redhat.com>
280 * abicheck.sh: Added.
281 * makegioalias.pl: Added.
282 * pltcheck.sh: Added.
283 * gio.symbols: Added.
286 Initial work on adding symbol handling.
289 Correct ifdef guard name
292 * inotify/Makefile.am:
293 * xdgmime/Makefile.am:
294 Include toplevel Makefile.decl
296 2007-11-27 Matthias Clasen <mclasen@redhat.com>
298 * gcontenttype.c: Move doc comments to the unix section.
300 * *.[hc]: More trivial doc corrections.
302 2007-11-27 Matthias Clasen <mclasen@redhat.com>
304 * gpollfilemonitor.c:
313 * gdatainputstream.c:
314 * gdatainputstream.h:
315 * gdataoutputstream.c:
316 * gdataoutputstream.h:
317 * gfileinfo.h: Doc cleanups
319 2007-11-28 Andre Klapper <a9016009@gmx.de>
321 * gdesktopappinfo.c: Fix a typo.
323 2007-11-27 Andre Klapper <a9016009@gmx.de>
325 * glocalfileoutputstream.c: Fix a typo.
327 2007-11-27 Alexander Larsson <alexl@redhat.com>
330 Don't include removed headers
332 2007-11-27 Alexander Larsson <alexl@redhat.com>
335 * gsocketinputstream.[ch]: Removed.
336 * gsocketoutputstream.[ch]: Removed.
337 * gunixinputstream.[ch]: Added.
338 * gunixoutputstream.[ch]: Added.
339 Renamed GSocket*Stream to GUnix*Stream and made
340 it unix-only, since its not really only for sockets
341 and it only works on unix (but is highly useful there).
343 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
349 * gbufferedinputstream.c:
350 * gbufferedinputstream.h:
351 * gbufferedoutputstream.c:
352 * gbufferedoutputstream.h:
356 * gdatainputstream.c:
357 * gdatainputstream.h:
358 * gdataoutputstream.c:
359 * gdataoutputstream.h:
360 * gdirectorymonitor.c:
361 * gdirectorymonitor.h:
374 * gfileinputstream.c:
375 * gfileinputstream.h:
378 * gfilenamecompleter.c:
379 * gfilenamecompleter.h:
380 * gfileoutputstream.c:
381 * gfileoutputstream.h:
382 * gfilterinputstream.c:
383 * gfilterinputstream.h:
384 * gfilteroutputstream.c:
385 * gfilteroutputstream.h:
398 * glocalfileoutputstream.c:
399 * gmemoryinputstream.c:
400 * gmemoryinputstream.h:
401 * gmemoryoutputstream.c:
402 * gmemoryoutputstream.h:
407 * gpollfilemonitor.c:
410 * gsimpleasyncresult.c:
411 * gsimpleasyncresult.h:
412 * gsocketinputstream.c:
413 * gsocketinputstream.h:
414 * gsocketoutputstream.c:
415 * gsocketoutputstream.h:
422 * gunixvolumemonitor.c:
431 Bumps documentation to 93% symbol coverage, touching most
432 of the public files. Fixes broken function documentation prototypes.
433 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
434 gtk-doc headers in private files.
436 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
438 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
439 (g_buffered_input_stream_read_byte):
440 * gbufferedinputstream.h:
441 New functions for efficient access to buffer and simple single byte
444 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
445 (g_data_input_stream_read_until):
446 * gdatainputstream.h:
447 Use peek_buffer to avoid memcpy in scan_for_newline, implement
448 read_until with multiple stop chars.
450 2007-11-27 Alexander Larsson <alexl@redhat.com>
454 * inotify/Makefile.am:
455 Use the user-specified giomoduledir
457 2007-11-27 Alexander Larsson <alexl@redhat.com>
461 Add catch-all gio.h header
462 Don't install gdummyfile.h
464 2007-11-26 Alexander Larsson <alexl@redhat.com>
466 * Makefile.am (gioinclude_HEADERS):
467 Remove trailing whitespace
469 2007-11-26 Alexander Larsson <alexl@redhat.com>
471 Merge gio-standalone into glib
473 2007-11-25 Christian Kellner <gicmo@gnome.org>
475 * gio/goutputstream.c:
476 Fix small mistake in the docs.
478 2007-11-21 Christian Persch <chpe@gnome.org>
480 * gio/glocalfile.c: (g_local_file_trash):
481 Convert filenames to UTF-8 for GError.
482 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
483 as per xdg base dir spec.
485 2007-11-21 Christian Persch <chpe@gnome.org>
487 * gio/gdesktopappinfo.c:
488 Use that g_key_file_to_data cannot fail.
490 Use stock defines for the key file group and key names.
493 2007-11-21 Alexander Larsson <alexl@redhat.com>
496 (copy_stream_with_progress):
497 Make sure we do a final progress callback with
500 2007-11-21 Alexander Larsson <alexl@redhat.com>
503 Export g_file_copy_attributes
504 Remove padding as its not needed for interfaces
506 2007-11-20 Alexander Larsson <alexl@redhat.com>
511 Add G_IO_ERROR_WOULD_MERGE for
512 copy/move dir on dir with overwrite.
514 2007-11-20 Alexander Larsson <alexl@redhat.com>
517 * gio/glocalfileinfo.c:
518 Add COPY_NAME (this is an optional
519 non-modified utf8 version of the name) that
522 2007-11-20 Alexander Larsson <alexl@redhat.com>
524 * gio/glocalfileenumerator.c:
525 Report errors as GIOError, not GFileError
527 2007-11-16 Alexander Larsson <alexl@redhat.com>
529 * gio/glocalfileoutputstream.c:
530 * gio/gwin32appinfo.c:
531 Fix typos in strings.
532 Patch from Luca Ferretti <elle.uca@libero.it>
534 2007-11-15 Alexander Larsson <alexl@redhat.com>
537 Post release version bump
539 === gio-standalone 0.1.2 ===
541 2007-11-15 Alexander Larsson <alexl@redhat.com>
543 * docs/reference/gio/Makefile.am:
544 Fix up distcheck by removing weird
550 2007-11-14 Alexander Larsson <alexl@redhat.com>
552 * gio/gdesktopappinfo.c:
553 * gio/glocaldirectorymonitor.c:
555 * gio/glocalfileinfo.c:
556 * gio/inotify/inotify-sub.c:
557 * programs/gio-cat.c:
558 * programs/gio-copy.c:
559 * programs/gio-info.c:
561 * programs/gio-monitor-dir.c:
562 * programs/gio-monitor-file.c:
563 * programs/gio-mount.c:
564 * programs/gio-move.c:
566 * programs/gio-save.c:
567 * programs/gio-trash.c:
568 Leak fixes from Kjartan Maraas
570 2007-11-14 Alexander Larsson <alexl@redhat.com>
572 * gio/fam/fam-helper.c:
574 * gio/glocalfileinfo.c:
578 * gio/inotify/inotify-diag.c:
579 * gio/inotify/inotify-kernel.c:
580 Various code cleanups from Kjartan Maraas
582 2007-11-14 Alexander Larsson <alexl@redhat.com>
584 * gio/gioscheduler.c:
586 Set up threadpool so that we cache 2 unused
587 idle threads for at 15 secs. This means we
588 will reuse thread-local data (like dbus connections)
591 2007-11-14 Alexander Larsson <alexl@redhat.com>
593 * gio/fam/fam-helper.c:
594 * gio/fam/gfamdirectorymonitor.c:
595 * gio/fam/gfamfilemonitor.c:
597 * gio/gcontenttype.c:
598 * gio/gdatainputstream.c:
599 * gio/gdataoutputstream.c:
603 * gio/gfileattribute.h:
604 * gio/gfileenumerator.c:
606 * gio/ginputstream.c:
609 * gio/glocalfileinfo.c:
610 * gio/goutputstream.c:
611 * gio/gpollfilemonitor.c:
612 * gio/gsimpleasyncresult.c:
615 * gio/inotify/ginotifydirectorymonitor.c:
616 * gio/inotify/ginotifyfilemonitor.c:
617 * gio/inotify/inotify-diag.c:
618 * gio/inotify/inotify-kernel.c:
619 * gio/inotify/inotify-path.c:
621 * gio/test-streams.c:
622 * programs/gio-info.c:
623 * programs/gio-monitor-dir.c:
624 * programs/gio-monitor-file.c:
625 Various code cleanups from Kjartan Maraas
627 2007-11-13 Alexander Larsson <alexl@redhat.com>
630 Handle the uri-scheme calls for dummy files
632 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
634 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
635 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
636 to avoid clash with the C++ keyword.
638 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
640 * gio/glocalfileinfo.c: Build fix, added missing semicolon
641 to an ifdef'ed call to getpwuid() in lookup_uid_data().
643 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
645 * gio/glocaldirectorymonitor.c:
646 * gio/glocalfilemonitor.c:
647 * gio/gunionvolumemonitor.c:
648 Don't use g_once_init_*() for initializations that could fail and
649 could leave the initialization variable set to 0 but use GOnce.
650 This prevents a deadlock on the second call when trying to create
651 a monitor and no monitor type is available. Thanks to Sven Herzberg
654 2007-11-11 Sven Herzberg <sven@imendio.com>
656 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
657 #ifdef (make it work on MacOS X again)
659 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
661 Fixes Changelog for last two commits (sorry guys).
663 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
665 * gio/gbufferedinputstream.c:
666 * gio/gdatainputstream.c:
668 * gio/gfileoutputstream.c:
669 * gio/gfilterinputstream.c:
670 * gio/glocalfileinputstream.c:
673 More consistency fixes in g*stream.c files.
674 Significant clean of gfile's documentation, filling in of
675 asynchronous operations documentation.
677 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
679 * gio/gasyncresult.c:
680 * gio/gbufferedinputstream.c:
681 * gio/gbufferedoutputstream.c:
682 * gio/gcancellable.c:
683 * gio/gcontenttype.c:
684 * gio/gdatainputstream.c:
685 * gio/gdataoutputstream.c:
686 * gio/gdesktopappinfo.c:
689 * gio/gfileattribute.c:
690 * gio/gio/gfileenumerator.c:
692 * gio/gfileinputstream.c:
693 * gio/gfilemonitor.c:
694 * gio/gfileoutputstream.c:
695 * gio/ginputstream.c:
697 * gio/gioscheduler.c:
698 * gio/gloadableicon.c:
699 * gio/glocalfileoutputstream.c:
700 * gio/gmemoryoutputstream.c:
701 * gio/gmountoperation.c:
702 * gio/goutputstream.c:
704 * gio/gsimpleasyncresult.c:
705 * gio/gunionvolumemonitor.c:
711 * gio/gvolumemonitor.c:
712 Updated documentation stubs, working towards consistency and
715 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
717 * gio/gmemoryoutputstream.c:
718 * gio/gmemoryoutputstream.h:
719 Change g_memory_output_stream_set_free_on_close() to
720 g_memory_output_stream_set_free_data() as this makes more sense and
721 is more consistent with GMemoryInputStream.
723 2007-11-07 Alexander Larsson <alexl@redhat.com>
730 Change how we find the default vfs so that
731 we can handle a gvfs failing to init
733 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
735 * gio/gbufferedoutputstream.c:
736 * gio/gdatainputstream.c:
737 * gio/gdataoutputstream.c:
738 * gio/gfileinputstream.c:
739 * gio/gfileoutputstream.c:
740 * gio/gfilterinputstream.c:
741 * gio/gfilteroutputstream.c:
742 * gio/ginputstream.c:
743 * gio/gmemoryinputstream.c:
744 * gio/gmemoryoutputstream.c:
745 * gio/goutputstream.c:
746 * gio/gsimpleasyncresult.c:
747 * gio/gsocketinputstream.c:
748 * gio/gsocketoutputstream.c:
749 Add guards to the remaining public functions, add a TODO for
750 an unimplemented function and remove some useless guards.
752 2007-11-07 Alexander Larsson <alexl@redhat.com>
755 Autoconf checks for the various types of
756 getpwuid_r and getgrgid_r
758 * gio/glocalfileinfo.c:
759 Use the autoconf checks from above
761 2007-11-07 Alexander Larsson <alexl@redhat.com>
764 (g_local_file_query_filesystem_info):
765 Some fixes for the statvfs case
767 2007-11-07 Alexander Larsson <alexl@redhat.com>
770 (g_local_file_query_filesystem_info):
771 Pick the "best" of statfs / statvfs for the system
772 if both are availible.
774 2007-11-07 Alexander Larsson <alexl@redhat.com>
776 Solaris fixes from Halton.Huo@Sun.COM:
783 * gio/glocalfileinfo.c:
784 Fix for solaris definition of getpwuid_r
786 * gio/test-streams.c:
787 Use G_GNUC_PRETTY_FUNCTION
789 2007-11-07 Alexander Larsson <alexl@redhat.com>
791 * gio/gdesktopappinfo.c:
792 (update_default_list):
793 Remove double semicolon.
794 Patch from Jens Granseuer
796 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
798 * docs/reference/gio/gio-sections.txt:
799 * gio/gbufferedinputstream.c:
800 * gio/gbufferedinputstream.h:
801 * gio/gdatainputstream.c:
802 * gio/gfileenumerator.c:
803 * gio/gioscheduler.c:
804 * gio/gunionvolumemonitor.c:
806 * programs/gio-save.c:
807 Fix typo: availible -> available. Unfortuntely this breaks API
808 and ABI as g_buffered_input_stream_get_available() was renamed.
811 * gio/gbufferedinputstream.c:
812 Add guards for public functions.
814 2007-11-06 Ross Burton <ross@openedhand.com>
816 * docs/reference/gio/Makefile.am:
817 Fix invalid += usage which automake 1.10 doesn't like.
819 2007-11-06 Alexander Larsson <alexl@redhat.com>
822 (g_app_launch_context_class_init):
825 Patch from Ross Burton
827 2007-11-06 Alexander Larsson <alexl@redhat.com>
830 Post release version bump
832 === gio-standalone 0.1.1 ===
834 2007-11-06 Alexander Larsson <alexl@redhat.com>
837 Bump version to 0.1.1
839 * gio/gsimpleasyncresult.c:
840 (g_simple_async_result_set_from_error):
841 Remove bogus g_return_if_fail
843 2007-11-06 Alexander Larsson <alexl@redhat.com>
846 The name is gio-standalone
849 Add top src/builddir to includedir
851 2007-11-06 Alexander Larsson <alexl@redhat.com>
853 * docs/reference/gio/gio-sections.txt:
855 * gio/gbufferedinputstream.c:
856 * gio/gbufferedoutputstream.c:
857 * gio/gcancellable.c:
858 * gio/gdatainputstream.h:
859 * gio/gdataoutputstream.c:
860 * gio/gdataoutputstream.h:
861 * gio/gdirectorymonitor.c:
863 * gio/gfileattribute.c:
864 * gio/gfileattribute.h:
865 * gio/gfileenumerator.c:
866 * gio/gfileenumerator.h:
869 * gio/gfileinputstream.h:
870 * gio/gfilemonitor.c:
871 * gio/gfileoutputstream.h:
872 * gio/glocalfilemonitor.h:
873 * gio/glocalfileoutputstream.h:
874 * gio/gmemoryinputstream.c:
875 * gio/gmemoryoutputstream.c:
876 * gio/gmountoperation.c:
877 * gio/goutputstream.c:
878 * gio/goutputstream.h:
880 * gio/gsimpleasyncresult.c:
884 * gio/inotify/inotify-helper.c:
887 Patch from Ross Burton
889 2007-11-06 Alexander Larsson <alexl@redhat.com>
891 * gio/gfilenamecompleter.c:
892 (g_filename_completer_get_completions):
896 Remove unused function
898 Patches from Ross Burton
900 2007-11-06 Alexander Larsson <alexl@redhat.com>
905 Padding not needed for interfaces
907 2007-11-06 Alexander Larsson <alexl@redhat.com>
909 * gio/gfilemonitor.c:
913 Make giotypes.h an internal file
916 * gio/gbufferedinputstream.h:
917 * gio/gbufferedoutputstream.h:
918 * gio/gcancellable.h:
919 * gio/gdatainputstream.h:
920 * gio/gdataoutputstream.h:
921 * gio/gdirectorymonitor.c:
922 * gio/gdirectorymonitor.h:
927 * gio/gfileattribute.h:
928 * gio/gfileenumerator.h:
933 * gio/gfilemonitor.c:
934 * gio/gfilemonitor.h:
935 * gio/gfilenamecompleter.c:
936 * gio/gfilenamecompleter.h:
937 * gio/gfilterinputstream.h:
938 * gio/gfilteroutputstream.h:
939 * gio/ginputstream.h:
940 * gio/gmemoryinputstream.h:
941 * gio/gmemoryoutputstream.h:
942 * gio/gmountoperation.c:
943 * gio/gmountoperation.h:
944 * gio/gnativevolumemonitor.c:
945 * gio/goutputstream.h:
948 * gio/gsimpleasyncresult.c:
949 * gio/gsimpleasyncresult.h:
950 * gio/gsocketinputstream.h:
951 * gio/gsocketoutputstream.h:
957 * gio/gvolumemonitor.c:
958 * gio/gvolumemonitor.h:
959 Add padding in classes where it seems useful
960 Don't include giotypes.h from public headers
961 Move in Class definitions into c file where possible
966 2007-11-06 Alexander Larsson <alexl@redhat.com>
968 * docs/reference/gio/gio-docs.xml:
969 Better structure for API docs
971 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
974 * gio/gloadableicon.c:
975 * gio/gsimpleasyncresult.c:
977 Add some more guards to public functions. Only files missing are now
980 2007-11-06 Alexander Larsson <alexl@redhat.com>
982 * docs/reference/gio/gio-docs.xml:
983 Remove old files, add missing ones
985 2007-11-06 Alexander Larsson <alexl@redhat.com>
987 * docs/reference/gio/gio-sections.txt:
990 Hide implementation classes
992 * gio/gdriveprivate.h:
993 * gio/gvolumeprivate.h:
994 Remove non-existing function declarations
996 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
999 Fix compilation warnings and add guards to the new functions.
1001 * gio/gasyncresult.c:
1003 Add guards to the public functions.
1006 Implement get_path().
1008 2007-11-06 Alexander Larsson <alexl@redhat.com>
1010 * gio/gfilenamecompleter.c:
1011 Make g_filename_completer_get_completions
1012 return char ** instead of GList for
1015 * docs/reference/gio/gio-docs.xml:
1016 * docs/reference/gio/gio-sections.txt:
1018 * gio/gasyncresult.c:
1019 * gio/gbufferedinputstream.c:
1020 * gio/gbufferedoutputstream.c:
1021 * gio/gcancellable.c:
1022 * gio/gcontenttype.c:
1023 * gio/gdatainputstream.c:
1024 * gio/gdataoutputstream.c:
1025 * gio/gdesktopappinfo.c:
1026 * gio/gdirectorymonitor.c:
1030 * gio/gfileattribute.c:
1031 * gio/gfileenumerator.c:
1034 * gio/gfileinputstream.c:
1035 * gio/gfilemonitor.c:
1036 * gio/gfilenamecompleter.c:
1037 * gio/gfilenamecompleter.h:
1038 * gio/gfileoutputstream.c:
1039 * gio/gfilterinputstream.c:
1041 * gio/ginputstream.c:
1043 * gio/gioscheduler.c:
1044 * gio/gloadableicon.c:
1045 * gio/glocaldirectorymonitor.c:
1047 * gio/glocalfileinputstream.c:
1048 * gio/glocalfilemonitor.c:
1049 * gio/glocalfileoutputstream.c:
1051 * gio/gmemoryinputstream.c:
1052 * gio/gmemoryoutputstream.c:
1053 * gio/gmountoperation.c:
1054 * gio/goutputstream.c:
1055 * gio/gpollfilemonitor.c:
1057 * gio/gsimpleasyncresult.c:
1058 * gio/gsocketinputstream.c:
1059 * gio/gsocketoutputstream.c:
1060 * gio/gthemedicon.c:
1061 * gio/gunionvolumemonitor.c:
1063 * gio/gunixmounts.c:
1064 * gio/gunixvolume.c:
1065 * gio/gunixvolumemonitor.c:
1069 * gio/gvolumemonitor.c:
1070 * gio/gwin32appinfo.c:
1071 Add (mostly stub) doc strings to public functions.
1072 Patch from Andrew Walton (awalton@gmail.com)
1074 2007-11-06 Alexander Larsson <alexl@redhat.com>
1076 * gio/gappinfo.[ch]:
1077 Added GAppLaunchContext object and pass that to launch.
1078 This allows simple implementation of both
1079 launch-on-screen and startup notification via a gtk+
1080 subclass of GAppLaunchContext
1082 * gio/gdesktopappinfo.c:
1083 Implement GAppLaunchContext API
1085 * gio/gwin32appinfo.c:
1088 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1090 * gio/gmountoperation.c:
1091 Add some guards to GMountOperation's public functions.
1093 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1097 * gio/gcancellable.c:
1098 * gio/gdirectorymonitor.c:
1100 * gio/gfileenumerator.c:
1101 * gio/gfilemonitor.c:,
1102 * gio/gfilenamecompleter.c:
1105 * gio/gioscheduler.c:
1109 * gio/gvolumemonitor.c:
1110 Add even more guards to various public functions.
1112 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1115 Add guards to the public functions of GAppInfo.
1117 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1119 * gio/gcontenttype.c:
1120 Add some more guards for public functions.
1122 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1124 * gio/fam/fam-module.c:
1125 * gio/fam/gfamdirectorymonitor.c:
1126 * gio/fam/gfamdirectorymonitor.h:
1127 * gio/fam/gfamfilemonitor.c:
1128 * gio/fam/gfamfilemonitor.h:
1129 * gio/inotify/ginotifydirectorymonitor.c:
1130 * gio/inotify/ginotifydirectorymonitor.h:
1131 * gio/inotify/ginotifyfilemonitor.c:
1132 * gio/inotify/ginotifyfilemonitor.h:
1133 Add proper copyright information and remove an unused variable
1134 in the GInotifyFileMonitor constructor.
1136 * gio/gcancellable.c:
1137 Add a guard for a public function and an assertion to prevent
1138 an undefined program state.
1140 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1142 * gio/gfileattribute.c:
1143 Don't run into an assertion if the given attribute value is NULL
1144 in g_file_attribute_value_get_*() but instead return a fallback
1145 value that makes sense in most situations. Passing them a attribute
1146 value with the wrong type will still run into an assertion.
1148 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1150 * gio/gfileattribute.c:
1152 Add even more guards to the public functions. Also fix the refcounting
1153 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1154 let g_file_info_list_attributes() filter the attributes by namespace
1155 instead of simply ignoring the namespace parameter.
1157 2007-11-03 Sven Herzberg <sven@imendio.com>
1159 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1160 (This makes gio work on MacOS X again)
1162 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1165 Build the gio subdirectory before the docs. Otherwise the build will
1168 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1169 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1170 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1171 Add guards to the public functions.
1173 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1175 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1176 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1177 to prevent a compiler warning.
1179 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1180 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1181 return something in the non-void function find_topdir_for().
1183 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1190 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1192 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1193 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1194 * gwin32appinfo.c (g_win32_app_info_launch):
1195 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1196 envp_for_startup_id, g_desktop_app_info_launch,
1197 g_desktop_app_info_launch_uris):
1199 Give an opaque 'startup_id' string instead of 'envp'.
1200 Support empty file lists for launching new windows.
1201 Fix infinite recursion bug when launching URIs.
1203 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1206 Add guard to the new g_file_get_uri_scheme() function.
1208 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1211 Convert a g_return_val_if_fail() to setting the GError instead as
1212 otherwise applications have to verify the parameter before otherwise
1213 and the parameter might come directly from the user.
1215 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1217 * gio/inotify/ginotify*.[ch]:
1218 Add missing copyright information.
1220 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1223 Add guards in the beginning of public functions to check for valid
1224 parameters and fix a bug in copy_stream_with_progress() that could've
1225 caused writing less bytes than reading.
1226 * gio/glocalfileinfo.c:
1227 Check for a NULL parameter and set the GError accordingly then.
1228 * gio/goutputstream.c:
1229 Fix the same bug as in gfile.c that could've caused writing less bytes
1230 than reading in g_output_stream_real_splice().
1232 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1235 Use the correct gvolumeprivate.h naming
1237 2007-11-01 Christian Kellner <gicmo@gnome.org>
1240 Remove leftover "$(daemon_sources)" entry.
1242 2007-11-01 Christian Kellner <gicmo@gnome.org>
1247 Add copyright information to source files.
1249 2007-11-01 Alexander Larsson <alexl@redhat.com>
1253 Add g_file_get_uri_scheme
1255 2007-11-01 Alexander Larsson <alexl@redhat.com>
1258 * gio/gdesktopappinfo.c:
1259 * gio/gwin32appinfo.c:
1260 Add g_app_info_get_default_for_uri_scheme.
1262 2007-11-01 Alexander Larsson <alexl@redhat.com>
1265 Correct filename for gdriveprivate.h
1267 2007-10-31 Alexander Larsson <alexl@redhat.com>
1270 Rename id:value to id:file
1273 * gio/glocalfileinfo.c:
1276 2007-10-31 Alexander Larsson <alexl@redhat.com>
1278 * gio/gunixvolume.c:
1280 Remove g_volume_get_platform_id, as thats not
1281 needed with the simpler union volume monitor
1283 2007-10-31 Alexander Larsson <alexl@redhat.com>
1286 * gio/guniondrive.[ch]: Removed.
1287 * gio/gunionvolume.[ch]: Removed.
1288 Remove GUnionDrive/Volume
1290 * gio/gunionvolumemonitor.c:
1291 Simplify union volume monitor, now we
1292 only have one native volume monitor and
1293 we use the actual volumes/drives from the
1294 child monitors instead of wrapping them
1296 * gio/gnativevolumemonitor.[ch]:
1297 Base class for native volume monitors.
1298 Includes priority and get_volume_for_mountpoint
1301 Add g_file_find_enclosing_volume
1304 Remove volume name fs attribute
1305 Add readonly fs attribute
1308 Implement readonly attribute
1309 remove volume name attribute
1310 Implement find_enclosing volume
1312 * gio/gunixmounts.c:
1313 Add a volume for "/".
1315 * gio/gunixvolume.[ch]:
1316 Set better name for /
1318 * gio/gunixvolumemonitor.[ch]:
1319 Derive from GNativeVolumeMonitor
1320 Implement get_volume_for_mountpoint
1323 GVolume typedef moved to gfile.h
1325 * gio/gvolumeprivate.h:
1326 Add g_volume_get_for_mount_path
1328 2007-10-31 Alexander Larsson <alexl@redhat.com>
1330 * gio/gunixmounts.[ch]:
1331 Add cache info to unix mount listers
1332 Make getmntent use threadsafe
1333 Add is_system_internal attribute for GUnixMount
1335 * gio/gunixvolume.c:
1336 (g_unix_volume_new):
1337 Use is_system_internal instead of own code
1339 * gio/glocaldirectorymonitor.c:
1340 * gio/gunixvolumemonitor.c:
1341 Update to new gunixmounts API
1346 2007-10-30 Alexander Larsson <alexl@redhat.com>
1349 Add volume name fsinfo attribute
1352 Read volume name info
1354 * gio/gunionvolumemonitor.c:
1355 Fix infinite loops when finalizing a union volume monitor
1357 2007-10-30 Alexander Larsson <alexl@redhat.com>
1359 * gio/goutputstream.[ch]:
1360 Add splice() with default implementation
1362 * gio/gsocketoutputstream.c:
1363 (g_socket_output_stream_write):
1364 Return error on cancellation correctly.
1366 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1368 * gio/glocalfile.c (g_local_file_trash):
1369 Do not leak a string.
1371 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1373 * gio/gfile.c (g_file_load_contents):
1374 Unref the stream after closing it.
1376 2007-10-25 Alexander Larsson <alexl@redhat.com>
1378 * gio/gioscheduler.h:
1381 2007-10-25 Alexander Larsson <alexl@redhat.com>
1385 Add g_file_has_uri_scheme and implement for local files
1387 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1389 * gio/gdesktopappinfo.c: do not leak a string.
1391 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1393 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1394 (g_local_directory_monitor_new):
1395 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1396 (g_local_file_monitor_new):
1397 Only look for the monitor type that should be used the first time
1398 and use g_qsort_with_data() instead of our own bubble sort
1401 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1404 * gio/fam/Makefile.am:
1405 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1406 * gio/fam/fam-helper.h:
1407 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1408 * gio/fam/gfamdirectorymonitor.c:
1409 * gio/fam/gfamdirectorymonitor.h:
1410 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1411 * gio/fam/gfamfilemonitor.h:
1412 * gio/glocaldirectorymonitor.c:
1413 * gio/glocaldirectorymonitor.h:
1414 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1415 * gio/glocalfilemonitor.h:
1416 * gio/inotify/Makefile.am:
1417 * gio/inotify/ginotifydirectorymonitor.c:
1418 * gio/inotify/ginotifydirectorymonitor.h:
1419 * gio/inotify/ginotifyfilemonitor.c:
1420 * gio/inotify/ginotifyfilemonitor.h:
1421 Implement the FAM and Inotify monitors as
1422 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1423 their own GIO module. GLocal(Directory|File)Monitor will use the
1424 monitor with the highest rank that is supported on that machine.
1426 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1429 Change GIO module dir to $(libdir)/gio/modules and change
1430 the log domain from GVFS to GIO. Also only export symbols starting
1431 with g_ in the resulting library.
1432 * gio/test-streams.c: (main):
1433 Set log handler for the GIO log domain.
1435 2007-10-22 Alexander Larsson <alexl@redhat.com>
1437 * gio/gfilenamecompleter.[ch]:
1438 Add g_filename_completer_set_dirs_only
1440 2007-10-22 Alexander Larsson <alexl@redhat.com>
1443 * gio/gurifuncs.[ch]:
1444 Add some simple URI helpers
1446 * gio/gfilenamecompleter.[ch]:
1447 Added object for filename (parse name actually) completion
1450 Handle ~ in parse names
1452 2007-10-17 Alexander Larsson <alexl@redhat.com>
1455 * gio/glocalfileinfo.c:
1456 Add and implement id:value attribute
1458 2007-10-17 Alexander Larsson <alexl@redhat.com>
1461 * gio/guniondrive.c:
1463 Add and implement g_drive_has_volumes
1465 2007-10-17 Alexander Larsson <alexl@redhat.com>
1468 * gio/glocalfileinfo.[ch]:
1469 Add unix:is_mountpoint and implement for local files
1471 2007-10-16 Alexander Larsson <alexl@redhat.com>
1473 * gio/gunionvolumemonitor.c:
1474 (g_union_volume_monitor_init):
1475 Fix up the unix type getting so that it works with gcc
1477 2007-10-12 Alexander Larsson <alexl@redhat.com>
1480 * gio/glocalfileinfo.c:
1481 Add thumbnail:failed to file info
1483 2007-10-12 Richard Hult <richard@imendio.com>
1485 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1486 optimizing away the get_type call (happens with some gcc versions,
1487 like the one shipped with OS X 10.4).
1489 2007-10-12 Alexander Larsson <alexl@redhat.com>
1491 * gio/glocalfileinfo.c:
1492 (_g_local_file_info_set_attribute):
1493 Fix build if not HAVE_XATTR
1494 Patch from Milosz Derezynski <internalerror@gmail.com>
1496 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1498 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1499 around for review, otherwise I would have asked you before
1502 2007-10-11 Alexander Larsson <alexl@redhat.com>
1505 Add thumbnail:path attribute
1507 * gio/glocalfileinfo.c:
1508 Implement thumbnail:path for local files
1510 2007-10-11 Alexander Larsson <alexl@redhat.com>
1512 * gio/glocalfileinfo.c:
1513 (_g_local_file_info_get):
1514 Avoid duplicate icon names
1516 2007-10-11 Alexander Larsson <alexl@redhat.com>
1518 * gio/gthemedicon.[ch]:
1519 Change g_themed_icon_get_names return type to const
1521 2007-10-10 Alexander Larsson <alexl@redhat.com>
1523 * gio/glocalfileinfo.c:
1524 Don't reference freed memory
1526 2007-10-10 Alexander Larsson <alexl@redhat.com>
1528 * gio/gfileattribute.c:
1531 * gio/glocalfileinfo.c:
1534 2007-10-10 Alexander Larsson <alexl@redhat.com>
1537 Check for NULL icons
1539 * gio/gfileattribute.c:
1540 Don't dup when getting objects (same as for string attributes)
1542 * gio/gicon.c (g_icon_equal):
1543 Safely handle NULLs in equal
1545 2007-10-10 Alexander Larsson <alexl@redhat.com>
1548 Fix c++ compilation issues
1549 Patch from Milosz Derezynski <internalerror@gmail.com>
1551 2007-10-10 Alexander Larsson <alexl@redhat.com>
1553 * programs/gio-monitor-dir.c:
1554 Don't crash if dir monitor not supported.
1556 2007-10-09 Alexander Larsson <alexl@redhat.com>
1559 Add missing G_END_DECLS
1561 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1563 * gio/gfile.c: (g_file_set_display_name),
1564 (g_file_query_settable_attributes),
1565 (g_file_query_writable_namespaces):
1566 Return NULL not FALSE on errors as the return type is a pointer.
1568 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1570 * gio/glocalfile.c: (g_local_file_monitor_file):
1571 Don't call monitor_file on the default interface vtable (which
1572 is NULL) but simply return NULL. The caller, GFile, will create a
1573 polling monitor if NULL is returned.
1575 2007-10-09 Alexander Larsson <alexl@redhat.com>
1579 * gio-unix-2.0.pc.in:
1580 Add gio-unix-2.0.pc if OS_UNIX
1583 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1585 2007-10-09 Alexander Larsson <alexl@redhat.com>
1587 * gio/gunixmounts.[ch]:
1588 Make unix mount monitoring API sane.
1589 Now its just a object with mounts_changed
1590 and mountpoints_changed signals.
1592 * gio/glocaldirectorymonitor.c:
1593 * gio/gunixvolumemonitor.c:
1594 Use new mount monitor api
1596 2007-10-09 Alexander Larsson <alexl@redhat.com>
1598 * gio/gunixmounts.[ch]:
1599 Move guess type into one call for mounts and one for mountpoints
1602 * gio/gunixvolume.c:
1605 2007-10-09 Alexander Larsson <alexl@redhat.com>
1607 * gio/gunixmounts.[ch]:
1608 Remove _ prefix in preparation to make this semi-public
1609 Hide implementation of structs
1611 * gio/glocaldirectorymonitor.c:
1613 * gio/gunixvolume.c:
1614 * gio/gunixvolumemonitor.c:
1615 Update for above API changes
1617 2007-10-08 Alexander Larsson <alexl@redhat.com>
1620 Better polling fallback. This also handles the case where we have
1621 a monitor_file implementation, but it fails.
1623 2007-10-08 Alexander Larsson <alexl@redhat.com>
1627 * gio/gunixmounts.c:
1628 * programs/gio-monitor-dir.c:
1629 * programs/gio-monitor-file.c:
1630 Added cancellable to file monitoring calls.
1631 These are really sync calls and need this.
1633 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1635 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1636 (g_local_vfs_class_init):
1637 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1638 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1640 2007-10-05 Alexander Larsson <alexl@redhat.com>
1642 * gio/gdirectorymonitorprivate.h:
1643 * gio/gfilemonitorprivate.h:
1644 * gio/gdirectorymonitor.h:
1645 * gio/gfilemonitor.h:
1646 Remove *private.h and move to the public API, so that
1647 we can do implementations outside gio (such as in gvfs)
1649 * gio/gdirectorymonitor.c:
1650 * gio/gfilemonitor.c:
1651 * gio/glocaldirectorymonitor.c:
1652 * gio/gpollfilemonitor.c:
1653 * gio/inotify/inotify-helper.c:
1654 * gio/fam/fam-helper.c:
1655 Update to the new header names
1657 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
1659 * gio/gdirectorymonitor.c:
1660 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1663 2007-10-04 Alexander Larsson <alexl@redhat.com>
1665 * gio/glocalfileinfo.c (get_access_rights):
1666 Set CAN_TRASH when we can move the file.
1667 We should really also check for a parent trash dir.
1669 2007-10-04 Alexander Larsson <alexl@redhat.com>
1671 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1672 Add can_trash access attribute
1674 2007-10-04 Alexander Larsson <alexl@redhat.com>
1677 (g_local_file_trash):
1678 Create info file first. This is per-spec and allows
1679 us to actually trash directories.
1681 2007-10-02 Alexander Larsson <alexl@redhat.com>
1683 * gio/gdesktopappinfo.c:
1684 Implement the new mime support code.
1685 Always set app as handling mimetype when being set as default for it
1687 2007-10-01 Alexander Larsson <alexl@redhat.com>
1689 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
1690 Fix up check for xattrs:
1692 2007-10-01 Alexander Larsson <alexl@redhat.com>
1695 (g_app_info_set_as_default_for_extension):
1696 (g_app_info_add_supports_type):
1697 (g_app_info_can_remove_supports_type):
1698 (g_app_info_remove_supports_type):
1699 Make these fail nicely if not implemented
1701 2007-10-01 Paolo Borelli <pborelli@katamail.com>
1703 * gio/glocalfileoutputstream.c:
1704 * gio/glocalfileoutputstream.h:
1709 * programs/gio-save.c:
1710 Add a GFileCreateFlags argument to operations that can create
1713 2007-10-01 Alexander Larsson <alexl@redhat.com>
1715 * gio/gappinfo.[ch]:
1716 * gio/gdesktopappinfo.c:
1717 Add more (stubbed out) mime API needed for nautilus
1719 2007-10-01 Alexander Larsson <alexl@redhat.com>
1722 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
1723 Add g_app_info_set_as_default_for_extension.
1725 * gio/gdesktopappinfo.c:
1726 Dummy for g_app_info_set_as_default_for_extension
1727 Support flags in g_app_info_create_from_commandline
1729 * gio/gwin32appinfo.c:
1731 Update for API changes
1733 * gio/gthemedicon.c:
1734 Properly NULL-terminate list of icon names
1736 2007-09-28 Alexander Larsson <alexl@redhat.com>
1738 * gio/gloadableicon.h:
1739 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
1741 2007-09-28 Alexander Larsson <alexl@redhat.com>
1744 Install headers in $includedir/gio-standalone/
1746 * gio-2.0.pc.in: Added.
1747 * gio-standalone.pc.in: Removed.
1750 Renamed pkg-config file to match glib (for future move)
1751 Update to the new include dir
1754 Add more TODO comments
1756 2007-09-28 Alexander Larsson <alexl@redhat.com>
1758 * gio/gdesktopappinfo.[ch]:
1759 Expose new_from_filename
1760 Add getter for is_hidden and handle it better
1762 2007-09-28 Alexander Larsson <alexl@redhat.com>
1764 * gio/gfileinfo.[ch]:
1765 Rename g_file_size_format_for_display to
1766 g_format_file_size_for_display.
1767 Now it doesn't have the g_file prefix, so we
1768 can later move it to glib.
1770 2007-09-28 Alexander Larsson <alexl@redhat.com>
1772 * gio/gappinfo.[ch]:
1773 Add g_app_info_get_id and g_app_info_get_executable.
1774 Make all getters non-reffing
1775 Make g_app_info_launch take GFile arguments.
1776 Add must_support_uris argument to g_app_info_get_default_for_type.
1778 * gio/gwin32appinfo.c:
1779 Update to GAppInfo api changes
1781 * gio/gdesktopappinfo.c:
1782 Update to GAppInfo api changes
1783 Implement supports_xdg_startup_notify
1785 * gio/gfileicon.c (g_file_icon_get_file):
1786 Make getter non-reffing.
1791 2007-09-27 Alexander Larsson <alexl@redhat.com>
1793 * gio/gfileinfo.[ch]:
1794 Add g_file_size_format_for_display helper
1796 2007-09-27 Alexander Larsson <alexl@redhat.com>
1798 * gio/glocalfileinfo.c:
1799 Set UNIX_GID from gid, not from uid
1801 2007-09-27 Alexander Larsson <alexl@redhat.com>
1804 Add g_file_set_attributes_async
1806 2007-09-27 Alexander Larsson <alexl@redhat.com>
1808 * gio/glocalfile.c (g_local_file_set_display_name):
1809 Fix set_display_name to actually rename to the right place.
1810 Use lstat to look for existing files so we don't overwrite
1813 2007-09-26 Alexander Larsson <alexl@redhat.com>
1816 Add g_file_set_display_name_async()
1818 2007-09-26 Alexander Larsson <alexl@redhat.com>
1821 Add load_partial_contents async calls
1824 Make internal function static
1826 2007-09-26 Alexander Larsson <alexl@redhat.com>
1828 * gio/glocalfileinfo.c:
1829 Correctly detect broken symlinks
1831 2007-09-26 Alexander Larsson <alexl@redhat.com>
1833 * gio/gcancellable.c (g_cancellable_cancel):
1834 Allow cancel on NULL cancellable
1836 2007-09-25 Alexander Larsson <alexl@redhat.com>
1838 * gio/gsimpleasyncresult.c:
1839 Don't allocate g_error manually.
1840 Fixes g_slice/g_new mixup crash
1842 2007-09-25 Alexander Larsson <alexl@redhat.com>
1844 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
1845 Actually set active_backend.
1846 This means the monitor will be cancelled correctly.
1848 2007-09-25 Alexander Larsson <alexl@redhat.com>
1850 * gio/gdirectorymonitor.c:
1851 Set timeout to NULL when destroying
1853 2007-09-25 Alexander Larsson <alexl@redhat.com>
1856 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
1857 that is a better description of the error.
1859 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
1861 * gio/gvfs.c: (g_vfs_get_local):
1862 Make the local vfs variable static. The same instance should
1865 2007-09-24 Alexander Larsson <alexl@redhat.com>
1867 * gio/glocalfileinfo.c:
1868 Pass in actual length read into sniffer, not the length
1871 2007-09-21 Alexander Larsson <alexl@redhat.com>
1873 * gio/gfileenumerator.c:
1876 * gio/gfileinputstream.c:
1877 * gio/gfileoutputstream.c:
1878 * gio/ginputstream.c:
1879 * gio/goutputstream.c:
1880 Don't crash if async callbacks are NULL
1882 2007-09-20 Alexander Larsson <alexl@redhat.com>
1885 Add async enumerate_children method and default
1888 2007-09-20 Alexander Larsson <alexl@redhat.com>
1891 Add g_file_contains_file & g_file_get_relative_path, since they
1892 were needed for nautilus.
1893 Renamed g_file_resolve_relative to g_file_resolve_relative_path
1898 Implement new methods
1900 2007-09-17 Alexander Larsson <alexl@redhat.com>
1903 * gio/gfileinputstream.[ch]:
1904 * gio/gfileoutputstream.[ch]:
1906 * gio/glocalfileenumerator.[ch]:
1907 * gio/glocalfileinfo.[ch]:
1908 * gio/glocalfileinputstream.c:
1909 * gio/glocalfileoutputstream.c:
1910 * gio/gpollfilemonitor.c:
1911 * programs/gio-copy.c:
1912 * programs/gio-info.c:
1913 * programs/gio-move.c:
1914 Rename get_file_info to query_info() to make it clearer
1915 that these are not simple getters, but do i/o.
1917 2007-09-17 Alexander Larsson <alexl@redhat.com>
1919 * gio/gdatainputstream.[ch]:
1920 * gio/test-streams.c:
1921 Use _read_XXX instead of _get_XXX for the i/o calls
1924 2007-09-17 Alexander Larsson <alexl@redhat.com>
1927 Added needed stuff to TODO comment
1929 2007-09-17 Alexander Larsson <alexl@redhat.com>
1931 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
1932 Don't error out removing the backup copy if it doesn't
1935 2007-09-14 Alexander Larsson <alexl@redhat.com>
1937 * programs/Makefile.am:
1938 * programs/gvfs-*.c:
1940 Renamed apps from gvfs-xxx to gio-xxx.
1942 2007-09-14 Alexander Larsson <alexl@redhat.com>
1945 * gio/gfileoutputstream.[ch]:
1946 * gio/glocalfileoutputstream.c:
1947 * programs/gvfs-save.c:
1948 g_file_output_stream_get_etag doesn't do i/o, so remove
1949 cancellation and error.
1951 2007-09-14 Alexander Larsson <alexl@redhat.com>
1954 Add new_etag output to replace_contents functions
1956 2007-09-14 Alexander Larsson <alexl@redhat.com>
1958 * gio/gfileoutputstream.[ch]:
1959 Add async get_file_info and default implementation
1961 2007-09-14 Alexander Larsson <alexl@redhat.com>
1963 * gio/gfileinputstream.c:
1964 Implement fallback wrapper for async get_file_info
1966 2007-09-14 Alexander Larsson <alexl@redhat.com>
1969 Add etag out argument to load_contents
1974 2007-09-14 Alexander Larsson <alexl@redhat.com>
1976 * gio/gcontenttype.c (looks_like_text):
1977 Whitespace like tab, cr and lf do not make the
1980 2007-09-14 Alexander Larsson <alexl@redhat.com>
1982 * gio/gfileinputstream.[ch]:
1983 Add async get_file_info.
1985 2007-09-13 Alexander Larsson <alexl@redhat.com>
1987 * gio/goutputstream.c (g_output_stream_write_all):
1988 Allow NULL for bytes_written
1990 2007-09-13 Alexander Larsson <alexl@redhat.com>
1992 * gio/gmemoryinputstream.[ch]:
1993 Add accessors for data
1995 2007-09-13 Alexander Larsson <alexl@redhat.com>
1997 * gio/gdatainputstream.c (g_data_input_stream_get_until):
1998 Don't crash if length is NULL