1 2008-02-25 Alexander Larsson <alexl@redhat.com>
4 Emit actual change signals in an idle handler.
5 This avoids reentrance and locking problems in
6 the file notification backends.
8 2008-02-25 Alexander Larsson <alexl@redhat.com>
11 (g_unix_mount_guess_should_display):
12 Remove type guessing, instead just display
13 mounts in /media and in ~/.
15 2008-02-25 Alexander Larsson <alexl@redhat.com>
18 Make new strings reuse old ones.
20 2008-02-25 Alexander Larsson <alexl@redhat.com>
23 Implement trashing and filesystem::readonly for win32 (#517235)
24 Patch from Yevgen Muntyan
26 2008-02-23 Matthias Clasen <mclasen@redhat.com>
28 * gfileinfo.h: Documentation fixes.
30 2008-02-22 Alexander Larsson <alexl@redhat.com>
32 * gcontenttype.c (g_content_type_get_icon):
33 Look at old-style gnome mime icon names too, as many
34 have not moved to the new style.
36 2008-02-21 Matthias Clasen <mclasen@redhat.com>
38 * *.c: Correct the @include in for section docs.
40 2008-02-21 David Zeuthen <davidz@redhat.com>
42 * glocalfileinfo.c: (_g_local_file_info_get):
44 (g_content_type_get_icon): Implement this function by
45 moving bits from glocalfileinfo.c
46 (g_content_type_get_description): Unalias before getting
49 * gfile.c: (g_file_class_init),
50 (g_file_query_filesystem_info_async),
51 (g_file_query_filesystem_info_finish),
52 (query_filesystem_info_data_free),
53 (query_filesystem_info_async_thread),
54 (g_file_real_query_filesystem_info_async),
55 (g_file_real_query_filesystem_info_finish):
56 * gfile.h: Implement async version of
57 g_file_query_filesystem_info()
59 * gfileinfo.h: Add new attributes for filesystem::use-preview
63 * gthemedicon.c: (g_themed_icon_append_name):
64 * gthemedicon.h: Add new new convenience function.
66 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
67 (get_mounts), (get_volumes), (get_connected_drives),
68 (get_volume_for_uuid), (get_mount_for_uuid),
69 (g_union_volume_monitor_init), (populate_union_monitor),
70 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
71 (g_volume_monitor_adopt_orphan_mount):
73 * gvolumemonitor.h: Use recursive locks so it's safe for volume
74 monitor implementations to call into the main volume monitor. Also
75 separate object initialization and volume monitor initialization
76 such that non-native volume monitors can properly adopt their
79 2008-02-21 Alexander Larsson <alexl@redhat.com>
84 2008-02-21 Alexander Larsson <alexl@redhat.com>
87 Add more documentation about how GFiles work (from #517086)
89 2008-02-21 Alexander Larsson <alexl@redhat.com>
93 Add new g_file_has_prefix that does the same as g_file_contains_file.
94 Deprecate g_file_contains_file and add a macro that converts
95 it to g_file_has_prefix.
96 The reason for this change is that the contains_file() name seems to
97 imply that this does more work than what it does, but its really only
98 a name match (from #517086)
103 Update to match the above change.
105 2008-02-20 Benjamin Otte <otte@gnome.org>
107 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
108 (g_file_eject_mountable):
109 even more cases of not returning in error path
111 2008-02-20 Benjamin Otte <otte@gnome.org>
113 * gfile.c: (g_file_mount_mountable):
114 return from function in error path.
116 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
119 Remove trailing coma in GMountMountFlags struct
121 2008-02-18 Alexander Larsson <alexl@redhat.com>
125 * glocalfileoutputstream.c:
126 Use g_unlink/g_rename instead of unlink/rename;
127 do not pass raw filenames to g_set_error. (#517239)
128 Patch from Yevgen Muntyan.
130 2008-02-18 Alexander Larsson <alexl@redhat.com>
133 * glocalfileoutputstream.c:
134 Open files with O_BINARY on windows. (#517140)
136 2008-02-14 Alexander Larsson <alexl@redhat.com>
138 * glocalfileoutputstream.c:
139 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
141 2008-02-14 Alexander Larsson <alexl@redhat.com>
144 Copy permissions with file on copy (#514084)
145 This is what cp does and makes sure e.g. the
146 exec permissions are kept.
147 Its kinda weird in that it keeps the permission bits
148 the same while the uid and gid are different. However
149 the new uid is the user so its not a security issue,
150 and I've heard no complaints about cp on this issue.
152 2008-02-13 Ryan Lortie <desrt@desrt.ca>
154 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
156 2008-02-13 Alexander Larsson <alexl@redhat.com>
158 * inotify/inotify-path.c:
159 Define IN_ONLYDIR if not in header (#515346)
161 2008-02-12 Alexander Larsson <alexl@redhat.com>
163 * tests/live-g-file.c:
166 2008-02-11 Matthias Clasen <mclasen@redhat.com>
168 * === Released 2.15.5 ===
170 2008-02-11 Matthias Clasen <mclasen@redhat.com>
172 * gio.symbols: Add g_mount_mount_flags_get_type.
174 2008-02-11 Alexander Larsson <alexl@redhat.com>
177 (g_file_info_set_attribute_mask):
178 (g_file_attribute_matcher_matches_id):
179 Correctly handle NULL GAttributeMatcher meaning
180 matches nothing. (Fixes #513492)
182 2008-02-11 Alexander Larsson <alexl@redhat.com>
187 Added GMountMountFlags enum and added a flags
188 argument to all mount calls.
190 This is an API/ABI change for future extensibility,
191 as I think we will need at least an
192 inhibit-autorun flag (the panel needs this).
193 There are no flags defined yet though.
195 2008-02-11 Alexander Larsson <alexl@redhat.com>
198 Added new standard::description attribute.
199 Requested by Vincent, and useful for both
202 2008-02-11 Alexander Larsson <alexl@redhat.com>
207 2008-02-11 Matthias Clasen <mclasen@redhat.com>
209 * *.c: Documentation additions
211 2008-02-10 Matthias Clasen <mclasen@redhat.com>
213 * gappinfo.h: Formatting cleanup
214 * gappinfo.c: Fix up docs.
216 2008-02-09 Matthias Clasen <mclasen@redhat.com>
218 * gunixmounts.c: Consistently use getmntent_r() and fall
219 back to getmntent(). (#515492)
221 2008-02-09 Matthias Clasen <mclasen@redhat.com>
223 * gbufferedinputstream.c:
225 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
227 * tests/data-input-stream.c:
228 * tests/data-output-stream.c: Portability fixes.
230 2008-02-08 Alexander Larsson <alexl@redhat.com>
235 Add g_volume_should_automount.
238 2008-02-07 Tor Lillqvist <tml@novell.com>
240 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
241 Win32, too Unix-specific.
243 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
245 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
246 a local plt if the compiler doesn't support what we want. Bug #514702
248 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
250 reviewed by: <delete if not using a buddy>
253 * gunixinputstream.c:
254 * gunixoutputstream.c:
256 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
259 * tests/live-g-file.c:
260 * tests/live-g-file.txt:
261 New GIO testing module working over real data
263 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
265 * glocalfileoutputstream.c (g_local_file_output_stream_close):
266 Fallback to rename() if link() is not available
267 (when no support on target filesystem)
269 2008-02-06 Michael Natterer <mitch@imendio.com>
271 * gfileinfo.c (g_file_info_get_icon): replace
272 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
274 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
276 * gfile.c (g_file_create):
277 Documentation update of error codes
279 2008-02-06 Alexander Larsson <alexl@redhat.com>
282 Update to use both mimeapps.list and
283 defaults.list as discussed on xdg list.
285 2008-02-06 Benjamin Otte <otte@gnome.org>
288 * gfilenamecompleter.c:
289 Fix some typos in the documentation.
291 2008-02-06 Alexander Larsson <alexl@redhat.com>
293 * glocalfile.c (g_local_file_trash):
294 Don't succeed with trash if newly created
295 trash dir has the wrong owner. (#514696)
297 2008-02-05 Alexander Larsson <alexl@redhat.com>
299 * glocalfile.c (g_local_file_move):
300 Don't spew warnings when destination is not
303 2008-02-03 Hans Breuer <hans@breuer.org>
305 * makefile.msc : update
307 2008-02-01 Michael Natterer <mitch@imendio.com>
309 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
310 return value of xdg_mime_list_mime_parents() to a variable of the
313 2008-02-01 Alexander Larsson <alexl@redhat.com>
315 * gappinfo.c (g_app_info_launch_uris):
316 Actually call the launch_uris method, not
319 2008-02-01 Alexander Larsson <alexl@redhat.com>
321 * gdesktopappinfo.c (g_desktop_app_info_equal):
322 Ensure appinfos with no id but same pointer value
325 2008-02-01 Alexander Larsson <alexl@redhat.com>
327 * gappinfo.c (g_app_info_launch_default_for_uri):
330 2008-02-01 Alexander Larsson <alexl@redhat.com>
334 Add g_app_info_launch_default_for_uri utility
337 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
340 Doc fix for g_app_info_get_default_for_uri_scheme ()
343 2008-01-30 Alexander Larsson <alexl@redhat.com>
346 Add doc comment about uris vs GFiles to
350 Ensure uris passed to g_app_info_launch_uris()
351 are not roundtriped through GFile (as that
352 may be slightly destructive for e.g. mailto: links)
354 2008-01-30 Alexander Larsson <alexl@redhat.com>
356 * tests/data-input-stream.c:
357 * tests/data-output-stream.c:
358 C89 fixes from Jens Granseuer (#512849)
360 2008-01-30 Alexander Larsson <alexl@redhat.com>
363 Fix gamin/fam difference build issue. (#509419)
365 2008-01-29 Alexander Larsson <alexl@redhat.com>
369 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
371 2008-01-29 Alexander Larsson <alexl@redhat.com>
375 giomodule-priv.h include moved to .c file.
377 2008-01-29 Alexander Larsson <alexl@redhat.com>
379 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
380 Remove unused prio/name fields.
382 2008-01-29 Alexander Larsson <alexl@redhat.com>
384 * gcontenttype.c (looks_like_text):
385 Don't treat whitespace as control chars.
387 2008-01-29 Alexander Larsson <alexl@redhat.com>
390 Lazily create the desktop files for appinfos created
391 by g_app_info_create_from_commandline() when needed
392 for mime associations. This allows run-time use
393 of GAppInfo object without creating unnecessary
396 2008-01-29 Alexander Larsson <alexl@redhat.com>
399 Added new symbols to gio.symbols
401 2008-01-29 Alexander Larsson <alexl@redhat.com>
404 Add g_file_query_default_handler utility to easily look up
405 the GAppInfo that handles a file.
407 * gdesktopappinfo.[ch]:
409 Set up an extension point for g_app_info_get_default_for_uri_scheme()
412 Remove unused function
414 2008-01-29 Alexander Larsson <alexl@redhat.com>
417 Mention need to free returned value in
418 g_file_enumerator_next_files_finish docs.
419 Fix leak if g_file_enumerator_next_files_finish()
422 2008-01-29 Alexander Larsson <alexl@redhat.com>
425 (_g_unix_content_type_get_parents):
426 Use list_parents, not get_parents from xdgmime, because
427 the later doesn't use the cache.
429 * xdgmime/xdgmimecache.c:
430 (_xdg_mime_cache_list_mime_parents):
431 Don't list the same type as parent multiple times.
433 2008-01-28 Matthias Clasen <mclasen@redhat.com>
435 * === Released 2.15.4 ===
437 2008-01-28 Alexander Larsson <alexl@redhat.com>
440 Register local vfs with prio 0.
443 Remove old name and prio class members
445 2008-01-28 Matthias Clasen <mclasen@redhat.com>
447 * tests/g-file.c: Disable some tests that are failing in
448 the absence of a http backend.
450 2008-01-28 Alexander Larsson <alexl@redhat.com>
454 Add registration hooks for extension points.
455 Register the gio extension points.
457 * fam/gfamdirectorymonitor.c:
458 * fam/gfamfilemonitor.c:
459 * glocaldirectorymonitor.[ch]:
460 * glocalfilemonitor.[ch]:
461 * gnativevolumemonitor.h:
462 * gunionvolumemonitor.c:
463 * gunixvolumemonitor.c:
466 * inotify/ginotifydirectorymonitor.c:
467 * inotify/ginotifyfilemonitor.c:
468 Use the extension points registration instead
469 of g_type_children().
471 2008-01-28 Matthias Clasen <mclasen@redhat.com>
474 * gvolume.[hc]: Document new API.
476 * gfile.c (g_file_copy_async): Fix docs
478 2008-01-27 Matthias Clasen <mclasen@redhat.com>
480 * gbufferedinputstream.c:
482 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
485 2008-01-27 Matthias Clasen <mclasen@redhat.com>
487 * glocalfile.c: Avoid trivial differences in translatable strings.
489 2008-01-25 Matthias Clasen <mclasen@redhat.com>
491 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
492 build with gcc 3.4 (#509419)
494 2008-01-25 Matthias Clasen <mclasen@redhat.com>
496 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
497 (#509994, Murray Cumming)
499 2008-01-25 Matthias Clasen <mclasen@redhat.com>
501 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
502 * gioscheduler.c: Keep calling io jobs until they return FALSE;
503 this allows big jobs to be executed in chunks, instead of blocking
504 the main loop for a long time.
506 * gsimpleasyncresult.c:
507 * giofile.c: Adapt callers.
509 2008-01-25 Alexander Larsson <alexl@redhat.com>
512 Implement changes discussed on xdg list.
513 Now we can add supported mimetypes by just using defaults.list
514 We can also remove associations in defaults.list.
516 2008-01-25 Alexander Larsson <alexl@redhat.com>
519 Don't make local copy of desktop file
520 for mimetype changes if the file already
521 supports the new mimetype.
523 2008-01-25 Matthias Clasen <mclasen@redhat.com>
527 * gbufferedinputstream.c:
528 * glocalfile.c: String improvements. (#511966,
529 Theppitak Karoonboonyanan)
531 2008-01-24 Matthias Clasen <mclasen@redhat.com>
533 * gioscheduler.h: Expand docs a bit.
535 2008-01-24 Alexander Larsson <alexl@redhat.com>
538 Add g_drive_get_identifier and
539 g_drive_enumerate_identifiers
542 Add g_volume_get_identifier and
543 g_volume_enumerate_identifiers
549 Implement identifiers for unix backend
551 2008-01-24 Alexander Larsson <alexl@redhat.com>
556 Add g_file_copy_async() (#511580)
557 Based on patch from Carlos Garcia Campos
559 2008-01-23 Matthias Clasen <mclasen@redhat.com>
561 * gioscheduler.c: Some documentation additions.
563 2008-01-22 Alexander Larsson <alexl@redhat.com>
566 (g_desktop_app_info_new):
569 2008-01-22 Alexander Larsson <alexl@redhat.com>
572 (g_desktop_app_info_new_from_filename):
575 2008-01-22 Alexander Larsson <alexl@redhat.com>
577 * glocalfileinfo.c (get_thumbnail_attributes):
580 2008-01-22 Alexander Larsson <alexl@redhat.com>
583 (canonicalize_filename):
584 Canonicalize paths that start with more than
589 (test_g_file_new_for_path):
592 2008-01-22 Alexander Larsson <alexl@redhat.com>
595 Allow UTF-8 in file:// parse names.
598 * tests/data-input-stream.c:
599 * tests/data-output-stream.c:
600 * tests/g-file-info.c:
602 Added a bunch of tests from Tomas Bzatek
604 2008-01-21 Matthias Clasen <mclasen@redhat.com>
606 * === Released 2.15.3 ===
608 2008-01-21 Alexander Larsson <alexl@redhat.com>
610 * gfileinputstream.[ch]:
611 * gfileoutputstream.[ch]:
613 Remove duplicated GSeekable functions. (#509990)
614 Just use the g_seekable_xxx() calls instead.
616 2008-01-21 Matthias Clasen <mclasen@redhat.com>
619 * gvolumemanager.c: Whitespace cleanups.
621 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
622 Use the right mode when creating the file.
624 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
627 * gfileinputstream.c:
629 * goutputstream.c: Documentation: Fixed minor typos
630 and added more mentions of specific _finish() functions.
632 2008-01-21 Alexander Larsson <alexl@redhat.com>
634 * inotify/Makefile.am:
635 * inotify/inotify-helper.c:
636 * inotify/inotify-kernel.c:
637 * inotify/inotify-path.c:
638 * inotify/local_inotify.h: Removed.
639 * inotify/local_inotify_syscalls.h: Removed.
640 Removed the included copies of the inotify
641 headers. We now only use the <sys/inotify.h>
642 header which exists on modern systems.
643 This fixes problems on ARM and SH5 (#510448)
644 but is also generally much cleaner and future
645 safe. For instance, if other OSes add support
646 for inotify it should "just work".
648 2008-01-20 Matthias Clasen <mclasen@redhat.com>
650 * inotify/*.c: Coding style fixes.
651 * inotify/inotify-missing.c: Use g_timeout_add_seconds
652 for the 1/4 Hz timer.
654 2008-01-20 Matthias Clasen <mclasen@redhat.com>
658 * gmemoryinputstream.c:
659 * gmemoryoutputstream.c:
661 * gthemedicon.c: Documentation updates
663 2008-01-20 Murray Cumming <murrayc@murrayc.com>
665 * gfile.c: documentation: Fixed more minor
668 2008-01-18 Murray Cumming <murrayc@murrayc.com>
670 * gmount.c: (g_mount_remount): documentation:
671 Mention g_mount_remount_finish() instead of
672 g_mount_unmount_finish().
674 2008-01-18 Murray Cumming <murrayc@murrayc.com>
678 * gfile.c: Fixed some minor typos in the
681 2008-01-18 Murray Cumming <murrayc@murrayc.com>
683 * gio/gvolumemonitor.c:
684 (g_volume_monitor_get_connected_drives):
685 (g_volume_monitor_get_volumes):
686 (g_volume_monitor_get_mounts): Documentation:
687 Clarify the ownership of the regurn GLists.
689 2008-01-17 Alexander Larsson <alexl@redhat.com>
692 Add the async find_enclosing_mount version
693 to the header file too.
695 2008-01-17 Alexander Larsson <alexl@redhat.com>
698 Add async version of find_enclosing_mount
699 with default implementation.
701 2008-01-17 Alexander Larsson <alexl@redhat.com>
706 Allow calls to implementation of copy and write
707 even if the type of the file implementations is
708 different. This can be used to implement native
709 upload and download calls in a vfs.
713 Protect against the case where move is called
714 with one file not being local.
716 Make sure we call the progress callback once
717 in the native move operation so that the caller
718 knows how many bytes were copied.
720 2008-01-16 Murray Cumming <murrayc@murrayc.com>
723 * gdatainputstream.c:
725 * gfileoutputstream.c:
730 * gunixmounts.c: Corrected some typos in the documentation:
732 its -> it's (where appropriate).
734 2008-01-16 Alexander Larsson <alexl@redhat.com>
738 Add g_file_query_exists (#508771)
740 2008-01-15 Murray Cumming <murrayc@murrayc.com>
745 * gvolume.c: For async functions that have no non-async
746 version, document that the GAsyncReadyCallback may be NULL.
749 2008-01-15 Alexander Larsson <alexl@redhat.com>
751 * gmemoryinputstream.c:
752 * gmemoryoutputstream.c:
753 Don't do pointer arithmetic on void * (#508602)
754 Patch from Kazuki IWAMOTO
756 2008-01-14 Matthias Clasen <mclasen@redhat.com>
758 * === Released 2.15.2 ===
760 2008-01-14 Alexander Larsson <alexl@redhat.com>
762 * gfile.c (g_file_monitor_file):
763 Don't set error here, since we fallback to polling monitor.
765 2008-01-14 Alexander Larsson <alexl@redhat.com>
768 (g_file_monitor_directory):
769 (g_file_monitor_file):
770 Add GError to file monitor calls
772 * glocaldirectorymonitor.c:
773 * glocaldirectorymonitor.h:
775 * glocalfilemonitor.c:
776 * glocalfilemonitor.h:
778 Update for above change
780 2008-01-14 Alexander Larsson <alexl@redhat.com>
784 Handle root correctly in g_file_get_relative_path (#508719)
786 2008-01-14 Alexander Larsson <alexl@redhat.com>
789 Clean up docs and example for GAsyncResult (#508074)
791 2008-01-11 Murray Cumming <murrayc@murrayc.com>
793 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
794 and correct some spelling mistakes. Bug #508108.
796 2008-01-11 Matthias Clasen <mclasen@redhat.com>
798 * glocalfileinfo.c: Add a comment.
800 2008-01-10 Murray Cumming <murrayc@murrayc.com>
802 * gfileinfo.c: GFileInfo description: Mention
803 how to actually set attributes in a GFile and how to discover
804 which attributes are settable. Bug #508378.
806 2008-01-10 A. Walton <awalton@svn.gnome.org>
808 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
809 (g_app_info_get_default_for_type):
810 Check for NULL content types.
812 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
814 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
816 2008-01-09 Murray Cumming <murrayc@murrayc.com>
818 * gfile.c: *_async() functions: Several small corrections
819 to the documentation, mostly correcting copy/paste errors
820 and improving some sentences.
822 2008-01-09 Dan Winship <danw@gnome.org>
824 * glocalfile.c (get_unique_filename): x86_64 fix
826 2008-01-09 Alexander Larsson <alexl@redhat.com>
831 Add g_unix_mount_guess_should_display and use
832 for unix volume monitor backend.
833 This means we more or less show what the
834 gnome-vfs backend did.
835 Based on patch from Padraig O'Briain
837 2008-01-09 Alexander Larsson <alexl@redhat.com>
841 Add g_themed_icon_new_with_default_fallbacks
844 Use default fallbacks for icons
846 2008-01-09 Alexander Larsson <alexl@redhat.com>
849 * gmountoperation.[ch]:
850 Change the API a bit so that unhandled methods
851 get reported via the reply, rather than by
852 the signal emission return value. This is because
853 some handlers can't know this immediately without
854 doing I/O, and this is an async operation that
857 2008-01-09 Alexander Larsson <alexl@redhat.com>
860 * fam/gfamdirectorymonitor.c:
861 * fam/gfamfilemonitor.c:
862 Fix double free crash (#508224)
863 Patch from Joe Marcus Clarke
865 008-01-07 Matthias Clasen <mclasen@redhat.com>
867 * === Released 2.15.1 ===
869 2008-01-07 Alexander Larsson <alexl@redhat.com>
871 * gunixinputstream.c (g_unix_input_stream_skip_finish):
872 Fix warning (#507835)
874 2008-01-07 Alexander Larsson <alexl@redhat.com>
877 Pass --internal to glib-genmarshal
882 Use better types for signal arguments (#507822)
884 2008-01-07 Alexander Larsson <alexl@redhat.com>
887 Build test subdir after .
888 Remove gdirectorymonitor.[ch]
890 * gdirectorymonitor.[ch]:
894 Remove GDirectoryMonitor and make
895 GFileMonitor the baseclass for both file and
896 directory monitors. Lift the more generic
897 rate limiting code from GDirectoryMonitor
901 * fam/gfamdirectorymonitor.[ch]:
902 * inotify/ginotifydirectorymonitor.[ch]:
903 * inotify/inotify-helper.c:
904 * glocaldirectorymonitor.[ch]:
907 Update for the removed GDirectoryMonitor.
909 * gmemoryoutputstream.c:
910 Remove ununsed variable
912 2008-01-07 Alexander Larsson <alexl@redhat.com>
914 * gmemoryinputstream.c:
915 Translate error strings
918 * gmemoryoutputstream.[ch]:
919 New implementation that avoids using GByteArray
920 in implementation and API. (#506377)
922 2008-01-06 Matthias Clasen <mclasen@redhat.com>
924 * tests/*: Add a test for memory input streams.
926 * Makefile.am: Add tests to SUBDIRS.
928 2008-01-06 Matthias Clasen <mclasen@redhat.com>
930 * glocalfilemonitor.c:
931 * glocaldirectorymonitor.c: Mark property nicks and blurbs
934 2008-01-06 Matthias Clasen <mclasen@redhat.com>
936 * gdesktopappinfo.c: Fix a docs typo.
938 * gfileattribute.c: Add information about extended attributes
939 to the documentation. (#505058)
941 2008-01-04 Alexander Larsson <alexl@redhat.com>
945 Use the right type (uint) for the ask_password signal.
947 2008-01-04 Alexander Larsson <alexl@redhat.com>
952 Add g_app_info_supports_files()
953 Remove desktop arg from g_app_info_should_show().
955 * gdesktopappinfo.[ch]:
956 Implement g_app_info_supports_files() and new should_show()
957 Add g_desktop_app_info_set_desktop_env() to set the desktop
958 for should_show(). (This will be set by gtk+ later)
960 2008-01-04 Alexander Larsson <alexl@redhat.com>
963 * gmemoryinputstream.[ch]:
964 Improve API so that you can use multiple chunks
965 of memory and custom destroy functions. (#506374)
967 2008-01-03 Alexander Larsson <alexl@redhat.com>
970 Handle NULL attribute matchers safely, as we return this
971 for empty attribute matcher strings.
973 2008-01-03 Alexander Larsson <alexl@redhat.com>
975 * gunixmounts.c (g_unix_is_mount_path_system_internal):
976 Add /usr/local to list of internal mountpoints
978 2008-01-03 Alexander Larsson <alexl@redhat.com>
981 Check for HAVE_LCHOWN (#505887)
983 2008-01-03 Alexander Larsson <alexl@redhat.com>
987 Add define for selinux context attribute.
988 Fix missing : -> :: namespace separator change
989 Fix missing _ -> - name change for xattr-sys.
992 2008-01-03 Alexander Larsson <alexl@redhat.com>
995 Link to libglib and libgobject directly (#504879)
996 Patch from Sebastien Bacher
998 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1000 * gfile.c: Expanded the g_file_new_for_commandline_arg
1001 description a bit, based on the code and the docs of the
1002 other g_file_new_for_* functions.
1004 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1006 * gfilemonitor.h: Fixed typo in docs.
1008 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1010 Updates to GIO documentation. (#506395, Mikael Hermansson)
1012 * gcontenttype.c: Describe memory management for return value of
1013 g_content_types_get_registered(). Missing piece from #505815.
1014 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1015 GVolume, GDrive, GMounts, which hopefully gives the user less
1016 confusions when using this API. Following explainations from
1017 Alexander Larsson on gtk-devel-list.
1019 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1021 * gfileinfo.c: Expand the long description.
1023 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1026 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1027 fix builds with --disable-visibility. (#500273, Christian Persch)
1029 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1031 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1032 in the list of returned app infos.
1034 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1036 * gappinfo.c: Fix a cross-reference
1038 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1040 * gfileinputstream.c:
1041 * gfileoutputstream.c:
1045 * gdesktopappinfo.c:
1047 * gfileinfo.c: Documentation updates.
1049 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1051 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1054 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1056 * gcontenttype.c (g_content_types_get_registered): Don't return
1057 freed memory (#505815, Mikael Hermansson)
1059 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1061 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1062 used to detect statbuf->st_blocks. (#505042)
1064 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1066 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1067 environment handling. (#504829, Cosimo Cecchi)
1069 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1071 * gappinfo.c: Doc improvements
1073 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1076 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1078 * === Released 2.15.0 ===
1080 2007-12-20 Hans Breuer <hans@breuer.org>
1082 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1083 with symbols gwin32appinfo.obj, added gmount.obj
1084 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1086 2007-12-20 Alexander Larsson <alexl@redhat.com>
1092 * gfilenamecompleter.c:
1095 * gpollfilemonitor.c:
1096 File attribute renames:
1098 fs:: -> filesystem::
1099 id::fs -> id::filesystem
1101 2007-12-20 Alexander Larsson <alexl@redhat.com>
1110 Add GMountUnmountFlags to all unmount and
1112 Add g_mount_remount() call.
1114 2007-12-20 Alexander Larsson <alexl@redhat.com>
1116 * gvfs.c (get_default_vfs):
1117 Fix unused variable warning
1119 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1121 * pltcheck.sh: Update
1123 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1125 * gunionvolumemonitor.c:
1126 * gunixmount.c: Remove C99 comments
1128 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1130 * gio.symbols: Add some missing symbols
1132 2007-12-19 Alexander Larsson <alexl@redhat.com>
1135 Make g_io_modules_load_all_in_directory not unuse
1136 loaded modules so that users of it can do stuff
1138 Init internal "module" types.
1139 Initialize static prio and name for types so that
1140 we don't have to load modules to get it.
1142 * gnativevolumemonitor.h:
1144 Move is_supported to parent class so that
1145 non-native monitors can avoid being initialized
1146 too. (For instance GDaemonVolumeMonitor if we're
1147 not using GDaemonVfs.)
1149 * glocaldirectorymonitor.[ch]:
1150 * glocalfilemonitor.[ch]:
1151 * gunionvolumemonitor.c:
1152 * gunixvolumemonitor.c:
1154 Find plugins using the static prio+name to
1155 avoid unnecessarily loading the modules.
1157 2007-12-19 Alexander Larsson <alexl@redhat.com>
1162 2007-12-19 Alexander Larsson <alexl@redhat.com>
1164 * gunionvolumemonitor.c:
1165 Store the native type as GType, not class so that
1166 we can unload it. But still avoid unnecessarily
1169 2007-12-19 David Zeuthen <davidz@redhat.com>
1171 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1172 add signals 'disconnected' and 'eject-button' on GDrive. Add
1173 signal 'removed' on GVolume and 'unmounted' on GMount.
1175 * gdrive.c: (g_drive_base_init):
1177 * gfile.c: (g_file_mount_mountable),
1178 (g_file_mount_enclosing_volume):
1181 * gmount.c: (g_mount_base_init):
1183 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1184 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1185 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1189 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1191 * *.c: Fix up includes in the section docs.
1193 2007-12-17 Alexander Larsson <alexl@redhat.com>
1195 * gnativevolumemonitor.h:
1196 * gunionvolumemonitor.c:
1197 * gunixvolumemonitor.c:
1198 Add is_supported() to GNativeVolumeMonitorClass so
1199 that we can avoid having to create an object to see
1200 if the backend is supported at runtime.
1201 Also add name member and an env var to pick a specific
1202 volume monitor backend.
1206 Add cancellable to _g_mount_get_for_mount_path()
1208 * glocaldirectorymonitor.c:
1209 * glocalfilemonitor.c:
1210 Avoid loading and unloading modules while sorting.
1212 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1215 * gunixmounts.[hc]: Namespace waste reduction, move some
1216 g_get_unix_mount functions to the g_unix_mount namespace.
1219 * gunixvolumemonitor.c:
1221 * glocaldirectorymonitor.c: Update all callers.
1223 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1225 2007-12-17 Alexander Larsson <alexl@redhat.com>
1228 Add doc comments about what GFile operations are
1229 guaranteed to not block.
1231 2007-12-17 Alexander Larsson <alexl@redhat.com>
1234 Add missing #ifdef fixing OSX build.
1235 (#503334, patch from Richard Hult)
1237 2007-12-14 David Zeuthen <davidz@redhat.com>
1241 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1242 (g_mount_eject), (g_mount_eject_finish):
1244 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1245 (get_volume_for_uuid), (get_mount_for_uuid),
1246 (g_union_volume_monitor_class_init),
1247 (get_default_native_type_with_exclude), (get_default_native_type),
1248 (get_native_type), (update_native_type),
1249 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1250 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1251 (g_unix_mount_can_eject), (eject_unmount_cb),
1252 (eject_unmount_read_error), (eject_unmount_do),
1253 (g_unix_mount_unmount), (g_unix_mount_eject),
1254 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1255 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1256 (g_unix_mount_point_guess_can_eject):
1258 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1259 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1260 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1261 (g_unix_volume_mount), (g_unix_volume_eject),
1262 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1263 * gunixvolumemonitor.c: (get_volume_for_uuid),
1264 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1266 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1267 (g_volume_eject), (g_volume_eject_finish):
1269 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1270 (g_volume_monitor_get_mount_for_uuid):
1273 Provide eject() on both GMount and GVolume and utility functions
1274 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1275 ejected. Introduce the concept of UUID's and wire it into GVolume
1276 and GMount and provide API on GVolumeMonitor to find such
1277 instances. Also handle the case where an external
1278 GNativeVolumeMonitor fails to initialize. Lock around the
1279 _g_get_mount_for_mount_path() function such that volume monitor
1280 implementations won't have to do locking themselves.
1282 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1284 * gdesktopappinfo.c:
1290 * gvolume.h: Documentation updates
1292 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1295 * gfile.h: Doc updates
1297 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1300 * gdesktopappinfo.c: Use hash table iterators.
1302 2007-12-14 Alexander Larsson <alexl@redhat.com>
1305 * gfileattribute.[ch]:
1306 * gfileattribute-priv.h:
1307 Move GFileAttributeValue to a private header, as
1311 Make set_attribute take a type + a pointer instead
1312 of a GFileAttributeValue.
1315 Fix up for above changes.
1316 Add g_file_info_get_attribute_data to get
1317 all info in one call, g_file_info_get_attribute_status
1318 to get the status and g_file_info_get_attribute_as_string.
1322 * glocalfileinfo.[ch]:
1326 Make _guess_type static.
1328 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1331 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1332 made mkenums and friends use temporary files to avoid leaving
1333 empty generated files on failure (#503470).
1335 2007-12-14 Alexander Larsson <alexl@redhat.com>
1337 * gmountoperation.h:
1340 2007-12-14 Alexander Larsson <alexl@redhat.com>
1344 * gfileattribute.[ch]:
1347 * glocalfileoutputstream.c:
1348 * gmountoperation.[ch]:
1349 * goutputstream.[ch]:
1350 Clean up all flags enums to not have _FLAGS in them
1351 Make the names of some of the enums better.
1356 2007-12-14 Michael Natterer <mitch@imendio.com>
1358 * gio.symbols: fix g_io_scheduler symbol names.
1360 2007-12-14 Alexander Larsson <alexl@redhat.com>
1366 * gbufferedinputstream.h:
1367 * gbufferedoutputstream.h:
1370 * gdatainputstream.h:
1371 * gdataoutputstream.h:
1372 * gdesktopappinfo.h:
1373 * gdirectorymonitor.h:
1377 * gfileenumerator.h:
1380 * gfileinputstream.h:
1382 * gfilenamecompleter.h:
1383 * gfileoutputstream.h:
1384 * gfilterinputstream.h:
1385 * gfilteroutputstream.h:
1393 * gmemoryinputstream.h:
1394 * gmemoryoutputstream.h:
1396 * gmountoperation.h:
1399 * gsimpleasyncresult.h:
1401 * gunixinputstream.h:
1403 * gunixoutputstream.h:
1407 * inotify/Makefile.am:
1408 Only allow including <gio/gio.h> from apps
1410 2007-12-14 Alexander Larsson <alexl@redhat.com>
1412 * gioscheduler.[ch]:
1413 * gsimpleasyncresult.c:
1414 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1415 Split out the send_to_mainloop call into two versions instead
1416 of having the block argument.
1418 2007-12-13 Alexander Larsson <alexl@redhat.com>
1420 * gcancellable.[ch]:
1422 * gbufferedinputstream.c:
1423 * gfileenumerator.c:
1424 * gfileinputstream.c:
1425 * gfileoutputstream.c:
1429 g_push/pop_current_cancellable ->
1430 g_cancellable_push/pop_current
1432 2007-12-13 Alexander Larsson <alexl@redhat.com>
1436 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1438 2007-12-13 Alexander Larsson <alexl@redhat.com>
1440 * gmountoperation.h:
1441 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1443 2007-12-12 Alexander Larsson <alexl@redhat.com>
1446 Fix race condition when freeing proxy in
1447 g_io_job_send_to_mainloop().
1449 2007-12-12 Alexander Larsson <alexl@redhat.com>
1455 Make attribute namespace separator "::" instead of ":".
1456 Use - instead of _ as separator in attribute names.
1458 2007-12-12 Alexander Larsson <alexl@redhat.com>
1460 * gbufferedinputstream.h:
1461 * gbufferedoutputstream.h:
1462 * gdatainputstream.h:
1463 * gdataoutputstream.h:
1464 * gdirectorymonitor.h:
1465 * gfileenumerator.h:
1466 * gfileinputstream.h:
1468 * gfileoutputstream.h:
1469 * gfilterinputstream.h:
1470 * gfilteroutputstream.h:
1472 * glocalfileinputstream.h:
1473 * glocalfileoutputstream.h:
1474 * gmemoryinputstream.h:
1475 * gmemoryoutputstream.h:
1476 * gnativevolumemonitor.h:
1478 * gunixinputstream.h:
1479 * gunixoutputstream.h:
1482 s/parent/parent_instance/ in GObjects
1484 2007-12-12 Alexander Larsson <alexl@redhat.com>
1489 No need for padding for interfaces
1491 2007-12-12 Alexander Larsson <alexl@redhat.com>
1495 * gbufferedinputstream.c:
1496 * gbufferedoutputstream.c:
1499 * gdatainputstream.[ch]:
1500 * gdesktopappinfo.c:
1501 * gdirectorymonitor.c:
1503 * gfileattribute.[ch]:
1506 * gfileinputstream.h:
1507 * gfilemonitor.[ch]:
1508 * gfileoutputstream.[ch]:
1509 * gfilterinputstream.h:
1510 * gfilteroutputstream.h:
1513 * gloadableicon.[ch]:
1514 * gmemoryinputstream.c:
1515 * gmountoperation.c:
1517 Fix up a bunch of details in the docs.
1522 2007-12-11 David Zeuthen <davidz@redhat.com>
1524 Rework how volumes, drives and volume monitoring is
1525 done. Previosly the model was
1527 GDrive <1-1> GVolume
1529 where a GDrive instance represented a mount point and a GVolume
1530 instance represented a mounted file system. This patch changes it
1533 GDrive <1-N> GVolume <1-1> GMount
1535 where GMount now serves the purpose of the old GVolume and the new
1536 GVolume serves the purpose of the old GDrive. In addition the new
1537 GDrive interface is used to represent a collection of GVolume
1538 instances (typically partitions) and also contains utility to query
1539 the state of the physical drive the GDrive object represents (such
1540 as checking for media, polling the drive, ejecting the media etc.).
1542 Also implement mounting and unmounting in the Unix volume monitor
1543 backend. A subquent patch will introduce GDrive support for ejection
1547 * gdrive.c: (g_drive_is_media_check_automatic),
1548 (g_drive_is_media_removable), (g_drive_has_media),
1549 (g_drive_can_poll_for_media), (g_drive_eject),
1550 (g_drive_eject_finish), (g_drive_poll_for_media),
1551 (g_drive_poll_for_media_finish):
1553 * gfile.c: (g_file_find_enclosing_mount):
1556 * glocaldirectorymonitor.c:
1557 (g_local_directory_monitor_constructor), (mounts_changed):
1558 * glocalfile.c: (get_mount_info),
1559 (g_local_file_find_enclosing_mount),
1560 (g_local_file_file_iface_init):
1561 * gnativevolumemonitor.h:
1562 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1563 (get_connected_drives), (g_union_volume_monitor_class_init),
1564 (child_volume_added), (child_volume_removed),
1565 (child_volume_changed), (child_mount_added), (child_mount_removed),
1566 (child_mount_pre_unmount), (child_mount_changed),
1567 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1568 (g_union_volume_monitor_remove_monitor),
1569 (_g_mount_get_for_mount_path):
1570 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1571 (guess_system_internal), (_g_get_unix_mounts),
1572 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1573 (g_unix_mount_free), (g_unix_mount_compare),
1574 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1575 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1576 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1577 (type_to_icon), (g_unix_mount_guess_name),
1578 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1579 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1580 (_resolve_symlink), (_resolve_dev_root):
1582 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1583 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1584 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1585 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1586 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1587 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1588 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1589 (g_unix_volume_volume_iface_init):
1591 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1592 (get_mounts), (get_volumes), (get_connected_drives),
1593 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1594 (mountpoints_changed), (mounts_changed),
1595 (g_unix_volume_monitor_init),
1596 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1597 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1598 * gunixvolumemonitor.h:
1599 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1600 (g_volume_mount), (g_volume_mount_finish):
1602 * gvolumemonitor.c: (g_volume_monitor_class_init),
1603 (g_volume_monitor_get_connected_drives),
1604 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1607 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1609 * gmountoperation.h (GPasswordFlags): Close the gap
1611 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1613 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1615 * gdesktopappinfo.[hc]: Remove _-prefixes
1617 2007-12-10 Tor Lillqvist <tml@novell.com>
1619 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1622 2007-12-10 Alexander Larsson <alexl@redhat.com>
1624 * gfile.c (g_file_set_display_name):
1625 Don't hardcode '/' (#502727)
1627 2007-12-09 Hans Breuer <hans@breuer.org>
1629 * makefile.msc : follow lib naming convention
1630 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1631 for user and group name, tested with ../tests/gio-ls
1633 2007-12-09 A. Walton <awalton@svn.gnome.org>
1635 * gdesktopappinfo.c:
1641 * gfileenumerator.c:
1646 * gmemoryinputstream.c:
1647 * gmemoryoutputstream.c:
1649 * gsimpleasyncresult.c:
1650 More documentation cleanup and filling in missing information, bringing
1651 GIO to 99% symbol coverage.
1653 2007-12-08 Hans Breuer <hans@breuer.org>
1655 [gio compiles and links on win32, not sure how much already works]
1656 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1657 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1658 base on win32 API; prefer g_lstat() over lstat(); instead of
1659 localtime_r() use an all GLib implementation on win32;
1660 get_mount_info() still needs a win32 specifc implementation
1661 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1662 win32_get_file_user_info to get owner/group info without uid/gid
1663 * glocalfileinputstream.c : include <io.h> on win32
1664 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1665 definition, use g_win32_ftruncate() for G_OS_WIN32
1666 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1667 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1668 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1669 * makefile.msc : updated
1671 2007-12-07 Alexander Larsson <alexl@redhat.com>
1673 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1674 Avoid warning spew if error == NULL
1676 2007-12-07 Alexander Larsson <alexl@redhat.com>
1679 Update docs wrt etags
1681 2007-12-06 Alexander Larsson <alexl@redhat.com>
1684 Include sys/types.h for dev_t (#501919)
1686 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1690 Make abicheck and pltcheck pass.
1692 2007-12-05 Alexander Larsson <alexl@redhat.com>
1695 * giomodule-priv.h: Added.
1696 * glocaldirectorymonitor.c:
1697 * glocalfilemonitor.c:
1698 * gunionvolumemonitor.c:
1700 Actually add the declaration of _g_io_modules_ensure_loaded
1702 2007-12-05 Alexander Larsson <alexl@redhat.com>
1704 * gdatainputstream.c:
1709 * glocaldirectorymonitor.c:
1710 * glocalfilemonitor.c:
1711 * gunionvolumemonitor.c:
1713 Make g_io_modules_ensure_loaded a private function and
1714 don't pass in the dirname. This means we can do magic
1715 directory finding in the win32 version.
1716 Export the actual load-modules-in-directory code so that
1717 gvfs can reuse that.
1719 2007-12-05 Alexander Larsson <alexl@redhat.com>
1721 * gbufferedinputstream.c:
1722 * gbufferedoutputstream.c:
1725 * gfileenumerator.[ch]:
1726 * gfileinputstream.c:
1727 * gfileoutputstream.[ch]:
1728 * gfilterinputstream.c:
1729 * gfilteroutputstream.c:
1730 * ginputstream.[ch]:
1732 * glocalfileenumerator.c:
1733 * glocalfileinputstream.c:
1734 * glocalfileoutputstream.c:
1735 * gmemoryinputstream.c:
1736 * gmemoryoutputstream.c:
1737 * goutputstream.[ch]:
1740 * gunixinputstream.c:
1741 * gunixoutputstream.c:
1742 Rename all struct members named:
1743 read, write, close, truncate, or mount
1744 to foo_fn, as these are reserved names
1745 and could be defined as macros in libc.
1748 2007-12-04 Alexander Larsson <alexl@redhat.com>
1751 (g_output_stream_close):
1752 Only call flush if non-null.
1754 2007-11-30 Dan Winship <danw@gnome.org>
1756 * ginputstream.c (g_input_stream_set_pending): Make this take a
1757 GError and return a gboolean, and do the "outstanding operation"
1758 check (and the "stream is already closed" check) itself.
1759 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
1761 * goutputstream.c (g_output_stream_set_pending)
1762 (g_output_stream_clear_pending): Likewise
1764 * gbufferedinputstream.c:
1765 * gfileinputstream.c:
1766 * gfileoutputstream.c: Update for that
1768 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
1769 Like g_simple_async_report_error_in_idle, but takes a GError
1770 rather than building one.
1772 2007-11-30 Dan Winship <danw@gnome.org>
1774 * goutputstream.c: Don't cheat and unset the "pending" flag around
1775 inner calls. Instead, call the class method directly rather than
1776 the wrapper function that checks "pending"
1778 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
1780 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
1782 2007-12-03 Hans Breuer <hans@breuer.org>
1784 [start of port to win32/msvc]
1785 * gcancellable.c : HAVE_UNIST_H and _pipe()
1786 * gcontenttype.c : only include <dirent.h> in the UNIX branch
1787 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
1788 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
1790 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
1791 * glocalvfs.c : use HAVE_PWD_H
1792 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
1793 * makefile.msc : new file (maybe later converted to makefile.msc.in)
1794 * Makefile.am : added to EXTRA_DIST
1796 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1798 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
1801 2007-12-03 Alexander Larsson <alexl@redhat.com>
1804 Handle OSX style xattrs API (#500506)
1806 2007-12-03 Alexander Larsson <alexl@redhat.com>
1810 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
1812 2007-12-02 A. Walton <awalton@svn.gnome.org>
1816 Documentation accuracy fixes.
1818 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
1820 * gioenumtypes.c.template: Fix typo.
1822 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1824 * gioenumtypes.c.template: Make threadsafe get_type() functions.
1826 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1828 * gdirectorymonitor.c:
1829 * gfilemonitor.c: Add properties
1831 * gbufferedoutputstream.c: Don't mark buffer-size property
1834 2007-12-01 Matthias Clasen <mclasen@redhat.com>
1836 * gbufferedoutputstream.c: Add auto-grow property.
1838 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1840 * *.c: Unify the capitalization of section headings.
1842 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1844 * gmountoperation.c: Add properties
1846 * gdatainputstream.c: Turn byte-order and newline-type into
1849 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1851 * gioenumtypes.[hc].template: Templates for enum registration
1853 * Makefile.am: Generate gioenumtypes.[hc]
1855 * gio.h: Include gioenumtypes.h
1857 * gfile.h: Add some explicit nicks.
1859 * gio.symbols: Add new symbols
1861 * pltcheck.sh: Adjust
1863 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1865 * *.c: Explain etags and link to the explanation
1867 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1869 * *.c: Explain I/O priority.
1871 * *.c: More coding style fixes.
1873 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1875 * gasyncresult.c: Add another paragraph to the intro,
1876 adjust coding style of example.
1878 2007-11-29 A. Walton <awalton@svn.gnome.org>
1881 Fixes unknown meaning in GAppLaunchContext docs.
1883 Clarify asynchronous ops.
1885 Fix entity tag docs.
1888 Provides missing gtk-doc section, fixes API docs slighly.
1889 * gsimpleasyncresult.c:
1890 Fill in missing info in docs.
1891 * gunixinputstream.c:
1892 * gunixoutputstream.c:
1893 Be more expressive in short description.
1895 Remove gtk-doc stubs for non-public API.
1897 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1899 * *.c: Coding style fixups
1901 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1903 * inotify/inotify-helper.c: Don't export the lock from libgio.
1905 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1908 * abicheck.sh: Fix copy-and-paste leftovers
1910 2007-11-28 Matthias Clasen <mclasen@redhat.com>
1912 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
1914 2007-11-28 Alexander Larsson <alexl@redhat.com>
1918 Removed unnecessary file
1920 * gdesktopappinfo.[ch]:
1923 * glocaldirectorymonitor.[ch]:
1925 * glocalfileenumerator.[ch]:
1926 * glocalfileinputstream.[ch]:
1927 * glocalfilemonitor.[ch]:
1928 * glocalfileoutputstream.[ch]:
1930 * gnativevolumemonitor.c:
1931 * gpollfilemonitor.[ch]:
1932 * gunionvolumemonitor.[ch]:
1935 * gunixvolumemonitor.[ch]:
1938 * inotify/ginotifydirectorymonitor.[ch]:
1939 * inotify/ginotifyfilemonitor.[ch]:
1940 * inotify/inotify-helper.c:
1941 Append _ to all internal functions
1945 Export symbols needed for modules
1947 2007-11-28 Alexander Larsson <alexl@redhat.com>
1950 * abicheck.sh: Added.
1951 * makegioalias.pl: Added.
1952 * pltcheck.sh: Added.
1953 * gio.symbols: Added.
1956 Initial work on adding symbol handling.
1959 Correct ifdef guard name
1962 * inotify/Makefile.am:
1963 * xdgmime/Makefile.am:
1964 Include toplevel Makefile.decl
1966 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1968 * gcontenttype.c: Move doc comments to the unix section.
1970 * *.[hc]: More trivial doc corrections.
1972 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1974 * gpollfilemonitor.c:
1978 * gdesktopappinfo.c:
1983 * gdatainputstream.c:
1984 * gdatainputstream.h:
1985 * gdataoutputstream.c:
1986 * gdataoutputstream.h:
1987 * gfileinfo.h: Doc cleanups
1989 2007-11-28 Andre Klapper <a9016009@gmx.de>
1991 * gdesktopappinfo.c: Fix a typo.
1993 2007-11-27 Andre Klapper <a9016009@gmx.de>
1995 * glocalfileoutputstream.c: Fix a typo.
1997 2007-11-27 Alexander Larsson <alexl@redhat.com>
2000 Don't include removed headers
2002 2007-11-27 Alexander Larsson <alexl@redhat.com>
2005 * gsocketinputstream.[ch]: Removed.
2006 * gsocketoutputstream.[ch]: Removed.
2007 * gunixinputstream.[ch]: Added.
2008 * gunixoutputstream.[ch]: Added.
2009 Renamed GSocket*Stream to GUnix*Stream and made
2010 it unix-only, since its not really only for sockets
2011 and it only works on unix (but is highly useful there).
2013 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2019 * gbufferedinputstream.c:
2020 * gbufferedinputstream.h:
2021 * gbufferedoutputstream.c:
2022 * gbufferedoutputstream.h:
2026 * gdatainputstream.c:
2027 * gdatainputstream.h:
2028 * gdataoutputstream.c:
2029 * gdataoutputstream.h:
2030 * gdirectorymonitor.c:
2031 * gdirectorymonitor.h:
2038 * gfileenumerator.c:
2039 * gfileenumerator.h:
2044 * gfileinputstream.c:
2045 * gfileinputstream.h:
2048 * gfilenamecompleter.c:
2049 * gfilenamecompleter.h:
2050 * gfileoutputstream.c:
2051 * gfileoutputstream.h:
2052 * gfilterinputstream.c:
2053 * gfilterinputstream.h:
2054 * gfilteroutputstream.c:
2055 * gfilteroutputstream.h:
2068 * glocalfileoutputstream.c:
2069 * gmemoryinputstream.c:
2070 * gmemoryinputstream.h:
2071 * gmemoryoutputstream.c:
2072 * gmemoryoutputstream.h:
2073 * gmountoperation.c:
2074 * gmountoperation.h:
2077 * gpollfilemonitor.c:
2080 * gsimpleasyncresult.c:
2081 * gsimpleasyncresult.h:
2082 * gsocketinputstream.c:
2083 * gsocketinputstream.h:
2084 * gsocketoutputstream.c:
2085 * gsocketoutputstream.h:
2092 * gunixvolumemonitor.c:
2101 Bumps documentation to 93% symbol coverage, touching most
2102 of the public files. Fixes broken function documentation prototypes.
2103 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2104 gtk-doc headers in private files.
2106 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
2108 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2109 (g_buffered_input_stream_read_byte):
2110 * gbufferedinputstream.h:
2111 New functions for efficient access to buffer and simple single byte
2114 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2115 (g_data_input_stream_read_until):
2116 * gdatainputstream.h:
2117 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2118 read_until with multiple stop chars.
2120 2007-11-27 Alexander Larsson <alexl@redhat.com>
2124 * inotify/Makefile.am:
2125 Use the user-specified giomoduledir
2127 2007-11-27 Alexander Larsson <alexl@redhat.com>
2131 Add catch-all gio.h header
2132 Don't install gdummyfile.h
2134 2007-11-26 Alexander Larsson <alexl@redhat.com>
2136 * Makefile.am (gioinclude_HEADERS):
2137 Remove trailing whitespace
2139 2007-11-26 Alexander Larsson <alexl@redhat.com>
2141 Merge gio-standalone into glib
2143 2007-11-25 Christian Kellner <gicmo@gnome.org>
2145 * gio/goutputstream.c:
2146 Fix small mistake in the docs.
2148 2007-11-21 Christian Persch <chpe@gnome.org>
2150 * gio/glocalfile.c: (g_local_file_trash):
2151 Convert filenames to UTF-8 for GError.
2152 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2153 as per xdg base dir spec.
2155 2007-11-21 Christian Persch <chpe@gnome.org>
2157 * gio/gdesktopappinfo.c:
2158 Use that g_key_file_to_data cannot fail.
2160 Use stock defines for the key file group and key names.
2163 2007-11-21 Alexander Larsson <alexl@redhat.com>
2166 (copy_stream_with_progress):
2167 Make sure we do a final progress callback with
2168 the full total size.
2170 2007-11-21 Alexander Larsson <alexl@redhat.com>
2173 Export g_file_copy_attributes
2174 Remove padding as its not needed for interfaces
2176 2007-11-20 Alexander Larsson <alexl@redhat.com>
2181 Add G_IO_ERROR_WOULD_MERGE for
2182 copy/move dir on dir with overwrite.
2184 2007-11-20 Alexander Larsson <alexl@redhat.com>
2187 * gio/glocalfileinfo.c:
2188 Add COPY_NAME (this is an optional
2189 non-modified utf8 version of the name) that
2192 2007-11-20 Alexander Larsson <alexl@redhat.com>
2194 * gio/glocalfileenumerator.c:
2195 Report errors as GIOError, not GFileError
2197 2007-11-16 Alexander Larsson <alexl@redhat.com>
2199 * gio/glocalfileoutputstream.c:
2200 * gio/gwin32appinfo.c:
2201 Fix typos in strings.
2202 Patch from Luca Ferretti <elle.uca@libero.it>
2204 2007-11-15 Alexander Larsson <alexl@redhat.com>
2207 Post release version bump
2209 === gio-standalone 0.1.2 ===
2211 2007-11-15 Alexander Larsson <alexl@redhat.com>
2213 * docs/reference/gio/Makefile.am:
2214 Fix up distcheck by removing weird
2220 2007-11-14 Alexander Larsson <alexl@redhat.com>
2222 * gio/gdesktopappinfo.c:
2223 * gio/glocaldirectorymonitor.c:
2225 * gio/glocalfileinfo.c:
2226 * gio/inotify/inotify-sub.c:
2227 * programs/gio-cat.c:
2228 * programs/gio-copy.c:
2229 * programs/gio-info.c:
2230 * programs/gio-ls.c:
2231 * programs/gio-monitor-dir.c:
2232 * programs/gio-monitor-file.c:
2233 * programs/gio-mount.c:
2234 * programs/gio-move.c:
2235 * programs/gio-rm.c:
2236 * programs/gio-save.c:
2237 * programs/gio-trash.c:
2238 Leak fixes from Kjartan Maraas
2240 2007-11-14 Alexander Larsson <alexl@redhat.com>
2242 * gio/fam/fam-helper.c:
2244 * gio/glocalfileinfo.c:
2248 * gio/inotify/inotify-diag.c:
2249 * gio/inotify/inotify-kernel.c:
2250 Various code cleanups from Kjartan Maraas
2252 2007-11-14 Alexander Larsson <alexl@redhat.com>
2254 * gio/gioscheduler.c:
2256 Set up threadpool so that we cache 2 unused
2257 idle threads for at 15 secs. This means we
2258 will reuse thread-local data (like dbus connections)
2261 2007-11-14 Alexander Larsson <alexl@redhat.com>
2263 * gio/fam/fam-helper.c:
2264 * gio/fam/gfamdirectorymonitor.c:
2265 * gio/fam/gfamfilemonitor.c:
2267 * gio/gcontenttype.c:
2268 * gio/gdatainputstream.c:
2269 * gio/gdataoutputstream.c:
2273 * gio/gfileattribute.h:
2274 * gio/gfileenumerator.c:
2276 * gio/ginputstream.c:
2279 * gio/glocalfileinfo.c:
2280 * gio/goutputstream.c:
2281 * gio/gpollfilemonitor.c:
2282 * gio/gsimpleasyncresult.c:
2283 * gio/gunixmounts.c:
2284 * gio/gunixmounts.h:
2285 * gio/inotify/ginotifydirectorymonitor.c:
2286 * gio/inotify/ginotifyfilemonitor.c:
2287 * gio/inotify/inotify-diag.c:
2288 * gio/inotify/inotify-kernel.c:
2289 * gio/inotify/inotify-path.c:
2291 * gio/test-streams.c:
2292 * programs/gio-info.c:
2293 * programs/gio-monitor-dir.c:
2294 * programs/gio-monitor-file.c:
2295 Various code cleanups from Kjartan Maraas
2297 2007-11-13 Alexander Larsson <alexl@redhat.com>
2300 Handle the uri-scheme calls for dummy files
2302 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2304 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2305 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2306 to avoid clash with the C++ keyword.
2308 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2310 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2311 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2313 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2315 * gio/glocaldirectorymonitor.c:
2316 * gio/glocalfilemonitor.c:
2317 * gio/gunionvolumemonitor.c:
2318 Don't use g_once_init_*() for initializations that could fail and
2319 could leave the initialization variable set to 0 but use GOnce.
2320 This prevents a deadlock on the second call when trying to create
2321 a monitor and no monitor type is available. Thanks to Sven Herzberg
2324 2007-11-11 Sven Herzberg <sven@imendio.com>
2326 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2327 #ifdef (make it work on MacOS X again)
2329 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2331 Fixes Changelog for last two commits (sorry guys).
2333 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2335 * gio/gbufferedinputstream.c:
2336 * gio/gdatainputstream.c:
2338 * gio/gfileoutputstream.c:
2339 * gio/gfilterinputstream.c:
2340 * gio/glocalfileinputstream.c:
2343 More consistency fixes in g*stream.c files.
2344 Significant clean of gfile's documentation, filling in of
2345 asynchronous operations documentation.
2347 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2349 * gio/gasyncresult.c:
2350 * gio/gbufferedinputstream.c:
2351 * gio/gbufferedoutputstream.c:
2352 * gio/gcancellable.c:
2353 * gio/gcontenttype.c:
2354 * gio/gdatainputstream.c:
2355 * gio/gdataoutputstream.c:
2356 * gio/gdesktopappinfo.c:
2359 * gio/gfileattribute.c:
2360 * gio/gio/gfileenumerator.c:
2362 * gio/gfileinputstream.c:
2363 * gio/gfilemonitor.c:
2364 * gio/gfileoutputstream.c:
2365 * gio/ginputstream.c:
2367 * gio/gioscheduler.c:
2368 * gio/gloadableicon.c:
2369 * gio/glocalfileoutputstream.c:
2370 * gio/gmemoryoutputstream.c:
2371 * gio/gmountoperation.c:
2372 * gio/goutputstream.c:
2374 * gio/gsimpleasyncresult.c:
2375 * gio/gunionvolumemonitor.c:
2376 * gio/gunixmounts.c:
2377 * gio/gunixvolume.c:
2381 * gio/gvolumemonitor.c:
2382 Updated documentation stubs, working towards consistency and
2385 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2387 * gio/gmemoryoutputstream.c:
2388 * gio/gmemoryoutputstream.h:
2389 Change g_memory_output_stream_set_free_on_close() to
2390 g_memory_output_stream_set_free_data() as this makes more sense and
2391 is more consistent with GMemoryInputStream.
2393 2007-11-07 Alexander Larsson <alexl@redhat.com>
2400 Change how we find the default vfs so that
2401 we can handle a gvfs failing to init
2403 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2405 * gio/gbufferedoutputstream.c:
2406 * gio/gdatainputstream.c:
2407 * gio/gdataoutputstream.c:
2408 * gio/gfileinputstream.c:
2409 * gio/gfileoutputstream.c:
2410 * gio/gfilterinputstream.c:
2411 * gio/gfilteroutputstream.c:
2412 * gio/ginputstream.c:
2413 * gio/gmemoryinputstream.c:
2414 * gio/gmemoryoutputstream.c:
2415 * gio/goutputstream.c:
2416 * gio/gsimpleasyncresult.c:
2417 * gio/gsocketinputstream.c:
2418 * gio/gsocketoutputstream.c:
2419 Add guards to the remaining public functions, add a TODO for
2420 an unimplemented function and remove some useless guards.
2422 2007-11-07 Alexander Larsson <alexl@redhat.com>
2425 Autoconf checks for the various types of
2426 getpwuid_r and getgrgid_r
2428 * gio/glocalfileinfo.c:
2429 Use the autoconf checks from above
2431 2007-11-07 Alexander Larsson <alexl@redhat.com>
2434 (g_local_file_query_filesystem_info):
2435 Some fixes for the statvfs case
2437 2007-11-07 Alexander Larsson <alexl@redhat.com>
2440 (g_local_file_query_filesystem_info):
2441 Pick the "best" of statfs / statvfs for the system
2442 if both are availible.
2444 2007-11-07 Alexander Larsson <alexl@redhat.com>
2446 Solaris fixes from Halton.Huo@Sun.COM:
2453 * gio/glocalfileinfo.c:
2454 Fix for solaris definition of getpwuid_r
2456 * gio/test-streams.c:
2457 Use G_GNUC_PRETTY_FUNCTION
2459 2007-11-07 Alexander Larsson <alexl@redhat.com>
2461 * gio/gdesktopappinfo.c:
2462 (update_default_list):
2463 Remove double semicolon.
2464 Patch from Jens Granseuer
2466 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2468 * docs/reference/gio/gio-sections.txt:
2469 * gio/gbufferedinputstream.c:
2470 * gio/gbufferedinputstream.h:
2471 * gio/gdatainputstream.c:
2472 * gio/gfileenumerator.c:
2473 * gio/gioscheduler.c:
2474 * gio/gunionvolumemonitor.c:
2476 * programs/gio-save.c:
2477 Fix typo: availible -> available. Unfortuntely this breaks API
2478 and ABI as g_buffered_input_stream_get_available() was renamed.
2480 * gio/gunixmounts.c:
2481 * gio/gbufferedinputstream.c:
2482 Add guards for public functions.
2484 2007-11-06 Ross Burton <ross@openedhand.com>
2486 * docs/reference/gio/Makefile.am:
2487 Fix invalid += usage which automake 1.10 doesn't like.
2489 2007-11-06 Alexander Larsson <alexl@redhat.com>
2492 (g_app_launch_context_class_init):
2495 Patch from Ross Burton
2497 2007-11-06 Alexander Larsson <alexl@redhat.com>
2500 Post release version bump
2502 === gio-standalone 0.1.1 ===
2504 2007-11-06 Alexander Larsson <alexl@redhat.com>
2507 Bump version to 0.1.1
2509 * gio/gsimpleasyncresult.c:
2510 (g_simple_async_result_set_from_error):
2511 Remove bogus g_return_if_fail
2513 2007-11-06 Alexander Larsson <alexl@redhat.com>
2516 The name is gio-standalone
2519 Add top src/builddir to includedir
2521 2007-11-06 Alexander Larsson <alexl@redhat.com>
2523 * docs/reference/gio/gio-sections.txt:
2525 * gio/gbufferedinputstream.c:
2526 * gio/gbufferedoutputstream.c:
2527 * gio/gcancellable.c:
2528 * gio/gdatainputstream.h:
2529 * gio/gdataoutputstream.c:
2530 * gio/gdataoutputstream.h:
2531 * gio/gdirectorymonitor.c:
2533 * gio/gfileattribute.c:
2534 * gio/gfileattribute.h:
2535 * gio/gfileenumerator.c:
2536 * gio/gfileenumerator.h:
2539 * gio/gfileinputstream.h:
2540 * gio/gfilemonitor.c:
2541 * gio/gfileoutputstream.h:
2542 * gio/glocalfilemonitor.h:
2543 * gio/glocalfileoutputstream.h:
2544 * gio/gmemoryinputstream.c:
2545 * gio/gmemoryoutputstream.c:
2546 * gio/gmountoperation.c:
2547 * gio/goutputstream.c:
2548 * gio/goutputstream.h:
2550 * gio/gsimpleasyncresult.c:
2551 * gio/gunixmounts.c:
2552 * gio/gunixmounts.h:
2554 * gio/inotify/inotify-helper.c:
2555 Fix gtk-doc warnings
2557 Patch from Ross Burton
2559 2007-11-06 Alexander Larsson <alexl@redhat.com>
2561 * gio/gfilenamecompleter.c:
2562 (g_filename_completer_get_completions):
2565 * gio/gunixvolume.c:
2566 Remove unused function
2568 Patches from Ross Burton
2570 2007-11-06 Alexander Larsson <alexl@redhat.com>
2575 Padding not needed for interfaces
2577 2007-11-06 Alexander Larsson <alexl@redhat.com>
2579 * gio/gfilemonitor.c:
2583 Make giotypes.h an internal file
2586 * gio/gbufferedinputstream.h:
2587 * gio/gbufferedoutputstream.h:
2588 * gio/gcancellable.h:
2589 * gio/gdatainputstream.h:
2590 * gio/gdataoutputstream.h:
2591 * gio/gdirectorymonitor.c:
2592 * gio/gdirectorymonitor.h:
2597 * gio/gfileattribute.h:
2598 * gio/gfileenumerator.h:
2603 * gio/gfilemonitor.c:
2604 * gio/gfilemonitor.h:
2605 * gio/gfilenamecompleter.c:
2606 * gio/gfilenamecompleter.h:
2607 * gio/gfilterinputstream.h:
2608 * gio/gfilteroutputstream.h:
2609 * gio/ginputstream.h:
2610 * gio/gmemoryinputstream.h:
2611 * gio/gmemoryoutputstream.h:
2612 * gio/gmountoperation.c:
2613 * gio/gmountoperation.h:
2614 * gio/gnativevolumemonitor.c:
2615 * gio/goutputstream.h:
2618 * gio/gsimpleasyncresult.c:
2619 * gio/gsimpleasyncresult.h:
2620 * gio/gsocketinputstream.h:
2621 * gio/gsocketoutputstream.h:
2622 * gio/gthemedicon.c:
2623 * gio/gthemedicon.h:
2627 * gio/gvolumemonitor.c:
2628 * gio/gvolumemonitor.h:
2629 Add padding in classes where it seems useful
2630 Don't include giotypes.h from public headers
2631 Move in Class definitions into c file where possible
2636 2007-11-06 Alexander Larsson <alexl@redhat.com>
2638 * docs/reference/gio/gio-docs.xml:
2639 Better structure for API docs
2641 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2644 * gio/gloadableicon.c:
2645 * gio/gsimpleasyncresult.c:
2646 * gio/gthemedicon.c:
2647 Add some more guards to public functions. Only files missing are now
2650 2007-11-06 Alexander Larsson <alexl@redhat.com>
2652 * docs/reference/gio/gio-docs.xml:
2653 Remove old files, add missing ones
2655 2007-11-06 Alexander Larsson <alexl@redhat.com>
2657 * docs/reference/gio/gio-sections.txt:
2660 Hide implementation classes
2662 * gio/gdriveprivate.h:
2663 * gio/gvolumeprivate.h:
2664 Remove non-existing function declarations
2666 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2669 Fix compilation warnings and add guards to the new functions.
2671 * gio/gasyncresult.c:
2673 Add guards to the public functions.
2676 Implement get_path().
2678 2007-11-06 Alexander Larsson <alexl@redhat.com>
2680 * gio/gfilenamecompleter.c:
2681 Make g_filename_completer_get_completions
2682 return char ** instead of GList for
2685 * docs/reference/gio/gio-docs.xml:
2686 * docs/reference/gio/gio-sections.txt:
2688 * gio/gasyncresult.c:
2689 * gio/gbufferedinputstream.c:
2690 * gio/gbufferedoutputstream.c:
2691 * gio/gcancellable.c:
2692 * gio/gcontenttype.c:
2693 * gio/gdatainputstream.c:
2694 * gio/gdataoutputstream.c:
2695 * gio/gdesktopappinfo.c:
2696 * gio/gdirectorymonitor.c:
2700 * gio/gfileattribute.c:
2701 * gio/gfileenumerator.c:
2704 * gio/gfileinputstream.c:
2705 * gio/gfilemonitor.c:
2706 * gio/gfilenamecompleter.c:
2707 * gio/gfilenamecompleter.h:
2708 * gio/gfileoutputstream.c:
2709 * gio/gfilterinputstream.c:
2711 * gio/ginputstream.c:
2713 * gio/gioscheduler.c:
2714 * gio/gloadableicon.c:
2715 * gio/glocaldirectorymonitor.c:
2717 * gio/glocalfileinputstream.c:
2718 * gio/glocalfilemonitor.c:
2719 * gio/glocalfileoutputstream.c:
2721 * gio/gmemoryinputstream.c:
2722 * gio/gmemoryoutputstream.c:
2723 * gio/gmountoperation.c:
2724 * gio/goutputstream.c:
2725 * gio/gpollfilemonitor.c:
2727 * gio/gsimpleasyncresult.c:
2728 * gio/gsocketinputstream.c:
2729 * gio/gsocketoutputstream.c:
2730 * gio/gthemedicon.c:
2731 * gio/gunionvolumemonitor.c:
2733 * gio/gunixmounts.c:
2734 * gio/gunixvolume.c:
2735 * gio/gunixvolumemonitor.c:
2739 * gio/gvolumemonitor.c:
2740 * gio/gwin32appinfo.c:
2741 Add (mostly stub) doc strings to public functions.
2742 Patch from Andrew Walton (awalton@gmail.com)
2744 2007-11-06 Alexander Larsson <alexl@redhat.com>
2746 * gio/gappinfo.[ch]:
2747 Added GAppLaunchContext object and pass that to launch.
2748 This allows simple implementation of both
2749 launch-on-screen and startup notification via a gtk+
2750 subclass of GAppLaunchContext
2752 * gio/gdesktopappinfo.c:
2753 Implement GAppLaunchContext API
2755 * gio/gwin32appinfo.c:
2758 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2760 * gio/gmountoperation.c:
2761 Add some guards to GMountOperation's public functions.
2763 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2767 * gio/gcancellable.c:
2768 * gio/gdirectorymonitor.c:
2770 * gio/gfileenumerator.c:
2771 * gio/gfilemonitor.c:,
2772 * gio/gfilenamecompleter.c:
2775 * gio/gioscheduler.c:
2779 * gio/gvolumemonitor.c:
2780 Add even more guards to various public functions.
2782 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2785 Add guards to the public functions of GAppInfo.
2787 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2789 * gio/gcontenttype.c:
2790 Add some more guards for public functions.
2792 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2794 * gio/fam/fam-module.c:
2795 * gio/fam/gfamdirectorymonitor.c:
2796 * gio/fam/gfamdirectorymonitor.h:
2797 * gio/fam/gfamfilemonitor.c:
2798 * gio/fam/gfamfilemonitor.h:
2799 * gio/inotify/ginotifydirectorymonitor.c:
2800 * gio/inotify/ginotifydirectorymonitor.h:
2801 * gio/inotify/ginotifyfilemonitor.c:
2802 * gio/inotify/ginotifyfilemonitor.h:
2803 Add proper copyright information and remove an unused variable
2804 in the GInotifyFileMonitor constructor.
2806 * gio/gcancellable.c:
2807 Add a guard for a public function and an assertion to prevent
2808 an undefined program state.
2810 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
2812 * gio/gfileattribute.c:
2813 Don't run into an assertion if the given attribute value is NULL
2814 in g_file_attribute_value_get_*() but instead return a fallback
2815 value that makes sense in most situations. Passing them a attribute
2816 value with the wrong type will still run into an assertion.
2818 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2820 * gio/gfileattribute.c:
2822 Add even more guards to the public functions. Also fix the refcounting
2823 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
2824 let g_file_info_list_attributes() filter the attributes by namespace
2825 instead of simply ignoring the namespace parameter.
2827 2007-11-03 Sven Herzberg <sven@imendio.com>
2829 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
2830 (This makes gio work on MacOS X again)
2832 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2835 Build the gio subdirectory before the docs. Otherwise the build will
2838 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
2839 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
2840 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
2841 Add guards to the public functions.
2843 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
2845 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
2846 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
2847 to prevent a compiler warning.
2849 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
2850 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
2851 return something in the non-void function find_topdir_for().
2853 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
2860 2007-11-01 Ryan Lortie <desrt@desrt.ca>
2862 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
2863 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
2864 * gwin32appinfo.c (g_win32_app_info_launch):
2865 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
2866 envp_for_startup_id, g_desktop_app_info_launch,
2867 g_desktop_app_info_launch_uris):
2869 Give an opaque 'startup_id' string instead of 'envp'.
2870 Support empty file lists for launching new windows.
2871 Fix infinite recursion bug when launching URIs.
2873 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2876 Add guard to the new g_file_get_uri_scheme() function.
2878 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2881 Convert a g_return_val_if_fail() to setting the GError instead as
2882 otherwise applications have to verify the parameter before otherwise
2883 and the parameter might come directly from the user.
2885 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2887 * gio/inotify/ginotify*.[ch]:
2888 Add missing copyright information.
2890 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
2893 Add guards in the beginning of public functions to check for valid
2894 parameters and fix a bug in copy_stream_with_progress() that could've
2895 caused writing less bytes than reading.
2896 * gio/glocalfileinfo.c:
2897 Check for a NULL parameter and set the GError accordingly then.
2898 * gio/goutputstream.c:
2899 Fix the same bug as in gfile.c that could've caused writing less bytes
2900 than reading in g_output_stream_real_splice().
2902 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
2905 Use the correct gvolumeprivate.h naming
2907 2007-11-01 Christian Kellner <gicmo@gnome.org>
2910 Remove leftover "$(daemon_sources)" entry.
2912 2007-11-01 Christian Kellner <gicmo@gnome.org>
2917 Add copyright information to source files.
2919 2007-11-01 Alexander Larsson <alexl@redhat.com>
2923 Add g_file_get_uri_scheme
2925 2007-11-01 Alexander Larsson <alexl@redhat.com>
2928 * gio/gdesktopappinfo.c:
2929 * gio/gwin32appinfo.c:
2930 Add g_app_info_get_default_for_uri_scheme.
2932 2007-11-01 Alexander Larsson <alexl@redhat.com>
2935 Correct filename for gdriveprivate.h
2937 2007-10-31 Alexander Larsson <alexl@redhat.com>
2940 Rename id:value to id:file
2943 * gio/glocalfileinfo.c:
2946 2007-10-31 Alexander Larsson <alexl@redhat.com>
2948 * gio/gunixvolume.c:
2950 Remove g_volume_get_platform_id, as thats not
2951 needed with the simpler union volume monitor
2953 2007-10-31 Alexander Larsson <alexl@redhat.com>
2956 * gio/guniondrive.[ch]: Removed.
2957 * gio/gunionvolume.[ch]: Removed.
2958 Remove GUnionDrive/Volume
2960 * gio/gunionvolumemonitor.c:
2961 Simplify union volume monitor, now we
2962 only have one native volume monitor and
2963 we use the actual volumes/drives from the
2964 child monitors instead of wrapping them
2966 * gio/gnativevolumemonitor.[ch]:
2967 Base class for native volume monitors.
2968 Includes priority and get_volume_for_mountpoint
2971 Add g_file_find_enclosing_volume
2974 Remove volume name fs attribute
2975 Add readonly fs attribute
2978 Implement readonly attribute
2979 remove volume name attribute
2980 Implement find_enclosing volume
2982 * gio/gunixmounts.c:
2983 Add a volume for "/".
2985 * gio/gunixvolume.[ch]:
2986 Set better name for /
2988 * gio/gunixvolumemonitor.[ch]:
2989 Derive from GNativeVolumeMonitor
2990 Implement get_volume_for_mountpoint
2993 GVolume typedef moved to gfile.h
2995 * gio/gvolumeprivate.h:
2996 Add g_volume_get_for_mount_path
2998 2007-10-31 Alexander Larsson <alexl@redhat.com>
3000 * gio/gunixmounts.[ch]:
3001 Add cache info to unix mount listers
3002 Make getmntent use threadsafe
3003 Add is_system_internal attribute for GUnixMount
3005 * gio/gunixvolume.c:
3006 (g_unix_volume_new):
3007 Use is_system_internal instead of own code
3009 * gio/glocaldirectorymonitor.c:
3010 * gio/gunixvolumemonitor.c:
3011 Update to new gunixmounts API
3016 2007-10-30 Alexander Larsson <alexl@redhat.com>
3019 Add volume name fsinfo attribute
3022 Read volume name info
3024 * gio/gunionvolumemonitor.c:
3025 Fix infinite loops when finalizing a union volume monitor
3027 2007-10-30 Alexander Larsson <alexl@redhat.com>
3029 * gio/goutputstream.[ch]:
3030 Add splice() with default implementation
3032 * gio/gsocketoutputstream.c:
3033 (g_socket_output_stream_write):
3034 Return error on cancellation correctly.
3036 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3038 * gio/glocalfile.c (g_local_file_trash):
3039 Do not leak a string.
3041 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3043 * gio/gfile.c (g_file_load_contents):
3044 Unref the stream after closing it.
3046 2007-10-25 Alexander Larsson <alexl@redhat.com>
3048 * gio/gioscheduler.h:
3051 2007-10-25 Alexander Larsson <alexl@redhat.com>
3055 Add g_file_has_uri_scheme and implement for local files
3057 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3059 * gio/gdesktopappinfo.c: do not leak a string.
3061 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3063 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3064 (g_local_directory_monitor_new):
3065 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3066 (g_local_file_monitor_new):
3067 Only look for the monitor type that should be used the first time
3068 and use g_qsort_with_data() instead of our own bubble sort
3071 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3074 * gio/fam/Makefile.am:
3075 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3076 * gio/fam/fam-helper.h:
3077 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3078 * gio/fam/gfamdirectorymonitor.c:
3079 * gio/fam/gfamdirectorymonitor.h:
3080 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3081 * gio/fam/gfamfilemonitor.h:
3082 * gio/glocaldirectorymonitor.c:
3083 * gio/glocaldirectorymonitor.h:
3084 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3085 * gio/glocalfilemonitor.h:
3086 * gio/inotify/Makefile.am:
3087 * gio/inotify/ginotifydirectorymonitor.c:
3088 * gio/inotify/ginotifydirectorymonitor.h:
3089 * gio/inotify/ginotifyfilemonitor.c:
3090 * gio/inotify/ginotifyfilemonitor.h:
3091 Implement the FAM and Inotify monitors as
3092 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3093 their own GIO module. GLocal(Directory|File)Monitor will use the
3094 monitor with the highest rank that is supported on that machine.
3096 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3099 Change GIO module dir to $(libdir)/gio/modules and change
3100 the log domain from GVFS to GIO. Also only export symbols starting
3101 with g_ in the resulting library.
3102 * gio/test-streams.c: (main):
3103 Set log handler for the GIO log domain.
3105 2007-10-22 Alexander Larsson <alexl@redhat.com>
3107 * gio/gfilenamecompleter.[ch]:
3108 Add g_filename_completer_set_dirs_only
3110 2007-10-22 Alexander Larsson <alexl@redhat.com>
3113 * gio/gurifuncs.[ch]:
3114 Add some simple URI helpers
3116 * gio/gfilenamecompleter.[ch]:
3117 Added object for filename (parse name actually) completion
3120 Handle ~ in parse names
3122 2007-10-17 Alexander Larsson <alexl@redhat.com>
3125 * gio/glocalfileinfo.c:
3126 Add and implement id:value attribute
3128 2007-10-17 Alexander Larsson <alexl@redhat.com>
3131 * gio/guniondrive.c:
3133 Add and implement g_drive_has_volumes
3135 2007-10-17 Alexander Larsson <alexl@redhat.com>
3138 * gio/glocalfileinfo.[ch]:
3139 Add unix:is_mountpoint and implement for local files
3141 2007-10-16 Alexander Larsson <alexl@redhat.com>
3143 * gio/gunionvolumemonitor.c:
3144 (g_union_volume_monitor_init):
3145 Fix up the unix type getting so that it works with gcc
3147 2007-10-12 Alexander Larsson <alexl@redhat.com>
3150 * gio/glocalfileinfo.c:
3151 Add thumbnail:failed to file info
3153 2007-10-12 Richard Hult <richard@imendio.com>
3155 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3156 optimizing away the get_type call (happens with some gcc versions,
3157 like the one shipped with OS X 10.4).
3159 2007-10-12 Alexander Larsson <alexl@redhat.com>
3161 * gio/glocalfileinfo.c:
3162 (_g_local_file_info_set_attribute):
3163 Fix build if not HAVE_XATTR
3164 Patch from Milosz Derezynski <internalerror@gmail.com>
3166 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3168 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3169 around for review, otherwise I would have asked you before
3172 2007-10-11 Alexander Larsson <alexl@redhat.com>
3175 Add thumbnail:path attribute
3177 * gio/glocalfileinfo.c:
3178 Implement thumbnail:path for local files
3180 2007-10-11 Alexander Larsson <alexl@redhat.com>
3182 * gio/glocalfileinfo.c:
3183 (_g_local_file_info_get):
3184 Avoid duplicate icon names
3186 2007-10-11 Alexander Larsson <alexl@redhat.com>
3188 * gio/gthemedicon.[ch]:
3189 Change g_themed_icon_get_names return type to const
3191 2007-10-10 Alexander Larsson <alexl@redhat.com>
3193 * gio/glocalfileinfo.c:
3194 Don't reference freed memory
3196 2007-10-10 Alexander Larsson <alexl@redhat.com>
3198 * gio/gfileattribute.c:
3201 * gio/glocalfileinfo.c:
3204 2007-10-10 Alexander Larsson <alexl@redhat.com>
3207 Check for NULL icons
3209 * gio/gfileattribute.c:
3210 Don't dup when getting objects (same as for string attributes)
3212 * gio/gicon.c (g_icon_equal):
3213 Safely handle NULLs in equal
3215 2007-10-10 Alexander Larsson <alexl@redhat.com>
3218 Fix c++ compilation issues
3219 Patch from Milosz Derezynski <internalerror@gmail.com>
3221 2007-10-10 Alexander Larsson <alexl@redhat.com>
3223 * programs/gio-monitor-dir.c:
3224 Don't crash if dir monitor not supported.
3226 2007-10-09 Alexander Larsson <alexl@redhat.com>
3229 Add missing G_END_DECLS
3231 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3233 * gio/gfile.c: (g_file_set_display_name),
3234 (g_file_query_settable_attributes),
3235 (g_file_query_writable_namespaces):
3236 Return NULL not FALSE on errors as the return type is a pointer.
3238 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3240 * gio/glocalfile.c: (g_local_file_monitor_file):
3241 Don't call monitor_file on the default interface vtable (which
3242 is NULL) but simply return NULL. The caller, GFile, will create a
3243 polling monitor if NULL is returned.
3245 2007-10-09 Alexander Larsson <alexl@redhat.com>
3249 * gio-unix-2.0.pc.in:
3250 Add gio-unix-2.0.pc if OS_UNIX
3253 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3255 2007-10-09 Alexander Larsson <alexl@redhat.com>
3257 * gio/gunixmounts.[ch]:
3258 Make unix mount monitoring API sane.
3259 Now its just a object with mounts_changed
3260 and mountpoints_changed signals.
3262 * gio/glocaldirectorymonitor.c:
3263 * gio/gunixvolumemonitor.c:
3264 Use new mount monitor api
3266 2007-10-09 Alexander Larsson <alexl@redhat.com>
3268 * gio/gunixmounts.[ch]:
3269 Move guess type into one call for mounts and one for mountpoints
3272 * gio/gunixvolume.c:
3275 2007-10-09 Alexander Larsson <alexl@redhat.com>
3277 * gio/gunixmounts.[ch]:
3278 Remove _ prefix in preparation to make this semi-public
3279 Hide implementation of structs
3281 * gio/glocaldirectorymonitor.c:
3283 * gio/gunixvolume.c:
3284 * gio/gunixvolumemonitor.c:
3285 Update for above API changes
3287 2007-10-08 Alexander Larsson <alexl@redhat.com>
3290 Better polling fallback. This also handles the case where we have
3291 a monitor_file implementation, but it fails.
3293 2007-10-08 Alexander Larsson <alexl@redhat.com>
3297 * gio/gunixmounts.c:
3298 * programs/gio-monitor-dir.c:
3299 * programs/gio-monitor-file.c:
3300 Added cancellable to file monitoring calls.
3301 These are really sync calls and need this.
3303 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3305 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3306 (g_local_vfs_class_init):
3307 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3308 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3310 2007-10-05 Alexander Larsson <alexl@redhat.com>
3312 * gio/gdirectorymonitorprivate.h:
3313 * gio/gfilemonitorprivate.h:
3314 * gio/gdirectorymonitor.h:
3315 * gio/gfilemonitor.h:
3316 Remove *private.h and move to the public API, so that
3317 we can do implementations outside gio (such as in gvfs)
3319 * gio/gdirectorymonitor.c:
3320 * gio/gfilemonitor.c:
3321 * gio/glocaldirectorymonitor.c:
3322 * gio/gpollfilemonitor.c:
3323 * gio/inotify/inotify-helper.c:
3324 * gio/fam/fam-helper.c:
3325 Update to the new header names
3327 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3329 * gio/gdirectorymonitor.c:
3330 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3333 2007-10-04 Alexander Larsson <alexl@redhat.com>
3335 * gio/glocalfileinfo.c (get_access_rights):
3336 Set CAN_TRASH when we can move the file.
3337 We should really also check for a parent trash dir.
3339 2007-10-04 Alexander Larsson <alexl@redhat.com>
3341 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3342 Add can_trash access attribute
3344 2007-10-04 Alexander Larsson <alexl@redhat.com>
3347 (g_local_file_trash):
3348 Create info file first. This is per-spec and allows
3349 us to actually trash directories.
3351 2007-10-02 Alexander Larsson <alexl@redhat.com>
3353 * gio/gdesktopappinfo.c:
3354 Implement the new mime support code.
3355 Always set app as handling mimetype when being set as default for it
3357 2007-10-01 Alexander Larsson <alexl@redhat.com>
3359 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3360 Fix up check for xattrs:
3362 2007-10-01 Alexander Larsson <alexl@redhat.com>
3365 (g_app_info_set_as_default_for_extension):
3366 (g_app_info_add_supports_type):
3367 (g_app_info_can_remove_supports_type):
3368 (g_app_info_remove_supports_type):
3369 Make these fail nicely if not implemented
3371 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3373 * gio/glocalfileoutputstream.c:
3374 * gio/glocalfileoutputstream.h:
3379 * programs/gio-save.c:
3380 Add a GFileCreateFlags argument to operations that can create
3383 2007-10-01 Alexander Larsson <alexl@redhat.com>
3385 * gio/gappinfo.[ch]:
3386 * gio/gdesktopappinfo.c:
3387 Add more (stubbed out) mime API needed for nautilus
3389 2007-10-01 Alexander Larsson <alexl@redhat.com>
3392 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3393 Add g_app_info_set_as_default_for_extension.
3395 * gio/gdesktopappinfo.c:
3396 Dummy for g_app_info_set_as_default_for_extension
3397 Support flags in g_app_info_create_from_commandline
3399 * gio/gwin32appinfo.c:
3401 Update for API changes
3403 * gio/gthemedicon.c:
3404 Properly NULL-terminate list of icon names
3406 2007-09-28 Alexander Larsson <alexl@redhat.com>
3408 * gio/gloadableicon.h:
3409 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3411 2007-09-28 Alexander Larsson <alexl@redhat.com>
3414 Install headers in $includedir/gio-standalone/
3416 * gio-2.0.pc.in: Added.
3417 * gio-standalone.pc.in: Removed.
3420 Renamed pkg-config file to match glib (for future move)
3421 Update to the new include dir
3424 Add more TODO comments
3426 2007-09-28 Alexander Larsson <alexl@redhat.com>
3428 * gio/gdesktopappinfo.[ch]:
3429 Expose new_from_filename
3430 Add getter for is_hidden and handle it better
3432 2007-09-28 Alexander Larsson <alexl@redhat.com>
3434 * gio/gfileinfo.[ch]:
3435 Rename g_file_size_format_for_display to
3436 g_format_file_size_for_display.
3437 Now it doesn't have the g_file prefix, so we
3438 can later move it to glib.
3440 2007-09-28 Alexander Larsson <alexl@redhat.com>
3442 * gio/gappinfo.[ch]:
3443 Add g_app_info_get_id and g_app_info_get_executable.
3444 Make all getters non-reffing
3445 Make g_app_info_launch take GFile arguments.
3446 Add must_support_uris argument to g_app_info_get_default_for_type.
3448 * gio/gwin32appinfo.c:
3449 Update to GAppInfo api changes
3451 * gio/gdesktopappinfo.c:
3452 Update to GAppInfo api changes
3453 Implement supports_xdg_startup_notify
3455 * gio/gfileicon.c (g_file_icon_get_file):
3456 Make getter non-reffing.
3461 2007-09-27 Alexander Larsson <alexl@redhat.com>
3463 * gio/gfileinfo.[ch]:
3464 Add g_file_size_format_for_display helper
3466 2007-09-27 Alexander Larsson <alexl@redhat.com>
3468 * gio/glocalfileinfo.c:
3469 Set UNIX_GID from gid, not from uid
3471 2007-09-27 Alexander Larsson <alexl@redhat.com>
3474 Add g_file_set_attributes_async
3476 2007-09-27 Alexander Larsson <alexl@redhat.com>
3478 * gio/glocalfile.c (g_local_file_set_display_name):
3479 Fix set_display_name to actually rename to the right place.
3480 Use lstat to look for existing files so we don't overwrite
3483 2007-09-26 Alexander Larsson <alexl@redhat.com>
3486 Add g_file_set_display_name_async()
3488 2007-09-26 Alexander Larsson <alexl@redhat.com>
3491 Add load_partial_contents async calls
3494 Make internal function static
3496 2007-09-26 Alexander Larsson <alexl@redhat.com>
3498 * gio/glocalfileinfo.c:
3499 Correctly detect broken symlinks
3501 2007-09-26 Alexander Larsson <alexl@redhat.com>
3503 * gio/gcancellable.c (g_cancellable_cancel):
3504 Allow cancel on NULL cancellable
3506 2007-09-25 Alexander Larsson <alexl@redhat.com>
3508 * gio/gsimpleasyncresult.c:
3509 Don't allocate g_error manually.
3510 Fixes g_slice/g_new mixup crash
3512 2007-09-25 Alexander Larsson <alexl@redhat.com>
3514 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3515 Actually set active_backend.
3516 This means the monitor will be cancelled correctly.
3518 2007-09-25 Alexander Larsson <alexl@redhat.com>
3520 * gio/gdirectorymonitor.c:
3521 Set timeout to NULL when destroying
3523 2007-09-25 Alexander Larsson <alexl@redhat.com>
3526 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3527 that is a better description of the error.
3529 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3531 * gio/gvfs.c: (g_vfs_get_local):
3532 Make the local vfs variable static. The same instance should
3535 2007-09-24 Alexander Larsson <alexl@redhat.com>
3537 * gio/glocalfileinfo.c:
3538 Pass in actual length read into sniffer, not the length
3541 2007-09-21 Alexander Larsson <alexl@redhat.com>
3543 * gio/gfileenumerator.c:
3546 * gio/gfileinputstream.c:
3547 * gio/gfileoutputstream.c:
3548 * gio/ginputstream.c:
3549 * gio/goutputstream.c:
3550 Don't crash if async callbacks are NULL
3552 2007-09-20 Alexander Larsson <alexl@redhat.com>
3555 Add async enumerate_children method and default
3558 2007-09-20 Alexander Larsson <alexl@redhat.com>
3561 Add g_file_contains_file & g_file_get_relative_path, since they
3562 were needed for nautilus.
3563 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3568 Implement new methods
3570 2007-09-17 Alexander Larsson <alexl@redhat.com>
3573 * gio/gfileinputstream.[ch]:
3574 * gio/gfileoutputstream.[ch]:
3576 * gio/glocalfileenumerator.[ch]:
3577 * gio/glocalfileinfo.[ch]:
3578 * gio/glocalfileinputstream.c:
3579 * gio/glocalfileoutputstream.c:
3580 * gio/gpollfilemonitor.c:
3581 * programs/gio-copy.c:
3582 * programs/gio-info.c:
3583 * programs/gio-move.c:
3584 Rename get_file_info to query_info() to make it clearer
3585 that these are not simple getters, but do i/o.
3587 2007-09-17 Alexander Larsson <alexl@redhat.com>
3589 * gio/gdatainputstream.[ch]:
3590 * gio/test-streams.c:
3591 Use _read_XXX instead of _get_XXX for the i/o calls
3594 2007-09-17 Alexander Larsson <alexl@redhat.com>
3597 Added needed stuff to TODO comment
3599 2007-09-17 Alexander Larsson <alexl@redhat.com>
3601 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3602 Don't error out removing the backup copy if it doesn't
3605 2007-09-14 Alexander Larsson <alexl@redhat.com>
3607 * programs/Makefile.am:
3608 * programs/gvfs-*.c:
3610 Renamed apps from gvfs-xxx to gio-xxx.
3612 2007-09-14 Alexander Larsson <alexl@redhat.com>
3615 * gio/gfileoutputstream.[ch]:
3616 * gio/glocalfileoutputstream.c:
3617 * programs/gvfs-save.c:
3618 g_file_output_stream_get_etag doesn't do i/o, so remove
3619 cancellation and error.
3621 2007-09-14 Alexander Larsson <alexl@redhat.com>
3624 Add new_etag output to replace_contents functions
3626 2007-09-14 Alexander Larsson <alexl@redhat.com>
3628 * gio/gfileoutputstream.[ch]:
3629 Add async get_file_info and default implementation
3631 2007-09-14 Alexander Larsson <alexl@redhat.com>
3633 * gio/gfileinputstream.c:
3634 Implement fallback wrapper for async get_file_info
3636 2007-09-14 Alexander Larsson <alexl@redhat.com>
3639 Add etag out argument to load_contents
3644 2007-09-14 Alexander Larsson <alexl@redhat.com>
3646 * gio/gcontenttype.c (looks_like_text):
3647 Whitespace like tab, cr and lf do not make the
3650 2007-09-14 Alexander Larsson <alexl@redhat.com>
3652 * gio/gfileinputstream.[ch]:
3653 Add async get_file_info.
3655 2007-09-13 Alexander Larsson <alexl@redhat.com>
3657 * gio/goutputstream.c (g_output_stream_write_all):
3658 Allow NULL for bytes_written
3660 2007-09-13 Alexander Larsson <alexl@redhat.com>
3662 * gio/gmemoryinputstream.[ch]:
3663 Add accessors for data
3665 2007-09-13 Alexander Larsson <alexl@redhat.com>
3667 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3668 Don't crash if length is NULL