1 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
3 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
4 a local plt if the compiler doesn't support what we want. Bug #514702
6 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
8 reviewed by: <delete if not using a buddy>
12 * gunixoutputstream.c:
14 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
17 * tests/live-g-file.c:
18 * tests/live-g-file.txt:
19 New GIO testing module working over real data
21 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
23 * glocalfileoutputstream.c (g_local_file_output_stream_close):
24 Fallback to rename() if link() is not available
25 (when no support on target filesystem)
27 2008-02-06 Michael Natterer <mitch@imendio.com>
29 * gfileinfo.c (g_file_info_get_icon): replace
30 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
32 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
34 * gfile.c (g_file_create):
35 Documentation update of error codes
37 2008-02-06 Alexander Larsson <alexl@redhat.com>
40 Update to use both mimeapps.list and
41 defaults.list as discussed on xdg list.
43 2008-02-06 Benjamin Otte <otte@gnome.org>
46 * gfilenamecompleter.c:
47 Fix some typos in the documentation.
49 2008-02-06 Alexander Larsson <alexl@redhat.com>
51 * glocalfile.c (g_local_file_trash):
52 Don't succeed with trash if newly created
53 trash dir has the wrong owner. (#514696)
55 2008-02-05 Alexander Larsson <alexl@redhat.com>
57 * glocalfile.c (g_local_file_move):
58 Don't spew warnings when destination is not
61 2008-02-03 Hans Breuer <hans@breuer.org>
63 * makefile.msc : update
65 2008-02-01 Michael Natterer <mitch@imendio.com>
67 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
68 return value of xdg_mime_list_mime_parents() to a variable of the
71 2008-02-01 Alexander Larsson <alexl@redhat.com>
73 * gappinfo.c (g_app_info_launch_uris):
74 Actually call the launch_uris method, not
77 2008-02-01 Alexander Larsson <alexl@redhat.com>
79 * gdesktopappinfo.c (g_desktop_app_info_equal):
80 Ensure appinfos with no id but same pointer value
83 2008-02-01 Alexander Larsson <alexl@redhat.com>
85 * gappinfo.c (g_app_info_launch_default_for_uri):
88 2008-02-01 Alexander Larsson <alexl@redhat.com>
92 Add g_app_info_launch_default_for_uri utility
95 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
98 Doc fix for g_app_info_get_default_for_uri_scheme ()
101 2008-01-30 Alexander Larsson <alexl@redhat.com>
104 Add doc comment about uris vs GFiles to
108 Ensure uris passed to g_app_info_launch_uris()
109 are not roundtriped through GFile (as that
110 may be slightly destructive for e.g. mailto: links)
112 2008-01-30 Alexander Larsson <alexl@redhat.com>
114 * tests/data-input-stream.c:
115 * tests/data-output-stream.c:
116 C89 fixes from Jens Granseuer (#512849)
118 2008-01-30 Alexander Larsson <alexl@redhat.com>
121 Fix gamin/fam difference build issue. (#509419)
123 2008-01-29 Alexander Larsson <alexl@redhat.com>
127 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
129 2008-01-29 Alexander Larsson <alexl@redhat.com>
133 giomodule-priv.h include moved to .c file.
135 2008-01-29 Alexander Larsson <alexl@redhat.com>
137 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
138 Remove unused prio/name fields.
140 2008-01-29 Alexander Larsson <alexl@redhat.com>
142 * gcontenttype.c (looks_like_text):
143 Don't treat whitespace as control chars.
145 2008-01-29 Alexander Larsson <alexl@redhat.com>
148 Lazily create the desktop files for appinfos created
149 by g_app_info_create_from_commandline() when needed
150 for mime associations. This allows run-time use
151 of GAppInfo object without creating unnecessary
154 2008-01-29 Alexander Larsson <alexl@redhat.com>
157 Added new symbols to gio.symbols
159 2008-01-29 Alexander Larsson <alexl@redhat.com>
162 Add g_file_query_default_handler utility to easily look up
163 the GAppInfo that handles a file.
165 * gdesktopappinfo.[ch]:
167 Set up an extension point for g_app_info_get_default_for_uri_scheme()
170 Remove unused function
172 2008-01-29 Alexander Larsson <alexl@redhat.com>
175 Mention need to free returned value in
176 g_file_enumerator_next_files_finish docs.
177 Fix leak if g_file_enumerator_next_files_finish()
180 2008-01-29 Alexander Larsson <alexl@redhat.com>
183 (_g_unix_content_type_get_parents):
184 Use list_parents, not get_parents from xdgmime, because
185 the later doesn't use the cache.
187 * xdgmime/xdgmimecache.c:
188 (_xdg_mime_cache_list_mime_parents):
189 Don't list the same type as parent multiple times.
191 2008-01-28 Matthias Clasen <mclasen@redhat.com>
193 * === Released 2.15.4 ===
195 2008-01-28 Alexander Larsson <alexl@redhat.com>
198 Register local vfs with prio 0.
201 Remove old name and prio class members
203 2008-01-28 Matthias Clasen <mclasen@redhat.com>
205 * tests/g-file.c: Disable some tests that are failing in
206 the absence of a http backend.
208 2008-01-28 Alexander Larsson <alexl@redhat.com>
212 Add registration hooks for extension points.
213 Register the gio extension points.
215 * fam/gfamdirectorymonitor.c:
216 * fam/gfamfilemonitor.c:
217 * glocaldirectorymonitor.[ch]:
218 * glocalfilemonitor.[ch]:
219 * gnativevolumemonitor.h:
220 * gunionvolumemonitor.c:
221 * gunixvolumemonitor.c:
224 * inotify/ginotifydirectorymonitor.c:
225 * inotify/ginotifyfilemonitor.c:
226 Use the extension points registration instead
227 of g_type_children().
229 2008-01-28 Matthias Clasen <mclasen@redhat.com>
232 * gvolume.[hc]: Document new API.
234 * gfile.c (g_file_copy_async): Fix docs
236 2008-01-27 Matthias Clasen <mclasen@redhat.com>
238 * gbufferedinputstream.c:
240 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
243 2008-01-27 Matthias Clasen <mclasen@redhat.com>
245 * glocalfile.c: Avoid trivial differences in translatable strings.
247 2008-01-25 Matthias Clasen <mclasen@redhat.com>
249 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
250 build with gcc 3.4 (#509419)
252 2008-01-25 Matthias Clasen <mclasen@redhat.com>
254 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
255 (#509994, Murray Cumming)
257 2008-01-25 Matthias Clasen <mclasen@redhat.com>
259 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
260 * gioscheduler.c: Keep calling io jobs until they return FALSE;
261 this allows big jobs to be executed in chunks, instead of blocking
262 the main loop for a long time.
264 * gsimpleasyncresult.c:
265 * giofile.c: Adapt callers.
267 2008-01-25 Alexander Larsson <alexl@redhat.com>
270 Implement changes discussed on xdg list.
271 Now we can add supported mimetypes by just using defaults.list
272 We can also remove associations in defaults.list.
274 2008-01-25 Alexander Larsson <alexl@redhat.com>
277 Don't make local copy of desktop file
278 for mimetype changes if the file already
279 supports the new mimetype.
281 2008-01-25 Matthias Clasen <mclasen@redhat.com>
285 * gbufferedinputstream.c:
286 * glocalfile.c: String improvements. (#511966,
287 Theppitak Karoonboonyanan)
289 2008-01-24 Matthias Clasen <mclasen@redhat.com>
291 * gioscheduler.h: Expand docs a bit.
293 2008-01-24 Alexander Larsson <alexl@redhat.com>
296 Add g_drive_get_identifier and
297 g_drive_enumerate_identifiers
300 Add g_volume_get_identifier and
301 g_volume_enumerate_identifiers
307 Implement identifiers for unix backend
309 2008-01-24 Alexander Larsson <alexl@redhat.com>
314 Add g_file_copy_async() (#511580)
315 Based on patch from Carlos Garcia Campos
317 2008-01-23 Matthias Clasen <mclasen@redhat.com>
319 * gioscheduler.c: Some documentation additions.
321 2008-01-22 Alexander Larsson <alexl@redhat.com>
324 (g_desktop_app_info_new):
327 2008-01-22 Alexander Larsson <alexl@redhat.com>
330 (g_desktop_app_info_new_from_filename):
333 2008-01-22 Alexander Larsson <alexl@redhat.com>
335 * glocalfileinfo.c (get_thumbnail_attributes):
338 2008-01-22 Alexander Larsson <alexl@redhat.com>
341 (canonicalize_filename):
342 Canonicalize paths that start with more than
347 (test_g_file_new_for_path):
350 2008-01-22 Alexander Larsson <alexl@redhat.com>
353 Allow UTF-8 in file:// parse names.
356 * tests/data-input-stream.c:
357 * tests/data-output-stream.c:
358 * tests/g-file-info.c:
360 Added a bunch of tests from Tomas Bzatek
362 2008-01-21 Matthias Clasen <mclasen@redhat.com>
364 * === Released 2.15.3 ===
366 2008-01-21 Alexander Larsson <alexl@redhat.com>
368 * gfileinputstream.[ch]:
369 * gfileoutputstream.[ch]:
371 Remove duplicated GSeekable functions. (#509990)
372 Just use the g_seekable_xxx() calls instead.
374 2008-01-21 Matthias Clasen <mclasen@redhat.com>
377 * gvolumemanager.c: Whitespace cleanups.
379 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
380 Use the right mode when creating the file.
382 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
385 * gfileinputstream.c:
387 * goutputstream.c: Documentation: Fixed minor typos
388 and added more mentions of specific _finish() functions.
390 2008-01-21 Alexander Larsson <alexl@redhat.com>
392 * inotify/Makefile.am:
393 * inotify/inotify-helper.c:
394 * inotify/inotify-kernel.c:
395 * inotify/inotify-path.c:
396 * inotify/local_inotify.h: Removed.
397 * inotify/local_inotify_syscalls.h: Removed.
398 Removed the included copies of the inotify
399 headers. We now only use the <sys/inotify.h>
400 header which exists on modern systems.
401 This fixes problems on ARM and SH5 (#510448)
402 but is also generally much cleaner and future
403 safe. For instance, if other OSes add support
404 for inotify it should "just work".
406 2008-01-20 Matthias Clasen <mclasen@redhat.com>
408 * inotify/*.c: Coding style fixes.
409 * inotify/inotify-missing.c: Use g_timeout_add_seconds
410 for the 1/4 Hz timer.
412 2008-01-20 Matthias Clasen <mclasen@redhat.com>
416 * gmemoryinputstream.c:
417 * gmemoryoutputstream.c:
419 * gthemedicon.c: Documentation updates
421 2008-01-20 Murray Cumming <murrayc@murrayc.com>
423 * gfile.c: documentation: Fixed more minor
426 2008-01-18 Murray Cumming <murrayc@murrayc.com>
428 * gmount.c: (g_mount_remount): documentation:
429 Mention g_mount_remount_finish() instead of
430 g_mount_unmount_finish().
432 2008-01-18 Murray Cumming <murrayc@murrayc.com>
436 * gfile.c: Fixed some minor typos in the
439 2008-01-18 Murray Cumming <murrayc@murrayc.com>
441 * gio/gvolumemonitor.c:
442 (g_volume_monitor_get_connected_drives):
443 (g_volume_monitor_get_volumes):
444 (g_volume_monitor_get_mounts): Documentation:
445 Clarify the ownership of the regurn GLists.
447 2008-01-17 Alexander Larsson <alexl@redhat.com>
450 Add the async find_enclosing_mount version
451 to the header file too.
453 2008-01-17 Alexander Larsson <alexl@redhat.com>
456 Add async version of find_enclosing_mount
457 with default implementation.
459 2008-01-17 Alexander Larsson <alexl@redhat.com>
464 Allow calls to implementation of copy and write
465 even if the type of the file implementations is
466 different. This can be used to implement native
467 upload and download calls in a vfs.
471 Protect against the case where move is called
472 with one file not being local.
474 Make sure we call the progress callback once
475 in the native move operation so that the caller
476 knows how many bytes were copied.
478 2008-01-16 Murray Cumming <murrayc@murrayc.com>
481 * gdatainputstream.c:
483 * gfileoutputstream.c:
488 * gunixmounts.c: Corrected some typos in the documentation:
490 its -> it's (where appropriate).
492 2008-01-16 Alexander Larsson <alexl@redhat.com>
496 Add g_file_query_exists (#508771)
498 2008-01-15 Murray Cumming <murrayc@murrayc.com>
503 * gvolume.c: For async functions that have no non-async
504 version, document that the GAsyncReadyCallback may be NULL.
507 2008-01-15 Alexander Larsson <alexl@redhat.com>
509 * gmemoryinputstream.c:
510 * gmemoryoutputstream.c:
511 Don't do pointer arithmetic on void * (#508602)
512 Patch from Kazuki IWAMOTO
514 2008-01-14 Matthias Clasen <mclasen@redhat.com>
516 * === Released 2.15.2 ===
518 2008-01-14 Alexander Larsson <alexl@redhat.com>
520 * gfile.c (g_file_monitor_file):
521 Don't set error here, since we fallback to polling monitor.
523 2008-01-14 Alexander Larsson <alexl@redhat.com>
526 (g_file_monitor_directory):
527 (g_file_monitor_file):
528 Add GError to file monitor calls
530 * glocaldirectorymonitor.c:
531 * glocaldirectorymonitor.h:
533 * glocalfilemonitor.c:
534 * glocalfilemonitor.h:
536 Update for above change
538 2008-01-14 Alexander Larsson <alexl@redhat.com>
542 Handle root correctly in g_file_get_relative_path (#508719)
544 2008-01-14 Alexander Larsson <alexl@redhat.com>
547 Clean up docs and example for GAsyncResult (#508074)
549 2008-01-11 Murray Cumming <murrayc@murrayc.com>
551 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
552 and correct some spelling mistakes. Bug #508108.
554 2008-01-11 Matthias Clasen <mclasen@redhat.com>
556 * glocalfileinfo.c: Add a comment.
558 2008-01-10 Murray Cumming <murrayc@murrayc.com>
560 * gfileinfo.c: GFileInfo description: Mention
561 how to actually set attributes in a GFile and how to discover
562 which attributes are settable. Bug #508378.
564 2008-01-10 A. Walton <awalton@svn.gnome.org>
566 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
567 (g_app_info_get_default_for_type):
568 Check for NULL content types.
570 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
572 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
574 2008-01-09 Murray Cumming <murrayc@murrayc.com>
576 * gfile.c: *_async() functions: Several small corrections
577 to the documentation, mostly correcting copy/paste errors
578 and improving some sentences.
580 2008-01-09 Dan Winship <danw@gnome.org>
582 * glocalfile.c (get_unique_filename): x86_64 fix
584 2008-01-09 Alexander Larsson <alexl@redhat.com>
589 Add g_unix_mount_guess_should_display and use
590 for unix volume monitor backend.
591 This means we more or less show what the
592 gnome-vfs backend did.
593 Based on patch from Padraig O'Briain
595 2008-01-09 Alexander Larsson <alexl@redhat.com>
599 Add g_themed_icon_new_with_default_fallbacks
602 Use default fallbacks for icons
604 2008-01-09 Alexander Larsson <alexl@redhat.com>
607 * gmountoperation.[ch]:
608 Change the API a bit so that unhandled methods
609 get reported via the reply, rather than by
610 the signal emission return value. This is because
611 some handlers can't know this immediately without
612 doing I/O, and this is an async operation that
615 2008-01-09 Alexander Larsson <alexl@redhat.com>
618 * fam/gfamdirectorymonitor.c:
619 * fam/gfamfilemonitor.c:
620 Fix double free crash (#508224)
621 Patch from Joe Marcus Clarke
623 008-01-07 Matthias Clasen <mclasen@redhat.com>
625 * === Released 2.15.1 ===
627 2008-01-07 Alexander Larsson <alexl@redhat.com>
629 * gunixinputstream.c (g_unix_input_stream_skip_finish):
630 Fix warning (#507835)
632 2008-01-07 Alexander Larsson <alexl@redhat.com>
635 Pass --internal to glib-genmarshal
640 Use better types for signal arguments (#507822)
642 2008-01-07 Alexander Larsson <alexl@redhat.com>
645 Build test subdir after .
646 Remove gdirectorymonitor.[ch]
648 * gdirectorymonitor.[ch]:
652 Remove GDirectoryMonitor and make
653 GFileMonitor the baseclass for both file and
654 directory monitors. Lift the more generic
655 rate limiting code from GDirectoryMonitor
659 * fam/gfamdirectorymonitor.[ch]:
660 * inotify/ginotifydirectorymonitor.[ch]:
661 * inotify/inotify-helper.c:
662 * glocaldirectorymonitor.[ch]:
665 Update for the removed GDirectoryMonitor.
667 * gmemoryoutputstream.c:
668 Remove ununsed variable
670 2008-01-07 Alexander Larsson <alexl@redhat.com>
672 * gmemoryinputstream.c:
673 Translate error strings
676 * gmemoryoutputstream.[ch]:
677 New implementation that avoids using GByteArray
678 in implementation and API. (#506377)
680 2008-01-06 Matthias Clasen <mclasen@redhat.com>
682 * tests/*: Add a test for memory input streams.
684 * Makefile.am: Add tests to SUBDIRS.
686 2008-01-06 Matthias Clasen <mclasen@redhat.com>
688 * glocalfilemonitor.c:
689 * glocaldirectorymonitor.c: Mark property nicks and blurbs
692 2008-01-06 Matthias Clasen <mclasen@redhat.com>
694 * gdesktopappinfo.c: Fix a docs typo.
696 * gfileattribute.c: Add information about extended attributes
697 to the documentation. (#505058)
699 2008-01-04 Alexander Larsson <alexl@redhat.com>
703 Use the right type (uint) for the ask_password signal.
705 2008-01-04 Alexander Larsson <alexl@redhat.com>
710 Add g_app_info_supports_files()
711 Remove desktop arg from g_app_info_should_show().
713 * gdesktopappinfo.[ch]:
714 Implement g_app_info_supports_files() and new should_show()
715 Add g_desktop_app_info_set_desktop_env() to set the desktop
716 for should_show(). (This will be set by gtk+ later)
718 2008-01-04 Alexander Larsson <alexl@redhat.com>
721 * gmemoryinputstream.[ch]:
722 Improve API so that you can use multiple chunks
723 of memory and custom destroy functions. (#506374)
725 2008-01-03 Alexander Larsson <alexl@redhat.com>
728 Handle NULL attribute matchers safely, as we return this
729 for empty attribute matcher strings.
731 2008-01-03 Alexander Larsson <alexl@redhat.com>
733 * gunixmounts.c (g_unix_is_mount_path_system_internal):
734 Add /usr/local to list of internal mountpoints
736 2008-01-03 Alexander Larsson <alexl@redhat.com>
739 Check for HAVE_LCHOWN (#505887)
741 2008-01-03 Alexander Larsson <alexl@redhat.com>
745 Add define for selinux context attribute.
746 Fix missing : -> :: namespace separator change
747 Fix missing _ -> - name change for xattr-sys.
750 2008-01-03 Alexander Larsson <alexl@redhat.com>
753 Link to libglib and libgobject directly (#504879)
754 Patch from Sebastien Bacher
756 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
758 * gfile.c: Expanded the g_file_new_for_commandline_arg
759 description a bit, based on the code and the docs of the
760 other g_file_new_for_* functions.
762 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
764 * gfilemonitor.h: Fixed typo in docs.
766 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
768 Updates to GIO documentation. (#506395, Mikael Hermansson)
770 * gcontenttype.c: Describe memory management for return value of
771 g_content_types_get_registered(). Missing piece from #505815.
772 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
773 GVolume, GDrive, GMounts, which hopefully gives the user less
774 confusions when using this API. Following explainations from
775 Alexander Larsson on gtk-devel-list.
777 2007-12-30 Matthias Clasen <mclasen@redhat.com>
779 * gfileinfo.c: Expand the long description.
781 2007-12-30 Matthias Clasen <mclasen@redhat.com>
784 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
785 fix builds with --disable-visibility. (#500273, Christian Persch)
787 2007-12-30 Matthias Clasen <mclasen@redhat.com>
789 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
790 in the list of returned app infos.
792 2007-12-30 Matthias Clasen <mclasen@redhat.com>
794 * gappinfo.c: Fix a cross-reference
796 2007-12-30 Matthias Clasen <mclasen@redhat.com>
798 * gfileinputstream.c:
799 * gfileoutputstream.c:
805 * gfileinfo.c: Documentation updates.
807 2007-12-26 Matthias Clasen <mclasen@redhat.com>
809 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
812 2007-12-26 Matthias Clasen <mclasen@redhat.com>
814 * gcontenttype.c (g_content_types_get_registered): Don't return
815 freed memory (#505815, Mikael Hermansson)
817 2007-12-25 Paolo Borelli <pborelli@katamail.com>
819 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
820 used to detect statbuf->st_blocks. (#505042)
822 2007-12-24 Matthias Clasen <mclasen@redhat.com>
824 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
825 environment handling. (#504829, Cosimo Cecchi)
827 2007-12-22 Matthias Clasen <mclasen@redhat.com>
829 * gappinfo.c: Doc improvements
831 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
834 2007-12-20 Matthias Clasen <mclasen@redhat.com>
836 * === Released 2.15.0 ===
838 2007-12-20 Hans Breuer <hans@breuer.org>
840 * makefile.msc : don't build gdesktopappinfo.obj, it collides
841 with symbols gwin32appinfo.obj, added gmount.obj
842 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
844 2007-12-20 Alexander Larsson <alexl@redhat.com>
850 * gfilenamecompleter.c:
853 * gpollfilemonitor.c:
854 File attribute renames:
857 id::fs -> id::filesystem
859 2007-12-20 Alexander Larsson <alexl@redhat.com>
868 Add GMountUnmountFlags to all unmount and
870 Add g_mount_remount() call.
872 2007-12-20 Alexander Larsson <alexl@redhat.com>
874 * gvfs.c (get_default_vfs):
875 Fix unused variable warning
877 2007-12-19 Matthias Clasen <mclasen@redhat.com>
879 * pltcheck.sh: Update
881 2007-12-19 Matthias Clasen <mclasen@redhat.com>
883 * gunionvolumemonitor.c:
884 * gunixmount.c: Remove C99 comments
886 2007-12-19 Matthias Clasen <mclasen@redhat.com>
888 * gio.symbols: Add some missing symbols
890 2007-12-19 Alexander Larsson <alexl@redhat.com>
893 Make g_io_modules_load_all_in_directory not unuse
894 loaded modules so that users of it can do stuff
896 Init internal "module" types.
897 Initialize static prio and name for types so that
898 we don't have to load modules to get it.
900 * gnativevolumemonitor.h:
902 Move is_supported to parent class so that
903 non-native monitors can avoid being initialized
904 too. (For instance GDaemonVolumeMonitor if we're
905 not using GDaemonVfs.)
907 * glocaldirectorymonitor.[ch]:
908 * glocalfilemonitor.[ch]:
909 * gunionvolumemonitor.c:
910 * gunixvolumemonitor.c:
912 Find plugins using the static prio+name to
913 avoid unnecessarily loading the modules.
915 2007-12-19 Alexander Larsson <alexl@redhat.com>
920 2007-12-19 Alexander Larsson <alexl@redhat.com>
922 * gunionvolumemonitor.c:
923 Store the native type as GType, not class so that
924 we can unload it. But still avoid unnecessarily
927 2007-12-19 David Zeuthen <davidz@redhat.com>
929 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
930 add signals 'disconnected' and 'eject-button' on GDrive. Add
931 signal 'removed' on GVolume and 'unmounted' on GMount.
933 * gdrive.c: (g_drive_base_init):
935 * gfile.c: (g_file_mount_mountable),
936 (g_file_mount_enclosing_volume):
939 * gmount.c: (g_mount_base_init):
941 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
942 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
943 * gvolume.c: (g_volume_base_init), (g_volume_mount):
947 2007-12-17 Matthias Clasen <mclasen@redhat.com>
949 * *.c: Fix up includes in the section docs.
951 2007-12-17 Alexander Larsson <alexl@redhat.com>
953 * gnativevolumemonitor.h:
954 * gunionvolumemonitor.c:
955 * gunixvolumemonitor.c:
956 Add is_supported() to GNativeVolumeMonitorClass so
957 that we can avoid having to create an object to see
958 if the backend is supported at runtime.
959 Also add name member and an env var to pick a specific
960 volume monitor backend.
964 Add cancellable to _g_mount_get_for_mount_path()
966 * glocaldirectorymonitor.c:
967 * glocalfilemonitor.c:
968 Avoid loading and unloading modules while sorting.
970 2007-12-17 Matthias Clasen <mclasen@redhat.com>
973 * gunixmounts.[hc]: Namespace waste reduction, move some
974 g_get_unix_mount functions to the g_unix_mount namespace.
977 * gunixvolumemonitor.c:
979 * glocaldirectorymonitor.c: Update all callers.
981 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
983 2007-12-17 Alexander Larsson <alexl@redhat.com>
986 Add doc comments about what GFile operations are
987 guaranteed to not block.
989 2007-12-17 Alexander Larsson <alexl@redhat.com>
992 Add missing #ifdef fixing OSX build.
993 (#503334, patch from Richard Hult)
995 2007-12-14 David Zeuthen <davidz@redhat.com>
999 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1000 (g_mount_eject), (g_mount_eject_finish):
1002 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1003 (get_volume_for_uuid), (get_mount_for_uuid),
1004 (g_union_volume_monitor_class_init),
1005 (get_default_native_type_with_exclude), (get_default_native_type),
1006 (get_native_type), (update_native_type),
1007 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1008 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1009 (g_unix_mount_can_eject), (eject_unmount_cb),
1010 (eject_unmount_read_error), (eject_unmount_do),
1011 (g_unix_mount_unmount), (g_unix_mount_eject),
1012 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1013 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1014 (g_unix_mount_point_guess_can_eject):
1016 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1017 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1018 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1019 (g_unix_volume_mount), (g_unix_volume_eject),
1020 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1021 * gunixvolumemonitor.c: (get_volume_for_uuid),
1022 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1024 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1025 (g_volume_eject), (g_volume_eject_finish):
1027 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1028 (g_volume_monitor_get_mount_for_uuid):
1031 Provide eject() on both GMount and GVolume and utility functions
1032 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1033 ejected. Introduce the concept of UUID's and wire it into GVolume
1034 and GMount and provide API on GVolumeMonitor to find such
1035 instances. Also handle the case where an external
1036 GNativeVolumeMonitor fails to initialize. Lock around the
1037 _g_get_mount_for_mount_path() function such that volume monitor
1038 implementations won't have to do locking themselves.
1040 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1042 * gdesktopappinfo.c:
1048 * gvolume.h: Documentation updates
1050 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1053 * gfile.h: Doc updates
1055 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1058 * gdesktopappinfo.c: Use hash table iterators.
1060 2007-12-14 Alexander Larsson <alexl@redhat.com>
1063 * gfileattribute.[ch]:
1064 * gfileattribute-priv.h:
1065 Move GFileAttributeValue to a private header, as
1069 Make set_attribute take a type + a pointer instead
1070 of a GFileAttributeValue.
1073 Fix up for above changes.
1074 Add g_file_info_get_attribute_data to get
1075 all info in one call, g_file_info_get_attribute_status
1076 to get the status and g_file_info_get_attribute_as_string.
1080 * glocalfileinfo.[ch]:
1084 Make _guess_type static.
1086 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1089 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1090 made mkenums and friends use temporary files to avoid leaving
1091 empty generated files on failure (#503470).
1093 2007-12-14 Alexander Larsson <alexl@redhat.com>
1095 * gmountoperation.h:
1098 2007-12-14 Alexander Larsson <alexl@redhat.com>
1102 * gfileattribute.[ch]:
1105 * glocalfileoutputstream.c:
1106 * gmountoperation.[ch]:
1107 * goutputstream.[ch]:
1108 Clean up all flags enums to not have _FLAGS in them
1109 Make the names of some of the enums better.
1114 2007-12-14 Michael Natterer <mitch@imendio.com>
1116 * gio.symbols: fix g_io_scheduler symbol names.
1118 2007-12-14 Alexander Larsson <alexl@redhat.com>
1124 * gbufferedinputstream.h:
1125 * gbufferedoutputstream.h:
1128 * gdatainputstream.h:
1129 * gdataoutputstream.h:
1130 * gdesktopappinfo.h:
1131 * gdirectorymonitor.h:
1135 * gfileenumerator.h:
1138 * gfileinputstream.h:
1140 * gfilenamecompleter.h:
1141 * gfileoutputstream.h:
1142 * gfilterinputstream.h:
1143 * gfilteroutputstream.h:
1151 * gmemoryinputstream.h:
1152 * gmemoryoutputstream.h:
1154 * gmountoperation.h:
1157 * gsimpleasyncresult.h:
1159 * gunixinputstream.h:
1161 * gunixoutputstream.h:
1165 * inotify/Makefile.am:
1166 Only allow including <gio/gio.h> from apps
1168 2007-12-14 Alexander Larsson <alexl@redhat.com>
1170 * gioscheduler.[ch]:
1171 * gsimpleasyncresult.c:
1172 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1173 Split out the send_to_mainloop call into two versions instead
1174 of having the block argument.
1176 2007-12-13 Alexander Larsson <alexl@redhat.com>
1178 * gcancellable.[ch]:
1180 * gbufferedinputstream.c:
1181 * gfileenumerator.c:
1182 * gfileinputstream.c:
1183 * gfileoutputstream.c:
1187 g_push/pop_current_cancellable ->
1188 g_cancellable_push/pop_current
1190 2007-12-13 Alexander Larsson <alexl@redhat.com>
1194 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1196 2007-12-13 Alexander Larsson <alexl@redhat.com>
1198 * gmountoperation.h:
1199 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1201 2007-12-12 Alexander Larsson <alexl@redhat.com>
1204 Fix race condition when freeing proxy in
1205 g_io_job_send_to_mainloop().
1207 2007-12-12 Alexander Larsson <alexl@redhat.com>
1213 Make attribute namespace separator "::" instead of ":".
1214 Use - instead of _ as separator in attribute names.
1216 2007-12-12 Alexander Larsson <alexl@redhat.com>
1218 * gbufferedinputstream.h:
1219 * gbufferedoutputstream.h:
1220 * gdatainputstream.h:
1221 * gdataoutputstream.h:
1222 * gdirectorymonitor.h:
1223 * gfileenumerator.h:
1224 * gfileinputstream.h:
1226 * gfileoutputstream.h:
1227 * gfilterinputstream.h:
1228 * gfilteroutputstream.h:
1230 * glocalfileinputstream.h:
1231 * glocalfileoutputstream.h:
1232 * gmemoryinputstream.h:
1233 * gmemoryoutputstream.h:
1234 * gnativevolumemonitor.h:
1236 * gunixinputstream.h:
1237 * gunixoutputstream.h:
1240 s/parent/parent_instance/ in GObjects
1242 2007-12-12 Alexander Larsson <alexl@redhat.com>
1247 No need for padding for interfaces
1249 2007-12-12 Alexander Larsson <alexl@redhat.com>
1253 * gbufferedinputstream.c:
1254 * gbufferedoutputstream.c:
1257 * gdatainputstream.[ch]:
1258 * gdesktopappinfo.c:
1259 * gdirectorymonitor.c:
1261 * gfileattribute.[ch]:
1264 * gfileinputstream.h:
1265 * gfilemonitor.[ch]:
1266 * gfileoutputstream.[ch]:
1267 * gfilterinputstream.h:
1268 * gfilteroutputstream.h:
1271 * gloadableicon.[ch]:
1272 * gmemoryinputstream.c:
1273 * gmountoperation.c:
1275 Fix up a bunch of details in the docs.
1280 2007-12-11 David Zeuthen <davidz@redhat.com>
1282 Rework how volumes, drives and volume monitoring is
1283 done. Previosly the model was
1285 GDrive <1-1> GVolume
1287 where a GDrive instance represented a mount point and a GVolume
1288 instance represented a mounted file system. This patch changes it
1291 GDrive <1-N> GVolume <1-1> GMount
1293 where GMount now serves the purpose of the old GVolume and the new
1294 GVolume serves the purpose of the old GDrive. In addition the new
1295 GDrive interface is used to represent a collection of GVolume
1296 instances (typically partitions) and also contains utility to query
1297 the state of the physical drive the GDrive object represents (such
1298 as checking for media, polling the drive, ejecting the media etc.).
1300 Also implement mounting and unmounting in the Unix volume monitor
1301 backend. A subquent patch will introduce GDrive support for ejection
1305 * gdrive.c: (g_drive_is_media_check_automatic),
1306 (g_drive_is_media_removable), (g_drive_has_media),
1307 (g_drive_can_poll_for_media), (g_drive_eject),
1308 (g_drive_eject_finish), (g_drive_poll_for_media),
1309 (g_drive_poll_for_media_finish):
1311 * gfile.c: (g_file_find_enclosing_mount):
1314 * glocaldirectorymonitor.c:
1315 (g_local_directory_monitor_constructor), (mounts_changed):
1316 * glocalfile.c: (get_mount_info),
1317 (g_local_file_find_enclosing_mount),
1318 (g_local_file_file_iface_init):
1319 * gnativevolumemonitor.h:
1320 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1321 (get_connected_drives), (g_union_volume_monitor_class_init),
1322 (child_volume_added), (child_volume_removed),
1323 (child_volume_changed), (child_mount_added), (child_mount_removed),
1324 (child_mount_pre_unmount), (child_mount_changed),
1325 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1326 (g_union_volume_monitor_remove_monitor),
1327 (_g_mount_get_for_mount_path):
1328 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1329 (guess_system_internal), (_g_get_unix_mounts),
1330 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1331 (g_unix_mount_free), (g_unix_mount_compare),
1332 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1333 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1334 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1335 (type_to_icon), (g_unix_mount_guess_name),
1336 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1337 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1338 (_resolve_symlink), (_resolve_dev_root):
1340 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1341 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1342 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1343 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1344 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1345 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1346 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1347 (g_unix_volume_volume_iface_init):
1349 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1350 (get_mounts), (get_volumes), (get_connected_drives),
1351 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1352 (mountpoints_changed), (mounts_changed),
1353 (g_unix_volume_monitor_init),
1354 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1355 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1356 * gunixvolumemonitor.h:
1357 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1358 (g_volume_mount), (g_volume_mount_finish):
1360 * gvolumemonitor.c: (g_volume_monitor_class_init),
1361 (g_volume_monitor_get_connected_drives),
1362 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1365 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1367 * gmountoperation.h (GPasswordFlags): Close the gap
1369 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1371 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1373 * gdesktopappinfo.[hc]: Remove _-prefixes
1375 2007-12-10 Tor Lillqvist <tml@novell.com>
1377 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1380 2007-12-10 Alexander Larsson <alexl@redhat.com>
1382 * gfile.c (g_file_set_display_name):
1383 Don't hardcode '/' (#502727)
1385 2007-12-09 Hans Breuer <hans@breuer.org>
1387 * makefile.msc : follow lib naming convention
1388 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1389 for user and group name, tested with ../tests/gio-ls
1391 2007-12-09 A. Walton <awalton@svn.gnome.org>
1393 * gdesktopappinfo.c:
1399 * gfileenumerator.c:
1404 * gmemoryinputstream.c:
1405 * gmemoryoutputstream.c:
1407 * gsimpleasyncresult.c:
1408 More documentation cleanup and filling in missing information, bringing
1409 GIO to 99% symbol coverage.
1411 2007-12-08 Hans Breuer <hans@breuer.org>
1413 [gio compiles and links on win32, not sure how much already works]
1414 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1415 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1416 base on win32 API; prefer g_lstat() over lstat(); instead of
1417 localtime_r() use an all GLib implementation on win32;
1418 get_mount_info() still needs a win32 specifc implementation
1419 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1420 win32_get_file_user_info to get owner/group info without uid/gid
1421 * glocalfileinputstream.c : include <io.h> on win32
1422 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1423 definition, use g_win32_ftruncate() for G_OS_WIN32
1424 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1425 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1426 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1427 * makefile.msc : updated
1429 2007-12-07 Alexander Larsson <alexl@redhat.com>
1431 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1432 Avoid warning spew if error == NULL
1434 2007-12-07 Alexander Larsson <alexl@redhat.com>
1437 Update docs wrt etags
1439 2007-12-06 Alexander Larsson <alexl@redhat.com>
1442 Include sys/types.h for dev_t (#501919)
1444 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1448 Make abicheck and pltcheck pass.
1450 2007-12-05 Alexander Larsson <alexl@redhat.com>
1453 * giomodule-priv.h: Added.
1454 * glocaldirectorymonitor.c:
1455 * glocalfilemonitor.c:
1456 * gunionvolumemonitor.c:
1458 Actually add the declaration of _g_io_modules_ensure_loaded
1460 2007-12-05 Alexander Larsson <alexl@redhat.com>
1462 * gdatainputstream.c:
1467 * glocaldirectorymonitor.c:
1468 * glocalfilemonitor.c:
1469 * gunionvolumemonitor.c:
1471 Make g_io_modules_ensure_loaded a private function and
1472 don't pass in the dirname. This means we can do magic
1473 directory finding in the win32 version.
1474 Export the actual load-modules-in-directory code so that
1475 gvfs can reuse that.
1477 2007-12-05 Alexander Larsson <alexl@redhat.com>
1479 * gbufferedinputstream.c:
1480 * gbufferedoutputstream.c:
1483 * gfileenumerator.[ch]:
1484 * gfileinputstream.c:
1485 * gfileoutputstream.[ch]:
1486 * gfilterinputstream.c:
1487 * gfilteroutputstream.c:
1488 * ginputstream.[ch]:
1490 * glocalfileenumerator.c:
1491 * glocalfileinputstream.c:
1492 * glocalfileoutputstream.c:
1493 * gmemoryinputstream.c:
1494 * gmemoryoutputstream.c:
1495 * goutputstream.[ch]:
1498 * gunixinputstream.c:
1499 * gunixoutputstream.c:
1500 Rename all struct members named:
1501 read, write, close, truncate, or mount
1502 to foo_fn, as these are reserved names
1503 and could be defined as macros in libc.
1506 2007-12-04 Alexander Larsson <alexl@redhat.com>
1509 (g_output_stream_close):
1510 Only call flush if non-null.
1512 2007-11-30 Dan Winship <danw@gnome.org>
1514 * ginputstream.c (g_input_stream_set_pending): Make this take a
1515 GError and return a gboolean, and do the "outstanding operation"
1516 check (and the "stream is already closed" check) itself.
1517 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1519 * goutputstream.c (g_output_stream_set_pending)
1520 (g_output_stream_clear_pending): Likewise
1522 * gbufferedinputstream.c:
1523 * gfileinputstream.c:
1524 * gfileoutputstream.c: Update for that
1526 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1527 Like g_simple_async_report_error_in_idle, but takes a GError
1528 rather than building one.
1530 2007-11-30 Dan Winship <danw@gnome.org>
1532 * goutputstream.c: Don't cheat and unset the "pending" flag around
1533 inner calls. Instead, call the class method directly rather than
1534 the wrapper function that checks "pending"
1536 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1538 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1540 2007-12-03 Hans Breuer <hans@breuer.org>
1542 [start of port to win32/msvc]
1543 * gcancellable.c : HAVE_UNIST_H and _pipe()
1544 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1545 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1546 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1548 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1549 * glocalvfs.c : use HAVE_PWD_H
1550 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1551 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1552 * Makefile.am : added to EXTRA_DIST
1554 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1556 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1559 2007-12-03 Alexander Larsson <alexl@redhat.com>
1562 Handle OSX style xattrs API (#500506)
1564 2007-12-03 Alexander Larsson <alexl@redhat.com>
1568 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1570 2007-12-02 A. Walton <awalton@svn.gnome.org>
1574 Documentation accuracy fixes.
1576 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1578 * gioenumtypes.c.template: Fix typo.
1580 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1582 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1584 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1586 * gdirectorymonitor.c:
1587 * gfilemonitor.c: Add properties
1589 * gbufferedoutputstream.c: Don't mark buffer-size property
1592 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1594 * gbufferedoutputstream.c: Add auto-grow property.
1596 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1598 * *.c: Unify the capitalization of section headings.
1600 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1602 * gmountoperation.c: Add properties
1604 * gdatainputstream.c: Turn byte-order and newline-type into
1607 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1609 * gioenumtypes.[hc].template: Templates for enum registration
1611 * Makefile.am: Generate gioenumtypes.[hc]
1613 * gio.h: Include gioenumtypes.h
1615 * gfile.h: Add some explicit nicks.
1617 * gio.symbols: Add new symbols
1619 * pltcheck.sh: Adjust
1621 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1623 * *.c: Explain etags and link to the explanation
1625 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1627 * *.c: Explain I/O priority.
1629 * *.c: More coding style fixes.
1631 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1633 * gasyncresult.c: Add another paragraph to the intro,
1634 adjust coding style of example.
1636 2007-11-29 A. Walton <awalton@svn.gnome.org>
1639 Fixes unknown meaning in GAppLaunchContext docs.
1641 Clarify asynchronous ops.
1643 Fix entity tag docs.
1646 Provides missing gtk-doc section, fixes API docs slighly.
1647 * gsimpleasyncresult.c:
1648 Fill in missing info in docs.
1649 * gunixinputstream.c:
1650 * gunixoutputstream.c:
1651 Be more expressive in short description.
1653 Remove gtk-doc stubs for non-public API.
1655 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1657 * *.c: Coding style fixups
1659 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1661 * inotify/inotify-helper.c: Don't export the lock from libgio.
1663 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1666 * abicheck.sh: Fix copy-and-paste leftovers
1668 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1670 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1672 2007-11-28 Alexander Larsson <alexl@redhat.com>
1676 Removed unnecessary file
1678 * gdesktopappinfo.[ch]:
1681 * glocaldirectorymonitor.[ch]:
1683 * glocalfileenumerator.[ch]:
1684 * glocalfileinputstream.[ch]:
1685 * glocalfilemonitor.[ch]:
1686 * glocalfileoutputstream.[ch]:
1688 * gnativevolumemonitor.c:
1689 * gpollfilemonitor.[ch]:
1690 * gunionvolumemonitor.[ch]:
1693 * gunixvolumemonitor.[ch]:
1696 * inotify/ginotifydirectorymonitor.[ch]:
1697 * inotify/ginotifyfilemonitor.[ch]:
1698 * inotify/inotify-helper.c:
1699 Append _ to all internal functions
1703 Export symbols needed for modules
1705 2007-11-28 Alexander Larsson <alexl@redhat.com>
1708 * abicheck.sh: Added.
1709 * makegioalias.pl: Added.
1710 * pltcheck.sh: Added.
1711 * gio.symbols: Added.
1714 Initial work on adding symbol handling.
1717 Correct ifdef guard name
1720 * inotify/Makefile.am:
1721 * xdgmime/Makefile.am:
1722 Include toplevel Makefile.decl
1724 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1726 * gcontenttype.c: Move doc comments to the unix section.
1728 * *.[hc]: More trivial doc corrections.
1730 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1732 * gpollfilemonitor.c:
1736 * gdesktopappinfo.c:
1741 * gdatainputstream.c:
1742 * gdatainputstream.h:
1743 * gdataoutputstream.c:
1744 * gdataoutputstream.h:
1745 * gfileinfo.h: Doc cleanups
1747 2007-11-28 Andre Klapper <a9016009@gmx.de>
1749 * gdesktopappinfo.c: Fix a typo.
1751 2007-11-27 Andre Klapper <a9016009@gmx.de>
1753 * glocalfileoutputstream.c: Fix a typo.
1755 2007-11-27 Alexander Larsson <alexl@redhat.com>
1758 Don't include removed headers
1760 2007-11-27 Alexander Larsson <alexl@redhat.com>
1763 * gsocketinputstream.[ch]: Removed.
1764 * gsocketoutputstream.[ch]: Removed.
1765 * gunixinputstream.[ch]: Added.
1766 * gunixoutputstream.[ch]: Added.
1767 Renamed GSocket*Stream to GUnix*Stream and made
1768 it unix-only, since its not really only for sockets
1769 and it only works on unix (but is highly useful there).
1771 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1777 * gbufferedinputstream.c:
1778 * gbufferedinputstream.h:
1779 * gbufferedoutputstream.c:
1780 * gbufferedoutputstream.h:
1784 * gdatainputstream.c:
1785 * gdatainputstream.h:
1786 * gdataoutputstream.c:
1787 * gdataoutputstream.h:
1788 * gdirectorymonitor.c:
1789 * gdirectorymonitor.h:
1796 * gfileenumerator.c:
1797 * gfileenumerator.h:
1802 * gfileinputstream.c:
1803 * gfileinputstream.h:
1806 * gfilenamecompleter.c:
1807 * gfilenamecompleter.h:
1808 * gfileoutputstream.c:
1809 * gfileoutputstream.h:
1810 * gfilterinputstream.c:
1811 * gfilterinputstream.h:
1812 * gfilteroutputstream.c:
1813 * gfilteroutputstream.h:
1826 * glocalfileoutputstream.c:
1827 * gmemoryinputstream.c:
1828 * gmemoryinputstream.h:
1829 * gmemoryoutputstream.c:
1830 * gmemoryoutputstream.h:
1831 * gmountoperation.c:
1832 * gmountoperation.h:
1835 * gpollfilemonitor.c:
1838 * gsimpleasyncresult.c:
1839 * gsimpleasyncresult.h:
1840 * gsocketinputstream.c:
1841 * gsocketinputstream.h:
1842 * gsocketoutputstream.c:
1843 * gsocketoutputstream.h:
1850 * gunixvolumemonitor.c:
1859 Bumps documentation to 93% symbol coverage, touching most
1860 of the public files. Fixes broken function documentation prototypes.
1861 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1862 gtk-doc headers in private files.
1864 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1866 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1867 (g_buffered_input_stream_read_byte):
1868 * gbufferedinputstream.h:
1869 New functions for efficient access to buffer and simple single byte
1872 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1873 (g_data_input_stream_read_until):
1874 * gdatainputstream.h:
1875 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1876 read_until with multiple stop chars.
1878 2007-11-27 Alexander Larsson <alexl@redhat.com>
1882 * inotify/Makefile.am:
1883 Use the user-specified giomoduledir
1885 2007-11-27 Alexander Larsson <alexl@redhat.com>
1889 Add catch-all gio.h header
1890 Don't install gdummyfile.h
1892 2007-11-26 Alexander Larsson <alexl@redhat.com>
1894 * Makefile.am (gioinclude_HEADERS):
1895 Remove trailing whitespace
1897 2007-11-26 Alexander Larsson <alexl@redhat.com>
1899 Merge gio-standalone into glib
1901 2007-11-25 Christian Kellner <gicmo@gnome.org>
1903 * gio/goutputstream.c:
1904 Fix small mistake in the docs.
1906 2007-11-21 Christian Persch <chpe@gnome.org>
1908 * gio/glocalfile.c: (g_local_file_trash):
1909 Convert filenames to UTF-8 for GError.
1910 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1911 as per xdg base dir spec.
1913 2007-11-21 Christian Persch <chpe@gnome.org>
1915 * gio/gdesktopappinfo.c:
1916 Use that g_key_file_to_data cannot fail.
1918 Use stock defines for the key file group and key names.
1921 2007-11-21 Alexander Larsson <alexl@redhat.com>
1924 (copy_stream_with_progress):
1925 Make sure we do a final progress callback with
1926 the full total size.
1928 2007-11-21 Alexander Larsson <alexl@redhat.com>
1931 Export g_file_copy_attributes
1932 Remove padding as its not needed for interfaces
1934 2007-11-20 Alexander Larsson <alexl@redhat.com>
1939 Add G_IO_ERROR_WOULD_MERGE for
1940 copy/move dir on dir with overwrite.
1942 2007-11-20 Alexander Larsson <alexl@redhat.com>
1945 * gio/glocalfileinfo.c:
1946 Add COPY_NAME (this is an optional
1947 non-modified utf8 version of the name) that
1950 2007-11-20 Alexander Larsson <alexl@redhat.com>
1952 * gio/glocalfileenumerator.c:
1953 Report errors as GIOError, not GFileError
1955 2007-11-16 Alexander Larsson <alexl@redhat.com>
1957 * gio/glocalfileoutputstream.c:
1958 * gio/gwin32appinfo.c:
1959 Fix typos in strings.
1960 Patch from Luca Ferretti <elle.uca@libero.it>
1962 2007-11-15 Alexander Larsson <alexl@redhat.com>
1965 Post release version bump
1967 === gio-standalone 0.1.2 ===
1969 2007-11-15 Alexander Larsson <alexl@redhat.com>
1971 * docs/reference/gio/Makefile.am:
1972 Fix up distcheck by removing weird
1978 2007-11-14 Alexander Larsson <alexl@redhat.com>
1980 * gio/gdesktopappinfo.c:
1981 * gio/glocaldirectorymonitor.c:
1983 * gio/glocalfileinfo.c:
1984 * gio/inotify/inotify-sub.c:
1985 * programs/gio-cat.c:
1986 * programs/gio-copy.c:
1987 * programs/gio-info.c:
1988 * programs/gio-ls.c:
1989 * programs/gio-monitor-dir.c:
1990 * programs/gio-monitor-file.c:
1991 * programs/gio-mount.c:
1992 * programs/gio-move.c:
1993 * programs/gio-rm.c:
1994 * programs/gio-save.c:
1995 * programs/gio-trash.c:
1996 Leak fixes from Kjartan Maraas
1998 2007-11-14 Alexander Larsson <alexl@redhat.com>
2000 * gio/fam/fam-helper.c:
2002 * gio/glocalfileinfo.c:
2006 * gio/inotify/inotify-diag.c:
2007 * gio/inotify/inotify-kernel.c:
2008 Various code cleanups from Kjartan Maraas
2010 2007-11-14 Alexander Larsson <alexl@redhat.com>
2012 * gio/gioscheduler.c:
2014 Set up threadpool so that we cache 2 unused
2015 idle threads for at 15 secs. This means we
2016 will reuse thread-local data (like dbus connections)
2019 2007-11-14 Alexander Larsson <alexl@redhat.com>
2021 * gio/fam/fam-helper.c:
2022 * gio/fam/gfamdirectorymonitor.c:
2023 * gio/fam/gfamfilemonitor.c:
2025 * gio/gcontenttype.c:
2026 * gio/gdatainputstream.c:
2027 * gio/gdataoutputstream.c:
2031 * gio/gfileattribute.h:
2032 * gio/gfileenumerator.c:
2034 * gio/ginputstream.c:
2037 * gio/glocalfileinfo.c:
2038 * gio/goutputstream.c:
2039 * gio/gpollfilemonitor.c:
2040 * gio/gsimpleasyncresult.c:
2041 * gio/gunixmounts.c:
2042 * gio/gunixmounts.h:
2043 * gio/inotify/ginotifydirectorymonitor.c:
2044 * gio/inotify/ginotifyfilemonitor.c:
2045 * gio/inotify/inotify-diag.c:
2046 * gio/inotify/inotify-kernel.c:
2047 * gio/inotify/inotify-path.c:
2049 * gio/test-streams.c:
2050 * programs/gio-info.c:
2051 * programs/gio-monitor-dir.c:
2052 * programs/gio-monitor-file.c:
2053 Various code cleanups from Kjartan Maraas
2055 2007-11-13 Alexander Larsson <alexl@redhat.com>
2058 Handle the uri-scheme calls for dummy files
2060 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2062 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2063 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2064 to avoid clash with the C++ keyword.
2066 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2068 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2069 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2071 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2073 * gio/glocaldirectorymonitor.c:
2074 * gio/glocalfilemonitor.c:
2075 * gio/gunionvolumemonitor.c:
2076 Don't use g_once_init_*() for initializations that could fail and
2077 could leave the initialization variable set to 0 but use GOnce.
2078 This prevents a deadlock on the second call when trying to create
2079 a monitor and no monitor type is available. Thanks to Sven Herzberg
2082 2007-11-11 Sven Herzberg <sven@imendio.com>
2084 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2085 #ifdef (make it work on MacOS X again)
2087 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2089 Fixes Changelog for last two commits (sorry guys).
2091 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2093 * gio/gbufferedinputstream.c:
2094 * gio/gdatainputstream.c:
2096 * gio/gfileoutputstream.c:
2097 * gio/gfilterinputstream.c:
2098 * gio/glocalfileinputstream.c:
2101 More consistency fixes in g*stream.c files.
2102 Significant clean of gfile's documentation, filling in of
2103 asynchronous operations documentation.
2105 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2107 * gio/gasyncresult.c:
2108 * gio/gbufferedinputstream.c:
2109 * gio/gbufferedoutputstream.c:
2110 * gio/gcancellable.c:
2111 * gio/gcontenttype.c:
2112 * gio/gdatainputstream.c:
2113 * gio/gdataoutputstream.c:
2114 * gio/gdesktopappinfo.c:
2117 * gio/gfileattribute.c:
2118 * gio/gio/gfileenumerator.c:
2120 * gio/gfileinputstream.c:
2121 * gio/gfilemonitor.c:
2122 * gio/gfileoutputstream.c:
2123 * gio/ginputstream.c:
2125 * gio/gioscheduler.c:
2126 * gio/gloadableicon.c:
2127 * gio/glocalfileoutputstream.c:
2128 * gio/gmemoryoutputstream.c:
2129 * gio/gmountoperation.c:
2130 * gio/goutputstream.c:
2132 * gio/gsimpleasyncresult.c:
2133 * gio/gunionvolumemonitor.c:
2134 * gio/gunixmounts.c:
2135 * gio/gunixvolume.c:
2139 * gio/gvolumemonitor.c:
2140 Updated documentation stubs, working towards consistency and
2143 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2145 * gio/gmemoryoutputstream.c:
2146 * gio/gmemoryoutputstream.h:
2147 Change g_memory_output_stream_set_free_on_close() to
2148 g_memory_output_stream_set_free_data() as this makes more sense and
2149 is more consistent with GMemoryInputStream.
2151 2007-11-07 Alexander Larsson <alexl@redhat.com>
2158 Change how we find the default vfs so that
2159 we can handle a gvfs failing to init
2161 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2163 * gio/gbufferedoutputstream.c:
2164 * gio/gdatainputstream.c:
2165 * gio/gdataoutputstream.c:
2166 * gio/gfileinputstream.c:
2167 * gio/gfileoutputstream.c:
2168 * gio/gfilterinputstream.c:
2169 * gio/gfilteroutputstream.c:
2170 * gio/ginputstream.c:
2171 * gio/gmemoryinputstream.c:
2172 * gio/gmemoryoutputstream.c:
2173 * gio/goutputstream.c:
2174 * gio/gsimpleasyncresult.c:
2175 * gio/gsocketinputstream.c:
2176 * gio/gsocketoutputstream.c:
2177 Add guards to the remaining public functions, add a TODO for
2178 an unimplemented function and remove some useless guards.
2180 2007-11-07 Alexander Larsson <alexl@redhat.com>
2183 Autoconf checks for the various types of
2184 getpwuid_r and getgrgid_r
2186 * gio/glocalfileinfo.c:
2187 Use the autoconf checks from above
2189 2007-11-07 Alexander Larsson <alexl@redhat.com>
2192 (g_local_file_query_filesystem_info):
2193 Some fixes for the statvfs case
2195 2007-11-07 Alexander Larsson <alexl@redhat.com>
2198 (g_local_file_query_filesystem_info):
2199 Pick the "best" of statfs / statvfs for the system
2200 if both are availible.
2202 2007-11-07 Alexander Larsson <alexl@redhat.com>
2204 Solaris fixes from Halton.Huo@Sun.COM:
2211 * gio/glocalfileinfo.c:
2212 Fix for solaris definition of getpwuid_r
2214 * gio/test-streams.c:
2215 Use G_GNUC_PRETTY_FUNCTION
2217 2007-11-07 Alexander Larsson <alexl@redhat.com>
2219 * gio/gdesktopappinfo.c:
2220 (update_default_list):
2221 Remove double semicolon.
2222 Patch from Jens Granseuer
2224 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2226 * docs/reference/gio/gio-sections.txt:
2227 * gio/gbufferedinputstream.c:
2228 * gio/gbufferedinputstream.h:
2229 * gio/gdatainputstream.c:
2230 * gio/gfileenumerator.c:
2231 * gio/gioscheduler.c:
2232 * gio/gunionvolumemonitor.c:
2234 * programs/gio-save.c:
2235 Fix typo: availible -> available. Unfortuntely this breaks API
2236 and ABI as g_buffered_input_stream_get_available() was renamed.
2238 * gio/gunixmounts.c:
2239 * gio/gbufferedinputstream.c:
2240 Add guards for public functions.
2242 2007-11-06 Ross Burton <ross@openedhand.com>
2244 * docs/reference/gio/Makefile.am:
2245 Fix invalid += usage which automake 1.10 doesn't like.
2247 2007-11-06 Alexander Larsson <alexl@redhat.com>
2250 (g_app_launch_context_class_init):
2253 Patch from Ross Burton
2255 2007-11-06 Alexander Larsson <alexl@redhat.com>
2258 Post release version bump
2260 === gio-standalone 0.1.1 ===
2262 2007-11-06 Alexander Larsson <alexl@redhat.com>
2265 Bump version to 0.1.1
2267 * gio/gsimpleasyncresult.c:
2268 (g_simple_async_result_set_from_error):
2269 Remove bogus g_return_if_fail
2271 2007-11-06 Alexander Larsson <alexl@redhat.com>
2274 The name is gio-standalone
2277 Add top src/builddir to includedir
2279 2007-11-06 Alexander Larsson <alexl@redhat.com>
2281 * docs/reference/gio/gio-sections.txt:
2283 * gio/gbufferedinputstream.c:
2284 * gio/gbufferedoutputstream.c:
2285 * gio/gcancellable.c:
2286 * gio/gdatainputstream.h:
2287 * gio/gdataoutputstream.c:
2288 * gio/gdataoutputstream.h:
2289 * gio/gdirectorymonitor.c:
2291 * gio/gfileattribute.c:
2292 * gio/gfileattribute.h:
2293 * gio/gfileenumerator.c:
2294 * gio/gfileenumerator.h:
2297 * gio/gfileinputstream.h:
2298 * gio/gfilemonitor.c:
2299 * gio/gfileoutputstream.h:
2300 * gio/glocalfilemonitor.h:
2301 * gio/glocalfileoutputstream.h:
2302 * gio/gmemoryinputstream.c:
2303 * gio/gmemoryoutputstream.c:
2304 * gio/gmountoperation.c:
2305 * gio/goutputstream.c:
2306 * gio/goutputstream.h:
2308 * gio/gsimpleasyncresult.c:
2309 * gio/gunixmounts.c:
2310 * gio/gunixmounts.h:
2312 * gio/inotify/inotify-helper.c:
2313 Fix gtk-doc warnings
2315 Patch from Ross Burton
2317 2007-11-06 Alexander Larsson <alexl@redhat.com>
2319 * gio/gfilenamecompleter.c:
2320 (g_filename_completer_get_completions):
2323 * gio/gunixvolume.c:
2324 Remove unused function
2326 Patches from Ross Burton
2328 2007-11-06 Alexander Larsson <alexl@redhat.com>
2333 Padding not needed for interfaces
2335 2007-11-06 Alexander Larsson <alexl@redhat.com>
2337 * gio/gfilemonitor.c:
2341 Make giotypes.h an internal file
2344 * gio/gbufferedinputstream.h:
2345 * gio/gbufferedoutputstream.h:
2346 * gio/gcancellable.h:
2347 * gio/gdatainputstream.h:
2348 * gio/gdataoutputstream.h:
2349 * gio/gdirectorymonitor.c:
2350 * gio/gdirectorymonitor.h:
2355 * gio/gfileattribute.h:
2356 * gio/gfileenumerator.h:
2361 * gio/gfilemonitor.c:
2362 * gio/gfilemonitor.h:
2363 * gio/gfilenamecompleter.c:
2364 * gio/gfilenamecompleter.h:
2365 * gio/gfilterinputstream.h:
2366 * gio/gfilteroutputstream.h:
2367 * gio/ginputstream.h:
2368 * gio/gmemoryinputstream.h:
2369 * gio/gmemoryoutputstream.h:
2370 * gio/gmountoperation.c:
2371 * gio/gmountoperation.h:
2372 * gio/gnativevolumemonitor.c:
2373 * gio/goutputstream.h:
2376 * gio/gsimpleasyncresult.c:
2377 * gio/gsimpleasyncresult.h:
2378 * gio/gsocketinputstream.h:
2379 * gio/gsocketoutputstream.h:
2380 * gio/gthemedicon.c:
2381 * gio/gthemedicon.h:
2385 * gio/gvolumemonitor.c:
2386 * gio/gvolumemonitor.h:
2387 Add padding in classes where it seems useful
2388 Don't include giotypes.h from public headers
2389 Move in Class definitions into c file where possible
2394 2007-11-06 Alexander Larsson <alexl@redhat.com>
2396 * docs/reference/gio/gio-docs.xml:
2397 Better structure for API docs
2399 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2402 * gio/gloadableicon.c:
2403 * gio/gsimpleasyncresult.c:
2404 * gio/gthemedicon.c:
2405 Add some more guards to public functions. Only files missing are now
2408 2007-11-06 Alexander Larsson <alexl@redhat.com>
2410 * docs/reference/gio/gio-docs.xml:
2411 Remove old files, add missing ones
2413 2007-11-06 Alexander Larsson <alexl@redhat.com>
2415 * docs/reference/gio/gio-sections.txt:
2418 Hide implementation classes
2420 * gio/gdriveprivate.h:
2421 * gio/gvolumeprivate.h:
2422 Remove non-existing function declarations
2424 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2427 Fix compilation warnings and add guards to the new functions.
2429 * gio/gasyncresult.c:
2431 Add guards to the public functions.
2434 Implement get_path().
2436 2007-11-06 Alexander Larsson <alexl@redhat.com>
2438 * gio/gfilenamecompleter.c:
2439 Make g_filename_completer_get_completions
2440 return char ** instead of GList for
2443 * docs/reference/gio/gio-docs.xml:
2444 * docs/reference/gio/gio-sections.txt:
2446 * gio/gasyncresult.c:
2447 * gio/gbufferedinputstream.c:
2448 * gio/gbufferedoutputstream.c:
2449 * gio/gcancellable.c:
2450 * gio/gcontenttype.c:
2451 * gio/gdatainputstream.c:
2452 * gio/gdataoutputstream.c:
2453 * gio/gdesktopappinfo.c:
2454 * gio/gdirectorymonitor.c:
2458 * gio/gfileattribute.c:
2459 * gio/gfileenumerator.c:
2462 * gio/gfileinputstream.c:
2463 * gio/gfilemonitor.c:
2464 * gio/gfilenamecompleter.c:
2465 * gio/gfilenamecompleter.h:
2466 * gio/gfileoutputstream.c:
2467 * gio/gfilterinputstream.c:
2469 * gio/ginputstream.c:
2471 * gio/gioscheduler.c:
2472 * gio/gloadableicon.c:
2473 * gio/glocaldirectorymonitor.c:
2475 * gio/glocalfileinputstream.c:
2476 * gio/glocalfilemonitor.c:
2477 * gio/glocalfileoutputstream.c:
2479 * gio/gmemoryinputstream.c:
2480 * gio/gmemoryoutputstream.c:
2481 * gio/gmountoperation.c:
2482 * gio/goutputstream.c:
2483 * gio/gpollfilemonitor.c:
2485 * gio/gsimpleasyncresult.c:
2486 * gio/gsocketinputstream.c:
2487 * gio/gsocketoutputstream.c:
2488 * gio/gthemedicon.c:
2489 * gio/gunionvolumemonitor.c:
2491 * gio/gunixmounts.c:
2492 * gio/gunixvolume.c:
2493 * gio/gunixvolumemonitor.c:
2497 * gio/gvolumemonitor.c:
2498 * gio/gwin32appinfo.c:
2499 Add (mostly stub) doc strings to public functions.
2500 Patch from Andrew Walton (awalton@gmail.com)
2502 2007-11-06 Alexander Larsson <alexl@redhat.com>
2504 * gio/gappinfo.[ch]:
2505 Added GAppLaunchContext object and pass that to launch.
2506 This allows simple implementation of both
2507 launch-on-screen and startup notification via a gtk+
2508 subclass of GAppLaunchContext
2510 * gio/gdesktopappinfo.c:
2511 Implement GAppLaunchContext API
2513 * gio/gwin32appinfo.c:
2516 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2518 * gio/gmountoperation.c:
2519 Add some guards to GMountOperation's public functions.
2521 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2525 * gio/gcancellable.c:
2526 * gio/gdirectorymonitor.c:
2528 * gio/gfileenumerator.c:
2529 * gio/gfilemonitor.c:,
2530 * gio/gfilenamecompleter.c:
2533 * gio/gioscheduler.c:
2537 * gio/gvolumemonitor.c:
2538 Add even more guards to various public functions.
2540 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2543 Add guards to the public functions of GAppInfo.
2545 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2547 * gio/gcontenttype.c:
2548 Add some more guards for public functions.
2550 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2552 * gio/fam/fam-module.c:
2553 * gio/fam/gfamdirectorymonitor.c:
2554 * gio/fam/gfamdirectorymonitor.h:
2555 * gio/fam/gfamfilemonitor.c:
2556 * gio/fam/gfamfilemonitor.h:
2557 * gio/inotify/ginotifydirectorymonitor.c:
2558 * gio/inotify/ginotifydirectorymonitor.h:
2559 * gio/inotify/ginotifyfilemonitor.c:
2560 * gio/inotify/ginotifyfilemonitor.h:
2561 Add proper copyright information and remove an unused variable
2562 in the GInotifyFileMonitor constructor.
2564 * gio/gcancellable.c:
2565 Add a guard for a public function and an assertion to prevent
2566 an undefined program state.
2568 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2570 * gio/gfileattribute.c:
2571 Don't run into an assertion if the given attribute value is NULL
2572 in g_file_attribute_value_get_*() but instead return a fallback
2573 value that makes sense in most situations. Passing them a attribute
2574 value with the wrong type will still run into an assertion.
2576 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2578 * gio/gfileattribute.c:
2580 Add even more guards to the public functions. Also fix the refcounting
2581 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2582 let g_file_info_list_attributes() filter the attributes by namespace
2583 instead of simply ignoring the namespace parameter.
2585 2007-11-03 Sven Herzberg <sven@imendio.com>
2587 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2588 (This makes gio work on MacOS X again)
2590 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2593 Build the gio subdirectory before the docs. Otherwise the build will
2596 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2597 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2598 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2599 Add guards to the public functions.
2601 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2603 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2604 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2605 to prevent a compiler warning.
2607 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2608 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2609 return something in the non-void function find_topdir_for().
2611 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2618 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2620 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2621 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2622 * gwin32appinfo.c (g_win32_app_info_launch):
2623 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2624 envp_for_startup_id, g_desktop_app_info_launch,
2625 g_desktop_app_info_launch_uris):
2627 Give an opaque 'startup_id' string instead of 'envp'.
2628 Support empty file lists for launching new windows.
2629 Fix infinite recursion bug when launching URIs.
2631 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2634 Add guard to the new g_file_get_uri_scheme() function.
2636 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2639 Convert a g_return_val_if_fail() to setting the GError instead as
2640 otherwise applications have to verify the parameter before otherwise
2641 and the parameter might come directly from the user.
2643 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2645 * gio/inotify/ginotify*.[ch]:
2646 Add missing copyright information.
2648 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2651 Add guards in the beginning of public functions to check for valid
2652 parameters and fix a bug in copy_stream_with_progress() that could've
2653 caused writing less bytes than reading.
2654 * gio/glocalfileinfo.c:
2655 Check for a NULL parameter and set the GError accordingly then.
2656 * gio/goutputstream.c:
2657 Fix the same bug as in gfile.c that could've caused writing less bytes
2658 than reading in g_output_stream_real_splice().
2660 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2663 Use the correct gvolumeprivate.h naming
2665 2007-11-01 Christian Kellner <gicmo@gnome.org>
2668 Remove leftover "$(daemon_sources)" entry.
2670 2007-11-01 Christian Kellner <gicmo@gnome.org>
2675 Add copyright information to source files.
2677 2007-11-01 Alexander Larsson <alexl@redhat.com>
2681 Add g_file_get_uri_scheme
2683 2007-11-01 Alexander Larsson <alexl@redhat.com>
2686 * gio/gdesktopappinfo.c:
2687 * gio/gwin32appinfo.c:
2688 Add g_app_info_get_default_for_uri_scheme.
2690 2007-11-01 Alexander Larsson <alexl@redhat.com>
2693 Correct filename for gdriveprivate.h
2695 2007-10-31 Alexander Larsson <alexl@redhat.com>
2698 Rename id:value to id:file
2701 * gio/glocalfileinfo.c:
2704 2007-10-31 Alexander Larsson <alexl@redhat.com>
2706 * gio/gunixvolume.c:
2708 Remove g_volume_get_platform_id, as thats not
2709 needed with the simpler union volume monitor
2711 2007-10-31 Alexander Larsson <alexl@redhat.com>
2714 * gio/guniondrive.[ch]: Removed.
2715 * gio/gunionvolume.[ch]: Removed.
2716 Remove GUnionDrive/Volume
2718 * gio/gunionvolumemonitor.c:
2719 Simplify union volume monitor, now we
2720 only have one native volume monitor and
2721 we use the actual volumes/drives from the
2722 child monitors instead of wrapping them
2724 * gio/gnativevolumemonitor.[ch]:
2725 Base class for native volume monitors.
2726 Includes priority and get_volume_for_mountpoint
2729 Add g_file_find_enclosing_volume
2732 Remove volume name fs attribute
2733 Add readonly fs attribute
2736 Implement readonly attribute
2737 remove volume name attribute
2738 Implement find_enclosing volume
2740 * gio/gunixmounts.c:
2741 Add a volume for "/".
2743 * gio/gunixvolume.[ch]:
2744 Set better name for /
2746 * gio/gunixvolumemonitor.[ch]:
2747 Derive from GNativeVolumeMonitor
2748 Implement get_volume_for_mountpoint
2751 GVolume typedef moved to gfile.h
2753 * gio/gvolumeprivate.h:
2754 Add g_volume_get_for_mount_path
2756 2007-10-31 Alexander Larsson <alexl@redhat.com>
2758 * gio/gunixmounts.[ch]:
2759 Add cache info to unix mount listers
2760 Make getmntent use threadsafe
2761 Add is_system_internal attribute for GUnixMount
2763 * gio/gunixvolume.c:
2764 (g_unix_volume_new):
2765 Use is_system_internal instead of own code
2767 * gio/glocaldirectorymonitor.c:
2768 * gio/gunixvolumemonitor.c:
2769 Update to new gunixmounts API
2774 2007-10-30 Alexander Larsson <alexl@redhat.com>
2777 Add volume name fsinfo attribute
2780 Read volume name info
2782 * gio/gunionvolumemonitor.c:
2783 Fix infinite loops when finalizing a union volume monitor
2785 2007-10-30 Alexander Larsson <alexl@redhat.com>
2787 * gio/goutputstream.[ch]:
2788 Add splice() with default implementation
2790 * gio/gsocketoutputstream.c:
2791 (g_socket_output_stream_write):
2792 Return error on cancellation correctly.
2794 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2796 * gio/glocalfile.c (g_local_file_trash):
2797 Do not leak a string.
2799 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2801 * gio/gfile.c (g_file_load_contents):
2802 Unref the stream after closing it.
2804 2007-10-25 Alexander Larsson <alexl@redhat.com>
2806 * gio/gioscheduler.h:
2809 2007-10-25 Alexander Larsson <alexl@redhat.com>
2813 Add g_file_has_uri_scheme and implement for local files
2815 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2817 * gio/gdesktopappinfo.c: do not leak a string.
2819 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2821 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2822 (g_local_directory_monitor_new):
2823 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2824 (g_local_file_monitor_new):
2825 Only look for the monitor type that should be used the first time
2826 and use g_qsort_with_data() instead of our own bubble sort
2829 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2832 * gio/fam/Makefile.am:
2833 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2834 * gio/fam/fam-helper.h:
2835 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2836 * gio/fam/gfamdirectorymonitor.c:
2837 * gio/fam/gfamdirectorymonitor.h:
2838 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2839 * gio/fam/gfamfilemonitor.h:
2840 * gio/glocaldirectorymonitor.c:
2841 * gio/glocaldirectorymonitor.h:
2842 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2843 * gio/glocalfilemonitor.h:
2844 * gio/inotify/Makefile.am:
2845 * gio/inotify/ginotifydirectorymonitor.c:
2846 * gio/inotify/ginotifydirectorymonitor.h:
2847 * gio/inotify/ginotifyfilemonitor.c:
2848 * gio/inotify/ginotifyfilemonitor.h:
2849 Implement the FAM and Inotify monitors as
2850 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2851 their own GIO module. GLocal(Directory|File)Monitor will use the
2852 monitor with the highest rank that is supported on that machine.
2854 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2857 Change GIO module dir to $(libdir)/gio/modules and change
2858 the log domain from GVFS to GIO. Also only export symbols starting
2859 with g_ in the resulting library.
2860 * gio/test-streams.c: (main):
2861 Set log handler for the GIO log domain.
2863 2007-10-22 Alexander Larsson <alexl@redhat.com>
2865 * gio/gfilenamecompleter.[ch]:
2866 Add g_filename_completer_set_dirs_only
2868 2007-10-22 Alexander Larsson <alexl@redhat.com>
2871 * gio/gurifuncs.[ch]:
2872 Add some simple URI helpers
2874 * gio/gfilenamecompleter.[ch]:
2875 Added object for filename (parse name actually) completion
2878 Handle ~ in parse names
2880 2007-10-17 Alexander Larsson <alexl@redhat.com>
2883 * gio/glocalfileinfo.c:
2884 Add and implement id:value attribute
2886 2007-10-17 Alexander Larsson <alexl@redhat.com>
2889 * gio/guniondrive.c:
2891 Add and implement g_drive_has_volumes
2893 2007-10-17 Alexander Larsson <alexl@redhat.com>
2896 * gio/glocalfileinfo.[ch]:
2897 Add unix:is_mountpoint and implement for local files
2899 2007-10-16 Alexander Larsson <alexl@redhat.com>
2901 * gio/gunionvolumemonitor.c:
2902 (g_union_volume_monitor_init):
2903 Fix up the unix type getting so that it works with gcc
2905 2007-10-12 Alexander Larsson <alexl@redhat.com>
2908 * gio/glocalfileinfo.c:
2909 Add thumbnail:failed to file info
2911 2007-10-12 Richard Hult <richard@imendio.com>
2913 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2914 optimizing away the get_type call (happens with some gcc versions,
2915 like the one shipped with OS X 10.4).
2917 2007-10-12 Alexander Larsson <alexl@redhat.com>
2919 * gio/glocalfileinfo.c:
2920 (_g_local_file_info_set_attribute):
2921 Fix build if not HAVE_XATTR
2922 Patch from Milosz Derezynski <internalerror@gmail.com>
2924 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2926 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2927 around for review, otherwise I would have asked you before
2930 2007-10-11 Alexander Larsson <alexl@redhat.com>
2933 Add thumbnail:path attribute
2935 * gio/glocalfileinfo.c:
2936 Implement thumbnail:path for local files
2938 2007-10-11 Alexander Larsson <alexl@redhat.com>
2940 * gio/glocalfileinfo.c:
2941 (_g_local_file_info_get):
2942 Avoid duplicate icon names
2944 2007-10-11 Alexander Larsson <alexl@redhat.com>
2946 * gio/gthemedicon.[ch]:
2947 Change g_themed_icon_get_names return type to const
2949 2007-10-10 Alexander Larsson <alexl@redhat.com>
2951 * gio/glocalfileinfo.c:
2952 Don't reference freed memory
2954 2007-10-10 Alexander Larsson <alexl@redhat.com>
2956 * gio/gfileattribute.c:
2959 * gio/glocalfileinfo.c:
2962 2007-10-10 Alexander Larsson <alexl@redhat.com>
2965 Check for NULL icons
2967 * gio/gfileattribute.c:
2968 Don't dup when getting objects (same as for string attributes)
2970 * gio/gicon.c (g_icon_equal):
2971 Safely handle NULLs in equal
2973 2007-10-10 Alexander Larsson <alexl@redhat.com>
2976 Fix c++ compilation issues
2977 Patch from Milosz Derezynski <internalerror@gmail.com>
2979 2007-10-10 Alexander Larsson <alexl@redhat.com>
2981 * programs/gio-monitor-dir.c:
2982 Don't crash if dir monitor not supported.
2984 2007-10-09 Alexander Larsson <alexl@redhat.com>
2987 Add missing G_END_DECLS
2989 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2991 * gio/gfile.c: (g_file_set_display_name),
2992 (g_file_query_settable_attributes),
2993 (g_file_query_writable_namespaces):
2994 Return NULL not FALSE on errors as the return type is a pointer.
2996 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
2998 * gio/glocalfile.c: (g_local_file_monitor_file):
2999 Don't call monitor_file on the default interface vtable (which
3000 is NULL) but simply return NULL. The caller, GFile, will create a
3001 polling monitor if NULL is returned.
3003 2007-10-09 Alexander Larsson <alexl@redhat.com>
3007 * gio-unix-2.0.pc.in:
3008 Add gio-unix-2.0.pc if OS_UNIX
3011 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3013 2007-10-09 Alexander Larsson <alexl@redhat.com>
3015 * gio/gunixmounts.[ch]:
3016 Make unix mount monitoring API sane.
3017 Now its just a object with mounts_changed
3018 and mountpoints_changed signals.
3020 * gio/glocaldirectorymonitor.c:
3021 * gio/gunixvolumemonitor.c:
3022 Use new mount monitor api
3024 2007-10-09 Alexander Larsson <alexl@redhat.com>
3026 * gio/gunixmounts.[ch]:
3027 Move guess type into one call for mounts and one for mountpoints
3030 * gio/gunixvolume.c:
3033 2007-10-09 Alexander Larsson <alexl@redhat.com>
3035 * gio/gunixmounts.[ch]:
3036 Remove _ prefix in preparation to make this semi-public
3037 Hide implementation of structs
3039 * gio/glocaldirectorymonitor.c:
3041 * gio/gunixvolume.c:
3042 * gio/gunixvolumemonitor.c:
3043 Update for above API changes
3045 2007-10-08 Alexander Larsson <alexl@redhat.com>
3048 Better polling fallback. This also handles the case where we have
3049 a monitor_file implementation, but it fails.
3051 2007-10-08 Alexander Larsson <alexl@redhat.com>
3055 * gio/gunixmounts.c:
3056 * programs/gio-monitor-dir.c:
3057 * programs/gio-monitor-file.c:
3058 Added cancellable to file monitoring calls.
3059 These are really sync calls and need this.
3061 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3063 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3064 (g_local_vfs_class_init):
3065 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3066 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3068 2007-10-05 Alexander Larsson <alexl@redhat.com>
3070 * gio/gdirectorymonitorprivate.h:
3071 * gio/gfilemonitorprivate.h:
3072 * gio/gdirectorymonitor.h:
3073 * gio/gfilemonitor.h:
3074 Remove *private.h and move to the public API, so that
3075 we can do implementations outside gio (such as in gvfs)
3077 * gio/gdirectorymonitor.c:
3078 * gio/gfilemonitor.c:
3079 * gio/glocaldirectorymonitor.c:
3080 * gio/gpollfilemonitor.c:
3081 * gio/inotify/inotify-helper.c:
3082 * gio/fam/fam-helper.c:
3083 Update to the new header names
3085 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3087 * gio/gdirectorymonitor.c:
3088 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3091 2007-10-04 Alexander Larsson <alexl@redhat.com>
3093 * gio/glocalfileinfo.c (get_access_rights):
3094 Set CAN_TRASH when we can move the file.
3095 We should really also check for a parent trash dir.
3097 2007-10-04 Alexander Larsson <alexl@redhat.com>
3099 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3100 Add can_trash access attribute
3102 2007-10-04 Alexander Larsson <alexl@redhat.com>
3105 (g_local_file_trash):
3106 Create info file first. This is per-spec and allows
3107 us to actually trash directories.
3109 2007-10-02 Alexander Larsson <alexl@redhat.com>
3111 * gio/gdesktopappinfo.c:
3112 Implement the new mime support code.
3113 Always set app as handling mimetype when being set as default for it
3115 2007-10-01 Alexander Larsson <alexl@redhat.com>
3117 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3118 Fix up check for xattrs:
3120 2007-10-01 Alexander Larsson <alexl@redhat.com>
3123 (g_app_info_set_as_default_for_extension):
3124 (g_app_info_add_supports_type):
3125 (g_app_info_can_remove_supports_type):
3126 (g_app_info_remove_supports_type):
3127 Make these fail nicely if not implemented
3129 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3131 * gio/glocalfileoutputstream.c:
3132 * gio/glocalfileoutputstream.h:
3137 * programs/gio-save.c:
3138 Add a GFileCreateFlags argument to operations that can create
3141 2007-10-01 Alexander Larsson <alexl@redhat.com>
3143 * gio/gappinfo.[ch]:
3144 * gio/gdesktopappinfo.c:
3145 Add more (stubbed out) mime API needed for nautilus
3147 2007-10-01 Alexander Larsson <alexl@redhat.com>
3150 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3151 Add g_app_info_set_as_default_for_extension.
3153 * gio/gdesktopappinfo.c:
3154 Dummy for g_app_info_set_as_default_for_extension
3155 Support flags in g_app_info_create_from_commandline
3157 * gio/gwin32appinfo.c:
3159 Update for API changes
3161 * gio/gthemedicon.c:
3162 Properly NULL-terminate list of icon names
3164 2007-09-28 Alexander Larsson <alexl@redhat.com>
3166 * gio/gloadableicon.h:
3167 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3169 2007-09-28 Alexander Larsson <alexl@redhat.com>
3172 Install headers in $includedir/gio-standalone/
3174 * gio-2.0.pc.in: Added.
3175 * gio-standalone.pc.in: Removed.
3178 Renamed pkg-config file to match glib (for future move)
3179 Update to the new include dir
3182 Add more TODO comments
3184 2007-09-28 Alexander Larsson <alexl@redhat.com>
3186 * gio/gdesktopappinfo.[ch]:
3187 Expose new_from_filename
3188 Add getter for is_hidden and handle it better
3190 2007-09-28 Alexander Larsson <alexl@redhat.com>
3192 * gio/gfileinfo.[ch]:
3193 Rename g_file_size_format_for_display to
3194 g_format_file_size_for_display.
3195 Now it doesn't have the g_file prefix, so we
3196 can later move it to glib.
3198 2007-09-28 Alexander Larsson <alexl@redhat.com>
3200 * gio/gappinfo.[ch]:
3201 Add g_app_info_get_id and g_app_info_get_executable.
3202 Make all getters non-reffing
3203 Make g_app_info_launch take GFile arguments.
3204 Add must_support_uris argument to g_app_info_get_default_for_type.
3206 * gio/gwin32appinfo.c:
3207 Update to GAppInfo api changes
3209 * gio/gdesktopappinfo.c:
3210 Update to GAppInfo api changes
3211 Implement supports_xdg_startup_notify
3213 * gio/gfileicon.c (g_file_icon_get_file):
3214 Make getter non-reffing.
3219 2007-09-27 Alexander Larsson <alexl@redhat.com>
3221 * gio/gfileinfo.[ch]:
3222 Add g_file_size_format_for_display helper
3224 2007-09-27 Alexander Larsson <alexl@redhat.com>
3226 * gio/glocalfileinfo.c:
3227 Set UNIX_GID from gid, not from uid
3229 2007-09-27 Alexander Larsson <alexl@redhat.com>
3232 Add g_file_set_attributes_async
3234 2007-09-27 Alexander Larsson <alexl@redhat.com>
3236 * gio/glocalfile.c (g_local_file_set_display_name):
3237 Fix set_display_name to actually rename to the right place.
3238 Use lstat to look for existing files so we don't overwrite
3241 2007-09-26 Alexander Larsson <alexl@redhat.com>
3244 Add g_file_set_display_name_async()
3246 2007-09-26 Alexander Larsson <alexl@redhat.com>
3249 Add load_partial_contents async calls
3252 Make internal function static
3254 2007-09-26 Alexander Larsson <alexl@redhat.com>
3256 * gio/glocalfileinfo.c:
3257 Correctly detect broken symlinks
3259 2007-09-26 Alexander Larsson <alexl@redhat.com>
3261 * gio/gcancellable.c (g_cancellable_cancel):
3262 Allow cancel on NULL cancellable
3264 2007-09-25 Alexander Larsson <alexl@redhat.com>
3266 * gio/gsimpleasyncresult.c:
3267 Don't allocate g_error manually.
3268 Fixes g_slice/g_new mixup crash
3270 2007-09-25 Alexander Larsson <alexl@redhat.com>
3272 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3273 Actually set active_backend.
3274 This means the monitor will be cancelled correctly.
3276 2007-09-25 Alexander Larsson <alexl@redhat.com>
3278 * gio/gdirectorymonitor.c:
3279 Set timeout to NULL when destroying
3281 2007-09-25 Alexander Larsson <alexl@redhat.com>
3284 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3285 that is a better description of the error.
3287 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3289 * gio/gvfs.c: (g_vfs_get_local):
3290 Make the local vfs variable static. The same instance should
3293 2007-09-24 Alexander Larsson <alexl@redhat.com>
3295 * gio/glocalfileinfo.c:
3296 Pass in actual length read into sniffer, not the length
3299 2007-09-21 Alexander Larsson <alexl@redhat.com>
3301 * gio/gfileenumerator.c:
3304 * gio/gfileinputstream.c:
3305 * gio/gfileoutputstream.c:
3306 * gio/ginputstream.c:
3307 * gio/goutputstream.c:
3308 Don't crash if async callbacks are NULL
3310 2007-09-20 Alexander Larsson <alexl@redhat.com>
3313 Add async enumerate_children method and default
3316 2007-09-20 Alexander Larsson <alexl@redhat.com>
3319 Add g_file_contains_file & g_file_get_relative_path, since they
3320 were needed for nautilus.
3321 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3326 Implement new methods
3328 2007-09-17 Alexander Larsson <alexl@redhat.com>
3331 * gio/gfileinputstream.[ch]:
3332 * gio/gfileoutputstream.[ch]:
3334 * gio/glocalfileenumerator.[ch]:
3335 * gio/glocalfileinfo.[ch]:
3336 * gio/glocalfileinputstream.c:
3337 * gio/glocalfileoutputstream.c:
3338 * gio/gpollfilemonitor.c:
3339 * programs/gio-copy.c:
3340 * programs/gio-info.c:
3341 * programs/gio-move.c:
3342 Rename get_file_info to query_info() to make it clearer
3343 that these are not simple getters, but do i/o.
3345 2007-09-17 Alexander Larsson <alexl@redhat.com>
3347 * gio/gdatainputstream.[ch]:
3348 * gio/test-streams.c:
3349 Use _read_XXX instead of _get_XXX for the i/o calls
3352 2007-09-17 Alexander Larsson <alexl@redhat.com>
3355 Added needed stuff to TODO comment
3357 2007-09-17 Alexander Larsson <alexl@redhat.com>
3359 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3360 Don't error out removing the backup copy if it doesn't
3363 2007-09-14 Alexander Larsson <alexl@redhat.com>
3365 * programs/Makefile.am:
3366 * programs/gvfs-*.c:
3368 Renamed apps from gvfs-xxx to gio-xxx.
3370 2007-09-14 Alexander Larsson <alexl@redhat.com>
3373 * gio/gfileoutputstream.[ch]:
3374 * gio/glocalfileoutputstream.c:
3375 * programs/gvfs-save.c:
3376 g_file_output_stream_get_etag doesn't do i/o, so remove
3377 cancellation and error.
3379 2007-09-14 Alexander Larsson <alexl@redhat.com>
3382 Add new_etag output to replace_contents functions
3384 2007-09-14 Alexander Larsson <alexl@redhat.com>
3386 * gio/gfileoutputstream.[ch]:
3387 Add async get_file_info and default implementation
3389 2007-09-14 Alexander Larsson <alexl@redhat.com>
3391 * gio/gfileinputstream.c:
3392 Implement fallback wrapper for async get_file_info
3394 2007-09-14 Alexander Larsson <alexl@redhat.com>
3397 Add etag out argument to load_contents
3402 2007-09-14 Alexander Larsson <alexl@redhat.com>
3404 * gio/gcontenttype.c (looks_like_text):
3405 Whitespace like tab, cr and lf do not make the
3408 2007-09-14 Alexander Larsson <alexl@redhat.com>
3410 * gio/gfileinputstream.[ch]:
3411 Add async get_file_info.
3413 2007-09-13 Alexander Larsson <alexl@redhat.com>
3415 * gio/goutputstream.c (g_output_stream_write_all):
3416 Allow NULL for bytes_written
3418 2007-09-13 Alexander Larsson <alexl@redhat.com>
3420 * gio/gmemoryinputstream.[ch]:
3421 Add accessors for data
3423 2007-09-13 Alexander Larsson <alexl@redhat.com>
3425 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3426 Don't crash if length is NULL