1 2007-12-07 Alexander Larsson <alexl@redhat.com>
6 2007-12-06 Alexander Larsson <alexl@redhat.com>
9 Include sys/types.h for dev_t (#501919)
11 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
15 Make abicheck and pltcheck pass.
17 2007-12-05 Alexander Larsson <alexl@redhat.com>
20 * giomodule-priv.h: Added.
21 * glocaldirectorymonitor.c:
22 * glocalfilemonitor.c:
23 * gunionvolumemonitor.c:
25 Actually add the declaration of _g_io_modules_ensure_loaded
27 2007-12-05 Alexander Larsson <alexl@redhat.com>
34 * glocaldirectorymonitor.c:
35 * glocalfilemonitor.c:
36 * gunionvolumemonitor.c:
38 Make g_io_modules_ensure_loaded a private function and
39 don't pass in the dirname. This means we can do magic
40 directory finding in the win32 version.
41 Export the actual load-modules-in-directory code so that
44 2007-12-05 Alexander Larsson <alexl@redhat.com>
46 * gbufferedinputstream.c:
47 * gbufferedoutputstream.c:
50 * gfileenumerator.[ch]:
52 * gfileoutputstream.[ch]:
53 * gfilterinputstream.c:
54 * gfilteroutputstream.c:
57 * glocalfileenumerator.c:
58 * glocalfileinputstream.c:
59 * glocalfileoutputstream.c:
60 * gmemoryinputstream.c:
61 * gmemoryoutputstream.c:
66 * gunixoutputstream.c:
67 Rename all struct members named:
68 read, write, close, truncate, or mount
69 to foo_fn, as these are reserved names
70 and could be defined as macros in libc.
73 2007-12-04 Alexander Larsson <alexl@redhat.com>
76 (g_output_stream_close):
77 Only call flush if non-null.
79 2007-11-30 Dan Winship <danw@gnome.org>
81 * ginputstream.c (g_input_stream_set_pending): Make this take a
82 GError and return a gboolean, and do the "outstanding operation"
83 check (and the "stream is already closed" check) itself.
84 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
86 * goutputstream.c (g_output_stream_set_pending)
87 (g_output_stream_clear_pending): Likewise
89 * gbufferedinputstream.c:
91 * gfileoutputstream.c: Update for that
93 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
94 Like g_simple_async_report_error_in_idle, but takes a GError
95 rather than building one.
97 2007-11-30 Dan Winship <danw@gnome.org>
99 * goutputstream.c: Don't cheat and unset the "pending" flag around
100 inner calls. Instead, call the class method directly rather than
101 the wrapper function that checks "pending"
103 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
105 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
107 2007-12-03 Hans Breuer <hans@breuer.org>
109 [start of port to win32/msvc]
110 * gcancellable.c : HAVE_UNIST_H and _pipe()
111 * gcontenttype.c : only include <dirent.h> in the UNIX branch
112 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
113 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
115 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
116 * glocalvfs.c : use HAVE_PWD_H
117 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
118 * makefile.msc : new file (maybe later converted to makefile.msc.in)
119 * Makefile.am : added to EXTRA_DIST
121 2007-12-03 Matthias Clasen <mclasen@redhat.com>
123 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
126 2007-12-03 Alexander Larsson <alexl@redhat.com>
129 Handle OSX style xattrs API (#500506)
131 2007-12-03 Alexander Larsson <alexl@redhat.com>
135 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
137 2007-12-02 A. Walton <awalton@svn.gnome.org>
141 Documentation accuracy fixes.
143 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
145 * gioenumtypes.c.template: Fix typo.
147 2007-12-01 Matthias Clasen <mclasen@redhat.com>
149 * gioenumtypes.c.template: Make threadsafe get_type() functions.
151 2007-12-01 Matthias Clasen <mclasen@redhat.com>
153 * gdirectorymonitor.c:
154 * gfilemonitor.c: Add properties
156 * gbufferedoutputstream.c: Don't mark buffer-size property
159 2007-12-01 Matthias Clasen <mclasen@redhat.com>
161 * gbufferedoutputstream.c: Add auto-grow property.
163 2007-11-30 Matthias Clasen <mclasen@redhat.com>
165 * *.c: Unify the capitalization of section headings.
167 2007-11-30 Matthias Clasen <mclasen@redhat.com>
169 * gmountoperation.c: Add properties
171 * gdatainputstream.c: Turn byte-order and newline-type into
174 2007-11-30 Matthias Clasen <mclasen@redhat.com>
176 * gioenumtypes.[hc].template: Templates for enum registration
178 * Makefile.am: Generate gioenumtypes.[hc]
180 * gio.h: Include gioenumtypes.h
182 * gfile.h: Add some explicit nicks.
184 * gio.symbols: Add new symbols
186 * pltcheck.sh: Adjust
188 2007-11-30 Matthias Clasen <mclasen@redhat.com>
190 * *.c: Explain etags and link to the explanation
192 2007-11-29 Matthias Clasen <mclasen@redhat.com>
194 * *.c: Explain I/O priority.
196 * *.c: More coding style fixes.
198 2007-11-29 Matthias Clasen <mclasen@redhat.com>
200 * gasyncresult.c: Add another paragraph to the intro,
201 adjust coding style of example.
203 2007-11-29 A. Walton <awalton@svn.gnome.org>
206 Fixes unknown meaning in GAppLaunchContext docs.
208 Clarify asynchronous ops.
213 Provides missing gtk-doc section, fixes API docs slighly.
214 * gsimpleasyncresult.c:
215 Fill in missing info in docs.
216 * gunixinputstream.c:
217 * gunixoutputstream.c:
218 Be more expressive in short description.
220 Remove gtk-doc stubs for non-public API.
222 2007-11-28 Matthias Clasen <mclasen@redhat.com>
224 * *.c: Coding style fixups
226 2007-11-28 Matthias Clasen <mclasen@redhat.com>
228 * inotify/inotify-helper.c: Don't export the lock from libgio.
230 2007-11-28 Matthias Clasen <mclasen@redhat.com>
233 * abicheck.sh: Fix copy-and-paste leftovers
235 2007-11-28 Matthias Clasen <mclasen@redhat.com>
237 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
239 2007-11-28 Alexander Larsson <alexl@redhat.com>
243 Removed unnecessary file
245 * gdesktopappinfo.[ch]:
248 * glocaldirectorymonitor.[ch]:
250 * glocalfileenumerator.[ch]:
251 * glocalfileinputstream.[ch]:
252 * glocalfilemonitor.[ch]:
253 * glocalfileoutputstream.[ch]:
255 * gnativevolumemonitor.c:
256 * gpollfilemonitor.[ch]:
257 * gunionvolumemonitor.[ch]:
260 * gunixvolumemonitor.[ch]:
263 * inotify/ginotifydirectorymonitor.[ch]:
264 * inotify/ginotifyfilemonitor.[ch]:
265 * inotify/inotify-helper.c:
266 Append _ to all internal functions
270 Export symbols needed for modules
272 2007-11-28 Alexander Larsson <alexl@redhat.com>
275 * abicheck.sh: Added.
276 * makegioalias.pl: Added.
277 * pltcheck.sh: Added.
278 * gio.symbols: Added.
281 Initial work on adding symbol handling.
284 Correct ifdef guard name
287 * inotify/Makefile.am:
288 * xdgmime/Makefile.am:
289 Include toplevel Makefile.decl
291 2007-11-27 Matthias Clasen <mclasen@redhat.com>
293 * gcontenttype.c: Move doc comments to the unix section.
295 * *.[hc]: More trivial doc corrections.
297 2007-11-27 Matthias Clasen <mclasen@redhat.com>
299 * gpollfilemonitor.c:
308 * gdatainputstream.c:
309 * gdatainputstream.h:
310 * gdataoutputstream.c:
311 * gdataoutputstream.h:
312 * gfileinfo.h: Doc cleanups
314 2007-11-28 Andre Klapper <a9016009@gmx.de>
316 * gdesktopappinfo.c: Fix a typo.
318 2007-11-27 Andre Klapper <a9016009@gmx.de>
320 * glocalfileoutputstream.c: Fix a typo.
322 2007-11-27 Alexander Larsson <alexl@redhat.com>
325 Don't include removed headers
327 2007-11-27 Alexander Larsson <alexl@redhat.com>
330 * gsocketinputstream.[ch]: Removed.
331 * gsocketoutputstream.[ch]: Removed.
332 * gunixinputstream.[ch]: Added.
333 * gunixoutputstream.[ch]: Added.
334 Renamed GSocket*Stream to GUnix*Stream and made
335 it unix-only, since its not really only for sockets
336 and it only works on unix (but is highly useful there).
338 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
344 * gbufferedinputstream.c:
345 * gbufferedinputstream.h:
346 * gbufferedoutputstream.c:
347 * gbufferedoutputstream.h:
351 * gdatainputstream.c:
352 * gdatainputstream.h:
353 * gdataoutputstream.c:
354 * gdataoutputstream.h:
355 * gdirectorymonitor.c:
356 * gdirectorymonitor.h:
369 * gfileinputstream.c:
370 * gfileinputstream.h:
373 * gfilenamecompleter.c:
374 * gfilenamecompleter.h:
375 * gfileoutputstream.c:
376 * gfileoutputstream.h:
377 * gfilterinputstream.c:
378 * gfilterinputstream.h:
379 * gfilteroutputstream.c:
380 * gfilteroutputstream.h:
393 * glocalfileoutputstream.c:
394 * gmemoryinputstream.c:
395 * gmemoryinputstream.h:
396 * gmemoryoutputstream.c:
397 * gmemoryoutputstream.h:
402 * gpollfilemonitor.c:
405 * gsimpleasyncresult.c:
406 * gsimpleasyncresult.h:
407 * gsocketinputstream.c:
408 * gsocketinputstream.h:
409 * gsocketoutputstream.c:
410 * gsocketoutputstream.h:
417 * gunixvolumemonitor.c:
426 Bumps documentation to 93% symbol coverage, touching most
427 of the public files. Fixes broken function documentation prototypes.
428 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
429 gtk-doc headers in private files.
431 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
433 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
434 (g_buffered_input_stream_read_byte):
435 * gbufferedinputstream.h:
436 New functions for efficient access to buffer and simple single byte
439 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
440 (g_data_input_stream_read_until):
441 * gdatainputstream.h:
442 Use peek_buffer to avoid memcpy in scan_for_newline, implement
443 read_until with multiple stop chars.
445 2007-11-27 Alexander Larsson <alexl@redhat.com>
449 * inotify/Makefile.am:
450 Use the user-specified giomoduledir
452 2007-11-27 Alexander Larsson <alexl@redhat.com>
456 Add catch-all gio.h header
457 Don't install gdummyfile.h
459 2007-11-26 Alexander Larsson <alexl@redhat.com>
461 * Makefile.am (gioinclude_HEADERS):
462 Remove trailing whitespace
464 2007-11-26 Alexander Larsson <alexl@redhat.com>
466 Merge gio-standalone into glib
468 2007-11-25 Christian Kellner <gicmo@gnome.org>
470 * gio/goutputstream.c:
471 Fix small mistake in the docs.
473 2007-11-21 Christian Persch <chpe@gnome.org>
475 * gio/glocalfile.c: (g_local_file_trash):
476 Convert filenames to UTF-8 for GError.
477 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
478 as per xdg base dir spec.
480 2007-11-21 Christian Persch <chpe@gnome.org>
482 * gio/gdesktopappinfo.c:
483 Use that g_key_file_to_data cannot fail.
485 Use stock defines for the key file group and key names.
488 2007-11-21 Alexander Larsson <alexl@redhat.com>
491 (copy_stream_with_progress):
492 Make sure we do a final progress callback with
495 2007-11-21 Alexander Larsson <alexl@redhat.com>
498 Export g_file_copy_attributes
499 Remove padding as its not needed for interfaces
501 2007-11-20 Alexander Larsson <alexl@redhat.com>
506 Add G_IO_ERROR_WOULD_MERGE for
507 copy/move dir on dir with overwrite.
509 2007-11-20 Alexander Larsson <alexl@redhat.com>
512 * gio/glocalfileinfo.c:
513 Add COPY_NAME (this is an optional
514 non-modified utf8 version of the name) that
517 2007-11-20 Alexander Larsson <alexl@redhat.com>
519 * gio/glocalfileenumerator.c:
520 Report errors as GIOError, not GFileError
522 2007-11-16 Alexander Larsson <alexl@redhat.com>
524 * gio/glocalfileoutputstream.c:
525 * gio/gwin32appinfo.c:
526 Fix typos in strings.
527 Patch from Luca Ferretti <elle.uca@libero.it>
529 2007-11-15 Alexander Larsson <alexl@redhat.com>
532 Post release version bump
534 === gio-standalone 0.1.2 ===
536 2007-11-15 Alexander Larsson <alexl@redhat.com>
538 * docs/reference/gio/Makefile.am:
539 Fix up distcheck by removing weird
545 2007-11-14 Alexander Larsson <alexl@redhat.com>
547 * gio/gdesktopappinfo.c:
548 * gio/glocaldirectorymonitor.c:
550 * gio/glocalfileinfo.c:
551 * gio/inotify/inotify-sub.c:
552 * programs/gio-cat.c:
553 * programs/gio-copy.c:
554 * programs/gio-info.c:
556 * programs/gio-monitor-dir.c:
557 * programs/gio-monitor-file.c:
558 * programs/gio-mount.c:
559 * programs/gio-move.c:
561 * programs/gio-save.c:
562 * programs/gio-trash.c:
563 Leak fixes from Kjartan Maraas
565 2007-11-14 Alexander Larsson <alexl@redhat.com>
567 * gio/fam/fam-helper.c:
569 * gio/glocalfileinfo.c:
573 * gio/inotify/inotify-diag.c:
574 * gio/inotify/inotify-kernel.c:
575 Various code cleanups from Kjartan Maraas
577 2007-11-14 Alexander Larsson <alexl@redhat.com>
579 * gio/gioscheduler.c:
581 Set up threadpool so that we cache 2 unused
582 idle threads for at 15 secs. This means we
583 will reuse thread-local data (like dbus connections)
586 2007-11-14 Alexander Larsson <alexl@redhat.com>
588 * gio/fam/fam-helper.c:
589 * gio/fam/gfamdirectorymonitor.c:
590 * gio/fam/gfamfilemonitor.c:
592 * gio/gcontenttype.c:
593 * gio/gdatainputstream.c:
594 * gio/gdataoutputstream.c:
598 * gio/gfileattribute.h:
599 * gio/gfileenumerator.c:
601 * gio/ginputstream.c:
604 * gio/glocalfileinfo.c:
605 * gio/goutputstream.c:
606 * gio/gpollfilemonitor.c:
607 * gio/gsimpleasyncresult.c:
610 * gio/inotify/ginotifydirectorymonitor.c:
611 * gio/inotify/ginotifyfilemonitor.c:
612 * gio/inotify/inotify-diag.c:
613 * gio/inotify/inotify-kernel.c:
614 * gio/inotify/inotify-path.c:
616 * gio/test-streams.c:
617 * programs/gio-info.c:
618 * programs/gio-monitor-dir.c:
619 * programs/gio-monitor-file.c:
620 Various code cleanups from Kjartan Maraas
622 2007-11-13 Alexander Larsson <alexl@redhat.com>
625 Handle the uri-scheme calls for dummy files
627 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
629 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
630 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
631 to avoid clash with the C++ keyword.
633 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
635 * gio/glocalfileinfo.c: Build fix, added missing semicolon
636 to an ifdef'ed call to getpwuid() in lookup_uid_data().
638 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
640 * gio/glocaldirectorymonitor.c:
641 * gio/glocalfilemonitor.c:
642 * gio/gunionvolumemonitor.c:
643 Don't use g_once_init_*() for initializations that could fail and
644 could leave the initialization variable set to 0 but use GOnce.
645 This prevents a deadlock on the second call when trying to create
646 a monitor and no monitor type is available. Thanks to Sven Herzberg
649 2007-11-11 Sven Herzberg <sven@imendio.com>
651 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
652 #ifdef (make it work on MacOS X again)
654 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
656 Fixes Changelog for last two commits (sorry guys).
658 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
660 * gio/gbufferedinputstream.c:
661 * gio/gdatainputstream.c:
663 * gio/gfileoutputstream.c:
664 * gio/gfilterinputstream.c:
665 * gio/glocalfileinputstream.c:
668 More consistency fixes in g*stream.c files.
669 Significant clean of gfile's documentation, filling in of
670 asynchronous operations documentation.
672 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
674 * gio/gasyncresult.c:
675 * gio/gbufferedinputstream.c:
676 * gio/gbufferedoutputstream.c:
677 * gio/gcancellable.c:
678 * gio/gcontenttype.c:
679 * gio/gdatainputstream.c:
680 * gio/gdataoutputstream.c:
681 * gio/gdesktopappinfo.c:
684 * gio/gfileattribute.c:
685 * gio/gio/gfileenumerator.c:
687 * gio/gfileinputstream.c:
688 * gio/gfilemonitor.c:
689 * gio/gfileoutputstream.c:
690 * gio/ginputstream.c:
692 * gio/gioscheduler.c:
693 * gio/gloadableicon.c:
694 * gio/glocalfileoutputstream.c:
695 * gio/gmemoryoutputstream.c:
696 * gio/gmountoperation.c:
697 * gio/goutputstream.c:
699 * gio/gsimpleasyncresult.c:
700 * gio/gunionvolumemonitor.c:
706 * gio/gvolumemonitor.c:
707 Updated documentation stubs, working towards consistency and
710 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
712 * gio/gmemoryoutputstream.c:
713 * gio/gmemoryoutputstream.h:
714 Change g_memory_output_stream_set_free_on_close() to
715 g_memory_output_stream_set_free_data() as this makes more sense and
716 is more consistent with GMemoryInputStream.
718 2007-11-07 Alexander Larsson <alexl@redhat.com>
725 Change how we find the default vfs so that
726 we can handle a gvfs failing to init
728 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
730 * gio/gbufferedoutputstream.c:
731 * gio/gdatainputstream.c:
732 * gio/gdataoutputstream.c:
733 * gio/gfileinputstream.c:
734 * gio/gfileoutputstream.c:
735 * gio/gfilterinputstream.c:
736 * gio/gfilteroutputstream.c:
737 * gio/ginputstream.c:
738 * gio/gmemoryinputstream.c:
739 * gio/gmemoryoutputstream.c:
740 * gio/goutputstream.c:
741 * gio/gsimpleasyncresult.c:
742 * gio/gsocketinputstream.c:
743 * gio/gsocketoutputstream.c:
744 Add guards to the remaining public functions, add a TODO for
745 an unimplemented function and remove some useless guards.
747 2007-11-07 Alexander Larsson <alexl@redhat.com>
750 Autoconf checks for the various types of
751 getpwuid_r and getgrgid_r
753 * gio/glocalfileinfo.c:
754 Use the autoconf checks from above
756 2007-11-07 Alexander Larsson <alexl@redhat.com>
759 (g_local_file_query_filesystem_info):
760 Some fixes for the statvfs case
762 2007-11-07 Alexander Larsson <alexl@redhat.com>
765 (g_local_file_query_filesystem_info):
766 Pick the "best" of statfs / statvfs for the system
767 if both are availible.
769 2007-11-07 Alexander Larsson <alexl@redhat.com>
771 Solaris fixes from Halton.Huo@Sun.COM:
778 * gio/glocalfileinfo.c:
779 Fix for solaris definition of getpwuid_r
781 * gio/test-streams.c:
782 Use G_GNUC_PRETTY_FUNCTION
784 2007-11-07 Alexander Larsson <alexl@redhat.com>
786 * gio/gdesktopappinfo.c:
787 (update_default_list):
788 Remove double semicolon.
789 Patch from Jens Granseuer
791 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
793 * docs/reference/gio/gio-sections.txt:
794 * gio/gbufferedinputstream.c:
795 * gio/gbufferedinputstream.h:
796 * gio/gdatainputstream.c:
797 * gio/gfileenumerator.c:
798 * gio/gioscheduler.c:
799 * gio/gunionvolumemonitor.c:
801 * programs/gio-save.c:
802 Fix typo: availible -> available. Unfortuntely this breaks API
803 and ABI as g_buffered_input_stream_get_available() was renamed.
806 * gio/gbufferedinputstream.c:
807 Add guards for public functions.
809 2007-11-06 Ross Burton <ross@openedhand.com>
811 * docs/reference/gio/Makefile.am:
812 Fix invalid += usage which automake 1.10 doesn't like.
814 2007-11-06 Alexander Larsson <alexl@redhat.com>
817 (g_app_launch_context_class_init):
820 Patch from Ross Burton
822 2007-11-06 Alexander Larsson <alexl@redhat.com>
825 Post release version bump
827 === gio-standalone 0.1.1 ===
829 2007-11-06 Alexander Larsson <alexl@redhat.com>
832 Bump version to 0.1.1
834 * gio/gsimpleasyncresult.c:
835 (g_simple_async_result_set_from_error):
836 Remove bogus g_return_if_fail
838 2007-11-06 Alexander Larsson <alexl@redhat.com>
841 The name is gio-standalone
844 Add top src/builddir to includedir
846 2007-11-06 Alexander Larsson <alexl@redhat.com>
848 * docs/reference/gio/gio-sections.txt:
850 * gio/gbufferedinputstream.c:
851 * gio/gbufferedoutputstream.c:
852 * gio/gcancellable.c:
853 * gio/gdatainputstream.h:
854 * gio/gdataoutputstream.c:
855 * gio/gdataoutputstream.h:
856 * gio/gdirectorymonitor.c:
858 * gio/gfileattribute.c:
859 * gio/gfileattribute.h:
860 * gio/gfileenumerator.c:
861 * gio/gfileenumerator.h:
864 * gio/gfileinputstream.h:
865 * gio/gfilemonitor.c:
866 * gio/gfileoutputstream.h:
867 * gio/glocalfilemonitor.h:
868 * gio/glocalfileoutputstream.h:
869 * gio/gmemoryinputstream.c:
870 * gio/gmemoryoutputstream.c:
871 * gio/gmountoperation.c:
872 * gio/goutputstream.c:
873 * gio/goutputstream.h:
875 * gio/gsimpleasyncresult.c:
879 * gio/inotify/inotify-helper.c:
882 Patch from Ross Burton
884 2007-11-06 Alexander Larsson <alexl@redhat.com>
886 * gio/gfilenamecompleter.c:
887 (g_filename_completer_get_completions):
891 Remove unused function
893 Patches from Ross Burton
895 2007-11-06 Alexander Larsson <alexl@redhat.com>
900 Padding not needed for interfaces
902 2007-11-06 Alexander Larsson <alexl@redhat.com>
904 * gio/gfilemonitor.c:
908 Make giotypes.h an internal file
911 * gio/gbufferedinputstream.h:
912 * gio/gbufferedoutputstream.h:
913 * gio/gcancellable.h:
914 * gio/gdatainputstream.h:
915 * gio/gdataoutputstream.h:
916 * gio/gdirectorymonitor.c:
917 * gio/gdirectorymonitor.h:
922 * gio/gfileattribute.h:
923 * gio/gfileenumerator.h:
928 * gio/gfilemonitor.c:
929 * gio/gfilemonitor.h:
930 * gio/gfilenamecompleter.c:
931 * gio/gfilenamecompleter.h:
932 * gio/gfilterinputstream.h:
933 * gio/gfilteroutputstream.h:
934 * gio/ginputstream.h:
935 * gio/gmemoryinputstream.h:
936 * gio/gmemoryoutputstream.h:
937 * gio/gmountoperation.c:
938 * gio/gmountoperation.h:
939 * gio/gnativevolumemonitor.c:
940 * gio/goutputstream.h:
943 * gio/gsimpleasyncresult.c:
944 * gio/gsimpleasyncresult.h:
945 * gio/gsocketinputstream.h:
946 * gio/gsocketoutputstream.h:
952 * gio/gvolumemonitor.c:
953 * gio/gvolumemonitor.h:
954 Add padding in classes where it seems useful
955 Don't include giotypes.h from public headers
956 Move in Class definitions into c file where possible
961 2007-11-06 Alexander Larsson <alexl@redhat.com>
963 * docs/reference/gio/gio-docs.xml:
964 Better structure for API docs
966 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
969 * gio/gloadableicon.c:
970 * gio/gsimpleasyncresult.c:
972 Add some more guards to public functions. Only files missing are now
975 2007-11-06 Alexander Larsson <alexl@redhat.com>
977 * docs/reference/gio/gio-docs.xml:
978 Remove old files, add missing ones
980 2007-11-06 Alexander Larsson <alexl@redhat.com>
982 * docs/reference/gio/gio-sections.txt:
985 Hide implementation classes
987 * gio/gdriveprivate.h:
988 * gio/gvolumeprivate.h:
989 Remove non-existing function declarations
991 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
994 Fix compilation warnings and add guards to the new functions.
996 * gio/gasyncresult.c:
998 Add guards to the public functions.
1001 Implement get_path().
1003 2007-11-06 Alexander Larsson <alexl@redhat.com>
1005 * gio/gfilenamecompleter.c:
1006 Make g_filename_completer_get_completions
1007 return char ** instead of GList for
1010 * docs/reference/gio/gio-docs.xml:
1011 * docs/reference/gio/gio-sections.txt:
1013 * gio/gasyncresult.c:
1014 * gio/gbufferedinputstream.c:
1015 * gio/gbufferedoutputstream.c:
1016 * gio/gcancellable.c:
1017 * gio/gcontenttype.c:
1018 * gio/gdatainputstream.c:
1019 * gio/gdataoutputstream.c:
1020 * gio/gdesktopappinfo.c:
1021 * gio/gdirectorymonitor.c:
1025 * gio/gfileattribute.c:
1026 * gio/gfileenumerator.c:
1029 * gio/gfileinputstream.c:
1030 * gio/gfilemonitor.c:
1031 * gio/gfilenamecompleter.c:
1032 * gio/gfilenamecompleter.h:
1033 * gio/gfileoutputstream.c:
1034 * gio/gfilterinputstream.c:
1036 * gio/ginputstream.c:
1038 * gio/gioscheduler.c:
1039 * gio/gloadableicon.c:
1040 * gio/glocaldirectorymonitor.c:
1042 * gio/glocalfileinputstream.c:
1043 * gio/glocalfilemonitor.c:
1044 * gio/glocalfileoutputstream.c:
1046 * gio/gmemoryinputstream.c:
1047 * gio/gmemoryoutputstream.c:
1048 * gio/gmountoperation.c:
1049 * gio/goutputstream.c:
1050 * gio/gpollfilemonitor.c:
1052 * gio/gsimpleasyncresult.c:
1053 * gio/gsocketinputstream.c:
1054 * gio/gsocketoutputstream.c:
1055 * gio/gthemedicon.c:
1056 * gio/gunionvolumemonitor.c:
1058 * gio/gunixmounts.c:
1059 * gio/gunixvolume.c:
1060 * gio/gunixvolumemonitor.c:
1064 * gio/gvolumemonitor.c:
1065 * gio/gwin32appinfo.c:
1066 Add (mostly stub) doc strings to public functions.
1067 Patch from Andrew Walton (awalton@gmail.com)
1069 2007-11-06 Alexander Larsson <alexl@redhat.com>
1071 * gio/gappinfo.[ch]:
1072 Added GAppLaunchContext object and pass that to launch.
1073 This allows simple implementation of both
1074 launch-on-screen and startup notification via a gtk+
1075 subclass of GAppLaunchContext
1077 * gio/gdesktopappinfo.c:
1078 Implement GAppLaunchContext API
1080 * gio/gwin32appinfo.c:
1083 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1085 * gio/gmountoperation.c:
1086 Add some guards to GMountOperation's public functions.
1088 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1092 * gio/gcancellable.c:
1093 * gio/gdirectorymonitor.c:
1095 * gio/gfileenumerator.c:
1096 * gio/gfilemonitor.c:,
1097 * gio/gfilenamecompleter.c:
1100 * gio/gioscheduler.c:
1104 * gio/gvolumemonitor.c:
1105 Add even more guards to various public functions.
1107 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1110 Add guards to the public functions of GAppInfo.
1112 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1114 * gio/gcontenttype.c:
1115 Add some more guards for public functions.
1117 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1119 * gio/fam/fam-module.c:
1120 * gio/fam/gfamdirectorymonitor.c:
1121 * gio/fam/gfamdirectorymonitor.h:
1122 * gio/fam/gfamfilemonitor.c:
1123 * gio/fam/gfamfilemonitor.h:
1124 * gio/inotify/ginotifydirectorymonitor.c:
1125 * gio/inotify/ginotifydirectorymonitor.h:
1126 * gio/inotify/ginotifyfilemonitor.c:
1127 * gio/inotify/ginotifyfilemonitor.h:
1128 Add proper copyright information and remove an unused variable
1129 in the GInotifyFileMonitor constructor.
1131 * gio/gcancellable.c:
1132 Add a guard for a public function and an assertion to prevent
1133 an undefined program state.
1135 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1137 * gio/gfileattribute.c:
1138 Don't run into an assertion if the given attribute value is NULL
1139 in g_file_attribute_value_get_*() but instead return a fallback
1140 value that makes sense in most situations. Passing them a attribute
1141 value with the wrong type will still run into an assertion.
1143 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1145 * gio/gfileattribute.c:
1147 Add even more guards to the public functions. Also fix the refcounting
1148 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1149 let g_file_info_list_attributes() filter the attributes by namespace
1150 instead of simply ignoring the namespace parameter.
1152 2007-11-03 Sven Herzberg <sven@imendio.com>
1154 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1155 (This makes gio work on MacOS X again)
1157 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1160 Build the gio subdirectory before the docs. Otherwise the build will
1163 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1164 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1165 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1166 Add guards to the public functions.
1168 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1170 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1171 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1172 to prevent a compiler warning.
1174 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1175 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1176 return something in the non-void function find_topdir_for().
1178 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1185 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1187 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1188 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1189 * gwin32appinfo.c (g_win32_app_info_launch):
1190 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1191 envp_for_startup_id, g_desktop_app_info_launch,
1192 g_desktop_app_info_launch_uris):
1194 Give an opaque 'startup_id' string instead of 'envp'.
1195 Support empty file lists for launching new windows.
1196 Fix infinite recursion bug when launching URIs.
1198 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1201 Add guard to the new g_file_get_uri_scheme() function.
1203 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1206 Convert a g_return_val_if_fail() to setting the GError instead as
1207 otherwise applications have to verify the parameter before otherwise
1208 and the parameter might come directly from the user.
1210 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1212 * gio/inotify/ginotify*.[ch]:
1213 Add missing copyright information.
1215 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1218 Add guards in the beginning of public functions to check for valid
1219 parameters and fix a bug in copy_stream_with_progress() that could've
1220 caused writing less bytes than reading.
1221 * gio/glocalfileinfo.c:
1222 Check for a NULL parameter and set the GError accordingly then.
1223 * gio/goutputstream.c:
1224 Fix the same bug as in gfile.c that could've caused writing less bytes
1225 than reading in g_output_stream_real_splice().
1227 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1230 Use the correct gvolumeprivate.h naming
1232 2007-11-01 Christian Kellner <gicmo@gnome.org>
1235 Remove leftover "$(daemon_sources)" entry.
1237 2007-11-01 Christian Kellner <gicmo@gnome.org>
1242 Add copyright information to source files.
1244 2007-11-01 Alexander Larsson <alexl@redhat.com>
1248 Add g_file_get_uri_scheme
1250 2007-11-01 Alexander Larsson <alexl@redhat.com>
1253 * gio/gdesktopappinfo.c:
1254 * gio/gwin32appinfo.c:
1255 Add g_app_info_get_default_for_uri_scheme.
1257 2007-11-01 Alexander Larsson <alexl@redhat.com>
1260 Correct filename for gdriveprivate.h
1262 2007-10-31 Alexander Larsson <alexl@redhat.com>
1265 Rename id:value to id:file
1268 * gio/glocalfileinfo.c:
1271 2007-10-31 Alexander Larsson <alexl@redhat.com>
1273 * gio/gunixvolume.c:
1275 Remove g_volume_get_platform_id, as thats not
1276 needed with the simpler union volume monitor
1278 2007-10-31 Alexander Larsson <alexl@redhat.com>
1281 * gio/guniondrive.[ch]: Removed.
1282 * gio/gunionvolume.[ch]: Removed.
1283 Remove GUnionDrive/Volume
1285 * gio/gunionvolumemonitor.c:
1286 Simplify union volume monitor, now we
1287 only have one native volume monitor and
1288 we use the actual volumes/drives from the
1289 child monitors instead of wrapping them
1291 * gio/gnativevolumemonitor.[ch]:
1292 Base class for native volume monitors.
1293 Includes priority and get_volume_for_mountpoint
1296 Add g_file_find_enclosing_volume
1299 Remove volume name fs attribute
1300 Add readonly fs attribute
1303 Implement readonly attribute
1304 remove volume name attribute
1305 Implement find_enclosing volume
1307 * gio/gunixmounts.c:
1308 Add a volume for "/".
1310 * gio/gunixvolume.[ch]:
1311 Set better name for /
1313 * gio/gunixvolumemonitor.[ch]:
1314 Derive from GNativeVolumeMonitor
1315 Implement get_volume_for_mountpoint
1318 GVolume typedef moved to gfile.h
1320 * gio/gvolumeprivate.h:
1321 Add g_volume_get_for_mount_path
1323 2007-10-31 Alexander Larsson <alexl@redhat.com>
1325 * gio/gunixmounts.[ch]:
1326 Add cache info to unix mount listers
1327 Make getmntent use threadsafe
1328 Add is_system_internal attribute for GUnixMount
1330 * gio/gunixvolume.c:
1331 (g_unix_volume_new):
1332 Use is_system_internal instead of own code
1334 * gio/glocaldirectorymonitor.c:
1335 * gio/gunixvolumemonitor.c:
1336 Update to new gunixmounts API
1341 2007-10-30 Alexander Larsson <alexl@redhat.com>
1344 Add volume name fsinfo attribute
1347 Read volume name info
1349 * gio/gunionvolumemonitor.c:
1350 Fix infinite loops when finalizing a union volume monitor
1352 2007-10-30 Alexander Larsson <alexl@redhat.com>
1354 * gio/goutputstream.[ch]:
1355 Add splice() with default implementation
1357 * gio/gsocketoutputstream.c:
1358 (g_socket_output_stream_write):
1359 Return error on cancellation correctly.
1361 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1363 * gio/glocalfile.c (g_local_file_trash):
1364 Do not leak a string.
1366 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1368 * gio/gfile.c (g_file_load_contents):
1369 Unref the stream after closing it.
1371 2007-10-25 Alexander Larsson <alexl@redhat.com>
1373 * gio/gioscheduler.h:
1376 2007-10-25 Alexander Larsson <alexl@redhat.com>
1380 Add g_file_has_uri_scheme and implement for local files
1382 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1384 * gio/gdesktopappinfo.c: do not leak a string.
1386 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1388 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1389 (g_local_directory_monitor_new):
1390 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1391 (g_local_file_monitor_new):
1392 Only look for the monitor type that should be used the first time
1393 and use g_qsort_with_data() instead of our own bubble sort
1396 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1399 * gio/fam/Makefile.am:
1400 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1401 * gio/fam/fam-helper.h:
1402 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1403 * gio/fam/gfamdirectorymonitor.c:
1404 * gio/fam/gfamdirectorymonitor.h:
1405 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1406 * gio/fam/gfamfilemonitor.h:
1407 * gio/glocaldirectorymonitor.c:
1408 * gio/glocaldirectorymonitor.h:
1409 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1410 * gio/glocalfilemonitor.h:
1411 * gio/inotify/Makefile.am:
1412 * gio/inotify/ginotifydirectorymonitor.c:
1413 * gio/inotify/ginotifydirectorymonitor.h:
1414 * gio/inotify/ginotifyfilemonitor.c:
1415 * gio/inotify/ginotifyfilemonitor.h:
1416 Implement the FAM and Inotify monitors as
1417 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1418 their own GIO module. GLocal(Directory|File)Monitor will use the
1419 monitor with the highest rank that is supported on that machine.
1421 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1424 Change GIO module dir to $(libdir)/gio/modules and change
1425 the log domain from GVFS to GIO. Also only export symbols starting
1426 with g_ in the resulting library.
1427 * gio/test-streams.c: (main):
1428 Set log handler for the GIO log domain.
1430 2007-10-22 Alexander Larsson <alexl@redhat.com>
1432 * gio/gfilenamecompleter.[ch]:
1433 Add g_filename_completer_set_dirs_only
1435 2007-10-22 Alexander Larsson <alexl@redhat.com>
1438 * gio/gurifuncs.[ch]:
1439 Add some simple URI helpers
1441 * gio/gfilenamecompleter.[ch]:
1442 Added object for filename (parse name actually) completion
1445 Handle ~ in parse names
1447 2007-10-17 Alexander Larsson <alexl@redhat.com>
1450 * gio/glocalfileinfo.c:
1451 Add and implement id:value attribute
1453 2007-10-17 Alexander Larsson <alexl@redhat.com>
1456 * gio/guniondrive.c:
1458 Add and implement g_drive_has_volumes
1460 2007-10-17 Alexander Larsson <alexl@redhat.com>
1463 * gio/glocalfileinfo.[ch]:
1464 Add unix:is_mountpoint and implement for local files
1466 2007-10-16 Alexander Larsson <alexl@redhat.com>
1468 * gio/gunionvolumemonitor.c:
1469 (g_union_volume_monitor_init):
1470 Fix up the unix type getting so that it works with gcc
1472 2007-10-12 Alexander Larsson <alexl@redhat.com>
1475 * gio/glocalfileinfo.c:
1476 Add thumbnail:failed to file info
1478 2007-10-12 Richard Hult <richard@imendio.com>
1480 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1481 optimizing away the get_type call (happens with some gcc versions,
1482 like the one shipped with OS X 10.4).
1484 2007-10-12 Alexander Larsson <alexl@redhat.com>
1486 * gio/glocalfileinfo.c:
1487 (_g_local_file_info_set_attribute):
1488 Fix build if not HAVE_XATTR
1489 Patch from Milosz Derezynski <internalerror@gmail.com>
1491 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1493 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1494 around for review, otherwise I would have asked you before
1497 2007-10-11 Alexander Larsson <alexl@redhat.com>
1500 Add thumbnail:path attribute
1502 * gio/glocalfileinfo.c:
1503 Implement thumbnail:path for local files
1505 2007-10-11 Alexander Larsson <alexl@redhat.com>
1507 * gio/glocalfileinfo.c:
1508 (_g_local_file_info_get):
1509 Avoid duplicate icon names
1511 2007-10-11 Alexander Larsson <alexl@redhat.com>
1513 * gio/gthemedicon.[ch]:
1514 Change g_themed_icon_get_names return type to const
1516 2007-10-10 Alexander Larsson <alexl@redhat.com>
1518 * gio/glocalfileinfo.c:
1519 Don't reference freed memory
1521 2007-10-10 Alexander Larsson <alexl@redhat.com>
1523 * gio/gfileattribute.c:
1526 * gio/glocalfileinfo.c:
1529 2007-10-10 Alexander Larsson <alexl@redhat.com>
1532 Check for NULL icons
1534 * gio/gfileattribute.c:
1535 Don't dup when getting objects (same as for string attributes)
1537 * gio/gicon.c (g_icon_equal):
1538 Safely handle NULLs in equal
1540 2007-10-10 Alexander Larsson <alexl@redhat.com>
1543 Fix c++ compilation issues
1544 Patch from Milosz Derezynski <internalerror@gmail.com>
1546 2007-10-10 Alexander Larsson <alexl@redhat.com>
1548 * programs/gio-monitor-dir.c:
1549 Don't crash if dir monitor not supported.
1551 2007-10-09 Alexander Larsson <alexl@redhat.com>
1554 Add missing G_END_DECLS
1556 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1558 * gio/gfile.c: (g_file_set_display_name),
1559 (g_file_query_settable_attributes),
1560 (g_file_query_writable_namespaces):
1561 Return NULL not FALSE on errors as the return type is a pointer.
1563 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1565 * gio/glocalfile.c: (g_local_file_monitor_file):
1566 Don't call monitor_file on the default interface vtable (which
1567 is NULL) but simply return NULL. The caller, GFile, will create a
1568 polling monitor if NULL is returned.
1570 2007-10-09 Alexander Larsson <alexl@redhat.com>
1574 * gio-unix-2.0.pc.in:
1575 Add gio-unix-2.0.pc if OS_UNIX
1578 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1580 2007-10-09 Alexander Larsson <alexl@redhat.com>
1582 * gio/gunixmounts.[ch]:
1583 Make unix mount monitoring API sane.
1584 Now its just a object with mounts_changed
1585 and mountpoints_changed signals.
1587 * gio/glocaldirectorymonitor.c:
1588 * gio/gunixvolumemonitor.c:
1589 Use new mount monitor api
1591 2007-10-09 Alexander Larsson <alexl@redhat.com>
1593 * gio/gunixmounts.[ch]:
1594 Move guess type into one call for mounts and one for mountpoints
1597 * gio/gunixvolume.c:
1600 2007-10-09 Alexander Larsson <alexl@redhat.com>
1602 * gio/gunixmounts.[ch]:
1603 Remove _ prefix in preparation to make this semi-public
1604 Hide implementation of structs
1606 * gio/glocaldirectorymonitor.c:
1608 * gio/gunixvolume.c:
1609 * gio/gunixvolumemonitor.c:
1610 Update for above API changes
1612 2007-10-08 Alexander Larsson <alexl@redhat.com>
1615 Better polling fallback. This also handles the case where we have
1616 a monitor_file implementation, but it fails.
1618 2007-10-08 Alexander Larsson <alexl@redhat.com>
1622 * gio/gunixmounts.c:
1623 * programs/gio-monitor-dir.c:
1624 * programs/gio-monitor-file.c:
1625 Added cancellable to file monitoring calls.
1626 These are really sync calls and need this.
1628 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1630 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1631 (g_local_vfs_class_init):
1632 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1633 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1635 2007-10-05 Alexander Larsson <alexl@redhat.com>
1637 * gio/gdirectorymonitorprivate.h:
1638 * gio/gfilemonitorprivate.h:
1639 * gio/gdirectorymonitor.h:
1640 * gio/gfilemonitor.h:
1641 Remove *private.h and move to the public API, so that
1642 we can do implementations outside gio (such as in gvfs)
1644 * gio/gdirectorymonitor.c:
1645 * gio/gfilemonitor.c:
1646 * gio/glocaldirectorymonitor.c:
1647 * gio/gpollfilemonitor.c:
1648 * gio/inotify/inotify-helper.c:
1649 * gio/fam/fam-helper.c:
1650 Update to the new header names
1652 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
1654 * gio/gdirectorymonitor.c:
1655 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1658 2007-10-04 Alexander Larsson <alexl@redhat.com>
1660 * gio/glocalfileinfo.c (get_access_rights):
1661 Set CAN_TRASH when we can move the file.
1662 We should really also check for a parent trash dir.
1664 2007-10-04 Alexander Larsson <alexl@redhat.com>
1666 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1667 Add can_trash access attribute
1669 2007-10-04 Alexander Larsson <alexl@redhat.com>
1672 (g_local_file_trash):
1673 Create info file first. This is per-spec and allows
1674 us to actually trash directories.
1676 2007-10-02 Alexander Larsson <alexl@redhat.com>
1678 * gio/gdesktopappinfo.c:
1679 Implement the new mime support code.
1680 Always set app as handling mimetype when being set as default for it
1682 2007-10-01 Alexander Larsson <alexl@redhat.com>
1684 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
1685 Fix up check for xattrs:
1687 2007-10-01 Alexander Larsson <alexl@redhat.com>
1690 (g_app_info_set_as_default_for_extension):
1691 (g_app_info_add_supports_type):
1692 (g_app_info_can_remove_supports_type):
1693 (g_app_info_remove_supports_type):
1694 Make these fail nicely if not implemented
1696 2007-10-01 Paolo Borelli <pborelli@katamail.com>
1698 * gio/glocalfileoutputstream.c:
1699 * gio/glocalfileoutputstream.h:
1704 * programs/gio-save.c:
1705 Add a GFileCreateFlags argument to operations that can create
1708 2007-10-01 Alexander Larsson <alexl@redhat.com>
1710 * gio/gappinfo.[ch]:
1711 * gio/gdesktopappinfo.c:
1712 Add more (stubbed out) mime API needed for nautilus
1714 2007-10-01 Alexander Larsson <alexl@redhat.com>
1717 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
1718 Add g_app_info_set_as_default_for_extension.
1720 * gio/gdesktopappinfo.c:
1721 Dummy for g_app_info_set_as_default_for_extension
1722 Support flags in g_app_info_create_from_commandline
1724 * gio/gwin32appinfo.c:
1726 Update for API changes
1728 * gio/gthemedicon.c:
1729 Properly NULL-terminate list of icon names
1731 2007-09-28 Alexander Larsson <alexl@redhat.com>
1733 * gio/gloadableicon.h:
1734 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
1736 2007-09-28 Alexander Larsson <alexl@redhat.com>
1739 Install headers in $includedir/gio-standalone/
1741 * gio-2.0.pc.in: Added.
1742 * gio-standalone.pc.in: Removed.
1745 Renamed pkg-config file to match glib (for future move)
1746 Update to the new include dir
1749 Add more TODO comments
1751 2007-09-28 Alexander Larsson <alexl@redhat.com>
1753 * gio/gdesktopappinfo.[ch]:
1754 Expose new_from_filename
1755 Add getter for is_hidden and handle it better
1757 2007-09-28 Alexander Larsson <alexl@redhat.com>
1759 * gio/gfileinfo.[ch]:
1760 Rename g_file_size_format_for_display to
1761 g_format_file_size_for_display.
1762 Now it doesn't have the g_file prefix, so we
1763 can later move it to glib.
1765 2007-09-28 Alexander Larsson <alexl@redhat.com>
1767 * gio/gappinfo.[ch]:
1768 Add g_app_info_get_id and g_app_info_get_executable.
1769 Make all getters non-reffing
1770 Make g_app_info_launch take GFile arguments.
1771 Add must_support_uris argument to g_app_info_get_default_for_type.
1773 * gio/gwin32appinfo.c:
1774 Update to GAppInfo api changes
1776 * gio/gdesktopappinfo.c:
1777 Update to GAppInfo api changes
1778 Implement supports_xdg_startup_notify
1780 * gio/gfileicon.c (g_file_icon_get_file):
1781 Make getter non-reffing.
1786 2007-09-27 Alexander Larsson <alexl@redhat.com>
1788 * gio/gfileinfo.[ch]:
1789 Add g_file_size_format_for_display helper
1791 2007-09-27 Alexander Larsson <alexl@redhat.com>
1793 * gio/glocalfileinfo.c:
1794 Set UNIX_GID from gid, not from uid
1796 2007-09-27 Alexander Larsson <alexl@redhat.com>
1799 Add g_file_set_attributes_async
1801 2007-09-27 Alexander Larsson <alexl@redhat.com>
1803 * gio/glocalfile.c (g_local_file_set_display_name):
1804 Fix set_display_name to actually rename to the right place.
1805 Use lstat to look for existing files so we don't overwrite
1808 2007-09-26 Alexander Larsson <alexl@redhat.com>
1811 Add g_file_set_display_name_async()
1813 2007-09-26 Alexander Larsson <alexl@redhat.com>
1816 Add load_partial_contents async calls
1819 Make internal function static
1821 2007-09-26 Alexander Larsson <alexl@redhat.com>
1823 * gio/glocalfileinfo.c:
1824 Correctly detect broken symlinks
1826 2007-09-26 Alexander Larsson <alexl@redhat.com>
1828 * gio/gcancellable.c (g_cancellable_cancel):
1829 Allow cancel on NULL cancellable
1831 2007-09-25 Alexander Larsson <alexl@redhat.com>
1833 * gio/gsimpleasyncresult.c:
1834 Don't allocate g_error manually.
1835 Fixes g_slice/g_new mixup crash
1837 2007-09-25 Alexander Larsson <alexl@redhat.com>
1839 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
1840 Actually set active_backend.
1841 This means the monitor will be cancelled correctly.
1843 2007-09-25 Alexander Larsson <alexl@redhat.com>
1845 * gio/gdirectorymonitor.c:
1846 Set timeout to NULL when destroying
1848 2007-09-25 Alexander Larsson <alexl@redhat.com>
1851 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
1852 that is a better description of the error.
1854 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
1856 * gio/gvfs.c: (g_vfs_get_local):
1857 Make the local vfs variable static. The same instance should
1860 2007-09-24 Alexander Larsson <alexl@redhat.com>
1862 * gio/glocalfileinfo.c:
1863 Pass in actual length read into sniffer, not the length
1866 2007-09-21 Alexander Larsson <alexl@redhat.com>
1868 * gio/gfileenumerator.c:
1871 * gio/gfileinputstream.c:
1872 * gio/gfileoutputstream.c:
1873 * gio/ginputstream.c:
1874 * gio/goutputstream.c:
1875 Don't crash if async callbacks are NULL
1877 2007-09-20 Alexander Larsson <alexl@redhat.com>
1880 Add async enumerate_children method and default
1883 2007-09-20 Alexander Larsson <alexl@redhat.com>
1886 Add g_file_contains_file & g_file_get_relative_path, since they
1887 were needed for nautilus.
1888 Renamed g_file_resolve_relative to g_file_resolve_relative_path
1893 Implement new methods
1895 2007-09-17 Alexander Larsson <alexl@redhat.com>
1898 * gio/gfileinputstream.[ch]:
1899 * gio/gfileoutputstream.[ch]:
1901 * gio/glocalfileenumerator.[ch]:
1902 * gio/glocalfileinfo.[ch]:
1903 * gio/glocalfileinputstream.c:
1904 * gio/glocalfileoutputstream.c:
1905 * gio/gpollfilemonitor.c:
1906 * programs/gio-copy.c:
1907 * programs/gio-info.c:
1908 * programs/gio-move.c:
1909 Rename get_file_info to query_info() to make it clearer
1910 that these are not simple getters, but do i/o.
1912 2007-09-17 Alexander Larsson <alexl@redhat.com>
1914 * gio/gdatainputstream.[ch]:
1915 * gio/test-streams.c:
1916 Use _read_XXX instead of _get_XXX for the i/o calls
1919 2007-09-17 Alexander Larsson <alexl@redhat.com>
1922 Added needed stuff to TODO comment
1924 2007-09-17 Alexander Larsson <alexl@redhat.com>
1926 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
1927 Don't error out removing the backup copy if it doesn't
1930 2007-09-14 Alexander Larsson <alexl@redhat.com>
1932 * programs/Makefile.am:
1933 * programs/gvfs-*.c:
1935 Renamed apps from gvfs-xxx to gio-xxx.
1937 2007-09-14 Alexander Larsson <alexl@redhat.com>
1940 * gio/gfileoutputstream.[ch]:
1941 * gio/glocalfileoutputstream.c:
1942 * programs/gvfs-save.c:
1943 g_file_output_stream_get_etag doesn't do i/o, so remove
1944 cancellation and error.
1946 2007-09-14 Alexander Larsson <alexl@redhat.com>
1949 Add new_etag output to replace_contents functions
1951 2007-09-14 Alexander Larsson <alexl@redhat.com>
1953 * gio/gfileoutputstream.[ch]:
1954 Add async get_file_info and default implementation
1956 2007-09-14 Alexander Larsson <alexl@redhat.com>
1958 * gio/gfileinputstream.c:
1959 Implement fallback wrapper for async get_file_info
1961 2007-09-14 Alexander Larsson <alexl@redhat.com>
1964 Add etag out argument to load_contents
1969 2007-09-14 Alexander Larsson <alexl@redhat.com>
1971 * gio/gcontenttype.c (looks_like_text):
1972 Whitespace like tab, cr and lf do not make the
1975 2007-09-14 Alexander Larsson <alexl@redhat.com>
1977 * gio/gfileinputstream.[ch]:
1978 Add async get_file_info.
1980 2007-09-13 Alexander Larsson <alexl@redhat.com>
1982 * gio/goutputstream.c (g_output_stream_write_all):
1983 Allow NULL for bytes_written
1985 2007-09-13 Alexander Larsson <alexl@redhat.com>
1987 * gio/gmemoryinputstream.[ch]:
1988 Add accessors for data
1990 2007-09-13 Alexander Larsson <alexl@redhat.com>
1992 * gio/gdatainputstream.c (g_data_input_stream_get_until):
1993 Don't crash if length is NULL