1 2008-02-11 Alexander Larsson <alexl@redhat.com>
6 Added GMountMountFlags enum and added a flags
7 argument to all mount calls.
9 This is an API/ABI change for future extensibility,
10 as I think we will need at least an
11 inhibit-autorun flag (the panel needs this).
12 There are no flags defined yet though.
14 2008-02-11 Alexander Larsson <alexl@redhat.com>
17 Added new standard::description attribute.
18 Requested by Vincent, and useful for both
21 2008-02-11 Alexander Larsson <alexl@redhat.com>
26 2008-02-11 Matthias Clasen <mclasen@redhat.com>
28 * *.c: Documentation additions
30 2008-02-10 Matthias Clasen <mclasen@redhat.com>
32 * gappinfo.h: Formatting cleanup
33 * gappinfo.c: Fix up docs.
35 2008-02-09 Matthias Clasen <mclasen@redhat.com>
37 * gunixmounts.c: Consistently use getmntent_r() and fall
38 back to getmntent(). (#515492)
40 2008-02-09 Matthias Clasen <mclasen@redhat.com>
42 * gbufferedinputstream.c:
44 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
46 * tests/data-input-stream.c:
47 * tests/data-output-stream.c: Portability fixes.
49 2008-02-08 Alexander Larsson <alexl@redhat.com>
54 Add g_volume_should_automount.
57 2008-02-07 Tor Lillqvist <tml@novell.com>
59 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
60 Win32, too Unix-specific.
62 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
64 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
65 a local plt if the compiler doesn't support what we want. Bug #514702
67 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
69 reviewed by: <delete if not using a buddy>
73 * gunixoutputstream.c:
75 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
78 * tests/live-g-file.c:
79 * tests/live-g-file.txt:
80 New GIO testing module working over real data
82 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
84 * glocalfileoutputstream.c (g_local_file_output_stream_close):
85 Fallback to rename() if link() is not available
86 (when no support on target filesystem)
88 2008-02-06 Michael Natterer <mitch@imendio.com>
90 * gfileinfo.c (g_file_info_get_icon): replace
91 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
93 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
95 * gfile.c (g_file_create):
96 Documentation update of error codes
98 2008-02-06 Alexander Larsson <alexl@redhat.com>
101 Update to use both mimeapps.list and
102 defaults.list as discussed on xdg list.
104 2008-02-06 Benjamin Otte <otte@gnome.org>
107 * gfilenamecompleter.c:
108 Fix some typos in the documentation.
110 2008-02-06 Alexander Larsson <alexl@redhat.com>
112 * glocalfile.c (g_local_file_trash):
113 Don't succeed with trash if newly created
114 trash dir has the wrong owner. (#514696)
116 2008-02-05 Alexander Larsson <alexl@redhat.com>
118 * glocalfile.c (g_local_file_move):
119 Don't spew warnings when destination is not
122 2008-02-03 Hans Breuer <hans@breuer.org>
124 * makefile.msc : update
126 2008-02-01 Michael Natterer <mitch@imendio.com>
128 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
129 return value of xdg_mime_list_mime_parents() to a variable of the
132 2008-02-01 Alexander Larsson <alexl@redhat.com>
134 * gappinfo.c (g_app_info_launch_uris):
135 Actually call the launch_uris method, not
138 2008-02-01 Alexander Larsson <alexl@redhat.com>
140 * gdesktopappinfo.c (g_desktop_app_info_equal):
141 Ensure appinfos with no id but same pointer value
144 2008-02-01 Alexander Larsson <alexl@redhat.com>
146 * gappinfo.c (g_app_info_launch_default_for_uri):
149 2008-02-01 Alexander Larsson <alexl@redhat.com>
153 Add g_app_info_launch_default_for_uri utility
156 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
159 Doc fix for g_app_info_get_default_for_uri_scheme ()
162 2008-01-30 Alexander Larsson <alexl@redhat.com>
165 Add doc comment about uris vs GFiles to
169 Ensure uris passed to g_app_info_launch_uris()
170 are not roundtriped through GFile (as that
171 may be slightly destructive for e.g. mailto: links)
173 2008-01-30 Alexander Larsson <alexl@redhat.com>
175 * tests/data-input-stream.c:
176 * tests/data-output-stream.c:
177 C89 fixes from Jens Granseuer (#512849)
179 2008-01-30 Alexander Larsson <alexl@redhat.com>
182 Fix gamin/fam difference build issue. (#509419)
184 2008-01-29 Alexander Larsson <alexl@redhat.com>
188 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
190 2008-01-29 Alexander Larsson <alexl@redhat.com>
194 giomodule-priv.h include moved to .c file.
196 2008-01-29 Alexander Larsson <alexl@redhat.com>
198 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
199 Remove unused prio/name fields.
201 2008-01-29 Alexander Larsson <alexl@redhat.com>
203 * gcontenttype.c (looks_like_text):
204 Don't treat whitespace as control chars.
206 2008-01-29 Alexander Larsson <alexl@redhat.com>
209 Lazily create the desktop files for appinfos created
210 by g_app_info_create_from_commandline() when needed
211 for mime associations. This allows run-time use
212 of GAppInfo object without creating unnecessary
215 2008-01-29 Alexander Larsson <alexl@redhat.com>
218 Added new symbols to gio.symbols
220 2008-01-29 Alexander Larsson <alexl@redhat.com>
223 Add g_file_query_default_handler utility to easily look up
224 the GAppInfo that handles a file.
226 * gdesktopappinfo.[ch]:
228 Set up an extension point for g_app_info_get_default_for_uri_scheme()
231 Remove unused function
233 2008-01-29 Alexander Larsson <alexl@redhat.com>
236 Mention need to free returned value in
237 g_file_enumerator_next_files_finish docs.
238 Fix leak if g_file_enumerator_next_files_finish()
241 2008-01-29 Alexander Larsson <alexl@redhat.com>
244 (_g_unix_content_type_get_parents):
245 Use list_parents, not get_parents from xdgmime, because
246 the later doesn't use the cache.
248 * xdgmime/xdgmimecache.c:
249 (_xdg_mime_cache_list_mime_parents):
250 Don't list the same type as parent multiple times.
252 2008-01-28 Matthias Clasen <mclasen@redhat.com>
254 * === Released 2.15.4 ===
256 2008-01-28 Alexander Larsson <alexl@redhat.com>
259 Register local vfs with prio 0.
262 Remove old name and prio class members
264 2008-01-28 Matthias Clasen <mclasen@redhat.com>
266 * tests/g-file.c: Disable some tests that are failing in
267 the absence of a http backend.
269 2008-01-28 Alexander Larsson <alexl@redhat.com>
273 Add registration hooks for extension points.
274 Register the gio extension points.
276 * fam/gfamdirectorymonitor.c:
277 * fam/gfamfilemonitor.c:
278 * glocaldirectorymonitor.[ch]:
279 * glocalfilemonitor.[ch]:
280 * gnativevolumemonitor.h:
281 * gunionvolumemonitor.c:
282 * gunixvolumemonitor.c:
285 * inotify/ginotifydirectorymonitor.c:
286 * inotify/ginotifyfilemonitor.c:
287 Use the extension points registration instead
288 of g_type_children().
290 2008-01-28 Matthias Clasen <mclasen@redhat.com>
293 * gvolume.[hc]: Document new API.
295 * gfile.c (g_file_copy_async): Fix docs
297 2008-01-27 Matthias Clasen <mclasen@redhat.com>
299 * gbufferedinputstream.c:
301 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
304 2008-01-27 Matthias Clasen <mclasen@redhat.com>
306 * glocalfile.c: Avoid trivial differences in translatable strings.
308 2008-01-25 Matthias Clasen <mclasen@redhat.com>
310 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
311 build with gcc 3.4 (#509419)
313 2008-01-25 Matthias Clasen <mclasen@redhat.com>
315 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
316 (#509994, Murray Cumming)
318 2008-01-25 Matthias Clasen <mclasen@redhat.com>
320 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
321 * gioscheduler.c: Keep calling io jobs until they return FALSE;
322 this allows big jobs to be executed in chunks, instead of blocking
323 the main loop for a long time.
325 * gsimpleasyncresult.c:
326 * giofile.c: Adapt callers.
328 2008-01-25 Alexander Larsson <alexl@redhat.com>
331 Implement changes discussed on xdg list.
332 Now we can add supported mimetypes by just using defaults.list
333 We can also remove associations in defaults.list.
335 2008-01-25 Alexander Larsson <alexl@redhat.com>
338 Don't make local copy of desktop file
339 for mimetype changes if the file already
340 supports the new mimetype.
342 2008-01-25 Matthias Clasen <mclasen@redhat.com>
346 * gbufferedinputstream.c:
347 * glocalfile.c: String improvements. (#511966,
348 Theppitak Karoonboonyanan)
350 2008-01-24 Matthias Clasen <mclasen@redhat.com>
352 * gioscheduler.h: Expand docs a bit.
354 2008-01-24 Alexander Larsson <alexl@redhat.com>
357 Add g_drive_get_identifier and
358 g_drive_enumerate_identifiers
361 Add g_volume_get_identifier and
362 g_volume_enumerate_identifiers
368 Implement identifiers for unix backend
370 2008-01-24 Alexander Larsson <alexl@redhat.com>
375 Add g_file_copy_async() (#511580)
376 Based on patch from Carlos Garcia Campos
378 2008-01-23 Matthias Clasen <mclasen@redhat.com>
380 * gioscheduler.c: Some documentation additions.
382 2008-01-22 Alexander Larsson <alexl@redhat.com>
385 (g_desktop_app_info_new):
388 2008-01-22 Alexander Larsson <alexl@redhat.com>
391 (g_desktop_app_info_new_from_filename):
394 2008-01-22 Alexander Larsson <alexl@redhat.com>
396 * glocalfileinfo.c (get_thumbnail_attributes):
399 2008-01-22 Alexander Larsson <alexl@redhat.com>
402 (canonicalize_filename):
403 Canonicalize paths that start with more than
408 (test_g_file_new_for_path):
411 2008-01-22 Alexander Larsson <alexl@redhat.com>
414 Allow UTF-8 in file:// parse names.
417 * tests/data-input-stream.c:
418 * tests/data-output-stream.c:
419 * tests/g-file-info.c:
421 Added a bunch of tests from Tomas Bzatek
423 2008-01-21 Matthias Clasen <mclasen@redhat.com>
425 * === Released 2.15.3 ===
427 2008-01-21 Alexander Larsson <alexl@redhat.com>
429 * gfileinputstream.[ch]:
430 * gfileoutputstream.[ch]:
432 Remove duplicated GSeekable functions. (#509990)
433 Just use the g_seekable_xxx() calls instead.
435 2008-01-21 Matthias Clasen <mclasen@redhat.com>
438 * gvolumemanager.c: Whitespace cleanups.
440 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
441 Use the right mode when creating the file.
443 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
446 * gfileinputstream.c:
448 * goutputstream.c: Documentation: Fixed minor typos
449 and added more mentions of specific _finish() functions.
451 2008-01-21 Alexander Larsson <alexl@redhat.com>
453 * inotify/Makefile.am:
454 * inotify/inotify-helper.c:
455 * inotify/inotify-kernel.c:
456 * inotify/inotify-path.c:
457 * inotify/local_inotify.h: Removed.
458 * inotify/local_inotify_syscalls.h: Removed.
459 Removed the included copies of the inotify
460 headers. We now only use the <sys/inotify.h>
461 header which exists on modern systems.
462 This fixes problems on ARM and SH5 (#510448)
463 but is also generally much cleaner and future
464 safe. For instance, if other OSes add support
465 for inotify it should "just work".
467 2008-01-20 Matthias Clasen <mclasen@redhat.com>
469 * inotify/*.c: Coding style fixes.
470 * inotify/inotify-missing.c: Use g_timeout_add_seconds
471 for the 1/4 Hz timer.
473 2008-01-20 Matthias Clasen <mclasen@redhat.com>
477 * gmemoryinputstream.c:
478 * gmemoryoutputstream.c:
480 * gthemedicon.c: Documentation updates
482 2008-01-20 Murray Cumming <murrayc@murrayc.com>
484 * gfile.c: documentation: Fixed more minor
487 2008-01-18 Murray Cumming <murrayc@murrayc.com>
489 * gmount.c: (g_mount_remount): documentation:
490 Mention g_mount_remount_finish() instead of
491 g_mount_unmount_finish().
493 2008-01-18 Murray Cumming <murrayc@murrayc.com>
497 * gfile.c: Fixed some minor typos in the
500 2008-01-18 Murray Cumming <murrayc@murrayc.com>
502 * gio/gvolumemonitor.c:
503 (g_volume_monitor_get_connected_drives):
504 (g_volume_monitor_get_volumes):
505 (g_volume_monitor_get_mounts): Documentation:
506 Clarify the ownership of the regurn GLists.
508 2008-01-17 Alexander Larsson <alexl@redhat.com>
511 Add the async find_enclosing_mount version
512 to the header file too.
514 2008-01-17 Alexander Larsson <alexl@redhat.com>
517 Add async version of find_enclosing_mount
518 with default implementation.
520 2008-01-17 Alexander Larsson <alexl@redhat.com>
525 Allow calls to implementation of copy and write
526 even if the type of the file implementations is
527 different. This can be used to implement native
528 upload and download calls in a vfs.
532 Protect against the case where move is called
533 with one file not being local.
535 Make sure we call the progress callback once
536 in the native move operation so that the caller
537 knows how many bytes were copied.
539 2008-01-16 Murray Cumming <murrayc@murrayc.com>
542 * gdatainputstream.c:
544 * gfileoutputstream.c:
549 * gunixmounts.c: Corrected some typos in the documentation:
551 its -> it's (where appropriate).
553 2008-01-16 Alexander Larsson <alexl@redhat.com>
557 Add g_file_query_exists (#508771)
559 2008-01-15 Murray Cumming <murrayc@murrayc.com>
564 * gvolume.c: For async functions that have no non-async
565 version, document that the GAsyncReadyCallback may be NULL.
568 2008-01-15 Alexander Larsson <alexl@redhat.com>
570 * gmemoryinputstream.c:
571 * gmemoryoutputstream.c:
572 Don't do pointer arithmetic on void * (#508602)
573 Patch from Kazuki IWAMOTO
575 2008-01-14 Matthias Clasen <mclasen@redhat.com>
577 * === Released 2.15.2 ===
579 2008-01-14 Alexander Larsson <alexl@redhat.com>
581 * gfile.c (g_file_monitor_file):
582 Don't set error here, since we fallback to polling monitor.
584 2008-01-14 Alexander Larsson <alexl@redhat.com>
587 (g_file_monitor_directory):
588 (g_file_monitor_file):
589 Add GError to file monitor calls
591 * glocaldirectorymonitor.c:
592 * glocaldirectorymonitor.h:
594 * glocalfilemonitor.c:
595 * glocalfilemonitor.h:
597 Update for above change
599 2008-01-14 Alexander Larsson <alexl@redhat.com>
603 Handle root correctly in g_file_get_relative_path (#508719)
605 2008-01-14 Alexander Larsson <alexl@redhat.com>
608 Clean up docs and example for GAsyncResult (#508074)
610 2008-01-11 Murray Cumming <murrayc@murrayc.com>
612 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
613 and correct some spelling mistakes. Bug #508108.
615 2008-01-11 Matthias Clasen <mclasen@redhat.com>
617 * glocalfileinfo.c: Add a comment.
619 2008-01-10 Murray Cumming <murrayc@murrayc.com>
621 * gfileinfo.c: GFileInfo description: Mention
622 how to actually set attributes in a GFile and how to discover
623 which attributes are settable. Bug #508378.
625 2008-01-10 A. Walton <awalton@svn.gnome.org>
627 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
628 (g_app_info_get_default_for_type):
629 Check for NULL content types.
631 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
633 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
635 2008-01-09 Murray Cumming <murrayc@murrayc.com>
637 * gfile.c: *_async() functions: Several small corrections
638 to the documentation, mostly correcting copy/paste errors
639 and improving some sentences.
641 2008-01-09 Dan Winship <danw@gnome.org>
643 * glocalfile.c (get_unique_filename): x86_64 fix
645 2008-01-09 Alexander Larsson <alexl@redhat.com>
650 Add g_unix_mount_guess_should_display and use
651 for unix volume monitor backend.
652 This means we more or less show what the
653 gnome-vfs backend did.
654 Based on patch from Padraig O'Briain
656 2008-01-09 Alexander Larsson <alexl@redhat.com>
660 Add g_themed_icon_new_with_default_fallbacks
663 Use default fallbacks for icons
665 2008-01-09 Alexander Larsson <alexl@redhat.com>
668 * gmountoperation.[ch]:
669 Change the API a bit so that unhandled methods
670 get reported via the reply, rather than by
671 the signal emission return value. This is because
672 some handlers can't know this immediately without
673 doing I/O, and this is an async operation that
676 2008-01-09 Alexander Larsson <alexl@redhat.com>
679 * fam/gfamdirectorymonitor.c:
680 * fam/gfamfilemonitor.c:
681 Fix double free crash (#508224)
682 Patch from Joe Marcus Clarke
684 008-01-07 Matthias Clasen <mclasen@redhat.com>
686 * === Released 2.15.1 ===
688 2008-01-07 Alexander Larsson <alexl@redhat.com>
690 * gunixinputstream.c (g_unix_input_stream_skip_finish):
691 Fix warning (#507835)
693 2008-01-07 Alexander Larsson <alexl@redhat.com>
696 Pass --internal to glib-genmarshal
701 Use better types for signal arguments (#507822)
703 2008-01-07 Alexander Larsson <alexl@redhat.com>
706 Build test subdir after .
707 Remove gdirectorymonitor.[ch]
709 * gdirectorymonitor.[ch]:
713 Remove GDirectoryMonitor and make
714 GFileMonitor the baseclass for both file and
715 directory monitors. Lift the more generic
716 rate limiting code from GDirectoryMonitor
720 * fam/gfamdirectorymonitor.[ch]:
721 * inotify/ginotifydirectorymonitor.[ch]:
722 * inotify/inotify-helper.c:
723 * glocaldirectorymonitor.[ch]:
726 Update for the removed GDirectoryMonitor.
728 * gmemoryoutputstream.c:
729 Remove ununsed variable
731 2008-01-07 Alexander Larsson <alexl@redhat.com>
733 * gmemoryinputstream.c:
734 Translate error strings
737 * gmemoryoutputstream.[ch]:
738 New implementation that avoids using GByteArray
739 in implementation and API. (#506377)
741 2008-01-06 Matthias Clasen <mclasen@redhat.com>
743 * tests/*: Add a test for memory input streams.
745 * Makefile.am: Add tests to SUBDIRS.
747 2008-01-06 Matthias Clasen <mclasen@redhat.com>
749 * glocalfilemonitor.c:
750 * glocaldirectorymonitor.c: Mark property nicks and blurbs
753 2008-01-06 Matthias Clasen <mclasen@redhat.com>
755 * gdesktopappinfo.c: Fix a docs typo.
757 * gfileattribute.c: Add information about extended attributes
758 to the documentation. (#505058)
760 2008-01-04 Alexander Larsson <alexl@redhat.com>
764 Use the right type (uint) for the ask_password signal.
766 2008-01-04 Alexander Larsson <alexl@redhat.com>
771 Add g_app_info_supports_files()
772 Remove desktop arg from g_app_info_should_show().
774 * gdesktopappinfo.[ch]:
775 Implement g_app_info_supports_files() and new should_show()
776 Add g_desktop_app_info_set_desktop_env() to set the desktop
777 for should_show(). (This will be set by gtk+ later)
779 2008-01-04 Alexander Larsson <alexl@redhat.com>
782 * gmemoryinputstream.[ch]:
783 Improve API so that you can use multiple chunks
784 of memory and custom destroy functions. (#506374)
786 2008-01-03 Alexander Larsson <alexl@redhat.com>
789 Handle NULL attribute matchers safely, as we return this
790 for empty attribute matcher strings.
792 2008-01-03 Alexander Larsson <alexl@redhat.com>
794 * gunixmounts.c (g_unix_is_mount_path_system_internal):
795 Add /usr/local to list of internal mountpoints
797 2008-01-03 Alexander Larsson <alexl@redhat.com>
800 Check for HAVE_LCHOWN (#505887)
802 2008-01-03 Alexander Larsson <alexl@redhat.com>
806 Add define for selinux context attribute.
807 Fix missing : -> :: namespace separator change
808 Fix missing _ -> - name change for xattr-sys.
811 2008-01-03 Alexander Larsson <alexl@redhat.com>
814 Link to libglib and libgobject directly (#504879)
815 Patch from Sebastien Bacher
817 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
819 * gfile.c: Expanded the g_file_new_for_commandline_arg
820 description a bit, based on the code and the docs of the
821 other g_file_new_for_* functions.
823 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
825 * gfilemonitor.h: Fixed typo in docs.
827 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
829 Updates to GIO documentation. (#506395, Mikael Hermansson)
831 * gcontenttype.c: Describe memory management for return value of
832 g_content_types_get_registered(). Missing piece from #505815.
833 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
834 GVolume, GDrive, GMounts, which hopefully gives the user less
835 confusions when using this API. Following explainations from
836 Alexander Larsson on gtk-devel-list.
838 2007-12-30 Matthias Clasen <mclasen@redhat.com>
840 * gfileinfo.c: Expand the long description.
842 2007-12-30 Matthias Clasen <mclasen@redhat.com>
845 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
846 fix builds with --disable-visibility. (#500273, Christian Persch)
848 2007-12-30 Matthias Clasen <mclasen@redhat.com>
850 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
851 in the list of returned app infos.
853 2007-12-30 Matthias Clasen <mclasen@redhat.com>
855 * gappinfo.c: Fix a cross-reference
857 2007-12-30 Matthias Clasen <mclasen@redhat.com>
859 * gfileinputstream.c:
860 * gfileoutputstream.c:
866 * gfileinfo.c: Documentation updates.
868 2007-12-26 Matthias Clasen <mclasen@redhat.com>
870 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
873 2007-12-26 Matthias Clasen <mclasen@redhat.com>
875 * gcontenttype.c (g_content_types_get_registered): Don't return
876 freed memory (#505815, Mikael Hermansson)
878 2007-12-25 Paolo Borelli <pborelli@katamail.com>
880 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
881 used to detect statbuf->st_blocks. (#505042)
883 2007-12-24 Matthias Clasen <mclasen@redhat.com>
885 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
886 environment handling. (#504829, Cosimo Cecchi)
888 2007-12-22 Matthias Clasen <mclasen@redhat.com>
890 * gappinfo.c: Doc improvements
892 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
895 2007-12-20 Matthias Clasen <mclasen@redhat.com>
897 * === Released 2.15.0 ===
899 2007-12-20 Hans Breuer <hans@breuer.org>
901 * makefile.msc : don't build gdesktopappinfo.obj, it collides
902 with symbols gwin32appinfo.obj, added gmount.obj
903 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
905 2007-12-20 Alexander Larsson <alexl@redhat.com>
911 * gfilenamecompleter.c:
914 * gpollfilemonitor.c:
915 File attribute renames:
918 id::fs -> id::filesystem
920 2007-12-20 Alexander Larsson <alexl@redhat.com>
929 Add GMountUnmountFlags to all unmount and
931 Add g_mount_remount() call.
933 2007-12-20 Alexander Larsson <alexl@redhat.com>
935 * gvfs.c (get_default_vfs):
936 Fix unused variable warning
938 2007-12-19 Matthias Clasen <mclasen@redhat.com>
940 * pltcheck.sh: Update
942 2007-12-19 Matthias Clasen <mclasen@redhat.com>
944 * gunionvolumemonitor.c:
945 * gunixmount.c: Remove C99 comments
947 2007-12-19 Matthias Clasen <mclasen@redhat.com>
949 * gio.symbols: Add some missing symbols
951 2007-12-19 Alexander Larsson <alexl@redhat.com>
954 Make g_io_modules_load_all_in_directory not unuse
955 loaded modules so that users of it can do stuff
957 Init internal "module" types.
958 Initialize static prio and name for types so that
959 we don't have to load modules to get it.
961 * gnativevolumemonitor.h:
963 Move is_supported to parent class so that
964 non-native monitors can avoid being initialized
965 too. (For instance GDaemonVolumeMonitor if we're
966 not using GDaemonVfs.)
968 * glocaldirectorymonitor.[ch]:
969 * glocalfilemonitor.[ch]:
970 * gunionvolumemonitor.c:
971 * gunixvolumemonitor.c:
973 Find plugins using the static prio+name to
974 avoid unnecessarily loading the modules.
976 2007-12-19 Alexander Larsson <alexl@redhat.com>
981 2007-12-19 Alexander Larsson <alexl@redhat.com>
983 * gunionvolumemonitor.c:
984 Store the native type as GType, not class so that
985 we can unload it. But still avoid unnecessarily
988 2007-12-19 David Zeuthen <davidz@redhat.com>
990 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
991 add signals 'disconnected' and 'eject-button' on GDrive. Add
992 signal 'removed' on GVolume and 'unmounted' on GMount.
994 * gdrive.c: (g_drive_base_init):
996 * gfile.c: (g_file_mount_mountable),
997 (g_file_mount_enclosing_volume):
1000 * gmount.c: (g_mount_base_init):
1002 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1003 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1004 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1008 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1010 * *.c: Fix up includes in the section docs.
1012 2007-12-17 Alexander Larsson <alexl@redhat.com>
1014 * gnativevolumemonitor.h:
1015 * gunionvolumemonitor.c:
1016 * gunixvolumemonitor.c:
1017 Add is_supported() to GNativeVolumeMonitorClass so
1018 that we can avoid having to create an object to see
1019 if the backend is supported at runtime.
1020 Also add name member and an env var to pick a specific
1021 volume monitor backend.
1025 Add cancellable to _g_mount_get_for_mount_path()
1027 * glocaldirectorymonitor.c:
1028 * glocalfilemonitor.c:
1029 Avoid loading and unloading modules while sorting.
1031 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1034 * gunixmounts.[hc]: Namespace waste reduction, move some
1035 g_get_unix_mount functions to the g_unix_mount namespace.
1038 * gunixvolumemonitor.c:
1040 * glocaldirectorymonitor.c: Update all callers.
1042 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1044 2007-12-17 Alexander Larsson <alexl@redhat.com>
1047 Add doc comments about what GFile operations are
1048 guaranteed to not block.
1050 2007-12-17 Alexander Larsson <alexl@redhat.com>
1053 Add missing #ifdef fixing OSX build.
1054 (#503334, patch from Richard Hult)
1056 2007-12-14 David Zeuthen <davidz@redhat.com>
1060 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1061 (g_mount_eject), (g_mount_eject_finish):
1063 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1064 (get_volume_for_uuid), (get_mount_for_uuid),
1065 (g_union_volume_monitor_class_init),
1066 (get_default_native_type_with_exclude), (get_default_native_type),
1067 (get_native_type), (update_native_type),
1068 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1069 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1070 (g_unix_mount_can_eject), (eject_unmount_cb),
1071 (eject_unmount_read_error), (eject_unmount_do),
1072 (g_unix_mount_unmount), (g_unix_mount_eject),
1073 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1074 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1075 (g_unix_mount_point_guess_can_eject):
1077 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1078 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1079 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1080 (g_unix_volume_mount), (g_unix_volume_eject),
1081 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1082 * gunixvolumemonitor.c: (get_volume_for_uuid),
1083 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1085 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1086 (g_volume_eject), (g_volume_eject_finish):
1088 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1089 (g_volume_monitor_get_mount_for_uuid):
1092 Provide eject() on both GMount and GVolume and utility functions
1093 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1094 ejected. Introduce the concept of UUID's and wire it into GVolume
1095 and GMount and provide API on GVolumeMonitor to find such
1096 instances. Also handle the case where an external
1097 GNativeVolumeMonitor fails to initialize. Lock around the
1098 _g_get_mount_for_mount_path() function such that volume monitor
1099 implementations won't have to do locking themselves.
1101 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1103 * gdesktopappinfo.c:
1109 * gvolume.h: Documentation updates
1111 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1114 * gfile.h: Doc updates
1116 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1119 * gdesktopappinfo.c: Use hash table iterators.
1121 2007-12-14 Alexander Larsson <alexl@redhat.com>
1124 * gfileattribute.[ch]:
1125 * gfileattribute-priv.h:
1126 Move GFileAttributeValue to a private header, as
1130 Make set_attribute take a type + a pointer instead
1131 of a GFileAttributeValue.
1134 Fix up for above changes.
1135 Add g_file_info_get_attribute_data to get
1136 all info in one call, g_file_info_get_attribute_status
1137 to get the status and g_file_info_get_attribute_as_string.
1141 * glocalfileinfo.[ch]:
1145 Make _guess_type static.
1147 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1150 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1151 made mkenums and friends use temporary files to avoid leaving
1152 empty generated files on failure (#503470).
1154 2007-12-14 Alexander Larsson <alexl@redhat.com>
1156 * gmountoperation.h:
1159 2007-12-14 Alexander Larsson <alexl@redhat.com>
1163 * gfileattribute.[ch]:
1166 * glocalfileoutputstream.c:
1167 * gmountoperation.[ch]:
1168 * goutputstream.[ch]:
1169 Clean up all flags enums to not have _FLAGS in them
1170 Make the names of some of the enums better.
1175 2007-12-14 Michael Natterer <mitch@imendio.com>
1177 * gio.symbols: fix g_io_scheduler symbol names.
1179 2007-12-14 Alexander Larsson <alexl@redhat.com>
1185 * gbufferedinputstream.h:
1186 * gbufferedoutputstream.h:
1189 * gdatainputstream.h:
1190 * gdataoutputstream.h:
1191 * gdesktopappinfo.h:
1192 * gdirectorymonitor.h:
1196 * gfileenumerator.h:
1199 * gfileinputstream.h:
1201 * gfilenamecompleter.h:
1202 * gfileoutputstream.h:
1203 * gfilterinputstream.h:
1204 * gfilteroutputstream.h:
1212 * gmemoryinputstream.h:
1213 * gmemoryoutputstream.h:
1215 * gmountoperation.h:
1218 * gsimpleasyncresult.h:
1220 * gunixinputstream.h:
1222 * gunixoutputstream.h:
1226 * inotify/Makefile.am:
1227 Only allow including <gio/gio.h> from apps
1229 2007-12-14 Alexander Larsson <alexl@redhat.com>
1231 * gioscheduler.[ch]:
1232 * gsimpleasyncresult.c:
1233 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1234 Split out the send_to_mainloop call into two versions instead
1235 of having the block argument.
1237 2007-12-13 Alexander Larsson <alexl@redhat.com>
1239 * gcancellable.[ch]:
1241 * gbufferedinputstream.c:
1242 * gfileenumerator.c:
1243 * gfileinputstream.c:
1244 * gfileoutputstream.c:
1248 g_push/pop_current_cancellable ->
1249 g_cancellable_push/pop_current
1251 2007-12-13 Alexander Larsson <alexl@redhat.com>
1255 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1257 2007-12-13 Alexander Larsson <alexl@redhat.com>
1259 * gmountoperation.h:
1260 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1262 2007-12-12 Alexander Larsson <alexl@redhat.com>
1265 Fix race condition when freeing proxy in
1266 g_io_job_send_to_mainloop().
1268 2007-12-12 Alexander Larsson <alexl@redhat.com>
1274 Make attribute namespace separator "::" instead of ":".
1275 Use - instead of _ as separator in attribute names.
1277 2007-12-12 Alexander Larsson <alexl@redhat.com>
1279 * gbufferedinputstream.h:
1280 * gbufferedoutputstream.h:
1281 * gdatainputstream.h:
1282 * gdataoutputstream.h:
1283 * gdirectorymonitor.h:
1284 * gfileenumerator.h:
1285 * gfileinputstream.h:
1287 * gfileoutputstream.h:
1288 * gfilterinputstream.h:
1289 * gfilteroutputstream.h:
1291 * glocalfileinputstream.h:
1292 * glocalfileoutputstream.h:
1293 * gmemoryinputstream.h:
1294 * gmemoryoutputstream.h:
1295 * gnativevolumemonitor.h:
1297 * gunixinputstream.h:
1298 * gunixoutputstream.h:
1301 s/parent/parent_instance/ in GObjects
1303 2007-12-12 Alexander Larsson <alexl@redhat.com>
1308 No need for padding for interfaces
1310 2007-12-12 Alexander Larsson <alexl@redhat.com>
1314 * gbufferedinputstream.c:
1315 * gbufferedoutputstream.c:
1318 * gdatainputstream.[ch]:
1319 * gdesktopappinfo.c:
1320 * gdirectorymonitor.c:
1322 * gfileattribute.[ch]:
1325 * gfileinputstream.h:
1326 * gfilemonitor.[ch]:
1327 * gfileoutputstream.[ch]:
1328 * gfilterinputstream.h:
1329 * gfilteroutputstream.h:
1332 * gloadableicon.[ch]:
1333 * gmemoryinputstream.c:
1334 * gmountoperation.c:
1336 Fix up a bunch of details in the docs.
1341 2007-12-11 David Zeuthen <davidz@redhat.com>
1343 Rework how volumes, drives and volume monitoring is
1344 done. Previosly the model was
1346 GDrive <1-1> GVolume
1348 where a GDrive instance represented a mount point and a GVolume
1349 instance represented a mounted file system. This patch changes it
1352 GDrive <1-N> GVolume <1-1> GMount
1354 where GMount now serves the purpose of the old GVolume and the new
1355 GVolume serves the purpose of the old GDrive. In addition the new
1356 GDrive interface is used to represent a collection of GVolume
1357 instances (typically partitions) and also contains utility to query
1358 the state of the physical drive the GDrive object represents (such
1359 as checking for media, polling the drive, ejecting the media etc.).
1361 Also implement mounting and unmounting in the Unix volume monitor
1362 backend. A subquent patch will introduce GDrive support for ejection
1366 * gdrive.c: (g_drive_is_media_check_automatic),
1367 (g_drive_is_media_removable), (g_drive_has_media),
1368 (g_drive_can_poll_for_media), (g_drive_eject),
1369 (g_drive_eject_finish), (g_drive_poll_for_media),
1370 (g_drive_poll_for_media_finish):
1372 * gfile.c: (g_file_find_enclosing_mount):
1375 * glocaldirectorymonitor.c:
1376 (g_local_directory_monitor_constructor), (mounts_changed):
1377 * glocalfile.c: (get_mount_info),
1378 (g_local_file_find_enclosing_mount),
1379 (g_local_file_file_iface_init):
1380 * gnativevolumemonitor.h:
1381 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1382 (get_connected_drives), (g_union_volume_monitor_class_init),
1383 (child_volume_added), (child_volume_removed),
1384 (child_volume_changed), (child_mount_added), (child_mount_removed),
1385 (child_mount_pre_unmount), (child_mount_changed),
1386 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1387 (g_union_volume_monitor_remove_monitor),
1388 (_g_mount_get_for_mount_path):
1389 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1390 (guess_system_internal), (_g_get_unix_mounts),
1391 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1392 (g_unix_mount_free), (g_unix_mount_compare),
1393 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1394 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1395 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1396 (type_to_icon), (g_unix_mount_guess_name),
1397 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1398 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1399 (_resolve_symlink), (_resolve_dev_root):
1401 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1402 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1403 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1404 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1405 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1406 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1407 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1408 (g_unix_volume_volume_iface_init):
1410 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1411 (get_mounts), (get_volumes), (get_connected_drives),
1412 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1413 (mountpoints_changed), (mounts_changed),
1414 (g_unix_volume_monitor_init),
1415 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1416 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1417 * gunixvolumemonitor.h:
1418 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1419 (g_volume_mount), (g_volume_mount_finish):
1421 * gvolumemonitor.c: (g_volume_monitor_class_init),
1422 (g_volume_monitor_get_connected_drives),
1423 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1426 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1428 * gmountoperation.h (GPasswordFlags): Close the gap
1430 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1432 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1434 * gdesktopappinfo.[hc]: Remove _-prefixes
1436 2007-12-10 Tor Lillqvist <tml@novell.com>
1438 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1441 2007-12-10 Alexander Larsson <alexl@redhat.com>
1443 * gfile.c (g_file_set_display_name):
1444 Don't hardcode '/' (#502727)
1446 2007-12-09 Hans Breuer <hans@breuer.org>
1448 * makefile.msc : follow lib naming convention
1449 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1450 for user and group name, tested with ../tests/gio-ls
1452 2007-12-09 A. Walton <awalton@svn.gnome.org>
1454 * gdesktopappinfo.c:
1460 * gfileenumerator.c:
1465 * gmemoryinputstream.c:
1466 * gmemoryoutputstream.c:
1468 * gsimpleasyncresult.c:
1469 More documentation cleanup and filling in missing information, bringing
1470 GIO to 99% symbol coverage.
1472 2007-12-08 Hans Breuer <hans@breuer.org>
1474 [gio compiles and links on win32, not sure how much already works]
1475 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1476 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1477 base on win32 API; prefer g_lstat() over lstat(); instead of
1478 localtime_r() use an all GLib implementation on win32;
1479 get_mount_info() still needs a win32 specifc implementation
1480 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1481 win32_get_file_user_info to get owner/group info without uid/gid
1482 * glocalfileinputstream.c : include <io.h> on win32
1483 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1484 definition, use g_win32_ftruncate() for G_OS_WIN32
1485 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1486 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1487 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1488 * makefile.msc : updated
1490 2007-12-07 Alexander Larsson <alexl@redhat.com>
1492 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1493 Avoid warning spew if error == NULL
1495 2007-12-07 Alexander Larsson <alexl@redhat.com>
1498 Update docs wrt etags
1500 2007-12-06 Alexander Larsson <alexl@redhat.com>
1503 Include sys/types.h for dev_t (#501919)
1505 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1509 Make abicheck and pltcheck pass.
1511 2007-12-05 Alexander Larsson <alexl@redhat.com>
1514 * giomodule-priv.h: Added.
1515 * glocaldirectorymonitor.c:
1516 * glocalfilemonitor.c:
1517 * gunionvolumemonitor.c:
1519 Actually add the declaration of _g_io_modules_ensure_loaded
1521 2007-12-05 Alexander Larsson <alexl@redhat.com>
1523 * gdatainputstream.c:
1528 * glocaldirectorymonitor.c:
1529 * glocalfilemonitor.c:
1530 * gunionvolumemonitor.c:
1532 Make g_io_modules_ensure_loaded a private function and
1533 don't pass in the dirname. This means we can do magic
1534 directory finding in the win32 version.
1535 Export the actual load-modules-in-directory code so that
1536 gvfs can reuse that.
1538 2007-12-05 Alexander Larsson <alexl@redhat.com>
1540 * gbufferedinputstream.c:
1541 * gbufferedoutputstream.c:
1544 * gfileenumerator.[ch]:
1545 * gfileinputstream.c:
1546 * gfileoutputstream.[ch]:
1547 * gfilterinputstream.c:
1548 * gfilteroutputstream.c:
1549 * ginputstream.[ch]:
1551 * glocalfileenumerator.c:
1552 * glocalfileinputstream.c:
1553 * glocalfileoutputstream.c:
1554 * gmemoryinputstream.c:
1555 * gmemoryoutputstream.c:
1556 * goutputstream.[ch]:
1559 * gunixinputstream.c:
1560 * gunixoutputstream.c:
1561 Rename all struct members named:
1562 read, write, close, truncate, or mount
1563 to foo_fn, as these are reserved names
1564 and could be defined as macros in libc.
1567 2007-12-04 Alexander Larsson <alexl@redhat.com>
1570 (g_output_stream_close):
1571 Only call flush if non-null.
1573 2007-11-30 Dan Winship <danw@gnome.org>
1575 * ginputstream.c (g_input_stream_set_pending): Make this take a
1576 GError and return a gboolean, and do the "outstanding operation"
1577 check (and the "stream is already closed" check) itself.
1578 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1580 * goutputstream.c (g_output_stream_set_pending)
1581 (g_output_stream_clear_pending): Likewise
1583 * gbufferedinputstream.c:
1584 * gfileinputstream.c:
1585 * gfileoutputstream.c: Update for that
1587 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1588 Like g_simple_async_report_error_in_idle, but takes a GError
1589 rather than building one.
1591 2007-11-30 Dan Winship <danw@gnome.org>
1593 * goutputstream.c: Don't cheat and unset the "pending" flag around
1594 inner calls. Instead, call the class method directly rather than
1595 the wrapper function that checks "pending"
1597 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1599 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1601 2007-12-03 Hans Breuer <hans@breuer.org>
1603 [start of port to win32/msvc]
1604 * gcancellable.c : HAVE_UNIST_H and _pipe()
1605 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1606 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1607 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1609 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1610 * glocalvfs.c : use HAVE_PWD_H
1611 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1612 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1613 * Makefile.am : added to EXTRA_DIST
1615 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1617 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1620 2007-12-03 Alexander Larsson <alexl@redhat.com>
1623 Handle OSX style xattrs API (#500506)
1625 2007-12-03 Alexander Larsson <alexl@redhat.com>
1629 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1631 2007-12-02 A. Walton <awalton@svn.gnome.org>
1635 Documentation accuracy fixes.
1637 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1639 * gioenumtypes.c.template: Fix typo.
1641 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1643 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1645 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1647 * gdirectorymonitor.c:
1648 * gfilemonitor.c: Add properties
1650 * gbufferedoutputstream.c: Don't mark buffer-size property
1653 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1655 * gbufferedoutputstream.c: Add auto-grow property.
1657 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1659 * *.c: Unify the capitalization of section headings.
1661 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1663 * gmountoperation.c: Add properties
1665 * gdatainputstream.c: Turn byte-order and newline-type into
1668 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1670 * gioenumtypes.[hc].template: Templates for enum registration
1672 * Makefile.am: Generate gioenumtypes.[hc]
1674 * gio.h: Include gioenumtypes.h
1676 * gfile.h: Add some explicit nicks.
1678 * gio.symbols: Add new symbols
1680 * pltcheck.sh: Adjust
1682 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1684 * *.c: Explain etags and link to the explanation
1686 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1688 * *.c: Explain I/O priority.
1690 * *.c: More coding style fixes.
1692 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1694 * gasyncresult.c: Add another paragraph to the intro,
1695 adjust coding style of example.
1697 2007-11-29 A. Walton <awalton@svn.gnome.org>
1700 Fixes unknown meaning in GAppLaunchContext docs.
1702 Clarify asynchronous ops.
1704 Fix entity tag docs.
1707 Provides missing gtk-doc section, fixes API docs slighly.
1708 * gsimpleasyncresult.c:
1709 Fill in missing info in docs.
1710 * gunixinputstream.c:
1711 * gunixoutputstream.c:
1712 Be more expressive in short description.
1714 Remove gtk-doc stubs for non-public API.
1716 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1718 * *.c: Coding style fixups
1720 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1722 * inotify/inotify-helper.c: Don't export the lock from libgio.
1724 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1727 * abicheck.sh: Fix copy-and-paste leftovers
1729 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1731 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1733 2007-11-28 Alexander Larsson <alexl@redhat.com>
1737 Removed unnecessary file
1739 * gdesktopappinfo.[ch]:
1742 * glocaldirectorymonitor.[ch]:
1744 * glocalfileenumerator.[ch]:
1745 * glocalfileinputstream.[ch]:
1746 * glocalfilemonitor.[ch]:
1747 * glocalfileoutputstream.[ch]:
1749 * gnativevolumemonitor.c:
1750 * gpollfilemonitor.[ch]:
1751 * gunionvolumemonitor.[ch]:
1754 * gunixvolumemonitor.[ch]:
1757 * inotify/ginotifydirectorymonitor.[ch]:
1758 * inotify/ginotifyfilemonitor.[ch]:
1759 * inotify/inotify-helper.c:
1760 Append _ to all internal functions
1764 Export symbols needed for modules
1766 2007-11-28 Alexander Larsson <alexl@redhat.com>
1769 * abicheck.sh: Added.
1770 * makegioalias.pl: Added.
1771 * pltcheck.sh: Added.
1772 * gio.symbols: Added.
1775 Initial work on adding symbol handling.
1778 Correct ifdef guard name
1781 * inotify/Makefile.am:
1782 * xdgmime/Makefile.am:
1783 Include toplevel Makefile.decl
1785 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1787 * gcontenttype.c: Move doc comments to the unix section.
1789 * *.[hc]: More trivial doc corrections.
1791 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1793 * gpollfilemonitor.c:
1797 * gdesktopappinfo.c:
1802 * gdatainputstream.c:
1803 * gdatainputstream.h:
1804 * gdataoutputstream.c:
1805 * gdataoutputstream.h:
1806 * gfileinfo.h: Doc cleanups
1808 2007-11-28 Andre Klapper <a9016009@gmx.de>
1810 * gdesktopappinfo.c: Fix a typo.
1812 2007-11-27 Andre Klapper <a9016009@gmx.de>
1814 * glocalfileoutputstream.c: Fix a typo.
1816 2007-11-27 Alexander Larsson <alexl@redhat.com>
1819 Don't include removed headers
1821 2007-11-27 Alexander Larsson <alexl@redhat.com>
1824 * gsocketinputstream.[ch]: Removed.
1825 * gsocketoutputstream.[ch]: Removed.
1826 * gunixinputstream.[ch]: Added.
1827 * gunixoutputstream.[ch]: Added.
1828 Renamed GSocket*Stream to GUnix*Stream and made
1829 it unix-only, since its not really only for sockets
1830 and it only works on unix (but is highly useful there).
1832 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1838 * gbufferedinputstream.c:
1839 * gbufferedinputstream.h:
1840 * gbufferedoutputstream.c:
1841 * gbufferedoutputstream.h:
1845 * gdatainputstream.c:
1846 * gdatainputstream.h:
1847 * gdataoutputstream.c:
1848 * gdataoutputstream.h:
1849 * gdirectorymonitor.c:
1850 * gdirectorymonitor.h:
1857 * gfileenumerator.c:
1858 * gfileenumerator.h:
1863 * gfileinputstream.c:
1864 * gfileinputstream.h:
1867 * gfilenamecompleter.c:
1868 * gfilenamecompleter.h:
1869 * gfileoutputstream.c:
1870 * gfileoutputstream.h:
1871 * gfilterinputstream.c:
1872 * gfilterinputstream.h:
1873 * gfilteroutputstream.c:
1874 * gfilteroutputstream.h:
1887 * glocalfileoutputstream.c:
1888 * gmemoryinputstream.c:
1889 * gmemoryinputstream.h:
1890 * gmemoryoutputstream.c:
1891 * gmemoryoutputstream.h:
1892 * gmountoperation.c:
1893 * gmountoperation.h:
1896 * gpollfilemonitor.c:
1899 * gsimpleasyncresult.c:
1900 * gsimpleasyncresult.h:
1901 * gsocketinputstream.c:
1902 * gsocketinputstream.h:
1903 * gsocketoutputstream.c:
1904 * gsocketoutputstream.h:
1911 * gunixvolumemonitor.c:
1920 Bumps documentation to 93% symbol coverage, touching most
1921 of the public files. Fixes broken function documentation prototypes.
1922 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1923 gtk-doc headers in private files.
1925 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1927 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1928 (g_buffered_input_stream_read_byte):
1929 * gbufferedinputstream.h:
1930 New functions for efficient access to buffer and simple single byte
1933 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1934 (g_data_input_stream_read_until):
1935 * gdatainputstream.h:
1936 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1937 read_until with multiple stop chars.
1939 2007-11-27 Alexander Larsson <alexl@redhat.com>
1943 * inotify/Makefile.am:
1944 Use the user-specified giomoduledir
1946 2007-11-27 Alexander Larsson <alexl@redhat.com>
1950 Add catch-all gio.h header
1951 Don't install gdummyfile.h
1953 2007-11-26 Alexander Larsson <alexl@redhat.com>
1955 * Makefile.am (gioinclude_HEADERS):
1956 Remove trailing whitespace
1958 2007-11-26 Alexander Larsson <alexl@redhat.com>
1960 Merge gio-standalone into glib
1962 2007-11-25 Christian Kellner <gicmo@gnome.org>
1964 * gio/goutputstream.c:
1965 Fix small mistake in the docs.
1967 2007-11-21 Christian Persch <chpe@gnome.org>
1969 * gio/glocalfile.c: (g_local_file_trash):
1970 Convert filenames to UTF-8 for GError.
1971 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1972 as per xdg base dir spec.
1974 2007-11-21 Christian Persch <chpe@gnome.org>
1976 * gio/gdesktopappinfo.c:
1977 Use that g_key_file_to_data cannot fail.
1979 Use stock defines for the key file group and key names.
1982 2007-11-21 Alexander Larsson <alexl@redhat.com>
1985 (copy_stream_with_progress):
1986 Make sure we do a final progress callback with
1987 the full total size.
1989 2007-11-21 Alexander Larsson <alexl@redhat.com>
1992 Export g_file_copy_attributes
1993 Remove padding as its not needed for interfaces
1995 2007-11-20 Alexander Larsson <alexl@redhat.com>
2000 Add G_IO_ERROR_WOULD_MERGE for
2001 copy/move dir on dir with overwrite.
2003 2007-11-20 Alexander Larsson <alexl@redhat.com>
2006 * gio/glocalfileinfo.c:
2007 Add COPY_NAME (this is an optional
2008 non-modified utf8 version of the name) that
2011 2007-11-20 Alexander Larsson <alexl@redhat.com>
2013 * gio/glocalfileenumerator.c:
2014 Report errors as GIOError, not GFileError
2016 2007-11-16 Alexander Larsson <alexl@redhat.com>
2018 * gio/glocalfileoutputstream.c:
2019 * gio/gwin32appinfo.c:
2020 Fix typos in strings.
2021 Patch from Luca Ferretti <elle.uca@libero.it>
2023 2007-11-15 Alexander Larsson <alexl@redhat.com>
2026 Post release version bump
2028 === gio-standalone 0.1.2 ===
2030 2007-11-15 Alexander Larsson <alexl@redhat.com>
2032 * docs/reference/gio/Makefile.am:
2033 Fix up distcheck by removing weird
2039 2007-11-14 Alexander Larsson <alexl@redhat.com>
2041 * gio/gdesktopappinfo.c:
2042 * gio/glocaldirectorymonitor.c:
2044 * gio/glocalfileinfo.c:
2045 * gio/inotify/inotify-sub.c:
2046 * programs/gio-cat.c:
2047 * programs/gio-copy.c:
2048 * programs/gio-info.c:
2049 * programs/gio-ls.c:
2050 * programs/gio-monitor-dir.c:
2051 * programs/gio-monitor-file.c:
2052 * programs/gio-mount.c:
2053 * programs/gio-move.c:
2054 * programs/gio-rm.c:
2055 * programs/gio-save.c:
2056 * programs/gio-trash.c:
2057 Leak fixes from Kjartan Maraas
2059 2007-11-14 Alexander Larsson <alexl@redhat.com>
2061 * gio/fam/fam-helper.c:
2063 * gio/glocalfileinfo.c:
2067 * gio/inotify/inotify-diag.c:
2068 * gio/inotify/inotify-kernel.c:
2069 Various code cleanups from Kjartan Maraas
2071 2007-11-14 Alexander Larsson <alexl@redhat.com>
2073 * gio/gioscheduler.c:
2075 Set up threadpool so that we cache 2 unused
2076 idle threads for at 15 secs. This means we
2077 will reuse thread-local data (like dbus connections)
2080 2007-11-14 Alexander Larsson <alexl@redhat.com>
2082 * gio/fam/fam-helper.c:
2083 * gio/fam/gfamdirectorymonitor.c:
2084 * gio/fam/gfamfilemonitor.c:
2086 * gio/gcontenttype.c:
2087 * gio/gdatainputstream.c:
2088 * gio/gdataoutputstream.c:
2092 * gio/gfileattribute.h:
2093 * gio/gfileenumerator.c:
2095 * gio/ginputstream.c:
2098 * gio/glocalfileinfo.c:
2099 * gio/goutputstream.c:
2100 * gio/gpollfilemonitor.c:
2101 * gio/gsimpleasyncresult.c:
2102 * gio/gunixmounts.c:
2103 * gio/gunixmounts.h:
2104 * gio/inotify/ginotifydirectorymonitor.c:
2105 * gio/inotify/ginotifyfilemonitor.c:
2106 * gio/inotify/inotify-diag.c:
2107 * gio/inotify/inotify-kernel.c:
2108 * gio/inotify/inotify-path.c:
2110 * gio/test-streams.c:
2111 * programs/gio-info.c:
2112 * programs/gio-monitor-dir.c:
2113 * programs/gio-monitor-file.c:
2114 Various code cleanups from Kjartan Maraas
2116 2007-11-13 Alexander Larsson <alexl@redhat.com>
2119 Handle the uri-scheme calls for dummy files
2121 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2123 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2124 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2125 to avoid clash with the C++ keyword.
2127 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2129 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2130 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2132 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2134 * gio/glocaldirectorymonitor.c:
2135 * gio/glocalfilemonitor.c:
2136 * gio/gunionvolumemonitor.c:
2137 Don't use g_once_init_*() for initializations that could fail and
2138 could leave the initialization variable set to 0 but use GOnce.
2139 This prevents a deadlock on the second call when trying to create
2140 a monitor and no monitor type is available. Thanks to Sven Herzberg
2143 2007-11-11 Sven Herzberg <sven@imendio.com>
2145 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2146 #ifdef (make it work on MacOS X again)
2148 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2150 Fixes Changelog for last two commits (sorry guys).
2152 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2154 * gio/gbufferedinputstream.c:
2155 * gio/gdatainputstream.c:
2157 * gio/gfileoutputstream.c:
2158 * gio/gfilterinputstream.c:
2159 * gio/glocalfileinputstream.c:
2162 More consistency fixes in g*stream.c files.
2163 Significant clean of gfile's documentation, filling in of
2164 asynchronous operations documentation.
2166 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2168 * gio/gasyncresult.c:
2169 * gio/gbufferedinputstream.c:
2170 * gio/gbufferedoutputstream.c:
2171 * gio/gcancellable.c:
2172 * gio/gcontenttype.c:
2173 * gio/gdatainputstream.c:
2174 * gio/gdataoutputstream.c:
2175 * gio/gdesktopappinfo.c:
2178 * gio/gfileattribute.c:
2179 * gio/gio/gfileenumerator.c:
2181 * gio/gfileinputstream.c:
2182 * gio/gfilemonitor.c:
2183 * gio/gfileoutputstream.c:
2184 * gio/ginputstream.c:
2186 * gio/gioscheduler.c:
2187 * gio/gloadableicon.c:
2188 * gio/glocalfileoutputstream.c:
2189 * gio/gmemoryoutputstream.c:
2190 * gio/gmountoperation.c:
2191 * gio/goutputstream.c:
2193 * gio/gsimpleasyncresult.c:
2194 * gio/gunionvolumemonitor.c:
2195 * gio/gunixmounts.c:
2196 * gio/gunixvolume.c:
2200 * gio/gvolumemonitor.c:
2201 Updated documentation stubs, working towards consistency and
2204 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2206 * gio/gmemoryoutputstream.c:
2207 * gio/gmemoryoutputstream.h:
2208 Change g_memory_output_stream_set_free_on_close() to
2209 g_memory_output_stream_set_free_data() as this makes more sense and
2210 is more consistent with GMemoryInputStream.
2212 2007-11-07 Alexander Larsson <alexl@redhat.com>
2219 Change how we find the default vfs so that
2220 we can handle a gvfs failing to init
2222 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2224 * gio/gbufferedoutputstream.c:
2225 * gio/gdatainputstream.c:
2226 * gio/gdataoutputstream.c:
2227 * gio/gfileinputstream.c:
2228 * gio/gfileoutputstream.c:
2229 * gio/gfilterinputstream.c:
2230 * gio/gfilteroutputstream.c:
2231 * gio/ginputstream.c:
2232 * gio/gmemoryinputstream.c:
2233 * gio/gmemoryoutputstream.c:
2234 * gio/goutputstream.c:
2235 * gio/gsimpleasyncresult.c:
2236 * gio/gsocketinputstream.c:
2237 * gio/gsocketoutputstream.c:
2238 Add guards to the remaining public functions, add a TODO for
2239 an unimplemented function and remove some useless guards.
2241 2007-11-07 Alexander Larsson <alexl@redhat.com>
2244 Autoconf checks for the various types of
2245 getpwuid_r and getgrgid_r
2247 * gio/glocalfileinfo.c:
2248 Use the autoconf checks from above
2250 2007-11-07 Alexander Larsson <alexl@redhat.com>
2253 (g_local_file_query_filesystem_info):
2254 Some fixes for the statvfs case
2256 2007-11-07 Alexander Larsson <alexl@redhat.com>
2259 (g_local_file_query_filesystem_info):
2260 Pick the "best" of statfs / statvfs for the system
2261 if both are availible.
2263 2007-11-07 Alexander Larsson <alexl@redhat.com>
2265 Solaris fixes from Halton.Huo@Sun.COM:
2272 * gio/glocalfileinfo.c:
2273 Fix for solaris definition of getpwuid_r
2275 * gio/test-streams.c:
2276 Use G_GNUC_PRETTY_FUNCTION
2278 2007-11-07 Alexander Larsson <alexl@redhat.com>
2280 * gio/gdesktopappinfo.c:
2281 (update_default_list):
2282 Remove double semicolon.
2283 Patch from Jens Granseuer
2285 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2287 * docs/reference/gio/gio-sections.txt:
2288 * gio/gbufferedinputstream.c:
2289 * gio/gbufferedinputstream.h:
2290 * gio/gdatainputstream.c:
2291 * gio/gfileenumerator.c:
2292 * gio/gioscheduler.c:
2293 * gio/gunionvolumemonitor.c:
2295 * programs/gio-save.c:
2296 Fix typo: availible -> available. Unfortuntely this breaks API
2297 and ABI as g_buffered_input_stream_get_available() was renamed.
2299 * gio/gunixmounts.c:
2300 * gio/gbufferedinputstream.c:
2301 Add guards for public functions.
2303 2007-11-06 Ross Burton <ross@openedhand.com>
2305 * docs/reference/gio/Makefile.am:
2306 Fix invalid += usage which automake 1.10 doesn't like.
2308 2007-11-06 Alexander Larsson <alexl@redhat.com>
2311 (g_app_launch_context_class_init):
2314 Patch from Ross Burton
2316 2007-11-06 Alexander Larsson <alexl@redhat.com>
2319 Post release version bump
2321 === gio-standalone 0.1.1 ===
2323 2007-11-06 Alexander Larsson <alexl@redhat.com>
2326 Bump version to 0.1.1
2328 * gio/gsimpleasyncresult.c:
2329 (g_simple_async_result_set_from_error):
2330 Remove bogus g_return_if_fail
2332 2007-11-06 Alexander Larsson <alexl@redhat.com>
2335 The name is gio-standalone
2338 Add top src/builddir to includedir
2340 2007-11-06 Alexander Larsson <alexl@redhat.com>
2342 * docs/reference/gio/gio-sections.txt:
2344 * gio/gbufferedinputstream.c:
2345 * gio/gbufferedoutputstream.c:
2346 * gio/gcancellable.c:
2347 * gio/gdatainputstream.h:
2348 * gio/gdataoutputstream.c:
2349 * gio/gdataoutputstream.h:
2350 * gio/gdirectorymonitor.c:
2352 * gio/gfileattribute.c:
2353 * gio/gfileattribute.h:
2354 * gio/gfileenumerator.c:
2355 * gio/gfileenumerator.h:
2358 * gio/gfileinputstream.h:
2359 * gio/gfilemonitor.c:
2360 * gio/gfileoutputstream.h:
2361 * gio/glocalfilemonitor.h:
2362 * gio/glocalfileoutputstream.h:
2363 * gio/gmemoryinputstream.c:
2364 * gio/gmemoryoutputstream.c:
2365 * gio/gmountoperation.c:
2366 * gio/goutputstream.c:
2367 * gio/goutputstream.h:
2369 * gio/gsimpleasyncresult.c:
2370 * gio/gunixmounts.c:
2371 * gio/gunixmounts.h:
2373 * gio/inotify/inotify-helper.c:
2374 Fix gtk-doc warnings
2376 Patch from Ross Burton
2378 2007-11-06 Alexander Larsson <alexl@redhat.com>
2380 * gio/gfilenamecompleter.c:
2381 (g_filename_completer_get_completions):
2384 * gio/gunixvolume.c:
2385 Remove unused function
2387 Patches from Ross Burton
2389 2007-11-06 Alexander Larsson <alexl@redhat.com>
2394 Padding not needed for interfaces
2396 2007-11-06 Alexander Larsson <alexl@redhat.com>
2398 * gio/gfilemonitor.c:
2402 Make giotypes.h an internal file
2405 * gio/gbufferedinputstream.h:
2406 * gio/gbufferedoutputstream.h:
2407 * gio/gcancellable.h:
2408 * gio/gdatainputstream.h:
2409 * gio/gdataoutputstream.h:
2410 * gio/gdirectorymonitor.c:
2411 * gio/gdirectorymonitor.h:
2416 * gio/gfileattribute.h:
2417 * gio/gfileenumerator.h:
2422 * gio/gfilemonitor.c:
2423 * gio/gfilemonitor.h:
2424 * gio/gfilenamecompleter.c:
2425 * gio/gfilenamecompleter.h:
2426 * gio/gfilterinputstream.h:
2427 * gio/gfilteroutputstream.h:
2428 * gio/ginputstream.h:
2429 * gio/gmemoryinputstream.h:
2430 * gio/gmemoryoutputstream.h:
2431 * gio/gmountoperation.c:
2432 * gio/gmountoperation.h:
2433 * gio/gnativevolumemonitor.c:
2434 * gio/goutputstream.h:
2437 * gio/gsimpleasyncresult.c:
2438 * gio/gsimpleasyncresult.h:
2439 * gio/gsocketinputstream.h:
2440 * gio/gsocketoutputstream.h:
2441 * gio/gthemedicon.c:
2442 * gio/gthemedicon.h:
2446 * gio/gvolumemonitor.c:
2447 * gio/gvolumemonitor.h:
2448 Add padding in classes where it seems useful
2449 Don't include giotypes.h from public headers
2450 Move in Class definitions into c file where possible
2455 2007-11-06 Alexander Larsson <alexl@redhat.com>
2457 * docs/reference/gio/gio-docs.xml:
2458 Better structure for API docs
2460 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2463 * gio/gloadableicon.c:
2464 * gio/gsimpleasyncresult.c:
2465 * gio/gthemedicon.c:
2466 Add some more guards to public functions. Only files missing are now
2469 2007-11-06 Alexander Larsson <alexl@redhat.com>
2471 * docs/reference/gio/gio-docs.xml:
2472 Remove old files, add missing ones
2474 2007-11-06 Alexander Larsson <alexl@redhat.com>
2476 * docs/reference/gio/gio-sections.txt:
2479 Hide implementation classes
2481 * gio/gdriveprivate.h:
2482 * gio/gvolumeprivate.h:
2483 Remove non-existing function declarations
2485 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2488 Fix compilation warnings and add guards to the new functions.
2490 * gio/gasyncresult.c:
2492 Add guards to the public functions.
2495 Implement get_path().
2497 2007-11-06 Alexander Larsson <alexl@redhat.com>
2499 * gio/gfilenamecompleter.c:
2500 Make g_filename_completer_get_completions
2501 return char ** instead of GList for
2504 * docs/reference/gio/gio-docs.xml:
2505 * docs/reference/gio/gio-sections.txt:
2507 * gio/gasyncresult.c:
2508 * gio/gbufferedinputstream.c:
2509 * gio/gbufferedoutputstream.c:
2510 * gio/gcancellable.c:
2511 * gio/gcontenttype.c:
2512 * gio/gdatainputstream.c:
2513 * gio/gdataoutputstream.c:
2514 * gio/gdesktopappinfo.c:
2515 * gio/gdirectorymonitor.c:
2519 * gio/gfileattribute.c:
2520 * gio/gfileenumerator.c:
2523 * gio/gfileinputstream.c:
2524 * gio/gfilemonitor.c:
2525 * gio/gfilenamecompleter.c:
2526 * gio/gfilenamecompleter.h:
2527 * gio/gfileoutputstream.c:
2528 * gio/gfilterinputstream.c:
2530 * gio/ginputstream.c:
2532 * gio/gioscheduler.c:
2533 * gio/gloadableicon.c:
2534 * gio/glocaldirectorymonitor.c:
2536 * gio/glocalfileinputstream.c:
2537 * gio/glocalfilemonitor.c:
2538 * gio/glocalfileoutputstream.c:
2540 * gio/gmemoryinputstream.c:
2541 * gio/gmemoryoutputstream.c:
2542 * gio/gmountoperation.c:
2543 * gio/goutputstream.c:
2544 * gio/gpollfilemonitor.c:
2546 * gio/gsimpleasyncresult.c:
2547 * gio/gsocketinputstream.c:
2548 * gio/gsocketoutputstream.c:
2549 * gio/gthemedicon.c:
2550 * gio/gunionvolumemonitor.c:
2552 * gio/gunixmounts.c:
2553 * gio/gunixvolume.c:
2554 * gio/gunixvolumemonitor.c:
2558 * gio/gvolumemonitor.c:
2559 * gio/gwin32appinfo.c:
2560 Add (mostly stub) doc strings to public functions.
2561 Patch from Andrew Walton (awalton@gmail.com)
2563 2007-11-06 Alexander Larsson <alexl@redhat.com>
2565 * gio/gappinfo.[ch]:
2566 Added GAppLaunchContext object and pass that to launch.
2567 This allows simple implementation of both
2568 launch-on-screen and startup notification via a gtk+
2569 subclass of GAppLaunchContext
2571 * gio/gdesktopappinfo.c:
2572 Implement GAppLaunchContext API
2574 * gio/gwin32appinfo.c:
2577 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2579 * gio/gmountoperation.c:
2580 Add some guards to GMountOperation's public functions.
2582 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2586 * gio/gcancellable.c:
2587 * gio/gdirectorymonitor.c:
2589 * gio/gfileenumerator.c:
2590 * gio/gfilemonitor.c:,
2591 * gio/gfilenamecompleter.c:
2594 * gio/gioscheduler.c:
2598 * gio/gvolumemonitor.c:
2599 Add even more guards to various public functions.
2601 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2604 Add guards to the public functions of GAppInfo.
2606 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2608 * gio/gcontenttype.c:
2609 Add some more guards for public functions.
2611 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2613 * gio/fam/fam-module.c:
2614 * gio/fam/gfamdirectorymonitor.c:
2615 * gio/fam/gfamdirectorymonitor.h:
2616 * gio/fam/gfamfilemonitor.c:
2617 * gio/fam/gfamfilemonitor.h:
2618 * gio/inotify/ginotifydirectorymonitor.c:
2619 * gio/inotify/ginotifydirectorymonitor.h:
2620 * gio/inotify/ginotifyfilemonitor.c:
2621 * gio/inotify/ginotifyfilemonitor.h:
2622 Add proper copyright information and remove an unused variable
2623 in the GInotifyFileMonitor constructor.
2625 * gio/gcancellable.c:
2626 Add a guard for a public function and an assertion to prevent
2627 an undefined program state.
2629 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2631 * gio/gfileattribute.c:
2632 Don't run into an assertion if the given attribute value is NULL
2633 in g_file_attribute_value_get_*() but instead return a fallback
2634 value that makes sense in most situations. Passing them a attribute
2635 value with the wrong type will still run into an assertion.
2637 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2639 * gio/gfileattribute.c:
2641 Add even more guards to the public functions. Also fix the refcounting
2642 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2643 let g_file_info_list_attributes() filter the attributes by namespace
2644 instead of simply ignoring the namespace parameter.
2646 2007-11-03 Sven Herzberg <sven@imendio.com>
2648 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2649 (This makes gio work on MacOS X again)
2651 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2654 Build the gio subdirectory before the docs. Otherwise the build will
2657 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2658 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2659 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2660 Add guards to the public functions.
2662 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2664 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2665 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2666 to prevent a compiler warning.
2668 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2669 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2670 return something in the non-void function find_topdir_for().
2672 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2679 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2681 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2682 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2683 * gwin32appinfo.c (g_win32_app_info_launch):
2684 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2685 envp_for_startup_id, g_desktop_app_info_launch,
2686 g_desktop_app_info_launch_uris):
2688 Give an opaque 'startup_id' string instead of 'envp'.
2689 Support empty file lists for launching new windows.
2690 Fix infinite recursion bug when launching URIs.
2692 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2695 Add guard to the new g_file_get_uri_scheme() function.
2697 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2700 Convert a g_return_val_if_fail() to setting the GError instead as
2701 otherwise applications have to verify the parameter before otherwise
2702 and the parameter might come directly from the user.
2704 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2706 * gio/inotify/ginotify*.[ch]:
2707 Add missing copyright information.
2709 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2712 Add guards in the beginning of public functions to check for valid
2713 parameters and fix a bug in copy_stream_with_progress() that could've
2714 caused writing less bytes than reading.
2715 * gio/glocalfileinfo.c:
2716 Check for a NULL parameter and set the GError accordingly then.
2717 * gio/goutputstream.c:
2718 Fix the same bug as in gfile.c that could've caused writing less bytes
2719 than reading in g_output_stream_real_splice().
2721 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2724 Use the correct gvolumeprivate.h naming
2726 2007-11-01 Christian Kellner <gicmo@gnome.org>
2729 Remove leftover "$(daemon_sources)" entry.
2731 2007-11-01 Christian Kellner <gicmo@gnome.org>
2736 Add copyright information to source files.
2738 2007-11-01 Alexander Larsson <alexl@redhat.com>
2742 Add g_file_get_uri_scheme
2744 2007-11-01 Alexander Larsson <alexl@redhat.com>
2747 * gio/gdesktopappinfo.c:
2748 * gio/gwin32appinfo.c:
2749 Add g_app_info_get_default_for_uri_scheme.
2751 2007-11-01 Alexander Larsson <alexl@redhat.com>
2754 Correct filename for gdriveprivate.h
2756 2007-10-31 Alexander Larsson <alexl@redhat.com>
2759 Rename id:value to id:file
2762 * gio/glocalfileinfo.c:
2765 2007-10-31 Alexander Larsson <alexl@redhat.com>
2767 * gio/gunixvolume.c:
2769 Remove g_volume_get_platform_id, as thats not
2770 needed with the simpler union volume monitor
2772 2007-10-31 Alexander Larsson <alexl@redhat.com>
2775 * gio/guniondrive.[ch]: Removed.
2776 * gio/gunionvolume.[ch]: Removed.
2777 Remove GUnionDrive/Volume
2779 * gio/gunionvolumemonitor.c:
2780 Simplify union volume monitor, now we
2781 only have one native volume monitor and
2782 we use the actual volumes/drives from the
2783 child monitors instead of wrapping them
2785 * gio/gnativevolumemonitor.[ch]:
2786 Base class for native volume monitors.
2787 Includes priority and get_volume_for_mountpoint
2790 Add g_file_find_enclosing_volume
2793 Remove volume name fs attribute
2794 Add readonly fs attribute
2797 Implement readonly attribute
2798 remove volume name attribute
2799 Implement find_enclosing volume
2801 * gio/gunixmounts.c:
2802 Add a volume for "/".
2804 * gio/gunixvolume.[ch]:
2805 Set better name for /
2807 * gio/gunixvolumemonitor.[ch]:
2808 Derive from GNativeVolumeMonitor
2809 Implement get_volume_for_mountpoint
2812 GVolume typedef moved to gfile.h
2814 * gio/gvolumeprivate.h:
2815 Add g_volume_get_for_mount_path
2817 2007-10-31 Alexander Larsson <alexl@redhat.com>
2819 * gio/gunixmounts.[ch]:
2820 Add cache info to unix mount listers
2821 Make getmntent use threadsafe
2822 Add is_system_internal attribute for GUnixMount
2824 * gio/gunixvolume.c:
2825 (g_unix_volume_new):
2826 Use is_system_internal instead of own code
2828 * gio/glocaldirectorymonitor.c:
2829 * gio/gunixvolumemonitor.c:
2830 Update to new gunixmounts API
2835 2007-10-30 Alexander Larsson <alexl@redhat.com>
2838 Add volume name fsinfo attribute
2841 Read volume name info
2843 * gio/gunionvolumemonitor.c:
2844 Fix infinite loops when finalizing a union volume monitor
2846 2007-10-30 Alexander Larsson <alexl@redhat.com>
2848 * gio/goutputstream.[ch]:
2849 Add splice() with default implementation
2851 * gio/gsocketoutputstream.c:
2852 (g_socket_output_stream_write):
2853 Return error on cancellation correctly.
2855 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2857 * gio/glocalfile.c (g_local_file_trash):
2858 Do not leak a string.
2860 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2862 * gio/gfile.c (g_file_load_contents):
2863 Unref the stream after closing it.
2865 2007-10-25 Alexander Larsson <alexl@redhat.com>
2867 * gio/gioscheduler.h:
2870 2007-10-25 Alexander Larsson <alexl@redhat.com>
2874 Add g_file_has_uri_scheme and implement for local files
2876 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2878 * gio/gdesktopappinfo.c: do not leak a string.
2880 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2882 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2883 (g_local_directory_monitor_new):
2884 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2885 (g_local_file_monitor_new):
2886 Only look for the monitor type that should be used the first time
2887 and use g_qsort_with_data() instead of our own bubble sort
2890 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2893 * gio/fam/Makefile.am:
2894 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2895 * gio/fam/fam-helper.h:
2896 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2897 * gio/fam/gfamdirectorymonitor.c:
2898 * gio/fam/gfamdirectorymonitor.h:
2899 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2900 * gio/fam/gfamfilemonitor.h:
2901 * gio/glocaldirectorymonitor.c:
2902 * gio/glocaldirectorymonitor.h:
2903 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2904 * gio/glocalfilemonitor.h:
2905 * gio/inotify/Makefile.am:
2906 * gio/inotify/ginotifydirectorymonitor.c:
2907 * gio/inotify/ginotifydirectorymonitor.h:
2908 * gio/inotify/ginotifyfilemonitor.c:
2909 * gio/inotify/ginotifyfilemonitor.h:
2910 Implement the FAM and Inotify monitors as
2911 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2912 their own GIO module. GLocal(Directory|File)Monitor will use the
2913 monitor with the highest rank that is supported on that machine.
2915 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2918 Change GIO module dir to $(libdir)/gio/modules and change
2919 the log domain from GVFS to GIO. Also only export symbols starting
2920 with g_ in the resulting library.
2921 * gio/test-streams.c: (main):
2922 Set log handler for the GIO log domain.
2924 2007-10-22 Alexander Larsson <alexl@redhat.com>
2926 * gio/gfilenamecompleter.[ch]:
2927 Add g_filename_completer_set_dirs_only
2929 2007-10-22 Alexander Larsson <alexl@redhat.com>
2932 * gio/gurifuncs.[ch]:
2933 Add some simple URI helpers
2935 * gio/gfilenamecompleter.[ch]:
2936 Added object for filename (parse name actually) completion
2939 Handle ~ in parse names
2941 2007-10-17 Alexander Larsson <alexl@redhat.com>
2944 * gio/glocalfileinfo.c:
2945 Add and implement id:value attribute
2947 2007-10-17 Alexander Larsson <alexl@redhat.com>
2950 * gio/guniondrive.c:
2952 Add and implement g_drive_has_volumes
2954 2007-10-17 Alexander Larsson <alexl@redhat.com>
2957 * gio/glocalfileinfo.[ch]:
2958 Add unix:is_mountpoint and implement for local files
2960 2007-10-16 Alexander Larsson <alexl@redhat.com>
2962 * gio/gunionvolumemonitor.c:
2963 (g_union_volume_monitor_init):
2964 Fix up the unix type getting so that it works with gcc
2966 2007-10-12 Alexander Larsson <alexl@redhat.com>
2969 * gio/glocalfileinfo.c:
2970 Add thumbnail:failed to file info
2972 2007-10-12 Richard Hult <richard@imendio.com>
2974 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2975 optimizing away the get_type call (happens with some gcc versions,
2976 like the one shipped with OS X 10.4).
2978 2007-10-12 Alexander Larsson <alexl@redhat.com>
2980 * gio/glocalfileinfo.c:
2981 (_g_local_file_info_set_attribute):
2982 Fix build if not HAVE_XATTR
2983 Patch from Milosz Derezynski <internalerror@gmail.com>
2985 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2987 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2988 around for review, otherwise I would have asked you before
2991 2007-10-11 Alexander Larsson <alexl@redhat.com>
2994 Add thumbnail:path attribute
2996 * gio/glocalfileinfo.c:
2997 Implement thumbnail:path for local files
2999 2007-10-11 Alexander Larsson <alexl@redhat.com>
3001 * gio/glocalfileinfo.c:
3002 (_g_local_file_info_get):
3003 Avoid duplicate icon names
3005 2007-10-11 Alexander Larsson <alexl@redhat.com>
3007 * gio/gthemedicon.[ch]:
3008 Change g_themed_icon_get_names return type to const
3010 2007-10-10 Alexander Larsson <alexl@redhat.com>
3012 * gio/glocalfileinfo.c:
3013 Don't reference freed memory
3015 2007-10-10 Alexander Larsson <alexl@redhat.com>
3017 * gio/gfileattribute.c:
3020 * gio/glocalfileinfo.c:
3023 2007-10-10 Alexander Larsson <alexl@redhat.com>
3026 Check for NULL icons
3028 * gio/gfileattribute.c:
3029 Don't dup when getting objects (same as for string attributes)
3031 * gio/gicon.c (g_icon_equal):
3032 Safely handle NULLs in equal
3034 2007-10-10 Alexander Larsson <alexl@redhat.com>
3037 Fix c++ compilation issues
3038 Patch from Milosz Derezynski <internalerror@gmail.com>
3040 2007-10-10 Alexander Larsson <alexl@redhat.com>
3042 * programs/gio-monitor-dir.c:
3043 Don't crash if dir monitor not supported.
3045 2007-10-09 Alexander Larsson <alexl@redhat.com>
3048 Add missing G_END_DECLS
3050 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3052 * gio/gfile.c: (g_file_set_display_name),
3053 (g_file_query_settable_attributes),
3054 (g_file_query_writable_namespaces):
3055 Return NULL not FALSE on errors as the return type is a pointer.
3057 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3059 * gio/glocalfile.c: (g_local_file_monitor_file):
3060 Don't call monitor_file on the default interface vtable (which
3061 is NULL) but simply return NULL. The caller, GFile, will create a
3062 polling monitor if NULL is returned.
3064 2007-10-09 Alexander Larsson <alexl@redhat.com>
3068 * gio-unix-2.0.pc.in:
3069 Add gio-unix-2.0.pc if OS_UNIX
3072 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3074 2007-10-09 Alexander Larsson <alexl@redhat.com>
3076 * gio/gunixmounts.[ch]:
3077 Make unix mount monitoring API sane.
3078 Now its just a object with mounts_changed
3079 and mountpoints_changed signals.
3081 * gio/glocaldirectorymonitor.c:
3082 * gio/gunixvolumemonitor.c:
3083 Use new mount monitor api
3085 2007-10-09 Alexander Larsson <alexl@redhat.com>
3087 * gio/gunixmounts.[ch]:
3088 Move guess type into one call for mounts and one for mountpoints
3091 * gio/gunixvolume.c:
3094 2007-10-09 Alexander Larsson <alexl@redhat.com>
3096 * gio/gunixmounts.[ch]:
3097 Remove _ prefix in preparation to make this semi-public
3098 Hide implementation of structs
3100 * gio/glocaldirectorymonitor.c:
3102 * gio/gunixvolume.c:
3103 * gio/gunixvolumemonitor.c:
3104 Update for above API changes
3106 2007-10-08 Alexander Larsson <alexl@redhat.com>
3109 Better polling fallback. This also handles the case where we have
3110 a monitor_file implementation, but it fails.
3112 2007-10-08 Alexander Larsson <alexl@redhat.com>
3116 * gio/gunixmounts.c:
3117 * programs/gio-monitor-dir.c:
3118 * programs/gio-monitor-file.c:
3119 Added cancellable to file monitoring calls.
3120 These are really sync calls and need this.
3122 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3124 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3125 (g_local_vfs_class_init):
3126 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3127 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3129 2007-10-05 Alexander Larsson <alexl@redhat.com>
3131 * gio/gdirectorymonitorprivate.h:
3132 * gio/gfilemonitorprivate.h:
3133 * gio/gdirectorymonitor.h:
3134 * gio/gfilemonitor.h:
3135 Remove *private.h and move to the public API, so that
3136 we can do implementations outside gio (such as in gvfs)
3138 * gio/gdirectorymonitor.c:
3139 * gio/gfilemonitor.c:
3140 * gio/glocaldirectorymonitor.c:
3141 * gio/gpollfilemonitor.c:
3142 * gio/inotify/inotify-helper.c:
3143 * gio/fam/fam-helper.c:
3144 Update to the new header names
3146 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3148 * gio/gdirectorymonitor.c:
3149 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3152 2007-10-04 Alexander Larsson <alexl@redhat.com>
3154 * gio/glocalfileinfo.c (get_access_rights):
3155 Set CAN_TRASH when we can move the file.
3156 We should really also check for a parent trash dir.
3158 2007-10-04 Alexander Larsson <alexl@redhat.com>
3160 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3161 Add can_trash access attribute
3163 2007-10-04 Alexander Larsson <alexl@redhat.com>
3166 (g_local_file_trash):
3167 Create info file first. This is per-spec and allows
3168 us to actually trash directories.
3170 2007-10-02 Alexander Larsson <alexl@redhat.com>
3172 * gio/gdesktopappinfo.c:
3173 Implement the new mime support code.
3174 Always set app as handling mimetype when being set as default for it
3176 2007-10-01 Alexander Larsson <alexl@redhat.com>
3178 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3179 Fix up check for xattrs:
3181 2007-10-01 Alexander Larsson <alexl@redhat.com>
3184 (g_app_info_set_as_default_for_extension):
3185 (g_app_info_add_supports_type):
3186 (g_app_info_can_remove_supports_type):
3187 (g_app_info_remove_supports_type):
3188 Make these fail nicely if not implemented
3190 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3192 * gio/glocalfileoutputstream.c:
3193 * gio/glocalfileoutputstream.h:
3198 * programs/gio-save.c:
3199 Add a GFileCreateFlags argument to operations that can create
3202 2007-10-01 Alexander Larsson <alexl@redhat.com>
3204 * gio/gappinfo.[ch]:
3205 * gio/gdesktopappinfo.c:
3206 Add more (stubbed out) mime API needed for nautilus
3208 2007-10-01 Alexander Larsson <alexl@redhat.com>
3211 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3212 Add g_app_info_set_as_default_for_extension.
3214 * gio/gdesktopappinfo.c:
3215 Dummy for g_app_info_set_as_default_for_extension
3216 Support flags in g_app_info_create_from_commandline
3218 * gio/gwin32appinfo.c:
3220 Update for API changes
3222 * gio/gthemedicon.c:
3223 Properly NULL-terminate list of icon names
3225 2007-09-28 Alexander Larsson <alexl@redhat.com>
3227 * gio/gloadableicon.h:
3228 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3230 2007-09-28 Alexander Larsson <alexl@redhat.com>
3233 Install headers in $includedir/gio-standalone/
3235 * gio-2.0.pc.in: Added.
3236 * gio-standalone.pc.in: Removed.
3239 Renamed pkg-config file to match glib (for future move)
3240 Update to the new include dir
3243 Add more TODO comments
3245 2007-09-28 Alexander Larsson <alexl@redhat.com>
3247 * gio/gdesktopappinfo.[ch]:
3248 Expose new_from_filename
3249 Add getter for is_hidden and handle it better
3251 2007-09-28 Alexander Larsson <alexl@redhat.com>
3253 * gio/gfileinfo.[ch]:
3254 Rename g_file_size_format_for_display to
3255 g_format_file_size_for_display.
3256 Now it doesn't have the g_file prefix, so we
3257 can later move it to glib.
3259 2007-09-28 Alexander Larsson <alexl@redhat.com>
3261 * gio/gappinfo.[ch]:
3262 Add g_app_info_get_id and g_app_info_get_executable.
3263 Make all getters non-reffing
3264 Make g_app_info_launch take GFile arguments.
3265 Add must_support_uris argument to g_app_info_get_default_for_type.
3267 * gio/gwin32appinfo.c:
3268 Update to GAppInfo api changes
3270 * gio/gdesktopappinfo.c:
3271 Update to GAppInfo api changes
3272 Implement supports_xdg_startup_notify
3274 * gio/gfileicon.c (g_file_icon_get_file):
3275 Make getter non-reffing.
3280 2007-09-27 Alexander Larsson <alexl@redhat.com>
3282 * gio/gfileinfo.[ch]:
3283 Add g_file_size_format_for_display helper
3285 2007-09-27 Alexander Larsson <alexl@redhat.com>
3287 * gio/glocalfileinfo.c:
3288 Set UNIX_GID from gid, not from uid
3290 2007-09-27 Alexander Larsson <alexl@redhat.com>
3293 Add g_file_set_attributes_async
3295 2007-09-27 Alexander Larsson <alexl@redhat.com>
3297 * gio/glocalfile.c (g_local_file_set_display_name):
3298 Fix set_display_name to actually rename to the right place.
3299 Use lstat to look for existing files so we don't overwrite
3302 2007-09-26 Alexander Larsson <alexl@redhat.com>
3305 Add g_file_set_display_name_async()
3307 2007-09-26 Alexander Larsson <alexl@redhat.com>
3310 Add load_partial_contents async calls
3313 Make internal function static
3315 2007-09-26 Alexander Larsson <alexl@redhat.com>
3317 * gio/glocalfileinfo.c:
3318 Correctly detect broken symlinks
3320 2007-09-26 Alexander Larsson <alexl@redhat.com>
3322 * gio/gcancellable.c (g_cancellable_cancel):
3323 Allow cancel on NULL cancellable
3325 2007-09-25 Alexander Larsson <alexl@redhat.com>
3327 * gio/gsimpleasyncresult.c:
3328 Don't allocate g_error manually.
3329 Fixes g_slice/g_new mixup crash
3331 2007-09-25 Alexander Larsson <alexl@redhat.com>
3333 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3334 Actually set active_backend.
3335 This means the monitor will be cancelled correctly.
3337 2007-09-25 Alexander Larsson <alexl@redhat.com>
3339 * gio/gdirectorymonitor.c:
3340 Set timeout to NULL when destroying
3342 2007-09-25 Alexander Larsson <alexl@redhat.com>
3345 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3346 that is a better description of the error.
3348 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3350 * gio/gvfs.c: (g_vfs_get_local):
3351 Make the local vfs variable static. The same instance should
3354 2007-09-24 Alexander Larsson <alexl@redhat.com>
3356 * gio/glocalfileinfo.c:
3357 Pass in actual length read into sniffer, not the length
3360 2007-09-21 Alexander Larsson <alexl@redhat.com>
3362 * gio/gfileenumerator.c:
3365 * gio/gfileinputstream.c:
3366 * gio/gfileoutputstream.c:
3367 * gio/ginputstream.c:
3368 * gio/goutputstream.c:
3369 Don't crash if async callbacks are NULL
3371 2007-09-20 Alexander Larsson <alexl@redhat.com>
3374 Add async enumerate_children method and default
3377 2007-09-20 Alexander Larsson <alexl@redhat.com>
3380 Add g_file_contains_file & g_file_get_relative_path, since they
3381 were needed for nautilus.
3382 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3387 Implement new methods
3389 2007-09-17 Alexander Larsson <alexl@redhat.com>
3392 * gio/gfileinputstream.[ch]:
3393 * gio/gfileoutputstream.[ch]:
3395 * gio/glocalfileenumerator.[ch]:
3396 * gio/glocalfileinfo.[ch]:
3397 * gio/glocalfileinputstream.c:
3398 * gio/glocalfileoutputstream.c:
3399 * gio/gpollfilemonitor.c:
3400 * programs/gio-copy.c:
3401 * programs/gio-info.c:
3402 * programs/gio-move.c:
3403 Rename get_file_info to query_info() to make it clearer
3404 that these are not simple getters, but do i/o.
3406 2007-09-17 Alexander Larsson <alexl@redhat.com>
3408 * gio/gdatainputstream.[ch]:
3409 * gio/test-streams.c:
3410 Use _read_XXX instead of _get_XXX for the i/o calls
3413 2007-09-17 Alexander Larsson <alexl@redhat.com>
3416 Added needed stuff to TODO comment
3418 2007-09-17 Alexander Larsson <alexl@redhat.com>
3420 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3421 Don't error out removing the backup copy if it doesn't
3424 2007-09-14 Alexander Larsson <alexl@redhat.com>
3426 * programs/Makefile.am:
3427 * programs/gvfs-*.c:
3429 Renamed apps from gvfs-xxx to gio-xxx.
3431 2007-09-14 Alexander Larsson <alexl@redhat.com>
3434 * gio/gfileoutputstream.[ch]:
3435 * gio/glocalfileoutputstream.c:
3436 * programs/gvfs-save.c:
3437 g_file_output_stream_get_etag doesn't do i/o, so remove
3438 cancellation and error.
3440 2007-09-14 Alexander Larsson <alexl@redhat.com>
3443 Add new_etag output to replace_contents functions
3445 2007-09-14 Alexander Larsson <alexl@redhat.com>
3447 * gio/gfileoutputstream.[ch]:
3448 Add async get_file_info and default implementation
3450 2007-09-14 Alexander Larsson <alexl@redhat.com>
3452 * gio/gfileinputstream.c:
3453 Implement fallback wrapper for async get_file_info
3455 2007-09-14 Alexander Larsson <alexl@redhat.com>
3458 Add etag out argument to load_contents
3463 2007-09-14 Alexander Larsson <alexl@redhat.com>
3465 * gio/gcontenttype.c (looks_like_text):
3466 Whitespace like tab, cr and lf do not make the
3469 2007-09-14 Alexander Larsson <alexl@redhat.com>
3471 * gio/gfileinputstream.[ch]:
3472 Add async get_file_info.
3474 2007-09-13 Alexander Larsson <alexl@redhat.com>
3476 * gio/goutputstream.c (g_output_stream_write_all):
3477 Allow NULL for bytes_written
3479 2007-09-13 Alexander Larsson <alexl@redhat.com>
3481 * gio/gmemoryinputstream.[ch]:
3482 Add accessors for data
3484 2007-09-13 Alexander Larsson <alexl@redhat.com>
3486 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3487 Don't crash if length is NULL