1 2008-05-25 Ross Burton <ross@burtonini.com>
4 Fix typo in error message (#534764).
6 2008-05-25 Ross Burton <ross@burtonini.com>
9 Fix circular dependency loop for gioenumtypes.h (#534759).
11 2008-05-19 Hans Breuer <hans@breuer.org>
13 * Makefile.am : EXTRA_DIST += makefile.msc
15 2008-05-17 Matthias Clasen <mclasen@redhat.com>
17 Bug 532965 – Should not return filesystem::free for certain file systems
19 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
22 2008-05-17 Matthias Clasen <mclasen@redhat.com>
24 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
26 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
29 2008-05-16 Tor Lillqvist <tml@novell.com>
31 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
32 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
34 2008-05-13 Bastien Nocera <hadess@hadess.net>
36 * gfile.c (has_valid_scheme): A URI scheme must start with a
37 letter, even if later more characters are allowed (#532852)
39 2008-05-05 Michael Natterer <mitch@imendio.com>
41 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
42 code from being checked in that breaks the build of applications
43 which use G_DISABLE_SINGLE_INCLUDES.
45 * makegioalias.pl: make the alias file include "glib.h" instead of
48 * gio.symbols: whitespace change to force regeneration of the
49 alias file after above script change.
51 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
53 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
55 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
57 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
59 2008-04-28 David Zeuthen <davidz@redhat.com>
61 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
62 displaying mounts in a subdirectory not accessible to the
65 2008-04-22 Michael Natterer <mitch@imendio.com>
67 * Makefile.am: fix library versioning (it was 0.0.0).
69 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
71 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
72 Default disable all loggings.
73 * fen/fen-kernel.c: (printevent), (port_add_kevent),
74 (port_fetch_event_cb): Fixed two macro nits.
76 2008-04-16 Matthias Clasen <mclasen@redhat.com>
78 * xdgmime/xdgmime.c: Rework the timestamp checking code
79 to protect against duplicate directories in XDG_DATA_DIRS.
80 Fixes fd.o bug 12513, reported by Joe Shaw.
82 2008-04-16 Matthias Clasen <mclasen@redhat.com>
84 Partically revert the last commit after realizing that
85 xdg_mime_media_type_equal doesn't have to init at all.
88 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
90 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
92 2008-04-16 Matthias Clasen <mclasen@redhat.com>
94 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
95 reported by Joe Shaw and Federico Mena Quintero.
97 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
98 (xdg_mime_media_type_equal): Turn into a wrapper around the
101 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
102 functions throughout.
104 2008-04-16 Michael Meeks <michael.meeks@novell.com>
106 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
107 tolerate an empty TryExec= line without failing; nautilus used
108 to create launchers with these in previous versions. Fixes #528433
110 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
112 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
113 after name. Fixes #527132.
115 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
117 * gfile.c: (g_file_replace):
120 2008-04-07 Matthias Clasen <mclasen@redhat.com>
122 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
124 * gfile.c (file_copy_fallback): Fix the argument order. Patch
125 by Christian Kellner.
127 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
129 * gunixmounts.c: (g_unix_mount_guess_should_display):
130 Don't list the user directory as a mount, fix potential issue
131 when other users have a similar naming and don't special case the
132 gvfs mounts there since that's not required (#525866)
134 2008-03-31 Alexander Larsson <alexl@redhat.com>
136 * glocalfile.c (get_parent):
139 2008-03-31 A. Walton <awalton@svn.gnome.org>
141 * gfile.c (g_file_query_file_type):
142 Always return a GFileType enum value (#520715).
144 2008-03-31 Alexander Larsson <alexl@redhat.com>
146 * glocalfileenumerator.c:
147 Read readdir() info in chunks (of 1000) and sort
148 the chunks by inode before stat:ing.
149 This is a 20% performance increase in testing
150 gvfs-ls on /usr/bin with cold cache.
152 2008-03-31 Alexander Larsson <alexl@redhat.com>
154 * gmemoryoutputstream.c:
155 Clarify docs for g_memory_output_stream_get_size.
156 Add g_memory_output_stream_get_data_size.
158 2008-03-30 Matthias Clasen <mclasen@redhat.com>
162 * gfile.h: Add g_file_query_file_type convenience function
163 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
165 2008-03-30 Matthias Clasen <mclasen@redhat.com>
168 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
170 2008-03-28 A. Walton <awalton@svn.gnome.org>
172 * giomodule.c (_g_io_modules_ensure_loaded):
173 Adds GIO_EXTRA_MODULES environment variable support, closing bug
176 2008-03-28 Alexander Larsson <alexl@redhat.com>
179 (copy_stream_with_progress):
182 2008-03-28 Alexander Larsson <alexl@redhat.com>
185 (copy_stream_with_progress):
186 (file_copy_fallback):
187 Fallback to g_file_query_info for source size
188 if g_file_input_stream_query_info fails. (#524579)
190 2008-03-28 Alexander Larsson <alexl@redhat.com>
192 * glocalfile.c (g_local_file_move):
193 Reuse old string instead of adding new one.
195 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
197 * fen/*.[hc]: still copyright issue. I hate copyright.
199 2008-03-27 Alexander Larsson <alexl@redhat.com>
201 * glocalfile.c (g_local_file_move):
202 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
203 file over directory. This is according to the docs and what the move via
204 copy+remove fallback does.
206 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
208 * fen/*.[hc]: Updated copyright.
210 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
212 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
214 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
216 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
217 not emit attribute changed events when optimizing changed events.
218 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
221 2008-03-19 Matthias Clasen <mclasen@redhat.com>
223 * gmountoperation.[hc]: Small documentation additions
225 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
227 * gunixmounts.c: (guess_mount_type):
228 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
230 2008-03-19 Alexander Larsson <alexl@redhat.com>
233 (copy_stream_with_progress):
234 Bump block side for copy to 64k to minimize
235 overhead for low latency links. (#523015)
237 2008-03-16 Tor Lillqvist <tml@novell.com>
239 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
240 depend on gio.def on Windows.
242 2008-03-12 David Zeuthen <davidz@redhat.com>
246 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
248 2008-03-14 Alexander Larsson <alexl@redhat.com>
252 Avoid redudant tests (#521851)
253 Patch from Josselin Mouette
255 2008-03-14 Alexander Larsson <alexl@redhat.com>
258 (g_file_monitor_is_cancelled):
259 Fix C89 issue (#521672)
260 Patch from Jens Granseuer
262 2008-03-14 Alexander Larsson <alexl@redhat.com>
264 * fam/fam-helper.[ch]:
266 Shut down fam (including removing fam GSource) when
267 module is unloaded (#521513)
268 Patch from Joe Marcus Clarke
270 2008-03-14 Alexander Larsson <alexl@redhat.com>
273 (_g_io_modules_ensure_loaded):
276 2008-03-14 Alexander Larsson <alexl@redhat.com>
279 (g_local_file_query_filesystem_info):
280 Use right define name for f_fstypename member check
282 2008-03-14 Alexander Larsson <alexl@redhat.com>
285 * fen/Makefile.am: Added.
286 * fen/fen-data.[ch]: Added.
287 * fen/fen-dump.[ch]: Added.
288 * fen/fen-helper.[ch]: Added.
289 * fen/fen-kernel.[ch]: Added.
290 * fen/fen-missing.[ch]: Added.
291 * fen/fen-node.[ch]: Added.
292 * fen/fen-sub.[ch]: Added.
293 * fen/gfendirectorymonitor.[ch]: Added.
294 * fen/gfenfilemonitor.[ch]: Added.
296 Added Solaris FEN file notification backend.
297 Patch from Lin Ma <Lin.Ma@Sun.COM>
299 2008-03-13 Tor Lillqvist <tml@novell.com>
301 * Makefile.am: Actually use the gio.def file when linking the
302 library on Windows. Produce .lib library for Microsoft's toolchain
303 when possible. Install the .lib and .def file like for the other
306 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
308 * tests/live-g-file.c:
309 Include live-g-file in standard set of tests, making a temporary
310 directory in source structure.
312 Clean target directory before the tests (write mode only)
314 2008-03-12 Tor Lillqvist <tml@novell.com>
316 Bug 517419 - gio win32 directory monitor
317 Implementation by Vlad Grecescu.
320 * win32/gwin32directorymonitor.h
321 * win32/gwin32directorymonitor.c: New files.
323 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
325 * Makefile.am: Add the win32 subdirectory.
327 2008-03-12 Tor Lillqvist <tml@novell.com>
329 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
330 normal struct stat on Unix but struct _stati64 on Windows to have
331 access to 64-bit file size information. Use that instead of struct
332 stat in the functions declared here in this private header.
334 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
335 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
336 warnings about unused functions and variables. Don't set
337 meaningless attributes like inode numbers on Windows.
339 2008-03-12 Benjamin Otte <otte@gnome.org>
342 trim whitespace so gtk-doc groks the function name
344 2008-03-12 Tor Lillqvist <tml@novell.com>
346 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
347 returning FALSE, on Win32.
349 2008-03-11 Alexander Larsson <alexl@redhat.com>
352 * glocalfileinfo.[ch]:
353 Correctly implement can_trash by actually
354 looking for a trash dir, not just assuming
357 2008-03-10 Matthias Clasen <mclasen@redhat.com>
359 * === Released 2.16.1 ===
361 2008-03-11 Alexander Larsson <alexl@redhat.com>
364 Fix crashes in new constructor and properties code
366 2008-03-10 Murray Cumming <murrayc@murrayc.com>
368 * gfile.c: Minor spelling correction in documentation:
369 existance -> existence.
371 2008-03-10 Matthias Clasen <mclasen@redhat.com>
373 * === Released 2.16.0 ===
375 2008-03-10 Matthias Clasen <mclasen@redhat.com>
377 * gio.symbols: Remove g_file_contains_file here, too.
379 2008-03-10 Matthias Clasen <mclasen@redhat.com>
381 * gthemedicon.c: Add properties to make bindings happy. (#517676,
382 Samuel Cormier-Iijima)
384 2008-03-08 Tor Lillqvist <tml@novell.com>
386 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
389 2008-03-07 Alexander Larsson <alexl@redhat.com>
392 (g_local_file_query_filesystem_info):
393 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
394 Patch from Jasper Lievisse Adriaanse
396 2008-03-06 Tor Lillqvist <tml@novell.com>
398 * gfileinfo.h: Correct milliseconds to microseconds in the doc
399 comments for the *_USEC attributes.
401 2008-03-06 Alexander Larsson <alexl@redhat.com>
403 * gfile.c (g_file_query_exists):
404 Add g_return_val_if_fail check (#520700)
406 2008-03-06 Alexander Larsson <alexl@redhat.com>
411 * gunionvolumemonitor.c:
414 * tests/live-g-file.c:
415 * xdgmime/xdgmimecache.c:
416 Fix sparse warnings (#519489)
418 2008-03-05 Alexander Larsson <alexl@redhat.com>
421 Make cancellation threadsafe (i.e.
422 guarantee its only done once, and always
425 * glocaldirectorymonitor.c:
426 Make sure we the monitor lives while the
427 mounts_changed callback is being called (#520484)
429 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
431 * gbufferedinputstream.c: Fix typo in parameter
434 2008-03-04 Alexander Larsson <alexl@redhat.com>
437 Remove deprecated symbols we kept for one release.
439 2008-03-04 Murray Cumming <murrayc@murrayc.com>
442 * goutputstream.c: Tiny documentation corrections.
444 2008-03-03 Alexander Larsson <alexl@redhat.com>
446 * gunionvolumemonitor.c:
448 Fix the adopt_orphan_mount vfunc to take a
449 volume_monitor reference in an ABI compat way.
450 This change is not API compat, but the added
451 arg is not used in the only user of this vfunc, so
452 all we get is a harmless warning in gvfs (#520169)
454 2008-03-01 Benjamin Otte <otte@gnome.org>
457 clarify docs for g_file_delete().
459 2008-02-29 Alexander Larsson <alexl@redhat.com>
463 Make sure empty files get text/plain type (#518720)
465 2008-02-27 Alexander Larsson <alexl@redhat.com>
471 (g_unix_volume_mount):
472 Add missing GMountMountFlags argument
474 2008-02-26 Alexander Larsson <alexl@redhat.com>
477 (g_local_file_delete):
478 Handle filesystems (like ntfs-3g) that return EEXIST instead
479 of ENOTEMPTY (#518816)
481 2008-02-25 Matthias Clasen <mclasen@redhat.com>
483 * === Released 2.15.6 ===
485 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
487 * gfile.c (g_file_find_enclosing_mount):
488 * ginputstream.c (g_input_stream_set_pending):
489 * glocalfile.c (g_local_file_find_enclosing_mount):
490 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
491 * goutputstream.c (g_output_stream_set_pending):
493 Fixup translator comments (#518578).
495 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
497 * gfile.c (g_file_find_enclosing_mount):
499 * glocalfile.c (g_local_file_find_enclosing_mount):
502 Fix a few typos in translator comments and documentation.
504 2008-02-25 Alexander Larsson <alexl@redhat.com>
511 Add translator comments (#518578)
513 2008-02-25 Alexander Larsson <alexl@redhat.com>
516 Reintroduce g_file_contains_file, keep around for one
517 unstable release cycle to avoid crashing to many apps.
518 Make sure to delete after release.
520 2008-02-25 Alexander Larsson <alexl@redhat.com>
523 Remove deprecated g_file_contains_file.
525 2008-02-25 Alexander Larsson <alexl@redhat.com>
528 Emit actual change signals in an idle handler.
529 This avoids reentrance and locking problems in
530 the file notification backends.
532 2008-02-25 Alexander Larsson <alexl@redhat.com>
535 (g_unix_mount_guess_should_display):
536 Remove type guessing, instead just display
537 mounts in /media and in ~/.
539 2008-02-25 Alexander Larsson <alexl@redhat.com>
542 Make new strings reuse old ones.
544 2008-02-25 Alexander Larsson <alexl@redhat.com>
547 Implement trashing and filesystem::readonly for win32 (#517235)
548 Patch from Yevgen Muntyan
550 2008-02-23 Matthias Clasen <mclasen@redhat.com>
552 * gfileinfo.h: Documentation fixes.
554 2008-02-22 Alexander Larsson <alexl@redhat.com>
556 * gcontenttype.c (g_content_type_get_icon):
557 Look at old-style gnome mime icon names too, as many
558 have not moved to the new style.
560 2008-02-21 Matthias Clasen <mclasen@redhat.com>
562 * *.c: Correct the @include in for section docs.
564 2008-02-21 David Zeuthen <davidz@redhat.com>
566 * glocalfileinfo.c: (_g_local_file_info_get):
568 (g_content_type_get_icon): Implement this function by
569 moving bits from glocalfileinfo.c
570 (g_content_type_get_description): Unalias before getting
571 description (#517687)
573 * gfile.c: (g_file_class_init),
574 (g_file_query_filesystem_info_async),
575 (g_file_query_filesystem_info_finish),
576 (query_filesystem_info_data_free),
577 (query_filesystem_info_async_thread),
578 (g_file_real_query_filesystem_info_async),
579 (g_file_real_query_filesystem_info_finish):
580 * gfile.h: Implement async version of
581 g_file_query_filesystem_info()
583 * gfileinfo.h: Add new attributes for filesystem::use-preview
585 * gio.symbols: Update
587 * gthemedicon.c: (g_themed_icon_append_name):
588 * gthemedicon.h: Add new new convenience function.
590 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
591 (get_mounts), (get_volumes), (get_connected_drives),
592 (get_volume_for_uuid), (get_mount_for_uuid),
593 (g_union_volume_monitor_init), (populate_union_monitor),
594 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
595 (g_volume_monitor_adopt_orphan_mount):
597 * gvolumemonitor.h: Use recursive locks so it's safe for volume
598 monitor implementations to call into the main volume monitor. Also
599 separate object initialization and volume monitor initialization
600 such that non-native volume monitors can properly adopt their
603 2008-02-21 Alexander Larsson <alexl@redhat.com>
608 2008-02-21 Alexander Larsson <alexl@redhat.com>
611 Add more documentation about how GFiles work (from #517086)
613 2008-02-21 Alexander Larsson <alexl@redhat.com>
617 Add new g_file_has_prefix that does the same as g_file_contains_file.
618 Deprecate g_file_contains_file and add a macro that converts
619 it to g_file_has_prefix.
620 The reason for this change is that the contains_file() name seems to
621 imply that this does more work than what it does, but its really only
622 a name match (from #517086)
627 Update to match the above change.
629 2008-02-20 Benjamin Otte <otte@gnome.org>
631 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
632 (g_file_eject_mountable):
633 even more cases of not returning in error path
635 2008-02-20 Benjamin Otte <otte@gnome.org>
637 * gfile.c: (g_file_mount_mountable):
638 return from function in error path.
640 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
643 Remove trailing coma in GMountMountFlags struct
645 2008-02-18 Alexander Larsson <alexl@redhat.com>
649 * glocalfileoutputstream.c:
650 Use g_unlink/g_rename instead of unlink/rename;
651 do not pass raw filenames to g_set_error. (#517239)
652 Patch from Yevgen Muntyan.
654 2008-02-18 Alexander Larsson <alexl@redhat.com>
657 * glocalfileoutputstream.c:
658 Open files with O_BINARY on windows. (#517140)
660 2008-02-14 Alexander Larsson <alexl@redhat.com>
662 * glocalfileoutputstream.c:
663 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
665 2008-02-14 Alexander Larsson <alexl@redhat.com>
668 Copy permissions with file on copy (#514084)
669 This is what cp does and makes sure e.g. the
670 exec permissions are kept.
671 Its kinda weird in that it keeps the permission bits
672 the same while the uid and gid are different. However
673 the new uid is the user so its not a security issue,
674 and I've heard no complaints about cp on this issue.
676 2008-02-13 Ryan Lortie <desrt@desrt.ca>
678 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
680 2008-02-13 Alexander Larsson <alexl@redhat.com>
682 * inotify/inotify-path.c:
683 Define IN_ONLYDIR if not in header (#515346)
685 2008-02-12 Alexander Larsson <alexl@redhat.com>
687 * tests/live-g-file.c:
690 2008-02-11 Matthias Clasen <mclasen@redhat.com>
692 * === Released 2.15.5 ===
694 2008-02-11 Matthias Clasen <mclasen@redhat.com>
696 * gio.symbols: Add g_mount_mount_flags_get_type.
698 2008-02-11 Alexander Larsson <alexl@redhat.com>
701 (g_file_info_set_attribute_mask):
702 (g_file_attribute_matcher_matches_id):
703 Correctly handle NULL GAttributeMatcher meaning
704 matches nothing. (Fixes #513492)
706 2008-02-11 Alexander Larsson <alexl@redhat.com>
711 Added GMountMountFlags enum and added a flags
712 argument to all mount calls.
714 This is an API/ABI change for future extensibility,
715 as I think we will need at least an
716 inhibit-autorun flag (the panel needs this).
717 There are no flags defined yet though.
719 2008-02-11 Alexander Larsson <alexl@redhat.com>
722 Added new standard::description attribute.
723 Requested by Vincent, and useful for both
726 2008-02-11 Alexander Larsson <alexl@redhat.com>
731 2008-02-11 Matthias Clasen <mclasen@redhat.com>
733 * *.c: Documentation additions
735 2008-02-10 Matthias Clasen <mclasen@redhat.com>
737 * gappinfo.h: Formatting cleanup
738 * gappinfo.c: Fix up docs.
740 2008-02-09 Matthias Clasen <mclasen@redhat.com>
742 * gunixmounts.c: Consistently use getmntent_r() and fall
743 back to getmntent(). (#515492)
745 2008-02-09 Matthias Clasen <mclasen@redhat.com>
747 * gbufferedinputstream.c:
749 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
751 * tests/data-input-stream.c:
752 * tests/data-output-stream.c: Portability fixes.
754 2008-02-08 Alexander Larsson <alexl@redhat.com>
759 Add g_volume_should_automount.
762 2008-02-07 Tor Lillqvist <tml@novell.com>
764 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
765 Win32, too Unix-specific.
767 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
769 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
770 a local plt if the compiler doesn't support what we want. Bug #514702
772 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
774 reviewed by: <delete if not using a buddy>
777 * gunixinputstream.c:
778 * gunixoutputstream.c:
780 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
783 * tests/live-g-file.c:
784 * tests/live-g-file.txt:
785 New GIO testing module working over real data
787 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
789 * glocalfileoutputstream.c (g_local_file_output_stream_close):
790 Fallback to rename() if link() is not available
791 (when no support on target filesystem)
793 2008-02-06 Michael Natterer <mitch@imendio.com>
795 * gfileinfo.c (g_file_info_get_icon): replace
796 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
798 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
800 * gfile.c (g_file_create):
801 Documentation update of error codes
803 2008-02-06 Alexander Larsson <alexl@redhat.com>
806 Update to use both mimeapps.list and
807 defaults.list as discussed on xdg list.
809 2008-02-06 Benjamin Otte <otte@gnome.org>
812 * gfilenamecompleter.c:
813 Fix some typos in the documentation.
815 2008-02-06 Alexander Larsson <alexl@redhat.com>
817 * glocalfile.c (g_local_file_trash):
818 Don't succeed with trash if newly created
819 trash dir has the wrong owner. (#514696)
821 2008-02-05 Alexander Larsson <alexl@redhat.com>
823 * glocalfile.c (g_local_file_move):
824 Don't spew warnings when destination is not
827 2008-02-03 Hans Breuer <hans@breuer.org>
829 * makefile.msc : update
831 2008-02-01 Michael Natterer <mitch@imendio.com>
833 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
834 return value of xdg_mime_list_mime_parents() to a variable of the
837 2008-02-01 Alexander Larsson <alexl@redhat.com>
839 * gappinfo.c (g_app_info_launch_uris):
840 Actually call the launch_uris method, not
843 2008-02-01 Alexander Larsson <alexl@redhat.com>
845 * gdesktopappinfo.c (g_desktop_app_info_equal):
846 Ensure appinfos with no id but same pointer value
849 2008-02-01 Alexander Larsson <alexl@redhat.com>
851 * gappinfo.c (g_app_info_launch_default_for_uri):
854 2008-02-01 Alexander Larsson <alexl@redhat.com>
858 Add g_app_info_launch_default_for_uri utility
861 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
864 Doc fix for g_app_info_get_default_for_uri_scheme ()
867 2008-01-30 Alexander Larsson <alexl@redhat.com>
870 Add doc comment about uris vs GFiles to
874 Ensure uris passed to g_app_info_launch_uris()
875 are not roundtriped through GFile (as that
876 may be slightly destructive for e.g. mailto: links)
878 2008-01-30 Alexander Larsson <alexl@redhat.com>
880 * tests/data-input-stream.c:
881 * tests/data-output-stream.c:
882 C89 fixes from Jens Granseuer (#512849)
884 2008-01-30 Alexander Larsson <alexl@redhat.com>
887 Fix gamin/fam difference build issue. (#509419)
889 2008-01-29 Alexander Larsson <alexl@redhat.com>
893 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
895 2008-01-29 Alexander Larsson <alexl@redhat.com>
899 giomodule-priv.h include moved to .c file.
901 2008-01-29 Alexander Larsson <alexl@redhat.com>
903 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
904 Remove unused prio/name fields.
906 2008-01-29 Alexander Larsson <alexl@redhat.com>
908 * gcontenttype.c (looks_like_text):
909 Don't treat whitespace as control chars.
911 2008-01-29 Alexander Larsson <alexl@redhat.com>
914 Lazily create the desktop files for appinfos created
915 by g_app_info_create_from_commandline() when needed
916 for mime associations. This allows run-time use
917 of GAppInfo object without creating unnecessary
920 2008-01-29 Alexander Larsson <alexl@redhat.com>
923 Added new symbols to gio.symbols
925 2008-01-29 Alexander Larsson <alexl@redhat.com>
928 Add g_file_query_default_handler utility to easily look up
929 the GAppInfo that handles a file.
931 * gdesktopappinfo.[ch]:
933 Set up an extension point for g_app_info_get_default_for_uri_scheme()
936 Remove unused function
938 2008-01-29 Alexander Larsson <alexl@redhat.com>
941 Mention need to free returned value in
942 g_file_enumerator_next_files_finish docs.
943 Fix leak if g_file_enumerator_next_files_finish()
946 2008-01-29 Alexander Larsson <alexl@redhat.com>
949 (_g_unix_content_type_get_parents):
950 Use list_parents, not get_parents from xdgmime, because
951 the later doesn't use the cache.
953 * xdgmime/xdgmimecache.c:
954 (_xdg_mime_cache_list_mime_parents):
955 Don't list the same type as parent multiple times.
957 2008-01-28 Matthias Clasen <mclasen@redhat.com>
959 * === Released 2.15.4 ===
961 2008-01-28 Alexander Larsson <alexl@redhat.com>
964 Register local vfs with prio 0.
967 Remove old name and prio class members
969 2008-01-28 Matthias Clasen <mclasen@redhat.com>
971 * tests/g-file.c: Disable some tests that are failing in
972 the absence of a http backend.
974 2008-01-28 Alexander Larsson <alexl@redhat.com>
978 Add registration hooks for extension points.
979 Register the gio extension points.
981 * fam/gfamdirectorymonitor.c:
982 * fam/gfamfilemonitor.c:
983 * glocaldirectorymonitor.[ch]:
984 * glocalfilemonitor.[ch]:
985 * gnativevolumemonitor.h:
986 * gunionvolumemonitor.c:
987 * gunixvolumemonitor.c:
990 * inotify/ginotifydirectorymonitor.c:
991 * inotify/ginotifyfilemonitor.c:
992 Use the extension points registration instead
993 of g_type_children().
995 2008-01-28 Matthias Clasen <mclasen@redhat.com>
998 * gvolume.[hc]: Document new API.
1000 * gfile.c (g_file_copy_async): Fix docs
1002 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1004 * gbufferedinputstream.c:
1006 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1009 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1011 * glocalfile.c: Avoid trivial differences in translatable strings.
1013 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1015 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1016 build with gcc 3.4 (#509419)
1018 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1020 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1021 (#509994, Murray Cumming)
1023 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1025 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1026 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1027 this allows big jobs to be executed in chunks, instead of blocking
1028 the main loop for a long time.
1030 * gsimpleasyncresult.c:
1031 * giofile.c: Adapt callers.
1033 2008-01-25 Alexander Larsson <alexl@redhat.com>
1035 * gdesktopappinfo.c:
1036 Implement changes discussed on xdg list.
1037 Now we can add supported mimetypes by just using defaults.list
1038 We can also remove associations in defaults.list.
1040 2008-01-25 Alexander Larsson <alexl@redhat.com>
1042 * gdesktopappinfo.c:
1043 Don't make local copy of desktop file
1044 for mimetype changes if the file already
1045 supports the new mimetype.
1047 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1051 * gbufferedinputstream.c:
1052 * glocalfile.c: String improvements. (#511966,
1053 Theppitak Karoonboonyanan)
1055 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1057 * gioscheduler.h: Expand docs a bit.
1059 2008-01-24 Alexander Larsson <alexl@redhat.com>
1062 Add g_drive_get_identifier and
1063 g_drive_enumerate_identifiers
1066 Add g_volume_get_identifier and
1067 g_volume_enumerate_identifiers
1073 Implement identifiers for unix backend
1075 2008-01-24 Alexander Larsson <alexl@redhat.com>
1080 Add g_file_copy_async() (#511580)
1081 Based on patch from Carlos Garcia Campos
1083 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1085 * gioscheduler.c: Some documentation additions.
1087 2008-01-22 Alexander Larsson <alexl@redhat.com>
1089 * gdesktopappinfo.c:
1090 (g_desktop_app_info_new):
1091 Don't leak basename.
1093 2008-01-22 Alexander Larsson <alexl@redhat.com>
1095 * gdesktopappinfo.c:
1096 (g_desktop_app_info_new_from_filename):
1099 2008-01-22 Alexander Larsson <alexl@redhat.com>
1101 * glocalfileinfo.c (get_thumbnail_attributes):
1104 2008-01-22 Alexander Larsson <alexl@redhat.com>
1107 (canonicalize_filename):
1108 Canonicalize paths that start with more than
1112 (compare_two_files):
1113 (test_g_file_new_for_path):
1116 2008-01-22 Alexander Larsson <alexl@redhat.com>
1119 Allow UTF-8 in file:// parse names.
1121 * tests/Makefile.am:
1122 * tests/data-input-stream.c:
1123 * tests/data-output-stream.c:
1124 * tests/g-file-info.c:
1126 Added a bunch of tests from Tomas Bzatek
1128 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1130 * === Released 2.15.3 ===
1132 2008-01-21 Alexander Larsson <alexl@redhat.com>
1134 * gfileinputstream.[ch]:
1135 * gfileoutputstream.[ch]:
1137 Remove duplicated GSeekable functions. (#509990)
1138 Just use the g_seekable_xxx() calls instead.
1140 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1143 * gvolumemanager.c: Whitespace cleanups.
1145 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1146 Use the right mode when creating the file.
1148 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1150 * gfileenumerator.c:
1151 * gfileinputstream.c:
1153 * goutputstream.c: Documentation: Fixed minor typos
1154 and added more mentions of specific _finish() functions.
1156 2008-01-21 Alexander Larsson <alexl@redhat.com>
1158 * inotify/Makefile.am:
1159 * inotify/inotify-helper.c:
1160 * inotify/inotify-kernel.c:
1161 * inotify/inotify-path.c:
1162 * inotify/local_inotify.h: Removed.
1163 * inotify/local_inotify_syscalls.h: Removed.
1164 Removed the included copies of the inotify
1165 headers. We now only use the <sys/inotify.h>
1166 header which exists on modern systems.
1167 This fixes problems on ARM and SH5 (#510448)
1168 but is also generally much cleaner and future
1169 safe. For instance, if other OSes add support
1170 for inotify it should "just work".
1172 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1174 * inotify/*.c: Coding style fixes.
1175 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1176 for the 1/4 Hz timer.
1178 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1181 * gfilemonitor.[hc]:
1182 * gmemoryinputstream.c:
1183 * gmemoryoutputstream.c:
1184 * gmountoperation.c:
1185 * gthemedicon.c: Documentation updates
1187 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1189 * gfile.c: documentation: Fixed more minor
1192 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1194 * gmount.c: (g_mount_remount): documentation:
1195 Mention g_mount_remount_finish() instead of
1196 g_mount_unmount_finish().
1198 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1202 * gfile.c: Fixed some minor typos in the
1205 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1207 * gio/gvolumemonitor.c:
1208 (g_volume_monitor_get_connected_drives):
1209 (g_volume_monitor_get_volumes):
1210 (g_volume_monitor_get_mounts): Documentation:
1211 Clarify the ownership of the regurn GLists.
1213 2008-01-17 Alexander Larsson <alexl@redhat.com>
1216 Add the async find_enclosing_mount version
1217 to the header file too.
1219 2008-01-17 Alexander Larsson <alexl@redhat.com>
1222 Add async version of find_enclosing_mount
1223 with default implementation.
1225 2008-01-17 Alexander Larsson <alexl@redhat.com>
1230 Allow calls to implementation of copy and write
1231 even if the type of the file implementations is
1232 different. This can be used to implement native
1233 upload and download calls in a vfs.
1236 (g_local_file_move):
1237 Protect against the case where move is called
1238 with one file not being local.
1240 Make sure we call the progress callback once
1241 in the native move operation so that the caller
1242 knows how many bytes were copied.
1244 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1247 * gdatainputstream.c:
1249 * gfileoutputstream.c:
1254 * gunixmounts.c: Corrected some typos in the documentation:
1255 occured -> occurred.
1256 its -> it's (where appropriate).
1258 2008-01-16 Alexander Larsson <alexl@redhat.com>
1262 Add g_file_query_exists (#508771)
1264 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1269 * gvolume.c: For async functions that have no non-async
1270 version, document that the GAsyncReadyCallback may be NULL.
1273 2008-01-15 Alexander Larsson <alexl@redhat.com>
1275 * gmemoryinputstream.c:
1276 * gmemoryoutputstream.c:
1277 Don't do pointer arithmetic on void * (#508602)
1278 Patch from Kazuki IWAMOTO
1280 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1282 * === Released 2.15.2 ===
1284 2008-01-14 Alexander Larsson <alexl@redhat.com>
1286 * gfile.c (g_file_monitor_file):
1287 Don't set error here, since we fallback to polling monitor.
1289 2008-01-14 Alexander Larsson <alexl@redhat.com>
1292 (g_file_monitor_directory):
1293 (g_file_monitor_file):
1294 Add GError to file monitor calls
1296 * glocaldirectorymonitor.c:
1297 * glocaldirectorymonitor.h:
1299 * glocalfilemonitor.c:
1300 * glocalfilemonitor.h:
1302 Update for above change
1304 2008-01-14 Alexander Larsson <alexl@redhat.com>
1308 Handle root correctly in g_file_get_relative_path (#508719)
1310 2008-01-14 Alexander Larsson <alexl@redhat.com>
1313 Clean up docs and example for GAsyncResult (#508074)
1315 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1317 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1318 and correct some spelling mistakes. Bug #508108.
1320 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1322 * glocalfileinfo.c: Add a comment.
1324 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1326 * gfileinfo.c: GFileInfo description: Mention
1327 how to actually set attributes in a GFile and how to discover
1328 which attributes are settable. Bug #508378.
1330 2008-01-10 A. Walton <awalton@svn.gnome.org>
1332 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1333 (g_app_info_get_default_for_type):
1334 Check for NULL content types.
1336 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1338 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1340 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1342 * gfile.c: *_async() functions: Several small corrections
1343 to the documentation, mostly correcting copy/paste errors
1344 and improving some sentences.
1346 2008-01-09 Dan Winship <danw@gnome.org>
1348 * glocalfile.c (get_unique_filename): x86_64 fix
1350 2008-01-09 Alexander Larsson <alexl@redhat.com>
1355 Add g_unix_mount_guess_should_display and use
1356 for unix volume monitor backend.
1357 This means we more or less show what the
1358 gnome-vfs backend did.
1359 Based on patch from Padraig O'Briain
1361 2008-01-09 Alexander Larsson <alexl@redhat.com>
1365 Add g_themed_icon_new_with_default_fallbacks
1368 Use default fallbacks for icons
1370 2008-01-09 Alexander Larsson <alexl@redhat.com>
1373 * gmountoperation.[ch]:
1374 Change the API a bit so that unhandled methods
1375 get reported via the reply, rather than by
1376 the signal emission return value. This is because
1377 some handlers can't know this immediately without
1378 doing I/O, and this is an async operation that
1381 2008-01-09 Alexander Larsson <alexl@redhat.com>
1384 * fam/gfamdirectorymonitor.c:
1385 * fam/gfamfilemonitor.c:
1386 Fix double free crash (#508224)
1387 Patch from Joe Marcus Clarke
1389 008-01-07 Matthias Clasen <mclasen@redhat.com>
1391 * === Released 2.15.1 ===
1393 2008-01-07 Alexander Larsson <alexl@redhat.com>
1395 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1396 Fix warning (#507835)
1398 2008-01-07 Alexander Larsson <alexl@redhat.com>
1401 Pass --internal to glib-genmarshal
1404 * gmountoperation.c:
1406 Use better types for signal arguments (#507822)
1408 2008-01-07 Alexander Larsson <alexl@redhat.com>
1411 Build test subdir after .
1412 Remove gdirectorymonitor.[ch]
1414 * gdirectorymonitor.[ch]:
1418 Remove GDirectoryMonitor and make
1419 GFileMonitor the baseclass for both file and
1420 directory monitors. Lift the more generic
1421 rate limiting code from GDirectoryMonitor
1425 * fam/gfamdirectorymonitor.[ch]:
1426 * inotify/ginotifydirectorymonitor.[ch]:
1427 * inotify/inotify-helper.c:
1428 * glocaldirectorymonitor.[ch]:
1431 Update for the removed GDirectoryMonitor.
1433 * gmemoryoutputstream.c:
1434 Remove ununsed variable
1436 2008-01-07 Alexander Larsson <alexl@redhat.com>
1438 * gmemoryinputstream.c:
1439 Translate error strings
1442 * gmemoryoutputstream.[ch]:
1443 New implementation that avoids using GByteArray
1444 in implementation and API. (#506377)
1446 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1448 * tests/*: Add a test for memory input streams.
1450 * Makefile.am: Add tests to SUBDIRS.
1452 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1454 * glocalfilemonitor.c:
1455 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1458 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1460 * gdesktopappinfo.c: Fix a docs typo.
1462 * gfileattribute.c: Add information about extended attributes
1463 to the documentation. (#505058)
1465 2008-01-04 Alexander Larsson <alexl@redhat.com>
1468 * gmountoperation.c:
1469 Use the right type (uint) for the ask_password signal.
1471 2008-01-04 Alexander Larsson <alexl@redhat.com>
1476 Add g_app_info_supports_files()
1477 Remove desktop arg from g_app_info_should_show().
1479 * gdesktopappinfo.[ch]:
1480 Implement g_app_info_supports_files() and new should_show()
1481 Add g_desktop_app_info_set_desktop_env() to set the desktop
1482 for should_show(). (This will be set by gtk+ later)
1484 2008-01-04 Alexander Larsson <alexl@redhat.com>
1487 * gmemoryinputstream.[ch]:
1488 Improve API so that you can use multiple chunks
1489 of memory and custom destroy functions. (#506374)
1491 2008-01-03 Alexander Larsson <alexl@redhat.com>
1494 Handle NULL attribute matchers safely, as we return this
1495 for empty attribute matcher strings.
1497 2008-01-03 Alexander Larsson <alexl@redhat.com>
1499 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1500 Add /usr/local to list of internal mountpoints
1502 2008-01-03 Alexander Larsson <alexl@redhat.com>
1505 Check for HAVE_LCHOWN (#505887)
1507 2008-01-03 Alexander Larsson <alexl@redhat.com>
1511 Add define for selinux context attribute.
1512 Fix missing : -> :: namespace separator change
1513 Fix missing _ -> - name change for xattr-sys.
1516 2008-01-03 Alexander Larsson <alexl@redhat.com>
1519 Link to libglib and libgobject directly (#504879)
1520 Patch from Sebastien Bacher
1522 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1524 * gfile.c: Expanded the g_file_new_for_commandline_arg
1525 description a bit, based on the code and the docs of the
1526 other g_file_new_for_* functions.
1528 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1530 * gfilemonitor.h: Fixed typo in docs.
1532 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1534 Updates to GIO documentation. (#506395, Mikael Hermansson)
1536 * gcontenttype.c: Describe memory management for return value of
1537 g_content_types_get_registered(). Missing piece from #505815.
1538 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1539 GVolume, GDrive, GMounts, which hopefully gives the user less
1540 confusions when using this API. Following explainations from
1541 Alexander Larsson on gtk-devel-list.
1543 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1545 * gfileinfo.c: Expand the long description.
1547 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1550 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1551 fix builds with --disable-visibility. (#500273, Christian Persch)
1553 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1555 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1556 in the list of returned app infos.
1558 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1560 * gappinfo.c: Fix a cross-reference
1562 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1564 * gfileinputstream.c:
1565 * gfileoutputstream.c:
1569 * gdesktopappinfo.c:
1571 * gfileinfo.c: Documentation updates.
1573 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1575 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1578 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1580 * gcontenttype.c (g_content_types_get_registered): Don't return
1581 freed memory (#505815, Mikael Hermansson)
1583 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1585 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1586 used to detect statbuf->st_blocks. (#505042)
1588 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1590 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1591 environment handling. (#504829, Cosimo Cecchi)
1593 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1595 * gappinfo.c: Doc improvements
1597 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1600 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1602 * === Released 2.15.0 ===
1604 2007-12-20 Hans Breuer <hans@breuer.org>
1606 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1607 with symbols gwin32appinfo.obj, added gmount.obj
1608 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1610 2007-12-20 Alexander Larsson <alexl@redhat.com>
1616 * gfilenamecompleter.c:
1619 * gpollfilemonitor.c:
1620 File attribute renames:
1622 fs:: -> filesystem::
1623 id::fs -> id::filesystem
1625 2007-12-20 Alexander Larsson <alexl@redhat.com>
1634 Add GMountUnmountFlags to all unmount and
1636 Add g_mount_remount() call.
1638 2007-12-20 Alexander Larsson <alexl@redhat.com>
1640 * gvfs.c (get_default_vfs):
1641 Fix unused variable warning
1643 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1645 * pltcheck.sh: Update
1647 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1649 * gunionvolumemonitor.c:
1650 * gunixmount.c: Remove C99 comments
1652 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1654 * gio.symbols: Add some missing symbols
1656 2007-12-19 Alexander Larsson <alexl@redhat.com>
1659 Make g_io_modules_load_all_in_directory not unuse
1660 loaded modules so that users of it can do stuff
1662 Init internal "module" types.
1663 Initialize static prio and name for types so that
1664 we don't have to load modules to get it.
1666 * gnativevolumemonitor.h:
1668 Move is_supported to parent class so that
1669 non-native monitors can avoid being initialized
1670 too. (For instance GDaemonVolumeMonitor if we're
1671 not using GDaemonVfs.)
1673 * glocaldirectorymonitor.[ch]:
1674 * glocalfilemonitor.[ch]:
1675 * gunionvolumemonitor.c:
1676 * gunixvolumemonitor.c:
1678 Find plugins using the static prio+name to
1679 avoid unnecessarily loading the modules.
1681 2007-12-19 Alexander Larsson <alexl@redhat.com>
1686 2007-12-19 Alexander Larsson <alexl@redhat.com>
1688 * gunionvolumemonitor.c:
1689 Store the native type as GType, not class so that
1690 we can unload it. But still avoid unnecessarily
1693 2007-12-19 David Zeuthen <davidz@redhat.com>
1695 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1696 add signals 'disconnected' and 'eject-button' on GDrive. Add
1697 signal 'removed' on GVolume and 'unmounted' on GMount.
1699 * gdrive.c: (g_drive_base_init):
1701 * gfile.c: (g_file_mount_mountable),
1702 (g_file_mount_enclosing_volume):
1705 * gmount.c: (g_mount_base_init):
1707 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1708 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1709 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1713 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1715 * *.c: Fix up includes in the section docs.
1717 2007-12-17 Alexander Larsson <alexl@redhat.com>
1719 * gnativevolumemonitor.h:
1720 * gunionvolumemonitor.c:
1721 * gunixvolumemonitor.c:
1722 Add is_supported() to GNativeVolumeMonitorClass so
1723 that we can avoid having to create an object to see
1724 if the backend is supported at runtime.
1725 Also add name member and an env var to pick a specific
1726 volume monitor backend.
1730 Add cancellable to _g_mount_get_for_mount_path()
1732 * glocaldirectorymonitor.c:
1733 * glocalfilemonitor.c:
1734 Avoid loading and unloading modules while sorting.
1736 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1739 * gunixmounts.[hc]: Namespace waste reduction, move some
1740 g_get_unix_mount functions to the g_unix_mount namespace.
1743 * gunixvolumemonitor.c:
1745 * glocaldirectorymonitor.c: Update all callers.
1747 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1749 2007-12-17 Alexander Larsson <alexl@redhat.com>
1752 Add doc comments about what GFile operations are
1753 guaranteed to not block.
1755 2007-12-17 Alexander Larsson <alexl@redhat.com>
1758 Add missing #ifdef fixing OSX build.
1759 (#503334, patch from Richard Hult)
1761 2007-12-14 David Zeuthen <davidz@redhat.com>
1765 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1766 (g_mount_eject), (g_mount_eject_finish):
1768 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1769 (get_volume_for_uuid), (get_mount_for_uuid),
1770 (g_union_volume_monitor_class_init),
1771 (get_default_native_type_with_exclude), (get_default_native_type),
1772 (get_native_type), (update_native_type),
1773 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1774 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1775 (g_unix_mount_can_eject), (eject_unmount_cb),
1776 (eject_unmount_read_error), (eject_unmount_do),
1777 (g_unix_mount_unmount), (g_unix_mount_eject),
1778 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1779 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1780 (g_unix_mount_point_guess_can_eject):
1782 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1783 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1784 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1785 (g_unix_volume_mount), (g_unix_volume_eject),
1786 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1787 * gunixvolumemonitor.c: (get_volume_for_uuid),
1788 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1790 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1791 (g_volume_eject), (g_volume_eject_finish):
1793 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1794 (g_volume_monitor_get_mount_for_uuid):
1797 Provide eject() on both GMount and GVolume and utility functions
1798 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1799 ejected. Introduce the concept of UUID's and wire it into GVolume
1800 and GMount and provide API on GVolumeMonitor to find such
1801 instances. Also handle the case where an external
1802 GNativeVolumeMonitor fails to initialize. Lock around the
1803 _g_get_mount_for_mount_path() function such that volume monitor
1804 implementations won't have to do locking themselves.
1806 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1808 * gdesktopappinfo.c:
1814 * gvolume.h: Documentation updates
1816 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1819 * gfile.h: Doc updates
1821 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1824 * gdesktopappinfo.c: Use hash table iterators.
1826 2007-12-14 Alexander Larsson <alexl@redhat.com>
1829 * gfileattribute.[ch]:
1830 * gfileattribute-priv.h:
1831 Move GFileAttributeValue to a private header, as
1835 Make set_attribute take a type + a pointer instead
1836 of a GFileAttributeValue.
1839 Fix up for above changes.
1840 Add g_file_info_get_attribute_data to get
1841 all info in one call, g_file_info_get_attribute_status
1842 to get the status and g_file_info_get_attribute_as_string.
1846 * glocalfileinfo.[ch]:
1850 Make _guess_type static.
1852 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1855 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1856 made mkenums and friends use temporary files to avoid leaving
1857 empty generated files on failure (#503470).
1859 2007-12-14 Alexander Larsson <alexl@redhat.com>
1861 * gmountoperation.h:
1864 2007-12-14 Alexander Larsson <alexl@redhat.com>
1868 * gfileattribute.[ch]:
1871 * glocalfileoutputstream.c:
1872 * gmountoperation.[ch]:
1873 * goutputstream.[ch]:
1874 Clean up all flags enums to not have _FLAGS in them
1875 Make the names of some of the enums better.
1880 2007-12-14 Michael Natterer <mitch@imendio.com>
1882 * gio.symbols: fix g_io_scheduler symbol names.
1884 2007-12-14 Alexander Larsson <alexl@redhat.com>
1890 * gbufferedinputstream.h:
1891 * gbufferedoutputstream.h:
1894 * gdatainputstream.h:
1895 * gdataoutputstream.h:
1896 * gdesktopappinfo.h:
1897 * gdirectorymonitor.h:
1901 * gfileenumerator.h:
1904 * gfileinputstream.h:
1906 * gfilenamecompleter.h:
1907 * gfileoutputstream.h:
1908 * gfilterinputstream.h:
1909 * gfilteroutputstream.h:
1917 * gmemoryinputstream.h:
1918 * gmemoryoutputstream.h:
1920 * gmountoperation.h:
1923 * gsimpleasyncresult.h:
1925 * gunixinputstream.h:
1927 * gunixoutputstream.h:
1931 * inotify/Makefile.am:
1932 Only allow including <gio/gio.h> from apps
1934 2007-12-14 Alexander Larsson <alexl@redhat.com>
1936 * gioscheduler.[ch]:
1937 * gsimpleasyncresult.c:
1938 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1939 Split out the send_to_mainloop call into two versions instead
1940 of having the block argument.
1942 2007-12-13 Alexander Larsson <alexl@redhat.com>
1944 * gcancellable.[ch]:
1946 * gbufferedinputstream.c:
1947 * gfileenumerator.c:
1948 * gfileinputstream.c:
1949 * gfileoutputstream.c:
1953 g_push/pop_current_cancellable ->
1954 g_cancellable_push/pop_current
1956 2007-12-13 Alexander Larsson <alexl@redhat.com>
1960 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1962 2007-12-13 Alexander Larsson <alexl@redhat.com>
1964 * gmountoperation.h:
1965 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1967 2007-12-12 Alexander Larsson <alexl@redhat.com>
1970 Fix race condition when freeing proxy in
1971 g_io_job_send_to_mainloop().
1973 2007-12-12 Alexander Larsson <alexl@redhat.com>
1979 Make attribute namespace separator "::" instead of ":".
1980 Use - instead of _ as separator in attribute names.
1982 2007-12-12 Alexander Larsson <alexl@redhat.com>
1984 * gbufferedinputstream.h:
1985 * gbufferedoutputstream.h:
1986 * gdatainputstream.h:
1987 * gdataoutputstream.h:
1988 * gdirectorymonitor.h:
1989 * gfileenumerator.h:
1990 * gfileinputstream.h:
1992 * gfileoutputstream.h:
1993 * gfilterinputstream.h:
1994 * gfilteroutputstream.h:
1996 * glocalfileinputstream.h:
1997 * glocalfileoutputstream.h:
1998 * gmemoryinputstream.h:
1999 * gmemoryoutputstream.h:
2000 * gnativevolumemonitor.h:
2002 * gunixinputstream.h:
2003 * gunixoutputstream.h:
2006 s/parent/parent_instance/ in GObjects
2008 2007-12-12 Alexander Larsson <alexl@redhat.com>
2013 No need for padding for interfaces
2015 2007-12-12 Alexander Larsson <alexl@redhat.com>
2019 * gbufferedinputstream.c:
2020 * gbufferedoutputstream.c:
2023 * gdatainputstream.[ch]:
2024 * gdesktopappinfo.c:
2025 * gdirectorymonitor.c:
2027 * gfileattribute.[ch]:
2030 * gfileinputstream.h:
2031 * gfilemonitor.[ch]:
2032 * gfileoutputstream.[ch]:
2033 * gfilterinputstream.h:
2034 * gfilteroutputstream.h:
2037 * gloadableicon.[ch]:
2038 * gmemoryinputstream.c:
2039 * gmountoperation.c:
2041 Fix up a bunch of details in the docs.
2046 2007-12-11 David Zeuthen <davidz@redhat.com>
2048 Rework how volumes, drives and volume monitoring is
2049 done. Previosly the model was
2051 GDrive <1-1> GVolume
2053 where a GDrive instance represented a mount point and a GVolume
2054 instance represented a mounted file system. This patch changes it
2057 GDrive <1-N> GVolume <1-1> GMount
2059 where GMount now serves the purpose of the old GVolume and the new
2060 GVolume serves the purpose of the old GDrive. In addition the new
2061 GDrive interface is used to represent a collection of GVolume
2062 instances (typically partitions) and also contains utility to query
2063 the state of the physical drive the GDrive object represents (such
2064 as checking for media, polling the drive, ejecting the media etc.).
2066 Also implement mounting and unmounting in the Unix volume monitor
2067 backend. A subquent patch will introduce GDrive support for ejection
2071 * gdrive.c: (g_drive_is_media_check_automatic),
2072 (g_drive_is_media_removable), (g_drive_has_media),
2073 (g_drive_can_poll_for_media), (g_drive_eject),
2074 (g_drive_eject_finish), (g_drive_poll_for_media),
2075 (g_drive_poll_for_media_finish):
2077 * gfile.c: (g_file_find_enclosing_mount):
2080 * glocaldirectorymonitor.c:
2081 (g_local_directory_monitor_constructor), (mounts_changed):
2082 * glocalfile.c: (get_mount_info),
2083 (g_local_file_find_enclosing_mount),
2084 (g_local_file_file_iface_init):
2085 * gnativevolumemonitor.h:
2086 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2087 (get_connected_drives), (g_union_volume_monitor_class_init),
2088 (child_volume_added), (child_volume_removed),
2089 (child_volume_changed), (child_mount_added), (child_mount_removed),
2090 (child_mount_pre_unmount), (child_mount_changed),
2091 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2092 (g_union_volume_monitor_remove_monitor),
2093 (_g_mount_get_for_mount_path):
2094 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2095 (guess_system_internal), (_g_get_unix_mounts),
2096 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2097 (g_unix_mount_free), (g_unix_mount_compare),
2098 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2099 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2100 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2101 (type_to_icon), (g_unix_mount_guess_name),
2102 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2103 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2104 (_resolve_symlink), (_resolve_dev_root):
2106 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2107 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2108 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2109 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2110 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2111 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2112 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2113 (g_unix_volume_volume_iface_init):
2115 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2116 (get_mounts), (get_volumes), (get_connected_drives),
2117 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2118 (mountpoints_changed), (mounts_changed),
2119 (g_unix_volume_monitor_init),
2120 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2121 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2122 * gunixvolumemonitor.h:
2123 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2124 (g_volume_mount), (g_volume_mount_finish):
2126 * gvolumemonitor.c: (g_volume_monitor_class_init),
2127 (g_volume_monitor_get_connected_drives),
2128 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2131 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2133 * gmountoperation.h (GPasswordFlags): Close the gap
2135 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2137 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2139 * gdesktopappinfo.[hc]: Remove _-prefixes
2141 2007-12-10 Tor Lillqvist <tml@novell.com>
2143 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2146 2007-12-10 Alexander Larsson <alexl@redhat.com>
2148 * gfile.c (g_file_set_display_name):
2149 Don't hardcode '/' (#502727)
2151 2007-12-09 Hans Breuer <hans@breuer.org>
2153 * makefile.msc : follow lib naming convention
2154 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2155 for user and group name, tested with ../tests/gio-ls
2157 2007-12-09 A. Walton <awalton@svn.gnome.org>
2159 * gdesktopappinfo.c:
2165 * gfileenumerator.c:
2170 * gmemoryinputstream.c:
2171 * gmemoryoutputstream.c:
2173 * gsimpleasyncresult.c:
2174 More documentation cleanup and filling in missing information, bringing
2175 GIO to 99% symbol coverage.
2177 2007-12-08 Hans Breuer <hans@breuer.org>
2179 [gio compiles and links on win32, not sure how much already works]
2180 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2181 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2182 base on win32 API; prefer g_lstat() over lstat(); instead of
2183 localtime_r() use an all GLib implementation on win32;
2184 get_mount_info() still needs a win32 specifc implementation
2185 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2186 win32_get_file_user_info to get owner/group info without uid/gid
2187 * glocalfileinputstream.c : include <io.h> on win32
2188 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2189 definition, use g_win32_ftruncate() for G_OS_WIN32
2190 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2191 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2192 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2193 * makefile.msc : updated
2195 2007-12-07 Alexander Larsson <alexl@redhat.com>
2197 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2198 Avoid warning spew if error == NULL
2200 2007-12-07 Alexander Larsson <alexl@redhat.com>
2203 Update docs wrt etags
2205 2007-12-06 Alexander Larsson <alexl@redhat.com>
2208 Include sys/types.h for dev_t (#501919)
2210 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2214 Make abicheck and pltcheck pass.
2216 2007-12-05 Alexander Larsson <alexl@redhat.com>
2219 * giomodule-priv.h: Added.
2220 * glocaldirectorymonitor.c:
2221 * glocalfilemonitor.c:
2222 * gunionvolumemonitor.c:
2224 Actually add the declaration of _g_io_modules_ensure_loaded
2226 2007-12-05 Alexander Larsson <alexl@redhat.com>
2228 * gdatainputstream.c:
2233 * glocaldirectorymonitor.c:
2234 * glocalfilemonitor.c:
2235 * gunionvolumemonitor.c:
2237 Make g_io_modules_ensure_loaded a private function and
2238 don't pass in the dirname. This means we can do magic
2239 directory finding in the win32 version.
2240 Export the actual load-modules-in-directory code so that
2241 gvfs can reuse that.
2243 2007-12-05 Alexander Larsson <alexl@redhat.com>
2245 * gbufferedinputstream.c:
2246 * gbufferedoutputstream.c:
2249 * gfileenumerator.[ch]:
2250 * gfileinputstream.c:
2251 * gfileoutputstream.[ch]:
2252 * gfilterinputstream.c:
2253 * gfilteroutputstream.c:
2254 * ginputstream.[ch]:
2256 * glocalfileenumerator.c:
2257 * glocalfileinputstream.c:
2258 * glocalfileoutputstream.c:
2259 * gmemoryinputstream.c:
2260 * gmemoryoutputstream.c:
2261 * goutputstream.[ch]:
2264 * gunixinputstream.c:
2265 * gunixoutputstream.c:
2266 Rename all struct members named:
2267 read, write, close, truncate, or mount
2268 to foo_fn, as these are reserved names
2269 and could be defined as macros in libc.
2272 2007-12-04 Alexander Larsson <alexl@redhat.com>
2275 (g_output_stream_close):
2276 Only call flush if non-null.
2278 2007-11-30 Dan Winship <danw@gnome.org>
2280 * ginputstream.c (g_input_stream_set_pending): Make this take a
2281 GError and return a gboolean, and do the "outstanding operation"
2282 check (and the "stream is already closed" check) itself.
2283 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2285 * goutputstream.c (g_output_stream_set_pending)
2286 (g_output_stream_clear_pending): Likewise
2288 * gbufferedinputstream.c:
2289 * gfileinputstream.c:
2290 * gfileoutputstream.c: Update for that
2292 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2293 Like g_simple_async_report_error_in_idle, but takes a GError
2294 rather than building one.
2296 2007-11-30 Dan Winship <danw@gnome.org>
2298 * goutputstream.c: Don't cheat and unset the "pending" flag around
2299 inner calls. Instead, call the class method directly rather than
2300 the wrapper function that checks "pending"
2302 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2304 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2306 2007-12-03 Hans Breuer <hans@breuer.org>
2308 [start of port to win32/msvc]
2309 * gcancellable.c : HAVE_UNIST_H and _pipe()
2310 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2311 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2312 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2314 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2315 * glocalvfs.c : use HAVE_PWD_H
2316 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2317 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2318 * Makefile.am : added to EXTRA_DIST
2320 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2322 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2325 2007-12-03 Alexander Larsson <alexl@redhat.com>
2328 Handle OSX style xattrs API (#500506)
2330 2007-12-03 Alexander Larsson <alexl@redhat.com>
2334 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2336 2007-12-02 A. Walton <awalton@svn.gnome.org>
2340 Documentation accuracy fixes.
2342 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2344 * gioenumtypes.c.template: Fix typo.
2346 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2348 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2350 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2352 * gdirectorymonitor.c:
2353 * gfilemonitor.c: Add properties
2355 * gbufferedoutputstream.c: Don't mark buffer-size property
2358 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2360 * gbufferedoutputstream.c: Add auto-grow property.
2362 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2364 * *.c: Unify the capitalization of section headings.
2366 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2368 * gmountoperation.c: Add properties
2370 * gdatainputstream.c: Turn byte-order and newline-type into
2373 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2375 * gioenumtypes.[hc].template: Templates for enum registration
2377 * Makefile.am: Generate gioenumtypes.[hc]
2379 * gio.h: Include gioenumtypes.h
2381 * gfile.h: Add some explicit nicks.
2383 * gio.symbols: Add new symbols
2385 * pltcheck.sh: Adjust
2387 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2389 * *.c: Explain etags and link to the explanation
2391 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2393 * *.c: Explain I/O priority.
2395 * *.c: More coding style fixes.
2397 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2399 * gasyncresult.c: Add another paragraph to the intro,
2400 adjust coding style of example.
2402 2007-11-29 A. Walton <awalton@svn.gnome.org>
2405 Fixes unknown meaning in GAppLaunchContext docs.
2407 Clarify asynchronous ops.
2409 Fix entity tag docs.
2412 Provides missing gtk-doc section, fixes API docs slighly.
2413 * gsimpleasyncresult.c:
2414 Fill in missing info in docs.
2415 * gunixinputstream.c:
2416 * gunixoutputstream.c:
2417 Be more expressive in short description.
2419 Remove gtk-doc stubs for non-public API.
2421 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2423 * *.c: Coding style fixups
2425 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2427 * inotify/inotify-helper.c: Don't export the lock from libgio.
2429 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2432 * abicheck.sh: Fix copy-and-paste leftovers
2434 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2436 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2438 2007-11-28 Alexander Larsson <alexl@redhat.com>
2442 Removed unnecessary file
2444 * gdesktopappinfo.[ch]:
2447 * glocaldirectorymonitor.[ch]:
2449 * glocalfileenumerator.[ch]:
2450 * glocalfileinputstream.[ch]:
2451 * glocalfilemonitor.[ch]:
2452 * glocalfileoutputstream.[ch]:
2454 * gnativevolumemonitor.c:
2455 * gpollfilemonitor.[ch]:
2456 * gunionvolumemonitor.[ch]:
2459 * gunixvolumemonitor.[ch]:
2462 * inotify/ginotifydirectorymonitor.[ch]:
2463 * inotify/ginotifyfilemonitor.[ch]:
2464 * inotify/inotify-helper.c:
2465 Append _ to all internal functions
2469 Export symbols needed for modules
2471 2007-11-28 Alexander Larsson <alexl@redhat.com>
2474 * abicheck.sh: Added.
2475 * makegioalias.pl: Added.
2476 * pltcheck.sh: Added.
2477 * gio.symbols: Added.
2480 Initial work on adding symbol handling.
2483 Correct ifdef guard name
2486 * inotify/Makefile.am:
2487 * xdgmime/Makefile.am:
2488 Include toplevel Makefile.decl
2490 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2492 * gcontenttype.c: Move doc comments to the unix section.
2494 * *.[hc]: More trivial doc corrections.
2496 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2498 * gpollfilemonitor.c:
2502 * gdesktopappinfo.c:
2507 * gdatainputstream.c:
2508 * gdatainputstream.h:
2509 * gdataoutputstream.c:
2510 * gdataoutputstream.h:
2511 * gfileinfo.h: Doc cleanups
2513 2007-11-28 Andre Klapper <a9016009@gmx.de>
2515 * gdesktopappinfo.c: Fix a typo.
2517 2007-11-27 Andre Klapper <a9016009@gmx.de>
2519 * glocalfileoutputstream.c: Fix a typo.
2521 2007-11-27 Alexander Larsson <alexl@redhat.com>
2524 Don't include removed headers
2526 2007-11-27 Alexander Larsson <alexl@redhat.com>
2529 * gsocketinputstream.[ch]: Removed.
2530 * gsocketoutputstream.[ch]: Removed.
2531 * gunixinputstream.[ch]: Added.
2532 * gunixoutputstream.[ch]: Added.
2533 Renamed GSocket*Stream to GUnix*Stream and made
2534 it unix-only, since its not really only for sockets
2535 and it only works on unix (but is highly useful there).
2537 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2543 * gbufferedinputstream.c:
2544 * gbufferedinputstream.h:
2545 * gbufferedoutputstream.c:
2546 * gbufferedoutputstream.h:
2550 * gdatainputstream.c:
2551 * gdatainputstream.h:
2552 * gdataoutputstream.c:
2553 * gdataoutputstream.h:
2554 * gdirectorymonitor.c:
2555 * gdirectorymonitor.h:
2562 * gfileenumerator.c:
2563 * gfileenumerator.h:
2568 * gfileinputstream.c:
2569 * gfileinputstream.h:
2572 * gfilenamecompleter.c:
2573 * gfilenamecompleter.h:
2574 * gfileoutputstream.c:
2575 * gfileoutputstream.h:
2576 * gfilterinputstream.c:
2577 * gfilterinputstream.h:
2578 * gfilteroutputstream.c:
2579 * gfilteroutputstream.h:
2592 * glocalfileoutputstream.c:
2593 * gmemoryinputstream.c:
2594 * gmemoryinputstream.h:
2595 * gmemoryoutputstream.c:
2596 * gmemoryoutputstream.h:
2597 * gmountoperation.c:
2598 * gmountoperation.h:
2601 * gpollfilemonitor.c:
2604 * gsimpleasyncresult.c:
2605 * gsimpleasyncresult.h:
2606 * gsocketinputstream.c:
2607 * gsocketinputstream.h:
2608 * gsocketoutputstream.c:
2609 * gsocketoutputstream.h:
2616 * gunixvolumemonitor.c:
2625 Bumps documentation to 93% symbol coverage, touching most
2626 of the public files. Fixes broken function documentation prototypes.
2627 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2628 gtk-doc headers in private files.
2630 2007-11-27 Jürg Billeter <j@bitron.ch>
2632 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2633 (g_buffered_input_stream_read_byte):
2634 * gbufferedinputstream.h:
2635 New functions for efficient access to buffer and simple single byte
2638 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2639 (g_data_input_stream_read_until):
2640 * gdatainputstream.h:
2641 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2642 read_until with multiple stop chars.
2644 2007-11-27 Alexander Larsson <alexl@redhat.com>
2648 * inotify/Makefile.am:
2649 Use the user-specified giomoduledir
2651 2007-11-27 Alexander Larsson <alexl@redhat.com>
2655 Add catch-all gio.h header
2656 Don't install gdummyfile.h
2658 2007-11-26 Alexander Larsson <alexl@redhat.com>
2660 * Makefile.am (gioinclude_HEADERS):
2661 Remove trailing whitespace
2663 2007-11-26 Alexander Larsson <alexl@redhat.com>
2665 Merge gio-standalone into glib
2667 2007-11-25 Christian Kellner <gicmo@gnome.org>
2669 * gio/goutputstream.c:
2670 Fix small mistake in the docs.
2672 2007-11-21 Christian Persch <chpe@gnome.org>
2674 * gio/glocalfile.c: (g_local_file_trash):
2675 Convert filenames to UTF-8 for GError.
2676 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2677 as per xdg base dir spec.
2679 2007-11-21 Christian Persch <chpe@gnome.org>
2681 * gio/gdesktopappinfo.c:
2682 Use that g_key_file_to_data cannot fail.
2684 Use stock defines for the key file group and key names.
2687 2007-11-21 Alexander Larsson <alexl@redhat.com>
2690 (copy_stream_with_progress):
2691 Make sure we do a final progress callback with
2692 the full total size.
2694 2007-11-21 Alexander Larsson <alexl@redhat.com>
2697 Export g_file_copy_attributes
2698 Remove padding as its not needed for interfaces
2700 2007-11-20 Alexander Larsson <alexl@redhat.com>
2705 Add G_IO_ERROR_WOULD_MERGE for
2706 copy/move dir on dir with overwrite.
2708 2007-11-20 Alexander Larsson <alexl@redhat.com>
2711 * gio/glocalfileinfo.c:
2712 Add COPY_NAME (this is an optional
2713 non-modified utf8 version of the name) that
2716 2007-11-20 Alexander Larsson <alexl@redhat.com>
2718 * gio/glocalfileenumerator.c:
2719 Report errors as GIOError, not GFileError
2721 2007-11-16 Alexander Larsson <alexl@redhat.com>
2723 * gio/glocalfileoutputstream.c:
2724 * gio/gwin32appinfo.c:
2725 Fix typos in strings.
2726 Patch from Luca Ferretti <elle.uca@libero.it>
2728 2007-11-15 Alexander Larsson <alexl@redhat.com>
2731 Post release version bump
2733 === gio-standalone 0.1.2 ===
2735 2007-11-15 Alexander Larsson <alexl@redhat.com>
2737 * docs/reference/gio/Makefile.am:
2738 Fix up distcheck by removing weird
2744 2007-11-14 Alexander Larsson <alexl@redhat.com>
2746 * gio/gdesktopappinfo.c:
2747 * gio/glocaldirectorymonitor.c:
2749 * gio/glocalfileinfo.c:
2750 * gio/inotify/inotify-sub.c:
2751 * programs/gio-cat.c:
2752 * programs/gio-copy.c:
2753 * programs/gio-info.c:
2754 * programs/gio-ls.c:
2755 * programs/gio-monitor-dir.c:
2756 * programs/gio-monitor-file.c:
2757 * programs/gio-mount.c:
2758 * programs/gio-move.c:
2759 * programs/gio-rm.c:
2760 * programs/gio-save.c:
2761 * programs/gio-trash.c:
2762 Leak fixes from Kjartan Maraas
2764 2007-11-14 Alexander Larsson <alexl@redhat.com>
2766 * gio/fam/fam-helper.c:
2768 * gio/glocalfileinfo.c:
2772 * gio/inotify/inotify-diag.c:
2773 * gio/inotify/inotify-kernel.c:
2774 Various code cleanups from Kjartan Maraas
2776 2007-11-14 Alexander Larsson <alexl@redhat.com>
2778 * gio/gioscheduler.c:
2780 Set up threadpool so that we cache 2 unused
2781 idle threads for at 15 secs. This means we
2782 will reuse thread-local data (like dbus connections)
2785 2007-11-14 Alexander Larsson <alexl@redhat.com>
2787 * gio/fam/fam-helper.c:
2788 * gio/fam/gfamdirectorymonitor.c:
2789 * gio/fam/gfamfilemonitor.c:
2791 * gio/gcontenttype.c:
2792 * gio/gdatainputstream.c:
2793 * gio/gdataoutputstream.c:
2797 * gio/gfileattribute.h:
2798 * gio/gfileenumerator.c:
2800 * gio/ginputstream.c:
2803 * gio/glocalfileinfo.c:
2804 * gio/goutputstream.c:
2805 * gio/gpollfilemonitor.c:
2806 * gio/gsimpleasyncresult.c:
2807 * gio/gunixmounts.c:
2808 * gio/gunixmounts.h:
2809 * gio/inotify/ginotifydirectorymonitor.c:
2810 * gio/inotify/ginotifyfilemonitor.c:
2811 * gio/inotify/inotify-diag.c:
2812 * gio/inotify/inotify-kernel.c:
2813 * gio/inotify/inotify-path.c:
2815 * gio/test-streams.c:
2816 * programs/gio-info.c:
2817 * programs/gio-monitor-dir.c:
2818 * programs/gio-monitor-file.c:
2819 Various code cleanups from Kjartan Maraas
2821 2007-11-13 Alexander Larsson <alexl@redhat.com>
2824 Handle the uri-scheme calls for dummy files
2826 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2828 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2829 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2830 to avoid clash with the C++ keyword.
2832 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2834 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2835 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2837 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2839 * gio/glocaldirectorymonitor.c:
2840 * gio/glocalfilemonitor.c:
2841 * gio/gunionvolumemonitor.c:
2842 Don't use g_once_init_*() for initializations that could fail and
2843 could leave the initialization variable set to 0 but use GOnce.
2844 This prevents a deadlock on the second call when trying to create
2845 a monitor and no monitor type is available. Thanks to Sven Herzberg
2848 2007-11-11 Sven Herzberg <sven@imendio.com>
2850 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2851 #ifdef (make it work on MacOS X again)
2853 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2855 Fixes Changelog for last two commits (sorry guys).
2857 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2859 * gio/gbufferedinputstream.c:
2860 * gio/gdatainputstream.c:
2862 * gio/gfileoutputstream.c:
2863 * gio/gfilterinputstream.c:
2864 * gio/glocalfileinputstream.c:
2867 More consistency fixes in g*stream.c files.
2868 Significant clean of gfile's documentation, filling in of
2869 asynchronous operations documentation.
2871 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2873 * gio/gasyncresult.c:
2874 * gio/gbufferedinputstream.c:
2875 * gio/gbufferedoutputstream.c:
2876 * gio/gcancellable.c:
2877 * gio/gcontenttype.c:
2878 * gio/gdatainputstream.c:
2879 * gio/gdataoutputstream.c:
2880 * gio/gdesktopappinfo.c:
2883 * gio/gfileattribute.c:
2884 * gio/gio/gfileenumerator.c:
2886 * gio/gfileinputstream.c:
2887 * gio/gfilemonitor.c:
2888 * gio/gfileoutputstream.c:
2889 * gio/ginputstream.c:
2891 * gio/gioscheduler.c:
2892 * gio/gloadableicon.c:
2893 * gio/glocalfileoutputstream.c:
2894 * gio/gmemoryoutputstream.c:
2895 * gio/gmountoperation.c:
2896 * gio/goutputstream.c:
2898 * gio/gsimpleasyncresult.c:
2899 * gio/gunionvolumemonitor.c:
2900 * gio/gunixmounts.c:
2901 * gio/gunixvolume.c:
2905 * gio/gvolumemonitor.c:
2906 Updated documentation stubs, working towards consistency and
2909 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2911 * gio/gmemoryoutputstream.c:
2912 * gio/gmemoryoutputstream.h:
2913 Change g_memory_output_stream_set_free_on_close() to
2914 g_memory_output_stream_set_free_data() as this makes more sense and
2915 is more consistent with GMemoryInputStream.
2917 2007-11-07 Alexander Larsson <alexl@redhat.com>
2924 Change how we find the default vfs so that
2925 we can handle a gvfs failing to init
2927 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2929 * gio/gbufferedoutputstream.c:
2930 * gio/gdatainputstream.c:
2931 * gio/gdataoutputstream.c:
2932 * gio/gfileinputstream.c:
2933 * gio/gfileoutputstream.c:
2934 * gio/gfilterinputstream.c:
2935 * gio/gfilteroutputstream.c:
2936 * gio/ginputstream.c:
2937 * gio/gmemoryinputstream.c:
2938 * gio/gmemoryoutputstream.c:
2939 * gio/goutputstream.c:
2940 * gio/gsimpleasyncresult.c:
2941 * gio/gsocketinputstream.c:
2942 * gio/gsocketoutputstream.c:
2943 Add guards to the remaining public functions, add a TODO for
2944 an unimplemented function and remove some useless guards.
2946 2007-11-07 Alexander Larsson <alexl@redhat.com>
2949 Autoconf checks for the various types of
2950 getpwuid_r and getgrgid_r
2952 * gio/glocalfileinfo.c:
2953 Use the autoconf checks from above
2955 2007-11-07 Alexander Larsson <alexl@redhat.com>
2958 (g_local_file_query_filesystem_info):
2959 Some fixes for the statvfs case
2961 2007-11-07 Alexander Larsson <alexl@redhat.com>
2964 (g_local_file_query_filesystem_info):
2965 Pick the "best" of statfs / statvfs for the system
2966 if both are availible.
2968 2007-11-07 Alexander Larsson <alexl@redhat.com>
2970 Solaris fixes from Halton.Huo@Sun.COM:
2977 * gio/glocalfileinfo.c:
2978 Fix for solaris definition of getpwuid_r
2980 * gio/test-streams.c:
2981 Use G_GNUC_PRETTY_FUNCTION
2983 2007-11-07 Alexander Larsson <alexl@redhat.com>
2985 * gio/gdesktopappinfo.c:
2986 (update_default_list):
2987 Remove double semicolon.
2988 Patch from Jens Granseuer
2990 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2992 * docs/reference/gio/gio-sections.txt:
2993 * gio/gbufferedinputstream.c:
2994 * gio/gbufferedinputstream.h:
2995 * gio/gdatainputstream.c:
2996 * gio/gfileenumerator.c:
2997 * gio/gioscheduler.c:
2998 * gio/gunionvolumemonitor.c:
3000 * programs/gio-save.c:
3001 Fix typo: availible -> available. Unfortuntely this breaks API
3002 and ABI as g_buffered_input_stream_get_available() was renamed.
3004 * gio/gunixmounts.c:
3005 * gio/gbufferedinputstream.c:
3006 Add guards for public functions.
3008 2007-11-06 Ross Burton <ross@openedhand.com>
3010 * docs/reference/gio/Makefile.am:
3011 Fix invalid += usage which automake 1.10 doesn't like.
3013 2007-11-06 Alexander Larsson <alexl@redhat.com>
3016 (g_app_launch_context_class_init):
3019 Patch from Ross Burton
3021 2007-11-06 Alexander Larsson <alexl@redhat.com>
3024 Post release version bump
3026 === gio-standalone 0.1.1 ===
3028 2007-11-06 Alexander Larsson <alexl@redhat.com>
3031 Bump version to 0.1.1
3033 * gio/gsimpleasyncresult.c:
3034 (g_simple_async_result_set_from_error):
3035 Remove bogus g_return_if_fail
3037 2007-11-06 Alexander Larsson <alexl@redhat.com>
3040 The name is gio-standalone
3043 Add top src/builddir to includedir
3045 2007-11-06 Alexander Larsson <alexl@redhat.com>
3047 * docs/reference/gio/gio-sections.txt:
3049 * gio/gbufferedinputstream.c:
3050 * gio/gbufferedoutputstream.c:
3051 * gio/gcancellable.c:
3052 * gio/gdatainputstream.h:
3053 * gio/gdataoutputstream.c:
3054 * gio/gdataoutputstream.h:
3055 * gio/gdirectorymonitor.c:
3057 * gio/gfileattribute.c:
3058 * gio/gfileattribute.h:
3059 * gio/gfileenumerator.c:
3060 * gio/gfileenumerator.h:
3063 * gio/gfileinputstream.h:
3064 * gio/gfilemonitor.c:
3065 * gio/gfileoutputstream.h:
3066 * gio/glocalfilemonitor.h:
3067 * gio/glocalfileoutputstream.h:
3068 * gio/gmemoryinputstream.c:
3069 * gio/gmemoryoutputstream.c:
3070 * gio/gmountoperation.c:
3071 * gio/goutputstream.c:
3072 * gio/goutputstream.h:
3074 * gio/gsimpleasyncresult.c:
3075 * gio/gunixmounts.c:
3076 * gio/gunixmounts.h:
3078 * gio/inotify/inotify-helper.c:
3079 Fix gtk-doc warnings
3081 Patch from Ross Burton
3083 2007-11-06 Alexander Larsson <alexl@redhat.com>
3085 * gio/gfilenamecompleter.c:
3086 (g_filename_completer_get_completions):
3089 * gio/gunixvolume.c:
3090 Remove unused function
3092 Patches from Ross Burton
3094 2007-11-06 Alexander Larsson <alexl@redhat.com>
3099 Padding not needed for interfaces
3101 2007-11-06 Alexander Larsson <alexl@redhat.com>
3103 * gio/gfilemonitor.c:
3107 Make giotypes.h an internal file
3110 * gio/gbufferedinputstream.h:
3111 * gio/gbufferedoutputstream.h:
3112 * gio/gcancellable.h:
3113 * gio/gdatainputstream.h:
3114 * gio/gdataoutputstream.h:
3115 * gio/gdirectorymonitor.c:
3116 * gio/gdirectorymonitor.h:
3121 * gio/gfileattribute.h:
3122 * gio/gfileenumerator.h:
3127 * gio/gfilemonitor.c:
3128 * gio/gfilemonitor.h:
3129 * gio/gfilenamecompleter.c:
3130 * gio/gfilenamecompleter.h:
3131 * gio/gfilterinputstream.h:
3132 * gio/gfilteroutputstream.h:
3133 * gio/ginputstream.h:
3134 * gio/gmemoryinputstream.h:
3135 * gio/gmemoryoutputstream.h:
3136 * gio/gmountoperation.c:
3137 * gio/gmountoperation.h:
3138 * gio/gnativevolumemonitor.c:
3139 * gio/goutputstream.h:
3142 * gio/gsimpleasyncresult.c:
3143 * gio/gsimpleasyncresult.h:
3144 * gio/gsocketinputstream.h:
3145 * gio/gsocketoutputstream.h:
3146 * gio/gthemedicon.c:
3147 * gio/gthemedicon.h:
3151 * gio/gvolumemonitor.c:
3152 * gio/gvolumemonitor.h:
3153 Add padding in classes where it seems useful
3154 Don't include giotypes.h from public headers
3155 Move in Class definitions into c file where possible
3160 2007-11-06 Alexander Larsson <alexl@redhat.com>
3162 * docs/reference/gio/gio-docs.xml:
3163 Better structure for API docs
3165 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3168 * gio/gloadableicon.c:
3169 * gio/gsimpleasyncresult.c:
3170 * gio/gthemedicon.c:
3171 Add some more guards to public functions. Only files missing are now
3174 2007-11-06 Alexander Larsson <alexl@redhat.com>
3176 * docs/reference/gio/gio-docs.xml:
3177 Remove old files, add missing ones
3179 2007-11-06 Alexander Larsson <alexl@redhat.com>
3181 * docs/reference/gio/gio-sections.txt:
3184 Hide implementation classes
3186 * gio/gdriveprivate.h:
3187 * gio/gvolumeprivate.h:
3188 Remove non-existing function declarations
3190 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3193 Fix compilation warnings and add guards to the new functions.
3195 * gio/gasyncresult.c:
3197 Add guards to the public functions.
3200 Implement get_path().
3202 2007-11-06 Alexander Larsson <alexl@redhat.com>
3204 * gio/gfilenamecompleter.c:
3205 Make g_filename_completer_get_completions
3206 return char ** instead of GList for
3209 * docs/reference/gio/gio-docs.xml:
3210 * docs/reference/gio/gio-sections.txt:
3212 * gio/gasyncresult.c:
3213 * gio/gbufferedinputstream.c:
3214 * gio/gbufferedoutputstream.c:
3215 * gio/gcancellable.c:
3216 * gio/gcontenttype.c:
3217 * gio/gdatainputstream.c:
3218 * gio/gdataoutputstream.c:
3219 * gio/gdesktopappinfo.c:
3220 * gio/gdirectorymonitor.c:
3224 * gio/gfileattribute.c:
3225 * gio/gfileenumerator.c:
3228 * gio/gfileinputstream.c:
3229 * gio/gfilemonitor.c:
3230 * gio/gfilenamecompleter.c:
3231 * gio/gfilenamecompleter.h:
3232 * gio/gfileoutputstream.c:
3233 * gio/gfilterinputstream.c:
3235 * gio/ginputstream.c:
3237 * gio/gioscheduler.c:
3238 * gio/gloadableicon.c:
3239 * gio/glocaldirectorymonitor.c:
3241 * gio/glocalfileinputstream.c:
3242 * gio/glocalfilemonitor.c:
3243 * gio/glocalfileoutputstream.c:
3245 * gio/gmemoryinputstream.c:
3246 * gio/gmemoryoutputstream.c:
3247 * gio/gmountoperation.c:
3248 * gio/goutputstream.c:
3249 * gio/gpollfilemonitor.c:
3251 * gio/gsimpleasyncresult.c:
3252 * gio/gsocketinputstream.c:
3253 * gio/gsocketoutputstream.c:
3254 * gio/gthemedicon.c:
3255 * gio/gunionvolumemonitor.c:
3257 * gio/gunixmounts.c:
3258 * gio/gunixvolume.c:
3259 * gio/gunixvolumemonitor.c:
3263 * gio/gvolumemonitor.c:
3264 * gio/gwin32appinfo.c:
3265 Add (mostly stub) doc strings to public functions.
3266 Patch from Andrew Walton (awalton@gmail.com)
3268 2007-11-06 Alexander Larsson <alexl@redhat.com>
3270 * gio/gappinfo.[ch]:
3271 Added GAppLaunchContext object and pass that to launch.
3272 This allows simple implementation of both
3273 launch-on-screen and startup notification via a gtk+
3274 subclass of GAppLaunchContext
3276 * gio/gdesktopappinfo.c:
3277 Implement GAppLaunchContext API
3279 * gio/gwin32appinfo.c:
3282 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3284 * gio/gmountoperation.c:
3285 Add some guards to GMountOperation's public functions.
3287 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3291 * gio/gcancellable.c:
3292 * gio/gdirectorymonitor.c:
3294 * gio/gfileenumerator.c:
3295 * gio/gfilemonitor.c:,
3296 * gio/gfilenamecompleter.c:
3299 * gio/gioscheduler.c:
3303 * gio/gvolumemonitor.c:
3304 Add even more guards to various public functions.
3306 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3309 Add guards to the public functions of GAppInfo.
3311 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3313 * gio/gcontenttype.c:
3314 Add some more guards for public functions.
3316 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3318 * gio/fam/fam-module.c:
3319 * gio/fam/gfamdirectorymonitor.c:
3320 * gio/fam/gfamdirectorymonitor.h:
3321 * gio/fam/gfamfilemonitor.c:
3322 * gio/fam/gfamfilemonitor.h:
3323 * gio/inotify/ginotifydirectorymonitor.c:
3324 * gio/inotify/ginotifydirectorymonitor.h:
3325 * gio/inotify/ginotifyfilemonitor.c:
3326 * gio/inotify/ginotifyfilemonitor.h:
3327 Add proper copyright information and remove an unused variable
3328 in the GInotifyFileMonitor constructor.
3330 * gio/gcancellable.c:
3331 Add a guard for a public function and an assertion to prevent
3332 an undefined program state.
3334 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3336 * gio/gfileattribute.c:
3337 Don't run into an assertion if the given attribute value is NULL
3338 in g_file_attribute_value_get_*() but instead return a fallback
3339 value that makes sense in most situations. Passing them a attribute
3340 value with the wrong type will still run into an assertion.
3342 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3344 * gio/gfileattribute.c:
3346 Add even more guards to the public functions. Also fix the refcounting
3347 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3348 let g_file_info_list_attributes() filter the attributes by namespace
3349 instead of simply ignoring the namespace parameter.
3351 2007-11-03 Sven Herzberg <sven@imendio.com>
3353 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3354 (This makes gio work on MacOS X again)
3356 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3359 Build the gio subdirectory before the docs. Otherwise the build will
3362 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3363 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3364 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3365 Add guards to the public functions.
3367 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3369 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3370 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3371 to prevent a compiler warning.
3373 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3374 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3375 return something in the non-void function find_topdir_for().
3377 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3384 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3386 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3387 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3388 * gwin32appinfo.c (g_win32_app_info_launch):
3389 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3390 envp_for_startup_id, g_desktop_app_info_launch,
3391 g_desktop_app_info_launch_uris):
3393 Give an opaque 'startup_id' string instead of 'envp'.
3394 Support empty file lists for launching new windows.
3395 Fix infinite recursion bug when launching URIs.
3397 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3400 Add guard to the new g_file_get_uri_scheme() function.
3402 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3405 Convert a g_return_val_if_fail() to setting the GError instead as
3406 otherwise applications have to verify the parameter before otherwise
3407 and the parameter might come directly from the user.
3409 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3411 * gio/inotify/ginotify*.[ch]:
3412 Add missing copyright information.
3414 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3417 Add guards in the beginning of public functions to check for valid
3418 parameters and fix a bug in copy_stream_with_progress() that could've
3419 caused writing less bytes than reading.
3420 * gio/glocalfileinfo.c:
3421 Check for a NULL parameter and set the GError accordingly then.
3422 * gio/goutputstream.c:
3423 Fix the same bug as in gfile.c that could've caused writing less bytes
3424 than reading in g_output_stream_real_splice().
3426 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3429 Use the correct gvolumeprivate.h naming
3431 2007-11-01 Christian Kellner <gicmo@gnome.org>
3434 Remove leftover "$(daemon_sources)" entry.
3436 2007-11-01 Christian Kellner <gicmo@gnome.org>
3441 Add copyright information to source files.
3443 2007-11-01 Alexander Larsson <alexl@redhat.com>
3447 Add g_file_get_uri_scheme
3449 2007-11-01 Alexander Larsson <alexl@redhat.com>
3452 * gio/gdesktopappinfo.c:
3453 * gio/gwin32appinfo.c:
3454 Add g_app_info_get_default_for_uri_scheme.
3456 2007-11-01 Alexander Larsson <alexl@redhat.com>
3459 Correct filename for gdriveprivate.h
3461 2007-10-31 Alexander Larsson <alexl@redhat.com>
3464 Rename id:value to id:file
3467 * gio/glocalfileinfo.c:
3470 2007-10-31 Alexander Larsson <alexl@redhat.com>
3472 * gio/gunixvolume.c:
3474 Remove g_volume_get_platform_id, as thats not
3475 needed with the simpler union volume monitor
3477 2007-10-31 Alexander Larsson <alexl@redhat.com>
3480 * gio/guniondrive.[ch]: Removed.
3481 * gio/gunionvolume.[ch]: Removed.
3482 Remove GUnionDrive/Volume
3484 * gio/gunionvolumemonitor.c:
3485 Simplify union volume monitor, now we
3486 only have one native volume monitor and
3487 we use the actual volumes/drives from the
3488 child monitors instead of wrapping them
3490 * gio/gnativevolumemonitor.[ch]:
3491 Base class for native volume monitors.
3492 Includes priority and get_volume_for_mountpoint
3495 Add g_file_find_enclosing_volume
3498 Remove volume name fs attribute
3499 Add readonly fs attribute
3502 Implement readonly attribute
3503 remove volume name attribute
3504 Implement find_enclosing volume
3506 * gio/gunixmounts.c:
3507 Add a volume for "/".
3509 * gio/gunixvolume.[ch]:
3510 Set better name for /
3512 * gio/gunixvolumemonitor.[ch]:
3513 Derive from GNativeVolumeMonitor
3514 Implement get_volume_for_mountpoint
3517 GVolume typedef moved to gfile.h
3519 * gio/gvolumeprivate.h:
3520 Add g_volume_get_for_mount_path
3522 2007-10-31 Alexander Larsson <alexl@redhat.com>
3524 * gio/gunixmounts.[ch]:
3525 Add cache info to unix mount listers
3526 Make getmntent use threadsafe
3527 Add is_system_internal attribute for GUnixMount
3529 * gio/gunixvolume.c:
3530 (g_unix_volume_new):
3531 Use is_system_internal instead of own code
3533 * gio/glocaldirectorymonitor.c:
3534 * gio/gunixvolumemonitor.c:
3535 Update to new gunixmounts API
3540 2007-10-30 Alexander Larsson <alexl@redhat.com>
3543 Add volume name fsinfo attribute
3546 Read volume name info
3548 * gio/gunionvolumemonitor.c:
3549 Fix infinite loops when finalizing a union volume monitor
3551 2007-10-30 Alexander Larsson <alexl@redhat.com>
3553 * gio/goutputstream.[ch]:
3554 Add splice() with default implementation
3556 * gio/gsocketoutputstream.c:
3557 (g_socket_output_stream_write):
3558 Return error on cancellation correctly.
3560 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3562 * gio/glocalfile.c (g_local_file_trash):
3563 Do not leak a string.
3565 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3567 * gio/gfile.c (g_file_load_contents):
3568 Unref the stream after closing it.
3570 2007-10-25 Alexander Larsson <alexl@redhat.com>
3572 * gio/gioscheduler.h:
3575 2007-10-25 Alexander Larsson <alexl@redhat.com>
3579 Add g_file_has_uri_scheme and implement for local files
3581 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3583 * gio/gdesktopappinfo.c: do not leak a string.
3585 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3587 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3588 (g_local_directory_monitor_new):
3589 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3590 (g_local_file_monitor_new):
3591 Only look for the monitor type that should be used the first time
3592 and use g_qsort_with_data() instead of our own bubble sort
3595 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3598 * gio/fam/Makefile.am:
3599 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3600 * gio/fam/fam-helper.h:
3601 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3602 * gio/fam/gfamdirectorymonitor.c:
3603 * gio/fam/gfamdirectorymonitor.h:
3604 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3605 * gio/fam/gfamfilemonitor.h:
3606 * gio/glocaldirectorymonitor.c:
3607 * gio/glocaldirectorymonitor.h:
3608 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3609 * gio/glocalfilemonitor.h:
3610 * gio/inotify/Makefile.am:
3611 * gio/inotify/ginotifydirectorymonitor.c:
3612 * gio/inotify/ginotifydirectorymonitor.h:
3613 * gio/inotify/ginotifyfilemonitor.c:
3614 * gio/inotify/ginotifyfilemonitor.h:
3615 Implement the FAM and Inotify monitors as
3616 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3617 their own GIO module. GLocal(Directory|File)Monitor will use the
3618 monitor with the highest rank that is supported on that machine.
3620 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3623 Change GIO module dir to $(libdir)/gio/modules and change
3624 the log domain from GVFS to GIO. Also only export symbols starting
3625 with g_ in the resulting library.
3626 * gio/test-streams.c: (main):
3627 Set log handler for the GIO log domain.
3629 2007-10-22 Alexander Larsson <alexl@redhat.com>
3631 * gio/gfilenamecompleter.[ch]:
3632 Add g_filename_completer_set_dirs_only
3634 2007-10-22 Alexander Larsson <alexl@redhat.com>
3637 * gio/gurifuncs.[ch]:
3638 Add some simple URI helpers
3640 * gio/gfilenamecompleter.[ch]:
3641 Added object for filename (parse name actually) completion
3644 Handle ~ in parse names
3646 2007-10-17 Alexander Larsson <alexl@redhat.com>
3649 * gio/glocalfileinfo.c:
3650 Add and implement id:value attribute
3652 2007-10-17 Alexander Larsson <alexl@redhat.com>
3655 * gio/guniondrive.c:
3657 Add and implement g_drive_has_volumes
3659 2007-10-17 Alexander Larsson <alexl@redhat.com>
3662 * gio/glocalfileinfo.[ch]:
3663 Add unix:is_mountpoint and implement for local files
3665 2007-10-16 Alexander Larsson <alexl@redhat.com>
3667 * gio/gunionvolumemonitor.c:
3668 (g_union_volume_monitor_init):
3669 Fix up the unix type getting so that it works with gcc
3671 2007-10-12 Alexander Larsson <alexl@redhat.com>
3674 * gio/glocalfileinfo.c:
3675 Add thumbnail:failed to file info
3677 2007-10-12 Richard Hult <richard@imendio.com>
3679 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3680 optimizing away the get_type call (happens with some gcc versions,
3681 like the one shipped with OS X 10.4).
3683 2007-10-12 Alexander Larsson <alexl@redhat.com>
3685 * gio/glocalfileinfo.c:
3686 (_g_local_file_info_set_attribute):
3687 Fix build if not HAVE_XATTR
3688 Patch from Milosz Derezynski <internalerror@gmail.com>
3690 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3692 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3693 around for review, otherwise I would have asked you before
3696 2007-10-11 Alexander Larsson <alexl@redhat.com>
3699 Add thumbnail:path attribute
3701 * gio/glocalfileinfo.c:
3702 Implement thumbnail:path for local files
3704 2007-10-11 Alexander Larsson <alexl@redhat.com>
3706 * gio/glocalfileinfo.c:
3707 (_g_local_file_info_get):
3708 Avoid duplicate icon names
3710 2007-10-11 Alexander Larsson <alexl@redhat.com>
3712 * gio/gthemedicon.[ch]:
3713 Change g_themed_icon_get_names return type to const
3715 2007-10-10 Alexander Larsson <alexl@redhat.com>
3717 * gio/glocalfileinfo.c:
3718 Don't reference freed memory
3720 2007-10-10 Alexander Larsson <alexl@redhat.com>
3722 * gio/gfileattribute.c:
3725 * gio/glocalfileinfo.c:
3728 2007-10-10 Alexander Larsson <alexl@redhat.com>
3731 Check for NULL icons
3733 * gio/gfileattribute.c:
3734 Don't dup when getting objects (same as for string attributes)
3736 * gio/gicon.c (g_icon_equal):
3737 Safely handle NULLs in equal
3739 2007-10-10 Alexander Larsson <alexl@redhat.com>
3742 Fix c++ compilation issues
3743 Patch from Milosz Derezynski <internalerror@gmail.com>
3745 2007-10-10 Alexander Larsson <alexl@redhat.com>
3747 * programs/gio-monitor-dir.c:
3748 Don't crash if dir monitor not supported.
3750 2007-10-09 Alexander Larsson <alexl@redhat.com>
3753 Add missing G_END_DECLS
3755 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3757 * gio/gfile.c: (g_file_set_display_name),
3758 (g_file_query_settable_attributes),
3759 (g_file_query_writable_namespaces):
3760 Return NULL not FALSE on errors as the return type is a pointer.
3762 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3764 * gio/glocalfile.c: (g_local_file_monitor_file):
3765 Don't call monitor_file on the default interface vtable (which
3766 is NULL) but simply return NULL. The caller, GFile, will create a
3767 polling monitor if NULL is returned.
3769 2007-10-09 Alexander Larsson <alexl@redhat.com>
3773 * gio-unix-2.0.pc.in:
3774 Add gio-unix-2.0.pc if OS_UNIX
3777 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3779 2007-10-09 Alexander Larsson <alexl@redhat.com>
3781 * gio/gunixmounts.[ch]:
3782 Make unix mount monitoring API sane.
3783 Now its just a object with mounts_changed
3784 and mountpoints_changed signals.
3786 * gio/glocaldirectorymonitor.c:
3787 * gio/gunixvolumemonitor.c:
3788 Use new mount monitor api
3790 2007-10-09 Alexander Larsson <alexl@redhat.com>
3792 * gio/gunixmounts.[ch]:
3793 Move guess type into one call for mounts and one for mountpoints
3796 * gio/gunixvolume.c:
3799 2007-10-09 Alexander Larsson <alexl@redhat.com>
3801 * gio/gunixmounts.[ch]:
3802 Remove _ prefix in preparation to make this semi-public
3803 Hide implementation of structs
3805 * gio/glocaldirectorymonitor.c:
3807 * gio/gunixvolume.c:
3808 * gio/gunixvolumemonitor.c:
3809 Update for above API changes
3811 2007-10-08 Alexander Larsson <alexl@redhat.com>
3814 Better polling fallback. This also handles the case where we have
3815 a monitor_file implementation, but it fails.
3817 2007-10-08 Alexander Larsson <alexl@redhat.com>
3821 * gio/gunixmounts.c:
3822 * programs/gio-monitor-dir.c:
3823 * programs/gio-monitor-file.c:
3824 Added cancellable to file monitoring calls.
3825 These are really sync calls and need this.
3827 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3829 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3830 (g_local_vfs_class_init):
3831 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3832 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3834 2007-10-05 Alexander Larsson <alexl@redhat.com>
3836 * gio/gdirectorymonitorprivate.h:
3837 * gio/gfilemonitorprivate.h:
3838 * gio/gdirectorymonitor.h:
3839 * gio/gfilemonitor.h:
3840 Remove *private.h and move to the public API, so that
3841 we can do implementations outside gio (such as in gvfs)
3843 * gio/gdirectorymonitor.c:
3844 * gio/gfilemonitor.c:
3845 * gio/glocaldirectorymonitor.c:
3846 * gio/gpollfilemonitor.c:
3847 * gio/inotify/inotify-helper.c:
3848 * gio/fam/fam-helper.c:
3849 Update to the new header names
3851 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3853 * gio/gdirectorymonitor.c:
3854 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3857 2007-10-04 Alexander Larsson <alexl@redhat.com>
3859 * gio/glocalfileinfo.c (get_access_rights):
3860 Set CAN_TRASH when we can move the file.
3861 We should really also check for a parent trash dir.
3863 2007-10-04 Alexander Larsson <alexl@redhat.com>
3865 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3866 Add can_trash access attribute
3868 2007-10-04 Alexander Larsson <alexl@redhat.com>
3871 (g_local_file_trash):
3872 Create info file first. This is per-spec and allows
3873 us to actually trash directories.
3875 2007-10-02 Alexander Larsson <alexl@redhat.com>
3877 * gio/gdesktopappinfo.c:
3878 Implement the new mime support code.
3879 Always set app as handling mimetype when being set as default for it
3881 2007-10-01 Alexander Larsson <alexl@redhat.com>
3883 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3884 Fix up check for xattrs:
3886 2007-10-01 Alexander Larsson <alexl@redhat.com>
3889 (g_app_info_set_as_default_for_extension):
3890 (g_app_info_add_supports_type):
3891 (g_app_info_can_remove_supports_type):
3892 (g_app_info_remove_supports_type):
3893 Make these fail nicely if not implemented
3895 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3897 * gio/glocalfileoutputstream.c:
3898 * gio/glocalfileoutputstream.h:
3903 * programs/gio-save.c:
3904 Add a GFileCreateFlags argument to operations that can create
3907 2007-10-01 Alexander Larsson <alexl@redhat.com>
3909 * gio/gappinfo.[ch]:
3910 * gio/gdesktopappinfo.c:
3911 Add more (stubbed out) mime API needed for nautilus
3913 2007-10-01 Alexander Larsson <alexl@redhat.com>
3916 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3917 Add g_app_info_set_as_default_for_extension.
3919 * gio/gdesktopappinfo.c:
3920 Dummy for g_app_info_set_as_default_for_extension
3921 Support flags in g_app_info_create_from_commandline
3923 * gio/gwin32appinfo.c:
3925 Update for API changes
3927 * gio/gthemedicon.c:
3928 Properly NULL-terminate list of icon names
3930 2007-09-28 Alexander Larsson <alexl@redhat.com>
3932 * gio/gloadableicon.h:
3933 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3935 2007-09-28 Alexander Larsson <alexl@redhat.com>
3938 Install headers in $includedir/gio-standalone/
3940 * gio-2.0.pc.in: Added.
3941 * gio-standalone.pc.in: Removed.
3944 Renamed pkg-config file to match glib (for future move)
3945 Update to the new include dir
3948 Add more TODO comments
3950 2007-09-28 Alexander Larsson <alexl@redhat.com>
3952 * gio/gdesktopappinfo.[ch]:
3953 Expose new_from_filename
3954 Add getter for is_hidden and handle it better
3956 2007-09-28 Alexander Larsson <alexl@redhat.com>
3958 * gio/gfileinfo.[ch]:
3959 Rename g_file_size_format_for_display to
3960 g_format_file_size_for_display.
3961 Now it doesn't have the g_file prefix, so we
3962 can later move it to glib.
3964 2007-09-28 Alexander Larsson <alexl@redhat.com>
3966 * gio/gappinfo.[ch]:
3967 Add g_app_info_get_id and g_app_info_get_executable.
3968 Make all getters non-reffing
3969 Make g_app_info_launch take GFile arguments.
3970 Add must_support_uris argument to g_app_info_get_default_for_type.
3972 * gio/gwin32appinfo.c:
3973 Update to GAppInfo api changes
3975 * gio/gdesktopappinfo.c:
3976 Update to GAppInfo api changes
3977 Implement supports_xdg_startup_notify
3979 * gio/gfileicon.c (g_file_icon_get_file):
3980 Make getter non-reffing.
3985 2007-09-27 Alexander Larsson <alexl@redhat.com>
3987 * gio/gfileinfo.[ch]:
3988 Add g_file_size_format_for_display helper
3990 2007-09-27 Alexander Larsson <alexl@redhat.com>
3992 * gio/glocalfileinfo.c:
3993 Set UNIX_GID from gid, not from uid
3995 2007-09-27 Alexander Larsson <alexl@redhat.com>
3998 Add g_file_set_attributes_async
4000 2007-09-27 Alexander Larsson <alexl@redhat.com>
4002 * gio/glocalfile.c (g_local_file_set_display_name):
4003 Fix set_display_name to actually rename to the right place.
4004 Use lstat to look for existing files so we don't overwrite
4007 2007-09-26 Alexander Larsson <alexl@redhat.com>
4010 Add g_file_set_display_name_async()
4012 2007-09-26 Alexander Larsson <alexl@redhat.com>
4015 Add load_partial_contents async calls
4018 Make internal function static
4020 2007-09-26 Alexander Larsson <alexl@redhat.com>
4022 * gio/glocalfileinfo.c:
4023 Correctly detect broken symlinks
4025 2007-09-26 Alexander Larsson <alexl@redhat.com>
4027 * gio/gcancellable.c (g_cancellable_cancel):
4028 Allow cancel on NULL cancellable
4030 2007-09-25 Alexander Larsson <alexl@redhat.com>
4032 * gio/gsimpleasyncresult.c:
4033 Don't allocate g_error manually.
4034 Fixes g_slice/g_new mixup crash
4036 2007-09-25 Alexander Larsson <alexl@redhat.com>
4038 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4039 Actually set active_backend.
4040 This means the monitor will be cancelled correctly.
4042 2007-09-25 Alexander Larsson <alexl@redhat.com>
4044 * gio/gdirectorymonitor.c:
4045 Set timeout to NULL when destroying
4047 2007-09-25 Alexander Larsson <alexl@redhat.com>
4050 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4051 that is a better description of the error.
4053 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4055 * gio/gvfs.c: (g_vfs_get_local):
4056 Make the local vfs variable static. The same instance should
4059 2007-09-24 Alexander Larsson <alexl@redhat.com>
4061 * gio/glocalfileinfo.c:
4062 Pass in actual length read into sniffer, not the length
4065 2007-09-21 Alexander Larsson <alexl@redhat.com>
4067 * gio/gfileenumerator.c:
4070 * gio/gfileinputstream.c:
4071 * gio/gfileoutputstream.c:
4072 * gio/ginputstream.c:
4073 * gio/goutputstream.c:
4074 Don't crash if async callbacks are NULL
4076 2007-09-20 Alexander Larsson <alexl@redhat.com>
4079 Add async enumerate_children method and default
4082 2007-09-20 Alexander Larsson <alexl@redhat.com>
4085 Add g_file_contains_file & g_file_get_relative_path, since they
4086 were needed for nautilus.
4087 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4092 Implement new methods
4094 2007-09-17 Alexander Larsson <alexl@redhat.com>
4097 * gio/gfileinputstream.[ch]:
4098 * gio/gfileoutputstream.[ch]:
4100 * gio/glocalfileenumerator.[ch]:
4101 * gio/glocalfileinfo.[ch]:
4102 * gio/glocalfileinputstream.c:
4103 * gio/glocalfileoutputstream.c:
4104 * gio/gpollfilemonitor.c:
4105 * programs/gio-copy.c:
4106 * programs/gio-info.c:
4107 * programs/gio-move.c:
4108 Rename get_file_info to query_info() to make it clearer
4109 that these are not simple getters, but do i/o.
4111 2007-09-17 Alexander Larsson <alexl@redhat.com>
4113 * gio/gdatainputstream.[ch]:
4114 * gio/test-streams.c:
4115 Use _read_XXX instead of _get_XXX for the i/o calls
4118 2007-09-17 Alexander Larsson <alexl@redhat.com>
4121 Added needed stuff to TODO comment
4123 2007-09-17 Alexander Larsson <alexl@redhat.com>
4125 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4126 Don't error out removing the backup copy if it doesn't
4129 2007-09-14 Alexander Larsson <alexl@redhat.com>
4131 * programs/Makefile.am:
4132 * programs/gvfs-*.c:
4134 Renamed apps from gvfs-xxx to gio-xxx.
4136 2007-09-14 Alexander Larsson <alexl@redhat.com>
4139 * gio/gfileoutputstream.[ch]:
4140 * gio/glocalfileoutputstream.c:
4141 * programs/gvfs-save.c:
4142 g_file_output_stream_get_etag doesn't do i/o, so remove
4143 cancellation and error.
4145 2007-09-14 Alexander Larsson <alexl@redhat.com>
4148 Add new_etag output to replace_contents functions
4150 2007-09-14 Alexander Larsson <alexl@redhat.com>
4152 * gio/gfileoutputstream.[ch]:
4153 Add async get_file_info and default implementation
4155 2007-09-14 Alexander Larsson <alexl@redhat.com>
4157 * gio/gfileinputstream.c:
4158 Implement fallback wrapper for async get_file_info
4160 2007-09-14 Alexander Larsson <alexl@redhat.com>
4163 Add etag out argument to load_contents
4168 2007-09-14 Alexander Larsson <alexl@redhat.com>
4170 * gio/gcontenttype.c (looks_like_text):
4171 Whitespace like tab, cr and lf do not make the
4174 2007-09-14 Alexander Larsson <alexl@redhat.com>
4176 * gio/gfileinputstream.[ch]:
4177 Add async get_file_info.
4179 2007-09-13 Alexander Larsson <alexl@redhat.com>
4181 * gio/goutputstream.c (g_output_stream_write_all):
4182 Allow NULL for bytes_written
4184 2007-09-13 Alexander Larsson <alexl@redhat.com>
4186 * gio/gmemoryinputstream.[ch]:
4187 Add accessors for data
4189 2007-09-13 Alexander Larsson <alexl@redhat.com>
4191 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4192 Don't crash if length is NULL