1 2008-02-06 Alexander Larsson <alexl@redhat.com>
3 * glocalfile.c (g_local_file_trash):
4 Don't succeed with trash if newly created
5 trash dir has the wrong owner. (#514696)
7 2008-02-05 Alexander Larsson <alexl@redhat.com>
9 * glocalfile.c (g_local_file_move):
10 Don't spew warnings when destination is not
13 2008-02-03 Hans Breuer <hans@breuer.org>
15 * makefile.msc : update
17 2008-02-01 Michael Natterer <mitch@imendio.com>
19 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
20 return value of xdg_mime_list_mime_parents() to a variable of the
23 2008-02-01 Alexander Larsson <alexl@redhat.com>
25 * gappinfo.c (g_app_info_launch_uris):
26 Actually call the launch_uris method, not
29 2008-02-01 Alexander Larsson <alexl@redhat.com>
31 * gdesktopappinfo.c (g_desktop_app_info_equal):
32 Ensure appinfos with no id but same pointer value
35 2008-02-01 Alexander Larsson <alexl@redhat.com>
37 * gappinfo.c (g_app_info_launch_default_for_uri):
40 2008-02-01 Alexander Larsson <alexl@redhat.com>
44 Add g_app_info_launch_default_for_uri utility
47 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
50 Doc fix for g_app_info_get_default_for_uri_scheme ()
53 2008-01-30 Alexander Larsson <alexl@redhat.com>
56 Add doc comment about uris vs GFiles to
60 Ensure uris passed to g_app_info_launch_uris()
61 are not roundtriped through GFile (as that
62 may be slightly destructive for e.g. mailto: links)
64 2008-01-30 Alexander Larsson <alexl@redhat.com>
66 * tests/data-input-stream.c:
67 * tests/data-output-stream.c:
68 C89 fixes from Jens Granseuer (#512849)
70 2008-01-30 Alexander Larsson <alexl@redhat.com>
73 Fix gamin/fam difference build issue. (#509419)
75 2008-01-29 Alexander Larsson <alexl@redhat.com>
79 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
81 2008-01-29 Alexander Larsson <alexl@redhat.com>
85 giomodule-priv.h include moved to .c file.
87 2008-01-29 Alexander Larsson <alexl@redhat.com>
89 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
90 Remove unused prio/name fields.
92 2008-01-29 Alexander Larsson <alexl@redhat.com>
94 * gcontenttype.c (looks_like_text):
95 Don't treat whitespace as control chars.
97 2008-01-29 Alexander Larsson <alexl@redhat.com>
100 Lazily create the desktop files for appinfos created
101 by g_app_info_create_from_commandline() when needed
102 for mime associations. This allows run-time use
103 of GAppInfo object without creating unnecessary
106 2008-01-29 Alexander Larsson <alexl@redhat.com>
109 Added new symbols to gio.symbols
111 2008-01-29 Alexander Larsson <alexl@redhat.com>
114 Add g_file_query_default_handler utility to easily look up
115 the GAppInfo that handles a file.
117 * gdesktopappinfo.[ch]:
119 Set up an extension point for g_app_info_get_default_for_uri_scheme()
122 Remove unused function
124 2008-01-29 Alexander Larsson <alexl@redhat.com>
127 Mention need to free returned value in
128 g_file_enumerator_next_files_finish docs.
129 Fix leak if g_file_enumerator_next_files_finish()
132 2008-01-29 Alexander Larsson <alexl@redhat.com>
135 (_g_unix_content_type_get_parents):
136 Use list_parents, not get_parents from xdgmime, because
137 the later doesn't use the cache.
139 * xdgmime/xdgmimecache.c:
140 (_xdg_mime_cache_list_mime_parents):
141 Don't list the same type as parent multiple times.
143 2008-01-28 Matthias Clasen <mclasen@redhat.com>
145 * === Released 2.15.4 ===
147 2008-01-28 Alexander Larsson <alexl@redhat.com>
150 Register local vfs with prio 0.
153 Remove old name and prio class members
155 2008-01-28 Matthias Clasen <mclasen@redhat.com>
157 * tests/g-file.c: Disable some tests that are failing in
158 the absence of a http backend.
160 2008-01-28 Alexander Larsson <alexl@redhat.com>
164 Add registration hooks for extension points.
165 Register the gio extension points.
167 * fam/gfamdirectorymonitor.c:
168 * fam/gfamfilemonitor.c:
169 * glocaldirectorymonitor.[ch]:
170 * glocalfilemonitor.[ch]:
171 * gnativevolumemonitor.h:
172 * gunionvolumemonitor.c:
173 * gunixvolumemonitor.c:
176 * inotify/ginotifydirectorymonitor.c:
177 * inotify/ginotifyfilemonitor.c:
178 Use the extension points registration instead
179 of g_type_children().
181 2008-01-28 Matthias Clasen <mclasen@redhat.com>
184 * gvolume.[hc]: Document new API.
186 * gfile.c (g_file_copy_async): Fix docs
188 2008-01-27 Matthias Clasen <mclasen@redhat.com>
190 * gbufferedinputstream.c:
192 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
195 2008-01-27 Matthias Clasen <mclasen@redhat.com>
197 * glocalfile.c: Avoid trivial differences in translatable strings.
199 2008-01-25 Matthias Clasen <mclasen@redhat.com>
201 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
202 build with gcc 3.4 (#509419)
204 2008-01-25 Matthias Clasen <mclasen@redhat.com>
206 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
207 (#509994, Murray Cumming)
209 2008-01-25 Matthias Clasen <mclasen@redhat.com>
211 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
212 * gioscheduler.c: Keep calling io jobs until they return FALSE;
213 this allows big jobs to be executed in chunks, instead of blocking
214 the main loop for a long time.
216 * gsimpleasyncresult.c:
217 * giofile.c: Adapt callers.
219 2008-01-25 Alexander Larsson <alexl@redhat.com>
222 Implement changes discussed on xdg list.
223 Now we can add supported mimetypes by just using defaults.list
224 We can also remove associations in defaults.list.
226 2008-01-25 Alexander Larsson <alexl@redhat.com>
229 Don't make local copy of desktop file
230 for mimetype changes if the file already
231 supports the new mimetype.
233 2008-01-25 Matthias Clasen <mclasen@redhat.com>
237 * gbufferedinputstream.c:
238 * glocalfile.c: String improvements. (#511966,
239 Theppitak Karoonboonyanan)
241 2008-01-24 Matthias Clasen <mclasen@redhat.com>
243 * gioscheduler.h: Expand docs a bit.
245 2008-01-24 Alexander Larsson <alexl@redhat.com>
248 Add g_drive_get_identifier and
249 g_drive_enumerate_identifiers
252 Add g_volume_get_identifier and
253 g_volume_enumerate_identifiers
259 Implement identifiers for unix backend
261 2008-01-24 Alexander Larsson <alexl@redhat.com>
266 Add g_file_copy_async() (#511580)
267 Based on patch from Carlos Garcia Campos
269 2008-01-23 Matthias Clasen <mclasen@redhat.com>
271 * gioscheduler.c: Some documentation additions.
273 2008-01-22 Alexander Larsson <alexl@redhat.com>
276 (g_desktop_app_info_new):
279 2008-01-22 Alexander Larsson <alexl@redhat.com>
282 (g_desktop_app_info_new_from_filename):
285 2008-01-22 Alexander Larsson <alexl@redhat.com>
287 * glocalfileinfo.c (get_thumbnail_attributes):
290 2008-01-22 Alexander Larsson <alexl@redhat.com>
293 (canonicalize_filename):
294 Canonicalize paths that start with more than
299 (test_g_file_new_for_path):
302 2008-01-22 Alexander Larsson <alexl@redhat.com>
305 Allow UTF-8 in file:// parse names.
308 * tests/data-input-stream.c:
309 * tests/data-output-stream.c:
310 * tests/g-file-info.c:
312 Added a bunch of tests from Tomas Bzatek
314 2008-01-21 Matthias Clasen <mclasen@redhat.com>
316 * === Released 2.15.3 ===
318 2008-01-21 Alexander Larsson <alexl@redhat.com>
320 * gfileinputstream.[ch]:
321 * gfileoutputstream.[ch]:
323 Remove duplicated GSeekable functions. (#509990)
324 Just use the g_seekable_xxx() calls instead.
326 2008-01-21 Matthias Clasen <mclasen@redhat.com>
329 * gvolumemanager.c: Whitespace cleanups.
331 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
332 Use the right mode when creating the file.
334 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
337 * gfileinputstream.c:
339 * goutputstream.c: Documentation: Fixed minor typos
340 and added more mentions of specific _finish() functions.
342 2008-01-21 Alexander Larsson <alexl@redhat.com>
344 * inotify/Makefile.am:
345 * inotify/inotify-helper.c:
346 * inotify/inotify-kernel.c:
347 * inotify/inotify-path.c:
348 * inotify/local_inotify.h: Removed.
349 * inotify/local_inotify_syscalls.h: Removed.
350 Removed the included copies of the inotify
351 headers. We now only use the <sys/inotify.h>
352 header which exists on modern systems.
353 This fixes problems on ARM and SH5 (#510448)
354 but is also generally much cleaner and future
355 safe. For instance, if other OSes add support
356 for inotify it should "just work".
358 2008-01-20 Matthias Clasen <mclasen@redhat.com>
360 * inotify/*.c: Coding style fixes.
361 * inotify/inotify-missing.c: Use g_timeout_add_seconds
362 for the 1/4 Hz timer.
364 2008-01-20 Matthias Clasen <mclasen@redhat.com>
368 * gmemoryinputstream.c:
369 * gmemoryoutputstream.c:
371 * gthemedicon.c: Documentation updates
373 2008-01-20 Murray Cumming <murrayc@murrayc.com>
375 * gfile.c: documentation: Fixed more minor
378 2008-01-18 Murray Cumming <murrayc@murrayc.com>
380 * gmount.c: (g_mount_remount): documentation:
381 Mention g_mount_remount_finish() instead of
382 g_mount_unmount_finish().
384 2008-01-18 Murray Cumming <murrayc@murrayc.com>
388 * gfile.c: Fixed some minor typos in the
391 2008-01-18 Murray Cumming <murrayc@murrayc.com>
393 * gio/gvolumemonitor.c:
394 (g_volume_monitor_get_connected_drives):
395 (g_volume_monitor_get_volumes):
396 (g_volume_monitor_get_mounts): Documentation:
397 Clarify the ownership of the regurn GLists.
399 2008-01-17 Alexander Larsson <alexl@redhat.com>
402 Add the async find_enclosing_mount version
403 to the header file too.
405 2008-01-17 Alexander Larsson <alexl@redhat.com>
408 Add async version of find_enclosing_mount
409 with default implementation.
411 2008-01-17 Alexander Larsson <alexl@redhat.com>
416 Allow calls to implementation of copy and write
417 even if the type of the file implementations is
418 different. This can be used to implement native
419 upload and download calls in a vfs.
423 Protect against the case where move is called
424 with one file not being local.
426 Make sure we call the progress callback once
427 in the native move operation so that the caller
428 knows how many bytes were copied.
430 2008-01-16 Murray Cumming <murrayc@murrayc.com>
433 * gdatainputstream.c:
435 * gfileoutputstream.c:
440 * gunixmounts.c: Corrected some typos in the documentation:
442 its -> it's (where appropriate).
444 2008-01-16 Alexander Larsson <alexl@redhat.com>
448 Add g_file_query_exists (#508771)
450 2008-01-15 Murray Cumming <murrayc@murrayc.com>
455 * gvolume.c: For async functions that have no non-async
456 version, document that the GAsyncReadyCallback may be NULL.
459 2008-01-15 Alexander Larsson <alexl@redhat.com>
461 * gmemoryinputstream.c:
462 * gmemoryoutputstream.c:
463 Don't do pointer arithmetic on void * (#508602)
464 Patch from Kazuki IWAMOTO
466 2008-01-14 Matthias Clasen <mclasen@redhat.com>
468 * === Released 2.15.2 ===
470 2008-01-14 Alexander Larsson <alexl@redhat.com>
472 * gfile.c (g_file_monitor_file):
473 Don't set error here, since we fallback to polling monitor.
475 2008-01-14 Alexander Larsson <alexl@redhat.com>
478 (g_file_monitor_directory):
479 (g_file_monitor_file):
480 Add GError to file monitor calls
482 * glocaldirectorymonitor.c:
483 * glocaldirectorymonitor.h:
485 * glocalfilemonitor.c:
486 * glocalfilemonitor.h:
488 Update for above change
490 2008-01-14 Alexander Larsson <alexl@redhat.com>
494 Handle root correctly in g_file_get_relative_path (#508719)
496 2008-01-14 Alexander Larsson <alexl@redhat.com>
499 Clean up docs and example for GAsyncResult (#508074)
501 2008-01-11 Murray Cumming <murrayc@murrayc.com>
503 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
504 and correct some spelling mistakes. Bug #508108.
506 2008-01-11 Matthias Clasen <mclasen@redhat.com>
508 * glocalfileinfo.c: Add a comment.
510 2008-01-10 Murray Cumming <murrayc@murrayc.com>
512 * gfileinfo.c: GFileInfo description: Mention
513 how to actually set attributes in a GFile and how to discover
514 which attributes are settable. Bug #508378.
516 2008-01-10 A. Walton <awalton@svn.gnome.org>
518 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
519 (g_app_info_get_default_for_type):
520 Check for NULL content types.
522 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
524 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
526 2008-01-09 Murray Cumming <murrayc@murrayc.com>
528 * gfile.c: *_async() functions: Several small corrections
529 to the documentation, mostly correcting copy/paste errors
530 and improving some sentences.
532 2008-01-09 Dan Winship <danw@gnome.org>
534 * glocalfile.c (get_unique_filename): x86_64 fix
536 2008-01-09 Alexander Larsson <alexl@redhat.com>
541 Add g_unix_mount_guess_should_display and use
542 for unix volume monitor backend.
543 This means we more or less show what the
544 gnome-vfs backend did.
545 Based on patch from Padraig O'Briain
547 2008-01-09 Alexander Larsson <alexl@redhat.com>
551 Add g_themed_icon_new_with_default_fallbacks
554 Use default fallbacks for icons
556 2008-01-09 Alexander Larsson <alexl@redhat.com>
559 * gmountoperation.[ch]:
560 Change the API a bit so that unhandled methods
561 get reported via the reply, rather than by
562 the signal emission return value. This is because
563 some handlers can't know this immediately without
564 doing I/O, and this is an async operation that
567 2008-01-09 Alexander Larsson <alexl@redhat.com>
570 * fam/gfamdirectorymonitor.c:
571 * fam/gfamfilemonitor.c:
572 Fix double free crash (#508224)
573 Patch from Joe Marcus Clarke
575 008-01-07 Matthias Clasen <mclasen@redhat.com>
577 * === Released 2.15.1 ===
579 2008-01-07 Alexander Larsson <alexl@redhat.com>
581 * gunixinputstream.c (g_unix_input_stream_skip_finish):
582 Fix warning (#507835)
584 2008-01-07 Alexander Larsson <alexl@redhat.com>
587 Pass --internal to glib-genmarshal
592 Use better types for signal arguments (#507822)
594 2008-01-07 Alexander Larsson <alexl@redhat.com>
597 Build test subdir after .
598 Remove gdirectorymonitor.[ch]
600 * gdirectorymonitor.[ch]:
604 Remove GDirectoryMonitor and make
605 GFileMonitor the baseclass for both file and
606 directory monitors. Lift the more generic
607 rate limiting code from GDirectoryMonitor
611 * fam/gfamdirectorymonitor.[ch]:
612 * inotify/ginotifydirectorymonitor.[ch]:
613 * inotify/inotify-helper.c:
614 * glocaldirectorymonitor.[ch]:
617 Update for the removed GDirectoryMonitor.
619 * gmemoryoutputstream.c:
620 Remove ununsed variable
622 2008-01-07 Alexander Larsson <alexl@redhat.com>
624 * gmemoryinputstream.c:
625 Translate error strings
628 * gmemoryoutputstream.[ch]:
629 New implementation that avoids using GByteArray
630 in implementation and API. (#506377)
632 2008-01-06 Matthias Clasen <mclasen@redhat.com>
634 * tests/*: Add a test for memory input streams.
636 * Makefile.am: Add tests to SUBDIRS.
638 2008-01-06 Matthias Clasen <mclasen@redhat.com>
640 * glocalfilemonitor.c:
641 * glocaldirectorymonitor.c: Mark property nicks and blurbs
644 2008-01-06 Matthias Clasen <mclasen@redhat.com>
646 * gdesktopappinfo.c: Fix a docs typo.
648 * gfileattribute.c: Add information about extended attributes
649 to the documentation. (#505058)
651 2008-01-04 Alexander Larsson <alexl@redhat.com>
655 Use the right type (uint) for the ask_password signal.
657 2008-01-04 Alexander Larsson <alexl@redhat.com>
662 Add g_app_info_supports_files()
663 Remove desktop arg from g_app_info_should_show().
665 * gdesktopappinfo.[ch]:
666 Implement g_app_info_supports_files() and new should_show()
667 Add g_desktop_app_info_set_desktop_env() to set the desktop
668 for should_show(). (This will be set by gtk+ later)
670 2008-01-04 Alexander Larsson <alexl@redhat.com>
673 * gmemoryinputstream.[ch]:
674 Improve API so that you can use multiple chunks
675 of memory and custom destroy functions. (#506374)
677 2008-01-03 Alexander Larsson <alexl@redhat.com>
680 Handle NULL attribute matchers safely, as we return this
681 for empty attribute matcher strings.
683 2008-01-03 Alexander Larsson <alexl@redhat.com>
685 * gunixmounts.c (g_unix_is_mount_path_system_internal):
686 Add /usr/local to list of internal mountpoints
688 2008-01-03 Alexander Larsson <alexl@redhat.com>
691 Check for HAVE_LCHOWN (#505887)
693 2008-01-03 Alexander Larsson <alexl@redhat.com>
697 Add define for selinux context attribute.
698 Fix missing : -> :: namespace separator change
699 Fix missing _ -> - name change for xattr-sys.
702 2008-01-03 Alexander Larsson <alexl@redhat.com>
705 Link to libglib and libgobject directly (#504879)
706 Patch from Sebastien Bacher
708 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
710 * gfile.c: Expanded the g_file_new_for_commandline_arg
711 description a bit, based on the code and the docs of the
712 other g_file_new_for_* functions.
714 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
716 * gfilemonitor.h: Fixed typo in docs.
718 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
720 Updates to GIO documentation. (#506395, Mikael Hermansson)
722 * gcontenttype.c: Describe memory management for return value of
723 g_content_types_get_registered(). Missing piece from #505815.
724 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
725 GVolume, GDrive, GMounts, which hopefully gives the user less
726 confusions when using this API. Following explainations from
727 Alexander Larsson on gtk-devel-list.
729 2007-12-30 Matthias Clasen <mclasen@redhat.com>
731 * gfileinfo.c: Expand the long description.
733 2007-12-30 Matthias Clasen <mclasen@redhat.com>
736 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
737 fix builds with --disable-visibility. (#500273, Christian Persch)
739 2007-12-30 Matthias Clasen <mclasen@redhat.com>
741 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
742 in the list of returned app infos.
744 2007-12-30 Matthias Clasen <mclasen@redhat.com>
746 * gappinfo.c: Fix a cross-reference
748 2007-12-30 Matthias Clasen <mclasen@redhat.com>
750 * gfileinputstream.c:
751 * gfileoutputstream.c:
757 * gfileinfo.c: Documentation updates.
759 2007-12-26 Matthias Clasen <mclasen@redhat.com>
761 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
764 2007-12-26 Matthias Clasen <mclasen@redhat.com>
766 * gcontenttype.c (g_content_types_get_registered): Don't return
767 freed memory (#505815, Mikael Hermansson)
769 2007-12-25 Paolo Borelli <pborelli@katamail.com>
771 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
772 used to detect statbuf->st_blocks. (#505042)
774 2007-12-24 Matthias Clasen <mclasen@redhat.com>
776 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
777 environment handling. (#504829, Cosimo Cecchi)
779 2007-12-22 Matthias Clasen <mclasen@redhat.com>
781 * gappinfo.c: Doc improvements
783 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
786 2007-12-20 Matthias Clasen <mclasen@redhat.com>
788 * === Released 2.15.0 ===
790 2007-12-20 Hans Breuer <hans@breuer.org>
792 * makefile.msc : don't build gdesktopappinfo.obj, it collides
793 with symbols gwin32appinfo.obj, added gmount.obj
794 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
796 2007-12-20 Alexander Larsson <alexl@redhat.com>
802 * gfilenamecompleter.c:
805 * gpollfilemonitor.c:
806 File attribute renames:
809 id::fs -> id::filesystem
811 2007-12-20 Alexander Larsson <alexl@redhat.com>
820 Add GMountUnmountFlags to all unmount and
822 Add g_mount_remount() call.
824 2007-12-20 Alexander Larsson <alexl@redhat.com>
826 * gvfs.c (get_default_vfs):
827 Fix unused variable warning
829 2007-12-19 Matthias Clasen <mclasen@redhat.com>
831 * pltcheck.sh: Update
833 2007-12-19 Matthias Clasen <mclasen@redhat.com>
835 * gunionvolumemonitor.c:
836 * gunixmount.c: Remove C99 comments
838 2007-12-19 Matthias Clasen <mclasen@redhat.com>
840 * gio.symbols: Add some missing symbols
842 2007-12-19 Alexander Larsson <alexl@redhat.com>
845 Make g_io_modules_load_all_in_directory not unuse
846 loaded modules so that users of it can do stuff
848 Init internal "module" types.
849 Initialize static prio and name for types so that
850 we don't have to load modules to get it.
852 * gnativevolumemonitor.h:
854 Move is_supported to parent class so that
855 non-native monitors can avoid being initialized
856 too. (For instance GDaemonVolumeMonitor if we're
857 not using GDaemonVfs.)
859 * glocaldirectorymonitor.[ch]:
860 * glocalfilemonitor.[ch]:
861 * gunionvolumemonitor.c:
862 * gunixvolumemonitor.c:
864 Find plugins using the static prio+name to
865 avoid unnecessarily loading the modules.
867 2007-12-19 Alexander Larsson <alexl@redhat.com>
872 2007-12-19 Alexander Larsson <alexl@redhat.com>
874 * gunionvolumemonitor.c:
875 Store the native type as GType, not class so that
876 we can unload it. But still avoid unnecessarily
879 2007-12-19 David Zeuthen <davidz@redhat.com>
881 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
882 add signals 'disconnected' and 'eject-button' on GDrive. Add
883 signal 'removed' on GVolume and 'unmounted' on GMount.
885 * gdrive.c: (g_drive_base_init):
887 * gfile.c: (g_file_mount_mountable),
888 (g_file_mount_enclosing_volume):
891 * gmount.c: (g_mount_base_init):
893 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
894 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
895 * gvolume.c: (g_volume_base_init), (g_volume_mount):
899 2007-12-17 Matthias Clasen <mclasen@redhat.com>
901 * *.c: Fix up includes in the section docs.
903 2007-12-17 Alexander Larsson <alexl@redhat.com>
905 * gnativevolumemonitor.h:
906 * gunionvolumemonitor.c:
907 * gunixvolumemonitor.c:
908 Add is_supported() to GNativeVolumeMonitorClass so
909 that we can avoid having to create an object to see
910 if the backend is supported at runtime.
911 Also add name member and an env var to pick a specific
912 volume monitor backend.
916 Add cancellable to _g_mount_get_for_mount_path()
918 * glocaldirectorymonitor.c:
919 * glocalfilemonitor.c:
920 Avoid loading and unloading modules while sorting.
922 2007-12-17 Matthias Clasen <mclasen@redhat.com>
925 * gunixmounts.[hc]: Namespace waste reduction, move some
926 g_get_unix_mount functions to the g_unix_mount namespace.
929 * gunixvolumemonitor.c:
931 * glocaldirectorymonitor.c: Update all callers.
933 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
935 2007-12-17 Alexander Larsson <alexl@redhat.com>
938 Add doc comments about what GFile operations are
939 guaranteed to not block.
941 2007-12-17 Alexander Larsson <alexl@redhat.com>
944 Add missing #ifdef fixing OSX build.
945 (#503334, patch from Richard Hult)
947 2007-12-14 David Zeuthen <davidz@redhat.com>
951 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
952 (g_mount_eject), (g_mount_eject_finish):
954 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
955 (get_volume_for_uuid), (get_mount_for_uuid),
956 (g_union_volume_monitor_class_init),
957 (get_default_native_type_with_exclude), (get_default_native_type),
958 (get_native_type), (update_native_type),
959 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
960 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
961 (g_unix_mount_can_eject), (eject_unmount_cb),
962 (eject_unmount_read_error), (eject_unmount_do),
963 (g_unix_mount_unmount), (g_unix_mount_eject),
964 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
965 * gunixmounts.c: (g_unix_mount_guess_can_eject),
966 (g_unix_mount_point_guess_can_eject):
968 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
969 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
970 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
971 (g_unix_volume_mount), (g_unix_volume_eject),
972 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
973 * gunixvolumemonitor.c: (get_volume_for_uuid),
974 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
976 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
977 (g_volume_eject), (g_volume_eject_finish):
979 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
980 (g_volume_monitor_get_mount_for_uuid):
983 Provide eject() on both GMount and GVolume and utility functions
984 to guess whether a GUnixMountPoint or GUnixMountEntry should be
985 ejected. Introduce the concept of UUID's and wire it into GVolume
986 and GMount and provide API on GVolumeMonitor to find such
987 instances. Also handle the case where an external
988 GNativeVolumeMonitor fails to initialize. Lock around the
989 _g_get_mount_for_mount_path() function such that volume monitor
990 implementations won't have to do locking themselves.
992 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1000 * gvolume.h: Documentation updates
1002 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1005 * gfile.h: Doc updates
1007 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1010 * gdesktopappinfo.c: Use hash table iterators.
1012 2007-12-14 Alexander Larsson <alexl@redhat.com>
1015 * gfileattribute.[ch]:
1016 * gfileattribute-priv.h:
1017 Move GFileAttributeValue to a private header, as
1021 Make set_attribute take a type + a pointer instead
1022 of a GFileAttributeValue.
1025 Fix up for above changes.
1026 Add g_file_info_get_attribute_data to get
1027 all info in one call, g_file_info_get_attribute_status
1028 to get the status and g_file_info_get_attribute_as_string.
1032 * glocalfileinfo.[ch]:
1036 Make _guess_type static.
1038 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1041 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1042 made mkenums and friends use temporary files to avoid leaving
1043 empty generated files on failure (#503470).
1045 2007-12-14 Alexander Larsson <alexl@redhat.com>
1047 * gmountoperation.h:
1050 2007-12-14 Alexander Larsson <alexl@redhat.com>
1054 * gfileattribute.[ch]:
1057 * glocalfileoutputstream.c:
1058 * gmountoperation.[ch]:
1059 * goutputstream.[ch]:
1060 Clean up all flags enums to not have _FLAGS in them
1061 Make the names of some of the enums better.
1066 2007-12-14 Michael Natterer <mitch@imendio.com>
1068 * gio.symbols: fix g_io_scheduler symbol names.
1070 2007-12-14 Alexander Larsson <alexl@redhat.com>
1076 * gbufferedinputstream.h:
1077 * gbufferedoutputstream.h:
1080 * gdatainputstream.h:
1081 * gdataoutputstream.h:
1082 * gdesktopappinfo.h:
1083 * gdirectorymonitor.h:
1087 * gfileenumerator.h:
1090 * gfileinputstream.h:
1092 * gfilenamecompleter.h:
1093 * gfileoutputstream.h:
1094 * gfilterinputstream.h:
1095 * gfilteroutputstream.h:
1103 * gmemoryinputstream.h:
1104 * gmemoryoutputstream.h:
1106 * gmountoperation.h:
1109 * gsimpleasyncresult.h:
1111 * gunixinputstream.h:
1113 * gunixoutputstream.h:
1117 * inotify/Makefile.am:
1118 Only allow including <gio/gio.h> from apps
1120 2007-12-14 Alexander Larsson <alexl@redhat.com>
1122 * gioscheduler.[ch]:
1123 * gsimpleasyncresult.c:
1124 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1125 Split out the send_to_mainloop call into two versions instead
1126 of having the block argument.
1128 2007-12-13 Alexander Larsson <alexl@redhat.com>
1130 * gcancellable.[ch]:
1132 * gbufferedinputstream.c:
1133 * gfileenumerator.c:
1134 * gfileinputstream.c:
1135 * gfileoutputstream.c:
1139 g_push/pop_current_cancellable ->
1140 g_cancellable_push/pop_current
1142 2007-12-13 Alexander Larsson <alexl@redhat.com>
1146 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1148 2007-12-13 Alexander Larsson <alexl@redhat.com>
1150 * gmountoperation.h:
1151 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1153 2007-12-12 Alexander Larsson <alexl@redhat.com>
1156 Fix race condition when freeing proxy in
1157 g_io_job_send_to_mainloop().
1159 2007-12-12 Alexander Larsson <alexl@redhat.com>
1165 Make attribute namespace separator "::" instead of ":".
1166 Use - instead of _ as separator in attribute names.
1168 2007-12-12 Alexander Larsson <alexl@redhat.com>
1170 * gbufferedinputstream.h:
1171 * gbufferedoutputstream.h:
1172 * gdatainputstream.h:
1173 * gdataoutputstream.h:
1174 * gdirectorymonitor.h:
1175 * gfileenumerator.h:
1176 * gfileinputstream.h:
1178 * gfileoutputstream.h:
1179 * gfilterinputstream.h:
1180 * gfilteroutputstream.h:
1182 * glocalfileinputstream.h:
1183 * glocalfileoutputstream.h:
1184 * gmemoryinputstream.h:
1185 * gmemoryoutputstream.h:
1186 * gnativevolumemonitor.h:
1188 * gunixinputstream.h:
1189 * gunixoutputstream.h:
1192 s/parent/parent_instance/ in GObjects
1194 2007-12-12 Alexander Larsson <alexl@redhat.com>
1199 No need for padding for interfaces
1201 2007-12-12 Alexander Larsson <alexl@redhat.com>
1205 * gbufferedinputstream.c:
1206 * gbufferedoutputstream.c:
1209 * gdatainputstream.[ch]:
1210 * gdesktopappinfo.c:
1211 * gdirectorymonitor.c:
1213 * gfileattribute.[ch]:
1216 * gfileinputstream.h:
1217 * gfilemonitor.[ch]:
1218 * gfileoutputstream.[ch]:
1219 * gfilterinputstream.h:
1220 * gfilteroutputstream.h:
1223 * gloadableicon.[ch]:
1224 * gmemoryinputstream.c:
1225 * gmountoperation.c:
1227 Fix up a bunch of details in the docs.
1232 2007-12-11 David Zeuthen <davidz@redhat.com>
1234 Rework how volumes, drives and volume monitoring is
1235 done. Previosly the model was
1237 GDrive <1-1> GVolume
1239 where a GDrive instance represented a mount point and a GVolume
1240 instance represented a mounted file system. This patch changes it
1243 GDrive <1-N> GVolume <1-1> GMount
1245 where GMount now serves the purpose of the old GVolume and the new
1246 GVolume serves the purpose of the old GDrive. In addition the new
1247 GDrive interface is used to represent a collection of GVolume
1248 instances (typically partitions) and also contains utility to query
1249 the state of the physical drive the GDrive object represents (such
1250 as checking for media, polling the drive, ejecting the media etc.).
1252 Also implement mounting and unmounting in the Unix volume monitor
1253 backend. A subquent patch will introduce GDrive support for ejection
1257 * gdrive.c: (g_drive_is_media_check_automatic),
1258 (g_drive_is_media_removable), (g_drive_has_media),
1259 (g_drive_can_poll_for_media), (g_drive_eject),
1260 (g_drive_eject_finish), (g_drive_poll_for_media),
1261 (g_drive_poll_for_media_finish):
1263 * gfile.c: (g_file_find_enclosing_mount):
1266 * glocaldirectorymonitor.c:
1267 (g_local_directory_monitor_constructor), (mounts_changed):
1268 * glocalfile.c: (get_mount_info),
1269 (g_local_file_find_enclosing_mount),
1270 (g_local_file_file_iface_init):
1271 * gnativevolumemonitor.h:
1272 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1273 (get_connected_drives), (g_union_volume_monitor_class_init),
1274 (child_volume_added), (child_volume_removed),
1275 (child_volume_changed), (child_mount_added), (child_mount_removed),
1276 (child_mount_pre_unmount), (child_mount_changed),
1277 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1278 (g_union_volume_monitor_remove_monitor),
1279 (_g_mount_get_for_mount_path):
1280 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1281 (guess_system_internal), (_g_get_unix_mounts),
1282 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1283 (g_unix_mount_free), (g_unix_mount_compare),
1284 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1285 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1286 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1287 (type_to_icon), (g_unix_mount_guess_name),
1288 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1289 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1290 (_resolve_symlink), (_resolve_dev_root):
1292 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1293 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1294 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1295 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1296 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1297 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1298 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1299 (g_unix_volume_volume_iface_init):
1301 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1302 (get_mounts), (get_volumes), (get_connected_drives),
1303 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1304 (mountpoints_changed), (mounts_changed),
1305 (g_unix_volume_monitor_init),
1306 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1307 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1308 * gunixvolumemonitor.h:
1309 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1310 (g_volume_mount), (g_volume_mount_finish):
1312 * gvolumemonitor.c: (g_volume_monitor_class_init),
1313 (g_volume_monitor_get_connected_drives),
1314 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1317 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1319 * gmountoperation.h (GPasswordFlags): Close the gap
1321 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1323 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1325 * gdesktopappinfo.[hc]: Remove _-prefixes
1327 2007-12-10 Tor Lillqvist <tml@novell.com>
1329 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1332 2007-12-10 Alexander Larsson <alexl@redhat.com>
1334 * gfile.c (g_file_set_display_name):
1335 Don't hardcode '/' (#502727)
1337 2007-12-09 Hans Breuer <hans@breuer.org>
1339 * makefile.msc : follow lib naming convention
1340 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1341 for user and group name, tested with ../tests/gio-ls
1343 2007-12-09 A. Walton <awalton@svn.gnome.org>
1345 * gdesktopappinfo.c:
1351 * gfileenumerator.c:
1356 * gmemoryinputstream.c:
1357 * gmemoryoutputstream.c:
1359 * gsimpleasyncresult.c:
1360 More documentation cleanup and filling in missing information, bringing
1361 GIO to 99% symbol coverage.
1363 2007-12-08 Hans Breuer <hans@breuer.org>
1365 [gio compiles and links on win32, not sure how much already works]
1366 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1367 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1368 base on win32 API; prefer g_lstat() over lstat(); instead of
1369 localtime_r() use an all GLib implementation on win32;
1370 get_mount_info() still needs a win32 specifc implementation
1371 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1372 win32_get_file_user_info to get owner/group info without uid/gid
1373 * glocalfileinputstream.c : include <io.h> on win32
1374 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1375 definition, use g_win32_ftruncate() for G_OS_WIN32
1376 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1377 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1378 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1379 * makefile.msc : updated
1381 2007-12-07 Alexander Larsson <alexl@redhat.com>
1383 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1384 Avoid warning spew if error == NULL
1386 2007-12-07 Alexander Larsson <alexl@redhat.com>
1389 Update docs wrt etags
1391 2007-12-06 Alexander Larsson <alexl@redhat.com>
1394 Include sys/types.h for dev_t (#501919)
1396 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1400 Make abicheck and pltcheck pass.
1402 2007-12-05 Alexander Larsson <alexl@redhat.com>
1405 * giomodule-priv.h: Added.
1406 * glocaldirectorymonitor.c:
1407 * glocalfilemonitor.c:
1408 * gunionvolumemonitor.c:
1410 Actually add the declaration of _g_io_modules_ensure_loaded
1412 2007-12-05 Alexander Larsson <alexl@redhat.com>
1414 * gdatainputstream.c:
1419 * glocaldirectorymonitor.c:
1420 * glocalfilemonitor.c:
1421 * gunionvolumemonitor.c:
1423 Make g_io_modules_ensure_loaded a private function and
1424 don't pass in the dirname. This means we can do magic
1425 directory finding in the win32 version.
1426 Export the actual load-modules-in-directory code so that
1427 gvfs can reuse that.
1429 2007-12-05 Alexander Larsson <alexl@redhat.com>
1431 * gbufferedinputstream.c:
1432 * gbufferedoutputstream.c:
1435 * gfileenumerator.[ch]:
1436 * gfileinputstream.c:
1437 * gfileoutputstream.[ch]:
1438 * gfilterinputstream.c:
1439 * gfilteroutputstream.c:
1440 * ginputstream.[ch]:
1442 * glocalfileenumerator.c:
1443 * glocalfileinputstream.c:
1444 * glocalfileoutputstream.c:
1445 * gmemoryinputstream.c:
1446 * gmemoryoutputstream.c:
1447 * goutputstream.[ch]:
1450 * gunixinputstream.c:
1451 * gunixoutputstream.c:
1452 Rename all struct members named:
1453 read, write, close, truncate, or mount
1454 to foo_fn, as these are reserved names
1455 and could be defined as macros in libc.
1458 2007-12-04 Alexander Larsson <alexl@redhat.com>
1461 (g_output_stream_close):
1462 Only call flush if non-null.
1464 2007-11-30 Dan Winship <danw@gnome.org>
1466 * ginputstream.c (g_input_stream_set_pending): Make this take a
1467 GError and return a gboolean, and do the "outstanding operation"
1468 check (and the "stream is already closed" check) itself.
1469 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1471 * goutputstream.c (g_output_stream_set_pending)
1472 (g_output_stream_clear_pending): Likewise
1474 * gbufferedinputstream.c:
1475 * gfileinputstream.c:
1476 * gfileoutputstream.c: Update for that
1478 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1479 Like g_simple_async_report_error_in_idle, but takes a GError
1480 rather than building one.
1482 2007-11-30 Dan Winship <danw@gnome.org>
1484 * goutputstream.c: Don't cheat and unset the "pending" flag around
1485 inner calls. Instead, call the class method directly rather than
1486 the wrapper function that checks "pending"
1488 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1490 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1492 2007-12-03 Hans Breuer <hans@breuer.org>
1494 [start of port to win32/msvc]
1495 * gcancellable.c : HAVE_UNIST_H and _pipe()
1496 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1497 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1498 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1500 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1501 * glocalvfs.c : use HAVE_PWD_H
1502 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1503 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1504 * Makefile.am : added to EXTRA_DIST
1506 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1508 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1511 2007-12-03 Alexander Larsson <alexl@redhat.com>
1514 Handle OSX style xattrs API (#500506)
1516 2007-12-03 Alexander Larsson <alexl@redhat.com>
1520 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1522 2007-12-02 A. Walton <awalton@svn.gnome.org>
1526 Documentation accuracy fixes.
1528 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1530 * gioenumtypes.c.template: Fix typo.
1532 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1534 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1536 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1538 * gdirectorymonitor.c:
1539 * gfilemonitor.c: Add properties
1541 * gbufferedoutputstream.c: Don't mark buffer-size property
1544 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1546 * gbufferedoutputstream.c: Add auto-grow property.
1548 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1550 * *.c: Unify the capitalization of section headings.
1552 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1554 * gmountoperation.c: Add properties
1556 * gdatainputstream.c: Turn byte-order and newline-type into
1559 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1561 * gioenumtypes.[hc].template: Templates for enum registration
1563 * Makefile.am: Generate gioenumtypes.[hc]
1565 * gio.h: Include gioenumtypes.h
1567 * gfile.h: Add some explicit nicks.
1569 * gio.symbols: Add new symbols
1571 * pltcheck.sh: Adjust
1573 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1575 * *.c: Explain etags and link to the explanation
1577 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1579 * *.c: Explain I/O priority.
1581 * *.c: More coding style fixes.
1583 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1585 * gasyncresult.c: Add another paragraph to the intro,
1586 adjust coding style of example.
1588 2007-11-29 A. Walton <awalton@svn.gnome.org>
1591 Fixes unknown meaning in GAppLaunchContext docs.
1593 Clarify asynchronous ops.
1595 Fix entity tag docs.
1598 Provides missing gtk-doc section, fixes API docs slighly.
1599 * gsimpleasyncresult.c:
1600 Fill in missing info in docs.
1601 * gunixinputstream.c:
1602 * gunixoutputstream.c:
1603 Be more expressive in short description.
1605 Remove gtk-doc stubs for non-public API.
1607 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1609 * *.c: Coding style fixups
1611 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1613 * inotify/inotify-helper.c: Don't export the lock from libgio.
1615 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1618 * abicheck.sh: Fix copy-and-paste leftovers
1620 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1622 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1624 2007-11-28 Alexander Larsson <alexl@redhat.com>
1628 Removed unnecessary file
1630 * gdesktopappinfo.[ch]:
1633 * glocaldirectorymonitor.[ch]:
1635 * glocalfileenumerator.[ch]:
1636 * glocalfileinputstream.[ch]:
1637 * glocalfilemonitor.[ch]:
1638 * glocalfileoutputstream.[ch]:
1640 * gnativevolumemonitor.c:
1641 * gpollfilemonitor.[ch]:
1642 * gunionvolumemonitor.[ch]:
1645 * gunixvolumemonitor.[ch]:
1648 * inotify/ginotifydirectorymonitor.[ch]:
1649 * inotify/ginotifyfilemonitor.[ch]:
1650 * inotify/inotify-helper.c:
1651 Append _ to all internal functions
1655 Export symbols needed for modules
1657 2007-11-28 Alexander Larsson <alexl@redhat.com>
1660 * abicheck.sh: Added.
1661 * makegioalias.pl: Added.
1662 * pltcheck.sh: Added.
1663 * gio.symbols: Added.
1666 Initial work on adding symbol handling.
1669 Correct ifdef guard name
1672 * inotify/Makefile.am:
1673 * xdgmime/Makefile.am:
1674 Include toplevel Makefile.decl
1676 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1678 * gcontenttype.c: Move doc comments to the unix section.
1680 * *.[hc]: More trivial doc corrections.
1682 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1684 * gpollfilemonitor.c:
1688 * gdesktopappinfo.c:
1693 * gdatainputstream.c:
1694 * gdatainputstream.h:
1695 * gdataoutputstream.c:
1696 * gdataoutputstream.h:
1697 * gfileinfo.h: Doc cleanups
1699 2007-11-28 Andre Klapper <a9016009@gmx.de>
1701 * gdesktopappinfo.c: Fix a typo.
1703 2007-11-27 Andre Klapper <a9016009@gmx.de>
1705 * glocalfileoutputstream.c: Fix a typo.
1707 2007-11-27 Alexander Larsson <alexl@redhat.com>
1710 Don't include removed headers
1712 2007-11-27 Alexander Larsson <alexl@redhat.com>
1715 * gsocketinputstream.[ch]: Removed.
1716 * gsocketoutputstream.[ch]: Removed.
1717 * gunixinputstream.[ch]: Added.
1718 * gunixoutputstream.[ch]: Added.
1719 Renamed GSocket*Stream to GUnix*Stream and made
1720 it unix-only, since its not really only for sockets
1721 and it only works on unix (but is highly useful there).
1723 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1729 * gbufferedinputstream.c:
1730 * gbufferedinputstream.h:
1731 * gbufferedoutputstream.c:
1732 * gbufferedoutputstream.h:
1736 * gdatainputstream.c:
1737 * gdatainputstream.h:
1738 * gdataoutputstream.c:
1739 * gdataoutputstream.h:
1740 * gdirectorymonitor.c:
1741 * gdirectorymonitor.h:
1748 * gfileenumerator.c:
1749 * gfileenumerator.h:
1754 * gfileinputstream.c:
1755 * gfileinputstream.h:
1758 * gfilenamecompleter.c:
1759 * gfilenamecompleter.h:
1760 * gfileoutputstream.c:
1761 * gfileoutputstream.h:
1762 * gfilterinputstream.c:
1763 * gfilterinputstream.h:
1764 * gfilteroutputstream.c:
1765 * gfilteroutputstream.h:
1778 * glocalfileoutputstream.c:
1779 * gmemoryinputstream.c:
1780 * gmemoryinputstream.h:
1781 * gmemoryoutputstream.c:
1782 * gmemoryoutputstream.h:
1783 * gmountoperation.c:
1784 * gmountoperation.h:
1787 * gpollfilemonitor.c:
1790 * gsimpleasyncresult.c:
1791 * gsimpleasyncresult.h:
1792 * gsocketinputstream.c:
1793 * gsocketinputstream.h:
1794 * gsocketoutputstream.c:
1795 * gsocketoutputstream.h:
1802 * gunixvolumemonitor.c:
1811 Bumps documentation to 93% symbol coverage, touching most
1812 of the public files. Fixes broken function documentation prototypes.
1813 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1814 gtk-doc headers in private files.
1816 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1818 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1819 (g_buffered_input_stream_read_byte):
1820 * gbufferedinputstream.h:
1821 New functions for efficient access to buffer and simple single byte
1824 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1825 (g_data_input_stream_read_until):
1826 * gdatainputstream.h:
1827 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1828 read_until with multiple stop chars.
1830 2007-11-27 Alexander Larsson <alexl@redhat.com>
1834 * inotify/Makefile.am:
1835 Use the user-specified giomoduledir
1837 2007-11-27 Alexander Larsson <alexl@redhat.com>
1841 Add catch-all gio.h header
1842 Don't install gdummyfile.h
1844 2007-11-26 Alexander Larsson <alexl@redhat.com>
1846 * Makefile.am (gioinclude_HEADERS):
1847 Remove trailing whitespace
1849 2007-11-26 Alexander Larsson <alexl@redhat.com>
1851 Merge gio-standalone into glib
1853 2007-11-25 Christian Kellner <gicmo@gnome.org>
1855 * gio/goutputstream.c:
1856 Fix small mistake in the docs.
1858 2007-11-21 Christian Persch <chpe@gnome.org>
1860 * gio/glocalfile.c: (g_local_file_trash):
1861 Convert filenames to UTF-8 for GError.
1862 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1863 as per xdg base dir spec.
1865 2007-11-21 Christian Persch <chpe@gnome.org>
1867 * gio/gdesktopappinfo.c:
1868 Use that g_key_file_to_data cannot fail.
1870 Use stock defines for the key file group and key names.
1873 2007-11-21 Alexander Larsson <alexl@redhat.com>
1876 (copy_stream_with_progress):
1877 Make sure we do a final progress callback with
1878 the full total size.
1880 2007-11-21 Alexander Larsson <alexl@redhat.com>
1883 Export g_file_copy_attributes
1884 Remove padding as its not needed for interfaces
1886 2007-11-20 Alexander Larsson <alexl@redhat.com>
1891 Add G_IO_ERROR_WOULD_MERGE for
1892 copy/move dir on dir with overwrite.
1894 2007-11-20 Alexander Larsson <alexl@redhat.com>
1897 * gio/glocalfileinfo.c:
1898 Add COPY_NAME (this is an optional
1899 non-modified utf8 version of the name) that
1902 2007-11-20 Alexander Larsson <alexl@redhat.com>
1904 * gio/glocalfileenumerator.c:
1905 Report errors as GIOError, not GFileError
1907 2007-11-16 Alexander Larsson <alexl@redhat.com>
1909 * gio/glocalfileoutputstream.c:
1910 * gio/gwin32appinfo.c:
1911 Fix typos in strings.
1912 Patch from Luca Ferretti <elle.uca@libero.it>
1914 2007-11-15 Alexander Larsson <alexl@redhat.com>
1917 Post release version bump
1919 === gio-standalone 0.1.2 ===
1921 2007-11-15 Alexander Larsson <alexl@redhat.com>
1923 * docs/reference/gio/Makefile.am:
1924 Fix up distcheck by removing weird
1930 2007-11-14 Alexander Larsson <alexl@redhat.com>
1932 * gio/gdesktopappinfo.c:
1933 * gio/glocaldirectorymonitor.c:
1935 * gio/glocalfileinfo.c:
1936 * gio/inotify/inotify-sub.c:
1937 * programs/gio-cat.c:
1938 * programs/gio-copy.c:
1939 * programs/gio-info.c:
1940 * programs/gio-ls.c:
1941 * programs/gio-monitor-dir.c:
1942 * programs/gio-monitor-file.c:
1943 * programs/gio-mount.c:
1944 * programs/gio-move.c:
1945 * programs/gio-rm.c:
1946 * programs/gio-save.c:
1947 * programs/gio-trash.c:
1948 Leak fixes from Kjartan Maraas
1950 2007-11-14 Alexander Larsson <alexl@redhat.com>
1952 * gio/fam/fam-helper.c:
1954 * gio/glocalfileinfo.c:
1958 * gio/inotify/inotify-diag.c:
1959 * gio/inotify/inotify-kernel.c:
1960 Various code cleanups from Kjartan Maraas
1962 2007-11-14 Alexander Larsson <alexl@redhat.com>
1964 * gio/gioscheduler.c:
1966 Set up threadpool so that we cache 2 unused
1967 idle threads for at 15 secs. This means we
1968 will reuse thread-local data (like dbus connections)
1971 2007-11-14 Alexander Larsson <alexl@redhat.com>
1973 * gio/fam/fam-helper.c:
1974 * gio/fam/gfamdirectorymonitor.c:
1975 * gio/fam/gfamfilemonitor.c:
1977 * gio/gcontenttype.c:
1978 * gio/gdatainputstream.c:
1979 * gio/gdataoutputstream.c:
1983 * gio/gfileattribute.h:
1984 * gio/gfileenumerator.c:
1986 * gio/ginputstream.c:
1989 * gio/glocalfileinfo.c:
1990 * gio/goutputstream.c:
1991 * gio/gpollfilemonitor.c:
1992 * gio/gsimpleasyncresult.c:
1993 * gio/gunixmounts.c:
1994 * gio/gunixmounts.h:
1995 * gio/inotify/ginotifydirectorymonitor.c:
1996 * gio/inotify/ginotifyfilemonitor.c:
1997 * gio/inotify/inotify-diag.c:
1998 * gio/inotify/inotify-kernel.c:
1999 * gio/inotify/inotify-path.c:
2001 * gio/test-streams.c:
2002 * programs/gio-info.c:
2003 * programs/gio-monitor-dir.c:
2004 * programs/gio-monitor-file.c:
2005 Various code cleanups from Kjartan Maraas
2007 2007-11-13 Alexander Larsson <alexl@redhat.com>
2010 Handle the uri-scheme calls for dummy files
2012 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2014 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2015 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2016 to avoid clash with the C++ keyword.
2018 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2020 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2021 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2023 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2025 * gio/glocaldirectorymonitor.c:
2026 * gio/glocalfilemonitor.c:
2027 * gio/gunionvolumemonitor.c:
2028 Don't use g_once_init_*() for initializations that could fail and
2029 could leave the initialization variable set to 0 but use GOnce.
2030 This prevents a deadlock on the second call when trying to create
2031 a monitor and no monitor type is available. Thanks to Sven Herzberg
2034 2007-11-11 Sven Herzberg <sven@imendio.com>
2036 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2037 #ifdef (make it work on MacOS X again)
2039 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2041 Fixes Changelog for last two commits (sorry guys).
2043 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2045 * gio/gbufferedinputstream.c:
2046 * gio/gdatainputstream.c:
2048 * gio/gfileoutputstream.c:
2049 * gio/gfilterinputstream.c:
2050 * gio/glocalfileinputstream.c:
2053 More consistency fixes in g*stream.c files.
2054 Significant clean of gfile's documentation, filling in of
2055 asynchronous operations documentation.
2057 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2059 * gio/gasyncresult.c:
2060 * gio/gbufferedinputstream.c:
2061 * gio/gbufferedoutputstream.c:
2062 * gio/gcancellable.c:
2063 * gio/gcontenttype.c:
2064 * gio/gdatainputstream.c:
2065 * gio/gdataoutputstream.c:
2066 * gio/gdesktopappinfo.c:
2069 * gio/gfileattribute.c:
2070 * gio/gio/gfileenumerator.c:
2072 * gio/gfileinputstream.c:
2073 * gio/gfilemonitor.c:
2074 * gio/gfileoutputstream.c:
2075 * gio/ginputstream.c:
2077 * gio/gioscheduler.c:
2078 * gio/gloadableicon.c:
2079 * gio/glocalfileoutputstream.c:
2080 * gio/gmemoryoutputstream.c:
2081 * gio/gmountoperation.c:
2082 * gio/goutputstream.c:
2084 * gio/gsimpleasyncresult.c:
2085 * gio/gunionvolumemonitor.c:
2086 * gio/gunixmounts.c:
2087 * gio/gunixvolume.c:
2091 * gio/gvolumemonitor.c:
2092 Updated documentation stubs, working towards consistency and
2095 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2097 * gio/gmemoryoutputstream.c:
2098 * gio/gmemoryoutputstream.h:
2099 Change g_memory_output_stream_set_free_on_close() to
2100 g_memory_output_stream_set_free_data() as this makes more sense and
2101 is more consistent with GMemoryInputStream.
2103 2007-11-07 Alexander Larsson <alexl@redhat.com>
2110 Change how we find the default vfs so that
2111 we can handle a gvfs failing to init
2113 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2115 * gio/gbufferedoutputstream.c:
2116 * gio/gdatainputstream.c:
2117 * gio/gdataoutputstream.c:
2118 * gio/gfileinputstream.c:
2119 * gio/gfileoutputstream.c:
2120 * gio/gfilterinputstream.c:
2121 * gio/gfilteroutputstream.c:
2122 * gio/ginputstream.c:
2123 * gio/gmemoryinputstream.c:
2124 * gio/gmemoryoutputstream.c:
2125 * gio/goutputstream.c:
2126 * gio/gsimpleasyncresult.c:
2127 * gio/gsocketinputstream.c:
2128 * gio/gsocketoutputstream.c:
2129 Add guards to the remaining public functions, add a TODO for
2130 an unimplemented function and remove some useless guards.
2132 2007-11-07 Alexander Larsson <alexl@redhat.com>
2135 Autoconf checks for the various types of
2136 getpwuid_r and getgrgid_r
2138 * gio/glocalfileinfo.c:
2139 Use the autoconf checks from above
2141 2007-11-07 Alexander Larsson <alexl@redhat.com>
2144 (g_local_file_query_filesystem_info):
2145 Some fixes for the statvfs case
2147 2007-11-07 Alexander Larsson <alexl@redhat.com>
2150 (g_local_file_query_filesystem_info):
2151 Pick the "best" of statfs / statvfs for the system
2152 if both are availible.
2154 2007-11-07 Alexander Larsson <alexl@redhat.com>
2156 Solaris fixes from Halton.Huo@Sun.COM:
2163 * gio/glocalfileinfo.c:
2164 Fix for solaris definition of getpwuid_r
2166 * gio/test-streams.c:
2167 Use G_GNUC_PRETTY_FUNCTION
2169 2007-11-07 Alexander Larsson <alexl@redhat.com>
2171 * gio/gdesktopappinfo.c:
2172 (update_default_list):
2173 Remove double semicolon.
2174 Patch from Jens Granseuer
2176 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2178 * docs/reference/gio/gio-sections.txt:
2179 * gio/gbufferedinputstream.c:
2180 * gio/gbufferedinputstream.h:
2181 * gio/gdatainputstream.c:
2182 * gio/gfileenumerator.c:
2183 * gio/gioscheduler.c:
2184 * gio/gunionvolumemonitor.c:
2186 * programs/gio-save.c:
2187 Fix typo: availible -> available. Unfortuntely this breaks API
2188 and ABI as g_buffered_input_stream_get_available() was renamed.
2190 * gio/gunixmounts.c:
2191 * gio/gbufferedinputstream.c:
2192 Add guards for public functions.
2194 2007-11-06 Ross Burton <ross@openedhand.com>
2196 * docs/reference/gio/Makefile.am:
2197 Fix invalid += usage which automake 1.10 doesn't like.
2199 2007-11-06 Alexander Larsson <alexl@redhat.com>
2202 (g_app_launch_context_class_init):
2205 Patch from Ross Burton
2207 2007-11-06 Alexander Larsson <alexl@redhat.com>
2210 Post release version bump
2212 === gio-standalone 0.1.1 ===
2214 2007-11-06 Alexander Larsson <alexl@redhat.com>
2217 Bump version to 0.1.1
2219 * gio/gsimpleasyncresult.c:
2220 (g_simple_async_result_set_from_error):
2221 Remove bogus g_return_if_fail
2223 2007-11-06 Alexander Larsson <alexl@redhat.com>
2226 The name is gio-standalone
2229 Add top src/builddir to includedir
2231 2007-11-06 Alexander Larsson <alexl@redhat.com>
2233 * docs/reference/gio/gio-sections.txt:
2235 * gio/gbufferedinputstream.c:
2236 * gio/gbufferedoutputstream.c:
2237 * gio/gcancellable.c:
2238 * gio/gdatainputstream.h:
2239 * gio/gdataoutputstream.c:
2240 * gio/gdataoutputstream.h:
2241 * gio/gdirectorymonitor.c:
2243 * gio/gfileattribute.c:
2244 * gio/gfileattribute.h:
2245 * gio/gfileenumerator.c:
2246 * gio/gfileenumerator.h:
2249 * gio/gfileinputstream.h:
2250 * gio/gfilemonitor.c:
2251 * gio/gfileoutputstream.h:
2252 * gio/glocalfilemonitor.h:
2253 * gio/glocalfileoutputstream.h:
2254 * gio/gmemoryinputstream.c:
2255 * gio/gmemoryoutputstream.c:
2256 * gio/gmountoperation.c:
2257 * gio/goutputstream.c:
2258 * gio/goutputstream.h:
2260 * gio/gsimpleasyncresult.c:
2261 * gio/gunixmounts.c:
2262 * gio/gunixmounts.h:
2264 * gio/inotify/inotify-helper.c:
2265 Fix gtk-doc warnings
2267 Patch from Ross Burton
2269 2007-11-06 Alexander Larsson <alexl@redhat.com>
2271 * gio/gfilenamecompleter.c:
2272 (g_filename_completer_get_completions):
2275 * gio/gunixvolume.c:
2276 Remove unused function
2278 Patches from Ross Burton
2280 2007-11-06 Alexander Larsson <alexl@redhat.com>
2285 Padding not needed for interfaces
2287 2007-11-06 Alexander Larsson <alexl@redhat.com>
2289 * gio/gfilemonitor.c:
2293 Make giotypes.h an internal file
2296 * gio/gbufferedinputstream.h:
2297 * gio/gbufferedoutputstream.h:
2298 * gio/gcancellable.h:
2299 * gio/gdatainputstream.h:
2300 * gio/gdataoutputstream.h:
2301 * gio/gdirectorymonitor.c:
2302 * gio/gdirectorymonitor.h:
2307 * gio/gfileattribute.h:
2308 * gio/gfileenumerator.h:
2313 * gio/gfilemonitor.c:
2314 * gio/gfilemonitor.h:
2315 * gio/gfilenamecompleter.c:
2316 * gio/gfilenamecompleter.h:
2317 * gio/gfilterinputstream.h:
2318 * gio/gfilteroutputstream.h:
2319 * gio/ginputstream.h:
2320 * gio/gmemoryinputstream.h:
2321 * gio/gmemoryoutputstream.h:
2322 * gio/gmountoperation.c:
2323 * gio/gmountoperation.h:
2324 * gio/gnativevolumemonitor.c:
2325 * gio/goutputstream.h:
2328 * gio/gsimpleasyncresult.c:
2329 * gio/gsimpleasyncresult.h:
2330 * gio/gsocketinputstream.h:
2331 * gio/gsocketoutputstream.h:
2332 * gio/gthemedicon.c:
2333 * gio/gthemedicon.h:
2337 * gio/gvolumemonitor.c:
2338 * gio/gvolumemonitor.h:
2339 Add padding in classes where it seems useful
2340 Don't include giotypes.h from public headers
2341 Move in Class definitions into c file where possible
2346 2007-11-06 Alexander Larsson <alexl@redhat.com>
2348 * docs/reference/gio/gio-docs.xml:
2349 Better structure for API docs
2351 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2354 * gio/gloadableicon.c:
2355 * gio/gsimpleasyncresult.c:
2356 * gio/gthemedicon.c:
2357 Add some more guards to public functions. Only files missing are now
2360 2007-11-06 Alexander Larsson <alexl@redhat.com>
2362 * docs/reference/gio/gio-docs.xml:
2363 Remove old files, add missing ones
2365 2007-11-06 Alexander Larsson <alexl@redhat.com>
2367 * docs/reference/gio/gio-sections.txt:
2370 Hide implementation classes
2372 * gio/gdriveprivate.h:
2373 * gio/gvolumeprivate.h:
2374 Remove non-existing function declarations
2376 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2379 Fix compilation warnings and add guards to the new functions.
2381 * gio/gasyncresult.c:
2383 Add guards to the public functions.
2386 Implement get_path().
2388 2007-11-06 Alexander Larsson <alexl@redhat.com>
2390 * gio/gfilenamecompleter.c:
2391 Make g_filename_completer_get_completions
2392 return char ** instead of GList for
2395 * docs/reference/gio/gio-docs.xml:
2396 * docs/reference/gio/gio-sections.txt:
2398 * gio/gasyncresult.c:
2399 * gio/gbufferedinputstream.c:
2400 * gio/gbufferedoutputstream.c:
2401 * gio/gcancellable.c:
2402 * gio/gcontenttype.c:
2403 * gio/gdatainputstream.c:
2404 * gio/gdataoutputstream.c:
2405 * gio/gdesktopappinfo.c:
2406 * gio/gdirectorymonitor.c:
2410 * gio/gfileattribute.c:
2411 * gio/gfileenumerator.c:
2414 * gio/gfileinputstream.c:
2415 * gio/gfilemonitor.c:
2416 * gio/gfilenamecompleter.c:
2417 * gio/gfilenamecompleter.h:
2418 * gio/gfileoutputstream.c:
2419 * gio/gfilterinputstream.c:
2421 * gio/ginputstream.c:
2423 * gio/gioscheduler.c:
2424 * gio/gloadableicon.c:
2425 * gio/glocaldirectorymonitor.c:
2427 * gio/glocalfileinputstream.c:
2428 * gio/glocalfilemonitor.c:
2429 * gio/glocalfileoutputstream.c:
2431 * gio/gmemoryinputstream.c:
2432 * gio/gmemoryoutputstream.c:
2433 * gio/gmountoperation.c:
2434 * gio/goutputstream.c:
2435 * gio/gpollfilemonitor.c:
2437 * gio/gsimpleasyncresult.c:
2438 * gio/gsocketinputstream.c:
2439 * gio/gsocketoutputstream.c:
2440 * gio/gthemedicon.c:
2441 * gio/gunionvolumemonitor.c:
2443 * gio/gunixmounts.c:
2444 * gio/gunixvolume.c:
2445 * gio/gunixvolumemonitor.c:
2449 * gio/gvolumemonitor.c:
2450 * gio/gwin32appinfo.c:
2451 Add (mostly stub) doc strings to public functions.
2452 Patch from Andrew Walton (awalton@gmail.com)
2454 2007-11-06 Alexander Larsson <alexl@redhat.com>
2456 * gio/gappinfo.[ch]:
2457 Added GAppLaunchContext object and pass that to launch.
2458 This allows simple implementation of both
2459 launch-on-screen and startup notification via a gtk+
2460 subclass of GAppLaunchContext
2462 * gio/gdesktopappinfo.c:
2463 Implement GAppLaunchContext API
2465 * gio/gwin32appinfo.c:
2468 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2470 * gio/gmountoperation.c:
2471 Add some guards to GMountOperation's public functions.
2473 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2477 * gio/gcancellable.c:
2478 * gio/gdirectorymonitor.c:
2480 * gio/gfileenumerator.c:
2481 * gio/gfilemonitor.c:,
2482 * gio/gfilenamecompleter.c:
2485 * gio/gioscheduler.c:
2489 * gio/gvolumemonitor.c:
2490 Add even more guards to various public functions.
2492 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2495 Add guards to the public functions of GAppInfo.
2497 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2499 * gio/gcontenttype.c:
2500 Add some more guards for public functions.
2502 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2504 * gio/fam/fam-module.c:
2505 * gio/fam/gfamdirectorymonitor.c:
2506 * gio/fam/gfamdirectorymonitor.h:
2507 * gio/fam/gfamfilemonitor.c:
2508 * gio/fam/gfamfilemonitor.h:
2509 * gio/inotify/ginotifydirectorymonitor.c:
2510 * gio/inotify/ginotifydirectorymonitor.h:
2511 * gio/inotify/ginotifyfilemonitor.c:
2512 * gio/inotify/ginotifyfilemonitor.h:
2513 Add proper copyright information and remove an unused variable
2514 in the GInotifyFileMonitor constructor.
2516 * gio/gcancellable.c:
2517 Add a guard for a public function and an assertion to prevent
2518 an undefined program state.
2520 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2522 * gio/gfileattribute.c:
2523 Don't run into an assertion if the given attribute value is NULL
2524 in g_file_attribute_value_get_*() but instead return a fallback
2525 value that makes sense in most situations. Passing them a attribute
2526 value with the wrong type will still run into an assertion.
2528 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2530 * gio/gfileattribute.c:
2532 Add even more guards to the public functions. Also fix the refcounting
2533 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2534 let g_file_info_list_attributes() filter the attributes by namespace
2535 instead of simply ignoring the namespace parameter.
2537 2007-11-03 Sven Herzberg <sven@imendio.com>
2539 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2540 (This makes gio work on MacOS X again)
2542 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2545 Build the gio subdirectory before the docs. Otherwise the build will
2548 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2549 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2550 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2551 Add guards to the public functions.
2553 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2555 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2556 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2557 to prevent a compiler warning.
2559 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2560 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2561 return something in the non-void function find_topdir_for().
2563 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2570 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2572 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2573 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2574 * gwin32appinfo.c (g_win32_app_info_launch):
2575 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2576 envp_for_startup_id, g_desktop_app_info_launch,
2577 g_desktop_app_info_launch_uris):
2579 Give an opaque 'startup_id' string instead of 'envp'.
2580 Support empty file lists for launching new windows.
2581 Fix infinite recursion bug when launching URIs.
2583 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2586 Add guard to the new g_file_get_uri_scheme() function.
2588 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2591 Convert a g_return_val_if_fail() to setting the GError instead as
2592 otherwise applications have to verify the parameter before otherwise
2593 and the parameter might come directly from the user.
2595 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2597 * gio/inotify/ginotify*.[ch]:
2598 Add missing copyright information.
2600 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2603 Add guards in the beginning of public functions to check for valid
2604 parameters and fix a bug in copy_stream_with_progress() that could've
2605 caused writing less bytes than reading.
2606 * gio/glocalfileinfo.c:
2607 Check for a NULL parameter and set the GError accordingly then.
2608 * gio/goutputstream.c:
2609 Fix the same bug as in gfile.c that could've caused writing less bytes
2610 than reading in g_output_stream_real_splice().
2612 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2615 Use the correct gvolumeprivate.h naming
2617 2007-11-01 Christian Kellner <gicmo@gnome.org>
2620 Remove leftover "$(daemon_sources)" entry.
2622 2007-11-01 Christian Kellner <gicmo@gnome.org>
2627 Add copyright information to source files.
2629 2007-11-01 Alexander Larsson <alexl@redhat.com>
2633 Add g_file_get_uri_scheme
2635 2007-11-01 Alexander Larsson <alexl@redhat.com>
2638 * gio/gdesktopappinfo.c:
2639 * gio/gwin32appinfo.c:
2640 Add g_app_info_get_default_for_uri_scheme.
2642 2007-11-01 Alexander Larsson <alexl@redhat.com>
2645 Correct filename for gdriveprivate.h
2647 2007-10-31 Alexander Larsson <alexl@redhat.com>
2650 Rename id:value to id:file
2653 * gio/glocalfileinfo.c:
2656 2007-10-31 Alexander Larsson <alexl@redhat.com>
2658 * gio/gunixvolume.c:
2660 Remove g_volume_get_platform_id, as thats not
2661 needed with the simpler union volume monitor
2663 2007-10-31 Alexander Larsson <alexl@redhat.com>
2666 * gio/guniondrive.[ch]: Removed.
2667 * gio/gunionvolume.[ch]: Removed.
2668 Remove GUnionDrive/Volume
2670 * gio/gunionvolumemonitor.c:
2671 Simplify union volume monitor, now we
2672 only have one native volume monitor and
2673 we use the actual volumes/drives from the
2674 child monitors instead of wrapping them
2676 * gio/gnativevolumemonitor.[ch]:
2677 Base class for native volume monitors.
2678 Includes priority and get_volume_for_mountpoint
2681 Add g_file_find_enclosing_volume
2684 Remove volume name fs attribute
2685 Add readonly fs attribute
2688 Implement readonly attribute
2689 remove volume name attribute
2690 Implement find_enclosing volume
2692 * gio/gunixmounts.c:
2693 Add a volume for "/".
2695 * gio/gunixvolume.[ch]:
2696 Set better name for /
2698 * gio/gunixvolumemonitor.[ch]:
2699 Derive from GNativeVolumeMonitor
2700 Implement get_volume_for_mountpoint
2703 GVolume typedef moved to gfile.h
2705 * gio/gvolumeprivate.h:
2706 Add g_volume_get_for_mount_path
2708 2007-10-31 Alexander Larsson <alexl@redhat.com>
2710 * gio/gunixmounts.[ch]:
2711 Add cache info to unix mount listers
2712 Make getmntent use threadsafe
2713 Add is_system_internal attribute for GUnixMount
2715 * gio/gunixvolume.c:
2716 (g_unix_volume_new):
2717 Use is_system_internal instead of own code
2719 * gio/glocaldirectorymonitor.c:
2720 * gio/gunixvolumemonitor.c:
2721 Update to new gunixmounts API
2726 2007-10-30 Alexander Larsson <alexl@redhat.com>
2729 Add volume name fsinfo attribute
2732 Read volume name info
2734 * gio/gunionvolumemonitor.c:
2735 Fix infinite loops when finalizing a union volume monitor
2737 2007-10-30 Alexander Larsson <alexl@redhat.com>
2739 * gio/goutputstream.[ch]:
2740 Add splice() with default implementation
2742 * gio/gsocketoutputstream.c:
2743 (g_socket_output_stream_write):
2744 Return error on cancellation correctly.
2746 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2748 * gio/glocalfile.c (g_local_file_trash):
2749 Do not leak a string.
2751 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2753 * gio/gfile.c (g_file_load_contents):
2754 Unref the stream after closing it.
2756 2007-10-25 Alexander Larsson <alexl@redhat.com>
2758 * gio/gioscheduler.h:
2761 2007-10-25 Alexander Larsson <alexl@redhat.com>
2765 Add g_file_has_uri_scheme and implement for local files
2767 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2769 * gio/gdesktopappinfo.c: do not leak a string.
2771 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2773 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2774 (g_local_directory_monitor_new):
2775 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2776 (g_local_file_monitor_new):
2777 Only look for the monitor type that should be used the first time
2778 and use g_qsort_with_data() instead of our own bubble sort
2781 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2784 * gio/fam/Makefile.am:
2785 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2786 * gio/fam/fam-helper.h:
2787 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2788 * gio/fam/gfamdirectorymonitor.c:
2789 * gio/fam/gfamdirectorymonitor.h:
2790 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2791 * gio/fam/gfamfilemonitor.h:
2792 * gio/glocaldirectorymonitor.c:
2793 * gio/glocaldirectorymonitor.h:
2794 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2795 * gio/glocalfilemonitor.h:
2796 * gio/inotify/Makefile.am:
2797 * gio/inotify/ginotifydirectorymonitor.c:
2798 * gio/inotify/ginotifydirectorymonitor.h:
2799 * gio/inotify/ginotifyfilemonitor.c:
2800 * gio/inotify/ginotifyfilemonitor.h:
2801 Implement the FAM and Inotify monitors as
2802 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2803 their own GIO module. GLocal(Directory|File)Monitor will use the
2804 monitor with the highest rank that is supported on that machine.
2806 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2809 Change GIO module dir to $(libdir)/gio/modules and change
2810 the log domain from GVFS to GIO. Also only export symbols starting
2811 with g_ in the resulting library.
2812 * gio/test-streams.c: (main):
2813 Set log handler for the GIO log domain.
2815 2007-10-22 Alexander Larsson <alexl@redhat.com>
2817 * gio/gfilenamecompleter.[ch]:
2818 Add g_filename_completer_set_dirs_only
2820 2007-10-22 Alexander Larsson <alexl@redhat.com>
2823 * gio/gurifuncs.[ch]:
2824 Add some simple URI helpers
2826 * gio/gfilenamecompleter.[ch]:
2827 Added object for filename (parse name actually) completion
2830 Handle ~ in parse names
2832 2007-10-17 Alexander Larsson <alexl@redhat.com>
2835 * gio/glocalfileinfo.c:
2836 Add and implement id:value attribute
2838 2007-10-17 Alexander Larsson <alexl@redhat.com>
2841 * gio/guniondrive.c:
2843 Add and implement g_drive_has_volumes
2845 2007-10-17 Alexander Larsson <alexl@redhat.com>
2848 * gio/glocalfileinfo.[ch]:
2849 Add unix:is_mountpoint and implement for local files
2851 2007-10-16 Alexander Larsson <alexl@redhat.com>
2853 * gio/gunionvolumemonitor.c:
2854 (g_union_volume_monitor_init):
2855 Fix up the unix type getting so that it works with gcc
2857 2007-10-12 Alexander Larsson <alexl@redhat.com>
2860 * gio/glocalfileinfo.c:
2861 Add thumbnail:failed to file info
2863 2007-10-12 Richard Hult <richard@imendio.com>
2865 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2866 optimizing away the get_type call (happens with some gcc versions,
2867 like the one shipped with OS X 10.4).
2869 2007-10-12 Alexander Larsson <alexl@redhat.com>
2871 * gio/glocalfileinfo.c:
2872 (_g_local_file_info_set_attribute):
2873 Fix build if not HAVE_XATTR
2874 Patch from Milosz Derezynski <internalerror@gmail.com>
2876 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2878 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2879 around for review, otherwise I would have asked you before
2882 2007-10-11 Alexander Larsson <alexl@redhat.com>
2885 Add thumbnail:path attribute
2887 * gio/glocalfileinfo.c:
2888 Implement thumbnail:path for local files
2890 2007-10-11 Alexander Larsson <alexl@redhat.com>
2892 * gio/glocalfileinfo.c:
2893 (_g_local_file_info_get):
2894 Avoid duplicate icon names
2896 2007-10-11 Alexander Larsson <alexl@redhat.com>
2898 * gio/gthemedicon.[ch]:
2899 Change g_themed_icon_get_names return type to const
2901 2007-10-10 Alexander Larsson <alexl@redhat.com>
2903 * gio/glocalfileinfo.c:
2904 Don't reference freed memory
2906 2007-10-10 Alexander Larsson <alexl@redhat.com>
2908 * gio/gfileattribute.c:
2911 * gio/glocalfileinfo.c:
2914 2007-10-10 Alexander Larsson <alexl@redhat.com>
2917 Check for NULL icons
2919 * gio/gfileattribute.c:
2920 Don't dup when getting objects (same as for string attributes)
2922 * gio/gicon.c (g_icon_equal):
2923 Safely handle NULLs in equal
2925 2007-10-10 Alexander Larsson <alexl@redhat.com>
2928 Fix c++ compilation issues
2929 Patch from Milosz Derezynski <internalerror@gmail.com>
2931 2007-10-10 Alexander Larsson <alexl@redhat.com>
2933 * programs/gio-monitor-dir.c:
2934 Don't crash if dir monitor not supported.
2936 2007-10-09 Alexander Larsson <alexl@redhat.com>
2939 Add missing G_END_DECLS
2941 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2943 * gio/gfile.c: (g_file_set_display_name),
2944 (g_file_query_settable_attributes),
2945 (g_file_query_writable_namespaces):
2946 Return NULL not FALSE on errors as the return type is a pointer.
2948 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2950 * gio/glocalfile.c: (g_local_file_monitor_file):
2951 Don't call monitor_file on the default interface vtable (which
2952 is NULL) but simply return NULL. The caller, GFile, will create a
2953 polling monitor if NULL is returned.
2955 2007-10-09 Alexander Larsson <alexl@redhat.com>
2959 * gio-unix-2.0.pc.in:
2960 Add gio-unix-2.0.pc if OS_UNIX
2963 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2965 2007-10-09 Alexander Larsson <alexl@redhat.com>
2967 * gio/gunixmounts.[ch]:
2968 Make unix mount monitoring API sane.
2969 Now its just a object with mounts_changed
2970 and mountpoints_changed signals.
2972 * gio/glocaldirectorymonitor.c:
2973 * gio/gunixvolumemonitor.c:
2974 Use new mount monitor api
2976 2007-10-09 Alexander Larsson <alexl@redhat.com>
2978 * gio/gunixmounts.[ch]:
2979 Move guess type into one call for mounts and one for mountpoints
2982 * gio/gunixvolume.c:
2985 2007-10-09 Alexander Larsson <alexl@redhat.com>
2987 * gio/gunixmounts.[ch]:
2988 Remove _ prefix in preparation to make this semi-public
2989 Hide implementation of structs
2991 * gio/glocaldirectorymonitor.c:
2993 * gio/gunixvolume.c:
2994 * gio/gunixvolumemonitor.c:
2995 Update for above API changes
2997 2007-10-08 Alexander Larsson <alexl@redhat.com>
3000 Better polling fallback. This also handles the case where we have
3001 a monitor_file implementation, but it fails.
3003 2007-10-08 Alexander Larsson <alexl@redhat.com>
3007 * gio/gunixmounts.c:
3008 * programs/gio-monitor-dir.c:
3009 * programs/gio-monitor-file.c:
3010 Added cancellable to file monitoring calls.
3011 These are really sync calls and need this.
3013 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3015 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3016 (g_local_vfs_class_init):
3017 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3018 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3020 2007-10-05 Alexander Larsson <alexl@redhat.com>
3022 * gio/gdirectorymonitorprivate.h:
3023 * gio/gfilemonitorprivate.h:
3024 * gio/gdirectorymonitor.h:
3025 * gio/gfilemonitor.h:
3026 Remove *private.h and move to the public API, so that
3027 we can do implementations outside gio (such as in gvfs)
3029 * gio/gdirectorymonitor.c:
3030 * gio/gfilemonitor.c:
3031 * gio/glocaldirectorymonitor.c:
3032 * gio/gpollfilemonitor.c:
3033 * gio/inotify/inotify-helper.c:
3034 * gio/fam/fam-helper.c:
3035 Update to the new header names
3037 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3039 * gio/gdirectorymonitor.c:
3040 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3043 2007-10-04 Alexander Larsson <alexl@redhat.com>
3045 * gio/glocalfileinfo.c (get_access_rights):
3046 Set CAN_TRASH when we can move the file.
3047 We should really also check for a parent trash dir.
3049 2007-10-04 Alexander Larsson <alexl@redhat.com>
3051 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3052 Add can_trash access attribute
3054 2007-10-04 Alexander Larsson <alexl@redhat.com>
3057 (g_local_file_trash):
3058 Create info file first. This is per-spec and allows
3059 us to actually trash directories.
3061 2007-10-02 Alexander Larsson <alexl@redhat.com>
3063 * gio/gdesktopappinfo.c:
3064 Implement the new mime support code.
3065 Always set app as handling mimetype when being set as default for it
3067 2007-10-01 Alexander Larsson <alexl@redhat.com>
3069 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3070 Fix up check for xattrs:
3072 2007-10-01 Alexander Larsson <alexl@redhat.com>
3075 (g_app_info_set_as_default_for_extension):
3076 (g_app_info_add_supports_type):
3077 (g_app_info_can_remove_supports_type):
3078 (g_app_info_remove_supports_type):
3079 Make these fail nicely if not implemented
3081 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3083 * gio/glocalfileoutputstream.c:
3084 * gio/glocalfileoutputstream.h:
3089 * programs/gio-save.c:
3090 Add a GFileCreateFlags argument to operations that can create
3093 2007-10-01 Alexander Larsson <alexl@redhat.com>
3095 * gio/gappinfo.[ch]:
3096 * gio/gdesktopappinfo.c:
3097 Add more (stubbed out) mime API needed for nautilus
3099 2007-10-01 Alexander Larsson <alexl@redhat.com>
3102 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3103 Add g_app_info_set_as_default_for_extension.
3105 * gio/gdesktopappinfo.c:
3106 Dummy for g_app_info_set_as_default_for_extension
3107 Support flags in g_app_info_create_from_commandline
3109 * gio/gwin32appinfo.c:
3111 Update for API changes
3113 * gio/gthemedicon.c:
3114 Properly NULL-terminate list of icon names
3116 2007-09-28 Alexander Larsson <alexl@redhat.com>
3118 * gio/gloadableicon.h:
3119 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3121 2007-09-28 Alexander Larsson <alexl@redhat.com>
3124 Install headers in $includedir/gio-standalone/
3126 * gio-2.0.pc.in: Added.
3127 * gio-standalone.pc.in: Removed.
3130 Renamed pkg-config file to match glib (for future move)
3131 Update to the new include dir
3134 Add more TODO comments
3136 2007-09-28 Alexander Larsson <alexl@redhat.com>
3138 * gio/gdesktopappinfo.[ch]:
3139 Expose new_from_filename
3140 Add getter for is_hidden and handle it better
3142 2007-09-28 Alexander Larsson <alexl@redhat.com>
3144 * gio/gfileinfo.[ch]:
3145 Rename g_file_size_format_for_display to
3146 g_format_file_size_for_display.
3147 Now it doesn't have the g_file prefix, so we
3148 can later move it to glib.
3150 2007-09-28 Alexander Larsson <alexl@redhat.com>
3152 * gio/gappinfo.[ch]:
3153 Add g_app_info_get_id and g_app_info_get_executable.
3154 Make all getters non-reffing
3155 Make g_app_info_launch take GFile arguments.
3156 Add must_support_uris argument to g_app_info_get_default_for_type.
3158 * gio/gwin32appinfo.c:
3159 Update to GAppInfo api changes
3161 * gio/gdesktopappinfo.c:
3162 Update to GAppInfo api changes
3163 Implement supports_xdg_startup_notify
3165 * gio/gfileicon.c (g_file_icon_get_file):
3166 Make getter non-reffing.
3171 2007-09-27 Alexander Larsson <alexl@redhat.com>
3173 * gio/gfileinfo.[ch]:
3174 Add g_file_size_format_for_display helper
3176 2007-09-27 Alexander Larsson <alexl@redhat.com>
3178 * gio/glocalfileinfo.c:
3179 Set UNIX_GID from gid, not from uid
3181 2007-09-27 Alexander Larsson <alexl@redhat.com>
3184 Add g_file_set_attributes_async
3186 2007-09-27 Alexander Larsson <alexl@redhat.com>
3188 * gio/glocalfile.c (g_local_file_set_display_name):
3189 Fix set_display_name to actually rename to the right place.
3190 Use lstat to look for existing files so we don't overwrite
3193 2007-09-26 Alexander Larsson <alexl@redhat.com>
3196 Add g_file_set_display_name_async()
3198 2007-09-26 Alexander Larsson <alexl@redhat.com>
3201 Add load_partial_contents async calls
3204 Make internal function static
3206 2007-09-26 Alexander Larsson <alexl@redhat.com>
3208 * gio/glocalfileinfo.c:
3209 Correctly detect broken symlinks
3211 2007-09-26 Alexander Larsson <alexl@redhat.com>
3213 * gio/gcancellable.c (g_cancellable_cancel):
3214 Allow cancel on NULL cancellable
3216 2007-09-25 Alexander Larsson <alexl@redhat.com>
3218 * gio/gsimpleasyncresult.c:
3219 Don't allocate g_error manually.
3220 Fixes g_slice/g_new mixup crash
3222 2007-09-25 Alexander Larsson <alexl@redhat.com>
3224 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3225 Actually set active_backend.
3226 This means the monitor will be cancelled correctly.
3228 2007-09-25 Alexander Larsson <alexl@redhat.com>
3230 * gio/gdirectorymonitor.c:
3231 Set timeout to NULL when destroying
3233 2007-09-25 Alexander Larsson <alexl@redhat.com>
3236 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3237 that is a better description of the error.
3239 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3241 * gio/gvfs.c: (g_vfs_get_local):
3242 Make the local vfs variable static. The same instance should
3245 2007-09-24 Alexander Larsson <alexl@redhat.com>
3247 * gio/glocalfileinfo.c:
3248 Pass in actual length read into sniffer, not the length
3251 2007-09-21 Alexander Larsson <alexl@redhat.com>
3253 * gio/gfileenumerator.c:
3256 * gio/gfileinputstream.c:
3257 * gio/gfileoutputstream.c:
3258 * gio/ginputstream.c:
3259 * gio/goutputstream.c:
3260 Don't crash if async callbacks are NULL
3262 2007-09-20 Alexander Larsson <alexl@redhat.com>
3265 Add async enumerate_children method and default
3268 2007-09-20 Alexander Larsson <alexl@redhat.com>
3271 Add g_file_contains_file & g_file_get_relative_path, since they
3272 were needed for nautilus.
3273 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3278 Implement new methods
3280 2007-09-17 Alexander Larsson <alexl@redhat.com>
3283 * gio/gfileinputstream.[ch]:
3284 * gio/gfileoutputstream.[ch]:
3286 * gio/glocalfileenumerator.[ch]:
3287 * gio/glocalfileinfo.[ch]:
3288 * gio/glocalfileinputstream.c:
3289 * gio/glocalfileoutputstream.c:
3290 * gio/gpollfilemonitor.c:
3291 * programs/gio-copy.c:
3292 * programs/gio-info.c:
3293 * programs/gio-move.c:
3294 Rename get_file_info to query_info() to make it clearer
3295 that these are not simple getters, but do i/o.
3297 2007-09-17 Alexander Larsson <alexl@redhat.com>
3299 * gio/gdatainputstream.[ch]:
3300 * gio/test-streams.c:
3301 Use _read_XXX instead of _get_XXX for the i/o calls
3304 2007-09-17 Alexander Larsson <alexl@redhat.com>
3307 Added needed stuff to TODO comment
3309 2007-09-17 Alexander Larsson <alexl@redhat.com>
3311 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3312 Don't error out removing the backup copy if it doesn't
3315 2007-09-14 Alexander Larsson <alexl@redhat.com>
3317 * programs/Makefile.am:
3318 * programs/gvfs-*.c:
3320 Renamed apps from gvfs-xxx to gio-xxx.
3322 2007-09-14 Alexander Larsson <alexl@redhat.com>
3325 * gio/gfileoutputstream.[ch]:
3326 * gio/glocalfileoutputstream.c:
3327 * programs/gvfs-save.c:
3328 g_file_output_stream_get_etag doesn't do i/o, so remove
3329 cancellation and error.
3331 2007-09-14 Alexander Larsson <alexl@redhat.com>
3334 Add new_etag output to replace_contents functions
3336 2007-09-14 Alexander Larsson <alexl@redhat.com>
3338 * gio/gfileoutputstream.[ch]:
3339 Add async get_file_info and default implementation
3341 2007-09-14 Alexander Larsson <alexl@redhat.com>
3343 * gio/gfileinputstream.c:
3344 Implement fallback wrapper for async get_file_info
3346 2007-09-14 Alexander Larsson <alexl@redhat.com>
3349 Add etag out argument to load_contents
3354 2007-09-14 Alexander Larsson <alexl@redhat.com>
3356 * gio/gcontenttype.c (looks_like_text):
3357 Whitespace like tab, cr and lf do not make the
3360 2007-09-14 Alexander Larsson <alexl@redhat.com>
3362 * gio/gfileinputstream.[ch]:
3363 Add async get_file_info.
3365 2007-09-13 Alexander Larsson <alexl@redhat.com>
3367 * gio/goutputstream.c (g_output_stream_write_all):
3368 Allow NULL for bytes_written
3370 2007-09-13 Alexander Larsson <alexl@redhat.com>
3372 * gio/gmemoryinputstream.[ch]:
3373 Add accessors for data
3375 2007-09-13 Alexander Larsson <alexl@redhat.com>
3377 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3378 Don't crash if length is NULL