1 2008-02-20 Benjamin Otte <otte@gnome.org>
3 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
4 (g_file_eject_mountable):
5 even more cases of not returning in error path
7 2008-02-20 Benjamin Otte <otte@gnome.org>
9 * gfile.c: (g_file_mount_mountable):
10 return from function in error path.
12 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
15 Remove trailing coma in GMountMountFlags struct
17 2008-02-18 Alexander Larsson <alexl@redhat.com>
21 * glocalfileoutputstream.c:
22 Use g_unlink/g_rename instead of unlink/rename;
23 do not pass raw filenames to g_set_error. (#517239)
24 Patch from Yevgen Muntyan.
26 2008-02-18 Alexander Larsson <alexl@redhat.com>
29 * glocalfileoutputstream.c:
30 Open files with O_BINARY on windows. (#517140)
32 2008-02-14 Alexander Larsson <alexl@redhat.com>
34 * glocalfileoutputstream.c:
35 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
37 2008-02-14 Alexander Larsson <alexl@redhat.com>
40 Copy permissions with file on copy (#514084)
41 This is what cp does and makes sure e.g. the
42 exec permissions are kept.
43 Its kinda weird in that it keeps the permission bits
44 the same while the uid and gid are different. However
45 the new uid is the user so its not a security issue,
46 and I've heard no complaints about cp on this issue.
48 2008-02-13 Ryan Lortie <desrt@desrt.ca>
50 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
52 2008-02-13 Alexander Larsson <alexl@redhat.com>
54 * inotify/inotify-path.c:
55 Define IN_ONLYDIR if not in header (#515346)
57 2008-02-12 Alexander Larsson <alexl@redhat.com>
59 * tests/live-g-file.c:
62 2008-02-11 Matthias Clasen <mclasen@redhat.com>
64 * === Released 2.15.5 ===
66 2008-02-11 Matthias Clasen <mclasen@redhat.com>
68 * gio.symbols: Add g_mount_mount_flags_get_type.
70 2008-02-11 Alexander Larsson <alexl@redhat.com>
73 (g_file_info_set_attribute_mask):
74 (g_file_attribute_matcher_matches_id):
75 Correctly handle NULL GAttributeMatcher meaning
76 matches nothing. (Fixes #513492)
78 2008-02-11 Alexander Larsson <alexl@redhat.com>
83 Added GMountMountFlags enum and added a flags
84 argument to all mount calls.
86 This is an API/ABI change for future extensibility,
87 as I think we will need at least an
88 inhibit-autorun flag (the panel needs this).
89 There are no flags defined yet though.
91 2008-02-11 Alexander Larsson <alexl@redhat.com>
94 Added new standard::description attribute.
95 Requested by Vincent, and useful for both
98 2008-02-11 Alexander Larsson <alexl@redhat.com>
103 2008-02-11 Matthias Clasen <mclasen@redhat.com>
105 * *.c: Documentation additions
107 2008-02-10 Matthias Clasen <mclasen@redhat.com>
109 * gappinfo.h: Formatting cleanup
110 * gappinfo.c: Fix up docs.
112 2008-02-09 Matthias Clasen <mclasen@redhat.com>
114 * gunixmounts.c: Consistently use getmntent_r() and fall
115 back to getmntent(). (#515492)
117 2008-02-09 Matthias Clasen <mclasen@redhat.com>
119 * gbufferedinputstream.c:
121 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
123 * tests/data-input-stream.c:
124 * tests/data-output-stream.c: Portability fixes.
126 2008-02-08 Alexander Larsson <alexl@redhat.com>
131 Add g_volume_should_automount.
134 2008-02-07 Tor Lillqvist <tml@novell.com>
136 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
137 Win32, too Unix-specific.
139 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
141 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
142 a local plt if the compiler doesn't support what we want. Bug #514702
144 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
146 reviewed by: <delete if not using a buddy>
149 * gunixinputstream.c:
150 * gunixoutputstream.c:
152 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
155 * tests/live-g-file.c:
156 * tests/live-g-file.txt:
157 New GIO testing module working over real data
159 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
161 * glocalfileoutputstream.c (g_local_file_output_stream_close):
162 Fallback to rename() if link() is not available
163 (when no support on target filesystem)
165 2008-02-06 Michael Natterer <mitch@imendio.com>
167 * gfileinfo.c (g_file_info_get_icon): replace
168 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
170 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
172 * gfile.c (g_file_create):
173 Documentation update of error codes
175 2008-02-06 Alexander Larsson <alexl@redhat.com>
178 Update to use both mimeapps.list and
179 defaults.list as discussed on xdg list.
181 2008-02-06 Benjamin Otte <otte@gnome.org>
184 * gfilenamecompleter.c:
185 Fix some typos in the documentation.
187 2008-02-06 Alexander Larsson <alexl@redhat.com>
189 * glocalfile.c (g_local_file_trash):
190 Don't succeed with trash if newly created
191 trash dir has the wrong owner. (#514696)
193 2008-02-05 Alexander Larsson <alexl@redhat.com>
195 * glocalfile.c (g_local_file_move):
196 Don't spew warnings when destination is not
199 2008-02-03 Hans Breuer <hans@breuer.org>
201 * makefile.msc : update
203 2008-02-01 Michael Natterer <mitch@imendio.com>
205 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
206 return value of xdg_mime_list_mime_parents() to a variable of the
209 2008-02-01 Alexander Larsson <alexl@redhat.com>
211 * gappinfo.c (g_app_info_launch_uris):
212 Actually call the launch_uris method, not
215 2008-02-01 Alexander Larsson <alexl@redhat.com>
217 * gdesktopappinfo.c (g_desktop_app_info_equal):
218 Ensure appinfos with no id but same pointer value
221 2008-02-01 Alexander Larsson <alexl@redhat.com>
223 * gappinfo.c (g_app_info_launch_default_for_uri):
226 2008-02-01 Alexander Larsson <alexl@redhat.com>
230 Add g_app_info_launch_default_for_uri utility
233 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
236 Doc fix for g_app_info_get_default_for_uri_scheme ()
239 2008-01-30 Alexander Larsson <alexl@redhat.com>
242 Add doc comment about uris vs GFiles to
246 Ensure uris passed to g_app_info_launch_uris()
247 are not roundtriped through GFile (as that
248 may be slightly destructive for e.g. mailto: links)
250 2008-01-30 Alexander Larsson <alexl@redhat.com>
252 * tests/data-input-stream.c:
253 * tests/data-output-stream.c:
254 C89 fixes from Jens Granseuer (#512849)
256 2008-01-30 Alexander Larsson <alexl@redhat.com>
259 Fix gamin/fam difference build issue. (#509419)
261 2008-01-29 Alexander Larsson <alexl@redhat.com>
265 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
267 2008-01-29 Alexander Larsson <alexl@redhat.com>
271 giomodule-priv.h include moved to .c file.
273 2008-01-29 Alexander Larsson <alexl@redhat.com>
275 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
276 Remove unused prio/name fields.
278 2008-01-29 Alexander Larsson <alexl@redhat.com>
280 * gcontenttype.c (looks_like_text):
281 Don't treat whitespace as control chars.
283 2008-01-29 Alexander Larsson <alexl@redhat.com>
286 Lazily create the desktop files for appinfos created
287 by g_app_info_create_from_commandline() when needed
288 for mime associations. This allows run-time use
289 of GAppInfo object without creating unnecessary
292 2008-01-29 Alexander Larsson <alexl@redhat.com>
295 Added new symbols to gio.symbols
297 2008-01-29 Alexander Larsson <alexl@redhat.com>
300 Add g_file_query_default_handler utility to easily look up
301 the GAppInfo that handles a file.
303 * gdesktopappinfo.[ch]:
305 Set up an extension point for g_app_info_get_default_for_uri_scheme()
308 Remove unused function
310 2008-01-29 Alexander Larsson <alexl@redhat.com>
313 Mention need to free returned value in
314 g_file_enumerator_next_files_finish docs.
315 Fix leak if g_file_enumerator_next_files_finish()
318 2008-01-29 Alexander Larsson <alexl@redhat.com>
321 (_g_unix_content_type_get_parents):
322 Use list_parents, not get_parents from xdgmime, because
323 the later doesn't use the cache.
325 * xdgmime/xdgmimecache.c:
326 (_xdg_mime_cache_list_mime_parents):
327 Don't list the same type as parent multiple times.
329 2008-01-28 Matthias Clasen <mclasen@redhat.com>
331 * === Released 2.15.4 ===
333 2008-01-28 Alexander Larsson <alexl@redhat.com>
336 Register local vfs with prio 0.
339 Remove old name and prio class members
341 2008-01-28 Matthias Clasen <mclasen@redhat.com>
343 * tests/g-file.c: Disable some tests that are failing in
344 the absence of a http backend.
346 2008-01-28 Alexander Larsson <alexl@redhat.com>
350 Add registration hooks for extension points.
351 Register the gio extension points.
353 * fam/gfamdirectorymonitor.c:
354 * fam/gfamfilemonitor.c:
355 * glocaldirectorymonitor.[ch]:
356 * glocalfilemonitor.[ch]:
357 * gnativevolumemonitor.h:
358 * gunionvolumemonitor.c:
359 * gunixvolumemonitor.c:
362 * inotify/ginotifydirectorymonitor.c:
363 * inotify/ginotifyfilemonitor.c:
364 Use the extension points registration instead
365 of g_type_children().
367 2008-01-28 Matthias Clasen <mclasen@redhat.com>
370 * gvolume.[hc]: Document new API.
372 * gfile.c (g_file_copy_async): Fix docs
374 2008-01-27 Matthias Clasen <mclasen@redhat.com>
376 * gbufferedinputstream.c:
378 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
381 2008-01-27 Matthias Clasen <mclasen@redhat.com>
383 * glocalfile.c: Avoid trivial differences in translatable strings.
385 2008-01-25 Matthias Clasen <mclasen@redhat.com>
387 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
388 build with gcc 3.4 (#509419)
390 2008-01-25 Matthias Clasen <mclasen@redhat.com>
392 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
393 (#509994, Murray Cumming)
395 2008-01-25 Matthias Clasen <mclasen@redhat.com>
397 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
398 * gioscheduler.c: Keep calling io jobs until they return FALSE;
399 this allows big jobs to be executed in chunks, instead of blocking
400 the main loop for a long time.
402 * gsimpleasyncresult.c:
403 * giofile.c: Adapt callers.
405 2008-01-25 Alexander Larsson <alexl@redhat.com>
408 Implement changes discussed on xdg list.
409 Now we can add supported mimetypes by just using defaults.list
410 We can also remove associations in defaults.list.
412 2008-01-25 Alexander Larsson <alexl@redhat.com>
415 Don't make local copy of desktop file
416 for mimetype changes if the file already
417 supports the new mimetype.
419 2008-01-25 Matthias Clasen <mclasen@redhat.com>
423 * gbufferedinputstream.c:
424 * glocalfile.c: String improvements. (#511966,
425 Theppitak Karoonboonyanan)
427 2008-01-24 Matthias Clasen <mclasen@redhat.com>
429 * gioscheduler.h: Expand docs a bit.
431 2008-01-24 Alexander Larsson <alexl@redhat.com>
434 Add g_drive_get_identifier and
435 g_drive_enumerate_identifiers
438 Add g_volume_get_identifier and
439 g_volume_enumerate_identifiers
445 Implement identifiers for unix backend
447 2008-01-24 Alexander Larsson <alexl@redhat.com>
452 Add g_file_copy_async() (#511580)
453 Based on patch from Carlos Garcia Campos
455 2008-01-23 Matthias Clasen <mclasen@redhat.com>
457 * gioscheduler.c: Some documentation additions.
459 2008-01-22 Alexander Larsson <alexl@redhat.com>
462 (g_desktop_app_info_new):
465 2008-01-22 Alexander Larsson <alexl@redhat.com>
468 (g_desktop_app_info_new_from_filename):
471 2008-01-22 Alexander Larsson <alexl@redhat.com>
473 * glocalfileinfo.c (get_thumbnail_attributes):
476 2008-01-22 Alexander Larsson <alexl@redhat.com>
479 (canonicalize_filename):
480 Canonicalize paths that start with more than
485 (test_g_file_new_for_path):
488 2008-01-22 Alexander Larsson <alexl@redhat.com>
491 Allow UTF-8 in file:// parse names.
494 * tests/data-input-stream.c:
495 * tests/data-output-stream.c:
496 * tests/g-file-info.c:
498 Added a bunch of tests from Tomas Bzatek
500 2008-01-21 Matthias Clasen <mclasen@redhat.com>
502 * === Released 2.15.3 ===
504 2008-01-21 Alexander Larsson <alexl@redhat.com>
506 * gfileinputstream.[ch]:
507 * gfileoutputstream.[ch]:
509 Remove duplicated GSeekable functions. (#509990)
510 Just use the g_seekable_xxx() calls instead.
512 2008-01-21 Matthias Clasen <mclasen@redhat.com>
515 * gvolumemanager.c: Whitespace cleanups.
517 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
518 Use the right mode when creating the file.
520 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
523 * gfileinputstream.c:
525 * goutputstream.c: Documentation: Fixed minor typos
526 and added more mentions of specific _finish() functions.
528 2008-01-21 Alexander Larsson <alexl@redhat.com>
530 * inotify/Makefile.am:
531 * inotify/inotify-helper.c:
532 * inotify/inotify-kernel.c:
533 * inotify/inotify-path.c:
534 * inotify/local_inotify.h: Removed.
535 * inotify/local_inotify_syscalls.h: Removed.
536 Removed the included copies of the inotify
537 headers. We now only use the <sys/inotify.h>
538 header which exists on modern systems.
539 This fixes problems on ARM and SH5 (#510448)
540 but is also generally much cleaner and future
541 safe. For instance, if other OSes add support
542 for inotify it should "just work".
544 2008-01-20 Matthias Clasen <mclasen@redhat.com>
546 * inotify/*.c: Coding style fixes.
547 * inotify/inotify-missing.c: Use g_timeout_add_seconds
548 for the 1/4 Hz timer.
550 2008-01-20 Matthias Clasen <mclasen@redhat.com>
554 * gmemoryinputstream.c:
555 * gmemoryoutputstream.c:
557 * gthemedicon.c: Documentation updates
559 2008-01-20 Murray Cumming <murrayc@murrayc.com>
561 * gfile.c: documentation: Fixed more minor
564 2008-01-18 Murray Cumming <murrayc@murrayc.com>
566 * gmount.c: (g_mount_remount): documentation:
567 Mention g_mount_remount_finish() instead of
568 g_mount_unmount_finish().
570 2008-01-18 Murray Cumming <murrayc@murrayc.com>
574 * gfile.c: Fixed some minor typos in the
577 2008-01-18 Murray Cumming <murrayc@murrayc.com>
579 * gio/gvolumemonitor.c:
580 (g_volume_monitor_get_connected_drives):
581 (g_volume_monitor_get_volumes):
582 (g_volume_monitor_get_mounts): Documentation:
583 Clarify the ownership of the regurn GLists.
585 2008-01-17 Alexander Larsson <alexl@redhat.com>
588 Add the async find_enclosing_mount version
589 to the header file too.
591 2008-01-17 Alexander Larsson <alexl@redhat.com>
594 Add async version of find_enclosing_mount
595 with default implementation.
597 2008-01-17 Alexander Larsson <alexl@redhat.com>
602 Allow calls to implementation of copy and write
603 even if the type of the file implementations is
604 different. This can be used to implement native
605 upload and download calls in a vfs.
609 Protect against the case where move is called
610 with one file not being local.
612 Make sure we call the progress callback once
613 in the native move operation so that the caller
614 knows how many bytes were copied.
616 2008-01-16 Murray Cumming <murrayc@murrayc.com>
619 * gdatainputstream.c:
621 * gfileoutputstream.c:
626 * gunixmounts.c: Corrected some typos in the documentation:
628 its -> it's (where appropriate).
630 2008-01-16 Alexander Larsson <alexl@redhat.com>
634 Add g_file_query_exists (#508771)
636 2008-01-15 Murray Cumming <murrayc@murrayc.com>
641 * gvolume.c: For async functions that have no non-async
642 version, document that the GAsyncReadyCallback may be NULL.
645 2008-01-15 Alexander Larsson <alexl@redhat.com>
647 * gmemoryinputstream.c:
648 * gmemoryoutputstream.c:
649 Don't do pointer arithmetic on void * (#508602)
650 Patch from Kazuki IWAMOTO
652 2008-01-14 Matthias Clasen <mclasen@redhat.com>
654 * === Released 2.15.2 ===
656 2008-01-14 Alexander Larsson <alexl@redhat.com>
658 * gfile.c (g_file_monitor_file):
659 Don't set error here, since we fallback to polling monitor.
661 2008-01-14 Alexander Larsson <alexl@redhat.com>
664 (g_file_monitor_directory):
665 (g_file_monitor_file):
666 Add GError to file monitor calls
668 * glocaldirectorymonitor.c:
669 * glocaldirectorymonitor.h:
671 * glocalfilemonitor.c:
672 * glocalfilemonitor.h:
674 Update for above change
676 2008-01-14 Alexander Larsson <alexl@redhat.com>
680 Handle root correctly in g_file_get_relative_path (#508719)
682 2008-01-14 Alexander Larsson <alexl@redhat.com>
685 Clean up docs and example for GAsyncResult (#508074)
687 2008-01-11 Murray Cumming <murrayc@murrayc.com>
689 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
690 and correct some spelling mistakes. Bug #508108.
692 2008-01-11 Matthias Clasen <mclasen@redhat.com>
694 * glocalfileinfo.c: Add a comment.
696 2008-01-10 Murray Cumming <murrayc@murrayc.com>
698 * gfileinfo.c: GFileInfo description: Mention
699 how to actually set attributes in a GFile and how to discover
700 which attributes are settable. Bug #508378.
702 2008-01-10 A. Walton <awalton@svn.gnome.org>
704 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
705 (g_app_info_get_default_for_type):
706 Check for NULL content types.
708 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
710 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
712 2008-01-09 Murray Cumming <murrayc@murrayc.com>
714 * gfile.c: *_async() functions: Several small corrections
715 to the documentation, mostly correcting copy/paste errors
716 and improving some sentences.
718 2008-01-09 Dan Winship <danw@gnome.org>
720 * glocalfile.c (get_unique_filename): x86_64 fix
722 2008-01-09 Alexander Larsson <alexl@redhat.com>
727 Add g_unix_mount_guess_should_display and use
728 for unix volume monitor backend.
729 This means we more or less show what the
730 gnome-vfs backend did.
731 Based on patch from Padraig O'Briain
733 2008-01-09 Alexander Larsson <alexl@redhat.com>
737 Add g_themed_icon_new_with_default_fallbacks
740 Use default fallbacks for icons
742 2008-01-09 Alexander Larsson <alexl@redhat.com>
745 * gmountoperation.[ch]:
746 Change the API a bit so that unhandled methods
747 get reported via the reply, rather than by
748 the signal emission return value. This is because
749 some handlers can't know this immediately without
750 doing I/O, and this is an async operation that
753 2008-01-09 Alexander Larsson <alexl@redhat.com>
756 * fam/gfamdirectorymonitor.c:
757 * fam/gfamfilemonitor.c:
758 Fix double free crash (#508224)
759 Patch from Joe Marcus Clarke
761 008-01-07 Matthias Clasen <mclasen@redhat.com>
763 * === Released 2.15.1 ===
765 2008-01-07 Alexander Larsson <alexl@redhat.com>
767 * gunixinputstream.c (g_unix_input_stream_skip_finish):
768 Fix warning (#507835)
770 2008-01-07 Alexander Larsson <alexl@redhat.com>
773 Pass --internal to glib-genmarshal
778 Use better types for signal arguments (#507822)
780 2008-01-07 Alexander Larsson <alexl@redhat.com>
783 Build test subdir after .
784 Remove gdirectorymonitor.[ch]
786 * gdirectorymonitor.[ch]:
790 Remove GDirectoryMonitor and make
791 GFileMonitor the baseclass for both file and
792 directory monitors. Lift the more generic
793 rate limiting code from GDirectoryMonitor
797 * fam/gfamdirectorymonitor.[ch]:
798 * inotify/ginotifydirectorymonitor.[ch]:
799 * inotify/inotify-helper.c:
800 * glocaldirectorymonitor.[ch]:
803 Update for the removed GDirectoryMonitor.
805 * gmemoryoutputstream.c:
806 Remove ununsed variable
808 2008-01-07 Alexander Larsson <alexl@redhat.com>
810 * gmemoryinputstream.c:
811 Translate error strings
814 * gmemoryoutputstream.[ch]:
815 New implementation that avoids using GByteArray
816 in implementation and API. (#506377)
818 2008-01-06 Matthias Clasen <mclasen@redhat.com>
820 * tests/*: Add a test for memory input streams.
822 * Makefile.am: Add tests to SUBDIRS.
824 2008-01-06 Matthias Clasen <mclasen@redhat.com>
826 * glocalfilemonitor.c:
827 * glocaldirectorymonitor.c: Mark property nicks and blurbs
830 2008-01-06 Matthias Clasen <mclasen@redhat.com>
832 * gdesktopappinfo.c: Fix a docs typo.
834 * gfileattribute.c: Add information about extended attributes
835 to the documentation. (#505058)
837 2008-01-04 Alexander Larsson <alexl@redhat.com>
841 Use the right type (uint) for the ask_password signal.
843 2008-01-04 Alexander Larsson <alexl@redhat.com>
848 Add g_app_info_supports_files()
849 Remove desktop arg from g_app_info_should_show().
851 * gdesktopappinfo.[ch]:
852 Implement g_app_info_supports_files() and new should_show()
853 Add g_desktop_app_info_set_desktop_env() to set the desktop
854 for should_show(). (This will be set by gtk+ later)
856 2008-01-04 Alexander Larsson <alexl@redhat.com>
859 * gmemoryinputstream.[ch]:
860 Improve API so that you can use multiple chunks
861 of memory and custom destroy functions. (#506374)
863 2008-01-03 Alexander Larsson <alexl@redhat.com>
866 Handle NULL attribute matchers safely, as we return this
867 for empty attribute matcher strings.
869 2008-01-03 Alexander Larsson <alexl@redhat.com>
871 * gunixmounts.c (g_unix_is_mount_path_system_internal):
872 Add /usr/local to list of internal mountpoints
874 2008-01-03 Alexander Larsson <alexl@redhat.com>
877 Check for HAVE_LCHOWN (#505887)
879 2008-01-03 Alexander Larsson <alexl@redhat.com>
883 Add define for selinux context attribute.
884 Fix missing : -> :: namespace separator change
885 Fix missing _ -> - name change for xattr-sys.
888 2008-01-03 Alexander Larsson <alexl@redhat.com>
891 Link to libglib and libgobject directly (#504879)
892 Patch from Sebastien Bacher
894 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
896 * gfile.c: Expanded the g_file_new_for_commandline_arg
897 description a bit, based on the code and the docs of the
898 other g_file_new_for_* functions.
900 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
902 * gfilemonitor.h: Fixed typo in docs.
904 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
906 Updates to GIO documentation. (#506395, Mikael Hermansson)
908 * gcontenttype.c: Describe memory management for return value of
909 g_content_types_get_registered(). Missing piece from #505815.
910 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
911 GVolume, GDrive, GMounts, which hopefully gives the user less
912 confusions when using this API. Following explainations from
913 Alexander Larsson on gtk-devel-list.
915 2007-12-30 Matthias Clasen <mclasen@redhat.com>
917 * gfileinfo.c: Expand the long description.
919 2007-12-30 Matthias Clasen <mclasen@redhat.com>
922 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
923 fix builds with --disable-visibility. (#500273, Christian Persch)
925 2007-12-30 Matthias Clasen <mclasen@redhat.com>
927 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
928 in the list of returned app infos.
930 2007-12-30 Matthias Clasen <mclasen@redhat.com>
932 * gappinfo.c: Fix a cross-reference
934 2007-12-30 Matthias Clasen <mclasen@redhat.com>
936 * gfileinputstream.c:
937 * gfileoutputstream.c:
943 * gfileinfo.c: Documentation updates.
945 2007-12-26 Matthias Clasen <mclasen@redhat.com>
947 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
950 2007-12-26 Matthias Clasen <mclasen@redhat.com>
952 * gcontenttype.c (g_content_types_get_registered): Don't return
953 freed memory (#505815, Mikael Hermansson)
955 2007-12-25 Paolo Borelli <pborelli@katamail.com>
957 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
958 used to detect statbuf->st_blocks. (#505042)
960 2007-12-24 Matthias Clasen <mclasen@redhat.com>
962 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
963 environment handling. (#504829, Cosimo Cecchi)
965 2007-12-22 Matthias Clasen <mclasen@redhat.com>
967 * gappinfo.c: Doc improvements
969 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
972 2007-12-20 Matthias Clasen <mclasen@redhat.com>
974 * === Released 2.15.0 ===
976 2007-12-20 Hans Breuer <hans@breuer.org>
978 * makefile.msc : don't build gdesktopappinfo.obj, it collides
979 with symbols gwin32appinfo.obj, added gmount.obj
980 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
982 2007-12-20 Alexander Larsson <alexl@redhat.com>
988 * gfilenamecompleter.c:
991 * gpollfilemonitor.c:
992 File attribute renames:
995 id::fs -> id::filesystem
997 2007-12-20 Alexander Larsson <alexl@redhat.com>
1006 Add GMountUnmountFlags to all unmount and
1008 Add g_mount_remount() call.
1010 2007-12-20 Alexander Larsson <alexl@redhat.com>
1012 * gvfs.c (get_default_vfs):
1013 Fix unused variable warning
1015 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1017 * pltcheck.sh: Update
1019 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1021 * gunionvolumemonitor.c:
1022 * gunixmount.c: Remove C99 comments
1024 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1026 * gio.symbols: Add some missing symbols
1028 2007-12-19 Alexander Larsson <alexl@redhat.com>
1031 Make g_io_modules_load_all_in_directory not unuse
1032 loaded modules so that users of it can do stuff
1034 Init internal "module" types.
1035 Initialize static prio and name for types so that
1036 we don't have to load modules to get it.
1038 * gnativevolumemonitor.h:
1040 Move is_supported to parent class so that
1041 non-native monitors can avoid being initialized
1042 too. (For instance GDaemonVolumeMonitor if we're
1043 not using GDaemonVfs.)
1045 * glocaldirectorymonitor.[ch]:
1046 * glocalfilemonitor.[ch]:
1047 * gunionvolumemonitor.c:
1048 * gunixvolumemonitor.c:
1050 Find plugins using the static prio+name to
1051 avoid unnecessarily loading the modules.
1053 2007-12-19 Alexander Larsson <alexl@redhat.com>
1058 2007-12-19 Alexander Larsson <alexl@redhat.com>
1060 * gunionvolumemonitor.c:
1061 Store the native type as GType, not class so that
1062 we can unload it. But still avoid unnecessarily
1065 2007-12-19 David Zeuthen <davidz@redhat.com>
1067 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1068 add signals 'disconnected' and 'eject-button' on GDrive. Add
1069 signal 'removed' on GVolume and 'unmounted' on GMount.
1071 * gdrive.c: (g_drive_base_init):
1073 * gfile.c: (g_file_mount_mountable),
1074 (g_file_mount_enclosing_volume):
1077 * gmount.c: (g_mount_base_init):
1079 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1080 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1081 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1085 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1087 * *.c: Fix up includes in the section docs.
1089 2007-12-17 Alexander Larsson <alexl@redhat.com>
1091 * gnativevolumemonitor.h:
1092 * gunionvolumemonitor.c:
1093 * gunixvolumemonitor.c:
1094 Add is_supported() to GNativeVolumeMonitorClass so
1095 that we can avoid having to create an object to see
1096 if the backend is supported at runtime.
1097 Also add name member and an env var to pick a specific
1098 volume monitor backend.
1102 Add cancellable to _g_mount_get_for_mount_path()
1104 * glocaldirectorymonitor.c:
1105 * glocalfilemonitor.c:
1106 Avoid loading and unloading modules while sorting.
1108 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1111 * gunixmounts.[hc]: Namespace waste reduction, move some
1112 g_get_unix_mount functions to the g_unix_mount namespace.
1115 * gunixvolumemonitor.c:
1117 * glocaldirectorymonitor.c: Update all callers.
1119 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1121 2007-12-17 Alexander Larsson <alexl@redhat.com>
1124 Add doc comments about what GFile operations are
1125 guaranteed to not block.
1127 2007-12-17 Alexander Larsson <alexl@redhat.com>
1130 Add missing #ifdef fixing OSX build.
1131 (#503334, patch from Richard Hult)
1133 2007-12-14 David Zeuthen <davidz@redhat.com>
1137 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1138 (g_mount_eject), (g_mount_eject_finish):
1140 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1141 (get_volume_for_uuid), (get_mount_for_uuid),
1142 (g_union_volume_monitor_class_init),
1143 (get_default_native_type_with_exclude), (get_default_native_type),
1144 (get_native_type), (update_native_type),
1145 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1146 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1147 (g_unix_mount_can_eject), (eject_unmount_cb),
1148 (eject_unmount_read_error), (eject_unmount_do),
1149 (g_unix_mount_unmount), (g_unix_mount_eject),
1150 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1151 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1152 (g_unix_mount_point_guess_can_eject):
1154 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1155 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1156 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1157 (g_unix_volume_mount), (g_unix_volume_eject),
1158 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1159 * gunixvolumemonitor.c: (get_volume_for_uuid),
1160 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1162 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1163 (g_volume_eject), (g_volume_eject_finish):
1165 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1166 (g_volume_monitor_get_mount_for_uuid):
1169 Provide eject() on both GMount and GVolume and utility functions
1170 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1171 ejected. Introduce the concept of UUID's and wire it into GVolume
1172 and GMount and provide API on GVolumeMonitor to find such
1173 instances. Also handle the case where an external
1174 GNativeVolumeMonitor fails to initialize. Lock around the
1175 _g_get_mount_for_mount_path() function such that volume monitor
1176 implementations won't have to do locking themselves.
1178 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1180 * gdesktopappinfo.c:
1186 * gvolume.h: Documentation updates
1188 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1191 * gfile.h: Doc updates
1193 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1196 * gdesktopappinfo.c: Use hash table iterators.
1198 2007-12-14 Alexander Larsson <alexl@redhat.com>
1201 * gfileattribute.[ch]:
1202 * gfileattribute-priv.h:
1203 Move GFileAttributeValue to a private header, as
1207 Make set_attribute take a type + a pointer instead
1208 of a GFileAttributeValue.
1211 Fix up for above changes.
1212 Add g_file_info_get_attribute_data to get
1213 all info in one call, g_file_info_get_attribute_status
1214 to get the status and g_file_info_get_attribute_as_string.
1218 * glocalfileinfo.[ch]:
1222 Make _guess_type static.
1224 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1227 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1228 made mkenums and friends use temporary files to avoid leaving
1229 empty generated files on failure (#503470).
1231 2007-12-14 Alexander Larsson <alexl@redhat.com>
1233 * gmountoperation.h:
1236 2007-12-14 Alexander Larsson <alexl@redhat.com>
1240 * gfileattribute.[ch]:
1243 * glocalfileoutputstream.c:
1244 * gmountoperation.[ch]:
1245 * goutputstream.[ch]:
1246 Clean up all flags enums to not have _FLAGS in them
1247 Make the names of some of the enums better.
1252 2007-12-14 Michael Natterer <mitch@imendio.com>
1254 * gio.symbols: fix g_io_scheduler symbol names.
1256 2007-12-14 Alexander Larsson <alexl@redhat.com>
1262 * gbufferedinputstream.h:
1263 * gbufferedoutputstream.h:
1266 * gdatainputstream.h:
1267 * gdataoutputstream.h:
1268 * gdesktopappinfo.h:
1269 * gdirectorymonitor.h:
1273 * gfileenumerator.h:
1276 * gfileinputstream.h:
1278 * gfilenamecompleter.h:
1279 * gfileoutputstream.h:
1280 * gfilterinputstream.h:
1281 * gfilteroutputstream.h:
1289 * gmemoryinputstream.h:
1290 * gmemoryoutputstream.h:
1292 * gmountoperation.h:
1295 * gsimpleasyncresult.h:
1297 * gunixinputstream.h:
1299 * gunixoutputstream.h:
1303 * inotify/Makefile.am:
1304 Only allow including <gio/gio.h> from apps
1306 2007-12-14 Alexander Larsson <alexl@redhat.com>
1308 * gioscheduler.[ch]:
1309 * gsimpleasyncresult.c:
1310 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1311 Split out the send_to_mainloop call into two versions instead
1312 of having the block argument.
1314 2007-12-13 Alexander Larsson <alexl@redhat.com>
1316 * gcancellable.[ch]:
1318 * gbufferedinputstream.c:
1319 * gfileenumerator.c:
1320 * gfileinputstream.c:
1321 * gfileoutputstream.c:
1325 g_push/pop_current_cancellable ->
1326 g_cancellable_push/pop_current
1328 2007-12-13 Alexander Larsson <alexl@redhat.com>
1332 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1334 2007-12-13 Alexander Larsson <alexl@redhat.com>
1336 * gmountoperation.h:
1337 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1339 2007-12-12 Alexander Larsson <alexl@redhat.com>
1342 Fix race condition when freeing proxy in
1343 g_io_job_send_to_mainloop().
1345 2007-12-12 Alexander Larsson <alexl@redhat.com>
1351 Make attribute namespace separator "::" instead of ":".
1352 Use - instead of _ as separator in attribute names.
1354 2007-12-12 Alexander Larsson <alexl@redhat.com>
1356 * gbufferedinputstream.h:
1357 * gbufferedoutputstream.h:
1358 * gdatainputstream.h:
1359 * gdataoutputstream.h:
1360 * gdirectorymonitor.h:
1361 * gfileenumerator.h:
1362 * gfileinputstream.h:
1364 * gfileoutputstream.h:
1365 * gfilterinputstream.h:
1366 * gfilteroutputstream.h:
1368 * glocalfileinputstream.h:
1369 * glocalfileoutputstream.h:
1370 * gmemoryinputstream.h:
1371 * gmemoryoutputstream.h:
1372 * gnativevolumemonitor.h:
1374 * gunixinputstream.h:
1375 * gunixoutputstream.h:
1378 s/parent/parent_instance/ in GObjects
1380 2007-12-12 Alexander Larsson <alexl@redhat.com>
1385 No need for padding for interfaces
1387 2007-12-12 Alexander Larsson <alexl@redhat.com>
1391 * gbufferedinputstream.c:
1392 * gbufferedoutputstream.c:
1395 * gdatainputstream.[ch]:
1396 * gdesktopappinfo.c:
1397 * gdirectorymonitor.c:
1399 * gfileattribute.[ch]:
1402 * gfileinputstream.h:
1403 * gfilemonitor.[ch]:
1404 * gfileoutputstream.[ch]:
1405 * gfilterinputstream.h:
1406 * gfilteroutputstream.h:
1409 * gloadableicon.[ch]:
1410 * gmemoryinputstream.c:
1411 * gmountoperation.c:
1413 Fix up a bunch of details in the docs.
1418 2007-12-11 David Zeuthen <davidz@redhat.com>
1420 Rework how volumes, drives and volume monitoring is
1421 done. Previosly the model was
1423 GDrive <1-1> GVolume
1425 where a GDrive instance represented a mount point and a GVolume
1426 instance represented a mounted file system. This patch changes it
1429 GDrive <1-N> GVolume <1-1> GMount
1431 where GMount now serves the purpose of the old GVolume and the new
1432 GVolume serves the purpose of the old GDrive. In addition the new
1433 GDrive interface is used to represent a collection of GVolume
1434 instances (typically partitions) and also contains utility to query
1435 the state of the physical drive the GDrive object represents (such
1436 as checking for media, polling the drive, ejecting the media etc.).
1438 Also implement mounting and unmounting in the Unix volume monitor
1439 backend. A subquent patch will introduce GDrive support for ejection
1443 * gdrive.c: (g_drive_is_media_check_automatic),
1444 (g_drive_is_media_removable), (g_drive_has_media),
1445 (g_drive_can_poll_for_media), (g_drive_eject),
1446 (g_drive_eject_finish), (g_drive_poll_for_media),
1447 (g_drive_poll_for_media_finish):
1449 * gfile.c: (g_file_find_enclosing_mount):
1452 * glocaldirectorymonitor.c:
1453 (g_local_directory_monitor_constructor), (mounts_changed):
1454 * glocalfile.c: (get_mount_info),
1455 (g_local_file_find_enclosing_mount),
1456 (g_local_file_file_iface_init):
1457 * gnativevolumemonitor.h:
1458 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1459 (get_connected_drives), (g_union_volume_monitor_class_init),
1460 (child_volume_added), (child_volume_removed),
1461 (child_volume_changed), (child_mount_added), (child_mount_removed),
1462 (child_mount_pre_unmount), (child_mount_changed),
1463 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1464 (g_union_volume_monitor_remove_monitor),
1465 (_g_mount_get_for_mount_path):
1466 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1467 (guess_system_internal), (_g_get_unix_mounts),
1468 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1469 (g_unix_mount_free), (g_unix_mount_compare),
1470 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1471 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1472 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1473 (type_to_icon), (g_unix_mount_guess_name),
1474 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1475 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1476 (_resolve_symlink), (_resolve_dev_root):
1478 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1479 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1480 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1481 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1482 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1483 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1484 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1485 (g_unix_volume_volume_iface_init):
1487 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1488 (get_mounts), (get_volumes), (get_connected_drives),
1489 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1490 (mountpoints_changed), (mounts_changed),
1491 (g_unix_volume_monitor_init),
1492 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1493 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1494 * gunixvolumemonitor.h:
1495 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1496 (g_volume_mount), (g_volume_mount_finish):
1498 * gvolumemonitor.c: (g_volume_monitor_class_init),
1499 (g_volume_monitor_get_connected_drives),
1500 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1503 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1505 * gmountoperation.h (GPasswordFlags): Close the gap
1507 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1509 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1511 * gdesktopappinfo.[hc]: Remove _-prefixes
1513 2007-12-10 Tor Lillqvist <tml@novell.com>
1515 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1518 2007-12-10 Alexander Larsson <alexl@redhat.com>
1520 * gfile.c (g_file_set_display_name):
1521 Don't hardcode '/' (#502727)
1523 2007-12-09 Hans Breuer <hans@breuer.org>
1525 * makefile.msc : follow lib naming convention
1526 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1527 for user and group name, tested with ../tests/gio-ls
1529 2007-12-09 A. Walton <awalton@svn.gnome.org>
1531 * gdesktopappinfo.c:
1537 * gfileenumerator.c:
1542 * gmemoryinputstream.c:
1543 * gmemoryoutputstream.c:
1545 * gsimpleasyncresult.c:
1546 More documentation cleanup and filling in missing information, bringing
1547 GIO to 99% symbol coverage.
1549 2007-12-08 Hans Breuer <hans@breuer.org>
1551 [gio compiles and links on win32, not sure how much already works]
1552 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1553 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1554 base on win32 API; prefer g_lstat() over lstat(); instead of
1555 localtime_r() use an all GLib implementation on win32;
1556 get_mount_info() still needs a win32 specifc implementation
1557 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1558 win32_get_file_user_info to get owner/group info without uid/gid
1559 * glocalfileinputstream.c : include <io.h> on win32
1560 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1561 definition, use g_win32_ftruncate() for G_OS_WIN32
1562 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1563 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1564 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1565 * makefile.msc : updated
1567 2007-12-07 Alexander Larsson <alexl@redhat.com>
1569 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1570 Avoid warning spew if error == NULL
1572 2007-12-07 Alexander Larsson <alexl@redhat.com>
1575 Update docs wrt etags
1577 2007-12-06 Alexander Larsson <alexl@redhat.com>
1580 Include sys/types.h for dev_t (#501919)
1582 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1586 Make abicheck and pltcheck pass.
1588 2007-12-05 Alexander Larsson <alexl@redhat.com>
1591 * giomodule-priv.h: Added.
1592 * glocaldirectorymonitor.c:
1593 * glocalfilemonitor.c:
1594 * gunionvolumemonitor.c:
1596 Actually add the declaration of _g_io_modules_ensure_loaded
1598 2007-12-05 Alexander Larsson <alexl@redhat.com>
1600 * gdatainputstream.c:
1605 * glocaldirectorymonitor.c:
1606 * glocalfilemonitor.c:
1607 * gunionvolumemonitor.c:
1609 Make g_io_modules_ensure_loaded a private function and
1610 don't pass in the dirname. This means we can do magic
1611 directory finding in the win32 version.
1612 Export the actual load-modules-in-directory code so that
1613 gvfs can reuse that.
1615 2007-12-05 Alexander Larsson <alexl@redhat.com>
1617 * gbufferedinputstream.c:
1618 * gbufferedoutputstream.c:
1621 * gfileenumerator.[ch]:
1622 * gfileinputstream.c:
1623 * gfileoutputstream.[ch]:
1624 * gfilterinputstream.c:
1625 * gfilteroutputstream.c:
1626 * ginputstream.[ch]:
1628 * glocalfileenumerator.c:
1629 * glocalfileinputstream.c:
1630 * glocalfileoutputstream.c:
1631 * gmemoryinputstream.c:
1632 * gmemoryoutputstream.c:
1633 * goutputstream.[ch]:
1636 * gunixinputstream.c:
1637 * gunixoutputstream.c:
1638 Rename all struct members named:
1639 read, write, close, truncate, or mount
1640 to foo_fn, as these are reserved names
1641 and could be defined as macros in libc.
1644 2007-12-04 Alexander Larsson <alexl@redhat.com>
1647 (g_output_stream_close):
1648 Only call flush if non-null.
1650 2007-11-30 Dan Winship <danw@gnome.org>
1652 * ginputstream.c (g_input_stream_set_pending): Make this take a
1653 GError and return a gboolean, and do the "outstanding operation"
1654 check (and the "stream is already closed" check) itself.
1655 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1657 * goutputstream.c (g_output_stream_set_pending)
1658 (g_output_stream_clear_pending): Likewise
1660 * gbufferedinputstream.c:
1661 * gfileinputstream.c:
1662 * gfileoutputstream.c: Update for that
1664 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1665 Like g_simple_async_report_error_in_idle, but takes a GError
1666 rather than building one.
1668 2007-11-30 Dan Winship <danw@gnome.org>
1670 * goutputstream.c: Don't cheat and unset the "pending" flag around
1671 inner calls. Instead, call the class method directly rather than
1672 the wrapper function that checks "pending"
1674 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1676 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1678 2007-12-03 Hans Breuer <hans@breuer.org>
1680 [start of port to win32/msvc]
1681 * gcancellable.c : HAVE_UNIST_H and _pipe()
1682 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1683 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1684 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1686 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1687 * glocalvfs.c : use HAVE_PWD_H
1688 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1689 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1690 * Makefile.am : added to EXTRA_DIST
1692 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1694 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1697 2007-12-03 Alexander Larsson <alexl@redhat.com>
1700 Handle OSX style xattrs API (#500506)
1702 2007-12-03 Alexander Larsson <alexl@redhat.com>
1706 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1708 2007-12-02 A. Walton <awalton@svn.gnome.org>
1712 Documentation accuracy fixes.
1714 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1716 * gioenumtypes.c.template: Fix typo.
1718 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1720 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1722 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1724 * gdirectorymonitor.c:
1725 * gfilemonitor.c: Add properties
1727 * gbufferedoutputstream.c: Don't mark buffer-size property
1730 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1732 * gbufferedoutputstream.c: Add auto-grow property.
1734 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1736 * *.c: Unify the capitalization of section headings.
1738 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1740 * gmountoperation.c: Add properties
1742 * gdatainputstream.c: Turn byte-order and newline-type into
1745 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1747 * gioenumtypes.[hc].template: Templates for enum registration
1749 * Makefile.am: Generate gioenumtypes.[hc]
1751 * gio.h: Include gioenumtypes.h
1753 * gfile.h: Add some explicit nicks.
1755 * gio.symbols: Add new symbols
1757 * pltcheck.sh: Adjust
1759 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1761 * *.c: Explain etags and link to the explanation
1763 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1765 * *.c: Explain I/O priority.
1767 * *.c: More coding style fixes.
1769 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1771 * gasyncresult.c: Add another paragraph to the intro,
1772 adjust coding style of example.
1774 2007-11-29 A. Walton <awalton@svn.gnome.org>
1777 Fixes unknown meaning in GAppLaunchContext docs.
1779 Clarify asynchronous ops.
1781 Fix entity tag docs.
1784 Provides missing gtk-doc section, fixes API docs slighly.
1785 * gsimpleasyncresult.c:
1786 Fill in missing info in docs.
1787 * gunixinputstream.c:
1788 * gunixoutputstream.c:
1789 Be more expressive in short description.
1791 Remove gtk-doc stubs for non-public API.
1793 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1795 * *.c: Coding style fixups
1797 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1799 * inotify/inotify-helper.c: Don't export the lock from libgio.
1801 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1804 * abicheck.sh: Fix copy-and-paste leftovers
1806 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1808 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1810 2007-11-28 Alexander Larsson <alexl@redhat.com>
1814 Removed unnecessary file
1816 * gdesktopappinfo.[ch]:
1819 * glocaldirectorymonitor.[ch]:
1821 * glocalfileenumerator.[ch]:
1822 * glocalfileinputstream.[ch]:
1823 * glocalfilemonitor.[ch]:
1824 * glocalfileoutputstream.[ch]:
1826 * gnativevolumemonitor.c:
1827 * gpollfilemonitor.[ch]:
1828 * gunionvolumemonitor.[ch]:
1831 * gunixvolumemonitor.[ch]:
1834 * inotify/ginotifydirectorymonitor.[ch]:
1835 * inotify/ginotifyfilemonitor.[ch]:
1836 * inotify/inotify-helper.c:
1837 Append _ to all internal functions
1841 Export symbols needed for modules
1843 2007-11-28 Alexander Larsson <alexl@redhat.com>
1846 * abicheck.sh: Added.
1847 * makegioalias.pl: Added.
1848 * pltcheck.sh: Added.
1849 * gio.symbols: Added.
1852 Initial work on adding symbol handling.
1855 Correct ifdef guard name
1858 * inotify/Makefile.am:
1859 * xdgmime/Makefile.am:
1860 Include toplevel Makefile.decl
1862 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1864 * gcontenttype.c: Move doc comments to the unix section.
1866 * *.[hc]: More trivial doc corrections.
1868 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1870 * gpollfilemonitor.c:
1874 * gdesktopappinfo.c:
1879 * gdatainputstream.c:
1880 * gdatainputstream.h:
1881 * gdataoutputstream.c:
1882 * gdataoutputstream.h:
1883 * gfileinfo.h: Doc cleanups
1885 2007-11-28 Andre Klapper <a9016009@gmx.de>
1887 * gdesktopappinfo.c: Fix a typo.
1889 2007-11-27 Andre Klapper <a9016009@gmx.de>
1891 * glocalfileoutputstream.c: Fix a typo.
1893 2007-11-27 Alexander Larsson <alexl@redhat.com>
1896 Don't include removed headers
1898 2007-11-27 Alexander Larsson <alexl@redhat.com>
1901 * gsocketinputstream.[ch]: Removed.
1902 * gsocketoutputstream.[ch]: Removed.
1903 * gunixinputstream.[ch]: Added.
1904 * gunixoutputstream.[ch]: Added.
1905 Renamed GSocket*Stream to GUnix*Stream and made
1906 it unix-only, since its not really only for sockets
1907 and it only works on unix (but is highly useful there).
1909 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1915 * gbufferedinputstream.c:
1916 * gbufferedinputstream.h:
1917 * gbufferedoutputstream.c:
1918 * gbufferedoutputstream.h:
1922 * gdatainputstream.c:
1923 * gdatainputstream.h:
1924 * gdataoutputstream.c:
1925 * gdataoutputstream.h:
1926 * gdirectorymonitor.c:
1927 * gdirectorymonitor.h:
1934 * gfileenumerator.c:
1935 * gfileenumerator.h:
1940 * gfileinputstream.c:
1941 * gfileinputstream.h:
1944 * gfilenamecompleter.c:
1945 * gfilenamecompleter.h:
1946 * gfileoutputstream.c:
1947 * gfileoutputstream.h:
1948 * gfilterinputstream.c:
1949 * gfilterinputstream.h:
1950 * gfilteroutputstream.c:
1951 * gfilteroutputstream.h:
1964 * glocalfileoutputstream.c:
1965 * gmemoryinputstream.c:
1966 * gmemoryinputstream.h:
1967 * gmemoryoutputstream.c:
1968 * gmemoryoutputstream.h:
1969 * gmountoperation.c:
1970 * gmountoperation.h:
1973 * gpollfilemonitor.c:
1976 * gsimpleasyncresult.c:
1977 * gsimpleasyncresult.h:
1978 * gsocketinputstream.c:
1979 * gsocketinputstream.h:
1980 * gsocketoutputstream.c:
1981 * gsocketoutputstream.h:
1988 * gunixvolumemonitor.c:
1997 Bumps documentation to 93% symbol coverage, touching most
1998 of the public files. Fixes broken function documentation prototypes.
1999 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2000 gtk-doc headers in private files.
2002 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
2004 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2005 (g_buffered_input_stream_read_byte):
2006 * gbufferedinputstream.h:
2007 New functions for efficient access to buffer and simple single byte
2010 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2011 (g_data_input_stream_read_until):
2012 * gdatainputstream.h:
2013 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2014 read_until with multiple stop chars.
2016 2007-11-27 Alexander Larsson <alexl@redhat.com>
2020 * inotify/Makefile.am:
2021 Use the user-specified giomoduledir
2023 2007-11-27 Alexander Larsson <alexl@redhat.com>
2027 Add catch-all gio.h header
2028 Don't install gdummyfile.h
2030 2007-11-26 Alexander Larsson <alexl@redhat.com>
2032 * Makefile.am (gioinclude_HEADERS):
2033 Remove trailing whitespace
2035 2007-11-26 Alexander Larsson <alexl@redhat.com>
2037 Merge gio-standalone into glib
2039 2007-11-25 Christian Kellner <gicmo@gnome.org>
2041 * gio/goutputstream.c:
2042 Fix small mistake in the docs.
2044 2007-11-21 Christian Persch <chpe@gnome.org>
2046 * gio/glocalfile.c: (g_local_file_trash):
2047 Convert filenames to UTF-8 for GError.
2048 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2049 as per xdg base dir spec.
2051 2007-11-21 Christian Persch <chpe@gnome.org>
2053 * gio/gdesktopappinfo.c:
2054 Use that g_key_file_to_data cannot fail.
2056 Use stock defines for the key file group and key names.
2059 2007-11-21 Alexander Larsson <alexl@redhat.com>
2062 (copy_stream_with_progress):
2063 Make sure we do a final progress callback with
2064 the full total size.
2066 2007-11-21 Alexander Larsson <alexl@redhat.com>
2069 Export g_file_copy_attributes
2070 Remove padding as its not needed for interfaces
2072 2007-11-20 Alexander Larsson <alexl@redhat.com>
2077 Add G_IO_ERROR_WOULD_MERGE for
2078 copy/move dir on dir with overwrite.
2080 2007-11-20 Alexander Larsson <alexl@redhat.com>
2083 * gio/glocalfileinfo.c:
2084 Add COPY_NAME (this is an optional
2085 non-modified utf8 version of the name) that
2088 2007-11-20 Alexander Larsson <alexl@redhat.com>
2090 * gio/glocalfileenumerator.c:
2091 Report errors as GIOError, not GFileError
2093 2007-11-16 Alexander Larsson <alexl@redhat.com>
2095 * gio/glocalfileoutputstream.c:
2096 * gio/gwin32appinfo.c:
2097 Fix typos in strings.
2098 Patch from Luca Ferretti <elle.uca@libero.it>
2100 2007-11-15 Alexander Larsson <alexl@redhat.com>
2103 Post release version bump
2105 === gio-standalone 0.1.2 ===
2107 2007-11-15 Alexander Larsson <alexl@redhat.com>
2109 * docs/reference/gio/Makefile.am:
2110 Fix up distcheck by removing weird
2116 2007-11-14 Alexander Larsson <alexl@redhat.com>
2118 * gio/gdesktopappinfo.c:
2119 * gio/glocaldirectorymonitor.c:
2121 * gio/glocalfileinfo.c:
2122 * gio/inotify/inotify-sub.c:
2123 * programs/gio-cat.c:
2124 * programs/gio-copy.c:
2125 * programs/gio-info.c:
2126 * programs/gio-ls.c:
2127 * programs/gio-monitor-dir.c:
2128 * programs/gio-monitor-file.c:
2129 * programs/gio-mount.c:
2130 * programs/gio-move.c:
2131 * programs/gio-rm.c:
2132 * programs/gio-save.c:
2133 * programs/gio-trash.c:
2134 Leak fixes from Kjartan Maraas
2136 2007-11-14 Alexander Larsson <alexl@redhat.com>
2138 * gio/fam/fam-helper.c:
2140 * gio/glocalfileinfo.c:
2144 * gio/inotify/inotify-diag.c:
2145 * gio/inotify/inotify-kernel.c:
2146 Various code cleanups from Kjartan Maraas
2148 2007-11-14 Alexander Larsson <alexl@redhat.com>
2150 * gio/gioscheduler.c:
2152 Set up threadpool so that we cache 2 unused
2153 idle threads for at 15 secs. This means we
2154 will reuse thread-local data (like dbus connections)
2157 2007-11-14 Alexander Larsson <alexl@redhat.com>
2159 * gio/fam/fam-helper.c:
2160 * gio/fam/gfamdirectorymonitor.c:
2161 * gio/fam/gfamfilemonitor.c:
2163 * gio/gcontenttype.c:
2164 * gio/gdatainputstream.c:
2165 * gio/gdataoutputstream.c:
2169 * gio/gfileattribute.h:
2170 * gio/gfileenumerator.c:
2172 * gio/ginputstream.c:
2175 * gio/glocalfileinfo.c:
2176 * gio/goutputstream.c:
2177 * gio/gpollfilemonitor.c:
2178 * gio/gsimpleasyncresult.c:
2179 * gio/gunixmounts.c:
2180 * gio/gunixmounts.h:
2181 * gio/inotify/ginotifydirectorymonitor.c:
2182 * gio/inotify/ginotifyfilemonitor.c:
2183 * gio/inotify/inotify-diag.c:
2184 * gio/inotify/inotify-kernel.c:
2185 * gio/inotify/inotify-path.c:
2187 * gio/test-streams.c:
2188 * programs/gio-info.c:
2189 * programs/gio-monitor-dir.c:
2190 * programs/gio-monitor-file.c:
2191 Various code cleanups from Kjartan Maraas
2193 2007-11-13 Alexander Larsson <alexl@redhat.com>
2196 Handle the uri-scheme calls for dummy files
2198 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2200 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2201 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2202 to avoid clash with the C++ keyword.
2204 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2206 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2207 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2209 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2211 * gio/glocaldirectorymonitor.c:
2212 * gio/glocalfilemonitor.c:
2213 * gio/gunionvolumemonitor.c:
2214 Don't use g_once_init_*() for initializations that could fail and
2215 could leave the initialization variable set to 0 but use GOnce.
2216 This prevents a deadlock on the second call when trying to create
2217 a monitor and no monitor type is available. Thanks to Sven Herzberg
2220 2007-11-11 Sven Herzberg <sven@imendio.com>
2222 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2223 #ifdef (make it work on MacOS X again)
2225 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2227 Fixes Changelog for last two commits (sorry guys).
2229 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2231 * gio/gbufferedinputstream.c:
2232 * gio/gdatainputstream.c:
2234 * gio/gfileoutputstream.c:
2235 * gio/gfilterinputstream.c:
2236 * gio/glocalfileinputstream.c:
2239 More consistency fixes in g*stream.c files.
2240 Significant clean of gfile's documentation, filling in of
2241 asynchronous operations documentation.
2243 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2245 * gio/gasyncresult.c:
2246 * gio/gbufferedinputstream.c:
2247 * gio/gbufferedoutputstream.c:
2248 * gio/gcancellable.c:
2249 * gio/gcontenttype.c:
2250 * gio/gdatainputstream.c:
2251 * gio/gdataoutputstream.c:
2252 * gio/gdesktopappinfo.c:
2255 * gio/gfileattribute.c:
2256 * gio/gio/gfileenumerator.c:
2258 * gio/gfileinputstream.c:
2259 * gio/gfilemonitor.c:
2260 * gio/gfileoutputstream.c:
2261 * gio/ginputstream.c:
2263 * gio/gioscheduler.c:
2264 * gio/gloadableicon.c:
2265 * gio/glocalfileoutputstream.c:
2266 * gio/gmemoryoutputstream.c:
2267 * gio/gmountoperation.c:
2268 * gio/goutputstream.c:
2270 * gio/gsimpleasyncresult.c:
2271 * gio/gunionvolumemonitor.c:
2272 * gio/gunixmounts.c:
2273 * gio/gunixvolume.c:
2277 * gio/gvolumemonitor.c:
2278 Updated documentation stubs, working towards consistency and
2281 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2283 * gio/gmemoryoutputstream.c:
2284 * gio/gmemoryoutputstream.h:
2285 Change g_memory_output_stream_set_free_on_close() to
2286 g_memory_output_stream_set_free_data() as this makes more sense and
2287 is more consistent with GMemoryInputStream.
2289 2007-11-07 Alexander Larsson <alexl@redhat.com>
2296 Change how we find the default vfs so that
2297 we can handle a gvfs failing to init
2299 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2301 * gio/gbufferedoutputstream.c:
2302 * gio/gdatainputstream.c:
2303 * gio/gdataoutputstream.c:
2304 * gio/gfileinputstream.c:
2305 * gio/gfileoutputstream.c:
2306 * gio/gfilterinputstream.c:
2307 * gio/gfilteroutputstream.c:
2308 * gio/ginputstream.c:
2309 * gio/gmemoryinputstream.c:
2310 * gio/gmemoryoutputstream.c:
2311 * gio/goutputstream.c:
2312 * gio/gsimpleasyncresult.c:
2313 * gio/gsocketinputstream.c:
2314 * gio/gsocketoutputstream.c:
2315 Add guards to the remaining public functions, add a TODO for
2316 an unimplemented function and remove some useless guards.
2318 2007-11-07 Alexander Larsson <alexl@redhat.com>
2321 Autoconf checks for the various types of
2322 getpwuid_r and getgrgid_r
2324 * gio/glocalfileinfo.c:
2325 Use the autoconf checks from above
2327 2007-11-07 Alexander Larsson <alexl@redhat.com>
2330 (g_local_file_query_filesystem_info):
2331 Some fixes for the statvfs case
2333 2007-11-07 Alexander Larsson <alexl@redhat.com>
2336 (g_local_file_query_filesystem_info):
2337 Pick the "best" of statfs / statvfs for the system
2338 if both are availible.
2340 2007-11-07 Alexander Larsson <alexl@redhat.com>
2342 Solaris fixes from Halton.Huo@Sun.COM:
2349 * gio/glocalfileinfo.c:
2350 Fix for solaris definition of getpwuid_r
2352 * gio/test-streams.c:
2353 Use G_GNUC_PRETTY_FUNCTION
2355 2007-11-07 Alexander Larsson <alexl@redhat.com>
2357 * gio/gdesktopappinfo.c:
2358 (update_default_list):
2359 Remove double semicolon.
2360 Patch from Jens Granseuer
2362 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2364 * docs/reference/gio/gio-sections.txt:
2365 * gio/gbufferedinputstream.c:
2366 * gio/gbufferedinputstream.h:
2367 * gio/gdatainputstream.c:
2368 * gio/gfileenumerator.c:
2369 * gio/gioscheduler.c:
2370 * gio/gunionvolumemonitor.c:
2372 * programs/gio-save.c:
2373 Fix typo: availible -> available. Unfortuntely this breaks API
2374 and ABI as g_buffered_input_stream_get_available() was renamed.
2376 * gio/gunixmounts.c:
2377 * gio/gbufferedinputstream.c:
2378 Add guards for public functions.
2380 2007-11-06 Ross Burton <ross@openedhand.com>
2382 * docs/reference/gio/Makefile.am:
2383 Fix invalid += usage which automake 1.10 doesn't like.
2385 2007-11-06 Alexander Larsson <alexl@redhat.com>
2388 (g_app_launch_context_class_init):
2391 Patch from Ross Burton
2393 2007-11-06 Alexander Larsson <alexl@redhat.com>
2396 Post release version bump
2398 === gio-standalone 0.1.1 ===
2400 2007-11-06 Alexander Larsson <alexl@redhat.com>
2403 Bump version to 0.1.1
2405 * gio/gsimpleasyncresult.c:
2406 (g_simple_async_result_set_from_error):
2407 Remove bogus g_return_if_fail
2409 2007-11-06 Alexander Larsson <alexl@redhat.com>
2412 The name is gio-standalone
2415 Add top src/builddir to includedir
2417 2007-11-06 Alexander Larsson <alexl@redhat.com>
2419 * docs/reference/gio/gio-sections.txt:
2421 * gio/gbufferedinputstream.c:
2422 * gio/gbufferedoutputstream.c:
2423 * gio/gcancellable.c:
2424 * gio/gdatainputstream.h:
2425 * gio/gdataoutputstream.c:
2426 * gio/gdataoutputstream.h:
2427 * gio/gdirectorymonitor.c:
2429 * gio/gfileattribute.c:
2430 * gio/gfileattribute.h:
2431 * gio/gfileenumerator.c:
2432 * gio/gfileenumerator.h:
2435 * gio/gfileinputstream.h:
2436 * gio/gfilemonitor.c:
2437 * gio/gfileoutputstream.h:
2438 * gio/glocalfilemonitor.h:
2439 * gio/glocalfileoutputstream.h:
2440 * gio/gmemoryinputstream.c:
2441 * gio/gmemoryoutputstream.c:
2442 * gio/gmountoperation.c:
2443 * gio/goutputstream.c:
2444 * gio/goutputstream.h:
2446 * gio/gsimpleasyncresult.c:
2447 * gio/gunixmounts.c:
2448 * gio/gunixmounts.h:
2450 * gio/inotify/inotify-helper.c:
2451 Fix gtk-doc warnings
2453 Patch from Ross Burton
2455 2007-11-06 Alexander Larsson <alexl@redhat.com>
2457 * gio/gfilenamecompleter.c:
2458 (g_filename_completer_get_completions):
2461 * gio/gunixvolume.c:
2462 Remove unused function
2464 Patches from Ross Burton
2466 2007-11-06 Alexander Larsson <alexl@redhat.com>
2471 Padding not needed for interfaces
2473 2007-11-06 Alexander Larsson <alexl@redhat.com>
2475 * gio/gfilemonitor.c:
2479 Make giotypes.h an internal file
2482 * gio/gbufferedinputstream.h:
2483 * gio/gbufferedoutputstream.h:
2484 * gio/gcancellable.h:
2485 * gio/gdatainputstream.h:
2486 * gio/gdataoutputstream.h:
2487 * gio/gdirectorymonitor.c:
2488 * gio/gdirectorymonitor.h:
2493 * gio/gfileattribute.h:
2494 * gio/gfileenumerator.h:
2499 * gio/gfilemonitor.c:
2500 * gio/gfilemonitor.h:
2501 * gio/gfilenamecompleter.c:
2502 * gio/gfilenamecompleter.h:
2503 * gio/gfilterinputstream.h:
2504 * gio/gfilteroutputstream.h:
2505 * gio/ginputstream.h:
2506 * gio/gmemoryinputstream.h:
2507 * gio/gmemoryoutputstream.h:
2508 * gio/gmountoperation.c:
2509 * gio/gmountoperation.h:
2510 * gio/gnativevolumemonitor.c:
2511 * gio/goutputstream.h:
2514 * gio/gsimpleasyncresult.c:
2515 * gio/gsimpleasyncresult.h:
2516 * gio/gsocketinputstream.h:
2517 * gio/gsocketoutputstream.h:
2518 * gio/gthemedicon.c:
2519 * gio/gthemedicon.h:
2523 * gio/gvolumemonitor.c:
2524 * gio/gvolumemonitor.h:
2525 Add padding in classes where it seems useful
2526 Don't include giotypes.h from public headers
2527 Move in Class definitions into c file where possible
2532 2007-11-06 Alexander Larsson <alexl@redhat.com>
2534 * docs/reference/gio/gio-docs.xml:
2535 Better structure for API docs
2537 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2540 * gio/gloadableicon.c:
2541 * gio/gsimpleasyncresult.c:
2542 * gio/gthemedicon.c:
2543 Add some more guards to public functions. Only files missing are now
2546 2007-11-06 Alexander Larsson <alexl@redhat.com>
2548 * docs/reference/gio/gio-docs.xml:
2549 Remove old files, add missing ones
2551 2007-11-06 Alexander Larsson <alexl@redhat.com>
2553 * docs/reference/gio/gio-sections.txt:
2556 Hide implementation classes
2558 * gio/gdriveprivate.h:
2559 * gio/gvolumeprivate.h:
2560 Remove non-existing function declarations
2562 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2565 Fix compilation warnings and add guards to the new functions.
2567 * gio/gasyncresult.c:
2569 Add guards to the public functions.
2572 Implement get_path().
2574 2007-11-06 Alexander Larsson <alexl@redhat.com>
2576 * gio/gfilenamecompleter.c:
2577 Make g_filename_completer_get_completions
2578 return char ** instead of GList for
2581 * docs/reference/gio/gio-docs.xml:
2582 * docs/reference/gio/gio-sections.txt:
2584 * gio/gasyncresult.c:
2585 * gio/gbufferedinputstream.c:
2586 * gio/gbufferedoutputstream.c:
2587 * gio/gcancellable.c:
2588 * gio/gcontenttype.c:
2589 * gio/gdatainputstream.c:
2590 * gio/gdataoutputstream.c:
2591 * gio/gdesktopappinfo.c:
2592 * gio/gdirectorymonitor.c:
2596 * gio/gfileattribute.c:
2597 * gio/gfileenumerator.c:
2600 * gio/gfileinputstream.c:
2601 * gio/gfilemonitor.c:
2602 * gio/gfilenamecompleter.c:
2603 * gio/gfilenamecompleter.h:
2604 * gio/gfileoutputstream.c:
2605 * gio/gfilterinputstream.c:
2607 * gio/ginputstream.c:
2609 * gio/gioscheduler.c:
2610 * gio/gloadableicon.c:
2611 * gio/glocaldirectorymonitor.c:
2613 * gio/glocalfileinputstream.c:
2614 * gio/glocalfilemonitor.c:
2615 * gio/glocalfileoutputstream.c:
2617 * gio/gmemoryinputstream.c:
2618 * gio/gmemoryoutputstream.c:
2619 * gio/gmountoperation.c:
2620 * gio/goutputstream.c:
2621 * gio/gpollfilemonitor.c:
2623 * gio/gsimpleasyncresult.c:
2624 * gio/gsocketinputstream.c:
2625 * gio/gsocketoutputstream.c:
2626 * gio/gthemedicon.c:
2627 * gio/gunionvolumemonitor.c:
2629 * gio/gunixmounts.c:
2630 * gio/gunixvolume.c:
2631 * gio/gunixvolumemonitor.c:
2635 * gio/gvolumemonitor.c:
2636 * gio/gwin32appinfo.c:
2637 Add (mostly stub) doc strings to public functions.
2638 Patch from Andrew Walton (awalton@gmail.com)
2640 2007-11-06 Alexander Larsson <alexl@redhat.com>
2642 * gio/gappinfo.[ch]:
2643 Added GAppLaunchContext object and pass that to launch.
2644 This allows simple implementation of both
2645 launch-on-screen and startup notification via a gtk+
2646 subclass of GAppLaunchContext
2648 * gio/gdesktopappinfo.c:
2649 Implement GAppLaunchContext API
2651 * gio/gwin32appinfo.c:
2654 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2656 * gio/gmountoperation.c:
2657 Add some guards to GMountOperation's public functions.
2659 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2663 * gio/gcancellable.c:
2664 * gio/gdirectorymonitor.c:
2666 * gio/gfileenumerator.c:
2667 * gio/gfilemonitor.c:,
2668 * gio/gfilenamecompleter.c:
2671 * gio/gioscheduler.c:
2675 * gio/gvolumemonitor.c:
2676 Add even more guards to various public functions.
2678 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2681 Add guards to the public functions of GAppInfo.
2683 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2685 * gio/gcontenttype.c:
2686 Add some more guards for public functions.
2688 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2690 * gio/fam/fam-module.c:
2691 * gio/fam/gfamdirectorymonitor.c:
2692 * gio/fam/gfamdirectorymonitor.h:
2693 * gio/fam/gfamfilemonitor.c:
2694 * gio/fam/gfamfilemonitor.h:
2695 * gio/inotify/ginotifydirectorymonitor.c:
2696 * gio/inotify/ginotifydirectorymonitor.h:
2697 * gio/inotify/ginotifyfilemonitor.c:
2698 * gio/inotify/ginotifyfilemonitor.h:
2699 Add proper copyright information and remove an unused variable
2700 in the GInotifyFileMonitor constructor.
2702 * gio/gcancellable.c:
2703 Add a guard for a public function and an assertion to prevent
2704 an undefined program state.
2706 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2708 * gio/gfileattribute.c:
2709 Don't run into an assertion if the given attribute value is NULL
2710 in g_file_attribute_value_get_*() but instead return a fallback
2711 value that makes sense in most situations. Passing them a attribute
2712 value with the wrong type will still run into an assertion.
2714 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2716 * gio/gfileattribute.c:
2718 Add even more guards to the public functions. Also fix the refcounting
2719 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2720 let g_file_info_list_attributes() filter the attributes by namespace
2721 instead of simply ignoring the namespace parameter.
2723 2007-11-03 Sven Herzberg <sven@imendio.com>
2725 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2726 (This makes gio work on MacOS X again)
2728 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2731 Build the gio subdirectory before the docs. Otherwise the build will
2734 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2735 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2736 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2737 Add guards to the public functions.
2739 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2741 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2742 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2743 to prevent a compiler warning.
2745 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2746 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2747 return something in the non-void function find_topdir_for().
2749 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2756 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2758 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2759 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2760 * gwin32appinfo.c (g_win32_app_info_launch):
2761 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2762 envp_for_startup_id, g_desktop_app_info_launch,
2763 g_desktop_app_info_launch_uris):
2765 Give an opaque 'startup_id' string instead of 'envp'.
2766 Support empty file lists for launching new windows.
2767 Fix infinite recursion bug when launching URIs.
2769 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2772 Add guard to the new g_file_get_uri_scheme() function.
2774 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2777 Convert a g_return_val_if_fail() to setting the GError instead as
2778 otherwise applications have to verify the parameter before otherwise
2779 and the parameter might come directly from the user.
2781 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2783 * gio/inotify/ginotify*.[ch]:
2784 Add missing copyright information.
2786 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2789 Add guards in the beginning of public functions to check for valid
2790 parameters and fix a bug in copy_stream_with_progress() that could've
2791 caused writing less bytes than reading.
2792 * gio/glocalfileinfo.c:
2793 Check for a NULL parameter and set the GError accordingly then.
2794 * gio/goutputstream.c:
2795 Fix the same bug as in gfile.c that could've caused writing less bytes
2796 than reading in g_output_stream_real_splice().
2798 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2801 Use the correct gvolumeprivate.h naming
2803 2007-11-01 Christian Kellner <gicmo@gnome.org>
2806 Remove leftover "$(daemon_sources)" entry.
2808 2007-11-01 Christian Kellner <gicmo@gnome.org>
2813 Add copyright information to source files.
2815 2007-11-01 Alexander Larsson <alexl@redhat.com>
2819 Add g_file_get_uri_scheme
2821 2007-11-01 Alexander Larsson <alexl@redhat.com>
2824 * gio/gdesktopappinfo.c:
2825 * gio/gwin32appinfo.c:
2826 Add g_app_info_get_default_for_uri_scheme.
2828 2007-11-01 Alexander Larsson <alexl@redhat.com>
2831 Correct filename for gdriveprivate.h
2833 2007-10-31 Alexander Larsson <alexl@redhat.com>
2836 Rename id:value to id:file
2839 * gio/glocalfileinfo.c:
2842 2007-10-31 Alexander Larsson <alexl@redhat.com>
2844 * gio/gunixvolume.c:
2846 Remove g_volume_get_platform_id, as thats not
2847 needed with the simpler union volume monitor
2849 2007-10-31 Alexander Larsson <alexl@redhat.com>
2852 * gio/guniondrive.[ch]: Removed.
2853 * gio/gunionvolume.[ch]: Removed.
2854 Remove GUnionDrive/Volume
2856 * gio/gunionvolumemonitor.c:
2857 Simplify union volume monitor, now we
2858 only have one native volume monitor and
2859 we use the actual volumes/drives from the
2860 child monitors instead of wrapping them
2862 * gio/gnativevolumemonitor.[ch]:
2863 Base class for native volume monitors.
2864 Includes priority and get_volume_for_mountpoint
2867 Add g_file_find_enclosing_volume
2870 Remove volume name fs attribute
2871 Add readonly fs attribute
2874 Implement readonly attribute
2875 remove volume name attribute
2876 Implement find_enclosing volume
2878 * gio/gunixmounts.c:
2879 Add a volume for "/".
2881 * gio/gunixvolume.[ch]:
2882 Set better name for /
2884 * gio/gunixvolumemonitor.[ch]:
2885 Derive from GNativeVolumeMonitor
2886 Implement get_volume_for_mountpoint
2889 GVolume typedef moved to gfile.h
2891 * gio/gvolumeprivate.h:
2892 Add g_volume_get_for_mount_path
2894 2007-10-31 Alexander Larsson <alexl@redhat.com>
2896 * gio/gunixmounts.[ch]:
2897 Add cache info to unix mount listers
2898 Make getmntent use threadsafe
2899 Add is_system_internal attribute for GUnixMount
2901 * gio/gunixvolume.c:
2902 (g_unix_volume_new):
2903 Use is_system_internal instead of own code
2905 * gio/glocaldirectorymonitor.c:
2906 * gio/gunixvolumemonitor.c:
2907 Update to new gunixmounts API
2912 2007-10-30 Alexander Larsson <alexl@redhat.com>
2915 Add volume name fsinfo attribute
2918 Read volume name info
2920 * gio/gunionvolumemonitor.c:
2921 Fix infinite loops when finalizing a union volume monitor
2923 2007-10-30 Alexander Larsson <alexl@redhat.com>
2925 * gio/goutputstream.[ch]:
2926 Add splice() with default implementation
2928 * gio/gsocketoutputstream.c:
2929 (g_socket_output_stream_write):
2930 Return error on cancellation correctly.
2932 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2934 * gio/glocalfile.c (g_local_file_trash):
2935 Do not leak a string.
2937 2007-10-26 Paolo Borelli <pborelli@katamail.com>
2939 * gio/gfile.c (g_file_load_contents):
2940 Unref the stream after closing it.
2942 2007-10-25 Alexander Larsson <alexl@redhat.com>
2944 * gio/gioscheduler.h:
2947 2007-10-25 Alexander Larsson <alexl@redhat.com>
2951 Add g_file_has_uri_scheme and implement for local files
2953 2007-10-25 Paolo Borelli <pborelli@katamail.com>
2955 * gio/gdesktopappinfo.c: do not leak a string.
2957 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2959 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
2960 (g_local_directory_monitor_new):
2961 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
2962 (g_local_file_monitor_new):
2963 Only look for the monitor type that should be used the first time
2964 and use g_qsort_with_data() instead of our own bubble sort
2967 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
2970 * gio/fam/Makefile.am:
2971 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
2972 * gio/fam/fam-helper.h:
2973 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
2974 * gio/fam/gfamdirectorymonitor.c:
2975 * gio/fam/gfamdirectorymonitor.h:
2976 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
2977 * gio/fam/gfamfilemonitor.h:
2978 * gio/glocaldirectorymonitor.c:
2979 * gio/glocaldirectorymonitor.h:
2980 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
2981 * gio/glocalfilemonitor.h:
2982 * gio/inotify/Makefile.am:
2983 * gio/inotify/ginotifydirectorymonitor.c:
2984 * gio/inotify/ginotifydirectorymonitor.h:
2985 * gio/inotify/ginotifyfilemonitor.c:
2986 * gio/inotify/ginotifyfilemonitor.h:
2987 Implement the FAM and Inotify monitors as
2988 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
2989 their own GIO module. GLocal(Directory|File)Monitor will use the
2990 monitor with the highest rank that is supported on that machine.
2992 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
2995 Change GIO module dir to $(libdir)/gio/modules and change
2996 the log domain from GVFS to GIO. Also only export symbols starting
2997 with g_ in the resulting library.
2998 * gio/test-streams.c: (main):
2999 Set log handler for the GIO log domain.
3001 2007-10-22 Alexander Larsson <alexl@redhat.com>
3003 * gio/gfilenamecompleter.[ch]:
3004 Add g_filename_completer_set_dirs_only
3006 2007-10-22 Alexander Larsson <alexl@redhat.com>
3009 * gio/gurifuncs.[ch]:
3010 Add some simple URI helpers
3012 * gio/gfilenamecompleter.[ch]:
3013 Added object for filename (parse name actually) completion
3016 Handle ~ in parse names
3018 2007-10-17 Alexander Larsson <alexl@redhat.com>
3021 * gio/glocalfileinfo.c:
3022 Add and implement id:value attribute
3024 2007-10-17 Alexander Larsson <alexl@redhat.com>
3027 * gio/guniondrive.c:
3029 Add and implement g_drive_has_volumes
3031 2007-10-17 Alexander Larsson <alexl@redhat.com>
3034 * gio/glocalfileinfo.[ch]:
3035 Add unix:is_mountpoint and implement for local files
3037 2007-10-16 Alexander Larsson <alexl@redhat.com>
3039 * gio/gunionvolumemonitor.c:
3040 (g_union_volume_monitor_init):
3041 Fix up the unix type getting so that it works with gcc
3043 2007-10-12 Alexander Larsson <alexl@redhat.com>
3046 * gio/glocalfileinfo.c:
3047 Add thumbnail:failed to file info
3049 2007-10-12 Richard Hult <richard@imendio.com>
3051 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3052 optimizing away the get_type call (happens with some gcc versions,
3053 like the one shipped with OS X 10.4).
3055 2007-10-12 Alexander Larsson <alexl@redhat.com>
3057 * gio/glocalfileinfo.c:
3058 (_g_local_file_info_set_attribute):
3059 Fix build if not HAVE_XATTR
3060 Patch from Milosz Derezynski <internalerror@gmail.com>
3062 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3064 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3065 around for review, otherwise I would have asked you before
3068 2007-10-11 Alexander Larsson <alexl@redhat.com>
3071 Add thumbnail:path attribute
3073 * gio/glocalfileinfo.c:
3074 Implement thumbnail:path for local files
3076 2007-10-11 Alexander Larsson <alexl@redhat.com>
3078 * gio/glocalfileinfo.c:
3079 (_g_local_file_info_get):
3080 Avoid duplicate icon names
3082 2007-10-11 Alexander Larsson <alexl@redhat.com>
3084 * gio/gthemedicon.[ch]:
3085 Change g_themed_icon_get_names return type to const
3087 2007-10-10 Alexander Larsson <alexl@redhat.com>
3089 * gio/glocalfileinfo.c:
3090 Don't reference freed memory
3092 2007-10-10 Alexander Larsson <alexl@redhat.com>
3094 * gio/gfileattribute.c:
3097 * gio/glocalfileinfo.c:
3100 2007-10-10 Alexander Larsson <alexl@redhat.com>
3103 Check for NULL icons
3105 * gio/gfileattribute.c:
3106 Don't dup when getting objects (same as for string attributes)
3108 * gio/gicon.c (g_icon_equal):
3109 Safely handle NULLs in equal
3111 2007-10-10 Alexander Larsson <alexl@redhat.com>
3114 Fix c++ compilation issues
3115 Patch from Milosz Derezynski <internalerror@gmail.com>
3117 2007-10-10 Alexander Larsson <alexl@redhat.com>
3119 * programs/gio-monitor-dir.c:
3120 Don't crash if dir monitor not supported.
3122 2007-10-09 Alexander Larsson <alexl@redhat.com>
3125 Add missing G_END_DECLS
3127 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3129 * gio/gfile.c: (g_file_set_display_name),
3130 (g_file_query_settable_attributes),
3131 (g_file_query_writable_namespaces):
3132 Return NULL not FALSE on errors as the return type is a pointer.
3134 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3136 * gio/glocalfile.c: (g_local_file_monitor_file):
3137 Don't call monitor_file on the default interface vtable (which
3138 is NULL) but simply return NULL. The caller, GFile, will create a
3139 polling monitor if NULL is returned.
3141 2007-10-09 Alexander Larsson <alexl@redhat.com>
3145 * gio-unix-2.0.pc.in:
3146 Add gio-unix-2.0.pc if OS_UNIX
3149 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3151 2007-10-09 Alexander Larsson <alexl@redhat.com>
3153 * gio/gunixmounts.[ch]:
3154 Make unix mount monitoring API sane.
3155 Now its just a object with mounts_changed
3156 and mountpoints_changed signals.
3158 * gio/glocaldirectorymonitor.c:
3159 * gio/gunixvolumemonitor.c:
3160 Use new mount monitor api
3162 2007-10-09 Alexander Larsson <alexl@redhat.com>
3164 * gio/gunixmounts.[ch]:
3165 Move guess type into one call for mounts and one for mountpoints
3168 * gio/gunixvolume.c:
3171 2007-10-09 Alexander Larsson <alexl@redhat.com>
3173 * gio/gunixmounts.[ch]:
3174 Remove _ prefix in preparation to make this semi-public
3175 Hide implementation of structs
3177 * gio/glocaldirectorymonitor.c:
3179 * gio/gunixvolume.c:
3180 * gio/gunixvolumemonitor.c:
3181 Update for above API changes
3183 2007-10-08 Alexander Larsson <alexl@redhat.com>
3186 Better polling fallback. This also handles the case where we have
3187 a monitor_file implementation, but it fails.
3189 2007-10-08 Alexander Larsson <alexl@redhat.com>
3193 * gio/gunixmounts.c:
3194 * programs/gio-monitor-dir.c:
3195 * programs/gio-monitor-file.c:
3196 Added cancellable to file monitoring calls.
3197 These are really sync calls and need this.
3199 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3201 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3202 (g_local_vfs_class_init):
3203 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3204 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3206 2007-10-05 Alexander Larsson <alexl@redhat.com>
3208 * gio/gdirectorymonitorprivate.h:
3209 * gio/gfilemonitorprivate.h:
3210 * gio/gdirectorymonitor.h:
3211 * gio/gfilemonitor.h:
3212 Remove *private.h and move to the public API, so that
3213 we can do implementations outside gio (such as in gvfs)
3215 * gio/gdirectorymonitor.c:
3216 * gio/gfilemonitor.c:
3217 * gio/glocaldirectorymonitor.c:
3218 * gio/gpollfilemonitor.c:
3219 * gio/inotify/inotify-helper.c:
3220 * gio/fam/fam-helper.c:
3221 Update to the new header names
3223 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3225 * gio/gdirectorymonitor.c:
3226 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3229 2007-10-04 Alexander Larsson <alexl@redhat.com>
3231 * gio/glocalfileinfo.c (get_access_rights):
3232 Set CAN_TRASH when we can move the file.
3233 We should really also check for a parent trash dir.
3235 2007-10-04 Alexander Larsson <alexl@redhat.com>
3237 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3238 Add can_trash access attribute
3240 2007-10-04 Alexander Larsson <alexl@redhat.com>
3243 (g_local_file_trash):
3244 Create info file first. This is per-spec and allows
3245 us to actually trash directories.
3247 2007-10-02 Alexander Larsson <alexl@redhat.com>
3249 * gio/gdesktopappinfo.c:
3250 Implement the new mime support code.
3251 Always set app as handling mimetype when being set as default for it
3253 2007-10-01 Alexander Larsson <alexl@redhat.com>
3255 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3256 Fix up check for xattrs:
3258 2007-10-01 Alexander Larsson <alexl@redhat.com>
3261 (g_app_info_set_as_default_for_extension):
3262 (g_app_info_add_supports_type):
3263 (g_app_info_can_remove_supports_type):
3264 (g_app_info_remove_supports_type):
3265 Make these fail nicely if not implemented
3267 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3269 * gio/glocalfileoutputstream.c:
3270 * gio/glocalfileoutputstream.h:
3275 * programs/gio-save.c:
3276 Add a GFileCreateFlags argument to operations that can create
3279 2007-10-01 Alexander Larsson <alexl@redhat.com>
3281 * gio/gappinfo.[ch]:
3282 * gio/gdesktopappinfo.c:
3283 Add more (stubbed out) mime API needed for nautilus
3285 2007-10-01 Alexander Larsson <alexl@redhat.com>
3288 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3289 Add g_app_info_set_as_default_for_extension.
3291 * gio/gdesktopappinfo.c:
3292 Dummy for g_app_info_set_as_default_for_extension
3293 Support flags in g_app_info_create_from_commandline
3295 * gio/gwin32appinfo.c:
3297 Update for API changes
3299 * gio/gthemedicon.c:
3300 Properly NULL-terminate list of icon names
3302 2007-09-28 Alexander Larsson <alexl@redhat.com>
3304 * gio/gloadableicon.h:
3305 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3307 2007-09-28 Alexander Larsson <alexl@redhat.com>
3310 Install headers in $includedir/gio-standalone/
3312 * gio-2.0.pc.in: Added.
3313 * gio-standalone.pc.in: Removed.
3316 Renamed pkg-config file to match glib (for future move)
3317 Update to the new include dir
3320 Add more TODO comments
3322 2007-09-28 Alexander Larsson <alexl@redhat.com>
3324 * gio/gdesktopappinfo.[ch]:
3325 Expose new_from_filename
3326 Add getter for is_hidden and handle it better
3328 2007-09-28 Alexander Larsson <alexl@redhat.com>
3330 * gio/gfileinfo.[ch]:
3331 Rename g_file_size_format_for_display to
3332 g_format_file_size_for_display.
3333 Now it doesn't have the g_file prefix, so we
3334 can later move it to glib.
3336 2007-09-28 Alexander Larsson <alexl@redhat.com>
3338 * gio/gappinfo.[ch]:
3339 Add g_app_info_get_id and g_app_info_get_executable.
3340 Make all getters non-reffing
3341 Make g_app_info_launch take GFile arguments.
3342 Add must_support_uris argument to g_app_info_get_default_for_type.
3344 * gio/gwin32appinfo.c:
3345 Update to GAppInfo api changes
3347 * gio/gdesktopappinfo.c:
3348 Update to GAppInfo api changes
3349 Implement supports_xdg_startup_notify
3351 * gio/gfileicon.c (g_file_icon_get_file):
3352 Make getter non-reffing.
3357 2007-09-27 Alexander Larsson <alexl@redhat.com>
3359 * gio/gfileinfo.[ch]:
3360 Add g_file_size_format_for_display helper
3362 2007-09-27 Alexander Larsson <alexl@redhat.com>
3364 * gio/glocalfileinfo.c:
3365 Set UNIX_GID from gid, not from uid
3367 2007-09-27 Alexander Larsson <alexl@redhat.com>
3370 Add g_file_set_attributes_async
3372 2007-09-27 Alexander Larsson <alexl@redhat.com>
3374 * gio/glocalfile.c (g_local_file_set_display_name):
3375 Fix set_display_name to actually rename to the right place.
3376 Use lstat to look for existing files so we don't overwrite
3379 2007-09-26 Alexander Larsson <alexl@redhat.com>
3382 Add g_file_set_display_name_async()
3384 2007-09-26 Alexander Larsson <alexl@redhat.com>
3387 Add load_partial_contents async calls
3390 Make internal function static
3392 2007-09-26 Alexander Larsson <alexl@redhat.com>
3394 * gio/glocalfileinfo.c:
3395 Correctly detect broken symlinks
3397 2007-09-26 Alexander Larsson <alexl@redhat.com>
3399 * gio/gcancellable.c (g_cancellable_cancel):
3400 Allow cancel on NULL cancellable
3402 2007-09-25 Alexander Larsson <alexl@redhat.com>
3404 * gio/gsimpleasyncresult.c:
3405 Don't allocate g_error manually.
3406 Fixes g_slice/g_new mixup crash
3408 2007-09-25 Alexander Larsson <alexl@redhat.com>
3410 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3411 Actually set active_backend.
3412 This means the monitor will be cancelled correctly.
3414 2007-09-25 Alexander Larsson <alexl@redhat.com>
3416 * gio/gdirectorymonitor.c:
3417 Set timeout to NULL when destroying
3419 2007-09-25 Alexander Larsson <alexl@redhat.com>
3422 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3423 that is a better description of the error.
3425 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3427 * gio/gvfs.c: (g_vfs_get_local):
3428 Make the local vfs variable static. The same instance should
3431 2007-09-24 Alexander Larsson <alexl@redhat.com>
3433 * gio/glocalfileinfo.c:
3434 Pass in actual length read into sniffer, not the length
3437 2007-09-21 Alexander Larsson <alexl@redhat.com>
3439 * gio/gfileenumerator.c:
3442 * gio/gfileinputstream.c:
3443 * gio/gfileoutputstream.c:
3444 * gio/ginputstream.c:
3445 * gio/goutputstream.c:
3446 Don't crash if async callbacks are NULL
3448 2007-09-20 Alexander Larsson <alexl@redhat.com>
3451 Add async enumerate_children method and default
3454 2007-09-20 Alexander Larsson <alexl@redhat.com>
3457 Add g_file_contains_file & g_file_get_relative_path, since they
3458 were needed for nautilus.
3459 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3464 Implement new methods
3466 2007-09-17 Alexander Larsson <alexl@redhat.com>
3469 * gio/gfileinputstream.[ch]:
3470 * gio/gfileoutputstream.[ch]:
3472 * gio/glocalfileenumerator.[ch]:
3473 * gio/glocalfileinfo.[ch]:
3474 * gio/glocalfileinputstream.c:
3475 * gio/glocalfileoutputstream.c:
3476 * gio/gpollfilemonitor.c:
3477 * programs/gio-copy.c:
3478 * programs/gio-info.c:
3479 * programs/gio-move.c:
3480 Rename get_file_info to query_info() to make it clearer
3481 that these are not simple getters, but do i/o.
3483 2007-09-17 Alexander Larsson <alexl@redhat.com>
3485 * gio/gdatainputstream.[ch]:
3486 * gio/test-streams.c:
3487 Use _read_XXX instead of _get_XXX for the i/o calls
3490 2007-09-17 Alexander Larsson <alexl@redhat.com>
3493 Added needed stuff to TODO comment
3495 2007-09-17 Alexander Larsson <alexl@redhat.com>
3497 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3498 Don't error out removing the backup copy if it doesn't
3501 2007-09-14 Alexander Larsson <alexl@redhat.com>
3503 * programs/Makefile.am:
3504 * programs/gvfs-*.c:
3506 Renamed apps from gvfs-xxx to gio-xxx.
3508 2007-09-14 Alexander Larsson <alexl@redhat.com>
3511 * gio/gfileoutputstream.[ch]:
3512 * gio/glocalfileoutputstream.c:
3513 * programs/gvfs-save.c:
3514 g_file_output_stream_get_etag doesn't do i/o, so remove
3515 cancellation and error.
3517 2007-09-14 Alexander Larsson <alexl@redhat.com>
3520 Add new_etag output to replace_contents functions
3522 2007-09-14 Alexander Larsson <alexl@redhat.com>
3524 * gio/gfileoutputstream.[ch]:
3525 Add async get_file_info and default implementation
3527 2007-09-14 Alexander Larsson <alexl@redhat.com>
3529 * gio/gfileinputstream.c:
3530 Implement fallback wrapper for async get_file_info
3532 2007-09-14 Alexander Larsson <alexl@redhat.com>
3535 Add etag out argument to load_contents
3540 2007-09-14 Alexander Larsson <alexl@redhat.com>
3542 * gio/gcontenttype.c (looks_like_text):
3543 Whitespace like tab, cr and lf do not make the
3546 2007-09-14 Alexander Larsson <alexl@redhat.com>
3548 * gio/gfileinputstream.[ch]:
3549 Add async get_file_info.
3551 2007-09-13 Alexander Larsson <alexl@redhat.com>
3553 * gio/goutputstream.c (g_output_stream_write_all):
3554 Allow NULL for bytes_written
3556 2007-09-13 Alexander Larsson <alexl@redhat.com>
3558 * gio/gmemoryinputstream.[ch]:
3559 Add accessors for data
3561 2007-09-13 Alexander Larsson <alexl@redhat.com>
3563 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3564 Don't crash if length is NULL