1 2008-02-25 Matthias Clasen <mclasen@redhat.com>
3 * === Released 2.15.6 ===
5 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
7 * gfile.c (g_file_find_enclosing_mount):
8 * ginputstream.c (g_input_stream_set_pending):
9 * glocalfile.c (g_local_file_find_enclosing_mount):
10 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
11 * goutputstream.c (g_output_stream_set_pending):
13 Fixup translator comments (#518578).
15 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
17 * gfile.c (g_file_find_enclosing_mount):
19 * glocalfile.c (g_local_file_find_enclosing_mount):
22 Fix a few typos in translator comments and documentation.
24 2008-02-25 Alexander Larsson <alexl@redhat.com>
31 Add translator comments (#518578)
33 2008-02-25 Alexander Larsson <alexl@redhat.com>
36 Reintroduce g_file_contains_file, keep around for one
37 unstable release cycle to avoid crashing to many apps.
38 Make sure to delete after release.
40 2008-02-25 Alexander Larsson <alexl@redhat.com>
43 Remove deprecated g_file_contains_file.
45 2008-02-25 Alexander Larsson <alexl@redhat.com>
48 Emit actual change signals in an idle handler.
49 This avoids reentrance and locking problems in
50 the file notification backends.
52 2008-02-25 Alexander Larsson <alexl@redhat.com>
55 (g_unix_mount_guess_should_display):
56 Remove type guessing, instead just display
57 mounts in /media and in ~/.
59 2008-02-25 Alexander Larsson <alexl@redhat.com>
62 Make new strings reuse old ones.
64 2008-02-25 Alexander Larsson <alexl@redhat.com>
67 Implement trashing and filesystem::readonly for win32 (#517235)
68 Patch from Yevgen Muntyan
70 2008-02-23 Matthias Clasen <mclasen@redhat.com>
72 * gfileinfo.h: Documentation fixes.
74 2008-02-22 Alexander Larsson <alexl@redhat.com>
76 * gcontenttype.c (g_content_type_get_icon):
77 Look at old-style gnome mime icon names too, as many
78 have not moved to the new style.
80 2008-02-21 Matthias Clasen <mclasen@redhat.com>
82 * *.c: Correct the @include in for section docs.
84 2008-02-21 David Zeuthen <davidz@redhat.com>
86 * glocalfileinfo.c: (_g_local_file_info_get):
88 (g_content_type_get_icon): Implement this function by
89 moving bits from glocalfileinfo.c
90 (g_content_type_get_description): Unalias before getting
93 * gfile.c: (g_file_class_init),
94 (g_file_query_filesystem_info_async),
95 (g_file_query_filesystem_info_finish),
96 (query_filesystem_info_data_free),
97 (query_filesystem_info_async_thread),
98 (g_file_real_query_filesystem_info_async),
99 (g_file_real_query_filesystem_info_finish):
100 * gfile.h: Implement async version of
101 g_file_query_filesystem_info()
103 * gfileinfo.h: Add new attributes for filesystem::use-preview
105 * gio.symbols: Update
107 * gthemedicon.c: (g_themed_icon_append_name):
108 * gthemedicon.h: Add new new convenience function.
110 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
111 (get_mounts), (get_volumes), (get_connected_drives),
112 (get_volume_for_uuid), (get_mount_for_uuid),
113 (g_union_volume_monitor_init), (populate_union_monitor),
114 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
115 (g_volume_monitor_adopt_orphan_mount):
117 * gvolumemonitor.h: Use recursive locks so it's safe for volume
118 monitor implementations to call into the main volume monitor. Also
119 separate object initialization and volume monitor initialization
120 such that non-native volume monitors can properly adopt their
123 2008-02-21 Alexander Larsson <alexl@redhat.com>
128 2008-02-21 Alexander Larsson <alexl@redhat.com>
131 Add more documentation about how GFiles work (from #517086)
133 2008-02-21 Alexander Larsson <alexl@redhat.com>
137 Add new g_file_has_prefix that does the same as g_file_contains_file.
138 Deprecate g_file_contains_file and add a macro that converts
139 it to g_file_has_prefix.
140 The reason for this change is that the contains_file() name seems to
141 imply that this does more work than what it does, but its really only
142 a name match (from #517086)
147 Update to match the above change.
149 2008-02-20 Benjamin Otte <otte@gnome.org>
151 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
152 (g_file_eject_mountable):
153 even more cases of not returning in error path
155 2008-02-20 Benjamin Otte <otte@gnome.org>
157 * gfile.c: (g_file_mount_mountable):
158 return from function in error path.
160 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
163 Remove trailing coma in GMountMountFlags struct
165 2008-02-18 Alexander Larsson <alexl@redhat.com>
169 * glocalfileoutputstream.c:
170 Use g_unlink/g_rename instead of unlink/rename;
171 do not pass raw filenames to g_set_error. (#517239)
172 Patch from Yevgen Muntyan.
174 2008-02-18 Alexander Larsson <alexl@redhat.com>
177 * glocalfileoutputstream.c:
178 Open files with O_BINARY on windows. (#517140)
180 2008-02-14 Alexander Larsson <alexl@redhat.com>
182 * glocalfileoutputstream.c:
183 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
185 2008-02-14 Alexander Larsson <alexl@redhat.com>
188 Copy permissions with file on copy (#514084)
189 This is what cp does and makes sure e.g. the
190 exec permissions are kept.
191 Its kinda weird in that it keeps the permission bits
192 the same while the uid and gid are different. However
193 the new uid is the user so its not a security issue,
194 and I've heard no complaints about cp on this issue.
196 2008-02-13 Ryan Lortie <desrt@desrt.ca>
198 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
200 2008-02-13 Alexander Larsson <alexl@redhat.com>
202 * inotify/inotify-path.c:
203 Define IN_ONLYDIR if not in header (#515346)
205 2008-02-12 Alexander Larsson <alexl@redhat.com>
207 * tests/live-g-file.c:
210 2008-02-11 Matthias Clasen <mclasen@redhat.com>
212 * === Released 2.15.5 ===
214 2008-02-11 Matthias Clasen <mclasen@redhat.com>
216 * gio.symbols: Add g_mount_mount_flags_get_type.
218 2008-02-11 Alexander Larsson <alexl@redhat.com>
221 (g_file_info_set_attribute_mask):
222 (g_file_attribute_matcher_matches_id):
223 Correctly handle NULL GAttributeMatcher meaning
224 matches nothing. (Fixes #513492)
226 2008-02-11 Alexander Larsson <alexl@redhat.com>
231 Added GMountMountFlags enum and added a flags
232 argument to all mount calls.
234 This is an API/ABI change for future extensibility,
235 as I think we will need at least an
236 inhibit-autorun flag (the panel needs this).
237 There are no flags defined yet though.
239 2008-02-11 Alexander Larsson <alexl@redhat.com>
242 Added new standard::description attribute.
243 Requested by Vincent, and useful for both
246 2008-02-11 Alexander Larsson <alexl@redhat.com>
251 2008-02-11 Matthias Clasen <mclasen@redhat.com>
253 * *.c: Documentation additions
255 2008-02-10 Matthias Clasen <mclasen@redhat.com>
257 * gappinfo.h: Formatting cleanup
258 * gappinfo.c: Fix up docs.
260 2008-02-09 Matthias Clasen <mclasen@redhat.com>
262 * gunixmounts.c: Consistently use getmntent_r() and fall
263 back to getmntent(). (#515492)
265 2008-02-09 Matthias Clasen <mclasen@redhat.com>
267 * gbufferedinputstream.c:
269 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
271 * tests/data-input-stream.c:
272 * tests/data-output-stream.c: Portability fixes.
274 2008-02-08 Alexander Larsson <alexl@redhat.com>
279 Add g_volume_should_automount.
282 2008-02-07 Tor Lillqvist <tml@novell.com>
284 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
285 Win32, too Unix-specific.
287 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
289 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
290 a local plt if the compiler doesn't support what we want. Bug #514702
292 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
294 reviewed by: <delete if not using a buddy>
297 * gunixinputstream.c:
298 * gunixoutputstream.c:
300 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
303 * tests/live-g-file.c:
304 * tests/live-g-file.txt:
305 New GIO testing module working over real data
307 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
309 * glocalfileoutputstream.c (g_local_file_output_stream_close):
310 Fallback to rename() if link() is not available
311 (when no support on target filesystem)
313 2008-02-06 Michael Natterer <mitch@imendio.com>
315 * gfileinfo.c (g_file_info_get_icon): replace
316 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
318 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
320 * gfile.c (g_file_create):
321 Documentation update of error codes
323 2008-02-06 Alexander Larsson <alexl@redhat.com>
326 Update to use both mimeapps.list and
327 defaults.list as discussed on xdg list.
329 2008-02-06 Benjamin Otte <otte@gnome.org>
332 * gfilenamecompleter.c:
333 Fix some typos in the documentation.
335 2008-02-06 Alexander Larsson <alexl@redhat.com>
337 * glocalfile.c (g_local_file_trash):
338 Don't succeed with trash if newly created
339 trash dir has the wrong owner. (#514696)
341 2008-02-05 Alexander Larsson <alexl@redhat.com>
343 * glocalfile.c (g_local_file_move):
344 Don't spew warnings when destination is not
347 2008-02-03 Hans Breuer <hans@breuer.org>
349 * makefile.msc : update
351 2008-02-01 Michael Natterer <mitch@imendio.com>
353 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
354 return value of xdg_mime_list_mime_parents() to a variable of the
357 2008-02-01 Alexander Larsson <alexl@redhat.com>
359 * gappinfo.c (g_app_info_launch_uris):
360 Actually call the launch_uris method, not
363 2008-02-01 Alexander Larsson <alexl@redhat.com>
365 * gdesktopappinfo.c (g_desktop_app_info_equal):
366 Ensure appinfos with no id but same pointer value
369 2008-02-01 Alexander Larsson <alexl@redhat.com>
371 * gappinfo.c (g_app_info_launch_default_for_uri):
374 2008-02-01 Alexander Larsson <alexl@redhat.com>
378 Add g_app_info_launch_default_for_uri utility
381 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
384 Doc fix for g_app_info_get_default_for_uri_scheme ()
387 2008-01-30 Alexander Larsson <alexl@redhat.com>
390 Add doc comment about uris vs GFiles to
394 Ensure uris passed to g_app_info_launch_uris()
395 are not roundtriped through GFile (as that
396 may be slightly destructive for e.g. mailto: links)
398 2008-01-30 Alexander Larsson <alexl@redhat.com>
400 * tests/data-input-stream.c:
401 * tests/data-output-stream.c:
402 C89 fixes from Jens Granseuer (#512849)
404 2008-01-30 Alexander Larsson <alexl@redhat.com>
407 Fix gamin/fam difference build issue. (#509419)
409 2008-01-29 Alexander Larsson <alexl@redhat.com>
413 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
415 2008-01-29 Alexander Larsson <alexl@redhat.com>
419 giomodule-priv.h include moved to .c file.
421 2008-01-29 Alexander Larsson <alexl@redhat.com>
423 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
424 Remove unused prio/name fields.
426 2008-01-29 Alexander Larsson <alexl@redhat.com>
428 * gcontenttype.c (looks_like_text):
429 Don't treat whitespace as control chars.
431 2008-01-29 Alexander Larsson <alexl@redhat.com>
434 Lazily create the desktop files for appinfos created
435 by g_app_info_create_from_commandline() when needed
436 for mime associations. This allows run-time use
437 of GAppInfo object without creating unnecessary
440 2008-01-29 Alexander Larsson <alexl@redhat.com>
443 Added new symbols to gio.symbols
445 2008-01-29 Alexander Larsson <alexl@redhat.com>
448 Add g_file_query_default_handler utility to easily look up
449 the GAppInfo that handles a file.
451 * gdesktopappinfo.[ch]:
453 Set up an extension point for g_app_info_get_default_for_uri_scheme()
456 Remove unused function
458 2008-01-29 Alexander Larsson <alexl@redhat.com>
461 Mention need to free returned value in
462 g_file_enumerator_next_files_finish docs.
463 Fix leak if g_file_enumerator_next_files_finish()
466 2008-01-29 Alexander Larsson <alexl@redhat.com>
469 (_g_unix_content_type_get_parents):
470 Use list_parents, not get_parents from xdgmime, because
471 the later doesn't use the cache.
473 * xdgmime/xdgmimecache.c:
474 (_xdg_mime_cache_list_mime_parents):
475 Don't list the same type as parent multiple times.
477 2008-01-28 Matthias Clasen <mclasen@redhat.com>
479 * === Released 2.15.4 ===
481 2008-01-28 Alexander Larsson <alexl@redhat.com>
484 Register local vfs with prio 0.
487 Remove old name and prio class members
489 2008-01-28 Matthias Clasen <mclasen@redhat.com>
491 * tests/g-file.c: Disable some tests that are failing in
492 the absence of a http backend.
494 2008-01-28 Alexander Larsson <alexl@redhat.com>
498 Add registration hooks for extension points.
499 Register the gio extension points.
501 * fam/gfamdirectorymonitor.c:
502 * fam/gfamfilemonitor.c:
503 * glocaldirectorymonitor.[ch]:
504 * glocalfilemonitor.[ch]:
505 * gnativevolumemonitor.h:
506 * gunionvolumemonitor.c:
507 * gunixvolumemonitor.c:
510 * inotify/ginotifydirectorymonitor.c:
511 * inotify/ginotifyfilemonitor.c:
512 Use the extension points registration instead
513 of g_type_children().
515 2008-01-28 Matthias Clasen <mclasen@redhat.com>
518 * gvolume.[hc]: Document new API.
520 * gfile.c (g_file_copy_async): Fix docs
522 2008-01-27 Matthias Clasen <mclasen@redhat.com>
524 * gbufferedinputstream.c:
526 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
529 2008-01-27 Matthias Clasen <mclasen@redhat.com>
531 * glocalfile.c: Avoid trivial differences in translatable strings.
533 2008-01-25 Matthias Clasen <mclasen@redhat.com>
535 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
536 build with gcc 3.4 (#509419)
538 2008-01-25 Matthias Clasen <mclasen@redhat.com>
540 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
541 (#509994, Murray Cumming)
543 2008-01-25 Matthias Clasen <mclasen@redhat.com>
545 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
546 * gioscheduler.c: Keep calling io jobs until they return FALSE;
547 this allows big jobs to be executed in chunks, instead of blocking
548 the main loop for a long time.
550 * gsimpleasyncresult.c:
551 * giofile.c: Adapt callers.
553 2008-01-25 Alexander Larsson <alexl@redhat.com>
556 Implement changes discussed on xdg list.
557 Now we can add supported mimetypes by just using defaults.list
558 We can also remove associations in defaults.list.
560 2008-01-25 Alexander Larsson <alexl@redhat.com>
563 Don't make local copy of desktop file
564 for mimetype changes if the file already
565 supports the new mimetype.
567 2008-01-25 Matthias Clasen <mclasen@redhat.com>
571 * gbufferedinputstream.c:
572 * glocalfile.c: String improvements. (#511966,
573 Theppitak Karoonboonyanan)
575 2008-01-24 Matthias Clasen <mclasen@redhat.com>
577 * gioscheduler.h: Expand docs a bit.
579 2008-01-24 Alexander Larsson <alexl@redhat.com>
582 Add g_drive_get_identifier and
583 g_drive_enumerate_identifiers
586 Add g_volume_get_identifier and
587 g_volume_enumerate_identifiers
593 Implement identifiers for unix backend
595 2008-01-24 Alexander Larsson <alexl@redhat.com>
600 Add g_file_copy_async() (#511580)
601 Based on patch from Carlos Garcia Campos
603 2008-01-23 Matthias Clasen <mclasen@redhat.com>
605 * gioscheduler.c: Some documentation additions.
607 2008-01-22 Alexander Larsson <alexl@redhat.com>
610 (g_desktop_app_info_new):
613 2008-01-22 Alexander Larsson <alexl@redhat.com>
616 (g_desktop_app_info_new_from_filename):
619 2008-01-22 Alexander Larsson <alexl@redhat.com>
621 * glocalfileinfo.c (get_thumbnail_attributes):
624 2008-01-22 Alexander Larsson <alexl@redhat.com>
627 (canonicalize_filename):
628 Canonicalize paths that start with more than
633 (test_g_file_new_for_path):
636 2008-01-22 Alexander Larsson <alexl@redhat.com>
639 Allow UTF-8 in file:// parse names.
642 * tests/data-input-stream.c:
643 * tests/data-output-stream.c:
644 * tests/g-file-info.c:
646 Added a bunch of tests from Tomas Bzatek
648 2008-01-21 Matthias Clasen <mclasen@redhat.com>
650 * === Released 2.15.3 ===
652 2008-01-21 Alexander Larsson <alexl@redhat.com>
654 * gfileinputstream.[ch]:
655 * gfileoutputstream.[ch]:
657 Remove duplicated GSeekable functions. (#509990)
658 Just use the g_seekable_xxx() calls instead.
660 2008-01-21 Matthias Clasen <mclasen@redhat.com>
663 * gvolumemanager.c: Whitespace cleanups.
665 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
666 Use the right mode when creating the file.
668 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
671 * gfileinputstream.c:
673 * goutputstream.c: Documentation: Fixed minor typos
674 and added more mentions of specific _finish() functions.
676 2008-01-21 Alexander Larsson <alexl@redhat.com>
678 * inotify/Makefile.am:
679 * inotify/inotify-helper.c:
680 * inotify/inotify-kernel.c:
681 * inotify/inotify-path.c:
682 * inotify/local_inotify.h: Removed.
683 * inotify/local_inotify_syscalls.h: Removed.
684 Removed the included copies of the inotify
685 headers. We now only use the <sys/inotify.h>
686 header which exists on modern systems.
687 This fixes problems on ARM and SH5 (#510448)
688 but is also generally much cleaner and future
689 safe. For instance, if other OSes add support
690 for inotify it should "just work".
692 2008-01-20 Matthias Clasen <mclasen@redhat.com>
694 * inotify/*.c: Coding style fixes.
695 * inotify/inotify-missing.c: Use g_timeout_add_seconds
696 for the 1/4 Hz timer.
698 2008-01-20 Matthias Clasen <mclasen@redhat.com>
702 * gmemoryinputstream.c:
703 * gmemoryoutputstream.c:
705 * gthemedicon.c: Documentation updates
707 2008-01-20 Murray Cumming <murrayc@murrayc.com>
709 * gfile.c: documentation: Fixed more minor
712 2008-01-18 Murray Cumming <murrayc@murrayc.com>
714 * gmount.c: (g_mount_remount): documentation:
715 Mention g_mount_remount_finish() instead of
716 g_mount_unmount_finish().
718 2008-01-18 Murray Cumming <murrayc@murrayc.com>
722 * gfile.c: Fixed some minor typos in the
725 2008-01-18 Murray Cumming <murrayc@murrayc.com>
727 * gio/gvolumemonitor.c:
728 (g_volume_monitor_get_connected_drives):
729 (g_volume_monitor_get_volumes):
730 (g_volume_monitor_get_mounts): Documentation:
731 Clarify the ownership of the regurn GLists.
733 2008-01-17 Alexander Larsson <alexl@redhat.com>
736 Add the async find_enclosing_mount version
737 to the header file too.
739 2008-01-17 Alexander Larsson <alexl@redhat.com>
742 Add async version of find_enclosing_mount
743 with default implementation.
745 2008-01-17 Alexander Larsson <alexl@redhat.com>
750 Allow calls to implementation of copy and write
751 even if the type of the file implementations is
752 different. This can be used to implement native
753 upload and download calls in a vfs.
757 Protect against the case where move is called
758 with one file not being local.
760 Make sure we call the progress callback once
761 in the native move operation so that the caller
762 knows how many bytes were copied.
764 2008-01-16 Murray Cumming <murrayc@murrayc.com>
767 * gdatainputstream.c:
769 * gfileoutputstream.c:
774 * gunixmounts.c: Corrected some typos in the documentation:
776 its -> it's (where appropriate).
778 2008-01-16 Alexander Larsson <alexl@redhat.com>
782 Add g_file_query_exists (#508771)
784 2008-01-15 Murray Cumming <murrayc@murrayc.com>
789 * gvolume.c: For async functions that have no non-async
790 version, document that the GAsyncReadyCallback may be NULL.
793 2008-01-15 Alexander Larsson <alexl@redhat.com>
795 * gmemoryinputstream.c:
796 * gmemoryoutputstream.c:
797 Don't do pointer arithmetic on void * (#508602)
798 Patch from Kazuki IWAMOTO
800 2008-01-14 Matthias Clasen <mclasen@redhat.com>
802 * === Released 2.15.2 ===
804 2008-01-14 Alexander Larsson <alexl@redhat.com>
806 * gfile.c (g_file_monitor_file):
807 Don't set error here, since we fallback to polling monitor.
809 2008-01-14 Alexander Larsson <alexl@redhat.com>
812 (g_file_monitor_directory):
813 (g_file_monitor_file):
814 Add GError to file monitor calls
816 * glocaldirectorymonitor.c:
817 * glocaldirectorymonitor.h:
819 * glocalfilemonitor.c:
820 * glocalfilemonitor.h:
822 Update for above change
824 2008-01-14 Alexander Larsson <alexl@redhat.com>
828 Handle root correctly in g_file_get_relative_path (#508719)
830 2008-01-14 Alexander Larsson <alexl@redhat.com>
833 Clean up docs and example for GAsyncResult (#508074)
835 2008-01-11 Murray Cumming <murrayc@murrayc.com>
837 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
838 and correct some spelling mistakes. Bug #508108.
840 2008-01-11 Matthias Clasen <mclasen@redhat.com>
842 * glocalfileinfo.c: Add a comment.
844 2008-01-10 Murray Cumming <murrayc@murrayc.com>
846 * gfileinfo.c: GFileInfo description: Mention
847 how to actually set attributes in a GFile and how to discover
848 which attributes are settable. Bug #508378.
850 2008-01-10 A. Walton <awalton@svn.gnome.org>
852 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
853 (g_app_info_get_default_for_type):
854 Check for NULL content types.
856 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
858 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
860 2008-01-09 Murray Cumming <murrayc@murrayc.com>
862 * gfile.c: *_async() functions: Several small corrections
863 to the documentation, mostly correcting copy/paste errors
864 and improving some sentences.
866 2008-01-09 Dan Winship <danw@gnome.org>
868 * glocalfile.c (get_unique_filename): x86_64 fix
870 2008-01-09 Alexander Larsson <alexl@redhat.com>
875 Add g_unix_mount_guess_should_display and use
876 for unix volume monitor backend.
877 This means we more or less show what the
878 gnome-vfs backend did.
879 Based on patch from Padraig O'Briain
881 2008-01-09 Alexander Larsson <alexl@redhat.com>
885 Add g_themed_icon_new_with_default_fallbacks
888 Use default fallbacks for icons
890 2008-01-09 Alexander Larsson <alexl@redhat.com>
893 * gmountoperation.[ch]:
894 Change the API a bit so that unhandled methods
895 get reported via the reply, rather than by
896 the signal emission return value. This is because
897 some handlers can't know this immediately without
898 doing I/O, and this is an async operation that
901 2008-01-09 Alexander Larsson <alexl@redhat.com>
904 * fam/gfamdirectorymonitor.c:
905 * fam/gfamfilemonitor.c:
906 Fix double free crash (#508224)
907 Patch from Joe Marcus Clarke
909 008-01-07 Matthias Clasen <mclasen@redhat.com>
911 * === Released 2.15.1 ===
913 2008-01-07 Alexander Larsson <alexl@redhat.com>
915 * gunixinputstream.c (g_unix_input_stream_skip_finish):
916 Fix warning (#507835)
918 2008-01-07 Alexander Larsson <alexl@redhat.com>
921 Pass --internal to glib-genmarshal
926 Use better types for signal arguments (#507822)
928 2008-01-07 Alexander Larsson <alexl@redhat.com>
931 Build test subdir after .
932 Remove gdirectorymonitor.[ch]
934 * gdirectorymonitor.[ch]:
938 Remove GDirectoryMonitor and make
939 GFileMonitor the baseclass for both file and
940 directory monitors. Lift the more generic
941 rate limiting code from GDirectoryMonitor
945 * fam/gfamdirectorymonitor.[ch]:
946 * inotify/ginotifydirectorymonitor.[ch]:
947 * inotify/inotify-helper.c:
948 * glocaldirectorymonitor.[ch]:
951 Update for the removed GDirectoryMonitor.
953 * gmemoryoutputstream.c:
954 Remove ununsed variable
956 2008-01-07 Alexander Larsson <alexl@redhat.com>
958 * gmemoryinputstream.c:
959 Translate error strings
962 * gmemoryoutputstream.[ch]:
963 New implementation that avoids using GByteArray
964 in implementation and API. (#506377)
966 2008-01-06 Matthias Clasen <mclasen@redhat.com>
968 * tests/*: Add a test for memory input streams.
970 * Makefile.am: Add tests to SUBDIRS.
972 2008-01-06 Matthias Clasen <mclasen@redhat.com>
974 * glocalfilemonitor.c:
975 * glocaldirectorymonitor.c: Mark property nicks and blurbs
978 2008-01-06 Matthias Clasen <mclasen@redhat.com>
980 * gdesktopappinfo.c: Fix a docs typo.
982 * gfileattribute.c: Add information about extended attributes
983 to the documentation. (#505058)
985 2008-01-04 Alexander Larsson <alexl@redhat.com>
989 Use the right type (uint) for the ask_password signal.
991 2008-01-04 Alexander Larsson <alexl@redhat.com>
996 Add g_app_info_supports_files()
997 Remove desktop arg from g_app_info_should_show().
999 * gdesktopappinfo.[ch]:
1000 Implement g_app_info_supports_files() and new should_show()
1001 Add g_desktop_app_info_set_desktop_env() to set the desktop
1002 for should_show(). (This will be set by gtk+ later)
1004 2008-01-04 Alexander Larsson <alexl@redhat.com>
1007 * gmemoryinputstream.[ch]:
1008 Improve API so that you can use multiple chunks
1009 of memory and custom destroy functions. (#506374)
1011 2008-01-03 Alexander Larsson <alexl@redhat.com>
1014 Handle NULL attribute matchers safely, as we return this
1015 for empty attribute matcher strings.
1017 2008-01-03 Alexander Larsson <alexl@redhat.com>
1019 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1020 Add /usr/local to list of internal mountpoints
1022 2008-01-03 Alexander Larsson <alexl@redhat.com>
1025 Check for HAVE_LCHOWN (#505887)
1027 2008-01-03 Alexander Larsson <alexl@redhat.com>
1031 Add define for selinux context attribute.
1032 Fix missing : -> :: namespace separator change
1033 Fix missing _ -> - name change for xattr-sys.
1036 2008-01-03 Alexander Larsson <alexl@redhat.com>
1039 Link to libglib and libgobject directly (#504879)
1040 Patch from Sebastien Bacher
1042 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1044 * gfile.c: Expanded the g_file_new_for_commandline_arg
1045 description a bit, based on the code and the docs of the
1046 other g_file_new_for_* functions.
1048 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1050 * gfilemonitor.h: Fixed typo in docs.
1052 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1054 Updates to GIO documentation. (#506395, Mikael Hermansson)
1056 * gcontenttype.c: Describe memory management for return value of
1057 g_content_types_get_registered(). Missing piece from #505815.
1058 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1059 GVolume, GDrive, GMounts, which hopefully gives the user less
1060 confusions when using this API. Following explainations from
1061 Alexander Larsson on gtk-devel-list.
1063 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1065 * gfileinfo.c: Expand the long description.
1067 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1070 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1071 fix builds with --disable-visibility. (#500273, Christian Persch)
1073 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1075 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1076 in the list of returned app infos.
1078 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1080 * gappinfo.c: Fix a cross-reference
1082 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1084 * gfileinputstream.c:
1085 * gfileoutputstream.c:
1089 * gdesktopappinfo.c:
1091 * gfileinfo.c: Documentation updates.
1093 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1095 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1098 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1100 * gcontenttype.c (g_content_types_get_registered): Don't return
1101 freed memory (#505815, Mikael Hermansson)
1103 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1105 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1106 used to detect statbuf->st_blocks. (#505042)
1108 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1110 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1111 environment handling. (#504829, Cosimo Cecchi)
1113 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1115 * gappinfo.c: Doc improvements
1117 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1120 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1122 * === Released 2.15.0 ===
1124 2007-12-20 Hans Breuer <hans@breuer.org>
1126 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1127 with symbols gwin32appinfo.obj, added gmount.obj
1128 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1130 2007-12-20 Alexander Larsson <alexl@redhat.com>
1136 * gfilenamecompleter.c:
1139 * gpollfilemonitor.c:
1140 File attribute renames:
1142 fs:: -> filesystem::
1143 id::fs -> id::filesystem
1145 2007-12-20 Alexander Larsson <alexl@redhat.com>
1154 Add GMountUnmountFlags to all unmount and
1156 Add g_mount_remount() call.
1158 2007-12-20 Alexander Larsson <alexl@redhat.com>
1160 * gvfs.c (get_default_vfs):
1161 Fix unused variable warning
1163 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1165 * pltcheck.sh: Update
1167 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1169 * gunionvolumemonitor.c:
1170 * gunixmount.c: Remove C99 comments
1172 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1174 * gio.symbols: Add some missing symbols
1176 2007-12-19 Alexander Larsson <alexl@redhat.com>
1179 Make g_io_modules_load_all_in_directory not unuse
1180 loaded modules so that users of it can do stuff
1182 Init internal "module" types.
1183 Initialize static prio and name for types so that
1184 we don't have to load modules to get it.
1186 * gnativevolumemonitor.h:
1188 Move is_supported to parent class so that
1189 non-native monitors can avoid being initialized
1190 too. (For instance GDaemonVolumeMonitor if we're
1191 not using GDaemonVfs.)
1193 * glocaldirectorymonitor.[ch]:
1194 * glocalfilemonitor.[ch]:
1195 * gunionvolumemonitor.c:
1196 * gunixvolumemonitor.c:
1198 Find plugins using the static prio+name to
1199 avoid unnecessarily loading the modules.
1201 2007-12-19 Alexander Larsson <alexl@redhat.com>
1206 2007-12-19 Alexander Larsson <alexl@redhat.com>
1208 * gunionvolumemonitor.c:
1209 Store the native type as GType, not class so that
1210 we can unload it. But still avoid unnecessarily
1213 2007-12-19 David Zeuthen <davidz@redhat.com>
1215 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1216 add signals 'disconnected' and 'eject-button' on GDrive. Add
1217 signal 'removed' on GVolume and 'unmounted' on GMount.
1219 * gdrive.c: (g_drive_base_init):
1221 * gfile.c: (g_file_mount_mountable),
1222 (g_file_mount_enclosing_volume):
1225 * gmount.c: (g_mount_base_init):
1227 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1228 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1229 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1233 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1235 * *.c: Fix up includes in the section docs.
1237 2007-12-17 Alexander Larsson <alexl@redhat.com>
1239 * gnativevolumemonitor.h:
1240 * gunionvolumemonitor.c:
1241 * gunixvolumemonitor.c:
1242 Add is_supported() to GNativeVolumeMonitorClass so
1243 that we can avoid having to create an object to see
1244 if the backend is supported at runtime.
1245 Also add name member and an env var to pick a specific
1246 volume monitor backend.
1250 Add cancellable to _g_mount_get_for_mount_path()
1252 * glocaldirectorymonitor.c:
1253 * glocalfilemonitor.c:
1254 Avoid loading and unloading modules while sorting.
1256 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1259 * gunixmounts.[hc]: Namespace waste reduction, move some
1260 g_get_unix_mount functions to the g_unix_mount namespace.
1263 * gunixvolumemonitor.c:
1265 * glocaldirectorymonitor.c: Update all callers.
1267 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1269 2007-12-17 Alexander Larsson <alexl@redhat.com>
1272 Add doc comments about what GFile operations are
1273 guaranteed to not block.
1275 2007-12-17 Alexander Larsson <alexl@redhat.com>
1278 Add missing #ifdef fixing OSX build.
1279 (#503334, patch from Richard Hult)
1281 2007-12-14 David Zeuthen <davidz@redhat.com>
1285 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1286 (g_mount_eject), (g_mount_eject_finish):
1288 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1289 (get_volume_for_uuid), (get_mount_for_uuid),
1290 (g_union_volume_monitor_class_init),
1291 (get_default_native_type_with_exclude), (get_default_native_type),
1292 (get_native_type), (update_native_type),
1293 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1294 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1295 (g_unix_mount_can_eject), (eject_unmount_cb),
1296 (eject_unmount_read_error), (eject_unmount_do),
1297 (g_unix_mount_unmount), (g_unix_mount_eject),
1298 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1299 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1300 (g_unix_mount_point_guess_can_eject):
1302 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1303 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1304 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1305 (g_unix_volume_mount), (g_unix_volume_eject),
1306 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1307 * gunixvolumemonitor.c: (get_volume_for_uuid),
1308 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1310 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1311 (g_volume_eject), (g_volume_eject_finish):
1313 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1314 (g_volume_monitor_get_mount_for_uuid):
1317 Provide eject() on both GMount and GVolume and utility functions
1318 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1319 ejected. Introduce the concept of UUID's and wire it into GVolume
1320 and GMount and provide API on GVolumeMonitor to find such
1321 instances. Also handle the case where an external
1322 GNativeVolumeMonitor fails to initialize. Lock around the
1323 _g_get_mount_for_mount_path() function such that volume monitor
1324 implementations won't have to do locking themselves.
1326 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1328 * gdesktopappinfo.c:
1334 * gvolume.h: Documentation updates
1336 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1339 * gfile.h: Doc updates
1341 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1344 * gdesktopappinfo.c: Use hash table iterators.
1346 2007-12-14 Alexander Larsson <alexl@redhat.com>
1349 * gfileattribute.[ch]:
1350 * gfileattribute-priv.h:
1351 Move GFileAttributeValue to a private header, as
1355 Make set_attribute take a type + a pointer instead
1356 of a GFileAttributeValue.
1359 Fix up for above changes.
1360 Add g_file_info_get_attribute_data to get
1361 all info in one call, g_file_info_get_attribute_status
1362 to get the status and g_file_info_get_attribute_as_string.
1366 * glocalfileinfo.[ch]:
1370 Make _guess_type static.
1372 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1375 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1376 made mkenums and friends use temporary files to avoid leaving
1377 empty generated files on failure (#503470).
1379 2007-12-14 Alexander Larsson <alexl@redhat.com>
1381 * gmountoperation.h:
1384 2007-12-14 Alexander Larsson <alexl@redhat.com>
1388 * gfileattribute.[ch]:
1391 * glocalfileoutputstream.c:
1392 * gmountoperation.[ch]:
1393 * goutputstream.[ch]:
1394 Clean up all flags enums to not have _FLAGS in them
1395 Make the names of some of the enums better.
1400 2007-12-14 Michael Natterer <mitch@imendio.com>
1402 * gio.symbols: fix g_io_scheduler symbol names.
1404 2007-12-14 Alexander Larsson <alexl@redhat.com>
1410 * gbufferedinputstream.h:
1411 * gbufferedoutputstream.h:
1414 * gdatainputstream.h:
1415 * gdataoutputstream.h:
1416 * gdesktopappinfo.h:
1417 * gdirectorymonitor.h:
1421 * gfileenumerator.h:
1424 * gfileinputstream.h:
1426 * gfilenamecompleter.h:
1427 * gfileoutputstream.h:
1428 * gfilterinputstream.h:
1429 * gfilteroutputstream.h:
1437 * gmemoryinputstream.h:
1438 * gmemoryoutputstream.h:
1440 * gmountoperation.h:
1443 * gsimpleasyncresult.h:
1445 * gunixinputstream.h:
1447 * gunixoutputstream.h:
1451 * inotify/Makefile.am:
1452 Only allow including <gio/gio.h> from apps
1454 2007-12-14 Alexander Larsson <alexl@redhat.com>
1456 * gioscheduler.[ch]:
1457 * gsimpleasyncresult.c:
1458 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1459 Split out the send_to_mainloop call into two versions instead
1460 of having the block argument.
1462 2007-12-13 Alexander Larsson <alexl@redhat.com>
1464 * gcancellable.[ch]:
1466 * gbufferedinputstream.c:
1467 * gfileenumerator.c:
1468 * gfileinputstream.c:
1469 * gfileoutputstream.c:
1473 g_push/pop_current_cancellable ->
1474 g_cancellable_push/pop_current
1476 2007-12-13 Alexander Larsson <alexl@redhat.com>
1480 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1482 2007-12-13 Alexander Larsson <alexl@redhat.com>
1484 * gmountoperation.h:
1485 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1487 2007-12-12 Alexander Larsson <alexl@redhat.com>
1490 Fix race condition when freeing proxy in
1491 g_io_job_send_to_mainloop().
1493 2007-12-12 Alexander Larsson <alexl@redhat.com>
1499 Make attribute namespace separator "::" instead of ":".
1500 Use - instead of _ as separator in attribute names.
1502 2007-12-12 Alexander Larsson <alexl@redhat.com>
1504 * gbufferedinputstream.h:
1505 * gbufferedoutputstream.h:
1506 * gdatainputstream.h:
1507 * gdataoutputstream.h:
1508 * gdirectorymonitor.h:
1509 * gfileenumerator.h:
1510 * gfileinputstream.h:
1512 * gfileoutputstream.h:
1513 * gfilterinputstream.h:
1514 * gfilteroutputstream.h:
1516 * glocalfileinputstream.h:
1517 * glocalfileoutputstream.h:
1518 * gmemoryinputstream.h:
1519 * gmemoryoutputstream.h:
1520 * gnativevolumemonitor.h:
1522 * gunixinputstream.h:
1523 * gunixoutputstream.h:
1526 s/parent/parent_instance/ in GObjects
1528 2007-12-12 Alexander Larsson <alexl@redhat.com>
1533 No need for padding for interfaces
1535 2007-12-12 Alexander Larsson <alexl@redhat.com>
1539 * gbufferedinputstream.c:
1540 * gbufferedoutputstream.c:
1543 * gdatainputstream.[ch]:
1544 * gdesktopappinfo.c:
1545 * gdirectorymonitor.c:
1547 * gfileattribute.[ch]:
1550 * gfileinputstream.h:
1551 * gfilemonitor.[ch]:
1552 * gfileoutputstream.[ch]:
1553 * gfilterinputstream.h:
1554 * gfilteroutputstream.h:
1557 * gloadableicon.[ch]:
1558 * gmemoryinputstream.c:
1559 * gmountoperation.c:
1561 Fix up a bunch of details in the docs.
1566 2007-12-11 David Zeuthen <davidz@redhat.com>
1568 Rework how volumes, drives and volume monitoring is
1569 done. Previosly the model was
1571 GDrive <1-1> GVolume
1573 where a GDrive instance represented a mount point and a GVolume
1574 instance represented a mounted file system. This patch changes it
1577 GDrive <1-N> GVolume <1-1> GMount
1579 where GMount now serves the purpose of the old GVolume and the new
1580 GVolume serves the purpose of the old GDrive. In addition the new
1581 GDrive interface is used to represent a collection of GVolume
1582 instances (typically partitions) and also contains utility to query
1583 the state of the physical drive the GDrive object represents (such
1584 as checking for media, polling the drive, ejecting the media etc.).
1586 Also implement mounting and unmounting in the Unix volume monitor
1587 backend. A subquent patch will introduce GDrive support for ejection
1591 * gdrive.c: (g_drive_is_media_check_automatic),
1592 (g_drive_is_media_removable), (g_drive_has_media),
1593 (g_drive_can_poll_for_media), (g_drive_eject),
1594 (g_drive_eject_finish), (g_drive_poll_for_media),
1595 (g_drive_poll_for_media_finish):
1597 * gfile.c: (g_file_find_enclosing_mount):
1600 * glocaldirectorymonitor.c:
1601 (g_local_directory_monitor_constructor), (mounts_changed):
1602 * glocalfile.c: (get_mount_info),
1603 (g_local_file_find_enclosing_mount),
1604 (g_local_file_file_iface_init):
1605 * gnativevolumemonitor.h:
1606 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1607 (get_connected_drives), (g_union_volume_monitor_class_init),
1608 (child_volume_added), (child_volume_removed),
1609 (child_volume_changed), (child_mount_added), (child_mount_removed),
1610 (child_mount_pre_unmount), (child_mount_changed),
1611 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1612 (g_union_volume_monitor_remove_monitor),
1613 (_g_mount_get_for_mount_path):
1614 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1615 (guess_system_internal), (_g_get_unix_mounts),
1616 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1617 (g_unix_mount_free), (g_unix_mount_compare),
1618 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1619 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1620 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1621 (type_to_icon), (g_unix_mount_guess_name),
1622 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1623 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1624 (_resolve_symlink), (_resolve_dev_root):
1626 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1627 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1628 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1629 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1630 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1631 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1632 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1633 (g_unix_volume_volume_iface_init):
1635 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1636 (get_mounts), (get_volumes), (get_connected_drives),
1637 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1638 (mountpoints_changed), (mounts_changed),
1639 (g_unix_volume_monitor_init),
1640 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1641 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1642 * gunixvolumemonitor.h:
1643 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1644 (g_volume_mount), (g_volume_mount_finish):
1646 * gvolumemonitor.c: (g_volume_monitor_class_init),
1647 (g_volume_monitor_get_connected_drives),
1648 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1651 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1653 * gmountoperation.h (GPasswordFlags): Close the gap
1655 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1657 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1659 * gdesktopappinfo.[hc]: Remove _-prefixes
1661 2007-12-10 Tor Lillqvist <tml@novell.com>
1663 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1666 2007-12-10 Alexander Larsson <alexl@redhat.com>
1668 * gfile.c (g_file_set_display_name):
1669 Don't hardcode '/' (#502727)
1671 2007-12-09 Hans Breuer <hans@breuer.org>
1673 * makefile.msc : follow lib naming convention
1674 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1675 for user and group name, tested with ../tests/gio-ls
1677 2007-12-09 A. Walton <awalton@svn.gnome.org>
1679 * gdesktopappinfo.c:
1685 * gfileenumerator.c:
1690 * gmemoryinputstream.c:
1691 * gmemoryoutputstream.c:
1693 * gsimpleasyncresult.c:
1694 More documentation cleanup and filling in missing information, bringing
1695 GIO to 99% symbol coverage.
1697 2007-12-08 Hans Breuer <hans@breuer.org>
1699 [gio compiles and links on win32, not sure how much already works]
1700 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1701 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1702 base on win32 API; prefer g_lstat() over lstat(); instead of
1703 localtime_r() use an all GLib implementation on win32;
1704 get_mount_info() still needs a win32 specifc implementation
1705 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1706 win32_get_file_user_info to get owner/group info without uid/gid
1707 * glocalfileinputstream.c : include <io.h> on win32
1708 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1709 definition, use g_win32_ftruncate() for G_OS_WIN32
1710 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1711 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1712 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1713 * makefile.msc : updated
1715 2007-12-07 Alexander Larsson <alexl@redhat.com>
1717 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1718 Avoid warning spew if error == NULL
1720 2007-12-07 Alexander Larsson <alexl@redhat.com>
1723 Update docs wrt etags
1725 2007-12-06 Alexander Larsson <alexl@redhat.com>
1728 Include sys/types.h for dev_t (#501919)
1730 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1734 Make abicheck and pltcheck pass.
1736 2007-12-05 Alexander Larsson <alexl@redhat.com>
1739 * giomodule-priv.h: Added.
1740 * glocaldirectorymonitor.c:
1741 * glocalfilemonitor.c:
1742 * gunionvolumemonitor.c:
1744 Actually add the declaration of _g_io_modules_ensure_loaded
1746 2007-12-05 Alexander Larsson <alexl@redhat.com>
1748 * gdatainputstream.c:
1753 * glocaldirectorymonitor.c:
1754 * glocalfilemonitor.c:
1755 * gunionvolumemonitor.c:
1757 Make g_io_modules_ensure_loaded a private function and
1758 don't pass in the dirname. This means we can do magic
1759 directory finding in the win32 version.
1760 Export the actual load-modules-in-directory code so that
1761 gvfs can reuse that.
1763 2007-12-05 Alexander Larsson <alexl@redhat.com>
1765 * gbufferedinputstream.c:
1766 * gbufferedoutputstream.c:
1769 * gfileenumerator.[ch]:
1770 * gfileinputstream.c:
1771 * gfileoutputstream.[ch]:
1772 * gfilterinputstream.c:
1773 * gfilteroutputstream.c:
1774 * ginputstream.[ch]:
1776 * glocalfileenumerator.c:
1777 * glocalfileinputstream.c:
1778 * glocalfileoutputstream.c:
1779 * gmemoryinputstream.c:
1780 * gmemoryoutputstream.c:
1781 * goutputstream.[ch]:
1784 * gunixinputstream.c:
1785 * gunixoutputstream.c:
1786 Rename all struct members named:
1787 read, write, close, truncate, or mount
1788 to foo_fn, as these are reserved names
1789 and could be defined as macros in libc.
1792 2007-12-04 Alexander Larsson <alexl@redhat.com>
1795 (g_output_stream_close):
1796 Only call flush if non-null.
1798 2007-11-30 Dan Winship <danw@gnome.org>
1800 * ginputstream.c (g_input_stream_set_pending): Make this take a
1801 GError and return a gboolean, and do the "outstanding operation"
1802 check (and the "stream is already closed" check) itself.
1803 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1805 * goutputstream.c (g_output_stream_set_pending)
1806 (g_output_stream_clear_pending): Likewise
1808 * gbufferedinputstream.c:
1809 * gfileinputstream.c:
1810 * gfileoutputstream.c: Update for that
1812 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1813 Like g_simple_async_report_error_in_idle, but takes a GError
1814 rather than building one.
1816 2007-11-30 Dan Winship <danw@gnome.org>
1818 * goutputstream.c: Don't cheat and unset the "pending" flag around
1819 inner calls. Instead, call the class method directly rather than
1820 the wrapper function that checks "pending"
1822 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1824 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1826 2007-12-03 Hans Breuer <hans@breuer.org>
1828 [start of port to win32/msvc]
1829 * gcancellable.c : HAVE_UNIST_H and _pipe()
1830 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1831 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1832 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1834 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1835 * glocalvfs.c : use HAVE_PWD_H
1836 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1837 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1838 * Makefile.am : added to EXTRA_DIST
1840 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1842 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1845 2007-12-03 Alexander Larsson <alexl@redhat.com>
1848 Handle OSX style xattrs API (#500506)
1850 2007-12-03 Alexander Larsson <alexl@redhat.com>
1854 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1856 2007-12-02 A. Walton <awalton@svn.gnome.org>
1860 Documentation accuracy fixes.
1862 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1864 * gioenumtypes.c.template: Fix typo.
1866 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1868 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1870 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1872 * gdirectorymonitor.c:
1873 * gfilemonitor.c: Add properties
1875 * gbufferedoutputstream.c: Don't mark buffer-size property
1878 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1880 * gbufferedoutputstream.c: Add auto-grow property.
1882 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1884 * *.c: Unify the capitalization of section headings.
1886 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1888 * gmountoperation.c: Add properties
1890 * gdatainputstream.c: Turn byte-order and newline-type into
1893 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1895 * gioenumtypes.[hc].template: Templates for enum registration
1897 * Makefile.am: Generate gioenumtypes.[hc]
1899 * gio.h: Include gioenumtypes.h
1901 * gfile.h: Add some explicit nicks.
1903 * gio.symbols: Add new symbols
1905 * pltcheck.sh: Adjust
1907 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1909 * *.c: Explain etags and link to the explanation
1911 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1913 * *.c: Explain I/O priority.
1915 * *.c: More coding style fixes.
1917 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1919 * gasyncresult.c: Add another paragraph to the intro,
1920 adjust coding style of example.
1922 2007-11-29 A. Walton <awalton@svn.gnome.org>
1925 Fixes unknown meaning in GAppLaunchContext docs.
1927 Clarify asynchronous ops.
1929 Fix entity tag docs.
1932 Provides missing gtk-doc section, fixes API docs slighly.
1933 * gsimpleasyncresult.c:
1934 Fill in missing info in docs.
1935 * gunixinputstream.c:
1936 * gunixoutputstream.c:
1937 Be more expressive in short description.
1939 Remove gtk-doc stubs for non-public API.
1941 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1943 * *.c: Coding style fixups
1945 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1947 * inotify/inotify-helper.c: Don't export the lock from libgio.
1949 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1952 * abicheck.sh: Fix copy-and-paste leftovers
1954 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1956 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1958 2007-11-28 Alexander Larsson <alexl@redhat.com>
1962 Removed unnecessary file
1964 * gdesktopappinfo.[ch]:
1967 * glocaldirectorymonitor.[ch]:
1969 * glocalfileenumerator.[ch]:
1970 * glocalfileinputstream.[ch]:
1971 * glocalfilemonitor.[ch]:
1972 * glocalfileoutputstream.[ch]:
1974 * gnativevolumemonitor.c:
1975 * gpollfilemonitor.[ch]:
1976 * gunionvolumemonitor.[ch]:
1979 * gunixvolumemonitor.[ch]:
1982 * inotify/ginotifydirectorymonitor.[ch]:
1983 * inotify/ginotifyfilemonitor.[ch]:
1984 * inotify/inotify-helper.c:
1985 Append _ to all internal functions
1989 Export symbols needed for modules
1991 2007-11-28 Alexander Larsson <alexl@redhat.com>
1994 * abicheck.sh: Added.
1995 * makegioalias.pl: Added.
1996 * pltcheck.sh: Added.
1997 * gio.symbols: Added.
2000 Initial work on adding symbol handling.
2003 Correct ifdef guard name
2006 * inotify/Makefile.am:
2007 * xdgmime/Makefile.am:
2008 Include toplevel Makefile.decl
2010 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2012 * gcontenttype.c: Move doc comments to the unix section.
2014 * *.[hc]: More trivial doc corrections.
2016 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2018 * gpollfilemonitor.c:
2022 * gdesktopappinfo.c:
2027 * gdatainputstream.c:
2028 * gdatainputstream.h:
2029 * gdataoutputstream.c:
2030 * gdataoutputstream.h:
2031 * gfileinfo.h: Doc cleanups
2033 2007-11-28 Andre Klapper <a9016009@gmx.de>
2035 * gdesktopappinfo.c: Fix a typo.
2037 2007-11-27 Andre Klapper <a9016009@gmx.de>
2039 * glocalfileoutputstream.c: Fix a typo.
2041 2007-11-27 Alexander Larsson <alexl@redhat.com>
2044 Don't include removed headers
2046 2007-11-27 Alexander Larsson <alexl@redhat.com>
2049 * gsocketinputstream.[ch]: Removed.
2050 * gsocketoutputstream.[ch]: Removed.
2051 * gunixinputstream.[ch]: Added.
2052 * gunixoutputstream.[ch]: Added.
2053 Renamed GSocket*Stream to GUnix*Stream and made
2054 it unix-only, since its not really only for sockets
2055 and it only works on unix (but is highly useful there).
2057 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2063 * gbufferedinputstream.c:
2064 * gbufferedinputstream.h:
2065 * gbufferedoutputstream.c:
2066 * gbufferedoutputstream.h:
2070 * gdatainputstream.c:
2071 * gdatainputstream.h:
2072 * gdataoutputstream.c:
2073 * gdataoutputstream.h:
2074 * gdirectorymonitor.c:
2075 * gdirectorymonitor.h:
2082 * gfileenumerator.c:
2083 * gfileenumerator.h:
2088 * gfileinputstream.c:
2089 * gfileinputstream.h:
2092 * gfilenamecompleter.c:
2093 * gfilenamecompleter.h:
2094 * gfileoutputstream.c:
2095 * gfileoutputstream.h:
2096 * gfilterinputstream.c:
2097 * gfilterinputstream.h:
2098 * gfilteroutputstream.c:
2099 * gfilteroutputstream.h:
2112 * glocalfileoutputstream.c:
2113 * gmemoryinputstream.c:
2114 * gmemoryinputstream.h:
2115 * gmemoryoutputstream.c:
2116 * gmemoryoutputstream.h:
2117 * gmountoperation.c:
2118 * gmountoperation.h:
2121 * gpollfilemonitor.c:
2124 * gsimpleasyncresult.c:
2125 * gsimpleasyncresult.h:
2126 * gsocketinputstream.c:
2127 * gsocketinputstream.h:
2128 * gsocketoutputstream.c:
2129 * gsocketoutputstream.h:
2136 * gunixvolumemonitor.c:
2145 Bumps documentation to 93% symbol coverage, touching most
2146 of the public files. Fixes broken function documentation prototypes.
2147 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2148 gtk-doc headers in private files.
2150 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
2152 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2153 (g_buffered_input_stream_read_byte):
2154 * gbufferedinputstream.h:
2155 New functions for efficient access to buffer and simple single byte
2158 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2159 (g_data_input_stream_read_until):
2160 * gdatainputstream.h:
2161 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2162 read_until with multiple stop chars.
2164 2007-11-27 Alexander Larsson <alexl@redhat.com>
2168 * inotify/Makefile.am:
2169 Use the user-specified giomoduledir
2171 2007-11-27 Alexander Larsson <alexl@redhat.com>
2175 Add catch-all gio.h header
2176 Don't install gdummyfile.h
2178 2007-11-26 Alexander Larsson <alexl@redhat.com>
2180 * Makefile.am (gioinclude_HEADERS):
2181 Remove trailing whitespace
2183 2007-11-26 Alexander Larsson <alexl@redhat.com>
2185 Merge gio-standalone into glib
2187 2007-11-25 Christian Kellner <gicmo@gnome.org>
2189 * gio/goutputstream.c:
2190 Fix small mistake in the docs.
2192 2007-11-21 Christian Persch <chpe@gnome.org>
2194 * gio/glocalfile.c: (g_local_file_trash):
2195 Convert filenames to UTF-8 for GError.
2196 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2197 as per xdg base dir spec.
2199 2007-11-21 Christian Persch <chpe@gnome.org>
2201 * gio/gdesktopappinfo.c:
2202 Use that g_key_file_to_data cannot fail.
2204 Use stock defines for the key file group and key names.
2207 2007-11-21 Alexander Larsson <alexl@redhat.com>
2210 (copy_stream_with_progress):
2211 Make sure we do a final progress callback with
2212 the full total size.
2214 2007-11-21 Alexander Larsson <alexl@redhat.com>
2217 Export g_file_copy_attributes
2218 Remove padding as its not needed for interfaces
2220 2007-11-20 Alexander Larsson <alexl@redhat.com>
2225 Add G_IO_ERROR_WOULD_MERGE for
2226 copy/move dir on dir with overwrite.
2228 2007-11-20 Alexander Larsson <alexl@redhat.com>
2231 * gio/glocalfileinfo.c:
2232 Add COPY_NAME (this is an optional
2233 non-modified utf8 version of the name) that
2236 2007-11-20 Alexander Larsson <alexl@redhat.com>
2238 * gio/glocalfileenumerator.c:
2239 Report errors as GIOError, not GFileError
2241 2007-11-16 Alexander Larsson <alexl@redhat.com>
2243 * gio/glocalfileoutputstream.c:
2244 * gio/gwin32appinfo.c:
2245 Fix typos in strings.
2246 Patch from Luca Ferretti <elle.uca@libero.it>
2248 2007-11-15 Alexander Larsson <alexl@redhat.com>
2251 Post release version bump
2253 === gio-standalone 0.1.2 ===
2255 2007-11-15 Alexander Larsson <alexl@redhat.com>
2257 * docs/reference/gio/Makefile.am:
2258 Fix up distcheck by removing weird
2264 2007-11-14 Alexander Larsson <alexl@redhat.com>
2266 * gio/gdesktopappinfo.c:
2267 * gio/glocaldirectorymonitor.c:
2269 * gio/glocalfileinfo.c:
2270 * gio/inotify/inotify-sub.c:
2271 * programs/gio-cat.c:
2272 * programs/gio-copy.c:
2273 * programs/gio-info.c:
2274 * programs/gio-ls.c:
2275 * programs/gio-monitor-dir.c:
2276 * programs/gio-monitor-file.c:
2277 * programs/gio-mount.c:
2278 * programs/gio-move.c:
2279 * programs/gio-rm.c:
2280 * programs/gio-save.c:
2281 * programs/gio-trash.c:
2282 Leak fixes from Kjartan Maraas
2284 2007-11-14 Alexander Larsson <alexl@redhat.com>
2286 * gio/fam/fam-helper.c:
2288 * gio/glocalfileinfo.c:
2292 * gio/inotify/inotify-diag.c:
2293 * gio/inotify/inotify-kernel.c:
2294 Various code cleanups from Kjartan Maraas
2296 2007-11-14 Alexander Larsson <alexl@redhat.com>
2298 * gio/gioscheduler.c:
2300 Set up threadpool so that we cache 2 unused
2301 idle threads for at 15 secs. This means we
2302 will reuse thread-local data (like dbus connections)
2305 2007-11-14 Alexander Larsson <alexl@redhat.com>
2307 * gio/fam/fam-helper.c:
2308 * gio/fam/gfamdirectorymonitor.c:
2309 * gio/fam/gfamfilemonitor.c:
2311 * gio/gcontenttype.c:
2312 * gio/gdatainputstream.c:
2313 * gio/gdataoutputstream.c:
2317 * gio/gfileattribute.h:
2318 * gio/gfileenumerator.c:
2320 * gio/ginputstream.c:
2323 * gio/glocalfileinfo.c:
2324 * gio/goutputstream.c:
2325 * gio/gpollfilemonitor.c:
2326 * gio/gsimpleasyncresult.c:
2327 * gio/gunixmounts.c:
2328 * gio/gunixmounts.h:
2329 * gio/inotify/ginotifydirectorymonitor.c:
2330 * gio/inotify/ginotifyfilemonitor.c:
2331 * gio/inotify/inotify-diag.c:
2332 * gio/inotify/inotify-kernel.c:
2333 * gio/inotify/inotify-path.c:
2335 * gio/test-streams.c:
2336 * programs/gio-info.c:
2337 * programs/gio-monitor-dir.c:
2338 * programs/gio-monitor-file.c:
2339 Various code cleanups from Kjartan Maraas
2341 2007-11-13 Alexander Larsson <alexl@redhat.com>
2344 Handle the uri-scheme calls for dummy files
2346 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2348 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2349 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2350 to avoid clash with the C++ keyword.
2352 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2354 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2355 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2357 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2359 * gio/glocaldirectorymonitor.c:
2360 * gio/glocalfilemonitor.c:
2361 * gio/gunionvolumemonitor.c:
2362 Don't use g_once_init_*() for initializations that could fail and
2363 could leave the initialization variable set to 0 but use GOnce.
2364 This prevents a deadlock on the second call when trying to create
2365 a monitor and no monitor type is available. Thanks to Sven Herzberg
2368 2007-11-11 Sven Herzberg <sven@imendio.com>
2370 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2371 #ifdef (make it work on MacOS X again)
2373 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2375 Fixes Changelog for last two commits (sorry guys).
2377 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2379 * gio/gbufferedinputstream.c:
2380 * gio/gdatainputstream.c:
2382 * gio/gfileoutputstream.c:
2383 * gio/gfilterinputstream.c:
2384 * gio/glocalfileinputstream.c:
2387 More consistency fixes in g*stream.c files.
2388 Significant clean of gfile's documentation, filling in of
2389 asynchronous operations documentation.
2391 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2393 * gio/gasyncresult.c:
2394 * gio/gbufferedinputstream.c:
2395 * gio/gbufferedoutputstream.c:
2396 * gio/gcancellable.c:
2397 * gio/gcontenttype.c:
2398 * gio/gdatainputstream.c:
2399 * gio/gdataoutputstream.c:
2400 * gio/gdesktopappinfo.c:
2403 * gio/gfileattribute.c:
2404 * gio/gio/gfileenumerator.c:
2406 * gio/gfileinputstream.c:
2407 * gio/gfilemonitor.c:
2408 * gio/gfileoutputstream.c:
2409 * gio/ginputstream.c:
2411 * gio/gioscheduler.c:
2412 * gio/gloadableicon.c:
2413 * gio/glocalfileoutputstream.c:
2414 * gio/gmemoryoutputstream.c:
2415 * gio/gmountoperation.c:
2416 * gio/goutputstream.c:
2418 * gio/gsimpleasyncresult.c:
2419 * gio/gunionvolumemonitor.c:
2420 * gio/gunixmounts.c:
2421 * gio/gunixvolume.c:
2425 * gio/gvolumemonitor.c:
2426 Updated documentation stubs, working towards consistency and
2429 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2431 * gio/gmemoryoutputstream.c:
2432 * gio/gmemoryoutputstream.h:
2433 Change g_memory_output_stream_set_free_on_close() to
2434 g_memory_output_stream_set_free_data() as this makes more sense and
2435 is more consistent with GMemoryInputStream.
2437 2007-11-07 Alexander Larsson <alexl@redhat.com>
2444 Change how we find the default vfs so that
2445 we can handle a gvfs failing to init
2447 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2449 * gio/gbufferedoutputstream.c:
2450 * gio/gdatainputstream.c:
2451 * gio/gdataoutputstream.c:
2452 * gio/gfileinputstream.c:
2453 * gio/gfileoutputstream.c:
2454 * gio/gfilterinputstream.c:
2455 * gio/gfilteroutputstream.c:
2456 * gio/ginputstream.c:
2457 * gio/gmemoryinputstream.c:
2458 * gio/gmemoryoutputstream.c:
2459 * gio/goutputstream.c:
2460 * gio/gsimpleasyncresult.c:
2461 * gio/gsocketinputstream.c:
2462 * gio/gsocketoutputstream.c:
2463 Add guards to the remaining public functions, add a TODO for
2464 an unimplemented function and remove some useless guards.
2466 2007-11-07 Alexander Larsson <alexl@redhat.com>
2469 Autoconf checks for the various types of
2470 getpwuid_r and getgrgid_r
2472 * gio/glocalfileinfo.c:
2473 Use the autoconf checks from above
2475 2007-11-07 Alexander Larsson <alexl@redhat.com>
2478 (g_local_file_query_filesystem_info):
2479 Some fixes for the statvfs case
2481 2007-11-07 Alexander Larsson <alexl@redhat.com>
2484 (g_local_file_query_filesystem_info):
2485 Pick the "best" of statfs / statvfs for the system
2486 if both are availible.
2488 2007-11-07 Alexander Larsson <alexl@redhat.com>
2490 Solaris fixes from Halton.Huo@Sun.COM:
2497 * gio/glocalfileinfo.c:
2498 Fix for solaris definition of getpwuid_r
2500 * gio/test-streams.c:
2501 Use G_GNUC_PRETTY_FUNCTION
2503 2007-11-07 Alexander Larsson <alexl@redhat.com>
2505 * gio/gdesktopappinfo.c:
2506 (update_default_list):
2507 Remove double semicolon.
2508 Patch from Jens Granseuer
2510 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2512 * docs/reference/gio/gio-sections.txt:
2513 * gio/gbufferedinputstream.c:
2514 * gio/gbufferedinputstream.h:
2515 * gio/gdatainputstream.c:
2516 * gio/gfileenumerator.c:
2517 * gio/gioscheduler.c:
2518 * gio/gunionvolumemonitor.c:
2520 * programs/gio-save.c:
2521 Fix typo: availible -> available. Unfortuntely this breaks API
2522 and ABI as g_buffered_input_stream_get_available() was renamed.
2524 * gio/gunixmounts.c:
2525 * gio/gbufferedinputstream.c:
2526 Add guards for public functions.
2528 2007-11-06 Ross Burton <ross@openedhand.com>
2530 * docs/reference/gio/Makefile.am:
2531 Fix invalid += usage which automake 1.10 doesn't like.
2533 2007-11-06 Alexander Larsson <alexl@redhat.com>
2536 (g_app_launch_context_class_init):
2539 Patch from Ross Burton
2541 2007-11-06 Alexander Larsson <alexl@redhat.com>
2544 Post release version bump
2546 === gio-standalone 0.1.1 ===
2548 2007-11-06 Alexander Larsson <alexl@redhat.com>
2551 Bump version to 0.1.1
2553 * gio/gsimpleasyncresult.c:
2554 (g_simple_async_result_set_from_error):
2555 Remove bogus g_return_if_fail
2557 2007-11-06 Alexander Larsson <alexl@redhat.com>
2560 The name is gio-standalone
2563 Add top src/builddir to includedir
2565 2007-11-06 Alexander Larsson <alexl@redhat.com>
2567 * docs/reference/gio/gio-sections.txt:
2569 * gio/gbufferedinputstream.c:
2570 * gio/gbufferedoutputstream.c:
2571 * gio/gcancellable.c:
2572 * gio/gdatainputstream.h:
2573 * gio/gdataoutputstream.c:
2574 * gio/gdataoutputstream.h:
2575 * gio/gdirectorymonitor.c:
2577 * gio/gfileattribute.c:
2578 * gio/gfileattribute.h:
2579 * gio/gfileenumerator.c:
2580 * gio/gfileenumerator.h:
2583 * gio/gfileinputstream.h:
2584 * gio/gfilemonitor.c:
2585 * gio/gfileoutputstream.h:
2586 * gio/glocalfilemonitor.h:
2587 * gio/glocalfileoutputstream.h:
2588 * gio/gmemoryinputstream.c:
2589 * gio/gmemoryoutputstream.c:
2590 * gio/gmountoperation.c:
2591 * gio/goutputstream.c:
2592 * gio/goutputstream.h:
2594 * gio/gsimpleasyncresult.c:
2595 * gio/gunixmounts.c:
2596 * gio/gunixmounts.h:
2598 * gio/inotify/inotify-helper.c:
2599 Fix gtk-doc warnings
2601 Patch from Ross Burton
2603 2007-11-06 Alexander Larsson <alexl@redhat.com>
2605 * gio/gfilenamecompleter.c:
2606 (g_filename_completer_get_completions):
2609 * gio/gunixvolume.c:
2610 Remove unused function
2612 Patches from Ross Burton
2614 2007-11-06 Alexander Larsson <alexl@redhat.com>
2619 Padding not needed for interfaces
2621 2007-11-06 Alexander Larsson <alexl@redhat.com>
2623 * gio/gfilemonitor.c:
2627 Make giotypes.h an internal file
2630 * gio/gbufferedinputstream.h:
2631 * gio/gbufferedoutputstream.h:
2632 * gio/gcancellable.h:
2633 * gio/gdatainputstream.h:
2634 * gio/gdataoutputstream.h:
2635 * gio/gdirectorymonitor.c:
2636 * gio/gdirectorymonitor.h:
2641 * gio/gfileattribute.h:
2642 * gio/gfileenumerator.h:
2647 * gio/gfilemonitor.c:
2648 * gio/gfilemonitor.h:
2649 * gio/gfilenamecompleter.c:
2650 * gio/gfilenamecompleter.h:
2651 * gio/gfilterinputstream.h:
2652 * gio/gfilteroutputstream.h:
2653 * gio/ginputstream.h:
2654 * gio/gmemoryinputstream.h:
2655 * gio/gmemoryoutputstream.h:
2656 * gio/gmountoperation.c:
2657 * gio/gmountoperation.h:
2658 * gio/gnativevolumemonitor.c:
2659 * gio/goutputstream.h:
2662 * gio/gsimpleasyncresult.c:
2663 * gio/gsimpleasyncresult.h:
2664 * gio/gsocketinputstream.h:
2665 * gio/gsocketoutputstream.h:
2666 * gio/gthemedicon.c:
2667 * gio/gthemedicon.h:
2671 * gio/gvolumemonitor.c:
2672 * gio/gvolumemonitor.h:
2673 Add padding in classes where it seems useful
2674 Don't include giotypes.h from public headers
2675 Move in Class definitions into c file where possible
2680 2007-11-06 Alexander Larsson <alexl@redhat.com>
2682 * docs/reference/gio/gio-docs.xml:
2683 Better structure for API docs
2685 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2688 * gio/gloadableicon.c:
2689 * gio/gsimpleasyncresult.c:
2690 * gio/gthemedicon.c:
2691 Add some more guards to public functions. Only files missing are now
2694 2007-11-06 Alexander Larsson <alexl@redhat.com>
2696 * docs/reference/gio/gio-docs.xml:
2697 Remove old files, add missing ones
2699 2007-11-06 Alexander Larsson <alexl@redhat.com>
2701 * docs/reference/gio/gio-sections.txt:
2704 Hide implementation classes
2706 * gio/gdriveprivate.h:
2707 * gio/gvolumeprivate.h:
2708 Remove non-existing function declarations
2710 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2713 Fix compilation warnings and add guards to the new functions.
2715 * gio/gasyncresult.c:
2717 Add guards to the public functions.
2720 Implement get_path().
2722 2007-11-06 Alexander Larsson <alexl@redhat.com>
2724 * gio/gfilenamecompleter.c:
2725 Make g_filename_completer_get_completions
2726 return char ** instead of GList for
2729 * docs/reference/gio/gio-docs.xml:
2730 * docs/reference/gio/gio-sections.txt:
2732 * gio/gasyncresult.c:
2733 * gio/gbufferedinputstream.c:
2734 * gio/gbufferedoutputstream.c:
2735 * gio/gcancellable.c:
2736 * gio/gcontenttype.c:
2737 * gio/gdatainputstream.c:
2738 * gio/gdataoutputstream.c:
2739 * gio/gdesktopappinfo.c:
2740 * gio/gdirectorymonitor.c:
2744 * gio/gfileattribute.c:
2745 * gio/gfileenumerator.c:
2748 * gio/gfileinputstream.c:
2749 * gio/gfilemonitor.c:
2750 * gio/gfilenamecompleter.c:
2751 * gio/gfilenamecompleter.h:
2752 * gio/gfileoutputstream.c:
2753 * gio/gfilterinputstream.c:
2755 * gio/ginputstream.c:
2757 * gio/gioscheduler.c:
2758 * gio/gloadableicon.c:
2759 * gio/glocaldirectorymonitor.c:
2761 * gio/glocalfileinputstream.c:
2762 * gio/glocalfilemonitor.c:
2763 * gio/glocalfileoutputstream.c:
2765 * gio/gmemoryinputstream.c:
2766 * gio/gmemoryoutputstream.c:
2767 * gio/gmountoperation.c:
2768 * gio/goutputstream.c:
2769 * gio/gpollfilemonitor.c:
2771 * gio/gsimpleasyncresult.c:
2772 * gio/gsocketinputstream.c:
2773 * gio/gsocketoutputstream.c:
2774 * gio/gthemedicon.c:
2775 * gio/gunionvolumemonitor.c:
2777 * gio/gunixmounts.c:
2778 * gio/gunixvolume.c:
2779 * gio/gunixvolumemonitor.c:
2783 * gio/gvolumemonitor.c:
2784 * gio/gwin32appinfo.c:
2785 Add (mostly stub) doc strings to public functions.
2786 Patch from Andrew Walton (awalton@gmail.com)
2788 2007-11-06 Alexander Larsson <alexl@redhat.com>
2790 * gio/gappinfo.[ch]:
2791 Added GAppLaunchContext object and pass that to launch.
2792 This allows simple implementation of both
2793 launch-on-screen and startup notification via a gtk+
2794 subclass of GAppLaunchContext
2796 * gio/gdesktopappinfo.c:
2797 Implement GAppLaunchContext API
2799 * gio/gwin32appinfo.c:
2802 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2804 * gio/gmountoperation.c:
2805 Add some guards to GMountOperation's public functions.
2807 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2811 * gio/gcancellable.c:
2812 * gio/gdirectorymonitor.c:
2814 * gio/gfileenumerator.c:
2815 * gio/gfilemonitor.c:,
2816 * gio/gfilenamecompleter.c:
2819 * gio/gioscheduler.c:
2823 * gio/gvolumemonitor.c:
2824 Add even more guards to various public functions.
2826 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2829 Add guards to the public functions of GAppInfo.
2831 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2833 * gio/gcontenttype.c:
2834 Add some more guards for public functions.
2836 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2838 * gio/fam/fam-module.c:
2839 * gio/fam/gfamdirectorymonitor.c:
2840 * gio/fam/gfamdirectorymonitor.h:
2841 * gio/fam/gfamfilemonitor.c:
2842 * gio/fam/gfamfilemonitor.h:
2843 * gio/inotify/ginotifydirectorymonitor.c:
2844 * gio/inotify/ginotifydirectorymonitor.h:
2845 * gio/inotify/ginotifyfilemonitor.c:
2846 * gio/inotify/ginotifyfilemonitor.h:
2847 Add proper copyright information and remove an unused variable
2848 in the GInotifyFileMonitor constructor.
2850 * gio/gcancellable.c:
2851 Add a guard for a public function and an assertion to prevent
2852 an undefined program state.
2854 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2856 * gio/gfileattribute.c:
2857 Don't run into an assertion if the given attribute value is NULL
2858 in g_file_attribute_value_get_*() but instead return a fallback
2859 value that makes sense in most situations. Passing them a attribute
2860 value with the wrong type will still run into an assertion.
2862 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2864 * gio/gfileattribute.c:
2866 Add even more guards to the public functions. Also fix the refcounting
2867 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2868 let g_file_info_list_attributes() filter the attributes by namespace
2869 instead of simply ignoring the namespace parameter.
2871 2007-11-03 Sven Herzberg <sven@imendio.com>
2873 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2874 (This makes gio work on MacOS X again)
2876 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2879 Build the gio subdirectory before the docs. Otherwise the build will
2882 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2883 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2884 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2885 Add guards to the public functions.
2887 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2889 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2890 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2891 to prevent a compiler warning.
2893 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2894 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2895 return something in the non-void function find_topdir_for().
2897 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2904 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2906 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2907 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2908 * gwin32appinfo.c (g_win32_app_info_launch):
2909 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2910 envp_for_startup_id, g_desktop_app_info_launch,
2911 g_desktop_app_info_launch_uris):
2913 Give an opaque 'startup_id' string instead of 'envp'.
2914 Support empty file lists for launching new windows.
2915 Fix infinite recursion bug when launching URIs.
2917 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2920 Add guard to the new g_file_get_uri_scheme() function.
2922 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2925 Convert a g_return_val_if_fail() to setting the GError instead as
2926 otherwise applications have to verify the parameter before otherwise
2927 and the parameter might come directly from the user.
2929 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2931 * gio/inotify/ginotify*.[ch]:
2932 Add missing copyright information.
2934 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2937 Add guards in the beginning of public functions to check for valid
2938 parameters and fix a bug in copy_stream_with_progress() that could've
2939 caused writing less bytes than reading.
2940 * gio/glocalfileinfo.c:
2941 Check for a NULL parameter and set the GError accordingly then.
2942 * gio/goutputstream.c:
2943 Fix the same bug as in gfile.c that could've caused writing less bytes
2944 than reading in g_output_stream_real_splice().
2946 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2949 Use the correct gvolumeprivate.h naming
2951 2007-11-01 Christian Kellner <gicmo@gnome.org>
2954 Remove leftover "$(daemon_sources)" entry.
2956 2007-11-01 Christian Kellner <gicmo@gnome.org>
2961 Add copyright information to source files.
2963 2007-11-01 Alexander Larsson <alexl@redhat.com>
2967 Add g_file_get_uri_scheme
2969 2007-11-01 Alexander Larsson <alexl@redhat.com>
2972 * gio/gdesktopappinfo.c:
2973 * gio/gwin32appinfo.c:
2974 Add g_app_info_get_default_for_uri_scheme.
2976 2007-11-01 Alexander Larsson <alexl@redhat.com>
2979 Correct filename for gdriveprivate.h
2981 2007-10-31 Alexander Larsson <alexl@redhat.com>
2984 Rename id:value to id:file
2987 * gio/glocalfileinfo.c:
2990 2007-10-31 Alexander Larsson <alexl@redhat.com>
2992 * gio/gunixvolume.c:
2994 Remove g_volume_get_platform_id, as thats not
2995 needed with the simpler union volume monitor
2997 2007-10-31 Alexander Larsson <alexl@redhat.com>
3000 * gio/guniondrive.[ch]: Removed.
3001 * gio/gunionvolume.[ch]: Removed.
3002 Remove GUnionDrive/Volume
3004 * gio/gunionvolumemonitor.c:
3005 Simplify union volume monitor, now we
3006 only have one native volume monitor and
3007 we use the actual volumes/drives from the
3008 child monitors instead of wrapping them
3010 * gio/gnativevolumemonitor.[ch]:
3011 Base class for native volume monitors.
3012 Includes priority and get_volume_for_mountpoint
3015 Add g_file_find_enclosing_volume
3018 Remove volume name fs attribute
3019 Add readonly fs attribute
3022 Implement readonly attribute
3023 remove volume name attribute
3024 Implement find_enclosing volume
3026 * gio/gunixmounts.c:
3027 Add a volume for "/".
3029 * gio/gunixvolume.[ch]:
3030 Set better name for /
3032 * gio/gunixvolumemonitor.[ch]:
3033 Derive from GNativeVolumeMonitor
3034 Implement get_volume_for_mountpoint
3037 GVolume typedef moved to gfile.h
3039 * gio/gvolumeprivate.h:
3040 Add g_volume_get_for_mount_path
3042 2007-10-31 Alexander Larsson <alexl@redhat.com>
3044 * gio/gunixmounts.[ch]:
3045 Add cache info to unix mount listers
3046 Make getmntent use threadsafe
3047 Add is_system_internal attribute for GUnixMount
3049 * gio/gunixvolume.c:
3050 (g_unix_volume_new):
3051 Use is_system_internal instead of own code
3053 * gio/glocaldirectorymonitor.c:
3054 * gio/gunixvolumemonitor.c:
3055 Update to new gunixmounts API
3060 2007-10-30 Alexander Larsson <alexl@redhat.com>
3063 Add volume name fsinfo attribute
3066 Read volume name info
3068 * gio/gunionvolumemonitor.c:
3069 Fix infinite loops when finalizing a union volume monitor
3071 2007-10-30 Alexander Larsson <alexl@redhat.com>
3073 * gio/goutputstream.[ch]:
3074 Add splice() with default implementation
3076 * gio/gsocketoutputstream.c:
3077 (g_socket_output_stream_write):
3078 Return error on cancellation correctly.
3080 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3082 * gio/glocalfile.c (g_local_file_trash):
3083 Do not leak a string.
3085 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3087 * gio/gfile.c (g_file_load_contents):
3088 Unref the stream after closing it.
3090 2007-10-25 Alexander Larsson <alexl@redhat.com>
3092 * gio/gioscheduler.h:
3095 2007-10-25 Alexander Larsson <alexl@redhat.com>
3099 Add g_file_has_uri_scheme and implement for local files
3101 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3103 * gio/gdesktopappinfo.c: do not leak a string.
3105 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3107 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3108 (g_local_directory_monitor_new):
3109 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3110 (g_local_file_monitor_new):
3111 Only look for the monitor type that should be used the first time
3112 and use g_qsort_with_data() instead of our own bubble sort
3115 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3118 * gio/fam/Makefile.am:
3119 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3120 * gio/fam/fam-helper.h:
3121 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3122 * gio/fam/gfamdirectorymonitor.c:
3123 * gio/fam/gfamdirectorymonitor.h:
3124 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3125 * gio/fam/gfamfilemonitor.h:
3126 * gio/glocaldirectorymonitor.c:
3127 * gio/glocaldirectorymonitor.h:
3128 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3129 * gio/glocalfilemonitor.h:
3130 * gio/inotify/Makefile.am:
3131 * gio/inotify/ginotifydirectorymonitor.c:
3132 * gio/inotify/ginotifydirectorymonitor.h:
3133 * gio/inotify/ginotifyfilemonitor.c:
3134 * gio/inotify/ginotifyfilemonitor.h:
3135 Implement the FAM and Inotify monitors as
3136 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3137 their own GIO module. GLocal(Directory|File)Monitor will use the
3138 monitor with the highest rank that is supported on that machine.
3140 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3143 Change GIO module dir to $(libdir)/gio/modules and change
3144 the log domain from GVFS to GIO. Also only export symbols starting
3145 with g_ in the resulting library.
3146 * gio/test-streams.c: (main):
3147 Set log handler for the GIO log domain.
3149 2007-10-22 Alexander Larsson <alexl@redhat.com>
3151 * gio/gfilenamecompleter.[ch]:
3152 Add g_filename_completer_set_dirs_only
3154 2007-10-22 Alexander Larsson <alexl@redhat.com>
3157 * gio/gurifuncs.[ch]:
3158 Add some simple URI helpers
3160 * gio/gfilenamecompleter.[ch]:
3161 Added object for filename (parse name actually) completion
3164 Handle ~ in parse names
3166 2007-10-17 Alexander Larsson <alexl@redhat.com>
3169 * gio/glocalfileinfo.c:
3170 Add and implement id:value attribute
3172 2007-10-17 Alexander Larsson <alexl@redhat.com>
3175 * gio/guniondrive.c:
3177 Add and implement g_drive_has_volumes
3179 2007-10-17 Alexander Larsson <alexl@redhat.com>
3182 * gio/glocalfileinfo.[ch]:
3183 Add unix:is_mountpoint and implement for local files
3185 2007-10-16 Alexander Larsson <alexl@redhat.com>
3187 * gio/gunionvolumemonitor.c:
3188 (g_union_volume_monitor_init):
3189 Fix up the unix type getting so that it works with gcc
3191 2007-10-12 Alexander Larsson <alexl@redhat.com>
3194 * gio/glocalfileinfo.c:
3195 Add thumbnail:failed to file info
3197 2007-10-12 Richard Hult <richard@imendio.com>
3199 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3200 optimizing away the get_type call (happens with some gcc versions,
3201 like the one shipped with OS X 10.4).
3203 2007-10-12 Alexander Larsson <alexl@redhat.com>
3205 * gio/glocalfileinfo.c:
3206 (_g_local_file_info_set_attribute):
3207 Fix build if not HAVE_XATTR
3208 Patch from Milosz Derezynski <internalerror@gmail.com>
3210 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3212 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3213 around for review, otherwise I would have asked you before
3216 2007-10-11 Alexander Larsson <alexl@redhat.com>
3219 Add thumbnail:path attribute
3221 * gio/glocalfileinfo.c:
3222 Implement thumbnail:path for local files
3224 2007-10-11 Alexander Larsson <alexl@redhat.com>
3226 * gio/glocalfileinfo.c:
3227 (_g_local_file_info_get):
3228 Avoid duplicate icon names
3230 2007-10-11 Alexander Larsson <alexl@redhat.com>
3232 * gio/gthemedicon.[ch]:
3233 Change g_themed_icon_get_names return type to const
3235 2007-10-10 Alexander Larsson <alexl@redhat.com>
3237 * gio/glocalfileinfo.c:
3238 Don't reference freed memory
3240 2007-10-10 Alexander Larsson <alexl@redhat.com>
3242 * gio/gfileattribute.c:
3245 * gio/glocalfileinfo.c:
3248 2007-10-10 Alexander Larsson <alexl@redhat.com>
3251 Check for NULL icons
3253 * gio/gfileattribute.c:
3254 Don't dup when getting objects (same as for string attributes)
3256 * gio/gicon.c (g_icon_equal):
3257 Safely handle NULLs in equal
3259 2007-10-10 Alexander Larsson <alexl@redhat.com>
3262 Fix c++ compilation issues
3263 Patch from Milosz Derezynski <internalerror@gmail.com>
3265 2007-10-10 Alexander Larsson <alexl@redhat.com>
3267 * programs/gio-monitor-dir.c:
3268 Don't crash if dir monitor not supported.
3270 2007-10-09 Alexander Larsson <alexl@redhat.com>
3273 Add missing G_END_DECLS
3275 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3277 * gio/gfile.c: (g_file_set_display_name),
3278 (g_file_query_settable_attributes),
3279 (g_file_query_writable_namespaces):
3280 Return NULL not FALSE on errors as the return type is a pointer.
3282 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3284 * gio/glocalfile.c: (g_local_file_monitor_file):
3285 Don't call monitor_file on the default interface vtable (which
3286 is NULL) but simply return NULL. The caller, GFile, will create a
3287 polling monitor if NULL is returned.
3289 2007-10-09 Alexander Larsson <alexl@redhat.com>
3293 * gio-unix-2.0.pc.in:
3294 Add gio-unix-2.0.pc if OS_UNIX
3297 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3299 2007-10-09 Alexander Larsson <alexl@redhat.com>
3301 * gio/gunixmounts.[ch]:
3302 Make unix mount monitoring API sane.
3303 Now its just a object with mounts_changed
3304 and mountpoints_changed signals.
3306 * gio/glocaldirectorymonitor.c:
3307 * gio/gunixvolumemonitor.c:
3308 Use new mount monitor api
3310 2007-10-09 Alexander Larsson <alexl@redhat.com>
3312 * gio/gunixmounts.[ch]:
3313 Move guess type into one call for mounts and one for mountpoints
3316 * gio/gunixvolume.c:
3319 2007-10-09 Alexander Larsson <alexl@redhat.com>
3321 * gio/gunixmounts.[ch]:
3322 Remove _ prefix in preparation to make this semi-public
3323 Hide implementation of structs
3325 * gio/glocaldirectorymonitor.c:
3327 * gio/gunixvolume.c:
3328 * gio/gunixvolumemonitor.c:
3329 Update for above API changes
3331 2007-10-08 Alexander Larsson <alexl@redhat.com>
3334 Better polling fallback. This also handles the case where we have
3335 a monitor_file implementation, but it fails.
3337 2007-10-08 Alexander Larsson <alexl@redhat.com>
3341 * gio/gunixmounts.c:
3342 * programs/gio-monitor-dir.c:
3343 * programs/gio-monitor-file.c:
3344 Added cancellable to file monitoring calls.
3345 These are really sync calls and need this.
3347 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3349 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3350 (g_local_vfs_class_init):
3351 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3352 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3354 2007-10-05 Alexander Larsson <alexl@redhat.com>
3356 * gio/gdirectorymonitorprivate.h:
3357 * gio/gfilemonitorprivate.h:
3358 * gio/gdirectorymonitor.h:
3359 * gio/gfilemonitor.h:
3360 Remove *private.h and move to the public API, so that
3361 we can do implementations outside gio (such as in gvfs)
3363 * gio/gdirectorymonitor.c:
3364 * gio/gfilemonitor.c:
3365 * gio/glocaldirectorymonitor.c:
3366 * gio/gpollfilemonitor.c:
3367 * gio/inotify/inotify-helper.c:
3368 * gio/fam/fam-helper.c:
3369 Update to the new header names
3371 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3373 * gio/gdirectorymonitor.c:
3374 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3377 2007-10-04 Alexander Larsson <alexl@redhat.com>
3379 * gio/glocalfileinfo.c (get_access_rights):
3380 Set CAN_TRASH when we can move the file.
3381 We should really also check for a parent trash dir.
3383 2007-10-04 Alexander Larsson <alexl@redhat.com>
3385 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3386 Add can_trash access attribute
3388 2007-10-04 Alexander Larsson <alexl@redhat.com>
3391 (g_local_file_trash):
3392 Create info file first. This is per-spec and allows
3393 us to actually trash directories.
3395 2007-10-02 Alexander Larsson <alexl@redhat.com>
3397 * gio/gdesktopappinfo.c:
3398 Implement the new mime support code.
3399 Always set app as handling mimetype when being set as default for it
3401 2007-10-01 Alexander Larsson <alexl@redhat.com>
3403 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3404 Fix up check for xattrs:
3406 2007-10-01 Alexander Larsson <alexl@redhat.com>
3409 (g_app_info_set_as_default_for_extension):
3410 (g_app_info_add_supports_type):
3411 (g_app_info_can_remove_supports_type):
3412 (g_app_info_remove_supports_type):
3413 Make these fail nicely if not implemented
3415 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3417 * gio/glocalfileoutputstream.c:
3418 * gio/glocalfileoutputstream.h:
3423 * programs/gio-save.c:
3424 Add a GFileCreateFlags argument to operations that can create
3427 2007-10-01 Alexander Larsson <alexl@redhat.com>
3429 * gio/gappinfo.[ch]:
3430 * gio/gdesktopappinfo.c:
3431 Add more (stubbed out) mime API needed for nautilus
3433 2007-10-01 Alexander Larsson <alexl@redhat.com>
3436 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3437 Add g_app_info_set_as_default_for_extension.
3439 * gio/gdesktopappinfo.c:
3440 Dummy for g_app_info_set_as_default_for_extension
3441 Support flags in g_app_info_create_from_commandline
3443 * gio/gwin32appinfo.c:
3445 Update for API changes
3447 * gio/gthemedicon.c:
3448 Properly NULL-terminate list of icon names
3450 2007-09-28 Alexander Larsson <alexl@redhat.com>
3452 * gio/gloadableicon.h:
3453 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3455 2007-09-28 Alexander Larsson <alexl@redhat.com>
3458 Install headers in $includedir/gio-standalone/
3460 * gio-2.0.pc.in: Added.
3461 * gio-standalone.pc.in: Removed.
3464 Renamed pkg-config file to match glib (for future move)
3465 Update to the new include dir
3468 Add more TODO comments
3470 2007-09-28 Alexander Larsson <alexl@redhat.com>
3472 * gio/gdesktopappinfo.[ch]:
3473 Expose new_from_filename
3474 Add getter for is_hidden and handle it better
3476 2007-09-28 Alexander Larsson <alexl@redhat.com>
3478 * gio/gfileinfo.[ch]:
3479 Rename g_file_size_format_for_display to
3480 g_format_file_size_for_display.
3481 Now it doesn't have the g_file prefix, so we
3482 can later move it to glib.
3484 2007-09-28 Alexander Larsson <alexl@redhat.com>
3486 * gio/gappinfo.[ch]:
3487 Add g_app_info_get_id and g_app_info_get_executable.
3488 Make all getters non-reffing
3489 Make g_app_info_launch take GFile arguments.
3490 Add must_support_uris argument to g_app_info_get_default_for_type.
3492 * gio/gwin32appinfo.c:
3493 Update to GAppInfo api changes
3495 * gio/gdesktopappinfo.c:
3496 Update to GAppInfo api changes
3497 Implement supports_xdg_startup_notify
3499 * gio/gfileicon.c (g_file_icon_get_file):
3500 Make getter non-reffing.
3505 2007-09-27 Alexander Larsson <alexl@redhat.com>
3507 * gio/gfileinfo.[ch]:
3508 Add g_file_size_format_for_display helper
3510 2007-09-27 Alexander Larsson <alexl@redhat.com>
3512 * gio/glocalfileinfo.c:
3513 Set UNIX_GID from gid, not from uid
3515 2007-09-27 Alexander Larsson <alexl@redhat.com>
3518 Add g_file_set_attributes_async
3520 2007-09-27 Alexander Larsson <alexl@redhat.com>
3522 * gio/glocalfile.c (g_local_file_set_display_name):
3523 Fix set_display_name to actually rename to the right place.
3524 Use lstat to look for existing files so we don't overwrite
3527 2007-09-26 Alexander Larsson <alexl@redhat.com>
3530 Add g_file_set_display_name_async()
3532 2007-09-26 Alexander Larsson <alexl@redhat.com>
3535 Add load_partial_contents async calls
3538 Make internal function static
3540 2007-09-26 Alexander Larsson <alexl@redhat.com>
3542 * gio/glocalfileinfo.c:
3543 Correctly detect broken symlinks
3545 2007-09-26 Alexander Larsson <alexl@redhat.com>
3547 * gio/gcancellable.c (g_cancellable_cancel):
3548 Allow cancel on NULL cancellable
3550 2007-09-25 Alexander Larsson <alexl@redhat.com>
3552 * gio/gsimpleasyncresult.c:
3553 Don't allocate g_error manually.
3554 Fixes g_slice/g_new mixup crash
3556 2007-09-25 Alexander Larsson <alexl@redhat.com>
3558 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3559 Actually set active_backend.
3560 This means the monitor will be cancelled correctly.
3562 2007-09-25 Alexander Larsson <alexl@redhat.com>
3564 * gio/gdirectorymonitor.c:
3565 Set timeout to NULL when destroying
3567 2007-09-25 Alexander Larsson <alexl@redhat.com>
3570 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3571 that is a better description of the error.
3573 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3575 * gio/gvfs.c: (g_vfs_get_local):
3576 Make the local vfs variable static. The same instance should
3579 2007-09-24 Alexander Larsson <alexl@redhat.com>
3581 * gio/glocalfileinfo.c:
3582 Pass in actual length read into sniffer, not the length
3585 2007-09-21 Alexander Larsson <alexl@redhat.com>
3587 * gio/gfileenumerator.c:
3590 * gio/gfileinputstream.c:
3591 * gio/gfileoutputstream.c:
3592 * gio/ginputstream.c:
3593 * gio/goutputstream.c:
3594 Don't crash if async callbacks are NULL
3596 2007-09-20 Alexander Larsson <alexl@redhat.com>
3599 Add async enumerate_children method and default
3602 2007-09-20 Alexander Larsson <alexl@redhat.com>
3605 Add g_file_contains_file & g_file_get_relative_path, since they
3606 were needed for nautilus.
3607 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3612 Implement new methods
3614 2007-09-17 Alexander Larsson <alexl@redhat.com>
3617 * gio/gfileinputstream.[ch]:
3618 * gio/gfileoutputstream.[ch]:
3620 * gio/glocalfileenumerator.[ch]:
3621 * gio/glocalfileinfo.[ch]:
3622 * gio/glocalfileinputstream.c:
3623 * gio/glocalfileoutputstream.c:
3624 * gio/gpollfilemonitor.c:
3625 * programs/gio-copy.c:
3626 * programs/gio-info.c:
3627 * programs/gio-move.c:
3628 Rename get_file_info to query_info() to make it clearer
3629 that these are not simple getters, but do i/o.
3631 2007-09-17 Alexander Larsson <alexl@redhat.com>
3633 * gio/gdatainputstream.[ch]:
3634 * gio/test-streams.c:
3635 Use _read_XXX instead of _get_XXX for the i/o calls
3638 2007-09-17 Alexander Larsson <alexl@redhat.com>
3641 Added needed stuff to TODO comment
3643 2007-09-17 Alexander Larsson <alexl@redhat.com>
3645 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3646 Don't error out removing the backup copy if it doesn't
3649 2007-09-14 Alexander Larsson <alexl@redhat.com>
3651 * programs/Makefile.am:
3652 * programs/gvfs-*.c:
3654 Renamed apps from gvfs-xxx to gio-xxx.
3656 2007-09-14 Alexander Larsson <alexl@redhat.com>
3659 * gio/gfileoutputstream.[ch]:
3660 * gio/glocalfileoutputstream.c:
3661 * programs/gvfs-save.c:
3662 g_file_output_stream_get_etag doesn't do i/o, so remove
3663 cancellation and error.
3665 2007-09-14 Alexander Larsson <alexl@redhat.com>
3668 Add new_etag output to replace_contents functions
3670 2007-09-14 Alexander Larsson <alexl@redhat.com>
3672 * gio/gfileoutputstream.[ch]:
3673 Add async get_file_info and default implementation
3675 2007-09-14 Alexander Larsson <alexl@redhat.com>
3677 * gio/gfileinputstream.c:
3678 Implement fallback wrapper for async get_file_info
3680 2007-09-14 Alexander Larsson <alexl@redhat.com>
3683 Add etag out argument to load_contents
3688 2007-09-14 Alexander Larsson <alexl@redhat.com>
3690 * gio/gcontenttype.c (looks_like_text):
3691 Whitespace like tab, cr and lf do not make the
3694 2007-09-14 Alexander Larsson <alexl@redhat.com>
3696 * gio/gfileinputstream.[ch]:
3697 Add async get_file_info.
3699 2007-09-13 Alexander Larsson <alexl@redhat.com>
3701 * gio/goutputstream.c (g_output_stream_write_all):
3702 Allow NULL for bytes_written
3704 2007-09-13 Alexander Larsson <alexl@redhat.com>
3706 * gio/gmemoryinputstream.[ch]:
3707 Add accessors for data
3709 2007-09-13 Alexander Larsson <alexl@redhat.com>
3711 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3712 Don't crash if length is NULL