1 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
3 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
4 not emit attribute changed events when optimizing changed events.
5 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
8 2008-03-19 Matthias Clasen <mclasen@redhat.com>
10 * gmountoperation.[hc]: Small documentation additions
12 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
14 * gunixmounts.c: (guess_mount_type):
15 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
17 2008-03-19 Alexander Larsson <alexl@redhat.com>
20 (copy_stream_with_progress):
21 Bump block side for copy to 64k to minimize
22 overhead for low latency links. (#523015)
24 2008-03-16 Tor Lillqvist <tml@novell.com>
26 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
27 depend on gio.def on Windows.
29 2008-03-12 David Zeuthen <davidz@redhat.com>
33 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
35 2008-03-14 Alexander Larsson <alexl@redhat.com>
39 Avoid redudant tests (#521851)
40 Patch from Josselin Mouette
42 2008-03-14 Alexander Larsson <alexl@redhat.com>
45 (g_file_monitor_is_cancelled):
46 Fix C89 issue (#521672)
47 Patch from Jens Granseuer
49 2008-03-14 Alexander Larsson <alexl@redhat.com>
51 * fam/fam-helper.[ch]:
53 Shut down fam (including removing fam GSource) when
54 module is unloaded (#521513)
55 Patch from Joe Marcus Clarke
57 2008-03-14 Alexander Larsson <alexl@redhat.com>
60 (_g_io_modules_ensure_loaded):
63 2008-03-14 Alexander Larsson <alexl@redhat.com>
66 (g_local_file_query_filesystem_info):
67 Use right define name for f_fstypename member check
69 2008-03-14 Alexander Larsson <alexl@redhat.com>
72 * fen/Makefile.am: Added.
73 * fen/fen-data.[ch]: Added.
74 * fen/fen-dump.[ch]: Added.
75 * fen/fen-helper.[ch]: Added.
76 * fen/fen-kernel.[ch]: Added.
77 * fen/fen-missing.[ch]: Added.
78 * fen/fen-node.[ch]: Added.
79 * fen/fen-sub.[ch]: Added.
80 * fen/gfendirectorymonitor.[ch]: Added.
81 * fen/gfenfilemonitor.[ch]: Added.
83 Added Solaris FEN file notification backend.
84 Patch from Lin Ma <Lin.Ma@Sun.COM>
86 2008-03-13 Tor Lillqvist <tml@novell.com>
88 * Makefile.am: Actually use the gio.def file when linking the
89 library on Windows. Produce .lib library for Microsoft's toolchain
90 when possible. Install the .lib and .def file like for the other
93 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
95 * tests/live-g-file.c:
96 Include live-g-file in standard set of tests, making a temporary
97 directory in source structure.
99 Clean target directory before the tests (write mode only)
101 2008-03-12 Tor Lillqvist <tml@novell.com>
103 Bug 517419 - gio win32 directory monitor
104 Implementation by Vlad Grecescu.
107 * win32/gwin32directorymonitor.h
108 * win32/gwin32directorymonitor.c: New files.
110 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
112 * Makefile.am: Add the win32 subdirectory.
114 2008-03-12 Tor Lillqvist <tml@novell.com>
116 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
117 normal struct stat on Unix but struct _stati64 on Windows to have
118 access to 64-bit file size information. Use that instead of struct
119 stat in the functions declared here in this private header.
121 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
122 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
123 warnings about unused functions and variables. Don't set
124 meaningless attributes like inode numbers on Windows.
126 2008-03-12 Benjamin Otte <otte@gnome.org>
129 trim whitespace so gtk-doc groks the function name
131 2008-03-12 Tor Lillqvist <tml@novell.com>
133 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
134 returning FALSE, on Win32.
136 2008-03-11 Alexander Larsson <alexl@redhat.com>
139 * glocalfileinfo.[ch]:
140 Correctly implement can_trash by actually
141 looking for a trash dir, not just assuming
144 2008-03-10 Matthias Clasen <mclasen@redhat.com>
146 * === Released 2.16.1 ===
148 2008-03-11 Alexander Larsson <alexl@redhat.com>
151 Fix crashes in new constructor and properties code
153 2008-03-10 Murray Cumming <murrayc@murrayc.com>
155 * gfile.c: Minor spelling correction in documentation:
156 existance -> existence.
158 2008-03-10 Matthias Clasen <mclasen@redhat.com>
160 * === Released 2.16.0 ===
162 2008-03-10 Matthias Clasen <mclasen@redhat.com>
164 * gio.symbols: Remove g_file_contains_file here, too.
166 2008-03-10 Matthias Clasen <mclasen@redhat.com>
168 * gthemedicon.c: Add properties to make bindings happy. (#517676,
169 Samuel Cormier-Iijima)
171 2008-03-08 Tor Lillqvist <tml@novell.com>
173 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
176 2008-03-07 Alexander Larsson <alexl@redhat.com>
179 (g_local_file_query_filesystem_info):
180 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
181 Patch from Jasper Lievisse Adriaanse
183 2008-03-06 Tor Lillqvist <tml@novell.com>
185 * gfileinfo.h: Correct milliseconds to microseconds in the doc
186 comments for the *_USEC attributes.
188 2008-03-06 Alexander Larsson <alexl@redhat.com>
190 * gfile.c (g_file_query_exists):
191 Add g_return_val_if_fail check (#520700)
193 2008-03-06 Alexander Larsson <alexl@redhat.com>
198 * gunionvolumemonitor.c:
201 * tests/live-g-file.c:
202 * xdgmime/xdgmimecache.c:
203 Fix sparse warnings (#519489)
205 2008-03-05 Alexander Larsson <alexl@redhat.com>
208 Make cancellation threadsafe (i.e.
209 guarantee its only done once, and always
212 * glocaldirectorymonitor.c:
213 Make sure we the monitor lives while the
214 mounts_changed callback is being called (#520484)
216 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
218 * gbufferedinputstream.c: Fix typo in parameter
221 2008-03-04 Alexander Larsson <alexl@redhat.com>
224 Remove deprecated symbols we kept for one release.
226 2008-03-04 Murray Cumming <murrayc@murrayc.com>
229 * goutputstream.c: Tiny documentation corrections.
231 2008-03-03 Alexander Larsson <alexl@redhat.com>
233 * gunionvolumemonitor.c:
235 Fix the adopt_orphan_mount vfunc to take a
236 volume_monitor reference in an ABI compat way.
237 This change is not API compat, but the added
238 arg is not used in the only user of this vfunc, so
239 all we get is a harmless warning in gvfs (#520169)
241 2008-03-01 Benjamin Otte <otte@gnome.org>
244 clarify docs for g_file_delete().
246 2008-02-29 Alexander Larsson <alexl@redhat.com>
250 Make sure empty files get text/plain type (#518720)
252 2008-02-27 Alexander Larsson <alexl@redhat.com>
258 (g_unix_volume_mount):
259 Add missing GMountMountFlags argument
261 2008-02-26 Alexander Larsson <alexl@redhat.com>
264 (g_local_file_delete):
265 Handle filesystems (like ntfs-3g) that return EEXIST instead
266 of ENOTEMPTY (#518816)
268 2008-02-25 Matthias Clasen <mclasen@redhat.com>
270 * === Released 2.15.6 ===
272 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
274 * gfile.c (g_file_find_enclosing_mount):
275 * ginputstream.c (g_input_stream_set_pending):
276 * glocalfile.c (g_local_file_find_enclosing_mount):
277 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
278 * goutputstream.c (g_output_stream_set_pending):
280 Fixup translator comments (#518578).
282 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
284 * gfile.c (g_file_find_enclosing_mount):
286 * glocalfile.c (g_local_file_find_enclosing_mount):
289 Fix a few typos in translator comments and documentation.
291 2008-02-25 Alexander Larsson <alexl@redhat.com>
298 Add translator comments (#518578)
300 2008-02-25 Alexander Larsson <alexl@redhat.com>
303 Reintroduce g_file_contains_file, keep around for one
304 unstable release cycle to avoid crashing to many apps.
305 Make sure to delete after release.
307 2008-02-25 Alexander Larsson <alexl@redhat.com>
310 Remove deprecated g_file_contains_file.
312 2008-02-25 Alexander Larsson <alexl@redhat.com>
315 Emit actual change signals in an idle handler.
316 This avoids reentrance and locking problems in
317 the file notification backends.
319 2008-02-25 Alexander Larsson <alexl@redhat.com>
322 (g_unix_mount_guess_should_display):
323 Remove type guessing, instead just display
324 mounts in /media and in ~/.
326 2008-02-25 Alexander Larsson <alexl@redhat.com>
329 Make new strings reuse old ones.
331 2008-02-25 Alexander Larsson <alexl@redhat.com>
334 Implement trashing and filesystem::readonly for win32 (#517235)
335 Patch from Yevgen Muntyan
337 2008-02-23 Matthias Clasen <mclasen@redhat.com>
339 * gfileinfo.h: Documentation fixes.
341 2008-02-22 Alexander Larsson <alexl@redhat.com>
343 * gcontenttype.c (g_content_type_get_icon):
344 Look at old-style gnome mime icon names too, as many
345 have not moved to the new style.
347 2008-02-21 Matthias Clasen <mclasen@redhat.com>
349 * *.c: Correct the @include in for section docs.
351 2008-02-21 David Zeuthen <davidz@redhat.com>
353 * glocalfileinfo.c: (_g_local_file_info_get):
355 (g_content_type_get_icon): Implement this function by
356 moving bits from glocalfileinfo.c
357 (g_content_type_get_description): Unalias before getting
358 description (#517687)
360 * gfile.c: (g_file_class_init),
361 (g_file_query_filesystem_info_async),
362 (g_file_query_filesystem_info_finish),
363 (query_filesystem_info_data_free),
364 (query_filesystem_info_async_thread),
365 (g_file_real_query_filesystem_info_async),
366 (g_file_real_query_filesystem_info_finish):
367 * gfile.h: Implement async version of
368 g_file_query_filesystem_info()
370 * gfileinfo.h: Add new attributes for filesystem::use-preview
372 * gio.symbols: Update
374 * gthemedicon.c: (g_themed_icon_append_name):
375 * gthemedicon.h: Add new new convenience function.
377 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
378 (get_mounts), (get_volumes), (get_connected_drives),
379 (get_volume_for_uuid), (get_mount_for_uuid),
380 (g_union_volume_monitor_init), (populate_union_monitor),
381 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
382 (g_volume_monitor_adopt_orphan_mount):
384 * gvolumemonitor.h: Use recursive locks so it's safe for volume
385 monitor implementations to call into the main volume monitor. Also
386 separate object initialization and volume monitor initialization
387 such that non-native volume monitors can properly adopt their
390 2008-02-21 Alexander Larsson <alexl@redhat.com>
395 2008-02-21 Alexander Larsson <alexl@redhat.com>
398 Add more documentation about how GFiles work (from #517086)
400 2008-02-21 Alexander Larsson <alexl@redhat.com>
404 Add new g_file_has_prefix that does the same as g_file_contains_file.
405 Deprecate g_file_contains_file and add a macro that converts
406 it to g_file_has_prefix.
407 The reason for this change is that the contains_file() name seems to
408 imply that this does more work than what it does, but its really only
409 a name match (from #517086)
414 Update to match the above change.
416 2008-02-20 Benjamin Otte <otte@gnome.org>
418 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
419 (g_file_eject_mountable):
420 even more cases of not returning in error path
422 2008-02-20 Benjamin Otte <otte@gnome.org>
424 * gfile.c: (g_file_mount_mountable):
425 return from function in error path.
427 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
430 Remove trailing coma in GMountMountFlags struct
432 2008-02-18 Alexander Larsson <alexl@redhat.com>
436 * glocalfileoutputstream.c:
437 Use g_unlink/g_rename instead of unlink/rename;
438 do not pass raw filenames to g_set_error. (#517239)
439 Patch from Yevgen Muntyan.
441 2008-02-18 Alexander Larsson <alexl@redhat.com>
444 * glocalfileoutputstream.c:
445 Open files with O_BINARY on windows. (#517140)
447 2008-02-14 Alexander Larsson <alexl@redhat.com>
449 * glocalfileoutputstream.c:
450 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
452 2008-02-14 Alexander Larsson <alexl@redhat.com>
455 Copy permissions with file on copy (#514084)
456 This is what cp does and makes sure e.g. the
457 exec permissions are kept.
458 Its kinda weird in that it keeps the permission bits
459 the same while the uid and gid are different. However
460 the new uid is the user so its not a security issue,
461 and I've heard no complaints about cp on this issue.
463 2008-02-13 Ryan Lortie <desrt@desrt.ca>
465 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
467 2008-02-13 Alexander Larsson <alexl@redhat.com>
469 * inotify/inotify-path.c:
470 Define IN_ONLYDIR if not in header (#515346)
472 2008-02-12 Alexander Larsson <alexl@redhat.com>
474 * tests/live-g-file.c:
477 2008-02-11 Matthias Clasen <mclasen@redhat.com>
479 * === Released 2.15.5 ===
481 2008-02-11 Matthias Clasen <mclasen@redhat.com>
483 * gio.symbols: Add g_mount_mount_flags_get_type.
485 2008-02-11 Alexander Larsson <alexl@redhat.com>
488 (g_file_info_set_attribute_mask):
489 (g_file_attribute_matcher_matches_id):
490 Correctly handle NULL GAttributeMatcher meaning
491 matches nothing. (Fixes #513492)
493 2008-02-11 Alexander Larsson <alexl@redhat.com>
498 Added GMountMountFlags enum and added a flags
499 argument to all mount calls.
501 This is an API/ABI change for future extensibility,
502 as I think we will need at least an
503 inhibit-autorun flag (the panel needs this).
504 There are no flags defined yet though.
506 2008-02-11 Alexander Larsson <alexl@redhat.com>
509 Added new standard::description attribute.
510 Requested by Vincent, and useful for both
513 2008-02-11 Alexander Larsson <alexl@redhat.com>
518 2008-02-11 Matthias Clasen <mclasen@redhat.com>
520 * *.c: Documentation additions
522 2008-02-10 Matthias Clasen <mclasen@redhat.com>
524 * gappinfo.h: Formatting cleanup
525 * gappinfo.c: Fix up docs.
527 2008-02-09 Matthias Clasen <mclasen@redhat.com>
529 * gunixmounts.c: Consistently use getmntent_r() and fall
530 back to getmntent(). (#515492)
532 2008-02-09 Matthias Clasen <mclasen@redhat.com>
534 * gbufferedinputstream.c:
536 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
538 * tests/data-input-stream.c:
539 * tests/data-output-stream.c: Portability fixes.
541 2008-02-08 Alexander Larsson <alexl@redhat.com>
546 Add g_volume_should_automount.
549 2008-02-07 Tor Lillqvist <tml@novell.com>
551 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
552 Win32, too Unix-specific.
554 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
556 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
557 a local plt if the compiler doesn't support what we want. Bug #514702
559 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
561 reviewed by: <delete if not using a buddy>
564 * gunixinputstream.c:
565 * gunixoutputstream.c:
567 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
570 * tests/live-g-file.c:
571 * tests/live-g-file.txt:
572 New GIO testing module working over real data
574 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
576 * glocalfileoutputstream.c (g_local_file_output_stream_close):
577 Fallback to rename() if link() is not available
578 (when no support on target filesystem)
580 2008-02-06 Michael Natterer <mitch@imendio.com>
582 * gfileinfo.c (g_file_info_get_icon): replace
583 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
585 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
587 * gfile.c (g_file_create):
588 Documentation update of error codes
590 2008-02-06 Alexander Larsson <alexl@redhat.com>
593 Update to use both mimeapps.list and
594 defaults.list as discussed on xdg list.
596 2008-02-06 Benjamin Otte <otte@gnome.org>
599 * gfilenamecompleter.c:
600 Fix some typos in the documentation.
602 2008-02-06 Alexander Larsson <alexl@redhat.com>
604 * glocalfile.c (g_local_file_trash):
605 Don't succeed with trash if newly created
606 trash dir has the wrong owner. (#514696)
608 2008-02-05 Alexander Larsson <alexl@redhat.com>
610 * glocalfile.c (g_local_file_move):
611 Don't spew warnings when destination is not
614 2008-02-03 Hans Breuer <hans@breuer.org>
616 * makefile.msc : update
618 2008-02-01 Michael Natterer <mitch@imendio.com>
620 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
621 return value of xdg_mime_list_mime_parents() to a variable of the
624 2008-02-01 Alexander Larsson <alexl@redhat.com>
626 * gappinfo.c (g_app_info_launch_uris):
627 Actually call the launch_uris method, not
630 2008-02-01 Alexander Larsson <alexl@redhat.com>
632 * gdesktopappinfo.c (g_desktop_app_info_equal):
633 Ensure appinfos with no id but same pointer value
636 2008-02-01 Alexander Larsson <alexl@redhat.com>
638 * gappinfo.c (g_app_info_launch_default_for_uri):
641 2008-02-01 Alexander Larsson <alexl@redhat.com>
645 Add g_app_info_launch_default_for_uri utility
648 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
651 Doc fix for g_app_info_get_default_for_uri_scheme ()
654 2008-01-30 Alexander Larsson <alexl@redhat.com>
657 Add doc comment about uris vs GFiles to
661 Ensure uris passed to g_app_info_launch_uris()
662 are not roundtriped through GFile (as that
663 may be slightly destructive for e.g. mailto: links)
665 2008-01-30 Alexander Larsson <alexl@redhat.com>
667 * tests/data-input-stream.c:
668 * tests/data-output-stream.c:
669 C89 fixes from Jens Granseuer (#512849)
671 2008-01-30 Alexander Larsson <alexl@redhat.com>
674 Fix gamin/fam difference build issue. (#509419)
676 2008-01-29 Alexander Larsson <alexl@redhat.com>
680 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
682 2008-01-29 Alexander Larsson <alexl@redhat.com>
686 giomodule-priv.h include moved to .c file.
688 2008-01-29 Alexander Larsson <alexl@redhat.com>
690 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
691 Remove unused prio/name fields.
693 2008-01-29 Alexander Larsson <alexl@redhat.com>
695 * gcontenttype.c (looks_like_text):
696 Don't treat whitespace as control chars.
698 2008-01-29 Alexander Larsson <alexl@redhat.com>
701 Lazily create the desktop files for appinfos created
702 by g_app_info_create_from_commandline() when needed
703 for mime associations. This allows run-time use
704 of GAppInfo object without creating unnecessary
707 2008-01-29 Alexander Larsson <alexl@redhat.com>
710 Added new symbols to gio.symbols
712 2008-01-29 Alexander Larsson <alexl@redhat.com>
715 Add g_file_query_default_handler utility to easily look up
716 the GAppInfo that handles a file.
718 * gdesktopappinfo.[ch]:
720 Set up an extension point for g_app_info_get_default_for_uri_scheme()
723 Remove unused function
725 2008-01-29 Alexander Larsson <alexl@redhat.com>
728 Mention need to free returned value in
729 g_file_enumerator_next_files_finish docs.
730 Fix leak if g_file_enumerator_next_files_finish()
733 2008-01-29 Alexander Larsson <alexl@redhat.com>
736 (_g_unix_content_type_get_parents):
737 Use list_parents, not get_parents from xdgmime, because
738 the later doesn't use the cache.
740 * xdgmime/xdgmimecache.c:
741 (_xdg_mime_cache_list_mime_parents):
742 Don't list the same type as parent multiple times.
744 2008-01-28 Matthias Clasen <mclasen@redhat.com>
746 * === Released 2.15.4 ===
748 2008-01-28 Alexander Larsson <alexl@redhat.com>
751 Register local vfs with prio 0.
754 Remove old name and prio class members
756 2008-01-28 Matthias Clasen <mclasen@redhat.com>
758 * tests/g-file.c: Disable some tests that are failing in
759 the absence of a http backend.
761 2008-01-28 Alexander Larsson <alexl@redhat.com>
765 Add registration hooks for extension points.
766 Register the gio extension points.
768 * fam/gfamdirectorymonitor.c:
769 * fam/gfamfilemonitor.c:
770 * glocaldirectorymonitor.[ch]:
771 * glocalfilemonitor.[ch]:
772 * gnativevolumemonitor.h:
773 * gunionvolumemonitor.c:
774 * gunixvolumemonitor.c:
777 * inotify/ginotifydirectorymonitor.c:
778 * inotify/ginotifyfilemonitor.c:
779 Use the extension points registration instead
780 of g_type_children().
782 2008-01-28 Matthias Clasen <mclasen@redhat.com>
785 * gvolume.[hc]: Document new API.
787 * gfile.c (g_file_copy_async): Fix docs
789 2008-01-27 Matthias Clasen <mclasen@redhat.com>
791 * gbufferedinputstream.c:
793 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
796 2008-01-27 Matthias Clasen <mclasen@redhat.com>
798 * glocalfile.c: Avoid trivial differences in translatable strings.
800 2008-01-25 Matthias Clasen <mclasen@redhat.com>
802 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
803 build with gcc 3.4 (#509419)
805 2008-01-25 Matthias Clasen <mclasen@redhat.com>
807 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
808 (#509994, Murray Cumming)
810 2008-01-25 Matthias Clasen <mclasen@redhat.com>
812 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
813 * gioscheduler.c: Keep calling io jobs until they return FALSE;
814 this allows big jobs to be executed in chunks, instead of blocking
815 the main loop for a long time.
817 * gsimpleasyncresult.c:
818 * giofile.c: Adapt callers.
820 2008-01-25 Alexander Larsson <alexl@redhat.com>
823 Implement changes discussed on xdg list.
824 Now we can add supported mimetypes by just using defaults.list
825 We can also remove associations in defaults.list.
827 2008-01-25 Alexander Larsson <alexl@redhat.com>
830 Don't make local copy of desktop file
831 for mimetype changes if the file already
832 supports the new mimetype.
834 2008-01-25 Matthias Clasen <mclasen@redhat.com>
838 * gbufferedinputstream.c:
839 * glocalfile.c: String improvements. (#511966,
840 Theppitak Karoonboonyanan)
842 2008-01-24 Matthias Clasen <mclasen@redhat.com>
844 * gioscheduler.h: Expand docs a bit.
846 2008-01-24 Alexander Larsson <alexl@redhat.com>
849 Add g_drive_get_identifier and
850 g_drive_enumerate_identifiers
853 Add g_volume_get_identifier and
854 g_volume_enumerate_identifiers
860 Implement identifiers for unix backend
862 2008-01-24 Alexander Larsson <alexl@redhat.com>
867 Add g_file_copy_async() (#511580)
868 Based on patch from Carlos Garcia Campos
870 2008-01-23 Matthias Clasen <mclasen@redhat.com>
872 * gioscheduler.c: Some documentation additions.
874 2008-01-22 Alexander Larsson <alexl@redhat.com>
877 (g_desktop_app_info_new):
880 2008-01-22 Alexander Larsson <alexl@redhat.com>
883 (g_desktop_app_info_new_from_filename):
886 2008-01-22 Alexander Larsson <alexl@redhat.com>
888 * glocalfileinfo.c (get_thumbnail_attributes):
891 2008-01-22 Alexander Larsson <alexl@redhat.com>
894 (canonicalize_filename):
895 Canonicalize paths that start with more than
900 (test_g_file_new_for_path):
903 2008-01-22 Alexander Larsson <alexl@redhat.com>
906 Allow UTF-8 in file:// parse names.
909 * tests/data-input-stream.c:
910 * tests/data-output-stream.c:
911 * tests/g-file-info.c:
913 Added a bunch of tests from Tomas Bzatek
915 2008-01-21 Matthias Clasen <mclasen@redhat.com>
917 * === Released 2.15.3 ===
919 2008-01-21 Alexander Larsson <alexl@redhat.com>
921 * gfileinputstream.[ch]:
922 * gfileoutputstream.[ch]:
924 Remove duplicated GSeekable functions. (#509990)
925 Just use the g_seekable_xxx() calls instead.
927 2008-01-21 Matthias Clasen <mclasen@redhat.com>
930 * gvolumemanager.c: Whitespace cleanups.
932 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
933 Use the right mode when creating the file.
935 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
938 * gfileinputstream.c:
940 * goutputstream.c: Documentation: Fixed minor typos
941 and added more mentions of specific _finish() functions.
943 2008-01-21 Alexander Larsson <alexl@redhat.com>
945 * inotify/Makefile.am:
946 * inotify/inotify-helper.c:
947 * inotify/inotify-kernel.c:
948 * inotify/inotify-path.c:
949 * inotify/local_inotify.h: Removed.
950 * inotify/local_inotify_syscalls.h: Removed.
951 Removed the included copies of the inotify
952 headers. We now only use the <sys/inotify.h>
953 header which exists on modern systems.
954 This fixes problems on ARM and SH5 (#510448)
955 but is also generally much cleaner and future
956 safe. For instance, if other OSes add support
957 for inotify it should "just work".
959 2008-01-20 Matthias Clasen <mclasen@redhat.com>
961 * inotify/*.c: Coding style fixes.
962 * inotify/inotify-missing.c: Use g_timeout_add_seconds
963 for the 1/4 Hz timer.
965 2008-01-20 Matthias Clasen <mclasen@redhat.com>
969 * gmemoryinputstream.c:
970 * gmemoryoutputstream.c:
972 * gthemedicon.c: Documentation updates
974 2008-01-20 Murray Cumming <murrayc@murrayc.com>
976 * gfile.c: documentation: Fixed more minor
979 2008-01-18 Murray Cumming <murrayc@murrayc.com>
981 * gmount.c: (g_mount_remount): documentation:
982 Mention g_mount_remount_finish() instead of
983 g_mount_unmount_finish().
985 2008-01-18 Murray Cumming <murrayc@murrayc.com>
989 * gfile.c: Fixed some minor typos in the
992 2008-01-18 Murray Cumming <murrayc@murrayc.com>
994 * gio/gvolumemonitor.c:
995 (g_volume_monitor_get_connected_drives):
996 (g_volume_monitor_get_volumes):
997 (g_volume_monitor_get_mounts): Documentation:
998 Clarify the ownership of the regurn GLists.
1000 2008-01-17 Alexander Larsson <alexl@redhat.com>
1003 Add the async find_enclosing_mount version
1004 to the header file too.
1006 2008-01-17 Alexander Larsson <alexl@redhat.com>
1009 Add async version of find_enclosing_mount
1010 with default implementation.
1012 2008-01-17 Alexander Larsson <alexl@redhat.com>
1017 Allow calls to implementation of copy and write
1018 even if the type of the file implementations is
1019 different. This can be used to implement native
1020 upload and download calls in a vfs.
1023 (g_local_file_move):
1024 Protect against the case where move is called
1025 with one file not being local.
1027 Make sure we call the progress callback once
1028 in the native move operation so that the caller
1029 knows how many bytes were copied.
1031 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1034 * gdatainputstream.c:
1036 * gfileoutputstream.c:
1041 * gunixmounts.c: Corrected some typos in the documentation:
1042 occured -> occurred.
1043 its -> it's (where appropriate).
1045 2008-01-16 Alexander Larsson <alexl@redhat.com>
1049 Add g_file_query_exists (#508771)
1051 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1056 * gvolume.c: For async functions that have no non-async
1057 version, document that the GAsyncReadyCallback may be NULL.
1060 2008-01-15 Alexander Larsson <alexl@redhat.com>
1062 * gmemoryinputstream.c:
1063 * gmemoryoutputstream.c:
1064 Don't do pointer arithmetic on void * (#508602)
1065 Patch from Kazuki IWAMOTO
1067 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1069 * === Released 2.15.2 ===
1071 2008-01-14 Alexander Larsson <alexl@redhat.com>
1073 * gfile.c (g_file_monitor_file):
1074 Don't set error here, since we fallback to polling monitor.
1076 2008-01-14 Alexander Larsson <alexl@redhat.com>
1079 (g_file_monitor_directory):
1080 (g_file_monitor_file):
1081 Add GError to file monitor calls
1083 * glocaldirectorymonitor.c:
1084 * glocaldirectorymonitor.h:
1086 * glocalfilemonitor.c:
1087 * glocalfilemonitor.h:
1089 Update for above change
1091 2008-01-14 Alexander Larsson <alexl@redhat.com>
1095 Handle root correctly in g_file_get_relative_path (#508719)
1097 2008-01-14 Alexander Larsson <alexl@redhat.com>
1100 Clean up docs and example for GAsyncResult (#508074)
1102 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1104 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1105 and correct some spelling mistakes. Bug #508108.
1107 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1109 * glocalfileinfo.c: Add a comment.
1111 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1113 * gfileinfo.c: GFileInfo description: Mention
1114 how to actually set attributes in a GFile and how to discover
1115 which attributes are settable. Bug #508378.
1117 2008-01-10 A. Walton <awalton@svn.gnome.org>
1119 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1120 (g_app_info_get_default_for_type):
1121 Check for NULL content types.
1123 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1125 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1127 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1129 * gfile.c: *_async() functions: Several small corrections
1130 to the documentation, mostly correcting copy/paste errors
1131 and improving some sentences.
1133 2008-01-09 Dan Winship <danw@gnome.org>
1135 * glocalfile.c (get_unique_filename): x86_64 fix
1137 2008-01-09 Alexander Larsson <alexl@redhat.com>
1142 Add g_unix_mount_guess_should_display and use
1143 for unix volume monitor backend.
1144 This means we more or less show what the
1145 gnome-vfs backend did.
1146 Based on patch from Padraig O'Briain
1148 2008-01-09 Alexander Larsson <alexl@redhat.com>
1152 Add g_themed_icon_new_with_default_fallbacks
1155 Use default fallbacks for icons
1157 2008-01-09 Alexander Larsson <alexl@redhat.com>
1160 * gmountoperation.[ch]:
1161 Change the API a bit so that unhandled methods
1162 get reported via the reply, rather than by
1163 the signal emission return value. This is because
1164 some handlers can't know this immediately without
1165 doing I/O, and this is an async operation that
1168 2008-01-09 Alexander Larsson <alexl@redhat.com>
1171 * fam/gfamdirectorymonitor.c:
1172 * fam/gfamfilemonitor.c:
1173 Fix double free crash (#508224)
1174 Patch from Joe Marcus Clarke
1176 008-01-07 Matthias Clasen <mclasen@redhat.com>
1178 * === Released 2.15.1 ===
1180 2008-01-07 Alexander Larsson <alexl@redhat.com>
1182 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1183 Fix warning (#507835)
1185 2008-01-07 Alexander Larsson <alexl@redhat.com>
1188 Pass --internal to glib-genmarshal
1191 * gmountoperation.c:
1193 Use better types for signal arguments (#507822)
1195 2008-01-07 Alexander Larsson <alexl@redhat.com>
1198 Build test subdir after .
1199 Remove gdirectorymonitor.[ch]
1201 * gdirectorymonitor.[ch]:
1205 Remove GDirectoryMonitor and make
1206 GFileMonitor the baseclass for both file and
1207 directory monitors. Lift the more generic
1208 rate limiting code from GDirectoryMonitor
1212 * fam/gfamdirectorymonitor.[ch]:
1213 * inotify/ginotifydirectorymonitor.[ch]:
1214 * inotify/inotify-helper.c:
1215 * glocaldirectorymonitor.[ch]:
1218 Update for the removed GDirectoryMonitor.
1220 * gmemoryoutputstream.c:
1221 Remove ununsed variable
1223 2008-01-07 Alexander Larsson <alexl@redhat.com>
1225 * gmemoryinputstream.c:
1226 Translate error strings
1229 * gmemoryoutputstream.[ch]:
1230 New implementation that avoids using GByteArray
1231 in implementation and API. (#506377)
1233 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1235 * tests/*: Add a test for memory input streams.
1237 * Makefile.am: Add tests to SUBDIRS.
1239 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1241 * glocalfilemonitor.c:
1242 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1245 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1247 * gdesktopappinfo.c: Fix a docs typo.
1249 * gfileattribute.c: Add information about extended attributes
1250 to the documentation. (#505058)
1252 2008-01-04 Alexander Larsson <alexl@redhat.com>
1255 * gmountoperation.c:
1256 Use the right type (uint) for the ask_password signal.
1258 2008-01-04 Alexander Larsson <alexl@redhat.com>
1263 Add g_app_info_supports_files()
1264 Remove desktop arg from g_app_info_should_show().
1266 * gdesktopappinfo.[ch]:
1267 Implement g_app_info_supports_files() and new should_show()
1268 Add g_desktop_app_info_set_desktop_env() to set the desktop
1269 for should_show(). (This will be set by gtk+ later)
1271 2008-01-04 Alexander Larsson <alexl@redhat.com>
1274 * gmemoryinputstream.[ch]:
1275 Improve API so that you can use multiple chunks
1276 of memory and custom destroy functions. (#506374)
1278 2008-01-03 Alexander Larsson <alexl@redhat.com>
1281 Handle NULL attribute matchers safely, as we return this
1282 for empty attribute matcher strings.
1284 2008-01-03 Alexander Larsson <alexl@redhat.com>
1286 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1287 Add /usr/local to list of internal mountpoints
1289 2008-01-03 Alexander Larsson <alexl@redhat.com>
1292 Check for HAVE_LCHOWN (#505887)
1294 2008-01-03 Alexander Larsson <alexl@redhat.com>
1298 Add define for selinux context attribute.
1299 Fix missing : -> :: namespace separator change
1300 Fix missing _ -> - name change for xattr-sys.
1303 2008-01-03 Alexander Larsson <alexl@redhat.com>
1306 Link to libglib and libgobject directly (#504879)
1307 Patch from Sebastien Bacher
1309 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1311 * gfile.c: Expanded the g_file_new_for_commandline_arg
1312 description a bit, based on the code and the docs of the
1313 other g_file_new_for_* functions.
1315 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1317 * gfilemonitor.h: Fixed typo in docs.
1319 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1321 Updates to GIO documentation. (#506395, Mikael Hermansson)
1323 * gcontenttype.c: Describe memory management for return value of
1324 g_content_types_get_registered(). Missing piece from #505815.
1325 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1326 GVolume, GDrive, GMounts, which hopefully gives the user less
1327 confusions when using this API. Following explainations from
1328 Alexander Larsson on gtk-devel-list.
1330 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1332 * gfileinfo.c: Expand the long description.
1334 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1337 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1338 fix builds with --disable-visibility. (#500273, Christian Persch)
1340 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1342 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1343 in the list of returned app infos.
1345 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1347 * gappinfo.c: Fix a cross-reference
1349 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1351 * gfileinputstream.c:
1352 * gfileoutputstream.c:
1356 * gdesktopappinfo.c:
1358 * gfileinfo.c: Documentation updates.
1360 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1362 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1365 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1367 * gcontenttype.c (g_content_types_get_registered): Don't return
1368 freed memory (#505815, Mikael Hermansson)
1370 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1372 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1373 used to detect statbuf->st_blocks. (#505042)
1375 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1377 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1378 environment handling. (#504829, Cosimo Cecchi)
1380 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1382 * gappinfo.c: Doc improvements
1384 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1387 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1389 * === Released 2.15.0 ===
1391 2007-12-20 Hans Breuer <hans@breuer.org>
1393 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1394 with symbols gwin32appinfo.obj, added gmount.obj
1395 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1397 2007-12-20 Alexander Larsson <alexl@redhat.com>
1403 * gfilenamecompleter.c:
1406 * gpollfilemonitor.c:
1407 File attribute renames:
1409 fs:: -> filesystem::
1410 id::fs -> id::filesystem
1412 2007-12-20 Alexander Larsson <alexl@redhat.com>
1421 Add GMountUnmountFlags to all unmount and
1423 Add g_mount_remount() call.
1425 2007-12-20 Alexander Larsson <alexl@redhat.com>
1427 * gvfs.c (get_default_vfs):
1428 Fix unused variable warning
1430 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1432 * pltcheck.sh: Update
1434 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1436 * gunionvolumemonitor.c:
1437 * gunixmount.c: Remove C99 comments
1439 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1441 * gio.symbols: Add some missing symbols
1443 2007-12-19 Alexander Larsson <alexl@redhat.com>
1446 Make g_io_modules_load_all_in_directory not unuse
1447 loaded modules so that users of it can do stuff
1449 Init internal "module" types.
1450 Initialize static prio and name for types so that
1451 we don't have to load modules to get it.
1453 * gnativevolumemonitor.h:
1455 Move is_supported to parent class so that
1456 non-native monitors can avoid being initialized
1457 too. (For instance GDaemonVolumeMonitor if we're
1458 not using GDaemonVfs.)
1460 * glocaldirectorymonitor.[ch]:
1461 * glocalfilemonitor.[ch]:
1462 * gunionvolumemonitor.c:
1463 * gunixvolumemonitor.c:
1465 Find plugins using the static prio+name to
1466 avoid unnecessarily loading the modules.
1468 2007-12-19 Alexander Larsson <alexl@redhat.com>
1473 2007-12-19 Alexander Larsson <alexl@redhat.com>
1475 * gunionvolumemonitor.c:
1476 Store the native type as GType, not class so that
1477 we can unload it. But still avoid unnecessarily
1480 2007-12-19 David Zeuthen <davidz@redhat.com>
1482 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1483 add signals 'disconnected' and 'eject-button' on GDrive. Add
1484 signal 'removed' on GVolume and 'unmounted' on GMount.
1486 * gdrive.c: (g_drive_base_init):
1488 * gfile.c: (g_file_mount_mountable),
1489 (g_file_mount_enclosing_volume):
1492 * gmount.c: (g_mount_base_init):
1494 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1495 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1496 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1500 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1502 * *.c: Fix up includes in the section docs.
1504 2007-12-17 Alexander Larsson <alexl@redhat.com>
1506 * gnativevolumemonitor.h:
1507 * gunionvolumemonitor.c:
1508 * gunixvolumemonitor.c:
1509 Add is_supported() to GNativeVolumeMonitorClass so
1510 that we can avoid having to create an object to see
1511 if the backend is supported at runtime.
1512 Also add name member and an env var to pick a specific
1513 volume monitor backend.
1517 Add cancellable to _g_mount_get_for_mount_path()
1519 * glocaldirectorymonitor.c:
1520 * glocalfilemonitor.c:
1521 Avoid loading and unloading modules while sorting.
1523 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1526 * gunixmounts.[hc]: Namespace waste reduction, move some
1527 g_get_unix_mount functions to the g_unix_mount namespace.
1530 * gunixvolumemonitor.c:
1532 * glocaldirectorymonitor.c: Update all callers.
1534 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1536 2007-12-17 Alexander Larsson <alexl@redhat.com>
1539 Add doc comments about what GFile operations are
1540 guaranteed to not block.
1542 2007-12-17 Alexander Larsson <alexl@redhat.com>
1545 Add missing #ifdef fixing OSX build.
1546 (#503334, patch from Richard Hult)
1548 2007-12-14 David Zeuthen <davidz@redhat.com>
1552 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1553 (g_mount_eject), (g_mount_eject_finish):
1555 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1556 (get_volume_for_uuid), (get_mount_for_uuid),
1557 (g_union_volume_monitor_class_init),
1558 (get_default_native_type_with_exclude), (get_default_native_type),
1559 (get_native_type), (update_native_type),
1560 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1561 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1562 (g_unix_mount_can_eject), (eject_unmount_cb),
1563 (eject_unmount_read_error), (eject_unmount_do),
1564 (g_unix_mount_unmount), (g_unix_mount_eject),
1565 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1566 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1567 (g_unix_mount_point_guess_can_eject):
1569 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1570 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1571 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1572 (g_unix_volume_mount), (g_unix_volume_eject),
1573 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1574 * gunixvolumemonitor.c: (get_volume_for_uuid),
1575 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1577 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1578 (g_volume_eject), (g_volume_eject_finish):
1580 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1581 (g_volume_monitor_get_mount_for_uuid):
1584 Provide eject() on both GMount and GVolume and utility functions
1585 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1586 ejected. Introduce the concept of UUID's and wire it into GVolume
1587 and GMount and provide API on GVolumeMonitor to find such
1588 instances. Also handle the case where an external
1589 GNativeVolumeMonitor fails to initialize. Lock around the
1590 _g_get_mount_for_mount_path() function such that volume monitor
1591 implementations won't have to do locking themselves.
1593 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1595 * gdesktopappinfo.c:
1601 * gvolume.h: Documentation updates
1603 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1606 * gfile.h: Doc updates
1608 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1611 * gdesktopappinfo.c: Use hash table iterators.
1613 2007-12-14 Alexander Larsson <alexl@redhat.com>
1616 * gfileattribute.[ch]:
1617 * gfileattribute-priv.h:
1618 Move GFileAttributeValue to a private header, as
1622 Make set_attribute take a type + a pointer instead
1623 of a GFileAttributeValue.
1626 Fix up for above changes.
1627 Add g_file_info_get_attribute_data to get
1628 all info in one call, g_file_info_get_attribute_status
1629 to get the status and g_file_info_get_attribute_as_string.
1633 * glocalfileinfo.[ch]:
1637 Make _guess_type static.
1639 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1642 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1643 made mkenums and friends use temporary files to avoid leaving
1644 empty generated files on failure (#503470).
1646 2007-12-14 Alexander Larsson <alexl@redhat.com>
1648 * gmountoperation.h:
1651 2007-12-14 Alexander Larsson <alexl@redhat.com>
1655 * gfileattribute.[ch]:
1658 * glocalfileoutputstream.c:
1659 * gmountoperation.[ch]:
1660 * goutputstream.[ch]:
1661 Clean up all flags enums to not have _FLAGS in them
1662 Make the names of some of the enums better.
1667 2007-12-14 Michael Natterer <mitch@imendio.com>
1669 * gio.symbols: fix g_io_scheduler symbol names.
1671 2007-12-14 Alexander Larsson <alexl@redhat.com>
1677 * gbufferedinputstream.h:
1678 * gbufferedoutputstream.h:
1681 * gdatainputstream.h:
1682 * gdataoutputstream.h:
1683 * gdesktopappinfo.h:
1684 * gdirectorymonitor.h:
1688 * gfileenumerator.h:
1691 * gfileinputstream.h:
1693 * gfilenamecompleter.h:
1694 * gfileoutputstream.h:
1695 * gfilterinputstream.h:
1696 * gfilteroutputstream.h:
1704 * gmemoryinputstream.h:
1705 * gmemoryoutputstream.h:
1707 * gmountoperation.h:
1710 * gsimpleasyncresult.h:
1712 * gunixinputstream.h:
1714 * gunixoutputstream.h:
1718 * inotify/Makefile.am:
1719 Only allow including <gio/gio.h> from apps
1721 2007-12-14 Alexander Larsson <alexl@redhat.com>
1723 * gioscheduler.[ch]:
1724 * gsimpleasyncresult.c:
1725 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1726 Split out the send_to_mainloop call into two versions instead
1727 of having the block argument.
1729 2007-12-13 Alexander Larsson <alexl@redhat.com>
1731 * gcancellable.[ch]:
1733 * gbufferedinputstream.c:
1734 * gfileenumerator.c:
1735 * gfileinputstream.c:
1736 * gfileoutputstream.c:
1740 g_push/pop_current_cancellable ->
1741 g_cancellable_push/pop_current
1743 2007-12-13 Alexander Larsson <alexl@redhat.com>
1747 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1749 2007-12-13 Alexander Larsson <alexl@redhat.com>
1751 * gmountoperation.h:
1752 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1754 2007-12-12 Alexander Larsson <alexl@redhat.com>
1757 Fix race condition when freeing proxy in
1758 g_io_job_send_to_mainloop().
1760 2007-12-12 Alexander Larsson <alexl@redhat.com>
1766 Make attribute namespace separator "::" instead of ":".
1767 Use - instead of _ as separator in attribute names.
1769 2007-12-12 Alexander Larsson <alexl@redhat.com>
1771 * gbufferedinputstream.h:
1772 * gbufferedoutputstream.h:
1773 * gdatainputstream.h:
1774 * gdataoutputstream.h:
1775 * gdirectorymonitor.h:
1776 * gfileenumerator.h:
1777 * gfileinputstream.h:
1779 * gfileoutputstream.h:
1780 * gfilterinputstream.h:
1781 * gfilteroutputstream.h:
1783 * glocalfileinputstream.h:
1784 * glocalfileoutputstream.h:
1785 * gmemoryinputstream.h:
1786 * gmemoryoutputstream.h:
1787 * gnativevolumemonitor.h:
1789 * gunixinputstream.h:
1790 * gunixoutputstream.h:
1793 s/parent/parent_instance/ in GObjects
1795 2007-12-12 Alexander Larsson <alexl@redhat.com>
1800 No need for padding for interfaces
1802 2007-12-12 Alexander Larsson <alexl@redhat.com>
1806 * gbufferedinputstream.c:
1807 * gbufferedoutputstream.c:
1810 * gdatainputstream.[ch]:
1811 * gdesktopappinfo.c:
1812 * gdirectorymonitor.c:
1814 * gfileattribute.[ch]:
1817 * gfileinputstream.h:
1818 * gfilemonitor.[ch]:
1819 * gfileoutputstream.[ch]:
1820 * gfilterinputstream.h:
1821 * gfilteroutputstream.h:
1824 * gloadableicon.[ch]:
1825 * gmemoryinputstream.c:
1826 * gmountoperation.c:
1828 Fix up a bunch of details in the docs.
1833 2007-12-11 David Zeuthen <davidz@redhat.com>
1835 Rework how volumes, drives and volume monitoring is
1836 done. Previosly the model was
1838 GDrive <1-1> GVolume
1840 where a GDrive instance represented a mount point and a GVolume
1841 instance represented a mounted file system. This patch changes it
1844 GDrive <1-N> GVolume <1-1> GMount
1846 where GMount now serves the purpose of the old GVolume and the new
1847 GVolume serves the purpose of the old GDrive. In addition the new
1848 GDrive interface is used to represent a collection of GVolume
1849 instances (typically partitions) and also contains utility to query
1850 the state of the physical drive the GDrive object represents (such
1851 as checking for media, polling the drive, ejecting the media etc.).
1853 Also implement mounting and unmounting in the Unix volume monitor
1854 backend. A subquent patch will introduce GDrive support for ejection
1858 * gdrive.c: (g_drive_is_media_check_automatic),
1859 (g_drive_is_media_removable), (g_drive_has_media),
1860 (g_drive_can_poll_for_media), (g_drive_eject),
1861 (g_drive_eject_finish), (g_drive_poll_for_media),
1862 (g_drive_poll_for_media_finish):
1864 * gfile.c: (g_file_find_enclosing_mount):
1867 * glocaldirectorymonitor.c:
1868 (g_local_directory_monitor_constructor), (mounts_changed):
1869 * glocalfile.c: (get_mount_info),
1870 (g_local_file_find_enclosing_mount),
1871 (g_local_file_file_iface_init):
1872 * gnativevolumemonitor.h:
1873 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
1874 (get_connected_drives), (g_union_volume_monitor_class_init),
1875 (child_volume_added), (child_volume_removed),
1876 (child_volume_changed), (child_mount_added), (child_mount_removed),
1877 (child_mount_pre_unmount), (child_mount_changed),
1878 (child_drive_changed), (g_union_volume_monitor_add_monitor),
1879 (g_union_volume_monitor_remove_monitor),
1880 (_g_mount_get_for_mount_path):
1881 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
1882 (guess_system_internal), (_g_get_unix_mounts),
1883 (_g_get_unix_mount_points), (g_get_unix_mount_at),
1884 (g_unix_mount_free), (g_unix_mount_compare),
1885 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
1886 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
1887 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
1888 (type_to_icon), (g_unix_mount_guess_name),
1889 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
1890 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
1891 (_resolve_symlink), (_resolve_dev_root):
1893 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
1894 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
1895 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
1896 (g_unix_volume_get_name), (g_unix_volume_can_mount),
1897 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
1898 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
1899 (g_unix_volume_mount), (g_unix_volume_mount_finish),
1900 (g_unix_volume_volume_iface_init):
1902 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
1903 (get_mounts), (get_volumes), (get_connected_drives),
1904 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
1905 (mountpoints_changed), (mounts_changed),
1906 (g_unix_volume_monitor_init),
1907 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
1908 (find_mount_by_mountpath), (update_volumes), (update_mounts):
1909 * gunixvolumemonitor.h:
1910 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
1911 (g_volume_mount), (g_volume_mount_finish):
1913 * gvolumemonitor.c: (g_volume_monitor_class_init),
1914 (g_volume_monitor_get_connected_drives),
1915 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
1918 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1920 * gmountoperation.h (GPasswordFlags): Close the gap
1922 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1924 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
1926 * gdesktopappinfo.[hc]: Remove _-prefixes
1928 2007-12-10 Tor Lillqvist <tml@novell.com>
1930 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
1933 2007-12-10 Alexander Larsson <alexl@redhat.com>
1935 * gfile.c (g_file_set_display_name):
1936 Don't hardcode '/' (#502727)
1938 2007-12-09 Hans Breuer <hans@breuer.org>
1940 * makefile.msc : follow lib naming convention
1941 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
1942 for user and group name, tested with ../tests/gio-ls
1944 2007-12-09 A. Walton <awalton@svn.gnome.org>
1946 * gdesktopappinfo.c:
1952 * gfileenumerator.c:
1957 * gmemoryinputstream.c:
1958 * gmemoryoutputstream.c:
1960 * gsimpleasyncresult.c:
1961 More documentation cleanup and filling in missing information, bringing
1962 GIO to 99% symbol coverage.
1964 2007-12-08 Hans Breuer <hans@breuer.org>
1966 [gio compiles and links on win32, not sure how much already works]
1967 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
1968 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
1969 base on win32 API; prefer g_lstat() over lstat(); instead of
1970 localtime_r() use an all GLib implementation on win32;
1971 get_mount_info() still needs a win32 specifc implementation
1972 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
1973 win32_get_file_user_info to get owner/group info without uid/gid
1974 * glocalfileinputstream.c : include <io.h> on win32
1975 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
1976 definition, use g_win32_ftruncate() for G_OS_WIN32
1977 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
1978 it is available with mingw/w32api but a mess with the M$ Platform SDKs
1979 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
1980 * makefile.msc : updated
1982 2007-12-07 Alexander Larsson <alexl@redhat.com>
1984 * glocalfileenumerator.c (_g_local_file_enumerator_new):
1985 Avoid warning spew if error == NULL
1987 2007-12-07 Alexander Larsson <alexl@redhat.com>
1990 Update docs wrt etags
1992 2007-12-06 Alexander Larsson <alexl@redhat.com>
1995 Include sys/types.h for dev_t (#501919)
1997 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2001 Make abicheck and pltcheck pass.
2003 2007-12-05 Alexander Larsson <alexl@redhat.com>
2006 * giomodule-priv.h: Added.
2007 * glocaldirectorymonitor.c:
2008 * glocalfilemonitor.c:
2009 * gunionvolumemonitor.c:
2011 Actually add the declaration of _g_io_modules_ensure_loaded
2013 2007-12-05 Alexander Larsson <alexl@redhat.com>
2015 * gdatainputstream.c:
2020 * glocaldirectorymonitor.c:
2021 * glocalfilemonitor.c:
2022 * gunionvolumemonitor.c:
2024 Make g_io_modules_ensure_loaded a private function and
2025 don't pass in the dirname. This means we can do magic
2026 directory finding in the win32 version.
2027 Export the actual load-modules-in-directory code so that
2028 gvfs can reuse that.
2030 2007-12-05 Alexander Larsson <alexl@redhat.com>
2032 * gbufferedinputstream.c:
2033 * gbufferedoutputstream.c:
2036 * gfileenumerator.[ch]:
2037 * gfileinputstream.c:
2038 * gfileoutputstream.[ch]:
2039 * gfilterinputstream.c:
2040 * gfilteroutputstream.c:
2041 * ginputstream.[ch]:
2043 * glocalfileenumerator.c:
2044 * glocalfileinputstream.c:
2045 * glocalfileoutputstream.c:
2046 * gmemoryinputstream.c:
2047 * gmemoryoutputstream.c:
2048 * goutputstream.[ch]:
2051 * gunixinputstream.c:
2052 * gunixoutputstream.c:
2053 Rename all struct members named:
2054 read, write, close, truncate, or mount
2055 to foo_fn, as these are reserved names
2056 and could be defined as macros in libc.
2059 2007-12-04 Alexander Larsson <alexl@redhat.com>
2062 (g_output_stream_close):
2063 Only call flush if non-null.
2065 2007-11-30 Dan Winship <danw@gnome.org>
2067 * ginputstream.c (g_input_stream_set_pending): Make this take a
2068 GError and return a gboolean, and do the "outstanding operation"
2069 check (and the "stream is already closed" check) itself.
2070 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2072 * goutputstream.c (g_output_stream_set_pending)
2073 (g_output_stream_clear_pending): Likewise
2075 * gbufferedinputstream.c:
2076 * gfileinputstream.c:
2077 * gfileoutputstream.c: Update for that
2079 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2080 Like g_simple_async_report_error_in_idle, but takes a GError
2081 rather than building one.
2083 2007-11-30 Dan Winship <danw@gnome.org>
2085 * goutputstream.c: Don't cheat and unset the "pending" flag around
2086 inner calls. Instead, call the class method directly rather than
2087 the wrapper function that checks "pending"
2089 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2091 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2093 2007-12-03 Hans Breuer <hans@breuer.org>
2095 [start of port to win32/msvc]
2096 * gcancellable.c : HAVE_UNIST_H and _pipe()
2097 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2098 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2099 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2101 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2102 * glocalvfs.c : use HAVE_PWD_H
2103 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2104 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2105 * Makefile.am : added to EXTRA_DIST
2107 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2109 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2112 2007-12-03 Alexander Larsson <alexl@redhat.com>
2115 Handle OSX style xattrs API (#500506)
2117 2007-12-03 Alexander Larsson <alexl@redhat.com>
2121 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2123 2007-12-02 A. Walton <awalton@svn.gnome.org>
2127 Documentation accuracy fixes.
2129 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2131 * gioenumtypes.c.template: Fix typo.
2133 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2135 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2137 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2139 * gdirectorymonitor.c:
2140 * gfilemonitor.c: Add properties
2142 * gbufferedoutputstream.c: Don't mark buffer-size property
2145 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2147 * gbufferedoutputstream.c: Add auto-grow property.
2149 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2151 * *.c: Unify the capitalization of section headings.
2153 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2155 * gmountoperation.c: Add properties
2157 * gdatainputstream.c: Turn byte-order and newline-type into
2160 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2162 * gioenumtypes.[hc].template: Templates for enum registration
2164 * Makefile.am: Generate gioenumtypes.[hc]
2166 * gio.h: Include gioenumtypes.h
2168 * gfile.h: Add some explicit nicks.
2170 * gio.symbols: Add new symbols
2172 * pltcheck.sh: Adjust
2174 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2176 * *.c: Explain etags and link to the explanation
2178 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2180 * *.c: Explain I/O priority.
2182 * *.c: More coding style fixes.
2184 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2186 * gasyncresult.c: Add another paragraph to the intro,
2187 adjust coding style of example.
2189 2007-11-29 A. Walton <awalton@svn.gnome.org>
2192 Fixes unknown meaning in GAppLaunchContext docs.
2194 Clarify asynchronous ops.
2196 Fix entity tag docs.
2199 Provides missing gtk-doc section, fixes API docs slighly.
2200 * gsimpleasyncresult.c:
2201 Fill in missing info in docs.
2202 * gunixinputstream.c:
2203 * gunixoutputstream.c:
2204 Be more expressive in short description.
2206 Remove gtk-doc stubs for non-public API.
2208 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2210 * *.c: Coding style fixups
2212 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2214 * inotify/inotify-helper.c: Don't export the lock from libgio.
2216 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2219 * abicheck.sh: Fix copy-and-paste leftovers
2221 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2223 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2225 2007-11-28 Alexander Larsson <alexl@redhat.com>
2229 Removed unnecessary file
2231 * gdesktopappinfo.[ch]:
2234 * glocaldirectorymonitor.[ch]:
2236 * glocalfileenumerator.[ch]:
2237 * glocalfileinputstream.[ch]:
2238 * glocalfilemonitor.[ch]:
2239 * glocalfileoutputstream.[ch]:
2241 * gnativevolumemonitor.c:
2242 * gpollfilemonitor.[ch]:
2243 * gunionvolumemonitor.[ch]:
2246 * gunixvolumemonitor.[ch]:
2249 * inotify/ginotifydirectorymonitor.[ch]:
2250 * inotify/ginotifyfilemonitor.[ch]:
2251 * inotify/inotify-helper.c:
2252 Append _ to all internal functions
2256 Export symbols needed for modules
2258 2007-11-28 Alexander Larsson <alexl@redhat.com>
2261 * abicheck.sh: Added.
2262 * makegioalias.pl: Added.
2263 * pltcheck.sh: Added.
2264 * gio.symbols: Added.
2267 Initial work on adding symbol handling.
2270 Correct ifdef guard name
2273 * inotify/Makefile.am:
2274 * xdgmime/Makefile.am:
2275 Include toplevel Makefile.decl
2277 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2279 * gcontenttype.c: Move doc comments to the unix section.
2281 * *.[hc]: More trivial doc corrections.
2283 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2285 * gpollfilemonitor.c:
2289 * gdesktopappinfo.c:
2294 * gdatainputstream.c:
2295 * gdatainputstream.h:
2296 * gdataoutputstream.c:
2297 * gdataoutputstream.h:
2298 * gfileinfo.h: Doc cleanups
2300 2007-11-28 Andre Klapper <a9016009@gmx.de>
2302 * gdesktopappinfo.c: Fix a typo.
2304 2007-11-27 Andre Klapper <a9016009@gmx.de>
2306 * glocalfileoutputstream.c: Fix a typo.
2308 2007-11-27 Alexander Larsson <alexl@redhat.com>
2311 Don't include removed headers
2313 2007-11-27 Alexander Larsson <alexl@redhat.com>
2316 * gsocketinputstream.[ch]: Removed.
2317 * gsocketoutputstream.[ch]: Removed.
2318 * gunixinputstream.[ch]: Added.
2319 * gunixoutputstream.[ch]: Added.
2320 Renamed GSocket*Stream to GUnix*Stream and made
2321 it unix-only, since its not really only for sockets
2322 and it only works on unix (but is highly useful there).
2324 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2330 * gbufferedinputstream.c:
2331 * gbufferedinputstream.h:
2332 * gbufferedoutputstream.c:
2333 * gbufferedoutputstream.h:
2337 * gdatainputstream.c:
2338 * gdatainputstream.h:
2339 * gdataoutputstream.c:
2340 * gdataoutputstream.h:
2341 * gdirectorymonitor.c:
2342 * gdirectorymonitor.h:
2349 * gfileenumerator.c:
2350 * gfileenumerator.h:
2355 * gfileinputstream.c:
2356 * gfileinputstream.h:
2359 * gfilenamecompleter.c:
2360 * gfilenamecompleter.h:
2361 * gfileoutputstream.c:
2362 * gfileoutputstream.h:
2363 * gfilterinputstream.c:
2364 * gfilterinputstream.h:
2365 * gfilteroutputstream.c:
2366 * gfilteroutputstream.h:
2379 * glocalfileoutputstream.c:
2380 * gmemoryinputstream.c:
2381 * gmemoryinputstream.h:
2382 * gmemoryoutputstream.c:
2383 * gmemoryoutputstream.h:
2384 * gmountoperation.c:
2385 * gmountoperation.h:
2388 * gpollfilemonitor.c:
2391 * gsimpleasyncresult.c:
2392 * gsimpleasyncresult.h:
2393 * gsocketinputstream.c:
2394 * gsocketinputstream.h:
2395 * gsocketoutputstream.c:
2396 * gsocketoutputstream.h:
2403 * gunixvolumemonitor.c:
2412 Bumps documentation to 93% symbol coverage, touching most
2413 of the public files. Fixes broken function documentation prototypes.
2414 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2415 gtk-doc headers in private files.
2417 2007-11-27 JĂ¼rg Billeter <j@bitron.ch>
2419 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2420 (g_buffered_input_stream_read_byte):
2421 * gbufferedinputstream.h:
2422 New functions for efficient access to buffer and simple single byte
2425 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2426 (g_data_input_stream_read_until):
2427 * gdatainputstream.h:
2428 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2429 read_until with multiple stop chars.
2431 2007-11-27 Alexander Larsson <alexl@redhat.com>
2435 * inotify/Makefile.am:
2436 Use the user-specified giomoduledir
2438 2007-11-27 Alexander Larsson <alexl@redhat.com>
2442 Add catch-all gio.h header
2443 Don't install gdummyfile.h
2445 2007-11-26 Alexander Larsson <alexl@redhat.com>
2447 * Makefile.am (gioinclude_HEADERS):
2448 Remove trailing whitespace
2450 2007-11-26 Alexander Larsson <alexl@redhat.com>
2452 Merge gio-standalone into glib
2454 2007-11-25 Christian Kellner <gicmo@gnome.org>
2456 * gio/goutputstream.c:
2457 Fix small mistake in the docs.
2459 2007-11-21 Christian Persch <chpe@gnome.org>
2461 * gio/glocalfile.c: (g_local_file_trash):
2462 Convert filenames to UTF-8 for GError.
2463 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2464 as per xdg base dir spec.
2466 2007-11-21 Christian Persch <chpe@gnome.org>
2468 * gio/gdesktopappinfo.c:
2469 Use that g_key_file_to_data cannot fail.
2471 Use stock defines for the key file group and key names.
2474 2007-11-21 Alexander Larsson <alexl@redhat.com>
2477 (copy_stream_with_progress):
2478 Make sure we do a final progress callback with
2479 the full total size.
2481 2007-11-21 Alexander Larsson <alexl@redhat.com>
2484 Export g_file_copy_attributes
2485 Remove padding as its not needed for interfaces
2487 2007-11-20 Alexander Larsson <alexl@redhat.com>
2492 Add G_IO_ERROR_WOULD_MERGE for
2493 copy/move dir on dir with overwrite.
2495 2007-11-20 Alexander Larsson <alexl@redhat.com>
2498 * gio/glocalfileinfo.c:
2499 Add COPY_NAME (this is an optional
2500 non-modified utf8 version of the name) that
2503 2007-11-20 Alexander Larsson <alexl@redhat.com>
2505 * gio/glocalfileenumerator.c:
2506 Report errors as GIOError, not GFileError
2508 2007-11-16 Alexander Larsson <alexl@redhat.com>
2510 * gio/glocalfileoutputstream.c:
2511 * gio/gwin32appinfo.c:
2512 Fix typos in strings.
2513 Patch from Luca Ferretti <elle.uca@libero.it>
2515 2007-11-15 Alexander Larsson <alexl@redhat.com>
2518 Post release version bump
2520 === gio-standalone 0.1.2 ===
2522 2007-11-15 Alexander Larsson <alexl@redhat.com>
2524 * docs/reference/gio/Makefile.am:
2525 Fix up distcheck by removing weird
2531 2007-11-14 Alexander Larsson <alexl@redhat.com>
2533 * gio/gdesktopappinfo.c:
2534 * gio/glocaldirectorymonitor.c:
2536 * gio/glocalfileinfo.c:
2537 * gio/inotify/inotify-sub.c:
2538 * programs/gio-cat.c:
2539 * programs/gio-copy.c:
2540 * programs/gio-info.c:
2541 * programs/gio-ls.c:
2542 * programs/gio-monitor-dir.c:
2543 * programs/gio-monitor-file.c:
2544 * programs/gio-mount.c:
2545 * programs/gio-move.c:
2546 * programs/gio-rm.c:
2547 * programs/gio-save.c:
2548 * programs/gio-trash.c:
2549 Leak fixes from Kjartan Maraas
2551 2007-11-14 Alexander Larsson <alexl@redhat.com>
2553 * gio/fam/fam-helper.c:
2555 * gio/glocalfileinfo.c:
2559 * gio/inotify/inotify-diag.c:
2560 * gio/inotify/inotify-kernel.c:
2561 Various code cleanups from Kjartan Maraas
2563 2007-11-14 Alexander Larsson <alexl@redhat.com>
2565 * gio/gioscheduler.c:
2567 Set up threadpool so that we cache 2 unused
2568 idle threads for at 15 secs. This means we
2569 will reuse thread-local data (like dbus connections)
2572 2007-11-14 Alexander Larsson <alexl@redhat.com>
2574 * gio/fam/fam-helper.c:
2575 * gio/fam/gfamdirectorymonitor.c:
2576 * gio/fam/gfamfilemonitor.c:
2578 * gio/gcontenttype.c:
2579 * gio/gdatainputstream.c:
2580 * gio/gdataoutputstream.c:
2584 * gio/gfileattribute.h:
2585 * gio/gfileenumerator.c:
2587 * gio/ginputstream.c:
2590 * gio/glocalfileinfo.c:
2591 * gio/goutputstream.c:
2592 * gio/gpollfilemonitor.c:
2593 * gio/gsimpleasyncresult.c:
2594 * gio/gunixmounts.c:
2595 * gio/gunixmounts.h:
2596 * gio/inotify/ginotifydirectorymonitor.c:
2597 * gio/inotify/ginotifyfilemonitor.c:
2598 * gio/inotify/inotify-diag.c:
2599 * gio/inotify/inotify-kernel.c:
2600 * gio/inotify/inotify-path.c:
2602 * gio/test-streams.c:
2603 * programs/gio-info.c:
2604 * programs/gio-monitor-dir.c:
2605 * programs/gio-monitor-file.c:
2606 Various code cleanups from Kjartan Maraas
2608 2007-11-13 Alexander Larsson <alexl@redhat.com>
2611 Handle the uri-scheme calls for dummy files
2613 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2615 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2616 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2617 to avoid clash with the C++ keyword.
2619 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2621 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2622 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2624 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2626 * gio/glocaldirectorymonitor.c:
2627 * gio/glocalfilemonitor.c:
2628 * gio/gunionvolumemonitor.c:
2629 Don't use g_once_init_*() for initializations that could fail and
2630 could leave the initialization variable set to 0 but use GOnce.
2631 This prevents a deadlock on the second call when trying to create
2632 a monitor and no monitor type is available. Thanks to Sven Herzberg
2635 2007-11-11 Sven Herzberg <sven@imendio.com>
2637 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2638 #ifdef (make it work on MacOS X again)
2640 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2642 Fixes Changelog for last two commits (sorry guys).
2644 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2646 * gio/gbufferedinputstream.c:
2647 * gio/gdatainputstream.c:
2649 * gio/gfileoutputstream.c:
2650 * gio/gfilterinputstream.c:
2651 * gio/glocalfileinputstream.c:
2654 More consistency fixes in g*stream.c files.
2655 Significant clean of gfile's documentation, filling in of
2656 asynchronous operations documentation.
2658 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2660 * gio/gasyncresult.c:
2661 * gio/gbufferedinputstream.c:
2662 * gio/gbufferedoutputstream.c:
2663 * gio/gcancellable.c:
2664 * gio/gcontenttype.c:
2665 * gio/gdatainputstream.c:
2666 * gio/gdataoutputstream.c:
2667 * gio/gdesktopappinfo.c:
2670 * gio/gfileattribute.c:
2671 * gio/gio/gfileenumerator.c:
2673 * gio/gfileinputstream.c:
2674 * gio/gfilemonitor.c:
2675 * gio/gfileoutputstream.c:
2676 * gio/ginputstream.c:
2678 * gio/gioscheduler.c:
2679 * gio/gloadableicon.c:
2680 * gio/glocalfileoutputstream.c:
2681 * gio/gmemoryoutputstream.c:
2682 * gio/gmountoperation.c:
2683 * gio/goutputstream.c:
2685 * gio/gsimpleasyncresult.c:
2686 * gio/gunionvolumemonitor.c:
2687 * gio/gunixmounts.c:
2688 * gio/gunixvolume.c:
2692 * gio/gvolumemonitor.c:
2693 Updated documentation stubs, working towards consistency and
2696 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2698 * gio/gmemoryoutputstream.c:
2699 * gio/gmemoryoutputstream.h:
2700 Change g_memory_output_stream_set_free_on_close() to
2701 g_memory_output_stream_set_free_data() as this makes more sense and
2702 is more consistent with GMemoryInputStream.
2704 2007-11-07 Alexander Larsson <alexl@redhat.com>
2711 Change how we find the default vfs so that
2712 we can handle a gvfs failing to init
2714 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2716 * gio/gbufferedoutputstream.c:
2717 * gio/gdatainputstream.c:
2718 * gio/gdataoutputstream.c:
2719 * gio/gfileinputstream.c:
2720 * gio/gfileoutputstream.c:
2721 * gio/gfilterinputstream.c:
2722 * gio/gfilteroutputstream.c:
2723 * gio/ginputstream.c:
2724 * gio/gmemoryinputstream.c:
2725 * gio/gmemoryoutputstream.c:
2726 * gio/goutputstream.c:
2727 * gio/gsimpleasyncresult.c:
2728 * gio/gsocketinputstream.c:
2729 * gio/gsocketoutputstream.c:
2730 Add guards to the remaining public functions, add a TODO for
2731 an unimplemented function and remove some useless guards.
2733 2007-11-07 Alexander Larsson <alexl@redhat.com>
2736 Autoconf checks for the various types of
2737 getpwuid_r and getgrgid_r
2739 * gio/glocalfileinfo.c:
2740 Use the autoconf checks from above
2742 2007-11-07 Alexander Larsson <alexl@redhat.com>
2745 (g_local_file_query_filesystem_info):
2746 Some fixes for the statvfs case
2748 2007-11-07 Alexander Larsson <alexl@redhat.com>
2751 (g_local_file_query_filesystem_info):
2752 Pick the "best" of statfs / statvfs for the system
2753 if both are availible.
2755 2007-11-07 Alexander Larsson <alexl@redhat.com>
2757 Solaris fixes from Halton.Huo@Sun.COM:
2764 * gio/glocalfileinfo.c:
2765 Fix for solaris definition of getpwuid_r
2767 * gio/test-streams.c:
2768 Use G_GNUC_PRETTY_FUNCTION
2770 2007-11-07 Alexander Larsson <alexl@redhat.com>
2772 * gio/gdesktopappinfo.c:
2773 (update_default_list):
2774 Remove double semicolon.
2775 Patch from Jens Granseuer
2777 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2779 * docs/reference/gio/gio-sections.txt:
2780 * gio/gbufferedinputstream.c:
2781 * gio/gbufferedinputstream.h:
2782 * gio/gdatainputstream.c:
2783 * gio/gfileenumerator.c:
2784 * gio/gioscheduler.c:
2785 * gio/gunionvolumemonitor.c:
2787 * programs/gio-save.c:
2788 Fix typo: availible -> available. Unfortuntely this breaks API
2789 and ABI as g_buffered_input_stream_get_available() was renamed.
2791 * gio/gunixmounts.c:
2792 * gio/gbufferedinputstream.c:
2793 Add guards for public functions.
2795 2007-11-06 Ross Burton <ross@openedhand.com>
2797 * docs/reference/gio/Makefile.am:
2798 Fix invalid += usage which automake 1.10 doesn't like.
2800 2007-11-06 Alexander Larsson <alexl@redhat.com>
2803 (g_app_launch_context_class_init):
2806 Patch from Ross Burton
2808 2007-11-06 Alexander Larsson <alexl@redhat.com>
2811 Post release version bump
2813 === gio-standalone 0.1.1 ===
2815 2007-11-06 Alexander Larsson <alexl@redhat.com>
2818 Bump version to 0.1.1
2820 * gio/gsimpleasyncresult.c:
2821 (g_simple_async_result_set_from_error):
2822 Remove bogus g_return_if_fail
2824 2007-11-06 Alexander Larsson <alexl@redhat.com>
2827 The name is gio-standalone
2830 Add top src/builddir to includedir
2832 2007-11-06 Alexander Larsson <alexl@redhat.com>
2834 * docs/reference/gio/gio-sections.txt:
2836 * gio/gbufferedinputstream.c:
2837 * gio/gbufferedoutputstream.c:
2838 * gio/gcancellable.c:
2839 * gio/gdatainputstream.h:
2840 * gio/gdataoutputstream.c:
2841 * gio/gdataoutputstream.h:
2842 * gio/gdirectorymonitor.c:
2844 * gio/gfileattribute.c:
2845 * gio/gfileattribute.h:
2846 * gio/gfileenumerator.c:
2847 * gio/gfileenumerator.h:
2850 * gio/gfileinputstream.h:
2851 * gio/gfilemonitor.c:
2852 * gio/gfileoutputstream.h:
2853 * gio/glocalfilemonitor.h:
2854 * gio/glocalfileoutputstream.h:
2855 * gio/gmemoryinputstream.c:
2856 * gio/gmemoryoutputstream.c:
2857 * gio/gmountoperation.c:
2858 * gio/goutputstream.c:
2859 * gio/goutputstream.h:
2861 * gio/gsimpleasyncresult.c:
2862 * gio/gunixmounts.c:
2863 * gio/gunixmounts.h:
2865 * gio/inotify/inotify-helper.c:
2866 Fix gtk-doc warnings
2868 Patch from Ross Burton
2870 2007-11-06 Alexander Larsson <alexl@redhat.com>
2872 * gio/gfilenamecompleter.c:
2873 (g_filename_completer_get_completions):
2876 * gio/gunixvolume.c:
2877 Remove unused function
2879 Patches from Ross Burton
2881 2007-11-06 Alexander Larsson <alexl@redhat.com>
2886 Padding not needed for interfaces
2888 2007-11-06 Alexander Larsson <alexl@redhat.com>
2890 * gio/gfilemonitor.c:
2894 Make giotypes.h an internal file
2897 * gio/gbufferedinputstream.h:
2898 * gio/gbufferedoutputstream.h:
2899 * gio/gcancellable.h:
2900 * gio/gdatainputstream.h:
2901 * gio/gdataoutputstream.h:
2902 * gio/gdirectorymonitor.c:
2903 * gio/gdirectorymonitor.h:
2908 * gio/gfileattribute.h:
2909 * gio/gfileenumerator.h:
2914 * gio/gfilemonitor.c:
2915 * gio/gfilemonitor.h:
2916 * gio/gfilenamecompleter.c:
2917 * gio/gfilenamecompleter.h:
2918 * gio/gfilterinputstream.h:
2919 * gio/gfilteroutputstream.h:
2920 * gio/ginputstream.h:
2921 * gio/gmemoryinputstream.h:
2922 * gio/gmemoryoutputstream.h:
2923 * gio/gmountoperation.c:
2924 * gio/gmountoperation.h:
2925 * gio/gnativevolumemonitor.c:
2926 * gio/goutputstream.h:
2929 * gio/gsimpleasyncresult.c:
2930 * gio/gsimpleasyncresult.h:
2931 * gio/gsocketinputstream.h:
2932 * gio/gsocketoutputstream.h:
2933 * gio/gthemedicon.c:
2934 * gio/gthemedicon.h:
2938 * gio/gvolumemonitor.c:
2939 * gio/gvolumemonitor.h:
2940 Add padding in classes where it seems useful
2941 Don't include giotypes.h from public headers
2942 Move in Class definitions into c file where possible
2947 2007-11-06 Alexander Larsson <alexl@redhat.com>
2949 * docs/reference/gio/gio-docs.xml:
2950 Better structure for API docs
2952 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2955 * gio/gloadableicon.c:
2956 * gio/gsimpleasyncresult.c:
2957 * gio/gthemedicon.c:
2958 Add some more guards to public functions. Only files missing are now
2961 2007-11-06 Alexander Larsson <alexl@redhat.com>
2963 * docs/reference/gio/gio-docs.xml:
2964 Remove old files, add missing ones
2966 2007-11-06 Alexander Larsson <alexl@redhat.com>
2968 * docs/reference/gio/gio-sections.txt:
2971 Hide implementation classes
2973 * gio/gdriveprivate.h:
2974 * gio/gvolumeprivate.h:
2975 Remove non-existing function declarations
2977 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2980 Fix compilation warnings and add guards to the new functions.
2982 * gio/gasyncresult.c:
2984 Add guards to the public functions.
2987 Implement get_path().
2989 2007-11-06 Alexander Larsson <alexl@redhat.com>
2991 * gio/gfilenamecompleter.c:
2992 Make g_filename_completer_get_completions
2993 return char ** instead of GList for
2996 * docs/reference/gio/gio-docs.xml:
2997 * docs/reference/gio/gio-sections.txt:
2999 * gio/gasyncresult.c:
3000 * gio/gbufferedinputstream.c:
3001 * gio/gbufferedoutputstream.c:
3002 * gio/gcancellable.c:
3003 * gio/gcontenttype.c:
3004 * gio/gdatainputstream.c:
3005 * gio/gdataoutputstream.c:
3006 * gio/gdesktopappinfo.c:
3007 * gio/gdirectorymonitor.c:
3011 * gio/gfileattribute.c:
3012 * gio/gfileenumerator.c:
3015 * gio/gfileinputstream.c:
3016 * gio/gfilemonitor.c:
3017 * gio/gfilenamecompleter.c:
3018 * gio/gfilenamecompleter.h:
3019 * gio/gfileoutputstream.c:
3020 * gio/gfilterinputstream.c:
3022 * gio/ginputstream.c:
3024 * gio/gioscheduler.c:
3025 * gio/gloadableicon.c:
3026 * gio/glocaldirectorymonitor.c:
3028 * gio/glocalfileinputstream.c:
3029 * gio/glocalfilemonitor.c:
3030 * gio/glocalfileoutputstream.c:
3032 * gio/gmemoryinputstream.c:
3033 * gio/gmemoryoutputstream.c:
3034 * gio/gmountoperation.c:
3035 * gio/goutputstream.c:
3036 * gio/gpollfilemonitor.c:
3038 * gio/gsimpleasyncresult.c:
3039 * gio/gsocketinputstream.c:
3040 * gio/gsocketoutputstream.c:
3041 * gio/gthemedicon.c:
3042 * gio/gunionvolumemonitor.c:
3044 * gio/gunixmounts.c:
3045 * gio/gunixvolume.c:
3046 * gio/gunixvolumemonitor.c:
3050 * gio/gvolumemonitor.c:
3051 * gio/gwin32appinfo.c:
3052 Add (mostly stub) doc strings to public functions.
3053 Patch from Andrew Walton (awalton@gmail.com)
3055 2007-11-06 Alexander Larsson <alexl@redhat.com>
3057 * gio/gappinfo.[ch]:
3058 Added GAppLaunchContext object and pass that to launch.
3059 This allows simple implementation of both
3060 launch-on-screen and startup notification via a gtk+
3061 subclass of GAppLaunchContext
3063 * gio/gdesktopappinfo.c:
3064 Implement GAppLaunchContext API
3066 * gio/gwin32appinfo.c:
3069 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3071 * gio/gmountoperation.c:
3072 Add some guards to GMountOperation's public functions.
3074 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3078 * gio/gcancellable.c:
3079 * gio/gdirectorymonitor.c:
3081 * gio/gfileenumerator.c:
3082 * gio/gfilemonitor.c:,
3083 * gio/gfilenamecompleter.c:
3086 * gio/gioscheduler.c:
3090 * gio/gvolumemonitor.c:
3091 Add even more guards to various public functions.
3093 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3096 Add guards to the public functions of GAppInfo.
3098 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3100 * gio/gcontenttype.c:
3101 Add some more guards for public functions.
3103 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3105 * gio/fam/fam-module.c:
3106 * gio/fam/gfamdirectorymonitor.c:
3107 * gio/fam/gfamdirectorymonitor.h:
3108 * gio/fam/gfamfilemonitor.c:
3109 * gio/fam/gfamfilemonitor.h:
3110 * gio/inotify/ginotifydirectorymonitor.c:
3111 * gio/inotify/ginotifydirectorymonitor.h:
3112 * gio/inotify/ginotifyfilemonitor.c:
3113 * gio/inotify/ginotifyfilemonitor.h:
3114 Add proper copyright information and remove an unused variable
3115 in the GInotifyFileMonitor constructor.
3117 * gio/gcancellable.c:
3118 Add a guard for a public function and an assertion to prevent
3119 an undefined program state.
3121 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3123 * gio/gfileattribute.c:
3124 Don't run into an assertion if the given attribute value is NULL
3125 in g_file_attribute_value_get_*() but instead return a fallback
3126 value that makes sense in most situations. Passing them a attribute
3127 value with the wrong type will still run into an assertion.
3129 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3131 * gio/gfileattribute.c:
3133 Add even more guards to the public functions. Also fix the refcounting
3134 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3135 let g_file_info_list_attributes() filter the attributes by namespace
3136 instead of simply ignoring the namespace parameter.
3138 2007-11-03 Sven Herzberg <sven@imendio.com>
3140 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3141 (This makes gio work on MacOS X again)
3143 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3146 Build the gio subdirectory before the docs. Otherwise the build will
3149 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3150 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3151 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3152 Add guards to the public functions.
3154 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3156 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3157 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3158 to prevent a compiler warning.
3160 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3161 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3162 return something in the non-void function find_topdir_for().
3164 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3171 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3173 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3174 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3175 * gwin32appinfo.c (g_win32_app_info_launch):
3176 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3177 envp_for_startup_id, g_desktop_app_info_launch,
3178 g_desktop_app_info_launch_uris):
3180 Give an opaque 'startup_id' string instead of 'envp'.
3181 Support empty file lists for launching new windows.
3182 Fix infinite recursion bug when launching URIs.
3184 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3187 Add guard to the new g_file_get_uri_scheme() function.
3189 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3192 Convert a g_return_val_if_fail() to setting the GError instead as
3193 otherwise applications have to verify the parameter before otherwise
3194 and the parameter might come directly from the user.
3196 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3198 * gio/inotify/ginotify*.[ch]:
3199 Add missing copyright information.
3201 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3204 Add guards in the beginning of public functions to check for valid
3205 parameters and fix a bug in copy_stream_with_progress() that could've
3206 caused writing less bytes than reading.
3207 * gio/glocalfileinfo.c:
3208 Check for a NULL parameter and set the GError accordingly then.
3209 * gio/goutputstream.c:
3210 Fix the same bug as in gfile.c that could've caused writing less bytes
3211 than reading in g_output_stream_real_splice().
3213 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3216 Use the correct gvolumeprivate.h naming
3218 2007-11-01 Christian Kellner <gicmo@gnome.org>
3221 Remove leftover "$(daemon_sources)" entry.
3223 2007-11-01 Christian Kellner <gicmo@gnome.org>
3228 Add copyright information to source files.
3230 2007-11-01 Alexander Larsson <alexl@redhat.com>
3234 Add g_file_get_uri_scheme
3236 2007-11-01 Alexander Larsson <alexl@redhat.com>
3239 * gio/gdesktopappinfo.c:
3240 * gio/gwin32appinfo.c:
3241 Add g_app_info_get_default_for_uri_scheme.
3243 2007-11-01 Alexander Larsson <alexl@redhat.com>
3246 Correct filename for gdriveprivate.h
3248 2007-10-31 Alexander Larsson <alexl@redhat.com>
3251 Rename id:value to id:file
3254 * gio/glocalfileinfo.c:
3257 2007-10-31 Alexander Larsson <alexl@redhat.com>
3259 * gio/gunixvolume.c:
3261 Remove g_volume_get_platform_id, as thats not
3262 needed with the simpler union volume monitor
3264 2007-10-31 Alexander Larsson <alexl@redhat.com>
3267 * gio/guniondrive.[ch]: Removed.
3268 * gio/gunionvolume.[ch]: Removed.
3269 Remove GUnionDrive/Volume
3271 * gio/gunionvolumemonitor.c:
3272 Simplify union volume monitor, now we
3273 only have one native volume monitor and
3274 we use the actual volumes/drives from the
3275 child monitors instead of wrapping them
3277 * gio/gnativevolumemonitor.[ch]:
3278 Base class for native volume monitors.
3279 Includes priority and get_volume_for_mountpoint
3282 Add g_file_find_enclosing_volume
3285 Remove volume name fs attribute
3286 Add readonly fs attribute
3289 Implement readonly attribute
3290 remove volume name attribute
3291 Implement find_enclosing volume
3293 * gio/gunixmounts.c:
3294 Add a volume for "/".
3296 * gio/gunixvolume.[ch]:
3297 Set better name for /
3299 * gio/gunixvolumemonitor.[ch]:
3300 Derive from GNativeVolumeMonitor
3301 Implement get_volume_for_mountpoint
3304 GVolume typedef moved to gfile.h
3306 * gio/gvolumeprivate.h:
3307 Add g_volume_get_for_mount_path
3309 2007-10-31 Alexander Larsson <alexl@redhat.com>
3311 * gio/gunixmounts.[ch]:
3312 Add cache info to unix mount listers
3313 Make getmntent use threadsafe
3314 Add is_system_internal attribute for GUnixMount
3316 * gio/gunixvolume.c:
3317 (g_unix_volume_new):
3318 Use is_system_internal instead of own code
3320 * gio/glocaldirectorymonitor.c:
3321 * gio/gunixvolumemonitor.c:
3322 Update to new gunixmounts API
3327 2007-10-30 Alexander Larsson <alexl@redhat.com>
3330 Add volume name fsinfo attribute
3333 Read volume name info
3335 * gio/gunionvolumemonitor.c:
3336 Fix infinite loops when finalizing a union volume monitor
3338 2007-10-30 Alexander Larsson <alexl@redhat.com>
3340 * gio/goutputstream.[ch]:
3341 Add splice() with default implementation
3343 * gio/gsocketoutputstream.c:
3344 (g_socket_output_stream_write):
3345 Return error on cancellation correctly.
3347 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3349 * gio/glocalfile.c (g_local_file_trash):
3350 Do not leak a string.
3352 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3354 * gio/gfile.c (g_file_load_contents):
3355 Unref the stream after closing it.
3357 2007-10-25 Alexander Larsson <alexl@redhat.com>
3359 * gio/gioscheduler.h:
3362 2007-10-25 Alexander Larsson <alexl@redhat.com>
3366 Add g_file_has_uri_scheme and implement for local files
3368 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3370 * gio/gdesktopappinfo.c: do not leak a string.
3372 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3374 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3375 (g_local_directory_monitor_new):
3376 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3377 (g_local_file_monitor_new):
3378 Only look for the monitor type that should be used the first time
3379 and use g_qsort_with_data() instead of our own bubble sort
3382 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3385 * gio/fam/Makefile.am:
3386 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3387 * gio/fam/fam-helper.h:
3388 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3389 * gio/fam/gfamdirectorymonitor.c:
3390 * gio/fam/gfamdirectorymonitor.h:
3391 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3392 * gio/fam/gfamfilemonitor.h:
3393 * gio/glocaldirectorymonitor.c:
3394 * gio/glocaldirectorymonitor.h:
3395 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3396 * gio/glocalfilemonitor.h:
3397 * gio/inotify/Makefile.am:
3398 * gio/inotify/ginotifydirectorymonitor.c:
3399 * gio/inotify/ginotifydirectorymonitor.h:
3400 * gio/inotify/ginotifyfilemonitor.c:
3401 * gio/inotify/ginotifyfilemonitor.h:
3402 Implement the FAM and Inotify monitors as
3403 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3404 their own GIO module. GLocal(Directory|File)Monitor will use the
3405 monitor with the highest rank that is supported on that machine.
3407 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3410 Change GIO module dir to $(libdir)/gio/modules and change
3411 the log domain from GVFS to GIO. Also only export symbols starting
3412 with g_ in the resulting library.
3413 * gio/test-streams.c: (main):
3414 Set log handler for the GIO log domain.
3416 2007-10-22 Alexander Larsson <alexl@redhat.com>
3418 * gio/gfilenamecompleter.[ch]:
3419 Add g_filename_completer_set_dirs_only
3421 2007-10-22 Alexander Larsson <alexl@redhat.com>
3424 * gio/gurifuncs.[ch]:
3425 Add some simple URI helpers
3427 * gio/gfilenamecompleter.[ch]:
3428 Added object for filename (parse name actually) completion
3431 Handle ~ in parse names
3433 2007-10-17 Alexander Larsson <alexl@redhat.com>
3436 * gio/glocalfileinfo.c:
3437 Add and implement id:value attribute
3439 2007-10-17 Alexander Larsson <alexl@redhat.com>
3442 * gio/guniondrive.c:
3444 Add and implement g_drive_has_volumes
3446 2007-10-17 Alexander Larsson <alexl@redhat.com>
3449 * gio/glocalfileinfo.[ch]:
3450 Add unix:is_mountpoint and implement for local files
3452 2007-10-16 Alexander Larsson <alexl@redhat.com>
3454 * gio/gunionvolumemonitor.c:
3455 (g_union_volume_monitor_init):
3456 Fix up the unix type getting so that it works with gcc
3458 2007-10-12 Alexander Larsson <alexl@redhat.com>
3461 * gio/glocalfileinfo.c:
3462 Add thumbnail:failed to file info
3464 2007-10-12 Richard Hult <richard@imendio.com>
3466 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3467 optimizing away the get_type call (happens with some gcc versions,
3468 like the one shipped with OS X 10.4).
3470 2007-10-12 Alexander Larsson <alexl@redhat.com>
3472 * gio/glocalfileinfo.c:
3473 (_g_local_file_info_set_attribute):
3474 Fix build if not HAVE_XATTR
3475 Patch from Milosz Derezynski <internalerror@gmail.com>
3477 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3479 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3480 around for review, otherwise I would have asked you before
3483 2007-10-11 Alexander Larsson <alexl@redhat.com>
3486 Add thumbnail:path attribute
3488 * gio/glocalfileinfo.c:
3489 Implement thumbnail:path for local files
3491 2007-10-11 Alexander Larsson <alexl@redhat.com>
3493 * gio/glocalfileinfo.c:
3494 (_g_local_file_info_get):
3495 Avoid duplicate icon names
3497 2007-10-11 Alexander Larsson <alexl@redhat.com>
3499 * gio/gthemedicon.[ch]:
3500 Change g_themed_icon_get_names return type to const
3502 2007-10-10 Alexander Larsson <alexl@redhat.com>
3504 * gio/glocalfileinfo.c:
3505 Don't reference freed memory
3507 2007-10-10 Alexander Larsson <alexl@redhat.com>
3509 * gio/gfileattribute.c:
3512 * gio/glocalfileinfo.c:
3515 2007-10-10 Alexander Larsson <alexl@redhat.com>
3518 Check for NULL icons
3520 * gio/gfileattribute.c:
3521 Don't dup when getting objects (same as for string attributes)
3523 * gio/gicon.c (g_icon_equal):
3524 Safely handle NULLs in equal
3526 2007-10-10 Alexander Larsson <alexl@redhat.com>
3529 Fix c++ compilation issues
3530 Patch from Milosz Derezynski <internalerror@gmail.com>
3532 2007-10-10 Alexander Larsson <alexl@redhat.com>
3534 * programs/gio-monitor-dir.c:
3535 Don't crash if dir monitor not supported.
3537 2007-10-09 Alexander Larsson <alexl@redhat.com>
3540 Add missing G_END_DECLS
3542 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3544 * gio/gfile.c: (g_file_set_display_name),
3545 (g_file_query_settable_attributes),
3546 (g_file_query_writable_namespaces):
3547 Return NULL not FALSE on errors as the return type is a pointer.
3549 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3551 * gio/glocalfile.c: (g_local_file_monitor_file):
3552 Don't call monitor_file on the default interface vtable (which
3553 is NULL) but simply return NULL. The caller, GFile, will create a
3554 polling monitor if NULL is returned.
3556 2007-10-09 Alexander Larsson <alexl@redhat.com>
3560 * gio-unix-2.0.pc.in:
3561 Add gio-unix-2.0.pc if OS_UNIX
3564 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3566 2007-10-09 Alexander Larsson <alexl@redhat.com>
3568 * gio/gunixmounts.[ch]:
3569 Make unix mount monitoring API sane.
3570 Now its just a object with mounts_changed
3571 and mountpoints_changed signals.
3573 * gio/glocaldirectorymonitor.c:
3574 * gio/gunixvolumemonitor.c:
3575 Use new mount monitor api
3577 2007-10-09 Alexander Larsson <alexl@redhat.com>
3579 * gio/gunixmounts.[ch]:
3580 Move guess type into one call for mounts and one for mountpoints
3583 * gio/gunixvolume.c:
3586 2007-10-09 Alexander Larsson <alexl@redhat.com>
3588 * gio/gunixmounts.[ch]:
3589 Remove _ prefix in preparation to make this semi-public
3590 Hide implementation of structs
3592 * gio/glocaldirectorymonitor.c:
3594 * gio/gunixvolume.c:
3595 * gio/gunixvolumemonitor.c:
3596 Update for above API changes
3598 2007-10-08 Alexander Larsson <alexl@redhat.com>
3601 Better polling fallback. This also handles the case where we have
3602 a monitor_file implementation, but it fails.
3604 2007-10-08 Alexander Larsson <alexl@redhat.com>
3608 * gio/gunixmounts.c:
3609 * programs/gio-monitor-dir.c:
3610 * programs/gio-monitor-file.c:
3611 Added cancellable to file monitoring calls.
3612 These are really sync calls and need this.
3614 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3616 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3617 (g_local_vfs_class_init):
3618 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3619 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3621 2007-10-05 Alexander Larsson <alexl@redhat.com>
3623 * gio/gdirectorymonitorprivate.h:
3624 * gio/gfilemonitorprivate.h:
3625 * gio/gdirectorymonitor.h:
3626 * gio/gfilemonitor.h:
3627 Remove *private.h and move to the public API, so that
3628 we can do implementations outside gio (such as in gvfs)
3630 * gio/gdirectorymonitor.c:
3631 * gio/gfilemonitor.c:
3632 * gio/glocaldirectorymonitor.c:
3633 * gio/gpollfilemonitor.c:
3634 * gio/inotify/inotify-helper.c:
3635 * gio/fam/fam-helper.c:
3636 Update to the new header names
3638 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3640 * gio/gdirectorymonitor.c:
3641 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3644 2007-10-04 Alexander Larsson <alexl@redhat.com>
3646 * gio/glocalfileinfo.c (get_access_rights):
3647 Set CAN_TRASH when we can move the file.
3648 We should really also check for a parent trash dir.
3650 2007-10-04 Alexander Larsson <alexl@redhat.com>
3652 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3653 Add can_trash access attribute
3655 2007-10-04 Alexander Larsson <alexl@redhat.com>
3658 (g_local_file_trash):
3659 Create info file first. This is per-spec and allows
3660 us to actually trash directories.
3662 2007-10-02 Alexander Larsson <alexl@redhat.com>
3664 * gio/gdesktopappinfo.c:
3665 Implement the new mime support code.
3666 Always set app as handling mimetype when being set as default for it
3668 2007-10-01 Alexander Larsson <alexl@redhat.com>
3670 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3671 Fix up check for xattrs:
3673 2007-10-01 Alexander Larsson <alexl@redhat.com>
3676 (g_app_info_set_as_default_for_extension):
3677 (g_app_info_add_supports_type):
3678 (g_app_info_can_remove_supports_type):
3679 (g_app_info_remove_supports_type):
3680 Make these fail nicely if not implemented
3682 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3684 * gio/glocalfileoutputstream.c:
3685 * gio/glocalfileoutputstream.h:
3690 * programs/gio-save.c:
3691 Add a GFileCreateFlags argument to operations that can create
3694 2007-10-01 Alexander Larsson <alexl@redhat.com>
3696 * gio/gappinfo.[ch]:
3697 * gio/gdesktopappinfo.c:
3698 Add more (stubbed out) mime API needed for nautilus
3700 2007-10-01 Alexander Larsson <alexl@redhat.com>
3703 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3704 Add g_app_info_set_as_default_for_extension.
3706 * gio/gdesktopappinfo.c:
3707 Dummy for g_app_info_set_as_default_for_extension
3708 Support flags in g_app_info_create_from_commandline
3710 * gio/gwin32appinfo.c:
3712 Update for API changes
3714 * gio/gthemedicon.c:
3715 Properly NULL-terminate list of icon names
3717 2007-09-28 Alexander Larsson <alexl@redhat.com>
3719 * gio/gloadableicon.h:
3720 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3722 2007-09-28 Alexander Larsson <alexl@redhat.com>
3725 Install headers in $includedir/gio-standalone/
3727 * gio-2.0.pc.in: Added.
3728 * gio-standalone.pc.in: Removed.
3731 Renamed pkg-config file to match glib (for future move)
3732 Update to the new include dir
3735 Add more TODO comments
3737 2007-09-28 Alexander Larsson <alexl@redhat.com>
3739 * gio/gdesktopappinfo.[ch]:
3740 Expose new_from_filename
3741 Add getter for is_hidden and handle it better
3743 2007-09-28 Alexander Larsson <alexl@redhat.com>
3745 * gio/gfileinfo.[ch]:
3746 Rename g_file_size_format_for_display to
3747 g_format_file_size_for_display.
3748 Now it doesn't have the g_file prefix, so we
3749 can later move it to glib.
3751 2007-09-28 Alexander Larsson <alexl@redhat.com>
3753 * gio/gappinfo.[ch]:
3754 Add g_app_info_get_id and g_app_info_get_executable.
3755 Make all getters non-reffing
3756 Make g_app_info_launch take GFile arguments.
3757 Add must_support_uris argument to g_app_info_get_default_for_type.
3759 * gio/gwin32appinfo.c:
3760 Update to GAppInfo api changes
3762 * gio/gdesktopappinfo.c:
3763 Update to GAppInfo api changes
3764 Implement supports_xdg_startup_notify
3766 * gio/gfileicon.c (g_file_icon_get_file):
3767 Make getter non-reffing.
3772 2007-09-27 Alexander Larsson <alexl@redhat.com>
3774 * gio/gfileinfo.[ch]:
3775 Add g_file_size_format_for_display helper
3777 2007-09-27 Alexander Larsson <alexl@redhat.com>
3779 * gio/glocalfileinfo.c:
3780 Set UNIX_GID from gid, not from uid
3782 2007-09-27 Alexander Larsson <alexl@redhat.com>
3785 Add g_file_set_attributes_async
3787 2007-09-27 Alexander Larsson <alexl@redhat.com>
3789 * gio/glocalfile.c (g_local_file_set_display_name):
3790 Fix set_display_name to actually rename to the right place.
3791 Use lstat to look for existing files so we don't overwrite
3794 2007-09-26 Alexander Larsson <alexl@redhat.com>
3797 Add g_file_set_display_name_async()
3799 2007-09-26 Alexander Larsson <alexl@redhat.com>
3802 Add load_partial_contents async calls
3805 Make internal function static
3807 2007-09-26 Alexander Larsson <alexl@redhat.com>
3809 * gio/glocalfileinfo.c:
3810 Correctly detect broken symlinks
3812 2007-09-26 Alexander Larsson <alexl@redhat.com>
3814 * gio/gcancellable.c (g_cancellable_cancel):
3815 Allow cancel on NULL cancellable
3817 2007-09-25 Alexander Larsson <alexl@redhat.com>
3819 * gio/gsimpleasyncresult.c:
3820 Don't allocate g_error manually.
3821 Fixes g_slice/g_new mixup crash
3823 2007-09-25 Alexander Larsson <alexl@redhat.com>
3825 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
3826 Actually set active_backend.
3827 This means the monitor will be cancelled correctly.
3829 2007-09-25 Alexander Larsson <alexl@redhat.com>
3831 * gio/gdirectorymonitor.c:
3832 Set timeout to NULL when destroying
3834 2007-09-25 Alexander Larsson <alexl@redhat.com>
3837 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
3838 that is a better description of the error.
3840 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
3842 * gio/gvfs.c: (g_vfs_get_local):
3843 Make the local vfs variable static. The same instance should
3846 2007-09-24 Alexander Larsson <alexl@redhat.com>
3848 * gio/glocalfileinfo.c:
3849 Pass in actual length read into sniffer, not the length
3852 2007-09-21 Alexander Larsson <alexl@redhat.com>
3854 * gio/gfileenumerator.c:
3857 * gio/gfileinputstream.c:
3858 * gio/gfileoutputstream.c:
3859 * gio/ginputstream.c:
3860 * gio/goutputstream.c:
3861 Don't crash if async callbacks are NULL
3863 2007-09-20 Alexander Larsson <alexl@redhat.com>
3866 Add async enumerate_children method and default
3869 2007-09-20 Alexander Larsson <alexl@redhat.com>
3872 Add g_file_contains_file & g_file_get_relative_path, since they
3873 were needed for nautilus.
3874 Renamed g_file_resolve_relative to g_file_resolve_relative_path
3879 Implement new methods
3881 2007-09-17 Alexander Larsson <alexl@redhat.com>
3884 * gio/gfileinputstream.[ch]:
3885 * gio/gfileoutputstream.[ch]:
3887 * gio/glocalfileenumerator.[ch]:
3888 * gio/glocalfileinfo.[ch]:
3889 * gio/glocalfileinputstream.c:
3890 * gio/glocalfileoutputstream.c:
3891 * gio/gpollfilemonitor.c:
3892 * programs/gio-copy.c:
3893 * programs/gio-info.c:
3894 * programs/gio-move.c:
3895 Rename get_file_info to query_info() to make it clearer
3896 that these are not simple getters, but do i/o.
3898 2007-09-17 Alexander Larsson <alexl@redhat.com>
3900 * gio/gdatainputstream.[ch]:
3901 * gio/test-streams.c:
3902 Use _read_XXX instead of _get_XXX for the i/o calls
3905 2007-09-17 Alexander Larsson <alexl@redhat.com>
3908 Added needed stuff to TODO comment
3910 2007-09-17 Alexander Larsson <alexl@redhat.com>
3912 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
3913 Don't error out removing the backup copy if it doesn't
3916 2007-09-14 Alexander Larsson <alexl@redhat.com>
3918 * programs/Makefile.am:
3919 * programs/gvfs-*.c:
3921 Renamed apps from gvfs-xxx to gio-xxx.
3923 2007-09-14 Alexander Larsson <alexl@redhat.com>
3926 * gio/gfileoutputstream.[ch]:
3927 * gio/glocalfileoutputstream.c:
3928 * programs/gvfs-save.c:
3929 g_file_output_stream_get_etag doesn't do i/o, so remove
3930 cancellation and error.
3932 2007-09-14 Alexander Larsson <alexl@redhat.com>
3935 Add new_etag output to replace_contents functions
3937 2007-09-14 Alexander Larsson <alexl@redhat.com>
3939 * gio/gfileoutputstream.[ch]:
3940 Add async get_file_info and default implementation
3942 2007-09-14 Alexander Larsson <alexl@redhat.com>
3944 * gio/gfileinputstream.c:
3945 Implement fallback wrapper for async get_file_info
3947 2007-09-14 Alexander Larsson <alexl@redhat.com>
3950 Add etag out argument to load_contents
3955 2007-09-14 Alexander Larsson <alexl@redhat.com>
3957 * gio/gcontenttype.c (looks_like_text):
3958 Whitespace like tab, cr and lf do not make the
3961 2007-09-14 Alexander Larsson <alexl@redhat.com>
3963 * gio/gfileinputstream.[ch]:
3964 Add async get_file_info.
3966 2007-09-13 Alexander Larsson <alexl@redhat.com>
3968 * gio/goutputstream.c (g_output_stream_write_all):
3969 Allow NULL for bytes_written
3971 2007-09-13 Alexander Larsson <alexl@redhat.com>
3973 * gio/gmemoryinputstream.[ch]:
3974 Add accessors for data
3976 2007-09-13 Alexander Larsson <alexl@redhat.com>
3978 * gio/gdatainputstream.c (g_data_input_stream_get_until):
3979 Don't crash if length is NULL