1 2008-02-20 Benjamin Otte <otte@gnome.org>
3 * gfile.c: (g_file_mount_mountable):
4 return from function in error path.
6 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
9 Remove trailing coma in GMountMountFlags struct
11 2008-02-18 Alexander Larsson <alexl@redhat.com>
15 * glocalfileoutputstream.c:
16 Use g_unlink/g_rename instead of unlink/rename;
17 do not pass raw filenames to g_set_error. (#517239)
18 Patch from Yevgen Muntyan.
20 2008-02-18 Alexander Larsson <alexl@redhat.com>
23 * glocalfileoutputstream.c:
24 Open files with O_BINARY on windows. (#517140)
26 2008-02-14 Alexander Larsson <alexl@redhat.com>
28 * glocalfileoutputstream.c:
29 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
31 2008-02-14 Alexander Larsson <alexl@redhat.com>
34 Copy permissions with file on copy (#514084)
35 This is what cp does and makes sure e.g. the
36 exec permissions are kept.
37 Its kinda weird in that it keeps the permission bits
38 the same while the uid and gid are different. However
39 the new uid is the user so its not a security issue,
40 and I've heard no complaints about cp on this issue.
42 2008-02-13 Ryan Lortie <desrt@desrt.ca>
44 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
46 2008-02-13 Alexander Larsson <alexl@redhat.com>
48 * inotify/inotify-path.c:
49 Define IN_ONLYDIR if not in header (#515346)
51 2008-02-12 Alexander Larsson <alexl@redhat.com>
53 * tests/live-g-file.c:
56 2008-02-11 Matthias Clasen <mclasen@redhat.com>
58 * === Released 2.15.5 ===
60 2008-02-11 Matthias Clasen <mclasen@redhat.com>
62 * gio.symbols: Add g_mount_mount_flags_get_type.
64 2008-02-11 Alexander Larsson <alexl@redhat.com>
67 (g_file_info_set_attribute_mask):
68 (g_file_attribute_matcher_matches_id):
69 Correctly handle NULL GAttributeMatcher meaning
70 matches nothing. (Fixes #513492)
72 2008-02-11 Alexander Larsson <alexl@redhat.com>
77 Added GMountMountFlags enum and added a flags
78 argument to all mount calls.
80 This is an API/ABI change for future extensibility,
81 as I think we will need at least an
82 inhibit-autorun flag (the panel needs this).
83 There are no flags defined yet though.
85 2008-02-11 Alexander Larsson <alexl@redhat.com>
88 Added new standard::description attribute.
89 Requested by Vincent, and useful for both
92 2008-02-11 Alexander Larsson <alexl@redhat.com>
97 2008-02-11 Matthias Clasen <mclasen@redhat.com>
99 * *.c: Documentation additions
101 2008-02-10 Matthias Clasen <mclasen@redhat.com>
103 * gappinfo.h: Formatting cleanup
104 * gappinfo.c: Fix up docs.
106 2008-02-09 Matthias Clasen <mclasen@redhat.com>
108 * gunixmounts.c: Consistently use getmntent_r() and fall
109 back to getmntent(). (#515492)
111 2008-02-09 Matthias Clasen <mclasen@redhat.com>
113 * gbufferedinputstream.c:
115 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
117 * tests/data-input-stream.c:
118 * tests/data-output-stream.c: Portability fixes.
120 2008-02-08 Alexander Larsson <alexl@redhat.com>
125 Add g_volume_should_automount.
128 2008-02-07 Tor Lillqvist <tml@novell.com>
130 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
131 Win32, too Unix-specific.
133 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
135 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
136 a local plt if the compiler doesn't support what we want. Bug #514702
138 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
140 reviewed by: <delete if not using a buddy>
143 * gunixinputstream.c:
144 * gunixoutputstream.c:
146 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
149 * tests/live-g-file.c:
150 * tests/live-g-file.txt:
151 New GIO testing module working over real data
153 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
155 * glocalfileoutputstream.c (g_local_file_output_stream_close):
156 Fallback to rename() if link() is not available
157 (when no support on target filesystem)
159 2008-02-06 Michael Natterer <mitch@imendio.com>
161 * gfileinfo.c (g_file_info_get_icon): replace
162 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
164 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
166 * gfile.c (g_file_create):
167 Documentation update of error codes
169 2008-02-06 Alexander Larsson <alexl@redhat.com>
172 Update to use both mimeapps.list and
173 defaults.list as discussed on xdg list.
175 2008-02-06 Benjamin Otte <otte@gnome.org>
178 * gfilenamecompleter.c:
179 Fix some typos in the documentation.
181 2008-02-06 Alexander Larsson <alexl@redhat.com>
183 * glocalfile.c (g_local_file_trash):
184 Don't succeed with trash if newly created
185 trash dir has the wrong owner. (#514696)
187 2008-02-05 Alexander Larsson <alexl@redhat.com>
189 * glocalfile.c (g_local_file_move):
190 Don't spew warnings when destination is not
193 2008-02-03 Hans Breuer <hans@breuer.org>
195 * makefile.msc : update
197 2008-02-01 Michael Natterer <mitch@imendio.com>
199 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
200 return value of xdg_mime_list_mime_parents() to a variable of the
203 2008-02-01 Alexander Larsson <alexl@redhat.com>
205 * gappinfo.c (g_app_info_launch_uris):
206 Actually call the launch_uris method, not
209 2008-02-01 Alexander Larsson <alexl@redhat.com>
211 * gdesktopappinfo.c (g_desktop_app_info_equal):
212 Ensure appinfos with no id but same pointer value
215 2008-02-01 Alexander Larsson <alexl@redhat.com>
217 * gappinfo.c (g_app_info_launch_default_for_uri):
220 2008-02-01 Alexander Larsson <alexl@redhat.com>
224 Add g_app_info_launch_default_for_uri utility
227 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
230 Doc fix for g_app_info_get_default_for_uri_scheme ()
233 2008-01-30 Alexander Larsson <alexl@redhat.com>
236 Add doc comment about uris vs GFiles to
240 Ensure uris passed to g_app_info_launch_uris()
241 are not roundtriped through GFile (as that
242 may be slightly destructive for e.g. mailto: links)
244 2008-01-30 Alexander Larsson <alexl@redhat.com>
246 * tests/data-input-stream.c:
247 * tests/data-output-stream.c:
248 C89 fixes from Jens Granseuer (#512849)
250 2008-01-30 Alexander Larsson <alexl@redhat.com>
253 Fix gamin/fam difference build issue. (#509419)
255 2008-01-29 Alexander Larsson <alexl@redhat.com>
259 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
261 2008-01-29 Alexander Larsson <alexl@redhat.com>
265 giomodule-priv.h include moved to .c file.
267 2008-01-29 Alexander Larsson <alexl@redhat.com>
269 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
270 Remove unused prio/name fields.
272 2008-01-29 Alexander Larsson <alexl@redhat.com>
274 * gcontenttype.c (looks_like_text):
275 Don't treat whitespace as control chars.
277 2008-01-29 Alexander Larsson <alexl@redhat.com>
280 Lazily create the desktop files for appinfos created
281 by g_app_info_create_from_commandline() when needed
282 for mime associations. This allows run-time use
283 of GAppInfo object without creating unnecessary
286 2008-01-29 Alexander Larsson <alexl@redhat.com>
289 Added new symbols to gio.symbols
291 2008-01-29 Alexander Larsson <alexl@redhat.com>
294 Add g_file_query_default_handler utility to easily look up
295 the GAppInfo that handles a file.
297 * gdesktopappinfo.[ch]:
299 Set up an extension point for g_app_info_get_default_for_uri_scheme()
302 Remove unused function
304 2008-01-29 Alexander Larsson <alexl@redhat.com>
307 Mention need to free returned value in
308 g_file_enumerator_next_files_finish docs.
309 Fix leak if g_file_enumerator_next_files_finish()
312 2008-01-29 Alexander Larsson <alexl@redhat.com>
315 (_g_unix_content_type_get_parents):
316 Use list_parents, not get_parents from xdgmime, because
317 the later doesn't use the cache.
319 * xdgmime/xdgmimecache.c:
320 (_xdg_mime_cache_list_mime_parents):
321 Don't list the same type as parent multiple times.
323 2008-01-28 Matthias Clasen <mclasen@redhat.com>
325 * === Released 2.15.4 ===
327 2008-01-28 Alexander Larsson <alexl@redhat.com>
330 Register local vfs with prio 0.
333 Remove old name and prio class members
335 2008-01-28 Matthias Clasen <mclasen@redhat.com>
337 * tests/g-file.c: Disable some tests that are failing in
338 the absence of a http backend.
340 2008-01-28 Alexander Larsson <alexl@redhat.com>
344 Add registration hooks for extension points.
345 Register the gio extension points.
347 * fam/gfamdirectorymonitor.c:
348 * fam/gfamfilemonitor.c:
349 * glocaldirectorymonitor.[ch]:
350 * glocalfilemonitor.[ch]:
351 * gnativevolumemonitor.h:
352 * gunionvolumemonitor.c:
353 * gunixvolumemonitor.c:
356 * inotify/ginotifydirectorymonitor.c:
357 * inotify/ginotifyfilemonitor.c:
358 Use the extension points registration instead
359 of g_type_children().
361 2008-01-28 Matthias Clasen <mclasen@redhat.com>
364 * gvolume.[hc]: Document new API.
366 * gfile.c (g_file_copy_async): Fix docs
368 2008-01-27 Matthias Clasen <mclasen@redhat.com>
370 * gbufferedinputstream.c:
372 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
375 2008-01-27 Matthias Clasen <mclasen@redhat.com>
377 * glocalfile.c: Avoid trivial differences in translatable strings.
379 2008-01-25 Matthias Clasen <mclasen@redhat.com>
381 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
382 build with gcc 3.4 (#509419)
384 2008-01-25 Matthias Clasen <mclasen@redhat.com>
386 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
387 (#509994, Murray Cumming)
389 2008-01-25 Matthias Clasen <mclasen@redhat.com>
391 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
392 * gioscheduler.c: Keep calling io jobs until they return FALSE;
393 this allows big jobs to be executed in chunks, instead of blocking
394 the main loop for a long time.
396 * gsimpleasyncresult.c:
397 * giofile.c: Adapt callers.
399 2008-01-25 Alexander Larsson <alexl@redhat.com>
402 Implement changes discussed on xdg list.
403 Now we can add supported mimetypes by just using defaults.list
404 We can also remove associations in defaults.list.
406 2008-01-25 Alexander Larsson <alexl@redhat.com>
409 Don't make local copy of desktop file
410 for mimetype changes if the file already
411 supports the new mimetype.
413 2008-01-25 Matthias Clasen <mclasen@redhat.com>
417 * gbufferedinputstream.c:
418 * glocalfile.c: String improvements. (#511966,
419 Theppitak Karoonboonyanan)
421 2008-01-24 Matthias Clasen <mclasen@redhat.com>
423 * gioscheduler.h: Expand docs a bit.
425 2008-01-24 Alexander Larsson <alexl@redhat.com>
428 Add g_drive_get_identifier and
429 g_drive_enumerate_identifiers
432 Add g_volume_get_identifier and
433 g_volume_enumerate_identifiers
439 Implement identifiers for unix backend
441 2008-01-24 Alexander Larsson <alexl@redhat.com>
446 Add g_file_copy_async() (#511580)
447 Based on patch from Carlos Garcia Campos
449 2008-01-23 Matthias Clasen <mclasen@redhat.com>
451 * gioscheduler.c: Some documentation additions.
453 2008-01-22 Alexander Larsson <alexl@redhat.com>
456 (g_desktop_app_info_new):
459 2008-01-22 Alexander Larsson <alexl@redhat.com>
462 (g_desktop_app_info_new_from_filename):
465 2008-01-22 Alexander Larsson <alexl@redhat.com>
467 * glocalfileinfo.c (get_thumbnail_attributes):
470 2008-01-22 Alexander Larsson <alexl@redhat.com>
473 (canonicalize_filename):
474 Canonicalize paths that start with more than
479 (test_g_file_new_for_path):
482 2008-01-22 Alexander Larsson <alexl@redhat.com>
485 Allow UTF-8 in file:// parse names.
488 * tests/data-input-stream.c:
489 * tests/data-output-stream.c:
490 * tests/g-file-info.c:
492 Added a bunch of tests from Tomas Bzatek
494 2008-01-21 Matthias Clasen <mclasen@redhat.com>
496 * === Released 2.15.3 ===
498 2008-01-21 Alexander Larsson <alexl@redhat.com>
500 * gfileinputstream.[ch]:
501 * gfileoutputstream.[ch]:
503 Remove duplicated GSeekable functions. (#509990)
504 Just use the g_seekable_xxx() calls instead.
506 2008-01-21 Matthias Clasen <mclasen@redhat.com>
509 * gvolumemanager.c: Whitespace cleanups.
511 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
512 Use the right mode when creating the file.
514 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
517 * gfileinputstream.c:
519 * goutputstream.c: Documentation: Fixed minor typos
520 and added more mentions of specific _finish() functions.
522 2008-01-21 Alexander Larsson <alexl@redhat.com>
524 * inotify/Makefile.am:
525 * inotify/inotify-helper.c:
526 * inotify/inotify-kernel.c:
527 * inotify/inotify-path.c:
528 * inotify/local_inotify.h: Removed.
529 * inotify/local_inotify_syscalls.h: Removed.
530 Removed the included copies of the inotify
531 headers. We now only use the <sys/inotify.h>
532 header which exists on modern systems.
533 This fixes problems on ARM and SH5 (#510448)
534 but is also generally much cleaner and future
535 safe. For instance, if other OSes add support
536 for inotify it should "just work".
538 2008-01-20 Matthias Clasen <mclasen@redhat.com>
540 * inotify/*.c: Coding style fixes.
541 * inotify/inotify-missing.c: Use g_timeout_add_seconds
542 for the 1/4 Hz timer.
544 2008-01-20 Matthias Clasen <mclasen@redhat.com>
548 * gmemoryinputstream.c:
549 * gmemoryoutputstream.c:
551 * gthemedicon.c: Documentation updates
553 2008-01-20 Murray Cumming <murrayc@murrayc.com>
555 * gfile.c: documentation: Fixed more minor
558 2008-01-18 Murray Cumming <murrayc@murrayc.com>
560 * gmount.c: (g_mount_remount): documentation:
561 Mention g_mount_remount_finish() instead of
562 g_mount_unmount_finish().
564 2008-01-18 Murray Cumming <murrayc@murrayc.com>
568 * gfile.c: Fixed some minor typos in the
571 2008-01-18 Murray Cumming <murrayc@murrayc.com>
573 * gio/gvolumemonitor.c:
574 (g_volume_monitor_get_connected_drives):
575 (g_volume_monitor_get_volumes):
576 (g_volume_monitor_get_mounts): Documentation:
577 Clarify the ownership of the regurn GLists.
579 2008-01-17 Alexander Larsson <alexl@redhat.com>
582 Add the async find_enclosing_mount version
583 to the header file too.
585 2008-01-17 Alexander Larsson <alexl@redhat.com>
588 Add async version of find_enclosing_mount
589 with default implementation.
591 2008-01-17 Alexander Larsson <alexl@redhat.com>
596 Allow calls to implementation of copy and write
597 even if the type of the file implementations is
598 different. This can be used to implement native
599 upload and download calls in a vfs.
603 Protect against the case where move is called
604 with one file not being local.
606 Make sure we call the progress callback once
607 in the native move operation so that the caller
608 knows how many bytes were copied.
610 2008-01-16 Murray Cumming <murrayc@murrayc.com>
613 * gdatainputstream.c:
615 * gfileoutputstream.c:
620 * gunixmounts.c: Corrected some typos in the documentation:
622 its -> it's (where appropriate).
624 2008-01-16 Alexander Larsson <alexl@redhat.com>
628 Add g_file_query_exists (#508771)
630 2008-01-15 Murray Cumming <murrayc@murrayc.com>
635 * gvolume.c: For async functions that have no non-async
636 version, document that the GAsyncReadyCallback may be NULL.
639 2008-01-15 Alexander Larsson <alexl@redhat.com>
641 * gmemoryinputstream.c:
642 * gmemoryoutputstream.c:
643 Don't do pointer arithmetic on void * (#508602)
644 Patch from Kazuki IWAMOTO
646 2008-01-14 Matthias Clasen <mclasen@redhat.com>
648 * === Released 2.15.2 ===
650 2008-01-14 Alexander Larsson <alexl@redhat.com>
652 * gfile.c (g_file_monitor_file):
653 Don't set error here, since we fallback to polling monitor.
655 2008-01-14 Alexander Larsson <alexl@redhat.com>
658 (g_file_monitor_directory):
659 (g_file_monitor_file):
660 Add GError to file monitor calls
662 * glocaldirectorymonitor.c:
663 * glocaldirectorymonitor.h:
665 * glocalfilemonitor.c:
666 * glocalfilemonitor.h:
668 Update for above change
670 2008-01-14 Alexander Larsson <alexl@redhat.com>
674 Handle root correctly in g_file_get_relative_path (#508719)
676 2008-01-14 Alexander Larsson <alexl@redhat.com>
679 Clean up docs and example for GAsyncResult (#508074)
681 2008-01-11 Murray Cumming <murrayc@murrayc.com>
683 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
684 and correct some spelling mistakes. Bug #508108.
686 2008-01-11 Matthias Clasen <mclasen@redhat.com>
688 * glocalfileinfo.c: Add a comment.
690 2008-01-10 Murray Cumming <murrayc@murrayc.com>
692 * gfileinfo.c: GFileInfo description: Mention
693 how to actually set attributes in a GFile and how to discover
694 which attributes are settable. Bug #508378.
696 2008-01-10 A. Walton <awalton@svn.gnome.org>
698 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
699 (g_app_info_get_default_for_type):
700 Check for NULL content types.
702 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
704 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
706 2008-01-09 Murray Cumming <murrayc@murrayc.com>
708 * gfile.c: *_async() functions: Several small corrections
709 to the documentation, mostly correcting copy/paste errors
710 and improving some sentences.
712 2008-01-09 Dan Winship <danw@gnome.org>
714 * glocalfile.c (get_unique_filename): x86_64 fix
716 2008-01-09 Alexander Larsson <alexl@redhat.com>
721 Add g_unix_mount_guess_should_display and use
722 for unix volume monitor backend.
723 This means we more or less show what the
724 gnome-vfs backend did.
725 Based on patch from Padraig O'Briain
727 2008-01-09 Alexander Larsson <alexl@redhat.com>
731 Add g_themed_icon_new_with_default_fallbacks
734 Use default fallbacks for icons
736 2008-01-09 Alexander Larsson <alexl@redhat.com>
739 * gmountoperation.[ch]:
740 Change the API a bit so that unhandled methods
741 get reported via the reply, rather than by
742 the signal emission return value. This is because
743 some handlers can't know this immediately without
744 doing I/O, and this is an async operation that
747 2008-01-09 Alexander Larsson <alexl@redhat.com>
750 * fam/gfamdirectorymonitor.c:
751 * fam/gfamfilemonitor.c:
752 Fix double free crash (#508224)
753 Patch from Joe Marcus Clarke
755 008-01-07 Matthias Clasen <mclasen@redhat.com>
757 * === Released 2.15.1 ===
759 2008-01-07 Alexander Larsson <alexl@redhat.com>
761 * gunixinputstream.c (g_unix_input_stream_skip_finish):
762 Fix warning (#507835)
764 2008-01-07 Alexander Larsson <alexl@redhat.com>
767 Pass --internal to glib-genmarshal
772 Use better types for signal arguments (#507822)
774 2008-01-07 Alexander Larsson <alexl@redhat.com>
777 Build test subdir after .
778 Remove gdirectorymonitor.[ch]
780 * gdirectorymonitor.[ch]:
784 Remove GDirectoryMonitor and make
785 GFileMonitor the baseclass for both file and
786 directory monitors. Lift the more generic
787 rate limiting code from GDirectoryMonitor
791 * fam/gfamdirectorymonitor.[ch]:
792 * inotify/ginotifydirectorymonitor.[ch]:
793 * inotify/inotify-helper.c:
794 * glocaldirectorymonitor.[ch]:
797 Update for the removed GDirectoryMonitor.
799 * gmemoryoutputstream.c:
800 Remove ununsed variable
802 2008-01-07 Alexander Larsson <alexl@redhat.com>
804 * gmemoryinputstream.c:
805 Translate error strings
808 * gmemoryoutputstream.[ch]:
809 New implementation that avoids using GByteArray
810 in implementation and API. (#506377)
812 2008-01-06 Matthias Clasen <mclasen@redhat.com>
814 * tests/*: Add a test for memory input streams.
816 * Makefile.am: Add tests to SUBDIRS.
818 2008-01-06 Matthias Clasen <mclasen@redhat.com>
820 * glocalfilemonitor.c:
821 * glocaldirectorymonitor.c: Mark property nicks and blurbs
824 2008-01-06 Matthias Clasen <mclasen@redhat.com>
826 * gdesktopappinfo.c: Fix a docs typo.
828 * gfileattribute.c: Add information about extended attributes
829 to the documentation. (#505058)
831 2008-01-04 Alexander Larsson <alexl@redhat.com>
835 Use the right type (uint) for the ask_password signal.
837 2008-01-04 Alexander Larsson <alexl@redhat.com>
842 Add g_app_info_supports_files()
843 Remove desktop arg from g_app_info_should_show().
845 * gdesktopappinfo.[ch]:
846 Implement g_app_info_supports_files() and new should_show()
847 Add g_desktop_app_info_set_desktop_env() to set the desktop
848 for should_show(). (This will be set by gtk+ later)
850 2008-01-04 Alexander Larsson <alexl@redhat.com>
853 * gmemoryinputstream.[ch]:
854 Improve API so that you can use multiple chunks
855 of memory and custom destroy functions. (#506374)
857 2008-01-03 Alexander Larsson <alexl@redhat.com>
860 Handle NULL attribute matchers safely, as we return this
861 for empty attribute matcher strings.
863 2008-01-03 Alexander Larsson <alexl@redhat.com>
865 * gunixmounts.c (g_unix_is_mount_path_system_internal):
866 Add /usr/local to list of internal mountpoints
868 2008-01-03 Alexander Larsson <alexl@redhat.com>
871 Check for HAVE_LCHOWN (#505887)
873 2008-01-03 Alexander Larsson <alexl@redhat.com>
877 Add define for selinux context attribute.
878 Fix missing : -> :: namespace separator change
879 Fix missing _ -> - name change for xattr-sys.
882 2008-01-03 Alexander Larsson <alexl@redhat.com>
885 Link to libglib and libgobject directly (#504879)
886 Patch from Sebastien Bacher
888 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
890 * gfile.c: Expanded the g_file_new_for_commandline_arg
891 description a bit, based on the code and the docs of the
892 other g_file_new_for_* functions.
894 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
896 * gfilemonitor.h: Fixed typo in docs.
898 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
900 Updates to GIO documentation. (#506395, Mikael Hermansson)
902 * gcontenttype.c: Describe memory management for return value of
903 g_content_types_get_registered(). Missing piece from #505815.
904 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
905 GVolume, GDrive, GMounts, which hopefully gives the user less
906 confusions when using this API. Following explainations from
907 Alexander Larsson on gtk-devel-list.
909 2007-12-30 Matthias Clasen <mclasen@redhat.com>
911 * gfileinfo.c: Expand the long description.
913 2007-12-30 Matthias Clasen <mclasen@redhat.com>
916 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
917 fix builds with --disable-visibility. (#500273, Christian Persch)
919 2007-12-30 Matthias Clasen <mclasen@redhat.com>
921 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
922 in the list of returned app infos.
924 2007-12-30 Matthias Clasen <mclasen@redhat.com>
926 * gappinfo.c: Fix a cross-reference
928 2007-12-30 Matthias Clasen <mclasen@redhat.com>
930 * gfileinputstream.c:
931 * gfileoutputstream.c:
937 * gfileinfo.c: Documentation updates.
939 2007-12-26 Matthias Clasen <mclasen@redhat.com>
941 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
944 2007-12-26 Matthias Clasen <mclasen@redhat.com>
946 * gcontenttype.c (g_content_types_get_registered): Don't return
947 freed memory (#505815, Mikael Hermansson)
949 2007-12-25 Paolo Borelli <pborelli@katamail.com>
951 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
952 used to detect statbuf->st_blocks. (#505042)
954 2007-12-24 Matthias Clasen <mclasen@redhat.com>
956 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
957 environment handling. (#504829, Cosimo Cecchi)
959 2007-12-22 Matthias Clasen <mclasen@redhat.com>
961 * gappinfo.c: Doc improvements
963 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
966 2007-12-20 Matthias Clasen <mclasen@redhat.com>
968 * === Released 2.15.0 ===
970 2007-12-20 Hans Breuer <hans@breuer.org>
972 * makefile.msc : don't build gdesktopappinfo.obj, it collides
973 with symbols gwin32appinfo.obj, added gmount.obj
974 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
976 2007-12-20 Alexander Larsson <alexl@redhat.com>
982 * gfilenamecompleter.c:
985 * gpollfilemonitor.c:
986 File attribute renames:
989 id::fs -> id::filesystem
991 2007-12-20 Alexander Larsson <alexl@redhat.com>
1000 Add GMountUnmountFlags to all unmount and
1002 Add g_mount_remount() call.
1004 2007-12-20 Alexander Larsson <alexl@redhat.com>
1006 * gvfs.c (get_default_vfs):
1007 Fix unused variable warning
1009 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1011 * pltcheck.sh: Update
1013 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1015 * gunionvolumemonitor.c:
1016 * gunixmount.c: Remove C99 comments
1018 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1020 * gio.symbols: Add some missing symbols
1022 2007-12-19 Alexander Larsson <alexl@redhat.com>
1025 Make g_io_modules_load_all_in_directory not unuse
1026 loaded modules so that users of it can do stuff
1028 Init internal "module" types.
1029 Initialize static prio and name for types so that
1030 we don't have to load modules to get it.
1032 * gnativevolumemonitor.h:
1034 Move is_supported to parent class so that
1035 non-native monitors can avoid being initialized
1036 too. (For instance GDaemonVolumeMonitor if we're
1037 not using GDaemonVfs.)
1039 * glocaldirectorymonitor.[ch]:
1040 * glocalfilemonitor.[ch]:
1041 * gunionvolumemonitor.c:
1042 * gunixvolumemonitor.c:
1044 Find plugins using the static prio+name to
1045 avoid unnecessarily loading the modules.
1047 2007-12-19 Alexander Larsson <alexl@redhat.com>
1052 2007-12-19 Alexander Larsson <alexl@redhat.com>
1054 * gunionvolumemonitor.c:
1055 Store the native type as GType, not class so that
1056 we can unload it. But still avoid unnecessarily
1059 2007-12-19 David Zeuthen <davidz@redhat.com>
1061 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1062 add signals 'disconnected' and 'eject-button' on GDrive. Add
1063 signal 'removed' on GVolume and 'unmounted' on GMount.
1065 * gdrive.c: (g_drive_base_init):
1067 * gfile.c: (g_file_mount_mountable),
1068 (g_file_mount_enclosing_volume):
1071 * gmount.c: (g_mount_base_init):
1073 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1074 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1075 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1079 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1081 * *.c: Fix up includes in the section docs.
1083 2007-12-17 Alexander Larsson <alexl@redhat.com>
1085 * gnativevolumemonitor.h:
1086 * gunionvolumemonitor.c:
1087 * gunixvolumemonitor.c:
1088 Add is_supported() to GNativeVolumeMonitorClass so
1089 that we can avoid having to create an object to see
1090 if the backend is supported at runtime.
1091 Also add name member and an env var to pick a specific
1092 volume monitor backend.
1096 Add cancellable to _g_mount_get_for_mount_path()
1098 * glocaldirectorymonitor.c:
1099 * glocalfilemonitor.c:
1100 Avoid loading and unloading modules while sorting.
1102 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1105 * gunixmounts.[hc]: Namespace waste reduction, move some
1106 g_get_unix_mount functions to the g_unix_mount namespace.
1109 * gunixvolumemonitor.c:
1111 * glocaldirectorymonitor.c: Update all callers.
1113 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1115 2007-12-17 Alexander Larsson <alexl@redhat.com>
1118 Add doc comments about what GFile operations are
1119 guaranteed to not block.
1121 2007-12-17 Alexander Larsson <alexl@redhat.com>
1124 Add missing #ifdef fixing OSX build.
1125 (#503334, patch from Richard Hult)
1127 2007-12-14 David Zeuthen <davidz@redhat.com>
1131 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1132 (g_mount_eject), (g_mount_eject_finish):
1134 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1135 (get_volume_for_uuid), (get_mount_for_uuid),
1136 (g_union_volume_monitor_class_init),
1137 (get_default_native_type_with_exclude), (get_default_native_type),
1138 (get_native_type), (update_native_type),
1139 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1140 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1141 (g_unix_mount_can_eject), (eject_unmount_cb),
1142 (eject_unmount_read_error), (eject_unmount_do),
1143 (g_unix_mount_unmount), (g_unix_mount_eject),
1144 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1145 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1146 (g_unix_mount_point_guess_can_eject):
1148 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1149 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1150 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1151 (g_unix_volume_mount), (g_unix_volume_eject),
1152 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1153 * gunixvolumemonitor.c: (get_volume_for_uuid),
1154 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1156 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1157 (g_volume_eject), (g_volume_eject_finish):
1159 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1160 (g_volume_monitor_get_mount_for_uuid):
1163 Provide eject() on both GMount and GVolume and utility functions
1164 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1165 ejected. Introduce the concept of UUID's and wire it into GVolume
1166 and GMount and provide API on GVolumeMonitor to find such
1167 instances. Also handle the case where an external
1168 GNativeVolumeMonitor fails to initialize. Lock around the
1169 _g_get_mount_for_mount_path() function such that volume monitor
1170 implementations won't have to do locking themselves.
1172 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1174 * gdesktopappinfo.c:
1180 * gvolume.h: Documentation updates
1182 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1185 * gfile.h: Doc updates
1187 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1190 * gdesktopappinfo.c: Use hash table iterators.
1192 2007-12-14 Alexander Larsson <alexl@redhat.com>
1195 * gfileattribute.[ch]:
1196 * gfileattribute-priv.h:
1197 Move GFileAttributeValue to a private header, as
1201 Make set_attribute take a type + a pointer instead
1202 of a GFileAttributeValue.
1205 Fix up for above changes.
1206 Add g_file_info_get_attribute_data to get
1207 all info in one call, g_file_info_get_attribute_status
1208 to get the status and g_file_info_get_attribute_as_string.
1212 * glocalfileinfo.[ch]:
1216 Make _guess_type static.
1218 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1221 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1222 made mkenums and friends use temporary files to avoid leaving
1223 empty generated files on failure (#503470).
1225 2007-12-14 Alexander Larsson <alexl@redhat.com>
1227 * gmountoperation.h:
1230 2007-12-14 Alexander Larsson <alexl@redhat.com>
1234 * gfileattribute.[ch]:
1237 * glocalfileoutputstream.c:
1238 * gmountoperation.[ch]:
1239 * goutputstream.[ch]:
1240 Clean up all flags enums to not have _FLAGS in them
1241 Make the names of some of the enums better.
1246 2007-12-14 Michael Natterer <mitch@imendio.com>
1248 * gio.symbols: fix g_io_scheduler symbol names.
1250 2007-12-14 Alexander Larsson <alexl@redhat.com>
1256 * gbufferedinputstream.h:
1257 * gbufferedoutputstream.h:
1260 * gdatainputstream.h:
1261 * gdataoutputstream.h:
1262 * gdesktopappinfo.h:
1263 * gdirectorymonitor.h:
1267 * gfileenumerator.h:
1270 * gfileinputstream.h:
1272 * gfilenamecompleter.h:
1273 * gfileoutputstream.h:
1274 * gfilterinputstream.h:
1275 * gfilteroutputstream.h:
1283 * gmemoryinputstream.h:
1284 * gmemoryoutputstream.h:
1286 * gmountoperation.h:
1289 * gsimpleasyncresult.h:
1291 * gunixinputstream.h:
1293 * gunixoutputstream.h:
1297 * inotify/Makefile.am:
1298 Only allow including <gio/gio.h> from apps
1300 2007-12-14 Alexander Larsson <alexl@redhat.com>
1302 * gioscheduler.[ch]:
1303 * gsimpleasyncresult.c:
1304 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1305 Split out the send_to_mainloop call into two versions instead
1306 of having the block argument.
1308 2007-12-13 Alexander Larsson <alexl@redhat.com>
1310 * gcancellable.[ch]:
1312 * gbufferedinputstream.c:
1313 * gfileenumerator.c:
1314 * gfileinputstream.c:
1315 * gfileoutputstream.c:
1319 g_push/pop_current_cancellable ->
1320 g_cancellable_push/pop_current
1322 2007-12-13 Alexander Larsson <alexl@redhat.com>
1326 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1328 2007-12-13 Alexander Larsson <alexl@redhat.com>
1330 * gmountoperation.h:
1331 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1333 2007-12-12 Alexander Larsson <alexl@redhat.com>
1336 Fix race condition when freeing proxy in
1337 g_io_job_send_to_mainloop().
1339 2007-12-12 Alexander Larsson <alexl@redhat.com>
1345 Make attribute namespace separator "::" instead of ":".
1346 Use - instead of _ as separator in attribute names.
1348 2007-12-12 Alexander Larsson <alexl@redhat.com>
1350 * gbufferedinputstream.h:
1351 * gbufferedoutputstream.h:
1352 * gdatainputstream.h:
1353 * gdataoutputstream.h:
1354 * gdirectorymonitor.h:
1355 * gfileenumerator.h:
1356 * gfileinputstream.h:
1358 * gfileoutputstream.h:
1359 * gfilterinputstream.h:
1360 * gfilteroutputstream.h:
1362 * glocalfileinputstream.h:
1363 * glocalfileoutputstream.h:
1364 * gmemoryinputstream.h:
1365 * gmemoryoutputstream.h:
1366 * gnativevolumemonitor.h:
1368 * gunixinputstream.h:
1369 * gunixoutputstream.h:
1372 s/parent/parent_instance/ in GObjects
1374 2007-12-12 Alexander Larsson <alexl@redhat.com>
1379 No need for padding for interfaces
1381 2007-12-12 Alexander Larsson <alexl@redhat.com>
1385 * gbufferedinputstream.c:
1386 * gbufferedoutputstream.c:
1389 * gdatainputstream.[ch]:
1390 * gdesktopappinfo.c:
1391 * gdirectorymonitor.c:
1393 * gfileattribute.[ch]:
1396 * gfileinputstream.h:
1397 * gfilemonitor.[ch]:
1398 * gfileoutputstream.[ch]:
1399 * gfilterinputstream.h:
1400 * gfilteroutputstream.h:
1403 * gloadableicon.[ch]:
1404 * gmemoryinputstream.c:
1405 * gmountoperation.c:
1407 Fix up a bunch of details in the docs.
1412 2007-12-11 David Zeuthen <davidz@redhat.com>
1414 Rework how volumes, drives and volume monitoring is
1415 done. Previosly the model was
1417 GDrive <1-1> GVolume
1419 where a GDrive instance represented a mount point and a GVolume
1420 instance represented a mounted file system. This patch changes it
1423 GDrive <1-N> GVolume <1-1> GMount
1425 where GMount now serves the purpose of the old GVolume and the new
1426 GVolume serves the purpose of the old GDrive. In addition the new
1427 GDrive interface is used to represent a collection of GVolume
1428 instances (typically partitions) and also contains utility to query
1429 the state of the physical drive the GDrive object represents (such
1430 as checking for media, polling the drive, ejecting the media etc.).
1432 Also implement mounting and unmounting in the Unix volume monitor
1433 backend. A subquent patch will introduce GDrive support for ejection
1437 * gdrive.c: (g_drive_is_media_check_automatic),
1438 (g_drive_is_media_removable), (g_drive_has_media),
1439 (g_drive_can_poll_for_media), (g_drive_eject),
1440 (g_drive_eject_finish), (g_drive_poll_for_media),
1441 (g_drive_poll_for_media_finish):
1443 * gfile.c: (g_file_find_enclosing_mount):
1446 * glocaldirectorymonitor.c:
1447 (g_local_directory_monitor_constructor), (mounts_changed):
1448 * glocalfile.c: (get_mount_info),
1449 (g_local_file_find_enclosing_mount),
1450 (g_local_file_file_iface_init):
1451 * gnativevolumemonitor.h:
1452 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1453 (get_connected_drives), (g_union_volume_monitor_class_init),
1454 (child_volume_added), (child_volume_removed),
1455 (child_volume_changed), (child_mount_added), (child_mount_removed),
1456 (child_mount_pre_unmount), (child_mount_changed),
1457 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1458 (g_union_volume_monitor_remove_monitor),
1459 (_g_mount_get_for_mount_path):
1460 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1461 (guess_system_internal), (_g_get_unix_mounts),
1462 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1463 (g_unix_mount_free), (g_unix_mount_compare),
1464 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1465 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1466 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1467 (type_to_icon), (g_unix_mount_guess_name),
1468 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1469 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1470 (_resolve_symlink), (_resolve_dev_root):
1472 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1473 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1474 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1475 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1476 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1477 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1478 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1479 (g_unix_volume_volume_iface_init):
1481 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1482 (get_mounts), (get_volumes), (get_connected_drives),
1483 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1484 (mountpoints_changed), (mounts_changed),
1485 (g_unix_volume_monitor_init),
1486 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1487 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1488 * gunixvolumemonitor.h:
1489 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1490 (g_volume_mount), (g_volume_mount_finish):
1492 * gvolumemonitor.c: (g_volume_monitor_class_init),
1493 (g_volume_monitor_get_connected_drives),
1494 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1497 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1499 * gmountoperation.h (GPasswordFlags): Close the gap
1501 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1503 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1505 * gdesktopappinfo.[hc]: Remove _-prefixes
1507 2007-12-10 Tor Lillqvist <tml@novell.com>
1509 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1512 2007-12-10 Alexander Larsson <alexl@redhat.com>
1514 * gfile.c (g_file_set_display_name):
1515 Don't hardcode '/' (#502727)
1517 2007-12-09 Hans Breuer <hans@breuer.org>
1519 * makefile.msc : follow lib naming convention
1520 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1521 for user and group name, tested with ../tests/gio-ls
1523 2007-12-09 A. Walton <awalton@svn.gnome.org>
1525 * gdesktopappinfo.c:
1531 * gfileenumerator.c:
1536 * gmemoryinputstream.c:
1537 * gmemoryoutputstream.c:
1539 * gsimpleasyncresult.c:
1540 More documentation cleanup and filling in missing information, bringing
1541 GIO to 99% symbol coverage.
1543 2007-12-08 Hans Breuer <hans@breuer.org>
1545 [gio compiles and links on win32, not sure how much already works]
1546 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1547 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1548 base on win32 API; prefer g_lstat() over lstat(); instead of
1549 localtime_r() use an all GLib implementation on win32;
1550 get_mount_info() still needs a win32 specifc implementation
1551 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1552 win32_get_file_user_info to get owner/group info without uid/gid
1553 * glocalfileinputstream.c : include <io.h> on win32
1554 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1555 definition, use g_win32_ftruncate() for G_OS_WIN32
1556 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1557 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1558 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1559 * makefile.msc : updated
1561 2007-12-07 Alexander Larsson <alexl@redhat.com>
1563 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1564 Avoid warning spew if error == NULL
1566 2007-12-07 Alexander Larsson <alexl@redhat.com>
1569 Update docs wrt etags
1571 2007-12-06 Alexander Larsson <alexl@redhat.com>
1574 Include sys/types.h for dev_t (#501919)
1576 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1580 Make abicheck and pltcheck pass.
1582 2007-12-05 Alexander Larsson <alexl@redhat.com>
1585 * giomodule-priv.h: Added.
1586 * glocaldirectorymonitor.c:
1587 * glocalfilemonitor.c:
1588 * gunionvolumemonitor.c:
1590 Actually add the declaration of _g_io_modules_ensure_loaded
1592 2007-12-05 Alexander Larsson <alexl@redhat.com>
1594 * gdatainputstream.c:
1599 * glocaldirectorymonitor.c:
1600 * glocalfilemonitor.c:
1601 * gunionvolumemonitor.c:
1603 Make g_io_modules_ensure_loaded a private function and
1604 don't pass in the dirname. This means we can do magic
1605 directory finding in the win32 version.
1606 Export the actual load-modules-in-directory code so that
1607 gvfs can reuse that.
1609 2007-12-05 Alexander Larsson <alexl@redhat.com>
1611 * gbufferedinputstream.c:
1612 * gbufferedoutputstream.c:
1615 * gfileenumerator.[ch]:
1616 * gfileinputstream.c:
1617 * gfileoutputstream.[ch]:
1618 * gfilterinputstream.c:
1619 * gfilteroutputstream.c:
1620 * ginputstream.[ch]:
1622 * glocalfileenumerator.c:
1623 * glocalfileinputstream.c:
1624 * glocalfileoutputstream.c:
1625 * gmemoryinputstream.c:
1626 * gmemoryoutputstream.c:
1627 * goutputstream.[ch]:
1630 * gunixinputstream.c:
1631 * gunixoutputstream.c:
1632 Rename all struct members named:
1633 read, write, close, truncate, or mount
1634 to foo_fn, as these are reserved names
1635 and could be defined as macros in libc.
1638 2007-12-04 Alexander Larsson <alexl@redhat.com>
1641 (g_output_stream_close):
1642 Only call flush if non-null.
1644 2007-11-30 Dan Winship <danw@gnome.org>
1646 * ginputstream.c (g_input_stream_set_pending): Make this take a
1647 GError and return a gboolean, and do the "outstanding operation"
1648 check (and the "stream is already closed" check) itself.
1649 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1651 * goutputstream.c (g_output_stream_set_pending)
1652 (g_output_stream_clear_pending): Likewise
1654 * gbufferedinputstream.c:
1655 * gfileinputstream.c:
1656 * gfileoutputstream.c: Update for that
1658 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1659 Like g_simple_async_report_error_in_idle, but takes a GError
1660 rather than building one.
1662 2007-11-30 Dan Winship <danw@gnome.org>
1664 * goutputstream.c: Don't cheat and unset the "pending" flag around
1665 inner calls. Instead, call the class method directly rather than
1666 the wrapper function that checks "pending"
1668 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1670 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1672 2007-12-03 Hans Breuer <hans@breuer.org>
1674 [start of port to win32/msvc]
1675 * gcancellable.c : HAVE_UNIST_H and _pipe()
1676 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1677 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1678 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1680 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1681 * glocalvfs.c : use HAVE_PWD_H
1682 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1683 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1684 * Makefile.am : added to EXTRA_DIST
1686 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1688 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1691 2007-12-03 Alexander Larsson <alexl@redhat.com>
1694 Handle OSX style xattrs API (#500506)
1696 2007-12-03 Alexander Larsson <alexl@redhat.com>
1700 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1702 2007-12-02 A. Walton <awalton@svn.gnome.org>
1706 Documentation accuracy fixes.
1708 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1710 * gioenumtypes.c.template: Fix typo.
1712 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1714 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1716 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1718 * gdirectorymonitor.c:
1719 * gfilemonitor.c: Add properties
1721 * gbufferedoutputstream.c: Don't mark buffer-size property
1724 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1726 * gbufferedoutputstream.c: Add auto-grow property.
1728 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1730 * *.c: Unify the capitalization of section headings.
1732 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1734 * gmountoperation.c: Add properties
1736 * gdatainputstream.c: Turn byte-order and newline-type into
1739 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1741 * gioenumtypes.[hc].template: Templates for enum registration
1743 * Makefile.am: Generate gioenumtypes.[hc]
1745 * gio.h: Include gioenumtypes.h
1747 * gfile.h: Add some explicit nicks.
1749 * gio.symbols: Add new symbols
1751 * pltcheck.sh: Adjust
1753 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1755 * *.c: Explain etags and link to the explanation
1757 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1759 * *.c: Explain I/O priority.
1761 * *.c: More coding style fixes.
1763 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1765 * gasyncresult.c: Add another paragraph to the intro,
1766 adjust coding style of example.
1768 2007-11-29 A. Walton <awalton@svn.gnome.org>
1771 Fixes unknown meaning in GAppLaunchContext docs.
1773 Clarify asynchronous ops.
1775 Fix entity tag docs.
1778 Provides missing gtk-doc section, fixes API docs slighly.
1779 * gsimpleasyncresult.c:
1780 Fill in missing info in docs.
1781 * gunixinputstream.c:
1782 * gunixoutputstream.c:
1783 Be more expressive in short description.
1785 Remove gtk-doc stubs for non-public API.
1787 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1789 * *.c: Coding style fixups
1791 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1793 * inotify/inotify-helper.c: Don't export the lock from libgio.
1795 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1798 * abicheck.sh: Fix copy-and-paste leftovers
1800 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1802 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1804 2007-11-28 Alexander Larsson <alexl@redhat.com>
1808 Removed unnecessary file
1810 * gdesktopappinfo.[ch]:
1813 * glocaldirectorymonitor.[ch]:
1815 * glocalfileenumerator.[ch]:
1816 * glocalfileinputstream.[ch]:
1817 * glocalfilemonitor.[ch]:
1818 * glocalfileoutputstream.[ch]:
1820 * gnativevolumemonitor.c:
1821 * gpollfilemonitor.[ch]:
1822 * gunionvolumemonitor.[ch]:
1825 * gunixvolumemonitor.[ch]:
1828 * inotify/ginotifydirectorymonitor.[ch]:
1829 * inotify/ginotifyfilemonitor.[ch]:
1830 * inotify/inotify-helper.c:
1831 Append _ to all internal functions
1835 Export symbols needed for modules
1837 2007-11-28 Alexander Larsson <alexl@redhat.com>
1840 * abicheck.sh: Added.
1841 * makegioalias.pl: Added.
1842 * pltcheck.sh: Added.
1843 * gio.symbols: Added.
1846 Initial work on adding symbol handling.
1849 Correct ifdef guard name
1852 * inotify/Makefile.am:
1853 * xdgmime/Makefile.am:
1854 Include toplevel Makefile.decl
1856 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1858 * gcontenttype.c: Move doc comments to the unix section.
1860 * *.[hc]: More trivial doc corrections.
1862 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1864 * gpollfilemonitor.c:
1868 * gdesktopappinfo.c:
1873 * gdatainputstream.c:
1874 * gdatainputstream.h:
1875 * gdataoutputstream.c:
1876 * gdataoutputstream.h:
1877 * gfileinfo.h: Doc cleanups
1879 2007-11-28 Andre Klapper <a9016009@gmx.de>
1881 * gdesktopappinfo.c: Fix a typo.
1883 2007-11-27 Andre Klapper <a9016009@gmx.de>
1885 * glocalfileoutputstream.c: Fix a typo.
1887 2007-11-27 Alexander Larsson <alexl@redhat.com>
1890 Don't include removed headers
1892 2007-11-27 Alexander Larsson <alexl@redhat.com>
1895 * gsocketinputstream.[ch]: Removed.
1896 * gsocketoutputstream.[ch]: Removed.
1897 * gunixinputstream.[ch]: Added.
1898 * gunixoutputstream.[ch]: Added.
1899 Renamed GSocket*Stream to GUnix*Stream and made
1900 it unix-only, since its not really only for sockets
1901 and it only works on unix (but is highly useful there).
1903 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1909 * gbufferedinputstream.c:
1910 * gbufferedinputstream.h:
1911 * gbufferedoutputstream.c:
1912 * gbufferedoutputstream.h:
1916 * gdatainputstream.c:
1917 * gdatainputstream.h:
1918 * gdataoutputstream.c:
1919 * gdataoutputstream.h:
1920 * gdirectorymonitor.c:
1921 * gdirectorymonitor.h:
1928 * gfileenumerator.c:
1929 * gfileenumerator.h:
1934 * gfileinputstream.c:
1935 * gfileinputstream.h:
1938 * gfilenamecompleter.c:
1939 * gfilenamecompleter.h:
1940 * gfileoutputstream.c:
1941 * gfileoutputstream.h:
1942 * gfilterinputstream.c:
1943 * gfilterinputstream.h:
1944 * gfilteroutputstream.c:
1945 * gfilteroutputstream.h:
1958 * glocalfileoutputstream.c:
1959 * gmemoryinputstream.c:
1960 * gmemoryinputstream.h:
1961 * gmemoryoutputstream.c:
1962 * gmemoryoutputstream.h:
1963 * gmountoperation.c:
1964 * gmountoperation.h:
1967 * gpollfilemonitor.c:
1970 * gsimpleasyncresult.c:
1971 * gsimpleasyncresult.h:
1972 * gsocketinputstream.c:
1973 * gsocketinputstream.h:
1974 * gsocketoutputstream.c:
1975 * gsocketoutputstream.h:
1982 * gunixvolumemonitor.c:
1991 Bumps documentation to 93% symbol coverage, touching most
1992 of the public files. Fixes broken function documentation prototypes.
1993 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
1994 gtk-doc headers in private files.
1996 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
1998 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
1999 (g_buffered_input_stream_read_byte):
2000 * gbufferedinputstream.h:
2001 New functions for efficient access to buffer and simple single byte
2004 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2005 (g_data_input_stream_read_until):
2006 * gdatainputstream.h:
2007 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2008 read_until with multiple stop chars.
2010 2007-11-27 Alexander Larsson <alexl@redhat.com>
2014 * inotify/Makefile.am:
2015 Use the user-specified giomoduledir
2017 2007-11-27 Alexander Larsson <alexl@redhat.com>
2021 Add catch-all gio.h header
2022 Don't install gdummyfile.h
2024 2007-11-26 Alexander Larsson <alexl@redhat.com>
2026 * Makefile.am (gioinclude_HEADERS):
2027 Remove trailing whitespace
2029 2007-11-26 Alexander Larsson <alexl@redhat.com>
2031 Merge gio-standalone into glib
2033 2007-11-25 Christian Kellner <gicmo@gnome.org>
2035 * gio/goutputstream.c:
2036 Fix small mistake in the docs.
2038 2007-11-21 Christian Persch <chpe@gnome.org>
2040 * gio/glocalfile.c: (g_local_file_trash):
2041 Convert filenames to UTF-8 for GError.
2042 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2043 as per xdg base dir spec.
2045 2007-11-21 Christian Persch <chpe@gnome.org>
2047 * gio/gdesktopappinfo.c:
2048 Use that g_key_file_to_data cannot fail.
2050 Use stock defines for the key file group and key names.
2053 2007-11-21 Alexander Larsson <alexl@redhat.com>
2056 (copy_stream_with_progress):
2057 Make sure we do a final progress callback with
2058 the full total size.
2060 2007-11-21 Alexander Larsson <alexl@redhat.com>
2063 Export g_file_copy_attributes
2064 Remove padding as its not needed for interfaces
2066 2007-11-20 Alexander Larsson <alexl@redhat.com>
2071 Add G_IO_ERROR_WOULD_MERGE for
2072 copy/move dir on dir with overwrite.
2074 2007-11-20 Alexander Larsson <alexl@redhat.com>
2077 * gio/glocalfileinfo.c:
2078 Add COPY_NAME (this is an optional
2079 non-modified utf8 version of the name) that
2082 2007-11-20 Alexander Larsson <alexl@redhat.com>
2084 * gio/glocalfileenumerator.c:
2085 Report errors as GIOError, not GFileError
2087 2007-11-16 Alexander Larsson <alexl@redhat.com>
2089 * gio/glocalfileoutputstream.c:
2090 * gio/gwin32appinfo.c:
2091 Fix typos in strings.
2092 Patch from Luca Ferretti <elle.uca@libero.it>
2094 2007-11-15 Alexander Larsson <alexl@redhat.com>
2097 Post release version bump
2099 === gio-standalone 0.1.2 ===
2101 2007-11-15 Alexander Larsson <alexl@redhat.com>
2103 * docs/reference/gio/Makefile.am:
2104 Fix up distcheck by removing weird
2110 2007-11-14 Alexander Larsson <alexl@redhat.com>
2112 * gio/gdesktopappinfo.c:
2113 * gio/glocaldirectorymonitor.c:
2115 * gio/glocalfileinfo.c:
2116 * gio/inotify/inotify-sub.c:
2117 * programs/gio-cat.c:
2118 * programs/gio-copy.c:
2119 * programs/gio-info.c:
2120 * programs/gio-ls.c:
2121 * programs/gio-monitor-dir.c:
2122 * programs/gio-monitor-file.c:
2123 * programs/gio-mount.c:
2124 * programs/gio-move.c:
2125 * programs/gio-rm.c:
2126 * programs/gio-save.c:
2127 * programs/gio-trash.c:
2128 Leak fixes from Kjartan Maraas
2130 2007-11-14 Alexander Larsson <alexl@redhat.com>
2132 * gio/fam/fam-helper.c:
2134 * gio/glocalfileinfo.c:
2138 * gio/inotify/inotify-diag.c:
2139 * gio/inotify/inotify-kernel.c:
2140 Various code cleanups from Kjartan Maraas
2142 2007-11-14 Alexander Larsson <alexl@redhat.com>
2144 * gio/gioscheduler.c:
2146 Set up threadpool so that we cache 2 unused
2147 idle threads for at 15 secs. This means we
2148 will reuse thread-local data (like dbus connections)
2151 2007-11-14 Alexander Larsson <alexl@redhat.com>
2153 * gio/fam/fam-helper.c:
2154 * gio/fam/gfamdirectorymonitor.c:
2155 * gio/fam/gfamfilemonitor.c:
2157 * gio/gcontenttype.c:
2158 * gio/gdatainputstream.c:
2159 * gio/gdataoutputstream.c:
2163 * gio/gfileattribute.h:
2164 * gio/gfileenumerator.c:
2166 * gio/ginputstream.c:
2169 * gio/glocalfileinfo.c:
2170 * gio/goutputstream.c:
2171 * gio/gpollfilemonitor.c:
2172 * gio/gsimpleasyncresult.c:
2173 * gio/gunixmounts.c:
2174 * gio/gunixmounts.h:
2175 * gio/inotify/ginotifydirectorymonitor.c:
2176 * gio/inotify/ginotifyfilemonitor.c:
2177 * gio/inotify/inotify-diag.c:
2178 * gio/inotify/inotify-kernel.c:
2179 * gio/inotify/inotify-path.c:
2181 * gio/test-streams.c:
2182 * programs/gio-info.c:
2183 * programs/gio-monitor-dir.c:
2184 * programs/gio-monitor-file.c:
2185 Various code cleanups from Kjartan Maraas
2187 2007-11-13 Alexander Larsson <alexl@redhat.com>
2190 Handle the uri-scheme calls for dummy files
2192 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2194 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2195 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2196 to avoid clash with the C++ keyword.
2198 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2200 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2201 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2203 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2205 * gio/glocaldirectorymonitor.c:
2206 * gio/glocalfilemonitor.c:
2207 * gio/gunionvolumemonitor.c:
2208 Don't use g_once_init_*() for initializations that could fail and
2209 could leave the initialization variable set to 0 but use GOnce.
2210 This prevents a deadlock on the second call when trying to create
2211 a monitor and no monitor type is available. Thanks to Sven Herzberg
2214 2007-11-11 Sven Herzberg <sven@imendio.com>
2216 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2217 #ifdef (make it work on MacOS X again)
2219 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2221 Fixes Changelog for last two commits (sorry guys).
2223 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2225 * gio/gbufferedinputstream.c:
2226 * gio/gdatainputstream.c:
2228 * gio/gfileoutputstream.c:
2229 * gio/gfilterinputstream.c:
2230 * gio/glocalfileinputstream.c:
2233 More consistency fixes in g*stream.c files.
2234 Significant clean of gfile's documentation, filling in of
2235 asynchronous operations documentation.
2237 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2239 * gio/gasyncresult.c:
2240 * gio/gbufferedinputstream.c:
2241 * gio/gbufferedoutputstream.c:
2242 * gio/gcancellable.c:
2243 * gio/gcontenttype.c:
2244 * gio/gdatainputstream.c:
2245 * gio/gdataoutputstream.c:
2246 * gio/gdesktopappinfo.c:
2249 * gio/gfileattribute.c:
2250 * gio/gio/gfileenumerator.c:
2252 * gio/gfileinputstream.c:
2253 * gio/gfilemonitor.c:
2254 * gio/gfileoutputstream.c:
2255 * gio/ginputstream.c:
2257 * gio/gioscheduler.c:
2258 * gio/gloadableicon.c:
2259 * gio/glocalfileoutputstream.c:
2260 * gio/gmemoryoutputstream.c:
2261 * gio/gmountoperation.c:
2262 * gio/goutputstream.c:
2264 * gio/gsimpleasyncresult.c:
2265 * gio/gunionvolumemonitor.c:
2266 * gio/gunixmounts.c:
2267 * gio/gunixvolume.c:
2271 * gio/gvolumemonitor.c:
2272 Updated documentation stubs, working towards consistency and
2275 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2277 * gio/gmemoryoutputstream.c:
2278 * gio/gmemoryoutputstream.h:
2279 Change g_memory_output_stream_set_free_on_close() to
2280 g_memory_output_stream_set_free_data() as this makes more sense and
2281 is more consistent with GMemoryInputStream.
2283 2007-11-07 Alexander Larsson <alexl@redhat.com>
2290 Change how we find the default vfs so that
2291 we can handle a gvfs failing to init
2293 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2295 * gio/gbufferedoutputstream.c:
2296 * gio/gdatainputstream.c:
2297 * gio/gdataoutputstream.c:
2298 * gio/gfileinputstream.c:
2299 * gio/gfileoutputstream.c:
2300 * gio/gfilterinputstream.c:
2301 * gio/gfilteroutputstream.c:
2302 * gio/ginputstream.c:
2303 * gio/gmemoryinputstream.c:
2304 * gio/gmemoryoutputstream.c:
2305 * gio/goutputstream.c:
2306 * gio/gsimpleasyncresult.c:
2307 * gio/gsocketinputstream.c:
2308 * gio/gsocketoutputstream.c:
2309 Add guards to the remaining public functions, add a TODO for
2310 an unimplemented function and remove some useless guards.
2312 2007-11-07 Alexander Larsson <alexl@redhat.com>
2315 Autoconf checks for the various types of
2316 getpwuid_r and getgrgid_r
2318 * gio/glocalfileinfo.c:
2319 Use the autoconf checks from above
2321 2007-11-07 Alexander Larsson <alexl@redhat.com>
2324 (g_local_file_query_filesystem_info):
2325 Some fixes for the statvfs case
2327 2007-11-07 Alexander Larsson <alexl@redhat.com>
2330 (g_local_file_query_filesystem_info):
2331 Pick the "best" of statfs / statvfs for the system
2332 if both are availible.
2334 2007-11-07 Alexander Larsson <alexl@redhat.com>
2336 Solaris fixes from Halton.Huo@Sun.COM:
2343 * gio/glocalfileinfo.c:
2344 Fix for solaris definition of getpwuid_r
2346 * gio/test-streams.c:
2347 Use G_GNUC_PRETTY_FUNCTION
2349 2007-11-07 Alexander Larsson <alexl@redhat.com>
2351 * gio/gdesktopappinfo.c:
2352 (update_default_list):
2353 Remove double semicolon.
2354 Patch from Jens Granseuer
2356 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2358 * docs/reference/gio/gio-sections.txt:
2359 * gio/gbufferedinputstream.c:
2360 * gio/gbufferedinputstream.h:
2361 * gio/gdatainputstream.c:
2362 * gio/gfileenumerator.c:
2363 * gio/gioscheduler.c:
2364 * gio/gunionvolumemonitor.c:
2366 * programs/gio-save.c:
2367 Fix typo: availible -> available. Unfortuntely this breaks API
2368 and ABI as g_buffered_input_stream_get_available() was renamed.
2370 * gio/gunixmounts.c:
2371 * gio/gbufferedinputstream.c:
2372 Add guards for public functions.
2374 2007-11-06 Ross Burton <ross@openedhand.com>
2376 * docs/reference/gio/Makefile.am:
2377 Fix invalid += usage which automake 1.10 doesn't like.
2379 2007-11-06 Alexander Larsson <alexl@redhat.com>
2382 (g_app_launch_context_class_init):
2385 Patch from Ross Burton
2387 2007-11-06 Alexander Larsson <alexl@redhat.com>
2390 Post release version bump
2392 === gio-standalone 0.1.1 ===
2394 2007-11-06 Alexander Larsson <alexl@redhat.com>
2397 Bump version to 0.1.1
2399 * gio/gsimpleasyncresult.c:
2400 (g_simple_async_result_set_from_error):
2401 Remove bogus g_return_if_fail
2403 2007-11-06 Alexander Larsson <alexl@redhat.com>
2406 The name is gio-standalone
2409 Add top src/builddir to includedir
2411 2007-11-06 Alexander Larsson <alexl@redhat.com>
2413 * docs/reference/gio/gio-sections.txt:
2415 * gio/gbufferedinputstream.c:
2416 * gio/gbufferedoutputstream.c:
2417 * gio/gcancellable.c:
2418 * gio/gdatainputstream.h:
2419 * gio/gdataoutputstream.c:
2420 * gio/gdataoutputstream.h:
2421 * gio/gdirectorymonitor.c:
2423 * gio/gfileattribute.c:
2424 * gio/gfileattribute.h:
2425 * gio/gfileenumerator.c:
2426 * gio/gfileenumerator.h:
2429 * gio/gfileinputstream.h:
2430 * gio/gfilemonitor.c:
2431 * gio/gfileoutputstream.h:
2432 * gio/glocalfilemonitor.h:
2433 * gio/glocalfileoutputstream.h:
2434 * gio/gmemoryinputstream.c:
2435 * gio/gmemoryoutputstream.c:
2436 * gio/gmountoperation.c:
2437 * gio/goutputstream.c:
2438 * gio/goutputstream.h:
2440 * gio/gsimpleasyncresult.c:
2441 * gio/gunixmounts.c:
2442 * gio/gunixmounts.h:
2444 * gio/inotify/inotify-helper.c:
2445 Fix gtk-doc warnings
2447 Patch from Ross Burton
2449 2007-11-06 Alexander Larsson <alexl@redhat.com>
2451 * gio/gfilenamecompleter.c:
2452 (g_filename_completer_get_completions):
2455 * gio/gunixvolume.c:
2456 Remove unused function
2458 Patches from Ross Burton
2460 2007-11-06 Alexander Larsson <alexl@redhat.com>
2465 Padding not needed for interfaces
2467 2007-11-06 Alexander Larsson <alexl@redhat.com>
2469 * gio/gfilemonitor.c:
2473 Make giotypes.h an internal file
2476 * gio/gbufferedinputstream.h:
2477 * gio/gbufferedoutputstream.h:
2478 * gio/gcancellable.h:
2479 * gio/gdatainputstream.h:
2480 * gio/gdataoutputstream.h:
2481 * gio/gdirectorymonitor.c:
2482 * gio/gdirectorymonitor.h:
2487 * gio/gfileattribute.h:
2488 * gio/gfileenumerator.h:
2493 * gio/gfilemonitor.c:
2494 * gio/gfilemonitor.h:
2495 * gio/gfilenamecompleter.c:
2496 * gio/gfilenamecompleter.h:
2497 * gio/gfilterinputstream.h:
2498 * gio/gfilteroutputstream.h:
2499 * gio/ginputstream.h:
2500 * gio/gmemoryinputstream.h:
2501 * gio/gmemoryoutputstream.h:
2502 * gio/gmountoperation.c:
2503 * gio/gmountoperation.h:
2504 * gio/gnativevolumemonitor.c:
2505 * gio/goutputstream.h:
2508 * gio/gsimpleasyncresult.c:
2509 * gio/gsimpleasyncresult.h:
2510 * gio/gsocketinputstream.h:
2511 * gio/gsocketoutputstream.h:
2512 * gio/gthemedicon.c:
2513 * gio/gthemedicon.h:
2517 * gio/gvolumemonitor.c:
2518 * gio/gvolumemonitor.h:
2519 Add padding in classes where it seems useful
2520 Don't include giotypes.h from public headers
2521 Move in Class definitions into c file where possible
2526 2007-11-06 Alexander Larsson <alexl@redhat.com>
2528 * docs/reference/gio/gio-docs.xml:
2529 Better structure for API docs
2531 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2534 * gio/gloadableicon.c:
2535 * gio/gsimpleasyncresult.c:
2536 * gio/gthemedicon.c:
2537 Add some more guards to public functions. Only files missing are now
2540 2007-11-06 Alexander Larsson <alexl@redhat.com>
2542 * docs/reference/gio/gio-docs.xml:
2543 Remove old files, add missing ones
2545 2007-11-06 Alexander Larsson <alexl@redhat.com>
2547 * docs/reference/gio/gio-sections.txt:
2550 Hide implementation classes
2552 * gio/gdriveprivate.h:
2553 * gio/gvolumeprivate.h:
2554 Remove non-existing function declarations
2556 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2559 Fix compilation warnings and add guards to the new functions.
2561 * gio/gasyncresult.c:
2563 Add guards to the public functions.
2566 Implement get_path().
2568 2007-11-06 Alexander Larsson <alexl@redhat.com>
2570 * gio/gfilenamecompleter.c:
2571 Make g_filename_completer_get_completions
2572 return char ** instead of GList for
2575 * docs/reference/gio/gio-docs.xml:
2576 * docs/reference/gio/gio-sections.txt:
2578 * gio/gasyncresult.c:
2579 * gio/gbufferedinputstream.c:
2580 * gio/gbufferedoutputstream.c:
2581 * gio/gcancellable.c:
2582 * gio/gcontenttype.c:
2583 * gio/gdatainputstream.c:
2584 * gio/gdataoutputstream.c:
2585 * gio/gdesktopappinfo.c:
2586 * gio/gdirectorymonitor.c:
2590 * gio/gfileattribute.c:
2591 * gio/gfileenumerator.c:
2594 * gio/gfileinputstream.c:
2595 * gio/gfilemonitor.c:
2596 * gio/gfilenamecompleter.c:
2597 * gio/gfilenamecompleter.h:
2598 * gio/gfileoutputstream.c:
2599 * gio/gfilterinputstream.c:
2601 * gio/ginputstream.c:
2603 * gio/gioscheduler.c:
2604 * gio/gloadableicon.c:
2605 * gio/glocaldirectorymonitor.c:
2607 * gio/glocalfileinputstream.c:
2608 * gio/glocalfilemonitor.c:
2609 * gio/glocalfileoutputstream.c:
2611 * gio/gmemoryinputstream.c:
2612 * gio/gmemoryoutputstream.c:
2613 * gio/gmountoperation.c:
2614 * gio/goutputstream.c:
2615 * gio/gpollfilemonitor.c:
2617 * gio/gsimpleasyncresult.c:
2618 * gio/gsocketinputstream.c:
2619 * gio/gsocketoutputstream.c:
2620 * gio/gthemedicon.c:
2621 * gio/gunionvolumemonitor.c:
2623 * gio/gunixmounts.c:
2624 * gio/gunixvolume.c:
2625 * gio/gunixvolumemonitor.c:
2629 * gio/gvolumemonitor.c:
2630 * gio/gwin32appinfo.c:
2631 Add (mostly stub) doc strings to public functions.
2632 Patch from Andrew Walton (awalton@gmail.com)
2634 2007-11-06 Alexander Larsson <alexl@redhat.com>
2636 * gio/gappinfo.[ch]:
2637 Added GAppLaunchContext object and pass that to launch.
2638 This allows simple implementation of both
2639 launch-on-screen and startup notification via a gtk+
2640 subclass of GAppLaunchContext
2642 * gio/gdesktopappinfo.c:
2643 Implement GAppLaunchContext API
2645 * gio/gwin32appinfo.c:
2648 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2650 * gio/gmountoperation.c:
2651 Add some guards to GMountOperation's public functions.
2653 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2657 * gio/gcancellable.c:
2658 * gio/gdirectorymonitor.c:
2660 * gio/gfileenumerator.c:
2661 * gio/gfilemonitor.c:,
2662 * gio/gfilenamecompleter.c:
2665 * gio/gioscheduler.c:
2669 * gio/gvolumemonitor.c:
2670 Add even more guards to various public functions.
2672 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2675 Add guards to the public functions of GAppInfo.
2677 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2679 * gio/gcontenttype.c:
2680 Add some more guards for public functions.
2682 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2684 * gio/fam/fam-module.c:
2685 * gio/fam/gfamdirectorymonitor.c:
2686 * gio/fam/gfamdirectorymonitor.h:
2687 * gio/fam/gfamfilemonitor.c:
2688 * gio/fam/gfamfilemonitor.h:
2689 * gio/inotify/ginotifydirectorymonitor.c:
2690 * gio/inotify/ginotifydirectorymonitor.h:
2691 * gio/inotify/ginotifyfilemonitor.c:
2692 * gio/inotify/ginotifyfilemonitor.h:
2693 Add proper copyright information and remove an unused variable
2694 in the GInotifyFileMonitor constructor.
2696 * gio/gcancellable.c:
2697 Add a guard for a public function and an assertion to prevent
2698 an undefined program state.
2700 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2702 * gio/gfileattribute.c:
2703 Don't run into an assertion if the given attribute value is NULL
2704 in g_file_attribute_value_get_*() but instead return a fallback
2705 value that makes sense in most situations. Passing them a attribute
2706 value with the wrong type will still run into an assertion.
2708 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2710 * gio/gfileattribute.c:
2712 Add even more guards to the public functions. Also fix the refcounting
2713 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2714 let g_file_info_list_attributes() filter the attributes by namespace
2715 instead of simply ignoring the namespace parameter.
2717 2007-11-03 Sven Herzberg <sven@imendio.com>
2719 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2720 (This makes gio work on MacOS X again)
2722 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2725 Build the gio subdirectory before the docs. Otherwise the build will
2728 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2729 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2730 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2731 Add guards to the public functions.
2733 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2735 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2736 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2737 to prevent a compiler warning.
2739 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2740 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2741 return something in the non-void function find_topdir_for().
2743 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2750 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2752 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2753 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2754 * gwin32appinfo.c (g_win32_app_info_launch):
2755 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2756 envp_for_startup_id, g_desktop_app_info_launch,
2757 g_desktop_app_info_launch_uris):
2759 Give an opaque 'startup_id' string instead of 'envp'.
2760 Support empty file lists for launching new windows.
2761 Fix infinite recursion bug when launching URIs.
2763 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2766 Add guard to the new g_file_get_uri_scheme() function.
2768 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2771 Convert a g_return_val_if_fail() to setting the GError instead as
2772 otherwise applications have to verify the parameter before otherwise
2773 and the parameter might come directly from the user.
2775 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2777 * gio/inotify/ginotify*.[ch]:
2778 Add missing copyright information.
2780 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2783 Add guards in the beginning of public functions to check for valid
2784 parameters and fix a bug in copy_stream_with_progress() that could've
2785 caused writing less bytes than reading.
2786 * gio/glocalfileinfo.c:
2787 Check for a NULL parameter and set the GError accordingly then.
2788 * gio/goutputstream.c:
2789 Fix the same bug as in gfile.c that could've caused writing less bytes
2790 than reading in g_output_stream_real_splice().
2792 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2795 Use the correct gvolumeprivate.h naming
2797 2007-11-01 Christian Kellner <gicmo@gnome.org>
2800 Remove leftover "$(daemon_sources)" entry.
2802 2007-11-01 Christian Kellner <gicmo@gnome.org>
2807 Add copyright information to source files.
2809 2007-11-01 Alexander Larsson <alexl@redhat.com>
2813 Add g_file_get_uri_scheme
2815 2007-11-01 Alexander Larsson <alexl@redhat.com>
2818 * gio/gdesktopappinfo.c:
2819 * gio/gwin32appinfo.c:
2820 Add g_app_info_get_default_for_uri_scheme.
2822 2007-11-01 Alexander Larsson <alexl@redhat.com>
2825 Correct filename for gdriveprivate.h
2827 2007-10-31 Alexander Larsson <alexl@redhat.com>
2830 Rename id:value to id:file
2833 * gio/glocalfileinfo.c:
2836 2007-10-31 Alexander Larsson <alexl@redhat.com>
2838 * gio/gunixvolume.c:
2840 Remove g_volume_get_platform_id, as thats not
2841 needed with the simpler union volume monitor
2843 2007-10-31 Alexander Larsson <alexl@redhat.com>
2846 * gio/guniondrive.[ch]: Removed.
2847 * gio/gunionvolume.[ch]: Removed.
2848 Remove GUnionDrive/Volume
2850 * gio/gunionvolumemonitor.c:
2851 Simplify union volume monitor, now we
2852 only have one native volume monitor and
2853 we use the actual volumes/drives from the
2854 child monitors instead of wrapping them
2856 * gio/gnativevolumemonitor.[ch]:
2857 Base class for native volume monitors.
2858 Includes priority and get_volume_for_mountpoint
2861 Add g_file_find_enclosing_volume
2864 Remove volume name fs attribute
2865 Add readonly fs attribute
2868 Implement readonly attribute
2869 remove volume name attribute
2870 Implement find_enclosing volume
2872 * gio/gunixmounts.c:
2873 Add a volume for "/".
2875 * gio/gunixvolume.[ch]:
2876 Set better name for /
2878 * gio/gunixvolumemonitor.[ch]:
2879 Derive from GNativeVolumeMonitor
2880 Implement get_volume_for_mountpoint
2883 GVolume typedef moved to gfile.h
2885 * gio/gvolumeprivate.h:
2886 Add g_volume_get_for_mount_path
2888 2007-10-31 Alexander Larsson <alexl@redhat.com>
2890 * gio/gunixmounts.[ch]:
2891 Add cache info to unix mount listers
2892 Make getmntent use threadsafe
2893 Add is_system_internal attribute for GUnixMount
2895 * gio/gunixvolume.c:
2896 (g_unix_volume_new):
2897 Use is_system_internal instead of own code
2899 * gio/glocaldirectorymonitor.c:
2900 * gio/gunixvolumemonitor.c:
2901 Update to new gunixmounts API
2906 2007-10-30 Alexander Larsson <alexl@redhat.com>
2909 Add volume name fsinfo attribute
2912 Read volume name info
2914 * gio/gunionvolumemonitor.c:
2915 Fix infinite loops when finalizing a union volume monitor
2917 2007-10-30 Alexander Larsson <alexl@redhat.com>
2919 * gio/goutputstream.[ch]:
2920 Add splice() with default implementation
2922 * gio/gsocketoutputstream.c:
2923 (g_socket_output_stream_write):
2924 Return error on cancellation correctly.
2926 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2928 * gio/glocalfile.c (g_local_file_trash):
2929 Do not leak a string.
2931 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2933 * gio/gfile.c (g_file_load_contents):
2934 Unref the stream after closing it.
2936 2007-10-25 Alexander Larsson <alexl@redhat.com>
2938 * gio/gioscheduler.h:
2941 2007-10-25 Alexander Larsson <alexl@redhat.com>
2945 Add g_file_has_uri_scheme and implement for local files
2947 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2949 * gio/gdesktopappinfo.c: do not leak a string.
2951 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2953 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2954 (g_local_directory_monitor_new):
2955 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2956 (g_local_file_monitor_new):
2957 Only look for the monitor type that should be used the first time
2958 and use g_qsort_with_data() instead of our own bubble sort
2961 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2964 * gio/fam/Makefile.am:
2965 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2966 * gio/fam/fam-helper.h:
2967 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2968 * gio/fam/gfamdirectorymonitor.c:
2969 * gio/fam/gfamdirectorymonitor.h:
2970 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2971 * gio/fam/gfamfilemonitor.h:
2972 * gio/glocaldirectorymonitor.c:
2973 * gio/glocaldirectorymonitor.h:
2974 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2975 * gio/glocalfilemonitor.h:
2976 * gio/inotify/Makefile.am:
2977 * gio/inotify/ginotifydirectorymonitor.c:
2978 * gio/inotify/ginotifydirectorymonitor.h:
2979 * gio/inotify/ginotifyfilemonitor.c:
2980 * gio/inotify/ginotifyfilemonitor.h:
2981 Implement the FAM and Inotify monitors as
2982 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2983 their own GIO module. GLocal(Directory|File)Monitor will use the
2984 monitor with the highest rank that is supported on that machine.
2986 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2989 Change GIO module dir to $(libdir)/gio/modules and change
2990 the log domain from GVFS to GIO. Also only export symbols starting
2991 with g_ in the resulting library.
2992 * gio/test-streams.c: (main):
2993 Set log handler for the GIO log domain.
2995 2007-10-22 Alexander Larsson <alexl@redhat.com>
2997 * gio/gfilenamecompleter.[ch]:
2998 Add g_filename_completer_set_dirs_only
3000 2007-10-22 Alexander Larsson <alexl@redhat.com>
3003 * gio/gurifuncs.[ch]:
3004 Add some simple URI helpers
3006 * gio/gfilenamecompleter.[ch]:
3007 Added object for filename (parse name actually) completion
3010 Handle ~ in parse names
3012 2007-10-17 Alexander Larsson <alexl@redhat.com>
3015 * gio/glocalfileinfo.c:
3016 Add and implement id:value attribute
3018 2007-10-17 Alexander Larsson <alexl@redhat.com>
3021 * gio/guniondrive.c:
3023 Add and implement g_drive_has_volumes
3025 2007-10-17 Alexander Larsson <alexl@redhat.com>
3028 * gio/glocalfileinfo.[ch]:
3029 Add unix:is_mountpoint and implement for local files
3031 2007-10-16 Alexander Larsson <alexl@redhat.com>
3033 * gio/gunionvolumemonitor.c:
3034 (g_union_volume_monitor_init):
3035 Fix up the unix type getting so that it works with gcc
3037 2007-10-12 Alexander Larsson <alexl@redhat.com>
3040 * gio/glocalfileinfo.c:
3041 Add thumbnail:failed to file info
3043 2007-10-12 Richard Hult <richard@imendio.com>
3045 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3046 optimizing away the get_type call (happens with some gcc versions,
3047 like the one shipped with OS X 10.4).
3049 2007-10-12 Alexander Larsson <alexl@redhat.com>
3051 * gio/glocalfileinfo.c:
3052 (_g_local_file_info_set_attribute):
3053 Fix build if not HAVE_XATTR
3054 Patch from Milosz Derezynski <internalerror@gmail.com>
3056 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3058 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3059 around for review, otherwise I would have asked you before
3062 2007-10-11 Alexander Larsson <alexl@redhat.com>
3065 Add thumbnail:path attribute
3067 * gio/glocalfileinfo.c:
3068 Implement thumbnail:path for local files
3070 2007-10-11 Alexander Larsson <alexl@redhat.com>
3072 * gio/glocalfileinfo.c:
3073 (_g_local_file_info_get):
3074 Avoid duplicate icon names
3076 2007-10-11 Alexander Larsson <alexl@redhat.com>
3078 * gio/gthemedicon.[ch]:
3079 Change g_themed_icon_get_names return type to const
3081 2007-10-10 Alexander Larsson <alexl@redhat.com>
3083 * gio/glocalfileinfo.c:
3084 Don't reference freed memory
3086 2007-10-10 Alexander Larsson <alexl@redhat.com>
3088 * gio/gfileattribute.c:
3091 * gio/glocalfileinfo.c:
3094 2007-10-10 Alexander Larsson <alexl@redhat.com>
3097 Check for NULL icons
3099 * gio/gfileattribute.c:
3100 Don't dup when getting objects (same as for string attributes)
3102 * gio/gicon.c (g_icon_equal):
3103 Safely handle NULLs in equal
3105 2007-10-10 Alexander Larsson <alexl@redhat.com>
3108 Fix c++ compilation issues
3109 Patch from Milosz Derezynski <internalerror@gmail.com>
3111 2007-10-10 Alexander Larsson <alexl@redhat.com>
3113 * programs/gio-monitor-dir.c:
3114 Don't crash if dir monitor not supported.
3116 2007-10-09 Alexander Larsson <alexl@redhat.com>
3119 Add missing G_END_DECLS
3121 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3123 * gio/gfile.c: (g_file_set_display_name),
3124 (g_file_query_settable_attributes),
3125 (g_file_query_writable_namespaces):
3126 Return NULL not FALSE on errors as the return type is a pointer.
3128 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3130 * gio/glocalfile.c: (g_local_file_monitor_file):
3131 Don't call monitor_file on the default interface vtable (which
3132 is NULL) but simply return NULL. The caller, GFile, will create a
3133 polling monitor if NULL is returned.
3135 2007-10-09 Alexander Larsson <alexl@redhat.com>
3139 * gio-unix-2.0.pc.in:
3140 Add gio-unix-2.0.pc if OS_UNIX
3143 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3145 2007-10-09 Alexander Larsson <alexl@redhat.com>
3147 * gio/gunixmounts.[ch]:
3148 Make unix mount monitoring API sane.
3149 Now its just a object with mounts_changed
3150 and mountpoints_changed signals.
3152 * gio/glocaldirectorymonitor.c:
3153 * gio/gunixvolumemonitor.c:
3154 Use new mount monitor api
3156 2007-10-09 Alexander Larsson <alexl@redhat.com>
3158 * gio/gunixmounts.[ch]:
3159 Move guess type into one call for mounts and one for mountpoints
3162 * gio/gunixvolume.c:
3165 2007-10-09 Alexander Larsson <alexl@redhat.com>
3167 * gio/gunixmounts.[ch]:
3168 Remove _ prefix in preparation to make this semi-public
3169 Hide implementation of structs
3171 * gio/glocaldirectorymonitor.c:
3173 * gio/gunixvolume.c:
3174 * gio/gunixvolumemonitor.c:
3175 Update for above API changes
3177 2007-10-08 Alexander Larsson <alexl@redhat.com>
3180 Better polling fallback. This also handles the case where we have
3181 a monitor_file implementation, but it fails.
3183 2007-10-08 Alexander Larsson <alexl@redhat.com>
3187 * gio/gunixmounts.c:
3188 * programs/gio-monitor-dir.c:
3189 * programs/gio-monitor-file.c:
3190 Added cancellable to file monitoring calls.
3191 These are really sync calls and need this.
3193 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3195 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3196 (g_local_vfs_class_init):
3197 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3198 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3200 2007-10-05 Alexander Larsson <alexl@redhat.com>
3202 * gio/gdirectorymonitorprivate.h:
3203 * gio/gfilemonitorprivate.h:
3204 * gio/gdirectorymonitor.h:
3205 * gio/gfilemonitor.h:
3206 Remove *private.h and move to the public API, so that
3207 we can do implementations outside gio (such as in gvfs)
3209 * gio/gdirectorymonitor.c:
3210 * gio/gfilemonitor.c:
3211 * gio/glocaldirectorymonitor.c:
3212 * gio/gpollfilemonitor.c:
3213 * gio/inotify/inotify-helper.c:
3214 * gio/fam/fam-helper.c:
3215 Update to the new header names
3217 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3219 * gio/gdirectorymonitor.c:
3220 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3223 2007-10-04 Alexander Larsson <alexl@redhat.com>
3225 * gio/glocalfileinfo.c (get_access_rights):
3226 Set CAN_TRASH when we can move the file.
3227 We should really also check for a parent trash dir.
3229 2007-10-04 Alexander Larsson <alexl@redhat.com>
3231 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3232 Add can_trash access attribute
3234 2007-10-04 Alexander Larsson <alexl@redhat.com>
3237 (g_local_file_trash):
3238 Create info file first. This is per-spec and allows
3239 us to actually trash directories.
3241 2007-10-02 Alexander Larsson <alexl@redhat.com>
3243 * gio/gdesktopappinfo.c:
3244 Implement the new mime support code.
3245 Always set app as handling mimetype when being set as default for it
3247 2007-10-01 Alexander Larsson <alexl@redhat.com>
3249 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3250 Fix up check for xattrs:
3252 2007-10-01 Alexander Larsson <alexl@redhat.com>
3255 (g_app_info_set_as_default_for_extension):
3256 (g_app_info_add_supports_type):
3257 (g_app_info_can_remove_supports_type):
3258 (g_app_info_remove_supports_type):
3259 Make these fail nicely if not implemented
3261 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3263 * gio/glocalfileoutputstream.c:
3264 * gio/glocalfileoutputstream.h:
3269 * programs/gio-save.c:
3270 Add a GFileCreateFlags argument to operations that can create
3273 2007-10-01 Alexander Larsson <alexl@redhat.com>
3275 * gio/gappinfo.[ch]:
3276 * gio/gdesktopappinfo.c:
3277 Add more (stubbed out) mime API needed for nautilus
3279 2007-10-01 Alexander Larsson <alexl@redhat.com>
3282 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3283 Add g_app_info_set_as_default_for_extension.
3285 * gio/gdesktopappinfo.c:
3286 Dummy for g_app_info_set_as_default_for_extension
3287 Support flags in g_app_info_create_from_commandline
3289 * gio/gwin32appinfo.c:
3291 Update for API changes
3293 * gio/gthemedicon.c:
3294 Properly NULL-terminate list of icon names
3296 2007-09-28 Alexander Larsson <alexl@redhat.com>
3298 * gio/gloadableicon.h:
3299 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3301 2007-09-28 Alexander Larsson <alexl@redhat.com>
3304 Install headers in $includedir/gio-standalone/
3306 * gio-2.0.pc.in: Added.
3307 * gio-standalone.pc.in: Removed.
3310 Renamed pkg-config file to match glib (for future move)
3311 Update to the new include dir
3314 Add more TODO comments
3316 2007-09-28 Alexander Larsson <alexl@redhat.com>
3318 * gio/gdesktopappinfo.[ch]:
3319 Expose new_from_filename
3320 Add getter for is_hidden and handle it better
3322 2007-09-28 Alexander Larsson <alexl@redhat.com>
3324 * gio/gfileinfo.[ch]:
3325 Rename g_file_size_format_for_display to
3326 g_format_file_size_for_display.
3327 Now it doesn't have the g_file prefix, so we
3328 can later move it to glib.
3330 2007-09-28 Alexander Larsson <alexl@redhat.com>
3332 * gio/gappinfo.[ch]:
3333 Add g_app_info_get_id and g_app_info_get_executable.
3334 Make all getters non-reffing
3335 Make g_app_info_launch take GFile arguments.
3336 Add must_support_uris argument to g_app_info_get_default_for_type.
3338 * gio/gwin32appinfo.c:
3339 Update to GAppInfo api changes
3341 * gio/gdesktopappinfo.c:
3342 Update to GAppInfo api changes
3343 Implement supports_xdg_startup_notify
3345 * gio/gfileicon.c (g_file_icon_get_file):
3346 Make getter non-reffing.
3351 2007-09-27 Alexander Larsson <alexl@redhat.com>
3353 * gio/gfileinfo.[ch]:
3354 Add g_file_size_format_for_display helper
3356 2007-09-27 Alexander Larsson <alexl@redhat.com>
3358 * gio/glocalfileinfo.c:
3359 Set UNIX_GID from gid, not from uid
3361 2007-09-27 Alexander Larsson <alexl@redhat.com>
3364 Add g_file_set_attributes_async
3366 2007-09-27 Alexander Larsson <alexl@redhat.com>
3368 * gio/glocalfile.c (g_local_file_set_display_name):
3369 Fix set_display_name to actually rename to the right place.
3370 Use lstat to look for existing files so we don't overwrite
3373 2007-09-26 Alexander Larsson <alexl@redhat.com>
3376 Add g_file_set_display_name_async()
3378 2007-09-26 Alexander Larsson <alexl@redhat.com>
3381 Add load_partial_contents async calls
3384 Make internal function static
3386 2007-09-26 Alexander Larsson <alexl@redhat.com>
3388 * gio/glocalfileinfo.c:
3389 Correctly detect broken symlinks
3391 2007-09-26 Alexander Larsson <alexl@redhat.com>
3393 * gio/gcancellable.c (g_cancellable_cancel):
3394 Allow cancel on NULL cancellable
3396 2007-09-25 Alexander Larsson <alexl@redhat.com>
3398 * gio/gsimpleasyncresult.c:
3399 Don't allocate g_error manually.
3400 Fixes g_slice/g_new mixup crash
3402 2007-09-25 Alexander Larsson <alexl@redhat.com>
3404 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3405 Actually set active_backend.
3406 This means the monitor will be cancelled correctly.
3408 2007-09-25 Alexander Larsson <alexl@redhat.com>
3410 * gio/gdirectorymonitor.c:
3411 Set timeout to NULL when destroying
3413 2007-09-25 Alexander Larsson <alexl@redhat.com>
3416 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3417 that is a better description of the error.
3419 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3421 * gio/gvfs.c: (g_vfs_get_local):
3422 Make the local vfs variable static. The same instance should
3425 2007-09-24 Alexander Larsson <alexl@redhat.com>
3427 * gio/glocalfileinfo.c:
3428 Pass in actual length read into sniffer, not the length
3431 2007-09-21 Alexander Larsson <alexl@redhat.com>
3433 * gio/gfileenumerator.c:
3436 * gio/gfileinputstream.c:
3437 * gio/gfileoutputstream.c:
3438 * gio/ginputstream.c:
3439 * gio/goutputstream.c:
3440 Don't crash if async callbacks are NULL
3442 2007-09-20 Alexander Larsson <alexl@redhat.com>
3445 Add async enumerate_children method and default
3448 2007-09-20 Alexander Larsson <alexl@redhat.com>
3451 Add g_file_contains_file & g_file_get_relative_path, since they
3452 were needed for nautilus.
3453 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3458 Implement new methods
3460 2007-09-17 Alexander Larsson <alexl@redhat.com>
3463 * gio/gfileinputstream.[ch]:
3464 * gio/gfileoutputstream.[ch]:
3466 * gio/glocalfileenumerator.[ch]:
3467 * gio/glocalfileinfo.[ch]:
3468 * gio/glocalfileinputstream.c:
3469 * gio/glocalfileoutputstream.c:
3470 * gio/gpollfilemonitor.c:
3471 * programs/gio-copy.c:
3472 * programs/gio-info.c:
3473 * programs/gio-move.c:
3474 Rename get_file_info to query_info() to make it clearer
3475 that these are not simple getters, but do i/o.
3477 2007-09-17 Alexander Larsson <alexl@redhat.com>
3479 * gio/gdatainputstream.[ch]:
3480 * gio/test-streams.c:
3481 Use _read_XXX instead of _get_XXX for the i/o calls
3484 2007-09-17 Alexander Larsson <alexl@redhat.com>
3487 Added needed stuff to TODO comment
3489 2007-09-17 Alexander Larsson <alexl@redhat.com>
3491 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3492 Don't error out removing the backup copy if it doesn't
3495 2007-09-14 Alexander Larsson <alexl@redhat.com>
3497 * programs/Makefile.am:
3498 * programs/gvfs-*.c:
3500 Renamed apps from gvfs-xxx to gio-xxx.
3502 2007-09-14 Alexander Larsson <alexl@redhat.com>
3505 * gio/gfileoutputstream.[ch]:
3506 * gio/glocalfileoutputstream.c:
3507 * programs/gvfs-save.c:
3508 g_file_output_stream_get_etag doesn't do i/o, so remove
3509 cancellation and error.
3511 2007-09-14 Alexander Larsson <alexl@redhat.com>
3514 Add new_etag output to replace_contents functions
3516 2007-09-14 Alexander Larsson <alexl@redhat.com>
3518 * gio/gfileoutputstream.[ch]:
3519 Add async get_file_info and default implementation
3521 2007-09-14 Alexander Larsson <alexl@redhat.com>
3523 * gio/gfileinputstream.c:
3524 Implement fallback wrapper for async get_file_info
3526 2007-09-14 Alexander Larsson <alexl@redhat.com>
3529 Add etag out argument to load_contents
3534 2007-09-14 Alexander Larsson <alexl@redhat.com>
3536 * gio/gcontenttype.c (looks_like_text):
3537 Whitespace like tab, cr and lf do not make the
3540 2007-09-14 Alexander Larsson <alexl@redhat.com>
3542 * gio/gfileinputstream.[ch]:
3543 Add async get_file_info.
3545 2007-09-13 Alexander Larsson <alexl@redhat.com>
3547 * gio/goutputstream.c (g_output_stream_write_all):
3548 Allow NULL for bytes_written
3550 2007-09-13 Alexander Larsson <alexl@redhat.com>
3552 * gio/gmemoryinputstream.[ch]:
3553 Add accessors for data
3555 2007-09-13 Alexander Larsson <alexl@redhat.com>
3557 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3558 Don't crash if length is NULL