1 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
4 Doc fix for g_app_info_get_default_for_uri_scheme ()
7 2008-01-30 Alexander Larsson <alexl@redhat.com>
10 Add doc comment about uris vs GFiles to
14 Ensure uris passed to g_app_info_launch_uris()
15 are not roundtriped through GFile (as that
16 may be slightly destructive for e.g. mailto: links)
18 2008-01-30 Alexander Larsson <alexl@redhat.com>
20 * tests/data-input-stream.c:
21 * tests/data-output-stream.c:
22 C89 fixes from Jens Granseuer (#512849)
24 2008-01-30 Alexander Larsson <alexl@redhat.com>
27 Fix gamin/fam difference build issue. (#509419)
29 2008-01-29 Alexander Larsson <alexl@redhat.com>
33 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
35 2008-01-29 Alexander Larsson <alexl@redhat.com>
39 giomodule-priv.h include moved to .c file.
41 2008-01-29 Alexander Larsson <alexl@redhat.com>
43 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
44 Remove unused prio/name fields.
46 2008-01-29 Alexander Larsson <alexl@redhat.com>
48 * gcontenttype.c (looks_like_text):
49 Don't treat whitespace as control chars.
51 2008-01-29 Alexander Larsson <alexl@redhat.com>
54 Lazily create the desktop files for appinfos created
55 by g_app_info_create_from_commandline() when needed
56 for mime associations. This allows run-time use
57 of GAppInfo object without creating unnecessary
60 2008-01-29 Alexander Larsson <alexl@redhat.com>
63 Added new symbols to gio.symbols
65 2008-01-29 Alexander Larsson <alexl@redhat.com>
68 Add g_file_query_default_handler utility to easily look up
69 the GAppInfo that handles a file.
71 * gdesktopappinfo.[ch]:
73 Set up an extension point for g_app_info_get_default_for_uri_scheme()
76 Remove unused function
78 2008-01-29 Alexander Larsson <alexl@redhat.com>
81 Mention need to free returned value in
82 g_file_enumerator_next_files_finish docs.
83 Fix leak if g_file_enumerator_next_files_finish()
86 2008-01-29 Alexander Larsson <alexl@redhat.com>
89 (_g_unix_content_type_get_parents):
90 Use list_parents, not get_parents from xdgmime, because
91 the later doesn't use the cache.
93 * xdgmime/xdgmimecache.c:
94 (_xdg_mime_cache_list_mime_parents):
95 Don't list the same type as parent multiple times.
97 2008-01-28 Matthias Clasen <mclasen@redhat.com>
99 * === Released 2.15.4 ===
101 2008-01-28 Alexander Larsson <alexl@redhat.com>
104 Register local vfs with prio 0.
107 Remove old name and prio class members
109 2008-01-28 Matthias Clasen <mclasen@redhat.com>
111 * tests/g-file.c: Disable some tests that are failing in
112 the absence of a http backend.
114 2008-01-28 Alexander Larsson <alexl@redhat.com>
118 Add registration hooks for extension points.
119 Register the gio extension points.
121 * fam/gfamdirectorymonitor.c:
122 * fam/gfamfilemonitor.c:
123 * glocaldirectorymonitor.[ch]:
124 * glocalfilemonitor.[ch]:
125 * gnativevolumemonitor.h:
126 * gunionvolumemonitor.c:
127 * gunixvolumemonitor.c:
130 * inotify/ginotifydirectorymonitor.c:
131 * inotify/ginotifyfilemonitor.c:
132 Use the extension points registration instead
133 of g_type_children().
135 2008-01-28 Matthias Clasen <mclasen@redhat.com>
138 * gvolume.[hc]: Document new API.
140 * gfile.c (g_file_copy_async): Fix docs
142 2008-01-27 Matthias Clasen <mclasen@redhat.com>
144 * gbufferedinputstream.c:
146 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
149 2008-01-27 Matthias Clasen <mclasen@redhat.com>
151 * glocalfile.c: Avoid trivial differences in translatable strings.
153 2008-01-25 Matthias Clasen <mclasen@redhat.com>
155 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
156 build with gcc 3.4 (#509419)
158 2008-01-25 Matthias Clasen <mclasen@redhat.com>
160 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
161 (#509994, Murray Cumming)
163 2008-01-25 Matthias Clasen <mclasen@redhat.com>
165 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
166 * gioscheduler.c: Keep calling io jobs until they return FALSE;
167 this allows big jobs to be executed in chunks, instead of blocking
168 the main loop for a long time.
170 * gsimpleasyncresult.c:
171 * giofile.c: Adapt callers.
173 2008-01-25 Alexander Larsson <alexl@redhat.com>
176 Implement changes discussed on xdg list.
177 Now we can add supported mimetypes by just using defaults.list
178 We can also remove associations in defaults.list.
180 2008-01-25 Alexander Larsson <alexl@redhat.com>
183 Don't make local copy of desktop file
184 for mimetype changes if the file already
185 supports the new mimetype.
187 2008-01-25 Matthias Clasen <mclasen@redhat.com>
191 * gbufferedinputstream.c:
192 * glocalfile.c: String improvements. (#511966,
193 Theppitak Karoonboonyanan)
195 2008-01-24 Matthias Clasen <mclasen@redhat.com>
197 * gioscheduler.h: Expand docs a bit.
199 2008-01-24 Alexander Larsson <alexl@redhat.com>
202 Add g_drive_get_identifier and
203 g_drive_enumerate_identifiers
206 Add g_volume_get_identifier and
207 g_volume_enumerate_identifiers
213 Implement identifiers for unix backend
215 2008-01-24 Alexander Larsson <alexl@redhat.com>
220 Add g_file_copy_async() (#511580)
221 Based on patch from Carlos Garcia Campos
223 2008-01-23 Matthias Clasen <mclasen@redhat.com>
225 * gioscheduler.c: Some documentation additions.
227 2008-01-22 Alexander Larsson <alexl@redhat.com>
230 (g_desktop_app_info_new):
233 2008-01-22 Alexander Larsson <alexl@redhat.com>
236 (g_desktop_app_info_new_from_filename):
239 2008-01-22 Alexander Larsson <alexl@redhat.com>
241 * glocalfileinfo.c (get_thumbnail_attributes):
244 2008-01-22 Alexander Larsson <alexl@redhat.com>
247 (canonicalize_filename):
248 Canonicalize paths that start with more than
253 (test_g_file_new_for_path):
256 2008-01-22 Alexander Larsson <alexl@redhat.com>
259 Allow UTF-8 in file:// parse names.
262 * tests/data-input-stream.c:
263 * tests/data-output-stream.c:
264 * tests/g-file-info.c:
266 Added a bunch of tests from Tomas Bzatek
268 2008-01-21 Matthias Clasen <mclasen@redhat.com>
270 * === Released 2.15.3 ===
272 2008-01-21 Alexander Larsson <alexl@redhat.com>
274 * gfileinputstream.[ch]:
275 * gfileoutputstream.[ch]:
277 Remove duplicated GSeekable functions. (#509990)
278 Just use the g_seekable_xxx() calls instead.
280 2008-01-21 Matthias Clasen <mclasen@redhat.com>
283 * gvolumemanager.c: Whitespace cleanups.
285 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
286 Use the right mode when creating the file.
288 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
291 * gfileinputstream.c:
293 * goutputstream.c: Documentation: Fixed minor typos
294 and added more mentions of specific _finish() functions.
296 2008-01-21 Alexander Larsson <alexl@redhat.com>
298 * inotify/Makefile.am:
299 * inotify/inotify-helper.c:
300 * inotify/inotify-kernel.c:
301 * inotify/inotify-path.c:
302 * inotify/local_inotify.h: Removed.
303 * inotify/local_inotify_syscalls.h: Removed.
304 Removed the included copies of the inotify
305 headers. We now only use the <sys/inotify.h>
306 header which exists on modern systems.
307 This fixes problems on ARM and SH5 (#510448)
308 but is also generally much cleaner and future
309 safe. For instance, if other OSes add support
310 for inotify it should "just work".
312 2008-01-20 Matthias Clasen <mclasen@redhat.com>
314 * inotify/*.c: Coding style fixes.
315 * inotify/inotify-missing.c: Use g_timeout_add_seconds
316 for the 1/4 Hz timer.
318 2008-01-20 Matthias Clasen <mclasen@redhat.com>
322 * gmemoryinputstream.c:
323 * gmemoryoutputstream.c:
325 * gthemedicon.c: Documentation updates
327 2008-01-20 Murray Cumming <murrayc@murrayc.com>
329 * gfile.c: documentation: Fixed more minor
332 2008-01-18 Murray Cumming <murrayc@murrayc.com>
334 * gmount.c: (g_mount_remount): documentation:
335 Mention g_mount_remount_finish() instead of
336 g_mount_unmount_finish().
338 2008-01-18 Murray Cumming <murrayc@murrayc.com>
342 * gfile.c: Fixed some minor typos in the
345 2008-01-18 Murray Cumming <murrayc@murrayc.com>
347 * gio/gvolumemonitor.c:
348 (g_volume_monitor_get_connected_drives):
349 (g_volume_monitor_get_volumes):
350 (g_volume_monitor_get_mounts): Documentation:
351 Clarify the ownership of the regurn GLists.
353 2008-01-17 Alexander Larsson <alexl@redhat.com>
356 Add the async find_enclosing_mount version
357 to the header file too.
359 2008-01-17 Alexander Larsson <alexl@redhat.com>
362 Add async version of find_enclosing_mount
363 with default implementation.
365 2008-01-17 Alexander Larsson <alexl@redhat.com>
370 Allow calls to implementation of copy and write
371 even if the type of the file implementations is
372 different. This can be used to implement native
373 upload and download calls in a vfs.
377 Protect against the case where move is called
378 with one file not being local.
380 Make sure we call the progress callback once
381 in the native move operation so that the caller
382 knows how many bytes were copied.
384 2008-01-16 Murray Cumming <murrayc@murrayc.com>
387 * gdatainputstream.c:
389 * gfileoutputstream.c:
394 * gunixmounts.c: Corrected some typos in the documentation:
396 its -> it's (where appropriate).
398 2008-01-16 Alexander Larsson <alexl@redhat.com>
402 Add g_file_query_exists (#508771)
404 2008-01-15 Murray Cumming <murrayc@murrayc.com>
409 * gvolume.c: For async functions that have no non-async
410 version, document that the GAsyncReadyCallback may be NULL.
413 2008-01-15 Alexander Larsson <alexl@redhat.com>
415 * gmemoryinputstream.c:
416 * gmemoryoutputstream.c:
417 Don't do pointer arithmetic on void * (#508602)
418 Patch from Kazuki IWAMOTO
420 2008-01-14 Matthias Clasen <mclasen@redhat.com>
422 * === Released 2.15.2 ===
424 2008-01-14 Alexander Larsson <alexl@redhat.com>
426 * gfile.c (g_file_monitor_file):
427 Don't set error here, since we fallback to polling monitor.
429 2008-01-14 Alexander Larsson <alexl@redhat.com>
432 (g_file_monitor_directory):
433 (g_file_monitor_file):
434 Add GError to file monitor calls
436 * glocaldirectorymonitor.c:
437 * glocaldirectorymonitor.h:
439 * glocalfilemonitor.c:
440 * glocalfilemonitor.h:
442 Update for above change
444 2008-01-14 Alexander Larsson <alexl@redhat.com>
448 Handle root correctly in g_file_get_relative_path (#508719)
450 2008-01-14 Alexander Larsson <alexl@redhat.com>
453 Clean up docs and example for GAsyncResult (#508074)
455 2008-01-11 Murray Cumming <murrayc@murrayc.com>
457 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
458 and correct some spelling mistakes. Bug #508108.
460 2008-01-11 Matthias Clasen <mclasen@redhat.com>
462 * glocalfileinfo.c: Add a comment.
464 2008-01-10 Murray Cumming <murrayc@murrayc.com>
466 * gfileinfo.c: GFileInfo description: Mention
467 how to actually set attributes in a GFile and how to discover
468 which attributes are settable. Bug #508378.
470 2008-01-10 A. Walton <awalton@svn.gnome.org>
472 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
473 (g_app_info_get_default_for_type):
474 Check for NULL content types.
476 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
478 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
480 2008-01-09 Murray Cumming <murrayc@murrayc.com>
482 * gfile.c: *_async() functions: Several small corrections
483 to the documentation, mostly correcting copy/paste errors
484 and improving some sentences.
486 2008-01-09 Dan Winship <danw@gnome.org>
488 * glocalfile.c (get_unique_filename): x86_64 fix
490 2008-01-09 Alexander Larsson <alexl@redhat.com>
495 Add g_unix_mount_guess_should_display and use
496 for unix volume monitor backend.
497 This means we more or less show what the
498 gnome-vfs backend did.
499 Based on patch from Padraig O'Briain
501 2008-01-09 Alexander Larsson <alexl@redhat.com>
505 Add g_themed_icon_new_with_default_fallbacks
508 Use default fallbacks for icons
510 2008-01-09 Alexander Larsson <alexl@redhat.com>
513 * gmountoperation.[ch]:
514 Change the API a bit so that unhandled methods
515 get reported via the reply, rather than by
516 the signal emission return value. This is because
517 some handlers can't know this immediately without
518 doing I/O, and this is an async operation that
521 2008-01-09 Alexander Larsson <alexl@redhat.com>
524 * fam/gfamdirectorymonitor.c:
525 * fam/gfamfilemonitor.c:
526 Fix double free crash (#508224)
527 Patch from Joe Marcus Clarke
529 008-01-07 Matthias Clasen <mclasen@redhat.com>
531 * === Released 2.15.1 ===
533 2008-01-07 Alexander Larsson <alexl@redhat.com>
535 * gunixinputstream.c (g_unix_input_stream_skip_finish):
536 Fix warning (#507835)
538 2008-01-07 Alexander Larsson <alexl@redhat.com>
541 Pass --internal to glib-genmarshal
546 Use better types for signal arguments (#507822)
548 2008-01-07 Alexander Larsson <alexl@redhat.com>
551 Build test subdir after .
552 Remove gdirectorymonitor.[ch]
554 * gdirectorymonitor.[ch]:
558 Remove GDirectoryMonitor and make
559 GFileMonitor the baseclass for both file and
560 directory monitors. Lift the more generic
561 rate limiting code from GDirectoryMonitor
565 * fam/gfamdirectorymonitor.[ch]:
566 * inotify/ginotifydirectorymonitor.[ch]:
567 * inotify/inotify-helper.c:
568 * glocaldirectorymonitor.[ch]:
571 Update for the removed GDirectoryMonitor.
573 * gmemoryoutputstream.c:
574 Remove ununsed variable
576 2008-01-07 Alexander Larsson <alexl@redhat.com>
578 * gmemoryinputstream.c:
579 Translate error strings
582 * gmemoryoutputstream.[ch]:
583 New implementation that avoids using GByteArray
584 in implementation and API. (#506377)
586 2008-01-06 Matthias Clasen <mclasen@redhat.com>
588 * tests/*: Add a test for memory input streams.
590 * Makefile.am: Add tests to SUBDIRS.
592 2008-01-06 Matthias Clasen <mclasen@redhat.com>
594 * glocalfilemonitor.c:
595 * glocaldirectorymonitor.c: Mark property nicks and blurbs
598 2008-01-06 Matthias Clasen <mclasen@redhat.com>
600 * gdesktopappinfo.c: Fix a docs typo.
602 * gfileattribute.c: Add information about extended attributes
603 to the documentation. (#505058)
605 2008-01-04 Alexander Larsson <alexl@redhat.com>
609 Use the right type (uint) for the ask_password signal.
611 2008-01-04 Alexander Larsson <alexl@redhat.com>
616 Add g_app_info_supports_files()
617 Remove desktop arg from g_app_info_should_show().
619 * gdesktopappinfo.[ch]:
620 Implement g_app_info_supports_files() and new should_show()
621 Add g_desktop_app_info_set_desktop_env() to set the desktop
622 for should_show(). (This will be set by gtk+ later)
624 2008-01-04 Alexander Larsson <alexl@redhat.com>
627 * gmemoryinputstream.[ch]:
628 Improve API so that you can use multiple chunks
629 of memory and custom destroy functions. (#506374)
631 2008-01-03 Alexander Larsson <alexl@redhat.com>
634 Handle NULL attribute matchers safely, as we return this
635 for empty attribute matcher strings.
637 2008-01-03 Alexander Larsson <alexl@redhat.com>
639 * gunixmounts.c (g_unix_is_mount_path_system_internal):
640 Add /usr/local to list of internal mountpoints
642 2008-01-03 Alexander Larsson <alexl@redhat.com>
645 Check for HAVE_LCHOWN (#505887)
647 2008-01-03 Alexander Larsson <alexl@redhat.com>
651 Add define for selinux context attribute.
652 Fix missing : -> :: namespace separator change
653 Fix missing _ -> - name change for xattr-sys.
656 2008-01-03 Alexander Larsson <alexl@redhat.com>
659 Link to libglib and libgobject directly (#504879)
660 Patch from Sebastien Bacher
662 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
664 * gfile.c: Expanded the g_file_new_for_commandline_arg
665 description a bit, based on the code and the docs of the
666 other g_file_new_for_* functions.
668 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
670 * gfilemonitor.h: Fixed typo in docs.
672 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
674 Updates to GIO documentation. (#506395, Mikael Hermansson)
676 * gcontenttype.c: Describe memory management for return value of
677 g_content_types_get_registered(). Missing piece from #505815.
678 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
679 GVolume, GDrive, GMounts, which hopefully gives the user less
680 confusions when using this API. Following explainations from
681 Alexander Larsson on gtk-devel-list.
683 2007-12-30 Matthias Clasen <mclasen@redhat.com>
685 * gfileinfo.c: Expand the long description.
687 2007-12-30 Matthias Clasen <mclasen@redhat.com>
690 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
691 fix builds with --disable-visibility. (#500273, Christian Persch)
693 2007-12-30 Matthias Clasen <mclasen@redhat.com>
695 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
696 in the list of returned app infos.
698 2007-12-30 Matthias Clasen <mclasen@redhat.com>
700 * gappinfo.c: Fix a cross-reference
702 2007-12-30 Matthias Clasen <mclasen@redhat.com>
704 * gfileinputstream.c:
705 * gfileoutputstream.c:
711 * gfileinfo.c: Documentation updates.
713 2007-12-26 Matthias Clasen <mclasen@redhat.com>
715 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
718 2007-12-26 Matthias Clasen <mclasen@redhat.com>
720 * gcontenttype.c (g_content_types_get_registered): Don't return
721 freed memory (#505815, Mikael Hermansson)
723 2007-12-25 Paolo Borelli <pborelli@katamail.com>
725 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
726 used to detect statbuf->st_blocks. (#505042)
728 2007-12-24 Matthias Clasen <mclasen@redhat.com>
730 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
731 environment handling. (#504829, Cosimo Cecchi)
733 2007-12-22 Matthias Clasen <mclasen@redhat.com>
735 * gappinfo.c: Doc improvements
737 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
740 2007-12-20 Matthias Clasen <mclasen@redhat.com>
742 * === Released 2.15.0 ===
744 2007-12-20 Hans Breuer <hans@breuer.org>
746 * makefile.msc : don't build gdesktopappinfo.obj, it collides
747 with symbols gwin32appinfo.obj, added gmount.obj
748 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
750 2007-12-20 Alexander Larsson <alexl@redhat.com>
756 * gfilenamecompleter.c:
759 * gpollfilemonitor.c:
760 File attribute renames:
763 id::fs -> id::filesystem
765 2007-12-20 Alexander Larsson <alexl@redhat.com>
774 Add GMountUnmountFlags to all unmount and
776 Add g_mount_remount() call.
778 2007-12-20 Alexander Larsson <alexl@redhat.com>
780 * gvfs.c (get_default_vfs):
781 Fix unused variable warning
783 2007-12-19 Matthias Clasen <mclasen@redhat.com>
785 * pltcheck.sh: Update
787 2007-12-19 Matthias Clasen <mclasen@redhat.com>
789 * gunionvolumemonitor.c:
790 * gunixmount.c: Remove C99 comments
792 2007-12-19 Matthias Clasen <mclasen@redhat.com>
794 * gio.symbols: Add some missing symbols
796 2007-12-19 Alexander Larsson <alexl@redhat.com>
799 Make g_io_modules_load_all_in_directory not unuse
800 loaded modules so that users of it can do stuff
802 Init internal "module" types.
803 Initialize static prio and name for types so that
804 we don't have to load modules to get it.
806 * gnativevolumemonitor.h:
808 Move is_supported to parent class so that
809 non-native monitors can avoid being initialized
810 too. (For instance GDaemonVolumeMonitor if we're
811 not using GDaemonVfs.)
813 * glocaldirectorymonitor.[ch]:
814 * glocalfilemonitor.[ch]:
815 * gunionvolumemonitor.c:
816 * gunixvolumemonitor.c:
818 Find plugins using the static prio+name to
819 avoid unnecessarily loading the modules.
821 2007-12-19 Alexander Larsson <alexl@redhat.com>
826 2007-12-19 Alexander Larsson <alexl@redhat.com>
828 * gunionvolumemonitor.c:
829 Store the native type as GType, not class so that
830 we can unload it. But still avoid unnecessarily
833 2007-12-19 David Zeuthen <davidz@redhat.com>
835 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
836 add signals 'disconnected' and 'eject-button' on GDrive. Add
837 signal 'removed' on GVolume and 'unmounted' on GMount.
839 * gdrive.c: (g_drive_base_init):
841 * gfile.c: (g_file_mount_mountable),
842 (g_file_mount_enclosing_volume):
845 * gmount.c: (g_mount_base_init):
847 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
848 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
849 * gvolume.c: (g_volume_base_init), (g_volume_mount):
853 2007-12-17 Matthias Clasen <mclasen@redhat.com>
855 * *.c: Fix up includes in the section docs.
857 2007-12-17 Alexander Larsson <alexl@redhat.com>
859 * gnativevolumemonitor.h:
860 * gunionvolumemonitor.c:
861 * gunixvolumemonitor.c:
862 Add is_supported() to GNativeVolumeMonitorClass so
863 that we can avoid having to create an object to see
864 if the backend is supported at runtime.
865 Also add name member and an env var to pick a specific
866 volume monitor backend.
870 Add cancellable to _g_mount_get_for_mount_path()
872 * glocaldirectorymonitor.c:
873 * glocalfilemonitor.c:
874 Avoid loading and unloading modules while sorting.
876 2007-12-17 Matthias Clasen <mclasen@redhat.com>
879 * gunixmounts.[hc]: Namespace waste reduction, move some
880 g_get_unix_mount functions to the g_unix_mount namespace.
883 * gunixvolumemonitor.c:
885 * glocaldirectorymonitor.c: Update all callers.
887 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
889 2007-12-17 Alexander Larsson <alexl@redhat.com>
892 Add doc comments about what GFile operations are
893 guaranteed to not block.
895 2007-12-17 Alexander Larsson <alexl@redhat.com>
898 Add missing #ifdef fixing OSX build.
899 (#503334, patch from Richard Hult)
901 2007-12-14 David Zeuthen <davidz@redhat.com>
905 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
906 (g_mount_eject), (g_mount_eject_finish):
908 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
909 (get_volume_for_uuid), (get_mount_for_uuid),
910 (g_union_volume_monitor_class_init),
911 (get_default_native_type_with_exclude), (get_default_native_type),
912 (get_native_type), (update_native_type),
913 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
914 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
915 (g_unix_mount_can_eject), (eject_unmount_cb),
916 (eject_unmount_read_error), (eject_unmount_do),
917 (g_unix_mount_unmount), (g_unix_mount_eject),
918 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
919 * gunixmounts.c: (g_unix_mount_guess_can_eject),
920 (g_unix_mount_point_guess_can_eject):
922 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
923 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
924 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
925 (g_unix_volume_mount), (g_unix_volume_eject),
926 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
927 * gunixvolumemonitor.c: (get_volume_for_uuid),
928 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
930 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
931 (g_volume_eject), (g_volume_eject_finish):
933 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
934 (g_volume_monitor_get_mount_for_uuid):
937 Provide eject() on both GMount and GVolume and utility functions
938 to guess whether a GUnixMountPoint or GUnixMountEntry should be
939 ejected. Introduce the concept of UUID's and wire it into GVolume
940 and GMount and provide API on GVolumeMonitor to find such
941 instances. Also handle the case where an external
942 GNativeVolumeMonitor fails to initialize. Lock around the
943 _g_get_mount_for_mount_path() function such that volume monitor
944 implementations won't have to do locking themselves.
946 2007-12-17 Matthias Clasen <mclasen@redhat.com>
954 * gvolume.h: Documentation updates
956 2007-12-14 Matthias Clasen <mclasen@redhat.com>
959 * gfile.h: Doc updates
961 2007-12-14 Matthias Clasen <mclasen@redhat.com>
964 * gdesktopappinfo.c: Use hash table iterators.
966 2007-12-14 Alexander Larsson <alexl@redhat.com>
969 * gfileattribute.[ch]:
970 * gfileattribute-priv.h:
971 Move GFileAttributeValue to a private header, as
975 Make set_attribute take a type + a pointer instead
976 of a GFileAttributeValue.
979 Fix up for above changes.
980 Add g_file_info_get_attribute_data to get
981 all info in one call, g_file_info_get_attribute_status
982 to get the status and g_file_info_get_attribute_as_string.
986 * glocalfileinfo.[ch]:
990 Make _guess_type static.
992 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
995 * inotify/Makefile.am: Fixed build when srcdir != builddir,
996 made mkenums and friends use temporary files to avoid leaving
997 empty generated files on failure (#503470).
999 2007-12-14 Alexander Larsson <alexl@redhat.com>
1001 * gmountoperation.h:
1004 2007-12-14 Alexander Larsson <alexl@redhat.com>
1008 * gfileattribute.[ch]:
1011 * glocalfileoutputstream.c:
1012 * gmountoperation.[ch]:
1013 * goutputstream.[ch]:
1014 Clean up all flags enums to not have _FLAGS in them
1015 Make the names of some of the enums better.
1020 2007-12-14 Michael Natterer <mitch@imendio.com>
1022 * gio.symbols: fix g_io_scheduler symbol names.
1024 2007-12-14 Alexander Larsson <alexl@redhat.com>
1030 * gbufferedinputstream.h:
1031 * gbufferedoutputstream.h:
1034 * gdatainputstream.h:
1035 * gdataoutputstream.h:
1036 * gdesktopappinfo.h:
1037 * gdirectorymonitor.h:
1041 * gfileenumerator.h:
1044 * gfileinputstream.h:
1046 * gfilenamecompleter.h:
1047 * gfileoutputstream.h:
1048 * gfilterinputstream.h:
1049 * gfilteroutputstream.h:
1057 * gmemoryinputstream.h:
1058 * gmemoryoutputstream.h:
1060 * gmountoperation.h:
1063 * gsimpleasyncresult.h:
1065 * gunixinputstream.h:
1067 * gunixoutputstream.h:
1071 * inotify/Makefile.am:
1072 Only allow including <gio/gio.h> from apps
1074 2007-12-14 Alexander Larsson <alexl@redhat.com>
1076 * gioscheduler.[ch]:
1077 * gsimpleasyncresult.c:
1078 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1079 Split out the send_to_mainloop call into two versions instead
1080 of having the block argument.
1082 2007-12-13 Alexander Larsson <alexl@redhat.com>
1084 * gcancellable.[ch]:
1086 * gbufferedinputstream.c:
1087 * gfileenumerator.c:
1088 * gfileinputstream.c:
1089 * gfileoutputstream.c:
1093 g_push/pop_current_cancellable ->
1094 g_cancellable_push/pop_current
1096 2007-12-13 Alexander Larsson <alexl@redhat.com>
1100 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1102 2007-12-13 Alexander Larsson <alexl@redhat.com>
1104 * gmountoperation.h:
1105 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1107 2007-12-12 Alexander Larsson <alexl@redhat.com>
1110 Fix race condition when freeing proxy in
1111 g_io_job_send_to_mainloop().
1113 2007-12-12 Alexander Larsson <alexl@redhat.com>
1119 Make attribute namespace separator "::" instead of ":".
1120 Use - instead of _ as separator in attribute names.
1122 2007-12-12 Alexander Larsson <alexl@redhat.com>
1124 * gbufferedinputstream.h:
1125 * gbufferedoutputstream.h:
1126 * gdatainputstream.h:
1127 * gdataoutputstream.h:
1128 * gdirectorymonitor.h:
1129 * gfileenumerator.h:
1130 * gfileinputstream.h:
1132 * gfileoutputstream.h:
1133 * gfilterinputstream.h:
1134 * gfilteroutputstream.h:
1136 * glocalfileinputstream.h:
1137 * glocalfileoutputstream.h:
1138 * gmemoryinputstream.h:
1139 * gmemoryoutputstream.h:
1140 * gnativevolumemonitor.h:
1142 * gunixinputstream.h:
1143 * gunixoutputstream.h:
1146 s/parent/parent_instance/ in GObjects
1148 2007-12-12 Alexander Larsson <alexl@redhat.com>
1153 No need for padding for interfaces
1155 2007-12-12 Alexander Larsson <alexl@redhat.com>
1159 * gbufferedinputstream.c:
1160 * gbufferedoutputstream.c:
1163 * gdatainputstream.[ch]:
1164 * gdesktopappinfo.c:
1165 * gdirectorymonitor.c:
1167 * gfileattribute.[ch]:
1170 * gfileinputstream.h:
1171 * gfilemonitor.[ch]:
1172 * gfileoutputstream.[ch]:
1173 * gfilterinputstream.h:
1174 * gfilteroutputstream.h:
1177 * gloadableicon.[ch]:
1178 * gmemoryinputstream.c:
1179 * gmountoperation.c:
1181 Fix up a bunch of details in the docs.
1186 2007-12-11 David Zeuthen <davidz@redhat.com>
1188 Rework how volumes, drives and volume monitoring is
1189 done. Previosly the model was
1191 GDrive <1-1> GVolume
1193 where a GDrive instance represented a mount point and a GVolume
1194 instance represented a mounted file system. This patch changes it
1197 GDrive <1-N> GVolume <1-1> GMount
1199 where GMount now serves the purpose of the old GVolume and the new
1200 GVolume serves the purpose of the old GDrive. In addition the new
1201 GDrive interface is used to represent a collection of GVolume
1202 instances (typically partitions) and also contains utility to query
1203 the state of the physical drive the GDrive object represents (such
1204 as checking for media, polling the drive, ejecting the media etc.).
1206 Also implement mounting and unmounting in the Unix volume monitor
1207 backend. A subquent patch will introduce GDrive support for ejection
1211 * gdrive.c: (g_drive_is_media_check_automatic),
1212 (g_drive_is_media_removable), (g_drive_has_media),
1213 (g_drive_can_poll_for_media), (g_drive_eject),
1214 (g_drive_eject_finish), (g_drive_poll_for_media),
1215 (g_drive_poll_for_media_finish):
1217 * gfile.c: (g_file_find_enclosing_mount):
1220 * glocaldirectorymonitor.c:
1221 (g_local_directory_monitor_constructor), (mounts_changed):
1222 * glocalfile.c: (get_mount_info),
1223 (g_local_file_find_enclosing_mount),
1224 (g_local_file_file_iface_init):
1225 * gnativevolumemonitor.h:
1226 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1227 (get_connected_drives), (g_union_volume_monitor_class_init),
1228 (child_volume_added), (child_volume_removed),
1229 (child_volume_changed), (child_mount_added), (child_mount_removed),
1230 (child_mount_pre_unmount), (child_mount_changed),
1231 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1232 (g_union_volume_monitor_remove_monitor),
1233 (_g_mount_get_for_mount_path):
1234 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1235 (guess_system_internal), (_g_get_unix_mounts),
1236 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1237 (g_unix_mount_free), (g_unix_mount_compare),
1238 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1239 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1240 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1241 (type_to_icon), (g_unix_mount_guess_name),
1242 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1243 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1244 (_resolve_symlink), (_resolve_dev_root):
1246 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1247 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1248 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1249 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1250 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1251 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1252 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1253 (g_unix_volume_volume_iface_init):
1255 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1256 (get_mounts), (get_volumes), (get_connected_drives),
1257 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1258 (mountpoints_changed), (mounts_changed),
1259 (g_unix_volume_monitor_init),
1260 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1261 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1262 * gunixvolumemonitor.h:
1263 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1264 (g_volume_mount), (g_volume_mount_finish):
1266 * gvolumemonitor.c: (g_volume_monitor_class_init),
1267 (g_volume_monitor_get_connected_drives),
1268 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1271 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1273 * gmountoperation.h (GPasswordFlags): Close the gap
1275 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1277 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1279 * gdesktopappinfo.[hc]: Remove _-prefixes
1281 2007-12-10 Tor Lillqvist <tml@novell.com>
1283 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1286 2007-12-10 Alexander Larsson <alexl@redhat.com>
1288 * gfile.c (g_file_set_display_name):
1289 Don't hardcode '/' (#502727)
1291 2007-12-09 Hans Breuer <hans@breuer.org>
1293 * makefile.msc : follow lib naming convention
1294 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1295 for user and group name, tested with ../tests/gio-ls
1297 2007-12-09 A. Walton <awalton@svn.gnome.org>
1299 * gdesktopappinfo.c:
1305 * gfileenumerator.c:
1310 * gmemoryinputstream.c:
1311 * gmemoryoutputstream.c:
1313 * gsimpleasyncresult.c:
1314 More documentation cleanup and filling in missing information, bringing
1315 GIO to 99% symbol coverage.
1317 2007-12-08 Hans Breuer <hans@breuer.org>
1319 [gio compiles and links on win32, not sure how much already works]
1320 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1321 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1322 base on win32 API; prefer g_lstat() over lstat(); instead of
1323 localtime_r() use an all GLib implementation on win32;
1324 get_mount_info() still needs a win32 specifc implementation
1325 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1326 win32_get_file_user_info to get owner/group info without uid/gid
1327 * glocalfileinputstream.c : include <io.h> on win32
1328 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1329 definition, use g_win32_ftruncate() for G_OS_WIN32
1330 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1331 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1332 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1333 * makefile.msc : updated
1335 2007-12-07 Alexander Larsson <alexl@redhat.com>
1337 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1338 Avoid warning spew if error == NULL
1340 2007-12-07 Alexander Larsson <alexl@redhat.com>
1343 Update docs wrt etags
1345 2007-12-06 Alexander Larsson <alexl@redhat.com>
1348 Include sys/types.h for dev_t (#501919)
1350 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1354 Make abicheck and pltcheck pass.
1356 2007-12-05 Alexander Larsson <alexl@redhat.com>
1359 * giomodule-priv.h: Added.
1360 * glocaldirectorymonitor.c:
1361 * glocalfilemonitor.c:
1362 * gunionvolumemonitor.c:
1364 Actually add the declaration of _g_io_modules_ensure_loaded
1366 2007-12-05 Alexander Larsson <alexl@redhat.com>
1368 * gdatainputstream.c:
1373 * glocaldirectorymonitor.c:
1374 * glocalfilemonitor.c:
1375 * gunionvolumemonitor.c:
1377 Make g_io_modules_ensure_loaded a private function and
1378 don't pass in the dirname. This means we can do magic
1379 directory finding in the win32 version.
1380 Export the actual load-modules-in-directory code so that
1381 gvfs can reuse that.
1383 2007-12-05 Alexander Larsson <alexl@redhat.com>
1385 * gbufferedinputstream.c:
1386 * gbufferedoutputstream.c:
1389 * gfileenumerator.[ch]:
1390 * gfileinputstream.c:
1391 * gfileoutputstream.[ch]:
1392 * gfilterinputstream.c:
1393 * gfilteroutputstream.c:
1394 * ginputstream.[ch]:
1396 * glocalfileenumerator.c:
1397 * glocalfileinputstream.c:
1398 * glocalfileoutputstream.c:
1399 * gmemoryinputstream.c:
1400 * gmemoryoutputstream.c:
1401 * goutputstream.[ch]:
1404 * gunixinputstream.c:
1405 * gunixoutputstream.c:
1406 Rename all struct members named:
1407 read, write, close, truncate, or mount
1408 to foo_fn, as these are reserved names
1409 and could be defined as macros in libc.
1412 2007-12-04 Alexander Larsson <alexl@redhat.com>
1415 (g_output_stream_close):
1416 Only call flush if non-null.
1418 2007-11-30 Dan Winship <danw@gnome.org>
1420 * ginputstream.c (g_input_stream_set_pending): Make this take a
1421 GError and return a gboolean, and do the "outstanding operation"
1422 check (and the "stream is already closed" check) itself.
1423 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1425 * goutputstream.c (g_output_stream_set_pending)
1426 (g_output_stream_clear_pending): Likewise
1428 * gbufferedinputstream.c:
1429 * gfileinputstream.c:
1430 * gfileoutputstream.c: Update for that
1432 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1433 Like g_simple_async_report_error_in_idle, but takes a GError
1434 rather than building one.
1436 2007-11-30 Dan Winship <danw@gnome.org>
1438 * goutputstream.c: Don't cheat and unset the "pending" flag around
1439 inner calls. Instead, call the class method directly rather than
1440 the wrapper function that checks "pending"
1442 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1444 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1446 2007-12-03 Hans Breuer <hans@breuer.org>
1448 [start of port to win32/msvc]
1449 * gcancellable.c : HAVE_UNIST_H and _pipe()
1450 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1451 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1452 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1454 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1455 * glocalvfs.c : use HAVE_PWD_H
1456 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1457 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1458 * Makefile.am : added to EXTRA_DIST
1460 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1462 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1465 2007-12-03 Alexander Larsson <alexl@redhat.com>
1468 Handle OSX style xattrs API (#500506)
1470 2007-12-03 Alexander Larsson <alexl@redhat.com>
1474 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1476 2007-12-02 A. Walton <awalton@svn.gnome.org>
1480 Documentation accuracy fixes.
1482 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1484 * gioenumtypes.c.template: Fix typo.
1486 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1488 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1490 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1492 * gdirectorymonitor.c:
1493 * gfilemonitor.c: Add properties
1495 * gbufferedoutputstream.c: Don't mark buffer-size property
1498 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1500 * gbufferedoutputstream.c: Add auto-grow property.
1502 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1504 * *.c: Unify the capitalization of section headings.
1506 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1508 * gmountoperation.c: Add properties
1510 * gdatainputstream.c: Turn byte-order and newline-type into
1513 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1515 * gioenumtypes.[hc].template: Templates for enum registration
1517 * Makefile.am: Generate gioenumtypes.[hc]
1519 * gio.h: Include gioenumtypes.h
1521 * gfile.h: Add some explicit nicks.
1523 * gio.symbols: Add new symbols
1525 * pltcheck.sh: Adjust
1527 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1529 * *.c: Explain etags and link to the explanation
1531 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1533 * *.c: Explain I/O priority.
1535 * *.c: More coding style fixes.
1537 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1539 * gasyncresult.c: Add another paragraph to the intro,
1540 adjust coding style of example.
1542 2007-11-29 A. Walton <awalton@svn.gnome.org>
1545 Fixes unknown meaning in GAppLaunchContext docs.
1547 Clarify asynchronous ops.
1549 Fix entity tag docs.
1552 Provides missing gtk-doc section, fixes API docs slighly.
1553 * gsimpleasyncresult.c:
1554 Fill in missing info in docs.
1555 * gunixinputstream.c:
1556 * gunixoutputstream.c:
1557 Be more expressive in short description.
1559 Remove gtk-doc stubs for non-public API.
1561 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1563 * *.c: Coding style fixups
1565 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1567 * inotify/inotify-helper.c: Don't export the lock from libgio.
1569 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1572 * abicheck.sh: Fix copy-and-paste leftovers
1574 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1576 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1578 2007-11-28 Alexander Larsson <alexl@redhat.com>
1582 Removed unnecessary file
1584 * gdesktopappinfo.[ch]:
1587 * glocaldirectorymonitor.[ch]:
1589 * glocalfileenumerator.[ch]:
1590 * glocalfileinputstream.[ch]:
1591 * glocalfilemonitor.[ch]:
1592 * glocalfileoutputstream.[ch]:
1594 * gnativevolumemonitor.c:
1595 * gpollfilemonitor.[ch]:
1596 * gunionvolumemonitor.[ch]:
1599 * gunixvolumemonitor.[ch]:
1602 * inotify/ginotifydirectorymonitor.[ch]:
1603 * inotify/ginotifyfilemonitor.[ch]:
1604 * inotify/inotify-helper.c:
1605 Append _ to all internal functions
1609 Export symbols needed for modules
1611 2007-11-28 Alexander Larsson <alexl@redhat.com>
1614 * abicheck.sh: Added.
1615 * makegioalias.pl: Added.
1616 * pltcheck.sh: Added.
1617 * gio.symbols: Added.
1620 Initial work on adding symbol handling.
1623 Correct ifdef guard name
1626 * inotify/Makefile.am:
1627 * xdgmime/Makefile.am:
1628 Include toplevel Makefile.decl
1630 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1632 * gcontenttype.c: Move doc comments to the unix section.
1634 * *.[hc]: More trivial doc corrections.
1636 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1638 * gpollfilemonitor.c:
1642 * gdesktopappinfo.c:
1647 * gdatainputstream.c:
1648 * gdatainputstream.h:
1649 * gdataoutputstream.c:
1650 * gdataoutputstream.h:
1651 * gfileinfo.h: Doc cleanups
1653 2007-11-28 Andre Klapper <a9016009@gmx.de>
1655 * gdesktopappinfo.c: Fix a typo.
1657 2007-11-27 Andre Klapper <a9016009@gmx.de>
1659 * glocalfileoutputstream.c: Fix a typo.
1661 2007-11-27 Alexander Larsson <alexl@redhat.com>
1664 Don't include removed headers
1666 2007-11-27 Alexander Larsson <alexl@redhat.com>
1669 * gsocketinputstream.[ch]: Removed.
1670 * gsocketoutputstream.[ch]: Removed.
1671 * gunixinputstream.[ch]: Added.
1672 * gunixoutputstream.[ch]: Added.
1673 Renamed GSocket*Stream to GUnix*Stream and made
1674 it unix-only, since its not really only for sockets
1675 and it only works on unix (but is highly useful there).
1677 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1683 * gbufferedinputstream.c:
1684 * gbufferedinputstream.h:
1685 * gbufferedoutputstream.c:
1686 * gbufferedoutputstream.h:
1690 * gdatainputstream.c:
1691 * gdatainputstream.h:
1692 * gdataoutputstream.c:
1693 * gdataoutputstream.h:
1694 * gdirectorymonitor.c:
1695 * gdirectorymonitor.h:
1702 * gfileenumerator.c:
1703 * gfileenumerator.h:
1708 * gfileinputstream.c:
1709 * gfileinputstream.h:
1712 * gfilenamecompleter.c:
1713 * gfilenamecompleter.h:
1714 * gfileoutputstream.c:
1715 * gfileoutputstream.h:
1716 * gfilterinputstream.c:
1717 * gfilterinputstream.h:
1718 * gfilteroutputstream.c:
1719 * gfilteroutputstream.h:
1732 * glocalfileoutputstream.c:
1733 * gmemoryinputstream.c:
1734 * gmemoryinputstream.h:
1735 * gmemoryoutputstream.c:
1736 * gmemoryoutputstream.h:
1737 * gmountoperation.c:
1738 * gmountoperation.h:
1741 * gpollfilemonitor.c:
1744 * gsimpleasyncresult.c:
1745 * gsimpleasyncresult.h:
1746 * gsocketinputstream.c:
1747 * gsocketinputstream.h:
1748 * gsocketoutputstream.c:
1749 * gsocketoutputstream.h:
1756 * gunixvolumemonitor.c:
1765 Bumps documentation to 93% symbol coverage, touching most
1766 of the public files. Fixes broken function documentation prototypes.
1767 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1768 gtk-doc headers in private files.
1770 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1772 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1773 (g_buffered_input_stream_read_byte):
1774 * gbufferedinputstream.h:
1775 New functions for efficient access to buffer and simple single byte
1778 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1779 (g_data_input_stream_read_until):
1780 * gdatainputstream.h:
1781 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1782 read_until with multiple stop chars.
1784 2007-11-27 Alexander Larsson <alexl@redhat.com>
1788 * inotify/Makefile.am:
1789 Use the user-specified giomoduledir
1791 2007-11-27 Alexander Larsson <alexl@redhat.com>
1795 Add catch-all gio.h header
1796 Don't install gdummyfile.h
1798 2007-11-26 Alexander Larsson <alexl@redhat.com>
1800 * Makefile.am (gioinclude_HEADERS):
1801 Remove trailing whitespace
1803 2007-11-26 Alexander Larsson <alexl@redhat.com>
1805 Merge gio-standalone into glib
1807 2007-11-25 Christian Kellner <gicmo@gnome.org>
1809 * gio/goutputstream.c:
1810 Fix small mistake in the docs.
1812 2007-11-21 Christian Persch <chpe@gnome.org>
1814 * gio/glocalfile.c: (g_local_file_trash):
1815 Convert filenames to UTF-8 for GError.
1816 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1817 as per xdg base dir spec.
1819 2007-11-21 Christian Persch <chpe@gnome.org>
1821 * gio/gdesktopappinfo.c:
1822 Use that g_key_file_to_data cannot fail.
1824 Use stock defines for the key file group and key names.
1827 2007-11-21 Alexander Larsson <alexl@redhat.com>
1830 (copy_stream_with_progress):
1831 Make sure we do a final progress callback with
1832 the full total size.
1834 2007-11-21 Alexander Larsson <alexl@redhat.com>
1837 Export g_file_copy_attributes
1838 Remove padding as its not needed for interfaces
1840 2007-11-20 Alexander Larsson <alexl@redhat.com>
1845 Add G_IO_ERROR_WOULD_MERGE for
1846 copy/move dir on dir with overwrite.
1848 2007-11-20 Alexander Larsson <alexl@redhat.com>
1851 * gio/glocalfileinfo.c:
1852 Add COPY_NAME (this is an optional
1853 non-modified utf8 version of the name) that
1856 2007-11-20 Alexander Larsson <alexl@redhat.com>
1858 * gio/glocalfileenumerator.c:
1859 Report errors as GIOError, not GFileError
1861 2007-11-16 Alexander Larsson <alexl@redhat.com>
1863 * gio/glocalfileoutputstream.c:
1864 * gio/gwin32appinfo.c:
1865 Fix typos in strings.
1866 Patch from Luca Ferretti <elle.uca@libero.it>
1868 2007-11-15 Alexander Larsson <alexl@redhat.com>
1871 Post release version bump
1873 === gio-standalone 0.1.2 ===
1875 2007-11-15 Alexander Larsson <alexl@redhat.com>
1877 * docs/reference/gio/Makefile.am:
1878 Fix up distcheck by removing weird
1884 2007-11-14 Alexander Larsson <alexl@redhat.com>
1886 * gio/gdesktopappinfo.c:
1887 * gio/glocaldirectorymonitor.c:
1889 * gio/glocalfileinfo.c:
1890 * gio/inotify/inotify-sub.c:
1891 * programs/gio-cat.c:
1892 * programs/gio-copy.c:
1893 * programs/gio-info.c:
1894 * programs/gio-ls.c:
1895 * programs/gio-monitor-dir.c:
1896 * programs/gio-monitor-file.c:
1897 * programs/gio-mount.c:
1898 * programs/gio-move.c:
1899 * programs/gio-rm.c:
1900 * programs/gio-save.c:
1901 * programs/gio-trash.c:
1902 Leak fixes from Kjartan Maraas
1904 2007-11-14 Alexander Larsson <alexl@redhat.com>
1906 * gio/fam/fam-helper.c:
1908 * gio/glocalfileinfo.c:
1912 * gio/inotify/inotify-diag.c:
1913 * gio/inotify/inotify-kernel.c:
1914 Various code cleanups from Kjartan Maraas
1916 2007-11-14 Alexander Larsson <alexl@redhat.com>
1918 * gio/gioscheduler.c:
1920 Set up threadpool so that we cache 2 unused
1921 idle threads for at 15 secs. This means we
1922 will reuse thread-local data (like dbus connections)
1925 2007-11-14 Alexander Larsson <alexl@redhat.com>
1927 * gio/fam/fam-helper.c:
1928 * gio/fam/gfamdirectorymonitor.c:
1929 * gio/fam/gfamfilemonitor.c:
1931 * gio/gcontenttype.c:
1932 * gio/gdatainputstream.c:
1933 * gio/gdataoutputstream.c:
1937 * gio/gfileattribute.h:
1938 * gio/gfileenumerator.c:
1940 * gio/ginputstream.c:
1943 * gio/glocalfileinfo.c:
1944 * gio/goutputstream.c:
1945 * gio/gpollfilemonitor.c:
1946 * gio/gsimpleasyncresult.c:
1947 * gio/gunixmounts.c:
1948 * gio/gunixmounts.h:
1949 * gio/inotify/ginotifydirectorymonitor.c:
1950 * gio/inotify/ginotifyfilemonitor.c:
1951 * gio/inotify/inotify-diag.c:
1952 * gio/inotify/inotify-kernel.c:
1953 * gio/inotify/inotify-path.c:
1955 * gio/test-streams.c:
1956 * programs/gio-info.c:
1957 * programs/gio-monitor-dir.c:
1958 * programs/gio-monitor-file.c:
1959 Various code cleanups from Kjartan Maraas
1961 2007-11-13 Alexander Larsson <alexl@redhat.com>
1964 Handle the uri-scheme calls for dummy files
1966 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1968 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1969 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1970 to avoid clash with the C++ keyword.
1972 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1974 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1975 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1977 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1979 * gio/glocaldirectorymonitor.c:
1980 * gio/glocalfilemonitor.c:
1981 * gio/gunionvolumemonitor.c:
1982 Don't use g_once_init_*() for initializations that could fail and
1983 could leave the initialization variable set to 0 but use GOnce.
1984 This prevents a deadlock on the second call when trying to create
1985 a monitor and no monitor type is available. Thanks to Sven Herzberg
1988 2007-11-11 Sven Herzberg <sven@imendio.com>
1990 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
1991 #ifdef (make it work on MacOS X again)
1993 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
1995 Fixes Changelog for last two commits (sorry guys).
1997 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
1999 * gio/gbufferedinputstream.c:
2000 * gio/gdatainputstream.c:
2002 * gio/gfileoutputstream.c:
2003 * gio/gfilterinputstream.c:
2004 * gio/glocalfileinputstream.c:
2007 More consistency fixes in g*stream.c files.
2008 Significant clean of gfile's documentation, filling in of
2009 asynchronous operations documentation.
2011 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2013 * gio/gasyncresult.c:
2014 * gio/gbufferedinputstream.c:
2015 * gio/gbufferedoutputstream.c:
2016 * gio/gcancellable.c:
2017 * gio/gcontenttype.c:
2018 * gio/gdatainputstream.c:
2019 * gio/gdataoutputstream.c:
2020 * gio/gdesktopappinfo.c:
2023 * gio/gfileattribute.c:
2024 * gio/gio/gfileenumerator.c:
2026 * gio/gfileinputstream.c:
2027 * gio/gfilemonitor.c:
2028 * gio/gfileoutputstream.c:
2029 * gio/ginputstream.c:
2031 * gio/gioscheduler.c:
2032 * gio/gloadableicon.c:
2033 * gio/glocalfileoutputstream.c:
2034 * gio/gmemoryoutputstream.c:
2035 * gio/gmountoperation.c:
2036 * gio/goutputstream.c:
2038 * gio/gsimpleasyncresult.c:
2039 * gio/gunionvolumemonitor.c:
2040 * gio/gunixmounts.c:
2041 * gio/gunixvolume.c:
2045 * gio/gvolumemonitor.c:
2046 Updated documentation stubs, working towards consistency and
2049 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2051 * gio/gmemoryoutputstream.c:
2052 * gio/gmemoryoutputstream.h:
2053 Change g_memory_output_stream_set_free_on_close() to
2054 g_memory_output_stream_set_free_data() as this makes more sense and
2055 is more consistent with GMemoryInputStream.
2057 2007-11-07 Alexander Larsson <alexl@redhat.com>
2064 Change how we find the default vfs so that
2065 we can handle a gvfs failing to init
2067 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2069 * gio/gbufferedoutputstream.c:
2070 * gio/gdatainputstream.c:
2071 * gio/gdataoutputstream.c:
2072 * gio/gfileinputstream.c:
2073 * gio/gfileoutputstream.c:
2074 * gio/gfilterinputstream.c:
2075 * gio/gfilteroutputstream.c:
2076 * gio/ginputstream.c:
2077 * gio/gmemoryinputstream.c:
2078 * gio/gmemoryoutputstream.c:
2079 * gio/goutputstream.c:
2080 * gio/gsimpleasyncresult.c:
2081 * gio/gsocketinputstream.c:
2082 * gio/gsocketoutputstream.c:
2083 Add guards to the remaining public functions, add a TODO for
2084 an unimplemented function and remove some useless guards.
2086 2007-11-07 Alexander Larsson <alexl@redhat.com>
2089 Autoconf checks for the various types of
2090 getpwuid_r and getgrgid_r
2092 * gio/glocalfileinfo.c:
2093 Use the autoconf checks from above
2095 2007-11-07 Alexander Larsson <alexl@redhat.com>
2098 (g_local_file_query_filesystem_info):
2099 Some fixes for the statvfs case
2101 2007-11-07 Alexander Larsson <alexl@redhat.com>
2104 (g_local_file_query_filesystem_info):
2105 Pick the "best" of statfs / statvfs for the system
2106 if both are availible.
2108 2007-11-07 Alexander Larsson <alexl@redhat.com>
2110 Solaris fixes from Halton.Huo@Sun.COM:
2117 * gio/glocalfileinfo.c:
2118 Fix for solaris definition of getpwuid_r
2120 * gio/test-streams.c:
2121 Use G_GNUC_PRETTY_FUNCTION
2123 2007-11-07 Alexander Larsson <alexl@redhat.com>
2125 * gio/gdesktopappinfo.c:
2126 (update_default_list):
2127 Remove double semicolon.
2128 Patch from Jens Granseuer
2130 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2132 * docs/reference/gio/gio-sections.txt:
2133 * gio/gbufferedinputstream.c:
2134 * gio/gbufferedinputstream.h:
2135 * gio/gdatainputstream.c:
2136 * gio/gfileenumerator.c:
2137 * gio/gioscheduler.c:
2138 * gio/gunionvolumemonitor.c:
2140 * programs/gio-save.c:
2141 Fix typo: availible -> available. Unfortuntely this breaks API
2142 and ABI as g_buffered_input_stream_get_available() was renamed.
2144 * gio/gunixmounts.c:
2145 * gio/gbufferedinputstream.c:
2146 Add guards for public functions.
2148 2007-11-06 Ross Burton <ross@openedhand.com>
2150 * docs/reference/gio/Makefile.am:
2151 Fix invalid += usage which automake 1.10 doesn't like.
2153 2007-11-06 Alexander Larsson <alexl@redhat.com>
2156 (g_app_launch_context_class_init):
2159 Patch from Ross Burton
2161 2007-11-06 Alexander Larsson <alexl@redhat.com>
2164 Post release version bump
2166 === gio-standalone 0.1.1 ===
2168 2007-11-06 Alexander Larsson <alexl@redhat.com>
2171 Bump version to 0.1.1
2173 * gio/gsimpleasyncresult.c:
2174 (g_simple_async_result_set_from_error):
2175 Remove bogus g_return_if_fail
2177 2007-11-06 Alexander Larsson <alexl@redhat.com>
2180 The name is gio-standalone
2183 Add top src/builddir to includedir
2185 2007-11-06 Alexander Larsson <alexl@redhat.com>
2187 * docs/reference/gio/gio-sections.txt:
2189 * gio/gbufferedinputstream.c:
2190 * gio/gbufferedoutputstream.c:
2191 * gio/gcancellable.c:
2192 * gio/gdatainputstream.h:
2193 * gio/gdataoutputstream.c:
2194 * gio/gdataoutputstream.h:
2195 * gio/gdirectorymonitor.c:
2197 * gio/gfileattribute.c:
2198 * gio/gfileattribute.h:
2199 * gio/gfileenumerator.c:
2200 * gio/gfileenumerator.h:
2203 * gio/gfileinputstream.h:
2204 * gio/gfilemonitor.c:
2205 * gio/gfileoutputstream.h:
2206 * gio/glocalfilemonitor.h:
2207 * gio/glocalfileoutputstream.h:
2208 * gio/gmemoryinputstream.c:
2209 * gio/gmemoryoutputstream.c:
2210 * gio/gmountoperation.c:
2211 * gio/goutputstream.c:
2212 * gio/goutputstream.h:
2214 * gio/gsimpleasyncresult.c:
2215 * gio/gunixmounts.c:
2216 * gio/gunixmounts.h:
2218 * gio/inotify/inotify-helper.c:
2219 Fix gtk-doc warnings
2221 Patch from Ross Burton
2223 2007-11-06 Alexander Larsson <alexl@redhat.com>
2225 * gio/gfilenamecompleter.c:
2226 (g_filename_completer_get_completions):
2229 * gio/gunixvolume.c:
2230 Remove unused function
2232 Patches from Ross Burton
2234 2007-11-06 Alexander Larsson <alexl@redhat.com>
2239 Padding not needed for interfaces
2241 2007-11-06 Alexander Larsson <alexl@redhat.com>
2243 * gio/gfilemonitor.c:
2247 Make giotypes.h an internal file
2250 * gio/gbufferedinputstream.h:
2251 * gio/gbufferedoutputstream.h:
2252 * gio/gcancellable.h:
2253 * gio/gdatainputstream.h:
2254 * gio/gdataoutputstream.h:
2255 * gio/gdirectorymonitor.c:
2256 * gio/gdirectorymonitor.h:
2261 * gio/gfileattribute.h:
2262 * gio/gfileenumerator.h:
2267 * gio/gfilemonitor.c:
2268 * gio/gfilemonitor.h:
2269 * gio/gfilenamecompleter.c:
2270 * gio/gfilenamecompleter.h:
2271 * gio/gfilterinputstream.h:
2272 * gio/gfilteroutputstream.h:
2273 * gio/ginputstream.h:
2274 * gio/gmemoryinputstream.h:
2275 * gio/gmemoryoutputstream.h:
2276 * gio/gmountoperation.c:
2277 * gio/gmountoperation.h:
2278 * gio/gnativevolumemonitor.c:
2279 * gio/goutputstream.h:
2282 * gio/gsimpleasyncresult.c:
2283 * gio/gsimpleasyncresult.h:
2284 * gio/gsocketinputstream.h:
2285 * gio/gsocketoutputstream.h:
2286 * gio/gthemedicon.c:
2287 * gio/gthemedicon.h:
2291 * gio/gvolumemonitor.c:
2292 * gio/gvolumemonitor.h:
2293 Add padding in classes where it seems useful
2294 Don't include giotypes.h from public headers
2295 Move in Class definitions into c file where possible
2300 2007-11-06 Alexander Larsson <alexl@redhat.com>
2302 * docs/reference/gio/gio-docs.xml:
2303 Better structure for API docs
2305 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2308 * gio/gloadableicon.c:
2309 * gio/gsimpleasyncresult.c:
2310 * gio/gthemedicon.c:
2311 Add some more guards to public functions. Only files missing are now
2314 2007-11-06 Alexander Larsson <alexl@redhat.com>
2316 * docs/reference/gio/gio-docs.xml:
2317 Remove old files, add missing ones
2319 2007-11-06 Alexander Larsson <alexl@redhat.com>
2321 * docs/reference/gio/gio-sections.txt:
2324 Hide implementation classes
2326 * gio/gdriveprivate.h:
2327 * gio/gvolumeprivate.h:
2328 Remove non-existing function declarations
2330 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2333 Fix compilation warnings and add guards to the new functions.
2335 * gio/gasyncresult.c:
2337 Add guards to the public functions.
2340 Implement get_path().
2342 2007-11-06 Alexander Larsson <alexl@redhat.com>
2344 * gio/gfilenamecompleter.c:
2345 Make g_filename_completer_get_completions
2346 return char ** instead of GList for
2349 * docs/reference/gio/gio-docs.xml:
2350 * docs/reference/gio/gio-sections.txt:
2352 * gio/gasyncresult.c:
2353 * gio/gbufferedinputstream.c:
2354 * gio/gbufferedoutputstream.c:
2355 * gio/gcancellable.c:
2356 * gio/gcontenttype.c:
2357 * gio/gdatainputstream.c:
2358 * gio/gdataoutputstream.c:
2359 * gio/gdesktopappinfo.c:
2360 * gio/gdirectorymonitor.c:
2364 * gio/gfileattribute.c:
2365 * gio/gfileenumerator.c:
2368 * gio/gfileinputstream.c:
2369 * gio/gfilemonitor.c:
2370 * gio/gfilenamecompleter.c:
2371 * gio/gfilenamecompleter.h:
2372 * gio/gfileoutputstream.c:
2373 * gio/gfilterinputstream.c:
2375 * gio/ginputstream.c:
2377 * gio/gioscheduler.c:
2378 * gio/gloadableicon.c:
2379 * gio/glocaldirectorymonitor.c:
2381 * gio/glocalfileinputstream.c:
2382 * gio/glocalfilemonitor.c:
2383 * gio/glocalfileoutputstream.c:
2385 * gio/gmemoryinputstream.c:
2386 * gio/gmemoryoutputstream.c:
2387 * gio/gmountoperation.c:
2388 * gio/goutputstream.c:
2389 * gio/gpollfilemonitor.c:
2391 * gio/gsimpleasyncresult.c:
2392 * gio/gsocketinputstream.c:
2393 * gio/gsocketoutputstream.c:
2394 * gio/gthemedicon.c:
2395 * gio/gunionvolumemonitor.c:
2397 * gio/gunixmounts.c:
2398 * gio/gunixvolume.c:
2399 * gio/gunixvolumemonitor.c:
2403 * gio/gvolumemonitor.c:
2404 * gio/gwin32appinfo.c:
2405 Add (mostly stub) doc strings to public functions.
2406 Patch from Andrew Walton (awalton@gmail.com)
2408 2007-11-06 Alexander Larsson <alexl@redhat.com>
2410 * gio/gappinfo.[ch]:
2411 Added GAppLaunchContext object and pass that to launch.
2412 This allows simple implementation of both
2413 launch-on-screen and startup notification via a gtk+
2414 subclass of GAppLaunchContext
2416 * gio/gdesktopappinfo.c:
2417 Implement GAppLaunchContext API
2419 * gio/gwin32appinfo.c:
2422 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2424 * gio/gmountoperation.c:
2425 Add some guards to GMountOperation's public functions.
2427 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2431 * gio/gcancellable.c:
2432 * gio/gdirectorymonitor.c:
2434 * gio/gfileenumerator.c:
2435 * gio/gfilemonitor.c:,
2436 * gio/gfilenamecompleter.c:
2439 * gio/gioscheduler.c:
2443 * gio/gvolumemonitor.c:
2444 Add even more guards to various public functions.
2446 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2449 Add guards to the public functions of GAppInfo.
2451 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2453 * gio/gcontenttype.c:
2454 Add some more guards for public functions.
2456 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2458 * gio/fam/fam-module.c:
2459 * gio/fam/gfamdirectorymonitor.c:
2460 * gio/fam/gfamdirectorymonitor.h:
2461 * gio/fam/gfamfilemonitor.c:
2462 * gio/fam/gfamfilemonitor.h:
2463 * gio/inotify/ginotifydirectorymonitor.c:
2464 * gio/inotify/ginotifydirectorymonitor.h:
2465 * gio/inotify/ginotifyfilemonitor.c:
2466 * gio/inotify/ginotifyfilemonitor.h:
2467 Add proper copyright information and remove an unused variable
2468 in the GInotifyFileMonitor constructor.
2470 * gio/gcancellable.c:
2471 Add a guard for a public function and an assertion to prevent
2472 an undefined program state.
2474 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2476 * gio/gfileattribute.c:
2477 Don't run into an assertion if the given attribute value is NULL
2478 in g_file_attribute_value_get_*() but instead return a fallback
2479 value that makes sense in most situations. Passing them a attribute
2480 value with the wrong type will still run into an assertion.
2482 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2484 * gio/gfileattribute.c:
2486 Add even more guards to the public functions. Also fix the refcounting
2487 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2488 let g_file_info_list_attributes() filter the attributes by namespace
2489 instead of simply ignoring the namespace parameter.
2491 2007-11-03 Sven Herzberg <sven@imendio.com>
2493 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2494 (This makes gio work on MacOS X again)
2496 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2499 Build the gio subdirectory before the docs. Otherwise the build will
2502 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2503 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2504 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2505 Add guards to the public functions.
2507 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2509 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2510 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2511 to prevent a compiler warning.
2513 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2514 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2515 return something in the non-void function find_topdir_for().
2517 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2524 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2526 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2527 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2528 * gwin32appinfo.c (g_win32_app_info_launch):
2529 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2530 envp_for_startup_id, g_desktop_app_info_launch,
2531 g_desktop_app_info_launch_uris):
2533 Give an opaque 'startup_id' string instead of 'envp'.
2534 Support empty file lists for launching new windows.
2535 Fix infinite recursion bug when launching URIs.
2537 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2540 Add guard to the new g_file_get_uri_scheme() function.
2542 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2545 Convert a g_return_val_if_fail() to setting the GError instead as
2546 otherwise applications have to verify the parameter before otherwise
2547 and the parameter might come directly from the user.
2549 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2551 * gio/inotify/ginotify*.[ch]:
2552 Add missing copyright information.
2554 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2557 Add guards in the beginning of public functions to check for valid
2558 parameters and fix a bug in copy_stream_with_progress() that could've
2559 caused writing less bytes than reading.
2560 * gio/glocalfileinfo.c:
2561 Check for a NULL parameter and set the GError accordingly then.
2562 * gio/goutputstream.c:
2563 Fix the same bug as in gfile.c that could've caused writing less bytes
2564 than reading in g_output_stream_real_splice().
2566 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2569 Use the correct gvolumeprivate.h naming
2571 2007-11-01 Christian Kellner <gicmo@gnome.org>
2574 Remove leftover "$(daemon_sources)" entry.
2576 2007-11-01 Christian Kellner <gicmo@gnome.org>
2581 Add copyright information to source files.
2583 2007-11-01 Alexander Larsson <alexl@redhat.com>
2587 Add g_file_get_uri_scheme
2589 2007-11-01 Alexander Larsson <alexl@redhat.com>
2592 * gio/gdesktopappinfo.c:
2593 * gio/gwin32appinfo.c:
2594 Add g_app_info_get_default_for_uri_scheme.
2596 2007-11-01 Alexander Larsson <alexl@redhat.com>
2599 Correct filename for gdriveprivate.h
2601 2007-10-31 Alexander Larsson <alexl@redhat.com>
2604 Rename id:value to id:file
2607 * gio/glocalfileinfo.c:
2610 2007-10-31 Alexander Larsson <alexl@redhat.com>
2612 * gio/gunixvolume.c:
2614 Remove g_volume_get_platform_id, as thats not
2615 needed with the simpler union volume monitor
2617 2007-10-31 Alexander Larsson <alexl@redhat.com>
2620 * gio/guniondrive.[ch]: Removed.
2621 * gio/gunionvolume.[ch]: Removed.
2622 Remove GUnionDrive/Volume
2624 * gio/gunionvolumemonitor.c:
2625 Simplify union volume monitor, now we
2626 only have one native volume monitor and
2627 we use the actual volumes/drives from the
2628 child monitors instead of wrapping them
2630 * gio/gnativevolumemonitor.[ch]:
2631 Base class for native volume monitors.
2632 Includes priority and get_volume_for_mountpoint
2635 Add g_file_find_enclosing_volume
2638 Remove volume name fs attribute
2639 Add readonly fs attribute
2642 Implement readonly attribute
2643 remove volume name attribute
2644 Implement find_enclosing volume
2646 * gio/gunixmounts.c:
2647 Add a volume for "/".
2649 * gio/gunixvolume.[ch]:
2650 Set better name for /
2652 * gio/gunixvolumemonitor.[ch]:
2653 Derive from GNativeVolumeMonitor
2654 Implement get_volume_for_mountpoint
2657 GVolume typedef moved to gfile.h
2659 * gio/gvolumeprivate.h:
2660 Add g_volume_get_for_mount_path
2662 2007-10-31 Alexander Larsson <alexl@redhat.com>
2664 * gio/gunixmounts.[ch]:
2665 Add cache info to unix mount listers
2666 Make getmntent use threadsafe
2667 Add is_system_internal attribute for GUnixMount
2669 * gio/gunixvolume.c:
2670 (g_unix_volume_new):
2671 Use is_system_internal instead of own code
2673 * gio/glocaldirectorymonitor.c:
2674 * gio/gunixvolumemonitor.c:
2675 Update to new gunixmounts API
2680 2007-10-30 Alexander Larsson <alexl@redhat.com>
2683 Add volume name fsinfo attribute
2686 Read volume name info
2688 * gio/gunionvolumemonitor.c:
2689 Fix infinite loops when finalizing a union volume monitor
2691 2007-10-30 Alexander Larsson <alexl@redhat.com>
2693 * gio/goutputstream.[ch]:
2694 Add splice() with default implementation
2696 * gio/gsocketoutputstream.c:
2697 (g_socket_output_stream_write):
2698 Return error on cancellation correctly.
2700 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2702 * gio/glocalfile.c (g_local_file_trash):
2703 Do not leak a string.
2705 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2707 * gio/gfile.c (g_file_load_contents):
2708 Unref the stream after closing it.
2710 2007-10-25 Alexander Larsson <alexl@redhat.com>
2712 * gio/gioscheduler.h:
2715 2007-10-25 Alexander Larsson <alexl@redhat.com>
2719 Add g_file_has_uri_scheme and implement for local files
2721 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2723 * gio/gdesktopappinfo.c: do not leak a string.
2725 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2727 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2728 (g_local_directory_monitor_new):
2729 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2730 (g_local_file_monitor_new):
2731 Only look for the monitor type that should be used the first time
2732 and use g_qsort_with_data() instead of our own bubble sort
2735 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2738 * gio/fam/Makefile.am:
2739 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2740 * gio/fam/fam-helper.h:
2741 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2742 * gio/fam/gfamdirectorymonitor.c:
2743 * gio/fam/gfamdirectorymonitor.h:
2744 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2745 * gio/fam/gfamfilemonitor.h:
2746 * gio/glocaldirectorymonitor.c:
2747 * gio/glocaldirectorymonitor.h:
2748 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2749 * gio/glocalfilemonitor.h:
2750 * gio/inotify/Makefile.am:
2751 * gio/inotify/ginotifydirectorymonitor.c:
2752 * gio/inotify/ginotifydirectorymonitor.h:
2753 * gio/inotify/ginotifyfilemonitor.c:
2754 * gio/inotify/ginotifyfilemonitor.h:
2755 Implement the FAM and Inotify monitors as
2756 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2757 their own GIO module. GLocal(Directory|File)Monitor will use the
2758 monitor with the highest rank that is supported on that machine.
2760 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2763 Change GIO module dir to $(libdir)/gio/modules and change
2764 the log domain from GVFS to GIO. Also only export symbols starting
2765 with g_ in the resulting library.
2766 * gio/test-streams.c: (main):
2767 Set log handler for the GIO log domain.
2769 2007-10-22 Alexander Larsson <alexl@redhat.com>
2771 * gio/gfilenamecompleter.[ch]:
2772 Add g_filename_completer_set_dirs_only
2774 2007-10-22 Alexander Larsson <alexl@redhat.com>
2777 * gio/gurifuncs.[ch]:
2778 Add some simple URI helpers
2780 * gio/gfilenamecompleter.[ch]:
2781 Added object for filename (parse name actually) completion
2784 Handle ~ in parse names
2786 2007-10-17 Alexander Larsson <alexl@redhat.com>
2789 * gio/glocalfileinfo.c:
2790 Add and implement id:value attribute
2792 2007-10-17 Alexander Larsson <alexl@redhat.com>
2795 * gio/guniondrive.c:
2797 Add and implement g_drive_has_volumes
2799 2007-10-17 Alexander Larsson <alexl@redhat.com>
2802 * gio/glocalfileinfo.[ch]:
2803 Add unix:is_mountpoint and implement for local files
2805 2007-10-16 Alexander Larsson <alexl@redhat.com>
2807 * gio/gunionvolumemonitor.c:
2808 (g_union_volume_monitor_init):
2809 Fix up the unix type getting so that it works with gcc
2811 2007-10-12 Alexander Larsson <alexl@redhat.com>
2814 * gio/glocalfileinfo.c:
2815 Add thumbnail:failed to file info
2817 2007-10-12 Richard Hult <richard@imendio.com>
2819 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2820 optimizing away the get_type call (happens with some gcc versions,
2821 like the one shipped with OS X 10.4).
2823 2007-10-12 Alexander Larsson <alexl@redhat.com>
2825 * gio/glocalfileinfo.c:
2826 (_g_local_file_info_set_attribute):
2827 Fix build if not HAVE_XATTR
2828 Patch from Milosz Derezynski <internalerror@gmail.com>
2830 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2832 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2833 around for review, otherwise I would have asked you before
2836 2007-10-11 Alexander Larsson <alexl@redhat.com>
2839 Add thumbnail:path attribute
2841 * gio/glocalfileinfo.c:
2842 Implement thumbnail:path for local files
2844 2007-10-11 Alexander Larsson <alexl@redhat.com>
2846 * gio/glocalfileinfo.c:
2847 (_g_local_file_info_get):
2848 Avoid duplicate icon names
2850 2007-10-11 Alexander Larsson <alexl@redhat.com>
2852 * gio/gthemedicon.[ch]:
2853 Change g_themed_icon_get_names return type to const
2855 2007-10-10 Alexander Larsson <alexl@redhat.com>
2857 * gio/glocalfileinfo.c:
2858 Don't reference freed memory
2860 2007-10-10 Alexander Larsson <alexl@redhat.com>
2862 * gio/gfileattribute.c:
2865 * gio/glocalfileinfo.c:
2868 2007-10-10 Alexander Larsson <alexl@redhat.com>
2871 Check for NULL icons
2873 * gio/gfileattribute.c:
2874 Don't dup when getting objects (same as for string attributes)
2876 * gio/gicon.c (g_icon_equal):
2877 Safely handle NULLs in equal
2879 2007-10-10 Alexander Larsson <alexl@redhat.com>
2882 Fix c++ compilation issues
2883 Patch from Milosz Derezynski <internalerror@gmail.com>
2885 2007-10-10 Alexander Larsson <alexl@redhat.com>
2887 * programs/gio-monitor-dir.c:
2888 Don't crash if dir monitor not supported.
2890 2007-10-09 Alexander Larsson <alexl@redhat.com>
2893 Add missing G_END_DECLS
2895 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2897 * gio/gfile.c: (g_file_set_display_name),
2898 (g_file_query_settable_attributes),
2899 (g_file_query_writable_namespaces):
2900 Return NULL not FALSE on errors as the return type is a pointer.
2902 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2904 * gio/glocalfile.c: (g_local_file_monitor_file):
2905 Don't call monitor_file on the default interface vtable (which
2906 is NULL) but simply return NULL. The caller, GFile, will create a
2907 polling monitor if NULL is returned.
2909 2007-10-09 Alexander Larsson <alexl@redhat.com>
2913 * gio-unix-2.0.pc.in:
2914 Add gio-unix-2.0.pc if OS_UNIX
2917 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2919 2007-10-09 Alexander Larsson <alexl@redhat.com>
2921 * gio/gunixmounts.[ch]:
2922 Make unix mount monitoring API sane.
2923 Now its just a object with mounts_changed
2924 and mountpoints_changed signals.
2926 * gio/glocaldirectorymonitor.c:
2927 * gio/gunixvolumemonitor.c:
2928 Use new mount monitor api
2930 2007-10-09 Alexander Larsson <alexl@redhat.com>
2932 * gio/gunixmounts.[ch]:
2933 Move guess type into one call for mounts and one for mountpoints
2936 * gio/gunixvolume.c:
2939 2007-10-09 Alexander Larsson <alexl@redhat.com>
2941 * gio/gunixmounts.[ch]:
2942 Remove _ prefix in preparation to make this semi-public
2943 Hide implementation of structs
2945 * gio/glocaldirectorymonitor.c:
2947 * gio/gunixvolume.c:
2948 * gio/gunixvolumemonitor.c:
2949 Update for above API changes
2951 2007-10-08 Alexander Larsson <alexl@redhat.com>
2954 Better polling fallback. This also handles the case where we have
2955 a monitor_file implementation, but it fails.
2957 2007-10-08 Alexander Larsson <alexl@redhat.com>
2961 * gio/gunixmounts.c:
2962 * programs/gio-monitor-dir.c:
2963 * programs/gio-monitor-file.c:
2964 Added cancellable to file monitoring calls.
2965 These are really sync calls and need this.
2967 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2969 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2970 (g_local_vfs_class_init):
2971 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2972 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2974 2007-10-05 Alexander Larsson <alexl@redhat.com>
2976 * gio/gdirectorymonitorprivate.h:
2977 * gio/gfilemonitorprivate.h:
2978 * gio/gdirectorymonitor.h:
2979 * gio/gfilemonitor.h:
2980 Remove *private.h and move to the public API, so that
2981 we can do implementations outside gio (such as in gvfs)
2983 * gio/gdirectorymonitor.c:
2984 * gio/gfilemonitor.c:
2985 * gio/glocaldirectorymonitor.c:
2986 * gio/gpollfilemonitor.c:
2987 * gio/inotify/inotify-helper.c:
2988 * gio/fam/fam-helper.c:
2989 Update to the new header names
2991 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
2993 * gio/gdirectorymonitor.c:
2994 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
2997 2007-10-04 Alexander Larsson <alexl@redhat.com>
2999 * gio/glocalfileinfo.c (get_access_rights):
3000 Set CAN_TRASH when we can move the file.
3001 We should really also check for a parent trash dir.
3003 2007-10-04 Alexander Larsson <alexl@redhat.com>
3005 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3006 Add can_trash access attribute
3008 2007-10-04 Alexander Larsson <alexl@redhat.com>
3011 (g_local_file_trash):
3012 Create info file first. This is per-spec and allows
3013 us to actually trash directories.
3015 2007-10-02 Alexander Larsson <alexl@redhat.com>
3017 * gio/gdesktopappinfo.c:
3018 Implement the new mime support code.
3019 Always set app as handling mimetype when being set as default for it
3021 2007-10-01 Alexander Larsson <alexl@redhat.com>
3023 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3024 Fix up check for xattrs:
3026 2007-10-01 Alexander Larsson <alexl@redhat.com>
3029 (g_app_info_set_as_default_for_extension):
3030 (g_app_info_add_supports_type):
3031 (g_app_info_can_remove_supports_type):
3032 (g_app_info_remove_supports_type):
3033 Make these fail nicely if not implemented
3035 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3037 * gio/glocalfileoutputstream.c:
3038 * gio/glocalfileoutputstream.h:
3043 * programs/gio-save.c:
3044 Add a GFileCreateFlags argument to operations that can create
3047 2007-10-01 Alexander Larsson <alexl@redhat.com>
3049 * gio/gappinfo.[ch]:
3050 * gio/gdesktopappinfo.c:
3051 Add more (stubbed out) mime API needed for nautilus
3053 2007-10-01 Alexander Larsson <alexl@redhat.com>
3056 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3057 Add g_app_info_set_as_default_for_extension.
3059 * gio/gdesktopappinfo.c:
3060 Dummy for g_app_info_set_as_default_for_extension
3061 Support flags in g_app_info_create_from_commandline
3063 * gio/gwin32appinfo.c:
3065 Update for API changes
3067 * gio/gthemedicon.c:
3068 Properly NULL-terminate list of icon names
3070 2007-09-28 Alexander Larsson <alexl@redhat.com>
3072 * gio/gloadableicon.h:
3073 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3075 2007-09-28 Alexander Larsson <alexl@redhat.com>
3078 Install headers in $includedir/gio-standalone/
3080 * gio-2.0.pc.in: Added.
3081 * gio-standalone.pc.in: Removed.
3084 Renamed pkg-config file to match glib (for future move)
3085 Update to the new include dir
3088 Add more TODO comments
3090 2007-09-28 Alexander Larsson <alexl@redhat.com>
3092 * gio/gdesktopappinfo.[ch]:
3093 Expose new_from_filename
3094 Add getter for is_hidden and handle it better
3096 2007-09-28 Alexander Larsson <alexl@redhat.com>
3098 * gio/gfileinfo.[ch]:
3099 Rename g_file_size_format_for_display to
3100 g_format_file_size_for_display.
3101 Now it doesn't have the g_file prefix, so we
3102 can later move it to glib.
3104 2007-09-28 Alexander Larsson <alexl@redhat.com>
3106 * gio/gappinfo.[ch]:
3107 Add g_app_info_get_id and g_app_info_get_executable.
3108 Make all getters non-reffing
3109 Make g_app_info_launch take GFile arguments.
3110 Add must_support_uris argument to g_app_info_get_default_for_type.
3112 * gio/gwin32appinfo.c:
3113 Update to GAppInfo api changes
3115 * gio/gdesktopappinfo.c:
3116 Update to GAppInfo api changes
3117 Implement supports_xdg_startup_notify
3119 * gio/gfileicon.c (g_file_icon_get_file):
3120 Make getter non-reffing.
3125 2007-09-27 Alexander Larsson <alexl@redhat.com>
3127 * gio/gfileinfo.[ch]:
3128 Add g_file_size_format_for_display helper
3130 2007-09-27 Alexander Larsson <alexl@redhat.com>
3132 * gio/glocalfileinfo.c:
3133 Set UNIX_GID from gid, not from uid
3135 2007-09-27 Alexander Larsson <alexl@redhat.com>
3138 Add g_file_set_attributes_async
3140 2007-09-27 Alexander Larsson <alexl@redhat.com>
3142 * gio/glocalfile.c (g_local_file_set_display_name):
3143 Fix set_display_name to actually rename to the right place.
3144 Use lstat to look for existing files so we don't overwrite
3147 2007-09-26 Alexander Larsson <alexl@redhat.com>
3150 Add g_file_set_display_name_async()
3152 2007-09-26 Alexander Larsson <alexl@redhat.com>
3155 Add load_partial_contents async calls
3158 Make internal function static
3160 2007-09-26 Alexander Larsson <alexl@redhat.com>
3162 * gio/glocalfileinfo.c:
3163 Correctly detect broken symlinks
3165 2007-09-26 Alexander Larsson <alexl@redhat.com>
3167 * gio/gcancellable.c (g_cancellable_cancel):
3168 Allow cancel on NULL cancellable
3170 2007-09-25 Alexander Larsson <alexl@redhat.com>
3172 * gio/gsimpleasyncresult.c:
3173 Don't allocate g_error manually.
3174 Fixes g_slice/g_new mixup crash
3176 2007-09-25 Alexander Larsson <alexl@redhat.com>
3178 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3179 Actually set active_backend.
3180 This means the monitor will be cancelled correctly.
3182 2007-09-25 Alexander Larsson <alexl@redhat.com>
3184 * gio/gdirectorymonitor.c:
3185 Set timeout to NULL when destroying
3187 2007-09-25 Alexander Larsson <alexl@redhat.com>
3190 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3191 that is a better description of the error.
3193 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3195 * gio/gvfs.c: (g_vfs_get_local):
3196 Make the local vfs variable static. The same instance should
3199 2007-09-24 Alexander Larsson <alexl@redhat.com>
3201 * gio/glocalfileinfo.c:
3202 Pass in actual length read into sniffer, not the length
3205 2007-09-21 Alexander Larsson <alexl@redhat.com>
3207 * gio/gfileenumerator.c:
3210 * gio/gfileinputstream.c:
3211 * gio/gfileoutputstream.c:
3212 * gio/ginputstream.c:
3213 * gio/goutputstream.c:
3214 Don't crash if async callbacks are NULL
3216 2007-09-20 Alexander Larsson <alexl@redhat.com>
3219 Add async enumerate_children method and default
3222 2007-09-20 Alexander Larsson <alexl@redhat.com>
3225 Add g_file_contains_file & g_file_get_relative_path, since they
3226 were needed for nautilus.
3227 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3232 Implement new methods
3234 2007-09-17 Alexander Larsson <alexl@redhat.com>
3237 * gio/gfileinputstream.[ch]:
3238 * gio/gfileoutputstream.[ch]:
3240 * gio/glocalfileenumerator.[ch]:
3241 * gio/glocalfileinfo.[ch]:
3242 * gio/glocalfileinputstream.c:
3243 * gio/glocalfileoutputstream.c:
3244 * gio/gpollfilemonitor.c:
3245 * programs/gio-copy.c:
3246 * programs/gio-info.c:
3247 * programs/gio-move.c:
3248 Rename get_file_info to query_info() to make it clearer
3249 that these are not simple getters, but do i/o.
3251 2007-09-17 Alexander Larsson <alexl@redhat.com>
3253 * gio/gdatainputstream.[ch]:
3254 * gio/test-streams.c:
3255 Use _read_XXX instead of _get_XXX for the i/o calls
3258 2007-09-17 Alexander Larsson <alexl@redhat.com>
3261 Added needed stuff to TODO comment
3263 2007-09-17 Alexander Larsson <alexl@redhat.com>
3265 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3266 Don't error out removing the backup copy if it doesn't
3269 2007-09-14 Alexander Larsson <alexl@redhat.com>
3271 * programs/Makefile.am:
3272 * programs/gvfs-*.c:
3274 Renamed apps from gvfs-xxx to gio-xxx.
3276 2007-09-14 Alexander Larsson <alexl@redhat.com>
3279 * gio/gfileoutputstream.[ch]:
3280 * gio/glocalfileoutputstream.c:
3281 * programs/gvfs-save.c:
3282 g_file_output_stream_get_etag doesn't do i/o, so remove
3283 cancellation and error.
3285 2007-09-14 Alexander Larsson <alexl@redhat.com>
3288 Add new_etag output to replace_contents functions
3290 2007-09-14 Alexander Larsson <alexl@redhat.com>
3292 * gio/gfileoutputstream.[ch]:
3293 Add async get_file_info and default implementation
3295 2007-09-14 Alexander Larsson <alexl@redhat.com>
3297 * gio/gfileinputstream.c:
3298 Implement fallback wrapper for async get_file_info
3300 2007-09-14 Alexander Larsson <alexl@redhat.com>
3303 Add etag out argument to load_contents
3308 2007-09-14 Alexander Larsson <alexl@redhat.com>
3310 * gio/gcontenttype.c (looks_like_text):
3311 Whitespace like tab, cr and lf do not make the
3314 2007-09-14 Alexander Larsson <alexl@redhat.com>
3316 * gio/gfileinputstream.[ch]:
3317 Add async get_file_info.
3319 2007-09-13 Alexander Larsson <alexl@redhat.com>
3321 * gio/goutputstream.c (g_output_stream_write_all):
3322 Allow NULL for bytes_written
3324 2007-09-13 Alexander Larsson <alexl@redhat.com>
3326 * gio/gmemoryinputstream.[ch]:
3327 Add accessors for data
3329 2007-09-13 Alexander Larsson <alexl@redhat.com>
3331 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3332 Don't crash if length is NULL