1 2008-02-21 Matthias Clasen <mclasen@redhat.com>
3 * *.c: Correct the @include in for section docs.
5 2008-02-21 David Zeuthen <davidz@redhat.com>
7 * glocalfileinfo.c: (_g_local_file_info_get):
9 (g_content_type_get_icon): Implement this function by
10 moving bits from glocalfileinfo.c
11 (g_content_type_get_description): Unalias before getting
14 * gfile.c: (g_file_class_init),
15 (g_file_query_filesystem_info_async),
16 (g_file_query_filesystem_info_finish),
17 (query_filesystem_info_data_free),
18 (query_filesystem_info_async_thread),
19 (g_file_real_query_filesystem_info_async),
20 (g_file_real_query_filesystem_info_finish):
21 * gfile.h: Implement async version of
22 g_file_query_filesystem_info()
24 * gfileinfo.h: Add new attributes for filesystem::use-preview
28 * gthemedicon.c: (g_themed_icon_append_name):
29 * gthemedicon.h: Add new new convenience function.
31 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
32 (get_mounts), (get_volumes), (get_connected_drives),
33 (get_volume_for_uuid), (get_mount_for_uuid),
34 (g_union_volume_monitor_init), (populate_union_monitor),
35 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
36 (g_volume_monitor_adopt_orphan_mount):
38 * gvolumemonitor.h: Use recursive locks so it's safe for volume
39 monitor implementations to call into the main volume monitor. Also
40 separate object initialization and volume monitor initialization
41 such that non-native volume monitors can properly adopt their
44 2008-02-21 Alexander Larsson <alexl@redhat.com>
49 2008-02-21 Alexander Larsson <alexl@redhat.com>
52 Add more documentation about how GFiles work (from #517086)
54 2008-02-21 Alexander Larsson <alexl@redhat.com>
58 Add new g_file_has_prefix that does the same as g_file_contains_file.
59 Deprecate g_file_contains_file and add a macro that converts
60 it to g_file_has_prefix.
61 The reason for this change is that the contains_file() name seems to
62 imply that this does more work than what it does, but its really only
63 a name match (from #517086)
68 Update to match the above change.
70 2008-02-20 Benjamin Otte <otte@gnome.org>
72 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
73 (g_file_eject_mountable):
74 even more cases of not returning in error path
76 2008-02-20 Benjamin Otte <otte@gnome.org>
78 * gfile.c: (g_file_mount_mountable):
79 return from function in error path.
81 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
84 Remove trailing coma in GMountMountFlags struct
86 2008-02-18 Alexander Larsson <alexl@redhat.com>
90 * glocalfileoutputstream.c:
91 Use g_unlink/g_rename instead of unlink/rename;
92 do not pass raw filenames to g_set_error. (#517239)
93 Patch from Yevgen Muntyan.
95 2008-02-18 Alexander Larsson <alexl@redhat.com>
98 * glocalfileoutputstream.c:
99 Open files with O_BINARY on windows. (#517140)
101 2008-02-14 Alexander Larsson <alexl@redhat.com>
103 * glocalfileoutputstream.c:
104 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
106 2008-02-14 Alexander Larsson <alexl@redhat.com>
109 Copy permissions with file on copy (#514084)
110 This is what cp does and makes sure e.g. the
111 exec permissions are kept.
112 Its kinda weird in that it keeps the permission bits
113 the same while the uid and gid are different. However
114 the new uid is the user so its not a security issue,
115 and I've heard no complaints about cp on this issue.
117 2008-02-13 Ryan Lortie <desrt@desrt.ca>
119 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
121 2008-02-13 Alexander Larsson <alexl@redhat.com>
123 * inotify/inotify-path.c:
124 Define IN_ONLYDIR if not in header (#515346)
126 2008-02-12 Alexander Larsson <alexl@redhat.com>
128 * tests/live-g-file.c:
131 2008-02-11 Matthias Clasen <mclasen@redhat.com>
133 * === Released 2.15.5 ===
135 2008-02-11 Matthias Clasen <mclasen@redhat.com>
137 * gio.symbols: Add g_mount_mount_flags_get_type.
139 2008-02-11 Alexander Larsson <alexl@redhat.com>
142 (g_file_info_set_attribute_mask):
143 (g_file_attribute_matcher_matches_id):
144 Correctly handle NULL GAttributeMatcher meaning
145 matches nothing. (Fixes #513492)
147 2008-02-11 Alexander Larsson <alexl@redhat.com>
152 Added GMountMountFlags enum and added a flags
153 argument to all mount calls.
155 This is an API/ABI change for future extensibility,
156 as I think we will need at least an
157 inhibit-autorun flag (the panel needs this).
158 There are no flags defined yet though.
160 2008-02-11 Alexander Larsson <alexl@redhat.com>
163 Added new standard::description attribute.
164 Requested by Vincent, and useful for both
167 2008-02-11 Alexander Larsson <alexl@redhat.com>
172 2008-02-11 Matthias Clasen <mclasen@redhat.com>
174 * *.c: Documentation additions
176 2008-02-10 Matthias Clasen <mclasen@redhat.com>
178 * gappinfo.h: Formatting cleanup
179 * gappinfo.c: Fix up docs.
181 2008-02-09 Matthias Clasen <mclasen@redhat.com>
183 * gunixmounts.c: Consistently use getmntent_r() and fall
184 back to getmntent(). (#515492)
186 2008-02-09 Matthias Clasen <mclasen@redhat.com>
188 * gbufferedinputstream.c:
190 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
192 * tests/data-input-stream.c:
193 * tests/data-output-stream.c: Portability fixes.
195 2008-02-08 Alexander Larsson <alexl@redhat.com>
200 Add g_volume_should_automount.
203 2008-02-07 Tor Lillqvist <tml@novell.com>
205 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
206 Win32, too Unix-specific.
208 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
210 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
211 a local plt if the compiler doesn't support what we want. Bug #514702
213 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
215 reviewed by: <delete if not using a buddy>
218 * gunixinputstream.c:
219 * gunixoutputstream.c:
221 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
224 * tests/live-g-file.c:
225 * tests/live-g-file.txt:
226 New GIO testing module working over real data
228 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
230 * glocalfileoutputstream.c (g_local_file_output_stream_close):
231 Fallback to rename() if link() is not available
232 (when no support on target filesystem)
234 2008-02-06 Michael Natterer <mitch@imendio.com>
236 * gfileinfo.c (g_file_info_get_icon): replace
237 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
239 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
241 * gfile.c (g_file_create):
242 Documentation update of error codes
244 2008-02-06 Alexander Larsson <alexl@redhat.com>
247 Update to use both mimeapps.list and
248 defaults.list as discussed on xdg list.
250 2008-02-06 Benjamin Otte <otte@gnome.org>
253 * gfilenamecompleter.c:
254 Fix some typos in the documentation.
256 2008-02-06 Alexander Larsson <alexl@redhat.com>
258 * glocalfile.c (g_local_file_trash):
259 Don't succeed with trash if newly created
260 trash dir has the wrong owner. (#514696)
262 2008-02-05 Alexander Larsson <alexl@redhat.com>
264 * glocalfile.c (g_local_file_move):
265 Don't spew warnings when destination is not
268 2008-02-03 Hans Breuer <hans@breuer.org>
270 * makefile.msc : update
272 2008-02-01 Michael Natterer <mitch@imendio.com>
274 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
275 return value of xdg_mime_list_mime_parents() to a variable of the
278 2008-02-01 Alexander Larsson <alexl@redhat.com>
280 * gappinfo.c (g_app_info_launch_uris):
281 Actually call the launch_uris method, not
284 2008-02-01 Alexander Larsson <alexl@redhat.com>
286 * gdesktopappinfo.c (g_desktop_app_info_equal):
287 Ensure appinfos with no id but same pointer value
290 2008-02-01 Alexander Larsson <alexl@redhat.com>
292 * gappinfo.c (g_app_info_launch_default_for_uri):
295 2008-02-01 Alexander Larsson <alexl@redhat.com>
299 Add g_app_info_launch_default_for_uri utility
302 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
305 Doc fix for g_app_info_get_default_for_uri_scheme ()
308 2008-01-30 Alexander Larsson <alexl@redhat.com>
311 Add doc comment about uris vs GFiles to
315 Ensure uris passed to g_app_info_launch_uris()
316 are not roundtriped through GFile (as that
317 may be slightly destructive for e.g. mailto: links)
319 2008-01-30 Alexander Larsson <alexl@redhat.com>
321 * tests/data-input-stream.c:
322 * tests/data-output-stream.c:
323 C89 fixes from Jens Granseuer (#512849)
325 2008-01-30 Alexander Larsson <alexl@redhat.com>
328 Fix gamin/fam difference build issue. (#509419)
330 2008-01-29 Alexander Larsson <alexl@redhat.com>
334 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
336 2008-01-29 Alexander Larsson <alexl@redhat.com>
340 giomodule-priv.h include moved to .c file.
342 2008-01-29 Alexander Larsson <alexl@redhat.com>
344 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
345 Remove unused prio/name fields.
347 2008-01-29 Alexander Larsson <alexl@redhat.com>
349 * gcontenttype.c (looks_like_text):
350 Don't treat whitespace as control chars.
352 2008-01-29 Alexander Larsson <alexl@redhat.com>
355 Lazily create the desktop files for appinfos created
356 by g_app_info_create_from_commandline() when needed
357 for mime associations. This allows run-time use
358 of GAppInfo object without creating unnecessary
361 2008-01-29 Alexander Larsson <alexl@redhat.com>
364 Added new symbols to gio.symbols
366 2008-01-29 Alexander Larsson <alexl@redhat.com>
369 Add g_file_query_default_handler utility to easily look up
370 the GAppInfo that handles a file.
372 * gdesktopappinfo.[ch]:
374 Set up an extension point for g_app_info_get_default_for_uri_scheme()
377 Remove unused function
379 2008-01-29 Alexander Larsson <alexl@redhat.com>
382 Mention need to free returned value in
383 g_file_enumerator_next_files_finish docs.
384 Fix leak if g_file_enumerator_next_files_finish()
387 2008-01-29 Alexander Larsson <alexl@redhat.com>
390 (_g_unix_content_type_get_parents):
391 Use list_parents, not get_parents from xdgmime, because
392 the later doesn't use the cache.
394 * xdgmime/xdgmimecache.c:
395 (_xdg_mime_cache_list_mime_parents):
396 Don't list the same type as parent multiple times.
398 2008-01-28 Matthias Clasen <mclasen@redhat.com>
400 * === Released 2.15.4 ===
402 2008-01-28 Alexander Larsson <alexl@redhat.com>
405 Register local vfs with prio 0.
408 Remove old name and prio class members
410 2008-01-28 Matthias Clasen <mclasen@redhat.com>
412 * tests/g-file.c: Disable some tests that are failing in
413 the absence of a http backend.
415 2008-01-28 Alexander Larsson <alexl@redhat.com>
419 Add registration hooks for extension points.
420 Register the gio extension points.
422 * fam/gfamdirectorymonitor.c:
423 * fam/gfamfilemonitor.c:
424 * glocaldirectorymonitor.[ch]:
425 * glocalfilemonitor.[ch]:
426 * gnativevolumemonitor.h:
427 * gunionvolumemonitor.c:
428 * gunixvolumemonitor.c:
431 * inotify/ginotifydirectorymonitor.c:
432 * inotify/ginotifyfilemonitor.c:
433 Use the extension points registration instead
434 of g_type_children().
436 2008-01-28 Matthias Clasen <mclasen@redhat.com>
439 * gvolume.[hc]: Document new API.
441 * gfile.c (g_file_copy_async): Fix docs
443 2008-01-27 Matthias Clasen <mclasen@redhat.com>
445 * gbufferedinputstream.c:
447 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
450 2008-01-27 Matthias Clasen <mclasen@redhat.com>
452 * glocalfile.c: Avoid trivial differences in translatable strings.
454 2008-01-25 Matthias Clasen <mclasen@redhat.com>
456 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
457 build with gcc 3.4 (#509419)
459 2008-01-25 Matthias Clasen <mclasen@redhat.com>
461 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
462 (#509994, Murray Cumming)
464 2008-01-25 Matthias Clasen <mclasen@redhat.com>
466 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
467 * gioscheduler.c: Keep calling io jobs until they return FALSE;
468 this allows big jobs to be executed in chunks, instead of blocking
469 the main loop for a long time.
471 * gsimpleasyncresult.c:
472 * giofile.c: Adapt callers.
474 2008-01-25 Alexander Larsson <alexl@redhat.com>
477 Implement changes discussed on xdg list.
478 Now we can add supported mimetypes by just using defaults.list
479 We can also remove associations in defaults.list.
481 2008-01-25 Alexander Larsson <alexl@redhat.com>
484 Don't make local copy of desktop file
485 for mimetype changes if the file already
486 supports the new mimetype.
488 2008-01-25 Matthias Clasen <mclasen@redhat.com>
492 * gbufferedinputstream.c:
493 * glocalfile.c: String improvements. (#511966,
494 Theppitak Karoonboonyanan)
496 2008-01-24 Matthias Clasen <mclasen@redhat.com>
498 * gioscheduler.h: Expand docs a bit.
500 2008-01-24 Alexander Larsson <alexl@redhat.com>
503 Add g_drive_get_identifier and
504 g_drive_enumerate_identifiers
507 Add g_volume_get_identifier and
508 g_volume_enumerate_identifiers
514 Implement identifiers for unix backend
516 2008-01-24 Alexander Larsson <alexl@redhat.com>
521 Add g_file_copy_async() (#511580)
522 Based on patch from Carlos Garcia Campos
524 2008-01-23 Matthias Clasen <mclasen@redhat.com>
526 * gioscheduler.c: Some documentation additions.
528 2008-01-22 Alexander Larsson <alexl@redhat.com>
531 (g_desktop_app_info_new):
534 2008-01-22 Alexander Larsson <alexl@redhat.com>
537 (g_desktop_app_info_new_from_filename):
540 2008-01-22 Alexander Larsson <alexl@redhat.com>
542 * glocalfileinfo.c (get_thumbnail_attributes):
545 2008-01-22 Alexander Larsson <alexl@redhat.com>
548 (canonicalize_filename):
549 Canonicalize paths that start with more than
554 (test_g_file_new_for_path):
557 2008-01-22 Alexander Larsson <alexl@redhat.com>
560 Allow UTF-8 in file:// parse names.
563 * tests/data-input-stream.c:
564 * tests/data-output-stream.c:
565 * tests/g-file-info.c:
567 Added a bunch of tests from Tomas Bzatek
569 2008-01-21 Matthias Clasen <mclasen@redhat.com>
571 * === Released 2.15.3 ===
573 2008-01-21 Alexander Larsson <alexl@redhat.com>
575 * gfileinputstream.[ch]:
576 * gfileoutputstream.[ch]:
578 Remove duplicated GSeekable functions. (#509990)
579 Just use the g_seekable_xxx() calls instead.
581 2008-01-21 Matthias Clasen <mclasen@redhat.com>
584 * gvolumemanager.c: Whitespace cleanups.
586 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
587 Use the right mode when creating the file.
589 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
592 * gfileinputstream.c:
594 * goutputstream.c: Documentation: Fixed minor typos
595 and added more mentions of specific _finish() functions.
597 2008-01-21 Alexander Larsson <alexl@redhat.com>
599 * inotify/Makefile.am:
600 * inotify/inotify-helper.c:
601 * inotify/inotify-kernel.c:
602 * inotify/inotify-path.c:
603 * inotify/local_inotify.h: Removed.
604 * inotify/local_inotify_syscalls.h: Removed.
605 Removed the included copies of the inotify
606 headers. We now only use the <sys/inotify.h>
607 header which exists on modern systems.
608 This fixes problems on ARM and SH5 (#510448)
609 but is also generally much cleaner and future
610 safe. For instance, if other OSes add support
611 for inotify it should "just work".
613 2008-01-20 Matthias Clasen <mclasen@redhat.com>
615 * inotify/*.c: Coding style fixes.
616 * inotify/inotify-missing.c: Use g_timeout_add_seconds
617 for the 1/4 Hz timer.
619 2008-01-20 Matthias Clasen <mclasen@redhat.com>
623 * gmemoryinputstream.c:
624 * gmemoryoutputstream.c:
626 * gthemedicon.c: Documentation updates
628 2008-01-20 Murray Cumming <murrayc@murrayc.com>
630 * gfile.c: documentation: Fixed more minor
633 2008-01-18 Murray Cumming <murrayc@murrayc.com>
635 * gmount.c: (g_mount_remount): documentation:
636 Mention g_mount_remount_finish() instead of
637 g_mount_unmount_finish().
639 2008-01-18 Murray Cumming <murrayc@murrayc.com>
643 * gfile.c: Fixed some minor typos in the
646 2008-01-18 Murray Cumming <murrayc@murrayc.com>
648 * gio/gvolumemonitor.c:
649 (g_volume_monitor_get_connected_drives):
650 (g_volume_monitor_get_volumes):
651 (g_volume_monitor_get_mounts): Documentation:
652 Clarify the ownership of the regurn GLists.
654 2008-01-17 Alexander Larsson <alexl@redhat.com>
657 Add the async find_enclosing_mount version
658 to the header file too.
660 2008-01-17 Alexander Larsson <alexl@redhat.com>
663 Add async version of find_enclosing_mount
664 with default implementation.
666 2008-01-17 Alexander Larsson <alexl@redhat.com>
671 Allow calls to implementation of copy and write
672 even if the type of the file implementations is
673 different. This can be used to implement native
674 upload and download calls in a vfs.
678 Protect against the case where move is called
679 with one file not being local.
681 Make sure we call the progress callback once
682 in the native move operation so that the caller
683 knows how many bytes were copied.
685 2008-01-16 Murray Cumming <murrayc@murrayc.com>
688 * gdatainputstream.c:
690 * gfileoutputstream.c:
695 * gunixmounts.c: Corrected some typos in the documentation:
697 its -> it's (where appropriate).
699 2008-01-16 Alexander Larsson <alexl@redhat.com>
703 Add g_file_query_exists (#508771)
705 2008-01-15 Murray Cumming <murrayc@murrayc.com>
710 * gvolume.c: For async functions that have no non-async
711 version, document that the GAsyncReadyCallback may be NULL.
714 2008-01-15 Alexander Larsson <alexl@redhat.com>
716 * gmemoryinputstream.c:
717 * gmemoryoutputstream.c:
718 Don't do pointer arithmetic on void * (#508602)
719 Patch from Kazuki IWAMOTO
721 2008-01-14 Matthias Clasen <mclasen@redhat.com>
723 * === Released 2.15.2 ===
725 2008-01-14 Alexander Larsson <alexl@redhat.com>
727 * gfile.c (g_file_monitor_file):
728 Don't set error here, since we fallback to polling monitor.
730 2008-01-14 Alexander Larsson <alexl@redhat.com>
733 (g_file_monitor_directory):
734 (g_file_monitor_file):
735 Add GError to file monitor calls
737 * glocaldirectorymonitor.c:
738 * glocaldirectorymonitor.h:
740 * glocalfilemonitor.c:
741 * glocalfilemonitor.h:
743 Update for above change
745 2008-01-14 Alexander Larsson <alexl@redhat.com>
749 Handle root correctly in g_file_get_relative_path (#508719)
751 2008-01-14 Alexander Larsson <alexl@redhat.com>
754 Clean up docs and example for GAsyncResult (#508074)
756 2008-01-11 Murray Cumming <murrayc@murrayc.com>
758 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
759 and correct some spelling mistakes. Bug #508108.
761 2008-01-11 Matthias Clasen <mclasen@redhat.com>
763 * glocalfileinfo.c: Add a comment.
765 2008-01-10 Murray Cumming <murrayc@murrayc.com>
767 * gfileinfo.c: GFileInfo description: Mention
768 how to actually set attributes in a GFile and how to discover
769 which attributes are settable. Bug #508378.
771 2008-01-10 A. Walton <awalton@svn.gnome.org>
773 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
774 (g_app_info_get_default_for_type):
775 Check for NULL content types.
777 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
779 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
781 2008-01-09 Murray Cumming <murrayc@murrayc.com>
783 * gfile.c: *_async() functions: Several small corrections
784 to the documentation, mostly correcting copy/paste errors
785 and improving some sentences.
787 2008-01-09 Dan Winship <danw@gnome.org>
789 * glocalfile.c (get_unique_filename): x86_64 fix
791 2008-01-09 Alexander Larsson <alexl@redhat.com>
796 Add g_unix_mount_guess_should_display and use
797 for unix volume monitor backend.
798 This means we more or less show what the
799 gnome-vfs backend did.
800 Based on patch from Padraig O'Briain
802 2008-01-09 Alexander Larsson <alexl@redhat.com>
806 Add g_themed_icon_new_with_default_fallbacks
809 Use default fallbacks for icons
811 2008-01-09 Alexander Larsson <alexl@redhat.com>
814 * gmountoperation.[ch]:
815 Change the API a bit so that unhandled methods
816 get reported via the reply, rather than by
817 the signal emission return value. This is because
818 some handlers can't know this immediately without
819 doing I/O, and this is an async operation that
822 2008-01-09 Alexander Larsson <alexl@redhat.com>
825 * fam/gfamdirectorymonitor.c:
826 * fam/gfamfilemonitor.c:
827 Fix double free crash (#508224)
828 Patch from Joe Marcus Clarke
830 008-01-07 Matthias Clasen <mclasen@redhat.com>
832 * === Released 2.15.1 ===
834 2008-01-07 Alexander Larsson <alexl@redhat.com>
836 * gunixinputstream.c (g_unix_input_stream_skip_finish):
837 Fix warning (#507835)
839 2008-01-07 Alexander Larsson <alexl@redhat.com>
842 Pass --internal to glib-genmarshal
847 Use better types for signal arguments (#507822)
849 2008-01-07 Alexander Larsson <alexl@redhat.com>
852 Build test subdir after .
853 Remove gdirectorymonitor.[ch]
855 * gdirectorymonitor.[ch]:
859 Remove GDirectoryMonitor and make
860 GFileMonitor the baseclass for both file and
861 directory monitors. Lift the more generic
862 rate limiting code from GDirectoryMonitor
866 * fam/gfamdirectorymonitor.[ch]:
867 * inotify/ginotifydirectorymonitor.[ch]:
868 * inotify/inotify-helper.c:
869 * glocaldirectorymonitor.[ch]:
872 Update for the removed GDirectoryMonitor.
874 * gmemoryoutputstream.c:
875 Remove ununsed variable
877 2008-01-07 Alexander Larsson <alexl@redhat.com>
879 * gmemoryinputstream.c:
880 Translate error strings
883 * gmemoryoutputstream.[ch]:
884 New implementation that avoids using GByteArray
885 in implementation and API. (#506377)
887 2008-01-06 Matthias Clasen <mclasen@redhat.com>
889 * tests/*: Add a test for memory input streams.
891 * Makefile.am: Add tests to SUBDIRS.
893 2008-01-06 Matthias Clasen <mclasen@redhat.com>
895 * glocalfilemonitor.c:
896 * glocaldirectorymonitor.c: Mark property nicks and blurbs
899 2008-01-06 Matthias Clasen <mclasen@redhat.com>
901 * gdesktopappinfo.c: Fix a docs typo.
903 * gfileattribute.c: Add information about extended attributes
904 to the documentation. (#505058)
906 2008-01-04 Alexander Larsson <alexl@redhat.com>
910 Use the right type (uint) for the ask_password signal.
912 2008-01-04 Alexander Larsson <alexl@redhat.com>
917 Add g_app_info_supports_files()
918 Remove desktop arg from g_app_info_should_show().
920 * gdesktopappinfo.[ch]:
921 Implement g_app_info_supports_files() and new should_show()
922 Add g_desktop_app_info_set_desktop_env() to set the desktop
923 for should_show(). (This will be set by gtk+ later)
925 2008-01-04 Alexander Larsson <alexl@redhat.com>
928 * gmemoryinputstream.[ch]:
929 Improve API so that you can use multiple chunks
930 of memory and custom destroy functions. (#506374)
932 2008-01-03 Alexander Larsson <alexl@redhat.com>
935 Handle NULL attribute matchers safely, as we return this
936 for empty attribute matcher strings.
938 2008-01-03 Alexander Larsson <alexl@redhat.com>
940 * gunixmounts.c (g_unix_is_mount_path_system_internal):
941 Add /usr/local to list of internal mountpoints
943 2008-01-03 Alexander Larsson <alexl@redhat.com>
946 Check for HAVE_LCHOWN (#505887)
948 2008-01-03 Alexander Larsson <alexl@redhat.com>
952 Add define for selinux context attribute.
953 Fix missing : -> :: namespace separator change
954 Fix missing _ -> - name change for xattr-sys.
957 2008-01-03 Alexander Larsson <alexl@redhat.com>
960 Link to libglib and libgobject directly (#504879)
961 Patch from Sebastien Bacher
963 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
965 * gfile.c: Expanded the g_file_new_for_commandline_arg
966 description a bit, based on the code and the docs of the
967 other g_file_new_for_* functions.
969 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
971 * gfilemonitor.h: Fixed typo in docs.
973 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
975 Updates to GIO documentation. (#506395, Mikael Hermansson)
977 * gcontenttype.c: Describe memory management for return value of
978 g_content_types_get_registered(). Missing piece from #505815.
979 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
980 GVolume, GDrive, GMounts, which hopefully gives the user less
981 confusions when using this API. Following explainations from
982 Alexander Larsson on gtk-devel-list.
984 2007-12-30 Matthias Clasen <mclasen@redhat.com>
986 * gfileinfo.c: Expand the long description.
988 2007-12-30 Matthias Clasen <mclasen@redhat.com>
991 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
992 fix builds with --disable-visibility. (#500273, Christian Persch)
994 2007-12-30 Matthias Clasen <mclasen@redhat.com>
996 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
997 in the list of returned app infos.
999 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1001 * gappinfo.c: Fix a cross-reference
1003 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1005 * gfileinputstream.c:
1006 * gfileoutputstream.c:
1010 * gdesktopappinfo.c:
1012 * gfileinfo.c: Documentation updates.
1014 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1016 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1019 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1021 * gcontenttype.c (g_content_types_get_registered): Don't return
1022 freed memory (#505815, Mikael Hermansson)
1024 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1026 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1027 used to detect statbuf->st_blocks. (#505042)
1029 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1031 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1032 environment handling. (#504829, Cosimo Cecchi)
1034 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1036 * gappinfo.c: Doc improvements
1038 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1041 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1043 * === Released 2.15.0 ===
1045 2007-12-20 Hans Breuer <hans@breuer.org>
1047 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1048 with symbols gwin32appinfo.obj, added gmount.obj
1049 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1051 2007-12-20 Alexander Larsson <alexl@redhat.com>
1057 * gfilenamecompleter.c:
1060 * gpollfilemonitor.c:
1061 File attribute renames:
1063 fs:: -> filesystem::
1064 id::fs -> id::filesystem
1066 2007-12-20 Alexander Larsson <alexl@redhat.com>
1075 Add GMountUnmountFlags to all unmount and
1077 Add g_mount_remount() call.
1079 2007-12-20 Alexander Larsson <alexl@redhat.com>
1081 * gvfs.c (get_default_vfs):
1082 Fix unused variable warning
1084 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1086 * pltcheck.sh: Update
1088 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1090 * gunionvolumemonitor.c:
1091 * gunixmount.c: Remove C99 comments
1093 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1095 * gio.symbols: Add some missing symbols
1097 2007-12-19 Alexander Larsson <alexl@redhat.com>
1100 Make g_io_modules_load_all_in_directory not unuse
1101 loaded modules so that users of it can do stuff
1103 Init internal "module" types.
1104 Initialize static prio and name for types so that
1105 we don't have to load modules to get it.
1107 * gnativevolumemonitor.h:
1109 Move is_supported to parent class so that
1110 non-native monitors can avoid being initialized
1111 too. (For instance GDaemonVolumeMonitor if we're
1112 not using GDaemonVfs.)
1114 * glocaldirectorymonitor.[ch]:
1115 * glocalfilemonitor.[ch]:
1116 * gunionvolumemonitor.c:
1117 * gunixvolumemonitor.c:
1119 Find plugins using the static prio+name to
1120 avoid unnecessarily loading the modules.
1122 2007-12-19 Alexander Larsson <alexl@redhat.com>
1127 2007-12-19 Alexander Larsson <alexl@redhat.com>
1129 * gunionvolumemonitor.c:
1130 Store the native type as GType, not class so that
1131 we can unload it. But still avoid unnecessarily
1134 2007-12-19 David Zeuthen <davidz@redhat.com>
1136 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1137 add signals 'disconnected' and 'eject-button' on GDrive. Add
1138 signal 'removed' on GVolume and 'unmounted' on GMount.
1140 * gdrive.c: (g_drive_base_init):
1142 * gfile.c: (g_file_mount_mountable),
1143 (g_file_mount_enclosing_volume):
1146 * gmount.c: (g_mount_base_init):
1148 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1149 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1150 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1154 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1156 * *.c: Fix up includes in the section docs.
1158 2007-12-17 Alexander Larsson <alexl@redhat.com>
1160 * gnativevolumemonitor.h:
1161 * gunionvolumemonitor.c:
1162 * gunixvolumemonitor.c:
1163 Add is_supported() to GNativeVolumeMonitorClass so
1164 that we can avoid having to create an object to see
1165 if the backend is supported at runtime.
1166 Also add name member and an env var to pick a specific
1167 volume monitor backend.
1171 Add cancellable to _g_mount_get_for_mount_path()
1173 * glocaldirectorymonitor.c:
1174 * glocalfilemonitor.c:
1175 Avoid loading and unloading modules while sorting.
1177 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1180 * gunixmounts.[hc]: Namespace waste reduction, move some
1181 g_get_unix_mount functions to the g_unix_mount namespace.
1184 * gunixvolumemonitor.c:
1186 * glocaldirectorymonitor.c: Update all callers.
1188 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1190 2007-12-17 Alexander Larsson <alexl@redhat.com>
1193 Add doc comments about what GFile operations are
1194 guaranteed to not block.
1196 2007-12-17 Alexander Larsson <alexl@redhat.com>
1199 Add missing #ifdef fixing OSX build.
1200 (#503334, patch from Richard Hult)
1202 2007-12-14 David Zeuthen <davidz@redhat.com>
1206 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1207 (g_mount_eject), (g_mount_eject_finish):
1209 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1210 (get_volume_for_uuid), (get_mount_for_uuid),
1211 (g_union_volume_monitor_class_init),
1212 (get_default_native_type_with_exclude), (get_default_native_type),
1213 (get_native_type), (update_native_type),
1214 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1215 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1216 (g_unix_mount_can_eject), (eject_unmount_cb),
1217 (eject_unmount_read_error), (eject_unmount_do),
1218 (g_unix_mount_unmount), (g_unix_mount_eject),
1219 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1220 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1221 (g_unix_mount_point_guess_can_eject):
1223 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1224 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1225 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1226 (g_unix_volume_mount), (g_unix_volume_eject),
1227 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1228 * gunixvolumemonitor.c: (get_volume_for_uuid),
1229 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1231 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1232 (g_volume_eject), (g_volume_eject_finish):
1234 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1235 (g_volume_monitor_get_mount_for_uuid):
1238 Provide eject() on both GMount and GVolume and utility functions
1239 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1240 ejected. Introduce the concept of UUID's and wire it into GVolume
1241 and GMount and provide API on GVolumeMonitor to find such
1242 instances. Also handle the case where an external
1243 GNativeVolumeMonitor fails to initialize. Lock around the
1244 _g_get_mount_for_mount_path() function such that volume monitor
1245 implementations won't have to do locking themselves.
1247 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1249 * gdesktopappinfo.c:
1255 * gvolume.h: Documentation updates
1257 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1260 * gfile.h: Doc updates
1262 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1265 * gdesktopappinfo.c: Use hash table iterators.
1267 2007-12-14 Alexander Larsson <alexl@redhat.com>
1270 * gfileattribute.[ch]:
1271 * gfileattribute-priv.h:
1272 Move GFileAttributeValue to a private header, as
1276 Make set_attribute take a type + a pointer instead
1277 of a GFileAttributeValue.
1280 Fix up for above changes.
1281 Add g_file_info_get_attribute_data to get
1282 all info in one call, g_file_info_get_attribute_status
1283 to get the status and g_file_info_get_attribute_as_string.
1287 * glocalfileinfo.[ch]:
1291 Make _guess_type static.
1293 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1296 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1297 made mkenums and friends use temporary files to avoid leaving
1298 empty generated files on failure (#503470).
1300 2007-12-14 Alexander Larsson <alexl@redhat.com>
1302 * gmountoperation.h:
1305 2007-12-14 Alexander Larsson <alexl@redhat.com>
1309 * gfileattribute.[ch]:
1312 * glocalfileoutputstream.c:
1313 * gmountoperation.[ch]:
1314 * goutputstream.[ch]:
1315 Clean up all flags enums to not have _FLAGS in them
1316 Make the names of some of the enums better.
1321 2007-12-14 Michael Natterer <mitch@imendio.com>
1323 * gio.symbols: fix g_io_scheduler symbol names.
1325 2007-12-14 Alexander Larsson <alexl@redhat.com>
1331 * gbufferedinputstream.h:
1332 * gbufferedoutputstream.h:
1335 * gdatainputstream.h:
1336 * gdataoutputstream.h:
1337 * gdesktopappinfo.h:
1338 * gdirectorymonitor.h:
1342 * gfileenumerator.h:
1345 * gfileinputstream.h:
1347 * gfilenamecompleter.h:
1348 * gfileoutputstream.h:
1349 * gfilterinputstream.h:
1350 * gfilteroutputstream.h:
1358 * gmemoryinputstream.h:
1359 * gmemoryoutputstream.h:
1361 * gmountoperation.h:
1364 * gsimpleasyncresult.h:
1366 * gunixinputstream.h:
1368 * gunixoutputstream.h:
1372 * inotify/Makefile.am:
1373 Only allow including <gio/gio.h> from apps
1375 2007-12-14 Alexander Larsson <alexl@redhat.com>
1377 * gioscheduler.[ch]:
1378 * gsimpleasyncresult.c:
1379 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1380 Split out the send_to_mainloop call into two versions instead
1381 of having the block argument.
1383 2007-12-13 Alexander Larsson <alexl@redhat.com>
1385 * gcancellable.[ch]:
1387 * gbufferedinputstream.c:
1388 * gfileenumerator.c:
1389 * gfileinputstream.c:
1390 * gfileoutputstream.c:
1394 g_push/pop_current_cancellable ->
1395 g_cancellable_push/pop_current
1397 2007-12-13 Alexander Larsson <alexl@redhat.com>
1401 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1403 2007-12-13 Alexander Larsson <alexl@redhat.com>
1405 * gmountoperation.h:
1406 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1408 2007-12-12 Alexander Larsson <alexl@redhat.com>
1411 Fix race condition when freeing proxy in
1412 g_io_job_send_to_mainloop().
1414 2007-12-12 Alexander Larsson <alexl@redhat.com>
1420 Make attribute namespace separator "::" instead of ":".
1421 Use - instead of _ as separator in attribute names.
1423 2007-12-12 Alexander Larsson <alexl@redhat.com>
1425 * gbufferedinputstream.h:
1426 * gbufferedoutputstream.h:
1427 * gdatainputstream.h:
1428 * gdataoutputstream.h:
1429 * gdirectorymonitor.h:
1430 * gfileenumerator.h:
1431 * gfileinputstream.h:
1433 * gfileoutputstream.h:
1434 * gfilterinputstream.h:
1435 * gfilteroutputstream.h:
1437 * glocalfileinputstream.h:
1438 * glocalfileoutputstream.h:
1439 * gmemoryinputstream.h:
1440 * gmemoryoutputstream.h:
1441 * gnativevolumemonitor.h:
1443 * gunixinputstream.h:
1444 * gunixoutputstream.h:
1447 s/parent/parent_instance/ in GObjects
1449 2007-12-12 Alexander Larsson <alexl@redhat.com>
1454 No need for padding for interfaces
1456 2007-12-12 Alexander Larsson <alexl@redhat.com>
1460 * gbufferedinputstream.c:
1461 * gbufferedoutputstream.c:
1464 * gdatainputstream.[ch]:
1465 * gdesktopappinfo.c:
1466 * gdirectorymonitor.c:
1468 * gfileattribute.[ch]:
1471 * gfileinputstream.h:
1472 * gfilemonitor.[ch]:
1473 * gfileoutputstream.[ch]:
1474 * gfilterinputstream.h:
1475 * gfilteroutputstream.h:
1478 * gloadableicon.[ch]:
1479 * gmemoryinputstream.c:
1480 * gmountoperation.c:
1482 Fix up a bunch of details in the docs.
1487 2007-12-11 David Zeuthen <davidz@redhat.com>
1489 Rework how volumes, drives and volume monitoring is
1490 done. Previosly the model was
1492 GDrive <1-1> GVolume
1494 where a GDrive instance represented a mount point and a GVolume
1495 instance represented a mounted file system. This patch changes it
1498 GDrive <1-N> GVolume <1-1> GMount
1500 where GMount now serves the purpose of the old GVolume and the new
1501 GVolume serves the purpose of the old GDrive. In addition the new
1502 GDrive interface is used to represent a collection of GVolume
1503 instances (typically partitions) and also contains utility to query
1504 the state of the physical drive the GDrive object represents (such
1505 as checking for media, polling the drive, ejecting the media etc.).
1507 Also implement mounting and unmounting in the Unix volume monitor
1508 backend. A subquent patch will introduce GDrive support for ejection
1512 * gdrive.c: (g_drive_is_media_check_automatic),
1513 (g_drive_is_media_removable), (g_drive_has_media),
1514 (g_drive_can_poll_for_media), (g_drive_eject),
1515 (g_drive_eject_finish), (g_drive_poll_for_media),
1516 (g_drive_poll_for_media_finish):
1518 * gfile.c: (g_file_find_enclosing_mount):
1521 * glocaldirectorymonitor.c:
1522 (g_local_directory_monitor_constructor), (mounts_changed):
1523 * glocalfile.c: (get_mount_info),
1524 (g_local_file_find_enclosing_mount),
1525 (g_local_file_file_iface_init):
1526 * gnativevolumemonitor.h:
1527 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1528 (get_connected_drives), (g_union_volume_monitor_class_init),
1529 (child_volume_added), (child_volume_removed),
1530 (child_volume_changed), (child_mount_added), (child_mount_removed),
1531 (child_mount_pre_unmount), (child_mount_changed),
1532 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1533 (g_union_volume_monitor_remove_monitor),
1534 (_g_mount_get_for_mount_path):
1535 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1536 (guess_system_internal), (_g_get_unix_mounts),
1537 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1538 (g_unix_mount_free), (g_unix_mount_compare),
1539 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1540 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1541 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1542 (type_to_icon), (g_unix_mount_guess_name),
1543 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1544 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1545 (_resolve_symlink), (_resolve_dev_root):
1547 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1548 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1549 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1550 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1551 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1552 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1553 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1554 (g_unix_volume_volume_iface_init):
1556 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1557 (get_mounts), (get_volumes), (get_connected_drives),
1558 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1559 (mountpoints_changed), (mounts_changed),
1560 (g_unix_volume_monitor_init),
1561 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1562 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1563 * gunixvolumemonitor.h:
1564 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1565 (g_volume_mount), (g_volume_mount_finish):
1567 * gvolumemonitor.c: (g_volume_monitor_class_init),
1568 (g_volume_monitor_get_connected_drives),
1569 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1572 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1574 * gmountoperation.h (GPasswordFlags): Close the gap
1576 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1578 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1580 * gdesktopappinfo.[hc]: Remove _-prefixes
1582 2007-12-10 Tor Lillqvist <tml@novell.com>
1584 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1587 2007-12-10 Alexander Larsson <alexl@redhat.com>
1589 * gfile.c (g_file_set_display_name):
1590 Don't hardcode '/' (#502727)
1592 2007-12-09 Hans Breuer <hans@breuer.org>
1594 * makefile.msc : follow lib naming convention
1595 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1596 for user and group name, tested with ../tests/gio-ls
1598 2007-12-09 A. Walton <awalton@svn.gnome.org>
1600 * gdesktopappinfo.c:
1606 * gfileenumerator.c:
1611 * gmemoryinputstream.c:
1612 * gmemoryoutputstream.c:
1614 * gsimpleasyncresult.c:
1615 More documentation cleanup and filling in missing information, bringing
1616 GIO to 99% symbol coverage.
1618 2007-12-08 Hans Breuer <hans@breuer.org>
1620 [gio compiles and links on win32, not sure how much already works]
1621 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1622 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1623 base on win32 API; prefer g_lstat() over lstat(); instead of
1624 localtime_r() use an all GLib implementation on win32;
1625 get_mount_info() still needs a win32 specifc implementation
1626 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1627 win32_get_file_user_info to get owner/group info without uid/gid
1628 * glocalfileinputstream.c : include <io.h> on win32
1629 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1630 definition, use g_win32_ftruncate() for G_OS_WIN32
1631 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1632 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1633 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1634 * makefile.msc : updated
1636 2007-12-07 Alexander Larsson <alexl@redhat.com>
1638 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1639 Avoid warning spew if error == NULL
1641 2007-12-07 Alexander Larsson <alexl@redhat.com>
1644 Update docs wrt etags
1646 2007-12-06 Alexander Larsson <alexl@redhat.com>
1649 Include sys/types.h for dev_t (#501919)
1651 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1655 Make abicheck and pltcheck pass.
1657 2007-12-05 Alexander Larsson <alexl@redhat.com>
1660 * giomodule-priv.h: Added.
1661 * glocaldirectorymonitor.c:
1662 * glocalfilemonitor.c:
1663 * gunionvolumemonitor.c:
1665 Actually add the declaration of _g_io_modules_ensure_loaded
1667 2007-12-05 Alexander Larsson <alexl@redhat.com>
1669 * gdatainputstream.c:
1674 * glocaldirectorymonitor.c:
1675 * glocalfilemonitor.c:
1676 * gunionvolumemonitor.c:
1678 Make g_io_modules_ensure_loaded a private function and
1679 don't pass in the dirname. This means we can do magic
1680 directory finding in the win32 version.
1681 Export the actual load-modules-in-directory code so that
1682 gvfs can reuse that.
1684 2007-12-05 Alexander Larsson <alexl@redhat.com>
1686 * gbufferedinputstream.c:
1687 * gbufferedoutputstream.c:
1690 * gfileenumerator.[ch]:
1691 * gfileinputstream.c:
1692 * gfileoutputstream.[ch]:
1693 * gfilterinputstream.c:
1694 * gfilteroutputstream.c:
1695 * ginputstream.[ch]:
1697 * glocalfileenumerator.c:
1698 * glocalfileinputstream.c:
1699 * glocalfileoutputstream.c:
1700 * gmemoryinputstream.c:
1701 * gmemoryoutputstream.c:
1702 * goutputstream.[ch]:
1705 * gunixinputstream.c:
1706 * gunixoutputstream.c:
1707 Rename all struct members named:
1708 read, write, close, truncate, or mount
1709 to foo_fn, as these are reserved names
1710 and could be defined as macros in libc.
1713 2007-12-04 Alexander Larsson <alexl@redhat.com>
1716 (g_output_stream_close):
1717 Only call flush if non-null.
1719 2007-11-30 Dan Winship <danw@gnome.org>
1721 * ginputstream.c (g_input_stream_set_pending): Make this take a
1722 GError and return a gboolean, and do the "outstanding operation"
1723 check (and the "stream is already closed" check) itself.
1724 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1726 * goutputstream.c (g_output_stream_set_pending)
1727 (g_output_stream_clear_pending): Likewise
1729 * gbufferedinputstream.c:
1730 * gfileinputstream.c:
1731 * gfileoutputstream.c: Update for that
1733 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1734 Like g_simple_async_report_error_in_idle, but takes a GError
1735 rather than building one.
1737 2007-11-30 Dan Winship <danw@gnome.org>
1739 * goutputstream.c: Don't cheat and unset the "pending" flag around
1740 inner calls. Instead, call the class method directly rather than
1741 the wrapper function that checks "pending"
1743 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1745 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1747 2007-12-03 Hans Breuer <hans@breuer.org>
1749 [start of port to win32/msvc]
1750 * gcancellable.c : HAVE_UNIST_H and _pipe()
1751 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1752 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1753 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1755 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1756 * glocalvfs.c : use HAVE_PWD_H
1757 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1758 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1759 * Makefile.am : added to EXTRA_DIST
1761 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1763 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1766 2007-12-03 Alexander Larsson <alexl@redhat.com>
1769 Handle OSX style xattrs API (#500506)
1771 2007-12-03 Alexander Larsson <alexl@redhat.com>
1775 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1777 2007-12-02 A. Walton <awalton@svn.gnome.org>
1781 Documentation accuracy fixes.
1783 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1785 * gioenumtypes.c.template: Fix typo.
1787 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1789 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1791 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1793 * gdirectorymonitor.c:
1794 * gfilemonitor.c: Add properties
1796 * gbufferedoutputstream.c: Don't mark buffer-size property
1799 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1801 * gbufferedoutputstream.c: Add auto-grow property.
1803 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1805 * *.c: Unify the capitalization of section headings.
1807 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1809 * gmountoperation.c: Add properties
1811 * gdatainputstream.c: Turn byte-order and newline-type into
1814 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1816 * gioenumtypes.[hc].template: Templates for enum registration
1818 * Makefile.am: Generate gioenumtypes.[hc]
1820 * gio.h: Include gioenumtypes.h
1822 * gfile.h: Add some explicit nicks.
1824 * gio.symbols: Add new symbols
1826 * pltcheck.sh: Adjust
1828 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1830 * *.c: Explain etags and link to the explanation
1832 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1834 * *.c: Explain I/O priority.
1836 * *.c: More coding style fixes.
1838 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1840 * gasyncresult.c: Add another paragraph to the intro,
1841 adjust coding style of example.
1843 2007-11-29 A. Walton <awalton@svn.gnome.org>
1846 Fixes unknown meaning in GAppLaunchContext docs.
1848 Clarify asynchronous ops.
1850 Fix entity tag docs.
1853 Provides missing gtk-doc section, fixes API docs slighly.
1854 * gsimpleasyncresult.c:
1855 Fill in missing info in docs.
1856 * gunixinputstream.c:
1857 * gunixoutputstream.c:
1858 Be more expressive in short description.
1860 Remove gtk-doc stubs for non-public API.
1862 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1864 * *.c: Coding style fixups
1866 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1868 * inotify/inotify-helper.c: Don't export the lock from libgio.
1870 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1873 * abicheck.sh: Fix copy-and-paste leftovers
1875 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1877 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1879 2007-11-28 Alexander Larsson <alexl@redhat.com>
1883 Removed unnecessary file
1885 * gdesktopappinfo.[ch]:
1888 * glocaldirectorymonitor.[ch]:
1890 * glocalfileenumerator.[ch]:
1891 * glocalfileinputstream.[ch]:
1892 * glocalfilemonitor.[ch]:
1893 * glocalfileoutputstream.[ch]:
1895 * gnativevolumemonitor.c:
1896 * gpollfilemonitor.[ch]:
1897 * gunionvolumemonitor.[ch]:
1900 * gunixvolumemonitor.[ch]:
1903 * inotify/ginotifydirectorymonitor.[ch]:
1904 * inotify/ginotifyfilemonitor.[ch]:
1905 * inotify/inotify-helper.c:
1906 Append _ to all internal functions
1910 Export symbols needed for modules
1912 2007-11-28 Alexander Larsson <alexl@redhat.com>
1915 * abicheck.sh: Added.
1916 * makegioalias.pl: Added.
1917 * pltcheck.sh: Added.
1918 * gio.symbols: Added.
1921 Initial work on adding symbol handling.
1924 Correct ifdef guard name
1927 * inotify/Makefile.am:
1928 * xdgmime/Makefile.am:
1929 Include toplevel Makefile.decl
1931 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1933 * gcontenttype.c: Move doc comments to the unix section.
1935 * *.[hc]: More trivial doc corrections.
1937 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1939 * gpollfilemonitor.c:
1943 * gdesktopappinfo.c:
1948 * gdatainputstream.c:
1949 * gdatainputstream.h:
1950 * gdataoutputstream.c:
1951 * gdataoutputstream.h:
1952 * gfileinfo.h: Doc cleanups
1954 2007-11-28 Andre Klapper <a9016009@gmx.de>
1956 * gdesktopappinfo.c: Fix a typo.
1958 2007-11-27 Andre Klapper <a9016009@gmx.de>
1960 * glocalfileoutputstream.c: Fix a typo.
1962 2007-11-27 Alexander Larsson <alexl@redhat.com>
1965 Don't include removed headers
1967 2007-11-27 Alexander Larsson <alexl@redhat.com>
1970 * gsocketinputstream.[ch]: Removed.
1971 * gsocketoutputstream.[ch]: Removed.
1972 * gunixinputstream.[ch]: Added.
1973 * gunixoutputstream.[ch]: Added.
1974 Renamed GSocket*Stream to GUnix*Stream and made
1975 it unix-only, since its not really only for sockets
1976 and it only works on unix (but is highly useful there).
1978 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
1984 * gbufferedinputstream.c:
1985 * gbufferedinputstream.h:
1986 * gbufferedoutputstream.c:
1987 * gbufferedoutputstream.h:
1991 * gdatainputstream.c:
1992 * gdatainputstream.h:
1993 * gdataoutputstream.c:
1994 * gdataoutputstream.h:
1995 * gdirectorymonitor.c:
1996 * gdirectorymonitor.h:
2003 * gfileenumerator.c:
2004 * gfileenumerator.h:
2009 * gfileinputstream.c:
2010 * gfileinputstream.h:
2013 * gfilenamecompleter.c:
2014 * gfilenamecompleter.h:
2015 * gfileoutputstream.c:
2016 * gfileoutputstream.h:
2017 * gfilterinputstream.c:
2018 * gfilterinputstream.h:
2019 * gfilteroutputstream.c:
2020 * gfilteroutputstream.h:
2033 * glocalfileoutputstream.c:
2034 * gmemoryinputstream.c:
2035 * gmemoryinputstream.h:
2036 * gmemoryoutputstream.c:
2037 * gmemoryoutputstream.h:
2038 * gmountoperation.c:
2039 * gmountoperation.h:
2042 * gpollfilemonitor.c:
2045 * gsimpleasyncresult.c:
2046 * gsimpleasyncresult.h:
2047 * gsocketinputstream.c:
2048 * gsocketinputstream.h:
2049 * gsocketoutputstream.c:
2050 * gsocketoutputstream.h:
2057 * gunixvolumemonitor.c:
2066 Bumps documentation to 93% symbol coverage, touching most
2067 of the public files. Fixes broken function documentation prototypes.
2068 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2069 gtk-doc headers in private files.
2071 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
2073 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2074 (g_buffered_input_stream_read_byte):
2075 * gbufferedinputstream.h:
2076 New functions for efficient access to buffer and simple single byte
2079 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2080 (g_data_input_stream_read_until):
2081 * gdatainputstream.h:
2082 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2083 read_until with multiple stop chars.
2085 2007-11-27 Alexander Larsson <alexl@redhat.com>
2089 * inotify/Makefile.am:
2090 Use the user-specified giomoduledir
2092 2007-11-27 Alexander Larsson <alexl@redhat.com>
2096 Add catch-all gio.h header
2097 Don't install gdummyfile.h
2099 2007-11-26 Alexander Larsson <alexl@redhat.com>
2101 * Makefile.am (gioinclude_HEADERS):
2102 Remove trailing whitespace
2104 2007-11-26 Alexander Larsson <alexl@redhat.com>
2106 Merge gio-standalone into glib
2108 2007-11-25 Christian Kellner <gicmo@gnome.org>
2110 * gio/goutputstream.c:
2111 Fix small mistake in the docs.
2113 2007-11-21 Christian Persch <chpe@gnome.org>
2115 * gio/glocalfile.c: (g_local_file_trash):
2116 Convert filenames to UTF-8 for GError.
2117 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2118 as per xdg base dir spec.
2120 2007-11-21 Christian Persch <chpe@gnome.org>
2122 * gio/gdesktopappinfo.c:
2123 Use that g_key_file_to_data cannot fail.
2125 Use stock defines for the key file group and key names.
2128 2007-11-21 Alexander Larsson <alexl@redhat.com>
2131 (copy_stream_with_progress):
2132 Make sure we do a final progress callback with
2133 the full total size.
2135 2007-11-21 Alexander Larsson <alexl@redhat.com>
2138 Export g_file_copy_attributes
2139 Remove padding as its not needed for interfaces
2141 2007-11-20 Alexander Larsson <alexl@redhat.com>
2146 Add G_IO_ERROR_WOULD_MERGE for
2147 copy/move dir on dir with overwrite.
2149 2007-11-20 Alexander Larsson <alexl@redhat.com>
2152 * gio/glocalfileinfo.c:
2153 Add COPY_NAME (this is an optional
2154 non-modified utf8 version of the name) that
2157 2007-11-20 Alexander Larsson <alexl@redhat.com>
2159 * gio/glocalfileenumerator.c:
2160 Report errors as GIOError, not GFileError
2162 2007-11-16 Alexander Larsson <alexl@redhat.com>
2164 * gio/glocalfileoutputstream.c:
2165 * gio/gwin32appinfo.c:
2166 Fix typos in strings.
2167 Patch from Luca Ferretti <elle.uca@libero.it>
2169 2007-11-15 Alexander Larsson <alexl@redhat.com>
2172 Post release version bump
2174 === gio-standalone 0.1.2 ===
2176 2007-11-15 Alexander Larsson <alexl@redhat.com>
2178 * docs/reference/gio/Makefile.am:
2179 Fix up distcheck by removing weird
2185 2007-11-14 Alexander Larsson <alexl@redhat.com>
2187 * gio/gdesktopappinfo.c:
2188 * gio/glocaldirectorymonitor.c:
2190 * gio/glocalfileinfo.c:
2191 * gio/inotify/inotify-sub.c:
2192 * programs/gio-cat.c:
2193 * programs/gio-copy.c:
2194 * programs/gio-info.c:
2195 * programs/gio-ls.c:
2196 * programs/gio-monitor-dir.c:
2197 * programs/gio-monitor-file.c:
2198 * programs/gio-mount.c:
2199 * programs/gio-move.c:
2200 * programs/gio-rm.c:
2201 * programs/gio-save.c:
2202 * programs/gio-trash.c:
2203 Leak fixes from Kjartan Maraas
2205 2007-11-14 Alexander Larsson <alexl@redhat.com>
2207 * gio/fam/fam-helper.c:
2209 * gio/glocalfileinfo.c:
2213 * gio/inotify/inotify-diag.c:
2214 * gio/inotify/inotify-kernel.c:
2215 Various code cleanups from Kjartan Maraas
2217 2007-11-14 Alexander Larsson <alexl@redhat.com>
2219 * gio/gioscheduler.c:
2221 Set up threadpool so that we cache 2 unused
2222 idle threads for at 15 secs. This means we
2223 will reuse thread-local data (like dbus connections)
2226 2007-11-14 Alexander Larsson <alexl@redhat.com>
2228 * gio/fam/fam-helper.c:
2229 * gio/fam/gfamdirectorymonitor.c:
2230 * gio/fam/gfamfilemonitor.c:
2232 * gio/gcontenttype.c:
2233 * gio/gdatainputstream.c:
2234 * gio/gdataoutputstream.c:
2238 * gio/gfileattribute.h:
2239 * gio/gfileenumerator.c:
2241 * gio/ginputstream.c:
2244 * gio/glocalfileinfo.c:
2245 * gio/goutputstream.c:
2246 * gio/gpollfilemonitor.c:
2247 * gio/gsimpleasyncresult.c:
2248 * gio/gunixmounts.c:
2249 * gio/gunixmounts.h:
2250 * gio/inotify/ginotifydirectorymonitor.c:
2251 * gio/inotify/ginotifyfilemonitor.c:
2252 * gio/inotify/inotify-diag.c:
2253 * gio/inotify/inotify-kernel.c:
2254 * gio/inotify/inotify-path.c:
2256 * gio/test-streams.c:
2257 * programs/gio-info.c:
2258 * programs/gio-monitor-dir.c:
2259 * programs/gio-monitor-file.c:
2260 Various code cleanups from Kjartan Maraas
2262 2007-11-13 Alexander Larsson <alexl@redhat.com>
2265 Handle the uri-scheme calls for dummy files
2267 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2269 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2270 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2271 to avoid clash with the C++ keyword.
2273 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2275 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2276 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2278 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2280 * gio/glocaldirectorymonitor.c:
2281 * gio/glocalfilemonitor.c:
2282 * gio/gunionvolumemonitor.c:
2283 Don't use g_once_init_*() for initializations that could fail and
2284 could leave the initialization variable set to 0 but use GOnce.
2285 This prevents a deadlock on the second call when trying to create
2286 a monitor and no monitor type is available. Thanks to Sven Herzberg
2289 2007-11-11 Sven Herzberg <sven@imendio.com>
2291 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2292 #ifdef (make it work on MacOS X again)
2294 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2296 Fixes Changelog for last two commits (sorry guys).
2298 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2300 * gio/gbufferedinputstream.c:
2301 * gio/gdatainputstream.c:
2303 * gio/gfileoutputstream.c:
2304 * gio/gfilterinputstream.c:
2305 * gio/glocalfileinputstream.c:
2308 More consistency fixes in g*stream.c files.
2309 Significant clean of gfile's documentation, filling in of
2310 asynchronous operations documentation.
2312 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2314 * gio/gasyncresult.c:
2315 * gio/gbufferedinputstream.c:
2316 * gio/gbufferedoutputstream.c:
2317 * gio/gcancellable.c:
2318 * gio/gcontenttype.c:
2319 * gio/gdatainputstream.c:
2320 * gio/gdataoutputstream.c:
2321 * gio/gdesktopappinfo.c:
2324 * gio/gfileattribute.c:
2325 * gio/gio/gfileenumerator.c:
2327 * gio/gfileinputstream.c:
2328 * gio/gfilemonitor.c:
2329 * gio/gfileoutputstream.c:
2330 * gio/ginputstream.c:
2332 * gio/gioscheduler.c:
2333 * gio/gloadableicon.c:
2334 * gio/glocalfileoutputstream.c:
2335 * gio/gmemoryoutputstream.c:
2336 * gio/gmountoperation.c:
2337 * gio/goutputstream.c:
2339 * gio/gsimpleasyncresult.c:
2340 * gio/gunionvolumemonitor.c:
2341 * gio/gunixmounts.c:
2342 * gio/gunixvolume.c:
2346 * gio/gvolumemonitor.c:
2347 Updated documentation stubs, working towards consistency and
2350 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2352 * gio/gmemoryoutputstream.c:
2353 * gio/gmemoryoutputstream.h:
2354 Change g_memory_output_stream_set_free_on_close() to
2355 g_memory_output_stream_set_free_data() as this makes more sense and
2356 is more consistent with GMemoryInputStream.
2358 2007-11-07 Alexander Larsson <alexl@redhat.com>
2365 Change how we find the default vfs so that
2366 we can handle a gvfs failing to init
2368 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2370 * gio/gbufferedoutputstream.c:
2371 * gio/gdatainputstream.c:
2372 * gio/gdataoutputstream.c:
2373 * gio/gfileinputstream.c:
2374 * gio/gfileoutputstream.c:
2375 * gio/gfilterinputstream.c:
2376 * gio/gfilteroutputstream.c:
2377 * gio/ginputstream.c:
2378 * gio/gmemoryinputstream.c:
2379 * gio/gmemoryoutputstream.c:
2380 * gio/goutputstream.c:
2381 * gio/gsimpleasyncresult.c:
2382 * gio/gsocketinputstream.c:
2383 * gio/gsocketoutputstream.c:
2384 Add guards to the remaining public functions, add a TODO for
2385 an unimplemented function and remove some useless guards.
2387 2007-11-07 Alexander Larsson <alexl@redhat.com>
2390 Autoconf checks for the various types of
2391 getpwuid_r and getgrgid_r
2393 * gio/glocalfileinfo.c:
2394 Use the autoconf checks from above
2396 2007-11-07 Alexander Larsson <alexl@redhat.com>
2399 (g_local_file_query_filesystem_info):
2400 Some fixes for the statvfs case
2402 2007-11-07 Alexander Larsson <alexl@redhat.com>
2405 (g_local_file_query_filesystem_info):
2406 Pick the "best" of statfs / statvfs for the system
2407 if both are availible.
2409 2007-11-07 Alexander Larsson <alexl@redhat.com>
2411 Solaris fixes from Halton.Huo@Sun.COM:
2418 * gio/glocalfileinfo.c:
2419 Fix for solaris definition of getpwuid_r
2421 * gio/test-streams.c:
2422 Use G_GNUC_PRETTY_FUNCTION
2424 2007-11-07 Alexander Larsson <alexl@redhat.com>
2426 * gio/gdesktopappinfo.c:
2427 (update_default_list):
2428 Remove double semicolon.
2429 Patch from Jens Granseuer
2431 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2433 * docs/reference/gio/gio-sections.txt:
2434 * gio/gbufferedinputstream.c:
2435 * gio/gbufferedinputstream.h:
2436 * gio/gdatainputstream.c:
2437 * gio/gfileenumerator.c:
2438 * gio/gioscheduler.c:
2439 * gio/gunionvolumemonitor.c:
2441 * programs/gio-save.c:
2442 Fix typo: availible -> available. Unfortuntely this breaks API
2443 and ABI as g_buffered_input_stream_get_available() was renamed.
2445 * gio/gunixmounts.c:
2446 * gio/gbufferedinputstream.c:
2447 Add guards for public functions.
2449 2007-11-06 Ross Burton <ross@openedhand.com>
2451 * docs/reference/gio/Makefile.am:
2452 Fix invalid += usage which automake 1.10 doesn't like.
2454 2007-11-06 Alexander Larsson <alexl@redhat.com>
2457 (g_app_launch_context_class_init):
2460 Patch from Ross Burton
2462 2007-11-06 Alexander Larsson <alexl@redhat.com>
2465 Post release version bump
2467 === gio-standalone 0.1.1 ===
2469 2007-11-06 Alexander Larsson <alexl@redhat.com>
2472 Bump version to 0.1.1
2474 * gio/gsimpleasyncresult.c:
2475 (g_simple_async_result_set_from_error):
2476 Remove bogus g_return_if_fail
2478 2007-11-06 Alexander Larsson <alexl@redhat.com>
2481 The name is gio-standalone
2484 Add top src/builddir to includedir
2486 2007-11-06 Alexander Larsson <alexl@redhat.com>
2488 * docs/reference/gio/gio-sections.txt:
2490 * gio/gbufferedinputstream.c:
2491 * gio/gbufferedoutputstream.c:
2492 * gio/gcancellable.c:
2493 * gio/gdatainputstream.h:
2494 * gio/gdataoutputstream.c:
2495 * gio/gdataoutputstream.h:
2496 * gio/gdirectorymonitor.c:
2498 * gio/gfileattribute.c:
2499 * gio/gfileattribute.h:
2500 * gio/gfileenumerator.c:
2501 * gio/gfileenumerator.h:
2504 * gio/gfileinputstream.h:
2505 * gio/gfilemonitor.c:
2506 * gio/gfileoutputstream.h:
2507 * gio/glocalfilemonitor.h:
2508 * gio/glocalfileoutputstream.h:
2509 * gio/gmemoryinputstream.c:
2510 * gio/gmemoryoutputstream.c:
2511 * gio/gmountoperation.c:
2512 * gio/goutputstream.c:
2513 * gio/goutputstream.h:
2515 * gio/gsimpleasyncresult.c:
2516 * gio/gunixmounts.c:
2517 * gio/gunixmounts.h:
2519 * gio/inotify/inotify-helper.c:
2520 Fix gtk-doc warnings
2522 Patch from Ross Burton
2524 2007-11-06 Alexander Larsson <alexl@redhat.com>
2526 * gio/gfilenamecompleter.c:
2527 (g_filename_completer_get_completions):
2530 * gio/gunixvolume.c:
2531 Remove unused function
2533 Patches from Ross Burton
2535 2007-11-06 Alexander Larsson <alexl@redhat.com>
2540 Padding not needed for interfaces
2542 2007-11-06 Alexander Larsson <alexl@redhat.com>
2544 * gio/gfilemonitor.c:
2548 Make giotypes.h an internal file
2551 * gio/gbufferedinputstream.h:
2552 * gio/gbufferedoutputstream.h:
2553 * gio/gcancellable.h:
2554 * gio/gdatainputstream.h:
2555 * gio/gdataoutputstream.h:
2556 * gio/gdirectorymonitor.c:
2557 * gio/gdirectorymonitor.h:
2562 * gio/gfileattribute.h:
2563 * gio/gfileenumerator.h:
2568 * gio/gfilemonitor.c:
2569 * gio/gfilemonitor.h:
2570 * gio/gfilenamecompleter.c:
2571 * gio/gfilenamecompleter.h:
2572 * gio/gfilterinputstream.h:
2573 * gio/gfilteroutputstream.h:
2574 * gio/ginputstream.h:
2575 * gio/gmemoryinputstream.h:
2576 * gio/gmemoryoutputstream.h:
2577 * gio/gmountoperation.c:
2578 * gio/gmountoperation.h:
2579 * gio/gnativevolumemonitor.c:
2580 * gio/goutputstream.h:
2583 * gio/gsimpleasyncresult.c:
2584 * gio/gsimpleasyncresult.h:
2585 * gio/gsocketinputstream.h:
2586 * gio/gsocketoutputstream.h:
2587 * gio/gthemedicon.c:
2588 * gio/gthemedicon.h:
2592 * gio/gvolumemonitor.c:
2593 * gio/gvolumemonitor.h:
2594 Add padding in classes where it seems useful
2595 Don't include giotypes.h from public headers
2596 Move in Class definitions into c file where possible
2601 2007-11-06 Alexander Larsson <alexl@redhat.com>
2603 * docs/reference/gio/gio-docs.xml:
2604 Better structure for API docs
2606 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2609 * gio/gloadableicon.c:
2610 * gio/gsimpleasyncresult.c:
2611 * gio/gthemedicon.c:
2612 Add some more guards to public functions. Only files missing are now
2615 2007-11-06 Alexander Larsson <alexl@redhat.com>
2617 * docs/reference/gio/gio-docs.xml:
2618 Remove old files, add missing ones
2620 2007-11-06 Alexander Larsson <alexl@redhat.com>
2622 * docs/reference/gio/gio-sections.txt:
2625 Hide implementation classes
2627 * gio/gdriveprivate.h:
2628 * gio/gvolumeprivate.h:
2629 Remove non-existing function declarations
2631 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2634 Fix compilation warnings and add guards to the new functions.
2636 * gio/gasyncresult.c:
2638 Add guards to the public functions.
2641 Implement get_path().
2643 2007-11-06 Alexander Larsson <alexl@redhat.com>
2645 * gio/gfilenamecompleter.c:
2646 Make g_filename_completer_get_completions
2647 return char ** instead of GList for
2650 * docs/reference/gio/gio-docs.xml:
2651 * docs/reference/gio/gio-sections.txt:
2653 * gio/gasyncresult.c:
2654 * gio/gbufferedinputstream.c:
2655 * gio/gbufferedoutputstream.c:
2656 * gio/gcancellable.c:
2657 * gio/gcontenttype.c:
2658 * gio/gdatainputstream.c:
2659 * gio/gdataoutputstream.c:
2660 * gio/gdesktopappinfo.c:
2661 * gio/gdirectorymonitor.c:
2665 * gio/gfileattribute.c:
2666 * gio/gfileenumerator.c:
2669 * gio/gfileinputstream.c:
2670 * gio/gfilemonitor.c:
2671 * gio/gfilenamecompleter.c:
2672 * gio/gfilenamecompleter.h:
2673 * gio/gfileoutputstream.c:
2674 * gio/gfilterinputstream.c:
2676 * gio/ginputstream.c:
2678 * gio/gioscheduler.c:
2679 * gio/gloadableicon.c:
2680 * gio/glocaldirectorymonitor.c:
2682 * gio/glocalfileinputstream.c:
2683 * gio/glocalfilemonitor.c:
2684 * gio/glocalfileoutputstream.c:
2686 * gio/gmemoryinputstream.c:
2687 * gio/gmemoryoutputstream.c:
2688 * gio/gmountoperation.c:
2689 * gio/goutputstream.c:
2690 * gio/gpollfilemonitor.c:
2692 * gio/gsimpleasyncresult.c:
2693 * gio/gsocketinputstream.c:
2694 * gio/gsocketoutputstream.c:
2695 * gio/gthemedicon.c:
2696 * gio/gunionvolumemonitor.c:
2698 * gio/gunixmounts.c:
2699 * gio/gunixvolume.c:
2700 * gio/gunixvolumemonitor.c:
2704 * gio/gvolumemonitor.c:
2705 * gio/gwin32appinfo.c:
2706 Add (mostly stub) doc strings to public functions.
2707 Patch from Andrew Walton (awalton@gmail.com)
2709 2007-11-06 Alexander Larsson <alexl@redhat.com>
2711 * gio/gappinfo.[ch]:
2712 Added GAppLaunchContext object and pass that to launch.
2713 This allows simple implementation of both
2714 launch-on-screen and startup notification via a gtk+
2715 subclass of GAppLaunchContext
2717 * gio/gdesktopappinfo.c:
2718 Implement GAppLaunchContext API
2720 * gio/gwin32appinfo.c:
2723 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2725 * gio/gmountoperation.c:
2726 Add some guards to GMountOperation's public functions.
2728 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2732 * gio/gcancellable.c:
2733 * gio/gdirectorymonitor.c:
2735 * gio/gfileenumerator.c:
2736 * gio/gfilemonitor.c:,
2737 * gio/gfilenamecompleter.c:
2740 * gio/gioscheduler.c:
2744 * gio/gvolumemonitor.c:
2745 Add even more guards to various public functions.
2747 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2750 Add guards to the public functions of GAppInfo.
2752 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2754 * gio/gcontenttype.c:
2755 Add some more guards for public functions.
2757 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2759 * gio/fam/fam-module.c:
2760 * gio/fam/gfamdirectorymonitor.c:
2761 * gio/fam/gfamdirectorymonitor.h:
2762 * gio/fam/gfamfilemonitor.c:
2763 * gio/fam/gfamfilemonitor.h:
2764 * gio/inotify/ginotifydirectorymonitor.c:
2765 * gio/inotify/ginotifydirectorymonitor.h:
2766 * gio/inotify/ginotifyfilemonitor.c:
2767 * gio/inotify/ginotifyfilemonitor.h:
2768 Add proper copyright information and remove an unused variable
2769 in the GInotifyFileMonitor constructor.
2771 * gio/gcancellable.c:
2772 Add a guard for a public function and an assertion to prevent
2773 an undefined program state.
2775 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2777 * gio/gfileattribute.c:
2778 Don't run into an assertion if the given attribute value is NULL
2779 in g_file_attribute_value_get_*() but instead return a fallback
2780 value that makes sense in most situations. Passing them a attribute
2781 value with the wrong type will still run into an assertion.
2783 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2785 * gio/gfileattribute.c:
2787 Add even more guards to the public functions. Also fix the refcounting
2788 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2789 let g_file_info_list_attributes() filter the attributes by namespace
2790 instead of simply ignoring the namespace parameter.
2792 2007-11-03 Sven Herzberg <sven@imendio.com>
2794 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2795 (This makes gio work on MacOS X again)
2797 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2800 Build the gio subdirectory before the docs. Otherwise the build will
2803 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2804 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2805 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2806 Add guards to the public functions.
2808 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2810 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2811 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2812 to prevent a compiler warning.
2814 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2815 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2816 return something in the non-void function find_topdir_for().
2818 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2825 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2827 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2828 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2829 * gwin32appinfo.c (g_win32_app_info_launch):
2830 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2831 envp_for_startup_id, g_desktop_app_info_launch,
2832 g_desktop_app_info_launch_uris):
2834 Give an opaque 'startup_id' string instead of 'envp'.
2835 Support empty file lists for launching new windows.
2836 Fix infinite recursion bug when launching URIs.
2838 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2841 Add guard to the new g_file_get_uri_scheme() function.
2843 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2846 Convert a g_return_val_if_fail() to setting the GError instead as
2847 otherwise applications have to verify the parameter before otherwise
2848 and the parameter might come directly from the user.
2850 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2852 * gio/inotify/ginotify*.[ch]:
2853 Add missing copyright information.
2855 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2858 Add guards in the beginning of public functions to check for valid
2859 parameters and fix a bug in copy_stream_with_progress() that could've
2860 caused writing less bytes than reading.
2861 * gio/glocalfileinfo.c:
2862 Check for a NULL parameter and set the GError accordingly then.
2863 * gio/goutputstream.c:
2864 Fix the same bug as in gfile.c that could've caused writing less bytes
2865 than reading in g_output_stream_real_splice().
2867 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2870 Use the correct gvolumeprivate.h naming
2872 2007-11-01 Christian Kellner <gicmo@gnome.org>
2875 Remove leftover "$(daemon_sources)" entry.
2877 2007-11-01 Christian Kellner <gicmo@gnome.org>
2882 Add copyright information to source files.
2884 2007-11-01 Alexander Larsson <alexl@redhat.com>
2888 Add g_file_get_uri_scheme
2890 2007-11-01 Alexander Larsson <alexl@redhat.com>
2893 * gio/gdesktopappinfo.c:
2894 * gio/gwin32appinfo.c:
2895 Add g_app_info_get_default_for_uri_scheme.
2897 2007-11-01 Alexander Larsson <alexl@redhat.com>
2900 Correct filename for gdriveprivate.h
2902 2007-10-31 Alexander Larsson <alexl@redhat.com>
2905 Rename id:value to id:file
2908 * gio/glocalfileinfo.c:
2911 2007-10-31 Alexander Larsson <alexl@redhat.com>
2913 * gio/gunixvolume.c:
2915 Remove g_volume_get_platform_id, as thats not
2916 needed with the simpler union volume monitor
2918 2007-10-31 Alexander Larsson <alexl@redhat.com>
2921 * gio/guniondrive.[ch]: Removed.
2922 * gio/gunionvolume.[ch]: Removed.
2923 Remove GUnionDrive/Volume
2925 * gio/gunionvolumemonitor.c:
2926 Simplify union volume monitor, now we
2927 only have one native volume monitor and
2928 we use the actual volumes/drives from the
2929 child monitors instead of wrapping them
2931 * gio/gnativevolumemonitor.[ch]:
2932 Base class for native volume monitors.
2933 Includes priority and get_volume_for_mountpoint
2936 Add g_file_find_enclosing_volume
2939 Remove volume name fs attribute
2940 Add readonly fs attribute
2943 Implement readonly attribute
2944 remove volume name attribute
2945 Implement find_enclosing volume
2947 * gio/gunixmounts.c:
2948 Add a volume for "/".
2950 * gio/gunixvolume.[ch]:
2951 Set better name for /
2953 * gio/gunixvolumemonitor.[ch]:
2954 Derive from GNativeVolumeMonitor
2955 Implement get_volume_for_mountpoint
2958 GVolume typedef moved to gfile.h
2960 * gio/gvolumeprivate.h:
2961 Add g_volume_get_for_mount_path
2963 2007-10-31 Alexander Larsson <alexl@redhat.com>
2965 * gio/gunixmounts.[ch]:
2966 Add cache info to unix mount listers
2967 Make getmntent use threadsafe
2968 Add is_system_internal attribute for GUnixMount
2970 * gio/gunixvolume.c:
2971 (g_unix_volume_new):
2972 Use is_system_internal instead of own code
2974 * gio/glocaldirectorymonitor.c:
2975 * gio/gunixvolumemonitor.c:
2976 Update to new gunixmounts API
2981 2007-10-30 Alexander Larsson <alexl@redhat.com>
2984 Add volume name fsinfo attribute
2987 Read volume name info
2989 * gio/gunionvolumemonitor.c:
2990 Fix infinite loops when finalizing a union volume monitor
2992 2007-10-30 Alexander Larsson <alexl@redhat.com>
2994 * gio/goutputstream.[ch]:
2995 Add splice() with default implementation
2997 * gio/gsocketoutputstream.c:
2998 (g_socket_output_stream_write):
2999 Return error on cancellation correctly.
3001 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3003 * gio/glocalfile.c (g_local_file_trash):
3004 Do not leak a string.
3006 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3008 * gio/gfile.c (g_file_load_contents):
3009 Unref the stream after closing it.
3011 2007-10-25 Alexander Larsson <alexl@redhat.com>
3013 * gio/gioscheduler.h:
3016 2007-10-25 Alexander Larsson <alexl@redhat.com>
3020 Add g_file_has_uri_scheme and implement for local files
3022 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3024 * gio/gdesktopappinfo.c: do not leak a string.
3026 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3028 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3029 (g_local_directory_monitor_new):
3030 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3031 (g_local_file_monitor_new):
3032 Only look for the monitor type that should be used the first time
3033 and use g_qsort_with_data() instead of our own bubble sort
3036 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3039 * gio/fam/Makefile.am:
3040 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3041 * gio/fam/fam-helper.h:
3042 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3043 * gio/fam/gfamdirectorymonitor.c:
3044 * gio/fam/gfamdirectorymonitor.h:
3045 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3046 * gio/fam/gfamfilemonitor.h:
3047 * gio/glocaldirectorymonitor.c:
3048 * gio/glocaldirectorymonitor.h:
3049 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3050 * gio/glocalfilemonitor.h:
3051 * gio/inotify/Makefile.am:
3052 * gio/inotify/ginotifydirectorymonitor.c:
3053 * gio/inotify/ginotifydirectorymonitor.h:
3054 * gio/inotify/ginotifyfilemonitor.c:
3055 * gio/inotify/ginotifyfilemonitor.h:
3056 Implement the FAM and Inotify monitors as
3057 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3058 their own GIO module. GLocal(Directory|File)Monitor will use the
3059 monitor with the highest rank that is supported on that machine.
3061 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3064 Change GIO module dir to $(libdir)/gio/modules and change
3065 the log domain from GVFS to GIO. Also only export symbols starting
3066 with g_ in the resulting library.
3067 * gio/test-streams.c: (main):
3068 Set log handler for the GIO log domain.
3070 2007-10-22 Alexander Larsson <alexl@redhat.com>
3072 * gio/gfilenamecompleter.[ch]:
3073 Add g_filename_completer_set_dirs_only
3075 2007-10-22 Alexander Larsson <alexl@redhat.com>
3078 * gio/gurifuncs.[ch]:
3079 Add some simple URI helpers
3081 * gio/gfilenamecompleter.[ch]:
3082 Added object for filename (parse name actually) completion
3085 Handle ~ in parse names
3087 2007-10-17 Alexander Larsson <alexl@redhat.com>
3090 * gio/glocalfileinfo.c:
3091 Add and implement id:value attribute
3093 2007-10-17 Alexander Larsson <alexl@redhat.com>
3096 * gio/guniondrive.c:
3098 Add and implement g_drive_has_volumes
3100 2007-10-17 Alexander Larsson <alexl@redhat.com>
3103 * gio/glocalfileinfo.[ch]:
3104 Add unix:is_mountpoint and implement for local files
3106 2007-10-16 Alexander Larsson <alexl@redhat.com>
3108 * gio/gunionvolumemonitor.c:
3109 (g_union_volume_monitor_init):
3110 Fix up the unix type getting so that it works with gcc
3112 2007-10-12 Alexander Larsson <alexl@redhat.com>
3115 * gio/glocalfileinfo.c:
3116 Add thumbnail:failed to file info
3118 2007-10-12 Richard Hult <richard@imendio.com>
3120 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3121 optimizing away the get_type call (happens with some gcc versions,
3122 like the one shipped with OS X 10.4).
3124 2007-10-12 Alexander Larsson <alexl@redhat.com>
3126 * gio/glocalfileinfo.c:
3127 (_g_local_file_info_set_attribute):
3128 Fix build if not HAVE_XATTR
3129 Patch from Milosz Derezynski <internalerror@gmail.com>
3131 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3133 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3134 around for review, otherwise I would have asked you before
3137 2007-10-11 Alexander Larsson <alexl@redhat.com>
3140 Add thumbnail:path attribute
3142 * gio/glocalfileinfo.c:
3143 Implement thumbnail:path for local files
3145 2007-10-11 Alexander Larsson <alexl@redhat.com>
3147 * gio/glocalfileinfo.c:
3148 (_g_local_file_info_get):
3149 Avoid duplicate icon names
3151 2007-10-11 Alexander Larsson <alexl@redhat.com>
3153 * gio/gthemedicon.[ch]:
3154 Change g_themed_icon_get_names return type to const
3156 2007-10-10 Alexander Larsson <alexl@redhat.com>
3158 * gio/glocalfileinfo.c:
3159 Don't reference freed memory
3161 2007-10-10 Alexander Larsson <alexl@redhat.com>
3163 * gio/gfileattribute.c:
3166 * gio/glocalfileinfo.c:
3169 2007-10-10 Alexander Larsson <alexl@redhat.com>
3172 Check for NULL icons
3174 * gio/gfileattribute.c:
3175 Don't dup when getting objects (same as for string attributes)
3177 * gio/gicon.c (g_icon_equal):
3178 Safely handle NULLs in equal
3180 2007-10-10 Alexander Larsson <alexl@redhat.com>
3183 Fix c++ compilation issues
3184 Patch from Milosz Derezynski <internalerror@gmail.com>
3186 2007-10-10 Alexander Larsson <alexl@redhat.com>
3188 * programs/gio-monitor-dir.c:
3189 Don't crash if dir monitor not supported.
3191 2007-10-09 Alexander Larsson <alexl@redhat.com>
3194 Add missing G_END_DECLS
3196 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3198 * gio/gfile.c: (g_file_set_display_name),
3199 (g_file_query_settable_attributes),
3200 (g_file_query_writable_namespaces):
3201 Return NULL not FALSE on errors as the return type is a pointer.
3203 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3205 * gio/glocalfile.c: (g_local_file_monitor_file):
3206 Don't call monitor_file on the default interface vtable (which
3207 is NULL) but simply return NULL. The caller, GFile, will create a
3208 polling monitor if NULL is returned.
3210 2007-10-09 Alexander Larsson <alexl@redhat.com>
3214 * gio-unix-2.0.pc.in:
3215 Add gio-unix-2.0.pc if OS_UNIX
3218 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3220 2007-10-09 Alexander Larsson <alexl@redhat.com>
3222 * gio/gunixmounts.[ch]:
3223 Make unix mount monitoring API sane.
3224 Now its just a object with mounts_changed
3225 and mountpoints_changed signals.
3227 * gio/glocaldirectorymonitor.c:
3228 * gio/gunixvolumemonitor.c:
3229 Use new mount monitor api
3231 2007-10-09 Alexander Larsson <alexl@redhat.com>
3233 * gio/gunixmounts.[ch]:
3234 Move guess type into one call for mounts and one for mountpoints
3237 * gio/gunixvolume.c:
3240 2007-10-09 Alexander Larsson <alexl@redhat.com>
3242 * gio/gunixmounts.[ch]:
3243 Remove _ prefix in preparation to make this semi-public
3244 Hide implementation of structs
3246 * gio/glocaldirectorymonitor.c:
3248 * gio/gunixvolume.c:
3249 * gio/gunixvolumemonitor.c:
3250 Update for above API changes
3252 2007-10-08 Alexander Larsson <alexl@redhat.com>
3255 Better polling fallback. This also handles the case where we have
3256 a monitor_file implementation, but it fails.
3258 2007-10-08 Alexander Larsson <alexl@redhat.com>
3262 * gio/gunixmounts.c:
3263 * programs/gio-monitor-dir.c:
3264 * programs/gio-monitor-file.c:
3265 Added cancellable to file monitoring calls.
3266 These are really sync calls and need this.
3268 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3270 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3271 (g_local_vfs_class_init):
3272 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3273 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3275 2007-10-05 Alexander Larsson <alexl@redhat.com>
3277 * gio/gdirectorymonitorprivate.h:
3278 * gio/gfilemonitorprivate.h:
3279 * gio/gdirectorymonitor.h:
3280 * gio/gfilemonitor.h:
3281 Remove *private.h and move to the public API, so that
3282 we can do implementations outside gio (such as in gvfs)
3284 * gio/gdirectorymonitor.c:
3285 * gio/gfilemonitor.c:
3286 * gio/glocaldirectorymonitor.c:
3287 * gio/gpollfilemonitor.c:
3288 * gio/inotify/inotify-helper.c:
3289 * gio/fam/fam-helper.c:
3290 Update to the new header names
3292 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3294 * gio/gdirectorymonitor.c:
3295 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3298 2007-10-04 Alexander Larsson <alexl@redhat.com>
3300 * gio/glocalfileinfo.c (get_access_rights):
3301 Set CAN_TRASH when we can move the file.
3302 We should really also check for a parent trash dir.
3304 2007-10-04 Alexander Larsson <alexl@redhat.com>
3306 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3307 Add can_trash access attribute
3309 2007-10-04 Alexander Larsson <alexl@redhat.com>
3312 (g_local_file_trash):
3313 Create info file first. This is per-spec and allows
3314 us to actually trash directories.
3316 2007-10-02 Alexander Larsson <alexl@redhat.com>
3318 * gio/gdesktopappinfo.c:
3319 Implement the new mime support code.
3320 Always set app as handling mimetype when being set as default for it
3322 2007-10-01 Alexander Larsson <alexl@redhat.com>
3324 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3325 Fix up check for xattrs:
3327 2007-10-01 Alexander Larsson <alexl@redhat.com>
3330 (g_app_info_set_as_default_for_extension):
3331 (g_app_info_add_supports_type):
3332 (g_app_info_can_remove_supports_type):
3333 (g_app_info_remove_supports_type):
3334 Make these fail nicely if not implemented
3336 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3338 * gio/glocalfileoutputstream.c:
3339 * gio/glocalfileoutputstream.h:
3344 * programs/gio-save.c:
3345 Add a GFileCreateFlags argument to operations that can create
3348 2007-10-01 Alexander Larsson <alexl@redhat.com>
3350 * gio/gappinfo.[ch]:
3351 * gio/gdesktopappinfo.c:
3352 Add more (stubbed out) mime API needed for nautilus
3354 2007-10-01 Alexander Larsson <alexl@redhat.com>
3357 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3358 Add g_app_info_set_as_default_for_extension.
3360 * gio/gdesktopappinfo.c:
3361 Dummy for g_app_info_set_as_default_for_extension
3362 Support flags in g_app_info_create_from_commandline
3364 * gio/gwin32appinfo.c:
3366 Update for API changes
3368 * gio/gthemedicon.c:
3369 Properly NULL-terminate list of icon names
3371 2007-09-28 Alexander Larsson <alexl@redhat.com>
3373 * gio/gloadableicon.h:
3374 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3376 2007-09-28 Alexander Larsson <alexl@redhat.com>
3379 Install headers in $includedir/gio-standalone/
3381 * gio-2.0.pc.in: Added.
3382 * gio-standalone.pc.in: Removed.
3385 Renamed pkg-config file to match glib (for future move)
3386 Update to the new include dir
3389 Add more TODO comments
3391 2007-09-28 Alexander Larsson <alexl@redhat.com>
3393 * gio/gdesktopappinfo.[ch]:
3394 Expose new_from_filename
3395 Add getter for is_hidden and handle it better
3397 2007-09-28 Alexander Larsson <alexl@redhat.com>
3399 * gio/gfileinfo.[ch]:
3400 Rename g_file_size_format_for_display to
3401 g_format_file_size_for_display.
3402 Now it doesn't have the g_file prefix, so we
3403 can later move it to glib.
3405 2007-09-28 Alexander Larsson <alexl@redhat.com>
3407 * gio/gappinfo.[ch]:
3408 Add g_app_info_get_id and g_app_info_get_executable.
3409 Make all getters non-reffing
3410 Make g_app_info_launch take GFile arguments.
3411 Add must_support_uris argument to g_app_info_get_default_for_type.
3413 * gio/gwin32appinfo.c:
3414 Update to GAppInfo api changes
3416 * gio/gdesktopappinfo.c:
3417 Update to GAppInfo api changes
3418 Implement supports_xdg_startup_notify
3420 * gio/gfileicon.c (g_file_icon_get_file):
3421 Make getter non-reffing.
3426 2007-09-27 Alexander Larsson <alexl@redhat.com>
3428 * gio/gfileinfo.[ch]:
3429 Add g_file_size_format_for_display helper
3431 2007-09-27 Alexander Larsson <alexl@redhat.com>
3433 * gio/glocalfileinfo.c:
3434 Set UNIX_GID from gid, not from uid
3436 2007-09-27 Alexander Larsson <alexl@redhat.com>
3439 Add g_file_set_attributes_async
3441 2007-09-27 Alexander Larsson <alexl@redhat.com>
3443 * gio/glocalfile.c (g_local_file_set_display_name):
3444 Fix set_display_name to actually rename to the right place.
3445 Use lstat to look for existing files so we don't overwrite
3448 2007-09-26 Alexander Larsson <alexl@redhat.com>
3451 Add g_file_set_display_name_async()
3453 2007-09-26 Alexander Larsson <alexl@redhat.com>
3456 Add load_partial_contents async calls
3459 Make internal function static
3461 2007-09-26 Alexander Larsson <alexl@redhat.com>
3463 * gio/glocalfileinfo.c:
3464 Correctly detect broken symlinks
3466 2007-09-26 Alexander Larsson <alexl@redhat.com>
3468 * gio/gcancellable.c (g_cancellable_cancel):
3469 Allow cancel on NULL cancellable
3471 2007-09-25 Alexander Larsson <alexl@redhat.com>
3473 * gio/gsimpleasyncresult.c:
3474 Don't allocate g_error manually.
3475 Fixes g_slice/g_new mixup crash
3477 2007-09-25 Alexander Larsson <alexl@redhat.com>
3479 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3480 Actually set active_backend.
3481 This means the monitor will be cancelled correctly.
3483 2007-09-25 Alexander Larsson <alexl@redhat.com>
3485 * gio/gdirectorymonitor.c:
3486 Set timeout to NULL when destroying
3488 2007-09-25 Alexander Larsson <alexl@redhat.com>
3491 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3492 that is a better description of the error.
3494 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3496 * gio/gvfs.c: (g_vfs_get_local):
3497 Make the local vfs variable static. The same instance should
3500 2007-09-24 Alexander Larsson <alexl@redhat.com>
3502 * gio/glocalfileinfo.c:
3503 Pass in actual length read into sniffer, not the length
3506 2007-09-21 Alexander Larsson <alexl@redhat.com>
3508 * gio/gfileenumerator.c:
3511 * gio/gfileinputstream.c:
3512 * gio/gfileoutputstream.c:
3513 * gio/ginputstream.c:
3514 * gio/goutputstream.c:
3515 Don't crash if async callbacks are NULL
3517 2007-09-20 Alexander Larsson <alexl@redhat.com>
3520 Add async enumerate_children method and default
3523 2007-09-20 Alexander Larsson <alexl@redhat.com>
3526 Add g_file_contains_file & g_file_get_relative_path, since they
3527 were needed for nautilus.
3528 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3533 Implement new methods
3535 2007-09-17 Alexander Larsson <alexl@redhat.com>
3538 * gio/gfileinputstream.[ch]:
3539 * gio/gfileoutputstream.[ch]:
3541 * gio/glocalfileenumerator.[ch]:
3542 * gio/glocalfileinfo.[ch]:
3543 * gio/glocalfileinputstream.c:
3544 * gio/glocalfileoutputstream.c:
3545 * gio/gpollfilemonitor.c:
3546 * programs/gio-copy.c:
3547 * programs/gio-info.c:
3548 * programs/gio-move.c:
3549 Rename get_file_info to query_info() to make it clearer
3550 that these are not simple getters, but do i/o.
3552 2007-09-17 Alexander Larsson <alexl@redhat.com>
3554 * gio/gdatainputstream.[ch]:
3555 * gio/test-streams.c:
3556 Use _read_XXX instead of _get_XXX for the i/o calls
3559 2007-09-17 Alexander Larsson <alexl@redhat.com>
3562 Added needed stuff to TODO comment
3564 2007-09-17 Alexander Larsson <alexl@redhat.com>
3566 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3567 Don't error out removing the backup copy if it doesn't
3570 2007-09-14 Alexander Larsson <alexl@redhat.com>
3572 * programs/Makefile.am:
3573 * programs/gvfs-*.c:
3575 Renamed apps from gvfs-xxx to gio-xxx.
3577 2007-09-14 Alexander Larsson <alexl@redhat.com>
3580 * gio/gfileoutputstream.[ch]:
3581 * gio/glocalfileoutputstream.c:
3582 * programs/gvfs-save.c:
3583 g_file_output_stream_get_etag doesn't do i/o, so remove
3584 cancellation and error.
3586 2007-09-14 Alexander Larsson <alexl@redhat.com>
3589 Add new_etag output to replace_contents functions
3591 2007-09-14 Alexander Larsson <alexl@redhat.com>
3593 * gio/gfileoutputstream.[ch]:
3594 Add async get_file_info and default implementation
3596 2007-09-14 Alexander Larsson <alexl@redhat.com>
3598 * gio/gfileinputstream.c:
3599 Implement fallback wrapper for async get_file_info
3601 2007-09-14 Alexander Larsson <alexl@redhat.com>
3604 Add etag out argument to load_contents
3609 2007-09-14 Alexander Larsson <alexl@redhat.com>
3611 * gio/gcontenttype.c (looks_like_text):
3612 Whitespace like tab, cr and lf do not make the
3615 2007-09-14 Alexander Larsson <alexl@redhat.com>
3617 * gio/gfileinputstream.[ch]:
3618 Add async get_file_info.
3620 2007-09-13 Alexander Larsson <alexl@redhat.com>
3622 * gio/goutputstream.c (g_output_stream_write_all):
3623 Allow NULL for bytes_written
3625 2007-09-13 Alexander Larsson <alexl@redhat.com>
3627 * gio/gmemoryinputstream.[ch]:
3628 Add accessors for data
3630 2007-09-13 Alexander Larsson <alexl@redhat.com>
3632 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3633 Don't crash if length is NULL