1 2008-01-25 Matthias Clasen <mclasen@redhat.com>
5 * gbufferedinputstream.c:
6 * glocalfile.c: String improvements. (#511966,
7 Theppitak Karoonboonyanan)
9 2008-01-24 Matthias Clasen <mclasen@redhat.com>
11 * gioscheduler.h: Expand docs a bit.
13 2008-01-24 Alexander Larsson <alexl@redhat.com>
16 Add g_drive_get_identifier and
17 g_drive_enumerate_identifiers
20 Add g_volume_get_identifier and
21 g_volume_enumerate_identifiers
27 Implement identifiers for unix backend
29 2008-01-24 Alexander Larsson <alexl@redhat.com>
34 Add g_file_copy_async() (#511580)
35 Based on patch from Carlos Garcia Campos
37 2008-01-23 Matthias Clasen <mclasen@redhat.com>
39 * gioscheduler.c: Some documentation additions.
41 2008-01-22 Alexander Larsson <alexl@redhat.com>
44 (g_desktop_app_info_new):
47 2008-01-22 Alexander Larsson <alexl@redhat.com>
50 (g_desktop_app_info_new_from_filename):
53 2008-01-22 Alexander Larsson <alexl@redhat.com>
55 * glocalfileinfo.c (get_thumbnail_attributes):
58 2008-01-22 Alexander Larsson <alexl@redhat.com>
61 (canonicalize_filename):
62 Canonicalize paths that start with more than
67 (test_g_file_new_for_path):
70 2008-01-22 Alexander Larsson <alexl@redhat.com>
73 Allow UTF-8 in file:// parse names.
76 * tests/data-input-stream.c:
77 * tests/data-output-stream.c:
78 * tests/g-file-info.c:
80 Added a bunch of tests from Tomas Bzatek
82 2008-01-21 Matthias Clasen <mclasen@redhat.com>
84 * === Released 2.15.3 ===
86 2008-01-21 Alexander Larsson <alexl@redhat.com>
88 * gfileinputstream.[ch]:
89 * gfileoutputstream.[ch]:
91 Remove duplicated GSeekable functions. (#509990)
92 Just use the g_seekable_xxx() calls instead.
94 2008-01-21 Matthias Clasen <mclasen@redhat.com>
97 * gvolumemanager.c: Whitespace cleanups.
99 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
100 Use the right mode when creating the file.
102 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
105 * gfileinputstream.c:
107 * goutputstream.c: Documentation: Fixed minor typos
108 and added more mentions of specific _finish() functions.
110 2008-01-21 Alexander Larsson <alexl@redhat.com>
112 * inotify/Makefile.am:
113 * inotify/inotify-helper.c:
114 * inotify/inotify-kernel.c:
115 * inotify/inotify-path.c:
116 * inotify/local_inotify.h: Removed.
117 * inotify/local_inotify_syscalls.h: Removed.
118 Removed the included copies of the inotify
119 headers. We now only use the <sys/inotify.h>
120 header which exists on modern systems.
121 This fixes problems on ARM and SH5 (#510448)
122 but is also generally much cleaner and future
123 safe. For instance, if other OSes add support
124 for inotify it should "just work".
126 2008-01-20 Matthias Clasen <mclasen@redhat.com>
128 * inotify/*.c: Coding style fixes.
129 * inotify/inotify-missing.c: Use g_timeout_add_seconds
130 for the 1/4 Hz timer.
132 2008-01-20 Matthias Clasen <mclasen@redhat.com>
136 * gmemoryinputstream.c:
137 * gmemoryoutputstream.c:
139 * gthemedicon.c: Documentation updates
141 2008-01-20 Murray Cumming <murrayc@murrayc.com>
143 * gfile.c: documentation: Fixed more minor
146 2008-01-18 Murray Cumming <murrayc@murrayc.com>
148 * gmount.c: (g_mount_remount): documentation:
149 Mention g_mount_remount_finish() instead of
150 g_mount_unmount_finish().
152 2008-01-18 Murray Cumming <murrayc@murrayc.com>
156 * gfile.c: Fixed some minor typos in the
159 2008-01-18 Murray Cumming <murrayc@murrayc.com>
161 * gio/gvolumemonitor.c:
162 (g_volume_monitor_get_connected_drives):
163 (g_volume_monitor_get_volumes):
164 (g_volume_monitor_get_mounts): Documentation:
165 Clarify the ownership of the regurn GLists.
167 2008-01-17 Alexander Larsson <alexl@redhat.com>
170 Add the async find_enclosing_mount version
171 to the header file too.
173 2008-01-17 Alexander Larsson <alexl@redhat.com>
176 Add async version of find_enclosing_mount
177 with default implementation.
179 2008-01-17 Alexander Larsson <alexl@redhat.com>
184 Allow calls to implementation of copy and write
185 even if the type of the file implementations is
186 different. This can be used to implement native
187 upload and download calls in a vfs.
191 Protect against the case where move is called
192 with one file not being local.
194 Make sure we call the progress callback once
195 in the native move operation so that the caller
196 knows how many bytes were copied.
198 2008-01-16 Murray Cumming <murrayc@murrayc.com>
201 * gdatainputstream.c:
203 * gfileoutputstream.c:
208 * gunixmounts.c: Corrected some typos in the documentation:
210 its -> it's (where appropriate).
212 2008-01-16 Alexander Larsson <alexl@redhat.com>
216 Add g_file_query_exists (#508771)
218 2008-01-15 Murray Cumming <murrayc@murrayc.com>
223 * gvolume.c: For async functions that have no non-async
224 version, document that the GAsyncReadyCallback may be NULL.
227 2008-01-15 Alexander Larsson <alexl@redhat.com>
229 * gmemoryinputstream.c:
230 * gmemoryoutputstream.c:
231 Don't do pointer arithmetic on void * (#508602)
232 Patch from Kazuki IWAMOTO
234 2008-01-14 Matthias Clasen <mclasen@redhat.com>
236 * === Released 2.15.2 ===
238 2008-01-14 Alexander Larsson <alexl@redhat.com>
240 * gfile.c (g_file_monitor_file):
241 Don't set error here, since we fallback to polling monitor.
243 2008-01-14 Alexander Larsson <alexl@redhat.com>
246 (g_file_monitor_directory):
247 (g_file_monitor_file):
248 Add GError to file monitor calls
250 * glocaldirectorymonitor.c:
251 * glocaldirectorymonitor.h:
253 * glocalfilemonitor.c:
254 * glocalfilemonitor.h:
256 Update for above change
258 2008-01-14 Alexander Larsson <alexl@redhat.com>
262 Handle root correctly in g_file_get_relative_path (#508719)
264 2008-01-14 Alexander Larsson <alexl@redhat.com>
267 Clean up docs and example for GAsyncResult (#508074)
269 2008-01-11 Murray Cumming <murrayc@murrayc.com>
271 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
272 and correct some spelling mistakes. Bug #508108.
274 2008-01-11 Matthias Clasen <mclasen@redhat.com>
276 * glocalfileinfo.c: Add a comment.
278 2008-01-10 Murray Cumming <murrayc@murrayc.com>
280 * gfileinfo.c: GFileInfo description: Mention
281 how to actually set attributes in a GFile and how to discover
282 which attributes are settable. Bug #508378.
284 2008-01-10 A. Walton <awalton@svn.gnome.org>
286 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
287 (g_app_info_get_default_for_type):
288 Check for NULL content types.
290 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
292 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
294 2008-01-09 Murray Cumming <murrayc@murrayc.com>
296 * gfile.c: *_async() functions: Several small corrections
297 to the documentation, mostly correcting copy/paste errors
298 and improving some sentences.
300 2008-01-09 Dan Winship <danw@gnome.org>
302 * glocalfile.c (get_unique_filename): x86_64 fix
304 2008-01-09 Alexander Larsson <alexl@redhat.com>
309 Add g_unix_mount_guess_should_display and use
310 for unix volume monitor backend.
311 This means we more or less show what the
312 gnome-vfs backend did.
313 Based on patch from Padraig O'Briain
315 2008-01-09 Alexander Larsson <alexl@redhat.com>
319 Add g_themed_icon_new_with_default_fallbacks
322 Use default fallbacks for icons
324 2008-01-09 Alexander Larsson <alexl@redhat.com>
327 * gmountoperation.[ch]:
328 Change the API a bit so that unhandled methods
329 get reported via the reply, rather than by
330 the signal emission return value. This is because
331 some handlers can't know this immediately without
332 doing I/O, and this is an async operation that
335 2008-01-09 Alexander Larsson <alexl@redhat.com>
338 * fam/gfamdirectorymonitor.c:
339 * fam/gfamfilemonitor.c:
340 Fix double free crash (#508224)
341 Patch from Joe Marcus Clarke
343 008-01-07 Matthias Clasen <mclasen@redhat.com>
345 * === Released 2.15.1 ===
347 2008-01-07 Alexander Larsson <alexl@redhat.com>
349 * gunixinputstream.c (g_unix_input_stream_skip_finish):
350 Fix warning (#507835)
352 2008-01-07 Alexander Larsson <alexl@redhat.com>
355 Pass --internal to glib-genmarshal
360 Use better types for signal arguments (#507822)
362 2008-01-07 Alexander Larsson <alexl@redhat.com>
365 Build test subdir after .
366 Remove gdirectorymonitor.[ch]
368 * gdirectorymonitor.[ch]:
372 Remove GDirectoryMonitor and make
373 GFileMonitor the baseclass for both file and
374 directory monitors. Lift the more generic
375 rate limiting code from GDirectoryMonitor
379 * fam/gfamdirectorymonitor.[ch]:
380 * inotify/ginotifydirectorymonitor.[ch]:
381 * inotify/inotify-helper.c:
382 * glocaldirectorymonitor.[ch]:
385 Update for the removed GDirectoryMonitor.
387 * gmemoryoutputstream.c:
388 Remove ununsed variable
390 2008-01-07 Alexander Larsson <alexl@redhat.com>
392 * gmemoryinputstream.c:
393 Translate error strings
396 * gmemoryoutputstream.[ch]:
397 New implementation that avoids using GByteArray
398 in implementation and API. (#506377)
400 2008-01-06 Matthias Clasen <mclasen@redhat.com>
402 * tests/*: Add a test for memory input streams.
404 * Makefile.am: Add tests to SUBDIRS.
406 2008-01-06 Matthias Clasen <mclasen@redhat.com>
408 * glocalfilemonitor.c:
409 * glocaldirectorymonitor.c: Mark property nicks and blurbs
412 2008-01-06 Matthias Clasen <mclasen@redhat.com>
414 * gdesktopappinfo.c: Fix a docs typo.
416 * gfileattribute.c: Add information about extended attributes
417 to the documentation. (#505058)
419 2008-01-04 Alexander Larsson <alexl@redhat.com>
423 Use the right type (uint) for the ask_password signal.
425 2008-01-04 Alexander Larsson <alexl@redhat.com>
430 Add g_app_info_supports_files()
431 Remove desktop arg from g_app_info_should_show().
433 * gdesktopappinfo.[ch]:
434 Implement g_app_info_supports_files() and new should_show()
435 Add g_desktop_app_info_set_desktop_env() to set the desktop
436 for should_show(). (This will be set by gtk+ later)
438 2008-01-04 Alexander Larsson <alexl@redhat.com>
441 * gmemoryinputstream.[ch]:
442 Improve API so that you can use multiple chunks
443 of memory and custom destroy functions. (#506374)
445 2008-01-03 Alexander Larsson <alexl@redhat.com>
448 Handle NULL attribute matchers safely, as we return this
449 for empty attribute matcher strings.
451 2008-01-03 Alexander Larsson <alexl@redhat.com>
453 * gunixmounts.c (g_unix_is_mount_path_system_internal):
454 Add /usr/local to list of internal mountpoints
456 2008-01-03 Alexander Larsson <alexl@redhat.com>
459 Check for HAVE_LCHOWN (#505887)
461 2008-01-03 Alexander Larsson <alexl@redhat.com>
465 Add define for selinux context attribute.
466 Fix missing : -> :: namespace separator change
467 Fix missing _ -> - name change for xattr-sys.
470 2008-01-03 Alexander Larsson <alexl@redhat.com>
473 Link to libglib and libgobject directly (#504879)
474 Patch from Sebastien Bacher
476 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
478 * gfile.c: Expanded the g_file_new_for_commandline_arg
479 description a bit, based on the code and the docs of the
480 other g_file_new_for_* functions.
482 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
484 * gfilemonitor.h: Fixed typo in docs.
486 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
488 Updates to GIO documentation. (#506395, Mikael Hermansson)
490 * gcontenttype.c: Describe memory management for return value of
491 g_content_types_get_registered(). Missing piece from #505815.
492 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
493 GVolume, GDrive, GMounts, which hopefully gives the user less
494 confusions when using this API. Following explainations from
495 Alexander Larsson on gtk-devel-list.
497 2007-12-30 Matthias Clasen <mclasen@redhat.com>
499 * gfileinfo.c: Expand the long description.
501 2007-12-30 Matthias Clasen <mclasen@redhat.com>
504 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
505 fix builds with --disable-visibility. (#500273, Christian Persch)
507 2007-12-30 Matthias Clasen <mclasen@redhat.com>
509 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
510 in the list of returned app infos.
512 2007-12-30 Matthias Clasen <mclasen@redhat.com>
514 * gappinfo.c: Fix a cross-reference
516 2007-12-30 Matthias Clasen <mclasen@redhat.com>
518 * gfileinputstream.c:
519 * gfileoutputstream.c:
525 * gfileinfo.c: Documentation updates.
527 2007-12-26 Matthias Clasen <mclasen@redhat.com>
529 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
532 2007-12-26 Matthias Clasen <mclasen@redhat.com>
534 * gcontenttype.c (g_content_types_get_registered): Don't return
535 freed memory (#505815, Mikael Hermansson)
537 2007-12-25 Paolo Borelli <pborelli@katamail.com>
539 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
540 used to detect statbuf->st_blocks. (#505042)
542 2007-12-24 Matthias Clasen <mclasen@redhat.com>
544 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
545 environment handling. (#504829, Cosimo Cecchi)
547 2007-12-22 Matthias Clasen <mclasen@redhat.com>
549 * gappinfo.c: Doc improvements
551 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
554 2007-12-20 Matthias Clasen <mclasen@redhat.com>
556 * === Released 2.15.0 ===
558 2007-12-20 Hans Breuer <hans@breuer.org>
560 * makefile.msc : don't build gdesktopappinfo.obj, it collides
561 with symbols gwin32appinfo.obj, added gmount.obj
562 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
564 2007-12-20 Alexander Larsson <alexl@redhat.com>
570 * gfilenamecompleter.c:
573 * gpollfilemonitor.c:
574 File attribute renames:
577 id::fs -> id::filesystem
579 2007-12-20 Alexander Larsson <alexl@redhat.com>
588 Add GMountUnmountFlags to all unmount and
590 Add g_mount_remount() call.
592 2007-12-20 Alexander Larsson <alexl@redhat.com>
594 * gvfs.c (get_default_vfs):
595 Fix unused variable warning
597 2007-12-19 Matthias Clasen <mclasen@redhat.com>
599 * pltcheck.sh: Update
601 2007-12-19 Matthias Clasen <mclasen@redhat.com>
603 * gunionvolumemonitor.c:
604 * gunixmount.c: Remove C99 comments
606 2007-12-19 Matthias Clasen <mclasen@redhat.com>
608 * gio.symbols: Add some missing symbols
610 2007-12-19 Alexander Larsson <alexl@redhat.com>
613 Make g_io_modules_load_all_in_directory not unuse
614 loaded modules so that users of it can do stuff
616 Init internal "module" types.
617 Initialize static prio and name for types so that
618 we don't have to load modules to get it.
620 * gnativevolumemonitor.h:
622 Move is_supported to parent class so that
623 non-native monitors can avoid being initialized
624 too. (For instance GDaemonVolumeMonitor if we're
625 not using GDaemonVfs.)
627 * glocaldirectorymonitor.[ch]:
628 * glocalfilemonitor.[ch]:
629 * gunionvolumemonitor.c:
630 * gunixvolumemonitor.c:
632 Find plugins using the static prio+name to
633 avoid unnecessarily loading the modules.
635 2007-12-19 Alexander Larsson <alexl@redhat.com>
640 2007-12-19 Alexander Larsson <alexl@redhat.com>
642 * gunionvolumemonitor.c:
643 Store the native type as GType, not class so that
644 we can unload it. But still avoid unnecessarily
647 2007-12-19 David Zeuthen <davidz@redhat.com>
649 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
650 add signals 'disconnected' and 'eject-button' on GDrive. Add
651 signal 'removed' on GVolume and 'unmounted' on GMount.
653 * gdrive.c: (g_drive_base_init):
655 * gfile.c: (g_file_mount_mountable),
656 (g_file_mount_enclosing_volume):
659 * gmount.c: (g_mount_base_init):
661 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
662 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
663 * gvolume.c: (g_volume_base_init), (g_volume_mount):
667 2007-12-17 Matthias Clasen <mclasen@redhat.com>
669 * *.c: Fix up includes in the section docs.
671 2007-12-17 Alexander Larsson <alexl@redhat.com>
673 * gnativevolumemonitor.h:
674 * gunionvolumemonitor.c:
675 * gunixvolumemonitor.c:
676 Add is_supported() to GNativeVolumeMonitorClass so
677 that we can avoid having to create an object to see
678 if the backend is supported at runtime.
679 Also add name member and an env var to pick a specific
680 volume monitor backend.
684 Add cancellable to _g_mount_get_for_mount_path()
686 * glocaldirectorymonitor.c:
687 * glocalfilemonitor.c:
688 Avoid loading and unloading modules while sorting.
690 2007-12-17 Matthias Clasen <mclasen@redhat.com>
693 * gunixmounts.[hc]: Namespace waste reduction, move some
694 g_get_unix_mount functions to the g_unix_mount namespace.
697 * gunixvolumemonitor.c:
699 * glocaldirectorymonitor.c: Update all callers.
701 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
703 2007-12-17 Alexander Larsson <alexl@redhat.com>
706 Add doc comments about what GFile operations are
707 guaranteed to not block.
709 2007-12-17 Alexander Larsson <alexl@redhat.com>
712 Add missing #ifdef fixing OSX build.
713 (#503334, patch from Richard Hult)
715 2007-12-14 David Zeuthen <davidz@redhat.com>
719 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
720 (g_mount_eject), (g_mount_eject_finish):
722 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
723 (get_volume_for_uuid), (get_mount_for_uuid),
724 (g_union_volume_monitor_class_init),
725 (get_default_native_type_with_exclude), (get_default_native_type),
726 (get_native_type), (update_native_type),
727 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
728 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
729 (g_unix_mount_can_eject), (eject_unmount_cb),
730 (eject_unmount_read_error), (eject_unmount_do),
731 (g_unix_mount_unmount), (g_unix_mount_eject),
732 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
733 * gunixmounts.c: (g_unix_mount_guess_can_eject),
734 (g_unix_mount_point_guess_can_eject):
736 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
737 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
738 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
739 (g_unix_volume_mount), (g_unix_volume_eject),
740 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
741 * gunixvolumemonitor.c: (get_volume_for_uuid),
742 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
744 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
745 (g_volume_eject), (g_volume_eject_finish):
747 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
748 (g_volume_monitor_get_mount_for_uuid):
751 Provide eject() on both GMount and GVolume and utility functions
752 to guess whether a GUnixMountPoint or GUnixMountEntry should be
753 ejected. Introduce the concept of UUID's and wire it into GVolume
754 and GMount and provide API on GVolumeMonitor to find such
755 instances. Also handle the case where an external
756 GNativeVolumeMonitor fails to initialize. Lock around the
757 _g_get_mount_for_mount_path() function such that volume monitor
758 implementations won't have to do locking themselves.
760 2007-12-17 Matthias Clasen <mclasen@redhat.com>
768 * gvolume.h: Documentation updates
770 2007-12-14 Matthias Clasen <mclasen@redhat.com>
773 * gfile.h: Doc updates
775 2007-12-14 Matthias Clasen <mclasen@redhat.com>
778 * gdesktopappinfo.c: Use hash table iterators.
780 2007-12-14 Alexander Larsson <alexl@redhat.com>
783 * gfileattribute.[ch]:
784 * gfileattribute-priv.h:
785 Move GFileAttributeValue to a private header, as
789 Make set_attribute take a type + a pointer instead
790 of a GFileAttributeValue.
793 Fix up for above changes.
794 Add g_file_info_get_attribute_data to get
795 all info in one call, g_file_info_get_attribute_status
796 to get the status and g_file_info_get_attribute_as_string.
800 * glocalfileinfo.[ch]:
804 Make _guess_type static.
806 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
809 * inotify/Makefile.am: Fixed build when srcdir != builddir,
810 made mkenums and friends use temporary files to avoid leaving
811 empty generated files on failure (#503470).
813 2007-12-14 Alexander Larsson <alexl@redhat.com>
818 2007-12-14 Alexander Larsson <alexl@redhat.com>
822 * gfileattribute.[ch]:
825 * glocalfileoutputstream.c:
826 * gmountoperation.[ch]:
827 * goutputstream.[ch]:
828 Clean up all flags enums to not have _FLAGS in them
829 Make the names of some of the enums better.
834 2007-12-14 Michael Natterer <mitch@imendio.com>
836 * gio.symbols: fix g_io_scheduler symbol names.
838 2007-12-14 Alexander Larsson <alexl@redhat.com>
844 * gbufferedinputstream.h:
845 * gbufferedoutputstream.h:
848 * gdatainputstream.h:
849 * gdataoutputstream.h:
851 * gdirectorymonitor.h:
858 * gfileinputstream.h:
860 * gfilenamecompleter.h:
861 * gfileoutputstream.h:
862 * gfilterinputstream.h:
863 * gfilteroutputstream.h:
871 * gmemoryinputstream.h:
872 * gmemoryoutputstream.h:
877 * gsimpleasyncresult.h:
879 * gunixinputstream.h:
881 * gunixoutputstream.h:
885 * inotify/Makefile.am:
886 Only allow including <gio/gio.h> from apps
888 2007-12-14 Alexander Larsson <alexl@redhat.com>
891 * gsimpleasyncresult.c:
892 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
893 Split out the send_to_mainloop call into two versions instead
894 of having the block argument.
896 2007-12-13 Alexander Larsson <alexl@redhat.com>
900 * gbufferedinputstream.c:
902 * gfileinputstream.c:
903 * gfileoutputstream.c:
907 g_push/pop_current_cancellable ->
908 g_cancellable_push/pop_current
910 2007-12-13 Alexander Larsson <alexl@redhat.com>
914 Rename g_mount_for_location to g_file_mount_enclosing_volume.
916 2007-12-13 Alexander Larsson <alexl@redhat.com>
919 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
921 2007-12-12 Alexander Larsson <alexl@redhat.com>
924 Fix race condition when freeing proxy in
925 g_io_job_send_to_mainloop().
927 2007-12-12 Alexander Larsson <alexl@redhat.com>
933 Make attribute namespace separator "::" instead of ":".
934 Use - instead of _ as separator in attribute names.
936 2007-12-12 Alexander Larsson <alexl@redhat.com>
938 * gbufferedinputstream.h:
939 * gbufferedoutputstream.h:
940 * gdatainputstream.h:
941 * gdataoutputstream.h:
942 * gdirectorymonitor.h:
944 * gfileinputstream.h:
946 * gfileoutputstream.h:
947 * gfilterinputstream.h:
948 * gfilteroutputstream.h:
950 * glocalfileinputstream.h:
951 * glocalfileoutputstream.h:
952 * gmemoryinputstream.h:
953 * gmemoryoutputstream.h:
954 * gnativevolumemonitor.h:
956 * gunixinputstream.h:
957 * gunixoutputstream.h:
960 s/parent/parent_instance/ in GObjects
962 2007-12-12 Alexander Larsson <alexl@redhat.com>
967 No need for padding for interfaces
969 2007-12-12 Alexander Larsson <alexl@redhat.com>
973 * gbufferedinputstream.c:
974 * gbufferedoutputstream.c:
977 * gdatainputstream.[ch]:
979 * gdirectorymonitor.c:
981 * gfileattribute.[ch]:
984 * gfileinputstream.h:
986 * gfileoutputstream.[ch]:
987 * gfilterinputstream.h:
988 * gfilteroutputstream.h:
991 * gloadableicon.[ch]:
992 * gmemoryinputstream.c:
995 Fix up a bunch of details in the docs.
1000 2007-12-11 David Zeuthen <davidz@redhat.com>
1002 Rework how volumes, drives and volume monitoring is
1003 done. Previosly the model was
1005 GDrive <1-1> GVolume
1007 where a GDrive instance represented a mount point and a GVolume
1008 instance represented a mounted file system. This patch changes it
1011 GDrive <1-N> GVolume <1-1> GMount
1013 where GMount now serves the purpose of the old GVolume and the new
1014 GVolume serves the purpose of the old GDrive. In addition the new
1015 GDrive interface is used to represent a collection of GVolume
1016 instances (typically partitions) and also contains utility to query
1017 the state of the physical drive the GDrive object represents (such
1018 as checking for media, polling the drive, ejecting the media etc.).
1020 Also implement mounting and unmounting in the Unix volume monitor
1021 backend. A subquent patch will introduce GDrive support for ejection
1025 * gdrive.c: (g_drive_is_media_check_automatic),
1026 (g_drive_is_media_removable), (g_drive_has_media),
1027 (g_drive_can_poll_for_media), (g_drive_eject),
1028 (g_drive_eject_finish), (g_drive_poll_for_media),
1029 (g_drive_poll_for_media_finish):
1031 * gfile.c: (g_file_find_enclosing_mount):
1034 * glocaldirectorymonitor.c:
1035 (g_local_directory_monitor_constructor), (mounts_changed):
1036 * glocalfile.c: (get_mount_info),
1037 (g_local_file_find_enclosing_mount),
1038 (g_local_file_file_iface_init):
1039 * gnativevolumemonitor.h:
1040 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1041 (get_connected_drives), (g_union_volume_monitor_class_init),
1042 (child_volume_added), (child_volume_removed),
1043 (child_volume_changed), (child_mount_added), (child_mount_removed),
1044 (child_mount_pre_unmount), (child_mount_changed),
1045 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1046 (g_union_volume_monitor_remove_monitor),
1047 (_g_mount_get_for_mount_path):
1048 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1049 (guess_system_internal), (_g_get_unix_mounts),
1050 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1051 (g_unix_mount_free), (g_unix_mount_compare),
1052 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1053 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1054 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1055 (type_to_icon), (g_unix_mount_guess_name),
1056 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1057 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1058 (_resolve_symlink), (_resolve_dev_root):
1060 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1061 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1062 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1063 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1064 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1065 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1066 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1067 (g_unix_volume_volume_iface_init):
1069 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1070 (get_mounts), (get_volumes), (get_connected_drives),
1071 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1072 (mountpoints_changed), (mounts_changed),
1073 (g_unix_volume_monitor_init),
1074 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1075 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1076 * gunixvolumemonitor.h:
1077 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1078 (g_volume_mount), (g_volume_mount_finish):
1080 * gvolumemonitor.c: (g_volume_monitor_class_init),
1081 (g_volume_monitor_get_connected_drives),
1082 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1085 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1087 * gmountoperation.h (GPasswordFlags): Close the gap
1089 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1091 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1093 * gdesktopappinfo.[hc]: Remove _-prefixes
1095 2007-12-10 Tor Lillqvist <tml@novell.com>
1097 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1100 2007-12-10 Alexander Larsson <alexl@redhat.com>
1102 * gfile.c (g_file_set_display_name):
1103 Don't hardcode '/' (#502727)
1105 2007-12-09 Hans Breuer <hans@breuer.org>
1107 * makefile.msc : follow lib naming convention
1108 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1109 for user and group name, tested with ../tests/gio-ls
1111 2007-12-09 A. Walton <awalton@svn.gnome.org>
1113 * gdesktopappinfo.c:
1119 * gfileenumerator.c:
1124 * gmemoryinputstream.c:
1125 * gmemoryoutputstream.c:
1127 * gsimpleasyncresult.c:
1128 More documentation cleanup and filling in missing information, bringing
1129 GIO to 99% symbol coverage.
1131 2007-12-08 Hans Breuer <hans@breuer.org>
1133 [gio compiles and links on win32, not sure how much already works]
1134 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1135 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1136 base on win32 API; prefer g_lstat() over lstat(); instead of
1137 localtime_r() use an all GLib implementation on win32;
1138 get_mount_info() still needs a win32 specifc implementation
1139 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1140 win32_get_file_user_info to get owner/group info without uid/gid
1141 * glocalfileinputstream.c : include <io.h> on win32
1142 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1143 definition, use g_win32_ftruncate() for G_OS_WIN32
1144 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1145 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1146 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1147 * makefile.msc : updated
1149 2007-12-07 Alexander Larsson <alexl@redhat.com>
1151 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1152 Avoid warning spew if error == NULL
1154 2007-12-07 Alexander Larsson <alexl@redhat.com>
1157 Update docs wrt etags
1159 2007-12-06 Alexander Larsson <alexl@redhat.com>
1162 Include sys/types.h for dev_t (#501919)
1164 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1168 Make abicheck and pltcheck pass.
1170 2007-12-05 Alexander Larsson <alexl@redhat.com>
1173 * giomodule-priv.h: Added.
1174 * glocaldirectorymonitor.c:
1175 * glocalfilemonitor.c:
1176 * gunionvolumemonitor.c:
1178 Actually add the declaration of _g_io_modules_ensure_loaded
1180 2007-12-05 Alexander Larsson <alexl@redhat.com>
1182 * gdatainputstream.c:
1187 * glocaldirectorymonitor.c:
1188 * glocalfilemonitor.c:
1189 * gunionvolumemonitor.c:
1191 Make g_io_modules_ensure_loaded a private function and
1192 don't pass in the dirname. This means we can do magic
1193 directory finding in the win32 version.
1194 Export the actual load-modules-in-directory code so that
1195 gvfs can reuse that.
1197 2007-12-05 Alexander Larsson <alexl@redhat.com>
1199 * gbufferedinputstream.c:
1200 * gbufferedoutputstream.c:
1203 * gfileenumerator.[ch]:
1204 * gfileinputstream.c:
1205 * gfileoutputstream.[ch]:
1206 * gfilterinputstream.c:
1207 * gfilteroutputstream.c:
1208 * ginputstream.[ch]:
1210 * glocalfileenumerator.c:
1211 * glocalfileinputstream.c:
1212 * glocalfileoutputstream.c:
1213 * gmemoryinputstream.c:
1214 * gmemoryoutputstream.c:
1215 * goutputstream.[ch]:
1218 * gunixinputstream.c:
1219 * gunixoutputstream.c:
1220 Rename all struct members named:
1221 read, write, close, truncate, or mount
1222 to foo_fn, as these are reserved names
1223 and could be defined as macros in libc.
1226 2007-12-04 Alexander Larsson <alexl@redhat.com>
1229 (g_output_stream_close):
1230 Only call flush if non-null.
1232 2007-11-30 Dan Winship <danw@gnome.org>
1234 * ginputstream.c (g_input_stream_set_pending): Make this take a
1235 GError and return a gboolean, and do the "outstanding operation"
1236 check (and the "stream is already closed" check) itself.
1237 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1239 * goutputstream.c (g_output_stream_set_pending)
1240 (g_output_stream_clear_pending): Likewise
1242 * gbufferedinputstream.c:
1243 * gfileinputstream.c:
1244 * gfileoutputstream.c: Update for that
1246 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1247 Like g_simple_async_report_error_in_idle, but takes a GError
1248 rather than building one.
1250 2007-11-30 Dan Winship <danw@gnome.org>
1252 * goutputstream.c: Don't cheat and unset the "pending" flag around
1253 inner calls. Instead, call the class method directly rather than
1254 the wrapper function that checks "pending"
1256 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1258 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1260 2007-12-03 Hans Breuer <hans@breuer.org>
1262 [start of port to win32/msvc]
1263 * gcancellable.c : HAVE_UNIST_H and _pipe()
1264 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1265 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1266 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1268 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1269 * glocalvfs.c : use HAVE_PWD_H
1270 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1271 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1272 * Makefile.am : added to EXTRA_DIST
1274 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1276 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1279 2007-12-03 Alexander Larsson <alexl@redhat.com>
1282 Handle OSX style xattrs API (#500506)
1284 2007-12-03 Alexander Larsson <alexl@redhat.com>
1288 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1290 2007-12-02 A. Walton <awalton@svn.gnome.org>
1294 Documentation accuracy fixes.
1296 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1298 * gioenumtypes.c.template: Fix typo.
1300 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1302 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1304 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1306 * gdirectorymonitor.c:
1307 * gfilemonitor.c: Add properties
1309 * gbufferedoutputstream.c: Don't mark buffer-size property
1312 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1314 * gbufferedoutputstream.c: Add auto-grow property.
1316 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1318 * *.c: Unify the capitalization of section headings.
1320 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1322 * gmountoperation.c: Add properties
1324 * gdatainputstream.c: Turn byte-order and newline-type into
1327 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1329 * gioenumtypes.[hc].template: Templates for enum registration
1331 * Makefile.am: Generate gioenumtypes.[hc]
1333 * gio.h: Include gioenumtypes.h
1335 * gfile.h: Add some explicit nicks.
1337 * gio.symbols: Add new symbols
1339 * pltcheck.sh: Adjust
1341 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1343 * *.c: Explain etags and link to the explanation
1345 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1347 * *.c: Explain I/O priority.
1349 * *.c: More coding style fixes.
1351 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1353 * gasyncresult.c: Add another paragraph to the intro,
1354 adjust coding style of example.
1356 2007-11-29 A. Walton <awalton@svn.gnome.org>
1359 Fixes unknown meaning in GAppLaunchContext docs.
1361 Clarify asynchronous ops.
1363 Fix entity tag docs.
1366 Provides missing gtk-doc section, fixes API docs slighly.
1367 * gsimpleasyncresult.c:
1368 Fill in missing info in docs.
1369 * gunixinputstream.c:
1370 * gunixoutputstream.c:
1371 Be more expressive in short description.
1373 Remove gtk-doc stubs for non-public API.
1375 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1377 * *.c: Coding style fixups
1379 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1381 * inotify/inotify-helper.c: Don't export the lock from libgio.
1383 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1386 * abicheck.sh: Fix copy-and-paste leftovers
1388 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1390 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1392 2007-11-28 Alexander Larsson <alexl@redhat.com>
1396 Removed unnecessary file
1398 * gdesktopappinfo.[ch]:
1401 * glocaldirectorymonitor.[ch]:
1403 * glocalfileenumerator.[ch]:
1404 * glocalfileinputstream.[ch]:
1405 * glocalfilemonitor.[ch]:
1406 * glocalfileoutputstream.[ch]:
1408 * gnativevolumemonitor.c:
1409 * gpollfilemonitor.[ch]:
1410 * gunionvolumemonitor.[ch]:
1413 * gunixvolumemonitor.[ch]:
1416 * inotify/ginotifydirectorymonitor.[ch]:
1417 * inotify/ginotifyfilemonitor.[ch]:
1418 * inotify/inotify-helper.c:
1419 Append _ to all internal functions
1423 Export symbols needed for modules
1425 2007-11-28 Alexander Larsson <alexl@redhat.com>
1428 * abicheck.sh: Added.
1429 * makegioalias.pl: Added.
1430 * pltcheck.sh: Added.
1431 * gio.symbols: Added.
1434 Initial work on adding symbol handling.
1437 Correct ifdef guard name
1440 * inotify/Makefile.am:
1441 * xdgmime/Makefile.am:
1442 Include toplevel Makefile.decl
1444 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1446 * gcontenttype.c: Move doc comments to the unix section.
1448 * *.[hc]: More trivial doc corrections.
1450 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1452 * gpollfilemonitor.c:
1456 * gdesktopappinfo.c:
1461 * gdatainputstream.c:
1462 * gdatainputstream.h:
1463 * gdataoutputstream.c:
1464 * gdataoutputstream.h:
1465 * gfileinfo.h: Doc cleanups
1467 2007-11-28 Andre Klapper <a9016009@gmx.de>
1469 * gdesktopappinfo.c: Fix a typo.
1471 2007-11-27 Andre Klapper <a9016009@gmx.de>
1473 * glocalfileoutputstream.c: Fix a typo.
1475 2007-11-27 Alexander Larsson <alexl@redhat.com>
1478 Don't include removed headers
1480 2007-11-27 Alexander Larsson <alexl@redhat.com>
1483 * gsocketinputstream.[ch]: Removed.
1484 * gsocketoutputstream.[ch]: Removed.
1485 * gunixinputstream.[ch]: Added.
1486 * gunixoutputstream.[ch]: Added.
1487 Renamed GSocket*Stream to GUnix*Stream and made
1488 it unix-only, since its not really only for sockets
1489 and it only works on unix (but is highly useful there).
1491 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1497 * gbufferedinputstream.c:
1498 * gbufferedinputstream.h:
1499 * gbufferedoutputstream.c:
1500 * gbufferedoutputstream.h:
1504 * gdatainputstream.c:
1505 * gdatainputstream.h:
1506 * gdataoutputstream.c:
1507 * gdataoutputstream.h:
1508 * gdirectorymonitor.c:
1509 * gdirectorymonitor.h:
1516 * gfileenumerator.c:
1517 * gfileenumerator.h:
1522 * gfileinputstream.c:
1523 * gfileinputstream.h:
1526 * gfilenamecompleter.c:
1527 * gfilenamecompleter.h:
1528 * gfileoutputstream.c:
1529 * gfileoutputstream.h:
1530 * gfilterinputstream.c:
1531 * gfilterinputstream.h:
1532 * gfilteroutputstream.c:
1533 * gfilteroutputstream.h:
1546 * glocalfileoutputstream.c:
1547 * gmemoryinputstream.c:
1548 * gmemoryinputstream.h:
1549 * gmemoryoutputstream.c:
1550 * gmemoryoutputstream.h:
1551 * gmountoperation.c:
1552 * gmountoperation.h:
1555 * gpollfilemonitor.c:
1558 * gsimpleasyncresult.c:
1559 * gsimpleasyncresult.h:
1560 * gsocketinputstream.c:
1561 * gsocketinputstream.h:
1562 * gsocketoutputstream.c:
1563 * gsocketoutputstream.h:
1570 * gunixvolumemonitor.c:
1579 Bumps documentation to 93% symbol coverage, touching most
1580 of the public files. Fixes broken function documentation prototypes.
1581 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1582 gtk-doc headers in private files.
1584 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1586 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1587 (g_buffered_input_stream_read_byte):
1588 * gbufferedinputstream.h:
1589 New functions for efficient access to buffer and simple single byte
1592 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1593 (g_data_input_stream_read_until):
1594 * gdatainputstream.h:
1595 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1596 read_until with multiple stop chars.
1598 2007-11-27 Alexander Larsson <alexl@redhat.com>
1602 * inotify/Makefile.am:
1603 Use the user-specified giomoduledir
1605 2007-11-27 Alexander Larsson <alexl@redhat.com>
1609 Add catch-all gio.h header
1610 Don't install gdummyfile.h
1612 2007-11-26 Alexander Larsson <alexl@redhat.com>
1614 * Makefile.am (gioinclude_HEADERS):
1615 Remove trailing whitespace
1617 2007-11-26 Alexander Larsson <alexl@redhat.com>
1619 Merge gio-standalone into glib
1621 2007-11-25 Christian Kellner <gicmo@gnome.org>
1623 * gio/goutputstream.c:
1624 Fix small mistake in the docs.
1626 2007-11-21 Christian Persch <chpe@gnome.org>
1628 * gio/glocalfile.c: (g_local_file_trash):
1629 Convert filenames to UTF-8 for GError.
1630 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1631 as per xdg base dir spec.
1633 2007-11-21 Christian Persch <chpe@gnome.org>
1635 * gio/gdesktopappinfo.c:
1636 Use that g_key_file_to_data cannot fail.
1638 Use stock defines for the key file group and key names.
1641 2007-11-21 Alexander Larsson <alexl@redhat.com>
1644 (copy_stream_with_progress):
1645 Make sure we do a final progress callback with
1646 the full total size.
1648 2007-11-21 Alexander Larsson <alexl@redhat.com>
1651 Export g_file_copy_attributes
1652 Remove padding as its not needed for interfaces
1654 2007-11-20 Alexander Larsson <alexl@redhat.com>
1659 Add G_IO_ERROR_WOULD_MERGE for
1660 copy/move dir on dir with overwrite.
1662 2007-11-20 Alexander Larsson <alexl@redhat.com>
1665 * gio/glocalfileinfo.c:
1666 Add COPY_NAME (this is an optional
1667 non-modified utf8 version of the name) that
1670 2007-11-20 Alexander Larsson <alexl@redhat.com>
1672 * gio/glocalfileenumerator.c:
1673 Report errors as GIOError, not GFileError
1675 2007-11-16 Alexander Larsson <alexl@redhat.com>
1677 * gio/glocalfileoutputstream.c:
1678 * gio/gwin32appinfo.c:
1679 Fix typos in strings.
1680 Patch from Luca Ferretti <elle.uca@libero.it>
1682 2007-11-15 Alexander Larsson <alexl@redhat.com>
1685 Post release version bump
1687 === gio-standalone 0.1.2 ===
1689 2007-11-15 Alexander Larsson <alexl@redhat.com>
1691 * docs/reference/gio/Makefile.am:
1692 Fix up distcheck by removing weird
1698 2007-11-14 Alexander Larsson <alexl@redhat.com>
1700 * gio/gdesktopappinfo.c:
1701 * gio/glocaldirectorymonitor.c:
1703 * gio/glocalfileinfo.c:
1704 * gio/inotify/inotify-sub.c:
1705 * programs/gio-cat.c:
1706 * programs/gio-copy.c:
1707 * programs/gio-info.c:
1708 * programs/gio-ls.c:
1709 * programs/gio-monitor-dir.c:
1710 * programs/gio-monitor-file.c:
1711 * programs/gio-mount.c:
1712 * programs/gio-move.c:
1713 * programs/gio-rm.c:
1714 * programs/gio-save.c:
1715 * programs/gio-trash.c:
1716 Leak fixes from Kjartan Maraas
1718 2007-11-14 Alexander Larsson <alexl@redhat.com>
1720 * gio/fam/fam-helper.c:
1722 * gio/glocalfileinfo.c:
1726 * gio/inotify/inotify-diag.c:
1727 * gio/inotify/inotify-kernel.c:
1728 Various code cleanups from Kjartan Maraas
1730 2007-11-14 Alexander Larsson <alexl@redhat.com>
1732 * gio/gioscheduler.c:
1734 Set up threadpool so that we cache 2 unused
1735 idle threads for at 15 secs. This means we
1736 will reuse thread-local data (like dbus connections)
1739 2007-11-14 Alexander Larsson <alexl@redhat.com>
1741 * gio/fam/fam-helper.c:
1742 * gio/fam/gfamdirectorymonitor.c:
1743 * gio/fam/gfamfilemonitor.c:
1745 * gio/gcontenttype.c:
1746 * gio/gdatainputstream.c:
1747 * gio/gdataoutputstream.c:
1751 * gio/gfileattribute.h:
1752 * gio/gfileenumerator.c:
1754 * gio/ginputstream.c:
1757 * gio/glocalfileinfo.c:
1758 * gio/goutputstream.c:
1759 * gio/gpollfilemonitor.c:
1760 * gio/gsimpleasyncresult.c:
1761 * gio/gunixmounts.c:
1762 * gio/gunixmounts.h:
1763 * gio/inotify/ginotifydirectorymonitor.c:
1764 * gio/inotify/ginotifyfilemonitor.c:
1765 * gio/inotify/inotify-diag.c:
1766 * gio/inotify/inotify-kernel.c:
1767 * gio/inotify/inotify-path.c:
1769 * gio/test-streams.c:
1770 * programs/gio-info.c:
1771 * programs/gio-monitor-dir.c:
1772 * programs/gio-monitor-file.c:
1773 Various code cleanups from Kjartan Maraas
1775 2007-11-13 Alexander Larsson <alexl@redhat.com>
1778 Handle the uri-scheme calls for dummy files
1780 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1782 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1783 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1784 to avoid clash with the C++ keyword.
1786 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1788 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1789 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1791 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1793 * gio/glocaldirectorymonitor.c:
1794 * gio/glocalfilemonitor.c:
1795 * gio/gunionvolumemonitor.c:
1796 Don't use g_once_init_*() for initializations that could fail and
1797 could leave the initialization variable set to 0 but use GOnce.
1798 This prevents a deadlock on the second call when trying to create
1799 a monitor and no monitor type is available. Thanks to Sven Herzberg
1802 2007-11-11 Sven Herzberg <sven@imendio.com>
1804 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1805 #ifdef (make it work on MacOS X again)
1807 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1809 Fixes Changelog for last two commits (sorry guys).
1811 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1813 * gio/gbufferedinputstream.c:
1814 * gio/gdatainputstream.c:
1816 * gio/gfileoutputstream.c:
1817 * gio/gfilterinputstream.c:
1818 * gio/glocalfileinputstream.c:
1821 More consistency fixes in g*stream.c files.
1822 Significant clean of gfile's documentation, filling in of
1823 asynchronous operations documentation.
1825 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1827 * gio/gasyncresult.c:
1828 * gio/gbufferedinputstream.c:
1829 * gio/gbufferedoutputstream.c:
1830 * gio/gcancellable.c:
1831 * gio/gcontenttype.c:
1832 * gio/gdatainputstream.c:
1833 * gio/gdataoutputstream.c:
1834 * gio/gdesktopappinfo.c:
1837 * gio/gfileattribute.c:
1838 * gio/gio/gfileenumerator.c:
1840 * gio/gfileinputstream.c:
1841 * gio/gfilemonitor.c:
1842 * gio/gfileoutputstream.c:
1843 * gio/ginputstream.c:
1845 * gio/gioscheduler.c:
1846 * gio/gloadableicon.c:
1847 * gio/glocalfileoutputstream.c:
1848 * gio/gmemoryoutputstream.c:
1849 * gio/gmountoperation.c:
1850 * gio/goutputstream.c:
1852 * gio/gsimpleasyncresult.c:
1853 * gio/gunionvolumemonitor.c:
1854 * gio/gunixmounts.c:
1855 * gio/gunixvolume.c:
1859 * gio/gvolumemonitor.c:
1860 Updated documentation stubs, working towards consistency and
1863 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1865 * gio/gmemoryoutputstream.c:
1866 * gio/gmemoryoutputstream.h:
1867 Change g_memory_output_stream_set_free_on_close() to
1868 g_memory_output_stream_set_free_data() as this makes more sense and
1869 is more consistent with GMemoryInputStream.
1871 2007-11-07 Alexander Larsson <alexl@redhat.com>
1878 Change how we find the default vfs so that
1879 we can handle a gvfs failing to init
1881 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1883 * gio/gbufferedoutputstream.c:
1884 * gio/gdatainputstream.c:
1885 * gio/gdataoutputstream.c:
1886 * gio/gfileinputstream.c:
1887 * gio/gfileoutputstream.c:
1888 * gio/gfilterinputstream.c:
1889 * gio/gfilteroutputstream.c:
1890 * gio/ginputstream.c:
1891 * gio/gmemoryinputstream.c:
1892 * gio/gmemoryoutputstream.c:
1893 * gio/goutputstream.c:
1894 * gio/gsimpleasyncresult.c:
1895 * gio/gsocketinputstream.c:
1896 * gio/gsocketoutputstream.c:
1897 Add guards to the remaining public functions, add a TODO for
1898 an unimplemented function and remove some useless guards.
1900 2007-11-07 Alexander Larsson <alexl@redhat.com>
1903 Autoconf checks for the various types of
1904 getpwuid_r and getgrgid_r
1906 * gio/glocalfileinfo.c:
1907 Use the autoconf checks from above
1909 2007-11-07 Alexander Larsson <alexl@redhat.com>
1912 (g_local_file_query_filesystem_info):
1913 Some fixes for the statvfs case
1915 2007-11-07 Alexander Larsson <alexl@redhat.com>
1918 (g_local_file_query_filesystem_info):
1919 Pick the "best" of statfs / statvfs for the system
1920 if both are availible.
1922 2007-11-07 Alexander Larsson <alexl@redhat.com>
1924 Solaris fixes from Halton.Huo@Sun.COM:
1931 * gio/glocalfileinfo.c:
1932 Fix for solaris definition of getpwuid_r
1934 * gio/test-streams.c:
1935 Use G_GNUC_PRETTY_FUNCTION
1937 2007-11-07 Alexander Larsson <alexl@redhat.com>
1939 * gio/gdesktopappinfo.c:
1940 (update_default_list):
1941 Remove double semicolon.
1942 Patch from Jens Granseuer
1944 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1946 * docs/reference/gio/gio-sections.txt:
1947 * gio/gbufferedinputstream.c:
1948 * gio/gbufferedinputstream.h:
1949 * gio/gdatainputstream.c:
1950 * gio/gfileenumerator.c:
1951 * gio/gioscheduler.c:
1952 * gio/gunionvolumemonitor.c:
1954 * programs/gio-save.c:
1955 Fix typo: availible -> available. Unfortuntely this breaks API
1956 and ABI as g_buffered_input_stream_get_available() was renamed.
1958 * gio/gunixmounts.c:
1959 * gio/gbufferedinputstream.c:
1960 Add guards for public functions.
1962 2007-11-06 Ross Burton <ross@openedhand.com>
1964 * docs/reference/gio/Makefile.am:
1965 Fix invalid += usage which automake 1.10 doesn't like.
1967 2007-11-06 Alexander Larsson <alexl@redhat.com>
1970 (g_app_launch_context_class_init):
1973 Patch from Ross Burton
1975 2007-11-06 Alexander Larsson <alexl@redhat.com>
1978 Post release version bump
1980 === gio-standalone 0.1.1 ===
1982 2007-11-06 Alexander Larsson <alexl@redhat.com>
1985 Bump version to 0.1.1
1987 * gio/gsimpleasyncresult.c:
1988 (g_simple_async_result_set_from_error):
1989 Remove bogus g_return_if_fail
1991 2007-11-06 Alexander Larsson <alexl@redhat.com>
1994 The name is gio-standalone
1997 Add top src/builddir to includedir
1999 2007-11-06 Alexander Larsson <alexl@redhat.com>
2001 * docs/reference/gio/gio-sections.txt:
2003 * gio/gbufferedinputstream.c:
2004 * gio/gbufferedoutputstream.c:
2005 * gio/gcancellable.c:
2006 * gio/gdatainputstream.h:
2007 * gio/gdataoutputstream.c:
2008 * gio/gdataoutputstream.h:
2009 * gio/gdirectorymonitor.c:
2011 * gio/gfileattribute.c:
2012 * gio/gfileattribute.h:
2013 * gio/gfileenumerator.c:
2014 * gio/gfileenumerator.h:
2017 * gio/gfileinputstream.h:
2018 * gio/gfilemonitor.c:
2019 * gio/gfileoutputstream.h:
2020 * gio/glocalfilemonitor.h:
2021 * gio/glocalfileoutputstream.h:
2022 * gio/gmemoryinputstream.c:
2023 * gio/gmemoryoutputstream.c:
2024 * gio/gmountoperation.c:
2025 * gio/goutputstream.c:
2026 * gio/goutputstream.h:
2028 * gio/gsimpleasyncresult.c:
2029 * gio/gunixmounts.c:
2030 * gio/gunixmounts.h:
2032 * gio/inotify/inotify-helper.c:
2033 Fix gtk-doc warnings
2035 Patch from Ross Burton
2037 2007-11-06 Alexander Larsson <alexl@redhat.com>
2039 * gio/gfilenamecompleter.c:
2040 (g_filename_completer_get_completions):
2043 * gio/gunixvolume.c:
2044 Remove unused function
2046 Patches from Ross Burton
2048 2007-11-06 Alexander Larsson <alexl@redhat.com>
2053 Padding not needed for interfaces
2055 2007-11-06 Alexander Larsson <alexl@redhat.com>
2057 * gio/gfilemonitor.c:
2061 Make giotypes.h an internal file
2064 * gio/gbufferedinputstream.h:
2065 * gio/gbufferedoutputstream.h:
2066 * gio/gcancellable.h:
2067 * gio/gdatainputstream.h:
2068 * gio/gdataoutputstream.h:
2069 * gio/gdirectorymonitor.c:
2070 * gio/gdirectorymonitor.h:
2075 * gio/gfileattribute.h:
2076 * gio/gfileenumerator.h:
2081 * gio/gfilemonitor.c:
2082 * gio/gfilemonitor.h:
2083 * gio/gfilenamecompleter.c:
2084 * gio/gfilenamecompleter.h:
2085 * gio/gfilterinputstream.h:
2086 * gio/gfilteroutputstream.h:
2087 * gio/ginputstream.h:
2088 * gio/gmemoryinputstream.h:
2089 * gio/gmemoryoutputstream.h:
2090 * gio/gmountoperation.c:
2091 * gio/gmountoperation.h:
2092 * gio/gnativevolumemonitor.c:
2093 * gio/goutputstream.h:
2096 * gio/gsimpleasyncresult.c:
2097 * gio/gsimpleasyncresult.h:
2098 * gio/gsocketinputstream.h:
2099 * gio/gsocketoutputstream.h:
2100 * gio/gthemedicon.c:
2101 * gio/gthemedicon.h:
2105 * gio/gvolumemonitor.c:
2106 * gio/gvolumemonitor.h:
2107 Add padding in classes where it seems useful
2108 Don't include giotypes.h from public headers
2109 Move in Class definitions into c file where possible
2114 2007-11-06 Alexander Larsson <alexl@redhat.com>
2116 * docs/reference/gio/gio-docs.xml:
2117 Better structure for API docs
2119 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2122 * gio/gloadableicon.c:
2123 * gio/gsimpleasyncresult.c:
2124 * gio/gthemedicon.c:
2125 Add some more guards to public functions. Only files missing are now
2128 2007-11-06 Alexander Larsson <alexl@redhat.com>
2130 * docs/reference/gio/gio-docs.xml:
2131 Remove old files, add missing ones
2133 2007-11-06 Alexander Larsson <alexl@redhat.com>
2135 * docs/reference/gio/gio-sections.txt:
2138 Hide implementation classes
2140 * gio/gdriveprivate.h:
2141 * gio/gvolumeprivate.h:
2142 Remove non-existing function declarations
2144 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2147 Fix compilation warnings and add guards to the new functions.
2149 * gio/gasyncresult.c:
2151 Add guards to the public functions.
2154 Implement get_path().
2156 2007-11-06 Alexander Larsson <alexl@redhat.com>
2158 * gio/gfilenamecompleter.c:
2159 Make g_filename_completer_get_completions
2160 return char ** instead of GList for
2163 * docs/reference/gio/gio-docs.xml:
2164 * docs/reference/gio/gio-sections.txt:
2166 * gio/gasyncresult.c:
2167 * gio/gbufferedinputstream.c:
2168 * gio/gbufferedoutputstream.c:
2169 * gio/gcancellable.c:
2170 * gio/gcontenttype.c:
2171 * gio/gdatainputstream.c:
2172 * gio/gdataoutputstream.c:
2173 * gio/gdesktopappinfo.c:
2174 * gio/gdirectorymonitor.c:
2178 * gio/gfileattribute.c:
2179 * gio/gfileenumerator.c:
2182 * gio/gfileinputstream.c:
2183 * gio/gfilemonitor.c:
2184 * gio/gfilenamecompleter.c:
2185 * gio/gfilenamecompleter.h:
2186 * gio/gfileoutputstream.c:
2187 * gio/gfilterinputstream.c:
2189 * gio/ginputstream.c:
2191 * gio/gioscheduler.c:
2192 * gio/gloadableicon.c:
2193 * gio/glocaldirectorymonitor.c:
2195 * gio/glocalfileinputstream.c:
2196 * gio/glocalfilemonitor.c:
2197 * gio/glocalfileoutputstream.c:
2199 * gio/gmemoryinputstream.c:
2200 * gio/gmemoryoutputstream.c:
2201 * gio/gmountoperation.c:
2202 * gio/goutputstream.c:
2203 * gio/gpollfilemonitor.c:
2205 * gio/gsimpleasyncresult.c:
2206 * gio/gsocketinputstream.c:
2207 * gio/gsocketoutputstream.c:
2208 * gio/gthemedicon.c:
2209 * gio/gunionvolumemonitor.c:
2211 * gio/gunixmounts.c:
2212 * gio/gunixvolume.c:
2213 * gio/gunixvolumemonitor.c:
2217 * gio/gvolumemonitor.c:
2218 * gio/gwin32appinfo.c:
2219 Add (mostly stub) doc strings to public functions.
2220 Patch from Andrew Walton (awalton@gmail.com)
2222 2007-11-06 Alexander Larsson <alexl@redhat.com>
2224 * gio/gappinfo.[ch]:
2225 Added GAppLaunchContext object and pass that to launch.
2226 This allows simple implementation of both
2227 launch-on-screen and startup notification via a gtk+
2228 subclass of GAppLaunchContext
2230 * gio/gdesktopappinfo.c:
2231 Implement GAppLaunchContext API
2233 * gio/gwin32appinfo.c:
2236 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2238 * gio/gmountoperation.c:
2239 Add some guards to GMountOperation's public functions.
2241 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2245 * gio/gcancellable.c:
2246 * gio/gdirectorymonitor.c:
2248 * gio/gfileenumerator.c:
2249 * gio/gfilemonitor.c:,
2250 * gio/gfilenamecompleter.c:
2253 * gio/gioscheduler.c:
2257 * gio/gvolumemonitor.c:
2258 Add even more guards to various public functions.
2260 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2263 Add guards to the public functions of GAppInfo.
2265 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2267 * gio/gcontenttype.c:
2268 Add some more guards for public functions.
2270 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2272 * gio/fam/fam-module.c:
2273 * gio/fam/gfamdirectorymonitor.c:
2274 * gio/fam/gfamdirectorymonitor.h:
2275 * gio/fam/gfamfilemonitor.c:
2276 * gio/fam/gfamfilemonitor.h:
2277 * gio/inotify/ginotifydirectorymonitor.c:
2278 * gio/inotify/ginotifydirectorymonitor.h:
2279 * gio/inotify/ginotifyfilemonitor.c:
2280 * gio/inotify/ginotifyfilemonitor.h:
2281 Add proper copyright information and remove an unused variable
2282 in the GInotifyFileMonitor constructor.
2284 * gio/gcancellable.c:
2285 Add a guard for a public function and an assertion to prevent
2286 an undefined program state.
2288 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2290 * gio/gfileattribute.c:
2291 Don't run into an assertion if the given attribute value is NULL
2292 in g_file_attribute_value_get_*() but instead return a fallback
2293 value that makes sense in most situations. Passing them a attribute
2294 value with the wrong type will still run into an assertion.
2296 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2298 * gio/gfileattribute.c:
2300 Add even more guards to the public functions. Also fix the refcounting
2301 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2302 let g_file_info_list_attributes() filter the attributes by namespace
2303 instead of simply ignoring the namespace parameter.
2305 2007-11-03 Sven Herzberg <sven@imendio.com>
2307 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2308 (This makes gio work on MacOS X again)
2310 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2313 Build the gio subdirectory before the docs. Otherwise the build will
2316 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2317 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2318 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2319 Add guards to the public functions.
2321 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2323 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2324 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2325 to prevent a compiler warning.
2327 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2328 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2329 return something in the non-void function find_topdir_for().
2331 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2338 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2340 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2341 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2342 * gwin32appinfo.c (g_win32_app_info_launch):
2343 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2344 envp_for_startup_id, g_desktop_app_info_launch,
2345 g_desktop_app_info_launch_uris):
2347 Give an opaque 'startup_id' string instead of 'envp'.
2348 Support empty file lists for launching new windows.
2349 Fix infinite recursion bug when launching URIs.
2351 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2354 Add guard to the new g_file_get_uri_scheme() function.
2356 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2359 Convert a g_return_val_if_fail() to setting the GError instead as
2360 otherwise applications have to verify the parameter before otherwise
2361 and the parameter might come directly from the user.
2363 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2365 * gio/inotify/ginotify*.[ch]:
2366 Add missing copyright information.
2368 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2371 Add guards in the beginning of public functions to check for valid
2372 parameters and fix a bug in copy_stream_with_progress() that could've
2373 caused writing less bytes than reading.
2374 * gio/glocalfileinfo.c:
2375 Check for a NULL parameter and set the GError accordingly then.
2376 * gio/goutputstream.c:
2377 Fix the same bug as in gfile.c that could've caused writing less bytes
2378 than reading in g_output_stream_real_splice().
2380 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2383 Use the correct gvolumeprivate.h naming
2385 2007-11-01 Christian Kellner <gicmo@gnome.org>
2388 Remove leftover "$(daemon_sources)" entry.
2390 2007-11-01 Christian Kellner <gicmo@gnome.org>
2395 Add copyright information to source files.
2397 2007-11-01 Alexander Larsson <alexl@redhat.com>
2401 Add g_file_get_uri_scheme
2403 2007-11-01 Alexander Larsson <alexl@redhat.com>
2406 * gio/gdesktopappinfo.c:
2407 * gio/gwin32appinfo.c:
2408 Add g_app_info_get_default_for_uri_scheme.
2410 2007-11-01 Alexander Larsson <alexl@redhat.com>
2413 Correct filename for gdriveprivate.h
2415 2007-10-31 Alexander Larsson <alexl@redhat.com>
2418 Rename id:value to id:file
2421 * gio/glocalfileinfo.c:
2424 2007-10-31 Alexander Larsson <alexl@redhat.com>
2426 * gio/gunixvolume.c:
2428 Remove g_volume_get_platform_id, as thats not
2429 needed with the simpler union volume monitor
2431 2007-10-31 Alexander Larsson <alexl@redhat.com>
2434 * gio/guniondrive.[ch]: Removed.
2435 * gio/gunionvolume.[ch]: Removed.
2436 Remove GUnionDrive/Volume
2438 * gio/gunionvolumemonitor.c:
2439 Simplify union volume monitor, now we
2440 only have one native volume monitor and
2441 we use the actual volumes/drives from the
2442 child monitors instead of wrapping them
2444 * gio/gnativevolumemonitor.[ch]:
2445 Base class for native volume monitors.
2446 Includes priority and get_volume_for_mountpoint
2449 Add g_file_find_enclosing_volume
2452 Remove volume name fs attribute
2453 Add readonly fs attribute
2456 Implement readonly attribute
2457 remove volume name attribute
2458 Implement find_enclosing volume
2460 * gio/gunixmounts.c:
2461 Add a volume for "/".
2463 * gio/gunixvolume.[ch]:
2464 Set better name for /
2466 * gio/gunixvolumemonitor.[ch]:
2467 Derive from GNativeVolumeMonitor
2468 Implement get_volume_for_mountpoint
2471 GVolume typedef moved to gfile.h
2473 * gio/gvolumeprivate.h:
2474 Add g_volume_get_for_mount_path
2476 2007-10-31 Alexander Larsson <alexl@redhat.com>
2478 * gio/gunixmounts.[ch]:
2479 Add cache info to unix mount listers
2480 Make getmntent use threadsafe
2481 Add is_system_internal attribute for GUnixMount
2483 * gio/gunixvolume.c:
2484 (g_unix_volume_new):
2485 Use is_system_internal instead of own code
2487 * gio/glocaldirectorymonitor.c:
2488 * gio/gunixvolumemonitor.c:
2489 Update to new gunixmounts API
2494 2007-10-30 Alexander Larsson <alexl@redhat.com>
2497 Add volume name fsinfo attribute
2500 Read volume name info
2502 * gio/gunionvolumemonitor.c:
2503 Fix infinite loops when finalizing a union volume monitor
2505 2007-10-30 Alexander Larsson <alexl@redhat.com>
2507 * gio/goutputstream.[ch]:
2508 Add splice() with default implementation
2510 * gio/gsocketoutputstream.c:
2511 (g_socket_output_stream_write):
2512 Return error on cancellation correctly.
2514 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2516 * gio/glocalfile.c (g_local_file_trash):
2517 Do not leak a string.
2519 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2521 * gio/gfile.c (g_file_load_contents):
2522 Unref the stream after closing it.
2524 2007-10-25 Alexander Larsson <alexl@redhat.com>
2526 * gio/gioscheduler.h:
2529 2007-10-25 Alexander Larsson <alexl@redhat.com>
2533 Add g_file_has_uri_scheme and implement for local files
2535 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2537 * gio/gdesktopappinfo.c: do not leak a string.
2539 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2541 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2542 (g_local_directory_monitor_new):
2543 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2544 (g_local_file_monitor_new):
2545 Only look for the monitor type that should be used the first time
2546 and use g_qsort_with_data() instead of our own bubble sort
2549 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2552 * gio/fam/Makefile.am:
2553 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2554 * gio/fam/fam-helper.h:
2555 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2556 * gio/fam/gfamdirectorymonitor.c:
2557 * gio/fam/gfamdirectorymonitor.h:
2558 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2559 * gio/fam/gfamfilemonitor.h:
2560 * gio/glocaldirectorymonitor.c:
2561 * gio/glocaldirectorymonitor.h:
2562 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2563 * gio/glocalfilemonitor.h:
2564 * gio/inotify/Makefile.am:
2565 * gio/inotify/ginotifydirectorymonitor.c:
2566 * gio/inotify/ginotifydirectorymonitor.h:
2567 * gio/inotify/ginotifyfilemonitor.c:
2568 * gio/inotify/ginotifyfilemonitor.h:
2569 Implement the FAM and Inotify monitors as
2570 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2571 their own GIO module. GLocal(Directory|File)Monitor will use the
2572 monitor with the highest rank that is supported on that machine.
2574 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2577 Change GIO module dir to $(libdir)/gio/modules and change
2578 the log domain from GVFS to GIO. Also only export symbols starting
2579 with g_ in the resulting library.
2580 * gio/test-streams.c: (main):
2581 Set log handler for the GIO log domain.
2583 2007-10-22 Alexander Larsson <alexl@redhat.com>
2585 * gio/gfilenamecompleter.[ch]:
2586 Add g_filename_completer_set_dirs_only
2588 2007-10-22 Alexander Larsson <alexl@redhat.com>
2591 * gio/gurifuncs.[ch]:
2592 Add some simple URI helpers
2594 * gio/gfilenamecompleter.[ch]:
2595 Added object for filename (parse name actually) completion
2598 Handle ~ in parse names
2600 2007-10-17 Alexander Larsson <alexl@redhat.com>
2603 * gio/glocalfileinfo.c:
2604 Add and implement id:value attribute
2606 2007-10-17 Alexander Larsson <alexl@redhat.com>
2609 * gio/guniondrive.c:
2611 Add and implement g_drive_has_volumes
2613 2007-10-17 Alexander Larsson <alexl@redhat.com>
2616 * gio/glocalfileinfo.[ch]:
2617 Add unix:is_mountpoint and implement for local files
2619 2007-10-16 Alexander Larsson <alexl@redhat.com>
2621 * gio/gunionvolumemonitor.c:
2622 (g_union_volume_monitor_init):
2623 Fix up the unix type getting so that it works with gcc
2625 2007-10-12 Alexander Larsson <alexl@redhat.com>
2628 * gio/glocalfileinfo.c:
2629 Add thumbnail:failed to file info
2631 2007-10-12 Richard Hult <richard@imendio.com>
2633 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2634 optimizing away the get_type call (happens with some gcc versions,
2635 like the one shipped with OS X 10.4).
2637 2007-10-12 Alexander Larsson <alexl@redhat.com>
2639 * gio/glocalfileinfo.c:
2640 (_g_local_file_info_set_attribute):
2641 Fix build if not HAVE_XATTR
2642 Patch from Milosz Derezynski <internalerror@gmail.com>
2644 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2646 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2647 around for review, otherwise I would have asked you before
2650 2007-10-11 Alexander Larsson <alexl@redhat.com>
2653 Add thumbnail:path attribute
2655 * gio/glocalfileinfo.c:
2656 Implement thumbnail:path for local files
2658 2007-10-11 Alexander Larsson <alexl@redhat.com>
2660 * gio/glocalfileinfo.c:
2661 (_g_local_file_info_get):
2662 Avoid duplicate icon names
2664 2007-10-11 Alexander Larsson <alexl@redhat.com>
2666 * gio/gthemedicon.[ch]:
2667 Change g_themed_icon_get_names return type to const
2669 2007-10-10 Alexander Larsson <alexl@redhat.com>
2671 * gio/glocalfileinfo.c:
2672 Don't reference freed memory
2674 2007-10-10 Alexander Larsson <alexl@redhat.com>
2676 * gio/gfileattribute.c:
2679 * gio/glocalfileinfo.c:
2682 2007-10-10 Alexander Larsson <alexl@redhat.com>
2685 Check for NULL icons
2687 * gio/gfileattribute.c:
2688 Don't dup when getting objects (same as for string attributes)
2690 * gio/gicon.c (g_icon_equal):
2691 Safely handle NULLs in equal
2693 2007-10-10 Alexander Larsson <alexl@redhat.com>
2696 Fix c++ compilation issues
2697 Patch from Milosz Derezynski <internalerror@gmail.com>
2699 2007-10-10 Alexander Larsson <alexl@redhat.com>
2701 * programs/gio-monitor-dir.c:
2702 Don't crash if dir monitor not supported.
2704 2007-10-09 Alexander Larsson <alexl@redhat.com>
2707 Add missing G_END_DECLS
2709 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2711 * gio/gfile.c: (g_file_set_display_name),
2712 (g_file_query_settable_attributes),
2713 (g_file_query_writable_namespaces):
2714 Return NULL not FALSE on errors as the return type is a pointer.
2716 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2718 * gio/glocalfile.c: (g_local_file_monitor_file):
2719 Don't call monitor_file on the default interface vtable (which
2720 is NULL) but simply return NULL. The caller, GFile, will create a
2721 polling monitor if NULL is returned.
2723 2007-10-09 Alexander Larsson <alexl@redhat.com>
2727 * gio-unix-2.0.pc.in:
2728 Add gio-unix-2.0.pc if OS_UNIX
2731 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2733 2007-10-09 Alexander Larsson <alexl@redhat.com>
2735 * gio/gunixmounts.[ch]:
2736 Make unix mount monitoring API sane.
2737 Now its just a object with mounts_changed
2738 and mountpoints_changed signals.
2740 * gio/glocaldirectorymonitor.c:
2741 * gio/gunixvolumemonitor.c:
2742 Use new mount monitor api
2744 2007-10-09 Alexander Larsson <alexl@redhat.com>
2746 * gio/gunixmounts.[ch]:
2747 Move guess type into one call for mounts and one for mountpoints
2750 * gio/gunixvolume.c:
2753 2007-10-09 Alexander Larsson <alexl@redhat.com>
2755 * gio/gunixmounts.[ch]:
2756 Remove _ prefix in preparation to make this semi-public
2757 Hide implementation of structs
2759 * gio/glocaldirectorymonitor.c:
2761 * gio/gunixvolume.c:
2762 * gio/gunixvolumemonitor.c:
2763 Update for above API changes
2765 2007-10-08 Alexander Larsson <alexl@redhat.com>
2768 Better polling fallback. This also handles the case where we have
2769 a monitor_file implementation, but it fails.
2771 2007-10-08 Alexander Larsson <alexl@redhat.com>
2775 * gio/gunixmounts.c:
2776 * programs/gio-monitor-dir.c:
2777 * programs/gio-monitor-file.c:
2778 Added cancellable to file monitoring calls.
2779 These are really sync calls and need this.
2781 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2783 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2784 (g_local_vfs_class_init):
2785 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2786 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2788 2007-10-05 Alexander Larsson <alexl@redhat.com>
2790 * gio/gdirectorymonitorprivate.h:
2791 * gio/gfilemonitorprivate.h:
2792 * gio/gdirectorymonitor.h:
2793 * gio/gfilemonitor.h:
2794 Remove *private.h and move to the public API, so that
2795 we can do implementations outside gio (such as in gvfs)
2797 * gio/gdirectorymonitor.c:
2798 * gio/gfilemonitor.c:
2799 * gio/glocaldirectorymonitor.c:
2800 * gio/gpollfilemonitor.c:
2801 * gio/inotify/inotify-helper.c:
2802 * gio/fam/fam-helper.c:
2803 Update to the new header names
2805 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2807 * gio/gdirectorymonitor.c:
2808 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2811 2007-10-04 Alexander Larsson <alexl@redhat.com>
2813 * gio/glocalfileinfo.c (get_access_rights):
2814 Set CAN_TRASH when we can move the file.
2815 We should really also check for a parent trash dir.
2817 2007-10-04 Alexander Larsson <alexl@redhat.com>
2819 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2820 Add can_trash access attribute
2822 2007-10-04 Alexander Larsson <alexl@redhat.com>
2825 (g_local_file_trash):
2826 Create info file first. This is per-spec and allows
2827 us to actually trash directories.
2829 2007-10-02 Alexander Larsson <alexl@redhat.com>
2831 * gio/gdesktopappinfo.c:
2832 Implement the new mime support code.
2833 Always set app as handling mimetype when being set as default for it
2835 2007-10-01 Alexander Larsson <alexl@redhat.com>
2837 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2838 Fix up check for xattrs:
2840 2007-10-01 Alexander Larsson <alexl@redhat.com>
2843 (g_app_info_set_as_default_for_extension):
2844 (g_app_info_add_supports_type):
2845 (g_app_info_can_remove_supports_type):
2846 (g_app_info_remove_supports_type):
2847 Make these fail nicely if not implemented
2849 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2851 * gio/glocalfileoutputstream.c:
2852 * gio/glocalfileoutputstream.h:
2857 * programs/gio-save.c:
2858 Add a GFileCreateFlags argument to operations that can create
2861 2007-10-01 Alexander Larsson <alexl@redhat.com>
2863 * gio/gappinfo.[ch]:
2864 * gio/gdesktopappinfo.c:
2865 Add more (stubbed out) mime API needed for nautilus
2867 2007-10-01 Alexander Larsson <alexl@redhat.com>
2870 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2871 Add g_app_info_set_as_default_for_extension.
2873 * gio/gdesktopappinfo.c:
2874 Dummy for g_app_info_set_as_default_for_extension
2875 Support flags in g_app_info_create_from_commandline
2877 * gio/gwin32appinfo.c:
2879 Update for API changes
2881 * gio/gthemedicon.c:
2882 Properly NULL-terminate list of icon names
2884 2007-09-28 Alexander Larsson <alexl@redhat.com>
2886 * gio/gloadableicon.h:
2887 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2889 2007-09-28 Alexander Larsson <alexl@redhat.com>
2892 Install headers in $includedir/gio-standalone/
2894 * gio-2.0.pc.in: Added.
2895 * gio-standalone.pc.in: Removed.
2898 Renamed pkg-config file to match glib (for future move)
2899 Update to the new include dir
2902 Add more TODO comments
2904 2007-09-28 Alexander Larsson <alexl@redhat.com>
2906 * gio/gdesktopappinfo.[ch]:
2907 Expose new_from_filename
2908 Add getter for is_hidden and handle it better
2910 2007-09-28 Alexander Larsson <alexl@redhat.com>
2912 * gio/gfileinfo.[ch]:
2913 Rename g_file_size_format_for_display to
2914 g_format_file_size_for_display.
2915 Now it doesn't have the g_file prefix, so we
2916 can later move it to glib.
2918 2007-09-28 Alexander Larsson <alexl@redhat.com>
2920 * gio/gappinfo.[ch]:
2921 Add g_app_info_get_id and g_app_info_get_executable.
2922 Make all getters non-reffing
2923 Make g_app_info_launch take GFile arguments.
2924 Add must_support_uris argument to g_app_info_get_default_for_type.
2926 * gio/gwin32appinfo.c:
2927 Update to GAppInfo api changes
2929 * gio/gdesktopappinfo.c:
2930 Update to GAppInfo api changes
2931 Implement supports_xdg_startup_notify
2933 * gio/gfileicon.c (g_file_icon_get_file):
2934 Make getter non-reffing.
2939 2007-09-27 Alexander Larsson <alexl@redhat.com>
2941 * gio/gfileinfo.[ch]:
2942 Add g_file_size_format_for_display helper
2944 2007-09-27 Alexander Larsson <alexl@redhat.com>
2946 * gio/glocalfileinfo.c:
2947 Set UNIX_GID from gid, not from uid
2949 2007-09-27 Alexander Larsson <alexl@redhat.com>
2952 Add g_file_set_attributes_async
2954 2007-09-27 Alexander Larsson <alexl@redhat.com>
2956 * gio/glocalfile.c (g_local_file_set_display_name):
2957 Fix set_display_name to actually rename to the right place.
2958 Use lstat to look for existing files so we don't overwrite
2961 2007-09-26 Alexander Larsson <alexl@redhat.com>
2964 Add g_file_set_display_name_async()
2966 2007-09-26 Alexander Larsson <alexl@redhat.com>
2969 Add load_partial_contents async calls
2972 Make internal function static
2974 2007-09-26 Alexander Larsson <alexl@redhat.com>
2976 * gio/glocalfileinfo.c:
2977 Correctly detect broken symlinks
2979 2007-09-26 Alexander Larsson <alexl@redhat.com>
2981 * gio/gcancellable.c (g_cancellable_cancel):
2982 Allow cancel on NULL cancellable
2984 2007-09-25 Alexander Larsson <alexl@redhat.com>
2986 * gio/gsimpleasyncresult.c:
2987 Don't allocate g_error manually.
2988 Fixes g_slice/g_new mixup crash
2990 2007-09-25 Alexander Larsson <alexl@redhat.com>
2992 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
2993 Actually set active_backend.
2994 This means the monitor will be cancelled correctly.
2996 2007-09-25 Alexander Larsson <alexl@redhat.com>
2998 * gio/gdirectorymonitor.c:
2999 Set timeout to NULL when destroying
3001 2007-09-25 Alexander Larsson <alexl@redhat.com>
3004 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3005 that is a better description of the error.
3007 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3009 * gio/gvfs.c: (g_vfs_get_local):
3010 Make the local vfs variable static. The same instance should
3013 2007-09-24 Alexander Larsson <alexl@redhat.com>
3015 * gio/glocalfileinfo.c:
3016 Pass in actual length read into sniffer, not the length
3019 2007-09-21 Alexander Larsson <alexl@redhat.com>
3021 * gio/gfileenumerator.c:
3024 * gio/gfileinputstream.c:
3025 * gio/gfileoutputstream.c:
3026 * gio/ginputstream.c:
3027 * gio/goutputstream.c:
3028 Don't crash if async callbacks are NULL
3030 2007-09-20 Alexander Larsson <alexl@redhat.com>
3033 Add async enumerate_children method and default
3036 2007-09-20 Alexander Larsson <alexl@redhat.com>
3039 Add g_file_contains_file & g_file_get_relative_path, since they
3040 were needed for nautilus.
3041 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3046 Implement new methods
3048 2007-09-17 Alexander Larsson <alexl@redhat.com>
3051 * gio/gfileinputstream.[ch]:
3052 * gio/gfileoutputstream.[ch]:
3054 * gio/glocalfileenumerator.[ch]:
3055 * gio/glocalfileinfo.[ch]:
3056 * gio/glocalfileinputstream.c:
3057 * gio/glocalfileoutputstream.c:
3058 * gio/gpollfilemonitor.c:
3059 * programs/gio-copy.c:
3060 * programs/gio-info.c:
3061 * programs/gio-move.c:
3062 Rename get_file_info to query_info() to make it clearer
3063 that these are not simple getters, but do i/o.
3065 2007-09-17 Alexander Larsson <alexl@redhat.com>
3067 * gio/gdatainputstream.[ch]:
3068 * gio/test-streams.c:
3069 Use _read_XXX instead of _get_XXX for the i/o calls
3072 2007-09-17 Alexander Larsson <alexl@redhat.com>
3075 Added needed stuff to TODO comment
3077 2007-09-17 Alexander Larsson <alexl@redhat.com>
3079 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3080 Don't error out removing the backup copy if it doesn't
3083 2007-09-14 Alexander Larsson <alexl@redhat.com>
3085 * programs/Makefile.am:
3086 * programs/gvfs-*.c:
3088 Renamed apps from gvfs-xxx to gio-xxx.
3090 2007-09-14 Alexander Larsson <alexl@redhat.com>
3093 * gio/gfileoutputstream.[ch]:
3094 * gio/glocalfileoutputstream.c:
3095 * programs/gvfs-save.c:
3096 g_file_output_stream_get_etag doesn't do i/o, so remove
3097 cancellation and error.
3099 2007-09-14 Alexander Larsson <alexl@redhat.com>
3102 Add new_etag output to replace_contents functions
3104 2007-09-14 Alexander Larsson <alexl@redhat.com>
3106 * gio/gfileoutputstream.[ch]:
3107 Add async get_file_info and default implementation
3109 2007-09-14 Alexander Larsson <alexl@redhat.com>
3111 * gio/gfileinputstream.c:
3112 Implement fallback wrapper for async get_file_info
3114 2007-09-14 Alexander Larsson <alexl@redhat.com>
3117 Add etag out argument to load_contents
3122 2007-09-14 Alexander Larsson <alexl@redhat.com>
3124 * gio/gcontenttype.c (looks_like_text):
3125 Whitespace like tab, cr and lf do not make the
3128 2007-09-14 Alexander Larsson <alexl@redhat.com>
3130 * gio/gfileinputstream.[ch]:
3131 Add async get_file_info.
3133 2007-09-13 Alexander Larsson <alexl@redhat.com>
3135 * gio/goutputstream.c (g_output_stream_write_all):
3136 Allow NULL for bytes_written
3138 2007-09-13 Alexander Larsson <alexl@redhat.com>
3140 * gio/gmemoryinputstream.[ch]:
3141 Add accessors for data
3143 2007-09-13 Alexander Larsson <alexl@redhat.com>
3145 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3146 Don't crash if length is NULL