1 2008-02-06 Benjamin Otte <otte@gnome.org>
4 * gfilenamecompleter.c:
5 Fix some typos in the documentation.
7 2008-02-06 Alexander Larsson <alexl@redhat.com>
9 * glocalfile.c (g_local_file_trash):
10 Don't succeed with trash if newly created
11 trash dir has the wrong owner. (#514696)
13 2008-02-05 Alexander Larsson <alexl@redhat.com>
15 * glocalfile.c (g_local_file_move):
16 Don't spew warnings when destination is not
19 2008-02-03 Hans Breuer <hans@breuer.org>
21 * makefile.msc : update
23 2008-02-01 Michael Natterer <mitch@imendio.com>
25 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
26 return value of xdg_mime_list_mime_parents() to a variable of the
29 2008-02-01 Alexander Larsson <alexl@redhat.com>
31 * gappinfo.c (g_app_info_launch_uris):
32 Actually call the launch_uris method, not
35 2008-02-01 Alexander Larsson <alexl@redhat.com>
37 * gdesktopappinfo.c (g_desktop_app_info_equal):
38 Ensure appinfos with no id but same pointer value
41 2008-02-01 Alexander Larsson <alexl@redhat.com>
43 * gappinfo.c (g_app_info_launch_default_for_uri):
46 2008-02-01 Alexander Larsson <alexl@redhat.com>
50 Add g_app_info_launch_default_for_uri utility
53 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
56 Doc fix for g_app_info_get_default_for_uri_scheme ()
59 2008-01-30 Alexander Larsson <alexl@redhat.com>
62 Add doc comment about uris vs GFiles to
66 Ensure uris passed to g_app_info_launch_uris()
67 are not roundtriped through GFile (as that
68 may be slightly destructive for e.g. mailto: links)
70 2008-01-30 Alexander Larsson <alexl@redhat.com>
72 * tests/data-input-stream.c:
73 * tests/data-output-stream.c:
74 C89 fixes from Jens Granseuer (#512849)
76 2008-01-30 Alexander Larsson <alexl@redhat.com>
79 Fix gamin/fam difference build issue. (#509419)
81 2008-01-29 Alexander Larsson <alexl@redhat.com>
85 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
87 2008-01-29 Alexander Larsson <alexl@redhat.com>
91 giomodule-priv.h include moved to .c file.
93 2008-01-29 Alexander Larsson <alexl@redhat.com>
95 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
96 Remove unused prio/name fields.
98 2008-01-29 Alexander Larsson <alexl@redhat.com>
100 * gcontenttype.c (looks_like_text):
101 Don't treat whitespace as control chars.
103 2008-01-29 Alexander Larsson <alexl@redhat.com>
106 Lazily create the desktop files for appinfos created
107 by g_app_info_create_from_commandline() when needed
108 for mime associations. This allows run-time use
109 of GAppInfo object without creating unnecessary
112 2008-01-29 Alexander Larsson <alexl@redhat.com>
115 Added new symbols to gio.symbols
117 2008-01-29 Alexander Larsson <alexl@redhat.com>
120 Add g_file_query_default_handler utility to easily look up
121 the GAppInfo that handles a file.
123 * gdesktopappinfo.[ch]:
125 Set up an extension point for g_app_info_get_default_for_uri_scheme()
128 Remove unused function
130 2008-01-29 Alexander Larsson <alexl@redhat.com>
133 Mention need to free returned value in
134 g_file_enumerator_next_files_finish docs.
135 Fix leak if g_file_enumerator_next_files_finish()
138 2008-01-29 Alexander Larsson <alexl@redhat.com>
141 (_g_unix_content_type_get_parents):
142 Use list_parents, not get_parents from xdgmime, because
143 the later doesn't use the cache.
145 * xdgmime/xdgmimecache.c:
146 (_xdg_mime_cache_list_mime_parents):
147 Don't list the same type as parent multiple times.
149 2008-01-28 Matthias Clasen <mclasen@redhat.com>
151 * === Released 2.15.4 ===
153 2008-01-28 Alexander Larsson <alexl@redhat.com>
156 Register local vfs with prio 0.
159 Remove old name and prio class members
161 2008-01-28 Matthias Clasen <mclasen@redhat.com>
163 * tests/g-file.c: Disable some tests that are failing in
164 the absence of a http backend.
166 2008-01-28 Alexander Larsson <alexl@redhat.com>
170 Add registration hooks for extension points.
171 Register the gio extension points.
173 * fam/gfamdirectorymonitor.c:
174 * fam/gfamfilemonitor.c:
175 * glocaldirectorymonitor.[ch]:
176 * glocalfilemonitor.[ch]:
177 * gnativevolumemonitor.h:
178 * gunionvolumemonitor.c:
179 * gunixvolumemonitor.c:
182 * inotify/ginotifydirectorymonitor.c:
183 * inotify/ginotifyfilemonitor.c:
184 Use the extension points registration instead
185 of g_type_children().
187 2008-01-28 Matthias Clasen <mclasen@redhat.com>
190 * gvolume.[hc]: Document new API.
192 * gfile.c (g_file_copy_async): Fix docs
194 2008-01-27 Matthias Clasen <mclasen@redhat.com>
196 * gbufferedinputstream.c:
198 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
201 2008-01-27 Matthias Clasen <mclasen@redhat.com>
203 * glocalfile.c: Avoid trivial differences in translatable strings.
205 2008-01-25 Matthias Clasen <mclasen@redhat.com>
207 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
208 build with gcc 3.4 (#509419)
210 2008-01-25 Matthias Clasen <mclasen@redhat.com>
212 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
213 (#509994, Murray Cumming)
215 2008-01-25 Matthias Clasen <mclasen@redhat.com>
217 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
218 * gioscheduler.c: Keep calling io jobs until they return FALSE;
219 this allows big jobs to be executed in chunks, instead of blocking
220 the main loop for a long time.
222 * gsimpleasyncresult.c:
223 * giofile.c: Adapt callers.
225 2008-01-25 Alexander Larsson <alexl@redhat.com>
228 Implement changes discussed on xdg list.
229 Now we can add supported mimetypes by just using defaults.list
230 We can also remove associations in defaults.list.
232 2008-01-25 Alexander Larsson <alexl@redhat.com>
235 Don't make local copy of desktop file
236 for mimetype changes if the file already
237 supports the new mimetype.
239 2008-01-25 Matthias Clasen <mclasen@redhat.com>
243 * gbufferedinputstream.c:
244 * glocalfile.c: String improvements. (#511966,
245 Theppitak Karoonboonyanan)
247 2008-01-24 Matthias Clasen <mclasen@redhat.com>
249 * gioscheduler.h: Expand docs a bit.
251 2008-01-24 Alexander Larsson <alexl@redhat.com>
254 Add g_drive_get_identifier and
255 g_drive_enumerate_identifiers
258 Add g_volume_get_identifier and
259 g_volume_enumerate_identifiers
265 Implement identifiers for unix backend
267 2008-01-24 Alexander Larsson <alexl@redhat.com>
272 Add g_file_copy_async() (#511580)
273 Based on patch from Carlos Garcia Campos
275 2008-01-23 Matthias Clasen <mclasen@redhat.com>
277 * gioscheduler.c: Some documentation additions.
279 2008-01-22 Alexander Larsson <alexl@redhat.com>
282 (g_desktop_app_info_new):
285 2008-01-22 Alexander Larsson <alexl@redhat.com>
288 (g_desktop_app_info_new_from_filename):
291 2008-01-22 Alexander Larsson <alexl@redhat.com>
293 * glocalfileinfo.c (get_thumbnail_attributes):
296 2008-01-22 Alexander Larsson <alexl@redhat.com>
299 (canonicalize_filename):
300 Canonicalize paths that start with more than
305 (test_g_file_new_for_path):
308 2008-01-22 Alexander Larsson <alexl@redhat.com>
311 Allow UTF-8 in file:// parse names.
314 * tests/data-input-stream.c:
315 * tests/data-output-stream.c:
316 * tests/g-file-info.c:
318 Added a bunch of tests from Tomas Bzatek
320 2008-01-21 Matthias Clasen <mclasen@redhat.com>
322 * === Released 2.15.3 ===
324 2008-01-21 Alexander Larsson <alexl@redhat.com>
326 * gfileinputstream.[ch]:
327 * gfileoutputstream.[ch]:
329 Remove duplicated GSeekable functions. (#509990)
330 Just use the g_seekable_xxx() calls instead.
332 2008-01-21 Matthias Clasen <mclasen@redhat.com>
335 * gvolumemanager.c: Whitespace cleanups.
337 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
338 Use the right mode when creating the file.
340 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
343 * gfileinputstream.c:
345 * goutputstream.c: Documentation: Fixed minor typos
346 and added more mentions of specific _finish() functions.
348 2008-01-21 Alexander Larsson <alexl@redhat.com>
350 * inotify/Makefile.am:
351 * inotify/inotify-helper.c:
352 * inotify/inotify-kernel.c:
353 * inotify/inotify-path.c:
354 * inotify/local_inotify.h: Removed.
355 * inotify/local_inotify_syscalls.h: Removed.
356 Removed the included copies of the inotify
357 headers. We now only use the <sys/inotify.h>
358 header which exists on modern systems.
359 This fixes problems on ARM and SH5 (#510448)
360 but is also generally much cleaner and future
361 safe. For instance, if other OSes add support
362 for inotify it should "just work".
364 2008-01-20 Matthias Clasen <mclasen@redhat.com>
366 * inotify/*.c: Coding style fixes.
367 * inotify/inotify-missing.c: Use g_timeout_add_seconds
368 for the 1/4 Hz timer.
370 2008-01-20 Matthias Clasen <mclasen@redhat.com>
374 * gmemoryinputstream.c:
375 * gmemoryoutputstream.c:
377 * gthemedicon.c: Documentation updates
379 2008-01-20 Murray Cumming <murrayc@murrayc.com>
381 * gfile.c: documentation: Fixed more minor
384 2008-01-18 Murray Cumming <murrayc@murrayc.com>
386 * gmount.c: (g_mount_remount): documentation:
387 Mention g_mount_remount_finish() instead of
388 g_mount_unmount_finish().
390 2008-01-18 Murray Cumming <murrayc@murrayc.com>
394 * gfile.c: Fixed some minor typos in the
397 2008-01-18 Murray Cumming <murrayc@murrayc.com>
399 * gio/gvolumemonitor.c:
400 (g_volume_monitor_get_connected_drives):
401 (g_volume_monitor_get_volumes):
402 (g_volume_monitor_get_mounts): Documentation:
403 Clarify the ownership of the regurn GLists.
405 2008-01-17 Alexander Larsson <alexl@redhat.com>
408 Add the async find_enclosing_mount version
409 to the header file too.
411 2008-01-17 Alexander Larsson <alexl@redhat.com>
414 Add async version of find_enclosing_mount
415 with default implementation.
417 2008-01-17 Alexander Larsson <alexl@redhat.com>
422 Allow calls to implementation of copy and write
423 even if the type of the file implementations is
424 different. This can be used to implement native
425 upload and download calls in a vfs.
429 Protect against the case where move is called
430 with one file not being local.
432 Make sure we call the progress callback once
433 in the native move operation so that the caller
434 knows how many bytes were copied.
436 2008-01-16 Murray Cumming <murrayc@murrayc.com>
439 * gdatainputstream.c:
441 * gfileoutputstream.c:
446 * gunixmounts.c: Corrected some typos in the documentation:
448 its -> it's (where appropriate).
450 2008-01-16 Alexander Larsson <alexl@redhat.com>
454 Add g_file_query_exists (#508771)
456 2008-01-15 Murray Cumming <murrayc@murrayc.com>
461 * gvolume.c: For async functions that have no non-async
462 version, document that the GAsyncReadyCallback may be NULL.
465 2008-01-15 Alexander Larsson <alexl@redhat.com>
467 * gmemoryinputstream.c:
468 * gmemoryoutputstream.c:
469 Don't do pointer arithmetic on void * (#508602)
470 Patch from Kazuki IWAMOTO
472 2008-01-14 Matthias Clasen <mclasen@redhat.com>
474 * === Released 2.15.2 ===
476 2008-01-14 Alexander Larsson <alexl@redhat.com>
478 * gfile.c (g_file_monitor_file):
479 Don't set error here, since we fallback to polling monitor.
481 2008-01-14 Alexander Larsson <alexl@redhat.com>
484 (g_file_monitor_directory):
485 (g_file_monitor_file):
486 Add GError to file monitor calls
488 * glocaldirectorymonitor.c:
489 * glocaldirectorymonitor.h:
491 * glocalfilemonitor.c:
492 * glocalfilemonitor.h:
494 Update for above change
496 2008-01-14 Alexander Larsson <alexl@redhat.com>
500 Handle root correctly in g_file_get_relative_path (#508719)
502 2008-01-14 Alexander Larsson <alexl@redhat.com>
505 Clean up docs and example for GAsyncResult (#508074)
507 2008-01-11 Murray Cumming <murrayc@murrayc.com>
509 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
510 and correct some spelling mistakes. Bug #508108.
512 2008-01-11 Matthias Clasen <mclasen@redhat.com>
514 * glocalfileinfo.c: Add a comment.
516 2008-01-10 Murray Cumming <murrayc@murrayc.com>
518 * gfileinfo.c: GFileInfo description: Mention
519 how to actually set attributes in a GFile and how to discover
520 which attributes are settable. Bug #508378.
522 2008-01-10 A. Walton <awalton@svn.gnome.org>
524 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
525 (g_app_info_get_default_for_type):
526 Check for NULL content types.
528 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
530 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
532 2008-01-09 Murray Cumming <murrayc@murrayc.com>
534 * gfile.c: *_async() functions: Several small corrections
535 to the documentation, mostly correcting copy/paste errors
536 and improving some sentences.
538 2008-01-09 Dan Winship <danw@gnome.org>
540 * glocalfile.c (get_unique_filename): x86_64 fix
542 2008-01-09 Alexander Larsson <alexl@redhat.com>
547 Add g_unix_mount_guess_should_display and use
548 for unix volume monitor backend.
549 This means we more or less show what the
550 gnome-vfs backend did.
551 Based on patch from Padraig O'Briain
553 2008-01-09 Alexander Larsson <alexl@redhat.com>
557 Add g_themed_icon_new_with_default_fallbacks
560 Use default fallbacks for icons
562 2008-01-09 Alexander Larsson <alexl@redhat.com>
565 * gmountoperation.[ch]:
566 Change the API a bit so that unhandled methods
567 get reported via the reply, rather than by
568 the signal emission return value. This is because
569 some handlers can't know this immediately without
570 doing I/O, and this is an async operation that
573 2008-01-09 Alexander Larsson <alexl@redhat.com>
576 * fam/gfamdirectorymonitor.c:
577 * fam/gfamfilemonitor.c:
578 Fix double free crash (#508224)
579 Patch from Joe Marcus Clarke
581 008-01-07 Matthias Clasen <mclasen@redhat.com>
583 * === Released 2.15.1 ===
585 2008-01-07 Alexander Larsson <alexl@redhat.com>
587 * gunixinputstream.c (g_unix_input_stream_skip_finish):
588 Fix warning (#507835)
590 2008-01-07 Alexander Larsson <alexl@redhat.com>
593 Pass --internal to glib-genmarshal
598 Use better types for signal arguments (#507822)
600 2008-01-07 Alexander Larsson <alexl@redhat.com>
603 Build test subdir after .
604 Remove gdirectorymonitor.[ch]
606 * gdirectorymonitor.[ch]:
610 Remove GDirectoryMonitor and make
611 GFileMonitor the baseclass for both file and
612 directory monitors. Lift the more generic
613 rate limiting code from GDirectoryMonitor
617 * fam/gfamdirectorymonitor.[ch]:
618 * inotify/ginotifydirectorymonitor.[ch]:
619 * inotify/inotify-helper.c:
620 * glocaldirectorymonitor.[ch]:
623 Update for the removed GDirectoryMonitor.
625 * gmemoryoutputstream.c:
626 Remove ununsed variable
628 2008-01-07 Alexander Larsson <alexl@redhat.com>
630 * gmemoryinputstream.c:
631 Translate error strings
634 * gmemoryoutputstream.[ch]:
635 New implementation that avoids using GByteArray
636 in implementation and API. (#506377)
638 2008-01-06 Matthias Clasen <mclasen@redhat.com>
640 * tests/*: Add a test for memory input streams.
642 * Makefile.am: Add tests to SUBDIRS.
644 2008-01-06 Matthias Clasen <mclasen@redhat.com>
646 * glocalfilemonitor.c:
647 * glocaldirectorymonitor.c: Mark property nicks and blurbs
650 2008-01-06 Matthias Clasen <mclasen@redhat.com>
652 * gdesktopappinfo.c: Fix a docs typo.
654 * gfileattribute.c: Add information about extended attributes
655 to the documentation. (#505058)
657 2008-01-04 Alexander Larsson <alexl@redhat.com>
661 Use the right type (uint) for the ask_password signal.
663 2008-01-04 Alexander Larsson <alexl@redhat.com>
668 Add g_app_info_supports_files()
669 Remove desktop arg from g_app_info_should_show().
671 * gdesktopappinfo.[ch]:
672 Implement g_app_info_supports_files() and new should_show()
673 Add g_desktop_app_info_set_desktop_env() to set the desktop
674 for should_show(). (This will be set by gtk+ later)
676 2008-01-04 Alexander Larsson <alexl@redhat.com>
679 * gmemoryinputstream.[ch]:
680 Improve API so that you can use multiple chunks
681 of memory and custom destroy functions. (#506374)
683 2008-01-03 Alexander Larsson <alexl@redhat.com>
686 Handle NULL attribute matchers safely, as we return this
687 for empty attribute matcher strings.
689 2008-01-03 Alexander Larsson <alexl@redhat.com>
691 * gunixmounts.c (g_unix_is_mount_path_system_internal):
692 Add /usr/local to list of internal mountpoints
694 2008-01-03 Alexander Larsson <alexl@redhat.com>
697 Check for HAVE_LCHOWN (#505887)
699 2008-01-03 Alexander Larsson <alexl@redhat.com>
703 Add define for selinux context attribute.
704 Fix missing : -> :: namespace separator change
705 Fix missing _ -> - name change for xattr-sys.
708 2008-01-03 Alexander Larsson <alexl@redhat.com>
711 Link to libglib and libgobject directly (#504879)
712 Patch from Sebastien Bacher
714 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
716 * gfile.c: Expanded the g_file_new_for_commandline_arg
717 description a bit, based on the code and the docs of the
718 other g_file_new_for_* functions.
720 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
722 * gfilemonitor.h: Fixed typo in docs.
724 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
726 Updates to GIO documentation. (#506395, Mikael Hermansson)
728 * gcontenttype.c: Describe memory management for return value of
729 g_content_types_get_registered(). Missing piece from #505815.
730 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
731 GVolume, GDrive, GMounts, which hopefully gives the user less
732 confusions when using this API. Following explainations from
733 Alexander Larsson on gtk-devel-list.
735 2007-12-30 Matthias Clasen <mclasen@redhat.com>
737 * gfileinfo.c: Expand the long description.
739 2007-12-30 Matthias Clasen <mclasen@redhat.com>
742 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
743 fix builds with --disable-visibility. (#500273, Christian Persch)
745 2007-12-30 Matthias Clasen <mclasen@redhat.com>
747 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
748 in the list of returned app infos.
750 2007-12-30 Matthias Clasen <mclasen@redhat.com>
752 * gappinfo.c: Fix a cross-reference
754 2007-12-30 Matthias Clasen <mclasen@redhat.com>
756 * gfileinputstream.c:
757 * gfileoutputstream.c:
763 * gfileinfo.c: Documentation updates.
765 2007-12-26 Matthias Clasen <mclasen@redhat.com>
767 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
770 2007-12-26 Matthias Clasen <mclasen@redhat.com>
772 * gcontenttype.c (g_content_types_get_registered): Don't return
773 freed memory (#505815, Mikael Hermansson)
775 2007-12-25 Paolo Borelli <pborelli@katamail.com>
777 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
778 used to detect statbuf->st_blocks. (#505042)
780 2007-12-24 Matthias Clasen <mclasen@redhat.com>
782 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
783 environment handling. (#504829, Cosimo Cecchi)
785 2007-12-22 Matthias Clasen <mclasen@redhat.com>
787 * gappinfo.c: Doc improvements
789 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
792 2007-12-20 Matthias Clasen <mclasen@redhat.com>
794 * === Released 2.15.0 ===
796 2007-12-20 Hans Breuer <hans@breuer.org>
798 * makefile.msc : don't build gdesktopappinfo.obj, it collides
799 with symbols gwin32appinfo.obj, added gmount.obj
800 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
802 2007-12-20 Alexander Larsson <alexl@redhat.com>
808 * gfilenamecompleter.c:
811 * gpollfilemonitor.c:
812 File attribute renames:
815 id::fs -> id::filesystem
817 2007-12-20 Alexander Larsson <alexl@redhat.com>
826 Add GMountUnmountFlags to all unmount and
828 Add g_mount_remount() call.
830 2007-12-20 Alexander Larsson <alexl@redhat.com>
832 * gvfs.c (get_default_vfs):
833 Fix unused variable warning
835 2007-12-19 Matthias Clasen <mclasen@redhat.com>
837 * pltcheck.sh: Update
839 2007-12-19 Matthias Clasen <mclasen@redhat.com>
841 * gunionvolumemonitor.c:
842 * gunixmount.c: Remove C99 comments
844 2007-12-19 Matthias Clasen <mclasen@redhat.com>
846 * gio.symbols: Add some missing symbols
848 2007-12-19 Alexander Larsson <alexl@redhat.com>
851 Make g_io_modules_load_all_in_directory not unuse
852 loaded modules so that users of it can do stuff
854 Init internal "module" types.
855 Initialize static prio and name for types so that
856 we don't have to load modules to get it.
858 * gnativevolumemonitor.h:
860 Move is_supported to parent class so that
861 non-native monitors can avoid being initialized
862 too. (For instance GDaemonVolumeMonitor if we're
863 not using GDaemonVfs.)
865 * glocaldirectorymonitor.[ch]:
866 * glocalfilemonitor.[ch]:
867 * gunionvolumemonitor.c:
868 * gunixvolumemonitor.c:
870 Find plugins using the static prio+name to
871 avoid unnecessarily loading the modules.
873 2007-12-19 Alexander Larsson <alexl@redhat.com>
878 2007-12-19 Alexander Larsson <alexl@redhat.com>
880 * gunionvolumemonitor.c:
881 Store the native type as GType, not class so that
882 we can unload it. But still avoid unnecessarily
885 2007-12-19 David Zeuthen <davidz@redhat.com>
887 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
888 add signals 'disconnected' and 'eject-button' on GDrive. Add
889 signal 'removed' on GVolume and 'unmounted' on GMount.
891 * gdrive.c: (g_drive_base_init):
893 * gfile.c: (g_file_mount_mountable),
894 (g_file_mount_enclosing_volume):
897 * gmount.c: (g_mount_base_init):
899 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
900 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
901 * gvolume.c: (g_volume_base_init), (g_volume_mount):
905 2007-12-17 Matthias Clasen <mclasen@redhat.com>
907 * *.c: Fix up includes in the section docs.
909 2007-12-17 Alexander Larsson <alexl@redhat.com>
911 * gnativevolumemonitor.h:
912 * gunionvolumemonitor.c:
913 * gunixvolumemonitor.c:
914 Add is_supported() to GNativeVolumeMonitorClass so
915 that we can avoid having to create an object to see
916 if the backend is supported at runtime.
917 Also add name member and an env var to pick a specific
918 volume monitor backend.
922 Add cancellable to _g_mount_get_for_mount_path()
924 * glocaldirectorymonitor.c:
925 * glocalfilemonitor.c:
926 Avoid loading and unloading modules while sorting.
928 2007-12-17 Matthias Clasen <mclasen@redhat.com>
931 * gunixmounts.[hc]: Namespace waste reduction, move some
932 g_get_unix_mount functions to the g_unix_mount namespace.
935 * gunixvolumemonitor.c:
937 * glocaldirectorymonitor.c: Update all callers.
939 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
941 2007-12-17 Alexander Larsson <alexl@redhat.com>
944 Add doc comments about what GFile operations are
945 guaranteed to not block.
947 2007-12-17 Alexander Larsson <alexl@redhat.com>
950 Add missing #ifdef fixing OSX build.
951 (#503334, patch from Richard Hult)
953 2007-12-14 David Zeuthen <davidz@redhat.com>
957 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
958 (g_mount_eject), (g_mount_eject_finish):
960 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
961 (get_volume_for_uuid), (get_mount_for_uuid),
962 (g_union_volume_monitor_class_init),
963 (get_default_native_type_with_exclude), (get_default_native_type),
964 (get_native_type), (update_native_type),
965 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
966 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
967 (g_unix_mount_can_eject), (eject_unmount_cb),
968 (eject_unmount_read_error), (eject_unmount_do),
969 (g_unix_mount_unmount), (g_unix_mount_eject),
970 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
971 * gunixmounts.c: (g_unix_mount_guess_can_eject),
972 (g_unix_mount_point_guess_can_eject):
974 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
975 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
976 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
977 (g_unix_volume_mount), (g_unix_volume_eject),
978 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
979 * gunixvolumemonitor.c: (get_volume_for_uuid),
980 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
982 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
983 (g_volume_eject), (g_volume_eject_finish):
985 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
986 (g_volume_monitor_get_mount_for_uuid):
989 Provide eject() on both GMount and GVolume and utility functions
990 to guess whether a GUnixMountPoint or GUnixMountEntry should be
991 ejected. Introduce the concept of UUID's and wire it into GVolume
992 and GMount and provide API on GVolumeMonitor to find such
993 instances. Also handle the case where an external
994 GNativeVolumeMonitor fails to initialize. Lock around the
995 _g_get_mount_for_mount_path() function such that volume monitor
996 implementations won't have to do locking themselves.
998 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1000 * gdesktopappinfo.c:
1006 * gvolume.h: Documentation updates
1008 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1011 * gfile.h: Doc updates
1013 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1016 * gdesktopappinfo.c: Use hash table iterators.
1018 2007-12-14 Alexander Larsson <alexl@redhat.com>
1021 * gfileattribute.[ch]:
1022 * gfileattribute-priv.h:
1023 Move GFileAttributeValue to a private header, as
1027 Make set_attribute take a type + a pointer instead
1028 of a GFileAttributeValue.
1031 Fix up for above changes.
1032 Add g_file_info_get_attribute_data to get
1033 all info in one call, g_file_info_get_attribute_status
1034 to get the status and g_file_info_get_attribute_as_string.
1038 * glocalfileinfo.[ch]:
1042 Make _guess_type static.
1044 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1047 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1048 made mkenums and friends use temporary files to avoid leaving
1049 empty generated files on failure (#503470).
1051 2007-12-14 Alexander Larsson <alexl@redhat.com>
1053 * gmountoperation.h:
1056 2007-12-14 Alexander Larsson <alexl@redhat.com>
1060 * gfileattribute.[ch]:
1063 * glocalfileoutputstream.c:
1064 * gmountoperation.[ch]:
1065 * goutputstream.[ch]:
1066 Clean up all flags enums to not have _FLAGS in them
1067 Make the names of some of the enums better.
1072 2007-12-14 Michael Natterer <mitch@imendio.com>
1074 * gio.symbols: fix g_io_scheduler symbol names.
1076 2007-12-14 Alexander Larsson <alexl@redhat.com>
1082 * gbufferedinputstream.h:
1083 * gbufferedoutputstream.h:
1086 * gdatainputstream.h:
1087 * gdataoutputstream.h:
1088 * gdesktopappinfo.h:
1089 * gdirectorymonitor.h:
1093 * gfileenumerator.h:
1096 * gfileinputstream.h:
1098 * gfilenamecompleter.h:
1099 * gfileoutputstream.h:
1100 * gfilterinputstream.h:
1101 * gfilteroutputstream.h:
1109 * gmemoryinputstream.h:
1110 * gmemoryoutputstream.h:
1112 * gmountoperation.h:
1115 * gsimpleasyncresult.h:
1117 * gunixinputstream.h:
1119 * gunixoutputstream.h:
1123 * inotify/Makefile.am:
1124 Only allow including <gio/gio.h> from apps
1126 2007-12-14 Alexander Larsson <alexl@redhat.com>
1128 * gioscheduler.[ch]:
1129 * gsimpleasyncresult.c:
1130 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1131 Split out the send_to_mainloop call into two versions instead
1132 of having the block argument.
1134 2007-12-13 Alexander Larsson <alexl@redhat.com>
1136 * gcancellable.[ch]:
1138 * gbufferedinputstream.c:
1139 * gfileenumerator.c:
1140 * gfileinputstream.c:
1141 * gfileoutputstream.c:
1145 g_push/pop_current_cancellable ->
1146 g_cancellable_push/pop_current
1148 2007-12-13 Alexander Larsson <alexl@redhat.com>
1152 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1154 2007-12-13 Alexander Larsson <alexl@redhat.com>
1156 * gmountoperation.h:
1157 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1159 2007-12-12 Alexander Larsson <alexl@redhat.com>
1162 Fix race condition when freeing proxy in
1163 g_io_job_send_to_mainloop().
1165 2007-12-12 Alexander Larsson <alexl@redhat.com>
1171 Make attribute namespace separator "::" instead of ":".
1172 Use - instead of _ as separator in attribute names.
1174 2007-12-12 Alexander Larsson <alexl@redhat.com>
1176 * gbufferedinputstream.h:
1177 * gbufferedoutputstream.h:
1178 * gdatainputstream.h:
1179 * gdataoutputstream.h:
1180 * gdirectorymonitor.h:
1181 * gfileenumerator.h:
1182 * gfileinputstream.h:
1184 * gfileoutputstream.h:
1185 * gfilterinputstream.h:
1186 * gfilteroutputstream.h:
1188 * glocalfileinputstream.h:
1189 * glocalfileoutputstream.h:
1190 * gmemoryinputstream.h:
1191 * gmemoryoutputstream.h:
1192 * gnativevolumemonitor.h:
1194 * gunixinputstream.h:
1195 * gunixoutputstream.h:
1198 s/parent/parent_instance/ in GObjects
1200 2007-12-12 Alexander Larsson <alexl@redhat.com>
1205 No need for padding for interfaces
1207 2007-12-12 Alexander Larsson <alexl@redhat.com>
1211 * gbufferedinputstream.c:
1212 * gbufferedoutputstream.c:
1215 * gdatainputstream.[ch]:
1216 * gdesktopappinfo.c:
1217 * gdirectorymonitor.c:
1219 * gfileattribute.[ch]:
1222 * gfileinputstream.h:
1223 * gfilemonitor.[ch]:
1224 * gfileoutputstream.[ch]:
1225 * gfilterinputstream.h:
1226 * gfilteroutputstream.h:
1229 * gloadableicon.[ch]:
1230 * gmemoryinputstream.c:
1231 * gmountoperation.c:
1233 Fix up a bunch of details in the docs.
1238 2007-12-11 David Zeuthen <davidz@redhat.com>
1240 Rework how volumes, drives and volume monitoring is
1241 done. Previosly the model was
1243 GDrive <1-1> GVolume
1245 where a GDrive instance represented a mount point and a GVolume
1246 instance represented a mounted file system. This patch changes it
1249 GDrive <1-N> GVolume <1-1> GMount
1251 where GMount now serves the purpose of the old GVolume and the new
1252 GVolume serves the purpose of the old GDrive. In addition the new
1253 GDrive interface is used to represent a collection of GVolume
1254 instances (typically partitions) and also contains utility to query
1255 the state of the physical drive the GDrive object represents (such
1256 as checking for media, polling the drive, ejecting the media etc.).
1258 Also implement mounting and unmounting in the Unix volume monitor
1259 backend. A subquent patch will introduce GDrive support for ejection
1263 * gdrive.c: (g_drive_is_media_check_automatic),
1264 (g_drive_is_media_removable), (g_drive_has_media),
1265 (g_drive_can_poll_for_media), (g_drive_eject),
1266 (g_drive_eject_finish), (g_drive_poll_for_media),
1267 (g_drive_poll_for_media_finish):
1269 * gfile.c: (g_file_find_enclosing_mount):
1272 * glocaldirectorymonitor.c:
1273 (g_local_directory_monitor_constructor), (mounts_changed):
1274 * glocalfile.c: (get_mount_info),
1275 (g_local_file_find_enclosing_mount),
1276 (g_local_file_file_iface_init):
1277 * gnativevolumemonitor.h:
1278 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1279 (get_connected_drives), (g_union_volume_monitor_class_init),
1280 (child_volume_added), (child_volume_removed),
1281 (child_volume_changed), (child_mount_added), (child_mount_removed),
1282 (child_mount_pre_unmount), (child_mount_changed),
1283 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1284 (g_union_volume_monitor_remove_monitor),
1285 (_g_mount_get_for_mount_path):
1286 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1287 (guess_system_internal), (_g_get_unix_mounts),
1288 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1289 (g_unix_mount_free), (g_unix_mount_compare),
1290 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1291 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1292 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1293 (type_to_icon), (g_unix_mount_guess_name),
1294 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1295 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1296 (_resolve_symlink), (_resolve_dev_root):
1298 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1299 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1300 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1301 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1302 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1303 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1304 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1305 (g_unix_volume_volume_iface_init):
1307 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1308 (get_mounts), (get_volumes), (get_connected_drives),
1309 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1310 (mountpoints_changed), (mounts_changed),
1311 (g_unix_volume_monitor_init),
1312 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1313 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1314 * gunixvolumemonitor.h:
1315 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1316 (g_volume_mount), (g_volume_mount_finish):
1318 * gvolumemonitor.c: (g_volume_monitor_class_init),
1319 (g_volume_monitor_get_connected_drives),
1320 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1323 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1325 * gmountoperation.h (GPasswordFlags): Close the gap
1327 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1329 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1331 * gdesktopappinfo.[hc]: Remove _-prefixes
1333 2007-12-10 Tor Lillqvist <tml@novell.com>
1335 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1338 2007-12-10 Alexander Larsson <alexl@redhat.com>
1340 * gfile.c (g_file_set_display_name):
1341 Don't hardcode '/' (#502727)
1343 2007-12-09 Hans Breuer <hans@breuer.org>
1345 * makefile.msc : follow lib naming convention
1346 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1347 for user and group name, tested with ../tests/gio-ls
1349 2007-12-09 A. Walton <awalton@svn.gnome.org>
1351 * gdesktopappinfo.c:
1357 * gfileenumerator.c:
1362 * gmemoryinputstream.c:
1363 * gmemoryoutputstream.c:
1365 * gsimpleasyncresult.c:
1366 More documentation cleanup and filling in missing information, bringing
1367 GIO to 99% symbol coverage.
1369 2007-12-08 Hans Breuer <hans@breuer.org>
1371 [gio compiles and links on win32, not sure how much already works]
1372 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1373 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1374 base on win32 API; prefer g_lstat() over lstat(); instead of
1375 localtime_r() use an all GLib implementation on win32;
1376 get_mount_info() still needs a win32 specifc implementation
1377 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1378 win32_get_file_user_info to get owner/group info without uid/gid
1379 * glocalfileinputstream.c : include <io.h> on win32
1380 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1381 definition, use g_win32_ftruncate() for G_OS_WIN32
1382 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1383 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1384 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1385 * makefile.msc : updated
1387 2007-12-07 Alexander Larsson <alexl@redhat.com>
1389 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1390 Avoid warning spew if error == NULL
1392 2007-12-07 Alexander Larsson <alexl@redhat.com>
1395 Update docs wrt etags
1397 2007-12-06 Alexander Larsson <alexl@redhat.com>
1400 Include sys/types.h for dev_t (#501919)
1402 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1406 Make abicheck and pltcheck pass.
1408 2007-12-05 Alexander Larsson <alexl@redhat.com>
1411 * giomodule-priv.h: Added.
1412 * glocaldirectorymonitor.c:
1413 * glocalfilemonitor.c:
1414 * gunionvolumemonitor.c:
1416 Actually add the declaration of _g_io_modules_ensure_loaded
1418 2007-12-05 Alexander Larsson <alexl@redhat.com>
1420 * gdatainputstream.c:
1425 * glocaldirectorymonitor.c:
1426 * glocalfilemonitor.c:
1427 * gunionvolumemonitor.c:
1429 Make g_io_modules_ensure_loaded a private function and
1430 don't pass in the dirname. This means we can do magic
1431 directory finding in the win32 version.
1432 Export the actual load-modules-in-directory code so that
1433 gvfs can reuse that.
1435 2007-12-05 Alexander Larsson <alexl@redhat.com>
1437 * gbufferedinputstream.c:
1438 * gbufferedoutputstream.c:
1441 * gfileenumerator.[ch]:
1442 * gfileinputstream.c:
1443 * gfileoutputstream.[ch]:
1444 * gfilterinputstream.c:
1445 * gfilteroutputstream.c:
1446 * ginputstream.[ch]:
1448 * glocalfileenumerator.c:
1449 * glocalfileinputstream.c:
1450 * glocalfileoutputstream.c:
1451 * gmemoryinputstream.c:
1452 * gmemoryoutputstream.c:
1453 * goutputstream.[ch]:
1456 * gunixinputstream.c:
1457 * gunixoutputstream.c:
1458 Rename all struct members named:
1459 read, write, close, truncate, or mount
1460 to foo_fn, as these are reserved names
1461 and could be defined as macros in libc.
1464 2007-12-04 Alexander Larsson <alexl@redhat.com>
1467 (g_output_stream_close):
1468 Only call flush if non-null.
1470 2007-11-30 Dan Winship <danw@gnome.org>
1472 * ginputstream.c (g_input_stream_set_pending): Make this take a
1473 GError and return a gboolean, and do the "outstanding operation"
1474 check (and the "stream is already closed" check) itself.
1475 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1477 * goutputstream.c (g_output_stream_set_pending)
1478 (g_output_stream_clear_pending): Likewise
1480 * gbufferedinputstream.c:
1481 * gfileinputstream.c:
1482 * gfileoutputstream.c: Update for that
1484 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1485 Like g_simple_async_report_error_in_idle, but takes a GError
1486 rather than building one.
1488 2007-11-30 Dan Winship <danw@gnome.org>
1490 * goutputstream.c: Don't cheat and unset the "pending" flag around
1491 inner calls. Instead, call the class method directly rather than
1492 the wrapper function that checks "pending"
1494 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1496 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1498 2007-12-03 Hans Breuer <hans@breuer.org>
1500 [start of port to win32/msvc]
1501 * gcancellable.c : HAVE_UNIST_H and _pipe()
1502 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1503 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1504 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1506 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1507 * glocalvfs.c : use HAVE_PWD_H
1508 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1509 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1510 * Makefile.am : added to EXTRA_DIST
1512 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1514 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1517 2007-12-03 Alexander Larsson <alexl@redhat.com>
1520 Handle OSX style xattrs API (#500506)
1522 2007-12-03 Alexander Larsson <alexl@redhat.com>
1526 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1528 2007-12-02 A. Walton <awalton@svn.gnome.org>
1532 Documentation accuracy fixes.
1534 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1536 * gioenumtypes.c.template: Fix typo.
1538 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1540 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1542 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1544 * gdirectorymonitor.c:
1545 * gfilemonitor.c: Add properties
1547 * gbufferedoutputstream.c: Don't mark buffer-size property
1550 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1552 * gbufferedoutputstream.c: Add auto-grow property.
1554 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1556 * *.c: Unify the capitalization of section headings.
1558 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1560 * gmountoperation.c: Add properties
1562 * gdatainputstream.c: Turn byte-order and newline-type into
1565 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1567 * gioenumtypes.[hc].template: Templates for enum registration
1569 * Makefile.am: Generate gioenumtypes.[hc]
1571 * gio.h: Include gioenumtypes.h
1573 * gfile.h: Add some explicit nicks.
1575 * gio.symbols: Add new symbols
1577 * pltcheck.sh: Adjust
1579 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1581 * *.c: Explain etags and link to the explanation
1583 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1585 * *.c: Explain I/O priority.
1587 * *.c: More coding style fixes.
1589 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1591 * gasyncresult.c: Add another paragraph to the intro,
1592 adjust coding style of example.
1594 2007-11-29 A. Walton <awalton@svn.gnome.org>
1597 Fixes unknown meaning in GAppLaunchContext docs.
1599 Clarify asynchronous ops.
1601 Fix entity tag docs.
1604 Provides missing gtk-doc section, fixes API docs slighly.
1605 * gsimpleasyncresult.c:
1606 Fill in missing info in docs.
1607 * gunixinputstream.c:
1608 * gunixoutputstream.c:
1609 Be more expressive in short description.
1611 Remove gtk-doc stubs for non-public API.
1613 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1615 * *.c: Coding style fixups
1617 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1619 * inotify/inotify-helper.c: Don't export the lock from libgio.
1621 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1624 * abicheck.sh: Fix copy-and-paste leftovers
1626 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1628 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1630 2007-11-28 Alexander Larsson <alexl@redhat.com>
1634 Removed unnecessary file
1636 * gdesktopappinfo.[ch]:
1639 * glocaldirectorymonitor.[ch]:
1641 * glocalfileenumerator.[ch]:
1642 * glocalfileinputstream.[ch]:
1643 * glocalfilemonitor.[ch]:
1644 * glocalfileoutputstream.[ch]:
1646 * gnativevolumemonitor.c:
1647 * gpollfilemonitor.[ch]:
1648 * gunionvolumemonitor.[ch]:
1651 * gunixvolumemonitor.[ch]:
1654 * inotify/ginotifydirectorymonitor.[ch]:
1655 * inotify/ginotifyfilemonitor.[ch]:
1656 * inotify/inotify-helper.c:
1657 Append _ to all internal functions
1661 Export symbols needed for modules
1663 2007-11-28 Alexander Larsson <alexl@redhat.com>
1666 * abicheck.sh: Added.
1667 * makegioalias.pl: Added.
1668 * pltcheck.sh: Added.
1669 * gio.symbols: Added.
1672 Initial work on adding symbol handling.
1675 Correct ifdef guard name
1678 * inotify/Makefile.am:
1679 * xdgmime/Makefile.am:
1680 Include toplevel Makefile.decl
1682 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1684 * gcontenttype.c: Move doc comments to the unix section.
1686 * *.[hc]: More trivial doc corrections.
1688 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1690 * gpollfilemonitor.c:
1694 * gdesktopappinfo.c:
1699 * gdatainputstream.c:
1700 * gdatainputstream.h:
1701 * gdataoutputstream.c:
1702 * gdataoutputstream.h:
1703 * gfileinfo.h: Doc cleanups
1705 2007-11-28 Andre Klapper <a9016009@gmx.de>
1707 * gdesktopappinfo.c: Fix a typo.
1709 2007-11-27 Andre Klapper <a9016009@gmx.de>
1711 * glocalfileoutputstream.c: Fix a typo.
1713 2007-11-27 Alexander Larsson <alexl@redhat.com>
1716 Don't include removed headers
1718 2007-11-27 Alexander Larsson <alexl@redhat.com>
1721 * gsocketinputstream.[ch]: Removed.
1722 * gsocketoutputstream.[ch]: Removed.
1723 * gunixinputstream.[ch]: Added.
1724 * gunixoutputstream.[ch]: Added.
1725 Renamed GSocket*Stream to GUnix*Stream and made
1726 it unix-only, since its not really only for sockets
1727 and it only works on unix (but is highly useful there).
1729 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1735 * gbufferedinputstream.c:
1736 * gbufferedinputstream.h:
1737 * gbufferedoutputstream.c:
1738 * gbufferedoutputstream.h:
1742 * gdatainputstream.c:
1743 * gdatainputstream.h:
1744 * gdataoutputstream.c:
1745 * gdataoutputstream.h:
1746 * gdirectorymonitor.c:
1747 * gdirectorymonitor.h:
1754 * gfileenumerator.c:
1755 * gfileenumerator.h:
1760 * gfileinputstream.c:
1761 * gfileinputstream.h:
1764 * gfilenamecompleter.c:
1765 * gfilenamecompleter.h:
1766 * gfileoutputstream.c:
1767 * gfileoutputstream.h:
1768 * gfilterinputstream.c:
1769 * gfilterinputstream.h:
1770 * gfilteroutputstream.c:
1771 * gfilteroutputstream.h:
1784 * glocalfileoutputstream.c:
1785 * gmemoryinputstream.c:
1786 * gmemoryinputstream.h:
1787 * gmemoryoutputstream.c:
1788 * gmemoryoutputstream.h:
1789 * gmountoperation.c:
1790 * gmountoperation.h:
1793 * gpollfilemonitor.c:
1796 * gsimpleasyncresult.c:
1797 * gsimpleasyncresult.h:
1798 * gsocketinputstream.c:
1799 * gsocketinputstream.h:
1800 * gsocketoutputstream.c:
1801 * gsocketoutputstream.h:
1808 * gunixvolumemonitor.c:
1817 Bumps documentation to 93% symbol coverage, touching most
1818 of the public files. Fixes broken function documentation prototypes.
1819 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1820 gtk-doc headers in private files.
1822 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1824 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1825 (g_buffered_input_stream_read_byte):
1826 * gbufferedinputstream.h:
1827 New functions for efficient access to buffer and simple single byte
1830 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1831 (g_data_input_stream_read_until):
1832 * gdatainputstream.h:
1833 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1834 read_until with multiple stop chars.
1836 2007-11-27 Alexander Larsson <alexl@redhat.com>
1840 * inotify/Makefile.am:
1841 Use the user-specified giomoduledir
1843 2007-11-27 Alexander Larsson <alexl@redhat.com>
1847 Add catch-all gio.h header
1848 Don't install gdummyfile.h
1850 2007-11-26 Alexander Larsson <alexl@redhat.com>
1852 * Makefile.am (gioinclude_HEADERS):
1853 Remove trailing whitespace
1855 2007-11-26 Alexander Larsson <alexl@redhat.com>
1857 Merge gio-standalone into glib
1859 2007-11-25 Christian Kellner <gicmo@gnome.org>
1861 * gio/goutputstream.c:
1862 Fix small mistake in the docs.
1864 2007-11-21 Christian Persch <chpe@gnome.org>
1866 * gio/glocalfile.c: (g_local_file_trash):
1867 Convert filenames to UTF-8 for GError.
1868 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1869 as per xdg base dir spec.
1871 2007-11-21 Christian Persch <chpe@gnome.org>
1873 * gio/gdesktopappinfo.c:
1874 Use that g_key_file_to_data cannot fail.
1876 Use stock defines for the key file group and key names.
1879 2007-11-21 Alexander Larsson <alexl@redhat.com>
1882 (copy_stream_with_progress):
1883 Make sure we do a final progress callback with
1884 the full total size.
1886 2007-11-21 Alexander Larsson <alexl@redhat.com>
1889 Export g_file_copy_attributes
1890 Remove padding as its not needed for interfaces
1892 2007-11-20 Alexander Larsson <alexl@redhat.com>
1897 Add G_IO_ERROR_WOULD_MERGE for
1898 copy/move dir on dir with overwrite.
1900 2007-11-20 Alexander Larsson <alexl@redhat.com>
1903 * gio/glocalfileinfo.c:
1904 Add COPY_NAME (this is an optional
1905 non-modified utf8 version of the name) that
1908 2007-11-20 Alexander Larsson <alexl@redhat.com>
1910 * gio/glocalfileenumerator.c:
1911 Report errors as GIOError, not GFileError
1913 2007-11-16 Alexander Larsson <alexl@redhat.com>
1915 * gio/glocalfileoutputstream.c:
1916 * gio/gwin32appinfo.c:
1917 Fix typos in strings.
1918 Patch from Luca Ferretti <elle.uca@libero.it>
1920 2007-11-15 Alexander Larsson <alexl@redhat.com>
1923 Post release version bump
1925 === gio-standalone 0.1.2 ===
1927 2007-11-15 Alexander Larsson <alexl@redhat.com>
1929 * docs/reference/gio/Makefile.am:
1930 Fix up distcheck by removing weird
1936 2007-11-14 Alexander Larsson <alexl@redhat.com>
1938 * gio/gdesktopappinfo.c:
1939 * gio/glocaldirectorymonitor.c:
1941 * gio/glocalfileinfo.c:
1942 * gio/inotify/inotify-sub.c:
1943 * programs/gio-cat.c:
1944 * programs/gio-copy.c:
1945 * programs/gio-info.c:
1946 * programs/gio-ls.c:
1947 * programs/gio-monitor-dir.c:
1948 * programs/gio-monitor-file.c:
1949 * programs/gio-mount.c:
1950 * programs/gio-move.c:
1951 * programs/gio-rm.c:
1952 * programs/gio-save.c:
1953 * programs/gio-trash.c:
1954 Leak fixes from Kjartan Maraas
1956 2007-11-14 Alexander Larsson <alexl@redhat.com>
1958 * gio/fam/fam-helper.c:
1960 * gio/glocalfileinfo.c:
1964 * gio/inotify/inotify-diag.c:
1965 * gio/inotify/inotify-kernel.c:
1966 Various code cleanups from Kjartan Maraas
1968 2007-11-14 Alexander Larsson <alexl@redhat.com>
1970 * gio/gioscheduler.c:
1972 Set up threadpool so that we cache 2 unused
1973 idle threads for at 15 secs. This means we
1974 will reuse thread-local data (like dbus connections)
1977 2007-11-14 Alexander Larsson <alexl@redhat.com>
1979 * gio/fam/fam-helper.c:
1980 * gio/fam/gfamdirectorymonitor.c:
1981 * gio/fam/gfamfilemonitor.c:
1983 * gio/gcontenttype.c:
1984 * gio/gdatainputstream.c:
1985 * gio/gdataoutputstream.c:
1989 * gio/gfileattribute.h:
1990 * gio/gfileenumerator.c:
1992 * gio/ginputstream.c:
1995 * gio/glocalfileinfo.c:
1996 * gio/goutputstream.c:
1997 * gio/gpollfilemonitor.c:
1998 * gio/gsimpleasyncresult.c:
1999 * gio/gunixmounts.c:
2000 * gio/gunixmounts.h:
2001 * gio/inotify/ginotifydirectorymonitor.c:
2002 * gio/inotify/ginotifyfilemonitor.c:
2003 * gio/inotify/inotify-diag.c:
2004 * gio/inotify/inotify-kernel.c:
2005 * gio/inotify/inotify-path.c:
2007 * gio/test-streams.c:
2008 * programs/gio-info.c:
2009 * programs/gio-monitor-dir.c:
2010 * programs/gio-monitor-file.c:
2011 Various code cleanups from Kjartan Maraas
2013 2007-11-13 Alexander Larsson <alexl@redhat.com>
2016 Handle the uri-scheme calls for dummy files
2018 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2020 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2021 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2022 to avoid clash with the C++ keyword.
2024 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2026 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2027 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2029 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2031 * gio/glocaldirectorymonitor.c:
2032 * gio/glocalfilemonitor.c:
2033 * gio/gunionvolumemonitor.c:
2034 Don't use g_once_init_*() for initializations that could fail and
2035 could leave the initialization variable set to 0 but use GOnce.
2036 This prevents a deadlock on the second call when trying to create
2037 a monitor and no monitor type is available. Thanks to Sven Herzberg
2040 2007-11-11 Sven Herzberg <sven@imendio.com>
2042 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2043 #ifdef (make it work on MacOS X again)
2045 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2047 Fixes Changelog for last two commits (sorry guys).
2049 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2051 * gio/gbufferedinputstream.c:
2052 * gio/gdatainputstream.c:
2054 * gio/gfileoutputstream.c:
2055 * gio/gfilterinputstream.c:
2056 * gio/glocalfileinputstream.c:
2059 More consistency fixes in g*stream.c files.
2060 Significant clean of gfile's documentation, filling in of
2061 asynchronous operations documentation.
2063 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2065 * gio/gasyncresult.c:
2066 * gio/gbufferedinputstream.c:
2067 * gio/gbufferedoutputstream.c:
2068 * gio/gcancellable.c:
2069 * gio/gcontenttype.c:
2070 * gio/gdatainputstream.c:
2071 * gio/gdataoutputstream.c:
2072 * gio/gdesktopappinfo.c:
2075 * gio/gfileattribute.c:
2076 * gio/gio/gfileenumerator.c:
2078 * gio/gfileinputstream.c:
2079 * gio/gfilemonitor.c:
2080 * gio/gfileoutputstream.c:
2081 * gio/ginputstream.c:
2083 * gio/gioscheduler.c:
2084 * gio/gloadableicon.c:
2085 * gio/glocalfileoutputstream.c:
2086 * gio/gmemoryoutputstream.c:
2087 * gio/gmountoperation.c:
2088 * gio/goutputstream.c:
2090 * gio/gsimpleasyncresult.c:
2091 * gio/gunionvolumemonitor.c:
2092 * gio/gunixmounts.c:
2093 * gio/gunixvolume.c:
2097 * gio/gvolumemonitor.c:
2098 Updated documentation stubs, working towards consistency and
2101 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2103 * gio/gmemoryoutputstream.c:
2104 * gio/gmemoryoutputstream.h:
2105 Change g_memory_output_stream_set_free_on_close() to
2106 g_memory_output_stream_set_free_data() as this makes more sense and
2107 is more consistent with GMemoryInputStream.
2109 2007-11-07 Alexander Larsson <alexl@redhat.com>
2116 Change how we find the default vfs so that
2117 we can handle a gvfs failing to init
2119 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2121 * gio/gbufferedoutputstream.c:
2122 * gio/gdatainputstream.c:
2123 * gio/gdataoutputstream.c:
2124 * gio/gfileinputstream.c:
2125 * gio/gfileoutputstream.c:
2126 * gio/gfilterinputstream.c:
2127 * gio/gfilteroutputstream.c:
2128 * gio/ginputstream.c:
2129 * gio/gmemoryinputstream.c:
2130 * gio/gmemoryoutputstream.c:
2131 * gio/goutputstream.c:
2132 * gio/gsimpleasyncresult.c:
2133 * gio/gsocketinputstream.c:
2134 * gio/gsocketoutputstream.c:
2135 Add guards to the remaining public functions, add a TODO for
2136 an unimplemented function and remove some useless guards.
2138 2007-11-07 Alexander Larsson <alexl@redhat.com>
2141 Autoconf checks for the various types of
2142 getpwuid_r and getgrgid_r
2144 * gio/glocalfileinfo.c:
2145 Use the autoconf checks from above
2147 2007-11-07 Alexander Larsson <alexl@redhat.com>
2150 (g_local_file_query_filesystem_info):
2151 Some fixes for the statvfs case
2153 2007-11-07 Alexander Larsson <alexl@redhat.com>
2156 (g_local_file_query_filesystem_info):
2157 Pick the "best" of statfs / statvfs for the system
2158 if both are availible.
2160 2007-11-07 Alexander Larsson <alexl@redhat.com>
2162 Solaris fixes from Halton.Huo@Sun.COM:
2169 * gio/glocalfileinfo.c:
2170 Fix for solaris definition of getpwuid_r
2172 * gio/test-streams.c:
2173 Use G_GNUC_PRETTY_FUNCTION
2175 2007-11-07 Alexander Larsson <alexl@redhat.com>
2177 * gio/gdesktopappinfo.c:
2178 (update_default_list):
2179 Remove double semicolon.
2180 Patch from Jens Granseuer
2182 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2184 * docs/reference/gio/gio-sections.txt:
2185 * gio/gbufferedinputstream.c:
2186 * gio/gbufferedinputstream.h:
2187 * gio/gdatainputstream.c:
2188 * gio/gfileenumerator.c:
2189 * gio/gioscheduler.c:
2190 * gio/gunionvolumemonitor.c:
2192 * programs/gio-save.c:
2193 Fix typo: availible -> available. Unfortuntely this breaks API
2194 and ABI as g_buffered_input_stream_get_available() was renamed.
2196 * gio/gunixmounts.c:
2197 * gio/gbufferedinputstream.c:
2198 Add guards for public functions.
2200 2007-11-06 Ross Burton <ross@openedhand.com>
2202 * docs/reference/gio/Makefile.am:
2203 Fix invalid += usage which automake 1.10 doesn't like.
2205 2007-11-06 Alexander Larsson <alexl@redhat.com>
2208 (g_app_launch_context_class_init):
2211 Patch from Ross Burton
2213 2007-11-06 Alexander Larsson <alexl@redhat.com>
2216 Post release version bump
2218 === gio-standalone 0.1.1 ===
2220 2007-11-06 Alexander Larsson <alexl@redhat.com>
2223 Bump version to 0.1.1
2225 * gio/gsimpleasyncresult.c:
2226 (g_simple_async_result_set_from_error):
2227 Remove bogus g_return_if_fail
2229 2007-11-06 Alexander Larsson <alexl@redhat.com>
2232 The name is gio-standalone
2235 Add top src/builddir to includedir
2237 2007-11-06 Alexander Larsson <alexl@redhat.com>
2239 * docs/reference/gio/gio-sections.txt:
2241 * gio/gbufferedinputstream.c:
2242 * gio/gbufferedoutputstream.c:
2243 * gio/gcancellable.c:
2244 * gio/gdatainputstream.h:
2245 * gio/gdataoutputstream.c:
2246 * gio/gdataoutputstream.h:
2247 * gio/gdirectorymonitor.c:
2249 * gio/gfileattribute.c:
2250 * gio/gfileattribute.h:
2251 * gio/gfileenumerator.c:
2252 * gio/gfileenumerator.h:
2255 * gio/gfileinputstream.h:
2256 * gio/gfilemonitor.c:
2257 * gio/gfileoutputstream.h:
2258 * gio/glocalfilemonitor.h:
2259 * gio/glocalfileoutputstream.h:
2260 * gio/gmemoryinputstream.c:
2261 * gio/gmemoryoutputstream.c:
2262 * gio/gmountoperation.c:
2263 * gio/goutputstream.c:
2264 * gio/goutputstream.h:
2266 * gio/gsimpleasyncresult.c:
2267 * gio/gunixmounts.c:
2268 * gio/gunixmounts.h:
2270 * gio/inotify/inotify-helper.c:
2271 Fix gtk-doc warnings
2273 Patch from Ross Burton
2275 2007-11-06 Alexander Larsson <alexl@redhat.com>
2277 * gio/gfilenamecompleter.c:
2278 (g_filename_completer_get_completions):
2281 * gio/gunixvolume.c:
2282 Remove unused function
2284 Patches from Ross Burton
2286 2007-11-06 Alexander Larsson <alexl@redhat.com>
2291 Padding not needed for interfaces
2293 2007-11-06 Alexander Larsson <alexl@redhat.com>
2295 * gio/gfilemonitor.c:
2299 Make giotypes.h an internal file
2302 * gio/gbufferedinputstream.h:
2303 * gio/gbufferedoutputstream.h:
2304 * gio/gcancellable.h:
2305 * gio/gdatainputstream.h:
2306 * gio/gdataoutputstream.h:
2307 * gio/gdirectorymonitor.c:
2308 * gio/gdirectorymonitor.h:
2313 * gio/gfileattribute.h:
2314 * gio/gfileenumerator.h:
2319 * gio/gfilemonitor.c:
2320 * gio/gfilemonitor.h:
2321 * gio/gfilenamecompleter.c:
2322 * gio/gfilenamecompleter.h:
2323 * gio/gfilterinputstream.h:
2324 * gio/gfilteroutputstream.h:
2325 * gio/ginputstream.h:
2326 * gio/gmemoryinputstream.h:
2327 * gio/gmemoryoutputstream.h:
2328 * gio/gmountoperation.c:
2329 * gio/gmountoperation.h:
2330 * gio/gnativevolumemonitor.c:
2331 * gio/goutputstream.h:
2334 * gio/gsimpleasyncresult.c:
2335 * gio/gsimpleasyncresult.h:
2336 * gio/gsocketinputstream.h:
2337 * gio/gsocketoutputstream.h:
2338 * gio/gthemedicon.c:
2339 * gio/gthemedicon.h:
2343 * gio/gvolumemonitor.c:
2344 * gio/gvolumemonitor.h:
2345 Add padding in classes where it seems useful
2346 Don't include giotypes.h from public headers
2347 Move in Class definitions into c file where possible
2352 2007-11-06 Alexander Larsson <alexl@redhat.com>
2354 * docs/reference/gio/gio-docs.xml:
2355 Better structure for API docs
2357 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2360 * gio/gloadableicon.c:
2361 * gio/gsimpleasyncresult.c:
2362 * gio/gthemedicon.c:
2363 Add some more guards to public functions. Only files missing are now
2366 2007-11-06 Alexander Larsson <alexl@redhat.com>
2368 * docs/reference/gio/gio-docs.xml:
2369 Remove old files, add missing ones
2371 2007-11-06 Alexander Larsson <alexl@redhat.com>
2373 * docs/reference/gio/gio-sections.txt:
2376 Hide implementation classes
2378 * gio/gdriveprivate.h:
2379 * gio/gvolumeprivate.h:
2380 Remove non-existing function declarations
2382 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2385 Fix compilation warnings and add guards to the new functions.
2387 * gio/gasyncresult.c:
2389 Add guards to the public functions.
2392 Implement get_path().
2394 2007-11-06 Alexander Larsson <alexl@redhat.com>
2396 * gio/gfilenamecompleter.c:
2397 Make g_filename_completer_get_completions
2398 return char ** instead of GList for
2401 * docs/reference/gio/gio-docs.xml:
2402 * docs/reference/gio/gio-sections.txt:
2404 * gio/gasyncresult.c:
2405 * gio/gbufferedinputstream.c:
2406 * gio/gbufferedoutputstream.c:
2407 * gio/gcancellable.c:
2408 * gio/gcontenttype.c:
2409 * gio/gdatainputstream.c:
2410 * gio/gdataoutputstream.c:
2411 * gio/gdesktopappinfo.c:
2412 * gio/gdirectorymonitor.c:
2416 * gio/gfileattribute.c:
2417 * gio/gfileenumerator.c:
2420 * gio/gfileinputstream.c:
2421 * gio/gfilemonitor.c:
2422 * gio/gfilenamecompleter.c:
2423 * gio/gfilenamecompleter.h:
2424 * gio/gfileoutputstream.c:
2425 * gio/gfilterinputstream.c:
2427 * gio/ginputstream.c:
2429 * gio/gioscheduler.c:
2430 * gio/gloadableicon.c:
2431 * gio/glocaldirectorymonitor.c:
2433 * gio/glocalfileinputstream.c:
2434 * gio/glocalfilemonitor.c:
2435 * gio/glocalfileoutputstream.c:
2437 * gio/gmemoryinputstream.c:
2438 * gio/gmemoryoutputstream.c:
2439 * gio/gmountoperation.c:
2440 * gio/goutputstream.c:
2441 * gio/gpollfilemonitor.c:
2443 * gio/gsimpleasyncresult.c:
2444 * gio/gsocketinputstream.c:
2445 * gio/gsocketoutputstream.c:
2446 * gio/gthemedicon.c:
2447 * gio/gunionvolumemonitor.c:
2449 * gio/gunixmounts.c:
2450 * gio/gunixvolume.c:
2451 * gio/gunixvolumemonitor.c:
2455 * gio/gvolumemonitor.c:
2456 * gio/gwin32appinfo.c:
2457 Add (mostly stub) doc strings to public functions.
2458 Patch from Andrew Walton (awalton@gmail.com)
2460 2007-11-06 Alexander Larsson <alexl@redhat.com>
2462 * gio/gappinfo.[ch]:
2463 Added GAppLaunchContext object and pass that to launch.
2464 This allows simple implementation of both
2465 launch-on-screen and startup notification via a gtk+
2466 subclass of GAppLaunchContext
2468 * gio/gdesktopappinfo.c:
2469 Implement GAppLaunchContext API
2471 * gio/gwin32appinfo.c:
2474 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2476 * gio/gmountoperation.c:
2477 Add some guards to GMountOperation's public functions.
2479 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2483 * gio/gcancellable.c:
2484 * gio/gdirectorymonitor.c:
2486 * gio/gfileenumerator.c:
2487 * gio/gfilemonitor.c:,
2488 * gio/gfilenamecompleter.c:
2491 * gio/gioscheduler.c:
2495 * gio/gvolumemonitor.c:
2496 Add even more guards to various public functions.
2498 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2501 Add guards to the public functions of GAppInfo.
2503 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2505 * gio/gcontenttype.c:
2506 Add some more guards for public functions.
2508 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2510 * gio/fam/fam-module.c:
2511 * gio/fam/gfamdirectorymonitor.c:
2512 * gio/fam/gfamdirectorymonitor.h:
2513 * gio/fam/gfamfilemonitor.c:
2514 * gio/fam/gfamfilemonitor.h:
2515 * gio/inotify/ginotifydirectorymonitor.c:
2516 * gio/inotify/ginotifydirectorymonitor.h:
2517 * gio/inotify/ginotifyfilemonitor.c:
2518 * gio/inotify/ginotifyfilemonitor.h:
2519 Add proper copyright information and remove an unused variable
2520 in the GInotifyFileMonitor constructor.
2522 * gio/gcancellable.c:
2523 Add a guard for a public function and an assertion to prevent
2524 an undefined program state.
2526 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2528 * gio/gfileattribute.c:
2529 Don't run into an assertion if the given attribute value is NULL
2530 in g_file_attribute_value_get_*() but instead return a fallback
2531 value that makes sense in most situations. Passing them a attribute
2532 value with the wrong type will still run into an assertion.
2534 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2536 * gio/gfileattribute.c:
2538 Add even more guards to the public functions. Also fix the refcounting
2539 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2540 let g_file_info_list_attributes() filter the attributes by namespace
2541 instead of simply ignoring the namespace parameter.
2543 2007-11-03 Sven Herzberg <sven@imendio.com>
2545 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2546 (This makes gio work on MacOS X again)
2548 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2551 Build the gio subdirectory before the docs. Otherwise the build will
2554 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2555 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2556 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2557 Add guards to the public functions.
2559 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2561 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2562 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2563 to prevent a compiler warning.
2565 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2566 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2567 return something in the non-void function find_topdir_for().
2569 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2576 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2578 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2579 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2580 * gwin32appinfo.c (g_win32_app_info_launch):
2581 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2582 envp_for_startup_id, g_desktop_app_info_launch,
2583 g_desktop_app_info_launch_uris):
2585 Give an opaque 'startup_id' string instead of 'envp'.
2586 Support empty file lists for launching new windows.
2587 Fix infinite recursion bug when launching URIs.
2589 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2592 Add guard to the new g_file_get_uri_scheme() function.
2594 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2597 Convert a g_return_val_if_fail() to setting the GError instead as
2598 otherwise applications have to verify the parameter before otherwise
2599 and the parameter might come directly from the user.
2601 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2603 * gio/inotify/ginotify*.[ch]:
2604 Add missing copyright information.
2606 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2609 Add guards in the beginning of public functions to check for valid
2610 parameters and fix a bug in copy_stream_with_progress() that could've
2611 caused writing less bytes than reading.
2612 * gio/glocalfileinfo.c:
2613 Check for a NULL parameter and set the GError accordingly then.
2614 * gio/goutputstream.c:
2615 Fix the same bug as in gfile.c that could've caused writing less bytes
2616 than reading in g_output_stream_real_splice().
2618 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2621 Use the correct gvolumeprivate.h naming
2623 2007-11-01 Christian Kellner <gicmo@gnome.org>
2626 Remove leftover "$(daemon_sources)" entry.
2628 2007-11-01 Christian Kellner <gicmo@gnome.org>
2633 Add copyright information to source files.
2635 2007-11-01 Alexander Larsson <alexl@redhat.com>
2639 Add g_file_get_uri_scheme
2641 2007-11-01 Alexander Larsson <alexl@redhat.com>
2644 * gio/gdesktopappinfo.c:
2645 * gio/gwin32appinfo.c:
2646 Add g_app_info_get_default_for_uri_scheme.
2648 2007-11-01 Alexander Larsson <alexl@redhat.com>
2651 Correct filename for gdriveprivate.h
2653 2007-10-31 Alexander Larsson <alexl@redhat.com>
2656 Rename id:value to id:file
2659 * gio/glocalfileinfo.c:
2662 2007-10-31 Alexander Larsson <alexl@redhat.com>
2664 * gio/gunixvolume.c:
2666 Remove g_volume_get_platform_id, as thats not
2667 needed with the simpler union volume monitor
2669 2007-10-31 Alexander Larsson <alexl@redhat.com>
2672 * gio/guniondrive.[ch]: Removed.
2673 * gio/gunionvolume.[ch]: Removed.
2674 Remove GUnionDrive/Volume
2676 * gio/gunionvolumemonitor.c:
2677 Simplify union volume monitor, now we
2678 only have one native volume monitor and
2679 we use the actual volumes/drives from the
2680 child monitors instead of wrapping them
2682 * gio/gnativevolumemonitor.[ch]:
2683 Base class for native volume monitors.
2684 Includes priority and get_volume_for_mountpoint
2687 Add g_file_find_enclosing_volume
2690 Remove volume name fs attribute
2691 Add readonly fs attribute
2694 Implement readonly attribute
2695 remove volume name attribute
2696 Implement find_enclosing volume
2698 * gio/gunixmounts.c:
2699 Add a volume for "/".
2701 * gio/gunixvolume.[ch]:
2702 Set better name for /
2704 * gio/gunixvolumemonitor.[ch]:
2705 Derive from GNativeVolumeMonitor
2706 Implement get_volume_for_mountpoint
2709 GVolume typedef moved to gfile.h
2711 * gio/gvolumeprivate.h:
2712 Add g_volume_get_for_mount_path
2714 2007-10-31 Alexander Larsson <alexl@redhat.com>
2716 * gio/gunixmounts.[ch]:
2717 Add cache info to unix mount listers
2718 Make getmntent use threadsafe
2719 Add is_system_internal attribute for GUnixMount
2721 * gio/gunixvolume.c:
2722 (g_unix_volume_new):
2723 Use is_system_internal instead of own code
2725 * gio/glocaldirectorymonitor.c:
2726 * gio/gunixvolumemonitor.c:
2727 Update to new gunixmounts API
2732 2007-10-30 Alexander Larsson <alexl@redhat.com>
2735 Add volume name fsinfo attribute
2738 Read volume name info
2740 * gio/gunionvolumemonitor.c:
2741 Fix infinite loops when finalizing a union volume monitor
2743 2007-10-30 Alexander Larsson <alexl@redhat.com>
2745 * gio/goutputstream.[ch]:
2746 Add splice() with default implementation
2748 * gio/gsocketoutputstream.c:
2749 (g_socket_output_stream_write):
2750 Return error on cancellation correctly.
2752 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2754 * gio/glocalfile.c (g_local_file_trash):
2755 Do not leak a string.
2757 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2759 * gio/gfile.c (g_file_load_contents):
2760 Unref the stream after closing it.
2762 2007-10-25 Alexander Larsson <alexl@redhat.com>
2764 * gio/gioscheduler.h:
2767 2007-10-25 Alexander Larsson <alexl@redhat.com>
2771 Add g_file_has_uri_scheme and implement for local files
2773 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2775 * gio/gdesktopappinfo.c: do not leak a string.
2777 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2779 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2780 (g_local_directory_monitor_new):
2781 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2782 (g_local_file_monitor_new):
2783 Only look for the monitor type that should be used the first time
2784 and use g_qsort_with_data() instead of our own bubble sort
2787 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2790 * gio/fam/Makefile.am:
2791 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2792 * gio/fam/fam-helper.h:
2793 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2794 * gio/fam/gfamdirectorymonitor.c:
2795 * gio/fam/gfamdirectorymonitor.h:
2796 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2797 * gio/fam/gfamfilemonitor.h:
2798 * gio/glocaldirectorymonitor.c:
2799 * gio/glocaldirectorymonitor.h:
2800 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2801 * gio/glocalfilemonitor.h:
2802 * gio/inotify/Makefile.am:
2803 * gio/inotify/ginotifydirectorymonitor.c:
2804 * gio/inotify/ginotifydirectorymonitor.h:
2805 * gio/inotify/ginotifyfilemonitor.c:
2806 * gio/inotify/ginotifyfilemonitor.h:
2807 Implement the FAM and Inotify monitors as
2808 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2809 their own GIO module. GLocal(Directory|File)Monitor will use the
2810 monitor with the highest rank that is supported on that machine.
2812 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2815 Change GIO module dir to $(libdir)/gio/modules and change
2816 the log domain from GVFS to GIO. Also only export symbols starting
2817 with g_ in the resulting library.
2818 * gio/test-streams.c: (main):
2819 Set log handler for the GIO log domain.
2821 2007-10-22 Alexander Larsson <alexl@redhat.com>
2823 * gio/gfilenamecompleter.[ch]:
2824 Add g_filename_completer_set_dirs_only
2826 2007-10-22 Alexander Larsson <alexl@redhat.com>
2829 * gio/gurifuncs.[ch]:
2830 Add some simple URI helpers
2832 * gio/gfilenamecompleter.[ch]:
2833 Added object for filename (parse name actually) completion
2836 Handle ~ in parse names
2838 2007-10-17 Alexander Larsson <alexl@redhat.com>
2841 * gio/glocalfileinfo.c:
2842 Add and implement id:value attribute
2844 2007-10-17 Alexander Larsson <alexl@redhat.com>
2847 * gio/guniondrive.c:
2849 Add and implement g_drive_has_volumes
2851 2007-10-17 Alexander Larsson <alexl@redhat.com>
2854 * gio/glocalfileinfo.[ch]:
2855 Add unix:is_mountpoint and implement for local files
2857 2007-10-16 Alexander Larsson <alexl@redhat.com>
2859 * gio/gunionvolumemonitor.c:
2860 (g_union_volume_monitor_init):
2861 Fix up the unix type getting so that it works with gcc
2863 2007-10-12 Alexander Larsson <alexl@redhat.com>
2866 * gio/glocalfileinfo.c:
2867 Add thumbnail:failed to file info
2869 2007-10-12 Richard Hult <richard@imendio.com>
2871 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2872 optimizing away the get_type call (happens with some gcc versions,
2873 like the one shipped with OS X 10.4).
2875 2007-10-12 Alexander Larsson <alexl@redhat.com>
2877 * gio/glocalfileinfo.c:
2878 (_g_local_file_info_set_attribute):
2879 Fix build if not HAVE_XATTR
2880 Patch from Milosz Derezynski <internalerror@gmail.com>
2882 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2884 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2885 around for review, otherwise I would have asked you before
2888 2007-10-11 Alexander Larsson <alexl@redhat.com>
2891 Add thumbnail:path attribute
2893 * gio/glocalfileinfo.c:
2894 Implement thumbnail:path for local files
2896 2007-10-11 Alexander Larsson <alexl@redhat.com>
2898 * gio/glocalfileinfo.c:
2899 (_g_local_file_info_get):
2900 Avoid duplicate icon names
2902 2007-10-11 Alexander Larsson <alexl@redhat.com>
2904 * gio/gthemedicon.[ch]:
2905 Change g_themed_icon_get_names return type to const
2907 2007-10-10 Alexander Larsson <alexl@redhat.com>
2909 * gio/glocalfileinfo.c:
2910 Don't reference freed memory
2912 2007-10-10 Alexander Larsson <alexl@redhat.com>
2914 * gio/gfileattribute.c:
2917 * gio/glocalfileinfo.c:
2920 2007-10-10 Alexander Larsson <alexl@redhat.com>
2923 Check for NULL icons
2925 * gio/gfileattribute.c:
2926 Don't dup when getting objects (same as for string attributes)
2928 * gio/gicon.c (g_icon_equal):
2929 Safely handle NULLs in equal
2931 2007-10-10 Alexander Larsson <alexl@redhat.com>
2934 Fix c++ compilation issues
2935 Patch from Milosz Derezynski <internalerror@gmail.com>
2937 2007-10-10 Alexander Larsson <alexl@redhat.com>
2939 * programs/gio-monitor-dir.c:
2940 Don't crash if dir monitor not supported.
2942 2007-10-09 Alexander Larsson <alexl@redhat.com>
2945 Add missing G_END_DECLS
2947 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2949 * gio/gfile.c: (g_file_set_display_name),
2950 (g_file_query_settable_attributes),
2951 (g_file_query_writable_namespaces):
2952 Return NULL not FALSE on errors as the return type is a pointer.
2954 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2956 * gio/glocalfile.c: (g_local_file_monitor_file):
2957 Don't call monitor_file on the default interface vtable (which
2958 is NULL) but simply return NULL. The caller, GFile, will create a
2959 polling monitor if NULL is returned.
2961 2007-10-09 Alexander Larsson <alexl@redhat.com>
2965 * gio-unix-2.0.pc.in:
2966 Add gio-unix-2.0.pc if OS_UNIX
2969 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
2971 2007-10-09 Alexander Larsson <alexl@redhat.com>
2973 * gio/gunixmounts.[ch]:
2974 Make unix mount monitoring API sane.
2975 Now its just a object with mounts_changed
2976 and mountpoints_changed signals.
2978 * gio/glocaldirectorymonitor.c:
2979 * gio/gunixvolumemonitor.c:
2980 Use new mount monitor api
2982 2007-10-09 Alexander Larsson <alexl@redhat.com>
2984 * gio/gunixmounts.[ch]:
2985 Move guess type into one call for mounts and one for mountpoints
2988 * gio/gunixvolume.c:
2991 2007-10-09 Alexander Larsson <alexl@redhat.com>
2993 * gio/gunixmounts.[ch]:
2994 Remove _ prefix in preparation to make this semi-public
2995 Hide implementation of structs
2997 * gio/glocaldirectorymonitor.c:
2999 * gio/gunixvolume.c:
3000 * gio/gunixvolumemonitor.c:
3001 Update for above API changes
3003 2007-10-08 Alexander Larsson <alexl@redhat.com>
3006 Better polling fallback. This also handles the case where we have
3007 a monitor_file implementation, but it fails.
3009 2007-10-08 Alexander Larsson <alexl@redhat.com>
3013 * gio/gunixmounts.c:
3014 * programs/gio-monitor-dir.c:
3015 * programs/gio-monitor-file.c:
3016 Added cancellable to file monitoring calls.
3017 These are really sync calls and need this.
3019 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3021 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3022 (g_local_vfs_class_init):
3023 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3024 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3026 2007-10-05 Alexander Larsson <alexl@redhat.com>
3028 * gio/gdirectorymonitorprivate.h:
3029 * gio/gfilemonitorprivate.h:
3030 * gio/gdirectorymonitor.h:
3031 * gio/gfilemonitor.h:
3032 Remove *private.h and move to the public API, so that
3033 we can do implementations outside gio (such as in gvfs)
3035 * gio/gdirectorymonitor.c:
3036 * gio/gfilemonitor.c:
3037 * gio/glocaldirectorymonitor.c:
3038 * gio/gpollfilemonitor.c:
3039 * gio/inotify/inotify-helper.c:
3040 * gio/fam/fam-helper.c:
3041 Update to the new header names
3043 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3045 * gio/gdirectorymonitor.c:
3046 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3049 2007-10-04 Alexander Larsson <alexl@redhat.com>
3051 * gio/glocalfileinfo.c (get_access_rights):
3052 Set CAN_TRASH when we can move the file.
3053 We should really also check for a parent trash dir.
3055 2007-10-04 Alexander Larsson <alexl@redhat.com>
3057 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3058 Add can_trash access attribute
3060 2007-10-04 Alexander Larsson <alexl@redhat.com>
3063 (g_local_file_trash):
3064 Create info file first. This is per-spec and allows
3065 us to actually trash directories.
3067 2007-10-02 Alexander Larsson <alexl@redhat.com>
3069 * gio/gdesktopappinfo.c:
3070 Implement the new mime support code.
3071 Always set app as handling mimetype when being set as default for it
3073 2007-10-01 Alexander Larsson <alexl@redhat.com>
3075 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3076 Fix up check for xattrs:
3078 2007-10-01 Alexander Larsson <alexl@redhat.com>
3081 (g_app_info_set_as_default_for_extension):
3082 (g_app_info_add_supports_type):
3083 (g_app_info_can_remove_supports_type):
3084 (g_app_info_remove_supports_type):
3085 Make these fail nicely if not implemented
3087 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3089 * gio/glocalfileoutputstream.c:
3090 * gio/glocalfileoutputstream.h:
3095 * programs/gio-save.c:
3096 Add a GFileCreateFlags argument to operations that can create
3099 2007-10-01 Alexander Larsson <alexl@redhat.com>
3101 * gio/gappinfo.[ch]:
3102 * gio/gdesktopappinfo.c:
3103 Add more (stubbed out) mime API needed for nautilus
3105 2007-10-01 Alexander Larsson <alexl@redhat.com>
3108 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3109 Add g_app_info_set_as_default_for_extension.
3111 * gio/gdesktopappinfo.c:
3112 Dummy for g_app_info_set_as_default_for_extension
3113 Support flags in g_app_info_create_from_commandline
3115 * gio/gwin32appinfo.c:
3117 Update for API changes
3119 * gio/gthemedicon.c:
3120 Properly NULL-terminate list of icon names
3122 2007-09-28 Alexander Larsson <alexl@redhat.com>
3124 * gio/gloadableicon.h:
3125 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3127 2007-09-28 Alexander Larsson <alexl@redhat.com>
3130 Install headers in $includedir/gio-standalone/
3132 * gio-2.0.pc.in: Added.
3133 * gio-standalone.pc.in: Removed.
3136 Renamed pkg-config file to match glib (for future move)
3137 Update to the new include dir
3140 Add more TODO comments
3142 2007-09-28 Alexander Larsson <alexl@redhat.com>
3144 * gio/gdesktopappinfo.[ch]:
3145 Expose new_from_filename
3146 Add getter for is_hidden and handle it better
3148 2007-09-28 Alexander Larsson <alexl@redhat.com>
3150 * gio/gfileinfo.[ch]:
3151 Rename g_file_size_format_for_display to
3152 g_format_file_size_for_display.
3153 Now it doesn't have the g_file prefix, so we
3154 can later move it to glib.
3156 2007-09-28 Alexander Larsson <alexl@redhat.com>
3158 * gio/gappinfo.[ch]:
3159 Add g_app_info_get_id and g_app_info_get_executable.
3160 Make all getters non-reffing
3161 Make g_app_info_launch take GFile arguments.
3162 Add must_support_uris argument to g_app_info_get_default_for_type.
3164 * gio/gwin32appinfo.c:
3165 Update to GAppInfo api changes
3167 * gio/gdesktopappinfo.c:
3168 Update to GAppInfo api changes
3169 Implement supports_xdg_startup_notify
3171 * gio/gfileicon.c (g_file_icon_get_file):
3172 Make getter non-reffing.
3177 2007-09-27 Alexander Larsson <alexl@redhat.com>
3179 * gio/gfileinfo.[ch]:
3180 Add g_file_size_format_for_display helper
3182 2007-09-27 Alexander Larsson <alexl@redhat.com>
3184 * gio/glocalfileinfo.c:
3185 Set UNIX_GID from gid, not from uid
3187 2007-09-27 Alexander Larsson <alexl@redhat.com>
3190 Add g_file_set_attributes_async
3192 2007-09-27 Alexander Larsson <alexl@redhat.com>
3194 * gio/glocalfile.c (g_local_file_set_display_name):
3195 Fix set_display_name to actually rename to the right place.
3196 Use lstat to look for existing files so we don't overwrite
3199 2007-09-26 Alexander Larsson <alexl@redhat.com>
3202 Add g_file_set_display_name_async()
3204 2007-09-26 Alexander Larsson <alexl@redhat.com>
3207 Add load_partial_contents async calls
3210 Make internal function static
3212 2007-09-26 Alexander Larsson <alexl@redhat.com>
3214 * gio/glocalfileinfo.c:
3215 Correctly detect broken symlinks
3217 2007-09-26 Alexander Larsson <alexl@redhat.com>
3219 * gio/gcancellable.c (g_cancellable_cancel):
3220 Allow cancel on NULL cancellable
3222 2007-09-25 Alexander Larsson <alexl@redhat.com>
3224 * gio/gsimpleasyncresult.c:
3225 Don't allocate g_error manually.
3226 Fixes g_slice/g_new mixup crash
3228 2007-09-25 Alexander Larsson <alexl@redhat.com>
3230 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3231 Actually set active_backend.
3232 This means the monitor will be cancelled correctly.
3234 2007-09-25 Alexander Larsson <alexl@redhat.com>
3236 * gio/gdirectorymonitor.c:
3237 Set timeout to NULL when destroying
3239 2007-09-25 Alexander Larsson <alexl@redhat.com>
3242 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3243 that is a better description of the error.
3245 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3247 * gio/gvfs.c: (g_vfs_get_local):
3248 Make the local vfs variable static. The same instance should
3251 2007-09-24 Alexander Larsson <alexl@redhat.com>
3253 * gio/glocalfileinfo.c:
3254 Pass in actual length read into sniffer, not the length
3257 2007-09-21 Alexander Larsson <alexl@redhat.com>
3259 * gio/gfileenumerator.c:
3262 * gio/gfileinputstream.c:
3263 * gio/gfileoutputstream.c:
3264 * gio/ginputstream.c:
3265 * gio/goutputstream.c:
3266 Don't crash if async callbacks are NULL
3268 2007-09-20 Alexander Larsson <alexl@redhat.com>
3271 Add async enumerate_children method and default
3274 2007-09-20 Alexander Larsson <alexl@redhat.com>
3277 Add g_file_contains_file & g_file_get_relative_path, since they
3278 were needed for nautilus.
3279 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3284 Implement new methods
3286 2007-09-17 Alexander Larsson <alexl@redhat.com>
3289 * gio/gfileinputstream.[ch]:
3290 * gio/gfileoutputstream.[ch]:
3292 * gio/glocalfileenumerator.[ch]:
3293 * gio/glocalfileinfo.[ch]:
3294 * gio/glocalfileinputstream.c:
3295 * gio/glocalfileoutputstream.c:
3296 * gio/gpollfilemonitor.c:
3297 * programs/gio-copy.c:
3298 * programs/gio-info.c:
3299 * programs/gio-move.c:
3300 Rename get_file_info to query_info() to make it clearer
3301 that these are not simple getters, but do i/o.
3303 2007-09-17 Alexander Larsson <alexl@redhat.com>
3305 * gio/gdatainputstream.[ch]:
3306 * gio/test-streams.c:
3307 Use _read_XXX instead of _get_XXX for the i/o calls
3310 2007-09-17 Alexander Larsson <alexl@redhat.com>
3313 Added needed stuff to TODO comment
3315 2007-09-17 Alexander Larsson <alexl@redhat.com>
3317 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3318 Don't error out removing the backup copy if it doesn't
3321 2007-09-14 Alexander Larsson <alexl@redhat.com>
3323 * programs/Makefile.am:
3324 * programs/gvfs-*.c:
3326 Renamed apps from gvfs-xxx to gio-xxx.
3328 2007-09-14 Alexander Larsson <alexl@redhat.com>
3331 * gio/gfileoutputstream.[ch]:
3332 * gio/glocalfileoutputstream.c:
3333 * programs/gvfs-save.c:
3334 g_file_output_stream_get_etag doesn't do i/o, so remove
3335 cancellation and error.
3337 2007-09-14 Alexander Larsson <alexl@redhat.com>
3340 Add new_etag output to replace_contents functions
3342 2007-09-14 Alexander Larsson <alexl@redhat.com>
3344 * gio/gfileoutputstream.[ch]:
3345 Add async get_file_info and default implementation
3347 2007-09-14 Alexander Larsson <alexl@redhat.com>
3349 * gio/gfileinputstream.c:
3350 Implement fallback wrapper for async get_file_info
3352 2007-09-14 Alexander Larsson <alexl@redhat.com>
3355 Add etag out argument to load_contents
3360 2007-09-14 Alexander Larsson <alexl@redhat.com>
3362 * gio/gcontenttype.c (looks_like_text):
3363 Whitespace like tab, cr and lf do not make the
3366 2007-09-14 Alexander Larsson <alexl@redhat.com>
3368 * gio/gfileinputstream.[ch]:
3369 Add async get_file_info.
3371 2007-09-13 Alexander Larsson <alexl@redhat.com>
3373 * gio/goutputstream.c (g_output_stream_write_all):
3374 Allow NULL for bytes_written
3376 2007-09-13 Alexander Larsson <alexl@redhat.com>
3378 * gio/gmemoryinputstream.[ch]:
3379 Add accessors for data
3381 2007-09-13 Alexander Larsson <alexl@redhat.com>
3383 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3384 Don't crash if length is NULL