1 2008-02-01 Alexander Larsson <alexl@redhat.com>
3 * gappinfo.c (g_app_info_launch_default_for_uri):
6 2008-02-01 Alexander Larsson <alexl@redhat.com>
10 Add g_app_info_launch_default_for_uri utility
13 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
16 Doc fix for g_app_info_get_default_for_uri_scheme ()
19 2008-01-30 Alexander Larsson <alexl@redhat.com>
22 Add doc comment about uris vs GFiles to
26 Ensure uris passed to g_app_info_launch_uris()
27 are not roundtriped through GFile (as that
28 may be slightly destructive for e.g. mailto: links)
30 2008-01-30 Alexander Larsson <alexl@redhat.com>
32 * tests/data-input-stream.c:
33 * tests/data-output-stream.c:
34 C89 fixes from Jens Granseuer (#512849)
36 2008-01-30 Alexander Larsson <alexl@redhat.com>
39 Fix gamin/fam difference build issue. (#509419)
41 2008-01-29 Alexander Larsson <alexl@redhat.com>
45 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
47 2008-01-29 Alexander Larsson <alexl@redhat.com>
51 giomodule-priv.h include moved to .c file.
53 2008-01-29 Alexander Larsson <alexl@redhat.com>
55 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
56 Remove unused prio/name fields.
58 2008-01-29 Alexander Larsson <alexl@redhat.com>
60 * gcontenttype.c (looks_like_text):
61 Don't treat whitespace as control chars.
63 2008-01-29 Alexander Larsson <alexl@redhat.com>
66 Lazily create the desktop files for appinfos created
67 by g_app_info_create_from_commandline() when needed
68 for mime associations. This allows run-time use
69 of GAppInfo object without creating unnecessary
72 2008-01-29 Alexander Larsson <alexl@redhat.com>
75 Added new symbols to gio.symbols
77 2008-01-29 Alexander Larsson <alexl@redhat.com>
80 Add g_file_query_default_handler utility to easily look up
81 the GAppInfo that handles a file.
83 * gdesktopappinfo.[ch]:
85 Set up an extension point for g_app_info_get_default_for_uri_scheme()
88 Remove unused function
90 2008-01-29 Alexander Larsson <alexl@redhat.com>
93 Mention need to free returned value in
94 g_file_enumerator_next_files_finish docs.
95 Fix leak if g_file_enumerator_next_files_finish()
98 2008-01-29 Alexander Larsson <alexl@redhat.com>
101 (_g_unix_content_type_get_parents):
102 Use list_parents, not get_parents from xdgmime, because
103 the later doesn't use the cache.
105 * xdgmime/xdgmimecache.c:
106 (_xdg_mime_cache_list_mime_parents):
107 Don't list the same type as parent multiple times.
109 2008-01-28 Matthias Clasen <mclasen@redhat.com>
111 * === Released 2.15.4 ===
113 2008-01-28 Alexander Larsson <alexl@redhat.com>
116 Register local vfs with prio 0.
119 Remove old name and prio class members
121 2008-01-28 Matthias Clasen <mclasen@redhat.com>
123 * tests/g-file.c: Disable some tests that are failing in
124 the absence of a http backend.
126 2008-01-28 Alexander Larsson <alexl@redhat.com>
130 Add registration hooks for extension points.
131 Register the gio extension points.
133 * fam/gfamdirectorymonitor.c:
134 * fam/gfamfilemonitor.c:
135 * glocaldirectorymonitor.[ch]:
136 * glocalfilemonitor.[ch]:
137 * gnativevolumemonitor.h:
138 * gunionvolumemonitor.c:
139 * gunixvolumemonitor.c:
142 * inotify/ginotifydirectorymonitor.c:
143 * inotify/ginotifyfilemonitor.c:
144 Use the extension points registration instead
145 of g_type_children().
147 2008-01-28 Matthias Clasen <mclasen@redhat.com>
150 * gvolume.[hc]: Document new API.
152 * gfile.c (g_file_copy_async): Fix docs
154 2008-01-27 Matthias Clasen <mclasen@redhat.com>
156 * gbufferedinputstream.c:
158 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
161 2008-01-27 Matthias Clasen <mclasen@redhat.com>
163 * glocalfile.c: Avoid trivial differences in translatable strings.
165 2008-01-25 Matthias Clasen <mclasen@redhat.com>
167 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
168 build with gcc 3.4 (#509419)
170 2008-01-25 Matthias Clasen <mclasen@redhat.com>
172 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
173 (#509994, Murray Cumming)
175 2008-01-25 Matthias Clasen <mclasen@redhat.com>
177 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
178 * gioscheduler.c: Keep calling io jobs until they return FALSE;
179 this allows big jobs to be executed in chunks, instead of blocking
180 the main loop for a long time.
182 * gsimpleasyncresult.c:
183 * giofile.c: Adapt callers.
185 2008-01-25 Alexander Larsson <alexl@redhat.com>
188 Implement changes discussed on xdg list.
189 Now we can add supported mimetypes by just using defaults.list
190 We can also remove associations in defaults.list.
192 2008-01-25 Alexander Larsson <alexl@redhat.com>
195 Don't make local copy of desktop file
196 for mimetype changes if the file already
197 supports the new mimetype.
199 2008-01-25 Matthias Clasen <mclasen@redhat.com>
203 * gbufferedinputstream.c:
204 * glocalfile.c: String improvements. (#511966,
205 Theppitak Karoonboonyanan)
207 2008-01-24 Matthias Clasen <mclasen@redhat.com>
209 * gioscheduler.h: Expand docs a bit.
211 2008-01-24 Alexander Larsson <alexl@redhat.com>
214 Add g_drive_get_identifier and
215 g_drive_enumerate_identifiers
218 Add g_volume_get_identifier and
219 g_volume_enumerate_identifiers
225 Implement identifiers for unix backend
227 2008-01-24 Alexander Larsson <alexl@redhat.com>
232 Add g_file_copy_async() (#511580)
233 Based on patch from Carlos Garcia Campos
235 2008-01-23 Matthias Clasen <mclasen@redhat.com>
237 * gioscheduler.c: Some documentation additions.
239 2008-01-22 Alexander Larsson <alexl@redhat.com>
242 (g_desktop_app_info_new):
245 2008-01-22 Alexander Larsson <alexl@redhat.com>
248 (g_desktop_app_info_new_from_filename):
251 2008-01-22 Alexander Larsson <alexl@redhat.com>
253 * glocalfileinfo.c (get_thumbnail_attributes):
256 2008-01-22 Alexander Larsson <alexl@redhat.com>
259 (canonicalize_filename):
260 Canonicalize paths that start with more than
265 (test_g_file_new_for_path):
268 2008-01-22 Alexander Larsson <alexl@redhat.com>
271 Allow UTF-8 in file:// parse names.
274 * tests/data-input-stream.c:
275 * tests/data-output-stream.c:
276 * tests/g-file-info.c:
278 Added a bunch of tests from Tomas Bzatek
280 2008-01-21 Matthias Clasen <mclasen@redhat.com>
282 * === Released 2.15.3 ===
284 2008-01-21 Alexander Larsson <alexl@redhat.com>
286 * gfileinputstream.[ch]:
287 * gfileoutputstream.[ch]:
289 Remove duplicated GSeekable functions. (#509990)
290 Just use the g_seekable_xxx() calls instead.
292 2008-01-21 Matthias Clasen <mclasen@redhat.com>
295 * gvolumemanager.c: Whitespace cleanups.
297 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
298 Use the right mode when creating the file.
300 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
303 * gfileinputstream.c:
305 * goutputstream.c: Documentation: Fixed minor typos
306 and added more mentions of specific _finish() functions.
308 2008-01-21 Alexander Larsson <alexl@redhat.com>
310 * inotify/Makefile.am:
311 * inotify/inotify-helper.c:
312 * inotify/inotify-kernel.c:
313 * inotify/inotify-path.c:
314 * inotify/local_inotify.h: Removed.
315 * inotify/local_inotify_syscalls.h: Removed.
316 Removed the included copies of the inotify
317 headers. We now only use the <sys/inotify.h>
318 header which exists on modern systems.
319 This fixes problems on ARM and SH5 (#510448)
320 but is also generally much cleaner and future
321 safe. For instance, if other OSes add support
322 for inotify it should "just work".
324 2008-01-20 Matthias Clasen <mclasen@redhat.com>
326 * inotify/*.c: Coding style fixes.
327 * inotify/inotify-missing.c: Use g_timeout_add_seconds
328 for the 1/4 Hz timer.
330 2008-01-20 Matthias Clasen <mclasen@redhat.com>
334 * gmemoryinputstream.c:
335 * gmemoryoutputstream.c:
337 * gthemedicon.c: Documentation updates
339 2008-01-20 Murray Cumming <murrayc@murrayc.com>
341 * gfile.c: documentation: Fixed more minor
344 2008-01-18 Murray Cumming <murrayc@murrayc.com>
346 * gmount.c: (g_mount_remount): documentation:
347 Mention g_mount_remount_finish() instead of
348 g_mount_unmount_finish().
350 2008-01-18 Murray Cumming <murrayc@murrayc.com>
354 * gfile.c: Fixed some minor typos in the
357 2008-01-18 Murray Cumming <murrayc@murrayc.com>
359 * gio/gvolumemonitor.c:
360 (g_volume_monitor_get_connected_drives):
361 (g_volume_monitor_get_volumes):
362 (g_volume_monitor_get_mounts): Documentation:
363 Clarify the ownership of the regurn GLists.
365 2008-01-17 Alexander Larsson <alexl@redhat.com>
368 Add the async find_enclosing_mount version
369 to the header file too.
371 2008-01-17 Alexander Larsson <alexl@redhat.com>
374 Add async version of find_enclosing_mount
375 with default implementation.
377 2008-01-17 Alexander Larsson <alexl@redhat.com>
382 Allow calls to implementation of copy and write
383 even if the type of the file implementations is
384 different. This can be used to implement native
385 upload and download calls in a vfs.
389 Protect against the case where move is called
390 with one file not being local.
392 Make sure we call the progress callback once
393 in the native move operation so that the caller
394 knows how many bytes were copied.
396 2008-01-16 Murray Cumming <murrayc@murrayc.com>
399 * gdatainputstream.c:
401 * gfileoutputstream.c:
406 * gunixmounts.c: Corrected some typos in the documentation:
408 its -> it's (where appropriate).
410 2008-01-16 Alexander Larsson <alexl@redhat.com>
414 Add g_file_query_exists (#508771)
416 2008-01-15 Murray Cumming <murrayc@murrayc.com>
421 * gvolume.c: For async functions that have no non-async
422 version, document that the GAsyncReadyCallback may be NULL.
425 2008-01-15 Alexander Larsson <alexl@redhat.com>
427 * gmemoryinputstream.c:
428 * gmemoryoutputstream.c:
429 Don't do pointer arithmetic on void * (#508602)
430 Patch from Kazuki IWAMOTO
432 2008-01-14 Matthias Clasen <mclasen@redhat.com>
434 * === Released 2.15.2 ===
436 2008-01-14 Alexander Larsson <alexl@redhat.com>
438 * gfile.c (g_file_monitor_file):
439 Don't set error here, since we fallback to polling monitor.
441 2008-01-14 Alexander Larsson <alexl@redhat.com>
444 (g_file_monitor_directory):
445 (g_file_monitor_file):
446 Add GError to file monitor calls
448 * glocaldirectorymonitor.c:
449 * glocaldirectorymonitor.h:
451 * glocalfilemonitor.c:
452 * glocalfilemonitor.h:
454 Update for above change
456 2008-01-14 Alexander Larsson <alexl@redhat.com>
460 Handle root correctly in g_file_get_relative_path (#508719)
462 2008-01-14 Alexander Larsson <alexl@redhat.com>
465 Clean up docs and example for GAsyncResult (#508074)
467 2008-01-11 Murray Cumming <murrayc@murrayc.com>
469 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
470 and correct some spelling mistakes. Bug #508108.
472 2008-01-11 Matthias Clasen <mclasen@redhat.com>
474 * glocalfileinfo.c: Add a comment.
476 2008-01-10 Murray Cumming <murrayc@murrayc.com>
478 * gfileinfo.c: GFileInfo description: Mention
479 how to actually set attributes in a GFile and how to discover
480 which attributes are settable. Bug #508378.
482 2008-01-10 A. Walton <awalton@svn.gnome.org>
484 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
485 (g_app_info_get_default_for_type):
486 Check for NULL content types.
488 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
490 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
492 2008-01-09 Murray Cumming <murrayc@murrayc.com>
494 * gfile.c: *_async() functions: Several small corrections
495 to the documentation, mostly correcting copy/paste errors
496 and improving some sentences.
498 2008-01-09 Dan Winship <danw@gnome.org>
500 * glocalfile.c (get_unique_filename): x86_64 fix
502 2008-01-09 Alexander Larsson <alexl@redhat.com>
507 Add g_unix_mount_guess_should_display and use
508 for unix volume monitor backend.
509 This means we more or less show what the
510 gnome-vfs backend did.
511 Based on patch from Padraig O'Briain
513 2008-01-09 Alexander Larsson <alexl@redhat.com>
517 Add g_themed_icon_new_with_default_fallbacks
520 Use default fallbacks for icons
522 2008-01-09 Alexander Larsson <alexl@redhat.com>
525 * gmountoperation.[ch]:
526 Change the API a bit so that unhandled methods
527 get reported via the reply, rather than by
528 the signal emission return value. This is because
529 some handlers can't know this immediately without
530 doing I/O, and this is an async operation that
533 2008-01-09 Alexander Larsson <alexl@redhat.com>
536 * fam/gfamdirectorymonitor.c:
537 * fam/gfamfilemonitor.c:
538 Fix double free crash (#508224)
539 Patch from Joe Marcus Clarke
541 008-01-07 Matthias Clasen <mclasen@redhat.com>
543 * === Released 2.15.1 ===
545 2008-01-07 Alexander Larsson <alexl@redhat.com>
547 * gunixinputstream.c (g_unix_input_stream_skip_finish):
548 Fix warning (#507835)
550 2008-01-07 Alexander Larsson <alexl@redhat.com>
553 Pass --internal to glib-genmarshal
558 Use better types for signal arguments (#507822)
560 2008-01-07 Alexander Larsson <alexl@redhat.com>
563 Build test subdir after .
564 Remove gdirectorymonitor.[ch]
566 * gdirectorymonitor.[ch]:
570 Remove GDirectoryMonitor and make
571 GFileMonitor the baseclass for both file and
572 directory monitors. Lift the more generic
573 rate limiting code from GDirectoryMonitor
577 * fam/gfamdirectorymonitor.[ch]:
578 * inotify/ginotifydirectorymonitor.[ch]:
579 * inotify/inotify-helper.c:
580 * glocaldirectorymonitor.[ch]:
583 Update for the removed GDirectoryMonitor.
585 * gmemoryoutputstream.c:
586 Remove ununsed variable
588 2008-01-07 Alexander Larsson <alexl@redhat.com>
590 * gmemoryinputstream.c:
591 Translate error strings
594 * gmemoryoutputstream.[ch]:
595 New implementation that avoids using GByteArray
596 in implementation and API. (#506377)
598 2008-01-06 Matthias Clasen <mclasen@redhat.com>
600 * tests/*: Add a test for memory input streams.
602 * Makefile.am: Add tests to SUBDIRS.
604 2008-01-06 Matthias Clasen <mclasen@redhat.com>
606 * glocalfilemonitor.c:
607 * glocaldirectorymonitor.c: Mark property nicks and blurbs
610 2008-01-06 Matthias Clasen <mclasen@redhat.com>
612 * gdesktopappinfo.c: Fix a docs typo.
614 * gfileattribute.c: Add information about extended attributes
615 to the documentation. (#505058)
617 2008-01-04 Alexander Larsson <alexl@redhat.com>
621 Use the right type (uint) for the ask_password signal.
623 2008-01-04 Alexander Larsson <alexl@redhat.com>
628 Add g_app_info_supports_files()
629 Remove desktop arg from g_app_info_should_show().
631 * gdesktopappinfo.[ch]:
632 Implement g_app_info_supports_files() and new should_show()
633 Add g_desktop_app_info_set_desktop_env() to set the desktop
634 for should_show(). (This will be set by gtk+ later)
636 2008-01-04 Alexander Larsson <alexl@redhat.com>
639 * gmemoryinputstream.[ch]:
640 Improve API so that you can use multiple chunks
641 of memory and custom destroy functions. (#506374)
643 2008-01-03 Alexander Larsson <alexl@redhat.com>
646 Handle NULL attribute matchers safely, as we return this
647 for empty attribute matcher strings.
649 2008-01-03 Alexander Larsson <alexl@redhat.com>
651 * gunixmounts.c (g_unix_is_mount_path_system_internal):
652 Add /usr/local to list of internal mountpoints
654 2008-01-03 Alexander Larsson <alexl@redhat.com>
657 Check for HAVE_LCHOWN (#505887)
659 2008-01-03 Alexander Larsson <alexl@redhat.com>
663 Add define for selinux context attribute.
664 Fix missing : -> :: namespace separator change
665 Fix missing _ -> - name change for xattr-sys.
668 2008-01-03 Alexander Larsson <alexl@redhat.com>
671 Link to libglib and libgobject directly (#504879)
672 Patch from Sebastien Bacher
674 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
676 * gfile.c: Expanded the g_file_new_for_commandline_arg
677 description a bit, based on the code and the docs of the
678 other g_file_new_for_* functions.
680 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
682 * gfilemonitor.h: Fixed typo in docs.
684 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
686 Updates to GIO documentation. (#506395, Mikael Hermansson)
688 * gcontenttype.c: Describe memory management for return value of
689 g_content_types_get_registered(). Missing piece from #505815.
690 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
691 GVolume, GDrive, GMounts, which hopefully gives the user less
692 confusions when using this API. Following explainations from
693 Alexander Larsson on gtk-devel-list.
695 2007-12-30 Matthias Clasen <mclasen@redhat.com>
697 * gfileinfo.c: Expand the long description.
699 2007-12-30 Matthias Clasen <mclasen@redhat.com>
702 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
703 fix builds with --disable-visibility. (#500273, Christian Persch)
705 2007-12-30 Matthias Clasen <mclasen@redhat.com>
707 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
708 in the list of returned app infos.
710 2007-12-30 Matthias Clasen <mclasen@redhat.com>
712 * gappinfo.c: Fix a cross-reference
714 2007-12-30 Matthias Clasen <mclasen@redhat.com>
716 * gfileinputstream.c:
717 * gfileoutputstream.c:
723 * gfileinfo.c: Documentation updates.
725 2007-12-26 Matthias Clasen <mclasen@redhat.com>
727 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
730 2007-12-26 Matthias Clasen <mclasen@redhat.com>
732 * gcontenttype.c (g_content_types_get_registered): Don't return
733 freed memory (#505815, Mikael Hermansson)
735 2007-12-25 Paolo Borelli <pborelli@katamail.com>
737 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
738 used to detect statbuf->st_blocks. (#505042)
740 2007-12-24 Matthias Clasen <mclasen@redhat.com>
742 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
743 environment handling. (#504829, Cosimo Cecchi)
745 2007-12-22 Matthias Clasen <mclasen@redhat.com>
747 * gappinfo.c: Doc improvements
749 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
752 2007-12-20 Matthias Clasen <mclasen@redhat.com>
754 * === Released 2.15.0 ===
756 2007-12-20 Hans Breuer <hans@breuer.org>
758 * makefile.msc : don't build gdesktopappinfo.obj, it collides
759 with symbols gwin32appinfo.obj, added gmount.obj
760 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
762 2007-12-20 Alexander Larsson <alexl@redhat.com>
768 * gfilenamecompleter.c:
771 * gpollfilemonitor.c:
772 File attribute renames:
775 id::fs -> id::filesystem
777 2007-12-20 Alexander Larsson <alexl@redhat.com>
786 Add GMountUnmountFlags to all unmount and
788 Add g_mount_remount() call.
790 2007-12-20 Alexander Larsson <alexl@redhat.com>
792 * gvfs.c (get_default_vfs):
793 Fix unused variable warning
795 2007-12-19 Matthias Clasen <mclasen@redhat.com>
797 * pltcheck.sh: Update
799 2007-12-19 Matthias Clasen <mclasen@redhat.com>
801 * gunionvolumemonitor.c:
802 * gunixmount.c: Remove C99 comments
804 2007-12-19 Matthias Clasen <mclasen@redhat.com>
806 * gio.symbols: Add some missing symbols
808 2007-12-19 Alexander Larsson <alexl@redhat.com>
811 Make g_io_modules_load_all_in_directory not unuse
812 loaded modules so that users of it can do stuff
814 Init internal "module" types.
815 Initialize static prio and name for types so that
816 we don't have to load modules to get it.
818 * gnativevolumemonitor.h:
820 Move is_supported to parent class so that
821 non-native monitors can avoid being initialized
822 too. (For instance GDaemonVolumeMonitor if we're
823 not using GDaemonVfs.)
825 * glocaldirectorymonitor.[ch]:
826 * glocalfilemonitor.[ch]:
827 * gunionvolumemonitor.c:
828 * gunixvolumemonitor.c:
830 Find plugins using the static prio+name to
831 avoid unnecessarily loading the modules.
833 2007-12-19 Alexander Larsson <alexl@redhat.com>
838 2007-12-19 Alexander Larsson <alexl@redhat.com>
840 * gunionvolumemonitor.c:
841 Store the native type as GType, not class so that
842 we can unload it. But still avoid unnecessarily
845 2007-12-19 David Zeuthen <davidz@redhat.com>
847 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
848 add signals 'disconnected' and 'eject-button' on GDrive. Add
849 signal 'removed' on GVolume and 'unmounted' on GMount.
851 * gdrive.c: (g_drive_base_init):
853 * gfile.c: (g_file_mount_mountable),
854 (g_file_mount_enclosing_volume):
857 * gmount.c: (g_mount_base_init):
859 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
860 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
861 * gvolume.c: (g_volume_base_init), (g_volume_mount):
865 2007-12-17 Matthias Clasen <mclasen@redhat.com>
867 * *.c: Fix up includes in the section docs.
869 2007-12-17 Alexander Larsson <alexl@redhat.com>
871 * gnativevolumemonitor.h:
872 * gunionvolumemonitor.c:
873 * gunixvolumemonitor.c:
874 Add is_supported() to GNativeVolumeMonitorClass so
875 that we can avoid having to create an object to see
876 if the backend is supported at runtime.
877 Also add name member and an env var to pick a specific
878 volume monitor backend.
882 Add cancellable to _g_mount_get_for_mount_path()
884 * glocaldirectorymonitor.c:
885 * glocalfilemonitor.c:
886 Avoid loading and unloading modules while sorting.
888 2007-12-17 Matthias Clasen <mclasen@redhat.com>
891 * gunixmounts.[hc]: Namespace waste reduction, move some
892 g_get_unix_mount functions to the g_unix_mount namespace.
895 * gunixvolumemonitor.c:
897 * glocaldirectorymonitor.c: Update all callers.
899 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
901 2007-12-17 Alexander Larsson <alexl@redhat.com>
904 Add doc comments about what GFile operations are
905 guaranteed to not block.
907 2007-12-17 Alexander Larsson <alexl@redhat.com>
910 Add missing #ifdef fixing OSX build.
911 (#503334, patch from Richard Hult)
913 2007-12-14 David Zeuthen <davidz@redhat.com>
917 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
918 (g_mount_eject), (g_mount_eject_finish):
920 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
921 (get_volume_for_uuid), (get_mount_for_uuid),
922 (g_union_volume_monitor_class_init),
923 (get_default_native_type_with_exclude), (get_default_native_type),
924 (get_native_type), (update_native_type),
925 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
926 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
927 (g_unix_mount_can_eject), (eject_unmount_cb),
928 (eject_unmount_read_error), (eject_unmount_do),
929 (g_unix_mount_unmount), (g_unix_mount_eject),
930 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
931 * gunixmounts.c: (g_unix_mount_guess_can_eject),
932 (g_unix_mount_point_guess_can_eject):
934 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
935 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
936 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
937 (g_unix_volume_mount), (g_unix_volume_eject),
938 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
939 * gunixvolumemonitor.c: (get_volume_for_uuid),
940 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
942 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
943 (g_volume_eject), (g_volume_eject_finish):
945 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
946 (g_volume_monitor_get_mount_for_uuid):
949 Provide eject() on both GMount and GVolume and utility functions
950 to guess whether a GUnixMountPoint or GUnixMountEntry should be
951 ejected. Introduce the concept of UUID's and wire it into GVolume
952 and GMount and provide API on GVolumeMonitor to find such
953 instances. Also handle the case where an external
954 GNativeVolumeMonitor fails to initialize. Lock around the
955 _g_get_mount_for_mount_path() function such that volume monitor
956 implementations won't have to do locking themselves.
958 2007-12-17 Matthias Clasen <mclasen@redhat.com>
966 * gvolume.h: Documentation updates
968 2007-12-14 Matthias Clasen <mclasen@redhat.com>
971 * gfile.h: Doc updates
973 2007-12-14 Matthias Clasen <mclasen@redhat.com>
976 * gdesktopappinfo.c: Use hash table iterators.
978 2007-12-14 Alexander Larsson <alexl@redhat.com>
981 * gfileattribute.[ch]:
982 * gfileattribute-priv.h:
983 Move GFileAttributeValue to a private header, as
987 Make set_attribute take a type + a pointer instead
988 of a GFileAttributeValue.
991 Fix up for above changes.
992 Add g_file_info_get_attribute_data to get
993 all info in one call, g_file_info_get_attribute_status
994 to get the status and g_file_info_get_attribute_as_string.
998 * glocalfileinfo.[ch]:
1002 Make _guess_type static.
1004 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1007 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1008 made mkenums and friends use temporary files to avoid leaving
1009 empty generated files on failure (#503470).
1011 2007-12-14 Alexander Larsson <alexl@redhat.com>
1013 * gmountoperation.h:
1016 2007-12-14 Alexander Larsson <alexl@redhat.com>
1020 * gfileattribute.[ch]:
1023 * glocalfileoutputstream.c:
1024 * gmountoperation.[ch]:
1025 * goutputstream.[ch]:
1026 Clean up all flags enums to not have _FLAGS in them
1027 Make the names of some of the enums better.
1032 2007-12-14 Michael Natterer <mitch@imendio.com>
1034 * gio.symbols: fix g_io_scheduler symbol names.
1036 2007-12-14 Alexander Larsson <alexl@redhat.com>
1042 * gbufferedinputstream.h:
1043 * gbufferedoutputstream.h:
1046 * gdatainputstream.h:
1047 * gdataoutputstream.h:
1048 * gdesktopappinfo.h:
1049 * gdirectorymonitor.h:
1053 * gfileenumerator.h:
1056 * gfileinputstream.h:
1058 * gfilenamecompleter.h:
1059 * gfileoutputstream.h:
1060 * gfilterinputstream.h:
1061 * gfilteroutputstream.h:
1069 * gmemoryinputstream.h:
1070 * gmemoryoutputstream.h:
1072 * gmountoperation.h:
1075 * gsimpleasyncresult.h:
1077 * gunixinputstream.h:
1079 * gunixoutputstream.h:
1083 * inotify/Makefile.am:
1084 Only allow including <gio/gio.h> from apps
1086 2007-12-14 Alexander Larsson <alexl@redhat.com>
1088 * gioscheduler.[ch]:
1089 * gsimpleasyncresult.c:
1090 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1091 Split out the send_to_mainloop call into two versions instead
1092 of having the block argument.
1094 2007-12-13 Alexander Larsson <alexl@redhat.com>
1096 * gcancellable.[ch]:
1098 * gbufferedinputstream.c:
1099 * gfileenumerator.c:
1100 * gfileinputstream.c:
1101 * gfileoutputstream.c:
1105 g_push/pop_current_cancellable ->
1106 g_cancellable_push/pop_current
1108 2007-12-13 Alexander Larsson <alexl@redhat.com>
1112 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1114 2007-12-13 Alexander Larsson <alexl@redhat.com>
1116 * gmountoperation.h:
1117 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1119 2007-12-12 Alexander Larsson <alexl@redhat.com>
1122 Fix race condition when freeing proxy in
1123 g_io_job_send_to_mainloop().
1125 2007-12-12 Alexander Larsson <alexl@redhat.com>
1131 Make attribute namespace separator "::" instead of ":".
1132 Use - instead of _ as separator in attribute names.
1134 2007-12-12 Alexander Larsson <alexl@redhat.com>
1136 * gbufferedinputstream.h:
1137 * gbufferedoutputstream.h:
1138 * gdatainputstream.h:
1139 * gdataoutputstream.h:
1140 * gdirectorymonitor.h:
1141 * gfileenumerator.h:
1142 * gfileinputstream.h:
1144 * gfileoutputstream.h:
1145 * gfilterinputstream.h:
1146 * gfilteroutputstream.h:
1148 * glocalfileinputstream.h:
1149 * glocalfileoutputstream.h:
1150 * gmemoryinputstream.h:
1151 * gmemoryoutputstream.h:
1152 * gnativevolumemonitor.h:
1154 * gunixinputstream.h:
1155 * gunixoutputstream.h:
1158 s/parent/parent_instance/ in GObjects
1160 2007-12-12 Alexander Larsson <alexl@redhat.com>
1165 No need for padding for interfaces
1167 2007-12-12 Alexander Larsson <alexl@redhat.com>
1171 * gbufferedinputstream.c:
1172 * gbufferedoutputstream.c:
1175 * gdatainputstream.[ch]:
1176 * gdesktopappinfo.c:
1177 * gdirectorymonitor.c:
1179 * gfileattribute.[ch]:
1182 * gfileinputstream.h:
1183 * gfilemonitor.[ch]:
1184 * gfileoutputstream.[ch]:
1185 * gfilterinputstream.h:
1186 * gfilteroutputstream.h:
1189 * gloadableicon.[ch]:
1190 * gmemoryinputstream.c:
1191 * gmountoperation.c:
1193 Fix up a bunch of details in the docs.
1198 2007-12-11 David Zeuthen <davidz@redhat.com>
1200 Rework how volumes, drives and volume monitoring is
1201 done. Previosly the model was
1203 GDrive <1-1> GVolume
1205 where a GDrive instance represented a mount point and a GVolume
1206 instance represented a mounted file system. This patch changes it
1209 GDrive <1-N> GVolume <1-1> GMount
1211 where GMount now serves the purpose of the old GVolume and the new
1212 GVolume serves the purpose of the old GDrive. In addition the new
1213 GDrive interface is used to represent a collection of GVolume
1214 instances (typically partitions) and also contains utility to query
1215 the state of the physical drive the GDrive object represents (such
1216 as checking for media, polling the drive, ejecting the media etc.).
1218 Also implement mounting and unmounting in the Unix volume monitor
1219 backend. A subquent patch will introduce GDrive support for ejection
1223 * gdrive.c: (g_drive_is_media_check_automatic),
1224 (g_drive_is_media_removable), (g_drive_has_media),
1225 (g_drive_can_poll_for_media), (g_drive_eject),
1226 (g_drive_eject_finish), (g_drive_poll_for_media),
1227 (g_drive_poll_for_media_finish):
1229 * gfile.c: (g_file_find_enclosing_mount):
1232 * glocaldirectorymonitor.c:
1233 (g_local_directory_monitor_constructor), (mounts_changed):
1234 * glocalfile.c: (get_mount_info),
1235 (g_local_file_find_enclosing_mount),
1236 (g_local_file_file_iface_init):
1237 * gnativevolumemonitor.h:
1238 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1239 (get_connected_drives), (g_union_volume_monitor_class_init),
1240 (child_volume_added), (child_volume_removed),
1241 (child_volume_changed), (child_mount_added), (child_mount_removed),
1242 (child_mount_pre_unmount), (child_mount_changed),
1243 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1244 (g_union_volume_monitor_remove_monitor),
1245 (_g_mount_get_for_mount_path):
1246 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1247 (guess_system_internal), (_g_get_unix_mounts),
1248 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1249 (g_unix_mount_free), (g_unix_mount_compare),
1250 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1251 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1252 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1253 (type_to_icon), (g_unix_mount_guess_name),
1254 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1255 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1256 (_resolve_symlink), (_resolve_dev_root):
1258 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1259 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1260 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1261 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1262 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1263 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1264 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1265 (g_unix_volume_volume_iface_init):
1267 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1268 (get_mounts), (get_volumes), (get_connected_drives),
1269 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1270 (mountpoints_changed), (mounts_changed),
1271 (g_unix_volume_monitor_init),
1272 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1273 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1274 * gunixvolumemonitor.h:
1275 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1276 (g_volume_mount), (g_volume_mount_finish):
1278 * gvolumemonitor.c: (g_volume_monitor_class_init),
1279 (g_volume_monitor_get_connected_drives),
1280 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1283 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1285 * gmountoperation.h (GPasswordFlags): Close the gap
1287 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1289 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1291 * gdesktopappinfo.[hc]: Remove _-prefixes
1293 2007-12-10 Tor Lillqvist <tml@novell.com>
1295 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1298 2007-12-10 Alexander Larsson <alexl@redhat.com>
1300 * gfile.c (g_file_set_display_name):
1301 Don't hardcode '/' (#502727)
1303 2007-12-09 Hans Breuer <hans@breuer.org>
1305 * makefile.msc : follow lib naming convention
1306 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1307 for user and group name, tested with ../tests/gio-ls
1309 2007-12-09 A. Walton <awalton@svn.gnome.org>
1311 * gdesktopappinfo.c:
1317 * gfileenumerator.c:
1322 * gmemoryinputstream.c:
1323 * gmemoryoutputstream.c:
1325 * gsimpleasyncresult.c:
1326 More documentation cleanup and filling in missing information, bringing
1327 GIO to 99% symbol coverage.
1329 2007-12-08 Hans Breuer <hans@breuer.org>
1331 [gio compiles and links on win32, not sure how much already works]
1332 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1333 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1334 base on win32 API; prefer g_lstat() over lstat(); instead of
1335 localtime_r() use an all GLib implementation on win32;
1336 get_mount_info() still needs a win32 specifc implementation
1337 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1338 win32_get_file_user_info to get owner/group info without uid/gid
1339 * glocalfileinputstream.c : include <io.h> on win32
1340 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1341 definition, use g_win32_ftruncate() for G_OS_WIN32
1342 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1343 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1344 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1345 * makefile.msc : updated
1347 2007-12-07 Alexander Larsson <alexl@redhat.com>
1349 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1350 Avoid warning spew if error == NULL
1352 2007-12-07 Alexander Larsson <alexl@redhat.com>
1355 Update docs wrt etags
1357 2007-12-06 Alexander Larsson <alexl@redhat.com>
1360 Include sys/types.h for dev_t (#501919)
1362 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1366 Make abicheck and pltcheck pass.
1368 2007-12-05 Alexander Larsson <alexl@redhat.com>
1371 * giomodule-priv.h: Added.
1372 * glocaldirectorymonitor.c:
1373 * glocalfilemonitor.c:
1374 * gunionvolumemonitor.c:
1376 Actually add the declaration of _g_io_modules_ensure_loaded
1378 2007-12-05 Alexander Larsson <alexl@redhat.com>
1380 * gdatainputstream.c:
1385 * glocaldirectorymonitor.c:
1386 * glocalfilemonitor.c:
1387 * gunionvolumemonitor.c:
1389 Make g_io_modules_ensure_loaded a private function and
1390 don't pass in the dirname. This means we can do magic
1391 directory finding in the win32 version.
1392 Export the actual load-modules-in-directory code so that
1393 gvfs can reuse that.
1395 2007-12-05 Alexander Larsson <alexl@redhat.com>
1397 * gbufferedinputstream.c:
1398 * gbufferedoutputstream.c:
1401 * gfileenumerator.[ch]:
1402 * gfileinputstream.c:
1403 * gfileoutputstream.[ch]:
1404 * gfilterinputstream.c:
1405 * gfilteroutputstream.c:
1406 * ginputstream.[ch]:
1408 * glocalfileenumerator.c:
1409 * glocalfileinputstream.c:
1410 * glocalfileoutputstream.c:
1411 * gmemoryinputstream.c:
1412 * gmemoryoutputstream.c:
1413 * goutputstream.[ch]:
1416 * gunixinputstream.c:
1417 * gunixoutputstream.c:
1418 Rename all struct members named:
1419 read, write, close, truncate, or mount
1420 to foo_fn, as these are reserved names
1421 and could be defined as macros in libc.
1424 2007-12-04 Alexander Larsson <alexl@redhat.com>
1427 (g_output_stream_close):
1428 Only call flush if non-null.
1430 2007-11-30 Dan Winship <danw@gnome.org>
1432 * ginputstream.c (g_input_stream_set_pending): Make this take a
1433 GError and return a gboolean, and do the "outstanding operation"
1434 check (and the "stream is already closed" check) itself.
1435 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1437 * goutputstream.c (g_output_stream_set_pending)
1438 (g_output_stream_clear_pending): Likewise
1440 * gbufferedinputstream.c:
1441 * gfileinputstream.c:
1442 * gfileoutputstream.c: Update for that
1444 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1445 Like g_simple_async_report_error_in_idle, but takes a GError
1446 rather than building one.
1448 2007-11-30 Dan Winship <danw@gnome.org>
1450 * goutputstream.c: Don't cheat and unset the "pending" flag around
1451 inner calls. Instead, call the class method directly rather than
1452 the wrapper function that checks "pending"
1454 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1456 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1458 2007-12-03 Hans Breuer <hans@breuer.org>
1460 [start of port to win32/msvc]
1461 * gcancellable.c : HAVE_UNIST_H and _pipe()
1462 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1463 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1464 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1466 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1467 * glocalvfs.c : use HAVE_PWD_H
1468 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1469 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1470 * Makefile.am : added to EXTRA_DIST
1472 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1474 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1477 2007-12-03 Alexander Larsson <alexl@redhat.com>
1480 Handle OSX style xattrs API (#500506)
1482 2007-12-03 Alexander Larsson <alexl@redhat.com>
1486 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1488 2007-12-02 A. Walton <awalton@svn.gnome.org>
1492 Documentation accuracy fixes.
1494 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1496 * gioenumtypes.c.template: Fix typo.
1498 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1500 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1502 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1504 * gdirectorymonitor.c:
1505 * gfilemonitor.c: Add properties
1507 * gbufferedoutputstream.c: Don't mark buffer-size property
1510 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1512 * gbufferedoutputstream.c: Add auto-grow property.
1514 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1516 * *.c: Unify the capitalization of section headings.
1518 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1520 * gmountoperation.c: Add properties
1522 * gdatainputstream.c: Turn byte-order and newline-type into
1525 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1527 * gioenumtypes.[hc].template: Templates for enum registration
1529 * Makefile.am: Generate gioenumtypes.[hc]
1531 * gio.h: Include gioenumtypes.h
1533 * gfile.h: Add some explicit nicks.
1535 * gio.symbols: Add new symbols
1537 * pltcheck.sh: Adjust
1539 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1541 * *.c: Explain etags and link to the explanation
1543 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1545 * *.c: Explain I/O priority.
1547 * *.c: More coding style fixes.
1549 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1551 * gasyncresult.c: Add another paragraph to the intro,
1552 adjust coding style of example.
1554 2007-11-29 A. Walton <awalton@svn.gnome.org>
1557 Fixes unknown meaning in GAppLaunchContext docs.
1559 Clarify asynchronous ops.
1561 Fix entity tag docs.
1564 Provides missing gtk-doc section, fixes API docs slighly.
1565 * gsimpleasyncresult.c:
1566 Fill in missing info in docs.
1567 * gunixinputstream.c:
1568 * gunixoutputstream.c:
1569 Be more expressive in short description.
1571 Remove gtk-doc stubs for non-public API.
1573 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1575 * *.c: Coding style fixups
1577 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1579 * inotify/inotify-helper.c: Don't export the lock from libgio.
1581 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1584 * abicheck.sh: Fix copy-and-paste leftovers
1586 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1588 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1590 2007-11-28 Alexander Larsson <alexl@redhat.com>
1594 Removed unnecessary file
1596 * gdesktopappinfo.[ch]:
1599 * glocaldirectorymonitor.[ch]:
1601 * glocalfileenumerator.[ch]:
1602 * glocalfileinputstream.[ch]:
1603 * glocalfilemonitor.[ch]:
1604 * glocalfileoutputstream.[ch]:
1606 * gnativevolumemonitor.c:
1607 * gpollfilemonitor.[ch]:
1608 * gunionvolumemonitor.[ch]:
1611 * gunixvolumemonitor.[ch]:
1614 * inotify/ginotifydirectorymonitor.[ch]:
1615 * inotify/ginotifyfilemonitor.[ch]:
1616 * inotify/inotify-helper.c:
1617 Append _ to all internal functions
1621 Export symbols needed for modules
1623 2007-11-28 Alexander Larsson <alexl@redhat.com>
1626 * abicheck.sh: Added.
1627 * makegioalias.pl: Added.
1628 * pltcheck.sh: Added.
1629 * gio.symbols: Added.
1632 Initial work on adding symbol handling.
1635 Correct ifdef guard name
1638 * inotify/Makefile.am:
1639 * xdgmime/Makefile.am:
1640 Include toplevel Makefile.decl
1642 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1644 * gcontenttype.c: Move doc comments to the unix section.
1646 * *.[hc]: More trivial doc corrections.
1648 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1650 * gpollfilemonitor.c:
1654 * gdesktopappinfo.c:
1659 * gdatainputstream.c:
1660 * gdatainputstream.h:
1661 * gdataoutputstream.c:
1662 * gdataoutputstream.h:
1663 * gfileinfo.h: Doc cleanups
1665 2007-11-28 Andre Klapper <a9016009@gmx.de>
1667 * gdesktopappinfo.c: Fix a typo.
1669 2007-11-27 Andre Klapper <a9016009@gmx.de>
1671 * glocalfileoutputstream.c: Fix a typo.
1673 2007-11-27 Alexander Larsson <alexl@redhat.com>
1676 Don't include removed headers
1678 2007-11-27 Alexander Larsson <alexl@redhat.com>
1681 * gsocketinputstream.[ch]: Removed.
1682 * gsocketoutputstream.[ch]: Removed.
1683 * gunixinputstream.[ch]: Added.
1684 * gunixoutputstream.[ch]: Added.
1685 Renamed GSocket*Stream to GUnix*Stream and made
1686 it unix-only, since its not really only for sockets
1687 and it only works on unix (but is highly useful there).
1689 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1695 * gbufferedinputstream.c:
1696 * gbufferedinputstream.h:
1697 * gbufferedoutputstream.c:
1698 * gbufferedoutputstream.h:
1702 * gdatainputstream.c:
1703 * gdatainputstream.h:
1704 * gdataoutputstream.c:
1705 * gdataoutputstream.h:
1706 * gdirectorymonitor.c:
1707 * gdirectorymonitor.h:
1714 * gfileenumerator.c:
1715 * gfileenumerator.h:
1720 * gfileinputstream.c:
1721 * gfileinputstream.h:
1724 * gfilenamecompleter.c:
1725 * gfilenamecompleter.h:
1726 * gfileoutputstream.c:
1727 * gfileoutputstream.h:
1728 * gfilterinputstream.c:
1729 * gfilterinputstream.h:
1730 * gfilteroutputstream.c:
1731 * gfilteroutputstream.h:
1744 * glocalfileoutputstream.c:
1745 * gmemoryinputstream.c:
1746 * gmemoryinputstream.h:
1747 * gmemoryoutputstream.c:
1748 * gmemoryoutputstream.h:
1749 * gmountoperation.c:
1750 * gmountoperation.h:
1753 * gpollfilemonitor.c:
1756 * gsimpleasyncresult.c:
1757 * gsimpleasyncresult.h:
1758 * gsocketinputstream.c:
1759 * gsocketinputstream.h:
1760 * gsocketoutputstream.c:
1761 * gsocketoutputstream.h:
1768 * gunixvolumemonitor.c:
1777 Bumps documentation to 93% symbol coverage, touching most
1778 of the public files. Fixes broken function documentation prototypes.
1779 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1780 gtk-doc headers in private files.
1782 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1784 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1785 (g_buffered_input_stream_read_byte):
1786 * gbufferedinputstream.h:
1787 New functions for efficient access to buffer and simple single byte
1790 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1791 (g_data_input_stream_read_until):
1792 * gdatainputstream.h:
1793 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1794 read_until with multiple stop chars.
1796 2007-11-27 Alexander Larsson <alexl@redhat.com>
1800 * inotify/Makefile.am:
1801 Use the user-specified giomoduledir
1803 2007-11-27 Alexander Larsson <alexl@redhat.com>
1807 Add catch-all gio.h header
1808 Don't install gdummyfile.h
1810 2007-11-26 Alexander Larsson <alexl@redhat.com>
1812 * Makefile.am (gioinclude_HEADERS):
1813 Remove trailing whitespace
1815 2007-11-26 Alexander Larsson <alexl@redhat.com>
1817 Merge gio-standalone into glib
1819 2007-11-25 Christian Kellner <gicmo@gnome.org>
1821 * gio/goutputstream.c:
1822 Fix small mistake in the docs.
1824 2007-11-21 Christian Persch <chpe@gnome.org>
1826 * gio/glocalfile.c: (g_local_file_trash):
1827 Convert filenames to UTF-8 for GError.
1828 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1829 as per xdg base dir spec.
1831 2007-11-21 Christian Persch <chpe@gnome.org>
1833 * gio/gdesktopappinfo.c:
1834 Use that g_key_file_to_data cannot fail.
1836 Use stock defines for the key file group and key names.
1839 2007-11-21 Alexander Larsson <alexl@redhat.com>
1842 (copy_stream_with_progress):
1843 Make sure we do a final progress callback with
1844 the full total size.
1846 2007-11-21 Alexander Larsson <alexl@redhat.com>
1849 Export g_file_copy_attributes
1850 Remove padding as its not needed for interfaces
1852 2007-11-20 Alexander Larsson <alexl@redhat.com>
1857 Add G_IO_ERROR_WOULD_MERGE for
1858 copy/move dir on dir with overwrite.
1860 2007-11-20 Alexander Larsson <alexl@redhat.com>
1863 * gio/glocalfileinfo.c:
1864 Add COPY_NAME (this is an optional
1865 non-modified utf8 version of the name) that
1868 2007-11-20 Alexander Larsson <alexl@redhat.com>
1870 * gio/glocalfileenumerator.c:
1871 Report errors as GIOError, not GFileError
1873 2007-11-16 Alexander Larsson <alexl@redhat.com>
1875 * gio/glocalfileoutputstream.c:
1876 * gio/gwin32appinfo.c:
1877 Fix typos in strings.
1878 Patch from Luca Ferretti <elle.uca@libero.it>
1880 2007-11-15 Alexander Larsson <alexl@redhat.com>
1883 Post release version bump
1885 === gio-standalone 0.1.2 ===
1887 2007-11-15 Alexander Larsson <alexl@redhat.com>
1889 * docs/reference/gio/Makefile.am:
1890 Fix up distcheck by removing weird
1896 2007-11-14 Alexander Larsson <alexl@redhat.com>
1898 * gio/gdesktopappinfo.c:
1899 * gio/glocaldirectorymonitor.c:
1901 * gio/glocalfileinfo.c:
1902 * gio/inotify/inotify-sub.c:
1903 * programs/gio-cat.c:
1904 * programs/gio-copy.c:
1905 * programs/gio-info.c:
1906 * programs/gio-ls.c:
1907 * programs/gio-monitor-dir.c:
1908 * programs/gio-monitor-file.c:
1909 * programs/gio-mount.c:
1910 * programs/gio-move.c:
1911 * programs/gio-rm.c:
1912 * programs/gio-save.c:
1913 * programs/gio-trash.c:
1914 Leak fixes from Kjartan Maraas
1916 2007-11-14 Alexander Larsson <alexl@redhat.com>
1918 * gio/fam/fam-helper.c:
1920 * gio/glocalfileinfo.c:
1924 * gio/inotify/inotify-diag.c:
1925 * gio/inotify/inotify-kernel.c:
1926 Various code cleanups from Kjartan Maraas
1928 2007-11-14 Alexander Larsson <alexl@redhat.com>
1930 * gio/gioscheduler.c:
1932 Set up threadpool so that we cache 2 unused
1933 idle threads for at 15 secs. This means we
1934 will reuse thread-local data (like dbus connections)
1937 2007-11-14 Alexander Larsson <alexl@redhat.com>
1939 * gio/fam/fam-helper.c:
1940 * gio/fam/gfamdirectorymonitor.c:
1941 * gio/fam/gfamfilemonitor.c:
1943 * gio/gcontenttype.c:
1944 * gio/gdatainputstream.c:
1945 * gio/gdataoutputstream.c:
1949 * gio/gfileattribute.h:
1950 * gio/gfileenumerator.c:
1952 * gio/ginputstream.c:
1955 * gio/glocalfileinfo.c:
1956 * gio/goutputstream.c:
1957 * gio/gpollfilemonitor.c:
1958 * gio/gsimpleasyncresult.c:
1959 * gio/gunixmounts.c:
1960 * gio/gunixmounts.h:
1961 * gio/inotify/ginotifydirectorymonitor.c:
1962 * gio/inotify/ginotifyfilemonitor.c:
1963 * gio/inotify/inotify-diag.c:
1964 * gio/inotify/inotify-kernel.c:
1965 * gio/inotify/inotify-path.c:
1967 * gio/test-streams.c:
1968 * programs/gio-info.c:
1969 * programs/gio-monitor-dir.c:
1970 * programs/gio-monitor-file.c:
1971 Various code cleanups from Kjartan Maraas
1973 2007-11-13 Alexander Larsson <alexl@redhat.com>
1976 Handle the uri-scheme calls for dummy files
1978 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1980 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1981 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1982 to avoid clash with the C++ keyword.
1984 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1986 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1987 to an ifdef'ed call to getpwuid() in lookup_uid_data().
1989 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
1991 * gio/glocaldirectorymonitor.c:
1992 * gio/glocalfilemonitor.c:
1993 * gio/gunionvolumemonitor.c:
1994 Don't use g_once_init_*() for initializations that could fail and
1995 could leave the initialization variable set to 0 but use GOnce.
1996 This prevents a deadlock on the second call when trying to create
1997 a monitor and no monitor type is available. Thanks to Sven Herzberg
2000 2007-11-11 Sven Herzberg <sven@imendio.com>
2002 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2003 #ifdef (make it work on MacOS X again)
2005 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2007 Fixes Changelog for last two commits (sorry guys).
2009 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2011 * gio/gbufferedinputstream.c:
2012 * gio/gdatainputstream.c:
2014 * gio/gfileoutputstream.c:
2015 * gio/gfilterinputstream.c:
2016 * gio/glocalfileinputstream.c:
2019 More consistency fixes in g*stream.c files.
2020 Significant clean of gfile's documentation, filling in of
2021 asynchronous operations documentation.
2023 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2025 * gio/gasyncresult.c:
2026 * gio/gbufferedinputstream.c:
2027 * gio/gbufferedoutputstream.c:
2028 * gio/gcancellable.c:
2029 * gio/gcontenttype.c:
2030 * gio/gdatainputstream.c:
2031 * gio/gdataoutputstream.c:
2032 * gio/gdesktopappinfo.c:
2035 * gio/gfileattribute.c:
2036 * gio/gio/gfileenumerator.c:
2038 * gio/gfileinputstream.c:
2039 * gio/gfilemonitor.c:
2040 * gio/gfileoutputstream.c:
2041 * gio/ginputstream.c:
2043 * gio/gioscheduler.c:
2044 * gio/gloadableicon.c:
2045 * gio/glocalfileoutputstream.c:
2046 * gio/gmemoryoutputstream.c:
2047 * gio/gmountoperation.c:
2048 * gio/goutputstream.c:
2050 * gio/gsimpleasyncresult.c:
2051 * gio/gunionvolumemonitor.c:
2052 * gio/gunixmounts.c:
2053 * gio/gunixvolume.c:
2057 * gio/gvolumemonitor.c:
2058 Updated documentation stubs, working towards consistency and
2061 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2063 * gio/gmemoryoutputstream.c:
2064 * gio/gmemoryoutputstream.h:
2065 Change g_memory_output_stream_set_free_on_close() to
2066 g_memory_output_stream_set_free_data() as this makes more sense and
2067 is more consistent with GMemoryInputStream.
2069 2007-11-07 Alexander Larsson <alexl@redhat.com>
2076 Change how we find the default vfs so that
2077 we can handle a gvfs failing to init
2079 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2081 * gio/gbufferedoutputstream.c:
2082 * gio/gdatainputstream.c:
2083 * gio/gdataoutputstream.c:
2084 * gio/gfileinputstream.c:
2085 * gio/gfileoutputstream.c:
2086 * gio/gfilterinputstream.c:
2087 * gio/gfilteroutputstream.c:
2088 * gio/ginputstream.c:
2089 * gio/gmemoryinputstream.c:
2090 * gio/gmemoryoutputstream.c:
2091 * gio/goutputstream.c:
2092 * gio/gsimpleasyncresult.c:
2093 * gio/gsocketinputstream.c:
2094 * gio/gsocketoutputstream.c:
2095 Add guards to the remaining public functions, add a TODO for
2096 an unimplemented function and remove some useless guards.
2098 2007-11-07 Alexander Larsson <alexl@redhat.com>
2101 Autoconf checks for the various types of
2102 getpwuid_r and getgrgid_r
2104 * gio/glocalfileinfo.c:
2105 Use the autoconf checks from above
2107 2007-11-07 Alexander Larsson <alexl@redhat.com>
2110 (g_local_file_query_filesystem_info):
2111 Some fixes for the statvfs case
2113 2007-11-07 Alexander Larsson <alexl@redhat.com>
2116 (g_local_file_query_filesystem_info):
2117 Pick the "best" of statfs / statvfs for the system
2118 if both are availible.
2120 2007-11-07 Alexander Larsson <alexl@redhat.com>
2122 Solaris fixes from Halton.Huo@Sun.COM:
2129 * gio/glocalfileinfo.c:
2130 Fix for solaris definition of getpwuid_r
2132 * gio/test-streams.c:
2133 Use G_GNUC_PRETTY_FUNCTION
2135 2007-11-07 Alexander Larsson <alexl@redhat.com>
2137 * gio/gdesktopappinfo.c:
2138 (update_default_list):
2139 Remove double semicolon.
2140 Patch from Jens Granseuer
2142 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2144 * docs/reference/gio/gio-sections.txt:
2145 * gio/gbufferedinputstream.c:
2146 * gio/gbufferedinputstream.h:
2147 * gio/gdatainputstream.c:
2148 * gio/gfileenumerator.c:
2149 * gio/gioscheduler.c:
2150 * gio/gunionvolumemonitor.c:
2152 * programs/gio-save.c:
2153 Fix typo: availible -> available. Unfortuntely this breaks API
2154 and ABI as g_buffered_input_stream_get_available() was renamed.
2156 * gio/gunixmounts.c:
2157 * gio/gbufferedinputstream.c:
2158 Add guards for public functions.
2160 2007-11-06 Ross Burton <ross@openedhand.com>
2162 * docs/reference/gio/Makefile.am:
2163 Fix invalid += usage which automake 1.10 doesn't like.
2165 2007-11-06 Alexander Larsson <alexl@redhat.com>
2168 (g_app_launch_context_class_init):
2171 Patch from Ross Burton
2173 2007-11-06 Alexander Larsson <alexl@redhat.com>
2176 Post release version bump
2178 === gio-standalone 0.1.1 ===
2180 2007-11-06 Alexander Larsson <alexl@redhat.com>
2183 Bump version to 0.1.1
2185 * gio/gsimpleasyncresult.c:
2186 (g_simple_async_result_set_from_error):
2187 Remove bogus g_return_if_fail
2189 2007-11-06 Alexander Larsson <alexl@redhat.com>
2192 The name is gio-standalone
2195 Add top src/builddir to includedir
2197 2007-11-06 Alexander Larsson <alexl@redhat.com>
2199 * docs/reference/gio/gio-sections.txt:
2201 * gio/gbufferedinputstream.c:
2202 * gio/gbufferedoutputstream.c:
2203 * gio/gcancellable.c:
2204 * gio/gdatainputstream.h:
2205 * gio/gdataoutputstream.c:
2206 * gio/gdataoutputstream.h:
2207 * gio/gdirectorymonitor.c:
2209 * gio/gfileattribute.c:
2210 * gio/gfileattribute.h:
2211 * gio/gfileenumerator.c:
2212 * gio/gfileenumerator.h:
2215 * gio/gfileinputstream.h:
2216 * gio/gfilemonitor.c:
2217 * gio/gfileoutputstream.h:
2218 * gio/glocalfilemonitor.h:
2219 * gio/glocalfileoutputstream.h:
2220 * gio/gmemoryinputstream.c:
2221 * gio/gmemoryoutputstream.c:
2222 * gio/gmountoperation.c:
2223 * gio/goutputstream.c:
2224 * gio/goutputstream.h:
2226 * gio/gsimpleasyncresult.c:
2227 * gio/gunixmounts.c:
2228 * gio/gunixmounts.h:
2230 * gio/inotify/inotify-helper.c:
2231 Fix gtk-doc warnings
2233 Patch from Ross Burton
2235 2007-11-06 Alexander Larsson <alexl@redhat.com>
2237 * gio/gfilenamecompleter.c:
2238 (g_filename_completer_get_completions):
2241 * gio/gunixvolume.c:
2242 Remove unused function
2244 Patches from Ross Burton
2246 2007-11-06 Alexander Larsson <alexl@redhat.com>
2251 Padding not needed for interfaces
2253 2007-11-06 Alexander Larsson <alexl@redhat.com>
2255 * gio/gfilemonitor.c:
2259 Make giotypes.h an internal file
2262 * gio/gbufferedinputstream.h:
2263 * gio/gbufferedoutputstream.h:
2264 * gio/gcancellable.h:
2265 * gio/gdatainputstream.h:
2266 * gio/gdataoutputstream.h:
2267 * gio/gdirectorymonitor.c:
2268 * gio/gdirectorymonitor.h:
2273 * gio/gfileattribute.h:
2274 * gio/gfileenumerator.h:
2279 * gio/gfilemonitor.c:
2280 * gio/gfilemonitor.h:
2281 * gio/gfilenamecompleter.c:
2282 * gio/gfilenamecompleter.h:
2283 * gio/gfilterinputstream.h:
2284 * gio/gfilteroutputstream.h:
2285 * gio/ginputstream.h:
2286 * gio/gmemoryinputstream.h:
2287 * gio/gmemoryoutputstream.h:
2288 * gio/gmountoperation.c:
2289 * gio/gmountoperation.h:
2290 * gio/gnativevolumemonitor.c:
2291 * gio/goutputstream.h:
2294 * gio/gsimpleasyncresult.c:
2295 * gio/gsimpleasyncresult.h:
2296 * gio/gsocketinputstream.h:
2297 * gio/gsocketoutputstream.h:
2298 * gio/gthemedicon.c:
2299 * gio/gthemedicon.h:
2303 * gio/gvolumemonitor.c:
2304 * gio/gvolumemonitor.h:
2305 Add padding in classes where it seems useful
2306 Don't include giotypes.h from public headers
2307 Move in Class definitions into c file where possible
2312 2007-11-06 Alexander Larsson <alexl@redhat.com>
2314 * docs/reference/gio/gio-docs.xml:
2315 Better structure for API docs
2317 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2320 * gio/gloadableicon.c:
2321 * gio/gsimpleasyncresult.c:
2322 * gio/gthemedicon.c:
2323 Add some more guards to public functions. Only files missing are now
2326 2007-11-06 Alexander Larsson <alexl@redhat.com>
2328 * docs/reference/gio/gio-docs.xml:
2329 Remove old files, add missing ones
2331 2007-11-06 Alexander Larsson <alexl@redhat.com>
2333 * docs/reference/gio/gio-sections.txt:
2336 Hide implementation classes
2338 * gio/gdriveprivate.h:
2339 * gio/gvolumeprivate.h:
2340 Remove non-existing function declarations
2342 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2345 Fix compilation warnings and add guards to the new functions.
2347 * gio/gasyncresult.c:
2349 Add guards to the public functions.
2352 Implement get_path().
2354 2007-11-06 Alexander Larsson <alexl@redhat.com>
2356 * gio/gfilenamecompleter.c:
2357 Make g_filename_completer_get_completions
2358 return char ** instead of GList for
2361 * docs/reference/gio/gio-docs.xml:
2362 * docs/reference/gio/gio-sections.txt:
2364 * gio/gasyncresult.c:
2365 * gio/gbufferedinputstream.c:
2366 * gio/gbufferedoutputstream.c:
2367 * gio/gcancellable.c:
2368 * gio/gcontenttype.c:
2369 * gio/gdatainputstream.c:
2370 * gio/gdataoutputstream.c:
2371 * gio/gdesktopappinfo.c:
2372 * gio/gdirectorymonitor.c:
2376 * gio/gfileattribute.c:
2377 * gio/gfileenumerator.c:
2380 * gio/gfileinputstream.c:
2381 * gio/gfilemonitor.c:
2382 * gio/gfilenamecompleter.c:
2383 * gio/gfilenamecompleter.h:
2384 * gio/gfileoutputstream.c:
2385 * gio/gfilterinputstream.c:
2387 * gio/ginputstream.c:
2389 * gio/gioscheduler.c:
2390 * gio/gloadableicon.c:
2391 * gio/glocaldirectorymonitor.c:
2393 * gio/glocalfileinputstream.c:
2394 * gio/glocalfilemonitor.c:
2395 * gio/glocalfileoutputstream.c:
2397 * gio/gmemoryinputstream.c:
2398 * gio/gmemoryoutputstream.c:
2399 * gio/gmountoperation.c:
2400 * gio/goutputstream.c:
2401 * gio/gpollfilemonitor.c:
2403 * gio/gsimpleasyncresult.c:
2404 * gio/gsocketinputstream.c:
2405 * gio/gsocketoutputstream.c:
2406 * gio/gthemedicon.c:
2407 * gio/gunionvolumemonitor.c:
2409 * gio/gunixmounts.c:
2410 * gio/gunixvolume.c:
2411 * gio/gunixvolumemonitor.c:
2415 * gio/gvolumemonitor.c:
2416 * gio/gwin32appinfo.c:
2417 Add (mostly stub) doc strings to public functions.
2418 Patch from Andrew Walton (awalton@gmail.com)
2420 2007-11-06 Alexander Larsson <alexl@redhat.com>
2422 * gio/gappinfo.[ch]:
2423 Added GAppLaunchContext object and pass that to launch.
2424 This allows simple implementation of both
2425 launch-on-screen and startup notification via a gtk+
2426 subclass of GAppLaunchContext
2428 * gio/gdesktopappinfo.c:
2429 Implement GAppLaunchContext API
2431 * gio/gwin32appinfo.c:
2434 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2436 * gio/gmountoperation.c:
2437 Add some guards to GMountOperation's public functions.
2439 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2443 * gio/gcancellable.c:
2444 * gio/gdirectorymonitor.c:
2446 * gio/gfileenumerator.c:
2447 * gio/gfilemonitor.c:,
2448 * gio/gfilenamecompleter.c:
2451 * gio/gioscheduler.c:
2455 * gio/gvolumemonitor.c:
2456 Add even more guards to various public functions.
2458 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2461 Add guards to the public functions of GAppInfo.
2463 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2465 * gio/gcontenttype.c:
2466 Add some more guards for public functions.
2468 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2470 * gio/fam/fam-module.c:
2471 * gio/fam/gfamdirectorymonitor.c:
2472 * gio/fam/gfamdirectorymonitor.h:
2473 * gio/fam/gfamfilemonitor.c:
2474 * gio/fam/gfamfilemonitor.h:
2475 * gio/inotify/ginotifydirectorymonitor.c:
2476 * gio/inotify/ginotifydirectorymonitor.h:
2477 * gio/inotify/ginotifyfilemonitor.c:
2478 * gio/inotify/ginotifyfilemonitor.h:
2479 Add proper copyright information and remove an unused variable
2480 in the GInotifyFileMonitor constructor.
2482 * gio/gcancellable.c:
2483 Add a guard for a public function and an assertion to prevent
2484 an undefined program state.
2486 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2488 * gio/gfileattribute.c:
2489 Don't run into an assertion if the given attribute value is NULL
2490 in g_file_attribute_value_get_*() but instead return a fallback
2491 value that makes sense in most situations. Passing them a attribute
2492 value with the wrong type will still run into an assertion.
2494 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2496 * gio/gfileattribute.c:
2498 Add even more guards to the public functions. Also fix the refcounting
2499 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2500 let g_file_info_list_attributes() filter the attributes by namespace
2501 instead of simply ignoring the namespace parameter.
2503 2007-11-03 Sven Herzberg <sven@imendio.com>
2505 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2506 (This makes gio work on MacOS X again)
2508 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2511 Build the gio subdirectory before the docs. Otherwise the build will
2514 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2515 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2516 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2517 Add guards to the public functions.
2519 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2521 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2522 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2523 to prevent a compiler warning.
2525 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2526 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2527 return something in the non-void function find_topdir_for().
2529 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2536 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2538 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2539 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2540 * gwin32appinfo.c (g_win32_app_info_launch):
2541 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2542 envp_for_startup_id, g_desktop_app_info_launch,
2543 g_desktop_app_info_launch_uris):
2545 Give an opaque 'startup_id' string instead of 'envp'.
2546 Support empty file lists for launching new windows.
2547 Fix infinite recursion bug when launching URIs.
2549 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2552 Add guard to the new g_file_get_uri_scheme() function.
2554 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2557 Convert a g_return_val_if_fail() to setting the GError instead as
2558 otherwise applications have to verify the parameter before otherwise
2559 and the parameter might come directly from the user.
2561 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2563 * gio/inotify/ginotify*.[ch]:
2564 Add missing copyright information.
2566 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2569 Add guards in the beginning of public functions to check for valid
2570 parameters and fix a bug in copy_stream_with_progress() that could've
2571 caused writing less bytes than reading.
2572 * gio/glocalfileinfo.c:
2573 Check for a NULL parameter and set the GError accordingly then.
2574 * gio/goutputstream.c:
2575 Fix the same bug as in gfile.c that could've caused writing less bytes
2576 than reading in g_output_stream_real_splice().
2578 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2581 Use the correct gvolumeprivate.h naming
2583 2007-11-01 Christian Kellner <gicmo@gnome.org>
2586 Remove leftover "$(daemon_sources)" entry.
2588 2007-11-01 Christian Kellner <gicmo@gnome.org>
2593 Add copyright information to source files.
2595 2007-11-01 Alexander Larsson <alexl@redhat.com>
2599 Add g_file_get_uri_scheme
2601 2007-11-01 Alexander Larsson <alexl@redhat.com>
2604 * gio/gdesktopappinfo.c:
2605 * gio/gwin32appinfo.c:
2606 Add g_app_info_get_default_for_uri_scheme.
2608 2007-11-01 Alexander Larsson <alexl@redhat.com>
2611 Correct filename for gdriveprivate.h
2613 2007-10-31 Alexander Larsson <alexl@redhat.com>
2616 Rename id:value to id:file
2619 * gio/glocalfileinfo.c:
2622 2007-10-31 Alexander Larsson <alexl@redhat.com>
2624 * gio/gunixvolume.c:
2626 Remove g_volume_get_platform_id, as thats not
2627 needed with the simpler union volume monitor
2629 2007-10-31 Alexander Larsson <alexl@redhat.com>
2632 * gio/guniondrive.[ch]: Removed.
2633 * gio/gunionvolume.[ch]: Removed.
2634 Remove GUnionDrive/Volume
2636 * gio/gunionvolumemonitor.c:
2637 Simplify union volume monitor, now we
2638 only have one native volume monitor and
2639 we use the actual volumes/drives from the
2640 child monitors instead of wrapping them
2642 * gio/gnativevolumemonitor.[ch]:
2643 Base class for native volume monitors.
2644 Includes priority and get_volume_for_mountpoint
2647 Add g_file_find_enclosing_volume
2650 Remove volume name fs attribute
2651 Add readonly fs attribute
2654 Implement readonly attribute
2655 remove volume name attribute
2656 Implement find_enclosing volume
2658 * gio/gunixmounts.c:
2659 Add a volume for "/".
2661 * gio/gunixvolume.[ch]:
2662 Set better name for /
2664 * gio/gunixvolumemonitor.[ch]:
2665 Derive from GNativeVolumeMonitor
2666 Implement get_volume_for_mountpoint
2669 GVolume typedef moved to gfile.h
2671 * gio/gvolumeprivate.h:
2672 Add g_volume_get_for_mount_path
2674 2007-10-31 Alexander Larsson <alexl@redhat.com>
2676 * gio/gunixmounts.[ch]:
2677 Add cache info to unix mount listers
2678 Make getmntent use threadsafe
2679 Add is_system_internal attribute for GUnixMount
2681 * gio/gunixvolume.c:
2682 (g_unix_volume_new):
2683 Use is_system_internal instead of own code
2685 * gio/glocaldirectorymonitor.c:
2686 * gio/gunixvolumemonitor.c:
2687 Update to new gunixmounts API
2692 2007-10-30 Alexander Larsson <alexl@redhat.com>
2695 Add volume name fsinfo attribute
2698 Read volume name info
2700 * gio/gunionvolumemonitor.c:
2701 Fix infinite loops when finalizing a union volume monitor
2703 2007-10-30 Alexander Larsson <alexl@redhat.com>
2705 * gio/goutputstream.[ch]:
2706 Add splice() with default implementation
2708 * gio/gsocketoutputstream.c:
2709 (g_socket_output_stream_write):
2710 Return error on cancellation correctly.
2712 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2714 * gio/glocalfile.c (g_local_file_trash):
2715 Do not leak a string.
2717 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2719 * gio/gfile.c (g_file_load_contents):
2720 Unref the stream after closing it.
2722 2007-10-25 Alexander Larsson <alexl@redhat.com>
2724 * gio/gioscheduler.h:
2727 2007-10-25 Alexander Larsson <alexl@redhat.com>
2731 Add g_file_has_uri_scheme and implement for local files
2733 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2735 * gio/gdesktopappinfo.c: do not leak a string.
2737 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2739 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2740 (g_local_directory_monitor_new):
2741 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2742 (g_local_file_monitor_new):
2743 Only look for the monitor type that should be used the first time
2744 and use g_qsort_with_data() instead of our own bubble sort
2747 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2750 * gio/fam/Makefile.am:
2751 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2752 * gio/fam/fam-helper.h:
2753 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2754 * gio/fam/gfamdirectorymonitor.c:
2755 * gio/fam/gfamdirectorymonitor.h:
2756 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2757 * gio/fam/gfamfilemonitor.h:
2758 * gio/glocaldirectorymonitor.c:
2759 * gio/glocaldirectorymonitor.h:
2760 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2761 * gio/glocalfilemonitor.h:
2762 * gio/inotify/Makefile.am:
2763 * gio/inotify/ginotifydirectorymonitor.c:
2764 * gio/inotify/ginotifydirectorymonitor.h:
2765 * gio/inotify/ginotifyfilemonitor.c:
2766 * gio/inotify/ginotifyfilemonitor.h:
2767 Implement the FAM and Inotify monitors as
2768 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2769 their own GIO module. GLocal(Directory|File)Monitor will use the
2770 monitor with the highest rank that is supported on that machine.
2772 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2775 Change GIO module dir to $(libdir)/gio/modules and change
2776 the log domain from GVFS to GIO. Also only export symbols starting
2777 with g_ in the resulting library.
2778 * gio/test-streams.c: (main):
2779 Set log handler for the GIO log domain.
2781 2007-10-22 Alexander Larsson <alexl@redhat.com>
2783 * gio/gfilenamecompleter.[ch]:
2784 Add g_filename_completer_set_dirs_only
2786 2007-10-22 Alexander Larsson <alexl@redhat.com>
2789 * gio/gurifuncs.[ch]:
2790 Add some simple URI helpers
2792 * gio/gfilenamecompleter.[ch]:
2793 Added object for filename (parse name actually) completion
2796 Handle ~ in parse names
2798 2007-10-17 Alexander Larsson <alexl@redhat.com>
2801 * gio/glocalfileinfo.c:
2802 Add and implement id:value attribute
2804 2007-10-17 Alexander Larsson <alexl@redhat.com>
2807 * gio/guniondrive.c:
2809 Add and implement g_drive_has_volumes
2811 2007-10-17 Alexander Larsson <alexl@redhat.com>
2814 * gio/glocalfileinfo.[ch]:
2815 Add unix:is_mountpoint and implement for local files
2817 2007-10-16 Alexander Larsson <alexl@redhat.com>
2819 * gio/gunionvolumemonitor.c:
2820 (g_union_volume_monitor_init):
2821 Fix up the unix type getting so that it works with gcc
2823 2007-10-12 Alexander Larsson <alexl@redhat.com>
2826 * gio/glocalfileinfo.c:
2827 Add thumbnail:failed to file info
2829 2007-10-12 Richard Hult <richard@imendio.com>
2831 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2832 optimizing away the get_type call (happens with some gcc versions,
2833 like the one shipped with OS X 10.4).
2835 2007-10-12 Alexander Larsson <alexl@redhat.com>
2837 * gio/glocalfileinfo.c:
2838 (_g_local_file_info_set_attribute):
2839 Fix build if not HAVE_XATTR
2840 Patch from Milosz Derezynski <internalerror@gmail.com>
2842 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2844 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2845 around for review, otherwise I would have asked you before
2848 2007-10-11 Alexander Larsson <alexl@redhat.com>
2851 Add thumbnail:path attribute
2853 * gio/glocalfileinfo.c:
2854 Implement thumbnail:path for local files
2856 2007-10-11 Alexander Larsson <alexl@redhat.com>
2858 * gio/glocalfileinfo.c:
2859 (_g_local_file_info_get):
2860 Avoid duplicate icon names
2862 2007-10-11 Alexander Larsson <alexl@redhat.com>
2864 * gio/gthemedicon.[ch]:
2865 Change g_themed_icon_get_names return type to const
2867 2007-10-10 Alexander Larsson <alexl@redhat.com>
2869 * gio/glocalfileinfo.c:
2870 Don't reference freed memory
2872 2007-10-10 Alexander Larsson <alexl@redhat.com>
2874 * gio/gfileattribute.c:
2877 * gio/glocalfileinfo.c:
2880 2007-10-10 Alexander Larsson <alexl@redhat.com>
2883 Check for NULL icons
2885 * gio/gfileattribute.c:
2886 Don't dup when getting objects (same as for string attributes)
2888 * gio/gicon.c (g_icon_equal):
2889 Safely handle NULLs in equal
2891 2007-10-10 Alexander Larsson <alexl@redhat.com>
2894 Fix c++ compilation issues
2895 Patch from Milosz Derezynski <internalerror@gmail.com>
2897 2007-10-10 Alexander Larsson <alexl@redhat.com>
2899 * programs/gio-monitor-dir.c:
2900 Don't crash if dir monitor not supported.
2902 2007-10-09 Alexander Larsson <alexl@redhat.com>
2905 Add missing G_END_DECLS
2907 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2909 * gio/gfile.c: (g_file_set_display_name),
2910 (g_file_query_settable_attributes),
2911 (g_file_query_writable_namespaces):
2912 Return NULL not FALSE on errors as the return type is a pointer.
2914 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2916 * gio/glocalfile.c: (g_local_file_monitor_file):
2917 Don't call monitor_file on the default interface vtable (which
2918 is NULL) but simply return NULL. The caller, GFile, will create a
2919 polling monitor if NULL is returned.
2921 2007-10-09 Alexander Larsson <alexl@redhat.com>
2925 * gio-unix-2.0.pc.in:
2926 Add gio-unix-2.0.pc if OS_UNIX
2929 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2931 2007-10-09 Alexander Larsson <alexl@redhat.com>
2933 * gio/gunixmounts.[ch]:
2934 Make unix mount monitoring API sane.
2935 Now its just a object with mounts_changed
2936 and mountpoints_changed signals.
2938 * gio/glocaldirectorymonitor.c:
2939 * gio/gunixvolumemonitor.c:
2940 Use new mount monitor api
2942 2007-10-09 Alexander Larsson <alexl@redhat.com>
2944 * gio/gunixmounts.[ch]:
2945 Move guess type into one call for mounts and one for mountpoints
2948 * gio/gunixvolume.c:
2951 2007-10-09 Alexander Larsson <alexl@redhat.com>
2953 * gio/gunixmounts.[ch]:
2954 Remove _ prefix in preparation to make this semi-public
2955 Hide implementation of structs
2957 * gio/glocaldirectorymonitor.c:
2959 * gio/gunixvolume.c:
2960 * gio/gunixvolumemonitor.c:
2961 Update for above API changes
2963 2007-10-08 Alexander Larsson <alexl@redhat.com>
2966 Better polling fallback. This also handles the case where we have
2967 a monitor_file implementation, but it fails.
2969 2007-10-08 Alexander Larsson <alexl@redhat.com>
2973 * gio/gunixmounts.c:
2974 * programs/gio-monitor-dir.c:
2975 * programs/gio-monitor-file.c:
2976 Added cancellable to file monitoring calls.
2977 These are really sync calls and need this.
2979 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2981 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2982 (g_local_vfs_class_init):
2983 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2984 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2986 2007-10-05 Alexander Larsson <alexl@redhat.com>
2988 * gio/gdirectorymonitorprivate.h:
2989 * gio/gfilemonitorprivate.h:
2990 * gio/gdirectorymonitor.h:
2991 * gio/gfilemonitor.h:
2992 Remove *private.h and move to the public API, so that
2993 we can do implementations outside gio (such as in gvfs)
2995 * gio/gdirectorymonitor.c:
2996 * gio/gfilemonitor.c:
2997 * gio/glocaldirectorymonitor.c:
2998 * gio/gpollfilemonitor.c:
2999 * gio/inotify/inotify-helper.c:
3000 * gio/fam/fam-helper.c:
3001 Update to the new header names
3003 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3005 * gio/gdirectorymonitor.c:
3006 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3009 2007-10-04 Alexander Larsson <alexl@redhat.com>
3011 * gio/glocalfileinfo.c (get_access_rights):
3012 Set CAN_TRASH when we can move the file.
3013 We should really also check for a parent trash dir.
3015 2007-10-04 Alexander Larsson <alexl@redhat.com>
3017 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3018 Add can_trash access attribute
3020 2007-10-04 Alexander Larsson <alexl@redhat.com>
3023 (g_local_file_trash):
3024 Create info file first. This is per-spec and allows
3025 us to actually trash directories.
3027 2007-10-02 Alexander Larsson <alexl@redhat.com>
3029 * gio/gdesktopappinfo.c:
3030 Implement the new mime support code.
3031 Always set app as handling mimetype when being set as default for it
3033 2007-10-01 Alexander Larsson <alexl@redhat.com>
3035 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3036 Fix up check for xattrs:
3038 2007-10-01 Alexander Larsson <alexl@redhat.com>
3041 (g_app_info_set_as_default_for_extension):
3042 (g_app_info_add_supports_type):
3043 (g_app_info_can_remove_supports_type):
3044 (g_app_info_remove_supports_type):
3045 Make these fail nicely if not implemented
3047 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3049 * gio/glocalfileoutputstream.c:
3050 * gio/glocalfileoutputstream.h:
3055 * programs/gio-save.c:
3056 Add a GFileCreateFlags argument to operations that can create
3059 2007-10-01 Alexander Larsson <alexl@redhat.com>
3061 * gio/gappinfo.[ch]:
3062 * gio/gdesktopappinfo.c:
3063 Add more (stubbed out) mime API needed for nautilus
3065 2007-10-01 Alexander Larsson <alexl@redhat.com>
3068 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3069 Add g_app_info_set_as_default_for_extension.
3071 * gio/gdesktopappinfo.c:
3072 Dummy for g_app_info_set_as_default_for_extension
3073 Support flags in g_app_info_create_from_commandline
3075 * gio/gwin32appinfo.c:
3077 Update for API changes
3079 * gio/gthemedicon.c:
3080 Properly NULL-terminate list of icon names
3082 2007-09-28 Alexander Larsson <alexl@redhat.com>
3084 * gio/gloadableicon.h:
3085 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3087 2007-09-28 Alexander Larsson <alexl@redhat.com>
3090 Install headers in $includedir/gio-standalone/
3092 * gio-2.0.pc.in: Added.
3093 * gio-standalone.pc.in: Removed.
3096 Renamed pkg-config file to match glib (for future move)
3097 Update to the new include dir
3100 Add more TODO comments
3102 2007-09-28 Alexander Larsson <alexl@redhat.com>
3104 * gio/gdesktopappinfo.[ch]:
3105 Expose new_from_filename
3106 Add getter for is_hidden and handle it better
3108 2007-09-28 Alexander Larsson <alexl@redhat.com>
3110 * gio/gfileinfo.[ch]:
3111 Rename g_file_size_format_for_display to
3112 g_format_file_size_for_display.
3113 Now it doesn't have the g_file prefix, so we
3114 can later move it to glib.
3116 2007-09-28 Alexander Larsson <alexl@redhat.com>
3118 * gio/gappinfo.[ch]:
3119 Add g_app_info_get_id and g_app_info_get_executable.
3120 Make all getters non-reffing
3121 Make g_app_info_launch take GFile arguments.
3122 Add must_support_uris argument to g_app_info_get_default_for_type.
3124 * gio/gwin32appinfo.c:
3125 Update to GAppInfo api changes
3127 * gio/gdesktopappinfo.c:
3128 Update to GAppInfo api changes
3129 Implement supports_xdg_startup_notify
3131 * gio/gfileicon.c (g_file_icon_get_file):
3132 Make getter non-reffing.
3137 2007-09-27 Alexander Larsson <alexl@redhat.com>
3139 * gio/gfileinfo.[ch]:
3140 Add g_file_size_format_for_display helper
3142 2007-09-27 Alexander Larsson <alexl@redhat.com>
3144 * gio/glocalfileinfo.c:
3145 Set UNIX_GID from gid, not from uid
3147 2007-09-27 Alexander Larsson <alexl@redhat.com>
3150 Add g_file_set_attributes_async
3152 2007-09-27 Alexander Larsson <alexl@redhat.com>
3154 * gio/glocalfile.c (g_local_file_set_display_name):
3155 Fix set_display_name to actually rename to the right place.
3156 Use lstat to look for existing files so we don't overwrite
3159 2007-09-26 Alexander Larsson <alexl@redhat.com>
3162 Add g_file_set_display_name_async()
3164 2007-09-26 Alexander Larsson <alexl@redhat.com>
3167 Add load_partial_contents async calls
3170 Make internal function static
3172 2007-09-26 Alexander Larsson <alexl@redhat.com>
3174 * gio/glocalfileinfo.c:
3175 Correctly detect broken symlinks
3177 2007-09-26 Alexander Larsson <alexl@redhat.com>
3179 * gio/gcancellable.c (g_cancellable_cancel):
3180 Allow cancel on NULL cancellable
3182 2007-09-25 Alexander Larsson <alexl@redhat.com>
3184 * gio/gsimpleasyncresult.c:
3185 Don't allocate g_error manually.
3186 Fixes g_slice/g_new mixup crash
3188 2007-09-25 Alexander Larsson <alexl@redhat.com>
3190 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3191 Actually set active_backend.
3192 This means the monitor will be cancelled correctly.
3194 2007-09-25 Alexander Larsson <alexl@redhat.com>
3196 * gio/gdirectorymonitor.c:
3197 Set timeout to NULL when destroying
3199 2007-09-25 Alexander Larsson <alexl@redhat.com>
3202 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3203 that is a better description of the error.
3205 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3207 * gio/gvfs.c: (g_vfs_get_local):
3208 Make the local vfs variable static. The same instance should
3211 2007-09-24 Alexander Larsson <alexl@redhat.com>
3213 * gio/glocalfileinfo.c:
3214 Pass in actual length read into sniffer, not the length
3217 2007-09-21 Alexander Larsson <alexl@redhat.com>
3219 * gio/gfileenumerator.c:
3222 * gio/gfileinputstream.c:
3223 * gio/gfileoutputstream.c:
3224 * gio/ginputstream.c:
3225 * gio/goutputstream.c:
3226 Don't crash if async callbacks are NULL
3228 2007-09-20 Alexander Larsson <alexl@redhat.com>
3231 Add async enumerate_children method and default
3234 2007-09-20 Alexander Larsson <alexl@redhat.com>
3237 Add g_file_contains_file & g_file_get_relative_path, since they
3238 were needed for nautilus.
3239 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3244 Implement new methods
3246 2007-09-17 Alexander Larsson <alexl@redhat.com>
3249 * gio/gfileinputstream.[ch]:
3250 * gio/gfileoutputstream.[ch]:
3252 * gio/glocalfileenumerator.[ch]:
3253 * gio/glocalfileinfo.[ch]:
3254 * gio/glocalfileinputstream.c:
3255 * gio/glocalfileoutputstream.c:
3256 * gio/gpollfilemonitor.c:
3257 * programs/gio-copy.c:
3258 * programs/gio-info.c:
3259 * programs/gio-move.c:
3260 Rename get_file_info to query_info() to make it clearer
3261 that these are not simple getters, but do i/o.
3263 2007-09-17 Alexander Larsson <alexl@redhat.com>
3265 * gio/gdatainputstream.[ch]:
3266 * gio/test-streams.c:
3267 Use _read_XXX instead of _get_XXX for the i/o calls
3270 2007-09-17 Alexander Larsson <alexl@redhat.com>
3273 Added needed stuff to TODO comment
3275 2007-09-17 Alexander Larsson <alexl@redhat.com>
3277 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3278 Don't error out removing the backup copy if it doesn't
3281 2007-09-14 Alexander Larsson <alexl@redhat.com>
3283 * programs/Makefile.am:
3284 * programs/gvfs-*.c:
3286 Renamed apps from gvfs-xxx to gio-xxx.
3288 2007-09-14 Alexander Larsson <alexl@redhat.com>
3291 * gio/gfileoutputstream.[ch]:
3292 * gio/glocalfileoutputstream.c:
3293 * programs/gvfs-save.c:
3294 g_file_output_stream_get_etag doesn't do i/o, so remove
3295 cancellation and error.
3297 2007-09-14 Alexander Larsson <alexl@redhat.com>
3300 Add new_etag output to replace_contents functions
3302 2007-09-14 Alexander Larsson <alexl@redhat.com>
3304 * gio/gfileoutputstream.[ch]:
3305 Add async get_file_info and default implementation
3307 2007-09-14 Alexander Larsson <alexl@redhat.com>
3309 * gio/gfileinputstream.c:
3310 Implement fallback wrapper for async get_file_info
3312 2007-09-14 Alexander Larsson <alexl@redhat.com>
3315 Add etag out argument to load_contents
3320 2007-09-14 Alexander Larsson <alexl@redhat.com>
3322 * gio/gcontenttype.c (looks_like_text):
3323 Whitespace like tab, cr and lf do not make the
3326 2007-09-14 Alexander Larsson <alexl@redhat.com>
3328 * gio/gfileinputstream.[ch]:
3329 Add async get_file_info.
3331 2007-09-13 Alexander Larsson <alexl@redhat.com>
3333 * gio/goutputstream.c (g_output_stream_write_all):
3334 Allow NULL for bytes_written
3336 2007-09-13 Alexander Larsson <alexl@redhat.com>
3338 * gio/gmemoryinputstream.[ch]:
3339 Add accessors for data
3341 2007-09-13 Alexander Larsson <alexl@redhat.com>
3343 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3344 Don't crash if length is NULL