1 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
4 * inotify/Makefile.am: Fixed build when srcdir != builddir,
5 made mkenums and friends use temporary files to avoid leaving
6 empty generated files on failure (#503470).
8 2007-12-14 Alexander Larsson <alexl@redhat.com>
13 2007-12-14 Alexander Larsson <alexl@redhat.com>
17 * gfileattribute.[ch]:
20 * glocalfileoutputstream.c:
21 * gmountoperation.[ch]:
23 Clean up all flags enums to not have _FLAGS in them
24 Make the names of some of the enums better.
29 2007-12-14 Michael Natterer <mitch@imendio.com>
31 * gio.symbols: fix g_io_scheduler symbol names.
33 2007-12-14 Alexander Larsson <alexl@redhat.com>
39 * gbufferedinputstream.h:
40 * gbufferedoutputstream.h:
44 * gdataoutputstream.h:
46 * gdirectorymonitor.h:
55 * gfilenamecompleter.h:
56 * gfileoutputstream.h:
57 * gfilterinputstream.h:
58 * gfilteroutputstream.h:
66 * gmemoryinputstream.h:
67 * gmemoryoutputstream.h:
72 * gsimpleasyncresult.h:
76 * gunixoutputstream.h:
80 * inotify/Makefile.am:
81 Only allow including <gio/gio.h> from apps
83 2007-12-14 Alexander Larsson <alexl@redhat.com>
86 * gsimpleasyncresult.c:
87 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
88 Split out the send_to_mainloop call into two versions instead
89 of having the block argument.
91 2007-12-13 Alexander Larsson <alexl@redhat.com>
95 * gbufferedinputstream.c:
98 * gfileoutputstream.c:
102 g_push/pop_current_cancellable ->
103 g_cancellable_push/pop_current
105 2007-12-13 Alexander Larsson <alexl@redhat.com>
109 Rename g_mount_for_location to g_file_mount_enclosing_volume.
111 2007-12-13 Alexander Larsson <alexl@redhat.com>
114 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
116 2007-12-12 Alexander Larsson <alexl@redhat.com>
119 Fix race condition when freeing proxy in
120 g_io_job_send_to_mainloop().
122 2007-12-12 Alexander Larsson <alexl@redhat.com>
128 Make attribute namespace separator "::" instead of ":".
129 Use - instead of _ as separator in attribute names.
131 2007-12-12 Alexander Larsson <alexl@redhat.com>
133 * gbufferedinputstream.h:
134 * gbufferedoutputstream.h:
135 * gdatainputstream.h:
136 * gdataoutputstream.h:
137 * gdirectorymonitor.h:
139 * gfileinputstream.h:
141 * gfileoutputstream.h:
142 * gfilterinputstream.h:
143 * gfilteroutputstream.h:
145 * glocalfileinputstream.h:
146 * glocalfileoutputstream.h:
147 * gmemoryinputstream.h:
148 * gmemoryoutputstream.h:
149 * gnativevolumemonitor.h:
151 * gunixinputstream.h:
152 * gunixoutputstream.h:
155 s/parent/parent_instance/ in GObjects
157 2007-12-12 Alexander Larsson <alexl@redhat.com>
162 No need for padding for interfaces
164 2007-12-12 Alexander Larsson <alexl@redhat.com>
168 * gbufferedinputstream.c:
169 * gbufferedoutputstream.c:
172 * gdatainputstream.[ch]:
174 * gdirectorymonitor.c:
176 * gfileattribute.[ch]:
179 * gfileinputstream.h:
181 * gfileoutputstream.[ch]:
182 * gfilterinputstream.h:
183 * gfilteroutputstream.h:
186 * gloadableicon.[ch]:
187 * gmemoryinputstream.c:
190 Fix up a bunch of details in the docs.
195 2007-12-11 David Zeuthen <davidz@redhat.com>
197 Rework how volumes, drives and volume monitoring is
198 done. Previosly the model was
202 where a GDrive instance represented a mount point and a GVolume
203 instance represented a mounted file system. This patch changes it
206 GDrive <1-N> GVolume <1-1> GMount
208 where GMount now serves the purpose of the old GVolume and the new
209 GVolume serves the purpose of the old GDrive. In addition the new
210 GDrive interface is used to represent a collection of GVolume
211 instances (typically partitions) and also contains utility to query
212 the state of the physical drive the GDrive object represents (such
213 as checking for media, polling the drive, ejecting the media etc.).
215 Also implement mounting and unmounting in the Unix volume monitor
216 backend. A subquent patch will introduce GDrive support for ejection
220 * gdrive.c: (g_drive_is_media_check_automatic),
221 (g_drive_is_media_removable), (g_drive_has_media),
222 (g_drive_can_poll_for_media), (g_drive_eject),
223 (g_drive_eject_finish), (g_drive_poll_for_media),
224 (g_drive_poll_for_media_finish):
226 * gfile.c: (g_file_find_enclosing_mount):
229 * glocaldirectorymonitor.c:
230 (g_local_directory_monitor_constructor), (mounts_changed):
231 * glocalfile.c: (get_mount_info),
232 (g_local_file_find_enclosing_mount),
233 (g_local_file_file_iface_init):
234 * gnativevolumemonitor.h:
235 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
236 (get_connected_drives), (g_union_volume_monitor_class_init),
237 (child_volume_added), (child_volume_removed),
238 (child_volume_changed), (child_mount_added), (child_mount_removed),
239 (child_mount_pre_unmount), (child_mount_changed),
240 (child_drive_changed), (g_union_volume_monitor_add_monitor),
241 (g_union_volume_monitor_remove_monitor),
242 (_g_mount_get_for_mount_path):
243 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
244 (guess_system_internal), (_g_get_unix_mounts),
245 (_g_get_unix_mount_points), (g_get_unix_mount_at),
246 (g_unix_mount_free), (g_unix_mount_compare),
247 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
248 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
249 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
250 (type_to_icon), (g_unix_mount_guess_name),
251 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
252 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
253 (_resolve_symlink), (_resolve_dev_root):
255 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
256 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
257 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
258 (g_unix_volume_get_name), (g_unix_volume_can_mount),
259 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
260 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
261 (g_unix_volume_mount), (g_unix_volume_mount_finish),
262 (g_unix_volume_volume_iface_init):
264 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
265 (get_mounts), (get_volumes), (get_connected_drives),
266 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
267 (mountpoints_changed), (mounts_changed),
268 (g_unix_volume_monitor_init),
269 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
270 (find_mount_by_mountpath), (update_volumes), (update_mounts):
271 * gunixvolumemonitor.h:
272 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
273 (g_volume_mount), (g_volume_mount_finish):
275 * gvolumemonitor.c: (g_volume_monitor_class_init),
276 (g_volume_monitor_get_connected_drives),
277 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
280 2007-12-10 Matthias Clasen <mclasen@redhat.com>
282 * gmountoperation.h (GPasswordFlags): Close the gap
284 2007-12-10 Matthias Clasen <mclasen@redhat.com>
286 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
288 * gdesktopappinfo.[hc]: Remove _-prefixes
290 2007-12-10 Tor Lillqvist <tml@novell.com>
292 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
295 2007-12-10 Alexander Larsson <alexl@redhat.com>
297 * gfile.c (g_file_set_display_name):
298 Don't hardcode '/' (#502727)
300 2007-12-09 Hans Breuer <hans@breuer.org>
302 * makefile.msc : follow lib naming convention
303 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
304 for user and group name, tested with ../tests/gio-ls
306 2007-12-09 A. Walton <awalton@svn.gnome.org>
319 * gmemoryinputstream.c:
320 * gmemoryoutputstream.c:
322 * gsimpleasyncresult.c:
323 More documentation cleanup and filling in missing information, bringing
324 GIO to 99% symbol coverage.
326 2007-12-08 Hans Breuer <hans@breuer.org>
328 [gio compiles and links on win32, not sure how much already works]
329 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
330 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
331 base on win32 API; prefer g_lstat() over lstat(); instead of
332 localtime_r() use an all GLib implementation on win32;
333 get_mount_info() still needs a win32 specifc implementation
334 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
335 win32_get_file_user_info to get owner/group info without uid/gid
336 * glocalfileinputstream.c : include <io.h> on win32
337 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
338 definition, use g_win32_ftruncate() for G_OS_WIN32
339 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
340 it is available with mingw/w32api but a mess with the M$ Platform SDKs
341 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
342 * makefile.msc : updated
344 2007-12-07 Alexander Larsson <alexl@redhat.com>
346 * glocalfileenumerator.c (_g_local_file_enumerator_new):
347 Avoid warning spew if error == NULL
349 2007-12-07 Alexander Larsson <alexl@redhat.com>
352 Update docs wrt etags
354 2007-12-06 Alexander Larsson <alexl@redhat.com>
357 Include sys/types.h for dev_t (#501919)
359 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
363 Make abicheck and pltcheck pass.
365 2007-12-05 Alexander Larsson <alexl@redhat.com>
368 * giomodule-priv.h: Added.
369 * glocaldirectorymonitor.c:
370 * glocalfilemonitor.c:
371 * gunionvolumemonitor.c:
373 Actually add the declaration of _g_io_modules_ensure_loaded
375 2007-12-05 Alexander Larsson <alexl@redhat.com>
377 * gdatainputstream.c:
382 * glocaldirectorymonitor.c:
383 * glocalfilemonitor.c:
384 * gunionvolumemonitor.c:
386 Make g_io_modules_ensure_loaded a private function and
387 don't pass in the dirname. This means we can do magic
388 directory finding in the win32 version.
389 Export the actual load-modules-in-directory code so that
392 2007-12-05 Alexander Larsson <alexl@redhat.com>
394 * gbufferedinputstream.c:
395 * gbufferedoutputstream.c:
398 * gfileenumerator.[ch]:
399 * gfileinputstream.c:
400 * gfileoutputstream.[ch]:
401 * gfilterinputstream.c:
402 * gfilteroutputstream.c:
405 * glocalfileenumerator.c:
406 * glocalfileinputstream.c:
407 * glocalfileoutputstream.c:
408 * gmemoryinputstream.c:
409 * gmemoryoutputstream.c:
410 * goutputstream.[ch]:
413 * gunixinputstream.c:
414 * gunixoutputstream.c:
415 Rename all struct members named:
416 read, write, close, truncate, or mount
417 to foo_fn, as these are reserved names
418 and could be defined as macros in libc.
421 2007-12-04 Alexander Larsson <alexl@redhat.com>
424 (g_output_stream_close):
425 Only call flush if non-null.
427 2007-11-30 Dan Winship <danw@gnome.org>
429 * ginputstream.c (g_input_stream_set_pending): Make this take a
430 GError and return a gboolean, and do the "outstanding operation"
431 check (and the "stream is already closed" check) itself.
432 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
434 * goutputstream.c (g_output_stream_set_pending)
435 (g_output_stream_clear_pending): Likewise
437 * gbufferedinputstream.c:
438 * gfileinputstream.c:
439 * gfileoutputstream.c: Update for that
441 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
442 Like g_simple_async_report_error_in_idle, but takes a GError
443 rather than building one.
445 2007-11-30 Dan Winship <danw@gnome.org>
447 * goutputstream.c: Don't cheat and unset the "pending" flag around
448 inner calls. Instead, call the class method directly rather than
449 the wrapper function that checks "pending"
451 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
453 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
455 2007-12-03 Hans Breuer <hans@breuer.org>
457 [start of port to win32/msvc]
458 * gcancellable.c : HAVE_UNIST_H and _pipe()
459 * gcontenttype.c : only include <dirent.h> in the UNIX branch
460 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
461 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
463 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
464 * glocalvfs.c : use HAVE_PWD_H
465 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
466 * makefile.msc : new file (maybe later converted to makefile.msc.in)
467 * Makefile.am : added to EXTRA_DIST
469 2007-12-03 Matthias Clasen <mclasen@redhat.com>
471 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
474 2007-12-03 Alexander Larsson <alexl@redhat.com>
477 Handle OSX style xattrs API (#500506)
479 2007-12-03 Alexander Larsson <alexl@redhat.com>
483 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
485 2007-12-02 A. Walton <awalton@svn.gnome.org>
489 Documentation accuracy fixes.
491 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
493 * gioenumtypes.c.template: Fix typo.
495 2007-12-01 Matthias Clasen <mclasen@redhat.com>
497 * gioenumtypes.c.template: Make threadsafe get_type() functions.
499 2007-12-01 Matthias Clasen <mclasen@redhat.com>
501 * gdirectorymonitor.c:
502 * gfilemonitor.c: Add properties
504 * gbufferedoutputstream.c: Don't mark buffer-size property
507 2007-12-01 Matthias Clasen <mclasen@redhat.com>
509 * gbufferedoutputstream.c: Add auto-grow property.
511 2007-11-30 Matthias Clasen <mclasen@redhat.com>
513 * *.c: Unify the capitalization of section headings.
515 2007-11-30 Matthias Clasen <mclasen@redhat.com>
517 * gmountoperation.c: Add properties
519 * gdatainputstream.c: Turn byte-order and newline-type into
522 2007-11-30 Matthias Clasen <mclasen@redhat.com>
524 * gioenumtypes.[hc].template: Templates for enum registration
526 * Makefile.am: Generate gioenumtypes.[hc]
528 * gio.h: Include gioenumtypes.h
530 * gfile.h: Add some explicit nicks.
532 * gio.symbols: Add new symbols
534 * pltcheck.sh: Adjust
536 2007-11-30 Matthias Clasen <mclasen@redhat.com>
538 * *.c: Explain etags and link to the explanation
540 2007-11-29 Matthias Clasen <mclasen@redhat.com>
542 * *.c: Explain I/O priority.
544 * *.c: More coding style fixes.
546 2007-11-29 Matthias Clasen <mclasen@redhat.com>
548 * gasyncresult.c: Add another paragraph to the intro,
549 adjust coding style of example.
551 2007-11-29 A. Walton <awalton@svn.gnome.org>
554 Fixes unknown meaning in GAppLaunchContext docs.
556 Clarify asynchronous ops.
561 Provides missing gtk-doc section, fixes API docs slighly.
562 * gsimpleasyncresult.c:
563 Fill in missing info in docs.
564 * gunixinputstream.c:
565 * gunixoutputstream.c:
566 Be more expressive in short description.
568 Remove gtk-doc stubs for non-public API.
570 2007-11-28 Matthias Clasen <mclasen@redhat.com>
572 * *.c: Coding style fixups
574 2007-11-28 Matthias Clasen <mclasen@redhat.com>
576 * inotify/inotify-helper.c: Don't export the lock from libgio.
578 2007-11-28 Matthias Clasen <mclasen@redhat.com>
581 * abicheck.sh: Fix copy-and-paste leftovers
583 2007-11-28 Matthias Clasen <mclasen@redhat.com>
585 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
587 2007-11-28 Alexander Larsson <alexl@redhat.com>
591 Removed unnecessary file
593 * gdesktopappinfo.[ch]:
596 * glocaldirectorymonitor.[ch]:
598 * glocalfileenumerator.[ch]:
599 * glocalfileinputstream.[ch]:
600 * glocalfilemonitor.[ch]:
601 * glocalfileoutputstream.[ch]:
603 * gnativevolumemonitor.c:
604 * gpollfilemonitor.[ch]:
605 * gunionvolumemonitor.[ch]:
608 * gunixvolumemonitor.[ch]:
611 * inotify/ginotifydirectorymonitor.[ch]:
612 * inotify/ginotifyfilemonitor.[ch]:
613 * inotify/inotify-helper.c:
614 Append _ to all internal functions
618 Export symbols needed for modules
620 2007-11-28 Alexander Larsson <alexl@redhat.com>
623 * abicheck.sh: Added.
624 * makegioalias.pl: Added.
625 * pltcheck.sh: Added.
626 * gio.symbols: Added.
629 Initial work on adding symbol handling.
632 Correct ifdef guard name
635 * inotify/Makefile.am:
636 * xdgmime/Makefile.am:
637 Include toplevel Makefile.decl
639 2007-11-27 Matthias Clasen <mclasen@redhat.com>
641 * gcontenttype.c: Move doc comments to the unix section.
643 * *.[hc]: More trivial doc corrections.
645 2007-11-27 Matthias Clasen <mclasen@redhat.com>
647 * gpollfilemonitor.c:
656 * gdatainputstream.c:
657 * gdatainputstream.h:
658 * gdataoutputstream.c:
659 * gdataoutputstream.h:
660 * gfileinfo.h: Doc cleanups
662 2007-11-28 Andre Klapper <a9016009@gmx.de>
664 * gdesktopappinfo.c: Fix a typo.
666 2007-11-27 Andre Klapper <a9016009@gmx.de>
668 * glocalfileoutputstream.c: Fix a typo.
670 2007-11-27 Alexander Larsson <alexl@redhat.com>
673 Don't include removed headers
675 2007-11-27 Alexander Larsson <alexl@redhat.com>
678 * gsocketinputstream.[ch]: Removed.
679 * gsocketoutputstream.[ch]: Removed.
680 * gunixinputstream.[ch]: Added.
681 * gunixoutputstream.[ch]: Added.
682 Renamed GSocket*Stream to GUnix*Stream and made
683 it unix-only, since its not really only for sockets
684 and it only works on unix (but is highly useful there).
686 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
692 * gbufferedinputstream.c:
693 * gbufferedinputstream.h:
694 * gbufferedoutputstream.c:
695 * gbufferedoutputstream.h:
699 * gdatainputstream.c:
700 * gdatainputstream.h:
701 * gdataoutputstream.c:
702 * gdataoutputstream.h:
703 * gdirectorymonitor.c:
704 * gdirectorymonitor.h:
717 * gfileinputstream.c:
718 * gfileinputstream.h:
721 * gfilenamecompleter.c:
722 * gfilenamecompleter.h:
723 * gfileoutputstream.c:
724 * gfileoutputstream.h:
725 * gfilterinputstream.c:
726 * gfilterinputstream.h:
727 * gfilteroutputstream.c:
728 * gfilteroutputstream.h:
741 * glocalfileoutputstream.c:
742 * gmemoryinputstream.c:
743 * gmemoryinputstream.h:
744 * gmemoryoutputstream.c:
745 * gmemoryoutputstream.h:
750 * gpollfilemonitor.c:
753 * gsimpleasyncresult.c:
754 * gsimpleasyncresult.h:
755 * gsocketinputstream.c:
756 * gsocketinputstream.h:
757 * gsocketoutputstream.c:
758 * gsocketoutputstream.h:
765 * gunixvolumemonitor.c:
774 Bumps documentation to 93% symbol coverage, touching most
775 of the public files. Fixes broken function documentation prototypes.
776 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
777 gtk-doc headers in private files.
779 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
781 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
782 (g_buffered_input_stream_read_byte):
783 * gbufferedinputstream.h:
784 New functions for efficient access to buffer and simple single byte
787 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
788 (g_data_input_stream_read_until):
789 * gdatainputstream.h:
790 Use peek_buffer to avoid memcpy in scan_for_newline, implement
791 read_until with multiple stop chars.
793 2007-11-27 Alexander Larsson <alexl@redhat.com>
797 * inotify/Makefile.am:
798 Use the user-specified giomoduledir
800 2007-11-27 Alexander Larsson <alexl@redhat.com>
804 Add catch-all gio.h header
805 Don't install gdummyfile.h
807 2007-11-26 Alexander Larsson <alexl@redhat.com>
809 * Makefile.am (gioinclude_HEADERS):
810 Remove trailing whitespace
812 2007-11-26 Alexander Larsson <alexl@redhat.com>
814 Merge gio-standalone into glib
816 2007-11-25 Christian Kellner <gicmo@gnome.org>
818 * gio/goutputstream.c:
819 Fix small mistake in the docs.
821 2007-11-21 Christian Persch <chpe@gnome.org>
823 * gio/glocalfile.c: (g_local_file_trash):
824 Convert filenames to UTF-8 for GError.
825 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
826 as per xdg base dir spec.
828 2007-11-21 Christian Persch <chpe@gnome.org>
830 * gio/gdesktopappinfo.c:
831 Use that g_key_file_to_data cannot fail.
833 Use stock defines for the key file group and key names.
836 2007-11-21 Alexander Larsson <alexl@redhat.com>
839 (copy_stream_with_progress):
840 Make sure we do a final progress callback with
843 2007-11-21 Alexander Larsson <alexl@redhat.com>
846 Export g_file_copy_attributes
847 Remove padding as its not needed for interfaces
849 2007-11-20 Alexander Larsson <alexl@redhat.com>
854 Add G_IO_ERROR_WOULD_MERGE for
855 copy/move dir on dir with overwrite.
857 2007-11-20 Alexander Larsson <alexl@redhat.com>
860 * gio/glocalfileinfo.c:
861 Add COPY_NAME (this is an optional
862 non-modified utf8 version of the name) that
865 2007-11-20 Alexander Larsson <alexl@redhat.com>
867 * gio/glocalfileenumerator.c:
868 Report errors as GIOError, not GFileError
870 2007-11-16 Alexander Larsson <alexl@redhat.com>
872 * gio/glocalfileoutputstream.c:
873 * gio/gwin32appinfo.c:
874 Fix typos in strings.
875 Patch from Luca Ferretti <elle.uca@libero.it>
877 2007-11-15 Alexander Larsson <alexl@redhat.com>
880 Post release version bump
882 === gio-standalone 0.1.2 ===
884 2007-11-15 Alexander Larsson <alexl@redhat.com>
886 * docs/reference/gio/Makefile.am:
887 Fix up distcheck by removing weird
893 2007-11-14 Alexander Larsson <alexl@redhat.com>
895 * gio/gdesktopappinfo.c:
896 * gio/glocaldirectorymonitor.c:
898 * gio/glocalfileinfo.c:
899 * gio/inotify/inotify-sub.c:
900 * programs/gio-cat.c:
901 * programs/gio-copy.c:
902 * programs/gio-info.c:
904 * programs/gio-monitor-dir.c:
905 * programs/gio-monitor-file.c:
906 * programs/gio-mount.c:
907 * programs/gio-move.c:
909 * programs/gio-save.c:
910 * programs/gio-trash.c:
911 Leak fixes from Kjartan Maraas
913 2007-11-14 Alexander Larsson <alexl@redhat.com>
915 * gio/fam/fam-helper.c:
917 * gio/glocalfileinfo.c:
921 * gio/inotify/inotify-diag.c:
922 * gio/inotify/inotify-kernel.c:
923 Various code cleanups from Kjartan Maraas
925 2007-11-14 Alexander Larsson <alexl@redhat.com>
927 * gio/gioscheduler.c:
929 Set up threadpool so that we cache 2 unused
930 idle threads for at 15 secs. This means we
931 will reuse thread-local data (like dbus connections)
934 2007-11-14 Alexander Larsson <alexl@redhat.com>
936 * gio/fam/fam-helper.c:
937 * gio/fam/gfamdirectorymonitor.c:
938 * gio/fam/gfamfilemonitor.c:
940 * gio/gcontenttype.c:
941 * gio/gdatainputstream.c:
942 * gio/gdataoutputstream.c:
946 * gio/gfileattribute.h:
947 * gio/gfileenumerator.c:
949 * gio/ginputstream.c:
952 * gio/glocalfileinfo.c:
953 * gio/goutputstream.c:
954 * gio/gpollfilemonitor.c:
955 * gio/gsimpleasyncresult.c:
958 * gio/inotify/ginotifydirectorymonitor.c:
959 * gio/inotify/ginotifyfilemonitor.c:
960 * gio/inotify/inotify-diag.c:
961 * gio/inotify/inotify-kernel.c:
962 * gio/inotify/inotify-path.c:
964 * gio/test-streams.c:
965 * programs/gio-info.c:
966 * programs/gio-monitor-dir.c:
967 * programs/gio-monitor-file.c:
968 Various code cleanups from Kjartan Maraas
970 2007-11-13 Alexander Larsson <alexl@redhat.com>
973 Handle the uri-scheme calls for dummy files
975 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
977 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
978 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
979 to avoid clash with the C++ keyword.
981 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
983 * gio/glocalfileinfo.c: Build fix, added missing semicolon
984 to an ifdef'ed call to getpwuid() in lookup_uid_data().
986 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
988 * gio/glocaldirectorymonitor.c:
989 * gio/glocalfilemonitor.c:
990 * gio/gunionvolumemonitor.c:
991 Don't use g_once_init_*() for initializations that could fail and
992 could leave the initialization variable set to 0 but use GOnce.
993 This prevents a deadlock on the second call when trying to create
994 a monitor and no monitor type is available. Thanks to Sven Herzberg
997 2007-11-11 Sven Herzberg <sven@imendio.com>
999 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1000 #ifdef (make it work on MacOS X again)
1002 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1004 Fixes Changelog for last two commits (sorry guys).
1006 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1008 * gio/gbufferedinputstream.c:
1009 * gio/gdatainputstream.c:
1011 * gio/gfileoutputstream.c:
1012 * gio/gfilterinputstream.c:
1013 * gio/glocalfileinputstream.c:
1016 More consistency fixes in g*stream.c files.
1017 Significant clean of gfile's documentation, filling in of
1018 asynchronous operations documentation.
1020 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1022 * gio/gasyncresult.c:
1023 * gio/gbufferedinputstream.c:
1024 * gio/gbufferedoutputstream.c:
1025 * gio/gcancellable.c:
1026 * gio/gcontenttype.c:
1027 * gio/gdatainputstream.c:
1028 * gio/gdataoutputstream.c:
1029 * gio/gdesktopappinfo.c:
1032 * gio/gfileattribute.c:
1033 * gio/gio/gfileenumerator.c:
1035 * gio/gfileinputstream.c:
1036 * gio/gfilemonitor.c:
1037 * gio/gfileoutputstream.c:
1038 * gio/ginputstream.c:
1040 * gio/gioscheduler.c:
1041 * gio/gloadableicon.c:
1042 * gio/glocalfileoutputstream.c:
1043 * gio/gmemoryoutputstream.c:
1044 * gio/gmountoperation.c:
1045 * gio/goutputstream.c:
1047 * gio/gsimpleasyncresult.c:
1048 * gio/gunionvolumemonitor.c:
1049 * gio/gunixmounts.c:
1050 * gio/gunixvolume.c:
1054 * gio/gvolumemonitor.c:
1055 Updated documentation stubs, working towards consistency and
1058 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1060 * gio/gmemoryoutputstream.c:
1061 * gio/gmemoryoutputstream.h:
1062 Change g_memory_output_stream_set_free_on_close() to
1063 g_memory_output_stream_set_free_data() as this makes more sense and
1064 is more consistent with GMemoryInputStream.
1066 2007-11-07 Alexander Larsson <alexl@redhat.com>
1073 Change how we find the default vfs so that
1074 we can handle a gvfs failing to init
1076 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1078 * gio/gbufferedoutputstream.c:
1079 * gio/gdatainputstream.c:
1080 * gio/gdataoutputstream.c:
1081 * gio/gfileinputstream.c:
1082 * gio/gfileoutputstream.c:
1083 * gio/gfilterinputstream.c:
1084 * gio/gfilteroutputstream.c:
1085 * gio/ginputstream.c:
1086 * gio/gmemoryinputstream.c:
1087 * gio/gmemoryoutputstream.c:
1088 * gio/goutputstream.c:
1089 * gio/gsimpleasyncresult.c:
1090 * gio/gsocketinputstream.c:
1091 * gio/gsocketoutputstream.c:
1092 Add guards to the remaining public functions, add a TODO for
1093 an unimplemented function and remove some useless guards.
1095 2007-11-07 Alexander Larsson <alexl@redhat.com>
1098 Autoconf checks for the various types of
1099 getpwuid_r and getgrgid_r
1101 * gio/glocalfileinfo.c:
1102 Use the autoconf checks from above
1104 2007-11-07 Alexander Larsson <alexl@redhat.com>
1107 (g_local_file_query_filesystem_info):
1108 Some fixes for the statvfs case
1110 2007-11-07 Alexander Larsson <alexl@redhat.com>
1113 (g_local_file_query_filesystem_info):
1114 Pick the "best" of statfs / statvfs for the system
1115 if both are availible.
1117 2007-11-07 Alexander Larsson <alexl@redhat.com>
1119 Solaris fixes from Halton.Huo@Sun.COM:
1126 * gio/glocalfileinfo.c:
1127 Fix for solaris definition of getpwuid_r
1129 * gio/test-streams.c:
1130 Use G_GNUC_PRETTY_FUNCTION
1132 2007-11-07 Alexander Larsson <alexl@redhat.com>
1134 * gio/gdesktopappinfo.c:
1135 (update_default_list):
1136 Remove double semicolon.
1137 Patch from Jens Granseuer
1139 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1141 * docs/reference/gio/gio-sections.txt:
1142 * gio/gbufferedinputstream.c:
1143 * gio/gbufferedinputstream.h:
1144 * gio/gdatainputstream.c:
1145 * gio/gfileenumerator.c:
1146 * gio/gioscheduler.c:
1147 * gio/gunionvolumemonitor.c:
1149 * programs/gio-save.c:
1150 Fix typo: availible -> available. Unfortuntely this breaks API
1151 and ABI as g_buffered_input_stream_get_available() was renamed.
1153 * gio/gunixmounts.c:
1154 * gio/gbufferedinputstream.c:
1155 Add guards for public functions.
1157 2007-11-06 Ross Burton <ross@openedhand.com>
1159 * docs/reference/gio/Makefile.am:
1160 Fix invalid += usage which automake 1.10 doesn't like.
1162 2007-11-06 Alexander Larsson <alexl@redhat.com>
1165 (g_app_launch_context_class_init):
1168 Patch from Ross Burton
1170 2007-11-06 Alexander Larsson <alexl@redhat.com>
1173 Post release version bump
1175 === gio-standalone 0.1.1 ===
1177 2007-11-06 Alexander Larsson <alexl@redhat.com>
1180 Bump version to 0.1.1
1182 * gio/gsimpleasyncresult.c:
1183 (g_simple_async_result_set_from_error):
1184 Remove bogus g_return_if_fail
1186 2007-11-06 Alexander Larsson <alexl@redhat.com>
1189 The name is gio-standalone
1192 Add top src/builddir to includedir
1194 2007-11-06 Alexander Larsson <alexl@redhat.com>
1196 * docs/reference/gio/gio-sections.txt:
1198 * gio/gbufferedinputstream.c:
1199 * gio/gbufferedoutputstream.c:
1200 * gio/gcancellable.c:
1201 * gio/gdatainputstream.h:
1202 * gio/gdataoutputstream.c:
1203 * gio/gdataoutputstream.h:
1204 * gio/gdirectorymonitor.c:
1206 * gio/gfileattribute.c:
1207 * gio/gfileattribute.h:
1208 * gio/gfileenumerator.c:
1209 * gio/gfileenumerator.h:
1212 * gio/gfileinputstream.h:
1213 * gio/gfilemonitor.c:
1214 * gio/gfileoutputstream.h:
1215 * gio/glocalfilemonitor.h:
1216 * gio/glocalfileoutputstream.h:
1217 * gio/gmemoryinputstream.c:
1218 * gio/gmemoryoutputstream.c:
1219 * gio/gmountoperation.c:
1220 * gio/goutputstream.c:
1221 * gio/goutputstream.h:
1223 * gio/gsimpleasyncresult.c:
1224 * gio/gunixmounts.c:
1225 * gio/gunixmounts.h:
1227 * gio/inotify/inotify-helper.c:
1228 Fix gtk-doc warnings
1230 Patch from Ross Burton
1232 2007-11-06 Alexander Larsson <alexl@redhat.com>
1234 * gio/gfilenamecompleter.c:
1235 (g_filename_completer_get_completions):
1238 * gio/gunixvolume.c:
1239 Remove unused function
1241 Patches from Ross Burton
1243 2007-11-06 Alexander Larsson <alexl@redhat.com>
1248 Padding not needed for interfaces
1250 2007-11-06 Alexander Larsson <alexl@redhat.com>
1252 * gio/gfilemonitor.c:
1256 Make giotypes.h an internal file
1259 * gio/gbufferedinputstream.h:
1260 * gio/gbufferedoutputstream.h:
1261 * gio/gcancellable.h:
1262 * gio/gdatainputstream.h:
1263 * gio/gdataoutputstream.h:
1264 * gio/gdirectorymonitor.c:
1265 * gio/gdirectorymonitor.h:
1270 * gio/gfileattribute.h:
1271 * gio/gfileenumerator.h:
1276 * gio/gfilemonitor.c:
1277 * gio/gfilemonitor.h:
1278 * gio/gfilenamecompleter.c:
1279 * gio/gfilenamecompleter.h:
1280 * gio/gfilterinputstream.h:
1281 * gio/gfilteroutputstream.h:
1282 * gio/ginputstream.h:
1283 * gio/gmemoryinputstream.h:
1284 * gio/gmemoryoutputstream.h:
1285 * gio/gmountoperation.c:
1286 * gio/gmountoperation.h:
1287 * gio/gnativevolumemonitor.c:
1288 * gio/goutputstream.h:
1291 * gio/gsimpleasyncresult.c:
1292 * gio/gsimpleasyncresult.h:
1293 * gio/gsocketinputstream.h:
1294 * gio/gsocketoutputstream.h:
1295 * gio/gthemedicon.c:
1296 * gio/gthemedicon.h:
1300 * gio/gvolumemonitor.c:
1301 * gio/gvolumemonitor.h:
1302 Add padding in classes where it seems useful
1303 Don't include giotypes.h from public headers
1304 Move in Class definitions into c file where possible
1309 2007-11-06 Alexander Larsson <alexl@redhat.com>
1311 * docs/reference/gio/gio-docs.xml:
1312 Better structure for API docs
1314 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1317 * gio/gloadableicon.c:
1318 * gio/gsimpleasyncresult.c:
1319 * gio/gthemedicon.c:
1320 Add some more guards to public functions. Only files missing are now
1323 2007-11-06 Alexander Larsson <alexl@redhat.com>
1325 * docs/reference/gio/gio-docs.xml:
1326 Remove old files, add missing ones
1328 2007-11-06 Alexander Larsson <alexl@redhat.com>
1330 * docs/reference/gio/gio-sections.txt:
1333 Hide implementation classes
1335 * gio/gdriveprivate.h:
1336 * gio/gvolumeprivate.h:
1337 Remove non-existing function declarations
1339 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1342 Fix compilation warnings and add guards to the new functions.
1344 * gio/gasyncresult.c:
1346 Add guards to the public functions.
1349 Implement get_path().
1351 2007-11-06 Alexander Larsson <alexl@redhat.com>
1353 * gio/gfilenamecompleter.c:
1354 Make g_filename_completer_get_completions
1355 return char ** instead of GList for
1358 * docs/reference/gio/gio-docs.xml:
1359 * docs/reference/gio/gio-sections.txt:
1361 * gio/gasyncresult.c:
1362 * gio/gbufferedinputstream.c:
1363 * gio/gbufferedoutputstream.c:
1364 * gio/gcancellable.c:
1365 * gio/gcontenttype.c:
1366 * gio/gdatainputstream.c:
1367 * gio/gdataoutputstream.c:
1368 * gio/gdesktopappinfo.c:
1369 * gio/gdirectorymonitor.c:
1373 * gio/gfileattribute.c:
1374 * gio/gfileenumerator.c:
1377 * gio/gfileinputstream.c:
1378 * gio/gfilemonitor.c:
1379 * gio/gfilenamecompleter.c:
1380 * gio/gfilenamecompleter.h:
1381 * gio/gfileoutputstream.c:
1382 * gio/gfilterinputstream.c:
1384 * gio/ginputstream.c:
1386 * gio/gioscheduler.c:
1387 * gio/gloadableicon.c:
1388 * gio/glocaldirectorymonitor.c:
1390 * gio/glocalfileinputstream.c:
1391 * gio/glocalfilemonitor.c:
1392 * gio/glocalfileoutputstream.c:
1394 * gio/gmemoryinputstream.c:
1395 * gio/gmemoryoutputstream.c:
1396 * gio/gmountoperation.c:
1397 * gio/goutputstream.c:
1398 * gio/gpollfilemonitor.c:
1400 * gio/gsimpleasyncresult.c:
1401 * gio/gsocketinputstream.c:
1402 * gio/gsocketoutputstream.c:
1403 * gio/gthemedicon.c:
1404 * gio/gunionvolumemonitor.c:
1406 * gio/gunixmounts.c:
1407 * gio/gunixvolume.c:
1408 * gio/gunixvolumemonitor.c:
1412 * gio/gvolumemonitor.c:
1413 * gio/gwin32appinfo.c:
1414 Add (mostly stub) doc strings to public functions.
1415 Patch from Andrew Walton (awalton@gmail.com)
1417 2007-11-06 Alexander Larsson <alexl@redhat.com>
1419 * gio/gappinfo.[ch]:
1420 Added GAppLaunchContext object and pass that to launch.
1421 This allows simple implementation of both
1422 launch-on-screen and startup notification via a gtk+
1423 subclass of GAppLaunchContext
1425 * gio/gdesktopappinfo.c:
1426 Implement GAppLaunchContext API
1428 * gio/gwin32appinfo.c:
1431 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1433 * gio/gmountoperation.c:
1434 Add some guards to GMountOperation's public functions.
1436 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1440 * gio/gcancellable.c:
1441 * gio/gdirectorymonitor.c:
1443 * gio/gfileenumerator.c:
1444 * gio/gfilemonitor.c:,
1445 * gio/gfilenamecompleter.c:
1448 * gio/gioscheduler.c:
1452 * gio/gvolumemonitor.c:
1453 Add even more guards to various public functions.
1455 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1458 Add guards to the public functions of GAppInfo.
1460 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1462 * gio/gcontenttype.c:
1463 Add some more guards for public functions.
1465 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1467 * gio/fam/fam-module.c:
1468 * gio/fam/gfamdirectorymonitor.c:
1469 * gio/fam/gfamdirectorymonitor.h:
1470 * gio/fam/gfamfilemonitor.c:
1471 * gio/fam/gfamfilemonitor.h:
1472 * gio/inotify/ginotifydirectorymonitor.c:
1473 * gio/inotify/ginotifydirectorymonitor.h:
1474 * gio/inotify/ginotifyfilemonitor.c:
1475 * gio/inotify/ginotifyfilemonitor.h:
1476 Add proper copyright information and remove an unused variable
1477 in the GInotifyFileMonitor constructor.
1479 * gio/gcancellable.c:
1480 Add a guard for a public function and an assertion to prevent
1481 an undefined program state.
1483 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
1485 * gio/gfileattribute.c:
1486 Don't run into an assertion if the given attribute value is NULL
1487 in g_file_attribute_value_get_*() but instead return a fallback
1488 value that makes sense in most situations. Passing them a attribute
1489 value with the wrong type will still run into an assertion.
1491 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1493 * gio/gfileattribute.c:
1495 Add even more guards to the public functions. Also fix the refcounting
1496 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
1497 let g_file_info_list_attributes() filter the attributes by namespace
1498 instead of simply ignoring the namespace parameter.
1500 2007-11-03 Sven Herzberg <sven@imendio.com>
1502 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
1503 (This makes gio work on MacOS X again)
1505 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1508 Build the gio subdirectory before the docs. Otherwise the build will
1511 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
1512 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
1513 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
1514 Add guards to the public functions.
1516 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
1518 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
1519 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
1520 to prevent a compiler warning.
1522 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
1523 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
1524 return something in the non-void function find_topdir_for().
1526 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
1533 2007-11-01 Ryan Lortie <desrt@desrt.ca>
1535 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
1536 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
1537 * gwin32appinfo.c (g_win32_app_info_launch):
1538 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
1539 envp_for_startup_id, g_desktop_app_info_launch,
1540 g_desktop_app_info_launch_uris):
1542 Give an opaque 'startup_id' string instead of 'envp'.
1543 Support empty file lists for launching new windows.
1544 Fix infinite recursion bug when launching URIs.
1546 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1549 Add guard to the new g_file_get_uri_scheme() function.
1551 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1554 Convert a g_return_val_if_fail() to setting the GError instead as
1555 otherwise applications have to verify the parameter before otherwise
1556 and the parameter might come directly from the user.
1558 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1560 * gio/inotify/ginotify*.[ch]:
1561 Add missing copyright information.
1563 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
1566 Add guards in the beginning of public functions to check for valid
1567 parameters and fix a bug in copy_stream_with_progress() that could've
1568 caused writing less bytes than reading.
1569 * gio/glocalfileinfo.c:
1570 Check for a NULL parameter and set the GError accordingly then.
1571 * gio/goutputstream.c:
1572 Fix the same bug as in gfile.c that could've caused writing less bytes
1573 than reading in g_output_stream_real_splice().
1575 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
1578 Use the correct gvolumeprivate.h naming
1580 2007-11-01 Christian Kellner <gicmo@gnome.org>
1583 Remove leftover "$(daemon_sources)" entry.
1585 2007-11-01 Christian Kellner <gicmo@gnome.org>
1590 Add copyright information to source files.
1592 2007-11-01 Alexander Larsson <alexl@redhat.com>
1596 Add g_file_get_uri_scheme
1598 2007-11-01 Alexander Larsson <alexl@redhat.com>
1601 * gio/gdesktopappinfo.c:
1602 * gio/gwin32appinfo.c:
1603 Add g_app_info_get_default_for_uri_scheme.
1605 2007-11-01 Alexander Larsson <alexl@redhat.com>
1608 Correct filename for gdriveprivate.h
1610 2007-10-31 Alexander Larsson <alexl@redhat.com>
1613 Rename id:value to id:file
1616 * gio/glocalfileinfo.c:
1619 2007-10-31 Alexander Larsson <alexl@redhat.com>
1621 * gio/gunixvolume.c:
1623 Remove g_volume_get_platform_id, as thats not
1624 needed with the simpler union volume monitor
1626 2007-10-31 Alexander Larsson <alexl@redhat.com>
1629 * gio/guniondrive.[ch]: Removed.
1630 * gio/gunionvolume.[ch]: Removed.
1631 Remove GUnionDrive/Volume
1633 * gio/gunionvolumemonitor.c:
1634 Simplify union volume monitor, now we
1635 only have one native volume monitor and
1636 we use the actual volumes/drives from the
1637 child monitors instead of wrapping them
1639 * gio/gnativevolumemonitor.[ch]:
1640 Base class for native volume monitors.
1641 Includes priority and get_volume_for_mountpoint
1644 Add g_file_find_enclosing_volume
1647 Remove volume name fs attribute
1648 Add readonly fs attribute
1651 Implement readonly attribute
1652 remove volume name attribute
1653 Implement find_enclosing volume
1655 * gio/gunixmounts.c:
1656 Add a volume for "/".
1658 * gio/gunixvolume.[ch]:
1659 Set better name for /
1661 * gio/gunixvolumemonitor.[ch]:
1662 Derive from GNativeVolumeMonitor
1663 Implement get_volume_for_mountpoint
1666 GVolume typedef moved to gfile.h
1668 * gio/gvolumeprivate.h:
1669 Add g_volume_get_for_mount_path
1671 2007-10-31 Alexander Larsson <alexl@redhat.com>
1673 * gio/gunixmounts.[ch]:
1674 Add cache info to unix mount listers
1675 Make getmntent use threadsafe
1676 Add is_system_internal attribute for GUnixMount
1678 * gio/gunixvolume.c:
1679 (g_unix_volume_new):
1680 Use is_system_internal instead of own code
1682 * gio/glocaldirectorymonitor.c:
1683 * gio/gunixvolumemonitor.c:
1684 Update to new gunixmounts API
1689 2007-10-30 Alexander Larsson <alexl@redhat.com>
1692 Add volume name fsinfo attribute
1695 Read volume name info
1697 * gio/gunionvolumemonitor.c:
1698 Fix infinite loops when finalizing a union volume monitor
1700 2007-10-30 Alexander Larsson <alexl@redhat.com>
1702 * gio/goutputstream.[ch]:
1703 Add splice() with default implementation
1705 * gio/gsocketoutputstream.c:
1706 (g_socket_output_stream_write):
1707 Return error on cancellation correctly.
1709 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1711 * gio/glocalfile.c (g_local_file_trash):
1712 Do not leak a string.
1714 2007-10-26 Paolo Borelli <pborelli@katamail.com>
1716 * gio/gfile.c (g_file_load_contents):
1717 Unref the stream after closing it.
1719 2007-10-25 Alexander Larsson <alexl@redhat.com>
1721 * gio/gioscheduler.h:
1724 2007-10-25 Alexander Larsson <alexl@redhat.com>
1728 Add g_file_has_uri_scheme and implement for local files
1730 2007-10-25 Paolo Borelli <pborelli@katamail.com>
1732 * gio/gdesktopappinfo.c: do not leak a string.
1734 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1736 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
1737 (g_local_directory_monitor_new):
1738 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
1739 (g_local_file_monitor_new):
1740 Only look for the monitor type that should be used the first time
1741 and use g_qsort_with_data() instead of our own bubble sort
1744 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
1747 * gio/fam/Makefile.am:
1748 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
1749 * gio/fam/fam-helper.h:
1750 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
1751 * gio/fam/gfamdirectorymonitor.c:
1752 * gio/fam/gfamdirectorymonitor.h:
1753 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
1754 * gio/fam/gfamfilemonitor.h:
1755 * gio/glocaldirectorymonitor.c:
1756 * gio/glocaldirectorymonitor.h:
1757 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
1758 * gio/glocalfilemonitor.h:
1759 * gio/inotify/Makefile.am:
1760 * gio/inotify/ginotifydirectorymonitor.c:
1761 * gio/inotify/ginotifydirectorymonitor.h:
1762 * gio/inotify/ginotifyfilemonitor.c:
1763 * gio/inotify/ginotifyfilemonitor.h:
1764 Implement the FAM and Inotify monitors as
1765 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
1766 their own GIO module. GLocal(Directory|File)Monitor will use the
1767 monitor with the highest rank that is supported on that machine.
1769 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
1772 Change GIO module dir to $(libdir)/gio/modules and change
1773 the log domain from GVFS to GIO. Also only export symbols starting
1774 with g_ in the resulting library.
1775 * gio/test-streams.c: (main):
1776 Set log handler for the GIO log domain.
1778 2007-10-22 Alexander Larsson <alexl@redhat.com>
1780 * gio/gfilenamecompleter.[ch]:
1781 Add g_filename_completer_set_dirs_only
1783 2007-10-22 Alexander Larsson <alexl@redhat.com>
1786 * gio/gurifuncs.[ch]:
1787 Add some simple URI helpers
1789 * gio/gfilenamecompleter.[ch]:
1790 Added object for filename (parse name actually) completion
1793 Handle ~ in parse names
1795 2007-10-17 Alexander Larsson <alexl@redhat.com>
1798 * gio/glocalfileinfo.c:
1799 Add and implement id:value attribute
1801 2007-10-17 Alexander Larsson <alexl@redhat.com>
1804 * gio/guniondrive.c:
1806 Add and implement g_drive_has_volumes
1808 2007-10-17 Alexander Larsson <alexl@redhat.com>
1811 * gio/glocalfileinfo.[ch]:
1812 Add unix:is_mountpoint and implement for local files
1814 2007-10-16 Alexander Larsson <alexl@redhat.com>
1816 * gio/gunionvolumemonitor.c:
1817 (g_union_volume_monitor_init):
1818 Fix up the unix type getting so that it works with gcc
1820 2007-10-12 Alexander Larsson <alexl@redhat.com>
1823 * gio/glocalfileinfo.c:
1824 Add thumbnail:failed to file info
1826 2007-10-12 Richard Hult <richard@imendio.com>
1828 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
1829 optimizing away the get_type call (happens with some gcc versions,
1830 like the one shipped with OS X 10.4).
1832 2007-10-12 Alexander Larsson <alexl@redhat.com>
1834 * gio/glocalfileinfo.c:
1835 (_g_local_file_info_set_attribute):
1836 Fix build if not HAVE_XATTR
1837 Patch from Milosz Derezynski <internalerror@gmail.com>
1839 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
1841 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
1842 around for review, otherwise I would have asked you before
1845 2007-10-11 Alexander Larsson <alexl@redhat.com>
1848 Add thumbnail:path attribute
1850 * gio/glocalfileinfo.c:
1851 Implement thumbnail:path for local files
1853 2007-10-11 Alexander Larsson <alexl@redhat.com>
1855 * gio/glocalfileinfo.c:
1856 (_g_local_file_info_get):
1857 Avoid duplicate icon names
1859 2007-10-11 Alexander Larsson <alexl@redhat.com>
1861 * gio/gthemedicon.[ch]:
1862 Change g_themed_icon_get_names return type to const
1864 2007-10-10 Alexander Larsson <alexl@redhat.com>
1866 * gio/glocalfileinfo.c:
1867 Don't reference freed memory
1869 2007-10-10 Alexander Larsson <alexl@redhat.com>
1871 * gio/gfileattribute.c:
1874 * gio/glocalfileinfo.c:
1877 2007-10-10 Alexander Larsson <alexl@redhat.com>
1880 Check for NULL icons
1882 * gio/gfileattribute.c:
1883 Don't dup when getting objects (same as for string attributes)
1885 * gio/gicon.c (g_icon_equal):
1886 Safely handle NULLs in equal
1888 2007-10-10 Alexander Larsson <alexl@redhat.com>
1891 Fix c++ compilation issues
1892 Patch from Milosz Derezynski <internalerror@gmail.com>
1894 2007-10-10 Alexander Larsson <alexl@redhat.com>
1896 * programs/gio-monitor-dir.c:
1897 Don't crash if dir monitor not supported.
1899 2007-10-09 Alexander Larsson <alexl@redhat.com>
1902 Add missing G_END_DECLS
1904 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1906 * gio/gfile.c: (g_file_set_display_name),
1907 (g_file_query_settable_attributes),
1908 (g_file_query_writable_namespaces):
1909 Return NULL not FALSE on errors as the return type is a pointer.
1911 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
1913 * gio/glocalfile.c: (g_local_file_monitor_file):
1914 Don't call monitor_file on the default interface vtable (which
1915 is NULL) but simply return NULL. The caller, GFile, will create a
1916 polling monitor if NULL is returned.
1918 2007-10-09 Alexander Larsson <alexl@redhat.com>
1922 * gio-unix-2.0.pc.in:
1923 Add gio-unix-2.0.pc if OS_UNIX
1926 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
1928 2007-10-09 Alexander Larsson <alexl@redhat.com>
1930 * gio/gunixmounts.[ch]:
1931 Make unix mount monitoring API sane.
1932 Now its just a object with mounts_changed
1933 and mountpoints_changed signals.
1935 * gio/glocaldirectorymonitor.c:
1936 * gio/gunixvolumemonitor.c:
1937 Use new mount monitor api
1939 2007-10-09 Alexander Larsson <alexl@redhat.com>
1941 * gio/gunixmounts.[ch]:
1942 Move guess type into one call for mounts and one for mountpoints
1945 * gio/gunixvolume.c:
1948 2007-10-09 Alexander Larsson <alexl@redhat.com>
1950 * gio/gunixmounts.[ch]:
1951 Remove _ prefix in preparation to make this semi-public
1952 Hide implementation of structs
1954 * gio/glocaldirectorymonitor.c:
1956 * gio/gunixvolume.c:
1957 * gio/gunixvolumemonitor.c:
1958 Update for above API changes
1960 2007-10-08 Alexander Larsson <alexl@redhat.com>
1963 Better polling fallback. This also handles the case where we have
1964 a monitor_file implementation, but it fails.
1966 2007-10-08 Alexander Larsson <alexl@redhat.com>
1970 * gio/gunixmounts.c:
1971 * programs/gio-monitor-dir.c:
1972 * programs/gio-monitor-file.c:
1973 Added cancellable to file monitoring calls.
1974 These are really sync calls and need this.
1976 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
1978 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
1979 (g_local_vfs_class_init):
1980 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
1981 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
1983 2007-10-05 Alexander Larsson <alexl@redhat.com>
1985 * gio/gdirectorymonitorprivate.h:
1986 * gio/gfilemonitorprivate.h:
1987 * gio/gdirectorymonitor.h:
1988 * gio/gfilemonitor.h:
1989 Remove *private.h and move to the public API, so that
1990 we can do implementations outside gio (such as in gvfs)
1992 * gio/gdirectorymonitor.c:
1993 * gio/gfilemonitor.c:
1994 * gio/glocaldirectorymonitor.c:
1995 * gio/gpollfilemonitor.c:
1996 * gio/inotify/inotify-helper.c:
1997 * gio/fam/fam-helper.c:
1998 Update to the new header names
2000 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2002 * gio/gdirectorymonitor.c:
2003 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2006 2007-10-04 Alexander Larsson <alexl@redhat.com>
2008 * gio/glocalfileinfo.c (get_access_rights):
2009 Set CAN_TRASH when we can move the file.
2010 We should really also check for a parent trash dir.
2012 2007-10-04 Alexander Larsson <alexl@redhat.com>
2014 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2015 Add can_trash access attribute
2017 2007-10-04 Alexander Larsson <alexl@redhat.com>
2020 (g_local_file_trash):
2021 Create info file first. This is per-spec and allows
2022 us to actually trash directories.
2024 2007-10-02 Alexander Larsson <alexl@redhat.com>
2026 * gio/gdesktopappinfo.c:
2027 Implement the new mime support code.
2028 Always set app as handling mimetype when being set as default for it
2030 2007-10-01 Alexander Larsson <alexl@redhat.com>
2032 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2033 Fix up check for xattrs:
2035 2007-10-01 Alexander Larsson <alexl@redhat.com>
2038 (g_app_info_set_as_default_for_extension):
2039 (g_app_info_add_supports_type):
2040 (g_app_info_can_remove_supports_type):
2041 (g_app_info_remove_supports_type):
2042 Make these fail nicely if not implemented
2044 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2046 * gio/glocalfileoutputstream.c:
2047 * gio/glocalfileoutputstream.h:
2052 * programs/gio-save.c:
2053 Add a GFileCreateFlags argument to operations that can create
2056 2007-10-01 Alexander Larsson <alexl@redhat.com>
2058 * gio/gappinfo.[ch]:
2059 * gio/gdesktopappinfo.c:
2060 Add more (stubbed out) mime API needed for nautilus
2062 2007-10-01 Alexander Larsson <alexl@redhat.com>
2065 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2066 Add g_app_info_set_as_default_for_extension.
2068 * gio/gdesktopappinfo.c:
2069 Dummy for g_app_info_set_as_default_for_extension
2070 Support flags in g_app_info_create_from_commandline
2072 * gio/gwin32appinfo.c:
2074 Update for API changes
2076 * gio/gthemedicon.c:
2077 Properly NULL-terminate list of icon names
2079 2007-09-28 Alexander Larsson <alexl@redhat.com>
2081 * gio/gloadableicon.h:
2082 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2084 2007-09-28 Alexander Larsson <alexl@redhat.com>
2087 Install headers in $includedir/gio-standalone/
2089 * gio-2.0.pc.in: Added.
2090 * gio-standalone.pc.in: Removed.
2093 Renamed pkg-config file to match glib (for future move)
2094 Update to the new include dir
2097 Add more TODO comments
2099 2007-09-28 Alexander Larsson <alexl@redhat.com>
2101 * gio/gdesktopappinfo.[ch]:
2102 Expose new_from_filename
2103 Add getter for is_hidden and handle it better
2105 2007-09-28 Alexander Larsson <alexl@redhat.com>
2107 * gio/gfileinfo.[ch]:
2108 Rename g_file_size_format_for_display to
2109 g_format_file_size_for_display.
2110 Now it doesn't have the g_file prefix, so we
2111 can later move it to glib.
2113 2007-09-28 Alexander Larsson <alexl@redhat.com>
2115 * gio/gappinfo.[ch]:
2116 Add g_app_info_get_id and g_app_info_get_executable.
2117 Make all getters non-reffing
2118 Make g_app_info_launch take GFile arguments.
2119 Add must_support_uris argument to g_app_info_get_default_for_type.
2121 * gio/gwin32appinfo.c:
2122 Update to GAppInfo api changes
2124 * gio/gdesktopappinfo.c:
2125 Update to GAppInfo api changes
2126 Implement supports_xdg_startup_notify
2128 * gio/gfileicon.c (g_file_icon_get_file):
2129 Make getter non-reffing.
2134 2007-09-27 Alexander Larsson <alexl@redhat.com>
2136 * gio/gfileinfo.[ch]:
2137 Add g_file_size_format_for_display helper
2139 2007-09-27 Alexander Larsson <alexl@redhat.com>
2141 * gio/glocalfileinfo.c:
2142 Set UNIX_GID from gid, not from uid
2144 2007-09-27 Alexander Larsson <alexl@redhat.com>
2147 Add g_file_set_attributes_async
2149 2007-09-27 Alexander Larsson <alexl@redhat.com>
2151 * gio/glocalfile.c (g_local_file_set_display_name):
2152 Fix set_display_name to actually rename to the right place.
2153 Use lstat to look for existing files so we don't overwrite
2156 2007-09-26 Alexander Larsson <alexl@redhat.com>
2159 Add g_file_set_display_name_async()
2161 2007-09-26 Alexander Larsson <alexl@redhat.com>
2164 Add load_partial_contents async calls
2167 Make internal function static
2169 2007-09-26 Alexander Larsson <alexl@redhat.com>
2171 * gio/glocalfileinfo.c:
2172 Correctly detect broken symlinks
2174 2007-09-26 Alexander Larsson <alexl@redhat.com>
2176 * gio/gcancellable.c (g_cancellable_cancel):
2177 Allow cancel on NULL cancellable
2179 2007-09-25 Alexander Larsson <alexl@redhat.com>
2181 * gio/gsimpleasyncresult.c:
2182 Don't allocate g_error manually.
2183 Fixes g_slice/g_new mixup crash
2185 2007-09-25 Alexander Larsson <alexl@redhat.com>
2187 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2188 Actually set active_backend.
2189 This means the monitor will be cancelled correctly.
2191 2007-09-25 Alexander Larsson <alexl@redhat.com>
2193 * gio/gdirectorymonitor.c:
2194 Set timeout to NULL when destroying
2196 2007-09-25 Alexander Larsson <alexl@redhat.com>
2199 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2200 that is a better description of the error.
2202 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2204 * gio/gvfs.c: (g_vfs_get_local):
2205 Make the local vfs variable static. The same instance should
2208 2007-09-24 Alexander Larsson <alexl@redhat.com>
2210 * gio/glocalfileinfo.c:
2211 Pass in actual length read into sniffer, not the length
2214 2007-09-21 Alexander Larsson <alexl@redhat.com>
2216 * gio/gfileenumerator.c:
2219 * gio/gfileinputstream.c:
2220 * gio/gfileoutputstream.c:
2221 * gio/ginputstream.c:
2222 * gio/goutputstream.c:
2223 Don't crash if async callbacks are NULL
2225 2007-09-20 Alexander Larsson <alexl@redhat.com>
2228 Add async enumerate_children method and default
2231 2007-09-20 Alexander Larsson <alexl@redhat.com>
2234 Add g_file_contains_file & g_file_get_relative_path, since they
2235 were needed for nautilus.
2236 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2241 Implement new methods
2243 2007-09-17 Alexander Larsson <alexl@redhat.com>
2246 * gio/gfileinputstream.[ch]:
2247 * gio/gfileoutputstream.[ch]:
2249 * gio/glocalfileenumerator.[ch]:
2250 * gio/glocalfileinfo.[ch]:
2251 * gio/glocalfileinputstream.c:
2252 * gio/glocalfileoutputstream.c:
2253 * gio/gpollfilemonitor.c:
2254 * programs/gio-copy.c:
2255 * programs/gio-info.c:
2256 * programs/gio-move.c:
2257 Rename get_file_info to query_info() to make it clearer
2258 that these are not simple getters, but do i/o.
2260 2007-09-17 Alexander Larsson <alexl@redhat.com>
2262 * gio/gdatainputstream.[ch]:
2263 * gio/test-streams.c:
2264 Use _read_XXX instead of _get_XXX for the i/o calls
2267 2007-09-17 Alexander Larsson <alexl@redhat.com>
2270 Added needed stuff to TODO comment
2272 2007-09-17 Alexander Larsson <alexl@redhat.com>
2274 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
2275 Don't error out removing the backup copy if it doesn't
2278 2007-09-14 Alexander Larsson <alexl@redhat.com>
2280 * programs/Makefile.am:
2281 * programs/gvfs-*.c:
2283 Renamed apps from gvfs-xxx to gio-xxx.
2285 2007-09-14 Alexander Larsson <alexl@redhat.com>
2288 * gio/gfileoutputstream.[ch]:
2289 * gio/glocalfileoutputstream.c:
2290 * programs/gvfs-save.c:
2291 g_file_output_stream_get_etag doesn't do i/o, so remove
2292 cancellation and error.
2294 2007-09-14 Alexander Larsson <alexl@redhat.com>
2297 Add new_etag output to replace_contents functions
2299 2007-09-14 Alexander Larsson <alexl@redhat.com>
2301 * gio/gfileoutputstream.[ch]:
2302 Add async get_file_info and default implementation
2304 2007-09-14 Alexander Larsson <alexl@redhat.com>
2306 * gio/gfileinputstream.c:
2307 Implement fallback wrapper for async get_file_info
2309 2007-09-14 Alexander Larsson <alexl@redhat.com>
2312 Add etag out argument to load_contents
2317 2007-09-14 Alexander Larsson <alexl@redhat.com>
2319 * gio/gcontenttype.c (looks_like_text):
2320 Whitespace like tab, cr and lf do not make the
2323 2007-09-14 Alexander Larsson <alexl@redhat.com>
2325 * gio/gfileinputstream.[ch]:
2326 Add async get_file_info.
2328 2007-09-13 Alexander Larsson <alexl@redhat.com>
2330 * gio/goutputstream.c (g_output_stream_write_all):
2331 Allow NULL for bytes_written
2333 2007-09-13 Alexander Larsson <alexl@redhat.com>
2335 * gio/gmemoryinputstream.[ch]:
2336 Add accessors for data
2338 2007-09-13 Alexander Larsson <alexl@redhat.com>
2340 * gio/gdatainputstream.c (g_data_input_stream_get_until):
2341 Don't crash if length is NULL