1 2008-05-25 Ross Burton <ross@burtonini.com>
4 Fix circular dependency loop for gioenumtypes.h (#534759).
6 2008-05-19 Hans Breuer <hans@breuer.org>
8 * Makefile.am : EXTRA_DIST += makefile.msc
10 2008-05-17 Matthias Clasen <mclasen@redhat.com>
12 Bug 532965 – Should not return filesystem::free for certain file systems
14 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
17 2008-05-17 Matthias Clasen <mclasen@redhat.com>
19 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
21 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
24 2008-05-16 Tor Lillqvist <tml@novell.com>
26 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
27 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
29 2008-05-13 Bastien Nocera <hadess@hadess.net>
31 * gfile.c (has_valid_scheme): A URI scheme must start with a
32 letter, even if later more characters are allowed (#532852)
34 2008-05-05 Michael Natterer <mitch@imendio.com>
36 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
37 code from being checked in that breaks the build of applications
38 which use G_DISABLE_SINGLE_INCLUDES.
40 * makegioalias.pl: make the alias file include "glib.h" instead of
43 * gio.symbols: whitespace change to force regeneration of the
44 alias file after above script change.
46 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
48 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
50 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
52 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
54 2008-04-28 David Zeuthen <davidz@redhat.com>
56 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
57 displaying mounts in a subdirectory not accessible to the
60 2008-04-22 Michael Natterer <mitch@imendio.com>
62 * Makefile.am: fix library versioning (it was 0.0.0).
64 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
66 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
67 Default disable all loggings.
68 * fen/fen-kernel.c: (printevent), (port_add_kevent),
69 (port_fetch_event_cb): Fixed two macro nits.
71 2008-04-16 Matthias Clasen <mclasen@redhat.com>
73 * xdgmime/xdgmime.c: Rework the timestamp checking code
74 to protect against duplicate directories in XDG_DATA_DIRS.
75 Fixes fd.o bug 12513, reported by Joe Shaw.
77 2008-04-16 Matthias Clasen <mclasen@redhat.com>
79 Partically revert the last commit after realizing that
80 xdg_mime_media_type_equal doesn't have to init at all.
83 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
85 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
87 2008-04-16 Matthias Clasen <mclasen@redhat.com>
89 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
90 reported by Joe Shaw and Federico Mena Quintero.
92 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
93 (xdg_mime_media_type_equal): Turn into a wrapper around the
96 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
99 2008-04-16 Michael Meeks <michael.meeks@novell.com>
101 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
102 tolerate an empty TryExec= line without failing; nautilus used
103 to create launchers with these in previous versions. Fixes #528433
105 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
107 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
108 after name. Fixes #527132.
110 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
112 * gfile.c: (g_file_replace):
115 2008-04-07 Matthias Clasen <mclasen@redhat.com>
117 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
119 * gfile.c (file_copy_fallback): Fix the argument order. Patch
120 by Christian Kellner.
122 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
124 * gunixmounts.c: (g_unix_mount_guess_should_display):
125 Don't list the user directory as a mount, fix potential issue
126 when other users have a similar naming and don't special case the
127 gvfs mounts there since that's not required (#525866)
129 2008-03-31 Alexander Larsson <alexl@redhat.com>
131 * glocalfile.c (get_parent):
134 2008-03-31 A. Walton <awalton@svn.gnome.org>
136 * gfile.c (g_file_query_file_type):
137 Always return a GFileType enum value (#520715).
139 2008-03-31 Alexander Larsson <alexl@redhat.com>
141 * glocalfileenumerator.c:
142 Read readdir() info in chunks (of 1000) and sort
143 the chunks by inode before stat:ing.
144 This is a 20% performance increase in testing
145 gvfs-ls on /usr/bin with cold cache.
147 2008-03-31 Alexander Larsson <alexl@redhat.com>
149 * gmemoryoutputstream.c:
150 Clarify docs for g_memory_output_stream_get_size.
151 Add g_memory_output_stream_get_data_size.
153 2008-03-30 Matthias Clasen <mclasen@redhat.com>
157 * gfile.h: Add g_file_query_file_type convenience function
158 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
160 2008-03-30 Matthias Clasen <mclasen@redhat.com>
163 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
165 2008-03-28 A. Walton <awalton@svn.gnome.org>
167 * giomodule.c (_g_io_modules_ensure_loaded):
168 Adds GIO_EXTRA_MODULES environment variable support, closing bug
171 2008-03-28 Alexander Larsson <alexl@redhat.com>
174 (copy_stream_with_progress):
177 2008-03-28 Alexander Larsson <alexl@redhat.com>
180 (copy_stream_with_progress):
181 (file_copy_fallback):
182 Fallback to g_file_query_info for source size
183 if g_file_input_stream_query_info fails. (#524579)
185 2008-03-28 Alexander Larsson <alexl@redhat.com>
187 * glocalfile.c (g_local_file_move):
188 Reuse old string instead of adding new one.
190 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
192 * fen/*.[hc]: still copyright issue. I hate copyright.
194 2008-03-27 Alexander Larsson <alexl@redhat.com>
196 * glocalfile.c (g_local_file_move):
197 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
198 file over directory. This is according to the docs and what the move via
199 copy+remove fallback does.
201 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
203 * fen/*.[hc]: Updated copyright.
205 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
207 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
209 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
211 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
212 not emit attribute changed events when optimizing changed events.
213 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
216 2008-03-19 Matthias Clasen <mclasen@redhat.com>
218 * gmountoperation.[hc]: Small documentation additions
220 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
222 * gunixmounts.c: (guess_mount_type):
223 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
225 2008-03-19 Alexander Larsson <alexl@redhat.com>
228 (copy_stream_with_progress):
229 Bump block side for copy to 64k to minimize
230 overhead for low latency links. (#523015)
232 2008-03-16 Tor Lillqvist <tml@novell.com>
234 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
235 depend on gio.def on Windows.
237 2008-03-12 David Zeuthen <davidz@redhat.com>
241 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
243 2008-03-14 Alexander Larsson <alexl@redhat.com>
247 Avoid redudant tests (#521851)
248 Patch from Josselin Mouette
250 2008-03-14 Alexander Larsson <alexl@redhat.com>
253 (g_file_monitor_is_cancelled):
254 Fix C89 issue (#521672)
255 Patch from Jens Granseuer
257 2008-03-14 Alexander Larsson <alexl@redhat.com>
259 * fam/fam-helper.[ch]:
261 Shut down fam (including removing fam GSource) when
262 module is unloaded (#521513)
263 Patch from Joe Marcus Clarke
265 2008-03-14 Alexander Larsson <alexl@redhat.com>
268 (_g_io_modules_ensure_loaded):
271 2008-03-14 Alexander Larsson <alexl@redhat.com>
274 (g_local_file_query_filesystem_info):
275 Use right define name for f_fstypename member check
277 2008-03-14 Alexander Larsson <alexl@redhat.com>
280 * fen/Makefile.am: Added.
281 * fen/fen-data.[ch]: Added.
282 * fen/fen-dump.[ch]: Added.
283 * fen/fen-helper.[ch]: Added.
284 * fen/fen-kernel.[ch]: Added.
285 * fen/fen-missing.[ch]: Added.
286 * fen/fen-node.[ch]: Added.
287 * fen/fen-sub.[ch]: Added.
288 * fen/gfendirectorymonitor.[ch]: Added.
289 * fen/gfenfilemonitor.[ch]: Added.
291 Added Solaris FEN file notification backend.
292 Patch from Lin Ma <Lin.Ma@Sun.COM>
294 2008-03-13 Tor Lillqvist <tml@novell.com>
296 * Makefile.am: Actually use the gio.def file when linking the
297 library on Windows. Produce .lib library for Microsoft's toolchain
298 when possible. Install the .lib and .def file like for the other
301 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
303 * tests/live-g-file.c:
304 Include live-g-file in standard set of tests, making a temporary
305 directory in source structure.
307 Clean target directory before the tests (write mode only)
309 2008-03-12 Tor Lillqvist <tml@novell.com>
311 Bug 517419 - gio win32 directory monitor
312 Implementation by Vlad Grecescu.
315 * win32/gwin32directorymonitor.h
316 * win32/gwin32directorymonitor.c: New files.
318 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
320 * Makefile.am: Add the win32 subdirectory.
322 2008-03-12 Tor Lillqvist <tml@novell.com>
324 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
325 normal struct stat on Unix but struct _stati64 on Windows to have
326 access to 64-bit file size information. Use that instead of struct
327 stat in the functions declared here in this private header.
329 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
330 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
331 warnings about unused functions and variables. Don't set
332 meaningless attributes like inode numbers on Windows.
334 2008-03-12 Benjamin Otte <otte@gnome.org>
337 trim whitespace so gtk-doc groks the function name
339 2008-03-12 Tor Lillqvist <tml@novell.com>
341 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
342 returning FALSE, on Win32.
344 2008-03-11 Alexander Larsson <alexl@redhat.com>
347 * glocalfileinfo.[ch]:
348 Correctly implement can_trash by actually
349 looking for a trash dir, not just assuming
352 2008-03-10 Matthias Clasen <mclasen@redhat.com>
354 * === Released 2.16.1 ===
356 2008-03-11 Alexander Larsson <alexl@redhat.com>
359 Fix crashes in new constructor and properties code
361 2008-03-10 Murray Cumming <murrayc@murrayc.com>
363 * gfile.c: Minor spelling correction in documentation:
364 existance -> existence.
366 2008-03-10 Matthias Clasen <mclasen@redhat.com>
368 * === Released 2.16.0 ===
370 2008-03-10 Matthias Clasen <mclasen@redhat.com>
372 * gio.symbols: Remove g_file_contains_file here, too.
374 2008-03-10 Matthias Clasen <mclasen@redhat.com>
376 * gthemedicon.c: Add properties to make bindings happy. (#517676,
377 Samuel Cormier-Iijima)
379 2008-03-08 Tor Lillqvist <tml@novell.com>
381 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
384 2008-03-07 Alexander Larsson <alexl@redhat.com>
387 (g_local_file_query_filesystem_info):
388 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
389 Patch from Jasper Lievisse Adriaanse
391 2008-03-06 Tor Lillqvist <tml@novell.com>
393 * gfileinfo.h: Correct milliseconds to microseconds in the doc
394 comments for the *_USEC attributes.
396 2008-03-06 Alexander Larsson <alexl@redhat.com>
398 * gfile.c (g_file_query_exists):
399 Add g_return_val_if_fail check (#520700)
401 2008-03-06 Alexander Larsson <alexl@redhat.com>
406 * gunionvolumemonitor.c:
409 * tests/live-g-file.c:
410 * xdgmime/xdgmimecache.c:
411 Fix sparse warnings (#519489)
413 2008-03-05 Alexander Larsson <alexl@redhat.com>
416 Make cancellation threadsafe (i.e.
417 guarantee its only done once, and always
420 * glocaldirectorymonitor.c:
421 Make sure we the monitor lives while the
422 mounts_changed callback is being called (#520484)
424 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
426 * gbufferedinputstream.c: Fix typo in parameter
429 2008-03-04 Alexander Larsson <alexl@redhat.com>
432 Remove deprecated symbols we kept for one release.
434 2008-03-04 Murray Cumming <murrayc@murrayc.com>
437 * goutputstream.c: Tiny documentation corrections.
439 2008-03-03 Alexander Larsson <alexl@redhat.com>
441 * gunionvolumemonitor.c:
443 Fix the adopt_orphan_mount vfunc to take a
444 volume_monitor reference in an ABI compat way.
445 This change is not API compat, but the added
446 arg is not used in the only user of this vfunc, so
447 all we get is a harmless warning in gvfs (#520169)
449 2008-03-01 Benjamin Otte <otte@gnome.org>
452 clarify docs for g_file_delete().
454 2008-02-29 Alexander Larsson <alexl@redhat.com>
458 Make sure empty files get text/plain type (#518720)
460 2008-02-27 Alexander Larsson <alexl@redhat.com>
466 (g_unix_volume_mount):
467 Add missing GMountMountFlags argument
469 2008-02-26 Alexander Larsson <alexl@redhat.com>
472 (g_local_file_delete):
473 Handle filesystems (like ntfs-3g) that return EEXIST instead
474 of ENOTEMPTY (#518816)
476 2008-02-25 Matthias Clasen <mclasen@redhat.com>
478 * === Released 2.15.6 ===
480 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
482 * gfile.c (g_file_find_enclosing_mount):
483 * ginputstream.c (g_input_stream_set_pending):
484 * glocalfile.c (g_local_file_find_enclosing_mount):
485 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
486 * goutputstream.c (g_output_stream_set_pending):
488 Fixup translator comments (#518578).
490 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
492 * gfile.c (g_file_find_enclosing_mount):
494 * glocalfile.c (g_local_file_find_enclosing_mount):
497 Fix a few typos in translator comments and documentation.
499 2008-02-25 Alexander Larsson <alexl@redhat.com>
506 Add translator comments (#518578)
508 2008-02-25 Alexander Larsson <alexl@redhat.com>
511 Reintroduce g_file_contains_file, keep around for one
512 unstable release cycle to avoid crashing to many apps.
513 Make sure to delete after release.
515 2008-02-25 Alexander Larsson <alexl@redhat.com>
518 Remove deprecated g_file_contains_file.
520 2008-02-25 Alexander Larsson <alexl@redhat.com>
523 Emit actual change signals in an idle handler.
524 This avoids reentrance and locking problems in
525 the file notification backends.
527 2008-02-25 Alexander Larsson <alexl@redhat.com>
530 (g_unix_mount_guess_should_display):
531 Remove type guessing, instead just display
532 mounts in /media and in ~/.
534 2008-02-25 Alexander Larsson <alexl@redhat.com>
537 Make new strings reuse old ones.
539 2008-02-25 Alexander Larsson <alexl@redhat.com>
542 Implement trashing and filesystem::readonly for win32 (#517235)
543 Patch from Yevgen Muntyan
545 2008-02-23 Matthias Clasen <mclasen@redhat.com>
547 * gfileinfo.h: Documentation fixes.
549 2008-02-22 Alexander Larsson <alexl@redhat.com>
551 * gcontenttype.c (g_content_type_get_icon):
552 Look at old-style gnome mime icon names too, as many
553 have not moved to the new style.
555 2008-02-21 Matthias Clasen <mclasen@redhat.com>
557 * *.c: Correct the @include in for section docs.
559 2008-02-21 David Zeuthen <davidz@redhat.com>
561 * glocalfileinfo.c: (_g_local_file_info_get):
563 (g_content_type_get_icon): Implement this function by
564 moving bits from glocalfileinfo.c
565 (g_content_type_get_description): Unalias before getting
566 description (#517687)
568 * gfile.c: (g_file_class_init),
569 (g_file_query_filesystem_info_async),
570 (g_file_query_filesystem_info_finish),
571 (query_filesystem_info_data_free),
572 (query_filesystem_info_async_thread),
573 (g_file_real_query_filesystem_info_async),
574 (g_file_real_query_filesystem_info_finish):
575 * gfile.h: Implement async version of
576 g_file_query_filesystem_info()
578 * gfileinfo.h: Add new attributes for filesystem::use-preview
580 * gio.symbols: Update
582 * gthemedicon.c: (g_themed_icon_append_name):
583 * gthemedicon.h: Add new new convenience function.
585 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
586 (get_mounts), (get_volumes), (get_connected_drives),
587 (get_volume_for_uuid), (get_mount_for_uuid),
588 (g_union_volume_monitor_init), (populate_union_monitor),
589 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
590 (g_volume_monitor_adopt_orphan_mount):
592 * gvolumemonitor.h: Use recursive locks so it's safe for volume
593 monitor implementations to call into the main volume monitor. Also
594 separate object initialization and volume monitor initialization
595 such that non-native volume monitors can properly adopt their
598 2008-02-21 Alexander Larsson <alexl@redhat.com>
603 2008-02-21 Alexander Larsson <alexl@redhat.com>
606 Add more documentation about how GFiles work (from #517086)
608 2008-02-21 Alexander Larsson <alexl@redhat.com>
612 Add new g_file_has_prefix that does the same as g_file_contains_file.
613 Deprecate g_file_contains_file and add a macro that converts
614 it to g_file_has_prefix.
615 The reason for this change is that the contains_file() name seems to
616 imply that this does more work than what it does, but its really only
617 a name match (from #517086)
622 Update to match the above change.
624 2008-02-20 Benjamin Otte <otte@gnome.org>
626 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
627 (g_file_eject_mountable):
628 even more cases of not returning in error path
630 2008-02-20 Benjamin Otte <otte@gnome.org>
632 * gfile.c: (g_file_mount_mountable):
633 return from function in error path.
635 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
638 Remove trailing coma in GMountMountFlags struct
640 2008-02-18 Alexander Larsson <alexl@redhat.com>
644 * glocalfileoutputstream.c:
645 Use g_unlink/g_rename instead of unlink/rename;
646 do not pass raw filenames to g_set_error. (#517239)
647 Patch from Yevgen Muntyan.
649 2008-02-18 Alexander Larsson <alexl@redhat.com>
652 * glocalfileoutputstream.c:
653 Open files with O_BINARY on windows. (#517140)
655 2008-02-14 Alexander Larsson <alexl@redhat.com>
657 * glocalfileoutputstream.c:
658 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
660 2008-02-14 Alexander Larsson <alexl@redhat.com>
663 Copy permissions with file on copy (#514084)
664 This is what cp does and makes sure e.g. the
665 exec permissions are kept.
666 Its kinda weird in that it keeps the permission bits
667 the same while the uid and gid are different. However
668 the new uid is the user so its not a security issue,
669 and I've heard no complaints about cp on this issue.
671 2008-02-13 Ryan Lortie <desrt@desrt.ca>
673 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
675 2008-02-13 Alexander Larsson <alexl@redhat.com>
677 * inotify/inotify-path.c:
678 Define IN_ONLYDIR if not in header (#515346)
680 2008-02-12 Alexander Larsson <alexl@redhat.com>
682 * tests/live-g-file.c:
685 2008-02-11 Matthias Clasen <mclasen@redhat.com>
687 * === Released 2.15.5 ===
689 2008-02-11 Matthias Clasen <mclasen@redhat.com>
691 * gio.symbols: Add g_mount_mount_flags_get_type.
693 2008-02-11 Alexander Larsson <alexl@redhat.com>
696 (g_file_info_set_attribute_mask):
697 (g_file_attribute_matcher_matches_id):
698 Correctly handle NULL GAttributeMatcher meaning
699 matches nothing. (Fixes #513492)
701 2008-02-11 Alexander Larsson <alexl@redhat.com>
706 Added GMountMountFlags enum and added a flags
707 argument to all mount calls.
709 This is an API/ABI change for future extensibility,
710 as I think we will need at least an
711 inhibit-autorun flag (the panel needs this).
712 There are no flags defined yet though.
714 2008-02-11 Alexander Larsson <alexl@redhat.com>
717 Added new standard::description attribute.
718 Requested by Vincent, and useful for both
721 2008-02-11 Alexander Larsson <alexl@redhat.com>
726 2008-02-11 Matthias Clasen <mclasen@redhat.com>
728 * *.c: Documentation additions
730 2008-02-10 Matthias Clasen <mclasen@redhat.com>
732 * gappinfo.h: Formatting cleanup
733 * gappinfo.c: Fix up docs.
735 2008-02-09 Matthias Clasen <mclasen@redhat.com>
737 * gunixmounts.c: Consistently use getmntent_r() and fall
738 back to getmntent(). (#515492)
740 2008-02-09 Matthias Clasen <mclasen@redhat.com>
742 * gbufferedinputstream.c:
744 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
746 * tests/data-input-stream.c:
747 * tests/data-output-stream.c: Portability fixes.
749 2008-02-08 Alexander Larsson <alexl@redhat.com>
754 Add g_volume_should_automount.
757 2008-02-07 Tor Lillqvist <tml@novell.com>
759 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
760 Win32, too Unix-specific.
762 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
764 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
765 a local plt if the compiler doesn't support what we want. Bug #514702
767 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
769 reviewed by: <delete if not using a buddy>
772 * gunixinputstream.c:
773 * gunixoutputstream.c:
775 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
778 * tests/live-g-file.c:
779 * tests/live-g-file.txt:
780 New GIO testing module working over real data
782 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
784 * glocalfileoutputstream.c (g_local_file_output_stream_close):
785 Fallback to rename() if link() is not available
786 (when no support on target filesystem)
788 2008-02-06 Michael Natterer <mitch@imendio.com>
790 * gfileinfo.c (g_file_info_get_icon): replace
791 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
793 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
795 * gfile.c (g_file_create):
796 Documentation update of error codes
798 2008-02-06 Alexander Larsson <alexl@redhat.com>
801 Update to use both mimeapps.list and
802 defaults.list as discussed on xdg list.
804 2008-02-06 Benjamin Otte <otte@gnome.org>
807 * gfilenamecompleter.c:
808 Fix some typos in the documentation.
810 2008-02-06 Alexander Larsson <alexl@redhat.com>
812 * glocalfile.c (g_local_file_trash):
813 Don't succeed with trash if newly created
814 trash dir has the wrong owner. (#514696)
816 2008-02-05 Alexander Larsson <alexl@redhat.com>
818 * glocalfile.c (g_local_file_move):
819 Don't spew warnings when destination is not
822 2008-02-03 Hans Breuer <hans@breuer.org>
824 * makefile.msc : update
826 2008-02-01 Michael Natterer <mitch@imendio.com>
828 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
829 return value of xdg_mime_list_mime_parents() to a variable of the
832 2008-02-01 Alexander Larsson <alexl@redhat.com>
834 * gappinfo.c (g_app_info_launch_uris):
835 Actually call the launch_uris method, not
838 2008-02-01 Alexander Larsson <alexl@redhat.com>
840 * gdesktopappinfo.c (g_desktop_app_info_equal):
841 Ensure appinfos with no id but same pointer value
844 2008-02-01 Alexander Larsson <alexl@redhat.com>
846 * gappinfo.c (g_app_info_launch_default_for_uri):
849 2008-02-01 Alexander Larsson <alexl@redhat.com>
853 Add g_app_info_launch_default_for_uri utility
856 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
859 Doc fix for g_app_info_get_default_for_uri_scheme ()
862 2008-01-30 Alexander Larsson <alexl@redhat.com>
865 Add doc comment about uris vs GFiles to
869 Ensure uris passed to g_app_info_launch_uris()
870 are not roundtriped through GFile (as that
871 may be slightly destructive for e.g. mailto: links)
873 2008-01-30 Alexander Larsson <alexl@redhat.com>
875 * tests/data-input-stream.c:
876 * tests/data-output-stream.c:
877 C89 fixes from Jens Granseuer (#512849)
879 2008-01-30 Alexander Larsson <alexl@redhat.com>
882 Fix gamin/fam difference build issue. (#509419)
884 2008-01-29 Alexander Larsson <alexl@redhat.com>
888 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
890 2008-01-29 Alexander Larsson <alexl@redhat.com>
894 giomodule-priv.h include moved to .c file.
896 2008-01-29 Alexander Larsson <alexl@redhat.com>
898 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
899 Remove unused prio/name fields.
901 2008-01-29 Alexander Larsson <alexl@redhat.com>
903 * gcontenttype.c (looks_like_text):
904 Don't treat whitespace as control chars.
906 2008-01-29 Alexander Larsson <alexl@redhat.com>
909 Lazily create the desktop files for appinfos created
910 by g_app_info_create_from_commandline() when needed
911 for mime associations. This allows run-time use
912 of GAppInfo object without creating unnecessary
915 2008-01-29 Alexander Larsson <alexl@redhat.com>
918 Added new symbols to gio.symbols
920 2008-01-29 Alexander Larsson <alexl@redhat.com>
923 Add g_file_query_default_handler utility to easily look up
924 the GAppInfo that handles a file.
926 * gdesktopappinfo.[ch]:
928 Set up an extension point for g_app_info_get_default_for_uri_scheme()
931 Remove unused function
933 2008-01-29 Alexander Larsson <alexl@redhat.com>
936 Mention need to free returned value in
937 g_file_enumerator_next_files_finish docs.
938 Fix leak if g_file_enumerator_next_files_finish()
941 2008-01-29 Alexander Larsson <alexl@redhat.com>
944 (_g_unix_content_type_get_parents):
945 Use list_parents, not get_parents from xdgmime, because
946 the later doesn't use the cache.
948 * xdgmime/xdgmimecache.c:
949 (_xdg_mime_cache_list_mime_parents):
950 Don't list the same type as parent multiple times.
952 2008-01-28 Matthias Clasen <mclasen@redhat.com>
954 * === Released 2.15.4 ===
956 2008-01-28 Alexander Larsson <alexl@redhat.com>
959 Register local vfs with prio 0.
962 Remove old name and prio class members
964 2008-01-28 Matthias Clasen <mclasen@redhat.com>
966 * tests/g-file.c: Disable some tests that are failing in
967 the absence of a http backend.
969 2008-01-28 Alexander Larsson <alexl@redhat.com>
973 Add registration hooks for extension points.
974 Register the gio extension points.
976 * fam/gfamdirectorymonitor.c:
977 * fam/gfamfilemonitor.c:
978 * glocaldirectorymonitor.[ch]:
979 * glocalfilemonitor.[ch]:
980 * gnativevolumemonitor.h:
981 * gunionvolumemonitor.c:
982 * gunixvolumemonitor.c:
985 * inotify/ginotifydirectorymonitor.c:
986 * inotify/ginotifyfilemonitor.c:
987 Use the extension points registration instead
988 of g_type_children().
990 2008-01-28 Matthias Clasen <mclasen@redhat.com>
993 * gvolume.[hc]: Document new API.
995 * gfile.c (g_file_copy_async): Fix docs
997 2008-01-27 Matthias Clasen <mclasen@redhat.com>
999 * gbufferedinputstream.c:
1001 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1004 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1006 * glocalfile.c: Avoid trivial differences in translatable strings.
1008 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1010 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1011 build with gcc 3.4 (#509419)
1013 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1015 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1016 (#509994, Murray Cumming)
1018 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1020 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1021 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1022 this allows big jobs to be executed in chunks, instead of blocking
1023 the main loop for a long time.
1025 * gsimpleasyncresult.c:
1026 * giofile.c: Adapt callers.
1028 2008-01-25 Alexander Larsson <alexl@redhat.com>
1030 * gdesktopappinfo.c:
1031 Implement changes discussed on xdg list.
1032 Now we can add supported mimetypes by just using defaults.list
1033 We can also remove associations in defaults.list.
1035 2008-01-25 Alexander Larsson <alexl@redhat.com>
1037 * gdesktopappinfo.c:
1038 Don't make local copy of desktop file
1039 for mimetype changes if the file already
1040 supports the new mimetype.
1042 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1046 * gbufferedinputstream.c:
1047 * glocalfile.c: String improvements. (#511966,
1048 Theppitak Karoonboonyanan)
1050 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1052 * gioscheduler.h: Expand docs a bit.
1054 2008-01-24 Alexander Larsson <alexl@redhat.com>
1057 Add g_drive_get_identifier and
1058 g_drive_enumerate_identifiers
1061 Add g_volume_get_identifier and
1062 g_volume_enumerate_identifiers
1068 Implement identifiers for unix backend
1070 2008-01-24 Alexander Larsson <alexl@redhat.com>
1075 Add g_file_copy_async() (#511580)
1076 Based on patch from Carlos Garcia Campos
1078 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1080 * gioscheduler.c: Some documentation additions.
1082 2008-01-22 Alexander Larsson <alexl@redhat.com>
1084 * gdesktopappinfo.c:
1085 (g_desktop_app_info_new):
1086 Don't leak basename.
1088 2008-01-22 Alexander Larsson <alexl@redhat.com>
1090 * gdesktopappinfo.c:
1091 (g_desktop_app_info_new_from_filename):
1094 2008-01-22 Alexander Larsson <alexl@redhat.com>
1096 * glocalfileinfo.c (get_thumbnail_attributes):
1099 2008-01-22 Alexander Larsson <alexl@redhat.com>
1102 (canonicalize_filename):
1103 Canonicalize paths that start with more than
1107 (compare_two_files):
1108 (test_g_file_new_for_path):
1111 2008-01-22 Alexander Larsson <alexl@redhat.com>
1114 Allow UTF-8 in file:// parse names.
1116 * tests/Makefile.am:
1117 * tests/data-input-stream.c:
1118 * tests/data-output-stream.c:
1119 * tests/g-file-info.c:
1121 Added a bunch of tests from Tomas Bzatek
1123 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1125 * === Released 2.15.3 ===
1127 2008-01-21 Alexander Larsson <alexl@redhat.com>
1129 * gfileinputstream.[ch]:
1130 * gfileoutputstream.[ch]:
1132 Remove duplicated GSeekable functions. (#509990)
1133 Just use the g_seekable_xxx() calls instead.
1135 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1138 * gvolumemanager.c: Whitespace cleanups.
1140 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1141 Use the right mode when creating the file.
1143 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1145 * gfileenumerator.c:
1146 * gfileinputstream.c:
1148 * goutputstream.c: Documentation: Fixed minor typos
1149 and added more mentions of specific _finish() functions.
1151 2008-01-21 Alexander Larsson <alexl@redhat.com>
1153 * inotify/Makefile.am:
1154 * inotify/inotify-helper.c:
1155 * inotify/inotify-kernel.c:
1156 * inotify/inotify-path.c:
1157 * inotify/local_inotify.h: Removed.
1158 * inotify/local_inotify_syscalls.h: Removed.
1159 Removed the included copies of the inotify
1160 headers. We now only use the <sys/inotify.h>
1161 header which exists on modern systems.
1162 This fixes problems on ARM and SH5 (#510448)
1163 but is also generally much cleaner and future
1164 safe. For instance, if other OSes add support
1165 for inotify it should "just work".
1167 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1169 * inotify/*.c: Coding style fixes.
1170 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1171 for the 1/4 Hz timer.
1173 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1176 * gfilemonitor.[hc]:
1177 * gmemoryinputstream.c:
1178 * gmemoryoutputstream.c:
1179 * gmountoperation.c:
1180 * gthemedicon.c: Documentation updates
1182 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1184 * gfile.c: documentation: Fixed more minor
1187 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1189 * gmount.c: (g_mount_remount): documentation:
1190 Mention g_mount_remount_finish() instead of
1191 g_mount_unmount_finish().
1193 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1197 * gfile.c: Fixed some minor typos in the
1200 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1202 * gio/gvolumemonitor.c:
1203 (g_volume_monitor_get_connected_drives):
1204 (g_volume_monitor_get_volumes):
1205 (g_volume_monitor_get_mounts): Documentation:
1206 Clarify the ownership of the regurn GLists.
1208 2008-01-17 Alexander Larsson <alexl@redhat.com>
1211 Add the async find_enclosing_mount version
1212 to the header file too.
1214 2008-01-17 Alexander Larsson <alexl@redhat.com>
1217 Add async version of find_enclosing_mount
1218 with default implementation.
1220 2008-01-17 Alexander Larsson <alexl@redhat.com>
1225 Allow calls to implementation of copy and write
1226 even if the type of the file implementations is
1227 different. This can be used to implement native
1228 upload and download calls in a vfs.
1231 (g_local_file_move):
1232 Protect against the case where move is called
1233 with one file not being local.
1235 Make sure we call the progress callback once
1236 in the native move operation so that the caller
1237 knows how many bytes were copied.
1239 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1242 * gdatainputstream.c:
1244 * gfileoutputstream.c:
1249 * gunixmounts.c: Corrected some typos in the documentation:
1250 occured -> occurred.
1251 its -> it's (where appropriate).
1253 2008-01-16 Alexander Larsson <alexl@redhat.com>
1257 Add g_file_query_exists (#508771)
1259 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1264 * gvolume.c: For async functions that have no non-async
1265 version, document that the GAsyncReadyCallback may be NULL.
1268 2008-01-15 Alexander Larsson <alexl@redhat.com>
1270 * gmemoryinputstream.c:
1271 * gmemoryoutputstream.c:
1272 Don't do pointer arithmetic on void * (#508602)
1273 Patch from Kazuki IWAMOTO
1275 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1277 * === Released 2.15.2 ===
1279 2008-01-14 Alexander Larsson <alexl@redhat.com>
1281 * gfile.c (g_file_monitor_file):
1282 Don't set error here, since we fallback to polling monitor.
1284 2008-01-14 Alexander Larsson <alexl@redhat.com>
1287 (g_file_monitor_directory):
1288 (g_file_monitor_file):
1289 Add GError to file monitor calls
1291 * glocaldirectorymonitor.c:
1292 * glocaldirectorymonitor.h:
1294 * glocalfilemonitor.c:
1295 * glocalfilemonitor.h:
1297 Update for above change
1299 2008-01-14 Alexander Larsson <alexl@redhat.com>
1303 Handle root correctly in g_file_get_relative_path (#508719)
1305 2008-01-14 Alexander Larsson <alexl@redhat.com>
1308 Clean up docs and example for GAsyncResult (#508074)
1310 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1312 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1313 and correct some spelling mistakes. Bug #508108.
1315 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1317 * glocalfileinfo.c: Add a comment.
1319 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1321 * gfileinfo.c: GFileInfo description: Mention
1322 how to actually set attributes in a GFile and how to discover
1323 which attributes are settable. Bug #508378.
1325 2008-01-10 A. Walton <awalton@svn.gnome.org>
1327 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1328 (g_app_info_get_default_for_type):
1329 Check for NULL content types.
1331 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1333 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1335 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1337 * gfile.c: *_async() functions: Several small corrections
1338 to the documentation, mostly correcting copy/paste errors
1339 and improving some sentences.
1341 2008-01-09 Dan Winship <danw@gnome.org>
1343 * glocalfile.c (get_unique_filename): x86_64 fix
1345 2008-01-09 Alexander Larsson <alexl@redhat.com>
1350 Add g_unix_mount_guess_should_display and use
1351 for unix volume monitor backend.
1352 This means we more or less show what the
1353 gnome-vfs backend did.
1354 Based on patch from Padraig O'Briain
1356 2008-01-09 Alexander Larsson <alexl@redhat.com>
1360 Add g_themed_icon_new_with_default_fallbacks
1363 Use default fallbacks for icons
1365 2008-01-09 Alexander Larsson <alexl@redhat.com>
1368 * gmountoperation.[ch]:
1369 Change the API a bit so that unhandled methods
1370 get reported via the reply, rather than by
1371 the signal emission return value. This is because
1372 some handlers can't know this immediately without
1373 doing I/O, and this is an async operation that
1376 2008-01-09 Alexander Larsson <alexl@redhat.com>
1379 * fam/gfamdirectorymonitor.c:
1380 * fam/gfamfilemonitor.c:
1381 Fix double free crash (#508224)
1382 Patch from Joe Marcus Clarke
1384 008-01-07 Matthias Clasen <mclasen@redhat.com>
1386 * === Released 2.15.1 ===
1388 2008-01-07 Alexander Larsson <alexl@redhat.com>
1390 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1391 Fix warning (#507835)
1393 2008-01-07 Alexander Larsson <alexl@redhat.com>
1396 Pass --internal to glib-genmarshal
1399 * gmountoperation.c:
1401 Use better types for signal arguments (#507822)
1403 2008-01-07 Alexander Larsson <alexl@redhat.com>
1406 Build test subdir after .
1407 Remove gdirectorymonitor.[ch]
1409 * gdirectorymonitor.[ch]:
1413 Remove GDirectoryMonitor and make
1414 GFileMonitor the baseclass for both file and
1415 directory monitors. Lift the more generic
1416 rate limiting code from GDirectoryMonitor
1420 * fam/gfamdirectorymonitor.[ch]:
1421 * inotify/ginotifydirectorymonitor.[ch]:
1422 * inotify/inotify-helper.c:
1423 * glocaldirectorymonitor.[ch]:
1426 Update for the removed GDirectoryMonitor.
1428 * gmemoryoutputstream.c:
1429 Remove ununsed variable
1431 2008-01-07 Alexander Larsson <alexl@redhat.com>
1433 * gmemoryinputstream.c:
1434 Translate error strings
1437 * gmemoryoutputstream.[ch]:
1438 New implementation that avoids using GByteArray
1439 in implementation and API. (#506377)
1441 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1443 * tests/*: Add a test for memory input streams.
1445 * Makefile.am: Add tests to SUBDIRS.
1447 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1449 * glocalfilemonitor.c:
1450 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1453 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1455 * gdesktopappinfo.c: Fix a docs typo.
1457 * gfileattribute.c: Add information about extended attributes
1458 to the documentation. (#505058)
1460 2008-01-04 Alexander Larsson <alexl@redhat.com>
1463 * gmountoperation.c:
1464 Use the right type (uint) for the ask_password signal.
1466 2008-01-04 Alexander Larsson <alexl@redhat.com>
1471 Add g_app_info_supports_files()
1472 Remove desktop arg from g_app_info_should_show().
1474 * gdesktopappinfo.[ch]:
1475 Implement g_app_info_supports_files() and new should_show()
1476 Add g_desktop_app_info_set_desktop_env() to set the desktop
1477 for should_show(). (This will be set by gtk+ later)
1479 2008-01-04 Alexander Larsson <alexl@redhat.com>
1482 * gmemoryinputstream.[ch]:
1483 Improve API so that you can use multiple chunks
1484 of memory and custom destroy functions. (#506374)
1486 2008-01-03 Alexander Larsson <alexl@redhat.com>
1489 Handle NULL attribute matchers safely, as we return this
1490 for empty attribute matcher strings.
1492 2008-01-03 Alexander Larsson <alexl@redhat.com>
1494 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1495 Add /usr/local to list of internal mountpoints
1497 2008-01-03 Alexander Larsson <alexl@redhat.com>
1500 Check for HAVE_LCHOWN (#505887)
1502 2008-01-03 Alexander Larsson <alexl@redhat.com>
1506 Add define for selinux context attribute.
1507 Fix missing : -> :: namespace separator change
1508 Fix missing _ -> - name change for xattr-sys.
1511 2008-01-03 Alexander Larsson <alexl@redhat.com>
1514 Link to libglib and libgobject directly (#504879)
1515 Patch from Sebastien Bacher
1517 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1519 * gfile.c: Expanded the g_file_new_for_commandline_arg
1520 description a bit, based on the code and the docs of the
1521 other g_file_new_for_* functions.
1523 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1525 * gfilemonitor.h: Fixed typo in docs.
1527 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1529 Updates to GIO documentation. (#506395, Mikael Hermansson)
1531 * gcontenttype.c: Describe memory management for return value of
1532 g_content_types_get_registered(). Missing piece from #505815.
1533 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1534 GVolume, GDrive, GMounts, which hopefully gives the user less
1535 confusions when using this API. Following explainations from
1536 Alexander Larsson on gtk-devel-list.
1538 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1540 * gfileinfo.c: Expand the long description.
1542 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1545 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1546 fix builds with --disable-visibility. (#500273, Christian Persch)
1548 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1550 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1551 in the list of returned app infos.
1553 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1555 * gappinfo.c: Fix a cross-reference
1557 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1559 * gfileinputstream.c:
1560 * gfileoutputstream.c:
1564 * gdesktopappinfo.c:
1566 * gfileinfo.c: Documentation updates.
1568 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1570 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1573 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1575 * gcontenttype.c (g_content_types_get_registered): Don't return
1576 freed memory (#505815, Mikael Hermansson)
1578 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1580 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1581 used to detect statbuf->st_blocks. (#505042)
1583 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1585 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1586 environment handling. (#504829, Cosimo Cecchi)
1588 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1590 * gappinfo.c: Doc improvements
1592 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1595 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1597 * === Released 2.15.0 ===
1599 2007-12-20 Hans Breuer <hans@breuer.org>
1601 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1602 with symbols gwin32appinfo.obj, added gmount.obj
1603 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1605 2007-12-20 Alexander Larsson <alexl@redhat.com>
1611 * gfilenamecompleter.c:
1614 * gpollfilemonitor.c:
1615 File attribute renames:
1617 fs:: -> filesystem::
1618 id::fs -> id::filesystem
1620 2007-12-20 Alexander Larsson <alexl@redhat.com>
1629 Add GMountUnmountFlags to all unmount and
1631 Add g_mount_remount() call.
1633 2007-12-20 Alexander Larsson <alexl@redhat.com>
1635 * gvfs.c (get_default_vfs):
1636 Fix unused variable warning
1638 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1640 * pltcheck.sh: Update
1642 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1644 * gunionvolumemonitor.c:
1645 * gunixmount.c: Remove C99 comments
1647 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1649 * gio.symbols: Add some missing symbols
1651 2007-12-19 Alexander Larsson <alexl@redhat.com>
1654 Make g_io_modules_load_all_in_directory not unuse
1655 loaded modules so that users of it can do stuff
1657 Init internal "module" types.
1658 Initialize static prio and name for types so that
1659 we don't have to load modules to get it.
1661 * gnativevolumemonitor.h:
1663 Move is_supported to parent class so that
1664 non-native monitors can avoid being initialized
1665 too. (For instance GDaemonVolumeMonitor if we're
1666 not using GDaemonVfs.)
1668 * glocaldirectorymonitor.[ch]:
1669 * glocalfilemonitor.[ch]:
1670 * gunionvolumemonitor.c:
1671 * gunixvolumemonitor.c:
1673 Find plugins using the static prio+name to
1674 avoid unnecessarily loading the modules.
1676 2007-12-19 Alexander Larsson <alexl@redhat.com>
1681 2007-12-19 Alexander Larsson <alexl@redhat.com>
1683 * gunionvolumemonitor.c:
1684 Store the native type as GType, not class so that
1685 we can unload it. But still avoid unnecessarily
1688 2007-12-19 David Zeuthen <davidz@redhat.com>
1690 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1691 add signals 'disconnected' and 'eject-button' on GDrive. Add
1692 signal 'removed' on GVolume and 'unmounted' on GMount.
1694 * gdrive.c: (g_drive_base_init):
1696 * gfile.c: (g_file_mount_mountable),
1697 (g_file_mount_enclosing_volume):
1700 * gmount.c: (g_mount_base_init):
1702 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1703 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1704 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1708 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1710 * *.c: Fix up includes in the section docs.
1712 2007-12-17 Alexander Larsson <alexl@redhat.com>
1714 * gnativevolumemonitor.h:
1715 * gunionvolumemonitor.c:
1716 * gunixvolumemonitor.c:
1717 Add is_supported() to GNativeVolumeMonitorClass so
1718 that we can avoid having to create an object to see
1719 if the backend is supported at runtime.
1720 Also add name member and an env var to pick a specific
1721 volume monitor backend.
1725 Add cancellable to _g_mount_get_for_mount_path()
1727 * glocaldirectorymonitor.c:
1728 * glocalfilemonitor.c:
1729 Avoid loading and unloading modules while sorting.
1731 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1734 * gunixmounts.[hc]: Namespace waste reduction, move some
1735 g_get_unix_mount functions to the g_unix_mount namespace.
1738 * gunixvolumemonitor.c:
1740 * glocaldirectorymonitor.c: Update all callers.
1742 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1744 2007-12-17 Alexander Larsson <alexl@redhat.com>
1747 Add doc comments about what GFile operations are
1748 guaranteed to not block.
1750 2007-12-17 Alexander Larsson <alexl@redhat.com>
1753 Add missing #ifdef fixing OSX build.
1754 (#503334, patch from Richard Hult)
1756 2007-12-14 David Zeuthen <davidz@redhat.com>
1760 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1761 (g_mount_eject), (g_mount_eject_finish):
1763 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1764 (get_volume_for_uuid), (get_mount_for_uuid),
1765 (g_union_volume_monitor_class_init),
1766 (get_default_native_type_with_exclude), (get_default_native_type),
1767 (get_native_type), (update_native_type),
1768 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1769 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1770 (g_unix_mount_can_eject), (eject_unmount_cb),
1771 (eject_unmount_read_error), (eject_unmount_do),
1772 (g_unix_mount_unmount), (g_unix_mount_eject),
1773 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1774 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1775 (g_unix_mount_point_guess_can_eject):
1777 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1778 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1779 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1780 (g_unix_volume_mount), (g_unix_volume_eject),
1781 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1782 * gunixvolumemonitor.c: (get_volume_for_uuid),
1783 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1785 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1786 (g_volume_eject), (g_volume_eject_finish):
1788 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1789 (g_volume_monitor_get_mount_for_uuid):
1792 Provide eject() on both GMount and GVolume and utility functions
1793 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1794 ejected. Introduce the concept of UUID's and wire it into GVolume
1795 and GMount and provide API on GVolumeMonitor to find such
1796 instances. Also handle the case where an external
1797 GNativeVolumeMonitor fails to initialize. Lock around the
1798 _g_get_mount_for_mount_path() function such that volume monitor
1799 implementations won't have to do locking themselves.
1801 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1803 * gdesktopappinfo.c:
1809 * gvolume.h: Documentation updates
1811 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1814 * gfile.h: Doc updates
1816 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1819 * gdesktopappinfo.c: Use hash table iterators.
1821 2007-12-14 Alexander Larsson <alexl@redhat.com>
1824 * gfileattribute.[ch]:
1825 * gfileattribute-priv.h:
1826 Move GFileAttributeValue to a private header, as
1830 Make set_attribute take a type + a pointer instead
1831 of a GFileAttributeValue.
1834 Fix up for above changes.
1835 Add g_file_info_get_attribute_data to get
1836 all info in one call, g_file_info_get_attribute_status
1837 to get the status and g_file_info_get_attribute_as_string.
1841 * glocalfileinfo.[ch]:
1845 Make _guess_type static.
1847 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1850 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1851 made mkenums and friends use temporary files to avoid leaving
1852 empty generated files on failure (#503470).
1854 2007-12-14 Alexander Larsson <alexl@redhat.com>
1856 * gmountoperation.h:
1859 2007-12-14 Alexander Larsson <alexl@redhat.com>
1863 * gfileattribute.[ch]:
1866 * glocalfileoutputstream.c:
1867 * gmountoperation.[ch]:
1868 * goutputstream.[ch]:
1869 Clean up all flags enums to not have _FLAGS in them
1870 Make the names of some of the enums better.
1875 2007-12-14 Michael Natterer <mitch@imendio.com>
1877 * gio.symbols: fix g_io_scheduler symbol names.
1879 2007-12-14 Alexander Larsson <alexl@redhat.com>
1885 * gbufferedinputstream.h:
1886 * gbufferedoutputstream.h:
1889 * gdatainputstream.h:
1890 * gdataoutputstream.h:
1891 * gdesktopappinfo.h:
1892 * gdirectorymonitor.h:
1896 * gfileenumerator.h:
1899 * gfileinputstream.h:
1901 * gfilenamecompleter.h:
1902 * gfileoutputstream.h:
1903 * gfilterinputstream.h:
1904 * gfilteroutputstream.h:
1912 * gmemoryinputstream.h:
1913 * gmemoryoutputstream.h:
1915 * gmountoperation.h:
1918 * gsimpleasyncresult.h:
1920 * gunixinputstream.h:
1922 * gunixoutputstream.h:
1926 * inotify/Makefile.am:
1927 Only allow including <gio/gio.h> from apps
1929 2007-12-14 Alexander Larsson <alexl@redhat.com>
1931 * gioscheduler.[ch]:
1932 * gsimpleasyncresult.c:
1933 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1934 Split out the send_to_mainloop call into two versions instead
1935 of having the block argument.
1937 2007-12-13 Alexander Larsson <alexl@redhat.com>
1939 * gcancellable.[ch]:
1941 * gbufferedinputstream.c:
1942 * gfileenumerator.c:
1943 * gfileinputstream.c:
1944 * gfileoutputstream.c:
1948 g_push/pop_current_cancellable ->
1949 g_cancellable_push/pop_current
1951 2007-12-13 Alexander Larsson <alexl@redhat.com>
1955 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1957 2007-12-13 Alexander Larsson <alexl@redhat.com>
1959 * gmountoperation.h:
1960 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1962 2007-12-12 Alexander Larsson <alexl@redhat.com>
1965 Fix race condition when freeing proxy in
1966 g_io_job_send_to_mainloop().
1968 2007-12-12 Alexander Larsson <alexl@redhat.com>
1974 Make attribute namespace separator "::" instead of ":".
1975 Use - instead of _ as separator in attribute names.
1977 2007-12-12 Alexander Larsson <alexl@redhat.com>
1979 * gbufferedinputstream.h:
1980 * gbufferedoutputstream.h:
1981 * gdatainputstream.h:
1982 * gdataoutputstream.h:
1983 * gdirectorymonitor.h:
1984 * gfileenumerator.h:
1985 * gfileinputstream.h:
1987 * gfileoutputstream.h:
1988 * gfilterinputstream.h:
1989 * gfilteroutputstream.h:
1991 * glocalfileinputstream.h:
1992 * glocalfileoutputstream.h:
1993 * gmemoryinputstream.h:
1994 * gmemoryoutputstream.h:
1995 * gnativevolumemonitor.h:
1997 * gunixinputstream.h:
1998 * gunixoutputstream.h:
2001 s/parent/parent_instance/ in GObjects
2003 2007-12-12 Alexander Larsson <alexl@redhat.com>
2008 No need for padding for interfaces
2010 2007-12-12 Alexander Larsson <alexl@redhat.com>
2014 * gbufferedinputstream.c:
2015 * gbufferedoutputstream.c:
2018 * gdatainputstream.[ch]:
2019 * gdesktopappinfo.c:
2020 * gdirectorymonitor.c:
2022 * gfileattribute.[ch]:
2025 * gfileinputstream.h:
2026 * gfilemonitor.[ch]:
2027 * gfileoutputstream.[ch]:
2028 * gfilterinputstream.h:
2029 * gfilteroutputstream.h:
2032 * gloadableicon.[ch]:
2033 * gmemoryinputstream.c:
2034 * gmountoperation.c:
2036 Fix up a bunch of details in the docs.
2041 2007-12-11 David Zeuthen <davidz@redhat.com>
2043 Rework how volumes, drives and volume monitoring is
2044 done. Previosly the model was
2046 GDrive <1-1> GVolume
2048 where a GDrive instance represented a mount point and a GVolume
2049 instance represented a mounted file system. This patch changes it
2052 GDrive <1-N> GVolume <1-1> GMount
2054 where GMount now serves the purpose of the old GVolume and the new
2055 GVolume serves the purpose of the old GDrive. In addition the new
2056 GDrive interface is used to represent a collection of GVolume
2057 instances (typically partitions) and also contains utility to query
2058 the state of the physical drive the GDrive object represents (such
2059 as checking for media, polling the drive, ejecting the media etc.).
2061 Also implement mounting and unmounting in the Unix volume monitor
2062 backend. A subquent patch will introduce GDrive support for ejection
2066 * gdrive.c: (g_drive_is_media_check_automatic),
2067 (g_drive_is_media_removable), (g_drive_has_media),
2068 (g_drive_can_poll_for_media), (g_drive_eject),
2069 (g_drive_eject_finish), (g_drive_poll_for_media),
2070 (g_drive_poll_for_media_finish):
2072 * gfile.c: (g_file_find_enclosing_mount):
2075 * glocaldirectorymonitor.c:
2076 (g_local_directory_monitor_constructor), (mounts_changed):
2077 * glocalfile.c: (get_mount_info),
2078 (g_local_file_find_enclosing_mount),
2079 (g_local_file_file_iface_init):
2080 * gnativevolumemonitor.h:
2081 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2082 (get_connected_drives), (g_union_volume_monitor_class_init),
2083 (child_volume_added), (child_volume_removed),
2084 (child_volume_changed), (child_mount_added), (child_mount_removed),
2085 (child_mount_pre_unmount), (child_mount_changed),
2086 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2087 (g_union_volume_monitor_remove_monitor),
2088 (_g_mount_get_for_mount_path):
2089 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2090 (guess_system_internal), (_g_get_unix_mounts),
2091 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2092 (g_unix_mount_free), (g_unix_mount_compare),
2093 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2094 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2095 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2096 (type_to_icon), (g_unix_mount_guess_name),
2097 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2098 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2099 (_resolve_symlink), (_resolve_dev_root):
2101 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2102 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2103 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2104 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2105 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2106 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2107 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2108 (g_unix_volume_volume_iface_init):
2110 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2111 (get_mounts), (get_volumes), (get_connected_drives),
2112 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2113 (mountpoints_changed), (mounts_changed),
2114 (g_unix_volume_monitor_init),
2115 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2116 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2117 * gunixvolumemonitor.h:
2118 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2119 (g_volume_mount), (g_volume_mount_finish):
2121 * gvolumemonitor.c: (g_volume_monitor_class_init),
2122 (g_volume_monitor_get_connected_drives),
2123 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2126 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2128 * gmountoperation.h (GPasswordFlags): Close the gap
2130 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2132 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2134 * gdesktopappinfo.[hc]: Remove _-prefixes
2136 2007-12-10 Tor Lillqvist <tml@novell.com>
2138 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2141 2007-12-10 Alexander Larsson <alexl@redhat.com>
2143 * gfile.c (g_file_set_display_name):
2144 Don't hardcode '/' (#502727)
2146 2007-12-09 Hans Breuer <hans@breuer.org>
2148 * makefile.msc : follow lib naming convention
2149 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2150 for user and group name, tested with ../tests/gio-ls
2152 2007-12-09 A. Walton <awalton@svn.gnome.org>
2154 * gdesktopappinfo.c:
2160 * gfileenumerator.c:
2165 * gmemoryinputstream.c:
2166 * gmemoryoutputstream.c:
2168 * gsimpleasyncresult.c:
2169 More documentation cleanup and filling in missing information, bringing
2170 GIO to 99% symbol coverage.
2172 2007-12-08 Hans Breuer <hans@breuer.org>
2174 [gio compiles and links on win32, not sure how much already works]
2175 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2176 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2177 base on win32 API; prefer g_lstat() over lstat(); instead of
2178 localtime_r() use an all GLib implementation on win32;
2179 get_mount_info() still needs a win32 specifc implementation
2180 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2181 win32_get_file_user_info to get owner/group info without uid/gid
2182 * glocalfileinputstream.c : include <io.h> on win32
2183 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2184 definition, use g_win32_ftruncate() for G_OS_WIN32
2185 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2186 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2187 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2188 * makefile.msc : updated
2190 2007-12-07 Alexander Larsson <alexl@redhat.com>
2192 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2193 Avoid warning spew if error == NULL
2195 2007-12-07 Alexander Larsson <alexl@redhat.com>
2198 Update docs wrt etags
2200 2007-12-06 Alexander Larsson <alexl@redhat.com>
2203 Include sys/types.h for dev_t (#501919)
2205 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2209 Make abicheck and pltcheck pass.
2211 2007-12-05 Alexander Larsson <alexl@redhat.com>
2214 * giomodule-priv.h: Added.
2215 * glocaldirectorymonitor.c:
2216 * glocalfilemonitor.c:
2217 * gunionvolumemonitor.c:
2219 Actually add the declaration of _g_io_modules_ensure_loaded
2221 2007-12-05 Alexander Larsson <alexl@redhat.com>
2223 * gdatainputstream.c:
2228 * glocaldirectorymonitor.c:
2229 * glocalfilemonitor.c:
2230 * gunionvolumemonitor.c:
2232 Make g_io_modules_ensure_loaded a private function and
2233 don't pass in the dirname. This means we can do magic
2234 directory finding in the win32 version.
2235 Export the actual load-modules-in-directory code so that
2236 gvfs can reuse that.
2238 2007-12-05 Alexander Larsson <alexl@redhat.com>
2240 * gbufferedinputstream.c:
2241 * gbufferedoutputstream.c:
2244 * gfileenumerator.[ch]:
2245 * gfileinputstream.c:
2246 * gfileoutputstream.[ch]:
2247 * gfilterinputstream.c:
2248 * gfilteroutputstream.c:
2249 * ginputstream.[ch]:
2251 * glocalfileenumerator.c:
2252 * glocalfileinputstream.c:
2253 * glocalfileoutputstream.c:
2254 * gmemoryinputstream.c:
2255 * gmemoryoutputstream.c:
2256 * goutputstream.[ch]:
2259 * gunixinputstream.c:
2260 * gunixoutputstream.c:
2261 Rename all struct members named:
2262 read, write, close, truncate, or mount
2263 to foo_fn, as these are reserved names
2264 and could be defined as macros in libc.
2267 2007-12-04 Alexander Larsson <alexl@redhat.com>
2270 (g_output_stream_close):
2271 Only call flush if non-null.
2273 2007-11-30 Dan Winship <danw@gnome.org>
2275 * ginputstream.c (g_input_stream_set_pending): Make this take a
2276 GError and return a gboolean, and do the "outstanding operation"
2277 check (and the "stream is already closed" check) itself.
2278 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2280 * goutputstream.c (g_output_stream_set_pending)
2281 (g_output_stream_clear_pending): Likewise
2283 * gbufferedinputstream.c:
2284 * gfileinputstream.c:
2285 * gfileoutputstream.c: Update for that
2287 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2288 Like g_simple_async_report_error_in_idle, but takes a GError
2289 rather than building one.
2291 2007-11-30 Dan Winship <danw@gnome.org>
2293 * goutputstream.c: Don't cheat and unset the "pending" flag around
2294 inner calls. Instead, call the class method directly rather than
2295 the wrapper function that checks "pending"
2297 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2299 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2301 2007-12-03 Hans Breuer <hans@breuer.org>
2303 [start of port to win32/msvc]
2304 * gcancellable.c : HAVE_UNIST_H and _pipe()
2305 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2306 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2307 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2309 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2310 * glocalvfs.c : use HAVE_PWD_H
2311 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2312 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2313 * Makefile.am : added to EXTRA_DIST
2315 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2317 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2320 2007-12-03 Alexander Larsson <alexl@redhat.com>
2323 Handle OSX style xattrs API (#500506)
2325 2007-12-03 Alexander Larsson <alexl@redhat.com>
2329 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2331 2007-12-02 A. Walton <awalton@svn.gnome.org>
2335 Documentation accuracy fixes.
2337 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2339 * gioenumtypes.c.template: Fix typo.
2341 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2343 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2345 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2347 * gdirectorymonitor.c:
2348 * gfilemonitor.c: Add properties
2350 * gbufferedoutputstream.c: Don't mark buffer-size property
2353 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2355 * gbufferedoutputstream.c: Add auto-grow property.
2357 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2359 * *.c: Unify the capitalization of section headings.
2361 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2363 * gmountoperation.c: Add properties
2365 * gdatainputstream.c: Turn byte-order and newline-type into
2368 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2370 * gioenumtypes.[hc].template: Templates for enum registration
2372 * Makefile.am: Generate gioenumtypes.[hc]
2374 * gio.h: Include gioenumtypes.h
2376 * gfile.h: Add some explicit nicks.
2378 * gio.symbols: Add new symbols
2380 * pltcheck.sh: Adjust
2382 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2384 * *.c: Explain etags and link to the explanation
2386 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2388 * *.c: Explain I/O priority.
2390 * *.c: More coding style fixes.
2392 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2394 * gasyncresult.c: Add another paragraph to the intro,
2395 adjust coding style of example.
2397 2007-11-29 A. Walton <awalton@svn.gnome.org>
2400 Fixes unknown meaning in GAppLaunchContext docs.
2402 Clarify asynchronous ops.
2404 Fix entity tag docs.
2407 Provides missing gtk-doc section, fixes API docs slighly.
2408 * gsimpleasyncresult.c:
2409 Fill in missing info in docs.
2410 * gunixinputstream.c:
2411 * gunixoutputstream.c:
2412 Be more expressive in short description.
2414 Remove gtk-doc stubs for non-public API.
2416 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2418 * *.c: Coding style fixups
2420 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2422 * inotify/inotify-helper.c: Don't export the lock from libgio.
2424 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2427 * abicheck.sh: Fix copy-and-paste leftovers
2429 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2431 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2433 2007-11-28 Alexander Larsson <alexl@redhat.com>
2437 Removed unnecessary file
2439 * gdesktopappinfo.[ch]:
2442 * glocaldirectorymonitor.[ch]:
2444 * glocalfileenumerator.[ch]:
2445 * glocalfileinputstream.[ch]:
2446 * glocalfilemonitor.[ch]:
2447 * glocalfileoutputstream.[ch]:
2449 * gnativevolumemonitor.c:
2450 * gpollfilemonitor.[ch]:
2451 * gunionvolumemonitor.[ch]:
2454 * gunixvolumemonitor.[ch]:
2457 * inotify/ginotifydirectorymonitor.[ch]:
2458 * inotify/ginotifyfilemonitor.[ch]:
2459 * inotify/inotify-helper.c:
2460 Append _ to all internal functions
2464 Export symbols needed for modules
2466 2007-11-28 Alexander Larsson <alexl@redhat.com>
2469 * abicheck.sh: Added.
2470 * makegioalias.pl: Added.
2471 * pltcheck.sh: Added.
2472 * gio.symbols: Added.
2475 Initial work on adding symbol handling.
2478 Correct ifdef guard name
2481 * inotify/Makefile.am:
2482 * xdgmime/Makefile.am:
2483 Include toplevel Makefile.decl
2485 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2487 * gcontenttype.c: Move doc comments to the unix section.
2489 * *.[hc]: More trivial doc corrections.
2491 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2493 * gpollfilemonitor.c:
2497 * gdesktopappinfo.c:
2502 * gdatainputstream.c:
2503 * gdatainputstream.h:
2504 * gdataoutputstream.c:
2505 * gdataoutputstream.h:
2506 * gfileinfo.h: Doc cleanups
2508 2007-11-28 Andre Klapper <a9016009@gmx.de>
2510 * gdesktopappinfo.c: Fix a typo.
2512 2007-11-27 Andre Klapper <a9016009@gmx.de>
2514 * glocalfileoutputstream.c: Fix a typo.
2516 2007-11-27 Alexander Larsson <alexl@redhat.com>
2519 Don't include removed headers
2521 2007-11-27 Alexander Larsson <alexl@redhat.com>
2524 * gsocketinputstream.[ch]: Removed.
2525 * gsocketoutputstream.[ch]: Removed.
2526 * gunixinputstream.[ch]: Added.
2527 * gunixoutputstream.[ch]: Added.
2528 Renamed GSocket*Stream to GUnix*Stream and made
2529 it unix-only, since its not really only for sockets
2530 and it only works on unix (but is highly useful there).
2532 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2538 * gbufferedinputstream.c:
2539 * gbufferedinputstream.h:
2540 * gbufferedoutputstream.c:
2541 * gbufferedoutputstream.h:
2545 * gdatainputstream.c:
2546 * gdatainputstream.h:
2547 * gdataoutputstream.c:
2548 * gdataoutputstream.h:
2549 * gdirectorymonitor.c:
2550 * gdirectorymonitor.h:
2557 * gfileenumerator.c:
2558 * gfileenumerator.h:
2563 * gfileinputstream.c:
2564 * gfileinputstream.h:
2567 * gfilenamecompleter.c:
2568 * gfilenamecompleter.h:
2569 * gfileoutputstream.c:
2570 * gfileoutputstream.h:
2571 * gfilterinputstream.c:
2572 * gfilterinputstream.h:
2573 * gfilteroutputstream.c:
2574 * gfilteroutputstream.h:
2587 * glocalfileoutputstream.c:
2588 * gmemoryinputstream.c:
2589 * gmemoryinputstream.h:
2590 * gmemoryoutputstream.c:
2591 * gmemoryoutputstream.h:
2592 * gmountoperation.c:
2593 * gmountoperation.h:
2596 * gpollfilemonitor.c:
2599 * gsimpleasyncresult.c:
2600 * gsimpleasyncresult.h:
2601 * gsocketinputstream.c:
2602 * gsocketinputstream.h:
2603 * gsocketoutputstream.c:
2604 * gsocketoutputstream.h:
2611 * gunixvolumemonitor.c:
2620 Bumps documentation to 93% symbol coverage, touching most
2621 of the public files. Fixes broken function documentation prototypes.
2622 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2623 gtk-doc headers in private files.
2625 2007-11-27 Jürg Billeter <j@bitron.ch>
2627 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2628 (g_buffered_input_stream_read_byte):
2629 * gbufferedinputstream.h:
2630 New functions for efficient access to buffer and simple single byte
2633 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2634 (g_data_input_stream_read_until):
2635 * gdatainputstream.h:
2636 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2637 read_until with multiple stop chars.
2639 2007-11-27 Alexander Larsson <alexl@redhat.com>
2643 * inotify/Makefile.am:
2644 Use the user-specified giomoduledir
2646 2007-11-27 Alexander Larsson <alexl@redhat.com>
2650 Add catch-all gio.h header
2651 Don't install gdummyfile.h
2653 2007-11-26 Alexander Larsson <alexl@redhat.com>
2655 * Makefile.am (gioinclude_HEADERS):
2656 Remove trailing whitespace
2658 2007-11-26 Alexander Larsson <alexl@redhat.com>
2660 Merge gio-standalone into glib
2662 2007-11-25 Christian Kellner <gicmo@gnome.org>
2664 * gio/goutputstream.c:
2665 Fix small mistake in the docs.
2667 2007-11-21 Christian Persch <chpe@gnome.org>
2669 * gio/glocalfile.c: (g_local_file_trash):
2670 Convert filenames to UTF-8 for GError.
2671 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2672 as per xdg base dir spec.
2674 2007-11-21 Christian Persch <chpe@gnome.org>
2676 * gio/gdesktopappinfo.c:
2677 Use that g_key_file_to_data cannot fail.
2679 Use stock defines for the key file group and key names.
2682 2007-11-21 Alexander Larsson <alexl@redhat.com>
2685 (copy_stream_with_progress):
2686 Make sure we do a final progress callback with
2687 the full total size.
2689 2007-11-21 Alexander Larsson <alexl@redhat.com>
2692 Export g_file_copy_attributes
2693 Remove padding as its not needed for interfaces
2695 2007-11-20 Alexander Larsson <alexl@redhat.com>
2700 Add G_IO_ERROR_WOULD_MERGE for
2701 copy/move dir on dir with overwrite.
2703 2007-11-20 Alexander Larsson <alexl@redhat.com>
2706 * gio/glocalfileinfo.c:
2707 Add COPY_NAME (this is an optional
2708 non-modified utf8 version of the name) that
2711 2007-11-20 Alexander Larsson <alexl@redhat.com>
2713 * gio/glocalfileenumerator.c:
2714 Report errors as GIOError, not GFileError
2716 2007-11-16 Alexander Larsson <alexl@redhat.com>
2718 * gio/glocalfileoutputstream.c:
2719 * gio/gwin32appinfo.c:
2720 Fix typos in strings.
2721 Patch from Luca Ferretti <elle.uca@libero.it>
2723 2007-11-15 Alexander Larsson <alexl@redhat.com>
2726 Post release version bump
2728 === gio-standalone 0.1.2 ===
2730 2007-11-15 Alexander Larsson <alexl@redhat.com>
2732 * docs/reference/gio/Makefile.am:
2733 Fix up distcheck by removing weird
2739 2007-11-14 Alexander Larsson <alexl@redhat.com>
2741 * gio/gdesktopappinfo.c:
2742 * gio/glocaldirectorymonitor.c:
2744 * gio/glocalfileinfo.c:
2745 * gio/inotify/inotify-sub.c:
2746 * programs/gio-cat.c:
2747 * programs/gio-copy.c:
2748 * programs/gio-info.c:
2749 * programs/gio-ls.c:
2750 * programs/gio-monitor-dir.c:
2751 * programs/gio-monitor-file.c:
2752 * programs/gio-mount.c:
2753 * programs/gio-move.c:
2754 * programs/gio-rm.c:
2755 * programs/gio-save.c:
2756 * programs/gio-trash.c:
2757 Leak fixes from Kjartan Maraas
2759 2007-11-14 Alexander Larsson <alexl@redhat.com>
2761 * gio/fam/fam-helper.c:
2763 * gio/glocalfileinfo.c:
2767 * gio/inotify/inotify-diag.c:
2768 * gio/inotify/inotify-kernel.c:
2769 Various code cleanups from Kjartan Maraas
2771 2007-11-14 Alexander Larsson <alexl@redhat.com>
2773 * gio/gioscheduler.c:
2775 Set up threadpool so that we cache 2 unused
2776 idle threads for at 15 secs. This means we
2777 will reuse thread-local data (like dbus connections)
2780 2007-11-14 Alexander Larsson <alexl@redhat.com>
2782 * gio/fam/fam-helper.c:
2783 * gio/fam/gfamdirectorymonitor.c:
2784 * gio/fam/gfamfilemonitor.c:
2786 * gio/gcontenttype.c:
2787 * gio/gdatainputstream.c:
2788 * gio/gdataoutputstream.c:
2792 * gio/gfileattribute.h:
2793 * gio/gfileenumerator.c:
2795 * gio/ginputstream.c:
2798 * gio/glocalfileinfo.c:
2799 * gio/goutputstream.c:
2800 * gio/gpollfilemonitor.c:
2801 * gio/gsimpleasyncresult.c:
2802 * gio/gunixmounts.c:
2803 * gio/gunixmounts.h:
2804 * gio/inotify/ginotifydirectorymonitor.c:
2805 * gio/inotify/ginotifyfilemonitor.c:
2806 * gio/inotify/inotify-diag.c:
2807 * gio/inotify/inotify-kernel.c:
2808 * gio/inotify/inotify-path.c:
2810 * gio/test-streams.c:
2811 * programs/gio-info.c:
2812 * programs/gio-monitor-dir.c:
2813 * programs/gio-monitor-file.c:
2814 Various code cleanups from Kjartan Maraas
2816 2007-11-13 Alexander Larsson <alexl@redhat.com>
2819 Handle the uri-scheme calls for dummy files
2821 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2823 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2824 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2825 to avoid clash with the C++ keyword.
2827 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2829 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2830 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2832 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2834 * gio/glocaldirectorymonitor.c:
2835 * gio/glocalfilemonitor.c:
2836 * gio/gunionvolumemonitor.c:
2837 Don't use g_once_init_*() for initializations that could fail and
2838 could leave the initialization variable set to 0 but use GOnce.
2839 This prevents a deadlock on the second call when trying to create
2840 a monitor and no monitor type is available. Thanks to Sven Herzberg
2843 2007-11-11 Sven Herzberg <sven@imendio.com>
2845 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2846 #ifdef (make it work on MacOS X again)
2848 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2850 Fixes Changelog for last two commits (sorry guys).
2852 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2854 * gio/gbufferedinputstream.c:
2855 * gio/gdatainputstream.c:
2857 * gio/gfileoutputstream.c:
2858 * gio/gfilterinputstream.c:
2859 * gio/glocalfileinputstream.c:
2862 More consistency fixes in g*stream.c files.
2863 Significant clean of gfile's documentation, filling in of
2864 asynchronous operations documentation.
2866 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2868 * gio/gasyncresult.c:
2869 * gio/gbufferedinputstream.c:
2870 * gio/gbufferedoutputstream.c:
2871 * gio/gcancellable.c:
2872 * gio/gcontenttype.c:
2873 * gio/gdatainputstream.c:
2874 * gio/gdataoutputstream.c:
2875 * gio/gdesktopappinfo.c:
2878 * gio/gfileattribute.c:
2879 * gio/gio/gfileenumerator.c:
2881 * gio/gfileinputstream.c:
2882 * gio/gfilemonitor.c:
2883 * gio/gfileoutputstream.c:
2884 * gio/ginputstream.c:
2886 * gio/gioscheduler.c:
2887 * gio/gloadableicon.c:
2888 * gio/glocalfileoutputstream.c:
2889 * gio/gmemoryoutputstream.c:
2890 * gio/gmountoperation.c:
2891 * gio/goutputstream.c:
2893 * gio/gsimpleasyncresult.c:
2894 * gio/gunionvolumemonitor.c:
2895 * gio/gunixmounts.c:
2896 * gio/gunixvolume.c:
2900 * gio/gvolumemonitor.c:
2901 Updated documentation stubs, working towards consistency and
2904 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2906 * gio/gmemoryoutputstream.c:
2907 * gio/gmemoryoutputstream.h:
2908 Change g_memory_output_stream_set_free_on_close() to
2909 g_memory_output_stream_set_free_data() as this makes more sense and
2910 is more consistent with GMemoryInputStream.
2912 2007-11-07 Alexander Larsson <alexl@redhat.com>
2919 Change how we find the default vfs so that
2920 we can handle a gvfs failing to init
2922 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2924 * gio/gbufferedoutputstream.c:
2925 * gio/gdatainputstream.c:
2926 * gio/gdataoutputstream.c:
2927 * gio/gfileinputstream.c:
2928 * gio/gfileoutputstream.c:
2929 * gio/gfilterinputstream.c:
2930 * gio/gfilteroutputstream.c:
2931 * gio/ginputstream.c:
2932 * gio/gmemoryinputstream.c:
2933 * gio/gmemoryoutputstream.c:
2934 * gio/goutputstream.c:
2935 * gio/gsimpleasyncresult.c:
2936 * gio/gsocketinputstream.c:
2937 * gio/gsocketoutputstream.c:
2938 Add guards to the remaining public functions, add a TODO for
2939 an unimplemented function and remove some useless guards.
2941 2007-11-07 Alexander Larsson <alexl@redhat.com>
2944 Autoconf checks for the various types of
2945 getpwuid_r and getgrgid_r
2947 * gio/glocalfileinfo.c:
2948 Use the autoconf checks from above
2950 2007-11-07 Alexander Larsson <alexl@redhat.com>
2953 (g_local_file_query_filesystem_info):
2954 Some fixes for the statvfs case
2956 2007-11-07 Alexander Larsson <alexl@redhat.com>
2959 (g_local_file_query_filesystem_info):
2960 Pick the "best" of statfs / statvfs for the system
2961 if both are availible.
2963 2007-11-07 Alexander Larsson <alexl@redhat.com>
2965 Solaris fixes from Halton.Huo@Sun.COM:
2972 * gio/glocalfileinfo.c:
2973 Fix for solaris definition of getpwuid_r
2975 * gio/test-streams.c:
2976 Use G_GNUC_PRETTY_FUNCTION
2978 2007-11-07 Alexander Larsson <alexl@redhat.com>
2980 * gio/gdesktopappinfo.c:
2981 (update_default_list):
2982 Remove double semicolon.
2983 Patch from Jens Granseuer
2985 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2987 * docs/reference/gio/gio-sections.txt:
2988 * gio/gbufferedinputstream.c:
2989 * gio/gbufferedinputstream.h:
2990 * gio/gdatainputstream.c:
2991 * gio/gfileenumerator.c:
2992 * gio/gioscheduler.c:
2993 * gio/gunionvolumemonitor.c:
2995 * programs/gio-save.c:
2996 Fix typo: availible -> available. Unfortuntely this breaks API
2997 and ABI as g_buffered_input_stream_get_available() was renamed.
2999 * gio/gunixmounts.c:
3000 * gio/gbufferedinputstream.c:
3001 Add guards for public functions.
3003 2007-11-06 Ross Burton <ross@openedhand.com>
3005 * docs/reference/gio/Makefile.am:
3006 Fix invalid += usage which automake 1.10 doesn't like.
3008 2007-11-06 Alexander Larsson <alexl@redhat.com>
3011 (g_app_launch_context_class_init):
3014 Patch from Ross Burton
3016 2007-11-06 Alexander Larsson <alexl@redhat.com>
3019 Post release version bump
3021 === gio-standalone 0.1.1 ===
3023 2007-11-06 Alexander Larsson <alexl@redhat.com>
3026 Bump version to 0.1.1
3028 * gio/gsimpleasyncresult.c:
3029 (g_simple_async_result_set_from_error):
3030 Remove bogus g_return_if_fail
3032 2007-11-06 Alexander Larsson <alexl@redhat.com>
3035 The name is gio-standalone
3038 Add top src/builddir to includedir
3040 2007-11-06 Alexander Larsson <alexl@redhat.com>
3042 * docs/reference/gio/gio-sections.txt:
3044 * gio/gbufferedinputstream.c:
3045 * gio/gbufferedoutputstream.c:
3046 * gio/gcancellable.c:
3047 * gio/gdatainputstream.h:
3048 * gio/gdataoutputstream.c:
3049 * gio/gdataoutputstream.h:
3050 * gio/gdirectorymonitor.c:
3052 * gio/gfileattribute.c:
3053 * gio/gfileattribute.h:
3054 * gio/gfileenumerator.c:
3055 * gio/gfileenumerator.h:
3058 * gio/gfileinputstream.h:
3059 * gio/gfilemonitor.c:
3060 * gio/gfileoutputstream.h:
3061 * gio/glocalfilemonitor.h:
3062 * gio/glocalfileoutputstream.h:
3063 * gio/gmemoryinputstream.c:
3064 * gio/gmemoryoutputstream.c:
3065 * gio/gmountoperation.c:
3066 * gio/goutputstream.c:
3067 * gio/goutputstream.h:
3069 * gio/gsimpleasyncresult.c:
3070 * gio/gunixmounts.c:
3071 * gio/gunixmounts.h:
3073 * gio/inotify/inotify-helper.c:
3074 Fix gtk-doc warnings
3076 Patch from Ross Burton
3078 2007-11-06 Alexander Larsson <alexl@redhat.com>
3080 * gio/gfilenamecompleter.c:
3081 (g_filename_completer_get_completions):
3084 * gio/gunixvolume.c:
3085 Remove unused function
3087 Patches from Ross Burton
3089 2007-11-06 Alexander Larsson <alexl@redhat.com>
3094 Padding not needed for interfaces
3096 2007-11-06 Alexander Larsson <alexl@redhat.com>
3098 * gio/gfilemonitor.c:
3102 Make giotypes.h an internal file
3105 * gio/gbufferedinputstream.h:
3106 * gio/gbufferedoutputstream.h:
3107 * gio/gcancellable.h:
3108 * gio/gdatainputstream.h:
3109 * gio/gdataoutputstream.h:
3110 * gio/gdirectorymonitor.c:
3111 * gio/gdirectorymonitor.h:
3116 * gio/gfileattribute.h:
3117 * gio/gfileenumerator.h:
3122 * gio/gfilemonitor.c:
3123 * gio/gfilemonitor.h:
3124 * gio/gfilenamecompleter.c:
3125 * gio/gfilenamecompleter.h:
3126 * gio/gfilterinputstream.h:
3127 * gio/gfilteroutputstream.h:
3128 * gio/ginputstream.h:
3129 * gio/gmemoryinputstream.h:
3130 * gio/gmemoryoutputstream.h:
3131 * gio/gmountoperation.c:
3132 * gio/gmountoperation.h:
3133 * gio/gnativevolumemonitor.c:
3134 * gio/goutputstream.h:
3137 * gio/gsimpleasyncresult.c:
3138 * gio/gsimpleasyncresult.h:
3139 * gio/gsocketinputstream.h:
3140 * gio/gsocketoutputstream.h:
3141 * gio/gthemedicon.c:
3142 * gio/gthemedicon.h:
3146 * gio/gvolumemonitor.c:
3147 * gio/gvolumemonitor.h:
3148 Add padding in classes where it seems useful
3149 Don't include giotypes.h from public headers
3150 Move in Class definitions into c file where possible
3155 2007-11-06 Alexander Larsson <alexl@redhat.com>
3157 * docs/reference/gio/gio-docs.xml:
3158 Better structure for API docs
3160 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3163 * gio/gloadableicon.c:
3164 * gio/gsimpleasyncresult.c:
3165 * gio/gthemedicon.c:
3166 Add some more guards to public functions. Only files missing are now
3169 2007-11-06 Alexander Larsson <alexl@redhat.com>
3171 * docs/reference/gio/gio-docs.xml:
3172 Remove old files, add missing ones
3174 2007-11-06 Alexander Larsson <alexl@redhat.com>
3176 * docs/reference/gio/gio-sections.txt:
3179 Hide implementation classes
3181 * gio/gdriveprivate.h:
3182 * gio/gvolumeprivate.h:
3183 Remove non-existing function declarations
3185 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3188 Fix compilation warnings and add guards to the new functions.
3190 * gio/gasyncresult.c:
3192 Add guards to the public functions.
3195 Implement get_path().
3197 2007-11-06 Alexander Larsson <alexl@redhat.com>
3199 * gio/gfilenamecompleter.c:
3200 Make g_filename_completer_get_completions
3201 return char ** instead of GList for
3204 * docs/reference/gio/gio-docs.xml:
3205 * docs/reference/gio/gio-sections.txt:
3207 * gio/gasyncresult.c:
3208 * gio/gbufferedinputstream.c:
3209 * gio/gbufferedoutputstream.c:
3210 * gio/gcancellable.c:
3211 * gio/gcontenttype.c:
3212 * gio/gdatainputstream.c:
3213 * gio/gdataoutputstream.c:
3214 * gio/gdesktopappinfo.c:
3215 * gio/gdirectorymonitor.c:
3219 * gio/gfileattribute.c:
3220 * gio/gfileenumerator.c:
3223 * gio/gfileinputstream.c:
3224 * gio/gfilemonitor.c:
3225 * gio/gfilenamecompleter.c:
3226 * gio/gfilenamecompleter.h:
3227 * gio/gfileoutputstream.c:
3228 * gio/gfilterinputstream.c:
3230 * gio/ginputstream.c:
3232 * gio/gioscheduler.c:
3233 * gio/gloadableicon.c:
3234 * gio/glocaldirectorymonitor.c:
3236 * gio/glocalfileinputstream.c:
3237 * gio/glocalfilemonitor.c:
3238 * gio/glocalfileoutputstream.c:
3240 * gio/gmemoryinputstream.c:
3241 * gio/gmemoryoutputstream.c:
3242 * gio/gmountoperation.c:
3243 * gio/goutputstream.c:
3244 * gio/gpollfilemonitor.c:
3246 * gio/gsimpleasyncresult.c:
3247 * gio/gsocketinputstream.c:
3248 * gio/gsocketoutputstream.c:
3249 * gio/gthemedicon.c:
3250 * gio/gunionvolumemonitor.c:
3252 * gio/gunixmounts.c:
3253 * gio/gunixvolume.c:
3254 * gio/gunixvolumemonitor.c:
3258 * gio/gvolumemonitor.c:
3259 * gio/gwin32appinfo.c:
3260 Add (mostly stub) doc strings to public functions.
3261 Patch from Andrew Walton (awalton@gmail.com)
3263 2007-11-06 Alexander Larsson <alexl@redhat.com>
3265 * gio/gappinfo.[ch]:
3266 Added GAppLaunchContext object and pass that to launch.
3267 This allows simple implementation of both
3268 launch-on-screen and startup notification via a gtk+
3269 subclass of GAppLaunchContext
3271 * gio/gdesktopappinfo.c:
3272 Implement GAppLaunchContext API
3274 * gio/gwin32appinfo.c:
3277 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3279 * gio/gmountoperation.c:
3280 Add some guards to GMountOperation's public functions.
3282 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3286 * gio/gcancellable.c:
3287 * gio/gdirectorymonitor.c:
3289 * gio/gfileenumerator.c:
3290 * gio/gfilemonitor.c:,
3291 * gio/gfilenamecompleter.c:
3294 * gio/gioscheduler.c:
3298 * gio/gvolumemonitor.c:
3299 Add even more guards to various public functions.
3301 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3304 Add guards to the public functions of GAppInfo.
3306 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3308 * gio/gcontenttype.c:
3309 Add some more guards for public functions.
3311 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3313 * gio/fam/fam-module.c:
3314 * gio/fam/gfamdirectorymonitor.c:
3315 * gio/fam/gfamdirectorymonitor.h:
3316 * gio/fam/gfamfilemonitor.c:
3317 * gio/fam/gfamfilemonitor.h:
3318 * gio/inotify/ginotifydirectorymonitor.c:
3319 * gio/inotify/ginotifydirectorymonitor.h:
3320 * gio/inotify/ginotifyfilemonitor.c:
3321 * gio/inotify/ginotifyfilemonitor.h:
3322 Add proper copyright information and remove an unused variable
3323 in the GInotifyFileMonitor constructor.
3325 * gio/gcancellable.c:
3326 Add a guard for a public function and an assertion to prevent
3327 an undefined program state.
3329 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3331 * gio/gfileattribute.c:
3332 Don't run into an assertion if the given attribute value is NULL
3333 in g_file_attribute_value_get_*() but instead return a fallback
3334 value that makes sense in most situations. Passing them a attribute
3335 value with the wrong type will still run into an assertion.
3337 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3339 * gio/gfileattribute.c:
3341 Add even more guards to the public functions. Also fix the refcounting
3342 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3343 let g_file_info_list_attributes() filter the attributes by namespace
3344 instead of simply ignoring the namespace parameter.
3346 2007-11-03 Sven Herzberg <sven@imendio.com>
3348 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3349 (This makes gio work on MacOS X again)
3351 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3354 Build the gio subdirectory before the docs. Otherwise the build will
3357 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3358 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3359 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3360 Add guards to the public functions.
3362 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3364 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3365 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3366 to prevent a compiler warning.
3368 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3369 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3370 return something in the non-void function find_topdir_for().
3372 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3379 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3381 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3382 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3383 * gwin32appinfo.c (g_win32_app_info_launch):
3384 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3385 envp_for_startup_id, g_desktop_app_info_launch,
3386 g_desktop_app_info_launch_uris):
3388 Give an opaque 'startup_id' string instead of 'envp'.
3389 Support empty file lists for launching new windows.
3390 Fix infinite recursion bug when launching URIs.
3392 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3395 Add guard to the new g_file_get_uri_scheme() function.
3397 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3400 Convert a g_return_val_if_fail() to setting the GError instead as
3401 otherwise applications have to verify the parameter before otherwise
3402 and the parameter might come directly from the user.
3404 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3406 * gio/inotify/ginotify*.[ch]:
3407 Add missing copyright information.
3409 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3412 Add guards in the beginning of public functions to check for valid
3413 parameters and fix a bug in copy_stream_with_progress() that could've
3414 caused writing less bytes than reading.
3415 * gio/glocalfileinfo.c:
3416 Check for a NULL parameter and set the GError accordingly then.
3417 * gio/goutputstream.c:
3418 Fix the same bug as in gfile.c that could've caused writing less bytes
3419 than reading in g_output_stream_real_splice().
3421 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3424 Use the correct gvolumeprivate.h naming
3426 2007-11-01 Christian Kellner <gicmo@gnome.org>
3429 Remove leftover "$(daemon_sources)" entry.
3431 2007-11-01 Christian Kellner <gicmo@gnome.org>
3436 Add copyright information to source files.
3438 2007-11-01 Alexander Larsson <alexl@redhat.com>
3442 Add g_file_get_uri_scheme
3444 2007-11-01 Alexander Larsson <alexl@redhat.com>
3447 * gio/gdesktopappinfo.c:
3448 * gio/gwin32appinfo.c:
3449 Add g_app_info_get_default_for_uri_scheme.
3451 2007-11-01 Alexander Larsson <alexl@redhat.com>
3454 Correct filename for gdriveprivate.h
3456 2007-10-31 Alexander Larsson <alexl@redhat.com>
3459 Rename id:value to id:file
3462 * gio/glocalfileinfo.c:
3465 2007-10-31 Alexander Larsson <alexl@redhat.com>
3467 * gio/gunixvolume.c:
3469 Remove g_volume_get_platform_id, as thats not
3470 needed with the simpler union volume monitor
3472 2007-10-31 Alexander Larsson <alexl@redhat.com>
3475 * gio/guniondrive.[ch]: Removed.
3476 * gio/gunionvolume.[ch]: Removed.
3477 Remove GUnionDrive/Volume
3479 * gio/gunionvolumemonitor.c:
3480 Simplify union volume monitor, now we
3481 only have one native volume monitor and
3482 we use the actual volumes/drives from the
3483 child monitors instead of wrapping them
3485 * gio/gnativevolumemonitor.[ch]:
3486 Base class for native volume monitors.
3487 Includes priority and get_volume_for_mountpoint
3490 Add g_file_find_enclosing_volume
3493 Remove volume name fs attribute
3494 Add readonly fs attribute
3497 Implement readonly attribute
3498 remove volume name attribute
3499 Implement find_enclosing volume
3501 * gio/gunixmounts.c:
3502 Add a volume for "/".
3504 * gio/gunixvolume.[ch]:
3505 Set better name for /
3507 * gio/gunixvolumemonitor.[ch]:
3508 Derive from GNativeVolumeMonitor
3509 Implement get_volume_for_mountpoint
3512 GVolume typedef moved to gfile.h
3514 * gio/gvolumeprivate.h:
3515 Add g_volume_get_for_mount_path
3517 2007-10-31 Alexander Larsson <alexl@redhat.com>
3519 * gio/gunixmounts.[ch]:
3520 Add cache info to unix mount listers
3521 Make getmntent use threadsafe
3522 Add is_system_internal attribute for GUnixMount
3524 * gio/gunixvolume.c:
3525 (g_unix_volume_new):
3526 Use is_system_internal instead of own code
3528 * gio/glocaldirectorymonitor.c:
3529 * gio/gunixvolumemonitor.c:
3530 Update to new gunixmounts API
3535 2007-10-30 Alexander Larsson <alexl@redhat.com>
3538 Add volume name fsinfo attribute
3541 Read volume name info
3543 * gio/gunionvolumemonitor.c:
3544 Fix infinite loops when finalizing a union volume monitor
3546 2007-10-30 Alexander Larsson <alexl@redhat.com>
3548 * gio/goutputstream.[ch]:
3549 Add splice() with default implementation
3551 * gio/gsocketoutputstream.c:
3552 (g_socket_output_stream_write):
3553 Return error on cancellation correctly.
3555 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3557 * gio/glocalfile.c (g_local_file_trash):
3558 Do not leak a string.
3560 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3562 * gio/gfile.c (g_file_load_contents):
3563 Unref the stream after closing it.
3565 2007-10-25 Alexander Larsson <alexl@redhat.com>
3567 * gio/gioscheduler.h:
3570 2007-10-25 Alexander Larsson <alexl@redhat.com>
3574 Add g_file_has_uri_scheme and implement for local files
3576 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3578 * gio/gdesktopappinfo.c: do not leak a string.
3580 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3582 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3583 (g_local_directory_monitor_new):
3584 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3585 (g_local_file_monitor_new):
3586 Only look for the monitor type that should be used the first time
3587 and use g_qsort_with_data() instead of our own bubble sort
3590 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3593 * gio/fam/Makefile.am:
3594 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3595 * gio/fam/fam-helper.h:
3596 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3597 * gio/fam/gfamdirectorymonitor.c:
3598 * gio/fam/gfamdirectorymonitor.h:
3599 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3600 * gio/fam/gfamfilemonitor.h:
3601 * gio/glocaldirectorymonitor.c:
3602 * gio/glocaldirectorymonitor.h:
3603 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3604 * gio/glocalfilemonitor.h:
3605 * gio/inotify/Makefile.am:
3606 * gio/inotify/ginotifydirectorymonitor.c:
3607 * gio/inotify/ginotifydirectorymonitor.h:
3608 * gio/inotify/ginotifyfilemonitor.c:
3609 * gio/inotify/ginotifyfilemonitor.h:
3610 Implement the FAM and Inotify monitors as
3611 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3612 their own GIO module. GLocal(Directory|File)Monitor will use the
3613 monitor with the highest rank that is supported on that machine.
3615 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3618 Change GIO module dir to $(libdir)/gio/modules and change
3619 the log domain from GVFS to GIO. Also only export symbols starting
3620 with g_ in the resulting library.
3621 * gio/test-streams.c: (main):
3622 Set log handler for the GIO log domain.
3624 2007-10-22 Alexander Larsson <alexl@redhat.com>
3626 * gio/gfilenamecompleter.[ch]:
3627 Add g_filename_completer_set_dirs_only
3629 2007-10-22 Alexander Larsson <alexl@redhat.com>
3632 * gio/gurifuncs.[ch]:
3633 Add some simple URI helpers
3635 * gio/gfilenamecompleter.[ch]:
3636 Added object for filename (parse name actually) completion
3639 Handle ~ in parse names
3641 2007-10-17 Alexander Larsson <alexl@redhat.com>
3644 * gio/glocalfileinfo.c:
3645 Add and implement id:value attribute
3647 2007-10-17 Alexander Larsson <alexl@redhat.com>
3650 * gio/guniondrive.c:
3652 Add and implement g_drive_has_volumes
3654 2007-10-17 Alexander Larsson <alexl@redhat.com>
3657 * gio/glocalfileinfo.[ch]:
3658 Add unix:is_mountpoint and implement for local files
3660 2007-10-16 Alexander Larsson <alexl@redhat.com>
3662 * gio/gunionvolumemonitor.c:
3663 (g_union_volume_monitor_init):
3664 Fix up the unix type getting so that it works with gcc
3666 2007-10-12 Alexander Larsson <alexl@redhat.com>
3669 * gio/glocalfileinfo.c:
3670 Add thumbnail:failed to file info
3672 2007-10-12 Richard Hult <richard@imendio.com>
3674 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3675 optimizing away the get_type call (happens with some gcc versions,
3676 like the one shipped with OS X 10.4).
3678 2007-10-12 Alexander Larsson <alexl@redhat.com>
3680 * gio/glocalfileinfo.c:
3681 (_g_local_file_info_set_attribute):
3682 Fix build if not HAVE_XATTR
3683 Patch from Milosz Derezynski <internalerror@gmail.com>
3685 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3687 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3688 around for review, otherwise I would have asked you before
3691 2007-10-11 Alexander Larsson <alexl@redhat.com>
3694 Add thumbnail:path attribute
3696 * gio/glocalfileinfo.c:
3697 Implement thumbnail:path for local files
3699 2007-10-11 Alexander Larsson <alexl@redhat.com>
3701 * gio/glocalfileinfo.c:
3702 (_g_local_file_info_get):
3703 Avoid duplicate icon names
3705 2007-10-11 Alexander Larsson <alexl@redhat.com>
3707 * gio/gthemedicon.[ch]:
3708 Change g_themed_icon_get_names return type to const
3710 2007-10-10 Alexander Larsson <alexl@redhat.com>
3712 * gio/glocalfileinfo.c:
3713 Don't reference freed memory
3715 2007-10-10 Alexander Larsson <alexl@redhat.com>
3717 * gio/gfileattribute.c:
3720 * gio/glocalfileinfo.c:
3723 2007-10-10 Alexander Larsson <alexl@redhat.com>
3726 Check for NULL icons
3728 * gio/gfileattribute.c:
3729 Don't dup when getting objects (same as for string attributes)
3731 * gio/gicon.c (g_icon_equal):
3732 Safely handle NULLs in equal
3734 2007-10-10 Alexander Larsson <alexl@redhat.com>
3737 Fix c++ compilation issues
3738 Patch from Milosz Derezynski <internalerror@gmail.com>
3740 2007-10-10 Alexander Larsson <alexl@redhat.com>
3742 * programs/gio-monitor-dir.c:
3743 Don't crash if dir monitor not supported.
3745 2007-10-09 Alexander Larsson <alexl@redhat.com>
3748 Add missing G_END_DECLS
3750 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3752 * gio/gfile.c: (g_file_set_display_name),
3753 (g_file_query_settable_attributes),
3754 (g_file_query_writable_namespaces):
3755 Return NULL not FALSE on errors as the return type is a pointer.
3757 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3759 * gio/glocalfile.c: (g_local_file_monitor_file):
3760 Don't call monitor_file on the default interface vtable (which
3761 is NULL) but simply return NULL. The caller, GFile, will create a
3762 polling monitor if NULL is returned.
3764 2007-10-09 Alexander Larsson <alexl@redhat.com>
3768 * gio-unix-2.0.pc.in:
3769 Add gio-unix-2.0.pc if OS_UNIX
3772 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3774 2007-10-09 Alexander Larsson <alexl@redhat.com>
3776 * gio/gunixmounts.[ch]:
3777 Make unix mount monitoring API sane.
3778 Now its just a object with mounts_changed
3779 and mountpoints_changed signals.
3781 * gio/glocaldirectorymonitor.c:
3782 * gio/gunixvolumemonitor.c:
3783 Use new mount monitor api
3785 2007-10-09 Alexander Larsson <alexl@redhat.com>
3787 * gio/gunixmounts.[ch]:
3788 Move guess type into one call for mounts and one for mountpoints
3791 * gio/gunixvolume.c:
3794 2007-10-09 Alexander Larsson <alexl@redhat.com>
3796 * gio/gunixmounts.[ch]:
3797 Remove _ prefix in preparation to make this semi-public
3798 Hide implementation of structs
3800 * gio/glocaldirectorymonitor.c:
3802 * gio/gunixvolume.c:
3803 * gio/gunixvolumemonitor.c:
3804 Update for above API changes
3806 2007-10-08 Alexander Larsson <alexl@redhat.com>
3809 Better polling fallback. This also handles the case where we have
3810 a monitor_file implementation, but it fails.
3812 2007-10-08 Alexander Larsson <alexl@redhat.com>
3816 * gio/gunixmounts.c:
3817 * programs/gio-monitor-dir.c:
3818 * programs/gio-monitor-file.c:
3819 Added cancellable to file monitoring calls.
3820 These are really sync calls and need this.
3822 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3824 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3825 (g_local_vfs_class_init):
3826 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3827 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3829 2007-10-05 Alexander Larsson <alexl@redhat.com>
3831 * gio/gdirectorymonitorprivate.h:
3832 * gio/gfilemonitorprivate.h:
3833 * gio/gdirectorymonitor.h:
3834 * gio/gfilemonitor.h:
3835 Remove *private.h and move to the public API, so that
3836 we can do implementations outside gio (such as in gvfs)
3838 * gio/gdirectorymonitor.c:
3839 * gio/gfilemonitor.c:
3840 * gio/glocaldirectorymonitor.c:
3841 * gio/gpollfilemonitor.c:
3842 * gio/inotify/inotify-helper.c:
3843 * gio/fam/fam-helper.c:
3844 Update to the new header names
3846 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3848 * gio/gdirectorymonitor.c:
3849 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3852 2007-10-04 Alexander Larsson <alexl@redhat.com>
3854 * gio/glocalfileinfo.c (get_access_rights):
3855 Set CAN_TRASH when we can move the file.
3856 We should really also check for a parent trash dir.
3858 2007-10-04 Alexander Larsson <alexl@redhat.com>
3860 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3861 Add can_trash access attribute
3863 2007-10-04 Alexander Larsson <alexl@redhat.com>
3866 (g_local_file_trash):
3867 Create info file first. This is per-spec and allows
3868 us to actually trash directories.
3870 2007-10-02 Alexander Larsson <alexl@redhat.com>
3872 * gio/gdesktopappinfo.c:
3873 Implement the new mime support code.
3874 Always set app as handling mimetype when being set as default for it
3876 2007-10-01 Alexander Larsson <alexl@redhat.com>
3878 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3879 Fix up check for xattrs:
3881 2007-10-01 Alexander Larsson <alexl@redhat.com>
3884 (g_app_info_set_as_default_for_extension):
3885 (g_app_info_add_supports_type):
3886 (g_app_info_can_remove_supports_type):
3887 (g_app_info_remove_supports_type):
3888 Make these fail nicely if not implemented
3890 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3892 * gio/glocalfileoutputstream.c:
3893 * gio/glocalfileoutputstream.h:
3898 * programs/gio-save.c:
3899 Add a GFileCreateFlags argument to operations that can create
3902 2007-10-01 Alexander Larsson <alexl@redhat.com>
3904 * gio/gappinfo.[ch]:
3905 * gio/gdesktopappinfo.c:
3906 Add more (stubbed out) mime API needed for nautilus
3908 2007-10-01 Alexander Larsson <alexl@redhat.com>
3911 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3912 Add g_app_info_set_as_default_for_extension.
3914 * gio/gdesktopappinfo.c:
3915 Dummy for g_app_info_set_as_default_for_extension
3916 Support flags in g_app_info_create_from_commandline
3918 * gio/gwin32appinfo.c:
3920 Update for API changes
3922 * gio/gthemedicon.c:
3923 Properly NULL-terminate list of icon names
3925 2007-09-28 Alexander Larsson <alexl@redhat.com>
3927 * gio/gloadableicon.h:
3928 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3930 2007-09-28 Alexander Larsson <alexl@redhat.com>
3933 Install headers in $includedir/gio-standalone/
3935 * gio-2.0.pc.in: Added.
3936 * gio-standalone.pc.in: Removed.
3939 Renamed pkg-config file to match glib (for future move)
3940 Update to the new include dir
3943 Add more TODO comments
3945 2007-09-28 Alexander Larsson <alexl@redhat.com>
3947 * gio/gdesktopappinfo.[ch]:
3948 Expose new_from_filename
3949 Add getter for is_hidden and handle it better
3951 2007-09-28 Alexander Larsson <alexl@redhat.com>
3953 * gio/gfileinfo.[ch]:
3954 Rename g_file_size_format_for_display to
3955 g_format_file_size_for_display.
3956 Now it doesn't have the g_file prefix, so we
3957 can later move it to glib.
3959 2007-09-28 Alexander Larsson <alexl@redhat.com>
3961 * gio/gappinfo.[ch]:
3962 Add g_app_info_get_id and g_app_info_get_executable.
3963 Make all getters non-reffing
3964 Make g_app_info_launch take GFile arguments.
3965 Add must_support_uris argument to g_app_info_get_default_for_type.
3967 * gio/gwin32appinfo.c:
3968 Update to GAppInfo api changes
3970 * gio/gdesktopappinfo.c:
3971 Update to GAppInfo api changes
3972 Implement supports_xdg_startup_notify
3974 * gio/gfileicon.c (g_file_icon_get_file):
3975 Make getter non-reffing.
3980 2007-09-27 Alexander Larsson <alexl@redhat.com>
3982 * gio/gfileinfo.[ch]:
3983 Add g_file_size_format_for_display helper
3985 2007-09-27 Alexander Larsson <alexl@redhat.com>
3987 * gio/glocalfileinfo.c:
3988 Set UNIX_GID from gid, not from uid
3990 2007-09-27 Alexander Larsson <alexl@redhat.com>
3993 Add g_file_set_attributes_async
3995 2007-09-27 Alexander Larsson <alexl@redhat.com>
3997 * gio/glocalfile.c (g_local_file_set_display_name):
3998 Fix set_display_name to actually rename to the right place.
3999 Use lstat to look for existing files so we don't overwrite
4002 2007-09-26 Alexander Larsson <alexl@redhat.com>
4005 Add g_file_set_display_name_async()
4007 2007-09-26 Alexander Larsson <alexl@redhat.com>
4010 Add load_partial_contents async calls
4013 Make internal function static
4015 2007-09-26 Alexander Larsson <alexl@redhat.com>
4017 * gio/glocalfileinfo.c:
4018 Correctly detect broken symlinks
4020 2007-09-26 Alexander Larsson <alexl@redhat.com>
4022 * gio/gcancellable.c (g_cancellable_cancel):
4023 Allow cancel on NULL cancellable
4025 2007-09-25 Alexander Larsson <alexl@redhat.com>
4027 * gio/gsimpleasyncresult.c:
4028 Don't allocate g_error manually.
4029 Fixes g_slice/g_new mixup crash
4031 2007-09-25 Alexander Larsson <alexl@redhat.com>
4033 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4034 Actually set active_backend.
4035 This means the monitor will be cancelled correctly.
4037 2007-09-25 Alexander Larsson <alexl@redhat.com>
4039 * gio/gdirectorymonitor.c:
4040 Set timeout to NULL when destroying
4042 2007-09-25 Alexander Larsson <alexl@redhat.com>
4045 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4046 that is a better description of the error.
4048 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4050 * gio/gvfs.c: (g_vfs_get_local):
4051 Make the local vfs variable static. The same instance should
4054 2007-09-24 Alexander Larsson <alexl@redhat.com>
4056 * gio/glocalfileinfo.c:
4057 Pass in actual length read into sniffer, not the length
4060 2007-09-21 Alexander Larsson <alexl@redhat.com>
4062 * gio/gfileenumerator.c:
4065 * gio/gfileinputstream.c:
4066 * gio/gfileoutputstream.c:
4067 * gio/ginputstream.c:
4068 * gio/goutputstream.c:
4069 Don't crash if async callbacks are NULL
4071 2007-09-20 Alexander Larsson <alexl@redhat.com>
4074 Add async enumerate_children method and default
4077 2007-09-20 Alexander Larsson <alexl@redhat.com>
4080 Add g_file_contains_file & g_file_get_relative_path, since they
4081 were needed for nautilus.
4082 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4087 Implement new methods
4089 2007-09-17 Alexander Larsson <alexl@redhat.com>
4092 * gio/gfileinputstream.[ch]:
4093 * gio/gfileoutputstream.[ch]:
4095 * gio/glocalfileenumerator.[ch]:
4096 * gio/glocalfileinfo.[ch]:
4097 * gio/glocalfileinputstream.c:
4098 * gio/glocalfileoutputstream.c:
4099 * gio/gpollfilemonitor.c:
4100 * programs/gio-copy.c:
4101 * programs/gio-info.c:
4102 * programs/gio-move.c:
4103 Rename get_file_info to query_info() to make it clearer
4104 that these are not simple getters, but do i/o.
4106 2007-09-17 Alexander Larsson <alexl@redhat.com>
4108 * gio/gdatainputstream.[ch]:
4109 * gio/test-streams.c:
4110 Use _read_XXX instead of _get_XXX for the i/o calls
4113 2007-09-17 Alexander Larsson <alexl@redhat.com>
4116 Added needed stuff to TODO comment
4118 2007-09-17 Alexander Larsson <alexl@redhat.com>
4120 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4121 Don't error out removing the backup copy if it doesn't
4124 2007-09-14 Alexander Larsson <alexl@redhat.com>
4126 * programs/Makefile.am:
4127 * programs/gvfs-*.c:
4129 Renamed apps from gvfs-xxx to gio-xxx.
4131 2007-09-14 Alexander Larsson <alexl@redhat.com>
4134 * gio/gfileoutputstream.[ch]:
4135 * gio/glocalfileoutputstream.c:
4136 * programs/gvfs-save.c:
4137 g_file_output_stream_get_etag doesn't do i/o, so remove
4138 cancellation and error.
4140 2007-09-14 Alexander Larsson <alexl@redhat.com>
4143 Add new_etag output to replace_contents functions
4145 2007-09-14 Alexander Larsson <alexl@redhat.com>
4147 * gio/gfileoutputstream.[ch]:
4148 Add async get_file_info and default implementation
4150 2007-09-14 Alexander Larsson <alexl@redhat.com>
4152 * gio/gfileinputstream.c:
4153 Implement fallback wrapper for async get_file_info
4155 2007-09-14 Alexander Larsson <alexl@redhat.com>
4158 Add etag out argument to load_contents
4163 2007-09-14 Alexander Larsson <alexl@redhat.com>
4165 * gio/gcontenttype.c (looks_like_text):
4166 Whitespace like tab, cr and lf do not make the
4169 2007-09-14 Alexander Larsson <alexl@redhat.com>
4171 * gio/gfileinputstream.[ch]:
4172 Add async get_file_info.
4174 2007-09-13 Alexander Larsson <alexl@redhat.com>
4176 * gio/goutputstream.c (g_output_stream_write_all):
4177 Allow NULL for bytes_written
4179 2007-09-13 Alexander Larsson <alexl@redhat.com>
4181 * gio/gmemoryinputstream.[ch]:
4182 Add accessors for data
4184 2007-09-13 Alexander Larsson <alexl@redhat.com>
4186 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4187 Don't crash if length is NULL