1 2008-01-27 Matthias Clasen <mclasen@redhat.com>
3 * gbufferedinputstream.c:
5 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
8 2008-01-27 Matthias Clasen <mclasen@redhat.com>
10 * glocalfile.c: Avoid trivial differences in translatable strings.
12 2008-01-25 Matthias Clasen <mclasen@redhat.com>
14 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
15 build with gcc 3.4 (#509419)
17 2008-01-25 Matthias Clasen <mclasen@redhat.com>
19 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
20 (#509994, Murray Cumming)
22 2008-01-25 Matthias Clasen <mclasen@redhat.com>
24 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
25 * gioscheduler.c: Keep calling io jobs until they return FALSE;
26 this allows big jobs to be executed in chunks, instead of blocking
27 the main loop for a long time.
29 * gsimpleasyncresult.c:
30 * giofile.c: Adapt callers.
32 2008-01-25 Alexander Larsson <alexl@redhat.com>
35 Implement changes discussed on xdg list.
36 Now we can add supported mimetypes by just using defaults.list
37 We can also remove associations in defaults.list.
39 2008-01-25 Alexander Larsson <alexl@redhat.com>
42 Don't make local copy of desktop file
43 for mimetype changes if the file already
44 supports the new mimetype.
46 2008-01-25 Matthias Clasen <mclasen@redhat.com>
50 * gbufferedinputstream.c:
51 * glocalfile.c: String improvements. (#511966,
52 Theppitak Karoonboonyanan)
54 2008-01-24 Matthias Clasen <mclasen@redhat.com>
56 * gioscheduler.h: Expand docs a bit.
58 2008-01-24 Alexander Larsson <alexl@redhat.com>
61 Add g_drive_get_identifier and
62 g_drive_enumerate_identifiers
65 Add g_volume_get_identifier and
66 g_volume_enumerate_identifiers
72 Implement identifiers for unix backend
74 2008-01-24 Alexander Larsson <alexl@redhat.com>
79 Add g_file_copy_async() (#511580)
80 Based on patch from Carlos Garcia Campos
82 2008-01-23 Matthias Clasen <mclasen@redhat.com>
84 * gioscheduler.c: Some documentation additions.
86 2008-01-22 Alexander Larsson <alexl@redhat.com>
89 (g_desktop_app_info_new):
92 2008-01-22 Alexander Larsson <alexl@redhat.com>
95 (g_desktop_app_info_new_from_filename):
98 2008-01-22 Alexander Larsson <alexl@redhat.com>
100 * glocalfileinfo.c (get_thumbnail_attributes):
103 2008-01-22 Alexander Larsson <alexl@redhat.com>
106 (canonicalize_filename):
107 Canonicalize paths that start with more than
112 (test_g_file_new_for_path):
115 2008-01-22 Alexander Larsson <alexl@redhat.com>
118 Allow UTF-8 in file:// parse names.
121 * tests/data-input-stream.c:
122 * tests/data-output-stream.c:
123 * tests/g-file-info.c:
125 Added a bunch of tests from Tomas Bzatek
127 2008-01-21 Matthias Clasen <mclasen@redhat.com>
129 * === Released 2.15.3 ===
131 2008-01-21 Alexander Larsson <alexl@redhat.com>
133 * gfileinputstream.[ch]:
134 * gfileoutputstream.[ch]:
136 Remove duplicated GSeekable functions. (#509990)
137 Just use the g_seekable_xxx() calls instead.
139 2008-01-21 Matthias Clasen <mclasen@redhat.com>
142 * gvolumemanager.c: Whitespace cleanups.
144 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
145 Use the right mode when creating the file.
147 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
150 * gfileinputstream.c:
152 * goutputstream.c: Documentation: Fixed minor typos
153 and added more mentions of specific _finish() functions.
155 2008-01-21 Alexander Larsson <alexl@redhat.com>
157 * inotify/Makefile.am:
158 * inotify/inotify-helper.c:
159 * inotify/inotify-kernel.c:
160 * inotify/inotify-path.c:
161 * inotify/local_inotify.h: Removed.
162 * inotify/local_inotify_syscalls.h: Removed.
163 Removed the included copies of the inotify
164 headers. We now only use the <sys/inotify.h>
165 header which exists on modern systems.
166 This fixes problems on ARM and SH5 (#510448)
167 but is also generally much cleaner and future
168 safe. For instance, if other OSes add support
169 for inotify it should "just work".
171 2008-01-20 Matthias Clasen <mclasen@redhat.com>
173 * inotify/*.c: Coding style fixes.
174 * inotify/inotify-missing.c: Use g_timeout_add_seconds
175 for the 1/4 Hz timer.
177 2008-01-20 Matthias Clasen <mclasen@redhat.com>
181 * gmemoryinputstream.c:
182 * gmemoryoutputstream.c:
184 * gthemedicon.c: Documentation updates
186 2008-01-20 Murray Cumming <murrayc@murrayc.com>
188 * gfile.c: documentation: Fixed more minor
191 2008-01-18 Murray Cumming <murrayc@murrayc.com>
193 * gmount.c: (g_mount_remount): documentation:
194 Mention g_mount_remount_finish() instead of
195 g_mount_unmount_finish().
197 2008-01-18 Murray Cumming <murrayc@murrayc.com>
201 * gfile.c: Fixed some minor typos in the
204 2008-01-18 Murray Cumming <murrayc@murrayc.com>
206 * gio/gvolumemonitor.c:
207 (g_volume_monitor_get_connected_drives):
208 (g_volume_monitor_get_volumes):
209 (g_volume_monitor_get_mounts): Documentation:
210 Clarify the ownership of the regurn GLists.
212 2008-01-17 Alexander Larsson <alexl@redhat.com>
215 Add the async find_enclosing_mount version
216 to the header file too.
218 2008-01-17 Alexander Larsson <alexl@redhat.com>
221 Add async version of find_enclosing_mount
222 with default implementation.
224 2008-01-17 Alexander Larsson <alexl@redhat.com>
229 Allow calls to implementation of copy and write
230 even if the type of the file implementations is
231 different. This can be used to implement native
232 upload and download calls in a vfs.
236 Protect against the case where move is called
237 with one file not being local.
239 Make sure we call the progress callback once
240 in the native move operation so that the caller
241 knows how many bytes were copied.
243 2008-01-16 Murray Cumming <murrayc@murrayc.com>
246 * gdatainputstream.c:
248 * gfileoutputstream.c:
253 * gunixmounts.c: Corrected some typos in the documentation:
255 its -> it's (where appropriate).
257 2008-01-16 Alexander Larsson <alexl@redhat.com>
261 Add g_file_query_exists (#508771)
263 2008-01-15 Murray Cumming <murrayc@murrayc.com>
268 * gvolume.c: For async functions that have no non-async
269 version, document that the GAsyncReadyCallback may be NULL.
272 2008-01-15 Alexander Larsson <alexl@redhat.com>
274 * gmemoryinputstream.c:
275 * gmemoryoutputstream.c:
276 Don't do pointer arithmetic on void * (#508602)
277 Patch from Kazuki IWAMOTO
279 2008-01-14 Matthias Clasen <mclasen@redhat.com>
281 * === Released 2.15.2 ===
283 2008-01-14 Alexander Larsson <alexl@redhat.com>
285 * gfile.c (g_file_monitor_file):
286 Don't set error here, since we fallback to polling monitor.
288 2008-01-14 Alexander Larsson <alexl@redhat.com>
291 (g_file_monitor_directory):
292 (g_file_monitor_file):
293 Add GError to file monitor calls
295 * glocaldirectorymonitor.c:
296 * glocaldirectorymonitor.h:
298 * glocalfilemonitor.c:
299 * glocalfilemonitor.h:
301 Update for above change
303 2008-01-14 Alexander Larsson <alexl@redhat.com>
307 Handle root correctly in g_file_get_relative_path (#508719)
309 2008-01-14 Alexander Larsson <alexl@redhat.com>
312 Clean up docs and example for GAsyncResult (#508074)
314 2008-01-11 Murray Cumming <murrayc@murrayc.com>
316 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
317 and correct some spelling mistakes. Bug #508108.
319 2008-01-11 Matthias Clasen <mclasen@redhat.com>
321 * glocalfileinfo.c: Add a comment.
323 2008-01-10 Murray Cumming <murrayc@murrayc.com>
325 * gfileinfo.c: GFileInfo description: Mention
326 how to actually set attributes in a GFile and how to discover
327 which attributes are settable. Bug #508378.
329 2008-01-10 A. Walton <awalton@svn.gnome.org>
331 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
332 (g_app_info_get_default_for_type):
333 Check for NULL content types.
335 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
337 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
339 2008-01-09 Murray Cumming <murrayc@murrayc.com>
341 * gfile.c: *_async() functions: Several small corrections
342 to the documentation, mostly correcting copy/paste errors
343 and improving some sentences.
345 2008-01-09 Dan Winship <danw@gnome.org>
347 * glocalfile.c (get_unique_filename): x86_64 fix
349 2008-01-09 Alexander Larsson <alexl@redhat.com>
354 Add g_unix_mount_guess_should_display and use
355 for unix volume monitor backend.
356 This means we more or less show what the
357 gnome-vfs backend did.
358 Based on patch from Padraig O'Briain
360 2008-01-09 Alexander Larsson <alexl@redhat.com>
364 Add g_themed_icon_new_with_default_fallbacks
367 Use default fallbacks for icons
369 2008-01-09 Alexander Larsson <alexl@redhat.com>
372 * gmountoperation.[ch]:
373 Change the API a bit so that unhandled methods
374 get reported via the reply, rather than by
375 the signal emission return value. This is because
376 some handlers can't know this immediately without
377 doing I/O, and this is an async operation that
380 2008-01-09 Alexander Larsson <alexl@redhat.com>
383 * fam/gfamdirectorymonitor.c:
384 * fam/gfamfilemonitor.c:
385 Fix double free crash (#508224)
386 Patch from Joe Marcus Clarke
388 008-01-07 Matthias Clasen <mclasen@redhat.com>
390 * === Released 2.15.1 ===
392 2008-01-07 Alexander Larsson <alexl@redhat.com>
394 * gunixinputstream.c (g_unix_input_stream_skip_finish):
395 Fix warning (#507835)
397 2008-01-07 Alexander Larsson <alexl@redhat.com>
400 Pass --internal to glib-genmarshal
405 Use better types for signal arguments (#507822)
407 2008-01-07 Alexander Larsson <alexl@redhat.com>
410 Build test subdir after .
411 Remove gdirectorymonitor.[ch]
413 * gdirectorymonitor.[ch]:
417 Remove GDirectoryMonitor and make
418 GFileMonitor the baseclass for both file and
419 directory monitors. Lift the more generic
420 rate limiting code from GDirectoryMonitor
424 * fam/gfamdirectorymonitor.[ch]:
425 * inotify/ginotifydirectorymonitor.[ch]:
426 * inotify/inotify-helper.c:
427 * glocaldirectorymonitor.[ch]:
430 Update for the removed GDirectoryMonitor.
432 * gmemoryoutputstream.c:
433 Remove ununsed variable
435 2008-01-07 Alexander Larsson <alexl@redhat.com>
437 * gmemoryinputstream.c:
438 Translate error strings
441 * gmemoryoutputstream.[ch]:
442 New implementation that avoids using GByteArray
443 in implementation and API. (#506377)
445 2008-01-06 Matthias Clasen <mclasen@redhat.com>
447 * tests/*: Add a test for memory input streams.
449 * Makefile.am: Add tests to SUBDIRS.
451 2008-01-06 Matthias Clasen <mclasen@redhat.com>
453 * glocalfilemonitor.c:
454 * glocaldirectorymonitor.c: Mark property nicks and blurbs
457 2008-01-06 Matthias Clasen <mclasen@redhat.com>
459 * gdesktopappinfo.c: Fix a docs typo.
461 * gfileattribute.c: Add information about extended attributes
462 to the documentation. (#505058)
464 2008-01-04 Alexander Larsson <alexl@redhat.com>
468 Use the right type (uint) for the ask_password signal.
470 2008-01-04 Alexander Larsson <alexl@redhat.com>
475 Add g_app_info_supports_files()
476 Remove desktop arg from g_app_info_should_show().
478 * gdesktopappinfo.[ch]:
479 Implement g_app_info_supports_files() and new should_show()
480 Add g_desktop_app_info_set_desktop_env() to set the desktop
481 for should_show(). (This will be set by gtk+ later)
483 2008-01-04 Alexander Larsson <alexl@redhat.com>
486 * gmemoryinputstream.[ch]:
487 Improve API so that you can use multiple chunks
488 of memory and custom destroy functions. (#506374)
490 2008-01-03 Alexander Larsson <alexl@redhat.com>
493 Handle NULL attribute matchers safely, as we return this
494 for empty attribute matcher strings.
496 2008-01-03 Alexander Larsson <alexl@redhat.com>
498 * gunixmounts.c (g_unix_is_mount_path_system_internal):
499 Add /usr/local to list of internal mountpoints
501 2008-01-03 Alexander Larsson <alexl@redhat.com>
504 Check for HAVE_LCHOWN (#505887)
506 2008-01-03 Alexander Larsson <alexl@redhat.com>
510 Add define for selinux context attribute.
511 Fix missing : -> :: namespace separator change
512 Fix missing _ -> - name change for xattr-sys.
515 2008-01-03 Alexander Larsson <alexl@redhat.com>
518 Link to libglib and libgobject directly (#504879)
519 Patch from Sebastien Bacher
521 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
523 * gfile.c: Expanded the g_file_new_for_commandline_arg
524 description a bit, based on the code and the docs of the
525 other g_file_new_for_* functions.
527 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
529 * gfilemonitor.h: Fixed typo in docs.
531 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
533 Updates to GIO documentation. (#506395, Mikael Hermansson)
535 * gcontenttype.c: Describe memory management for return value of
536 g_content_types_get_registered(). Missing piece from #505815.
537 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
538 GVolume, GDrive, GMounts, which hopefully gives the user less
539 confusions when using this API. Following explainations from
540 Alexander Larsson on gtk-devel-list.
542 2007-12-30 Matthias Clasen <mclasen@redhat.com>
544 * gfileinfo.c: Expand the long description.
546 2007-12-30 Matthias Clasen <mclasen@redhat.com>
549 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
550 fix builds with --disable-visibility. (#500273, Christian Persch)
552 2007-12-30 Matthias Clasen <mclasen@redhat.com>
554 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
555 in the list of returned app infos.
557 2007-12-30 Matthias Clasen <mclasen@redhat.com>
559 * gappinfo.c: Fix a cross-reference
561 2007-12-30 Matthias Clasen <mclasen@redhat.com>
563 * gfileinputstream.c:
564 * gfileoutputstream.c:
570 * gfileinfo.c: Documentation updates.
572 2007-12-26 Matthias Clasen <mclasen@redhat.com>
574 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
577 2007-12-26 Matthias Clasen <mclasen@redhat.com>
579 * gcontenttype.c (g_content_types_get_registered): Don't return
580 freed memory (#505815, Mikael Hermansson)
582 2007-12-25 Paolo Borelli <pborelli@katamail.com>
584 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
585 used to detect statbuf->st_blocks. (#505042)
587 2007-12-24 Matthias Clasen <mclasen@redhat.com>
589 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
590 environment handling. (#504829, Cosimo Cecchi)
592 2007-12-22 Matthias Clasen <mclasen@redhat.com>
594 * gappinfo.c: Doc improvements
596 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
599 2007-12-20 Matthias Clasen <mclasen@redhat.com>
601 * === Released 2.15.0 ===
603 2007-12-20 Hans Breuer <hans@breuer.org>
605 * makefile.msc : don't build gdesktopappinfo.obj, it collides
606 with symbols gwin32appinfo.obj, added gmount.obj
607 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
609 2007-12-20 Alexander Larsson <alexl@redhat.com>
615 * gfilenamecompleter.c:
618 * gpollfilemonitor.c:
619 File attribute renames:
622 id::fs -> id::filesystem
624 2007-12-20 Alexander Larsson <alexl@redhat.com>
633 Add GMountUnmountFlags to all unmount and
635 Add g_mount_remount() call.
637 2007-12-20 Alexander Larsson <alexl@redhat.com>
639 * gvfs.c (get_default_vfs):
640 Fix unused variable warning
642 2007-12-19 Matthias Clasen <mclasen@redhat.com>
644 * pltcheck.sh: Update
646 2007-12-19 Matthias Clasen <mclasen@redhat.com>
648 * gunionvolumemonitor.c:
649 * gunixmount.c: Remove C99 comments
651 2007-12-19 Matthias Clasen <mclasen@redhat.com>
653 * gio.symbols: Add some missing symbols
655 2007-12-19 Alexander Larsson <alexl@redhat.com>
658 Make g_io_modules_load_all_in_directory not unuse
659 loaded modules so that users of it can do stuff
661 Init internal "module" types.
662 Initialize static prio and name for types so that
663 we don't have to load modules to get it.
665 * gnativevolumemonitor.h:
667 Move is_supported to parent class so that
668 non-native monitors can avoid being initialized
669 too. (For instance GDaemonVolumeMonitor if we're
670 not using GDaemonVfs.)
672 * glocaldirectorymonitor.[ch]:
673 * glocalfilemonitor.[ch]:
674 * gunionvolumemonitor.c:
675 * gunixvolumemonitor.c:
677 Find plugins using the static prio+name to
678 avoid unnecessarily loading the modules.
680 2007-12-19 Alexander Larsson <alexl@redhat.com>
685 2007-12-19 Alexander Larsson <alexl@redhat.com>
687 * gunionvolumemonitor.c:
688 Store the native type as GType, not class so that
689 we can unload it. But still avoid unnecessarily
692 2007-12-19 David Zeuthen <davidz@redhat.com>
694 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
695 add signals 'disconnected' and 'eject-button' on GDrive. Add
696 signal 'removed' on GVolume and 'unmounted' on GMount.
698 * gdrive.c: (g_drive_base_init):
700 * gfile.c: (g_file_mount_mountable),
701 (g_file_mount_enclosing_volume):
704 * gmount.c: (g_mount_base_init):
706 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
707 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
708 * gvolume.c: (g_volume_base_init), (g_volume_mount):
712 2007-12-17 Matthias Clasen <mclasen@redhat.com>
714 * *.c: Fix up includes in the section docs.
716 2007-12-17 Alexander Larsson <alexl@redhat.com>
718 * gnativevolumemonitor.h:
719 * gunionvolumemonitor.c:
720 * gunixvolumemonitor.c:
721 Add is_supported() to GNativeVolumeMonitorClass so
722 that we can avoid having to create an object to see
723 if the backend is supported at runtime.
724 Also add name member and an env var to pick a specific
725 volume monitor backend.
729 Add cancellable to _g_mount_get_for_mount_path()
731 * glocaldirectorymonitor.c:
732 * glocalfilemonitor.c:
733 Avoid loading and unloading modules while sorting.
735 2007-12-17 Matthias Clasen <mclasen@redhat.com>
738 * gunixmounts.[hc]: Namespace waste reduction, move some
739 g_get_unix_mount functions to the g_unix_mount namespace.
742 * gunixvolumemonitor.c:
744 * glocaldirectorymonitor.c: Update all callers.
746 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
748 2007-12-17 Alexander Larsson <alexl@redhat.com>
751 Add doc comments about what GFile operations are
752 guaranteed to not block.
754 2007-12-17 Alexander Larsson <alexl@redhat.com>
757 Add missing #ifdef fixing OSX build.
758 (#503334, patch from Richard Hult)
760 2007-12-14 David Zeuthen <davidz@redhat.com>
764 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
765 (g_mount_eject), (g_mount_eject_finish):
767 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
768 (get_volume_for_uuid), (get_mount_for_uuid),
769 (g_union_volume_monitor_class_init),
770 (get_default_native_type_with_exclude), (get_default_native_type),
771 (get_native_type), (update_native_type),
772 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
773 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
774 (g_unix_mount_can_eject), (eject_unmount_cb),
775 (eject_unmount_read_error), (eject_unmount_do),
776 (g_unix_mount_unmount), (g_unix_mount_eject),
777 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
778 * gunixmounts.c: (g_unix_mount_guess_can_eject),
779 (g_unix_mount_point_guess_can_eject):
781 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
782 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
783 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
784 (g_unix_volume_mount), (g_unix_volume_eject),
785 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
786 * gunixvolumemonitor.c: (get_volume_for_uuid),
787 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
789 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
790 (g_volume_eject), (g_volume_eject_finish):
792 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
793 (g_volume_monitor_get_mount_for_uuid):
796 Provide eject() on both GMount and GVolume and utility functions
797 to guess whether a GUnixMountPoint or GUnixMountEntry should be
798 ejected. Introduce the concept of UUID's and wire it into GVolume
799 and GMount and provide API on GVolumeMonitor to find such
800 instances. Also handle the case where an external
801 GNativeVolumeMonitor fails to initialize. Lock around the
802 _g_get_mount_for_mount_path() function such that volume monitor
803 implementations won't have to do locking themselves.
805 2007-12-17 Matthias Clasen <mclasen@redhat.com>
813 * gvolume.h: Documentation updates
815 2007-12-14 Matthias Clasen <mclasen@redhat.com>
818 * gfile.h: Doc updates
820 2007-12-14 Matthias Clasen <mclasen@redhat.com>
823 * gdesktopappinfo.c: Use hash table iterators.
825 2007-12-14 Alexander Larsson <alexl@redhat.com>
828 * gfileattribute.[ch]:
829 * gfileattribute-priv.h:
830 Move GFileAttributeValue to a private header, as
834 Make set_attribute take a type + a pointer instead
835 of a GFileAttributeValue.
838 Fix up for above changes.
839 Add g_file_info_get_attribute_data to get
840 all info in one call, g_file_info_get_attribute_status
841 to get the status and g_file_info_get_attribute_as_string.
845 * glocalfileinfo.[ch]:
849 Make _guess_type static.
851 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
854 * inotify/Makefile.am: Fixed build when srcdir != builddir,
855 made mkenums and friends use temporary files to avoid leaving
856 empty generated files on failure (#503470).
858 2007-12-14 Alexander Larsson <alexl@redhat.com>
863 2007-12-14 Alexander Larsson <alexl@redhat.com>
867 * gfileattribute.[ch]:
870 * glocalfileoutputstream.c:
871 * gmountoperation.[ch]:
872 * goutputstream.[ch]:
873 Clean up all flags enums to not have _FLAGS in them
874 Make the names of some of the enums better.
879 2007-12-14 Michael Natterer <mitch@imendio.com>
881 * gio.symbols: fix g_io_scheduler symbol names.
883 2007-12-14 Alexander Larsson <alexl@redhat.com>
889 * gbufferedinputstream.h:
890 * gbufferedoutputstream.h:
893 * gdatainputstream.h:
894 * gdataoutputstream.h:
896 * gdirectorymonitor.h:
903 * gfileinputstream.h:
905 * gfilenamecompleter.h:
906 * gfileoutputstream.h:
907 * gfilterinputstream.h:
908 * gfilteroutputstream.h:
916 * gmemoryinputstream.h:
917 * gmemoryoutputstream.h:
922 * gsimpleasyncresult.h:
924 * gunixinputstream.h:
926 * gunixoutputstream.h:
930 * inotify/Makefile.am:
931 Only allow including <gio/gio.h> from apps
933 2007-12-14 Alexander Larsson <alexl@redhat.com>
936 * gsimpleasyncresult.c:
937 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
938 Split out the send_to_mainloop call into two versions instead
939 of having the block argument.
941 2007-12-13 Alexander Larsson <alexl@redhat.com>
945 * gbufferedinputstream.c:
947 * gfileinputstream.c:
948 * gfileoutputstream.c:
952 g_push/pop_current_cancellable ->
953 g_cancellable_push/pop_current
955 2007-12-13 Alexander Larsson <alexl@redhat.com>
959 Rename g_mount_for_location to g_file_mount_enclosing_volume.
961 2007-12-13 Alexander Larsson <alexl@redhat.com>
964 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
966 2007-12-12 Alexander Larsson <alexl@redhat.com>
969 Fix race condition when freeing proxy in
970 g_io_job_send_to_mainloop().
972 2007-12-12 Alexander Larsson <alexl@redhat.com>
978 Make attribute namespace separator "::" instead of ":".
979 Use - instead of _ as separator in attribute names.
981 2007-12-12 Alexander Larsson <alexl@redhat.com>
983 * gbufferedinputstream.h:
984 * gbufferedoutputstream.h:
985 * gdatainputstream.h:
986 * gdataoutputstream.h:
987 * gdirectorymonitor.h:
989 * gfileinputstream.h:
991 * gfileoutputstream.h:
992 * gfilterinputstream.h:
993 * gfilteroutputstream.h:
995 * glocalfileinputstream.h:
996 * glocalfileoutputstream.h:
997 * gmemoryinputstream.h:
998 * gmemoryoutputstream.h:
999 * gnativevolumemonitor.h:
1001 * gunixinputstream.h:
1002 * gunixoutputstream.h:
1005 s/parent/parent_instance/ in GObjects
1007 2007-12-12 Alexander Larsson <alexl@redhat.com>
1012 No need for padding for interfaces
1014 2007-12-12 Alexander Larsson <alexl@redhat.com>
1018 * gbufferedinputstream.c:
1019 * gbufferedoutputstream.c:
1022 * gdatainputstream.[ch]:
1023 * gdesktopappinfo.c:
1024 * gdirectorymonitor.c:
1026 * gfileattribute.[ch]:
1029 * gfileinputstream.h:
1030 * gfilemonitor.[ch]:
1031 * gfileoutputstream.[ch]:
1032 * gfilterinputstream.h:
1033 * gfilteroutputstream.h:
1036 * gloadableicon.[ch]:
1037 * gmemoryinputstream.c:
1038 * gmountoperation.c:
1040 Fix up a bunch of details in the docs.
1045 2007-12-11 David Zeuthen <davidz@redhat.com>
1047 Rework how volumes, drives and volume monitoring is
1048 done. Previosly the model was
1050 GDrive <1-1> GVolume
1052 where a GDrive instance represented a mount point and a GVolume
1053 instance represented a mounted file system. This patch changes it
1056 GDrive <1-N> GVolume <1-1> GMount
1058 where GMount now serves the purpose of the old GVolume and the new
1059 GVolume serves the purpose of the old GDrive. In addition the new
1060 GDrive interface is used to represent a collection of GVolume
1061 instances (typically partitions) and also contains utility to query
1062 the state of the physical drive the GDrive object represents (such
1063 as checking for media, polling the drive, ejecting the media etc.).
1065 Also implement mounting and unmounting in the Unix volume monitor
1066 backend. A subquent patch will introduce GDrive support for ejection
1070 * gdrive.c: (g_drive_is_media_check_automatic),
1071 (g_drive_is_media_removable), (g_drive_has_media),
1072 (g_drive_can_poll_for_media), (g_drive_eject),
1073 (g_drive_eject_finish), (g_drive_poll_for_media),
1074 (g_drive_poll_for_media_finish):
1076 * gfile.c: (g_file_find_enclosing_mount):
1079 * glocaldirectorymonitor.c:
1080 (g_local_directory_monitor_constructor), (mounts_changed):
1081 * glocalfile.c: (get_mount_info),
1082 (g_local_file_find_enclosing_mount),
1083 (g_local_file_file_iface_init):
1084 * gnativevolumemonitor.h:
1085 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1086 (get_connected_drives), (g_union_volume_monitor_class_init),
1087 (child_volume_added), (child_volume_removed),
1088 (child_volume_changed), (child_mount_added), (child_mount_removed),
1089 (child_mount_pre_unmount), (child_mount_changed),
1090 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1091 (g_union_volume_monitor_remove_monitor),
1092 (_g_mount_get_for_mount_path):
1093 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1094 (guess_system_internal), (_g_get_unix_mounts),
1095 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1096 (g_unix_mount_free), (g_unix_mount_compare),
1097 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1098 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1099 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1100 (type_to_icon), (g_unix_mount_guess_name),
1101 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1102 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1103 (_resolve_symlink), (_resolve_dev_root):
1105 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1106 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1107 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1108 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1109 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1110 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1111 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1112 (g_unix_volume_volume_iface_init):
1114 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1115 (get_mounts), (get_volumes), (get_connected_drives),
1116 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1117 (mountpoints_changed), (mounts_changed),
1118 (g_unix_volume_monitor_init),
1119 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1120 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1121 * gunixvolumemonitor.h:
1122 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1123 (g_volume_mount), (g_volume_mount_finish):
1125 * gvolumemonitor.c: (g_volume_monitor_class_init),
1126 (g_volume_monitor_get_connected_drives),
1127 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1130 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1132 * gmountoperation.h (GPasswordFlags): Close the gap
1134 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1136 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1138 * gdesktopappinfo.[hc]: Remove _-prefixes
1140 2007-12-10 Tor Lillqvist <tml@novell.com>
1142 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1145 2007-12-10 Alexander Larsson <alexl@redhat.com>
1147 * gfile.c (g_file_set_display_name):
1148 Don't hardcode '/' (#502727)
1150 2007-12-09 Hans Breuer <hans@breuer.org>
1152 * makefile.msc : follow lib naming convention
1153 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1154 for user and group name, tested with ../tests/gio-ls
1156 2007-12-09 A. Walton <awalton@svn.gnome.org>
1158 * gdesktopappinfo.c:
1164 * gfileenumerator.c:
1169 * gmemoryinputstream.c:
1170 * gmemoryoutputstream.c:
1172 * gsimpleasyncresult.c:
1173 More documentation cleanup and filling in missing information, bringing
1174 GIO to 99% symbol coverage.
1176 2007-12-08 Hans Breuer <hans@breuer.org>
1178 [gio compiles and links on win32, not sure how much already works]
1179 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1180 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1181 base on win32 API; prefer g_lstat() over lstat(); instead of
1182 localtime_r() use an all GLib implementation on win32;
1183 get_mount_info() still needs a win32 specifc implementation
1184 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1185 win32_get_file_user_info to get owner/group info without uid/gid
1186 * glocalfileinputstream.c : include <io.h> on win32
1187 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1188 definition, use g_win32_ftruncate() for G_OS_WIN32
1189 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1190 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1191 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1192 * makefile.msc : updated
1194 2007-12-07 Alexander Larsson <alexl@redhat.com>
1196 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1197 Avoid warning spew if error == NULL
1199 2007-12-07 Alexander Larsson <alexl@redhat.com>
1202 Update docs wrt etags
1204 2007-12-06 Alexander Larsson <alexl@redhat.com>
1207 Include sys/types.h for dev_t (#501919)
1209 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1213 Make abicheck and pltcheck pass.
1215 2007-12-05 Alexander Larsson <alexl@redhat.com>
1218 * giomodule-priv.h: Added.
1219 * glocaldirectorymonitor.c:
1220 * glocalfilemonitor.c:
1221 * gunionvolumemonitor.c:
1223 Actually add the declaration of _g_io_modules_ensure_loaded
1225 2007-12-05 Alexander Larsson <alexl@redhat.com>
1227 * gdatainputstream.c:
1232 * glocaldirectorymonitor.c:
1233 * glocalfilemonitor.c:
1234 * gunionvolumemonitor.c:
1236 Make g_io_modules_ensure_loaded a private function and
1237 don't pass in the dirname. This means we can do magic
1238 directory finding in the win32 version.
1239 Export the actual load-modules-in-directory code so that
1240 gvfs can reuse that.
1242 2007-12-05 Alexander Larsson <alexl@redhat.com>
1244 * gbufferedinputstream.c:
1245 * gbufferedoutputstream.c:
1248 * gfileenumerator.[ch]:
1249 * gfileinputstream.c:
1250 * gfileoutputstream.[ch]:
1251 * gfilterinputstream.c:
1252 * gfilteroutputstream.c:
1253 * ginputstream.[ch]:
1255 * glocalfileenumerator.c:
1256 * glocalfileinputstream.c:
1257 * glocalfileoutputstream.c:
1258 * gmemoryinputstream.c:
1259 * gmemoryoutputstream.c:
1260 * goutputstream.[ch]:
1263 * gunixinputstream.c:
1264 * gunixoutputstream.c:
1265 Rename all struct members named:
1266 read, write, close, truncate, or mount
1267 to foo_fn, as these are reserved names
1268 and could be defined as macros in libc.
1271 2007-12-04 Alexander Larsson <alexl@redhat.com>
1274 (g_output_stream_close):
1275 Only call flush if non-null.
1277 2007-11-30 Dan Winship <danw@gnome.org>
1279 * ginputstream.c (g_input_stream_set_pending): Make this take a
1280 GError and return a gboolean, and do the "outstanding operation"
1281 check (and the "stream is already closed" check) itself.
1282 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1284 * goutputstream.c (g_output_stream_set_pending)
1285 (g_output_stream_clear_pending): Likewise
1287 * gbufferedinputstream.c:
1288 * gfileinputstream.c:
1289 * gfileoutputstream.c: Update for that
1291 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1292 Like g_simple_async_report_error_in_idle, but takes a GError
1293 rather than building one.
1295 2007-11-30 Dan Winship <danw@gnome.org>
1297 * goutputstream.c: Don't cheat and unset the "pending" flag around
1298 inner calls. Instead, call the class method directly rather than
1299 the wrapper function that checks "pending"
1301 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1303 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1305 2007-12-03 Hans Breuer <hans@breuer.org>
1307 [start of port to win32/msvc]
1308 * gcancellable.c : HAVE_UNIST_H and _pipe()
1309 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1310 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1311 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1313 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1314 * glocalvfs.c : use HAVE_PWD_H
1315 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1316 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1317 * Makefile.am : added to EXTRA_DIST
1319 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1321 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1324 2007-12-03 Alexander Larsson <alexl@redhat.com>
1327 Handle OSX style xattrs API (#500506)
1329 2007-12-03 Alexander Larsson <alexl@redhat.com>
1333 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1335 2007-12-02 A. Walton <awalton@svn.gnome.org>
1339 Documentation accuracy fixes.
1341 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1343 * gioenumtypes.c.template: Fix typo.
1345 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1347 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1349 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1351 * gdirectorymonitor.c:
1352 * gfilemonitor.c: Add properties
1354 * gbufferedoutputstream.c: Don't mark buffer-size property
1357 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1359 * gbufferedoutputstream.c: Add auto-grow property.
1361 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1363 * *.c: Unify the capitalization of section headings.
1365 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1367 * gmountoperation.c: Add properties
1369 * gdatainputstream.c: Turn byte-order and newline-type into
1372 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1374 * gioenumtypes.[hc].template: Templates for enum registration
1376 * Makefile.am: Generate gioenumtypes.[hc]
1378 * gio.h: Include gioenumtypes.h
1380 * gfile.h: Add some explicit nicks.
1382 * gio.symbols: Add new symbols
1384 * pltcheck.sh: Adjust
1386 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1388 * *.c: Explain etags and link to the explanation
1390 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1392 * *.c: Explain I/O priority.
1394 * *.c: More coding style fixes.
1396 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1398 * gasyncresult.c: Add another paragraph to the intro,
1399 adjust coding style of example.
1401 2007-11-29 A. Walton <awalton@svn.gnome.org>
1404 Fixes unknown meaning in GAppLaunchContext docs.
1406 Clarify asynchronous ops.
1408 Fix entity tag docs.
1411 Provides missing gtk-doc section, fixes API docs slighly.
1412 * gsimpleasyncresult.c:
1413 Fill in missing info in docs.
1414 * gunixinputstream.c:
1415 * gunixoutputstream.c:
1416 Be more expressive in short description.
1418 Remove gtk-doc stubs for non-public API.
1420 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1422 * *.c: Coding style fixups
1424 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1426 * inotify/inotify-helper.c: Don't export the lock from libgio.
1428 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1431 * abicheck.sh: Fix copy-and-paste leftovers
1433 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1435 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1437 2007-11-28 Alexander Larsson <alexl@redhat.com>
1441 Removed unnecessary file
1443 * gdesktopappinfo.[ch]:
1446 * glocaldirectorymonitor.[ch]:
1448 * glocalfileenumerator.[ch]:
1449 * glocalfileinputstream.[ch]:
1450 * glocalfilemonitor.[ch]:
1451 * glocalfileoutputstream.[ch]:
1453 * gnativevolumemonitor.c:
1454 * gpollfilemonitor.[ch]:
1455 * gunionvolumemonitor.[ch]:
1458 * gunixvolumemonitor.[ch]:
1461 * inotify/ginotifydirectorymonitor.[ch]:
1462 * inotify/ginotifyfilemonitor.[ch]:
1463 * inotify/inotify-helper.c:
1464 Append _ to all internal functions
1468 Export symbols needed for modules
1470 2007-11-28 Alexander Larsson <alexl@redhat.com>
1473 * abicheck.sh: Added.
1474 * makegioalias.pl: Added.
1475 * pltcheck.sh: Added.
1476 * gio.symbols: Added.
1479 Initial work on adding symbol handling.
1482 Correct ifdef guard name
1485 * inotify/Makefile.am:
1486 * xdgmime/Makefile.am:
1487 Include toplevel Makefile.decl
1489 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1491 * gcontenttype.c: Move doc comments to the unix section.
1493 * *.[hc]: More trivial doc corrections.
1495 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1497 * gpollfilemonitor.c:
1501 * gdesktopappinfo.c:
1506 * gdatainputstream.c:
1507 * gdatainputstream.h:
1508 * gdataoutputstream.c:
1509 * gdataoutputstream.h:
1510 * gfileinfo.h: Doc cleanups
1512 2007-11-28 Andre Klapper <a9016009@gmx.de>
1514 * gdesktopappinfo.c: Fix a typo.
1516 2007-11-27 Andre Klapper <a9016009@gmx.de>
1518 * glocalfileoutputstream.c: Fix a typo.
1520 2007-11-27 Alexander Larsson <alexl@redhat.com>
1523 Don't include removed headers
1525 2007-11-27 Alexander Larsson <alexl@redhat.com>
1528 * gsocketinputstream.[ch]: Removed.
1529 * gsocketoutputstream.[ch]: Removed.
1530 * gunixinputstream.[ch]: Added.
1531 * gunixoutputstream.[ch]: Added.
1532 Renamed GSocket*Stream to GUnix*Stream and made
1533 it unix-only, since its not really only for sockets
1534 and it only works on unix (but is highly useful there).
1536 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1542 * gbufferedinputstream.c:
1543 * gbufferedinputstream.h:
1544 * gbufferedoutputstream.c:
1545 * gbufferedoutputstream.h:
1549 * gdatainputstream.c:
1550 * gdatainputstream.h:
1551 * gdataoutputstream.c:
1552 * gdataoutputstream.h:
1553 * gdirectorymonitor.c:
1554 * gdirectorymonitor.h:
1561 * gfileenumerator.c:
1562 * gfileenumerator.h:
1567 * gfileinputstream.c:
1568 * gfileinputstream.h:
1571 * gfilenamecompleter.c:
1572 * gfilenamecompleter.h:
1573 * gfileoutputstream.c:
1574 * gfileoutputstream.h:
1575 * gfilterinputstream.c:
1576 * gfilterinputstream.h:
1577 * gfilteroutputstream.c:
1578 * gfilteroutputstream.h:
1591 * glocalfileoutputstream.c:
1592 * gmemoryinputstream.c:
1593 * gmemoryinputstream.h:
1594 * gmemoryoutputstream.c:
1595 * gmemoryoutputstream.h:
1596 * gmountoperation.c:
1597 * gmountoperation.h:
1600 * gpollfilemonitor.c:
1603 * gsimpleasyncresult.c:
1604 * gsimpleasyncresult.h:
1605 * gsocketinputstream.c:
1606 * gsocketinputstream.h:
1607 * gsocketoutputstream.c:
1608 * gsocketoutputstream.h:
1615 * gunixvolumemonitor.c:
1624 Bumps documentation to 93% symbol coverage, touching most
1625 of the public files. Fixes broken function documentation prototypes.
1626 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1627 gtk-doc headers in private files.
1629 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1631 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1632 (g_buffered_input_stream_read_byte):
1633 * gbufferedinputstream.h:
1634 New functions for efficient access to buffer and simple single byte
1637 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1638 (g_data_input_stream_read_until):
1639 * gdatainputstream.h:
1640 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1641 read_until with multiple stop chars.
1643 2007-11-27 Alexander Larsson <alexl@redhat.com>
1647 * inotify/Makefile.am:
1648 Use the user-specified giomoduledir
1650 2007-11-27 Alexander Larsson <alexl@redhat.com>
1654 Add catch-all gio.h header
1655 Don't install gdummyfile.h
1657 2007-11-26 Alexander Larsson <alexl@redhat.com>
1659 * Makefile.am (gioinclude_HEADERS):
1660 Remove trailing whitespace
1662 2007-11-26 Alexander Larsson <alexl@redhat.com>
1664 Merge gio-standalone into glib
1666 2007-11-25 Christian Kellner <gicmo@gnome.org>
1668 * gio/goutputstream.c:
1669 Fix small mistake in the docs.
1671 2007-11-21 Christian Persch <chpe@gnome.org>
1673 * gio/glocalfile.c: (g_local_file_trash):
1674 Convert filenames to UTF-8 for GError.
1675 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1676 as per xdg base dir spec.
1678 2007-11-21 Christian Persch <chpe@gnome.org>
1680 * gio/gdesktopappinfo.c:
1681 Use that g_key_file_to_data cannot fail.
1683 Use stock defines for the key file group and key names.
1686 2007-11-21 Alexander Larsson <alexl@redhat.com>
1689 (copy_stream_with_progress):
1690 Make sure we do a final progress callback with
1691 the full total size.
1693 2007-11-21 Alexander Larsson <alexl@redhat.com>
1696 Export g_file_copy_attributes
1697 Remove padding as its not needed for interfaces
1699 2007-11-20 Alexander Larsson <alexl@redhat.com>
1704 Add G_IO_ERROR_WOULD_MERGE for
1705 copy/move dir on dir with overwrite.
1707 2007-11-20 Alexander Larsson <alexl@redhat.com>
1710 * gio/glocalfileinfo.c:
1711 Add COPY_NAME (this is an optional
1712 non-modified utf8 version of the name) that
1715 2007-11-20 Alexander Larsson <alexl@redhat.com>
1717 * gio/glocalfileenumerator.c:
1718 Report errors as GIOError, not GFileError
1720 2007-11-16 Alexander Larsson <alexl@redhat.com>
1722 * gio/glocalfileoutputstream.c:
1723 * gio/gwin32appinfo.c:
1724 Fix typos in strings.
1725 Patch from Luca Ferretti <elle.uca@libero.it>
1727 2007-11-15 Alexander Larsson <alexl@redhat.com>
1730 Post release version bump
1732 === gio-standalone 0.1.2 ===
1734 2007-11-15 Alexander Larsson <alexl@redhat.com>
1736 * docs/reference/gio/Makefile.am:
1737 Fix up distcheck by removing weird
1743 2007-11-14 Alexander Larsson <alexl@redhat.com>
1745 * gio/gdesktopappinfo.c:
1746 * gio/glocaldirectorymonitor.c:
1748 * gio/glocalfileinfo.c:
1749 * gio/inotify/inotify-sub.c:
1750 * programs/gio-cat.c:
1751 * programs/gio-copy.c:
1752 * programs/gio-info.c:
1753 * programs/gio-ls.c:
1754 * programs/gio-monitor-dir.c:
1755 * programs/gio-monitor-file.c:
1756 * programs/gio-mount.c:
1757 * programs/gio-move.c:
1758 * programs/gio-rm.c:
1759 * programs/gio-save.c:
1760 * programs/gio-trash.c:
1761 Leak fixes from Kjartan Maraas
1763 2007-11-14 Alexander Larsson <alexl@redhat.com>
1765 * gio/fam/fam-helper.c:
1767 * gio/glocalfileinfo.c:
1771 * gio/inotify/inotify-diag.c:
1772 * gio/inotify/inotify-kernel.c:
1773 Various code cleanups from Kjartan Maraas
1775 2007-11-14 Alexander Larsson <alexl@redhat.com>
1777 * gio/gioscheduler.c:
1779 Set up threadpool so that we cache 2 unused
1780 idle threads for at 15 secs. This means we
1781 will reuse thread-local data (like dbus connections)
1784 2007-11-14 Alexander Larsson <alexl@redhat.com>
1786 * gio/fam/fam-helper.c:
1787 * gio/fam/gfamdirectorymonitor.c:
1788 * gio/fam/gfamfilemonitor.c:
1790 * gio/gcontenttype.c:
1791 * gio/gdatainputstream.c:
1792 * gio/gdataoutputstream.c:
1796 * gio/gfileattribute.h:
1797 * gio/gfileenumerator.c:
1799 * gio/ginputstream.c:
1802 * gio/glocalfileinfo.c:
1803 * gio/goutputstream.c:
1804 * gio/gpollfilemonitor.c:
1805 * gio/gsimpleasyncresult.c:
1806 * gio/gunixmounts.c:
1807 * gio/gunixmounts.h:
1808 * gio/inotify/ginotifydirectorymonitor.c:
1809 * gio/inotify/ginotifyfilemonitor.c:
1810 * gio/inotify/inotify-diag.c:
1811 * gio/inotify/inotify-kernel.c:
1812 * gio/inotify/inotify-path.c:
1814 * gio/test-streams.c:
1815 * programs/gio-info.c:
1816 * programs/gio-monitor-dir.c:
1817 * programs/gio-monitor-file.c:
1818 Various code cleanups from Kjartan Maraas
1820 2007-11-13 Alexander Larsson <alexl@redhat.com>
1823 Handle the uri-scheme calls for dummy files
1825 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1827 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1828 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1829 to avoid clash with the C++ keyword.
1831 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1833 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1834 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1836 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1838 * gio/glocaldirectorymonitor.c:
1839 * gio/glocalfilemonitor.c:
1840 * gio/gunionvolumemonitor.c:
1841 Don't use g_once_init_*() for initializations that could fail and
1842 could leave the initialization variable set to 0 but use GOnce.
1843 This prevents a deadlock on the second call when trying to create
1844 a monitor and no monitor type is available. Thanks to Sven Herzberg
1847 2007-11-11 Sven Herzberg <sven@imendio.com>
1849 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1850 #ifdef (make it work on MacOS X again)
1852 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1854 Fixes Changelog for last two commits (sorry guys).
1856 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1858 * gio/gbufferedinputstream.c:
1859 * gio/gdatainputstream.c:
1861 * gio/gfileoutputstream.c:
1862 * gio/gfilterinputstream.c:
1863 * gio/glocalfileinputstream.c:
1866 More consistency fixes in g*stream.c files.
1867 Significant clean of gfile's documentation, filling in of
1868 asynchronous operations documentation.
1870 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1872 * gio/gasyncresult.c:
1873 * gio/gbufferedinputstream.c:
1874 * gio/gbufferedoutputstream.c:
1875 * gio/gcancellable.c:
1876 * gio/gcontenttype.c:
1877 * gio/gdatainputstream.c:
1878 * gio/gdataoutputstream.c:
1879 * gio/gdesktopappinfo.c:
1882 * gio/gfileattribute.c:
1883 * gio/gio/gfileenumerator.c:
1885 * gio/gfileinputstream.c:
1886 * gio/gfilemonitor.c:
1887 * gio/gfileoutputstream.c:
1888 * gio/ginputstream.c:
1890 * gio/gioscheduler.c:
1891 * gio/gloadableicon.c:
1892 * gio/glocalfileoutputstream.c:
1893 * gio/gmemoryoutputstream.c:
1894 * gio/gmountoperation.c:
1895 * gio/goutputstream.c:
1897 * gio/gsimpleasyncresult.c:
1898 * gio/gunionvolumemonitor.c:
1899 * gio/gunixmounts.c:
1900 * gio/gunixvolume.c:
1904 * gio/gvolumemonitor.c:
1905 Updated documentation stubs, working towards consistency and
1908 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1910 * gio/gmemoryoutputstream.c:
1911 * gio/gmemoryoutputstream.h:
1912 Change g_memory_output_stream_set_free_on_close() to
1913 g_memory_output_stream_set_free_data() as this makes more sense and
1914 is more consistent with GMemoryInputStream.
1916 2007-11-07 Alexander Larsson <alexl@redhat.com>
1923 Change how we find the default vfs so that
1924 we can handle a gvfs failing to init
1926 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1928 * gio/gbufferedoutputstream.c:
1929 * gio/gdatainputstream.c:
1930 * gio/gdataoutputstream.c:
1931 * gio/gfileinputstream.c:
1932 * gio/gfileoutputstream.c:
1933 * gio/gfilterinputstream.c:
1934 * gio/gfilteroutputstream.c:
1935 * gio/ginputstream.c:
1936 * gio/gmemoryinputstream.c:
1937 * gio/gmemoryoutputstream.c:
1938 * gio/goutputstream.c:
1939 * gio/gsimpleasyncresult.c:
1940 * gio/gsocketinputstream.c:
1941 * gio/gsocketoutputstream.c:
1942 Add guards to the remaining public functions, add a TODO for
1943 an unimplemented function and remove some useless guards.
1945 2007-11-07 Alexander Larsson <alexl@redhat.com>
1948 Autoconf checks for the various types of
1949 getpwuid_r and getgrgid_r
1951 * gio/glocalfileinfo.c:
1952 Use the autoconf checks from above
1954 2007-11-07 Alexander Larsson <alexl@redhat.com>
1957 (g_local_file_query_filesystem_info):
1958 Some fixes for the statvfs case
1960 2007-11-07 Alexander Larsson <alexl@redhat.com>
1963 (g_local_file_query_filesystem_info):
1964 Pick the "best" of statfs / statvfs for the system
1965 if both are availible.
1967 2007-11-07 Alexander Larsson <alexl@redhat.com>
1969 Solaris fixes from Halton.Huo@Sun.COM:
1976 * gio/glocalfileinfo.c:
1977 Fix for solaris definition of getpwuid_r
1979 * gio/test-streams.c:
1980 Use G_GNUC_PRETTY_FUNCTION
1982 2007-11-07 Alexander Larsson <alexl@redhat.com>
1984 * gio/gdesktopappinfo.c:
1985 (update_default_list):
1986 Remove double semicolon.
1987 Patch from Jens Granseuer
1989 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1991 * docs/reference/gio/gio-sections.txt:
1992 * gio/gbufferedinputstream.c:
1993 * gio/gbufferedinputstream.h:
1994 * gio/gdatainputstream.c:
1995 * gio/gfileenumerator.c:
1996 * gio/gioscheduler.c:
1997 * gio/gunionvolumemonitor.c:
1999 * programs/gio-save.c:
2000 Fix typo: availible -> available. Unfortuntely this breaks API
2001 and ABI as g_buffered_input_stream_get_available() was renamed.
2003 * gio/gunixmounts.c:
2004 * gio/gbufferedinputstream.c:
2005 Add guards for public functions.
2007 2007-11-06 Ross Burton <ross@openedhand.com>
2009 * docs/reference/gio/Makefile.am:
2010 Fix invalid += usage which automake 1.10 doesn't like.
2012 2007-11-06 Alexander Larsson <alexl@redhat.com>
2015 (g_app_launch_context_class_init):
2018 Patch from Ross Burton
2020 2007-11-06 Alexander Larsson <alexl@redhat.com>
2023 Post release version bump
2025 === gio-standalone 0.1.1 ===
2027 2007-11-06 Alexander Larsson <alexl@redhat.com>
2030 Bump version to 0.1.1
2032 * gio/gsimpleasyncresult.c:
2033 (g_simple_async_result_set_from_error):
2034 Remove bogus g_return_if_fail
2036 2007-11-06 Alexander Larsson <alexl@redhat.com>
2039 The name is gio-standalone
2042 Add top src/builddir to includedir
2044 2007-11-06 Alexander Larsson <alexl@redhat.com>
2046 * docs/reference/gio/gio-sections.txt:
2048 * gio/gbufferedinputstream.c:
2049 * gio/gbufferedoutputstream.c:
2050 * gio/gcancellable.c:
2051 * gio/gdatainputstream.h:
2052 * gio/gdataoutputstream.c:
2053 * gio/gdataoutputstream.h:
2054 * gio/gdirectorymonitor.c:
2056 * gio/gfileattribute.c:
2057 * gio/gfileattribute.h:
2058 * gio/gfileenumerator.c:
2059 * gio/gfileenumerator.h:
2062 * gio/gfileinputstream.h:
2063 * gio/gfilemonitor.c:
2064 * gio/gfileoutputstream.h:
2065 * gio/glocalfilemonitor.h:
2066 * gio/glocalfileoutputstream.h:
2067 * gio/gmemoryinputstream.c:
2068 * gio/gmemoryoutputstream.c:
2069 * gio/gmountoperation.c:
2070 * gio/goutputstream.c:
2071 * gio/goutputstream.h:
2073 * gio/gsimpleasyncresult.c:
2074 * gio/gunixmounts.c:
2075 * gio/gunixmounts.h:
2077 * gio/inotify/inotify-helper.c:
2078 Fix gtk-doc warnings
2080 Patch from Ross Burton
2082 2007-11-06 Alexander Larsson <alexl@redhat.com>
2084 * gio/gfilenamecompleter.c:
2085 (g_filename_completer_get_completions):
2088 * gio/gunixvolume.c:
2089 Remove unused function
2091 Patches from Ross Burton
2093 2007-11-06 Alexander Larsson <alexl@redhat.com>
2098 Padding not needed for interfaces
2100 2007-11-06 Alexander Larsson <alexl@redhat.com>
2102 * gio/gfilemonitor.c:
2106 Make giotypes.h an internal file
2109 * gio/gbufferedinputstream.h:
2110 * gio/gbufferedoutputstream.h:
2111 * gio/gcancellable.h:
2112 * gio/gdatainputstream.h:
2113 * gio/gdataoutputstream.h:
2114 * gio/gdirectorymonitor.c:
2115 * gio/gdirectorymonitor.h:
2120 * gio/gfileattribute.h:
2121 * gio/gfileenumerator.h:
2126 * gio/gfilemonitor.c:
2127 * gio/gfilemonitor.h:
2128 * gio/gfilenamecompleter.c:
2129 * gio/gfilenamecompleter.h:
2130 * gio/gfilterinputstream.h:
2131 * gio/gfilteroutputstream.h:
2132 * gio/ginputstream.h:
2133 * gio/gmemoryinputstream.h:
2134 * gio/gmemoryoutputstream.h:
2135 * gio/gmountoperation.c:
2136 * gio/gmountoperation.h:
2137 * gio/gnativevolumemonitor.c:
2138 * gio/goutputstream.h:
2141 * gio/gsimpleasyncresult.c:
2142 * gio/gsimpleasyncresult.h:
2143 * gio/gsocketinputstream.h:
2144 * gio/gsocketoutputstream.h:
2145 * gio/gthemedicon.c:
2146 * gio/gthemedicon.h:
2150 * gio/gvolumemonitor.c:
2151 * gio/gvolumemonitor.h:
2152 Add padding in classes where it seems useful
2153 Don't include giotypes.h from public headers
2154 Move in Class definitions into c file where possible
2159 2007-11-06 Alexander Larsson <alexl@redhat.com>
2161 * docs/reference/gio/gio-docs.xml:
2162 Better structure for API docs
2164 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2167 * gio/gloadableicon.c:
2168 * gio/gsimpleasyncresult.c:
2169 * gio/gthemedicon.c:
2170 Add some more guards to public functions. Only files missing are now
2173 2007-11-06 Alexander Larsson <alexl@redhat.com>
2175 * docs/reference/gio/gio-docs.xml:
2176 Remove old files, add missing ones
2178 2007-11-06 Alexander Larsson <alexl@redhat.com>
2180 * docs/reference/gio/gio-sections.txt:
2183 Hide implementation classes
2185 * gio/gdriveprivate.h:
2186 * gio/gvolumeprivate.h:
2187 Remove non-existing function declarations
2189 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2192 Fix compilation warnings and add guards to the new functions.
2194 * gio/gasyncresult.c:
2196 Add guards to the public functions.
2199 Implement get_path().
2201 2007-11-06 Alexander Larsson <alexl@redhat.com>
2203 * gio/gfilenamecompleter.c:
2204 Make g_filename_completer_get_completions
2205 return char ** instead of GList for
2208 * docs/reference/gio/gio-docs.xml:
2209 * docs/reference/gio/gio-sections.txt:
2211 * gio/gasyncresult.c:
2212 * gio/gbufferedinputstream.c:
2213 * gio/gbufferedoutputstream.c:
2214 * gio/gcancellable.c:
2215 * gio/gcontenttype.c:
2216 * gio/gdatainputstream.c:
2217 * gio/gdataoutputstream.c:
2218 * gio/gdesktopappinfo.c:
2219 * gio/gdirectorymonitor.c:
2223 * gio/gfileattribute.c:
2224 * gio/gfileenumerator.c:
2227 * gio/gfileinputstream.c:
2228 * gio/gfilemonitor.c:
2229 * gio/gfilenamecompleter.c:
2230 * gio/gfilenamecompleter.h:
2231 * gio/gfileoutputstream.c:
2232 * gio/gfilterinputstream.c:
2234 * gio/ginputstream.c:
2236 * gio/gioscheduler.c:
2237 * gio/gloadableicon.c:
2238 * gio/glocaldirectorymonitor.c:
2240 * gio/glocalfileinputstream.c:
2241 * gio/glocalfilemonitor.c:
2242 * gio/glocalfileoutputstream.c:
2244 * gio/gmemoryinputstream.c:
2245 * gio/gmemoryoutputstream.c:
2246 * gio/gmountoperation.c:
2247 * gio/goutputstream.c:
2248 * gio/gpollfilemonitor.c:
2250 * gio/gsimpleasyncresult.c:
2251 * gio/gsocketinputstream.c:
2252 * gio/gsocketoutputstream.c:
2253 * gio/gthemedicon.c:
2254 * gio/gunionvolumemonitor.c:
2256 * gio/gunixmounts.c:
2257 * gio/gunixvolume.c:
2258 * gio/gunixvolumemonitor.c:
2262 * gio/gvolumemonitor.c:
2263 * gio/gwin32appinfo.c:
2264 Add (mostly stub) doc strings to public functions.
2265 Patch from Andrew Walton (awalton@gmail.com)
2267 2007-11-06 Alexander Larsson <alexl@redhat.com>
2269 * gio/gappinfo.[ch]:
2270 Added GAppLaunchContext object and pass that to launch.
2271 This allows simple implementation of both
2272 launch-on-screen and startup notification via a gtk+
2273 subclass of GAppLaunchContext
2275 * gio/gdesktopappinfo.c:
2276 Implement GAppLaunchContext API
2278 * gio/gwin32appinfo.c:
2281 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2283 * gio/gmountoperation.c:
2284 Add some guards to GMountOperation's public functions.
2286 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2290 * gio/gcancellable.c:
2291 * gio/gdirectorymonitor.c:
2293 * gio/gfileenumerator.c:
2294 * gio/gfilemonitor.c:,
2295 * gio/gfilenamecompleter.c:
2298 * gio/gioscheduler.c:
2302 * gio/gvolumemonitor.c:
2303 Add even more guards to various public functions.
2305 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2308 Add guards to the public functions of GAppInfo.
2310 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2312 * gio/gcontenttype.c:
2313 Add some more guards for public functions.
2315 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2317 * gio/fam/fam-module.c:
2318 * gio/fam/gfamdirectorymonitor.c:
2319 * gio/fam/gfamdirectorymonitor.h:
2320 * gio/fam/gfamfilemonitor.c:
2321 * gio/fam/gfamfilemonitor.h:
2322 * gio/inotify/ginotifydirectorymonitor.c:
2323 * gio/inotify/ginotifydirectorymonitor.h:
2324 * gio/inotify/ginotifyfilemonitor.c:
2325 * gio/inotify/ginotifyfilemonitor.h:
2326 Add proper copyright information and remove an unused variable
2327 in the GInotifyFileMonitor constructor.
2329 * gio/gcancellable.c:
2330 Add a guard for a public function and an assertion to prevent
2331 an undefined program state.
2333 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2335 * gio/gfileattribute.c:
2336 Don't run into an assertion if the given attribute value is NULL
2337 in g_file_attribute_value_get_*() but instead return a fallback
2338 value that makes sense in most situations. Passing them a attribute
2339 value with the wrong type will still run into an assertion.
2341 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2343 * gio/gfileattribute.c:
2345 Add even more guards to the public functions. Also fix the refcounting
2346 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2347 let g_file_info_list_attributes() filter the attributes by namespace
2348 instead of simply ignoring the namespace parameter.
2350 2007-11-03 Sven Herzberg <sven@imendio.com>
2352 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2353 (This makes gio work on MacOS X again)
2355 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2358 Build the gio subdirectory before the docs. Otherwise the build will
2361 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2362 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2363 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2364 Add guards to the public functions.
2366 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2368 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2369 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2370 to prevent a compiler warning.
2372 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2373 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2374 return something in the non-void function find_topdir_for().
2376 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2383 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2385 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2386 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2387 * gwin32appinfo.c (g_win32_app_info_launch):
2388 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2389 envp_for_startup_id, g_desktop_app_info_launch,
2390 g_desktop_app_info_launch_uris):
2392 Give an opaque 'startup_id' string instead of 'envp'.
2393 Support empty file lists for launching new windows.
2394 Fix infinite recursion bug when launching URIs.
2396 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2399 Add guard to the new g_file_get_uri_scheme() function.
2401 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2404 Convert a g_return_val_if_fail() to setting the GError instead as
2405 otherwise applications have to verify the parameter before otherwise
2406 and the parameter might come directly from the user.
2408 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2410 * gio/inotify/ginotify*.[ch]:
2411 Add missing copyright information.
2413 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2416 Add guards in the beginning of public functions to check for valid
2417 parameters and fix a bug in copy_stream_with_progress() that could've
2418 caused writing less bytes than reading.
2419 * gio/glocalfileinfo.c:
2420 Check for a NULL parameter and set the GError accordingly then.
2421 * gio/goutputstream.c:
2422 Fix the same bug as in gfile.c that could've caused writing less bytes
2423 than reading in g_output_stream_real_splice().
2425 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2428 Use the correct gvolumeprivate.h naming
2430 2007-11-01 Christian Kellner <gicmo@gnome.org>
2433 Remove leftover "$(daemon_sources)" entry.
2435 2007-11-01 Christian Kellner <gicmo@gnome.org>
2440 Add copyright information to source files.
2442 2007-11-01 Alexander Larsson <alexl@redhat.com>
2446 Add g_file_get_uri_scheme
2448 2007-11-01 Alexander Larsson <alexl@redhat.com>
2451 * gio/gdesktopappinfo.c:
2452 * gio/gwin32appinfo.c:
2453 Add g_app_info_get_default_for_uri_scheme.
2455 2007-11-01 Alexander Larsson <alexl@redhat.com>
2458 Correct filename for gdriveprivate.h
2460 2007-10-31 Alexander Larsson <alexl@redhat.com>
2463 Rename id:value to id:file
2466 * gio/glocalfileinfo.c:
2469 2007-10-31 Alexander Larsson <alexl@redhat.com>
2471 * gio/gunixvolume.c:
2473 Remove g_volume_get_platform_id, as thats not
2474 needed with the simpler union volume monitor
2476 2007-10-31 Alexander Larsson <alexl@redhat.com>
2479 * gio/guniondrive.[ch]: Removed.
2480 * gio/gunionvolume.[ch]: Removed.
2481 Remove GUnionDrive/Volume
2483 * gio/gunionvolumemonitor.c:
2484 Simplify union volume monitor, now we
2485 only have one native volume monitor and
2486 we use the actual volumes/drives from the
2487 child monitors instead of wrapping them
2489 * gio/gnativevolumemonitor.[ch]:
2490 Base class for native volume monitors.
2491 Includes priority and get_volume_for_mountpoint
2494 Add g_file_find_enclosing_volume
2497 Remove volume name fs attribute
2498 Add readonly fs attribute
2501 Implement readonly attribute
2502 remove volume name attribute
2503 Implement find_enclosing volume
2505 * gio/gunixmounts.c:
2506 Add a volume for "/".
2508 * gio/gunixvolume.[ch]:
2509 Set better name for /
2511 * gio/gunixvolumemonitor.[ch]:
2512 Derive from GNativeVolumeMonitor
2513 Implement get_volume_for_mountpoint
2516 GVolume typedef moved to gfile.h
2518 * gio/gvolumeprivate.h:
2519 Add g_volume_get_for_mount_path
2521 2007-10-31 Alexander Larsson <alexl@redhat.com>
2523 * gio/gunixmounts.[ch]:
2524 Add cache info to unix mount listers
2525 Make getmntent use threadsafe
2526 Add is_system_internal attribute for GUnixMount
2528 * gio/gunixvolume.c:
2529 (g_unix_volume_new):
2530 Use is_system_internal instead of own code
2532 * gio/glocaldirectorymonitor.c:
2533 * gio/gunixvolumemonitor.c:
2534 Update to new gunixmounts API
2539 2007-10-30 Alexander Larsson <alexl@redhat.com>
2542 Add volume name fsinfo attribute
2545 Read volume name info
2547 * gio/gunionvolumemonitor.c:
2548 Fix infinite loops when finalizing a union volume monitor
2550 2007-10-30 Alexander Larsson <alexl@redhat.com>
2552 * gio/goutputstream.[ch]:
2553 Add splice() with default implementation
2555 * gio/gsocketoutputstream.c:
2556 (g_socket_output_stream_write):
2557 Return error on cancellation correctly.
2559 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2561 * gio/glocalfile.c (g_local_file_trash):
2562 Do not leak a string.
2564 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2566 * gio/gfile.c (g_file_load_contents):
2567 Unref the stream after closing it.
2569 2007-10-25 Alexander Larsson <alexl@redhat.com>
2571 * gio/gioscheduler.h:
2574 2007-10-25 Alexander Larsson <alexl@redhat.com>
2578 Add g_file_has_uri_scheme and implement for local files
2580 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2582 * gio/gdesktopappinfo.c: do not leak a string.
2584 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2586 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2587 (g_local_directory_monitor_new):
2588 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2589 (g_local_file_monitor_new):
2590 Only look for the monitor type that should be used the first time
2591 and use g_qsort_with_data() instead of our own bubble sort
2594 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2597 * gio/fam/Makefile.am:
2598 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2599 * gio/fam/fam-helper.h:
2600 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2601 * gio/fam/gfamdirectorymonitor.c:
2602 * gio/fam/gfamdirectorymonitor.h:
2603 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2604 * gio/fam/gfamfilemonitor.h:
2605 * gio/glocaldirectorymonitor.c:
2606 * gio/glocaldirectorymonitor.h:
2607 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2608 * gio/glocalfilemonitor.h:
2609 * gio/inotify/Makefile.am:
2610 * gio/inotify/ginotifydirectorymonitor.c:
2611 * gio/inotify/ginotifydirectorymonitor.h:
2612 * gio/inotify/ginotifyfilemonitor.c:
2613 * gio/inotify/ginotifyfilemonitor.h:
2614 Implement the FAM and Inotify monitors as
2615 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2616 their own GIO module. GLocal(Directory|File)Monitor will use the
2617 monitor with the highest rank that is supported on that machine.
2619 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2622 Change GIO module dir to $(libdir)/gio/modules and change
2623 the log domain from GVFS to GIO. Also only export symbols starting
2624 with g_ in the resulting library.
2625 * gio/test-streams.c: (main):
2626 Set log handler for the GIO log domain.
2628 2007-10-22 Alexander Larsson <alexl@redhat.com>
2630 * gio/gfilenamecompleter.[ch]:
2631 Add g_filename_completer_set_dirs_only
2633 2007-10-22 Alexander Larsson <alexl@redhat.com>
2636 * gio/gurifuncs.[ch]:
2637 Add some simple URI helpers
2639 * gio/gfilenamecompleter.[ch]:
2640 Added object for filename (parse name actually) completion
2643 Handle ~ in parse names
2645 2007-10-17 Alexander Larsson <alexl@redhat.com>
2648 * gio/glocalfileinfo.c:
2649 Add and implement id:value attribute
2651 2007-10-17 Alexander Larsson <alexl@redhat.com>
2654 * gio/guniondrive.c:
2656 Add and implement g_drive_has_volumes
2658 2007-10-17 Alexander Larsson <alexl@redhat.com>
2661 * gio/glocalfileinfo.[ch]:
2662 Add unix:is_mountpoint and implement for local files
2664 2007-10-16 Alexander Larsson <alexl@redhat.com>
2666 * gio/gunionvolumemonitor.c:
2667 (g_union_volume_monitor_init):
2668 Fix up the unix type getting so that it works with gcc
2670 2007-10-12 Alexander Larsson <alexl@redhat.com>
2673 * gio/glocalfileinfo.c:
2674 Add thumbnail:failed to file info
2676 2007-10-12 Richard Hult <richard@imendio.com>
2678 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2679 optimizing away the get_type call (happens with some gcc versions,
2680 like the one shipped with OS X 10.4).
2682 2007-10-12 Alexander Larsson <alexl@redhat.com>
2684 * gio/glocalfileinfo.c:
2685 (_g_local_file_info_set_attribute):
2686 Fix build if not HAVE_XATTR
2687 Patch from Milosz Derezynski <internalerror@gmail.com>
2689 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2691 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2692 around for review, otherwise I would have asked you before
2695 2007-10-11 Alexander Larsson <alexl@redhat.com>
2698 Add thumbnail:path attribute
2700 * gio/glocalfileinfo.c:
2701 Implement thumbnail:path for local files
2703 2007-10-11 Alexander Larsson <alexl@redhat.com>
2705 * gio/glocalfileinfo.c:
2706 (_g_local_file_info_get):
2707 Avoid duplicate icon names
2709 2007-10-11 Alexander Larsson <alexl@redhat.com>
2711 * gio/gthemedicon.[ch]:
2712 Change g_themed_icon_get_names return type to const
2714 2007-10-10 Alexander Larsson <alexl@redhat.com>
2716 * gio/glocalfileinfo.c:
2717 Don't reference freed memory
2719 2007-10-10 Alexander Larsson <alexl@redhat.com>
2721 * gio/gfileattribute.c:
2724 * gio/glocalfileinfo.c:
2727 2007-10-10 Alexander Larsson <alexl@redhat.com>
2730 Check for NULL icons
2732 * gio/gfileattribute.c:
2733 Don't dup when getting objects (same as for string attributes)
2735 * gio/gicon.c (g_icon_equal):
2736 Safely handle NULLs in equal
2738 2007-10-10 Alexander Larsson <alexl@redhat.com>
2741 Fix c++ compilation issues
2742 Patch from Milosz Derezynski <internalerror@gmail.com>
2744 2007-10-10 Alexander Larsson <alexl@redhat.com>
2746 * programs/gio-monitor-dir.c:
2747 Don't crash if dir monitor not supported.
2749 2007-10-09 Alexander Larsson <alexl@redhat.com>
2752 Add missing G_END_DECLS
2754 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2756 * gio/gfile.c: (g_file_set_display_name),
2757 (g_file_query_settable_attributes),
2758 (g_file_query_writable_namespaces):
2759 Return NULL not FALSE on errors as the return type is a pointer.
2761 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2763 * gio/glocalfile.c: (g_local_file_monitor_file):
2764 Don't call monitor_file on the default interface vtable (which
2765 is NULL) but simply return NULL. The caller, GFile, will create a
2766 polling monitor if NULL is returned.
2768 2007-10-09 Alexander Larsson <alexl@redhat.com>
2772 * gio-unix-2.0.pc.in:
2773 Add gio-unix-2.0.pc if OS_UNIX
2776 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2778 2007-10-09 Alexander Larsson <alexl@redhat.com>
2780 * gio/gunixmounts.[ch]:
2781 Make unix mount monitoring API sane.
2782 Now its just a object with mounts_changed
2783 and mountpoints_changed signals.
2785 * gio/glocaldirectorymonitor.c:
2786 * gio/gunixvolumemonitor.c:
2787 Use new mount monitor api
2789 2007-10-09 Alexander Larsson <alexl@redhat.com>
2791 * gio/gunixmounts.[ch]:
2792 Move guess type into one call for mounts and one for mountpoints
2795 * gio/gunixvolume.c:
2798 2007-10-09 Alexander Larsson <alexl@redhat.com>
2800 * gio/gunixmounts.[ch]:
2801 Remove _ prefix in preparation to make this semi-public
2802 Hide implementation of structs
2804 * gio/glocaldirectorymonitor.c:
2806 * gio/gunixvolume.c:
2807 * gio/gunixvolumemonitor.c:
2808 Update for above API changes
2810 2007-10-08 Alexander Larsson <alexl@redhat.com>
2813 Better polling fallback. This also handles the case where we have
2814 a monitor_file implementation, but it fails.
2816 2007-10-08 Alexander Larsson <alexl@redhat.com>
2820 * gio/gunixmounts.c:
2821 * programs/gio-monitor-dir.c:
2822 * programs/gio-monitor-file.c:
2823 Added cancellable to file monitoring calls.
2824 These are really sync calls and need this.
2826 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2828 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2829 (g_local_vfs_class_init):
2830 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2831 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2833 2007-10-05 Alexander Larsson <alexl@redhat.com>
2835 * gio/gdirectorymonitorprivate.h:
2836 * gio/gfilemonitorprivate.h:
2837 * gio/gdirectorymonitor.h:
2838 * gio/gfilemonitor.h:
2839 Remove *private.h and move to the public API, so that
2840 we can do implementations outside gio (such as in gvfs)
2842 * gio/gdirectorymonitor.c:
2843 * gio/gfilemonitor.c:
2844 * gio/glocaldirectorymonitor.c:
2845 * gio/gpollfilemonitor.c:
2846 * gio/inotify/inotify-helper.c:
2847 * gio/fam/fam-helper.c:
2848 Update to the new header names
2850 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2852 * gio/gdirectorymonitor.c:
2853 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2856 2007-10-04 Alexander Larsson <alexl@redhat.com>
2858 * gio/glocalfileinfo.c (get_access_rights):
2859 Set CAN_TRASH when we can move the file.
2860 We should really also check for a parent trash dir.
2862 2007-10-04 Alexander Larsson <alexl@redhat.com>
2864 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2865 Add can_trash access attribute
2867 2007-10-04 Alexander Larsson <alexl@redhat.com>
2870 (g_local_file_trash):
2871 Create info file first. This is per-spec and allows
2872 us to actually trash directories.
2874 2007-10-02 Alexander Larsson <alexl@redhat.com>
2876 * gio/gdesktopappinfo.c:
2877 Implement the new mime support code.
2878 Always set app as handling mimetype when being set as default for it
2880 2007-10-01 Alexander Larsson <alexl@redhat.com>
2882 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2883 Fix up check for xattrs:
2885 2007-10-01 Alexander Larsson <alexl@redhat.com>
2888 (g_app_info_set_as_default_for_extension):
2889 (g_app_info_add_supports_type):
2890 (g_app_info_can_remove_supports_type):
2891 (g_app_info_remove_supports_type):
2892 Make these fail nicely if not implemented
2894 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2896 * gio/glocalfileoutputstream.c:
2897 * gio/glocalfileoutputstream.h:
2902 * programs/gio-save.c:
2903 Add a GFileCreateFlags argument to operations that can create
2906 2007-10-01 Alexander Larsson <alexl@redhat.com>
2908 * gio/gappinfo.[ch]:
2909 * gio/gdesktopappinfo.c:
2910 Add more (stubbed out) mime API needed for nautilus
2912 2007-10-01 Alexander Larsson <alexl@redhat.com>
2915 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2916 Add g_app_info_set_as_default_for_extension.
2918 * gio/gdesktopappinfo.c:
2919 Dummy for g_app_info_set_as_default_for_extension
2920 Support flags in g_app_info_create_from_commandline
2922 * gio/gwin32appinfo.c:
2924 Update for API changes
2926 * gio/gthemedicon.c:
2927 Properly NULL-terminate list of icon names
2929 2007-09-28 Alexander Larsson <alexl@redhat.com>
2931 * gio/gloadableicon.h:
2932 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2934 2007-09-28 Alexander Larsson <alexl@redhat.com>
2937 Install headers in $includedir/gio-standalone/
2939 * gio-2.0.pc.in: Added.
2940 * gio-standalone.pc.in: Removed.
2943 Renamed pkg-config file to match glib (for future move)
2944 Update to the new include dir
2947 Add more TODO comments
2949 2007-09-28 Alexander Larsson <alexl@redhat.com>
2951 * gio/gdesktopappinfo.[ch]:
2952 Expose new_from_filename
2953 Add getter for is_hidden and handle it better
2955 2007-09-28 Alexander Larsson <alexl@redhat.com>
2957 * gio/gfileinfo.[ch]:
2958 Rename g_file_size_format_for_display to
2959 g_format_file_size_for_display.
2960 Now it doesn't have the g_file prefix, so we
2961 can later move it to glib.
2963 2007-09-28 Alexander Larsson <alexl@redhat.com>
2965 * gio/gappinfo.[ch]:
2966 Add g_app_info_get_id and g_app_info_get_executable.
2967 Make all getters non-reffing
2968 Make g_app_info_launch take GFile arguments.
2969 Add must_support_uris argument to g_app_info_get_default_for_type.
2971 * gio/gwin32appinfo.c:
2972 Update to GAppInfo api changes
2974 * gio/gdesktopappinfo.c:
2975 Update to GAppInfo api changes
2976 Implement supports_xdg_startup_notify
2978 * gio/gfileicon.c (g_file_icon_get_file):
2979 Make getter non-reffing.
2984 2007-09-27 Alexander Larsson <alexl@redhat.com>
2986 * gio/gfileinfo.[ch]:
2987 Add g_file_size_format_for_display helper
2989 2007-09-27 Alexander Larsson <alexl@redhat.com>
2991 * gio/glocalfileinfo.c:
2992 Set UNIX_GID from gid, not from uid
2994 2007-09-27 Alexander Larsson <alexl@redhat.com>
2997 Add g_file_set_attributes_async
2999 2007-09-27 Alexander Larsson <alexl@redhat.com>
3001 * gio/glocalfile.c (g_local_file_set_display_name):
3002 Fix set_display_name to actually rename to the right place.
3003 Use lstat to look for existing files so we don't overwrite
3006 2007-09-26 Alexander Larsson <alexl@redhat.com>
3009 Add g_file_set_display_name_async()
3011 2007-09-26 Alexander Larsson <alexl@redhat.com>
3014 Add load_partial_contents async calls
3017 Make internal function static
3019 2007-09-26 Alexander Larsson <alexl@redhat.com>
3021 * gio/glocalfileinfo.c:
3022 Correctly detect broken symlinks
3024 2007-09-26 Alexander Larsson <alexl@redhat.com>
3026 * gio/gcancellable.c (g_cancellable_cancel):
3027 Allow cancel on NULL cancellable
3029 2007-09-25 Alexander Larsson <alexl@redhat.com>
3031 * gio/gsimpleasyncresult.c:
3032 Don't allocate g_error manually.
3033 Fixes g_slice/g_new mixup crash
3035 2007-09-25 Alexander Larsson <alexl@redhat.com>
3037 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3038 Actually set active_backend.
3039 This means the monitor will be cancelled correctly.
3041 2007-09-25 Alexander Larsson <alexl@redhat.com>
3043 * gio/gdirectorymonitor.c:
3044 Set timeout to NULL when destroying
3046 2007-09-25 Alexander Larsson <alexl@redhat.com>
3049 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3050 that is a better description of the error.
3052 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3054 * gio/gvfs.c: (g_vfs_get_local):
3055 Make the local vfs variable static. The same instance should
3058 2007-09-24 Alexander Larsson <alexl@redhat.com>
3060 * gio/glocalfileinfo.c:
3061 Pass in actual length read into sniffer, not the length
3064 2007-09-21 Alexander Larsson <alexl@redhat.com>
3066 * gio/gfileenumerator.c:
3069 * gio/gfileinputstream.c:
3070 * gio/gfileoutputstream.c:
3071 * gio/ginputstream.c:
3072 * gio/goutputstream.c:
3073 Don't crash if async callbacks are NULL
3075 2007-09-20 Alexander Larsson <alexl@redhat.com>
3078 Add async enumerate_children method and default
3081 2007-09-20 Alexander Larsson <alexl@redhat.com>
3084 Add g_file_contains_file & g_file_get_relative_path, since they
3085 were needed for nautilus.
3086 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3091 Implement new methods
3093 2007-09-17 Alexander Larsson <alexl@redhat.com>
3096 * gio/gfileinputstream.[ch]:
3097 * gio/gfileoutputstream.[ch]:
3099 * gio/glocalfileenumerator.[ch]:
3100 * gio/glocalfileinfo.[ch]:
3101 * gio/glocalfileinputstream.c:
3102 * gio/glocalfileoutputstream.c:
3103 * gio/gpollfilemonitor.c:
3104 * programs/gio-copy.c:
3105 * programs/gio-info.c:
3106 * programs/gio-move.c:
3107 Rename get_file_info to query_info() to make it clearer
3108 that these are not simple getters, but do i/o.
3110 2007-09-17 Alexander Larsson <alexl@redhat.com>
3112 * gio/gdatainputstream.[ch]:
3113 * gio/test-streams.c:
3114 Use _read_XXX instead of _get_XXX for the i/o calls
3117 2007-09-17 Alexander Larsson <alexl@redhat.com>
3120 Added needed stuff to TODO comment
3122 2007-09-17 Alexander Larsson <alexl@redhat.com>
3124 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3125 Don't error out removing the backup copy if it doesn't
3128 2007-09-14 Alexander Larsson <alexl@redhat.com>
3130 * programs/Makefile.am:
3131 * programs/gvfs-*.c:
3133 Renamed apps from gvfs-xxx to gio-xxx.
3135 2007-09-14 Alexander Larsson <alexl@redhat.com>
3138 * gio/gfileoutputstream.[ch]:
3139 * gio/glocalfileoutputstream.c:
3140 * programs/gvfs-save.c:
3141 g_file_output_stream_get_etag doesn't do i/o, so remove
3142 cancellation and error.
3144 2007-09-14 Alexander Larsson <alexl@redhat.com>
3147 Add new_etag output to replace_contents functions
3149 2007-09-14 Alexander Larsson <alexl@redhat.com>
3151 * gio/gfileoutputstream.[ch]:
3152 Add async get_file_info and default implementation
3154 2007-09-14 Alexander Larsson <alexl@redhat.com>
3156 * gio/gfileinputstream.c:
3157 Implement fallback wrapper for async get_file_info
3159 2007-09-14 Alexander Larsson <alexl@redhat.com>
3162 Add etag out argument to load_contents
3167 2007-09-14 Alexander Larsson <alexl@redhat.com>
3169 * gio/gcontenttype.c (looks_like_text):
3170 Whitespace like tab, cr and lf do not make the
3173 2007-09-14 Alexander Larsson <alexl@redhat.com>
3175 * gio/gfileinputstream.[ch]:
3176 Add async get_file_info.
3178 2007-09-13 Alexander Larsson <alexl@redhat.com>
3180 * gio/goutputstream.c (g_output_stream_write_all):
3181 Allow NULL for bytes_written
3183 2007-09-13 Alexander Larsson <alexl@redhat.com>
3185 * gio/gmemoryinputstream.[ch]:
3186 Add accessors for data
3188 2007-09-13 Alexander Larsson <alexl@redhat.com>
3190 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3191 Don't crash if length is NULL