1 2008-03-12 David Zeuthen <davidz@redhat.com>
5 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
7 2008-03-14 Alexander Larsson <alexl@redhat.com>
11 Avoid redudant tests (#521851)
12 Patch from Josselin Mouette
14 2008-03-14 Alexander Larsson <alexl@redhat.com>
17 (g_file_monitor_is_cancelled):
18 Fix C89 issue (#521672)
19 Patch from Jens Granseuer
21 2008-03-14 Alexander Larsson <alexl@redhat.com>
23 * fam/fam-helper.[ch]:
25 Shut down fam (including removing fam GSource) when
26 module is unloaded (#521513)
27 Patch from Joe Marcus Clarke
29 2008-03-14 Alexander Larsson <alexl@redhat.com>
32 (_g_io_modules_ensure_loaded):
35 2008-03-14 Alexander Larsson <alexl@redhat.com>
38 (g_local_file_query_filesystem_info):
39 Use right define name for f_fstypename member check
41 2008-03-14 Alexander Larsson <alexl@redhat.com>
44 * fen/Makefile.am: Added.
45 * fen/fen-data.[ch]: Added.
46 * fen/fen-dump.[ch]: Added.
47 * fen/fen-helper.[ch]: Added.
48 * fen/fen-kernel.[ch]: Added.
49 * fen/fen-missing.[ch]: Added.
50 * fen/fen-node.[ch]: Added.
51 * fen/fen-sub.[ch]: Added.
52 * fen/gfendirectorymonitor.[ch]: Added.
53 * fen/gfenfilemonitor.[ch]: Added.
55 Added Solaris FEN file notification backend.
56 Patch from Lin Ma <Lin.Ma@Sun.COM>
58 2008-03-13 Tor Lillqvist <tml@novell.com>
60 * Makefile.am: Actually use the gio.def file when linking the
61 library on Windows. Produce .lib library for Microsoft's toolchain
62 when possible. Install the .lib and .def file like for the other
65 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
67 * tests/live-g-file.c:
68 Include live-g-file in standard set of tests, making a temporary
69 directory in source structure.
71 Clean target directory before the tests (write mode only)
73 2008-03-12 Tor Lillqvist <tml@novell.com>
75 Bug 517419 - gio win32 directory monitor
76 Implementation by Vlad Grecescu.
79 * win32/gwin32directorymonitor.h
80 * win32/gwin32directorymonitor.c: New files.
82 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
84 * Makefile.am: Add the win32 subdirectory.
86 2008-03-12 Tor Lillqvist <tml@novell.com>
88 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
89 normal struct stat on Unix but struct _stati64 on Windows to have
90 access to 64-bit file size information. Use that instead of struct
91 stat in the functions declared here in this private header.
93 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
94 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
95 warnings about unused functions and variables. Don't set
96 meaningless attributes like inode numbers on Windows.
98 2008-03-12 Benjamin Otte <otte@gnome.org>
101 trim whitespace so gtk-doc groks the function name
103 2008-03-12 Tor Lillqvist <tml@novell.com>
105 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
106 returning FALSE, on Win32.
108 2008-03-11 Alexander Larsson <alexl@redhat.com>
111 * glocalfileinfo.[ch]:
112 Correctly implement can_trash by actually
113 looking for a trash dir, not just assuming
116 2008-03-10 Matthias Clasen <mclasen@redhat.com>
118 * === Released 2.16.1 ===
120 2008-03-11 Alexander Larsson <alexl@redhat.com>
123 Fix crashes in new constructor and properties code
125 2008-03-10 Murray Cumming <murrayc@murrayc.com>
127 * gfile.c: Minor spelling correction in documentation:
128 existance -> existence.
130 2008-03-10 Matthias Clasen <mclasen@redhat.com>
132 * === Released 2.16.0 ===
134 2008-03-10 Matthias Clasen <mclasen@redhat.com>
136 * gio.symbols: Remove g_file_contains_file here, too.
138 2008-03-10 Matthias Clasen <mclasen@redhat.com>
140 * gthemedicon.c: Add properties to make bindings happy. (#517676,
141 Samuel Cormier-Iijima)
143 2008-03-08 Tor Lillqvist <tml@novell.com>
145 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
148 2008-03-07 Alexander Larsson <alexl@redhat.com>
151 (g_local_file_query_filesystem_info):
152 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
153 Patch from Jasper Lievisse Adriaanse
155 2008-03-06 Tor Lillqvist <tml@novell.com>
157 * gfileinfo.h: Correct milliseconds to microseconds in the doc
158 comments for the *_USEC attributes.
160 2008-03-06 Alexander Larsson <alexl@redhat.com>
162 * gfile.c (g_file_query_exists):
163 Add g_return_val_if_fail check (#520700)
165 2008-03-06 Alexander Larsson <alexl@redhat.com>
170 * gunionvolumemonitor.c:
173 * tests/live-g-file.c:
174 * xdgmime/xdgmimecache.c:
175 Fix sparse warnings (#519489)
177 2008-03-05 Alexander Larsson <alexl@redhat.com>
180 Make cancellation threadsafe (i.e.
181 guarantee its only done once, and always
184 * glocaldirectorymonitor.c:
185 Make sure we the monitor lives while the
186 mounts_changed callback is being called (#520484)
188 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
190 * gbufferedinputstream.c: Fix typo in parameter
193 2008-03-04 Alexander Larsson <alexl@redhat.com>
196 Remove deprecated symbols we kept for one release.
198 2008-03-04 Murray Cumming <murrayc@murrayc.com>
201 * goutputstream.c: Tiny documentation corrections.
203 2008-03-03 Alexander Larsson <alexl@redhat.com>
205 * gunionvolumemonitor.c:
207 Fix the adopt_orphan_mount vfunc to take a
208 volume_monitor reference in an ABI compat way.
209 This change is not API compat, but the added
210 arg is not used in the only user of this vfunc, so
211 all we get is a harmless warning in gvfs (#520169)
213 2008-03-01 Benjamin Otte <otte@gnome.org>
216 clarify docs for g_file_delete().
218 2008-02-29 Alexander Larsson <alexl@redhat.com>
222 Make sure empty files get text/plain type (#518720)
224 2008-02-27 Alexander Larsson <alexl@redhat.com>
230 (g_unix_volume_mount):
231 Add missing GMountMountFlags argument
233 2008-02-26 Alexander Larsson <alexl@redhat.com>
236 (g_local_file_delete):
237 Handle filesystems (like ntfs-3g) that return EEXIST instead
238 of ENOTEMPTY (#518816)
240 2008-02-25 Matthias Clasen <mclasen@redhat.com>
242 * === Released 2.15.6 ===
244 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
246 * gfile.c (g_file_find_enclosing_mount):
247 * ginputstream.c (g_input_stream_set_pending):
248 * glocalfile.c (g_local_file_find_enclosing_mount):
249 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
250 * goutputstream.c (g_output_stream_set_pending):
252 Fixup translator comments (#518578).
254 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
256 * gfile.c (g_file_find_enclosing_mount):
258 * glocalfile.c (g_local_file_find_enclosing_mount):
261 Fix a few typos in translator comments and documentation.
263 2008-02-25 Alexander Larsson <alexl@redhat.com>
270 Add translator comments (#518578)
272 2008-02-25 Alexander Larsson <alexl@redhat.com>
275 Reintroduce g_file_contains_file, keep around for one
276 unstable release cycle to avoid crashing to many apps.
277 Make sure to delete after release.
279 2008-02-25 Alexander Larsson <alexl@redhat.com>
282 Remove deprecated g_file_contains_file.
284 2008-02-25 Alexander Larsson <alexl@redhat.com>
287 Emit actual change signals in an idle handler.
288 This avoids reentrance and locking problems in
289 the file notification backends.
291 2008-02-25 Alexander Larsson <alexl@redhat.com>
294 (g_unix_mount_guess_should_display):
295 Remove type guessing, instead just display
296 mounts in /media and in ~/.
298 2008-02-25 Alexander Larsson <alexl@redhat.com>
301 Make new strings reuse old ones.
303 2008-02-25 Alexander Larsson <alexl@redhat.com>
306 Implement trashing and filesystem::readonly for win32 (#517235)
307 Patch from Yevgen Muntyan
309 2008-02-23 Matthias Clasen <mclasen@redhat.com>
311 * gfileinfo.h: Documentation fixes.
313 2008-02-22 Alexander Larsson <alexl@redhat.com>
315 * gcontenttype.c (g_content_type_get_icon):
316 Look at old-style gnome mime icon names too, as many
317 have not moved to the new style.
319 2008-02-21 Matthias Clasen <mclasen@redhat.com>
321 * *.c: Correct the @include in for section docs.
323 2008-02-21 David Zeuthen <davidz@redhat.com>
325 * glocalfileinfo.c: (_g_local_file_info_get):
327 (g_content_type_get_icon): Implement this function by
328 moving bits from glocalfileinfo.c
329 (g_content_type_get_description): Unalias before getting
330 description (#517687)
332 * gfile.c: (g_file_class_init),
333 (g_file_query_filesystem_info_async),
334 (g_file_query_filesystem_info_finish),
335 (query_filesystem_info_data_free),
336 (query_filesystem_info_async_thread),
337 (g_file_real_query_filesystem_info_async),
338 (g_file_real_query_filesystem_info_finish):
339 * gfile.h: Implement async version of
340 g_file_query_filesystem_info()
342 * gfileinfo.h: Add new attributes for filesystem::use-preview
344 * gio.symbols: Update
346 * gthemedicon.c: (g_themed_icon_append_name):
347 * gthemedicon.h: Add new new convenience function.
349 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
350 (get_mounts), (get_volumes), (get_connected_drives),
351 (get_volume_for_uuid), (get_mount_for_uuid),
352 (g_union_volume_monitor_init), (populate_union_monitor),
353 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
354 (g_volume_monitor_adopt_orphan_mount):
356 * gvolumemonitor.h: Use recursive locks so it's safe for volume
357 monitor implementations to call into the main volume monitor. Also
358 separate object initialization and volume monitor initialization
359 such that non-native volume monitors can properly adopt their
362 2008-02-21 Alexander Larsson <alexl@redhat.com>
367 2008-02-21 Alexander Larsson <alexl@redhat.com>
370 Add more documentation about how GFiles work (from #517086)
372 2008-02-21 Alexander Larsson <alexl@redhat.com>
376 Add new g_file_has_prefix that does the same as g_file_contains_file.
377 Deprecate g_file_contains_file and add a macro that converts
378 it to g_file_has_prefix.
379 The reason for this change is that the contains_file() name seems to
380 imply that this does more work than what it does, but its really only
381 a name match (from #517086)
386 Update to match the above change.
388 2008-02-20 Benjamin Otte <otte@gnome.org>
390 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
391 (g_file_eject_mountable):
392 even more cases of not returning in error path
394 2008-02-20 Benjamin Otte <otte@gnome.org>
396 * gfile.c: (g_file_mount_mountable):
397 return from function in error path.
399 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
402 Remove trailing coma in GMountMountFlags struct
404 2008-02-18 Alexander Larsson <alexl@redhat.com>
408 * glocalfileoutputstream.c:
409 Use g_unlink/g_rename instead of unlink/rename;
410 do not pass raw filenames to g_set_error. (#517239)
411 Patch from Yevgen Muntyan.
413 2008-02-18 Alexander Larsson <alexl@redhat.com>
416 * glocalfileoutputstream.c:
417 Open files with O_BINARY on windows. (#517140)
419 2008-02-14 Alexander Larsson <alexl@redhat.com>
421 * glocalfileoutputstream.c:
422 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
424 2008-02-14 Alexander Larsson <alexl@redhat.com>
427 Copy permissions with file on copy (#514084)
428 This is what cp does and makes sure e.g. the
429 exec permissions are kept.
430 Its kinda weird in that it keeps the permission bits
431 the same while the uid and gid are different. However
432 the new uid is the user so its not a security issue,
433 and I've heard no complaints about cp on this issue.
435 2008-02-13 Ryan Lortie <desrt@desrt.ca>
437 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
439 2008-02-13 Alexander Larsson <alexl@redhat.com>
441 * inotify/inotify-path.c:
442 Define IN_ONLYDIR if not in header (#515346)
444 2008-02-12 Alexander Larsson <alexl@redhat.com>
446 * tests/live-g-file.c:
449 2008-02-11 Matthias Clasen <mclasen@redhat.com>
451 * === Released 2.15.5 ===
453 2008-02-11 Matthias Clasen <mclasen@redhat.com>
455 * gio.symbols: Add g_mount_mount_flags_get_type.
457 2008-02-11 Alexander Larsson <alexl@redhat.com>
460 (g_file_info_set_attribute_mask):
461 (g_file_attribute_matcher_matches_id):
462 Correctly handle NULL GAttributeMatcher meaning
463 matches nothing. (Fixes #513492)
465 2008-02-11 Alexander Larsson <alexl@redhat.com>
470 Added GMountMountFlags enum and added a flags
471 argument to all mount calls.
473 This is an API/ABI change for future extensibility,
474 as I think we will need at least an
475 inhibit-autorun flag (the panel needs this).
476 There are no flags defined yet though.
478 2008-02-11 Alexander Larsson <alexl@redhat.com>
481 Added new standard::description attribute.
482 Requested by Vincent, and useful for both
485 2008-02-11 Alexander Larsson <alexl@redhat.com>
490 2008-02-11 Matthias Clasen <mclasen@redhat.com>
492 * *.c: Documentation additions
494 2008-02-10 Matthias Clasen <mclasen@redhat.com>
496 * gappinfo.h: Formatting cleanup
497 * gappinfo.c: Fix up docs.
499 2008-02-09 Matthias Clasen <mclasen@redhat.com>
501 * gunixmounts.c: Consistently use getmntent_r() and fall
502 back to getmntent(). (#515492)
504 2008-02-09 Matthias Clasen <mclasen@redhat.com>
506 * gbufferedinputstream.c:
508 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
510 * tests/data-input-stream.c:
511 * tests/data-output-stream.c: Portability fixes.
513 2008-02-08 Alexander Larsson <alexl@redhat.com>
518 Add g_volume_should_automount.
521 2008-02-07 Tor Lillqvist <tml@novell.com>
523 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
524 Win32, too Unix-specific.
526 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
528 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
529 a local plt if the compiler doesn't support what we want. Bug #514702
531 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
533 reviewed by: <delete if not using a buddy>
536 * gunixinputstream.c:
537 * gunixoutputstream.c:
539 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
542 * tests/live-g-file.c:
543 * tests/live-g-file.txt:
544 New GIO testing module working over real data
546 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
548 * glocalfileoutputstream.c (g_local_file_output_stream_close):
549 Fallback to rename() if link() is not available
550 (when no support on target filesystem)
552 2008-02-06 Michael Natterer <mitch@imendio.com>
554 * gfileinfo.c (g_file_info_get_icon): replace
555 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
557 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
559 * gfile.c (g_file_create):
560 Documentation update of error codes
562 2008-02-06 Alexander Larsson <alexl@redhat.com>
565 Update to use both mimeapps.list and
566 defaults.list as discussed on xdg list.
568 2008-02-06 Benjamin Otte <otte@gnome.org>
571 * gfilenamecompleter.c:
572 Fix some typos in the documentation.
574 2008-02-06 Alexander Larsson <alexl@redhat.com>
576 * glocalfile.c (g_local_file_trash):
577 Don't succeed with trash if newly created
578 trash dir has the wrong owner. (#514696)
580 2008-02-05 Alexander Larsson <alexl@redhat.com>
582 * glocalfile.c (g_local_file_move):
583 Don't spew warnings when destination is not
586 2008-02-03 Hans Breuer <hans@breuer.org>
588 * makefile.msc : update
590 2008-02-01 Michael Natterer <mitch@imendio.com>
592 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
593 return value of xdg_mime_list_mime_parents() to a variable of the
596 2008-02-01 Alexander Larsson <alexl@redhat.com>
598 * gappinfo.c (g_app_info_launch_uris):
599 Actually call the launch_uris method, not
602 2008-02-01 Alexander Larsson <alexl@redhat.com>
604 * gdesktopappinfo.c (g_desktop_app_info_equal):
605 Ensure appinfos with no id but same pointer value
608 2008-02-01 Alexander Larsson <alexl@redhat.com>
610 * gappinfo.c (g_app_info_launch_default_for_uri):
613 2008-02-01 Alexander Larsson <alexl@redhat.com>
617 Add g_app_info_launch_default_for_uri utility
620 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
623 Doc fix for g_app_info_get_default_for_uri_scheme ()
626 2008-01-30 Alexander Larsson <alexl@redhat.com>
629 Add doc comment about uris vs GFiles to
633 Ensure uris passed to g_app_info_launch_uris()
634 are not roundtriped through GFile (as that
635 may be slightly destructive for e.g. mailto: links)
637 2008-01-30 Alexander Larsson <alexl@redhat.com>
639 * tests/data-input-stream.c:
640 * tests/data-output-stream.c:
641 C89 fixes from Jens Granseuer (#512849)
643 2008-01-30 Alexander Larsson <alexl@redhat.com>
646 Fix gamin/fam difference build issue. (#509419)
648 2008-01-29 Alexander Larsson <alexl@redhat.com>
652 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
654 2008-01-29 Alexander Larsson <alexl@redhat.com>
658 giomodule-priv.h include moved to .c file.
660 2008-01-29 Alexander Larsson <alexl@redhat.com>
662 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
663 Remove unused prio/name fields.
665 2008-01-29 Alexander Larsson <alexl@redhat.com>
667 * gcontenttype.c (looks_like_text):
668 Don't treat whitespace as control chars.
670 2008-01-29 Alexander Larsson <alexl@redhat.com>
673 Lazily create the desktop files for appinfos created
674 by g_app_info_create_from_commandline() when needed
675 for mime associations. This allows run-time use
676 of GAppInfo object without creating unnecessary
679 2008-01-29 Alexander Larsson <alexl@redhat.com>
682 Added new symbols to gio.symbols
684 2008-01-29 Alexander Larsson <alexl@redhat.com>
687 Add g_file_query_default_handler utility to easily look up
688 the GAppInfo that handles a file.
690 * gdesktopappinfo.[ch]:
692 Set up an extension point for g_app_info_get_default_for_uri_scheme()
695 Remove unused function
697 2008-01-29 Alexander Larsson <alexl@redhat.com>
700 Mention need to free returned value in
701 g_file_enumerator_next_files_finish docs.
702 Fix leak if g_file_enumerator_next_files_finish()
705 2008-01-29 Alexander Larsson <alexl@redhat.com>
708 (_g_unix_content_type_get_parents):
709 Use list_parents, not get_parents from xdgmime, because
710 the later doesn't use the cache.
712 * xdgmime/xdgmimecache.c:
713 (_xdg_mime_cache_list_mime_parents):
714 Don't list the same type as parent multiple times.
716 2008-01-28 Matthias Clasen <mclasen@redhat.com>
718 * === Released 2.15.4 ===
720 2008-01-28 Alexander Larsson <alexl@redhat.com>
723 Register local vfs with prio 0.
726 Remove old name and prio class members
728 2008-01-28 Matthias Clasen <mclasen@redhat.com>
730 * tests/g-file.c: Disable some tests that are failing in
731 the absence of a http backend.
733 2008-01-28 Alexander Larsson <alexl@redhat.com>
737 Add registration hooks for extension points.
738 Register the gio extension points.
740 * fam/gfamdirectorymonitor.c:
741 * fam/gfamfilemonitor.c:
742 * glocaldirectorymonitor.[ch]:
743 * glocalfilemonitor.[ch]:
744 * gnativevolumemonitor.h:
745 * gunionvolumemonitor.c:
746 * gunixvolumemonitor.c:
749 * inotify/ginotifydirectorymonitor.c:
750 * inotify/ginotifyfilemonitor.c:
751 Use the extension points registration instead
752 of g_type_children().
754 2008-01-28 Matthias Clasen <mclasen@redhat.com>
757 * gvolume.[hc]: Document new API.
759 * gfile.c (g_file_copy_async): Fix docs
761 2008-01-27 Matthias Clasen <mclasen@redhat.com>
763 * gbufferedinputstream.c:
765 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
768 2008-01-27 Matthias Clasen <mclasen@redhat.com>
770 * glocalfile.c: Avoid trivial differences in translatable strings.
772 2008-01-25 Matthias Clasen <mclasen@redhat.com>
774 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
775 build with gcc 3.4 (#509419)
777 2008-01-25 Matthias Clasen <mclasen@redhat.com>
779 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
780 (#509994, Murray Cumming)
782 2008-01-25 Matthias Clasen <mclasen@redhat.com>
784 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
785 * gioscheduler.c: Keep calling io jobs until they return FALSE;
786 this allows big jobs to be executed in chunks, instead of blocking
787 the main loop for a long time.
789 * gsimpleasyncresult.c:
790 * giofile.c: Adapt callers.
792 2008-01-25 Alexander Larsson <alexl@redhat.com>
795 Implement changes discussed on xdg list.
796 Now we can add supported mimetypes by just using defaults.list
797 We can also remove associations in defaults.list.
799 2008-01-25 Alexander Larsson <alexl@redhat.com>
802 Don't make local copy of desktop file
803 for mimetype changes if the file already
804 supports the new mimetype.
806 2008-01-25 Matthias Clasen <mclasen@redhat.com>
810 * gbufferedinputstream.c:
811 * glocalfile.c: String improvements. (#511966,
812 Theppitak Karoonboonyanan)
814 2008-01-24 Matthias Clasen <mclasen@redhat.com>
816 * gioscheduler.h: Expand docs a bit.
818 2008-01-24 Alexander Larsson <alexl@redhat.com>
821 Add g_drive_get_identifier and
822 g_drive_enumerate_identifiers
825 Add g_volume_get_identifier and
826 g_volume_enumerate_identifiers
832 Implement identifiers for unix backend
834 2008-01-24 Alexander Larsson <alexl@redhat.com>
839 Add g_file_copy_async() (#511580)
840 Based on patch from Carlos Garcia Campos
842 2008-01-23 Matthias Clasen <mclasen@redhat.com>
844 * gioscheduler.c: Some documentation additions.
846 2008-01-22 Alexander Larsson <alexl@redhat.com>
849 (g_desktop_app_info_new):
852 2008-01-22 Alexander Larsson <alexl@redhat.com>
855 (g_desktop_app_info_new_from_filename):
858 2008-01-22 Alexander Larsson <alexl@redhat.com>
860 * glocalfileinfo.c (get_thumbnail_attributes):
863 2008-01-22 Alexander Larsson <alexl@redhat.com>
866 (canonicalize_filename):
867 Canonicalize paths that start with more than
872 (test_g_file_new_for_path):
875 2008-01-22 Alexander Larsson <alexl@redhat.com>
878 Allow UTF-8 in file:// parse names.
881 * tests/data-input-stream.c:
882 * tests/data-output-stream.c:
883 * tests/g-file-info.c:
885 Added a bunch of tests from Tomas Bzatek
887 2008-01-21 Matthias Clasen <mclasen@redhat.com>
889 * === Released 2.15.3 ===
891 2008-01-21 Alexander Larsson <alexl@redhat.com>
893 * gfileinputstream.[ch]:
894 * gfileoutputstream.[ch]:
896 Remove duplicated GSeekable functions. (#509990)
897 Just use the g_seekable_xxx() calls instead.
899 2008-01-21 Matthias Clasen <mclasen@redhat.com>
902 * gvolumemanager.c: Whitespace cleanups.
904 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
905 Use the right mode when creating the file.
907 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
910 * gfileinputstream.c:
912 * goutputstream.c: Documentation: Fixed minor typos
913 and added more mentions of specific _finish() functions.
915 2008-01-21 Alexander Larsson <alexl@redhat.com>
917 * inotify/Makefile.am:
918 * inotify/inotify-helper.c:
919 * inotify/inotify-kernel.c:
920 * inotify/inotify-path.c:
921 * inotify/local_inotify.h: Removed.
922 * inotify/local_inotify_syscalls.h: Removed.
923 Removed the included copies of the inotify
924 headers. We now only use the <sys/inotify.h>
925 header which exists on modern systems.
926 This fixes problems on ARM and SH5 (#510448)
927 but is also generally much cleaner and future
928 safe. For instance, if other OSes add support
929 for inotify it should "just work".
931 2008-01-20 Matthias Clasen <mclasen@redhat.com>
933 * inotify/*.c: Coding style fixes.
934 * inotify/inotify-missing.c: Use g_timeout_add_seconds
935 for the 1/4 Hz timer.
937 2008-01-20 Matthias Clasen <mclasen@redhat.com>
941 * gmemoryinputstream.c:
942 * gmemoryoutputstream.c:
944 * gthemedicon.c: Documentation updates
946 2008-01-20 Murray Cumming <murrayc@murrayc.com>
948 * gfile.c: documentation: Fixed more minor
951 2008-01-18 Murray Cumming <murrayc@murrayc.com>
953 * gmount.c: (g_mount_remount): documentation:
954 Mention g_mount_remount_finish() instead of
955 g_mount_unmount_finish().
957 2008-01-18 Murray Cumming <murrayc@murrayc.com>
961 * gfile.c: Fixed some minor typos in the
964 2008-01-18 Murray Cumming <murrayc@murrayc.com>
966 * gio/gvolumemonitor.c:
967 (g_volume_monitor_get_connected_drives):
968 (g_volume_monitor_get_volumes):
969 (g_volume_monitor_get_mounts): Documentation:
970 Clarify the ownership of the regurn GLists.
972 2008-01-17 Alexander Larsson <alexl@redhat.com>
975 Add the async find_enclosing_mount version
976 to the header file too.
978 2008-01-17 Alexander Larsson <alexl@redhat.com>
981 Add async version of find_enclosing_mount
982 with default implementation.
984 2008-01-17 Alexander Larsson <alexl@redhat.com>
989 Allow calls to implementation of copy and write
990 even if the type of the file implementations is
991 different. This can be used to implement native
992 upload and download calls in a vfs.
996 Protect against the case where move is called
997 with one file not being local.
999 Make sure we call the progress callback once
1000 in the native move operation so that the caller
1001 knows how many bytes were copied.
1003 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1006 * gdatainputstream.c:
1008 * gfileoutputstream.c:
1013 * gunixmounts.c: Corrected some typos in the documentation:
1014 occured -> occurred.
1015 its -> it's (where appropriate).
1017 2008-01-16 Alexander Larsson <alexl@redhat.com>
1021 Add g_file_query_exists (#508771)
1023 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1028 * gvolume.c: For async functions that have no non-async
1029 version, document that the GAsyncReadyCallback may be NULL.
1032 2008-01-15 Alexander Larsson <alexl@redhat.com>
1034 * gmemoryinputstream.c:
1035 * gmemoryoutputstream.c:
1036 Don't do pointer arithmetic on void * (#508602)
1037 Patch from Kazuki IWAMOTO
1039 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1041 * === Released 2.15.2 ===
1043 2008-01-14 Alexander Larsson <alexl@redhat.com>
1045 * gfile.c (g_file_monitor_file):
1046 Don't set error here, since we fallback to polling monitor.
1048 2008-01-14 Alexander Larsson <alexl@redhat.com>
1051 (g_file_monitor_directory):
1052 (g_file_monitor_file):
1053 Add GError to file monitor calls
1055 * glocaldirectorymonitor.c:
1056 * glocaldirectorymonitor.h:
1058 * glocalfilemonitor.c:
1059 * glocalfilemonitor.h:
1061 Update for above change
1063 2008-01-14 Alexander Larsson <alexl@redhat.com>
1067 Handle root correctly in g_file_get_relative_path (#508719)
1069 2008-01-14 Alexander Larsson <alexl@redhat.com>
1072 Clean up docs and example for GAsyncResult (#508074)
1074 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1076 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1077 and correct some spelling mistakes. Bug #508108.
1079 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1081 * glocalfileinfo.c: Add a comment.
1083 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1085 * gfileinfo.c: GFileInfo description: Mention
1086 how to actually set attributes in a GFile and how to discover
1087 which attributes are settable. Bug #508378.
1089 2008-01-10 A. Walton <awalton@svn.gnome.org>
1091 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1092 (g_app_info_get_default_for_type):
1093 Check for NULL content types.
1095 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1097 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1099 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1101 * gfile.c: *_async() functions: Several small corrections
1102 to the documentation, mostly correcting copy/paste errors
1103 and improving some sentences.
1105 2008-01-09 Dan Winship <danw@gnome.org>
1107 * glocalfile.c (get_unique_filename): x86_64 fix
1109 2008-01-09 Alexander Larsson <alexl@redhat.com>
1114 Add g_unix_mount_guess_should_display and use
1115 for unix volume monitor backend.
1116 This means we more or less show what the
1117 gnome-vfs backend did.
1118 Based on patch from Padraig O'Briain
1120 2008-01-09 Alexander Larsson <alexl@redhat.com>
1124 Add g_themed_icon_new_with_default_fallbacks
1127 Use default fallbacks for icons
1129 2008-01-09 Alexander Larsson <alexl@redhat.com>
1132 * gmountoperation.[ch]:
1133 Change the API a bit so that unhandled methods
1134 get reported via the reply, rather than by
1135 the signal emission return value. This is because
1136 some handlers can't know this immediately without
1137 doing I/O, and this is an async operation that
1140 2008-01-09 Alexander Larsson <alexl@redhat.com>
1143 * fam/gfamdirectorymonitor.c:
1144 * fam/gfamfilemonitor.c:
1145 Fix double free crash (#508224)
1146 Patch from Joe Marcus Clarke
1148 008-01-07 Matthias Clasen <mclasen@redhat.com>
1150 * === Released 2.15.1 ===
1152 2008-01-07 Alexander Larsson <alexl@redhat.com>
1154 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1155 Fix warning (#507835)
1157 2008-01-07 Alexander Larsson <alexl@redhat.com>
1160 Pass --internal to glib-genmarshal
1163 * gmountoperation.c:
1165 Use better types for signal arguments (#507822)
1167 2008-01-07 Alexander Larsson <alexl@redhat.com>
1170 Build test subdir after .
1171 Remove gdirectorymonitor.[ch]
1173 * gdirectorymonitor.[ch]:
1177 Remove GDirectoryMonitor and make
1178 GFileMonitor the baseclass for both file and
1179 directory monitors. Lift the more generic
1180 rate limiting code from GDirectoryMonitor
1184 * fam/gfamdirectorymonitor.[ch]:
1185 * inotify/ginotifydirectorymonitor.[ch]:
1186 * inotify/inotify-helper.c:
1187 * glocaldirectorymonitor.[ch]:
1190 Update for the removed GDirectoryMonitor.
1192 * gmemoryoutputstream.c:
1193 Remove ununsed variable
1195 2008-01-07 Alexander Larsson <alexl@redhat.com>
1197 * gmemoryinputstream.c:
1198 Translate error strings
1201 * gmemoryoutputstream.[ch]:
1202 New implementation that avoids using GByteArray
1203 in implementation and API. (#506377)
1205 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1207 * tests/*: Add a test for memory input streams.
1209 * Makefile.am: Add tests to SUBDIRS.
1211 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1213 * glocalfilemonitor.c:
1214 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1217 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1219 * gdesktopappinfo.c: Fix a docs typo.
1221 * gfileattribute.c: Add information about extended attributes
1222 to the documentation. (#505058)
1224 2008-01-04 Alexander Larsson <alexl@redhat.com>
1227 * gmountoperation.c:
1228 Use the right type (uint) for the ask_password signal.
1230 2008-01-04 Alexander Larsson <alexl@redhat.com>
1235 Add g_app_info_supports_files()
1236 Remove desktop arg from g_app_info_should_show().
1238 * gdesktopappinfo.[ch]:
1239 Implement g_app_info_supports_files() and new should_show()
1240 Add g_desktop_app_info_set_desktop_env() to set the desktop
1241 for should_show(). (This will be set by gtk+ later)
1243 2008-01-04 Alexander Larsson <alexl@redhat.com>
1246 * gmemoryinputstream.[ch]:
1247 Improve API so that you can use multiple chunks
1248 of memory and custom destroy functions. (#506374)
1250 2008-01-03 Alexander Larsson <alexl@redhat.com>
1253 Handle NULL attribute matchers safely, as we return this
1254 for empty attribute matcher strings.
1256 2008-01-03 Alexander Larsson <alexl@redhat.com>
1258 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1259 Add /usr/local to list of internal mountpoints
1261 2008-01-03 Alexander Larsson <alexl@redhat.com>
1264 Check for HAVE_LCHOWN (#505887)
1266 2008-01-03 Alexander Larsson <alexl@redhat.com>
1270 Add define for selinux context attribute.
1271 Fix missing : -> :: namespace separator change
1272 Fix missing _ -> - name change for xattr-sys.
1275 2008-01-03 Alexander Larsson <alexl@redhat.com>
1278 Link to libglib and libgobject directly (#504879)
1279 Patch from Sebastien Bacher
1281 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1283 * gfile.c: Expanded the g_file_new_for_commandline_arg
1284 description a bit, based on the code and the docs of the
1285 other g_file_new_for_* functions.
1287 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1289 * gfilemonitor.h: Fixed typo in docs.
1291 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1293 Updates to GIO documentation. (#506395, Mikael Hermansson)
1295 * gcontenttype.c: Describe memory management for return value of
1296 g_content_types_get_registered(). Missing piece from #505815.
1297 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1298 GVolume, GDrive, GMounts, which hopefully gives the user less
1299 confusions when using this API. Following explainations from
1300 Alexander Larsson on gtk-devel-list.
1302 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1304 * gfileinfo.c: Expand the long description.
1306 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1309 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1310 fix builds with --disable-visibility. (#500273, Christian Persch)
1312 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1314 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1315 in the list of returned app infos.
1317 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1319 * gappinfo.c: Fix a cross-reference
1321 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1323 * gfileinputstream.c:
1324 * gfileoutputstream.c:
1328 * gdesktopappinfo.c:
1330 * gfileinfo.c: Documentation updates.
1332 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1334 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1337 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1339 * gcontenttype.c (g_content_types_get_registered): Don't return
1340 freed memory (#505815, Mikael Hermansson)
1342 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1344 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1345 used to detect statbuf->st_blocks. (#505042)
1347 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1349 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1350 environment handling. (#504829, Cosimo Cecchi)
1352 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1354 * gappinfo.c: Doc improvements
1356 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1359 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1361 * === Released 2.15.0 ===
1363 2007-12-20 Hans Breuer <hans@breuer.org>
1365 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1366 with symbols gwin32appinfo.obj, added gmount.obj
1367 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1369 2007-12-20 Alexander Larsson <alexl@redhat.com>
1375 * gfilenamecompleter.c:
1378 * gpollfilemonitor.c:
1379 File attribute renames:
1381 fs:: -> filesystem::
1382 id::fs -> id::filesystem
1384 2007-12-20 Alexander Larsson <alexl@redhat.com>
1393 Add GMountUnmountFlags to all unmount and
1395 Add g_mount_remount() call.
1397 2007-12-20 Alexander Larsson <alexl@redhat.com>
1399 * gvfs.c (get_default_vfs):
1400 Fix unused variable warning
1402 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1404 * pltcheck.sh: Update
1406 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1408 * gunionvolumemonitor.c:
1409 * gunixmount.c: Remove C99 comments
1411 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1413 * gio.symbols: Add some missing symbols
1415 2007-12-19 Alexander Larsson <alexl@redhat.com>
1418 Make g_io_modules_load_all_in_directory not unuse
1419 loaded modules so that users of it can do stuff
1421 Init internal "module" types.
1422 Initialize static prio and name for types so that
1423 we don't have to load modules to get it.
1425 * gnativevolumemonitor.h:
1427 Move is_supported to parent class so that
1428 non-native monitors can avoid being initialized
1429 too. (For instance GDaemonVolumeMonitor if we're
1430 not using GDaemonVfs.)
1432 * glocaldirectorymonitor.[ch]:
1433 * glocalfilemonitor.[ch]:
1434 * gunionvolumemonitor.c:
1435 * gunixvolumemonitor.c:
1437 Find plugins using the static prio+name to
1438 avoid unnecessarily loading the modules.
1440 2007-12-19 Alexander Larsson <alexl@redhat.com>
1445 2007-12-19 Alexander Larsson <alexl@redhat.com>
1447 * gunionvolumemonitor.c:
1448 Store the native type as GType, not class so that
1449 we can unload it. But still avoid unnecessarily
1452 2007-12-19 David Zeuthen <davidz@redhat.com>
1454 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1455 add signals 'disconnected' and 'eject-button' on GDrive. Add
1456 signal 'removed' on GVolume and 'unmounted' on GMount.
1458 * gdrive.c: (g_drive_base_init):
1460 * gfile.c: (g_file_mount_mountable),
1461 (g_file_mount_enclosing_volume):
1464 * gmount.c: (g_mount_base_init):
1466 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1467 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1468 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1472 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1474 * *.c: Fix up includes in the section docs.
1476 2007-12-17 Alexander Larsson <alexl@redhat.com>
1478 * gnativevolumemonitor.h:
1479 * gunionvolumemonitor.c:
1480 * gunixvolumemonitor.c:
1481 Add is_supported() to GNativeVolumeMonitorClass so
1482 that we can avoid having to create an object to see
1483 if the backend is supported at runtime.
1484 Also add name member and an env var to pick a specific
1485 volume monitor backend.
1489 Add cancellable to _g_mount_get_for_mount_path()
1491 * glocaldirectorymonitor.c:
1492 * glocalfilemonitor.c:
1493 Avoid loading and unloading modules while sorting.
1495 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1498 * gunixmounts.[hc]: Namespace waste reduction, move some
1499 g_get_unix_mount functions to the g_unix_mount namespace.
1502 * gunixvolumemonitor.c:
1504 * glocaldirectorymonitor.c: Update all callers.
1506 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1508 2007-12-17 Alexander Larsson <alexl@redhat.com>
1511 Add doc comments about what GFile operations are
1512 guaranteed to not block.
1514 2007-12-17 Alexander Larsson <alexl@redhat.com>
1517 Add missing #ifdef fixing OSX build.
1518 (#503334, patch from Richard Hult)
1520 2007-12-14 David Zeuthen <davidz@redhat.com>
1524 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1525 (g_mount_eject), (g_mount_eject_finish):
1527 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1528 (get_volume_for_uuid), (get_mount_for_uuid),
1529 (g_union_volume_monitor_class_init),
1530 (get_default_native_type_with_exclude), (get_default_native_type),
1531 (get_native_type), (update_native_type),
1532 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1533 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1534 (g_unix_mount_can_eject), (eject_unmount_cb),
1535 (eject_unmount_read_error), (eject_unmount_do),
1536 (g_unix_mount_unmount), (g_unix_mount_eject),
1537 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1538 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1539 (g_unix_mount_point_guess_can_eject):
1541 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1542 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1543 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1544 (g_unix_volume_mount), (g_unix_volume_eject),
1545 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1546 * gunixvolumemonitor.c: (get_volume_for_uuid),
1547 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1549 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1550 (g_volume_eject), (g_volume_eject_finish):
1552 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1553 (g_volume_monitor_get_mount_for_uuid):
1556 Provide eject() on both GMount and GVolume and utility functions
1557 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1558 ejected. Introduce the concept of UUID's and wire it into GVolume
1559 and GMount and provide API on GVolumeMonitor to find such
1560 instances. Also handle the case where an external
1561 GNativeVolumeMonitor fails to initialize. Lock around the
1562 _g_get_mount_for_mount_path() function such that volume monitor
1563 implementations won't have to do locking themselves.
1565 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1567 * gdesktopappinfo.c:
1573 * gvolume.h: Documentation updates
1575 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1578 * gfile.h: Doc updates
1580 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1583 * gdesktopappinfo.c: Use hash table iterators.
1585 2007-12-14 Alexander Larsson <alexl@redhat.com>
1588 * gfileattribute.[ch]:
1589 * gfileattribute-priv.h:
1590 Move GFileAttributeValue to a private header, as
1594 Make set_attribute take a type + a pointer instead
1595 of a GFileAttributeValue.
1598 Fix up for above changes.
1599 Add g_file_info_get_attribute_data to get
1600 all info in one call, g_file_info_get_attribute_status
1601 to get the status and g_file_info_get_attribute_as_string.
1605 * glocalfileinfo.[ch]:
1609 Make _guess_type static.
1611 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1614 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1615 made mkenums and friends use temporary files to avoid leaving
1616 empty generated files on failure (#503470).
1618 2007-12-14 Alexander Larsson <alexl@redhat.com>
1620 * gmountoperation.h:
1623 2007-12-14 Alexander Larsson <alexl@redhat.com>
1627 * gfileattribute.[ch]:
1630 * glocalfileoutputstream.c:
1631 * gmountoperation.[ch]:
1632 * goutputstream.[ch]:
1633 Clean up all flags enums to not have _FLAGS in them
1634 Make the names of some of the enums better.
1639 2007-12-14 Michael Natterer <mitch@imendio.com>
1641 * gio.symbols: fix g_io_scheduler symbol names.
1643 2007-12-14 Alexander Larsson <alexl@redhat.com>
1649 * gbufferedinputstream.h:
1650 * gbufferedoutputstream.h:
1653 * gdatainputstream.h:
1654 * gdataoutputstream.h:
1655 * gdesktopappinfo.h:
1656 * gdirectorymonitor.h:
1660 * gfileenumerator.h:
1663 * gfileinputstream.h:
1665 * gfilenamecompleter.h:
1666 * gfileoutputstream.h:
1667 * gfilterinputstream.h:
1668 * gfilteroutputstream.h:
1676 * gmemoryinputstream.h:
1677 * gmemoryoutputstream.h:
1679 * gmountoperation.h:
1682 * gsimpleasyncresult.h:
1684 * gunixinputstream.h:
1686 * gunixoutputstream.h:
1690 * inotify/Makefile.am:
1691 Only allow including <gio/gio.h> from apps
1693 2007-12-14 Alexander Larsson <alexl@redhat.com>
1695 * gioscheduler.[ch]:
1696 * gsimpleasyncresult.c:
1697 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1698 Split out the send_to_mainloop call into two versions instead
1699 of having the block argument.
1701 2007-12-13 Alexander Larsson <alexl@redhat.com>
1703 * gcancellable.[ch]:
1705 * gbufferedinputstream.c:
1706 * gfileenumerator.c:
1707 * gfileinputstream.c:
1708 * gfileoutputstream.c:
1712 g_push/pop_current_cancellable ->
1713 g_cancellable_push/pop_current
1715 2007-12-13 Alexander Larsson <alexl@redhat.com>
1719 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1721 2007-12-13 Alexander Larsson <alexl@redhat.com>
1723 * gmountoperation.h:
1724 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1726 2007-12-12 Alexander Larsson <alexl@redhat.com>
1729 Fix race condition when freeing proxy in
1730 g_io_job_send_to_mainloop().
1732 2007-12-12 Alexander Larsson <alexl@redhat.com>
1738 Make attribute namespace separator "::" instead of ":".
1739 Use - instead of _ as separator in attribute names.
1741 2007-12-12 Alexander Larsson <alexl@redhat.com>
1743 * gbufferedinputstream.h:
1744 * gbufferedoutputstream.h:
1745 * gdatainputstream.h:
1746 * gdataoutputstream.h:
1747 * gdirectorymonitor.h:
1748 * gfileenumerator.h:
1749 * gfileinputstream.h:
1751 * gfileoutputstream.h:
1752 * gfilterinputstream.h:
1753 * gfilteroutputstream.h:
1755 * glocalfileinputstream.h:
1756 * glocalfileoutputstream.h:
1757 * gmemoryinputstream.h:
1758 * gmemoryoutputstream.h:
1759 * gnativevolumemonitor.h:
1761 * gunixinputstream.h:
1762 * gunixoutputstream.h:
1765 s/parent/parent_instance/ in GObjects
1767 2007-12-12 Alexander Larsson <alexl@redhat.com>
1772 No need for padding for interfaces
1774 2007-12-12 Alexander Larsson <alexl@redhat.com>
1778 * gbufferedinputstream.c:
1779 * gbufferedoutputstream.c:
1782 * gdatainputstream.[ch]:
1783 * gdesktopappinfo.c:
1784 * gdirectorymonitor.c:
1786 * gfileattribute.[ch]:
1789 * gfileinputstream.h:
1790 * gfilemonitor.[ch]:
1791 * gfileoutputstream.[ch]:
1792 * gfilterinputstream.h:
1793 * gfilteroutputstream.h:
1796 * gloadableicon.[ch]:
1797 * gmemoryinputstream.c:
1798 * gmountoperation.c:
1800 Fix up a bunch of details in the docs.
1805 2007-12-11 David Zeuthen <davidz@redhat.com>
1807 Rework how volumes, drives and volume monitoring is
1808 done. Previosly the model was
1810 GDrive <1-1> GVolume
1812 where a GDrive instance represented a mount point and a GVolume
1813 instance represented a mounted file system. This patch changes it
1816 GDrive <1-N> GVolume <1-1> GMount
1818 where GMount now serves the purpose of the old GVolume and the new
1819 GVolume serves the purpose of the old GDrive. In addition the new
1820 GDrive interface is used to represent a collection of GVolume
1821 instances (typically partitions) and also contains utility to query
1822 the state of the physical drive the GDrive object represents (such
1823 as checking for media, polling the drive, ejecting the media etc.).
1825 Also implement mounting and unmounting in the Unix volume monitor
1826 backend. A subquent patch will introduce GDrive support for ejection
1830 * gdrive.c: (g_drive_is_media_check_automatic),
1831 (g_drive_is_media_removable), (g_drive_has_media),
1832 (g_drive_can_poll_for_media), (g_drive_eject),
1833 (g_drive_eject_finish), (g_drive_poll_for_media),
1834 (g_drive_poll_for_media_finish):
1836 * gfile.c: (g_file_find_enclosing_mount):
1839 * glocaldirectorymonitor.c:
1840 (g_local_directory_monitor_constructor), (mounts_changed):
1841 * glocalfile.c: (get_mount_info),
1842 (g_local_file_find_enclosing_mount),
1843 (g_local_file_file_iface_init):
1844 * gnativevolumemonitor.h:
1845 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1846 (get_connected_drives), (g_union_volume_monitor_class_init),
1847 (child_volume_added), (child_volume_removed),
1848 (child_volume_changed), (child_mount_added), (child_mount_removed),
1849 (child_mount_pre_unmount), (child_mount_changed),
1850 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1851 (g_union_volume_monitor_remove_monitor),
1852 (_g_mount_get_for_mount_path):
1853 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1854 (guess_system_internal), (_g_get_unix_mounts),
1855 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1856 (g_unix_mount_free), (g_unix_mount_compare),
1857 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1858 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1859 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1860 (type_to_icon), (g_unix_mount_guess_name),
1861 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1862 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1863 (_resolve_symlink), (_resolve_dev_root):
1865 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1866 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1867 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1868 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1869 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1870 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1871 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1872 (g_unix_volume_volume_iface_init):
1874 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1875 (get_mounts), (get_volumes), (get_connected_drives),
1876 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1877 (mountpoints_changed), (mounts_changed),
1878 (g_unix_volume_monitor_init),
1879 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1880 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1881 * gunixvolumemonitor.h:
1882 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1883 (g_volume_mount), (g_volume_mount_finish):
1885 * gvolumemonitor.c: (g_volume_monitor_class_init),
1886 (g_volume_monitor_get_connected_drives),
1887 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1890 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1892 * gmountoperation.h (GPasswordFlags): Close the gap
1894 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1896 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1898 * gdesktopappinfo.[hc]: Remove _-prefixes
1900 2007-12-10 Tor Lillqvist <tml@novell.com>
1902 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1905 2007-12-10 Alexander Larsson <alexl@redhat.com>
1907 * gfile.c (g_file_set_display_name):
1908 Don't hardcode '/' (#502727)
1910 2007-12-09 Hans Breuer <hans@breuer.org>
1912 * makefile.msc : follow lib naming convention
1913 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1914 for user and group name, tested with ../tests/gio-ls
1916 2007-12-09 A. Walton <awalton@svn.gnome.org>
1918 * gdesktopappinfo.c:
1924 * gfileenumerator.c:
1929 * gmemoryinputstream.c:
1930 * gmemoryoutputstream.c:
1932 * gsimpleasyncresult.c:
1933 More documentation cleanup and filling in missing information, bringing
1934 GIO to 99% symbol coverage.
1936 2007-12-08 Hans Breuer <hans@breuer.org>
1938 [gio compiles and links on win32, not sure how much already works]
1939 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1940 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1941 base on win32 API; prefer g_lstat() over lstat(); instead of
1942 localtime_r() use an all GLib implementation on win32;
1943 get_mount_info() still needs a win32 specifc implementation
1944 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1945 win32_get_file_user_info to get owner/group info without uid/gid
1946 * glocalfileinputstream.c : include <io.h> on win32
1947 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1948 definition, use g_win32_ftruncate() for G_OS_WIN32
1949 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1950 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1951 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1952 * makefile.msc : updated
1954 2007-12-07 Alexander Larsson <alexl@redhat.com>
1956 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1957 Avoid warning spew if error == NULL
1959 2007-12-07 Alexander Larsson <alexl@redhat.com>
1962 Update docs wrt etags
1964 2007-12-06 Alexander Larsson <alexl@redhat.com>
1967 Include sys/types.h for dev_t (#501919)
1969 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
1973 Make abicheck and pltcheck pass.
1975 2007-12-05 Alexander Larsson <alexl@redhat.com>
1978 * giomodule-priv.h: Added.
1979 * glocaldirectorymonitor.c:
1980 * glocalfilemonitor.c:
1981 * gunionvolumemonitor.c:
1983 Actually add the declaration of _g_io_modules_ensure_loaded
1985 2007-12-05 Alexander Larsson <alexl@redhat.com>
1987 * gdatainputstream.c:
1992 * glocaldirectorymonitor.c:
1993 * glocalfilemonitor.c:
1994 * gunionvolumemonitor.c:
1996 Make g_io_modules_ensure_loaded a private function and
1997 don't pass in the dirname. This means we can do magic
1998 directory finding in the win32 version.
1999 Export the actual load-modules-in-directory code so that
2000 gvfs can reuse that.
2002 2007-12-05 Alexander Larsson <alexl@redhat.com>
2004 * gbufferedinputstream.c:
2005 * gbufferedoutputstream.c:
2008 * gfileenumerator.[ch]:
2009 * gfileinputstream.c:
2010 * gfileoutputstream.[ch]:
2011 * gfilterinputstream.c:
2012 * gfilteroutputstream.c:
2013 * ginputstream.[ch]:
2015 * glocalfileenumerator.c:
2016 * glocalfileinputstream.c:
2017 * glocalfileoutputstream.c:
2018 * gmemoryinputstream.c:
2019 * gmemoryoutputstream.c:
2020 * goutputstream.[ch]:
2023 * gunixinputstream.c:
2024 * gunixoutputstream.c:
2025 Rename all struct members named:
2026 read, write, close, truncate, or mount
2027 to foo_fn, as these are reserved names
2028 and could be defined as macros in libc.
2031 2007-12-04 Alexander Larsson <alexl@redhat.com>
2034 (g_output_stream_close):
2035 Only call flush if non-null.
2037 2007-11-30 Dan Winship <danw@gnome.org>
2039 * ginputstream.c (g_input_stream_set_pending): Make this take a
2040 GError and return a gboolean, and do the "outstanding operation"
2041 check (and the "stream is already closed" check) itself.
2042 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2044 * goutputstream.c (g_output_stream_set_pending)
2045 (g_output_stream_clear_pending): Likewise
2047 * gbufferedinputstream.c:
2048 * gfileinputstream.c:
2049 * gfileoutputstream.c: Update for that
2051 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2052 Like g_simple_async_report_error_in_idle, but takes a GError
2053 rather than building one.
2055 2007-11-30 Dan Winship <danw@gnome.org>
2057 * goutputstream.c: Don't cheat and unset the "pending" flag around
2058 inner calls. Instead, call the class method directly rather than
2059 the wrapper function that checks "pending"
2061 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2063 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2065 2007-12-03 Hans Breuer <hans@breuer.org>
2067 [start of port to win32/msvc]
2068 * gcancellable.c : HAVE_UNIST_H and _pipe()
2069 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2070 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2071 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2073 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2074 * glocalvfs.c : use HAVE_PWD_H
2075 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2076 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2077 * Makefile.am : added to EXTRA_DIST
2079 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2081 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2084 2007-12-03 Alexander Larsson <alexl@redhat.com>
2087 Handle OSX style xattrs API (#500506)
2089 2007-12-03 Alexander Larsson <alexl@redhat.com>
2093 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2095 2007-12-02 A. Walton <awalton@svn.gnome.org>
2099 Documentation accuracy fixes.
2101 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2103 * gioenumtypes.c.template: Fix typo.
2105 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2107 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2109 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2111 * gdirectorymonitor.c:
2112 * gfilemonitor.c: Add properties
2114 * gbufferedoutputstream.c: Don't mark buffer-size property
2117 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2119 * gbufferedoutputstream.c: Add auto-grow property.
2121 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2123 * *.c: Unify the capitalization of section headings.
2125 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2127 * gmountoperation.c: Add properties
2129 * gdatainputstream.c: Turn byte-order and newline-type into
2132 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2134 * gioenumtypes.[hc].template: Templates for enum registration
2136 * Makefile.am: Generate gioenumtypes.[hc]
2138 * gio.h: Include gioenumtypes.h
2140 * gfile.h: Add some explicit nicks.
2142 * gio.symbols: Add new symbols
2144 * pltcheck.sh: Adjust
2146 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2148 * *.c: Explain etags and link to the explanation
2150 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2152 * *.c: Explain I/O priority.
2154 * *.c: More coding style fixes.
2156 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2158 * gasyncresult.c: Add another paragraph to the intro,
2159 adjust coding style of example.
2161 2007-11-29 A. Walton <awalton@svn.gnome.org>
2164 Fixes unknown meaning in GAppLaunchContext docs.
2166 Clarify asynchronous ops.
2168 Fix entity tag docs.
2171 Provides missing gtk-doc section, fixes API docs slighly.
2172 * gsimpleasyncresult.c:
2173 Fill in missing info in docs.
2174 * gunixinputstream.c:
2175 * gunixoutputstream.c:
2176 Be more expressive in short description.
2178 Remove gtk-doc stubs for non-public API.
2180 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2182 * *.c: Coding style fixups
2184 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2186 * inotify/inotify-helper.c: Don't export the lock from libgio.
2188 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2191 * abicheck.sh: Fix copy-and-paste leftovers
2193 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2195 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2197 2007-11-28 Alexander Larsson <alexl@redhat.com>
2201 Removed unnecessary file
2203 * gdesktopappinfo.[ch]:
2206 * glocaldirectorymonitor.[ch]:
2208 * glocalfileenumerator.[ch]:
2209 * glocalfileinputstream.[ch]:
2210 * glocalfilemonitor.[ch]:
2211 * glocalfileoutputstream.[ch]:
2213 * gnativevolumemonitor.c:
2214 * gpollfilemonitor.[ch]:
2215 * gunionvolumemonitor.[ch]:
2218 * gunixvolumemonitor.[ch]:
2221 * inotify/ginotifydirectorymonitor.[ch]:
2222 * inotify/ginotifyfilemonitor.[ch]:
2223 * inotify/inotify-helper.c:
2224 Append _ to all internal functions
2228 Export symbols needed for modules
2230 2007-11-28 Alexander Larsson <alexl@redhat.com>
2233 * abicheck.sh: Added.
2234 * makegioalias.pl: Added.
2235 * pltcheck.sh: Added.
2236 * gio.symbols: Added.
2239 Initial work on adding symbol handling.
2242 Correct ifdef guard name
2245 * inotify/Makefile.am:
2246 * xdgmime/Makefile.am:
2247 Include toplevel Makefile.decl
2249 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2251 * gcontenttype.c: Move doc comments to the unix section.
2253 * *.[hc]: More trivial doc corrections.
2255 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2257 * gpollfilemonitor.c:
2261 * gdesktopappinfo.c:
2266 * gdatainputstream.c:
2267 * gdatainputstream.h:
2268 * gdataoutputstream.c:
2269 * gdataoutputstream.h:
2270 * gfileinfo.h: Doc cleanups
2272 2007-11-28 Andre Klapper <a9016009@gmx.de>
2274 * gdesktopappinfo.c: Fix a typo.
2276 2007-11-27 Andre Klapper <a9016009@gmx.de>
2278 * glocalfileoutputstream.c: Fix a typo.
2280 2007-11-27 Alexander Larsson <alexl@redhat.com>
2283 Don't include removed headers
2285 2007-11-27 Alexander Larsson <alexl@redhat.com>
2288 * gsocketinputstream.[ch]: Removed.
2289 * gsocketoutputstream.[ch]: Removed.
2290 * gunixinputstream.[ch]: Added.
2291 * gunixoutputstream.[ch]: Added.
2292 Renamed GSocket*Stream to GUnix*Stream and made
2293 it unix-only, since its not really only for sockets
2294 and it only works on unix (but is highly useful there).
2296 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2302 * gbufferedinputstream.c:
2303 * gbufferedinputstream.h:
2304 * gbufferedoutputstream.c:
2305 * gbufferedoutputstream.h:
2309 * gdatainputstream.c:
2310 * gdatainputstream.h:
2311 * gdataoutputstream.c:
2312 * gdataoutputstream.h:
2313 * gdirectorymonitor.c:
2314 * gdirectorymonitor.h:
2321 * gfileenumerator.c:
2322 * gfileenumerator.h:
2327 * gfileinputstream.c:
2328 * gfileinputstream.h:
2331 * gfilenamecompleter.c:
2332 * gfilenamecompleter.h:
2333 * gfileoutputstream.c:
2334 * gfileoutputstream.h:
2335 * gfilterinputstream.c:
2336 * gfilterinputstream.h:
2337 * gfilteroutputstream.c:
2338 * gfilteroutputstream.h:
2351 * glocalfileoutputstream.c:
2352 * gmemoryinputstream.c:
2353 * gmemoryinputstream.h:
2354 * gmemoryoutputstream.c:
2355 * gmemoryoutputstream.h:
2356 * gmountoperation.c:
2357 * gmountoperation.h:
2360 * gpollfilemonitor.c:
2363 * gsimpleasyncresult.c:
2364 * gsimpleasyncresult.h:
2365 * gsocketinputstream.c:
2366 * gsocketinputstream.h:
2367 * gsocketoutputstream.c:
2368 * gsocketoutputstream.h:
2375 * gunixvolumemonitor.c:
2384 Bumps documentation to 93% symbol coverage, touching most
2385 of the public files. Fixes broken function documentation prototypes.
2386 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2387 gtk-doc headers in private files.
2389 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
2391 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2392 (g_buffered_input_stream_read_byte):
2393 * gbufferedinputstream.h:
2394 New functions for efficient access to buffer and simple single byte
2397 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2398 (g_data_input_stream_read_until):
2399 * gdatainputstream.h:
2400 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2401 read_until with multiple stop chars.
2403 2007-11-27 Alexander Larsson <alexl@redhat.com>
2407 * inotify/Makefile.am:
2408 Use the user-specified giomoduledir
2410 2007-11-27 Alexander Larsson <alexl@redhat.com>
2414 Add catch-all gio.h header
2415 Don't install gdummyfile.h
2417 2007-11-26 Alexander Larsson <alexl@redhat.com>
2419 * Makefile.am (gioinclude_HEADERS):
2420 Remove trailing whitespace
2422 2007-11-26 Alexander Larsson <alexl@redhat.com>
2424 Merge gio-standalone into glib
2426 2007-11-25 Christian Kellner <gicmo@gnome.org>
2428 * gio/goutputstream.c:
2429 Fix small mistake in the docs.
2431 2007-11-21 Christian Persch <chpe@gnome.org>
2433 * gio/glocalfile.c: (g_local_file_trash):
2434 Convert filenames to UTF-8 for GError.
2435 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2436 as per xdg base dir spec.
2438 2007-11-21 Christian Persch <chpe@gnome.org>
2440 * gio/gdesktopappinfo.c:
2441 Use that g_key_file_to_data cannot fail.
2443 Use stock defines for the key file group and key names.
2446 2007-11-21 Alexander Larsson <alexl@redhat.com>
2449 (copy_stream_with_progress):
2450 Make sure we do a final progress callback with
2451 the full total size.
2453 2007-11-21 Alexander Larsson <alexl@redhat.com>
2456 Export g_file_copy_attributes
2457 Remove padding as its not needed for interfaces
2459 2007-11-20 Alexander Larsson <alexl@redhat.com>
2464 Add G_IO_ERROR_WOULD_MERGE for
2465 copy/move dir on dir with overwrite.
2467 2007-11-20 Alexander Larsson <alexl@redhat.com>
2470 * gio/glocalfileinfo.c:
2471 Add COPY_NAME (this is an optional
2472 non-modified utf8 version of the name) that
2475 2007-11-20 Alexander Larsson <alexl@redhat.com>
2477 * gio/glocalfileenumerator.c:
2478 Report errors as GIOError, not GFileError
2480 2007-11-16 Alexander Larsson <alexl@redhat.com>
2482 * gio/glocalfileoutputstream.c:
2483 * gio/gwin32appinfo.c:
2484 Fix typos in strings.
2485 Patch from Luca Ferretti <elle.uca@libero.it>
2487 2007-11-15 Alexander Larsson <alexl@redhat.com>
2490 Post release version bump
2492 === gio-standalone 0.1.2 ===
2494 2007-11-15 Alexander Larsson <alexl@redhat.com>
2496 * docs/reference/gio/Makefile.am:
2497 Fix up distcheck by removing weird
2503 2007-11-14 Alexander Larsson <alexl@redhat.com>
2505 * gio/gdesktopappinfo.c:
2506 * gio/glocaldirectorymonitor.c:
2508 * gio/glocalfileinfo.c:
2509 * gio/inotify/inotify-sub.c:
2510 * programs/gio-cat.c:
2511 * programs/gio-copy.c:
2512 * programs/gio-info.c:
2513 * programs/gio-ls.c:
2514 * programs/gio-monitor-dir.c:
2515 * programs/gio-monitor-file.c:
2516 * programs/gio-mount.c:
2517 * programs/gio-move.c:
2518 * programs/gio-rm.c:
2519 * programs/gio-save.c:
2520 * programs/gio-trash.c:
2521 Leak fixes from Kjartan Maraas
2523 2007-11-14 Alexander Larsson <alexl@redhat.com>
2525 * gio/fam/fam-helper.c:
2527 * gio/glocalfileinfo.c:
2531 * gio/inotify/inotify-diag.c:
2532 * gio/inotify/inotify-kernel.c:
2533 Various code cleanups from Kjartan Maraas
2535 2007-11-14 Alexander Larsson <alexl@redhat.com>
2537 * gio/gioscheduler.c:
2539 Set up threadpool so that we cache 2 unused
2540 idle threads for at 15 secs. This means we
2541 will reuse thread-local data (like dbus connections)
2544 2007-11-14 Alexander Larsson <alexl@redhat.com>
2546 * gio/fam/fam-helper.c:
2547 * gio/fam/gfamdirectorymonitor.c:
2548 * gio/fam/gfamfilemonitor.c:
2550 * gio/gcontenttype.c:
2551 * gio/gdatainputstream.c:
2552 * gio/gdataoutputstream.c:
2556 * gio/gfileattribute.h:
2557 * gio/gfileenumerator.c:
2559 * gio/ginputstream.c:
2562 * gio/glocalfileinfo.c:
2563 * gio/goutputstream.c:
2564 * gio/gpollfilemonitor.c:
2565 * gio/gsimpleasyncresult.c:
2566 * gio/gunixmounts.c:
2567 * gio/gunixmounts.h:
2568 * gio/inotify/ginotifydirectorymonitor.c:
2569 * gio/inotify/ginotifyfilemonitor.c:
2570 * gio/inotify/inotify-diag.c:
2571 * gio/inotify/inotify-kernel.c:
2572 * gio/inotify/inotify-path.c:
2574 * gio/test-streams.c:
2575 * programs/gio-info.c:
2576 * programs/gio-monitor-dir.c:
2577 * programs/gio-monitor-file.c:
2578 Various code cleanups from Kjartan Maraas
2580 2007-11-13 Alexander Larsson <alexl@redhat.com>
2583 Handle the uri-scheme calls for dummy files
2585 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2587 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2588 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2589 to avoid clash with the C++ keyword.
2591 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2593 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2594 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2596 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2598 * gio/glocaldirectorymonitor.c:
2599 * gio/glocalfilemonitor.c:
2600 * gio/gunionvolumemonitor.c:
2601 Don't use g_once_init_*() for initializations that could fail and
2602 could leave the initialization variable set to 0 but use GOnce.
2603 This prevents a deadlock on the second call when trying to create
2604 a monitor and no monitor type is available. Thanks to Sven Herzberg
2607 2007-11-11 Sven Herzberg <sven@imendio.com>
2609 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2610 #ifdef (make it work on MacOS X again)
2612 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2614 Fixes Changelog for last two commits (sorry guys).
2616 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2618 * gio/gbufferedinputstream.c:
2619 * gio/gdatainputstream.c:
2621 * gio/gfileoutputstream.c:
2622 * gio/gfilterinputstream.c:
2623 * gio/glocalfileinputstream.c:
2626 More consistency fixes in g*stream.c files.
2627 Significant clean of gfile's documentation, filling in of
2628 asynchronous operations documentation.
2630 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2632 * gio/gasyncresult.c:
2633 * gio/gbufferedinputstream.c:
2634 * gio/gbufferedoutputstream.c:
2635 * gio/gcancellable.c:
2636 * gio/gcontenttype.c:
2637 * gio/gdatainputstream.c:
2638 * gio/gdataoutputstream.c:
2639 * gio/gdesktopappinfo.c:
2642 * gio/gfileattribute.c:
2643 * gio/gio/gfileenumerator.c:
2645 * gio/gfileinputstream.c:
2646 * gio/gfilemonitor.c:
2647 * gio/gfileoutputstream.c:
2648 * gio/ginputstream.c:
2650 * gio/gioscheduler.c:
2651 * gio/gloadableicon.c:
2652 * gio/glocalfileoutputstream.c:
2653 * gio/gmemoryoutputstream.c:
2654 * gio/gmountoperation.c:
2655 * gio/goutputstream.c:
2657 * gio/gsimpleasyncresult.c:
2658 * gio/gunionvolumemonitor.c:
2659 * gio/gunixmounts.c:
2660 * gio/gunixvolume.c:
2664 * gio/gvolumemonitor.c:
2665 Updated documentation stubs, working towards consistency and
2668 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2670 * gio/gmemoryoutputstream.c:
2671 * gio/gmemoryoutputstream.h:
2672 Change g_memory_output_stream_set_free_on_close() to
2673 g_memory_output_stream_set_free_data() as this makes more sense and
2674 is more consistent with GMemoryInputStream.
2676 2007-11-07 Alexander Larsson <alexl@redhat.com>
2683 Change how we find the default vfs so that
2684 we can handle a gvfs failing to init
2686 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2688 * gio/gbufferedoutputstream.c:
2689 * gio/gdatainputstream.c:
2690 * gio/gdataoutputstream.c:
2691 * gio/gfileinputstream.c:
2692 * gio/gfileoutputstream.c:
2693 * gio/gfilterinputstream.c:
2694 * gio/gfilteroutputstream.c:
2695 * gio/ginputstream.c:
2696 * gio/gmemoryinputstream.c:
2697 * gio/gmemoryoutputstream.c:
2698 * gio/goutputstream.c:
2699 * gio/gsimpleasyncresult.c:
2700 * gio/gsocketinputstream.c:
2701 * gio/gsocketoutputstream.c:
2702 Add guards to the remaining public functions, add a TODO for
2703 an unimplemented function and remove some useless guards.
2705 2007-11-07 Alexander Larsson <alexl@redhat.com>
2708 Autoconf checks for the various types of
2709 getpwuid_r and getgrgid_r
2711 * gio/glocalfileinfo.c:
2712 Use the autoconf checks from above
2714 2007-11-07 Alexander Larsson <alexl@redhat.com>
2717 (g_local_file_query_filesystem_info):
2718 Some fixes for the statvfs case
2720 2007-11-07 Alexander Larsson <alexl@redhat.com>
2723 (g_local_file_query_filesystem_info):
2724 Pick the "best" of statfs / statvfs for the system
2725 if both are availible.
2727 2007-11-07 Alexander Larsson <alexl@redhat.com>
2729 Solaris fixes from Halton.Huo@Sun.COM:
2736 * gio/glocalfileinfo.c:
2737 Fix for solaris definition of getpwuid_r
2739 * gio/test-streams.c:
2740 Use G_GNUC_PRETTY_FUNCTION
2742 2007-11-07 Alexander Larsson <alexl@redhat.com>
2744 * gio/gdesktopappinfo.c:
2745 (update_default_list):
2746 Remove double semicolon.
2747 Patch from Jens Granseuer
2749 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2751 * docs/reference/gio/gio-sections.txt:
2752 * gio/gbufferedinputstream.c:
2753 * gio/gbufferedinputstream.h:
2754 * gio/gdatainputstream.c:
2755 * gio/gfileenumerator.c:
2756 * gio/gioscheduler.c:
2757 * gio/gunionvolumemonitor.c:
2759 * programs/gio-save.c:
2760 Fix typo: availible -> available. Unfortuntely this breaks API
2761 and ABI as g_buffered_input_stream_get_available() was renamed.
2763 * gio/gunixmounts.c:
2764 * gio/gbufferedinputstream.c:
2765 Add guards for public functions.
2767 2007-11-06 Ross Burton <ross@openedhand.com>
2769 * docs/reference/gio/Makefile.am:
2770 Fix invalid += usage which automake 1.10 doesn't like.
2772 2007-11-06 Alexander Larsson <alexl@redhat.com>
2775 (g_app_launch_context_class_init):
2778 Patch from Ross Burton
2780 2007-11-06 Alexander Larsson <alexl@redhat.com>
2783 Post release version bump
2785 === gio-standalone 0.1.1 ===
2787 2007-11-06 Alexander Larsson <alexl@redhat.com>
2790 Bump version to 0.1.1
2792 * gio/gsimpleasyncresult.c:
2793 (g_simple_async_result_set_from_error):
2794 Remove bogus g_return_if_fail
2796 2007-11-06 Alexander Larsson <alexl@redhat.com>
2799 The name is gio-standalone
2802 Add top src/builddir to includedir
2804 2007-11-06 Alexander Larsson <alexl@redhat.com>
2806 * docs/reference/gio/gio-sections.txt:
2808 * gio/gbufferedinputstream.c:
2809 * gio/gbufferedoutputstream.c:
2810 * gio/gcancellable.c:
2811 * gio/gdatainputstream.h:
2812 * gio/gdataoutputstream.c:
2813 * gio/gdataoutputstream.h:
2814 * gio/gdirectorymonitor.c:
2816 * gio/gfileattribute.c:
2817 * gio/gfileattribute.h:
2818 * gio/gfileenumerator.c:
2819 * gio/gfileenumerator.h:
2822 * gio/gfileinputstream.h:
2823 * gio/gfilemonitor.c:
2824 * gio/gfileoutputstream.h:
2825 * gio/glocalfilemonitor.h:
2826 * gio/glocalfileoutputstream.h:
2827 * gio/gmemoryinputstream.c:
2828 * gio/gmemoryoutputstream.c:
2829 * gio/gmountoperation.c:
2830 * gio/goutputstream.c:
2831 * gio/goutputstream.h:
2833 * gio/gsimpleasyncresult.c:
2834 * gio/gunixmounts.c:
2835 * gio/gunixmounts.h:
2837 * gio/inotify/inotify-helper.c:
2838 Fix gtk-doc warnings
2840 Patch from Ross Burton
2842 2007-11-06 Alexander Larsson <alexl@redhat.com>
2844 * gio/gfilenamecompleter.c:
2845 (g_filename_completer_get_completions):
2848 * gio/gunixvolume.c:
2849 Remove unused function
2851 Patches from Ross Burton
2853 2007-11-06 Alexander Larsson <alexl@redhat.com>
2858 Padding not needed for interfaces
2860 2007-11-06 Alexander Larsson <alexl@redhat.com>
2862 * gio/gfilemonitor.c:
2866 Make giotypes.h an internal file
2869 * gio/gbufferedinputstream.h:
2870 * gio/gbufferedoutputstream.h:
2871 * gio/gcancellable.h:
2872 * gio/gdatainputstream.h:
2873 * gio/gdataoutputstream.h:
2874 * gio/gdirectorymonitor.c:
2875 * gio/gdirectorymonitor.h:
2880 * gio/gfileattribute.h:
2881 * gio/gfileenumerator.h:
2886 * gio/gfilemonitor.c:
2887 * gio/gfilemonitor.h:
2888 * gio/gfilenamecompleter.c:
2889 * gio/gfilenamecompleter.h:
2890 * gio/gfilterinputstream.h:
2891 * gio/gfilteroutputstream.h:
2892 * gio/ginputstream.h:
2893 * gio/gmemoryinputstream.h:
2894 * gio/gmemoryoutputstream.h:
2895 * gio/gmountoperation.c:
2896 * gio/gmountoperation.h:
2897 * gio/gnativevolumemonitor.c:
2898 * gio/goutputstream.h:
2901 * gio/gsimpleasyncresult.c:
2902 * gio/gsimpleasyncresult.h:
2903 * gio/gsocketinputstream.h:
2904 * gio/gsocketoutputstream.h:
2905 * gio/gthemedicon.c:
2906 * gio/gthemedicon.h:
2910 * gio/gvolumemonitor.c:
2911 * gio/gvolumemonitor.h:
2912 Add padding in classes where it seems useful
2913 Don't include giotypes.h from public headers
2914 Move in Class definitions into c file where possible
2919 2007-11-06 Alexander Larsson <alexl@redhat.com>
2921 * docs/reference/gio/gio-docs.xml:
2922 Better structure for API docs
2924 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2927 * gio/gloadableicon.c:
2928 * gio/gsimpleasyncresult.c:
2929 * gio/gthemedicon.c:
2930 Add some more guards to public functions. Only files missing are now
2933 2007-11-06 Alexander Larsson <alexl@redhat.com>
2935 * docs/reference/gio/gio-docs.xml:
2936 Remove old files, add missing ones
2938 2007-11-06 Alexander Larsson <alexl@redhat.com>
2940 * docs/reference/gio/gio-sections.txt:
2943 Hide implementation classes
2945 * gio/gdriveprivate.h:
2946 * gio/gvolumeprivate.h:
2947 Remove non-existing function declarations
2949 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2952 Fix compilation warnings and add guards to the new functions.
2954 * gio/gasyncresult.c:
2956 Add guards to the public functions.
2959 Implement get_path().
2961 2007-11-06 Alexander Larsson <alexl@redhat.com>
2963 * gio/gfilenamecompleter.c:
2964 Make g_filename_completer_get_completions
2965 return char ** instead of GList for
2968 * docs/reference/gio/gio-docs.xml:
2969 * docs/reference/gio/gio-sections.txt:
2971 * gio/gasyncresult.c:
2972 * gio/gbufferedinputstream.c:
2973 * gio/gbufferedoutputstream.c:
2974 * gio/gcancellable.c:
2975 * gio/gcontenttype.c:
2976 * gio/gdatainputstream.c:
2977 * gio/gdataoutputstream.c:
2978 * gio/gdesktopappinfo.c:
2979 * gio/gdirectorymonitor.c:
2983 * gio/gfileattribute.c:
2984 * gio/gfileenumerator.c:
2987 * gio/gfileinputstream.c:
2988 * gio/gfilemonitor.c:
2989 * gio/gfilenamecompleter.c:
2990 * gio/gfilenamecompleter.h:
2991 * gio/gfileoutputstream.c:
2992 * gio/gfilterinputstream.c:
2994 * gio/ginputstream.c:
2996 * gio/gioscheduler.c:
2997 * gio/gloadableicon.c:
2998 * gio/glocaldirectorymonitor.c:
3000 * gio/glocalfileinputstream.c:
3001 * gio/glocalfilemonitor.c:
3002 * gio/glocalfileoutputstream.c:
3004 * gio/gmemoryinputstream.c:
3005 * gio/gmemoryoutputstream.c:
3006 * gio/gmountoperation.c:
3007 * gio/goutputstream.c:
3008 * gio/gpollfilemonitor.c:
3010 * gio/gsimpleasyncresult.c:
3011 * gio/gsocketinputstream.c:
3012 * gio/gsocketoutputstream.c:
3013 * gio/gthemedicon.c:
3014 * gio/gunionvolumemonitor.c:
3016 * gio/gunixmounts.c:
3017 * gio/gunixvolume.c:
3018 * gio/gunixvolumemonitor.c:
3022 * gio/gvolumemonitor.c:
3023 * gio/gwin32appinfo.c:
3024 Add (mostly stub) doc strings to public functions.
3025 Patch from Andrew Walton (awalton@gmail.com)
3027 2007-11-06 Alexander Larsson <alexl@redhat.com>
3029 * gio/gappinfo.[ch]:
3030 Added GAppLaunchContext object and pass that to launch.
3031 This allows simple implementation of both
3032 launch-on-screen and startup notification via a gtk+
3033 subclass of GAppLaunchContext
3035 * gio/gdesktopappinfo.c:
3036 Implement GAppLaunchContext API
3038 * gio/gwin32appinfo.c:
3041 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3043 * gio/gmountoperation.c:
3044 Add some guards to GMountOperation's public functions.
3046 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3050 * gio/gcancellable.c:
3051 * gio/gdirectorymonitor.c:
3053 * gio/gfileenumerator.c:
3054 * gio/gfilemonitor.c:,
3055 * gio/gfilenamecompleter.c:
3058 * gio/gioscheduler.c:
3062 * gio/gvolumemonitor.c:
3063 Add even more guards to various public functions.
3065 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3068 Add guards to the public functions of GAppInfo.
3070 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3072 * gio/gcontenttype.c:
3073 Add some more guards for public functions.
3075 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3077 * gio/fam/fam-module.c:
3078 * gio/fam/gfamdirectorymonitor.c:
3079 * gio/fam/gfamdirectorymonitor.h:
3080 * gio/fam/gfamfilemonitor.c:
3081 * gio/fam/gfamfilemonitor.h:
3082 * gio/inotify/ginotifydirectorymonitor.c:
3083 * gio/inotify/ginotifydirectorymonitor.h:
3084 * gio/inotify/ginotifyfilemonitor.c:
3085 * gio/inotify/ginotifyfilemonitor.h:
3086 Add proper copyright information and remove an unused variable
3087 in the GInotifyFileMonitor constructor.
3089 * gio/gcancellable.c:
3090 Add a guard for a public function and an assertion to prevent
3091 an undefined program state.
3093 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3095 * gio/gfileattribute.c:
3096 Don't run into an assertion if the given attribute value is NULL
3097 in g_file_attribute_value_get_*() but instead return a fallback
3098 value that makes sense in most situations. Passing them a attribute
3099 value with the wrong type will still run into an assertion.
3101 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3103 * gio/gfileattribute.c:
3105 Add even more guards to the public functions. Also fix the refcounting
3106 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3107 let g_file_info_list_attributes() filter the attributes by namespace
3108 instead of simply ignoring the namespace parameter.
3110 2007-11-03 Sven Herzberg <sven@imendio.com>
3112 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3113 (This makes gio work on MacOS X again)
3115 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3118 Build the gio subdirectory before the docs. Otherwise the build will
3121 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3122 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3123 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3124 Add guards to the public functions.
3126 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3128 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3129 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3130 to prevent a compiler warning.
3132 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3133 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3134 return something in the non-void function find_topdir_for().
3136 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3143 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3145 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3146 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3147 * gwin32appinfo.c (g_win32_app_info_launch):
3148 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3149 envp_for_startup_id, g_desktop_app_info_launch,
3150 g_desktop_app_info_launch_uris):
3152 Give an opaque 'startup_id' string instead of 'envp'.
3153 Support empty file lists for launching new windows.
3154 Fix infinite recursion bug when launching URIs.
3156 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3159 Add guard to the new g_file_get_uri_scheme() function.
3161 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3164 Convert a g_return_val_if_fail() to setting the GError instead as
3165 otherwise applications have to verify the parameter before otherwise
3166 and the parameter might come directly from the user.
3168 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3170 * gio/inotify/ginotify*.[ch]:
3171 Add missing copyright information.
3173 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3176 Add guards in the beginning of public functions to check for valid
3177 parameters and fix a bug in copy_stream_with_progress() that could've
3178 caused writing less bytes than reading.
3179 * gio/glocalfileinfo.c:
3180 Check for a NULL parameter and set the GError accordingly then.
3181 * gio/goutputstream.c:
3182 Fix the same bug as in gfile.c that could've caused writing less bytes
3183 than reading in g_output_stream_real_splice().
3185 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3188 Use the correct gvolumeprivate.h naming
3190 2007-11-01 Christian Kellner <gicmo@gnome.org>
3193 Remove leftover "$(daemon_sources)" entry.
3195 2007-11-01 Christian Kellner <gicmo@gnome.org>
3200 Add copyright information to source files.
3202 2007-11-01 Alexander Larsson <alexl@redhat.com>
3206 Add g_file_get_uri_scheme
3208 2007-11-01 Alexander Larsson <alexl@redhat.com>
3211 * gio/gdesktopappinfo.c:
3212 * gio/gwin32appinfo.c:
3213 Add g_app_info_get_default_for_uri_scheme.
3215 2007-11-01 Alexander Larsson <alexl@redhat.com>
3218 Correct filename for gdriveprivate.h
3220 2007-10-31 Alexander Larsson <alexl@redhat.com>
3223 Rename id:value to id:file
3226 * gio/glocalfileinfo.c:
3229 2007-10-31 Alexander Larsson <alexl@redhat.com>
3231 * gio/gunixvolume.c:
3233 Remove g_volume_get_platform_id, as thats not
3234 needed with the simpler union volume monitor
3236 2007-10-31 Alexander Larsson <alexl@redhat.com>
3239 * gio/guniondrive.[ch]: Removed.
3240 * gio/gunionvolume.[ch]: Removed.
3241 Remove GUnionDrive/Volume
3243 * gio/gunionvolumemonitor.c:
3244 Simplify union volume monitor, now we
3245 only have one native volume monitor and
3246 we use the actual volumes/drives from the
3247 child monitors instead of wrapping them
3249 * gio/gnativevolumemonitor.[ch]:
3250 Base class for native volume monitors.
3251 Includes priority and get_volume_for_mountpoint
3254 Add g_file_find_enclosing_volume
3257 Remove volume name fs attribute
3258 Add readonly fs attribute
3261 Implement readonly attribute
3262 remove volume name attribute
3263 Implement find_enclosing volume
3265 * gio/gunixmounts.c:
3266 Add a volume for "/".
3268 * gio/gunixvolume.[ch]:
3269 Set better name for /
3271 * gio/gunixvolumemonitor.[ch]:
3272 Derive from GNativeVolumeMonitor
3273 Implement get_volume_for_mountpoint
3276 GVolume typedef moved to gfile.h
3278 * gio/gvolumeprivate.h:
3279 Add g_volume_get_for_mount_path
3281 2007-10-31 Alexander Larsson <alexl@redhat.com>
3283 * gio/gunixmounts.[ch]:
3284 Add cache info to unix mount listers
3285 Make getmntent use threadsafe
3286 Add is_system_internal attribute for GUnixMount
3288 * gio/gunixvolume.c:
3289 (g_unix_volume_new):
3290 Use is_system_internal instead of own code
3292 * gio/glocaldirectorymonitor.c:
3293 * gio/gunixvolumemonitor.c:
3294 Update to new gunixmounts API
3299 2007-10-30 Alexander Larsson <alexl@redhat.com>
3302 Add volume name fsinfo attribute
3305 Read volume name info
3307 * gio/gunionvolumemonitor.c:
3308 Fix infinite loops when finalizing a union volume monitor
3310 2007-10-30 Alexander Larsson <alexl@redhat.com>
3312 * gio/goutputstream.[ch]:
3313 Add splice() with default implementation
3315 * gio/gsocketoutputstream.c:
3316 (g_socket_output_stream_write):
3317 Return error on cancellation correctly.
3319 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3321 * gio/glocalfile.c (g_local_file_trash):
3322 Do not leak a string.
3324 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3326 * gio/gfile.c (g_file_load_contents):
3327 Unref the stream after closing it.
3329 2007-10-25 Alexander Larsson <alexl@redhat.com>
3331 * gio/gioscheduler.h:
3334 2007-10-25 Alexander Larsson <alexl@redhat.com>
3338 Add g_file_has_uri_scheme and implement for local files
3340 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3342 * gio/gdesktopappinfo.c: do not leak a string.
3344 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3346 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3347 (g_local_directory_monitor_new):
3348 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3349 (g_local_file_monitor_new):
3350 Only look for the monitor type that should be used the first time
3351 and use g_qsort_with_data() instead of our own bubble sort
3354 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3357 * gio/fam/Makefile.am:
3358 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3359 * gio/fam/fam-helper.h:
3360 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3361 * gio/fam/gfamdirectorymonitor.c:
3362 * gio/fam/gfamdirectorymonitor.h:
3363 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3364 * gio/fam/gfamfilemonitor.h:
3365 * gio/glocaldirectorymonitor.c:
3366 * gio/glocaldirectorymonitor.h:
3367 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3368 * gio/glocalfilemonitor.h:
3369 * gio/inotify/Makefile.am:
3370 * gio/inotify/ginotifydirectorymonitor.c:
3371 * gio/inotify/ginotifydirectorymonitor.h:
3372 * gio/inotify/ginotifyfilemonitor.c:
3373 * gio/inotify/ginotifyfilemonitor.h:
3374 Implement the FAM and Inotify monitors as
3375 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3376 their own GIO module. GLocal(Directory|File)Monitor will use the
3377 monitor with the highest rank that is supported on that machine.
3379 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3382 Change GIO module dir to $(libdir)/gio/modules and change
3383 the log domain from GVFS to GIO. Also only export symbols starting
3384 with g_ in the resulting library.
3385 * gio/test-streams.c: (main):
3386 Set log handler for the GIO log domain.
3388 2007-10-22 Alexander Larsson <alexl@redhat.com>
3390 * gio/gfilenamecompleter.[ch]:
3391 Add g_filename_completer_set_dirs_only
3393 2007-10-22 Alexander Larsson <alexl@redhat.com>
3396 * gio/gurifuncs.[ch]:
3397 Add some simple URI helpers
3399 * gio/gfilenamecompleter.[ch]:
3400 Added object for filename (parse name actually) completion
3403 Handle ~ in parse names
3405 2007-10-17 Alexander Larsson <alexl@redhat.com>
3408 * gio/glocalfileinfo.c:
3409 Add and implement id:value attribute
3411 2007-10-17 Alexander Larsson <alexl@redhat.com>
3414 * gio/guniondrive.c:
3416 Add and implement g_drive_has_volumes
3418 2007-10-17 Alexander Larsson <alexl@redhat.com>
3421 * gio/glocalfileinfo.[ch]:
3422 Add unix:is_mountpoint and implement for local files
3424 2007-10-16 Alexander Larsson <alexl@redhat.com>
3426 * gio/gunionvolumemonitor.c:
3427 (g_union_volume_monitor_init):
3428 Fix up the unix type getting so that it works with gcc
3430 2007-10-12 Alexander Larsson <alexl@redhat.com>
3433 * gio/glocalfileinfo.c:
3434 Add thumbnail:failed to file info
3436 2007-10-12 Richard Hult <richard@imendio.com>
3438 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3439 optimizing away the get_type call (happens with some gcc versions,
3440 like the one shipped with OS X 10.4).
3442 2007-10-12 Alexander Larsson <alexl@redhat.com>
3444 * gio/glocalfileinfo.c:
3445 (_g_local_file_info_set_attribute):
3446 Fix build if not HAVE_XATTR
3447 Patch from Milosz Derezynski <internalerror@gmail.com>
3449 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3451 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3452 around for review, otherwise I would have asked you before
3455 2007-10-11 Alexander Larsson <alexl@redhat.com>
3458 Add thumbnail:path attribute
3460 * gio/glocalfileinfo.c:
3461 Implement thumbnail:path for local files
3463 2007-10-11 Alexander Larsson <alexl@redhat.com>
3465 * gio/glocalfileinfo.c:
3466 (_g_local_file_info_get):
3467 Avoid duplicate icon names
3469 2007-10-11 Alexander Larsson <alexl@redhat.com>
3471 * gio/gthemedicon.[ch]:
3472 Change g_themed_icon_get_names return type to const
3474 2007-10-10 Alexander Larsson <alexl@redhat.com>
3476 * gio/glocalfileinfo.c:
3477 Don't reference freed memory
3479 2007-10-10 Alexander Larsson <alexl@redhat.com>
3481 * gio/gfileattribute.c:
3484 * gio/glocalfileinfo.c:
3487 2007-10-10 Alexander Larsson <alexl@redhat.com>
3490 Check for NULL icons
3492 * gio/gfileattribute.c:
3493 Don't dup when getting objects (same as for string attributes)
3495 * gio/gicon.c (g_icon_equal):
3496 Safely handle NULLs in equal
3498 2007-10-10 Alexander Larsson <alexl@redhat.com>
3501 Fix c++ compilation issues
3502 Patch from Milosz Derezynski <internalerror@gmail.com>
3504 2007-10-10 Alexander Larsson <alexl@redhat.com>
3506 * programs/gio-monitor-dir.c:
3507 Don't crash if dir monitor not supported.
3509 2007-10-09 Alexander Larsson <alexl@redhat.com>
3512 Add missing G_END_DECLS
3514 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3516 * gio/gfile.c: (g_file_set_display_name),
3517 (g_file_query_settable_attributes),
3518 (g_file_query_writable_namespaces):
3519 Return NULL not FALSE on errors as the return type is a pointer.
3521 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3523 * gio/glocalfile.c: (g_local_file_monitor_file):
3524 Don't call monitor_file on the default interface vtable (which
3525 is NULL) but simply return NULL. The caller, GFile, will create a
3526 polling monitor if NULL is returned.
3528 2007-10-09 Alexander Larsson <alexl@redhat.com>
3532 * gio-unix-2.0.pc.in:
3533 Add gio-unix-2.0.pc if OS_UNIX
3536 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3538 2007-10-09 Alexander Larsson <alexl@redhat.com>
3540 * gio/gunixmounts.[ch]:
3541 Make unix mount monitoring API sane.
3542 Now its just a object with mounts_changed
3543 and mountpoints_changed signals.
3545 * gio/glocaldirectorymonitor.c:
3546 * gio/gunixvolumemonitor.c:
3547 Use new mount monitor api
3549 2007-10-09 Alexander Larsson <alexl@redhat.com>
3551 * gio/gunixmounts.[ch]:
3552 Move guess type into one call for mounts and one for mountpoints
3555 * gio/gunixvolume.c:
3558 2007-10-09 Alexander Larsson <alexl@redhat.com>
3560 * gio/gunixmounts.[ch]:
3561 Remove _ prefix in preparation to make this semi-public
3562 Hide implementation of structs
3564 * gio/glocaldirectorymonitor.c:
3566 * gio/gunixvolume.c:
3567 * gio/gunixvolumemonitor.c:
3568 Update for above API changes
3570 2007-10-08 Alexander Larsson <alexl@redhat.com>
3573 Better polling fallback. This also handles the case where we have
3574 a monitor_file implementation, but it fails.
3576 2007-10-08 Alexander Larsson <alexl@redhat.com>
3580 * gio/gunixmounts.c:
3581 * programs/gio-monitor-dir.c:
3582 * programs/gio-monitor-file.c:
3583 Added cancellable to file monitoring calls.
3584 These are really sync calls and need this.
3586 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3588 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3589 (g_local_vfs_class_init):
3590 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3591 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3593 2007-10-05 Alexander Larsson <alexl@redhat.com>
3595 * gio/gdirectorymonitorprivate.h:
3596 * gio/gfilemonitorprivate.h:
3597 * gio/gdirectorymonitor.h:
3598 * gio/gfilemonitor.h:
3599 Remove *private.h and move to the public API, so that
3600 we can do implementations outside gio (such as in gvfs)
3602 * gio/gdirectorymonitor.c:
3603 * gio/gfilemonitor.c:
3604 * gio/glocaldirectorymonitor.c:
3605 * gio/gpollfilemonitor.c:
3606 * gio/inotify/inotify-helper.c:
3607 * gio/fam/fam-helper.c:
3608 Update to the new header names
3610 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3612 * gio/gdirectorymonitor.c:
3613 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3616 2007-10-04 Alexander Larsson <alexl@redhat.com>
3618 * gio/glocalfileinfo.c (get_access_rights):
3619 Set CAN_TRASH when we can move the file.
3620 We should really also check for a parent trash dir.
3622 2007-10-04 Alexander Larsson <alexl@redhat.com>
3624 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3625 Add can_trash access attribute
3627 2007-10-04 Alexander Larsson <alexl@redhat.com>
3630 (g_local_file_trash):
3631 Create info file first. This is per-spec and allows
3632 us to actually trash directories.
3634 2007-10-02 Alexander Larsson <alexl@redhat.com>
3636 * gio/gdesktopappinfo.c:
3637 Implement the new mime support code.
3638 Always set app as handling mimetype when being set as default for it
3640 2007-10-01 Alexander Larsson <alexl@redhat.com>
3642 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3643 Fix up check for xattrs:
3645 2007-10-01 Alexander Larsson <alexl@redhat.com>
3648 (g_app_info_set_as_default_for_extension):
3649 (g_app_info_add_supports_type):
3650 (g_app_info_can_remove_supports_type):
3651 (g_app_info_remove_supports_type):
3652 Make these fail nicely if not implemented
3654 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3656 * gio/glocalfileoutputstream.c:
3657 * gio/glocalfileoutputstream.h:
3662 * programs/gio-save.c:
3663 Add a GFileCreateFlags argument to operations that can create
3666 2007-10-01 Alexander Larsson <alexl@redhat.com>
3668 * gio/gappinfo.[ch]:
3669 * gio/gdesktopappinfo.c:
3670 Add more (stubbed out) mime API needed for nautilus
3672 2007-10-01 Alexander Larsson <alexl@redhat.com>
3675 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3676 Add g_app_info_set_as_default_for_extension.
3678 * gio/gdesktopappinfo.c:
3679 Dummy for g_app_info_set_as_default_for_extension
3680 Support flags in g_app_info_create_from_commandline
3682 * gio/gwin32appinfo.c:
3684 Update for API changes
3686 * gio/gthemedicon.c:
3687 Properly NULL-terminate list of icon names
3689 2007-09-28 Alexander Larsson <alexl@redhat.com>
3691 * gio/gloadableicon.h:
3692 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3694 2007-09-28 Alexander Larsson <alexl@redhat.com>
3697 Install headers in $includedir/gio-standalone/
3699 * gio-2.0.pc.in: Added.
3700 * gio-standalone.pc.in: Removed.
3703 Renamed pkg-config file to match glib (for future move)
3704 Update to the new include dir
3707 Add more TODO comments
3709 2007-09-28 Alexander Larsson <alexl@redhat.com>
3711 * gio/gdesktopappinfo.[ch]:
3712 Expose new_from_filename
3713 Add getter for is_hidden and handle it better
3715 2007-09-28 Alexander Larsson <alexl@redhat.com>
3717 * gio/gfileinfo.[ch]:
3718 Rename g_file_size_format_for_display to
3719 g_format_file_size_for_display.
3720 Now it doesn't have the g_file prefix, so we
3721 can later move it to glib.
3723 2007-09-28 Alexander Larsson <alexl@redhat.com>
3725 * gio/gappinfo.[ch]:
3726 Add g_app_info_get_id and g_app_info_get_executable.
3727 Make all getters non-reffing
3728 Make g_app_info_launch take GFile arguments.
3729 Add must_support_uris argument to g_app_info_get_default_for_type.
3731 * gio/gwin32appinfo.c:
3732 Update to GAppInfo api changes
3734 * gio/gdesktopappinfo.c:
3735 Update to GAppInfo api changes
3736 Implement supports_xdg_startup_notify
3738 * gio/gfileicon.c (g_file_icon_get_file):
3739 Make getter non-reffing.
3744 2007-09-27 Alexander Larsson <alexl@redhat.com>
3746 * gio/gfileinfo.[ch]:
3747 Add g_file_size_format_for_display helper
3749 2007-09-27 Alexander Larsson <alexl@redhat.com>
3751 * gio/glocalfileinfo.c:
3752 Set UNIX_GID from gid, not from uid
3754 2007-09-27 Alexander Larsson <alexl@redhat.com>
3757 Add g_file_set_attributes_async
3759 2007-09-27 Alexander Larsson <alexl@redhat.com>
3761 * gio/glocalfile.c (g_local_file_set_display_name):
3762 Fix set_display_name to actually rename to the right place.
3763 Use lstat to look for existing files so we don't overwrite
3766 2007-09-26 Alexander Larsson <alexl@redhat.com>
3769 Add g_file_set_display_name_async()
3771 2007-09-26 Alexander Larsson <alexl@redhat.com>
3774 Add load_partial_contents async calls
3777 Make internal function static
3779 2007-09-26 Alexander Larsson <alexl@redhat.com>
3781 * gio/glocalfileinfo.c:
3782 Correctly detect broken symlinks
3784 2007-09-26 Alexander Larsson <alexl@redhat.com>
3786 * gio/gcancellable.c (g_cancellable_cancel):
3787 Allow cancel on NULL cancellable
3789 2007-09-25 Alexander Larsson <alexl@redhat.com>
3791 * gio/gsimpleasyncresult.c:
3792 Don't allocate g_error manually.
3793 Fixes g_slice/g_new mixup crash
3795 2007-09-25 Alexander Larsson <alexl@redhat.com>
3797 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3798 Actually set active_backend.
3799 This means the monitor will be cancelled correctly.
3801 2007-09-25 Alexander Larsson <alexl@redhat.com>
3803 * gio/gdirectorymonitor.c:
3804 Set timeout to NULL when destroying
3806 2007-09-25 Alexander Larsson <alexl@redhat.com>
3809 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3810 that is a better description of the error.
3812 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3814 * gio/gvfs.c: (g_vfs_get_local):
3815 Make the local vfs variable static. The same instance should
3818 2007-09-24 Alexander Larsson <alexl@redhat.com>
3820 * gio/glocalfileinfo.c:
3821 Pass in actual length read into sniffer, not the length
3824 2007-09-21 Alexander Larsson <alexl@redhat.com>
3826 * gio/gfileenumerator.c:
3829 * gio/gfileinputstream.c:
3830 * gio/gfileoutputstream.c:
3831 * gio/ginputstream.c:
3832 * gio/goutputstream.c:
3833 Don't crash if async callbacks are NULL
3835 2007-09-20 Alexander Larsson <alexl@redhat.com>
3838 Add async enumerate_children method and default
3841 2007-09-20 Alexander Larsson <alexl@redhat.com>
3844 Add g_file_contains_file & g_file_get_relative_path, since they
3845 were needed for nautilus.
3846 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3851 Implement new methods
3853 2007-09-17 Alexander Larsson <alexl@redhat.com>
3856 * gio/gfileinputstream.[ch]:
3857 * gio/gfileoutputstream.[ch]:
3859 * gio/glocalfileenumerator.[ch]:
3860 * gio/glocalfileinfo.[ch]:
3861 * gio/glocalfileinputstream.c:
3862 * gio/glocalfileoutputstream.c:
3863 * gio/gpollfilemonitor.c:
3864 * programs/gio-copy.c:
3865 * programs/gio-info.c:
3866 * programs/gio-move.c:
3867 Rename get_file_info to query_info() to make it clearer
3868 that these are not simple getters, but do i/o.
3870 2007-09-17 Alexander Larsson <alexl@redhat.com>
3872 * gio/gdatainputstream.[ch]:
3873 * gio/test-streams.c:
3874 Use _read_XXX instead of _get_XXX for the i/o calls
3877 2007-09-17 Alexander Larsson <alexl@redhat.com>
3880 Added needed stuff to TODO comment
3882 2007-09-17 Alexander Larsson <alexl@redhat.com>
3884 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3885 Don't error out removing the backup copy if it doesn't
3888 2007-09-14 Alexander Larsson <alexl@redhat.com>
3890 * programs/Makefile.am:
3891 * programs/gvfs-*.c:
3893 Renamed apps from gvfs-xxx to gio-xxx.
3895 2007-09-14 Alexander Larsson <alexl@redhat.com>
3898 * gio/gfileoutputstream.[ch]:
3899 * gio/glocalfileoutputstream.c:
3900 * programs/gvfs-save.c:
3901 g_file_output_stream_get_etag doesn't do i/o, so remove
3902 cancellation and error.
3904 2007-09-14 Alexander Larsson <alexl@redhat.com>
3907 Add new_etag output to replace_contents functions
3909 2007-09-14 Alexander Larsson <alexl@redhat.com>
3911 * gio/gfileoutputstream.[ch]:
3912 Add async get_file_info and default implementation
3914 2007-09-14 Alexander Larsson <alexl@redhat.com>
3916 * gio/gfileinputstream.c:
3917 Implement fallback wrapper for async get_file_info
3919 2007-09-14 Alexander Larsson <alexl@redhat.com>
3922 Add etag out argument to load_contents
3927 2007-09-14 Alexander Larsson <alexl@redhat.com>
3929 * gio/gcontenttype.c (looks_like_text):
3930 Whitespace like tab, cr and lf do not make the
3933 2007-09-14 Alexander Larsson <alexl@redhat.com>
3935 * gio/gfileinputstream.[ch]:
3936 Add async get_file_info.
3938 2007-09-13 Alexander Larsson <alexl@redhat.com>
3940 * gio/goutputstream.c (g_output_stream_write_all):
3941 Allow NULL for bytes_written
3943 2007-09-13 Alexander Larsson <alexl@redhat.com>
3945 * gio/gmemoryinputstream.[ch]:
3946 Add accessors for data
3948 2007-09-13 Alexander Larsson <alexl@redhat.com>
3950 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3951 Don't crash if length is NULL