1 2008-02-11 Alexander Larsson <alexl@redhat.com>
4 (g_file_info_set_attribute_mask):
5 (g_file_attribute_matcher_matches_id):
6 Correctly handle NULL GAttributeMatcher meaning
7 matches nothing. (Fixes #513492)
9 2008-02-11 Alexander Larsson <alexl@redhat.com>
14 Added GMountMountFlags enum and added a flags
15 argument to all mount calls.
17 This is an API/ABI change for future extensibility,
18 as I think we will need at least an
19 inhibit-autorun flag (the panel needs this).
20 There are no flags defined yet though.
22 2008-02-11 Alexander Larsson <alexl@redhat.com>
25 Added new standard::description attribute.
26 Requested by Vincent, and useful for both
29 2008-02-11 Alexander Larsson <alexl@redhat.com>
34 2008-02-11 Matthias Clasen <mclasen@redhat.com>
36 * *.c: Documentation additions
38 2008-02-10 Matthias Clasen <mclasen@redhat.com>
40 * gappinfo.h: Formatting cleanup
41 * gappinfo.c: Fix up docs.
43 2008-02-09 Matthias Clasen <mclasen@redhat.com>
45 * gunixmounts.c: Consistently use getmntent_r() and fall
46 back to getmntent(). (#515492)
48 2008-02-09 Matthias Clasen <mclasen@redhat.com>
50 * gbufferedinputstream.c:
52 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
54 * tests/data-input-stream.c:
55 * tests/data-output-stream.c: Portability fixes.
57 2008-02-08 Alexander Larsson <alexl@redhat.com>
62 Add g_volume_should_automount.
65 2008-02-07 Tor Lillqvist <tml@novell.com>
67 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
68 Win32, too Unix-specific.
70 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
72 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
73 a local plt if the compiler doesn't support what we want. Bug #514702
75 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
77 reviewed by: <delete if not using a buddy>
81 * gunixoutputstream.c:
83 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
86 * tests/live-g-file.c:
87 * tests/live-g-file.txt:
88 New GIO testing module working over real data
90 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
92 * glocalfileoutputstream.c (g_local_file_output_stream_close):
93 Fallback to rename() if link() is not available
94 (when no support on target filesystem)
96 2008-02-06 Michael Natterer <mitch@imendio.com>
98 * gfileinfo.c (g_file_info_get_icon): replace
99 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
101 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
103 * gfile.c (g_file_create):
104 Documentation update of error codes
106 2008-02-06 Alexander Larsson <alexl@redhat.com>
109 Update to use both mimeapps.list and
110 defaults.list as discussed on xdg list.
112 2008-02-06 Benjamin Otte <otte@gnome.org>
115 * gfilenamecompleter.c:
116 Fix some typos in the documentation.
118 2008-02-06 Alexander Larsson <alexl@redhat.com>
120 * glocalfile.c (g_local_file_trash):
121 Don't succeed with trash if newly created
122 trash dir has the wrong owner. (#514696)
124 2008-02-05 Alexander Larsson <alexl@redhat.com>
126 * glocalfile.c (g_local_file_move):
127 Don't spew warnings when destination is not
130 2008-02-03 Hans Breuer <hans@breuer.org>
132 * makefile.msc : update
134 2008-02-01 Michael Natterer <mitch@imendio.com>
136 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
137 return value of xdg_mime_list_mime_parents() to a variable of the
140 2008-02-01 Alexander Larsson <alexl@redhat.com>
142 * gappinfo.c (g_app_info_launch_uris):
143 Actually call the launch_uris method, not
146 2008-02-01 Alexander Larsson <alexl@redhat.com>
148 * gdesktopappinfo.c (g_desktop_app_info_equal):
149 Ensure appinfos with no id but same pointer value
152 2008-02-01 Alexander Larsson <alexl@redhat.com>
154 * gappinfo.c (g_app_info_launch_default_for_uri):
157 2008-02-01 Alexander Larsson <alexl@redhat.com>
161 Add g_app_info_launch_default_for_uri utility
164 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
167 Doc fix for g_app_info_get_default_for_uri_scheme ()
170 2008-01-30 Alexander Larsson <alexl@redhat.com>
173 Add doc comment about uris vs GFiles to
177 Ensure uris passed to g_app_info_launch_uris()
178 are not roundtriped through GFile (as that
179 may be slightly destructive for e.g. mailto: links)
181 2008-01-30 Alexander Larsson <alexl@redhat.com>
183 * tests/data-input-stream.c:
184 * tests/data-output-stream.c:
185 C89 fixes from Jens Granseuer (#512849)
187 2008-01-30 Alexander Larsson <alexl@redhat.com>
190 Fix gamin/fam difference build issue. (#509419)
192 2008-01-29 Alexander Larsson <alexl@redhat.com>
196 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
198 2008-01-29 Alexander Larsson <alexl@redhat.com>
202 giomodule-priv.h include moved to .c file.
204 2008-01-29 Alexander Larsson <alexl@redhat.com>
206 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
207 Remove unused prio/name fields.
209 2008-01-29 Alexander Larsson <alexl@redhat.com>
211 * gcontenttype.c (looks_like_text):
212 Don't treat whitespace as control chars.
214 2008-01-29 Alexander Larsson <alexl@redhat.com>
217 Lazily create the desktop files for appinfos created
218 by g_app_info_create_from_commandline() when needed
219 for mime associations. This allows run-time use
220 of GAppInfo object without creating unnecessary
223 2008-01-29 Alexander Larsson <alexl@redhat.com>
226 Added new symbols to gio.symbols
228 2008-01-29 Alexander Larsson <alexl@redhat.com>
231 Add g_file_query_default_handler utility to easily look up
232 the GAppInfo that handles a file.
234 * gdesktopappinfo.[ch]:
236 Set up an extension point for g_app_info_get_default_for_uri_scheme()
239 Remove unused function
241 2008-01-29 Alexander Larsson <alexl@redhat.com>
244 Mention need to free returned value in
245 g_file_enumerator_next_files_finish docs.
246 Fix leak if g_file_enumerator_next_files_finish()
249 2008-01-29 Alexander Larsson <alexl@redhat.com>
252 (_g_unix_content_type_get_parents):
253 Use list_parents, not get_parents from xdgmime, because
254 the later doesn't use the cache.
256 * xdgmime/xdgmimecache.c:
257 (_xdg_mime_cache_list_mime_parents):
258 Don't list the same type as parent multiple times.
260 2008-01-28 Matthias Clasen <mclasen@redhat.com>
262 * === Released 2.15.4 ===
264 2008-01-28 Alexander Larsson <alexl@redhat.com>
267 Register local vfs with prio 0.
270 Remove old name and prio class members
272 2008-01-28 Matthias Clasen <mclasen@redhat.com>
274 * tests/g-file.c: Disable some tests that are failing in
275 the absence of a http backend.
277 2008-01-28 Alexander Larsson <alexl@redhat.com>
281 Add registration hooks for extension points.
282 Register the gio extension points.
284 * fam/gfamdirectorymonitor.c:
285 * fam/gfamfilemonitor.c:
286 * glocaldirectorymonitor.[ch]:
287 * glocalfilemonitor.[ch]:
288 * gnativevolumemonitor.h:
289 * gunionvolumemonitor.c:
290 * gunixvolumemonitor.c:
293 * inotify/ginotifydirectorymonitor.c:
294 * inotify/ginotifyfilemonitor.c:
295 Use the extension points registration instead
296 of g_type_children().
298 2008-01-28 Matthias Clasen <mclasen@redhat.com>
301 * gvolume.[hc]: Document new API.
303 * gfile.c (g_file_copy_async): Fix docs
305 2008-01-27 Matthias Clasen <mclasen@redhat.com>
307 * gbufferedinputstream.c:
309 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
312 2008-01-27 Matthias Clasen <mclasen@redhat.com>
314 * glocalfile.c: Avoid trivial differences in translatable strings.
316 2008-01-25 Matthias Clasen <mclasen@redhat.com>
318 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
319 build with gcc 3.4 (#509419)
321 2008-01-25 Matthias Clasen <mclasen@redhat.com>
323 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
324 (#509994, Murray Cumming)
326 2008-01-25 Matthias Clasen <mclasen@redhat.com>
328 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
329 * gioscheduler.c: Keep calling io jobs until they return FALSE;
330 this allows big jobs to be executed in chunks, instead of blocking
331 the main loop for a long time.
333 * gsimpleasyncresult.c:
334 * giofile.c: Adapt callers.
336 2008-01-25 Alexander Larsson <alexl@redhat.com>
339 Implement changes discussed on xdg list.
340 Now we can add supported mimetypes by just using defaults.list
341 We can also remove associations in defaults.list.
343 2008-01-25 Alexander Larsson <alexl@redhat.com>
346 Don't make local copy of desktop file
347 for mimetype changes if the file already
348 supports the new mimetype.
350 2008-01-25 Matthias Clasen <mclasen@redhat.com>
354 * gbufferedinputstream.c:
355 * glocalfile.c: String improvements. (#511966,
356 Theppitak Karoonboonyanan)
358 2008-01-24 Matthias Clasen <mclasen@redhat.com>
360 * gioscheduler.h: Expand docs a bit.
362 2008-01-24 Alexander Larsson <alexl@redhat.com>
365 Add g_drive_get_identifier and
366 g_drive_enumerate_identifiers
369 Add g_volume_get_identifier and
370 g_volume_enumerate_identifiers
376 Implement identifiers for unix backend
378 2008-01-24 Alexander Larsson <alexl@redhat.com>
383 Add g_file_copy_async() (#511580)
384 Based on patch from Carlos Garcia Campos
386 2008-01-23 Matthias Clasen <mclasen@redhat.com>
388 * gioscheduler.c: Some documentation additions.
390 2008-01-22 Alexander Larsson <alexl@redhat.com>
393 (g_desktop_app_info_new):
396 2008-01-22 Alexander Larsson <alexl@redhat.com>
399 (g_desktop_app_info_new_from_filename):
402 2008-01-22 Alexander Larsson <alexl@redhat.com>
404 * glocalfileinfo.c (get_thumbnail_attributes):
407 2008-01-22 Alexander Larsson <alexl@redhat.com>
410 (canonicalize_filename):
411 Canonicalize paths that start with more than
416 (test_g_file_new_for_path):
419 2008-01-22 Alexander Larsson <alexl@redhat.com>
422 Allow UTF-8 in file:// parse names.
425 * tests/data-input-stream.c:
426 * tests/data-output-stream.c:
427 * tests/g-file-info.c:
429 Added a bunch of tests from Tomas Bzatek
431 2008-01-21 Matthias Clasen <mclasen@redhat.com>
433 * === Released 2.15.3 ===
435 2008-01-21 Alexander Larsson <alexl@redhat.com>
437 * gfileinputstream.[ch]:
438 * gfileoutputstream.[ch]:
440 Remove duplicated GSeekable functions. (#509990)
441 Just use the g_seekable_xxx() calls instead.
443 2008-01-21 Matthias Clasen <mclasen@redhat.com>
446 * gvolumemanager.c: Whitespace cleanups.
448 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
449 Use the right mode when creating the file.
451 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
454 * gfileinputstream.c:
456 * goutputstream.c: Documentation: Fixed minor typos
457 and added more mentions of specific _finish() functions.
459 2008-01-21 Alexander Larsson <alexl@redhat.com>
461 * inotify/Makefile.am:
462 * inotify/inotify-helper.c:
463 * inotify/inotify-kernel.c:
464 * inotify/inotify-path.c:
465 * inotify/local_inotify.h: Removed.
466 * inotify/local_inotify_syscalls.h: Removed.
467 Removed the included copies of the inotify
468 headers. We now only use the <sys/inotify.h>
469 header which exists on modern systems.
470 This fixes problems on ARM and SH5 (#510448)
471 but is also generally much cleaner and future
472 safe. For instance, if other OSes add support
473 for inotify it should "just work".
475 2008-01-20 Matthias Clasen <mclasen@redhat.com>
477 * inotify/*.c: Coding style fixes.
478 * inotify/inotify-missing.c: Use g_timeout_add_seconds
479 for the 1/4 Hz timer.
481 2008-01-20 Matthias Clasen <mclasen@redhat.com>
485 * gmemoryinputstream.c:
486 * gmemoryoutputstream.c:
488 * gthemedicon.c: Documentation updates
490 2008-01-20 Murray Cumming <murrayc@murrayc.com>
492 * gfile.c: documentation: Fixed more minor
495 2008-01-18 Murray Cumming <murrayc@murrayc.com>
497 * gmount.c: (g_mount_remount): documentation:
498 Mention g_mount_remount_finish() instead of
499 g_mount_unmount_finish().
501 2008-01-18 Murray Cumming <murrayc@murrayc.com>
505 * gfile.c: Fixed some minor typos in the
508 2008-01-18 Murray Cumming <murrayc@murrayc.com>
510 * gio/gvolumemonitor.c:
511 (g_volume_monitor_get_connected_drives):
512 (g_volume_monitor_get_volumes):
513 (g_volume_monitor_get_mounts): Documentation:
514 Clarify the ownership of the regurn GLists.
516 2008-01-17 Alexander Larsson <alexl@redhat.com>
519 Add the async find_enclosing_mount version
520 to the header file too.
522 2008-01-17 Alexander Larsson <alexl@redhat.com>
525 Add async version of find_enclosing_mount
526 with default implementation.
528 2008-01-17 Alexander Larsson <alexl@redhat.com>
533 Allow calls to implementation of copy and write
534 even if the type of the file implementations is
535 different. This can be used to implement native
536 upload and download calls in a vfs.
540 Protect against the case where move is called
541 with one file not being local.
543 Make sure we call the progress callback once
544 in the native move operation so that the caller
545 knows how many bytes were copied.
547 2008-01-16 Murray Cumming <murrayc@murrayc.com>
550 * gdatainputstream.c:
552 * gfileoutputstream.c:
557 * gunixmounts.c: Corrected some typos in the documentation:
559 its -> it's (where appropriate).
561 2008-01-16 Alexander Larsson <alexl@redhat.com>
565 Add g_file_query_exists (#508771)
567 2008-01-15 Murray Cumming <murrayc@murrayc.com>
572 * gvolume.c: For async functions that have no non-async
573 version, document that the GAsyncReadyCallback may be NULL.
576 2008-01-15 Alexander Larsson <alexl@redhat.com>
578 * gmemoryinputstream.c:
579 * gmemoryoutputstream.c:
580 Don't do pointer arithmetic on void * (#508602)
581 Patch from Kazuki IWAMOTO
583 2008-01-14 Matthias Clasen <mclasen@redhat.com>
585 * === Released 2.15.2 ===
587 2008-01-14 Alexander Larsson <alexl@redhat.com>
589 * gfile.c (g_file_monitor_file):
590 Don't set error here, since we fallback to polling monitor.
592 2008-01-14 Alexander Larsson <alexl@redhat.com>
595 (g_file_monitor_directory):
596 (g_file_monitor_file):
597 Add GError to file monitor calls
599 * glocaldirectorymonitor.c:
600 * glocaldirectorymonitor.h:
602 * glocalfilemonitor.c:
603 * glocalfilemonitor.h:
605 Update for above change
607 2008-01-14 Alexander Larsson <alexl@redhat.com>
611 Handle root correctly in g_file_get_relative_path (#508719)
613 2008-01-14 Alexander Larsson <alexl@redhat.com>
616 Clean up docs and example for GAsyncResult (#508074)
618 2008-01-11 Murray Cumming <murrayc@murrayc.com>
620 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
621 and correct some spelling mistakes. Bug #508108.
623 2008-01-11 Matthias Clasen <mclasen@redhat.com>
625 * glocalfileinfo.c: Add a comment.
627 2008-01-10 Murray Cumming <murrayc@murrayc.com>
629 * gfileinfo.c: GFileInfo description: Mention
630 how to actually set attributes in a GFile and how to discover
631 which attributes are settable. Bug #508378.
633 2008-01-10 A. Walton <awalton@svn.gnome.org>
635 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
636 (g_app_info_get_default_for_type):
637 Check for NULL content types.
639 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
641 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
643 2008-01-09 Murray Cumming <murrayc@murrayc.com>
645 * gfile.c: *_async() functions: Several small corrections
646 to the documentation, mostly correcting copy/paste errors
647 and improving some sentences.
649 2008-01-09 Dan Winship <danw@gnome.org>
651 * glocalfile.c (get_unique_filename): x86_64 fix
653 2008-01-09 Alexander Larsson <alexl@redhat.com>
658 Add g_unix_mount_guess_should_display and use
659 for unix volume monitor backend.
660 This means we more or less show what the
661 gnome-vfs backend did.
662 Based on patch from Padraig O'Briain
664 2008-01-09 Alexander Larsson <alexl@redhat.com>
668 Add g_themed_icon_new_with_default_fallbacks
671 Use default fallbacks for icons
673 2008-01-09 Alexander Larsson <alexl@redhat.com>
676 * gmountoperation.[ch]:
677 Change the API a bit so that unhandled methods
678 get reported via the reply, rather than by
679 the signal emission return value. This is because
680 some handlers can't know this immediately without
681 doing I/O, and this is an async operation that
684 2008-01-09 Alexander Larsson <alexl@redhat.com>
687 * fam/gfamdirectorymonitor.c:
688 * fam/gfamfilemonitor.c:
689 Fix double free crash (#508224)
690 Patch from Joe Marcus Clarke
692 008-01-07 Matthias Clasen <mclasen@redhat.com>
694 * === Released 2.15.1 ===
696 2008-01-07 Alexander Larsson <alexl@redhat.com>
698 * gunixinputstream.c (g_unix_input_stream_skip_finish):
699 Fix warning (#507835)
701 2008-01-07 Alexander Larsson <alexl@redhat.com>
704 Pass --internal to glib-genmarshal
709 Use better types for signal arguments (#507822)
711 2008-01-07 Alexander Larsson <alexl@redhat.com>
714 Build test subdir after .
715 Remove gdirectorymonitor.[ch]
717 * gdirectorymonitor.[ch]:
721 Remove GDirectoryMonitor and make
722 GFileMonitor the baseclass for both file and
723 directory monitors. Lift the more generic
724 rate limiting code from GDirectoryMonitor
728 * fam/gfamdirectorymonitor.[ch]:
729 * inotify/ginotifydirectorymonitor.[ch]:
730 * inotify/inotify-helper.c:
731 * glocaldirectorymonitor.[ch]:
734 Update for the removed GDirectoryMonitor.
736 * gmemoryoutputstream.c:
737 Remove ununsed variable
739 2008-01-07 Alexander Larsson <alexl@redhat.com>
741 * gmemoryinputstream.c:
742 Translate error strings
745 * gmemoryoutputstream.[ch]:
746 New implementation that avoids using GByteArray
747 in implementation and API. (#506377)
749 2008-01-06 Matthias Clasen <mclasen@redhat.com>
751 * tests/*: Add a test for memory input streams.
753 * Makefile.am: Add tests to SUBDIRS.
755 2008-01-06 Matthias Clasen <mclasen@redhat.com>
757 * glocalfilemonitor.c:
758 * glocaldirectorymonitor.c: Mark property nicks and blurbs
761 2008-01-06 Matthias Clasen <mclasen@redhat.com>
763 * gdesktopappinfo.c: Fix a docs typo.
765 * gfileattribute.c: Add information about extended attributes
766 to the documentation. (#505058)
768 2008-01-04 Alexander Larsson <alexl@redhat.com>
772 Use the right type (uint) for the ask_password signal.
774 2008-01-04 Alexander Larsson <alexl@redhat.com>
779 Add g_app_info_supports_files()
780 Remove desktop arg from g_app_info_should_show().
782 * gdesktopappinfo.[ch]:
783 Implement g_app_info_supports_files() and new should_show()
784 Add g_desktop_app_info_set_desktop_env() to set the desktop
785 for should_show(). (This will be set by gtk+ later)
787 2008-01-04 Alexander Larsson <alexl@redhat.com>
790 * gmemoryinputstream.[ch]:
791 Improve API so that you can use multiple chunks
792 of memory and custom destroy functions. (#506374)
794 2008-01-03 Alexander Larsson <alexl@redhat.com>
797 Handle NULL attribute matchers safely, as we return this
798 for empty attribute matcher strings.
800 2008-01-03 Alexander Larsson <alexl@redhat.com>
802 * gunixmounts.c (g_unix_is_mount_path_system_internal):
803 Add /usr/local to list of internal mountpoints
805 2008-01-03 Alexander Larsson <alexl@redhat.com>
808 Check for HAVE_LCHOWN (#505887)
810 2008-01-03 Alexander Larsson <alexl@redhat.com>
814 Add define for selinux context attribute.
815 Fix missing : -> :: namespace separator change
816 Fix missing _ -> - name change for xattr-sys.
819 2008-01-03 Alexander Larsson <alexl@redhat.com>
822 Link to libglib and libgobject directly (#504879)
823 Patch from Sebastien Bacher
825 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
827 * gfile.c: Expanded the g_file_new_for_commandline_arg
828 description a bit, based on the code and the docs of the
829 other g_file_new_for_* functions.
831 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
833 * gfilemonitor.h: Fixed typo in docs.
835 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
837 Updates to GIO documentation. (#506395, Mikael Hermansson)
839 * gcontenttype.c: Describe memory management for return value of
840 g_content_types_get_registered(). Missing piece from #505815.
841 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
842 GVolume, GDrive, GMounts, which hopefully gives the user less
843 confusions when using this API. Following explainations from
844 Alexander Larsson on gtk-devel-list.
846 2007-12-30 Matthias Clasen <mclasen@redhat.com>
848 * gfileinfo.c: Expand the long description.
850 2007-12-30 Matthias Clasen <mclasen@redhat.com>
853 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
854 fix builds with --disable-visibility. (#500273, Christian Persch)
856 2007-12-30 Matthias Clasen <mclasen@redhat.com>
858 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
859 in the list of returned app infos.
861 2007-12-30 Matthias Clasen <mclasen@redhat.com>
863 * gappinfo.c: Fix a cross-reference
865 2007-12-30 Matthias Clasen <mclasen@redhat.com>
867 * gfileinputstream.c:
868 * gfileoutputstream.c:
874 * gfileinfo.c: Documentation updates.
876 2007-12-26 Matthias Clasen <mclasen@redhat.com>
878 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
881 2007-12-26 Matthias Clasen <mclasen@redhat.com>
883 * gcontenttype.c (g_content_types_get_registered): Don't return
884 freed memory (#505815, Mikael Hermansson)
886 2007-12-25 Paolo Borelli <pborelli@katamail.com>
888 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
889 used to detect statbuf->st_blocks. (#505042)
891 2007-12-24 Matthias Clasen <mclasen@redhat.com>
893 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
894 environment handling. (#504829, Cosimo Cecchi)
896 2007-12-22 Matthias Clasen <mclasen@redhat.com>
898 * gappinfo.c: Doc improvements
900 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
903 2007-12-20 Matthias Clasen <mclasen@redhat.com>
905 * === Released 2.15.0 ===
907 2007-12-20 Hans Breuer <hans@breuer.org>
909 * makefile.msc : don't build gdesktopappinfo.obj, it collides
910 with symbols gwin32appinfo.obj, added gmount.obj
911 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
913 2007-12-20 Alexander Larsson <alexl@redhat.com>
919 * gfilenamecompleter.c:
922 * gpollfilemonitor.c:
923 File attribute renames:
926 id::fs -> id::filesystem
928 2007-12-20 Alexander Larsson <alexl@redhat.com>
937 Add GMountUnmountFlags to all unmount and
939 Add g_mount_remount() call.
941 2007-12-20 Alexander Larsson <alexl@redhat.com>
943 * gvfs.c (get_default_vfs):
944 Fix unused variable warning
946 2007-12-19 Matthias Clasen <mclasen@redhat.com>
948 * pltcheck.sh: Update
950 2007-12-19 Matthias Clasen <mclasen@redhat.com>
952 * gunionvolumemonitor.c:
953 * gunixmount.c: Remove C99 comments
955 2007-12-19 Matthias Clasen <mclasen@redhat.com>
957 * gio.symbols: Add some missing symbols
959 2007-12-19 Alexander Larsson <alexl@redhat.com>
962 Make g_io_modules_load_all_in_directory not unuse
963 loaded modules so that users of it can do stuff
965 Init internal "module" types.
966 Initialize static prio and name for types so that
967 we don't have to load modules to get it.
969 * gnativevolumemonitor.h:
971 Move is_supported to parent class so that
972 non-native monitors can avoid being initialized
973 too. (For instance GDaemonVolumeMonitor if we're
974 not using GDaemonVfs.)
976 * glocaldirectorymonitor.[ch]:
977 * glocalfilemonitor.[ch]:
978 * gunionvolumemonitor.c:
979 * gunixvolumemonitor.c:
981 Find plugins using the static prio+name to
982 avoid unnecessarily loading the modules.
984 2007-12-19 Alexander Larsson <alexl@redhat.com>
989 2007-12-19 Alexander Larsson <alexl@redhat.com>
991 * gunionvolumemonitor.c:
992 Store the native type as GType, not class so that
993 we can unload it. But still avoid unnecessarily
996 2007-12-19 David Zeuthen <davidz@redhat.com>
998 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
999 add signals 'disconnected' and 'eject-button' on GDrive. Add
1000 signal 'removed' on GVolume and 'unmounted' on GMount.
1002 * gdrive.c: (g_drive_base_init):
1004 * gfile.c: (g_file_mount_mountable),
1005 (g_file_mount_enclosing_volume):
1008 * gmount.c: (g_mount_base_init):
1010 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1011 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1012 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1016 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1018 * *.c: Fix up includes in the section docs.
1020 2007-12-17 Alexander Larsson <alexl@redhat.com>
1022 * gnativevolumemonitor.h:
1023 * gunionvolumemonitor.c:
1024 * gunixvolumemonitor.c:
1025 Add is_supported() to GNativeVolumeMonitorClass so
1026 that we can avoid having to create an object to see
1027 if the backend is supported at runtime.
1028 Also add name member and an env var to pick a specific
1029 volume monitor backend.
1033 Add cancellable to _g_mount_get_for_mount_path()
1035 * glocaldirectorymonitor.c:
1036 * glocalfilemonitor.c:
1037 Avoid loading and unloading modules while sorting.
1039 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1042 * gunixmounts.[hc]: Namespace waste reduction, move some
1043 g_get_unix_mount functions to the g_unix_mount namespace.
1046 * gunixvolumemonitor.c:
1048 * glocaldirectorymonitor.c: Update all callers.
1050 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1052 2007-12-17 Alexander Larsson <alexl@redhat.com>
1055 Add doc comments about what GFile operations are
1056 guaranteed to not block.
1058 2007-12-17 Alexander Larsson <alexl@redhat.com>
1061 Add missing #ifdef fixing OSX build.
1062 (#503334, patch from Richard Hult)
1064 2007-12-14 David Zeuthen <davidz@redhat.com>
1068 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1069 (g_mount_eject), (g_mount_eject_finish):
1071 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1072 (get_volume_for_uuid), (get_mount_for_uuid),
1073 (g_union_volume_monitor_class_init),
1074 (get_default_native_type_with_exclude), (get_default_native_type),
1075 (get_native_type), (update_native_type),
1076 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1077 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1078 (g_unix_mount_can_eject), (eject_unmount_cb),
1079 (eject_unmount_read_error), (eject_unmount_do),
1080 (g_unix_mount_unmount), (g_unix_mount_eject),
1081 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1082 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1083 (g_unix_mount_point_guess_can_eject):
1085 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1086 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1087 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1088 (g_unix_volume_mount), (g_unix_volume_eject),
1089 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1090 * gunixvolumemonitor.c: (get_volume_for_uuid),
1091 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1093 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1094 (g_volume_eject), (g_volume_eject_finish):
1096 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1097 (g_volume_monitor_get_mount_for_uuid):
1100 Provide eject() on both GMount and GVolume and utility functions
1101 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1102 ejected. Introduce the concept of UUID's and wire it into GVolume
1103 and GMount and provide API on GVolumeMonitor to find such
1104 instances. Also handle the case where an external
1105 GNativeVolumeMonitor fails to initialize. Lock around the
1106 _g_get_mount_for_mount_path() function such that volume monitor
1107 implementations won't have to do locking themselves.
1109 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1111 * gdesktopappinfo.c:
1117 * gvolume.h: Documentation updates
1119 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1122 * gfile.h: Doc updates
1124 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1127 * gdesktopappinfo.c: Use hash table iterators.
1129 2007-12-14 Alexander Larsson <alexl@redhat.com>
1132 * gfileattribute.[ch]:
1133 * gfileattribute-priv.h:
1134 Move GFileAttributeValue to a private header, as
1138 Make set_attribute take a type + a pointer instead
1139 of a GFileAttributeValue.
1142 Fix up for above changes.
1143 Add g_file_info_get_attribute_data to get
1144 all info in one call, g_file_info_get_attribute_status
1145 to get the status and g_file_info_get_attribute_as_string.
1149 * glocalfileinfo.[ch]:
1153 Make _guess_type static.
1155 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1158 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1159 made mkenums and friends use temporary files to avoid leaving
1160 empty generated files on failure (#503470).
1162 2007-12-14 Alexander Larsson <alexl@redhat.com>
1164 * gmountoperation.h:
1167 2007-12-14 Alexander Larsson <alexl@redhat.com>
1171 * gfileattribute.[ch]:
1174 * glocalfileoutputstream.c:
1175 * gmountoperation.[ch]:
1176 * goutputstream.[ch]:
1177 Clean up all flags enums to not have _FLAGS in them
1178 Make the names of some of the enums better.
1183 2007-12-14 Michael Natterer <mitch@imendio.com>
1185 * gio.symbols: fix g_io_scheduler symbol names.
1187 2007-12-14 Alexander Larsson <alexl@redhat.com>
1193 * gbufferedinputstream.h:
1194 * gbufferedoutputstream.h:
1197 * gdatainputstream.h:
1198 * gdataoutputstream.h:
1199 * gdesktopappinfo.h:
1200 * gdirectorymonitor.h:
1204 * gfileenumerator.h:
1207 * gfileinputstream.h:
1209 * gfilenamecompleter.h:
1210 * gfileoutputstream.h:
1211 * gfilterinputstream.h:
1212 * gfilteroutputstream.h:
1220 * gmemoryinputstream.h:
1221 * gmemoryoutputstream.h:
1223 * gmountoperation.h:
1226 * gsimpleasyncresult.h:
1228 * gunixinputstream.h:
1230 * gunixoutputstream.h:
1234 * inotify/Makefile.am:
1235 Only allow including <gio/gio.h> from apps
1237 2007-12-14 Alexander Larsson <alexl@redhat.com>
1239 * gioscheduler.[ch]:
1240 * gsimpleasyncresult.c:
1241 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1242 Split out the send_to_mainloop call into two versions instead
1243 of having the block argument.
1245 2007-12-13 Alexander Larsson <alexl@redhat.com>
1247 * gcancellable.[ch]:
1249 * gbufferedinputstream.c:
1250 * gfileenumerator.c:
1251 * gfileinputstream.c:
1252 * gfileoutputstream.c:
1256 g_push/pop_current_cancellable ->
1257 g_cancellable_push/pop_current
1259 2007-12-13 Alexander Larsson <alexl@redhat.com>
1263 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1265 2007-12-13 Alexander Larsson <alexl@redhat.com>
1267 * gmountoperation.h:
1268 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1270 2007-12-12 Alexander Larsson <alexl@redhat.com>
1273 Fix race condition when freeing proxy in
1274 g_io_job_send_to_mainloop().
1276 2007-12-12 Alexander Larsson <alexl@redhat.com>
1282 Make attribute namespace separator "::" instead of ":".
1283 Use - instead of _ as separator in attribute names.
1285 2007-12-12 Alexander Larsson <alexl@redhat.com>
1287 * gbufferedinputstream.h:
1288 * gbufferedoutputstream.h:
1289 * gdatainputstream.h:
1290 * gdataoutputstream.h:
1291 * gdirectorymonitor.h:
1292 * gfileenumerator.h:
1293 * gfileinputstream.h:
1295 * gfileoutputstream.h:
1296 * gfilterinputstream.h:
1297 * gfilteroutputstream.h:
1299 * glocalfileinputstream.h:
1300 * glocalfileoutputstream.h:
1301 * gmemoryinputstream.h:
1302 * gmemoryoutputstream.h:
1303 * gnativevolumemonitor.h:
1305 * gunixinputstream.h:
1306 * gunixoutputstream.h:
1309 s/parent/parent_instance/ in GObjects
1311 2007-12-12 Alexander Larsson <alexl@redhat.com>
1316 No need for padding for interfaces
1318 2007-12-12 Alexander Larsson <alexl@redhat.com>
1322 * gbufferedinputstream.c:
1323 * gbufferedoutputstream.c:
1326 * gdatainputstream.[ch]:
1327 * gdesktopappinfo.c:
1328 * gdirectorymonitor.c:
1330 * gfileattribute.[ch]:
1333 * gfileinputstream.h:
1334 * gfilemonitor.[ch]:
1335 * gfileoutputstream.[ch]:
1336 * gfilterinputstream.h:
1337 * gfilteroutputstream.h:
1340 * gloadableicon.[ch]:
1341 * gmemoryinputstream.c:
1342 * gmountoperation.c:
1344 Fix up a bunch of details in the docs.
1349 2007-12-11 David Zeuthen <davidz@redhat.com>
1351 Rework how volumes, drives and volume monitoring is
1352 done. Previosly the model was
1354 GDrive <1-1> GVolume
1356 where a GDrive instance represented a mount point and a GVolume
1357 instance represented a mounted file system. This patch changes it
1360 GDrive <1-N> GVolume <1-1> GMount
1362 where GMount now serves the purpose of the old GVolume and the new
1363 GVolume serves the purpose of the old GDrive. In addition the new
1364 GDrive interface is used to represent a collection of GVolume
1365 instances (typically partitions) and also contains utility to query
1366 the state of the physical drive the GDrive object represents (such
1367 as checking for media, polling the drive, ejecting the media etc.).
1369 Also implement mounting and unmounting in the Unix volume monitor
1370 backend. A subquent patch will introduce GDrive support for ejection
1374 * gdrive.c: (g_drive_is_media_check_automatic),
1375 (g_drive_is_media_removable), (g_drive_has_media),
1376 (g_drive_can_poll_for_media), (g_drive_eject),
1377 (g_drive_eject_finish), (g_drive_poll_for_media),
1378 (g_drive_poll_for_media_finish):
1380 * gfile.c: (g_file_find_enclosing_mount):
1383 * glocaldirectorymonitor.c:
1384 (g_local_directory_monitor_constructor), (mounts_changed):
1385 * glocalfile.c: (get_mount_info),
1386 (g_local_file_find_enclosing_mount),
1387 (g_local_file_file_iface_init):
1388 * gnativevolumemonitor.h:
1389 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1390 (get_connected_drives), (g_union_volume_monitor_class_init),
1391 (child_volume_added), (child_volume_removed),
1392 (child_volume_changed), (child_mount_added), (child_mount_removed),
1393 (child_mount_pre_unmount), (child_mount_changed),
1394 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1395 (g_union_volume_monitor_remove_monitor),
1396 (_g_mount_get_for_mount_path):
1397 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1398 (guess_system_internal), (_g_get_unix_mounts),
1399 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1400 (g_unix_mount_free), (g_unix_mount_compare),
1401 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1402 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1403 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1404 (type_to_icon), (g_unix_mount_guess_name),
1405 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1406 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1407 (_resolve_symlink), (_resolve_dev_root):
1409 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1410 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1411 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1412 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1413 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1414 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1415 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1416 (g_unix_volume_volume_iface_init):
1418 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1419 (get_mounts), (get_volumes), (get_connected_drives),
1420 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1421 (mountpoints_changed), (mounts_changed),
1422 (g_unix_volume_monitor_init),
1423 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1424 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1425 * gunixvolumemonitor.h:
1426 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1427 (g_volume_mount), (g_volume_mount_finish):
1429 * gvolumemonitor.c: (g_volume_monitor_class_init),
1430 (g_volume_monitor_get_connected_drives),
1431 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1434 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1436 * gmountoperation.h (GPasswordFlags): Close the gap
1438 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1440 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1442 * gdesktopappinfo.[hc]: Remove _-prefixes
1444 2007-12-10 Tor Lillqvist <tml@novell.com>
1446 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1449 2007-12-10 Alexander Larsson <alexl@redhat.com>
1451 * gfile.c (g_file_set_display_name):
1452 Don't hardcode '/' (#502727)
1454 2007-12-09 Hans Breuer <hans@breuer.org>
1456 * makefile.msc : follow lib naming convention
1457 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1458 for user and group name, tested with ../tests/gio-ls
1460 2007-12-09 A. Walton <awalton@svn.gnome.org>
1462 * gdesktopappinfo.c:
1468 * gfileenumerator.c:
1473 * gmemoryinputstream.c:
1474 * gmemoryoutputstream.c:
1476 * gsimpleasyncresult.c:
1477 More documentation cleanup and filling in missing information, bringing
1478 GIO to 99% symbol coverage.
1480 2007-12-08 Hans Breuer <hans@breuer.org>
1482 [gio compiles and links on win32, not sure how much already works]
1483 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1484 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1485 base on win32 API; prefer g_lstat() over lstat(); instead of
1486 localtime_r() use an all GLib implementation on win32;
1487 get_mount_info() still needs a win32 specifc implementation
1488 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1489 win32_get_file_user_info to get owner/group info without uid/gid
1490 * glocalfileinputstream.c : include <io.h> on win32
1491 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1492 definition, use g_win32_ftruncate() for G_OS_WIN32
1493 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1494 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1495 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1496 * makefile.msc : updated
1498 2007-12-07 Alexander Larsson <alexl@redhat.com>
1500 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1501 Avoid warning spew if error == NULL
1503 2007-12-07 Alexander Larsson <alexl@redhat.com>
1506 Update docs wrt etags
1508 2007-12-06 Alexander Larsson <alexl@redhat.com>
1511 Include sys/types.h for dev_t (#501919)
1513 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1517 Make abicheck and pltcheck pass.
1519 2007-12-05 Alexander Larsson <alexl@redhat.com>
1522 * giomodule-priv.h: Added.
1523 * glocaldirectorymonitor.c:
1524 * glocalfilemonitor.c:
1525 * gunionvolumemonitor.c:
1527 Actually add the declaration of _g_io_modules_ensure_loaded
1529 2007-12-05 Alexander Larsson <alexl@redhat.com>
1531 * gdatainputstream.c:
1536 * glocaldirectorymonitor.c:
1537 * glocalfilemonitor.c:
1538 * gunionvolumemonitor.c:
1540 Make g_io_modules_ensure_loaded a private function and
1541 don't pass in the dirname. This means we can do magic
1542 directory finding in the win32 version.
1543 Export the actual load-modules-in-directory code so that
1544 gvfs can reuse that.
1546 2007-12-05 Alexander Larsson <alexl@redhat.com>
1548 * gbufferedinputstream.c:
1549 * gbufferedoutputstream.c:
1552 * gfileenumerator.[ch]:
1553 * gfileinputstream.c:
1554 * gfileoutputstream.[ch]:
1555 * gfilterinputstream.c:
1556 * gfilteroutputstream.c:
1557 * ginputstream.[ch]:
1559 * glocalfileenumerator.c:
1560 * glocalfileinputstream.c:
1561 * glocalfileoutputstream.c:
1562 * gmemoryinputstream.c:
1563 * gmemoryoutputstream.c:
1564 * goutputstream.[ch]:
1567 * gunixinputstream.c:
1568 * gunixoutputstream.c:
1569 Rename all struct members named:
1570 read, write, close, truncate, or mount
1571 to foo_fn, as these are reserved names
1572 and could be defined as macros in libc.
1575 2007-12-04 Alexander Larsson <alexl@redhat.com>
1578 (g_output_stream_close):
1579 Only call flush if non-null.
1581 2007-11-30 Dan Winship <danw@gnome.org>
1583 * ginputstream.c (g_input_stream_set_pending): Make this take a
1584 GError and return a gboolean, and do the "outstanding operation"
1585 check (and the "stream is already closed" check) itself.
1586 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1588 * goutputstream.c (g_output_stream_set_pending)
1589 (g_output_stream_clear_pending): Likewise
1591 * gbufferedinputstream.c:
1592 * gfileinputstream.c:
1593 * gfileoutputstream.c: Update for that
1595 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1596 Like g_simple_async_report_error_in_idle, but takes a GError
1597 rather than building one.
1599 2007-11-30 Dan Winship <danw@gnome.org>
1601 * goutputstream.c: Don't cheat and unset the "pending" flag around
1602 inner calls. Instead, call the class method directly rather than
1603 the wrapper function that checks "pending"
1605 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1607 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1609 2007-12-03 Hans Breuer <hans@breuer.org>
1611 [start of port to win32/msvc]
1612 * gcancellable.c : HAVE_UNIST_H and _pipe()
1613 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1614 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1615 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1617 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1618 * glocalvfs.c : use HAVE_PWD_H
1619 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1620 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1621 * Makefile.am : added to EXTRA_DIST
1623 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1625 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1628 2007-12-03 Alexander Larsson <alexl@redhat.com>
1631 Handle OSX style xattrs API (#500506)
1633 2007-12-03 Alexander Larsson <alexl@redhat.com>
1637 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1639 2007-12-02 A. Walton <awalton@svn.gnome.org>
1643 Documentation accuracy fixes.
1645 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1647 * gioenumtypes.c.template: Fix typo.
1649 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1651 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1653 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1655 * gdirectorymonitor.c:
1656 * gfilemonitor.c: Add properties
1658 * gbufferedoutputstream.c: Don't mark buffer-size property
1661 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1663 * gbufferedoutputstream.c: Add auto-grow property.
1665 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1667 * *.c: Unify the capitalization of section headings.
1669 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1671 * gmountoperation.c: Add properties
1673 * gdatainputstream.c: Turn byte-order and newline-type into
1676 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1678 * gioenumtypes.[hc].template: Templates for enum registration
1680 * Makefile.am: Generate gioenumtypes.[hc]
1682 * gio.h: Include gioenumtypes.h
1684 * gfile.h: Add some explicit nicks.
1686 * gio.symbols: Add new symbols
1688 * pltcheck.sh: Adjust
1690 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1692 * *.c: Explain etags and link to the explanation
1694 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1696 * *.c: Explain I/O priority.
1698 * *.c: More coding style fixes.
1700 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1702 * gasyncresult.c: Add another paragraph to the intro,
1703 adjust coding style of example.
1705 2007-11-29 A. Walton <awalton@svn.gnome.org>
1708 Fixes unknown meaning in GAppLaunchContext docs.
1710 Clarify asynchronous ops.
1712 Fix entity tag docs.
1715 Provides missing gtk-doc section, fixes API docs slighly.
1716 * gsimpleasyncresult.c:
1717 Fill in missing info in docs.
1718 * gunixinputstream.c:
1719 * gunixoutputstream.c:
1720 Be more expressive in short description.
1722 Remove gtk-doc stubs for non-public API.
1724 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1726 * *.c: Coding style fixups
1728 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1730 * inotify/inotify-helper.c: Don't export the lock from libgio.
1732 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1735 * abicheck.sh: Fix copy-and-paste leftovers
1737 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1739 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1741 2007-11-28 Alexander Larsson <alexl@redhat.com>
1745 Removed unnecessary file
1747 * gdesktopappinfo.[ch]:
1750 * glocaldirectorymonitor.[ch]:
1752 * glocalfileenumerator.[ch]:
1753 * glocalfileinputstream.[ch]:
1754 * glocalfilemonitor.[ch]:
1755 * glocalfileoutputstream.[ch]:
1757 * gnativevolumemonitor.c:
1758 * gpollfilemonitor.[ch]:
1759 * gunionvolumemonitor.[ch]:
1762 * gunixvolumemonitor.[ch]:
1765 * inotify/ginotifydirectorymonitor.[ch]:
1766 * inotify/ginotifyfilemonitor.[ch]:
1767 * inotify/inotify-helper.c:
1768 Append _ to all internal functions
1772 Export symbols needed for modules
1774 2007-11-28 Alexander Larsson <alexl@redhat.com>
1777 * abicheck.sh: Added.
1778 * makegioalias.pl: Added.
1779 * pltcheck.sh: Added.
1780 * gio.symbols: Added.
1783 Initial work on adding symbol handling.
1786 Correct ifdef guard name
1789 * inotify/Makefile.am:
1790 * xdgmime/Makefile.am:
1791 Include toplevel Makefile.decl
1793 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1795 * gcontenttype.c: Move doc comments to the unix section.
1797 * *.[hc]: More trivial doc corrections.
1799 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1801 * gpollfilemonitor.c:
1805 * gdesktopappinfo.c:
1810 * gdatainputstream.c:
1811 * gdatainputstream.h:
1812 * gdataoutputstream.c:
1813 * gdataoutputstream.h:
1814 * gfileinfo.h: Doc cleanups
1816 2007-11-28 Andre Klapper <a9016009@gmx.de>
1818 * gdesktopappinfo.c: Fix a typo.
1820 2007-11-27 Andre Klapper <a9016009@gmx.de>
1822 * glocalfileoutputstream.c: Fix a typo.
1824 2007-11-27 Alexander Larsson <alexl@redhat.com>
1827 Don't include removed headers
1829 2007-11-27 Alexander Larsson <alexl@redhat.com>
1832 * gsocketinputstream.[ch]: Removed.
1833 * gsocketoutputstream.[ch]: Removed.
1834 * gunixinputstream.[ch]: Added.
1835 * gunixoutputstream.[ch]: Added.
1836 Renamed GSocket*Stream to GUnix*Stream and made
1837 it unix-only, since its not really only for sockets
1838 and it only works on unix (but is highly useful there).
1840 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1846 * gbufferedinputstream.c:
1847 * gbufferedinputstream.h:
1848 * gbufferedoutputstream.c:
1849 * gbufferedoutputstream.h:
1853 * gdatainputstream.c:
1854 * gdatainputstream.h:
1855 * gdataoutputstream.c:
1856 * gdataoutputstream.h:
1857 * gdirectorymonitor.c:
1858 * gdirectorymonitor.h:
1865 * gfileenumerator.c:
1866 * gfileenumerator.h:
1871 * gfileinputstream.c:
1872 * gfileinputstream.h:
1875 * gfilenamecompleter.c:
1876 * gfilenamecompleter.h:
1877 * gfileoutputstream.c:
1878 * gfileoutputstream.h:
1879 * gfilterinputstream.c:
1880 * gfilterinputstream.h:
1881 * gfilteroutputstream.c:
1882 * gfilteroutputstream.h:
1895 * glocalfileoutputstream.c:
1896 * gmemoryinputstream.c:
1897 * gmemoryinputstream.h:
1898 * gmemoryoutputstream.c:
1899 * gmemoryoutputstream.h:
1900 * gmountoperation.c:
1901 * gmountoperation.h:
1904 * gpollfilemonitor.c:
1907 * gsimpleasyncresult.c:
1908 * gsimpleasyncresult.h:
1909 * gsocketinputstream.c:
1910 * gsocketinputstream.h:
1911 * gsocketoutputstream.c:
1912 * gsocketoutputstream.h:
1919 * gunixvolumemonitor.c:
1928 Bumps documentation to 93% symbol coverage, touching most
1929 of the public files. Fixes broken function documentation prototypes.
1930 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1931 gtk-doc headers in private files.
1933 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1935 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1936 (g_buffered_input_stream_read_byte):
1937 * gbufferedinputstream.h:
1938 New functions for efficient access to buffer and simple single byte
1941 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1942 (g_data_input_stream_read_until):
1943 * gdatainputstream.h:
1944 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1945 read_until with multiple stop chars.
1947 2007-11-27 Alexander Larsson <alexl@redhat.com>
1951 * inotify/Makefile.am:
1952 Use the user-specified giomoduledir
1954 2007-11-27 Alexander Larsson <alexl@redhat.com>
1958 Add catch-all gio.h header
1959 Don't install gdummyfile.h
1961 2007-11-26 Alexander Larsson <alexl@redhat.com>
1963 * Makefile.am (gioinclude_HEADERS):
1964 Remove trailing whitespace
1966 2007-11-26 Alexander Larsson <alexl@redhat.com>
1968 Merge gio-standalone into glib
1970 2007-11-25 Christian Kellner <gicmo@gnome.org>
1972 * gio/goutputstream.c:
1973 Fix small mistake in the docs.
1975 2007-11-21 Christian Persch <chpe@gnome.org>
1977 * gio/glocalfile.c: (g_local_file_trash):
1978 Convert filenames to UTF-8 for GError.
1979 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
1980 as per xdg base dir spec.
1982 2007-11-21 Christian Persch <chpe@gnome.org>
1984 * gio/gdesktopappinfo.c:
1985 Use that g_key_file_to_data cannot fail.
1987 Use stock defines for the key file group and key names.
1990 2007-11-21 Alexander Larsson <alexl@redhat.com>
1993 (copy_stream_with_progress):
1994 Make sure we do a final progress callback with
1995 the full total size.
1997 2007-11-21 Alexander Larsson <alexl@redhat.com>
2000 Export g_file_copy_attributes
2001 Remove padding as its not needed for interfaces
2003 2007-11-20 Alexander Larsson <alexl@redhat.com>
2008 Add G_IO_ERROR_WOULD_MERGE for
2009 copy/move dir on dir with overwrite.
2011 2007-11-20 Alexander Larsson <alexl@redhat.com>
2014 * gio/glocalfileinfo.c:
2015 Add COPY_NAME (this is an optional
2016 non-modified utf8 version of the name) that
2019 2007-11-20 Alexander Larsson <alexl@redhat.com>
2021 * gio/glocalfileenumerator.c:
2022 Report errors as GIOError, not GFileError
2024 2007-11-16 Alexander Larsson <alexl@redhat.com>
2026 * gio/glocalfileoutputstream.c:
2027 * gio/gwin32appinfo.c:
2028 Fix typos in strings.
2029 Patch from Luca Ferretti <elle.uca@libero.it>
2031 2007-11-15 Alexander Larsson <alexl@redhat.com>
2034 Post release version bump
2036 === gio-standalone 0.1.2 ===
2038 2007-11-15 Alexander Larsson <alexl@redhat.com>
2040 * docs/reference/gio/Makefile.am:
2041 Fix up distcheck by removing weird
2047 2007-11-14 Alexander Larsson <alexl@redhat.com>
2049 * gio/gdesktopappinfo.c:
2050 * gio/glocaldirectorymonitor.c:
2052 * gio/glocalfileinfo.c:
2053 * gio/inotify/inotify-sub.c:
2054 * programs/gio-cat.c:
2055 * programs/gio-copy.c:
2056 * programs/gio-info.c:
2057 * programs/gio-ls.c:
2058 * programs/gio-monitor-dir.c:
2059 * programs/gio-monitor-file.c:
2060 * programs/gio-mount.c:
2061 * programs/gio-move.c:
2062 * programs/gio-rm.c:
2063 * programs/gio-save.c:
2064 * programs/gio-trash.c:
2065 Leak fixes from Kjartan Maraas
2067 2007-11-14 Alexander Larsson <alexl@redhat.com>
2069 * gio/fam/fam-helper.c:
2071 * gio/glocalfileinfo.c:
2075 * gio/inotify/inotify-diag.c:
2076 * gio/inotify/inotify-kernel.c:
2077 Various code cleanups from Kjartan Maraas
2079 2007-11-14 Alexander Larsson <alexl@redhat.com>
2081 * gio/gioscheduler.c:
2083 Set up threadpool so that we cache 2 unused
2084 idle threads for at 15 secs. This means we
2085 will reuse thread-local data (like dbus connections)
2088 2007-11-14 Alexander Larsson <alexl@redhat.com>
2090 * gio/fam/fam-helper.c:
2091 * gio/fam/gfamdirectorymonitor.c:
2092 * gio/fam/gfamfilemonitor.c:
2094 * gio/gcontenttype.c:
2095 * gio/gdatainputstream.c:
2096 * gio/gdataoutputstream.c:
2100 * gio/gfileattribute.h:
2101 * gio/gfileenumerator.c:
2103 * gio/ginputstream.c:
2106 * gio/glocalfileinfo.c:
2107 * gio/goutputstream.c:
2108 * gio/gpollfilemonitor.c:
2109 * gio/gsimpleasyncresult.c:
2110 * gio/gunixmounts.c:
2111 * gio/gunixmounts.h:
2112 * gio/inotify/ginotifydirectorymonitor.c:
2113 * gio/inotify/ginotifyfilemonitor.c:
2114 * gio/inotify/inotify-diag.c:
2115 * gio/inotify/inotify-kernel.c:
2116 * gio/inotify/inotify-path.c:
2118 * gio/test-streams.c:
2119 * programs/gio-info.c:
2120 * programs/gio-monitor-dir.c:
2121 * programs/gio-monitor-file.c:
2122 Various code cleanups from Kjartan Maraas
2124 2007-11-13 Alexander Larsson <alexl@redhat.com>
2127 Handle the uri-scheme calls for dummy files
2129 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2131 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2132 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2133 to avoid clash with the C++ keyword.
2135 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2137 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2138 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2140 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2142 * gio/glocaldirectorymonitor.c:
2143 * gio/glocalfilemonitor.c:
2144 * gio/gunionvolumemonitor.c:
2145 Don't use g_once_init_*() for initializations that could fail and
2146 could leave the initialization variable set to 0 but use GOnce.
2147 This prevents a deadlock on the second call when trying to create
2148 a monitor and no monitor type is available. Thanks to Sven Herzberg
2151 2007-11-11 Sven Herzberg <sven@imendio.com>
2153 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2154 #ifdef (make it work on MacOS X again)
2156 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2158 Fixes Changelog for last two commits (sorry guys).
2160 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2162 * gio/gbufferedinputstream.c:
2163 * gio/gdatainputstream.c:
2165 * gio/gfileoutputstream.c:
2166 * gio/gfilterinputstream.c:
2167 * gio/glocalfileinputstream.c:
2170 More consistency fixes in g*stream.c files.
2171 Significant clean of gfile's documentation, filling in of
2172 asynchronous operations documentation.
2174 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2176 * gio/gasyncresult.c:
2177 * gio/gbufferedinputstream.c:
2178 * gio/gbufferedoutputstream.c:
2179 * gio/gcancellable.c:
2180 * gio/gcontenttype.c:
2181 * gio/gdatainputstream.c:
2182 * gio/gdataoutputstream.c:
2183 * gio/gdesktopappinfo.c:
2186 * gio/gfileattribute.c:
2187 * gio/gio/gfileenumerator.c:
2189 * gio/gfileinputstream.c:
2190 * gio/gfilemonitor.c:
2191 * gio/gfileoutputstream.c:
2192 * gio/ginputstream.c:
2194 * gio/gioscheduler.c:
2195 * gio/gloadableicon.c:
2196 * gio/glocalfileoutputstream.c:
2197 * gio/gmemoryoutputstream.c:
2198 * gio/gmountoperation.c:
2199 * gio/goutputstream.c:
2201 * gio/gsimpleasyncresult.c:
2202 * gio/gunionvolumemonitor.c:
2203 * gio/gunixmounts.c:
2204 * gio/gunixvolume.c:
2208 * gio/gvolumemonitor.c:
2209 Updated documentation stubs, working towards consistency and
2212 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2214 * gio/gmemoryoutputstream.c:
2215 * gio/gmemoryoutputstream.h:
2216 Change g_memory_output_stream_set_free_on_close() to
2217 g_memory_output_stream_set_free_data() as this makes more sense and
2218 is more consistent with GMemoryInputStream.
2220 2007-11-07 Alexander Larsson <alexl@redhat.com>
2227 Change how we find the default vfs so that
2228 we can handle a gvfs failing to init
2230 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2232 * gio/gbufferedoutputstream.c:
2233 * gio/gdatainputstream.c:
2234 * gio/gdataoutputstream.c:
2235 * gio/gfileinputstream.c:
2236 * gio/gfileoutputstream.c:
2237 * gio/gfilterinputstream.c:
2238 * gio/gfilteroutputstream.c:
2239 * gio/ginputstream.c:
2240 * gio/gmemoryinputstream.c:
2241 * gio/gmemoryoutputstream.c:
2242 * gio/goutputstream.c:
2243 * gio/gsimpleasyncresult.c:
2244 * gio/gsocketinputstream.c:
2245 * gio/gsocketoutputstream.c:
2246 Add guards to the remaining public functions, add a TODO for
2247 an unimplemented function and remove some useless guards.
2249 2007-11-07 Alexander Larsson <alexl@redhat.com>
2252 Autoconf checks for the various types of
2253 getpwuid_r and getgrgid_r
2255 * gio/glocalfileinfo.c:
2256 Use the autoconf checks from above
2258 2007-11-07 Alexander Larsson <alexl@redhat.com>
2261 (g_local_file_query_filesystem_info):
2262 Some fixes for the statvfs case
2264 2007-11-07 Alexander Larsson <alexl@redhat.com>
2267 (g_local_file_query_filesystem_info):
2268 Pick the "best" of statfs / statvfs for the system
2269 if both are availible.
2271 2007-11-07 Alexander Larsson <alexl@redhat.com>
2273 Solaris fixes from Halton.Huo@Sun.COM:
2280 * gio/glocalfileinfo.c:
2281 Fix for solaris definition of getpwuid_r
2283 * gio/test-streams.c:
2284 Use G_GNUC_PRETTY_FUNCTION
2286 2007-11-07 Alexander Larsson <alexl@redhat.com>
2288 * gio/gdesktopappinfo.c:
2289 (update_default_list):
2290 Remove double semicolon.
2291 Patch from Jens Granseuer
2293 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2295 * docs/reference/gio/gio-sections.txt:
2296 * gio/gbufferedinputstream.c:
2297 * gio/gbufferedinputstream.h:
2298 * gio/gdatainputstream.c:
2299 * gio/gfileenumerator.c:
2300 * gio/gioscheduler.c:
2301 * gio/gunionvolumemonitor.c:
2303 * programs/gio-save.c:
2304 Fix typo: availible -> available. Unfortuntely this breaks API
2305 and ABI as g_buffered_input_stream_get_available() was renamed.
2307 * gio/gunixmounts.c:
2308 * gio/gbufferedinputstream.c:
2309 Add guards for public functions.
2311 2007-11-06 Ross Burton <ross@openedhand.com>
2313 * docs/reference/gio/Makefile.am:
2314 Fix invalid += usage which automake 1.10 doesn't like.
2316 2007-11-06 Alexander Larsson <alexl@redhat.com>
2319 (g_app_launch_context_class_init):
2322 Patch from Ross Burton
2324 2007-11-06 Alexander Larsson <alexl@redhat.com>
2327 Post release version bump
2329 === gio-standalone 0.1.1 ===
2331 2007-11-06 Alexander Larsson <alexl@redhat.com>
2334 Bump version to 0.1.1
2336 * gio/gsimpleasyncresult.c:
2337 (g_simple_async_result_set_from_error):
2338 Remove bogus g_return_if_fail
2340 2007-11-06 Alexander Larsson <alexl@redhat.com>
2343 The name is gio-standalone
2346 Add top src/builddir to includedir
2348 2007-11-06 Alexander Larsson <alexl@redhat.com>
2350 * docs/reference/gio/gio-sections.txt:
2352 * gio/gbufferedinputstream.c:
2353 * gio/gbufferedoutputstream.c:
2354 * gio/gcancellable.c:
2355 * gio/gdatainputstream.h:
2356 * gio/gdataoutputstream.c:
2357 * gio/gdataoutputstream.h:
2358 * gio/gdirectorymonitor.c:
2360 * gio/gfileattribute.c:
2361 * gio/gfileattribute.h:
2362 * gio/gfileenumerator.c:
2363 * gio/gfileenumerator.h:
2366 * gio/gfileinputstream.h:
2367 * gio/gfilemonitor.c:
2368 * gio/gfileoutputstream.h:
2369 * gio/glocalfilemonitor.h:
2370 * gio/glocalfileoutputstream.h:
2371 * gio/gmemoryinputstream.c:
2372 * gio/gmemoryoutputstream.c:
2373 * gio/gmountoperation.c:
2374 * gio/goutputstream.c:
2375 * gio/goutputstream.h:
2377 * gio/gsimpleasyncresult.c:
2378 * gio/gunixmounts.c:
2379 * gio/gunixmounts.h:
2381 * gio/inotify/inotify-helper.c:
2382 Fix gtk-doc warnings
2384 Patch from Ross Burton
2386 2007-11-06 Alexander Larsson <alexl@redhat.com>
2388 * gio/gfilenamecompleter.c:
2389 (g_filename_completer_get_completions):
2392 * gio/gunixvolume.c:
2393 Remove unused function
2395 Patches from Ross Burton
2397 2007-11-06 Alexander Larsson <alexl@redhat.com>
2402 Padding not needed for interfaces
2404 2007-11-06 Alexander Larsson <alexl@redhat.com>
2406 * gio/gfilemonitor.c:
2410 Make giotypes.h an internal file
2413 * gio/gbufferedinputstream.h:
2414 * gio/gbufferedoutputstream.h:
2415 * gio/gcancellable.h:
2416 * gio/gdatainputstream.h:
2417 * gio/gdataoutputstream.h:
2418 * gio/gdirectorymonitor.c:
2419 * gio/gdirectorymonitor.h:
2424 * gio/gfileattribute.h:
2425 * gio/gfileenumerator.h:
2430 * gio/gfilemonitor.c:
2431 * gio/gfilemonitor.h:
2432 * gio/gfilenamecompleter.c:
2433 * gio/gfilenamecompleter.h:
2434 * gio/gfilterinputstream.h:
2435 * gio/gfilteroutputstream.h:
2436 * gio/ginputstream.h:
2437 * gio/gmemoryinputstream.h:
2438 * gio/gmemoryoutputstream.h:
2439 * gio/gmountoperation.c:
2440 * gio/gmountoperation.h:
2441 * gio/gnativevolumemonitor.c:
2442 * gio/goutputstream.h:
2445 * gio/gsimpleasyncresult.c:
2446 * gio/gsimpleasyncresult.h:
2447 * gio/gsocketinputstream.h:
2448 * gio/gsocketoutputstream.h:
2449 * gio/gthemedicon.c:
2450 * gio/gthemedicon.h:
2454 * gio/gvolumemonitor.c:
2455 * gio/gvolumemonitor.h:
2456 Add padding in classes where it seems useful
2457 Don't include giotypes.h from public headers
2458 Move in Class definitions into c file where possible
2463 2007-11-06 Alexander Larsson <alexl@redhat.com>
2465 * docs/reference/gio/gio-docs.xml:
2466 Better structure for API docs
2468 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2471 * gio/gloadableicon.c:
2472 * gio/gsimpleasyncresult.c:
2473 * gio/gthemedicon.c:
2474 Add some more guards to public functions. Only files missing are now
2477 2007-11-06 Alexander Larsson <alexl@redhat.com>
2479 * docs/reference/gio/gio-docs.xml:
2480 Remove old files, add missing ones
2482 2007-11-06 Alexander Larsson <alexl@redhat.com>
2484 * docs/reference/gio/gio-sections.txt:
2487 Hide implementation classes
2489 * gio/gdriveprivate.h:
2490 * gio/gvolumeprivate.h:
2491 Remove non-existing function declarations
2493 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2496 Fix compilation warnings and add guards to the new functions.
2498 * gio/gasyncresult.c:
2500 Add guards to the public functions.
2503 Implement get_path().
2505 2007-11-06 Alexander Larsson <alexl@redhat.com>
2507 * gio/gfilenamecompleter.c:
2508 Make g_filename_completer_get_completions
2509 return char ** instead of GList for
2512 * docs/reference/gio/gio-docs.xml:
2513 * docs/reference/gio/gio-sections.txt:
2515 * gio/gasyncresult.c:
2516 * gio/gbufferedinputstream.c:
2517 * gio/gbufferedoutputstream.c:
2518 * gio/gcancellable.c:
2519 * gio/gcontenttype.c:
2520 * gio/gdatainputstream.c:
2521 * gio/gdataoutputstream.c:
2522 * gio/gdesktopappinfo.c:
2523 * gio/gdirectorymonitor.c:
2527 * gio/gfileattribute.c:
2528 * gio/gfileenumerator.c:
2531 * gio/gfileinputstream.c:
2532 * gio/gfilemonitor.c:
2533 * gio/gfilenamecompleter.c:
2534 * gio/gfilenamecompleter.h:
2535 * gio/gfileoutputstream.c:
2536 * gio/gfilterinputstream.c:
2538 * gio/ginputstream.c:
2540 * gio/gioscheduler.c:
2541 * gio/gloadableicon.c:
2542 * gio/glocaldirectorymonitor.c:
2544 * gio/glocalfileinputstream.c:
2545 * gio/glocalfilemonitor.c:
2546 * gio/glocalfileoutputstream.c:
2548 * gio/gmemoryinputstream.c:
2549 * gio/gmemoryoutputstream.c:
2550 * gio/gmountoperation.c:
2551 * gio/goutputstream.c:
2552 * gio/gpollfilemonitor.c:
2554 * gio/gsimpleasyncresult.c:
2555 * gio/gsocketinputstream.c:
2556 * gio/gsocketoutputstream.c:
2557 * gio/gthemedicon.c:
2558 * gio/gunionvolumemonitor.c:
2560 * gio/gunixmounts.c:
2561 * gio/gunixvolume.c:
2562 * gio/gunixvolumemonitor.c:
2566 * gio/gvolumemonitor.c:
2567 * gio/gwin32appinfo.c:
2568 Add (mostly stub) doc strings to public functions.
2569 Patch from Andrew Walton (awalton@gmail.com)
2571 2007-11-06 Alexander Larsson <alexl@redhat.com>
2573 * gio/gappinfo.[ch]:
2574 Added GAppLaunchContext object and pass that to launch.
2575 This allows simple implementation of both
2576 launch-on-screen and startup notification via a gtk+
2577 subclass of GAppLaunchContext
2579 * gio/gdesktopappinfo.c:
2580 Implement GAppLaunchContext API
2582 * gio/gwin32appinfo.c:
2585 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2587 * gio/gmountoperation.c:
2588 Add some guards to GMountOperation's public functions.
2590 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2594 * gio/gcancellable.c:
2595 * gio/gdirectorymonitor.c:
2597 * gio/gfileenumerator.c:
2598 * gio/gfilemonitor.c:,
2599 * gio/gfilenamecompleter.c:
2602 * gio/gioscheduler.c:
2606 * gio/gvolumemonitor.c:
2607 Add even more guards to various public functions.
2609 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2612 Add guards to the public functions of GAppInfo.
2614 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2616 * gio/gcontenttype.c:
2617 Add some more guards for public functions.
2619 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2621 * gio/fam/fam-module.c:
2622 * gio/fam/gfamdirectorymonitor.c:
2623 * gio/fam/gfamdirectorymonitor.h:
2624 * gio/fam/gfamfilemonitor.c:
2625 * gio/fam/gfamfilemonitor.h:
2626 * gio/inotify/ginotifydirectorymonitor.c:
2627 * gio/inotify/ginotifydirectorymonitor.h:
2628 * gio/inotify/ginotifyfilemonitor.c:
2629 * gio/inotify/ginotifyfilemonitor.h:
2630 Add proper copyright information and remove an unused variable
2631 in the GInotifyFileMonitor constructor.
2633 * gio/gcancellable.c:
2634 Add a guard for a public function and an assertion to prevent
2635 an undefined program state.
2637 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2639 * gio/gfileattribute.c:
2640 Don't run into an assertion if the given attribute value is NULL
2641 in g_file_attribute_value_get_*() but instead return a fallback
2642 value that makes sense in most situations. Passing them a attribute
2643 value with the wrong type will still run into an assertion.
2645 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2647 * gio/gfileattribute.c:
2649 Add even more guards to the public functions. Also fix the refcounting
2650 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2651 let g_file_info_list_attributes() filter the attributes by namespace
2652 instead of simply ignoring the namespace parameter.
2654 2007-11-03 Sven Herzberg <sven@imendio.com>
2656 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2657 (This makes gio work on MacOS X again)
2659 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2662 Build the gio subdirectory before the docs. Otherwise the build will
2665 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2666 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2667 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2668 Add guards to the public functions.
2670 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2672 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2673 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2674 to prevent a compiler warning.
2676 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2677 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2678 return something in the non-void function find_topdir_for().
2680 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2687 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2689 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2690 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2691 * gwin32appinfo.c (g_win32_app_info_launch):
2692 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2693 envp_for_startup_id, g_desktop_app_info_launch,
2694 g_desktop_app_info_launch_uris):
2696 Give an opaque 'startup_id' string instead of 'envp'.
2697 Support empty file lists for launching new windows.
2698 Fix infinite recursion bug when launching URIs.
2700 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2703 Add guard to the new g_file_get_uri_scheme() function.
2705 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2708 Convert a g_return_val_if_fail() to setting the GError instead as
2709 otherwise applications have to verify the parameter before otherwise
2710 and the parameter might come directly from the user.
2712 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2714 * gio/inotify/ginotify*.[ch]:
2715 Add missing copyright information.
2717 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2720 Add guards in the beginning of public functions to check for valid
2721 parameters and fix a bug in copy_stream_with_progress() that could've
2722 caused writing less bytes than reading.
2723 * gio/glocalfileinfo.c:
2724 Check for a NULL parameter and set the GError accordingly then.
2725 * gio/goutputstream.c:
2726 Fix the same bug as in gfile.c that could've caused writing less bytes
2727 than reading in g_output_stream_real_splice().
2729 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2732 Use the correct gvolumeprivate.h naming
2734 2007-11-01 Christian Kellner <gicmo@gnome.org>
2737 Remove leftover "$(daemon_sources)" entry.
2739 2007-11-01 Christian Kellner <gicmo@gnome.org>
2744 Add copyright information to source files.
2746 2007-11-01 Alexander Larsson <alexl@redhat.com>
2750 Add g_file_get_uri_scheme
2752 2007-11-01 Alexander Larsson <alexl@redhat.com>
2755 * gio/gdesktopappinfo.c:
2756 * gio/gwin32appinfo.c:
2757 Add g_app_info_get_default_for_uri_scheme.
2759 2007-11-01 Alexander Larsson <alexl@redhat.com>
2762 Correct filename for gdriveprivate.h
2764 2007-10-31 Alexander Larsson <alexl@redhat.com>
2767 Rename id:value to id:file
2770 * gio/glocalfileinfo.c:
2773 2007-10-31 Alexander Larsson <alexl@redhat.com>
2775 * gio/gunixvolume.c:
2777 Remove g_volume_get_platform_id, as thats not
2778 needed with the simpler union volume monitor
2780 2007-10-31 Alexander Larsson <alexl@redhat.com>
2783 * gio/guniondrive.[ch]: Removed.
2784 * gio/gunionvolume.[ch]: Removed.
2785 Remove GUnionDrive/Volume
2787 * gio/gunionvolumemonitor.c:
2788 Simplify union volume monitor, now we
2789 only have one native volume monitor and
2790 we use the actual volumes/drives from the
2791 child monitors instead of wrapping them
2793 * gio/gnativevolumemonitor.[ch]:
2794 Base class for native volume monitors.
2795 Includes priority and get_volume_for_mountpoint
2798 Add g_file_find_enclosing_volume
2801 Remove volume name fs attribute
2802 Add readonly fs attribute
2805 Implement readonly attribute
2806 remove volume name attribute
2807 Implement find_enclosing volume
2809 * gio/gunixmounts.c:
2810 Add a volume for "/".
2812 * gio/gunixvolume.[ch]:
2813 Set better name for /
2815 * gio/gunixvolumemonitor.[ch]:
2816 Derive from GNativeVolumeMonitor
2817 Implement get_volume_for_mountpoint
2820 GVolume typedef moved to gfile.h
2822 * gio/gvolumeprivate.h:
2823 Add g_volume_get_for_mount_path
2825 2007-10-31 Alexander Larsson <alexl@redhat.com>
2827 * gio/gunixmounts.[ch]:
2828 Add cache info to unix mount listers
2829 Make getmntent use threadsafe
2830 Add is_system_internal attribute for GUnixMount
2832 * gio/gunixvolume.c:
2833 (g_unix_volume_new):
2834 Use is_system_internal instead of own code
2836 * gio/glocaldirectorymonitor.c:
2837 * gio/gunixvolumemonitor.c:
2838 Update to new gunixmounts API
2843 2007-10-30 Alexander Larsson <alexl@redhat.com>
2846 Add volume name fsinfo attribute
2849 Read volume name info
2851 * gio/gunionvolumemonitor.c:
2852 Fix infinite loops when finalizing a union volume monitor
2854 2007-10-30 Alexander Larsson <alexl@redhat.com>
2856 * gio/goutputstream.[ch]:
2857 Add splice() with default implementation
2859 * gio/gsocketoutputstream.c:
2860 (g_socket_output_stream_write):
2861 Return error on cancellation correctly.
2863 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2865 * gio/glocalfile.c (g_local_file_trash):
2866 Do not leak a string.
2868 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2870 * gio/gfile.c (g_file_load_contents):
2871 Unref the stream after closing it.
2873 2007-10-25 Alexander Larsson <alexl@redhat.com>
2875 * gio/gioscheduler.h:
2878 2007-10-25 Alexander Larsson <alexl@redhat.com>
2882 Add g_file_has_uri_scheme and implement for local files
2884 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2886 * gio/gdesktopappinfo.c: do not leak a string.
2888 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2890 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2891 (g_local_directory_monitor_new):
2892 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2893 (g_local_file_monitor_new):
2894 Only look for the monitor type that should be used the first time
2895 and use g_qsort_with_data() instead of our own bubble sort
2898 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2901 * gio/fam/Makefile.am:
2902 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2903 * gio/fam/fam-helper.h:
2904 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2905 * gio/fam/gfamdirectorymonitor.c:
2906 * gio/fam/gfamdirectorymonitor.h:
2907 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2908 * gio/fam/gfamfilemonitor.h:
2909 * gio/glocaldirectorymonitor.c:
2910 * gio/glocaldirectorymonitor.h:
2911 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2912 * gio/glocalfilemonitor.h:
2913 * gio/inotify/Makefile.am:
2914 * gio/inotify/ginotifydirectorymonitor.c:
2915 * gio/inotify/ginotifydirectorymonitor.h:
2916 * gio/inotify/ginotifyfilemonitor.c:
2917 * gio/inotify/ginotifyfilemonitor.h:
2918 Implement the FAM and Inotify monitors as
2919 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2920 their own GIO module. GLocal(Directory|File)Monitor will use the
2921 monitor with the highest rank that is supported on that machine.
2923 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2926 Change GIO module dir to $(libdir)/gio/modules and change
2927 the log domain from GVFS to GIO. Also only export symbols starting
2928 with g_ in the resulting library.
2929 * gio/test-streams.c: (main):
2930 Set log handler for the GIO log domain.
2932 2007-10-22 Alexander Larsson <alexl@redhat.com>
2934 * gio/gfilenamecompleter.[ch]:
2935 Add g_filename_completer_set_dirs_only
2937 2007-10-22 Alexander Larsson <alexl@redhat.com>
2940 * gio/gurifuncs.[ch]:
2941 Add some simple URI helpers
2943 * gio/gfilenamecompleter.[ch]:
2944 Added object for filename (parse name actually) completion
2947 Handle ~ in parse names
2949 2007-10-17 Alexander Larsson <alexl@redhat.com>
2952 * gio/glocalfileinfo.c:
2953 Add and implement id:value attribute
2955 2007-10-17 Alexander Larsson <alexl@redhat.com>
2958 * gio/guniondrive.c:
2960 Add and implement g_drive_has_volumes
2962 2007-10-17 Alexander Larsson <alexl@redhat.com>
2965 * gio/glocalfileinfo.[ch]:
2966 Add unix:is_mountpoint and implement for local files
2968 2007-10-16 Alexander Larsson <alexl@redhat.com>
2970 * gio/gunionvolumemonitor.c:
2971 (g_union_volume_monitor_init):
2972 Fix up the unix type getting so that it works with gcc
2974 2007-10-12 Alexander Larsson <alexl@redhat.com>
2977 * gio/glocalfileinfo.c:
2978 Add thumbnail:failed to file info
2980 2007-10-12 Richard Hult <richard@imendio.com>
2982 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
2983 optimizing away the get_type call (happens with some gcc versions,
2984 like the one shipped with OS X 10.4).
2986 2007-10-12 Alexander Larsson <alexl@redhat.com>
2988 * gio/glocalfileinfo.c:
2989 (_g_local_file_info_set_attribute):
2990 Fix build if not HAVE_XATTR
2991 Patch from Milosz Derezynski <internalerror@gmail.com>
2993 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
2995 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
2996 around for review, otherwise I would have asked you before
2999 2007-10-11 Alexander Larsson <alexl@redhat.com>
3002 Add thumbnail:path attribute
3004 * gio/glocalfileinfo.c:
3005 Implement thumbnail:path for local files
3007 2007-10-11 Alexander Larsson <alexl@redhat.com>
3009 * gio/glocalfileinfo.c:
3010 (_g_local_file_info_get):
3011 Avoid duplicate icon names
3013 2007-10-11 Alexander Larsson <alexl@redhat.com>
3015 * gio/gthemedicon.[ch]:
3016 Change g_themed_icon_get_names return type to const
3018 2007-10-10 Alexander Larsson <alexl@redhat.com>
3020 * gio/glocalfileinfo.c:
3021 Don't reference freed memory
3023 2007-10-10 Alexander Larsson <alexl@redhat.com>
3025 * gio/gfileattribute.c:
3028 * gio/glocalfileinfo.c:
3031 2007-10-10 Alexander Larsson <alexl@redhat.com>
3034 Check for NULL icons
3036 * gio/gfileattribute.c:
3037 Don't dup when getting objects (same as for string attributes)
3039 * gio/gicon.c (g_icon_equal):
3040 Safely handle NULLs in equal
3042 2007-10-10 Alexander Larsson <alexl@redhat.com>
3045 Fix c++ compilation issues
3046 Patch from Milosz Derezynski <internalerror@gmail.com>
3048 2007-10-10 Alexander Larsson <alexl@redhat.com>
3050 * programs/gio-monitor-dir.c:
3051 Don't crash if dir monitor not supported.
3053 2007-10-09 Alexander Larsson <alexl@redhat.com>
3056 Add missing G_END_DECLS
3058 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3060 * gio/gfile.c: (g_file_set_display_name),
3061 (g_file_query_settable_attributes),
3062 (g_file_query_writable_namespaces):
3063 Return NULL not FALSE on errors as the return type is a pointer.
3065 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3067 * gio/glocalfile.c: (g_local_file_monitor_file):
3068 Don't call monitor_file on the default interface vtable (which
3069 is NULL) but simply return NULL. The caller, GFile, will create a
3070 polling monitor if NULL is returned.
3072 2007-10-09 Alexander Larsson <alexl@redhat.com>
3076 * gio-unix-2.0.pc.in:
3077 Add gio-unix-2.0.pc if OS_UNIX
3080 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3082 2007-10-09 Alexander Larsson <alexl@redhat.com>
3084 * gio/gunixmounts.[ch]:
3085 Make unix mount monitoring API sane.
3086 Now its just a object with mounts_changed
3087 and mountpoints_changed signals.
3089 * gio/glocaldirectorymonitor.c:
3090 * gio/gunixvolumemonitor.c:
3091 Use new mount monitor api
3093 2007-10-09 Alexander Larsson <alexl@redhat.com>
3095 * gio/gunixmounts.[ch]:
3096 Move guess type into one call for mounts and one for mountpoints
3099 * gio/gunixvolume.c:
3102 2007-10-09 Alexander Larsson <alexl@redhat.com>
3104 * gio/gunixmounts.[ch]:
3105 Remove _ prefix in preparation to make this semi-public
3106 Hide implementation of structs
3108 * gio/glocaldirectorymonitor.c:
3110 * gio/gunixvolume.c:
3111 * gio/gunixvolumemonitor.c:
3112 Update for above API changes
3114 2007-10-08 Alexander Larsson <alexl@redhat.com>
3117 Better polling fallback. This also handles the case where we have
3118 a monitor_file implementation, but it fails.
3120 2007-10-08 Alexander Larsson <alexl@redhat.com>
3124 * gio/gunixmounts.c:
3125 * programs/gio-monitor-dir.c:
3126 * programs/gio-monitor-file.c:
3127 Added cancellable to file monitoring calls.
3128 These are really sync calls and need this.
3130 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3132 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3133 (g_local_vfs_class_init):
3134 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3135 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3137 2007-10-05 Alexander Larsson <alexl@redhat.com>
3139 * gio/gdirectorymonitorprivate.h:
3140 * gio/gfilemonitorprivate.h:
3141 * gio/gdirectorymonitor.h:
3142 * gio/gfilemonitor.h:
3143 Remove *private.h and move to the public API, so that
3144 we can do implementations outside gio (such as in gvfs)
3146 * gio/gdirectorymonitor.c:
3147 * gio/gfilemonitor.c:
3148 * gio/glocaldirectorymonitor.c:
3149 * gio/gpollfilemonitor.c:
3150 * gio/inotify/inotify-helper.c:
3151 * gio/fam/fam-helper.c:
3152 Update to the new header names
3154 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3156 * gio/gdirectorymonitor.c:
3157 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3160 2007-10-04 Alexander Larsson <alexl@redhat.com>
3162 * gio/glocalfileinfo.c (get_access_rights):
3163 Set CAN_TRASH when we can move the file.
3164 We should really also check for a parent trash dir.
3166 2007-10-04 Alexander Larsson <alexl@redhat.com>
3168 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3169 Add can_trash access attribute
3171 2007-10-04 Alexander Larsson <alexl@redhat.com>
3174 (g_local_file_trash):
3175 Create info file first. This is per-spec and allows
3176 us to actually trash directories.
3178 2007-10-02 Alexander Larsson <alexl@redhat.com>
3180 * gio/gdesktopappinfo.c:
3181 Implement the new mime support code.
3182 Always set app as handling mimetype when being set as default for it
3184 2007-10-01 Alexander Larsson <alexl@redhat.com>
3186 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3187 Fix up check for xattrs:
3189 2007-10-01 Alexander Larsson <alexl@redhat.com>
3192 (g_app_info_set_as_default_for_extension):
3193 (g_app_info_add_supports_type):
3194 (g_app_info_can_remove_supports_type):
3195 (g_app_info_remove_supports_type):
3196 Make these fail nicely if not implemented
3198 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3200 * gio/glocalfileoutputstream.c:
3201 * gio/glocalfileoutputstream.h:
3206 * programs/gio-save.c:
3207 Add a GFileCreateFlags argument to operations that can create
3210 2007-10-01 Alexander Larsson <alexl@redhat.com>
3212 * gio/gappinfo.[ch]:
3213 * gio/gdesktopappinfo.c:
3214 Add more (stubbed out) mime API needed for nautilus
3216 2007-10-01 Alexander Larsson <alexl@redhat.com>
3219 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3220 Add g_app_info_set_as_default_for_extension.
3222 * gio/gdesktopappinfo.c:
3223 Dummy for g_app_info_set_as_default_for_extension
3224 Support flags in g_app_info_create_from_commandline
3226 * gio/gwin32appinfo.c:
3228 Update for API changes
3230 * gio/gthemedicon.c:
3231 Properly NULL-terminate list of icon names
3233 2007-09-28 Alexander Larsson <alexl@redhat.com>
3235 * gio/gloadableicon.h:
3236 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3238 2007-09-28 Alexander Larsson <alexl@redhat.com>
3241 Install headers in $includedir/gio-standalone/
3243 * gio-2.0.pc.in: Added.
3244 * gio-standalone.pc.in: Removed.
3247 Renamed pkg-config file to match glib (for future move)
3248 Update to the new include dir
3251 Add more TODO comments
3253 2007-09-28 Alexander Larsson <alexl@redhat.com>
3255 * gio/gdesktopappinfo.[ch]:
3256 Expose new_from_filename
3257 Add getter for is_hidden and handle it better
3259 2007-09-28 Alexander Larsson <alexl@redhat.com>
3261 * gio/gfileinfo.[ch]:
3262 Rename g_file_size_format_for_display to
3263 g_format_file_size_for_display.
3264 Now it doesn't have the g_file prefix, so we
3265 can later move it to glib.
3267 2007-09-28 Alexander Larsson <alexl@redhat.com>
3269 * gio/gappinfo.[ch]:
3270 Add g_app_info_get_id and g_app_info_get_executable.
3271 Make all getters non-reffing
3272 Make g_app_info_launch take GFile arguments.
3273 Add must_support_uris argument to g_app_info_get_default_for_type.
3275 * gio/gwin32appinfo.c:
3276 Update to GAppInfo api changes
3278 * gio/gdesktopappinfo.c:
3279 Update to GAppInfo api changes
3280 Implement supports_xdg_startup_notify
3282 * gio/gfileicon.c (g_file_icon_get_file):
3283 Make getter non-reffing.
3288 2007-09-27 Alexander Larsson <alexl@redhat.com>
3290 * gio/gfileinfo.[ch]:
3291 Add g_file_size_format_for_display helper
3293 2007-09-27 Alexander Larsson <alexl@redhat.com>
3295 * gio/glocalfileinfo.c:
3296 Set UNIX_GID from gid, not from uid
3298 2007-09-27 Alexander Larsson <alexl@redhat.com>
3301 Add g_file_set_attributes_async
3303 2007-09-27 Alexander Larsson <alexl@redhat.com>
3305 * gio/glocalfile.c (g_local_file_set_display_name):
3306 Fix set_display_name to actually rename to the right place.
3307 Use lstat to look for existing files so we don't overwrite
3310 2007-09-26 Alexander Larsson <alexl@redhat.com>
3313 Add g_file_set_display_name_async()
3315 2007-09-26 Alexander Larsson <alexl@redhat.com>
3318 Add load_partial_contents async calls
3321 Make internal function static
3323 2007-09-26 Alexander Larsson <alexl@redhat.com>
3325 * gio/glocalfileinfo.c:
3326 Correctly detect broken symlinks
3328 2007-09-26 Alexander Larsson <alexl@redhat.com>
3330 * gio/gcancellable.c (g_cancellable_cancel):
3331 Allow cancel on NULL cancellable
3333 2007-09-25 Alexander Larsson <alexl@redhat.com>
3335 * gio/gsimpleasyncresult.c:
3336 Don't allocate g_error manually.
3337 Fixes g_slice/g_new mixup crash
3339 2007-09-25 Alexander Larsson <alexl@redhat.com>
3341 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3342 Actually set active_backend.
3343 This means the monitor will be cancelled correctly.
3345 2007-09-25 Alexander Larsson <alexl@redhat.com>
3347 * gio/gdirectorymonitor.c:
3348 Set timeout to NULL when destroying
3350 2007-09-25 Alexander Larsson <alexl@redhat.com>
3353 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3354 that is a better description of the error.
3356 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3358 * gio/gvfs.c: (g_vfs_get_local):
3359 Make the local vfs variable static. The same instance should
3362 2007-09-24 Alexander Larsson <alexl@redhat.com>
3364 * gio/glocalfileinfo.c:
3365 Pass in actual length read into sniffer, not the length
3368 2007-09-21 Alexander Larsson <alexl@redhat.com>
3370 * gio/gfileenumerator.c:
3373 * gio/gfileinputstream.c:
3374 * gio/gfileoutputstream.c:
3375 * gio/ginputstream.c:
3376 * gio/goutputstream.c:
3377 Don't crash if async callbacks are NULL
3379 2007-09-20 Alexander Larsson <alexl@redhat.com>
3382 Add async enumerate_children method and default
3385 2007-09-20 Alexander Larsson <alexl@redhat.com>
3388 Add g_file_contains_file & g_file_get_relative_path, since they
3389 were needed for nautilus.
3390 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3395 Implement new methods
3397 2007-09-17 Alexander Larsson <alexl@redhat.com>
3400 * gio/gfileinputstream.[ch]:
3401 * gio/gfileoutputstream.[ch]:
3403 * gio/glocalfileenumerator.[ch]:
3404 * gio/glocalfileinfo.[ch]:
3405 * gio/glocalfileinputstream.c:
3406 * gio/glocalfileoutputstream.c:
3407 * gio/gpollfilemonitor.c:
3408 * programs/gio-copy.c:
3409 * programs/gio-info.c:
3410 * programs/gio-move.c:
3411 Rename get_file_info to query_info() to make it clearer
3412 that these are not simple getters, but do i/o.
3414 2007-09-17 Alexander Larsson <alexl@redhat.com>
3416 * gio/gdatainputstream.[ch]:
3417 * gio/test-streams.c:
3418 Use _read_XXX instead of _get_XXX for the i/o calls
3421 2007-09-17 Alexander Larsson <alexl@redhat.com>
3424 Added needed stuff to TODO comment
3426 2007-09-17 Alexander Larsson <alexl@redhat.com>
3428 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3429 Don't error out removing the backup copy if it doesn't
3432 2007-09-14 Alexander Larsson <alexl@redhat.com>
3434 * programs/Makefile.am:
3435 * programs/gvfs-*.c:
3437 Renamed apps from gvfs-xxx to gio-xxx.
3439 2007-09-14 Alexander Larsson <alexl@redhat.com>
3442 * gio/gfileoutputstream.[ch]:
3443 * gio/glocalfileoutputstream.c:
3444 * programs/gvfs-save.c:
3445 g_file_output_stream_get_etag doesn't do i/o, so remove
3446 cancellation and error.
3448 2007-09-14 Alexander Larsson <alexl@redhat.com>
3451 Add new_etag output to replace_contents functions
3453 2007-09-14 Alexander Larsson <alexl@redhat.com>
3455 * gio/gfileoutputstream.[ch]:
3456 Add async get_file_info and default implementation
3458 2007-09-14 Alexander Larsson <alexl@redhat.com>
3460 * gio/gfileinputstream.c:
3461 Implement fallback wrapper for async get_file_info
3463 2007-09-14 Alexander Larsson <alexl@redhat.com>
3466 Add etag out argument to load_contents
3471 2007-09-14 Alexander Larsson <alexl@redhat.com>
3473 * gio/gcontenttype.c (looks_like_text):
3474 Whitespace like tab, cr and lf do not make the
3477 2007-09-14 Alexander Larsson <alexl@redhat.com>
3479 * gio/gfileinputstream.[ch]:
3480 Add async get_file_info.
3482 2007-09-13 Alexander Larsson <alexl@redhat.com>
3484 * gio/goutputstream.c (g_output_stream_write_all):
3485 Allow NULL for bytes_written
3487 2007-09-13 Alexander Larsson <alexl@redhat.com>
3489 * gio/gmemoryinputstream.[ch]:
3490 Add accessors for data
3492 2007-09-13 Alexander Larsson <alexl@redhat.com>
3494 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3495 Don't crash if length is NULL