1 2007-12-14 Alexander Larsson <alexl@redhat.com>
5 * gfileattribute-priv.h:
6 Move GFileAttributeValue to a private header, as
10 Make set_attribute take a type + a pointer instead
11 of a GFileAttributeValue.
14 Fix up for above changes.
15 Add g_file_info_get_attribute_data to get
16 all info in one call, g_file_info_get_attribute_status
17 to get the status and g_file_info_get_attribute_as_string.
21 * glocalfileinfo.[ch]:
25 Make _guess_type static.
27 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
30 * inotify/Makefile.am: Fixed build when srcdir != builddir,
31 made mkenums and friends use temporary files to avoid leaving
32 empty generated files on failure (#503470).
34 2007-12-14 Alexander Larsson <alexl@redhat.com>
39 2007-12-14 Alexander Larsson <alexl@redhat.com>
43 * gfileattribute.[ch]:
46 * glocalfileoutputstream.c:
47 * gmountoperation.[ch]:
49 Clean up all flags enums to not have _FLAGS in them
50 Make the names of some of the enums better.
55 2007-12-14 Michael Natterer <mitch@imendio.com>
57 * gio.symbols: fix g_io_scheduler symbol names.
59 2007-12-14 Alexander Larsson <alexl@redhat.com>
65 * gbufferedinputstream.h:
66 * gbufferedoutputstream.h:
70 * gdataoutputstream.h:
72 * gdirectorymonitor.h:
81 * gfilenamecompleter.h:
82 * gfileoutputstream.h:
83 * gfilterinputstream.h:
84 * gfilteroutputstream.h:
92 * gmemoryinputstream.h:
93 * gmemoryoutputstream.h:
98 * gsimpleasyncresult.h:
100 * gunixinputstream.h:
102 * gunixoutputstream.h:
106 * inotify/Makefile.am:
107 Only allow including <gio/gio.h> from apps
109 2007-12-14 Alexander Larsson <alexl@redhat.com>
112 * gsimpleasyncresult.c:
113 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
114 Split out the send_to_mainloop call into two versions instead
115 of having the block argument.
117 2007-12-13 Alexander Larsson <alexl@redhat.com>
121 * gbufferedinputstream.c:
123 * gfileinputstream.c:
124 * gfileoutputstream.c:
128 g_push/pop_current_cancellable ->
129 g_cancellable_push/pop_current
131 2007-12-13 Alexander Larsson <alexl@redhat.com>
135 Rename g_mount_for_location to g_file_mount_enclosing_volume.
137 2007-12-13 Alexander Larsson <alexl@redhat.com>
140 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
142 2007-12-12 Alexander Larsson <alexl@redhat.com>
145 Fix race condition when freeing proxy in
146 g_io_job_send_to_mainloop().
148 2007-12-12 Alexander Larsson <alexl@redhat.com>
154 Make attribute namespace separator "::" instead of ":".
155 Use - instead of _ as separator in attribute names.
157 2007-12-12 Alexander Larsson <alexl@redhat.com>
159 * gbufferedinputstream.h:
160 * gbufferedoutputstream.h:
161 * gdatainputstream.h:
162 * gdataoutputstream.h:
163 * gdirectorymonitor.h:
165 * gfileinputstream.h:
167 * gfileoutputstream.h:
168 * gfilterinputstream.h:
169 * gfilteroutputstream.h:
171 * glocalfileinputstream.h:
172 * glocalfileoutputstream.h:
173 * gmemoryinputstream.h:
174 * gmemoryoutputstream.h:
175 * gnativevolumemonitor.h:
177 * gunixinputstream.h:
178 * gunixoutputstream.h:
181 s/parent/parent_instance/ in GObjects
183 2007-12-12 Alexander Larsson <alexl@redhat.com>
188 No need for padding for interfaces
190 2007-12-12 Alexander Larsson <alexl@redhat.com>
194 * gbufferedinputstream.c:
195 * gbufferedoutputstream.c:
198 * gdatainputstream.[ch]:
200 * gdirectorymonitor.c:
202 * gfileattribute.[ch]:
205 * gfileinputstream.h:
207 * gfileoutputstream.[ch]:
208 * gfilterinputstream.h:
209 * gfilteroutputstream.h:
212 * gloadableicon.[ch]:
213 * gmemoryinputstream.c:
216 Fix up a bunch of details in the docs.
221 2007-12-11 David Zeuthen <davidz@redhat.com>
223 Rework how volumes, drives and volume monitoring is
224 done. Previosly the model was
228 where a GDrive instance represented a mount point and a GVolume
229 instance represented a mounted file system. This patch changes it
232 GDrive <1-N> GVolume <1-1> GMount
234 where GMount now serves the purpose of the old GVolume and the new
235 GVolume serves the purpose of the old GDrive. In addition the new
236 GDrive interface is used to represent a collection of GVolume
237 instances (typically partitions) and also contains utility to query
238 the state of the physical drive the GDrive object represents (such
239 as checking for media, polling the drive, ejecting the media etc.).
241 Also implement mounting and unmounting in the Unix volume monitor
242 backend. A subquent patch will introduce GDrive support for ejection
246 * gdrive.c: (g_drive_is_media_check_automatic),
247 (g_drive_is_media_removable), (g_drive_has_media),
248 (g_drive_can_poll_for_media), (g_drive_eject),
249 (g_drive_eject_finish), (g_drive_poll_for_media),
250 (g_drive_poll_for_media_finish):
252 * gfile.c: (g_file_find_enclosing_mount):
255 * glocaldirectorymonitor.c:
256 (g_local_directory_monitor_constructor), (mounts_changed):
257 * glocalfile.c: (get_mount_info),
258 (g_local_file_find_enclosing_mount),
259 (g_local_file_file_iface_init):
260 * gnativevolumemonitor.h:
261 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
262 (get_connected_drives), (g_union_volume_monitor_class_init),
263 (child_volume_added), (child_volume_removed),
264 (child_volume_changed), (child_mount_added), (child_mount_removed),
265 (child_mount_pre_unmount), (child_mount_changed),
266 (child_drive_changed), (g_union_volume_monitor_add_monitor),
267 (g_union_volume_monitor_remove_monitor),
268 (_g_mount_get_for_mount_path):
269 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
270 (guess_system_internal), (_g_get_unix_mounts),
271 (_g_get_unix_mount_points), (g_get_unix_mount_at),
272 (g_unix_mount_free), (g_unix_mount_compare),
273 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
274 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
275 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
276 (type_to_icon), (g_unix_mount_guess_name),
277 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
278 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
279 (_resolve_symlink), (_resolve_dev_root):
281 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
282 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
283 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
284 (g_unix_volume_get_name), (g_unix_volume_can_mount),
285 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
286 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
287 (g_unix_volume_mount), (g_unix_volume_mount_finish),
288 (g_unix_volume_volume_iface_init):
290 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
291 (get_mounts), (get_volumes), (get_connected_drives),
292 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
293 (mountpoints_changed), (mounts_changed),
294 (g_unix_volume_monitor_init),
295 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
296 (find_mount_by_mountpath), (update_volumes), (update_mounts):
297 * gunixvolumemonitor.h:
298 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
299 (g_volume_mount), (g_volume_mount_finish):
301 * gvolumemonitor.c: (g_volume_monitor_class_init),
302 (g_volume_monitor_get_connected_drives),
303 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
306 2007-12-10 Matthias Clasen <mclasen@redhat.com>
308 * gmountoperation.h (GPasswordFlags): Close the gap
310 2007-12-10 Matthias Clasen <mclasen@redhat.com>
312 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
314 * gdesktopappinfo.[hc]: Remove _-prefixes
316 2007-12-10 Tor Lillqvist <tml@novell.com>
318 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
321 2007-12-10 Alexander Larsson <alexl@redhat.com>
323 * gfile.c (g_file_set_display_name):
324 Don't hardcode '/' (#502727)
326 2007-12-09 Hans Breuer <hans@breuer.org>
328 * makefile.msc : follow lib naming convention
329 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
330 for user and group name, tested with ../tests/gio-ls
332 2007-12-09 A. Walton <awalton@svn.gnome.org>
345 * gmemoryinputstream.c:
346 * gmemoryoutputstream.c:
348 * gsimpleasyncresult.c:
349 More documentation cleanup and filling in missing information, bringing
350 GIO to 99% symbol coverage.
352 2007-12-08 Hans Breuer <hans@breuer.org>
354 [gio compiles and links on win32, not sure how much already works]
355 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
356 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
357 base on win32 API; prefer g_lstat() over lstat(); instead of
358 localtime_r() use an all GLib implementation on win32;
359 get_mount_info() still needs a win32 specifc implementation
360 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
361 win32_get_file_user_info to get owner/group info without uid/gid
362 * glocalfileinputstream.c : include <io.h> on win32
363 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
364 definition, use g_win32_ftruncate() for G_OS_WIN32
365 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
366 it is available with mingw/w32api but a mess with the M$ Platform SDKs
367 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
368 * makefile.msc : updated
370 2007-12-07 Alexander Larsson <alexl@redhat.com>
372 * glocalfileenumerator.c (_g_local_file_enumerator_new):
373 Avoid warning spew if error == NULL
375 2007-12-07 Alexander Larsson <alexl@redhat.com>
378 Update docs wrt etags
380 2007-12-06 Alexander Larsson <alexl@redhat.com>
383 Include sys/types.h for dev_t (#501919)
385 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
389 Make abicheck and pltcheck pass.
391 2007-12-05 Alexander Larsson <alexl@redhat.com>
394 * giomodule-priv.h: Added.
395 * glocaldirectorymonitor.c:
396 * glocalfilemonitor.c:
397 * gunionvolumemonitor.c:
399 Actually add the declaration of _g_io_modules_ensure_loaded
401 2007-12-05 Alexander Larsson <alexl@redhat.com>
403 * gdatainputstream.c:
408 * glocaldirectorymonitor.c:
409 * glocalfilemonitor.c:
410 * gunionvolumemonitor.c:
412 Make g_io_modules_ensure_loaded a private function and
413 don't pass in the dirname. This means we can do magic
414 directory finding in the win32 version.
415 Export the actual load-modules-in-directory code so that
418 2007-12-05 Alexander Larsson <alexl@redhat.com>
420 * gbufferedinputstream.c:
421 * gbufferedoutputstream.c:
424 * gfileenumerator.[ch]:
425 * gfileinputstream.c:
426 * gfileoutputstream.[ch]:
427 * gfilterinputstream.c:
428 * gfilteroutputstream.c:
431 * glocalfileenumerator.c:
432 * glocalfileinputstream.c:
433 * glocalfileoutputstream.c:
434 * gmemoryinputstream.c:
435 * gmemoryoutputstream.c:
436 * goutputstream.[ch]:
439 * gunixinputstream.c:
440 * gunixoutputstream.c:
441 Rename all struct members named:
442 read, write, close, truncate, or mount
443 to foo_fn, as these are reserved names
444 and could be defined as macros in libc.
447 2007-12-04 Alexander Larsson <alexl@redhat.com>
450 (g_output_stream_close):
451 Only call flush if non-null.
453 2007-11-30 Dan Winship <danw@gnome.org>
455 * ginputstream.c (g_input_stream_set_pending): Make this take a
456 GError and return a gboolean, and do the "outstanding operation"
457 check (and the "stream is already closed" check) itself.
458 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
460 * goutputstream.c (g_output_stream_set_pending)
461 (g_output_stream_clear_pending): Likewise
463 * gbufferedinputstream.c:
464 * gfileinputstream.c:
465 * gfileoutputstream.c: Update for that
467 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
468 Like g_simple_async_report_error_in_idle, but takes a GError
469 rather than building one.
471 2007-11-30 Dan Winship <danw@gnome.org>
473 * goutputstream.c: Don't cheat and unset the "pending" flag around
474 inner calls. Instead, call the class method directly rather than
475 the wrapper function that checks "pending"
477 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
479 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
481 2007-12-03 Hans Breuer <hans@breuer.org>
483 [start of port to win32/msvc]
484 * gcancellable.c : HAVE_UNIST_H and _pipe()
485 * gcontenttype.c : only include <dirent.h> in the UNIX branch
486 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
487 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
489 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
490 * glocalvfs.c : use HAVE_PWD_H
491 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
492 * makefile.msc : new file (maybe later converted to makefile.msc.in)
493 * Makefile.am : added to EXTRA_DIST
495 2007-12-03 Matthias Clasen <mclasen@redhat.com>
497 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
500 2007-12-03 Alexander Larsson <alexl@redhat.com>
503 Handle OSX style xattrs API (#500506)
505 2007-12-03 Alexander Larsson <alexl@redhat.com>
509 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
511 2007-12-02 A. Walton <awalton@svn.gnome.org>
515 Documentation accuracy fixes.
517 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
519 * gioenumtypes.c.template: Fix typo.
521 2007-12-01 Matthias Clasen <mclasen@redhat.com>
523 * gioenumtypes.c.template: Make threadsafe get_type() functions.
525 2007-12-01 Matthias Clasen <mclasen@redhat.com>
527 * gdirectorymonitor.c:
528 * gfilemonitor.c: Add properties
530 * gbufferedoutputstream.c: Don't mark buffer-size property
533 2007-12-01 Matthias Clasen <mclasen@redhat.com>
535 * gbufferedoutputstream.c: Add auto-grow property.
537 2007-11-30 Matthias Clasen <mclasen@redhat.com>
539 * *.c: Unify the capitalization of section headings.
541 2007-11-30 Matthias Clasen <mclasen@redhat.com>
543 * gmountoperation.c: Add properties
545 * gdatainputstream.c: Turn byte-order and newline-type into
548 2007-11-30 Matthias Clasen <mclasen@redhat.com>
550 * gioenumtypes.[hc].template: Templates for enum registration
552 * Makefile.am: Generate gioenumtypes.[hc]
554 * gio.h: Include gioenumtypes.h
556 * gfile.h: Add some explicit nicks.
558 * gio.symbols: Add new symbols
560 * pltcheck.sh: Adjust
562 2007-11-30 Matthias Clasen <mclasen@redhat.com>
564 * *.c: Explain etags and link to the explanation
566 2007-11-29 Matthias Clasen <mclasen@redhat.com>
568 * *.c: Explain I/O priority.
570 * *.c: More coding style fixes.
572 2007-11-29 Matthias Clasen <mclasen@redhat.com>
574 * gasyncresult.c: Add another paragraph to the intro,
575 adjust coding style of example.
577 2007-11-29 A. Walton <awalton@svn.gnome.org>
580 Fixes unknown meaning in GAppLaunchContext docs.
582 Clarify asynchronous ops.
587 Provides missing gtk-doc section, fixes API docs slighly.
588 * gsimpleasyncresult.c:
589 Fill in missing info in docs.
590 * gunixinputstream.c:
591 * gunixoutputstream.c:
592 Be more expressive in short description.
594 Remove gtk-doc stubs for non-public API.
596 2007-11-28 Matthias Clasen <mclasen@redhat.com>
598 * *.c: Coding style fixups
600 2007-11-28 Matthias Clasen <mclasen@redhat.com>
602 * inotify/inotify-helper.c: Don't export the lock from libgio.
604 2007-11-28 Matthias Clasen <mclasen@redhat.com>
607 * abicheck.sh: Fix copy-and-paste leftovers
609 2007-11-28 Matthias Clasen <mclasen@redhat.com>
611 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
613 2007-11-28 Alexander Larsson <alexl@redhat.com>
617 Removed unnecessary file
619 * gdesktopappinfo.[ch]:
622 * glocaldirectorymonitor.[ch]:
624 * glocalfileenumerator.[ch]:
625 * glocalfileinputstream.[ch]:
626 * glocalfilemonitor.[ch]:
627 * glocalfileoutputstream.[ch]:
629 * gnativevolumemonitor.c:
630 * gpollfilemonitor.[ch]:
631 * gunionvolumemonitor.[ch]:
634 * gunixvolumemonitor.[ch]:
637 * inotify/ginotifydirectorymonitor.[ch]:
638 * inotify/ginotifyfilemonitor.[ch]:
639 * inotify/inotify-helper.c:
640 Append _ to all internal functions
644 Export symbols needed for modules
646 2007-11-28 Alexander Larsson <alexl@redhat.com>
649 * abicheck.sh: Added.
650 * makegioalias.pl: Added.
651 * pltcheck.sh: Added.
652 * gio.symbols: Added.
655 Initial work on adding symbol handling.
658 Correct ifdef guard name
661 * inotify/Makefile.am:
662 * xdgmime/Makefile.am:
663 Include toplevel Makefile.decl
665 2007-11-27 Matthias Clasen <mclasen@redhat.com>
667 * gcontenttype.c: Move doc comments to the unix section.
669 * *.[hc]: More trivial doc corrections.
671 2007-11-27 Matthias Clasen <mclasen@redhat.com>
673 * gpollfilemonitor.c:
682 * gdatainputstream.c:
683 * gdatainputstream.h:
684 * gdataoutputstream.c:
685 * gdataoutputstream.h:
686 * gfileinfo.h: Doc cleanups
688 2007-11-28 Andre Klapper <a9016009@gmx.de>
690 * gdesktopappinfo.c: Fix a typo.
692 2007-11-27 Andre Klapper <a9016009@gmx.de>
694 * glocalfileoutputstream.c: Fix a typo.
696 2007-11-27 Alexander Larsson <alexl@redhat.com>
699 Don't include removed headers
701 2007-11-27 Alexander Larsson <alexl@redhat.com>
704 * gsocketinputstream.[ch]: Removed.
705 * gsocketoutputstream.[ch]: Removed.
706 * gunixinputstream.[ch]: Added.
707 * gunixoutputstream.[ch]: Added.
708 Renamed GSocket*Stream to GUnix*Stream and made
709 it unix-only, since its not really only for sockets
710 and it only works on unix (but is highly useful there).
712 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
718 * gbufferedinputstream.c:
719 * gbufferedinputstream.h:
720 * gbufferedoutputstream.c:
721 * gbufferedoutputstream.h:
725 * gdatainputstream.c:
726 * gdatainputstream.h:
727 * gdataoutputstream.c:
728 * gdataoutputstream.h:
729 * gdirectorymonitor.c:
730 * gdirectorymonitor.h:
743 * gfileinputstream.c:
744 * gfileinputstream.h:
747 * gfilenamecompleter.c:
748 * gfilenamecompleter.h:
749 * gfileoutputstream.c:
750 * gfileoutputstream.h:
751 * gfilterinputstream.c:
752 * gfilterinputstream.h:
753 * gfilteroutputstream.c:
754 * gfilteroutputstream.h:
767 * glocalfileoutputstream.c:
768 * gmemoryinputstream.c:
769 * gmemoryinputstream.h:
770 * gmemoryoutputstream.c:
771 * gmemoryoutputstream.h:
776 * gpollfilemonitor.c:
779 * gsimpleasyncresult.c:
780 * gsimpleasyncresult.h:
781 * gsocketinputstream.c:
782 * gsocketinputstream.h:
783 * gsocketoutputstream.c:
784 * gsocketoutputstream.h:
791 * gunixvolumemonitor.c:
800 Bumps documentation to 93% symbol coverage, touching most
801 of the public files. Fixes broken function documentation prototypes.
802 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
803 gtk-doc headers in private files.
805 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
807 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
808 (g_buffered_input_stream_read_byte):
809 * gbufferedinputstream.h:
810 New functions for efficient access to buffer and simple single byte
813 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
814 (g_data_input_stream_read_until):
815 * gdatainputstream.h:
816 Use peek_buffer to avoid memcpy in scan_for_newline, implement
817 read_until with multiple stop chars.
819 2007-11-27 Alexander Larsson <alexl@redhat.com>
823 * inotify/Makefile.am:
824 Use the user-specified giomoduledir
826 2007-11-27 Alexander Larsson <alexl@redhat.com>
830 Add catch-all gio.h header
831 Don't install gdummyfile.h
833 2007-11-26 Alexander Larsson <alexl@redhat.com>
835 * Makefile.am (gioinclude_HEADERS):
836 Remove trailing whitespace
838 2007-11-26 Alexander Larsson <alexl@redhat.com>
840 Merge gio-standalone into glib
842 2007-11-25 Christian Kellner <gicmo@gnome.org>
844 * gio/goutputstream.c:
845 Fix small mistake in the docs.
847 2007-11-21 Christian Persch <chpe@gnome.org>
849 * gio/glocalfile.c: (g_local_file_trash):
850 Convert filenames to UTF-8 for GError.
851 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
852 as per xdg base dir spec.
854 2007-11-21 Christian Persch <chpe@gnome.org>
856 * gio/gdesktopappinfo.c:
857 Use that g_key_file_to_data cannot fail.
859 Use stock defines for the key file group and key names.
862 2007-11-21 Alexander Larsson <alexl@redhat.com>
865 (copy_stream_with_progress):
866 Make sure we do a final progress callback with
869 2007-11-21 Alexander Larsson <alexl@redhat.com>
872 Export g_file_copy_attributes
873 Remove padding as its not needed for interfaces
875 2007-11-20 Alexander Larsson <alexl@redhat.com>
880 Add G_IO_ERROR_WOULD_MERGE for
881 copy/move dir on dir with overwrite.
883 2007-11-20 Alexander Larsson <alexl@redhat.com>
886 * gio/glocalfileinfo.c:
887 Add COPY_NAME (this is an optional
888 non-modified utf8 version of the name) that
891 2007-11-20 Alexander Larsson <alexl@redhat.com>
893 * gio/glocalfileenumerator.c:
894 Report errors as GIOError, not GFileError
896 2007-11-16 Alexander Larsson <alexl@redhat.com>
898 * gio/glocalfileoutputstream.c:
899 * gio/gwin32appinfo.c:
900 Fix typos in strings.
901 Patch from Luca Ferretti <elle.uca@libero.it>
903 2007-11-15 Alexander Larsson <alexl@redhat.com>
906 Post release version bump
908 === gio-standalone 0.1.2 ===
910 2007-11-15 Alexander Larsson <alexl@redhat.com>
912 * docs/reference/gio/Makefile.am:
913 Fix up distcheck by removing weird
919 2007-11-14 Alexander Larsson <alexl@redhat.com>
921 * gio/gdesktopappinfo.c:
922 * gio/glocaldirectorymonitor.c:
924 * gio/glocalfileinfo.c:
925 * gio/inotify/inotify-sub.c:
926 * programs/gio-cat.c:
927 * programs/gio-copy.c:
928 * programs/gio-info.c:
930 * programs/gio-monitor-dir.c:
931 * programs/gio-monitor-file.c:
932 * programs/gio-mount.c:
933 * programs/gio-move.c:
935 * programs/gio-save.c:
936 * programs/gio-trash.c:
937 Leak fixes from Kjartan Maraas
939 2007-11-14 Alexander Larsson <alexl@redhat.com>
941 * gio/fam/fam-helper.c:
943 * gio/glocalfileinfo.c:
947 * gio/inotify/inotify-diag.c:
948 * gio/inotify/inotify-kernel.c:
949 Various code cleanups from Kjartan Maraas
951 2007-11-14 Alexander Larsson <alexl@redhat.com>
953 * gio/gioscheduler.c:
955 Set up threadpool so that we cache 2 unused
956 idle threads for at 15 secs. This means we
957 will reuse thread-local data (like dbus connections)
960 2007-11-14 Alexander Larsson <alexl@redhat.com>
962 * gio/fam/fam-helper.c:
963 * gio/fam/gfamdirectorymonitor.c:
964 * gio/fam/gfamfilemonitor.c:
966 * gio/gcontenttype.c:
967 * gio/gdatainputstream.c:
968 * gio/gdataoutputstream.c:
972 * gio/gfileattribute.h:
973 * gio/gfileenumerator.c:
975 * gio/ginputstream.c:
978 * gio/glocalfileinfo.c:
979 * gio/goutputstream.c:
980 * gio/gpollfilemonitor.c:
981 * gio/gsimpleasyncresult.c:
984 * gio/inotify/ginotifydirectorymonitor.c:
985 * gio/inotify/ginotifyfilemonitor.c:
986 * gio/inotify/inotify-diag.c:
987 * gio/inotify/inotify-kernel.c:
988 * gio/inotify/inotify-path.c:
990 * gio/test-streams.c:
991 * programs/gio-info.c:
992 * programs/gio-monitor-dir.c:
993 * programs/gio-monitor-file.c:
994 Various code cleanups from Kjartan Maraas
996 2007-11-13 Alexander Larsson <alexl@redhat.com>
999 Handle the uri-scheme calls for dummy files
1001 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1003 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1004 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1005 to avoid clash with the C++ keyword.
1007 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1009 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1010 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1012 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1014 * gio/glocaldirectorymonitor.c:
1015 * gio/glocalfilemonitor.c:
1016 * gio/gunionvolumemonitor.c:
1017 Don't use g_once_init_*() for initializations that could fail and
1018 could leave the initialization variable set to 0 but use GOnce.
1019 This prevents a deadlock on the second call when trying to create
1020 a monitor and no monitor type is available. Thanks to Sven Herzberg
1023 2007-11-11 Sven Herzberg <sven@imendio.com>
1025 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1026 #ifdef (make it work on MacOS X again)
1028 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1030 Fixes Changelog for last two commits (sorry guys).
1032 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1034 * gio/gbufferedinputstream.c:
1035 * gio/gdatainputstream.c:
1037 * gio/gfileoutputstream.c:
1038 * gio/gfilterinputstream.c:
1039 * gio/glocalfileinputstream.c:
1042 More consistency fixes in g*stream.c files.
1043 Significant clean of gfile's documentation, filling in of
1044 asynchronous operations documentation.
1046 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1048 * gio/gasyncresult.c:
1049 * gio/gbufferedinputstream.c:
1050 * gio/gbufferedoutputstream.c:
1051 * gio/gcancellable.c:
1052 * gio/gcontenttype.c:
1053 * gio/gdatainputstream.c:
1054 * gio/gdataoutputstream.c:
1055 * gio/gdesktopappinfo.c:
1058 * gio/gfileattribute.c:
1059 * gio/gio/gfileenumerator.c:
1061 * gio/gfileinputstream.c:
1062 * gio/gfilemonitor.c:
1063 * gio/gfileoutputstream.c:
1064 * gio/ginputstream.c:
1066 * gio/gioscheduler.c:
1067 * gio/gloadableicon.c:
1068 * gio/glocalfileoutputstream.c:
1069 * gio/gmemoryoutputstream.c:
1070 * gio/gmountoperation.c:
1071 * gio/goutputstream.c:
1073 * gio/gsimpleasyncresult.c:
1074 * gio/gunionvolumemonitor.c:
1075 * gio/gunixmounts.c:
1076 * gio/gunixvolume.c:
1080 * gio/gvolumemonitor.c:
1081 Updated documentation stubs, working towards consistency and
1084 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1086 * gio/gmemoryoutputstream.c:
1087 * gio/gmemoryoutputstream.h:
1088 Change g_memory_output_stream_set_free_on_close() to
1089 g_memory_output_stream_set_free_data() as this makes more sense and
1090 is more consistent with GMemoryInputStream.
1092 2007-11-07 Alexander Larsson <alexl@redhat.com>
1099 Change how we find the default vfs so that
1100 we can handle a gvfs failing to init
1102 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1104 * gio/gbufferedoutputstream.c:
1105 * gio/gdatainputstream.c:
1106 * gio/gdataoutputstream.c:
1107 * gio/gfileinputstream.c:
1108 * gio/gfileoutputstream.c:
1109 * gio/gfilterinputstream.c:
1110 * gio/gfilteroutputstream.c:
1111 * gio/ginputstream.c:
1112 * gio/gmemoryinputstream.c:
1113 * gio/gmemoryoutputstream.c:
1114 * gio/goutputstream.c:
1115 * gio/gsimpleasyncresult.c:
1116 * gio/gsocketinputstream.c:
1117 * gio/gsocketoutputstream.c:
1118 Add guards to the remaining public functions, add a TODO for
1119 an unimplemented function and remove some useless guards.
1121 2007-11-07 Alexander Larsson <alexl@redhat.com>
1124 Autoconf checks for the various types of
1125 getpwuid_r and getgrgid_r
1127 * gio/glocalfileinfo.c:
1128 Use the autoconf checks from above
1130 2007-11-07 Alexander Larsson <alexl@redhat.com>
1133 (g_local_file_query_filesystem_info):
1134 Some fixes for the statvfs case
1136 2007-11-07 Alexander Larsson <alexl@redhat.com>
1139 (g_local_file_query_filesystem_info):
1140 Pick the "best" of statfs / statvfs for the system
1141 if both are availible.
1143 2007-11-07 Alexander Larsson <alexl@redhat.com>
1145 Solaris fixes from Halton.Huo@Sun.COM:
1152 * gio/glocalfileinfo.c:
1153 Fix for solaris definition of getpwuid_r
1155 * gio/test-streams.c:
1156 Use G_GNUC_PRETTY_FUNCTION
1158 2007-11-07 Alexander Larsson <alexl@redhat.com>
1160 * gio/gdesktopappinfo.c:
1161 (update_default_list):
1162 Remove double semicolon.
1163 Patch from Jens Granseuer
1165 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1167 * docs/reference/gio/gio-sections.txt:
1168 * gio/gbufferedinputstream.c:
1169 * gio/gbufferedinputstream.h:
1170 * gio/gdatainputstream.c:
1171 * gio/gfileenumerator.c:
1172 * gio/gioscheduler.c:
1173 * gio/gunionvolumemonitor.c:
1175 * programs/gio-save.c:
1176 Fix typo: availible -> available. Unfortuntely this breaks API
1177 and ABI as g_buffered_input_stream_get_available() was renamed.
1179 * gio/gunixmounts.c:
1180 * gio/gbufferedinputstream.c:
1181 Add guards for public functions.
1183 2007-11-06 Ross Burton <ross@openedhand.com>
1185 * docs/reference/gio/Makefile.am:
1186 Fix invalid += usage which automake 1.10 doesn't like.
1188 2007-11-06 Alexander Larsson <alexl@redhat.com>
1191 (g_app_launch_context_class_init):
1194 Patch from Ross Burton
1196 2007-11-06 Alexander Larsson <alexl@redhat.com>
1199 Post release version bump
1201 === gio-standalone 0.1.1 ===
1203 2007-11-06 Alexander Larsson <alexl@redhat.com>
1206 Bump version to 0.1.1
1208 * gio/gsimpleasyncresult.c:
1209 (g_simple_async_result_set_from_error):
1210 Remove bogus g_return_if_fail
1212 2007-11-06 Alexander Larsson <alexl@redhat.com>
1215 The name is gio-standalone
1218 Add top src/builddir to includedir
1220 2007-11-06 Alexander Larsson <alexl@redhat.com>
1222 * docs/reference/gio/gio-sections.txt:
1224 * gio/gbufferedinputstream.c:
1225 * gio/gbufferedoutputstream.c:
1226 * gio/gcancellable.c:
1227 * gio/gdatainputstream.h:
1228 * gio/gdataoutputstream.c:
1229 * gio/gdataoutputstream.h:
1230 * gio/gdirectorymonitor.c:
1232 * gio/gfileattribute.c:
1233 * gio/gfileattribute.h:
1234 * gio/gfileenumerator.c:
1235 * gio/gfileenumerator.h:
1238 * gio/gfileinputstream.h:
1239 * gio/gfilemonitor.c:
1240 * gio/gfileoutputstream.h:
1241 * gio/glocalfilemonitor.h:
1242 * gio/glocalfileoutputstream.h:
1243 * gio/gmemoryinputstream.c:
1244 * gio/gmemoryoutputstream.c:
1245 * gio/gmountoperation.c:
1246 * gio/goutputstream.c:
1247 * gio/goutputstream.h:
1249 * gio/gsimpleasyncresult.c:
1250 * gio/gunixmounts.c:
1251 * gio/gunixmounts.h:
1253 * gio/inotify/inotify-helper.c:
1254 Fix gtk-doc warnings
1256 Patch from Ross Burton
1258 2007-11-06 Alexander Larsson <alexl@redhat.com>
1260 * gio/gfilenamecompleter.c:
1261 (g_filename_completer_get_completions):
1264 * gio/gunixvolume.c:
1265 Remove unused function
1267 Patches from Ross Burton
1269 2007-11-06 Alexander Larsson <alexl@redhat.com>
1274 Padding not needed for interfaces
1276 2007-11-06 Alexander Larsson <alexl@redhat.com>
1278 * gio/gfilemonitor.c:
1282 Make giotypes.h an internal file
1285 * gio/gbufferedinputstream.h:
1286 * gio/gbufferedoutputstream.h:
1287 * gio/gcancellable.h:
1288 * gio/gdatainputstream.h:
1289 * gio/gdataoutputstream.h:
1290 * gio/gdirectorymonitor.c:
1291 * gio/gdirectorymonitor.h:
1296 * gio/gfileattribute.h:
1297 * gio/gfileenumerator.h:
1302 * gio/gfilemonitor.c:
1303 * gio/gfilemonitor.h:
1304 * gio/gfilenamecompleter.c:
1305 * gio/gfilenamecompleter.h:
1306 * gio/gfilterinputstream.h:
1307 * gio/gfilteroutputstream.h:
1308 * gio/ginputstream.h:
1309 * gio/gmemoryinputstream.h:
1310 * gio/gmemoryoutputstream.h:
1311 * gio/gmountoperation.c:
1312 * gio/gmountoperation.h:
1313 * gio/gnativevolumemonitor.c:
1314 * gio/goutputstream.h:
1317 * gio/gsimpleasyncresult.c:
1318 * gio/gsimpleasyncresult.h:
1319 * gio/gsocketinputstream.h:
1320 * gio/gsocketoutputstream.h:
1321 * gio/gthemedicon.c:
1322 * gio/gthemedicon.h:
1326 * gio/gvolumemonitor.c:
1327 * gio/gvolumemonitor.h:
1328 Add padding in classes where it seems useful
1329 Don't include giotypes.h from public headers
1330 Move in Class definitions into c file where possible
1335 2007-11-06 Alexander Larsson <alexl@redhat.com>
1337 * docs/reference/gio/gio-docs.xml:
1338 Better structure for API docs
1340 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1343 * gio/gloadableicon.c:
1344 * gio/gsimpleasyncresult.c:
1345 * gio/gthemedicon.c:
1346 Add some more guards to public functions. Only files missing are now
1349 2007-11-06 Alexander Larsson <alexl@redhat.com>
1351 * docs/reference/gio/gio-docs.xml:
1352 Remove old files, add missing ones
1354 2007-11-06 Alexander Larsson <alexl@redhat.com>
1356 * docs/reference/gio/gio-sections.txt:
1359 Hide implementation classes
1361 * gio/gdriveprivate.h:
1362 * gio/gvolumeprivate.h:
1363 Remove non-existing function declarations
1365 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1368 Fix compilation warnings and add guards to the new functions.
1370 * gio/gasyncresult.c:
1372 Add guards to the public functions.
1375 Implement get_path().
1377 2007-11-06 Alexander Larsson <alexl@redhat.com>
1379 * gio/gfilenamecompleter.c:
1380 Make g_filename_completer_get_completions
1381 return char ** instead of GList for
1384 * docs/reference/gio/gio-docs.xml:
1385 * docs/reference/gio/gio-sections.txt:
1387 * gio/gasyncresult.c:
1388 * gio/gbufferedinputstream.c:
1389 * gio/gbufferedoutputstream.c:
1390 * gio/gcancellable.c:
1391 * gio/gcontenttype.c:
1392 * gio/gdatainputstream.c:
1393 * gio/gdataoutputstream.c:
1394 * gio/gdesktopappinfo.c:
1395 * gio/gdirectorymonitor.c:
1399 * gio/gfileattribute.c:
1400 * gio/gfileenumerator.c:
1403 * gio/gfileinputstream.c:
1404 * gio/gfilemonitor.c:
1405 * gio/gfilenamecompleter.c:
1406 * gio/gfilenamecompleter.h:
1407 * gio/gfileoutputstream.c:
1408 * gio/gfilterinputstream.c:
1410 * gio/ginputstream.c:
1412 * gio/gioscheduler.c:
1413 * gio/gloadableicon.c:
1414 * gio/glocaldirectorymonitor.c:
1416 * gio/glocalfileinputstream.c:
1417 * gio/glocalfilemonitor.c:
1418 * gio/glocalfileoutputstream.c:
1420 * gio/gmemoryinputstream.c:
1421 * gio/gmemoryoutputstream.c:
1422 * gio/gmountoperation.c:
1423 * gio/goutputstream.c:
1424 * gio/gpollfilemonitor.c:
1426 * gio/gsimpleasyncresult.c:
1427 * gio/gsocketinputstream.c:
1428 * gio/gsocketoutputstream.c:
1429 * gio/gthemedicon.c:
1430 * gio/gunionvolumemonitor.c:
1432 * gio/gunixmounts.c:
1433 * gio/gunixvolume.c:
1434 * gio/gunixvolumemonitor.c:
1438 * gio/gvolumemonitor.c:
1439 * gio/gwin32appinfo.c:
1440 Add (mostly stub) doc strings to public functions.
1441 Patch from Andrew Walton (awalton@gmail.com)
1443 2007-11-06 Alexander Larsson <alexl@redhat.com>
1445 * gio/gappinfo.[ch]:
1446 Added GAppLaunchContext object and pass that to launch.
1447 This allows simple implementation of both
1448 launch-on-screen and startup notification via a gtk+
1449 subclass of GAppLaunchContext
1451 * gio/gdesktopappinfo.c:
1452 Implement GAppLaunchContext API
1454 * gio/gwin32appinfo.c:
1457 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1459 * gio/gmountoperation.c:
1460 Add some guards to GMountOperation's public functions.
1462 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1466 * gio/gcancellable.c:
1467 * gio/gdirectorymonitor.c:
1469 * gio/gfileenumerator.c:
1470 * gio/gfilemonitor.c:,
1471 * gio/gfilenamecompleter.c:
1474 * gio/gioscheduler.c:
1478 * gio/gvolumemonitor.c:
1479 Add even more guards to various public functions.
1481 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1484 Add guards to the public functions of GAppInfo.
1486 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1488 * gio/gcontenttype.c:
1489 Add some more guards for public functions.
1491 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1493 * gio/fam/fam-module.c:
1494 * gio/fam/gfamdirectorymonitor.c:
1495 * gio/fam/gfamdirectorymonitor.h:
1496 * gio/fam/gfamfilemonitor.c:
1497 * gio/fam/gfamfilemonitor.h:
1498 * gio/inotify/ginotifydirectorymonitor.c:
1499 * gio/inotify/ginotifydirectorymonitor.h:
1500 * gio/inotify/ginotifyfilemonitor.c:
1501 * gio/inotify/ginotifyfilemonitor.h:
1502 Add proper copyright information and remove an unused variable
1503 in the GInotifyFileMonitor constructor.
1505 * gio/gcancellable.c:
1506 Add a guard for a public function and an assertion to prevent
1507 an undefined program state.
1509 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1511 * gio/gfileattribute.c:
1512 Don't run into an assertion if the given attribute value is NULL
1513 in g_file_attribute_value_get_*() but instead return a fallback
1514 value that makes sense in most situations. Passing them a attribute
1515 value with the wrong type will still run into an assertion.
1517 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1519 * gio/gfileattribute.c:
1521 Add even more guards to the public functions. Also fix the refcounting
1522 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1523 let g_file_info_list_attributes() filter the attributes by namespace
1524 instead of simply ignoring the namespace parameter.
1526 2007-11-03 Sven Herzberg <sven@imendio.com>
1528 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1529 (This makes gio work on MacOS X again)
1531 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1534 Build the gio subdirectory before the docs. Otherwise the build will
1537 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1538 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1539 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1540 Add guards to the public functions.
1542 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1544 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1545 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1546 to prevent a compiler warning.
1548 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1549 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1550 return something in the non-void function find_topdir_for().
1552 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1559 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1561 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1562 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1563 * gwin32appinfo.c (g_win32_app_info_launch):
1564 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1565 envp_for_startup_id, g_desktop_app_info_launch,
1566 g_desktop_app_info_launch_uris):
1568 Give an opaque 'startup_id' string instead of 'envp'.
1569 Support empty file lists for launching new windows.
1570 Fix infinite recursion bug when launching URIs.
1572 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1575 Add guard to the new g_file_get_uri_scheme() function.
1577 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1580 Convert a g_return_val_if_fail() to setting the GError instead as
1581 otherwise applications have to verify the parameter before otherwise
1582 and the parameter might come directly from the user.
1584 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1586 * gio/inotify/ginotify*.[ch]:
1587 Add missing copyright information.
1589 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1592 Add guards in the beginning of public functions to check for valid
1593 parameters and fix a bug in copy_stream_with_progress() that could've
1594 caused writing less bytes than reading.
1595 * gio/glocalfileinfo.c:
1596 Check for a NULL parameter and set the GError accordingly then.
1597 * gio/goutputstream.c:
1598 Fix the same bug as in gfile.c that could've caused writing less bytes
1599 than reading in g_output_stream_real_splice().
1601 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1604 Use the correct gvolumeprivate.h naming
1606 2007-11-01 Christian Kellner <gicmo@gnome.org>
1609 Remove leftover "$(daemon_sources)" entry.
1611 2007-11-01 Christian Kellner <gicmo@gnome.org>
1616 Add copyright information to source files.
1618 2007-11-01 Alexander Larsson <alexl@redhat.com>
1622 Add g_file_get_uri_scheme
1624 2007-11-01 Alexander Larsson <alexl@redhat.com>
1627 * gio/gdesktopappinfo.c:
1628 * gio/gwin32appinfo.c:
1629 Add g_app_info_get_default_for_uri_scheme.
1631 2007-11-01 Alexander Larsson <alexl@redhat.com>
1634 Correct filename for gdriveprivate.h
1636 2007-10-31 Alexander Larsson <alexl@redhat.com>
1639 Rename id:value to id:file
1642 * gio/glocalfileinfo.c:
1645 2007-10-31 Alexander Larsson <alexl@redhat.com>
1647 * gio/gunixvolume.c:
1649 Remove g_volume_get_platform_id, as thats not
1650 needed with the simpler union volume monitor
1652 2007-10-31 Alexander Larsson <alexl@redhat.com>
1655 * gio/guniondrive.[ch]: Removed.
1656 * gio/gunionvolume.[ch]: Removed.
1657 Remove GUnionDrive/Volume
1659 * gio/gunionvolumemonitor.c:
1660 Simplify union volume monitor, now we
1661 only have one native volume monitor and
1662 we use the actual volumes/drives from the
1663 child monitors instead of wrapping them
1665 * gio/gnativevolumemonitor.[ch]:
1666 Base class for native volume monitors.
1667 Includes priority and get_volume_for_mountpoint
1670 Add g_file_find_enclosing_volume
1673 Remove volume name fs attribute
1674 Add readonly fs attribute
1677 Implement readonly attribute
1678 remove volume name attribute
1679 Implement find_enclosing volume
1681 * gio/gunixmounts.c:
1682 Add a volume for "/".
1684 * gio/gunixvolume.[ch]:
1685 Set better name for /
1687 * gio/gunixvolumemonitor.[ch]:
1688 Derive from GNativeVolumeMonitor
1689 Implement get_volume_for_mountpoint
1692 GVolume typedef moved to gfile.h
1694 * gio/gvolumeprivate.h:
1695 Add g_volume_get_for_mount_path
1697 2007-10-31 Alexander Larsson <alexl@redhat.com>
1699 * gio/gunixmounts.[ch]:
1700 Add cache info to unix mount listers
1701 Make getmntent use threadsafe
1702 Add is_system_internal attribute for GUnixMount
1704 * gio/gunixvolume.c:
1705 (g_unix_volume_new):
1706 Use is_system_internal instead of own code
1708 * gio/glocaldirectorymonitor.c:
1709 * gio/gunixvolumemonitor.c:
1710 Update to new gunixmounts API
1715 2007-10-30 Alexander Larsson <alexl@redhat.com>
1718 Add volume name fsinfo attribute
1721 Read volume name info
1723 * gio/gunionvolumemonitor.c:
1724 Fix infinite loops when finalizing a union volume monitor
1726 2007-10-30 Alexander Larsson <alexl@redhat.com>
1728 * gio/goutputstream.[ch]:
1729 Add splice() with default implementation
1731 * gio/gsocketoutputstream.c:
1732 (g_socket_output_stream_write):
1733 Return error on cancellation correctly.
1735 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1737 * gio/glocalfile.c (g_local_file_trash):
1738 Do not leak a string.
1740 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1742 * gio/gfile.c (g_file_load_contents):
1743 Unref the stream after closing it.
1745 2007-10-25 Alexander Larsson <alexl@redhat.com>
1747 * gio/gioscheduler.h:
1750 2007-10-25 Alexander Larsson <alexl@redhat.com>
1754 Add g_file_has_uri_scheme and implement for local files
1756 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1758 * gio/gdesktopappinfo.c: do not leak a string.
1760 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1762 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1763 (g_local_directory_monitor_new):
1764 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1765 (g_local_file_monitor_new):
1766 Only look for the monitor type that should be used the first time
1767 and use g_qsort_with_data() instead of our own bubble sort
1770 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1773 * gio/fam/Makefile.am:
1774 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1775 * gio/fam/fam-helper.h:
1776 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1777 * gio/fam/gfamdirectorymonitor.c:
1778 * gio/fam/gfamdirectorymonitor.h:
1779 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1780 * gio/fam/gfamfilemonitor.h:
1781 * gio/glocaldirectorymonitor.c:
1782 * gio/glocaldirectorymonitor.h:
1783 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1784 * gio/glocalfilemonitor.h:
1785 * gio/inotify/Makefile.am:
1786 * gio/inotify/ginotifydirectorymonitor.c:
1787 * gio/inotify/ginotifydirectorymonitor.h:
1788 * gio/inotify/ginotifyfilemonitor.c:
1789 * gio/inotify/ginotifyfilemonitor.h:
1790 Implement the FAM and Inotify monitors as
1791 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1792 their own GIO module. GLocal(Directory|File)Monitor will use the
1793 monitor with the highest rank that is supported on that machine.
1795 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1798 Change GIO module dir to $(libdir)/gio/modules and change
1799 the log domain from GVFS to GIO. Also only export symbols starting
1800 with g_ in the resulting library.
1801 * gio/test-streams.c: (main):
1802 Set log handler for the GIO log domain.
1804 2007-10-22 Alexander Larsson <alexl@redhat.com>
1806 * gio/gfilenamecompleter.[ch]:
1807 Add g_filename_completer_set_dirs_only
1809 2007-10-22 Alexander Larsson <alexl@redhat.com>
1812 * gio/gurifuncs.[ch]:
1813 Add some simple URI helpers
1815 * gio/gfilenamecompleter.[ch]:
1816 Added object for filename (parse name actually) completion
1819 Handle ~ in parse names
1821 2007-10-17 Alexander Larsson <alexl@redhat.com>
1824 * gio/glocalfileinfo.c:
1825 Add and implement id:value attribute
1827 2007-10-17 Alexander Larsson <alexl@redhat.com>
1830 * gio/guniondrive.c:
1832 Add and implement g_drive_has_volumes
1834 2007-10-17 Alexander Larsson <alexl@redhat.com>
1837 * gio/glocalfileinfo.[ch]:
1838 Add unix:is_mountpoint and implement for local files
1840 2007-10-16 Alexander Larsson <alexl@redhat.com>
1842 * gio/gunionvolumemonitor.c:
1843 (g_union_volume_monitor_init):
1844 Fix up the unix type getting so that it works with gcc
1846 2007-10-12 Alexander Larsson <alexl@redhat.com>
1849 * gio/glocalfileinfo.c:
1850 Add thumbnail:failed to file info
1852 2007-10-12 Richard Hult <richard@imendio.com>
1854 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1855 optimizing away the get_type call (happens with some gcc versions,
1856 like the one shipped with OS X 10.4).
1858 2007-10-12 Alexander Larsson <alexl@redhat.com>
1860 * gio/glocalfileinfo.c:
1861 (_g_local_file_info_set_attribute):
1862 Fix build if not HAVE_XATTR
1863 Patch from Milosz Derezynski <internalerror@gmail.com>
1865 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1867 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1868 around for review, otherwise I would have asked you before
1871 2007-10-11 Alexander Larsson <alexl@redhat.com>
1874 Add thumbnail:path attribute
1876 * gio/glocalfileinfo.c:
1877 Implement thumbnail:path for local files
1879 2007-10-11 Alexander Larsson <alexl@redhat.com>
1881 * gio/glocalfileinfo.c:
1882 (_g_local_file_info_get):
1883 Avoid duplicate icon names
1885 2007-10-11 Alexander Larsson <alexl@redhat.com>
1887 * gio/gthemedicon.[ch]:
1888 Change g_themed_icon_get_names return type to const
1890 2007-10-10 Alexander Larsson <alexl@redhat.com>
1892 * gio/glocalfileinfo.c:
1893 Don't reference freed memory
1895 2007-10-10 Alexander Larsson <alexl@redhat.com>
1897 * gio/gfileattribute.c:
1900 * gio/glocalfileinfo.c:
1903 2007-10-10 Alexander Larsson <alexl@redhat.com>
1906 Check for NULL icons
1908 * gio/gfileattribute.c:
1909 Don't dup when getting objects (same as for string attributes)
1911 * gio/gicon.c (g_icon_equal):
1912 Safely handle NULLs in equal
1914 2007-10-10 Alexander Larsson <alexl@redhat.com>
1917 Fix c++ compilation issues
1918 Patch from Milosz Derezynski <internalerror@gmail.com>
1920 2007-10-10 Alexander Larsson <alexl@redhat.com>
1922 * programs/gio-monitor-dir.c:
1923 Don't crash if dir monitor not supported.
1925 2007-10-09 Alexander Larsson <alexl@redhat.com>
1928 Add missing G_END_DECLS
1930 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1932 * gio/gfile.c: (g_file_set_display_name),
1933 (g_file_query_settable_attributes),
1934 (g_file_query_writable_namespaces):
1935 Return NULL not FALSE on errors as the return type is a pointer.
1937 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1939 * gio/glocalfile.c: (g_local_file_monitor_file):
1940 Don't call monitor_file on the default interface vtable (which
1941 is NULL) but simply return NULL. The caller, GFile, will create a
1942 polling monitor if NULL is returned.
1944 2007-10-09 Alexander Larsson <alexl@redhat.com>
1948 * gio-unix-2.0.pc.in:
1949 Add gio-unix-2.0.pc if OS_UNIX
1952 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1954 2007-10-09 Alexander Larsson <alexl@redhat.com>
1956 * gio/gunixmounts.[ch]:
1957 Make unix mount monitoring API sane.
1958 Now its just a object with mounts_changed
1959 and mountpoints_changed signals.
1961 * gio/glocaldirectorymonitor.c:
1962 * gio/gunixvolumemonitor.c:
1963 Use new mount monitor api
1965 2007-10-09 Alexander Larsson <alexl@redhat.com>
1967 * gio/gunixmounts.[ch]:
1968 Move guess type into one call for mounts and one for mountpoints
1971 * gio/gunixvolume.c:
1974 2007-10-09 Alexander Larsson <alexl@redhat.com>
1976 * gio/gunixmounts.[ch]:
1977 Remove _ prefix in preparation to make this semi-public
1978 Hide implementation of structs
1980 * gio/glocaldirectorymonitor.c:
1982 * gio/gunixvolume.c:
1983 * gio/gunixvolumemonitor.c:
1984 Update for above API changes
1986 2007-10-08 Alexander Larsson <alexl@redhat.com>
1989 Better polling fallback. This also handles the case where we have
1990 a monitor_file implementation, but it fails.
1992 2007-10-08 Alexander Larsson <alexl@redhat.com>
1996 * gio/gunixmounts.c:
1997 * programs/gio-monitor-dir.c:
1998 * programs/gio-monitor-file.c:
1999 Added cancellable to file monitoring calls.
2000 These are really sync calls and need this.
2002 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2004 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2005 (g_local_vfs_class_init):
2006 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2007 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2009 2007-10-05 Alexander Larsson <alexl@redhat.com>
2011 * gio/gdirectorymonitorprivate.h:
2012 * gio/gfilemonitorprivate.h:
2013 * gio/gdirectorymonitor.h:
2014 * gio/gfilemonitor.h:
2015 Remove *private.h and move to the public API, so that
2016 we can do implementations outside gio (such as in gvfs)
2018 * gio/gdirectorymonitor.c:
2019 * gio/gfilemonitor.c:
2020 * gio/glocaldirectorymonitor.c:
2021 * gio/gpollfilemonitor.c:
2022 * gio/inotify/inotify-helper.c:
2023 * gio/fam/fam-helper.c:
2024 Update to the new header names
2026 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2028 * gio/gdirectorymonitor.c:
2029 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2032 2007-10-04 Alexander Larsson <alexl@redhat.com>
2034 * gio/glocalfileinfo.c (get_access_rights):
2035 Set CAN_TRASH when we can move the file.
2036 We should really also check for a parent trash dir.
2038 2007-10-04 Alexander Larsson <alexl@redhat.com>
2040 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2041 Add can_trash access attribute
2043 2007-10-04 Alexander Larsson <alexl@redhat.com>
2046 (g_local_file_trash):
2047 Create info file first. This is per-spec and allows
2048 us to actually trash directories.
2050 2007-10-02 Alexander Larsson <alexl@redhat.com>
2052 * gio/gdesktopappinfo.c:
2053 Implement the new mime support code.
2054 Always set app as handling mimetype when being set as default for it
2056 2007-10-01 Alexander Larsson <alexl@redhat.com>
2058 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2059 Fix up check for xattrs:
2061 2007-10-01 Alexander Larsson <alexl@redhat.com>
2064 (g_app_info_set_as_default_for_extension):
2065 (g_app_info_add_supports_type):
2066 (g_app_info_can_remove_supports_type):
2067 (g_app_info_remove_supports_type):
2068 Make these fail nicely if not implemented
2070 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2072 * gio/glocalfileoutputstream.c:
2073 * gio/glocalfileoutputstream.h:
2078 * programs/gio-save.c:
2079 Add a GFileCreateFlags argument to operations that can create
2082 2007-10-01 Alexander Larsson <alexl@redhat.com>
2084 * gio/gappinfo.[ch]:
2085 * gio/gdesktopappinfo.c:
2086 Add more (stubbed out) mime API needed for nautilus
2088 2007-10-01 Alexander Larsson <alexl@redhat.com>
2091 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2092 Add g_app_info_set_as_default_for_extension.
2094 * gio/gdesktopappinfo.c:
2095 Dummy for g_app_info_set_as_default_for_extension
2096 Support flags in g_app_info_create_from_commandline
2098 * gio/gwin32appinfo.c:
2100 Update for API changes
2102 * gio/gthemedicon.c:
2103 Properly NULL-terminate list of icon names
2105 2007-09-28 Alexander Larsson <alexl@redhat.com>
2107 * gio/gloadableicon.h:
2108 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2110 2007-09-28 Alexander Larsson <alexl@redhat.com>
2113 Install headers in $includedir/gio-standalone/
2115 * gio-2.0.pc.in: Added.
2116 * gio-standalone.pc.in: Removed.
2119 Renamed pkg-config file to match glib (for future move)
2120 Update to the new include dir
2123 Add more TODO comments
2125 2007-09-28 Alexander Larsson <alexl@redhat.com>
2127 * gio/gdesktopappinfo.[ch]:
2128 Expose new_from_filename
2129 Add getter for is_hidden and handle it better
2131 2007-09-28 Alexander Larsson <alexl@redhat.com>
2133 * gio/gfileinfo.[ch]:
2134 Rename g_file_size_format_for_display to
2135 g_format_file_size_for_display.
2136 Now it doesn't have the g_file prefix, so we
2137 can later move it to glib.
2139 2007-09-28 Alexander Larsson <alexl@redhat.com>
2141 * gio/gappinfo.[ch]:
2142 Add g_app_info_get_id and g_app_info_get_executable.
2143 Make all getters non-reffing
2144 Make g_app_info_launch take GFile arguments.
2145 Add must_support_uris argument to g_app_info_get_default_for_type.
2147 * gio/gwin32appinfo.c:
2148 Update to GAppInfo api changes
2150 * gio/gdesktopappinfo.c:
2151 Update to GAppInfo api changes
2152 Implement supports_xdg_startup_notify
2154 * gio/gfileicon.c (g_file_icon_get_file):
2155 Make getter non-reffing.
2160 2007-09-27 Alexander Larsson <alexl@redhat.com>
2162 * gio/gfileinfo.[ch]:
2163 Add g_file_size_format_for_display helper
2165 2007-09-27 Alexander Larsson <alexl@redhat.com>
2167 * gio/glocalfileinfo.c:
2168 Set UNIX_GID from gid, not from uid
2170 2007-09-27 Alexander Larsson <alexl@redhat.com>
2173 Add g_file_set_attributes_async
2175 2007-09-27 Alexander Larsson <alexl@redhat.com>
2177 * gio/glocalfile.c (g_local_file_set_display_name):
2178 Fix set_display_name to actually rename to the right place.
2179 Use lstat to look for existing files so we don't overwrite
2182 2007-09-26 Alexander Larsson <alexl@redhat.com>
2185 Add g_file_set_display_name_async()
2187 2007-09-26 Alexander Larsson <alexl@redhat.com>
2190 Add load_partial_contents async calls
2193 Make internal function static
2195 2007-09-26 Alexander Larsson <alexl@redhat.com>
2197 * gio/glocalfileinfo.c:
2198 Correctly detect broken symlinks
2200 2007-09-26 Alexander Larsson <alexl@redhat.com>
2202 * gio/gcancellable.c (g_cancellable_cancel):
2203 Allow cancel on NULL cancellable
2205 2007-09-25 Alexander Larsson <alexl@redhat.com>
2207 * gio/gsimpleasyncresult.c:
2208 Don't allocate g_error manually.
2209 Fixes g_slice/g_new mixup crash
2211 2007-09-25 Alexander Larsson <alexl@redhat.com>
2213 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2214 Actually set active_backend.
2215 This means the monitor will be cancelled correctly.
2217 2007-09-25 Alexander Larsson <alexl@redhat.com>
2219 * gio/gdirectorymonitor.c:
2220 Set timeout to NULL when destroying
2222 2007-09-25 Alexander Larsson <alexl@redhat.com>
2225 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2226 that is a better description of the error.
2228 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2230 * gio/gvfs.c: (g_vfs_get_local):
2231 Make the local vfs variable static. The same instance should
2234 2007-09-24 Alexander Larsson <alexl@redhat.com>
2236 * gio/glocalfileinfo.c:
2237 Pass in actual length read into sniffer, not the length
2240 2007-09-21 Alexander Larsson <alexl@redhat.com>
2242 * gio/gfileenumerator.c:
2245 * gio/gfileinputstream.c:
2246 * gio/gfileoutputstream.c:
2247 * gio/ginputstream.c:
2248 * gio/goutputstream.c:
2249 Don't crash if async callbacks are NULL
2251 2007-09-20 Alexander Larsson <alexl@redhat.com>
2254 Add async enumerate_children method and default
2257 2007-09-20 Alexander Larsson <alexl@redhat.com>
2260 Add g_file_contains_file & g_file_get_relative_path, since they
2261 were needed for nautilus.
2262 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2267 Implement new methods
2269 2007-09-17 Alexander Larsson <alexl@redhat.com>
2272 * gio/gfileinputstream.[ch]:
2273 * gio/gfileoutputstream.[ch]:
2275 * gio/glocalfileenumerator.[ch]:
2276 * gio/glocalfileinfo.[ch]:
2277 * gio/glocalfileinputstream.c:
2278 * gio/glocalfileoutputstream.c:
2279 * gio/gpollfilemonitor.c:
2280 * programs/gio-copy.c:
2281 * programs/gio-info.c:
2282 * programs/gio-move.c:
2283 Rename get_file_info to query_info() to make it clearer
2284 that these are not simple getters, but do i/o.
2286 2007-09-17 Alexander Larsson <alexl@redhat.com>
2288 * gio/gdatainputstream.[ch]:
2289 * gio/test-streams.c:
2290 Use _read_XXX instead of _get_XXX for the i/o calls
2293 2007-09-17 Alexander Larsson <alexl@redhat.com>
2296 Added needed stuff to TODO comment
2298 2007-09-17 Alexander Larsson <alexl@redhat.com>
2300 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2301 Don't error out removing the backup copy if it doesn't
2304 2007-09-14 Alexander Larsson <alexl@redhat.com>
2306 * programs/Makefile.am:
2307 * programs/gvfs-*.c:
2309 Renamed apps from gvfs-xxx to gio-xxx.
2311 2007-09-14 Alexander Larsson <alexl@redhat.com>
2314 * gio/gfileoutputstream.[ch]:
2315 * gio/glocalfileoutputstream.c:
2316 * programs/gvfs-save.c:
2317 g_file_output_stream_get_etag doesn't do i/o, so remove
2318 cancellation and error.
2320 2007-09-14 Alexander Larsson <alexl@redhat.com>
2323 Add new_etag output to replace_contents functions
2325 2007-09-14 Alexander Larsson <alexl@redhat.com>
2327 * gio/gfileoutputstream.[ch]:
2328 Add async get_file_info and default implementation
2330 2007-09-14 Alexander Larsson <alexl@redhat.com>
2332 * gio/gfileinputstream.c:
2333 Implement fallback wrapper for async get_file_info
2335 2007-09-14 Alexander Larsson <alexl@redhat.com>
2338 Add etag out argument to load_contents
2343 2007-09-14 Alexander Larsson <alexl@redhat.com>
2345 * gio/gcontenttype.c (looks_like_text):
2346 Whitespace like tab, cr and lf do not make the
2349 2007-09-14 Alexander Larsson <alexl@redhat.com>
2351 * gio/gfileinputstream.[ch]:
2352 Add async get_file_info.
2354 2007-09-13 Alexander Larsson <alexl@redhat.com>
2356 * gio/goutputstream.c (g_output_stream_write_all):
2357 Allow NULL for bytes_written
2359 2007-09-13 Alexander Larsson <alexl@redhat.com>
2361 * gio/gmemoryinputstream.[ch]:
2362 Add accessors for data
2364 2007-09-13 Alexander Larsson <alexl@redhat.com>
2366 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2367 Don't crash if length is NULL