1 2007-12-14 Michael Natterer <mitch@imendio.com>
3 * gio.symbols: fix g_io_scheduler symbol names.
5 2007-12-14 Alexander Larsson <alexl@redhat.com>
11 * gbufferedinputstream.h:
12 * gbufferedoutputstream.h:
16 * gdataoutputstream.h:
18 * gdirectorymonitor.h:
27 * gfilenamecompleter.h:
28 * gfileoutputstream.h:
29 * gfilterinputstream.h:
30 * gfilteroutputstream.h:
38 * gmemoryinputstream.h:
39 * gmemoryoutputstream.h:
44 * gsimpleasyncresult.h:
48 * gunixoutputstream.h:
52 * inotify/Makefile.am:
53 Only allow including <gio/gio.h> from apps
55 2007-12-14 Alexander Larsson <alexl@redhat.com>
58 * gsimpleasyncresult.c:
59 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
60 Split out the send_to_mainloop call into two versions instead
61 of having the block argument.
63 2007-12-13 Alexander Larsson <alexl@redhat.com>
67 * gbufferedinputstream.c:
70 * gfileoutputstream.c:
74 g_push/pop_current_cancellable ->
75 g_cancellable_push/pop_current
77 2007-12-13 Alexander Larsson <alexl@redhat.com>
81 Rename g_mount_for_location to g_file_mount_enclosing_volume.
83 2007-12-13 Alexander Larsson <alexl@redhat.com>
86 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
88 2007-12-12 Alexander Larsson <alexl@redhat.com>
91 Fix race condition when freeing proxy in
92 g_io_job_send_to_mainloop().
94 2007-12-12 Alexander Larsson <alexl@redhat.com>
100 Make attribute namespace separator "::" instead of ":".
101 Use - instead of _ as separator in attribute names.
103 2007-12-12 Alexander Larsson <alexl@redhat.com>
105 * gbufferedinputstream.h:
106 * gbufferedoutputstream.h:
107 * gdatainputstream.h:
108 * gdataoutputstream.h:
109 * gdirectorymonitor.h:
111 * gfileinputstream.h:
113 * gfileoutputstream.h:
114 * gfilterinputstream.h:
115 * gfilteroutputstream.h:
117 * glocalfileinputstream.h:
118 * glocalfileoutputstream.h:
119 * gmemoryinputstream.h:
120 * gmemoryoutputstream.h:
121 * gnativevolumemonitor.h:
123 * gunixinputstream.h:
124 * gunixoutputstream.h:
127 s/parent/parent_instance/ in GObjects
129 2007-12-12 Alexander Larsson <alexl@redhat.com>
134 No need for padding for interfaces
136 2007-12-12 Alexander Larsson <alexl@redhat.com>
140 * gbufferedinputstream.c:
141 * gbufferedoutputstream.c:
144 * gdatainputstream.[ch]:
146 * gdirectorymonitor.c:
148 * gfileattribute.[ch]:
151 * gfileinputstream.h:
153 * gfileoutputstream.[ch]:
154 * gfilterinputstream.h:
155 * gfilteroutputstream.h:
158 * gloadableicon.[ch]:
159 * gmemoryinputstream.c:
162 Fix up a bunch of details in the docs.
167 2007-12-11 David Zeuthen <davidz@redhat.com>
169 Rework how volumes, drives and volume monitoring is
170 done. Previosly the model was
174 where a GDrive instance represented a mount point and a GVolume
175 instance represented a mounted file system. This patch changes it
178 GDrive <1-N> GVolume <1-1> GMount
180 where GMount now serves the purpose of the old GVolume and the new
181 GVolume serves the purpose of the old GDrive. In addition the new
182 GDrive interface is used to represent a collection of GVolume
183 instances (typically partitions) and also contains utility to query
184 the state of the physical drive the GDrive object represents (such
185 as checking for media, polling the drive, ejecting the media etc.).
187 Also implement mounting and unmounting in the Unix volume monitor
188 backend. A subquent patch will introduce GDrive support for ejection
192 * gdrive.c: (g_drive_is_media_check_automatic),
193 (g_drive_is_media_removable), (g_drive_has_media),
194 (g_drive_can_poll_for_media), (g_drive_eject),
195 (g_drive_eject_finish), (g_drive_poll_for_media),
196 (g_drive_poll_for_media_finish):
198 * gfile.c: (g_file_find_enclosing_mount):
201 * glocaldirectorymonitor.c:
202 (g_local_directory_monitor_constructor), (mounts_changed):
203 * glocalfile.c: (get_mount_info),
204 (g_local_file_find_enclosing_mount),
205 (g_local_file_file_iface_init):
206 * gnativevolumemonitor.h:
207 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
208 (get_connected_drives), (g_union_volume_monitor_class_init),
209 (child_volume_added), (child_volume_removed),
210 (child_volume_changed), (child_mount_added), (child_mount_removed),
211 (child_mount_pre_unmount), (child_mount_changed),
212 (child_drive_changed), (g_union_volume_monitor_add_monitor),
213 (g_union_volume_monitor_remove_monitor),
214 (_g_mount_get_for_mount_path):
215 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
216 (guess_system_internal), (_g_get_unix_mounts),
217 (_g_get_unix_mount_points), (g_get_unix_mount_at),
218 (g_unix_mount_free), (g_unix_mount_compare),
219 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
220 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
221 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
222 (type_to_icon), (g_unix_mount_guess_name),
223 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
224 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
225 (_resolve_symlink), (_resolve_dev_root):
227 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
228 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
229 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
230 (g_unix_volume_get_name), (g_unix_volume_can_mount),
231 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
232 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
233 (g_unix_volume_mount), (g_unix_volume_mount_finish),
234 (g_unix_volume_volume_iface_init):
236 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
237 (get_mounts), (get_volumes), (get_connected_drives),
238 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
239 (mountpoints_changed), (mounts_changed),
240 (g_unix_volume_monitor_init),
241 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
242 (find_mount_by_mountpath), (update_volumes), (update_mounts):
243 * gunixvolumemonitor.h:
244 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
245 (g_volume_mount), (g_volume_mount_finish):
247 * gvolumemonitor.c: (g_volume_monitor_class_init),
248 (g_volume_monitor_get_connected_drives),
249 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
252 2007-12-10 Matthias Clasen <mclasen@redhat.com>
254 * gmountoperation.h (GPasswordFlags): Close the gap
256 2007-12-10 Matthias Clasen <mclasen@redhat.com>
258 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
260 * gdesktopappinfo.[hc]: Remove _-prefixes
262 2007-12-10 Tor Lillqvist <tml@novell.com>
264 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
267 2007-12-10 Alexander Larsson <alexl@redhat.com>
269 * gfile.c (g_file_set_display_name):
270 Don't hardcode '/' (#502727)
272 2007-12-09 Hans Breuer <hans@breuer.org>
274 * makefile.msc : follow lib naming convention
275 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
276 for user and group name, tested with ../tests/gio-ls
278 2007-12-09 A. Walton <awalton@svn.gnome.org>
291 * gmemoryinputstream.c:
292 * gmemoryoutputstream.c:
294 * gsimpleasyncresult.c:
295 More documentation cleanup and filling in missing information, bringing
296 GIO to 99% symbol coverage.
298 2007-12-08 Hans Breuer <hans@breuer.org>
300 [gio compiles and links on win32, not sure how much already works]
301 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
302 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
303 base on win32 API; prefer g_lstat() over lstat(); instead of
304 localtime_r() use an all GLib implementation on win32;
305 get_mount_info() still needs a win32 specifc implementation
306 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
307 win32_get_file_user_info to get owner/group info without uid/gid
308 * glocalfileinputstream.c : include <io.h> on win32
309 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
310 definition, use g_win32_ftruncate() for G_OS_WIN32
311 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
312 it is available with mingw/w32api but a mess with the M$ Platform SDKs
313 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
314 * makefile.msc : updated
316 2007-12-07 Alexander Larsson <alexl@redhat.com>
318 * glocalfileenumerator.c (_g_local_file_enumerator_new):
319 Avoid warning spew if error == NULL
321 2007-12-07 Alexander Larsson <alexl@redhat.com>
324 Update docs wrt etags
326 2007-12-06 Alexander Larsson <alexl@redhat.com>
329 Include sys/types.h for dev_t (#501919)
331 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
335 Make abicheck and pltcheck pass.
337 2007-12-05 Alexander Larsson <alexl@redhat.com>
340 * giomodule-priv.h: Added.
341 * glocaldirectorymonitor.c:
342 * glocalfilemonitor.c:
343 * gunionvolumemonitor.c:
345 Actually add the declaration of _g_io_modules_ensure_loaded
347 2007-12-05 Alexander Larsson <alexl@redhat.com>
349 * gdatainputstream.c:
354 * glocaldirectorymonitor.c:
355 * glocalfilemonitor.c:
356 * gunionvolumemonitor.c:
358 Make g_io_modules_ensure_loaded a private function and
359 don't pass in the dirname. This means we can do magic
360 directory finding in the win32 version.
361 Export the actual load-modules-in-directory code so that
364 2007-12-05 Alexander Larsson <alexl@redhat.com>
366 * gbufferedinputstream.c:
367 * gbufferedoutputstream.c:
370 * gfileenumerator.[ch]:
371 * gfileinputstream.c:
372 * gfileoutputstream.[ch]:
373 * gfilterinputstream.c:
374 * gfilteroutputstream.c:
377 * glocalfileenumerator.c:
378 * glocalfileinputstream.c:
379 * glocalfileoutputstream.c:
380 * gmemoryinputstream.c:
381 * gmemoryoutputstream.c:
382 * goutputstream.[ch]:
385 * gunixinputstream.c:
386 * gunixoutputstream.c:
387 Rename all struct members named:
388 read, write, close, truncate, or mount
389 to foo_fn, as these are reserved names
390 and could be defined as macros in libc.
393 2007-12-04 Alexander Larsson <alexl@redhat.com>
396 (g_output_stream_close):
397 Only call flush if non-null.
399 2007-11-30 Dan Winship <danw@gnome.org>
401 * ginputstream.c (g_input_stream_set_pending): Make this take a
402 GError and return a gboolean, and do the "outstanding operation"
403 check (and the "stream is already closed" check) itself.
404 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
406 * goutputstream.c (g_output_stream_set_pending)
407 (g_output_stream_clear_pending): Likewise
409 * gbufferedinputstream.c:
410 * gfileinputstream.c:
411 * gfileoutputstream.c: Update for that
413 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
414 Like g_simple_async_report_error_in_idle, but takes a GError
415 rather than building one.
417 2007-11-30 Dan Winship <danw@gnome.org>
419 * goutputstream.c: Don't cheat and unset the "pending" flag around
420 inner calls. Instead, call the class method directly rather than
421 the wrapper function that checks "pending"
423 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
425 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
427 2007-12-03 Hans Breuer <hans@breuer.org>
429 [start of port to win32/msvc]
430 * gcancellable.c : HAVE_UNIST_H and _pipe()
431 * gcontenttype.c : only include <dirent.h> in the UNIX branch
432 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
433 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
435 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
436 * glocalvfs.c : use HAVE_PWD_H
437 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
438 * makefile.msc : new file (maybe later converted to makefile.msc.in)
439 * Makefile.am : added to EXTRA_DIST
441 2007-12-03 Matthias Clasen <mclasen@redhat.com>
443 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
446 2007-12-03 Alexander Larsson <alexl@redhat.com>
449 Handle OSX style xattrs API (#500506)
451 2007-12-03 Alexander Larsson <alexl@redhat.com>
455 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
457 2007-12-02 A. Walton <awalton@svn.gnome.org>
461 Documentation accuracy fixes.
463 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
465 * gioenumtypes.c.template: Fix typo.
467 2007-12-01 Matthias Clasen <mclasen@redhat.com>
469 * gioenumtypes.c.template: Make threadsafe get_type() functions.
471 2007-12-01 Matthias Clasen <mclasen@redhat.com>
473 * gdirectorymonitor.c:
474 * gfilemonitor.c: Add properties
476 * gbufferedoutputstream.c: Don't mark buffer-size property
479 2007-12-01 Matthias Clasen <mclasen@redhat.com>
481 * gbufferedoutputstream.c: Add auto-grow property.
483 2007-11-30 Matthias Clasen <mclasen@redhat.com>
485 * *.c: Unify the capitalization of section headings.
487 2007-11-30 Matthias Clasen <mclasen@redhat.com>
489 * gmountoperation.c: Add properties
491 * gdatainputstream.c: Turn byte-order and newline-type into
494 2007-11-30 Matthias Clasen <mclasen@redhat.com>
496 * gioenumtypes.[hc].template: Templates for enum registration
498 * Makefile.am: Generate gioenumtypes.[hc]
500 * gio.h: Include gioenumtypes.h
502 * gfile.h: Add some explicit nicks.
504 * gio.symbols: Add new symbols
506 * pltcheck.sh: Adjust
508 2007-11-30 Matthias Clasen <mclasen@redhat.com>
510 * *.c: Explain etags and link to the explanation
512 2007-11-29 Matthias Clasen <mclasen@redhat.com>
514 * *.c: Explain I/O priority.
516 * *.c: More coding style fixes.
518 2007-11-29 Matthias Clasen <mclasen@redhat.com>
520 * gasyncresult.c: Add another paragraph to the intro,
521 adjust coding style of example.
523 2007-11-29 A. Walton <awalton@svn.gnome.org>
526 Fixes unknown meaning in GAppLaunchContext docs.
528 Clarify asynchronous ops.
533 Provides missing gtk-doc section, fixes API docs slighly.
534 * gsimpleasyncresult.c:
535 Fill in missing info in docs.
536 * gunixinputstream.c:
537 * gunixoutputstream.c:
538 Be more expressive in short description.
540 Remove gtk-doc stubs for non-public API.
542 2007-11-28 Matthias Clasen <mclasen@redhat.com>
544 * *.c: Coding style fixups
546 2007-11-28 Matthias Clasen <mclasen@redhat.com>
548 * inotify/inotify-helper.c: Don't export the lock from libgio.
550 2007-11-28 Matthias Clasen <mclasen@redhat.com>
553 * abicheck.sh: Fix copy-and-paste leftovers
555 2007-11-28 Matthias Clasen <mclasen@redhat.com>
557 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
559 2007-11-28 Alexander Larsson <alexl@redhat.com>
563 Removed unnecessary file
565 * gdesktopappinfo.[ch]:
568 * glocaldirectorymonitor.[ch]:
570 * glocalfileenumerator.[ch]:
571 * glocalfileinputstream.[ch]:
572 * glocalfilemonitor.[ch]:
573 * glocalfileoutputstream.[ch]:
575 * gnativevolumemonitor.c:
576 * gpollfilemonitor.[ch]:
577 * gunionvolumemonitor.[ch]:
580 * gunixvolumemonitor.[ch]:
583 * inotify/ginotifydirectorymonitor.[ch]:
584 * inotify/ginotifyfilemonitor.[ch]:
585 * inotify/inotify-helper.c:
586 Append _ to all internal functions
590 Export symbols needed for modules
592 2007-11-28 Alexander Larsson <alexl@redhat.com>
595 * abicheck.sh: Added.
596 * makegioalias.pl: Added.
597 * pltcheck.sh: Added.
598 * gio.symbols: Added.
601 Initial work on adding symbol handling.
604 Correct ifdef guard name
607 * inotify/Makefile.am:
608 * xdgmime/Makefile.am:
609 Include toplevel Makefile.decl
611 2007-11-27 Matthias Clasen <mclasen@redhat.com>
613 * gcontenttype.c: Move doc comments to the unix section.
615 * *.[hc]: More trivial doc corrections.
617 2007-11-27 Matthias Clasen <mclasen@redhat.com>
619 * gpollfilemonitor.c:
628 * gdatainputstream.c:
629 * gdatainputstream.h:
630 * gdataoutputstream.c:
631 * gdataoutputstream.h:
632 * gfileinfo.h: Doc cleanups
634 2007-11-28 Andre Klapper <a9016009@gmx.de>
636 * gdesktopappinfo.c: Fix a typo.
638 2007-11-27 Andre Klapper <a9016009@gmx.de>
640 * glocalfileoutputstream.c: Fix a typo.
642 2007-11-27 Alexander Larsson <alexl@redhat.com>
645 Don't include removed headers
647 2007-11-27 Alexander Larsson <alexl@redhat.com>
650 * gsocketinputstream.[ch]: Removed.
651 * gsocketoutputstream.[ch]: Removed.
652 * gunixinputstream.[ch]: Added.
653 * gunixoutputstream.[ch]: Added.
654 Renamed GSocket*Stream to GUnix*Stream and made
655 it unix-only, since its not really only for sockets
656 and it only works on unix (but is highly useful there).
658 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
664 * gbufferedinputstream.c:
665 * gbufferedinputstream.h:
666 * gbufferedoutputstream.c:
667 * gbufferedoutputstream.h:
671 * gdatainputstream.c:
672 * gdatainputstream.h:
673 * gdataoutputstream.c:
674 * gdataoutputstream.h:
675 * gdirectorymonitor.c:
676 * gdirectorymonitor.h:
689 * gfileinputstream.c:
690 * gfileinputstream.h:
693 * gfilenamecompleter.c:
694 * gfilenamecompleter.h:
695 * gfileoutputstream.c:
696 * gfileoutputstream.h:
697 * gfilterinputstream.c:
698 * gfilterinputstream.h:
699 * gfilteroutputstream.c:
700 * gfilteroutputstream.h:
713 * glocalfileoutputstream.c:
714 * gmemoryinputstream.c:
715 * gmemoryinputstream.h:
716 * gmemoryoutputstream.c:
717 * gmemoryoutputstream.h:
722 * gpollfilemonitor.c:
725 * gsimpleasyncresult.c:
726 * gsimpleasyncresult.h:
727 * gsocketinputstream.c:
728 * gsocketinputstream.h:
729 * gsocketoutputstream.c:
730 * gsocketoutputstream.h:
737 * gunixvolumemonitor.c:
746 Bumps documentation to 93% symbol coverage, touching most
747 of the public files. Fixes broken function documentation prototypes.
748 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
749 gtk-doc headers in private files.
751 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
753 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
754 (g_buffered_input_stream_read_byte):
755 * gbufferedinputstream.h:
756 New functions for efficient access to buffer and simple single byte
759 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
760 (g_data_input_stream_read_until):
761 * gdatainputstream.h:
762 Use peek_buffer to avoid memcpy in scan_for_newline, implement
763 read_until with multiple stop chars.
765 2007-11-27 Alexander Larsson <alexl@redhat.com>
769 * inotify/Makefile.am:
770 Use the user-specified giomoduledir
772 2007-11-27 Alexander Larsson <alexl@redhat.com>
776 Add catch-all gio.h header
777 Don't install gdummyfile.h
779 2007-11-26 Alexander Larsson <alexl@redhat.com>
781 * Makefile.am (gioinclude_HEADERS):
782 Remove trailing whitespace
784 2007-11-26 Alexander Larsson <alexl@redhat.com>
786 Merge gio-standalone into glib
788 2007-11-25 Christian Kellner <gicmo@gnome.org>
790 * gio/goutputstream.c:
791 Fix small mistake in the docs.
793 2007-11-21 Christian Persch <chpe@gnome.org>
795 * gio/glocalfile.c: (g_local_file_trash):
796 Convert filenames to UTF-8 for GError.
797 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
798 as per xdg base dir spec.
800 2007-11-21 Christian Persch <chpe@gnome.org>
802 * gio/gdesktopappinfo.c:
803 Use that g_key_file_to_data cannot fail.
805 Use stock defines for the key file group and key names.
808 2007-11-21 Alexander Larsson <alexl@redhat.com>
811 (copy_stream_with_progress):
812 Make sure we do a final progress callback with
815 2007-11-21 Alexander Larsson <alexl@redhat.com>
818 Export g_file_copy_attributes
819 Remove padding as its not needed for interfaces
821 2007-11-20 Alexander Larsson <alexl@redhat.com>
826 Add G_IO_ERROR_WOULD_MERGE for
827 copy/move dir on dir with overwrite.
829 2007-11-20 Alexander Larsson <alexl@redhat.com>
832 * gio/glocalfileinfo.c:
833 Add COPY_NAME (this is an optional
834 non-modified utf8 version of the name) that
837 2007-11-20 Alexander Larsson <alexl@redhat.com>
839 * gio/glocalfileenumerator.c:
840 Report errors as GIOError, not GFileError
842 2007-11-16 Alexander Larsson <alexl@redhat.com>
844 * gio/glocalfileoutputstream.c:
845 * gio/gwin32appinfo.c:
846 Fix typos in strings.
847 Patch from Luca Ferretti <elle.uca@libero.it>
849 2007-11-15 Alexander Larsson <alexl@redhat.com>
852 Post release version bump
854 === gio-standalone 0.1.2 ===
856 2007-11-15 Alexander Larsson <alexl@redhat.com>
858 * docs/reference/gio/Makefile.am:
859 Fix up distcheck by removing weird
865 2007-11-14 Alexander Larsson <alexl@redhat.com>
867 * gio/gdesktopappinfo.c:
868 * gio/glocaldirectorymonitor.c:
870 * gio/glocalfileinfo.c:
871 * gio/inotify/inotify-sub.c:
872 * programs/gio-cat.c:
873 * programs/gio-copy.c:
874 * programs/gio-info.c:
876 * programs/gio-monitor-dir.c:
877 * programs/gio-monitor-file.c:
878 * programs/gio-mount.c:
879 * programs/gio-move.c:
881 * programs/gio-save.c:
882 * programs/gio-trash.c:
883 Leak fixes from Kjartan Maraas
885 2007-11-14 Alexander Larsson <alexl@redhat.com>
887 * gio/fam/fam-helper.c:
889 * gio/glocalfileinfo.c:
893 * gio/inotify/inotify-diag.c:
894 * gio/inotify/inotify-kernel.c:
895 Various code cleanups from Kjartan Maraas
897 2007-11-14 Alexander Larsson <alexl@redhat.com>
899 * gio/gioscheduler.c:
901 Set up threadpool so that we cache 2 unused
902 idle threads for at 15 secs. This means we
903 will reuse thread-local data (like dbus connections)
906 2007-11-14 Alexander Larsson <alexl@redhat.com>
908 * gio/fam/fam-helper.c:
909 * gio/fam/gfamdirectorymonitor.c:
910 * gio/fam/gfamfilemonitor.c:
912 * gio/gcontenttype.c:
913 * gio/gdatainputstream.c:
914 * gio/gdataoutputstream.c:
918 * gio/gfileattribute.h:
919 * gio/gfileenumerator.c:
921 * gio/ginputstream.c:
924 * gio/glocalfileinfo.c:
925 * gio/goutputstream.c:
926 * gio/gpollfilemonitor.c:
927 * gio/gsimpleasyncresult.c:
930 * gio/inotify/ginotifydirectorymonitor.c:
931 * gio/inotify/ginotifyfilemonitor.c:
932 * gio/inotify/inotify-diag.c:
933 * gio/inotify/inotify-kernel.c:
934 * gio/inotify/inotify-path.c:
936 * gio/test-streams.c:
937 * programs/gio-info.c:
938 * programs/gio-monitor-dir.c:
939 * programs/gio-monitor-file.c:
940 Various code cleanups from Kjartan Maraas
942 2007-11-13 Alexander Larsson <alexl@redhat.com>
945 Handle the uri-scheme calls for dummy files
947 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
949 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
950 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
951 to avoid clash with the C++ keyword.
953 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
955 * gio/glocalfileinfo.c: Build fix, added missing semicolon
956 to an ifdef'ed call to getpwuid() in lookup_uid_data().
958 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
960 * gio/glocaldirectorymonitor.c:
961 * gio/glocalfilemonitor.c:
962 * gio/gunionvolumemonitor.c:
963 Don't use g_once_init_*() for initializations that could fail and
964 could leave the initialization variable set to 0 but use GOnce.
965 This prevents a deadlock on the second call when trying to create
966 a monitor and no monitor type is available. Thanks to Sven Herzberg
969 2007-11-11 Sven Herzberg <sven@imendio.com>
971 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
972 #ifdef (make it work on MacOS X again)
974 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
976 Fixes Changelog for last two commits (sorry guys).
978 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
980 * gio/gbufferedinputstream.c:
981 * gio/gdatainputstream.c:
983 * gio/gfileoutputstream.c:
984 * gio/gfilterinputstream.c:
985 * gio/glocalfileinputstream.c:
988 More consistency fixes in g*stream.c files.
989 Significant clean of gfile's documentation, filling in of
990 asynchronous operations documentation.
992 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
994 * gio/gasyncresult.c:
995 * gio/gbufferedinputstream.c:
996 * gio/gbufferedoutputstream.c:
997 * gio/gcancellable.c:
998 * gio/gcontenttype.c:
999 * gio/gdatainputstream.c:
1000 * gio/gdataoutputstream.c:
1001 * gio/gdesktopappinfo.c:
1004 * gio/gfileattribute.c:
1005 * gio/gio/gfileenumerator.c:
1007 * gio/gfileinputstream.c:
1008 * gio/gfilemonitor.c:
1009 * gio/gfileoutputstream.c:
1010 * gio/ginputstream.c:
1012 * gio/gioscheduler.c:
1013 * gio/gloadableicon.c:
1014 * gio/glocalfileoutputstream.c:
1015 * gio/gmemoryoutputstream.c:
1016 * gio/gmountoperation.c:
1017 * gio/goutputstream.c:
1019 * gio/gsimpleasyncresult.c:
1020 * gio/gunionvolumemonitor.c:
1021 * gio/gunixmounts.c:
1022 * gio/gunixvolume.c:
1026 * gio/gvolumemonitor.c:
1027 Updated documentation stubs, working towards consistency and
1030 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1032 * gio/gmemoryoutputstream.c:
1033 * gio/gmemoryoutputstream.h:
1034 Change g_memory_output_stream_set_free_on_close() to
1035 g_memory_output_stream_set_free_data() as this makes more sense and
1036 is more consistent with GMemoryInputStream.
1038 2007-11-07 Alexander Larsson <alexl@redhat.com>
1045 Change how we find the default vfs so that
1046 we can handle a gvfs failing to init
1048 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1050 * gio/gbufferedoutputstream.c:
1051 * gio/gdatainputstream.c:
1052 * gio/gdataoutputstream.c:
1053 * gio/gfileinputstream.c:
1054 * gio/gfileoutputstream.c:
1055 * gio/gfilterinputstream.c:
1056 * gio/gfilteroutputstream.c:
1057 * gio/ginputstream.c:
1058 * gio/gmemoryinputstream.c:
1059 * gio/gmemoryoutputstream.c:
1060 * gio/goutputstream.c:
1061 * gio/gsimpleasyncresult.c:
1062 * gio/gsocketinputstream.c:
1063 * gio/gsocketoutputstream.c:
1064 Add guards to the remaining public functions, add a TODO for
1065 an unimplemented function and remove some useless guards.
1067 2007-11-07 Alexander Larsson <alexl@redhat.com>
1070 Autoconf checks for the various types of
1071 getpwuid_r and getgrgid_r
1073 * gio/glocalfileinfo.c:
1074 Use the autoconf checks from above
1076 2007-11-07 Alexander Larsson <alexl@redhat.com>
1079 (g_local_file_query_filesystem_info):
1080 Some fixes for the statvfs case
1082 2007-11-07 Alexander Larsson <alexl@redhat.com>
1085 (g_local_file_query_filesystem_info):
1086 Pick the "best" of statfs / statvfs for the system
1087 if both are availible.
1089 2007-11-07 Alexander Larsson <alexl@redhat.com>
1091 Solaris fixes from Halton.Huo@Sun.COM:
1098 * gio/glocalfileinfo.c:
1099 Fix for solaris definition of getpwuid_r
1101 * gio/test-streams.c:
1102 Use G_GNUC_PRETTY_FUNCTION
1104 2007-11-07 Alexander Larsson <alexl@redhat.com>
1106 * gio/gdesktopappinfo.c:
1107 (update_default_list):
1108 Remove double semicolon.
1109 Patch from Jens Granseuer
1111 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1113 * docs/reference/gio/gio-sections.txt:
1114 * gio/gbufferedinputstream.c:
1115 * gio/gbufferedinputstream.h:
1116 * gio/gdatainputstream.c:
1117 * gio/gfileenumerator.c:
1118 * gio/gioscheduler.c:
1119 * gio/gunionvolumemonitor.c:
1121 * programs/gio-save.c:
1122 Fix typo: availible -> available. Unfortuntely this breaks API
1123 and ABI as g_buffered_input_stream_get_available() was renamed.
1125 * gio/gunixmounts.c:
1126 * gio/gbufferedinputstream.c:
1127 Add guards for public functions.
1129 2007-11-06 Ross Burton <ross@openedhand.com>
1131 * docs/reference/gio/Makefile.am:
1132 Fix invalid += usage which automake 1.10 doesn't like.
1134 2007-11-06 Alexander Larsson <alexl@redhat.com>
1137 (g_app_launch_context_class_init):
1140 Patch from Ross Burton
1142 2007-11-06 Alexander Larsson <alexl@redhat.com>
1145 Post release version bump
1147 === gio-standalone 0.1.1 ===
1149 2007-11-06 Alexander Larsson <alexl@redhat.com>
1152 Bump version to 0.1.1
1154 * gio/gsimpleasyncresult.c:
1155 (g_simple_async_result_set_from_error):
1156 Remove bogus g_return_if_fail
1158 2007-11-06 Alexander Larsson <alexl@redhat.com>
1161 The name is gio-standalone
1164 Add top src/builddir to includedir
1166 2007-11-06 Alexander Larsson <alexl@redhat.com>
1168 * docs/reference/gio/gio-sections.txt:
1170 * gio/gbufferedinputstream.c:
1171 * gio/gbufferedoutputstream.c:
1172 * gio/gcancellable.c:
1173 * gio/gdatainputstream.h:
1174 * gio/gdataoutputstream.c:
1175 * gio/gdataoutputstream.h:
1176 * gio/gdirectorymonitor.c:
1178 * gio/gfileattribute.c:
1179 * gio/gfileattribute.h:
1180 * gio/gfileenumerator.c:
1181 * gio/gfileenumerator.h:
1184 * gio/gfileinputstream.h:
1185 * gio/gfilemonitor.c:
1186 * gio/gfileoutputstream.h:
1187 * gio/glocalfilemonitor.h:
1188 * gio/glocalfileoutputstream.h:
1189 * gio/gmemoryinputstream.c:
1190 * gio/gmemoryoutputstream.c:
1191 * gio/gmountoperation.c:
1192 * gio/goutputstream.c:
1193 * gio/goutputstream.h:
1195 * gio/gsimpleasyncresult.c:
1196 * gio/gunixmounts.c:
1197 * gio/gunixmounts.h:
1199 * gio/inotify/inotify-helper.c:
1200 Fix gtk-doc warnings
1202 Patch from Ross Burton
1204 2007-11-06 Alexander Larsson <alexl@redhat.com>
1206 * gio/gfilenamecompleter.c:
1207 (g_filename_completer_get_completions):
1210 * gio/gunixvolume.c:
1211 Remove unused function
1213 Patches from Ross Burton
1215 2007-11-06 Alexander Larsson <alexl@redhat.com>
1220 Padding not needed for interfaces
1222 2007-11-06 Alexander Larsson <alexl@redhat.com>
1224 * gio/gfilemonitor.c:
1228 Make giotypes.h an internal file
1231 * gio/gbufferedinputstream.h:
1232 * gio/gbufferedoutputstream.h:
1233 * gio/gcancellable.h:
1234 * gio/gdatainputstream.h:
1235 * gio/gdataoutputstream.h:
1236 * gio/gdirectorymonitor.c:
1237 * gio/gdirectorymonitor.h:
1242 * gio/gfileattribute.h:
1243 * gio/gfileenumerator.h:
1248 * gio/gfilemonitor.c:
1249 * gio/gfilemonitor.h:
1250 * gio/gfilenamecompleter.c:
1251 * gio/gfilenamecompleter.h:
1252 * gio/gfilterinputstream.h:
1253 * gio/gfilteroutputstream.h:
1254 * gio/ginputstream.h:
1255 * gio/gmemoryinputstream.h:
1256 * gio/gmemoryoutputstream.h:
1257 * gio/gmountoperation.c:
1258 * gio/gmountoperation.h:
1259 * gio/gnativevolumemonitor.c:
1260 * gio/goutputstream.h:
1263 * gio/gsimpleasyncresult.c:
1264 * gio/gsimpleasyncresult.h:
1265 * gio/gsocketinputstream.h:
1266 * gio/gsocketoutputstream.h:
1267 * gio/gthemedicon.c:
1268 * gio/gthemedicon.h:
1272 * gio/gvolumemonitor.c:
1273 * gio/gvolumemonitor.h:
1274 Add padding in classes where it seems useful
1275 Don't include giotypes.h from public headers
1276 Move in Class definitions into c file where possible
1281 2007-11-06 Alexander Larsson <alexl@redhat.com>
1283 * docs/reference/gio/gio-docs.xml:
1284 Better structure for API docs
1286 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1289 * gio/gloadableicon.c:
1290 * gio/gsimpleasyncresult.c:
1291 * gio/gthemedicon.c:
1292 Add some more guards to public functions. Only files missing are now
1295 2007-11-06 Alexander Larsson <alexl@redhat.com>
1297 * docs/reference/gio/gio-docs.xml:
1298 Remove old files, add missing ones
1300 2007-11-06 Alexander Larsson <alexl@redhat.com>
1302 * docs/reference/gio/gio-sections.txt:
1305 Hide implementation classes
1307 * gio/gdriveprivate.h:
1308 * gio/gvolumeprivate.h:
1309 Remove non-existing function declarations
1311 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1314 Fix compilation warnings and add guards to the new functions.
1316 * gio/gasyncresult.c:
1318 Add guards to the public functions.
1321 Implement get_path().
1323 2007-11-06 Alexander Larsson <alexl@redhat.com>
1325 * gio/gfilenamecompleter.c:
1326 Make g_filename_completer_get_completions
1327 return char ** instead of GList for
1330 * docs/reference/gio/gio-docs.xml:
1331 * docs/reference/gio/gio-sections.txt:
1333 * gio/gasyncresult.c:
1334 * gio/gbufferedinputstream.c:
1335 * gio/gbufferedoutputstream.c:
1336 * gio/gcancellable.c:
1337 * gio/gcontenttype.c:
1338 * gio/gdatainputstream.c:
1339 * gio/gdataoutputstream.c:
1340 * gio/gdesktopappinfo.c:
1341 * gio/gdirectorymonitor.c:
1345 * gio/gfileattribute.c:
1346 * gio/gfileenumerator.c:
1349 * gio/gfileinputstream.c:
1350 * gio/gfilemonitor.c:
1351 * gio/gfilenamecompleter.c:
1352 * gio/gfilenamecompleter.h:
1353 * gio/gfileoutputstream.c:
1354 * gio/gfilterinputstream.c:
1356 * gio/ginputstream.c:
1358 * gio/gioscheduler.c:
1359 * gio/gloadableicon.c:
1360 * gio/glocaldirectorymonitor.c:
1362 * gio/glocalfileinputstream.c:
1363 * gio/glocalfilemonitor.c:
1364 * gio/glocalfileoutputstream.c:
1366 * gio/gmemoryinputstream.c:
1367 * gio/gmemoryoutputstream.c:
1368 * gio/gmountoperation.c:
1369 * gio/goutputstream.c:
1370 * gio/gpollfilemonitor.c:
1372 * gio/gsimpleasyncresult.c:
1373 * gio/gsocketinputstream.c:
1374 * gio/gsocketoutputstream.c:
1375 * gio/gthemedicon.c:
1376 * gio/gunionvolumemonitor.c:
1378 * gio/gunixmounts.c:
1379 * gio/gunixvolume.c:
1380 * gio/gunixvolumemonitor.c:
1384 * gio/gvolumemonitor.c:
1385 * gio/gwin32appinfo.c:
1386 Add (mostly stub) doc strings to public functions.
1387 Patch from Andrew Walton (awalton@gmail.com)
1389 2007-11-06 Alexander Larsson <alexl@redhat.com>
1391 * gio/gappinfo.[ch]:
1392 Added GAppLaunchContext object and pass that to launch.
1393 This allows simple implementation of both
1394 launch-on-screen and startup notification via a gtk+
1395 subclass of GAppLaunchContext
1397 * gio/gdesktopappinfo.c:
1398 Implement GAppLaunchContext API
1400 * gio/gwin32appinfo.c:
1403 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1405 * gio/gmountoperation.c:
1406 Add some guards to GMountOperation's public functions.
1408 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1412 * gio/gcancellable.c:
1413 * gio/gdirectorymonitor.c:
1415 * gio/gfileenumerator.c:
1416 * gio/gfilemonitor.c:,
1417 * gio/gfilenamecompleter.c:
1420 * gio/gioscheduler.c:
1424 * gio/gvolumemonitor.c:
1425 Add even more guards to various public functions.
1427 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1430 Add guards to the public functions of GAppInfo.
1432 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1434 * gio/gcontenttype.c:
1435 Add some more guards for public functions.
1437 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1439 * gio/fam/fam-module.c:
1440 * gio/fam/gfamdirectorymonitor.c:
1441 * gio/fam/gfamdirectorymonitor.h:
1442 * gio/fam/gfamfilemonitor.c:
1443 * gio/fam/gfamfilemonitor.h:
1444 * gio/inotify/ginotifydirectorymonitor.c:
1445 * gio/inotify/ginotifydirectorymonitor.h:
1446 * gio/inotify/ginotifyfilemonitor.c:
1447 * gio/inotify/ginotifyfilemonitor.h:
1448 Add proper copyright information and remove an unused variable
1449 in the GInotifyFileMonitor constructor.
1451 * gio/gcancellable.c:
1452 Add a guard for a public function and an assertion to prevent
1453 an undefined program state.
1455 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1457 * gio/gfileattribute.c:
1458 Don't run into an assertion if the given attribute value is NULL
1459 in g_file_attribute_value_get_*() but instead return a fallback
1460 value that makes sense in most situations. Passing them a attribute
1461 value with the wrong type will still run into an assertion.
1463 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1465 * gio/gfileattribute.c:
1467 Add even more guards to the public functions. Also fix the refcounting
1468 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1469 let g_file_info_list_attributes() filter the attributes by namespace
1470 instead of simply ignoring the namespace parameter.
1472 2007-11-03 Sven Herzberg <sven@imendio.com>
1474 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1475 (This makes gio work on MacOS X again)
1477 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1480 Build the gio subdirectory before the docs. Otherwise the build will
1483 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1484 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1485 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1486 Add guards to the public functions.
1488 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1490 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1491 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1492 to prevent a compiler warning.
1494 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1495 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1496 return something in the non-void function find_topdir_for().
1498 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1505 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1507 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1508 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1509 * gwin32appinfo.c (g_win32_app_info_launch):
1510 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1511 envp_for_startup_id, g_desktop_app_info_launch,
1512 g_desktop_app_info_launch_uris):
1514 Give an opaque 'startup_id' string instead of 'envp'.
1515 Support empty file lists for launching new windows.
1516 Fix infinite recursion bug when launching URIs.
1518 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1521 Add guard to the new g_file_get_uri_scheme() function.
1523 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1526 Convert a g_return_val_if_fail() to setting the GError instead as
1527 otherwise applications have to verify the parameter before otherwise
1528 and the parameter might come directly from the user.
1530 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1532 * gio/inotify/ginotify*.[ch]:
1533 Add missing copyright information.
1535 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1538 Add guards in the beginning of public functions to check for valid
1539 parameters and fix a bug in copy_stream_with_progress() that could've
1540 caused writing less bytes than reading.
1541 * gio/glocalfileinfo.c:
1542 Check for a NULL parameter and set the GError accordingly then.
1543 * gio/goutputstream.c:
1544 Fix the same bug as in gfile.c that could've caused writing less bytes
1545 than reading in g_output_stream_real_splice().
1547 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1550 Use the correct gvolumeprivate.h naming
1552 2007-11-01 Christian Kellner <gicmo@gnome.org>
1555 Remove leftover "$(daemon_sources)" entry.
1557 2007-11-01 Christian Kellner <gicmo@gnome.org>
1562 Add copyright information to source files.
1564 2007-11-01 Alexander Larsson <alexl@redhat.com>
1568 Add g_file_get_uri_scheme
1570 2007-11-01 Alexander Larsson <alexl@redhat.com>
1573 * gio/gdesktopappinfo.c:
1574 * gio/gwin32appinfo.c:
1575 Add g_app_info_get_default_for_uri_scheme.
1577 2007-11-01 Alexander Larsson <alexl@redhat.com>
1580 Correct filename for gdriveprivate.h
1582 2007-10-31 Alexander Larsson <alexl@redhat.com>
1585 Rename id:value to id:file
1588 * gio/glocalfileinfo.c:
1591 2007-10-31 Alexander Larsson <alexl@redhat.com>
1593 * gio/gunixvolume.c:
1595 Remove g_volume_get_platform_id, as thats not
1596 needed with the simpler union volume monitor
1598 2007-10-31 Alexander Larsson <alexl@redhat.com>
1601 * gio/guniondrive.[ch]: Removed.
1602 * gio/gunionvolume.[ch]: Removed.
1603 Remove GUnionDrive/Volume
1605 * gio/gunionvolumemonitor.c:
1606 Simplify union volume monitor, now we
1607 only have one native volume monitor and
1608 we use the actual volumes/drives from the
1609 child monitors instead of wrapping them
1611 * gio/gnativevolumemonitor.[ch]:
1612 Base class for native volume monitors.
1613 Includes priority and get_volume_for_mountpoint
1616 Add g_file_find_enclosing_volume
1619 Remove volume name fs attribute
1620 Add readonly fs attribute
1623 Implement readonly attribute
1624 remove volume name attribute
1625 Implement find_enclosing volume
1627 * gio/gunixmounts.c:
1628 Add a volume for "/".
1630 * gio/gunixvolume.[ch]:
1631 Set better name for /
1633 * gio/gunixvolumemonitor.[ch]:
1634 Derive from GNativeVolumeMonitor
1635 Implement get_volume_for_mountpoint
1638 GVolume typedef moved to gfile.h
1640 * gio/gvolumeprivate.h:
1641 Add g_volume_get_for_mount_path
1643 2007-10-31 Alexander Larsson <alexl@redhat.com>
1645 * gio/gunixmounts.[ch]:
1646 Add cache info to unix mount listers
1647 Make getmntent use threadsafe
1648 Add is_system_internal attribute for GUnixMount
1650 * gio/gunixvolume.c:
1651 (g_unix_volume_new):
1652 Use is_system_internal instead of own code
1654 * gio/glocaldirectorymonitor.c:
1655 * gio/gunixvolumemonitor.c:
1656 Update to new gunixmounts API
1661 2007-10-30 Alexander Larsson <alexl@redhat.com>
1664 Add volume name fsinfo attribute
1667 Read volume name info
1669 * gio/gunionvolumemonitor.c:
1670 Fix infinite loops when finalizing a union volume monitor
1672 2007-10-30 Alexander Larsson <alexl@redhat.com>
1674 * gio/goutputstream.[ch]:
1675 Add splice() with default implementation
1677 * gio/gsocketoutputstream.c:
1678 (g_socket_output_stream_write):
1679 Return error on cancellation correctly.
1681 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1683 * gio/glocalfile.c (g_local_file_trash):
1684 Do not leak a string.
1686 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1688 * gio/gfile.c (g_file_load_contents):
1689 Unref the stream after closing it.
1691 2007-10-25 Alexander Larsson <alexl@redhat.com>
1693 * gio/gioscheduler.h:
1696 2007-10-25 Alexander Larsson <alexl@redhat.com>
1700 Add g_file_has_uri_scheme and implement for local files
1702 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1704 * gio/gdesktopappinfo.c: do not leak a string.
1706 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1708 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1709 (g_local_directory_monitor_new):
1710 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1711 (g_local_file_monitor_new):
1712 Only look for the monitor type that should be used the first time
1713 and use g_qsort_with_data() instead of our own bubble sort
1716 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1719 * gio/fam/Makefile.am:
1720 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1721 * gio/fam/fam-helper.h:
1722 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1723 * gio/fam/gfamdirectorymonitor.c:
1724 * gio/fam/gfamdirectorymonitor.h:
1725 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1726 * gio/fam/gfamfilemonitor.h:
1727 * gio/glocaldirectorymonitor.c:
1728 * gio/glocaldirectorymonitor.h:
1729 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1730 * gio/glocalfilemonitor.h:
1731 * gio/inotify/Makefile.am:
1732 * gio/inotify/ginotifydirectorymonitor.c:
1733 * gio/inotify/ginotifydirectorymonitor.h:
1734 * gio/inotify/ginotifyfilemonitor.c:
1735 * gio/inotify/ginotifyfilemonitor.h:
1736 Implement the FAM and Inotify monitors as
1737 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1738 their own GIO module. GLocal(Directory|File)Monitor will use the
1739 monitor with the highest rank that is supported on that machine.
1741 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1744 Change GIO module dir to $(libdir)/gio/modules and change
1745 the log domain from GVFS to GIO. Also only export symbols starting
1746 with g_ in the resulting library.
1747 * gio/test-streams.c: (main):
1748 Set log handler for the GIO log domain.
1750 2007-10-22 Alexander Larsson <alexl@redhat.com>
1752 * gio/gfilenamecompleter.[ch]:
1753 Add g_filename_completer_set_dirs_only
1755 2007-10-22 Alexander Larsson <alexl@redhat.com>
1758 * gio/gurifuncs.[ch]:
1759 Add some simple URI helpers
1761 * gio/gfilenamecompleter.[ch]:
1762 Added object for filename (parse name actually) completion
1765 Handle ~ in parse names
1767 2007-10-17 Alexander Larsson <alexl@redhat.com>
1770 * gio/glocalfileinfo.c:
1771 Add and implement id:value attribute
1773 2007-10-17 Alexander Larsson <alexl@redhat.com>
1776 * gio/guniondrive.c:
1778 Add and implement g_drive_has_volumes
1780 2007-10-17 Alexander Larsson <alexl@redhat.com>
1783 * gio/glocalfileinfo.[ch]:
1784 Add unix:is_mountpoint and implement for local files
1786 2007-10-16 Alexander Larsson <alexl@redhat.com>
1788 * gio/gunionvolumemonitor.c:
1789 (g_union_volume_monitor_init):
1790 Fix up the unix type getting so that it works with gcc
1792 2007-10-12 Alexander Larsson <alexl@redhat.com>
1795 * gio/glocalfileinfo.c:
1796 Add thumbnail:failed to file info
1798 2007-10-12 Richard Hult <richard@imendio.com>
1800 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1801 optimizing away the get_type call (happens with some gcc versions,
1802 like the one shipped with OS X 10.4).
1804 2007-10-12 Alexander Larsson <alexl@redhat.com>
1806 * gio/glocalfileinfo.c:
1807 (_g_local_file_info_set_attribute):
1808 Fix build if not HAVE_XATTR
1809 Patch from Milosz Derezynski <internalerror@gmail.com>
1811 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1813 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1814 around for review, otherwise I would have asked you before
1817 2007-10-11 Alexander Larsson <alexl@redhat.com>
1820 Add thumbnail:path attribute
1822 * gio/glocalfileinfo.c:
1823 Implement thumbnail:path for local files
1825 2007-10-11 Alexander Larsson <alexl@redhat.com>
1827 * gio/glocalfileinfo.c:
1828 (_g_local_file_info_get):
1829 Avoid duplicate icon names
1831 2007-10-11 Alexander Larsson <alexl@redhat.com>
1833 * gio/gthemedicon.[ch]:
1834 Change g_themed_icon_get_names return type to const
1836 2007-10-10 Alexander Larsson <alexl@redhat.com>
1838 * gio/glocalfileinfo.c:
1839 Don't reference freed memory
1841 2007-10-10 Alexander Larsson <alexl@redhat.com>
1843 * gio/gfileattribute.c:
1846 * gio/glocalfileinfo.c:
1849 2007-10-10 Alexander Larsson <alexl@redhat.com>
1852 Check for NULL icons
1854 * gio/gfileattribute.c:
1855 Don't dup when getting objects (same as for string attributes)
1857 * gio/gicon.c (g_icon_equal):
1858 Safely handle NULLs in equal
1860 2007-10-10 Alexander Larsson <alexl@redhat.com>
1863 Fix c++ compilation issues
1864 Patch from Milosz Derezynski <internalerror@gmail.com>
1866 2007-10-10 Alexander Larsson <alexl@redhat.com>
1868 * programs/gio-monitor-dir.c:
1869 Don't crash if dir monitor not supported.
1871 2007-10-09 Alexander Larsson <alexl@redhat.com>
1874 Add missing G_END_DECLS
1876 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1878 * gio/gfile.c: (g_file_set_display_name),
1879 (g_file_query_settable_attributes),
1880 (g_file_query_writable_namespaces):
1881 Return NULL not FALSE on errors as the return type is a pointer.
1883 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1885 * gio/glocalfile.c: (g_local_file_monitor_file):
1886 Don't call monitor_file on the default interface vtable (which
1887 is NULL) but simply return NULL. The caller, GFile, will create a
1888 polling monitor if NULL is returned.
1890 2007-10-09 Alexander Larsson <alexl@redhat.com>
1894 * gio-unix-2.0.pc.in:
1895 Add gio-unix-2.0.pc if OS_UNIX
1898 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1900 2007-10-09 Alexander Larsson <alexl@redhat.com>
1902 * gio/gunixmounts.[ch]:
1903 Make unix mount monitoring API sane.
1904 Now its just a object with mounts_changed
1905 and mountpoints_changed signals.
1907 * gio/glocaldirectorymonitor.c:
1908 * gio/gunixvolumemonitor.c:
1909 Use new mount monitor api
1911 2007-10-09 Alexander Larsson <alexl@redhat.com>
1913 * gio/gunixmounts.[ch]:
1914 Move guess type into one call for mounts and one for mountpoints
1917 * gio/gunixvolume.c:
1920 2007-10-09 Alexander Larsson <alexl@redhat.com>
1922 * gio/gunixmounts.[ch]:
1923 Remove _ prefix in preparation to make this semi-public
1924 Hide implementation of structs
1926 * gio/glocaldirectorymonitor.c:
1928 * gio/gunixvolume.c:
1929 * gio/gunixvolumemonitor.c:
1930 Update for above API changes
1932 2007-10-08 Alexander Larsson <alexl@redhat.com>
1935 Better polling fallback. This also handles the case where we have
1936 a monitor_file implementation, but it fails.
1938 2007-10-08 Alexander Larsson <alexl@redhat.com>
1942 * gio/gunixmounts.c:
1943 * programs/gio-monitor-dir.c:
1944 * programs/gio-monitor-file.c:
1945 Added cancellable to file monitoring calls.
1946 These are really sync calls and need this.
1948 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1950 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1951 (g_local_vfs_class_init):
1952 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1953 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1955 2007-10-05 Alexander Larsson <alexl@redhat.com>
1957 * gio/gdirectorymonitorprivate.h:
1958 * gio/gfilemonitorprivate.h:
1959 * gio/gdirectorymonitor.h:
1960 * gio/gfilemonitor.h:
1961 Remove *private.h and move to the public API, so that
1962 we can do implementations outside gio (such as in gvfs)
1964 * gio/gdirectorymonitor.c:
1965 * gio/gfilemonitor.c:
1966 * gio/glocaldirectorymonitor.c:
1967 * gio/gpollfilemonitor.c:
1968 * gio/inotify/inotify-helper.c:
1969 * gio/fam/fam-helper.c:
1970 Update to the new header names
1972 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
1974 * gio/gdirectorymonitor.c:
1975 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1978 2007-10-04 Alexander Larsson <alexl@redhat.com>
1980 * gio/glocalfileinfo.c (get_access_rights):
1981 Set CAN_TRASH when we can move the file.
1982 We should really also check for a parent trash dir.
1984 2007-10-04 Alexander Larsson <alexl@redhat.com>
1986 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
1987 Add can_trash access attribute
1989 2007-10-04 Alexander Larsson <alexl@redhat.com>
1992 (g_local_file_trash):
1993 Create info file first. This is per-spec and allows
1994 us to actually trash directories.
1996 2007-10-02 Alexander Larsson <alexl@redhat.com>
1998 * gio/gdesktopappinfo.c:
1999 Implement the new mime support code.
2000 Always set app as handling mimetype when being set as default for it
2002 2007-10-01 Alexander Larsson <alexl@redhat.com>
2004 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2005 Fix up check for xattrs:
2007 2007-10-01 Alexander Larsson <alexl@redhat.com>
2010 (g_app_info_set_as_default_for_extension):
2011 (g_app_info_add_supports_type):
2012 (g_app_info_can_remove_supports_type):
2013 (g_app_info_remove_supports_type):
2014 Make these fail nicely if not implemented
2016 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2018 * gio/glocalfileoutputstream.c:
2019 * gio/glocalfileoutputstream.h:
2024 * programs/gio-save.c:
2025 Add a GFileCreateFlags argument to operations that can create
2028 2007-10-01 Alexander Larsson <alexl@redhat.com>
2030 * gio/gappinfo.[ch]:
2031 * gio/gdesktopappinfo.c:
2032 Add more (stubbed out) mime API needed for nautilus
2034 2007-10-01 Alexander Larsson <alexl@redhat.com>
2037 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2038 Add g_app_info_set_as_default_for_extension.
2040 * gio/gdesktopappinfo.c:
2041 Dummy for g_app_info_set_as_default_for_extension
2042 Support flags in g_app_info_create_from_commandline
2044 * gio/gwin32appinfo.c:
2046 Update for API changes
2048 * gio/gthemedicon.c:
2049 Properly NULL-terminate list of icon names
2051 2007-09-28 Alexander Larsson <alexl@redhat.com>
2053 * gio/gloadableicon.h:
2054 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2056 2007-09-28 Alexander Larsson <alexl@redhat.com>
2059 Install headers in $includedir/gio-standalone/
2061 * gio-2.0.pc.in: Added.
2062 * gio-standalone.pc.in: Removed.
2065 Renamed pkg-config file to match glib (for future move)
2066 Update to the new include dir
2069 Add more TODO comments
2071 2007-09-28 Alexander Larsson <alexl@redhat.com>
2073 * gio/gdesktopappinfo.[ch]:
2074 Expose new_from_filename
2075 Add getter for is_hidden and handle it better
2077 2007-09-28 Alexander Larsson <alexl@redhat.com>
2079 * gio/gfileinfo.[ch]:
2080 Rename g_file_size_format_for_display to
2081 g_format_file_size_for_display.
2082 Now it doesn't have the g_file prefix, so we
2083 can later move it to glib.
2085 2007-09-28 Alexander Larsson <alexl@redhat.com>
2087 * gio/gappinfo.[ch]:
2088 Add g_app_info_get_id and g_app_info_get_executable.
2089 Make all getters non-reffing
2090 Make g_app_info_launch take GFile arguments.
2091 Add must_support_uris argument to g_app_info_get_default_for_type.
2093 * gio/gwin32appinfo.c:
2094 Update to GAppInfo api changes
2096 * gio/gdesktopappinfo.c:
2097 Update to GAppInfo api changes
2098 Implement supports_xdg_startup_notify
2100 * gio/gfileicon.c (g_file_icon_get_file):
2101 Make getter non-reffing.
2106 2007-09-27 Alexander Larsson <alexl@redhat.com>
2108 * gio/gfileinfo.[ch]:
2109 Add g_file_size_format_for_display helper
2111 2007-09-27 Alexander Larsson <alexl@redhat.com>
2113 * gio/glocalfileinfo.c:
2114 Set UNIX_GID from gid, not from uid
2116 2007-09-27 Alexander Larsson <alexl@redhat.com>
2119 Add g_file_set_attributes_async
2121 2007-09-27 Alexander Larsson <alexl@redhat.com>
2123 * gio/glocalfile.c (g_local_file_set_display_name):
2124 Fix set_display_name to actually rename to the right place.
2125 Use lstat to look for existing files so we don't overwrite
2128 2007-09-26 Alexander Larsson <alexl@redhat.com>
2131 Add g_file_set_display_name_async()
2133 2007-09-26 Alexander Larsson <alexl@redhat.com>
2136 Add load_partial_contents async calls
2139 Make internal function static
2141 2007-09-26 Alexander Larsson <alexl@redhat.com>
2143 * gio/glocalfileinfo.c:
2144 Correctly detect broken symlinks
2146 2007-09-26 Alexander Larsson <alexl@redhat.com>
2148 * gio/gcancellable.c (g_cancellable_cancel):
2149 Allow cancel on NULL cancellable
2151 2007-09-25 Alexander Larsson <alexl@redhat.com>
2153 * gio/gsimpleasyncresult.c:
2154 Don't allocate g_error manually.
2155 Fixes g_slice/g_new mixup crash
2157 2007-09-25 Alexander Larsson <alexl@redhat.com>
2159 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2160 Actually set active_backend.
2161 This means the monitor will be cancelled correctly.
2163 2007-09-25 Alexander Larsson <alexl@redhat.com>
2165 * gio/gdirectorymonitor.c:
2166 Set timeout to NULL when destroying
2168 2007-09-25 Alexander Larsson <alexl@redhat.com>
2171 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2172 that is a better description of the error.
2174 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2176 * gio/gvfs.c: (g_vfs_get_local):
2177 Make the local vfs variable static. The same instance should
2180 2007-09-24 Alexander Larsson <alexl@redhat.com>
2182 * gio/glocalfileinfo.c:
2183 Pass in actual length read into sniffer, not the length
2186 2007-09-21 Alexander Larsson <alexl@redhat.com>
2188 * gio/gfileenumerator.c:
2191 * gio/gfileinputstream.c:
2192 * gio/gfileoutputstream.c:
2193 * gio/ginputstream.c:
2194 * gio/goutputstream.c:
2195 Don't crash if async callbacks are NULL
2197 2007-09-20 Alexander Larsson <alexl@redhat.com>
2200 Add async enumerate_children method and default
2203 2007-09-20 Alexander Larsson <alexl@redhat.com>
2206 Add g_file_contains_file & g_file_get_relative_path, since they
2207 were needed for nautilus.
2208 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2213 Implement new methods
2215 2007-09-17 Alexander Larsson <alexl@redhat.com>
2218 * gio/gfileinputstream.[ch]:
2219 * gio/gfileoutputstream.[ch]:
2221 * gio/glocalfileenumerator.[ch]:
2222 * gio/glocalfileinfo.[ch]:
2223 * gio/glocalfileinputstream.c:
2224 * gio/glocalfileoutputstream.c:
2225 * gio/gpollfilemonitor.c:
2226 * programs/gio-copy.c:
2227 * programs/gio-info.c:
2228 * programs/gio-move.c:
2229 Rename get_file_info to query_info() to make it clearer
2230 that these are not simple getters, but do i/o.
2232 2007-09-17 Alexander Larsson <alexl@redhat.com>
2234 * gio/gdatainputstream.[ch]:
2235 * gio/test-streams.c:
2236 Use _read_XXX instead of _get_XXX for the i/o calls
2239 2007-09-17 Alexander Larsson <alexl@redhat.com>
2242 Added needed stuff to TODO comment
2244 2007-09-17 Alexander Larsson <alexl@redhat.com>
2246 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2247 Don't error out removing the backup copy if it doesn't
2250 2007-09-14 Alexander Larsson <alexl@redhat.com>
2252 * programs/Makefile.am:
2253 * programs/gvfs-*.c:
2255 Renamed apps from gvfs-xxx to gio-xxx.
2257 2007-09-14 Alexander Larsson <alexl@redhat.com>
2260 * gio/gfileoutputstream.[ch]:
2261 * gio/glocalfileoutputstream.c:
2262 * programs/gvfs-save.c:
2263 g_file_output_stream_get_etag doesn't do i/o, so remove
2264 cancellation and error.
2266 2007-09-14 Alexander Larsson <alexl@redhat.com>
2269 Add new_etag output to replace_contents functions
2271 2007-09-14 Alexander Larsson <alexl@redhat.com>
2273 * gio/gfileoutputstream.[ch]:
2274 Add async get_file_info and default implementation
2276 2007-09-14 Alexander Larsson <alexl@redhat.com>
2278 * gio/gfileinputstream.c:
2279 Implement fallback wrapper for async get_file_info
2281 2007-09-14 Alexander Larsson <alexl@redhat.com>
2284 Add etag out argument to load_contents
2289 2007-09-14 Alexander Larsson <alexl@redhat.com>
2291 * gio/gcontenttype.c (looks_like_text):
2292 Whitespace like tab, cr and lf do not make the
2295 2007-09-14 Alexander Larsson <alexl@redhat.com>
2297 * gio/gfileinputstream.[ch]:
2298 Add async get_file_info.
2300 2007-09-13 Alexander Larsson <alexl@redhat.com>
2302 * gio/goutputstream.c (g_output_stream_write_all):
2303 Allow NULL for bytes_written
2305 2007-09-13 Alexander Larsson <alexl@redhat.com>
2307 * gio/gmemoryinputstream.[ch]:
2308 Add accessors for data
2310 2007-09-13 Alexander Larsson <alexl@redhat.com>
2312 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2313 Don't crash if length is NULL