1 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
5 Make abicheck and pltcheck pass.
7 2007-12-05 Alexander Larsson <alexl@redhat.com>
10 * giomodule-priv.h: Added.
11 * glocaldirectorymonitor.c:
12 * glocalfilemonitor.c:
13 * gunionvolumemonitor.c:
15 Actually add the declaration of _g_io_modules_ensure_loaded
17 2007-12-05 Alexander Larsson <alexl@redhat.com>
24 * glocaldirectorymonitor.c:
25 * glocalfilemonitor.c:
26 * gunionvolumemonitor.c:
28 Make g_io_modules_ensure_loaded a private function and
29 don't pass in the dirname. This means we can do magic
30 directory finding in the win32 version.
31 Export the actual load-modules-in-directory code so that
34 2007-12-05 Alexander Larsson <alexl@redhat.com>
36 * gbufferedinputstream.c:
37 * gbufferedoutputstream.c:
40 * gfileenumerator.[ch]:
42 * gfileoutputstream.[ch]:
43 * gfilterinputstream.c:
44 * gfilteroutputstream.c:
47 * glocalfileenumerator.c:
48 * glocalfileinputstream.c:
49 * glocalfileoutputstream.c:
50 * gmemoryinputstream.c:
51 * gmemoryoutputstream.c:
56 * gunixoutputstream.c:
57 Rename all struct members named:
58 read, write, close, truncate, or mount
59 to foo_fn, as these are reserved names
60 and could be defined as macros in libc.
63 2007-12-04 Alexander Larsson <alexl@redhat.com>
66 (g_output_stream_close):
67 Only call flush if non-null.
69 2007-11-30 Dan Winship <danw@gnome.org>
71 * ginputstream.c (g_input_stream_set_pending): Make this take a
72 GError and return a gboolean, and do the "outstanding operation"
73 check (and the "stream is already closed" check) itself.
74 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
76 * goutputstream.c (g_output_stream_set_pending)
77 (g_output_stream_clear_pending): Likewise
79 * gbufferedinputstream.c:
81 * gfileoutputstream.c: Update for that
83 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
84 Like g_simple_async_report_error_in_idle, but takes a GError
85 rather than building one.
87 2007-11-30 Dan Winship <danw@gnome.org>
89 * goutputstream.c: Don't cheat and unset the "pending" flag around
90 inner calls. Instead, call the class method directly rather than
91 the wrapper function that checks "pending"
93 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
95 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
97 2007-12-03 Hans Breuer <hans@breuer.org>
99 [start of port to win32/msvc]
100 * gcancellable.c : HAVE_UNIST_H and _pipe()
101 * gcontenttype.c : only include <dirent.h> in the UNIX branch
102 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
103 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
105 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
106 * glocalvfs.c : use HAVE_PWD_H
107 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
108 * makefile.msc : new file (maybe later converted to makefile.msc.in)
109 * Makefile.am : added to EXTRA_DIST
111 2007-12-03 Matthias Clasen <mclasen@redhat.com>
113 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
116 2007-12-03 Alexander Larsson <alexl@redhat.com>
119 Handle OSX style xattrs API (#500506)
121 2007-12-03 Alexander Larsson <alexl@redhat.com>
125 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
127 2007-12-02 A. Walton <awalton@svn.gnome.org>
131 Documentation accuracy fixes.
133 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
135 * gioenumtypes.c.template: Fix typo.
137 2007-12-01 Matthias Clasen <mclasen@redhat.com>
139 * gioenumtypes.c.template: Make threadsafe get_type() functions.
141 2007-12-01 Matthias Clasen <mclasen@redhat.com>
143 * gdirectorymonitor.c:
144 * gfilemonitor.c: Add properties
146 * gbufferedoutputstream.c: Don't mark buffer-size property
149 2007-12-01 Matthias Clasen <mclasen@redhat.com>
151 * gbufferedoutputstream.c: Add auto-grow property.
153 2007-11-30 Matthias Clasen <mclasen@redhat.com>
155 * *.c: Unify the capitalization of section headings.
157 2007-11-30 Matthias Clasen <mclasen@redhat.com>
159 * gmountoperation.c: Add properties
161 * gdatainputstream.c: Turn byte-order and newline-type into
164 2007-11-30 Matthias Clasen <mclasen@redhat.com>
166 * gioenumtypes.[hc].template: Templates for enum registration
168 * Makefile.am: Generate gioenumtypes.[hc]
170 * gio.h: Include gioenumtypes.h
172 * gfile.h: Add some explicit nicks.
174 * gio.symbols: Add new symbols
176 * pltcheck.sh: Adjust
178 2007-11-30 Matthias Clasen <mclasen@redhat.com>
180 * *.c: Explain etags and link to the explanation
182 2007-11-29 Matthias Clasen <mclasen@redhat.com>
184 * *.c: Explain I/O priority.
186 * *.c: More coding style fixes.
188 2007-11-29 Matthias Clasen <mclasen@redhat.com>
190 * gasyncresult.c: Add another paragraph to the intro,
191 adjust coding style of example.
193 2007-11-29 A. Walton <awalton@svn.gnome.org>
196 Fixes unknown meaning in GAppLaunchContext docs.
198 Clarify asynchronous ops.
203 Provides missing gtk-doc section, fixes API docs slighly.
204 * gsimpleasyncresult.c:
205 Fill in missing info in docs.
206 * gunixinputstream.c:
207 * gunixoutputstream.c:
208 Be more expressive in short description.
210 Remove gtk-doc stubs for non-public API.
212 2007-11-28 Matthias Clasen <mclasen@redhat.com>
214 * *.c: Coding style fixups
216 2007-11-28 Matthias Clasen <mclasen@redhat.com>
218 * inotify/inotify-helper.c: Don't export the lock from libgio.
220 2007-11-28 Matthias Clasen <mclasen@redhat.com>
223 * abicheck.sh: Fix copy-and-paste leftovers
225 2007-11-28 Matthias Clasen <mclasen@redhat.com>
227 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
229 2007-11-28 Alexander Larsson <alexl@redhat.com>
233 Removed unnecessary file
235 * gdesktopappinfo.[ch]:
238 * glocaldirectorymonitor.[ch]:
240 * glocalfileenumerator.[ch]:
241 * glocalfileinputstream.[ch]:
242 * glocalfilemonitor.[ch]:
243 * glocalfileoutputstream.[ch]:
245 * gnativevolumemonitor.c:
246 * gpollfilemonitor.[ch]:
247 * gunionvolumemonitor.[ch]:
250 * gunixvolumemonitor.[ch]:
253 * inotify/ginotifydirectorymonitor.[ch]:
254 * inotify/ginotifyfilemonitor.[ch]:
255 * inotify/inotify-helper.c:
256 Append _ to all internal functions
260 Export symbols needed for modules
262 2007-11-28 Alexander Larsson <alexl@redhat.com>
265 * abicheck.sh: Added.
266 * makegioalias.pl: Added.
267 * pltcheck.sh: Added.
268 * gio.symbols: Added.
271 Initial work on adding symbol handling.
274 Correct ifdef guard name
277 * inotify/Makefile.am:
278 * xdgmime/Makefile.am:
279 Include toplevel Makefile.decl
281 2007-11-27 Matthias Clasen <mclasen@redhat.com>
283 * gcontenttype.c: Move doc comments to the unix section.
285 * *.[hc]: More trivial doc corrections.
287 2007-11-27 Matthias Clasen <mclasen@redhat.com>
289 * gpollfilemonitor.c:
298 * gdatainputstream.c:
299 * gdatainputstream.h:
300 * gdataoutputstream.c:
301 * gdataoutputstream.h:
302 * gfileinfo.h: Doc cleanups
304 2007-11-28 Andre Klapper <a9016009@gmx.de>
306 * gdesktopappinfo.c: Fix a typo.
308 2007-11-27 Andre Klapper <a9016009@gmx.de>
310 * glocalfileoutputstream.c: Fix a typo.
312 2007-11-27 Alexander Larsson <alexl@redhat.com>
315 Don't include removed headers
317 2007-11-27 Alexander Larsson <alexl@redhat.com>
320 * gsocketinputstream.[ch]: Removed.
321 * gsocketoutputstream.[ch]: Removed.
322 * gunixinputstream.[ch]: Added.
323 * gunixoutputstream.[ch]: Added.
324 Renamed GSocket*Stream to GUnix*Stream and made
325 it unix-only, since its not really only for sockets
326 and it only works on unix (but is highly useful there).
328 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
334 * gbufferedinputstream.c:
335 * gbufferedinputstream.h:
336 * gbufferedoutputstream.c:
337 * gbufferedoutputstream.h:
341 * gdatainputstream.c:
342 * gdatainputstream.h:
343 * gdataoutputstream.c:
344 * gdataoutputstream.h:
345 * gdirectorymonitor.c:
346 * gdirectorymonitor.h:
359 * gfileinputstream.c:
360 * gfileinputstream.h:
363 * gfilenamecompleter.c:
364 * gfilenamecompleter.h:
365 * gfileoutputstream.c:
366 * gfileoutputstream.h:
367 * gfilterinputstream.c:
368 * gfilterinputstream.h:
369 * gfilteroutputstream.c:
370 * gfilteroutputstream.h:
383 * glocalfileoutputstream.c:
384 * gmemoryinputstream.c:
385 * gmemoryinputstream.h:
386 * gmemoryoutputstream.c:
387 * gmemoryoutputstream.h:
392 * gpollfilemonitor.c:
395 * gsimpleasyncresult.c:
396 * gsimpleasyncresult.h:
397 * gsocketinputstream.c:
398 * gsocketinputstream.h:
399 * gsocketoutputstream.c:
400 * gsocketoutputstream.h:
407 * gunixvolumemonitor.c:
416 Bumps documentation to 93% symbol coverage, touching most
417 of the public files. Fixes broken function documentation prototypes.
418 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
419 gtk-doc headers in private files.
421 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
423 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
424 (g_buffered_input_stream_read_byte):
425 * gbufferedinputstream.h:
426 New functions for efficient access to buffer and simple single byte
429 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
430 (g_data_input_stream_read_until):
431 * gdatainputstream.h:
432 Use peek_buffer to avoid memcpy in scan_for_newline, implement
433 read_until with multiple stop chars.
435 2007-11-27 Alexander Larsson <alexl@redhat.com>
439 * inotify/Makefile.am:
440 Use the user-specified giomoduledir
442 2007-11-27 Alexander Larsson <alexl@redhat.com>
446 Add catch-all gio.h header
447 Don't install gdummyfile.h
449 2007-11-26 Alexander Larsson <alexl@redhat.com>
451 * Makefile.am (gioinclude_HEADERS):
452 Remove trailing whitespace
454 2007-11-26 Alexander Larsson <alexl@redhat.com>
456 Merge gio-standalone into glib
458 2007-11-25 Christian Kellner <gicmo@gnome.org>
460 * gio/goutputstream.c:
461 Fix small mistake in the docs.
463 2007-11-21 Christian Persch <chpe@gnome.org>
465 * gio/glocalfile.c: (g_local_file_trash):
466 Convert filenames to UTF-8 for GError.
467 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
468 as per xdg base dir spec.
470 2007-11-21 Christian Persch <chpe@gnome.org>
472 * gio/gdesktopappinfo.c:
473 Use that g_key_file_to_data cannot fail.
475 Use stock defines for the key file group and key names.
478 2007-11-21 Alexander Larsson <alexl@redhat.com>
481 (copy_stream_with_progress):
482 Make sure we do a final progress callback with
485 2007-11-21 Alexander Larsson <alexl@redhat.com>
488 Export g_file_copy_attributes
489 Remove padding as its not needed for interfaces
491 2007-11-20 Alexander Larsson <alexl@redhat.com>
496 Add G_IO_ERROR_WOULD_MERGE for
497 copy/move dir on dir with overwrite.
499 2007-11-20 Alexander Larsson <alexl@redhat.com>
502 * gio/glocalfileinfo.c:
503 Add COPY_NAME (this is an optional
504 non-modified utf8 version of the name) that
507 2007-11-20 Alexander Larsson <alexl@redhat.com>
509 * gio/glocalfileenumerator.c:
510 Report errors as GIOError, not GFileError
512 2007-11-16 Alexander Larsson <alexl@redhat.com>
514 * gio/glocalfileoutputstream.c:
515 * gio/gwin32appinfo.c:
516 Fix typos in strings.
517 Patch from Luca Ferretti <elle.uca@libero.it>
519 2007-11-15 Alexander Larsson <alexl@redhat.com>
522 Post release version bump
524 === gio-standalone 0.1.2 ===
526 2007-11-15 Alexander Larsson <alexl@redhat.com>
528 * docs/reference/gio/Makefile.am:
529 Fix up distcheck by removing weird
535 2007-11-14 Alexander Larsson <alexl@redhat.com>
537 * gio/gdesktopappinfo.c:
538 * gio/glocaldirectorymonitor.c:
540 * gio/glocalfileinfo.c:
541 * gio/inotify/inotify-sub.c:
542 * programs/gio-cat.c:
543 * programs/gio-copy.c:
544 * programs/gio-info.c:
546 * programs/gio-monitor-dir.c:
547 * programs/gio-monitor-file.c:
548 * programs/gio-mount.c:
549 * programs/gio-move.c:
551 * programs/gio-save.c:
552 * programs/gio-trash.c:
553 Leak fixes from Kjartan Maraas
555 2007-11-14 Alexander Larsson <alexl@redhat.com>
557 * gio/fam/fam-helper.c:
559 * gio/glocalfileinfo.c:
563 * gio/inotify/inotify-diag.c:
564 * gio/inotify/inotify-kernel.c:
565 Various code cleanups from Kjartan Maraas
567 2007-11-14 Alexander Larsson <alexl@redhat.com>
569 * gio/gioscheduler.c:
571 Set up threadpool so that we cache 2 unused
572 idle threads for at 15 secs. This means we
573 will reuse thread-local data (like dbus connections)
576 2007-11-14 Alexander Larsson <alexl@redhat.com>
578 * gio/fam/fam-helper.c:
579 * gio/fam/gfamdirectorymonitor.c:
580 * gio/fam/gfamfilemonitor.c:
582 * gio/gcontenttype.c:
583 * gio/gdatainputstream.c:
584 * gio/gdataoutputstream.c:
588 * gio/gfileattribute.h:
589 * gio/gfileenumerator.c:
591 * gio/ginputstream.c:
594 * gio/glocalfileinfo.c:
595 * gio/goutputstream.c:
596 * gio/gpollfilemonitor.c:
597 * gio/gsimpleasyncresult.c:
600 * gio/inotify/ginotifydirectorymonitor.c:
601 * gio/inotify/ginotifyfilemonitor.c:
602 * gio/inotify/inotify-diag.c:
603 * gio/inotify/inotify-kernel.c:
604 * gio/inotify/inotify-path.c:
606 * gio/test-streams.c:
607 * programs/gio-info.c:
608 * programs/gio-monitor-dir.c:
609 * programs/gio-monitor-file.c:
610 Various code cleanups from Kjartan Maraas
612 2007-11-13 Alexander Larsson <alexl@redhat.com>
615 Handle the uri-scheme calls for dummy files
617 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
619 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
620 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
621 to avoid clash with the C++ keyword.
623 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
625 * gio/glocalfileinfo.c: Build fix, added missing semicolon
626 to an ifdef'ed call to getpwuid() in lookup_uid_data().
628 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
630 * gio/glocaldirectorymonitor.c:
631 * gio/glocalfilemonitor.c:
632 * gio/gunionvolumemonitor.c:
633 Don't use g_once_init_*() for initializations that could fail and
634 could leave the initialization variable set to 0 but use GOnce.
635 This prevents a deadlock on the second call when trying to create
636 a monitor and no monitor type is available. Thanks to Sven Herzberg
639 2007-11-11 Sven Herzberg <sven@imendio.com>
641 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
642 #ifdef (make it work on MacOS X again)
644 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
646 Fixes Changelog for last two commits (sorry guys).
648 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
650 * gio/gbufferedinputstream.c:
651 * gio/gdatainputstream.c:
653 * gio/gfileoutputstream.c:
654 * gio/gfilterinputstream.c:
655 * gio/glocalfileinputstream.c:
658 More consistency fixes in g*stream.c files.
659 Significant clean of gfile's documentation, filling in of
660 asynchronous operations documentation.
662 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
664 * gio/gasyncresult.c:
665 * gio/gbufferedinputstream.c:
666 * gio/gbufferedoutputstream.c:
667 * gio/gcancellable.c:
668 * gio/gcontenttype.c:
669 * gio/gdatainputstream.c:
670 * gio/gdataoutputstream.c:
671 * gio/gdesktopappinfo.c:
674 * gio/gfileattribute.c:
675 * gio/gio/gfileenumerator.c:
677 * gio/gfileinputstream.c:
678 * gio/gfilemonitor.c:
679 * gio/gfileoutputstream.c:
680 * gio/ginputstream.c:
682 * gio/gioscheduler.c:
683 * gio/gloadableicon.c:
684 * gio/glocalfileoutputstream.c:
685 * gio/gmemoryoutputstream.c:
686 * gio/gmountoperation.c:
687 * gio/goutputstream.c:
689 * gio/gsimpleasyncresult.c:
690 * gio/gunionvolumemonitor.c:
696 * gio/gvolumemonitor.c:
697 Updated documentation stubs, working towards consistency and
700 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
702 * gio/gmemoryoutputstream.c:
703 * gio/gmemoryoutputstream.h:
704 Change g_memory_output_stream_set_free_on_close() to
705 g_memory_output_stream_set_free_data() as this makes more sense and
706 is more consistent with GMemoryInputStream.
708 2007-11-07 Alexander Larsson <alexl@redhat.com>
715 Change how we find the default vfs so that
716 we can handle a gvfs failing to init
718 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
720 * gio/gbufferedoutputstream.c:
721 * gio/gdatainputstream.c:
722 * gio/gdataoutputstream.c:
723 * gio/gfileinputstream.c:
724 * gio/gfileoutputstream.c:
725 * gio/gfilterinputstream.c:
726 * gio/gfilteroutputstream.c:
727 * gio/ginputstream.c:
728 * gio/gmemoryinputstream.c:
729 * gio/gmemoryoutputstream.c:
730 * gio/goutputstream.c:
731 * gio/gsimpleasyncresult.c:
732 * gio/gsocketinputstream.c:
733 * gio/gsocketoutputstream.c:
734 Add guards to the remaining public functions, add a TODO for
735 an unimplemented function and remove some useless guards.
737 2007-11-07 Alexander Larsson <alexl@redhat.com>
740 Autoconf checks for the various types of
741 getpwuid_r and getgrgid_r
743 * gio/glocalfileinfo.c:
744 Use the autoconf checks from above
746 2007-11-07 Alexander Larsson <alexl@redhat.com>
749 (g_local_file_query_filesystem_info):
750 Some fixes for the statvfs case
752 2007-11-07 Alexander Larsson <alexl@redhat.com>
755 (g_local_file_query_filesystem_info):
756 Pick the "best" of statfs / statvfs for the system
757 if both are availible.
759 2007-11-07 Alexander Larsson <alexl@redhat.com>
761 Solaris fixes from Halton.Huo@Sun.COM:
768 * gio/glocalfileinfo.c:
769 Fix for solaris definition of getpwuid_r
771 * gio/test-streams.c:
772 Use G_GNUC_PRETTY_FUNCTION
774 2007-11-07 Alexander Larsson <alexl@redhat.com>
776 * gio/gdesktopappinfo.c:
777 (update_default_list):
778 Remove double semicolon.
779 Patch from Jens Granseuer
781 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
783 * docs/reference/gio/gio-sections.txt:
784 * gio/gbufferedinputstream.c:
785 * gio/gbufferedinputstream.h:
786 * gio/gdatainputstream.c:
787 * gio/gfileenumerator.c:
788 * gio/gioscheduler.c:
789 * gio/gunionvolumemonitor.c:
791 * programs/gio-save.c:
792 Fix typo: availible -> available. Unfortuntely this breaks API
793 and ABI as g_buffered_input_stream_get_available() was renamed.
796 * gio/gbufferedinputstream.c:
797 Add guards for public functions.
799 2007-11-06 Ross Burton <ross@openedhand.com>
801 * docs/reference/gio/Makefile.am:
802 Fix invalid += usage which automake 1.10 doesn't like.
804 2007-11-06 Alexander Larsson <alexl@redhat.com>
807 (g_app_launch_context_class_init):
810 Patch from Ross Burton
812 2007-11-06 Alexander Larsson <alexl@redhat.com>
815 Post release version bump
817 === gio-standalone 0.1.1 ===
819 2007-11-06 Alexander Larsson <alexl@redhat.com>
822 Bump version to 0.1.1
824 * gio/gsimpleasyncresult.c:
825 (g_simple_async_result_set_from_error):
826 Remove bogus g_return_if_fail
828 2007-11-06 Alexander Larsson <alexl@redhat.com>
831 The name is gio-standalone
834 Add top src/builddir to includedir
836 2007-11-06 Alexander Larsson <alexl@redhat.com>
838 * docs/reference/gio/gio-sections.txt:
840 * gio/gbufferedinputstream.c:
841 * gio/gbufferedoutputstream.c:
842 * gio/gcancellable.c:
843 * gio/gdatainputstream.h:
844 * gio/gdataoutputstream.c:
845 * gio/gdataoutputstream.h:
846 * gio/gdirectorymonitor.c:
848 * gio/gfileattribute.c:
849 * gio/gfileattribute.h:
850 * gio/gfileenumerator.c:
851 * gio/gfileenumerator.h:
854 * gio/gfileinputstream.h:
855 * gio/gfilemonitor.c:
856 * gio/gfileoutputstream.h:
857 * gio/glocalfilemonitor.h:
858 * gio/glocalfileoutputstream.h:
859 * gio/gmemoryinputstream.c:
860 * gio/gmemoryoutputstream.c:
861 * gio/gmountoperation.c:
862 * gio/goutputstream.c:
863 * gio/goutputstream.h:
865 * gio/gsimpleasyncresult.c:
869 * gio/inotify/inotify-helper.c:
872 Patch from Ross Burton
874 2007-11-06 Alexander Larsson <alexl@redhat.com>
876 * gio/gfilenamecompleter.c:
877 (g_filename_completer_get_completions):
881 Remove unused function
883 Patches from Ross Burton
885 2007-11-06 Alexander Larsson <alexl@redhat.com>
890 Padding not needed for interfaces
892 2007-11-06 Alexander Larsson <alexl@redhat.com>
894 * gio/gfilemonitor.c:
898 Make giotypes.h an internal file
901 * gio/gbufferedinputstream.h:
902 * gio/gbufferedoutputstream.h:
903 * gio/gcancellable.h:
904 * gio/gdatainputstream.h:
905 * gio/gdataoutputstream.h:
906 * gio/gdirectorymonitor.c:
907 * gio/gdirectorymonitor.h:
912 * gio/gfileattribute.h:
913 * gio/gfileenumerator.h:
918 * gio/gfilemonitor.c:
919 * gio/gfilemonitor.h:
920 * gio/gfilenamecompleter.c:
921 * gio/gfilenamecompleter.h:
922 * gio/gfilterinputstream.h:
923 * gio/gfilteroutputstream.h:
924 * gio/ginputstream.h:
925 * gio/gmemoryinputstream.h:
926 * gio/gmemoryoutputstream.h:
927 * gio/gmountoperation.c:
928 * gio/gmountoperation.h:
929 * gio/gnativevolumemonitor.c:
930 * gio/goutputstream.h:
933 * gio/gsimpleasyncresult.c:
934 * gio/gsimpleasyncresult.h:
935 * gio/gsocketinputstream.h:
936 * gio/gsocketoutputstream.h:
942 * gio/gvolumemonitor.c:
943 * gio/gvolumemonitor.h:
944 Add padding in classes where it seems useful
945 Don't include giotypes.h from public headers
946 Move in Class definitions into c file where possible
951 2007-11-06 Alexander Larsson <alexl@redhat.com>
953 * docs/reference/gio/gio-docs.xml:
954 Better structure for API docs
956 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
959 * gio/gloadableicon.c:
960 * gio/gsimpleasyncresult.c:
962 Add some more guards to public functions. Only files missing are now
965 2007-11-06 Alexander Larsson <alexl@redhat.com>
967 * docs/reference/gio/gio-docs.xml:
968 Remove old files, add missing ones
970 2007-11-06 Alexander Larsson <alexl@redhat.com>
972 * docs/reference/gio/gio-sections.txt:
975 Hide implementation classes
977 * gio/gdriveprivate.h:
978 * gio/gvolumeprivate.h:
979 Remove non-existing function declarations
981 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
984 Fix compilation warnings and add guards to the new functions.
986 * gio/gasyncresult.c:
988 Add guards to the public functions.
991 Implement get_path().
993 2007-11-06 Alexander Larsson <alexl@redhat.com>
995 * gio/gfilenamecompleter.c:
996 Make g_filename_completer_get_completions
997 return char ** instead of GList for
1000 * docs/reference/gio/gio-docs.xml:
1001 * docs/reference/gio/gio-sections.txt:
1003 * gio/gasyncresult.c:
1004 * gio/gbufferedinputstream.c:
1005 * gio/gbufferedoutputstream.c:
1006 * gio/gcancellable.c:
1007 * gio/gcontenttype.c:
1008 * gio/gdatainputstream.c:
1009 * gio/gdataoutputstream.c:
1010 * gio/gdesktopappinfo.c:
1011 * gio/gdirectorymonitor.c:
1015 * gio/gfileattribute.c:
1016 * gio/gfileenumerator.c:
1019 * gio/gfileinputstream.c:
1020 * gio/gfilemonitor.c:
1021 * gio/gfilenamecompleter.c:
1022 * gio/gfilenamecompleter.h:
1023 * gio/gfileoutputstream.c:
1024 * gio/gfilterinputstream.c:
1026 * gio/ginputstream.c:
1028 * gio/gioscheduler.c:
1029 * gio/gloadableicon.c:
1030 * gio/glocaldirectorymonitor.c:
1032 * gio/glocalfileinputstream.c:
1033 * gio/glocalfilemonitor.c:
1034 * gio/glocalfileoutputstream.c:
1036 * gio/gmemoryinputstream.c:
1037 * gio/gmemoryoutputstream.c:
1038 * gio/gmountoperation.c:
1039 * gio/goutputstream.c:
1040 * gio/gpollfilemonitor.c:
1042 * gio/gsimpleasyncresult.c:
1043 * gio/gsocketinputstream.c:
1044 * gio/gsocketoutputstream.c:
1045 * gio/gthemedicon.c:
1046 * gio/gunionvolumemonitor.c:
1048 * gio/gunixmounts.c:
1049 * gio/gunixvolume.c:
1050 * gio/gunixvolumemonitor.c:
1054 * gio/gvolumemonitor.c:
1055 * gio/gwin32appinfo.c:
1056 Add (mostly stub) doc strings to public functions.
1057 Patch from Andrew Walton (awalton@gmail.com)
1059 2007-11-06 Alexander Larsson <alexl@redhat.com>
1061 * gio/gappinfo.[ch]:
1062 Added GAppLaunchContext object and pass that to launch.
1063 This allows simple implementation of both
1064 launch-on-screen and startup notification via a gtk+
1065 subclass of GAppLaunchContext
1067 * gio/gdesktopappinfo.c:
1068 Implement GAppLaunchContext API
1070 * gio/gwin32appinfo.c:
1073 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1075 * gio/gmountoperation.c:
1076 Add some guards to GMountOperation's public functions.
1078 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1082 * gio/gcancellable.c:
1083 * gio/gdirectorymonitor.c:
1085 * gio/gfileenumerator.c:
1086 * gio/gfilemonitor.c:,
1087 * gio/gfilenamecompleter.c:
1090 * gio/gioscheduler.c:
1094 * gio/gvolumemonitor.c:
1095 Add even more guards to various public functions.
1097 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1100 Add guards to the public functions of GAppInfo.
1102 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1104 * gio/gcontenttype.c:
1105 Add some more guards for public functions.
1107 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1109 * gio/fam/fam-module.c:
1110 * gio/fam/gfamdirectorymonitor.c:
1111 * gio/fam/gfamdirectorymonitor.h:
1112 * gio/fam/gfamfilemonitor.c:
1113 * gio/fam/gfamfilemonitor.h:
1114 * gio/inotify/ginotifydirectorymonitor.c:
1115 * gio/inotify/ginotifydirectorymonitor.h:
1116 * gio/inotify/ginotifyfilemonitor.c:
1117 * gio/inotify/ginotifyfilemonitor.h:
1118 Add proper copyright information and remove an unused variable
1119 in the GInotifyFileMonitor constructor.
1121 * gio/gcancellable.c:
1122 Add a guard for a public function and an assertion to prevent
1123 an undefined program state.
1125 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1127 * gio/gfileattribute.c:
1128 Don't run into an assertion if the given attribute value is NULL
1129 in g_file_attribute_value_get_*() but instead return a fallback
1130 value that makes sense in most situations. Passing them a attribute
1131 value with the wrong type will still run into an assertion.
1133 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1135 * gio/gfileattribute.c:
1137 Add even more guards to the public functions. Also fix the refcounting
1138 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1139 let g_file_info_list_attributes() filter the attributes by namespace
1140 instead of simply ignoring the namespace parameter.
1142 2007-11-03 Sven Herzberg <sven@imendio.com>
1144 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1145 (This makes gio work on MacOS X again)
1147 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1150 Build the gio subdirectory before the docs. Otherwise the build will
1153 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1154 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1155 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1156 Add guards to the public functions.
1158 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1160 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1161 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1162 to prevent a compiler warning.
1164 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1165 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1166 return something in the non-void function find_topdir_for().
1168 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1175 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1177 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1178 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1179 * gwin32appinfo.c (g_win32_app_info_launch):
1180 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1181 envp_for_startup_id, g_desktop_app_info_launch,
1182 g_desktop_app_info_launch_uris):
1184 Give an opaque 'startup_id' string instead of 'envp'.
1185 Support empty file lists for launching new windows.
1186 Fix infinite recursion bug when launching URIs.
1188 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1191 Add guard to the new g_file_get_uri_scheme() function.
1193 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1196 Convert a g_return_val_if_fail() to setting the GError instead as
1197 otherwise applications have to verify the parameter before otherwise
1198 and the parameter might come directly from the user.
1200 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1202 * gio/inotify/ginotify*.[ch]:
1203 Add missing copyright information.
1205 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1208 Add guards in the beginning of public functions to check for valid
1209 parameters and fix a bug in copy_stream_with_progress() that could've
1210 caused writing less bytes than reading.
1211 * gio/glocalfileinfo.c:
1212 Check for a NULL parameter and set the GError accordingly then.
1213 * gio/goutputstream.c:
1214 Fix the same bug as in gfile.c that could've caused writing less bytes
1215 than reading in g_output_stream_real_splice().
1217 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1220 Use the correct gvolumeprivate.h naming
1222 2007-11-01 Christian Kellner <gicmo@gnome.org>
1225 Remove leftover "$(daemon_sources)" entry.
1227 2007-11-01 Christian Kellner <gicmo@gnome.org>
1232 Add copyright information to source files.
1234 2007-11-01 Alexander Larsson <alexl@redhat.com>
1238 Add g_file_get_uri_scheme
1240 2007-11-01 Alexander Larsson <alexl@redhat.com>
1243 * gio/gdesktopappinfo.c:
1244 * gio/gwin32appinfo.c:
1245 Add g_app_info_get_default_for_uri_scheme.
1247 2007-11-01 Alexander Larsson <alexl@redhat.com>
1250 Correct filename for gdriveprivate.h
1252 2007-10-31 Alexander Larsson <alexl@redhat.com>
1255 Rename id:value to id:file
1258 * gio/glocalfileinfo.c:
1261 2007-10-31 Alexander Larsson <alexl@redhat.com>
1263 * gio/gunixvolume.c:
1265 Remove g_volume_get_platform_id, as thats not
1266 needed with the simpler union volume monitor
1268 2007-10-31 Alexander Larsson <alexl@redhat.com>
1271 * gio/guniondrive.[ch]: Removed.
1272 * gio/gunionvolume.[ch]: Removed.
1273 Remove GUnionDrive/Volume
1275 * gio/gunionvolumemonitor.c:
1276 Simplify union volume monitor, now we
1277 only have one native volume monitor and
1278 we use the actual volumes/drives from the
1279 child monitors instead of wrapping them
1281 * gio/gnativevolumemonitor.[ch]:
1282 Base class for native volume monitors.
1283 Includes priority and get_volume_for_mountpoint
1286 Add g_file_find_enclosing_volume
1289 Remove volume name fs attribute
1290 Add readonly fs attribute
1293 Implement readonly attribute
1294 remove volume name attribute
1295 Implement find_enclosing volume
1297 * gio/gunixmounts.c:
1298 Add a volume for "/".
1300 * gio/gunixvolume.[ch]:
1301 Set better name for /
1303 * gio/gunixvolumemonitor.[ch]:
1304 Derive from GNativeVolumeMonitor
1305 Implement get_volume_for_mountpoint
1308 GVolume typedef moved to gfile.h
1310 * gio/gvolumeprivate.h:
1311 Add g_volume_get_for_mount_path
1313 2007-10-31 Alexander Larsson <alexl@redhat.com>
1315 * gio/gunixmounts.[ch]:
1316 Add cache info to unix mount listers
1317 Make getmntent use threadsafe
1318 Add is_system_internal attribute for GUnixMount
1320 * gio/gunixvolume.c:
1321 (g_unix_volume_new):
1322 Use is_system_internal instead of own code
1324 * gio/glocaldirectorymonitor.c:
1325 * gio/gunixvolumemonitor.c:
1326 Update to new gunixmounts API
1331 2007-10-30 Alexander Larsson <alexl@redhat.com>
1334 Add volume name fsinfo attribute
1337 Read volume name info
1339 * gio/gunionvolumemonitor.c:
1340 Fix infinite loops when finalizing a union volume monitor
1342 2007-10-30 Alexander Larsson <alexl@redhat.com>
1344 * gio/goutputstream.[ch]:
1345 Add splice() with default implementation
1347 * gio/gsocketoutputstream.c:
1348 (g_socket_output_stream_write):
1349 Return error on cancellation correctly.
1351 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1353 * gio/glocalfile.c (g_local_file_trash):
1354 Do not leak a string.
1356 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1358 * gio/gfile.c (g_file_load_contents):
1359 Unref the stream after closing it.
1361 2007-10-25 Alexander Larsson <alexl@redhat.com>
1363 * gio/gioscheduler.h:
1366 2007-10-25 Alexander Larsson <alexl@redhat.com>
1370 Add g_file_has_uri_scheme and implement for local files
1372 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1374 * gio/gdesktopappinfo.c: do not leak a string.
1376 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1378 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1379 (g_local_directory_monitor_new):
1380 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1381 (g_local_file_monitor_new):
1382 Only look for the monitor type that should be used the first time
1383 and use g_qsort_with_data() instead of our own bubble sort
1386 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1389 * gio/fam/Makefile.am:
1390 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1391 * gio/fam/fam-helper.h:
1392 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1393 * gio/fam/gfamdirectorymonitor.c:
1394 * gio/fam/gfamdirectorymonitor.h:
1395 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1396 * gio/fam/gfamfilemonitor.h:
1397 * gio/glocaldirectorymonitor.c:
1398 * gio/glocaldirectorymonitor.h:
1399 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1400 * gio/glocalfilemonitor.h:
1401 * gio/inotify/Makefile.am:
1402 * gio/inotify/ginotifydirectorymonitor.c:
1403 * gio/inotify/ginotifydirectorymonitor.h:
1404 * gio/inotify/ginotifyfilemonitor.c:
1405 * gio/inotify/ginotifyfilemonitor.h:
1406 Implement the FAM and Inotify monitors as
1407 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1408 their own GIO module. GLocal(Directory|File)Monitor will use the
1409 monitor with the highest rank that is supported on that machine.
1411 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1414 Change GIO module dir to $(libdir)/gio/modules and change
1415 the log domain from GVFS to GIO. Also only export symbols starting
1416 with g_ in the resulting library.
1417 * gio/test-streams.c: (main):
1418 Set log handler for the GIO log domain.
1420 2007-10-22 Alexander Larsson <alexl@redhat.com>
1422 * gio/gfilenamecompleter.[ch]:
1423 Add g_filename_completer_set_dirs_only
1425 2007-10-22 Alexander Larsson <alexl@redhat.com>
1428 * gio/gurifuncs.[ch]:
1429 Add some simple URI helpers
1431 * gio/gfilenamecompleter.[ch]:
1432 Added object for filename (parse name actually) completion
1435 Handle ~ in parse names
1437 2007-10-17 Alexander Larsson <alexl@redhat.com>
1440 * gio/glocalfileinfo.c:
1441 Add and implement id:value attribute
1443 2007-10-17 Alexander Larsson <alexl@redhat.com>
1446 * gio/guniondrive.c:
1448 Add and implement g_drive_has_volumes
1450 2007-10-17 Alexander Larsson <alexl@redhat.com>
1453 * gio/glocalfileinfo.[ch]:
1454 Add unix:is_mountpoint and implement for local files
1456 2007-10-16 Alexander Larsson <alexl@redhat.com>
1458 * gio/gunionvolumemonitor.c:
1459 (g_union_volume_monitor_init):
1460 Fix up the unix type getting so that it works with gcc
1462 2007-10-12 Alexander Larsson <alexl@redhat.com>
1465 * gio/glocalfileinfo.c:
1466 Add thumbnail:failed to file info
1468 2007-10-12 Richard Hult <richard@imendio.com>
1470 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1471 optimizing away the get_type call (happens with some gcc versions,
1472 like the one shipped with OS X 10.4).
1474 2007-10-12 Alexander Larsson <alexl@redhat.com>
1476 * gio/glocalfileinfo.c:
1477 (_g_local_file_info_set_attribute):
1478 Fix build if not HAVE_XATTR
1479 Patch from Milosz Derezynski <internalerror@gmail.com>
1481 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1483 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1484 around for review, otherwise I would have asked you before
1487 2007-10-11 Alexander Larsson <alexl@redhat.com>
1490 Add thumbnail:path attribute
1492 * gio/glocalfileinfo.c:
1493 Implement thumbnail:path for local files
1495 2007-10-11 Alexander Larsson <alexl@redhat.com>
1497 * gio/glocalfileinfo.c:
1498 (_g_local_file_info_get):
1499 Avoid duplicate icon names
1501 2007-10-11 Alexander Larsson <alexl@redhat.com>
1503 * gio/gthemedicon.[ch]:
1504 Change g_themed_icon_get_names return type to const
1506 2007-10-10 Alexander Larsson <alexl@redhat.com>
1508 * gio/glocalfileinfo.c:
1509 Don't reference freed memory
1511 2007-10-10 Alexander Larsson <alexl@redhat.com>
1513 * gio/gfileattribute.c:
1516 * gio/glocalfileinfo.c:
1519 2007-10-10 Alexander Larsson <alexl@redhat.com>
1522 Check for NULL icons
1524 * gio/gfileattribute.c:
1525 Don't dup when getting objects (same as for string attributes)
1527 * gio/gicon.c (g_icon_equal):
1528 Safely handle NULLs in equal
1530 2007-10-10 Alexander Larsson <alexl@redhat.com>
1533 Fix c++ compilation issues
1534 Patch from Milosz Derezynski <internalerror@gmail.com>
1536 2007-10-10 Alexander Larsson <alexl@redhat.com>
1538 * programs/gio-monitor-dir.c:
1539 Don't crash if dir monitor not supported.
1541 2007-10-09 Alexander Larsson <alexl@redhat.com>
1544 Add missing G_END_DECLS
1546 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1548 * gio/gfile.c: (g_file_set_display_name),
1549 (g_file_query_settable_attributes),
1550 (g_file_query_writable_namespaces):
1551 Return NULL not FALSE on errors as the return type is a pointer.
1553 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1555 * gio/glocalfile.c: (g_local_file_monitor_file):
1556 Don't call monitor_file on the default interface vtable (which
1557 is NULL) but simply return NULL. The caller, GFile, will create a
1558 polling monitor if NULL is returned.
1560 2007-10-09 Alexander Larsson <alexl@redhat.com>
1564 * gio-unix-2.0.pc.in:
1565 Add gio-unix-2.0.pc if OS_UNIX
1568 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1570 2007-10-09 Alexander Larsson <alexl@redhat.com>
1572 * gio/gunixmounts.[ch]:
1573 Make unix mount monitoring API sane.
1574 Now its just a object with mounts_changed
1575 and mountpoints_changed signals.
1577 * gio/glocaldirectorymonitor.c:
1578 * gio/gunixvolumemonitor.c:
1579 Use new mount monitor api
1581 2007-10-09 Alexander Larsson <alexl@redhat.com>
1583 * gio/gunixmounts.[ch]:
1584 Move guess type into one call for mounts and one for mountpoints
1587 * gio/gunixvolume.c:
1590 2007-10-09 Alexander Larsson <alexl@redhat.com>
1592 * gio/gunixmounts.[ch]:
1593 Remove _ prefix in preparation to make this semi-public
1594 Hide implementation of structs
1596 * gio/glocaldirectorymonitor.c:
1598 * gio/gunixvolume.c:
1599 * gio/gunixvolumemonitor.c:
1600 Update for above API changes
1602 2007-10-08 Alexander Larsson <alexl@redhat.com>
1605 Better polling fallback. This also handles the case where we have
1606 a monitor_file implementation, but it fails.
1608 2007-10-08 Alexander Larsson <alexl@redhat.com>
1612 * gio/gunixmounts.c:
1613 * programs/gio-monitor-dir.c:
1614 * programs/gio-monitor-file.c:
1615 Added cancellable to file monitoring calls.
1616 These are really sync calls and need this.
1618 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1620 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1621 (g_local_vfs_class_init):
1622 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1623 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1625 2007-10-05 Alexander Larsson <alexl@redhat.com>
1627 * gio/gdirectorymonitorprivate.h:
1628 * gio/gfilemonitorprivate.h:
1629 * gio/gdirectorymonitor.h:
1630 * gio/gfilemonitor.h:
1631 Remove *private.h and move to the public API, so that
1632 we can do implementations outside gio (such as in gvfs)
1634 * gio/gdirectorymonitor.c:
1635 * gio/gfilemonitor.c:
1636 * gio/glocaldirectorymonitor.c:
1637 * gio/gpollfilemonitor.c:
1638 * gio/inotify/inotify-helper.c:
1639 * gio/fam/fam-helper.c:
1640 Update to the new header names
1642 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
1644 * gio/gdirectorymonitor.c:
1645 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1648 2007-10-04 Alexander Larsson <alexl@redhat.com>
1650 * gio/glocalfileinfo.c (get_access_rights):
1651 Set CAN_TRASH when we can move the file.
1652 We should really also check for a parent trash dir.
1654 2007-10-04 Alexander Larsson <alexl@redhat.com>
1656 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1657 Add can_trash access attribute
1659 2007-10-04 Alexander Larsson <alexl@redhat.com>
1662 (g_local_file_trash):
1663 Create info file first. This is per-spec and allows
1664 us to actually trash directories.
1666 2007-10-02 Alexander Larsson <alexl@redhat.com>
1668 * gio/gdesktopappinfo.c:
1669 Implement the new mime support code.
1670 Always set app as handling mimetype when being set as default for it
1672 2007-10-01 Alexander Larsson <alexl@redhat.com>
1674 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
1675 Fix up check for xattrs:
1677 2007-10-01 Alexander Larsson <alexl@redhat.com>
1680 (g_app_info_set_as_default_for_extension):
1681 (g_app_info_add_supports_type):
1682 (g_app_info_can_remove_supports_type):
1683 (g_app_info_remove_supports_type):
1684 Make these fail nicely if not implemented
1686 2007-10-01 Paolo Borelli <pborelli@katamail.com>
1688 * gio/glocalfileoutputstream.c:
1689 * gio/glocalfileoutputstream.h:
1694 * programs/gio-save.c:
1695 Add a GFileCreateFlags argument to operations that can create
1698 2007-10-01 Alexander Larsson <alexl@redhat.com>
1700 * gio/gappinfo.[ch]:
1701 * gio/gdesktopappinfo.c:
1702 Add more (stubbed out) mime API needed for nautilus
1704 2007-10-01 Alexander Larsson <alexl@redhat.com>
1707 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
1708 Add g_app_info_set_as_default_for_extension.
1710 * gio/gdesktopappinfo.c:
1711 Dummy for g_app_info_set_as_default_for_extension
1712 Support flags in g_app_info_create_from_commandline
1714 * gio/gwin32appinfo.c:
1716 Update for API changes
1718 * gio/gthemedicon.c:
1719 Properly NULL-terminate list of icon names
1721 2007-09-28 Alexander Larsson <alexl@redhat.com>
1723 * gio/gloadableicon.h:
1724 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
1726 2007-09-28 Alexander Larsson <alexl@redhat.com>
1729 Install headers in $includedir/gio-standalone/
1731 * gio-2.0.pc.in: Added.
1732 * gio-standalone.pc.in: Removed.
1735 Renamed pkg-config file to match glib (for future move)
1736 Update to the new include dir
1739 Add more TODO comments
1741 2007-09-28 Alexander Larsson <alexl@redhat.com>
1743 * gio/gdesktopappinfo.[ch]:
1744 Expose new_from_filename
1745 Add getter for is_hidden and handle it better
1747 2007-09-28 Alexander Larsson <alexl@redhat.com>
1749 * gio/gfileinfo.[ch]:
1750 Rename g_file_size_format_for_display to
1751 g_format_file_size_for_display.
1752 Now it doesn't have the g_file prefix, so we
1753 can later move it to glib.
1755 2007-09-28 Alexander Larsson <alexl@redhat.com>
1757 * gio/gappinfo.[ch]:
1758 Add g_app_info_get_id and g_app_info_get_executable.
1759 Make all getters non-reffing
1760 Make g_app_info_launch take GFile arguments.
1761 Add must_support_uris argument to g_app_info_get_default_for_type.
1763 * gio/gwin32appinfo.c:
1764 Update to GAppInfo api changes
1766 * gio/gdesktopappinfo.c:
1767 Update to GAppInfo api changes
1768 Implement supports_xdg_startup_notify
1770 * gio/gfileicon.c (g_file_icon_get_file):
1771 Make getter non-reffing.
1776 2007-09-27 Alexander Larsson <alexl@redhat.com>
1778 * gio/gfileinfo.[ch]:
1779 Add g_file_size_format_for_display helper
1781 2007-09-27 Alexander Larsson <alexl@redhat.com>
1783 * gio/glocalfileinfo.c:
1784 Set UNIX_GID from gid, not from uid
1786 2007-09-27 Alexander Larsson <alexl@redhat.com>
1789 Add g_file_set_attributes_async
1791 2007-09-27 Alexander Larsson <alexl@redhat.com>
1793 * gio/glocalfile.c (g_local_file_set_display_name):
1794 Fix set_display_name to actually rename to the right place.
1795 Use lstat to look for existing files so we don't overwrite
1798 2007-09-26 Alexander Larsson <alexl@redhat.com>
1801 Add g_file_set_display_name_async()
1803 2007-09-26 Alexander Larsson <alexl@redhat.com>
1806 Add load_partial_contents async calls
1809 Make internal function static
1811 2007-09-26 Alexander Larsson <alexl@redhat.com>
1813 * gio/glocalfileinfo.c:
1814 Correctly detect broken symlinks
1816 2007-09-26 Alexander Larsson <alexl@redhat.com>
1818 * gio/gcancellable.c (g_cancellable_cancel):
1819 Allow cancel on NULL cancellable
1821 2007-09-25 Alexander Larsson <alexl@redhat.com>
1823 * gio/gsimpleasyncresult.c:
1824 Don't allocate g_error manually.
1825 Fixes g_slice/g_new mixup crash
1827 2007-09-25 Alexander Larsson <alexl@redhat.com>
1829 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
1830 Actually set active_backend.
1831 This means the monitor will be cancelled correctly.
1833 2007-09-25 Alexander Larsson <alexl@redhat.com>
1835 * gio/gdirectorymonitor.c:
1836 Set timeout to NULL when destroying
1838 2007-09-25 Alexander Larsson <alexl@redhat.com>
1841 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
1842 that is a better description of the error.
1844 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
1846 * gio/gvfs.c: (g_vfs_get_local):
1847 Make the local vfs variable static. The same instance should
1850 2007-09-24 Alexander Larsson <alexl@redhat.com>
1852 * gio/glocalfileinfo.c:
1853 Pass in actual length read into sniffer, not the length
1856 2007-09-21 Alexander Larsson <alexl@redhat.com>
1858 * gio/gfileenumerator.c:
1861 * gio/gfileinputstream.c:
1862 * gio/gfileoutputstream.c:
1863 * gio/ginputstream.c:
1864 * gio/goutputstream.c:
1865 Don't crash if async callbacks are NULL
1867 2007-09-20 Alexander Larsson <alexl@redhat.com>
1870 Add async enumerate_children method and default
1873 2007-09-20 Alexander Larsson <alexl@redhat.com>
1876 Add g_file_contains_file & g_file_get_relative_path, since they
1877 were needed for nautilus.
1878 Renamed g_file_resolve_relative to g_file_resolve_relative_path
1883 Implement new methods
1885 2007-09-17 Alexander Larsson <alexl@redhat.com>
1888 * gio/gfileinputstream.[ch]:
1889 * gio/gfileoutputstream.[ch]:
1891 * gio/glocalfileenumerator.[ch]:
1892 * gio/glocalfileinfo.[ch]:
1893 * gio/glocalfileinputstream.c:
1894 * gio/glocalfileoutputstream.c:
1895 * gio/gpollfilemonitor.c:
1896 * programs/gio-copy.c:
1897 * programs/gio-info.c:
1898 * programs/gio-move.c:
1899 Rename get_file_info to query_info() to make it clearer
1900 that these are not simple getters, but do i/o.
1902 2007-09-17 Alexander Larsson <alexl@redhat.com>
1904 * gio/gdatainputstream.[ch]:
1905 * gio/test-streams.c:
1906 Use _read_XXX instead of _get_XXX for the i/o calls
1909 2007-09-17 Alexander Larsson <alexl@redhat.com>
1912 Added needed stuff to TODO comment
1914 2007-09-17 Alexander Larsson <alexl@redhat.com>
1916 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
1917 Don't error out removing the backup copy if it doesn't
1920 2007-09-14 Alexander Larsson <alexl@redhat.com>
1922 * programs/Makefile.am:
1923 * programs/gvfs-*.c:
1925 Renamed apps from gvfs-xxx to gio-xxx.
1927 2007-09-14 Alexander Larsson <alexl@redhat.com>
1930 * gio/gfileoutputstream.[ch]:
1931 * gio/glocalfileoutputstream.c:
1932 * programs/gvfs-save.c:
1933 g_file_output_stream_get_etag doesn't do i/o, so remove
1934 cancellation and error.
1936 2007-09-14 Alexander Larsson <alexl@redhat.com>
1939 Add new_etag output to replace_contents functions
1941 2007-09-14 Alexander Larsson <alexl@redhat.com>
1943 * gio/gfileoutputstream.[ch]:
1944 Add async get_file_info and default implementation
1946 2007-09-14 Alexander Larsson <alexl@redhat.com>
1948 * gio/gfileinputstream.c:
1949 Implement fallback wrapper for async get_file_info
1951 2007-09-14 Alexander Larsson <alexl@redhat.com>
1954 Add etag out argument to load_contents
1959 2007-09-14 Alexander Larsson <alexl@redhat.com>
1961 * gio/gcontenttype.c (looks_like_text):
1962 Whitespace like tab, cr and lf do not make the
1965 2007-09-14 Alexander Larsson <alexl@redhat.com>
1967 * gio/gfileinputstream.[ch]:
1968 Add async get_file_info.
1970 2007-09-13 Alexander Larsson <alexl@redhat.com>
1972 * gio/goutputstream.c (g_output_stream_write_all):
1973 Allow NULL for bytes_written
1975 2007-09-13 Alexander Larsson <alexl@redhat.com>
1977 * gio/gmemoryinputstream.[ch]:
1978 Add accessors for data
1980 2007-09-13 Alexander Larsson <alexl@redhat.com>
1982 * gio/gdatainputstream.c (g_data_input_stream_get_until):
1983 Don't crash if length is NULL