1 2008-03-14 Alexander Larsson <alexl@redhat.com>
4 (g_local_file_query_filesystem_info):
5 Use right define name for f_fstypename member check
7 2008-03-14 Alexander Larsson <alexl@redhat.com>
10 * fen/Makefile.am: Added.
11 * fen/fen-data.[ch]: Added.
12 * fen/fen-dump.[ch]: Added.
13 * fen/fen-helper.[ch]: Added.
14 * fen/fen-kernel.[ch]: Added.
15 * fen/fen-missing.[ch]: Added.
16 * fen/fen-node.[ch]: Added.
17 * fen/fen-sub.[ch]: Added.
18 * fen/gfendirectorymonitor.[ch]: Added.
19 * fen/gfenfilemonitor.[ch]: Added.
21 Added Solaris FEN file notification backend.
22 Patch from Lin Ma <Lin.Ma@Sun.COM>
24 2008-03-13 Tor Lillqvist <tml@novell.com>
26 * Makefile.am: Actually use the gio.def file when linking the
27 library on Windows. Produce .lib library for Microsoft's toolchain
28 when possible. Install the .lib and .def file like for the other
31 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
33 * tests/live-g-file.c:
34 Include live-g-file in standard set of tests, making a temporary
35 directory in source structure.
37 Clean target directory before the tests (write mode only)
39 2008-03-12 Tor Lillqvist <tml@novell.com>
41 Bug 517419 - gio win32 directory monitor
42 Implementation by Vlad Grecescu.
45 * win32/gwin32directorymonitor.h
46 * win32/gwin32directorymonitor.c: New files.
48 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
50 * Makefile.am: Add the win32 subdirectory.
52 2008-03-12 Tor Lillqvist <tml@novell.com>
54 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
55 normal struct stat on Unix but struct _stati64 on Windows to have
56 access to 64-bit file size information. Use that instead of struct
57 stat in the functions declared here in this private header.
59 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
60 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
61 warnings about unused functions and variables. Don't set
62 meaningless attributes like inode numbers on Windows.
64 2008-03-12 Benjamin Otte <otte@gnome.org>
67 trim whitespace so gtk-doc groks the function name
69 2008-03-12 Tor Lillqvist <tml@novell.com>
71 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
72 returning FALSE, on Win32.
74 2008-03-11 Alexander Larsson <alexl@redhat.com>
77 * glocalfileinfo.[ch]:
78 Correctly implement can_trash by actually
79 looking for a trash dir, not just assuming
82 2008-03-10 Matthias Clasen <mclasen@redhat.com>
84 * === Released 2.16.1 ===
86 2008-03-11 Alexander Larsson <alexl@redhat.com>
89 Fix crashes in new constructor and properties code
91 2008-03-10 Murray Cumming <murrayc@murrayc.com>
93 * gfile.c: Minor spelling correction in documentation:
94 existance -> existence.
96 2008-03-10 Matthias Clasen <mclasen@redhat.com>
98 * === Released 2.16.0 ===
100 2008-03-10 Matthias Clasen <mclasen@redhat.com>
102 * gio.symbols: Remove g_file_contains_file here, too.
104 2008-03-10 Matthias Clasen <mclasen@redhat.com>
106 * gthemedicon.c: Add properties to make bindings happy. (#517676,
107 Samuel Cormier-Iijima)
109 2008-03-08 Tor Lillqvist <tml@novell.com>
111 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
114 2008-03-07 Alexander Larsson <alexl@redhat.com>
117 (g_local_file_query_filesystem_info):
118 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
119 Patch from Jasper Lievisse Adriaanse
121 2008-03-06 Tor Lillqvist <tml@novell.com>
123 * gfileinfo.h: Correct milliseconds to microseconds in the doc
124 comments for the *_USEC attributes.
126 2008-03-06 Alexander Larsson <alexl@redhat.com>
128 * gfile.c (g_file_query_exists):
129 Add g_return_val_if_fail check (#520700)
131 2008-03-06 Alexander Larsson <alexl@redhat.com>
136 * gunionvolumemonitor.c:
139 * tests/live-g-file.c:
140 * xdgmime/xdgmimecache.c:
141 Fix sparse warnings (#519489)
143 2008-03-05 Alexander Larsson <alexl@redhat.com>
146 Make cancellation threadsafe (i.e.
147 guarantee its only done once, and always
150 * glocaldirectorymonitor.c:
151 Make sure we the monitor lives while the
152 mounts_changed callback is being called (#520484)
154 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
156 * gbufferedinputstream.c: Fix typo in parameter
159 2008-03-04 Alexander Larsson <alexl@redhat.com>
162 Remove deprecated symbols we kept for one release.
164 2008-03-04 Murray Cumming <murrayc@murrayc.com>
167 * goutputstream.c: Tiny documentation corrections.
169 2008-03-03 Alexander Larsson <alexl@redhat.com>
171 * gunionvolumemonitor.c:
173 Fix the adopt_orphan_mount vfunc to take a
174 volume_monitor reference in an ABI compat way.
175 This change is not API compat, but the added
176 arg is not used in the only user of this vfunc, so
177 all we get is a harmless warning in gvfs (#520169)
179 2008-03-01 Benjamin Otte <otte@gnome.org>
182 clarify docs for g_file_delete().
184 2008-02-29 Alexander Larsson <alexl@redhat.com>
188 Make sure empty files get text/plain type (#518720)
190 2008-02-27 Alexander Larsson <alexl@redhat.com>
196 (g_unix_volume_mount):
197 Add missing GMountMountFlags argument
199 2008-02-26 Alexander Larsson <alexl@redhat.com>
202 (g_local_file_delete):
203 Handle filesystems (like ntfs-3g) that return EEXIST instead
204 of ENOTEMPTY (#518816)
206 2008-02-25 Matthias Clasen <mclasen@redhat.com>
208 * === Released 2.15.6 ===
210 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
212 * gfile.c (g_file_find_enclosing_mount):
213 * ginputstream.c (g_input_stream_set_pending):
214 * glocalfile.c (g_local_file_find_enclosing_mount):
215 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
216 * goutputstream.c (g_output_stream_set_pending):
218 Fixup translator comments (#518578).
220 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
222 * gfile.c (g_file_find_enclosing_mount):
224 * glocalfile.c (g_local_file_find_enclosing_mount):
227 Fix a few typos in translator comments and documentation.
229 2008-02-25 Alexander Larsson <alexl@redhat.com>
236 Add translator comments (#518578)
238 2008-02-25 Alexander Larsson <alexl@redhat.com>
241 Reintroduce g_file_contains_file, keep around for one
242 unstable release cycle to avoid crashing to many apps.
243 Make sure to delete after release.
245 2008-02-25 Alexander Larsson <alexl@redhat.com>
248 Remove deprecated g_file_contains_file.
250 2008-02-25 Alexander Larsson <alexl@redhat.com>
253 Emit actual change signals in an idle handler.
254 This avoids reentrance and locking problems in
255 the file notification backends.
257 2008-02-25 Alexander Larsson <alexl@redhat.com>
260 (g_unix_mount_guess_should_display):
261 Remove type guessing, instead just display
262 mounts in /media and in ~/.
264 2008-02-25 Alexander Larsson <alexl@redhat.com>
267 Make new strings reuse old ones.
269 2008-02-25 Alexander Larsson <alexl@redhat.com>
272 Implement trashing and filesystem::readonly for win32 (#517235)
273 Patch from Yevgen Muntyan
275 2008-02-23 Matthias Clasen <mclasen@redhat.com>
277 * gfileinfo.h: Documentation fixes.
279 2008-02-22 Alexander Larsson <alexl@redhat.com>
281 * gcontenttype.c (g_content_type_get_icon):
282 Look at old-style gnome mime icon names too, as many
283 have not moved to the new style.
285 2008-02-21 Matthias Clasen <mclasen@redhat.com>
287 * *.c: Correct the @include in for section docs.
289 2008-02-21 David Zeuthen <davidz@redhat.com>
291 * glocalfileinfo.c: (_g_local_file_info_get):
293 (g_content_type_get_icon): Implement this function by
294 moving bits from glocalfileinfo.c
295 (g_content_type_get_description): Unalias before getting
296 description (#517687)
298 * gfile.c: (g_file_class_init),
299 (g_file_query_filesystem_info_async),
300 (g_file_query_filesystem_info_finish),
301 (query_filesystem_info_data_free),
302 (query_filesystem_info_async_thread),
303 (g_file_real_query_filesystem_info_async),
304 (g_file_real_query_filesystem_info_finish):
305 * gfile.h: Implement async version of
306 g_file_query_filesystem_info()
308 * gfileinfo.h: Add new attributes for filesystem::use-preview
310 * gio.symbols: Update
312 * gthemedicon.c: (g_themed_icon_append_name):
313 * gthemedicon.h: Add new new convenience function.
315 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
316 (get_mounts), (get_volumes), (get_connected_drives),
317 (get_volume_for_uuid), (get_mount_for_uuid),
318 (g_union_volume_monitor_init), (populate_union_monitor),
319 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
320 (g_volume_monitor_adopt_orphan_mount):
322 * gvolumemonitor.h: Use recursive locks so it's safe for volume
323 monitor implementations to call into the main volume monitor. Also
324 separate object initialization and volume monitor initialization
325 such that non-native volume monitors can properly adopt their
328 2008-02-21 Alexander Larsson <alexl@redhat.com>
333 2008-02-21 Alexander Larsson <alexl@redhat.com>
336 Add more documentation about how GFiles work (from #517086)
338 2008-02-21 Alexander Larsson <alexl@redhat.com>
342 Add new g_file_has_prefix that does the same as g_file_contains_file.
343 Deprecate g_file_contains_file and add a macro that converts
344 it to g_file_has_prefix.
345 The reason for this change is that the contains_file() name seems to
346 imply that this does more work than what it does, but its really only
347 a name match (from #517086)
352 Update to match the above change.
354 2008-02-20 Benjamin Otte <otte@gnome.org>
356 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
357 (g_file_eject_mountable):
358 even more cases of not returning in error path
360 2008-02-20 Benjamin Otte <otte@gnome.org>
362 * gfile.c: (g_file_mount_mountable):
363 return from function in error path.
365 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
368 Remove trailing coma in GMountMountFlags struct
370 2008-02-18 Alexander Larsson <alexl@redhat.com>
374 * glocalfileoutputstream.c:
375 Use g_unlink/g_rename instead of unlink/rename;
376 do not pass raw filenames to g_set_error. (#517239)
377 Patch from Yevgen Muntyan.
379 2008-02-18 Alexander Larsson <alexl@redhat.com>
382 * glocalfileoutputstream.c:
383 Open files with O_BINARY on windows. (#517140)
385 2008-02-14 Alexander Larsson <alexl@redhat.com>
387 * glocalfileoutputstream.c:
388 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
390 2008-02-14 Alexander Larsson <alexl@redhat.com>
393 Copy permissions with file on copy (#514084)
394 This is what cp does and makes sure e.g. the
395 exec permissions are kept.
396 Its kinda weird in that it keeps the permission bits
397 the same while the uid and gid are different. However
398 the new uid is the user so its not a security issue,
399 and I've heard no complaints about cp on this issue.
401 2008-02-13 Ryan Lortie <desrt@desrt.ca>
403 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
405 2008-02-13 Alexander Larsson <alexl@redhat.com>
407 * inotify/inotify-path.c:
408 Define IN_ONLYDIR if not in header (#515346)
410 2008-02-12 Alexander Larsson <alexl@redhat.com>
412 * tests/live-g-file.c:
415 2008-02-11 Matthias Clasen <mclasen@redhat.com>
417 * === Released 2.15.5 ===
419 2008-02-11 Matthias Clasen <mclasen@redhat.com>
421 * gio.symbols: Add g_mount_mount_flags_get_type.
423 2008-02-11 Alexander Larsson <alexl@redhat.com>
426 (g_file_info_set_attribute_mask):
427 (g_file_attribute_matcher_matches_id):
428 Correctly handle NULL GAttributeMatcher meaning
429 matches nothing. (Fixes #513492)
431 2008-02-11 Alexander Larsson <alexl@redhat.com>
436 Added GMountMountFlags enum and added a flags
437 argument to all mount calls.
439 This is an API/ABI change for future extensibility,
440 as I think we will need at least an
441 inhibit-autorun flag (the panel needs this).
442 There are no flags defined yet though.
444 2008-02-11 Alexander Larsson <alexl@redhat.com>
447 Added new standard::description attribute.
448 Requested by Vincent, and useful for both
451 2008-02-11 Alexander Larsson <alexl@redhat.com>
456 2008-02-11 Matthias Clasen <mclasen@redhat.com>
458 * *.c: Documentation additions
460 2008-02-10 Matthias Clasen <mclasen@redhat.com>
462 * gappinfo.h: Formatting cleanup
463 * gappinfo.c: Fix up docs.
465 2008-02-09 Matthias Clasen <mclasen@redhat.com>
467 * gunixmounts.c: Consistently use getmntent_r() and fall
468 back to getmntent(). (#515492)
470 2008-02-09 Matthias Clasen <mclasen@redhat.com>
472 * gbufferedinputstream.c:
474 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
476 * tests/data-input-stream.c:
477 * tests/data-output-stream.c: Portability fixes.
479 2008-02-08 Alexander Larsson <alexl@redhat.com>
484 Add g_volume_should_automount.
487 2008-02-07 Tor Lillqvist <tml@novell.com>
489 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
490 Win32, too Unix-specific.
492 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
494 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
495 a local plt if the compiler doesn't support what we want. Bug #514702
497 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
499 reviewed by: <delete if not using a buddy>
502 * gunixinputstream.c:
503 * gunixoutputstream.c:
505 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
508 * tests/live-g-file.c:
509 * tests/live-g-file.txt:
510 New GIO testing module working over real data
512 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
514 * glocalfileoutputstream.c (g_local_file_output_stream_close):
515 Fallback to rename() if link() is not available
516 (when no support on target filesystem)
518 2008-02-06 Michael Natterer <mitch@imendio.com>
520 * gfileinfo.c (g_file_info_get_icon): replace
521 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
523 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
525 * gfile.c (g_file_create):
526 Documentation update of error codes
528 2008-02-06 Alexander Larsson <alexl@redhat.com>
531 Update to use both mimeapps.list and
532 defaults.list as discussed on xdg list.
534 2008-02-06 Benjamin Otte <otte@gnome.org>
537 * gfilenamecompleter.c:
538 Fix some typos in the documentation.
540 2008-02-06 Alexander Larsson <alexl@redhat.com>
542 * glocalfile.c (g_local_file_trash):
543 Don't succeed with trash if newly created
544 trash dir has the wrong owner. (#514696)
546 2008-02-05 Alexander Larsson <alexl@redhat.com>
548 * glocalfile.c (g_local_file_move):
549 Don't spew warnings when destination is not
552 2008-02-03 Hans Breuer <hans@breuer.org>
554 * makefile.msc : update
556 2008-02-01 Michael Natterer <mitch@imendio.com>
558 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
559 return value of xdg_mime_list_mime_parents() to a variable of the
562 2008-02-01 Alexander Larsson <alexl@redhat.com>
564 * gappinfo.c (g_app_info_launch_uris):
565 Actually call the launch_uris method, not
568 2008-02-01 Alexander Larsson <alexl@redhat.com>
570 * gdesktopappinfo.c (g_desktop_app_info_equal):
571 Ensure appinfos with no id but same pointer value
574 2008-02-01 Alexander Larsson <alexl@redhat.com>
576 * gappinfo.c (g_app_info_launch_default_for_uri):
579 2008-02-01 Alexander Larsson <alexl@redhat.com>
583 Add g_app_info_launch_default_for_uri utility
586 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
589 Doc fix for g_app_info_get_default_for_uri_scheme ()
592 2008-01-30 Alexander Larsson <alexl@redhat.com>
595 Add doc comment about uris vs GFiles to
599 Ensure uris passed to g_app_info_launch_uris()
600 are not roundtriped through GFile (as that
601 may be slightly destructive for e.g. mailto: links)
603 2008-01-30 Alexander Larsson <alexl@redhat.com>
605 * tests/data-input-stream.c:
606 * tests/data-output-stream.c:
607 C89 fixes from Jens Granseuer (#512849)
609 2008-01-30 Alexander Larsson <alexl@redhat.com>
612 Fix gamin/fam difference build issue. (#509419)
614 2008-01-29 Alexander Larsson <alexl@redhat.com>
618 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
620 2008-01-29 Alexander Larsson <alexl@redhat.com>
624 giomodule-priv.h include moved to .c file.
626 2008-01-29 Alexander Larsson <alexl@redhat.com>
628 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
629 Remove unused prio/name fields.
631 2008-01-29 Alexander Larsson <alexl@redhat.com>
633 * gcontenttype.c (looks_like_text):
634 Don't treat whitespace as control chars.
636 2008-01-29 Alexander Larsson <alexl@redhat.com>
639 Lazily create the desktop files for appinfos created
640 by g_app_info_create_from_commandline() when needed
641 for mime associations. This allows run-time use
642 of GAppInfo object without creating unnecessary
645 2008-01-29 Alexander Larsson <alexl@redhat.com>
648 Added new symbols to gio.symbols
650 2008-01-29 Alexander Larsson <alexl@redhat.com>
653 Add g_file_query_default_handler utility to easily look up
654 the GAppInfo that handles a file.
656 * gdesktopappinfo.[ch]:
658 Set up an extension point for g_app_info_get_default_for_uri_scheme()
661 Remove unused function
663 2008-01-29 Alexander Larsson <alexl@redhat.com>
666 Mention need to free returned value in
667 g_file_enumerator_next_files_finish docs.
668 Fix leak if g_file_enumerator_next_files_finish()
671 2008-01-29 Alexander Larsson <alexl@redhat.com>
674 (_g_unix_content_type_get_parents):
675 Use list_parents, not get_parents from xdgmime, because
676 the later doesn't use the cache.
678 * xdgmime/xdgmimecache.c:
679 (_xdg_mime_cache_list_mime_parents):
680 Don't list the same type as parent multiple times.
682 2008-01-28 Matthias Clasen <mclasen@redhat.com>
684 * === Released 2.15.4 ===
686 2008-01-28 Alexander Larsson <alexl@redhat.com>
689 Register local vfs with prio 0.
692 Remove old name and prio class members
694 2008-01-28 Matthias Clasen <mclasen@redhat.com>
696 * tests/g-file.c: Disable some tests that are failing in
697 the absence of a http backend.
699 2008-01-28 Alexander Larsson <alexl@redhat.com>
703 Add registration hooks for extension points.
704 Register the gio extension points.
706 * fam/gfamdirectorymonitor.c:
707 * fam/gfamfilemonitor.c:
708 * glocaldirectorymonitor.[ch]:
709 * glocalfilemonitor.[ch]:
710 * gnativevolumemonitor.h:
711 * gunionvolumemonitor.c:
712 * gunixvolumemonitor.c:
715 * inotify/ginotifydirectorymonitor.c:
716 * inotify/ginotifyfilemonitor.c:
717 Use the extension points registration instead
718 of g_type_children().
720 2008-01-28 Matthias Clasen <mclasen@redhat.com>
723 * gvolume.[hc]: Document new API.
725 * gfile.c (g_file_copy_async): Fix docs
727 2008-01-27 Matthias Clasen <mclasen@redhat.com>
729 * gbufferedinputstream.c:
731 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
734 2008-01-27 Matthias Clasen <mclasen@redhat.com>
736 * glocalfile.c: Avoid trivial differences in translatable strings.
738 2008-01-25 Matthias Clasen <mclasen@redhat.com>
740 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
741 build with gcc 3.4 (#509419)
743 2008-01-25 Matthias Clasen <mclasen@redhat.com>
745 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
746 (#509994, Murray Cumming)
748 2008-01-25 Matthias Clasen <mclasen@redhat.com>
750 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
751 * gioscheduler.c: Keep calling io jobs until they return FALSE;
752 this allows big jobs to be executed in chunks, instead of blocking
753 the main loop for a long time.
755 * gsimpleasyncresult.c:
756 * giofile.c: Adapt callers.
758 2008-01-25 Alexander Larsson <alexl@redhat.com>
761 Implement changes discussed on xdg list.
762 Now we can add supported mimetypes by just using defaults.list
763 We can also remove associations in defaults.list.
765 2008-01-25 Alexander Larsson <alexl@redhat.com>
768 Don't make local copy of desktop file
769 for mimetype changes if the file already
770 supports the new mimetype.
772 2008-01-25 Matthias Clasen <mclasen@redhat.com>
776 * gbufferedinputstream.c:
777 * glocalfile.c: String improvements. (#511966,
778 Theppitak Karoonboonyanan)
780 2008-01-24 Matthias Clasen <mclasen@redhat.com>
782 * gioscheduler.h: Expand docs a bit.
784 2008-01-24 Alexander Larsson <alexl@redhat.com>
787 Add g_drive_get_identifier and
788 g_drive_enumerate_identifiers
791 Add g_volume_get_identifier and
792 g_volume_enumerate_identifiers
798 Implement identifiers for unix backend
800 2008-01-24 Alexander Larsson <alexl@redhat.com>
805 Add g_file_copy_async() (#511580)
806 Based on patch from Carlos Garcia Campos
808 2008-01-23 Matthias Clasen <mclasen@redhat.com>
810 * gioscheduler.c: Some documentation additions.
812 2008-01-22 Alexander Larsson <alexl@redhat.com>
815 (g_desktop_app_info_new):
818 2008-01-22 Alexander Larsson <alexl@redhat.com>
821 (g_desktop_app_info_new_from_filename):
824 2008-01-22 Alexander Larsson <alexl@redhat.com>
826 * glocalfileinfo.c (get_thumbnail_attributes):
829 2008-01-22 Alexander Larsson <alexl@redhat.com>
832 (canonicalize_filename):
833 Canonicalize paths that start with more than
838 (test_g_file_new_for_path):
841 2008-01-22 Alexander Larsson <alexl@redhat.com>
844 Allow UTF-8 in file:// parse names.
847 * tests/data-input-stream.c:
848 * tests/data-output-stream.c:
849 * tests/g-file-info.c:
851 Added a bunch of tests from Tomas Bzatek
853 2008-01-21 Matthias Clasen <mclasen@redhat.com>
855 * === Released 2.15.3 ===
857 2008-01-21 Alexander Larsson <alexl@redhat.com>
859 * gfileinputstream.[ch]:
860 * gfileoutputstream.[ch]:
862 Remove duplicated GSeekable functions. (#509990)
863 Just use the g_seekable_xxx() calls instead.
865 2008-01-21 Matthias Clasen <mclasen@redhat.com>
868 * gvolumemanager.c: Whitespace cleanups.
870 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
871 Use the right mode when creating the file.
873 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
876 * gfileinputstream.c:
878 * goutputstream.c: Documentation: Fixed minor typos
879 and added more mentions of specific _finish() functions.
881 2008-01-21 Alexander Larsson <alexl@redhat.com>
883 * inotify/Makefile.am:
884 * inotify/inotify-helper.c:
885 * inotify/inotify-kernel.c:
886 * inotify/inotify-path.c:
887 * inotify/local_inotify.h: Removed.
888 * inotify/local_inotify_syscalls.h: Removed.
889 Removed the included copies of the inotify
890 headers. We now only use the <sys/inotify.h>
891 header which exists on modern systems.
892 This fixes problems on ARM and SH5 (#510448)
893 but is also generally much cleaner and future
894 safe. For instance, if other OSes add support
895 for inotify it should "just work".
897 2008-01-20 Matthias Clasen <mclasen@redhat.com>
899 * inotify/*.c: Coding style fixes.
900 * inotify/inotify-missing.c: Use g_timeout_add_seconds
901 for the 1/4 Hz timer.
903 2008-01-20 Matthias Clasen <mclasen@redhat.com>
907 * gmemoryinputstream.c:
908 * gmemoryoutputstream.c:
910 * gthemedicon.c: Documentation updates
912 2008-01-20 Murray Cumming <murrayc@murrayc.com>
914 * gfile.c: documentation: Fixed more minor
917 2008-01-18 Murray Cumming <murrayc@murrayc.com>
919 * gmount.c: (g_mount_remount): documentation:
920 Mention g_mount_remount_finish() instead of
921 g_mount_unmount_finish().
923 2008-01-18 Murray Cumming <murrayc@murrayc.com>
927 * gfile.c: Fixed some minor typos in the
930 2008-01-18 Murray Cumming <murrayc@murrayc.com>
932 * gio/gvolumemonitor.c:
933 (g_volume_monitor_get_connected_drives):
934 (g_volume_monitor_get_volumes):
935 (g_volume_monitor_get_mounts): Documentation:
936 Clarify the ownership of the regurn GLists.
938 2008-01-17 Alexander Larsson <alexl@redhat.com>
941 Add the async find_enclosing_mount version
942 to the header file too.
944 2008-01-17 Alexander Larsson <alexl@redhat.com>
947 Add async version of find_enclosing_mount
948 with default implementation.
950 2008-01-17 Alexander Larsson <alexl@redhat.com>
955 Allow calls to implementation of copy and write
956 even if the type of the file implementations is
957 different. This can be used to implement native
958 upload and download calls in a vfs.
962 Protect against the case where move is called
963 with one file not being local.
965 Make sure we call the progress callback once
966 in the native move operation so that the caller
967 knows how many bytes were copied.
969 2008-01-16 Murray Cumming <murrayc@murrayc.com>
972 * gdatainputstream.c:
974 * gfileoutputstream.c:
979 * gunixmounts.c: Corrected some typos in the documentation:
981 its -> it's (where appropriate).
983 2008-01-16 Alexander Larsson <alexl@redhat.com>
987 Add g_file_query_exists (#508771)
989 2008-01-15 Murray Cumming <murrayc@murrayc.com>
994 * gvolume.c: For async functions that have no non-async
995 version, document that the GAsyncReadyCallback may be NULL.
998 2008-01-15 Alexander Larsson <alexl@redhat.com>
1000 * gmemoryinputstream.c:
1001 * gmemoryoutputstream.c:
1002 Don't do pointer arithmetic on void * (#508602)
1003 Patch from Kazuki IWAMOTO
1005 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1007 * === Released 2.15.2 ===
1009 2008-01-14 Alexander Larsson <alexl@redhat.com>
1011 * gfile.c (g_file_monitor_file):
1012 Don't set error here, since we fallback to polling monitor.
1014 2008-01-14 Alexander Larsson <alexl@redhat.com>
1017 (g_file_monitor_directory):
1018 (g_file_monitor_file):
1019 Add GError to file monitor calls
1021 * glocaldirectorymonitor.c:
1022 * glocaldirectorymonitor.h:
1024 * glocalfilemonitor.c:
1025 * glocalfilemonitor.h:
1027 Update for above change
1029 2008-01-14 Alexander Larsson <alexl@redhat.com>
1033 Handle root correctly in g_file_get_relative_path (#508719)
1035 2008-01-14 Alexander Larsson <alexl@redhat.com>
1038 Clean up docs and example for GAsyncResult (#508074)
1040 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1042 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1043 and correct some spelling mistakes. Bug #508108.
1045 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1047 * glocalfileinfo.c: Add a comment.
1049 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1051 * gfileinfo.c: GFileInfo description: Mention
1052 how to actually set attributes in a GFile and how to discover
1053 which attributes are settable. Bug #508378.
1055 2008-01-10 A. Walton <awalton@svn.gnome.org>
1057 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1058 (g_app_info_get_default_for_type):
1059 Check for NULL content types.
1061 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1063 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1065 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1067 * gfile.c: *_async() functions: Several small corrections
1068 to the documentation, mostly correcting copy/paste errors
1069 and improving some sentences.
1071 2008-01-09 Dan Winship <danw@gnome.org>
1073 * glocalfile.c (get_unique_filename): x86_64 fix
1075 2008-01-09 Alexander Larsson <alexl@redhat.com>
1080 Add g_unix_mount_guess_should_display and use
1081 for unix volume monitor backend.
1082 This means we more or less show what the
1083 gnome-vfs backend did.
1084 Based on patch from Padraig O'Briain
1086 2008-01-09 Alexander Larsson <alexl@redhat.com>
1090 Add g_themed_icon_new_with_default_fallbacks
1093 Use default fallbacks for icons
1095 2008-01-09 Alexander Larsson <alexl@redhat.com>
1098 * gmountoperation.[ch]:
1099 Change the API a bit so that unhandled methods
1100 get reported via the reply, rather than by
1101 the signal emission return value. This is because
1102 some handlers can't know this immediately without
1103 doing I/O, and this is an async operation that
1106 2008-01-09 Alexander Larsson <alexl@redhat.com>
1109 * fam/gfamdirectorymonitor.c:
1110 * fam/gfamfilemonitor.c:
1111 Fix double free crash (#508224)
1112 Patch from Joe Marcus Clarke
1114 008-01-07 Matthias Clasen <mclasen@redhat.com>
1116 * === Released 2.15.1 ===
1118 2008-01-07 Alexander Larsson <alexl@redhat.com>
1120 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1121 Fix warning (#507835)
1123 2008-01-07 Alexander Larsson <alexl@redhat.com>
1126 Pass --internal to glib-genmarshal
1129 * gmountoperation.c:
1131 Use better types for signal arguments (#507822)
1133 2008-01-07 Alexander Larsson <alexl@redhat.com>
1136 Build test subdir after .
1137 Remove gdirectorymonitor.[ch]
1139 * gdirectorymonitor.[ch]:
1143 Remove GDirectoryMonitor and make
1144 GFileMonitor the baseclass for both file and
1145 directory monitors. Lift the more generic
1146 rate limiting code from GDirectoryMonitor
1150 * fam/gfamdirectorymonitor.[ch]:
1151 * inotify/ginotifydirectorymonitor.[ch]:
1152 * inotify/inotify-helper.c:
1153 * glocaldirectorymonitor.[ch]:
1156 Update for the removed GDirectoryMonitor.
1158 * gmemoryoutputstream.c:
1159 Remove ununsed variable
1161 2008-01-07 Alexander Larsson <alexl@redhat.com>
1163 * gmemoryinputstream.c:
1164 Translate error strings
1167 * gmemoryoutputstream.[ch]:
1168 New implementation that avoids using GByteArray
1169 in implementation and API. (#506377)
1171 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1173 * tests/*: Add a test for memory input streams.
1175 * Makefile.am: Add tests to SUBDIRS.
1177 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1179 * glocalfilemonitor.c:
1180 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1183 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1185 * gdesktopappinfo.c: Fix a docs typo.
1187 * gfileattribute.c: Add information about extended attributes
1188 to the documentation. (#505058)
1190 2008-01-04 Alexander Larsson <alexl@redhat.com>
1193 * gmountoperation.c:
1194 Use the right type (uint) for the ask_password signal.
1196 2008-01-04 Alexander Larsson <alexl@redhat.com>
1201 Add g_app_info_supports_files()
1202 Remove desktop arg from g_app_info_should_show().
1204 * gdesktopappinfo.[ch]:
1205 Implement g_app_info_supports_files() and new should_show()
1206 Add g_desktop_app_info_set_desktop_env() to set the desktop
1207 for should_show(). (This will be set by gtk+ later)
1209 2008-01-04 Alexander Larsson <alexl@redhat.com>
1212 * gmemoryinputstream.[ch]:
1213 Improve API so that you can use multiple chunks
1214 of memory and custom destroy functions. (#506374)
1216 2008-01-03 Alexander Larsson <alexl@redhat.com>
1219 Handle NULL attribute matchers safely, as we return this
1220 for empty attribute matcher strings.
1222 2008-01-03 Alexander Larsson <alexl@redhat.com>
1224 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1225 Add /usr/local to list of internal mountpoints
1227 2008-01-03 Alexander Larsson <alexl@redhat.com>
1230 Check for HAVE_LCHOWN (#505887)
1232 2008-01-03 Alexander Larsson <alexl@redhat.com>
1236 Add define for selinux context attribute.
1237 Fix missing : -> :: namespace separator change
1238 Fix missing _ -> - name change for xattr-sys.
1241 2008-01-03 Alexander Larsson <alexl@redhat.com>
1244 Link to libglib and libgobject directly (#504879)
1245 Patch from Sebastien Bacher
1247 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1249 * gfile.c: Expanded the g_file_new_for_commandline_arg
1250 description a bit, based on the code and the docs of the
1251 other g_file_new_for_* functions.
1253 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1255 * gfilemonitor.h: Fixed typo in docs.
1257 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1259 Updates to GIO documentation. (#506395, Mikael Hermansson)
1261 * gcontenttype.c: Describe memory management for return value of
1262 g_content_types_get_registered(). Missing piece from #505815.
1263 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1264 GVolume, GDrive, GMounts, which hopefully gives the user less
1265 confusions when using this API. Following explainations from
1266 Alexander Larsson on gtk-devel-list.
1268 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1270 * gfileinfo.c: Expand the long description.
1272 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1275 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1276 fix builds with --disable-visibility. (#500273, Christian Persch)
1278 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1280 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1281 in the list of returned app infos.
1283 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1285 * gappinfo.c: Fix a cross-reference
1287 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1289 * gfileinputstream.c:
1290 * gfileoutputstream.c:
1294 * gdesktopappinfo.c:
1296 * gfileinfo.c: Documentation updates.
1298 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1300 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1303 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1305 * gcontenttype.c (g_content_types_get_registered): Don't return
1306 freed memory (#505815, Mikael Hermansson)
1308 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1310 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1311 used to detect statbuf->st_blocks. (#505042)
1313 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1315 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1316 environment handling. (#504829, Cosimo Cecchi)
1318 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1320 * gappinfo.c: Doc improvements
1322 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1325 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1327 * === Released 2.15.0 ===
1329 2007-12-20 Hans Breuer <hans@breuer.org>
1331 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1332 with symbols gwin32appinfo.obj, added gmount.obj
1333 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1335 2007-12-20 Alexander Larsson <alexl@redhat.com>
1341 * gfilenamecompleter.c:
1344 * gpollfilemonitor.c:
1345 File attribute renames:
1347 fs:: -> filesystem::
1348 id::fs -> id::filesystem
1350 2007-12-20 Alexander Larsson <alexl@redhat.com>
1359 Add GMountUnmountFlags to all unmount and
1361 Add g_mount_remount() call.
1363 2007-12-20 Alexander Larsson <alexl@redhat.com>
1365 * gvfs.c (get_default_vfs):
1366 Fix unused variable warning
1368 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1370 * pltcheck.sh: Update
1372 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1374 * gunionvolumemonitor.c:
1375 * gunixmount.c: Remove C99 comments
1377 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1379 * gio.symbols: Add some missing symbols
1381 2007-12-19 Alexander Larsson <alexl@redhat.com>
1384 Make g_io_modules_load_all_in_directory not unuse
1385 loaded modules so that users of it can do stuff
1387 Init internal "module" types.
1388 Initialize static prio and name for types so that
1389 we don't have to load modules to get it.
1391 * gnativevolumemonitor.h:
1393 Move is_supported to parent class so that
1394 non-native monitors can avoid being initialized
1395 too. (For instance GDaemonVolumeMonitor if we're
1396 not using GDaemonVfs.)
1398 * glocaldirectorymonitor.[ch]:
1399 * glocalfilemonitor.[ch]:
1400 * gunionvolumemonitor.c:
1401 * gunixvolumemonitor.c:
1403 Find plugins using the static prio+name to
1404 avoid unnecessarily loading the modules.
1406 2007-12-19 Alexander Larsson <alexl@redhat.com>
1411 2007-12-19 Alexander Larsson <alexl@redhat.com>
1413 * gunionvolumemonitor.c:
1414 Store the native type as GType, not class so that
1415 we can unload it. But still avoid unnecessarily
1418 2007-12-19 David Zeuthen <davidz@redhat.com>
1420 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1421 add signals 'disconnected' and 'eject-button' on GDrive. Add
1422 signal 'removed' on GVolume and 'unmounted' on GMount.
1424 * gdrive.c: (g_drive_base_init):
1426 * gfile.c: (g_file_mount_mountable),
1427 (g_file_mount_enclosing_volume):
1430 * gmount.c: (g_mount_base_init):
1432 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1433 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1434 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1438 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1440 * *.c: Fix up includes in the section docs.
1442 2007-12-17 Alexander Larsson <alexl@redhat.com>
1444 * gnativevolumemonitor.h:
1445 * gunionvolumemonitor.c:
1446 * gunixvolumemonitor.c:
1447 Add is_supported() to GNativeVolumeMonitorClass so
1448 that we can avoid having to create an object to see
1449 if the backend is supported at runtime.
1450 Also add name member and an env var to pick a specific
1451 volume monitor backend.
1455 Add cancellable to _g_mount_get_for_mount_path()
1457 * glocaldirectorymonitor.c:
1458 * glocalfilemonitor.c:
1459 Avoid loading and unloading modules while sorting.
1461 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1464 * gunixmounts.[hc]: Namespace waste reduction, move some
1465 g_get_unix_mount functions to the g_unix_mount namespace.
1468 * gunixvolumemonitor.c:
1470 * glocaldirectorymonitor.c: Update all callers.
1472 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1474 2007-12-17 Alexander Larsson <alexl@redhat.com>
1477 Add doc comments about what GFile operations are
1478 guaranteed to not block.
1480 2007-12-17 Alexander Larsson <alexl@redhat.com>
1483 Add missing #ifdef fixing OSX build.
1484 (#503334, patch from Richard Hult)
1486 2007-12-14 David Zeuthen <davidz@redhat.com>
1490 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1491 (g_mount_eject), (g_mount_eject_finish):
1493 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1494 (get_volume_for_uuid), (get_mount_for_uuid),
1495 (g_union_volume_monitor_class_init),
1496 (get_default_native_type_with_exclude), (get_default_native_type),
1497 (get_native_type), (update_native_type),
1498 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1499 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1500 (g_unix_mount_can_eject), (eject_unmount_cb),
1501 (eject_unmount_read_error), (eject_unmount_do),
1502 (g_unix_mount_unmount), (g_unix_mount_eject),
1503 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1504 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1505 (g_unix_mount_point_guess_can_eject):
1507 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1508 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1509 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1510 (g_unix_volume_mount), (g_unix_volume_eject),
1511 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1512 * gunixvolumemonitor.c: (get_volume_for_uuid),
1513 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1515 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1516 (g_volume_eject), (g_volume_eject_finish):
1518 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1519 (g_volume_monitor_get_mount_for_uuid):
1522 Provide eject() on both GMount and GVolume and utility functions
1523 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1524 ejected. Introduce the concept of UUID's and wire it into GVolume
1525 and GMount and provide API on GVolumeMonitor to find such
1526 instances. Also handle the case where an external
1527 GNativeVolumeMonitor fails to initialize. Lock around the
1528 _g_get_mount_for_mount_path() function such that volume monitor
1529 implementations won't have to do locking themselves.
1531 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1533 * gdesktopappinfo.c:
1539 * gvolume.h: Documentation updates
1541 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1544 * gfile.h: Doc updates
1546 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1549 * gdesktopappinfo.c: Use hash table iterators.
1551 2007-12-14 Alexander Larsson <alexl@redhat.com>
1554 * gfileattribute.[ch]:
1555 * gfileattribute-priv.h:
1556 Move GFileAttributeValue to a private header, as
1560 Make set_attribute take a type + a pointer instead
1561 of a GFileAttributeValue.
1564 Fix up for above changes.
1565 Add g_file_info_get_attribute_data to get
1566 all info in one call, g_file_info_get_attribute_status
1567 to get the status and g_file_info_get_attribute_as_string.
1571 * glocalfileinfo.[ch]:
1575 Make _guess_type static.
1577 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1580 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1581 made mkenums and friends use temporary files to avoid leaving
1582 empty generated files on failure (#503470).
1584 2007-12-14 Alexander Larsson <alexl@redhat.com>
1586 * gmountoperation.h:
1589 2007-12-14 Alexander Larsson <alexl@redhat.com>
1593 * gfileattribute.[ch]:
1596 * glocalfileoutputstream.c:
1597 * gmountoperation.[ch]:
1598 * goutputstream.[ch]:
1599 Clean up all flags enums to not have _FLAGS in them
1600 Make the names of some of the enums better.
1605 2007-12-14 Michael Natterer <mitch@imendio.com>
1607 * gio.symbols: fix g_io_scheduler symbol names.
1609 2007-12-14 Alexander Larsson <alexl@redhat.com>
1615 * gbufferedinputstream.h:
1616 * gbufferedoutputstream.h:
1619 * gdatainputstream.h:
1620 * gdataoutputstream.h:
1621 * gdesktopappinfo.h:
1622 * gdirectorymonitor.h:
1626 * gfileenumerator.h:
1629 * gfileinputstream.h:
1631 * gfilenamecompleter.h:
1632 * gfileoutputstream.h:
1633 * gfilterinputstream.h:
1634 * gfilteroutputstream.h:
1642 * gmemoryinputstream.h:
1643 * gmemoryoutputstream.h:
1645 * gmountoperation.h:
1648 * gsimpleasyncresult.h:
1650 * gunixinputstream.h:
1652 * gunixoutputstream.h:
1656 * inotify/Makefile.am:
1657 Only allow including <gio/gio.h> from apps
1659 2007-12-14 Alexander Larsson <alexl@redhat.com>
1661 * gioscheduler.[ch]:
1662 * gsimpleasyncresult.c:
1663 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1664 Split out the send_to_mainloop call into two versions instead
1665 of having the block argument.
1667 2007-12-13 Alexander Larsson <alexl@redhat.com>
1669 * gcancellable.[ch]:
1671 * gbufferedinputstream.c:
1672 * gfileenumerator.c:
1673 * gfileinputstream.c:
1674 * gfileoutputstream.c:
1678 g_push/pop_current_cancellable ->
1679 g_cancellable_push/pop_current
1681 2007-12-13 Alexander Larsson <alexl@redhat.com>
1685 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1687 2007-12-13 Alexander Larsson <alexl@redhat.com>
1689 * gmountoperation.h:
1690 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1692 2007-12-12 Alexander Larsson <alexl@redhat.com>
1695 Fix race condition when freeing proxy in
1696 g_io_job_send_to_mainloop().
1698 2007-12-12 Alexander Larsson <alexl@redhat.com>
1704 Make attribute namespace separator "::" instead of ":".
1705 Use - instead of _ as separator in attribute names.
1707 2007-12-12 Alexander Larsson <alexl@redhat.com>
1709 * gbufferedinputstream.h:
1710 * gbufferedoutputstream.h:
1711 * gdatainputstream.h:
1712 * gdataoutputstream.h:
1713 * gdirectorymonitor.h:
1714 * gfileenumerator.h:
1715 * gfileinputstream.h:
1717 * gfileoutputstream.h:
1718 * gfilterinputstream.h:
1719 * gfilteroutputstream.h:
1721 * glocalfileinputstream.h:
1722 * glocalfileoutputstream.h:
1723 * gmemoryinputstream.h:
1724 * gmemoryoutputstream.h:
1725 * gnativevolumemonitor.h:
1727 * gunixinputstream.h:
1728 * gunixoutputstream.h:
1731 s/parent/parent_instance/ in GObjects
1733 2007-12-12 Alexander Larsson <alexl@redhat.com>
1738 No need for padding for interfaces
1740 2007-12-12 Alexander Larsson <alexl@redhat.com>
1744 * gbufferedinputstream.c:
1745 * gbufferedoutputstream.c:
1748 * gdatainputstream.[ch]:
1749 * gdesktopappinfo.c:
1750 * gdirectorymonitor.c:
1752 * gfileattribute.[ch]:
1755 * gfileinputstream.h:
1756 * gfilemonitor.[ch]:
1757 * gfileoutputstream.[ch]:
1758 * gfilterinputstream.h:
1759 * gfilteroutputstream.h:
1762 * gloadableicon.[ch]:
1763 * gmemoryinputstream.c:
1764 * gmountoperation.c:
1766 Fix up a bunch of details in the docs.
1771 2007-12-11 David Zeuthen <davidz@redhat.com>
1773 Rework how volumes, drives and volume monitoring is
1774 done. Previosly the model was
1776 GDrive <1-1> GVolume
1778 where a GDrive instance represented a mount point and a GVolume
1779 instance represented a mounted file system. This patch changes it
1782 GDrive <1-N> GVolume <1-1> GMount
1784 where GMount now serves the purpose of the old GVolume and the new
1785 GVolume serves the purpose of the old GDrive. In addition the new
1786 GDrive interface is used to represent a collection of GVolume
1787 instances (typically partitions) and also contains utility to query
1788 the state of the physical drive the GDrive object represents (such
1789 as checking for media, polling the drive, ejecting the media etc.).
1791 Also implement mounting and unmounting in the Unix volume monitor
1792 backend. A subquent patch will introduce GDrive support for ejection
1796 * gdrive.c: (g_drive_is_media_check_automatic),
1797 (g_drive_is_media_removable), (g_drive_has_media),
1798 (g_drive_can_poll_for_media), (g_drive_eject),
1799 (g_drive_eject_finish), (g_drive_poll_for_media),
1800 (g_drive_poll_for_media_finish):
1802 * gfile.c: (g_file_find_enclosing_mount):
1805 * glocaldirectorymonitor.c:
1806 (g_local_directory_monitor_constructor), (mounts_changed):
1807 * glocalfile.c: (get_mount_info),
1808 (g_local_file_find_enclosing_mount),
1809 (g_local_file_file_iface_init):
1810 * gnativevolumemonitor.h:
1811 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1812 (get_connected_drives), (g_union_volume_monitor_class_init),
1813 (child_volume_added), (child_volume_removed),
1814 (child_volume_changed), (child_mount_added), (child_mount_removed),
1815 (child_mount_pre_unmount), (child_mount_changed),
1816 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1817 (g_union_volume_monitor_remove_monitor),
1818 (_g_mount_get_for_mount_path):
1819 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1820 (guess_system_internal), (_g_get_unix_mounts),
1821 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1822 (g_unix_mount_free), (g_unix_mount_compare),
1823 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1824 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1825 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1826 (type_to_icon), (g_unix_mount_guess_name),
1827 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1828 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1829 (_resolve_symlink), (_resolve_dev_root):
1831 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1832 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1833 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1834 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1835 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1836 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1837 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1838 (g_unix_volume_volume_iface_init):
1840 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1841 (get_mounts), (get_volumes), (get_connected_drives),
1842 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1843 (mountpoints_changed), (mounts_changed),
1844 (g_unix_volume_monitor_init),
1845 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1846 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1847 * gunixvolumemonitor.h:
1848 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1849 (g_volume_mount), (g_volume_mount_finish):
1851 * gvolumemonitor.c: (g_volume_monitor_class_init),
1852 (g_volume_monitor_get_connected_drives),
1853 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1856 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1858 * gmountoperation.h (GPasswordFlags): Close the gap
1860 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1862 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1864 * gdesktopappinfo.[hc]: Remove _-prefixes
1866 2007-12-10 Tor Lillqvist <tml@novell.com>
1868 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1871 2007-12-10 Alexander Larsson <alexl@redhat.com>
1873 * gfile.c (g_file_set_display_name):
1874 Don't hardcode '/' (#502727)
1876 2007-12-09 Hans Breuer <hans@breuer.org>
1878 * makefile.msc : follow lib naming convention
1879 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1880 for user and group name, tested with ../tests/gio-ls
1882 2007-12-09 A. Walton <awalton@svn.gnome.org>
1884 * gdesktopappinfo.c:
1890 * gfileenumerator.c:
1895 * gmemoryinputstream.c:
1896 * gmemoryoutputstream.c:
1898 * gsimpleasyncresult.c:
1899 More documentation cleanup and filling in missing information, bringing
1900 GIO to 99% symbol coverage.
1902 2007-12-08 Hans Breuer <hans@breuer.org>
1904 [gio compiles and links on win32, not sure how much already works]
1905 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1906 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1907 base on win32 API; prefer g_lstat() over lstat(); instead of
1908 localtime_r() use an all GLib implementation on win32;
1909 get_mount_info() still needs a win32 specifc implementation
1910 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1911 win32_get_file_user_info to get owner/group info without uid/gid
1912 * glocalfileinputstream.c : include <io.h> on win32
1913 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1914 definition, use g_win32_ftruncate() for G_OS_WIN32
1915 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1916 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1917 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1918 * makefile.msc : updated
1920 2007-12-07 Alexander Larsson <alexl@redhat.com>
1922 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1923 Avoid warning spew if error == NULL
1925 2007-12-07 Alexander Larsson <alexl@redhat.com>
1928 Update docs wrt etags
1930 2007-12-06 Alexander Larsson <alexl@redhat.com>
1933 Include sys/types.h for dev_t (#501919)
1935 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1939 Make abicheck and pltcheck pass.
1941 2007-12-05 Alexander Larsson <alexl@redhat.com>
1944 * giomodule-priv.h: Added.
1945 * glocaldirectorymonitor.c:
1946 * glocalfilemonitor.c:
1947 * gunionvolumemonitor.c:
1949 Actually add the declaration of _g_io_modules_ensure_loaded
1951 2007-12-05 Alexander Larsson <alexl@redhat.com>
1953 * gdatainputstream.c:
1958 * glocaldirectorymonitor.c:
1959 * glocalfilemonitor.c:
1960 * gunionvolumemonitor.c:
1962 Make g_io_modules_ensure_loaded a private function and
1963 don't pass in the dirname. This means we can do magic
1964 directory finding in the win32 version.
1965 Export the actual load-modules-in-directory code so that
1966 gvfs can reuse that.
1968 2007-12-05 Alexander Larsson <alexl@redhat.com>
1970 * gbufferedinputstream.c:
1971 * gbufferedoutputstream.c:
1974 * gfileenumerator.[ch]:
1975 * gfileinputstream.c:
1976 * gfileoutputstream.[ch]:
1977 * gfilterinputstream.c:
1978 * gfilteroutputstream.c:
1979 * ginputstream.[ch]:
1981 * glocalfileenumerator.c:
1982 * glocalfileinputstream.c:
1983 * glocalfileoutputstream.c:
1984 * gmemoryinputstream.c:
1985 * gmemoryoutputstream.c:
1986 * goutputstream.[ch]:
1989 * gunixinputstream.c:
1990 * gunixoutputstream.c:
1991 Rename all struct members named:
1992 read, write, close, truncate, or mount
1993 to foo_fn, as these are reserved names
1994 and could be defined as macros in libc.
1997 2007-12-04 Alexander Larsson <alexl@redhat.com>
2000 (g_output_stream_close):
2001 Only call flush if non-null.
2003 2007-11-30 Dan Winship <danw@gnome.org>
2005 * ginputstream.c (g_input_stream_set_pending): Make this take a
2006 GError and return a gboolean, and do the "outstanding operation"
2007 check (and the "stream is already closed" check) itself.
2008 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2010 * goutputstream.c (g_output_stream_set_pending)
2011 (g_output_stream_clear_pending): Likewise
2013 * gbufferedinputstream.c:
2014 * gfileinputstream.c:
2015 * gfileoutputstream.c: Update for that
2017 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2018 Like g_simple_async_report_error_in_idle, but takes a GError
2019 rather than building one.
2021 2007-11-30 Dan Winship <danw@gnome.org>
2023 * goutputstream.c: Don't cheat and unset the "pending" flag around
2024 inner calls. Instead, call the class method directly rather than
2025 the wrapper function that checks "pending"
2027 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2029 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2031 2007-12-03 Hans Breuer <hans@breuer.org>
2033 [start of port to win32/msvc]
2034 * gcancellable.c : HAVE_UNIST_H and _pipe()
2035 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2036 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2037 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2039 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2040 * glocalvfs.c : use HAVE_PWD_H
2041 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2042 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2043 * Makefile.am : added to EXTRA_DIST
2045 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2047 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2050 2007-12-03 Alexander Larsson <alexl@redhat.com>
2053 Handle OSX style xattrs API (#500506)
2055 2007-12-03 Alexander Larsson <alexl@redhat.com>
2059 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2061 2007-12-02 A. Walton <awalton@svn.gnome.org>
2065 Documentation accuracy fixes.
2067 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2069 * gioenumtypes.c.template: Fix typo.
2071 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2073 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2075 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2077 * gdirectorymonitor.c:
2078 * gfilemonitor.c: Add properties
2080 * gbufferedoutputstream.c: Don't mark buffer-size property
2083 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2085 * gbufferedoutputstream.c: Add auto-grow property.
2087 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2089 * *.c: Unify the capitalization of section headings.
2091 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2093 * gmountoperation.c: Add properties
2095 * gdatainputstream.c: Turn byte-order and newline-type into
2098 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2100 * gioenumtypes.[hc].template: Templates for enum registration
2102 * Makefile.am: Generate gioenumtypes.[hc]
2104 * gio.h: Include gioenumtypes.h
2106 * gfile.h: Add some explicit nicks.
2108 * gio.symbols: Add new symbols
2110 * pltcheck.sh: Adjust
2112 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2114 * *.c: Explain etags and link to the explanation
2116 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2118 * *.c: Explain I/O priority.
2120 * *.c: More coding style fixes.
2122 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2124 * gasyncresult.c: Add another paragraph to the intro,
2125 adjust coding style of example.
2127 2007-11-29 A. Walton <awalton@svn.gnome.org>
2130 Fixes unknown meaning in GAppLaunchContext docs.
2132 Clarify asynchronous ops.
2134 Fix entity tag docs.
2137 Provides missing gtk-doc section, fixes API docs slighly.
2138 * gsimpleasyncresult.c:
2139 Fill in missing info in docs.
2140 * gunixinputstream.c:
2141 * gunixoutputstream.c:
2142 Be more expressive in short description.
2144 Remove gtk-doc stubs for non-public API.
2146 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2148 * *.c: Coding style fixups
2150 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2152 * inotify/inotify-helper.c: Don't export the lock from libgio.
2154 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2157 * abicheck.sh: Fix copy-and-paste leftovers
2159 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2161 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2163 2007-11-28 Alexander Larsson <alexl@redhat.com>
2167 Removed unnecessary file
2169 * gdesktopappinfo.[ch]:
2172 * glocaldirectorymonitor.[ch]:
2174 * glocalfileenumerator.[ch]:
2175 * glocalfileinputstream.[ch]:
2176 * glocalfilemonitor.[ch]:
2177 * glocalfileoutputstream.[ch]:
2179 * gnativevolumemonitor.c:
2180 * gpollfilemonitor.[ch]:
2181 * gunionvolumemonitor.[ch]:
2184 * gunixvolumemonitor.[ch]:
2187 * inotify/ginotifydirectorymonitor.[ch]:
2188 * inotify/ginotifyfilemonitor.[ch]:
2189 * inotify/inotify-helper.c:
2190 Append _ to all internal functions
2194 Export symbols needed for modules
2196 2007-11-28 Alexander Larsson <alexl@redhat.com>
2199 * abicheck.sh: Added.
2200 * makegioalias.pl: Added.
2201 * pltcheck.sh: Added.
2202 * gio.symbols: Added.
2205 Initial work on adding symbol handling.
2208 Correct ifdef guard name
2211 * inotify/Makefile.am:
2212 * xdgmime/Makefile.am:
2213 Include toplevel Makefile.decl
2215 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2217 * gcontenttype.c: Move doc comments to the unix section.
2219 * *.[hc]: More trivial doc corrections.
2221 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2223 * gpollfilemonitor.c:
2227 * gdesktopappinfo.c:
2232 * gdatainputstream.c:
2233 * gdatainputstream.h:
2234 * gdataoutputstream.c:
2235 * gdataoutputstream.h:
2236 * gfileinfo.h: Doc cleanups
2238 2007-11-28 Andre Klapper <a9016009@gmx.de>
2240 * gdesktopappinfo.c: Fix a typo.
2242 2007-11-27 Andre Klapper <a9016009@gmx.de>
2244 * glocalfileoutputstream.c: Fix a typo.
2246 2007-11-27 Alexander Larsson <alexl@redhat.com>
2249 Don't include removed headers
2251 2007-11-27 Alexander Larsson <alexl@redhat.com>
2254 * gsocketinputstream.[ch]: Removed.
2255 * gsocketoutputstream.[ch]: Removed.
2256 * gunixinputstream.[ch]: Added.
2257 * gunixoutputstream.[ch]: Added.
2258 Renamed GSocket*Stream to GUnix*Stream and made
2259 it unix-only, since its not really only for sockets
2260 and it only works on unix (but is highly useful there).
2262 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2268 * gbufferedinputstream.c:
2269 * gbufferedinputstream.h:
2270 * gbufferedoutputstream.c:
2271 * gbufferedoutputstream.h:
2275 * gdatainputstream.c:
2276 * gdatainputstream.h:
2277 * gdataoutputstream.c:
2278 * gdataoutputstream.h:
2279 * gdirectorymonitor.c:
2280 * gdirectorymonitor.h:
2287 * gfileenumerator.c:
2288 * gfileenumerator.h:
2293 * gfileinputstream.c:
2294 * gfileinputstream.h:
2297 * gfilenamecompleter.c:
2298 * gfilenamecompleter.h:
2299 * gfileoutputstream.c:
2300 * gfileoutputstream.h:
2301 * gfilterinputstream.c:
2302 * gfilterinputstream.h:
2303 * gfilteroutputstream.c:
2304 * gfilteroutputstream.h:
2317 * glocalfileoutputstream.c:
2318 * gmemoryinputstream.c:
2319 * gmemoryinputstream.h:
2320 * gmemoryoutputstream.c:
2321 * gmemoryoutputstream.h:
2322 * gmountoperation.c:
2323 * gmountoperation.h:
2326 * gpollfilemonitor.c:
2329 * gsimpleasyncresult.c:
2330 * gsimpleasyncresult.h:
2331 * gsocketinputstream.c:
2332 * gsocketinputstream.h:
2333 * gsocketoutputstream.c:
2334 * gsocketoutputstream.h:
2341 * gunixvolumemonitor.c:
2350 Bumps documentation to 93% symbol coverage, touching most
2351 of the public files. Fixes broken function documentation prototypes.
2352 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2353 gtk-doc headers in private files.
2355 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
2357 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2358 (g_buffered_input_stream_read_byte):
2359 * gbufferedinputstream.h:
2360 New functions for efficient access to buffer and simple single byte
2363 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2364 (g_data_input_stream_read_until):
2365 * gdatainputstream.h:
2366 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2367 read_until with multiple stop chars.
2369 2007-11-27 Alexander Larsson <alexl@redhat.com>
2373 * inotify/Makefile.am:
2374 Use the user-specified giomoduledir
2376 2007-11-27 Alexander Larsson <alexl@redhat.com>
2380 Add catch-all gio.h header
2381 Don't install gdummyfile.h
2383 2007-11-26 Alexander Larsson <alexl@redhat.com>
2385 * Makefile.am (gioinclude_HEADERS):
2386 Remove trailing whitespace
2388 2007-11-26 Alexander Larsson <alexl@redhat.com>
2390 Merge gio-standalone into glib
2392 2007-11-25 Christian Kellner <gicmo@gnome.org>
2394 * gio/goutputstream.c:
2395 Fix small mistake in the docs.
2397 2007-11-21 Christian Persch <chpe@gnome.org>
2399 * gio/glocalfile.c: (g_local_file_trash):
2400 Convert filenames to UTF-8 for GError.
2401 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2402 as per xdg base dir spec.
2404 2007-11-21 Christian Persch <chpe@gnome.org>
2406 * gio/gdesktopappinfo.c:
2407 Use that g_key_file_to_data cannot fail.
2409 Use stock defines for the key file group and key names.
2412 2007-11-21 Alexander Larsson <alexl@redhat.com>
2415 (copy_stream_with_progress):
2416 Make sure we do a final progress callback with
2417 the full total size.
2419 2007-11-21 Alexander Larsson <alexl@redhat.com>
2422 Export g_file_copy_attributes
2423 Remove padding as its not needed for interfaces
2425 2007-11-20 Alexander Larsson <alexl@redhat.com>
2430 Add G_IO_ERROR_WOULD_MERGE for
2431 copy/move dir on dir with overwrite.
2433 2007-11-20 Alexander Larsson <alexl@redhat.com>
2436 * gio/glocalfileinfo.c:
2437 Add COPY_NAME (this is an optional
2438 non-modified utf8 version of the name) that
2441 2007-11-20 Alexander Larsson <alexl@redhat.com>
2443 * gio/glocalfileenumerator.c:
2444 Report errors as GIOError, not GFileError
2446 2007-11-16 Alexander Larsson <alexl@redhat.com>
2448 * gio/glocalfileoutputstream.c:
2449 * gio/gwin32appinfo.c:
2450 Fix typos in strings.
2451 Patch from Luca Ferretti <elle.uca@libero.it>
2453 2007-11-15 Alexander Larsson <alexl@redhat.com>
2456 Post release version bump
2458 === gio-standalone 0.1.2 ===
2460 2007-11-15 Alexander Larsson <alexl@redhat.com>
2462 * docs/reference/gio/Makefile.am:
2463 Fix up distcheck by removing weird
2469 2007-11-14 Alexander Larsson <alexl@redhat.com>
2471 * gio/gdesktopappinfo.c:
2472 * gio/glocaldirectorymonitor.c:
2474 * gio/glocalfileinfo.c:
2475 * gio/inotify/inotify-sub.c:
2476 * programs/gio-cat.c:
2477 * programs/gio-copy.c:
2478 * programs/gio-info.c:
2479 * programs/gio-ls.c:
2480 * programs/gio-monitor-dir.c:
2481 * programs/gio-monitor-file.c:
2482 * programs/gio-mount.c:
2483 * programs/gio-move.c:
2484 * programs/gio-rm.c:
2485 * programs/gio-save.c:
2486 * programs/gio-trash.c:
2487 Leak fixes from Kjartan Maraas
2489 2007-11-14 Alexander Larsson <alexl@redhat.com>
2491 * gio/fam/fam-helper.c:
2493 * gio/glocalfileinfo.c:
2497 * gio/inotify/inotify-diag.c:
2498 * gio/inotify/inotify-kernel.c:
2499 Various code cleanups from Kjartan Maraas
2501 2007-11-14 Alexander Larsson <alexl@redhat.com>
2503 * gio/gioscheduler.c:
2505 Set up threadpool so that we cache 2 unused
2506 idle threads for at 15 secs. This means we
2507 will reuse thread-local data (like dbus connections)
2510 2007-11-14 Alexander Larsson <alexl@redhat.com>
2512 * gio/fam/fam-helper.c:
2513 * gio/fam/gfamdirectorymonitor.c:
2514 * gio/fam/gfamfilemonitor.c:
2516 * gio/gcontenttype.c:
2517 * gio/gdatainputstream.c:
2518 * gio/gdataoutputstream.c:
2522 * gio/gfileattribute.h:
2523 * gio/gfileenumerator.c:
2525 * gio/ginputstream.c:
2528 * gio/glocalfileinfo.c:
2529 * gio/goutputstream.c:
2530 * gio/gpollfilemonitor.c:
2531 * gio/gsimpleasyncresult.c:
2532 * gio/gunixmounts.c:
2533 * gio/gunixmounts.h:
2534 * gio/inotify/ginotifydirectorymonitor.c:
2535 * gio/inotify/ginotifyfilemonitor.c:
2536 * gio/inotify/inotify-diag.c:
2537 * gio/inotify/inotify-kernel.c:
2538 * gio/inotify/inotify-path.c:
2540 * gio/test-streams.c:
2541 * programs/gio-info.c:
2542 * programs/gio-monitor-dir.c:
2543 * programs/gio-monitor-file.c:
2544 Various code cleanups from Kjartan Maraas
2546 2007-11-13 Alexander Larsson <alexl@redhat.com>
2549 Handle the uri-scheme calls for dummy files
2551 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2553 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2554 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2555 to avoid clash with the C++ keyword.
2557 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2559 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2560 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2562 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2564 * gio/glocaldirectorymonitor.c:
2565 * gio/glocalfilemonitor.c:
2566 * gio/gunionvolumemonitor.c:
2567 Don't use g_once_init_*() for initializations that could fail and
2568 could leave the initialization variable set to 0 but use GOnce.
2569 This prevents a deadlock on the second call when trying to create
2570 a monitor and no monitor type is available. Thanks to Sven Herzberg
2573 2007-11-11 Sven Herzberg <sven@imendio.com>
2575 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2576 #ifdef (make it work on MacOS X again)
2578 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2580 Fixes Changelog for last two commits (sorry guys).
2582 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2584 * gio/gbufferedinputstream.c:
2585 * gio/gdatainputstream.c:
2587 * gio/gfileoutputstream.c:
2588 * gio/gfilterinputstream.c:
2589 * gio/glocalfileinputstream.c:
2592 More consistency fixes in g*stream.c files.
2593 Significant clean of gfile's documentation, filling in of
2594 asynchronous operations documentation.
2596 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2598 * gio/gasyncresult.c:
2599 * gio/gbufferedinputstream.c:
2600 * gio/gbufferedoutputstream.c:
2601 * gio/gcancellable.c:
2602 * gio/gcontenttype.c:
2603 * gio/gdatainputstream.c:
2604 * gio/gdataoutputstream.c:
2605 * gio/gdesktopappinfo.c:
2608 * gio/gfileattribute.c:
2609 * gio/gio/gfileenumerator.c:
2611 * gio/gfileinputstream.c:
2612 * gio/gfilemonitor.c:
2613 * gio/gfileoutputstream.c:
2614 * gio/ginputstream.c:
2616 * gio/gioscheduler.c:
2617 * gio/gloadableicon.c:
2618 * gio/glocalfileoutputstream.c:
2619 * gio/gmemoryoutputstream.c:
2620 * gio/gmountoperation.c:
2621 * gio/goutputstream.c:
2623 * gio/gsimpleasyncresult.c:
2624 * gio/gunionvolumemonitor.c:
2625 * gio/gunixmounts.c:
2626 * gio/gunixvolume.c:
2630 * gio/gvolumemonitor.c:
2631 Updated documentation stubs, working towards consistency and
2634 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2636 * gio/gmemoryoutputstream.c:
2637 * gio/gmemoryoutputstream.h:
2638 Change g_memory_output_stream_set_free_on_close() to
2639 g_memory_output_stream_set_free_data() as this makes more sense and
2640 is more consistent with GMemoryInputStream.
2642 2007-11-07 Alexander Larsson <alexl@redhat.com>
2649 Change how we find the default vfs so that
2650 we can handle a gvfs failing to init
2652 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2654 * gio/gbufferedoutputstream.c:
2655 * gio/gdatainputstream.c:
2656 * gio/gdataoutputstream.c:
2657 * gio/gfileinputstream.c:
2658 * gio/gfileoutputstream.c:
2659 * gio/gfilterinputstream.c:
2660 * gio/gfilteroutputstream.c:
2661 * gio/ginputstream.c:
2662 * gio/gmemoryinputstream.c:
2663 * gio/gmemoryoutputstream.c:
2664 * gio/goutputstream.c:
2665 * gio/gsimpleasyncresult.c:
2666 * gio/gsocketinputstream.c:
2667 * gio/gsocketoutputstream.c:
2668 Add guards to the remaining public functions, add a TODO for
2669 an unimplemented function and remove some useless guards.
2671 2007-11-07 Alexander Larsson <alexl@redhat.com>
2674 Autoconf checks for the various types of
2675 getpwuid_r and getgrgid_r
2677 * gio/glocalfileinfo.c:
2678 Use the autoconf checks from above
2680 2007-11-07 Alexander Larsson <alexl@redhat.com>
2683 (g_local_file_query_filesystem_info):
2684 Some fixes for the statvfs case
2686 2007-11-07 Alexander Larsson <alexl@redhat.com>
2689 (g_local_file_query_filesystem_info):
2690 Pick the "best" of statfs / statvfs for the system
2691 if both are availible.
2693 2007-11-07 Alexander Larsson <alexl@redhat.com>
2695 Solaris fixes from Halton.Huo@Sun.COM:
2702 * gio/glocalfileinfo.c:
2703 Fix for solaris definition of getpwuid_r
2705 * gio/test-streams.c:
2706 Use G_GNUC_PRETTY_FUNCTION
2708 2007-11-07 Alexander Larsson <alexl@redhat.com>
2710 * gio/gdesktopappinfo.c:
2711 (update_default_list):
2712 Remove double semicolon.
2713 Patch from Jens Granseuer
2715 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2717 * docs/reference/gio/gio-sections.txt:
2718 * gio/gbufferedinputstream.c:
2719 * gio/gbufferedinputstream.h:
2720 * gio/gdatainputstream.c:
2721 * gio/gfileenumerator.c:
2722 * gio/gioscheduler.c:
2723 * gio/gunionvolumemonitor.c:
2725 * programs/gio-save.c:
2726 Fix typo: availible -> available. Unfortuntely this breaks API
2727 and ABI as g_buffered_input_stream_get_available() was renamed.
2729 * gio/gunixmounts.c:
2730 * gio/gbufferedinputstream.c:
2731 Add guards for public functions.
2733 2007-11-06 Ross Burton <ross@openedhand.com>
2735 * docs/reference/gio/Makefile.am:
2736 Fix invalid += usage which automake 1.10 doesn't like.
2738 2007-11-06 Alexander Larsson <alexl@redhat.com>
2741 (g_app_launch_context_class_init):
2744 Patch from Ross Burton
2746 2007-11-06 Alexander Larsson <alexl@redhat.com>
2749 Post release version bump
2751 === gio-standalone 0.1.1 ===
2753 2007-11-06 Alexander Larsson <alexl@redhat.com>
2756 Bump version to 0.1.1
2758 * gio/gsimpleasyncresult.c:
2759 (g_simple_async_result_set_from_error):
2760 Remove bogus g_return_if_fail
2762 2007-11-06 Alexander Larsson <alexl@redhat.com>
2765 The name is gio-standalone
2768 Add top src/builddir to includedir
2770 2007-11-06 Alexander Larsson <alexl@redhat.com>
2772 * docs/reference/gio/gio-sections.txt:
2774 * gio/gbufferedinputstream.c:
2775 * gio/gbufferedoutputstream.c:
2776 * gio/gcancellable.c:
2777 * gio/gdatainputstream.h:
2778 * gio/gdataoutputstream.c:
2779 * gio/gdataoutputstream.h:
2780 * gio/gdirectorymonitor.c:
2782 * gio/gfileattribute.c:
2783 * gio/gfileattribute.h:
2784 * gio/gfileenumerator.c:
2785 * gio/gfileenumerator.h:
2788 * gio/gfileinputstream.h:
2789 * gio/gfilemonitor.c:
2790 * gio/gfileoutputstream.h:
2791 * gio/glocalfilemonitor.h:
2792 * gio/glocalfileoutputstream.h:
2793 * gio/gmemoryinputstream.c:
2794 * gio/gmemoryoutputstream.c:
2795 * gio/gmountoperation.c:
2796 * gio/goutputstream.c:
2797 * gio/goutputstream.h:
2799 * gio/gsimpleasyncresult.c:
2800 * gio/gunixmounts.c:
2801 * gio/gunixmounts.h:
2803 * gio/inotify/inotify-helper.c:
2804 Fix gtk-doc warnings
2806 Patch from Ross Burton
2808 2007-11-06 Alexander Larsson <alexl@redhat.com>
2810 * gio/gfilenamecompleter.c:
2811 (g_filename_completer_get_completions):
2814 * gio/gunixvolume.c:
2815 Remove unused function
2817 Patches from Ross Burton
2819 2007-11-06 Alexander Larsson <alexl@redhat.com>
2824 Padding not needed for interfaces
2826 2007-11-06 Alexander Larsson <alexl@redhat.com>
2828 * gio/gfilemonitor.c:
2832 Make giotypes.h an internal file
2835 * gio/gbufferedinputstream.h:
2836 * gio/gbufferedoutputstream.h:
2837 * gio/gcancellable.h:
2838 * gio/gdatainputstream.h:
2839 * gio/gdataoutputstream.h:
2840 * gio/gdirectorymonitor.c:
2841 * gio/gdirectorymonitor.h:
2846 * gio/gfileattribute.h:
2847 * gio/gfileenumerator.h:
2852 * gio/gfilemonitor.c:
2853 * gio/gfilemonitor.h:
2854 * gio/gfilenamecompleter.c:
2855 * gio/gfilenamecompleter.h:
2856 * gio/gfilterinputstream.h:
2857 * gio/gfilteroutputstream.h:
2858 * gio/ginputstream.h:
2859 * gio/gmemoryinputstream.h:
2860 * gio/gmemoryoutputstream.h:
2861 * gio/gmountoperation.c:
2862 * gio/gmountoperation.h:
2863 * gio/gnativevolumemonitor.c:
2864 * gio/goutputstream.h:
2867 * gio/gsimpleasyncresult.c:
2868 * gio/gsimpleasyncresult.h:
2869 * gio/gsocketinputstream.h:
2870 * gio/gsocketoutputstream.h:
2871 * gio/gthemedicon.c:
2872 * gio/gthemedicon.h:
2876 * gio/gvolumemonitor.c:
2877 * gio/gvolumemonitor.h:
2878 Add padding in classes where it seems useful
2879 Don't include giotypes.h from public headers
2880 Move in Class definitions into c file where possible
2885 2007-11-06 Alexander Larsson <alexl@redhat.com>
2887 * docs/reference/gio/gio-docs.xml:
2888 Better structure for API docs
2890 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2893 * gio/gloadableicon.c:
2894 * gio/gsimpleasyncresult.c:
2895 * gio/gthemedicon.c:
2896 Add some more guards to public functions. Only files missing are now
2899 2007-11-06 Alexander Larsson <alexl@redhat.com>
2901 * docs/reference/gio/gio-docs.xml:
2902 Remove old files, add missing ones
2904 2007-11-06 Alexander Larsson <alexl@redhat.com>
2906 * docs/reference/gio/gio-sections.txt:
2909 Hide implementation classes
2911 * gio/gdriveprivate.h:
2912 * gio/gvolumeprivate.h:
2913 Remove non-existing function declarations
2915 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2918 Fix compilation warnings and add guards to the new functions.
2920 * gio/gasyncresult.c:
2922 Add guards to the public functions.
2925 Implement get_path().
2927 2007-11-06 Alexander Larsson <alexl@redhat.com>
2929 * gio/gfilenamecompleter.c:
2930 Make g_filename_completer_get_completions
2931 return char ** instead of GList for
2934 * docs/reference/gio/gio-docs.xml:
2935 * docs/reference/gio/gio-sections.txt:
2937 * gio/gasyncresult.c:
2938 * gio/gbufferedinputstream.c:
2939 * gio/gbufferedoutputstream.c:
2940 * gio/gcancellable.c:
2941 * gio/gcontenttype.c:
2942 * gio/gdatainputstream.c:
2943 * gio/gdataoutputstream.c:
2944 * gio/gdesktopappinfo.c:
2945 * gio/gdirectorymonitor.c:
2949 * gio/gfileattribute.c:
2950 * gio/gfileenumerator.c:
2953 * gio/gfileinputstream.c:
2954 * gio/gfilemonitor.c:
2955 * gio/gfilenamecompleter.c:
2956 * gio/gfilenamecompleter.h:
2957 * gio/gfileoutputstream.c:
2958 * gio/gfilterinputstream.c:
2960 * gio/ginputstream.c:
2962 * gio/gioscheduler.c:
2963 * gio/gloadableicon.c:
2964 * gio/glocaldirectorymonitor.c:
2966 * gio/glocalfileinputstream.c:
2967 * gio/glocalfilemonitor.c:
2968 * gio/glocalfileoutputstream.c:
2970 * gio/gmemoryinputstream.c:
2971 * gio/gmemoryoutputstream.c:
2972 * gio/gmountoperation.c:
2973 * gio/goutputstream.c:
2974 * gio/gpollfilemonitor.c:
2976 * gio/gsimpleasyncresult.c:
2977 * gio/gsocketinputstream.c:
2978 * gio/gsocketoutputstream.c:
2979 * gio/gthemedicon.c:
2980 * gio/gunionvolumemonitor.c:
2982 * gio/gunixmounts.c:
2983 * gio/gunixvolume.c:
2984 * gio/gunixvolumemonitor.c:
2988 * gio/gvolumemonitor.c:
2989 * gio/gwin32appinfo.c:
2990 Add (mostly stub) doc strings to public functions.
2991 Patch from Andrew Walton (awalton@gmail.com)
2993 2007-11-06 Alexander Larsson <alexl@redhat.com>
2995 * gio/gappinfo.[ch]:
2996 Added GAppLaunchContext object and pass that to launch.
2997 This allows simple implementation of both
2998 launch-on-screen and startup notification via a gtk+
2999 subclass of GAppLaunchContext
3001 * gio/gdesktopappinfo.c:
3002 Implement GAppLaunchContext API
3004 * gio/gwin32appinfo.c:
3007 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3009 * gio/gmountoperation.c:
3010 Add some guards to GMountOperation's public functions.
3012 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3016 * gio/gcancellable.c:
3017 * gio/gdirectorymonitor.c:
3019 * gio/gfileenumerator.c:
3020 * gio/gfilemonitor.c:,
3021 * gio/gfilenamecompleter.c:
3024 * gio/gioscheduler.c:
3028 * gio/gvolumemonitor.c:
3029 Add even more guards to various public functions.
3031 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3034 Add guards to the public functions of GAppInfo.
3036 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3038 * gio/gcontenttype.c:
3039 Add some more guards for public functions.
3041 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3043 * gio/fam/fam-module.c:
3044 * gio/fam/gfamdirectorymonitor.c:
3045 * gio/fam/gfamdirectorymonitor.h:
3046 * gio/fam/gfamfilemonitor.c:
3047 * gio/fam/gfamfilemonitor.h:
3048 * gio/inotify/ginotifydirectorymonitor.c:
3049 * gio/inotify/ginotifydirectorymonitor.h:
3050 * gio/inotify/ginotifyfilemonitor.c:
3051 * gio/inotify/ginotifyfilemonitor.h:
3052 Add proper copyright information and remove an unused variable
3053 in the GInotifyFileMonitor constructor.
3055 * gio/gcancellable.c:
3056 Add a guard for a public function and an assertion to prevent
3057 an undefined program state.
3059 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3061 * gio/gfileattribute.c:
3062 Don't run into an assertion if the given attribute value is NULL
3063 in g_file_attribute_value_get_*() but instead return a fallback
3064 value that makes sense in most situations. Passing them a attribute
3065 value with the wrong type will still run into an assertion.
3067 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3069 * gio/gfileattribute.c:
3071 Add even more guards to the public functions. Also fix the refcounting
3072 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3073 let g_file_info_list_attributes() filter the attributes by namespace
3074 instead of simply ignoring the namespace parameter.
3076 2007-11-03 Sven Herzberg <sven@imendio.com>
3078 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3079 (This makes gio work on MacOS X again)
3081 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3084 Build the gio subdirectory before the docs. Otherwise the build will
3087 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3088 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3089 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3090 Add guards to the public functions.
3092 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3094 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3095 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3096 to prevent a compiler warning.
3098 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3099 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3100 return something in the non-void function find_topdir_for().
3102 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3109 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3111 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3112 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3113 * gwin32appinfo.c (g_win32_app_info_launch):
3114 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3115 envp_for_startup_id, g_desktop_app_info_launch,
3116 g_desktop_app_info_launch_uris):
3118 Give an opaque 'startup_id' string instead of 'envp'.
3119 Support empty file lists for launching new windows.
3120 Fix infinite recursion bug when launching URIs.
3122 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3125 Add guard to the new g_file_get_uri_scheme() function.
3127 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3130 Convert a g_return_val_if_fail() to setting the GError instead as
3131 otherwise applications have to verify the parameter before otherwise
3132 and the parameter might come directly from the user.
3134 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3136 * gio/inotify/ginotify*.[ch]:
3137 Add missing copyright information.
3139 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3142 Add guards in the beginning of public functions to check for valid
3143 parameters and fix a bug in copy_stream_with_progress() that could've
3144 caused writing less bytes than reading.
3145 * gio/glocalfileinfo.c:
3146 Check for a NULL parameter and set the GError accordingly then.
3147 * gio/goutputstream.c:
3148 Fix the same bug as in gfile.c that could've caused writing less bytes
3149 than reading in g_output_stream_real_splice().
3151 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3154 Use the correct gvolumeprivate.h naming
3156 2007-11-01 Christian Kellner <gicmo@gnome.org>
3159 Remove leftover "$(daemon_sources)" entry.
3161 2007-11-01 Christian Kellner <gicmo@gnome.org>
3166 Add copyright information to source files.
3168 2007-11-01 Alexander Larsson <alexl@redhat.com>
3172 Add g_file_get_uri_scheme
3174 2007-11-01 Alexander Larsson <alexl@redhat.com>
3177 * gio/gdesktopappinfo.c:
3178 * gio/gwin32appinfo.c:
3179 Add g_app_info_get_default_for_uri_scheme.
3181 2007-11-01 Alexander Larsson <alexl@redhat.com>
3184 Correct filename for gdriveprivate.h
3186 2007-10-31 Alexander Larsson <alexl@redhat.com>
3189 Rename id:value to id:file
3192 * gio/glocalfileinfo.c:
3195 2007-10-31 Alexander Larsson <alexl@redhat.com>
3197 * gio/gunixvolume.c:
3199 Remove g_volume_get_platform_id, as thats not
3200 needed with the simpler union volume monitor
3202 2007-10-31 Alexander Larsson <alexl@redhat.com>
3205 * gio/guniondrive.[ch]: Removed.
3206 * gio/gunionvolume.[ch]: Removed.
3207 Remove GUnionDrive/Volume
3209 * gio/gunionvolumemonitor.c:
3210 Simplify union volume monitor, now we
3211 only have one native volume monitor and
3212 we use the actual volumes/drives from the
3213 child monitors instead of wrapping them
3215 * gio/gnativevolumemonitor.[ch]:
3216 Base class for native volume monitors.
3217 Includes priority and get_volume_for_mountpoint
3220 Add g_file_find_enclosing_volume
3223 Remove volume name fs attribute
3224 Add readonly fs attribute
3227 Implement readonly attribute
3228 remove volume name attribute
3229 Implement find_enclosing volume
3231 * gio/gunixmounts.c:
3232 Add a volume for "/".
3234 * gio/gunixvolume.[ch]:
3235 Set better name for /
3237 * gio/gunixvolumemonitor.[ch]:
3238 Derive from GNativeVolumeMonitor
3239 Implement get_volume_for_mountpoint
3242 GVolume typedef moved to gfile.h
3244 * gio/gvolumeprivate.h:
3245 Add g_volume_get_for_mount_path
3247 2007-10-31 Alexander Larsson <alexl@redhat.com>
3249 * gio/gunixmounts.[ch]:
3250 Add cache info to unix mount listers
3251 Make getmntent use threadsafe
3252 Add is_system_internal attribute for GUnixMount
3254 * gio/gunixvolume.c:
3255 (g_unix_volume_new):
3256 Use is_system_internal instead of own code
3258 * gio/glocaldirectorymonitor.c:
3259 * gio/gunixvolumemonitor.c:
3260 Update to new gunixmounts API
3265 2007-10-30 Alexander Larsson <alexl@redhat.com>
3268 Add volume name fsinfo attribute
3271 Read volume name info
3273 * gio/gunionvolumemonitor.c:
3274 Fix infinite loops when finalizing a union volume monitor
3276 2007-10-30 Alexander Larsson <alexl@redhat.com>
3278 * gio/goutputstream.[ch]:
3279 Add splice() with default implementation
3281 * gio/gsocketoutputstream.c:
3282 (g_socket_output_stream_write):
3283 Return error on cancellation correctly.
3285 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3287 * gio/glocalfile.c (g_local_file_trash):
3288 Do not leak a string.
3290 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3292 * gio/gfile.c (g_file_load_contents):
3293 Unref the stream after closing it.
3295 2007-10-25 Alexander Larsson <alexl@redhat.com>
3297 * gio/gioscheduler.h:
3300 2007-10-25 Alexander Larsson <alexl@redhat.com>
3304 Add g_file_has_uri_scheme and implement for local files
3306 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3308 * gio/gdesktopappinfo.c: do not leak a string.
3310 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3312 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3313 (g_local_directory_monitor_new):
3314 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3315 (g_local_file_monitor_new):
3316 Only look for the monitor type that should be used the first time
3317 and use g_qsort_with_data() instead of our own bubble sort
3320 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3323 * gio/fam/Makefile.am:
3324 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3325 * gio/fam/fam-helper.h:
3326 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3327 * gio/fam/gfamdirectorymonitor.c:
3328 * gio/fam/gfamdirectorymonitor.h:
3329 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3330 * gio/fam/gfamfilemonitor.h:
3331 * gio/glocaldirectorymonitor.c:
3332 * gio/glocaldirectorymonitor.h:
3333 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3334 * gio/glocalfilemonitor.h:
3335 * gio/inotify/Makefile.am:
3336 * gio/inotify/ginotifydirectorymonitor.c:
3337 * gio/inotify/ginotifydirectorymonitor.h:
3338 * gio/inotify/ginotifyfilemonitor.c:
3339 * gio/inotify/ginotifyfilemonitor.h:
3340 Implement the FAM and Inotify monitors as
3341 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3342 their own GIO module. GLocal(Directory|File)Monitor will use the
3343 monitor with the highest rank that is supported on that machine.
3345 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3348 Change GIO module dir to $(libdir)/gio/modules and change
3349 the log domain from GVFS to GIO. Also only export symbols starting
3350 with g_ in the resulting library.
3351 * gio/test-streams.c: (main):
3352 Set log handler for the GIO log domain.
3354 2007-10-22 Alexander Larsson <alexl@redhat.com>
3356 * gio/gfilenamecompleter.[ch]:
3357 Add g_filename_completer_set_dirs_only
3359 2007-10-22 Alexander Larsson <alexl@redhat.com>
3362 * gio/gurifuncs.[ch]:
3363 Add some simple URI helpers
3365 * gio/gfilenamecompleter.[ch]:
3366 Added object for filename (parse name actually) completion
3369 Handle ~ in parse names
3371 2007-10-17 Alexander Larsson <alexl@redhat.com>
3374 * gio/glocalfileinfo.c:
3375 Add and implement id:value attribute
3377 2007-10-17 Alexander Larsson <alexl@redhat.com>
3380 * gio/guniondrive.c:
3382 Add and implement g_drive_has_volumes
3384 2007-10-17 Alexander Larsson <alexl@redhat.com>
3387 * gio/glocalfileinfo.[ch]:
3388 Add unix:is_mountpoint and implement for local files
3390 2007-10-16 Alexander Larsson <alexl@redhat.com>
3392 * gio/gunionvolumemonitor.c:
3393 (g_union_volume_monitor_init):
3394 Fix up the unix type getting so that it works with gcc
3396 2007-10-12 Alexander Larsson <alexl@redhat.com>
3399 * gio/glocalfileinfo.c:
3400 Add thumbnail:failed to file info
3402 2007-10-12 Richard Hult <richard@imendio.com>
3404 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3405 optimizing away the get_type call (happens with some gcc versions,
3406 like the one shipped with OS X 10.4).
3408 2007-10-12 Alexander Larsson <alexl@redhat.com>
3410 * gio/glocalfileinfo.c:
3411 (_g_local_file_info_set_attribute):
3412 Fix build if not HAVE_XATTR
3413 Patch from Milosz Derezynski <internalerror@gmail.com>
3415 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3417 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3418 around for review, otherwise I would have asked you before
3421 2007-10-11 Alexander Larsson <alexl@redhat.com>
3424 Add thumbnail:path attribute
3426 * gio/glocalfileinfo.c:
3427 Implement thumbnail:path for local files
3429 2007-10-11 Alexander Larsson <alexl@redhat.com>
3431 * gio/glocalfileinfo.c:
3432 (_g_local_file_info_get):
3433 Avoid duplicate icon names
3435 2007-10-11 Alexander Larsson <alexl@redhat.com>
3437 * gio/gthemedicon.[ch]:
3438 Change g_themed_icon_get_names return type to const
3440 2007-10-10 Alexander Larsson <alexl@redhat.com>
3442 * gio/glocalfileinfo.c:
3443 Don't reference freed memory
3445 2007-10-10 Alexander Larsson <alexl@redhat.com>
3447 * gio/gfileattribute.c:
3450 * gio/glocalfileinfo.c:
3453 2007-10-10 Alexander Larsson <alexl@redhat.com>
3456 Check for NULL icons
3458 * gio/gfileattribute.c:
3459 Don't dup when getting objects (same as for string attributes)
3461 * gio/gicon.c (g_icon_equal):
3462 Safely handle NULLs in equal
3464 2007-10-10 Alexander Larsson <alexl@redhat.com>
3467 Fix c++ compilation issues
3468 Patch from Milosz Derezynski <internalerror@gmail.com>
3470 2007-10-10 Alexander Larsson <alexl@redhat.com>
3472 * programs/gio-monitor-dir.c:
3473 Don't crash if dir monitor not supported.
3475 2007-10-09 Alexander Larsson <alexl@redhat.com>
3478 Add missing G_END_DECLS
3480 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3482 * gio/gfile.c: (g_file_set_display_name),
3483 (g_file_query_settable_attributes),
3484 (g_file_query_writable_namespaces):
3485 Return NULL not FALSE on errors as the return type is a pointer.
3487 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3489 * gio/glocalfile.c: (g_local_file_monitor_file):
3490 Don't call monitor_file on the default interface vtable (which
3491 is NULL) but simply return NULL. The caller, GFile, will create a
3492 polling monitor if NULL is returned.
3494 2007-10-09 Alexander Larsson <alexl@redhat.com>
3498 * gio-unix-2.0.pc.in:
3499 Add gio-unix-2.0.pc if OS_UNIX
3502 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3504 2007-10-09 Alexander Larsson <alexl@redhat.com>
3506 * gio/gunixmounts.[ch]:
3507 Make unix mount monitoring API sane.
3508 Now its just a object with mounts_changed
3509 and mountpoints_changed signals.
3511 * gio/glocaldirectorymonitor.c:
3512 * gio/gunixvolumemonitor.c:
3513 Use new mount monitor api
3515 2007-10-09 Alexander Larsson <alexl@redhat.com>
3517 * gio/gunixmounts.[ch]:
3518 Move guess type into one call for mounts and one for mountpoints
3521 * gio/gunixvolume.c:
3524 2007-10-09 Alexander Larsson <alexl@redhat.com>
3526 * gio/gunixmounts.[ch]:
3527 Remove _ prefix in preparation to make this semi-public
3528 Hide implementation of structs
3530 * gio/glocaldirectorymonitor.c:
3532 * gio/gunixvolume.c:
3533 * gio/gunixvolumemonitor.c:
3534 Update for above API changes
3536 2007-10-08 Alexander Larsson <alexl@redhat.com>
3539 Better polling fallback. This also handles the case where we have
3540 a monitor_file implementation, but it fails.
3542 2007-10-08 Alexander Larsson <alexl@redhat.com>
3546 * gio/gunixmounts.c:
3547 * programs/gio-monitor-dir.c:
3548 * programs/gio-monitor-file.c:
3549 Added cancellable to file monitoring calls.
3550 These are really sync calls and need this.
3552 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3554 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3555 (g_local_vfs_class_init):
3556 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3557 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3559 2007-10-05 Alexander Larsson <alexl@redhat.com>
3561 * gio/gdirectorymonitorprivate.h:
3562 * gio/gfilemonitorprivate.h:
3563 * gio/gdirectorymonitor.h:
3564 * gio/gfilemonitor.h:
3565 Remove *private.h and move to the public API, so that
3566 we can do implementations outside gio (such as in gvfs)
3568 * gio/gdirectorymonitor.c:
3569 * gio/gfilemonitor.c:
3570 * gio/glocaldirectorymonitor.c:
3571 * gio/gpollfilemonitor.c:
3572 * gio/inotify/inotify-helper.c:
3573 * gio/fam/fam-helper.c:
3574 Update to the new header names
3576 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3578 * gio/gdirectorymonitor.c:
3579 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3582 2007-10-04 Alexander Larsson <alexl@redhat.com>
3584 * gio/glocalfileinfo.c (get_access_rights):
3585 Set CAN_TRASH when we can move the file.
3586 We should really also check for a parent trash dir.
3588 2007-10-04 Alexander Larsson <alexl@redhat.com>
3590 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3591 Add can_trash access attribute
3593 2007-10-04 Alexander Larsson <alexl@redhat.com>
3596 (g_local_file_trash):
3597 Create info file first. This is per-spec and allows
3598 us to actually trash directories.
3600 2007-10-02 Alexander Larsson <alexl@redhat.com>
3602 * gio/gdesktopappinfo.c:
3603 Implement the new mime support code.
3604 Always set app as handling mimetype when being set as default for it
3606 2007-10-01 Alexander Larsson <alexl@redhat.com>
3608 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3609 Fix up check for xattrs:
3611 2007-10-01 Alexander Larsson <alexl@redhat.com>
3614 (g_app_info_set_as_default_for_extension):
3615 (g_app_info_add_supports_type):
3616 (g_app_info_can_remove_supports_type):
3617 (g_app_info_remove_supports_type):
3618 Make these fail nicely if not implemented
3620 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3622 * gio/glocalfileoutputstream.c:
3623 * gio/glocalfileoutputstream.h:
3628 * programs/gio-save.c:
3629 Add a GFileCreateFlags argument to operations that can create
3632 2007-10-01 Alexander Larsson <alexl@redhat.com>
3634 * gio/gappinfo.[ch]:
3635 * gio/gdesktopappinfo.c:
3636 Add more (stubbed out) mime API needed for nautilus
3638 2007-10-01 Alexander Larsson <alexl@redhat.com>
3641 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3642 Add g_app_info_set_as_default_for_extension.
3644 * gio/gdesktopappinfo.c:
3645 Dummy for g_app_info_set_as_default_for_extension
3646 Support flags in g_app_info_create_from_commandline
3648 * gio/gwin32appinfo.c:
3650 Update for API changes
3652 * gio/gthemedicon.c:
3653 Properly NULL-terminate list of icon names
3655 2007-09-28 Alexander Larsson <alexl@redhat.com>
3657 * gio/gloadableicon.h:
3658 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3660 2007-09-28 Alexander Larsson <alexl@redhat.com>
3663 Install headers in $includedir/gio-standalone/
3665 * gio-2.0.pc.in: Added.
3666 * gio-standalone.pc.in: Removed.
3669 Renamed pkg-config file to match glib (for future move)
3670 Update to the new include dir
3673 Add more TODO comments
3675 2007-09-28 Alexander Larsson <alexl@redhat.com>
3677 * gio/gdesktopappinfo.[ch]:
3678 Expose new_from_filename
3679 Add getter for is_hidden and handle it better
3681 2007-09-28 Alexander Larsson <alexl@redhat.com>
3683 * gio/gfileinfo.[ch]:
3684 Rename g_file_size_format_for_display to
3685 g_format_file_size_for_display.
3686 Now it doesn't have the g_file prefix, so we
3687 can later move it to glib.
3689 2007-09-28 Alexander Larsson <alexl@redhat.com>
3691 * gio/gappinfo.[ch]:
3692 Add g_app_info_get_id and g_app_info_get_executable.
3693 Make all getters non-reffing
3694 Make g_app_info_launch take GFile arguments.
3695 Add must_support_uris argument to g_app_info_get_default_for_type.
3697 * gio/gwin32appinfo.c:
3698 Update to GAppInfo api changes
3700 * gio/gdesktopappinfo.c:
3701 Update to GAppInfo api changes
3702 Implement supports_xdg_startup_notify
3704 * gio/gfileicon.c (g_file_icon_get_file):
3705 Make getter non-reffing.
3710 2007-09-27 Alexander Larsson <alexl@redhat.com>
3712 * gio/gfileinfo.[ch]:
3713 Add g_file_size_format_for_display helper
3715 2007-09-27 Alexander Larsson <alexl@redhat.com>
3717 * gio/glocalfileinfo.c:
3718 Set UNIX_GID from gid, not from uid
3720 2007-09-27 Alexander Larsson <alexl@redhat.com>
3723 Add g_file_set_attributes_async
3725 2007-09-27 Alexander Larsson <alexl@redhat.com>
3727 * gio/glocalfile.c (g_local_file_set_display_name):
3728 Fix set_display_name to actually rename to the right place.
3729 Use lstat to look for existing files so we don't overwrite
3732 2007-09-26 Alexander Larsson <alexl@redhat.com>
3735 Add g_file_set_display_name_async()
3737 2007-09-26 Alexander Larsson <alexl@redhat.com>
3740 Add load_partial_contents async calls
3743 Make internal function static
3745 2007-09-26 Alexander Larsson <alexl@redhat.com>
3747 * gio/glocalfileinfo.c:
3748 Correctly detect broken symlinks
3750 2007-09-26 Alexander Larsson <alexl@redhat.com>
3752 * gio/gcancellable.c (g_cancellable_cancel):
3753 Allow cancel on NULL cancellable
3755 2007-09-25 Alexander Larsson <alexl@redhat.com>
3757 * gio/gsimpleasyncresult.c:
3758 Don't allocate g_error manually.
3759 Fixes g_slice/g_new mixup crash
3761 2007-09-25 Alexander Larsson <alexl@redhat.com>
3763 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3764 Actually set active_backend.
3765 This means the monitor will be cancelled correctly.
3767 2007-09-25 Alexander Larsson <alexl@redhat.com>
3769 * gio/gdirectorymonitor.c:
3770 Set timeout to NULL when destroying
3772 2007-09-25 Alexander Larsson <alexl@redhat.com>
3775 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3776 that is a better description of the error.
3778 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3780 * gio/gvfs.c: (g_vfs_get_local):
3781 Make the local vfs variable static. The same instance should
3784 2007-09-24 Alexander Larsson <alexl@redhat.com>
3786 * gio/glocalfileinfo.c:
3787 Pass in actual length read into sniffer, not the length
3790 2007-09-21 Alexander Larsson <alexl@redhat.com>
3792 * gio/gfileenumerator.c:
3795 * gio/gfileinputstream.c:
3796 * gio/gfileoutputstream.c:
3797 * gio/ginputstream.c:
3798 * gio/goutputstream.c:
3799 Don't crash if async callbacks are NULL
3801 2007-09-20 Alexander Larsson <alexl@redhat.com>
3804 Add async enumerate_children method and default
3807 2007-09-20 Alexander Larsson <alexl@redhat.com>
3810 Add g_file_contains_file & g_file_get_relative_path, since they
3811 were needed for nautilus.
3812 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3817 Implement new methods
3819 2007-09-17 Alexander Larsson <alexl@redhat.com>
3822 * gio/gfileinputstream.[ch]:
3823 * gio/gfileoutputstream.[ch]:
3825 * gio/glocalfileenumerator.[ch]:
3826 * gio/glocalfileinfo.[ch]:
3827 * gio/glocalfileinputstream.c:
3828 * gio/glocalfileoutputstream.c:
3829 * gio/gpollfilemonitor.c:
3830 * programs/gio-copy.c:
3831 * programs/gio-info.c:
3832 * programs/gio-move.c:
3833 Rename get_file_info to query_info() to make it clearer
3834 that these are not simple getters, but do i/o.
3836 2007-09-17 Alexander Larsson <alexl@redhat.com>
3838 * gio/gdatainputstream.[ch]:
3839 * gio/test-streams.c:
3840 Use _read_XXX instead of _get_XXX for the i/o calls
3843 2007-09-17 Alexander Larsson <alexl@redhat.com>
3846 Added needed stuff to TODO comment
3848 2007-09-17 Alexander Larsson <alexl@redhat.com>
3850 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3851 Don't error out removing the backup copy if it doesn't
3854 2007-09-14 Alexander Larsson <alexl@redhat.com>
3856 * programs/Makefile.am:
3857 * programs/gvfs-*.c:
3859 Renamed apps from gvfs-xxx to gio-xxx.
3861 2007-09-14 Alexander Larsson <alexl@redhat.com>
3864 * gio/gfileoutputstream.[ch]:
3865 * gio/glocalfileoutputstream.c:
3866 * programs/gvfs-save.c:
3867 g_file_output_stream_get_etag doesn't do i/o, so remove
3868 cancellation and error.
3870 2007-09-14 Alexander Larsson <alexl@redhat.com>
3873 Add new_etag output to replace_contents functions
3875 2007-09-14 Alexander Larsson <alexl@redhat.com>
3877 * gio/gfileoutputstream.[ch]:
3878 Add async get_file_info and default implementation
3880 2007-09-14 Alexander Larsson <alexl@redhat.com>
3882 * gio/gfileinputstream.c:
3883 Implement fallback wrapper for async get_file_info
3885 2007-09-14 Alexander Larsson <alexl@redhat.com>
3888 Add etag out argument to load_contents
3893 2007-09-14 Alexander Larsson <alexl@redhat.com>
3895 * gio/gcontenttype.c (looks_like_text):
3896 Whitespace like tab, cr and lf do not make the
3899 2007-09-14 Alexander Larsson <alexl@redhat.com>
3901 * gio/gfileinputstream.[ch]:
3902 Add async get_file_info.
3904 2007-09-13 Alexander Larsson <alexl@redhat.com>
3906 * gio/goutputstream.c (g_output_stream_write_all):
3907 Allow NULL for bytes_written
3909 2007-09-13 Alexander Larsson <alexl@redhat.com>
3911 * gio/gmemoryinputstream.[ch]:
3912 Add accessors for data
3914 2007-09-13 Alexander Larsson <alexl@redhat.com>
3916 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3917 Don't crash if length is NULL