1 2008-02-03 Hans Breuer <hans@breuer.org>
3 * makefile.msc : update
5 2008-02-01 Michael Natterer <mitch@imendio.com>
7 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
8 return value of xdg_mime_list_mime_parents() to a variable of the
11 2008-02-01 Alexander Larsson <alexl@redhat.com>
13 * gappinfo.c (g_app_info_launch_uris):
14 Actually call the launch_uris method, not
17 2008-02-01 Alexander Larsson <alexl@redhat.com>
19 * gdesktopappinfo.c (g_desktop_app_info_equal):
20 Ensure appinfos with no id but same pointer value
23 2008-02-01 Alexander Larsson <alexl@redhat.com>
25 * gappinfo.c (g_app_info_launch_default_for_uri):
28 2008-02-01 Alexander Larsson <alexl@redhat.com>
32 Add g_app_info_launch_default_for_uri utility
35 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
38 Doc fix for g_app_info_get_default_for_uri_scheme ()
41 2008-01-30 Alexander Larsson <alexl@redhat.com>
44 Add doc comment about uris vs GFiles to
48 Ensure uris passed to g_app_info_launch_uris()
49 are not roundtriped through GFile (as that
50 may be slightly destructive for e.g. mailto: links)
52 2008-01-30 Alexander Larsson <alexl@redhat.com>
54 * tests/data-input-stream.c:
55 * tests/data-output-stream.c:
56 C89 fixes from Jens Granseuer (#512849)
58 2008-01-30 Alexander Larsson <alexl@redhat.com>
61 Fix gamin/fam difference build issue. (#509419)
63 2008-01-29 Alexander Larsson <alexl@redhat.com>
67 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
69 2008-01-29 Alexander Larsson <alexl@redhat.com>
73 giomodule-priv.h include moved to .c file.
75 2008-01-29 Alexander Larsson <alexl@redhat.com>
77 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
78 Remove unused prio/name fields.
80 2008-01-29 Alexander Larsson <alexl@redhat.com>
82 * gcontenttype.c (looks_like_text):
83 Don't treat whitespace as control chars.
85 2008-01-29 Alexander Larsson <alexl@redhat.com>
88 Lazily create the desktop files for appinfos created
89 by g_app_info_create_from_commandline() when needed
90 for mime associations. This allows run-time use
91 of GAppInfo object without creating unnecessary
94 2008-01-29 Alexander Larsson <alexl@redhat.com>
97 Added new symbols to gio.symbols
99 2008-01-29 Alexander Larsson <alexl@redhat.com>
102 Add g_file_query_default_handler utility to easily look up
103 the GAppInfo that handles a file.
105 * gdesktopappinfo.[ch]:
107 Set up an extension point for g_app_info_get_default_for_uri_scheme()
110 Remove unused function
112 2008-01-29 Alexander Larsson <alexl@redhat.com>
115 Mention need to free returned value in
116 g_file_enumerator_next_files_finish docs.
117 Fix leak if g_file_enumerator_next_files_finish()
120 2008-01-29 Alexander Larsson <alexl@redhat.com>
123 (_g_unix_content_type_get_parents):
124 Use list_parents, not get_parents from xdgmime, because
125 the later doesn't use the cache.
127 * xdgmime/xdgmimecache.c:
128 (_xdg_mime_cache_list_mime_parents):
129 Don't list the same type as parent multiple times.
131 2008-01-28 Matthias Clasen <mclasen@redhat.com>
133 * === Released 2.15.4 ===
135 2008-01-28 Alexander Larsson <alexl@redhat.com>
138 Register local vfs with prio 0.
141 Remove old name and prio class members
143 2008-01-28 Matthias Clasen <mclasen@redhat.com>
145 * tests/g-file.c: Disable some tests that are failing in
146 the absence of a http backend.
148 2008-01-28 Alexander Larsson <alexl@redhat.com>
152 Add registration hooks for extension points.
153 Register the gio extension points.
155 * fam/gfamdirectorymonitor.c:
156 * fam/gfamfilemonitor.c:
157 * glocaldirectorymonitor.[ch]:
158 * glocalfilemonitor.[ch]:
159 * gnativevolumemonitor.h:
160 * gunionvolumemonitor.c:
161 * gunixvolumemonitor.c:
164 * inotify/ginotifydirectorymonitor.c:
165 * inotify/ginotifyfilemonitor.c:
166 Use the extension points registration instead
167 of g_type_children().
169 2008-01-28 Matthias Clasen <mclasen@redhat.com>
172 * gvolume.[hc]: Document new API.
174 * gfile.c (g_file_copy_async): Fix docs
176 2008-01-27 Matthias Clasen <mclasen@redhat.com>
178 * gbufferedinputstream.c:
180 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
183 2008-01-27 Matthias Clasen <mclasen@redhat.com>
185 * glocalfile.c: Avoid trivial differences in translatable strings.
187 2008-01-25 Matthias Clasen <mclasen@redhat.com>
189 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
190 build with gcc 3.4 (#509419)
192 2008-01-25 Matthias Clasen <mclasen@redhat.com>
194 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
195 (#509994, Murray Cumming)
197 2008-01-25 Matthias Clasen <mclasen@redhat.com>
199 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
200 * gioscheduler.c: Keep calling io jobs until they return FALSE;
201 this allows big jobs to be executed in chunks, instead of blocking
202 the main loop for a long time.
204 * gsimpleasyncresult.c:
205 * giofile.c: Adapt callers.
207 2008-01-25 Alexander Larsson <alexl@redhat.com>
210 Implement changes discussed on xdg list.
211 Now we can add supported mimetypes by just using defaults.list
212 We can also remove associations in defaults.list.
214 2008-01-25 Alexander Larsson <alexl@redhat.com>
217 Don't make local copy of desktop file
218 for mimetype changes if the file already
219 supports the new mimetype.
221 2008-01-25 Matthias Clasen <mclasen@redhat.com>
225 * gbufferedinputstream.c:
226 * glocalfile.c: String improvements. (#511966,
227 Theppitak Karoonboonyanan)
229 2008-01-24 Matthias Clasen <mclasen@redhat.com>
231 * gioscheduler.h: Expand docs a bit.
233 2008-01-24 Alexander Larsson <alexl@redhat.com>
236 Add g_drive_get_identifier and
237 g_drive_enumerate_identifiers
240 Add g_volume_get_identifier and
241 g_volume_enumerate_identifiers
247 Implement identifiers for unix backend
249 2008-01-24 Alexander Larsson <alexl@redhat.com>
254 Add g_file_copy_async() (#511580)
255 Based on patch from Carlos Garcia Campos
257 2008-01-23 Matthias Clasen <mclasen@redhat.com>
259 * gioscheduler.c: Some documentation additions.
261 2008-01-22 Alexander Larsson <alexl@redhat.com>
264 (g_desktop_app_info_new):
267 2008-01-22 Alexander Larsson <alexl@redhat.com>
270 (g_desktop_app_info_new_from_filename):
273 2008-01-22 Alexander Larsson <alexl@redhat.com>
275 * glocalfileinfo.c (get_thumbnail_attributes):
278 2008-01-22 Alexander Larsson <alexl@redhat.com>
281 (canonicalize_filename):
282 Canonicalize paths that start with more than
287 (test_g_file_new_for_path):
290 2008-01-22 Alexander Larsson <alexl@redhat.com>
293 Allow UTF-8 in file:// parse names.
296 * tests/data-input-stream.c:
297 * tests/data-output-stream.c:
298 * tests/g-file-info.c:
300 Added a bunch of tests from Tomas Bzatek
302 2008-01-21 Matthias Clasen <mclasen@redhat.com>
304 * === Released 2.15.3 ===
306 2008-01-21 Alexander Larsson <alexl@redhat.com>
308 * gfileinputstream.[ch]:
309 * gfileoutputstream.[ch]:
311 Remove duplicated GSeekable functions. (#509990)
312 Just use the g_seekable_xxx() calls instead.
314 2008-01-21 Matthias Clasen <mclasen@redhat.com>
317 * gvolumemanager.c: Whitespace cleanups.
319 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
320 Use the right mode when creating the file.
322 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
325 * gfileinputstream.c:
327 * goutputstream.c: Documentation: Fixed minor typos
328 and added more mentions of specific _finish() functions.
330 2008-01-21 Alexander Larsson <alexl@redhat.com>
332 * inotify/Makefile.am:
333 * inotify/inotify-helper.c:
334 * inotify/inotify-kernel.c:
335 * inotify/inotify-path.c:
336 * inotify/local_inotify.h: Removed.
337 * inotify/local_inotify_syscalls.h: Removed.
338 Removed the included copies of the inotify
339 headers. We now only use the <sys/inotify.h>
340 header which exists on modern systems.
341 This fixes problems on ARM and SH5 (#510448)
342 but is also generally much cleaner and future
343 safe. For instance, if other OSes add support
344 for inotify it should "just work".
346 2008-01-20 Matthias Clasen <mclasen@redhat.com>
348 * inotify/*.c: Coding style fixes.
349 * inotify/inotify-missing.c: Use g_timeout_add_seconds
350 for the 1/4 Hz timer.
352 2008-01-20 Matthias Clasen <mclasen@redhat.com>
356 * gmemoryinputstream.c:
357 * gmemoryoutputstream.c:
359 * gthemedicon.c: Documentation updates
361 2008-01-20 Murray Cumming <murrayc@murrayc.com>
363 * gfile.c: documentation: Fixed more minor
366 2008-01-18 Murray Cumming <murrayc@murrayc.com>
368 * gmount.c: (g_mount_remount): documentation:
369 Mention g_mount_remount_finish() instead of
370 g_mount_unmount_finish().
372 2008-01-18 Murray Cumming <murrayc@murrayc.com>
376 * gfile.c: Fixed some minor typos in the
379 2008-01-18 Murray Cumming <murrayc@murrayc.com>
381 * gio/gvolumemonitor.c:
382 (g_volume_monitor_get_connected_drives):
383 (g_volume_monitor_get_volumes):
384 (g_volume_monitor_get_mounts): Documentation:
385 Clarify the ownership of the regurn GLists.
387 2008-01-17 Alexander Larsson <alexl@redhat.com>
390 Add the async find_enclosing_mount version
391 to the header file too.
393 2008-01-17 Alexander Larsson <alexl@redhat.com>
396 Add async version of find_enclosing_mount
397 with default implementation.
399 2008-01-17 Alexander Larsson <alexl@redhat.com>
404 Allow calls to implementation of copy and write
405 even if the type of the file implementations is
406 different. This can be used to implement native
407 upload and download calls in a vfs.
411 Protect against the case where move is called
412 with one file not being local.
414 Make sure we call the progress callback once
415 in the native move operation so that the caller
416 knows how many bytes were copied.
418 2008-01-16 Murray Cumming <murrayc@murrayc.com>
421 * gdatainputstream.c:
423 * gfileoutputstream.c:
428 * gunixmounts.c: Corrected some typos in the documentation:
430 its -> it's (where appropriate).
432 2008-01-16 Alexander Larsson <alexl@redhat.com>
436 Add g_file_query_exists (#508771)
438 2008-01-15 Murray Cumming <murrayc@murrayc.com>
443 * gvolume.c: For async functions that have no non-async
444 version, document that the GAsyncReadyCallback may be NULL.
447 2008-01-15 Alexander Larsson <alexl@redhat.com>
449 * gmemoryinputstream.c:
450 * gmemoryoutputstream.c:
451 Don't do pointer arithmetic on void * (#508602)
452 Patch from Kazuki IWAMOTO
454 2008-01-14 Matthias Clasen <mclasen@redhat.com>
456 * === Released 2.15.2 ===
458 2008-01-14 Alexander Larsson <alexl@redhat.com>
460 * gfile.c (g_file_monitor_file):
461 Don't set error here, since we fallback to polling monitor.
463 2008-01-14 Alexander Larsson <alexl@redhat.com>
466 (g_file_monitor_directory):
467 (g_file_monitor_file):
468 Add GError to file monitor calls
470 * glocaldirectorymonitor.c:
471 * glocaldirectorymonitor.h:
473 * glocalfilemonitor.c:
474 * glocalfilemonitor.h:
476 Update for above change
478 2008-01-14 Alexander Larsson <alexl@redhat.com>
482 Handle root correctly in g_file_get_relative_path (#508719)
484 2008-01-14 Alexander Larsson <alexl@redhat.com>
487 Clean up docs and example for GAsyncResult (#508074)
489 2008-01-11 Murray Cumming <murrayc@murrayc.com>
491 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
492 and correct some spelling mistakes. Bug #508108.
494 2008-01-11 Matthias Clasen <mclasen@redhat.com>
496 * glocalfileinfo.c: Add a comment.
498 2008-01-10 Murray Cumming <murrayc@murrayc.com>
500 * gfileinfo.c: GFileInfo description: Mention
501 how to actually set attributes in a GFile and how to discover
502 which attributes are settable. Bug #508378.
504 2008-01-10 A. Walton <awalton@svn.gnome.org>
506 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
507 (g_app_info_get_default_for_type):
508 Check for NULL content types.
510 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
512 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
514 2008-01-09 Murray Cumming <murrayc@murrayc.com>
516 * gfile.c: *_async() functions: Several small corrections
517 to the documentation, mostly correcting copy/paste errors
518 and improving some sentences.
520 2008-01-09 Dan Winship <danw@gnome.org>
522 * glocalfile.c (get_unique_filename): x86_64 fix
524 2008-01-09 Alexander Larsson <alexl@redhat.com>
529 Add g_unix_mount_guess_should_display and use
530 for unix volume monitor backend.
531 This means we more or less show what the
532 gnome-vfs backend did.
533 Based on patch from Padraig O'Briain
535 2008-01-09 Alexander Larsson <alexl@redhat.com>
539 Add g_themed_icon_new_with_default_fallbacks
542 Use default fallbacks for icons
544 2008-01-09 Alexander Larsson <alexl@redhat.com>
547 * gmountoperation.[ch]:
548 Change the API a bit so that unhandled methods
549 get reported via the reply, rather than by
550 the signal emission return value. This is because
551 some handlers can't know this immediately without
552 doing I/O, and this is an async operation that
555 2008-01-09 Alexander Larsson <alexl@redhat.com>
558 * fam/gfamdirectorymonitor.c:
559 * fam/gfamfilemonitor.c:
560 Fix double free crash (#508224)
561 Patch from Joe Marcus Clarke
563 008-01-07 Matthias Clasen <mclasen@redhat.com>
565 * === Released 2.15.1 ===
567 2008-01-07 Alexander Larsson <alexl@redhat.com>
569 * gunixinputstream.c (g_unix_input_stream_skip_finish):
570 Fix warning (#507835)
572 2008-01-07 Alexander Larsson <alexl@redhat.com>
575 Pass --internal to glib-genmarshal
580 Use better types for signal arguments (#507822)
582 2008-01-07 Alexander Larsson <alexl@redhat.com>
585 Build test subdir after .
586 Remove gdirectorymonitor.[ch]
588 * gdirectorymonitor.[ch]:
592 Remove GDirectoryMonitor and make
593 GFileMonitor the baseclass for both file and
594 directory monitors. Lift the more generic
595 rate limiting code from GDirectoryMonitor
599 * fam/gfamdirectorymonitor.[ch]:
600 * inotify/ginotifydirectorymonitor.[ch]:
601 * inotify/inotify-helper.c:
602 * glocaldirectorymonitor.[ch]:
605 Update for the removed GDirectoryMonitor.
607 * gmemoryoutputstream.c:
608 Remove ununsed variable
610 2008-01-07 Alexander Larsson <alexl@redhat.com>
612 * gmemoryinputstream.c:
613 Translate error strings
616 * gmemoryoutputstream.[ch]:
617 New implementation that avoids using GByteArray
618 in implementation and API. (#506377)
620 2008-01-06 Matthias Clasen <mclasen@redhat.com>
622 * tests/*: Add a test for memory input streams.
624 * Makefile.am: Add tests to SUBDIRS.
626 2008-01-06 Matthias Clasen <mclasen@redhat.com>
628 * glocalfilemonitor.c:
629 * glocaldirectorymonitor.c: Mark property nicks and blurbs
632 2008-01-06 Matthias Clasen <mclasen@redhat.com>
634 * gdesktopappinfo.c: Fix a docs typo.
636 * gfileattribute.c: Add information about extended attributes
637 to the documentation. (#505058)
639 2008-01-04 Alexander Larsson <alexl@redhat.com>
643 Use the right type (uint) for the ask_password signal.
645 2008-01-04 Alexander Larsson <alexl@redhat.com>
650 Add g_app_info_supports_files()
651 Remove desktop arg from g_app_info_should_show().
653 * gdesktopappinfo.[ch]:
654 Implement g_app_info_supports_files() and new should_show()
655 Add g_desktop_app_info_set_desktop_env() to set the desktop
656 for should_show(). (This will be set by gtk+ later)
658 2008-01-04 Alexander Larsson <alexl@redhat.com>
661 * gmemoryinputstream.[ch]:
662 Improve API so that you can use multiple chunks
663 of memory and custom destroy functions. (#506374)
665 2008-01-03 Alexander Larsson <alexl@redhat.com>
668 Handle NULL attribute matchers safely, as we return this
669 for empty attribute matcher strings.
671 2008-01-03 Alexander Larsson <alexl@redhat.com>
673 * gunixmounts.c (g_unix_is_mount_path_system_internal):
674 Add /usr/local to list of internal mountpoints
676 2008-01-03 Alexander Larsson <alexl@redhat.com>
679 Check for HAVE_LCHOWN (#505887)
681 2008-01-03 Alexander Larsson <alexl@redhat.com>
685 Add define for selinux context attribute.
686 Fix missing : -> :: namespace separator change
687 Fix missing _ -> - name change for xattr-sys.
690 2008-01-03 Alexander Larsson <alexl@redhat.com>
693 Link to libglib and libgobject directly (#504879)
694 Patch from Sebastien Bacher
696 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
698 * gfile.c: Expanded the g_file_new_for_commandline_arg
699 description a bit, based on the code and the docs of the
700 other g_file_new_for_* functions.
702 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
704 * gfilemonitor.h: Fixed typo in docs.
706 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
708 Updates to GIO documentation. (#506395, Mikael Hermansson)
710 * gcontenttype.c: Describe memory management for return value of
711 g_content_types_get_registered(). Missing piece from #505815.
712 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
713 GVolume, GDrive, GMounts, which hopefully gives the user less
714 confusions when using this API. Following explainations from
715 Alexander Larsson on gtk-devel-list.
717 2007-12-30 Matthias Clasen <mclasen@redhat.com>
719 * gfileinfo.c: Expand the long description.
721 2007-12-30 Matthias Clasen <mclasen@redhat.com>
724 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
725 fix builds with --disable-visibility. (#500273, Christian Persch)
727 2007-12-30 Matthias Clasen <mclasen@redhat.com>
729 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
730 in the list of returned app infos.
732 2007-12-30 Matthias Clasen <mclasen@redhat.com>
734 * gappinfo.c: Fix a cross-reference
736 2007-12-30 Matthias Clasen <mclasen@redhat.com>
738 * gfileinputstream.c:
739 * gfileoutputstream.c:
745 * gfileinfo.c: Documentation updates.
747 2007-12-26 Matthias Clasen <mclasen@redhat.com>
749 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
752 2007-12-26 Matthias Clasen <mclasen@redhat.com>
754 * gcontenttype.c (g_content_types_get_registered): Don't return
755 freed memory (#505815, Mikael Hermansson)
757 2007-12-25 Paolo Borelli <pborelli@katamail.com>
759 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
760 used to detect statbuf->st_blocks. (#505042)
762 2007-12-24 Matthias Clasen <mclasen@redhat.com>
764 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
765 environment handling. (#504829, Cosimo Cecchi)
767 2007-12-22 Matthias Clasen <mclasen@redhat.com>
769 * gappinfo.c: Doc improvements
771 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
774 2007-12-20 Matthias Clasen <mclasen@redhat.com>
776 * === Released 2.15.0 ===
778 2007-12-20 Hans Breuer <hans@breuer.org>
780 * makefile.msc : don't build gdesktopappinfo.obj, it collides
781 with symbols gwin32appinfo.obj, added gmount.obj
782 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
784 2007-12-20 Alexander Larsson <alexl@redhat.com>
790 * gfilenamecompleter.c:
793 * gpollfilemonitor.c:
794 File attribute renames:
797 id::fs -> id::filesystem
799 2007-12-20 Alexander Larsson <alexl@redhat.com>
808 Add GMountUnmountFlags to all unmount and
810 Add g_mount_remount() call.
812 2007-12-20 Alexander Larsson <alexl@redhat.com>
814 * gvfs.c (get_default_vfs):
815 Fix unused variable warning
817 2007-12-19 Matthias Clasen <mclasen@redhat.com>
819 * pltcheck.sh: Update
821 2007-12-19 Matthias Clasen <mclasen@redhat.com>
823 * gunionvolumemonitor.c:
824 * gunixmount.c: Remove C99 comments
826 2007-12-19 Matthias Clasen <mclasen@redhat.com>
828 * gio.symbols: Add some missing symbols
830 2007-12-19 Alexander Larsson <alexl@redhat.com>
833 Make g_io_modules_load_all_in_directory not unuse
834 loaded modules so that users of it can do stuff
836 Init internal "module" types.
837 Initialize static prio and name for types so that
838 we don't have to load modules to get it.
840 * gnativevolumemonitor.h:
842 Move is_supported to parent class so that
843 non-native monitors can avoid being initialized
844 too. (For instance GDaemonVolumeMonitor if we're
845 not using GDaemonVfs.)
847 * glocaldirectorymonitor.[ch]:
848 * glocalfilemonitor.[ch]:
849 * gunionvolumemonitor.c:
850 * gunixvolumemonitor.c:
852 Find plugins using the static prio+name to
853 avoid unnecessarily loading the modules.
855 2007-12-19 Alexander Larsson <alexl@redhat.com>
860 2007-12-19 Alexander Larsson <alexl@redhat.com>
862 * gunionvolumemonitor.c:
863 Store the native type as GType, not class so that
864 we can unload it. But still avoid unnecessarily
867 2007-12-19 David Zeuthen <davidz@redhat.com>
869 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
870 add signals 'disconnected' and 'eject-button' on GDrive. Add
871 signal 'removed' on GVolume and 'unmounted' on GMount.
873 * gdrive.c: (g_drive_base_init):
875 * gfile.c: (g_file_mount_mountable),
876 (g_file_mount_enclosing_volume):
879 * gmount.c: (g_mount_base_init):
881 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
882 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
883 * gvolume.c: (g_volume_base_init), (g_volume_mount):
887 2007-12-17 Matthias Clasen <mclasen@redhat.com>
889 * *.c: Fix up includes in the section docs.
891 2007-12-17 Alexander Larsson <alexl@redhat.com>
893 * gnativevolumemonitor.h:
894 * gunionvolumemonitor.c:
895 * gunixvolumemonitor.c:
896 Add is_supported() to GNativeVolumeMonitorClass so
897 that we can avoid having to create an object to see
898 if the backend is supported at runtime.
899 Also add name member and an env var to pick a specific
900 volume monitor backend.
904 Add cancellable to _g_mount_get_for_mount_path()
906 * glocaldirectorymonitor.c:
907 * glocalfilemonitor.c:
908 Avoid loading and unloading modules while sorting.
910 2007-12-17 Matthias Clasen <mclasen@redhat.com>
913 * gunixmounts.[hc]: Namespace waste reduction, move some
914 g_get_unix_mount functions to the g_unix_mount namespace.
917 * gunixvolumemonitor.c:
919 * glocaldirectorymonitor.c: Update all callers.
921 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
923 2007-12-17 Alexander Larsson <alexl@redhat.com>
926 Add doc comments about what GFile operations are
927 guaranteed to not block.
929 2007-12-17 Alexander Larsson <alexl@redhat.com>
932 Add missing #ifdef fixing OSX build.
933 (#503334, patch from Richard Hult)
935 2007-12-14 David Zeuthen <davidz@redhat.com>
939 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
940 (g_mount_eject), (g_mount_eject_finish):
942 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
943 (get_volume_for_uuid), (get_mount_for_uuid),
944 (g_union_volume_monitor_class_init),
945 (get_default_native_type_with_exclude), (get_default_native_type),
946 (get_native_type), (update_native_type),
947 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
948 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
949 (g_unix_mount_can_eject), (eject_unmount_cb),
950 (eject_unmount_read_error), (eject_unmount_do),
951 (g_unix_mount_unmount), (g_unix_mount_eject),
952 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
953 * gunixmounts.c: (g_unix_mount_guess_can_eject),
954 (g_unix_mount_point_guess_can_eject):
956 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
957 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
958 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
959 (g_unix_volume_mount), (g_unix_volume_eject),
960 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
961 * gunixvolumemonitor.c: (get_volume_for_uuid),
962 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
964 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
965 (g_volume_eject), (g_volume_eject_finish):
967 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
968 (g_volume_monitor_get_mount_for_uuid):
971 Provide eject() on both GMount and GVolume and utility functions
972 to guess whether a GUnixMountPoint or GUnixMountEntry should be
973 ejected. Introduce the concept of UUID's and wire it into GVolume
974 and GMount and provide API on GVolumeMonitor to find such
975 instances. Also handle the case where an external
976 GNativeVolumeMonitor fails to initialize. Lock around the
977 _g_get_mount_for_mount_path() function such that volume monitor
978 implementations won't have to do locking themselves.
980 2007-12-17 Matthias Clasen <mclasen@redhat.com>
988 * gvolume.h: Documentation updates
990 2007-12-14 Matthias Clasen <mclasen@redhat.com>
993 * gfile.h: Doc updates
995 2007-12-14 Matthias Clasen <mclasen@redhat.com>
998 * gdesktopappinfo.c: Use hash table iterators.
1000 2007-12-14 Alexander Larsson <alexl@redhat.com>
1003 * gfileattribute.[ch]:
1004 * gfileattribute-priv.h:
1005 Move GFileAttributeValue to a private header, as
1009 Make set_attribute take a type + a pointer instead
1010 of a GFileAttributeValue.
1013 Fix up for above changes.
1014 Add g_file_info_get_attribute_data to get
1015 all info in one call, g_file_info_get_attribute_status
1016 to get the status and g_file_info_get_attribute_as_string.
1020 * glocalfileinfo.[ch]:
1024 Make _guess_type static.
1026 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1029 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1030 made mkenums and friends use temporary files to avoid leaving
1031 empty generated files on failure (#503470).
1033 2007-12-14 Alexander Larsson <alexl@redhat.com>
1035 * gmountoperation.h:
1038 2007-12-14 Alexander Larsson <alexl@redhat.com>
1042 * gfileattribute.[ch]:
1045 * glocalfileoutputstream.c:
1046 * gmountoperation.[ch]:
1047 * goutputstream.[ch]:
1048 Clean up all flags enums to not have _FLAGS in them
1049 Make the names of some of the enums better.
1054 2007-12-14 Michael Natterer <mitch@imendio.com>
1056 * gio.symbols: fix g_io_scheduler symbol names.
1058 2007-12-14 Alexander Larsson <alexl@redhat.com>
1064 * gbufferedinputstream.h:
1065 * gbufferedoutputstream.h:
1068 * gdatainputstream.h:
1069 * gdataoutputstream.h:
1070 * gdesktopappinfo.h:
1071 * gdirectorymonitor.h:
1075 * gfileenumerator.h:
1078 * gfileinputstream.h:
1080 * gfilenamecompleter.h:
1081 * gfileoutputstream.h:
1082 * gfilterinputstream.h:
1083 * gfilteroutputstream.h:
1091 * gmemoryinputstream.h:
1092 * gmemoryoutputstream.h:
1094 * gmountoperation.h:
1097 * gsimpleasyncresult.h:
1099 * gunixinputstream.h:
1101 * gunixoutputstream.h:
1105 * inotify/Makefile.am:
1106 Only allow including <gio/gio.h> from apps
1108 2007-12-14 Alexander Larsson <alexl@redhat.com>
1110 * gioscheduler.[ch]:
1111 * gsimpleasyncresult.c:
1112 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1113 Split out the send_to_mainloop call into two versions instead
1114 of having the block argument.
1116 2007-12-13 Alexander Larsson <alexl@redhat.com>
1118 * gcancellable.[ch]:
1120 * gbufferedinputstream.c:
1121 * gfileenumerator.c:
1122 * gfileinputstream.c:
1123 * gfileoutputstream.c:
1127 g_push/pop_current_cancellable ->
1128 g_cancellable_push/pop_current
1130 2007-12-13 Alexander Larsson <alexl@redhat.com>
1134 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1136 2007-12-13 Alexander Larsson <alexl@redhat.com>
1138 * gmountoperation.h:
1139 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1141 2007-12-12 Alexander Larsson <alexl@redhat.com>
1144 Fix race condition when freeing proxy in
1145 g_io_job_send_to_mainloop().
1147 2007-12-12 Alexander Larsson <alexl@redhat.com>
1153 Make attribute namespace separator "::" instead of ":".
1154 Use - instead of _ as separator in attribute names.
1156 2007-12-12 Alexander Larsson <alexl@redhat.com>
1158 * gbufferedinputstream.h:
1159 * gbufferedoutputstream.h:
1160 * gdatainputstream.h:
1161 * gdataoutputstream.h:
1162 * gdirectorymonitor.h:
1163 * gfileenumerator.h:
1164 * gfileinputstream.h:
1166 * gfileoutputstream.h:
1167 * gfilterinputstream.h:
1168 * gfilteroutputstream.h:
1170 * glocalfileinputstream.h:
1171 * glocalfileoutputstream.h:
1172 * gmemoryinputstream.h:
1173 * gmemoryoutputstream.h:
1174 * gnativevolumemonitor.h:
1176 * gunixinputstream.h:
1177 * gunixoutputstream.h:
1180 s/parent/parent_instance/ in GObjects
1182 2007-12-12 Alexander Larsson <alexl@redhat.com>
1187 No need for padding for interfaces
1189 2007-12-12 Alexander Larsson <alexl@redhat.com>
1193 * gbufferedinputstream.c:
1194 * gbufferedoutputstream.c:
1197 * gdatainputstream.[ch]:
1198 * gdesktopappinfo.c:
1199 * gdirectorymonitor.c:
1201 * gfileattribute.[ch]:
1204 * gfileinputstream.h:
1205 * gfilemonitor.[ch]:
1206 * gfileoutputstream.[ch]:
1207 * gfilterinputstream.h:
1208 * gfilteroutputstream.h:
1211 * gloadableicon.[ch]:
1212 * gmemoryinputstream.c:
1213 * gmountoperation.c:
1215 Fix up a bunch of details in the docs.
1220 2007-12-11 David Zeuthen <davidz@redhat.com>
1222 Rework how volumes, drives and volume monitoring is
1223 done. Previosly the model was
1225 GDrive <1-1> GVolume
1227 where a GDrive instance represented a mount point and a GVolume
1228 instance represented a mounted file system. This patch changes it
1231 GDrive <1-N> GVolume <1-1> GMount
1233 where GMount now serves the purpose of the old GVolume and the new
1234 GVolume serves the purpose of the old GDrive. In addition the new
1235 GDrive interface is used to represent a collection of GVolume
1236 instances (typically partitions) and also contains utility to query
1237 the state of the physical drive the GDrive object represents (such
1238 as checking for media, polling the drive, ejecting the media etc.).
1240 Also implement mounting and unmounting in the Unix volume monitor
1241 backend. A subquent patch will introduce GDrive support for ejection
1245 * gdrive.c: (g_drive_is_media_check_automatic),
1246 (g_drive_is_media_removable), (g_drive_has_media),
1247 (g_drive_can_poll_for_media), (g_drive_eject),
1248 (g_drive_eject_finish), (g_drive_poll_for_media),
1249 (g_drive_poll_for_media_finish):
1251 * gfile.c: (g_file_find_enclosing_mount):
1254 * glocaldirectorymonitor.c:
1255 (g_local_directory_monitor_constructor), (mounts_changed):
1256 * glocalfile.c: (get_mount_info),
1257 (g_local_file_find_enclosing_mount),
1258 (g_local_file_file_iface_init):
1259 * gnativevolumemonitor.h:
1260 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1261 (get_connected_drives), (g_union_volume_monitor_class_init),
1262 (child_volume_added), (child_volume_removed),
1263 (child_volume_changed), (child_mount_added), (child_mount_removed),
1264 (child_mount_pre_unmount), (child_mount_changed),
1265 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1266 (g_union_volume_monitor_remove_monitor),
1267 (_g_mount_get_for_mount_path):
1268 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1269 (guess_system_internal), (_g_get_unix_mounts),
1270 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1271 (g_unix_mount_free), (g_unix_mount_compare),
1272 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1273 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1274 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1275 (type_to_icon), (g_unix_mount_guess_name),
1276 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1277 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1278 (_resolve_symlink), (_resolve_dev_root):
1280 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1281 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1282 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1283 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1284 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1285 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1286 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1287 (g_unix_volume_volume_iface_init):
1289 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1290 (get_mounts), (get_volumes), (get_connected_drives),
1291 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1292 (mountpoints_changed), (mounts_changed),
1293 (g_unix_volume_monitor_init),
1294 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1295 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1296 * gunixvolumemonitor.h:
1297 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1298 (g_volume_mount), (g_volume_mount_finish):
1300 * gvolumemonitor.c: (g_volume_monitor_class_init),
1301 (g_volume_monitor_get_connected_drives),
1302 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1305 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1307 * gmountoperation.h (GPasswordFlags): Close the gap
1309 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1311 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1313 * gdesktopappinfo.[hc]: Remove _-prefixes
1315 2007-12-10 Tor Lillqvist <tml@novell.com>
1317 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1320 2007-12-10 Alexander Larsson <alexl@redhat.com>
1322 * gfile.c (g_file_set_display_name):
1323 Don't hardcode '/' (#502727)
1325 2007-12-09 Hans Breuer <hans@breuer.org>
1327 * makefile.msc : follow lib naming convention
1328 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1329 for user and group name, tested with ../tests/gio-ls
1331 2007-12-09 A. Walton <awalton@svn.gnome.org>
1333 * gdesktopappinfo.c:
1339 * gfileenumerator.c:
1344 * gmemoryinputstream.c:
1345 * gmemoryoutputstream.c:
1347 * gsimpleasyncresult.c:
1348 More documentation cleanup and filling in missing information, bringing
1349 GIO to 99% symbol coverage.
1351 2007-12-08 Hans Breuer <hans@breuer.org>
1353 [gio compiles and links on win32, not sure how much already works]
1354 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1355 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1356 base on win32 API; prefer g_lstat() over lstat(); instead of
1357 localtime_r() use an all GLib implementation on win32;
1358 get_mount_info() still needs a win32 specifc implementation
1359 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1360 win32_get_file_user_info to get owner/group info without uid/gid
1361 * glocalfileinputstream.c : include <io.h> on win32
1362 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1363 definition, use g_win32_ftruncate() for G_OS_WIN32
1364 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1365 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1366 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1367 * makefile.msc : updated
1369 2007-12-07 Alexander Larsson <alexl@redhat.com>
1371 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1372 Avoid warning spew if error == NULL
1374 2007-12-07 Alexander Larsson <alexl@redhat.com>
1377 Update docs wrt etags
1379 2007-12-06 Alexander Larsson <alexl@redhat.com>
1382 Include sys/types.h for dev_t (#501919)
1384 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1388 Make abicheck and pltcheck pass.
1390 2007-12-05 Alexander Larsson <alexl@redhat.com>
1393 * giomodule-priv.h: Added.
1394 * glocaldirectorymonitor.c:
1395 * glocalfilemonitor.c:
1396 * gunionvolumemonitor.c:
1398 Actually add the declaration of _g_io_modules_ensure_loaded
1400 2007-12-05 Alexander Larsson <alexl@redhat.com>
1402 * gdatainputstream.c:
1407 * glocaldirectorymonitor.c:
1408 * glocalfilemonitor.c:
1409 * gunionvolumemonitor.c:
1411 Make g_io_modules_ensure_loaded a private function and
1412 don't pass in the dirname. This means we can do magic
1413 directory finding in the win32 version.
1414 Export the actual load-modules-in-directory code so that
1415 gvfs can reuse that.
1417 2007-12-05 Alexander Larsson <alexl@redhat.com>
1419 * gbufferedinputstream.c:
1420 * gbufferedoutputstream.c:
1423 * gfileenumerator.[ch]:
1424 * gfileinputstream.c:
1425 * gfileoutputstream.[ch]:
1426 * gfilterinputstream.c:
1427 * gfilteroutputstream.c:
1428 * ginputstream.[ch]:
1430 * glocalfileenumerator.c:
1431 * glocalfileinputstream.c:
1432 * glocalfileoutputstream.c:
1433 * gmemoryinputstream.c:
1434 * gmemoryoutputstream.c:
1435 * goutputstream.[ch]:
1438 * gunixinputstream.c:
1439 * gunixoutputstream.c:
1440 Rename all struct members named:
1441 read, write, close, truncate, or mount
1442 to foo_fn, as these are reserved names
1443 and could be defined as macros in libc.
1446 2007-12-04 Alexander Larsson <alexl@redhat.com>
1449 (g_output_stream_close):
1450 Only call flush if non-null.
1452 2007-11-30 Dan Winship <danw@gnome.org>
1454 * ginputstream.c (g_input_stream_set_pending): Make this take a
1455 GError and return a gboolean, and do the "outstanding operation"
1456 check (and the "stream is already closed" check) itself.
1457 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1459 * goutputstream.c (g_output_stream_set_pending)
1460 (g_output_stream_clear_pending): Likewise
1462 * gbufferedinputstream.c:
1463 * gfileinputstream.c:
1464 * gfileoutputstream.c: Update for that
1466 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1467 Like g_simple_async_report_error_in_idle, but takes a GError
1468 rather than building one.
1470 2007-11-30 Dan Winship <danw@gnome.org>
1472 * goutputstream.c: Don't cheat and unset the "pending" flag around
1473 inner calls. Instead, call the class method directly rather than
1474 the wrapper function that checks "pending"
1476 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1478 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1480 2007-12-03 Hans Breuer <hans@breuer.org>
1482 [start of port to win32/msvc]
1483 * gcancellable.c : HAVE_UNIST_H and _pipe()
1484 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1485 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1486 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1488 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1489 * glocalvfs.c : use HAVE_PWD_H
1490 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1491 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1492 * Makefile.am : added to EXTRA_DIST
1494 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1496 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1499 2007-12-03 Alexander Larsson <alexl@redhat.com>
1502 Handle OSX style xattrs API (#500506)
1504 2007-12-03 Alexander Larsson <alexl@redhat.com>
1508 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1510 2007-12-02 A. Walton <awalton@svn.gnome.org>
1514 Documentation accuracy fixes.
1516 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1518 * gioenumtypes.c.template: Fix typo.
1520 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1522 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1524 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1526 * gdirectorymonitor.c:
1527 * gfilemonitor.c: Add properties
1529 * gbufferedoutputstream.c: Don't mark buffer-size property
1532 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1534 * gbufferedoutputstream.c: Add auto-grow property.
1536 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1538 * *.c: Unify the capitalization of section headings.
1540 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1542 * gmountoperation.c: Add properties
1544 * gdatainputstream.c: Turn byte-order and newline-type into
1547 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1549 * gioenumtypes.[hc].template: Templates for enum registration
1551 * Makefile.am: Generate gioenumtypes.[hc]
1553 * gio.h: Include gioenumtypes.h
1555 * gfile.h: Add some explicit nicks.
1557 * gio.symbols: Add new symbols
1559 * pltcheck.sh: Adjust
1561 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1563 * *.c: Explain etags and link to the explanation
1565 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1567 * *.c: Explain I/O priority.
1569 * *.c: More coding style fixes.
1571 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1573 * gasyncresult.c: Add another paragraph to the intro,
1574 adjust coding style of example.
1576 2007-11-29 A. Walton <awalton@svn.gnome.org>
1579 Fixes unknown meaning in GAppLaunchContext docs.
1581 Clarify asynchronous ops.
1583 Fix entity tag docs.
1586 Provides missing gtk-doc section, fixes API docs slighly.
1587 * gsimpleasyncresult.c:
1588 Fill in missing info in docs.
1589 * gunixinputstream.c:
1590 * gunixoutputstream.c:
1591 Be more expressive in short description.
1593 Remove gtk-doc stubs for non-public API.
1595 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1597 * *.c: Coding style fixups
1599 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1601 * inotify/inotify-helper.c: Don't export the lock from libgio.
1603 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1606 * abicheck.sh: Fix copy-and-paste leftovers
1608 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1610 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1612 2007-11-28 Alexander Larsson <alexl@redhat.com>
1616 Removed unnecessary file
1618 * gdesktopappinfo.[ch]:
1621 * glocaldirectorymonitor.[ch]:
1623 * glocalfileenumerator.[ch]:
1624 * glocalfileinputstream.[ch]:
1625 * glocalfilemonitor.[ch]:
1626 * glocalfileoutputstream.[ch]:
1628 * gnativevolumemonitor.c:
1629 * gpollfilemonitor.[ch]:
1630 * gunionvolumemonitor.[ch]:
1633 * gunixvolumemonitor.[ch]:
1636 * inotify/ginotifydirectorymonitor.[ch]:
1637 * inotify/ginotifyfilemonitor.[ch]:
1638 * inotify/inotify-helper.c:
1639 Append _ to all internal functions
1643 Export symbols needed for modules
1645 2007-11-28 Alexander Larsson <alexl@redhat.com>
1648 * abicheck.sh: Added.
1649 * makegioalias.pl: Added.
1650 * pltcheck.sh: Added.
1651 * gio.symbols: Added.
1654 Initial work on adding symbol handling.
1657 Correct ifdef guard name
1660 * inotify/Makefile.am:
1661 * xdgmime/Makefile.am:
1662 Include toplevel Makefile.decl
1664 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1666 * gcontenttype.c: Move doc comments to the unix section.
1668 * *.[hc]: More trivial doc corrections.
1670 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1672 * gpollfilemonitor.c:
1676 * gdesktopappinfo.c:
1681 * gdatainputstream.c:
1682 * gdatainputstream.h:
1683 * gdataoutputstream.c:
1684 * gdataoutputstream.h:
1685 * gfileinfo.h: Doc cleanups
1687 2007-11-28 Andre Klapper <a9016009@gmx.de>
1689 * gdesktopappinfo.c: Fix a typo.
1691 2007-11-27 Andre Klapper <a9016009@gmx.de>
1693 * glocalfileoutputstream.c: Fix a typo.
1695 2007-11-27 Alexander Larsson <alexl@redhat.com>
1698 Don't include removed headers
1700 2007-11-27 Alexander Larsson <alexl@redhat.com>
1703 * gsocketinputstream.[ch]: Removed.
1704 * gsocketoutputstream.[ch]: Removed.
1705 * gunixinputstream.[ch]: Added.
1706 * gunixoutputstream.[ch]: Added.
1707 Renamed GSocket*Stream to GUnix*Stream and made
1708 it unix-only, since its not really only for sockets
1709 and it only works on unix (but is highly useful there).
1711 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1717 * gbufferedinputstream.c:
1718 * gbufferedinputstream.h:
1719 * gbufferedoutputstream.c:
1720 * gbufferedoutputstream.h:
1724 * gdatainputstream.c:
1725 * gdatainputstream.h:
1726 * gdataoutputstream.c:
1727 * gdataoutputstream.h:
1728 * gdirectorymonitor.c:
1729 * gdirectorymonitor.h:
1736 * gfileenumerator.c:
1737 * gfileenumerator.h:
1742 * gfileinputstream.c:
1743 * gfileinputstream.h:
1746 * gfilenamecompleter.c:
1747 * gfilenamecompleter.h:
1748 * gfileoutputstream.c:
1749 * gfileoutputstream.h:
1750 * gfilterinputstream.c:
1751 * gfilterinputstream.h:
1752 * gfilteroutputstream.c:
1753 * gfilteroutputstream.h:
1766 * glocalfileoutputstream.c:
1767 * gmemoryinputstream.c:
1768 * gmemoryinputstream.h:
1769 * gmemoryoutputstream.c:
1770 * gmemoryoutputstream.h:
1771 * gmountoperation.c:
1772 * gmountoperation.h:
1775 * gpollfilemonitor.c:
1778 * gsimpleasyncresult.c:
1779 * gsimpleasyncresult.h:
1780 * gsocketinputstream.c:
1781 * gsocketinputstream.h:
1782 * gsocketoutputstream.c:
1783 * gsocketoutputstream.h:
1790 * gunixvolumemonitor.c:
1799 Bumps documentation to 93% symbol coverage, touching most
1800 of the public files. Fixes broken function documentation prototypes.
1801 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1802 gtk-doc headers in private files.
1804 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1806 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1807 (g_buffered_input_stream_read_byte):
1808 * gbufferedinputstream.h:
1809 New functions for efficient access to buffer and simple single byte
1812 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1813 (g_data_input_stream_read_until):
1814 * gdatainputstream.h:
1815 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1816 read_until with multiple stop chars.
1818 2007-11-27 Alexander Larsson <alexl@redhat.com>
1822 * inotify/Makefile.am:
1823 Use the user-specified giomoduledir
1825 2007-11-27 Alexander Larsson <alexl@redhat.com>
1829 Add catch-all gio.h header
1830 Don't install gdummyfile.h
1832 2007-11-26 Alexander Larsson <alexl@redhat.com>
1834 * Makefile.am (gioinclude_HEADERS):
1835 Remove trailing whitespace
1837 2007-11-26 Alexander Larsson <alexl@redhat.com>
1839 Merge gio-standalone into glib
1841 2007-11-25 Christian Kellner <gicmo@gnome.org>
1843 * gio/goutputstream.c:
1844 Fix small mistake in the docs.
1846 2007-11-21 Christian Persch <chpe@gnome.org>
1848 * gio/glocalfile.c: (g_local_file_trash):
1849 Convert filenames to UTF-8 for GError.
1850 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1851 as per xdg base dir spec.
1853 2007-11-21 Christian Persch <chpe@gnome.org>
1855 * gio/gdesktopappinfo.c:
1856 Use that g_key_file_to_data cannot fail.
1858 Use stock defines for the key file group and key names.
1861 2007-11-21 Alexander Larsson <alexl@redhat.com>
1864 (copy_stream_with_progress):
1865 Make sure we do a final progress callback with
1866 the full total size.
1868 2007-11-21 Alexander Larsson <alexl@redhat.com>
1871 Export g_file_copy_attributes
1872 Remove padding as its not needed for interfaces
1874 2007-11-20 Alexander Larsson <alexl@redhat.com>
1879 Add G_IO_ERROR_WOULD_MERGE for
1880 copy/move dir on dir with overwrite.
1882 2007-11-20 Alexander Larsson <alexl@redhat.com>
1885 * gio/glocalfileinfo.c:
1886 Add COPY_NAME (this is an optional
1887 non-modified utf8 version of the name) that
1890 2007-11-20 Alexander Larsson <alexl@redhat.com>
1892 * gio/glocalfileenumerator.c:
1893 Report errors as GIOError, not GFileError
1895 2007-11-16 Alexander Larsson <alexl@redhat.com>
1897 * gio/glocalfileoutputstream.c:
1898 * gio/gwin32appinfo.c:
1899 Fix typos in strings.
1900 Patch from Luca Ferretti <elle.uca@libero.it>
1902 2007-11-15 Alexander Larsson <alexl@redhat.com>
1905 Post release version bump
1907 === gio-standalone 0.1.2 ===
1909 2007-11-15 Alexander Larsson <alexl@redhat.com>
1911 * docs/reference/gio/Makefile.am:
1912 Fix up distcheck by removing weird
1918 2007-11-14 Alexander Larsson <alexl@redhat.com>
1920 * gio/gdesktopappinfo.c:
1921 * gio/glocaldirectorymonitor.c:
1923 * gio/glocalfileinfo.c:
1924 * gio/inotify/inotify-sub.c:
1925 * programs/gio-cat.c:
1926 * programs/gio-copy.c:
1927 * programs/gio-info.c:
1928 * programs/gio-ls.c:
1929 * programs/gio-monitor-dir.c:
1930 * programs/gio-monitor-file.c:
1931 * programs/gio-mount.c:
1932 * programs/gio-move.c:
1933 * programs/gio-rm.c:
1934 * programs/gio-save.c:
1935 * programs/gio-trash.c:
1936 Leak fixes from Kjartan Maraas
1938 2007-11-14 Alexander Larsson <alexl@redhat.com>
1940 * gio/fam/fam-helper.c:
1942 * gio/glocalfileinfo.c:
1946 * gio/inotify/inotify-diag.c:
1947 * gio/inotify/inotify-kernel.c:
1948 Various code cleanups from Kjartan Maraas
1950 2007-11-14 Alexander Larsson <alexl@redhat.com>
1952 * gio/gioscheduler.c:
1954 Set up threadpool so that we cache 2 unused
1955 idle threads for at 15 secs. This means we
1956 will reuse thread-local data (like dbus connections)
1959 2007-11-14 Alexander Larsson <alexl@redhat.com>
1961 * gio/fam/fam-helper.c:
1962 * gio/fam/gfamdirectorymonitor.c:
1963 * gio/fam/gfamfilemonitor.c:
1965 * gio/gcontenttype.c:
1966 * gio/gdatainputstream.c:
1967 * gio/gdataoutputstream.c:
1971 * gio/gfileattribute.h:
1972 * gio/gfileenumerator.c:
1974 * gio/ginputstream.c:
1977 * gio/glocalfileinfo.c:
1978 * gio/goutputstream.c:
1979 * gio/gpollfilemonitor.c:
1980 * gio/gsimpleasyncresult.c:
1981 * gio/gunixmounts.c:
1982 * gio/gunixmounts.h:
1983 * gio/inotify/ginotifydirectorymonitor.c:
1984 * gio/inotify/ginotifyfilemonitor.c:
1985 * gio/inotify/inotify-diag.c:
1986 * gio/inotify/inotify-kernel.c:
1987 * gio/inotify/inotify-path.c:
1989 * gio/test-streams.c:
1990 * programs/gio-info.c:
1991 * programs/gio-monitor-dir.c:
1992 * programs/gio-monitor-file.c:
1993 Various code cleanups from Kjartan Maraas
1995 2007-11-13 Alexander Larsson <alexl@redhat.com>
1998 Handle the uri-scheme calls for dummy files
2000 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2002 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2003 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2004 to avoid clash with the C++ keyword.
2006 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2008 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2009 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2011 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2013 * gio/glocaldirectorymonitor.c:
2014 * gio/glocalfilemonitor.c:
2015 * gio/gunionvolumemonitor.c:
2016 Don't use g_once_init_*() for initializations that could fail and
2017 could leave the initialization variable set to 0 but use GOnce.
2018 This prevents a deadlock on the second call when trying to create
2019 a monitor and no monitor type is available. Thanks to Sven Herzberg
2022 2007-11-11 Sven Herzberg <sven@imendio.com>
2024 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2025 #ifdef (make it work on MacOS X again)
2027 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2029 Fixes Changelog for last two commits (sorry guys).
2031 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2033 * gio/gbufferedinputstream.c:
2034 * gio/gdatainputstream.c:
2036 * gio/gfileoutputstream.c:
2037 * gio/gfilterinputstream.c:
2038 * gio/glocalfileinputstream.c:
2041 More consistency fixes in g*stream.c files.
2042 Significant clean of gfile's documentation, filling in of
2043 asynchronous operations documentation.
2045 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2047 * gio/gasyncresult.c:
2048 * gio/gbufferedinputstream.c:
2049 * gio/gbufferedoutputstream.c:
2050 * gio/gcancellable.c:
2051 * gio/gcontenttype.c:
2052 * gio/gdatainputstream.c:
2053 * gio/gdataoutputstream.c:
2054 * gio/gdesktopappinfo.c:
2057 * gio/gfileattribute.c:
2058 * gio/gio/gfileenumerator.c:
2060 * gio/gfileinputstream.c:
2061 * gio/gfilemonitor.c:
2062 * gio/gfileoutputstream.c:
2063 * gio/ginputstream.c:
2065 * gio/gioscheduler.c:
2066 * gio/gloadableicon.c:
2067 * gio/glocalfileoutputstream.c:
2068 * gio/gmemoryoutputstream.c:
2069 * gio/gmountoperation.c:
2070 * gio/goutputstream.c:
2072 * gio/gsimpleasyncresult.c:
2073 * gio/gunionvolumemonitor.c:
2074 * gio/gunixmounts.c:
2075 * gio/gunixvolume.c:
2079 * gio/gvolumemonitor.c:
2080 Updated documentation stubs, working towards consistency and
2083 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2085 * gio/gmemoryoutputstream.c:
2086 * gio/gmemoryoutputstream.h:
2087 Change g_memory_output_stream_set_free_on_close() to
2088 g_memory_output_stream_set_free_data() as this makes more sense and
2089 is more consistent with GMemoryInputStream.
2091 2007-11-07 Alexander Larsson <alexl@redhat.com>
2098 Change how we find the default vfs so that
2099 we can handle a gvfs failing to init
2101 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2103 * gio/gbufferedoutputstream.c:
2104 * gio/gdatainputstream.c:
2105 * gio/gdataoutputstream.c:
2106 * gio/gfileinputstream.c:
2107 * gio/gfileoutputstream.c:
2108 * gio/gfilterinputstream.c:
2109 * gio/gfilteroutputstream.c:
2110 * gio/ginputstream.c:
2111 * gio/gmemoryinputstream.c:
2112 * gio/gmemoryoutputstream.c:
2113 * gio/goutputstream.c:
2114 * gio/gsimpleasyncresult.c:
2115 * gio/gsocketinputstream.c:
2116 * gio/gsocketoutputstream.c:
2117 Add guards to the remaining public functions, add a TODO for
2118 an unimplemented function and remove some useless guards.
2120 2007-11-07 Alexander Larsson <alexl@redhat.com>
2123 Autoconf checks for the various types of
2124 getpwuid_r and getgrgid_r
2126 * gio/glocalfileinfo.c:
2127 Use the autoconf checks from above
2129 2007-11-07 Alexander Larsson <alexl@redhat.com>
2132 (g_local_file_query_filesystem_info):
2133 Some fixes for the statvfs case
2135 2007-11-07 Alexander Larsson <alexl@redhat.com>
2138 (g_local_file_query_filesystem_info):
2139 Pick the "best" of statfs / statvfs for the system
2140 if both are availible.
2142 2007-11-07 Alexander Larsson <alexl@redhat.com>
2144 Solaris fixes from Halton.Huo@Sun.COM:
2151 * gio/glocalfileinfo.c:
2152 Fix for solaris definition of getpwuid_r
2154 * gio/test-streams.c:
2155 Use G_GNUC_PRETTY_FUNCTION
2157 2007-11-07 Alexander Larsson <alexl@redhat.com>
2159 * gio/gdesktopappinfo.c:
2160 (update_default_list):
2161 Remove double semicolon.
2162 Patch from Jens Granseuer
2164 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2166 * docs/reference/gio/gio-sections.txt:
2167 * gio/gbufferedinputstream.c:
2168 * gio/gbufferedinputstream.h:
2169 * gio/gdatainputstream.c:
2170 * gio/gfileenumerator.c:
2171 * gio/gioscheduler.c:
2172 * gio/gunionvolumemonitor.c:
2174 * programs/gio-save.c:
2175 Fix typo: availible -> available. Unfortuntely this breaks API
2176 and ABI as g_buffered_input_stream_get_available() was renamed.
2178 * gio/gunixmounts.c:
2179 * gio/gbufferedinputstream.c:
2180 Add guards for public functions.
2182 2007-11-06 Ross Burton <ross@openedhand.com>
2184 * docs/reference/gio/Makefile.am:
2185 Fix invalid += usage which automake 1.10 doesn't like.
2187 2007-11-06 Alexander Larsson <alexl@redhat.com>
2190 (g_app_launch_context_class_init):
2193 Patch from Ross Burton
2195 2007-11-06 Alexander Larsson <alexl@redhat.com>
2198 Post release version bump
2200 === gio-standalone 0.1.1 ===
2202 2007-11-06 Alexander Larsson <alexl@redhat.com>
2205 Bump version to 0.1.1
2207 * gio/gsimpleasyncresult.c:
2208 (g_simple_async_result_set_from_error):
2209 Remove bogus g_return_if_fail
2211 2007-11-06 Alexander Larsson <alexl@redhat.com>
2214 The name is gio-standalone
2217 Add top src/builddir to includedir
2219 2007-11-06 Alexander Larsson <alexl@redhat.com>
2221 * docs/reference/gio/gio-sections.txt:
2223 * gio/gbufferedinputstream.c:
2224 * gio/gbufferedoutputstream.c:
2225 * gio/gcancellable.c:
2226 * gio/gdatainputstream.h:
2227 * gio/gdataoutputstream.c:
2228 * gio/gdataoutputstream.h:
2229 * gio/gdirectorymonitor.c:
2231 * gio/gfileattribute.c:
2232 * gio/gfileattribute.h:
2233 * gio/gfileenumerator.c:
2234 * gio/gfileenumerator.h:
2237 * gio/gfileinputstream.h:
2238 * gio/gfilemonitor.c:
2239 * gio/gfileoutputstream.h:
2240 * gio/glocalfilemonitor.h:
2241 * gio/glocalfileoutputstream.h:
2242 * gio/gmemoryinputstream.c:
2243 * gio/gmemoryoutputstream.c:
2244 * gio/gmountoperation.c:
2245 * gio/goutputstream.c:
2246 * gio/goutputstream.h:
2248 * gio/gsimpleasyncresult.c:
2249 * gio/gunixmounts.c:
2250 * gio/gunixmounts.h:
2252 * gio/inotify/inotify-helper.c:
2253 Fix gtk-doc warnings
2255 Patch from Ross Burton
2257 2007-11-06 Alexander Larsson <alexl@redhat.com>
2259 * gio/gfilenamecompleter.c:
2260 (g_filename_completer_get_completions):
2263 * gio/gunixvolume.c:
2264 Remove unused function
2266 Patches from Ross Burton
2268 2007-11-06 Alexander Larsson <alexl@redhat.com>
2273 Padding not needed for interfaces
2275 2007-11-06 Alexander Larsson <alexl@redhat.com>
2277 * gio/gfilemonitor.c:
2281 Make giotypes.h an internal file
2284 * gio/gbufferedinputstream.h:
2285 * gio/gbufferedoutputstream.h:
2286 * gio/gcancellable.h:
2287 * gio/gdatainputstream.h:
2288 * gio/gdataoutputstream.h:
2289 * gio/gdirectorymonitor.c:
2290 * gio/gdirectorymonitor.h:
2295 * gio/gfileattribute.h:
2296 * gio/gfileenumerator.h:
2301 * gio/gfilemonitor.c:
2302 * gio/gfilemonitor.h:
2303 * gio/gfilenamecompleter.c:
2304 * gio/gfilenamecompleter.h:
2305 * gio/gfilterinputstream.h:
2306 * gio/gfilteroutputstream.h:
2307 * gio/ginputstream.h:
2308 * gio/gmemoryinputstream.h:
2309 * gio/gmemoryoutputstream.h:
2310 * gio/gmountoperation.c:
2311 * gio/gmountoperation.h:
2312 * gio/gnativevolumemonitor.c:
2313 * gio/goutputstream.h:
2316 * gio/gsimpleasyncresult.c:
2317 * gio/gsimpleasyncresult.h:
2318 * gio/gsocketinputstream.h:
2319 * gio/gsocketoutputstream.h:
2320 * gio/gthemedicon.c:
2321 * gio/gthemedicon.h:
2325 * gio/gvolumemonitor.c:
2326 * gio/gvolumemonitor.h:
2327 Add padding in classes where it seems useful
2328 Don't include giotypes.h from public headers
2329 Move in Class definitions into c file where possible
2334 2007-11-06 Alexander Larsson <alexl@redhat.com>
2336 * docs/reference/gio/gio-docs.xml:
2337 Better structure for API docs
2339 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2342 * gio/gloadableicon.c:
2343 * gio/gsimpleasyncresult.c:
2344 * gio/gthemedicon.c:
2345 Add some more guards to public functions. Only files missing are now
2348 2007-11-06 Alexander Larsson <alexl@redhat.com>
2350 * docs/reference/gio/gio-docs.xml:
2351 Remove old files, add missing ones
2353 2007-11-06 Alexander Larsson <alexl@redhat.com>
2355 * docs/reference/gio/gio-sections.txt:
2358 Hide implementation classes
2360 * gio/gdriveprivate.h:
2361 * gio/gvolumeprivate.h:
2362 Remove non-existing function declarations
2364 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2367 Fix compilation warnings and add guards to the new functions.
2369 * gio/gasyncresult.c:
2371 Add guards to the public functions.
2374 Implement get_path().
2376 2007-11-06 Alexander Larsson <alexl@redhat.com>
2378 * gio/gfilenamecompleter.c:
2379 Make g_filename_completer_get_completions
2380 return char ** instead of GList for
2383 * docs/reference/gio/gio-docs.xml:
2384 * docs/reference/gio/gio-sections.txt:
2386 * gio/gasyncresult.c:
2387 * gio/gbufferedinputstream.c:
2388 * gio/gbufferedoutputstream.c:
2389 * gio/gcancellable.c:
2390 * gio/gcontenttype.c:
2391 * gio/gdatainputstream.c:
2392 * gio/gdataoutputstream.c:
2393 * gio/gdesktopappinfo.c:
2394 * gio/gdirectorymonitor.c:
2398 * gio/gfileattribute.c:
2399 * gio/gfileenumerator.c:
2402 * gio/gfileinputstream.c:
2403 * gio/gfilemonitor.c:
2404 * gio/gfilenamecompleter.c:
2405 * gio/gfilenamecompleter.h:
2406 * gio/gfileoutputstream.c:
2407 * gio/gfilterinputstream.c:
2409 * gio/ginputstream.c:
2411 * gio/gioscheduler.c:
2412 * gio/gloadableicon.c:
2413 * gio/glocaldirectorymonitor.c:
2415 * gio/glocalfileinputstream.c:
2416 * gio/glocalfilemonitor.c:
2417 * gio/glocalfileoutputstream.c:
2419 * gio/gmemoryinputstream.c:
2420 * gio/gmemoryoutputstream.c:
2421 * gio/gmountoperation.c:
2422 * gio/goutputstream.c:
2423 * gio/gpollfilemonitor.c:
2425 * gio/gsimpleasyncresult.c:
2426 * gio/gsocketinputstream.c:
2427 * gio/gsocketoutputstream.c:
2428 * gio/gthemedicon.c:
2429 * gio/gunionvolumemonitor.c:
2431 * gio/gunixmounts.c:
2432 * gio/gunixvolume.c:
2433 * gio/gunixvolumemonitor.c:
2437 * gio/gvolumemonitor.c:
2438 * gio/gwin32appinfo.c:
2439 Add (mostly stub) doc strings to public functions.
2440 Patch from Andrew Walton (awalton@gmail.com)
2442 2007-11-06 Alexander Larsson <alexl@redhat.com>
2444 * gio/gappinfo.[ch]:
2445 Added GAppLaunchContext object and pass that to launch.
2446 This allows simple implementation of both
2447 launch-on-screen and startup notification via a gtk+
2448 subclass of GAppLaunchContext
2450 * gio/gdesktopappinfo.c:
2451 Implement GAppLaunchContext API
2453 * gio/gwin32appinfo.c:
2456 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2458 * gio/gmountoperation.c:
2459 Add some guards to GMountOperation's public functions.
2461 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2465 * gio/gcancellable.c:
2466 * gio/gdirectorymonitor.c:
2468 * gio/gfileenumerator.c:
2469 * gio/gfilemonitor.c:,
2470 * gio/gfilenamecompleter.c:
2473 * gio/gioscheduler.c:
2477 * gio/gvolumemonitor.c:
2478 Add even more guards to various public functions.
2480 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2483 Add guards to the public functions of GAppInfo.
2485 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2487 * gio/gcontenttype.c:
2488 Add some more guards for public functions.
2490 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2492 * gio/fam/fam-module.c:
2493 * gio/fam/gfamdirectorymonitor.c:
2494 * gio/fam/gfamdirectorymonitor.h:
2495 * gio/fam/gfamfilemonitor.c:
2496 * gio/fam/gfamfilemonitor.h:
2497 * gio/inotify/ginotifydirectorymonitor.c:
2498 * gio/inotify/ginotifydirectorymonitor.h:
2499 * gio/inotify/ginotifyfilemonitor.c:
2500 * gio/inotify/ginotifyfilemonitor.h:
2501 Add proper copyright information and remove an unused variable
2502 in the GInotifyFileMonitor constructor.
2504 * gio/gcancellable.c:
2505 Add a guard for a public function and an assertion to prevent
2506 an undefined program state.
2508 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2510 * gio/gfileattribute.c:
2511 Don't run into an assertion if the given attribute value is NULL
2512 in g_file_attribute_value_get_*() but instead return a fallback
2513 value that makes sense in most situations. Passing them a attribute
2514 value with the wrong type will still run into an assertion.
2516 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2518 * gio/gfileattribute.c:
2520 Add even more guards to the public functions. Also fix the refcounting
2521 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2522 let g_file_info_list_attributes() filter the attributes by namespace
2523 instead of simply ignoring the namespace parameter.
2525 2007-11-03 Sven Herzberg <sven@imendio.com>
2527 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2528 (This makes gio work on MacOS X again)
2530 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2533 Build the gio subdirectory before the docs. Otherwise the build will
2536 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2537 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2538 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2539 Add guards to the public functions.
2541 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2543 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2544 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2545 to prevent a compiler warning.
2547 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2548 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2549 return something in the non-void function find_topdir_for().
2551 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2558 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2560 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2561 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2562 * gwin32appinfo.c (g_win32_app_info_launch):
2563 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2564 envp_for_startup_id, g_desktop_app_info_launch,
2565 g_desktop_app_info_launch_uris):
2567 Give an opaque 'startup_id' string instead of 'envp'.
2568 Support empty file lists for launching new windows.
2569 Fix infinite recursion bug when launching URIs.
2571 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2574 Add guard to the new g_file_get_uri_scheme() function.
2576 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2579 Convert a g_return_val_if_fail() to setting the GError instead as
2580 otherwise applications have to verify the parameter before otherwise
2581 and the parameter might come directly from the user.
2583 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2585 * gio/inotify/ginotify*.[ch]:
2586 Add missing copyright information.
2588 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2591 Add guards in the beginning of public functions to check for valid
2592 parameters and fix a bug in copy_stream_with_progress() that could've
2593 caused writing less bytes than reading.
2594 * gio/glocalfileinfo.c:
2595 Check for a NULL parameter and set the GError accordingly then.
2596 * gio/goutputstream.c:
2597 Fix the same bug as in gfile.c that could've caused writing less bytes
2598 than reading in g_output_stream_real_splice().
2600 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2603 Use the correct gvolumeprivate.h naming
2605 2007-11-01 Christian Kellner <gicmo@gnome.org>
2608 Remove leftover "$(daemon_sources)" entry.
2610 2007-11-01 Christian Kellner <gicmo@gnome.org>
2615 Add copyright information to source files.
2617 2007-11-01 Alexander Larsson <alexl@redhat.com>
2621 Add g_file_get_uri_scheme
2623 2007-11-01 Alexander Larsson <alexl@redhat.com>
2626 * gio/gdesktopappinfo.c:
2627 * gio/gwin32appinfo.c:
2628 Add g_app_info_get_default_for_uri_scheme.
2630 2007-11-01 Alexander Larsson <alexl@redhat.com>
2633 Correct filename for gdriveprivate.h
2635 2007-10-31 Alexander Larsson <alexl@redhat.com>
2638 Rename id:value to id:file
2641 * gio/glocalfileinfo.c:
2644 2007-10-31 Alexander Larsson <alexl@redhat.com>
2646 * gio/gunixvolume.c:
2648 Remove g_volume_get_platform_id, as thats not
2649 needed with the simpler union volume monitor
2651 2007-10-31 Alexander Larsson <alexl@redhat.com>
2654 * gio/guniondrive.[ch]: Removed.
2655 * gio/gunionvolume.[ch]: Removed.
2656 Remove GUnionDrive/Volume
2658 * gio/gunionvolumemonitor.c:
2659 Simplify union volume monitor, now we
2660 only have one native volume monitor and
2661 we use the actual volumes/drives from the
2662 child monitors instead of wrapping them
2664 * gio/gnativevolumemonitor.[ch]:
2665 Base class for native volume monitors.
2666 Includes priority and get_volume_for_mountpoint
2669 Add g_file_find_enclosing_volume
2672 Remove volume name fs attribute
2673 Add readonly fs attribute
2676 Implement readonly attribute
2677 remove volume name attribute
2678 Implement find_enclosing volume
2680 * gio/gunixmounts.c:
2681 Add a volume for "/".
2683 * gio/gunixvolume.[ch]:
2684 Set better name for /
2686 * gio/gunixvolumemonitor.[ch]:
2687 Derive from GNativeVolumeMonitor
2688 Implement get_volume_for_mountpoint
2691 GVolume typedef moved to gfile.h
2693 * gio/gvolumeprivate.h:
2694 Add g_volume_get_for_mount_path
2696 2007-10-31 Alexander Larsson <alexl@redhat.com>
2698 * gio/gunixmounts.[ch]:
2699 Add cache info to unix mount listers
2700 Make getmntent use threadsafe
2701 Add is_system_internal attribute for GUnixMount
2703 * gio/gunixvolume.c:
2704 (g_unix_volume_new):
2705 Use is_system_internal instead of own code
2707 * gio/glocaldirectorymonitor.c:
2708 * gio/gunixvolumemonitor.c:
2709 Update to new gunixmounts API
2714 2007-10-30 Alexander Larsson <alexl@redhat.com>
2717 Add volume name fsinfo attribute
2720 Read volume name info
2722 * gio/gunionvolumemonitor.c:
2723 Fix infinite loops when finalizing a union volume monitor
2725 2007-10-30 Alexander Larsson <alexl@redhat.com>
2727 * gio/goutputstream.[ch]:
2728 Add splice() with default implementation
2730 * gio/gsocketoutputstream.c:
2731 (g_socket_output_stream_write):
2732 Return error on cancellation correctly.
2734 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2736 * gio/glocalfile.c (g_local_file_trash):
2737 Do not leak a string.
2739 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2741 * gio/gfile.c (g_file_load_contents):
2742 Unref the stream after closing it.
2744 2007-10-25 Alexander Larsson <alexl@redhat.com>
2746 * gio/gioscheduler.h:
2749 2007-10-25 Alexander Larsson <alexl@redhat.com>
2753 Add g_file_has_uri_scheme and implement for local files
2755 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2757 * gio/gdesktopappinfo.c: do not leak a string.
2759 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2761 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2762 (g_local_directory_monitor_new):
2763 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2764 (g_local_file_monitor_new):
2765 Only look for the monitor type that should be used the first time
2766 and use g_qsort_with_data() instead of our own bubble sort
2769 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2772 * gio/fam/Makefile.am:
2773 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2774 * gio/fam/fam-helper.h:
2775 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2776 * gio/fam/gfamdirectorymonitor.c:
2777 * gio/fam/gfamdirectorymonitor.h:
2778 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2779 * gio/fam/gfamfilemonitor.h:
2780 * gio/glocaldirectorymonitor.c:
2781 * gio/glocaldirectorymonitor.h:
2782 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2783 * gio/glocalfilemonitor.h:
2784 * gio/inotify/Makefile.am:
2785 * gio/inotify/ginotifydirectorymonitor.c:
2786 * gio/inotify/ginotifydirectorymonitor.h:
2787 * gio/inotify/ginotifyfilemonitor.c:
2788 * gio/inotify/ginotifyfilemonitor.h:
2789 Implement the FAM and Inotify monitors as
2790 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2791 their own GIO module. GLocal(Directory|File)Monitor will use the
2792 monitor with the highest rank that is supported on that machine.
2794 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2797 Change GIO module dir to $(libdir)/gio/modules and change
2798 the log domain from GVFS to GIO. Also only export symbols starting
2799 with g_ in the resulting library.
2800 * gio/test-streams.c: (main):
2801 Set log handler for the GIO log domain.
2803 2007-10-22 Alexander Larsson <alexl@redhat.com>
2805 * gio/gfilenamecompleter.[ch]:
2806 Add g_filename_completer_set_dirs_only
2808 2007-10-22 Alexander Larsson <alexl@redhat.com>
2811 * gio/gurifuncs.[ch]:
2812 Add some simple URI helpers
2814 * gio/gfilenamecompleter.[ch]:
2815 Added object for filename (parse name actually) completion
2818 Handle ~ in parse names
2820 2007-10-17 Alexander Larsson <alexl@redhat.com>
2823 * gio/glocalfileinfo.c:
2824 Add and implement id:value attribute
2826 2007-10-17 Alexander Larsson <alexl@redhat.com>
2829 * gio/guniondrive.c:
2831 Add and implement g_drive_has_volumes
2833 2007-10-17 Alexander Larsson <alexl@redhat.com>
2836 * gio/glocalfileinfo.[ch]:
2837 Add unix:is_mountpoint and implement for local files
2839 2007-10-16 Alexander Larsson <alexl@redhat.com>
2841 * gio/gunionvolumemonitor.c:
2842 (g_union_volume_monitor_init):
2843 Fix up the unix type getting so that it works with gcc
2845 2007-10-12 Alexander Larsson <alexl@redhat.com>
2848 * gio/glocalfileinfo.c:
2849 Add thumbnail:failed to file info
2851 2007-10-12 Richard Hult <richard@imendio.com>
2853 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2854 optimizing away the get_type call (happens with some gcc versions,
2855 like the one shipped with OS X 10.4).
2857 2007-10-12 Alexander Larsson <alexl@redhat.com>
2859 * gio/glocalfileinfo.c:
2860 (_g_local_file_info_set_attribute):
2861 Fix build if not HAVE_XATTR
2862 Patch from Milosz Derezynski <internalerror@gmail.com>
2864 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2866 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2867 around for review, otherwise I would have asked you before
2870 2007-10-11 Alexander Larsson <alexl@redhat.com>
2873 Add thumbnail:path attribute
2875 * gio/glocalfileinfo.c:
2876 Implement thumbnail:path for local files
2878 2007-10-11 Alexander Larsson <alexl@redhat.com>
2880 * gio/glocalfileinfo.c:
2881 (_g_local_file_info_get):
2882 Avoid duplicate icon names
2884 2007-10-11 Alexander Larsson <alexl@redhat.com>
2886 * gio/gthemedicon.[ch]:
2887 Change g_themed_icon_get_names return type to const
2889 2007-10-10 Alexander Larsson <alexl@redhat.com>
2891 * gio/glocalfileinfo.c:
2892 Don't reference freed memory
2894 2007-10-10 Alexander Larsson <alexl@redhat.com>
2896 * gio/gfileattribute.c:
2899 * gio/glocalfileinfo.c:
2902 2007-10-10 Alexander Larsson <alexl@redhat.com>
2905 Check for NULL icons
2907 * gio/gfileattribute.c:
2908 Don't dup when getting objects (same as for string attributes)
2910 * gio/gicon.c (g_icon_equal):
2911 Safely handle NULLs in equal
2913 2007-10-10 Alexander Larsson <alexl@redhat.com>
2916 Fix c++ compilation issues
2917 Patch from Milosz Derezynski <internalerror@gmail.com>
2919 2007-10-10 Alexander Larsson <alexl@redhat.com>
2921 * programs/gio-monitor-dir.c:
2922 Don't crash if dir monitor not supported.
2924 2007-10-09 Alexander Larsson <alexl@redhat.com>
2927 Add missing G_END_DECLS
2929 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2931 * gio/gfile.c: (g_file_set_display_name),
2932 (g_file_query_settable_attributes),
2933 (g_file_query_writable_namespaces):
2934 Return NULL not FALSE on errors as the return type is a pointer.
2936 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2938 * gio/glocalfile.c: (g_local_file_monitor_file):
2939 Don't call monitor_file on the default interface vtable (which
2940 is NULL) but simply return NULL. The caller, GFile, will create a
2941 polling monitor if NULL is returned.
2943 2007-10-09 Alexander Larsson <alexl@redhat.com>
2947 * gio-unix-2.0.pc.in:
2948 Add gio-unix-2.0.pc if OS_UNIX
2951 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2953 2007-10-09 Alexander Larsson <alexl@redhat.com>
2955 * gio/gunixmounts.[ch]:
2956 Make unix mount monitoring API sane.
2957 Now its just a object with mounts_changed
2958 and mountpoints_changed signals.
2960 * gio/glocaldirectorymonitor.c:
2961 * gio/gunixvolumemonitor.c:
2962 Use new mount monitor api
2964 2007-10-09 Alexander Larsson <alexl@redhat.com>
2966 * gio/gunixmounts.[ch]:
2967 Move guess type into one call for mounts and one for mountpoints
2970 * gio/gunixvolume.c:
2973 2007-10-09 Alexander Larsson <alexl@redhat.com>
2975 * gio/gunixmounts.[ch]:
2976 Remove _ prefix in preparation to make this semi-public
2977 Hide implementation of structs
2979 * gio/glocaldirectorymonitor.c:
2981 * gio/gunixvolume.c:
2982 * gio/gunixvolumemonitor.c:
2983 Update for above API changes
2985 2007-10-08 Alexander Larsson <alexl@redhat.com>
2988 Better polling fallback. This also handles the case where we have
2989 a monitor_file implementation, but it fails.
2991 2007-10-08 Alexander Larsson <alexl@redhat.com>
2995 * gio/gunixmounts.c:
2996 * programs/gio-monitor-dir.c:
2997 * programs/gio-monitor-file.c:
2998 Added cancellable to file monitoring calls.
2999 These are really sync calls and need this.
3001 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3003 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3004 (g_local_vfs_class_init):
3005 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3006 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3008 2007-10-05 Alexander Larsson <alexl@redhat.com>
3010 * gio/gdirectorymonitorprivate.h:
3011 * gio/gfilemonitorprivate.h:
3012 * gio/gdirectorymonitor.h:
3013 * gio/gfilemonitor.h:
3014 Remove *private.h and move to the public API, so that
3015 we can do implementations outside gio (such as in gvfs)
3017 * gio/gdirectorymonitor.c:
3018 * gio/gfilemonitor.c:
3019 * gio/glocaldirectorymonitor.c:
3020 * gio/gpollfilemonitor.c:
3021 * gio/inotify/inotify-helper.c:
3022 * gio/fam/fam-helper.c:
3023 Update to the new header names
3025 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3027 * gio/gdirectorymonitor.c:
3028 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3031 2007-10-04 Alexander Larsson <alexl@redhat.com>
3033 * gio/glocalfileinfo.c (get_access_rights):
3034 Set CAN_TRASH when we can move the file.
3035 We should really also check for a parent trash dir.
3037 2007-10-04 Alexander Larsson <alexl@redhat.com>
3039 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3040 Add can_trash access attribute
3042 2007-10-04 Alexander Larsson <alexl@redhat.com>
3045 (g_local_file_trash):
3046 Create info file first. This is per-spec and allows
3047 us to actually trash directories.
3049 2007-10-02 Alexander Larsson <alexl@redhat.com>
3051 * gio/gdesktopappinfo.c:
3052 Implement the new mime support code.
3053 Always set app as handling mimetype when being set as default for it
3055 2007-10-01 Alexander Larsson <alexl@redhat.com>
3057 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3058 Fix up check for xattrs:
3060 2007-10-01 Alexander Larsson <alexl@redhat.com>
3063 (g_app_info_set_as_default_for_extension):
3064 (g_app_info_add_supports_type):
3065 (g_app_info_can_remove_supports_type):
3066 (g_app_info_remove_supports_type):
3067 Make these fail nicely if not implemented
3069 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3071 * gio/glocalfileoutputstream.c:
3072 * gio/glocalfileoutputstream.h:
3077 * programs/gio-save.c:
3078 Add a GFileCreateFlags argument to operations that can create
3081 2007-10-01 Alexander Larsson <alexl@redhat.com>
3083 * gio/gappinfo.[ch]:
3084 * gio/gdesktopappinfo.c:
3085 Add more (stubbed out) mime API needed for nautilus
3087 2007-10-01 Alexander Larsson <alexl@redhat.com>
3090 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3091 Add g_app_info_set_as_default_for_extension.
3093 * gio/gdesktopappinfo.c:
3094 Dummy for g_app_info_set_as_default_for_extension
3095 Support flags in g_app_info_create_from_commandline
3097 * gio/gwin32appinfo.c:
3099 Update for API changes
3101 * gio/gthemedicon.c:
3102 Properly NULL-terminate list of icon names
3104 2007-09-28 Alexander Larsson <alexl@redhat.com>
3106 * gio/gloadableicon.h:
3107 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3109 2007-09-28 Alexander Larsson <alexl@redhat.com>
3112 Install headers in $includedir/gio-standalone/
3114 * gio-2.0.pc.in: Added.
3115 * gio-standalone.pc.in: Removed.
3118 Renamed pkg-config file to match glib (for future move)
3119 Update to the new include dir
3122 Add more TODO comments
3124 2007-09-28 Alexander Larsson <alexl@redhat.com>
3126 * gio/gdesktopappinfo.[ch]:
3127 Expose new_from_filename
3128 Add getter for is_hidden and handle it better
3130 2007-09-28 Alexander Larsson <alexl@redhat.com>
3132 * gio/gfileinfo.[ch]:
3133 Rename g_file_size_format_for_display to
3134 g_format_file_size_for_display.
3135 Now it doesn't have the g_file prefix, so we
3136 can later move it to glib.
3138 2007-09-28 Alexander Larsson <alexl@redhat.com>
3140 * gio/gappinfo.[ch]:
3141 Add g_app_info_get_id and g_app_info_get_executable.
3142 Make all getters non-reffing
3143 Make g_app_info_launch take GFile arguments.
3144 Add must_support_uris argument to g_app_info_get_default_for_type.
3146 * gio/gwin32appinfo.c:
3147 Update to GAppInfo api changes
3149 * gio/gdesktopappinfo.c:
3150 Update to GAppInfo api changes
3151 Implement supports_xdg_startup_notify
3153 * gio/gfileicon.c (g_file_icon_get_file):
3154 Make getter non-reffing.
3159 2007-09-27 Alexander Larsson <alexl@redhat.com>
3161 * gio/gfileinfo.[ch]:
3162 Add g_file_size_format_for_display helper
3164 2007-09-27 Alexander Larsson <alexl@redhat.com>
3166 * gio/glocalfileinfo.c:
3167 Set UNIX_GID from gid, not from uid
3169 2007-09-27 Alexander Larsson <alexl@redhat.com>
3172 Add g_file_set_attributes_async
3174 2007-09-27 Alexander Larsson <alexl@redhat.com>
3176 * gio/glocalfile.c (g_local_file_set_display_name):
3177 Fix set_display_name to actually rename to the right place.
3178 Use lstat to look for existing files so we don't overwrite
3181 2007-09-26 Alexander Larsson <alexl@redhat.com>
3184 Add g_file_set_display_name_async()
3186 2007-09-26 Alexander Larsson <alexl@redhat.com>
3189 Add load_partial_contents async calls
3192 Make internal function static
3194 2007-09-26 Alexander Larsson <alexl@redhat.com>
3196 * gio/glocalfileinfo.c:
3197 Correctly detect broken symlinks
3199 2007-09-26 Alexander Larsson <alexl@redhat.com>
3201 * gio/gcancellable.c (g_cancellable_cancel):
3202 Allow cancel on NULL cancellable
3204 2007-09-25 Alexander Larsson <alexl@redhat.com>
3206 * gio/gsimpleasyncresult.c:
3207 Don't allocate g_error manually.
3208 Fixes g_slice/g_new mixup crash
3210 2007-09-25 Alexander Larsson <alexl@redhat.com>
3212 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3213 Actually set active_backend.
3214 This means the monitor will be cancelled correctly.
3216 2007-09-25 Alexander Larsson <alexl@redhat.com>
3218 * gio/gdirectorymonitor.c:
3219 Set timeout to NULL when destroying
3221 2007-09-25 Alexander Larsson <alexl@redhat.com>
3224 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3225 that is a better description of the error.
3227 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3229 * gio/gvfs.c: (g_vfs_get_local):
3230 Make the local vfs variable static. The same instance should
3233 2007-09-24 Alexander Larsson <alexl@redhat.com>
3235 * gio/glocalfileinfo.c:
3236 Pass in actual length read into sniffer, not the length
3239 2007-09-21 Alexander Larsson <alexl@redhat.com>
3241 * gio/gfileenumerator.c:
3244 * gio/gfileinputstream.c:
3245 * gio/gfileoutputstream.c:
3246 * gio/ginputstream.c:
3247 * gio/goutputstream.c:
3248 Don't crash if async callbacks are NULL
3250 2007-09-20 Alexander Larsson <alexl@redhat.com>
3253 Add async enumerate_children method and default
3256 2007-09-20 Alexander Larsson <alexl@redhat.com>
3259 Add g_file_contains_file & g_file_get_relative_path, since they
3260 were needed for nautilus.
3261 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3266 Implement new methods
3268 2007-09-17 Alexander Larsson <alexl@redhat.com>
3271 * gio/gfileinputstream.[ch]:
3272 * gio/gfileoutputstream.[ch]:
3274 * gio/glocalfileenumerator.[ch]:
3275 * gio/glocalfileinfo.[ch]:
3276 * gio/glocalfileinputstream.c:
3277 * gio/glocalfileoutputstream.c:
3278 * gio/gpollfilemonitor.c:
3279 * programs/gio-copy.c:
3280 * programs/gio-info.c:
3281 * programs/gio-move.c:
3282 Rename get_file_info to query_info() to make it clearer
3283 that these are not simple getters, but do i/o.
3285 2007-09-17 Alexander Larsson <alexl@redhat.com>
3287 * gio/gdatainputstream.[ch]:
3288 * gio/test-streams.c:
3289 Use _read_XXX instead of _get_XXX for the i/o calls
3292 2007-09-17 Alexander Larsson <alexl@redhat.com>
3295 Added needed stuff to TODO comment
3297 2007-09-17 Alexander Larsson <alexl@redhat.com>
3299 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3300 Don't error out removing the backup copy if it doesn't
3303 2007-09-14 Alexander Larsson <alexl@redhat.com>
3305 * programs/Makefile.am:
3306 * programs/gvfs-*.c:
3308 Renamed apps from gvfs-xxx to gio-xxx.
3310 2007-09-14 Alexander Larsson <alexl@redhat.com>
3313 * gio/gfileoutputstream.[ch]:
3314 * gio/glocalfileoutputstream.c:
3315 * programs/gvfs-save.c:
3316 g_file_output_stream_get_etag doesn't do i/o, so remove
3317 cancellation and error.
3319 2007-09-14 Alexander Larsson <alexl@redhat.com>
3322 Add new_etag output to replace_contents functions
3324 2007-09-14 Alexander Larsson <alexl@redhat.com>
3326 * gio/gfileoutputstream.[ch]:
3327 Add async get_file_info and default implementation
3329 2007-09-14 Alexander Larsson <alexl@redhat.com>
3331 * gio/gfileinputstream.c:
3332 Implement fallback wrapper for async get_file_info
3334 2007-09-14 Alexander Larsson <alexl@redhat.com>
3337 Add etag out argument to load_contents
3342 2007-09-14 Alexander Larsson <alexl@redhat.com>
3344 * gio/gcontenttype.c (looks_like_text):
3345 Whitespace like tab, cr and lf do not make the
3348 2007-09-14 Alexander Larsson <alexl@redhat.com>
3350 * gio/gfileinputstream.[ch]:
3351 Add async get_file_info.
3353 2007-09-13 Alexander Larsson <alexl@redhat.com>
3355 * gio/goutputstream.c (g_output_stream_write_all):
3356 Allow NULL for bytes_written
3358 2007-09-13 Alexander Larsson <alexl@redhat.com>
3360 * gio/gmemoryinputstream.[ch]:
3361 Add accessors for data
3363 2007-09-13 Alexander Larsson <alexl@redhat.com>
3365 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3366 Don't crash if length is NULL