1 2008-02-18 Alexander Larsson <alexl@redhat.com>
5 * glocalfileoutputstream.c:
6 Use g_unlink/g_rename instead of unlink/rename;
7 do not pass raw filenames to g_set_error. (#517239)
8 Patch from Yevgen Muntyan.
10 2008-02-18 Alexander Larsson <alexl@redhat.com>
13 * glocalfileoutputstream.c:
14 Open files with O_BINARY on windows. (#517140)
16 2008-02-14 Alexander Larsson <alexl@redhat.com>
18 * glocalfileoutputstream.c:
19 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
21 2008-02-14 Alexander Larsson <alexl@redhat.com>
24 Copy permissions with file on copy (#514084)
25 This is what cp does and makes sure e.g. the
26 exec permissions are kept.
27 Its kinda weird in that it keeps the permission bits
28 the same while the uid and gid are different. However
29 the new uid is the user so its not a security issue,
30 and I've heard no complaints about cp on this issue.
32 2008-02-13 Ryan Lortie <desrt@desrt.ca>
34 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
36 2008-02-13 Alexander Larsson <alexl@redhat.com>
38 * inotify/inotify-path.c:
39 Define IN_ONLYDIR if not in header (#515346)
41 2008-02-12 Alexander Larsson <alexl@redhat.com>
43 * tests/live-g-file.c:
46 2008-02-11 Matthias Clasen <mclasen@redhat.com>
48 * === Released 2.15.5 ===
50 2008-02-11 Matthias Clasen <mclasen@redhat.com>
52 * gio.symbols: Add g_mount_mount_flags_get_type.
54 2008-02-11 Alexander Larsson <alexl@redhat.com>
57 (g_file_info_set_attribute_mask):
58 (g_file_attribute_matcher_matches_id):
59 Correctly handle NULL GAttributeMatcher meaning
60 matches nothing. (Fixes #513492)
62 2008-02-11 Alexander Larsson <alexl@redhat.com>
67 Added GMountMountFlags enum and added a flags
68 argument to all mount calls.
70 This is an API/ABI change for future extensibility,
71 as I think we will need at least an
72 inhibit-autorun flag (the panel needs this).
73 There are no flags defined yet though.
75 2008-02-11 Alexander Larsson <alexl@redhat.com>
78 Added new standard::description attribute.
79 Requested by Vincent, and useful for both
82 2008-02-11 Alexander Larsson <alexl@redhat.com>
87 2008-02-11 Matthias Clasen <mclasen@redhat.com>
89 * *.c: Documentation additions
91 2008-02-10 Matthias Clasen <mclasen@redhat.com>
93 * gappinfo.h: Formatting cleanup
94 * gappinfo.c: Fix up docs.
96 2008-02-09 Matthias Clasen <mclasen@redhat.com>
98 * gunixmounts.c: Consistently use getmntent_r() and fall
99 back to getmntent(). (#515492)
101 2008-02-09 Matthias Clasen <mclasen@redhat.com>
103 * gbufferedinputstream.c:
105 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
107 * tests/data-input-stream.c:
108 * tests/data-output-stream.c: Portability fixes.
110 2008-02-08 Alexander Larsson <alexl@redhat.com>
115 Add g_volume_should_automount.
118 2008-02-07 Tor Lillqvist <tml@novell.com>
120 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
121 Win32, too Unix-specific.
123 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
125 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
126 a local plt if the compiler doesn't support what we want. Bug #514702
128 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
130 reviewed by: <delete if not using a buddy>
133 * gunixinputstream.c:
134 * gunixoutputstream.c:
136 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
139 * tests/live-g-file.c:
140 * tests/live-g-file.txt:
141 New GIO testing module working over real data
143 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
145 * glocalfileoutputstream.c (g_local_file_output_stream_close):
146 Fallback to rename() if link() is not available
147 (when no support on target filesystem)
149 2008-02-06 Michael Natterer <mitch@imendio.com>
151 * gfileinfo.c (g_file_info_get_icon): replace
152 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
154 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
156 * gfile.c (g_file_create):
157 Documentation update of error codes
159 2008-02-06 Alexander Larsson <alexl@redhat.com>
162 Update to use both mimeapps.list and
163 defaults.list as discussed on xdg list.
165 2008-02-06 Benjamin Otte <otte@gnome.org>
168 * gfilenamecompleter.c:
169 Fix some typos in the documentation.
171 2008-02-06 Alexander Larsson <alexl@redhat.com>
173 * glocalfile.c (g_local_file_trash):
174 Don't succeed with trash if newly created
175 trash dir has the wrong owner. (#514696)
177 2008-02-05 Alexander Larsson <alexl@redhat.com>
179 * glocalfile.c (g_local_file_move):
180 Don't spew warnings when destination is not
183 2008-02-03 Hans Breuer <hans@breuer.org>
185 * makefile.msc : update
187 2008-02-01 Michael Natterer <mitch@imendio.com>
189 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
190 return value of xdg_mime_list_mime_parents() to a variable of the
193 2008-02-01 Alexander Larsson <alexl@redhat.com>
195 * gappinfo.c (g_app_info_launch_uris):
196 Actually call the launch_uris method, not
199 2008-02-01 Alexander Larsson <alexl@redhat.com>
201 * gdesktopappinfo.c (g_desktop_app_info_equal):
202 Ensure appinfos with no id but same pointer value
205 2008-02-01 Alexander Larsson <alexl@redhat.com>
207 * gappinfo.c (g_app_info_launch_default_for_uri):
210 2008-02-01 Alexander Larsson <alexl@redhat.com>
214 Add g_app_info_launch_default_for_uri utility
217 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
220 Doc fix for g_app_info_get_default_for_uri_scheme ()
223 2008-01-30 Alexander Larsson <alexl@redhat.com>
226 Add doc comment about uris vs GFiles to
230 Ensure uris passed to g_app_info_launch_uris()
231 are not roundtriped through GFile (as that
232 may be slightly destructive for e.g. mailto: links)
234 2008-01-30 Alexander Larsson <alexl@redhat.com>
236 * tests/data-input-stream.c:
237 * tests/data-output-stream.c:
238 C89 fixes from Jens Granseuer (#512849)
240 2008-01-30 Alexander Larsson <alexl@redhat.com>
243 Fix gamin/fam difference build issue. (#509419)
245 2008-01-29 Alexander Larsson <alexl@redhat.com>
249 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
251 2008-01-29 Alexander Larsson <alexl@redhat.com>
255 giomodule-priv.h include moved to .c file.
257 2008-01-29 Alexander Larsson <alexl@redhat.com>
259 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
260 Remove unused prio/name fields.
262 2008-01-29 Alexander Larsson <alexl@redhat.com>
264 * gcontenttype.c (looks_like_text):
265 Don't treat whitespace as control chars.
267 2008-01-29 Alexander Larsson <alexl@redhat.com>
270 Lazily create the desktop files for appinfos created
271 by g_app_info_create_from_commandline() when needed
272 for mime associations. This allows run-time use
273 of GAppInfo object without creating unnecessary
276 2008-01-29 Alexander Larsson <alexl@redhat.com>
279 Added new symbols to gio.symbols
281 2008-01-29 Alexander Larsson <alexl@redhat.com>
284 Add g_file_query_default_handler utility to easily look up
285 the GAppInfo that handles a file.
287 * gdesktopappinfo.[ch]:
289 Set up an extension point for g_app_info_get_default_for_uri_scheme()
292 Remove unused function
294 2008-01-29 Alexander Larsson <alexl@redhat.com>
297 Mention need to free returned value in
298 g_file_enumerator_next_files_finish docs.
299 Fix leak if g_file_enumerator_next_files_finish()
302 2008-01-29 Alexander Larsson <alexl@redhat.com>
305 (_g_unix_content_type_get_parents):
306 Use list_parents, not get_parents from xdgmime, because
307 the later doesn't use the cache.
309 * xdgmime/xdgmimecache.c:
310 (_xdg_mime_cache_list_mime_parents):
311 Don't list the same type as parent multiple times.
313 2008-01-28 Matthias Clasen <mclasen@redhat.com>
315 * === Released 2.15.4 ===
317 2008-01-28 Alexander Larsson <alexl@redhat.com>
320 Register local vfs with prio 0.
323 Remove old name and prio class members
325 2008-01-28 Matthias Clasen <mclasen@redhat.com>
327 * tests/g-file.c: Disable some tests that are failing in
328 the absence of a http backend.
330 2008-01-28 Alexander Larsson <alexl@redhat.com>
334 Add registration hooks for extension points.
335 Register the gio extension points.
337 * fam/gfamdirectorymonitor.c:
338 * fam/gfamfilemonitor.c:
339 * glocaldirectorymonitor.[ch]:
340 * glocalfilemonitor.[ch]:
341 * gnativevolumemonitor.h:
342 * gunionvolumemonitor.c:
343 * gunixvolumemonitor.c:
346 * inotify/ginotifydirectorymonitor.c:
347 * inotify/ginotifyfilemonitor.c:
348 Use the extension points registration instead
349 of g_type_children().
351 2008-01-28 Matthias Clasen <mclasen@redhat.com>
354 * gvolume.[hc]: Document new API.
356 * gfile.c (g_file_copy_async): Fix docs
358 2008-01-27 Matthias Clasen <mclasen@redhat.com>
360 * gbufferedinputstream.c:
362 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
365 2008-01-27 Matthias Clasen <mclasen@redhat.com>
367 * glocalfile.c: Avoid trivial differences in translatable strings.
369 2008-01-25 Matthias Clasen <mclasen@redhat.com>
371 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
372 build with gcc 3.4 (#509419)
374 2008-01-25 Matthias Clasen <mclasen@redhat.com>
376 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
377 (#509994, Murray Cumming)
379 2008-01-25 Matthias Clasen <mclasen@redhat.com>
381 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
382 * gioscheduler.c: Keep calling io jobs until they return FALSE;
383 this allows big jobs to be executed in chunks, instead of blocking
384 the main loop for a long time.
386 * gsimpleasyncresult.c:
387 * giofile.c: Adapt callers.
389 2008-01-25 Alexander Larsson <alexl@redhat.com>
392 Implement changes discussed on xdg list.
393 Now we can add supported mimetypes by just using defaults.list
394 We can also remove associations in defaults.list.
396 2008-01-25 Alexander Larsson <alexl@redhat.com>
399 Don't make local copy of desktop file
400 for mimetype changes if the file already
401 supports the new mimetype.
403 2008-01-25 Matthias Clasen <mclasen@redhat.com>
407 * gbufferedinputstream.c:
408 * glocalfile.c: String improvements. (#511966,
409 Theppitak Karoonboonyanan)
411 2008-01-24 Matthias Clasen <mclasen@redhat.com>
413 * gioscheduler.h: Expand docs a bit.
415 2008-01-24 Alexander Larsson <alexl@redhat.com>
418 Add g_drive_get_identifier and
419 g_drive_enumerate_identifiers
422 Add g_volume_get_identifier and
423 g_volume_enumerate_identifiers
429 Implement identifiers for unix backend
431 2008-01-24 Alexander Larsson <alexl@redhat.com>
436 Add g_file_copy_async() (#511580)
437 Based on patch from Carlos Garcia Campos
439 2008-01-23 Matthias Clasen <mclasen@redhat.com>
441 * gioscheduler.c: Some documentation additions.
443 2008-01-22 Alexander Larsson <alexl@redhat.com>
446 (g_desktop_app_info_new):
449 2008-01-22 Alexander Larsson <alexl@redhat.com>
452 (g_desktop_app_info_new_from_filename):
455 2008-01-22 Alexander Larsson <alexl@redhat.com>
457 * glocalfileinfo.c (get_thumbnail_attributes):
460 2008-01-22 Alexander Larsson <alexl@redhat.com>
463 (canonicalize_filename):
464 Canonicalize paths that start with more than
469 (test_g_file_new_for_path):
472 2008-01-22 Alexander Larsson <alexl@redhat.com>
475 Allow UTF-8 in file:// parse names.
478 * tests/data-input-stream.c:
479 * tests/data-output-stream.c:
480 * tests/g-file-info.c:
482 Added a bunch of tests from Tomas Bzatek
484 2008-01-21 Matthias Clasen <mclasen@redhat.com>
486 * === Released 2.15.3 ===
488 2008-01-21 Alexander Larsson <alexl@redhat.com>
490 * gfileinputstream.[ch]:
491 * gfileoutputstream.[ch]:
493 Remove duplicated GSeekable functions. (#509990)
494 Just use the g_seekable_xxx() calls instead.
496 2008-01-21 Matthias Clasen <mclasen@redhat.com>
499 * gvolumemanager.c: Whitespace cleanups.
501 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
502 Use the right mode when creating the file.
504 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
507 * gfileinputstream.c:
509 * goutputstream.c: Documentation: Fixed minor typos
510 and added more mentions of specific _finish() functions.
512 2008-01-21 Alexander Larsson <alexl@redhat.com>
514 * inotify/Makefile.am:
515 * inotify/inotify-helper.c:
516 * inotify/inotify-kernel.c:
517 * inotify/inotify-path.c:
518 * inotify/local_inotify.h: Removed.
519 * inotify/local_inotify_syscalls.h: Removed.
520 Removed the included copies of the inotify
521 headers. We now only use the <sys/inotify.h>
522 header which exists on modern systems.
523 This fixes problems on ARM and SH5 (#510448)
524 but is also generally much cleaner and future
525 safe. For instance, if other OSes add support
526 for inotify it should "just work".
528 2008-01-20 Matthias Clasen <mclasen@redhat.com>
530 * inotify/*.c: Coding style fixes.
531 * inotify/inotify-missing.c: Use g_timeout_add_seconds
532 for the 1/4 Hz timer.
534 2008-01-20 Matthias Clasen <mclasen@redhat.com>
538 * gmemoryinputstream.c:
539 * gmemoryoutputstream.c:
541 * gthemedicon.c: Documentation updates
543 2008-01-20 Murray Cumming <murrayc@murrayc.com>
545 * gfile.c: documentation: Fixed more minor
548 2008-01-18 Murray Cumming <murrayc@murrayc.com>
550 * gmount.c: (g_mount_remount): documentation:
551 Mention g_mount_remount_finish() instead of
552 g_mount_unmount_finish().
554 2008-01-18 Murray Cumming <murrayc@murrayc.com>
558 * gfile.c: Fixed some minor typos in the
561 2008-01-18 Murray Cumming <murrayc@murrayc.com>
563 * gio/gvolumemonitor.c:
564 (g_volume_monitor_get_connected_drives):
565 (g_volume_monitor_get_volumes):
566 (g_volume_monitor_get_mounts): Documentation:
567 Clarify the ownership of the regurn GLists.
569 2008-01-17 Alexander Larsson <alexl@redhat.com>
572 Add the async find_enclosing_mount version
573 to the header file too.
575 2008-01-17 Alexander Larsson <alexl@redhat.com>
578 Add async version of find_enclosing_mount
579 with default implementation.
581 2008-01-17 Alexander Larsson <alexl@redhat.com>
586 Allow calls to implementation of copy and write
587 even if the type of the file implementations is
588 different. This can be used to implement native
589 upload and download calls in a vfs.
593 Protect against the case where move is called
594 with one file not being local.
596 Make sure we call the progress callback once
597 in the native move operation so that the caller
598 knows how many bytes were copied.
600 2008-01-16 Murray Cumming <murrayc@murrayc.com>
603 * gdatainputstream.c:
605 * gfileoutputstream.c:
610 * gunixmounts.c: Corrected some typos in the documentation:
612 its -> it's (where appropriate).
614 2008-01-16 Alexander Larsson <alexl@redhat.com>
618 Add g_file_query_exists (#508771)
620 2008-01-15 Murray Cumming <murrayc@murrayc.com>
625 * gvolume.c: For async functions that have no non-async
626 version, document that the GAsyncReadyCallback may be NULL.
629 2008-01-15 Alexander Larsson <alexl@redhat.com>
631 * gmemoryinputstream.c:
632 * gmemoryoutputstream.c:
633 Don't do pointer arithmetic on void * (#508602)
634 Patch from Kazuki IWAMOTO
636 2008-01-14 Matthias Clasen <mclasen@redhat.com>
638 * === Released 2.15.2 ===
640 2008-01-14 Alexander Larsson <alexl@redhat.com>
642 * gfile.c (g_file_monitor_file):
643 Don't set error here, since we fallback to polling monitor.
645 2008-01-14 Alexander Larsson <alexl@redhat.com>
648 (g_file_monitor_directory):
649 (g_file_monitor_file):
650 Add GError to file monitor calls
652 * glocaldirectorymonitor.c:
653 * glocaldirectorymonitor.h:
655 * glocalfilemonitor.c:
656 * glocalfilemonitor.h:
658 Update for above change
660 2008-01-14 Alexander Larsson <alexl@redhat.com>
664 Handle root correctly in g_file_get_relative_path (#508719)
666 2008-01-14 Alexander Larsson <alexl@redhat.com>
669 Clean up docs and example for GAsyncResult (#508074)
671 2008-01-11 Murray Cumming <murrayc@murrayc.com>
673 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
674 and correct some spelling mistakes. Bug #508108.
676 2008-01-11 Matthias Clasen <mclasen@redhat.com>
678 * glocalfileinfo.c: Add a comment.
680 2008-01-10 Murray Cumming <murrayc@murrayc.com>
682 * gfileinfo.c: GFileInfo description: Mention
683 how to actually set attributes in a GFile and how to discover
684 which attributes are settable. Bug #508378.
686 2008-01-10 A. Walton <awalton@svn.gnome.org>
688 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
689 (g_app_info_get_default_for_type):
690 Check for NULL content types.
692 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
694 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
696 2008-01-09 Murray Cumming <murrayc@murrayc.com>
698 * gfile.c: *_async() functions: Several small corrections
699 to the documentation, mostly correcting copy/paste errors
700 and improving some sentences.
702 2008-01-09 Dan Winship <danw@gnome.org>
704 * glocalfile.c (get_unique_filename): x86_64 fix
706 2008-01-09 Alexander Larsson <alexl@redhat.com>
711 Add g_unix_mount_guess_should_display and use
712 for unix volume monitor backend.
713 This means we more or less show what the
714 gnome-vfs backend did.
715 Based on patch from Padraig O'Briain
717 2008-01-09 Alexander Larsson <alexl@redhat.com>
721 Add g_themed_icon_new_with_default_fallbacks
724 Use default fallbacks for icons
726 2008-01-09 Alexander Larsson <alexl@redhat.com>
729 * gmountoperation.[ch]:
730 Change the API a bit so that unhandled methods
731 get reported via the reply, rather than by
732 the signal emission return value. This is because
733 some handlers can't know this immediately without
734 doing I/O, and this is an async operation that
737 2008-01-09 Alexander Larsson <alexl@redhat.com>
740 * fam/gfamdirectorymonitor.c:
741 * fam/gfamfilemonitor.c:
742 Fix double free crash (#508224)
743 Patch from Joe Marcus Clarke
745 008-01-07 Matthias Clasen <mclasen@redhat.com>
747 * === Released 2.15.1 ===
749 2008-01-07 Alexander Larsson <alexl@redhat.com>
751 * gunixinputstream.c (g_unix_input_stream_skip_finish):
752 Fix warning (#507835)
754 2008-01-07 Alexander Larsson <alexl@redhat.com>
757 Pass --internal to glib-genmarshal
762 Use better types for signal arguments (#507822)
764 2008-01-07 Alexander Larsson <alexl@redhat.com>
767 Build test subdir after .
768 Remove gdirectorymonitor.[ch]
770 * gdirectorymonitor.[ch]:
774 Remove GDirectoryMonitor and make
775 GFileMonitor the baseclass for both file and
776 directory monitors. Lift the more generic
777 rate limiting code from GDirectoryMonitor
781 * fam/gfamdirectorymonitor.[ch]:
782 * inotify/ginotifydirectorymonitor.[ch]:
783 * inotify/inotify-helper.c:
784 * glocaldirectorymonitor.[ch]:
787 Update for the removed GDirectoryMonitor.
789 * gmemoryoutputstream.c:
790 Remove ununsed variable
792 2008-01-07 Alexander Larsson <alexl@redhat.com>
794 * gmemoryinputstream.c:
795 Translate error strings
798 * gmemoryoutputstream.[ch]:
799 New implementation that avoids using GByteArray
800 in implementation and API. (#506377)
802 2008-01-06 Matthias Clasen <mclasen@redhat.com>
804 * tests/*: Add a test for memory input streams.
806 * Makefile.am: Add tests to SUBDIRS.
808 2008-01-06 Matthias Clasen <mclasen@redhat.com>
810 * glocalfilemonitor.c:
811 * glocaldirectorymonitor.c: Mark property nicks and blurbs
814 2008-01-06 Matthias Clasen <mclasen@redhat.com>
816 * gdesktopappinfo.c: Fix a docs typo.
818 * gfileattribute.c: Add information about extended attributes
819 to the documentation. (#505058)
821 2008-01-04 Alexander Larsson <alexl@redhat.com>
825 Use the right type (uint) for the ask_password signal.
827 2008-01-04 Alexander Larsson <alexl@redhat.com>
832 Add g_app_info_supports_files()
833 Remove desktop arg from g_app_info_should_show().
835 * gdesktopappinfo.[ch]:
836 Implement g_app_info_supports_files() and new should_show()
837 Add g_desktop_app_info_set_desktop_env() to set the desktop
838 for should_show(). (This will be set by gtk+ later)
840 2008-01-04 Alexander Larsson <alexl@redhat.com>
843 * gmemoryinputstream.[ch]:
844 Improve API so that you can use multiple chunks
845 of memory and custom destroy functions. (#506374)
847 2008-01-03 Alexander Larsson <alexl@redhat.com>
850 Handle NULL attribute matchers safely, as we return this
851 for empty attribute matcher strings.
853 2008-01-03 Alexander Larsson <alexl@redhat.com>
855 * gunixmounts.c (g_unix_is_mount_path_system_internal):
856 Add /usr/local to list of internal mountpoints
858 2008-01-03 Alexander Larsson <alexl@redhat.com>
861 Check for HAVE_LCHOWN (#505887)
863 2008-01-03 Alexander Larsson <alexl@redhat.com>
867 Add define for selinux context attribute.
868 Fix missing : -> :: namespace separator change
869 Fix missing _ -> - name change for xattr-sys.
872 2008-01-03 Alexander Larsson <alexl@redhat.com>
875 Link to libglib and libgobject directly (#504879)
876 Patch from Sebastien Bacher
878 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
880 * gfile.c: Expanded the g_file_new_for_commandline_arg
881 description a bit, based on the code and the docs of the
882 other g_file_new_for_* functions.
884 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
886 * gfilemonitor.h: Fixed typo in docs.
888 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
890 Updates to GIO documentation. (#506395, Mikael Hermansson)
892 * gcontenttype.c: Describe memory management for return value of
893 g_content_types_get_registered(). Missing piece from #505815.
894 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
895 GVolume, GDrive, GMounts, which hopefully gives the user less
896 confusions when using this API. Following explainations from
897 Alexander Larsson on gtk-devel-list.
899 2007-12-30 Matthias Clasen <mclasen@redhat.com>
901 * gfileinfo.c: Expand the long description.
903 2007-12-30 Matthias Clasen <mclasen@redhat.com>
906 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
907 fix builds with --disable-visibility. (#500273, Christian Persch)
909 2007-12-30 Matthias Clasen <mclasen@redhat.com>
911 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
912 in the list of returned app infos.
914 2007-12-30 Matthias Clasen <mclasen@redhat.com>
916 * gappinfo.c: Fix a cross-reference
918 2007-12-30 Matthias Clasen <mclasen@redhat.com>
920 * gfileinputstream.c:
921 * gfileoutputstream.c:
927 * gfileinfo.c: Documentation updates.
929 2007-12-26 Matthias Clasen <mclasen@redhat.com>
931 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
934 2007-12-26 Matthias Clasen <mclasen@redhat.com>
936 * gcontenttype.c (g_content_types_get_registered): Don't return
937 freed memory (#505815, Mikael Hermansson)
939 2007-12-25 Paolo Borelli <pborelli@katamail.com>
941 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
942 used to detect statbuf->st_blocks. (#505042)
944 2007-12-24 Matthias Clasen <mclasen@redhat.com>
946 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
947 environment handling. (#504829, Cosimo Cecchi)
949 2007-12-22 Matthias Clasen <mclasen@redhat.com>
951 * gappinfo.c: Doc improvements
953 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
956 2007-12-20 Matthias Clasen <mclasen@redhat.com>
958 * === Released 2.15.0 ===
960 2007-12-20 Hans Breuer <hans@breuer.org>
962 * makefile.msc : don't build gdesktopappinfo.obj, it collides
963 with symbols gwin32appinfo.obj, added gmount.obj
964 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
966 2007-12-20 Alexander Larsson <alexl@redhat.com>
972 * gfilenamecompleter.c:
975 * gpollfilemonitor.c:
976 File attribute renames:
979 id::fs -> id::filesystem
981 2007-12-20 Alexander Larsson <alexl@redhat.com>
990 Add GMountUnmountFlags to all unmount and
992 Add g_mount_remount() call.
994 2007-12-20 Alexander Larsson <alexl@redhat.com>
996 * gvfs.c (get_default_vfs):
997 Fix unused variable warning
999 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1001 * pltcheck.sh: Update
1003 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1005 * gunionvolumemonitor.c:
1006 * gunixmount.c: Remove C99 comments
1008 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1010 * gio.symbols: Add some missing symbols
1012 2007-12-19 Alexander Larsson <alexl@redhat.com>
1015 Make g_io_modules_load_all_in_directory not unuse
1016 loaded modules so that users of it can do stuff
1018 Init internal "module" types.
1019 Initialize static prio and name for types so that
1020 we don't have to load modules to get it.
1022 * gnativevolumemonitor.h:
1024 Move is_supported to parent class so that
1025 non-native monitors can avoid being initialized
1026 too. (For instance GDaemonVolumeMonitor if we're
1027 not using GDaemonVfs.)
1029 * glocaldirectorymonitor.[ch]:
1030 * glocalfilemonitor.[ch]:
1031 * gunionvolumemonitor.c:
1032 * gunixvolumemonitor.c:
1034 Find plugins using the static prio+name to
1035 avoid unnecessarily loading the modules.
1037 2007-12-19 Alexander Larsson <alexl@redhat.com>
1042 2007-12-19 Alexander Larsson <alexl@redhat.com>
1044 * gunionvolumemonitor.c:
1045 Store the native type as GType, not class so that
1046 we can unload it. But still avoid unnecessarily
1049 2007-12-19 David Zeuthen <davidz@redhat.com>
1051 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1052 add signals 'disconnected' and 'eject-button' on GDrive. Add
1053 signal 'removed' on GVolume and 'unmounted' on GMount.
1055 * gdrive.c: (g_drive_base_init):
1057 * gfile.c: (g_file_mount_mountable),
1058 (g_file_mount_enclosing_volume):
1061 * gmount.c: (g_mount_base_init):
1063 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1064 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1065 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1069 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1071 * *.c: Fix up includes in the section docs.
1073 2007-12-17 Alexander Larsson <alexl@redhat.com>
1075 * gnativevolumemonitor.h:
1076 * gunionvolumemonitor.c:
1077 * gunixvolumemonitor.c:
1078 Add is_supported() to GNativeVolumeMonitorClass so
1079 that we can avoid having to create an object to see
1080 if the backend is supported at runtime.
1081 Also add name member and an env var to pick a specific
1082 volume monitor backend.
1086 Add cancellable to _g_mount_get_for_mount_path()
1088 * glocaldirectorymonitor.c:
1089 * glocalfilemonitor.c:
1090 Avoid loading and unloading modules while sorting.
1092 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1095 * gunixmounts.[hc]: Namespace waste reduction, move some
1096 g_get_unix_mount functions to the g_unix_mount namespace.
1099 * gunixvolumemonitor.c:
1101 * glocaldirectorymonitor.c: Update all callers.
1103 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1105 2007-12-17 Alexander Larsson <alexl@redhat.com>
1108 Add doc comments about what GFile operations are
1109 guaranteed to not block.
1111 2007-12-17 Alexander Larsson <alexl@redhat.com>
1114 Add missing #ifdef fixing OSX build.
1115 (#503334, patch from Richard Hult)
1117 2007-12-14 David Zeuthen <davidz@redhat.com>
1121 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1122 (g_mount_eject), (g_mount_eject_finish):
1124 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1125 (get_volume_for_uuid), (get_mount_for_uuid),
1126 (g_union_volume_monitor_class_init),
1127 (get_default_native_type_with_exclude), (get_default_native_type),
1128 (get_native_type), (update_native_type),
1129 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1130 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1131 (g_unix_mount_can_eject), (eject_unmount_cb),
1132 (eject_unmount_read_error), (eject_unmount_do),
1133 (g_unix_mount_unmount), (g_unix_mount_eject),
1134 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1135 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1136 (g_unix_mount_point_guess_can_eject):
1138 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1139 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1140 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1141 (g_unix_volume_mount), (g_unix_volume_eject),
1142 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1143 * gunixvolumemonitor.c: (get_volume_for_uuid),
1144 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1146 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1147 (g_volume_eject), (g_volume_eject_finish):
1149 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1150 (g_volume_monitor_get_mount_for_uuid):
1153 Provide eject() on both GMount and GVolume and utility functions
1154 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1155 ejected. Introduce the concept of UUID's and wire it into GVolume
1156 and GMount and provide API on GVolumeMonitor to find such
1157 instances. Also handle the case where an external
1158 GNativeVolumeMonitor fails to initialize. Lock around the
1159 _g_get_mount_for_mount_path() function such that volume monitor
1160 implementations won't have to do locking themselves.
1162 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1164 * gdesktopappinfo.c:
1170 * gvolume.h: Documentation updates
1172 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1175 * gfile.h: Doc updates
1177 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1180 * gdesktopappinfo.c: Use hash table iterators.
1182 2007-12-14 Alexander Larsson <alexl@redhat.com>
1185 * gfileattribute.[ch]:
1186 * gfileattribute-priv.h:
1187 Move GFileAttributeValue to a private header, as
1191 Make set_attribute take a type + a pointer instead
1192 of a GFileAttributeValue.
1195 Fix up for above changes.
1196 Add g_file_info_get_attribute_data to get
1197 all info in one call, g_file_info_get_attribute_status
1198 to get the status and g_file_info_get_attribute_as_string.
1202 * glocalfileinfo.[ch]:
1206 Make _guess_type static.
1208 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1211 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1212 made mkenums and friends use temporary files to avoid leaving
1213 empty generated files on failure (#503470).
1215 2007-12-14 Alexander Larsson <alexl@redhat.com>
1217 * gmountoperation.h:
1220 2007-12-14 Alexander Larsson <alexl@redhat.com>
1224 * gfileattribute.[ch]:
1227 * glocalfileoutputstream.c:
1228 * gmountoperation.[ch]:
1229 * goutputstream.[ch]:
1230 Clean up all flags enums to not have _FLAGS in them
1231 Make the names of some of the enums better.
1236 2007-12-14 Michael Natterer <mitch@imendio.com>
1238 * gio.symbols: fix g_io_scheduler symbol names.
1240 2007-12-14 Alexander Larsson <alexl@redhat.com>
1246 * gbufferedinputstream.h:
1247 * gbufferedoutputstream.h:
1250 * gdatainputstream.h:
1251 * gdataoutputstream.h:
1252 * gdesktopappinfo.h:
1253 * gdirectorymonitor.h:
1257 * gfileenumerator.h:
1260 * gfileinputstream.h:
1262 * gfilenamecompleter.h:
1263 * gfileoutputstream.h:
1264 * gfilterinputstream.h:
1265 * gfilteroutputstream.h:
1273 * gmemoryinputstream.h:
1274 * gmemoryoutputstream.h:
1276 * gmountoperation.h:
1279 * gsimpleasyncresult.h:
1281 * gunixinputstream.h:
1283 * gunixoutputstream.h:
1287 * inotify/Makefile.am:
1288 Only allow including <gio/gio.h> from apps
1290 2007-12-14 Alexander Larsson <alexl@redhat.com>
1292 * gioscheduler.[ch]:
1293 * gsimpleasyncresult.c:
1294 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1295 Split out the send_to_mainloop call into two versions instead
1296 of having the block argument.
1298 2007-12-13 Alexander Larsson <alexl@redhat.com>
1300 * gcancellable.[ch]:
1302 * gbufferedinputstream.c:
1303 * gfileenumerator.c:
1304 * gfileinputstream.c:
1305 * gfileoutputstream.c:
1309 g_push/pop_current_cancellable ->
1310 g_cancellable_push/pop_current
1312 2007-12-13 Alexander Larsson <alexl@redhat.com>
1316 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1318 2007-12-13 Alexander Larsson <alexl@redhat.com>
1320 * gmountoperation.h:
1321 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1323 2007-12-12 Alexander Larsson <alexl@redhat.com>
1326 Fix race condition when freeing proxy in
1327 g_io_job_send_to_mainloop().
1329 2007-12-12 Alexander Larsson <alexl@redhat.com>
1335 Make attribute namespace separator "::" instead of ":".
1336 Use - instead of _ as separator in attribute names.
1338 2007-12-12 Alexander Larsson <alexl@redhat.com>
1340 * gbufferedinputstream.h:
1341 * gbufferedoutputstream.h:
1342 * gdatainputstream.h:
1343 * gdataoutputstream.h:
1344 * gdirectorymonitor.h:
1345 * gfileenumerator.h:
1346 * gfileinputstream.h:
1348 * gfileoutputstream.h:
1349 * gfilterinputstream.h:
1350 * gfilteroutputstream.h:
1352 * glocalfileinputstream.h:
1353 * glocalfileoutputstream.h:
1354 * gmemoryinputstream.h:
1355 * gmemoryoutputstream.h:
1356 * gnativevolumemonitor.h:
1358 * gunixinputstream.h:
1359 * gunixoutputstream.h:
1362 s/parent/parent_instance/ in GObjects
1364 2007-12-12 Alexander Larsson <alexl@redhat.com>
1369 No need for padding for interfaces
1371 2007-12-12 Alexander Larsson <alexl@redhat.com>
1375 * gbufferedinputstream.c:
1376 * gbufferedoutputstream.c:
1379 * gdatainputstream.[ch]:
1380 * gdesktopappinfo.c:
1381 * gdirectorymonitor.c:
1383 * gfileattribute.[ch]:
1386 * gfileinputstream.h:
1387 * gfilemonitor.[ch]:
1388 * gfileoutputstream.[ch]:
1389 * gfilterinputstream.h:
1390 * gfilteroutputstream.h:
1393 * gloadableicon.[ch]:
1394 * gmemoryinputstream.c:
1395 * gmountoperation.c:
1397 Fix up a bunch of details in the docs.
1402 2007-12-11 David Zeuthen <davidz@redhat.com>
1404 Rework how volumes, drives and volume monitoring is
1405 done. Previosly the model was
1407 GDrive <1-1> GVolume
1409 where a GDrive instance represented a mount point and a GVolume
1410 instance represented a mounted file system. This patch changes it
1413 GDrive <1-N> GVolume <1-1> GMount
1415 where GMount now serves the purpose of the old GVolume and the new
1416 GVolume serves the purpose of the old GDrive. In addition the new
1417 GDrive interface is used to represent a collection of GVolume
1418 instances (typically partitions) and also contains utility to query
1419 the state of the physical drive the GDrive object represents (such
1420 as checking for media, polling the drive, ejecting the media etc.).
1422 Also implement mounting and unmounting in the Unix volume monitor
1423 backend. A subquent patch will introduce GDrive support for ejection
1427 * gdrive.c: (g_drive_is_media_check_automatic),
1428 (g_drive_is_media_removable), (g_drive_has_media),
1429 (g_drive_can_poll_for_media), (g_drive_eject),
1430 (g_drive_eject_finish), (g_drive_poll_for_media),
1431 (g_drive_poll_for_media_finish):
1433 * gfile.c: (g_file_find_enclosing_mount):
1436 * glocaldirectorymonitor.c:
1437 (g_local_directory_monitor_constructor), (mounts_changed):
1438 * glocalfile.c: (get_mount_info),
1439 (g_local_file_find_enclosing_mount),
1440 (g_local_file_file_iface_init):
1441 * gnativevolumemonitor.h:
1442 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1443 (get_connected_drives), (g_union_volume_monitor_class_init),
1444 (child_volume_added), (child_volume_removed),
1445 (child_volume_changed), (child_mount_added), (child_mount_removed),
1446 (child_mount_pre_unmount), (child_mount_changed),
1447 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1448 (g_union_volume_monitor_remove_monitor),
1449 (_g_mount_get_for_mount_path):
1450 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1451 (guess_system_internal), (_g_get_unix_mounts),
1452 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1453 (g_unix_mount_free), (g_unix_mount_compare),
1454 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1455 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1456 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1457 (type_to_icon), (g_unix_mount_guess_name),
1458 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1459 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1460 (_resolve_symlink), (_resolve_dev_root):
1462 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1463 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1464 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1465 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1466 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1467 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1468 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1469 (g_unix_volume_volume_iface_init):
1471 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1472 (get_mounts), (get_volumes), (get_connected_drives),
1473 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1474 (mountpoints_changed), (mounts_changed),
1475 (g_unix_volume_monitor_init),
1476 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1477 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1478 * gunixvolumemonitor.h:
1479 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1480 (g_volume_mount), (g_volume_mount_finish):
1482 * gvolumemonitor.c: (g_volume_monitor_class_init),
1483 (g_volume_monitor_get_connected_drives),
1484 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1487 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1489 * gmountoperation.h (GPasswordFlags): Close the gap
1491 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1493 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1495 * gdesktopappinfo.[hc]: Remove _-prefixes
1497 2007-12-10 Tor Lillqvist <tml@novell.com>
1499 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1502 2007-12-10 Alexander Larsson <alexl@redhat.com>
1504 * gfile.c (g_file_set_display_name):
1505 Don't hardcode '/' (#502727)
1507 2007-12-09 Hans Breuer <hans@breuer.org>
1509 * makefile.msc : follow lib naming convention
1510 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1511 for user and group name, tested with ../tests/gio-ls
1513 2007-12-09 A. Walton <awalton@svn.gnome.org>
1515 * gdesktopappinfo.c:
1521 * gfileenumerator.c:
1526 * gmemoryinputstream.c:
1527 * gmemoryoutputstream.c:
1529 * gsimpleasyncresult.c:
1530 More documentation cleanup and filling in missing information, bringing
1531 GIO to 99% symbol coverage.
1533 2007-12-08 Hans Breuer <hans@breuer.org>
1535 [gio compiles and links on win32, not sure how much already works]
1536 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1537 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1538 base on win32 API; prefer g_lstat() over lstat(); instead of
1539 localtime_r() use an all GLib implementation on win32;
1540 get_mount_info() still needs a win32 specifc implementation
1541 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1542 win32_get_file_user_info to get owner/group info without uid/gid
1543 * glocalfileinputstream.c : include <io.h> on win32
1544 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1545 definition, use g_win32_ftruncate() for G_OS_WIN32
1546 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1547 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1548 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1549 * makefile.msc : updated
1551 2007-12-07 Alexander Larsson <alexl@redhat.com>
1553 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1554 Avoid warning spew if error == NULL
1556 2007-12-07 Alexander Larsson <alexl@redhat.com>
1559 Update docs wrt etags
1561 2007-12-06 Alexander Larsson <alexl@redhat.com>
1564 Include sys/types.h for dev_t (#501919)
1566 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1570 Make abicheck and pltcheck pass.
1572 2007-12-05 Alexander Larsson <alexl@redhat.com>
1575 * giomodule-priv.h: Added.
1576 * glocaldirectorymonitor.c:
1577 * glocalfilemonitor.c:
1578 * gunionvolumemonitor.c:
1580 Actually add the declaration of _g_io_modules_ensure_loaded
1582 2007-12-05 Alexander Larsson <alexl@redhat.com>
1584 * gdatainputstream.c:
1589 * glocaldirectorymonitor.c:
1590 * glocalfilemonitor.c:
1591 * gunionvolumemonitor.c:
1593 Make g_io_modules_ensure_loaded a private function and
1594 don't pass in the dirname. This means we can do magic
1595 directory finding in the win32 version.
1596 Export the actual load-modules-in-directory code so that
1597 gvfs can reuse that.
1599 2007-12-05 Alexander Larsson <alexl@redhat.com>
1601 * gbufferedinputstream.c:
1602 * gbufferedoutputstream.c:
1605 * gfileenumerator.[ch]:
1606 * gfileinputstream.c:
1607 * gfileoutputstream.[ch]:
1608 * gfilterinputstream.c:
1609 * gfilteroutputstream.c:
1610 * ginputstream.[ch]:
1612 * glocalfileenumerator.c:
1613 * glocalfileinputstream.c:
1614 * glocalfileoutputstream.c:
1615 * gmemoryinputstream.c:
1616 * gmemoryoutputstream.c:
1617 * goutputstream.[ch]:
1620 * gunixinputstream.c:
1621 * gunixoutputstream.c:
1622 Rename all struct members named:
1623 read, write, close, truncate, or mount
1624 to foo_fn, as these are reserved names
1625 and could be defined as macros in libc.
1628 2007-12-04 Alexander Larsson <alexl@redhat.com>
1631 (g_output_stream_close):
1632 Only call flush if non-null.
1634 2007-11-30 Dan Winship <danw@gnome.org>
1636 * ginputstream.c (g_input_stream_set_pending): Make this take a
1637 GError and return a gboolean, and do the "outstanding operation"
1638 check (and the "stream is already closed" check) itself.
1639 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1641 * goutputstream.c (g_output_stream_set_pending)
1642 (g_output_stream_clear_pending): Likewise
1644 * gbufferedinputstream.c:
1645 * gfileinputstream.c:
1646 * gfileoutputstream.c: Update for that
1648 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1649 Like g_simple_async_report_error_in_idle, but takes a GError
1650 rather than building one.
1652 2007-11-30 Dan Winship <danw@gnome.org>
1654 * goutputstream.c: Don't cheat and unset the "pending" flag around
1655 inner calls. Instead, call the class method directly rather than
1656 the wrapper function that checks "pending"
1658 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1660 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1662 2007-12-03 Hans Breuer <hans@breuer.org>
1664 [start of port to win32/msvc]
1665 * gcancellable.c : HAVE_UNIST_H and _pipe()
1666 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1667 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1668 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1670 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1671 * glocalvfs.c : use HAVE_PWD_H
1672 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1673 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1674 * Makefile.am : added to EXTRA_DIST
1676 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1678 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1681 2007-12-03 Alexander Larsson <alexl@redhat.com>
1684 Handle OSX style xattrs API (#500506)
1686 2007-12-03 Alexander Larsson <alexl@redhat.com>
1690 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1692 2007-12-02 A. Walton <awalton@svn.gnome.org>
1696 Documentation accuracy fixes.
1698 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1700 * gioenumtypes.c.template: Fix typo.
1702 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1704 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1706 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1708 * gdirectorymonitor.c:
1709 * gfilemonitor.c: Add properties
1711 * gbufferedoutputstream.c: Don't mark buffer-size property
1714 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1716 * gbufferedoutputstream.c: Add auto-grow property.
1718 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1720 * *.c: Unify the capitalization of section headings.
1722 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1724 * gmountoperation.c: Add properties
1726 * gdatainputstream.c: Turn byte-order and newline-type into
1729 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1731 * gioenumtypes.[hc].template: Templates for enum registration
1733 * Makefile.am: Generate gioenumtypes.[hc]
1735 * gio.h: Include gioenumtypes.h
1737 * gfile.h: Add some explicit nicks.
1739 * gio.symbols: Add new symbols
1741 * pltcheck.sh: Adjust
1743 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1745 * *.c: Explain etags and link to the explanation
1747 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1749 * *.c: Explain I/O priority.
1751 * *.c: More coding style fixes.
1753 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1755 * gasyncresult.c: Add another paragraph to the intro,
1756 adjust coding style of example.
1758 2007-11-29 A. Walton <awalton@svn.gnome.org>
1761 Fixes unknown meaning in GAppLaunchContext docs.
1763 Clarify asynchronous ops.
1765 Fix entity tag docs.
1768 Provides missing gtk-doc section, fixes API docs slighly.
1769 * gsimpleasyncresult.c:
1770 Fill in missing info in docs.
1771 * gunixinputstream.c:
1772 * gunixoutputstream.c:
1773 Be more expressive in short description.
1775 Remove gtk-doc stubs for non-public API.
1777 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1779 * *.c: Coding style fixups
1781 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1783 * inotify/inotify-helper.c: Don't export the lock from libgio.
1785 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1788 * abicheck.sh: Fix copy-and-paste leftovers
1790 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1792 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1794 2007-11-28 Alexander Larsson <alexl@redhat.com>
1798 Removed unnecessary file
1800 * gdesktopappinfo.[ch]:
1803 * glocaldirectorymonitor.[ch]:
1805 * glocalfileenumerator.[ch]:
1806 * glocalfileinputstream.[ch]:
1807 * glocalfilemonitor.[ch]:
1808 * glocalfileoutputstream.[ch]:
1810 * gnativevolumemonitor.c:
1811 * gpollfilemonitor.[ch]:
1812 * gunionvolumemonitor.[ch]:
1815 * gunixvolumemonitor.[ch]:
1818 * inotify/ginotifydirectorymonitor.[ch]:
1819 * inotify/ginotifyfilemonitor.[ch]:
1820 * inotify/inotify-helper.c:
1821 Append _ to all internal functions
1825 Export symbols needed for modules
1827 2007-11-28 Alexander Larsson <alexl@redhat.com>
1830 * abicheck.sh: Added.
1831 * makegioalias.pl: Added.
1832 * pltcheck.sh: Added.
1833 * gio.symbols: Added.
1836 Initial work on adding symbol handling.
1839 Correct ifdef guard name
1842 * inotify/Makefile.am:
1843 * xdgmime/Makefile.am:
1844 Include toplevel Makefile.decl
1846 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1848 * gcontenttype.c: Move doc comments to the unix section.
1850 * *.[hc]: More trivial doc corrections.
1852 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1854 * gpollfilemonitor.c:
1858 * gdesktopappinfo.c:
1863 * gdatainputstream.c:
1864 * gdatainputstream.h:
1865 * gdataoutputstream.c:
1866 * gdataoutputstream.h:
1867 * gfileinfo.h: Doc cleanups
1869 2007-11-28 Andre Klapper <a9016009@gmx.de>
1871 * gdesktopappinfo.c: Fix a typo.
1873 2007-11-27 Andre Klapper <a9016009@gmx.de>
1875 * glocalfileoutputstream.c: Fix a typo.
1877 2007-11-27 Alexander Larsson <alexl@redhat.com>
1880 Don't include removed headers
1882 2007-11-27 Alexander Larsson <alexl@redhat.com>
1885 * gsocketinputstream.[ch]: Removed.
1886 * gsocketoutputstream.[ch]: Removed.
1887 * gunixinputstream.[ch]: Added.
1888 * gunixoutputstream.[ch]: Added.
1889 Renamed GSocket*Stream to GUnix*Stream and made
1890 it unix-only, since its not really only for sockets
1891 and it only works on unix (but is highly useful there).
1893 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1899 * gbufferedinputstream.c:
1900 * gbufferedinputstream.h:
1901 * gbufferedoutputstream.c:
1902 * gbufferedoutputstream.h:
1906 * gdatainputstream.c:
1907 * gdatainputstream.h:
1908 * gdataoutputstream.c:
1909 * gdataoutputstream.h:
1910 * gdirectorymonitor.c:
1911 * gdirectorymonitor.h:
1918 * gfileenumerator.c:
1919 * gfileenumerator.h:
1924 * gfileinputstream.c:
1925 * gfileinputstream.h:
1928 * gfilenamecompleter.c:
1929 * gfilenamecompleter.h:
1930 * gfileoutputstream.c:
1931 * gfileoutputstream.h:
1932 * gfilterinputstream.c:
1933 * gfilterinputstream.h:
1934 * gfilteroutputstream.c:
1935 * gfilteroutputstream.h:
1948 * glocalfileoutputstream.c:
1949 * gmemoryinputstream.c:
1950 * gmemoryinputstream.h:
1951 * gmemoryoutputstream.c:
1952 * gmemoryoutputstream.h:
1953 * gmountoperation.c:
1954 * gmountoperation.h:
1957 * gpollfilemonitor.c:
1960 * gsimpleasyncresult.c:
1961 * gsimpleasyncresult.h:
1962 * gsocketinputstream.c:
1963 * gsocketinputstream.h:
1964 * gsocketoutputstream.c:
1965 * gsocketoutputstream.h:
1972 * gunixvolumemonitor.c:
1981 Bumps documentation to 93% symbol coverage, touching most
1982 of the public files. Fixes broken function documentation prototypes.
1983 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1984 gtk-doc headers in private files.
1986 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1988 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1989 (g_buffered_input_stream_read_byte):
1990 * gbufferedinputstream.h:
1991 New functions for efficient access to buffer and simple single byte
1994 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
1995 (g_data_input_stream_read_until):
1996 * gdatainputstream.h:
1997 Use peek_buffer to avoid memcpy in scan_for_newline, implement
1998 read_until with multiple stop chars.
2000 2007-11-27 Alexander Larsson <alexl@redhat.com>
2004 * inotify/Makefile.am:
2005 Use the user-specified giomoduledir
2007 2007-11-27 Alexander Larsson <alexl@redhat.com>
2011 Add catch-all gio.h header
2012 Don't install gdummyfile.h
2014 2007-11-26 Alexander Larsson <alexl@redhat.com>
2016 * Makefile.am (gioinclude_HEADERS):
2017 Remove trailing whitespace
2019 2007-11-26 Alexander Larsson <alexl@redhat.com>
2021 Merge gio-standalone into glib
2023 2007-11-25 Christian Kellner <gicmo@gnome.org>
2025 * gio/goutputstream.c:
2026 Fix small mistake in the docs.
2028 2007-11-21 Christian Persch <chpe@gnome.org>
2030 * gio/glocalfile.c: (g_local_file_trash):
2031 Convert filenames to UTF-8 for GError.
2032 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2033 as per xdg base dir spec.
2035 2007-11-21 Christian Persch <chpe@gnome.org>
2037 * gio/gdesktopappinfo.c:
2038 Use that g_key_file_to_data cannot fail.
2040 Use stock defines for the key file group and key names.
2043 2007-11-21 Alexander Larsson <alexl@redhat.com>
2046 (copy_stream_with_progress):
2047 Make sure we do a final progress callback with
2048 the full total size.
2050 2007-11-21 Alexander Larsson <alexl@redhat.com>
2053 Export g_file_copy_attributes
2054 Remove padding as its not needed for interfaces
2056 2007-11-20 Alexander Larsson <alexl@redhat.com>
2061 Add G_IO_ERROR_WOULD_MERGE for
2062 copy/move dir on dir with overwrite.
2064 2007-11-20 Alexander Larsson <alexl@redhat.com>
2067 * gio/glocalfileinfo.c:
2068 Add COPY_NAME (this is an optional
2069 non-modified utf8 version of the name) that
2072 2007-11-20 Alexander Larsson <alexl@redhat.com>
2074 * gio/glocalfileenumerator.c:
2075 Report errors as GIOError, not GFileError
2077 2007-11-16 Alexander Larsson <alexl@redhat.com>
2079 * gio/glocalfileoutputstream.c:
2080 * gio/gwin32appinfo.c:
2081 Fix typos in strings.
2082 Patch from Luca Ferretti <elle.uca@libero.it>
2084 2007-11-15 Alexander Larsson <alexl@redhat.com>
2087 Post release version bump
2089 === gio-standalone 0.1.2 ===
2091 2007-11-15 Alexander Larsson <alexl@redhat.com>
2093 * docs/reference/gio/Makefile.am:
2094 Fix up distcheck by removing weird
2100 2007-11-14 Alexander Larsson <alexl@redhat.com>
2102 * gio/gdesktopappinfo.c:
2103 * gio/glocaldirectorymonitor.c:
2105 * gio/glocalfileinfo.c:
2106 * gio/inotify/inotify-sub.c:
2107 * programs/gio-cat.c:
2108 * programs/gio-copy.c:
2109 * programs/gio-info.c:
2110 * programs/gio-ls.c:
2111 * programs/gio-monitor-dir.c:
2112 * programs/gio-monitor-file.c:
2113 * programs/gio-mount.c:
2114 * programs/gio-move.c:
2115 * programs/gio-rm.c:
2116 * programs/gio-save.c:
2117 * programs/gio-trash.c:
2118 Leak fixes from Kjartan Maraas
2120 2007-11-14 Alexander Larsson <alexl@redhat.com>
2122 * gio/fam/fam-helper.c:
2124 * gio/glocalfileinfo.c:
2128 * gio/inotify/inotify-diag.c:
2129 * gio/inotify/inotify-kernel.c:
2130 Various code cleanups from Kjartan Maraas
2132 2007-11-14 Alexander Larsson <alexl@redhat.com>
2134 * gio/gioscheduler.c:
2136 Set up threadpool so that we cache 2 unused
2137 idle threads for at 15 secs. This means we
2138 will reuse thread-local data (like dbus connections)
2141 2007-11-14 Alexander Larsson <alexl@redhat.com>
2143 * gio/fam/fam-helper.c:
2144 * gio/fam/gfamdirectorymonitor.c:
2145 * gio/fam/gfamfilemonitor.c:
2147 * gio/gcontenttype.c:
2148 * gio/gdatainputstream.c:
2149 * gio/gdataoutputstream.c:
2153 * gio/gfileattribute.h:
2154 * gio/gfileenumerator.c:
2156 * gio/ginputstream.c:
2159 * gio/glocalfileinfo.c:
2160 * gio/goutputstream.c:
2161 * gio/gpollfilemonitor.c:
2162 * gio/gsimpleasyncresult.c:
2163 * gio/gunixmounts.c:
2164 * gio/gunixmounts.h:
2165 * gio/inotify/ginotifydirectorymonitor.c:
2166 * gio/inotify/ginotifyfilemonitor.c:
2167 * gio/inotify/inotify-diag.c:
2168 * gio/inotify/inotify-kernel.c:
2169 * gio/inotify/inotify-path.c:
2171 * gio/test-streams.c:
2172 * programs/gio-info.c:
2173 * programs/gio-monitor-dir.c:
2174 * programs/gio-monitor-file.c:
2175 Various code cleanups from Kjartan Maraas
2177 2007-11-13 Alexander Larsson <alexl@redhat.com>
2180 Handle the uri-scheme calls for dummy files
2182 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2184 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2185 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2186 to avoid clash with the C++ keyword.
2188 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2190 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2191 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2193 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2195 * gio/glocaldirectorymonitor.c:
2196 * gio/glocalfilemonitor.c:
2197 * gio/gunionvolumemonitor.c:
2198 Don't use g_once_init_*() for initializations that could fail and
2199 could leave the initialization variable set to 0 but use GOnce.
2200 This prevents a deadlock on the second call when trying to create
2201 a monitor and no monitor type is available. Thanks to Sven Herzberg
2204 2007-11-11 Sven Herzberg <sven@imendio.com>
2206 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2207 #ifdef (make it work on MacOS X again)
2209 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2211 Fixes Changelog for last two commits (sorry guys).
2213 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2215 * gio/gbufferedinputstream.c:
2216 * gio/gdatainputstream.c:
2218 * gio/gfileoutputstream.c:
2219 * gio/gfilterinputstream.c:
2220 * gio/glocalfileinputstream.c:
2223 More consistency fixes in g*stream.c files.
2224 Significant clean of gfile's documentation, filling in of
2225 asynchronous operations documentation.
2227 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2229 * gio/gasyncresult.c:
2230 * gio/gbufferedinputstream.c:
2231 * gio/gbufferedoutputstream.c:
2232 * gio/gcancellable.c:
2233 * gio/gcontenttype.c:
2234 * gio/gdatainputstream.c:
2235 * gio/gdataoutputstream.c:
2236 * gio/gdesktopappinfo.c:
2239 * gio/gfileattribute.c:
2240 * gio/gio/gfileenumerator.c:
2242 * gio/gfileinputstream.c:
2243 * gio/gfilemonitor.c:
2244 * gio/gfileoutputstream.c:
2245 * gio/ginputstream.c:
2247 * gio/gioscheduler.c:
2248 * gio/gloadableicon.c:
2249 * gio/glocalfileoutputstream.c:
2250 * gio/gmemoryoutputstream.c:
2251 * gio/gmountoperation.c:
2252 * gio/goutputstream.c:
2254 * gio/gsimpleasyncresult.c:
2255 * gio/gunionvolumemonitor.c:
2256 * gio/gunixmounts.c:
2257 * gio/gunixvolume.c:
2261 * gio/gvolumemonitor.c:
2262 Updated documentation stubs, working towards consistency and
2265 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2267 * gio/gmemoryoutputstream.c:
2268 * gio/gmemoryoutputstream.h:
2269 Change g_memory_output_stream_set_free_on_close() to
2270 g_memory_output_stream_set_free_data() as this makes more sense and
2271 is more consistent with GMemoryInputStream.
2273 2007-11-07 Alexander Larsson <alexl@redhat.com>
2280 Change how we find the default vfs so that
2281 we can handle a gvfs failing to init
2283 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2285 * gio/gbufferedoutputstream.c:
2286 * gio/gdatainputstream.c:
2287 * gio/gdataoutputstream.c:
2288 * gio/gfileinputstream.c:
2289 * gio/gfileoutputstream.c:
2290 * gio/gfilterinputstream.c:
2291 * gio/gfilteroutputstream.c:
2292 * gio/ginputstream.c:
2293 * gio/gmemoryinputstream.c:
2294 * gio/gmemoryoutputstream.c:
2295 * gio/goutputstream.c:
2296 * gio/gsimpleasyncresult.c:
2297 * gio/gsocketinputstream.c:
2298 * gio/gsocketoutputstream.c:
2299 Add guards to the remaining public functions, add a TODO for
2300 an unimplemented function and remove some useless guards.
2302 2007-11-07 Alexander Larsson <alexl@redhat.com>
2305 Autoconf checks for the various types of
2306 getpwuid_r and getgrgid_r
2308 * gio/glocalfileinfo.c:
2309 Use the autoconf checks from above
2311 2007-11-07 Alexander Larsson <alexl@redhat.com>
2314 (g_local_file_query_filesystem_info):
2315 Some fixes for the statvfs case
2317 2007-11-07 Alexander Larsson <alexl@redhat.com>
2320 (g_local_file_query_filesystem_info):
2321 Pick the "best" of statfs / statvfs for the system
2322 if both are availible.
2324 2007-11-07 Alexander Larsson <alexl@redhat.com>
2326 Solaris fixes from Halton.Huo@Sun.COM:
2333 * gio/glocalfileinfo.c:
2334 Fix for solaris definition of getpwuid_r
2336 * gio/test-streams.c:
2337 Use G_GNUC_PRETTY_FUNCTION
2339 2007-11-07 Alexander Larsson <alexl@redhat.com>
2341 * gio/gdesktopappinfo.c:
2342 (update_default_list):
2343 Remove double semicolon.
2344 Patch from Jens Granseuer
2346 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2348 * docs/reference/gio/gio-sections.txt:
2349 * gio/gbufferedinputstream.c:
2350 * gio/gbufferedinputstream.h:
2351 * gio/gdatainputstream.c:
2352 * gio/gfileenumerator.c:
2353 * gio/gioscheduler.c:
2354 * gio/gunionvolumemonitor.c:
2356 * programs/gio-save.c:
2357 Fix typo: availible -> available. Unfortuntely this breaks API
2358 and ABI as g_buffered_input_stream_get_available() was renamed.
2360 * gio/gunixmounts.c:
2361 * gio/gbufferedinputstream.c:
2362 Add guards for public functions.
2364 2007-11-06 Ross Burton <ross@openedhand.com>
2366 * docs/reference/gio/Makefile.am:
2367 Fix invalid += usage which automake 1.10 doesn't like.
2369 2007-11-06 Alexander Larsson <alexl@redhat.com>
2372 (g_app_launch_context_class_init):
2375 Patch from Ross Burton
2377 2007-11-06 Alexander Larsson <alexl@redhat.com>
2380 Post release version bump
2382 === gio-standalone 0.1.1 ===
2384 2007-11-06 Alexander Larsson <alexl@redhat.com>
2387 Bump version to 0.1.1
2389 * gio/gsimpleasyncresult.c:
2390 (g_simple_async_result_set_from_error):
2391 Remove bogus g_return_if_fail
2393 2007-11-06 Alexander Larsson <alexl@redhat.com>
2396 The name is gio-standalone
2399 Add top src/builddir to includedir
2401 2007-11-06 Alexander Larsson <alexl@redhat.com>
2403 * docs/reference/gio/gio-sections.txt:
2405 * gio/gbufferedinputstream.c:
2406 * gio/gbufferedoutputstream.c:
2407 * gio/gcancellable.c:
2408 * gio/gdatainputstream.h:
2409 * gio/gdataoutputstream.c:
2410 * gio/gdataoutputstream.h:
2411 * gio/gdirectorymonitor.c:
2413 * gio/gfileattribute.c:
2414 * gio/gfileattribute.h:
2415 * gio/gfileenumerator.c:
2416 * gio/gfileenumerator.h:
2419 * gio/gfileinputstream.h:
2420 * gio/gfilemonitor.c:
2421 * gio/gfileoutputstream.h:
2422 * gio/glocalfilemonitor.h:
2423 * gio/glocalfileoutputstream.h:
2424 * gio/gmemoryinputstream.c:
2425 * gio/gmemoryoutputstream.c:
2426 * gio/gmountoperation.c:
2427 * gio/goutputstream.c:
2428 * gio/goutputstream.h:
2430 * gio/gsimpleasyncresult.c:
2431 * gio/gunixmounts.c:
2432 * gio/gunixmounts.h:
2434 * gio/inotify/inotify-helper.c:
2435 Fix gtk-doc warnings
2437 Patch from Ross Burton
2439 2007-11-06 Alexander Larsson <alexl@redhat.com>
2441 * gio/gfilenamecompleter.c:
2442 (g_filename_completer_get_completions):
2445 * gio/gunixvolume.c:
2446 Remove unused function
2448 Patches from Ross Burton
2450 2007-11-06 Alexander Larsson <alexl@redhat.com>
2455 Padding not needed for interfaces
2457 2007-11-06 Alexander Larsson <alexl@redhat.com>
2459 * gio/gfilemonitor.c:
2463 Make giotypes.h an internal file
2466 * gio/gbufferedinputstream.h:
2467 * gio/gbufferedoutputstream.h:
2468 * gio/gcancellable.h:
2469 * gio/gdatainputstream.h:
2470 * gio/gdataoutputstream.h:
2471 * gio/gdirectorymonitor.c:
2472 * gio/gdirectorymonitor.h:
2477 * gio/gfileattribute.h:
2478 * gio/gfileenumerator.h:
2483 * gio/gfilemonitor.c:
2484 * gio/gfilemonitor.h:
2485 * gio/gfilenamecompleter.c:
2486 * gio/gfilenamecompleter.h:
2487 * gio/gfilterinputstream.h:
2488 * gio/gfilteroutputstream.h:
2489 * gio/ginputstream.h:
2490 * gio/gmemoryinputstream.h:
2491 * gio/gmemoryoutputstream.h:
2492 * gio/gmountoperation.c:
2493 * gio/gmountoperation.h:
2494 * gio/gnativevolumemonitor.c:
2495 * gio/goutputstream.h:
2498 * gio/gsimpleasyncresult.c:
2499 * gio/gsimpleasyncresult.h:
2500 * gio/gsocketinputstream.h:
2501 * gio/gsocketoutputstream.h:
2502 * gio/gthemedicon.c:
2503 * gio/gthemedicon.h:
2507 * gio/gvolumemonitor.c:
2508 * gio/gvolumemonitor.h:
2509 Add padding in classes where it seems useful
2510 Don't include giotypes.h from public headers
2511 Move in Class definitions into c file where possible
2516 2007-11-06 Alexander Larsson <alexl@redhat.com>
2518 * docs/reference/gio/gio-docs.xml:
2519 Better structure for API docs
2521 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2524 * gio/gloadableicon.c:
2525 * gio/gsimpleasyncresult.c:
2526 * gio/gthemedicon.c:
2527 Add some more guards to public functions. Only files missing are now
2530 2007-11-06 Alexander Larsson <alexl@redhat.com>
2532 * docs/reference/gio/gio-docs.xml:
2533 Remove old files, add missing ones
2535 2007-11-06 Alexander Larsson <alexl@redhat.com>
2537 * docs/reference/gio/gio-sections.txt:
2540 Hide implementation classes
2542 * gio/gdriveprivate.h:
2543 * gio/gvolumeprivate.h:
2544 Remove non-existing function declarations
2546 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2549 Fix compilation warnings and add guards to the new functions.
2551 * gio/gasyncresult.c:
2553 Add guards to the public functions.
2556 Implement get_path().
2558 2007-11-06 Alexander Larsson <alexl@redhat.com>
2560 * gio/gfilenamecompleter.c:
2561 Make g_filename_completer_get_completions
2562 return char ** instead of GList for
2565 * docs/reference/gio/gio-docs.xml:
2566 * docs/reference/gio/gio-sections.txt:
2568 * gio/gasyncresult.c:
2569 * gio/gbufferedinputstream.c:
2570 * gio/gbufferedoutputstream.c:
2571 * gio/gcancellable.c:
2572 * gio/gcontenttype.c:
2573 * gio/gdatainputstream.c:
2574 * gio/gdataoutputstream.c:
2575 * gio/gdesktopappinfo.c:
2576 * gio/gdirectorymonitor.c:
2580 * gio/gfileattribute.c:
2581 * gio/gfileenumerator.c:
2584 * gio/gfileinputstream.c:
2585 * gio/gfilemonitor.c:
2586 * gio/gfilenamecompleter.c:
2587 * gio/gfilenamecompleter.h:
2588 * gio/gfileoutputstream.c:
2589 * gio/gfilterinputstream.c:
2591 * gio/ginputstream.c:
2593 * gio/gioscheduler.c:
2594 * gio/gloadableicon.c:
2595 * gio/glocaldirectorymonitor.c:
2597 * gio/glocalfileinputstream.c:
2598 * gio/glocalfilemonitor.c:
2599 * gio/glocalfileoutputstream.c:
2601 * gio/gmemoryinputstream.c:
2602 * gio/gmemoryoutputstream.c:
2603 * gio/gmountoperation.c:
2604 * gio/goutputstream.c:
2605 * gio/gpollfilemonitor.c:
2607 * gio/gsimpleasyncresult.c:
2608 * gio/gsocketinputstream.c:
2609 * gio/gsocketoutputstream.c:
2610 * gio/gthemedicon.c:
2611 * gio/gunionvolumemonitor.c:
2613 * gio/gunixmounts.c:
2614 * gio/gunixvolume.c:
2615 * gio/gunixvolumemonitor.c:
2619 * gio/gvolumemonitor.c:
2620 * gio/gwin32appinfo.c:
2621 Add (mostly stub) doc strings to public functions.
2622 Patch from Andrew Walton (awalton@gmail.com)
2624 2007-11-06 Alexander Larsson <alexl@redhat.com>
2626 * gio/gappinfo.[ch]:
2627 Added GAppLaunchContext object and pass that to launch.
2628 This allows simple implementation of both
2629 launch-on-screen and startup notification via a gtk+
2630 subclass of GAppLaunchContext
2632 * gio/gdesktopappinfo.c:
2633 Implement GAppLaunchContext API
2635 * gio/gwin32appinfo.c:
2638 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2640 * gio/gmountoperation.c:
2641 Add some guards to GMountOperation's public functions.
2643 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2647 * gio/gcancellable.c:
2648 * gio/gdirectorymonitor.c:
2650 * gio/gfileenumerator.c:
2651 * gio/gfilemonitor.c:,
2652 * gio/gfilenamecompleter.c:
2655 * gio/gioscheduler.c:
2659 * gio/gvolumemonitor.c:
2660 Add even more guards to various public functions.
2662 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2665 Add guards to the public functions of GAppInfo.
2667 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2669 * gio/gcontenttype.c:
2670 Add some more guards for public functions.
2672 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2674 * gio/fam/fam-module.c:
2675 * gio/fam/gfamdirectorymonitor.c:
2676 * gio/fam/gfamdirectorymonitor.h:
2677 * gio/fam/gfamfilemonitor.c:
2678 * gio/fam/gfamfilemonitor.h:
2679 * gio/inotify/ginotifydirectorymonitor.c:
2680 * gio/inotify/ginotifydirectorymonitor.h:
2681 * gio/inotify/ginotifyfilemonitor.c:
2682 * gio/inotify/ginotifyfilemonitor.h:
2683 Add proper copyright information and remove an unused variable
2684 in the GInotifyFileMonitor constructor.
2686 * gio/gcancellable.c:
2687 Add a guard for a public function and an assertion to prevent
2688 an undefined program state.
2690 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2692 * gio/gfileattribute.c:
2693 Don't run into an assertion if the given attribute value is NULL
2694 in g_file_attribute_value_get_*() but instead return a fallback
2695 value that makes sense in most situations. Passing them a attribute
2696 value with the wrong type will still run into an assertion.
2698 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2700 * gio/gfileattribute.c:
2702 Add even more guards to the public functions. Also fix the refcounting
2703 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2704 let g_file_info_list_attributes() filter the attributes by namespace
2705 instead of simply ignoring the namespace parameter.
2707 2007-11-03 Sven Herzberg <sven@imendio.com>
2709 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2710 (This makes gio work on MacOS X again)
2712 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2715 Build the gio subdirectory before the docs. Otherwise the build will
2718 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2719 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2720 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2721 Add guards to the public functions.
2723 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2725 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2726 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2727 to prevent a compiler warning.
2729 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2730 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2731 return something in the non-void function find_topdir_for().
2733 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2740 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2742 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2743 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2744 * gwin32appinfo.c (g_win32_app_info_launch):
2745 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2746 envp_for_startup_id, g_desktop_app_info_launch,
2747 g_desktop_app_info_launch_uris):
2749 Give an opaque 'startup_id' string instead of 'envp'.
2750 Support empty file lists for launching new windows.
2751 Fix infinite recursion bug when launching URIs.
2753 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2756 Add guard to the new g_file_get_uri_scheme() function.
2758 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2761 Convert a g_return_val_if_fail() to setting the GError instead as
2762 otherwise applications have to verify the parameter before otherwise
2763 and the parameter might come directly from the user.
2765 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2767 * gio/inotify/ginotify*.[ch]:
2768 Add missing copyright information.
2770 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2773 Add guards in the beginning of public functions to check for valid
2774 parameters and fix a bug in copy_stream_with_progress() that could've
2775 caused writing less bytes than reading.
2776 * gio/glocalfileinfo.c:
2777 Check for a NULL parameter and set the GError accordingly then.
2778 * gio/goutputstream.c:
2779 Fix the same bug as in gfile.c that could've caused writing less bytes
2780 than reading in g_output_stream_real_splice().
2782 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2785 Use the correct gvolumeprivate.h naming
2787 2007-11-01 Christian Kellner <gicmo@gnome.org>
2790 Remove leftover "$(daemon_sources)" entry.
2792 2007-11-01 Christian Kellner <gicmo@gnome.org>
2797 Add copyright information to source files.
2799 2007-11-01 Alexander Larsson <alexl@redhat.com>
2803 Add g_file_get_uri_scheme
2805 2007-11-01 Alexander Larsson <alexl@redhat.com>
2808 * gio/gdesktopappinfo.c:
2809 * gio/gwin32appinfo.c:
2810 Add g_app_info_get_default_for_uri_scheme.
2812 2007-11-01 Alexander Larsson <alexl@redhat.com>
2815 Correct filename for gdriveprivate.h
2817 2007-10-31 Alexander Larsson <alexl@redhat.com>
2820 Rename id:value to id:file
2823 * gio/glocalfileinfo.c:
2826 2007-10-31 Alexander Larsson <alexl@redhat.com>
2828 * gio/gunixvolume.c:
2830 Remove g_volume_get_platform_id, as thats not
2831 needed with the simpler union volume monitor
2833 2007-10-31 Alexander Larsson <alexl@redhat.com>
2836 * gio/guniondrive.[ch]: Removed.
2837 * gio/gunionvolume.[ch]: Removed.
2838 Remove GUnionDrive/Volume
2840 * gio/gunionvolumemonitor.c:
2841 Simplify union volume monitor, now we
2842 only have one native volume monitor and
2843 we use the actual volumes/drives from the
2844 child monitors instead of wrapping them
2846 * gio/gnativevolumemonitor.[ch]:
2847 Base class for native volume monitors.
2848 Includes priority and get_volume_for_mountpoint
2851 Add g_file_find_enclosing_volume
2854 Remove volume name fs attribute
2855 Add readonly fs attribute
2858 Implement readonly attribute
2859 remove volume name attribute
2860 Implement find_enclosing volume
2862 * gio/gunixmounts.c:
2863 Add a volume for "/".
2865 * gio/gunixvolume.[ch]:
2866 Set better name for /
2868 * gio/gunixvolumemonitor.[ch]:
2869 Derive from GNativeVolumeMonitor
2870 Implement get_volume_for_mountpoint
2873 GVolume typedef moved to gfile.h
2875 * gio/gvolumeprivate.h:
2876 Add g_volume_get_for_mount_path
2878 2007-10-31 Alexander Larsson <alexl@redhat.com>
2880 * gio/gunixmounts.[ch]:
2881 Add cache info to unix mount listers
2882 Make getmntent use threadsafe
2883 Add is_system_internal attribute for GUnixMount
2885 * gio/gunixvolume.c:
2886 (g_unix_volume_new):
2887 Use is_system_internal instead of own code
2889 * gio/glocaldirectorymonitor.c:
2890 * gio/gunixvolumemonitor.c:
2891 Update to new gunixmounts API
2896 2007-10-30 Alexander Larsson <alexl@redhat.com>
2899 Add volume name fsinfo attribute
2902 Read volume name info
2904 * gio/gunionvolumemonitor.c:
2905 Fix infinite loops when finalizing a union volume monitor
2907 2007-10-30 Alexander Larsson <alexl@redhat.com>
2909 * gio/goutputstream.[ch]:
2910 Add splice() with default implementation
2912 * gio/gsocketoutputstream.c:
2913 (g_socket_output_stream_write):
2914 Return error on cancellation correctly.
2916 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2918 * gio/glocalfile.c (g_local_file_trash):
2919 Do not leak a string.
2921 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2923 * gio/gfile.c (g_file_load_contents):
2924 Unref the stream after closing it.
2926 2007-10-25 Alexander Larsson <alexl@redhat.com>
2928 * gio/gioscheduler.h:
2931 2007-10-25 Alexander Larsson <alexl@redhat.com>
2935 Add g_file_has_uri_scheme and implement for local files
2937 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2939 * gio/gdesktopappinfo.c: do not leak a string.
2941 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2943 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2944 (g_local_directory_monitor_new):
2945 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2946 (g_local_file_monitor_new):
2947 Only look for the monitor type that should be used the first time
2948 and use g_qsort_with_data() instead of our own bubble sort
2951 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2954 * gio/fam/Makefile.am:
2955 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2956 * gio/fam/fam-helper.h:
2957 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2958 * gio/fam/gfamdirectorymonitor.c:
2959 * gio/fam/gfamdirectorymonitor.h:
2960 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2961 * gio/fam/gfamfilemonitor.h:
2962 * gio/glocaldirectorymonitor.c:
2963 * gio/glocaldirectorymonitor.h:
2964 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2965 * gio/glocalfilemonitor.h:
2966 * gio/inotify/Makefile.am:
2967 * gio/inotify/ginotifydirectorymonitor.c:
2968 * gio/inotify/ginotifydirectorymonitor.h:
2969 * gio/inotify/ginotifyfilemonitor.c:
2970 * gio/inotify/ginotifyfilemonitor.h:
2971 Implement the FAM and Inotify monitors as
2972 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2973 their own GIO module. GLocal(Directory|File)Monitor will use the
2974 monitor with the highest rank that is supported on that machine.
2976 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2979 Change GIO module dir to $(libdir)/gio/modules and change
2980 the log domain from GVFS to GIO. Also only export symbols starting
2981 with g_ in the resulting library.
2982 * gio/test-streams.c: (main):
2983 Set log handler for the GIO log domain.
2985 2007-10-22 Alexander Larsson <alexl@redhat.com>
2987 * gio/gfilenamecompleter.[ch]:
2988 Add g_filename_completer_set_dirs_only
2990 2007-10-22 Alexander Larsson <alexl@redhat.com>
2993 * gio/gurifuncs.[ch]:
2994 Add some simple URI helpers
2996 * gio/gfilenamecompleter.[ch]:
2997 Added object for filename (parse name actually) completion
3000 Handle ~ in parse names
3002 2007-10-17 Alexander Larsson <alexl@redhat.com>
3005 * gio/glocalfileinfo.c:
3006 Add and implement id:value attribute
3008 2007-10-17 Alexander Larsson <alexl@redhat.com>
3011 * gio/guniondrive.c:
3013 Add and implement g_drive_has_volumes
3015 2007-10-17 Alexander Larsson <alexl@redhat.com>
3018 * gio/glocalfileinfo.[ch]:
3019 Add unix:is_mountpoint and implement for local files
3021 2007-10-16 Alexander Larsson <alexl@redhat.com>
3023 * gio/gunionvolumemonitor.c:
3024 (g_union_volume_monitor_init):
3025 Fix up the unix type getting so that it works with gcc
3027 2007-10-12 Alexander Larsson <alexl@redhat.com>
3030 * gio/glocalfileinfo.c:
3031 Add thumbnail:failed to file info
3033 2007-10-12 Richard Hult <richard@imendio.com>
3035 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3036 optimizing away the get_type call (happens with some gcc versions,
3037 like the one shipped with OS X 10.4).
3039 2007-10-12 Alexander Larsson <alexl@redhat.com>
3041 * gio/glocalfileinfo.c:
3042 (_g_local_file_info_set_attribute):
3043 Fix build if not HAVE_XATTR
3044 Patch from Milosz Derezynski <internalerror@gmail.com>
3046 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3048 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3049 around for review, otherwise I would have asked you before
3052 2007-10-11 Alexander Larsson <alexl@redhat.com>
3055 Add thumbnail:path attribute
3057 * gio/glocalfileinfo.c:
3058 Implement thumbnail:path for local files
3060 2007-10-11 Alexander Larsson <alexl@redhat.com>
3062 * gio/glocalfileinfo.c:
3063 (_g_local_file_info_get):
3064 Avoid duplicate icon names
3066 2007-10-11 Alexander Larsson <alexl@redhat.com>
3068 * gio/gthemedicon.[ch]:
3069 Change g_themed_icon_get_names return type to const
3071 2007-10-10 Alexander Larsson <alexl@redhat.com>
3073 * gio/glocalfileinfo.c:
3074 Don't reference freed memory
3076 2007-10-10 Alexander Larsson <alexl@redhat.com>
3078 * gio/gfileattribute.c:
3081 * gio/glocalfileinfo.c:
3084 2007-10-10 Alexander Larsson <alexl@redhat.com>
3087 Check for NULL icons
3089 * gio/gfileattribute.c:
3090 Don't dup when getting objects (same as for string attributes)
3092 * gio/gicon.c (g_icon_equal):
3093 Safely handle NULLs in equal
3095 2007-10-10 Alexander Larsson <alexl@redhat.com>
3098 Fix c++ compilation issues
3099 Patch from Milosz Derezynski <internalerror@gmail.com>
3101 2007-10-10 Alexander Larsson <alexl@redhat.com>
3103 * programs/gio-monitor-dir.c:
3104 Don't crash if dir monitor not supported.
3106 2007-10-09 Alexander Larsson <alexl@redhat.com>
3109 Add missing G_END_DECLS
3111 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3113 * gio/gfile.c: (g_file_set_display_name),
3114 (g_file_query_settable_attributes),
3115 (g_file_query_writable_namespaces):
3116 Return NULL not FALSE on errors as the return type is a pointer.
3118 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3120 * gio/glocalfile.c: (g_local_file_monitor_file):
3121 Don't call monitor_file on the default interface vtable (which
3122 is NULL) but simply return NULL. The caller, GFile, will create a
3123 polling monitor if NULL is returned.
3125 2007-10-09 Alexander Larsson <alexl@redhat.com>
3129 * gio-unix-2.0.pc.in:
3130 Add gio-unix-2.0.pc if OS_UNIX
3133 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3135 2007-10-09 Alexander Larsson <alexl@redhat.com>
3137 * gio/gunixmounts.[ch]:
3138 Make unix mount monitoring API sane.
3139 Now its just a object with mounts_changed
3140 and mountpoints_changed signals.
3142 * gio/glocaldirectorymonitor.c:
3143 * gio/gunixvolumemonitor.c:
3144 Use new mount monitor api
3146 2007-10-09 Alexander Larsson <alexl@redhat.com>
3148 * gio/gunixmounts.[ch]:
3149 Move guess type into one call for mounts and one for mountpoints
3152 * gio/gunixvolume.c:
3155 2007-10-09 Alexander Larsson <alexl@redhat.com>
3157 * gio/gunixmounts.[ch]:
3158 Remove _ prefix in preparation to make this semi-public
3159 Hide implementation of structs
3161 * gio/glocaldirectorymonitor.c:
3163 * gio/gunixvolume.c:
3164 * gio/gunixvolumemonitor.c:
3165 Update for above API changes
3167 2007-10-08 Alexander Larsson <alexl@redhat.com>
3170 Better polling fallback. This also handles the case where we have
3171 a monitor_file implementation, but it fails.
3173 2007-10-08 Alexander Larsson <alexl@redhat.com>
3177 * gio/gunixmounts.c:
3178 * programs/gio-monitor-dir.c:
3179 * programs/gio-monitor-file.c:
3180 Added cancellable to file monitoring calls.
3181 These are really sync calls and need this.
3183 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3185 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3186 (g_local_vfs_class_init):
3187 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3188 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3190 2007-10-05 Alexander Larsson <alexl@redhat.com>
3192 * gio/gdirectorymonitorprivate.h:
3193 * gio/gfilemonitorprivate.h:
3194 * gio/gdirectorymonitor.h:
3195 * gio/gfilemonitor.h:
3196 Remove *private.h and move to the public API, so that
3197 we can do implementations outside gio (such as in gvfs)
3199 * gio/gdirectorymonitor.c:
3200 * gio/gfilemonitor.c:
3201 * gio/glocaldirectorymonitor.c:
3202 * gio/gpollfilemonitor.c:
3203 * gio/inotify/inotify-helper.c:
3204 * gio/fam/fam-helper.c:
3205 Update to the new header names
3207 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3209 * gio/gdirectorymonitor.c:
3210 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3213 2007-10-04 Alexander Larsson <alexl@redhat.com>
3215 * gio/glocalfileinfo.c (get_access_rights):
3216 Set CAN_TRASH when we can move the file.
3217 We should really also check for a parent trash dir.
3219 2007-10-04 Alexander Larsson <alexl@redhat.com>
3221 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3222 Add can_trash access attribute
3224 2007-10-04 Alexander Larsson <alexl@redhat.com>
3227 (g_local_file_trash):
3228 Create info file first. This is per-spec and allows
3229 us to actually trash directories.
3231 2007-10-02 Alexander Larsson <alexl@redhat.com>
3233 * gio/gdesktopappinfo.c:
3234 Implement the new mime support code.
3235 Always set app as handling mimetype when being set as default for it
3237 2007-10-01 Alexander Larsson <alexl@redhat.com>
3239 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3240 Fix up check for xattrs:
3242 2007-10-01 Alexander Larsson <alexl@redhat.com>
3245 (g_app_info_set_as_default_for_extension):
3246 (g_app_info_add_supports_type):
3247 (g_app_info_can_remove_supports_type):
3248 (g_app_info_remove_supports_type):
3249 Make these fail nicely if not implemented
3251 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3253 * gio/glocalfileoutputstream.c:
3254 * gio/glocalfileoutputstream.h:
3259 * programs/gio-save.c:
3260 Add a GFileCreateFlags argument to operations that can create
3263 2007-10-01 Alexander Larsson <alexl@redhat.com>
3265 * gio/gappinfo.[ch]:
3266 * gio/gdesktopappinfo.c:
3267 Add more (stubbed out) mime API needed for nautilus
3269 2007-10-01 Alexander Larsson <alexl@redhat.com>
3272 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3273 Add g_app_info_set_as_default_for_extension.
3275 * gio/gdesktopappinfo.c:
3276 Dummy for g_app_info_set_as_default_for_extension
3277 Support flags in g_app_info_create_from_commandline
3279 * gio/gwin32appinfo.c:
3281 Update for API changes
3283 * gio/gthemedicon.c:
3284 Properly NULL-terminate list of icon names
3286 2007-09-28 Alexander Larsson <alexl@redhat.com>
3288 * gio/gloadableicon.h:
3289 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3291 2007-09-28 Alexander Larsson <alexl@redhat.com>
3294 Install headers in $includedir/gio-standalone/
3296 * gio-2.0.pc.in: Added.
3297 * gio-standalone.pc.in: Removed.
3300 Renamed pkg-config file to match glib (for future move)
3301 Update to the new include dir
3304 Add more TODO comments
3306 2007-09-28 Alexander Larsson <alexl@redhat.com>
3308 * gio/gdesktopappinfo.[ch]:
3309 Expose new_from_filename
3310 Add getter for is_hidden and handle it better
3312 2007-09-28 Alexander Larsson <alexl@redhat.com>
3314 * gio/gfileinfo.[ch]:
3315 Rename g_file_size_format_for_display to
3316 g_format_file_size_for_display.
3317 Now it doesn't have the g_file prefix, so we
3318 can later move it to glib.
3320 2007-09-28 Alexander Larsson <alexl@redhat.com>
3322 * gio/gappinfo.[ch]:
3323 Add g_app_info_get_id and g_app_info_get_executable.
3324 Make all getters non-reffing
3325 Make g_app_info_launch take GFile arguments.
3326 Add must_support_uris argument to g_app_info_get_default_for_type.
3328 * gio/gwin32appinfo.c:
3329 Update to GAppInfo api changes
3331 * gio/gdesktopappinfo.c:
3332 Update to GAppInfo api changes
3333 Implement supports_xdg_startup_notify
3335 * gio/gfileicon.c (g_file_icon_get_file):
3336 Make getter non-reffing.
3341 2007-09-27 Alexander Larsson <alexl@redhat.com>
3343 * gio/gfileinfo.[ch]:
3344 Add g_file_size_format_for_display helper
3346 2007-09-27 Alexander Larsson <alexl@redhat.com>
3348 * gio/glocalfileinfo.c:
3349 Set UNIX_GID from gid, not from uid
3351 2007-09-27 Alexander Larsson <alexl@redhat.com>
3354 Add g_file_set_attributes_async
3356 2007-09-27 Alexander Larsson <alexl@redhat.com>
3358 * gio/glocalfile.c (g_local_file_set_display_name):
3359 Fix set_display_name to actually rename to the right place.
3360 Use lstat to look for existing files so we don't overwrite
3363 2007-09-26 Alexander Larsson <alexl@redhat.com>
3366 Add g_file_set_display_name_async()
3368 2007-09-26 Alexander Larsson <alexl@redhat.com>
3371 Add load_partial_contents async calls
3374 Make internal function static
3376 2007-09-26 Alexander Larsson <alexl@redhat.com>
3378 * gio/glocalfileinfo.c:
3379 Correctly detect broken symlinks
3381 2007-09-26 Alexander Larsson <alexl@redhat.com>
3383 * gio/gcancellable.c (g_cancellable_cancel):
3384 Allow cancel on NULL cancellable
3386 2007-09-25 Alexander Larsson <alexl@redhat.com>
3388 * gio/gsimpleasyncresult.c:
3389 Don't allocate g_error manually.
3390 Fixes g_slice/g_new mixup crash
3392 2007-09-25 Alexander Larsson <alexl@redhat.com>
3394 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3395 Actually set active_backend.
3396 This means the monitor will be cancelled correctly.
3398 2007-09-25 Alexander Larsson <alexl@redhat.com>
3400 * gio/gdirectorymonitor.c:
3401 Set timeout to NULL when destroying
3403 2007-09-25 Alexander Larsson <alexl@redhat.com>
3406 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3407 that is a better description of the error.
3409 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3411 * gio/gvfs.c: (g_vfs_get_local):
3412 Make the local vfs variable static. The same instance should
3415 2007-09-24 Alexander Larsson <alexl@redhat.com>
3417 * gio/glocalfileinfo.c:
3418 Pass in actual length read into sniffer, not the length
3421 2007-09-21 Alexander Larsson <alexl@redhat.com>
3423 * gio/gfileenumerator.c:
3426 * gio/gfileinputstream.c:
3427 * gio/gfileoutputstream.c:
3428 * gio/ginputstream.c:
3429 * gio/goutputstream.c:
3430 Don't crash if async callbacks are NULL
3432 2007-09-20 Alexander Larsson <alexl@redhat.com>
3435 Add async enumerate_children method and default
3438 2007-09-20 Alexander Larsson <alexl@redhat.com>
3441 Add g_file_contains_file & g_file_get_relative_path, since they
3442 were needed for nautilus.
3443 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3448 Implement new methods
3450 2007-09-17 Alexander Larsson <alexl@redhat.com>
3453 * gio/gfileinputstream.[ch]:
3454 * gio/gfileoutputstream.[ch]:
3456 * gio/glocalfileenumerator.[ch]:
3457 * gio/glocalfileinfo.[ch]:
3458 * gio/glocalfileinputstream.c:
3459 * gio/glocalfileoutputstream.c:
3460 * gio/gpollfilemonitor.c:
3461 * programs/gio-copy.c:
3462 * programs/gio-info.c:
3463 * programs/gio-move.c:
3464 Rename get_file_info to query_info() to make it clearer
3465 that these are not simple getters, but do i/o.
3467 2007-09-17 Alexander Larsson <alexl@redhat.com>
3469 * gio/gdatainputstream.[ch]:
3470 * gio/test-streams.c:
3471 Use _read_XXX instead of _get_XXX for the i/o calls
3474 2007-09-17 Alexander Larsson <alexl@redhat.com>
3477 Added needed stuff to TODO comment
3479 2007-09-17 Alexander Larsson <alexl@redhat.com>
3481 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3482 Don't error out removing the backup copy if it doesn't
3485 2007-09-14 Alexander Larsson <alexl@redhat.com>
3487 * programs/Makefile.am:
3488 * programs/gvfs-*.c:
3490 Renamed apps from gvfs-xxx to gio-xxx.
3492 2007-09-14 Alexander Larsson <alexl@redhat.com>
3495 * gio/gfileoutputstream.[ch]:
3496 * gio/glocalfileoutputstream.c:
3497 * programs/gvfs-save.c:
3498 g_file_output_stream_get_etag doesn't do i/o, so remove
3499 cancellation and error.
3501 2007-09-14 Alexander Larsson <alexl@redhat.com>
3504 Add new_etag output to replace_contents functions
3506 2007-09-14 Alexander Larsson <alexl@redhat.com>
3508 * gio/gfileoutputstream.[ch]:
3509 Add async get_file_info and default implementation
3511 2007-09-14 Alexander Larsson <alexl@redhat.com>
3513 * gio/gfileinputstream.c:
3514 Implement fallback wrapper for async get_file_info
3516 2007-09-14 Alexander Larsson <alexl@redhat.com>
3519 Add etag out argument to load_contents
3524 2007-09-14 Alexander Larsson <alexl@redhat.com>
3526 * gio/gcontenttype.c (looks_like_text):
3527 Whitespace like tab, cr and lf do not make the
3530 2007-09-14 Alexander Larsson <alexl@redhat.com>
3532 * gio/gfileinputstream.[ch]:
3533 Add async get_file_info.
3535 2007-09-13 Alexander Larsson <alexl@redhat.com>
3537 * gio/goutputstream.c (g_output_stream_write_all):
3538 Allow NULL for bytes_written
3540 2007-09-13 Alexander Larsson <alexl@redhat.com>
3542 * gio/gmemoryinputstream.[ch]:
3543 Add accessors for data
3545 2007-09-13 Alexander Larsson <alexl@redhat.com>
3547 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3548 Don't crash if length is NULL