1 2007-12-14 Alexander Larsson <alexl@redhat.com>
6 2007-12-14 Alexander Larsson <alexl@redhat.com>
10 * gfileattribute.[ch]:
13 * glocalfileoutputstream.c:
14 * gmountoperation.[ch]:
16 Clean up all flags enums to not have _FLAGS in them
17 Make the names of some of the enums better.
22 2007-12-14 Michael Natterer <mitch@imendio.com>
24 * gio.symbols: fix g_io_scheduler symbol names.
26 2007-12-14 Alexander Larsson <alexl@redhat.com>
32 * gbufferedinputstream.h:
33 * gbufferedoutputstream.h:
37 * gdataoutputstream.h:
39 * gdirectorymonitor.h:
48 * gfilenamecompleter.h:
49 * gfileoutputstream.h:
50 * gfilterinputstream.h:
51 * gfilteroutputstream.h:
59 * gmemoryinputstream.h:
60 * gmemoryoutputstream.h:
65 * gsimpleasyncresult.h:
69 * gunixoutputstream.h:
73 * inotify/Makefile.am:
74 Only allow including <gio/gio.h> from apps
76 2007-12-14 Alexander Larsson <alexl@redhat.com>
79 * gsimpleasyncresult.c:
80 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
81 Split out the send_to_mainloop call into two versions instead
82 of having the block argument.
84 2007-12-13 Alexander Larsson <alexl@redhat.com>
88 * gbufferedinputstream.c:
91 * gfileoutputstream.c:
95 g_push/pop_current_cancellable ->
96 g_cancellable_push/pop_current
98 2007-12-13 Alexander Larsson <alexl@redhat.com>
102 Rename g_mount_for_location to g_file_mount_enclosing_volume.
104 2007-12-13 Alexander Larsson <alexl@redhat.com>
107 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
109 2007-12-12 Alexander Larsson <alexl@redhat.com>
112 Fix race condition when freeing proxy in
113 g_io_job_send_to_mainloop().
115 2007-12-12 Alexander Larsson <alexl@redhat.com>
121 Make attribute namespace separator "::" instead of ":".
122 Use - instead of _ as separator in attribute names.
124 2007-12-12 Alexander Larsson <alexl@redhat.com>
126 * gbufferedinputstream.h:
127 * gbufferedoutputstream.h:
128 * gdatainputstream.h:
129 * gdataoutputstream.h:
130 * gdirectorymonitor.h:
132 * gfileinputstream.h:
134 * gfileoutputstream.h:
135 * gfilterinputstream.h:
136 * gfilteroutputstream.h:
138 * glocalfileinputstream.h:
139 * glocalfileoutputstream.h:
140 * gmemoryinputstream.h:
141 * gmemoryoutputstream.h:
142 * gnativevolumemonitor.h:
144 * gunixinputstream.h:
145 * gunixoutputstream.h:
148 s/parent/parent_instance/ in GObjects
150 2007-12-12 Alexander Larsson <alexl@redhat.com>
155 No need for padding for interfaces
157 2007-12-12 Alexander Larsson <alexl@redhat.com>
161 * gbufferedinputstream.c:
162 * gbufferedoutputstream.c:
165 * gdatainputstream.[ch]:
167 * gdirectorymonitor.c:
169 * gfileattribute.[ch]:
172 * gfileinputstream.h:
174 * gfileoutputstream.[ch]:
175 * gfilterinputstream.h:
176 * gfilteroutputstream.h:
179 * gloadableicon.[ch]:
180 * gmemoryinputstream.c:
183 Fix up a bunch of details in the docs.
188 2007-12-11 David Zeuthen <davidz@redhat.com>
190 Rework how volumes, drives and volume monitoring is
191 done. Previosly the model was
195 where a GDrive instance represented a mount point and a GVolume
196 instance represented a mounted file system. This patch changes it
199 GDrive <1-N> GVolume <1-1> GMount
201 where GMount now serves the purpose of the old GVolume and the new
202 GVolume serves the purpose of the old GDrive. In addition the new
203 GDrive interface is used to represent a collection of GVolume
204 instances (typically partitions) and also contains utility to query
205 the state of the physical drive the GDrive object represents (such
206 as checking for media, polling the drive, ejecting the media etc.).
208 Also implement mounting and unmounting in the Unix volume monitor
209 backend. A subquent patch will introduce GDrive support for ejection
213 * gdrive.c: (g_drive_is_media_check_automatic),
214 (g_drive_is_media_removable), (g_drive_has_media),
215 (g_drive_can_poll_for_media), (g_drive_eject),
216 (g_drive_eject_finish), (g_drive_poll_for_media),
217 (g_drive_poll_for_media_finish):
219 * gfile.c: (g_file_find_enclosing_mount):
222 * glocaldirectorymonitor.c:
223 (g_local_directory_monitor_constructor), (mounts_changed):
224 * glocalfile.c: (get_mount_info),
225 (g_local_file_find_enclosing_mount),
226 (g_local_file_file_iface_init):
227 * gnativevolumemonitor.h:
228 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
229 (get_connected_drives), (g_union_volume_monitor_class_init),
230 (child_volume_added), (child_volume_removed),
231 (child_volume_changed), (child_mount_added), (child_mount_removed),
232 (child_mount_pre_unmount), (child_mount_changed),
233 (child_drive_changed), (g_union_volume_monitor_add_monitor),
234 (g_union_volume_monitor_remove_monitor),
235 (_g_mount_get_for_mount_path):
236 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
237 (guess_system_internal), (_g_get_unix_mounts),
238 (_g_get_unix_mount_points), (g_get_unix_mount_at),
239 (g_unix_mount_free), (g_unix_mount_compare),
240 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
241 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
242 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
243 (type_to_icon), (g_unix_mount_guess_name),
244 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
245 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
246 (_resolve_symlink), (_resolve_dev_root):
248 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
249 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
250 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
251 (g_unix_volume_get_name), (g_unix_volume_can_mount),
252 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
253 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
254 (g_unix_volume_mount), (g_unix_volume_mount_finish),
255 (g_unix_volume_volume_iface_init):
257 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
258 (get_mounts), (get_volumes), (get_connected_drives),
259 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
260 (mountpoints_changed), (mounts_changed),
261 (g_unix_volume_monitor_init),
262 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
263 (find_mount_by_mountpath), (update_volumes), (update_mounts):
264 * gunixvolumemonitor.h:
265 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
266 (g_volume_mount), (g_volume_mount_finish):
268 * gvolumemonitor.c: (g_volume_monitor_class_init),
269 (g_volume_monitor_get_connected_drives),
270 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
273 2007-12-10 Matthias Clasen <mclasen@redhat.com>
275 * gmountoperation.h (GPasswordFlags): Close the gap
277 2007-12-10 Matthias Clasen <mclasen@redhat.com>
279 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
281 * gdesktopappinfo.[hc]: Remove _-prefixes
283 2007-12-10 Tor Lillqvist <tml@novell.com>
285 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
288 2007-12-10 Alexander Larsson <alexl@redhat.com>
290 * gfile.c (g_file_set_display_name):
291 Don't hardcode '/' (#502727)
293 2007-12-09 Hans Breuer <hans@breuer.org>
295 * makefile.msc : follow lib naming convention
296 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
297 for user and group name, tested with ../tests/gio-ls
299 2007-12-09 A. Walton <awalton@svn.gnome.org>
312 * gmemoryinputstream.c:
313 * gmemoryoutputstream.c:
315 * gsimpleasyncresult.c:
316 More documentation cleanup and filling in missing information, bringing
317 GIO to 99% symbol coverage.
319 2007-12-08 Hans Breuer <hans@breuer.org>
321 [gio compiles and links on win32, not sure how much already works]
322 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
323 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
324 base on win32 API; prefer g_lstat() over lstat(); instead of
325 localtime_r() use an all GLib implementation on win32;
326 get_mount_info() still needs a win32 specifc implementation
327 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
328 win32_get_file_user_info to get owner/group info without uid/gid
329 * glocalfileinputstream.c : include <io.h> on win32
330 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
331 definition, use g_win32_ftruncate() for G_OS_WIN32
332 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
333 it is available with mingw/w32api but a mess with the M$ Platform SDKs
334 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
335 * makefile.msc : updated
337 2007-12-07 Alexander Larsson <alexl@redhat.com>
339 * glocalfileenumerator.c (_g_local_file_enumerator_new):
340 Avoid warning spew if error == NULL
342 2007-12-07 Alexander Larsson <alexl@redhat.com>
345 Update docs wrt etags
347 2007-12-06 Alexander Larsson <alexl@redhat.com>
350 Include sys/types.h for dev_t (#501919)
352 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
356 Make abicheck and pltcheck pass.
358 2007-12-05 Alexander Larsson <alexl@redhat.com>
361 * giomodule-priv.h: Added.
362 * glocaldirectorymonitor.c:
363 * glocalfilemonitor.c:
364 * gunionvolumemonitor.c:
366 Actually add the declaration of _g_io_modules_ensure_loaded
368 2007-12-05 Alexander Larsson <alexl@redhat.com>
370 * gdatainputstream.c:
375 * glocaldirectorymonitor.c:
376 * glocalfilemonitor.c:
377 * gunionvolumemonitor.c:
379 Make g_io_modules_ensure_loaded a private function and
380 don't pass in the dirname. This means we can do magic
381 directory finding in the win32 version.
382 Export the actual load-modules-in-directory code so that
385 2007-12-05 Alexander Larsson <alexl@redhat.com>
387 * gbufferedinputstream.c:
388 * gbufferedoutputstream.c:
391 * gfileenumerator.[ch]:
392 * gfileinputstream.c:
393 * gfileoutputstream.[ch]:
394 * gfilterinputstream.c:
395 * gfilteroutputstream.c:
398 * glocalfileenumerator.c:
399 * glocalfileinputstream.c:
400 * glocalfileoutputstream.c:
401 * gmemoryinputstream.c:
402 * gmemoryoutputstream.c:
403 * goutputstream.[ch]:
406 * gunixinputstream.c:
407 * gunixoutputstream.c:
408 Rename all struct members named:
409 read, write, close, truncate, or mount
410 to foo_fn, as these are reserved names
411 and could be defined as macros in libc.
414 2007-12-04 Alexander Larsson <alexl@redhat.com>
417 (g_output_stream_close):
418 Only call flush if non-null.
420 2007-11-30 Dan Winship <danw@gnome.org>
422 * ginputstream.c (g_input_stream_set_pending): Make this take a
423 GError and return a gboolean, and do the "outstanding operation"
424 check (and the "stream is already closed" check) itself.
425 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
427 * goutputstream.c (g_output_stream_set_pending)
428 (g_output_stream_clear_pending): Likewise
430 * gbufferedinputstream.c:
431 * gfileinputstream.c:
432 * gfileoutputstream.c: Update for that
434 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
435 Like g_simple_async_report_error_in_idle, but takes a GError
436 rather than building one.
438 2007-11-30 Dan Winship <danw@gnome.org>
440 * goutputstream.c: Don't cheat and unset the "pending" flag around
441 inner calls. Instead, call the class method directly rather than
442 the wrapper function that checks "pending"
444 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
446 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
448 2007-12-03 Hans Breuer <hans@breuer.org>
450 [start of port to win32/msvc]
451 * gcancellable.c : HAVE_UNIST_H and _pipe()
452 * gcontenttype.c : only include <dirent.h> in the UNIX branch
453 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
454 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
456 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
457 * glocalvfs.c : use HAVE_PWD_H
458 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
459 * makefile.msc : new file (maybe later converted to makefile.msc.in)
460 * Makefile.am : added to EXTRA_DIST
462 2007-12-03 Matthias Clasen <mclasen@redhat.com>
464 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
467 2007-12-03 Alexander Larsson <alexl@redhat.com>
470 Handle OSX style xattrs API (#500506)
472 2007-12-03 Alexander Larsson <alexl@redhat.com>
476 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
478 2007-12-02 A. Walton <awalton@svn.gnome.org>
482 Documentation accuracy fixes.
484 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
486 * gioenumtypes.c.template: Fix typo.
488 2007-12-01 Matthias Clasen <mclasen@redhat.com>
490 * gioenumtypes.c.template: Make threadsafe get_type() functions.
492 2007-12-01 Matthias Clasen <mclasen@redhat.com>
494 * gdirectorymonitor.c:
495 * gfilemonitor.c: Add properties
497 * gbufferedoutputstream.c: Don't mark buffer-size property
500 2007-12-01 Matthias Clasen <mclasen@redhat.com>
502 * gbufferedoutputstream.c: Add auto-grow property.
504 2007-11-30 Matthias Clasen <mclasen@redhat.com>
506 * *.c: Unify the capitalization of section headings.
508 2007-11-30 Matthias Clasen <mclasen@redhat.com>
510 * gmountoperation.c: Add properties
512 * gdatainputstream.c: Turn byte-order and newline-type into
515 2007-11-30 Matthias Clasen <mclasen@redhat.com>
517 * gioenumtypes.[hc].template: Templates for enum registration
519 * Makefile.am: Generate gioenumtypes.[hc]
521 * gio.h: Include gioenumtypes.h
523 * gfile.h: Add some explicit nicks.
525 * gio.symbols: Add new symbols
527 * pltcheck.sh: Adjust
529 2007-11-30 Matthias Clasen <mclasen@redhat.com>
531 * *.c: Explain etags and link to the explanation
533 2007-11-29 Matthias Clasen <mclasen@redhat.com>
535 * *.c: Explain I/O priority.
537 * *.c: More coding style fixes.
539 2007-11-29 Matthias Clasen <mclasen@redhat.com>
541 * gasyncresult.c: Add another paragraph to the intro,
542 adjust coding style of example.
544 2007-11-29 A. Walton <awalton@svn.gnome.org>
547 Fixes unknown meaning in GAppLaunchContext docs.
549 Clarify asynchronous ops.
554 Provides missing gtk-doc section, fixes API docs slighly.
555 * gsimpleasyncresult.c:
556 Fill in missing info in docs.
557 * gunixinputstream.c:
558 * gunixoutputstream.c:
559 Be more expressive in short description.
561 Remove gtk-doc stubs for non-public API.
563 2007-11-28 Matthias Clasen <mclasen@redhat.com>
565 * *.c: Coding style fixups
567 2007-11-28 Matthias Clasen <mclasen@redhat.com>
569 * inotify/inotify-helper.c: Don't export the lock from libgio.
571 2007-11-28 Matthias Clasen <mclasen@redhat.com>
574 * abicheck.sh: Fix copy-and-paste leftovers
576 2007-11-28 Matthias Clasen <mclasen@redhat.com>
578 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
580 2007-11-28 Alexander Larsson <alexl@redhat.com>
584 Removed unnecessary file
586 * gdesktopappinfo.[ch]:
589 * glocaldirectorymonitor.[ch]:
591 * glocalfileenumerator.[ch]:
592 * glocalfileinputstream.[ch]:
593 * glocalfilemonitor.[ch]:
594 * glocalfileoutputstream.[ch]:
596 * gnativevolumemonitor.c:
597 * gpollfilemonitor.[ch]:
598 * gunionvolumemonitor.[ch]:
601 * gunixvolumemonitor.[ch]:
604 * inotify/ginotifydirectorymonitor.[ch]:
605 * inotify/ginotifyfilemonitor.[ch]:
606 * inotify/inotify-helper.c:
607 Append _ to all internal functions
611 Export symbols needed for modules
613 2007-11-28 Alexander Larsson <alexl@redhat.com>
616 * abicheck.sh: Added.
617 * makegioalias.pl: Added.
618 * pltcheck.sh: Added.
619 * gio.symbols: Added.
622 Initial work on adding symbol handling.
625 Correct ifdef guard name
628 * inotify/Makefile.am:
629 * xdgmime/Makefile.am:
630 Include toplevel Makefile.decl
632 2007-11-27 Matthias Clasen <mclasen@redhat.com>
634 * gcontenttype.c: Move doc comments to the unix section.
636 * *.[hc]: More trivial doc corrections.
638 2007-11-27 Matthias Clasen <mclasen@redhat.com>
640 * gpollfilemonitor.c:
649 * gdatainputstream.c:
650 * gdatainputstream.h:
651 * gdataoutputstream.c:
652 * gdataoutputstream.h:
653 * gfileinfo.h: Doc cleanups
655 2007-11-28 Andre Klapper <a9016009@gmx.de>
657 * gdesktopappinfo.c: Fix a typo.
659 2007-11-27 Andre Klapper <a9016009@gmx.de>
661 * glocalfileoutputstream.c: Fix a typo.
663 2007-11-27 Alexander Larsson <alexl@redhat.com>
666 Don't include removed headers
668 2007-11-27 Alexander Larsson <alexl@redhat.com>
671 * gsocketinputstream.[ch]: Removed.
672 * gsocketoutputstream.[ch]: Removed.
673 * gunixinputstream.[ch]: Added.
674 * gunixoutputstream.[ch]: Added.
675 Renamed GSocket*Stream to GUnix*Stream and made
676 it unix-only, since its not really only for sockets
677 and it only works on unix (but is highly useful there).
679 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
685 * gbufferedinputstream.c:
686 * gbufferedinputstream.h:
687 * gbufferedoutputstream.c:
688 * gbufferedoutputstream.h:
692 * gdatainputstream.c:
693 * gdatainputstream.h:
694 * gdataoutputstream.c:
695 * gdataoutputstream.h:
696 * gdirectorymonitor.c:
697 * gdirectorymonitor.h:
710 * gfileinputstream.c:
711 * gfileinputstream.h:
714 * gfilenamecompleter.c:
715 * gfilenamecompleter.h:
716 * gfileoutputstream.c:
717 * gfileoutputstream.h:
718 * gfilterinputstream.c:
719 * gfilterinputstream.h:
720 * gfilteroutputstream.c:
721 * gfilteroutputstream.h:
734 * glocalfileoutputstream.c:
735 * gmemoryinputstream.c:
736 * gmemoryinputstream.h:
737 * gmemoryoutputstream.c:
738 * gmemoryoutputstream.h:
743 * gpollfilemonitor.c:
746 * gsimpleasyncresult.c:
747 * gsimpleasyncresult.h:
748 * gsocketinputstream.c:
749 * gsocketinputstream.h:
750 * gsocketoutputstream.c:
751 * gsocketoutputstream.h:
758 * gunixvolumemonitor.c:
767 Bumps documentation to 93% symbol coverage, touching most
768 of the public files. Fixes broken function documentation prototypes.
769 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
770 gtk-doc headers in private files.
772 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
774 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
775 (g_buffered_input_stream_read_byte):
776 * gbufferedinputstream.h:
777 New functions for efficient access to buffer and simple single byte
780 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
781 (g_data_input_stream_read_until):
782 * gdatainputstream.h:
783 Use peek_buffer to avoid memcpy in scan_for_newline, implement
784 read_until with multiple stop chars.
786 2007-11-27 Alexander Larsson <alexl@redhat.com>
790 * inotify/Makefile.am:
791 Use the user-specified giomoduledir
793 2007-11-27 Alexander Larsson <alexl@redhat.com>
797 Add catch-all gio.h header
798 Don't install gdummyfile.h
800 2007-11-26 Alexander Larsson <alexl@redhat.com>
802 * Makefile.am (gioinclude_HEADERS):
803 Remove trailing whitespace
805 2007-11-26 Alexander Larsson <alexl@redhat.com>
807 Merge gio-standalone into glib
809 2007-11-25 Christian Kellner <gicmo@gnome.org>
811 * gio/goutputstream.c:
812 Fix small mistake in the docs.
814 2007-11-21 Christian Persch <chpe@gnome.org>
816 * gio/glocalfile.c: (g_local_file_trash):
817 Convert filenames to UTF-8 for GError.
818 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
819 as per xdg base dir spec.
821 2007-11-21 Christian Persch <chpe@gnome.org>
823 * gio/gdesktopappinfo.c:
824 Use that g_key_file_to_data cannot fail.
826 Use stock defines for the key file group and key names.
829 2007-11-21 Alexander Larsson <alexl@redhat.com>
832 (copy_stream_with_progress):
833 Make sure we do a final progress callback with
836 2007-11-21 Alexander Larsson <alexl@redhat.com>
839 Export g_file_copy_attributes
840 Remove padding as its not needed for interfaces
842 2007-11-20 Alexander Larsson <alexl@redhat.com>
847 Add G_IO_ERROR_WOULD_MERGE for
848 copy/move dir on dir with overwrite.
850 2007-11-20 Alexander Larsson <alexl@redhat.com>
853 * gio/glocalfileinfo.c:
854 Add COPY_NAME (this is an optional
855 non-modified utf8 version of the name) that
858 2007-11-20 Alexander Larsson <alexl@redhat.com>
860 * gio/glocalfileenumerator.c:
861 Report errors as GIOError, not GFileError
863 2007-11-16 Alexander Larsson <alexl@redhat.com>
865 * gio/glocalfileoutputstream.c:
866 * gio/gwin32appinfo.c:
867 Fix typos in strings.
868 Patch from Luca Ferretti <elle.uca@libero.it>
870 2007-11-15 Alexander Larsson <alexl@redhat.com>
873 Post release version bump
875 === gio-standalone 0.1.2 ===
877 2007-11-15 Alexander Larsson <alexl@redhat.com>
879 * docs/reference/gio/Makefile.am:
880 Fix up distcheck by removing weird
886 2007-11-14 Alexander Larsson <alexl@redhat.com>
888 * gio/gdesktopappinfo.c:
889 * gio/glocaldirectorymonitor.c:
891 * gio/glocalfileinfo.c:
892 * gio/inotify/inotify-sub.c:
893 * programs/gio-cat.c:
894 * programs/gio-copy.c:
895 * programs/gio-info.c:
897 * programs/gio-monitor-dir.c:
898 * programs/gio-monitor-file.c:
899 * programs/gio-mount.c:
900 * programs/gio-move.c:
902 * programs/gio-save.c:
903 * programs/gio-trash.c:
904 Leak fixes from Kjartan Maraas
906 2007-11-14 Alexander Larsson <alexl@redhat.com>
908 * gio/fam/fam-helper.c:
910 * gio/glocalfileinfo.c:
914 * gio/inotify/inotify-diag.c:
915 * gio/inotify/inotify-kernel.c:
916 Various code cleanups from Kjartan Maraas
918 2007-11-14 Alexander Larsson <alexl@redhat.com>
920 * gio/gioscheduler.c:
922 Set up threadpool so that we cache 2 unused
923 idle threads for at 15 secs. This means we
924 will reuse thread-local data (like dbus connections)
927 2007-11-14 Alexander Larsson <alexl@redhat.com>
929 * gio/fam/fam-helper.c:
930 * gio/fam/gfamdirectorymonitor.c:
931 * gio/fam/gfamfilemonitor.c:
933 * gio/gcontenttype.c:
934 * gio/gdatainputstream.c:
935 * gio/gdataoutputstream.c:
939 * gio/gfileattribute.h:
940 * gio/gfileenumerator.c:
942 * gio/ginputstream.c:
945 * gio/glocalfileinfo.c:
946 * gio/goutputstream.c:
947 * gio/gpollfilemonitor.c:
948 * gio/gsimpleasyncresult.c:
951 * gio/inotify/ginotifydirectorymonitor.c:
952 * gio/inotify/ginotifyfilemonitor.c:
953 * gio/inotify/inotify-diag.c:
954 * gio/inotify/inotify-kernel.c:
955 * gio/inotify/inotify-path.c:
957 * gio/test-streams.c:
958 * programs/gio-info.c:
959 * programs/gio-monitor-dir.c:
960 * programs/gio-monitor-file.c:
961 Various code cleanups from Kjartan Maraas
963 2007-11-13 Alexander Larsson <alexl@redhat.com>
966 Handle the uri-scheme calls for dummy files
968 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
970 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
971 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
972 to avoid clash with the C++ keyword.
974 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
976 * gio/glocalfileinfo.c: Build fix, added missing semicolon
977 to an ifdef'ed call to getpwuid() in lookup_uid_data().
979 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
981 * gio/glocaldirectorymonitor.c:
982 * gio/glocalfilemonitor.c:
983 * gio/gunionvolumemonitor.c:
984 Don't use g_once_init_*() for initializations that could fail and
985 could leave the initialization variable set to 0 but use GOnce.
986 This prevents a deadlock on the second call when trying to create
987 a monitor and no monitor type is available. Thanks to Sven Herzberg
990 2007-11-11 Sven Herzberg <sven@imendio.com>
992 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
993 #ifdef (make it work on MacOS X again)
995 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
997 Fixes Changelog for last two commits (sorry guys).
999 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1001 * gio/gbufferedinputstream.c:
1002 * gio/gdatainputstream.c:
1004 * gio/gfileoutputstream.c:
1005 * gio/gfilterinputstream.c:
1006 * gio/glocalfileinputstream.c:
1009 More consistency fixes in g*stream.c files.
1010 Significant clean of gfile's documentation, filling in of
1011 asynchronous operations documentation.
1013 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1015 * gio/gasyncresult.c:
1016 * gio/gbufferedinputstream.c:
1017 * gio/gbufferedoutputstream.c:
1018 * gio/gcancellable.c:
1019 * gio/gcontenttype.c:
1020 * gio/gdatainputstream.c:
1021 * gio/gdataoutputstream.c:
1022 * gio/gdesktopappinfo.c:
1025 * gio/gfileattribute.c:
1026 * gio/gio/gfileenumerator.c:
1028 * gio/gfileinputstream.c:
1029 * gio/gfilemonitor.c:
1030 * gio/gfileoutputstream.c:
1031 * gio/ginputstream.c:
1033 * gio/gioscheduler.c:
1034 * gio/gloadableicon.c:
1035 * gio/glocalfileoutputstream.c:
1036 * gio/gmemoryoutputstream.c:
1037 * gio/gmountoperation.c:
1038 * gio/goutputstream.c:
1040 * gio/gsimpleasyncresult.c:
1041 * gio/gunionvolumemonitor.c:
1042 * gio/gunixmounts.c:
1043 * gio/gunixvolume.c:
1047 * gio/gvolumemonitor.c:
1048 Updated documentation stubs, working towards consistency and
1051 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1053 * gio/gmemoryoutputstream.c:
1054 * gio/gmemoryoutputstream.h:
1055 Change g_memory_output_stream_set_free_on_close() to
1056 g_memory_output_stream_set_free_data() as this makes more sense and
1057 is more consistent with GMemoryInputStream.
1059 2007-11-07 Alexander Larsson <alexl@redhat.com>
1066 Change how we find the default vfs so that
1067 we can handle a gvfs failing to init
1069 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1071 * gio/gbufferedoutputstream.c:
1072 * gio/gdatainputstream.c:
1073 * gio/gdataoutputstream.c:
1074 * gio/gfileinputstream.c:
1075 * gio/gfileoutputstream.c:
1076 * gio/gfilterinputstream.c:
1077 * gio/gfilteroutputstream.c:
1078 * gio/ginputstream.c:
1079 * gio/gmemoryinputstream.c:
1080 * gio/gmemoryoutputstream.c:
1081 * gio/goutputstream.c:
1082 * gio/gsimpleasyncresult.c:
1083 * gio/gsocketinputstream.c:
1084 * gio/gsocketoutputstream.c:
1085 Add guards to the remaining public functions, add a TODO for
1086 an unimplemented function and remove some useless guards.
1088 2007-11-07 Alexander Larsson <alexl@redhat.com>
1091 Autoconf checks for the various types of
1092 getpwuid_r and getgrgid_r
1094 * gio/glocalfileinfo.c:
1095 Use the autoconf checks from above
1097 2007-11-07 Alexander Larsson <alexl@redhat.com>
1100 (g_local_file_query_filesystem_info):
1101 Some fixes for the statvfs case
1103 2007-11-07 Alexander Larsson <alexl@redhat.com>
1106 (g_local_file_query_filesystem_info):
1107 Pick the "best" of statfs / statvfs for the system
1108 if both are availible.
1110 2007-11-07 Alexander Larsson <alexl@redhat.com>
1112 Solaris fixes from Halton.Huo@Sun.COM:
1119 * gio/glocalfileinfo.c:
1120 Fix for solaris definition of getpwuid_r
1122 * gio/test-streams.c:
1123 Use G_GNUC_PRETTY_FUNCTION
1125 2007-11-07 Alexander Larsson <alexl@redhat.com>
1127 * gio/gdesktopappinfo.c:
1128 (update_default_list):
1129 Remove double semicolon.
1130 Patch from Jens Granseuer
1132 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1134 * docs/reference/gio/gio-sections.txt:
1135 * gio/gbufferedinputstream.c:
1136 * gio/gbufferedinputstream.h:
1137 * gio/gdatainputstream.c:
1138 * gio/gfileenumerator.c:
1139 * gio/gioscheduler.c:
1140 * gio/gunionvolumemonitor.c:
1142 * programs/gio-save.c:
1143 Fix typo: availible -> available. Unfortuntely this breaks API
1144 and ABI as g_buffered_input_stream_get_available() was renamed.
1146 * gio/gunixmounts.c:
1147 * gio/gbufferedinputstream.c:
1148 Add guards for public functions.
1150 2007-11-06 Ross Burton <ross@openedhand.com>
1152 * docs/reference/gio/Makefile.am:
1153 Fix invalid += usage which automake 1.10 doesn't like.
1155 2007-11-06 Alexander Larsson <alexl@redhat.com>
1158 (g_app_launch_context_class_init):
1161 Patch from Ross Burton
1163 2007-11-06 Alexander Larsson <alexl@redhat.com>
1166 Post release version bump
1168 === gio-standalone 0.1.1 ===
1170 2007-11-06 Alexander Larsson <alexl@redhat.com>
1173 Bump version to 0.1.1
1175 * gio/gsimpleasyncresult.c:
1176 (g_simple_async_result_set_from_error):
1177 Remove bogus g_return_if_fail
1179 2007-11-06 Alexander Larsson <alexl@redhat.com>
1182 The name is gio-standalone
1185 Add top src/builddir to includedir
1187 2007-11-06 Alexander Larsson <alexl@redhat.com>
1189 * docs/reference/gio/gio-sections.txt:
1191 * gio/gbufferedinputstream.c:
1192 * gio/gbufferedoutputstream.c:
1193 * gio/gcancellable.c:
1194 * gio/gdatainputstream.h:
1195 * gio/gdataoutputstream.c:
1196 * gio/gdataoutputstream.h:
1197 * gio/gdirectorymonitor.c:
1199 * gio/gfileattribute.c:
1200 * gio/gfileattribute.h:
1201 * gio/gfileenumerator.c:
1202 * gio/gfileenumerator.h:
1205 * gio/gfileinputstream.h:
1206 * gio/gfilemonitor.c:
1207 * gio/gfileoutputstream.h:
1208 * gio/glocalfilemonitor.h:
1209 * gio/glocalfileoutputstream.h:
1210 * gio/gmemoryinputstream.c:
1211 * gio/gmemoryoutputstream.c:
1212 * gio/gmountoperation.c:
1213 * gio/goutputstream.c:
1214 * gio/goutputstream.h:
1216 * gio/gsimpleasyncresult.c:
1217 * gio/gunixmounts.c:
1218 * gio/gunixmounts.h:
1220 * gio/inotify/inotify-helper.c:
1221 Fix gtk-doc warnings
1223 Patch from Ross Burton
1225 2007-11-06 Alexander Larsson <alexl@redhat.com>
1227 * gio/gfilenamecompleter.c:
1228 (g_filename_completer_get_completions):
1231 * gio/gunixvolume.c:
1232 Remove unused function
1234 Patches from Ross Burton
1236 2007-11-06 Alexander Larsson <alexl@redhat.com>
1241 Padding not needed for interfaces
1243 2007-11-06 Alexander Larsson <alexl@redhat.com>
1245 * gio/gfilemonitor.c:
1249 Make giotypes.h an internal file
1252 * gio/gbufferedinputstream.h:
1253 * gio/gbufferedoutputstream.h:
1254 * gio/gcancellable.h:
1255 * gio/gdatainputstream.h:
1256 * gio/gdataoutputstream.h:
1257 * gio/gdirectorymonitor.c:
1258 * gio/gdirectorymonitor.h:
1263 * gio/gfileattribute.h:
1264 * gio/gfileenumerator.h:
1269 * gio/gfilemonitor.c:
1270 * gio/gfilemonitor.h:
1271 * gio/gfilenamecompleter.c:
1272 * gio/gfilenamecompleter.h:
1273 * gio/gfilterinputstream.h:
1274 * gio/gfilteroutputstream.h:
1275 * gio/ginputstream.h:
1276 * gio/gmemoryinputstream.h:
1277 * gio/gmemoryoutputstream.h:
1278 * gio/gmountoperation.c:
1279 * gio/gmountoperation.h:
1280 * gio/gnativevolumemonitor.c:
1281 * gio/goutputstream.h:
1284 * gio/gsimpleasyncresult.c:
1285 * gio/gsimpleasyncresult.h:
1286 * gio/gsocketinputstream.h:
1287 * gio/gsocketoutputstream.h:
1288 * gio/gthemedicon.c:
1289 * gio/gthemedicon.h:
1293 * gio/gvolumemonitor.c:
1294 * gio/gvolumemonitor.h:
1295 Add padding in classes where it seems useful
1296 Don't include giotypes.h from public headers
1297 Move in Class definitions into c file where possible
1302 2007-11-06 Alexander Larsson <alexl@redhat.com>
1304 * docs/reference/gio/gio-docs.xml:
1305 Better structure for API docs
1307 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1310 * gio/gloadableicon.c:
1311 * gio/gsimpleasyncresult.c:
1312 * gio/gthemedicon.c:
1313 Add some more guards to public functions. Only files missing are now
1316 2007-11-06 Alexander Larsson <alexl@redhat.com>
1318 * docs/reference/gio/gio-docs.xml:
1319 Remove old files, add missing ones
1321 2007-11-06 Alexander Larsson <alexl@redhat.com>
1323 * docs/reference/gio/gio-sections.txt:
1326 Hide implementation classes
1328 * gio/gdriveprivate.h:
1329 * gio/gvolumeprivate.h:
1330 Remove non-existing function declarations
1332 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1335 Fix compilation warnings and add guards to the new functions.
1337 * gio/gasyncresult.c:
1339 Add guards to the public functions.
1342 Implement get_path().
1344 2007-11-06 Alexander Larsson <alexl@redhat.com>
1346 * gio/gfilenamecompleter.c:
1347 Make g_filename_completer_get_completions
1348 return char ** instead of GList for
1351 * docs/reference/gio/gio-docs.xml:
1352 * docs/reference/gio/gio-sections.txt:
1354 * gio/gasyncresult.c:
1355 * gio/gbufferedinputstream.c:
1356 * gio/gbufferedoutputstream.c:
1357 * gio/gcancellable.c:
1358 * gio/gcontenttype.c:
1359 * gio/gdatainputstream.c:
1360 * gio/gdataoutputstream.c:
1361 * gio/gdesktopappinfo.c:
1362 * gio/gdirectorymonitor.c:
1366 * gio/gfileattribute.c:
1367 * gio/gfileenumerator.c:
1370 * gio/gfileinputstream.c:
1371 * gio/gfilemonitor.c:
1372 * gio/gfilenamecompleter.c:
1373 * gio/gfilenamecompleter.h:
1374 * gio/gfileoutputstream.c:
1375 * gio/gfilterinputstream.c:
1377 * gio/ginputstream.c:
1379 * gio/gioscheduler.c:
1380 * gio/gloadableicon.c:
1381 * gio/glocaldirectorymonitor.c:
1383 * gio/glocalfileinputstream.c:
1384 * gio/glocalfilemonitor.c:
1385 * gio/glocalfileoutputstream.c:
1387 * gio/gmemoryinputstream.c:
1388 * gio/gmemoryoutputstream.c:
1389 * gio/gmountoperation.c:
1390 * gio/goutputstream.c:
1391 * gio/gpollfilemonitor.c:
1393 * gio/gsimpleasyncresult.c:
1394 * gio/gsocketinputstream.c:
1395 * gio/gsocketoutputstream.c:
1396 * gio/gthemedicon.c:
1397 * gio/gunionvolumemonitor.c:
1399 * gio/gunixmounts.c:
1400 * gio/gunixvolume.c:
1401 * gio/gunixvolumemonitor.c:
1405 * gio/gvolumemonitor.c:
1406 * gio/gwin32appinfo.c:
1407 Add (mostly stub) doc strings to public functions.
1408 Patch from Andrew Walton (awalton@gmail.com)
1410 2007-11-06 Alexander Larsson <alexl@redhat.com>
1412 * gio/gappinfo.[ch]:
1413 Added GAppLaunchContext object and pass that to launch.
1414 This allows simple implementation of both
1415 launch-on-screen and startup notification via a gtk+
1416 subclass of GAppLaunchContext
1418 * gio/gdesktopappinfo.c:
1419 Implement GAppLaunchContext API
1421 * gio/gwin32appinfo.c:
1424 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1426 * gio/gmountoperation.c:
1427 Add some guards to GMountOperation's public functions.
1429 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1433 * gio/gcancellable.c:
1434 * gio/gdirectorymonitor.c:
1436 * gio/gfileenumerator.c:
1437 * gio/gfilemonitor.c:,
1438 * gio/gfilenamecompleter.c:
1441 * gio/gioscheduler.c:
1445 * gio/gvolumemonitor.c:
1446 Add even more guards to various public functions.
1448 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1451 Add guards to the public functions of GAppInfo.
1453 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1455 * gio/gcontenttype.c:
1456 Add some more guards for public functions.
1458 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1460 * gio/fam/fam-module.c:
1461 * gio/fam/gfamdirectorymonitor.c:
1462 * gio/fam/gfamdirectorymonitor.h:
1463 * gio/fam/gfamfilemonitor.c:
1464 * gio/fam/gfamfilemonitor.h:
1465 * gio/inotify/ginotifydirectorymonitor.c:
1466 * gio/inotify/ginotifydirectorymonitor.h:
1467 * gio/inotify/ginotifyfilemonitor.c:
1468 * gio/inotify/ginotifyfilemonitor.h:
1469 Add proper copyright information and remove an unused variable
1470 in the GInotifyFileMonitor constructor.
1472 * gio/gcancellable.c:
1473 Add a guard for a public function and an assertion to prevent
1474 an undefined program state.
1476 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1478 * gio/gfileattribute.c:
1479 Don't run into an assertion if the given attribute value is NULL
1480 in g_file_attribute_value_get_*() but instead return a fallback
1481 value that makes sense in most situations. Passing them a attribute
1482 value with the wrong type will still run into an assertion.
1484 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1486 * gio/gfileattribute.c:
1488 Add even more guards to the public functions. Also fix the refcounting
1489 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1490 let g_file_info_list_attributes() filter the attributes by namespace
1491 instead of simply ignoring the namespace parameter.
1493 2007-11-03 Sven Herzberg <sven@imendio.com>
1495 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1496 (This makes gio work on MacOS X again)
1498 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1501 Build the gio subdirectory before the docs. Otherwise the build will
1504 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1505 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1506 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1507 Add guards to the public functions.
1509 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1511 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1512 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1513 to prevent a compiler warning.
1515 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1516 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1517 return something in the non-void function find_topdir_for().
1519 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1526 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1528 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1529 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1530 * gwin32appinfo.c (g_win32_app_info_launch):
1531 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1532 envp_for_startup_id, g_desktop_app_info_launch,
1533 g_desktop_app_info_launch_uris):
1535 Give an opaque 'startup_id' string instead of 'envp'.
1536 Support empty file lists for launching new windows.
1537 Fix infinite recursion bug when launching URIs.
1539 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1542 Add guard to the new g_file_get_uri_scheme() function.
1544 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1547 Convert a g_return_val_if_fail() to setting the GError instead as
1548 otherwise applications have to verify the parameter before otherwise
1549 and the parameter might come directly from the user.
1551 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1553 * gio/inotify/ginotify*.[ch]:
1554 Add missing copyright information.
1556 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1559 Add guards in the beginning of public functions to check for valid
1560 parameters and fix a bug in copy_stream_with_progress() that could've
1561 caused writing less bytes than reading.
1562 * gio/glocalfileinfo.c:
1563 Check for a NULL parameter and set the GError accordingly then.
1564 * gio/goutputstream.c:
1565 Fix the same bug as in gfile.c that could've caused writing less bytes
1566 than reading in g_output_stream_real_splice().
1568 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1571 Use the correct gvolumeprivate.h naming
1573 2007-11-01 Christian Kellner <gicmo@gnome.org>
1576 Remove leftover "$(daemon_sources)" entry.
1578 2007-11-01 Christian Kellner <gicmo@gnome.org>
1583 Add copyright information to source files.
1585 2007-11-01 Alexander Larsson <alexl@redhat.com>
1589 Add g_file_get_uri_scheme
1591 2007-11-01 Alexander Larsson <alexl@redhat.com>
1594 * gio/gdesktopappinfo.c:
1595 * gio/gwin32appinfo.c:
1596 Add g_app_info_get_default_for_uri_scheme.
1598 2007-11-01 Alexander Larsson <alexl@redhat.com>
1601 Correct filename for gdriveprivate.h
1603 2007-10-31 Alexander Larsson <alexl@redhat.com>
1606 Rename id:value to id:file
1609 * gio/glocalfileinfo.c:
1612 2007-10-31 Alexander Larsson <alexl@redhat.com>
1614 * gio/gunixvolume.c:
1616 Remove g_volume_get_platform_id, as thats not
1617 needed with the simpler union volume monitor
1619 2007-10-31 Alexander Larsson <alexl@redhat.com>
1622 * gio/guniondrive.[ch]: Removed.
1623 * gio/gunionvolume.[ch]: Removed.
1624 Remove GUnionDrive/Volume
1626 * gio/gunionvolumemonitor.c:
1627 Simplify union volume monitor, now we
1628 only have one native volume monitor and
1629 we use the actual volumes/drives from the
1630 child monitors instead of wrapping them
1632 * gio/gnativevolumemonitor.[ch]:
1633 Base class for native volume monitors.
1634 Includes priority and get_volume_for_mountpoint
1637 Add g_file_find_enclosing_volume
1640 Remove volume name fs attribute
1641 Add readonly fs attribute
1644 Implement readonly attribute
1645 remove volume name attribute
1646 Implement find_enclosing volume
1648 * gio/gunixmounts.c:
1649 Add a volume for "/".
1651 * gio/gunixvolume.[ch]:
1652 Set better name for /
1654 * gio/gunixvolumemonitor.[ch]:
1655 Derive from GNativeVolumeMonitor
1656 Implement get_volume_for_mountpoint
1659 GVolume typedef moved to gfile.h
1661 * gio/gvolumeprivate.h:
1662 Add g_volume_get_for_mount_path
1664 2007-10-31 Alexander Larsson <alexl@redhat.com>
1666 * gio/gunixmounts.[ch]:
1667 Add cache info to unix mount listers
1668 Make getmntent use threadsafe
1669 Add is_system_internal attribute for GUnixMount
1671 * gio/gunixvolume.c:
1672 (g_unix_volume_new):
1673 Use is_system_internal instead of own code
1675 * gio/glocaldirectorymonitor.c:
1676 * gio/gunixvolumemonitor.c:
1677 Update to new gunixmounts API
1682 2007-10-30 Alexander Larsson <alexl@redhat.com>
1685 Add volume name fsinfo attribute
1688 Read volume name info
1690 * gio/gunionvolumemonitor.c:
1691 Fix infinite loops when finalizing a union volume monitor
1693 2007-10-30 Alexander Larsson <alexl@redhat.com>
1695 * gio/goutputstream.[ch]:
1696 Add splice() with default implementation
1698 * gio/gsocketoutputstream.c:
1699 (g_socket_output_stream_write):
1700 Return error on cancellation correctly.
1702 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1704 * gio/glocalfile.c (g_local_file_trash):
1705 Do not leak a string.
1707 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1709 * gio/gfile.c (g_file_load_contents):
1710 Unref the stream after closing it.
1712 2007-10-25 Alexander Larsson <alexl@redhat.com>
1714 * gio/gioscheduler.h:
1717 2007-10-25 Alexander Larsson <alexl@redhat.com>
1721 Add g_file_has_uri_scheme and implement for local files
1723 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1725 * gio/gdesktopappinfo.c: do not leak a string.
1727 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1729 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1730 (g_local_directory_monitor_new):
1731 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1732 (g_local_file_monitor_new):
1733 Only look for the monitor type that should be used the first time
1734 and use g_qsort_with_data() instead of our own bubble sort
1737 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1740 * gio/fam/Makefile.am:
1741 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1742 * gio/fam/fam-helper.h:
1743 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1744 * gio/fam/gfamdirectorymonitor.c:
1745 * gio/fam/gfamdirectorymonitor.h:
1746 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1747 * gio/fam/gfamfilemonitor.h:
1748 * gio/glocaldirectorymonitor.c:
1749 * gio/glocaldirectorymonitor.h:
1750 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1751 * gio/glocalfilemonitor.h:
1752 * gio/inotify/Makefile.am:
1753 * gio/inotify/ginotifydirectorymonitor.c:
1754 * gio/inotify/ginotifydirectorymonitor.h:
1755 * gio/inotify/ginotifyfilemonitor.c:
1756 * gio/inotify/ginotifyfilemonitor.h:
1757 Implement the FAM and Inotify monitors as
1758 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1759 their own GIO module. GLocal(Directory|File)Monitor will use the
1760 monitor with the highest rank that is supported on that machine.
1762 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1765 Change GIO module dir to $(libdir)/gio/modules and change
1766 the log domain from GVFS to GIO. Also only export symbols starting
1767 with g_ in the resulting library.
1768 * gio/test-streams.c: (main):
1769 Set log handler for the GIO log domain.
1771 2007-10-22 Alexander Larsson <alexl@redhat.com>
1773 * gio/gfilenamecompleter.[ch]:
1774 Add g_filename_completer_set_dirs_only
1776 2007-10-22 Alexander Larsson <alexl@redhat.com>
1779 * gio/gurifuncs.[ch]:
1780 Add some simple URI helpers
1782 * gio/gfilenamecompleter.[ch]:
1783 Added object for filename (parse name actually) completion
1786 Handle ~ in parse names
1788 2007-10-17 Alexander Larsson <alexl@redhat.com>
1791 * gio/glocalfileinfo.c:
1792 Add and implement id:value attribute
1794 2007-10-17 Alexander Larsson <alexl@redhat.com>
1797 * gio/guniondrive.c:
1799 Add and implement g_drive_has_volumes
1801 2007-10-17 Alexander Larsson <alexl@redhat.com>
1804 * gio/glocalfileinfo.[ch]:
1805 Add unix:is_mountpoint and implement for local files
1807 2007-10-16 Alexander Larsson <alexl@redhat.com>
1809 * gio/gunionvolumemonitor.c:
1810 (g_union_volume_monitor_init):
1811 Fix up the unix type getting so that it works with gcc
1813 2007-10-12 Alexander Larsson <alexl@redhat.com>
1816 * gio/glocalfileinfo.c:
1817 Add thumbnail:failed to file info
1819 2007-10-12 Richard Hult <richard@imendio.com>
1821 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1822 optimizing away the get_type call (happens with some gcc versions,
1823 like the one shipped with OS X 10.4).
1825 2007-10-12 Alexander Larsson <alexl@redhat.com>
1827 * gio/glocalfileinfo.c:
1828 (_g_local_file_info_set_attribute):
1829 Fix build if not HAVE_XATTR
1830 Patch from Milosz Derezynski <internalerror@gmail.com>
1832 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1834 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1835 around for review, otherwise I would have asked you before
1838 2007-10-11 Alexander Larsson <alexl@redhat.com>
1841 Add thumbnail:path attribute
1843 * gio/glocalfileinfo.c:
1844 Implement thumbnail:path for local files
1846 2007-10-11 Alexander Larsson <alexl@redhat.com>
1848 * gio/glocalfileinfo.c:
1849 (_g_local_file_info_get):
1850 Avoid duplicate icon names
1852 2007-10-11 Alexander Larsson <alexl@redhat.com>
1854 * gio/gthemedicon.[ch]:
1855 Change g_themed_icon_get_names return type to const
1857 2007-10-10 Alexander Larsson <alexl@redhat.com>
1859 * gio/glocalfileinfo.c:
1860 Don't reference freed memory
1862 2007-10-10 Alexander Larsson <alexl@redhat.com>
1864 * gio/gfileattribute.c:
1867 * gio/glocalfileinfo.c:
1870 2007-10-10 Alexander Larsson <alexl@redhat.com>
1873 Check for NULL icons
1875 * gio/gfileattribute.c:
1876 Don't dup when getting objects (same as for string attributes)
1878 * gio/gicon.c (g_icon_equal):
1879 Safely handle NULLs in equal
1881 2007-10-10 Alexander Larsson <alexl@redhat.com>
1884 Fix c++ compilation issues
1885 Patch from Milosz Derezynski <internalerror@gmail.com>
1887 2007-10-10 Alexander Larsson <alexl@redhat.com>
1889 * programs/gio-monitor-dir.c:
1890 Don't crash if dir monitor not supported.
1892 2007-10-09 Alexander Larsson <alexl@redhat.com>
1895 Add missing G_END_DECLS
1897 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1899 * gio/gfile.c: (g_file_set_display_name),
1900 (g_file_query_settable_attributes),
1901 (g_file_query_writable_namespaces):
1902 Return NULL not FALSE on errors as the return type is a pointer.
1904 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1906 * gio/glocalfile.c: (g_local_file_monitor_file):
1907 Don't call monitor_file on the default interface vtable (which
1908 is NULL) but simply return NULL. The caller, GFile, will create a
1909 polling monitor if NULL is returned.
1911 2007-10-09 Alexander Larsson <alexl@redhat.com>
1915 * gio-unix-2.0.pc.in:
1916 Add gio-unix-2.0.pc if OS_UNIX
1919 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1921 2007-10-09 Alexander Larsson <alexl@redhat.com>
1923 * gio/gunixmounts.[ch]:
1924 Make unix mount monitoring API sane.
1925 Now its just a object with mounts_changed
1926 and mountpoints_changed signals.
1928 * gio/glocaldirectorymonitor.c:
1929 * gio/gunixvolumemonitor.c:
1930 Use new mount monitor api
1932 2007-10-09 Alexander Larsson <alexl@redhat.com>
1934 * gio/gunixmounts.[ch]:
1935 Move guess type into one call for mounts and one for mountpoints
1938 * gio/gunixvolume.c:
1941 2007-10-09 Alexander Larsson <alexl@redhat.com>
1943 * gio/gunixmounts.[ch]:
1944 Remove _ prefix in preparation to make this semi-public
1945 Hide implementation of structs
1947 * gio/glocaldirectorymonitor.c:
1949 * gio/gunixvolume.c:
1950 * gio/gunixvolumemonitor.c:
1951 Update for above API changes
1953 2007-10-08 Alexander Larsson <alexl@redhat.com>
1956 Better polling fallback. This also handles the case where we have
1957 a monitor_file implementation, but it fails.
1959 2007-10-08 Alexander Larsson <alexl@redhat.com>
1963 * gio/gunixmounts.c:
1964 * programs/gio-monitor-dir.c:
1965 * programs/gio-monitor-file.c:
1966 Added cancellable to file monitoring calls.
1967 These are really sync calls and need this.
1969 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1971 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1972 (g_local_vfs_class_init):
1973 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1974 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1976 2007-10-05 Alexander Larsson <alexl@redhat.com>
1978 * gio/gdirectorymonitorprivate.h:
1979 * gio/gfilemonitorprivate.h:
1980 * gio/gdirectorymonitor.h:
1981 * gio/gfilemonitor.h:
1982 Remove *private.h and move to the public API, so that
1983 we can do implementations outside gio (such as in gvfs)
1985 * gio/gdirectorymonitor.c:
1986 * gio/gfilemonitor.c:
1987 * gio/glocaldirectorymonitor.c:
1988 * gio/gpollfilemonitor.c:
1989 * gio/inotify/inotify-helper.c:
1990 * gio/fam/fam-helper.c:
1991 Update to the new header names
1993 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
1995 * gio/gdirectorymonitor.c:
1996 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
1999 2007-10-04 Alexander Larsson <alexl@redhat.com>
2001 * gio/glocalfileinfo.c (get_access_rights):
2002 Set CAN_TRASH when we can move the file.
2003 We should really also check for a parent trash dir.
2005 2007-10-04 Alexander Larsson <alexl@redhat.com>
2007 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2008 Add can_trash access attribute
2010 2007-10-04 Alexander Larsson <alexl@redhat.com>
2013 (g_local_file_trash):
2014 Create info file first. This is per-spec and allows
2015 us to actually trash directories.
2017 2007-10-02 Alexander Larsson <alexl@redhat.com>
2019 * gio/gdesktopappinfo.c:
2020 Implement the new mime support code.
2021 Always set app as handling mimetype when being set as default for it
2023 2007-10-01 Alexander Larsson <alexl@redhat.com>
2025 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2026 Fix up check for xattrs:
2028 2007-10-01 Alexander Larsson <alexl@redhat.com>
2031 (g_app_info_set_as_default_for_extension):
2032 (g_app_info_add_supports_type):
2033 (g_app_info_can_remove_supports_type):
2034 (g_app_info_remove_supports_type):
2035 Make these fail nicely if not implemented
2037 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2039 * gio/glocalfileoutputstream.c:
2040 * gio/glocalfileoutputstream.h:
2045 * programs/gio-save.c:
2046 Add a GFileCreateFlags argument to operations that can create
2049 2007-10-01 Alexander Larsson <alexl@redhat.com>
2051 * gio/gappinfo.[ch]:
2052 * gio/gdesktopappinfo.c:
2053 Add more (stubbed out) mime API needed for nautilus
2055 2007-10-01 Alexander Larsson <alexl@redhat.com>
2058 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2059 Add g_app_info_set_as_default_for_extension.
2061 * gio/gdesktopappinfo.c:
2062 Dummy for g_app_info_set_as_default_for_extension
2063 Support flags in g_app_info_create_from_commandline
2065 * gio/gwin32appinfo.c:
2067 Update for API changes
2069 * gio/gthemedicon.c:
2070 Properly NULL-terminate list of icon names
2072 2007-09-28 Alexander Larsson <alexl@redhat.com>
2074 * gio/gloadableicon.h:
2075 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2077 2007-09-28 Alexander Larsson <alexl@redhat.com>
2080 Install headers in $includedir/gio-standalone/
2082 * gio-2.0.pc.in: Added.
2083 * gio-standalone.pc.in: Removed.
2086 Renamed pkg-config file to match glib (for future move)
2087 Update to the new include dir
2090 Add more TODO comments
2092 2007-09-28 Alexander Larsson <alexl@redhat.com>
2094 * gio/gdesktopappinfo.[ch]:
2095 Expose new_from_filename
2096 Add getter for is_hidden and handle it better
2098 2007-09-28 Alexander Larsson <alexl@redhat.com>
2100 * gio/gfileinfo.[ch]:
2101 Rename g_file_size_format_for_display to
2102 g_format_file_size_for_display.
2103 Now it doesn't have the g_file prefix, so we
2104 can later move it to glib.
2106 2007-09-28 Alexander Larsson <alexl@redhat.com>
2108 * gio/gappinfo.[ch]:
2109 Add g_app_info_get_id and g_app_info_get_executable.
2110 Make all getters non-reffing
2111 Make g_app_info_launch take GFile arguments.
2112 Add must_support_uris argument to g_app_info_get_default_for_type.
2114 * gio/gwin32appinfo.c:
2115 Update to GAppInfo api changes
2117 * gio/gdesktopappinfo.c:
2118 Update to GAppInfo api changes
2119 Implement supports_xdg_startup_notify
2121 * gio/gfileicon.c (g_file_icon_get_file):
2122 Make getter non-reffing.
2127 2007-09-27 Alexander Larsson <alexl@redhat.com>
2129 * gio/gfileinfo.[ch]:
2130 Add g_file_size_format_for_display helper
2132 2007-09-27 Alexander Larsson <alexl@redhat.com>
2134 * gio/glocalfileinfo.c:
2135 Set UNIX_GID from gid, not from uid
2137 2007-09-27 Alexander Larsson <alexl@redhat.com>
2140 Add g_file_set_attributes_async
2142 2007-09-27 Alexander Larsson <alexl@redhat.com>
2144 * gio/glocalfile.c (g_local_file_set_display_name):
2145 Fix set_display_name to actually rename to the right place.
2146 Use lstat to look for existing files so we don't overwrite
2149 2007-09-26 Alexander Larsson <alexl@redhat.com>
2152 Add g_file_set_display_name_async()
2154 2007-09-26 Alexander Larsson <alexl@redhat.com>
2157 Add load_partial_contents async calls
2160 Make internal function static
2162 2007-09-26 Alexander Larsson <alexl@redhat.com>
2164 * gio/glocalfileinfo.c:
2165 Correctly detect broken symlinks
2167 2007-09-26 Alexander Larsson <alexl@redhat.com>
2169 * gio/gcancellable.c (g_cancellable_cancel):
2170 Allow cancel on NULL cancellable
2172 2007-09-25 Alexander Larsson <alexl@redhat.com>
2174 * gio/gsimpleasyncresult.c:
2175 Don't allocate g_error manually.
2176 Fixes g_slice/g_new mixup crash
2178 2007-09-25 Alexander Larsson <alexl@redhat.com>
2180 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2181 Actually set active_backend.
2182 This means the monitor will be cancelled correctly.
2184 2007-09-25 Alexander Larsson <alexl@redhat.com>
2186 * gio/gdirectorymonitor.c:
2187 Set timeout to NULL when destroying
2189 2007-09-25 Alexander Larsson <alexl@redhat.com>
2192 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2193 that is a better description of the error.
2195 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2197 * gio/gvfs.c: (g_vfs_get_local):
2198 Make the local vfs variable static. The same instance should
2201 2007-09-24 Alexander Larsson <alexl@redhat.com>
2203 * gio/glocalfileinfo.c:
2204 Pass in actual length read into sniffer, not the length
2207 2007-09-21 Alexander Larsson <alexl@redhat.com>
2209 * gio/gfileenumerator.c:
2212 * gio/gfileinputstream.c:
2213 * gio/gfileoutputstream.c:
2214 * gio/ginputstream.c:
2215 * gio/goutputstream.c:
2216 Don't crash if async callbacks are NULL
2218 2007-09-20 Alexander Larsson <alexl@redhat.com>
2221 Add async enumerate_children method and default
2224 2007-09-20 Alexander Larsson <alexl@redhat.com>
2227 Add g_file_contains_file & g_file_get_relative_path, since they
2228 were needed for nautilus.
2229 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2234 Implement new methods
2236 2007-09-17 Alexander Larsson <alexl@redhat.com>
2239 * gio/gfileinputstream.[ch]:
2240 * gio/gfileoutputstream.[ch]:
2242 * gio/glocalfileenumerator.[ch]:
2243 * gio/glocalfileinfo.[ch]:
2244 * gio/glocalfileinputstream.c:
2245 * gio/glocalfileoutputstream.c:
2246 * gio/gpollfilemonitor.c:
2247 * programs/gio-copy.c:
2248 * programs/gio-info.c:
2249 * programs/gio-move.c:
2250 Rename get_file_info to query_info() to make it clearer
2251 that these are not simple getters, but do i/o.
2253 2007-09-17 Alexander Larsson <alexl@redhat.com>
2255 * gio/gdatainputstream.[ch]:
2256 * gio/test-streams.c:
2257 Use _read_XXX instead of _get_XXX for the i/o calls
2260 2007-09-17 Alexander Larsson <alexl@redhat.com>
2263 Added needed stuff to TODO comment
2265 2007-09-17 Alexander Larsson <alexl@redhat.com>
2267 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2268 Don't error out removing the backup copy if it doesn't
2271 2007-09-14 Alexander Larsson <alexl@redhat.com>
2273 * programs/Makefile.am:
2274 * programs/gvfs-*.c:
2276 Renamed apps from gvfs-xxx to gio-xxx.
2278 2007-09-14 Alexander Larsson <alexl@redhat.com>
2281 * gio/gfileoutputstream.[ch]:
2282 * gio/glocalfileoutputstream.c:
2283 * programs/gvfs-save.c:
2284 g_file_output_stream_get_etag doesn't do i/o, so remove
2285 cancellation and error.
2287 2007-09-14 Alexander Larsson <alexl@redhat.com>
2290 Add new_etag output to replace_contents functions
2292 2007-09-14 Alexander Larsson <alexl@redhat.com>
2294 * gio/gfileoutputstream.[ch]:
2295 Add async get_file_info and default implementation
2297 2007-09-14 Alexander Larsson <alexl@redhat.com>
2299 * gio/gfileinputstream.c:
2300 Implement fallback wrapper for async get_file_info
2302 2007-09-14 Alexander Larsson <alexl@redhat.com>
2305 Add etag out argument to load_contents
2310 2007-09-14 Alexander Larsson <alexl@redhat.com>
2312 * gio/gcontenttype.c (looks_like_text):
2313 Whitespace like tab, cr and lf do not make the
2316 2007-09-14 Alexander Larsson <alexl@redhat.com>
2318 * gio/gfileinputstream.[ch]:
2319 Add async get_file_info.
2321 2007-09-13 Alexander Larsson <alexl@redhat.com>
2323 * gio/goutputstream.c (g_output_stream_write_all):
2324 Allow NULL for bytes_written
2326 2007-09-13 Alexander Larsson <alexl@redhat.com>
2328 * gio/gmemoryinputstream.[ch]:
2329 Add accessors for data
2331 2007-09-13 Alexander Larsson <alexl@redhat.com>
2333 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2334 Don't crash if length is NULL