1 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
3 * gfile.c (g_file_find_enclosing_mount):
4 * ginputstream.c (g_input_stream_set_pending):
5 * glocalfile.c (g_local_file_find_enclosing_mount):
6 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
7 * goutputstream.c (g_output_stream_set_pending):
9 Fixup translator comments (#518578).
11 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
13 * gfile.c (g_file_find_enclosing_mount):
15 * glocalfile.c (g_local_file_find_enclosing_mount):
18 Fix a few typos in translator comments and documentation.
20 2008-02-25 Alexander Larsson <alexl@redhat.com>
27 Add translator comments (#518578)
29 2008-02-25 Alexander Larsson <alexl@redhat.com>
32 Reintroduce g_file_contains_file, keep around for one
33 unstable release cycle to avoid crashing to many apps.
34 Make sure to delete after release.
36 2008-02-25 Alexander Larsson <alexl@redhat.com>
39 Remove deprecated g_file_contains_file.
41 2008-02-25 Alexander Larsson <alexl@redhat.com>
44 Emit actual change signals in an idle handler.
45 This avoids reentrance and locking problems in
46 the file notification backends.
48 2008-02-25 Alexander Larsson <alexl@redhat.com>
51 (g_unix_mount_guess_should_display):
52 Remove type guessing, instead just display
53 mounts in /media and in ~/.
55 2008-02-25 Alexander Larsson <alexl@redhat.com>
58 Make new strings reuse old ones.
60 2008-02-25 Alexander Larsson <alexl@redhat.com>
63 Implement trashing and filesystem::readonly for win32 (#517235)
64 Patch from Yevgen Muntyan
66 2008-02-23 Matthias Clasen <mclasen@redhat.com>
68 * gfileinfo.h: Documentation fixes.
70 2008-02-22 Alexander Larsson <alexl@redhat.com>
72 * gcontenttype.c (g_content_type_get_icon):
73 Look at old-style gnome mime icon names too, as many
74 have not moved to the new style.
76 2008-02-21 Matthias Clasen <mclasen@redhat.com>
78 * *.c: Correct the @include in for section docs.
80 2008-02-21 David Zeuthen <davidz@redhat.com>
82 * glocalfileinfo.c: (_g_local_file_info_get):
84 (g_content_type_get_icon): Implement this function by
85 moving bits from glocalfileinfo.c
86 (g_content_type_get_description): Unalias before getting
89 * gfile.c: (g_file_class_init),
90 (g_file_query_filesystem_info_async),
91 (g_file_query_filesystem_info_finish),
92 (query_filesystem_info_data_free),
93 (query_filesystem_info_async_thread),
94 (g_file_real_query_filesystem_info_async),
95 (g_file_real_query_filesystem_info_finish):
96 * gfile.h: Implement async version of
97 g_file_query_filesystem_info()
99 * gfileinfo.h: Add new attributes for filesystem::use-preview
101 * gio.symbols: Update
103 * gthemedicon.c: (g_themed_icon_append_name):
104 * gthemedicon.h: Add new new convenience function.
106 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
107 (get_mounts), (get_volumes), (get_connected_drives),
108 (get_volume_for_uuid), (get_mount_for_uuid),
109 (g_union_volume_monitor_init), (populate_union_monitor),
110 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
111 (g_volume_monitor_adopt_orphan_mount):
113 * gvolumemonitor.h: Use recursive locks so it's safe for volume
114 monitor implementations to call into the main volume monitor. Also
115 separate object initialization and volume monitor initialization
116 such that non-native volume monitors can properly adopt their
119 2008-02-21 Alexander Larsson <alexl@redhat.com>
124 2008-02-21 Alexander Larsson <alexl@redhat.com>
127 Add more documentation about how GFiles work (from #517086)
129 2008-02-21 Alexander Larsson <alexl@redhat.com>
133 Add new g_file_has_prefix that does the same as g_file_contains_file.
134 Deprecate g_file_contains_file and add a macro that converts
135 it to g_file_has_prefix.
136 The reason for this change is that the contains_file() name seems to
137 imply that this does more work than what it does, but its really only
138 a name match (from #517086)
143 Update to match the above change.
145 2008-02-20 Benjamin Otte <otte@gnome.org>
147 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
148 (g_file_eject_mountable):
149 even more cases of not returning in error path
151 2008-02-20 Benjamin Otte <otte@gnome.org>
153 * gfile.c: (g_file_mount_mountable):
154 return from function in error path.
156 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
159 Remove trailing coma in GMountMountFlags struct
161 2008-02-18 Alexander Larsson <alexl@redhat.com>
165 * glocalfileoutputstream.c:
166 Use g_unlink/g_rename instead of unlink/rename;
167 do not pass raw filenames to g_set_error. (#517239)
168 Patch from Yevgen Muntyan.
170 2008-02-18 Alexander Larsson <alexl@redhat.com>
173 * glocalfileoutputstream.c:
174 Open files with O_BINARY on windows. (#517140)
176 2008-02-14 Alexander Larsson <alexl@redhat.com>
178 * glocalfileoutputstream.c:
179 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
181 2008-02-14 Alexander Larsson <alexl@redhat.com>
184 Copy permissions with file on copy (#514084)
185 This is what cp does and makes sure e.g. the
186 exec permissions are kept.
187 Its kinda weird in that it keeps the permission bits
188 the same while the uid and gid are different. However
189 the new uid is the user so its not a security issue,
190 and I've heard no complaints about cp on this issue.
192 2008-02-13 Ryan Lortie <desrt@desrt.ca>
194 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
196 2008-02-13 Alexander Larsson <alexl@redhat.com>
198 * inotify/inotify-path.c:
199 Define IN_ONLYDIR if not in header (#515346)
201 2008-02-12 Alexander Larsson <alexl@redhat.com>
203 * tests/live-g-file.c:
206 2008-02-11 Matthias Clasen <mclasen@redhat.com>
208 * === Released 2.15.5 ===
210 2008-02-11 Matthias Clasen <mclasen@redhat.com>
212 * gio.symbols: Add g_mount_mount_flags_get_type.
214 2008-02-11 Alexander Larsson <alexl@redhat.com>
217 (g_file_info_set_attribute_mask):
218 (g_file_attribute_matcher_matches_id):
219 Correctly handle NULL GAttributeMatcher meaning
220 matches nothing. (Fixes #513492)
222 2008-02-11 Alexander Larsson <alexl@redhat.com>
227 Added GMountMountFlags enum and added a flags
228 argument to all mount calls.
230 This is an API/ABI change for future extensibility,
231 as I think we will need at least an
232 inhibit-autorun flag (the panel needs this).
233 There are no flags defined yet though.
235 2008-02-11 Alexander Larsson <alexl@redhat.com>
238 Added new standard::description attribute.
239 Requested by Vincent, and useful for both
242 2008-02-11 Alexander Larsson <alexl@redhat.com>
247 2008-02-11 Matthias Clasen <mclasen@redhat.com>
249 * *.c: Documentation additions
251 2008-02-10 Matthias Clasen <mclasen@redhat.com>
253 * gappinfo.h: Formatting cleanup
254 * gappinfo.c: Fix up docs.
256 2008-02-09 Matthias Clasen <mclasen@redhat.com>
258 * gunixmounts.c: Consistently use getmntent_r() and fall
259 back to getmntent(). (#515492)
261 2008-02-09 Matthias Clasen <mclasen@redhat.com>
263 * gbufferedinputstream.c:
265 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
267 * tests/data-input-stream.c:
268 * tests/data-output-stream.c: Portability fixes.
270 2008-02-08 Alexander Larsson <alexl@redhat.com>
275 Add g_volume_should_automount.
278 2008-02-07 Tor Lillqvist <tml@novell.com>
280 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
281 Win32, too Unix-specific.
283 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
285 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
286 a local plt if the compiler doesn't support what we want. Bug #514702
288 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
290 reviewed by: <delete if not using a buddy>
293 * gunixinputstream.c:
294 * gunixoutputstream.c:
296 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
299 * tests/live-g-file.c:
300 * tests/live-g-file.txt:
301 New GIO testing module working over real data
303 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
305 * glocalfileoutputstream.c (g_local_file_output_stream_close):
306 Fallback to rename() if link() is not available
307 (when no support on target filesystem)
309 2008-02-06 Michael Natterer <mitch@imendio.com>
311 * gfileinfo.c (g_file_info_get_icon): replace
312 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
314 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
316 * gfile.c (g_file_create):
317 Documentation update of error codes
319 2008-02-06 Alexander Larsson <alexl@redhat.com>
322 Update to use both mimeapps.list and
323 defaults.list as discussed on xdg list.
325 2008-02-06 Benjamin Otte <otte@gnome.org>
328 * gfilenamecompleter.c:
329 Fix some typos in the documentation.
331 2008-02-06 Alexander Larsson <alexl@redhat.com>
333 * glocalfile.c (g_local_file_trash):
334 Don't succeed with trash if newly created
335 trash dir has the wrong owner. (#514696)
337 2008-02-05 Alexander Larsson <alexl@redhat.com>
339 * glocalfile.c (g_local_file_move):
340 Don't spew warnings when destination is not
343 2008-02-03 Hans Breuer <hans@breuer.org>
345 * makefile.msc : update
347 2008-02-01 Michael Natterer <mitch@imendio.com>
349 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
350 return value of xdg_mime_list_mime_parents() to a variable of the
353 2008-02-01 Alexander Larsson <alexl@redhat.com>
355 * gappinfo.c (g_app_info_launch_uris):
356 Actually call the launch_uris method, not
359 2008-02-01 Alexander Larsson <alexl@redhat.com>
361 * gdesktopappinfo.c (g_desktop_app_info_equal):
362 Ensure appinfos with no id but same pointer value
365 2008-02-01 Alexander Larsson <alexl@redhat.com>
367 * gappinfo.c (g_app_info_launch_default_for_uri):
370 2008-02-01 Alexander Larsson <alexl@redhat.com>
374 Add g_app_info_launch_default_for_uri utility
377 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
380 Doc fix for g_app_info_get_default_for_uri_scheme ()
383 2008-01-30 Alexander Larsson <alexl@redhat.com>
386 Add doc comment about uris vs GFiles to
390 Ensure uris passed to g_app_info_launch_uris()
391 are not roundtriped through GFile (as that
392 may be slightly destructive for e.g. mailto: links)
394 2008-01-30 Alexander Larsson <alexl@redhat.com>
396 * tests/data-input-stream.c:
397 * tests/data-output-stream.c:
398 C89 fixes from Jens Granseuer (#512849)
400 2008-01-30 Alexander Larsson <alexl@redhat.com>
403 Fix gamin/fam difference build issue. (#509419)
405 2008-01-29 Alexander Larsson <alexl@redhat.com>
409 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
411 2008-01-29 Alexander Larsson <alexl@redhat.com>
415 giomodule-priv.h include moved to .c file.
417 2008-01-29 Alexander Larsson <alexl@redhat.com>
419 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
420 Remove unused prio/name fields.
422 2008-01-29 Alexander Larsson <alexl@redhat.com>
424 * gcontenttype.c (looks_like_text):
425 Don't treat whitespace as control chars.
427 2008-01-29 Alexander Larsson <alexl@redhat.com>
430 Lazily create the desktop files for appinfos created
431 by g_app_info_create_from_commandline() when needed
432 for mime associations. This allows run-time use
433 of GAppInfo object without creating unnecessary
436 2008-01-29 Alexander Larsson <alexl@redhat.com>
439 Added new symbols to gio.symbols
441 2008-01-29 Alexander Larsson <alexl@redhat.com>
444 Add g_file_query_default_handler utility to easily look up
445 the GAppInfo that handles a file.
447 * gdesktopappinfo.[ch]:
449 Set up an extension point for g_app_info_get_default_for_uri_scheme()
452 Remove unused function
454 2008-01-29 Alexander Larsson <alexl@redhat.com>
457 Mention need to free returned value in
458 g_file_enumerator_next_files_finish docs.
459 Fix leak if g_file_enumerator_next_files_finish()
462 2008-01-29 Alexander Larsson <alexl@redhat.com>
465 (_g_unix_content_type_get_parents):
466 Use list_parents, not get_parents from xdgmime, because
467 the later doesn't use the cache.
469 * xdgmime/xdgmimecache.c:
470 (_xdg_mime_cache_list_mime_parents):
471 Don't list the same type as parent multiple times.
473 2008-01-28 Matthias Clasen <mclasen@redhat.com>
475 * === Released 2.15.4 ===
477 2008-01-28 Alexander Larsson <alexl@redhat.com>
480 Register local vfs with prio 0.
483 Remove old name and prio class members
485 2008-01-28 Matthias Clasen <mclasen@redhat.com>
487 * tests/g-file.c: Disable some tests that are failing in
488 the absence of a http backend.
490 2008-01-28 Alexander Larsson <alexl@redhat.com>
494 Add registration hooks for extension points.
495 Register the gio extension points.
497 * fam/gfamdirectorymonitor.c:
498 * fam/gfamfilemonitor.c:
499 * glocaldirectorymonitor.[ch]:
500 * glocalfilemonitor.[ch]:
501 * gnativevolumemonitor.h:
502 * gunionvolumemonitor.c:
503 * gunixvolumemonitor.c:
506 * inotify/ginotifydirectorymonitor.c:
507 * inotify/ginotifyfilemonitor.c:
508 Use the extension points registration instead
509 of g_type_children().
511 2008-01-28 Matthias Clasen <mclasen@redhat.com>
514 * gvolume.[hc]: Document new API.
516 * gfile.c (g_file_copy_async): Fix docs
518 2008-01-27 Matthias Clasen <mclasen@redhat.com>
520 * gbufferedinputstream.c:
522 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
525 2008-01-27 Matthias Clasen <mclasen@redhat.com>
527 * glocalfile.c: Avoid trivial differences in translatable strings.
529 2008-01-25 Matthias Clasen <mclasen@redhat.com>
531 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
532 build with gcc 3.4 (#509419)
534 2008-01-25 Matthias Clasen <mclasen@redhat.com>
536 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
537 (#509994, Murray Cumming)
539 2008-01-25 Matthias Clasen <mclasen@redhat.com>
541 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
542 * gioscheduler.c: Keep calling io jobs until they return FALSE;
543 this allows big jobs to be executed in chunks, instead of blocking
544 the main loop for a long time.
546 * gsimpleasyncresult.c:
547 * giofile.c: Adapt callers.
549 2008-01-25 Alexander Larsson <alexl@redhat.com>
552 Implement changes discussed on xdg list.
553 Now we can add supported mimetypes by just using defaults.list
554 We can also remove associations in defaults.list.
556 2008-01-25 Alexander Larsson <alexl@redhat.com>
559 Don't make local copy of desktop file
560 for mimetype changes if the file already
561 supports the new mimetype.
563 2008-01-25 Matthias Clasen <mclasen@redhat.com>
567 * gbufferedinputstream.c:
568 * glocalfile.c: String improvements. (#511966,
569 Theppitak Karoonboonyanan)
571 2008-01-24 Matthias Clasen <mclasen@redhat.com>
573 * gioscheduler.h: Expand docs a bit.
575 2008-01-24 Alexander Larsson <alexl@redhat.com>
578 Add g_drive_get_identifier and
579 g_drive_enumerate_identifiers
582 Add g_volume_get_identifier and
583 g_volume_enumerate_identifiers
589 Implement identifiers for unix backend
591 2008-01-24 Alexander Larsson <alexl@redhat.com>
596 Add g_file_copy_async() (#511580)
597 Based on patch from Carlos Garcia Campos
599 2008-01-23 Matthias Clasen <mclasen@redhat.com>
601 * gioscheduler.c: Some documentation additions.
603 2008-01-22 Alexander Larsson <alexl@redhat.com>
606 (g_desktop_app_info_new):
609 2008-01-22 Alexander Larsson <alexl@redhat.com>
612 (g_desktop_app_info_new_from_filename):
615 2008-01-22 Alexander Larsson <alexl@redhat.com>
617 * glocalfileinfo.c (get_thumbnail_attributes):
620 2008-01-22 Alexander Larsson <alexl@redhat.com>
623 (canonicalize_filename):
624 Canonicalize paths that start with more than
629 (test_g_file_new_for_path):
632 2008-01-22 Alexander Larsson <alexl@redhat.com>
635 Allow UTF-8 in file:// parse names.
638 * tests/data-input-stream.c:
639 * tests/data-output-stream.c:
640 * tests/g-file-info.c:
642 Added a bunch of tests from Tomas Bzatek
644 2008-01-21 Matthias Clasen <mclasen@redhat.com>
646 * === Released 2.15.3 ===
648 2008-01-21 Alexander Larsson <alexl@redhat.com>
650 * gfileinputstream.[ch]:
651 * gfileoutputstream.[ch]:
653 Remove duplicated GSeekable functions. (#509990)
654 Just use the g_seekable_xxx() calls instead.
656 2008-01-21 Matthias Clasen <mclasen@redhat.com>
659 * gvolumemanager.c: Whitespace cleanups.
661 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
662 Use the right mode when creating the file.
664 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
667 * gfileinputstream.c:
669 * goutputstream.c: Documentation: Fixed minor typos
670 and added more mentions of specific _finish() functions.
672 2008-01-21 Alexander Larsson <alexl@redhat.com>
674 * inotify/Makefile.am:
675 * inotify/inotify-helper.c:
676 * inotify/inotify-kernel.c:
677 * inotify/inotify-path.c:
678 * inotify/local_inotify.h: Removed.
679 * inotify/local_inotify_syscalls.h: Removed.
680 Removed the included copies of the inotify
681 headers. We now only use the <sys/inotify.h>
682 header which exists on modern systems.
683 This fixes problems on ARM and SH5 (#510448)
684 but is also generally much cleaner and future
685 safe. For instance, if other OSes add support
686 for inotify it should "just work".
688 2008-01-20 Matthias Clasen <mclasen@redhat.com>
690 * inotify/*.c: Coding style fixes.
691 * inotify/inotify-missing.c: Use g_timeout_add_seconds
692 for the 1/4 Hz timer.
694 2008-01-20 Matthias Clasen <mclasen@redhat.com>
698 * gmemoryinputstream.c:
699 * gmemoryoutputstream.c:
701 * gthemedicon.c: Documentation updates
703 2008-01-20 Murray Cumming <murrayc@murrayc.com>
705 * gfile.c: documentation: Fixed more minor
708 2008-01-18 Murray Cumming <murrayc@murrayc.com>
710 * gmount.c: (g_mount_remount): documentation:
711 Mention g_mount_remount_finish() instead of
712 g_mount_unmount_finish().
714 2008-01-18 Murray Cumming <murrayc@murrayc.com>
718 * gfile.c: Fixed some minor typos in the
721 2008-01-18 Murray Cumming <murrayc@murrayc.com>
723 * gio/gvolumemonitor.c:
724 (g_volume_monitor_get_connected_drives):
725 (g_volume_monitor_get_volumes):
726 (g_volume_monitor_get_mounts): Documentation:
727 Clarify the ownership of the regurn GLists.
729 2008-01-17 Alexander Larsson <alexl@redhat.com>
732 Add the async find_enclosing_mount version
733 to the header file too.
735 2008-01-17 Alexander Larsson <alexl@redhat.com>
738 Add async version of find_enclosing_mount
739 with default implementation.
741 2008-01-17 Alexander Larsson <alexl@redhat.com>
746 Allow calls to implementation of copy and write
747 even if the type of the file implementations is
748 different. This can be used to implement native
749 upload and download calls in a vfs.
753 Protect against the case where move is called
754 with one file not being local.
756 Make sure we call the progress callback once
757 in the native move operation so that the caller
758 knows how many bytes were copied.
760 2008-01-16 Murray Cumming <murrayc@murrayc.com>
763 * gdatainputstream.c:
765 * gfileoutputstream.c:
770 * gunixmounts.c: Corrected some typos in the documentation:
772 its -> it's (where appropriate).
774 2008-01-16 Alexander Larsson <alexl@redhat.com>
778 Add g_file_query_exists (#508771)
780 2008-01-15 Murray Cumming <murrayc@murrayc.com>
785 * gvolume.c: For async functions that have no non-async
786 version, document that the GAsyncReadyCallback may be NULL.
789 2008-01-15 Alexander Larsson <alexl@redhat.com>
791 * gmemoryinputstream.c:
792 * gmemoryoutputstream.c:
793 Don't do pointer arithmetic on void * (#508602)
794 Patch from Kazuki IWAMOTO
796 2008-01-14 Matthias Clasen <mclasen@redhat.com>
798 * === Released 2.15.2 ===
800 2008-01-14 Alexander Larsson <alexl@redhat.com>
802 * gfile.c (g_file_monitor_file):
803 Don't set error here, since we fallback to polling monitor.
805 2008-01-14 Alexander Larsson <alexl@redhat.com>
808 (g_file_monitor_directory):
809 (g_file_monitor_file):
810 Add GError to file monitor calls
812 * glocaldirectorymonitor.c:
813 * glocaldirectorymonitor.h:
815 * glocalfilemonitor.c:
816 * glocalfilemonitor.h:
818 Update for above change
820 2008-01-14 Alexander Larsson <alexl@redhat.com>
824 Handle root correctly in g_file_get_relative_path (#508719)
826 2008-01-14 Alexander Larsson <alexl@redhat.com>
829 Clean up docs and example for GAsyncResult (#508074)
831 2008-01-11 Murray Cumming <murrayc@murrayc.com>
833 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
834 and correct some spelling mistakes. Bug #508108.
836 2008-01-11 Matthias Clasen <mclasen@redhat.com>
838 * glocalfileinfo.c: Add a comment.
840 2008-01-10 Murray Cumming <murrayc@murrayc.com>
842 * gfileinfo.c: GFileInfo description: Mention
843 how to actually set attributes in a GFile and how to discover
844 which attributes are settable. Bug #508378.
846 2008-01-10 A. Walton <awalton@svn.gnome.org>
848 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
849 (g_app_info_get_default_for_type):
850 Check for NULL content types.
852 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
854 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
856 2008-01-09 Murray Cumming <murrayc@murrayc.com>
858 * gfile.c: *_async() functions: Several small corrections
859 to the documentation, mostly correcting copy/paste errors
860 and improving some sentences.
862 2008-01-09 Dan Winship <danw@gnome.org>
864 * glocalfile.c (get_unique_filename): x86_64 fix
866 2008-01-09 Alexander Larsson <alexl@redhat.com>
871 Add g_unix_mount_guess_should_display and use
872 for unix volume monitor backend.
873 This means we more or less show what the
874 gnome-vfs backend did.
875 Based on patch from Padraig O'Briain
877 2008-01-09 Alexander Larsson <alexl@redhat.com>
881 Add g_themed_icon_new_with_default_fallbacks
884 Use default fallbacks for icons
886 2008-01-09 Alexander Larsson <alexl@redhat.com>
889 * gmountoperation.[ch]:
890 Change the API a bit so that unhandled methods
891 get reported via the reply, rather than by
892 the signal emission return value. This is because
893 some handlers can't know this immediately without
894 doing I/O, and this is an async operation that
897 2008-01-09 Alexander Larsson <alexl@redhat.com>
900 * fam/gfamdirectorymonitor.c:
901 * fam/gfamfilemonitor.c:
902 Fix double free crash (#508224)
903 Patch from Joe Marcus Clarke
905 008-01-07 Matthias Clasen <mclasen@redhat.com>
907 * === Released 2.15.1 ===
909 2008-01-07 Alexander Larsson <alexl@redhat.com>
911 * gunixinputstream.c (g_unix_input_stream_skip_finish):
912 Fix warning (#507835)
914 2008-01-07 Alexander Larsson <alexl@redhat.com>
917 Pass --internal to glib-genmarshal
922 Use better types for signal arguments (#507822)
924 2008-01-07 Alexander Larsson <alexl@redhat.com>
927 Build test subdir after .
928 Remove gdirectorymonitor.[ch]
930 * gdirectorymonitor.[ch]:
934 Remove GDirectoryMonitor and make
935 GFileMonitor the baseclass for both file and
936 directory monitors. Lift the more generic
937 rate limiting code from GDirectoryMonitor
941 * fam/gfamdirectorymonitor.[ch]:
942 * inotify/ginotifydirectorymonitor.[ch]:
943 * inotify/inotify-helper.c:
944 * glocaldirectorymonitor.[ch]:
947 Update for the removed GDirectoryMonitor.
949 * gmemoryoutputstream.c:
950 Remove ununsed variable
952 2008-01-07 Alexander Larsson <alexl@redhat.com>
954 * gmemoryinputstream.c:
955 Translate error strings
958 * gmemoryoutputstream.[ch]:
959 New implementation that avoids using GByteArray
960 in implementation and API. (#506377)
962 2008-01-06 Matthias Clasen <mclasen@redhat.com>
964 * tests/*: Add a test for memory input streams.
966 * Makefile.am: Add tests to SUBDIRS.
968 2008-01-06 Matthias Clasen <mclasen@redhat.com>
970 * glocalfilemonitor.c:
971 * glocaldirectorymonitor.c: Mark property nicks and blurbs
974 2008-01-06 Matthias Clasen <mclasen@redhat.com>
976 * gdesktopappinfo.c: Fix a docs typo.
978 * gfileattribute.c: Add information about extended attributes
979 to the documentation. (#505058)
981 2008-01-04 Alexander Larsson <alexl@redhat.com>
985 Use the right type (uint) for the ask_password signal.
987 2008-01-04 Alexander Larsson <alexl@redhat.com>
992 Add g_app_info_supports_files()
993 Remove desktop arg from g_app_info_should_show().
995 * gdesktopappinfo.[ch]:
996 Implement g_app_info_supports_files() and new should_show()
997 Add g_desktop_app_info_set_desktop_env() to set the desktop
998 for should_show(). (This will be set by gtk+ later)
1000 2008-01-04 Alexander Larsson <alexl@redhat.com>
1003 * gmemoryinputstream.[ch]:
1004 Improve API so that you can use multiple chunks
1005 of memory and custom destroy functions. (#506374)
1007 2008-01-03 Alexander Larsson <alexl@redhat.com>
1010 Handle NULL attribute matchers safely, as we return this
1011 for empty attribute matcher strings.
1013 2008-01-03 Alexander Larsson <alexl@redhat.com>
1015 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1016 Add /usr/local to list of internal mountpoints
1018 2008-01-03 Alexander Larsson <alexl@redhat.com>
1021 Check for HAVE_LCHOWN (#505887)
1023 2008-01-03 Alexander Larsson <alexl@redhat.com>
1027 Add define for selinux context attribute.
1028 Fix missing : -> :: namespace separator change
1029 Fix missing _ -> - name change for xattr-sys.
1032 2008-01-03 Alexander Larsson <alexl@redhat.com>
1035 Link to libglib and libgobject directly (#504879)
1036 Patch from Sebastien Bacher
1038 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1040 * gfile.c: Expanded the g_file_new_for_commandline_arg
1041 description a bit, based on the code and the docs of the
1042 other g_file_new_for_* functions.
1044 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1046 * gfilemonitor.h: Fixed typo in docs.
1048 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1050 Updates to GIO documentation. (#506395, Mikael Hermansson)
1052 * gcontenttype.c: Describe memory management for return value of
1053 g_content_types_get_registered(). Missing piece from #505815.
1054 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1055 GVolume, GDrive, GMounts, which hopefully gives the user less
1056 confusions when using this API. Following explainations from
1057 Alexander Larsson on gtk-devel-list.
1059 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1061 * gfileinfo.c: Expand the long description.
1063 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1066 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1067 fix builds with --disable-visibility. (#500273, Christian Persch)
1069 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1071 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1072 in the list of returned app infos.
1074 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1076 * gappinfo.c: Fix a cross-reference
1078 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1080 * gfileinputstream.c:
1081 * gfileoutputstream.c:
1085 * gdesktopappinfo.c:
1087 * gfileinfo.c: Documentation updates.
1089 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1091 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1094 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1096 * gcontenttype.c (g_content_types_get_registered): Don't return
1097 freed memory (#505815, Mikael Hermansson)
1099 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1101 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1102 used to detect statbuf->st_blocks. (#505042)
1104 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1106 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1107 environment handling. (#504829, Cosimo Cecchi)
1109 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1111 * gappinfo.c: Doc improvements
1113 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1116 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1118 * === Released 2.15.0 ===
1120 2007-12-20 Hans Breuer <hans@breuer.org>
1122 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1123 with symbols gwin32appinfo.obj, added gmount.obj
1124 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1126 2007-12-20 Alexander Larsson <alexl@redhat.com>
1132 * gfilenamecompleter.c:
1135 * gpollfilemonitor.c:
1136 File attribute renames:
1138 fs:: -> filesystem::
1139 id::fs -> id::filesystem
1141 2007-12-20 Alexander Larsson <alexl@redhat.com>
1150 Add GMountUnmountFlags to all unmount and
1152 Add g_mount_remount() call.
1154 2007-12-20 Alexander Larsson <alexl@redhat.com>
1156 * gvfs.c (get_default_vfs):
1157 Fix unused variable warning
1159 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1161 * pltcheck.sh: Update
1163 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1165 * gunionvolumemonitor.c:
1166 * gunixmount.c: Remove C99 comments
1168 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1170 * gio.symbols: Add some missing symbols
1172 2007-12-19 Alexander Larsson <alexl@redhat.com>
1175 Make g_io_modules_load_all_in_directory not unuse
1176 loaded modules so that users of it can do stuff
1178 Init internal "module" types.
1179 Initialize static prio and name for types so that
1180 we don't have to load modules to get it.
1182 * gnativevolumemonitor.h:
1184 Move is_supported to parent class so that
1185 non-native monitors can avoid being initialized
1186 too. (For instance GDaemonVolumeMonitor if we're
1187 not using GDaemonVfs.)
1189 * glocaldirectorymonitor.[ch]:
1190 * glocalfilemonitor.[ch]:
1191 * gunionvolumemonitor.c:
1192 * gunixvolumemonitor.c:
1194 Find plugins using the static prio+name to
1195 avoid unnecessarily loading the modules.
1197 2007-12-19 Alexander Larsson <alexl@redhat.com>
1202 2007-12-19 Alexander Larsson <alexl@redhat.com>
1204 * gunionvolumemonitor.c:
1205 Store the native type as GType, not class so that
1206 we can unload it. But still avoid unnecessarily
1209 2007-12-19 David Zeuthen <davidz@redhat.com>
1211 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1212 add signals 'disconnected' and 'eject-button' on GDrive. Add
1213 signal 'removed' on GVolume and 'unmounted' on GMount.
1215 * gdrive.c: (g_drive_base_init):
1217 * gfile.c: (g_file_mount_mountable),
1218 (g_file_mount_enclosing_volume):
1221 * gmount.c: (g_mount_base_init):
1223 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1224 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1225 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1229 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1231 * *.c: Fix up includes in the section docs.
1233 2007-12-17 Alexander Larsson <alexl@redhat.com>
1235 * gnativevolumemonitor.h:
1236 * gunionvolumemonitor.c:
1237 * gunixvolumemonitor.c:
1238 Add is_supported() to GNativeVolumeMonitorClass so
1239 that we can avoid having to create an object to see
1240 if the backend is supported at runtime.
1241 Also add name member and an env var to pick a specific
1242 volume monitor backend.
1246 Add cancellable to _g_mount_get_for_mount_path()
1248 * glocaldirectorymonitor.c:
1249 * glocalfilemonitor.c:
1250 Avoid loading and unloading modules while sorting.
1252 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1255 * gunixmounts.[hc]: Namespace waste reduction, move some
1256 g_get_unix_mount functions to the g_unix_mount namespace.
1259 * gunixvolumemonitor.c:
1261 * glocaldirectorymonitor.c: Update all callers.
1263 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1265 2007-12-17 Alexander Larsson <alexl@redhat.com>
1268 Add doc comments about what GFile operations are
1269 guaranteed to not block.
1271 2007-12-17 Alexander Larsson <alexl@redhat.com>
1274 Add missing #ifdef fixing OSX build.
1275 (#503334, patch from Richard Hult)
1277 2007-12-14 David Zeuthen <davidz@redhat.com>
1281 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1282 (g_mount_eject), (g_mount_eject_finish):
1284 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1285 (get_volume_for_uuid), (get_mount_for_uuid),
1286 (g_union_volume_monitor_class_init),
1287 (get_default_native_type_with_exclude), (get_default_native_type),
1288 (get_native_type), (update_native_type),
1289 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1290 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1291 (g_unix_mount_can_eject), (eject_unmount_cb),
1292 (eject_unmount_read_error), (eject_unmount_do),
1293 (g_unix_mount_unmount), (g_unix_mount_eject),
1294 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1295 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1296 (g_unix_mount_point_guess_can_eject):
1298 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1299 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1300 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1301 (g_unix_volume_mount), (g_unix_volume_eject),
1302 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1303 * gunixvolumemonitor.c: (get_volume_for_uuid),
1304 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1306 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1307 (g_volume_eject), (g_volume_eject_finish):
1309 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1310 (g_volume_monitor_get_mount_for_uuid):
1313 Provide eject() on both GMount and GVolume and utility functions
1314 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1315 ejected. Introduce the concept of UUID's and wire it into GVolume
1316 and GMount and provide API on GVolumeMonitor to find such
1317 instances. Also handle the case where an external
1318 GNativeVolumeMonitor fails to initialize. Lock around the
1319 _g_get_mount_for_mount_path() function such that volume monitor
1320 implementations won't have to do locking themselves.
1322 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1324 * gdesktopappinfo.c:
1330 * gvolume.h: Documentation updates
1332 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1335 * gfile.h: Doc updates
1337 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1340 * gdesktopappinfo.c: Use hash table iterators.
1342 2007-12-14 Alexander Larsson <alexl@redhat.com>
1345 * gfileattribute.[ch]:
1346 * gfileattribute-priv.h:
1347 Move GFileAttributeValue to a private header, as
1351 Make set_attribute take a type + a pointer instead
1352 of a GFileAttributeValue.
1355 Fix up for above changes.
1356 Add g_file_info_get_attribute_data to get
1357 all info in one call, g_file_info_get_attribute_status
1358 to get the status and g_file_info_get_attribute_as_string.
1362 * glocalfileinfo.[ch]:
1366 Make _guess_type static.
1368 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1371 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1372 made mkenums and friends use temporary files to avoid leaving
1373 empty generated files on failure (#503470).
1375 2007-12-14 Alexander Larsson <alexl@redhat.com>
1377 * gmountoperation.h:
1380 2007-12-14 Alexander Larsson <alexl@redhat.com>
1384 * gfileattribute.[ch]:
1387 * glocalfileoutputstream.c:
1388 * gmountoperation.[ch]:
1389 * goutputstream.[ch]:
1390 Clean up all flags enums to not have _FLAGS in them
1391 Make the names of some of the enums better.
1396 2007-12-14 Michael Natterer <mitch@imendio.com>
1398 * gio.symbols: fix g_io_scheduler symbol names.
1400 2007-12-14 Alexander Larsson <alexl@redhat.com>
1406 * gbufferedinputstream.h:
1407 * gbufferedoutputstream.h:
1410 * gdatainputstream.h:
1411 * gdataoutputstream.h:
1412 * gdesktopappinfo.h:
1413 * gdirectorymonitor.h:
1417 * gfileenumerator.h:
1420 * gfileinputstream.h:
1422 * gfilenamecompleter.h:
1423 * gfileoutputstream.h:
1424 * gfilterinputstream.h:
1425 * gfilteroutputstream.h:
1433 * gmemoryinputstream.h:
1434 * gmemoryoutputstream.h:
1436 * gmountoperation.h:
1439 * gsimpleasyncresult.h:
1441 * gunixinputstream.h:
1443 * gunixoutputstream.h:
1447 * inotify/Makefile.am:
1448 Only allow including <gio/gio.h> from apps
1450 2007-12-14 Alexander Larsson <alexl@redhat.com>
1452 * gioscheduler.[ch]:
1453 * gsimpleasyncresult.c:
1454 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1455 Split out the send_to_mainloop call into two versions instead
1456 of having the block argument.
1458 2007-12-13 Alexander Larsson <alexl@redhat.com>
1460 * gcancellable.[ch]:
1462 * gbufferedinputstream.c:
1463 * gfileenumerator.c:
1464 * gfileinputstream.c:
1465 * gfileoutputstream.c:
1469 g_push/pop_current_cancellable ->
1470 g_cancellable_push/pop_current
1472 2007-12-13 Alexander Larsson <alexl@redhat.com>
1476 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1478 2007-12-13 Alexander Larsson <alexl@redhat.com>
1480 * gmountoperation.h:
1481 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1483 2007-12-12 Alexander Larsson <alexl@redhat.com>
1486 Fix race condition when freeing proxy in
1487 g_io_job_send_to_mainloop().
1489 2007-12-12 Alexander Larsson <alexl@redhat.com>
1495 Make attribute namespace separator "::" instead of ":".
1496 Use - instead of _ as separator in attribute names.
1498 2007-12-12 Alexander Larsson <alexl@redhat.com>
1500 * gbufferedinputstream.h:
1501 * gbufferedoutputstream.h:
1502 * gdatainputstream.h:
1503 * gdataoutputstream.h:
1504 * gdirectorymonitor.h:
1505 * gfileenumerator.h:
1506 * gfileinputstream.h:
1508 * gfileoutputstream.h:
1509 * gfilterinputstream.h:
1510 * gfilteroutputstream.h:
1512 * glocalfileinputstream.h:
1513 * glocalfileoutputstream.h:
1514 * gmemoryinputstream.h:
1515 * gmemoryoutputstream.h:
1516 * gnativevolumemonitor.h:
1518 * gunixinputstream.h:
1519 * gunixoutputstream.h:
1522 s/parent/parent_instance/ in GObjects
1524 2007-12-12 Alexander Larsson <alexl@redhat.com>
1529 No need for padding for interfaces
1531 2007-12-12 Alexander Larsson <alexl@redhat.com>
1535 * gbufferedinputstream.c:
1536 * gbufferedoutputstream.c:
1539 * gdatainputstream.[ch]:
1540 * gdesktopappinfo.c:
1541 * gdirectorymonitor.c:
1543 * gfileattribute.[ch]:
1546 * gfileinputstream.h:
1547 * gfilemonitor.[ch]:
1548 * gfileoutputstream.[ch]:
1549 * gfilterinputstream.h:
1550 * gfilteroutputstream.h:
1553 * gloadableicon.[ch]:
1554 * gmemoryinputstream.c:
1555 * gmountoperation.c:
1557 Fix up a bunch of details in the docs.
1562 2007-12-11 David Zeuthen <davidz@redhat.com>
1564 Rework how volumes, drives and volume monitoring is
1565 done. Previosly the model was
1567 GDrive <1-1> GVolume
1569 where a GDrive instance represented a mount point and a GVolume
1570 instance represented a mounted file system. This patch changes it
1573 GDrive <1-N> GVolume <1-1> GMount
1575 where GMount now serves the purpose of the old GVolume and the new
1576 GVolume serves the purpose of the old GDrive. In addition the new
1577 GDrive interface is used to represent a collection of GVolume
1578 instances (typically partitions) and also contains utility to query
1579 the state of the physical drive the GDrive object represents (such
1580 as checking for media, polling the drive, ejecting the media etc.).
1582 Also implement mounting and unmounting in the Unix volume monitor
1583 backend. A subquent patch will introduce GDrive support for ejection
1587 * gdrive.c: (g_drive_is_media_check_automatic),
1588 (g_drive_is_media_removable), (g_drive_has_media),
1589 (g_drive_can_poll_for_media), (g_drive_eject),
1590 (g_drive_eject_finish), (g_drive_poll_for_media),
1591 (g_drive_poll_for_media_finish):
1593 * gfile.c: (g_file_find_enclosing_mount):
1596 * glocaldirectorymonitor.c:
1597 (g_local_directory_monitor_constructor), (mounts_changed):
1598 * glocalfile.c: (get_mount_info),
1599 (g_local_file_find_enclosing_mount),
1600 (g_local_file_file_iface_init):
1601 * gnativevolumemonitor.h:
1602 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1603 (get_connected_drives), (g_union_volume_monitor_class_init),
1604 (child_volume_added), (child_volume_removed),
1605 (child_volume_changed), (child_mount_added), (child_mount_removed),
1606 (child_mount_pre_unmount), (child_mount_changed),
1607 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1608 (g_union_volume_monitor_remove_monitor),
1609 (_g_mount_get_for_mount_path):
1610 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1611 (guess_system_internal), (_g_get_unix_mounts),
1612 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1613 (g_unix_mount_free), (g_unix_mount_compare),
1614 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1615 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1616 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1617 (type_to_icon), (g_unix_mount_guess_name),
1618 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1619 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1620 (_resolve_symlink), (_resolve_dev_root):
1622 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1623 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1624 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1625 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1626 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1627 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1628 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1629 (g_unix_volume_volume_iface_init):
1631 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1632 (get_mounts), (get_volumes), (get_connected_drives),
1633 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1634 (mountpoints_changed), (mounts_changed),
1635 (g_unix_volume_monitor_init),
1636 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1637 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1638 * gunixvolumemonitor.h:
1639 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1640 (g_volume_mount), (g_volume_mount_finish):
1642 * gvolumemonitor.c: (g_volume_monitor_class_init),
1643 (g_volume_monitor_get_connected_drives),
1644 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1647 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1649 * gmountoperation.h (GPasswordFlags): Close the gap
1651 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1653 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1655 * gdesktopappinfo.[hc]: Remove _-prefixes
1657 2007-12-10 Tor Lillqvist <tml@novell.com>
1659 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1662 2007-12-10 Alexander Larsson <alexl@redhat.com>
1664 * gfile.c (g_file_set_display_name):
1665 Don't hardcode '/' (#502727)
1667 2007-12-09 Hans Breuer <hans@breuer.org>
1669 * makefile.msc : follow lib naming convention
1670 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1671 for user and group name, tested with ../tests/gio-ls
1673 2007-12-09 A. Walton <awalton@svn.gnome.org>
1675 * gdesktopappinfo.c:
1681 * gfileenumerator.c:
1686 * gmemoryinputstream.c:
1687 * gmemoryoutputstream.c:
1689 * gsimpleasyncresult.c:
1690 More documentation cleanup and filling in missing information, bringing
1691 GIO to 99% symbol coverage.
1693 2007-12-08 Hans Breuer <hans@breuer.org>
1695 [gio compiles and links on win32, not sure how much already works]
1696 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1697 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1698 base on win32 API; prefer g_lstat() over lstat(); instead of
1699 localtime_r() use an all GLib implementation on win32;
1700 get_mount_info() still needs a win32 specifc implementation
1701 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1702 win32_get_file_user_info to get owner/group info without uid/gid
1703 * glocalfileinputstream.c : include <io.h> on win32
1704 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1705 definition, use g_win32_ftruncate() for G_OS_WIN32
1706 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1707 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1708 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1709 * makefile.msc : updated
1711 2007-12-07 Alexander Larsson <alexl@redhat.com>
1713 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1714 Avoid warning spew if error == NULL
1716 2007-12-07 Alexander Larsson <alexl@redhat.com>
1719 Update docs wrt etags
1721 2007-12-06 Alexander Larsson <alexl@redhat.com>
1724 Include sys/types.h for dev_t (#501919)
1726 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1730 Make abicheck and pltcheck pass.
1732 2007-12-05 Alexander Larsson <alexl@redhat.com>
1735 * giomodule-priv.h: Added.
1736 * glocaldirectorymonitor.c:
1737 * glocalfilemonitor.c:
1738 * gunionvolumemonitor.c:
1740 Actually add the declaration of _g_io_modules_ensure_loaded
1742 2007-12-05 Alexander Larsson <alexl@redhat.com>
1744 * gdatainputstream.c:
1749 * glocaldirectorymonitor.c:
1750 * glocalfilemonitor.c:
1751 * gunionvolumemonitor.c:
1753 Make g_io_modules_ensure_loaded a private function and
1754 don't pass in the dirname. This means we can do magic
1755 directory finding in the win32 version.
1756 Export the actual load-modules-in-directory code so that
1757 gvfs can reuse that.
1759 2007-12-05 Alexander Larsson <alexl@redhat.com>
1761 * gbufferedinputstream.c:
1762 * gbufferedoutputstream.c:
1765 * gfileenumerator.[ch]:
1766 * gfileinputstream.c:
1767 * gfileoutputstream.[ch]:
1768 * gfilterinputstream.c:
1769 * gfilteroutputstream.c:
1770 * ginputstream.[ch]:
1772 * glocalfileenumerator.c:
1773 * glocalfileinputstream.c:
1774 * glocalfileoutputstream.c:
1775 * gmemoryinputstream.c:
1776 * gmemoryoutputstream.c:
1777 * goutputstream.[ch]:
1780 * gunixinputstream.c:
1781 * gunixoutputstream.c:
1782 Rename all struct members named:
1783 read, write, close, truncate, or mount
1784 to foo_fn, as these are reserved names
1785 and could be defined as macros in libc.
1788 2007-12-04 Alexander Larsson <alexl@redhat.com>
1791 (g_output_stream_close):
1792 Only call flush if non-null.
1794 2007-11-30 Dan Winship <danw@gnome.org>
1796 * ginputstream.c (g_input_stream_set_pending): Make this take a
1797 GError and return a gboolean, and do the "outstanding operation"
1798 check (and the "stream is already closed" check) itself.
1799 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1801 * goutputstream.c (g_output_stream_set_pending)
1802 (g_output_stream_clear_pending): Likewise
1804 * gbufferedinputstream.c:
1805 * gfileinputstream.c:
1806 * gfileoutputstream.c: Update for that
1808 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1809 Like g_simple_async_report_error_in_idle, but takes a GError
1810 rather than building one.
1812 2007-11-30 Dan Winship <danw@gnome.org>
1814 * goutputstream.c: Don't cheat and unset the "pending" flag around
1815 inner calls. Instead, call the class method directly rather than
1816 the wrapper function that checks "pending"
1818 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1820 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1822 2007-12-03 Hans Breuer <hans@breuer.org>
1824 [start of port to win32/msvc]
1825 * gcancellable.c : HAVE_UNIST_H and _pipe()
1826 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1827 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1828 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1830 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1831 * glocalvfs.c : use HAVE_PWD_H
1832 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1833 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1834 * Makefile.am : added to EXTRA_DIST
1836 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1838 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1841 2007-12-03 Alexander Larsson <alexl@redhat.com>
1844 Handle OSX style xattrs API (#500506)
1846 2007-12-03 Alexander Larsson <alexl@redhat.com>
1850 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1852 2007-12-02 A. Walton <awalton@svn.gnome.org>
1856 Documentation accuracy fixes.
1858 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1860 * gioenumtypes.c.template: Fix typo.
1862 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1864 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1866 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1868 * gdirectorymonitor.c:
1869 * gfilemonitor.c: Add properties
1871 * gbufferedoutputstream.c: Don't mark buffer-size property
1874 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1876 * gbufferedoutputstream.c: Add auto-grow property.
1878 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1880 * *.c: Unify the capitalization of section headings.
1882 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1884 * gmountoperation.c: Add properties
1886 * gdatainputstream.c: Turn byte-order and newline-type into
1889 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1891 * gioenumtypes.[hc].template: Templates for enum registration
1893 * Makefile.am: Generate gioenumtypes.[hc]
1895 * gio.h: Include gioenumtypes.h
1897 * gfile.h: Add some explicit nicks.
1899 * gio.symbols: Add new symbols
1901 * pltcheck.sh: Adjust
1903 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1905 * *.c: Explain etags and link to the explanation
1907 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1909 * *.c: Explain I/O priority.
1911 * *.c: More coding style fixes.
1913 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1915 * gasyncresult.c: Add another paragraph to the intro,
1916 adjust coding style of example.
1918 2007-11-29 A. Walton <awalton@svn.gnome.org>
1921 Fixes unknown meaning in GAppLaunchContext docs.
1923 Clarify asynchronous ops.
1925 Fix entity tag docs.
1928 Provides missing gtk-doc section, fixes API docs slighly.
1929 * gsimpleasyncresult.c:
1930 Fill in missing info in docs.
1931 * gunixinputstream.c:
1932 * gunixoutputstream.c:
1933 Be more expressive in short description.
1935 Remove gtk-doc stubs for non-public API.
1937 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1939 * *.c: Coding style fixups
1941 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1943 * inotify/inotify-helper.c: Don't export the lock from libgio.
1945 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1948 * abicheck.sh: Fix copy-and-paste leftovers
1950 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1952 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1954 2007-11-28 Alexander Larsson <alexl@redhat.com>
1958 Removed unnecessary file
1960 * gdesktopappinfo.[ch]:
1963 * glocaldirectorymonitor.[ch]:
1965 * glocalfileenumerator.[ch]:
1966 * glocalfileinputstream.[ch]:
1967 * glocalfilemonitor.[ch]:
1968 * glocalfileoutputstream.[ch]:
1970 * gnativevolumemonitor.c:
1971 * gpollfilemonitor.[ch]:
1972 * gunionvolumemonitor.[ch]:
1975 * gunixvolumemonitor.[ch]:
1978 * inotify/ginotifydirectorymonitor.[ch]:
1979 * inotify/ginotifyfilemonitor.[ch]:
1980 * inotify/inotify-helper.c:
1981 Append _ to all internal functions
1985 Export symbols needed for modules
1987 2007-11-28 Alexander Larsson <alexl@redhat.com>
1990 * abicheck.sh: Added.
1991 * makegioalias.pl: Added.
1992 * pltcheck.sh: Added.
1993 * gio.symbols: Added.
1996 Initial work on adding symbol handling.
1999 Correct ifdef guard name
2002 * inotify/Makefile.am:
2003 * xdgmime/Makefile.am:
2004 Include toplevel Makefile.decl
2006 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2008 * gcontenttype.c: Move doc comments to the unix section.
2010 * *.[hc]: More trivial doc corrections.
2012 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2014 * gpollfilemonitor.c:
2018 * gdesktopappinfo.c:
2023 * gdatainputstream.c:
2024 * gdatainputstream.h:
2025 * gdataoutputstream.c:
2026 * gdataoutputstream.h:
2027 * gfileinfo.h: Doc cleanups
2029 2007-11-28 Andre Klapper <a9016009@gmx.de>
2031 * gdesktopappinfo.c: Fix a typo.
2033 2007-11-27 Andre Klapper <a9016009@gmx.de>
2035 * glocalfileoutputstream.c: Fix a typo.
2037 2007-11-27 Alexander Larsson <alexl@redhat.com>
2040 Don't include removed headers
2042 2007-11-27 Alexander Larsson <alexl@redhat.com>
2045 * gsocketinputstream.[ch]: Removed.
2046 * gsocketoutputstream.[ch]: Removed.
2047 * gunixinputstream.[ch]: Added.
2048 * gunixoutputstream.[ch]: Added.
2049 Renamed GSocket*Stream to GUnix*Stream and made
2050 it unix-only, since its not really only for sockets
2051 and it only works on unix (but is highly useful there).
2053 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2059 * gbufferedinputstream.c:
2060 * gbufferedinputstream.h:
2061 * gbufferedoutputstream.c:
2062 * gbufferedoutputstream.h:
2066 * gdatainputstream.c:
2067 * gdatainputstream.h:
2068 * gdataoutputstream.c:
2069 * gdataoutputstream.h:
2070 * gdirectorymonitor.c:
2071 * gdirectorymonitor.h:
2078 * gfileenumerator.c:
2079 * gfileenumerator.h:
2084 * gfileinputstream.c:
2085 * gfileinputstream.h:
2088 * gfilenamecompleter.c:
2089 * gfilenamecompleter.h:
2090 * gfileoutputstream.c:
2091 * gfileoutputstream.h:
2092 * gfilterinputstream.c:
2093 * gfilterinputstream.h:
2094 * gfilteroutputstream.c:
2095 * gfilteroutputstream.h:
2108 * glocalfileoutputstream.c:
2109 * gmemoryinputstream.c:
2110 * gmemoryinputstream.h:
2111 * gmemoryoutputstream.c:
2112 * gmemoryoutputstream.h:
2113 * gmountoperation.c:
2114 * gmountoperation.h:
2117 * gpollfilemonitor.c:
2120 * gsimpleasyncresult.c:
2121 * gsimpleasyncresult.h:
2122 * gsocketinputstream.c:
2123 * gsocketinputstream.h:
2124 * gsocketoutputstream.c:
2125 * gsocketoutputstream.h:
2132 * gunixvolumemonitor.c:
2141 Bumps documentation to 93% symbol coverage, touching most
2142 of the public files. Fixes broken function documentation prototypes.
2143 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2144 gtk-doc headers in private files.
2146 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
2148 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2149 (g_buffered_input_stream_read_byte):
2150 * gbufferedinputstream.h:
2151 New functions for efficient access to buffer and simple single byte
2154 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2155 (g_data_input_stream_read_until):
2156 * gdatainputstream.h:
2157 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2158 read_until with multiple stop chars.
2160 2007-11-27 Alexander Larsson <alexl@redhat.com>
2164 * inotify/Makefile.am:
2165 Use the user-specified giomoduledir
2167 2007-11-27 Alexander Larsson <alexl@redhat.com>
2171 Add catch-all gio.h header
2172 Don't install gdummyfile.h
2174 2007-11-26 Alexander Larsson <alexl@redhat.com>
2176 * Makefile.am (gioinclude_HEADERS):
2177 Remove trailing whitespace
2179 2007-11-26 Alexander Larsson <alexl@redhat.com>
2181 Merge gio-standalone into glib
2183 2007-11-25 Christian Kellner <gicmo@gnome.org>
2185 * gio/goutputstream.c:
2186 Fix small mistake in the docs.
2188 2007-11-21 Christian Persch <chpe@gnome.org>
2190 * gio/glocalfile.c: (g_local_file_trash):
2191 Convert filenames to UTF-8 for GError.
2192 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2193 as per xdg base dir spec.
2195 2007-11-21 Christian Persch <chpe@gnome.org>
2197 * gio/gdesktopappinfo.c:
2198 Use that g_key_file_to_data cannot fail.
2200 Use stock defines for the key file group and key names.
2203 2007-11-21 Alexander Larsson <alexl@redhat.com>
2206 (copy_stream_with_progress):
2207 Make sure we do a final progress callback with
2208 the full total size.
2210 2007-11-21 Alexander Larsson <alexl@redhat.com>
2213 Export g_file_copy_attributes
2214 Remove padding as its not needed for interfaces
2216 2007-11-20 Alexander Larsson <alexl@redhat.com>
2221 Add G_IO_ERROR_WOULD_MERGE for
2222 copy/move dir on dir with overwrite.
2224 2007-11-20 Alexander Larsson <alexl@redhat.com>
2227 * gio/glocalfileinfo.c:
2228 Add COPY_NAME (this is an optional
2229 non-modified utf8 version of the name) that
2232 2007-11-20 Alexander Larsson <alexl@redhat.com>
2234 * gio/glocalfileenumerator.c:
2235 Report errors as GIOError, not GFileError
2237 2007-11-16 Alexander Larsson <alexl@redhat.com>
2239 * gio/glocalfileoutputstream.c:
2240 * gio/gwin32appinfo.c:
2241 Fix typos in strings.
2242 Patch from Luca Ferretti <elle.uca@libero.it>
2244 2007-11-15 Alexander Larsson <alexl@redhat.com>
2247 Post release version bump
2249 === gio-standalone 0.1.2 ===
2251 2007-11-15 Alexander Larsson <alexl@redhat.com>
2253 * docs/reference/gio/Makefile.am:
2254 Fix up distcheck by removing weird
2260 2007-11-14 Alexander Larsson <alexl@redhat.com>
2262 * gio/gdesktopappinfo.c:
2263 * gio/glocaldirectorymonitor.c:
2265 * gio/glocalfileinfo.c:
2266 * gio/inotify/inotify-sub.c:
2267 * programs/gio-cat.c:
2268 * programs/gio-copy.c:
2269 * programs/gio-info.c:
2270 * programs/gio-ls.c:
2271 * programs/gio-monitor-dir.c:
2272 * programs/gio-monitor-file.c:
2273 * programs/gio-mount.c:
2274 * programs/gio-move.c:
2275 * programs/gio-rm.c:
2276 * programs/gio-save.c:
2277 * programs/gio-trash.c:
2278 Leak fixes from Kjartan Maraas
2280 2007-11-14 Alexander Larsson <alexl@redhat.com>
2282 * gio/fam/fam-helper.c:
2284 * gio/glocalfileinfo.c:
2288 * gio/inotify/inotify-diag.c:
2289 * gio/inotify/inotify-kernel.c:
2290 Various code cleanups from Kjartan Maraas
2292 2007-11-14 Alexander Larsson <alexl@redhat.com>
2294 * gio/gioscheduler.c:
2296 Set up threadpool so that we cache 2 unused
2297 idle threads for at 15 secs. This means we
2298 will reuse thread-local data (like dbus connections)
2301 2007-11-14 Alexander Larsson <alexl@redhat.com>
2303 * gio/fam/fam-helper.c:
2304 * gio/fam/gfamdirectorymonitor.c:
2305 * gio/fam/gfamfilemonitor.c:
2307 * gio/gcontenttype.c:
2308 * gio/gdatainputstream.c:
2309 * gio/gdataoutputstream.c:
2313 * gio/gfileattribute.h:
2314 * gio/gfileenumerator.c:
2316 * gio/ginputstream.c:
2319 * gio/glocalfileinfo.c:
2320 * gio/goutputstream.c:
2321 * gio/gpollfilemonitor.c:
2322 * gio/gsimpleasyncresult.c:
2323 * gio/gunixmounts.c:
2324 * gio/gunixmounts.h:
2325 * gio/inotify/ginotifydirectorymonitor.c:
2326 * gio/inotify/ginotifyfilemonitor.c:
2327 * gio/inotify/inotify-diag.c:
2328 * gio/inotify/inotify-kernel.c:
2329 * gio/inotify/inotify-path.c:
2331 * gio/test-streams.c:
2332 * programs/gio-info.c:
2333 * programs/gio-monitor-dir.c:
2334 * programs/gio-monitor-file.c:
2335 Various code cleanups from Kjartan Maraas
2337 2007-11-13 Alexander Larsson <alexl@redhat.com>
2340 Handle the uri-scheme calls for dummy files
2342 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2344 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2345 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2346 to avoid clash with the C++ keyword.
2348 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2350 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2351 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2353 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2355 * gio/glocaldirectorymonitor.c:
2356 * gio/glocalfilemonitor.c:
2357 * gio/gunionvolumemonitor.c:
2358 Don't use g_once_init_*() for initializations that could fail and
2359 could leave the initialization variable set to 0 but use GOnce.
2360 This prevents a deadlock on the second call when trying to create
2361 a monitor and no monitor type is available. Thanks to Sven Herzberg
2364 2007-11-11 Sven Herzberg <sven@imendio.com>
2366 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2367 #ifdef (make it work on MacOS X again)
2369 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2371 Fixes Changelog for last two commits (sorry guys).
2373 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2375 * gio/gbufferedinputstream.c:
2376 * gio/gdatainputstream.c:
2378 * gio/gfileoutputstream.c:
2379 * gio/gfilterinputstream.c:
2380 * gio/glocalfileinputstream.c:
2383 More consistency fixes in g*stream.c files.
2384 Significant clean of gfile's documentation, filling in of
2385 asynchronous operations documentation.
2387 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2389 * gio/gasyncresult.c:
2390 * gio/gbufferedinputstream.c:
2391 * gio/gbufferedoutputstream.c:
2392 * gio/gcancellable.c:
2393 * gio/gcontenttype.c:
2394 * gio/gdatainputstream.c:
2395 * gio/gdataoutputstream.c:
2396 * gio/gdesktopappinfo.c:
2399 * gio/gfileattribute.c:
2400 * gio/gio/gfileenumerator.c:
2402 * gio/gfileinputstream.c:
2403 * gio/gfilemonitor.c:
2404 * gio/gfileoutputstream.c:
2405 * gio/ginputstream.c:
2407 * gio/gioscheduler.c:
2408 * gio/gloadableicon.c:
2409 * gio/glocalfileoutputstream.c:
2410 * gio/gmemoryoutputstream.c:
2411 * gio/gmountoperation.c:
2412 * gio/goutputstream.c:
2414 * gio/gsimpleasyncresult.c:
2415 * gio/gunionvolumemonitor.c:
2416 * gio/gunixmounts.c:
2417 * gio/gunixvolume.c:
2421 * gio/gvolumemonitor.c:
2422 Updated documentation stubs, working towards consistency and
2425 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2427 * gio/gmemoryoutputstream.c:
2428 * gio/gmemoryoutputstream.h:
2429 Change g_memory_output_stream_set_free_on_close() to
2430 g_memory_output_stream_set_free_data() as this makes more sense and
2431 is more consistent with GMemoryInputStream.
2433 2007-11-07 Alexander Larsson <alexl@redhat.com>
2440 Change how we find the default vfs so that
2441 we can handle a gvfs failing to init
2443 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2445 * gio/gbufferedoutputstream.c:
2446 * gio/gdatainputstream.c:
2447 * gio/gdataoutputstream.c:
2448 * gio/gfileinputstream.c:
2449 * gio/gfileoutputstream.c:
2450 * gio/gfilterinputstream.c:
2451 * gio/gfilteroutputstream.c:
2452 * gio/ginputstream.c:
2453 * gio/gmemoryinputstream.c:
2454 * gio/gmemoryoutputstream.c:
2455 * gio/goutputstream.c:
2456 * gio/gsimpleasyncresult.c:
2457 * gio/gsocketinputstream.c:
2458 * gio/gsocketoutputstream.c:
2459 Add guards to the remaining public functions, add a TODO for
2460 an unimplemented function and remove some useless guards.
2462 2007-11-07 Alexander Larsson <alexl@redhat.com>
2465 Autoconf checks for the various types of
2466 getpwuid_r and getgrgid_r
2468 * gio/glocalfileinfo.c:
2469 Use the autoconf checks from above
2471 2007-11-07 Alexander Larsson <alexl@redhat.com>
2474 (g_local_file_query_filesystem_info):
2475 Some fixes for the statvfs case
2477 2007-11-07 Alexander Larsson <alexl@redhat.com>
2480 (g_local_file_query_filesystem_info):
2481 Pick the "best" of statfs / statvfs for the system
2482 if both are availible.
2484 2007-11-07 Alexander Larsson <alexl@redhat.com>
2486 Solaris fixes from Halton.Huo@Sun.COM:
2493 * gio/glocalfileinfo.c:
2494 Fix for solaris definition of getpwuid_r
2496 * gio/test-streams.c:
2497 Use G_GNUC_PRETTY_FUNCTION
2499 2007-11-07 Alexander Larsson <alexl@redhat.com>
2501 * gio/gdesktopappinfo.c:
2502 (update_default_list):
2503 Remove double semicolon.
2504 Patch from Jens Granseuer
2506 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2508 * docs/reference/gio/gio-sections.txt:
2509 * gio/gbufferedinputstream.c:
2510 * gio/gbufferedinputstream.h:
2511 * gio/gdatainputstream.c:
2512 * gio/gfileenumerator.c:
2513 * gio/gioscheduler.c:
2514 * gio/gunionvolumemonitor.c:
2516 * programs/gio-save.c:
2517 Fix typo: availible -> available. Unfortuntely this breaks API
2518 and ABI as g_buffered_input_stream_get_available() was renamed.
2520 * gio/gunixmounts.c:
2521 * gio/gbufferedinputstream.c:
2522 Add guards for public functions.
2524 2007-11-06 Ross Burton <ross@openedhand.com>
2526 * docs/reference/gio/Makefile.am:
2527 Fix invalid += usage which automake 1.10 doesn't like.
2529 2007-11-06 Alexander Larsson <alexl@redhat.com>
2532 (g_app_launch_context_class_init):
2535 Patch from Ross Burton
2537 2007-11-06 Alexander Larsson <alexl@redhat.com>
2540 Post release version bump
2542 === gio-standalone 0.1.1 ===
2544 2007-11-06 Alexander Larsson <alexl@redhat.com>
2547 Bump version to 0.1.1
2549 * gio/gsimpleasyncresult.c:
2550 (g_simple_async_result_set_from_error):
2551 Remove bogus g_return_if_fail
2553 2007-11-06 Alexander Larsson <alexl@redhat.com>
2556 The name is gio-standalone
2559 Add top src/builddir to includedir
2561 2007-11-06 Alexander Larsson <alexl@redhat.com>
2563 * docs/reference/gio/gio-sections.txt:
2565 * gio/gbufferedinputstream.c:
2566 * gio/gbufferedoutputstream.c:
2567 * gio/gcancellable.c:
2568 * gio/gdatainputstream.h:
2569 * gio/gdataoutputstream.c:
2570 * gio/gdataoutputstream.h:
2571 * gio/gdirectorymonitor.c:
2573 * gio/gfileattribute.c:
2574 * gio/gfileattribute.h:
2575 * gio/gfileenumerator.c:
2576 * gio/gfileenumerator.h:
2579 * gio/gfileinputstream.h:
2580 * gio/gfilemonitor.c:
2581 * gio/gfileoutputstream.h:
2582 * gio/glocalfilemonitor.h:
2583 * gio/glocalfileoutputstream.h:
2584 * gio/gmemoryinputstream.c:
2585 * gio/gmemoryoutputstream.c:
2586 * gio/gmountoperation.c:
2587 * gio/goutputstream.c:
2588 * gio/goutputstream.h:
2590 * gio/gsimpleasyncresult.c:
2591 * gio/gunixmounts.c:
2592 * gio/gunixmounts.h:
2594 * gio/inotify/inotify-helper.c:
2595 Fix gtk-doc warnings
2597 Patch from Ross Burton
2599 2007-11-06 Alexander Larsson <alexl@redhat.com>
2601 * gio/gfilenamecompleter.c:
2602 (g_filename_completer_get_completions):
2605 * gio/gunixvolume.c:
2606 Remove unused function
2608 Patches from Ross Burton
2610 2007-11-06 Alexander Larsson <alexl@redhat.com>
2615 Padding not needed for interfaces
2617 2007-11-06 Alexander Larsson <alexl@redhat.com>
2619 * gio/gfilemonitor.c:
2623 Make giotypes.h an internal file
2626 * gio/gbufferedinputstream.h:
2627 * gio/gbufferedoutputstream.h:
2628 * gio/gcancellable.h:
2629 * gio/gdatainputstream.h:
2630 * gio/gdataoutputstream.h:
2631 * gio/gdirectorymonitor.c:
2632 * gio/gdirectorymonitor.h:
2637 * gio/gfileattribute.h:
2638 * gio/gfileenumerator.h:
2643 * gio/gfilemonitor.c:
2644 * gio/gfilemonitor.h:
2645 * gio/gfilenamecompleter.c:
2646 * gio/gfilenamecompleter.h:
2647 * gio/gfilterinputstream.h:
2648 * gio/gfilteroutputstream.h:
2649 * gio/ginputstream.h:
2650 * gio/gmemoryinputstream.h:
2651 * gio/gmemoryoutputstream.h:
2652 * gio/gmountoperation.c:
2653 * gio/gmountoperation.h:
2654 * gio/gnativevolumemonitor.c:
2655 * gio/goutputstream.h:
2658 * gio/gsimpleasyncresult.c:
2659 * gio/gsimpleasyncresult.h:
2660 * gio/gsocketinputstream.h:
2661 * gio/gsocketoutputstream.h:
2662 * gio/gthemedicon.c:
2663 * gio/gthemedicon.h:
2667 * gio/gvolumemonitor.c:
2668 * gio/gvolumemonitor.h:
2669 Add padding in classes where it seems useful
2670 Don't include giotypes.h from public headers
2671 Move in Class definitions into c file where possible
2676 2007-11-06 Alexander Larsson <alexl@redhat.com>
2678 * docs/reference/gio/gio-docs.xml:
2679 Better structure for API docs
2681 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2684 * gio/gloadableicon.c:
2685 * gio/gsimpleasyncresult.c:
2686 * gio/gthemedicon.c:
2687 Add some more guards to public functions. Only files missing are now
2690 2007-11-06 Alexander Larsson <alexl@redhat.com>
2692 * docs/reference/gio/gio-docs.xml:
2693 Remove old files, add missing ones
2695 2007-11-06 Alexander Larsson <alexl@redhat.com>
2697 * docs/reference/gio/gio-sections.txt:
2700 Hide implementation classes
2702 * gio/gdriveprivate.h:
2703 * gio/gvolumeprivate.h:
2704 Remove non-existing function declarations
2706 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2709 Fix compilation warnings and add guards to the new functions.
2711 * gio/gasyncresult.c:
2713 Add guards to the public functions.
2716 Implement get_path().
2718 2007-11-06 Alexander Larsson <alexl@redhat.com>
2720 * gio/gfilenamecompleter.c:
2721 Make g_filename_completer_get_completions
2722 return char ** instead of GList for
2725 * docs/reference/gio/gio-docs.xml:
2726 * docs/reference/gio/gio-sections.txt:
2728 * gio/gasyncresult.c:
2729 * gio/gbufferedinputstream.c:
2730 * gio/gbufferedoutputstream.c:
2731 * gio/gcancellable.c:
2732 * gio/gcontenttype.c:
2733 * gio/gdatainputstream.c:
2734 * gio/gdataoutputstream.c:
2735 * gio/gdesktopappinfo.c:
2736 * gio/gdirectorymonitor.c:
2740 * gio/gfileattribute.c:
2741 * gio/gfileenumerator.c:
2744 * gio/gfileinputstream.c:
2745 * gio/gfilemonitor.c:
2746 * gio/gfilenamecompleter.c:
2747 * gio/gfilenamecompleter.h:
2748 * gio/gfileoutputstream.c:
2749 * gio/gfilterinputstream.c:
2751 * gio/ginputstream.c:
2753 * gio/gioscheduler.c:
2754 * gio/gloadableicon.c:
2755 * gio/glocaldirectorymonitor.c:
2757 * gio/glocalfileinputstream.c:
2758 * gio/glocalfilemonitor.c:
2759 * gio/glocalfileoutputstream.c:
2761 * gio/gmemoryinputstream.c:
2762 * gio/gmemoryoutputstream.c:
2763 * gio/gmountoperation.c:
2764 * gio/goutputstream.c:
2765 * gio/gpollfilemonitor.c:
2767 * gio/gsimpleasyncresult.c:
2768 * gio/gsocketinputstream.c:
2769 * gio/gsocketoutputstream.c:
2770 * gio/gthemedicon.c:
2771 * gio/gunionvolumemonitor.c:
2773 * gio/gunixmounts.c:
2774 * gio/gunixvolume.c:
2775 * gio/gunixvolumemonitor.c:
2779 * gio/gvolumemonitor.c:
2780 * gio/gwin32appinfo.c:
2781 Add (mostly stub) doc strings to public functions.
2782 Patch from Andrew Walton (awalton@gmail.com)
2784 2007-11-06 Alexander Larsson <alexl@redhat.com>
2786 * gio/gappinfo.[ch]:
2787 Added GAppLaunchContext object and pass that to launch.
2788 This allows simple implementation of both
2789 launch-on-screen and startup notification via a gtk+
2790 subclass of GAppLaunchContext
2792 * gio/gdesktopappinfo.c:
2793 Implement GAppLaunchContext API
2795 * gio/gwin32appinfo.c:
2798 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2800 * gio/gmountoperation.c:
2801 Add some guards to GMountOperation's public functions.
2803 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2807 * gio/gcancellable.c:
2808 * gio/gdirectorymonitor.c:
2810 * gio/gfileenumerator.c:
2811 * gio/gfilemonitor.c:,
2812 * gio/gfilenamecompleter.c:
2815 * gio/gioscheduler.c:
2819 * gio/gvolumemonitor.c:
2820 Add even more guards to various public functions.
2822 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2825 Add guards to the public functions of GAppInfo.
2827 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2829 * gio/gcontenttype.c:
2830 Add some more guards for public functions.
2832 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2834 * gio/fam/fam-module.c:
2835 * gio/fam/gfamdirectorymonitor.c:
2836 * gio/fam/gfamdirectorymonitor.h:
2837 * gio/fam/gfamfilemonitor.c:
2838 * gio/fam/gfamfilemonitor.h:
2839 * gio/inotify/ginotifydirectorymonitor.c:
2840 * gio/inotify/ginotifydirectorymonitor.h:
2841 * gio/inotify/ginotifyfilemonitor.c:
2842 * gio/inotify/ginotifyfilemonitor.h:
2843 Add proper copyright information and remove an unused variable
2844 in the GInotifyFileMonitor constructor.
2846 * gio/gcancellable.c:
2847 Add a guard for a public function and an assertion to prevent
2848 an undefined program state.
2850 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2852 * gio/gfileattribute.c:
2853 Don't run into an assertion if the given attribute value is NULL
2854 in g_file_attribute_value_get_*() but instead return a fallback
2855 value that makes sense in most situations. Passing them a attribute
2856 value with the wrong type will still run into an assertion.
2858 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2860 * gio/gfileattribute.c:
2862 Add even more guards to the public functions. Also fix the refcounting
2863 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2864 let g_file_info_list_attributes() filter the attributes by namespace
2865 instead of simply ignoring the namespace parameter.
2867 2007-11-03 Sven Herzberg <sven@imendio.com>
2869 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2870 (This makes gio work on MacOS X again)
2872 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2875 Build the gio subdirectory before the docs. Otherwise the build will
2878 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2879 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2880 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2881 Add guards to the public functions.
2883 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2885 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2886 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2887 to prevent a compiler warning.
2889 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2890 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2891 return something in the non-void function find_topdir_for().
2893 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2900 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2902 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2903 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2904 * gwin32appinfo.c (g_win32_app_info_launch):
2905 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2906 envp_for_startup_id, g_desktop_app_info_launch,
2907 g_desktop_app_info_launch_uris):
2909 Give an opaque 'startup_id' string instead of 'envp'.
2910 Support empty file lists for launching new windows.
2911 Fix infinite recursion bug when launching URIs.
2913 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2916 Add guard to the new g_file_get_uri_scheme() function.
2918 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2921 Convert a g_return_val_if_fail() to setting the GError instead as
2922 otherwise applications have to verify the parameter before otherwise
2923 and the parameter might come directly from the user.
2925 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2927 * gio/inotify/ginotify*.[ch]:
2928 Add missing copyright information.
2930 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2933 Add guards in the beginning of public functions to check for valid
2934 parameters and fix a bug in copy_stream_with_progress() that could've
2935 caused writing less bytes than reading.
2936 * gio/glocalfileinfo.c:
2937 Check for a NULL parameter and set the GError accordingly then.
2938 * gio/goutputstream.c:
2939 Fix the same bug as in gfile.c that could've caused writing less bytes
2940 than reading in g_output_stream_real_splice().
2942 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2945 Use the correct gvolumeprivate.h naming
2947 2007-11-01 Christian Kellner <gicmo@gnome.org>
2950 Remove leftover "$(daemon_sources)" entry.
2952 2007-11-01 Christian Kellner <gicmo@gnome.org>
2957 Add copyright information to source files.
2959 2007-11-01 Alexander Larsson <alexl@redhat.com>
2963 Add g_file_get_uri_scheme
2965 2007-11-01 Alexander Larsson <alexl@redhat.com>
2968 * gio/gdesktopappinfo.c:
2969 * gio/gwin32appinfo.c:
2970 Add g_app_info_get_default_for_uri_scheme.
2972 2007-11-01 Alexander Larsson <alexl@redhat.com>
2975 Correct filename for gdriveprivate.h
2977 2007-10-31 Alexander Larsson <alexl@redhat.com>
2980 Rename id:value to id:file
2983 * gio/glocalfileinfo.c:
2986 2007-10-31 Alexander Larsson <alexl@redhat.com>
2988 * gio/gunixvolume.c:
2990 Remove g_volume_get_platform_id, as thats not
2991 needed with the simpler union volume monitor
2993 2007-10-31 Alexander Larsson <alexl@redhat.com>
2996 * gio/guniondrive.[ch]: Removed.
2997 * gio/gunionvolume.[ch]: Removed.
2998 Remove GUnionDrive/Volume
3000 * gio/gunionvolumemonitor.c:
3001 Simplify union volume monitor, now we
3002 only have one native volume monitor and
3003 we use the actual volumes/drives from the
3004 child monitors instead of wrapping them
3006 * gio/gnativevolumemonitor.[ch]:
3007 Base class for native volume monitors.
3008 Includes priority and get_volume_for_mountpoint
3011 Add g_file_find_enclosing_volume
3014 Remove volume name fs attribute
3015 Add readonly fs attribute
3018 Implement readonly attribute
3019 remove volume name attribute
3020 Implement find_enclosing volume
3022 * gio/gunixmounts.c:
3023 Add a volume for "/".
3025 * gio/gunixvolume.[ch]:
3026 Set better name for /
3028 * gio/gunixvolumemonitor.[ch]:
3029 Derive from GNativeVolumeMonitor
3030 Implement get_volume_for_mountpoint
3033 GVolume typedef moved to gfile.h
3035 * gio/gvolumeprivate.h:
3036 Add g_volume_get_for_mount_path
3038 2007-10-31 Alexander Larsson <alexl@redhat.com>
3040 * gio/gunixmounts.[ch]:
3041 Add cache info to unix mount listers
3042 Make getmntent use threadsafe
3043 Add is_system_internal attribute for GUnixMount
3045 * gio/gunixvolume.c:
3046 (g_unix_volume_new):
3047 Use is_system_internal instead of own code
3049 * gio/glocaldirectorymonitor.c:
3050 * gio/gunixvolumemonitor.c:
3051 Update to new gunixmounts API
3056 2007-10-30 Alexander Larsson <alexl@redhat.com>
3059 Add volume name fsinfo attribute
3062 Read volume name info
3064 * gio/gunionvolumemonitor.c:
3065 Fix infinite loops when finalizing a union volume monitor
3067 2007-10-30 Alexander Larsson <alexl@redhat.com>
3069 * gio/goutputstream.[ch]:
3070 Add splice() with default implementation
3072 * gio/gsocketoutputstream.c:
3073 (g_socket_output_stream_write):
3074 Return error on cancellation correctly.
3076 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3078 * gio/glocalfile.c (g_local_file_trash):
3079 Do not leak a string.
3081 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3083 * gio/gfile.c (g_file_load_contents):
3084 Unref the stream after closing it.
3086 2007-10-25 Alexander Larsson <alexl@redhat.com>
3088 * gio/gioscheduler.h:
3091 2007-10-25 Alexander Larsson <alexl@redhat.com>
3095 Add g_file_has_uri_scheme and implement for local files
3097 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3099 * gio/gdesktopappinfo.c: do not leak a string.
3101 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3103 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3104 (g_local_directory_monitor_new):
3105 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3106 (g_local_file_monitor_new):
3107 Only look for the monitor type that should be used the first time
3108 and use g_qsort_with_data() instead of our own bubble sort
3111 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3114 * gio/fam/Makefile.am:
3115 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3116 * gio/fam/fam-helper.h:
3117 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3118 * gio/fam/gfamdirectorymonitor.c:
3119 * gio/fam/gfamdirectorymonitor.h:
3120 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3121 * gio/fam/gfamfilemonitor.h:
3122 * gio/glocaldirectorymonitor.c:
3123 * gio/glocaldirectorymonitor.h:
3124 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3125 * gio/glocalfilemonitor.h:
3126 * gio/inotify/Makefile.am:
3127 * gio/inotify/ginotifydirectorymonitor.c:
3128 * gio/inotify/ginotifydirectorymonitor.h:
3129 * gio/inotify/ginotifyfilemonitor.c:
3130 * gio/inotify/ginotifyfilemonitor.h:
3131 Implement the FAM and Inotify monitors as
3132 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3133 their own GIO module. GLocal(Directory|File)Monitor will use the
3134 monitor with the highest rank that is supported on that machine.
3136 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3139 Change GIO module dir to $(libdir)/gio/modules and change
3140 the log domain from GVFS to GIO. Also only export symbols starting
3141 with g_ in the resulting library.
3142 * gio/test-streams.c: (main):
3143 Set log handler for the GIO log domain.
3145 2007-10-22 Alexander Larsson <alexl@redhat.com>
3147 * gio/gfilenamecompleter.[ch]:
3148 Add g_filename_completer_set_dirs_only
3150 2007-10-22 Alexander Larsson <alexl@redhat.com>
3153 * gio/gurifuncs.[ch]:
3154 Add some simple URI helpers
3156 * gio/gfilenamecompleter.[ch]:
3157 Added object for filename (parse name actually) completion
3160 Handle ~ in parse names
3162 2007-10-17 Alexander Larsson <alexl@redhat.com>
3165 * gio/glocalfileinfo.c:
3166 Add and implement id:value attribute
3168 2007-10-17 Alexander Larsson <alexl@redhat.com>
3171 * gio/guniondrive.c:
3173 Add and implement g_drive_has_volumes
3175 2007-10-17 Alexander Larsson <alexl@redhat.com>
3178 * gio/glocalfileinfo.[ch]:
3179 Add unix:is_mountpoint and implement for local files
3181 2007-10-16 Alexander Larsson <alexl@redhat.com>
3183 * gio/gunionvolumemonitor.c:
3184 (g_union_volume_monitor_init):
3185 Fix up the unix type getting so that it works with gcc
3187 2007-10-12 Alexander Larsson <alexl@redhat.com>
3190 * gio/glocalfileinfo.c:
3191 Add thumbnail:failed to file info
3193 2007-10-12 Richard Hult <richard@imendio.com>
3195 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3196 optimizing away the get_type call (happens with some gcc versions,
3197 like the one shipped with OS X 10.4).
3199 2007-10-12 Alexander Larsson <alexl@redhat.com>
3201 * gio/glocalfileinfo.c:
3202 (_g_local_file_info_set_attribute):
3203 Fix build if not HAVE_XATTR
3204 Patch from Milosz Derezynski <internalerror@gmail.com>
3206 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3208 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3209 around for review, otherwise I would have asked you before
3212 2007-10-11 Alexander Larsson <alexl@redhat.com>
3215 Add thumbnail:path attribute
3217 * gio/glocalfileinfo.c:
3218 Implement thumbnail:path for local files
3220 2007-10-11 Alexander Larsson <alexl@redhat.com>
3222 * gio/glocalfileinfo.c:
3223 (_g_local_file_info_get):
3224 Avoid duplicate icon names
3226 2007-10-11 Alexander Larsson <alexl@redhat.com>
3228 * gio/gthemedicon.[ch]:
3229 Change g_themed_icon_get_names return type to const
3231 2007-10-10 Alexander Larsson <alexl@redhat.com>
3233 * gio/glocalfileinfo.c:
3234 Don't reference freed memory
3236 2007-10-10 Alexander Larsson <alexl@redhat.com>
3238 * gio/gfileattribute.c:
3241 * gio/glocalfileinfo.c:
3244 2007-10-10 Alexander Larsson <alexl@redhat.com>
3247 Check for NULL icons
3249 * gio/gfileattribute.c:
3250 Don't dup when getting objects (same as for string attributes)
3252 * gio/gicon.c (g_icon_equal):
3253 Safely handle NULLs in equal
3255 2007-10-10 Alexander Larsson <alexl@redhat.com>
3258 Fix c++ compilation issues
3259 Patch from Milosz Derezynski <internalerror@gmail.com>
3261 2007-10-10 Alexander Larsson <alexl@redhat.com>
3263 * programs/gio-monitor-dir.c:
3264 Don't crash if dir monitor not supported.
3266 2007-10-09 Alexander Larsson <alexl@redhat.com>
3269 Add missing G_END_DECLS
3271 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3273 * gio/gfile.c: (g_file_set_display_name),
3274 (g_file_query_settable_attributes),
3275 (g_file_query_writable_namespaces):
3276 Return NULL not FALSE on errors as the return type is a pointer.
3278 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3280 * gio/glocalfile.c: (g_local_file_monitor_file):
3281 Don't call monitor_file on the default interface vtable (which
3282 is NULL) but simply return NULL. The caller, GFile, will create a
3283 polling monitor if NULL is returned.
3285 2007-10-09 Alexander Larsson <alexl@redhat.com>
3289 * gio-unix-2.0.pc.in:
3290 Add gio-unix-2.0.pc if OS_UNIX
3293 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3295 2007-10-09 Alexander Larsson <alexl@redhat.com>
3297 * gio/gunixmounts.[ch]:
3298 Make unix mount monitoring API sane.
3299 Now its just a object with mounts_changed
3300 and mountpoints_changed signals.
3302 * gio/glocaldirectorymonitor.c:
3303 * gio/gunixvolumemonitor.c:
3304 Use new mount monitor api
3306 2007-10-09 Alexander Larsson <alexl@redhat.com>
3308 * gio/gunixmounts.[ch]:
3309 Move guess type into one call for mounts and one for mountpoints
3312 * gio/gunixvolume.c:
3315 2007-10-09 Alexander Larsson <alexl@redhat.com>
3317 * gio/gunixmounts.[ch]:
3318 Remove _ prefix in preparation to make this semi-public
3319 Hide implementation of structs
3321 * gio/glocaldirectorymonitor.c:
3323 * gio/gunixvolume.c:
3324 * gio/gunixvolumemonitor.c:
3325 Update for above API changes
3327 2007-10-08 Alexander Larsson <alexl@redhat.com>
3330 Better polling fallback. This also handles the case where we have
3331 a monitor_file implementation, but it fails.
3333 2007-10-08 Alexander Larsson <alexl@redhat.com>
3337 * gio/gunixmounts.c:
3338 * programs/gio-monitor-dir.c:
3339 * programs/gio-monitor-file.c:
3340 Added cancellable to file monitoring calls.
3341 These are really sync calls and need this.
3343 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3345 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3346 (g_local_vfs_class_init):
3347 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3348 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3350 2007-10-05 Alexander Larsson <alexl@redhat.com>
3352 * gio/gdirectorymonitorprivate.h:
3353 * gio/gfilemonitorprivate.h:
3354 * gio/gdirectorymonitor.h:
3355 * gio/gfilemonitor.h:
3356 Remove *private.h and move to the public API, so that
3357 we can do implementations outside gio (such as in gvfs)
3359 * gio/gdirectorymonitor.c:
3360 * gio/gfilemonitor.c:
3361 * gio/glocaldirectorymonitor.c:
3362 * gio/gpollfilemonitor.c:
3363 * gio/inotify/inotify-helper.c:
3364 * gio/fam/fam-helper.c:
3365 Update to the new header names
3367 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3369 * gio/gdirectorymonitor.c:
3370 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3373 2007-10-04 Alexander Larsson <alexl@redhat.com>
3375 * gio/glocalfileinfo.c (get_access_rights):
3376 Set CAN_TRASH when we can move the file.
3377 We should really also check for a parent trash dir.
3379 2007-10-04 Alexander Larsson <alexl@redhat.com>
3381 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3382 Add can_trash access attribute
3384 2007-10-04 Alexander Larsson <alexl@redhat.com>
3387 (g_local_file_trash):
3388 Create info file first. This is per-spec and allows
3389 us to actually trash directories.
3391 2007-10-02 Alexander Larsson <alexl@redhat.com>
3393 * gio/gdesktopappinfo.c:
3394 Implement the new mime support code.
3395 Always set app as handling mimetype when being set as default for it
3397 2007-10-01 Alexander Larsson <alexl@redhat.com>
3399 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3400 Fix up check for xattrs:
3402 2007-10-01 Alexander Larsson <alexl@redhat.com>
3405 (g_app_info_set_as_default_for_extension):
3406 (g_app_info_add_supports_type):
3407 (g_app_info_can_remove_supports_type):
3408 (g_app_info_remove_supports_type):
3409 Make these fail nicely if not implemented
3411 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3413 * gio/glocalfileoutputstream.c:
3414 * gio/glocalfileoutputstream.h:
3419 * programs/gio-save.c:
3420 Add a GFileCreateFlags argument to operations that can create
3423 2007-10-01 Alexander Larsson <alexl@redhat.com>
3425 * gio/gappinfo.[ch]:
3426 * gio/gdesktopappinfo.c:
3427 Add more (stubbed out) mime API needed for nautilus
3429 2007-10-01 Alexander Larsson <alexl@redhat.com>
3432 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3433 Add g_app_info_set_as_default_for_extension.
3435 * gio/gdesktopappinfo.c:
3436 Dummy for g_app_info_set_as_default_for_extension
3437 Support flags in g_app_info_create_from_commandline
3439 * gio/gwin32appinfo.c:
3441 Update for API changes
3443 * gio/gthemedicon.c:
3444 Properly NULL-terminate list of icon names
3446 2007-09-28 Alexander Larsson <alexl@redhat.com>
3448 * gio/gloadableicon.h:
3449 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3451 2007-09-28 Alexander Larsson <alexl@redhat.com>
3454 Install headers in $includedir/gio-standalone/
3456 * gio-2.0.pc.in: Added.
3457 * gio-standalone.pc.in: Removed.
3460 Renamed pkg-config file to match glib (for future move)
3461 Update to the new include dir
3464 Add more TODO comments
3466 2007-09-28 Alexander Larsson <alexl@redhat.com>
3468 * gio/gdesktopappinfo.[ch]:
3469 Expose new_from_filename
3470 Add getter for is_hidden and handle it better
3472 2007-09-28 Alexander Larsson <alexl@redhat.com>
3474 * gio/gfileinfo.[ch]:
3475 Rename g_file_size_format_for_display to
3476 g_format_file_size_for_display.
3477 Now it doesn't have the g_file prefix, so we
3478 can later move it to glib.
3480 2007-09-28 Alexander Larsson <alexl@redhat.com>
3482 * gio/gappinfo.[ch]:
3483 Add g_app_info_get_id and g_app_info_get_executable.
3484 Make all getters non-reffing
3485 Make g_app_info_launch take GFile arguments.
3486 Add must_support_uris argument to g_app_info_get_default_for_type.
3488 * gio/gwin32appinfo.c:
3489 Update to GAppInfo api changes
3491 * gio/gdesktopappinfo.c:
3492 Update to GAppInfo api changes
3493 Implement supports_xdg_startup_notify
3495 * gio/gfileicon.c (g_file_icon_get_file):
3496 Make getter non-reffing.
3501 2007-09-27 Alexander Larsson <alexl@redhat.com>
3503 * gio/gfileinfo.[ch]:
3504 Add g_file_size_format_for_display helper
3506 2007-09-27 Alexander Larsson <alexl@redhat.com>
3508 * gio/glocalfileinfo.c:
3509 Set UNIX_GID from gid, not from uid
3511 2007-09-27 Alexander Larsson <alexl@redhat.com>
3514 Add g_file_set_attributes_async
3516 2007-09-27 Alexander Larsson <alexl@redhat.com>
3518 * gio/glocalfile.c (g_local_file_set_display_name):
3519 Fix set_display_name to actually rename to the right place.
3520 Use lstat to look for existing files so we don't overwrite
3523 2007-09-26 Alexander Larsson <alexl@redhat.com>
3526 Add g_file_set_display_name_async()
3528 2007-09-26 Alexander Larsson <alexl@redhat.com>
3531 Add load_partial_contents async calls
3534 Make internal function static
3536 2007-09-26 Alexander Larsson <alexl@redhat.com>
3538 * gio/glocalfileinfo.c:
3539 Correctly detect broken symlinks
3541 2007-09-26 Alexander Larsson <alexl@redhat.com>
3543 * gio/gcancellable.c (g_cancellable_cancel):
3544 Allow cancel on NULL cancellable
3546 2007-09-25 Alexander Larsson <alexl@redhat.com>
3548 * gio/gsimpleasyncresult.c:
3549 Don't allocate g_error manually.
3550 Fixes g_slice/g_new mixup crash
3552 2007-09-25 Alexander Larsson <alexl@redhat.com>
3554 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3555 Actually set active_backend.
3556 This means the monitor will be cancelled correctly.
3558 2007-09-25 Alexander Larsson <alexl@redhat.com>
3560 * gio/gdirectorymonitor.c:
3561 Set timeout to NULL when destroying
3563 2007-09-25 Alexander Larsson <alexl@redhat.com>
3566 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3567 that is a better description of the error.
3569 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3571 * gio/gvfs.c: (g_vfs_get_local):
3572 Make the local vfs variable static. The same instance should
3575 2007-09-24 Alexander Larsson <alexl@redhat.com>
3577 * gio/glocalfileinfo.c:
3578 Pass in actual length read into sniffer, not the length
3581 2007-09-21 Alexander Larsson <alexl@redhat.com>
3583 * gio/gfileenumerator.c:
3586 * gio/gfileinputstream.c:
3587 * gio/gfileoutputstream.c:
3588 * gio/ginputstream.c:
3589 * gio/goutputstream.c:
3590 Don't crash if async callbacks are NULL
3592 2007-09-20 Alexander Larsson <alexl@redhat.com>
3595 Add async enumerate_children method and default
3598 2007-09-20 Alexander Larsson <alexl@redhat.com>
3601 Add g_file_contains_file & g_file_get_relative_path, since they
3602 were needed for nautilus.
3603 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3608 Implement new methods
3610 2007-09-17 Alexander Larsson <alexl@redhat.com>
3613 * gio/gfileinputstream.[ch]:
3614 * gio/gfileoutputstream.[ch]:
3616 * gio/glocalfileenumerator.[ch]:
3617 * gio/glocalfileinfo.[ch]:
3618 * gio/glocalfileinputstream.c:
3619 * gio/glocalfileoutputstream.c:
3620 * gio/gpollfilemonitor.c:
3621 * programs/gio-copy.c:
3622 * programs/gio-info.c:
3623 * programs/gio-move.c:
3624 Rename get_file_info to query_info() to make it clearer
3625 that these are not simple getters, but do i/o.
3627 2007-09-17 Alexander Larsson <alexl@redhat.com>
3629 * gio/gdatainputstream.[ch]:
3630 * gio/test-streams.c:
3631 Use _read_XXX instead of _get_XXX for the i/o calls
3634 2007-09-17 Alexander Larsson <alexl@redhat.com>
3637 Added needed stuff to TODO comment
3639 2007-09-17 Alexander Larsson <alexl@redhat.com>
3641 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3642 Don't error out removing the backup copy if it doesn't
3645 2007-09-14 Alexander Larsson <alexl@redhat.com>
3647 * programs/Makefile.am:
3648 * programs/gvfs-*.c:
3650 Renamed apps from gvfs-xxx to gio-xxx.
3652 2007-09-14 Alexander Larsson <alexl@redhat.com>
3655 * gio/gfileoutputstream.[ch]:
3656 * gio/glocalfileoutputstream.c:
3657 * programs/gvfs-save.c:
3658 g_file_output_stream_get_etag doesn't do i/o, so remove
3659 cancellation and error.
3661 2007-09-14 Alexander Larsson <alexl@redhat.com>
3664 Add new_etag output to replace_contents functions
3666 2007-09-14 Alexander Larsson <alexl@redhat.com>
3668 * gio/gfileoutputstream.[ch]:
3669 Add async get_file_info and default implementation
3671 2007-09-14 Alexander Larsson <alexl@redhat.com>
3673 * gio/gfileinputstream.c:
3674 Implement fallback wrapper for async get_file_info
3676 2007-09-14 Alexander Larsson <alexl@redhat.com>
3679 Add etag out argument to load_contents
3684 2007-09-14 Alexander Larsson <alexl@redhat.com>
3686 * gio/gcontenttype.c (looks_like_text):
3687 Whitespace like tab, cr and lf do not make the
3690 2007-09-14 Alexander Larsson <alexl@redhat.com>
3692 * gio/gfileinputstream.[ch]:
3693 Add async get_file_info.
3695 2007-09-13 Alexander Larsson <alexl@redhat.com>
3697 * gio/goutputstream.c (g_output_stream_write_all):
3698 Allow NULL for bytes_written
3700 2007-09-13 Alexander Larsson <alexl@redhat.com>
3702 * gio/gmemoryinputstream.[ch]:
3703 Add accessors for data
3705 2007-09-13 Alexander Larsson <alexl@redhat.com>
3707 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3708 Don't crash if length is NULL