1 2007-12-06 Alexander Larsson <alexl@redhat.com>
4 Include sys/types.h for dev_t (#501919)
6 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
10 Make abicheck and pltcheck pass.
12 2007-12-05 Alexander Larsson <alexl@redhat.com>
15 * giomodule-priv.h: Added.
16 * glocaldirectorymonitor.c:
17 * glocalfilemonitor.c:
18 * gunionvolumemonitor.c:
20 Actually add the declaration of _g_io_modules_ensure_loaded
22 2007-12-05 Alexander Larsson <alexl@redhat.com>
29 * glocaldirectorymonitor.c:
30 * glocalfilemonitor.c:
31 * gunionvolumemonitor.c:
33 Make g_io_modules_ensure_loaded a private function and
34 don't pass in the dirname. This means we can do magic
35 directory finding in the win32 version.
36 Export the actual load-modules-in-directory code so that
39 2007-12-05 Alexander Larsson <alexl@redhat.com>
41 * gbufferedinputstream.c:
42 * gbufferedoutputstream.c:
45 * gfileenumerator.[ch]:
47 * gfileoutputstream.[ch]:
48 * gfilterinputstream.c:
49 * gfilteroutputstream.c:
52 * glocalfileenumerator.c:
53 * glocalfileinputstream.c:
54 * glocalfileoutputstream.c:
55 * gmemoryinputstream.c:
56 * gmemoryoutputstream.c:
61 * gunixoutputstream.c:
62 Rename all struct members named:
63 read, write, close, truncate, or mount
64 to foo_fn, as these are reserved names
65 and could be defined as macros in libc.
68 2007-12-04 Alexander Larsson <alexl@redhat.com>
71 (g_output_stream_close):
72 Only call flush if non-null.
74 2007-11-30 Dan Winship <danw@gnome.org>
76 * ginputstream.c (g_input_stream_set_pending): Make this take a
77 GError and return a gboolean, and do the "outstanding operation"
78 check (and the "stream is already closed" check) itself.
79 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
81 * goutputstream.c (g_output_stream_set_pending)
82 (g_output_stream_clear_pending): Likewise
84 * gbufferedinputstream.c:
86 * gfileoutputstream.c: Update for that
88 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
89 Like g_simple_async_report_error_in_idle, but takes a GError
90 rather than building one.
92 2007-11-30 Dan Winship <danw@gnome.org>
94 * goutputstream.c: Don't cheat and unset the "pending" flag around
95 inner calls. Instead, call the class method directly rather than
96 the wrapper function that checks "pending"
98 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
100 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
102 2007-12-03 Hans Breuer <hans@breuer.org>
104 [start of port to win32/msvc]
105 * gcancellable.c : HAVE_UNIST_H and _pipe()
106 * gcontenttype.c : only include <dirent.h> in the UNIX branch
107 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
108 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
110 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
111 * glocalvfs.c : use HAVE_PWD_H
112 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
113 * makefile.msc : new file (maybe later converted to makefile.msc.in)
114 * Makefile.am : added to EXTRA_DIST
116 2007-12-03 Matthias Clasen <mclasen@redhat.com>
118 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
121 2007-12-03 Alexander Larsson <alexl@redhat.com>
124 Handle OSX style xattrs API (#500506)
126 2007-12-03 Alexander Larsson <alexl@redhat.com>
130 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
132 2007-12-02 A. Walton <awalton@svn.gnome.org>
136 Documentation accuracy fixes.
138 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
140 * gioenumtypes.c.template: Fix typo.
142 2007-12-01 Matthias Clasen <mclasen@redhat.com>
144 * gioenumtypes.c.template: Make threadsafe get_type() functions.
146 2007-12-01 Matthias Clasen <mclasen@redhat.com>
148 * gdirectorymonitor.c:
149 * gfilemonitor.c: Add properties
151 * gbufferedoutputstream.c: Don't mark buffer-size property
154 2007-12-01 Matthias Clasen <mclasen@redhat.com>
156 * gbufferedoutputstream.c: Add auto-grow property.
158 2007-11-30 Matthias Clasen <mclasen@redhat.com>
160 * *.c: Unify the capitalization of section headings.
162 2007-11-30 Matthias Clasen <mclasen@redhat.com>
164 * gmountoperation.c: Add properties
166 * gdatainputstream.c: Turn byte-order and newline-type into
169 2007-11-30 Matthias Clasen <mclasen@redhat.com>
171 * gioenumtypes.[hc].template: Templates for enum registration
173 * Makefile.am: Generate gioenumtypes.[hc]
175 * gio.h: Include gioenumtypes.h
177 * gfile.h: Add some explicit nicks.
179 * gio.symbols: Add new symbols
181 * pltcheck.sh: Adjust
183 2007-11-30 Matthias Clasen <mclasen@redhat.com>
185 * *.c: Explain etags and link to the explanation
187 2007-11-29 Matthias Clasen <mclasen@redhat.com>
189 * *.c: Explain I/O priority.
191 * *.c: More coding style fixes.
193 2007-11-29 Matthias Clasen <mclasen@redhat.com>
195 * gasyncresult.c: Add another paragraph to the intro,
196 adjust coding style of example.
198 2007-11-29 A. Walton <awalton@svn.gnome.org>
201 Fixes unknown meaning in GAppLaunchContext docs.
203 Clarify asynchronous ops.
208 Provides missing gtk-doc section, fixes API docs slighly.
209 * gsimpleasyncresult.c:
210 Fill in missing info in docs.
211 * gunixinputstream.c:
212 * gunixoutputstream.c:
213 Be more expressive in short description.
215 Remove gtk-doc stubs for non-public API.
217 2007-11-28 Matthias Clasen <mclasen@redhat.com>
219 * *.c: Coding style fixups
221 2007-11-28 Matthias Clasen <mclasen@redhat.com>
223 * inotify/inotify-helper.c: Don't export the lock from libgio.
225 2007-11-28 Matthias Clasen <mclasen@redhat.com>
228 * abicheck.sh: Fix copy-and-paste leftovers
230 2007-11-28 Matthias Clasen <mclasen@redhat.com>
232 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
234 2007-11-28 Alexander Larsson <alexl@redhat.com>
238 Removed unnecessary file
240 * gdesktopappinfo.[ch]:
243 * glocaldirectorymonitor.[ch]:
245 * glocalfileenumerator.[ch]:
246 * glocalfileinputstream.[ch]:
247 * glocalfilemonitor.[ch]:
248 * glocalfileoutputstream.[ch]:
250 * gnativevolumemonitor.c:
251 * gpollfilemonitor.[ch]:
252 * gunionvolumemonitor.[ch]:
255 * gunixvolumemonitor.[ch]:
258 * inotify/ginotifydirectorymonitor.[ch]:
259 * inotify/ginotifyfilemonitor.[ch]:
260 * inotify/inotify-helper.c:
261 Append _ to all internal functions
265 Export symbols needed for modules
267 2007-11-28 Alexander Larsson <alexl@redhat.com>
270 * abicheck.sh: Added.
271 * makegioalias.pl: Added.
272 * pltcheck.sh: Added.
273 * gio.symbols: Added.
276 Initial work on adding symbol handling.
279 Correct ifdef guard name
282 * inotify/Makefile.am:
283 * xdgmime/Makefile.am:
284 Include toplevel Makefile.decl
286 2007-11-27 Matthias Clasen <mclasen@redhat.com>
288 * gcontenttype.c: Move doc comments to the unix section.
290 * *.[hc]: More trivial doc corrections.
292 2007-11-27 Matthias Clasen <mclasen@redhat.com>
294 * gpollfilemonitor.c:
303 * gdatainputstream.c:
304 * gdatainputstream.h:
305 * gdataoutputstream.c:
306 * gdataoutputstream.h:
307 * gfileinfo.h: Doc cleanups
309 2007-11-28 Andre Klapper <a9016009@gmx.de>
311 * gdesktopappinfo.c: Fix a typo.
313 2007-11-27 Andre Klapper <a9016009@gmx.de>
315 * glocalfileoutputstream.c: Fix a typo.
317 2007-11-27 Alexander Larsson <alexl@redhat.com>
320 Don't include removed headers
322 2007-11-27 Alexander Larsson <alexl@redhat.com>
325 * gsocketinputstream.[ch]: Removed.
326 * gsocketoutputstream.[ch]: Removed.
327 * gunixinputstream.[ch]: Added.
328 * gunixoutputstream.[ch]: Added.
329 Renamed GSocket*Stream to GUnix*Stream and made
330 it unix-only, since its not really only for sockets
331 and it only works on unix (but is highly useful there).
333 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
339 * gbufferedinputstream.c:
340 * gbufferedinputstream.h:
341 * gbufferedoutputstream.c:
342 * gbufferedoutputstream.h:
346 * gdatainputstream.c:
347 * gdatainputstream.h:
348 * gdataoutputstream.c:
349 * gdataoutputstream.h:
350 * gdirectorymonitor.c:
351 * gdirectorymonitor.h:
364 * gfileinputstream.c:
365 * gfileinputstream.h:
368 * gfilenamecompleter.c:
369 * gfilenamecompleter.h:
370 * gfileoutputstream.c:
371 * gfileoutputstream.h:
372 * gfilterinputstream.c:
373 * gfilterinputstream.h:
374 * gfilteroutputstream.c:
375 * gfilteroutputstream.h:
388 * glocalfileoutputstream.c:
389 * gmemoryinputstream.c:
390 * gmemoryinputstream.h:
391 * gmemoryoutputstream.c:
392 * gmemoryoutputstream.h:
397 * gpollfilemonitor.c:
400 * gsimpleasyncresult.c:
401 * gsimpleasyncresult.h:
402 * gsocketinputstream.c:
403 * gsocketinputstream.h:
404 * gsocketoutputstream.c:
405 * gsocketoutputstream.h:
412 * gunixvolumemonitor.c:
421 Bumps documentation to 93% symbol coverage, touching most
422 of the public files. Fixes broken function documentation prototypes.
423 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
424 gtk-doc headers in private files.
426 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
428 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
429 (g_buffered_input_stream_read_byte):
430 * gbufferedinputstream.h:
431 New functions for efficient access to buffer and simple single byte
434 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
435 (g_data_input_stream_read_until):
436 * gdatainputstream.h:
437 Use peek_buffer to avoid memcpy in scan_for_newline, implement
438 read_until with multiple stop chars.
440 2007-11-27 Alexander Larsson <alexl@redhat.com>
444 * inotify/Makefile.am:
445 Use the user-specified giomoduledir
447 2007-11-27 Alexander Larsson <alexl@redhat.com>
451 Add catch-all gio.h header
452 Don't install gdummyfile.h
454 2007-11-26 Alexander Larsson <alexl@redhat.com>
456 * Makefile.am (gioinclude_HEADERS):
457 Remove trailing whitespace
459 2007-11-26 Alexander Larsson <alexl@redhat.com>
461 Merge gio-standalone into glib
463 2007-11-25 Christian Kellner <gicmo@gnome.org>
465 * gio/goutputstream.c:
466 Fix small mistake in the docs.
468 2007-11-21 Christian Persch <chpe@gnome.org>
470 * gio/glocalfile.c: (g_local_file_trash):
471 Convert filenames to UTF-8 for GError.
472 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
473 as per xdg base dir spec.
475 2007-11-21 Christian Persch <chpe@gnome.org>
477 * gio/gdesktopappinfo.c:
478 Use that g_key_file_to_data cannot fail.
480 Use stock defines for the key file group and key names.
483 2007-11-21 Alexander Larsson <alexl@redhat.com>
486 (copy_stream_with_progress):
487 Make sure we do a final progress callback with
490 2007-11-21 Alexander Larsson <alexl@redhat.com>
493 Export g_file_copy_attributes
494 Remove padding as its not needed for interfaces
496 2007-11-20 Alexander Larsson <alexl@redhat.com>
501 Add G_IO_ERROR_WOULD_MERGE for
502 copy/move dir on dir with overwrite.
504 2007-11-20 Alexander Larsson <alexl@redhat.com>
507 * gio/glocalfileinfo.c:
508 Add COPY_NAME (this is an optional
509 non-modified utf8 version of the name) that
512 2007-11-20 Alexander Larsson <alexl@redhat.com>
514 * gio/glocalfileenumerator.c:
515 Report errors as GIOError, not GFileError
517 2007-11-16 Alexander Larsson <alexl@redhat.com>
519 * gio/glocalfileoutputstream.c:
520 * gio/gwin32appinfo.c:
521 Fix typos in strings.
522 Patch from Luca Ferretti <elle.uca@libero.it>
524 2007-11-15 Alexander Larsson <alexl@redhat.com>
527 Post release version bump
529 === gio-standalone 0.1.2 ===
531 2007-11-15 Alexander Larsson <alexl@redhat.com>
533 * docs/reference/gio/Makefile.am:
534 Fix up distcheck by removing weird
540 2007-11-14 Alexander Larsson <alexl@redhat.com>
542 * gio/gdesktopappinfo.c:
543 * gio/glocaldirectorymonitor.c:
545 * gio/glocalfileinfo.c:
546 * gio/inotify/inotify-sub.c:
547 * programs/gio-cat.c:
548 * programs/gio-copy.c:
549 * programs/gio-info.c:
551 * programs/gio-monitor-dir.c:
552 * programs/gio-monitor-file.c:
553 * programs/gio-mount.c:
554 * programs/gio-move.c:
556 * programs/gio-save.c:
557 * programs/gio-trash.c:
558 Leak fixes from Kjartan Maraas
560 2007-11-14 Alexander Larsson <alexl@redhat.com>
562 * gio/fam/fam-helper.c:
564 * gio/glocalfileinfo.c:
568 * gio/inotify/inotify-diag.c:
569 * gio/inotify/inotify-kernel.c:
570 Various code cleanups from Kjartan Maraas
572 2007-11-14 Alexander Larsson <alexl@redhat.com>
574 * gio/gioscheduler.c:
576 Set up threadpool so that we cache 2 unused
577 idle threads for at 15 secs. This means we
578 will reuse thread-local data (like dbus connections)
581 2007-11-14 Alexander Larsson <alexl@redhat.com>
583 * gio/fam/fam-helper.c:
584 * gio/fam/gfamdirectorymonitor.c:
585 * gio/fam/gfamfilemonitor.c:
587 * gio/gcontenttype.c:
588 * gio/gdatainputstream.c:
589 * gio/gdataoutputstream.c:
593 * gio/gfileattribute.h:
594 * gio/gfileenumerator.c:
596 * gio/ginputstream.c:
599 * gio/glocalfileinfo.c:
600 * gio/goutputstream.c:
601 * gio/gpollfilemonitor.c:
602 * gio/gsimpleasyncresult.c:
605 * gio/inotify/ginotifydirectorymonitor.c:
606 * gio/inotify/ginotifyfilemonitor.c:
607 * gio/inotify/inotify-diag.c:
608 * gio/inotify/inotify-kernel.c:
609 * gio/inotify/inotify-path.c:
611 * gio/test-streams.c:
612 * programs/gio-info.c:
613 * programs/gio-monitor-dir.c:
614 * programs/gio-monitor-file.c:
615 Various code cleanups from Kjartan Maraas
617 2007-11-13 Alexander Larsson <alexl@redhat.com>
620 Handle the uri-scheme calls for dummy files
622 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
624 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
625 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
626 to avoid clash with the C++ keyword.
628 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
630 * gio/glocalfileinfo.c: Build fix, added missing semicolon
631 to an ifdef'ed call to getpwuid() in lookup_uid_data().
633 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
635 * gio/glocaldirectorymonitor.c:
636 * gio/glocalfilemonitor.c:
637 * gio/gunionvolumemonitor.c:
638 Don't use g_once_init_*() for initializations that could fail and
639 could leave the initialization variable set to 0 but use GOnce.
640 This prevents a deadlock on the second call when trying to create
641 a monitor and no monitor type is available. Thanks to Sven Herzberg
644 2007-11-11 Sven Herzberg <sven@imendio.com>
646 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
647 #ifdef (make it work on MacOS X again)
649 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
651 Fixes Changelog for last two commits (sorry guys).
653 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
655 * gio/gbufferedinputstream.c:
656 * gio/gdatainputstream.c:
658 * gio/gfileoutputstream.c:
659 * gio/gfilterinputstream.c:
660 * gio/glocalfileinputstream.c:
663 More consistency fixes in g*stream.c files.
664 Significant clean of gfile's documentation, filling in of
665 asynchronous operations documentation.
667 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
669 * gio/gasyncresult.c:
670 * gio/gbufferedinputstream.c:
671 * gio/gbufferedoutputstream.c:
672 * gio/gcancellable.c:
673 * gio/gcontenttype.c:
674 * gio/gdatainputstream.c:
675 * gio/gdataoutputstream.c:
676 * gio/gdesktopappinfo.c:
679 * gio/gfileattribute.c:
680 * gio/gio/gfileenumerator.c:
682 * gio/gfileinputstream.c:
683 * gio/gfilemonitor.c:
684 * gio/gfileoutputstream.c:
685 * gio/ginputstream.c:
687 * gio/gioscheduler.c:
688 * gio/gloadableicon.c:
689 * gio/glocalfileoutputstream.c:
690 * gio/gmemoryoutputstream.c:
691 * gio/gmountoperation.c:
692 * gio/goutputstream.c:
694 * gio/gsimpleasyncresult.c:
695 * gio/gunionvolumemonitor.c:
701 * gio/gvolumemonitor.c:
702 Updated documentation stubs, working towards consistency and
705 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
707 * gio/gmemoryoutputstream.c:
708 * gio/gmemoryoutputstream.h:
709 Change g_memory_output_stream_set_free_on_close() to
710 g_memory_output_stream_set_free_data() as this makes more sense and
711 is more consistent with GMemoryInputStream.
713 2007-11-07 Alexander Larsson <alexl@redhat.com>
720 Change how we find the default vfs so that
721 we can handle a gvfs failing to init
723 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
725 * gio/gbufferedoutputstream.c:
726 * gio/gdatainputstream.c:
727 * gio/gdataoutputstream.c:
728 * gio/gfileinputstream.c:
729 * gio/gfileoutputstream.c:
730 * gio/gfilterinputstream.c:
731 * gio/gfilteroutputstream.c:
732 * gio/ginputstream.c:
733 * gio/gmemoryinputstream.c:
734 * gio/gmemoryoutputstream.c:
735 * gio/goutputstream.c:
736 * gio/gsimpleasyncresult.c:
737 * gio/gsocketinputstream.c:
738 * gio/gsocketoutputstream.c:
739 Add guards to the remaining public functions, add a TODO for
740 an unimplemented function and remove some useless guards.
742 2007-11-07 Alexander Larsson <alexl@redhat.com>
745 Autoconf checks for the various types of
746 getpwuid_r and getgrgid_r
748 * gio/glocalfileinfo.c:
749 Use the autoconf checks from above
751 2007-11-07 Alexander Larsson <alexl@redhat.com>
754 (g_local_file_query_filesystem_info):
755 Some fixes for the statvfs case
757 2007-11-07 Alexander Larsson <alexl@redhat.com>
760 (g_local_file_query_filesystem_info):
761 Pick the "best" of statfs / statvfs for the system
762 if both are availible.
764 2007-11-07 Alexander Larsson <alexl@redhat.com>
766 Solaris fixes from Halton.Huo@Sun.COM:
773 * gio/glocalfileinfo.c:
774 Fix for solaris definition of getpwuid_r
776 * gio/test-streams.c:
777 Use G_GNUC_PRETTY_FUNCTION
779 2007-11-07 Alexander Larsson <alexl@redhat.com>
781 * gio/gdesktopappinfo.c:
782 (update_default_list):
783 Remove double semicolon.
784 Patch from Jens Granseuer
786 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
788 * docs/reference/gio/gio-sections.txt:
789 * gio/gbufferedinputstream.c:
790 * gio/gbufferedinputstream.h:
791 * gio/gdatainputstream.c:
792 * gio/gfileenumerator.c:
793 * gio/gioscheduler.c:
794 * gio/gunionvolumemonitor.c:
796 * programs/gio-save.c:
797 Fix typo: availible -> available. Unfortuntely this breaks API
798 and ABI as g_buffered_input_stream_get_available() was renamed.
801 * gio/gbufferedinputstream.c:
802 Add guards for public functions.
804 2007-11-06 Ross Burton <ross@openedhand.com>
806 * docs/reference/gio/Makefile.am:
807 Fix invalid += usage which automake 1.10 doesn't like.
809 2007-11-06 Alexander Larsson <alexl@redhat.com>
812 (g_app_launch_context_class_init):
815 Patch from Ross Burton
817 2007-11-06 Alexander Larsson <alexl@redhat.com>
820 Post release version bump
822 === gio-standalone 0.1.1 ===
824 2007-11-06 Alexander Larsson <alexl@redhat.com>
827 Bump version to 0.1.1
829 * gio/gsimpleasyncresult.c:
830 (g_simple_async_result_set_from_error):
831 Remove bogus g_return_if_fail
833 2007-11-06 Alexander Larsson <alexl@redhat.com>
836 The name is gio-standalone
839 Add top src/builddir to includedir
841 2007-11-06 Alexander Larsson <alexl@redhat.com>
843 * docs/reference/gio/gio-sections.txt:
845 * gio/gbufferedinputstream.c:
846 * gio/gbufferedoutputstream.c:
847 * gio/gcancellable.c:
848 * gio/gdatainputstream.h:
849 * gio/gdataoutputstream.c:
850 * gio/gdataoutputstream.h:
851 * gio/gdirectorymonitor.c:
853 * gio/gfileattribute.c:
854 * gio/gfileattribute.h:
855 * gio/gfileenumerator.c:
856 * gio/gfileenumerator.h:
859 * gio/gfileinputstream.h:
860 * gio/gfilemonitor.c:
861 * gio/gfileoutputstream.h:
862 * gio/glocalfilemonitor.h:
863 * gio/glocalfileoutputstream.h:
864 * gio/gmemoryinputstream.c:
865 * gio/gmemoryoutputstream.c:
866 * gio/gmountoperation.c:
867 * gio/goutputstream.c:
868 * gio/goutputstream.h:
870 * gio/gsimpleasyncresult.c:
874 * gio/inotify/inotify-helper.c:
877 Patch from Ross Burton
879 2007-11-06 Alexander Larsson <alexl@redhat.com>
881 * gio/gfilenamecompleter.c:
882 (g_filename_completer_get_completions):
886 Remove unused function
888 Patches from Ross Burton
890 2007-11-06 Alexander Larsson <alexl@redhat.com>
895 Padding not needed for interfaces
897 2007-11-06 Alexander Larsson <alexl@redhat.com>
899 * gio/gfilemonitor.c:
903 Make giotypes.h an internal file
906 * gio/gbufferedinputstream.h:
907 * gio/gbufferedoutputstream.h:
908 * gio/gcancellable.h:
909 * gio/gdatainputstream.h:
910 * gio/gdataoutputstream.h:
911 * gio/gdirectorymonitor.c:
912 * gio/gdirectorymonitor.h:
917 * gio/gfileattribute.h:
918 * gio/gfileenumerator.h:
923 * gio/gfilemonitor.c:
924 * gio/gfilemonitor.h:
925 * gio/gfilenamecompleter.c:
926 * gio/gfilenamecompleter.h:
927 * gio/gfilterinputstream.h:
928 * gio/gfilteroutputstream.h:
929 * gio/ginputstream.h:
930 * gio/gmemoryinputstream.h:
931 * gio/gmemoryoutputstream.h:
932 * gio/gmountoperation.c:
933 * gio/gmountoperation.h:
934 * gio/gnativevolumemonitor.c:
935 * gio/goutputstream.h:
938 * gio/gsimpleasyncresult.c:
939 * gio/gsimpleasyncresult.h:
940 * gio/gsocketinputstream.h:
941 * gio/gsocketoutputstream.h:
947 * gio/gvolumemonitor.c:
948 * gio/gvolumemonitor.h:
949 Add padding in classes where it seems useful
950 Don't include giotypes.h from public headers
951 Move in Class definitions into c file where possible
956 2007-11-06 Alexander Larsson <alexl@redhat.com>
958 * docs/reference/gio/gio-docs.xml:
959 Better structure for API docs
961 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
964 * gio/gloadableicon.c:
965 * gio/gsimpleasyncresult.c:
967 Add some more guards to public functions. Only files missing are now
970 2007-11-06 Alexander Larsson <alexl@redhat.com>
972 * docs/reference/gio/gio-docs.xml:
973 Remove old files, add missing ones
975 2007-11-06 Alexander Larsson <alexl@redhat.com>
977 * docs/reference/gio/gio-sections.txt:
980 Hide implementation classes
982 * gio/gdriveprivate.h:
983 * gio/gvolumeprivate.h:
984 Remove non-existing function declarations
986 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
989 Fix compilation warnings and add guards to the new functions.
991 * gio/gasyncresult.c:
993 Add guards to the public functions.
996 Implement get_path().
998 2007-11-06 Alexander Larsson <alexl@redhat.com>
1000 * gio/gfilenamecompleter.c:
1001 Make g_filename_completer_get_completions
1002 return char ** instead of GList for
1005 * docs/reference/gio/gio-docs.xml:
1006 * docs/reference/gio/gio-sections.txt:
1008 * gio/gasyncresult.c:
1009 * gio/gbufferedinputstream.c:
1010 * gio/gbufferedoutputstream.c:
1011 * gio/gcancellable.c:
1012 * gio/gcontenttype.c:
1013 * gio/gdatainputstream.c:
1014 * gio/gdataoutputstream.c:
1015 * gio/gdesktopappinfo.c:
1016 * gio/gdirectorymonitor.c:
1020 * gio/gfileattribute.c:
1021 * gio/gfileenumerator.c:
1024 * gio/gfileinputstream.c:
1025 * gio/gfilemonitor.c:
1026 * gio/gfilenamecompleter.c:
1027 * gio/gfilenamecompleter.h:
1028 * gio/gfileoutputstream.c:
1029 * gio/gfilterinputstream.c:
1031 * gio/ginputstream.c:
1033 * gio/gioscheduler.c:
1034 * gio/gloadableicon.c:
1035 * gio/glocaldirectorymonitor.c:
1037 * gio/glocalfileinputstream.c:
1038 * gio/glocalfilemonitor.c:
1039 * gio/glocalfileoutputstream.c:
1041 * gio/gmemoryinputstream.c:
1042 * gio/gmemoryoutputstream.c:
1043 * gio/gmountoperation.c:
1044 * gio/goutputstream.c:
1045 * gio/gpollfilemonitor.c:
1047 * gio/gsimpleasyncresult.c:
1048 * gio/gsocketinputstream.c:
1049 * gio/gsocketoutputstream.c:
1050 * gio/gthemedicon.c:
1051 * gio/gunionvolumemonitor.c:
1053 * gio/gunixmounts.c:
1054 * gio/gunixvolume.c:
1055 * gio/gunixvolumemonitor.c:
1059 * gio/gvolumemonitor.c:
1060 * gio/gwin32appinfo.c:
1061 Add (mostly stub) doc strings to public functions.
1062 Patch from Andrew Walton (awalton@gmail.com)
1064 2007-11-06 Alexander Larsson <alexl@redhat.com>
1066 * gio/gappinfo.[ch]:
1067 Added GAppLaunchContext object and pass that to launch.
1068 This allows simple implementation of both
1069 launch-on-screen and startup notification via a gtk+
1070 subclass of GAppLaunchContext
1072 * gio/gdesktopappinfo.c:
1073 Implement GAppLaunchContext API
1075 * gio/gwin32appinfo.c:
1078 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1080 * gio/gmountoperation.c:
1081 Add some guards to GMountOperation's public functions.
1083 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1087 * gio/gcancellable.c:
1088 * gio/gdirectorymonitor.c:
1090 * gio/gfileenumerator.c:
1091 * gio/gfilemonitor.c:,
1092 * gio/gfilenamecompleter.c:
1095 * gio/gioscheduler.c:
1099 * gio/gvolumemonitor.c:
1100 Add even more guards to various public functions.
1102 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1105 Add guards to the public functions of GAppInfo.
1107 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1109 * gio/gcontenttype.c:
1110 Add some more guards for public functions.
1112 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1114 * gio/fam/fam-module.c:
1115 * gio/fam/gfamdirectorymonitor.c:
1116 * gio/fam/gfamdirectorymonitor.h:
1117 * gio/fam/gfamfilemonitor.c:
1118 * gio/fam/gfamfilemonitor.h:
1119 * gio/inotify/ginotifydirectorymonitor.c:
1120 * gio/inotify/ginotifydirectorymonitor.h:
1121 * gio/inotify/ginotifyfilemonitor.c:
1122 * gio/inotify/ginotifyfilemonitor.h:
1123 Add proper copyright information and remove an unused variable
1124 in the GInotifyFileMonitor constructor.
1126 * gio/gcancellable.c:
1127 Add a guard for a public function and an assertion to prevent
1128 an undefined program state.
1130 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1132 * gio/gfileattribute.c:
1133 Don't run into an assertion if the given attribute value is NULL
1134 in g_file_attribute_value_get_*() but instead return a fallback
1135 value that makes sense in most situations. Passing them a attribute
1136 value with the wrong type will still run into an assertion.
1138 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1140 * gio/gfileattribute.c:
1142 Add even more guards to the public functions. Also fix the refcounting
1143 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1144 let g_file_info_list_attributes() filter the attributes by namespace
1145 instead of simply ignoring the namespace parameter.
1147 2007-11-03 Sven Herzberg <sven@imendio.com>
1149 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1150 (This makes gio work on MacOS X again)
1152 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1155 Build the gio subdirectory before the docs. Otherwise the build will
1158 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1159 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1160 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1161 Add guards to the public functions.
1163 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1165 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1166 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1167 to prevent a compiler warning.
1169 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1170 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1171 return something in the non-void function find_topdir_for().
1173 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1180 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1182 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1183 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1184 * gwin32appinfo.c (g_win32_app_info_launch):
1185 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1186 envp_for_startup_id, g_desktop_app_info_launch,
1187 g_desktop_app_info_launch_uris):
1189 Give an opaque 'startup_id' string instead of 'envp'.
1190 Support empty file lists for launching new windows.
1191 Fix infinite recursion bug when launching URIs.
1193 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1196 Add guard to the new g_file_get_uri_scheme() function.
1198 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1201 Convert a g_return_val_if_fail() to setting the GError instead as
1202 otherwise applications have to verify the parameter before otherwise
1203 and the parameter might come directly from the user.
1205 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1207 * gio/inotify/ginotify*.[ch]:
1208 Add missing copyright information.
1210 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1213 Add guards in the beginning of public functions to check for valid
1214 parameters and fix a bug in copy_stream_with_progress() that could've
1215 caused writing less bytes than reading.
1216 * gio/glocalfileinfo.c:
1217 Check for a NULL parameter and set the GError accordingly then.
1218 * gio/goutputstream.c:
1219 Fix the same bug as in gfile.c that could've caused writing less bytes
1220 than reading in g_output_stream_real_splice().
1222 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1225 Use the correct gvolumeprivate.h naming
1227 2007-11-01 Christian Kellner <gicmo@gnome.org>
1230 Remove leftover "$(daemon_sources)" entry.
1232 2007-11-01 Christian Kellner <gicmo@gnome.org>
1237 Add copyright information to source files.
1239 2007-11-01 Alexander Larsson <alexl@redhat.com>
1243 Add g_file_get_uri_scheme
1245 2007-11-01 Alexander Larsson <alexl@redhat.com>
1248 * gio/gdesktopappinfo.c:
1249 * gio/gwin32appinfo.c:
1250 Add g_app_info_get_default_for_uri_scheme.
1252 2007-11-01 Alexander Larsson <alexl@redhat.com>
1255 Correct filename for gdriveprivate.h
1257 2007-10-31 Alexander Larsson <alexl@redhat.com>
1260 Rename id:value to id:file
1263 * gio/glocalfileinfo.c:
1266 2007-10-31 Alexander Larsson <alexl@redhat.com>
1268 * gio/gunixvolume.c:
1270 Remove g_volume_get_platform_id, as thats not
1271 needed with the simpler union volume monitor
1273 2007-10-31 Alexander Larsson <alexl@redhat.com>
1276 * gio/guniondrive.[ch]: Removed.
1277 * gio/gunionvolume.[ch]: Removed.
1278 Remove GUnionDrive/Volume
1280 * gio/gunionvolumemonitor.c:
1281 Simplify union volume monitor, now we
1282 only have one native volume monitor and
1283 we use the actual volumes/drives from the
1284 child monitors instead of wrapping them
1286 * gio/gnativevolumemonitor.[ch]:
1287 Base class for native volume monitors.
1288 Includes priority and get_volume_for_mountpoint
1291 Add g_file_find_enclosing_volume
1294 Remove volume name fs attribute
1295 Add readonly fs attribute
1298 Implement readonly attribute
1299 remove volume name attribute
1300 Implement find_enclosing volume
1302 * gio/gunixmounts.c:
1303 Add a volume for "/".
1305 * gio/gunixvolume.[ch]:
1306 Set better name for /
1308 * gio/gunixvolumemonitor.[ch]:
1309 Derive from GNativeVolumeMonitor
1310 Implement get_volume_for_mountpoint
1313 GVolume typedef moved to gfile.h
1315 * gio/gvolumeprivate.h:
1316 Add g_volume_get_for_mount_path
1318 2007-10-31 Alexander Larsson <alexl@redhat.com>
1320 * gio/gunixmounts.[ch]:
1321 Add cache info to unix mount listers
1322 Make getmntent use threadsafe
1323 Add is_system_internal attribute for GUnixMount
1325 * gio/gunixvolume.c:
1326 (g_unix_volume_new):
1327 Use is_system_internal instead of own code
1329 * gio/glocaldirectorymonitor.c:
1330 * gio/gunixvolumemonitor.c:
1331 Update to new gunixmounts API
1336 2007-10-30 Alexander Larsson <alexl@redhat.com>
1339 Add volume name fsinfo attribute
1342 Read volume name info
1344 * gio/gunionvolumemonitor.c:
1345 Fix infinite loops when finalizing a union volume monitor
1347 2007-10-30 Alexander Larsson <alexl@redhat.com>
1349 * gio/goutputstream.[ch]:
1350 Add splice() with default implementation
1352 * gio/gsocketoutputstream.c:
1353 (g_socket_output_stream_write):
1354 Return error on cancellation correctly.
1356 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1358 * gio/glocalfile.c (g_local_file_trash):
1359 Do not leak a string.
1361 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1363 * gio/gfile.c (g_file_load_contents):
1364 Unref the stream after closing it.
1366 2007-10-25 Alexander Larsson <alexl@redhat.com>
1368 * gio/gioscheduler.h:
1371 2007-10-25 Alexander Larsson <alexl@redhat.com>
1375 Add g_file_has_uri_scheme and implement for local files
1377 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1379 * gio/gdesktopappinfo.c: do not leak a string.
1381 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1383 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1384 (g_local_directory_monitor_new):
1385 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1386 (g_local_file_monitor_new):
1387 Only look for the monitor type that should be used the first time
1388 and use g_qsort_with_data() instead of our own bubble sort
1391 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1394 * gio/fam/Makefile.am:
1395 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1396 * gio/fam/fam-helper.h:
1397 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1398 * gio/fam/gfamdirectorymonitor.c:
1399 * gio/fam/gfamdirectorymonitor.h:
1400 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1401 * gio/fam/gfamfilemonitor.h:
1402 * gio/glocaldirectorymonitor.c:
1403 * gio/glocaldirectorymonitor.h:
1404 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1405 * gio/glocalfilemonitor.h:
1406 * gio/inotify/Makefile.am:
1407 * gio/inotify/ginotifydirectorymonitor.c:
1408 * gio/inotify/ginotifydirectorymonitor.h:
1409 * gio/inotify/ginotifyfilemonitor.c:
1410 * gio/inotify/ginotifyfilemonitor.h:
1411 Implement the FAM and Inotify monitors as
1412 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1413 their own GIO module. GLocal(Directory|File)Monitor will use the
1414 monitor with the highest rank that is supported on that machine.
1416 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1419 Change GIO module dir to $(libdir)/gio/modules and change
1420 the log domain from GVFS to GIO. Also only export symbols starting
1421 with g_ in the resulting library.
1422 * gio/test-streams.c: (main):
1423 Set log handler for the GIO log domain.
1425 2007-10-22 Alexander Larsson <alexl@redhat.com>
1427 * gio/gfilenamecompleter.[ch]:
1428 Add g_filename_completer_set_dirs_only
1430 2007-10-22 Alexander Larsson <alexl@redhat.com>
1433 * gio/gurifuncs.[ch]:
1434 Add some simple URI helpers
1436 * gio/gfilenamecompleter.[ch]:
1437 Added object for filename (parse name actually) completion
1440 Handle ~ in parse names
1442 2007-10-17 Alexander Larsson <alexl@redhat.com>
1445 * gio/glocalfileinfo.c:
1446 Add and implement id:value attribute
1448 2007-10-17 Alexander Larsson <alexl@redhat.com>
1451 * gio/guniondrive.c:
1453 Add and implement g_drive_has_volumes
1455 2007-10-17 Alexander Larsson <alexl@redhat.com>
1458 * gio/glocalfileinfo.[ch]:
1459 Add unix:is_mountpoint and implement for local files
1461 2007-10-16 Alexander Larsson <alexl@redhat.com>
1463 * gio/gunionvolumemonitor.c:
1464 (g_union_volume_monitor_init):
1465 Fix up the unix type getting so that it works with gcc
1467 2007-10-12 Alexander Larsson <alexl@redhat.com>
1470 * gio/glocalfileinfo.c:
1471 Add thumbnail:failed to file info
1473 2007-10-12 Richard Hult <richard@imendio.com>
1475 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1476 optimizing away the get_type call (happens with some gcc versions,
1477 like the one shipped with OS X 10.4).
1479 2007-10-12 Alexander Larsson <alexl@redhat.com>
1481 * gio/glocalfileinfo.c:
1482 (_g_local_file_info_set_attribute):
1483 Fix build if not HAVE_XATTR
1484 Patch from Milosz Derezynski <internalerror@gmail.com>
1486 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1488 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1489 around for review, otherwise I would have asked you before
1492 2007-10-11 Alexander Larsson <alexl@redhat.com>
1495 Add thumbnail:path attribute
1497 * gio/glocalfileinfo.c:
1498 Implement thumbnail:path for local files
1500 2007-10-11 Alexander Larsson <alexl@redhat.com>
1502 * gio/glocalfileinfo.c:
1503 (_g_local_file_info_get):
1504 Avoid duplicate icon names
1506 2007-10-11 Alexander Larsson <alexl@redhat.com>
1508 * gio/gthemedicon.[ch]:
1509 Change g_themed_icon_get_names return type to const
1511 2007-10-10 Alexander Larsson <alexl@redhat.com>
1513 * gio/glocalfileinfo.c:
1514 Don't reference freed memory
1516 2007-10-10 Alexander Larsson <alexl@redhat.com>
1518 * gio/gfileattribute.c:
1521 * gio/glocalfileinfo.c:
1524 2007-10-10 Alexander Larsson <alexl@redhat.com>
1527 Check for NULL icons
1529 * gio/gfileattribute.c:
1530 Don't dup when getting objects (same as for string attributes)
1532 * gio/gicon.c (g_icon_equal):
1533 Safely handle NULLs in equal
1535 2007-10-10 Alexander Larsson <alexl@redhat.com>
1538 Fix c++ compilation issues
1539 Patch from Milosz Derezynski <internalerror@gmail.com>
1541 2007-10-10 Alexander Larsson <alexl@redhat.com>
1543 * programs/gio-monitor-dir.c:
1544 Don't crash if dir monitor not supported.
1546 2007-10-09 Alexander Larsson <alexl@redhat.com>
1549 Add missing G_END_DECLS
1551 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1553 * gio/gfile.c: (g_file_set_display_name),
1554 (g_file_query_settable_attributes),
1555 (g_file_query_writable_namespaces):
1556 Return NULL not FALSE on errors as the return type is a pointer.
1558 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1560 * gio/glocalfile.c: (g_local_file_monitor_file):
1561 Don't call monitor_file on the default interface vtable (which
1562 is NULL) but simply return NULL. The caller, GFile, will create a
1563 polling monitor if NULL is returned.
1565 2007-10-09 Alexander Larsson <alexl@redhat.com>
1569 * gio-unix-2.0.pc.in:
1570 Add gio-unix-2.0.pc if OS_UNIX
1573 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1575 2007-10-09 Alexander Larsson <alexl@redhat.com>
1577 * gio/gunixmounts.[ch]:
1578 Make unix mount monitoring API sane.
1579 Now its just a object with mounts_changed
1580 and mountpoints_changed signals.
1582 * gio/glocaldirectorymonitor.c:
1583 * gio/gunixvolumemonitor.c:
1584 Use new mount monitor api
1586 2007-10-09 Alexander Larsson <alexl@redhat.com>
1588 * gio/gunixmounts.[ch]:
1589 Move guess type into one call for mounts and one for mountpoints
1592 * gio/gunixvolume.c:
1595 2007-10-09 Alexander Larsson <alexl@redhat.com>
1597 * gio/gunixmounts.[ch]:
1598 Remove _ prefix in preparation to make this semi-public
1599 Hide implementation of structs
1601 * gio/glocaldirectorymonitor.c:
1603 * gio/gunixvolume.c:
1604 * gio/gunixvolumemonitor.c:
1605 Update for above API changes
1607 2007-10-08 Alexander Larsson <alexl@redhat.com>
1610 Better polling fallback. This also handles the case where we have
1611 a monitor_file implementation, but it fails.
1613 2007-10-08 Alexander Larsson <alexl@redhat.com>
1617 * gio/gunixmounts.c:
1618 * programs/gio-monitor-dir.c:
1619 * programs/gio-monitor-file.c:
1620 Added cancellable to file monitoring calls.
1621 These are really sync calls and need this.
1623 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1625 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1626 (g_local_vfs_class_init):
1627 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1628 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1630 2007-10-05 Alexander Larsson <alexl@redhat.com>
1632 * gio/gdirectorymonitorprivate.h:
1633 * gio/gfilemonitorprivate.h:
1634 * gio/gdirectorymonitor.h:
1635 * gio/gfilemonitor.h:
1636 Remove *private.h and move to the public API, so that
1637 we can do implementations outside gio (such as in gvfs)
1639 * gio/gdirectorymonitor.c:
1640 * gio/gfilemonitor.c:
1641 * gio/glocaldirectorymonitor.c:
1642 * gio/gpollfilemonitor.c:
1643 * gio/inotify/inotify-helper.c:
1644 * gio/fam/fam-helper.c:
1645 Update to the new header names
1647 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
1649 * gio/gdirectorymonitor.c:
1650 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1653 2007-10-04 Alexander Larsson <alexl@redhat.com>
1655 * gio/glocalfileinfo.c (get_access_rights):
1656 Set CAN_TRASH when we can move the file.
1657 We should really also check for a parent trash dir.
1659 2007-10-04 Alexander Larsson <alexl@redhat.com>
1661 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1662 Add can_trash access attribute
1664 2007-10-04 Alexander Larsson <alexl@redhat.com>
1667 (g_local_file_trash):
1668 Create info file first. This is per-spec and allows
1669 us to actually trash directories.
1671 2007-10-02 Alexander Larsson <alexl@redhat.com>
1673 * gio/gdesktopappinfo.c:
1674 Implement the new mime support code.
1675 Always set app as handling mimetype when being set as default for it
1677 2007-10-01 Alexander Larsson <alexl@redhat.com>
1679 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
1680 Fix up check for xattrs:
1682 2007-10-01 Alexander Larsson <alexl@redhat.com>
1685 (g_app_info_set_as_default_for_extension):
1686 (g_app_info_add_supports_type):
1687 (g_app_info_can_remove_supports_type):
1688 (g_app_info_remove_supports_type):
1689 Make these fail nicely if not implemented
1691 2007-10-01 Paolo Borelli <pborelli@katamail.com>
1693 * gio/glocalfileoutputstream.c:
1694 * gio/glocalfileoutputstream.h:
1699 * programs/gio-save.c:
1700 Add a GFileCreateFlags argument to operations that can create
1703 2007-10-01 Alexander Larsson <alexl@redhat.com>
1705 * gio/gappinfo.[ch]:
1706 * gio/gdesktopappinfo.c:
1707 Add more (stubbed out) mime API needed for nautilus
1709 2007-10-01 Alexander Larsson <alexl@redhat.com>
1712 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
1713 Add g_app_info_set_as_default_for_extension.
1715 * gio/gdesktopappinfo.c:
1716 Dummy for g_app_info_set_as_default_for_extension
1717 Support flags in g_app_info_create_from_commandline
1719 * gio/gwin32appinfo.c:
1721 Update for API changes
1723 * gio/gthemedicon.c:
1724 Properly NULL-terminate list of icon names
1726 2007-09-28 Alexander Larsson <alexl@redhat.com>
1728 * gio/gloadableicon.h:
1729 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
1731 2007-09-28 Alexander Larsson <alexl@redhat.com>
1734 Install headers in $includedir/gio-standalone/
1736 * gio-2.0.pc.in: Added.
1737 * gio-standalone.pc.in: Removed.
1740 Renamed pkg-config file to match glib (for future move)
1741 Update to the new include dir
1744 Add more TODO comments
1746 2007-09-28 Alexander Larsson <alexl@redhat.com>
1748 * gio/gdesktopappinfo.[ch]:
1749 Expose new_from_filename
1750 Add getter for is_hidden and handle it better
1752 2007-09-28 Alexander Larsson <alexl@redhat.com>
1754 * gio/gfileinfo.[ch]:
1755 Rename g_file_size_format_for_display to
1756 g_format_file_size_for_display.
1757 Now it doesn't have the g_file prefix, so we
1758 can later move it to glib.
1760 2007-09-28 Alexander Larsson <alexl@redhat.com>
1762 * gio/gappinfo.[ch]:
1763 Add g_app_info_get_id and g_app_info_get_executable.
1764 Make all getters non-reffing
1765 Make g_app_info_launch take GFile arguments.
1766 Add must_support_uris argument to g_app_info_get_default_for_type.
1768 * gio/gwin32appinfo.c:
1769 Update to GAppInfo api changes
1771 * gio/gdesktopappinfo.c:
1772 Update to GAppInfo api changes
1773 Implement supports_xdg_startup_notify
1775 * gio/gfileicon.c (g_file_icon_get_file):
1776 Make getter non-reffing.
1781 2007-09-27 Alexander Larsson <alexl@redhat.com>
1783 * gio/gfileinfo.[ch]:
1784 Add g_file_size_format_for_display helper
1786 2007-09-27 Alexander Larsson <alexl@redhat.com>
1788 * gio/glocalfileinfo.c:
1789 Set UNIX_GID from gid, not from uid
1791 2007-09-27 Alexander Larsson <alexl@redhat.com>
1794 Add g_file_set_attributes_async
1796 2007-09-27 Alexander Larsson <alexl@redhat.com>
1798 * gio/glocalfile.c (g_local_file_set_display_name):
1799 Fix set_display_name to actually rename to the right place.
1800 Use lstat to look for existing files so we don't overwrite
1803 2007-09-26 Alexander Larsson <alexl@redhat.com>
1806 Add g_file_set_display_name_async()
1808 2007-09-26 Alexander Larsson <alexl@redhat.com>
1811 Add load_partial_contents async calls
1814 Make internal function static
1816 2007-09-26 Alexander Larsson <alexl@redhat.com>
1818 * gio/glocalfileinfo.c:
1819 Correctly detect broken symlinks
1821 2007-09-26 Alexander Larsson <alexl@redhat.com>
1823 * gio/gcancellable.c (g_cancellable_cancel):
1824 Allow cancel on NULL cancellable
1826 2007-09-25 Alexander Larsson <alexl@redhat.com>
1828 * gio/gsimpleasyncresult.c:
1829 Don't allocate g_error manually.
1830 Fixes g_slice/g_new mixup crash
1832 2007-09-25 Alexander Larsson <alexl@redhat.com>
1834 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
1835 Actually set active_backend.
1836 This means the monitor will be cancelled correctly.
1838 2007-09-25 Alexander Larsson <alexl@redhat.com>
1840 * gio/gdirectorymonitor.c:
1841 Set timeout to NULL when destroying
1843 2007-09-25 Alexander Larsson <alexl@redhat.com>
1846 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
1847 that is a better description of the error.
1849 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
1851 * gio/gvfs.c: (g_vfs_get_local):
1852 Make the local vfs variable static. The same instance should
1855 2007-09-24 Alexander Larsson <alexl@redhat.com>
1857 * gio/glocalfileinfo.c:
1858 Pass in actual length read into sniffer, not the length
1861 2007-09-21 Alexander Larsson <alexl@redhat.com>
1863 * gio/gfileenumerator.c:
1866 * gio/gfileinputstream.c:
1867 * gio/gfileoutputstream.c:
1868 * gio/ginputstream.c:
1869 * gio/goutputstream.c:
1870 Don't crash if async callbacks are NULL
1872 2007-09-20 Alexander Larsson <alexl@redhat.com>
1875 Add async enumerate_children method and default
1878 2007-09-20 Alexander Larsson <alexl@redhat.com>
1881 Add g_file_contains_file & g_file_get_relative_path, since they
1882 were needed for nautilus.
1883 Renamed g_file_resolve_relative to g_file_resolve_relative_path
1888 Implement new methods
1890 2007-09-17 Alexander Larsson <alexl@redhat.com>
1893 * gio/gfileinputstream.[ch]:
1894 * gio/gfileoutputstream.[ch]:
1896 * gio/glocalfileenumerator.[ch]:
1897 * gio/glocalfileinfo.[ch]:
1898 * gio/glocalfileinputstream.c:
1899 * gio/glocalfileoutputstream.c:
1900 * gio/gpollfilemonitor.c:
1901 * programs/gio-copy.c:
1902 * programs/gio-info.c:
1903 * programs/gio-move.c:
1904 Rename get_file_info to query_info() to make it clearer
1905 that these are not simple getters, but do i/o.
1907 2007-09-17 Alexander Larsson <alexl@redhat.com>
1909 * gio/gdatainputstream.[ch]:
1910 * gio/test-streams.c:
1911 Use _read_XXX instead of _get_XXX for the i/o calls
1914 2007-09-17 Alexander Larsson <alexl@redhat.com>
1917 Added needed stuff to TODO comment
1919 2007-09-17 Alexander Larsson <alexl@redhat.com>
1921 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
1922 Don't error out removing the backup copy if it doesn't
1925 2007-09-14 Alexander Larsson <alexl@redhat.com>
1927 * programs/Makefile.am:
1928 * programs/gvfs-*.c:
1930 Renamed apps from gvfs-xxx to gio-xxx.
1932 2007-09-14 Alexander Larsson <alexl@redhat.com>
1935 * gio/gfileoutputstream.[ch]:
1936 * gio/glocalfileoutputstream.c:
1937 * programs/gvfs-save.c:
1938 g_file_output_stream_get_etag doesn't do i/o, so remove
1939 cancellation and error.
1941 2007-09-14 Alexander Larsson <alexl@redhat.com>
1944 Add new_etag output to replace_contents functions
1946 2007-09-14 Alexander Larsson <alexl@redhat.com>
1948 * gio/gfileoutputstream.[ch]:
1949 Add async get_file_info and default implementation
1951 2007-09-14 Alexander Larsson <alexl@redhat.com>
1953 * gio/gfileinputstream.c:
1954 Implement fallback wrapper for async get_file_info
1956 2007-09-14 Alexander Larsson <alexl@redhat.com>
1959 Add etag out argument to load_contents
1964 2007-09-14 Alexander Larsson <alexl@redhat.com>
1966 * gio/gcontenttype.c (looks_like_text):
1967 Whitespace like tab, cr and lf do not make the
1970 2007-09-14 Alexander Larsson <alexl@redhat.com>
1972 * gio/gfileinputstream.[ch]:
1973 Add async get_file_info.
1975 2007-09-13 Alexander Larsson <alexl@redhat.com>
1977 * gio/goutputstream.c (g_output_stream_write_all):
1978 Allow NULL for bytes_written
1980 2007-09-13 Alexander Larsson <alexl@redhat.com>
1982 * gio/gmemoryinputstream.[ch]:
1983 Add accessors for data
1985 2007-09-13 Alexander Larsson <alexl@redhat.com>
1987 * gio/gdatainputstream.c (g_data_input_stream_get_until):
1988 Don't crash if length is NULL