1 2008-02-06 Michael Natterer <mitch@imendio.com>
3 * gfileinfo.c (g_file_info_get_icon): replace
4 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
6 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
8 * gfile.c (g_file_create):
9 Documentation update of error codes
11 2008-02-06 Alexander Larsson <alexl@redhat.com>
14 Update to use both mimeapps.list and
15 defaults.list as discussed on xdg list.
17 2008-02-06 Benjamin Otte <otte@gnome.org>
20 * gfilenamecompleter.c:
21 Fix some typos in the documentation.
23 2008-02-06 Alexander Larsson <alexl@redhat.com>
25 * glocalfile.c (g_local_file_trash):
26 Don't succeed with trash if newly created
27 trash dir has the wrong owner. (#514696)
29 2008-02-05 Alexander Larsson <alexl@redhat.com>
31 * glocalfile.c (g_local_file_move):
32 Don't spew warnings when destination is not
35 2008-02-03 Hans Breuer <hans@breuer.org>
37 * makefile.msc : update
39 2008-02-01 Michael Natterer <mitch@imendio.com>
41 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
42 return value of xdg_mime_list_mime_parents() to a variable of the
45 2008-02-01 Alexander Larsson <alexl@redhat.com>
47 * gappinfo.c (g_app_info_launch_uris):
48 Actually call the launch_uris method, not
51 2008-02-01 Alexander Larsson <alexl@redhat.com>
53 * gdesktopappinfo.c (g_desktop_app_info_equal):
54 Ensure appinfos with no id but same pointer value
57 2008-02-01 Alexander Larsson <alexl@redhat.com>
59 * gappinfo.c (g_app_info_launch_default_for_uri):
62 2008-02-01 Alexander Larsson <alexl@redhat.com>
66 Add g_app_info_launch_default_for_uri utility
69 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
72 Doc fix for g_app_info_get_default_for_uri_scheme ()
75 2008-01-30 Alexander Larsson <alexl@redhat.com>
78 Add doc comment about uris vs GFiles to
82 Ensure uris passed to g_app_info_launch_uris()
83 are not roundtriped through GFile (as that
84 may be slightly destructive for e.g. mailto: links)
86 2008-01-30 Alexander Larsson <alexl@redhat.com>
88 * tests/data-input-stream.c:
89 * tests/data-output-stream.c:
90 C89 fixes from Jens Granseuer (#512849)
92 2008-01-30 Alexander Larsson <alexl@redhat.com>
95 Fix gamin/fam difference build issue. (#509419)
97 2008-01-29 Alexander Larsson <alexl@redhat.com>
101 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
103 2008-01-29 Alexander Larsson <alexl@redhat.com>
107 giomodule-priv.h include moved to .c file.
109 2008-01-29 Alexander Larsson <alexl@redhat.com>
111 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
112 Remove unused prio/name fields.
114 2008-01-29 Alexander Larsson <alexl@redhat.com>
116 * gcontenttype.c (looks_like_text):
117 Don't treat whitespace as control chars.
119 2008-01-29 Alexander Larsson <alexl@redhat.com>
122 Lazily create the desktop files for appinfos created
123 by g_app_info_create_from_commandline() when needed
124 for mime associations. This allows run-time use
125 of GAppInfo object without creating unnecessary
128 2008-01-29 Alexander Larsson <alexl@redhat.com>
131 Added new symbols to gio.symbols
133 2008-01-29 Alexander Larsson <alexl@redhat.com>
136 Add g_file_query_default_handler utility to easily look up
137 the GAppInfo that handles a file.
139 * gdesktopappinfo.[ch]:
141 Set up an extension point for g_app_info_get_default_for_uri_scheme()
144 Remove unused function
146 2008-01-29 Alexander Larsson <alexl@redhat.com>
149 Mention need to free returned value in
150 g_file_enumerator_next_files_finish docs.
151 Fix leak if g_file_enumerator_next_files_finish()
154 2008-01-29 Alexander Larsson <alexl@redhat.com>
157 (_g_unix_content_type_get_parents):
158 Use list_parents, not get_parents from xdgmime, because
159 the later doesn't use the cache.
161 * xdgmime/xdgmimecache.c:
162 (_xdg_mime_cache_list_mime_parents):
163 Don't list the same type as parent multiple times.
165 2008-01-28 Matthias Clasen <mclasen@redhat.com>
167 * === Released 2.15.4 ===
169 2008-01-28 Alexander Larsson <alexl@redhat.com>
172 Register local vfs with prio 0.
175 Remove old name and prio class members
177 2008-01-28 Matthias Clasen <mclasen@redhat.com>
179 * tests/g-file.c: Disable some tests that are failing in
180 the absence of a http backend.
182 2008-01-28 Alexander Larsson <alexl@redhat.com>
186 Add registration hooks for extension points.
187 Register the gio extension points.
189 * fam/gfamdirectorymonitor.c:
190 * fam/gfamfilemonitor.c:
191 * glocaldirectorymonitor.[ch]:
192 * glocalfilemonitor.[ch]:
193 * gnativevolumemonitor.h:
194 * gunionvolumemonitor.c:
195 * gunixvolumemonitor.c:
198 * inotify/ginotifydirectorymonitor.c:
199 * inotify/ginotifyfilemonitor.c:
200 Use the extension points registration instead
201 of g_type_children().
203 2008-01-28 Matthias Clasen <mclasen@redhat.com>
206 * gvolume.[hc]: Document new API.
208 * gfile.c (g_file_copy_async): Fix docs
210 2008-01-27 Matthias Clasen <mclasen@redhat.com>
212 * gbufferedinputstream.c:
214 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
217 2008-01-27 Matthias Clasen <mclasen@redhat.com>
219 * glocalfile.c: Avoid trivial differences in translatable strings.
221 2008-01-25 Matthias Clasen <mclasen@redhat.com>
223 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
224 build with gcc 3.4 (#509419)
226 2008-01-25 Matthias Clasen <mclasen@redhat.com>
228 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
229 (#509994, Murray Cumming)
231 2008-01-25 Matthias Clasen <mclasen@redhat.com>
233 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
234 * gioscheduler.c: Keep calling io jobs until they return FALSE;
235 this allows big jobs to be executed in chunks, instead of blocking
236 the main loop for a long time.
238 * gsimpleasyncresult.c:
239 * giofile.c: Adapt callers.
241 2008-01-25 Alexander Larsson <alexl@redhat.com>
244 Implement changes discussed on xdg list.
245 Now we can add supported mimetypes by just using defaults.list
246 We can also remove associations in defaults.list.
248 2008-01-25 Alexander Larsson <alexl@redhat.com>
251 Don't make local copy of desktop file
252 for mimetype changes if the file already
253 supports the new mimetype.
255 2008-01-25 Matthias Clasen <mclasen@redhat.com>
259 * gbufferedinputstream.c:
260 * glocalfile.c: String improvements. (#511966,
261 Theppitak Karoonboonyanan)
263 2008-01-24 Matthias Clasen <mclasen@redhat.com>
265 * gioscheduler.h: Expand docs a bit.
267 2008-01-24 Alexander Larsson <alexl@redhat.com>
270 Add g_drive_get_identifier and
271 g_drive_enumerate_identifiers
274 Add g_volume_get_identifier and
275 g_volume_enumerate_identifiers
281 Implement identifiers for unix backend
283 2008-01-24 Alexander Larsson <alexl@redhat.com>
288 Add g_file_copy_async() (#511580)
289 Based on patch from Carlos Garcia Campos
291 2008-01-23 Matthias Clasen <mclasen@redhat.com>
293 * gioscheduler.c: Some documentation additions.
295 2008-01-22 Alexander Larsson <alexl@redhat.com>
298 (g_desktop_app_info_new):
301 2008-01-22 Alexander Larsson <alexl@redhat.com>
304 (g_desktop_app_info_new_from_filename):
307 2008-01-22 Alexander Larsson <alexl@redhat.com>
309 * glocalfileinfo.c (get_thumbnail_attributes):
312 2008-01-22 Alexander Larsson <alexl@redhat.com>
315 (canonicalize_filename):
316 Canonicalize paths that start with more than
321 (test_g_file_new_for_path):
324 2008-01-22 Alexander Larsson <alexl@redhat.com>
327 Allow UTF-8 in file:// parse names.
330 * tests/data-input-stream.c:
331 * tests/data-output-stream.c:
332 * tests/g-file-info.c:
334 Added a bunch of tests from Tomas Bzatek
336 2008-01-21 Matthias Clasen <mclasen@redhat.com>
338 * === Released 2.15.3 ===
340 2008-01-21 Alexander Larsson <alexl@redhat.com>
342 * gfileinputstream.[ch]:
343 * gfileoutputstream.[ch]:
345 Remove duplicated GSeekable functions. (#509990)
346 Just use the g_seekable_xxx() calls instead.
348 2008-01-21 Matthias Clasen <mclasen@redhat.com>
351 * gvolumemanager.c: Whitespace cleanups.
353 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
354 Use the right mode when creating the file.
356 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
359 * gfileinputstream.c:
361 * goutputstream.c: Documentation: Fixed minor typos
362 and added more mentions of specific _finish() functions.
364 2008-01-21 Alexander Larsson <alexl@redhat.com>
366 * inotify/Makefile.am:
367 * inotify/inotify-helper.c:
368 * inotify/inotify-kernel.c:
369 * inotify/inotify-path.c:
370 * inotify/local_inotify.h: Removed.
371 * inotify/local_inotify_syscalls.h: Removed.
372 Removed the included copies of the inotify
373 headers. We now only use the <sys/inotify.h>
374 header which exists on modern systems.
375 This fixes problems on ARM and SH5 (#510448)
376 but is also generally much cleaner and future
377 safe. For instance, if other OSes add support
378 for inotify it should "just work".
380 2008-01-20 Matthias Clasen <mclasen@redhat.com>
382 * inotify/*.c: Coding style fixes.
383 * inotify/inotify-missing.c: Use g_timeout_add_seconds
384 for the 1/4 Hz timer.
386 2008-01-20 Matthias Clasen <mclasen@redhat.com>
390 * gmemoryinputstream.c:
391 * gmemoryoutputstream.c:
393 * gthemedicon.c: Documentation updates
395 2008-01-20 Murray Cumming <murrayc@murrayc.com>
397 * gfile.c: documentation: Fixed more minor
400 2008-01-18 Murray Cumming <murrayc@murrayc.com>
402 * gmount.c: (g_mount_remount): documentation:
403 Mention g_mount_remount_finish() instead of
404 g_mount_unmount_finish().
406 2008-01-18 Murray Cumming <murrayc@murrayc.com>
410 * gfile.c: Fixed some minor typos in the
413 2008-01-18 Murray Cumming <murrayc@murrayc.com>
415 * gio/gvolumemonitor.c:
416 (g_volume_monitor_get_connected_drives):
417 (g_volume_monitor_get_volumes):
418 (g_volume_monitor_get_mounts): Documentation:
419 Clarify the ownership of the regurn GLists.
421 2008-01-17 Alexander Larsson <alexl@redhat.com>
424 Add the async find_enclosing_mount version
425 to the header file too.
427 2008-01-17 Alexander Larsson <alexl@redhat.com>
430 Add async version of find_enclosing_mount
431 with default implementation.
433 2008-01-17 Alexander Larsson <alexl@redhat.com>
438 Allow calls to implementation of copy and write
439 even if the type of the file implementations is
440 different. This can be used to implement native
441 upload and download calls in a vfs.
445 Protect against the case where move is called
446 with one file not being local.
448 Make sure we call the progress callback once
449 in the native move operation so that the caller
450 knows how many bytes were copied.
452 2008-01-16 Murray Cumming <murrayc@murrayc.com>
455 * gdatainputstream.c:
457 * gfileoutputstream.c:
462 * gunixmounts.c: Corrected some typos in the documentation:
464 its -> it's (where appropriate).
466 2008-01-16 Alexander Larsson <alexl@redhat.com>
470 Add g_file_query_exists (#508771)
472 2008-01-15 Murray Cumming <murrayc@murrayc.com>
477 * gvolume.c: For async functions that have no non-async
478 version, document that the GAsyncReadyCallback may be NULL.
481 2008-01-15 Alexander Larsson <alexl@redhat.com>
483 * gmemoryinputstream.c:
484 * gmemoryoutputstream.c:
485 Don't do pointer arithmetic on void * (#508602)
486 Patch from Kazuki IWAMOTO
488 2008-01-14 Matthias Clasen <mclasen@redhat.com>
490 * === Released 2.15.2 ===
492 2008-01-14 Alexander Larsson <alexl@redhat.com>
494 * gfile.c (g_file_monitor_file):
495 Don't set error here, since we fallback to polling monitor.
497 2008-01-14 Alexander Larsson <alexl@redhat.com>
500 (g_file_monitor_directory):
501 (g_file_monitor_file):
502 Add GError to file monitor calls
504 * glocaldirectorymonitor.c:
505 * glocaldirectorymonitor.h:
507 * glocalfilemonitor.c:
508 * glocalfilemonitor.h:
510 Update for above change
512 2008-01-14 Alexander Larsson <alexl@redhat.com>
516 Handle root correctly in g_file_get_relative_path (#508719)
518 2008-01-14 Alexander Larsson <alexl@redhat.com>
521 Clean up docs and example for GAsyncResult (#508074)
523 2008-01-11 Murray Cumming <murrayc@murrayc.com>
525 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
526 and correct some spelling mistakes. Bug #508108.
528 2008-01-11 Matthias Clasen <mclasen@redhat.com>
530 * glocalfileinfo.c: Add a comment.
532 2008-01-10 Murray Cumming <murrayc@murrayc.com>
534 * gfileinfo.c: GFileInfo description: Mention
535 how to actually set attributes in a GFile and how to discover
536 which attributes are settable. Bug #508378.
538 2008-01-10 A. Walton <awalton@svn.gnome.org>
540 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
541 (g_app_info_get_default_for_type):
542 Check for NULL content types.
544 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
546 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
548 2008-01-09 Murray Cumming <murrayc@murrayc.com>
550 * gfile.c: *_async() functions: Several small corrections
551 to the documentation, mostly correcting copy/paste errors
552 and improving some sentences.
554 2008-01-09 Dan Winship <danw@gnome.org>
556 * glocalfile.c (get_unique_filename): x86_64 fix
558 2008-01-09 Alexander Larsson <alexl@redhat.com>
563 Add g_unix_mount_guess_should_display and use
564 for unix volume monitor backend.
565 This means we more or less show what the
566 gnome-vfs backend did.
567 Based on patch from Padraig O'Briain
569 2008-01-09 Alexander Larsson <alexl@redhat.com>
573 Add g_themed_icon_new_with_default_fallbacks
576 Use default fallbacks for icons
578 2008-01-09 Alexander Larsson <alexl@redhat.com>
581 * gmountoperation.[ch]:
582 Change the API a bit so that unhandled methods
583 get reported via the reply, rather than by
584 the signal emission return value. This is because
585 some handlers can't know this immediately without
586 doing I/O, and this is an async operation that
589 2008-01-09 Alexander Larsson <alexl@redhat.com>
592 * fam/gfamdirectorymonitor.c:
593 * fam/gfamfilemonitor.c:
594 Fix double free crash (#508224)
595 Patch from Joe Marcus Clarke
597 008-01-07 Matthias Clasen <mclasen@redhat.com>
599 * === Released 2.15.1 ===
601 2008-01-07 Alexander Larsson <alexl@redhat.com>
603 * gunixinputstream.c (g_unix_input_stream_skip_finish):
604 Fix warning (#507835)
606 2008-01-07 Alexander Larsson <alexl@redhat.com>
609 Pass --internal to glib-genmarshal
614 Use better types for signal arguments (#507822)
616 2008-01-07 Alexander Larsson <alexl@redhat.com>
619 Build test subdir after .
620 Remove gdirectorymonitor.[ch]
622 * gdirectorymonitor.[ch]:
626 Remove GDirectoryMonitor and make
627 GFileMonitor the baseclass for both file and
628 directory monitors. Lift the more generic
629 rate limiting code from GDirectoryMonitor
633 * fam/gfamdirectorymonitor.[ch]:
634 * inotify/ginotifydirectorymonitor.[ch]:
635 * inotify/inotify-helper.c:
636 * glocaldirectorymonitor.[ch]:
639 Update for the removed GDirectoryMonitor.
641 * gmemoryoutputstream.c:
642 Remove ununsed variable
644 2008-01-07 Alexander Larsson <alexl@redhat.com>
646 * gmemoryinputstream.c:
647 Translate error strings
650 * gmemoryoutputstream.[ch]:
651 New implementation that avoids using GByteArray
652 in implementation and API. (#506377)
654 2008-01-06 Matthias Clasen <mclasen@redhat.com>
656 * tests/*: Add a test for memory input streams.
658 * Makefile.am: Add tests to SUBDIRS.
660 2008-01-06 Matthias Clasen <mclasen@redhat.com>
662 * glocalfilemonitor.c:
663 * glocaldirectorymonitor.c: Mark property nicks and blurbs
666 2008-01-06 Matthias Clasen <mclasen@redhat.com>
668 * gdesktopappinfo.c: Fix a docs typo.
670 * gfileattribute.c: Add information about extended attributes
671 to the documentation. (#505058)
673 2008-01-04 Alexander Larsson <alexl@redhat.com>
677 Use the right type (uint) for the ask_password signal.
679 2008-01-04 Alexander Larsson <alexl@redhat.com>
684 Add g_app_info_supports_files()
685 Remove desktop arg from g_app_info_should_show().
687 * gdesktopappinfo.[ch]:
688 Implement g_app_info_supports_files() and new should_show()
689 Add g_desktop_app_info_set_desktop_env() to set the desktop
690 for should_show(). (This will be set by gtk+ later)
692 2008-01-04 Alexander Larsson <alexl@redhat.com>
695 * gmemoryinputstream.[ch]:
696 Improve API so that you can use multiple chunks
697 of memory and custom destroy functions. (#506374)
699 2008-01-03 Alexander Larsson <alexl@redhat.com>
702 Handle NULL attribute matchers safely, as we return this
703 for empty attribute matcher strings.
705 2008-01-03 Alexander Larsson <alexl@redhat.com>
707 * gunixmounts.c (g_unix_is_mount_path_system_internal):
708 Add /usr/local to list of internal mountpoints
710 2008-01-03 Alexander Larsson <alexl@redhat.com>
713 Check for HAVE_LCHOWN (#505887)
715 2008-01-03 Alexander Larsson <alexl@redhat.com>
719 Add define for selinux context attribute.
720 Fix missing : -> :: namespace separator change
721 Fix missing _ -> - name change for xattr-sys.
724 2008-01-03 Alexander Larsson <alexl@redhat.com>
727 Link to libglib and libgobject directly (#504879)
728 Patch from Sebastien Bacher
730 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
732 * gfile.c: Expanded the g_file_new_for_commandline_arg
733 description a bit, based on the code and the docs of the
734 other g_file_new_for_* functions.
736 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
738 * gfilemonitor.h: Fixed typo in docs.
740 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
742 Updates to GIO documentation. (#506395, Mikael Hermansson)
744 * gcontenttype.c: Describe memory management for return value of
745 g_content_types_get_registered(). Missing piece from #505815.
746 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
747 GVolume, GDrive, GMounts, which hopefully gives the user less
748 confusions when using this API. Following explainations from
749 Alexander Larsson on gtk-devel-list.
751 2007-12-30 Matthias Clasen <mclasen@redhat.com>
753 * gfileinfo.c: Expand the long description.
755 2007-12-30 Matthias Clasen <mclasen@redhat.com>
758 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
759 fix builds with --disable-visibility. (#500273, Christian Persch)
761 2007-12-30 Matthias Clasen <mclasen@redhat.com>
763 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
764 in the list of returned app infos.
766 2007-12-30 Matthias Clasen <mclasen@redhat.com>
768 * gappinfo.c: Fix a cross-reference
770 2007-12-30 Matthias Clasen <mclasen@redhat.com>
772 * gfileinputstream.c:
773 * gfileoutputstream.c:
779 * gfileinfo.c: Documentation updates.
781 2007-12-26 Matthias Clasen <mclasen@redhat.com>
783 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
786 2007-12-26 Matthias Clasen <mclasen@redhat.com>
788 * gcontenttype.c (g_content_types_get_registered): Don't return
789 freed memory (#505815, Mikael Hermansson)
791 2007-12-25 Paolo Borelli <pborelli@katamail.com>
793 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
794 used to detect statbuf->st_blocks. (#505042)
796 2007-12-24 Matthias Clasen <mclasen@redhat.com>
798 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
799 environment handling. (#504829, Cosimo Cecchi)
801 2007-12-22 Matthias Clasen <mclasen@redhat.com>
803 * gappinfo.c: Doc improvements
805 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
808 2007-12-20 Matthias Clasen <mclasen@redhat.com>
810 * === Released 2.15.0 ===
812 2007-12-20 Hans Breuer <hans@breuer.org>
814 * makefile.msc : don't build gdesktopappinfo.obj, it collides
815 with symbols gwin32appinfo.obj, added gmount.obj
816 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
818 2007-12-20 Alexander Larsson <alexl@redhat.com>
824 * gfilenamecompleter.c:
827 * gpollfilemonitor.c:
828 File attribute renames:
831 id::fs -> id::filesystem
833 2007-12-20 Alexander Larsson <alexl@redhat.com>
842 Add GMountUnmountFlags to all unmount and
844 Add g_mount_remount() call.
846 2007-12-20 Alexander Larsson <alexl@redhat.com>
848 * gvfs.c (get_default_vfs):
849 Fix unused variable warning
851 2007-12-19 Matthias Clasen <mclasen@redhat.com>
853 * pltcheck.sh: Update
855 2007-12-19 Matthias Clasen <mclasen@redhat.com>
857 * gunionvolumemonitor.c:
858 * gunixmount.c: Remove C99 comments
860 2007-12-19 Matthias Clasen <mclasen@redhat.com>
862 * gio.symbols: Add some missing symbols
864 2007-12-19 Alexander Larsson <alexl@redhat.com>
867 Make g_io_modules_load_all_in_directory not unuse
868 loaded modules so that users of it can do stuff
870 Init internal "module" types.
871 Initialize static prio and name for types so that
872 we don't have to load modules to get it.
874 * gnativevolumemonitor.h:
876 Move is_supported to parent class so that
877 non-native monitors can avoid being initialized
878 too. (For instance GDaemonVolumeMonitor if we're
879 not using GDaemonVfs.)
881 * glocaldirectorymonitor.[ch]:
882 * glocalfilemonitor.[ch]:
883 * gunionvolumemonitor.c:
884 * gunixvolumemonitor.c:
886 Find plugins using the static prio+name to
887 avoid unnecessarily loading the modules.
889 2007-12-19 Alexander Larsson <alexl@redhat.com>
894 2007-12-19 Alexander Larsson <alexl@redhat.com>
896 * gunionvolumemonitor.c:
897 Store the native type as GType, not class so that
898 we can unload it. But still avoid unnecessarily
901 2007-12-19 David Zeuthen <davidz@redhat.com>
903 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
904 add signals 'disconnected' and 'eject-button' on GDrive. Add
905 signal 'removed' on GVolume and 'unmounted' on GMount.
907 * gdrive.c: (g_drive_base_init):
909 * gfile.c: (g_file_mount_mountable),
910 (g_file_mount_enclosing_volume):
913 * gmount.c: (g_mount_base_init):
915 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
916 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
917 * gvolume.c: (g_volume_base_init), (g_volume_mount):
921 2007-12-17 Matthias Clasen <mclasen@redhat.com>
923 * *.c: Fix up includes in the section docs.
925 2007-12-17 Alexander Larsson <alexl@redhat.com>
927 * gnativevolumemonitor.h:
928 * gunionvolumemonitor.c:
929 * gunixvolumemonitor.c:
930 Add is_supported() to GNativeVolumeMonitorClass so
931 that we can avoid having to create an object to see
932 if the backend is supported at runtime.
933 Also add name member and an env var to pick a specific
934 volume monitor backend.
938 Add cancellable to _g_mount_get_for_mount_path()
940 * glocaldirectorymonitor.c:
941 * glocalfilemonitor.c:
942 Avoid loading and unloading modules while sorting.
944 2007-12-17 Matthias Clasen <mclasen@redhat.com>
947 * gunixmounts.[hc]: Namespace waste reduction, move some
948 g_get_unix_mount functions to the g_unix_mount namespace.
951 * gunixvolumemonitor.c:
953 * glocaldirectorymonitor.c: Update all callers.
955 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
957 2007-12-17 Alexander Larsson <alexl@redhat.com>
960 Add doc comments about what GFile operations are
961 guaranteed to not block.
963 2007-12-17 Alexander Larsson <alexl@redhat.com>
966 Add missing #ifdef fixing OSX build.
967 (#503334, patch from Richard Hult)
969 2007-12-14 David Zeuthen <davidz@redhat.com>
973 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
974 (g_mount_eject), (g_mount_eject_finish):
976 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
977 (get_volume_for_uuid), (get_mount_for_uuid),
978 (g_union_volume_monitor_class_init),
979 (get_default_native_type_with_exclude), (get_default_native_type),
980 (get_native_type), (update_native_type),
981 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
982 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
983 (g_unix_mount_can_eject), (eject_unmount_cb),
984 (eject_unmount_read_error), (eject_unmount_do),
985 (g_unix_mount_unmount), (g_unix_mount_eject),
986 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
987 * gunixmounts.c: (g_unix_mount_guess_can_eject),
988 (g_unix_mount_point_guess_can_eject):
990 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
991 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
992 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
993 (g_unix_volume_mount), (g_unix_volume_eject),
994 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
995 * gunixvolumemonitor.c: (get_volume_for_uuid),
996 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
998 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
999 (g_volume_eject), (g_volume_eject_finish):
1001 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1002 (g_volume_monitor_get_mount_for_uuid):
1005 Provide eject() on both GMount and GVolume and utility functions
1006 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1007 ejected. Introduce the concept of UUID's and wire it into GVolume
1008 and GMount and provide API on GVolumeMonitor to find such
1009 instances. Also handle the case where an external
1010 GNativeVolumeMonitor fails to initialize. Lock around the
1011 _g_get_mount_for_mount_path() function such that volume monitor
1012 implementations won't have to do locking themselves.
1014 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1016 * gdesktopappinfo.c:
1022 * gvolume.h: Documentation updates
1024 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1027 * gfile.h: Doc updates
1029 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1032 * gdesktopappinfo.c: Use hash table iterators.
1034 2007-12-14 Alexander Larsson <alexl@redhat.com>
1037 * gfileattribute.[ch]:
1038 * gfileattribute-priv.h:
1039 Move GFileAttributeValue to a private header, as
1043 Make set_attribute take a type + a pointer instead
1044 of a GFileAttributeValue.
1047 Fix up for above changes.
1048 Add g_file_info_get_attribute_data to get
1049 all info in one call, g_file_info_get_attribute_status
1050 to get the status and g_file_info_get_attribute_as_string.
1054 * glocalfileinfo.[ch]:
1058 Make _guess_type static.
1060 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1063 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1064 made mkenums and friends use temporary files to avoid leaving
1065 empty generated files on failure (#503470).
1067 2007-12-14 Alexander Larsson <alexl@redhat.com>
1069 * gmountoperation.h:
1072 2007-12-14 Alexander Larsson <alexl@redhat.com>
1076 * gfileattribute.[ch]:
1079 * glocalfileoutputstream.c:
1080 * gmountoperation.[ch]:
1081 * goutputstream.[ch]:
1082 Clean up all flags enums to not have _FLAGS in them
1083 Make the names of some of the enums better.
1088 2007-12-14 Michael Natterer <mitch@imendio.com>
1090 * gio.symbols: fix g_io_scheduler symbol names.
1092 2007-12-14 Alexander Larsson <alexl@redhat.com>
1098 * gbufferedinputstream.h:
1099 * gbufferedoutputstream.h:
1102 * gdatainputstream.h:
1103 * gdataoutputstream.h:
1104 * gdesktopappinfo.h:
1105 * gdirectorymonitor.h:
1109 * gfileenumerator.h:
1112 * gfileinputstream.h:
1114 * gfilenamecompleter.h:
1115 * gfileoutputstream.h:
1116 * gfilterinputstream.h:
1117 * gfilteroutputstream.h:
1125 * gmemoryinputstream.h:
1126 * gmemoryoutputstream.h:
1128 * gmountoperation.h:
1131 * gsimpleasyncresult.h:
1133 * gunixinputstream.h:
1135 * gunixoutputstream.h:
1139 * inotify/Makefile.am:
1140 Only allow including <gio/gio.h> from apps
1142 2007-12-14 Alexander Larsson <alexl@redhat.com>
1144 * gioscheduler.[ch]:
1145 * gsimpleasyncresult.c:
1146 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1147 Split out the send_to_mainloop call into two versions instead
1148 of having the block argument.
1150 2007-12-13 Alexander Larsson <alexl@redhat.com>
1152 * gcancellable.[ch]:
1154 * gbufferedinputstream.c:
1155 * gfileenumerator.c:
1156 * gfileinputstream.c:
1157 * gfileoutputstream.c:
1161 g_push/pop_current_cancellable ->
1162 g_cancellable_push/pop_current
1164 2007-12-13 Alexander Larsson <alexl@redhat.com>
1168 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1170 2007-12-13 Alexander Larsson <alexl@redhat.com>
1172 * gmountoperation.h:
1173 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1175 2007-12-12 Alexander Larsson <alexl@redhat.com>
1178 Fix race condition when freeing proxy in
1179 g_io_job_send_to_mainloop().
1181 2007-12-12 Alexander Larsson <alexl@redhat.com>
1187 Make attribute namespace separator "::" instead of ":".
1188 Use - instead of _ as separator in attribute names.
1190 2007-12-12 Alexander Larsson <alexl@redhat.com>
1192 * gbufferedinputstream.h:
1193 * gbufferedoutputstream.h:
1194 * gdatainputstream.h:
1195 * gdataoutputstream.h:
1196 * gdirectorymonitor.h:
1197 * gfileenumerator.h:
1198 * gfileinputstream.h:
1200 * gfileoutputstream.h:
1201 * gfilterinputstream.h:
1202 * gfilteroutputstream.h:
1204 * glocalfileinputstream.h:
1205 * glocalfileoutputstream.h:
1206 * gmemoryinputstream.h:
1207 * gmemoryoutputstream.h:
1208 * gnativevolumemonitor.h:
1210 * gunixinputstream.h:
1211 * gunixoutputstream.h:
1214 s/parent/parent_instance/ in GObjects
1216 2007-12-12 Alexander Larsson <alexl@redhat.com>
1221 No need for padding for interfaces
1223 2007-12-12 Alexander Larsson <alexl@redhat.com>
1227 * gbufferedinputstream.c:
1228 * gbufferedoutputstream.c:
1231 * gdatainputstream.[ch]:
1232 * gdesktopappinfo.c:
1233 * gdirectorymonitor.c:
1235 * gfileattribute.[ch]:
1238 * gfileinputstream.h:
1239 * gfilemonitor.[ch]:
1240 * gfileoutputstream.[ch]:
1241 * gfilterinputstream.h:
1242 * gfilteroutputstream.h:
1245 * gloadableicon.[ch]:
1246 * gmemoryinputstream.c:
1247 * gmountoperation.c:
1249 Fix up a bunch of details in the docs.
1254 2007-12-11 David Zeuthen <davidz@redhat.com>
1256 Rework how volumes, drives and volume monitoring is
1257 done. Previosly the model was
1259 GDrive <1-1> GVolume
1261 where a GDrive instance represented a mount point and a GVolume
1262 instance represented a mounted file system. This patch changes it
1265 GDrive <1-N> GVolume <1-1> GMount
1267 where GMount now serves the purpose of the old GVolume and the new
1268 GVolume serves the purpose of the old GDrive. In addition the new
1269 GDrive interface is used to represent a collection of GVolume
1270 instances (typically partitions) and also contains utility to query
1271 the state of the physical drive the GDrive object represents (such
1272 as checking for media, polling the drive, ejecting the media etc.).
1274 Also implement mounting and unmounting in the Unix volume monitor
1275 backend. A subquent patch will introduce GDrive support for ejection
1279 * gdrive.c: (g_drive_is_media_check_automatic),
1280 (g_drive_is_media_removable), (g_drive_has_media),
1281 (g_drive_can_poll_for_media), (g_drive_eject),
1282 (g_drive_eject_finish), (g_drive_poll_for_media),
1283 (g_drive_poll_for_media_finish):
1285 * gfile.c: (g_file_find_enclosing_mount):
1288 * glocaldirectorymonitor.c:
1289 (g_local_directory_monitor_constructor), (mounts_changed):
1290 * glocalfile.c: (get_mount_info),
1291 (g_local_file_find_enclosing_mount),
1292 (g_local_file_file_iface_init):
1293 * gnativevolumemonitor.h:
1294 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1295 (get_connected_drives), (g_union_volume_monitor_class_init),
1296 (child_volume_added), (child_volume_removed),
1297 (child_volume_changed), (child_mount_added), (child_mount_removed),
1298 (child_mount_pre_unmount), (child_mount_changed),
1299 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1300 (g_union_volume_monitor_remove_monitor),
1301 (_g_mount_get_for_mount_path):
1302 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1303 (guess_system_internal), (_g_get_unix_mounts),
1304 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1305 (g_unix_mount_free), (g_unix_mount_compare),
1306 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1307 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1308 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1309 (type_to_icon), (g_unix_mount_guess_name),
1310 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1311 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1312 (_resolve_symlink), (_resolve_dev_root):
1314 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1315 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1316 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1317 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1318 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1319 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1320 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1321 (g_unix_volume_volume_iface_init):
1323 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1324 (get_mounts), (get_volumes), (get_connected_drives),
1325 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1326 (mountpoints_changed), (mounts_changed),
1327 (g_unix_volume_monitor_init),
1328 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1329 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1330 * gunixvolumemonitor.h:
1331 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1332 (g_volume_mount), (g_volume_mount_finish):
1334 * gvolumemonitor.c: (g_volume_monitor_class_init),
1335 (g_volume_monitor_get_connected_drives),
1336 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1339 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1341 * gmountoperation.h (GPasswordFlags): Close the gap
1343 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1345 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1347 * gdesktopappinfo.[hc]: Remove _-prefixes
1349 2007-12-10 Tor Lillqvist <tml@novell.com>
1351 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1354 2007-12-10 Alexander Larsson <alexl@redhat.com>
1356 * gfile.c (g_file_set_display_name):
1357 Don't hardcode '/' (#502727)
1359 2007-12-09 Hans Breuer <hans@breuer.org>
1361 * makefile.msc : follow lib naming convention
1362 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1363 for user and group name, tested with ../tests/gio-ls
1365 2007-12-09 A. Walton <awalton@svn.gnome.org>
1367 * gdesktopappinfo.c:
1373 * gfileenumerator.c:
1378 * gmemoryinputstream.c:
1379 * gmemoryoutputstream.c:
1381 * gsimpleasyncresult.c:
1382 More documentation cleanup and filling in missing information, bringing
1383 GIO to 99% symbol coverage.
1385 2007-12-08 Hans Breuer <hans@breuer.org>
1387 [gio compiles and links on win32, not sure how much already works]
1388 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1389 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1390 base on win32 API; prefer g_lstat() over lstat(); instead of
1391 localtime_r() use an all GLib implementation on win32;
1392 get_mount_info() still needs a win32 specifc implementation
1393 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1394 win32_get_file_user_info to get owner/group info without uid/gid
1395 * glocalfileinputstream.c : include <io.h> on win32
1396 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1397 definition, use g_win32_ftruncate() for G_OS_WIN32
1398 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1399 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1400 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1401 * makefile.msc : updated
1403 2007-12-07 Alexander Larsson <alexl@redhat.com>
1405 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1406 Avoid warning spew if error == NULL
1408 2007-12-07 Alexander Larsson <alexl@redhat.com>
1411 Update docs wrt etags
1413 2007-12-06 Alexander Larsson <alexl@redhat.com>
1416 Include sys/types.h for dev_t (#501919)
1418 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1422 Make abicheck and pltcheck pass.
1424 2007-12-05 Alexander Larsson <alexl@redhat.com>
1427 * giomodule-priv.h: Added.
1428 * glocaldirectorymonitor.c:
1429 * glocalfilemonitor.c:
1430 * gunionvolumemonitor.c:
1432 Actually add the declaration of _g_io_modules_ensure_loaded
1434 2007-12-05 Alexander Larsson <alexl@redhat.com>
1436 * gdatainputstream.c:
1441 * glocaldirectorymonitor.c:
1442 * glocalfilemonitor.c:
1443 * gunionvolumemonitor.c:
1445 Make g_io_modules_ensure_loaded a private function and
1446 don't pass in the dirname. This means we can do magic
1447 directory finding in the win32 version.
1448 Export the actual load-modules-in-directory code so that
1449 gvfs can reuse that.
1451 2007-12-05 Alexander Larsson <alexl@redhat.com>
1453 * gbufferedinputstream.c:
1454 * gbufferedoutputstream.c:
1457 * gfileenumerator.[ch]:
1458 * gfileinputstream.c:
1459 * gfileoutputstream.[ch]:
1460 * gfilterinputstream.c:
1461 * gfilteroutputstream.c:
1462 * ginputstream.[ch]:
1464 * glocalfileenumerator.c:
1465 * glocalfileinputstream.c:
1466 * glocalfileoutputstream.c:
1467 * gmemoryinputstream.c:
1468 * gmemoryoutputstream.c:
1469 * goutputstream.[ch]:
1472 * gunixinputstream.c:
1473 * gunixoutputstream.c:
1474 Rename all struct members named:
1475 read, write, close, truncate, or mount
1476 to foo_fn, as these are reserved names
1477 and could be defined as macros in libc.
1480 2007-12-04 Alexander Larsson <alexl@redhat.com>
1483 (g_output_stream_close):
1484 Only call flush if non-null.
1486 2007-11-30 Dan Winship <danw@gnome.org>
1488 * ginputstream.c (g_input_stream_set_pending): Make this take a
1489 GError and return a gboolean, and do the "outstanding operation"
1490 check (and the "stream is already closed" check) itself.
1491 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1493 * goutputstream.c (g_output_stream_set_pending)
1494 (g_output_stream_clear_pending): Likewise
1496 * gbufferedinputstream.c:
1497 * gfileinputstream.c:
1498 * gfileoutputstream.c: Update for that
1500 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1501 Like g_simple_async_report_error_in_idle, but takes a GError
1502 rather than building one.
1504 2007-11-30 Dan Winship <danw@gnome.org>
1506 * goutputstream.c: Don't cheat and unset the "pending" flag around
1507 inner calls. Instead, call the class method directly rather than
1508 the wrapper function that checks "pending"
1510 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1512 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1514 2007-12-03 Hans Breuer <hans@breuer.org>
1516 [start of port to win32/msvc]
1517 * gcancellable.c : HAVE_UNIST_H and _pipe()
1518 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1519 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1520 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1522 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1523 * glocalvfs.c : use HAVE_PWD_H
1524 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1525 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1526 * Makefile.am : added to EXTRA_DIST
1528 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1530 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1533 2007-12-03 Alexander Larsson <alexl@redhat.com>
1536 Handle OSX style xattrs API (#500506)
1538 2007-12-03 Alexander Larsson <alexl@redhat.com>
1542 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1544 2007-12-02 A. Walton <awalton@svn.gnome.org>
1548 Documentation accuracy fixes.
1550 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1552 * gioenumtypes.c.template: Fix typo.
1554 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1556 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1558 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1560 * gdirectorymonitor.c:
1561 * gfilemonitor.c: Add properties
1563 * gbufferedoutputstream.c: Don't mark buffer-size property
1566 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1568 * gbufferedoutputstream.c: Add auto-grow property.
1570 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1572 * *.c: Unify the capitalization of section headings.
1574 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1576 * gmountoperation.c: Add properties
1578 * gdatainputstream.c: Turn byte-order and newline-type into
1581 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1583 * gioenumtypes.[hc].template: Templates for enum registration
1585 * Makefile.am: Generate gioenumtypes.[hc]
1587 * gio.h: Include gioenumtypes.h
1589 * gfile.h: Add some explicit nicks.
1591 * gio.symbols: Add new symbols
1593 * pltcheck.sh: Adjust
1595 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1597 * *.c: Explain etags and link to the explanation
1599 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1601 * *.c: Explain I/O priority.
1603 * *.c: More coding style fixes.
1605 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1607 * gasyncresult.c: Add another paragraph to the intro,
1608 adjust coding style of example.
1610 2007-11-29 A. Walton <awalton@svn.gnome.org>
1613 Fixes unknown meaning in GAppLaunchContext docs.
1615 Clarify asynchronous ops.
1617 Fix entity tag docs.
1620 Provides missing gtk-doc section, fixes API docs slighly.
1621 * gsimpleasyncresult.c:
1622 Fill in missing info in docs.
1623 * gunixinputstream.c:
1624 * gunixoutputstream.c:
1625 Be more expressive in short description.
1627 Remove gtk-doc stubs for non-public API.
1629 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1631 * *.c: Coding style fixups
1633 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1635 * inotify/inotify-helper.c: Don't export the lock from libgio.
1637 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1640 * abicheck.sh: Fix copy-and-paste leftovers
1642 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1644 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1646 2007-11-28 Alexander Larsson <alexl@redhat.com>
1650 Removed unnecessary file
1652 * gdesktopappinfo.[ch]:
1655 * glocaldirectorymonitor.[ch]:
1657 * glocalfileenumerator.[ch]:
1658 * glocalfileinputstream.[ch]:
1659 * glocalfilemonitor.[ch]:
1660 * glocalfileoutputstream.[ch]:
1662 * gnativevolumemonitor.c:
1663 * gpollfilemonitor.[ch]:
1664 * gunionvolumemonitor.[ch]:
1667 * gunixvolumemonitor.[ch]:
1670 * inotify/ginotifydirectorymonitor.[ch]:
1671 * inotify/ginotifyfilemonitor.[ch]:
1672 * inotify/inotify-helper.c:
1673 Append _ to all internal functions
1677 Export symbols needed for modules
1679 2007-11-28 Alexander Larsson <alexl@redhat.com>
1682 * abicheck.sh: Added.
1683 * makegioalias.pl: Added.
1684 * pltcheck.sh: Added.
1685 * gio.symbols: Added.
1688 Initial work on adding symbol handling.
1691 Correct ifdef guard name
1694 * inotify/Makefile.am:
1695 * xdgmime/Makefile.am:
1696 Include toplevel Makefile.decl
1698 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1700 * gcontenttype.c: Move doc comments to the unix section.
1702 * *.[hc]: More trivial doc corrections.
1704 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1706 * gpollfilemonitor.c:
1710 * gdesktopappinfo.c:
1715 * gdatainputstream.c:
1716 * gdatainputstream.h:
1717 * gdataoutputstream.c:
1718 * gdataoutputstream.h:
1719 * gfileinfo.h: Doc cleanups
1721 2007-11-28 Andre Klapper <a9016009@gmx.de>
1723 * gdesktopappinfo.c: Fix a typo.
1725 2007-11-27 Andre Klapper <a9016009@gmx.de>
1727 * glocalfileoutputstream.c: Fix a typo.
1729 2007-11-27 Alexander Larsson <alexl@redhat.com>
1732 Don't include removed headers
1734 2007-11-27 Alexander Larsson <alexl@redhat.com>
1737 * gsocketinputstream.[ch]: Removed.
1738 * gsocketoutputstream.[ch]: Removed.
1739 * gunixinputstream.[ch]: Added.
1740 * gunixoutputstream.[ch]: Added.
1741 Renamed GSocket*Stream to GUnix*Stream and made
1742 it unix-only, since its not really only for sockets
1743 and it only works on unix (but is highly useful there).
1745 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1751 * gbufferedinputstream.c:
1752 * gbufferedinputstream.h:
1753 * gbufferedoutputstream.c:
1754 * gbufferedoutputstream.h:
1758 * gdatainputstream.c:
1759 * gdatainputstream.h:
1760 * gdataoutputstream.c:
1761 * gdataoutputstream.h:
1762 * gdirectorymonitor.c:
1763 * gdirectorymonitor.h:
1770 * gfileenumerator.c:
1771 * gfileenumerator.h:
1776 * gfileinputstream.c:
1777 * gfileinputstream.h:
1780 * gfilenamecompleter.c:
1781 * gfilenamecompleter.h:
1782 * gfileoutputstream.c:
1783 * gfileoutputstream.h:
1784 * gfilterinputstream.c:
1785 * gfilterinputstream.h:
1786 * gfilteroutputstream.c:
1787 * gfilteroutputstream.h:
1800 * glocalfileoutputstream.c:
1801 * gmemoryinputstream.c:
1802 * gmemoryinputstream.h:
1803 * gmemoryoutputstream.c:
1804 * gmemoryoutputstream.h:
1805 * gmountoperation.c:
1806 * gmountoperation.h:
1809 * gpollfilemonitor.c:
1812 * gsimpleasyncresult.c:
1813 * gsimpleasyncresult.h:
1814 * gsocketinputstream.c:
1815 * gsocketinputstream.h:
1816 * gsocketoutputstream.c:
1817 * gsocketoutputstream.h:
1824 * gunixvolumemonitor.c:
1833 Bumps documentation to 93% symbol coverage, touching most
1834 of the public files. Fixes broken function documentation prototypes.
1835 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1836 gtk-doc headers in private files.
1838 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1840 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1841 (g_buffered_input_stream_read_byte):
1842 * gbufferedinputstream.h:
1843 New functions for efficient access to buffer and simple single byte
1846 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1847 (g_data_input_stream_read_until):
1848 * gdatainputstream.h:
1849 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1850 read_until with multiple stop chars.
1852 2007-11-27 Alexander Larsson <alexl@redhat.com>
1856 * inotify/Makefile.am:
1857 Use the user-specified giomoduledir
1859 2007-11-27 Alexander Larsson <alexl@redhat.com>
1863 Add catch-all gio.h header
1864 Don't install gdummyfile.h
1866 2007-11-26 Alexander Larsson <alexl@redhat.com>
1868 * Makefile.am (gioinclude_HEADERS):
1869 Remove trailing whitespace
1871 2007-11-26 Alexander Larsson <alexl@redhat.com>
1873 Merge gio-standalone into glib
1875 2007-11-25 Christian Kellner <gicmo@gnome.org>
1877 * gio/goutputstream.c:
1878 Fix small mistake in the docs.
1880 2007-11-21 Christian Persch <chpe@gnome.org>
1882 * gio/glocalfile.c: (g_local_file_trash):
1883 Convert filenames to UTF-8 for GError.
1884 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1885 as per xdg base dir spec.
1887 2007-11-21 Christian Persch <chpe@gnome.org>
1889 * gio/gdesktopappinfo.c:
1890 Use that g_key_file_to_data cannot fail.
1892 Use stock defines for the key file group and key names.
1895 2007-11-21 Alexander Larsson <alexl@redhat.com>
1898 (copy_stream_with_progress):
1899 Make sure we do a final progress callback with
1900 the full total size.
1902 2007-11-21 Alexander Larsson <alexl@redhat.com>
1905 Export g_file_copy_attributes
1906 Remove padding as its not needed for interfaces
1908 2007-11-20 Alexander Larsson <alexl@redhat.com>
1913 Add G_IO_ERROR_WOULD_MERGE for
1914 copy/move dir on dir with overwrite.
1916 2007-11-20 Alexander Larsson <alexl@redhat.com>
1919 * gio/glocalfileinfo.c:
1920 Add COPY_NAME (this is an optional
1921 non-modified utf8 version of the name) that
1924 2007-11-20 Alexander Larsson <alexl@redhat.com>
1926 * gio/glocalfileenumerator.c:
1927 Report errors as GIOError, not GFileError
1929 2007-11-16 Alexander Larsson <alexl@redhat.com>
1931 * gio/glocalfileoutputstream.c:
1932 * gio/gwin32appinfo.c:
1933 Fix typos in strings.
1934 Patch from Luca Ferretti <elle.uca@libero.it>
1936 2007-11-15 Alexander Larsson <alexl@redhat.com>
1939 Post release version bump
1941 === gio-standalone 0.1.2 ===
1943 2007-11-15 Alexander Larsson <alexl@redhat.com>
1945 * docs/reference/gio/Makefile.am:
1946 Fix up distcheck by removing weird
1952 2007-11-14 Alexander Larsson <alexl@redhat.com>
1954 * gio/gdesktopappinfo.c:
1955 * gio/glocaldirectorymonitor.c:
1957 * gio/glocalfileinfo.c:
1958 * gio/inotify/inotify-sub.c:
1959 * programs/gio-cat.c:
1960 * programs/gio-copy.c:
1961 * programs/gio-info.c:
1962 * programs/gio-ls.c:
1963 * programs/gio-monitor-dir.c:
1964 * programs/gio-monitor-file.c:
1965 * programs/gio-mount.c:
1966 * programs/gio-move.c:
1967 * programs/gio-rm.c:
1968 * programs/gio-save.c:
1969 * programs/gio-trash.c:
1970 Leak fixes from Kjartan Maraas
1972 2007-11-14 Alexander Larsson <alexl@redhat.com>
1974 * gio/fam/fam-helper.c:
1976 * gio/glocalfileinfo.c:
1980 * gio/inotify/inotify-diag.c:
1981 * gio/inotify/inotify-kernel.c:
1982 Various code cleanups from Kjartan Maraas
1984 2007-11-14 Alexander Larsson <alexl@redhat.com>
1986 * gio/gioscheduler.c:
1988 Set up threadpool so that we cache 2 unused
1989 idle threads for at 15 secs. This means we
1990 will reuse thread-local data (like dbus connections)
1993 2007-11-14 Alexander Larsson <alexl@redhat.com>
1995 * gio/fam/fam-helper.c:
1996 * gio/fam/gfamdirectorymonitor.c:
1997 * gio/fam/gfamfilemonitor.c:
1999 * gio/gcontenttype.c:
2000 * gio/gdatainputstream.c:
2001 * gio/gdataoutputstream.c:
2005 * gio/gfileattribute.h:
2006 * gio/gfileenumerator.c:
2008 * gio/ginputstream.c:
2011 * gio/glocalfileinfo.c:
2012 * gio/goutputstream.c:
2013 * gio/gpollfilemonitor.c:
2014 * gio/gsimpleasyncresult.c:
2015 * gio/gunixmounts.c:
2016 * gio/gunixmounts.h:
2017 * gio/inotify/ginotifydirectorymonitor.c:
2018 * gio/inotify/ginotifyfilemonitor.c:
2019 * gio/inotify/inotify-diag.c:
2020 * gio/inotify/inotify-kernel.c:
2021 * gio/inotify/inotify-path.c:
2023 * gio/test-streams.c:
2024 * programs/gio-info.c:
2025 * programs/gio-monitor-dir.c:
2026 * programs/gio-monitor-file.c:
2027 Various code cleanups from Kjartan Maraas
2029 2007-11-13 Alexander Larsson <alexl@redhat.com>
2032 Handle the uri-scheme calls for dummy files
2034 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2036 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2037 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2038 to avoid clash with the C++ keyword.
2040 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2042 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2043 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2045 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2047 * gio/glocaldirectorymonitor.c:
2048 * gio/glocalfilemonitor.c:
2049 * gio/gunionvolumemonitor.c:
2050 Don't use g_once_init_*() for initializations that could fail and
2051 could leave the initialization variable set to 0 but use GOnce.
2052 This prevents a deadlock on the second call when trying to create
2053 a monitor and no monitor type is available. Thanks to Sven Herzberg
2056 2007-11-11 Sven Herzberg <sven@imendio.com>
2058 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2059 #ifdef (make it work on MacOS X again)
2061 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2063 Fixes Changelog for last two commits (sorry guys).
2065 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2067 * gio/gbufferedinputstream.c:
2068 * gio/gdatainputstream.c:
2070 * gio/gfileoutputstream.c:
2071 * gio/gfilterinputstream.c:
2072 * gio/glocalfileinputstream.c:
2075 More consistency fixes in g*stream.c files.
2076 Significant clean of gfile's documentation, filling in of
2077 asynchronous operations documentation.
2079 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2081 * gio/gasyncresult.c:
2082 * gio/gbufferedinputstream.c:
2083 * gio/gbufferedoutputstream.c:
2084 * gio/gcancellable.c:
2085 * gio/gcontenttype.c:
2086 * gio/gdatainputstream.c:
2087 * gio/gdataoutputstream.c:
2088 * gio/gdesktopappinfo.c:
2091 * gio/gfileattribute.c:
2092 * gio/gio/gfileenumerator.c:
2094 * gio/gfileinputstream.c:
2095 * gio/gfilemonitor.c:
2096 * gio/gfileoutputstream.c:
2097 * gio/ginputstream.c:
2099 * gio/gioscheduler.c:
2100 * gio/gloadableicon.c:
2101 * gio/glocalfileoutputstream.c:
2102 * gio/gmemoryoutputstream.c:
2103 * gio/gmountoperation.c:
2104 * gio/goutputstream.c:
2106 * gio/gsimpleasyncresult.c:
2107 * gio/gunionvolumemonitor.c:
2108 * gio/gunixmounts.c:
2109 * gio/gunixvolume.c:
2113 * gio/gvolumemonitor.c:
2114 Updated documentation stubs, working towards consistency and
2117 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2119 * gio/gmemoryoutputstream.c:
2120 * gio/gmemoryoutputstream.h:
2121 Change g_memory_output_stream_set_free_on_close() to
2122 g_memory_output_stream_set_free_data() as this makes more sense and
2123 is more consistent with GMemoryInputStream.
2125 2007-11-07 Alexander Larsson <alexl@redhat.com>
2132 Change how we find the default vfs so that
2133 we can handle a gvfs failing to init
2135 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2137 * gio/gbufferedoutputstream.c:
2138 * gio/gdatainputstream.c:
2139 * gio/gdataoutputstream.c:
2140 * gio/gfileinputstream.c:
2141 * gio/gfileoutputstream.c:
2142 * gio/gfilterinputstream.c:
2143 * gio/gfilteroutputstream.c:
2144 * gio/ginputstream.c:
2145 * gio/gmemoryinputstream.c:
2146 * gio/gmemoryoutputstream.c:
2147 * gio/goutputstream.c:
2148 * gio/gsimpleasyncresult.c:
2149 * gio/gsocketinputstream.c:
2150 * gio/gsocketoutputstream.c:
2151 Add guards to the remaining public functions, add a TODO for
2152 an unimplemented function and remove some useless guards.
2154 2007-11-07 Alexander Larsson <alexl@redhat.com>
2157 Autoconf checks for the various types of
2158 getpwuid_r and getgrgid_r
2160 * gio/glocalfileinfo.c:
2161 Use the autoconf checks from above
2163 2007-11-07 Alexander Larsson <alexl@redhat.com>
2166 (g_local_file_query_filesystem_info):
2167 Some fixes for the statvfs case
2169 2007-11-07 Alexander Larsson <alexl@redhat.com>
2172 (g_local_file_query_filesystem_info):
2173 Pick the "best" of statfs / statvfs for the system
2174 if both are availible.
2176 2007-11-07 Alexander Larsson <alexl@redhat.com>
2178 Solaris fixes from Halton.Huo@Sun.COM:
2185 * gio/glocalfileinfo.c:
2186 Fix for solaris definition of getpwuid_r
2188 * gio/test-streams.c:
2189 Use G_GNUC_PRETTY_FUNCTION
2191 2007-11-07 Alexander Larsson <alexl@redhat.com>
2193 * gio/gdesktopappinfo.c:
2194 (update_default_list):
2195 Remove double semicolon.
2196 Patch from Jens Granseuer
2198 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2200 * docs/reference/gio/gio-sections.txt:
2201 * gio/gbufferedinputstream.c:
2202 * gio/gbufferedinputstream.h:
2203 * gio/gdatainputstream.c:
2204 * gio/gfileenumerator.c:
2205 * gio/gioscheduler.c:
2206 * gio/gunionvolumemonitor.c:
2208 * programs/gio-save.c:
2209 Fix typo: availible -> available. Unfortuntely this breaks API
2210 and ABI as g_buffered_input_stream_get_available() was renamed.
2212 * gio/gunixmounts.c:
2213 * gio/gbufferedinputstream.c:
2214 Add guards for public functions.
2216 2007-11-06 Ross Burton <ross@openedhand.com>
2218 * docs/reference/gio/Makefile.am:
2219 Fix invalid += usage which automake 1.10 doesn't like.
2221 2007-11-06 Alexander Larsson <alexl@redhat.com>
2224 (g_app_launch_context_class_init):
2227 Patch from Ross Burton
2229 2007-11-06 Alexander Larsson <alexl@redhat.com>
2232 Post release version bump
2234 === gio-standalone 0.1.1 ===
2236 2007-11-06 Alexander Larsson <alexl@redhat.com>
2239 Bump version to 0.1.1
2241 * gio/gsimpleasyncresult.c:
2242 (g_simple_async_result_set_from_error):
2243 Remove bogus g_return_if_fail
2245 2007-11-06 Alexander Larsson <alexl@redhat.com>
2248 The name is gio-standalone
2251 Add top src/builddir to includedir
2253 2007-11-06 Alexander Larsson <alexl@redhat.com>
2255 * docs/reference/gio/gio-sections.txt:
2257 * gio/gbufferedinputstream.c:
2258 * gio/gbufferedoutputstream.c:
2259 * gio/gcancellable.c:
2260 * gio/gdatainputstream.h:
2261 * gio/gdataoutputstream.c:
2262 * gio/gdataoutputstream.h:
2263 * gio/gdirectorymonitor.c:
2265 * gio/gfileattribute.c:
2266 * gio/gfileattribute.h:
2267 * gio/gfileenumerator.c:
2268 * gio/gfileenumerator.h:
2271 * gio/gfileinputstream.h:
2272 * gio/gfilemonitor.c:
2273 * gio/gfileoutputstream.h:
2274 * gio/glocalfilemonitor.h:
2275 * gio/glocalfileoutputstream.h:
2276 * gio/gmemoryinputstream.c:
2277 * gio/gmemoryoutputstream.c:
2278 * gio/gmountoperation.c:
2279 * gio/goutputstream.c:
2280 * gio/goutputstream.h:
2282 * gio/gsimpleasyncresult.c:
2283 * gio/gunixmounts.c:
2284 * gio/gunixmounts.h:
2286 * gio/inotify/inotify-helper.c:
2287 Fix gtk-doc warnings
2289 Patch from Ross Burton
2291 2007-11-06 Alexander Larsson <alexl@redhat.com>
2293 * gio/gfilenamecompleter.c:
2294 (g_filename_completer_get_completions):
2297 * gio/gunixvolume.c:
2298 Remove unused function
2300 Patches from Ross Burton
2302 2007-11-06 Alexander Larsson <alexl@redhat.com>
2307 Padding not needed for interfaces
2309 2007-11-06 Alexander Larsson <alexl@redhat.com>
2311 * gio/gfilemonitor.c:
2315 Make giotypes.h an internal file
2318 * gio/gbufferedinputstream.h:
2319 * gio/gbufferedoutputstream.h:
2320 * gio/gcancellable.h:
2321 * gio/gdatainputstream.h:
2322 * gio/gdataoutputstream.h:
2323 * gio/gdirectorymonitor.c:
2324 * gio/gdirectorymonitor.h:
2329 * gio/gfileattribute.h:
2330 * gio/gfileenumerator.h:
2335 * gio/gfilemonitor.c:
2336 * gio/gfilemonitor.h:
2337 * gio/gfilenamecompleter.c:
2338 * gio/gfilenamecompleter.h:
2339 * gio/gfilterinputstream.h:
2340 * gio/gfilteroutputstream.h:
2341 * gio/ginputstream.h:
2342 * gio/gmemoryinputstream.h:
2343 * gio/gmemoryoutputstream.h:
2344 * gio/gmountoperation.c:
2345 * gio/gmountoperation.h:
2346 * gio/gnativevolumemonitor.c:
2347 * gio/goutputstream.h:
2350 * gio/gsimpleasyncresult.c:
2351 * gio/gsimpleasyncresult.h:
2352 * gio/gsocketinputstream.h:
2353 * gio/gsocketoutputstream.h:
2354 * gio/gthemedicon.c:
2355 * gio/gthemedicon.h:
2359 * gio/gvolumemonitor.c:
2360 * gio/gvolumemonitor.h:
2361 Add padding in classes where it seems useful
2362 Don't include giotypes.h from public headers
2363 Move in Class definitions into c file where possible
2368 2007-11-06 Alexander Larsson <alexl@redhat.com>
2370 * docs/reference/gio/gio-docs.xml:
2371 Better structure for API docs
2373 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2376 * gio/gloadableicon.c:
2377 * gio/gsimpleasyncresult.c:
2378 * gio/gthemedicon.c:
2379 Add some more guards to public functions. Only files missing are now
2382 2007-11-06 Alexander Larsson <alexl@redhat.com>
2384 * docs/reference/gio/gio-docs.xml:
2385 Remove old files, add missing ones
2387 2007-11-06 Alexander Larsson <alexl@redhat.com>
2389 * docs/reference/gio/gio-sections.txt:
2392 Hide implementation classes
2394 * gio/gdriveprivate.h:
2395 * gio/gvolumeprivate.h:
2396 Remove non-existing function declarations
2398 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2401 Fix compilation warnings and add guards to the new functions.
2403 * gio/gasyncresult.c:
2405 Add guards to the public functions.
2408 Implement get_path().
2410 2007-11-06 Alexander Larsson <alexl@redhat.com>
2412 * gio/gfilenamecompleter.c:
2413 Make g_filename_completer_get_completions
2414 return char ** instead of GList for
2417 * docs/reference/gio/gio-docs.xml:
2418 * docs/reference/gio/gio-sections.txt:
2420 * gio/gasyncresult.c:
2421 * gio/gbufferedinputstream.c:
2422 * gio/gbufferedoutputstream.c:
2423 * gio/gcancellable.c:
2424 * gio/gcontenttype.c:
2425 * gio/gdatainputstream.c:
2426 * gio/gdataoutputstream.c:
2427 * gio/gdesktopappinfo.c:
2428 * gio/gdirectorymonitor.c:
2432 * gio/gfileattribute.c:
2433 * gio/gfileenumerator.c:
2436 * gio/gfileinputstream.c:
2437 * gio/gfilemonitor.c:
2438 * gio/gfilenamecompleter.c:
2439 * gio/gfilenamecompleter.h:
2440 * gio/gfileoutputstream.c:
2441 * gio/gfilterinputstream.c:
2443 * gio/ginputstream.c:
2445 * gio/gioscheduler.c:
2446 * gio/gloadableicon.c:
2447 * gio/glocaldirectorymonitor.c:
2449 * gio/glocalfileinputstream.c:
2450 * gio/glocalfilemonitor.c:
2451 * gio/glocalfileoutputstream.c:
2453 * gio/gmemoryinputstream.c:
2454 * gio/gmemoryoutputstream.c:
2455 * gio/gmountoperation.c:
2456 * gio/goutputstream.c:
2457 * gio/gpollfilemonitor.c:
2459 * gio/gsimpleasyncresult.c:
2460 * gio/gsocketinputstream.c:
2461 * gio/gsocketoutputstream.c:
2462 * gio/gthemedicon.c:
2463 * gio/gunionvolumemonitor.c:
2465 * gio/gunixmounts.c:
2466 * gio/gunixvolume.c:
2467 * gio/gunixvolumemonitor.c:
2471 * gio/gvolumemonitor.c:
2472 * gio/gwin32appinfo.c:
2473 Add (mostly stub) doc strings to public functions.
2474 Patch from Andrew Walton (awalton@gmail.com)
2476 2007-11-06 Alexander Larsson <alexl@redhat.com>
2478 * gio/gappinfo.[ch]:
2479 Added GAppLaunchContext object and pass that to launch.
2480 This allows simple implementation of both
2481 launch-on-screen and startup notification via a gtk+
2482 subclass of GAppLaunchContext
2484 * gio/gdesktopappinfo.c:
2485 Implement GAppLaunchContext API
2487 * gio/gwin32appinfo.c:
2490 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2492 * gio/gmountoperation.c:
2493 Add some guards to GMountOperation's public functions.
2495 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2499 * gio/gcancellable.c:
2500 * gio/gdirectorymonitor.c:
2502 * gio/gfileenumerator.c:
2503 * gio/gfilemonitor.c:,
2504 * gio/gfilenamecompleter.c:
2507 * gio/gioscheduler.c:
2511 * gio/gvolumemonitor.c:
2512 Add even more guards to various public functions.
2514 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2517 Add guards to the public functions of GAppInfo.
2519 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2521 * gio/gcontenttype.c:
2522 Add some more guards for public functions.
2524 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2526 * gio/fam/fam-module.c:
2527 * gio/fam/gfamdirectorymonitor.c:
2528 * gio/fam/gfamdirectorymonitor.h:
2529 * gio/fam/gfamfilemonitor.c:
2530 * gio/fam/gfamfilemonitor.h:
2531 * gio/inotify/ginotifydirectorymonitor.c:
2532 * gio/inotify/ginotifydirectorymonitor.h:
2533 * gio/inotify/ginotifyfilemonitor.c:
2534 * gio/inotify/ginotifyfilemonitor.h:
2535 Add proper copyright information and remove an unused variable
2536 in the GInotifyFileMonitor constructor.
2538 * gio/gcancellable.c:
2539 Add a guard for a public function and an assertion to prevent
2540 an undefined program state.
2542 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2544 * gio/gfileattribute.c:
2545 Don't run into an assertion if the given attribute value is NULL
2546 in g_file_attribute_value_get_*() but instead return a fallback
2547 value that makes sense in most situations. Passing them a attribute
2548 value with the wrong type will still run into an assertion.
2550 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2552 * gio/gfileattribute.c:
2554 Add even more guards to the public functions. Also fix the refcounting
2555 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2556 let g_file_info_list_attributes() filter the attributes by namespace
2557 instead of simply ignoring the namespace parameter.
2559 2007-11-03 Sven Herzberg <sven@imendio.com>
2561 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2562 (This makes gio work on MacOS X again)
2564 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2567 Build the gio subdirectory before the docs. Otherwise the build will
2570 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2571 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2572 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2573 Add guards to the public functions.
2575 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2577 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2578 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2579 to prevent a compiler warning.
2581 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2582 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2583 return something in the non-void function find_topdir_for().
2585 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2592 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2594 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2595 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2596 * gwin32appinfo.c (g_win32_app_info_launch):
2597 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2598 envp_for_startup_id, g_desktop_app_info_launch,
2599 g_desktop_app_info_launch_uris):
2601 Give an opaque 'startup_id' string instead of 'envp'.
2602 Support empty file lists for launching new windows.
2603 Fix infinite recursion bug when launching URIs.
2605 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2608 Add guard to the new g_file_get_uri_scheme() function.
2610 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2613 Convert a g_return_val_if_fail() to setting the GError instead as
2614 otherwise applications have to verify the parameter before otherwise
2615 and the parameter might come directly from the user.
2617 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2619 * gio/inotify/ginotify*.[ch]:
2620 Add missing copyright information.
2622 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2625 Add guards in the beginning of public functions to check for valid
2626 parameters and fix a bug in copy_stream_with_progress() that could've
2627 caused writing less bytes than reading.
2628 * gio/glocalfileinfo.c:
2629 Check for a NULL parameter and set the GError accordingly then.
2630 * gio/goutputstream.c:
2631 Fix the same bug as in gfile.c that could've caused writing less bytes
2632 than reading in g_output_stream_real_splice().
2634 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2637 Use the correct gvolumeprivate.h naming
2639 2007-11-01 Christian Kellner <gicmo@gnome.org>
2642 Remove leftover "$(daemon_sources)" entry.
2644 2007-11-01 Christian Kellner <gicmo@gnome.org>
2649 Add copyright information to source files.
2651 2007-11-01 Alexander Larsson <alexl@redhat.com>
2655 Add g_file_get_uri_scheme
2657 2007-11-01 Alexander Larsson <alexl@redhat.com>
2660 * gio/gdesktopappinfo.c:
2661 * gio/gwin32appinfo.c:
2662 Add g_app_info_get_default_for_uri_scheme.
2664 2007-11-01 Alexander Larsson <alexl@redhat.com>
2667 Correct filename for gdriveprivate.h
2669 2007-10-31 Alexander Larsson <alexl@redhat.com>
2672 Rename id:value to id:file
2675 * gio/glocalfileinfo.c:
2678 2007-10-31 Alexander Larsson <alexl@redhat.com>
2680 * gio/gunixvolume.c:
2682 Remove g_volume_get_platform_id, as thats not
2683 needed with the simpler union volume monitor
2685 2007-10-31 Alexander Larsson <alexl@redhat.com>
2688 * gio/guniondrive.[ch]: Removed.
2689 * gio/gunionvolume.[ch]: Removed.
2690 Remove GUnionDrive/Volume
2692 * gio/gunionvolumemonitor.c:
2693 Simplify union volume monitor, now we
2694 only have one native volume monitor and
2695 we use the actual volumes/drives from the
2696 child monitors instead of wrapping them
2698 * gio/gnativevolumemonitor.[ch]:
2699 Base class for native volume monitors.
2700 Includes priority and get_volume_for_mountpoint
2703 Add g_file_find_enclosing_volume
2706 Remove volume name fs attribute
2707 Add readonly fs attribute
2710 Implement readonly attribute
2711 remove volume name attribute
2712 Implement find_enclosing volume
2714 * gio/gunixmounts.c:
2715 Add a volume for "/".
2717 * gio/gunixvolume.[ch]:
2718 Set better name for /
2720 * gio/gunixvolumemonitor.[ch]:
2721 Derive from GNativeVolumeMonitor
2722 Implement get_volume_for_mountpoint
2725 GVolume typedef moved to gfile.h
2727 * gio/gvolumeprivate.h:
2728 Add g_volume_get_for_mount_path
2730 2007-10-31 Alexander Larsson <alexl@redhat.com>
2732 * gio/gunixmounts.[ch]:
2733 Add cache info to unix mount listers
2734 Make getmntent use threadsafe
2735 Add is_system_internal attribute for GUnixMount
2737 * gio/gunixvolume.c:
2738 (g_unix_volume_new):
2739 Use is_system_internal instead of own code
2741 * gio/glocaldirectorymonitor.c:
2742 * gio/gunixvolumemonitor.c:
2743 Update to new gunixmounts API
2748 2007-10-30 Alexander Larsson <alexl@redhat.com>
2751 Add volume name fsinfo attribute
2754 Read volume name info
2756 * gio/gunionvolumemonitor.c:
2757 Fix infinite loops when finalizing a union volume monitor
2759 2007-10-30 Alexander Larsson <alexl@redhat.com>
2761 * gio/goutputstream.[ch]:
2762 Add splice() with default implementation
2764 * gio/gsocketoutputstream.c:
2765 (g_socket_output_stream_write):
2766 Return error on cancellation correctly.
2768 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2770 * gio/glocalfile.c (g_local_file_trash):
2771 Do not leak a string.
2773 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2775 * gio/gfile.c (g_file_load_contents):
2776 Unref the stream after closing it.
2778 2007-10-25 Alexander Larsson <alexl@redhat.com>
2780 * gio/gioscheduler.h:
2783 2007-10-25 Alexander Larsson <alexl@redhat.com>
2787 Add g_file_has_uri_scheme and implement for local files
2789 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2791 * gio/gdesktopappinfo.c: do not leak a string.
2793 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2795 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2796 (g_local_directory_monitor_new):
2797 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2798 (g_local_file_monitor_new):
2799 Only look for the monitor type that should be used the first time
2800 and use g_qsort_with_data() instead of our own bubble sort
2803 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2806 * gio/fam/Makefile.am:
2807 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2808 * gio/fam/fam-helper.h:
2809 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2810 * gio/fam/gfamdirectorymonitor.c:
2811 * gio/fam/gfamdirectorymonitor.h:
2812 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2813 * gio/fam/gfamfilemonitor.h:
2814 * gio/glocaldirectorymonitor.c:
2815 * gio/glocaldirectorymonitor.h:
2816 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2817 * gio/glocalfilemonitor.h:
2818 * gio/inotify/Makefile.am:
2819 * gio/inotify/ginotifydirectorymonitor.c:
2820 * gio/inotify/ginotifydirectorymonitor.h:
2821 * gio/inotify/ginotifyfilemonitor.c:
2822 * gio/inotify/ginotifyfilemonitor.h:
2823 Implement the FAM and Inotify monitors as
2824 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2825 their own GIO module. GLocal(Directory|File)Monitor will use the
2826 monitor with the highest rank that is supported on that machine.
2828 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2831 Change GIO module dir to $(libdir)/gio/modules and change
2832 the log domain from GVFS to GIO. Also only export symbols starting
2833 with g_ in the resulting library.
2834 * gio/test-streams.c: (main):
2835 Set log handler for the GIO log domain.
2837 2007-10-22 Alexander Larsson <alexl@redhat.com>
2839 * gio/gfilenamecompleter.[ch]:
2840 Add g_filename_completer_set_dirs_only
2842 2007-10-22 Alexander Larsson <alexl@redhat.com>
2845 * gio/gurifuncs.[ch]:
2846 Add some simple URI helpers
2848 * gio/gfilenamecompleter.[ch]:
2849 Added object for filename (parse name actually) completion
2852 Handle ~ in parse names
2854 2007-10-17 Alexander Larsson <alexl@redhat.com>
2857 * gio/glocalfileinfo.c:
2858 Add and implement id:value attribute
2860 2007-10-17 Alexander Larsson <alexl@redhat.com>
2863 * gio/guniondrive.c:
2865 Add and implement g_drive_has_volumes
2867 2007-10-17 Alexander Larsson <alexl@redhat.com>
2870 * gio/glocalfileinfo.[ch]:
2871 Add unix:is_mountpoint and implement for local files
2873 2007-10-16 Alexander Larsson <alexl@redhat.com>
2875 * gio/gunionvolumemonitor.c:
2876 (g_union_volume_monitor_init):
2877 Fix up the unix type getting so that it works with gcc
2879 2007-10-12 Alexander Larsson <alexl@redhat.com>
2882 * gio/glocalfileinfo.c:
2883 Add thumbnail:failed to file info
2885 2007-10-12 Richard Hult <richard@imendio.com>
2887 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2888 optimizing away the get_type call (happens with some gcc versions,
2889 like the one shipped with OS X 10.4).
2891 2007-10-12 Alexander Larsson <alexl@redhat.com>
2893 * gio/glocalfileinfo.c:
2894 (_g_local_file_info_set_attribute):
2895 Fix build if not HAVE_XATTR
2896 Patch from Milosz Derezynski <internalerror@gmail.com>
2898 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2900 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2901 around for review, otherwise I would have asked you before
2904 2007-10-11 Alexander Larsson <alexl@redhat.com>
2907 Add thumbnail:path attribute
2909 * gio/glocalfileinfo.c:
2910 Implement thumbnail:path for local files
2912 2007-10-11 Alexander Larsson <alexl@redhat.com>
2914 * gio/glocalfileinfo.c:
2915 (_g_local_file_info_get):
2916 Avoid duplicate icon names
2918 2007-10-11 Alexander Larsson <alexl@redhat.com>
2920 * gio/gthemedicon.[ch]:
2921 Change g_themed_icon_get_names return type to const
2923 2007-10-10 Alexander Larsson <alexl@redhat.com>
2925 * gio/glocalfileinfo.c:
2926 Don't reference freed memory
2928 2007-10-10 Alexander Larsson <alexl@redhat.com>
2930 * gio/gfileattribute.c:
2933 * gio/glocalfileinfo.c:
2936 2007-10-10 Alexander Larsson <alexl@redhat.com>
2939 Check for NULL icons
2941 * gio/gfileattribute.c:
2942 Don't dup when getting objects (same as for string attributes)
2944 * gio/gicon.c (g_icon_equal):
2945 Safely handle NULLs in equal
2947 2007-10-10 Alexander Larsson <alexl@redhat.com>
2950 Fix c++ compilation issues
2951 Patch from Milosz Derezynski <internalerror@gmail.com>
2953 2007-10-10 Alexander Larsson <alexl@redhat.com>
2955 * programs/gio-monitor-dir.c:
2956 Don't crash if dir monitor not supported.
2958 2007-10-09 Alexander Larsson <alexl@redhat.com>
2961 Add missing G_END_DECLS
2963 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2965 * gio/gfile.c: (g_file_set_display_name),
2966 (g_file_query_settable_attributes),
2967 (g_file_query_writable_namespaces):
2968 Return NULL not FALSE on errors as the return type is a pointer.
2970 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2972 * gio/glocalfile.c: (g_local_file_monitor_file):
2973 Don't call monitor_file on the default interface vtable (which
2974 is NULL) but simply return NULL. The caller, GFile, will create a
2975 polling monitor if NULL is returned.
2977 2007-10-09 Alexander Larsson <alexl@redhat.com>
2981 * gio-unix-2.0.pc.in:
2982 Add gio-unix-2.0.pc if OS_UNIX
2985 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2987 2007-10-09 Alexander Larsson <alexl@redhat.com>
2989 * gio/gunixmounts.[ch]:
2990 Make unix mount monitoring API sane.
2991 Now its just a object with mounts_changed
2992 and mountpoints_changed signals.
2994 * gio/glocaldirectorymonitor.c:
2995 * gio/gunixvolumemonitor.c:
2996 Use new mount monitor api
2998 2007-10-09 Alexander Larsson <alexl@redhat.com>
3000 * gio/gunixmounts.[ch]:
3001 Move guess type into one call for mounts and one for mountpoints
3004 * gio/gunixvolume.c:
3007 2007-10-09 Alexander Larsson <alexl@redhat.com>
3009 * gio/gunixmounts.[ch]:
3010 Remove _ prefix in preparation to make this semi-public
3011 Hide implementation of structs
3013 * gio/glocaldirectorymonitor.c:
3015 * gio/gunixvolume.c:
3016 * gio/gunixvolumemonitor.c:
3017 Update for above API changes
3019 2007-10-08 Alexander Larsson <alexl@redhat.com>
3022 Better polling fallback. This also handles the case where we have
3023 a monitor_file implementation, but it fails.
3025 2007-10-08 Alexander Larsson <alexl@redhat.com>
3029 * gio/gunixmounts.c:
3030 * programs/gio-monitor-dir.c:
3031 * programs/gio-monitor-file.c:
3032 Added cancellable to file monitoring calls.
3033 These are really sync calls and need this.
3035 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3037 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3038 (g_local_vfs_class_init):
3039 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3040 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3042 2007-10-05 Alexander Larsson <alexl@redhat.com>
3044 * gio/gdirectorymonitorprivate.h:
3045 * gio/gfilemonitorprivate.h:
3046 * gio/gdirectorymonitor.h:
3047 * gio/gfilemonitor.h:
3048 Remove *private.h and move to the public API, so that
3049 we can do implementations outside gio (such as in gvfs)
3051 * gio/gdirectorymonitor.c:
3052 * gio/gfilemonitor.c:
3053 * gio/glocaldirectorymonitor.c:
3054 * gio/gpollfilemonitor.c:
3055 * gio/inotify/inotify-helper.c:
3056 * gio/fam/fam-helper.c:
3057 Update to the new header names
3059 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3061 * gio/gdirectorymonitor.c:
3062 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3065 2007-10-04 Alexander Larsson <alexl@redhat.com>
3067 * gio/glocalfileinfo.c (get_access_rights):
3068 Set CAN_TRASH when we can move the file.
3069 We should really also check for a parent trash dir.
3071 2007-10-04 Alexander Larsson <alexl@redhat.com>
3073 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3074 Add can_trash access attribute
3076 2007-10-04 Alexander Larsson <alexl@redhat.com>
3079 (g_local_file_trash):
3080 Create info file first. This is per-spec and allows
3081 us to actually trash directories.
3083 2007-10-02 Alexander Larsson <alexl@redhat.com>
3085 * gio/gdesktopappinfo.c:
3086 Implement the new mime support code.
3087 Always set app as handling mimetype when being set as default for it
3089 2007-10-01 Alexander Larsson <alexl@redhat.com>
3091 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3092 Fix up check for xattrs:
3094 2007-10-01 Alexander Larsson <alexl@redhat.com>
3097 (g_app_info_set_as_default_for_extension):
3098 (g_app_info_add_supports_type):
3099 (g_app_info_can_remove_supports_type):
3100 (g_app_info_remove_supports_type):
3101 Make these fail nicely if not implemented
3103 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3105 * gio/glocalfileoutputstream.c:
3106 * gio/glocalfileoutputstream.h:
3111 * programs/gio-save.c:
3112 Add a GFileCreateFlags argument to operations that can create
3115 2007-10-01 Alexander Larsson <alexl@redhat.com>
3117 * gio/gappinfo.[ch]:
3118 * gio/gdesktopappinfo.c:
3119 Add more (stubbed out) mime API needed for nautilus
3121 2007-10-01 Alexander Larsson <alexl@redhat.com>
3124 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3125 Add g_app_info_set_as_default_for_extension.
3127 * gio/gdesktopappinfo.c:
3128 Dummy for g_app_info_set_as_default_for_extension
3129 Support flags in g_app_info_create_from_commandline
3131 * gio/gwin32appinfo.c:
3133 Update for API changes
3135 * gio/gthemedicon.c:
3136 Properly NULL-terminate list of icon names
3138 2007-09-28 Alexander Larsson <alexl@redhat.com>
3140 * gio/gloadableicon.h:
3141 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3143 2007-09-28 Alexander Larsson <alexl@redhat.com>
3146 Install headers in $includedir/gio-standalone/
3148 * gio-2.0.pc.in: Added.
3149 * gio-standalone.pc.in: Removed.
3152 Renamed pkg-config file to match glib (for future move)
3153 Update to the new include dir
3156 Add more TODO comments
3158 2007-09-28 Alexander Larsson <alexl@redhat.com>
3160 * gio/gdesktopappinfo.[ch]:
3161 Expose new_from_filename
3162 Add getter for is_hidden and handle it better
3164 2007-09-28 Alexander Larsson <alexl@redhat.com>
3166 * gio/gfileinfo.[ch]:
3167 Rename g_file_size_format_for_display to
3168 g_format_file_size_for_display.
3169 Now it doesn't have the g_file prefix, so we
3170 can later move it to glib.
3172 2007-09-28 Alexander Larsson <alexl@redhat.com>
3174 * gio/gappinfo.[ch]:
3175 Add g_app_info_get_id and g_app_info_get_executable.
3176 Make all getters non-reffing
3177 Make g_app_info_launch take GFile arguments.
3178 Add must_support_uris argument to g_app_info_get_default_for_type.
3180 * gio/gwin32appinfo.c:
3181 Update to GAppInfo api changes
3183 * gio/gdesktopappinfo.c:
3184 Update to GAppInfo api changes
3185 Implement supports_xdg_startup_notify
3187 * gio/gfileicon.c (g_file_icon_get_file):
3188 Make getter non-reffing.
3193 2007-09-27 Alexander Larsson <alexl@redhat.com>
3195 * gio/gfileinfo.[ch]:
3196 Add g_file_size_format_for_display helper
3198 2007-09-27 Alexander Larsson <alexl@redhat.com>
3200 * gio/glocalfileinfo.c:
3201 Set UNIX_GID from gid, not from uid
3203 2007-09-27 Alexander Larsson <alexl@redhat.com>
3206 Add g_file_set_attributes_async
3208 2007-09-27 Alexander Larsson <alexl@redhat.com>
3210 * gio/glocalfile.c (g_local_file_set_display_name):
3211 Fix set_display_name to actually rename to the right place.
3212 Use lstat to look for existing files so we don't overwrite
3215 2007-09-26 Alexander Larsson <alexl@redhat.com>
3218 Add g_file_set_display_name_async()
3220 2007-09-26 Alexander Larsson <alexl@redhat.com>
3223 Add load_partial_contents async calls
3226 Make internal function static
3228 2007-09-26 Alexander Larsson <alexl@redhat.com>
3230 * gio/glocalfileinfo.c:
3231 Correctly detect broken symlinks
3233 2007-09-26 Alexander Larsson <alexl@redhat.com>
3235 * gio/gcancellable.c (g_cancellable_cancel):
3236 Allow cancel on NULL cancellable
3238 2007-09-25 Alexander Larsson <alexl@redhat.com>
3240 * gio/gsimpleasyncresult.c:
3241 Don't allocate g_error manually.
3242 Fixes g_slice/g_new mixup crash
3244 2007-09-25 Alexander Larsson <alexl@redhat.com>
3246 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3247 Actually set active_backend.
3248 This means the monitor will be cancelled correctly.
3250 2007-09-25 Alexander Larsson <alexl@redhat.com>
3252 * gio/gdirectorymonitor.c:
3253 Set timeout to NULL when destroying
3255 2007-09-25 Alexander Larsson <alexl@redhat.com>
3258 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3259 that is a better description of the error.
3261 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3263 * gio/gvfs.c: (g_vfs_get_local):
3264 Make the local vfs variable static. The same instance should
3267 2007-09-24 Alexander Larsson <alexl@redhat.com>
3269 * gio/glocalfileinfo.c:
3270 Pass in actual length read into sniffer, not the length
3273 2007-09-21 Alexander Larsson <alexl@redhat.com>
3275 * gio/gfileenumerator.c:
3278 * gio/gfileinputstream.c:
3279 * gio/gfileoutputstream.c:
3280 * gio/ginputstream.c:
3281 * gio/goutputstream.c:
3282 Don't crash if async callbacks are NULL
3284 2007-09-20 Alexander Larsson <alexl@redhat.com>
3287 Add async enumerate_children method and default
3290 2007-09-20 Alexander Larsson <alexl@redhat.com>
3293 Add g_file_contains_file & g_file_get_relative_path, since they
3294 were needed for nautilus.
3295 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3300 Implement new methods
3302 2007-09-17 Alexander Larsson <alexl@redhat.com>
3305 * gio/gfileinputstream.[ch]:
3306 * gio/gfileoutputstream.[ch]:
3308 * gio/glocalfileenumerator.[ch]:
3309 * gio/glocalfileinfo.[ch]:
3310 * gio/glocalfileinputstream.c:
3311 * gio/glocalfileoutputstream.c:
3312 * gio/gpollfilemonitor.c:
3313 * programs/gio-copy.c:
3314 * programs/gio-info.c:
3315 * programs/gio-move.c:
3316 Rename get_file_info to query_info() to make it clearer
3317 that these are not simple getters, but do i/o.
3319 2007-09-17 Alexander Larsson <alexl@redhat.com>
3321 * gio/gdatainputstream.[ch]:
3322 * gio/test-streams.c:
3323 Use _read_XXX instead of _get_XXX for the i/o calls
3326 2007-09-17 Alexander Larsson <alexl@redhat.com>
3329 Added needed stuff to TODO comment
3331 2007-09-17 Alexander Larsson <alexl@redhat.com>
3333 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3334 Don't error out removing the backup copy if it doesn't
3337 2007-09-14 Alexander Larsson <alexl@redhat.com>
3339 * programs/Makefile.am:
3340 * programs/gvfs-*.c:
3342 Renamed apps from gvfs-xxx to gio-xxx.
3344 2007-09-14 Alexander Larsson <alexl@redhat.com>
3347 * gio/gfileoutputstream.[ch]:
3348 * gio/glocalfileoutputstream.c:
3349 * programs/gvfs-save.c:
3350 g_file_output_stream_get_etag doesn't do i/o, so remove
3351 cancellation and error.
3353 2007-09-14 Alexander Larsson <alexl@redhat.com>
3356 Add new_etag output to replace_contents functions
3358 2007-09-14 Alexander Larsson <alexl@redhat.com>
3360 * gio/gfileoutputstream.[ch]:
3361 Add async get_file_info and default implementation
3363 2007-09-14 Alexander Larsson <alexl@redhat.com>
3365 * gio/gfileinputstream.c:
3366 Implement fallback wrapper for async get_file_info
3368 2007-09-14 Alexander Larsson <alexl@redhat.com>
3371 Add etag out argument to load_contents
3376 2007-09-14 Alexander Larsson <alexl@redhat.com>
3378 * gio/gcontenttype.c (looks_like_text):
3379 Whitespace like tab, cr and lf do not make the
3382 2007-09-14 Alexander Larsson <alexl@redhat.com>
3384 * gio/gfileinputstream.[ch]:
3385 Add async get_file_info.
3387 2007-09-13 Alexander Larsson <alexl@redhat.com>
3389 * gio/goutputstream.c (g_output_stream_write_all):
3390 Allow NULL for bytes_written
3392 2007-09-13 Alexander Larsson <alexl@redhat.com>
3394 * gio/gmemoryinputstream.[ch]:
3395 Add accessors for data
3397 2007-09-13 Alexander Larsson <alexl@redhat.com>
3399 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3400 Don't crash if length is NULL