1 2008-02-11 Matthias Clasen <mclasen@redhat.com>
3 * === Released 2.15.5 ===
5 2008-02-11 Matthias Clasen <mclasen@redhat.com>
7 * gio.symbols: Add g_mount_mount_flags_get_type.
9 2008-02-11 Alexander Larsson <alexl@redhat.com>
12 (g_file_info_set_attribute_mask):
13 (g_file_attribute_matcher_matches_id):
14 Correctly handle NULL GAttributeMatcher meaning
15 matches nothing. (Fixes #513492)
17 2008-02-11 Alexander Larsson <alexl@redhat.com>
22 Added GMountMountFlags enum and added a flags
23 argument to all mount calls.
25 This is an API/ABI change for future extensibility,
26 as I think we will need at least an
27 inhibit-autorun flag (the panel needs this).
28 There are no flags defined yet though.
30 2008-02-11 Alexander Larsson <alexl@redhat.com>
33 Added new standard::description attribute.
34 Requested by Vincent, and useful for both
37 2008-02-11 Alexander Larsson <alexl@redhat.com>
42 2008-02-11 Matthias Clasen <mclasen@redhat.com>
44 * *.c: Documentation additions
46 2008-02-10 Matthias Clasen <mclasen@redhat.com>
48 * gappinfo.h: Formatting cleanup
49 * gappinfo.c: Fix up docs.
51 2008-02-09 Matthias Clasen <mclasen@redhat.com>
53 * gunixmounts.c: Consistently use getmntent_r() and fall
54 back to getmntent(). (#515492)
56 2008-02-09 Matthias Clasen <mclasen@redhat.com>
58 * gbufferedinputstream.c:
60 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
62 * tests/data-input-stream.c:
63 * tests/data-output-stream.c: Portability fixes.
65 2008-02-08 Alexander Larsson <alexl@redhat.com>
70 Add g_volume_should_automount.
73 2008-02-07 Tor Lillqvist <tml@novell.com>
75 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
76 Win32, too Unix-specific.
78 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
80 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
81 a local plt if the compiler doesn't support what we want. Bug #514702
83 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
85 reviewed by: <delete if not using a buddy>
89 * gunixoutputstream.c:
91 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
94 * tests/live-g-file.c:
95 * tests/live-g-file.txt:
96 New GIO testing module working over real data
98 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
100 * glocalfileoutputstream.c (g_local_file_output_stream_close):
101 Fallback to rename() if link() is not available
102 (when no support on target filesystem)
104 2008-02-06 Michael Natterer <mitch@imendio.com>
106 * gfileinfo.c (g_file_info_get_icon): replace
107 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
109 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
111 * gfile.c (g_file_create):
112 Documentation update of error codes
114 2008-02-06 Alexander Larsson <alexl@redhat.com>
117 Update to use both mimeapps.list and
118 defaults.list as discussed on xdg list.
120 2008-02-06 Benjamin Otte <otte@gnome.org>
123 * gfilenamecompleter.c:
124 Fix some typos in the documentation.
126 2008-02-06 Alexander Larsson <alexl@redhat.com>
128 * glocalfile.c (g_local_file_trash):
129 Don't succeed with trash if newly created
130 trash dir has the wrong owner. (#514696)
132 2008-02-05 Alexander Larsson <alexl@redhat.com>
134 * glocalfile.c (g_local_file_move):
135 Don't spew warnings when destination is not
138 2008-02-03 Hans Breuer <hans@breuer.org>
140 * makefile.msc : update
142 2008-02-01 Michael Natterer <mitch@imendio.com>
144 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
145 return value of xdg_mime_list_mime_parents() to a variable of the
148 2008-02-01 Alexander Larsson <alexl@redhat.com>
150 * gappinfo.c (g_app_info_launch_uris):
151 Actually call the launch_uris method, not
154 2008-02-01 Alexander Larsson <alexl@redhat.com>
156 * gdesktopappinfo.c (g_desktop_app_info_equal):
157 Ensure appinfos with no id but same pointer value
160 2008-02-01 Alexander Larsson <alexl@redhat.com>
162 * gappinfo.c (g_app_info_launch_default_for_uri):
165 2008-02-01 Alexander Larsson <alexl@redhat.com>
169 Add g_app_info_launch_default_for_uri utility
172 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
175 Doc fix for g_app_info_get_default_for_uri_scheme ()
178 2008-01-30 Alexander Larsson <alexl@redhat.com>
181 Add doc comment about uris vs GFiles to
185 Ensure uris passed to g_app_info_launch_uris()
186 are not roundtriped through GFile (as that
187 may be slightly destructive for e.g. mailto: links)
189 2008-01-30 Alexander Larsson <alexl@redhat.com>
191 * tests/data-input-stream.c:
192 * tests/data-output-stream.c:
193 C89 fixes from Jens Granseuer (#512849)
195 2008-01-30 Alexander Larsson <alexl@redhat.com>
198 Fix gamin/fam difference build issue. (#509419)
200 2008-01-29 Alexander Larsson <alexl@redhat.com>
204 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
206 2008-01-29 Alexander Larsson <alexl@redhat.com>
210 giomodule-priv.h include moved to .c file.
212 2008-01-29 Alexander Larsson <alexl@redhat.com>
214 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
215 Remove unused prio/name fields.
217 2008-01-29 Alexander Larsson <alexl@redhat.com>
219 * gcontenttype.c (looks_like_text):
220 Don't treat whitespace as control chars.
222 2008-01-29 Alexander Larsson <alexl@redhat.com>
225 Lazily create the desktop files for appinfos created
226 by g_app_info_create_from_commandline() when needed
227 for mime associations. This allows run-time use
228 of GAppInfo object without creating unnecessary
231 2008-01-29 Alexander Larsson <alexl@redhat.com>
234 Added new symbols to gio.symbols
236 2008-01-29 Alexander Larsson <alexl@redhat.com>
239 Add g_file_query_default_handler utility to easily look up
240 the GAppInfo that handles a file.
242 * gdesktopappinfo.[ch]:
244 Set up an extension point for g_app_info_get_default_for_uri_scheme()
247 Remove unused function
249 2008-01-29 Alexander Larsson <alexl@redhat.com>
252 Mention need to free returned value in
253 g_file_enumerator_next_files_finish docs.
254 Fix leak if g_file_enumerator_next_files_finish()
257 2008-01-29 Alexander Larsson <alexl@redhat.com>
260 (_g_unix_content_type_get_parents):
261 Use list_parents, not get_parents from xdgmime, because
262 the later doesn't use the cache.
264 * xdgmime/xdgmimecache.c:
265 (_xdg_mime_cache_list_mime_parents):
266 Don't list the same type as parent multiple times.
268 2008-01-28 Matthias Clasen <mclasen@redhat.com>
270 * === Released 2.15.4 ===
272 2008-01-28 Alexander Larsson <alexl@redhat.com>
275 Register local vfs with prio 0.
278 Remove old name and prio class members
280 2008-01-28 Matthias Clasen <mclasen@redhat.com>
282 * tests/g-file.c: Disable some tests that are failing in
283 the absence of a http backend.
285 2008-01-28 Alexander Larsson <alexl@redhat.com>
289 Add registration hooks for extension points.
290 Register the gio extension points.
292 * fam/gfamdirectorymonitor.c:
293 * fam/gfamfilemonitor.c:
294 * glocaldirectorymonitor.[ch]:
295 * glocalfilemonitor.[ch]:
296 * gnativevolumemonitor.h:
297 * gunionvolumemonitor.c:
298 * gunixvolumemonitor.c:
301 * inotify/ginotifydirectorymonitor.c:
302 * inotify/ginotifyfilemonitor.c:
303 Use the extension points registration instead
304 of g_type_children().
306 2008-01-28 Matthias Clasen <mclasen@redhat.com>
309 * gvolume.[hc]: Document new API.
311 * gfile.c (g_file_copy_async): Fix docs
313 2008-01-27 Matthias Clasen <mclasen@redhat.com>
315 * gbufferedinputstream.c:
317 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
320 2008-01-27 Matthias Clasen <mclasen@redhat.com>
322 * glocalfile.c: Avoid trivial differences in translatable strings.
324 2008-01-25 Matthias Clasen <mclasen@redhat.com>
326 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
327 build with gcc 3.4 (#509419)
329 2008-01-25 Matthias Clasen <mclasen@redhat.com>
331 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
332 (#509994, Murray Cumming)
334 2008-01-25 Matthias Clasen <mclasen@redhat.com>
336 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
337 * gioscheduler.c: Keep calling io jobs until they return FALSE;
338 this allows big jobs to be executed in chunks, instead of blocking
339 the main loop for a long time.
341 * gsimpleasyncresult.c:
342 * giofile.c: Adapt callers.
344 2008-01-25 Alexander Larsson <alexl@redhat.com>
347 Implement changes discussed on xdg list.
348 Now we can add supported mimetypes by just using defaults.list
349 We can also remove associations in defaults.list.
351 2008-01-25 Alexander Larsson <alexl@redhat.com>
354 Don't make local copy of desktop file
355 for mimetype changes if the file already
356 supports the new mimetype.
358 2008-01-25 Matthias Clasen <mclasen@redhat.com>
362 * gbufferedinputstream.c:
363 * glocalfile.c: String improvements. (#511966,
364 Theppitak Karoonboonyanan)
366 2008-01-24 Matthias Clasen <mclasen@redhat.com>
368 * gioscheduler.h: Expand docs a bit.
370 2008-01-24 Alexander Larsson <alexl@redhat.com>
373 Add g_drive_get_identifier and
374 g_drive_enumerate_identifiers
377 Add g_volume_get_identifier and
378 g_volume_enumerate_identifiers
384 Implement identifiers for unix backend
386 2008-01-24 Alexander Larsson <alexl@redhat.com>
391 Add g_file_copy_async() (#511580)
392 Based on patch from Carlos Garcia Campos
394 2008-01-23 Matthias Clasen <mclasen@redhat.com>
396 * gioscheduler.c: Some documentation additions.
398 2008-01-22 Alexander Larsson <alexl@redhat.com>
401 (g_desktop_app_info_new):
404 2008-01-22 Alexander Larsson <alexl@redhat.com>
407 (g_desktop_app_info_new_from_filename):
410 2008-01-22 Alexander Larsson <alexl@redhat.com>
412 * glocalfileinfo.c (get_thumbnail_attributes):
415 2008-01-22 Alexander Larsson <alexl@redhat.com>
418 (canonicalize_filename):
419 Canonicalize paths that start with more than
424 (test_g_file_new_for_path):
427 2008-01-22 Alexander Larsson <alexl@redhat.com>
430 Allow UTF-8 in file:// parse names.
433 * tests/data-input-stream.c:
434 * tests/data-output-stream.c:
435 * tests/g-file-info.c:
437 Added a bunch of tests from Tomas Bzatek
439 2008-01-21 Matthias Clasen <mclasen@redhat.com>
441 * === Released 2.15.3 ===
443 2008-01-21 Alexander Larsson <alexl@redhat.com>
445 * gfileinputstream.[ch]:
446 * gfileoutputstream.[ch]:
448 Remove duplicated GSeekable functions. (#509990)
449 Just use the g_seekable_xxx() calls instead.
451 2008-01-21 Matthias Clasen <mclasen@redhat.com>
454 * gvolumemanager.c: Whitespace cleanups.
456 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
457 Use the right mode when creating the file.
459 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
462 * gfileinputstream.c:
464 * goutputstream.c: Documentation: Fixed minor typos
465 and added more mentions of specific _finish() functions.
467 2008-01-21 Alexander Larsson <alexl@redhat.com>
469 * inotify/Makefile.am:
470 * inotify/inotify-helper.c:
471 * inotify/inotify-kernel.c:
472 * inotify/inotify-path.c:
473 * inotify/local_inotify.h: Removed.
474 * inotify/local_inotify_syscalls.h: Removed.
475 Removed the included copies of the inotify
476 headers. We now only use the <sys/inotify.h>
477 header which exists on modern systems.
478 This fixes problems on ARM and SH5 (#510448)
479 but is also generally much cleaner and future
480 safe. For instance, if other OSes add support
481 for inotify it should "just work".
483 2008-01-20 Matthias Clasen <mclasen@redhat.com>
485 * inotify/*.c: Coding style fixes.
486 * inotify/inotify-missing.c: Use g_timeout_add_seconds
487 for the 1/4 Hz timer.
489 2008-01-20 Matthias Clasen <mclasen@redhat.com>
493 * gmemoryinputstream.c:
494 * gmemoryoutputstream.c:
496 * gthemedicon.c: Documentation updates
498 2008-01-20 Murray Cumming <murrayc@murrayc.com>
500 * gfile.c: documentation: Fixed more minor
503 2008-01-18 Murray Cumming <murrayc@murrayc.com>
505 * gmount.c: (g_mount_remount): documentation:
506 Mention g_mount_remount_finish() instead of
507 g_mount_unmount_finish().
509 2008-01-18 Murray Cumming <murrayc@murrayc.com>
513 * gfile.c: Fixed some minor typos in the
516 2008-01-18 Murray Cumming <murrayc@murrayc.com>
518 * gio/gvolumemonitor.c:
519 (g_volume_monitor_get_connected_drives):
520 (g_volume_monitor_get_volumes):
521 (g_volume_monitor_get_mounts): Documentation:
522 Clarify the ownership of the regurn GLists.
524 2008-01-17 Alexander Larsson <alexl@redhat.com>
527 Add the async find_enclosing_mount version
528 to the header file too.
530 2008-01-17 Alexander Larsson <alexl@redhat.com>
533 Add async version of find_enclosing_mount
534 with default implementation.
536 2008-01-17 Alexander Larsson <alexl@redhat.com>
541 Allow calls to implementation of copy and write
542 even if the type of the file implementations is
543 different. This can be used to implement native
544 upload and download calls in a vfs.
548 Protect against the case where move is called
549 with one file not being local.
551 Make sure we call the progress callback once
552 in the native move operation so that the caller
553 knows how many bytes were copied.
555 2008-01-16 Murray Cumming <murrayc@murrayc.com>
558 * gdatainputstream.c:
560 * gfileoutputstream.c:
565 * gunixmounts.c: Corrected some typos in the documentation:
567 its -> it's (where appropriate).
569 2008-01-16 Alexander Larsson <alexl@redhat.com>
573 Add g_file_query_exists (#508771)
575 2008-01-15 Murray Cumming <murrayc@murrayc.com>
580 * gvolume.c: For async functions that have no non-async
581 version, document that the GAsyncReadyCallback may be NULL.
584 2008-01-15 Alexander Larsson <alexl@redhat.com>
586 * gmemoryinputstream.c:
587 * gmemoryoutputstream.c:
588 Don't do pointer arithmetic on void * (#508602)
589 Patch from Kazuki IWAMOTO
591 2008-01-14 Matthias Clasen <mclasen@redhat.com>
593 * === Released 2.15.2 ===
595 2008-01-14 Alexander Larsson <alexl@redhat.com>
597 * gfile.c (g_file_monitor_file):
598 Don't set error here, since we fallback to polling monitor.
600 2008-01-14 Alexander Larsson <alexl@redhat.com>
603 (g_file_monitor_directory):
604 (g_file_monitor_file):
605 Add GError to file monitor calls
607 * glocaldirectorymonitor.c:
608 * glocaldirectorymonitor.h:
610 * glocalfilemonitor.c:
611 * glocalfilemonitor.h:
613 Update for above change
615 2008-01-14 Alexander Larsson <alexl@redhat.com>
619 Handle root correctly in g_file_get_relative_path (#508719)
621 2008-01-14 Alexander Larsson <alexl@redhat.com>
624 Clean up docs and example for GAsyncResult (#508074)
626 2008-01-11 Murray Cumming <murrayc@murrayc.com>
628 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
629 and correct some spelling mistakes. Bug #508108.
631 2008-01-11 Matthias Clasen <mclasen@redhat.com>
633 * glocalfileinfo.c: Add a comment.
635 2008-01-10 Murray Cumming <murrayc@murrayc.com>
637 * gfileinfo.c: GFileInfo description: Mention
638 how to actually set attributes in a GFile and how to discover
639 which attributes are settable. Bug #508378.
641 2008-01-10 A. Walton <awalton@svn.gnome.org>
643 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
644 (g_app_info_get_default_for_type):
645 Check for NULL content types.
647 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
649 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
651 2008-01-09 Murray Cumming <murrayc@murrayc.com>
653 * gfile.c: *_async() functions: Several small corrections
654 to the documentation, mostly correcting copy/paste errors
655 and improving some sentences.
657 2008-01-09 Dan Winship <danw@gnome.org>
659 * glocalfile.c (get_unique_filename): x86_64 fix
661 2008-01-09 Alexander Larsson <alexl@redhat.com>
666 Add g_unix_mount_guess_should_display and use
667 for unix volume monitor backend.
668 This means we more or less show what the
669 gnome-vfs backend did.
670 Based on patch from Padraig O'Briain
672 2008-01-09 Alexander Larsson <alexl@redhat.com>
676 Add g_themed_icon_new_with_default_fallbacks
679 Use default fallbacks for icons
681 2008-01-09 Alexander Larsson <alexl@redhat.com>
684 * gmountoperation.[ch]:
685 Change the API a bit so that unhandled methods
686 get reported via the reply, rather than by
687 the signal emission return value. This is because
688 some handlers can't know this immediately without
689 doing I/O, and this is an async operation that
692 2008-01-09 Alexander Larsson <alexl@redhat.com>
695 * fam/gfamdirectorymonitor.c:
696 * fam/gfamfilemonitor.c:
697 Fix double free crash (#508224)
698 Patch from Joe Marcus Clarke
700 008-01-07 Matthias Clasen <mclasen@redhat.com>
702 * === Released 2.15.1 ===
704 2008-01-07 Alexander Larsson <alexl@redhat.com>
706 * gunixinputstream.c (g_unix_input_stream_skip_finish):
707 Fix warning (#507835)
709 2008-01-07 Alexander Larsson <alexl@redhat.com>
712 Pass --internal to glib-genmarshal
717 Use better types for signal arguments (#507822)
719 2008-01-07 Alexander Larsson <alexl@redhat.com>
722 Build test subdir after .
723 Remove gdirectorymonitor.[ch]
725 * gdirectorymonitor.[ch]:
729 Remove GDirectoryMonitor and make
730 GFileMonitor the baseclass for both file and
731 directory monitors. Lift the more generic
732 rate limiting code from GDirectoryMonitor
736 * fam/gfamdirectorymonitor.[ch]:
737 * inotify/ginotifydirectorymonitor.[ch]:
738 * inotify/inotify-helper.c:
739 * glocaldirectorymonitor.[ch]:
742 Update for the removed GDirectoryMonitor.
744 * gmemoryoutputstream.c:
745 Remove ununsed variable
747 2008-01-07 Alexander Larsson <alexl@redhat.com>
749 * gmemoryinputstream.c:
750 Translate error strings
753 * gmemoryoutputstream.[ch]:
754 New implementation that avoids using GByteArray
755 in implementation and API. (#506377)
757 2008-01-06 Matthias Clasen <mclasen@redhat.com>
759 * tests/*: Add a test for memory input streams.
761 * Makefile.am: Add tests to SUBDIRS.
763 2008-01-06 Matthias Clasen <mclasen@redhat.com>
765 * glocalfilemonitor.c:
766 * glocaldirectorymonitor.c: Mark property nicks and blurbs
769 2008-01-06 Matthias Clasen <mclasen@redhat.com>
771 * gdesktopappinfo.c: Fix a docs typo.
773 * gfileattribute.c: Add information about extended attributes
774 to the documentation. (#505058)
776 2008-01-04 Alexander Larsson <alexl@redhat.com>
780 Use the right type (uint) for the ask_password signal.
782 2008-01-04 Alexander Larsson <alexl@redhat.com>
787 Add g_app_info_supports_files()
788 Remove desktop arg from g_app_info_should_show().
790 * gdesktopappinfo.[ch]:
791 Implement g_app_info_supports_files() and new should_show()
792 Add g_desktop_app_info_set_desktop_env() to set the desktop
793 for should_show(). (This will be set by gtk+ later)
795 2008-01-04 Alexander Larsson <alexl@redhat.com>
798 * gmemoryinputstream.[ch]:
799 Improve API so that you can use multiple chunks
800 of memory and custom destroy functions. (#506374)
802 2008-01-03 Alexander Larsson <alexl@redhat.com>
805 Handle NULL attribute matchers safely, as we return this
806 for empty attribute matcher strings.
808 2008-01-03 Alexander Larsson <alexl@redhat.com>
810 * gunixmounts.c (g_unix_is_mount_path_system_internal):
811 Add /usr/local to list of internal mountpoints
813 2008-01-03 Alexander Larsson <alexl@redhat.com>
816 Check for HAVE_LCHOWN (#505887)
818 2008-01-03 Alexander Larsson <alexl@redhat.com>
822 Add define for selinux context attribute.
823 Fix missing : -> :: namespace separator change
824 Fix missing _ -> - name change for xattr-sys.
827 2008-01-03 Alexander Larsson <alexl@redhat.com>
830 Link to libglib and libgobject directly (#504879)
831 Patch from Sebastien Bacher
833 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
835 * gfile.c: Expanded the g_file_new_for_commandline_arg
836 description a bit, based on the code and the docs of the
837 other g_file_new_for_* functions.
839 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
841 * gfilemonitor.h: Fixed typo in docs.
843 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
845 Updates to GIO documentation. (#506395, Mikael Hermansson)
847 * gcontenttype.c: Describe memory management for return value of
848 g_content_types_get_registered(). Missing piece from #505815.
849 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
850 GVolume, GDrive, GMounts, which hopefully gives the user less
851 confusions when using this API. Following explainations from
852 Alexander Larsson on gtk-devel-list.
854 2007-12-30 Matthias Clasen <mclasen@redhat.com>
856 * gfileinfo.c: Expand the long description.
858 2007-12-30 Matthias Clasen <mclasen@redhat.com>
861 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
862 fix builds with --disable-visibility. (#500273, Christian Persch)
864 2007-12-30 Matthias Clasen <mclasen@redhat.com>
866 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
867 in the list of returned app infos.
869 2007-12-30 Matthias Clasen <mclasen@redhat.com>
871 * gappinfo.c: Fix a cross-reference
873 2007-12-30 Matthias Clasen <mclasen@redhat.com>
875 * gfileinputstream.c:
876 * gfileoutputstream.c:
882 * gfileinfo.c: Documentation updates.
884 2007-12-26 Matthias Clasen <mclasen@redhat.com>
886 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
889 2007-12-26 Matthias Clasen <mclasen@redhat.com>
891 * gcontenttype.c (g_content_types_get_registered): Don't return
892 freed memory (#505815, Mikael Hermansson)
894 2007-12-25 Paolo Borelli <pborelli@katamail.com>
896 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
897 used to detect statbuf->st_blocks. (#505042)
899 2007-12-24 Matthias Clasen <mclasen@redhat.com>
901 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
902 environment handling. (#504829, Cosimo Cecchi)
904 2007-12-22 Matthias Clasen <mclasen@redhat.com>
906 * gappinfo.c: Doc improvements
908 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
911 2007-12-20 Matthias Clasen <mclasen@redhat.com>
913 * === Released 2.15.0 ===
915 2007-12-20 Hans Breuer <hans@breuer.org>
917 * makefile.msc : don't build gdesktopappinfo.obj, it collides
918 with symbols gwin32appinfo.obj, added gmount.obj
919 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
921 2007-12-20 Alexander Larsson <alexl@redhat.com>
927 * gfilenamecompleter.c:
930 * gpollfilemonitor.c:
931 File attribute renames:
934 id::fs -> id::filesystem
936 2007-12-20 Alexander Larsson <alexl@redhat.com>
945 Add GMountUnmountFlags to all unmount and
947 Add g_mount_remount() call.
949 2007-12-20 Alexander Larsson <alexl@redhat.com>
951 * gvfs.c (get_default_vfs):
952 Fix unused variable warning
954 2007-12-19 Matthias Clasen <mclasen@redhat.com>
956 * pltcheck.sh: Update
958 2007-12-19 Matthias Clasen <mclasen@redhat.com>
960 * gunionvolumemonitor.c:
961 * gunixmount.c: Remove C99 comments
963 2007-12-19 Matthias Clasen <mclasen@redhat.com>
965 * gio.symbols: Add some missing symbols
967 2007-12-19 Alexander Larsson <alexl@redhat.com>
970 Make g_io_modules_load_all_in_directory not unuse
971 loaded modules so that users of it can do stuff
973 Init internal "module" types.
974 Initialize static prio and name for types so that
975 we don't have to load modules to get it.
977 * gnativevolumemonitor.h:
979 Move is_supported to parent class so that
980 non-native monitors can avoid being initialized
981 too. (For instance GDaemonVolumeMonitor if we're
982 not using GDaemonVfs.)
984 * glocaldirectorymonitor.[ch]:
985 * glocalfilemonitor.[ch]:
986 * gunionvolumemonitor.c:
987 * gunixvolumemonitor.c:
989 Find plugins using the static prio+name to
990 avoid unnecessarily loading the modules.
992 2007-12-19 Alexander Larsson <alexl@redhat.com>
997 2007-12-19 Alexander Larsson <alexl@redhat.com>
999 * gunionvolumemonitor.c:
1000 Store the native type as GType, not class so that
1001 we can unload it. But still avoid unnecessarily
1004 2007-12-19 David Zeuthen <davidz@redhat.com>
1006 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1007 add signals 'disconnected' and 'eject-button' on GDrive. Add
1008 signal 'removed' on GVolume and 'unmounted' on GMount.
1010 * gdrive.c: (g_drive_base_init):
1012 * gfile.c: (g_file_mount_mountable),
1013 (g_file_mount_enclosing_volume):
1016 * gmount.c: (g_mount_base_init):
1018 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1019 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1020 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1024 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1026 * *.c: Fix up includes in the section docs.
1028 2007-12-17 Alexander Larsson <alexl@redhat.com>
1030 * gnativevolumemonitor.h:
1031 * gunionvolumemonitor.c:
1032 * gunixvolumemonitor.c:
1033 Add is_supported() to GNativeVolumeMonitorClass so
1034 that we can avoid having to create an object to see
1035 if the backend is supported at runtime.
1036 Also add name member and an env var to pick a specific
1037 volume monitor backend.
1041 Add cancellable to _g_mount_get_for_mount_path()
1043 * glocaldirectorymonitor.c:
1044 * glocalfilemonitor.c:
1045 Avoid loading and unloading modules while sorting.
1047 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1050 * gunixmounts.[hc]: Namespace waste reduction, move some
1051 g_get_unix_mount functions to the g_unix_mount namespace.
1054 * gunixvolumemonitor.c:
1056 * glocaldirectorymonitor.c: Update all callers.
1058 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1060 2007-12-17 Alexander Larsson <alexl@redhat.com>
1063 Add doc comments about what GFile operations are
1064 guaranteed to not block.
1066 2007-12-17 Alexander Larsson <alexl@redhat.com>
1069 Add missing #ifdef fixing OSX build.
1070 (#503334, patch from Richard Hult)
1072 2007-12-14 David Zeuthen <davidz@redhat.com>
1076 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1077 (g_mount_eject), (g_mount_eject_finish):
1079 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1080 (get_volume_for_uuid), (get_mount_for_uuid),
1081 (g_union_volume_monitor_class_init),
1082 (get_default_native_type_with_exclude), (get_default_native_type),
1083 (get_native_type), (update_native_type),
1084 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1085 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1086 (g_unix_mount_can_eject), (eject_unmount_cb),
1087 (eject_unmount_read_error), (eject_unmount_do),
1088 (g_unix_mount_unmount), (g_unix_mount_eject),
1089 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1090 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1091 (g_unix_mount_point_guess_can_eject):
1093 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1094 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1095 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1096 (g_unix_volume_mount), (g_unix_volume_eject),
1097 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1098 * gunixvolumemonitor.c: (get_volume_for_uuid),
1099 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1101 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1102 (g_volume_eject), (g_volume_eject_finish):
1104 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1105 (g_volume_monitor_get_mount_for_uuid):
1108 Provide eject() on both GMount and GVolume and utility functions
1109 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1110 ejected. Introduce the concept of UUID's and wire it into GVolume
1111 and GMount and provide API on GVolumeMonitor to find such
1112 instances. Also handle the case where an external
1113 GNativeVolumeMonitor fails to initialize. Lock around the
1114 _g_get_mount_for_mount_path() function such that volume monitor
1115 implementations won't have to do locking themselves.
1117 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1119 * gdesktopappinfo.c:
1125 * gvolume.h: Documentation updates
1127 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1130 * gfile.h: Doc updates
1132 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1135 * gdesktopappinfo.c: Use hash table iterators.
1137 2007-12-14 Alexander Larsson <alexl@redhat.com>
1140 * gfileattribute.[ch]:
1141 * gfileattribute-priv.h:
1142 Move GFileAttributeValue to a private header, as
1146 Make set_attribute take a type + a pointer instead
1147 of a GFileAttributeValue.
1150 Fix up for above changes.
1151 Add g_file_info_get_attribute_data to get
1152 all info in one call, g_file_info_get_attribute_status
1153 to get the status and g_file_info_get_attribute_as_string.
1157 * glocalfileinfo.[ch]:
1161 Make _guess_type static.
1163 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1166 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1167 made mkenums and friends use temporary files to avoid leaving
1168 empty generated files on failure (#503470).
1170 2007-12-14 Alexander Larsson <alexl@redhat.com>
1172 * gmountoperation.h:
1175 2007-12-14 Alexander Larsson <alexl@redhat.com>
1179 * gfileattribute.[ch]:
1182 * glocalfileoutputstream.c:
1183 * gmountoperation.[ch]:
1184 * goutputstream.[ch]:
1185 Clean up all flags enums to not have _FLAGS in them
1186 Make the names of some of the enums better.
1191 2007-12-14 Michael Natterer <mitch@imendio.com>
1193 * gio.symbols: fix g_io_scheduler symbol names.
1195 2007-12-14 Alexander Larsson <alexl@redhat.com>
1201 * gbufferedinputstream.h:
1202 * gbufferedoutputstream.h:
1205 * gdatainputstream.h:
1206 * gdataoutputstream.h:
1207 * gdesktopappinfo.h:
1208 * gdirectorymonitor.h:
1212 * gfileenumerator.h:
1215 * gfileinputstream.h:
1217 * gfilenamecompleter.h:
1218 * gfileoutputstream.h:
1219 * gfilterinputstream.h:
1220 * gfilteroutputstream.h:
1228 * gmemoryinputstream.h:
1229 * gmemoryoutputstream.h:
1231 * gmountoperation.h:
1234 * gsimpleasyncresult.h:
1236 * gunixinputstream.h:
1238 * gunixoutputstream.h:
1242 * inotify/Makefile.am:
1243 Only allow including <gio/gio.h> from apps
1245 2007-12-14 Alexander Larsson <alexl@redhat.com>
1247 * gioscheduler.[ch]:
1248 * gsimpleasyncresult.c:
1249 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1250 Split out the send_to_mainloop call into two versions instead
1251 of having the block argument.
1253 2007-12-13 Alexander Larsson <alexl@redhat.com>
1255 * gcancellable.[ch]:
1257 * gbufferedinputstream.c:
1258 * gfileenumerator.c:
1259 * gfileinputstream.c:
1260 * gfileoutputstream.c:
1264 g_push/pop_current_cancellable ->
1265 g_cancellable_push/pop_current
1267 2007-12-13 Alexander Larsson <alexl@redhat.com>
1271 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1273 2007-12-13 Alexander Larsson <alexl@redhat.com>
1275 * gmountoperation.h:
1276 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1278 2007-12-12 Alexander Larsson <alexl@redhat.com>
1281 Fix race condition when freeing proxy in
1282 g_io_job_send_to_mainloop().
1284 2007-12-12 Alexander Larsson <alexl@redhat.com>
1290 Make attribute namespace separator "::" instead of ":".
1291 Use - instead of _ as separator in attribute names.
1293 2007-12-12 Alexander Larsson <alexl@redhat.com>
1295 * gbufferedinputstream.h:
1296 * gbufferedoutputstream.h:
1297 * gdatainputstream.h:
1298 * gdataoutputstream.h:
1299 * gdirectorymonitor.h:
1300 * gfileenumerator.h:
1301 * gfileinputstream.h:
1303 * gfileoutputstream.h:
1304 * gfilterinputstream.h:
1305 * gfilteroutputstream.h:
1307 * glocalfileinputstream.h:
1308 * glocalfileoutputstream.h:
1309 * gmemoryinputstream.h:
1310 * gmemoryoutputstream.h:
1311 * gnativevolumemonitor.h:
1313 * gunixinputstream.h:
1314 * gunixoutputstream.h:
1317 s/parent/parent_instance/ in GObjects
1319 2007-12-12 Alexander Larsson <alexl@redhat.com>
1324 No need for padding for interfaces
1326 2007-12-12 Alexander Larsson <alexl@redhat.com>
1330 * gbufferedinputstream.c:
1331 * gbufferedoutputstream.c:
1334 * gdatainputstream.[ch]:
1335 * gdesktopappinfo.c:
1336 * gdirectorymonitor.c:
1338 * gfileattribute.[ch]:
1341 * gfileinputstream.h:
1342 * gfilemonitor.[ch]:
1343 * gfileoutputstream.[ch]:
1344 * gfilterinputstream.h:
1345 * gfilteroutputstream.h:
1348 * gloadableicon.[ch]:
1349 * gmemoryinputstream.c:
1350 * gmountoperation.c:
1352 Fix up a bunch of details in the docs.
1357 2007-12-11 David Zeuthen <davidz@redhat.com>
1359 Rework how volumes, drives and volume monitoring is
1360 done. Previosly the model was
1362 GDrive <1-1> GVolume
1364 where a GDrive instance represented a mount point and a GVolume
1365 instance represented a mounted file system. This patch changes it
1368 GDrive <1-N> GVolume <1-1> GMount
1370 where GMount now serves the purpose of the old GVolume and the new
1371 GVolume serves the purpose of the old GDrive. In addition the new
1372 GDrive interface is used to represent a collection of GVolume
1373 instances (typically partitions) and also contains utility to query
1374 the state of the physical drive the GDrive object represents (such
1375 as checking for media, polling the drive, ejecting the media etc.).
1377 Also implement mounting and unmounting in the Unix volume monitor
1378 backend. A subquent patch will introduce GDrive support for ejection
1382 * gdrive.c: (g_drive_is_media_check_automatic),
1383 (g_drive_is_media_removable), (g_drive_has_media),
1384 (g_drive_can_poll_for_media), (g_drive_eject),
1385 (g_drive_eject_finish), (g_drive_poll_for_media),
1386 (g_drive_poll_for_media_finish):
1388 * gfile.c: (g_file_find_enclosing_mount):
1391 * glocaldirectorymonitor.c:
1392 (g_local_directory_monitor_constructor), (mounts_changed):
1393 * glocalfile.c: (get_mount_info),
1394 (g_local_file_find_enclosing_mount),
1395 (g_local_file_file_iface_init):
1396 * gnativevolumemonitor.h:
1397 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1398 (get_connected_drives), (g_union_volume_monitor_class_init),
1399 (child_volume_added), (child_volume_removed),
1400 (child_volume_changed), (child_mount_added), (child_mount_removed),
1401 (child_mount_pre_unmount), (child_mount_changed),
1402 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1403 (g_union_volume_monitor_remove_monitor),
1404 (_g_mount_get_for_mount_path):
1405 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1406 (guess_system_internal), (_g_get_unix_mounts),
1407 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1408 (g_unix_mount_free), (g_unix_mount_compare),
1409 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1410 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1411 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1412 (type_to_icon), (g_unix_mount_guess_name),
1413 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1414 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1415 (_resolve_symlink), (_resolve_dev_root):
1417 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1418 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1419 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1420 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1421 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1422 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1423 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1424 (g_unix_volume_volume_iface_init):
1426 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1427 (get_mounts), (get_volumes), (get_connected_drives),
1428 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1429 (mountpoints_changed), (mounts_changed),
1430 (g_unix_volume_monitor_init),
1431 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1432 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1433 * gunixvolumemonitor.h:
1434 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1435 (g_volume_mount), (g_volume_mount_finish):
1437 * gvolumemonitor.c: (g_volume_monitor_class_init),
1438 (g_volume_monitor_get_connected_drives),
1439 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1442 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1444 * gmountoperation.h (GPasswordFlags): Close the gap
1446 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1448 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1450 * gdesktopappinfo.[hc]: Remove _-prefixes
1452 2007-12-10 Tor Lillqvist <tml@novell.com>
1454 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1457 2007-12-10 Alexander Larsson <alexl@redhat.com>
1459 * gfile.c (g_file_set_display_name):
1460 Don't hardcode '/' (#502727)
1462 2007-12-09 Hans Breuer <hans@breuer.org>
1464 * makefile.msc : follow lib naming convention
1465 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1466 for user and group name, tested with ../tests/gio-ls
1468 2007-12-09 A. Walton <awalton@svn.gnome.org>
1470 * gdesktopappinfo.c:
1476 * gfileenumerator.c:
1481 * gmemoryinputstream.c:
1482 * gmemoryoutputstream.c:
1484 * gsimpleasyncresult.c:
1485 More documentation cleanup and filling in missing information, bringing
1486 GIO to 99% symbol coverage.
1488 2007-12-08 Hans Breuer <hans@breuer.org>
1490 [gio compiles and links on win32, not sure how much already works]
1491 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1492 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1493 base on win32 API; prefer g_lstat() over lstat(); instead of
1494 localtime_r() use an all GLib implementation on win32;
1495 get_mount_info() still needs a win32 specifc implementation
1496 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1497 win32_get_file_user_info to get owner/group info without uid/gid
1498 * glocalfileinputstream.c : include <io.h> on win32
1499 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1500 definition, use g_win32_ftruncate() for G_OS_WIN32
1501 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1502 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1503 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1504 * makefile.msc : updated
1506 2007-12-07 Alexander Larsson <alexl@redhat.com>
1508 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1509 Avoid warning spew if error == NULL
1511 2007-12-07 Alexander Larsson <alexl@redhat.com>
1514 Update docs wrt etags
1516 2007-12-06 Alexander Larsson <alexl@redhat.com>
1519 Include sys/types.h for dev_t (#501919)
1521 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1525 Make abicheck and pltcheck pass.
1527 2007-12-05 Alexander Larsson <alexl@redhat.com>
1530 * giomodule-priv.h: Added.
1531 * glocaldirectorymonitor.c:
1532 * glocalfilemonitor.c:
1533 * gunionvolumemonitor.c:
1535 Actually add the declaration of _g_io_modules_ensure_loaded
1537 2007-12-05 Alexander Larsson <alexl@redhat.com>
1539 * gdatainputstream.c:
1544 * glocaldirectorymonitor.c:
1545 * glocalfilemonitor.c:
1546 * gunionvolumemonitor.c:
1548 Make g_io_modules_ensure_loaded a private function and
1549 don't pass in the dirname. This means we can do magic
1550 directory finding in the win32 version.
1551 Export the actual load-modules-in-directory code so that
1552 gvfs can reuse that.
1554 2007-12-05 Alexander Larsson <alexl@redhat.com>
1556 * gbufferedinputstream.c:
1557 * gbufferedoutputstream.c:
1560 * gfileenumerator.[ch]:
1561 * gfileinputstream.c:
1562 * gfileoutputstream.[ch]:
1563 * gfilterinputstream.c:
1564 * gfilteroutputstream.c:
1565 * ginputstream.[ch]:
1567 * glocalfileenumerator.c:
1568 * glocalfileinputstream.c:
1569 * glocalfileoutputstream.c:
1570 * gmemoryinputstream.c:
1571 * gmemoryoutputstream.c:
1572 * goutputstream.[ch]:
1575 * gunixinputstream.c:
1576 * gunixoutputstream.c:
1577 Rename all struct members named:
1578 read, write, close, truncate, or mount
1579 to foo_fn, as these are reserved names
1580 and could be defined as macros in libc.
1583 2007-12-04 Alexander Larsson <alexl@redhat.com>
1586 (g_output_stream_close):
1587 Only call flush if non-null.
1589 2007-11-30 Dan Winship <danw@gnome.org>
1591 * ginputstream.c (g_input_stream_set_pending): Make this take a
1592 GError and return a gboolean, and do the "outstanding operation"
1593 check (and the "stream is already closed" check) itself.
1594 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1596 * goutputstream.c (g_output_stream_set_pending)
1597 (g_output_stream_clear_pending): Likewise
1599 * gbufferedinputstream.c:
1600 * gfileinputstream.c:
1601 * gfileoutputstream.c: Update for that
1603 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1604 Like g_simple_async_report_error_in_idle, but takes a GError
1605 rather than building one.
1607 2007-11-30 Dan Winship <danw@gnome.org>
1609 * goutputstream.c: Don't cheat and unset the "pending" flag around
1610 inner calls. Instead, call the class method directly rather than
1611 the wrapper function that checks "pending"
1613 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1615 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1617 2007-12-03 Hans Breuer <hans@breuer.org>
1619 [start of port to win32/msvc]
1620 * gcancellable.c : HAVE_UNIST_H and _pipe()
1621 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1622 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1623 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1625 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1626 * glocalvfs.c : use HAVE_PWD_H
1627 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1628 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1629 * Makefile.am : added to EXTRA_DIST
1631 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1633 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1636 2007-12-03 Alexander Larsson <alexl@redhat.com>
1639 Handle OSX style xattrs API (#500506)
1641 2007-12-03 Alexander Larsson <alexl@redhat.com>
1645 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1647 2007-12-02 A. Walton <awalton@svn.gnome.org>
1651 Documentation accuracy fixes.
1653 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1655 * gioenumtypes.c.template: Fix typo.
1657 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1659 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1661 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1663 * gdirectorymonitor.c:
1664 * gfilemonitor.c: Add properties
1666 * gbufferedoutputstream.c: Don't mark buffer-size property
1669 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1671 * gbufferedoutputstream.c: Add auto-grow property.
1673 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1675 * *.c: Unify the capitalization of section headings.
1677 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1679 * gmountoperation.c: Add properties
1681 * gdatainputstream.c: Turn byte-order and newline-type into
1684 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1686 * gioenumtypes.[hc].template: Templates for enum registration
1688 * Makefile.am: Generate gioenumtypes.[hc]
1690 * gio.h: Include gioenumtypes.h
1692 * gfile.h: Add some explicit nicks.
1694 * gio.symbols: Add new symbols
1696 * pltcheck.sh: Adjust
1698 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1700 * *.c: Explain etags and link to the explanation
1702 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1704 * *.c: Explain I/O priority.
1706 * *.c: More coding style fixes.
1708 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1710 * gasyncresult.c: Add another paragraph to the intro,
1711 adjust coding style of example.
1713 2007-11-29 A. Walton <awalton@svn.gnome.org>
1716 Fixes unknown meaning in GAppLaunchContext docs.
1718 Clarify asynchronous ops.
1720 Fix entity tag docs.
1723 Provides missing gtk-doc section, fixes API docs slighly.
1724 * gsimpleasyncresult.c:
1725 Fill in missing info in docs.
1726 * gunixinputstream.c:
1727 * gunixoutputstream.c:
1728 Be more expressive in short description.
1730 Remove gtk-doc stubs for non-public API.
1732 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1734 * *.c: Coding style fixups
1736 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1738 * inotify/inotify-helper.c: Don't export the lock from libgio.
1740 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1743 * abicheck.sh: Fix copy-and-paste leftovers
1745 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1747 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1749 2007-11-28 Alexander Larsson <alexl@redhat.com>
1753 Removed unnecessary file
1755 * gdesktopappinfo.[ch]:
1758 * glocaldirectorymonitor.[ch]:
1760 * glocalfileenumerator.[ch]:
1761 * glocalfileinputstream.[ch]:
1762 * glocalfilemonitor.[ch]:
1763 * glocalfileoutputstream.[ch]:
1765 * gnativevolumemonitor.c:
1766 * gpollfilemonitor.[ch]:
1767 * gunionvolumemonitor.[ch]:
1770 * gunixvolumemonitor.[ch]:
1773 * inotify/ginotifydirectorymonitor.[ch]:
1774 * inotify/ginotifyfilemonitor.[ch]:
1775 * inotify/inotify-helper.c:
1776 Append _ to all internal functions
1780 Export symbols needed for modules
1782 2007-11-28 Alexander Larsson <alexl@redhat.com>
1785 * abicheck.sh: Added.
1786 * makegioalias.pl: Added.
1787 * pltcheck.sh: Added.
1788 * gio.symbols: Added.
1791 Initial work on adding symbol handling.
1794 Correct ifdef guard name
1797 * inotify/Makefile.am:
1798 * xdgmime/Makefile.am:
1799 Include toplevel Makefile.decl
1801 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1803 * gcontenttype.c: Move doc comments to the unix section.
1805 * *.[hc]: More trivial doc corrections.
1807 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1809 * gpollfilemonitor.c:
1813 * gdesktopappinfo.c:
1818 * gdatainputstream.c:
1819 * gdatainputstream.h:
1820 * gdataoutputstream.c:
1821 * gdataoutputstream.h:
1822 * gfileinfo.h: Doc cleanups
1824 2007-11-28 Andre Klapper <a9016009@gmx.de>
1826 * gdesktopappinfo.c: Fix a typo.
1828 2007-11-27 Andre Klapper <a9016009@gmx.de>
1830 * glocalfileoutputstream.c: Fix a typo.
1832 2007-11-27 Alexander Larsson <alexl@redhat.com>
1835 Don't include removed headers
1837 2007-11-27 Alexander Larsson <alexl@redhat.com>
1840 * gsocketinputstream.[ch]: Removed.
1841 * gsocketoutputstream.[ch]: Removed.
1842 * gunixinputstream.[ch]: Added.
1843 * gunixoutputstream.[ch]: Added.
1844 Renamed GSocket*Stream to GUnix*Stream and made
1845 it unix-only, since its not really only for sockets
1846 and it only works on unix (but is highly useful there).
1848 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1854 * gbufferedinputstream.c:
1855 * gbufferedinputstream.h:
1856 * gbufferedoutputstream.c:
1857 * gbufferedoutputstream.h:
1861 * gdatainputstream.c:
1862 * gdatainputstream.h:
1863 * gdataoutputstream.c:
1864 * gdataoutputstream.h:
1865 * gdirectorymonitor.c:
1866 * gdirectorymonitor.h:
1873 * gfileenumerator.c:
1874 * gfileenumerator.h:
1879 * gfileinputstream.c:
1880 * gfileinputstream.h:
1883 * gfilenamecompleter.c:
1884 * gfilenamecompleter.h:
1885 * gfileoutputstream.c:
1886 * gfileoutputstream.h:
1887 * gfilterinputstream.c:
1888 * gfilterinputstream.h:
1889 * gfilteroutputstream.c:
1890 * gfilteroutputstream.h:
1903 * glocalfileoutputstream.c:
1904 * gmemoryinputstream.c:
1905 * gmemoryinputstream.h:
1906 * gmemoryoutputstream.c:
1907 * gmemoryoutputstream.h:
1908 * gmountoperation.c:
1909 * gmountoperation.h:
1912 * gpollfilemonitor.c:
1915 * gsimpleasyncresult.c:
1916 * gsimpleasyncresult.h:
1917 * gsocketinputstream.c:
1918 * gsocketinputstream.h:
1919 * gsocketoutputstream.c:
1920 * gsocketoutputstream.h:
1927 * gunixvolumemonitor.c:
1936 Bumps documentation to 93% symbol coverage, touching most
1937 of the public files. Fixes broken function documentation prototypes.
1938 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1939 gtk-doc headers in private files.
1941 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1943 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1944 (g_buffered_input_stream_read_byte):
1945 * gbufferedinputstream.h:
1946 New functions for efficient access to buffer and simple single byte
1949 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1950 (g_data_input_stream_read_until):
1951 * gdatainputstream.h:
1952 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1953 read_until with multiple stop chars.
1955 2007-11-27 Alexander Larsson <alexl@redhat.com>
1959 * inotify/Makefile.am:
1960 Use the user-specified giomoduledir
1962 2007-11-27 Alexander Larsson <alexl@redhat.com>
1966 Add catch-all gio.h header
1967 Don't install gdummyfile.h
1969 2007-11-26 Alexander Larsson <alexl@redhat.com>
1971 * Makefile.am (gioinclude_HEADERS):
1972 Remove trailing whitespace
1974 2007-11-26 Alexander Larsson <alexl@redhat.com>
1976 Merge gio-standalone into glib
1978 2007-11-25 Christian Kellner <gicmo@gnome.org>
1980 * gio/goutputstream.c:
1981 Fix small mistake in the docs.
1983 2007-11-21 Christian Persch <chpe@gnome.org>
1985 * gio/glocalfile.c: (g_local_file_trash):
1986 Convert filenames to UTF-8 for GError.
1987 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1988 as per xdg base dir spec.
1990 2007-11-21 Christian Persch <chpe@gnome.org>
1992 * gio/gdesktopappinfo.c:
1993 Use that g_key_file_to_data cannot fail.
1995 Use stock defines for the key file group and key names.
1998 2007-11-21 Alexander Larsson <alexl@redhat.com>
2001 (copy_stream_with_progress):
2002 Make sure we do a final progress callback with
2003 the full total size.
2005 2007-11-21 Alexander Larsson <alexl@redhat.com>
2008 Export g_file_copy_attributes
2009 Remove padding as its not needed for interfaces
2011 2007-11-20 Alexander Larsson <alexl@redhat.com>
2016 Add G_IO_ERROR_WOULD_MERGE for
2017 copy/move dir on dir with overwrite.
2019 2007-11-20 Alexander Larsson <alexl@redhat.com>
2022 * gio/glocalfileinfo.c:
2023 Add COPY_NAME (this is an optional
2024 non-modified utf8 version of the name) that
2027 2007-11-20 Alexander Larsson <alexl@redhat.com>
2029 * gio/glocalfileenumerator.c:
2030 Report errors as GIOError, not GFileError
2032 2007-11-16 Alexander Larsson <alexl@redhat.com>
2034 * gio/glocalfileoutputstream.c:
2035 * gio/gwin32appinfo.c:
2036 Fix typos in strings.
2037 Patch from Luca Ferretti <elle.uca@libero.it>
2039 2007-11-15 Alexander Larsson <alexl@redhat.com>
2042 Post release version bump
2044 === gio-standalone 0.1.2 ===
2046 2007-11-15 Alexander Larsson <alexl@redhat.com>
2048 * docs/reference/gio/Makefile.am:
2049 Fix up distcheck by removing weird
2055 2007-11-14 Alexander Larsson <alexl@redhat.com>
2057 * gio/gdesktopappinfo.c:
2058 * gio/glocaldirectorymonitor.c:
2060 * gio/glocalfileinfo.c:
2061 * gio/inotify/inotify-sub.c:
2062 * programs/gio-cat.c:
2063 * programs/gio-copy.c:
2064 * programs/gio-info.c:
2065 * programs/gio-ls.c:
2066 * programs/gio-monitor-dir.c:
2067 * programs/gio-monitor-file.c:
2068 * programs/gio-mount.c:
2069 * programs/gio-move.c:
2070 * programs/gio-rm.c:
2071 * programs/gio-save.c:
2072 * programs/gio-trash.c:
2073 Leak fixes from Kjartan Maraas
2075 2007-11-14 Alexander Larsson <alexl@redhat.com>
2077 * gio/fam/fam-helper.c:
2079 * gio/glocalfileinfo.c:
2083 * gio/inotify/inotify-diag.c:
2084 * gio/inotify/inotify-kernel.c:
2085 Various code cleanups from Kjartan Maraas
2087 2007-11-14 Alexander Larsson <alexl@redhat.com>
2089 * gio/gioscheduler.c:
2091 Set up threadpool so that we cache 2 unused
2092 idle threads for at 15 secs. This means we
2093 will reuse thread-local data (like dbus connections)
2096 2007-11-14 Alexander Larsson <alexl@redhat.com>
2098 * gio/fam/fam-helper.c:
2099 * gio/fam/gfamdirectorymonitor.c:
2100 * gio/fam/gfamfilemonitor.c:
2102 * gio/gcontenttype.c:
2103 * gio/gdatainputstream.c:
2104 * gio/gdataoutputstream.c:
2108 * gio/gfileattribute.h:
2109 * gio/gfileenumerator.c:
2111 * gio/ginputstream.c:
2114 * gio/glocalfileinfo.c:
2115 * gio/goutputstream.c:
2116 * gio/gpollfilemonitor.c:
2117 * gio/gsimpleasyncresult.c:
2118 * gio/gunixmounts.c:
2119 * gio/gunixmounts.h:
2120 * gio/inotify/ginotifydirectorymonitor.c:
2121 * gio/inotify/ginotifyfilemonitor.c:
2122 * gio/inotify/inotify-diag.c:
2123 * gio/inotify/inotify-kernel.c:
2124 * gio/inotify/inotify-path.c:
2126 * gio/test-streams.c:
2127 * programs/gio-info.c:
2128 * programs/gio-monitor-dir.c:
2129 * programs/gio-monitor-file.c:
2130 Various code cleanups from Kjartan Maraas
2132 2007-11-13 Alexander Larsson <alexl@redhat.com>
2135 Handle the uri-scheme calls for dummy files
2137 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2139 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2140 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2141 to avoid clash with the C++ keyword.
2143 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2145 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2146 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2148 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2150 * gio/glocaldirectorymonitor.c:
2151 * gio/glocalfilemonitor.c:
2152 * gio/gunionvolumemonitor.c:
2153 Don't use g_once_init_*() for initializations that could fail and
2154 could leave the initialization variable set to 0 but use GOnce.
2155 This prevents a deadlock on the second call when trying to create
2156 a monitor and no monitor type is available. Thanks to Sven Herzberg
2159 2007-11-11 Sven Herzberg <sven@imendio.com>
2161 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2162 #ifdef (make it work on MacOS X again)
2164 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2166 Fixes Changelog for last two commits (sorry guys).
2168 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2170 * gio/gbufferedinputstream.c:
2171 * gio/gdatainputstream.c:
2173 * gio/gfileoutputstream.c:
2174 * gio/gfilterinputstream.c:
2175 * gio/glocalfileinputstream.c:
2178 More consistency fixes in g*stream.c files.
2179 Significant clean of gfile's documentation, filling in of
2180 asynchronous operations documentation.
2182 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2184 * gio/gasyncresult.c:
2185 * gio/gbufferedinputstream.c:
2186 * gio/gbufferedoutputstream.c:
2187 * gio/gcancellable.c:
2188 * gio/gcontenttype.c:
2189 * gio/gdatainputstream.c:
2190 * gio/gdataoutputstream.c:
2191 * gio/gdesktopappinfo.c:
2194 * gio/gfileattribute.c:
2195 * gio/gio/gfileenumerator.c:
2197 * gio/gfileinputstream.c:
2198 * gio/gfilemonitor.c:
2199 * gio/gfileoutputstream.c:
2200 * gio/ginputstream.c:
2202 * gio/gioscheduler.c:
2203 * gio/gloadableicon.c:
2204 * gio/glocalfileoutputstream.c:
2205 * gio/gmemoryoutputstream.c:
2206 * gio/gmountoperation.c:
2207 * gio/goutputstream.c:
2209 * gio/gsimpleasyncresult.c:
2210 * gio/gunionvolumemonitor.c:
2211 * gio/gunixmounts.c:
2212 * gio/gunixvolume.c:
2216 * gio/gvolumemonitor.c:
2217 Updated documentation stubs, working towards consistency and
2220 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2222 * gio/gmemoryoutputstream.c:
2223 * gio/gmemoryoutputstream.h:
2224 Change g_memory_output_stream_set_free_on_close() to
2225 g_memory_output_stream_set_free_data() as this makes more sense and
2226 is more consistent with GMemoryInputStream.
2228 2007-11-07 Alexander Larsson <alexl@redhat.com>
2235 Change how we find the default vfs so that
2236 we can handle a gvfs failing to init
2238 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2240 * gio/gbufferedoutputstream.c:
2241 * gio/gdatainputstream.c:
2242 * gio/gdataoutputstream.c:
2243 * gio/gfileinputstream.c:
2244 * gio/gfileoutputstream.c:
2245 * gio/gfilterinputstream.c:
2246 * gio/gfilteroutputstream.c:
2247 * gio/ginputstream.c:
2248 * gio/gmemoryinputstream.c:
2249 * gio/gmemoryoutputstream.c:
2250 * gio/goutputstream.c:
2251 * gio/gsimpleasyncresult.c:
2252 * gio/gsocketinputstream.c:
2253 * gio/gsocketoutputstream.c:
2254 Add guards to the remaining public functions, add a TODO for
2255 an unimplemented function and remove some useless guards.
2257 2007-11-07 Alexander Larsson <alexl@redhat.com>
2260 Autoconf checks for the various types of
2261 getpwuid_r and getgrgid_r
2263 * gio/glocalfileinfo.c:
2264 Use the autoconf checks from above
2266 2007-11-07 Alexander Larsson <alexl@redhat.com>
2269 (g_local_file_query_filesystem_info):
2270 Some fixes for the statvfs case
2272 2007-11-07 Alexander Larsson <alexl@redhat.com>
2275 (g_local_file_query_filesystem_info):
2276 Pick the "best" of statfs / statvfs for the system
2277 if both are availible.
2279 2007-11-07 Alexander Larsson <alexl@redhat.com>
2281 Solaris fixes from Halton.Huo@Sun.COM:
2288 * gio/glocalfileinfo.c:
2289 Fix for solaris definition of getpwuid_r
2291 * gio/test-streams.c:
2292 Use G_GNUC_PRETTY_FUNCTION
2294 2007-11-07 Alexander Larsson <alexl@redhat.com>
2296 * gio/gdesktopappinfo.c:
2297 (update_default_list):
2298 Remove double semicolon.
2299 Patch from Jens Granseuer
2301 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2303 * docs/reference/gio/gio-sections.txt:
2304 * gio/gbufferedinputstream.c:
2305 * gio/gbufferedinputstream.h:
2306 * gio/gdatainputstream.c:
2307 * gio/gfileenumerator.c:
2308 * gio/gioscheduler.c:
2309 * gio/gunionvolumemonitor.c:
2311 * programs/gio-save.c:
2312 Fix typo: availible -> available. Unfortuntely this breaks API
2313 and ABI as g_buffered_input_stream_get_available() was renamed.
2315 * gio/gunixmounts.c:
2316 * gio/gbufferedinputstream.c:
2317 Add guards for public functions.
2319 2007-11-06 Ross Burton <ross@openedhand.com>
2321 * docs/reference/gio/Makefile.am:
2322 Fix invalid += usage which automake 1.10 doesn't like.
2324 2007-11-06 Alexander Larsson <alexl@redhat.com>
2327 (g_app_launch_context_class_init):
2330 Patch from Ross Burton
2332 2007-11-06 Alexander Larsson <alexl@redhat.com>
2335 Post release version bump
2337 === gio-standalone 0.1.1 ===
2339 2007-11-06 Alexander Larsson <alexl@redhat.com>
2342 Bump version to 0.1.1
2344 * gio/gsimpleasyncresult.c:
2345 (g_simple_async_result_set_from_error):
2346 Remove bogus g_return_if_fail
2348 2007-11-06 Alexander Larsson <alexl@redhat.com>
2351 The name is gio-standalone
2354 Add top src/builddir to includedir
2356 2007-11-06 Alexander Larsson <alexl@redhat.com>
2358 * docs/reference/gio/gio-sections.txt:
2360 * gio/gbufferedinputstream.c:
2361 * gio/gbufferedoutputstream.c:
2362 * gio/gcancellable.c:
2363 * gio/gdatainputstream.h:
2364 * gio/gdataoutputstream.c:
2365 * gio/gdataoutputstream.h:
2366 * gio/gdirectorymonitor.c:
2368 * gio/gfileattribute.c:
2369 * gio/gfileattribute.h:
2370 * gio/gfileenumerator.c:
2371 * gio/gfileenumerator.h:
2374 * gio/gfileinputstream.h:
2375 * gio/gfilemonitor.c:
2376 * gio/gfileoutputstream.h:
2377 * gio/glocalfilemonitor.h:
2378 * gio/glocalfileoutputstream.h:
2379 * gio/gmemoryinputstream.c:
2380 * gio/gmemoryoutputstream.c:
2381 * gio/gmountoperation.c:
2382 * gio/goutputstream.c:
2383 * gio/goutputstream.h:
2385 * gio/gsimpleasyncresult.c:
2386 * gio/gunixmounts.c:
2387 * gio/gunixmounts.h:
2389 * gio/inotify/inotify-helper.c:
2390 Fix gtk-doc warnings
2392 Patch from Ross Burton
2394 2007-11-06 Alexander Larsson <alexl@redhat.com>
2396 * gio/gfilenamecompleter.c:
2397 (g_filename_completer_get_completions):
2400 * gio/gunixvolume.c:
2401 Remove unused function
2403 Patches from Ross Burton
2405 2007-11-06 Alexander Larsson <alexl@redhat.com>
2410 Padding not needed for interfaces
2412 2007-11-06 Alexander Larsson <alexl@redhat.com>
2414 * gio/gfilemonitor.c:
2418 Make giotypes.h an internal file
2421 * gio/gbufferedinputstream.h:
2422 * gio/gbufferedoutputstream.h:
2423 * gio/gcancellable.h:
2424 * gio/gdatainputstream.h:
2425 * gio/gdataoutputstream.h:
2426 * gio/gdirectorymonitor.c:
2427 * gio/gdirectorymonitor.h:
2432 * gio/gfileattribute.h:
2433 * gio/gfileenumerator.h:
2438 * gio/gfilemonitor.c:
2439 * gio/gfilemonitor.h:
2440 * gio/gfilenamecompleter.c:
2441 * gio/gfilenamecompleter.h:
2442 * gio/gfilterinputstream.h:
2443 * gio/gfilteroutputstream.h:
2444 * gio/ginputstream.h:
2445 * gio/gmemoryinputstream.h:
2446 * gio/gmemoryoutputstream.h:
2447 * gio/gmountoperation.c:
2448 * gio/gmountoperation.h:
2449 * gio/gnativevolumemonitor.c:
2450 * gio/goutputstream.h:
2453 * gio/gsimpleasyncresult.c:
2454 * gio/gsimpleasyncresult.h:
2455 * gio/gsocketinputstream.h:
2456 * gio/gsocketoutputstream.h:
2457 * gio/gthemedicon.c:
2458 * gio/gthemedicon.h:
2462 * gio/gvolumemonitor.c:
2463 * gio/gvolumemonitor.h:
2464 Add padding in classes where it seems useful
2465 Don't include giotypes.h from public headers
2466 Move in Class definitions into c file where possible
2471 2007-11-06 Alexander Larsson <alexl@redhat.com>
2473 * docs/reference/gio/gio-docs.xml:
2474 Better structure for API docs
2476 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2479 * gio/gloadableicon.c:
2480 * gio/gsimpleasyncresult.c:
2481 * gio/gthemedicon.c:
2482 Add some more guards to public functions. Only files missing are now
2485 2007-11-06 Alexander Larsson <alexl@redhat.com>
2487 * docs/reference/gio/gio-docs.xml:
2488 Remove old files, add missing ones
2490 2007-11-06 Alexander Larsson <alexl@redhat.com>
2492 * docs/reference/gio/gio-sections.txt:
2495 Hide implementation classes
2497 * gio/gdriveprivate.h:
2498 * gio/gvolumeprivate.h:
2499 Remove non-existing function declarations
2501 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2504 Fix compilation warnings and add guards to the new functions.
2506 * gio/gasyncresult.c:
2508 Add guards to the public functions.
2511 Implement get_path().
2513 2007-11-06 Alexander Larsson <alexl@redhat.com>
2515 * gio/gfilenamecompleter.c:
2516 Make g_filename_completer_get_completions
2517 return char ** instead of GList for
2520 * docs/reference/gio/gio-docs.xml:
2521 * docs/reference/gio/gio-sections.txt:
2523 * gio/gasyncresult.c:
2524 * gio/gbufferedinputstream.c:
2525 * gio/gbufferedoutputstream.c:
2526 * gio/gcancellable.c:
2527 * gio/gcontenttype.c:
2528 * gio/gdatainputstream.c:
2529 * gio/gdataoutputstream.c:
2530 * gio/gdesktopappinfo.c:
2531 * gio/gdirectorymonitor.c:
2535 * gio/gfileattribute.c:
2536 * gio/gfileenumerator.c:
2539 * gio/gfileinputstream.c:
2540 * gio/gfilemonitor.c:
2541 * gio/gfilenamecompleter.c:
2542 * gio/gfilenamecompleter.h:
2543 * gio/gfileoutputstream.c:
2544 * gio/gfilterinputstream.c:
2546 * gio/ginputstream.c:
2548 * gio/gioscheduler.c:
2549 * gio/gloadableicon.c:
2550 * gio/glocaldirectorymonitor.c:
2552 * gio/glocalfileinputstream.c:
2553 * gio/glocalfilemonitor.c:
2554 * gio/glocalfileoutputstream.c:
2556 * gio/gmemoryinputstream.c:
2557 * gio/gmemoryoutputstream.c:
2558 * gio/gmountoperation.c:
2559 * gio/goutputstream.c:
2560 * gio/gpollfilemonitor.c:
2562 * gio/gsimpleasyncresult.c:
2563 * gio/gsocketinputstream.c:
2564 * gio/gsocketoutputstream.c:
2565 * gio/gthemedicon.c:
2566 * gio/gunionvolumemonitor.c:
2568 * gio/gunixmounts.c:
2569 * gio/gunixvolume.c:
2570 * gio/gunixvolumemonitor.c:
2574 * gio/gvolumemonitor.c:
2575 * gio/gwin32appinfo.c:
2576 Add (mostly stub) doc strings to public functions.
2577 Patch from Andrew Walton (awalton@gmail.com)
2579 2007-11-06 Alexander Larsson <alexl@redhat.com>
2581 * gio/gappinfo.[ch]:
2582 Added GAppLaunchContext object and pass that to launch.
2583 This allows simple implementation of both
2584 launch-on-screen and startup notification via a gtk+
2585 subclass of GAppLaunchContext
2587 * gio/gdesktopappinfo.c:
2588 Implement GAppLaunchContext API
2590 * gio/gwin32appinfo.c:
2593 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2595 * gio/gmountoperation.c:
2596 Add some guards to GMountOperation's public functions.
2598 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2602 * gio/gcancellable.c:
2603 * gio/gdirectorymonitor.c:
2605 * gio/gfileenumerator.c:
2606 * gio/gfilemonitor.c:,
2607 * gio/gfilenamecompleter.c:
2610 * gio/gioscheduler.c:
2614 * gio/gvolumemonitor.c:
2615 Add even more guards to various public functions.
2617 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2620 Add guards to the public functions of GAppInfo.
2622 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2624 * gio/gcontenttype.c:
2625 Add some more guards for public functions.
2627 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2629 * gio/fam/fam-module.c:
2630 * gio/fam/gfamdirectorymonitor.c:
2631 * gio/fam/gfamdirectorymonitor.h:
2632 * gio/fam/gfamfilemonitor.c:
2633 * gio/fam/gfamfilemonitor.h:
2634 * gio/inotify/ginotifydirectorymonitor.c:
2635 * gio/inotify/ginotifydirectorymonitor.h:
2636 * gio/inotify/ginotifyfilemonitor.c:
2637 * gio/inotify/ginotifyfilemonitor.h:
2638 Add proper copyright information and remove an unused variable
2639 in the GInotifyFileMonitor constructor.
2641 * gio/gcancellable.c:
2642 Add a guard for a public function and an assertion to prevent
2643 an undefined program state.
2645 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2647 * gio/gfileattribute.c:
2648 Don't run into an assertion if the given attribute value is NULL
2649 in g_file_attribute_value_get_*() but instead return a fallback
2650 value that makes sense in most situations. Passing them a attribute
2651 value with the wrong type will still run into an assertion.
2653 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2655 * gio/gfileattribute.c:
2657 Add even more guards to the public functions. Also fix the refcounting
2658 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2659 let g_file_info_list_attributes() filter the attributes by namespace
2660 instead of simply ignoring the namespace parameter.
2662 2007-11-03 Sven Herzberg <sven@imendio.com>
2664 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2665 (This makes gio work on MacOS X again)
2667 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2670 Build the gio subdirectory before the docs. Otherwise the build will
2673 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2674 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2675 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2676 Add guards to the public functions.
2678 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2680 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2681 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2682 to prevent a compiler warning.
2684 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2685 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2686 return something in the non-void function find_topdir_for().
2688 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2695 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2697 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2698 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2699 * gwin32appinfo.c (g_win32_app_info_launch):
2700 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2701 envp_for_startup_id, g_desktop_app_info_launch,
2702 g_desktop_app_info_launch_uris):
2704 Give an opaque 'startup_id' string instead of 'envp'.
2705 Support empty file lists for launching new windows.
2706 Fix infinite recursion bug when launching URIs.
2708 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2711 Add guard to the new g_file_get_uri_scheme() function.
2713 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2716 Convert a g_return_val_if_fail() to setting the GError instead as
2717 otherwise applications have to verify the parameter before otherwise
2718 and the parameter might come directly from the user.
2720 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2722 * gio/inotify/ginotify*.[ch]:
2723 Add missing copyright information.
2725 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2728 Add guards in the beginning of public functions to check for valid
2729 parameters and fix a bug in copy_stream_with_progress() that could've
2730 caused writing less bytes than reading.
2731 * gio/glocalfileinfo.c:
2732 Check for a NULL parameter and set the GError accordingly then.
2733 * gio/goutputstream.c:
2734 Fix the same bug as in gfile.c that could've caused writing less bytes
2735 than reading in g_output_stream_real_splice().
2737 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2740 Use the correct gvolumeprivate.h naming
2742 2007-11-01 Christian Kellner <gicmo@gnome.org>
2745 Remove leftover "$(daemon_sources)" entry.
2747 2007-11-01 Christian Kellner <gicmo@gnome.org>
2752 Add copyright information to source files.
2754 2007-11-01 Alexander Larsson <alexl@redhat.com>
2758 Add g_file_get_uri_scheme
2760 2007-11-01 Alexander Larsson <alexl@redhat.com>
2763 * gio/gdesktopappinfo.c:
2764 * gio/gwin32appinfo.c:
2765 Add g_app_info_get_default_for_uri_scheme.
2767 2007-11-01 Alexander Larsson <alexl@redhat.com>
2770 Correct filename for gdriveprivate.h
2772 2007-10-31 Alexander Larsson <alexl@redhat.com>
2775 Rename id:value to id:file
2778 * gio/glocalfileinfo.c:
2781 2007-10-31 Alexander Larsson <alexl@redhat.com>
2783 * gio/gunixvolume.c:
2785 Remove g_volume_get_platform_id, as thats not
2786 needed with the simpler union volume monitor
2788 2007-10-31 Alexander Larsson <alexl@redhat.com>
2791 * gio/guniondrive.[ch]: Removed.
2792 * gio/gunionvolume.[ch]: Removed.
2793 Remove GUnionDrive/Volume
2795 * gio/gunionvolumemonitor.c:
2796 Simplify union volume monitor, now we
2797 only have one native volume monitor and
2798 we use the actual volumes/drives from the
2799 child monitors instead of wrapping them
2801 * gio/gnativevolumemonitor.[ch]:
2802 Base class for native volume monitors.
2803 Includes priority and get_volume_for_mountpoint
2806 Add g_file_find_enclosing_volume
2809 Remove volume name fs attribute
2810 Add readonly fs attribute
2813 Implement readonly attribute
2814 remove volume name attribute
2815 Implement find_enclosing volume
2817 * gio/gunixmounts.c:
2818 Add a volume for "/".
2820 * gio/gunixvolume.[ch]:
2821 Set better name for /
2823 * gio/gunixvolumemonitor.[ch]:
2824 Derive from GNativeVolumeMonitor
2825 Implement get_volume_for_mountpoint
2828 GVolume typedef moved to gfile.h
2830 * gio/gvolumeprivate.h:
2831 Add g_volume_get_for_mount_path
2833 2007-10-31 Alexander Larsson <alexl@redhat.com>
2835 * gio/gunixmounts.[ch]:
2836 Add cache info to unix mount listers
2837 Make getmntent use threadsafe
2838 Add is_system_internal attribute for GUnixMount
2840 * gio/gunixvolume.c:
2841 (g_unix_volume_new):
2842 Use is_system_internal instead of own code
2844 * gio/glocaldirectorymonitor.c:
2845 * gio/gunixvolumemonitor.c:
2846 Update to new gunixmounts API
2851 2007-10-30 Alexander Larsson <alexl@redhat.com>
2854 Add volume name fsinfo attribute
2857 Read volume name info
2859 * gio/gunionvolumemonitor.c:
2860 Fix infinite loops when finalizing a union volume monitor
2862 2007-10-30 Alexander Larsson <alexl@redhat.com>
2864 * gio/goutputstream.[ch]:
2865 Add splice() with default implementation
2867 * gio/gsocketoutputstream.c:
2868 (g_socket_output_stream_write):
2869 Return error on cancellation correctly.
2871 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2873 * gio/glocalfile.c (g_local_file_trash):
2874 Do not leak a string.
2876 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2878 * gio/gfile.c (g_file_load_contents):
2879 Unref the stream after closing it.
2881 2007-10-25 Alexander Larsson <alexl@redhat.com>
2883 * gio/gioscheduler.h:
2886 2007-10-25 Alexander Larsson <alexl@redhat.com>
2890 Add g_file_has_uri_scheme and implement for local files
2892 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2894 * gio/gdesktopappinfo.c: do not leak a string.
2896 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2898 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2899 (g_local_directory_monitor_new):
2900 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2901 (g_local_file_monitor_new):
2902 Only look for the monitor type that should be used the first time
2903 and use g_qsort_with_data() instead of our own bubble sort
2906 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2909 * gio/fam/Makefile.am:
2910 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2911 * gio/fam/fam-helper.h:
2912 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2913 * gio/fam/gfamdirectorymonitor.c:
2914 * gio/fam/gfamdirectorymonitor.h:
2915 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2916 * gio/fam/gfamfilemonitor.h:
2917 * gio/glocaldirectorymonitor.c:
2918 * gio/glocaldirectorymonitor.h:
2919 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2920 * gio/glocalfilemonitor.h:
2921 * gio/inotify/Makefile.am:
2922 * gio/inotify/ginotifydirectorymonitor.c:
2923 * gio/inotify/ginotifydirectorymonitor.h:
2924 * gio/inotify/ginotifyfilemonitor.c:
2925 * gio/inotify/ginotifyfilemonitor.h:
2926 Implement the FAM and Inotify monitors as
2927 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2928 their own GIO module. GLocal(Directory|File)Monitor will use the
2929 monitor with the highest rank that is supported on that machine.
2931 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2934 Change GIO module dir to $(libdir)/gio/modules and change
2935 the log domain from GVFS to GIO. Also only export symbols starting
2936 with g_ in the resulting library.
2937 * gio/test-streams.c: (main):
2938 Set log handler for the GIO log domain.
2940 2007-10-22 Alexander Larsson <alexl@redhat.com>
2942 * gio/gfilenamecompleter.[ch]:
2943 Add g_filename_completer_set_dirs_only
2945 2007-10-22 Alexander Larsson <alexl@redhat.com>
2948 * gio/gurifuncs.[ch]:
2949 Add some simple URI helpers
2951 * gio/gfilenamecompleter.[ch]:
2952 Added object for filename (parse name actually) completion
2955 Handle ~ in parse names
2957 2007-10-17 Alexander Larsson <alexl@redhat.com>
2960 * gio/glocalfileinfo.c:
2961 Add and implement id:value attribute
2963 2007-10-17 Alexander Larsson <alexl@redhat.com>
2966 * gio/guniondrive.c:
2968 Add and implement g_drive_has_volumes
2970 2007-10-17 Alexander Larsson <alexl@redhat.com>
2973 * gio/glocalfileinfo.[ch]:
2974 Add unix:is_mountpoint and implement for local files
2976 2007-10-16 Alexander Larsson <alexl@redhat.com>
2978 * gio/gunionvolumemonitor.c:
2979 (g_union_volume_monitor_init):
2980 Fix up the unix type getting so that it works with gcc
2982 2007-10-12 Alexander Larsson <alexl@redhat.com>
2985 * gio/glocalfileinfo.c:
2986 Add thumbnail:failed to file info
2988 2007-10-12 Richard Hult <richard@imendio.com>
2990 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2991 optimizing away the get_type call (happens with some gcc versions,
2992 like the one shipped with OS X 10.4).
2994 2007-10-12 Alexander Larsson <alexl@redhat.com>
2996 * gio/glocalfileinfo.c:
2997 (_g_local_file_info_set_attribute):
2998 Fix build if not HAVE_XATTR
2999 Patch from Milosz Derezynski <internalerror@gmail.com>
3001 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3003 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3004 around for review, otherwise I would have asked you before
3007 2007-10-11 Alexander Larsson <alexl@redhat.com>
3010 Add thumbnail:path attribute
3012 * gio/glocalfileinfo.c:
3013 Implement thumbnail:path for local files
3015 2007-10-11 Alexander Larsson <alexl@redhat.com>
3017 * gio/glocalfileinfo.c:
3018 (_g_local_file_info_get):
3019 Avoid duplicate icon names
3021 2007-10-11 Alexander Larsson <alexl@redhat.com>
3023 * gio/gthemedicon.[ch]:
3024 Change g_themed_icon_get_names return type to const
3026 2007-10-10 Alexander Larsson <alexl@redhat.com>
3028 * gio/glocalfileinfo.c:
3029 Don't reference freed memory
3031 2007-10-10 Alexander Larsson <alexl@redhat.com>
3033 * gio/gfileattribute.c:
3036 * gio/glocalfileinfo.c:
3039 2007-10-10 Alexander Larsson <alexl@redhat.com>
3042 Check for NULL icons
3044 * gio/gfileattribute.c:
3045 Don't dup when getting objects (same as for string attributes)
3047 * gio/gicon.c (g_icon_equal):
3048 Safely handle NULLs in equal
3050 2007-10-10 Alexander Larsson <alexl@redhat.com>
3053 Fix c++ compilation issues
3054 Patch from Milosz Derezynski <internalerror@gmail.com>
3056 2007-10-10 Alexander Larsson <alexl@redhat.com>
3058 * programs/gio-monitor-dir.c:
3059 Don't crash if dir monitor not supported.
3061 2007-10-09 Alexander Larsson <alexl@redhat.com>
3064 Add missing G_END_DECLS
3066 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3068 * gio/gfile.c: (g_file_set_display_name),
3069 (g_file_query_settable_attributes),
3070 (g_file_query_writable_namespaces):
3071 Return NULL not FALSE on errors as the return type is a pointer.
3073 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3075 * gio/glocalfile.c: (g_local_file_monitor_file):
3076 Don't call monitor_file on the default interface vtable (which
3077 is NULL) but simply return NULL. The caller, GFile, will create a
3078 polling monitor if NULL is returned.
3080 2007-10-09 Alexander Larsson <alexl@redhat.com>
3084 * gio-unix-2.0.pc.in:
3085 Add gio-unix-2.0.pc if OS_UNIX
3088 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3090 2007-10-09 Alexander Larsson <alexl@redhat.com>
3092 * gio/gunixmounts.[ch]:
3093 Make unix mount monitoring API sane.
3094 Now its just a object with mounts_changed
3095 and mountpoints_changed signals.
3097 * gio/glocaldirectorymonitor.c:
3098 * gio/gunixvolumemonitor.c:
3099 Use new mount monitor api
3101 2007-10-09 Alexander Larsson <alexl@redhat.com>
3103 * gio/gunixmounts.[ch]:
3104 Move guess type into one call for mounts and one for mountpoints
3107 * gio/gunixvolume.c:
3110 2007-10-09 Alexander Larsson <alexl@redhat.com>
3112 * gio/gunixmounts.[ch]:
3113 Remove _ prefix in preparation to make this semi-public
3114 Hide implementation of structs
3116 * gio/glocaldirectorymonitor.c:
3118 * gio/gunixvolume.c:
3119 * gio/gunixvolumemonitor.c:
3120 Update for above API changes
3122 2007-10-08 Alexander Larsson <alexl@redhat.com>
3125 Better polling fallback. This also handles the case where we have
3126 a monitor_file implementation, but it fails.
3128 2007-10-08 Alexander Larsson <alexl@redhat.com>
3132 * gio/gunixmounts.c:
3133 * programs/gio-monitor-dir.c:
3134 * programs/gio-monitor-file.c:
3135 Added cancellable to file monitoring calls.
3136 These are really sync calls and need this.
3138 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3140 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3141 (g_local_vfs_class_init):
3142 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3143 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3145 2007-10-05 Alexander Larsson <alexl@redhat.com>
3147 * gio/gdirectorymonitorprivate.h:
3148 * gio/gfilemonitorprivate.h:
3149 * gio/gdirectorymonitor.h:
3150 * gio/gfilemonitor.h:
3151 Remove *private.h and move to the public API, so that
3152 we can do implementations outside gio (such as in gvfs)
3154 * gio/gdirectorymonitor.c:
3155 * gio/gfilemonitor.c:
3156 * gio/glocaldirectorymonitor.c:
3157 * gio/gpollfilemonitor.c:
3158 * gio/inotify/inotify-helper.c:
3159 * gio/fam/fam-helper.c:
3160 Update to the new header names
3162 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3164 * gio/gdirectorymonitor.c:
3165 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3168 2007-10-04 Alexander Larsson <alexl@redhat.com>
3170 * gio/glocalfileinfo.c (get_access_rights):
3171 Set CAN_TRASH when we can move the file.
3172 We should really also check for a parent trash dir.
3174 2007-10-04 Alexander Larsson <alexl@redhat.com>
3176 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3177 Add can_trash access attribute
3179 2007-10-04 Alexander Larsson <alexl@redhat.com>
3182 (g_local_file_trash):
3183 Create info file first. This is per-spec and allows
3184 us to actually trash directories.
3186 2007-10-02 Alexander Larsson <alexl@redhat.com>
3188 * gio/gdesktopappinfo.c:
3189 Implement the new mime support code.
3190 Always set app as handling mimetype when being set as default for it
3192 2007-10-01 Alexander Larsson <alexl@redhat.com>
3194 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3195 Fix up check for xattrs:
3197 2007-10-01 Alexander Larsson <alexl@redhat.com>
3200 (g_app_info_set_as_default_for_extension):
3201 (g_app_info_add_supports_type):
3202 (g_app_info_can_remove_supports_type):
3203 (g_app_info_remove_supports_type):
3204 Make these fail nicely if not implemented
3206 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3208 * gio/glocalfileoutputstream.c:
3209 * gio/glocalfileoutputstream.h:
3214 * programs/gio-save.c:
3215 Add a GFileCreateFlags argument to operations that can create
3218 2007-10-01 Alexander Larsson <alexl@redhat.com>
3220 * gio/gappinfo.[ch]:
3221 * gio/gdesktopappinfo.c:
3222 Add more (stubbed out) mime API needed for nautilus
3224 2007-10-01 Alexander Larsson <alexl@redhat.com>
3227 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3228 Add g_app_info_set_as_default_for_extension.
3230 * gio/gdesktopappinfo.c:
3231 Dummy for g_app_info_set_as_default_for_extension
3232 Support flags in g_app_info_create_from_commandline
3234 * gio/gwin32appinfo.c:
3236 Update for API changes
3238 * gio/gthemedicon.c:
3239 Properly NULL-terminate list of icon names
3241 2007-09-28 Alexander Larsson <alexl@redhat.com>
3243 * gio/gloadableicon.h:
3244 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3246 2007-09-28 Alexander Larsson <alexl@redhat.com>
3249 Install headers in $includedir/gio-standalone/
3251 * gio-2.0.pc.in: Added.
3252 * gio-standalone.pc.in: Removed.
3255 Renamed pkg-config file to match glib (for future move)
3256 Update to the new include dir
3259 Add more TODO comments
3261 2007-09-28 Alexander Larsson <alexl@redhat.com>
3263 * gio/gdesktopappinfo.[ch]:
3264 Expose new_from_filename
3265 Add getter for is_hidden and handle it better
3267 2007-09-28 Alexander Larsson <alexl@redhat.com>
3269 * gio/gfileinfo.[ch]:
3270 Rename g_file_size_format_for_display to
3271 g_format_file_size_for_display.
3272 Now it doesn't have the g_file prefix, so we
3273 can later move it to glib.
3275 2007-09-28 Alexander Larsson <alexl@redhat.com>
3277 * gio/gappinfo.[ch]:
3278 Add g_app_info_get_id and g_app_info_get_executable.
3279 Make all getters non-reffing
3280 Make g_app_info_launch take GFile arguments.
3281 Add must_support_uris argument to g_app_info_get_default_for_type.
3283 * gio/gwin32appinfo.c:
3284 Update to GAppInfo api changes
3286 * gio/gdesktopappinfo.c:
3287 Update to GAppInfo api changes
3288 Implement supports_xdg_startup_notify
3290 * gio/gfileicon.c (g_file_icon_get_file):
3291 Make getter non-reffing.
3296 2007-09-27 Alexander Larsson <alexl@redhat.com>
3298 * gio/gfileinfo.[ch]:
3299 Add g_file_size_format_for_display helper
3301 2007-09-27 Alexander Larsson <alexl@redhat.com>
3303 * gio/glocalfileinfo.c:
3304 Set UNIX_GID from gid, not from uid
3306 2007-09-27 Alexander Larsson <alexl@redhat.com>
3309 Add g_file_set_attributes_async
3311 2007-09-27 Alexander Larsson <alexl@redhat.com>
3313 * gio/glocalfile.c (g_local_file_set_display_name):
3314 Fix set_display_name to actually rename to the right place.
3315 Use lstat to look for existing files so we don't overwrite
3318 2007-09-26 Alexander Larsson <alexl@redhat.com>
3321 Add g_file_set_display_name_async()
3323 2007-09-26 Alexander Larsson <alexl@redhat.com>
3326 Add load_partial_contents async calls
3329 Make internal function static
3331 2007-09-26 Alexander Larsson <alexl@redhat.com>
3333 * gio/glocalfileinfo.c:
3334 Correctly detect broken symlinks
3336 2007-09-26 Alexander Larsson <alexl@redhat.com>
3338 * gio/gcancellable.c (g_cancellable_cancel):
3339 Allow cancel on NULL cancellable
3341 2007-09-25 Alexander Larsson <alexl@redhat.com>
3343 * gio/gsimpleasyncresult.c:
3344 Don't allocate g_error manually.
3345 Fixes g_slice/g_new mixup crash
3347 2007-09-25 Alexander Larsson <alexl@redhat.com>
3349 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3350 Actually set active_backend.
3351 This means the monitor will be cancelled correctly.
3353 2007-09-25 Alexander Larsson <alexl@redhat.com>
3355 * gio/gdirectorymonitor.c:
3356 Set timeout to NULL when destroying
3358 2007-09-25 Alexander Larsson <alexl@redhat.com>
3361 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3362 that is a better description of the error.
3364 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3366 * gio/gvfs.c: (g_vfs_get_local):
3367 Make the local vfs variable static. The same instance should
3370 2007-09-24 Alexander Larsson <alexl@redhat.com>
3372 * gio/glocalfileinfo.c:
3373 Pass in actual length read into sniffer, not the length
3376 2007-09-21 Alexander Larsson <alexl@redhat.com>
3378 * gio/gfileenumerator.c:
3381 * gio/gfileinputstream.c:
3382 * gio/gfileoutputstream.c:
3383 * gio/ginputstream.c:
3384 * gio/goutputstream.c:
3385 Don't crash if async callbacks are NULL
3387 2007-09-20 Alexander Larsson <alexl@redhat.com>
3390 Add async enumerate_children method and default
3393 2007-09-20 Alexander Larsson <alexl@redhat.com>
3396 Add g_file_contains_file & g_file_get_relative_path, since they
3397 were needed for nautilus.
3398 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3403 Implement new methods
3405 2007-09-17 Alexander Larsson <alexl@redhat.com>
3408 * gio/gfileinputstream.[ch]:
3409 * gio/gfileoutputstream.[ch]:
3411 * gio/glocalfileenumerator.[ch]:
3412 * gio/glocalfileinfo.[ch]:
3413 * gio/glocalfileinputstream.c:
3414 * gio/glocalfileoutputstream.c:
3415 * gio/gpollfilemonitor.c:
3416 * programs/gio-copy.c:
3417 * programs/gio-info.c:
3418 * programs/gio-move.c:
3419 Rename get_file_info to query_info() to make it clearer
3420 that these are not simple getters, but do i/o.
3422 2007-09-17 Alexander Larsson <alexl@redhat.com>
3424 * gio/gdatainputstream.[ch]:
3425 * gio/test-streams.c:
3426 Use _read_XXX instead of _get_XXX for the i/o calls
3429 2007-09-17 Alexander Larsson <alexl@redhat.com>
3432 Added needed stuff to TODO comment
3434 2007-09-17 Alexander Larsson <alexl@redhat.com>
3436 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3437 Don't error out removing the backup copy if it doesn't
3440 2007-09-14 Alexander Larsson <alexl@redhat.com>
3442 * programs/Makefile.am:
3443 * programs/gvfs-*.c:
3445 Renamed apps from gvfs-xxx to gio-xxx.
3447 2007-09-14 Alexander Larsson <alexl@redhat.com>
3450 * gio/gfileoutputstream.[ch]:
3451 * gio/glocalfileoutputstream.c:
3452 * programs/gvfs-save.c:
3453 g_file_output_stream_get_etag doesn't do i/o, so remove
3454 cancellation and error.
3456 2007-09-14 Alexander Larsson <alexl@redhat.com>
3459 Add new_etag output to replace_contents functions
3461 2007-09-14 Alexander Larsson <alexl@redhat.com>
3463 * gio/gfileoutputstream.[ch]:
3464 Add async get_file_info and default implementation
3466 2007-09-14 Alexander Larsson <alexl@redhat.com>
3468 * gio/gfileinputstream.c:
3469 Implement fallback wrapper for async get_file_info
3471 2007-09-14 Alexander Larsson <alexl@redhat.com>
3474 Add etag out argument to load_contents
3479 2007-09-14 Alexander Larsson <alexl@redhat.com>
3481 * gio/gcontenttype.c (looks_like_text):
3482 Whitespace like tab, cr and lf do not make the
3485 2007-09-14 Alexander Larsson <alexl@redhat.com>
3487 * gio/gfileinputstream.[ch]:
3488 Add async get_file_info.
3490 2007-09-13 Alexander Larsson <alexl@redhat.com>
3492 * gio/goutputstream.c (g_output_stream_write_all):
3493 Allow NULL for bytes_written
3495 2007-09-13 Alexander Larsson <alexl@redhat.com>
3497 * gio/gmemoryinputstream.[ch]:
3498 Add accessors for data
3500 2007-09-13 Alexander Larsson <alexl@redhat.com>
3502 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3503 Don't crash if length is NULL