1 2008-01-22 Alexander Larsson <alexl@redhat.com>
4 (g_desktop_app_info_new_from_filename):
7 2008-01-22 Alexander Larsson <alexl@redhat.com>
9 * glocalfileinfo.c (get_thumbnail_attributes):
12 2008-01-22 Alexander Larsson <alexl@redhat.com>
15 (canonicalize_filename):
16 Canonicalize paths that start with more than
21 (test_g_file_new_for_path):
24 2008-01-22 Alexander Larsson <alexl@redhat.com>
27 Allow UTF-8 in file:// parse names.
30 * tests/data-input-stream.c:
31 * tests/data-output-stream.c:
32 * tests/g-file-info.c:
34 Added a bunch of tests from Tomas Bzatek
36 2008-01-21 Matthias Clasen <mclasen@redhat.com>
38 * === Released 2.15.3 ===
40 2008-01-21 Alexander Larsson <alexl@redhat.com>
42 * gfileinputstream.[ch]:
43 * gfileoutputstream.[ch]:
45 Remove duplicated GSeekable functions. (#509990)
46 Just use the g_seekable_xxx() calls instead.
48 2008-01-21 Matthias Clasen <mclasen@redhat.com>
51 * gvolumemanager.c: Whitespace cleanups.
53 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
54 Use the right mode when creating the file.
56 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
61 * goutputstream.c: Documentation: Fixed minor typos
62 and added more mentions of specific _finish() functions.
64 2008-01-21 Alexander Larsson <alexl@redhat.com>
66 * inotify/Makefile.am:
67 * inotify/inotify-helper.c:
68 * inotify/inotify-kernel.c:
69 * inotify/inotify-path.c:
70 * inotify/local_inotify.h: Removed.
71 * inotify/local_inotify_syscalls.h: Removed.
72 Removed the included copies of the inotify
73 headers. We now only use the <sys/inotify.h>
74 header which exists on modern systems.
75 This fixes problems on ARM and SH5 (#510448)
76 but is also generally much cleaner and future
77 safe. For instance, if other OSes add support
78 for inotify it should "just work".
80 2008-01-20 Matthias Clasen <mclasen@redhat.com>
82 * inotify/*.c: Coding style fixes.
83 * inotify/inotify-missing.c: Use g_timeout_add_seconds
86 2008-01-20 Matthias Clasen <mclasen@redhat.com>
90 * gmemoryinputstream.c:
91 * gmemoryoutputstream.c:
93 * gthemedicon.c: Documentation updates
95 2008-01-20 Murray Cumming <murrayc@murrayc.com>
97 * gfile.c: documentation: Fixed more minor
100 2008-01-18 Murray Cumming <murrayc@murrayc.com>
102 * gmount.c: (g_mount_remount): documentation:
103 Mention g_mount_remount_finish() instead of
104 g_mount_unmount_finish().
106 2008-01-18 Murray Cumming <murrayc@murrayc.com>
110 * gfile.c: Fixed some minor typos in the
113 2008-01-18 Murray Cumming <murrayc@murrayc.com>
115 * gio/gvolumemonitor.c:
116 (g_volume_monitor_get_connected_drives):
117 (g_volume_monitor_get_volumes):
118 (g_volume_monitor_get_mounts): Documentation:
119 Clarify the ownership of the regurn GLists.
121 2008-01-17 Alexander Larsson <alexl@redhat.com>
124 Add the async find_enclosing_mount version
125 to the header file too.
127 2008-01-17 Alexander Larsson <alexl@redhat.com>
130 Add async version of find_enclosing_mount
131 with default implementation.
133 2008-01-17 Alexander Larsson <alexl@redhat.com>
138 Allow calls to implementation of copy and write
139 even if the type of the file implementations is
140 different. This can be used to implement native
141 upload and download calls in a vfs.
145 Protect against the case where move is called
146 with one file not being local.
148 Make sure we call the progress callback once
149 in the native move operation so that the caller
150 knows how many bytes were copied.
152 2008-01-16 Murray Cumming <murrayc@murrayc.com>
155 * gdatainputstream.c:
157 * gfileoutputstream.c:
162 * gunixmounts.c: Corrected some typos in the documentation:
164 its -> it's (where appropriate).
166 2008-01-16 Alexander Larsson <alexl@redhat.com>
170 Add g_file_query_exists (#508771)
172 2008-01-15 Murray Cumming <murrayc@murrayc.com>
177 * gvolume.c: For async functions that have no non-async
178 version, document that the GAsyncReadyCallback may be NULL.
181 2008-01-15 Alexander Larsson <alexl@redhat.com>
183 * gmemoryinputstream.c:
184 * gmemoryoutputstream.c:
185 Don't do pointer arithmetic on void * (#508602)
186 Patch from Kazuki IWAMOTO
188 2008-01-14 Matthias Clasen <mclasen@redhat.com>
190 * === Released 2.15.2 ===
192 2008-01-14 Alexander Larsson <alexl@redhat.com>
194 * gfile.c (g_file_monitor_file):
195 Don't set error here, since we fallback to polling monitor.
197 2008-01-14 Alexander Larsson <alexl@redhat.com>
200 (g_file_monitor_directory):
201 (g_file_monitor_file):
202 Add GError to file monitor calls
204 * glocaldirectorymonitor.c:
205 * glocaldirectorymonitor.h:
207 * glocalfilemonitor.c:
208 * glocalfilemonitor.h:
210 Update for above change
212 2008-01-14 Alexander Larsson <alexl@redhat.com>
216 Handle root correctly in g_file_get_relative_path (#508719)
218 2008-01-14 Alexander Larsson <alexl@redhat.com>
221 Clean up docs and example for GAsyncResult (#508074)
223 2008-01-11 Murray Cumming <murrayc@murrayc.com>
225 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
226 and correct some spelling mistakes. Bug #508108.
228 2008-01-11 Matthias Clasen <mclasen@redhat.com>
230 * glocalfileinfo.c: Add a comment.
232 2008-01-10 Murray Cumming <murrayc@murrayc.com>
234 * gfileinfo.c: GFileInfo description: Mention
235 how to actually set attributes in a GFile and how to discover
236 which attributes are settable. Bug #508378.
238 2008-01-10 A. Walton <awalton@svn.gnome.org>
240 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
241 (g_app_info_get_default_for_type):
242 Check for NULL content types.
244 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
246 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
248 2008-01-09 Murray Cumming <murrayc@murrayc.com>
250 * gfile.c: *_async() functions: Several small corrections
251 to the documentation, mostly correcting copy/paste errors
252 and improving some sentences.
254 2008-01-09 Dan Winship <danw@gnome.org>
256 * glocalfile.c (get_unique_filename): x86_64 fix
258 2008-01-09 Alexander Larsson <alexl@redhat.com>
263 Add g_unix_mount_guess_should_display and use
264 for unix volume monitor backend.
265 This means we more or less show what the
266 gnome-vfs backend did.
267 Based on patch from Padraig O'Briain
269 2008-01-09 Alexander Larsson <alexl@redhat.com>
273 Add g_themed_icon_new_with_default_fallbacks
276 Use default fallbacks for icons
278 2008-01-09 Alexander Larsson <alexl@redhat.com>
281 * gmountoperation.[ch]:
282 Change the API a bit so that unhandled methods
283 get reported via the reply, rather than by
284 the signal emission return value. This is because
285 some handlers can't know this immediately without
286 doing I/O, and this is an async operation that
289 2008-01-09 Alexander Larsson <alexl@redhat.com>
292 * fam/gfamdirectorymonitor.c:
293 * fam/gfamfilemonitor.c:
294 Fix double free crash (#508224)
295 Patch from Joe Marcus Clarke
297 008-01-07 Matthias Clasen <mclasen@redhat.com>
299 * === Released 2.15.1 ===
301 2008-01-07 Alexander Larsson <alexl@redhat.com>
303 * gunixinputstream.c (g_unix_input_stream_skip_finish):
304 Fix warning (#507835)
306 2008-01-07 Alexander Larsson <alexl@redhat.com>
309 Pass --internal to glib-genmarshal
314 Use better types for signal arguments (#507822)
316 2008-01-07 Alexander Larsson <alexl@redhat.com>
319 Build test subdir after .
320 Remove gdirectorymonitor.[ch]
322 * gdirectorymonitor.[ch]:
326 Remove GDirectoryMonitor and make
327 GFileMonitor the baseclass for both file and
328 directory monitors. Lift the more generic
329 rate limiting code from GDirectoryMonitor
333 * fam/gfamdirectorymonitor.[ch]:
334 * inotify/ginotifydirectorymonitor.[ch]:
335 * inotify/inotify-helper.c:
336 * glocaldirectorymonitor.[ch]:
339 Update for the removed GDirectoryMonitor.
341 * gmemoryoutputstream.c:
342 Remove ununsed variable
344 2008-01-07 Alexander Larsson <alexl@redhat.com>
346 * gmemoryinputstream.c:
347 Translate error strings
350 * gmemoryoutputstream.[ch]:
351 New implementation that avoids using GByteArray
352 in implementation and API. (#506377)
354 2008-01-06 Matthias Clasen <mclasen@redhat.com>
356 * tests/*: Add a test for memory input streams.
358 * Makefile.am: Add tests to SUBDIRS.
360 2008-01-06 Matthias Clasen <mclasen@redhat.com>
362 * glocalfilemonitor.c:
363 * glocaldirectorymonitor.c: Mark property nicks and blurbs
366 2008-01-06 Matthias Clasen <mclasen@redhat.com>
368 * gdesktopappinfo.c: Fix a docs typo.
370 * gfileattribute.c: Add information about extended attributes
371 to the documentation. (#505058)
373 2008-01-04 Alexander Larsson <alexl@redhat.com>
377 Use the right type (uint) for the ask_password signal.
379 2008-01-04 Alexander Larsson <alexl@redhat.com>
384 Add g_app_info_supports_files()
385 Remove desktop arg from g_app_info_should_show().
387 * gdesktopappinfo.[ch]:
388 Implement g_app_info_supports_files() and new should_show()
389 Add g_desktop_app_info_set_desktop_env() to set the desktop
390 for should_show(). (This will be set by gtk+ later)
392 2008-01-04 Alexander Larsson <alexl@redhat.com>
395 * gmemoryinputstream.[ch]:
396 Improve API so that you can use multiple chunks
397 of memory and custom destroy functions. (#506374)
399 2008-01-03 Alexander Larsson <alexl@redhat.com>
402 Handle NULL attribute matchers safely, as we return this
403 for empty attribute matcher strings.
405 2008-01-03 Alexander Larsson <alexl@redhat.com>
407 * gunixmounts.c (g_unix_is_mount_path_system_internal):
408 Add /usr/local to list of internal mountpoints
410 2008-01-03 Alexander Larsson <alexl@redhat.com>
413 Check for HAVE_LCHOWN (#505887)
415 2008-01-03 Alexander Larsson <alexl@redhat.com>
419 Add define for selinux context attribute.
420 Fix missing : -> :: namespace separator change
421 Fix missing _ -> - name change for xattr-sys.
424 2008-01-03 Alexander Larsson <alexl@redhat.com>
427 Link to libglib and libgobject directly (#504879)
428 Patch from Sebastien Bacher
430 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
432 * gfile.c: Expanded the g_file_new_for_commandline_arg
433 description a bit, based on the code and the docs of the
434 other g_file_new_for_* functions.
436 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
438 * gfilemonitor.h: Fixed typo in docs.
440 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
442 Updates to GIO documentation. (#506395, Mikael Hermansson)
444 * gcontenttype.c: Describe memory management for return value of
445 g_content_types_get_registered(). Missing piece from #505815.
446 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
447 GVolume, GDrive, GMounts, which hopefully gives the user less
448 confusions when using this API. Following explainations from
449 Alexander Larsson on gtk-devel-list.
451 2007-12-30 Matthias Clasen <mclasen@redhat.com>
453 * gfileinfo.c: Expand the long description.
455 2007-12-30 Matthias Clasen <mclasen@redhat.com>
458 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
459 fix builds with --disable-visibility. (#500273, Christian Persch)
461 2007-12-30 Matthias Clasen <mclasen@redhat.com>
463 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
464 in the list of returned app infos.
466 2007-12-30 Matthias Clasen <mclasen@redhat.com>
468 * gappinfo.c: Fix a cross-reference
470 2007-12-30 Matthias Clasen <mclasen@redhat.com>
472 * gfileinputstream.c:
473 * gfileoutputstream.c:
479 * gfileinfo.c: Documentation updates.
481 2007-12-26 Matthias Clasen <mclasen@redhat.com>
483 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
486 2007-12-26 Matthias Clasen <mclasen@redhat.com>
488 * gcontenttype.c (g_content_types_get_registered): Don't return
489 freed memory (#505815, Mikael Hermansson)
491 2007-12-25 Paolo Borelli <pborelli@katamail.com>
493 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
494 used to detect statbuf->st_blocks. (#505042)
496 2007-12-24 Matthias Clasen <mclasen@redhat.com>
498 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
499 environment handling. (#504829, Cosimo Cecchi)
501 2007-12-22 Matthias Clasen <mclasen@redhat.com>
503 * gappinfo.c: Doc improvements
505 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
508 2007-12-20 Matthias Clasen <mclasen@redhat.com>
510 * === Released 2.15.0 ===
512 2007-12-20 Hans Breuer <hans@breuer.org>
514 * makefile.msc : don't build gdesktopappinfo.obj, it collides
515 with symbols gwin32appinfo.obj, added gmount.obj
516 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
518 2007-12-20 Alexander Larsson <alexl@redhat.com>
524 * gfilenamecompleter.c:
527 * gpollfilemonitor.c:
528 File attribute renames:
531 id::fs -> id::filesystem
533 2007-12-20 Alexander Larsson <alexl@redhat.com>
542 Add GMountUnmountFlags to all unmount and
544 Add g_mount_remount() call.
546 2007-12-20 Alexander Larsson <alexl@redhat.com>
548 * gvfs.c (get_default_vfs):
549 Fix unused variable warning
551 2007-12-19 Matthias Clasen <mclasen@redhat.com>
553 * pltcheck.sh: Update
555 2007-12-19 Matthias Clasen <mclasen@redhat.com>
557 * gunionvolumemonitor.c:
558 * gunixmount.c: Remove C99 comments
560 2007-12-19 Matthias Clasen <mclasen@redhat.com>
562 * gio.symbols: Add some missing symbols
564 2007-12-19 Alexander Larsson <alexl@redhat.com>
567 Make g_io_modules_load_all_in_directory not unuse
568 loaded modules so that users of it can do stuff
570 Init internal "module" types.
571 Initialize static prio and name for types so that
572 we don't have to load modules to get it.
574 * gnativevolumemonitor.h:
576 Move is_supported to parent class so that
577 non-native monitors can avoid being initialized
578 too. (For instance GDaemonVolumeMonitor if we're
579 not using GDaemonVfs.)
581 * glocaldirectorymonitor.[ch]:
582 * glocalfilemonitor.[ch]:
583 * gunionvolumemonitor.c:
584 * gunixvolumemonitor.c:
586 Find plugins using the static prio+name to
587 avoid unnecessarily loading the modules.
589 2007-12-19 Alexander Larsson <alexl@redhat.com>
594 2007-12-19 Alexander Larsson <alexl@redhat.com>
596 * gunionvolumemonitor.c:
597 Store the native type as GType, not class so that
598 we can unload it. But still avoid unnecessarily
601 2007-12-19 David Zeuthen <davidz@redhat.com>
603 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
604 add signals 'disconnected' and 'eject-button' on GDrive. Add
605 signal 'removed' on GVolume and 'unmounted' on GMount.
607 * gdrive.c: (g_drive_base_init):
609 * gfile.c: (g_file_mount_mountable),
610 (g_file_mount_enclosing_volume):
613 * gmount.c: (g_mount_base_init):
615 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
616 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
617 * gvolume.c: (g_volume_base_init), (g_volume_mount):
621 2007-12-17 Matthias Clasen <mclasen@redhat.com>
623 * *.c: Fix up includes in the section docs.
625 2007-12-17 Alexander Larsson <alexl@redhat.com>
627 * gnativevolumemonitor.h:
628 * gunionvolumemonitor.c:
629 * gunixvolumemonitor.c:
630 Add is_supported() to GNativeVolumeMonitorClass so
631 that we can avoid having to create an object to see
632 if the backend is supported at runtime.
633 Also add name member and an env var to pick a specific
634 volume monitor backend.
638 Add cancellable to _g_mount_get_for_mount_path()
640 * glocaldirectorymonitor.c:
641 * glocalfilemonitor.c:
642 Avoid loading and unloading modules while sorting.
644 2007-12-17 Matthias Clasen <mclasen@redhat.com>
647 * gunixmounts.[hc]: Namespace waste reduction, move some
648 g_get_unix_mount functions to the g_unix_mount namespace.
651 * gunixvolumemonitor.c:
653 * glocaldirectorymonitor.c: Update all callers.
655 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
657 2007-12-17 Alexander Larsson <alexl@redhat.com>
660 Add doc comments about what GFile operations are
661 guaranteed to not block.
663 2007-12-17 Alexander Larsson <alexl@redhat.com>
666 Add missing #ifdef fixing OSX build.
667 (#503334, patch from Richard Hult)
669 2007-12-14 David Zeuthen <davidz@redhat.com>
673 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
674 (g_mount_eject), (g_mount_eject_finish):
676 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
677 (get_volume_for_uuid), (get_mount_for_uuid),
678 (g_union_volume_monitor_class_init),
679 (get_default_native_type_with_exclude), (get_default_native_type),
680 (get_native_type), (update_native_type),
681 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
682 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
683 (g_unix_mount_can_eject), (eject_unmount_cb),
684 (eject_unmount_read_error), (eject_unmount_do),
685 (g_unix_mount_unmount), (g_unix_mount_eject),
686 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
687 * gunixmounts.c: (g_unix_mount_guess_can_eject),
688 (g_unix_mount_point_guess_can_eject):
690 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
691 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
692 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
693 (g_unix_volume_mount), (g_unix_volume_eject),
694 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
695 * gunixvolumemonitor.c: (get_volume_for_uuid),
696 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
698 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
699 (g_volume_eject), (g_volume_eject_finish):
701 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
702 (g_volume_monitor_get_mount_for_uuid):
705 Provide eject() on both GMount and GVolume and utility functions
706 to guess whether a GUnixMountPoint or GUnixMountEntry should be
707 ejected. Introduce the concept of UUID's and wire it into GVolume
708 and GMount and provide API on GVolumeMonitor to find such
709 instances. Also handle the case where an external
710 GNativeVolumeMonitor fails to initialize. Lock around the
711 _g_get_mount_for_mount_path() function such that volume monitor
712 implementations won't have to do locking themselves.
714 2007-12-17 Matthias Clasen <mclasen@redhat.com>
722 * gvolume.h: Documentation updates
724 2007-12-14 Matthias Clasen <mclasen@redhat.com>
727 * gfile.h: Doc updates
729 2007-12-14 Matthias Clasen <mclasen@redhat.com>
732 * gdesktopappinfo.c: Use hash table iterators.
734 2007-12-14 Alexander Larsson <alexl@redhat.com>
737 * gfileattribute.[ch]:
738 * gfileattribute-priv.h:
739 Move GFileAttributeValue to a private header, as
743 Make set_attribute take a type + a pointer instead
744 of a GFileAttributeValue.
747 Fix up for above changes.
748 Add g_file_info_get_attribute_data to get
749 all info in one call, g_file_info_get_attribute_status
750 to get the status and g_file_info_get_attribute_as_string.
754 * glocalfileinfo.[ch]:
758 Make _guess_type static.
760 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
763 * inotify/Makefile.am: Fixed build when srcdir != builddir,
764 made mkenums and friends use temporary files to avoid leaving
765 empty generated files on failure (#503470).
767 2007-12-14 Alexander Larsson <alexl@redhat.com>
772 2007-12-14 Alexander Larsson <alexl@redhat.com>
776 * gfileattribute.[ch]:
779 * glocalfileoutputstream.c:
780 * gmountoperation.[ch]:
781 * goutputstream.[ch]:
782 Clean up all flags enums to not have _FLAGS in them
783 Make the names of some of the enums better.
788 2007-12-14 Michael Natterer <mitch@imendio.com>
790 * gio.symbols: fix g_io_scheduler symbol names.
792 2007-12-14 Alexander Larsson <alexl@redhat.com>
798 * gbufferedinputstream.h:
799 * gbufferedoutputstream.h:
802 * gdatainputstream.h:
803 * gdataoutputstream.h:
805 * gdirectorymonitor.h:
812 * gfileinputstream.h:
814 * gfilenamecompleter.h:
815 * gfileoutputstream.h:
816 * gfilterinputstream.h:
817 * gfilteroutputstream.h:
825 * gmemoryinputstream.h:
826 * gmemoryoutputstream.h:
831 * gsimpleasyncresult.h:
833 * gunixinputstream.h:
835 * gunixoutputstream.h:
839 * inotify/Makefile.am:
840 Only allow including <gio/gio.h> from apps
842 2007-12-14 Alexander Larsson <alexl@redhat.com>
845 * gsimpleasyncresult.c:
846 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
847 Split out the send_to_mainloop call into two versions instead
848 of having the block argument.
850 2007-12-13 Alexander Larsson <alexl@redhat.com>
854 * gbufferedinputstream.c:
856 * gfileinputstream.c:
857 * gfileoutputstream.c:
861 g_push/pop_current_cancellable ->
862 g_cancellable_push/pop_current
864 2007-12-13 Alexander Larsson <alexl@redhat.com>
868 Rename g_mount_for_location to g_file_mount_enclosing_volume.
870 2007-12-13 Alexander Larsson <alexl@redhat.com>
873 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
875 2007-12-12 Alexander Larsson <alexl@redhat.com>
878 Fix race condition when freeing proxy in
879 g_io_job_send_to_mainloop().
881 2007-12-12 Alexander Larsson <alexl@redhat.com>
887 Make attribute namespace separator "::" instead of ":".
888 Use - instead of _ as separator in attribute names.
890 2007-12-12 Alexander Larsson <alexl@redhat.com>
892 * gbufferedinputstream.h:
893 * gbufferedoutputstream.h:
894 * gdatainputstream.h:
895 * gdataoutputstream.h:
896 * gdirectorymonitor.h:
898 * gfileinputstream.h:
900 * gfileoutputstream.h:
901 * gfilterinputstream.h:
902 * gfilteroutputstream.h:
904 * glocalfileinputstream.h:
905 * glocalfileoutputstream.h:
906 * gmemoryinputstream.h:
907 * gmemoryoutputstream.h:
908 * gnativevolumemonitor.h:
910 * gunixinputstream.h:
911 * gunixoutputstream.h:
914 s/parent/parent_instance/ in GObjects
916 2007-12-12 Alexander Larsson <alexl@redhat.com>
921 No need for padding for interfaces
923 2007-12-12 Alexander Larsson <alexl@redhat.com>
927 * gbufferedinputstream.c:
928 * gbufferedoutputstream.c:
931 * gdatainputstream.[ch]:
933 * gdirectorymonitor.c:
935 * gfileattribute.[ch]:
938 * gfileinputstream.h:
940 * gfileoutputstream.[ch]:
941 * gfilterinputstream.h:
942 * gfilteroutputstream.h:
945 * gloadableicon.[ch]:
946 * gmemoryinputstream.c:
949 Fix up a bunch of details in the docs.
954 2007-12-11 David Zeuthen <davidz@redhat.com>
956 Rework how volumes, drives and volume monitoring is
957 done. Previosly the model was
961 where a GDrive instance represented a mount point and a GVolume
962 instance represented a mounted file system. This patch changes it
965 GDrive <1-N> GVolume <1-1> GMount
967 where GMount now serves the purpose of the old GVolume and the new
968 GVolume serves the purpose of the old GDrive. In addition the new
969 GDrive interface is used to represent a collection of GVolume
970 instances (typically partitions) and also contains utility to query
971 the state of the physical drive the GDrive object represents (such
972 as checking for media, polling the drive, ejecting the media etc.).
974 Also implement mounting and unmounting in the Unix volume monitor
975 backend. A subquent patch will introduce GDrive support for ejection
979 * gdrive.c: (g_drive_is_media_check_automatic),
980 (g_drive_is_media_removable), (g_drive_has_media),
981 (g_drive_can_poll_for_media), (g_drive_eject),
982 (g_drive_eject_finish), (g_drive_poll_for_media),
983 (g_drive_poll_for_media_finish):
985 * gfile.c: (g_file_find_enclosing_mount):
988 * glocaldirectorymonitor.c:
989 (g_local_directory_monitor_constructor), (mounts_changed):
990 * glocalfile.c: (get_mount_info),
991 (g_local_file_find_enclosing_mount),
992 (g_local_file_file_iface_init):
993 * gnativevolumemonitor.h:
994 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
995 (get_connected_drives), (g_union_volume_monitor_class_init),
996 (child_volume_added), (child_volume_removed),
997 (child_volume_changed), (child_mount_added), (child_mount_removed),
998 (child_mount_pre_unmount), (child_mount_changed),
999 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1000 (g_union_volume_monitor_remove_monitor),
1001 (_g_mount_get_for_mount_path):
1002 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1003 (guess_system_internal), (_g_get_unix_mounts),
1004 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1005 (g_unix_mount_free), (g_unix_mount_compare),
1006 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1007 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1008 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1009 (type_to_icon), (g_unix_mount_guess_name),
1010 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1011 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1012 (_resolve_symlink), (_resolve_dev_root):
1014 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1015 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1016 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1017 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1018 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1019 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1020 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1021 (g_unix_volume_volume_iface_init):
1023 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1024 (get_mounts), (get_volumes), (get_connected_drives),
1025 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1026 (mountpoints_changed), (mounts_changed),
1027 (g_unix_volume_monitor_init),
1028 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1029 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1030 * gunixvolumemonitor.h:
1031 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1032 (g_volume_mount), (g_volume_mount_finish):
1034 * gvolumemonitor.c: (g_volume_monitor_class_init),
1035 (g_volume_monitor_get_connected_drives),
1036 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1039 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1041 * gmountoperation.h (GPasswordFlags): Close the gap
1043 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1045 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1047 * gdesktopappinfo.[hc]: Remove _-prefixes
1049 2007-12-10 Tor Lillqvist <tml@novell.com>
1051 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1054 2007-12-10 Alexander Larsson <alexl@redhat.com>
1056 * gfile.c (g_file_set_display_name):
1057 Don't hardcode '/' (#502727)
1059 2007-12-09 Hans Breuer <hans@breuer.org>
1061 * makefile.msc : follow lib naming convention
1062 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1063 for user and group name, tested with ../tests/gio-ls
1065 2007-12-09 A. Walton <awalton@svn.gnome.org>
1067 * gdesktopappinfo.c:
1073 * gfileenumerator.c:
1078 * gmemoryinputstream.c:
1079 * gmemoryoutputstream.c:
1081 * gsimpleasyncresult.c:
1082 More documentation cleanup and filling in missing information, bringing
1083 GIO to 99% symbol coverage.
1085 2007-12-08 Hans Breuer <hans@breuer.org>
1087 [gio compiles and links on win32, not sure how much already works]
1088 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1089 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1090 base on win32 API; prefer g_lstat() over lstat(); instead of
1091 localtime_r() use an all GLib implementation on win32;
1092 get_mount_info() still needs a win32 specifc implementation
1093 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1094 win32_get_file_user_info to get owner/group info without uid/gid
1095 * glocalfileinputstream.c : include <io.h> on win32
1096 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1097 definition, use g_win32_ftruncate() for G_OS_WIN32
1098 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1099 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1100 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1101 * makefile.msc : updated
1103 2007-12-07 Alexander Larsson <alexl@redhat.com>
1105 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1106 Avoid warning spew if error == NULL
1108 2007-12-07 Alexander Larsson <alexl@redhat.com>
1111 Update docs wrt etags
1113 2007-12-06 Alexander Larsson <alexl@redhat.com>
1116 Include sys/types.h for dev_t (#501919)
1118 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1122 Make abicheck and pltcheck pass.
1124 2007-12-05 Alexander Larsson <alexl@redhat.com>
1127 * giomodule-priv.h: Added.
1128 * glocaldirectorymonitor.c:
1129 * glocalfilemonitor.c:
1130 * gunionvolumemonitor.c:
1132 Actually add the declaration of _g_io_modules_ensure_loaded
1134 2007-12-05 Alexander Larsson <alexl@redhat.com>
1136 * gdatainputstream.c:
1141 * glocaldirectorymonitor.c:
1142 * glocalfilemonitor.c:
1143 * gunionvolumemonitor.c:
1145 Make g_io_modules_ensure_loaded a private function and
1146 don't pass in the dirname. This means we can do magic
1147 directory finding in the win32 version.
1148 Export the actual load-modules-in-directory code so that
1149 gvfs can reuse that.
1151 2007-12-05 Alexander Larsson <alexl@redhat.com>
1153 * gbufferedinputstream.c:
1154 * gbufferedoutputstream.c:
1157 * gfileenumerator.[ch]:
1158 * gfileinputstream.c:
1159 * gfileoutputstream.[ch]:
1160 * gfilterinputstream.c:
1161 * gfilteroutputstream.c:
1162 * ginputstream.[ch]:
1164 * glocalfileenumerator.c:
1165 * glocalfileinputstream.c:
1166 * glocalfileoutputstream.c:
1167 * gmemoryinputstream.c:
1168 * gmemoryoutputstream.c:
1169 * goutputstream.[ch]:
1172 * gunixinputstream.c:
1173 * gunixoutputstream.c:
1174 Rename all struct members named:
1175 read, write, close, truncate, or mount
1176 to foo_fn, as these are reserved names
1177 and could be defined as macros in libc.
1180 2007-12-04 Alexander Larsson <alexl@redhat.com>
1183 (g_output_stream_close):
1184 Only call flush if non-null.
1186 2007-11-30 Dan Winship <danw@gnome.org>
1188 * ginputstream.c (g_input_stream_set_pending): Make this take a
1189 GError and return a gboolean, and do the "outstanding operation"
1190 check (and the "stream is already closed" check) itself.
1191 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1193 * goutputstream.c (g_output_stream_set_pending)
1194 (g_output_stream_clear_pending): Likewise
1196 * gbufferedinputstream.c:
1197 * gfileinputstream.c:
1198 * gfileoutputstream.c: Update for that
1200 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1201 Like g_simple_async_report_error_in_idle, but takes a GError
1202 rather than building one.
1204 2007-11-30 Dan Winship <danw@gnome.org>
1206 * goutputstream.c: Don't cheat and unset the "pending" flag around
1207 inner calls. Instead, call the class method directly rather than
1208 the wrapper function that checks "pending"
1210 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1212 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1214 2007-12-03 Hans Breuer <hans@breuer.org>
1216 [start of port to win32/msvc]
1217 * gcancellable.c : HAVE_UNIST_H and _pipe()
1218 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1219 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1220 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1222 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1223 * glocalvfs.c : use HAVE_PWD_H
1224 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1225 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1226 * Makefile.am : added to EXTRA_DIST
1228 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1230 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1233 2007-12-03 Alexander Larsson <alexl@redhat.com>
1236 Handle OSX style xattrs API (#500506)
1238 2007-12-03 Alexander Larsson <alexl@redhat.com>
1242 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1244 2007-12-02 A. Walton <awalton@svn.gnome.org>
1248 Documentation accuracy fixes.
1250 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1252 * gioenumtypes.c.template: Fix typo.
1254 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1256 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1258 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1260 * gdirectorymonitor.c:
1261 * gfilemonitor.c: Add properties
1263 * gbufferedoutputstream.c: Don't mark buffer-size property
1266 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1268 * gbufferedoutputstream.c: Add auto-grow property.
1270 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1272 * *.c: Unify the capitalization of section headings.
1274 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1276 * gmountoperation.c: Add properties
1278 * gdatainputstream.c: Turn byte-order and newline-type into
1281 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1283 * gioenumtypes.[hc].template: Templates for enum registration
1285 * Makefile.am: Generate gioenumtypes.[hc]
1287 * gio.h: Include gioenumtypes.h
1289 * gfile.h: Add some explicit nicks.
1291 * gio.symbols: Add new symbols
1293 * pltcheck.sh: Adjust
1295 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1297 * *.c: Explain etags and link to the explanation
1299 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1301 * *.c: Explain I/O priority.
1303 * *.c: More coding style fixes.
1305 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1307 * gasyncresult.c: Add another paragraph to the intro,
1308 adjust coding style of example.
1310 2007-11-29 A. Walton <awalton@svn.gnome.org>
1313 Fixes unknown meaning in GAppLaunchContext docs.
1315 Clarify asynchronous ops.
1317 Fix entity tag docs.
1320 Provides missing gtk-doc section, fixes API docs slighly.
1321 * gsimpleasyncresult.c:
1322 Fill in missing info in docs.
1323 * gunixinputstream.c:
1324 * gunixoutputstream.c:
1325 Be more expressive in short description.
1327 Remove gtk-doc stubs for non-public API.
1329 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1331 * *.c: Coding style fixups
1333 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1335 * inotify/inotify-helper.c: Don't export the lock from libgio.
1337 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1340 * abicheck.sh: Fix copy-and-paste leftovers
1342 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1344 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1346 2007-11-28 Alexander Larsson <alexl@redhat.com>
1350 Removed unnecessary file
1352 * gdesktopappinfo.[ch]:
1355 * glocaldirectorymonitor.[ch]:
1357 * glocalfileenumerator.[ch]:
1358 * glocalfileinputstream.[ch]:
1359 * glocalfilemonitor.[ch]:
1360 * glocalfileoutputstream.[ch]:
1362 * gnativevolumemonitor.c:
1363 * gpollfilemonitor.[ch]:
1364 * gunionvolumemonitor.[ch]:
1367 * gunixvolumemonitor.[ch]:
1370 * inotify/ginotifydirectorymonitor.[ch]:
1371 * inotify/ginotifyfilemonitor.[ch]:
1372 * inotify/inotify-helper.c:
1373 Append _ to all internal functions
1377 Export symbols needed for modules
1379 2007-11-28 Alexander Larsson <alexl@redhat.com>
1382 * abicheck.sh: Added.
1383 * makegioalias.pl: Added.
1384 * pltcheck.sh: Added.
1385 * gio.symbols: Added.
1388 Initial work on adding symbol handling.
1391 Correct ifdef guard name
1394 * inotify/Makefile.am:
1395 * xdgmime/Makefile.am:
1396 Include toplevel Makefile.decl
1398 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1400 * gcontenttype.c: Move doc comments to the unix section.
1402 * *.[hc]: More trivial doc corrections.
1404 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1406 * gpollfilemonitor.c:
1410 * gdesktopappinfo.c:
1415 * gdatainputstream.c:
1416 * gdatainputstream.h:
1417 * gdataoutputstream.c:
1418 * gdataoutputstream.h:
1419 * gfileinfo.h: Doc cleanups
1421 2007-11-28 Andre Klapper <a9016009@gmx.de>
1423 * gdesktopappinfo.c: Fix a typo.
1425 2007-11-27 Andre Klapper <a9016009@gmx.de>
1427 * glocalfileoutputstream.c: Fix a typo.
1429 2007-11-27 Alexander Larsson <alexl@redhat.com>
1432 Don't include removed headers
1434 2007-11-27 Alexander Larsson <alexl@redhat.com>
1437 * gsocketinputstream.[ch]: Removed.
1438 * gsocketoutputstream.[ch]: Removed.
1439 * gunixinputstream.[ch]: Added.
1440 * gunixoutputstream.[ch]: Added.
1441 Renamed GSocket*Stream to GUnix*Stream and made
1442 it unix-only, since its not really only for sockets
1443 and it only works on unix (but is highly useful there).
1445 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1451 * gbufferedinputstream.c:
1452 * gbufferedinputstream.h:
1453 * gbufferedoutputstream.c:
1454 * gbufferedoutputstream.h:
1458 * gdatainputstream.c:
1459 * gdatainputstream.h:
1460 * gdataoutputstream.c:
1461 * gdataoutputstream.h:
1462 * gdirectorymonitor.c:
1463 * gdirectorymonitor.h:
1470 * gfileenumerator.c:
1471 * gfileenumerator.h:
1476 * gfileinputstream.c:
1477 * gfileinputstream.h:
1480 * gfilenamecompleter.c:
1481 * gfilenamecompleter.h:
1482 * gfileoutputstream.c:
1483 * gfileoutputstream.h:
1484 * gfilterinputstream.c:
1485 * gfilterinputstream.h:
1486 * gfilteroutputstream.c:
1487 * gfilteroutputstream.h:
1500 * glocalfileoutputstream.c:
1501 * gmemoryinputstream.c:
1502 * gmemoryinputstream.h:
1503 * gmemoryoutputstream.c:
1504 * gmemoryoutputstream.h:
1505 * gmountoperation.c:
1506 * gmountoperation.h:
1509 * gpollfilemonitor.c:
1512 * gsimpleasyncresult.c:
1513 * gsimpleasyncresult.h:
1514 * gsocketinputstream.c:
1515 * gsocketinputstream.h:
1516 * gsocketoutputstream.c:
1517 * gsocketoutputstream.h:
1524 * gunixvolumemonitor.c:
1533 Bumps documentation to 93% symbol coverage, touching most
1534 of the public files. Fixes broken function documentation prototypes.
1535 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1536 gtk-doc headers in private files.
1538 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1540 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1541 (g_buffered_input_stream_read_byte):
1542 * gbufferedinputstream.h:
1543 New functions for efficient access to buffer and simple single byte
1546 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1547 (g_data_input_stream_read_until):
1548 * gdatainputstream.h:
1549 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1550 read_until with multiple stop chars.
1552 2007-11-27 Alexander Larsson <alexl@redhat.com>
1556 * inotify/Makefile.am:
1557 Use the user-specified giomoduledir
1559 2007-11-27 Alexander Larsson <alexl@redhat.com>
1563 Add catch-all gio.h header
1564 Don't install gdummyfile.h
1566 2007-11-26 Alexander Larsson <alexl@redhat.com>
1568 * Makefile.am (gioinclude_HEADERS):
1569 Remove trailing whitespace
1571 2007-11-26 Alexander Larsson <alexl@redhat.com>
1573 Merge gio-standalone into glib
1575 2007-11-25 Christian Kellner <gicmo@gnome.org>
1577 * gio/goutputstream.c:
1578 Fix small mistake in the docs.
1580 2007-11-21 Christian Persch <chpe@gnome.org>
1582 * gio/glocalfile.c: (g_local_file_trash):
1583 Convert filenames to UTF-8 for GError.
1584 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1585 as per xdg base dir spec.
1587 2007-11-21 Christian Persch <chpe@gnome.org>
1589 * gio/gdesktopappinfo.c:
1590 Use that g_key_file_to_data cannot fail.
1592 Use stock defines for the key file group and key names.
1595 2007-11-21 Alexander Larsson <alexl@redhat.com>
1598 (copy_stream_with_progress):
1599 Make sure we do a final progress callback with
1600 the full total size.
1602 2007-11-21 Alexander Larsson <alexl@redhat.com>
1605 Export g_file_copy_attributes
1606 Remove padding as its not needed for interfaces
1608 2007-11-20 Alexander Larsson <alexl@redhat.com>
1613 Add G_IO_ERROR_WOULD_MERGE for
1614 copy/move dir on dir with overwrite.
1616 2007-11-20 Alexander Larsson <alexl@redhat.com>
1619 * gio/glocalfileinfo.c:
1620 Add COPY_NAME (this is an optional
1621 non-modified utf8 version of the name) that
1624 2007-11-20 Alexander Larsson <alexl@redhat.com>
1626 * gio/glocalfileenumerator.c:
1627 Report errors as GIOError, not GFileError
1629 2007-11-16 Alexander Larsson <alexl@redhat.com>
1631 * gio/glocalfileoutputstream.c:
1632 * gio/gwin32appinfo.c:
1633 Fix typos in strings.
1634 Patch from Luca Ferretti <elle.uca@libero.it>
1636 2007-11-15 Alexander Larsson <alexl@redhat.com>
1639 Post release version bump
1641 === gio-standalone 0.1.2 ===
1643 2007-11-15 Alexander Larsson <alexl@redhat.com>
1645 * docs/reference/gio/Makefile.am:
1646 Fix up distcheck by removing weird
1652 2007-11-14 Alexander Larsson <alexl@redhat.com>
1654 * gio/gdesktopappinfo.c:
1655 * gio/glocaldirectorymonitor.c:
1657 * gio/glocalfileinfo.c:
1658 * gio/inotify/inotify-sub.c:
1659 * programs/gio-cat.c:
1660 * programs/gio-copy.c:
1661 * programs/gio-info.c:
1662 * programs/gio-ls.c:
1663 * programs/gio-monitor-dir.c:
1664 * programs/gio-monitor-file.c:
1665 * programs/gio-mount.c:
1666 * programs/gio-move.c:
1667 * programs/gio-rm.c:
1668 * programs/gio-save.c:
1669 * programs/gio-trash.c:
1670 Leak fixes from Kjartan Maraas
1672 2007-11-14 Alexander Larsson <alexl@redhat.com>
1674 * gio/fam/fam-helper.c:
1676 * gio/glocalfileinfo.c:
1680 * gio/inotify/inotify-diag.c:
1681 * gio/inotify/inotify-kernel.c:
1682 Various code cleanups from Kjartan Maraas
1684 2007-11-14 Alexander Larsson <alexl@redhat.com>
1686 * gio/gioscheduler.c:
1688 Set up threadpool so that we cache 2 unused
1689 idle threads for at 15 secs. This means we
1690 will reuse thread-local data (like dbus connections)
1693 2007-11-14 Alexander Larsson <alexl@redhat.com>
1695 * gio/fam/fam-helper.c:
1696 * gio/fam/gfamdirectorymonitor.c:
1697 * gio/fam/gfamfilemonitor.c:
1699 * gio/gcontenttype.c:
1700 * gio/gdatainputstream.c:
1701 * gio/gdataoutputstream.c:
1705 * gio/gfileattribute.h:
1706 * gio/gfileenumerator.c:
1708 * gio/ginputstream.c:
1711 * gio/glocalfileinfo.c:
1712 * gio/goutputstream.c:
1713 * gio/gpollfilemonitor.c:
1714 * gio/gsimpleasyncresult.c:
1715 * gio/gunixmounts.c:
1716 * gio/gunixmounts.h:
1717 * gio/inotify/ginotifydirectorymonitor.c:
1718 * gio/inotify/ginotifyfilemonitor.c:
1719 * gio/inotify/inotify-diag.c:
1720 * gio/inotify/inotify-kernel.c:
1721 * gio/inotify/inotify-path.c:
1723 * gio/test-streams.c:
1724 * programs/gio-info.c:
1725 * programs/gio-monitor-dir.c:
1726 * programs/gio-monitor-file.c:
1727 Various code cleanups from Kjartan Maraas
1729 2007-11-13 Alexander Larsson <alexl@redhat.com>
1732 Handle the uri-scheme calls for dummy files
1734 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1736 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1737 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1738 to avoid clash with the C++ keyword.
1740 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1742 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1743 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1745 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1747 * gio/glocaldirectorymonitor.c:
1748 * gio/glocalfilemonitor.c:
1749 * gio/gunionvolumemonitor.c:
1750 Don't use g_once_init_*() for initializations that could fail and
1751 could leave the initialization variable set to 0 but use GOnce.
1752 This prevents a deadlock on the second call when trying to create
1753 a monitor and no monitor type is available. Thanks to Sven Herzberg
1756 2007-11-11 Sven Herzberg <sven@imendio.com>
1758 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1759 #ifdef (make it work on MacOS X again)
1761 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1763 Fixes Changelog for last two commits (sorry guys).
1765 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1767 * gio/gbufferedinputstream.c:
1768 * gio/gdatainputstream.c:
1770 * gio/gfileoutputstream.c:
1771 * gio/gfilterinputstream.c:
1772 * gio/glocalfileinputstream.c:
1775 More consistency fixes in g*stream.c files.
1776 Significant clean of gfile's documentation, filling in of
1777 asynchronous operations documentation.
1779 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1781 * gio/gasyncresult.c:
1782 * gio/gbufferedinputstream.c:
1783 * gio/gbufferedoutputstream.c:
1784 * gio/gcancellable.c:
1785 * gio/gcontenttype.c:
1786 * gio/gdatainputstream.c:
1787 * gio/gdataoutputstream.c:
1788 * gio/gdesktopappinfo.c:
1791 * gio/gfileattribute.c:
1792 * gio/gio/gfileenumerator.c:
1794 * gio/gfileinputstream.c:
1795 * gio/gfilemonitor.c:
1796 * gio/gfileoutputstream.c:
1797 * gio/ginputstream.c:
1799 * gio/gioscheduler.c:
1800 * gio/gloadableicon.c:
1801 * gio/glocalfileoutputstream.c:
1802 * gio/gmemoryoutputstream.c:
1803 * gio/gmountoperation.c:
1804 * gio/goutputstream.c:
1806 * gio/gsimpleasyncresult.c:
1807 * gio/gunionvolumemonitor.c:
1808 * gio/gunixmounts.c:
1809 * gio/gunixvolume.c:
1813 * gio/gvolumemonitor.c:
1814 Updated documentation stubs, working towards consistency and
1817 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1819 * gio/gmemoryoutputstream.c:
1820 * gio/gmemoryoutputstream.h:
1821 Change g_memory_output_stream_set_free_on_close() to
1822 g_memory_output_stream_set_free_data() as this makes more sense and
1823 is more consistent with GMemoryInputStream.
1825 2007-11-07 Alexander Larsson <alexl@redhat.com>
1832 Change how we find the default vfs so that
1833 we can handle a gvfs failing to init
1835 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1837 * gio/gbufferedoutputstream.c:
1838 * gio/gdatainputstream.c:
1839 * gio/gdataoutputstream.c:
1840 * gio/gfileinputstream.c:
1841 * gio/gfileoutputstream.c:
1842 * gio/gfilterinputstream.c:
1843 * gio/gfilteroutputstream.c:
1844 * gio/ginputstream.c:
1845 * gio/gmemoryinputstream.c:
1846 * gio/gmemoryoutputstream.c:
1847 * gio/goutputstream.c:
1848 * gio/gsimpleasyncresult.c:
1849 * gio/gsocketinputstream.c:
1850 * gio/gsocketoutputstream.c:
1851 Add guards to the remaining public functions, add a TODO for
1852 an unimplemented function and remove some useless guards.
1854 2007-11-07 Alexander Larsson <alexl@redhat.com>
1857 Autoconf checks for the various types of
1858 getpwuid_r and getgrgid_r
1860 * gio/glocalfileinfo.c:
1861 Use the autoconf checks from above
1863 2007-11-07 Alexander Larsson <alexl@redhat.com>
1866 (g_local_file_query_filesystem_info):
1867 Some fixes for the statvfs case
1869 2007-11-07 Alexander Larsson <alexl@redhat.com>
1872 (g_local_file_query_filesystem_info):
1873 Pick the "best" of statfs / statvfs for the system
1874 if both are availible.
1876 2007-11-07 Alexander Larsson <alexl@redhat.com>
1878 Solaris fixes from Halton.Huo@Sun.COM:
1885 * gio/glocalfileinfo.c:
1886 Fix for solaris definition of getpwuid_r
1888 * gio/test-streams.c:
1889 Use G_GNUC_PRETTY_FUNCTION
1891 2007-11-07 Alexander Larsson <alexl@redhat.com>
1893 * gio/gdesktopappinfo.c:
1894 (update_default_list):
1895 Remove double semicolon.
1896 Patch from Jens Granseuer
1898 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1900 * docs/reference/gio/gio-sections.txt:
1901 * gio/gbufferedinputstream.c:
1902 * gio/gbufferedinputstream.h:
1903 * gio/gdatainputstream.c:
1904 * gio/gfileenumerator.c:
1905 * gio/gioscheduler.c:
1906 * gio/gunionvolumemonitor.c:
1908 * programs/gio-save.c:
1909 Fix typo: availible -> available. Unfortuntely this breaks API
1910 and ABI as g_buffered_input_stream_get_available() was renamed.
1912 * gio/gunixmounts.c:
1913 * gio/gbufferedinputstream.c:
1914 Add guards for public functions.
1916 2007-11-06 Ross Burton <ross@openedhand.com>
1918 * docs/reference/gio/Makefile.am:
1919 Fix invalid += usage which automake 1.10 doesn't like.
1921 2007-11-06 Alexander Larsson <alexl@redhat.com>
1924 (g_app_launch_context_class_init):
1927 Patch from Ross Burton
1929 2007-11-06 Alexander Larsson <alexl@redhat.com>
1932 Post release version bump
1934 === gio-standalone 0.1.1 ===
1936 2007-11-06 Alexander Larsson <alexl@redhat.com>
1939 Bump version to 0.1.1
1941 * gio/gsimpleasyncresult.c:
1942 (g_simple_async_result_set_from_error):
1943 Remove bogus g_return_if_fail
1945 2007-11-06 Alexander Larsson <alexl@redhat.com>
1948 The name is gio-standalone
1951 Add top src/builddir to includedir
1953 2007-11-06 Alexander Larsson <alexl@redhat.com>
1955 * docs/reference/gio/gio-sections.txt:
1957 * gio/gbufferedinputstream.c:
1958 * gio/gbufferedoutputstream.c:
1959 * gio/gcancellable.c:
1960 * gio/gdatainputstream.h:
1961 * gio/gdataoutputstream.c:
1962 * gio/gdataoutputstream.h:
1963 * gio/gdirectorymonitor.c:
1965 * gio/gfileattribute.c:
1966 * gio/gfileattribute.h:
1967 * gio/gfileenumerator.c:
1968 * gio/gfileenumerator.h:
1971 * gio/gfileinputstream.h:
1972 * gio/gfilemonitor.c:
1973 * gio/gfileoutputstream.h:
1974 * gio/glocalfilemonitor.h:
1975 * gio/glocalfileoutputstream.h:
1976 * gio/gmemoryinputstream.c:
1977 * gio/gmemoryoutputstream.c:
1978 * gio/gmountoperation.c:
1979 * gio/goutputstream.c:
1980 * gio/goutputstream.h:
1982 * gio/gsimpleasyncresult.c:
1983 * gio/gunixmounts.c:
1984 * gio/gunixmounts.h:
1986 * gio/inotify/inotify-helper.c:
1987 Fix gtk-doc warnings
1989 Patch from Ross Burton
1991 2007-11-06 Alexander Larsson <alexl@redhat.com>
1993 * gio/gfilenamecompleter.c:
1994 (g_filename_completer_get_completions):
1997 * gio/gunixvolume.c:
1998 Remove unused function
2000 Patches from Ross Burton
2002 2007-11-06 Alexander Larsson <alexl@redhat.com>
2007 Padding not needed for interfaces
2009 2007-11-06 Alexander Larsson <alexl@redhat.com>
2011 * gio/gfilemonitor.c:
2015 Make giotypes.h an internal file
2018 * gio/gbufferedinputstream.h:
2019 * gio/gbufferedoutputstream.h:
2020 * gio/gcancellable.h:
2021 * gio/gdatainputstream.h:
2022 * gio/gdataoutputstream.h:
2023 * gio/gdirectorymonitor.c:
2024 * gio/gdirectorymonitor.h:
2029 * gio/gfileattribute.h:
2030 * gio/gfileenumerator.h:
2035 * gio/gfilemonitor.c:
2036 * gio/gfilemonitor.h:
2037 * gio/gfilenamecompleter.c:
2038 * gio/gfilenamecompleter.h:
2039 * gio/gfilterinputstream.h:
2040 * gio/gfilteroutputstream.h:
2041 * gio/ginputstream.h:
2042 * gio/gmemoryinputstream.h:
2043 * gio/gmemoryoutputstream.h:
2044 * gio/gmountoperation.c:
2045 * gio/gmountoperation.h:
2046 * gio/gnativevolumemonitor.c:
2047 * gio/goutputstream.h:
2050 * gio/gsimpleasyncresult.c:
2051 * gio/gsimpleasyncresult.h:
2052 * gio/gsocketinputstream.h:
2053 * gio/gsocketoutputstream.h:
2054 * gio/gthemedicon.c:
2055 * gio/gthemedicon.h:
2059 * gio/gvolumemonitor.c:
2060 * gio/gvolumemonitor.h:
2061 Add padding in classes where it seems useful
2062 Don't include giotypes.h from public headers
2063 Move in Class definitions into c file where possible
2068 2007-11-06 Alexander Larsson <alexl@redhat.com>
2070 * docs/reference/gio/gio-docs.xml:
2071 Better structure for API docs
2073 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2076 * gio/gloadableicon.c:
2077 * gio/gsimpleasyncresult.c:
2078 * gio/gthemedicon.c:
2079 Add some more guards to public functions. Only files missing are now
2082 2007-11-06 Alexander Larsson <alexl@redhat.com>
2084 * docs/reference/gio/gio-docs.xml:
2085 Remove old files, add missing ones
2087 2007-11-06 Alexander Larsson <alexl@redhat.com>
2089 * docs/reference/gio/gio-sections.txt:
2092 Hide implementation classes
2094 * gio/gdriveprivate.h:
2095 * gio/gvolumeprivate.h:
2096 Remove non-existing function declarations
2098 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2101 Fix compilation warnings and add guards to the new functions.
2103 * gio/gasyncresult.c:
2105 Add guards to the public functions.
2108 Implement get_path().
2110 2007-11-06 Alexander Larsson <alexl@redhat.com>
2112 * gio/gfilenamecompleter.c:
2113 Make g_filename_completer_get_completions
2114 return char ** instead of GList for
2117 * docs/reference/gio/gio-docs.xml:
2118 * docs/reference/gio/gio-sections.txt:
2120 * gio/gasyncresult.c:
2121 * gio/gbufferedinputstream.c:
2122 * gio/gbufferedoutputstream.c:
2123 * gio/gcancellable.c:
2124 * gio/gcontenttype.c:
2125 * gio/gdatainputstream.c:
2126 * gio/gdataoutputstream.c:
2127 * gio/gdesktopappinfo.c:
2128 * gio/gdirectorymonitor.c:
2132 * gio/gfileattribute.c:
2133 * gio/gfileenumerator.c:
2136 * gio/gfileinputstream.c:
2137 * gio/gfilemonitor.c:
2138 * gio/gfilenamecompleter.c:
2139 * gio/gfilenamecompleter.h:
2140 * gio/gfileoutputstream.c:
2141 * gio/gfilterinputstream.c:
2143 * gio/ginputstream.c:
2145 * gio/gioscheduler.c:
2146 * gio/gloadableicon.c:
2147 * gio/glocaldirectorymonitor.c:
2149 * gio/glocalfileinputstream.c:
2150 * gio/glocalfilemonitor.c:
2151 * gio/glocalfileoutputstream.c:
2153 * gio/gmemoryinputstream.c:
2154 * gio/gmemoryoutputstream.c:
2155 * gio/gmountoperation.c:
2156 * gio/goutputstream.c:
2157 * gio/gpollfilemonitor.c:
2159 * gio/gsimpleasyncresult.c:
2160 * gio/gsocketinputstream.c:
2161 * gio/gsocketoutputstream.c:
2162 * gio/gthemedicon.c:
2163 * gio/gunionvolumemonitor.c:
2165 * gio/gunixmounts.c:
2166 * gio/gunixvolume.c:
2167 * gio/gunixvolumemonitor.c:
2171 * gio/gvolumemonitor.c:
2172 * gio/gwin32appinfo.c:
2173 Add (mostly stub) doc strings to public functions.
2174 Patch from Andrew Walton (awalton@gmail.com)
2176 2007-11-06 Alexander Larsson <alexl@redhat.com>
2178 * gio/gappinfo.[ch]:
2179 Added GAppLaunchContext object and pass that to launch.
2180 This allows simple implementation of both
2181 launch-on-screen and startup notification via a gtk+
2182 subclass of GAppLaunchContext
2184 * gio/gdesktopappinfo.c:
2185 Implement GAppLaunchContext API
2187 * gio/gwin32appinfo.c:
2190 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2192 * gio/gmountoperation.c:
2193 Add some guards to GMountOperation's public functions.
2195 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2199 * gio/gcancellable.c:
2200 * gio/gdirectorymonitor.c:
2202 * gio/gfileenumerator.c:
2203 * gio/gfilemonitor.c:,
2204 * gio/gfilenamecompleter.c:
2207 * gio/gioscheduler.c:
2211 * gio/gvolumemonitor.c:
2212 Add even more guards to various public functions.
2214 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2217 Add guards to the public functions of GAppInfo.
2219 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2221 * gio/gcontenttype.c:
2222 Add some more guards for public functions.
2224 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2226 * gio/fam/fam-module.c:
2227 * gio/fam/gfamdirectorymonitor.c:
2228 * gio/fam/gfamdirectorymonitor.h:
2229 * gio/fam/gfamfilemonitor.c:
2230 * gio/fam/gfamfilemonitor.h:
2231 * gio/inotify/ginotifydirectorymonitor.c:
2232 * gio/inotify/ginotifydirectorymonitor.h:
2233 * gio/inotify/ginotifyfilemonitor.c:
2234 * gio/inotify/ginotifyfilemonitor.h:
2235 Add proper copyright information and remove an unused variable
2236 in the GInotifyFileMonitor constructor.
2238 * gio/gcancellable.c:
2239 Add a guard for a public function and an assertion to prevent
2240 an undefined program state.
2242 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2244 * gio/gfileattribute.c:
2245 Don't run into an assertion if the given attribute value is NULL
2246 in g_file_attribute_value_get_*() but instead return a fallback
2247 value that makes sense in most situations. Passing them a attribute
2248 value with the wrong type will still run into an assertion.
2250 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2252 * gio/gfileattribute.c:
2254 Add even more guards to the public functions. Also fix the refcounting
2255 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2256 let g_file_info_list_attributes() filter the attributes by namespace
2257 instead of simply ignoring the namespace parameter.
2259 2007-11-03 Sven Herzberg <sven@imendio.com>
2261 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2262 (This makes gio work on MacOS X again)
2264 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2267 Build the gio subdirectory before the docs. Otherwise the build will
2270 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2271 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2272 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2273 Add guards to the public functions.
2275 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2277 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2278 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2279 to prevent a compiler warning.
2281 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2282 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2283 return something in the non-void function find_topdir_for().
2285 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2292 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2294 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2295 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2296 * gwin32appinfo.c (g_win32_app_info_launch):
2297 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2298 envp_for_startup_id, g_desktop_app_info_launch,
2299 g_desktop_app_info_launch_uris):
2301 Give an opaque 'startup_id' string instead of 'envp'.
2302 Support empty file lists for launching new windows.
2303 Fix infinite recursion bug when launching URIs.
2305 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2308 Add guard to the new g_file_get_uri_scheme() function.
2310 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2313 Convert a g_return_val_if_fail() to setting the GError instead as
2314 otherwise applications have to verify the parameter before otherwise
2315 and the parameter might come directly from the user.
2317 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2319 * gio/inotify/ginotify*.[ch]:
2320 Add missing copyright information.
2322 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2325 Add guards in the beginning of public functions to check for valid
2326 parameters and fix a bug in copy_stream_with_progress() that could've
2327 caused writing less bytes than reading.
2328 * gio/glocalfileinfo.c:
2329 Check for a NULL parameter and set the GError accordingly then.
2330 * gio/goutputstream.c:
2331 Fix the same bug as in gfile.c that could've caused writing less bytes
2332 than reading in g_output_stream_real_splice().
2334 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2337 Use the correct gvolumeprivate.h naming
2339 2007-11-01 Christian Kellner <gicmo@gnome.org>
2342 Remove leftover "$(daemon_sources)" entry.
2344 2007-11-01 Christian Kellner <gicmo@gnome.org>
2349 Add copyright information to source files.
2351 2007-11-01 Alexander Larsson <alexl@redhat.com>
2355 Add g_file_get_uri_scheme
2357 2007-11-01 Alexander Larsson <alexl@redhat.com>
2360 * gio/gdesktopappinfo.c:
2361 * gio/gwin32appinfo.c:
2362 Add g_app_info_get_default_for_uri_scheme.
2364 2007-11-01 Alexander Larsson <alexl@redhat.com>
2367 Correct filename for gdriveprivate.h
2369 2007-10-31 Alexander Larsson <alexl@redhat.com>
2372 Rename id:value to id:file
2375 * gio/glocalfileinfo.c:
2378 2007-10-31 Alexander Larsson <alexl@redhat.com>
2380 * gio/gunixvolume.c:
2382 Remove g_volume_get_platform_id, as thats not
2383 needed with the simpler union volume monitor
2385 2007-10-31 Alexander Larsson <alexl@redhat.com>
2388 * gio/guniondrive.[ch]: Removed.
2389 * gio/gunionvolume.[ch]: Removed.
2390 Remove GUnionDrive/Volume
2392 * gio/gunionvolumemonitor.c:
2393 Simplify union volume monitor, now we
2394 only have one native volume monitor and
2395 we use the actual volumes/drives from the
2396 child monitors instead of wrapping them
2398 * gio/gnativevolumemonitor.[ch]:
2399 Base class for native volume monitors.
2400 Includes priority and get_volume_for_mountpoint
2403 Add g_file_find_enclosing_volume
2406 Remove volume name fs attribute
2407 Add readonly fs attribute
2410 Implement readonly attribute
2411 remove volume name attribute
2412 Implement find_enclosing volume
2414 * gio/gunixmounts.c:
2415 Add a volume for "/".
2417 * gio/gunixvolume.[ch]:
2418 Set better name for /
2420 * gio/gunixvolumemonitor.[ch]:
2421 Derive from GNativeVolumeMonitor
2422 Implement get_volume_for_mountpoint
2425 GVolume typedef moved to gfile.h
2427 * gio/gvolumeprivate.h:
2428 Add g_volume_get_for_mount_path
2430 2007-10-31 Alexander Larsson <alexl@redhat.com>
2432 * gio/gunixmounts.[ch]:
2433 Add cache info to unix mount listers
2434 Make getmntent use threadsafe
2435 Add is_system_internal attribute for GUnixMount
2437 * gio/gunixvolume.c:
2438 (g_unix_volume_new):
2439 Use is_system_internal instead of own code
2441 * gio/glocaldirectorymonitor.c:
2442 * gio/gunixvolumemonitor.c:
2443 Update to new gunixmounts API
2448 2007-10-30 Alexander Larsson <alexl@redhat.com>
2451 Add volume name fsinfo attribute
2454 Read volume name info
2456 * gio/gunionvolumemonitor.c:
2457 Fix infinite loops when finalizing a union volume monitor
2459 2007-10-30 Alexander Larsson <alexl@redhat.com>
2461 * gio/goutputstream.[ch]:
2462 Add splice() with default implementation
2464 * gio/gsocketoutputstream.c:
2465 (g_socket_output_stream_write):
2466 Return error on cancellation correctly.
2468 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2470 * gio/glocalfile.c (g_local_file_trash):
2471 Do not leak a string.
2473 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2475 * gio/gfile.c (g_file_load_contents):
2476 Unref the stream after closing it.
2478 2007-10-25 Alexander Larsson <alexl@redhat.com>
2480 * gio/gioscheduler.h:
2483 2007-10-25 Alexander Larsson <alexl@redhat.com>
2487 Add g_file_has_uri_scheme and implement for local files
2489 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2491 * gio/gdesktopappinfo.c: do not leak a string.
2493 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2495 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2496 (g_local_directory_monitor_new):
2497 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2498 (g_local_file_monitor_new):
2499 Only look for the monitor type that should be used the first time
2500 and use g_qsort_with_data() instead of our own bubble sort
2503 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2506 * gio/fam/Makefile.am:
2507 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2508 * gio/fam/fam-helper.h:
2509 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2510 * gio/fam/gfamdirectorymonitor.c:
2511 * gio/fam/gfamdirectorymonitor.h:
2512 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2513 * gio/fam/gfamfilemonitor.h:
2514 * gio/glocaldirectorymonitor.c:
2515 * gio/glocaldirectorymonitor.h:
2516 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2517 * gio/glocalfilemonitor.h:
2518 * gio/inotify/Makefile.am:
2519 * gio/inotify/ginotifydirectorymonitor.c:
2520 * gio/inotify/ginotifydirectorymonitor.h:
2521 * gio/inotify/ginotifyfilemonitor.c:
2522 * gio/inotify/ginotifyfilemonitor.h:
2523 Implement the FAM and Inotify monitors as
2524 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2525 their own GIO module. GLocal(Directory|File)Monitor will use the
2526 monitor with the highest rank that is supported on that machine.
2528 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2531 Change GIO module dir to $(libdir)/gio/modules and change
2532 the log domain from GVFS to GIO. Also only export symbols starting
2533 with g_ in the resulting library.
2534 * gio/test-streams.c: (main):
2535 Set log handler for the GIO log domain.
2537 2007-10-22 Alexander Larsson <alexl@redhat.com>
2539 * gio/gfilenamecompleter.[ch]:
2540 Add g_filename_completer_set_dirs_only
2542 2007-10-22 Alexander Larsson <alexl@redhat.com>
2545 * gio/gurifuncs.[ch]:
2546 Add some simple URI helpers
2548 * gio/gfilenamecompleter.[ch]:
2549 Added object for filename (parse name actually) completion
2552 Handle ~ in parse names
2554 2007-10-17 Alexander Larsson <alexl@redhat.com>
2557 * gio/glocalfileinfo.c:
2558 Add and implement id:value attribute
2560 2007-10-17 Alexander Larsson <alexl@redhat.com>
2563 * gio/guniondrive.c:
2565 Add and implement g_drive_has_volumes
2567 2007-10-17 Alexander Larsson <alexl@redhat.com>
2570 * gio/glocalfileinfo.[ch]:
2571 Add unix:is_mountpoint and implement for local files
2573 2007-10-16 Alexander Larsson <alexl@redhat.com>
2575 * gio/gunionvolumemonitor.c:
2576 (g_union_volume_monitor_init):
2577 Fix up the unix type getting so that it works with gcc
2579 2007-10-12 Alexander Larsson <alexl@redhat.com>
2582 * gio/glocalfileinfo.c:
2583 Add thumbnail:failed to file info
2585 2007-10-12 Richard Hult <richard@imendio.com>
2587 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2588 optimizing away the get_type call (happens with some gcc versions,
2589 like the one shipped with OS X 10.4).
2591 2007-10-12 Alexander Larsson <alexl@redhat.com>
2593 * gio/glocalfileinfo.c:
2594 (_g_local_file_info_set_attribute):
2595 Fix build if not HAVE_XATTR
2596 Patch from Milosz Derezynski <internalerror@gmail.com>
2598 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2600 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2601 around for review, otherwise I would have asked you before
2604 2007-10-11 Alexander Larsson <alexl@redhat.com>
2607 Add thumbnail:path attribute
2609 * gio/glocalfileinfo.c:
2610 Implement thumbnail:path for local files
2612 2007-10-11 Alexander Larsson <alexl@redhat.com>
2614 * gio/glocalfileinfo.c:
2615 (_g_local_file_info_get):
2616 Avoid duplicate icon names
2618 2007-10-11 Alexander Larsson <alexl@redhat.com>
2620 * gio/gthemedicon.[ch]:
2621 Change g_themed_icon_get_names return type to const
2623 2007-10-10 Alexander Larsson <alexl@redhat.com>
2625 * gio/glocalfileinfo.c:
2626 Don't reference freed memory
2628 2007-10-10 Alexander Larsson <alexl@redhat.com>
2630 * gio/gfileattribute.c:
2633 * gio/glocalfileinfo.c:
2636 2007-10-10 Alexander Larsson <alexl@redhat.com>
2639 Check for NULL icons
2641 * gio/gfileattribute.c:
2642 Don't dup when getting objects (same as for string attributes)
2644 * gio/gicon.c (g_icon_equal):
2645 Safely handle NULLs in equal
2647 2007-10-10 Alexander Larsson <alexl@redhat.com>
2650 Fix c++ compilation issues
2651 Patch from Milosz Derezynski <internalerror@gmail.com>
2653 2007-10-10 Alexander Larsson <alexl@redhat.com>
2655 * programs/gio-monitor-dir.c:
2656 Don't crash if dir monitor not supported.
2658 2007-10-09 Alexander Larsson <alexl@redhat.com>
2661 Add missing G_END_DECLS
2663 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2665 * gio/gfile.c: (g_file_set_display_name),
2666 (g_file_query_settable_attributes),
2667 (g_file_query_writable_namespaces):
2668 Return NULL not FALSE on errors as the return type is a pointer.
2670 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2672 * gio/glocalfile.c: (g_local_file_monitor_file):
2673 Don't call monitor_file on the default interface vtable (which
2674 is NULL) but simply return NULL. The caller, GFile, will create a
2675 polling monitor if NULL is returned.
2677 2007-10-09 Alexander Larsson <alexl@redhat.com>
2681 * gio-unix-2.0.pc.in:
2682 Add gio-unix-2.0.pc if OS_UNIX
2685 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2687 2007-10-09 Alexander Larsson <alexl@redhat.com>
2689 * gio/gunixmounts.[ch]:
2690 Make unix mount monitoring API sane.
2691 Now its just a object with mounts_changed
2692 and mountpoints_changed signals.
2694 * gio/glocaldirectorymonitor.c:
2695 * gio/gunixvolumemonitor.c:
2696 Use new mount monitor api
2698 2007-10-09 Alexander Larsson <alexl@redhat.com>
2700 * gio/gunixmounts.[ch]:
2701 Move guess type into one call for mounts and one for mountpoints
2704 * gio/gunixvolume.c:
2707 2007-10-09 Alexander Larsson <alexl@redhat.com>
2709 * gio/gunixmounts.[ch]:
2710 Remove _ prefix in preparation to make this semi-public
2711 Hide implementation of structs
2713 * gio/glocaldirectorymonitor.c:
2715 * gio/gunixvolume.c:
2716 * gio/gunixvolumemonitor.c:
2717 Update for above API changes
2719 2007-10-08 Alexander Larsson <alexl@redhat.com>
2722 Better polling fallback. This also handles the case where we have
2723 a monitor_file implementation, but it fails.
2725 2007-10-08 Alexander Larsson <alexl@redhat.com>
2729 * gio/gunixmounts.c:
2730 * programs/gio-monitor-dir.c:
2731 * programs/gio-monitor-file.c:
2732 Added cancellable to file monitoring calls.
2733 These are really sync calls and need this.
2735 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2737 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2738 (g_local_vfs_class_init):
2739 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2740 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2742 2007-10-05 Alexander Larsson <alexl@redhat.com>
2744 * gio/gdirectorymonitorprivate.h:
2745 * gio/gfilemonitorprivate.h:
2746 * gio/gdirectorymonitor.h:
2747 * gio/gfilemonitor.h:
2748 Remove *private.h and move to the public API, so that
2749 we can do implementations outside gio (such as in gvfs)
2751 * gio/gdirectorymonitor.c:
2752 * gio/gfilemonitor.c:
2753 * gio/glocaldirectorymonitor.c:
2754 * gio/gpollfilemonitor.c:
2755 * gio/inotify/inotify-helper.c:
2756 * gio/fam/fam-helper.c:
2757 Update to the new header names
2759 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2761 * gio/gdirectorymonitor.c:
2762 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2765 2007-10-04 Alexander Larsson <alexl@redhat.com>
2767 * gio/glocalfileinfo.c (get_access_rights):
2768 Set CAN_TRASH when we can move the file.
2769 We should really also check for a parent trash dir.
2771 2007-10-04 Alexander Larsson <alexl@redhat.com>
2773 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2774 Add can_trash access attribute
2776 2007-10-04 Alexander Larsson <alexl@redhat.com>
2779 (g_local_file_trash):
2780 Create info file first. This is per-spec and allows
2781 us to actually trash directories.
2783 2007-10-02 Alexander Larsson <alexl@redhat.com>
2785 * gio/gdesktopappinfo.c:
2786 Implement the new mime support code.
2787 Always set app as handling mimetype when being set as default for it
2789 2007-10-01 Alexander Larsson <alexl@redhat.com>
2791 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2792 Fix up check for xattrs:
2794 2007-10-01 Alexander Larsson <alexl@redhat.com>
2797 (g_app_info_set_as_default_for_extension):
2798 (g_app_info_add_supports_type):
2799 (g_app_info_can_remove_supports_type):
2800 (g_app_info_remove_supports_type):
2801 Make these fail nicely if not implemented
2803 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2805 * gio/glocalfileoutputstream.c:
2806 * gio/glocalfileoutputstream.h:
2811 * programs/gio-save.c:
2812 Add a GFileCreateFlags argument to operations that can create
2815 2007-10-01 Alexander Larsson <alexl@redhat.com>
2817 * gio/gappinfo.[ch]:
2818 * gio/gdesktopappinfo.c:
2819 Add more (stubbed out) mime API needed for nautilus
2821 2007-10-01 Alexander Larsson <alexl@redhat.com>
2824 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2825 Add g_app_info_set_as_default_for_extension.
2827 * gio/gdesktopappinfo.c:
2828 Dummy for g_app_info_set_as_default_for_extension
2829 Support flags in g_app_info_create_from_commandline
2831 * gio/gwin32appinfo.c:
2833 Update for API changes
2835 * gio/gthemedicon.c:
2836 Properly NULL-terminate list of icon names
2838 2007-09-28 Alexander Larsson <alexl@redhat.com>
2840 * gio/gloadableicon.h:
2841 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2843 2007-09-28 Alexander Larsson <alexl@redhat.com>
2846 Install headers in $includedir/gio-standalone/
2848 * gio-2.0.pc.in: Added.
2849 * gio-standalone.pc.in: Removed.
2852 Renamed pkg-config file to match glib (for future move)
2853 Update to the new include dir
2856 Add more TODO comments
2858 2007-09-28 Alexander Larsson <alexl@redhat.com>
2860 * gio/gdesktopappinfo.[ch]:
2861 Expose new_from_filename
2862 Add getter for is_hidden and handle it better
2864 2007-09-28 Alexander Larsson <alexl@redhat.com>
2866 * gio/gfileinfo.[ch]:
2867 Rename g_file_size_format_for_display to
2868 g_format_file_size_for_display.
2869 Now it doesn't have the g_file prefix, so we
2870 can later move it to glib.
2872 2007-09-28 Alexander Larsson <alexl@redhat.com>
2874 * gio/gappinfo.[ch]:
2875 Add g_app_info_get_id and g_app_info_get_executable.
2876 Make all getters non-reffing
2877 Make g_app_info_launch take GFile arguments.
2878 Add must_support_uris argument to g_app_info_get_default_for_type.
2880 * gio/gwin32appinfo.c:
2881 Update to GAppInfo api changes
2883 * gio/gdesktopappinfo.c:
2884 Update to GAppInfo api changes
2885 Implement supports_xdg_startup_notify
2887 * gio/gfileicon.c (g_file_icon_get_file):
2888 Make getter non-reffing.
2893 2007-09-27 Alexander Larsson <alexl@redhat.com>
2895 * gio/gfileinfo.[ch]:
2896 Add g_file_size_format_for_display helper
2898 2007-09-27 Alexander Larsson <alexl@redhat.com>
2900 * gio/glocalfileinfo.c:
2901 Set UNIX_GID from gid, not from uid
2903 2007-09-27 Alexander Larsson <alexl@redhat.com>
2906 Add g_file_set_attributes_async
2908 2007-09-27 Alexander Larsson <alexl@redhat.com>
2910 * gio/glocalfile.c (g_local_file_set_display_name):
2911 Fix set_display_name to actually rename to the right place.
2912 Use lstat to look for existing files so we don't overwrite
2915 2007-09-26 Alexander Larsson <alexl@redhat.com>
2918 Add g_file_set_display_name_async()
2920 2007-09-26 Alexander Larsson <alexl@redhat.com>
2923 Add load_partial_contents async calls
2926 Make internal function static
2928 2007-09-26 Alexander Larsson <alexl@redhat.com>
2930 * gio/glocalfileinfo.c:
2931 Correctly detect broken symlinks
2933 2007-09-26 Alexander Larsson <alexl@redhat.com>
2935 * gio/gcancellable.c (g_cancellable_cancel):
2936 Allow cancel on NULL cancellable
2938 2007-09-25 Alexander Larsson <alexl@redhat.com>
2940 * gio/gsimpleasyncresult.c:
2941 Don't allocate g_error manually.
2942 Fixes g_slice/g_new mixup crash
2944 2007-09-25 Alexander Larsson <alexl@redhat.com>
2946 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2947 Actually set active_backend.
2948 This means the monitor will be cancelled correctly.
2950 2007-09-25 Alexander Larsson <alexl@redhat.com>
2952 * gio/gdirectorymonitor.c:
2953 Set timeout to NULL when destroying
2955 2007-09-25 Alexander Larsson <alexl@redhat.com>
2958 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2959 that is a better description of the error.
2961 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2963 * gio/gvfs.c: (g_vfs_get_local):
2964 Make the local vfs variable static. The same instance should
2967 2007-09-24 Alexander Larsson <alexl@redhat.com>
2969 * gio/glocalfileinfo.c:
2970 Pass in actual length read into sniffer, not the length
2973 2007-09-21 Alexander Larsson <alexl@redhat.com>
2975 * gio/gfileenumerator.c:
2978 * gio/gfileinputstream.c:
2979 * gio/gfileoutputstream.c:
2980 * gio/ginputstream.c:
2981 * gio/goutputstream.c:
2982 Don't crash if async callbacks are NULL
2984 2007-09-20 Alexander Larsson <alexl@redhat.com>
2987 Add async enumerate_children method and default
2990 2007-09-20 Alexander Larsson <alexl@redhat.com>
2993 Add g_file_contains_file & g_file_get_relative_path, since they
2994 were needed for nautilus.
2995 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3000 Implement new methods
3002 2007-09-17 Alexander Larsson <alexl@redhat.com>
3005 * gio/gfileinputstream.[ch]:
3006 * gio/gfileoutputstream.[ch]:
3008 * gio/glocalfileenumerator.[ch]:
3009 * gio/glocalfileinfo.[ch]:
3010 * gio/glocalfileinputstream.c:
3011 * gio/glocalfileoutputstream.c:
3012 * gio/gpollfilemonitor.c:
3013 * programs/gio-copy.c:
3014 * programs/gio-info.c:
3015 * programs/gio-move.c:
3016 Rename get_file_info to query_info() to make it clearer
3017 that these are not simple getters, but do i/o.
3019 2007-09-17 Alexander Larsson <alexl@redhat.com>
3021 * gio/gdatainputstream.[ch]:
3022 * gio/test-streams.c:
3023 Use _read_XXX instead of _get_XXX for the i/o calls
3026 2007-09-17 Alexander Larsson <alexl@redhat.com>
3029 Added needed stuff to TODO comment
3031 2007-09-17 Alexander Larsson <alexl@redhat.com>
3033 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3034 Don't error out removing the backup copy if it doesn't
3037 2007-09-14 Alexander Larsson <alexl@redhat.com>
3039 * programs/Makefile.am:
3040 * programs/gvfs-*.c:
3042 Renamed apps from gvfs-xxx to gio-xxx.
3044 2007-09-14 Alexander Larsson <alexl@redhat.com>
3047 * gio/gfileoutputstream.[ch]:
3048 * gio/glocalfileoutputstream.c:
3049 * programs/gvfs-save.c:
3050 g_file_output_stream_get_etag doesn't do i/o, so remove
3051 cancellation and error.
3053 2007-09-14 Alexander Larsson <alexl@redhat.com>
3056 Add new_etag output to replace_contents functions
3058 2007-09-14 Alexander Larsson <alexl@redhat.com>
3060 * gio/gfileoutputstream.[ch]:
3061 Add async get_file_info and default implementation
3063 2007-09-14 Alexander Larsson <alexl@redhat.com>
3065 * gio/gfileinputstream.c:
3066 Implement fallback wrapper for async get_file_info
3068 2007-09-14 Alexander Larsson <alexl@redhat.com>
3071 Add etag out argument to load_contents
3076 2007-09-14 Alexander Larsson <alexl@redhat.com>
3078 * gio/gcontenttype.c (looks_like_text):
3079 Whitespace like tab, cr and lf do not make the
3082 2007-09-14 Alexander Larsson <alexl@redhat.com>
3084 * gio/gfileinputstream.[ch]:
3085 Add async get_file_info.
3087 2007-09-13 Alexander Larsson <alexl@redhat.com>
3089 * gio/goutputstream.c (g_output_stream_write_all):
3090 Allow NULL for bytes_written
3092 2007-09-13 Alexander Larsson <alexl@redhat.com>
3094 * gio/gmemoryinputstream.[ch]:
3095 Add accessors for data
3097 2007-09-13 Alexander Larsson <alexl@redhat.com>
3099 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3100 Don't crash if length is NULL