1 2007-12-10 Tor Lillqvist <tml@novell.com>
3 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
6 2007-12-10 Alexander Larsson <alexl@redhat.com>
8 * gfile.c (g_file_set_display_name):
9 Don't hardcode '/' (#502727)
11 2007-12-09 Hans Breuer <hans@breuer.org>
13 * makefile.msc : follow lib naming convention
14 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
15 for user and group name, tested with ../tests/gio-ls
17 2007-12-09 A. Walton <awalton@svn.gnome.org>
30 * gmemoryinputstream.c:
31 * gmemoryoutputstream.c:
33 * gsimpleasyncresult.c:
34 More documentation cleanup and filling in missing information, bringing
35 GIO to 99% symbol coverage.
37 2007-12-08 Hans Breuer <hans@breuer.org>
39 [gio compiles and links on win32, not sure how much already works]
40 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
41 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
42 base on win32 API; prefer g_lstat() over lstat(); instead of
43 localtime_r() use an all GLib implementation on win32;
44 get_mount_info() still needs a win32 specifc implementation
45 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
46 win32_get_file_user_info to get owner/group info without uid/gid
47 * glocalfileinputstream.c : include <io.h> on win32
48 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
49 definition, use g_win32_ftruncate() for G_OS_WIN32
50 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
51 it is available with mingw/w32api but a mess with the M$ Platform SDKs
52 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
53 * makefile.msc : updated
55 2007-12-07 Alexander Larsson <alexl@redhat.com>
57 * glocalfileenumerator.c (_g_local_file_enumerator_new):
58 Avoid warning spew if error == NULL
60 2007-12-07 Alexander Larsson <alexl@redhat.com>
65 2007-12-06 Alexander Larsson <alexl@redhat.com>
68 Include sys/types.h for dev_t (#501919)
70 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
74 Make abicheck and pltcheck pass.
76 2007-12-05 Alexander Larsson <alexl@redhat.com>
79 * giomodule-priv.h: Added.
80 * glocaldirectorymonitor.c:
81 * glocalfilemonitor.c:
82 * gunionvolumemonitor.c:
84 Actually add the declaration of _g_io_modules_ensure_loaded
86 2007-12-05 Alexander Larsson <alexl@redhat.com>
93 * glocaldirectorymonitor.c:
94 * glocalfilemonitor.c:
95 * gunionvolumemonitor.c:
97 Make g_io_modules_ensure_loaded a private function and
98 don't pass in the dirname. This means we can do magic
99 directory finding in the win32 version.
100 Export the actual load-modules-in-directory code so that
103 2007-12-05 Alexander Larsson <alexl@redhat.com>
105 * gbufferedinputstream.c:
106 * gbufferedoutputstream.c:
109 * gfileenumerator.[ch]:
110 * gfileinputstream.c:
111 * gfileoutputstream.[ch]:
112 * gfilterinputstream.c:
113 * gfilteroutputstream.c:
116 * glocalfileenumerator.c:
117 * glocalfileinputstream.c:
118 * glocalfileoutputstream.c:
119 * gmemoryinputstream.c:
120 * gmemoryoutputstream.c:
121 * goutputstream.[ch]:
124 * gunixinputstream.c:
125 * gunixoutputstream.c:
126 Rename all struct members named:
127 read, write, close, truncate, or mount
128 to foo_fn, as these are reserved names
129 and could be defined as macros in libc.
132 2007-12-04 Alexander Larsson <alexl@redhat.com>
135 (g_output_stream_close):
136 Only call flush if non-null.
138 2007-11-30 Dan Winship <danw@gnome.org>
140 * ginputstream.c (g_input_stream_set_pending): Make this take a
141 GError and return a gboolean, and do the "outstanding operation"
142 check (and the "stream is already closed" check) itself.
143 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
145 * goutputstream.c (g_output_stream_set_pending)
146 (g_output_stream_clear_pending): Likewise
148 * gbufferedinputstream.c:
149 * gfileinputstream.c:
150 * gfileoutputstream.c: Update for that
152 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
153 Like g_simple_async_report_error_in_idle, but takes a GError
154 rather than building one.
156 2007-11-30 Dan Winship <danw@gnome.org>
158 * goutputstream.c: Don't cheat and unset the "pending" flag around
159 inner calls. Instead, call the class method directly rather than
160 the wrapper function that checks "pending"
162 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
164 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
166 2007-12-03 Hans Breuer <hans@breuer.org>
168 [start of port to win32/msvc]
169 * gcancellable.c : HAVE_UNIST_H and _pipe()
170 * gcontenttype.c : only include <dirent.h> in the UNIX branch
171 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
172 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
174 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
175 * glocalvfs.c : use HAVE_PWD_H
176 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
177 * makefile.msc : new file (maybe later converted to makefile.msc.in)
178 * Makefile.am : added to EXTRA_DIST
180 2007-12-03 Matthias Clasen <mclasen@redhat.com>
182 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
185 2007-12-03 Alexander Larsson <alexl@redhat.com>
188 Handle OSX style xattrs API (#500506)
190 2007-12-03 Alexander Larsson <alexl@redhat.com>
194 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
196 2007-12-02 A. Walton <awalton@svn.gnome.org>
200 Documentation accuracy fixes.
202 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
204 * gioenumtypes.c.template: Fix typo.
206 2007-12-01 Matthias Clasen <mclasen@redhat.com>
208 * gioenumtypes.c.template: Make threadsafe get_type() functions.
210 2007-12-01 Matthias Clasen <mclasen@redhat.com>
212 * gdirectorymonitor.c:
213 * gfilemonitor.c: Add properties
215 * gbufferedoutputstream.c: Don't mark buffer-size property
218 2007-12-01 Matthias Clasen <mclasen@redhat.com>
220 * gbufferedoutputstream.c: Add auto-grow property.
222 2007-11-30 Matthias Clasen <mclasen@redhat.com>
224 * *.c: Unify the capitalization of section headings.
226 2007-11-30 Matthias Clasen <mclasen@redhat.com>
228 * gmountoperation.c: Add properties
230 * gdatainputstream.c: Turn byte-order and newline-type into
233 2007-11-30 Matthias Clasen <mclasen@redhat.com>
235 * gioenumtypes.[hc].template: Templates for enum registration
237 * Makefile.am: Generate gioenumtypes.[hc]
239 * gio.h: Include gioenumtypes.h
241 * gfile.h: Add some explicit nicks.
243 * gio.symbols: Add new symbols
245 * pltcheck.sh: Adjust
247 2007-11-30 Matthias Clasen <mclasen@redhat.com>
249 * *.c: Explain etags and link to the explanation
251 2007-11-29 Matthias Clasen <mclasen@redhat.com>
253 * *.c: Explain I/O priority.
255 * *.c: More coding style fixes.
257 2007-11-29 Matthias Clasen <mclasen@redhat.com>
259 * gasyncresult.c: Add another paragraph to the intro,
260 adjust coding style of example.
262 2007-11-29 A. Walton <awalton@svn.gnome.org>
265 Fixes unknown meaning in GAppLaunchContext docs.
267 Clarify asynchronous ops.
272 Provides missing gtk-doc section, fixes API docs slighly.
273 * gsimpleasyncresult.c:
274 Fill in missing info in docs.
275 * gunixinputstream.c:
276 * gunixoutputstream.c:
277 Be more expressive in short description.
279 Remove gtk-doc stubs for non-public API.
281 2007-11-28 Matthias Clasen <mclasen@redhat.com>
283 * *.c: Coding style fixups
285 2007-11-28 Matthias Clasen <mclasen@redhat.com>
287 * inotify/inotify-helper.c: Don't export the lock from libgio.
289 2007-11-28 Matthias Clasen <mclasen@redhat.com>
292 * abicheck.sh: Fix copy-and-paste leftovers
294 2007-11-28 Matthias Clasen <mclasen@redhat.com>
296 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
298 2007-11-28 Alexander Larsson <alexl@redhat.com>
302 Removed unnecessary file
304 * gdesktopappinfo.[ch]:
307 * glocaldirectorymonitor.[ch]:
309 * glocalfileenumerator.[ch]:
310 * glocalfileinputstream.[ch]:
311 * glocalfilemonitor.[ch]:
312 * glocalfileoutputstream.[ch]:
314 * gnativevolumemonitor.c:
315 * gpollfilemonitor.[ch]:
316 * gunionvolumemonitor.[ch]:
319 * gunixvolumemonitor.[ch]:
322 * inotify/ginotifydirectorymonitor.[ch]:
323 * inotify/ginotifyfilemonitor.[ch]:
324 * inotify/inotify-helper.c:
325 Append _ to all internal functions
329 Export symbols needed for modules
331 2007-11-28 Alexander Larsson <alexl@redhat.com>
334 * abicheck.sh: Added.
335 * makegioalias.pl: Added.
336 * pltcheck.sh: Added.
337 * gio.symbols: Added.
340 Initial work on adding symbol handling.
343 Correct ifdef guard name
346 * inotify/Makefile.am:
347 * xdgmime/Makefile.am:
348 Include toplevel Makefile.decl
350 2007-11-27 Matthias Clasen <mclasen@redhat.com>
352 * gcontenttype.c: Move doc comments to the unix section.
354 * *.[hc]: More trivial doc corrections.
356 2007-11-27 Matthias Clasen <mclasen@redhat.com>
358 * gpollfilemonitor.c:
367 * gdatainputstream.c:
368 * gdatainputstream.h:
369 * gdataoutputstream.c:
370 * gdataoutputstream.h:
371 * gfileinfo.h: Doc cleanups
373 2007-11-28 Andre Klapper <a9016009@gmx.de>
375 * gdesktopappinfo.c: Fix a typo.
377 2007-11-27 Andre Klapper <a9016009@gmx.de>
379 * glocalfileoutputstream.c: Fix a typo.
381 2007-11-27 Alexander Larsson <alexl@redhat.com>
384 Don't include removed headers
386 2007-11-27 Alexander Larsson <alexl@redhat.com>
389 * gsocketinputstream.[ch]: Removed.
390 * gsocketoutputstream.[ch]: Removed.
391 * gunixinputstream.[ch]: Added.
392 * gunixoutputstream.[ch]: Added.
393 Renamed GSocket*Stream to GUnix*Stream and made
394 it unix-only, since its not really only for sockets
395 and it only works on unix (but is highly useful there).
397 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
403 * gbufferedinputstream.c:
404 * gbufferedinputstream.h:
405 * gbufferedoutputstream.c:
406 * gbufferedoutputstream.h:
410 * gdatainputstream.c:
411 * gdatainputstream.h:
412 * gdataoutputstream.c:
413 * gdataoutputstream.h:
414 * gdirectorymonitor.c:
415 * gdirectorymonitor.h:
428 * gfileinputstream.c:
429 * gfileinputstream.h:
432 * gfilenamecompleter.c:
433 * gfilenamecompleter.h:
434 * gfileoutputstream.c:
435 * gfileoutputstream.h:
436 * gfilterinputstream.c:
437 * gfilterinputstream.h:
438 * gfilteroutputstream.c:
439 * gfilteroutputstream.h:
452 * glocalfileoutputstream.c:
453 * gmemoryinputstream.c:
454 * gmemoryinputstream.h:
455 * gmemoryoutputstream.c:
456 * gmemoryoutputstream.h:
461 * gpollfilemonitor.c:
464 * gsimpleasyncresult.c:
465 * gsimpleasyncresult.h:
466 * gsocketinputstream.c:
467 * gsocketinputstream.h:
468 * gsocketoutputstream.c:
469 * gsocketoutputstream.h:
476 * gunixvolumemonitor.c:
485 Bumps documentation to 93% symbol coverage, touching most
486 of the public files. Fixes broken function documentation prototypes.
487 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
488 gtk-doc headers in private files.
490 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
492 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
493 (g_buffered_input_stream_read_byte):
494 * gbufferedinputstream.h:
495 New functions for efficient access to buffer and simple single byte
498 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
499 (g_data_input_stream_read_until):
500 * gdatainputstream.h:
501 Use peek_buffer to avoid memcpy in scan_for_newline, implement
502 read_until with multiple stop chars.
504 2007-11-27 Alexander Larsson <alexl@redhat.com>
508 * inotify/Makefile.am:
509 Use the user-specified giomoduledir
511 2007-11-27 Alexander Larsson <alexl@redhat.com>
515 Add catch-all gio.h header
516 Don't install gdummyfile.h
518 2007-11-26 Alexander Larsson <alexl@redhat.com>
520 * Makefile.am (gioinclude_HEADERS):
521 Remove trailing whitespace
523 2007-11-26 Alexander Larsson <alexl@redhat.com>
525 Merge gio-standalone into glib
527 2007-11-25 Christian Kellner <gicmo@gnome.org>
529 * gio/goutputstream.c:
530 Fix small mistake in the docs.
532 2007-11-21 Christian Persch <chpe@gnome.org>
534 * gio/glocalfile.c: (g_local_file_trash):
535 Convert filenames to UTF-8 for GError.
536 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
537 as per xdg base dir spec.
539 2007-11-21 Christian Persch <chpe@gnome.org>
541 * gio/gdesktopappinfo.c:
542 Use that g_key_file_to_data cannot fail.
544 Use stock defines for the key file group and key names.
547 2007-11-21 Alexander Larsson <alexl@redhat.com>
550 (copy_stream_with_progress):
551 Make sure we do a final progress callback with
554 2007-11-21 Alexander Larsson <alexl@redhat.com>
557 Export g_file_copy_attributes
558 Remove padding as its not needed for interfaces
560 2007-11-20 Alexander Larsson <alexl@redhat.com>
565 Add G_IO_ERROR_WOULD_MERGE for
566 copy/move dir on dir with overwrite.
568 2007-11-20 Alexander Larsson <alexl@redhat.com>
571 * gio/glocalfileinfo.c:
572 Add COPY_NAME (this is an optional
573 non-modified utf8 version of the name) that
576 2007-11-20 Alexander Larsson <alexl@redhat.com>
578 * gio/glocalfileenumerator.c:
579 Report errors as GIOError, not GFileError
581 2007-11-16 Alexander Larsson <alexl@redhat.com>
583 * gio/glocalfileoutputstream.c:
584 * gio/gwin32appinfo.c:
585 Fix typos in strings.
586 Patch from Luca Ferretti <elle.uca@libero.it>
588 2007-11-15 Alexander Larsson <alexl@redhat.com>
591 Post release version bump
593 === gio-standalone 0.1.2 ===
595 2007-11-15 Alexander Larsson <alexl@redhat.com>
597 * docs/reference/gio/Makefile.am:
598 Fix up distcheck by removing weird
604 2007-11-14 Alexander Larsson <alexl@redhat.com>
606 * gio/gdesktopappinfo.c:
607 * gio/glocaldirectorymonitor.c:
609 * gio/glocalfileinfo.c:
610 * gio/inotify/inotify-sub.c:
611 * programs/gio-cat.c:
612 * programs/gio-copy.c:
613 * programs/gio-info.c:
615 * programs/gio-monitor-dir.c:
616 * programs/gio-monitor-file.c:
617 * programs/gio-mount.c:
618 * programs/gio-move.c:
620 * programs/gio-save.c:
621 * programs/gio-trash.c:
622 Leak fixes from Kjartan Maraas
624 2007-11-14 Alexander Larsson <alexl@redhat.com>
626 * gio/fam/fam-helper.c:
628 * gio/glocalfileinfo.c:
632 * gio/inotify/inotify-diag.c:
633 * gio/inotify/inotify-kernel.c:
634 Various code cleanups from Kjartan Maraas
636 2007-11-14 Alexander Larsson <alexl@redhat.com>
638 * gio/gioscheduler.c:
640 Set up threadpool so that we cache 2 unused
641 idle threads for at 15 secs. This means we
642 will reuse thread-local data (like dbus connections)
645 2007-11-14 Alexander Larsson <alexl@redhat.com>
647 * gio/fam/fam-helper.c:
648 * gio/fam/gfamdirectorymonitor.c:
649 * gio/fam/gfamfilemonitor.c:
651 * gio/gcontenttype.c:
652 * gio/gdatainputstream.c:
653 * gio/gdataoutputstream.c:
657 * gio/gfileattribute.h:
658 * gio/gfileenumerator.c:
660 * gio/ginputstream.c:
663 * gio/glocalfileinfo.c:
664 * gio/goutputstream.c:
665 * gio/gpollfilemonitor.c:
666 * gio/gsimpleasyncresult.c:
669 * gio/inotify/ginotifydirectorymonitor.c:
670 * gio/inotify/ginotifyfilemonitor.c:
671 * gio/inotify/inotify-diag.c:
672 * gio/inotify/inotify-kernel.c:
673 * gio/inotify/inotify-path.c:
675 * gio/test-streams.c:
676 * programs/gio-info.c:
677 * programs/gio-monitor-dir.c:
678 * programs/gio-monitor-file.c:
679 Various code cleanups from Kjartan Maraas
681 2007-11-13 Alexander Larsson <alexl@redhat.com>
684 Handle the uri-scheme calls for dummy files
686 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
688 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
689 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
690 to avoid clash with the C++ keyword.
692 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
694 * gio/glocalfileinfo.c: Build fix, added missing semicolon
695 to an ifdef'ed call to getpwuid() in lookup_uid_data().
697 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
699 * gio/glocaldirectorymonitor.c:
700 * gio/glocalfilemonitor.c:
701 * gio/gunionvolumemonitor.c:
702 Don't use g_once_init_*() for initializations that could fail and
703 could leave the initialization variable set to 0 but use GOnce.
704 This prevents a deadlock on the second call when trying to create
705 a monitor and no monitor type is available. Thanks to Sven Herzberg
708 2007-11-11 Sven Herzberg <sven@imendio.com>
710 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
711 #ifdef (make it work on MacOS X again)
713 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
715 Fixes Changelog for last two commits (sorry guys).
717 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
719 * gio/gbufferedinputstream.c:
720 * gio/gdatainputstream.c:
722 * gio/gfileoutputstream.c:
723 * gio/gfilterinputstream.c:
724 * gio/glocalfileinputstream.c:
727 More consistency fixes in g*stream.c files.
728 Significant clean of gfile's documentation, filling in of
729 asynchronous operations documentation.
731 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
733 * gio/gasyncresult.c:
734 * gio/gbufferedinputstream.c:
735 * gio/gbufferedoutputstream.c:
736 * gio/gcancellable.c:
737 * gio/gcontenttype.c:
738 * gio/gdatainputstream.c:
739 * gio/gdataoutputstream.c:
740 * gio/gdesktopappinfo.c:
743 * gio/gfileattribute.c:
744 * gio/gio/gfileenumerator.c:
746 * gio/gfileinputstream.c:
747 * gio/gfilemonitor.c:
748 * gio/gfileoutputstream.c:
749 * gio/ginputstream.c:
751 * gio/gioscheduler.c:
752 * gio/gloadableicon.c:
753 * gio/glocalfileoutputstream.c:
754 * gio/gmemoryoutputstream.c:
755 * gio/gmountoperation.c:
756 * gio/goutputstream.c:
758 * gio/gsimpleasyncresult.c:
759 * gio/gunionvolumemonitor.c:
765 * gio/gvolumemonitor.c:
766 Updated documentation stubs, working towards consistency and
769 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
771 * gio/gmemoryoutputstream.c:
772 * gio/gmemoryoutputstream.h:
773 Change g_memory_output_stream_set_free_on_close() to
774 g_memory_output_stream_set_free_data() as this makes more sense and
775 is more consistent with GMemoryInputStream.
777 2007-11-07 Alexander Larsson <alexl@redhat.com>
784 Change how we find the default vfs so that
785 we can handle a gvfs failing to init
787 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
789 * gio/gbufferedoutputstream.c:
790 * gio/gdatainputstream.c:
791 * gio/gdataoutputstream.c:
792 * gio/gfileinputstream.c:
793 * gio/gfileoutputstream.c:
794 * gio/gfilterinputstream.c:
795 * gio/gfilteroutputstream.c:
796 * gio/ginputstream.c:
797 * gio/gmemoryinputstream.c:
798 * gio/gmemoryoutputstream.c:
799 * gio/goutputstream.c:
800 * gio/gsimpleasyncresult.c:
801 * gio/gsocketinputstream.c:
802 * gio/gsocketoutputstream.c:
803 Add guards to the remaining public functions, add a TODO for
804 an unimplemented function and remove some useless guards.
806 2007-11-07 Alexander Larsson <alexl@redhat.com>
809 Autoconf checks for the various types of
810 getpwuid_r and getgrgid_r
812 * gio/glocalfileinfo.c:
813 Use the autoconf checks from above
815 2007-11-07 Alexander Larsson <alexl@redhat.com>
818 (g_local_file_query_filesystem_info):
819 Some fixes for the statvfs case
821 2007-11-07 Alexander Larsson <alexl@redhat.com>
824 (g_local_file_query_filesystem_info):
825 Pick the "best" of statfs / statvfs for the system
826 if both are availible.
828 2007-11-07 Alexander Larsson <alexl@redhat.com>
830 Solaris fixes from Halton.Huo@Sun.COM:
837 * gio/glocalfileinfo.c:
838 Fix for solaris definition of getpwuid_r
840 * gio/test-streams.c:
841 Use G_GNUC_PRETTY_FUNCTION
843 2007-11-07 Alexander Larsson <alexl@redhat.com>
845 * gio/gdesktopappinfo.c:
846 (update_default_list):
847 Remove double semicolon.
848 Patch from Jens Granseuer
850 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
852 * docs/reference/gio/gio-sections.txt:
853 * gio/gbufferedinputstream.c:
854 * gio/gbufferedinputstream.h:
855 * gio/gdatainputstream.c:
856 * gio/gfileenumerator.c:
857 * gio/gioscheduler.c:
858 * gio/gunionvolumemonitor.c:
860 * programs/gio-save.c:
861 Fix typo: availible -> available. Unfortuntely this breaks API
862 and ABI as g_buffered_input_stream_get_available() was renamed.
865 * gio/gbufferedinputstream.c:
866 Add guards for public functions.
868 2007-11-06 Ross Burton <ross@openedhand.com>
870 * docs/reference/gio/Makefile.am:
871 Fix invalid += usage which automake 1.10 doesn't like.
873 2007-11-06 Alexander Larsson <alexl@redhat.com>
876 (g_app_launch_context_class_init):
879 Patch from Ross Burton
881 2007-11-06 Alexander Larsson <alexl@redhat.com>
884 Post release version bump
886 === gio-standalone 0.1.1 ===
888 2007-11-06 Alexander Larsson <alexl@redhat.com>
891 Bump version to 0.1.1
893 * gio/gsimpleasyncresult.c:
894 (g_simple_async_result_set_from_error):
895 Remove bogus g_return_if_fail
897 2007-11-06 Alexander Larsson <alexl@redhat.com>
900 The name is gio-standalone
903 Add top src/builddir to includedir
905 2007-11-06 Alexander Larsson <alexl@redhat.com>
907 * docs/reference/gio/gio-sections.txt:
909 * gio/gbufferedinputstream.c:
910 * gio/gbufferedoutputstream.c:
911 * gio/gcancellable.c:
912 * gio/gdatainputstream.h:
913 * gio/gdataoutputstream.c:
914 * gio/gdataoutputstream.h:
915 * gio/gdirectorymonitor.c:
917 * gio/gfileattribute.c:
918 * gio/gfileattribute.h:
919 * gio/gfileenumerator.c:
920 * gio/gfileenumerator.h:
923 * gio/gfileinputstream.h:
924 * gio/gfilemonitor.c:
925 * gio/gfileoutputstream.h:
926 * gio/glocalfilemonitor.h:
927 * gio/glocalfileoutputstream.h:
928 * gio/gmemoryinputstream.c:
929 * gio/gmemoryoutputstream.c:
930 * gio/gmountoperation.c:
931 * gio/goutputstream.c:
932 * gio/goutputstream.h:
934 * gio/gsimpleasyncresult.c:
938 * gio/inotify/inotify-helper.c:
941 Patch from Ross Burton
943 2007-11-06 Alexander Larsson <alexl@redhat.com>
945 * gio/gfilenamecompleter.c:
946 (g_filename_completer_get_completions):
950 Remove unused function
952 Patches from Ross Burton
954 2007-11-06 Alexander Larsson <alexl@redhat.com>
959 Padding not needed for interfaces
961 2007-11-06 Alexander Larsson <alexl@redhat.com>
963 * gio/gfilemonitor.c:
967 Make giotypes.h an internal file
970 * gio/gbufferedinputstream.h:
971 * gio/gbufferedoutputstream.h:
972 * gio/gcancellable.h:
973 * gio/gdatainputstream.h:
974 * gio/gdataoutputstream.h:
975 * gio/gdirectorymonitor.c:
976 * gio/gdirectorymonitor.h:
981 * gio/gfileattribute.h:
982 * gio/gfileenumerator.h:
987 * gio/gfilemonitor.c:
988 * gio/gfilemonitor.h:
989 * gio/gfilenamecompleter.c:
990 * gio/gfilenamecompleter.h:
991 * gio/gfilterinputstream.h:
992 * gio/gfilteroutputstream.h:
993 * gio/ginputstream.h:
994 * gio/gmemoryinputstream.h:
995 * gio/gmemoryoutputstream.h:
996 * gio/gmountoperation.c:
997 * gio/gmountoperation.h:
998 * gio/gnativevolumemonitor.c:
999 * gio/goutputstream.h:
1002 * gio/gsimpleasyncresult.c:
1003 * gio/gsimpleasyncresult.h:
1004 * gio/gsocketinputstream.h:
1005 * gio/gsocketoutputstream.h:
1006 * gio/gthemedicon.c:
1007 * gio/gthemedicon.h:
1011 * gio/gvolumemonitor.c:
1012 * gio/gvolumemonitor.h:
1013 Add padding in classes where it seems useful
1014 Don't include giotypes.h from public headers
1015 Move in Class definitions into c file where possible
1020 2007-11-06 Alexander Larsson <alexl@redhat.com>
1022 * docs/reference/gio/gio-docs.xml:
1023 Better structure for API docs
1025 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1028 * gio/gloadableicon.c:
1029 * gio/gsimpleasyncresult.c:
1030 * gio/gthemedicon.c:
1031 Add some more guards to public functions. Only files missing are now
1034 2007-11-06 Alexander Larsson <alexl@redhat.com>
1036 * docs/reference/gio/gio-docs.xml:
1037 Remove old files, add missing ones
1039 2007-11-06 Alexander Larsson <alexl@redhat.com>
1041 * docs/reference/gio/gio-sections.txt:
1044 Hide implementation classes
1046 * gio/gdriveprivate.h:
1047 * gio/gvolumeprivate.h:
1048 Remove non-existing function declarations
1050 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1053 Fix compilation warnings and add guards to the new functions.
1055 * gio/gasyncresult.c:
1057 Add guards to the public functions.
1060 Implement get_path().
1062 2007-11-06 Alexander Larsson <alexl@redhat.com>
1064 * gio/gfilenamecompleter.c:
1065 Make g_filename_completer_get_completions
1066 return char ** instead of GList for
1069 * docs/reference/gio/gio-docs.xml:
1070 * docs/reference/gio/gio-sections.txt:
1072 * gio/gasyncresult.c:
1073 * gio/gbufferedinputstream.c:
1074 * gio/gbufferedoutputstream.c:
1075 * gio/gcancellable.c:
1076 * gio/gcontenttype.c:
1077 * gio/gdatainputstream.c:
1078 * gio/gdataoutputstream.c:
1079 * gio/gdesktopappinfo.c:
1080 * gio/gdirectorymonitor.c:
1084 * gio/gfileattribute.c:
1085 * gio/gfileenumerator.c:
1088 * gio/gfileinputstream.c:
1089 * gio/gfilemonitor.c:
1090 * gio/gfilenamecompleter.c:
1091 * gio/gfilenamecompleter.h:
1092 * gio/gfileoutputstream.c:
1093 * gio/gfilterinputstream.c:
1095 * gio/ginputstream.c:
1097 * gio/gioscheduler.c:
1098 * gio/gloadableicon.c:
1099 * gio/glocaldirectorymonitor.c:
1101 * gio/glocalfileinputstream.c:
1102 * gio/glocalfilemonitor.c:
1103 * gio/glocalfileoutputstream.c:
1105 * gio/gmemoryinputstream.c:
1106 * gio/gmemoryoutputstream.c:
1107 * gio/gmountoperation.c:
1108 * gio/goutputstream.c:
1109 * gio/gpollfilemonitor.c:
1111 * gio/gsimpleasyncresult.c:
1112 * gio/gsocketinputstream.c:
1113 * gio/gsocketoutputstream.c:
1114 * gio/gthemedicon.c:
1115 * gio/gunionvolumemonitor.c:
1117 * gio/gunixmounts.c:
1118 * gio/gunixvolume.c:
1119 * gio/gunixvolumemonitor.c:
1123 * gio/gvolumemonitor.c:
1124 * gio/gwin32appinfo.c:
1125 Add (mostly stub) doc strings to public functions.
1126 Patch from Andrew Walton (awalton@gmail.com)
1128 2007-11-06 Alexander Larsson <alexl@redhat.com>
1130 * gio/gappinfo.[ch]:
1131 Added GAppLaunchContext object and pass that to launch.
1132 This allows simple implementation of both
1133 launch-on-screen and startup notification via a gtk+
1134 subclass of GAppLaunchContext
1136 * gio/gdesktopappinfo.c:
1137 Implement GAppLaunchContext API
1139 * gio/gwin32appinfo.c:
1142 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1144 * gio/gmountoperation.c:
1145 Add some guards to GMountOperation's public functions.
1147 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1151 * gio/gcancellable.c:
1152 * gio/gdirectorymonitor.c:
1154 * gio/gfileenumerator.c:
1155 * gio/gfilemonitor.c:,
1156 * gio/gfilenamecompleter.c:
1159 * gio/gioscheduler.c:
1163 * gio/gvolumemonitor.c:
1164 Add even more guards to various public functions.
1166 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1169 Add guards to the public functions of GAppInfo.
1171 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1173 * gio/gcontenttype.c:
1174 Add some more guards for public functions.
1176 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1178 * gio/fam/fam-module.c:
1179 * gio/fam/gfamdirectorymonitor.c:
1180 * gio/fam/gfamdirectorymonitor.h:
1181 * gio/fam/gfamfilemonitor.c:
1182 * gio/fam/gfamfilemonitor.h:
1183 * gio/inotify/ginotifydirectorymonitor.c:
1184 * gio/inotify/ginotifydirectorymonitor.h:
1185 * gio/inotify/ginotifyfilemonitor.c:
1186 * gio/inotify/ginotifyfilemonitor.h:
1187 Add proper copyright information and remove an unused variable
1188 in the GInotifyFileMonitor constructor.
1190 * gio/gcancellable.c:
1191 Add a guard for a public function and an assertion to prevent
1192 an undefined program state.
1194 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1196 * gio/gfileattribute.c:
1197 Don't run into an assertion if the given attribute value is NULL
1198 in g_file_attribute_value_get_*() but instead return a fallback
1199 value that makes sense in most situations. Passing them a attribute
1200 value with the wrong type will still run into an assertion.
1202 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1204 * gio/gfileattribute.c:
1206 Add even more guards to the public functions. Also fix the refcounting
1207 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1208 let g_file_info_list_attributes() filter the attributes by namespace
1209 instead of simply ignoring the namespace parameter.
1211 2007-11-03 Sven Herzberg <sven@imendio.com>
1213 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1214 (This makes gio work on MacOS X again)
1216 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1219 Build the gio subdirectory before the docs. Otherwise the build will
1222 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1223 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1224 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1225 Add guards to the public functions.
1227 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1229 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1230 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1231 to prevent a compiler warning.
1233 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1234 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1235 return something in the non-void function find_topdir_for().
1237 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1244 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1246 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1247 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1248 * gwin32appinfo.c (g_win32_app_info_launch):
1249 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1250 envp_for_startup_id, g_desktop_app_info_launch,
1251 g_desktop_app_info_launch_uris):
1253 Give an opaque 'startup_id' string instead of 'envp'.
1254 Support empty file lists for launching new windows.
1255 Fix infinite recursion bug when launching URIs.
1257 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1260 Add guard to the new g_file_get_uri_scheme() function.
1262 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1265 Convert a g_return_val_if_fail() to setting the GError instead as
1266 otherwise applications have to verify the parameter before otherwise
1267 and the parameter might come directly from the user.
1269 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1271 * gio/inotify/ginotify*.[ch]:
1272 Add missing copyright information.
1274 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1277 Add guards in the beginning of public functions to check for valid
1278 parameters and fix a bug in copy_stream_with_progress() that could've
1279 caused writing less bytes than reading.
1280 * gio/glocalfileinfo.c:
1281 Check for a NULL parameter and set the GError accordingly then.
1282 * gio/goutputstream.c:
1283 Fix the same bug as in gfile.c that could've caused writing less bytes
1284 than reading in g_output_stream_real_splice().
1286 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1289 Use the correct gvolumeprivate.h naming
1291 2007-11-01 Christian Kellner <gicmo@gnome.org>
1294 Remove leftover "$(daemon_sources)" entry.
1296 2007-11-01 Christian Kellner <gicmo@gnome.org>
1301 Add copyright information to source files.
1303 2007-11-01 Alexander Larsson <alexl@redhat.com>
1307 Add g_file_get_uri_scheme
1309 2007-11-01 Alexander Larsson <alexl@redhat.com>
1312 * gio/gdesktopappinfo.c:
1313 * gio/gwin32appinfo.c:
1314 Add g_app_info_get_default_for_uri_scheme.
1316 2007-11-01 Alexander Larsson <alexl@redhat.com>
1319 Correct filename for gdriveprivate.h
1321 2007-10-31 Alexander Larsson <alexl@redhat.com>
1324 Rename id:value to id:file
1327 * gio/glocalfileinfo.c:
1330 2007-10-31 Alexander Larsson <alexl@redhat.com>
1332 * gio/gunixvolume.c:
1334 Remove g_volume_get_platform_id, as thats not
1335 needed with the simpler union volume monitor
1337 2007-10-31 Alexander Larsson <alexl@redhat.com>
1340 * gio/guniondrive.[ch]: Removed.
1341 * gio/gunionvolume.[ch]: Removed.
1342 Remove GUnionDrive/Volume
1344 * gio/gunionvolumemonitor.c:
1345 Simplify union volume monitor, now we
1346 only have one native volume monitor and
1347 we use the actual volumes/drives from the
1348 child monitors instead of wrapping them
1350 * gio/gnativevolumemonitor.[ch]:
1351 Base class for native volume monitors.
1352 Includes priority and get_volume_for_mountpoint
1355 Add g_file_find_enclosing_volume
1358 Remove volume name fs attribute
1359 Add readonly fs attribute
1362 Implement readonly attribute
1363 remove volume name attribute
1364 Implement find_enclosing volume
1366 * gio/gunixmounts.c:
1367 Add a volume for "/".
1369 * gio/gunixvolume.[ch]:
1370 Set better name for /
1372 * gio/gunixvolumemonitor.[ch]:
1373 Derive from GNativeVolumeMonitor
1374 Implement get_volume_for_mountpoint
1377 GVolume typedef moved to gfile.h
1379 * gio/gvolumeprivate.h:
1380 Add g_volume_get_for_mount_path
1382 2007-10-31 Alexander Larsson <alexl@redhat.com>
1384 * gio/gunixmounts.[ch]:
1385 Add cache info to unix mount listers
1386 Make getmntent use threadsafe
1387 Add is_system_internal attribute for GUnixMount
1389 * gio/gunixvolume.c:
1390 (g_unix_volume_new):
1391 Use is_system_internal instead of own code
1393 * gio/glocaldirectorymonitor.c:
1394 * gio/gunixvolumemonitor.c:
1395 Update to new gunixmounts API
1400 2007-10-30 Alexander Larsson <alexl@redhat.com>
1403 Add volume name fsinfo attribute
1406 Read volume name info
1408 * gio/gunionvolumemonitor.c:
1409 Fix infinite loops when finalizing a union volume monitor
1411 2007-10-30 Alexander Larsson <alexl@redhat.com>
1413 * gio/goutputstream.[ch]:
1414 Add splice() with default implementation
1416 * gio/gsocketoutputstream.c:
1417 (g_socket_output_stream_write):
1418 Return error on cancellation correctly.
1420 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1422 * gio/glocalfile.c (g_local_file_trash):
1423 Do not leak a string.
1425 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1427 * gio/gfile.c (g_file_load_contents):
1428 Unref the stream after closing it.
1430 2007-10-25 Alexander Larsson <alexl@redhat.com>
1432 * gio/gioscheduler.h:
1435 2007-10-25 Alexander Larsson <alexl@redhat.com>
1439 Add g_file_has_uri_scheme and implement for local files
1441 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1443 * gio/gdesktopappinfo.c: do not leak a string.
1445 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1447 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1448 (g_local_directory_monitor_new):
1449 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1450 (g_local_file_monitor_new):
1451 Only look for the monitor type that should be used the first time
1452 and use g_qsort_with_data() instead of our own bubble sort
1455 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1458 * gio/fam/Makefile.am:
1459 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1460 * gio/fam/fam-helper.h:
1461 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1462 * gio/fam/gfamdirectorymonitor.c:
1463 * gio/fam/gfamdirectorymonitor.h:
1464 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1465 * gio/fam/gfamfilemonitor.h:
1466 * gio/glocaldirectorymonitor.c:
1467 * gio/glocaldirectorymonitor.h:
1468 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1469 * gio/glocalfilemonitor.h:
1470 * gio/inotify/Makefile.am:
1471 * gio/inotify/ginotifydirectorymonitor.c:
1472 * gio/inotify/ginotifydirectorymonitor.h:
1473 * gio/inotify/ginotifyfilemonitor.c:
1474 * gio/inotify/ginotifyfilemonitor.h:
1475 Implement the FAM and Inotify monitors as
1476 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1477 their own GIO module. GLocal(Directory|File)Monitor will use the
1478 monitor with the highest rank that is supported on that machine.
1480 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1483 Change GIO module dir to $(libdir)/gio/modules and change
1484 the log domain from GVFS to GIO. Also only export symbols starting
1485 with g_ in the resulting library.
1486 * gio/test-streams.c: (main):
1487 Set log handler for the GIO log domain.
1489 2007-10-22 Alexander Larsson <alexl@redhat.com>
1491 * gio/gfilenamecompleter.[ch]:
1492 Add g_filename_completer_set_dirs_only
1494 2007-10-22 Alexander Larsson <alexl@redhat.com>
1497 * gio/gurifuncs.[ch]:
1498 Add some simple URI helpers
1500 * gio/gfilenamecompleter.[ch]:
1501 Added object for filename (parse name actually) completion
1504 Handle ~ in parse names
1506 2007-10-17 Alexander Larsson <alexl@redhat.com>
1509 * gio/glocalfileinfo.c:
1510 Add and implement id:value attribute
1512 2007-10-17 Alexander Larsson <alexl@redhat.com>
1515 * gio/guniondrive.c:
1517 Add and implement g_drive_has_volumes
1519 2007-10-17 Alexander Larsson <alexl@redhat.com>
1522 * gio/glocalfileinfo.[ch]:
1523 Add unix:is_mountpoint and implement for local files
1525 2007-10-16 Alexander Larsson <alexl@redhat.com>
1527 * gio/gunionvolumemonitor.c:
1528 (g_union_volume_monitor_init):
1529 Fix up the unix type getting so that it works with gcc
1531 2007-10-12 Alexander Larsson <alexl@redhat.com>
1534 * gio/glocalfileinfo.c:
1535 Add thumbnail:failed to file info
1537 2007-10-12 Richard Hult <richard@imendio.com>
1539 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1540 optimizing away the get_type call (happens with some gcc versions,
1541 like the one shipped with OS X 10.4).
1543 2007-10-12 Alexander Larsson <alexl@redhat.com>
1545 * gio/glocalfileinfo.c:
1546 (_g_local_file_info_set_attribute):
1547 Fix build if not HAVE_XATTR
1548 Patch from Milosz Derezynski <internalerror@gmail.com>
1550 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1552 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1553 around for review, otherwise I would have asked you before
1556 2007-10-11 Alexander Larsson <alexl@redhat.com>
1559 Add thumbnail:path attribute
1561 * gio/glocalfileinfo.c:
1562 Implement thumbnail:path for local files
1564 2007-10-11 Alexander Larsson <alexl@redhat.com>
1566 * gio/glocalfileinfo.c:
1567 (_g_local_file_info_get):
1568 Avoid duplicate icon names
1570 2007-10-11 Alexander Larsson <alexl@redhat.com>
1572 * gio/gthemedicon.[ch]:
1573 Change g_themed_icon_get_names return type to const
1575 2007-10-10 Alexander Larsson <alexl@redhat.com>
1577 * gio/glocalfileinfo.c:
1578 Don't reference freed memory
1580 2007-10-10 Alexander Larsson <alexl@redhat.com>
1582 * gio/gfileattribute.c:
1585 * gio/glocalfileinfo.c:
1588 2007-10-10 Alexander Larsson <alexl@redhat.com>
1591 Check for NULL icons
1593 * gio/gfileattribute.c:
1594 Don't dup when getting objects (same as for string attributes)
1596 * gio/gicon.c (g_icon_equal):
1597 Safely handle NULLs in equal
1599 2007-10-10 Alexander Larsson <alexl@redhat.com>
1602 Fix c++ compilation issues
1603 Patch from Milosz Derezynski <internalerror@gmail.com>
1605 2007-10-10 Alexander Larsson <alexl@redhat.com>
1607 * programs/gio-monitor-dir.c:
1608 Don't crash if dir monitor not supported.
1610 2007-10-09 Alexander Larsson <alexl@redhat.com>
1613 Add missing G_END_DECLS
1615 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1617 * gio/gfile.c: (g_file_set_display_name),
1618 (g_file_query_settable_attributes),
1619 (g_file_query_writable_namespaces):
1620 Return NULL not FALSE on errors as the return type is a pointer.
1622 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1624 * gio/glocalfile.c: (g_local_file_monitor_file):
1625 Don't call monitor_file on the default interface vtable (which
1626 is NULL) but simply return NULL. The caller, GFile, will create a
1627 polling monitor if NULL is returned.
1629 2007-10-09 Alexander Larsson <alexl@redhat.com>
1633 * gio-unix-2.0.pc.in:
1634 Add gio-unix-2.0.pc if OS_UNIX
1637 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1639 2007-10-09 Alexander Larsson <alexl@redhat.com>
1641 * gio/gunixmounts.[ch]:
1642 Make unix mount monitoring API sane.
1643 Now its just a object with mounts_changed
1644 and mountpoints_changed signals.
1646 * gio/glocaldirectorymonitor.c:
1647 * gio/gunixvolumemonitor.c:
1648 Use new mount monitor api
1650 2007-10-09 Alexander Larsson <alexl@redhat.com>
1652 * gio/gunixmounts.[ch]:
1653 Move guess type into one call for mounts and one for mountpoints
1656 * gio/gunixvolume.c:
1659 2007-10-09 Alexander Larsson <alexl@redhat.com>
1661 * gio/gunixmounts.[ch]:
1662 Remove _ prefix in preparation to make this semi-public
1663 Hide implementation of structs
1665 * gio/glocaldirectorymonitor.c:
1667 * gio/gunixvolume.c:
1668 * gio/gunixvolumemonitor.c:
1669 Update for above API changes
1671 2007-10-08 Alexander Larsson <alexl@redhat.com>
1674 Better polling fallback. This also handles the case where we have
1675 a monitor_file implementation, but it fails.
1677 2007-10-08 Alexander Larsson <alexl@redhat.com>
1681 * gio/gunixmounts.c:
1682 * programs/gio-monitor-dir.c:
1683 * programs/gio-monitor-file.c:
1684 Added cancellable to file monitoring calls.
1685 These are really sync calls and need this.
1687 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1689 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1690 (g_local_vfs_class_init):
1691 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1692 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1694 2007-10-05 Alexander Larsson <alexl@redhat.com>
1696 * gio/gdirectorymonitorprivate.h:
1697 * gio/gfilemonitorprivate.h:
1698 * gio/gdirectorymonitor.h:
1699 * gio/gfilemonitor.h:
1700 Remove *private.h and move to the public API, so that
1701 we can do implementations outside gio (such as in gvfs)
1703 * gio/gdirectorymonitor.c:
1704 * gio/gfilemonitor.c:
1705 * gio/glocaldirectorymonitor.c:
1706 * gio/gpollfilemonitor.c:
1707 * gio/inotify/inotify-helper.c:
1708 * gio/fam/fam-helper.c:
1709 Update to the new header names
1711 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
1713 * gio/gdirectorymonitor.c:
1714 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1717 2007-10-04 Alexander Larsson <alexl@redhat.com>
1719 * gio/glocalfileinfo.c (get_access_rights):
1720 Set CAN_TRASH when we can move the file.
1721 We should really also check for a parent trash dir.
1723 2007-10-04 Alexander Larsson <alexl@redhat.com>
1725 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1726 Add can_trash access attribute
1728 2007-10-04 Alexander Larsson <alexl@redhat.com>
1731 (g_local_file_trash):
1732 Create info file first. This is per-spec and allows
1733 us to actually trash directories.
1735 2007-10-02 Alexander Larsson <alexl@redhat.com>
1737 * gio/gdesktopappinfo.c:
1738 Implement the new mime support code.
1739 Always set app as handling mimetype when being set as default for it
1741 2007-10-01 Alexander Larsson <alexl@redhat.com>
1743 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
1744 Fix up check for xattrs:
1746 2007-10-01 Alexander Larsson <alexl@redhat.com>
1749 (g_app_info_set_as_default_for_extension):
1750 (g_app_info_add_supports_type):
1751 (g_app_info_can_remove_supports_type):
1752 (g_app_info_remove_supports_type):
1753 Make these fail nicely if not implemented
1755 2007-10-01 Paolo Borelli <pborelli@katamail.com>
1757 * gio/glocalfileoutputstream.c:
1758 * gio/glocalfileoutputstream.h:
1763 * programs/gio-save.c:
1764 Add a GFileCreateFlags argument to operations that can create
1767 2007-10-01 Alexander Larsson <alexl@redhat.com>
1769 * gio/gappinfo.[ch]:
1770 * gio/gdesktopappinfo.c:
1771 Add more (stubbed out) mime API needed for nautilus
1773 2007-10-01 Alexander Larsson <alexl@redhat.com>
1776 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
1777 Add g_app_info_set_as_default_for_extension.
1779 * gio/gdesktopappinfo.c:
1780 Dummy for g_app_info_set_as_default_for_extension
1781 Support flags in g_app_info_create_from_commandline
1783 * gio/gwin32appinfo.c:
1785 Update for API changes
1787 * gio/gthemedicon.c:
1788 Properly NULL-terminate list of icon names
1790 2007-09-28 Alexander Larsson <alexl@redhat.com>
1792 * gio/gloadableicon.h:
1793 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
1795 2007-09-28 Alexander Larsson <alexl@redhat.com>
1798 Install headers in $includedir/gio-standalone/
1800 * gio-2.0.pc.in: Added.
1801 * gio-standalone.pc.in: Removed.
1804 Renamed pkg-config file to match glib (for future move)
1805 Update to the new include dir
1808 Add more TODO comments
1810 2007-09-28 Alexander Larsson <alexl@redhat.com>
1812 * gio/gdesktopappinfo.[ch]:
1813 Expose new_from_filename
1814 Add getter for is_hidden and handle it better
1816 2007-09-28 Alexander Larsson <alexl@redhat.com>
1818 * gio/gfileinfo.[ch]:
1819 Rename g_file_size_format_for_display to
1820 g_format_file_size_for_display.
1821 Now it doesn't have the g_file prefix, so we
1822 can later move it to glib.
1824 2007-09-28 Alexander Larsson <alexl@redhat.com>
1826 * gio/gappinfo.[ch]:
1827 Add g_app_info_get_id and g_app_info_get_executable.
1828 Make all getters non-reffing
1829 Make g_app_info_launch take GFile arguments.
1830 Add must_support_uris argument to g_app_info_get_default_for_type.
1832 * gio/gwin32appinfo.c:
1833 Update to GAppInfo api changes
1835 * gio/gdesktopappinfo.c:
1836 Update to GAppInfo api changes
1837 Implement supports_xdg_startup_notify
1839 * gio/gfileicon.c (g_file_icon_get_file):
1840 Make getter non-reffing.
1845 2007-09-27 Alexander Larsson <alexl@redhat.com>
1847 * gio/gfileinfo.[ch]:
1848 Add g_file_size_format_for_display helper
1850 2007-09-27 Alexander Larsson <alexl@redhat.com>
1852 * gio/glocalfileinfo.c:
1853 Set UNIX_GID from gid, not from uid
1855 2007-09-27 Alexander Larsson <alexl@redhat.com>
1858 Add g_file_set_attributes_async
1860 2007-09-27 Alexander Larsson <alexl@redhat.com>
1862 * gio/glocalfile.c (g_local_file_set_display_name):
1863 Fix set_display_name to actually rename to the right place.
1864 Use lstat to look for existing files so we don't overwrite
1867 2007-09-26 Alexander Larsson <alexl@redhat.com>
1870 Add g_file_set_display_name_async()
1872 2007-09-26 Alexander Larsson <alexl@redhat.com>
1875 Add load_partial_contents async calls
1878 Make internal function static
1880 2007-09-26 Alexander Larsson <alexl@redhat.com>
1882 * gio/glocalfileinfo.c:
1883 Correctly detect broken symlinks
1885 2007-09-26 Alexander Larsson <alexl@redhat.com>
1887 * gio/gcancellable.c (g_cancellable_cancel):
1888 Allow cancel on NULL cancellable
1890 2007-09-25 Alexander Larsson <alexl@redhat.com>
1892 * gio/gsimpleasyncresult.c:
1893 Don't allocate g_error manually.
1894 Fixes g_slice/g_new mixup crash
1896 2007-09-25 Alexander Larsson <alexl@redhat.com>
1898 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
1899 Actually set active_backend.
1900 This means the monitor will be cancelled correctly.
1902 2007-09-25 Alexander Larsson <alexl@redhat.com>
1904 * gio/gdirectorymonitor.c:
1905 Set timeout to NULL when destroying
1907 2007-09-25 Alexander Larsson <alexl@redhat.com>
1910 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
1911 that is a better description of the error.
1913 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
1915 * gio/gvfs.c: (g_vfs_get_local):
1916 Make the local vfs variable static. The same instance should
1919 2007-09-24 Alexander Larsson <alexl@redhat.com>
1921 * gio/glocalfileinfo.c:
1922 Pass in actual length read into sniffer, not the length
1925 2007-09-21 Alexander Larsson <alexl@redhat.com>
1927 * gio/gfileenumerator.c:
1930 * gio/gfileinputstream.c:
1931 * gio/gfileoutputstream.c:
1932 * gio/ginputstream.c:
1933 * gio/goutputstream.c:
1934 Don't crash if async callbacks are NULL
1936 2007-09-20 Alexander Larsson <alexl@redhat.com>
1939 Add async enumerate_children method and default
1942 2007-09-20 Alexander Larsson <alexl@redhat.com>
1945 Add g_file_contains_file & g_file_get_relative_path, since they
1946 were needed for nautilus.
1947 Renamed g_file_resolve_relative to g_file_resolve_relative_path
1952 Implement new methods
1954 2007-09-17 Alexander Larsson <alexl@redhat.com>
1957 * gio/gfileinputstream.[ch]:
1958 * gio/gfileoutputstream.[ch]:
1960 * gio/glocalfileenumerator.[ch]:
1961 * gio/glocalfileinfo.[ch]:
1962 * gio/glocalfileinputstream.c:
1963 * gio/glocalfileoutputstream.c:
1964 * gio/gpollfilemonitor.c:
1965 * programs/gio-copy.c:
1966 * programs/gio-info.c:
1967 * programs/gio-move.c:
1968 Rename get_file_info to query_info() to make it clearer
1969 that these are not simple getters, but do i/o.
1971 2007-09-17 Alexander Larsson <alexl@redhat.com>
1973 * gio/gdatainputstream.[ch]:
1974 * gio/test-streams.c:
1975 Use _read_XXX instead of _get_XXX for the i/o calls
1978 2007-09-17 Alexander Larsson <alexl@redhat.com>
1981 Added needed stuff to TODO comment
1983 2007-09-17 Alexander Larsson <alexl@redhat.com>
1985 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
1986 Don't error out removing the backup copy if it doesn't
1989 2007-09-14 Alexander Larsson <alexl@redhat.com>
1991 * programs/Makefile.am:
1992 * programs/gvfs-*.c:
1994 Renamed apps from gvfs-xxx to gio-xxx.
1996 2007-09-14 Alexander Larsson <alexl@redhat.com>
1999 * gio/gfileoutputstream.[ch]:
2000 * gio/glocalfileoutputstream.c:
2001 * programs/gvfs-save.c:
2002 g_file_output_stream_get_etag doesn't do i/o, so remove
2003 cancellation and error.
2005 2007-09-14 Alexander Larsson <alexl@redhat.com>
2008 Add new_etag output to replace_contents functions
2010 2007-09-14 Alexander Larsson <alexl@redhat.com>
2012 * gio/gfileoutputstream.[ch]:
2013 Add async get_file_info and default implementation
2015 2007-09-14 Alexander Larsson <alexl@redhat.com>
2017 * gio/gfileinputstream.c:
2018 Implement fallback wrapper for async get_file_info
2020 2007-09-14 Alexander Larsson <alexl@redhat.com>
2023 Add etag out argument to load_contents
2028 2007-09-14 Alexander Larsson <alexl@redhat.com>
2030 * gio/gcontenttype.c (looks_like_text):
2031 Whitespace like tab, cr and lf do not make the
2034 2007-09-14 Alexander Larsson <alexl@redhat.com>
2036 * gio/gfileinputstream.[ch]:
2037 Add async get_file_info.
2039 2007-09-13 Alexander Larsson <alexl@redhat.com>
2041 * gio/goutputstream.c (g_output_stream_write_all):
2042 Allow NULL for bytes_written
2044 2007-09-13 Alexander Larsson <alexl@redhat.com>
2046 * gio/gmemoryinputstream.[ch]:
2047 Add accessors for data
2049 2007-09-13 Alexander Larsson <alexl@redhat.com>
2051 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2052 Don't crash if length is NULL