1 2008-01-28 Matthias Clasen <mclasen@redhat.com>
4 * gvolume.[hc]: Document new API.
6 * gfile.c (g_file_copy_async): Fix docs
8 2008-01-27 Matthias Clasen <mclasen@redhat.com>
10 * gbufferedinputstream.c:
12 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
15 2008-01-27 Matthias Clasen <mclasen@redhat.com>
17 * glocalfile.c: Avoid trivial differences in translatable strings.
19 2008-01-25 Matthias Clasen <mclasen@redhat.com>
21 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
22 build with gcc 3.4 (#509419)
24 2008-01-25 Matthias Clasen <mclasen@redhat.com>
26 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
27 (#509994, Murray Cumming)
29 2008-01-25 Matthias Clasen <mclasen@redhat.com>
31 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
32 * gioscheduler.c: Keep calling io jobs until they return FALSE;
33 this allows big jobs to be executed in chunks, instead of blocking
34 the main loop for a long time.
36 * gsimpleasyncresult.c:
37 * giofile.c: Adapt callers.
39 2008-01-25 Alexander Larsson <alexl@redhat.com>
42 Implement changes discussed on xdg list.
43 Now we can add supported mimetypes by just using defaults.list
44 We can also remove associations in defaults.list.
46 2008-01-25 Alexander Larsson <alexl@redhat.com>
49 Don't make local copy of desktop file
50 for mimetype changes if the file already
51 supports the new mimetype.
53 2008-01-25 Matthias Clasen <mclasen@redhat.com>
57 * gbufferedinputstream.c:
58 * glocalfile.c: String improvements. (#511966,
59 Theppitak Karoonboonyanan)
61 2008-01-24 Matthias Clasen <mclasen@redhat.com>
63 * gioscheduler.h: Expand docs a bit.
65 2008-01-24 Alexander Larsson <alexl@redhat.com>
68 Add g_drive_get_identifier and
69 g_drive_enumerate_identifiers
72 Add g_volume_get_identifier and
73 g_volume_enumerate_identifiers
79 Implement identifiers for unix backend
81 2008-01-24 Alexander Larsson <alexl@redhat.com>
86 Add g_file_copy_async() (#511580)
87 Based on patch from Carlos Garcia Campos
89 2008-01-23 Matthias Clasen <mclasen@redhat.com>
91 * gioscheduler.c: Some documentation additions.
93 2008-01-22 Alexander Larsson <alexl@redhat.com>
96 (g_desktop_app_info_new):
99 2008-01-22 Alexander Larsson <alexl@redhat.com>
102 (g_desktop_app_info_new_from_filename):
105 2008-01-22 Alexander Larsson <alexl@redhat.com>
107 * glocalfileinfo.c (get_thumbnail_attributes):
110 2008-01-22 Alexander Larsson <alexl@redhat.com>
113 (canonicalize_filename):
114 Canonicalize paths that start with more than
119 (test_g_file_new_for_path):
122 2008-01-22 Alexander Larsson <alexl@redhat.com>
125 Allow UTF-8 in file:// parse names.
128 * tests/data-input-stream.c:
129 * tests/data-output-stream.c:
130 * tests/g-file-info.c:
132 Added a bunch of tests from Tomas Bzatek
134 2008-01-21 Matthias Clasen <mclasen@redhat.com>
136 * === Released 2.15.3 ===
138 2008-01-21 Alexander Larsson <alexl@redhat.com>
140 * gfileinputstream.[ch]:
141 * gfileoutputstream.[ch]:
143 Remove duplicated GSeekable functions. (#509990)
144 Just use the g_seekable_xxx() calls instead.
146 2008-01-21 Matthias Clasen <mclasen@redhat.com>
149 * gvolumemanager.c: Whitespace cleanups.
151 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
152 Use the right mode when creating the file.
154 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
157 * gfileinputstream.c:
159 * goutputstream.c: Documentation: Fixed minor typos
160 and added more mentions of specific _finish() functions.
162 2008-01-21 Alexander Larsson <alexl@redhat.com>
164 * inotify/Makefile.am:
165 * inotify/inotify-helper.c:
166 * inotify/inotify-kernel.c:
167 * inotify/inotify-path.c:
168 * inotify/local_inotify.h: Removed.
169 * inotify/local_inotify_syscalls.h: Removed.
170 Removed the included copies of the inotify
171 headers. We now only use the <sys/inotify.h>
172 header which exists on modern systems.
173 This fixes problems on ARM and SH5 (#510448)
174 but is also generally much cleaner and future
175 safe. For instance, if other OSes add support
176 for inotify it should "just work".
178 2008-01-20 Matthias Clasen <mclasen@redhat.com>
180 * inotify/*.c: Coding style fixes.
181 * inotify/inotify-missing.c: Use g_timeout_add_seconds
182 for the 1/4 Hz timer.
184 2008-01-20 Matthias Clasen <mclasen@redhat.com>
188 * gmemoryinputstream.c:
189 * gmemoryoutputstream.c:
191 * gthemedicon.c: Documentation updates
193 2008-01-20 Murray Cumming <murrayc@murrayc.com>
195 * gfile.c: documentation: Fixed more minor
198 2008-01-18 Murray Cumming <murrayc@murrayc.com>
200 * gmount.c: (g_mount_remount): documentation:
201 Mention g_mount_remount_finish() instead of
202 g_mount_unmount_finish().
204 2008-01-18 Murray Cumming <murrayc@murrayc.com>
208 * gfile.c: Fixed some minor typos in the
211 2008-01-18 Murray Cumming <murrayc@murrayc.com>
213 * gio/gvolumemonitor.c:
214 (g_volume_monitor_get_connected_drives):
215 (g_volume_monitor_get_volumes):
216 (g_volume_monitor_get_mounts): Documentation:
217 Clarify the ownership of the regurn GLists.
219 2008-01-17 Alexander Larsson <alexl@redhat.com>
222 Add the async find_enclosing_mount version
223 to the header file too.
225 2008-01-17 Alexander Larsson <alexl@redhat.com>
228 Add async version of find_enclosing_mount
229 with default implementation.
231 2008-01-17 Alexander Larsson <alexl@redhat.com>
236 Allow calls to implementation of copy and write
237 even if the type of the file implementations is
238 different. This can be used to implement native
239 upload and download calls in a vfs.
243 Protect against the case where move is called
244 with one file not being local.
246 Make sure we call the progress callback once
247 in the native move operation so that the caller
248 knows how many bytes were copied.
250 2008-01-16 Murray Cumming <murrayc@murrayc.com>
253 * gdatainputstream.c:
255 * gfileoutputstream.c:
260 * gunixmounts.c: Corrected some typos in the documentation:
262 its -> it's (where appropriate).
264 2008-01-16 Alexander Larsson <alexl@redhat.com>
268 Add g_file_query_exists (#508771)
270 2008-01-15 Murray Cumming <murrayc@murrayc.com>
275 * gvolume.c: For async functions that have no non-async
276 version, document that the GAsyncReadyCallback may be NULL.
279 2008-01-15 Alexander Larsson <alexl@redhat.com>
281 * gmemoryinputstream.c:
282 * gmemoryoutputstream.c:
283 Don't do pointer arithmetic on void * (#508602)
284 Patch from Kazuki IWAMOTO
286 2008-01-14 Matthias Clasen <mclasen@redhat.com>
288 * === Released 2.15.2 ===
290 2008-01-14 Alexander Larsson <alexl@redhat.com>
292 * gfile.c (g_file_monitor_file):
293 Don't set error here, since we fallback to polling monitor.
295 2008-01-14 Alexander Larsson <alexl@redhat.com>
298 (g_file_monitor_directory):
299 (g_file_monitor_file):
300 Add GError to file monitor calls
302 * glocaldirectorymonitor.c:
303 * glocaldirectorymonitor.h:
305 * glocalfilemonitor.c:
306 * glocalfilemonitor.h:
308 Update for above change
310 2008-01-14 Alexander Larsson <alexl@redhat.com>
314 Handle root correctly in g_file_get_relative_path (#508719)
316 2008-01-14 Alexander Larsson <alexl@redhat.com>
319 Clean up docs and example for GAsyncResult (#508074)
321 2008-01-11 Murray Cumming <murrayc@murrayc.com>
323 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
324 and correct some spelling mistakes. Bug #508108.
326 2008-01-11 Matthias Clasen <mclasen@redhat.com>
328 * glocalfileinfo.c: Add a comment.
330 2008-01-10 Murray Cumming <murrayc@murrayc.com>
332 * gfileinfo.c: GFileInfo description: Mention
333 how to actually set attributes in a GFile and how to discover
334 which attributes are settable. Bug #508378.
336 2008-01-10 A. Walton <awalton@svn.gnome.org>
338 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
339 (g_app_info_get_default_for_type):
340 Check for NULL content types.
342 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
344 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
346 2008-01-09 Murray Cumming <murrayc@murrayc.com>
348 * gfile.c: *_async() functions: Several small corrections
349 to the documentation, mostly correcting copy/paste errors
350 and improving some sentences.
352 2008-01-09 Dan Winship <danw@gnome.org>
354 * glocalfile.c (get_unique_filename): x86_64 fix
356 2008-01-09 Alexander Larsson <alexl@redhat.com>
361 Add g_unix_mount_guess_should_display and use
362 for unix volume monitor backend.
363 This means we more or less show what the
364 gnome-vfs backend did.
365 Based on patch from Padraig O'Briain
367 2008-01-09 Alexander Larsson <alexl@redhat.com>
371 Add g_themed_icon_new_with_default_fallbacks
374 Use default fallbacks for icons
376 2008-01-09 Alexander Larsson <alexl@redhat.com>
379 * gmountoperation.[ch]:
380 Change the API a bit so that unhandled methods
381 get reported via the reply, rather than by
382 the signal emission return value. This is because
383 some handlers can't know this immediately without
384 doing I/O, and this is an async operation that
387 2008-01-09 Alexander Larsson <alexl@redhat.com>
390 * fam/gfamdirectorymonitor.c:
391 * fam/gfamfilemonitor.c:
392 Fix double free crash (#508224)
393 Patch from Joe Marcus Clarke
395 008-01-07 Matthias Clasen <mclasen@redhat.com>
397 * === Released 2.15.1 ===
399 2008-01-07 Alexander Larsson <alexl@redhat.com>
401 * gunixinputstream.c (g_unix_input_stream_skip_finish):
402 Fix warning (#507835)
404 2008-01-07 Alexander Larsson <alexl@redhat.com>
407 Pass --internal to glib-genmarshal
412 Use better types for signal arguments (#507822)
414 2008-01-07 Alexander Larsson <alexl@redhat.com>
417 Build test subdir after .
418 Remove gdirectorymonitor.[ch]
420 * gdirectorymonitor.[ch]:
424 Remove GDirectoryMonitor and make
425 GFileMonitor the baseclass for both file and
426 directory monitors. Lift the more generic
427 rate limiting code from GDirectoryMonitor
431 * fam/gfamdirectorymonitor.[ch]:
432 * inotify/ginotifydirectorymonitor.[ch]:
433 * inotify/inotify-helper.c:
434 * glocaldirectorymonitor.[ch]:
437 Update for the removed GDirectoryMonitor.
439 * gmemoryoutputstream.c:
440 Remove ununsed variable
442 2008-01-07 Alexander Larsson <alexl@redhat.com>
444 * gmemoryinputstream.c:
445 Translate error strings
448 * gmemoryoutputstream.[ch]:
449 New implementation that avoids using GByteArray
450 in implementation and API. (#506377)
452 2008-01-06 Matthias Clasen <mclasen@redhat.com>
454 * tests/*: Add a test for memory input streams.
456 * Makefile.am: Add tests to SUBDIRS.
458 2008-01-06 Matthias Clasen <mclasen@redhat.com>
460 * glocalfilemonitor.c:
461 * glocaldirectorymonitor.c: Mark property nicks and blurbs
464 2008-01-06 Matthias Clasen <mclasen@redhat.com>
466 * gdesktopappinfo.c: Fix a docs typo.
468 * gfileattribute.c: Add information about extended attributes
469 to the documentation. (#505058)
471 2008-01-04 Alexander Larsson <alexl@redhat.com>
475 Use the right type (uint) for the ask_password signal.
477 2008-01-04 Alexander Larsson <alexl@redhat.com>
482 Add g_app_info_supports_files()
483 Remove desktop arg from g_app_info_should_show().
485 * gdesktopappinfo.[ch]:
486 Implement g_app_info_supports_files() and new should_show()
487 Add g_desktop_app_info_set_desktop_env() to set the desktop
488 for should_show(). (This will be set by gtk+ later)
490 2008-01-04 Alexander Larsson <alexl@redhat.com>
493 * gmemoryinputstream.[ch]:
494 Improve API so that you can use multiple chunks
495 of memory and custom destroy functions. (#506374)
497 2008-01-03 Alexander Larsson <alexl@redhat.com>
500 Handle NULL attribute matchers safely, as we return this
501 for empty attribute matcher strings.
503 2008-01-03 Alexander Larsson <alexl@redhat.com>
505 * gunixmounts.c (g_unix_is_mount_path_system_internal):
506 Add /usr/local to list of internal mountpoints
508 2008-01-03 Alexander Larsson <alexl@redhat.com>
511 Check for HAVE_LCHOWN (#505887)
513 2008-01-03 Alexander Larsson <alexl@redhat.com>
517 Add define for selinux context attribute.
518 Fix missing : -> :: namespace separator change
519 Fix missing _ -> - name change for xattr-sys.
522 2008-01-03 Alexander Larsson <alexl@redhat.com>
525 Link to libglib and libgobject directly (#504879)
526 Patch from Sebastien Bacher
528 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
530 * gfile.c: Expanded the g_file_new_for_commandline_arg
531 description a bit, based on the code and the docs of the
532 other g_file_new_for_* functions.
534 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
536 * gfilemonitor.h: Fixed typo in docs.
538 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
540 Updates to GIO documentation. (#506395, Mikael Hermansson)
542 * gcontenttype.c: Describe memory management for return value of
543 g_content_types_get_registered(). Missing piece from #505815.
544 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
545 GVolume, GDrive, GMounts, which hopefully gives the user less
546 confusions when using this API. Following explainations from
547 Alexander Larsson on gtk-devel-list.
549 2007-12-30 Matthias Clasen <mclasen@redhat.com>
551 * gfileinfo.c: Expand the long description.
553 2007-12-30 Matthias Clasen <mclasen@redhat.com>
556 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
557 fix builds with --disable-visibility. (#500273, Christian Persch)
559 2007-12-30 Matthias Clasen <mclasen@redhat.com>
561 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
562 in the list of returned app infos.
564 2007-12-30 Matthias Clasen <mclasen@redhat.com>
566 * gappinfo.c: Fix a cross-reference
568 2007-12-30 Matthias Clasen <mclasen@redhat.com>
570 * gfileinputstream.c:
571 * gfileoutputstream.c:
577 * gfileinfo.c: Documentation updates.
579 2007-12-26 Matthias Clasen <mclasen@redhat.com>
581 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
584 2007-12-26 Matthias Clasen <mclasen@redhat.com>
586 * gcontenttype.c (g_content_types_get_registered): Don't return
587 freed memory (#505815, Mikael Hermansson)
589 2007-12-25 Paolo Borelli <pborelli@katamail.com>
591 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
592 used to detect statbuf->st_blocks. (#505042)
594 2007-12-24 Matthias Clasen <mclasen@redhat.com>
596 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
597 environment handling. (#504829, Cosimo Cecchi)
599 2007-12-22 Matthias Clasen <mclasen@redhat.com>
601 * gappinfo.c: Doc improvements
603 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
606 2007-12-20 Matthias Clasen <mclasen@redhat.com>
608 * === Released 2.15.0 ===
610 2007-12-20 Hans Breuer <hans@breuer.org>
612 * makefile.msc : don't build gdesktopappinfo.obj, it collides
613 with symbols gwin32appinfo.obj, added gmount.obj
614 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
616 2007-12-20 Alexander Larsson <alexl@redhat.com>
622 * gfilenamecompleter.c:
625 * gpollfilemonitor.c:
626 File attribute renames:
629 id::fs -> id::filesystem
631 2007-12-20 Alexander Larsson <alexl@redhat.com>
640 Add GMountUnmountFlags to all unmount and
642 Add g_mount_remount() call.
644 2007-12-20 Alexander Larsson <alexl@redhat.com>
646 * gvfs.c (get_default_vfs):
647 Fix unused variable warning
649 2007-12-19 Matthias Clasen <mclasen@redhat.com>
651 * pltcheck.sh: Update
653 2007-12-19 Matthias Clasen <mclasen@redhat.com>
655 * gunionvolumemonitor.c:
656 * gunixmount.c: Remove C99 comments
658 2007-12-19 Matthias Clasen <mclasen@redhat.com>
660 * gio.symbols: Add some missing symbols
662 2007-12-19 Alexander Larsson <alexl@redhat.com>
665 Make g_io_modules_load_all_in_directory not unuse
666 loaded modules so that users of it can do stuff
668 Init internal "module" types.
669 Initialize static prio and name for types so that
670 we don't have to load modules to get it.
672 * gnativevolumemonitor.h:
674 Move is_supported to parent class so that
675 non-native monitors can avoid being initialized
676 too. (For instance GDaemonVolumeMonitor if we're
677 not using GDaemonVfs.)
679 * glocaldirectorymonitor.[ch]:
680 * glocalfilemonitor.[ch]:
681 * gunionvolumemonitor.c:
682 * gunixvolumemonitor.c:
684 Find plugins using the static prio+name to
685 avoid unnecessarily loading the modules.
687 2007-12-19 Alexander Larsson <alexl@redhat.com>
692 2007-12-19 Alexander Larsson <alexl@redhat.com>
694 * gunionvolumemonitor.c:
695 Store the native type as GType, not class so that
696 we can unload it. But still avoid unnecessarily
699 2007-12-19 David Zeuthen <davidz@redhat.com>
701 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
702 add signals 'disconnected' and 'eject-button' on GDrive. Add
703 signal 'removed' on GVolume and 'unmounted' on GMount.
705 * gdrive.c: (g_drive_base_init):
707 * gfile.c: (g_file_mount_mountable),
708 (g_file_mount_enclosing_volume):
711 * gmount.c: (g_mount_base_init):
713 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
714 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
715 * gvolume.c: (g_volume_base_init), (g_volume_mount):
719 2007-12-17 Matthias Clasen <mclasen@redhat.com>
721 * *.c: Fix up includes in the section docs.
723 2007-12-17 Alexander Larsson <alexl@redhat.com>
725 * gnativevolumemonitor.h:
726 * gunionvolumemonitor.c:
727 * gunixvolumemonitor.c:
728 Add is_supported() to GNativeVolumeMonitorClass so
729 that we can avoid having to create an object to see
730 if the backend is supported at runtime.
731 Also add name member and an env var to pick a specific
732 volume monitor backend.
736 Add cancellable to _g_mount_get_for_mount_path()
738 * glocaldirectorymonitor.c:
739 * glocalfilemonitor.c:
740 Avoid loading and unloading modules while sorting.
742 2007-12-17 Matthias Clasen <mclasen@redhat.com>
745 * gunixmounts.[hc]: Namespace waste reduction, move some
746 g_get_unix_mount functions to the g_unix_mount namespace.
749 * gunixvolumemonitor.c:
751 * glocaldirectorymonitor.c: Update all callers.
753 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
755 2007-12-17 Alexander Larsson <alexl@redhat.com>
758 Add doc comments about what GFile operations are
759 guaranteed to not block.
761 2007-12-17 Alexander Larsson <alexl@redhat.com>
764 Add missing #ifdef fixing OSX build.
765 (#503334, patch from Richard Hult)
767 2007-12-14 David Zeuthen <davidz@redhat.com>
771 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
772 (g_mount_eject), (g_mount_eject_finish):
774 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
775 (get_volume_for_uuid), (get_mount_for_uuid),
776 (g_union_volume_monitor_class_init),
777 (get_default_native_type_with_exclude), (get_default_native_type),
778 (get_native_type), (update_native_type),
779 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
780 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
781 (g_unix_mount_can_eject), (eject_unmount_cb),
782 (eject_unmount_read_error), (eject_unmount_do),
783 (g_unix_mount_unmount), (g_unix_mount_eject),
784 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
785 * gunixmounts.c: (g_unix_mount_guess_can_eject),
786 (g_unix_mount_point_guess_can_eject):
788 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
789 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
790 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
791 (g_unix_volume_mount), (g_unix_volume_eject),
792 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
793 * gunixvolumemonitor.c: (get_volume_for_uuid),
794 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
796 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
797 (g_volume_eject), (g_volume_eject_finish):
799 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
800 (g_volume_monitor_get_mount_for_uuid):
803 Provide eject() on both GMount and GVolume and utility functions
804 to guess whether a GUnixMountPoint or GUnixMountEntry should be
805 ejected. Introduce the concept of UUID's and wire it into GVolume
806 and GMount and provide API on GVolumeMonitor to find such
807 instances. Also handle the case where an external
808 GNativeVolumeMonitor fails to initialize. Lock around the
809 _g_get_mount_for_mount_path() function such that volume monitor
810 implementations won't have to do locking themselves.
812 2007-12-17 Matthias Clasen <mclasen@redhat.com>
820 * gvolume.h: Documentation updates
822 2007-12-14 Matthias Clasen <mclasen@redhat.com>
825 * gfile.h: Doc updates
827 2007-12-14 Matthias Clasen <mclasen@redhat.com>
830 * gdesktopappinfo.c: Use hash table iterators.
832 2007-12-14 Alexander Larsson <alexl@redhat.com>
835 * gfileattribute.[ch]:
836 * gfileattribute-priv.h:
837 Move GFileAttributeValue to a private header, as
841 Make set_attribute take a type + a pointer instead
842 of a GFileAttributeValue.
845 Fix up for above changes.
846 Add g_file_info_get_attribute_data to get
847 all info in one call, g_file_info_get_attribute_status
848 to get the status and g_file_info_get_attribute_as_string.
852 * glocalfileinfo.[ch]:
856 Make _guess_type static.
858 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
861 * inotify/Makefile.am: Fixed build when srcdir != builddir,
862 made mkenums and friends use temporary files to avoid leaving
863 empty generated files on failure (#503470).
865 2007-12-14 Alexander Larsson <alexl@redhat.com>
870 2007-12-14 Alexander Larsson <alexl@redhat.com>
874 * gfileattribute.[ch]:
877 * glocalfileoutputstream.c:
878 * gmountoperation.[ch]:
879 * goutputstream.[ch]:
880 Clean up all flags enums to not have _FLAGS in them
881 Make the names of some of the enums better.
886 2007-12-14 Michael Natterer <mitch@imendio.com>
888 * gio.symbols: fix g_io_scheduler symbol names.
890 2007-12-14 Alexander Larsson <alexl@redhat.com>
896 * gbufferedinputstream.h:
897 * gbufferedoutputstream.h:
900 * gdatainputstream.h:
901 * gdataoutputstream.h:
903 * gdirectorymonitor.h:
910 * gfileinputstream.h:
912 * gfilenamecompleter.h:
913 * gfileoutputstream.h:
914 * gfilterinputstream.h:
915 * gfilteroutputstream.h:
923 * gmemoryinputstream.h:
924 * gmemoryoutputstream.h:
929 * gsimpleasyncresult.h:
931 * gunixinputstream.h:
933 * gunixoutputstream.h:
937 * inotify/Makefile.am:
938 Only allow including <gio/gio.h> from apps
940 2007-12-14 Alexander Larsson <alexl@redhat.com>
943 * gsimpleasyncresult.c:
944 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
945 Split out the send_to_mainloop call into two versions instead
946 of having the block argument.
948 2007-12-13 Alexander Larsson <alexl@redhat.com>
952 * gbufferedinputstream.c:
954 * gfileinputstream.c:
955 * gfileoutputstream.c:
959 g_push/pop_current_cancellable ->
960 g_cancellable_push/pop_current
962 2007-12-13 Alexander Larsson <alexl@redhat.com>
966 Rename g_mount_for_location to g_file_mount_enclosing_volume.
968 2007-12-13 Alexander Larsson <alexl@redhat.com>
971 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
973 2007-12-12 Alexander Larsson <alexl@redhat.com>
976 Fix race condition when freeing proxy in
977 g_io_job_send_to_mainloop().
979 2007-12-12 Alexander Larsson <alexl@redhat.com>
985 Make attribute namespace separator "::" instead of ":".
986 Use - instead of _ as separator in attribute names.
988 2007-12-12 Alexander Larsson <alexl@redhat.com>
990 * gbufferedinputstream.h:
991 * gbufferedoutputstream.h:
992 * gdatainputstream.h:
993 * gdataoutputstream.h:
994 * gdirectorymonitor.h:
996 * gfileinputstream.h:
998 * gfileoutputstream.h:
999 * gfilterinputstream.h:
1000 * gfilteroutputstream.h:
1002 * glocalfileinputstream.h:
1003 * glocalfileoutputstream.h:
1004 * gmemoryinputstream.h:
1005 * gmemoryoutputstream.h:
1006 * gnativevolumemonitor.h:
1008 * gunixinputstream.h:
1009 * gunixoutputstream.h:
1012 s/parent/parent_instance/ in GObjects
1014 2007-12-12 Alexander Larsson <alexl@redhat.com>
1019 No need for padding for interfaces
1021 2007-12-12 Alexander Larsson <alexl@redhat.com>
1025 * gbufferedinputstream.c:
1026 * gbufferedoutputstream.c:
1029 * gdatainputstream.[ch]:
1030 * gdesktopappinfo.c:
1031 * gdirectorymonitor.c:
1033 * gfileattribute.[ch]:
1036 * gfileinputstream.h:
1037 * gfilemonitor.[ch]:
1038 * gfileoutputstream.[ch]:
1039 * gfilterinputstream.h:
1040 * gfilteroutputstream.h:
1043 * gloadableicon.[ch]:
1044 * gmemoryinputstream.c:
1045 * gmountoperation.c:
1047 Fix up a bunch of details in the docs.
1052 2007-12-11 David Zeuthen <davidz@redhat.com>
1054 Rework how volumes, drives and volume monitoring is
1055 done. Previosly the model was
1057 GDrive <1-1> GVolume
1059 where a GDrive instance represented a mount point and a GVolume
1060 instance represented a mounted file system. This patch changes it
1063 GDrive <1-N> GVolume <1-1> GMount
1065 where GMount now serves the purpose of the old GVolume and the new
1066 GVolume serves the purpose of the old GDrive. In addition the new
1067 GDrive interface is used to represent a collection of GVolume
1068 instances (typically partitions) and also contains utility to query
1069 the state of the physical drive the GDrive object represents (such
1070 as checking for media, polling the drive, ejecting the media etc.).
1072 Also implement mounting and unmounting in the Unix volume monitor
1073 backend. A subquent patch will introduce GDrive support for ejection
1077 * gdrive.c: (g_drive_is_media_check_automatic),
1078 (g_drive_is_media_removable), (g_drive_has_media),
1079 (g_drive_can_poll_for_media), (g_drive_eject),
1080 (g_drive_eject_finish), (g_drive_poll_for_media),
1081 (g_drive_poll_for_media_finish):
1083 * gfile.c: (g_file_find_enclosing_mount):
1086 * glocaldirectorymonitor.c:
1087 (g_local_directory_monitor_constructor), (mounts_changed):
1088 * glocalfile.c: (get_mount_info),
1089 (g_local_file_find_enclosing_mount),
1090 (g_local_file_file_iface_init):
1091 * gnativevolumemonitor.h:
1092 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1093 (get_connected_drives), (g_union_volume_monitor_class_init),
1094 (child_volume_added), (child_volume_removed),
1095 (child_volume_changed), (child_mount_added), (child_mount_removed),
1096 (child_mount_pre_unmount), (child_mount_changed),
1097 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1098 (g_union_volume_monitor_remove_monitor),
1099 (_g_mount_get_for_mount_path):
1100 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1101 (guess_system_internal), (_g_get_unix_mounts),
1102 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1103 (g_unix_mount_free), (g_unix_mount_compare),
1104 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1105 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1106 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1107 (type_to_icon), (g_unix_mount_guess_name),
1108 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1109 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1110 (_resolve_symlink), (_resolve_dev_root):
1112 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1113 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1114 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1115 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1116 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1117 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1118 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1119 (g_unix_volume_volume_iface_init):
1121 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1122 (get_mounts), (get_volumes), (get_connected_drives),
1123 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1124 (mountpoints_changed), (mounts_changed),
1125 (g_unix_volume_monitor_init),
1126 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1127 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1128 * gunixvolumemonitor.h:
1129 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1130 (g_volume_mount), (g_volume_mount_finish):
1132 * gvolumemonitor.c: (g_volume_monitor_class_init),
1133 (g_volume_monitor_get_connected_drives),
1134 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1137 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1139 * gmountoperation.h (GPasswordFlags): Close the gap
1141 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1143 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1145 * gdesktopappinfo.[hc]: Remove _-prefixes
1147 2007-12-10 Tor Lillqvist <tml@novell.com>
1149 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1152 2007-12-10 Alexander Larsson <alexl@redhat.com>
1154 * gfile.c (g_file_set_display_name):
1155 Don't hardcode '/' (#502727)
1157 2007-12-09 Hans Breuer <hans@breuer.org>
1159 * makefile.msc : follow lib naming convention
1160 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1161 for user and group name, tested with ../tests/gio-ls
1163 2007-12-09 A. Walton <awalton@svn.gnome.org>
1165 * gdesktopappinfo.c:
1171 * gfileenumerator.c:
1176 * gmemoryinputstream.c:
1177 * gmemoryoutputstream.c:
1179 * gsimpleasyncresult.c:
1180 More documentation cleanup and filling in missing information, bringing
1181 GIO to 99% symbol coverage.
1183 2007-12-08 Hans Breuer <hans@breuer.org>
1185 [gio compiles and links on win32, not sure how much already works]
1186 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1187 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1188 base on win32 API; prefer g_lstat() over lstat(); instead of
1189 localtime_r() use an all GLib implementation on win32;
1190 get_mount_info() still needs a win32 specifc implementation
1191 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1192 win32_get_file_user_info to get owner/group info without uid/gid
1193 * glocalfileinputstream.c : include <io.h> on win32
1194 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1195 definition, use g_win32_ftruncate() for G_OS_WIN32
1196 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1197 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1198 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1199 * makefile.msc : updated
1201 2007-12-07 Alexander Larsson <alexl@redhat.com>
1203 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1204 Avoid warning spew if error == NULL
1206 2007-12-07 Alexander Larsson <alexl@redhat.com>
1209 Update docs wrt etags
1211 2007-12-06 Alexander Larsson <alexl@redhat.com>
1214 Include sys/types.h for dev_t (#501919)
1216 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1220 Make abicheck and pltcheck pass.
1222 2007-12-05 Alexander Larsson <alexl@redhat.com>
1225 * giomodule-priv.h: Added.
1226 * glocaldirectorymonitor.c:
1227 * glocalfilemonitor.c:
1228 * gunionvolumemonitor.c:
1230 Actually add the declaration of _g_io_modules_ensure_loaded
1232 2007-12-05 Alexander Larsson <alexl@redhat.com>
1234 * gdatainputstream.c:
1239 * glocaldirectorymonitor.c:
1240 * glocalfilemonitor.c:
1241 * gunionvolumemonitor.c:
1243 Make g_io_modules_ensure_loaded a private function and
1244 don't pass in the dirname. This means we can do magic
1245 directory finding in the win32 version.
1246 Export the actual load-modules-in-directory code so that
1247 gvfs can reuse that.
1249 2007-12-05 Alexander Larsson <alexl@redhat.com>
1251 * gbufferedinputstream.c:
1252 * gbufferedoutputstream.c:
1255 * gfileenumerator.[ch]:
1256 * gfileinputstream.c:
1257 * gfileoutputstream.[ch]:
1258 * gfilterinputstream.c:
1259 * gfilteroutputstream.c:
1260 * ginputstream.[ch]:
1262 * glocalfileenumerator.c:
1263 * glocalfileinputstream.c:
1264 * glocalfileoutputstream.c:
1265 * gmemoryinputstream.c:
1266 * gmemoryoutputstream.c:
1267 * goutputstream.[ch]:
1270 * gunixinputstream.c:
1271 * gunixoutputstream.c:
1272 Rename all struct members named:
1273 read, write, close, truncate, or mount
1274 to foo_fn, as these are reserved names
1275 and could be defined as macros in libc.
1278 2007-12-04 Alexander Larsson <alexl@redhat.com>
1281 (g_output_stream_close):
1282 Only call flush if non-null.
1284 2007-11-30 Dan Winship <danw@gnome.org>
1286 * ginputstream.c (g_input_stream_set_pending): Make this take a
1287 GError and return a gboolean, and do the "outstanding operation"
1288 check (and the "stream is already closed" check) itself.
1289 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1291 * goutputstream.c (g_output_stream_set_pending)
1292 (g_output_stream_clear_pending): Likewise
1294 * gbufferedinputstream.c:
1295 * gfileinputstream.c:
1296 * gfileoutputstream.c: Update for that
1298 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1299 Like g_simple_async_report_error_in_idle, but takes a GError
1300 rather than building one.
1302 2007-11-30 Dan Winship <danw@gnome.org>
1304 * goutputstream.c: Don't cheat and unset the "pending" flag around
1305 inner calls. Instead, call the class method directly rather than
1306 the wrapper function that checks "pending"
1308 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1310 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1312 2007-12-03 Hans Breuer <hans@breuer.org>
1314 [start of port to win32/msvc]
1315 * gcancellable.c : HAVE_UNIST_H and _pipe()
1316 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1317 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1318 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1320 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1321 * glocalvfs.c : use HAVE_PWD_H
1322 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1323 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1324 * Makefile.am : added to EXTRA_DIST
1326 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1328 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1331 2007-12-03 Alexander Larsson <alexl@redhat.com>
1334 Handle OSX style xattrs API (#500506)
1336 2007-12-03 Alexander Larsson <alexl@redhat.com>
1340 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1342 2007-12-02 A. Walton <awalton@svn.gnome.org>
1346 Documentation accuracy fixes.
1348 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1350 * gioenumtypes.c.template: Fix typo.
1352 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1354 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1356 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1358 * gdirectorymonitor.c:
1359 * gfilemonitor.c: Add properties
1361 * gbufferedoutputstream.c: Don't mark buffer-size property
1364 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1366 * gbufferedoutputstream.c: Add auto-grow property.
1368 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1370 * *.c: Unify the capitalization of section headings.
1372 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1374 * gmountoperation.c: Add properties
1376 * gdatainputstream.c: Turn byte-order and newline-type into
1379 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1381 * gioenumtypes.[hc].template: Templates for enum registration
1383 * Makefile.am: Generate gioenumtypes.[hc]
1385 * gio.h: Include gioenumtypes.h
1387 * gfile.h: Add some explicit nicks.
1389 * gio.symbols: Add new symbols
1391 * pltcheck.sh: Adjust
1393 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1395 * *.c: Explain etags and link to the explanation
1397 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1399 * *.c: Explain I/O priority.
1401 * *.c: More coding style fixes.
1403 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1405 * gasyncresult.c: Add another paragraph to the intro,
1406 adjust coding style of example.
1408 2007-11-29 A. Walton <awalton@svn.gnome.org>
1411 Fixes unknown meaning in GAppLaunchContext docs.
1413 Clarify asynchronous ops.
1415 Fix entity tag docs.
1418 Provides missing gtk-doc section, fixes API docs slighly.
1419 * gsimpleasyncresult.c:
1420 Fill in missing info in docs.
1421 * gunixinputstream.c:
1422 * gunixoutputstream.c:
1423 Be more expressive in short description.
1425 Remove gtk-doc stubs for non-public API.
1427 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1429 * *.c: Coding style fixups
1431 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1433 * inotify/inotify-helper.c: Don't export the lock from libgio.
1435 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1438 * abicheck.sh: Fix copy-and-paste leftovers
1440 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1442 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1444 2007-11-28 Alexander Larsson <alexl@redhat.com>
1448 Removed unnecessary file
1450 * gdesktopappinfo.[ch]:
1453 * glocaldirectorymonitor.[ch]:
1455 * glocalfileenumerator.[ch]:
1456 * glocalfileinputstream.[ch]:
1457 * glocalfilemonitor.[ch]:
1458 * glocalfileoutputstream.[ch]:
1460 * gnativevolumemonitor.c:
1461 * gpollfilemonitor.[ch]:
1462 * gunionvolumemonitor.[ch]:
1465 * gunixvolumemonitor.[ch]:
1468 * inotify/ginotifydirectorymonitor.[ch]:
1469 * inotify/ginotifyfilemonitor.[ch]:
1470 * inotify/inotify-helper.c:
1471 Append _ to all internal functions
1475 Export symbols needed for modules
1477 2007-11-28 Alexander Larsson <alexl@redhat.com>
1480 * abicheck.sh: Added.
1481 * makegioalias.pl: Added.
1482 * pltcheck.sh: Added.
1483 * gio.symbols: Added.
1486 Initial work on adding symbol handling.
1489 Correct ifdef guard name
1492 * inotify/Makefile.am:
1493 * xdgmime/Makefile.am:
1494 Include toplevel Makefile.decl
1496 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1498 * gcontenttype.c: Move doc comments to the unix section.
1500 * *.[hc]: More trivial doc corrections.
1502 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1504 * gpollfilemonitor.c:
1508 * gdesktopappinfo.c:
1513 * gdatainputstream.c:
1514 * gdatainputstream.h:
1515 * gdataoutputstream.c:
1516 * gdataoutputstream.h:
1517 * gfileinfo.h: Doc cleanups
1519 2007-11-28 Andre Klapper <a9016009@gmx.de>
1521 * gdesktopappinfo.c: Fix a typo.
1523 2007-11-27 Andre Klapper <a9016009@gmx.de>
1525 * glocalfileoutputstream.c: Fix a typo.
1527 2007-11-27 Alexander Larsson <alexl@redhat.com>
1530 Don't include removed headers
1532 2007-11-27 Alexander Larsson <alexl@redhat.com>
1535 * gsocketinputstream.[ch]: Removed.
1536 * gsocketoutputstream.[ch]: Removed.
1537 * gunixinputstream.[ch]: Added.
1538 * gunixoutputstream.[ch]: Added.
1539 Renamed GSocket*Stream to GUnix*Stream and made
1540 it unix-only, since its not really only for sockets
1541 and it only works on unix (but is highly useful there).
1543 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1549 * gbufferedinputstream.c:
1550 * gbufferedinputstream.h:
1551 * gbufferedoutputstream.c:
1552 * gbufferedoutputstream.h:
1556 * gdatainputstream.c:
1557 * gdatainputstream.h:
1558 * gdataoutputstream.c:
1559 * gdataoutputstream.h:
1560 * gdirectorymonitor.c:
1561 * gdirectorymonitor.h:
1568 * gfileenumerator.c:
1569 * gfileenumerator.h:
1574 * gfileinputstream.c:
1575 * gfileinputstream.h:
1578 * gfilenamecompleter.c:
1579 * gfilenamecompleter.h:
1580 * gfileoutputstream.c:
1581 * gfileoutputstream.h:
1582 * gfilterinputstream.c:
1583 * gfilterinputstream.h:
1584 * gfilteroutputstream.c:
1585 * gfilteroutputstream.h:
1598 * glocalfileoutputstream.c:
1599 * gmemoryinputstream.c:
1600 * gmemoryinputstream.h:
1601 * gmemoryoutputstream.c:
1602 * gmemoryoutputstream.h:
1603 * gmountoperation.c:
1604 * gmountoperation.h:
1607 * gpollfilemonitor.c:
1610 * gsimpleasyncresult.c:
1611 * gsimpleasyncresult.h:
1612 * gsocketinputstream.c:
1613 * gsocketinputstream.h:
1614 * gsocketoutputstream.c:
1615 * gsocketoutputstream.h:
1622 * gunixvolumemonitor.c:
1631 Bumps documentation to 93% symbol coverage, touching most
1632 of the public files. Fixes broken function documentation prototypes.
1633 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1634 gtk-doc headers in private files.
1636 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1638 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1639 (g_buffered_input_stream_read_byte):
1640 * gbufferedinputstream.h:
1641 New functions for efficient access to buffer and simple single byte
1644 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1645 (g_data_input_stream_read_until):
1646 * gdatainputstream.h:
1647 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1648 read_until with multiple stop chars.
1650 2007-11-27 Alexander Larsson <alexl@redhat.com>
1654 * inotify/Makefile.am:
1655 Use the user-specified giomoduledir
1657 2007-11-27 Alexander Larsson <alexl@redhat.com>
1661 Add catch-all gio.h header
1662 Don't install gdummyfile.h
1664 2007-11-26 Alexander Larsson <alexl@redhat.com>
1666 * Makefile.am (gioinclude_HEADERS):
1667 Remove trailing whitespace
1669 2007-11-26 Alexander Larsson <alexl@redhat.com>
1671 Merge gio-standalone into glib
1673 2007-11-25 Christian Kellner <gicmo@gnome.org>
1675 * gio/goutputstream.c:
1676 Fix small mistake in the docs.
1678 2007-11-21 Christian Persch <chpe@gnome.org>
1680 * gio/glocalfile.c: (g_local_file_trash):
1681 Convert filenames to UTF-8 for GError.
1682 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1683 as per xdg base dir spec.
1685 2007-11-21 Christian Persch <chpe@gnome.org>
1687 * gio/gdesktopappinfo.c:
1688 Use that g_key_file_to_data cannot fail.
1690 Use stock defines for the key file group and key names.
1693 2007-11-21 Alexander Larsson <alexl@redhat.com>
1696 (copy_stream_with_progress):
1697 Make sure we do a final progress callback with
1698 the full total size.
1700 2007-11-21 Alexander Larsson <alexl@redhat.com>
1703 Export g_file_copy_attributes
1704 Remove padding as its not needed for interfaces
1706 2007-11-20 Alexander Larsson <alexl@redhat.com>
1711 Add G_IO_ERROR_WOULD_MERGE for
1712 copy/move dir on dir with overwrite.
1714 2007-11-20 Alexander Larsson <alexl@redhat.com>
1717 * gio/glocalfileinfo.c:
1718 Add COPY_NAME (this is an optional
1719 non-modified utf8 version of the name) that
1722 2007-11-20 Alexander Larsson <alexl@redhat.com>
1724 * gio/glocalfileenumerator.c:
1725 Report errors as GIOError, not GFileError
1727 2007-11-16 Alexander Larsson <alexl@redhat.com>
1729 * gio/glocalfileoutputstream.c:
1730 * gio/gwin32appinfo.c:
1731 Fix typos in strings.
1732 Patch from Luca Ferretti <elle.uca@libero.it>
1734 2007-11-15 Alexander Larsson <alexl@redhat.com>
1737 Post release version bump
1739 === gio-standalone 0.1.2 ===
1741 2007-11-15 Alexander Larsson <alexl@redhat.com>
1743 * docs/reference/gio/Makefile.am:
1744 Fix up distcheck by removing weird
1750 2007-11-14 Alexander Larsson <alexl@redhat.com>
1752 * gio/gdesktopappinfo.c:
1753 * gio/glocaldirectorymonitor.c:
1755 * gio/glocalfileinfo.c:
1756 * gio/inotify/inotify-sub.c:
1757 * programs/gio-cat.c:
1758 * programs/gio-copy.c:
1759 * programs/gio-info.c:
1760 * programs/gio-ls.c:
1761 * programs/gio-monitor-dir.c:
1762 * programs/gio-monitor-file.c:
1763 * programs/gio-mount.c:
1764 * programs/gio-move.c:
1765 * programs/gio-rm.c:
1766 * programs/gio-save.c:
1767 * programs/gio-trash.c:
1768 Leak fixes from Kjartan Maraas
1770 2007-11-14 Alexander Larsson <alexl@redhat.com>
1772 * gio/fam/fam-helper.c:
1774 * gio/glocalfileinfo.c:
1778 * gio/inotify/inotify-diag.c:
1779 * gio/inotify/inotify-kernel.c:
1780 Various code cleanups from Kjartan Maraas
1782 2007-11-14 Alexander Larsson <alexl@redhat.com>
1784 * gio/gioscheduler.c:
1786 Set up threadpool so that we cache 2 unused
1787 idle threads for at 15 secs. This means we
1788 will reuse thread-local data (like dbus connections)
1791 2007-11-14 Alexander Larsson <alexl@redhat.com>
1793 * gio/fam/fam-helper.c:
1794 * gio/fam/gfamdirectorymonitor.c:
1795 * gio/fam/gfamfilemonitor.c:
1797 * gio/gcontenttype.c:
1798 * gio/gdatainputstream.c:
1799 * gio/gdataoutputstream.c:
1803 * gio/gfileattribute.h:
1804 * gio/gfileenumerator.c:
1806 * gio/ginputstream.c:
1809 * gio/glocalfileinfo.c:
1810 * gio/goutputstream.c:
1811 * gio/gpollfilemonitor.c:
1812 * gio/gsimpleasyncresult.c:
1813 * gio/gunixmounts.c:
1814 * gio/gunixmounts.h:
1815 * gio/inotify/ginotifydirectorymonitor.c:
1816 * gio/inotify/ginotifyfilemonitor.c:
1817 * gio/inotify/inotify-diag.c:
1818 * gio/inotify/inotify-kernel.c:
1819 * gio/inotify/inotify-path.c:
1821 * gio/test-streams.c:
1822 * programs/gio-info.c:
1823 * programs/gio-monitor-dir.c:
1824 * programs/gio-monitor-file.c:
1825 Various code cleanups from Kjartan Maraas
1827 2007-11-13 Alexander Larsson <alexl@redhat.com>
1830 Handle the uri-scheme calls for dummy files
1832 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1834 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1835 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1836 to avoid clash with the C++ keyword.
1838 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1840 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1841 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1843 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1845 * gio/glocaldirectorymonitor.c:
1846 * gio/glocalfilemonitor.c:
1847 * gio/gunionvolumemonitor.c:
1848 Don't use g_once_init_*() for initializations that could fail and
1849 could leave the initialization variable set to 0 but use GOnce.
1850 This prevents a deadlock on the second call when trying to create
1851 a monitor and no monitor type is available. Thanks to Sven Herzberg
1854 2007-11-11 Sven Herzberg <sven@imendio.com>
1856 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1857 #ifdef (make it work on MacOS X again)
1859 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1861 Fixes Changelog for last two commits (sorry guys).
1863 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1865 * gio/gbufferedinputstream.c:
1866 * gio/gdatainputstream.c:
1868 * gio/gfileoutputstream.c:
1869 * gio/gfilterinputstream.c:
1870 * gio/glocalfileinputstream.c:
1873 More consistency fixes in g*stream.c files.
1874 Significant clean of gfile's documentation, filling in of
1875 asynchronous operations documentation.
1877 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1879 * gio/gasyncresult.c:
1880 * gio/gbufferedinputstream.c:
1881 * gio/gbufferedoutputstream.c:
1882 * gio/gcancellable.c:
1883 * gio/gcontenttype.c:
1884 * gio/gdatainputstream.c:
1885 * gio/gdataoutputstream.c:
1886 * gio/gdesktopappinfo.c:
1889 * gio/gfileattribute.c:
1890 * gio/gio/gfileenumerator.c:
1892 * gio/gfileinputstream.c:
1893 * gio/gfilemonitor.c:
1894 * gio/gfileoutputstream.c:
1895 * gio/ginputstream.c:
1897 * gio/gioscheduler.c:
1898 * gio/gloadableicon.c:
1899 * gio/glocalfileoutputstream.c:
1900 * gio/gmemoryoutputstream.c:
1901 * gio/gmountoperation.c:
1902 * gio/goutputstream.c:
1904 * gio/gsimpleasyncresult.c:
1905 * gio/gunionvolumemonitor.c:
1906 * gio/gunixmounts.c:
1907 * gio/gunixvolume.c:
1911 * gio/gvolumemonitor.c:
1912 Updated documentation stubs, working towards consistency and
1915 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1917 * gio/gmemoryoutputstream.c:
1918 * gio/gmemoryoutputstream.h:
1919 Change g_memory_output_stream_set_free_on_close() to
1920 g_memory_output_stream_set_free_data() as this makes more sense and
1921 is more consistent with GMemoryInputStream.
1923 2007-11-07 Alexander Larsson <alexl@redhat.com>
1930 Change how we find the default vfs so that
1931 we can handle a gvfs failing to init
1933 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
1935 * gio/gbufferedoutputstream.c:
1936 * gio/gdatainputstream.c:
1937 * gio/gdataoutputstream.c:
1938 * gio/gfileinputstream.c:
1939 * gio/gfileoutputstream.c:
1940 * gio/gfilterinputstream.c:
1941 * gio/gfilteroutputstream.c:
1942 * gio/ginputstream.c:
1943 * gio/gmemoryinputstream.c:
1944 * gio/gmemoryoutputstream.c:
1945 * gio/goutputstream.c:
1946 * gio/gsimpleasyncresult.c:
1947 * gio/gsocketinputstream.c:
1948 * gio/gsocketoutputstream.c:
1949 Add guards to the remaining public functions, add a TODO for
1950 an unimplemented function and remove some useless guards.
1952 2007-11-07 Alexander Larsson <alexl@redhat.com>
1955 Autoconf checks for the various types of
1956 getpwuid_r and getgrgid_r
1958 * gio/glocalfileinfo.c:
1959 Use the autoconf checks from above
1961 2007-11-07 Alexander Larsson <alexl@redhat.com>
1964 (g_local_file_query_filesystem_info):
1965 Some fixes for the statvfs case
1967 2007-11-07 Alexander Larsson <alexl@redhat.com>
1970 (g_local_file_query_filesystem_info):
1971 Pick the "best" of statfs / statvfs for the system
1972 if both are availible.
1974 2007-11-07 Alexander Larsson <alexl@redhat.com>
1976 Solaris fixes from Halton.Huo@Sun.COM:
1983 * gio/glocalfileinfo.c:
1984 Fix for solaris definition of getpwuid_r
1986 * gio/test-streams.c:
1987 Use G_GNUC_PRETTY_FUNCTION
1989 2007-11-07 Alexander Larsson <alexl@redhat.com>
1991 * gio/gdesktopappinfo.c:
1992 (update_default_list):
1993 Remove double semicolon.
1994 Patch from Jens Granseuer
1996 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
1998 * docs/reference/gio/gio-sections.txt:
1999 * gio/gbufferedinputstream.c:
2000 * gio/gbufferedinputstream.h:
2001 * gio/gdatainputstream.c:
2002 * gio/gfileenumerator.c:
2003 * gio/gioscheduler.c:
2004 * gio/gunionvolumemonitor.c:
2006 * programs/gio-save.c:
2007 Fix typo: availible -> available. Unfortuntely this breaks API
2008 and ABI as g_buffered_input_stream_get_available() was renamed.
2010 * gio/gunixmounts.c:
2011 * gio/gbufferedinputstream.c:
2012 Add guards for public functions.
2014 2007-11-06 Ross Burton <ross@openedhand.com>
2016 * docs/reference/gio/Makefile.am:
2017 Fix invalid += usage which automake 1.10 doesn't like.
2019 2007-11-06 Alexander Larsson <alexl@redhat.com>
2022 (g_app_launch_context_class_init):
2025 Patch from Ross Burton
2027 2007-11-06 Alexander Larsson <alexl@redhat.com>
2030 Post release version bump
2032 === gio-standalone 0.1.1 ===
2034 2007-11-06 Alexander Larsson <alexl@redhat.com>
2037 Bump version to 0.1.1
2039 * gio/gsimpleasyncresult.c:
2040 (g_simple_async_result_set_from_error):
2041 Remove bogus g_return_if_fail
2043 2007-11-06 Alexander Larsson <alexl@redhat.com>
2046 The name is gio-standalone
2049 Add top src/builddir to includedir
2051 2007-11-06 Alexander Larsson <alexl@redhat.com>
2053 * docs/reference/gio/gio-sections.txt:
2055 * gio/gbufferedinputstream.c:
2056 * gio/gbufferedoutputstream.c:
2057 * gio/gcancellable.c:
2058 * gio/gdatainputstream.h:
2059 * gio/gdataoutputstream.c:
2060 * gio/gdataoutputstream.h:
2061 * gio/gdirectorymonitor.c:
2063 * gio/gfileattribute.c:
2064 * gio/gfileattribute.h:
2065 * gio/gfileenumerator.c:
2066 * gio/gfileenumerator.h:
2069 * gio/gfileinputstream.h:
2070 * gio/gfilemonitor.c:
2071 * gio/gfileoutputstream.h:
2072 * gio/glocalfilemonitor.h:
2073 * gio/glocalfileoutputstream.h:
2074 * gio/gmemoryinputstream.c:
2075 * gio/gmemoryoutputstream.c:
2076 * gio/gmountoperation.c:
2077 * gio/goutputstream.c:
2078 * gio/goutputstream.h:
2080 * gio/gsimpleasyncresult.c:
2081 * gio/gunixmounts.c:
2082 * gio/gunixmounts.h:
2084 * gio/inotify/inotify-helper.c:
2085 Fix gtk-doc warnings
2087 Patch from Ross Burton
2089 2007-11-06 Alexander Larsson <alexl@redhat.com>
2091 * gio/gfilenamecompleter.c:
2092 (g_filename_completer_get_completions):
2095 * gio/gunixvolume.c:
2096 Remove unused function
2098 Patches from Ross Burton
2100 2007-11-06 Alexander Larsson <alexl@redhat.com>
2105 Padding not needed for interfaces
2107 2007-11-06 Alexander Larsson <alexl@redhat.com>
2109 * gio/gfilemonitor.c:
2113 Make giotypes.h an internal file
2116 * gio/gbufferedinputstream.h:
2117 * gio/gbufferedoutputstream.h:
2118 * gio/gcancellable.h:
2119 * gio/gdatainputstream.h:
2120 * gio/gdataoutputstream.h:
2121 * gio/gdirectorymonitor.c:
2122 * gio/gdirectorymonitor.h:
2127 * gio/gfileattribute.h:
2128 * gio/gfileenumerator.h:
2133 * gio/gfilemonitor.c:
2134 * gio/gfilemonitor.h:
2135 * gio/gfilenamecompleter.c:
2136 * gio/gfilenamecompleter.h:
2137 * gio/gfilterinputstream.h:
2138 * gio/gfilteroutputstream.h:
2139 * gio/ginputstream.h:
2140 * gio/gmemoryinputstream.h:
2141 * gio/gmemoryoutputstream.h:
2142 * gio/gmountoperation.c:
2143 * gio/gmountoperation.h:
2144 * gio/gnativevolumemonitor.c:
2145 * gio/goutputstream.h:
2148 * gio/gsimpleasyncresult.c:
2149 * gio/gsimpleasyncresult.h:
2150 * gio/gsocketinputstream.h:
2151 * gio/gsocketoutputstream.h:
2152 * gio/gthemedicon.c:
2153 * gio/gthemedicon.h:
2157 * gio/gvolumemonitor.c:
2158 * gio/gvolumemonitor.h:
2159 Add padding in classes where it seems useful
2160 Don't include giotypes.h from public headers
2161 Move in Class definitions into c file where possible
2166 2007-11-06 Alexander Larsson <alexl@redhat.com>
2168 * docs/reference/gio/gio-docs.xml:
2169 Better structure for API docs
2171 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2174 * gio/gloadableicon.c:
2175 * gio/gsimpleasyncresult.c:
2176 * gio/gthemedicon.c:
2177 Add some more guards to public functions. Only files missing are now
2180 2007-11-06 Alexander Larsson <alexl@redhat.com>
2182 * docs/reference/gio/gio-docs.xml:
2183 Remove old files, add missing ones
2185 2007-11-06 Alexander Larsson <alexl@redhat.com>
2187 * docs/reference/gio/gio-sections.txt:
2190 Hide implementation classes
2192 * gio/gdriveprivate.h:
2193 * gio/gvolumeprivate.h:
2194 Remove non-existing function declarations
2196 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2199 Fix compilation warnings and add guards to the new functions.
2201 * gio/gasyncresult.c:
2203 Add guards to the public functions.
2206 Implement get_path().
2208 2007-11-06 Alexander Larsson <alexl@redhat.com>
2210 * gio/gfilenamecompleter.c:
2211 Make g_filename_completer_get_completions
2212 return char ** instead of GList for
2215 * docs/reference/gio/gio-docs.xml:
2216 * docs/reference/gio/gio-sections.txt:
2218 * gio/gasyncresult.c:
2219 * gio/gbufferedinputstream.c:
2220 * gio/gbufferedoutputstream.c:
2221 * gio/gcancellable.c:
2222 * gio/gcontenttype.c:
2223 * gio/gdatainputstream.c:
2224 * gio/gdataoutputstream.c:
2225 * gio/gdesktopappinfo.c:
2226 * gio/gdirectorymonitor.c:
2230 * gio/gfileattribute.c:
2231 * gio/gfileenumerator.c:
2234 * gio/gfileinputstream.c:
2235 * gio/gfilemonitor.c:
2236 * gio/gfilenamecompleter.c:
2237 * gio/gfilenamecompleter.h:
2238 * gio/gfileoutputstream.c:
2239 * gio/gfilterinputstream.c:
2241 * gio/ginputstream.c:
2243 * gio/gioscheduler.c:
2244 * gio/gloadableicon.c:
2245 * gio/glocaldirectorymonitor.c:
2247 * gio/glocalfileinputstream.c:
2248 * gio/glocalfilemonitor.c:
2249 * gio/glocalfileoutputstream.c:
2251 * gio/gmemoryinputstream.c:
2252 * gio/gmemoryoutputstream.c:
2253 * gio/gmountoperation.c:
2254 * gio/goutputstream.c:
2255 * gio/gpollfilemonitor.c:
2257 * gio/gsimpleasyncresult.c:
2258 * gio/gsocketinputstream.c:
2259 * gio/gsocketoutputstream.c:
2260 * gio/gthemedicon.c:
2261 * gio/gunionvolumemonitor.c:
2263 * gio/gunixmounts.c:
2264 * gio/gunixvolume.c:
2265 * gio/gunixvolumemonitor.c:
2269 * gio/gvolumemonitor.c:
2270 * gio/gwin32appinfo.c:
2271 Add (mostly stub) doc strings to public functions.
2272 Patch from Andrew Walton (awalton@gmail.com)
2274 2007-11-06 Alexander Larsson <alexl@redhat.com>
2276 * gio/gappinfo.[ch]:
2277 Added GAppLaunchContext object and pass that to launch.
2278 This allows simple implementation of both
2279 launch-on-screen and startup notification via a gtk+
2280 subclass of GAppLaunchContext
2282 * gio/gdesktopappinfo.c:
2283 Implement GAppLaunchContext API
2285 * gio/gwin32appinfo.c:
2288 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2290 * gio/gmountoperation.c:
2291 Add some guards to GMountOperation's public functions.
2293 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2297 * gio/gcancellable.c:
2298 * gio/gdirectorymonitor.c:
2300 * gio/gfileenumerator.c:
2301 * gio/gfilemonitor.c:,
2302 * gio/gfilenamecompleter.c:
2305 * gio/gioscheduler.c:
2309 * gio/gvolumemonitor.c:
2310 Add even more guards to various public functions.
2312 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2315 Add guards to the public functions of GAppInfo.
2317 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2319 * gio/gcontenttype.c:
2320 Add some more guards for public functions.
2322 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2324 * gio/fam/fam-module.c:
2325 * gio/fam/gfamdirectorymonitor.c:
2326 * gio/fam/gfamdirectorymonitor.h:
2327 * gio/fam/gfamfilemonitor.c:
2328 * gio/fam/gfamfilemonitor.h:
2329 * gio/inotify/ginotifydirectorymonitor.c:
2330 * gio/inotify/ginotifydirectorymonitor.h:
2331 * gio/inotify/ginotifyfilemonitor.c:
2332 * gio/inotify/ginotifyfilemonitor.h:
2333 Add proper copyright information and remove an unused variable
2334 in the GInotifyFileMonitor constructor.
2336 * gio/gcancellable.c:
2337 Add a guard for a public function and an assertion to prevent
2338 an undefined program state.
2340 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2342 * gio/gfileattribute.c:
2343 Don't run into an assertion if the given attribute value is NULL
2344 in g_file_attribute_value_get_*() but instead return a fallback
2345 value that makes sense in most situations. Passing them a attribute
2346 value with the wrong type will still run into an assertion.
2348 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2350 * gio/gfileattribute.c:
2352 Add even more guards to the public functions. Also fix the refcounting
2353 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2354 let g_file_info_list_attributes() filter the attributes by namespace
2355 instead of simply ignoring the namespace parameter.
2357 2007-11-03 Sven Herzberg <sven@imendio.com>
2359 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2360 (This makes gio work on MacOS X again)
2362 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2365 Build the gio subdirectory before the docs. Otherwise the build will
2368 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2369 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2370 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2371 Add guards to the public functions.
2373 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2375 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2376 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2377 to prevent a compiler warning.
2379 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2380 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2381 return something in the non-void function find_topdir_for().
2383 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2390 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2392 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2393 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2394 * gwin32appinfo.c (g_win32_app_info_launch):
2395 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2396 envp_for_startup_id, g_desktop_app_info_launch,
2397 g_desktop_app_info_launch_uris):
2399 Give an opaque 'startup_id' string instead of 'envp'.
2400 Support empty file lists for launching new windows.
2401 Fix infinite recursion bug when launching URIs.
2403 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2406 Add guard to the new g_file_get_uri_scheme() function.
2408 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2411 Convert a g_return_val_if_fail() to setting the GError instead as
2412 otherwise applications have to verify the parameter before otherwise
2413 and the parameter might come directly from the user.
2415 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2417 * gio/inotify/ginotify*.[ch]:
2418 Add missing copyright information.
2420 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2423 Add guards in the beginning of public functions to check for valid
2424 parameters and fix a bug in copy_stream_with_progress() that could've
2425 caused writing less bytes than reading.
2426 * gio/glocalfileinfo.c:
2427 Check for a NULL parameter and set the GError accordingly then.
2428 * gio/goutputstream.c:
2429 Fix the same bug as in gfile.c that could've caused writing less bytes
2430 than reading in g_output_stream_real_splice().
2432 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2435 Use the correct gvolumeprivate.h naming
2437 2007-11-01 Christian Kellner <gicmo@gnome.org>
2440 Remove leftover "$(daemon_sources)" entry.
2442 2007-11-01 Christian Kellner <gicmo@gnome.org>
2447 Add copyright information to source files.
2449 2007-11-01 Alexander Larsson <alexl@redhat.com>
2453 Add g_file_get_uri_scheme
2455 2007-11-01 Alexander Larsson <alexl@redhat.com>
2458 * gio/gdesktopappinfo.c:
2459 * gio/gwin32appinfo.c:
2460 Add g_app_info_get_default_for_uri_scheme.
2462 2007-11-01 Alexander Larsson <alexl@redhat.com>
2465 Correct filename for gdriveprivate.h
2467 2007-10-31 Alexander Larsson <alexl@redhat.com>
2470 Rename id:value to id:file
2473 * gio/glocalfileinfo.c:
2476 2007-10-31 Alexander Larsson <alexl@redhat.com>
2478 * gio/gunixvolume.c:
2480 Remove g_volume_get_platform_id, as thats not
2481 needed with the simpler union volume monitor
2483 2007-10-31 Alexander Larsson <alexl@redhat.com>
2486 * gio/guniondrive.[ch]: Removed.
2487 * gio/gunionvolume.[ch]: Removed.
2488 Remove GUnionDrive/Volume
2490 * gio/gunionvolumemonitor.c:
2491 Simplify union volume monitor, now we
2492 only have one native volume monitor and
2493 we use the actual volumes/drives from the
2494 child monitors instead of wrapping them
2496 * gio/gnativevolumemonitor.[ch]:
2497 Base class for native volume monitors.
2498 Includes priority and get_volume_for_mountpoint
2501 Add g_file_find_enclosing_volume
2504 Remove volume name fs attribute
2505 Add readonly fs attribute
2508 Implement readonly attribute
2509 remove volume name attribute
2510 Implement find_enclosing volume
2512 * gio/gunixmounts.c:
2513 Add a volume for "/".
2515 * gio/gunixvolume.[ch]:
2516 Set better name for /
2518 * gio/gunixvolumemonitor.[ch]:
2519 Derive from GNativeVolumeMonitor
2520 Implement get_volume_for_mountpoint
2523 GVolume typedef moved to gfile.h
2525 * gio/gvolumeprivate.h:
2526 Add g_volume_get_for_mount_path
2528 2007-10-31 Alexander Larsson <alexl@redhat.com>
2530 * gio/gunixmounts.[ch]:
2531 Add cache info to unix mount listers
2532 Make getmntent use threadsafe
2533 Add is_system_internal attribute for GUnixMount
2535 * gio/gunixvolume.c:
2536 (g_unix_volume_new):
2537 Use is_system_internal instead of own code
2539 * gio/glocaldirectorymonitor.c:
2540 * gio/gunixvolumemonitor.c:
2541 Update to new gunixmounts API
2546 2007-10-30 Alexander Larsson <alexl@redhat.com>
2549 Add volume name fsinfo attribute
2552 Read volume name info
2554 * gio/gunionvolumemonitor.c:
2555 Fix infinite loops when finalizing a union volume monitor
2557 2007-10-30 Alexander Larsson <alexl@redhat.com>
2559 * gio/goutputstream.[ch]:
2560 Add splice() with default implementation
2562 * gio/gsocketoutputstream.c:
2563 (g_socket_output_stream_write):
2564 Return error on cancellation correctly.
2566 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2568 * gio/glocalfile.c (g_local_file_trash):
2569 Do not leak a string.
2571 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2573 * gio/gfile.c (g_file_load_contents):
2574 Unref the stream after closing it.
2576 2007-10-25 Alexander Larsson <alexl@redhat.com>
2578 * gio/gioscheduler.h:
2581 2007-10-25 Alexander Larsson <alexl@redhat.com>
2585 Add g_file_has_uri_scheme and implement for local files
2587 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2589 * gio/gdesktopappinfo.c: do not leak a string.
2591 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2593 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2594 (g_local_directory_monitor_new):
2595 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2596 (g_local_file_monitor_new):
2597 Only look for the monitor type that should be used the first time
2598 and use g_qsort_with_data() instead of our own bubble sort
2601 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2604 * gio/fam/Makefile.am:
2605 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2606 * gio/fam/fam-helper.h:
2607 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2608 * gio/fam/gfamdirectorymonitor.c:
2609 * gio/fam/gfamdirectorymonitor.h:
2610 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2611 * gio/fam/gfamfilemonitor.h:
2612 * gio/glocaldirectorymonitor.c:
2613 * gio/glocaldirectorymonitor.h:
2614 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2615 * gio/glocalfilemonitor.h:
2616 * gio/inotify/Makefile.am:
2617 * gio/inotify/ginotifydirectorymonitor.c:
2618 * gio/inotify/ginotifydirectorymonitor.h:
2619 * gio/inotify/ginotifyfilemonitor.c:
2620 * gio/inotify/ginotifyfilemonitor.h:
2621 Implement the FAM and Inotify monitors as
2622 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2623 their own GIO module. GLocal(Directory|File)Monitor will use the
2624 monitor with the highest rank that is supported on that machine.
2626 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2629 Change GIO module dir to $(libdir)/gio/modules and change
2630 the log domain from GVFS to GIO. Also only export symbols starting
2631 with g_ in the resulting library.
2632 * gio/test-streams.c: (main):
2633 Set log handler for the GIO log domain.
2635 2007-10-22 Alexander Larsson <alexl@redhat.com>
2637 * gio/gfilenamecompleter.[ch]:
2638 Add g_filename_completer_set_dirs_only
2640 2007-10-22 Alexander Larsson <alexl@redhat.com>
2643 * gio/gurifuncs.[ch]:
2644 Add some simple URI helpers
2646 * gio/gfilenamecompleter.[ch]:
2647 Added object for filename (parse name actually) completion
2650 Handle ~ in parse names
2652 2007-10-17 Alexander Larsson <alexl@redhat.com>
2655 * gio/glocalfileinfo.c:
2656 Add and implement id:value attribute
2658 2007-10-17 Alexander Larsson <alexl@redhat.com>
2661 * gio/guniondrive.c:
2663 Add and implement g_drive_has_volumes
2665 2007-10-17 Alexander Larsson <alexl@redhat.com>
2668 * gio/glocalfileinfo.[ch]:
2669 Add unix:is_mountpoint and implement for local files
2671 2007-10-16 Alexander Larsson <alexl@redhat.com>
2673 * gio/gunionvolumemonitor.c:
2674 (g_union_volume_monitor_init):
2675 Fix up the unix type getting so that it works with gcc
2677 2007-10-12 Alexander Larsson <alexl@redhat.com>
2680 * gio/glocalfileinfo.c:
2681 Add thumbnail:failed to file info
2683 2007-10-12 Richard Hult <richard@imendio.com>
2685 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2686 optimizing away the get_type call (happens with some gcc versions,
2687 like the one shipped with OS X 10.4).
2689 2007-10-12 Alexander Larsson <alexl@redhat.com>
2691 * gio/glocalfileinfo.c:
2692 (_g_local_file_info_set_attribute):
2693 Fix build if not HAVE_XATTR
2694 Patch from Milosz Derezynski <internalerror@gmail.com>
2696 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2698 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2699 around for review, otherwise I would have asked you before
2702 2007-10-11 Alexander Larsson <alexl@redhat.com>
2705 Add thumbnail:path attribute
2707 * gio/glocalfileinfo.c:
2708 Implement thumbnail:path for local files
2710 2007-10-11 Alexander Larsson <alexl@redhat.com>
2712 * gio/glocalfileinfo.c:
2713 (_g_local_file_info_get):
2714 Avoid duplicate icon names
2716 2007-10-11 Alexander Larsson <alexl@redhat.com>
2718 * gio/gthemedicon.[ch]:
2719 Change g_themed_icon_get_names return type to const
2721 2007-10-10 Alexander Larsson <alexl@redhat.com>
2723 * gio/glocalfileinfo.c:
2724 Don't reference freed memory
2726 2007-10-10 Alexander Larsson <alexl@redhat.com>
2728 * gio/gfileattribute.c:
2731 * gio/glocalfileinfo.c:
2734 2007-10-10 Alexander Larsson <alexl@redhat.com>
2737 Check for NULL icons
2739 * gio/gfileattribute.c:
2740 Don't dup when getting objects (same as for string attributes)
2742 * gio/gicon.c (g_icon_equal):
2743 Safely handle NULLs in equal
2745 2007-10-10 Alexander Larsson <alexl@redhat.com>
2748 Fix c++ compilation issues
2749 Patch from Milosz Derezynski <internalerror@gmail.com>
2751 2007-10-10 Alexander Larsson <alexl@redhat.com>
2753 * programs/gio-monitor-dir.c:
2754 Don't crash if dir monitor not supported.
2756 2007-10-09 Alexander Larsson <alexl@redhat.com>
2759 Add missing G_END_DECLS
2761 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2763 * gio/gfile.c: (g_file_set_display_name),
2764 (g_file_query_settable_attributes),
2765 (g_file_query_writable_namespaces):
2766 Return NULL not FALSE on errors as the return type is a pointer.
2768 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2770 * gio/glocalfile.c: (g_local_file_monitor_file):
2771 Don't call monitor_file on the default interface vtable (which
2772 is NULL) but simply return NULL. The caller, GFile, will create a
2773 polling monitor if NULL is returned.
2775 2007-10-09 Alexander Larsson <alexl@redhat.com>
2779 * gio-unix-2.0.pc.in:
2780 Add gio-unix-2.0.pc if OS_UNIX
2783 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2785 2007-10-09 Alexander Larsson <alexl@redhat.com>
2787 * gio/gunixmounts.[ch]:
2788 Make unix mount monitoring API sane.
2789 Now its just a object with mounts_changed
2790 and mountpoints_changed signals.
2792 * gio/glocaldirectorymonitor.c:
2793 * gio/gunixvolumemonitor.c:
2794 Use new mount monitor api
2796 2007-10-09 Alexander Larsson <alexl@redhat.com>
2798 * gio/gunixmounts.[ch]:
2799 Move guess type into one call for mounts and one for mountpoints
2802 * gio/gunixvolume.c:
2805 2007-10-09 Alexander Larsson <alexl@redhat.com>
2807 * gio/gunixmounts.[ch]:
2808 Remove _ prefix in preparation to make this semi-public
2809 Hide implementation of structs
2811 * gio/glocaldirectorymonitor.c:
2813 * gio/gunixvolume.c:
2814 * gio/gunixvolumemonitor.c:
2815 Update for above API changes
2817 2007-10-08 Alexander Larsson <alexl@redhat.com>
2820 Better polling fallback. This also handles the case where we have
2821 a monitor_file implementation, but it fails.
2823 2007-10-08 Alexander Larsson <alexl@redhat.com>
2827 * gio/gunixmounts.c:
2828 * programs/gio-monitor-dir.c:
2829 * programs/gio-monitor-file.c:
2830 Added cancellable to file monitoring calls.
2831 These are really sync calls and need this.
2833 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2835 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2836 (g_local_vfs_class_init):
2837 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2838 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2840 2007-10-05 Alexander Larsson <alexl@redhat.com>
2842 * gio/gdirectorymonitorprivate.h:
2843 * gio/gfilemonitorprivate.h:
2844 * gio/gdirectorymonitor.h:
2845 * gio/gfilemonitor.h:
2846 Remove *private.h and move to the public API, so that
2847 we can do implementations outside gio (such as in gvfs)
2849 * gio/gdirectorymonitor.c:
2850 * gio/gfilemonitor.c:
2851 * gio/glocaldirectorymonitor.c:
2852 * gio/gpollfilemonitor.c:
2853 * gio/inotify/inotify-helper.c:
2854 * gio/fam/fam-helper.c:
2855 Update to the new header names
2857 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2859 * gio/gdirectorymonitor.c:
2860 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2863 2007-10-04 Alexander Larsson <alexl@redhat.com>
2865 * gio/glocalfileinfo.c (get_access_rights):
2866 Set CAN_TRASH when we can move the file.
2867 We should really also check for a parent trash dir.
2869 2007-10-04 Alexander Larsson <alexl@redhat.com>
2871 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
2872 Add can_trash access attribute
2874 2007-10-04 Alexander Larsson <alexl@redhat.com>
2877 (g_local_file_trash):
2878 Create info file first. This is per-spec and allows
2879 us to actually trash directories.
2881 2007-10-02 Alexander Larsson <alexl@redhat.com>
2883 * gio/gdesktopappinfo.c:
2884 Implement the new mime support code.
2885 Always set app as handling mimetype when being set as default for it
2887 2007-10-01 Alexander Larsson <alexl@redhat.com>
2889 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
2890 Fix up check for xattrs:
2892 2007-10-01 Alexander Larsson <alexl@redhat.com>
2895 (g_app_info_set_as_default_for_extension):
2896 (g_app_info_add_supports_type):
2897 (g_app_info_can_remove_supports_type):
2898 (g_app_info_remove_supports_type):
2899 Make these fail nicely if not implemented
2901 2007-10-01 Paolo Borelli <pborelli@katamail.com>
2903 * gio/glocalfileoutputstream.c:
2904 * gio/glocalfileoutputstream.h:
2909 * programs/gio-save.c:
2910 Add a GFileCreateFlags argument to operations that can create
2913 2007-10-01 Alexander Larsson <alexl@redhat.com>
2915 * gio/gappinfo.[ch]:
2916 * gio/gdesktopappinfo.c:
2917 Add more (stubbed out) mime API needed for nautilus
2919 2007-10-01 Alexander Larsson <alexl@redhat.com>
2922 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
2923 Add g_app_info_set_as_default_for_extension.
2925 * gio/gdesktopappinfo.c:
2926 Dummy for g_app_info_set_as_default_for_extension
2927 Support flags in g_app_info_create_from_commandline
2929 * gio/gwin32appinfo.c:
2931 Update for API changes
2933 * gio/gthemedicon.c:
2934 Properly NULL-terminate list of icon names
2936 2007-09-28 Alexander Larsson <alexl@redhat.com>
2938 * gio/gloadableicon.h:
2939 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
2941 2007-09-28 Alexander Larsson <alexl@redhat.com>
2944 Install headers in $includedir/gio-standalone/
2946 * gio-2.0.pc.in: Added.
2947 * gio-standalone.pc.in: Removed.
2950 Renamed pkg-config file to match glib (for future move)
2951 Update to the new include dir
2954 Add more TODO comments
2956 2007-09-28 Alexander Larsson <alexl@redhat.com>
2958 * gio/gdesktopappinfo.[ch]:
2959 Expose new_from_filename
2960 Add getter for is_hidden and handle it better
2962 2007-09-28 Alexander Larsson <alexl@redhat.com>
2964 * gio/gfileinfo.[ch]:
2965 Rename g_file_size_format_for_display to
2966 g_format_file_size_for_display.
2967 Now it doesn't have the g_file prefix, so we
2968 can later move it to glib.
2970 2007-09-28 Alexander Larsson <alexl@redhat.com>
2972 * gio/gappinfo.[ch]:
2973 Add g_app_info_get_id and g_app_info_get_executable.
2974 Make all getters non-reffing
2975 Make g_app_info_launch take GFile arguments.
2976 Add must_support_uris argument to g_app_info_get_default_for_type.
2978 * gio/gwin32appinfo.c:
2979 Update to GAppInfo api changes
2981 * gio/gdesktopappinfo.c:
2982 Update to GAppInfo api changes
2983 Implement supports_xdg_startup_notify
2985 * gio/gfileicon.c (g_file_icon_get_file):
2986 Make getter non-reffing.
2991 2007-09-27 Alexander Larsson <alexl@redhat.com>
2993 * gio/gfileinfo.[ch]:
2994 Add g_file_size_format_for_display helper
2996 2007-09-27 Alexander Larsson <alexl@redhat.com>
2998 * gio/glocalfileinfo.c:
2999 Set UNIX_GID from gid, not from uid
3001 2007-09-27 Alexander Larsson <alexl@redhat.com>
3004 Add g_file_set_attributes_async
3006 2007-09-27 Alexander Larsson <alexl@redhat.com>
3008 * gio/glocalfile.c (g_local_file_set_display_name):
3009 Fix set_display_name to actually rename to the right place.
3010 Use lstat to look for existing files so we don't overwrite
3013 2007-09-26 Alexander Larsson <alexl@redhat.com>
3016 Add g_file_set_display_name_async()
3018 2007-09-26 Alexander Larsson <alexl@redhat.com>
3021 Add load_partial_contents async calls
3024 Make internal function static
3026 2007-09-26 Alexander Larsson <alexl@redhat.com>
3028 * gio/glocalfileinfo.c:
3029 Correctly detect broken symlinks
3031 2007-09-26 Alexander Larsson <alexl@redhat.com>
3033 * gio/gcancellable.c (g_cancellable_cancel):
3034 Allow cancel on NULL cancellable
3036 2007-09-25 Alexander Larsson <alexl@redhat.com>
3038 * gio/gsimpleasyncresult.c:
3039 Don't allocate g_error manually.
3040 Fixes g_slice/g_new mixup crash
3042 2007-09-25 Alexander Larsson <alexl@redhat.com>
3044 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3045 Actually set active_backend.
3046 This means the monitor will be cancelled correctly.
3048 2007-09-25 Alexander Larsson <alexl@redhat.com>
3050 * gio/gdirectorymonitor.c:
3051 Set timeout to NULL when destroying
3053 2007-09-25 Alexander Larsson <alexl@redhat.com>
3056 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3057 that is a better description of the error.
3059 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3061 * gio/gvfs.c: (g_vfs_get_local):
3062 Make the local vfs variable static. The same instance should
3065 2007-09-24 Alexander Larsson <alexl@redhat.com>
3067 * gio/glocalfileinfo.c:
3068 Pass in actual length read into sniffer, not the length
3071 2007-09-21 Alexander Larsson <alexl@redhat.com>
3073 * gio/gfileenumerator.c:
3076 * gio/gfileinputstream.c:
3077 * gio/gfileoutputstream.c:
3078 * gio/ginputstream.c:
3079 * gio/goutputstream.c:
3080 Don't crash if async callbacks are NULL
3082 2007-09-20 Alexander Larsson <alexl@redhat.com>
3085 Add async enumerate_children method and default
3088 2007-09-20 Alexander Larsson <alexl@redhat.com>
3091 Add g_file_contains_file & g_file_get_relative_path, since they
3092 were needed for nautilus.
3093 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3098 Implement new methods
3100 2007-09-17 Alexander Larsson <alexl@redhat.com>
3103 * gio/gfileinputstream.[ch]:
3104 * gio/gfileoutputstream.[ch]:
3106 * gio/glocalfileenumerator.[ch]:
3107 * gio/glocalfileinfo.[ch]:
3108 * gio/glocalfileinputstream.c:
3109 * gio/glocalfileoutputstream.c:
3110 * gio/gpollfilemonitor.c:
3111 * programs/gio-copy.c:
3112 * programs/gio-info.c:
3113 * programs/gio-move.c:
3114 Rename get_file_info to query_info() to make it clearer
3115 that these are not simple getters, but do i/o.
3117 2007-09-17 Alexander Larsson <alexl@redhat.com>
3119 * gio/gdatainputstream.[ch]:
3120 * gio/test-streams.c:
3121 Use _read_XXX instead of _get_XXX for the i/o calls
3124 2007-09-17 Alexander Larsson <alexl@redhat.com>
3127 Added needed stuff to TODO comment
3129 2007-09-17 Alexander Larsson <alexl@redhat.com>
3131 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3132 Don't error out removing the backup copy if it doesn't
3135 2007-09-14 Alexander Larsson <alexl@redhat.com>
3137 * programs/Makefile.am:
3138 * programs/gvfs-*.c:
3140 Renamed apps from gvfs-xxx to gio-xxx.
3142 2007-09-14 Alexander Larsson <alexl@redhat.com>
3145 * gio/gfileoutputstream.[ch]:
3146 * gio/glocalfileoutputstream.c:
3147 * programs/gvfs-save.c:
3148 g_file_output_stream_get_etag doesn't do i/o, so remove
3149 cancellation and error.
3151 2007-09-14 Alexander Larsson <alexl@redhat.com>
3154 Add new_etag output to replace_contents functions
3156 2007-09-14 Alexander Larsson <alexl@redhat.com>
3158 * gio/gfileoutputstream.[ch]:
3159 Add async get_file_info and default implementation
3161 2007-09-14 Alexander Larsson <alexl@redhat.com>
3163 * gio/gfileinputstream.c:
3164 Implement fallback wrapper for async get_file_info
3166 2007-09-14 Alexander Larsson <alexl@redhat.com>
3169 Add etag out argument to load_contents
3174 2007-09-14 Alexander Larsson <alexl@redhat.com>
3176 * gio/gcontenttype.c (looks_like_text):
3177 Whitespace like tab, cr and lf do not make the
3180 2007-09-14 Alexander Larsson <alexl@redhat.com>
3182 * gio/gfileinputstream.[ch]:
3183 Add async get_file_info.
3185 2007-09-13 Alexander Larsson <alexl@redhat.com>
3187 * gio/goutputstream.c (g_output_stream_write_all):
3188 Allow NULL for bytes_written
3190 2007-09-13 Alexander Larsson <alexl@redhat.com>
3192 * gio/gmemoryinputstream.[ch]:
3193 Add accessors for data
3195 2007-09-13 Alexander Larsson <alexl@redhat.com>
3197 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3198 Don't crash if length is NULL