1 2008-01-22 Alexander Larsson <alexl@redhat.com>
4 (canonicalize_filename):
5 Canonicalize paths that start with more than
10 (test_g_file_new_for_path):
13 2008-01-22 Alexander Larsson <alexl@redhat.com>
16 Allow UTF-8 in file:// parse names.
19 * tests/data-input-stream.c:
20 * tests/data-output-stream.c:
21 * tests/g-file-info.c:
23 Added a bunch of tests from Tomas Bzatek
25 2008-01-21 Matthias Clasen <mclasen@redhat.com>
27 * === Released 2.15.3 ===
29 2008-01-21 Alexander Larsson <alexl@redhat.com>
31 * gfileinputstream.[ch]:
32 * gfileoutputstream.[ch]:
34 Remove duplicated GSeekable functions. (#509990)
35 Just use the g_seekable_xxx() calls instead.
37 2008-01-21 Matthias Clasen <mclasen@redhat.com>
40 * gvolumemanager.c: Whitespace cleanups.
42 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
43 Use the right mode when creating the file.
45 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
50 * goutputstream.c: Documentation: Fixed minor typos
51 and added more mentions of specific _finish() functions.
53 2008-01-21 Alexander Larsson <alexl@redhat.com>
55 * inotify/Makefile.am:
56 * inotify/inotify-helper.c:
57 * inotify/inotify-kernel.c:
58 * inotify/inotify-path.c:
59 * inotify/local_inotify.h: Removed.
60 * inotify/local_inotify_syscalls.h: Removed.
61 Removed the included copies of the inotify
62 headers. We now only use the <sys/inotify.h>
63 header which exists on modern systems.
64 This fixes problems on ARM and SH5 (#510448)
65 but is also generally much cleaner and future
66 safe. For instance, if other OSes add support
67 for inotify it should "just work".
69 2008-01-20 Matthias Clasen <mclasen@redhat.com>
71 * inotify/*.c: Coding style fixes.
72 * inotify/inotify-missing.c: Use g_timeout_add_seconds
75 2008-01-20 Matthias Clasen <mclasen@redhat.com>
79 * gmemoryinputstream.c:
80 * gmemoryoutputstream.c:
82 * gthemedicon.c: Documentation updates
84 2008-01-20 Murray Cumming <murrayc@murrayc.com>
86 * gfile.c: documentation: Fixed more minor
89 2008-01-18 Murray Cumming <murrayc@murrayc.com>
91 * gmount.c: (g_mount_remount): documentation:
92 Mention g_mount_remount_finish() instead of
93 g_mount_unmount_finish().
95 2008-01-18 Murray Cumming <murrayc@murrayc.com>
99 * gfile.c: Fixed some minor typos in the
102 2008-01-18 Murray Cumming <murrayc@murrayc.com>
104 * gio/gvolumemonitor.c:
105 (g_volume_monitor_get_connected_drives):
106 (g_volume_monitor_get_volumes):
107 (g_volume_monitor_get_mounts): Documentation:
108 Clarify the ownership of the regurn GLists.
110 2008-01-17 Alexander Larsson <alexl@redhat.com>
113 Add the async find_enclosing_mount version
114 to the header file too.
116 2008-01-17 Alexander Larsson <alexl@redhat.com>
119 Add async version of find_enclosing_mount
120 with default implementation.
122 2008-01-17 Alexander Larsson <alexl@redhat.com>
127 Allow calls to implementation of copy and write
128 even if the type of the file implementations is
129 different. This can be used to implement native
130 upload and download calls in a vfs.
134 Protect against the case where move is called
135 with one file not being local.
137 Make sure we call the progress callback once
138 in the native move operation so that the caller
139 knows how many bytes were copied.
141 2008-01-16 Murray Cumming <murrayc@murrayc.com>
144 * gdatainputstream.c:
146 * gfileoutputstream.c:
151 * gunixmounts.c: Corrected some typos in the documentation:
153 its -> it's (where appropriate).
155 2008-01-16 Alexander Larsson <alexl@redhat.com>
159 Add g_file_query_exists (#508771)
161 2008-01-15 Murray Cumming <murrayc@murrayc.com>
166 * gvolume.c: For async functions that have no non-async
167 version, document that the GAsyncReadyCallback may be NULL.
170 2008-01-15 Alexander Larsson <alexl@redhat.com>
172 * gmemoryinputstream.c:
173 * gmemoryoutputstream.c:
174 Don't do pointer arithmetic on void * (#508602)
175 Patch from Kazuki IWAMOTO
177 2008-01-14 Matthias Clasen <mclasen@redhat.com>
179 * === Released 2.15.2 ===
181 2008-01-14 Alexander Larsson <alexl@redhat.com>
183 * gfile.c (g_file_monitor_file):
184 Don't set error here, since we fallback to polling monitor.
186 2008-01-14 Alexander Larsson <alexl@redhat.com>
189 (g_file_monitor_directory):
190 (g_file_monitor_file):
191 Add GError to file monitor calls
193 * glocaldirectorymonitor.c:
194 * glocaldirectorymonitor.h:
196 * glocalfilemonitor.c:
197 * glocalfilemonitor.h:
199 Update for above change
201 2008-01-14 Alexander Larsson <alexl@redhat.com>
205 Handle root correctly in g_file_get_relative_path (#508719)
207 2008-01-14 Alexander Larsson <alexl@redhat.com>
210 Clean up docs and example for GAsyncResult (#508074)
212 2008-01-11 Murray Cumming <murrayc@murrayc.com>
214 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
215 and correct some spelling mistakes. Bug #508108.
217 2008-01-11 Matthias Clasen <mclasen@redhat.com>
219 * glocalfileinfo.c: Add a comment.
221 2008-01-10 Murray Cumming <murrayc@murrayc.com>
223 * gfileinfo.c: GFileInfo description: Mention
224 how to actually set attributes in a GFile and how to discover
225 which attributes are settable. Bug #508378.
227 2008-01-10 A. Walton <awalton@svn.gnome.org>
229 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
230 (g_app_info_get_default_for_type):
231 Check for NULL content types.
233 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
235 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
237 2008-01-09 Murray Cumming <murrayc@murrayc.com>
239 * gfile.c: *_async() functions: Several small corrections
240 to the documentation, mostly correcting copy/paste errors
241 and improving some sentences.
243 2008-01-09 Dan Winship <danw@gnome.org>
245 * glocalfile.c (get_unique_filename): x86_64 fix
247 2008-01-09 Alexander Larsson <alexl@redhat.com>
252 Add g_unix_mount_guess_should_display and use
253 for unix volume monitor backend.
254 This means we more or less show what the
255 gnome-vfs backend did.
256 Based on patch from Padraig O'Briain
258 2008-01-09 Alexander Larsson <alexl@redhat.com>
262 Add g_themed_icon_new_with_default_fallbacks
265 Use default fallbacks for icons
267 2008-01-09 Alexander Larsson <alexl@redhat.com>
270 * gmountoperation.[ch]:
271 Change the API a bit so that unhandled methods
272 get reported via the reply, rather than by
273 the signal emission return value. This is because
274 some handlers can't know this immediately without
275 doing I/O, and this is an async operation that
278 2008-01-09 Alexander Larsson <alexl@redhat.com>
281 * fam/gfamdirectorymonitor.c:
282 * fam/gfamfilemonitor.c:
283 Fix double free crash (#508224)
284 Patch from Joe Marcus Clarke
286 008-01-07 Matthias Clasen <mclasen@redhat.com>
288 * === Released 2.15.1 ===
290 2008-01-07 Alexander Larsson <alexl@redhat.com>
292 * gunixinputstream.c (g_unix_input_stream_skip_finish):
293 Fix warning (#507835)
295 2008-01-07 Alexander Larsson <alexl@redhat.com>
298 Pass --internal to glib-genmarshal
303 Use better types for signal arguments (#507822)
305 2008-01-07 Alexander Larsson <alexl@redhat.com>
308 Build test subdir after .
309 Remove gdirectorymonitor.[ch]
311 * gdirectorymonitor.[ch]:
315 Remove GDirectoryMonitor and make
316 GFileMonitor the baseclass for both file and
317 directory monitors. Lift the more generic
318 rate limiting code from GDirectoryMonitor
322 * fam/gfamdirectorymonitor.[ch]:
323 * inotify/ginotifydirectorymonitor.[ch]:
324 * inotify/inotify-helper.c:
325 * glocaldirectorymonitor.[ch]:
328 Update for the removed GDirectoryMonitor.
330 * gmemoryoutputstream.c:
331 Remove ununsed variable
333 2008-01-07 Alexander Larsson <alexl@redhat.com>
335 * gmemoryinputstream.c:
336 Translate error strings
339 * gmemoryoutputstream.[ch]:
340 New implementation that avoids using GByteArray
341 in implementation and API. (#506377)
343 2008-01-06 Matthias Clasen <mclasen@redhat.com>
345 * tests/*: Add a test for memory input streams.
347 * Makefile.am: Add tests to SUBDIRS.
349 2008-01-06 Matthias Clasen <mclasen@redhat.com>
351 * glocalfilemonitor.c:
352 * glocaldirectorymonitor.c: Mark property nicks and blurbs
355 2008-01-06 Matthias Clasen <mclasen@redhat.com>
357 * gdesktopappinfo.c: Fix a docs typo.
359 * gfileattribute.c: Add information about extended attributes
360 to the documentation. (#505058)
362 2008-01-04 Alexander Larsson <alexl@redhat.com>
366 Use the right type (uint) for the ask_password signal.
368 2008-01-04 Alexander Larsson <alexl@redhat.com>
373 Add g_app_info_supports_files()
374 Remove desktop arg from g_app_info_should_show().
376 * gdesktopappinfo.[ch]:
377 Implement g_app_info_supports_files() and new should_show()
378 Add g_desktop_app_info_set_desktop_env() to set the desktop
379 for should_show(). (This will be set by gtk+ later)
381 2008-01-04 Alexander Larsson <alexl@redhat.com>
384 * gmemoryinputstream.[ch]:
385 Improve API so that you can use multiple chunks
386 of memory and custom destroy functions. (#506374)
388 2008-01-03 Alexander Larsson <alexl@redhat.com>
391 Handle NULL attribute matchers safely, as we return this
392 for empty attribute matcher strings.
394 2008-01-03 Alexander Larsson <alexl@redhat.com>
396 * gunixmounts.c (g_unix_is_mount_path_system_internal):
397 Add /usr/local to list of internal mountpoints
399 2008-01-03 Alexander Larsson <alexl@redhat.com>
402 Check for HAVE_LCHOWN (#505887)
404 2008-01-03 Alexander Larsson <alexl@redhat.com>
408 Add define for selinux context attribute.
409 Fix missing : -> :: namespace separator change
410 Fix missing _ -> - name change for xattr-sys.
413 2008-01-03 Alexander Larsson <alexl@redhat.com>
416 Link to libglib and libgobject directly (#504879)
417 Patch from Sebastien Bacher
419 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
421 * gfile.c: Expanded the g_file_new_for_commandline_arg
422 description a bit, based on the code and the docs of the
423 other g_file_new_for_* functions.
425 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
427 * gfilemonitor.h: Fixed typo in docs.
429 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
431 Updates to GIO documentation. (#506395, Mikael Hermansson)
433 * gcontenttype.c: Describe memory management for return value of
434 g_content_types_get_registered(). Missing piece from #505815.
435 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
436 GVolume, GDrive, GMounts, which hopefully gives the user less
437 confusions when using this API. Following explainations from
438 Alexander Larsson on gtk-devel-list.
440 2007-12-30 Matthias Clasen <mclasen@redhat.com>
442 * gfileinfo.c: Expand the long description.
444 2007-12-30 Matthias Clasen <mclasen@redhat.com>
447 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
448 fix builds with --disable-visibility. (#500273, Christian Persch)
450 2007-12-30 Matthias Clasen <mclasen@redhat.com>
452 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
453 in the list of returned app infos.
455 2007-12-30 Matthias Clasen <mclasen@redhat.com>
457 * gappinfo.c: Fix a cross-reference
459 2007-12-30 Matthias Clasen <mclasen@redhat.com>
461 * gfileinputstream.c:
462 * gfileoutputstream.c:
468 * gfileinfo.c: Documentation updates.
470 2007-12-26 Matthias Clasen <mclasen@redhat.com>
472 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
475 2007-12-26 Matthias Clasen <mclasen@redhat.com>
477 * gcontenttype.c (g_content_types_get_registered): Don't return
478 freed memory (#505815, Mikael Hermansson)
480 2007-12-25 Paolo Borelli <pborelli@katamail.com>
482 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
483 used to detect statbuf->st_blocks. (#505042)
485 2007-12-24 Matthias Clasen <mclasen@redhat.com>
487 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
488 environment handling. (#504829, Cosimo Cecchi)
490 2007-12-22 Matthias Clasen <mclasen@redhat.com>
492 * gappinfo.c: Doc improvements
494 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
497 2007-12-20 Matthias Clasen <mclasen@redhat.com>
499 * === Released 2.15.0 ===
501 2007-12-20 Hans Breuer <hans@breuer.org>
503 * makefile.msc : don't build gdesktopappinfo.obj, it collides
504 with symbols gwin32appinfo.obj, added gmount.obj
505 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
507 2007-12-20 Alexander Larsson <alexl@redhat.com>
513 * gfilenamecompleter.c:
516 * gpollfilemonitor.c:
517 File attribute renames:
520 id::fs -> id::filesystem
522 2007-12-20 Alexander Larsson <alexl@redhat.com>
531 Add GMountUnmountFlags to all unmount and
533 Add g_mount_remount() call.
535 2007-12-20 Alexander Larsson <alexl@redhat.com>
537 * gvfs.c (get_default_vfs):
538 Fix unused variable warning
540 2007-12-19 Matthias Clasen <mclasen@redhat.com>
542 * pltcheck.sh: Update
544 2007-12-19 Matthias Clasen <mclasen@redhat.com>
546 * gunionvolumemonitor.c:
547 * gunixmount.c: Remove C99 comments
549 2007-12-19 Matthias Clasen <mclasen@redhat.com>
551 * gio.symbols: Add some missing symbols
553 2007-12-19 Alexander Larsson <alexl@redhat.com>
556 Make g_io_modules_load_all_in_directory not unuse
557 loaded modules so that users of it can do stuff
559 Init internal "module" types.
560 Initialize static prio and name for types so that
561 we don't have to load modules to get it.
563 * gnativevolumemonitor.h:
565 Move is_supported to parent class so that
566 non-native monitors can avoid being initialized
567 too. (For instance GDaemonVolumeMonitor if we're
568 not using GDaemonVfs.)
570 * glocaldirectorymonitor.[ch]:
571 * glocalfilemonitor.[ch]:
572 * gunionvolumemonitor.c:
573 * gunixvolumemonitor.c:
575 Find plugins using the static prio+name to
576 avoid unnecessarily loading the modules.
578 2007-12-19 Alexander Larsson <alexl@redhat.com>
583 2007-12-19 Alexander Larsson <alexl@redhat.com>
585 * gunionvolumemonitor.c:
586 Store the native type as GType, not class so that
587 we can unload it. But still avoid unnecessarily
590 2007-12-19 David Zeuthen <davidz@redhat.com>
592 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
593 add signals 'disconnected' and 'eject-button' on GDrive. Add
594 signal 'removed' on GVolume and 'unmounted' on GMount.
596 * gdrive.c: (g_drive_base_init):
598 * gfile.c: (g_file_mount_mountable),
599 (g_file_mount_enclosing_volume):
602 * gmount.c: (g_mount_base_init):
604 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
605 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
606 * gvolume.c: (g_volume_base_init), (g_volume_mount):
610 2007-12-17 Matthias Clasen <mclasen@redhat.com>
612 * *.c: Fix up includes in the section docs.
614 2007-12-17 Alexander Larsson <alexl@redhat.com>
616 * gnativevolumemonitor.h:
617 * gunionvolumemonitor.c:
618 * gunixvolumemonitor.c:
619 Add is_supported() to GNativeVolumeMonitorClass so
620 that we can avoid having to create an object to see
621 if the backend is supported at runtime.
622 Also add name member and an env var to pick a specific
623 volume monitor backend.
627 Add cancellable to _g_mount_get_for_mount_path()
629 * glocaldirectorymonitor.c:
630 * glocalfilemonitor.c:
631 Avoid loading and unloading modules while sorting.
633 2007-12-17 Matthias Clasen <mclasen@redhat.com>
636 * gunixmounts.[hc]: Namespace waste reduction, move some
637 g_get_unix_mount functions to the g_unix_mount namespace.
640 * gunixvolumemonitor.c:
642 * glocaldirectorymonitor.c: Update all callers.
644 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
646 2007-12-17 Alexander Larsson <alexl@redhat.com>
649 Add doc comments about what GFile operations are
650 guaranteed to not block.
652 2007-12-17 Alexander Larsson <alexl@redhat.com>
655 Add missing #ifdef fixing OSX build.
656 (#503334, patch from Richard Hult)
658 2007-12-14 David Zeuthen <davidz@redhat.com>
662 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
663 (g_mount_eject), (g_mount_eject_finish):
665 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
666 (get_volume_for_uuid), (get_mount_for_uuid),
667 (g_union_volume_monitor_class_init),
668 (get_default_native_type_with_exclude), (get_default_native_type),
669 (get_native_type), (update_native_type),
670 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
671 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
672 (g_unix_mount_can_eject), (eject_unmount_cb),
673 (eject_unmount_read_error), (eject_unmount_do),
674 (g_unix_mount_unmount), (g_unix_mount_eject),
675 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
676 * gunixmounts.c: (g_unix_mount_guess_can_eject),
677 (g_unix_mount_point_guess_can_eject):
679 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
680 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
681 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
682 (g_unix_volume_mount), (g_unix_volume_eject),
683 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
684 * gunixvolumemonitor.c: (get_volume_for_uuid),
685 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
687 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
688 (g_volume_eject), (g_volume_eject_finish):
690 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
691 (g_volume_monitor_get_mount_for_uuid):
694 Provide eject() on both GMount and GVolume and utility functions
695 to guess whether a GUnixMountPoint or GUnixMountEntry should be
696 ejected. Introduce the concept of UUID's and wire it into GVolume
697 and GMount and provide API on GVolumeMonitor to find such
698 instances. Also handle the case where an external
699 GNativeVolumeMonitor fails to initialize. Lock around the
700 _g_get_mount_for_mount_path() function such that volume monitor
701 implementations won't have to do locking themselves.
703 2007-12-17 Matthias Clasen <mclasen@redhat.com>
711 * gvolume.h: Documentation updates
713 2007-12-14 Matthias Clasen <mclasen@redhat.com>
716 * gfile.h: Doc updates
718 2007-12-14 Matthias Clasen <mclasen@redhat.com>
721 * gdesktopappinfo.c: Use hash table iterators.
723 2007-12-14 Alexander Larsson <alexl@redhat.com>
726 * gfileattribute.[ch]:
727 * gfileattribute-priv.h:
728 Move GFileAttributeValue to a private header, as
732 Make set_attribute take a type + a pointer instead
733 of a GFileAttributeValue.
736 Fix up for above changes.
737 Add g_file_info_get_attribute_data to get
738 all info in one call, g_file_info_get_attribute_status
739 to get the status and g_file_info_get_attribute_as_string.
743 * glocalfileinfo.[ch]:
747 Make _guess_type static.
749 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
752 * inotify/Makefile.am: Fixed build when srcdir != builddir,
753 made mkenums and friends use temporary files to avoid leaving
754 empty generated files on failure (#503470).
756 2007-12-14 Alexander Larsson <alexl@redhat.com>
761 2007-12-14 Alexander Larsson <alexl@redhat.com>
765 * gfileattribute.[ch]:
768 * glocalfileoutputstream.c:
769 * gmountoperation.[ch]:
770 * goutputstream.[ch]:
771 Clean up all flags enums to not have _FLAGS in them
772 Make the names of some of the enums better.
777 2007-12-14 Michael Natterer <mitch@imendio.com>
779 * gio.symbols: fix g_io_scheduler symbol names.
781 2007-12-14 Alexander Larsson <alexl@redhat.com>
787 * gbufferedinputstream.h:
788 * gbufferedoutputstream.h:
791 * gdatainputstream.h:
792 * gdataoutputstream.h:
794 * gdirectorymonitor.h:
801 * gfileinputstream.h:
803 * gfilenamecompleter.h:
804 * gfileoutputstream.h:
805 * gfilterinputstream.h:
806 * gfilteroutputstream.h:
814 * gmemoryinputstream.h:
815 * gmemoryoutputstream.h:
820 * gsimpleasyncresult.h:
822 * gunixinputstream.h:
824 * gunixoutputstream.h:
828 * inotify/Makefile.am:
829 Only allow including <gio/gio.h> from apps
831 2007-12-14 Alexander Larsson <alexl@redhat.com>
834 * gsimpleasyncresult.c:
835 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
836 Split out the send_to_mainloop call into two versions instead
837 of having the block argument.
839 2007-12-13 Alexander Larsson <alexl@redhat.com>
843 * gbufferedinputstream.c:
845 * gfileinputstream.c:
846 * gfileoutputstream.c:
850 g_push/pop_current_cancellable ->
851 g_cancellable_push/pop_current
853 2007-12-13 Alexander Larsson <alexl@redhat.com>
857 Rename g_mount_for_location to g_file_mount_enclosing_volume.
859 2007-12-13 Alexander Larsson <alexl@redhat.com>
862 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
864 2007-12-12 Alexander Larsson <alexl@redhat.com>
867 Fix race condition when freeing proxy in
868 g_io_job_send_to_mainloop().
870 2007-12-12 Alexander Larsson <alexl@redhat.com>
876 Make attribute namespace separator "::" instead of ":".
877 Use - instead of _ as separator in attribute names.
879 2007-12-12 Alexander Larsson <alexl@redhat.com>
881 * gbufferedinputstream.h:
882 * gbufferedoutputstream.h:
883 * gdatainputstream.h:
884 * gdataoutputstream.h:
885 * gdirectorymonitor.h:
887 * gfileinputstream.h:
889 * gfileoutputstream.h:
890 * gfilterinputstream.h:
891 * gfilteroutputstream.h:
893 * glocalfileinputstream.h:
894 * glocalfileoutputstream.h:
895 * gmemoryinputstream.h:
896 * gmemoryoutputstream.h:
897 * gnativevolumemonitor.h:
899 * gunixinputstream.h:
900 * gunixoutputstream.h:
903 s/parent/parent_instance/ in GObjects
905 2007-12-12 Alexander Larsson <alexl@redhat.com>
910 No need for padding for interfaces
912 2007-12-12 Alexander Larsson <alexl@redhat.com>
916 * gbufferedinputstream.c:
917 * gbufferedoutputstream.c:
920 * gdatainputstream.[ch]:
922 * gdirectorymonitor.c:
924 * gfileattribute.[ch]:
927 * gfileinputstream.h:
929 * gfileoutputstream.[ch]:
930 * gfilterinputstream.h:
931 * gfilteroutputstream.h:
934 * gloadableicon.[ch]:
935 * gmemoryinputstream.c:
938 Fix up a bunch of details in the docs.
943 2007-12-11 David Zeuthen <davidz@redhat.com>
945 Rework how volumes, drives and volume monitoring is
946 done. Previosly the model was
950 where a GDrive instance represented a mount point and a GVolume
951 instance represented a mounted file system. This patch changes it
954 GDrive <1-N> GVolume <1-1> GMount
956 where GMount now serves the purpose of the old GVolume and the new
957 GVolume serves the purpose of the old GDrive. In addition the new
958 GDrive interface is used to represent a collection of GVolume
959 instances (typically partitions) and also contains utility to query
960 the state of the physical drive the GDrive object represents (such
961 as checking for media, polling the drive, ejecting the media etc.).
963 Also implement mounting and unmounting in the Unix volume monitor
964 backend. A subquent patch will introduce GDrive support for ejection
968 * gdrive.c: (g_drive_is_media_check_automatic),
969 (g_drive_is_media_removable), (g_drive_has_media),
970 (g_drive_can_poll_for_media), (g_drive_eject),
971 (g_drive_eject_finish), (g_drive_poll_for_media),
972 (g_drive_poll_for_media_finish):
974 * gfile.c: (g_file_find_enclosing_mount):
977 * glocaldirectorymonitor.c:
978 (g_local_directory_monitor_constructor), (mounts_changed):
979 * glocalfile.c: (get_mount_info),
980 (g_local_file_find_enclosing_mount),
981 (g_local_file_file_iface_init):
982 * gnativevolumemonitor.h:
983 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
984 (get_connected_drives), (g_union_volume_monitor_class_init),
985 (child_volume_added), (child_volume_removed),
986 (child_volume_changed), (child_mount_added), (child_mount_removed),
987 (child_mount_pre_unmount), (child_mount_changed),
988 (child_drive_changed), (g_union_volume_monitor_add_monitor),
989 (g_union_volume_monitor_remove_monitor),
990 (_g_mount_get_for_mount_path):
991 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
992 (guess_system_internal), (_g_get_unix_mounts),
993 (_g_get_unix_mount_points), (g_get_unix_mount_at),
994 (g_unix_mount_free), (g_unix_mount_compare),
995 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
996 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
997 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
998 (type_to_icon), (g_unix_mount_guess_name),
999 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1000 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1001 (_resolve_symlink), (_resolve_dev_root):
1003 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1004 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1005 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1006 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1007 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1008 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1009 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1010 (g_unix_volume_volume_iface_init):
1012 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1013 (get_mounts), (get_volumes), (get_connected_drives),
1014 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1015 (mountpoints_changed), (mounts_changed),
1016 (g_unix_volume_monitor_init),
1017 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1018 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1019 * gunixvolumemonitor.h:
1020 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1021 (g_volume_mount), (g_volume_mount_finish):
1023 * gvolumemonitor.c: (g_volume_monitor_class_init),
1024 (g_volume_monitor_get_connected_drives),
1025 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1028 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1030 * gmountoperation.h (GPasswordFlags): Close the gap
1032 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1034 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1036 * gdesktopappinfo.[hc]: Remove _-prefixes
1038 2007-12-10 Tor Lillqvist <tml@novell.com>
1040 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1043 2007-12-10 Alexander Larsson <alexl@redhat.com>
1045 * gfile.c (g_file_set_display_name):
1046 Don't hardcode '/' (#502727)
1048 2007-12-09 Hans Breuer <hans@breuer.org>
1050 * makefile.msc : follow lib naming convention
1051 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1052 for user and group name, tested with ../tests/gio-ls
1054 2007-12-09 A. Walton <awalton@svn.gnome.org>
1056 * gdesktopappinfo.c:
1062 * gfileenumerator.c:
1067 * gmemoryinputstream.c:
1068 * gmemoryoutputstream.c:
1070 * gsimpleasyncresult.c:
1071 More documentation cleanup and filling in missing information, bringing
1072 GIO to 99% symbol coverage.
1074 2007-12-08 Hans Breuer <hans@breuer.org>
1076 [gio compiles and links on win32, not sure how much already works]
1077 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1078 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1079 base on win32 API; prefer g_lstat() over lstat(); instead of
1080 localtime_r() use an all GLib implementation on win32;
1081 get_mount_info() still needs a win32 specifc implementation
1082 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1083 win32_get_file_user_info to get owner/group info without uid/gid
1084 * glocalfileinputstream.c : include <io.h> on win32
1085 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1086 definition, use g_win32_ftruncate() for G_OS_WIN32
1087 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1088 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1089 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1090 * makefile.msc : updated
1092 2007-12-07 Alexander Larsson <alexl@redhat.com>
1094 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1095 Avoid warning spew if error == NULL
1097 2007-12-07 Alexander Larsson <alexl@redhat.com>
1100 Update docs wrt etags
1102 2007-12-06 Alexander Larsson <alexl@redhat.com>
1105 Include sys/types.h for dev_t (#501919)
1107 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1111 Make abicheck and pltcheck pass.
1113 2007-12-05 Alexander Larsson <alexl@redhat.com>
1116 * giomodule-priv.h: Added.
1117 * glocaldirectorymonitor.c:
1118 * glocalfilemonitor.c:
1119 * gunionvolumemonitor.c:
1121 Actually add the declaration of _g_io_modules_ensure_loaded
1123 2007-12-05 Alexander Larsson <alexl@redhat.com>
1125 * gdatainputstream.c:
1130 * glocaldirectorymonitor.c:
1131 * glocalfilemonitor.c:
1132 * gunionvolumemonitor.c:
1134 Make g_io_modules_ensure_loaded a private function and
1135 don't pass in the dirname. This means we can do magic
1136 directory finding in the win32 version.
1137 Export the actual load-modules-in-directory code so that
1138 gvfs can reuse that.
1140 2007-12-05 Alexander Larsson <alexl@redhat.com>
1142 * gbufferedinputstream.c:
1143 * gbufferedoutputstream.c:
1146 * gfileenumerator.[ch]:
1147 * gfileinputstream.c:
1148 * gfileoutputstream.[ch]:
1149 * gfilterinputstream.c:
1150 * gfilteroutputstream.c:
1151 * ginputstream.[ch]:
1153 * glocalfileenumerator.c:
1154 * glocalfileinputstream.c:
1155 * glocalfileoutputstream.c:
1156 * gmemoryinputstream.c:
1157 * gmemoryoutputstream.c:
1158 * goutputstream.[ch]:
1161 * gunixinputstream.c:
1162 * gunixoutputstream.c:
1163 Rename all struct members named:
1164 read, write, close, truncate, or mount
1165 to foo_fn, as these are reserved names
1166 and could be defined as macros in libc.
1169 2007-12-04 Alexander Larsson <alexl@redhat.com>
1172 (g_output_stream_close):
1173 Only call flush if non-null.
1175 2007-11-30 Dan Winship <danw@gnome.org>
1177 * ginputstream.c (g_input_stream_set_pending): Make this take a
1178 GError and return a gboolean, and do the "outstanding operation"
1179 check (and the "stream is already closed" check) itself.
1180 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1182 * goutputstream.c (g_output_stream_set_pending)
1183 (g_output_stream_clear_pending): Likewise
1185 * gbufferedinputstream.c:
1186 * gfileinputstream.c:
1187 * gfileoutputstream.c: Update for that
1189 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1190 Like g_simple_async_report_error_in_idle, but takes a GError
1191 rather than building one.
1193 2007-11-30 Dan Winship <danw@gnome.org>
1195 * goutputstream.c: Don't cheat and unset the "pending" flag around
1196 inner calls. Instead, call the class method directly rather than
1197 the wrapper function that checks "pending"
1199 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1201 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1203 2007-12-03 Hans Breuer <hans@breuer.org>
1205 [start of port to win32/msvc]
1206 * gcancellable.c : HAVE_UNIST_H and _pipe()
1207 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1208 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1209 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1211 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1212 * glocalvfs.c : use HAVE_PWD_H
1213 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1214 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1215 * Makefile.am : added to EXTRA_DIST
1217 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1219 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1222 2007-12-03 Alexander Larsson <alexl@redhat.com>
1225 Handle OSX style xattrs API (#500506)
1227 2007-12-03 Alexander Larsson <alexl@redhat.com>
1231 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1233 2007-12-02 A. Walton <awalton@svn.gnome.org>
1237 Documentation accuracy fixes.
1239 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1241 * gioenumtypes.c.template: Fix typo.
1243 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1245 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1247 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1249 * gdirectorymonitor.c:
1250 * gfilemonitor.c: Add properties
1252 * gbufferedoutputstream.c: Don't mark buffer-size property
1255 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1257 * gbufferedoutputstream.c: Add auto-grow property.
1259 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1261 * *.c: Unify the capitalization of section headings.
1263 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1265 * gmountoperation.c: Add properties
1267 * gdatainputstream.c: Turn byte-order and newline-type into
1270 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1272 * gioenumtypes.[hc].template: Templates for enum registration
1274 * Makefile.am: Generate gioenumtypes.[hc]
1276 * gio.h: Include gioenumtypes.h
1278 * gfile.h: Add some explicit nicks.
1280 * gio.symbols: Add new symbols
1282 * pltcheck.sh: Adjust
1284 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1286 * *.c: Explain etags and link to the explanation
1288 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1290 * *.c: Explain I/O priority.
1292 * *.c: More coding style fixes.
1294 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1296 * gasyncresult.c: Add another paragraph to the intro,
1297 adjust coding style of example.
1299 2007-11-29 A. Walton <awalton@svn.gnome.org>
1302 Fixes unknown meaning in GAppLaunchContext docs.
1304 Clarify asynchronous ops.
1306 Fix entity tag docs.
1309 Provides missing gtk-doc section, fixes API docs slighly.
1310 * gsimpleasyncresult.c:
1311 Fill in missing info in docs.
1312 * gunixinputstream.c:
1313 * gunixoutputstream.c:
1314 Be more expressive in short description.
1316 Remove gtk-doc stubs for non-public API.
1318 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1320 * *.c: Coding style fixups
1322 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1324 * inotify/inotify-helper.c: Don't export the lock from libgio.
1326 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1329 * abicheck.sh: Fix copy-and-paste leftovers
1331 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1333 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1335 2007-11-28 Alexander Larsson <alexl@redhat.com>
1339 Removed unnecessary file
1341 * gdesktopappinfo.[ch]:
1344 * glocaldirectorymonitor.[ch]:
1346 * glocalfileenumerator.[ch]:
1347 * glocalfileinputstream.[ch]:
1348 * glocalfilemonitor.[ch]:
1349 * glocalfileoutputstream.[ch]:
1351 * gnativevolumemonitor.c:
1352 * gpollfilemonitor.[ch]:
1353 * gunionvolumemonitor.[ch]:
1356 * gunixvolumemonitor.[ch]:
1359 * inotify/ginotifydirectorymonitor.[ch]:
1360 * inotify/ginotifyfilemonitor.[ch]:
1361 * inotify/inotify-helper.c:
1362 Append _ to all internal functions
1366 Export symbols needed for modules
1368 2007-11-28 Alexander Larsson <alexl@redhat.com>
1371 * abicheck.sh: Added.
1372 * makegioalias.pl: Added.
1373 * pltcheck.sh: Added.
1374 * gio.symbols: Added.
1377 Initial work on adding symbol handling.
1380 Correct ifdef guard name
1383 * inotify/Makefile.am:
1384 * xdgmime/Makefile.am:
1385 Include toplevel Makefile.decl
1387 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1389 * gcontenttype.c: Move doc comments to the unix section.
1391 * *.[hc]: More trivial doc corrections.
1393 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1395 * gpollfilemonitor.c:
1399 * gdesktopappinfo.c:
1404 * gdatainputstream.c:
1405 * gdatainputstream.h:
1406 * gdataoutputstream.c:
1407 * gdataoutputstream.h:
1408 * gfileinfo.h: Doc cleanups
1410 2007-11-28 Andre Klapper <a9016009@gmx.de>
1412 * gdesktopappinfo.c: Fix a typo.
1414 2007-11-27 Andre Klapper <a9016009@gmx.de>
1416 * glocalfileoutputstream.c: Fix a typo.
1418 2007-11-27 Alexander Larsson <alexl@redhat.com>
1421 Don't include removed headers
1423 2007-11-27 Alexander Larsson <alexl@redhat.com>
1426 * gsocketinputstream.[ch]: Removed.
1427 * gsocketoutputstream.[ch]: Removed.
1428 * gunixinputstream.[ch]: Added.
1429 * gunixoutputstream.[ch]: Added.
1430 Renamed GSocket*Stream to GUnix*Stream and made
1431 it unix-only, since its not really only for sockets
1432 and it only works on unix (but is highly useful there).
1434 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1440 * gbufferedinputstream.c:
1441 * gbufferedinputstream.h:
1442 * gbufferedoutputstream.c:
1443 * gbufferedoutputstream.h:
1447 * gdatainputstream.c:
1448 * gdatainputstream.h:
1449 * gdataoutputstream.c:
1450 * gdataoutputstream.h:
1451 * gdirectorymonitor.c:
1452 * gdirectorymonitor.h:
1459 * gfileenumerator.c:
1460 * gfileenumerator.h:
1465 * gfileinputstream.c:
1466 * gfileinputstream.h:
1469 * gfilenamecompleter.c:
1470 * gfilenamecompleter.h:
1471 * gfileoutputstream.c:
1472 * gfileoutputstream.h:
1473 * gfilterinputstream.c:
1474 * gfilterinputstream.h:
1475 * gfilteroutputstream.c:
1476 * gfilteroutputstream.h:
1489 * glocalfileoutputstream.c:
1490 * gmemoryinputstream.c:
1491 * gmemoryinputstream.h:
1492 * gmemoryoutputstream.c:
1493 * gmemoryoutputstream.h:
1494 * gmountoperation.c:
1495 * gmountoperation.h:
1498 * gpollfilemonitor.c:
1501 * gsimpleasyncresult.c:
1502 * gsimpleasyncresult.h:
1503 * gsocketinputstream.c:
1504 * gsocketinputstream.h:
1505 * gsocketoutputstream.c:
1506 * gsocketoutputstream.h:
1513 * gunixvolumemonitor.c:
1522 Bumps documentation to 93% symbol coverage, touching most
1523 of the public files. Fixes broken function documentation prototypes.
1524 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1525 gtk-doc headers in private files.
1527 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1529 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1530 (g_buffered_input_stream_read_byte):
1531 * gbufferedinputstream.h:
1532 New functions for efficient access to buffer and simple single byte
1535 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1536 (g_data_input_stream_read_until):
1537 * gdatainputstream.h:
1538 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1539 read_until with multiple stop chars.
1541 2007-11-27 Alexander Larsson <alexl@redhat.com>
1545 * inotify/Makefile.am:
1546 Use the user-specified giomoduledir
1548 2007-11-27 Alexander Larsson <alexl@redhat.com>
1552 Add catch-all gio.h header
1553 Don't install gdummyfile.h
1555 2007-11-26 Alexander Larsson <alexl@redhat.com>
1557 * Makefile.am (gioinclude_HEADERS):
1558 Remove trailing whitespace
1560 2007-11-26 Alexander Larsson <alexl@redhat.com>
1562 Merge gio-standalone into glib
1564 2007-11-25 Christian Kellner <gicmo@gnome.org>
1566 * gio/goutputstream.c:
1567 Fix small mistake in the docs.
1569 2007-11-21 Christian Persch <chpe@gnome.org>
1571 * gio/glocalfile.c: (g_local_file_trash):
1572 Convert filenames to UTF-8 for GError.
1573 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1574 as per xdg base dir spec.
1576 2007-11-21 Christian Persch <chpe@gnome.org>
1578 * gio/gdesktopappinfo.c:
1579 Use that g_key_file_to_data cannot fail.
1581 Use stock defines for the key file group and key names.
1584 2007-11-21 Alexander Larsson <alexl@redhat.com>
1587 (copy_stream_with_progress):
1588 Make sure we do a final progress callback with
1589 the full total size.
1591 2007-11-21 Alexander Larsson <alexl@redhat.com>
1594 Export g_file_copy_attributes
1595 Remove padding as its not needed for interfaces
1597 2007-11-20 Alexander Larsson <alexl@redhat.com>
1602 Add G_IO_ERROR_WOULD_MERGE for
1603 copy/move dir on dir with overwrite.
1605 2007-11-20 Alexander Larsson <alexl@redhat.com>
1608 * gio/glocalfileinfo.c:
1609 Add COPY_NAME (this is an optional
1610 non-modified utf8 version of the name) that
1613 2007-11-20 Alexander Larsson <alexl@redhat.com>
1615 * gio/glocalfileenumerator.c:
1616 Report errors as GIOError, not GFileError
1618 2007-11-16 Alexander Larsson <alexl@redhat.com>
1620 * gio/glocalfileoutputstream.c:
1621 * gio/gwin32appinfo.c:
1622 Fix typos in strings.
1623 Patch from Luca Ferretti <elle.uca@libero.it>
1625 2007-11-15 Alexander Larsson <alexl@redhat.com>
1628 Post release version bump
1630 === gio-standalone 0.1.2 ===
1632 2007-11-15 Alexander Larsson <alexl@redhat.com>
1634 * docs/reference/gio/Makefile.am:
1635 Fix up distcheck by removing weird
1641 2007-11-14 Alexander Larsson <alexl@redhat.com>
1643 * gio/gdesktopappinfo.c:
1644 * gio/glocaldirectorymonitor.c:
1646 * gio/glocalfileinfo.c:
1647 * gio/inotify/inotify-sub.c:
1648 * programs/gio-cat.c:
1649 * programs/gio-copy.c:
1650 * programs/gio-info.c:
1651 * programs/gio-ls.c:
1652 * programs/gio-monitor-dir.c:
1653 * programs/gio-monitor-file.c:
1654 * programs/gio-mount.c:
1655 * programs/gio-move.c:
1656 * programs/gio-rm.c:
1657 * programs/gio-save.c:
1658 * programs/gio-trash.c:
1659 Leak fixes from Kjartan Maraas
1661 2007-11-14 Alexander Larsson <alexl@redhat.com>
1663 * gio/fam/fam-helper.c:
1665 * gio/glocalfileinfo.c:
1669 * gio/inotify/inotify-diag.c:
1670 * gio/inotify/inotify-kernel.c:
1671 Various code cleanups from Kjartan Maraas
1673 2007-11-14 Alexander Larsson <alexl@redhat.com>
1675 * gio/gioscheduler.c:
1677 Set up threadpool so that we cache 2 unused
1678 idle threads for at 15 secs. This means we
1679 will reuse thread-local data (like dbus connections)
1682 2007-11-14 Alexander Larsson <alexl@redhat.com>
1684 * gio/fam/fam-helper.c:
1685 * gio/fam/gfamdirectorymonitor.c:
1686 * gio/fam/gfamfilemonitor.c:
1688 * gio/gcontenttype.c:
1689 * gio/gdatainputstream.c:
1690 * gio/gdataoutputstream.c:
1694 * gio/gfileattribute.h:
1695 * gio/gfileenumerator.c:
1697 * gio/ginputstream.c:
1700 * gio/glocalfileinfo.c:
1701 * gio/goutputstream.c:
1702 * gio/gpollfilemonitor.c:
1703 * gio/gsimpleasyncresult.c:
1704 * gio/gunixmounts.c:
1705 * gio/gunixmounts.h:
1706 * gio/inotify/ginotifydirectorymonitor.c:
1707 * gio/inotify/ginotifyfilemonitor.c:
1708 * gio/inotify/inotify-diag.c:
1709 * gio/inotify/inotify-kernel.c:
1710 * gio/inotify/inotify-path.c:
1712 * gio/test-streams.c:
1713 * programs/gio-info.c:
1714 * programs/gio-monitor-dir.c:
1715 * programs/gio-monitor-file.c:
1716 Various code cleanups from Kjartan Maraas
1718 2007-11-13 Alexander Larsson <alexl@redhat.com>
1721 Handle the uri-scheme calls for dummy files
1723 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1725 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1726 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1727 to avoid clash with the C++ keyword.
1729 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1731 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1732 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1734 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1736 * gio/glocaldirectorymonitor.c:
1737 * gio/glocalfilemonitor.c:
1738 * gio/gunionvolumemonitor.c:
1739 Don't use g_once_init_*() for initializations that could fail and
1740 could leave the initialization variable set to 0 but use GOnce.
1741 This prevents a deadlock on the second call when trying to create
1742 a monitor and no monitor type is available. Thanks to Sven Herzberg
1745 2007-11-11 Sven Herzberg <sven@imendio.com>
1747 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1748 #ifdef (make it work on MacOS X again)
1750 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1752 Fixes Changelog for last two commits (sorry guys).
1754 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1756 * gio/gbufferedinputstream.c:
1757 * gio/gdatainputstream.c:
1759 * gio/gfileoutputstream.c:
1760 * gio/gfilterinputstream.c:
1761 * gio/glocalfileinputstream.c:
1764 More consistency fixes in g*stream.c files.
1765 Significant clean of gfile's documentation, filling in of
1766 asynchronous operations documentation.
1768 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1770 * gio/gasyncresult.c:
1771 * gio/gbufferedinputstream.c:
1772 * gio/gbufferedoutputstream.c:
1773 * gio/gcancellable.c:
1774 * gio/gcontenttype.c:
1775 * gio/gdatainputstream.c:
1776 * gio/gdataoutputstream.c:
1777 * gio/gdesktopappinfo.c:
1780 * gio/gfileattribute.c:
1781 * gio/gio/gfileenumerator.c:
1783 * gio/gfileinputstream.c:
1784 * gio/gfilemonitor.c:
1785 * gio/gfileoutputstream.c:
1786 * gio/ginputstream.c:
1788 * gio/gioscheduler.c:
1789 * gio/gloadableicon.c:
1790 * gio/glocalfileoutputstream.c:
1791 * gio/gmemoryoutputstream.c:
1792 * gio/gmountoperation.c:
1793 * gio/goutputstream.c:
1795 * gio/gsimpleasyncresult.c:
1796 * gio/gunionvolumemonitor.c:
1797 * gio/gunixmounts.c:
1798 * gio/gunixvolume.c:
1802 * gio/gvolumemonitor.c:
1803 Updated documentation stubs, working towards consistency and
1806 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1808 * gio/gmemoryoutputstream.c:
1809 * gio/gmemoryoutputstream.h:
1810 Change g_memory_output_stream_set_free_on_close() to
1811 g_memory_output_stream_set_free_data() as this makes more sense and
1812 is more consistent with GMemoryInputStream.
1814 2007-11-07 Alexander Larsson <alexl@redhat.com>
1821 Change how we find the default vfs so that
1822 we can handle a gvfs failing to init
1824 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1826 * gio/gbufferedoutputstream.c:
1827 * gio/gdatainputstream.c:
1828 * gio/gdataoutputstream.c:
1829 * gio/gfileinputstream.c:
1830 * gio/gfileoutputstream.c:
1831 * gio/gfilterinputstream.c:
1832 * gio/gfilteroutputstream.c:
1833 * gio/ginputstream.c:
1834 * gio/gmemoryinputstream.c:
1835 * gio/gmemoryoutputstream.c:
1836 * gio/goutputstream.c:
1837 * gio/gsimpleasyncresult.c:
1838 * gio/gsocketinputstream.c:
1839 * gio/gsocketoutputstream.c:
1840 Add guards to the remaining public functions, add a TODO for
1841 an unimplemented function and remove some useless guards.
1843 2007-11-07 Alexander Larsson <alexl@redhat.com>
1846 Autoconf checks for the various types of
1847 getpwuid_r and getgrgid_r
1849 * gio/glocalfileinfo.c:
1850 Use the autoconf checks from above
1852 2007-11-07 Alexander Larsson <alexl@redhat.com>
1855 (g_local_file_query_filesystem_info):
1856 Some fixes for the statvfs case
1858 2007-11-07 Alexander Larsson <alexl@redhat.com>
1861 (g_local_file_query_filesystem_info):
1862 Pick the "best" of statfs / statvfs for the system
1863 if both are availible.
1865 2007-11-07 Alexander Larsson <alexl@redhat.com>
1867 Solaris fixes from Halton.Huo@Sun.COM:
1874 * gio/glocalfileinfo.c:
1875 Fix for solaris definition of getpwuid_r
1877 * gio/test-streams.c:
1878 Use G_GNUC_PRETTY_FUNCTION
1880 2007-11-07 Alexander Larsson <alexl@redhat.com>
1882 * gio/gdesktopappinfo.c:
1883 (update_default_list):
1884 Remove double semicolon.
1885 Patch from Jens Granseuer
1887 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1889 * docs/reference/gio/gio-sections.txt:
1890 * gio/gbufferedinputstream.c:
1891 * gio/gbufferedinputstream.h:
1892 * gio/gdatainputstream.c:
1893 * gio/gfileenumerator.c:
1894 * gio/gioscheduler.c:
1895 * gio/gunionvolumemonitor.c:
1897 * programs/gio-save.c:
1898 Fix typo: availible -> available. Unfortuntely this breaks API
1899 and ABI as g_buffered_input_stream_get_available() was renamed.
1901 * gio/gunixmounts.c:
1902 * gio/gbufferedinputstream.c:
1903 Add guards for public functions.
1905 2007-11-06 Ross Burton <ross@openedhand.com>
1907 * docs/reference/gio/Makefile.am:
1908 Fix invalid += usage which automake 1.10 doesn't like.
1910 2007-11-06 Alexander Larsson <alexl@redhat.com>
1913 (g_app_launch_context_class_init):
1916 Patch from Ross Burton
1918 2007-11-06 Alexander Larsson <alexl@redhat.com>
1921 Post release version bump
1923 === gio-standalone 0.1.1 ===
1925 2007-11-06 Alexander Larsson <alexl@redhat.com>
1928 Bump version to 0.1.1
1930 * gio/gsimpleasyncresult.c:
1931 (g_simple_async_result_set_from_error):
1932 Remove bogus g_return_if_fail
1934 2007-11-06 Alexander Larsson <alexl@redhat.com>
1937 The name is gio-standalone
1940 Add top src/builddir to includedir
1942 2007-11-06 Alexander Larsson <alexl@redhat.com>
1944 * docs/reference/gio/gio-sections.txt:
1946 * gio/gbufferedinputstream.c:
1947 * gio/gbufferedoutputstream.c:
1948 * gio/gcancellable.c:
1949 * gio/gdatainputstream.h:
1950 * gio/gdataoutputstream.c:
1951 * gio/gdataoutputstream.h:
1952 * gio/gdirectorymonitor.c:
1954 * gio/gfileattribute.c:
1955 * gio/gfileattribute.h:
1956 * gio/gfileenumerator.c:
1957 * gio/gfileenumerator.h:
1960 * gio/gfileinputstream.h:
1961 * gio/gfilemonitor.c:
1962 * gio/gfileoutputstream.h:
1963 * gio/glocalfilemonitor.h:
1964 * gio/glocalfileoutputstream.h:
1965 * gio/gmemoryinputstream.c:
1966 * gio/gmemoryoutputstream.c:
1967 * gio/gmountoperation.c:
1968 * gio/goutputstream.c:
1969 * gio/goutputstream.h:
1971 * gio/gsimpleasyncresult.c:
1972 * gio/gunixmounts.c:
1973 * gio/gunixmounts.h:
1975 * gio/inotify/inotify-helper.c:
1976 Fix gtk-doc warnings
1978 Patch from Ross Burton
1980 2007-11-06 Alexander Larsson <alexl@redhat.com>
1982 * gio/gfilenamecompleter.c:
1983 (g_filename_completer_get_completions):
1986 * gio/gunixvolume.c:
1987 Remove unused function
1989 Patches from Ross Burton
1991 2007-11-06 Alexander Larsson <alexl@redhat.com>
1996 Padding not needed for interfaces
1998 2007-11-06 Alexander Larsson <alexl@redhat.com>
2000 * gio/gfilemonitor.c:
2004 Make giotypes.h an internal file
2007 * gio/gbufferedinputstream.h:
2008 * gio/gbufferedoutputstream.h:
2009 * gio/gcancellable.h:
2010 * gio/gdatainputstream.h:
2011 * gio/gdataoutputstream.h:
2012 * gio/gdirectorymonitor.c:
2013 * gio/gdirectorymonitor.h:
2018 * gio/gfileattribute.h:
2019 * gio/gfileenumerator.h:
2024 * gio/gfilemonitor.c:
2025 * gio/gfilemonitor.h:
2026 * gio/gfilenamecompleter.c:
2027 * gio/gfilenamecompleter.h:
2028 * gio/gfilterinputstream.h:
2029 * gio/gfilteroutputstream.h:
2030 * gio/ginputstream.h:
2031 * gio/gmemoryinputstream.h:
2032 * gio/gmemoryoutputstream.h:
2033 * gio/gmountoperation.c:
2034 * gio/gmountoperation.h:
2035 * gio/gnativevolumemonitor.c:
2036 * gio/goutputstream.h:
2039 * gio/gsimpleasyncresult.c:
2040 * gio/gsimpleasyncresult.h:
2041 * gio/gsocketinputstream.h:
2042 * gio/gsocketoutputstream.h:
2043 * gio/gthemedicon.c:
2044 * gio/gthemedicon.h:
2048 * gio/gvolumemonitor.c:
2049 * gio/gvolumemonitor.h:
2050 Add padding in classes where it seems useful
2051 Don't include giotypes.h from public headers
2052 Move in Class definitions into c file where possible
2057 2007-11-06 Alexander Larsson <alexl@redhat.com>
2059 * docs/reference/gio/gio-docs.xml:
2060 Better structure for API docs
2062 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2065 * gio/gloadableicon.c:
2066 * gio/gsimpleasyncresult.c:
2067 * gio/gthemedicon.c:
2068 Add some more guards to public functions. Only files missing are now
2071 2007-11-06 Alexander Larsson <alexl@redhat.com>
2073 * docs/reference/gio/gio-docs.xml:
2074 Remove old files, add missing ones
2076 2007-11-06 Alexander Larsson <alexl@redhat.com>
2078 * docs/reference/gio/gio-sections.txt:
2081 Hide implementation classes
2083 * gio/gdriveprivate.h:
2084 * gio/gvolumeprivate.h:
2085 Remove non-existing function declarations
2087 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2090 Fix compilation warnings and add guards to the new functions.
2092 * gio/gasyncresult.c:
2094 Add guards to the public functions.
2097 Implement get_path().
2099 2007-11-06 Alexander Larsson <alexl@redhat.com>
2101 * gio/gfilenamecompleter.c:
2102 Make g_filename_completer_get_completions
2103 return char ** instead of GList for
2106 * docs/reference/gio/gio-docs.xml:
2107 * docs/reference/gio/gio-sections.txt:
2109 * gio/gasyncresult.c:
2110 * gio/gbufferedinputstream.c:
2111 * gio/gbufferedoutputstream.c:
2112 * gio/gcancellable.c:
2113 * gio/gcontenttype.c:
2114 * gio/gdatainputstream.c:
2115 * gio/gdataoutputstream.c:
2116 * gio/gdesktopappinfo.c:
2117 * gio/gdirectorymonitor.c:
2121 * gio/gfileattribute.c:
2122 * gio/gfileenumerator.c:
2125 * gio/gfileinputstream.c:
2126 * gio/gfilemonitor.c:
2127 * gio/gfilenamecompleter.c:
2128 * gio/gfilenamecompleter.h:
2129 * gio/gfileoutputstream.c:
2130 * gio/gfilterinputstream.c:
2132 * gio/ginputstream.c:
2134 * gio/gioscheduler.c:
2135 * gio/gloadableicon.c:
2136 * gio/glocaldirectorymonitor.c:
2138 * gio/glocalfileinputstream.c:
2139 * gio/glocalfilemonitor.c:
2140 * gio/glocalfileoutputstream.c:
2142 * gio/gmemoryinputstream.c:
2143 * gio/gmemoryoutputstream.c:
2144 * gio/gmountoperation.c:
2145 * gio/goutputstream.c:
2146 * gio/gpollfilemonitor.c:
2148 * gio/gsimpleasyncresult.c:
2149 * gio/gsocketinputstream.c:
2150 * gio/gsocketoutputstream.c:
2151 * gio/gthemedicon.c:
2152 * gio/gunionvolumemonitor.c:
2154 * gio/gunixmounts.c:
2155 * gio/gunixvolume.c:
2156 * gio/gunixvolumemonitor.c:
2160 * gio/gvolumemonitor.c:
2161 * gio/gwin32appinfo.c:
2162 Add (mostly stub) doc strings to public functions.
2163 Patch from Andrew Walton (awalton@gmail.com)
2165 2007-11-06 Alexander Larsson <alexl@redhat.com>
2167 * gio/gappinfo.[ch]:
2168 Added GAppLaunchContext object and pass that to launch.
2169 This allows simple implementation of both
2170 launch-on-screen and startup notification via a gtk+
2171 subclass of GAppLaunchContext
2173 * gio/gdesktopappinfo.c:
2174 Implement GAppLaunchContext API
2176 * gio/gwin32appinfo.c:
2179 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2181 * gio/gmountoperation.c:
2182 Add some guards to GMountOperation's public functions.
2184 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2188 * gio/gcancellable.c:
2189 * gio/gdirectorymonitor.c:
2191 * gio/gfileenumerator.c:
2192 * gio/gfilemonitor.c:,
2193 * gio/gfilenamecompleter.c:
2196 * gio/gioscheduler.c:
2200 * gio/gvolumemonitor.c:
2201 Add even more guards to various public functions.
2203 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2206 Add guards to the public functions of GAppInfo.
2208 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2210 * gio/gcontenttype.c:
2211 Add some more guards for public functions.
2213 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2215 * gio/fam/fam-module.c:
2216 * gio/fam/gfamdirectorymonitor.c:
2217 * gio/fam/gfamdirectorymonitor.h:
2218 * gio/fam/gfamfilemonitor.c:
2219 * gio/fam/gfamfilemonitor.h:
2220 * gio/inotify/ginotifydirectorymonitor.c:
2221 * gio/inotify/ginotifydirectorymonitor.h:
2222 * gio/inotify/ginotifyfilemonitor.c:
2223 * gio/inotify/ginotifyfilemonitor.h:
2224 Add proper copyright information and remove an unused variable
2225 in the GInotifyFileMonitor constructor.
2227 * gio/gcancellable.c:
2228 Add a guard for a public function and an assertion to prevent
2229 an undefined program state.
2231 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2233 * gio/gfileattribute.c:
2234 Don't run into an assertion if the given attribute value is NULL
2235 in g_file_attribute_value_get_*() but instead return a fallback
2236 value that makes sense in most situations. Passing them a attribute
2237 value with the wrong type will still run into an assertion.
2239 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2241 * gio/gfileattribute.c:
2243 Add even more guards to the public functions. Also fix the refcounting
2244 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2245 let g_file_info_list_attributes() filter the attributes by namespace
2246 instead of simply ignoring the namespace parameter.
2248 2007-11-03 Sven Herzberg <sven@imendio.com>
2250 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2251 (This makes gio work on MacOS X again)
2253 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2256 Build the gio subdirectory before the docs. Otherwise the build will
2259 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2260 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2261 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2262 Add guards to the public functions.
2264 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2266 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2267 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2268 to prevent a compiler warning.
2270 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2271 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2272 return something in the non-void function find_topdir_for().
2274 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2281 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2283 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2284 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2285 * gwin32appinfo.c (g_win32_app_info_launch):
2286 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2287 envp_for_startup_id, g_desktop_app_info_launch,
2288 g_desktop_app_info_launch_uris):
2290 Give an opaque 'startup_id' string instead of 'envp'.
2291 Support empty file lists for launching new windows.
2292 Fix infinite recursion bug when launching URIs.
2294 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2297 Add guard to the new g_file_get_uri_scheme() function.
2299 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2302 Convert a g_return_val_if_fail() to setting the GError instead as
2303 otherwise applications have to verify the parameter before otherwise
2304 and the parameter might come directly from the user.
2306 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2308 * gio/inotify/ginotify*.[ch]:
2309 Add missing copyright information.
2311 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2314 Add guards in the beginning of public functions to check for valid
2315 parameters and fix a bug in copy_stream_with_progress() that could've
2316 caused writing less bytes than reading.
2317 * gio/glocalfileinfo.c:
2318 Check for a NULL parameter and set the GError accordingly then.
2319 * gio/goutputstream.c:
2320 Fix the same bug as in gfile.c that could've caused writing less bytes
2321 than reading in g_output_stream_real_splice().
2323 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2326 Use the correct gvolumeprivate.h naming
2328 2007-11-01 Christian Kellner <gicmo@gnome.org>
2331 Remove leftover "$(daemon_sources)" entry.
2333 2007-11-01 Christian Kellner <gicmo@gnome.org>
2338 Add copyright information to source files.
2340 2007-11-01 Alexander Larsson <alexl@redhat.com>
2344 Add g_file_get_uri_scheme
2346 2007-11-01 Alexander Larsson <alexl@redhat.com>
2349 * gio/gdesktopappinfo.c:
2350 * gio/gwin32appinfo.c:
2351 Add g_app_info_get_default_for_uri_scheme.
2353 2007-11-01 Alexander Larsson <alexl@redhat.com>
2356 Correct filename for gdriveprivate.h
2358 2007-10-31 Alexander Larsson <alexl@redhat.com>
2361 Rename id:value to id:file
2364 * gio/glocalfileinfo.c:
2367 2007-10-31 Alexander Larsson <alexl@redhat.com>
2369 * gio/gunixvolume.c:
2371 Remove g_volume_get_platform_id, as thats not
2372 needed with the simpler union volume monitor
2374 2007-10-31 Alexander Larsson <alexl@redhat.com>
2377 * gio/guniondrive.[ch]: Removed.
2378 * gio/gunionvolume.[ch]: Removed.
2379 Remove GUnionDrive/Volume
2381 * gio/gunionvolumemonitor.c:
2382 Simplify union volume monitor, now we
2383 only have one native volume monitor and
2384 we use the actual volumes/drives from the
2385 child monitors instead of wrapping them
2387 * gio/gnativevolumemonitor.[ch]:
2388 Base class for native volume monitors.
2389 Includes priority and get_volume_for_mountpoint
2392 Add g_file_find_enclosing_volume
2395 Remove volume name fs attribute
2396 Add readonly fs attribute
2399 Implement readonly attribute
2400 remove volume name attribute
2401 Implement find_enclosing volume
2403 * gio/gunixmounts.c:
2404 Add a volume for "/".
2406 * gio/gunixvolume.[ch]:
2407 Set better name for /
2409 * gio/gunixvolumemonitor.[ch]:
2410 Derive from GNativeVolumeMonitor
2411 Implement get_volume_for_mountpoint
2414 GVolume typedef moved to gfile.h
2416 * gio/gvolumeprivate.h:
2417 Add g_volume_get_for_mount_path
2419 2007-10-31 Alexander Larsson <alexl@redhat.com>
2421 * gio/gunixmounts.[ch]:
2422 Add cache info to unix mount listers
2423 Make getmntent use threadsafe
2424 Add is_system_internal attribute for GUnixMount
2426 * gio/gunixvolume.c:
2427 (g_unix_volume_new):
2428 Use is_system_internal instead of own code
2430 * gio/glocaldirectorymonitor.c:
2431 * gio/gunixvolumemonitor.c:
2432 Update to new gunixmounts API
2437 2007-10-30 Alexander Larsson <alexl@redhat.com>
2440 Add volume name fsinfo attribute
2443 Read volume name info
2445 * gio/gunionvolumemonitor.c:
2446 Fix infinite loops when finalizing a union volume monitor
2448 2007-10-30 Alexander Larsson <alexl@redhat.com>
2450 * gio/goutputstream.[ch]:
2451 Add splice() with default implementation
2453 * gio/gsocketoutputstream.c:
2454 (g_socket_output_stream_write):
2455 Return error on cancellation correctly.
2457 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2459 * gio/glocalfile.c (g_local_file_trash):
2460 Do not leak a string.
2462 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2464 * gio/gfile.c (g_file_load_contents):
2465 Unref the stream after closing it.
2467 2007-10-25 Alexander Larsson <alexl@redhat.com>
2469 * gio/gioscheduler.h:
2472 2007-10-25 Alexander Larsson <alexl@redhat.com>
2476 Add g_file_has_uri_scheme and implement for local files
2478 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2480 * gio/gdesktopappinfo.c: do not leak a string.
2482 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2484 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2485 (g_local_directory_monitor_new):
2486 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2487 (g_local_file_monitor_new):
2488 Only look for the monitor type that should be used the first time
2489 and use g_qsort_with_data() instead of our own bubble sort
2492 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2495 * gio/fam/Makefile.am:
2496 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2497 * gio/fam/fam-helper.h:
2498 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2499 * gio/fam/gfamdirectorymonitor.c:
2500 * gio/fam/gfamdirectorymonitor.h:
2501 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2502 * gio/fam/gfamfilemonitor.h:
2503 * gio/glocaldirectorymonitor.c:
2504 * gio/glocaldirectorymonitor.h:
2505 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2506 * gio/glocalfilemonitor.h:
2507 * gio/inotify/Makefile.am:
2508 * gio/inotify/ginotifydirectorymonitor.c:
2509 * gio/inotify/ginotifydirectorymonitor.h:
2510 * gio/inotify/ginotifyfilemonitor.c:
2511 * gio/inotify/ginotifyfilemonitor.h:
2512 Implement the FAM and Inotify monitors as
2513 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2514 their own GIO module. GLocal(Directory|File)Monitor will use the
2515 monitor with the highest rank that is supported on that machine.
2517 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2520 Change GIO module dir to $(libdir)/gio/modules and change
2521 the log domain from GVFS to GIO. Also only export symbols starting
2522 with g_ in the resulting library.
2523 * gio/test-streams.c: (main):
2524 Set log handler for the GIO log domain.
2526 2007-10-22 Alexander Larsson <alexl@redhat.com>
2528 * gio/gfilenamecompleter.[ch]:
2529 Add g_filename_completer_set_dirs_only
2531 2007-10-22 Alexander Larsson <alexl@redhat.com>
2534 * gio/gurifuncs.[ch]:
2535 Add some simple URI helpers
2537 * gio/gfilenamecompleter.[ch]:
2538 Added object for filename (parse name actually) completion
2541 Handle ~ in parse names
2543 2007-10-17 Alexander Larsson <alexl@redhat.com>
2546 * gio/glocalfileinfo.c:
2547 Add and implement id:value attribute
2549 2007-10-17 Alexander Larsson <alexl@redhat.com>
2552 * gio/guniondrive.c:
2554 Add and implement g_drive_has_volumes
2556 2007-10-17 Alexander Larsson <alexl@redhat.com>
2559 * gio/glocalfileinfo.[ch]:
2560 Add unix:is_mountpoint and implement for local files
2562 2007-10-16 Alexander Larsson <alexl@redhat.com>
2564 * gio/gunionvolumemonitor.c:
2565 (g_union_volume_monitor_init):
2566 Fix up the unix type getting so that it works with gcc
2568 2007-10-12 Alexander Larsson <alexl@redhat.com>
2571 * gio/glocalfileinfo.c:
2572 Add thumbnail:failed to file info
2574 2007-10-12 Richard Hult <richard@imendio.com>
2576 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2577 optimizing away the get_type call (happens with some gcc versions,
2578 like the one shipped with OS X 10.4).
2580 2007-10-12 Alexander Larsson <alexl@redhat.com>
2582 * gio/glocalfileinfo.c:
2583 (_g_local_file_info_set_attribute):
2584 Fix build if not HAVE_XATTR
2585 Patch from Milosz Derezynski <internalerror@gmail.com>
2587 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2589 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2590 around for review, otherwise I would have asked you before
2593 2007-10-11 Alexander Larsson <alexl@redhat.com>
2596 Add thumbnail:path attribute
2598 * gio/glocalfileinfo.c:
2599 Implement thumbnail:path for local files
2601 2007-10-11 Alexander Larsson <alexl@redhat.com>
2603 * gio/glocalfileinfo.c:
2604 (_g_local_file_info_get):
2605 Avoid duplicate icon names
2607 2007-10-11 Alexander Larsson <alexl@redhat.com>
2609 * gio/gthemedicon.[ch]:
2610 Change g_themed_icon_get_names return type to const
2612 2007-10-10 Alexander Larsson <alexl@redhat.com>
2614 * gio/glocalfileinfo.c:
2615 Don't reference freed memory
2617 2007-10-10 Alexander Larsson <alexl@redhat.com>
2619 * gio/gfileattribute.c:
2622 * gio/glocalfileinfo.c:
2625 2007-10-10 Alexander Larsson <alexl@redhat.com>
2628 Check for NULL icons
2630 * gio/gfileattribute.c:
2631 Don't dup when getting objects (same as for string attributes)
2633 * gio/gicon.c (g_icon_equal):
2634 Safely handle NULLs in equal
2636 2007-10-10 Alexander Larsson <alexl@redhat.com>
2639 Fix c++ compilation issues
2640 Patch from Milosz Derezynski <internalerror@gmail.com>
2642 2007-10-10 Alexander Larsson <alexl@redhat.com>
2644 * programs/gio-monitor-dir.c:
2645 Don't crash if dir monitor not supported.
2647 2007-10-09 Alexander Larsson <alexl@redhat.com>
2650 Add missing G_END_DECLS
2652 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2654 * gio/gfile.c: (g_file_set_display_name),
2655 (g_file_query_settable_attributes),
2656 (g_file_query_writable_namespaces):
2657 Return NULL not FALSE on errors as the return type is a pointer.
2659 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2661 * gio/glocalfile.c: (g_local_file_monitor_file):
2662 Don't call monitor_file on the default interface vtable (which
2663 is NULL) but simply return NULL. The caller, GFile, will create a
2664 polling monitor if NULL is returned.
2666 2007-10-09 Alexander Larsson <alexl@redhat.com>
2670 * gio-unix-2.0.pc.in:
2671 Add gio-unix-2.0.pc if OS_UNIX
2674 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2676 2007-10-09 Alexander Larsson <alexl@redhat.com>
2678 * gio/gunixmounts.[ch]:
2679 Make unix mount monitoring API sane.
2680 Now its just a object with mounts_changed
2681 and mountpoints_changed signals.
2683 * gio/glocaldirectorymonitor.c:
2684 * gio/gunixvolumemonitor.c:
2685 Use new mount monitor api
2687 2007-10-09 Alexander Larsson <alexl@redhat.com>
2689 * gio/gunixmounts.[ch]:
2690 Move guess type into one call for mounts and one for mountpoints
2693 * gio/gunixvolume.c:
2696 2007-10-09 Alexander Larsson <alexl@redhat.com>
2698 * gio/gunixmounts.[ch]:
2699 Remove _ prefix in preparation to make this semi-public
2700 Hide implementation of structs
2702 * gio/glocaldirectorymonitor.c:
2704 * gio/gunixvolume.c:
2705 * gio/gunixvolumemonitor.c:
2706 Update for above API changes
2708 2007-10-08 Alexander Larsson <alexl@redhat.com>
2711 Better polling fallback. This also handles the case where we have
2712 a monitor_file implementation, but it fails.
2714 2007-10-08 Alexander Larsson <alexl@redhat.com>
2718 * gio/gunixmounts.c:
2719 * programs/gio-monitor-dir.c:
2720 * programs/gio-monitor-file.c:
2721 Added cancellable to file monitoring calls.
2722 These are really sync calls and need this.
2724 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2726 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2727 (g_local_vfs_class_init):
2728 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2729 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2731 2007-10-05 Alexander Larsson <alexl@redhat.com>
2733 * gio/gdirectorymonitorprivate.h:
2734 * gio/gfilemonitorprivate.h:
2735 * gio/gdirectorymonitor.h:
2736 * gio/gfilemonitor.h:
2737 Remove *private.h and move to the public API, so that
2738 we can do implementations outside gio (such as in gvfs)
2740 * gio/gdirectorymonitor.c:
2741 * gio/gfilemonitor.c:
2742 * gio/glocaldirectorymonitor.c:
2743 * gio/gpollfilemonitor.c:
2744 * gio/inotify/inotify-helper.c:
2745 * gio/fam/fam-helper.c:
2746 Update to the new header names
2748 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2750 * gio/gdirectorymonitor.c:
2751 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2754 2007-10-04 Alexander Larsson <alexl@redhat.com>
2756 * gio/glocalfileinfo.c (get_access_rights):
2757 Set CAN_TRASH when we can move the file.
2758 We should really also check for a parent trash dir.
2760 2007-10-04 Alexander Larsson <alexl@redhat.com>
2762 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2763 Add can_trash access attribute
2765 2007-10-04 Alexander Larsson <alexl@redhat.com>
2768 (g_local_file_trash):
2769 Create info file first. This is per-spec and allows
2770 us to actually trash directories.
2772 2007-10-02 Alexander Larsson <alexl@redhat.com>
2774 * gio/gdesktopappinfo.c:
2775 Implement the new mime support code.
2776 Always set app as handling mimetype when being set as default for it
2778 2007-10-01 Alexander Larsson <alexl@redhat.com>
2780 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2781 Fix up check for xattrs:
2783 2007-10-01 Alexander Larsson <alexl@redhat.com>
2786 (g_app_info_set_as_default_for_extension):
2787 (g_app_info_add_supports_type):
2788 (g_app_info_can_remove_supports_type):
2789 (g_app_info_remove_supports_type):
2790 Make these fail nicely if not implemented
2792 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2794 * gio/glocalfileoutputstream.c:
2795 * gio/glocalfileoutputstream.h:
2800 * programs/gio-save.c:
2801 Add a GFileCreateFlags argument to operations that can create
2804 2007-10-01 Alexander Larsson <alexl@redhat.com>
2806 * gio/gappinfo.[ch]:
2807 * gio/gdesktopappinfo.c:
2808 Add more (stubbed out) mime API needed for nautilus
2810 2007-10-01 Alexander Larsson <alexl@redhat.com>
2813 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2814 Add g_app_info_set_as_default_for_extension.
2816 * gio/gdesktopappinfo.c:
2817 Dummy for g_app_info_set_as_default_for_extension
2818 Support flags in g_app_info_create_from_commandline
2820 * gio/gwin32appinfo.c:
2822 Update for API changes
2824 * gio/gthemedicon.c:
2825 Properly NULL-terminate list of icon names
2827 2007-09-28 Alexander Larsson <alexl@redhat.com>
2829 * gio/gloadableicon.h:
2830 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2832 2007-09-28 Alexander Larsson <alexl@redhat.com>
2835 Install headers in $includedir/gio-standalone/
2837 * gio-2.0.pc.in: Added.
2838 * gio-standalone.pc.in: Removed.
2841 Renamed pkg-config file to match glib (for future move)
2842 Update to the new include dir
2845 Add more TODO comments
2847 2007-09-28 Alexander Larsson <alexl@redhat.com>
2849 * gio/gdesktopappinfo.[ch]:
2850 Expose new_from_filename
2851 Add getter for is_hidden and handle it better
2853 2007-09-28 Alexander Larsson <alexl@redhat.com>
2855 * gio/gfileinfo.[ch]:
2856 Rename g_file_size_format_for_display to
2857 g_format_file_size_for_display.
2858 Now it doesn't have the g_file prefix, so we
2859 can later move it to glib.
2861 2007-09-28 Alexander Larsson <alexl@redhat.com>
2863 * gio/gappinfo.[ch]:
2864 Add g_app_info_get_id and g_app_info_get_executable.
2865 Make all getters non-reffing
2866 Make g_app_info_launch take GFile arguments.
2867 Add must_support_uris argument to g_app_info_get_default_for_type.
2869 * gio/gwin32appinfo.c:
2870 Update to GAppInfo api changes
2872 * gio/gdesktopappinfo.c:
2873 Update to GAppInfo api changes
2874 Implement supports_xdg_startup_notify
2876 * gio/gfileicon.c (g_file_icon_get_file):
2877 Make getter non-reffing.
2882 2007-09-27 Alexander Larsson <alexl@redhat.com>
2884 * gio/gfileinfo.[ch]:
2885 Add g_file_size_format_for_display helper
2887 2007-09-27 Alexander Larsson <alexl@redhat.com>
2889 * gio/glocalfileinfo.c:
2890 Set UNIX_GID from gid, not from uid
2892 2007-09-27 Alexander Larsson <alexl@redhat.com>
2895 Add g_file_set_attributes_async
2897 2007-09-27 Alexander Larsson <alexl@redhat.com>
2899 * gio/glocalfile.c (g_local_file_set_display_name):
2900 Fix set_display_name to actually rename to the right place.
2901 Use lstat to look for existing files so we don't overwrite
2904 2007-09-26 Alexander Larsson <alexl@redhat.com>
2907 Add g_file_set_display_name_async()
2909 2007-09-26 Alexander Larsson <alexl@redhat.com>
2912 Add load_partial_contents async calls
2915 Make internal function static
2917 2007-09-26 Alexander Larsson <alexl@redhat.com>
2919 * gio/glocalfileinfo.c:
2920 Correctly detect broken symlinks
2922 2007-09-26 Alexander Larsson <alexl@redhat.com>
2924 * gio/gcancellable.c (g_cancellable_cancel):
2925 Allow cancel on NULL cancellable
2927 2007-09-25 Alexander Larsson <alexl@redhat.com>
2929 * gio/gsimpleasyncresult.c:
2930 Don't allocate g_error manually.
2931 Fixes g_slice/g_new mixup crash
2933 2007-09-25 Alexander Larsson <alexl@redhat.com>
2935 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2936 Actually set active_backend.
2937 This means the monitor will be cancelled correctly.
2939 2007-09-25 Alexander Larsson <alexl@redhat.com>
2941 * gio/gdirectorymonitor.c:
2942 Set timeout to NULL when destroying
2944 2007-09-25 Alexander Larsson <alexl@redhat.com>
2947 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
2948 that is a better description of the error.
2950 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
2952 * gio/gvfs.c: (g_vfs_get_local):
2953 Make the local vfs variable static. The same instance should
2956 2007-09-24 Alexander Larsson <alexl@redhat.com>
2958 * gio/glocalfileinfo.c:
2959 Pass in actual length read into sniffer, not the length
2962 2007-09-21 Alexander Larsson <alexl@redhat.com>
2964 * gio/gfileenumerator.c:
2967 * gio/gfileinputstream.c:
2968 * gio/gfileoutputstream.c:
2969 * gio/ginputstream.c:
2970 * gio/goutputstream.c:
2971 Don't crash if async callbacks are NULL
2973 2007-09-20 Alexander Larsson <alexl@redhat.com>
2976 Add async enumerate_children method and default
2979 2007-09-20 Alexander Larsson <alexl@redhat.com>
2982 Add g_file_contains_file & g_file_get_relative_path, since they
2983 were needed for nautilus.
2984 Renamed g_file_resolve_relative to g_file_resolve_relative_path
2989 Implement new methods
2991 2007-09-17 Alexander Larsson <alexl@redhat.com>
2994 * gio/gfileinputstream.[ch]:
2995 * gio/gfileoutputstream.[ch]:
2997 * gio/glocalfileenumerator.[ch]:
2998 * gio/glocalfileinfo.[ch]:
2999 * gio/glocalfileinputstream.c:
3000 * gio/glocalfileoutputstream.c:
3001 * gio/gpollfilemonitor.c:
3002 * programs/gio-copy.c:
3003 * programs/gio-info.c:
3004 * programs/gio-move.c:
3005 Rename get_file_info to query_info() to make it clearer
3006 that these are not simple getters, but do i/o.
3008 2007-09-17 Alexander Larsson <alexl@redhat.com>
3010 * gio/gdatainputstream.[ch]:
3011 * gio/test-streams.c:
3012 Use _read_XXX instead of _get_XXX for the i/o calls
3015 2007-09-17 Alexander Larsson <alexl@redhat.com>
3018 Added needed stuff to TODO comment
3020 2007-09-17 Alexander Larsson <alexl@redhat.com>
3022 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3023 Don't error out removing the backup copy if it doesn't
3026 2007-09-14 Alexander Larsson <alexl@redhat.com>
3028 * programs/Makefile.am:
3029 * programs/gvfs-*.c:
3031 Renamed apps from gvfs-xxx to gio-xxx.
3033 2007-09-14 Alexander Larsson <alexl@redhat.com>
3036 * gio/gfileoutputstream.[ch]:
3037 * gio/glocalfileoutputstream.c:
3038 * programs/gvfs-save.c:
3039 g_file_output_stream_get_etag doesn't do i/o, so remove
3040 cancellation and error.
3042 2007-09-14 Alexander Larsson <alexl@redhat.com>
3045 Add new_etag output to replace_contents functions
3047 2007-09-14 Alexander Larsson <alexl@redhat.com>
3049 * gio/gfileoutputstream.[ch]:
3050 Add async get_file_info and default implementation
3052 2007-09-14 Alexander Larsson <alexl@redhat.com>
3054 * gio/gfileinputstream.c:
3055 Implement fallback wrapper for async get_file_info
3057 2007-09-14 Alexander Larsson <alexl@redhat.com>
3060 Add etag out argument to load_contents
3065 2007-09-14 Alexander Larsson <alexl@redhat.com>
3067 * gio/gcontenttype.c (looks_like_text):
3068 Whitespace like tab, cr and lf do not make the
3071 2007-09-14 Alexander Larsson <alexl@redhat.com>
3073 * gio/gfileinputstream.[ch]:
3074 Add async get_file_info.
3076 2007-09-13 Alexander Larsson <alexl@redhat.com>
3078 * gio/goutputstream.c (g_output_stream_write_all):
3079 Allow NULL for bytes_written
3081 2007-09-13 Alexander Larsson <alexl@redhat.com>
3083 * gio/gmemoryinputstream.[ch]:
3084 Add accessors for data
3086 2007-09-13 Alexander Larsson <alexl@redhat.com>
3088 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3089 Don't crash if length is NULL