1 2008-02-27 Alexander Larsson <alexl@redhat.com>
8 Add missing GMountMountFlags argument
10 2008-02-26 Alexander Larsson <alexl@redhat.com>
13 (g_local_file_delete):
14 Handle filesystems (like ntfs-3g) that return EEXIST instead
15 of ENOTEMPTY (#518816)
17 2008-02-25 Matthias Clasen <mclasen@redhat.com>
19 * === Released 2.15.6 ===
21 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
23 * gfile.c (g_file_find_enclosing_mount):
24 * ginputstream.c (g_input_stream_set_pending):
25 * glocalfile.c (g_local_file_find_enclosing_mount):
26 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
27 * goutputstream.c (g_output_stream_set_pending):
29 Fixup translator comments (#518578).
31 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
33 * gfile.c (g_file_find_enclosing_mount):
35 * glocalfile.c (g_local_file_find_enclosing_mount):
38 Fix a few typos in translator comments and documentation.
40 2008-02-25 Alexander Larsson <alexl@redhat.com>
47 Add translator comments (#518578)
49 2008-02-25 Alexander Larsson <alexl@redhat.com>
52 Reintroduce g_file_contains_file, keep around for one
53 unstable release cycle to avoid crashing to many apps.
54 Make sure to delete after release.
56 2008-02-25 Alexander Larsson <alexl@redhat.com>
59 Remove deprecated g_file_contains_file.
61 2008-02-25 Alexander Larsson <alexl@redhat.com>
64 Emit actual change signals in an idle handler.
65 This avoids reentrance and locking problems in
66 the file notification backends.
68 2008-02-25 Alexander Larsson <alexl@redhat.com>
71 (g_unix_mount_guess_should_display):
72 Remove type guessing, instead just display
73 mounts in /media and in ~/.
75 2008-02-25 Alexander Larsson <alexl@redhat.com>
78 Make new strings reuse old ones.
80 2008-02-25 Alexander Larsson <alexl@redhat.com>
83 Implement trashing and filesystem::readonly for win32 (#517235)
84 Patch from Yevgen Muntyan
86 2008-02-23 Matthias Clasen <mclasen@redhat.com>
88 * gfileinfo.h: Documentation fixes.
90 2008-02-22 Alexander Larsson <alexl@redhat.com>
92 * gcontenttype.c (g_content_type_get_icon):
93 Look at old-style gnome mime icon names too, as many
94 have not moved to the new style.
96 2008-02-21 Matthias Clasen <mclasen@redhat.com>
98 * *.c: Correct the @include in for section docs.
100 2008-02-21 David Zeuthen <davidz@redhat.com>
102 * glocalfileinfo.c: (_g_local_file_info_get):
104 (g_content_type_get_icon): Implement this function by
105 moving bits from glocalfileinfo.c
106 (g_content_type_get_description): Unalias before getting
107 description (#517687)
109 * gfile.c: (g_file_class_init),
110 (g_file_query_filesystem_info_async),
111 (g_file_query_filesystem_info_finish),
112 (query_filesystem_info_data_free),
113 (query_filesystem_info_async_thread),
114 (g_file_real_query_filesystem_info_async),
115 (g_file_real_query_filesystem_info_finish):
116 * gfile.h: Implement async version of
117 g_file_query_filesystem_info()
119 * gfileinfo.h: Add new attributes for filesystem::use-preview
121 * gio.symbols: Update
123 * gthemedicon.c: (g_themed_icon_append_name):
124 * gthemedicon.h: Add new new convenience function.
126 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
127 (get_mounts), (get_volumes), (get_connected_drives),
128 (get_volume_for_uuid), (get_mount_for_uuid),
129 (g_union_volume_monitor_init), (populate_union_monitor),
130 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
131 (g_volume_monitor_adopt_orphan_mount):
133 * gvolumemonitor.h: Use recursive locks so it's safe for volume
134 monitor implementations to call into the main volume monitor. Also
135 separate object initialization and volume monitor initialization
136 such that non-native volume monitors can properly adopt their
139 2008-02-21 Alexander Larsson <alexl@redhat.com>
144 2008-02-21 Alexander Larsson <alexl@redhat.com>
147 Add more documentation about how GFiles work (from #517086)
149 2008-02-21 Alexander Larsson <alexl@redhat.com>
153 Add new g_file_has_prefix that does the same as g_file_contains_file.
154 Deprecate g_file_contains_file and add a macro that converts
155 it to g_file_has_prefix.
156 The reason for this change is that the contains_file() name seems to
157 imply that this does more work than what it does, but its really only
158 a name match (from #517086)
163 Update to match the above change.
165 2008-02-20 Benjamin Otte <otte@gnome.org>
167 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
168 (g_file_eject_mountable):
169 even more cases of not returning in error path
171 2008-02-20 Benjamin Otte <otte@gnome.org>
173 * gfile.c: (g_file_mount_mountable):
174 return from function in error path.
176 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
179 Remove trailing coma in GMountMountFlags struct
181 2008-02-18 Alexander Larsson <alexl@redhat.com>
185 * glocalfileoutputstream.c:
186 Use g_unlink/g_rename instead of unlink/rename;
187 do not pass raw filenames to g_set_error. (#517239)
188 Patch from Yevgen Muntyan.
190 2008-02-18 Alexander Larsson <alexl@redhat.com>
193 * glocalfileoutputstream.c:
194 Open files with O_BINARY on windows. (#517140)
196 2008-02-14 Alexander Larsson <alexl@redhat.com>
198 * glocalfileoutputstream.c:
199 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
201 2008-02-14 Alexander Larsson <alexl@redhat.com>
204 Copy permissions with file on copy (#514084)
205 This is what cp does and makes sure e.g. the
206 exec permissions are kept.
207 Its kinda weird in that it keeps the permission bits
208 the same while the uid and gid are different. However
209 the new uid is the user so its not a security issue,
210 and I've heard no complaints about cp on this issue.
212 2008-02-13 Ryan Lortie <desrt@desrt.ca>
214 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
216 2008-02-13 Alexander Larsson <alexl@redhat.com>
218 * inotify/inotify-path.c:
219 Define IN_ONLYDIR if not in header (#515346)
221 2008-02-12 Alexander Larsson <alexl@redhat.com>
223 * tests/live-g-file.c:
226 2008-02-11 Matthias Clasen <mclasen@redhat.com>
228 * === Released 2.15.5 ===
230 2008-02-11 Matthias Clasen <mclasen@redhat.com>
232 * gio.symbols: Add g_mount_mount_flags_get_type.
234 2008-02-11 Alexander Larsson <alexl@redhat.com>
237 (g_file_info_set_attribute_mask):
238 (g_file_attribute_matcher_matches_id):
239 Correctly handle NULL GAttributeMatcher meaning
240 matches nothing. (Fixes #513492)
242 2008-02-11 Alexander Larsson <alexl@redhat.com>
247 Added GMountMountFlags enum and added a flags
248 argument to all mount calls.
250 This is an API/ABI change for future extensibility,
251 as I think we will need at least an
252 inhibit-autorun flag (the panel needs this).
253 There are no flags defined yet though.
255 2008-02-11 Alexander Larsson <alexl@redhat.com>
258 Added new standard::description attribute.
259 Requested by Vincent, and useful for both
262 2008-02-11 Alexander Larsson <alexl@redhat.com>
267 2008-02-11 Matthias Clasen <mclasen@redhat.com>
269 * *.c: Documentation additions
271 2008-02-10 Matthias Clasen <mclasen@redhat.com>
273 * gappinfo.h: Formatting cleanup
274 * gappinfo.c: Fix up docs.
276 2008-02-09 Matthias Clasen <mclasen@redhat.com>
278 * gunixmounts.c: Consistently use getmntent_r() and fall
279 back to getmntent(). (#515492)
281 2008-02-09 Matthias Clasen <mclasen@redhat.com>
283 * gbufferedinputstream.c:
285 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
287 * tests/data-input-stream.c:
288 * tests/data-output-stream.c: Portability fixes.
290 2008-02-08 Alexander Larsson <alexl@redhat.com>
295 Add g_volume_should_automount.
298 2008-02-07 Tor Lillqvist <tml@novell.com>
300 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
301 Win32, too Unix-specific.
303 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
305 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
306 a local plt if the compiler doesn't support what we want. Bug #514702
308 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
310 reviewed by: <delete if not using a buddy>
313 * gunixinputstream.c:
314 * gunixoutputstream.c:
316 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
319 * tests/live-g-file.c:
320 * tests/live-g-file.txt:
321 New GIO testing module working over real data
323 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
325 * glocalfileoutputstream.c (g_local_file_output_stream_close):
326 Fallback to rename() if link() is not available
327 (when no support on target filesystem)
329 2008-02-06 Michael Natterer <mitch@imendio.com>
331 * gfileinfo.c (g_file_info_get_icon): replace
332 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
334 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
336 * gfile.c (g_file_create):
337 Documentation update of error codes
339 2008-02-06 Alexander Larsson <alexl@redhat.com>
342 Update to use both mimeapps.list and
343 defaults.list as discussed on xdg list.
345 2008-02-06 Benjamin Otte <otte@gnome.org>
348 * gfilenamecompleter.c:
349 Fix some typos in the documentation.
351 2008-02-06 Alexander Larsson <alexl@redhat.com>
353 * glocalfile.c (g_local_file_trash):
354 Don't succeed with trash if newly created
355 trash dir has the wrong owner. (#514696)
357 2008-02-05 Alexander Larsson <alexl@redhat.com>
359 * glocalfile.c (g_local_file_move):
360 Don't spew warnings when destination is not
363 2008-02-03 Hans Breuer <hans@breuer.org>
365 * makefile.msc : update
367 2008-02-01 Michael Natterer <mitch@imendio.com>
369 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
370 return value of xdg_mime_list_mime_parents() to a variable of the
373 2008-02-01 Alexander Larsson <alexl@redhat.com>
375 * gappinfo.c (g_app_info_launch_uris):
376 Actually call the launch_uris method, not
379 2008-02-01 Alexander Larsson <alexl@redhat.com>
381 * gdesktopappinfo.c (g_desktop_app_info_equal):
382 Ensure appinfos with no id but same pointer value
385 2008-02-01 Alexander Larsson <alexl@redhat.com>
387 * gappinfo.c (g_app_info_launch_default_for_uri):
390 2008-02-01 Alexander Larsson <alexl@redhat.com>
394 Add g_app_info_launch_default_for_uri utility
397 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
400 Doc fix for g_app_info_get_default_for_uri_scheme ()
403 2008-01-30 Alexander Larsson <alexl@redhat.com>
406 Add doc comment about uris vs GFiles to
410 Ensure uris passed to g_app_info_launch_uris()
411 are not roundtriped through GFile (as that
412 may be slightly destructive for e.g. mailto: links)
414 2008-01-30 Alexander Larsson <alexl@redhat.com>
416 * tests/data-input-stream.c:
417 * tests/data-output-stream.c:
418 C89 fixes from Jens Granseuer (#512849)
420 2008-01-30 Alexander Larsson <alexl@redhat.com>
423 Fix gamin/fam difference build issue. (#509419)
425 2008-01-29 Alexander Larsson <alexl@redhat.com>
429 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
431 2008-01-29 Alexander Larsson <alexl@redhat.com>
435 giomodule-priv.h include moved to .c file.
437 2008-01-29 Alexander Larsson <alexl@redhat.com>
439 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
440 Remove unused prio/name fields.
442 2008-01-29 Alexander Larsson <alexl@redhat.com>
444 * gcontenttype.c (looks_like_text):
445 Don't treat whitespace as control chars.
447 2008-01-29 Alexander Larsson <alexl@redhat.com>
450 Lazily create the desktop files for appinfos created
451 by g_app_info_create_from_commandline() when needed
452 for mime associations. This allows run-time use
453 of GAppInfo object without creating unnecessary
456 2008-01-29 Alexander Larsson <alexl@redhat.com>
459 Added new symbols to gio.symbols
461 2008-01-29 Alexander Larsson <alexl@redhat.com>
464 Add g_file_query_default_handler utility to easily look up
465 the GAppInfo that handles a file.
467 * gdesktopappinfo.[ch]:
469 Set up an extension point for g_app_info_get_default_for_uri_scheme()
472 Remove unused function
474 2008-01-29 Alexander Larsson <alexl@redhat.com>
477 Mention need to free returned value in
478 g_file_enumerator_next_files_finish docs.
479 Fix leak if g_file_enumerator_next_files_finish()
482 2008-01-29 Alexander Larsson <alexl@redhat.com>
485 (_g_unix_content_type_get_parents):
486 Use list_parents, not get_parents from xdgmime, because
487 the later doesn't use the cache.
489 * xdgmime/xdgmimecache.c:
490 (_xdg_mime_cache_list_mime_parents):
491 Don't list the same type as parent multiple times.
493 2008-01-28 Matthias Clasen <mclasen@redhat.com>
495 * === Released 2.15.4 ===
497 2008-01-28 Alexander Larsson <alexl@redhat.com>
500 Register local vfs with prio 0.
503 Remove old name and prio class members
505 2008-01-28 Matthias Clasen <mclasen@redhat.com>
507 * tests/g-file.c: Disable some tests that are failing in
508 the absence of a http backend.
510 2008-01-28 Alexander Larsson <alexl@redhat.com>
514 Add registration hooks for extension points.
515 Register the gio extension points.
517 * fam/gfamdirectorymonitor.c:
518 * fam/gfamfilemonitor.c:
519 * glocaldirectorymonitor.[ch]:
520 * glocalfilemonitor.[ch]:
521 * gnativevolumemonitor.h:
522 * gunionvolumemonitor.c:
523 * gunixvolumemonitor.c:
526 * inotify/ginotifydirectorymonitor.c:
527 * inotify/ginotifyfilemonitor.c:
528 Use the extension points registration instead
529 of g_type_children().
531 2008-01-28 Matthias Clasen <mclasen@redhat.com>
534 * gvolume.[hc]: Document new API.
536 * gfile.c (g_file_copy_async): Fix docs
538 2008-01-27 Matthias Clasen <mclasen@redhat.com>
540 * gbufferedinputstream.c:
542 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
545 2008-01-27 Matthias Clasen <mclasen@redhat.com>
547 * glocalfile.c: Avoid trivial differences in translatable strings.
549 2008-01-25 Matthias Clasen <mclasen@redhat.com>
551 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
552 build with gcc 3.4 (#509419)
554 2008-01-25 Matthias Clasen <mclasen@redhat.com>
556 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
557 (#509994, Murray Cumming)
559 2008-01-25 Matthias Clasen <mclasen@redhat.com>
561 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
562 * gioscheduler.c: Keep calling io jobs until they return FALSE;
563 this allows big jobs to be executed in chunks, instead of blocking
564 the main loop for a long time.
566 * gsimpleasyncresult.c:
567 * giofile.c: Adapt callers.
569 2008-01-25 Alexander Larsson <alexl@redhat.com>
572 Implement changes discussed on xdg list.
573 Now we can add supported mimetypes by just using defaults.list
574 We can also remove associations in defaults.list.
576 2008-01-25 Alexander Larsson <alexl@redhat.com>
579 Don't make local copy of desktop file
580 for mimetype changes if the file already
581 supports the new mimetype.
583 2008-01-25 Matthias Clasen <mclasen@redhat.com>
587 * gbufferedinputstream.c:
588 * glocalfile.c: String improvements. (#511966,
589 Theppitak Karoonboonyanan)
591 2008-01-24 Matthias Clasen <mclasen@redhat.com>
593 * gioscheduler.h: Expand docs a bit.
595 2008-01-24 Alexander Larsson <alexl@redhat.com>
598 Add g_drive_get_identifier and
599 g_drive_enumerate_identifiers
602 Add g_volume_get_identifier and
603 g_volume_enumerate_identifiers
609 Implement identifiers for unix backend
611 2008-01-24 Alexander Larsson <alexl@redhat.com>
616 Add g_file_copy_async() (#511580)
617 Based on patch from Carlos Garcia Campos
619 2008-01-23 Matthias Clasen <mclasen@redhat.com>
621 * gioscheduler.c: Some documentation additions.
623 2008-01-22 Alexander Larsson <alexl@redhat.com>
626 (g_desktop_app_info_new):
629 2008-01-22 Alexander Larsson <alexl@redhat.com>
632 (g_desktop_app_info_new_from_filename):
635 2008-01-22 Alexander Larsson <alexl@redhat.com>
637 * glocalfileinfo.c (get_thumbnail_attributes):
640 2008-01-22 Alexander Larsson <alexl@redhat.com>
643 (canonicalize_filename):
644 Canonicalize paths that start with more than
649 (test_g_file_new_for_path):
652 2008-01-22 Alexander Larsson <alexl@redhat.com>
655 Allow UTF-8 in file:// parse names.
658 * tests/data-input-stream.c:
659 * tests/data-output-stream.c:
660 * tests/g-file-info.c:
662 Added a bunch of tests from Tomas Bzatek
664 2008-01-21 Matthias Clasen <mclasen@redhat.com>
666 * === Released 2.15.3 ===
668 2008-01-21 Alexander Larsson <alexl@redhat.com>
670 * gfileinputstream.[ch]:
671 * gfileoutputstream.[ch]:
673 Remove duplicated GSeekable functions. (#509990)
674 Just use the g_seekable_xxx() calls instead.
676 2008-01-21 Matthias Clasen <mclasen@redhat.com>
679 * gvolumemanager.c: Whitespace cleanups.
681 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
682 Use the right mode when creating the file.
684 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
687 * gfileinputstream.c:
689 * goutputstream.c: Documentation: Fixed minor typos
690 and added more mentions of specific _finish() functions.
692 2008-01-21 Alexander Larsson <alexl@redhat.com>
694 * inotify/Makefile.am:
695 * inotify/inotify-helper.c:
696 * inotify/inotify-kernel.c:
697 * inotify/inotify-path.c:
698 * inotify/local_inotify.h: Removed.
699 * inotify/local_inotify_syscalls.h: Removed.
700 Removed the included copies of the inotify
701 headers. We now only use the <sys/inotify.h>
702 header which exists on modern systems.
703 This fixes problems on ARM and SH5 (#510448)
704 but is also generally much cleaner and future
705 safe. For instance, if other OSes add support
706 for inotify it should "just work".
708 2008-01-20 Matthias Clasen <mclasen@redhat.com>
710 * inotify/*.c: Coding style fixes.
711 * inotify/inotify-missing.c: Use g_timeout_add_seconds
712 for the 1/4 Hz timer.
714 2008-01-20 Matthias Clasen <mclasen@redhat.com>
718 * gmemoryinputstream.c:
719 * gmemoryoutputstream.c:
721 * gthemedicon.c: Documentation updates
723 2008-01-20 Murray Cumming <murrayc@murrayc.com>
725 * gfile.c: documentation: Fixed more minor
728 2008-01-18 Murray Cumming <murrayc@murrayc.com>
730 * gmount.c: (g_mount_remount): documentation:
731 Mention g_mount_remount_finish() instead of
732 g_mount_unmount_finish().
734 2008-01-18 Murray Cumming <murrayc@murrayc.com>
738 * gfile.c: Fixed some minor typos in the
741 2008-01-18 Murray Cumming <murrayc@murrayc.com>
743 * gio/gvolumemonitor.c:
744 (g_volume_monitor_get_connected_drives):
745 (g_volume_monitor_get_volumes):
746 (g_volume_monitor_get_mounts): Documentation:
747 Clarify the ownership of the regurn GLists.
749 2008-01-17 Alexander Larsson <alexl@redhat.com>
752 Add the async find_enclosing_mount version
753 to the header file too.
755 2008-01-17 Alexander Larsson <alexl@redhat.com>
758 Add async version of find_enclosing_mount
759 with default implementation.
761 2008-01-17 Alexander Larsson <alexl@redhat.com>
766 Allow calls to implementation of copy and write
767 even if the type of the file implementations is
768 different. This can be used to implement native
769 upload and download calls in a vfs.
773 Protect against the case where move is called
774 with one file not being local.
776 Make sure we call the progress callback once
777 in the native move operation so that the caller
778 knows how many bytes were copied.
780 2008-01-16 Murray Cumming <murrayc@murrayc.com>
783 * gdatainputstream.c:
785 * gfileoutputstream.c:
790 * gunixmounts.c: Corrected some typos in the documentation:
792 its -> it's (where appropriate).
794 2008-01-16 Alexander Larsson <alexl@redhat.com>
798 Add g_file_query_exists (#508771)
800 2008-01-15 Murray Cumming <murrayc@murrayc.com>
805 * gvolume.c: For async functions that have no non-async
806 version, document that the GAsyncReadyCallback may be NULL.
809 2008-01-15 Alexander Larsson <alexl@redhat.com>
811 * gmemoryinputstream.c:
812 * gmemoryoutputstream.c:
813 Don't do pointer arithmetic on void * (#508602)
814 Patch from Kazuki IWAMOTO
816 2008-01-14 Matthias Clasen <mclasen@redhat.com>
818 * === Released 2.15.2 ===
820 2008-01-14 Alexander Larsson <alexl@redhat.com>
822 * gfile.c (g_file_monitor_file):
823 Don't set error here, since we fallback to polling monitor.
825 2008-01-14 Alexander Larsson <alexl@redhat.com>
828 (g_file_monitor_directory):
829 (g_file_monitor_file):
830 Add GError to file monitor calls
832 * glocaldirectorymonitor.c:
833 * glocaldirectorymonitor.h:
835 * glocalfilemonitor.c:
836 * glocalfilemonitor.h:
838 Update for above change
840 2008-01-14 Alexander Larsson <alexl@redhat.com>
844 Handle root correctly in g_file_get_relative_path (#508719)
846 2008-01-14 Alexander Larsson <alexl@redhat.com>
849 Clean up docs and example for GAsyncResult (#508074)
851 2008-01-11 Murray Cumming <murrayc@murrayc.com>
853 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
854 and correct some spelling mistakes. Bug #508108.
856 2008-01-11 Matthias Clasen <mclasen@redhat.com>
858 * glocalfileinfo.c: Add a comment.
860 2008-01-10 Murray Cumming <murrayc@murrayc.com>
862 * gfileinfo.c: GFileInfo description: Mention
863 how to actually set attributes in a GFile and how to discover
864 which attributes are settable. Bug #508378.
866 2008-01-10 A. Walton <awalton@svn.gnome.org>
868 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
869 (g_app_info_get_default_for_type):
870 Check for NULL content types.
872 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
874 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
876 2008-01-09 Murray Cumming <murrayc@murrayc.com>
878 * gfile.c: *_async() functions: Several small corrections
879 to the documentation, mostly correcting copy/paste errors
880 and improving some sentences.
882 2008-01-09 Dan Winship <danw@gnome.org>
884 * glocalfile.c (get_unique_filename): x86_64 fix
886 2008-01-09 Alexander Larsson <alexl@redhat.com>
891 Add g_unix_mount_guess_should_display and use
892 for unix volume monitor backend.
893 This means we more or less show what the
894 gnome-vfs backend did.
895 Based on patch from Padraig O'Briain
897 2008-01-09 Alexander Larsson <alexl@redhat.com>
901 Add g_themed_icon_new_with_default_fallbacks
904 Use default fallbacks for icons
906 2008-01-09 Alexander Larsson <alexl@redhat.com>
909 * gmountoperation.[ch]:
910 Change the API a bit so that unhandled methods
911 get reported via the reply, rather than by
912 the signal emission return value. This is because
913 some handlers can't know this immediately without
914 doing I/O, and this is an async operation that
917 2008-01-09 Alexander Larsson <alexl@redhat.com>
920 * fam/gfamdirectorymonitor.c:
921 * fam/gfamfilemonitor.c:
922 Fix double free crash (#508224)
923 Patch from Joe Marcus Clarke
925 008-01-07 Matthias Clasen <mclasen@redhat.com>
927 * === Released 2.15.1 ===
929 2008-01-07 Alexander Larsson <alexl@redhat.com>
931 * gunixinputstream.c (g_unix_input_stream_skip_finish):
932 Fix warning (#507835)
934 2008-01-07 Alexander Larsson <alexl@redhat.com>
937 Pass --internal to glib-genmarshal
942 Use better types for signal arguments (#507822)
944 2008-01-07 Alexander Larsson <alexl@redhat.com>
947 Build test subdir after .
948 Remove gdirectorymonitor.[ch]
950 * gdirectorymonitor.[ch]:
954 Remove GDirectoryMonitor and make
955 GFileMonitor the baseclass for both file and
956 directory monitors. Lift the more generic
957 rate limiting code from GDirectoryMonitor
961 * fam/gfamdirectorymonitor.[ch]:
962 * inotify/ginotifydirectorymonitor.[ch]:
963 * inotify/inotify-helper.c:
964 * glocaldirectorymonitor.[ch]:
967 Update for the removed GDirectoryMonitor.
969 * gmemoryoutputstream.c:
970 Remove ununsed variable
972 2008-01-07 Alexander Larsson <alexl@redhat.com>
974 * gmemoryinputstream.c:
975 Translate error strings
978 * gmemoryoutputstream.[ch]:
979 New implementation that avoids using GByteArray
980 in implementation and API. (#506377)
982 2008-01-06 Matthias Clasen <mclasen@redhat.com>
984 * tests/*: Add a test for memory input streams.
986 * Makefile.am: Add tests to SUBDIRS.
988 2008-01-06 Matthias Clasen <mclasen@redhat.com>
990 * glocalfilemonitor.c:
991 * glocaldirectorymonitor.c: Mark property nicks and blurbs
994 2008-01-06 Matthias Clasen <mclasen@redhat.com>
996 * gdesktopappinfo.c: Fix a docs typo.
998 * gfileattribute.c: Add information about extended attributes
999 to the documentation. (#505058)
1001 2008-01-04 Alexander Larsson <alexl@redhat.com>
1004 * gmountoperation.c:
1005 Use the right type (uint) for the ask_password signal.
1007 2008-01-04 Alexander Larsson <alexl@redhat.com>
1012 Add g_app_info_supports_files()
1013 Remove desktop arg from g_app_info_should_show().
1015 * gdesktopappinfo.[ch]:
1016 Implement g_app_info_supports_files() and new should_show()
1017 Add g_desktop_app_info_set_desktop_env() to set the desktop
1018 for should_show(). (This will be set by gtk+ later)
1020 2008-01-04 Alexander Larsson <alexl@redhat.com>
1023 * gmemoryinputstream.[ch]:
1024 Improve API so that you can use multiple chunks
1025 of memory and custom destroy functions. (#506374)
1027 2008-01-03 Alexander Larsson <alexl@redhat.com>
1030 Handle NULL attribute matchers safely, as we return this
1031 for empty attribute matcher strings.
1033 2008-01-03 Alexander Larsson <alexl@redhat.com>
1035 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1036 Add /usr/local to list of internal mountpoints
1038 2008-01-03 Alexander Larsson <alexl@redhat.com>
1041 Check for HAVE_LCHOWN (#505887)
1043 2008-01-03 Alexander Larsson <alexl@redhat.com>
1047 Add define for selinux context attribute.
1048 Fix missing : -> :: namespace separator change
1049 Fix missing _ -> - name change for xattr-sys.
1052 2008-01-03 Alexander Larsson <alexl@redhat.com>
1055 Link to libglib and libgobject directly (#504879)
1056 Patch from Sebastien Bacher
1058 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1060 * gfile.c: Expanded the g_file_new_for_commandline_arg
1061 description a bit, based on the code and the docs of the
1062 other g_file_new_for_* functions.
1064 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1066 * gfilemonitor.h: Fixed typo in docs.
1068 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1070 Updates to GIO documentation. (#506395, Mikael Hermansson)
1072 * gcontenttype.c: Describe memory management for return value of
1073 g_content_types_get_registered(). Missing piece from #505815.
1074 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1075 GVolume, GDrive, GMounts, which hopefully gives the user less
1076 confusions when using this API. Following explainations from
1077 Alexander Larsson on gtk-devel-list.
1079 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1081 * gfileinfo.c: Expand the long description.
1083 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1086 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1087 fix builds with --disable-visibility. (#500273, Christian Persch)
1089 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1091 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1092 in the list of returned app infos.
1094 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1096 * gappinfo.c: Fix a cross-reference
1098 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1100 * gfileinputstream.c:
1101 * gfileoutputstream.c:
1105 * gdesktopappinfo.c:
1107 * gfileinfo.c: Documentation updates.
1109 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1111 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1114 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1116 * gcontenttype.c (g_content_types_get_registered): Don't return
1117 freed memory (#505815, Mikael Hermansson)
1119 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1121 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1122 used to detect statbuf->st_blocks. (#505042)
1124 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1126 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1127 environment handling. (#504829, Cosimo Cecchi)
1129 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1131 * gappinfo.c: Doc improvements
1133 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1136 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1138 * === Released 2.15.0 ===
1140 2007-12-20 Hans Breuer <hans@breuer.org>
1142 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1143 with symbols gwin32appinfo.obj, added gmount.obj
1144 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1146 2007-12-20 Alexander Larsson <alexl@redhat.com>
1152 * gfilenamecompleter.c:
1155 * gpollfilemonitor.c:
1156 File attribute renames:
1158 fs:: -> filesystem::
1159 id::fs -> id::filesystem
1161 2007-12-20 Alexander Larsson <alexl@redhat.com>
1170 Add GMountUnmountFlags to all unmount and
1172 Add g_mount_remount() call.
1174 2007-12-20 Alexander Larsson <alexl@redhat.com>
1176 * gvfs.c (get_default_vfs):
1177 Fix unused variable warning
1179 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1181 * pltcheck.sh: Update
1183 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1185 * gunionvolumemonitor.c:
1186 * gunixmount.c: Remove C99 comments
1188 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1190 * gio.symbols: Add some missing symbols
1192 2007-12-19 Alexander Larsson <alexl@redhat.com>
1195 Make g_io_modules_load_all_in_directory not unuse
1196 loaded modules so that users of it can do stuff
1198 Init internal "module" types.
1199 Initialize static prio and name for types so that
1200 we don't have to load modules to get it.
1202 * gnativevolumemonitor.h:
1204 Move is_supported to parent class so that
1205 non-native monitors can avoid being initialized
1206 too. (For instance GDaemonVolumeMonitor if we're
1207 not using GDaemonVfs.)
1209 * glocaldirectorymonitor.[ch]:
1210 * glocalfilemonitor.[ch]:
1211 * gunionvolumemonitor.c:
1212 * gunixvolumemonitor.c:
1214 Find plugins using the static prio+name to
1215 avoid unnecessarily loading the modules.
1217 2007-12-19 Alexander Larsson <alexl@redhat.com>
1222 2007-12-19 Alexander Larsson <alexl@redhat.com>
1224 * gunionvolumemonitor.c:
1225 Store the native type as GType, not class so that
1226 we can unload it. But still avoid unnecessarily
1229 2007-12-19 David Zeuthen <davidz@redhat.com>
1231 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1232 add signals 'disconnected' and 'eject-button' on GDrive. Add
1233 signal 'removed' on GVolume and 'unmounted' on GMount.
1235 * gdrive.c: (g_drive_base_init):
1237 * gfile.c: (g_file_mount_mountable),
1238 (g_file_mount_enclosing_volume):
1241 * gmount.c: (g_mount_base_init):
1243 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1244 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1245 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1249 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1251 * *.c: Fix up includes in the section docs.
1253 2007-12-17 Alexander Larsson <alexl@redhat.com>
1255 * gnativevolumemonitor.h:
1256 * gunionvolumemonitor.c:
1257 * gunixvolumemonitor.c:
1258 Add is_supported() to GNativeVolumeMonitorClass so
1259 that we can avoid having to create an object to see
1260 if the backend is supported at runtime.
1261 Also add name member and an env var to pick a specific
1262 volume monitor backend.
1266 Add cancellable to _g_mount_get_for_mount_path()
1268 * glocaldirectorymonitor.c:
1269 * glocalfilemonitor.c:
1270 Avoid loading and unloading modules while sorting.
1272 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1275 * gunixmounts.[hc]: Namespace waste reduction, move some
1276 g_get_unix_mount functions to the g_unix_mount namespace.
1279 * gunixvolumemonitor.c:
1281 * glocaldirectorymonitor.c: Update all callers.
1283 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1285 2007-12-17 Alexander Larsson <alexl@redhat.com>
1288 Add doc comments about what GFile operations are
1289 guaranteed to not block.
1291 2007-12-17 Alexander Larsson <alexl@redhat.com>
1294 Add missing #ifdef fixing OSX build.
1295 (#503334, patch from Richard Hult)
1297 2007-12-14 David Zeuthen <davidz@redhat.com>
1301 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1302 (g_mount_eject), (g_mount_eject_finish):
1304 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1305 (get_volume_for_uuid), (get_mount_for_uuid),
1306 (g_union_volume_monitor_class_init),
1307 (get_default_native_type_with_exclude), (get_default_native_type),
1308 (get_native_type), (update_native_type),
1309 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1310 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1311 (g_unix_mount_can_eject), (eject_unmount_cb),
1312 (eject_unmount_read_error), (eject_unmount_do),
1313 (g_unix_mount_unmount), (g_unix_mount_eject),
1314 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1315 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1316 (g_unix_mount_point_guess_can_eject):
1318 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1319 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1320 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1321 (g_unix_volume_mount), (g_unix_volume_eject),
1322 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1323 * gunixvolumemonitor.c: (get_volume_for_uuid),
1324 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1326 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1327 (g_volume_eject), (g_volume_eject_finish):
1329 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1330 (g_volume_monitor_get_mount_for_uuid):
1333 Provide eject() on both GMount and GVolume and utility functions
1334 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1335 ejected. Introduce the concept of UUID's and wire it into GVolume
1336 and GMount and provide API on GVolumeMonitor to find such
1337 instances. Also handle the case where an external
1338 GNativeVolumeMonitor fails to initialize. Lock around the
1339 _g_get_mount_for_mount_path() function such that volume monitor
1340 implementations won't have to do locking themselves.
1342 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1344 * gdesktopappinfo.c:
1350 * gvolume.h: Documentation updates
1352 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1355 * gfile.h: Doc updates
1357 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1360 * gdesktopappinfo.c: Use hash table iterators.
1362 2007-12-14 Alexander Larsson <alexl@redhat.com>
1365 * gfileattribute.[ch]:
1366 * gfileattribute-priv.h:
1367 Move GFileAttributeValue to a private header, as
1371 Make set_attribute take a type + a pointer instead
1372 of a GFileAttributeValue.
1375 Fix up for above changes.
1376 Add g_file_info_get_attribute_data to get
1377 all info in one call, g_file_info_get_attribute_status
1378 to get the status and g_file_info_get_attribute_as_string.
1382 * glocalfileinfo.[ch]:
1386 Make _guess_type static.
1388 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1391 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1392 made mkenums and friends use temporary files to avoid leaving
1393 empty generated files on failure (#503470).
1395 2007-12-14 Alexander Larsson <alexl@redhat.com>
1397 * gmountoperation.h:
1400 2007-12-14 Alexander Larsson <alexl@redhat.com>
1404 * gfileattribute.[ch]:
1407 * glocalfileoutputstream.c:
1408 * gmountoperation.[ch]:
1409 * goutputstream.[ch]:
1410 Clean up all flags enums to not have _FLAGS in them
1411 Make the names of some of the enums better.
1416 2007-12-14 Michael Natterer <mitch@imendio.com>
1418 * gio.symbols: fix g_io_scheduler symbol names.
1420 2007-12-14 Alexander Larsson <alexl@redhat.com>
1426 * gbufferedinputstream.h:
1427 * gbufferedoutputstream.h:
1430 * gdatainputstream.h:
1431 * gdataoutputstream.h:
1432 * gdesktopappinfo.h:
1433 * gdirectorymonitor.h:
1437 * gfileenumerator.h:
1440 * gfileinputstream.h:
1442 * gfilenamecompleter.h:
1443 * gfileoutputstream.h:
1444 * gfilterinputstream.h:
1445 * gfilteroutputstream.h:
1453 * gmemoryinputstream.h:
1454 * gmemoryoutputstream.h:
1456 * gmountoperation.h:
1459 * gsimpleasyncresult.h:
1461 * gunixinputstream.h:
1463 * gunixoutputstream.h:
1467 * inotify/Makefile.am:
1468 Only allow including <gio/gio.h> from apps
1470 2007-12-14 Alexander Larsson <alexl@redhat.com>
1472 * gioscheduler.[ch]:
1473 * gsimpleasyncresult.c:
1474 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1475 Split out the send_to_mainloop call into two versions instead
1476 of having the block argument.
1478 2007-12-13 Alexander Larsson <alexl@redhat.com>
1480 * gcancellable.[ch]:
1482 * gbufferedinputstream.c:
1483 * gfileenumerator.c:
1484 * gfileinputstream.c:
1485 * gfileoutputstream.c:
1489 g_push/pop_current_cancellable ->
1490 g_cancellable_push/pop_current
1492 2007-12-13 Alexander Larsson <alexl@redhat.com>
1496 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1498 2007-12-13 Alexander Larsson <alexl@redhat.com>
1500 * gmountoperation.h:
1501 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1503 2007-12-12 Alexander Larsson <alexl@redhat.com>
1506 Fix race condition when freeing proxy in
1507 g_io_job_send_to_mainloop().
1509 2007-12-12 Alexander Larsson <alexl@redhat.com>
1515 Make attribute namespace separator "::" instead of ":".
1516 Use - instead of _ as separator in attribute names.
1518 2007-12-12 Alexander Larsson <alexl@redhat.com>
1520 * gbufferedinputstream.h:
1521 * gbufferedoutputstream.h:
1522 * gdatainputstream.h:
1523 * gdataoutputstream.h:
1524 * gdirectorymonitor.h:
1525 * gfileenumerator.h:
1526 * gfileinputstream.h:
1528 * gfileoutputstream.h:
1529 * gfilterinputstream.h:
1530 * gfilteroutputstream.h:
1532 * glocalfileinputstream.h:
1533 * glocalfileoutputstream.h:
1534 * gmemoryinputstream.h:
1535 * gmemoryoutputstream.h:
1536 * gnativevolumemonitor.h:
1538 * gunixinputstream.h:
1539 * gunixoutputstream.h:
1542 s/parent/parent_instance/ in GObjects
1544 2007-12-12 Alexander Larsson <alexl@redhat.com>
1549 No need for padding for interfaces
1551 2007-12-12 Alexander Larsson <alexl@redhat.com>
1555 * gbufferedinputstream.c:
1556 * gbufferedoutputstream.c:
1559 * gdatainputstream.[ch]:
1560 * gdesktopappinfo.c:
1561 * gdirectorymonitor.c:
1563 * gfileattribute.[ch]:
1566 * gfileinputstream.h:
1567 * gfilemonitor.[ch]:
1568 * gfileoutputstream.[ch]:
1569 * gfilterinputstream.h:
1570 * gfilteroutputstream.h:
1573 * gloadableicon.[ch]:
1574 * gmemoryinputstream.c:
1575 * gmountoperation.c:
1577 Fix up a bunch of details in the docs.
1582 2007-12-11 David Zeuthen <davidz@redhat.com>
1584 Rework how volumes, drives and volume monitoring is
1585 done. Previosly the model was
1587 GDrive <1-1> GVolume
1589 where a GDrive instance represented a mount point and a GVolume
1590 instance represented a mounted file system. This patch changes it
1593 GDrive <1-N> GVolume <1-1> GMount
1595 where GMount now serves the purpose of the old GVolume and the new
1596 GVolume serves the purpose of the old GDrive. In addition the new
1597 GDrive interface is used to represent a collection of GVolume
1598 instances (typically partitions) and also contains utility to query
1599 the state of the physical drive the GDrive object represents (such
1600 as checking for media, polling the drive, ejecting the media etc.).
1602 Also implement mounting and unmounting in the Unix volume monitor
1603 backend. A subquent patch will introduce GDrive support for ejection
1607 * gdrive.c: (g_drive_is_media_check_automatic),
1608 (g_drive_is_media_removable), (g_drive_has_media),
1609 (g_drive_can_poll_for_media), (g_drive_eject),
1610 (g_drive_eject_finish), (g_drive_poll_for_media),
1611 (g_drive_poll_for_media_finish):
1613 * gfile.c: (g_file_find_enclosing_mount):
1616 * glocaldirectorymonitor.c:
1617 (g_local_directory_monitor_constructor), (mounts_changed):
1618 * glocalfile.c: (get_mount_info),
1619 (g_local_file_find_enclosing_mount),
1620 (g_local_file_file_iface_init):
1621 * gnativevolumemonitor.h:
1622 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1623 (get_connected_drives), (g_union_volume_monitor_class_init),
1624 (child_volume_added), (child_volume_removed),
1625 (child_volume_changed), (child_mount_added), (child_mount_removed),
1626 (child_mount_pre_unmount), (child_mount_changed),
1627 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1628 (g_union_volume_monitor_remove_monitor),
1629 (_g_mount_get_for_mount_path):
1630 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1631 (guess_system_internal), (_g_get_unix_mounts),
1632 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1633 (g_unix_mount_free), (g_unix_mount_compare),
1634 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1635 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1636 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1637 (type_to_icon), (g_unix_mount_guess_name),
1638 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1639 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1640 (_resolve_symlink), (_resolve_dev_root):
1642 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1643 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1644 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1645 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1646 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1647 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1648 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1649 (g_unix_volume_volume_iface_init):
1651 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1652 (get_mounts), (get_volumes), (get_connected_drives),
1653 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1654 (mountpoints_changed), (mounts_changed),
1655 (g_unix_volume_monitor_init),
1656 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1657 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1658 * gunixvolumemonitor.h:
1659 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1660 (g_volume_mount), (g_volume_mount_finish):
1662 * gvolumemonitor.c: (g_volume_monitor_class_init),
1663 (g_volume_monitor_get_connected_drives),
1664 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1667 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1669 * gmountoperation.h (GPasswordFlags): Close the gap
1671 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1673 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1675 * gdesktopappinfo.[hc]: Remove _-prefixes
1677 2007-12-10 Tor Lillqvist <tml@novell.com>
1679 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1682 2007-12-10 Alexander Larsson <alexl@redhat.com>
1684 * gfile.c (g_file_set_display_name):
1685 Don't hardcode '/' (#502727)
1687 2007-12-09 Hans Breuer <hans@breuer.org>
1689 * makefile.msc : follow lib naming convention
1690 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1691 for user and group name, tested with ../tests/gio-ls
1693 2007-12-09 A. Walton <awalton@svn.gnome.org>
1695 * gdesktopappinfo.c:
1701 * gfileenumerator.c:
1706 * gmemoryinputstream.c:
1707 * gmemoryoutputstream.c:
1709 * gsimpleasyncresult.c:
1710 More documentation cleanup and filling in missing information, bringing
1711 GIO to 99% symbol coverage.
1713 2007-12-08 Hans Breuer <hans@breuer.org>
1715 [gio compiles and links on win32, not sure how much already works]
1716 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1717 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1718 base on win32 API; prefer g_lstat() over lstat(); instead of
1719 localtime_r() use an all GLib implementation on win32;
1720 get_mount_info() still needs a win32 specifc implementation
1721 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1722 win32_get_file_user_info to get owner/group info without uid/gid
1723 * glocalfileinputstream.c : include <io.h> on win32
1724 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1725 definition, use g_win32_ftruncate() for G_OS_WIN32
1726 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1727 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1728 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1729 * makefile.msc : updated
1731 2007-12-07 Alexander Larsson <alexl@redhat.com>
1733 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1734 Avoid warning spew if error == NULL
1736 2007-12-07 Alexander Larsson <alexl@redhat.com>
1739 Update docs wrt etags
1741 2007-12-06 Alexander Larsson <alexl@redhat.com>
1744 Include sys/types.h for dev_t (#501919)
1746 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1750 Make abicheck and pltcheck pass.
1752 2007-12-05 Alexander Larsson <alexl@redhat.com>
1755 * giomodule-priv.h: Added.
1756 * glocaldirectorymonitor.c:
1757 * glocalfilemonitor.c:
1758 * gunionvolumemonitor.c:
1760 Actually add the declaration of _g_io_modules_ensure_loaded
1762 2007-12-05 Alexander Larsson <alexl@redhat.com>
1764 * gdatainputstream.c:
1769 * glocaldirectorymonitor.c:
1770 * glocalfilemonitor.c:
1771 * gunionvolumemonitor.c:
1773 Make g_io_modules_ensure_loaded a private function and
1774 don't pass in the dirname. This means we can do magic
1775 directory finding in the win32 version.
1776 Export the actual load-modules-in-directory code so that
1777 gvfs can reuse that.
1779 2007-12-05 Alexander Larsson <alexl@redhat.com>
1781 * gbufferedinputstream.c:
1782 * gbufferedoutputstream.c:
1785 * gfileenumerator.[ch]:
1786 * gfileinputstream.c:
1787 * gfileoutputstream.[ch]:
1788 * gfilterinputstream.c:
1789 * gfilteroutputstream.c:
1790 * ginputstream.[ch]:
1792 * glocalfileenumerator.c:
1793 * glocalfileinputstream.c:
1794 * glocalfileoutputstream.c:
1795 * gmemoryinputstream.c:
1796 * gmemoryoutputstream.c:
1797 * goutputstream.[ch]:
1800 * gunixinputstream.c:
1801 * gunixoutputstream.c:
1802 Rename all struct members named:
1803 read, write, close, truncate, or mount
1804 to foo_fn, as these are reserved names
1805 and could be defined as macros in libc.
1808 2007-12-04 Alexander Larsson <alexl@redhat.com>
1811 (g_output_stream_close):
1812 Only call flush if non-null.
1814 2007-11-30 Dan Winship <danw@gnome.org>
1816 * ginputstream.c (g_input_stream_set_pending): Make this take a
1817 GError and return a gboolean, and do the "outstanding operation"
1818 check (and the "stream is already closed" check) itself.
1819 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1821 * goutputstream.c (g_output_stream_set_pending)
1822 (g_output_stream_clear_pending): Likewise
1824 * gbufferedinputstream.c:
1825 * gfileinputstream.c:
1826 * gfileoutputstream.c: Update for that
1828 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1829 Like g_simple_async_report_error_in_idle, but takes a GError
1830 rather than building one.
1832 2007-11-30 Dan Winship <danw@gnome.org>
1834 * goutputstream.c: Don't cheat and unset the "pending" flag around
1835 inner calls. Instead, call the class method directly rather than
1836 the wrapper function that checks "pending"
1838 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1840 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1842 2007-12-03 Hans Breuer <hans@breuer.org>
1844 [start of port to win32/msvc]
1845 * gcancellable.c : HAVE_UNIST_H and _pipe()
1846 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1847 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1848 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1850 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1851 * glocalvfs.c : use HAVE_PWD_H
1852 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1853 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1854 * Makefile.am : added to EXTRA_DIST
1856 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1858 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1861 2007-12-03 Alexander Larsson <alexl@redhat.com>
1864 Handle OSX style xattrs API (#500506)
1866 2007-12-03 Alexander Larsson <alexl@redhat.com>
1870 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1872 2007-12-02 A. Walton <awalton@svn.gnome.org>
1876 Documentation accuracy fixes.
1878 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1880 * gioenumtypes.c.template: Fix typo.
1882 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1884 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1886 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1888 * gdirectorymonitor.c:
1889 * gfilemonitor.c: Add properties
1891 * gbufferedoutputstream.c: Don't mark buffer-size property
1894 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1896 * gbufferedoutputstream.c: Add auto-grow property.
1898 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1900 * *.c: Unify the capitalization of section headings.
1902 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1904 * gmountoperation.c: Add properties
1906 * gdatainputstream.c: Turn byte-order and newline-type into
1909 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1911 * gioenumtypes.[hc].template: Templates for enum registration
1913 * Makefile.am: Generate gioenumtypes.[hc]
1915 * gio.h: Include gioenumtypes.h
1917 * gfile.h: Add some explicit nicks.
1919 * gio.symbols: Add new symbols
1921 * pltcheck.sh: Adjust
1923 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1925 * *.c: Explain etags and link to the explanation
1927 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1929 * *.c: Explain I/O priority.
1931 * *.c: More coding style fixes.
1933 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1935 * gasyncresult.c: Add another paragraph to the intro,
1936 adjust coding style of example.
1938 2007-11-29 A. Walton <awalton@svn.gnome.org>
1941 Fixes unknown meaning in GAppLaunchContext docs.
1943 Clarify asynchronous ops.
1945 Fix entity tag docs.
1948 Provides missing gtk-doc section, fixes API docs slighly.
1949 * gsimpleasyncresult.c:
1950 Fill in missing info in docs.
1951 * gunixinputstream.c:
1952 * gunixoutputstream.c:
1953 Be more expressive in short description.
1955 Remove gtk-doc stubs for non-public API.
1957 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1959 * *.c: Coding style fixups
1961 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1963 * inotify/inotify-helper.c: Don't export the lock from libgio.
1965 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1968 * abicheck.sh: Fix copy-and-paste leftovers
1970 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1972 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1974 2007-11-28 Alexander Larsson <alexl@redhat.com>
1978 Removed unnecessary file
1980 * gdesktopappinfo.[ch]:
1983 * glocaldirectorymonitor.[ch]:
1985 * glocalfileenumerator.[ch]:
1986 * glocalfileinputstream.[ch]:
1987 * glocalfilemonitor.[ch]:
1988 * glocalfileoutputstream.[ch]:
1990 * gnativevolumemonitor.c:
1991 * gpollfilemonitor.[ch]:
1992 * gunionvolumemonitor.[ch]:
1995 * gunixvolumemonitor.[ch]:
1998 * inotify/ginotifydirectorymonitor.[ch]:
1999 * inotify/ginotifyfilemonitor.[ch]:
2000 * inotify/inotify-helper.c:
2001 Append _ to all internal functions
2005 Export symbols needed for modules
2007 2007-11-28 Alexander Larsson <alexl@redhat.com>
2010 * abicheck.sh: Added.
2011 * makegioalias.pl: Added.
2012 * pltcheck.sh: Added.
2013 * gio.symbols: Added.
2016 Initial work on adding symbol handling.
2019 Correct ifdef guard name
2022 * inotify/Makefile.am:
2023 * xdgmime/Makefile.am:
2024 Include toplevel Makefile.decl
2026 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2028 * gcontenttype.c: Move doc comments to the unix section.
2030 * *.[hc]: More trivial doc corrections.
2032 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2034 * gpollfilemonitor.c:
2038 * gdesktopappinfo.c:
2043 * gdatainputstream.c:
2044 * gdatainputstream.h:
2045 * gdataoutputstream.c:
2046 * gdataoutputstream.h:
2047 * gfileinfo.h: Doc cleanups
2049 2007-11-28 Andre Klapper <a9016009@gmx.de>
2051 * gdesktopappinfo.c: Fix a typo.
2053 2007-11-27 Andre Klapper <a9016009@gmx.de>
2055 * glocalfileoutputstream.c: Fix a typo.
2057 2007-11-27 Alexander Larsson <alexl@redhat.com>
2060 Don't include removed headers
2062 2007-11-27 Alexander Larsson <alexl@redhat.com>
2065 * gsocketinputstream.[ch]: Removed.
2066 * gsocketoutputstream.[ch]: Removed.
2067 * gunixinputstream.[ch]: Added.
2068 * gunixoutputstream.[ch]: Added.
2069 Renamed GSocket*Stream to GUnix*Stream and made
2070 it unix-only, since its not really only for sockets
2071 and it only works on unix (but is highly useful there).
2073 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2079 * gbufferedinputstream.c:
2080 * gbufferedinputstream.h:
2081 * gbufferedoutputstream.c:
2082 * gbufferedoutputstream.h:
2086 * gdatainputstream.c:
2087 * gdatainputstream.h:
2088 * gdataoutputstream.c:
2089 * gdataoutputstream.h:
2090 * gdirectorymonitor.c:
2091 * gdirectorymonitor.h:
2098 * gfileenumerator.c:
2099 * gfileenumerator.h:
2104 * gfileinputstream.c:
2105 * gfileinputstream.h:
2108 * gfilenamecompleter.c:
2109 * gfilenamecompleter.h:
2110 * gfileoutputstream.c:
2111 * gfileoutputstream.h:
2112 * gfilterinputstream.c:
2113 * gfilterinputstream.h:
2114 * gfilteroutputstream.c:
2115 * gfilteroutputstream.h:
2128 * glocalfileoutputstream.c:
2129 * gmemoryinputstream.c:
2130 * gmemoryinputstream.h:
2131 * gmemoryoutputstream.c:
2132 * gmemoryoutputstream.h:
2133 * gmountoperation.c:
2134 * gmountoperation.h:
2137 * gpollfilemonitor.c:
2140 * gsimpleasyncresult.c:
2141 * gsimpleasyncresult.h:
2142 * gsocketinputstream.c:
2143 * gsocketinputstream.h:
2144 * gsocketoutputstream.c:
2145 * gsocketoutputstream.h:
2152 * gunixvolumemonitor.c:
2161 Bumps documentation to 93% symbol coverage, touching most
2162 of the public files. Fixes broken function documentation prototypes.
2163 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2164 gtk-doc headers in private files.
2166 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
2168 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2169 (g_buffered_input_stream_read_byte):
2170 * gbufferedinputstream.h:
2171 New functions for efficient access to buffer and simple single byte
2174 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2175 (g_data_input_stream_read_until):
2176 * gdatainputstream.h:
2177 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2178 read_until with multiple stop chars.
2180 2007-11-27 Alexander Larsson <alexl@redhat.com>
2184 * inotify/Makefile.am:
2185 Use the user-specified giomoduledir
2187 2007-11-27 Alexander Larsson <alexl@redhat.com>
2191 Add catch-all gio.h header
2192 Don't install gdummyfile.h
2194 2007-11-26 Alexander Larsson <alexl@redhat.com>
2196 * Makefile.am (gioinclude_HEADERS):
2197 Remove trailing whitespace
2199 2007-11-26 Alexander Larsson <alexl@redhat.com>
2201 Merge gio-standalone into glib
2203 2007-11-25 Christian Kellner <gicmo@gnome.org>
2205 * gio/goutputstream.c:
2206 Fix small mistake in the docs.
2208 2007-11-21 Christian Persch <chpe@gnome.org>
2210 * gio/glocalfile.c: (g_local_file_trash):
2211 Convert filenames to UTF-8 for GError.
2212 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2213 as per xdg base dir spec.
2215 2007-11-21 Christian Persch <chpe@gnome.org>
2217 * gio/gdesktopappinfo.c:
2218 Use that g_key_file_to_data cannot fail.
2220 Use stock defines for the key file group and key names.
2223 2007-11-21 Alexander Larsson <alexl@redhat.com>
2226 (copy_stream_with_progress):
2227 Make sure we do a final progress callback with
2228 the full total size.
2230 2007-11-21 Alexander Larsson <alexl@redhat.com>
2233 Export g_file_copy_attributes
2234 Remove padding as its not needed for interfaces
2236 2007-11-20 Alexander Larsson <alexl@redhat.com>
2241 Add G_IO_ERROR_WOULD_MERGE for
2242 copy/move dir on dir with overwrite.
2244 2007-11-20 Alexander Larsson <alexl@redhat.com>
2247 * gio/glocalfileinfo.c:
2248 Add COPY_NAME (this is an optional
2249 non-modified utf8 version of the name) that
2252 2007-11-20 Alexander Larsson <alexl@redhat.com>
2254 * gio/glocalfileenumerator.c:
2255 Report errors as GIOError, not GFileError
2257 2007-11-16 Alexander Larsson <alexl@redhat.com>
2259 * gio/glocalfileoutputstream.c:
2260 * gio/gwin32appinfo.c:
2261 Fix typos in strings.
2262 Patch from Luca Ferretti <elle.uca@libero.it>
2264 2007-11-15 Alexander Larsson <alexl@redhat.com>
2267 Post release version bump
2269 === gio-standalone 0.1.2 ===
2271 2007-11-15 Alexander Larsson <alexl@redhat.com>
2273 * docs/reference/gio/Makefile.am:
2274 Fix up distcheck by removing weird
2280 2007-11-14 Alexander Larsson <alexl@redhat.com>
2282 * gio/gdesktopappinfo.c:
2283 * gio/glocaldirectorymonitor.c:
2285 * gio/glocalfileinfo.c:
2286 * gio/inotify/inotify-sub.c:
2287 * programs/gio-cat.c:
2288 * programs/gio-copy.c:
2289 * programs/gio-info.c:
2290 * programs/gio-ls.c:
2291 * programs/gio-monitor-dir.c:
2292 * programs/gio-monitor-file.c:
2293 * programs/gio-mount.c:
2294 * programs/gio-move.c:
2295 * programs/gio-rm.c:
2296 * programs/gio-save.c:
2297 * programs/gio-trash.c:
2298 Leak fixes from Kjartan Maraas
2300 2007-11-14 Alexander Larsson <alexl@redhat.com>
2302 * gio/fam/fam-helper.c:
2304 * gio/glocalfileinfo.c:
2308 * gio/inotify/inotify-diag.c:
2309 * gio/inotify/inotify-kernel.c:
2310 Various code cleanups from Kjartan Maraas
2312 2007-11-14 Alexander Larsson <alexl@redhat.com>
2314 * gio/gioscheduler.c:
2316 Set up threadpool so that we cache 2 unused
2317 idle threads for at 15 secs. This means we
2318 will reuse thread-local data (like dbus connections)
2321 2007-11-14 Alexander Larsson <alexl@redhat.com>
2323 * gio/fam/fam-helper.c:
2324 * gio/fam/gfamdirectorymonitor.c:
2325 * gio/fam/gfamfilemonitor.c:
2327 * gio/gcontenttype.c:
2328 * gio/gdatainputstream.c:
2329 * gio/gdataoutputstream.c:
2333 * gio/gfileattribute.h:
2334 * gio/gfileenumerator.c:
2336 * gio/ginputstream.c:
2339 * gio/glocalfileinfo.c:
2340 * gio/goutputstream.c:
2341 * gio/gpollfilemonitor.c:
2342 * gio/gsimpleasyncresult.c:
2343 * gio/gunixmounts.c:
2344 * gio/gunixmounts.h:
2345 * gio/inotify/ginotifydirectorymonitor.c:
2346 * gio/inotify/ginotifyfilemonitor.c:
2347 * gio/inotify/inotify-diag.c:
2348 * gio/inotify/inotify-kernel.c:
2349 * gio/inotify/inotify-path.c:
2351 * gio/test-streams.c:
2352 * programs/gio-info.c:
2353 * programs/gio-monitor-dir.c:
2354 * programs/gio-monitor-file.c:
2355 Various code cleanups from Kjartan Maraas
2357 2007-11-13 Alexander Larsson <alexl@redhat.com>
2360 Handle the uri-scheme calls for dummy files
2362 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2364 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2365 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2366 to avoid clash with the C++ keyword.
2368 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2370 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2371 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2373 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2375 * gio/glocaldirectorymonitor.c:
2376 * gio/glocalfilemonitor.c:
2377 * gio/gunionvolumemonitor.c:
2378 Don't use g_once_init_*() for initializations that could fail and
2379 could leave the initialization variable set to 0 but use GOnce.
2380 This prevents a deadlock on the second call when trying to create
2381 a monitor and no monitor type is available. Thanks to Sven Herzberg
2384 2007-11-11 Sven Herzberg <sven@imendio.com>
2386 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2387 #ifdef (make it work on MacOS X again)
2389 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2391 Fixes Changelog for last two commits (sorry guys).
2393 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2395 * gio/gbufferedinputstream.c:
2396 * gio/gdatainputstream.c:
2398 * gio/gfileoutputstream.c:
2399 * gio/gfilterinputstream.c:
2400 * gio/glocalfileinputstream.c:
2403 More consistency fixes in g*stream.c files.
2404 Significant clean of gfile's documentation, filling in of
2405 asynchronous operations documentation.
2407 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2409 * gio/gasyncresult.c:
2410 * gio/gbufferedinputstream.c:
2411 * gio/gbufferedoutputstream.c:
2412 * gio/gcancellable.c:
2413 * gio/gcontenttype.c:
2414 * gio/gdatainputstream.c:
2415 * gio/gdataoutputstream.c:
2416 * gio/gdesktopappinfo.c:
2419 * gio/gfileattribute.c:
2420 * gio/gio/gfileenumerator.c:
2422 * gio/gfileinputstream.c:
2423 * gio/gfilemonitor.c:
2424 * gio/gfileoutputstream.c:
2425 * gio/ginputstream.c:
2427 * gio/gioscheduler.c:
2428 * gio/gloadableicon.c:
2429 * gio/glocalfileoutputstream.c:
2430 * gio/gmemoryoutputstream.c:
2431 * gio/gmountoperation.c:
2432 * gio/goutputstream.c:
2434 * gio/gsimpleasyncresult.c:
2435 * gio/gunionvolumemonitor.c:
2436 * gio/gunixmounts.c:
2437 * gio/gunixvolume.c:
2441 * gio/gvolumemonitor.c:
2442 Updated documentation stubs, working towards consistency and
2445 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2447 * gio/gmemoryoutputstream.c:
2448 * gio/gmemoryoutputstream.h:
2449 Change g_memory_output_stream_set_free_on_close() to
2450 g_memory_output_stream_set_free_data() as this makes more sense and
2451 is more consistent with GMemoryInputStream.
2453 2007-11-07 Alexander Larsson <alexl@redhat.com>
2460 Change how we find the default vfs so that
2461 we can handle a gvfs failing to init
2463 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2465 * gio/gbufferedoutputstream.c:
2466 * gio/gdatainputstream.c:
2467 * gio/gdataoutputstream.c:
2468 * gio/gfileinputstream.c:
2469 * gio/gfileoutputstream.c:
2470 * gio/gfilterinputstream.c:
2471 * gio/gfilteroutputstream.c:
2472 * gio/ginputstream.c:
2473 * gio/gmemoryinputstream.c:
2474 * gio/gmemoryoutputstream.c:
2475 * gio/goutputstream.c:
2476 * gio/gsimpleasyncresult.c:
2477 * gio/gsocketinputstream.c:
2478 * gio/gsocketoutputstream.c:
2479 Add guards to the remaining public functions, add a TODO for
2480 an unimplemented function and remove some useless guards.
2482 2007-11-07 Alexander Larsson <alexl@redhat.com>
2485 Autoconf checks for the various types of
2486 getpwuid_r and getgrgid_r
2488 * gio/glocalfileinfo.c:
2489 Use the autoconf checks from above
2491 2007-11-07 Alexander Larsson <alexl@redhat.com>
2494 (g_local_file_query_filesystem_info):
2495 Some fixes for the statvfs case
2497 2007-11-07 Alexander Larsson <alexl@redhat.com>
2500 (g_local_file_query_filesystem_info):
2501 Pick the "best" of statfs / statvfs for the system
2502 if both are availible.
2504 2007-11-07 Alexander Larsson <alexl@redhat.com>
2506 Solaris fixes from Halton.Huo@Sun.COM:
2513 * gio/glocalfileinfo.c:
2514 Fix for solaris definition of getpwuid_r
2516 * gio/test-streams.c:
2517 Use G_GNUC_PRETTY_FUNCTION
2519 2007-11-07 Alexander Larsson <alexl@redhat.com>
2521 * gio/gdesktopappinfo.c:
2522 (update_default_list):
2523 Remove double semicolon.
2524 Patch from Jens Granseuer
2526 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2528 * docs/reference/gio/gio-sections.txt:
2529 * gio/gbufferedinputstream.c:
2530 * gio/gbufferedinputstream.h:
2531 * gio/gdatainputstream.c:
2532 * gio/gfileenumerator.c:
2533 * gio/gioscheduler.c:
2534 * gio/gunionvolumemonitor.c:
2536 * programs/gio-save.c:
2537 Fix typo: availible -> available. Unfortuntely this breaks API
2538 and ABI as g_buffered_input_stream_get_available() was renamed.
2540 * gio/gunixmounts.c:
2541 * gio/gbufferedinputstream.c:
2542 Add guards for public functions.
2544 2007-11-06 Ross Burton <ross@openedhand.com>
2546 * docs/reference/gio/Makefile.am:
2547 Fix invalid += usage which automake 1.10 doesn't like.
2549 2007-11-06 Alexander Larsson <alexl@redhat.com>
2552 (g_app_launch_context_class_init):
2555 Patch from Ross Burton
2557 2007-11-06 Alexander Larsson <alexl@redhat.com>
2560 Post release version bump
2562 === gio-standalone 0.1.1 ===
2564 2007-11-06 Alexander Larsson <alexl@redhat.com>
2567 Bump version to 0.1.1
2569 * gio/gsimpleasyncresult.c:
2570 (g_simple_async_result_set_from_error):
2571 Remove bogus g_return_if_fail
2573 2007-11-06 Alexander Larsson <alexl@redhat.com>
2576 The name is gio-standalone
2579 Add top src/builddir to includedir
2581 2007-11-06 Alexander Larsson <alexl@redhat.com>
2583 * docs/reference/gio/gio-sections.txt:
2585 * gio/gbufferedinputstream.c:
2586 * gio/gbufferedoutputstream.c:
2587 * gio/gcancellable.c:
2588 * gio/gdatainputstream.h:
2589 * gio/gdataoutputstream.c:
2590 * gio/gdataoutputstream.h:
2591 * gio/gdirectorymonitor.c:
2593 * gio/gfileattribute.c:
2594 * gio/gfileattribute.h:
2595 * gio/gfileenumerator.c:
2596 * gio/gfileenumerator.h:
2599 * gio/gfileinputstream.h:
2600 * gio/gfilemonitor.c:
2601 * gio/gfileoutputstream.h:
2602 * gio/glocalfilemonitor.h:
2603 * gio/glocalfileoutputstream.h:
2604 * gio/gmemoryinputstream.c:
2605 * gio/gmemoryoutputstream.c:
2606 * gio/gmountoperation.c:
2607 * gio/goutputstream.c:
2608 * gio/goutputstream.h:
2610 * gio/gsimpleasyncresult.c:
2611 * gio/gunixmounts.c:
2612 * gio/gunixmounts.h:
2614 * gio/inotify/inotify-helper.c:
2615 Fix gtk-doc warnings
2617 Patch from Ross Burton
2619 2007-11-06 Alexander Larsson <alexl@redhat.com>
2621 * gio/gfilenamecompleter.c:
2622 (g_filename_completer_get_completions):
2625 * gio/gunixvolume.c:
2626 Remove unused function
2628 Patches from Ross Burton
2630 2007-11-06 Alexander Larsson <alexl@redhat.com>
2635 Padding not needed for interfaces
2637 2007-11-06 Alexander Larsson <alexl@redhat.com>
2639 * gio/gfilemonitor.c:
2643 Make giotypes.h an internal file
2646 * gio/gbufferedinputstream.h:
2647 * gio/gbufferedoutputstream.h:
2648 * gio/gcancellable.h:
2649 * gio/gdatainputstream.h:
2650 * gio/gdataoutputstream.h:
2651 * gio/gdirectorymonitor.c:
2652 * gio/gdirectorymonitor.h:
2657 * gio/gfileattribute.h:
2658 * gio/gfileenumerator.h:
2663 * gio/gfilemonitor.c:
2664 * gio/gfilemonitor.h:
2665 * gio/gfilenamecompleter.c:
2666 * gio/gfilenamecompleter.h:
2667 * gio/gfilterinputstream.h:
2668 * gio/gfilteroutputstream.h:
2669 * gio/ginputstream.h:
2670 * gio/gmemoryinputstream.h:
2671 * gio/gmemoryoutputstream.h:
2672 * gio/gmountoperation.c:
2673 * gio/gmountoperation.h:
2674 * gio/gnativevolumemonitor.c:
2675 * gio/goutputstream.h:
2678 * gio/gsimpleasyncresult.c:
2679 * gio/gsimpleasyncresult.h:
2680 * gio/gsocketinputstream.h:
2681 * gio/gsocketoutputstream.h:
2682 * gio/gthemedicon.c:
2683 * gio/gthemedicon.h:
2687 * gio/gvolumemonitor.c:
2688 * gio/gvolumemonitor.h:
2689 Add padding in classes where it seems useful
2690 Don't include giotypes.h from public headers
2691 Move in Class definitions into c file where possible
2696 2007-11-06 Alexander Larsson <alexl@redhat.com>
2698 * docs/reference/gio/gio-docs.xml:
2699 Better structure for API docs
2701 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2704 * gio/gloadableicon.c:
2705 * gio/gsimpleasyncresult.c:
2706 * gio/gthemedicon.c:
2707 Add some more guards to public functions. Only files missing are now
2710 2007-11-06 Alexander Larsson <alexl@redhat.com>
2712 * docs/reference/gio/gio-docs.xml:
2713 Remove old files, add missing ones
2715 2007-11-06 Alexander Larsson <alexl@redhat.com>
2717 * docs/reference/gio/gio-sections.txt:
2720 Hide implementation classes
2722 * gio/gdriveprivate.h:
2723 * gio/gvolumeprivate.h:
2724 Remove non-existing function declarations
2726 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2729 Fix compilation warnings and add guards to the new functions.
2731 * gio/gasyncresult.c:
2733 Add guards to the public functions.
2736 Implement get_path().
2738 2007-11-06 Alexander Larsson <alexl@redhat.com>
2740 * gio/gfilenamecompleter.c:
2741 Make g_filename_completer_get_completions
2742 return char ** instead of GList for
2745 * docs/reference/gio/gio-docs.xml:
2746 * docs/reference/gio/gio-sections.txt:
2748 * gio/gasyncresult.c:
2749 * gio/gbufferedinputstream.c:
2750 * gio/gbufferedoutputstream.c:
2751 * gio/gcancellable.c:
2752 * gio/gcontenttype.c:
2753 * gio/gdatainputstream.c:
2754 * gio/gdataoutputstream.c:
2755 * gio/gdesktopappinfo.c:
2756 * gio/gdirectorymonitor.c:
2760 * gio/gfileattribute.c:
2761 * gio/gfileenumerator.c:
2764 * gio/gfileinputstream.c:
2765 * gio/gfilemonitor.c:
2766 * gio/gfilenamecompleter.c:
2767 * gio/gfilenamecompleter.h:
2768 * gio/gfileoutputstream.c:
2769 * gio/gfilterinputstream.c:
2771 * gio/ginputstream.c:
2773 * gio/gioscheduler.c:
2774 * gio/gloadableicon.c:
2775 * gio/glocaldirectorymonitor.c:
2777 * gio/glocalfileinputstream.c:
2778 * gio/glocalfilemonitor.c:
2779 * gio/glocalfileoutputstream.c:
2781 * gio/gmemoryinputstream.c:
2782 * gio/gmemoryoutputstream.c:
2783 * gio/gmountoperation.c:
2784 * gio/goutputstream.c:
2785 * gio/gpollfilemonitor.c:
2787 * gio/gsimpleasyncresult.c:
2788 * gio/gsocketinputstream.c:
2789 * gio/gsocketoutputstream.c:
2790 * gio/gthemedicon.c:
2791 * gio/gunionvolumemonitor.c:
2793 * gio/gunixmounts.c:
2794 * gio/gunixvolume.c:
2795 * gio/gunixvolumemonitor.c:
2799 * gio/gvolumemonitor.c:
2800 * gio/gwin32appinfo.c:
2801 Add (mostly stub) doc strings to public functions.
2802 Patch from Andrew Walton (awalton@gmail.com)
2804 2007-11-06 Alexander Larsson <alexl@redhat.com>
2806 * gio/gappinfo.[ch]:
2807 Added GAppLaunchContext object and pass that to launch.
2808 This allows simple implementation of both
2809 launch-on-screen and startup notification via a gtk+
2810 subclass of GAppLaunchContext
2812 * gio/gdesktopappinfo.c:
2813 Implement GAppLaunchContext API
2815 * gio/gwin32appinfo.c:
2818 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2820 * gio/gmountoperation.c:
2821 Add some guards to GMountOperation's public functions.
2823 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2827 * gio/gcancellable.c:
2828 * gio/gdirectorymonitor.c:
2830 * gio/gfileenumerator.c:
2831 * gio/gfilemonitor.c:,
2832 * gio/gfilenamecompleter.c:
2835 * gio/gioscheduler.c:
2839 * gio/gvolumemonitor.c:
2840 Add even more guards to various public functions.
2842 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2845 Add guards to the public functions of GAppInfo.
2847 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2849 * gio/gcontenttype.c:
2850 Add some more guards for public functions.
2852 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2854 * gio/fam/fam-module.c:
2855 * gio/fam/gfamdirectorymonitor.c:
2856 * gio/fam/gfamdirectorymonitor.h:
2857 * gio/fam/gfamfilemonitor.c:
2858 * gio/fam/gfamfilemonitor.h:
2859 * gio/inotify/ginotifydirectorymonitor.c:
2860 * gio/inotify/ginotifydirectorymonitor.h:
2861 * gio/inotify/ginotifyfilemonitor.c:
2862 * gio/inotify/ginotifyfilemonitor.h:
2863 Add proper copyright information and remove an unused variable
2864 in the GInotifyFileMonitor constructor.
2866 * gio/gcancellable.c:
2867 Add a guard for a public function and an assertion to prevent
2868 an undefined program state.
2870 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2872 * gio/gfileattribute.c:
2873 Don't run into an assertion if the given attribute value is NULL
2874 in g_file_attribute_value_get_*() but instead return a fallback
2875 value that makes sense in most situations. Passing them a attribute
2876 value with the wrong type will still run into an assertion.
2878 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2880 * gio/gfileattribute.c:
2882 Add even more guards to the public functions. Also fix the refcounting
2883 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2884 let g_file_info_list_attributes() filter the attributes by namespace
2885 instead of simply ignoring the namespace parameter.
2887 2007-11-03 Sven Herzberg <sven@imendio.com>
2889 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2890 (This makes gio work on MacOS X again)
2892 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2895 Build the gio subdirectory before the docs. Otherwise the build will
2898 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2899 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2900 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2901 Add guards to the public functions.
2903 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2905 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2906 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2907 to prevent a compiler warning.
2909 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2910 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2911 return something in the non-void function find_topdir_for().
2913 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2920 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2922 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2923 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2924 * gwin32appinfo.c (g_win32_app_info_launch):
2925 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2926 envp_for_startup_id, g_desktop_app_info_launch,
2927 g_desktop_app_info_launch_uris):
2929 Give an opaque 'startup_id' string instead of 'envp'.
2930 Support empty file lists for launching new windows.
2931 Fix infinite recursion bug when launching URIs.
2933 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2936 Add guard to the new g_file_get_uri_scheme() function.
2938 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2941 Convert a g_return_val_if_fail() to setting the GError instead as
2942 otherwise applications have to verify the parameter before otherwise
2943 and the parameter might come directly from the user.
2945 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2947 * gio/inotify/ginotify*.[ch]:
2948 Add missing copyright information.
2950 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2953 Add guards in the beginning of public functions to check for valid
2954 parameters and fix a bug in copy_stream_with_progress() that could've
2955 caused writing less bytes than reading.
2956 * gio/glocalfileinfo.c:
2957 Check for a NULL parameter and set the GError accordingly then.
2958 * gio/goutputstream.c:
2959 Fix the same bug as in gfile.c that could've caused writing less bytes
2960 than reading in g_output_stream_real_splice().
2962 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2965 Use the correct gvolumeprivate.h naming
2967 2007-11-01 Christian Kellner <gicmo@gnome.org>
2970 Remove leftover "$(daemon_sources)" entry.
2972 2007-11-01 Christian Kellner <gicmo@gnome.org>
2977 Add copyright information to source files.
2979 2007-11-01 Alexander Larsson <alexl@redhat.com>
2983 Add g_file_get_uri_scheme
2985 2007-11-01 Alexander Larsson <alexl@redhat.com>
2988 * gio/gdesktopappinfo.c:
2989 * gio/gwin32appinfo.c:
2990 Add g_app_info_get_default_for_uri_scheme.
2992 2007-11-01 Alexander Larsson <alexl@redhat.com>
2995 Correct filename for gdriveprivate.h
2997 2007-10-31 Alexander Larsson <alexl@redhat.com>
3000 Rename id:value to id:file
3003 * gio/glocalfileinfo.c:
3006 2007-10-31 Alexander Larsson <alexl@redhat.com>
3008 * gio/gunixvolume.c:
3010 Remove g_volume_get_platform_id, as thats not
3011 needed with the simpler union volume monitor
3013 2007-10-31 Alexander Larsson <alexl@redhat.com>
3016 * gio/guniondrive.[ch]: Removed.
3017 * gio/gunionvolume.[ch]: Removed.
3018 Remove GUnionDrive/Volume
3020 * gio/gunionvolumemonitor.c:
3021 Simplify union volume monitor, now we
3022 only have one native volume monitor and
3023 we use the actual volumes/drives from the
3024 child monitors instead of wrapping them
3026 * gio/gnativevolumemonitor.[ch]:
3027 Base class for native volume monitors.
3028 Includes priority and get_volume_for_mountpoint
3031 Add g_file_find_enclosing_volume
3034 Remove volume name fs attribute
3035 Add readonly fs attribute
3038 Implement readonly attribute
3039 remove volume name attribute
3040 Implement find_enclosing volume
3042 * gio/gunixmounts.c:
3043 Add a volume for "/".
3045 * gio/gunixvolume.[ch]:
3046 Set better name for /
3048 * gio/gunixvolumemonitor.[ch]:
3049 Derive from GNativeVolumeMonitor
3050 Implement get_volume_for_mountpoint
3053 GVolume typedef moved to gfile.h
3055 * gio/gvolumeprivate.h:
3056 Add g_volume_get_for_mount_path
3058 2007-10-31 Alexander Larsson <alexl@redhat.com>
3060 * gio/gunixmounts.[ch]:
3061 Add cache info to unix mount listers
3062 Make getmntent use threadsafe
3063 Add is_system_internal attribute for GUnixMount
3065 * gio/gunixvolume.c:
3066 (g_unix_volume_new):
3067 Use is_system_internal instead of own code
3069 * gio/glocaldirectorymonitor.c:
3070 * gio/gunixvolumemonitor.c:
3071 Update to new gunixmounts API
3076 2007-10-30 Alexander Larsson <alexl@redhat.com>
3079 Add volume name fsinfo attribute
3082 Read volume name info
3084 * gio/gunionvolumemonitor.c:
3085 Fix infinite loops when finalizing a union volume monitor
3087 2007-10-30 Alexander Larsson <alexl@redhat.com>
3089 * gio/goutputstream.[ch]:
3090 Add splice() with default implementation
3092 * gio/gsocketoutputstream.c:
3093 (g_socket_output_stream_write):
3094 Return error on cancellation correctly.
3096 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3098 * gio/glocalfile.c (g_local_file_trash):
3099 Do not leak a string.
3101 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3103 * gio/gfile.c (g_file_load_contents):
3104 Unref the stream after closing it.
3106 2007-10-25 Alexander Larsson <alexl@redhat.com>
3108 * gio/gioscheduler.h:
3111 2007-10-25 Alexander Larsson <alexl@redhat.com>
3115 Add g_file_has_uri_scheme and implement for local files
3117 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3119 * gio/gdesktopappinfo.c: do not leak a string.
3121 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3123 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3124 (g_local_directory_monitor_new):
3125 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3126 (g_local_file_monitor_new):
3127 Only look for the monitor type that should be used the first time
3128 and use g_qsort_with_data() instead of our own bubble sort
3131 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3134 * gio/fam/Makefile.am:
3135 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3136 * gio/fam/fam-helper.h:
3137 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3138 * gio/fam/gfamdirectorymonitor.c:
3139 * gio/fam/gfamdirectorymonitor.h:
3140 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3141 * gio/fam/gfamfilemonitor.h:
3142 * gio/glocaldirectorymonitor.c:
3143 * gio/glocaldirectorymonitor.h:
3144 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3145 * gio/glocalfilemonitor.h:
3146 * gio/inotify/Makefile.am:
3147 * gio/inotify/ginotifydirectorymonitor.c:
3148 * gio/inotify/ginotifydirectorymonitor.h:
3149 * gio/inotify/ginotifyfilemonitor.c:
3150 * gio/inotify/ginotifyfilemonitor.h:
3151 Implement the FAM and Inotify monitors as
3152 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3153 their own GIO module. GLocal(Directory|File)Monitor will use the
3154 monitor with the highest rank that is supported on that machine.
3156 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3159 Change GIO module dir to $(libdir)/gio/modules and change
3160 the log domain from GVFS to GIO. Also only export symbols starting
3161 with g_ in the resulting library.
3162 * gio/test-streams.c: (main):
3163 Set log handler for the GIO log domain.
3165 2007-10-22 Alexander Larsson <alexl@redhat.com>
3167 * gio/gfilenamecompleter.[ch]:
3168 Add g_filename_completer_set_dirs_only
3170 2007-10-22 Alexander Larsson <alexl@redhat.com>
3173 * gio/gurifuncs.[ch]:
3174 Add some simple URI helpers
3176 * gio/gfilenamecompleter.[ch]:
3177 Added object for filename (parse name actually) completion
3180 Handle ~ in parse names
3182 2007-10-17 Alexander Larsson <alexl@redhat.com>
3185 * gio/glocalfileinfo.c:
3186 Add and implement id:value attribute
3188 2007-10-17 Alexander Larsson <alexl@redhat.com>
3191 * gio/guniondrive.c:
3193 Add and implement g_drive_has_volumes
3195 2007-10-17 Alexander Larsson <alexl@redhat.com>
3198 * gio/glocalfileinfo.[ch]:
3199 Add unix:is_mountpoint and implement for local files
3201 2007-10-16 Alexander Larsson <alexl@redhat.com>
3203 * gio/gunionvolumemonitor.c:
3204 (g_union_volume_monitor_init):
3205 Fix up the unix type getting so that it works with gcc
3207 2007-10-12 Alexander Larsson <alexl@redhat.com>
3210 * gio/glocalfileinfo.c:
3211 Add thumbnail:failed to file info
3213 2007-10-12 Richard Hult <richard@imendio.com>
3215 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3216 optimizing away the get_type call (happens with some gcc versions,
3217 like the one shipped with OS X 10.4).
3219 2007-10-12 Alexander Larsson <alexl@redhat.com>
3221 * gio/glocalfileinfo.c:
3222 (_g_local_file_info_set_attribute):
3223 Fix build if not HAVE_XATTR
3224 Patch from Milosz Derezynski <internalerror@gmail.com>
3226 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3228 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3229 around for review, otherwise I would have asked you before
3232 2007-10-11 Alexander Larsson <alexl@redhat.com>
3235 Add thumbnail:path attribute
3237 * gio/glocalfileinfo.c:
3238 Implement thumbnail:path for local files
3240 2007-10-11 Alexander Larsson <alexl@redhat.com>
3242 * gio/glocalfileinfo.c:
3243 (_g_local_file_info_get):
3244 Avoid duplicate icon names
3246 2007-10-11 Alexander Larsson <alexl@redhat.com>
3248 * gio/gthemedicon.[ch]:
3249 Change g_themed_icon_get_names return type to const
3251 2007-10-10 Alexander Larsson <alexl@redhat.com>
3253 * gio/glocalfileinfo.c:
3254 Don't reference freed memory
3256 2007-10-10 Alexander Larsson <alexl@redhat.com>
3258 * gio/gfileattribute.c:
3261 * gio/glocalfileinfo.c:
3264 2007-10-10 Alexander Larsson <alexl@redhat.com>
3267 Check for NULL icons
3269 * gio/gfileattribute.c:
3270 Don't dup when getting objects (same as for string attributes)
3272 * gio/gicon.c (g_icon_equal):
3273 Safely handle NULLs in equal
3275 2007-10-10 Alexander Larsson <alexl@redhat.com>
3278 Fix c++ compilation issues
3279 Patch from Milosz Derezynski <internalerror@gmail.com>
3281 2007-10-10 Alexander Larsson <alexl@redhat.com>
3283 * programs/gio-monitor-dir.c:
3284 Don't crash if dir monitor not supported.
3286 2007-10-09 Alexander Larsson <alexl@redhat.com>
3289 Add missing G_END_DECLS
3291 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3293 * gio/gfile.c: (g_file_set_display_name),
3294 (g_file_query_settable_attributes),
3295 (g_file_query_writable_namespaces):
3296 Return NULL not FALSE on errors as the return type is a pointer.
3298 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3300 * gio/glocalfile.c: (g_local_file_monitor_file):
3301 Don't call monitor_file on the default interface vtable (which
3302 is NULL) but simply return NULL. The caller, GFile, will create a
3303 polling monitor if NULL is returned.
3305 2007-10-09 Alexander Larsson <alexl@redhat.com>
3309 * gio-unix-2.0.pc.in:
3310 Add gio-unix-2.0.pc if OS_UNIX
3313 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3315 2007-10-09 Alexander Larsson <alexl@redhat.com>
3317 * gio/gunixmounts.[ch]:
3318 Make unix mount monitoring API sane.
3319 Now its just a object with mounts_changed
3320 and mountpoints_changed signals.
3322 * gio/glocaldirectorymonitor.c:
3323 * gio/gunixvolumemonitor.c:
3324 Use new mount monitor api
3326 2007-10-09 Alexander Larsson <alexl@redhat.com>
3328 * gio/gunixmounts.[ch]:
3329 Move guess type into one call for mounts and one for mountpoints
3332 * gio/gunixvolume.c:
3335 2007-10-09 Alexander Larsson <alexl@redhat.com>
3337 * gio/gunixmounts.[ch]:
3338 Remove _ prefix in preparation to make this semi-public
3339 Hide implementation of structs
3341 * gio/glocaldirectorymonitor.c:
3343 * gio/gunixvolume.c:
3344 * gio/gunixvolumemonitor.c:
3345 Update for above API changes
3347 2007-10-08 Alexander Larsson <alexl@redhat.com>
3350 Better polling fallback. This also handles the case where we have
3351 a monitor_file implementation, but it fails.
3353 2007-10-08 Alexander Larsson <alexl@redhat.com>
3357 * gio/gunixmounts.c:
3358 * programs/gio-monitor-dir.c:
3359 * programs/gio-monitor-file.c:
3360 Added cancellable to file monitoring calls.
3361 These are really sync calls and need this.
3363 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3365 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3366 (g_local_vfs_class_init):
3367 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3368 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3370 2007-10-05 Alexander Larsson <alexl@redhat.com>
3372 * gio/gdirectorymonitorprivate.h:
3373 * gio/gfilemonitorprivate.h:
3374 * gio/gdirectorymonitor.h:
3375 * gio/gfilemonitor.h:
3376 Remove *private.h and move to the public API, so that
3377 we can do implementations outside gio (such as in gvfs)
3379 * gio/gdirectorymonitor.c:
3380 * gio/gfilemonitor.c:
3381 * gio/glocaldirectorymonitor.c:
3382 * gio/gpollfilemonitor.c:
3383 * gio/inotify/inotify-helper.c:
3384 * gio/fam/fam-helper.c:
3385 Update to the new header names
3387 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3389 * gio/gdirectorymonitor.c:
3390 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3393 2007-10-04 Alexander Larsson <alexl@redhat.com>
3395 * gio/glocalfileinfo.c (get_access_rights):
3396 Set CAN_TRASH when we can move the file.
3397 We should really also check for a parent trash dir.
3399 2007-10-04 Alexander Larsson <alexl@redhat.com>
3401 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3402 Add can_trash access attribute
3404 2007-10-04 Alexander Larsson <alexl@redhat.com>
3407 (g_local_file_trash):
3408 Create info file first. This is per-spec and allows
3409 us to actually trash directories.
3411 2007-10-02 Alexander Larsson <alexl@redhat.com>
3413 * gio/gdesktopappinfo.c:
3414 Implement the new mime support code.
3415 Always set app as handling mimetype when being set as default for it
3417 2007-10-01 Alexander Larsson <alexl@redhat.com>
3419 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3420 Fix up check for xattrs:
3422 2007-10-01 Alexander Larsson <alexl@redhat.com>
3425 (g_app_info_set_as_default_for_extension):
3426 (g_app_info_add_supports_type):
3427 (g_app_info_can_remove_supports_type):
3428 (g_app_info_remove_supports_type):
3429 Make these fail nicely if not implemented
3431 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3433 * gio/glocalfileoutputstream.c:
3434 * gio/glocalfileoutputstream.h:
3439 * programs/gio-save.c:
3440 Add a GFileCreateFlags argument to operations that can create
3443 2007-10-01 Alexander Larsson <alexl@redhat.com>
3445 * gio/gappinfo.[ch]:
3446 * gio/gdesktopappinfo.c:
3447 Add more (stubbed out) mime API needed for nautilus
3449 2007-10-01 Alexander Larsson <alexl@redhat.com>
3452 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3453 Add g_app_info_set_as_default_for_extension.
3455 * gio/gdesktopappinfo.c:
3456 Dummy for g_app_info_set_as_default_for_extension
3457 Support flags in g_app_info_create_from_commandline
3459 * gio/gwin32appinfo.c:
3461 Update for API changes
3463 * gio/gthemedicon.c:
3464 Properly NULL-terminate list of icon names
3466 2007-09-28 Alexander Larsson <alexl@redhat.com>
3468 * gio/gloadableicon.h:
3469 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3471 2007-09-28 Alexander Larsson <alexl@redhat.com>
3474 Install headers in $includedir/gio-standalone/
3476 * gio-2.0.pc.in: Added.
3477 * gio-standalone.pc.in: Removed.
3480 Renamed pkg-config file to match glib (for future move)
3481 Update to the new include dir
3484 Add more TODO comments
3486 2007-09-28 Alexander Larsson <alexl@redhat.com>
3488 * gio/gdesktopappinfo.[ch]:
3489 Expose new_from_filename
3490 Add getter for is_hidden and handle it better
3492 2007-09-28 Alexander Larsson <alexl@redhat.com>
3494 * gio/gfileinfo.[ch]:
3495 Rename g_file_size_format_for_display to
3496 g_format_file_size_for_display.
3497 Now it doesn't have the g_file prefix, so we
3498 can later move it to glib.
3500 2007-09-28 Alexander Larsson <alexl@redhat.com>
3502 * gio/gappinfo.[ch]:
3503 Add g_app_info_get_id and g_app_info_get_executable.
3504 Make all getters non-reffing
3505 Make g_app_info_launch take GFile arguments.
3506 Add must_support_uris argument to g_app_info_get_default_for_type.
3508 * gio/gwin32appinfo.c:
3509 Update to GAppInfo api changes
3511 * gio/gdesktopappinfo.c:
3512 Update to GAppInfo api changes
3513 Implement supports_xdg_startup_notify
3515 * gio/gfileicon.c (g_file_icon_get_file):
3516 Make getter non-reffing.
3521 2007-09-27 Alexander Larsson <alexl@redhat.com>
3523 * gio/gfileinfo.[ch]:
3524 Add g_file_size_format_for_display helper
3526 2007-09-27 Alexander Larsson <alexl@redhat.com>
3528 * gio/glocalfileinfo.c:
3529 Set UNIX_GID from gid, not from uid
3531 2007-09-27 Alexander Larsson <alexl@redhat.com>
3534 Add g_file_set_attributes_async
3536 2007-09-27 Alexander Larsson <alexl@redhat.com>
3538 * gio/glocalfile.c (g_local_file_set_display_name):
3539 Fix set_display_name to actually rename to the right place.
3540 Use lstat to look for existing files so we don't overwrite
3543 2007-09-26 Alexander Larsson <alexl@redhat.com>
3546 Add g_file_set_display_name_async()
3548 2007-09-26 Alexander Larsson <alexl@redhat.com>
3551 Add load_partial_contents async calls
3554 Make internal function static
3556 2007-09-26 Alexander Larsson <alexl@redhat.com>
3558 * gio/glocalfileinfo.c:
3559 Correctly detect broken symlinks
3561 2007-09-26 Alexander Larsson <alexl@redhat.com>
3563 * gio/gcancellable.c (g_cancellable_cancel):
3564 Allow cancel on NULL cancellable
3566 2007-09-25 Alexander Larsson <alexl@redhat.com>
3568 * gio/gsimpleasyncresult.c:
3569 Don't allocate g_error manually.
3570 Fixes g_slice/g_new mixup crash
3572 2007-09-25 Alexander Larsson <alexl@redhat.com>
3574 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3575 Actually set active_backend.
3576 This means the monitor will be cancelled correctly.
3578 2007-09-25 Alexander Larsson <alexl@redhat.com>
3580 * gio/gdirectorymonitor.c:
3581 Set timeout to NULL when destroying
3583 2007-09-25 Alexander Larsson <alexl@redhat.com>
3586 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3587 that is a better description of the error.
3589 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3591 * gio/gvfs.c: (g_vfs_get_local):
3592 Make the local vfs variable static. The same instance should
3595 2007-09-24 Alexander Larsson <alexl@redhat.com>
3597 * gio/glocalfileinfo.c:
3598 Pass in actual length read into sniffer, not the length
3601 2007-09-21 Alexander Larsson <alexl@redhat.com>
3603 * gio/gfileenumerator.c:
3606 * gio/gfileinputstream.c:
3607 * gio/gfileoutputstream.c:
3608 * gio/ginputstream.c:
3609 * gio/goutputstream.c:
3610 Don't crash if async callbacks are NULL
3612 2007-09-20 Alexander Larsson <alexl@redhat.com>
3615 Add async enumerate_children method and default
3618 2007-09-20 Alexander Larsson <alexl@redhat.com>
3621 Add g_file_contains_file & g_file_get_relative_path, since they
3622 were needed for nautilus.
3623 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3628 Implement new methods
3630 2007-09-17 Alexander Larsson <alexl@redhat.com>
3633 * gio/gfileinputstream.[ch]:
3634 * gio/gfileoutputstream.[ch]:
3636 * gio/glocalfileenumerator.[ch]:
3637 * gio/glocalfileinfo.[ch]:
3638 * gio/glocalfileinputstream.c:
3639 * gio/glocalfileoutputstream.c:
3640 * gio/gpollfilemonitor.c:
3641 * programs/gio-copy.c:
3642 * programs/gio-info.c:
3643 * programs/gio-move.c:
3644 Rename get_file_info to query_info() to make it clearer
3645 that these are not simple getters, but do i/o.
3647 2007-09-17 Alexander Larsson <alexl@redhat.com>
3649 * gio/gdatainputstream.[ch]:
3650 * gio/test-streams.c:
3651 Use _read_XXX instead of _get_XXX for the i/o calls
3654 2007-09-17 Alexander Larsson <alexl@redhat.com>
3657 Added needed stuff to TODO comment
3659 2007-09-17 Alexander Larsson <alexl@redhat.com>
3661 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3662 Don't error out removing the backup copy if it doesn't
3665 2007-09-14 Alexander Larsson <alexl@redhat.com>
3667 * programs/Makefile.am:
3668 * programs/gvfs-*.c:
3670 Renamed apps from gvfs-xxx to gio-xxx.
3672 2007-09-14 Alexander Larsson <alexl@redhat.com>
3675 * gio/gfileoutputstream.[ch]:
3676 * gio/glocalfileoutputstream.c:
3677 * programs/gvfs-save.c:
3678 g_file_output_stream_get_etag doesn't do i/o, so remove
3679 cancellation and error.
3681 2007-09-14 Alexander Larsson <alexl@redhat.com>
3684 Add new_etag output to replace_contents functions
3686 2007-09-14 Alexander Larsson <alexl@redhat.com>
3688 * gio/gfileoutputstream.[ch]:
3689 Add async get_file_info and default implementation
3691 2007-09-14 Alexander Larsson <alexl@redhat.com>
3693 * gio/gfileinputstream.c:
3694 Implement fallback wrapper for async get_file_info
3696 2007-09-14 Alexander Larsson <alexl@redhat.com>
3699 Add etag out argument to load_contents
3704 2007-09-14 Alexander Larsson <alexl@redhat.com>
3706 * gio/gcontenttype.c (looks_like_text):
3707 Whitespace like tab, cr and lf do not make the
3710 2007-09-14 Alexander Larsson <alexl@redhat.com>
3712 * gio/gfileinputstream.[ch]:
3713 Add async get_file_info.
3715 2007-09-13 Alexander Larsson <alexl@redhat.com>
3717 * gio/goutputstream.c (g_output_stream_write_all):
3718 Allow NULL for bytes_written
3720 2007-09-13 Alexander Larsson <alexl@redhat.com>
3722 * gio/gmemoryinputstream.[ch]:
3723 Add accessors for data
3725 2007-09-13 Alexander Larsson <alexl@redhat.com>
3727 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3728 Don't crash if length is NULL