1 2008-02-01 Alexander Larsson <alexl@redhat.com>
3 * gappinfo.c (g_app_info_launch_uris):
4 Actually call the launch_uris method, not
7 2008-02-01 Alexander Larsson <alexl@redhat.com>
9 * gdesktopappinfo.c (g_desktop_app_info_equal):
10 Ensure appinfos with no id but same pointer value
13 2008-02-01 Alexander Larsson <alexl@redhat.com>
15 * gappinfo.c (g_app_info_launch_default_for_uri):
18 2008-02-01 Alexander Larsson <alexl@redhat.com>
22 Add g_app_info_launch_default_for_uri utility
25 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
28 Doc fix for g_app_info_get_default_for_uri_scheme ()
31 2008-01-30 Alexander Larsson <alexl@redhat.com>
34 Add doc comment about uris vs GFiles to
38 Ensure uris passed to g_app_info_launch_uris()
39 are not roundtriped through GFile (as that
40 may be slightly destructive for e.g. mailto: links)
42 2008-01-30 Alexander Larsson <alexl@redhat.com>
44 * tests/data-input-stream.c:
45 * tests/data-output-stream.c:
46 C89 fixes from Jens Granseuer (#512849)
48 2008-01-30 Alexander Larsson <alexl@redhat.com>
51 Fix gamin/fam difference build issue. (#509419)
53 2008-01-29 Alexander Larsson <alexl@redhat.com>
57 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
59 2008-01-29 Alexander Larsson <alexl@redhat.com>
63 giomodule-priv.h include moved to .c file.
65 2008-01-29 Alexander Larsson <alexl@redhat.com>
67 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
68 Remove unused prio/name fields.
70 2008-01-29 Alexander Larsson <alexl@redhat.com>
72 * gcontenttype.c (looks_like_text):
73 Don't treat whitespace as control chars.
75 2008-01-29 Alexander Larsson <alexl@redhat.com>
78 Lazily create the desktop files for appinfos created
79 by g_app_info_create_from_commandline() when needed
80 for mime associations. This allows run-time use
81 of GAppInfo object without creating unnecessary
84 2008-01-29 Alexander Larsson <alexl@redhat.com>
87 Added new symbols to gio.symbols
89 2008-01-29 Alexander Larsson <alexl@redhat.com>
92 Add g_file_query_default_handler utility to easily look up
93 the GAppInfo that handles a file.
95 * gdesktopappinfo.[ch]:
97 Set up an extension point for g_app_info_get_default_for_uri_scheme()
100 Remove unused function
102 2008-01-29 Alexander Larsson <alexl@redhat.com>
105 Mention need to free returned value in
106 g_file_enumerator_next_files_finish docs.
107 Fix leak if g_file_enumerator_next_files_finish()
110 2008-01-29 Alexander Larsson <alexl@redhat.com>
113 (_g_unix_content_type_get_parents):
114 Use list_parents, not get_parents from xdgmime, because
115 the later doesn't use the cache.
117 * xdgmime/xdgmimecache.c:
118 (_xdg_mime_cache_list_mime_parents):
119 Don't list the same type as parent multiple times.
121 2008-01-28 Matthias Clasen <mclasen@redhat.com>
123 * === Released 2.15.4 ===
125 2008-01-28 Alexander Larsson <alexl@redhat.com>
128 Register local vfs with prio 0.
131 Remove old name and prio class members
133 2008-01-28 Matthias Clasen <mclasen@redhat.com>
135 * tests/g-file.c: Disable some tests that are failing in
136 the absence of a http backend.
138 2008-01-28 Alexander Larsson <alexl@redhat.com>
142 Add registration hooks for extension points.
143 Register the gio extension points.
145 * fam/gfamdirectorymonitor.c:
146 * fam/gfamfilemonitor.c:
147 * glocaldirectorymonitor.[ch]:
148 * glocalfilemonitor.[ch]:
149 * gnativevolumemonitor.h:
150 * gunionvolumemonitor.c:
151 * gunixvolumemonitor.c:
154 * inotify/ginotifydirectorymonitor.c:
155 * inotify/ginotifyfilemonitor.c:
156 Use the extension points registration instead
157 of g_type_children().
159 2008-01-28 Matthias Clasen <mclasen@redhat.com>
162 * gvolume.[hc]: Document new API.
164 * gfile.c (g_file_copy_async): Fix docs
166 2008-01-27 Matthias Clasen <mclasen@redhat.com>
168 * gbufferedinputstream.c:
170 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
173 2008-01-27 Matthias Clasen <mclasen@redhat.com>
175 * glocalfile.c: Avoid trivial differences in translatable strings.
177 2008-01-25 Matthias Clasen <mclasen@redhat.com>
179 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
180 build with gcc 3.4 (#509419)
182 2008-01-25 Matthias Clasen <mclasen@redhat.com>
184 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
185 (#509994, Murray Cumming)
187 2008-01-25 Matthias Clasen <mclasen@redhat.com>
189 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
190 * gioscheduler.c: Keep calling io jobs until they return FALSE;
191 this allows big jobs to be executed in chunks, instead of blocking
192 the main loop for a long time.
194 * gsimpleasyncresult.c:
195 * giofile.c: Adapt callers.
197 2008-01-25 Alexander Larsson <alexl@redhat.com>
200 Implement changes discussed on xdg list.
201 Now we can add supported mimetypes by just using defaults.list
202 We can also remove associations in defaults.list.
204 2008-01-25 Alexander Larsson <alexl@redhat.com>
207 Don't make local copy of desktop file
208 for mimetype changes if the file already
209 supports the new mimetype.
211 2008-01-25 Matthias Clasen <mclasen@redhat.com>
215 * gbufferedinputstream.c:
216 * glocalfile.c: String improvements. (#511966,
217 Theppitak Karoonboonyanan)
219 2008-01-24 Matthias Clasen <mclasen@redhat.com>
221 * gioscheduler.h: Expand docs a bit.
223 2008-01-24 Alexander Larsson <alexl@redhat.com>
226 Add g_drive_get_identifier and
227 g_drive_enumerate_identifiers
230 Add g_volume_get_identifier and
231 g_volume_enumerate_identifiers
237 Implement identifiers for unix backend
239 2008-01-24 Alexander Larsson <alexl@redhat.com>
244 Add g_file_copy_async() (#511580)
245 Based on patch from Carlos Garcia Campos
247 2008-01-23 Matthias Clasen <mclasen@redhat.com>
249 * gioscheduler.c: Some documentation additions.
251 2008-01-22 Alexander Larsson <alexl@redhat.com>
254 (g_desktop_app_info_new):
257 2008-01-22 Alexander Larsson <alexl@redhat.com>
260 (g_desktop_app_info_new_from_filename):
263 2008-01-22 Alexander Larsson <alexl@redhat.com>
265 * glocalfileinfo.c (get_thumbnail_attributes):
268 2008-01-22 Alexander Larsson <alexl@redhat.com>
271 (canonicalize_filename):
272 Canonicalize paths that start with more than
277 (test_g_file_new_for_path):
280 2008-01-22 Alexander Larsson <alexl@redhat.com>
283 Allow UTF-8 in file:// parse names.
286 * tests/data-input-stream.c:
287 * tests/data-output-stream.c:
288 * tests/g-file-info.c:
290 Added a bunch of tests from Tomas Bzatek
292 2008-01-21 Matthias Clasen <mclasen@redhat.com>
294 * === Released 2.15.3 ===
296 2008-01-21 Alexander Larsson <alexl@redhat.com>
298 * gfileinputstream.[ch]:
299 * gfileoutputstream.[ch]:
301 Remove duplicated GSeekable functions. (#509990)
302 Just use the g_seekable_xxx() calls instead.
304 2008-01-21 Matthias Clasen <mclasen@redhat.com>
307 * gvolumemanager.c: Whitespace cleanups.
309 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
310 Use the right mode when creating the file.
312 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
315 * gfileinputstream.c:
317 * goutputstream.c: Documentation: Fixed minor typos
318 and added more mentions of specific _finish() functions.
320 2008-01-21 Alexander Larsson <alexl@redhat.com>
322 * inotify/Makefile.am:
323 * inotify/inotify-helper.c:
324 * inotify/inotify-kernel.c:
325 * inotify/inotify-path.c:
326 * inotify/local_inotify.h: Removed.
327 * inotify/local_inotify_syscalls.h: Removed.
328 Removed the included copies of the inotify
329 headers. We now only use the <sys/inotify.h>
330 header which exists on modern systems.
331 This fixes problems on ARM and SH5 (#510448)
332 but is also generally much cleaner and future
333 safe. For instance, if other OSes add support
334 for inotify it should "just work".
336 2008-01-20 Matthias Clasen <mclasen@redhat.com>
338 * inotify/*.c: Coding style fixes.
339 * inotify/inotify-missing.c: Use g_timeout_add_seconds
340 for the 1/4 Hz timer.
342 2008-01-20 Matthias Clasen <mclasen@redhat.com>
346 * gmemoryinputstream.c:
347 * gmemoryoutputstream.c:
349 * gthemedicon.c: Documentation updates
351 2008-01-20 Murray Cumming <murrayc@murrayc.com>
353 * gfile.c: documentation: Fixed more minor
356 2008-01-18 Murray Cumming <murrayc@murrayc.com>
358 * gmount.c: (g_mount_remount): documentation:
359 Mention g_mount_remount_finish() instead of
360 g_mount_unmount_finish().
362 2008-01-18 Murray Cumming <murrayc@murrayc.com>
366 * gfile.c: Fixed some minor typos in the
369 2008-01-18 Murray Cumming <murrayc@murrayc.com>
371 * gio/gvolumemonitor.c:
372 (g_volume_monitor_get_connected_drives):
373 (g_volume_monitor_get_volumes):
374 (g_volume_monitor_get_mounts): Documentation:
375 Clarify the ownership of the regurn GLists.
377 2008-01-17 Alexander Larsson <alexl@redhat.com>
380 Add the async find_enclosing_mount version
381 to the header file too.
383 2008-01-17 Alexander Larsson <alexl@redhat.com>
386 Add async version of find_enclosing_mount
387 with default implementation.
389 2008-01-17 Alexander Larsson <alexl@redhat.com>
394 Allow calls to implementation of copy and write
395 even if the type of the file implementations is
396 different. This can be used to implement native
397 upload and download calls in a vfs.
401 Protect against the case where move is called
402 with one file not being local.
404 Make sure we call the progress callback once
405 in the native move operation so that the caller
406 knows how many bytes were copied.
408 2008-01-16 Murray Cumming <murrayc@murrayc.com>
411 * gdatainputstream.c:
413 * gfileoutputstream.c:
418 * gunixmounts.c: Corrected some typos in the documentation:
420 its -> it's (where appropriate).
422 2008-01-16 Alexander Larsson <alexl@redhat.com>
426 Add g_file_query_exists (#508771)
428 2008-01-15 Murray Cumming <murrayc@murrayc.com>
433 * gvolume.c: For async functions that have no non-async
434 version, document that the GAsyncReadyCallback may be NULL.
437 2008-01-15 Alexander Larsson <alexl@redhat.com>
439 * gmemoryinputstream.c:
440 * gmemoryoutputstream.c:
441 Don't do pointer arithmetic on void * (#508602)
442 Patch from Kazuki IWAMOTO
444 2008-01-14 Matthias Clasen <mclasen@redhat.com>
446 * === Released 2.15.2 ===
448 2008-01-14 Alexander Larsson <alexl@redhat.com>
450 * gfile.c (g_file_monitor_file):
451 Don't set error here, since we fallback to polling monitor.
453 2008-01-14 Alexander Larsson <alexl@redhat.com>
456 (g_file_monitor_directory):
457 (g_file_monitor_file):
458 Add GError to file monitor calls
460 * glocaldirectorymonitor.c:
461 * glocaldirectorymonitor.h:
463 * glocalfilemonitor.c:
464 * glocalfilemonitor.h:
466 Update for above change
468 2008-01-14 Alexander Larsson <alexl@redhat.com>
472 Handle root correctly in g_file_get_relative_path (#508719)
474 2008-01-14 Alexander Larsson <alexl@redhat.com>
477 Clean up docs and example for GAsyncResult (#508074)
479 2008-01-11 Murray Cumming <murrayc@murrayc.com>
481 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
482 and correct some spelling mistakes. Bug #508108.
484 2008-01-11 Matthias Clasen <mclasen@redhat.com>
486 * glocalfileinfo.c: Add a comment.
488 2008-01-10 Murray Cumming <murrayc@murrayc.com>
490 * gfileinfo.c: GFileInfo description: Mention
491 how to actually set attributes in a GFile and how to discover
492 which attributes are settable. Bug #508378.
494 2008-01-10 A. Walton <awalton@svn.gnome.org>
496 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
497 (g_app_info_get_default_for_type):
498 Check for NULL content types.
500 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
502 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
504 2008-01-09 Murray Cumming <murrayc@murrayc.com>
506 * gfile.c: *_async() functions: Several small corrections
507 to the documentation, mostly correcting copy/paste errors
508 and improving some sentences.
510 2008-01-09 Dan Winship <danw@gnome.org>
512 * glocalfile.c (get_unique_filename): x86_64 fix
514 2008-01-09 Alexander Larsson <alexl@redhat.com>
519 Add g_unix_mount_guess_should_display and use
520 for unix volume monitor backend.
521 This means we more or less show what the
522 gnome-vfs backend did.
523 Based on patch from Padraig O'Briain
525 2008-01-09 Alexander Larsson <alexl@redhat.com>
529 Add g_themed_icon_new_with_default_fallbacks
532 Use default fallbacks for icons
534 2008-01-09 Alexander Larsson <alexl@redhat.com>
537 * gmountoperation.[ch]:
538 Change the API a bit so that unhandled methods
539 get reported via the reply, rather than by
540 the signal emission return value. This is because
541 some handlers can't know this immediately without
542 doing I/O, and this is an async operation that
545 2008-01-09 Alexander Larsson <alexl@redhat.com>
548 * fam/gfamdirectorymonitor.c:
549 * fam/gfamfilemonitor.c:
550 Fix double free crash (#508224)
551 Patch from Joe Marcus Clarke
553 008-01-07 Matthias Clasen <mclasen@redhat.com>
555 * === Released 2.15.1 ===
557 2008-01-07 Alexander Larsson <alexl@redhat.com>
559 * gunixinputstream.c (g_unix_input_stream_skip_finish):
560 Fix warning (#507835)
562 2008-01-07 Alexander Larsson <alexl@redhat.com>
565 Pass --internal to glib-genmarshal
570 Use better types for signal arguments (#507822)
572 2008-01-07 Alexander Larsson <alexl@redhat.com>
575 Build test subdir after .
576 Remove gdirectorymonitor.[ch]
578 * gdirectorymonitor.[ch]:
582 Remove GDirectoryMonitor and make
583 GFileMonitor the baseclass for both file and
584 directory monitors. Lift the more generic
585 rate limiting code from GDirectoryMonitor
589 * fam/gfamdirectorymonitor.[ch]:
590 * inotify/ginotifydirectorymonitor.[ch]:
591 * inotify/inotify-helper.c:
592 * glocaldirectorymonitor.[ch]:
595 Update for the removed GDirectoryMonitor.
597 * gmemoryoutputstream.c:
598 Remove ununsed variable
600 2008-01-07 Alexander Larsson <alexl@redhat.com>
602 * gmemoryinputstream.c:
603 Translate error strings
606 * gmemoryoutputstream.[ch]:
607 New implementation that avoids using GByteArray
608 in implementation and API. (#506377)
610 2008-01-06 Matthias Clasen <mclasen@redhat.com>
612 * tests/*: Add a test for memory input streams.
614 * Makefile.am: Add tests to SUBDIRS.
616 2008-01-06 Matthias Clasen <mclasen@redhat.com>
618 * glocalfilemonitor.c:
619 * glocaldirectorymonitor.c: Mark property nicks and blurbs
622 2008-01-06 Matthias Clasen <mclasen@redhat.com>
624 * gdesktopappinfo.c: Fix a docs typo.
626 * gfileattribute.c: Add information about extended attributes
627 to the documentation. (#505058)
629 2008-01-04 Alexander Larsson <alexl@redhat.com>
633 Use the right type (uint) for the ask_password signal.
635 2008-01-04 Alexander Larsson <alexl@redhat.com>
640 Add g_app_info_supports_files()
641 Remove desktop arg from g_app_info_should_show().
643 * gdesktopappinfo.[ch]:
644 Implement g_app_info_supports_files() and new should_show()
645 Add g_desktop_app_info_set_desktop_env() to set the desktop
646 for should_show(). (This will be set by gtk+ later)
648 2008-01-04 Alexander Larsson <alexl@redhat.com>
651 * gmemoryinputstream.[ch]:
652 Improve API so that you can use multiple chunks
653 of memory and custom destroy functions. (#506374)
655 2008-01-03 Alexander Larsson <alexl@redhat.com>
658 Handle NULL attribute matchers safely, as we return this
659 for empty attribute matcher strings.
661 2008-01-03 Alexander Larsson <alexl@redhat.com>
663 * gunixmounts.c (g_unix_is_mount_path_system_internal):
664 Add /usr/local to list of internal mountpoints
666 2008-01-03 Alexander Larsson <alexl@redhat.com>
669 Check for HAVE_LCHOWN (#505887)
671 2008-01-03 Alexander Larsson <alexl@redhat.com>
675 Add define for selinux context attribute.
676 Fix missing : -> :: namespace separator change
677 Fix missing _ -> - name change for xattr-sys.
680 2008-01-03 Alexander Larsson <alexl@redhat.com>
683 Link to libglib and libgobject directly (#504879)
684 Patch from Sebastien Bacher
686 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
688 * gfile.c: Expanded the g_file_new_for_commandline_arg
689 description a bit, based on the code and the docs of the
690 other g_file_new_for_* functions.
692 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
694 * gfilemonitor.h: Fixed typo in docs.
696 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
698 Updates to GIO documentation. (#506395, Mikael Hermansson)
700 * gcontenttype.c: Describe memory management for return value of
701 g_content_types_get_registered(). Missing piece from #505815.
702 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
703 GVolume, GDrive, GMounts, which hopefully gives the user less
704 confusions when using this API. Following explainations from
705 Alexander Larsson on gtk-devel-list.
707 2007-12-30 Matthias Clasen <mclasen@redhat.com>
709 * gfileinfo.c: Expand the long description.
711 2007-12-30 Matthias Clasen <mclasen@redhat.com>
714 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
715 fix builds with --disable-visibility. (#500273, Christian Persch)
717 2007-12-30 Matthias Clasen <mclasen@redhat.com>
719 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
720 in the list of returned app infos.
722 2007-12-30 Matthias Clasen <mclasen@redhat.com>
724 * gappinfo.c: Fix a cross-reference
726 2007-12-30 Matthias Clasen <mclasen@redhat.com>
728 * gfileinputstream.c:
729 * gfileoutputstream.c:
735 * gfileinfo.c: Documentation updates.
737 2007-12-26 Matthias Clasen <mclasen@redhat.com>
739 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
742 2007-12-26 Matthias Clasen <mclasen@redhat.com>
744 * gcontenttype.c (g_content_types_get_registered): Don't return
745 freed memory (#505815, Mikael Hermansson)
747 2007-12-25 Paolo Borelli <pborelli@katamail.com>
749 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
750 used to detect statbuf->st_blocks. (#505042)
752 2007-12-24 Matthias Clasen <mclasen@redhat.com>
754 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
755 environment handling. (#504829, Cosimo Cecchi)
757 2007-12-22 Matthias Clasen <mclasen@redhat.com>
759 * gappinfo.c: Doc improvements
761 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
764 2007-12-20 Matthias Clasen <mclasen@redhat.com>
766 * === Released 2.15.0 ===
768 2007-12-20 Hans Breuer <hans@breuer.org>
770 * makefile.msc : don't build gdesktopappinfo.obj, it collides
771 with symbols gwin32appinfo.obj, added gmount.obj
772 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
774 2007-12-20 Alexander Larsson <alexl@redhat.com>
780 * gfilenamecompleter.c:
783 * gpollfilemonitor.c:
784 File attribute renames:
787 id::fs -> id::filesystem
789 2007-12-20 Alexander Larsson <alexl@redhat.com>
798 Add GMountUnmountFlags to all unmount and
800 Add g_mount_remount() call.
802 2007-12-20 Alexander Larsson <alexl@redhat.com>
804 * gvfs.c (get_default_vfs):
805 Fix unused variable warning
807 2007-12-19 Matthias Clasen <mclasen@redhat.com>
809 * pltcheck.sh: Update
811 2007-12-19 Matthias Clasen <mclasen@redhat.com>
813 * gunionvolumemonitor.c:
814 * gunixmount.c: Remove C99 comments
816 2007-12-19 Matthias Clasen <mclasen@redhat.com>
818 * gio.symbols: Add some missing symbols
820 2007-12-19 Alexander Larsson <alexl@redhat.com>
823 Make g_io_modules_load_all_in_directory not unuse
824 loaded modules so that users of it can do stuff
826 Init internal "module" types.
827 Initialize static prio and name for types so that
828 we don't have to load modules to get it.
830 * gnativevolumemonitor.h:
832 Move is_supported to parent class so that
833 non-native monitors can avoid being initialized
834 too. (For instance GDaemonVolumeMonitor if we're
835 not using GDaemonVfs.)
837 * glocaldirectorymonitor.[ch]:
838 * glocalfilemonitor.[ch]:
839 * gunionvolumemonitor.c:
840 * gunixvolumemonitor.c:
842 Find plugins using the static prio+name to
843 avoid unnecessarily loading the modules.
845 2007-12-19 Alexander Larsson <alexl@redhat.com>
850 2007-12-19 Alexander Larsson <alexl@redhat.com>
852 * gunionvolumemonitor.c:
853 Store the native type as GType, not class so that
854 we can unload it. But still avoid unnecessarily
857 2007-12-19 David Zeuthen <davidz@redhat.com>
859 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
860 add signals 'disconnected' and 'eject-button' on GDrive. Add
861 signal 'removed' on GVolume and 'unmounted' on GMount.
863 * gdrive.c: (g_drive_base_init):
865 * gfile.c: (g_file_mount_mountable),
866 (g_file_mount_enclosing_volume):
869 * gmount.c: (g_mount_base_init):
871 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
872 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
873 * gvolume.c: (g_volume_base_init), (g_volume_mount):
877 2007-12-17 Matthias Clasen <mclasen@redhat.com>
879 * *.c: Fix up includes in the section docs.
881 2007-12-17 Alexander Larsson <alexl@redhat.com>
883 * gnativevolumemonitor.h:
884 * gunionvolumemonitor.c:
885 * gunixvolumemonitor.c:
886 Add is_supported() to GNativeVolumeMonitorClass so
887 that we can avoid having to create an object to see
888 if the backend is supported at runtime.
889 Also add name member and an env var to pick a specific
890 volume monitor backend.
894 Add cancellable to _g_mount_get_for_mount_path()
896 * glocaldirectorymonitor.c:
897 * glocalfilemonitor.c:
898 Avoid loading and unloading modules while sorting.
900 2007-12-17 Matthias Clasen <mclasen@redhat.com>
903 * gunixmounts.[hc]: Namespace waste reduction, move some
904 g_get_unix_mount functions to the g_unix_mount namespace.
907 * gunixvolumemonitor.c:
909 * glocaldirectorymonitor.c: Update all callers.
911 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
913 2007-12-17 Alexander Larsson <alexl@redhat.com>
916 Add doc comments about what GFile operations are
917 guaranteed to not block.
919 2007-12-17 Alexander Larsson <alexl@redhat.com>
922 Add missing #ifdef fixing OSX build.
923 (#503334, patch from Richard Hult)
925 2007-12-14 David Zeuthen <davidz@redhat.com>
929 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
930 (g_mount_eject), (g_mount_eject_finish):
932 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
933 (get_volume_for_uuid), (get_mount_for_uuid),
934 (g_union_volume_monitor_class_init),
935 (get_default_native_type_with_exclude), (get_default_native_type),
936 (get_native_type), (update_native_type),
937 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
938 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
939 (g_unix_mount_can_eject), (eject_unmount_cb),
940 (eject_unmount_read_error), (eject_unmount_do),
941 (g_unix_mount_unmount), (g_unix_mount_eject),
942 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
943 * gunixmounts.c: (g_unix_mount_guess_can_eject),
944 (g_unix_mount_point_guess_can_eject):
946 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
947 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
948 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
949 (g_unix_volume_mount), (g_unix_volume_eject),
950 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
951 * gunixvolumemonitor.c: (get_volume_for_uuid),
952 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
954 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
955 (g_volume_eject), (g_volume_eject_finish):
957 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
958 (g_volume_monitor_get_mount_for_uuid):
961 Provide eject() on both GMount and GVolume and utility functions
962 to guess whether a GUnixMountPoint or GUnixMountEntry should be
963 ejected. Introduce the concept of UUID's and wire it into GVolume
964 and GMount and provide API on GVolumeMonitor to find such
965 instances. Also handle the case where an external
966 GNativeVolumeMonitor fails to initialize. Lock around the
967 _g_get_mount_for_mount_path() function such that volume monitor
968 implementations won't have to do locking themselves.
970 2007-12-17 Matthias Clasen <mclasen@redhat.com>
978 * gvolume.h: Documentation updates
980 2007-12-14 Matthias Clasen <mclasen@redhat.com>
983 * gfile.h: Doc updates
985 2007-12-14 Matthias Clasen <mclasen@redhat.com>
988 * gdesktopappinfo.c: Use hash table iterators.
990 2007-12-14 Alexander Larsson <alexl@redhat.com>
993 * gfileattribute.[ch]:
994 * gfileattribute-priv.h:
995 Move GFileAttributeValue to a private header, as
999 Make set_attribute take a type + a pointer instead
1000 of a GFileAttributeValue.
1003 Fix up for above changes.
1004 Add g_file_info_get_attribute_data to get
1005 all info in one call, g_file_info_get_attribute_status
1006 to get the status and g_file_info_get_attribute_as_string.
1010 * glocalfileinfo.[ch]:
1014 Make _guess_type static.
1016 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1019 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1020 made mkenums and friends use temporary files to avoid leaving
1021 empty generated files on failure (#503470).
1023 2007-12-14 Alexander Larsson <alexl@redhat.com>
1025 * gmountoperation.h:
1028 2007-12-14 Alexander Larsson <alexl@redhat.com>
1032 * gfileattribute.[ch]:
1035 * glocalfileoutputstream.c:
1036 * gmountoperation.[ch]:
1037 * goutputstream.[ch]:
1038 Clean up all flags enums to not have _FLAGS in them
1039 Make the names of some of the enums better.
1044 2007-12-14 Michael Natterer <mitch@imendio.com>
1046 * gio.symbols: fix g_io_scheduler symbol names.
1048 2007-12-14 Alexander Larsson <alexl@redhat.com>
1054 * gbufferedinputstream.h:
1055 * gbufferedoutputstream.h:
1058 * gdatainputstream.h:
1059 * gdataoutputstream.h:
1060 * gdesktopappinfo.h:
1061 * gdirectorymonitor.h:
1065 * gfileenumerator.h:
1068 * gfileinputstream.h:
1070 * gfilenamecompleter.h:
1071 * gfileoutputstream.h:
1072 * gfilterinputstream.h:
1073 * gfilteroutputstream.h:
1081 * gmemoryinputstream.h:
1082 * gmemoryoutputstream.h:
1084 * gmountoperation.h:
1087 * gsimpleasyncresult.h:
1089 * gunixinputstream.h:
1091 * gunixoutputstream.h:
1095 * inotify/Makefile.am:
1096 Only allow including <gio/gio.h> from apps
1098 2007-12-14 Alexander Larsson <alexl@redhat.com>
1100 * gioscheduler.[ch]:
1101 * gsimpleasyncresult.c:
1102 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1103 Split out the send_to_mainloop call into two versions instead
1104 of having the block argument.
1106 2007-12-13 Alexander Larsson <alexl@redhat.com>
1108 * gcancellable.[ch]:
1110 * gbufferedinputstream.c:
1111 * gfileenumerator.c:
1112 * gfileinputstream.c:
1113 * gfileoutputstream.c:
1117 g_push/pop_current_cancellable ->
1118 g_cancellable_push/pop_current
1120 2007-12-13 Alexander Larsson <alexl@redhat.com>
1124 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1126 2007-12-13 Alexander Larsson <alexl@redhat.com>
1128 * gmountoperation.h:
1129 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1131 2007-12-12 Alexander Larsson <alexl@redhat.com>
1134 Fix race condition when freeing proxy in
1135 g_io_job_send_to_mainloop().
1137 2007-12-12 Alexander Larsson <alexl@redhat.com>
1143 Make attribute namespace separator "::" instead of ":".
1144 Use - instead of _ as separator in attribute names.
1146 2007-12-12 Alexander Larsson <alexl@redhat.com>
1148 * gbufferedinputstream.h:
1149 * gbufferedoutputstream.h:
1150 * gdatainputstream.h:
1151 * gdataoutputstream.h:
1152 * gdirectorymonitor.h:
1153 * gfileenumerator.h:
1154 * gfileinputstream.h:
1156 * gfileoutputstream.h:
1157 * gfilterinputstream.h:
1158 * gfilteroutputstream.h:
1160 * glocalfileinputstream.h:
1161 * glocalfileoutputstream.h:
1162 * gmemoryinputstream.h:
1163 * gmemoryoutputstream.h:
1164 * gnativevolumemonitor.h:
1166 * gunixinputstream.h:
1167 * gunixoutputstream.h:
1170 s/parent/parent_instance/ in GObjects
1172 2007-12-12 Alexander Larsson <alexl@redhat.com>
1177 No need for padding for interfaces
1179 2007-12-12 Alexander Larsson <alexl@redhat.com>
1183 * gbufferedinputstream.c:
1184 * gbufferedoutputstream.c:
1187 * gdatainputstream.[ch]:
1188 * gdesktopappinfo.c:
1189 * gdirectorymonitor.c:
1191 * gfileattribute.[ch]:
1194 * gfileinputstream.h:
1195 * gfilemonitor.[ch]:
1196 * gfileoutputstream.[ch]:
1197 * gfilterinputstream.h:
1198 * gfilteroutputstream.h:
1201 * gloadableicon.[ch]:
1202 * gmemoryinputstream.c:
1203 * gmountoperation.c:
1205 Fix up a bunch of details in the docs.
1210 2007-12-11 David Zeuthen <davidz@redhat.com>
1212 Rework how volumes, drives and volume monitoring is
1213 done. Previosly the model was
1215 GDrive <1-1> GVolume
1217 where a GDrive instance represented a mount point and a GVolume
1218 instance represented a mounted file system. This patch changes it
1221 GDrive <1-N> GVolume <1-1> GMount
1223 where GMount now serves the purpose of the old GVolume and the new
1224 GVolume serves the purpose of the old GDrive. In addition the new
1225 GDrive interface is used to represent a collection of GVolume
1226 instances (typically partitions) and also contains utility to query
1227 the state of the physical drive the GDrive object represents (such
1228 as checking for media, polling the drive, ejecting the media etc.).
1230 Also implement mounting and unmounting in the Unix volume monitor
1231 backend. A subquent patch will introduce GDrive support for ejection
1235 * gdrive.c: (g_drive_is_media_check_automatic),
1236 (g_drive_is_media_removable), (g_drive_has_media),
1237 (g_drive_can_poll_for_media), (g_drive_eject),
1238 (g_drive_eject_finish), (g_drive_poll_for_media),
1239 (g_drive_poll_for_media_finish):
1241 * gfile.c: (g_file_find_enclosing_mount):
1244 * glocaldirectorymonitor.c:
1245 (g_local_directory_monitor_constructor), (mounts_changed):
1246 * glocalfile.c: (get_mount_info),
1247 (g_local_file_find_enclosing_mount),
1248 (g_local_file_file_iface_init):
1249 * gnativevolumemonitor.h:
1250 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1251 (get_connected_drives), (g_union_volume_monitor_class_init),
1252 (child_volume_added), (child_volume_removed),
1253 (child_volume_changed), (child_mount_added), (child_mount_removed),
1254 (child_mount_pre_unmount), (child_mount_changed),
1255 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1256 (g_union_volume_monitor_remove_monitor),
1257 (_g_mount_get_for_mount_path):
1258 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1259 (guess_system_internal), (_g_get_unix_mounts),
1260 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1261 (g_unix_mount_free), (g_unix_mount_compare),
1262 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1263 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1264 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1265 (type_to_icon), (g_unix_mount_guess_name),
1266 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1267 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1268 (_resolve_symlink), (_resolve_dev_root):
1270 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1271 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1272 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1273 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1274 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1275 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1276 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1277 (g_unix_volume_volume_iface_init):
1279 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1280 (get_mounts), (get_volumes), (get_connected_drives),
1281 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1282 (mountpoints_changed), (mounts_changed),
1283 (g_unix_volume_monitor_init),
1284 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1285 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1286 * gunixvolumemonitor.h:
1287 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1288 (g_volume_mount), (g_volume_mount_finish):
1290 * gvolumemonitor.c: (g_volume_monitor_class_init),
1291 (g_volume_monitor_get_connected_drives),
1292 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1295 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1297 * gmountoperation.h (GPasswordFlags): Close the gap
1299 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1301 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1303 * gdesktopappinfo.[hc]: Remove _-prefixes
1305 2007-12-10 Tor Lillqvist <tml@novell.com>
1307 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1310 2007-12-10 Alexander Larsson <alexl@redhat.com>
1312 * gfile.c (g_file_set_display_name):
1313 Don't hardcode '/' (#502727)
1315 2007-12-09 Hans Breuer <hans@breuer.org>
1317 * makefile.msc : follow lib naming convention
1318 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1319 for user and group name, tested with ../tests/gio-ls
1321 2007-12-09 A. Walton <awalton@svn.gnome.org>
1323 * gdesktopappinfo.c:
1329 * gfileenumerator.c:
1334 * gmemoryinputstream.c:
1335 * gmemoryoutputstream.c:
1337 * gsimpleasyncresult.c:
1338 More documentation cleanup and filling in missing information, bringing
1339 GIO to 99% symbol coverage.
1341 2007-12-08 Hans Breuer <hans@breuer.org>
1343 [gio compiles and links on win32, not sure how much already works]
1344 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1345 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1346 base on win32 API; prefer g_lstat() over lstat(); instead of
1347 localtime_r() use an all GLib implementation on win32;
1348 get_mount_info() still needs a win32 specifc implementation
1349 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1350 win32_get_file_user_info to get owner/group info without uid/gid
1351 * glocalfileinputstream.c : include <io.h> on win32
1352 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1353 definition, use g_win32_ftruncate() for G_OS_WIN32
1354 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1355 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1356 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1357 * makefile.msc : updated
1359 2007-12-07 Alexander Larsson <alexl@redhat.com>
1361 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1362 Avoid warning spew if error == NULL
1364 2007-12-07 Alexander Larsson <alexl@redhat.com>
1367 Update docs wrt etags
1369 2007-12-06 Alexander Larsson <alexl@redhat.com>
1372 Include sys/types.h for dev_t (#501919)
1374 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1378 Make abicheck and pltcheck pass.
1380 2007-12-05 Alexander Larsson <alexl@redhat.com>
1383 * giomodule-priv.h: Added.
1384 * glocaldirectorymonitor.c:
1385 * glocalfilemonitor.c:
1386 * gunionvolumemonitor.c:
1388 Actually add the declaration of _g_io_modules_ensure_loaded
1390 2007-12-05 Alexander Larsson <alexl@redhat.com>
1392 * gdatainputstream.c:
1397 * glocaldirectorymonitor.c:
1398 * glocalfilemonitor.c:
1399 * gunionvolumemonitor.c:
1401 Make g_io_modules_ensure_loaded a private function and
1402 don't pass in the dirname. This means we can do magic
1403 directory finding in the win32 version.
1404 Export the actual load-modules-in-directory code so that
1405 gvfs can reuse that.
1407 2007-12-05 Alexander Larsson <alexl@redhat.com>
1409 * gbufferedinputstream.c:
1410 * gbufferedoutputstream.c:
1413 * gfileenumerator.[ch]:
1414 * gfileinputstream.c:
1415 * gfileoutputstream.[ch]:
1416 * gfilterinputstream.c:
1417 * gfilteroutputstream.c:
1418 * ginputstream.[ch]:
1420 * glocalfileenumerator.c:
1421 * glocalfileinputstream.c:
1422 * glocalfileoutputstream.c:
1423 * gmemoryinputstream.c:
1424 * gmemoryoutputstream.c:
1425 * goutputstream.[ch]:
1428 * gunixinputstream.c:
1429 * gunixoutputstream.c:
1430 Rename all struct members named:
1431 read, write, close, truncate, or mount
1432 to foo_fn, as these are reserved names
1433 and could be defined as macros in libc.
1436 2007-12-04 Alexander Larsson <alexl@redhat.com>
1439 (g_output_stream_close):
1440 Only call flush if non-null.
1442 2007-11-30 Dan Winship <danw@gnome.org>
1444 * ginputstream.c (g_input_stream_set_pending): Make this take a
1445 GError and return a gboolean, and do the "outstanding operation"
1446 check (and the "stream is already closed" check) itself.
1447 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1449 * goutputstream.c (g_output_stream_set_pending)
1450 (g_output_stream_clear_pending): Likewise
1452 * gbufferedinputstream.c:
1453 * gfileinputstream.c:
1454 * gfileoutputstream.c: Update for that
1456 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1457 Like g_simple_async_report_error_in_idle, but takes a GError
1458 rather than building one.
1460 2007-11-30 Dan Winship <danw@gnome.org>
1462 * goutputstream.c: Don't cheat and unset the "pending" flag around
1463 inner calls. Instead, call the class method directly rather than
1464 the wrapper function that checks "pending"
1466 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1468 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1470 2007-12-03 Hans Breuer <hans@breuer.org>
1472 [start of port to win32/msvc]
1473 * gcancellable.c : HAVE_UNIST_H and _pipe()
1474 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1475 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1476 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1478 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1479 * glocalvfs.c : use HAVE_PWD_H
1480 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1481 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1482 * Makefile.am : added to EXTRA_DIST
1484 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1486 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1489 2007-12-03 Alexander Larsson <alexl@redhat.com>
1492 Handle OSX style xattrs API (#500506)
1494 2007-12-03 Alexander Larsson <alexl@redhat.com>
1498 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1500 2007-12-02 A. Walton <awalton@svn.gnome.org>
1504 Documentation accuracy fixes.
1506 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1508 * gioenumtypes.c.template: Fix typo.
1510 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1512 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1514 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1516 * gdirectorymonitor.c:
1517 * gfilemonitor.c: Add properties
1519 * gbufferedoutputstream.c: Don't mark buffer-size property
1522 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1524 * gbufferedoutputstream.c: Add auto-grow property.
1526 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1528 * *.c: Unify the capitalization of section headings.
1530 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1532 * gmountoperation.c: Add properties
1534 * gdatainputstream.c: Turn byte-order and newline-type into
1537 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1539 * gioenumtypes.[hc].template: Templates for enum registration
1541 * Makefile.am: Generate gioenumtypes.[hc]
1543 * gio.h: Include gioenumtypes.h
1545 * gfile.h: Add some explicit nicks.
1547 * gio.symbols: Add new symbols
1549 * pltcheck.sh: Adjust
1551 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1553 * *.c: Explain etags and link to the explanation
1555 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1557 * *.c: Explain I/O priority.
1559 * *.c: More coding style fixes.
1561 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1563 * gasyncresult.c: Add another paragraph to the intro,
1564 adjust coding style of example.
1566 2007-11-29 A. Walton <awalton@svn.gnome.org>
1569 Fixes unknown meaning in GAppLaunchContext docs.
1571 Clarify asynchronous ops.
1573 Fix entity tag docs.
1576 Provides missing gtk-doc section, fixes API docs slighly.
1577 * gsimpleasyncresult.c:
1578 Fill in missing info in docs.
1579 * gunixinputstream.c:
1580 * gunixoutputstream.c:
1581 Be more expressive in short description.
1583 Remove gtk-doc stubs for non-public API.
1585 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1587 * *.c: Coding style fixups
1589 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1591 * inotify/inotify-helper.c: Don't export the lock from libgio.
1593 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1596 * abicheck.sh: Fix copy-and-paste leftovers
1598 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1600 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1602 2007-11-28 Alexander Larsson <alexl@redhat.com>
1606 Removed unnecessary file
1608 * gdesktopappinfo.[ch]:
1611 * glocaldirectorymonitor.[ch]:
1613 * glocalfileenumerator.[ch]:
1614 * glocalfileinputstream.[ch]:
1615 * glocalfilemonitor.[ch]:
1616 * glocalfileoutputstream.[ch]:
1618 * gnativevolumemonitor.c:
1619 * gpollfilemonitor.[ch]:
1620 * gunionvolumemonitor.[ch]:
1623 * gunixvolumemonitor.[ch]:
1626 * inotify/ginotifydirectorymonitor.[ch]:
1627 * inotify/ginotifyfilemonitor.[ch]:
1628 * inotify/inotify-helper.c:
1629 Append _ to all internal functions
1633 Export symbols needed for modules
1635 2007-11-28 Alexander Larsson <alexl@redhat.com>
1638 * abicheck.sh: Added.
1639 * makegioalias.pl: Added.
1640 * pltcheck.sh: Added.
1641 * gio.symbols: Added.
1644 Initial work on adding symbol handling.
1647 Correct ifdef guard name
1650 * inotify/Makefile.am:
1651 * xdgmime/Makefile.am:
1652 Include toplevel Makefile.decl
1654 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1656 * gcontenttype.c: Move doc comments to the unix section.
1658 * *.[hc]: More trivial doc corrections.
1660 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1662 * gpollfilemonitor.c:
1666 * gdesktopappinfo.c:
1671 * gdatainputstream.c:
1672 * gdatainputstream.h:
1673 * gdataoutputstream.c:
1674 * gdataoutputstream.h:
1675 * gfileinfo.h: Doc cleanups
1677 2007-11-28 Andre Klapper <a9016009@gmx.de>
1679 * gdesktopappinfo.c: Fix a typo.
1681 2007-11-27 Andre Klapper <a9016009@gmx.de>
1683 * glocalfileoutputstream.c: Fix a typo.
1685 2007-11-27 Alexander Larsson <alexl@redhat.com>
1688 Don't include removed headers
1690 2007-11-27 Alexander Larsson <alexl@redhat.com>
1693 * gsocketinputstream.[ch]: Removed.
1694 * gsocketoutputstream.[ch]: Removed.
1695 * gunixinputstream.[ch]: Added.
1696 * gunixoutputstream.[ch]: Added.
1697 Renamed GSocket*Stream to GUnix*Stream and made
1698 it unix-only, since its not really only for sockets
1699 and it only works on unix (but is highly useful there).
1701 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1707 * gbufferedinputstream.c:
1708 * gbufferedinputstream.h:
1709 * gbufferedoutputstream.c:
1710 * gbufferedoutputstream.h:
1714 * gdatainputstream.c:
1715 * gdatainputstream.h:
1716 * gdataoutputstream.c:
1717 * gdataoutputstream.h:
1718 * gdirectorymonitor.c:
1719 * gdirectorymonitor.h:
1726 * gfileenumerator.c:
1727 * gfileenumerator.h:
1732 * gfileinputstream.c:
1733 * gfileinputstream.h:
1736 * gfilenamecompleter.c:
1737 * gfilenamecompleter.h:
1738 * gfileoutputstream.c:
1739 * gfileoutputstream.h:
1740 * gfilterinputstream.c:
1741 * gfilterinputstream.h:
1742 * gfilteroutputstream.c:
1743 * gfilteroutputstream.h:
1756 * glocalfileoutputstream.c:
1757 * gmemoryinputstream.c:
1758 * gmemoryinputstream.h:
1759 * gmemoryoutputstream.c:
1760 * gmemoryoutputstream.h:
1761 * gmountoperation.c:
1762 * gmountoperation.h:
1765 * gpollfilemonitor.c:
1768 * gsimpleasyncresult.c:
1769 * gsimpleasyncresult.h:
1770 * gsocketinputstream.c:
1771 * gsocketinputstream.h:
1772 * gsocketoutputstream.c:
1773 * gsocketoutputstream.h:
1780 * gunixvolumemonitor.c:
1789 Bumps documentation to 93% symbol coverage, touching most
1790 of the public files. Fixes broken function documentation prototypes.
1791 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1792 gtk-doc headers in private files.
1794 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1796 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1797 (g_buffered_input_stream_read_byte):
1798 * gbufferedinputstream.h:
1799 New functions for efficient access to buffer and simple single byte
1802 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1803 (g_data_input_stream_read_until):
1804 * gdatainputstream.h:
1805 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1806 read_until with multiple stop chars.
1808 2007-11-27 Alexander Larsson <alexl@redhat.com>
1812 * inotify/Makefile.am:
1813 Use the user-specified giomoduledir
1815 2007-11-27 Alexander Larsson <alexl@redhat.com>
1819 Add catch-all gio.h header
1820 Don't install gdummyfile.h
1822 2007-11-26 Alexander Larsson <alexl@redhat.com>
1824 * Makefile.am (gioinclude_HEADERS):
1825 Remove trailing whitespace
1827 2007-11-26 Alexander Larsson <alexl@redhat.com>
1829 Merge gio-standalone into glib
1831 2007-11-25 Christian Kellner <gicmo@gnome.org>
1833 * gio/goutputstream.c:
1834 Fix small mistake in the docs.
1836 2007-11-21 Christian Persch <chpe@gnome.org>
1838 * gio/glocalfile.c: (g_local_file_trash):
1839 Convert filenames to UTF-8 for GError.
1840 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1841 as per xdg base dir spec.
1843 2007-11-21 Christian Persch <chpe@gnome.org>
1845 * gio/gdesktopappinfo.c:
1846 Use that g_key_file_to_data cannot fail.
1848 Use stock defines for the key file group and key names.
1851 2007-11-21 Alexander Larsson <alexl@redhat.com>
1854 (copy_stream_with_progress):
1855 Make sure we do a final progress callback with
1856 the full total size.
1858 2007-11-21 Alexander Larsson <alexl@redhat.com>
1861 Export g_file_copy_attributes
1862 Remove padding as its not needed for interfaces
1864 2007-11-20 Alexander Larsson <alexl@redhat.com>
1869 Add G_IO_ERROR_WOULD_MERGE for
1870 copy/move dir on dir with overwrite.
1872 2007-11-20 Alexander Larsson <alexl@redhat.com>
1875 * gio/glocalfileinfo.c:
1876 Add COPY_NAME (this is an optional
1877 non-modified utf8 version of the name) that
1880 2007-11-20 Alexander Larsson <alexl@redhat.com>
1882 * gio/glocalfileenumerator.c:
1883 Report errors as GIOError, not GFileError
1885 2007-11-16 Alexander Larsson <alexl@redhat.com>
1887 * gio/glocalfileoutputstream.c:
1888 * gio/gwin32appinfo.c:
1889 Fix typos in strings.
1890 Patch from Luca Ferretti <elle.uca@libero.it>
1892 2007-11-15 Alexander Larsson <alexl@redhat.com>
1895 Post release version bump
1897 === gio-standalone 0.1.2 ===
1899 2007-11-15 Alexander Larsson <alexl@redhat.com>
1901 * docs/reference/gio/Makefile.am:
1902 Fix up distcheck by removing weird
1908 2007-11-14 Alexander Larsson <alexl@redhat.com>
1910 * gio/gdesktopappinfo.c:
1911 * gio/glocaldirectorymonitor.c:
1913 * gio/glocalfileinfo.c:
1914 * gio/inotify/inotify-sub.c:
1915 * programs/gio-cat.c:
1916 * programs/gio-copy.c:
1917 * programs/gio-info.c:
1918 * programs/gio-ls.c:
1919 * programs/gio-monitor-dir.c:
1920 * programs/gio-monitor-file.c:
1921 * programs/gio-mount.c:
1922 * programs/gio-move.c:
1923 * programs/gio-rm.c:
1924 * programs/gio-save.c:
1925 * programs/gio-trash.c:
1926 Leak fixes from Kjartan Maraas
1928 2007-11-14 Alexander Larsson <alexl@redhat.com>
1930 * gio/fam/fam-helper.c:
1932 * gio/glocalfileinfo.c:
1936 * gio/inotify/inotify-diag.c:
1937 * gio/inotify/inotify-kernel.c:
1938 Various code cleanups from Kjartan Maraas
1940 2007-11-14 Alexander Larsson <alexl@redhat.com>
1942 * gio/gioscheduler.c:
1944 Set up threadpool so that we cache 2 unused
1945 idle threads for at 15 secs. This means we
1946 will reuse thread-local data (like dbus connections)
1949 2007-11-14 Alexander Larsson <alexl@redhat.com>
1951 * gio/fam/fam-helper.c:
1952 * gio/fam/gfamdirectorymonitor.c:
1953 * gio/fam/gfamfilemonitor.c:
1955 * gio/gcontenttype.c:
1956 * gio/gdatainputstream.c:
1957 * gio/gdataoutputstream.c:
1961 * gio/gfileattribute.h:
1962 * gio/gfileenumerator.c:
1964 * gio/ginputstream.c:
1967 * gio/glocalfileinfo.c:
1968 * gio/goutputstream.c:
1969 * gio/gpollfilemonitor.c:
1970 * gio/gsimpleasyncresult.c:
1971 * gio/gunixmounts.c:
1972 * gio/gunixmounts.h:
1973 * gio/inotify/ginotifydirectorymonitor.c:
1974 * gio/inotify/ginotifyfilemonitor.c:
1975 * gio/inotify/inotify-diag.c:
1976 * gio/inotify/inotify-kernel.c:
1977 * gio/inotify/inotify-path.c:
1979 * gio/test-streams.c:
1980 * programs/gio-info.c:
1981 * programs/gio-monitor-dir.c:
1982 * programs/gio-monitor-file.c:
1983 Various code cleanups from Kjartan Maraas
1985 2007-11-13 Alexander Larsson <alexl@redhat.com>
1988 Handle the uri-scheme calls for dummy files
1990 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1992 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
1993 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
1994 to avoid clash with the C++ keyword.
1996 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
1998 * gio/glocalfileinfo.c: Build fix, added missing semicolon
1999 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2001 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2003 * gio/glocaldirectorymonitor.c:
2004 * gio/glocalfilemonitor.c:
2005 * gio/gunionvolumemonitor.c:
2006 Don't use g_once_init_*() for initializations that could fail and
2007 could leave the initialization variable set to 0 but use GOnce.
2008 This prevents a deadlock on the second call when trying to create
2009 a monitor and no monitor type is available. Thanks to Sven Herzberg
2012 2007-11-11 Sven Herzberg <sven@imendio.com>
2014 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2015 #ifdef (make it work on MacOS X again)
2017 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2019 Fixes Changelog for last two commits (sorry guys).
2021 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2023 * gio/gbufferedinputstream.c:
2024 * gio/gdatainputstream.c:
2026 * gio/gfileoutputstream.c:
2027 * gio/gfilterinputstream.c:
2028 * gio/glocalfileinputstream.c:
2031 More consistency fixes in g*stream.c files.
2032 Significant clean of gfile's documentation, filling in of
2033 asynchronous operations documentation.
2035 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2037 * gio/gasyncresult.c:
2038 * gio/gbufferedinputstream.c:
2039 * gio/gbufferedoutputstream.c:
2040 * gio/gcancellable.c:
2041 * gio/gcontenttype.c:
2042 * gio/gdatainputstream.c:
2043 * gio/gdataoutputstream.c:
2044 * gio/gdesktopappinfo.c:
2047 * gio/gfileattribute.c:
2048 * gio/gio/gfileenumerator.c:
2050 * gio/gfileinputstream.c:
2051 * gio/gfilemonitor.c:
2052 * gio/gfileoutputstream.c:
2053 * gio/ginputstream.c:
2055 * gio/gioscheduler.c:
2056 * gio/gloadableicon.c:
2057 * gio/glocalfileoutputstream.c:
2058 * gio/gmemoryoutputstream.c:
2059 * gio/gmountoperation.c:
2060 * gio/goutputstream.c:
2062 * gio/gsimpleasyncresult.c:
2063 * gio/gunionvolumemonitor.c:
2064 * gio/gunixmounts.c:
2065 * gio/gunixvolume.c:
2069 * gio/gvolumemonitor.c:
2070 Updated documentation stubs, working towards consistency and
2073 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2075 * gio/gmemoryoutputstream.c:
2076 * gio/gmemoryoutputstream.h:
2077 Change g_memory_output_stream_set_free_on_close() to
2078 g_memory_output_stream_set_free_data() as this makes more sense and
2079 is more consistent with GMemoryInputStream.
2081 2007-11-07 Alexander Larsson <alexl@redhat.com>
2088 Change how we find the default vfs so that
2089 we can handle a gvfs failing to init
2091 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2093 * gio/gbufferedoutputstream.c:
2094 * gio/gdatainputstream.c:
2095 * gio/gdataoutputstream.c:
2096 * gio/gfileinputstream.c:
2097 * gio/gfileoutputstream.c:
2098 * gio/gfilterinputstream.c:
2099 * gio/gfilteroutputstream.c:
2100 * gio/ginputstream.c:
2101 * gio/gmemoryinputstream.c:
2102 * gio/gmemoryoutputstream.c:
2103 * gio/goutputstream.c:
2104 * gio/gsimpleasyncresult.c:
2105 * gio/gsocketinputstream.c:
2106 * gio/gsocketoutputstream.c:
2107 Add guards to the remaining public functions, add a TODO for
2108 an unimplemented function and remove some useless guards.
2110 2007-11-07 Alexander Larsson <alexl@redhat.com>
2113 Autoconf checks for the various types of
2114 getpwuid_r and getgrgid_r
2116 * gio/glocalfileinfo.c:
2117 Use the autoconf checks from above
2119 2007-11-07 Alexander Larsson <alexl@redhat.com>
2122 (g_local_file_query_filesystem_info):
2123 Some fixes for the statvfs case
2125 2007-11-07 Alexander Larsson <alexl@redhat.com>
2128 (g_local_file_query_filesystem_info):
2129 Pick the "best" of statfs / statvfs for the system
2130 if both are availible.
2132 2007-11-07 Alexander Larsson <alexl@redhat.com>
2134 Solaris fixes from Halton.Huo@Sun.COM:
2141 * gio/glocalfileinfo.c:
2142 Fix for solaris definition of getpwuid_r
2144 * gio/test-streams.c:
2145 Use G_GNUC_PRETTY_FUNCTION
2147 2007-11-07 Alexander Larsson <alexl@redhat.com>
2149 * gio/gdesktopappinfo.c:
2150 (update_default_list):
2151 Remove double semicolon.
2152 Patch from Jens Granseuer
2154 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2156 * docs/reference/gio/gio-sections.txt:
2157 * gio/gbufferedinputstream.c:
2158 * gio/gbufferedinputstream.h:
2159 * gio/gdatainputstream.c:
2160 * gio/gfileenumerator.c:
2161 * gio/gioscheduler.c:
2162 * gio/gunionvolumemonitor.c:
2164 * programs/gio-save.c:
2165 Fix typo: availible -> available. Unfortuntely this breaks API
2166 and ABI as g_buffered_input_stream_get_available() was renamed.
2168 * gio/gunixmounts.c:
2169 * gio/gbufferedinputstream.c:
2170 Add guards for public functions.
2172 2007-11-06 Ross Burton <ross@openedhand.com>
2174 * docs/reference/gio/Makefile.am:
2175 Fix invalid += usage which automake 1.10 doesn't like.
2177 2007-11-06 Alexander Larsson <alexl@redhat.com>
2180 (g_app_launch_context_class_init):
2183 Patch from Ross Burton
2185 2007-11-06 Alexander Larsson <alexl@redhat.com>
2188 Post release version bump
2190 === gio-standalone 0.1.1 ===
2192 2007-11-06 Alexander Larsson <alexl@redhat.com>
2195 Bump version to 0.1.1
2197 * gio/gsimpleasyncresult.c:
2198 (g_simple_async_result_set_from_error):
2199 Remove bogus g_return_if_fail
2201 2007-11-06 Alexander Larsson <alexl@redhat.com>
2204 The name is gio-standalone
2207 Add top src/builddir to includedir
2209 2007-11-06 Alexander Larsson <alexl@redhat.com>
2211 * docs/reference/gio/gio-sections.txt:
2213 * gio/gbufferedinputstream.c:
2214 * gio/gbufferedoutputstream.c:
2215 * gio/gcancellable.c:
2216 * gio/gdatainputstream.h:
2217 * gio/gdataoutputstream.c:
2218 * gio/gdataoutputstream.h:
2219 * gio/gdirectorymonitor.c:
2221 * gio/gfileattribute.c:
2222 * gio/gfileattribute.h:
2223 * gio/gfileenumerator.c:
2224 * gio/gfileenumerator.h:
2227 * gio/gfileinputstream.h:
2228 * gio/gfilemonitor.c:
2229 * gio/gfileoutputstream.h:
2230 * gio/glocalfilemonitor.h:
2231 * gio/glocalfileoutputstream.h:
2232 * gio/gmemoryinputstream.c:
2233 * gio/gmemoryoutputstream.c:
2234 * gio/gmountoperation.c:
2235 * gio/goutputstream.c:
2236 * gio/goutputstream.h:
2238 * gio/gsimpleasyncresult.c:
2239 * gio/gunixmounts.c:
2240 * gio/gunixmounts.h:
2242 * gio/inotify/inotify-helper.c:
2243 Fix gtk-doc warnings
2245 Patch from Ross Burton
2247 2007-11-06 Alexander Larsson <alexl@redhat.com>
2249 * gio/gfilenamecompleter.c:
2250 (g_filename_completer_get_completions):
2253 * gio/gunixvolume.c:
2254 Remove unused function
2256 Patches from Ross Burton
2258 2007-11-06 Alexander Larsson <alexl@redhat.com>
2263 Padding not needed for interfaces
2265 2007-11-06 Alexander Larsson <alexl@redhat.com>
2267 * gio/gfilemonitor.c:
2271 Make giotypes.h an internal file
2274 * gio/gbufferedinputstream.h:
2275 * gio/gbufferedoutputstream.h:
2276 * gio/gcancellable.h:
2277 * gio/gdatainputstream.h:
2278 * gio/gdataoutputstream.h:
2279 * gio/gdirectorymonitor.c:
2280 * gio/gdirectorymonitor.h:
2285 * gio/gfileattribute.h:
2286 * gio/gfileenumerator.h:
2291 * gio/gfilemonitor.c:
2292 * gio/gfilemonitor.h:
2293 * gio/gfilenamecompleter.c:
2294 * gio/gfilenamecompleter.h:
2295 * gio/gfilterinputstream.h:
2296 * gio/gfilteroutputstream.h:
2297 * gio/ginputstream.h:
2298 * gio/gmemoryinputstream.h:
2299 * gio/gmemoryoutputstream.h:
2300 * gio/gmountoperation.c:
2301 * gio/gmountoperation.h:
2302 * gio/gnativevolumemonitor.c:
2303 * gio/goutputstream.h:
2306 * gio/gsimpleasyncresult.c:
2307 * gio/gsimpleasyncresult.h:
2308 * gio/gsocketinputstream.h:
2309 * gio/gsocketoutputstream.h:
2310 * gio/gthemedicon.c:
2311 * gio/gthemedicon.h:
2315 * gio/gvolumemonitor.c:
2316 * gio/gvolumemonitor.h:
2317 Add padding in classes where it seems useful
2318 Don't include giotypes.h from public headers
2319 Move in Class definitions into c file where possible
2324 2007-11-06 Alexander Larsson <alexl@redhat.com>
2326 * docs/reference/gio/gio-docs.xml:
2327 Better structure for API docs
2329 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2332 * gio/gloadableicon.c:
2333 * gio/gsimpleasyncresult.c:
2334 * gio/gthemedicon.c:
2335 Add some more guards to public functions. Only files missing are now
2338 2007-11-06 Alexander Larsson <alexl@redhat.com>
2340 * docs/reference/gio/gio-docs.xml:
2341 Remove old files, add missing ones
2343 2007-11-06 Alexander Larsson <alexl@redhat.com>
2345 * docs/reference/gio/gio-sections.txt:
2348 Hide implementation classes
2350 * gio/gdriveprivate.h:
2351 * gio/gvolumeprivate.h:
2352 Remove non-existing function declarations
2354 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2357 Fix compilation warnings and add guards to the new functions.
2359 * gio/gasyncresult.c:
2361 Add guards to the public functions.
2364 Implement get_path().
2366 2007-11-06 Alexander Larsson <alexl@redhat.com>
2368 * gio/gfilenamecompleter.c:
2369 Make g_filename_completer_get_completions
2370 return char ** instead of GList for
2373 * docs/reference/gio/gio-docs.xml:
2374 * docs/reference/gio/gio-sections.txt:
2376 * gio/gasyncresult.c:
2377 * gio/gbufferedinputstream.c:
2378 * gio/gbufferedoutputstream.c:
2379 * gio/gcancellable.c:
2380 * gio/gcontenttype.c:
2381 * gio/gdatainputstream.c:
2382 * gio/gdataoutputstream.c:
2383 * gio/gdesktopappinfo.c:
2384 * gio/gdirectorymonitor.c:
2388 * gio/gfileattribute.c:
2389 * gio/gfileenumerator.c:
2392 * gio/gfileinputstream.c:
2393 * gio/gfilemonitor.c:
2394 * gio/gfilenamecompleter.c:
2395 * gio/gfilenamecompleter.h:
2396 * gio/gfileoutputstream.c:
2397 * gio/gfilterinputstream.c:
2399 * gio/ginputstream.c:
2401 * gio/gioscheduler.c:
2402 * gio/gloadableicon.c:
2403 * gio/glocaldirectorymonitor.c:
2405 * gio/glocalfileinputstream.c:
2406 * gio/glocalfilemonitor.c:
2407 * gio/glocalfileoutputstream.c:
2409 * gio/gmemoryinputstream.c:
2410 * gio/gmemoryoutputstream.c:
2411 * gio/gmountoperation.c:
2412 * gio/goutputstream.c:
2413 * gio/gpollfilemonitor.c:
2415 * gio/gsimpleasyncresult.c:
2416 * gio/gsocketinputstream.c:
2417 * gio/gsocketoutputstream.c:
2418 * gio/gthemedicon.c:
2419 * gio/gunionvolumemonitor.c:
2421 * gio/gunixmounts.c:
2422 * gio/gunixvolume.c:
2423 * gio/gunixvolumemonitor.c:
2427 * gio/gvolumemonitor.c:
2428 * gio/gwin32appinfo.c:
2429 Add (mostly stub) doc strings to public functions.
2430 Patch from Andrew Walton (awalton@gmail.com)
2432 2007-11-06 Alexander Larsson <alexl@redhat.com>
2434 * gio/gappinfo.[ch]:
2435 Added GAppLaunchContext object and pass that to launch.
2436 This allows simple implementation of both
2437 launch-on-screen and startup notification via a gtk+
2438 subclass of GAppLaunchContext
2440 * gio/gdesktopappinfo.c:
2441 Implement GAppLaunchContext API
2443 * gio/gwin32appinfo.c:
2446 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2448 * gio/gmountoperation.c:
2449 Add some guards to GMountOperation's public functions.
2451 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2455 * gio/gcancellable.c:
2456 * gio/gdirectorymonitor.c:
2458 * gio/gfileenumerator.c:
2459 * gio/gfilemonitor.c:,
2460 * gio/gfilenamecompleter.c:
2463 * gio/gioscheduler.c:
2467 * gio/gvolumemonitor.c:
2468 Add even more guards to various public functions.
2470 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2473 Add guards to the public functions of GAppInfo.
2475 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2477 * gio/gcontenttype.c:
2478 Add some more guards for public functions.
2480 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2482 * gio/fam/fam-module.c:
2483 * gio/fam/gfamdirectorymonitor.c:
2484 * gio/fam/gfamdirectorymonitor.h:
2485 * gio/fam/gfamfilemonitor.c:
2486 * gio/fam/gfamfilemonitor.h:
2487 * gio/inotify/ginotifydirectorymonitor.c:
2488 * gio/inotify/ginotifydirectorymonitor.h:
2489 * gio/inotify/ginotifyfilemonitor.c:
2490 * gio/inotify/ginotifyfilemonitor.h:
2491 Add proper copyright information and remove an unused variable
2492 in the GInotifyFileMonitor constructor.
2494 * gio/gcancellable.c:
2495 Add a guard for a public function and an assertion to prevent
2496 an undefined program state.
2498 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2500 * gio/gfileattribute.c:
2501 Don't run into an assertion if the given attribute value is NULL
2502 in g_file_attribute_value_get_*() but instead return a fallback
2503 value that makes sense in most situations. Passing them a attribute
2504 value with the wrong type will still run into an assertion.
2506 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2508 * gio/gfileattribute.c:
2510 Add even more guards to the public functions. Also fix the refcounting
2511 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2512 let g_file_info_list_attributes() filter the attributes by namespace
2513 instead of simply ignoring the namespace parameter.
2515 2007-11-03 Sven Herzberg <sven@imendio.com>
2517 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2518 (This makes gio work on MacOS X again)
2520 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2523 Build the gio subdirectory before the docs. Otherwise the build will
2526 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2527 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2528 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2529 Add guards to the public functions.
2531 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2533 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2534 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2535 to prevent a compiler warning.
2537 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2538 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2539 return something in the non-void function find_topdir_for().
2541 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2548 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2550 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2551 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2552 * gwin32appinfo.c (g_win32_app_info_launch):
2553 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2554 envp_for_startup_id, g_desktop_app_info_launch,
2555 g_desktop_app_info_launch_uris):
2557 Give an opaque 'startup_id' string instead of 'envp'.
2558 Support empty file lists for launching new windows.
2559 Fix infinite recursion bug when launching URIs.
2561 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2564 Add guard to the new g_file_get_uri_scheme() function.
2566 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2569 Convert a g_return_val_if_fail() to setting the GError instead as
2570 otherwise applications have to verify the parameter before otherwise
2571 and the parameter might come directly from the user.
2573 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2575 * gio/inotify/ginotify*.[ch]:
2576 Add missing copyright information.
2578 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2581 Add guards in the beginning of public functions to check for valid
2582 parameters and fix a bug in copy_stream_with_progress() that could've
2583 caused writing less bytes than reading.
2584 * gio/glocalfileinfo.c:
2585 Check for a NULL parameter and set the GError accordingly then.
2586 * gio/goutputstream.c:
2587 Fix the same bug as in gfile.c that could've caused writing less bytes
2588 than reading in g_output_stream_real_splice().
2590 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2593 Use the correct gvolumeprivate.h naming
2595 2007-11-01 Christian Kellner <gicmo@gnome.org>
2598 Remove leftover "$(daemon_sources)" entry.
2600 2007-11-01 Christian Kellner <gicmo@gnome.org>
2605 Add copyright information to source files.
2607 2007-11-01 Alexander Larsson <alexl@redhat.com>
2611 Add g_file_get_uri_scheme
2613 2007-11-01 Alexander Larsson <alexl@redhat.com>
2616 * gio/gdesktopappinfo.c:
2617 * gio/gwin32appinfo.c:
2618 Add g_app_info_get_default_for_uri_scheme.
2620 2007-11-01 Alexander Larsson <alexl@redhat.com>
2623 Correct filename for gdriveprivate.h
2625 2007-10-31 Alexander Larsson <alexl@redhat.com>
2628 Rename id:value to id:file
2631 * gio/glocalfileinfo.c:
2634 2007-10-31 Alexander Larsson <alexl@redhat.com>
2636 * gio/gunixvolume.c:
2638 Remove g_volume_get_platform_id, as thats not
2639 needed with the simpler union volume monitor
2641 2007-10-31 Alexander Larsson <alexl@redhat.com>
2644 * gio/guniondrive.[ch]: Removed.
2645 * gio/gunionvolume.[ch]: Removed.
2646 Remove GUnionDrive/Volume
2648 * gio/gunionvolumemonitor.c:
2649 Simplify union volume monitor, now we
2650 only have one native volume monitor and
2651 we use the actual volumes/drives from the
2652 child monitors instead of wrapping them
2654 * gio/gnativevolumemonitor.[ch]:
2655 Base class for native volume monitors.
2656 Includes priority and get_volume_for_mountpoint
2659 Add g_file_find_enclosing_volume
2662 Remove volume name fs attribute
2663 Add readonly fs attribute
2666 Implement readonly attribute
2667 remove volume name attribute
2668 Implement find_enclosing volume
2670 * gio/gunixmounts.c:
2671 Add a volume for "/".
2673 * gio/gunixvolume.[ch]:
2674 Set better name for /
2676 * gio/gunixvolumemonitor.[ch]:
2677 Derive from GNativeVolumeMonitor
2678 Implement get_volume_for_mountpoint
2681 GVolume typedef moved to gfile.h
2683 * gio/gvolumeprivate.h:
2684 Add g_volume_get_for_mount_path
2686 2007-10-31 Alexander Larsson <alexl@redhat.com>
2688 * gio/gunixmounts.[ch]:
2689 Add cache info to unix mount listers
2690 Make getmntent use threadsafe
2691 Add is_system_internal attribute for GUnixMount
2693 * gio/gunixvolume.c:
2694 (g_unix_volume_new):
2695 Use is_system_internal instead of own code
2697 * gio/glocaldirectorymonitor.c:
2698 * gio/gunixvolumemonitor.c:
2699 Update to new gunixmounts API
2704 2007-10-30 Alexander Larsson <alexl@redhat.com>
2707 Add volume name fsinfo attribute
2710 Read volume name info
2712 * gio/gunionvolumemonitor.c:
2713 Fix infinite loops when finalizing a union volume monitor
2715 2007-10-30 Alexander Larsson <alexl@redhat.com>
2717 * gio/goutputstream.[ch]:
2718 Add splice() with default implementation
2720 * gio/gsocketoutputstream.c:
2721 (g_socket_output_stream_write):
2722 Return error on cancellation correctly.
2724 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2726 * gio/glocalfile.c (g_local_file_trash):
2727 Do not leak a string.
2729 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2731 * gio/gfile.c (g_file_load_contents):
2732 Unref the stream after closing it.
2734 2007-10-25 Alexander Larsson <alexl@redhat.com>
2736 * gio/gioscheduler.h:
2739 2007-10-25 Alexander Larsson <alexl@redhat.com>
2743 Add g_file_has_uri_scheme and implement for local files
2745 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2747 * gio/gdesktopappinfo.c: do not leak a string.
2749 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2751 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2752 (g_local_directory_monitor_new):
2753 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2754 (g_local_file_monitor_new):
2755 Only look for the monitor type that should be used the first time
2756 and use g_qsort_with_data() instead of our own bubble sort
2759 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2762 * gio/fam/Makefile.am:
2763 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2764 * gio/fam/fam-helper.h:
2765 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2766 * gio/fam/gfamdirectorymonitor.c:
2767 * gio/fam/gfamdirectorymonitor.h:
2768 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2769 * gio/fam/gfamfilemonitor.h:
2770 * gio/glocaldirectorymonitor.c:
2771 * gio/glocaldirectorymonitor.h:
2772 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2773 * gio/glocalfilemonitor.h:
2774 * gio/inotify/Makefile.am:
2775 * gio/inotify/ginotifydirectorymonitor.c:
2776 * gio/inotify/ginotifydirectorymonitor.h:
2777 * gio/inotify/ginotifyfilemonitor.c:
2778 * gio/inotify/ginotifyfilemonitor.h:
2779 Implement the FAM and Inotify monitors as
2780 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2781 their own GIO module. GLocal(Directory|File)Monitor will use the
2782 monitor with the highest rank that is supported on that machine.
2784 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2787 Change GIO module dir to $(libdir)/gio/modules and change
2788 the log domain from GVFS to GIO. Also only export symbols starting
2789 with g_ in the resulting library.
2790 * gio/test-streams.c: (main):
2791 Set log handler for the GIO log domain.
2793 2007-10-22 Alexander Larsson <alexl@redhat.com>
2795 * gio/gfilenamecompleter.[ch]:
2796 Add g_filename_completer_set_dirs_only
2798 2007-10-22 Alexander Larsson <alexl@redhat.com>
2801 * gio/gurifuncs.[ch]:
2802 Add some simple URI helpers
2804 * gio/gfilenamecompleter.[ch]:
2805 Added object for filename (parse name actually) completion
2808 Handle ~ in parse names
2810 2007-10-17 Alexander Larsson <alexl@redhat.com>
2813 * gio/glocalfileinfo.c:
2814 Add and implement id:value attribute
2816 2007-10-17 Alexander Larsson <alexl@redhat.com>
2819 * gio/guniondrive.c:
2821 Add and implement g_drive_has_volumes
2823 2007-10-17 Alexander Larsson <alexl@redhat.com>
2826 * gio/glocalfileinfo.[ch]:
2827 Add unix:is_mountpoint and implement for local files
2829 2007-10-16 Alexander Larsson <alexl@redhat.com>
2831 * gio/gunionvolumemonitor.c:
2832 (g_union_volume_monitor_init):
2833 Fix up the unix type getting so that it works with gcc
2835 2007-10-12 Alexander Larsson <alexl@redhat.com>
2838 * gio/glocalfileinfo.c:
2839 Add thumbnail:failed to file info
2841 2007-10-12 Richard Hult <richard@imendio.com>
2843 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2844 optimizing away the get_type call (happens with some gcc versions,
2845 like the one shipped with OS X 10.4).
2847 2007-10-12 Alexander Larsson <alexl@redhat.com>
2849 * gio/glocalfileinfo.c:
2850 (_g_local_file_info_set_attribute):
2851 Fix build if not HAVE_XATTR
2852 Patch from Milosz Derezynski <internalerror@gmail.com>
2854 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2856 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2857 around for review, otherwise I would have asked you before
2860 2007-10-11 Alexander Larsson <alexl@redhat.com>
2863 Add thumbnail:path attribute
2865 * gio/glocalfileinfo.c:
2866 Implement thumbnail:path for local files
2868 2007-10-11 Alexander Larsson <alexl@redhat.com>
2870 * gio/glocalfileinfo.c:
2871 (_g_local_file_info_get):
2872 Avoid duplicate icon names
2874 2007-10-11 Alexander Larsson <alexl@redhat.com>
2876 * gio/gthemedicon.[ch]:
2877 Change g_themed_icon_get_names return type to const
2879 2007-10-10 Alexander Larsson <alexl@redhat.com>
2881 * gio/glocalfileinfo.c:
2882 Don't reference freed memory
2884 2007-10-10 Alexander Larsson <alexl@redhat.com>
2886 * gio/gfileattribute.c:
2889 * gio/glocalfileinfo.c:
2892 2007-10-10 Alexander Larsson <alexl@redhat.com>
2895 Check for NULL icons
2897 * gio/gfileattribute.c:
2898 Don't dup when getting objects (same as for string attributes)
2900 * gio/gicon.c (g_icon_equal):
2901 Safely handle NULLs in equal
2903 2007-10-10 Alexander Larsson <alexl@redhat.com>
2906 Fix c++ compilation issues
2907 Patch from Milosz Derezynski <internalerror@gmail.com>
2909 2007-10-10 Alexander Larsson <alexl@redhat.com>
2911 * programs/gio-monitor-dir.c:
2912 Don't crash if dir monitor not supported.
2914 2007-10-09 Alexander Larsson <alexl@redhat.com>
2917 Add missing G_END_DECLS
2919 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2921 * gio/gfile.c: (g_file_set_display_name),
2922 (g_file_query_settable_attributes),
2923 (g_file_query_writable_namespaces):
2924 Return NULL not FALSE on errors as the return type is a pointer.
2926 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2928 * gio/glocalfile.c: (g_local_file_monitor_file):
2929 Don't call monitor_file on the default interface vtable (which
2930 is NULL) but simply return NULL. The caller, GFile, will create a
2931 polling monitor if NULL is returned.
2933 2007-10-09 Alexander Larsson <alexl@redhat.com>
2937 * gio-unix-2.0.pc.in:
2938 Add gio-unix-2.0.pc if OS_UNIX
2941 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2943 2007-10-09 Alexander Larsson <alexl@redhat.com>
2945 * gio/gunixmounts.[ch]:
2946 Make unix mount monitoring API sane.
2947 Now its just a object with mounts_changed
2948 and mountpoints_changed signals.
2950 * gio/glocaldirectorymonitor.c:
2951 * gio/gunixvolumemonitor.c:
2952 Use new mount monitor api
2954 2007-10-09 Alexander Larsson <alexl@redhat.com>
2956 * gio/gunixmounts.[ch]:
2957 Move guess type into one call for mounts and one for mountpoints
2960 * gio/gunixvolume.c:
2963 2007-10-09 Alexander Larsson <alexl@redhat.com>
2965 * gio/gunixmounts.[ch]:
2966 Remove _ prefix in preparation to make this semi-public
2967 Hide implementation of structs
2969 * gio/glocaldirectorymonitor.c:
2971 * gio/gunixvolume.c:
2972 * gio/gunixvolumemonitor.c:
2973 Update for above API changes
2975 2007-10-08 Alexander Larsson <alexl@redhat.com>
2978 Better polling fallback. This also handles the case where we have
2979 a monitor_file implementation, but it fails.
2981 2007-10-08 Alexander Larsson <alexl@redhat.com>
2985 * gio/gunixmounts.c:
2986 * programs/gio-monitor-dir.c:
2987 * programs/gio-monitor-file.c:
2988 Added cancellable to file monitoring calls.
2989 These are really sync calls and need this.
2991 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
2993 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
2994 (g_local_vfs_class_init):
2995 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
2996 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
2998 2007-10-05 Alexander Larsson <alexl@redhat.com>
3000 * gio/gdirectorymonitorprivate.h:
3001 * gio/gfilemonitorprivate.h:
3002 * gio/gdirectorymonitor.h:
3003 * gio/gfilemonitor.h:
3004 Remove *private.h and move to the public API, so that
3005 we can do implementations outside gio (such as in gvfs)
3007 * gio/gdirectorymonitor.c:
3008 * gio/gfilemonitor.c:
3009 * gio/glocaldirectorymonitor.c:
3010 * gio/gpollfilemonitor.c:
3011 * gio/inotify/inotify-helper.c:
3012 * gio/fam/fam-helper.c:
3013 Update to the new header names
3015 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3017 * gio/gdirectorymonitor.c:
3018 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3021 2007-10-04 Alexander Larsson <alexl@redhat.com>
3023 * gio/glocalfileinfo.c (get_access_rights):
3024 Set CAN_TRASH when we can move the file.
3025 We should really also check for a parent trash dir.
3027 2007-10-04 Alexander Larsson <alexl@redhat.com>
3029 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3030 Add can_trash access attribute
3032 2007-10-04 Alexander Larsson <alexl@redhat.com>
3035 (g_local_file_trash):
3036 Create info file first. This is per-spec and allows
3037 us to actually trash directories.
3039 2007-10-02 Alexander Larsson <alexl@redhat.com>
3041 * gio/gdesktopappinfo.c:
3042 Implement the new mime support code.
3043 Always set app as handling mimetype when being set as default for it
3045 2007-10-01 Alexander Larsson <alexl@redhat.com>
3047 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3048 Fix up check for xattrs:
3050 2007-10-01 Alexander Larsson <alexl@redhat.com>
3053 (g_app_info_set_as_default_for_extension):
3054 (g_app_info_add_supports_type):
3055 (g_app_info_can_remove_supports_type):
3056 (g_app_info_remove_supports_type):
3057 Make these fail nicely if not implemented
3059 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3061 * gio/glocalfileoutputstream.c:
3062 * gio/glocalfileoutputstream.h:
3067 * programs/gio-save.c:
3068 Add a GFileCreateFlags argument to operations that can create
3071 2007-10-01 Alexander Larsson <alexl@redhat.com>
3073 * gio/gappinfo.[ch]:
3074 * gio/gdesktopappinfo.c:
3075 Add more (stubbed out) mime API needed for nautilus
3077 2007-10-01 Alexander Larsson <alexl@redhat.com>
3080 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3081 Add g_app_info_set_as_default_for_extension.
3083 * gio/gdesktopappinfo.c:
3084 Dummy for g_app_info_set_as_default_for_extension
3085 Support flags in g_app_info_create_from_commandline
3087 * gio/gwin32appinfo.c:
3089 Update for API changes
3091 * gio/gthemedicon.c:
3092 Properly NULL-terminate list of icon names
3094 2007-09-28 Alexander Larsson <alexl@redhat.com>
3096 * gio/gloadableicon.h:
3097 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3099 2007-09-28 Alexander Larsson <alexl@redhat.com>
3102 Install headers in $includedir/gio-standalone/
3104 * gio-2.0.pc.in: Added.
3105 * gio-standalone.pc.in: Removed.
3108 Renamed pkg-config file to match glib (for future move)
3109 Update to the new include dir
3112 Add more TODO comments
3114 2007-09-28 Alexander Larsson <alexl@redhat.com>
3116 * gio/gdesktopappinfo.[ch]:
3117 Expose new_from_filename
3118 Add getter for is_hidden and handle it better
3120 2007-09-28 Alexander Larsson <alexl@redhat.com>
3122 * gio/gfileinfo.[ch]:
3123 Rename g_file_size_format_for_display to
3124 g_format_file_size_for_display.
3125 Now it doesn't have the g_file prefix, so we
3126 can later move it to glib.
3128 2007-09-28 Alexander Larsson <alexl@redhat.com>
3130 * gio/gappinfo.[ch]:
3131 Add g_app_info_get_id and g_app_info_get_executable.
3132 Make all getters non-reffing
3133 Make g_app_info_launch take GFile arguments.
3134 Add must_support_uris argument to g_app_info_get_default_for_type.
3136 * gio/gwin32appinfo.c:
3137 Update to GAppInfo api changes
3139 * gio/gdesktopappinfo.c:
3140 Update to GAppInfo api changes
3141 Implement supports_xdg_startup_notify
3143 * gio/gfileicon.c (g_file_icon_get_file):
3144 Make getter non-reffing.
3149 2007-09-27 Alexander Larsson <alexl@redhat.com>
3151 * gio/gfileinfo.[ch]:
3152 Add g_file_size_format_for_display helper
3154 2007-09-27 Alexander Larsson <alexl@redhat.com>
3156 * gio/glocalfileinfo.c:
3157 Set UNIX_GID from gid, not from uid
3159 2007-09-27 Alexander Larsson <alexl@redhat.com>
3162 Add g_file_set_attributes_async
3164 2007-09-27 Alexander Larsson <alexl@redhat.com>
3166 * gio/glocalfile.c (g_local_file_set_display_name):
3167 Fix set_display_name to actually rename to the right place.
3168 Use lstat to look for existing files so we don't overwrite
3171 2007-09-26 Alexander Larsson <alexl@redhat.com>
3174 Add g_file_set_display_name_async()
3176 2007-09-26 Alexander Larsson <alexl@redhat.com>
3179 Add load_partial_contents async calls
3182 Make internal function static
3184 2007-09-26 Alexander Larsson <alexl@redhat.com>
3186 * gio/glocalfileinfo.c:
3187 Correctly detect broken symlinks
3189 2007-09-26 Alexander Larsson <alexl@redhat.com>
3191 * gio/gcancellable.c (g_cancellable_cancel):
3192 Allow cancel on NULL cancellable
3194 2007-09-25 Alexander Larsson <alexl@redhat.com>
3196 * gio/gsimpleasyncresult.c:
3197 Don't allocate g_error manually.
3198 Fixes g_slice/g_new mixup crash
3200 2007-09-25 Alexander Larsson <alexl@redhat.com>
3202 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3203 Actually set active_backend.
3204 This means the monitor will be cancelled correctly.
3206 2007-09-25 Alexander Larsson <alexl@redhat.com>
3208 * gio/gdirectorymonitor.c:
3209 Set timeout to NULL when destroying
3211 2007-09-25 Alexander Larsson <alexl@redhat.com>
3214 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3215 that is a better description of the error.
3217 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3219 * gio/gvfs.c: (g_vfs_get_local):
3220 Make the local vfs variable static. The same instance should
3223 2007-09-24 Alexander Larsson <alexl@redhat.com>
3225 * gio/glocalfileinfo.c:
3226 Pass in actual length read into sniffer, not the length
3229 2007-09-21 Alexander Larsson <alexl@redhat.com>
3231 * gio/gfileenumerator.c:
3234 * gio/gfileinputstream.c:
3235 * gio/gfileoutputstream.c:
3236 * gio/ginputstream.c:
3237 * gio/goutputstream.c:
3238 Don't crash if async callbacks are NULL
3240 2007-09-20 Alexander Larsson <alexl@redhat.com>
3243 Add async enumerate_children method and default
3246 2007-09-20 Alexander Larsson <alexl@redhat.com>
3249 Add g_file_contains_file & g_file_get_relative_path, since they
3250 were needed for nautilus.
3251 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3256 Implement new methods
3258 2007-09-17 Alexander Larsson <alexl@redhat.com>
3261 * gio/gfileinputstream.[ch]:
3262 * gio/gfileoutputstream.[ch]:
3264 * gio/glocalfileenumerator.[ch]:
3265 * gio/glocalfileinfo.[ch]:
3266 * gio/glocalfileinputstream.c:
3267 * gio/glocalfileoutputstream.c:
3268 * gio/gpollfilemonitor.c:
3269 * programs/gio-copy.c:
3270 * programs/gio-info.c:
3271 * programs/gio-move.c:
3272 Rename get_file_info to query_info() to make it clearer
3273 that these are not simple getters, but do i/o.
3275 2007-09-17 Alexander Larsson <alexl@redhat.com>
3277 * gio/gdatainputstream.[ch]:
3278 * gio/test-streams.c:
3279 Use _read_XXX instead of _get_XXX for the i/o calls
3282 2007-09-17 Alexander Larsson <alexl@redhat.com>
3285 Added needed stuff to TODO comment
3287 2007-09-17 Alexander Larsson <alexl@redhat.com>
3289 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3290 Don't error out removing the backup copy if it doesn't
3293 2007-09-14 Alexander Larsson <alexl@redhat.com>
3295 * programs/Makefile.am:
3296 * programs/gvfs-*.c:
3298 Renamed apps from gvfs-xxx to gio-xxx.
3300 2007-09-14 Alexander Larsson <alexl@redhat.com>
3303 * gio/gfileoutputstream.[ch]:
3304 * gio/glocalfileoutputstream.c:
3305 * programs/gvfs-save.c:
3306 g_file_output_stream_get_etag doesn't do i/o, so remove
3307 cancellation and error.
3309 2007-09-14 Alexander Larsson <alexl@redhat.com>
3312 Add new_etag output to replace_contents functions
3314 2007-09-14 Alexander Larsson <alexl@redhat.com>
3316 * gio/gfileoutputstream.[ch]:
3317 Add async get_file_info and default implementation
3319 2007-09-14 Alexander Larsson <alexl@redhat.com>
3321 * gio/gfileinputstream.c:
3322 Implement fallback wrapper for async get_file_info
3324 2007-09-14 Alexander Larsson <alexl@redhat.com>
3327 Add etag out argument to load_contents
3332 2007-09-14 Alexander Larsson <alexl@redhat.com>
3334 * gio/gcontenttype.c (looks_like_text):
3335 Whitespace like tab, cr and lf do not make the
3338 2007-09-14 Alexander Larsson <alexl@redhat.com>
3340 * gio/gfileinputstream.[ch]:
3341 Add async get_file_info.
3343 2007-09-13 Alexander Larsson <alexl@redhat.com>
3345 * gio/goutputstream.c (g_output_stream_write_all):
3346 Allow NULL for bytes_written
3348 2007-09-13 Alexander Larsson <alexl@redhat.com>
3350 * gio/gmemoryinputstream.[ch]:
3351 Add accessors for data
3353 2007-09-13 Alexander Larsson <alexl@redhat.com>
3355 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3356 Don't crash if length is NULL