1 2007-12-12 Alexander Larsson <alexl@redhat.com>
6 No need for padding for interfaces
8 2007-12-12 Alexander Larsson <alexl@redhat.com>
12 * gbufferedinputstream.c:
13 * gbufferedoutputstream.c:
16 * gdatainputstream.[ch]:
18 * gdirectorymonitor.c:
20 * gfileattribute.[ch]:
25 * gfileoutputstream.[ch]:
26 * gfilterinputstream.h:
27 * gfilteroutputstream.h:
31 * gmemoryinputstream.c:
34 Fix up a bunch of details in the docs.
39 2007-12-11 David Zeuthen <davidz@redhat.com>
41 Rework how volumes, drives and volume monitoring is
42 done. Previosly the model was
46 where a GDrive instance represented a mount point and a GVolume
47 instance represented a mounted file system. This patch changes it
50 GDrive <1-N> GVolume <1-1> GMount
52 where GMount now serves the purpose of the old GVolume and the new
53 GVolume serves the purpose of the old GDrive. In addition the new
54 GDrive interface is used to represent a collection of GVolume
55 instances (typically partitions) and also contains utility to query
56 the state of the physical drive the GDrive object represents (such
57 as checking for media, polling the drive, ejecting the media etc.).
59 Also implement mounting and unmounting in the Unix volume monitor
60 backend. A subquent patch will introduce GDrive support for ejection
64 * gdrive.c: (g_drive_is_media_check_automatic),
65 (g_drive_is_media_removable), (g_drive_has_media),
66 (g_drive_can_poll_for_media), (g_drive_eject),
67 (g_drive_eject_finish), (g_drive_poll_for_media),
68 (g_drive_poll_for_media_finish):
70 * gfile.c: (g_file_find_enclosing_mount):
73 * glocaldirectorymonitor.c:
74 (g_local_directory_monitor_constructor), (mounts_changed):
75 * glocalfile.c: (get_mount_info),
76 (g_local_file_find_enclosing_mount),
77 (g_local_file_file_iface_init):
78 * gnativevolumemonitor.h:
79 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
80 (get_connected_drives), (g_union_volume_monitor_class_init),
81 (child_volume_added), (child_volume_removed),
82 (child_volume_changed), (child_mount_added), (child_mount_removed),
83 (child_mount_pre_unmount), (child_mount_changed),
84 (child_drive_changed), (g_union_volume_monitor_add_monitor),
85 (g_union_volume_monitor_remove_monitor),
86 (_g_mount_get_for_mount_path):
87 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
88 (guess_system_internal), (_g_get_unix_mounts),
89 (_g_get_unix_mount_points), (g_get_unix_mount_at),
90 (g_unix_mount_free), (g_unix_mount_compare),
91 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
92 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
93 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
94 (type_to_icon), (g_unix_mount_guess_name),
95 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
96 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
97 (_resolve_symlink), (_resolve_dev_root):
99 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
100 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
101 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
102 (g_unix_volume_get_name), (g_unix_volume_can_mount),
103 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
104 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
105 (g_unix_volume_mount), (g_unix_volume_mount_finish),
106 (g_unix_volume_volume_iface_init):
108 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
109 (get_mounts), (get_volumes), (get_connected_drives),
110 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
111 (mountpoints_changed), (mounts_changed),
112 (g_unix_volume_monitor_init),
113 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
114 (find_mount_by_mountpath), (update_volumes), (update_mounts):
115 * gunixvolumemonitor.h:
116 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
117 (g_volume_mount), (g_volume_mount_finish):
119 * gvolumemonitor.c: (g_volume_monitor_class_init),
120 (g_volume_monitor_get_connected_drives),
121 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
124 2007-12-10 Matthias Clasen <mclasen@redhat.com>
126 * gmountoperation.h (GPasswordFlags): Close the gap
128 2007-12-10 Matthias Clasen <mclasen@redhat.com>
130 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
132 * gdesktopappinfo.[hc]: Remove _-prefixes
134 2007-12-10 Tor Lillqvist <tml@novell.com>
136 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
139 2007-12-10 Alexander Larsson <alexl@redhat.com>
141 * gfile.c (g_file_set_display_name):
142 Don't hardcode '/' (#502727)
144 2007-12-09 Hans Breuer <hans@breuer.org>
146 * makefile.msc : follow lib naming convention
147 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
148 for user and group name, tested with ../tests/gio-ls
150 2007-12-09 A. Walton <awalton@svn.gnome.org>
163 * gmemoryinputstream.c:
164 * gmemoryoutputstream.c:
166 * gsimpleasyncresult.c:
167 More documentation cleanup and filling in missing information, bringing
168 GIO to 99% symbol coverage.
170 2007-12-08 Hans Breuer <hans@breuer.org>
172 [gio compiles and links on win32, not sure how much already works]
173 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
174 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
175 base on win32 API; prefer g_lstat() over lstat(); instead of
176 localtime_r() use an all GLib implementation on win32;
177 get_mount_info() still needs a win32 specifc implementation
178 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
179 win32_get_file_user_info to get owner/group info without uid/gid
180 * glocalfileinputstream.c : include <io.h> on win32
181 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
182 definition, use g_win32_ftruncate() for G_OS_WIN32
183 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
184 it is available with mingw/w32api but a mess with the M$ Platform SDKs
185 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
186 * makefile.msc : updated
188 2007-12-07 Alexander Larsson <alexl@redhat.com>
190 * glocalfileenumerator.c (_g_local_file_enumerator_new):
191 Avoid warning spew if error == NULL
193 2007-12-07 Alexander Larsson <alexl@redhat.com>
196 Update docs wrt etags
198 2007-12-06 Alexander Larsson <alexl@redhat.com>
201 Include sys/types.h for dev_t (#501919)
203 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
207 Make abicheck and pltcheck pass.
209 2007-12-05 Alexander Larsson <alexl@redhat.com>
212 * giomodule-priv.h: Added.
213 * glocaldirectorymonitor.c:
214 * glocalfilemonitor.c:
215 * gunionvolumemonitor.c:
217 Actually add the declaration of _g_io_modules_ensure_loaded
219 2007-12-05 Alexander Larsson <alexl@redhat.com>
221 * gdatainputstream.c:
226 * glocaldirectorymonitor.c:
227 * glocalfilemonitor.c:
228 * gunionvolumemonitor.c:
230 Make g_io_modules_ensure_loaded a private function and
231 don't pass in the dirname. This means we can do magic
232 directory finding in the win32 version.
233 Export the actual load-modules-in-directory code so that
236 2007-12-05 Alexander Larsson <alexl@redhat.com>
238 * gbufferedinputstream.c:
239 * gbufferedoutputstream.c:
242 * gfileenumerator.[ch]:
243 * gfileinputstream.c:
244 * gfileoutputstream.[ch]:
245 * gfilterinputstream.c:
246 * gfilteroutputstream.c:
249 * glocalfileenumerator.c:
250 * glocalfileinputstream.c:
251 * glocalfileoutputstream.c:
252 * gmemoryinputstream.c:
253 * gmemoryoutputstream.c:
254 * goutputstream.[ch]:
257 * gunixinputstream.c:
258 * gunixoutputstream.c:
259 Rename all struct members named:
260 read, write, close, truncate, or mount
261 to foo_fn, as these are reserved names
262 and could be defined as macros in libc.
265 2007-12-04 Alexander Larsson <alexl@redhat.com>
268 (g_output_stream_close):
269 Only call flush if non-null.
271 2007-11-30 Dan Winship <danw@gnome.org>
273 * ginputstream.c (g_input_stream_set_pending): Make this take a
274 GError and return a gboolean, and do the "outstanding operation"
275 check (and the "stream is already closed" check) itself.
276 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
278 * goutputstream.c (g_output_stream_set_pending)
279 (g_output_stream_clear_pending): Likewise
281 * gbufferedinputstream.c:
282 * gfileinputstream.c:
283 * gfileoutputstream.c: Update for that
285 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
286 Like g_simple_async_report_error_in_idle, but takes a GError
287 rather than building one.
289 2007-11-30 Dan Winship <danw@gnome.org>
291 * goutputstream.c: Don't cheat and unset the "pending" flag around
292 inner calls. Instead, call the class method directly rather than
293 the wrapper function that checks "pending"
295 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
297 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
299 2007-12-03 Hans Breuer <hans@breuer.org>
301 [start of port to win32/msvc]
302 * gcancellable.c : HAVE_UNIST_H and _pipe()
303 * gcontenttype.c : only include <dirent.h> in the UNIX branch
304 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
305 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
307 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
308 * glocalvfs.c : use HAVE_PWD_H
309 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
310 * makefile.msc : new file (maybe later converted to makefile.msc.in)
311 * Makefile.am : added to EXTRA_DIST
313 2007-12-03 Matthias Clasen <mclasen@redhat.com>
315 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
318 2007-12-03 Alexander Larsson <alexl@redhat.com>
321 Handle OSX style xattrs API (#500506)
323 2007-12-03 Alexander Larsson <alexl@redhat.com>
327 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
329 2007-12-02 A. Walton <awalton@svn.gnome.org>
333 Documentation accuracy fixes.
335 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
337 * gioenumtypes.c.template: Fix typo.
339 2007-12-01 Matthias Clasen <mclasen@redhat.com>
341 * gioenumtypes.c.template: Make threadsafe get_type() functions.
343 2007-12-01 Matthias Clasen <mclasen@redhat.com>
345 * gdirectorymonitor.c:
346 * gfilemonitor.c: Add properties
348 * gbufferedoutputstream.c: Don't mark buffer-size property
351 2007-12-01 Matthias Clasen <mclasen@redhat.com>
353 * gbufferedoutputstream.c: Add auto-grow property.
355 2007-11-30 Matthias Clasen <mclasen@redhat.com>
357 * *.c: Unify the capitalization of section headings.
359 2007-11-30 Matthias Clasen <mclasen@redhat.com>
361 * gmountoperation.c: Add properties
363 * gdatainputstream.c: Turn byte-order and newline-type into
366 2007-11-30 Matthias Clasen <mclasen@redhat.com>
368 * gioenumtypes.[hc].template: Templates for enum registration
370 * Makefile.am: Generate gioenumtypes.[hc]
372 * gio.h: Include gioenumtypes.h
374 * gfile.h: Add some explicit nicks.
376 * gio.symbols: Add new symbols
378 * pltcheck.sh: Adjust
380 2007-11-30 Matthias Clasen <mclasen@redhat.com>
382 * *.c: Explain etags and link to the explanation
384 2007-11-29 Matthias Clasen <mclasen@redhat.com>
386 * *.c: Explain I/O priority.
388 * *.c: More coding style fixes.
390 2007-11-29 Matthias Clasen <mclasen@redhat.com>
392 * gasyncresult.c: Add another paragraph to the intro,
393 adjust coding style of example.
395 2007-11-29 A. Walton <awalton@svn.gnome.org>
398 Fixes unknown meaning in GAppLaunchContext docs.
400 Clarify asynchronous ops.
405 Provides missing gtk-doc section, fixes API docs slighly.
406 * gsimpleasyncresult.c:
407 Fill in missing info in docs.
408 * gunixinputstream.c:
409 * gunixoutputstream.c:
410 Be more expressive in short description.
412 Remove gtk-doc stubs for non-public API.
414 2007-11-28 Matthias Clasen <mclasen@redhat.com>
416 * *.c: Coding style fixups
418 2007-11-28 Matthias Clasen <mclasen@redhat.com>
420 * inotify/inotify-helper.c: Don't export the lock from libgio.
422 2007-11-28 Matthias Clasen <mclasen@redhat.com>
425 * abicheck.sh: Fix copy-and-paste leftovers
427 2007-11-28 Matthias Clasen <mclasen@redhat.com>
429 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
431 2007-11-28 Alexander Larsson <alexl@redhat.com>
435 Removed unnecessary file
437 * gdesktopappinfo.[ch]:
440 * glocaldirectorymonitor.[ch]:
442 * glocalfileenumerator.[ch]:
443 * glocalfileinputstream.[ch]:
444 * glocalfilemonitor.[ch]:
445 * glocalfileoutputstream.[ch]:
447 * gnativevolumemonitor.c:
448 * gpollfilemonitor.[ch]:
449 * gunionvolumemonitor.[ch]:
452 * gunixvolumemonitor.[ch]:
455 * inotify/ginotifydirectorymonitor.[ch]:
456 * inotify/ginotifyfilemonitor.[ch]:
457 * inotify/inotify-helper.c:
458 Append _ to all internal functions
462 Export symbols needed for modules
464 2007-11-28 Alexander Larsson <alexl@redhat.com>
467 * abicheck.sh: Added.
468 * makegioalias.pl: Added.
469 * pltcheck.sh: Added.
470 * gio.symbols: Added.
473 Initial work on adding symbol handling.
476 Correct ifdef guard name
479 * inotify/Makefile.am:
480 * xdgmime/Makefile.am:
481 Include toplevel Makefile.decl
483 2007-11-27 Matthias Clasen <mclasen@redhat.com>
485 * gcontenttype.c: Move doc comments to the unix section.
487 * *.[hc]: More trivial doc corrections.
489 2007-11-27 Matthias Clasen <mclasen@redhat.com>
491 * gpollfilemonitor.c:
500 * gdatainputstream.c:
501 * gdatainputstream.h:
502 * gdataoutputstream.c:
503 * gdataoutputstream.h:
504 * gfileinfo.h: Doc cleanups
506 2007-11-28 Andre Klapper <a9016009@gmx.de>
508 * gdesktopappinfo.c: Fix a typo.
510 2007-11-27 Andre Klapper <a9016009@gmx.de>
512 * glocalfileoutputstream.c: Fix a typo.
514 2007-11-27 Alexander Larsson <alexl@redhat.com>
517 Don't include removed headers
519 2007-11-27 Alexander Larsson <alexl@redhat.com>
522 * gsocketinputstream.[ch]: Removed.
523 * gsocketoutputstream.[ch]: Removed.
524 * gunixinputstream.[ch]: Added.
525 * gunixoutputstream.[ch]: Added.
526 Renamed GSocket*Stream to GUnix*Stream and made
527 it unix-only, since its not really only for sockets
528 and it only works on unix (but is highly useful there).
530 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
536 * gbufferedinputstream.c:
537 * gbufferedinputstream.h:
538 * gbufferedoutputstream.c:
539 * gbufferedoutputstream.h:
543 * gdatainputstream.c:
544 * gdatainputstream.h:
545 * gdataoutputstream.c:
546 * gdataoutputstream.h:
547 * gdirectorymonitor.c:
548 * gdirectorymonitor.h:
561 * gfileinputstream.c:
562 * gfileinputstream.h:
565 * gfilenamecompleter.c:
566 * gfilenamecompleter.h:
567 * gfileoutputstream.c:
568 * gfileoutputstream.h:
569 * gfilterinputstream.c:
570 * gfilterinputstream.h:
571 * gfilteroutputstream.c:
572 * gfilteroutputstream.h:
585 * glocalfileoutputstream.c:
586 * gmemoryinputstream.c:
587 * gmemoryinputstream.h:
588 * gmemoryoutputstream.c:
589 * gmemoryoutputstream.h:
594 * gpollfilemonitor.c:
597 * gsimpleasyncresult.c:
598 * gsimpleasyncresult.h:
599 * gsocketinputstream.c:
600 * gsocketinputstream.h:
601 * gsocketoutputstream.c:
602 * gsocketoutputstream.h:
609 * gunixvolumemonitor.c:
618 Bumps documentation to 93% symbol coverage, touching most
619 of the public files. Fixes broken function documentation prototypes.
620 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
621 gtk-doc headers in private files.
623 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
625 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
626 (g_buffered_input_stream_read_byte):
627 * gbufferedinputstream.h:
628 New functions for efficient access to buffer and simple single byte
631 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
632 (g_data_input_stream_read_until):
633 * gdatainputstream.h:
634 Use peek_buffer to avoid memcpy in scan_for_newline, implement
635 read_until with multiple stop chars.
637 2007-11-27 Alexander Larsson <alexl@redhat.com>
641 * inotify/Makefile.am:
642 Use the user-specified giomoduledir
644 2007-11-27 Alexander Larsson <alexl@redhat.com>
648 Add catch-all gio.h header
649 Don't install gdummyfile.h
651 2007-11-26 Alexander Larsson <alexl@redhat.com>
653 * Makefile.am (gioinclude_HEADERS):
654 Remove trailing whitespace
656 2007-11-26 Alexander Larsson <alexl@redhat.com>
658 Merge gio-standalone into glib
660 2007-11-25 Christian Kellner <gicmo@gnome.org>
662 * gio/goutputstream.c:
663 Fix small mistake in the docs.
665 2007-11-21 Christian Persch <chpe@gnome.org>
667 * gio/glocalfile.c: (g_local_file_trash):
668 Convert filenames to UTF-8 for GError.
669 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
670 as per xdg base dir spec.
672 2007-11-21 Christian Persch <chpe@gnome.org>
674 * gio/gdesktopappinfo.c:
675 Use that g_key_file_to_data cannot fail.
677 Use stock defines for the key file group and key names.
680 2007-11-21 Alexander Larsson <alexl@redhat.com>
683 (copy_stream_with_progress):
684 Make sure we do a final progress callback with
687 2007-11-21 Alexander Larsson <alexl@redhat.com>
690 Export g_file_copy_attributes
691 Remove padding as its not needed for interfaces
693 2007-11-20 Alexander Larsson <alexl@redhat.com>
698 Add G_IO_ERROR_WOULD_MERGE for
699 copy/move dir on dir with overwrite.
701 2007-11-20 Alexander Larsson <alexl@redhat.com>
704 * gio/glocalfileinfo.c:
705 Add COPY_NAME (this is an optional
706 non-modified utf8 version of the name) that
709 2007-11-20 Alexander Larsson <alexl@redhat.com>
711 * gio/glocalfileenumerator.c:
712 Report errors as GIOError, not GFileError
714 2007-11-16 Alexander Larsson <alexl@redhat.com>
716 * gio/glocalfileoutputstream.c:
717 * gio/gwin32appinfo.c:
718 Fix typos in strings.
719 Patch from Luca Ferretti <elle.uca@libero.it>
721 2007-11-15 Alexander Larsson <alexl@redhat.com>
724 Post release version bump
726 === gio-standalone 0.1.2 ===
728 2007-11-15 Alexander Larsson <alexl@redhat.com>
730 * docs/reference/gio/Makefile.am:
731 Fix up distcheck by removing weird
737 2007-11-14 Alexander Larsson <alexl@redhat.com>
739 * gio/gdesktopappinfo.c:
740 * gio/glocaldirectorymonitor.c:
742 * gio/glocalfileinfo.c:
743 * gio/inotify/inotify-sub.c:
744 * programs/gio-cat.c:
745 * programs/gio-copy.c:
746 * programs/gio-info.c:
748 * programs/gio-monitor-dir.c:
749 * programs/gio-monitor-file.c:
750 * programs/gio-mount.c:
751 * programs/gio-move.c:
753 * programs/gio-save.c:
754 * programs/gio-trash.c:
755 Leak fixes from Kjartan Maraas
757 2007-11-14 Alexander Larsson <alexl@redhat.com>
759 * gio/fam/fam-helper.c:
761 * gio/glocalfileinfo.c:
765 * gio/inotify/inotify-diag.c:
766 * gio/inotify/inotify-kernel.c:
767 Various code cleanups from Kjartan Maraas
769 2007-11-14 Alexander Larsson <alexl@redhat.com>
771 * gio/gioscheduler.c:
773 Set up threadpool so that we cache 2 unused
774 idle threads for at 15 secs. This means we
775 will reuse thread-local data (like dbus connections)
778 2007-11-14 Alexander Larsson <alexl@redhat.com>
780 * gio/fam/fam-helper.c:
781 * gio/fam/gfamdirectorymonitor.c:
782 * gio/fam/gfamfilemonitor.c:
784 * gio/gcontenttype.c:
785 * gio/gdatainputstream.c:
786 * gio/gdataoutputstream.c:
790 * gio/gfileattribute.h:
791 * gio/gfileenumerator.c:
793 * gio/ginputstream.c:
796 * gio/glocalfileinfo.c:
797 * gio/goutputstream.c:
798 * gio/gpollfilemonitor.c:
799 * gio/gsimpleasyncresult.c:
802 * gio/inotify/ginotifydirectorymonitor.c:
803 * gio/inotify/ginotifyfilemonitor.c:
804 * gio/inotify/inotify-diag.c:
805 * gio/inotify/inotify-kernel.c:
806 * gio/inotify/inotify-path.c:
808 * gio/test-streams.c:
809 * programs/gio-info.c:
810 * programs/gio-monitor-dir.c:
811 * programs/gio-monitor-file.c:
812 Various code cleanups from Kjartan Maraas
814 2007-11-13 Alexander Larsson <alexl@redhat.com>
817 Handle the uri-scheme calls for dummy files
819 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
821 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
822 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
823 to avoid clash with the C++ keyword.
825 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
827 * gio/glocalfileinfo.c: Build fix, added missing semicolon
828 to an ifdef'ed call to getpwuid() in lookup_uid_data().
830 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
832 * gio/glocaldirectorymonitor.c:
833 * gio/glocalfilemonitor.c:
834 * gio/gunionvolumemonitor.c:
835 Don't use g_once_init_*() for initializations that could fail and
836 could leave the initialization variable set to 0 but use GOnce.
837 This prevents a deadlock on the second call when trying to create
838 a monitor and no monitor type is available. Thanks to Sven Herzberg
841 2007-11-11 Sven Herzberg <sven@imendio.com>
843 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
844 #ifdef (make it work on MacOS X again)
846 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
848 Fixes Changelog for last two commits (sorry guys).
850 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
852 * gio/gbufferedinputstream.c:
853 * gio/gdatainputstream.c:
855 * gio/gfileoutputstream.c:
856 * gio/gfilterinputstream.c:
857 * gio/glocalfileinputstream.c:
860 More consistency fixes in g*stream.c files.
861 Significant clean of gfile's documentation, filling in of
862 asynchronous operations documentation.
864 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
866 * gio/gasyncresult.c:
867 * gio/gbufferedinputstream.c:
868 * gio/gbufferedoutputstream.c:
869 * gio/gcancellable.c:
870 * gio/gcontenttype.c:
871 * gio/gdatainputstream.c:
872 * gio/gdataoutputstream.c:
873 * gio/gdesktopappinfo.c:
876 * gio/gfileattribute.c:
877 * gio/gio/gfileenumerator.c:
879 * gio/gfileinputstream.c:
880 * gio/gfilemonitor.c:
881 * gio/gfileoutputstream.c:
882 * gio/ginputstream.c:
884 * gio/gioscheduler.c:
885 * gio/gloadableicon.c:
886 * gio/glocalfileoutputstream.c:
887 * gio/gmemoryoutputstream.c:
888 * gio/gmountoperation.c:
889 * gio/goutputstream.c:
891 * gio/gsimpleasyncresult.c:
892 * gio/gunionvolumemonitor.c:
898 * gio/gvolumemonitor.c:
899 Updated documentation stubs, working towards consistency and
902 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
904 * gio/gmemoryoutputstream.c:
905 * gio/gmemoryoutputstream.h:
906 Change g_memory_output_stream_set_free_on_close() to
907 g_memory_output_stream_set_free_data() as this makes more sense and
908 is more consistent with GMemoryInputStream.
910 2007-11-07 Alexander Larsson <alexl@redhat.com>
917 Change how we find the default vfs so that
918 we can handle a gvfs failing to init
920 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
922 * gio/gbufferedoutputstream.c:
923 * gio/gdatainputstream.c:
924 * gio/gdataoutputstream.c:
925 * gio/gfileinputstream.c:
926 * gio/gfileoutputstream.c:
927 * gio/gfilterinputstream.c:
928 * gio/gfilteroutputstream.c:
929 * gio/ginputstream.c:
930 * gio/gmemoryinputstream.c:
931 * gio/gmemoryoutputstream.c:
932 * gio/goutputstream.c:
933 * gio/gsimpleasyncresult.c:
934 * gio/gsocketinputstream.c:
935 * gio/gsocketoutputstream.c:
936 Add guards to the remaining public functions, add a TODO for
937 an unimplemented function and remove some useless guards.
939 2007-11-07 Alexander Larsson <alexl@redhat.com>
942 Autoconf checks for the various types of
943 getpwuid_r and getgrgid_r
945 * gio/glocalfileinfo.c:
946 Use the autoconf checks from above
948 2007-11-07 Alexander Larsson <alexl@redhat.com>
951 (g_local_file_query_filesystem_info):
952 Some fixes for the statvfs case
954 2007-11-07 Alexander Larsson <alexl@redhat.com>
957 (g_local_file_query_filesystem_info):
958 Pick the "best" of statfs / statvfs for the system
959 if both are availible.
961 2007-11-07 Alexander Larsson <alexl@redhat.com>
963 Solaris fixes from Halton.Huo@Sun.COM:
970 * gio/glocalfileinfo.c:
971 Fix for solaris definition of getpwuid_r
973 * gio/test-streams.c:
974 Use G_GNUC_PRETTY_FUNCTION
976 2007-11-07 Alexander Larsson <alexl@redhat.com>
978 * gio/gdesktopappinfo.c:
979 (update_default_list):
980 Remove double semicolon.
981 Patch from Jens Granseuer
983 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
985 * docs/reference/gio/gio-sections.txt:
986 * gio/gbufferedinputstream.c:
987 * gio/gbufferedinputstream.h:
988 * gio/gdatainputstream.c:
989 * gio/gfileenumerator.c:
990 * gio/gioscheduler.c:
991 * gio/gunionvolumemonitor.c:
993 * programs/gio-save.c:
994 Fix typo: availible -> available. Unfortuntely this breaks API
995 and ABI as g_buffered_input_stream_get_available() was renamed.
998 * gio/gbufferedinputstream.c:
999 Add guards for public functions.
1001 2007-11-06 Ross Burton <ross@openedhand.com>
1003 * docs/reference/gio/Makefile.am:
1004 Fix invalid += usage which automake 1.10 doesn't like.
1006 2007-11-06 Alexander Larsson <alexl@redhat.com>
1009 (g_app_launch_context_class_init):
1012 Patch from Ross Burton
1014 2007-11-06 Alexander Larsson <alexl@redhat.com>
1017 Post release version bump
1019 === gio-standalone 0.1.1 ===
1021 2007-11-06 Alexander Larsson <alexl@redhat.com>
1024 Bump version to 0.1.1
1026 * gio/gsimpleasyncresult.c:
1027 (g_simple_async_result_set_from_error):
1028 Remove bogus g_return_if_fail
1030 2007-11-06 Alexander Larsson <alexl@redhat.com>
1033 The name is gio-standalone
1036 Add top src/builddir to includedir
1038 2007-11-06 Alexander Larsson <alexl@redhat.com>
1040 * docs/reference/gio/gio-sections.txt:
1042 * gio/gbufferedinputstream.c:
1043 * gio/gbufferedoutputstream.c:
1044 * gio/gcancellable.c:
1045 * gio/gdatainputstream.h:
1046 * gio/gdataoutputstream.c:
1047 * gio/gdataoutputstream.h:
1048 * gio/gdirectorymonitor.c:
1050 * gio/gfileattribute.c:
1051 * gio/gfileattribute.h:
1052 * gio/gfileenumerator.c:
1053 * gio/gfileenumerator.h:
1056 * gio/gfileinputstream.h:
1057 * gio/gfilemonitor.c:
1058 * gio/gfileoutputstream.h:
1059 * gio/glocalfilemonitor.h:
1060 * gio/glocalfileoutputstream.h:
1061 * gio/gmemoryinputstream.c:
1062 * gio/gmemoryoutputstream.c:
1063 * gio/gmountoperation.c:
1064 * gio/goutputstream.c:
1065 * gio/goutputstream.h:
1067 * gio/gsimpleasyncresult.c:
1068 * gio/gunixmounts.c:
1069 * gio/gunixmounts.h:
1071 * gio/inotify/inotify-helper.c:
1072 Fix gtk-doc warnings
1074 Patch from Ross Burton
1076 2007-11-06 Alexander Larsson <alexl@redhat.com>
1078 * gio/gfilenamecompleter.c:
1079 (g_filename_completer_get_completions):
1082 * gio/gunixvolume.c:
1083 Remove unused function
1085 Patches from Ross Burton
1087 2007-11-06 Alexander Larsson <alexl@redhat.com>
1092 Padding not needed for interfaces
1094 2007-11-06 Alexander Larsson <alexl@redhat.com>
1096 * gio/gfilemonitor.c:
1100 Make giotypes.h an internal file
1103 * gio/gbufferedinputstream.h:
1104 * gio/gbufferedoutputstream.h:
1105 * gio/gcancellable.h:
1106 * gio/gdatainputstream.h:
1107 * gio/gdataoutputstream.h:
1108 * gio/gdirectorymonitor.c:
1109 * gio/gdirectorymonitor.h:
1114 * gio/gfileattribute.h:
1115 * gio/gfileenumerator.h:
1120 * gio/gfilemonitor.c:
1121 * gio/gfilemonitor.h:
1122 * gio/gfilenamecompleter.c:
1123 * gio/gfilenamecompleter.h:
1124 * gio/gfilterinputstream.h:
1125 * gio/gfilteroutputstream.h:
1126 * gio/ginputstream.h:
1127 * gio/gmemoryinputstream.h:
1128 * gio/gmemoryoutputstream.h:
1129 * gio/gmountoperation.c:
1130 * gio/gmountoperation.h:
1131 * gio/gnativevolumemonitor.c:
1132 * gio/goutputstream.h:
1135 * gio/gsimpleasyncresult.c:
1136 * gio/gsimpleasyncresult.h:
1137 * gio/gsocketinputstream.h:
1138 * gio/gsocketoutputstream.h:
1139 * gio/gthemedicon.c:
1140 * gio/gthemedicon.h:
1144 * gio/gvolumemonitor.c:
1145 * gio/gvolumemonitor.h:
1146 Add padding in classes where it seems useful
1147 Don't include giotypes.h from public headers
1148 Move in Class definitions into c file where possible
1153 2007-11-06 Alexander Larsson <alexl@redhat.com>
1155 * docs/reference/gio/gio-docs.xml:
1156 Better structure for API docs
1158 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1161 * gio/gloadableicon.c:
1162 * gio/gsimpleasyncresult.c:
1163 * gio/gthemedicon.c:
1164 Add some more guards to public functions. Only files missing are now
1167 2007-11-06 Alexander Larsson <alexl@redhat.com>
1169 * docs/reference/gio/gio-docs.xml:
1170 Remove old files, add missing ones
1172 2007-11-06 Alexander Larsson <alexl@redhat.com>
1174 * docs/reference/gio/gio-sections.txt:
1177 Hide implementation classes
1179 * gio/gdriveprivate.h:
1180 * gio/gvolumeprivate.h:
1181 Remove non-existing function declarations
1183 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1186 Fix compilation warnings and add guards to the new functions.
1188 * gio/gasyncresult.c:
1190 Add guards to the public functions.
1193 Implement get_path().
1195 2007-11-06 Alexander Larsson <alexl@redhat.com>
1197 * gio/gfilenamecompleter.c:
1198 Make g_filename_completer_get_completions
1199 return char ** instead of GList for
1202 * docs/reference/gio/gio-docs.xml:
1203 * docs/reference/gio/gio-sections.txt:
1205 * gio/gasyncresult.c:
1206 * gio/gbufferedinputstream.c:
1207 * gio/gbufferedoutputstream.c:
1208 * gio/gcancellable.c:
1209 * gio/gcontenttype.c:
1210 * gio/gdatainputstream.c:
1211 * gio/gdataoutputstream.c:
1212 * gio/gdesktopappinfo.c:
1213 * gio/gdirectorymonitor.c:
1217 * gio/gfileattribute.c:
1218 * gio/gfileenumerator.c:
1221 * gio/gfileinputstream.c:
1222 * gio/gfilemonitor.c:
1223 * gio/gfilenamecompleter.c:
1224 * gio/gfilenamecompleter.h:
1225 * gio/gfileoutputstream.c:
1226 * gio/gfilterinputstream.c:
1228 * gio/ginputstream.c:
1230 * gio/gioscheduler.c:
1231 * gio/gloadableicon.c:
1232 * gio/glocaldirectorymonitor.c:
1234 * gio/glocalfileinputstream.c:
1235 * gio/glocalfilemonitor.c:
1236 * gio/glocalfileoutputstream.c:
1238 * gio/gmemoryinputstream.c:
1239 * gio/gmemoryoutputstream.c:
1240 * gio/gmountoperation.c:
1241 * gio/goutputstream.c:
1242 * gio/gpollfilemonitor.c:
1244 * gio/gsimpleasyncresult.c:
1245 * gio/gsocketinputstream.c:
1246 * gio/gsocketoutputstream.c:
1247 * gio/gthemedicon.c:
1248 * gio/gunionvolumemonitor.c:
1250 * gio/gunixmounts.c:
1251 * gio/gunixvolume.c:
1252 * gio/gunixvolumemonitor.c:
1256 * gio/gvolumemonitor.c:
1257 * gio/gwin32appinfo.c:
1258 Add (mostly stub) doc strings to public functions.
1259 Patch from Andrew Walton (awalton@gmail.com)
1261 2007-11-06 Alexander Larsson <alexl@redhat.com>
1263 * gio/gappinfo.[ch]:
1264 Added GAppLaunchContext object and pass that to launch.
1265 This allows simple implementation of both
1266 launch-on-screen and startup notification via a gtk+
1267 subclass of GAppLaunchContext
1269 * gio/gdesktopappinfo.c:
1270 Implement GAppLaunchContext API
1272 * gio/gwin32appinfo.c:
1275 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1277 * gio/gmountoperation.c:
1278 Add some guards to GMountOperation's public functions.
1280 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1284 * gio/gcancellable.c:
1285 * gio/gdirectorymonitor.c:
1287 * gio/gfileenumerator.c:
1288 * gio/gfilemonitor.c:,
1289 * gio/gfilenamecompleter.c:
1292 * gio/gioscheduler.c:
1296 * gio/gvolumemonitor.c:
1297 Add even more guards to various public functions.
1299 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1302 Add guards to the public functions of GAppInfo.
1304 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1306 * gio/gcontenttype.c:
1307 Add some more guards for public functions.
1309 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1311 * gio/fam/fam-module.c:
1312 * gio/fam/gfamdirectorymonitor.c:
1313 * gio/fam/gfamdirectorymonitor.h:
1314 * gio/fam/gfamfilemonitor.c:
1315 * gio/fam/gfamfilemonitor.h:
1316 * gio/inotify/ginotifydirectorymonitor.c:
1317 * gio/inotify/ginotifydirectorymonitor.h:
1318 * gio/inotify/ginotifyfilemonitor.c:
1319 * gio/inotify/ginotifyfilemonitor.h:
1320 Add proper copyright information and remove an unused variable
1321 in the GInotifyFileMonitor constructor.
1323 * gio/gcancellable.c:
1324 Add a guard for a public function and an assertion to prevent
1325 an undefined program state.
1327 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1329 * gio/gfileattribute.c:
1330 Don't run into an assertion if the given attribute value is NULL
1331 in g_file_attribute_value_get_*() but instead return a fallback
1332 value that makes sense in most situations. Passing them a attribute
1333 value with the wrong type will still run into an assertion.
1335 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1337 * gio/gfileattribute.c:
1339 Add even more guards to the public functions. Also fix the refcounting
1340 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1341 let g_file_info_list_attributes() filter the attributes by namespace
1342 instead of simply ignoring the namespace parameter.
1344 2007-11-03 Sven Herzberg <sven@imendio.com>
1346 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1347 (This makes gio work on MacOS X again)
1349 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1352 Build the gio subdirectory before the docs. Otherwise the build will
1355 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1356 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1357 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1358 Add guards to the public functions.
1360 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1362 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1363 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1364 to prevent a compiler warning.
1366 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1367 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1368 return something in the non-void function find_topdir_for().
1370 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1377 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1379 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1380 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1381 * gwin32appinfo.c (g_win32_app_info_launch):
1382 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1383 envp_for_startup_id, g_desktop_app_info_launch,
1384 g_desktop_app_info_launch_uris):
1386 Give an opaque 'startup_id' string instead of 'envp'.
1387 Support empty file lists for launching new windows.
1388 Fix infinite recursion bug when launching URIs.
1390 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1393 Add guard to the new g_file_get_uri_scheme() function.
1395 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1398 Convert a g_return_val_if_fail() to setting the GError instead as
1399 otherwise applications have to verify the parameter before otherwise
1400 and the parameter might come directly from the user.
1402 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1404 * gio/inotify/ginotify*.[ch]:
1405 Add missing copyright information.
1407 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1410 Add guards in the beginning of public functions to check for valid
1411 parameters and fix a bug in copy_stream_with_progress() that could've
1412 caused writing less bytes than reading.
1413 * gio/glocalfileinfo.c:
1414 Check for a NULL parameter and set the GError accordingly then.
1415 * gio/goutputstream.c:
1416 Fix the same bug as in gfile.c that could've caused writing less bytes
1417 than reading in g_output_stream_real_splice().
1419 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1422 Use the correct gvolumeprivate.h naming
1424 2007-11-01 Christian Kellner <gicmo@gnome.org>
1427 Remove leftover "$(daemon_sources)" entry.
1429 2007-11-01 Christian Kellner <gicmo@gnome.org>
1434 Add copyright information to source files.
1436 2007-11-01 Alexander Larsson <alexl@redhat.com>
1440 Add g_file_get_uri_scheme
1442 2007-11-01 Alexander Larsson <alexl@redhat.com>
1445 * gio/gdesktopappinfo.c:
1446 * gio/gwin32appinfo.c:
1447 Add g_app_info_get_default_for_uri_scheme.
1449 2007-11-01 Alexander Larsson <alexl@redhat.com>
1452 Correct filename for gdriveprivate.h
1454 2007-10-31 Alexander Larsson <alexl@redhat.com>
1457 Rename id:value to id:file
1460 * gio/glocalfileinfo.c:
1463 2007-10-31 Alexander Larsson <alexl@redhat.com>
1465 * gio/gunixvolume.c:
1467 Remove g_volume_get_platform_id, as thats not
1468 needed with the simpler union volume monitor
1470 2007-10-31 Alexander Larsson <alexl@redhat.com>
1473 * gio/guniondrive.[ch]: Removed.
1474 * gio/gunionvolume.[ch]: Removed.
1475 Remove GUnionDrive/Volume
1477 * gio/gunionvolumemonitor.c:
1478 Simplify union volume monitor, now we
1479 only have one native volume monitor and
1480 we use the actual volumes/drives from the
1481 child monitors instead of wrapping them
1483 * gio/gnativevolumemonitor.[ch]:
1484 Base class for native volume monitors.
1485 Includes priority and get_volume_for_mountpoint
1488 Add g_file_find_enclosing_volume
1491 Remove volume name fs attribute
1492 Add readonly fs attribute
1495 Implement readonly attribute
1496 remove volume name attribute
1497 Implement find_enclosing volume
1499 * gio/gunixmounts.c:
1500 Add a volume for "/".
1502 * gio/gunixvolume.[ch]:
1503 Set better name for /
1505 * gio/gunixvolumemonitor.[ch]:
1506 Derive from GNativeVolumeMonitor
1507 Implement get_volume_for_mountpoint
1510 GVolume typedef moved to gfile.h
1512 * gio/gvolumeprivate.h:
1513 Add g_volume_get_for_mount_path
1515 2007-10-31 Alexander Larsson <alexl@redhat.com>
1517 * gio/gunixmounts.[ch]:
1518 Add cache info to unix mount listers
1519 Make getmntent use threadsafe
1520 Add is_system_internal attribute for GUnixMount
1522 * gio/gunixvolume.c:
1523 (g_unix_volume_new):
1524 Use is_system_internal instead of own code
1526 * gio/glocaldirectorymonitor.c:
1527 * gio/gunixvolumemonitor.c:
1528 Update to new gunixmounts API
1533 2007-10-30 Alexander Larsson <alexl@redhat.com>
1536 Add volume name fsinfo attribute
1539 Read volume name info
1541 * gio/gunionvolumemonitor.c:
1542 Fix infinite loops when finalizing a union volume monitor
1544 2007-10-30 Alexander Larsson <alexl@redhat.com>
1546 * gio/goutputstream.[ch]:
1547 Add splice() with default implementation
1549 * gio/gsocketoutputstream.c:
1550 (g_socket_output_stream_write):
1551 Return error on cancellation correctly.
1553 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1555 * gio/glocalfile.c (g_local_file_trash):
1556 Do not leak a string.
1558 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1560 * gio/gfile.c (g_file_load_contents):
1561 Unref the stream after closing it.
1563 2007-10-25 Alexander Larsson <alexl@redhat.com>
1565 * gio/gioscheduler.h:
1568 2007-10-25 Alexander Larsson <alexl@redhat.com>
1572 Add g_file_has_uri_scheme and implement for local files
1574 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1576 * gio/gdesktopappinfo.c: do not leak a string.
1578 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1580 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1581 (g_local_directory_monitor_new):
1582 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1583 (g_local_file_monitor_new):
1584 Only look for the monitor type that should be used the first time
1585 and use g_qsort_with_data() instead of our own bubble sort
1588 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1591 * gio/fam/Makefile.am:
1592 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1593 * gio/fam/fam-helper.h:
1594 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1595 * gio/fam/gfamdirectorymonitor.c:
1596 * gio/fam/gfamdirectorymonitor.h:
1597 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1598 * gio/fam/gfamfilemonitor.h:
1599 * gio/glocaldirectorymonitor.c:
1600 * gio/glocaldirectorymonitor.h:
1601 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1602 * gio/glocalfilemonitor.h:
1603 * gio/inotify/Makefile.am:
1604 * gio/inotify/ginotifydirectorymonitor.c:
1605 * gio/inotify/ginotifydirectorymonitor.h:
1606 * gio/inotify/ginotifyfilemonitor.c:
1607 * gio/inotify/ginotifyfilemonitor.h:
1608 Implement the FAM and Inotify monitors as
1609 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1610 their own GIO module. GLocal(Directory|File)Monitor will use the
1611 monitor with the highest rank that is supported on that machine.
1613 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1616 Change GIO module dir to $(libdir)/gio/modules and change
1617 the log domain from GVFS to GIO. Also only export symbols starting
1618 with g_ in the resulting library.
1619 * gio/test-streams.c: (main):
1620 Set log handler for the GIO log domain.
1622 2007-10-22 Alexander Larsson <alexl@redhat.com>
1624 * gio/gfilenamecompleter.[ch]:
1625 Add g_filename_completer_set_dirs_only
1627 2007-10-22 Alexander Larsson <alexl@redhat.com>
1630 * gio/gurifuncs.[ch]:
1631 Add some simple URI helpers
1633 * gio/gfilenamecompleter.[ch]:
1634 Added object for filename (parse name actually) completion
1637 Handle ~ in parse names
1639 2007-10-17 Alexander Larsson <alexl@redhat.com>
1642 * gio/glocalfileinfo.c:
1643 Add and implement id:value attribute
1645 2007-10-17 Alexander Larsson <alexl@redhat.com>
1648 * gio/guniondrive.c:
1650 Add and implement g_drive_has_volumes
1652 2007-10-17 Alexander Larsson <alexl@redhat.com>
1655 * gio/glocalfileinfo.[ch]:
1656 Add unix:is_mountpoint and implement for local files
1658 2007-10-16 Alexander Larsson <alexl@redhat.com>
1660 * gio/gunionvolumemonitor.c:
1661 (g_union_volume_monitor_init):
1662 Fix up the unix type getting so that it works with gcc
1664 2007-10-12 Alexander Larsson <alexl@redhat.com>
1667 * gio/glocalfileinfo.c:
1668 Add thumbnail:failed to file info
1670 2007-10-12 Richard Hult <richard@imendio.com>
1672 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1673 optimizing away the get_type call (happens with some gcc versions,
1674 like the one shipped with OS X 10.4).
1676 2007-10-12 Alexander Larsson <alexl@redhat.com>
1678 * gio/glocalfileinfo.c:
1679 (_g_local_file_info_set_attribute):
1680 Fix build if not HAVE_XATTR
1681 Patch from Milosz Derezynski <internalerror@gmail.com>
1683 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1685 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1686 around for review, otherwise I would have asked you before
1689 2007-10-11 Alexander Larsson <alexl@redhat.com>
1692 Add thumbnail:path attribute
1694 * gio/glocalfileinfo.c:
1695 Implement thumbnail:path for local files
1697 2007-10-11 Alexander Larsson <alexl@redhat.com>
1699 * gio/glocalfileinfo.c:
1700 (_g_local_file_info_get):
1701 Avoid duplicate icon names
1703 2007-10-11 Alexander Larsson <alexl@redhat.com>
1705 * gio/gthemedicon.[ch]:
1706 Change g_themed_icon_get_names return type to const
1708 2007-10-10 Alexander Larsson <alexl@redhat.com>
1710 * gio/glocalfileinfo.c:
1711 Don't reference freed memory
1713 2007-10-10 Alexander Larsson <alexl@redhat.com>
1715 * gio/gfileattribute.c:
1718 * gio/glocalfileinfo.c:
1721 2007-10-10 Alexander Larsson <alexl@redhat.com>
1724 Check for NULL icons
1726 * gio/gfileattribute.c:
1727 Don't dup when getting objects (same as for string attributes)
1729 * gio/gicon.c (g_icon_equal):
1730 Safely handle NULLs in equal
1732 2007-10-10 Alexander Larsson <alexl@redhat.com>
1735 Fix c++ compilation issues
1736 Patch from Milosz Derezynski <internalerror@gmail.com>
1738 2007-10-10 Alexander Larsson <alexl@redhat.com>
1740 * programs/gio-monitor-dir.c:
1741 Don't crash if dir monitor not supported.
1743 2007-10-09 Alexander Larsson <alexl@redhat.com>
1746 Add missing G_END_DECLS
1748 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1750 * gio/gfile.c: (g_file_set_display_name),
1751 (g_file_query_settable_attributes),
1752 (g_file_query_writable_namespaces):
1753 Return NULL not FALSE on errors as the return type is a pointer.
1755 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1757 * gio/glocalfile.c: (g_local_file_monitor_file):
1758 Don't call monitor_file on the default interface vtable (which
1759 is NULL) but simply return NULL. The caller, GFile, will create a
1760 polling monitor if NULL is returned.
1762 2007-10-09 Alexander Larsson <alexl@redhat.com>
1766 * gio-unix-2.0.pc.in:
1767 Add gio-unix-2.0.pc if OS_UNIX
1770 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1772 2007-10-09 Alexander Larsson <alexl@redhat.com>
1774 * gio/gunixmounts.[ch]:
1775 Make unix mount monitoring API sane.
1776 Now its just a object with mounts_changed
1777 and mountpoints_changed signals.
1779 * gio/glocaldirectorymonitor.c:
1780 * gio/gunixvolumemonitor.c:
1781 Use new mount monitor api
1783 2007-10-09 Alexander Larsson <alexl@redhat.com>
1785 * gio/gunixmounts.[ch]:
1786 Move guess type into one call for mounts and one for mountpoints
1789 * gio/gunixvolume.c:
1792 2007-10-09 Alexander Larsson <alexl@redhat.com>
1794 * gio/gunixmounts.[ch]:
1795 Remove _ prefix in preparation to make this semi-public
1796 Hide implementation of structs
1798 * gio/glocaldirectorymonitor.c:
1800 * gio/gunixvolume.c:
1801 * gio/gunixvolumemonitor.c:
1802 Update for above API changes
1804 2007-10-08 Alexander Larsson <alexl@redhat.com>
1807 Better polling fallback. This also handles the case where we have
1808 a monitor_file implementation, but it fails.
1810 2007-10-08 Alexander Larsson <alexl@redhat.com>
1814 * gio/gunixmounts.c:
1815 * programs/gio-monitor-dir.c:
1816 * programs/gio-monitor-file.c:
1817 Added cancellable to file monitoring calls.
1818 These are really sync calls and need this.
1820 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1822 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1823 (g_local_vfs_class_init):
1824 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1825 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1827 2007-10-05 Alexander Larsson <alexl@redhat.com>
1829 * gio/gdirectorymonitorprivate.h:
1830 * gio/gfilemonitorprivate.h:
1831 * gio/gdirectorymonitor.h:
1832 * gio/gfilemonitor.h:
1833 Remove *private.h and move to the public API, so that
1834 we can do implementations outside gio (such as in gvfs)
1836 * gio/gdirectorymonitor.c:
1837 * gio/gfilemonitor.c:
1838 * gio/glocaldirectorymonitor.c:
1839 * gio/gpollfilemonitor.c:
1840 * gio/inotify/inotify-helper.c:
1841 * gio/fam/fam-helper.c:
1842 Update to the new header names
1844 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
1846 * gio/gdirectorymonitor.c:
1847 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1850 2007-10-04 Alexander Larsson <alexl@redhat.com>
1852 * gio/glocalfileinfo.c (get_access_rights):
1853 Set CAN_TRASH when we can move the file.
1854 We should really also check for a parent trash dir.
1856 2007-10-04 Alexander Larsson <alexl@redhat.com>
1858 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1859 Add can_trash access attribute
1861 2007-10-04 Alexander Larsson <alexl@redhat.com>
1864 (g_local_file_trash):
1865 Create info file first. This is per-spec and allows
1866 us to actually trash directories.
1868 2007-10-02 Alexander Larsson <alexl@redhat.com>
1870 * gio/gdesktopappinfo.c:
1871 Implement the new mime support code.
1872 Always set app as handling mimetype when being set as default for it
1874 2007-10-01 Alexander Larsson <alexl@redhat.com>
1876 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
1877 Fix up check for xattrs:
1879 2007-10-01 Alexander Larsson <alexl@redhat.com>
1882 (g_app_info_set_as_default_for_extension):
1883 (g_app_info_add_supports_type):
1884 (g_app_info_can_remove_supports_type):
1885 (g_app_info_remove_supports_type):
1886 Make these fail nicely if not implemented
1888 2007-10-01 Paolo Borelli <pborelli@katamail.com>
1890 * gio/glocalfileoutputstream.c:
1891 * gio/glocalfileoutputstream.h:
1896 * programs/gio-save.c:
1897 Add a GFileCreateFlags argument to operations that can create
1900 2007-10-01 Alexander Larsson <alexl@redhat.com>
1902 * gio/gappinfo.[ch]:
1903 * gio/gdesktopappinfo.c:
1904 Add more (stubbed out) mime API needed for nautilus
1906 2007-10-01 Alexander Larsson <alexl@redhat.com>
1909 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
1910 Add g_app_info_set_as_default_for_extension.
1912 * gio/gdesktopappinfo.c:
1913 Dummy for g_app_info_set_as_default_for_extension
1914 Support flags in g_app_info_create_from_commandline
1916 * gio/gwin32appinfo.c:
1918 Update for API changes
1920 * gio/gthemedicon.c:
1921 Properly NULL-terminate list of icon names
1923 2007-09-28 Alexander Larsson <alexl@redhat.com>
1925 * gio/gloadableicon.h:
1926 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
1928 2007-09-28 Alexander Larsson <alexl@redhat.com>
1931 Install headers in $includedir/gio-standalone/
1933 * gio-2.0.pc.in: Added.
1934 * gio-standalone.pc.in: Removed.
1937 Renamed pkg-config file to match glib (for future move)
1938 Update to the new include dir
1941 Add more TODO comments
1943 2007-09-28 Alexander Larsson <alexl@redhat.com>
1945 * gio/gdesktopappinfo.[ch]:
1946 Expose new_from_filename
1947 Add getter for is_hidden and handle it better
1949 2007-09-28 Alexander Larsson <alexl@redhat.com>
1951 * gio/gfileinfo.[ch]:
1952 Rename g_file_size_format_for_display to
1953 g_format_file_size_for_display.
1954 Now it doesn't have the g_file prefix, so we
1955 can later move it to glib.
1957 2007-09-28 Alexander Larsson <alexl@redhat.com>
1959 * gio/gappinfo.[ch]:
1960 Add g_app_info_get_id and g_app_info_get_executable.
1961 Make all getters non-reffing
1962 Make g_app_info_launch take GFile arguments.
1963 Add must_support_uris argument to g_app_info_get_default_for_type.
1965 * gio/gwin32appinfo.c:
1966 Update to GAppInfo api changes
1968 * gio/gdesktopappinfo.c:
1969 Update to GAppInfo api changes
1970 Implement supports_xdg_startup_notify
1972 * gio/gfileicon.c (g_file_icon_get_file):
1973 Make getter non-reffing.
1978 2007-09-27 Alexander Larsson <alexl@redhat.com>
1980 * gio/gfileinfo.[ch]:
1981 Add g_file_size_format_for_display helper
1983 2007-09-27 Alexander Larsson <alexl@redhat.com>
1985 * gio/glocalfileinfo.c:
1986 Set UNIX_GID from gid, not from uid
1988 2007-09-27 Alexander Larsson <alexl@redhat.com>
1991 Add g_file_set_attributes_async
1993 2007-09-27 Alexander Larsson <alexl@redhat.com>
1995 * gio/glocalfile.c (g_local_file_set_display_name):
1996 Fix set_display_name to actually rename to the right place.
1997 Use lstat to look for existing files so we don't overwrite
2000 2007-09-26 Alexander Larsson <alexl@redhat.com>
2003 Add g_file_set_display_name_async()
2005 2007-09-26 Alexander Larsson <alexl@redhat.com>
2008 Add load_partial_contents async calls
2011 Make internal function static
2013 2007-09-26 Alexander Larsson <alexl@redhat.com>
2015 * gio/glocalfileinfo.c:
2016 Correctly detect broken symlinks
2018 2007-09-26 Alexander Larsson <alexl@redhat.com>
2020 * gio/gcancellable.c (g_cancellable_cancel):
2021 Allow cancel on NULL cancellable
2023 2007-09-25 Alexander Larsson <alexl@redhat.com>
2025 * gio/gsimpleasyncresult.c:
2026 Don't allocate g_error manually.
2027 Fixes g_slice/g_new mixup crash
2029 2007-09-25 Alexander Larsson <alexl@redhat.com>
2031 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2032 Actually set active_backend.
2033 This means the monitor will be cancelled correctly.
2035 2007-09-25 Alexander Larsson <alexl@redhat.com>
2037 * gio/gdirectorymonitor.c:
2038 Set timeout to NULL when destroying
2040 2007-09-25 Alexander Larsson <alexl@redhat.com>
2043 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2044 that is a better description of the error.
2046 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2048 * gio/gvfs.c: (g_vfs_get_local):
2049 Make the local vfs variable static. The same instance should
2052 2007-09-24 Alexander Larsson <alexl@redhat.com>
2054 * gio/glocalfileinfo.c:
2055 Pass in actual length read into sniffer, not the length
2058 2007-09-21 Alexander Larsson <alexl@redhat.com>
2060 * gio/gfileenumerator.c:
2063 * gio/gfileinputstream.c:
2064 * gio/gfileoutputstream.c:
2065 * gio/ginputstream.c:
2066 * gio/goutputstream.c:
2067 Don't crash if async callbacks are NULL
2069 2007-09-20 Alexander Larsson <alexl@redhat.com>
2072 Add async enumerate_children method and default
2075 2007-09-20 Alexander Larsson <alexl@redhat.com>
2078 Add g_file_contains_file & g_file_get_relative_path, since they
2079 were needed for nautilus.
2080 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2085 Implement new methods
2087 2007-09-17 Alexander Larsson <alexl@redhat.com>
2090 * gio/gfileinputstream.[ch]:
2091 * gio/gfileoutputstream.[ch]:
2093 * gio/glocalfileenumerator.[ch]:
2094 * gio/glocalfileinfo.[ch]:
2095 * gio/glocalfileinputstream.c:
2096 * gio/glocalfileoutputstream.c:
2097 * gio/gpollfilemonitor.c:
2098 * programs/gio-copy.c:
2099 * programs/gio-info.c:
2100 * programs/gio-move.c:
2101 Rename get_file_info to query_info() to make it clearer
2102 that these are not simple getters, but do i/o.
2104 2007-09-17 Alexander Larsson <alexl@redhat.com>
2106 * gio/gdatainputstream.[ch]:
2107 * gio/test-streams.c:
2108 Use _read_XXX instead of _get_XXX for the i/o calls
2111 2007-09-17 Alexander Larsson <alexl@redhat.com>
2114 Added needed stuff to TODO comment
2116 2007-09-17 Alexander Larsson <alexl@redhat.com>
2118 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2119 Don't error out removing the backup copy if it doesn't
2122 2007-09-14 Alexander Larsson <alexl@redhat.com>
2124 * programs/Makefile.am:
2125 * programs/gvfs-*.c:
2127 Renamed apps from gvfs-xxx to gio-xxx.
2129 2007-09-14 Alexander Larsson <alexl@redhat.com>
2132 * gio/gfileoutputstream.[ch]:
2133 * gio/glocalfileoutputstream.c:
2134 * programs/gvfs-save.c:
2135 g_file_output_stream_get_etag doesn't do i/o, so remove
2136 cancellation and error.
2138 2007-09-14 Alexander Larsson <alexl@redhat.com>
2141 Add new_etag output to replace_contents functions
2143 2007-09-14 Alexander Larsson <alexl@redhat.com>
2145 * gio/gfileoutputstream.[ch]:
2146 Add async get_file_info and default implementation
2148 2007-09-14 Alexander Larsson <alexl@redhat.com>
2150 * gio/gfileinputstream.c:
2151 Implement fallback wrapper for async get_file_info
2153 2007-09-14 Alexander Larsson <alexl@redhat.com>
2156 Add etag out argument to load_contents
2161 2007-09-14 Alexander Larsson <alexl@redhat.com>
2163 * gio/gcontenttype.c (looks_like_text):
2164 Whitespace like tab, cr and lf do not make the
2167 2007-09-14 Alexander Larsson <alexl@redhat.com>
2169 * gio/gfileinputstream.[ch]:
2170 Add async get_file_info.
2172 2007-09-13 Alexander Larsson <alexl@redhat.com>
2174 * gio/goutputstream.c (g_output_stream_write_all):
2175 Allow NULL for bytes_written
2177 2007-09-13 Alexander Larsson <alexl@redhat.com>
2179 * gio/gmemoryinputstream.[ch]:
2180 Add accessors for data
2182 2007-09-13 Alexander Larsson <alexl@redhat.com>
2184 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2185 Don't crash if length is NULL