1 2007-12-10 Matthias Clasen <mclasen@redhat.com>
3 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
5 * gdesktopappinfo.[hc]: Remove _-prefixes
7 2007-12-10 Tor Lillqvist <tml@novell.com>
9 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
12 2007-12-10 Alexander Larsson <alexl@redhat.com>
14 * gfile.c (g_file_set_display_name):
15 Don't hardcode '/' (#502727)
17 2007-12-09 Hans Breuer <hans@breuer.org>
19 * makefile.msc : follow lib naming convention
20 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
21 for user and group name, tested with ../tests/gio-ls
23 2007-12-09 A. Walton <awalton@svn.gnome.org>
36 * gmemoryinputstream.c:
37 * gmemoryoutputstream.c:
39 * gsimpleasyncresult.c:
40 More documentation cleanup and filling in missing information, bringing
41 GIO to 99% symbol coverage.
43 2007-12-08 Hans Breuer <hans@breuer.org>
45 [gio compiles and links on win32, not sure how much already works]
46 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
47 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
48 base on win32 API; prefer g_lstat() over lstat(); instead of
49 localtime_r() use an all GLib implementation on win32;
50 get_mount_info() still needs a win32 specifc implementation
51 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
52 win32_get_file_user_info to get owner/group info without uid/gid
53 * glocalfileinputstream.c : include <io.h> on win32
54 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
55 definition, use g_win32_ftruncate() for G_OS_WIN32
56 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
57 it is available with mingw/w32api but a mess with the M$ Platform SDKs
58 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
59 * makefile.msc : updated
61 2007-12-07 Alexander Larsson <alexl@redhat.com>
63 * glocalfileenumerator.c (_g_local_file_enumerator_new):
64 Avoid warning spew if error == NULL
66 2007-12-07 Alexander Larsson <alexl@redhat.com>
71 2007-12-06 Alexander Larsson <alexl@redhat.com>
74 Include sys/types.h for dev_t (#501919)
76 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
80 Make abicheck and pltcheck pass.
82 2007-12-05 Alexander Larsson <alexl@redhat.com>
85 * giomodule-priv.h: Added.
86 * glocaldirectorymonitor.c:
87 * glocalfilemonitor.c:
88 * gunionvolumemonitor.c:
90 Actually add the declaration of _g_io_modules_ensure_loaded
92 2007-12-05 Alexander Larsson <alexl@redhat.com>
99 * glocaldirectorymonitor.c:
100 * glocalfilemonitor.c:
101 * gunionvolumemonitor.c:
103 Make g_io_modules_ensure_loaded a private function and
104 don't pass in the dirname. This means we can do magic
105 directory finding in the win32 version.
106 Export the actual load-modules-in-directory code so that
109 2007-12-05 Alexander Larsson <alexl@redhat.com>
111 * gbufferedinputstream.c:
112 * gbufferedoutputstream.c:
115 * gfileenumerator.[ch]:
116 * gfileinputstream.c:
117 * gfileoutputstream.[ch]:
118 * gfilterinputstream.c:
119 * gfilteroutputstream.c:
122 * glocalfileenumerator.c:
123 * glocalfileinputstream.c:
124 * glocalfileoutputstream.c:
125 * gmemoryinputstream.c:
126 * gmemoryoutputstream.c:
127 * goutputstream.[ch]:
130 * gunixinputstream.c:
131 * gunixoutputstream.c:
132 Rename all struct members named:
133 read, write, close, truncate, or mount
134 to foo_fn, as these are reserved names
135 and could be defined as macros in libc.
138 2007-12-04 Alexander Larsson <alexl@redhat.com>
141 (g_output_stream_close):
142 Only call flush if non-null.
144 2007-11-30 Dan Winship <danw@gnome.org>
146 * ginputstream.c (g_input_stream_set_pending): Make this take a
147 GError and return a gboolean, and do the "outstanding operation"
148 check (and the "stream is already closed" check) itself.
149 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
151 * goutputstream.c (g_output_stream_set_pending)
152 (g_output_stream_clear_pending): Likewise
154 * gbufferedinputstream.c:
155 * gfileinputstream.c:
156 * gfileoutputstream.c: Update for that
158 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
159 Like g_simple_async_report_error_in_idle, but takes a GError
160 rather than building one.
162 2007-11-30 Dan Winship <danw@gnome.org>
164 * goutputstream.c: Don't cheat and unset the "pending" flag around
165 inner calls. Instead, call the class method directly rather than
166 the wrapper function that checks "pending"
168 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
170 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
172 2007-12-03 Hans Breuer <hans@breuer.org>
174 [start of port to win32/msvc]
175 * gcancellable.c : HAVE_UNIST_H and _pipe()
176 * gcontenttype.c : only include <dirent.h> in the UNIX branch
177 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
178 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
180 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
181 * glocalvfs.c : use HAVE_PWD_H
182 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
183 * makefile.msc : new file (maybe later converted to makefile.msc.in)
184 * Makefile.am : added to EXTRA_DIST
186 2007-12-03 Matthias Clasen <mclasen@redhat.com>
188 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
191 2007-12-03 Alexander Larsson <alexl@redhat.com>
194 Handle OSX style xattrs API (#500506)
196 2007-12-03 Alexander Larsson <alexl@redhat.com>
200 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
202 2007-12-02 A. Walton <awalton@svn.gnome.org>
206 Documentation accuracy fixes.
208 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
210 * gioenumtypes.c.template: Fix typo.
212 2007-12-01 Matthias Clasen <mclasen@redhat.com>
214 * gioenumtypes.c.template: Make threadsafe get_type() functions.
216 2007-12-01 Matthias Clasen <mclasen@redhat.com>
218 * gdirectorymonitor.c:
219 * gfilemonitor.c: Add properties
221 * gbufferedoutputstream.c: Don't mark buffer-size property
224 2007-12-01 Matthias Clasen <mclasen@redhat.com>
226 * gbufferedoutputstream.c: Add auto-grow property.
228 2007-11-30 Matthias Clasen <mclasen@redhat.com>
230 * *.c: Unify the capitalization of section headings.
232 2007-11-30 Matthias Clasen <mclasen@redhat.com>
234 * gmountoperation.c: Add properties
236 * gdatainputstream.c: Turn byte-order and newline-type into
239 2007-11-30 Matthias Clasen <mclasen@redhat.com>
241 * gioenumtypes.[hc].template: Templates for enum registration
243 * Makefile.am: Generate gioenumtypes.[hc]
245 * gio.h: Include gioenumtypes.h
247 * gfile.h: Add some explicit nicks.
249 * gio.symbols: Add new symbols
251 * pltcheck.sh: Adjust
253 2007-11-30 Matthias Clasen <mclasen@redhat.com>
255 * *.c: Explain etags and link to the explanation
257 2007-11-29 Matthias Clasen <mclasen@redhat.com>
259 * *.c: Explain I/O priority.
261 * *.c: More coding style fixes.
263 2007-11-29 Matthias Clasen <mclasen@redhat.com>
265 * gasyncresult.c: Add another paragraph to the intro,
266 adjust coding style of example.
268 2007-11-29 A. Walton <awalton@svn.gnome.org>
271 Fixes unknown meaning in GAppLaunchContext docs.
273 Clarify asynchronous ops.
278 Provides missing gtk-doc section, fixes API docs slighly.
279 * gsimpleasyncresult.c:
280 Fill in missing info in docs.
281 * gunixinputstream.c:
282 * gunixoutputstream.c:
283 Be more expressive in short description.
285 Remove gtk-doc stubs for non-public API.
287 2007-11-28 Matthias Clasen <mclasen@redhat.com>
289 * *.c: Coding style fixups
291 2007-11-28 Matthias Clasen <mclasen@redhat.com>
293 * inotify/inotify-helper.c: Don't export the lock from libgio.
295 2007-11-28 Matthias Clasen <mclasen@redhat.com>
298 * abicheck.sh: Fix copy-and-paste leftovers
300 2007-11-28 Matthias Clasen <mclasen@redhat.com>
302 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
304 2007-11-28 Alexander Larsson <alexl@redhat.com>
308 Removed unnecessary file
310 * gdesktopappinfo.[ch]:
313 * glocaldirectorymonitor.[ch]:
315 * glocalfileenumerator.[ch]:
316 * glocalfileinputstream.[ch]:
317 * glocalfilemonitor.[ch]:
318 * glocalfileoutputstream.[ch]:
320 * gnativevolumemonitor.c:
321 * gpollfilemonitor.[ch]:
322 * gunionvolumemonitor.[ch]:
325 * gunixvolumemonitor.[ch]:
328 * inotify/ginotifydirectorymonitor.[ch]:
329 * inotify/ginotifyfilemonitor.[ch]:
330 * inotify/inotify-helper.c:
331 Append _ to all internal functions
335 Export symbols needed for modules
337 2007-11-28 Alexander Larsson <alexl@redhat.com>
340 * abicheck.sh: Added.
341 * makegioalias.pl: Added.
342 * pltcheck.sh: Added.
343 * gio.symbols: Added.
346 Initial work on adding symbol handling.
349 Correct ifdef guard name
352 * inotify/Makefile.am:
353 * xdgmime/Makefile.am:
354 Include toplevel Makefile.decl
356 2007-11-27 Matthias Clasen <mclasen@redhat.com>
358 * gcontenttype.c: Move doc comments to the unix section.
360 * *.[hc]: More trivial doc corrections.
362 2007-11-27 Matthias Clasen <mclasen@redhat.com>
364 * gpollfilemonitor.c:
373 * gdatainputstream.c:
374 * gdatainputstream.h:
375 * gdataoutputstream.c:
376 * gdataoutputstream.h:
377 * gfileinfo.h: Doc cleanups
379 2007-11-28 Andre Klapper <a9016009@gmx.de>
381 * gdesktopappinfo.c: Fix a typo.
383 2007-11-27 Andre Klapper <a9016009@gmx.de>
385 * glocalfileoutputstream.c: Fix a typo.
387 2007-11-27 Alexander Larsson <alexl@redhat.com>
390 Don't include removed headers
392 2007-11-27 Alexander Larsson <alexl@redhat.com>
395 * gsocketinputstream.[ch]: Removed.
396 * gsocketoutputstream.[ch]: Removed.
397 * gunixinputstream.[ch]: Added.
398 * gunixoutputstream.[ch]: Added.
399 Renamed GSocket*Stream to GUnix*Stream and made
400 it unix-only, since its not really only for sockets
401 and it only works on unix (but is highly useful there).
403 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
409 * gbufferedinputstream.c:
410 * gbufferedinputstream.h:
411 * gbufferedoutputstream.c:
412 * gbufferedoutputstream.h:
416 * gdatainputstream.c:
417 * gdatainputstream.h:
418 * gdataoutputstream.c:
419 * gdataoutputstream.h:
420 * gdirectorymonitor.c:
421 * gdirectorymonitor.h:
434 * gfileinputstream.c:
435 * gfileinputstream.h:
438 * gfilenamecompleter.c:
439 * gfilenamecompleter.h:
440 * gfileoutputstream.c:
441 * gfileoutputstream.h:
442 * gfilterinputstream.c:
443 * gfilterinputstream.h:
444 * gfilteroutputstream.c:
445 * gfilteroutputstream.h:
458 * glocalfileoutputstream.c:
459 * gmemoryinputstream.c:
460 * gmemoryinputstream.h:
461 * gmemoryoutputstream.c:
462 * gmemoryoutputstream.h:
467 * gpollfilemonitor.c:
470 * gsimpleasyncresult.c:
471 * gsimpleasyncresult.h:
472 * gsocketinputstream.c:
473 * gsocketinputstream.h:
474 * gsocketoutputstream.c:
475 * gsocketoutputstream.h:
482 * gunixvolumemonitor.c:
491 Bumps documentation to 93% symbol coverage, touching most
492 of the public files. Fixes broken function documentation prototypes.
493 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
494 gtk-doc headers in private files.
496 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
498 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
499 (g_buffered_input_stream_read_byte):
500 * gbufferedinputstream.h:
501 New functions for efficient access to buffer and simple single byte
504 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
505 (g_data_input_stream_read_until):
506 * gdatainputstream.h:
507 Use peek_buffer to avoid memcpy in scan_for_newline, implement
508 read_until with multiple stop chars.
510 2007-11-27 Alexander Larsson <alexl@redhat.com>
514 * inotify/Makefile.am:
515 Use the user-specified giomoduledir
517 2007-11-27 Alexander Larsson <alexl@redhat.com>
521 Add catch-all gio.h header
522 Don't install gdummyfile.h
524 2007-11-26 Alexander Larsson <alexl@redhat.com>
526 * Makefile.am (gioinclude_HEADERS):
527 Remove trailing whitespace
529 2007-11-26 Alexander Larsson <alexl@redhat.com>
531 Merge gio-standalone into glib
533 2007-11-25 Christian Kellner <gicmo@gnome.org>
535 * gio/goutputstream.c:
536 Fix small mistake in the docs.
538 2007-11-21 Christian Persch <chpe@gnome.org>
540 * gio/glocalfile.c: (g_local_file_trash):
541 Convert filenames to UTF-8 for GError.
542 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
543 as per xdg base dir spec.
545 2007-11-21 Christian Persch <chpe@gnome.org>
547 * gio/gdesktopappinfo.c:
548 Use that g_key_file_to_data cannot fail.
550 Use stock defines for the key file group and key names.
553 2007-11-21 Alexander Larsson <alexl@redhat.com>
556 (copy_stream_with_progress):
557 Make sure we do a final progress callback with
560 2007-11-21 Alexander Larsson <alexl@redhat.com>
563 Export g_file_copy_attributes
564 Remove padding as its not needed for interfaces
566 2007-11-20 Alexander Larsson <alexl@redhat.com>
571 Add G_IO_ERROR_WOULD_MERGE for
572 copy/move dir on dir with overwrite.
574 2007-11-20 Alexander Larsson <alexl@redhat.com>
577 * gio/glocalfileinfo.c:
578 Add COPY_NAME (this is an optional
579 non-modified utf8 version of the name) that
582 2007-11-20 Alexander Larsson <alexl@redhat.com>
584 * gio/glocalfileenumerator.c:
585 Report errors as GIOError, not GFileError
587 2007-11-16 Alexander Larsson <alexl@redhat.com>
589 * gio/glocalfileoutputstream.c:
590 * gio/gwin32appinfo.c:
591 Fix typos in strings.
592 Patch from Luca Ferretti <elle.uca@libero.it>
594 2007-11-15 Alexander Larsson <alexl@redhat.com>
597 Post release version bump
599 === gio-standalone 0.1.2 ===
601 2007-11-15 Alexander Larsson <alexl@redhat.com>
603 * docs/reference/gio/Makefile.am:
604 Fix up distcheck by removing weird
610 2007-11-14 Alexander Larsson <alexl@redhat.com>
612 * gio/gdesktopappinfo.c:
613 * gio/glocaldirectorymonitor.c:
615 * gio/glocalfileinfo.c:
616 * gio/inotify/inotify-sub.c:
617 * programs/gio-cat.c:
618 * programs/gio-copy.c:
619 * programs/gio-info.c:
621 * programs/gio-monitor-dir.c:
622 * programs/gio-monitor-file.c:
623 * programs/gio-mount.c:
624 * programs/gio-move.c:
626 * programs/gio-save.c:
627 * programs/gio-trash.c:
628 Leak fixes from Kjartan Maraas
630 2007-11-14 Alexander Larsson <alexl@redhat.com>
632 * gio/fam/fam-helper.c:
634 * gio/glocalfileinfo.c:
638 * gio/inotify/inotify-diag.c:
639 * gio/inotify/inotify-kernel.c:
640 Various code cleanups from Kjartan Maraas
642 2007-11-14 Alexander Larsson <alexl@redhat.com>
644 * gio/gioscheduler.c:
646 Set up threadpool so that we cache 2 unused
647 idle threads for at 15 secs. This means we
648 will reuse thread-local data (like dbus connections)
651 2007-11-14 Alexander Larsson <alexl@redhat.com>
653 * gio/fam/fam-helper.c:
654 * gio/fam/gfamdirectorymonitor.c:
655 * gio/fam/gfamfilemonitor.c:
657 * gio/gcontenttype.c:
658 * gio/gdatainputstream.c:
659 * gio/gdataoutputstream.c:
663 * gio/gfileattribute.h:
664 * gio/gfileenumerator.c:
666 * gio/ginputstream.c:
669 * gio/glocalfileinfo.c:
670 * gio/goutputstream.c:
671 * gio/gpollfilemonitor.c:
672 * gio/gsimpleasyncresult.c:
675 * gio/inotify/ginotifydirectorymonitor.c:
676 * gio/inotify/ginotifyfilemonitor.c:
677 * gio/inotify/inotify-diag.c:
678 * gio/inotify/inotify-kernel.c:
679 * gio/inotify/inotify-path.c:
681 * gio/test-streams.c:
682 * programs/gio-info.c:
683 * programs/gio-monitor-dir.c:
684 * programs/gio-monitor-file.c:
685 Various code cleanups from Kjartan Maraas
687 2007-11-13 Alexander Larsson <alexl@redhat.com>
690 Handle the uri-scheme calls for dummy files
692 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
694 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
695 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
696 to avoid clash with the C++ keyword.
698 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
700 * gio/glocalfileinfo.c: Build fix, added missing semicolon
701 to an ifdef'ed call to getpwuid() in lookup_uid_data().
703 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
705 * gio/glocaldirectorymonitor.c:
706 * gio/glocalfilemonitor.c:
707 * gio/gunionvolumemonitor.c:
708 Don't use g_once_init_*() for initializations that could fail and
709 could leave the initialization variable set to 0 but use GOnce.
710 This prevents a deadlock on the second call when trying to create
711 a monitor and no monitor type is available. Thanks to Sven Herzberg
714 2007-11-11 Sven Herzberg <sven@imendio.com>
716 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
717 #ifdef (make it work on MacOS X again)
719 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
721 Fixes Changelog for last two commits (sorry guys).
723 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
725 * gio/gbufferedinputstream.c:
726 * gio/gdatainputstream.c:
728 * gio/gfileoutputstream.c:
729 * gio/gfilterinputstream.c:
730 * gio/glocalfileinputstream.c:
733 More consistency fixes in g*stream.c files.
734 Significant clean of gfile's documentation, filling in of
735 asynchronous operations documentation.
737 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
739 * gio/gasyncresult.c:
740 * gio/gbufferedinputstream.c:
741 * gio/gbufferedoutputstream.c:
742 * gio/gcancellable.c:
743 * gio/gcontenttype.c:
744 * gio/gdatainputstream.c:
745 * gio/gdataoutputstream.c:
746 * gio/gdesktopappinfo.c:
749 * gio/gfileattribute.c:
750 * gio/gio/gfileenumerator.c:
752 * gio/gfileinputstream.c:
753 * gio/gfilemonitor.c:
754 * gio/gfileoutputstream.c:
755 * gio/ginputstream.c:
757 * gio/gioscheduler.c:
758 * gio/gloadableicon.c:
759 * gio/glocalfileoutputstream.c:
760 * gio/gmemoryoutputstream.c:
761 * gio/gmountoperation.c:
762 * gio/goutputstream.c:
764 * gio/gsimpleasyncresult.c:
765 * gio/gunionvolumemonitor.c:
771 * gio/gvolumemonitor.c:
772 Updated documentation stubs, working towards consistency and
775 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
777 * gio/gmemoryoutputstream.c:
778 * gio/gmemoryoutputstream.h:
779 Change g_memory_output_stream_set_free_on_close() to
780 g_memory_output_stream_set_free_data() as this makes more sense and
781 is more consistent with GMemoryInputStream.
783 2007-11-07 Alexander Larsson <alexl@redhat.com>
790 Change how we find the default vfs so that
791 we can handle a gvfs failing to init
793 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
795 * gio/gbufferedoutputstream.c:
796 * gio/gdatainputstream.c:
797 * gio/gdataoutputstream.c:
798 * gio/gfileinputstream.c:
799 * gio/gfileoutputstream.c:
800 * gio/gfilterinputstream.c:
801 * gio/gfilteroutputstream.c:
802 * gio/ginputstream.c:
803 * gio/gmemoryinputstream.c:
804 * gio/gmemoryoutputstream.c:
805 * gio/goutputstream.c:
806 * gio/gsimpleasyncresult.c:
807 * gio/gsocketinputstream.c:
808 * gio/gsocketoutputstream.c:
809 Add guards to the remaining public functions, add a TODO for
810 an unimplemented function and remove some useless guards.
812 2007-11-07 Alexander Larsson <alexl@redhat.com>
815 Autoconf checks for the various types of
816 getpwuid_r and getgrgid_r
818 * gio/glocalfileinfo.c:
819 Use the autoconf checks from above
821 2007-11-07 Alexander Larsson <alexl@redhat.com>
824 (g_local_file_query_filesystem_info):
825 Some fixes for the statvfs case
827 2007-11-07 Alexander Larsson <alexl@redhat.com>
830 (g_local_file_query_filesystem_info):
831 Pick the "best" of statfs / statvfs for the system
832 if both are availible.
834 2007-11-07 Alexander Larsson <alexl@redhat.com>
836 Solaris fixes from Halton.Huo@Sun.COM:
843 * gio/glocalfileinfo.c:
844 Fix for solaris definition of getpwuid_r
846 * gio/test-streams.c:
847 Use G_GNUC_PRETTY_FUNCTION
849 2007-11-07 Alexander Larsson <alexl@redhat.com>
851 * gio/gdesktopappinfo.c:
852 (update_default_list):
853 Remove double semicolon.
854 Patch from Jens Granseuer
856 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
858 * docs/reference/gio/gio-sections.txt:
859 * gio/gbufferedinputstream.c:
860 * gio/gbufferedinputstream.h:
861 * gio/gdatainputstream.c:
862 * gio/gfileenumerator.c:
863 * gio/gioscheduler.c:
864 * gio/gunionvolumemonitor.c:
866 * programs/gio-save.c:
867 Fix typo: availible -> available. Unfortuntely this breaks API
868 and ABI as g_buffered_input_stream_get_available() was renamed.
871 * gio/gbufferedinputstream.c:
872 Add guards for public functions.
874 2007-11-06 Ross Burton <ross@openedhand.com>
876 * docs/reference/gio/Makefile.am:
877 Fix invalid += usage which automake 1.10 doesn't like.
879 2007-11-06 Alexander Larsson <alexl@redhat.com>
882 (g_app_launch_context_class_init):
885 Patch from Ross Burton
887 2007-11-06 Alexander Larsson <alexl@redhat.com>
890 Post release version bump
892 === gio-standalone 0.1.1 ===
894 2007-11-06 Alexander Larsson <alexl@redhat.com>
897 Bump version to 0.1.1
899 * gio/gsimpleasyncresult.c:
900 (g_simple_async_result_set_from_error):
901 Remove bogus g_return_if_fail
903 2007-11-06 Alexander Larsson <alexl@redhat.com>
906 The name is gio-standalone
909 Add top src/builddir to includedir
911 2007-11-06 Alexander Larsson <alexl@redhat.com>
913 * docs/reference/gio/gio-sections.txt:
915 * gio/gbufferedinputstream.c:
916 * gio/gbufferedoutputstream.c:
917 * gio/gcancellable.c:
918 * gio/gdatainputstream.h:
919 * gio/gdataoutputstream.c:
920 * gio/gdataoutputstream.h:
921 * gio/gdirectorymonitor.c:
923 * gio/gfileattribute.c:
924 * gio/gfileattribute.h:
925 * gio/gfileenumerator.c:
926 * gio/gfileenumerator.h:
929 * gio/gfileinputstream.h:
930 * gio/gfilemonitor.c:
931 * gio/gfileoutputstream.h:
932 * gio/glocalfilemonitor.h:
933 * gio/glocalfileoutputstream.h:
934 * gio/gmemoryinputstream.c:
935 * gio/gmemoryoutputstream.c:
936 * gio/gmountoperation.c:
937 * gio/goutputstream.c:
938 * gio/goutputstream.h:
940 * gio/gsimpleasyncresult.c:
944 * gio/inotify/inotify-helper.c:
947 Patch from Ross Burton
949 2007-11-06 Alexander Larsson <alexl@redhat.com>
951 * gio/gfilenamecompleter.c:
952 (g_filename_completer_get_completions):
956 Remove unused function
958 Patches from Ross Burton
960 2007-11-06 Alexander Larsson <alexl@redhat.com>
965 Padding not needed for interfaces
967 2007-11-06 Alexander Larsson <alexl@redhat.com>
969 * gio/gfilemonitor.c:
973 Make giotypes.h an internal file
976 * gio/gbufferedinputstream.h:
977 * gio/gbufferedoutputstream.h:
978 * gio/gcancellable.h:
979 * gio/gdatainputstream.h:
980 * gio/gdataoutputstream.h:
981 * gio/gdirectorymonitor.c:
982 * gio/gdirectorymonitor.h:
987 * gio/gfileattribute.h:
988 * gio/gfileenumerator.h:
993 * gio/gfilemonitor.c:
994 * gio/gfilemonitor.h:
995 * gio/gfilenamecompleter.c:
996 * gio/gfilenamecompleter.h:
997 * gio/gfilterinputstream.h:
998 * gio/gfilteroutputstream.h:
999 * gio/ginputstream.h:
1000 * gio/gmemoryinputstream.h:
1001 * gio/gmemoryoutputstream.h:
1002 * gio/gmountoperation.c:
1003 * gio/gmountoperation.h:
1004 * gio/gnativevolumemonitor.c:
1005 * gio/goutputstream.h:
1008 * gio/gsimpleasyncresult.c:
1009 * gio/gsimpleasyncresult.h:
1010 * gio/gsocketinputstream.h:
1011 * gio/gsocketoutputstream.h:
1012 * gio/gthemedicon.c:
1013 * gio/gthemedicon.h:
1017 * gio/gvolumemonitor.c:
1018 * gio/gvolumemonitor.h:
1019 Add padding in classes where it seems useful
1020 Don't include giotypes.h from public headers
1021 Move in Class definitions into c file where possible
1026 2007-11-06 Alexander Larsson <alexl@redhat.com>
1028 * docs/reference/gio/gio-docs.xml:
1029 Better structure for API docs
1031 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1034 * gio/gloadableicon.c:
1035 * gio/gsimpleasyncresult.c:
1036 * gio/gthemedicon.c:
1037 Add some more guards to public functions. Only files missing are now
1040 2007-11-06 Alexander Larsson <alexl@redhat.com>
1042 * docs/reference/gio/gio-docs.xml:
1043 Remove old files, add missing ones
1045 2007-11-06 Alexander Larsson <alexl@redhat.com>
1047 * docs/reference/gio/gio-sections.txt:
1050 Hide implementation classes
1052 * gio/gdriveprivate.h:
1053 * gio/gvolumeprivate.h:
1054 Remove non-existing function declarations
1056 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1059 Fix compilation warnings and add guards to the new functions.
1061 * gio/gasyncresult.c:
1063 Add guards to the public functions.
1066 Implement get_path().
1068 2007-11-06 Alexander Larsson <alexl@redhat.com>
1070 * gio/gfilenamecompleter.c:
1071 Make g_filename_completer_get_completions
1072 return char ** instead of GList for
1075 * docs/reference/gio/gio-docs.xml:
1076 * docs/reference/gio/gio-sections.txt:
1078 * gio/gasyncresult.c:
1079 * gio/gbufferedinputstream.c:
1080 * gio/gbufferedoutputstream.c:
1081 * gio/gcancellable.c:
1082 * gio/gcontenttype.c:
1083 * gio/gdatainputstream.c:
1084 * gio/gdataoutputstream.c:
1085 * gio/gdesktopappinfo.c:
1086 * gio/gdirectorymonitor.c:
1090 * gio/gfileattribute.c:
1091 * gio/gfileenumerator.c:
1094 * gio/gfileinputstream.c:
1095 * gio/gfilemonitor.c:
1096 * gio/gfilenamecompleter.c:
1097 * gio/gfilenamecompleter.h:
1098 * gio/gfileoutputstream.c:
1099 * gio/gfilterinputstream.c:
1101 * gio/ginputstream.c:
1103 * gio/gioscheduler.c:
1104 * gio/gloadableicon.c:
1105 * gio/glocaldirectorymonitor.c:
1107 * gio/glocalfileinputstream.c:
1108 * gio/glocalfilemonitor.c:
1109 * gio/glocalfileoutputstream.c:
1111 * gio/gmemoryinputstream.c:
1112 * gio/gmemoryoutputstream.c:
1113 * gio/gmountoperation.c:
1114 * gio/goutputstream.c:
1115 * gio/gpollfilemonitor.c:
1117 * gio/gsimpleasyncresult.c:
1118 * gio/gsocketinputstream.c:
1119 * gio/gsocketoutputstream.c:
1120 * gio/gthemedicon.c:
1121 * gio/gunionvolumemonitor.c:
1123 * gio/gunixmounts.c:
1124 * gio/gunixvolume.c:
1125 * gio/gunixvolumemonitor.c:
1129 * gio/gvolumemonitor.c:
1130 * gio/gwin32appinfo.c:
1131 Add (mostly stub) doc strings to public functions.
1132 Patch from Andrew Walton (awalton@gmail.com)
1134 2007-11-06 Alexander Larsson <alexl@redhat.com>
1136 * gio/gappinfo.[ch]:
1137 Added GAppLaunchContext object and pass that to launch.
1138 This allows simple implementation of both
1139 launch-on-screen and startup notification via a gtk+
1140 subclass of GAppLaunchContext
1142 * gio/gdesktopappinfo.c:
1143 Implement GAppLaunchContext API
1145 * gio/gwin32appinfo.c:
1148 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1150 * gio/gmountoperation.c:
1151 Add some guards to GMountOperation's public functions.
1153 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1157 * gio/gcancellable.c:
1158 * gio/gdirectorymonitor.c:
1160 * gio/gfileenumerator.c:
1161 * gio/gfilemonitor.c:,
1162 * gio/gfilenamecompleter.c:
1165 * gio/gioscheduler.c:
1169 * gio/gvolumemonitor.c:
1170 Add even more guards to various public functions.
1172 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1175 Add guards to the public functions of GAppInfo.
1177 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1179 * gio/gcontenttype.c:
1180 Add some more guards for public functions.
1182 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1184 * gio/fam/fam-module.c:
1185 * gio/fam/gfamdirectorymonitor.c:
1186 * gio/fam/gfamdirectorymonitor.h:
1187 * gio/fam/gfamfilemonitor.c:
1188 * gio/fam/gfamfilemonitor.h:
1189 * gio/inotify/ginotifydirectorymonitor.c:
1190 * gio/inotify/ginotifydirectorymonitor.h:
1191 * gio/inotify/ginotifyfilemonitor.c:
1192 * gio/inotify/ginotifyfilemonitor.h:
1193 Add proper copyright information and remove an unused variable
1194 in the GInotifyFileMonitor constructor.
1196 * gio/gcancellable.c:
1197 Add a guard for a public function and an assertion to prevent
1198 an undefined program state.
1200 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1202 * gio/gfileattribute.c:
1203 Don't run into an assertion if the given attribute value is NULL
1204 in g_file_attribute_value_get_*() but instead return a fallback
1205 value that makes sense in most situations. Passing them a attribute
1206 value with the wrong type will still run into an assertion.
1208 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1210 * gio/gfileattribute.c:
1212 Add even more guards to the public functions. Also fix the refcounting
1213 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1214 let g_file_info_list_attributes() filter the attributes by namespace
1215 instead of simply ignoring the namespace parameter.
1217 2007-11-03 Sven Herzberg <sven@imendio.com>
1219 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1220 (This makes gio work on MacOS X again)
1222 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1225 Build the gio subdirectory before the docs. Otherwise the build will
1228 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1229 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1230 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1231 Add guards to the public functions.
1233 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1235 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1236 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1237 to prevent a compiler warning.
1239 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1240 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1241 return something in the non-void function find_topdir_for().
1243 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1250 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1252 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1253 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1254 * gwin32appinfo.c (g_win32_app_info_launch):
1255 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1256 envp_for_startup_id, g_desktop_app_info_launch,
1257 g_desktop_app_info_launch_uris):
1259 Give an opaque 'startup_id' string instead of 'envp'.
1260 Support empty file lists for launching new windows.
1261 Fix infinite recursion bug when launching URIs.
1263 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1266 Add guard to the new g_file_get_uri_scheme() function.
1268 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1271 Convert a g_return_val_if_fail() to setting the GError instead as
1272 otherwise applications have to verify the parameter before otherwise
1273 and the parameter might come directly from the user.
1275 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1277 * gio/inotify/ginotify*.[ch]:
1278 Add missing copyright information.
1280 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1283 Add guards in the beginning of public functions to check for valid
1284 parameters and fix a bug in copy_stream_with_progress() that could've
1285 caused writing less bytes than reading.
1286 * gio/glocalfileinfo.c:
1287 Check for a NULL parameter and set the GError accordingly then.
1288 * gio/goutputstream.c:
1289 Fix the same bug as in gfile.c that could've caused writing less bytes
1290 than reading in g_output_stream_real_splice().
1292 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1295 Use the correct gvolumeprivate.h naming
1297 2007-11-01 Christian Kellner <gicmo@gnome.org>
1300 Remove leftover "$(daemon_sources)" entry.
1302 2007-11-01 Christian Kellner <gicmo@gnome.org>
1307 Add copyright information to source files.
1309 2007-11-01 Alexander Larsson <alexl@redhat.com>
1313 Add g_file_get_uri_scheme
1315 2007-11-01 Alexander Larsson <alexl@redhat.com>
1318 * gio/gdesktopappinfo.c:
1319 * gio/gwin32appinfo.c:
1320 Add g_app_info_get_default_for_uri_scheme.
1322 2007-11-01 Alexander Larsson <alexl@redhat.com>
1325 Correct filename for gdriveprivate.h
1327 2007-10-31 Alexander Larsson <alexl@redhat.com>
1330 Rename id:value to id:file
1333 * gio/glocalfileinfo.c:
1336 2007-10-31 Alexander Larsson <alexl@redhat.com>
1338 * gio/gunixvolume.c:
1340 Remove g_volume_get_platform_id, as thats not
1341 needed with the simpler union volume monitor
1343 2007-10-31 Alexander Larsson <alexl@redhat.com>
1346 * gio/guniondrive.[ch]: Removed.
1347 * gio/gunionvolume.[ch]: Removed.
1348 Remove GUnionDrive/Volume
1350 * gio/gunionvolumemonitor.c:
1351 Simplify union volume monitor, now we
1352 only have one native volume monitor and
1353 we use the actual volumes/drives from the
1354 child monitors instead of wrapping them
1356 * gio/gnativevolumemonitor.[ch]:
1357 Base class for native volume monitors.
1358 Includes priority and get_volume_for_mountpoint
1361 Add g_file_find_enclosing_volume
1364 Remove volume name fs attribute
1365 Add readonly fs attribute
1368 Implement readonly attribute
1369 remove volume name attribute
1370 Implement find_enclosing volume
1372 * gio/gunixmounts.c:
1373 Add a volume for "/".
1375 * gio/gunixvolume.[ch]:
1376 Set better name for /
1378 * gio/gunixvolumemonitor.[ch]:
1379 Derive from GNativeVolumeMonitor
1380 Implement get_volume_for_mountpoint
1383 GVolume typedef moved to gfile.h
1385 * gio/gvolumeprivate.h:
1386 Add g_volume_get_for_mount_path
1388 2007-10-31 Alexander Larsson <alexl@redhat.com>
1390 * gio/gunixmounts.[ch]:
1391 Add cache info to unix mount listers
1392 Make getmntent use threadsafe
1393 Add is_system_internal attribute for GUnixMount
1395 * gio/gunixvolume.c:
1396 (g_unix_volume_new):
1397 Use is_system_internal instead of own code
1399 * gio/glocaldirectorymonitor.c:
1400 * gio/gunixvolumemonitor.c:
1401 Update to new gunixmounts API
1406 2007-10-30 Alexander Larsson <alexl@redhat.com>
1409 Add volume name fsinfo attribute
1412 Read volume name info
1414 * gio/gunionvolumemonitor.c:
1415 Fix infinite loops when finalizing a union volume monitor
1417 2007-10-30 Alexander Larsson <alexl@redhat.com>
1419 * gio/goutputstream.[ch]:
1420 Add splice() with default implementation
1422 * gio/gsocketoutputstream.c:
1423 (g_socket_output_stream_write):
1424 Return error on cancellation correctly.
1426 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1428 * gio/glocalfile.c (g_local_file_trash):
1429 Do not leak a string.
1431 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1433 * gio/gfile.c (g_file_load_contents):
1434 Unref the stream after closing it.
1436 2007-10-25 Alexander Larsson <alexl@redhat.com>
1438 * gio/gioscheduler.h:
1441 2007-10-25 Alexander Larsson <alexl@redhat.com>
1445 Add g_file_has_uri_scheme and implement for local files
1447 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1449 * gio/gdesktopappinfo.c: do not leak a string.
1451 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1453 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1454 (g_local_directory_monitor_new):
1455 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1456 (g_local_file_monitor_new):
1457 Only look for the monitor type that should be used the first time
1458 and use g_qsort_with_data() instead of our own bubble sort
1461 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1464 * gio/fam/Makefile.am:
1465 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1466 * gio/fam/fam-helper.h:
1467 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1468 * gio/fam/gfamdirectorymonitor.c:
1469 * gio/fam/gfamdirectorymonitor.h:
1470 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1471 * gio/fam/gfamfilemonitor.h:
1472 * gio/glocaldirectorymonitor.c:
1473 * gio/glocaldirectorymonitor.h:
1474 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1475 * gio/glocalfilemonitor.h:
1476 * gio/inotify/Makefile.am:
1477 * gio/inotify/ginotifydirectorymonitor.c:
1478 * gio/inotify/ginotifydirectorymonitor.h:
1479 * gio/inotify/ginotifyfilemonitor.c:
1480 * gio/inotify/ginotifyfilemonitor.h:
1481 Implement the FAM and Inotify monitors as
1482 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1483 their own GIO module. GLocal(Directory|File)Monitor will use the
1484 monitor with the highest rank that is supported on that machine.
1486 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1489 Change GIO module dir to $(libdir)/gio/modules and change
1490 the log domain from GVFS to GIO. Also only export symbols starting
1491 with g_ in the resulting library.
1492 * gio/test-streams.c: (main):
1493 Set log handler for the GIO log domain.
1495 2007-10-22 Alexander Larsson <alexl@redhat.com>
1497 * gio/gfilenamecompleter.[ch]:
1498 Add g_filename_completer_set_dirs_only
1500 2007-10-22 Alexander Larsson <alexl@redhat.com>
1503 * gio/gurifuncs.[ch]:
1504 Add some simple URI helpers
1506 * gio/gfilenamecompleter.[ch]:
1507 Added object for filename (parse name actually) completion
1510 Handle ~ in parse names
1512 2007-10-17 Alexander Larsson <alexl@redhat.com>
1515 * gio/glocalfileinfo.c:
1516 Add and implement id:value attribute
1518 2007-10-17 Alexander Larsson <alexl@redhat.com>
1521 * gio/guniondrive.c:
1523 Add and implement g_drive_has_volumes
1525 2007-10-17 Alexander Larsson <alexl@redhat.com>
1528 * gio/glocalfileinfo.[ch]:
1529 Add unix:is_mountpoint and implement for local files
1531 2007-10-16 Alexander Larsson <alexl@redhat.com>
1533 * gio/gunionvolumemonitor.c:
1534 (g_union_volume_monitor_init):
1535 Fix up the unix type getting so that it works with gcc
1537 2007-10-12 Alexander Larsson <alexl@redhat.com>
1540 * gio/glocalfileinfo.c:
1541 Add thumbnail:failed to file info
1543 2007-10-12 Richard Hult <richard@imendio.com>
1545 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1546 optimizing away the get_type call (happens with some gcc versions,
1547 like the one shipped with OS X 10.4).
1549 2007-10-12 Alexander Larsson <alexl@redhat.com>
1551 * gio/glocalfileinfo.c:
1552 (_g_local_file_info_set_attribute):
1553 Fix build if not HAVE_XATTR
1554 Patch from Milosz Derezynski <internalerror@gmail.com>
1556 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1558 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1559 around for review, otherwise I would have asked you before
1562 2007-10-11 Alexander Larsson <alexl@redhat.com>
1565 Add thumbnail:path attribute
1567 * gio/glocalfileinfo.c:
1568 Implement thumbnail:path for local files
1570 2007-10-11 Alexander Larsson <alexl@redhat.com>
1572 * gio/glocalfileinfo.c:
1573 (_g_local_file_info_get):
1574 Avoid duplicate icon names
1576 2007-10-11 Alexander Larsson <alexl@redhat.com>
1578 * gio/gthemedicon.[ch]:
1579 Change g_themed_icon_get_names return type to const
1581 2007-10-10 Alexander Larsson <alexl@redhat.com>
1583 * gio/glocalfileinfo.c:
1584 Don't reference freed memory
1586 2007-10-10 Alexander Larsson <alexl@redhat.com>
1588 * gio/gfileattribute.c:
1591 * gio/glocalfileinfo.c:
1594 2007-10-10 Alexander Larsson <alexl@redhat.com>
1597 Check for NULL icons
1599 * gio/gfileattribute.c:
1600 Don't dup when getting objects (same as for string attributes)
1602 * gio/gicon.c (g_icon_equal):
1603 Safely handle NULLs in equal
1605 2007-10-10 Alexander Larsson <alexl@redhat.com>
1608 Fix c++ compilation issues
1609 Patch from Milosz Derezynski <internalerror@gmail.com>
1611 2007-10-10 Alexander Larsson <alexl@redhat.com>
1613 * programs/gio-monitor-dir.c:
1614 Don't crash if dir monitor not supported.
1616 2007-10-09 Alexander Larsson <alexl@redhat.com>
1619 Add missing G_END_DECLS
1621 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1623 * gio/gfile.c: (g_file_set_display_name),
1624 (g_file_query_settable_attributes),
1625 (g_file_query_writable_namespaces):
1626 Return NULL not FALSE on errors as the return type is a pointer.
1628 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1630 * gio/glocalfile.c: (g_local_file_monitor_file):
1631 Don't call monitor_file on the default interface vtable (which
1632 is NULL) but simply return NULL. The caller, GFile, will create a
1633 polling monitor if NULL is returned.
1635 2007-10-09 Alexander Larsson <alexl@redhat.com>
1639 * gio-unix-2.0.pc.in:
1640 Add gio-unix-2.0.pc if OS_UNIX
1643 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1645 2007-10-09 Alexander Larsson <alexl@redhat.com>
1647 * gio/gunixmounts.[ch]:
1648 Make unix mount monitoring API sane.
1649 Now its just a object with mounts_changed
1650 and mountpoints_changed signals.
1652 * gio/glocaldirectorymonitor.c:
1653 * gio/gunixvolumemonitor.c:
1654 Use new mount monitor api
1656 2007-10-09 Alexander Larsson <alexl@redhat.com>
1658 * gio/gunixmounts.[ch]:
1659 Move guess type into one call for mounts and one for mountpoints
1662 * gio/gunixvolume.c:
1665 2007-10-09 Alexander Larsson <alexl@redhat.com>
1667 * gio/gunixmounts.[ch]:
1668 Remove _ prefix in preparation to make this semi-public
1669 Hide implementation of structs
1671 * gio/glocaldirectorymonitor.c:
1673 * gio/gunixvolume.c:
1674 * gio/gunixvolumemonitor.c:
1675 Update for above API changes
1677 2007-10-08 Alexander Larsson <alexl@redhat.com>
1680 Better polling fallback. This also handles the case where we have
1681 a monitor_file implementation, but it fails.
1683 2007-10-08 Alexander Larsson <alexl@redhat.com>
1687 * gio/gunixmounts.c:
1688 * programs/gio-monitor-dir.c:
1689 * programs/gio-monitor-file.c:
1690 Added cancellable to file monitoring calls.
1691 These are really sync calls and need this.
1693 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1695 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1696 (g_local_vfs_class_init):
1697 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1698 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1700 2007-10-05 Alexander Larsson <alexl@redhat.com>
1702 * gio/gdirectorymonitorprivate.h:
1703 * gio/gfilemonitorprivate.h:
1704 * gio/gdirectorymonitor.h:
1705 * gio/gfilemonitor.h:
1706 Remove *private.h and move to the public API, so that
1707 we can do implementations outside gio (such as in gvfs)
1709 * gio/gdirectorymonitor.c:
1710 * gio/gfilemonitor.c:
1711 * gio/glocaldirectorymonitor.c:
1712 * gio/gpollfilemonitor.c:
1713 * gio/inotify/inotify-helper.c:
1714 * gio/fam/fam-helper.c:
1715 Update to the new header names
1717 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
1719 * gio/gdirectorymonitor.c:
1720 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1723 2007-10-04 Alexander Larsson <alexl@redhat.com>
1725 * gio/glocalfileinfo.c (get_access_rights):
1726 Set CAN_TRASH when we can move the file.
1727 We should really also check for a parent trash dir.
1729 2007-10-04 Alexander Larsson <alexl@redhat.com>
1731 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1732 Add can_trash access attribute
1734 2007-10-04 Alexander Larsson <alexl@redhat.com>
1737 (g_local_file_trash):
1738 Create info file first. This is per-spec and allows
1739 us to actually trash directories.
1741 2007-10-02 Alexander Larsson <alexl@redhat.com>
1743 * gio/gdesktopappinfo.c:
1744 Implement the new mime support code.
1745 Always set app as handling mimetype when being set as default for it
1747 2007-10-01 Alexander Larsson <alexl@redhat.com>
1749 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
1750 Fix up check for xattrs:
1752 2007-10-01 Alexander Larsson <alexl@redhat.com>
1755 (g_app_info_set_as_default_for_extension):
1756 (g_app_info_add_supports_type):
1757 (g_app_info_can_remove_supports_type):
1758 (g_app_info_remove_supports_type):
1759 Make these fail nicely if not implemented
1761 2007-10-01 Paolo Borelli <pborelli@katamail.com>
1763 * gio/glocalfileoutputstream.c:
1764 * gio/glocalfileoutputstream.h:
1769 * programs/gio-save.c:
1770 Add a GFileCreateFlags argument to operations that can create
1773 2007-10-01 Alexander Larsson <alexl@redhat.com>
1775 * gio/gappinfo.[ch]:
1776 * gio/gdesktopappinfo.c:
1777 Add more (stubbed out) mime API needed for nautilus
1779 2007-10-01 Alexander Larsson <alexl@redhat.com>
1782 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
1783 Add g_app_info_set_as_default_for_extension.
1785 * gio/gdesktopappinfo.c:
1786 Dummy for g_app_info_set_as_default_for_extension
1787 Support flags in g_app_info_create_from_commandline
1789 * gio/gwin32appinfo.c:
1791 Update for API changes
1793 * gio/gthemedicon.c:
1794 Properly NULL-terminate list of icon names
1796 2007-09-28 Alexander Larsson <alexl@redhat.com>
1798 * gio/gloadableicon.h:
1799 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
1801 2007-09-28 Alexander Larsson <alexl@redhat.com>
1804 Install headers in $includedir/gio-standalone/
1806 * gio-2.0.pc.in: Added.
1807 * gio-standalone.pc.in: Removed.
1810 Renamed pkg-config file to match glib (for future move)
1811 Update to the new include dir
1814 Add more TODO comments
1816 2007-09-28 Alexander Larsson <alexl@redhat.com>
1818 * gio/gdesktopappinfo.[ch]:
1819 Expose new_from_filename
1820 Add getter for is_hidden and handle it better
1822 2007-09-28 Alexander Larsson <alexl@redhat.com>
1824 * gio/gfileinfo.[ch]:
1825 Rename g_file_size_format_for_display to
1826 g_format_file_size_for_display.
1827 Now it doesn't have the g_file prefix, so we
1828 can later move it to glib.
1830 2007-09-28 Alexander Larsson <alexl@redhat.com>
1832 * gio/gappinfo.[ch]:
1833 Add g_app_info_get_id and g_app_info_get_executable.
1834 Make all getters non-reffing
1835 Make g_app_info_launch take GFile arguments.
1836 Add must_support_uris argument to g_app_info_get_default_for_type.
1838 * gio/gwin32appinfo.c:
1839 Update to GAppInfo api changes
1841 * gio/gdesktopappinfo.c:
1842 Update to GAppInfo api changes
1843 Implement supports_xdg_startup_notify
1845 * gio/gfileicon.c (g_file_icon_get_file):
1846 Make getter non-reffing.
1851 2007-09-27 Alexander Larsson <alexl@redhat.com>
1853 * gio/gfileinfo.[ch]:
1854 Add g_file_size_format_for_display helper
1856 2007-09-27 Alexander Larsson <alexl@redhat.com>
1858 * gio/glocalfileinfo.c:
1859 Set UNIX_GID from gid, not from uid
1861 2007-09-27 Alexander Larsson <alexl@redhat.com>
1864 Add g_file_set_attributes_async
1866 2007-09-27 Alexander Larsson <alexl@redhat.com>
1868 * gio/glocalfile.c (g_local_file_set_display_name):
1869 Fix set_display_name to actually rename to the right place.
1870 Use lstat to look for existing files so we don't overwrite
1873 2007-09-26 Alexander Larsson <alexl@redhat.com>
1876 Add g_file_set_display_name_async()
1878 2007-09-26 Alexander Larsson <alexl@redhat.com>
1881 Add load_partial_contents async calls
1884 Make internal function static
1886 2007-09-26 Alexander Larsson <alexl@redhat.com>
1888 * gio/glocalfileinfo.c:
1889 Correctly detect broken symlinks
1891 2007-09-26 Alexander Larsson <alexl@redhat.com>
1893 * gio/gcancellable.c (g_cancellable_cancel):
1894 Allow cancel on NULL cancellable
1896 2007-09-25 Alexander Larsson <alexl@redhat.com>
1898 * gio/gsimpleasyncresult.c:
1899 Don't allocate g_error manually.
1900 Fixes g_slice/g_new mixup crash
1902 2007-09-25 Alexander Larsson <alexl@redhat.com>
1904 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
1905 Actually set active_backend.
1906 This means the monitor will be cancelled correctly.
1908 2007-09-25 Alexander Larsson <alexl@redhat.com>
1910 * gio/gdirectorymonitor.c:
1911 Set timeout to NULL when destroying
1913 2007-09-25 Alexander Larsson <alexl@redhat.com>
1916 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
1917 that is a better description of the error.
1919 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
1921 * gio/gvfs.c: (g_vfs_get_local):
1922 Make the local vfs variable static. The same instance should
1925 2007-09-24 Alexander Larsson <alexl@redhat.com>
1927 * gio/glocalfileinfo.c:
1928 Pass in actual length read into sniffer, not the length
1931 2007-09-21 Alexander Larsson <alexl@redhat.com>
1933 * gio/gfileenumerator.c:
1936 * gio/gfileinputstream.c:
1937 * gio/gfileoutputstream.c:
1938 * gio/ginputstream.c:
1939 * gio/goutputstream.c:
1940 Don't crash if async callbacks are NULL
1942 2007-09-20 Alexander Larsson <alexl@redhat.com>
1945 Add async enumerate_children method and default
1948 2007-09-20 Alexander Larsson <alexl@redhat.com>
1951 Add g_file_contains_file & g_file_get_relative_path, since they
1952 were needed for nautilus.
1953 Renamed g_file_resolve_relative to g_file_resolve_relative_path
1958 Implement new methods
1960 2007-09-17 Alexander Larsson <alexl@redhat.com>
1963 * gio/gfileinputstream.[ch]:
1964 * gio/gfileoutputstream.[ch]:
1966 * gio/glocalfileenumerator.[ch]:
1967 * gio/glocalfileinfo.[ch]:
1968 * gio/glocalfileinputstream.c:
1969 * gio/glocalfileoutputstream.c:
1970 * gio/gpollfilemonitor.c:
1971 * programs/gio-copy.c:
1972 * programs/gio-info.c:
1973 * programs/gio-move.c:
1974 Rename get_file_info to query_info() to make it clearer
1975 that these are not simple getters, but do i/o.
1977 2007-09-17 Alexander Larsson <alexl@redhat.com>
1979 * gio/gdatainputstream.[ch]:
1980 * gio/test-streams.c:
1981 Use _read_XXX instead of _get_XXX for the i/o calls
1984 2007-09-17 Alexander Larsson <alexl@redhat.com>
1987 Added needed stuff to TODO comment
1989 2007-09-17 Alexander Larsson <alexl@redhat.com>
1991 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
1992 Don't error out removing the backup copy if it doesn't
1995 2007-09-14 Alexander Larsson <alexl@redhat.com>
1997 * programs/Makefile.am:
1998 * programs/gvfs-*.c:
2000 Renamed apps from gvfs-xxx to gio-xxx.
2002 2007-09-14 Alexander Larsson <alexl@redhat.com>
2005 * gio/gfileoutputstream.[ch]:
2006 * gio/glocalfileoutputstream.c:
2007 * programs/gvfs-save.c:
2008 g_file_output_stream_get_etag doesn't do i/o, so remove
2009 cancellation and error.
2011 2007-09-14 Alexander Larsson <alexl@redhat.com>
2014 Add new_etag output to replace_contents functions
2016 2007-09-14 Alexander Larsson <alexl@redhat.com>
2018 * gio/gfileoutputstream.[ch]:
2019 Add async get_file_info and default implementation
2021 2007-09-14 Alexander Larsson <alexl@redhat.com>
2023 * gio/gfileinputstream.c:
2024 Implement fallback wrapper for async get_file_info
2026 2007-09-14 Alexander Larsson <alexl@redhat.com>
2029 Add etag out argument to load_contents
2034 2007-09-14 Alexander Larsson <alexl@redhat.com>
2036 * gio/gcontenttype.c (looks_like_text):
2037 Whitespace like tab, cr and lf do not make the
2040 2007-09-14 Alexander Larsson <alexl@redhat.com>
2042 * gio/gfileinputstream.[ch]:
2043 Add async get_file_info.
2045 2007-09-13 Alexander Larsson <alexl@redhat.com>
2047 * gio/goutputstream.c (g_output_stream_write_all):
2048 Allow NULL for bytes_written
2050 2007-09-13 Alexander Larsson <alexl@redhat.com>
2052 * gio/gmemoryinputstream.[ch]:
2053 Add accessors for data
2055 2007-09-13 Alexander Larsson <alexl@redhat.com>
2057 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2058 Don't crash if length is NULL