1 2008-05-17 Matthias Clasen <mclasen@redhat.com>
3 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
5 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
8 2008-05-16 Tor Lillqvist <tml@novell.com>
10 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
11 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
13 2008-05-13 Bastien Nocera <hadess@hadess.net>
15 * gfile.c (has_valid_scheme): A URI scheme must start with a
16 letter, even if later more characters are allowed (#532852)
18 2008-05-05 Michael Natterer <mitch@imendio.com>
20 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
21 code from being checked in that breaks the build of applications
22 which use G_DISABLE_SINGLE_INCLUDES.
24 * makegioalias.pl: make the alias file include "glib.h" instead of
27 * gio.symbols: whitespace change to force regeneration of the
28 alias file after above script change.
30 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
32 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
34 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
36 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
38 2008-04-28 David Zeuthen <davidz@redhat.com>
40 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
41 displaying mounts in a subdirectory not accessible to the
44 2008-04-22 Michael Natterer <mitch@imendio.com>
46 * Makefile.am: fix library versioning (it was 0.0.0).
48 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
50 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
51 Default disable all loggings.
52 * fen/fen-kernel.c: (printevent), (port_add_kevent),
53 (port_fetch_event_cb): Fixed two macro nits.
55 2008-04-16 Matthias Clasen <mclasen@redhat.com>
57 * xdgmime/xdgmime.c: Rework the timestamp checking code
58 to protect against duplicate directories in XDG_DATA_DIRS.
59 Fixes fd.o bug 12513, reported by Joe Shaw.
61 2008-04-16 Matthias Clasen <mclasen@redhat.com>
63 Partically revert the last commit after realizing that
64 xdg_mime_media_type_equal doesn't have to init at all.
67 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
69 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
71 2008-04-16 Matthias Clasen <mclasen@redhat.com>
73 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
74 reported by Joe Shaw and Federico Mena Quintero.
76 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
77 (xdg_mime_media_type_equal): Turn into a wrapper around the
80 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
83 2008-04-16 Michael Meeks <michael.meeks@novell.com>
85 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
86 tolerate an empty TryExec= line without failing; nautilus used
87 to create launchers with these in previous versions. Fixes #528433
89 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
91 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
92 after name. Fixes #527132.
94 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
96 * gfile.c: (g_file_replace):
99 2008-04-07 Matthias Clasen <mclasen@redhat.com>
101 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
103 * gfile.c (file_copy_fallback): Fix the argument order. Patch
104 by Christian Kellner.
106 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
108 * gunixmounts.c: (g_unix_mount_guess_should_display):
109 Don't list the user directory as a mount, fix potential issue
110 when other users have a similar naming and don't special case the
111 gvfs mounts there since that's not required (#525866)
113 2008-03-31 Alexander Larsson <alexl@redhat.com>
115 * glocalfile.c (get_parent):
118 2008-03-31 A. Walton <awalton@svn.gnome.org>
120 * gfile.c (g_file_query_file_type):
121 Always return a GFileType enum value (#520715).
123 2008-03-31 Alexander Larsson <alexl@redhat.com>
125 * glocalfileenumerator.c:
126 Read readdir() info in chunks (of 1000) and sort
127 the chunks by inode before stat:ing.
128 This is a 20% performance increase in testing
129 gvfs-ls on /usr/bin with cold cache.
131 2008-03-31 Alexander Larsson <alexl@redhat.com>
133 * gmemoryoutputstream.c:
134 Clarify docs for g_memory_output_stream_get_size.
135 Add g_memory_output_stream_get_data_size.
137 2008-03-30 Matthias Clasen <mclasen@redhat.com>
141 * gfile.h: Add g_file_query_file_type convenience function
142 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
144 2008-03-30 Matthias Clasen <mclasen@redhat.com>
147 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
149 2008-03-28 A. Walton <awalton@svn.gnome.org>
151 * giomodule.c (_g_io_modules_ensure_loaded):
152 Adds GIO_EXTRA_MODULES environment variable support, closing bug
155 2008-03-28 Alexander Larsson <alexl@redhat.com>
158 (copy_stream_with_progress):
161 2008-03-28 Alexander Larsson <alexl@redhat.com>
164 (copy_stream_with_progress):
165 (file_copy_fallback):
166 Fallback to g_file_query_info for source size
167 if g_file_input_stream_query_info fails. (#524579)
169 2008-03-28 Alexander Larsson <alexl@redhat.com>
171 * glocalfile.c (g_local_file_move):
172 Reuse old string instead of adding new one.
174 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
176 * fen/*.[hc]: still copyright issue. I hate copyright.
178 2008-03-27 Alexander Larsson <alexl@redhat.com>
180 * glocalfile.c (g_local_file_move):
181 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
182 file over directory. This is according to the docs and what the move via
183 copy+remove fallback does.
185 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
187 * fen/*.[hc]: Updated copyright.
189 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
191 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
193 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
195 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
196 not emit attribute changed events when optimizing changed events.
197 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
200 2008-03-19 Matthias Clasen <mclasen@redhat.com>
202 * gmountoperation.[hc]: Small documentation additions
204 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
206 * gunixmounts.c: (guess_mount_type):
207 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
209 2008-03-19 Alexander Larsson <alexl@redhat.com>
212 (copy_stream_with_progress):
213 Bump block side for copy to 64k to minimize
214 overhead for low latency links. (#523015)
216 2008-03-16 Tor Lillqvist <tml@novell.com>
218 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
219 depend on gio.def on Windows.
221 2008-03-12 David Zeuthen <davidz@redhat.com>
225 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
227 2008-03-14 Alexander Larsson <alexl@redhat.com>
231 Avoid redudant tests (#521851)
232 Patch from Josselin Mouette
234 2008-03-14 Alexander Larsson <alexl@redhat.com>
237 (g_file_monitor_is_cancelled):
238 Fix C89 issue (#521672)
239 Patch from Jens Granseuer
241 2008-03-14 Alexander Larsson <alexl@redhat.com>
243 * fam/fam-helper.[ch]:
245 Shut down fam (including removing fam GSource) when
246 module is unloaded (#521513)
247 Patch from Joe Marcus Clarke
249 2008-03-14 Alexander Larsson <alexl@redhat.com>
252 (_g_io_modules_ensure_loaded):
255 2008-03-14 Alexander Larsson <alexl@redhat.com>
258 (g_local_file_query_filesystem_info):
259 Use right define name for f_fstypename member check
261 2008-03-14 Alexander Larsson <alexl@redhat.com>
264 * fen/Makefile.am: Added.
265 * fen/fen-data.[ch]: Added.
266 * fen/fen-dump.[ch]: Added.
267 * fen/fen-helper.[ch]: Added.
268 * fen/fen-kernel.[ch]: Added.
269 * fen/fen-missing.[ch]: Added.
270 * fen/fen-node.[ch]: Added.
271 * fen/fen-sub.[ch]: Added.
272 * fen/gfendirectorymonitor.[ch]: Added.
273 * fen/gfenfilemonitor.[ch]: Added.
275 Added Solaris FEN file notification backend.
276 Patch from Lin Ma <Lin.Ma@Sun.COM>
278 2008-03-13 Tor Lillqvist <tml@novell.com>
280 * Makefile.am: Actually use the gio.def file when linking the
281 library on Windows. Produce .lib library for Microsoft's toolchain
282 when possible. Install the .lib and .def file like for the other
285 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
287 * tests/live-g-file.c:
288 Include live-g-file in standard set of tests, making a temporary
289 directory in source structure.
291 Clean target directory before the tests (write mode only)
293 2008-03-12 Tor Lillqvist <tml@novell.com>
295 Bug 517419 - gio win32 directory monitor
296 Implementation by Vlad Grecescu.
299 * win32/gwin32directorymonitor.h
300 * win32/gwin32directorymonitor.c: New files.
302 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
304 * Makefile.am: Add the win32 subdirectory.
306 2008-03-12 Tor Lillqvist <tml@novell.com>
308 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
309 normal struct stat on Unix but struct _stati64 on Windows to have
310 access to 64-bit file size information. Use that instead of struct
311 stat in the functions declared here in this private header.
313 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
314 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
315 warnings about unused functions and variables. Don't set
316 meaningless attributes like inode numbers on Windows.
318 2008-03-12 Benjamin Otte <otte@gnome.org>
321 trim whitespace so gtk-doc groks the function name
323 2008-03-12 Tor Lillqvist <tml@novell.com>
325 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
326 returning FALSE, on Win32.
328 2008-03-11 Alexander Larsson <alexl@redhat.com>
331 * glocalfileinfo.[ch]:
332 Correctly implement can_trash by actually
333 looking for a trash dir, not just assuming
336 2008-03-10 Matthias Clasen <mclasen@redhat.com>
338 * === Released 2.16.1 ===
340 2008-03-11 Alexander Larsson <alexl@redhat.com>
343 Fix crashes in new constructor and properties code
345 2008-03-10 Murray Cumming <murrayc@murrayc.com>
347 * gfile.c: Minor spelling correction in documentation:
348 existance -> existence.
350 2008-03-10 Matthias Clasen <mclasen@redhat.com>
352 * === Released 2.16.0 ===
354 2008-03-10 Matthias Clasen <mclasen@redhat.com>
356 * gio.symbols: Remove g_file_contains_file here, too.
358 2008-03-10 Matthias Clasen <mclasen@redhat.com>
360 * gthemedicon.c: Add properties to make bindings happy. (#517676,
361 Samuel Cormier-Iijima)
363 2008-03-08 Tor Lillqvist <tml@novell.com>
365 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
368 2008-03-07 Alexander Larsson <alexl@redhat.com>
371 (g_local_file_query_filesystem_info):
372 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
373 Patch from Jasper Lievisse Adriaanse
375 2008-03-06 Tor Lillqvist <tml@novell.com>
377 * gfileinfo.h: Correct milliseconds to microseconds in the doc
378 comments for the *_USEC attributes.
380 2008-03-06 Alexander Larsson <alexl@redhat.com>
382 * gfile.c (g_file_query_exists):
383 Add g_return_val_if_fail check (#520700)
385 2008-03-06 Alexander Larsson <alexl@redhat.com>
390 * gunionvolumemonitor.c:
393 * tests/live-g-file.c:
394 * xdgmime/xdgmimecache.c:
395 Fix sparse warnings (#519489)
397 2008-03-05 Alexander Larsson <alexl@redhat.com>
400 Make cancellation threadsafe (i.e.
401 guarantee its only done once, and always
404 * glocaldirectorymonitor.c:
405 Make sure we the monitor lives while the
406 mounts_changed callback is being called (#520484)
408 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
410 * gbufferedinputstream.c: Fix typo in parameter
413 2008-03-04 Alexander Larsson <alexl@redhat.com>
416 Remove deprecated symbols we kept for one release.
418 2008-03-04 Murray Cumming <murrayc@murrayc.com>
421 * goutputstream.c: Tiny documentation corrections.
423 2008-03-03 Alexander Larsson <alexl@redhat.com>
425 * gunionvolumemonitor.c:
427 Fix the adopt_orphan_mount vfunc to take a
428 volume_monitor reference in an ABI compat way.
429 This change is not API compat, but the added
430 arg is not used in the only user of this vfunc, so
431 all we get is a harmless warning in gvfs (#520169)
433 2008-03-01 Benjamin Otte <otte@gnome.org>
436 clarify docs for g_file_delete().
438 2008-02-29 Alexander Larsson <alexl@redhat.com>
442 Make sure empty files get text/plain type (#518720)
444 2008-02-27 Alexander Larsson <alexl@redhat.com>
450 (g_unix_volume_mount):
451 Add missing GMountMountFlags argument
453 2008-02-26 Alexander Larsson <alexl@redhat.com>
456 (g_local_file_delete):
457 Handle filesystems (like ntfs-3g) that return EEXIST instead
458 of ENOTEMPTY (#518816)
460 2008-02-25 Matthias Clasen <mclasen@redhat.com>
462 * === Released 2.15.6 ===
464 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
466 * gfile.c (g_file_find_enclosing_mount):
467 * ginputstream.c (g_input_stream_set_pending):
468 * glocalfile.c (g_local_file_find_enclosing_mount):
469 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
470 * goutputstream.c (g_output_stream_set_pending):
472 Fixup translator comments (#518578).
474 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
476 * gfile.c (g_file_find_enclosing_mount):
478 * glocalfile.c (g_local_file_find_enclosing_mount):
481 Fix a few typos in translator comments and documentation.
483 2008-02-25 Alexander Larsson <alexl@redhat.com>
490 Add translator comments (#518578)
492 2008-02-25 Alexander Larsson <alexl@redhat.com>
495 Reintroduce g_file_contains_file, keep around for one
496 unstable release cycle to avoid crashing to many apps.
497 Make sure to delete after release.
499 2008-02-25 Alexander Larsson <alexl@redhat.com>
502 Remove deprecated g_file_contains_file.
504 2008-02-25 Alexander Larsson <alexl@redhat.com>
507 Emit actual change signals in an idle handler.
508 This avoids reentrance and locking problems in
509 the file notification backends.
511 2008-02-25 Alexander Larsson <alexl@redhat.com>
514 (g_unix_mount_guess_should_display):
515 Remove type guessing, instead just display
516 mounts in /media and in ~/.
518 2008-02-25 Alexander Larsson <alexl@redhat.com>
521 Make new strings reuse old ones.
523 2008-02-25 Alexander Larsson <alexl@redhat.com>
526 Implement trashing and filesystem::readonly for win32 (#517235)
527 Patch from Yevgen Muntyan
529 2008-02-23 Matthias Clasen <mclasen@redhat.com>
531 * gfileinfo.h: Documentation fixes.
533 2008-02-22 Alexander Larsson <alexl@redhat.com>
535 * gcontenttype.c (g_content_type_get_icon):
536 Look at old-style gnome mime icon names too, as many
537 have not moved to the new style.
539 2008-02-21 Matthias Clasen <mclasen@redhat.com>
541 * *.c: Correct the @include in for section docs.
543 2008-02-21 David Zeuthen <davidz@redhat.com>
545 * glocalfileinfo.c: (_g_local_file_info_get):
547 (g_content_type_get_icon): Implement this function by
548 moving bits from glocalfileinfo.c
549 (g_content_type_get_description): Unalias before getting
550 description (#517687)
552 * gfile.c: (g_file_class_init),
553 (g_file_query_filesystem_info_async),
554 (g_file_query_filesystem_info_finish),
555 (query_filesystem_info_data_free),
556 (query_filesystem_info_async_thread),
557 (g_file_real_query_filesystem_info_async),
558 (g_file_real_query_filesystem_info_finish):
559 * gfile.h: Implement async version of
560 g_file_query_filesystem_info()
562 * gfileinfo.h: Add new attributes for filesystem::use-preview
564 * gio.symbols: Update
566 * gthemedicon.c: (g_themed_icon_append_name):
567 * gthemedicon.h: Add new new convenience function.
569 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
570 (get_mounts), (get_volumes), (get_connected_drives),
571 (get_volume_for_uuid), (get_mount_for_uuid),
572 (g_union_volume_monitor_init), (populate_union_monitor),
573 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
574 (g_volume_monitor_adopt_orphan_mount):
576 * gvolumemonitor.h: Use recursive locks so it's safe for volume
577 monitor implementations to call into the main volume monitor. Also
578 separate object initialization and volume monitor initialization
579 such that non-native volume monitors can properly adopt their
582 2008-02-21 Alexander Larsson <alexl@redhat.com>
587 2008-02-21 Alexander Larsson <alexl@redhat.com>
590 Add more documentation about how GFiles work (from #517086)
592 2008-02-21 Alexander Larsson <alexl@redhat.com>
596 Add new g_file_has_prefix that does the same as g_file_contains_file.
597 Deprecate g_file_contains_file and add a macro that converts
598 it to g_file_has_prefix.
599 The reason for this change is that the contains_file() name seems to
600 imply that this does more work than what it does, but its really only
601 a name match (from #517086)
606 Update to match the above change.
608 2008-02-20 Benjamin Otte <otte@gnome.org>
610 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
611 (g_file_eject_mountable):
612 even more cases of not returning in error path
614 2008-02-20 Benjamin Otte <otte@gnome.org>
616 * gfile.c: (g_file_mount_mountable):
617 return from function in error path.
619 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
622 Remove trailing coma in GMountMountFlags struct
624 2008-02-18 Alexander Larsson <alexl@redhat.com>
628 * glocalfileoutputstream.c:
629 Use g_unlink/g_rename instead of unlink/rename;
630 do not pass raw filenames to g_set_error. (#517239)
631 Patch from Yevgen Muntyan.
633 2008-02-18 Alexander Larsson <alexl@redhat.com>
636 * glocalfileoutputstream.c:
637 Open files with O_BINARY on windows. (#517140)
639 2008-02-14 Alexander Larsson <alexl@redhat.com>
641 * glocalfileoutputstream.c:
642 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
644 2008-02-14 Alexander Larsson <alexl@redhat.com>
647 Copy permissions with file on copy (#514084)
648 This is what cp does and makes sure e.g. the
649 exec permissions are kept.
650 Its kinda weird in that it keeps the permission bits
651 the same while the uid and gid are different. However
652 the new uid is the user so its not a security issue,
653 and I've heard no complaints about cp on this issue.
655 2008-02-13 Ryan Lortie <desrt@desrt.ca>
657 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
659 2008-02-13 Alexander Larsson <alexl@redhat.com>
661 * inotify/inotify-path.c:
662 Define IN_ONLYDIR if not in header (#515346)
664 2008-02-12 Alexander Larsson <alexl@redhat.com>
666 * tests/live-g-file.c:
669 2008-02-11 Matthias Clasen <mclasen@redhat.com>
671 * === Released 2.15.5 ===
673 2008-02-11 Matthias Clasen <mclasen@redhat.com>
675 * gio.symbols: Add g_mount_mount_flags_get_type.
677 2008-02-11 Alexander Larsson <alexl@redhat.com>
680 (g_file_info_set_attribute_mask):
681 (g_file_attribute_matcher_matches_id):
682 Correctly handle NULL GAttributeMatcher meaning
683 matches nothing. (Fixes #513492)
685 2008-02-11 Alexander Larsson <alexl@redhat.com>
690 Added GMountMountFlags enum and added a flags
691 argument to all mount calls.
693 This is an API/ABI change for future extensibility,
694 as I think we will need at least an
695 inhibit-autorun flag (the panel needs this).
696 There are no flags defined yet though.
698 2008-02-11 Alexander Larsson <alexl@redhat.com>
701 Added new standard::description attribute.
702 Requested by Vincent, and useful for both
705 2008-02-11 Alexander Larsson <alexl@redhat.com>
710 2008-02-11 Matthias Clasen <mclasen@redhat.com>
712 * *.c: Documentation additions
714 2008-02-10 Matthias Clasen <mclasen@redhat.com>
716 * gappinfo.h: Formatting cleanup
717 * gappinfo.c: Fix up docs.
719 2008-02-09 Matthias Clasen <mclasen@redhat.com>
721 * gunixmounts.c: Consistently use getmntent_r() and fall
722 back to getmntent(). (#515492)
724 2008-02-09 Matthias Clasen <mclasen@redhat.com>
726 * gbufferedinputstream.c:
728 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
730 * tests/data-input-stream.c:
731 * tests/data-output-stream.c: Portability fixes.
733 2008-02-08 Alexander Larsson <alexl@redhat.com>
738 Add g_volume_should_automount.
741 2008-02-07 Tor Lillqvist <tml@novell.com>
743 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
744 Win32, too Unix-specific.
746 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
748 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
749 a local plt if the compiler doesn't support what we want. Bug #514702
751 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
753 reviewed by: <delete if not using a buddy>
756 * gunixinputstream.c:
757 * gunixoutputstream.c:
759 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
762 * tests/live-g-file.c:
763 * tests/live-g-file.txt:
764 New GIO testing module working over real data
766 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
768 * glocalfileoutputstream.c (g_local_file_output_stream_close):
769 Fallback to rename() if link() is not available
770 (when no support on target filesystem)
772 2008-02-06 Michael Natterer <mitch@imendio.com>
774 * gfileinfo.c (g_file_info_get_icon): replace
775 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
777 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
779 * gfile.c (g_file_create):
780 Documentation update of error codes
782 2008-02-06 Alexander Larsson <alexl@redhat.com>
785 Update to use both mimeapps.list and
786 defaults.list as discussed on xdg list.
788 2008-02-06 Benjamin Otte <otte@gnome.org>
791 * gfilenamecompleter.c:
792 Fix some typos in the documentation.
794 2008-02-06 Alexander Larsson <alexl@redhat.com>
796 * glocalfile.c (g_local_file_trash):
797 Don't succeed with trash if newly created
798 trash dir has the wrong owner. (#514696)
800 2008-02-05 Alexander Larsson <alexl@redhat.com>
802 * glocalfile.c (g_local_file_move):
803 Don't spew warnings when destination is not
806 2008-02-03 Hans Breuer <hans@breuer.org>
808 * makefile.msc : update
810 2008-02-01 Michael Natterer <mitch@imendio.com>
812 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
813 return value of xdg_mime_list_mime_parents() to a variable of the
816 2008-02-01 Alexander Larsson <alexl@redhat.com>
818 * gappinfo.c (g_app_info_launch_uris):
819 Actually call the launch_uris method, not
822 2008-02-01 Alexander Larsson <alexl@redhat.com>
824 * gdesktopappinfo.c (g_desktop_app_info_equal):
825 Ensure appinfos with no id but same pointer value
828 2008-02-01 Alexander Larsson <alexl@redhat.com>
830 * gappinfo.c (g_app_info_launch_default_for_uri):
833 2008-02-01 Alexander Larsson <alexl@redhat.com>
837 Add g_app_info_launch_default_for_uri utility
840 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
843 Doc fix for g_app_info_get_default_for_uri_scheme ()
846 2008-01-30 Alexander Larsson <alexl@redhat.com>
849 Add doc comment about uris vs GFiles to
853 Ensure uris passed to g_app_info_launch_uris()
854 are not roundtriped through GFile (as that
855 may be slightly destructive for e.g. mailto: links)
857 2008-01-30 Alexander Larsson <alexl@redhat.com>
859 * tests/data-input-stream.c:
860 * tests/data-output-stream.c:
861 C89 fixes from Jens Granseuer (#512849)
863 2008-01-30 Alexander Larsson <alexl@redhat.com>
866 Fix gamin/fam difference build issue. (#509419)
868 2008-01-29 Alexander Larsson <alexl@redhat.com>
872 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
874 2008-01-29 Alexander Larsson <alexl@redhat.com>
878 giomodule-priv.h include moved to .c file.
880 2008-01-29 Alexander Larsson <alexl@redhat.com>
882 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
883 Remove unused prio/name fields.
885 2008-01-29 Alexander Larsson <alexl@redhat.com>
887 * gcontenttype.c (looks_like_text):
888 Don't treat whitespace as control chars.
890 2008-01-29 Alexander Larsson <alexl@redhat.com>
893 Lazily create the desktop files for appinfos created
894 by g_app_info_create_from_commandline() when needed
895 for mime associations. This allows run-time use
896 of GAppInfo object without creating unnecessary
899 2008-01-29 Alexander Larsson <alexl@redhat.com>
902 Added new symbols to gio.symbols
904 2008-01-29 Alexander Larsson <alexl@redhat.com>
907 Add g_file_query_default_handler utility to easily look up
908 the GAppInfo that handles a file.
910 * gdesktopappinfo.[ch]:
912 Set up an extension point for g_app_info_get_default_for_uri_scheme()
915 Remove unused function
917 2008-01-29 Alexander Larsson <alexl@redhat.com>
920 Mention need to free returned value in
921 g_file_enumerator_next_files_finish docs.
922 Fix leak if g_file_enumerator_next_files_finish()
925 2008-01-29 Alexander Larsson <alexl@redhat.com>
928 (_g_unix_content_type_get_parents):
929 Use list_parents, not get_parents from xdgmime, because
930 the later doesn't use the cache.
932 * xdgmime/xdgmimecache.c:
933 (_xdg_mime_cache_list_mime_parents):
934 Don't list the same type as parent multiple times.
936 2008-01-28 Matthias Clasen <mclasen@redhat.com>
938 * === Released 2.15.4 ===
940 2008-01-28 Alexander Larsson <alexl@redhat.com>
943 Register local vfs with prio 0.
946 Remove old name and prio class members
948 2008-01-28 Matthias Clasen <mclasen@redhat.com>
950 * tests/g-file.c: Disable some tests that are failing in
951 the absence of a http backend.
953 2008-01-28 Alexander Larsson <alexl@redhat.com>
957 Add registration hooks for extension points.
958 Register the gio extension points.
960 * fam/gfamdirectorymonitor.c:
961 * fam/gfamfilemonitor.c:
962 * glocaldirectorymonitor.[ch]:
963 * glocalfilemonitor.[ch]:
964 * gnativevolumemonitor.h:
965 * gunionvolumemonitor.c:
966 * gunixvolumemonitor.c:
969 * inotify/ginotifydirectorymonitor.c:
970 * inotify/ginotifyfilemonitor.c:
971 Use the extension points registration instead
972 of g_type_children().
974 2008-01-28 Matthias Clasen <mclasen@redhat.com>
977 * gvolume.[hc]: Document new API.
979 * gfile.c (g_file_copy_async): Fix docs
981 2008-01-27 Matthias Clasen <mclasen@redhat.com>
983 * gbufferedinputstream.c:
985 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
988 2008-01-27 Matthias Clasen <mclasen@redhat.com>
990 * glocalfile.c: Avoid trivial differences in translatable strings.
992 2008-01-25 Matthias Clasen <mclasen@redhat.com>
994 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
995 build with gcc 3.4 (#509419)
997 2008-01-25 Matthias Clasen <mclasen@redhat.com>
999 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1000 (#509994, Murray Cumming)
1002 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1004 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1005 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1006 this allows big jobs to be executed in chunks, instead of blocking
1007 the main loop for a long time.
1009 * gsimpleasyncresult.c:
1010 * giofile.c: Adapt callers.
1012 2008-01-25 Alexander Larsson <alexl@redhat.com>
1014 * gdesktopappinfo.c:
1015 Implement changes discussed on xdg list.
1016 Now we can add supported mimetypes by just using defaults.list
1017 We can also remove associations in defaults.list.
1019 2008-01-25 Alexander Larsson <alexl@redhat.com>
1021 * gdesktopappinfo.c:
1022 Don't make local copy of desktop file
1023 for mimetype changes if the file already
1024 supports the new mimetype.
1026 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1030 * gbufferedinputstream.c:
1031 * glocalfile.c: String improvements. (#511966,
1032 Theppitak Karoonboonyanan)
1034 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1036 * gioscheduler.h: Expand docs a bit.
1038 2008-01-24 Alexander Larsson <alexl@redhat.com>
1041 Add g_drive_get_identifier and
1042 g_drive_enumerate_identifiers
1045 Add g_volume_get_identifier and
1046 g_volume_enumerate_identifiers
1052 Implement identifiers for unix backend
1054 2008-01-24 Alexander Larsson <alexl@redhat.com>
1059 Add g_file_copy_async() (#511580)
1060 Based on patch from Carlos Garcia Campos
1062 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1064 * gioscheduler.c: Some documentation additions.
1066 2008-01-22 Alexander Larsson <alexl@redhat.com>
1068 * gdesktopappinfo.c:
1069 (g_desktop_app_info_new):
1070 Don't leak basename.
1072 2008-01-22 Alexander Larsson <alexl@redhat.com>
1074 * gdesktopappinfo.c:
1075 (g_desktop_app_info_new_from_filename):
1078 2008-01-22 Alexander Larsson <alexl@redhat.com>
1080 * glocalfileinfo.c (get_thumbnail_attributes):
1083 2008-01-22 Alexander Larsson <alexl@redhat.com>
1086 (canonicalize_filename):
1087 Canonicalize paths that start with more than
1091 (compare_two_files):
1092 (test_g_file_new_for_path):
1095 2008-01-22 Alexander Larsson <alexl@redhat.com>
1098 Allow UTF-8 in file:// parse names.
1100 * tests/Makefile.am:
1101 * tests/data-input-stream.c:
1102 * tests/data-output-stream.c:
1103 * tests/g-file-info.c:
1105 Added a bunch of tests from Tomas Bzatek
1107 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1109 * === Released 2.15.3 ===
1111 2008-01-21 Alexander Larsson <alexl@redhat.com>
1113 * gfileinputstream.[ch]:
1114 * gfileoutputstream.[ch]:
1116 Remove duplicated GSeekable functions. (#509990)
1117 Just use the g_seekable_xxx() calls instead.
1119 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1122 * gvolumemanager.c: Whitespace cleanups.
1124 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1125 Use the right mode when creating the file.
1127 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1129 * gfileenumerator.c:
1130 * gfileinputstream.c:
1132 * goutputstream.c: Documentation: Fixed minor typos
1133 and added more mentions of specific _finish() functions.
1135 2008-01-21 Alexander Larsson <alexl@redhat.com>
1137 * inotify/Makefile.am:
1138 * inotify/inotify-helper.c:
1139 * inotify/inotify-kernel.c:
1140 * inotify/inotify-path.c:
1141 * inotify/local_inotify.h: Removed.
1142 * inotify/local_inotify_syscalls.h: Removed.
1143 Removed the included copies of the inotify
1144 headers. We now only use the <sys/inotify.h>
1145 header which exists on modern systems.
1146 This fixes problems on ARM and SH5 (#510448)
1147 but is also generally much cleaner and future
1148 safe. For instance, if other OSes add support
1149 for inotify it should "just work".
1151 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1153 * inotify/*.c: Coding style fixes.
1154 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1155 for the 1/4 Hz timer.
1157 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1160 * gfilemonitor.[hc]:
1161 * gmemoryinputstream.c:
1162 * gmemoryoutputstream.c:
1163 * gmountoperation.c:
1164 * gthemedicon.c: Documentation updates
1166 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1168 * gfile.c: documentation: Fixed more minor
1171 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1173 * gmount.c: (g_mount_remount): documentation:
1174 Mention g_mount_remount_finish() instead of
1175 g_mount_unmount_finish().
1177 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1181 * gfile.c: Fixed some minor typos in the
1184 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1186 * gio/gvolumemonitor.c:
1187 (g_volume_monitor_get_connected_drives):
1188 (g_volume_monitor_get_volumes):
1189 (g_volume_monitor_get_mounts): Documentation:
1190 Clarify the ownership of the regurn GLists.
1192 2008-01-17 Alexander Larsson <alexl@redhat.com>
1195 Add the async find_enclosing_mount version
1196 to the header file too.
1198 2008-01-17 Alexander Larsson <alexl@redhat.com>
1201 Add async version of find_enclosing_mount
1202 with default implementation.
1204 2008-01-17 Alexander Larsson <alexl@redhat.com>
1209 Allow calls to implementation of copy and write
1210 even if the type of the file implementations is
1211 different. This can be used to implement native
1212 upload and download calls in a vfs.
1215 (g_local_file_move):
1216 Protect against the case where move is called
1217 with one file not being local.
1219 Make sure we call the progress callback once
1220 in the native move operation so that the caller
1221 knows how many bytes were copied.
1223 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1226 * gdatainputstream.c:
1228 * gfileoutputstream.c:
1233 * gunixmounts.c: Corrected some typos in the documentation:
1234 occured -> occurred.
1235 its -> it's (where appropriate).
1237 2008-01-16 Alexander Larsson <alexl@redhat.com>
1241 Add g_file_query_exists (#508771)
1243 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1248 * gvolume.c: For async functions that have no non-async
1249 version, document that the GAsyncReadyCallback may be NULL.
1252 2008-01-15 Alexander Larsson <alexl@redhat.com>
1254 * gmemoryinputstream.c:
1255 * gmemoryoutputstream.c:
1256 Don't do pointer arithmetic on void * (#508602)
1257 Patch from Kazuki IWAMOTO
1259 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1261 * === Released 2.15.2 ===
1263 2008-01-14 Alexander Larsson <alexl@redhat.com>
1265 * gfile.c (g_file_monitor_file):
1266 Don't set error here, since we fallback to polling monitor.
1268 2008-01-14 Alexander Larsson <alexl@redhat.com>
1271 (g_file_monitor_directory):
1272 (g_file_monitor_file):
1273 Add GError to file monitor calls
1275 * glocaldirectorymonitor.c:
1276 * glocaldirectorymonitor.h:
1278 * glocalfilemonitor.c:
1279 * glocalfilemonitor.h:
1281 Update for above change
1283 2008-01-14 Alexander Larsson <alexl@redhat.com>
1287 Handle root correctly in g_file_get_relative_path (#508719)
1289 2008-01-14 Alexander Larsson <alexl@redhat.com>
1292 Clean up docs and example for GAsyncResult (#508074)
1294 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1296 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1297 and correct some spelling mistakes. Bug #508108.
1299 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1301 * glocalfileinfo.c: Add a comment.
1303 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1305 * gfileinfo.c: GFileInfo description: Mention
1306 how to actually set attributes in a GFile and how to discover
1307 which attributes are settable. Bug #508378.
1309 2008-01-10 A. Walton <awalton@svn.gnome.org>
1311 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1312 (g_app_info_get_default_for_type):
1313 Check for NULL content types.
1315 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1317 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1319 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1321 * gfile.c: *_async() functions: Several small corrections
1322 to the documentation, mostly correcting copy/paste errors
1323 and improving some sentences.
1325 2008-01-09 Dan Winship <danw@gnome.org>
1327 * glocalfile.c (get_unique_filename): x86_64 fix
1329 2008-01-09 Alexander Larsson <alexl@redhat.com>
1334 Add g_unix_mount_guess_should_display and use
1335 for unix volume monitor backend.
1336 This means we more or less show what the
1337 gnome-vfs backend did.
1338 Based on patch from Padraig O'Briain
1340 2008-01-09 Alexander Larsson <alexl@redhat.com>
1344 Add g_themed_icon_new_with_default_fallbacks
1347 Use default fallbacks for icons
1349 2008-01-09 Alexander Larsson <alexl@redhat.com>
1352 * gmountoperation.[ch]:
1353 Change the API a bit so that unhandled methods
1354 get reported via the reply, rather than by
1355 the signal emission return value. This is because
1356 some handlers can't know this immediately without
1357 doing I/O, and this is an async operation that
1360 2008-01-09 Alexander Larsson <alexl@redhat.com>
1363 * fam/gfamdirectorymonitor.c:
1364 * fam/gfamfilemonitor.c:
1365 Fix double free crash (#508224)
1366 Patch from Joe Marcus Clarke
1368 008-01-07 Matthias Clasen <mclasen@redhat.com>
1370 * === Released 2.15.1 ===
1372 2008-01-07 Alexander Larsson <alexl@redhat.com>
1374 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1375 Fix warning (#507835)
1377 2008-01-07 Alexander Larsson <alexl@redhat.com>
1380 Pass --internal to glib-genmarshal
1383 * gmountoperation.c:
1385 Use better types for signal arguments (#507822)
1387 2008-01-07 Alexander Larsson <alexl@redhat.com>
1390 Build test subdir after .
1391 Remove gdirectorymonitor.[ch]
1393 * gdirectorymonitor.[ch]:
1397 Remove GDirectoryMonitor and make
1398 GFileMonitor the baseclass for both file and
1399 directory monitors. Lift the more generic
1400 rate limiting code from GDirectoryMonitor
1404 * fam/gfamdirectorymonitor.[ch]:
1405 * inotify/ginotifydirectorymonitor.[ch]:
1406 * inotify/inotify-helper.c:
1407 * glocaldirectorymonitor.[ch]:
1410 Update for the removed GDirectoryMonitor.
1412 * gmemoryoutputstream.c:
1413 Remove ununsed variable
1415 2008-01-07 Alexander Larsson <alexl@redhat.com>
1417 * gmemoryinputstream.c:
1418 Translate error strings
1421 * gmemoryoutputstream.[ch]:
1422 New implementation that avoids using GByteArray
1423 in implementation and API. (#506377)
1425 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1427 * tests/*: Add a test for memory input streams.
1429 * Makefile.am: Add tests to SUBDIRS.
1431 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1433 * glocalfilemonitor.c:
1434 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1437 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1439 * gdesktopappinfo.c: Fix a docs typo.
1441 * gfileattribute.c: Add information about extended attributes
1442 to the documentation. (#505058)
1444 2008-01-04 Alexander Larsson <alexl@redhat.com>
1447 * gmountoperation.c:
1448 Use the right type (uint) for the ask_password signal.
1450 2008-01-04 Alexander Larsson <alexl@redhat.com>
1455 Add g_app_info_supports_files()
1456 Remove desktop arg from g_app_info_should_show().
1458 * gdesktopappinfo.[ch]:
1459 Implement g_app_info_supports_files() and new should_show()
1460 Add g_desktop_app_info_set_desktop_env() to set the desktop
1461 for should_show(). (This will be set by gtk+ later)
1463 2008-01-04 Alexander Larsson <alexl@redhat.com>
1466 * gmemoryinputstream.[ch]:
1467 Improve API so that you can use multiple chunks
1468 of memory and custom destroy functions. (#506374)
1470 2008-01-03 Alexander Larsson <alexl@redhat.com>
1473 Handle NULL attribute matchers safely, as we return this
1474 for empty attribute matcher strings.
1476 2008-01-03 Alexander Larsson <alexl@redhat.com>
1478 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1479 Add /usr/local to list of internal mountpoints
1481 2008-01-03 Alexander Larsson <alexl@redhat.com>
1484 Check for HAVE_LCHOWN (#505887)
1486 2008-01-03 Alexander Larsson <alexl@redhat.com>
1490 Add define for selinux context attribute.
1491 Fix missing : -> :: namespace separator change
1492 Fix missing _ -> - name change for xattr-sys.
1495 2008-01-03 Alexander Larsson <alexl@redhat.com>
1498 Link to libglib and libgobject directly (#504879)
1499 Patch from Sebastien Bacher
1501 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1503 * gfile.c: Expanded the g_file_new_for_commandline_arg
1504 description a bit, based on the code and the docs of the
1505 other g_file_new_for_* functions.
1507 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1509 * gfilemonitor.h: Fixed typo in docs.
1511 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1513 Updates to GIO documentation. (#506395, Mikael Hermansson)
1515 * gcontenttype.c: Describe memory management for return value of
1516 g_content_types_get_registered(). Missing piece from #505815.
1517 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1518 GVolume, GDrive, GMounts, which hopefully gives the user less
1519 confusions when using this API. Following explainations from
1520 Alexander Larsson on gtk-devel-list.
1522 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1524 * gfileinfo.c: Expand the long description.
1526 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1529 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1530 fix builds with --disable-visibility. (#500273, Christian Persch)
1532 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1534 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1535 in the list of returned app infos.
1537 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1539 * gappinfo.c: Fix a cross-reference
1541 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1543 * gfileinputstream.c:
1544 * gfileoutputstream.c:
1548 * gdesktopappinfo.c:
1550 * gfileinfo.c: Documentation updates.
1552 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1554 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1557 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1559 * gcontenttype.c (g_content_types_get_registered): Don't return
1560 freed memory (#505815, Mikael Hermansson)
1562 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1564 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1565 used to detect statbuf->st_blocks. (#505042)
1567 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1569 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1570 environment handling. (#504829, Cosimo Cecchi)
1572 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1574 * gappinfo.c: Doc improvements
1576 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1579 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1581 * === Released 2.15.0 ===
1583 2007-12-20 Hans Breuer <hans@breuer.org>
1585 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1586 with symbols gwin32appinfo.obj, added gmount.obj
1587 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1589 2007-12-20 Alexander Larsson <alexl@redhat.com>
1595 * gfilenamecompleter.c:
1598 * gpollfilemonitor.c:
1599 File attribute renames:
1601 fs:: -> filesystem::
1602 id::fs -> id::filesystem
1604 2007-12-20 Alexander Larsson <alexl@redhat.com>
1613 Add GMountUnmountFlags to all unmount and
1615 Add g_mount_remount() call.
1617 2007-12-20 Alexander Larsson <alexl@redhat.com>
1619 * gvfs.c (get_default_vfs):
1620 Fix unused variable warning
1622 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1624 * pltcheck.sh: Update
1626 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1628 * gunionvolumemonitor.c:
1629 * gunixmount.c: Remove C99 comments
1631 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1633 * gio.symbols: Add some missing symbols
1635 2007-12-19 Alexander Larsson <alexl@redhat.com>
1638 Make g_io_modules_load_all_in_directory not unuse
1639 loaded modules so that users of it can do stuff
1641 Init internal "module" types.
1642 Initialize static prio and name for types so that
1643 we don't have to load modules to get it.
1645 * gnativevolumemonitor.h:
1647 Move is_supported to parent class so that
1648 non-native monitors can avoid being initialized
1649 too. (For instance GDaemonVolumeMonitor if we're
1650 not using GDaemonVfs.)
1652 * glocaldirectorymonitor.[ch]:
1653 * glocalfilemonitor.[ch]:
1654 * gunionvolumemonitor.c:
1655 * gunixvolumemonitor.c:
1657 Find plugins using the static prio+name to
1658 avoid unnecessarily loading the modules.
1660 2007-12-19 Alexander Larsson <alexl@redhat.com>
1665 2007-12-19 Alexander Larsson <alexl@redhat.com>
1667 * gunionvolumemonitor.c:
1668 Store the native type as GType, not class so that
1669 we can unload it. But still avoid unnecessarily
1672 2007-12-19 David Zeuthen <davidz@redhat.com>
1674 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1675 add signals 'disconnected' and 'eject-button' on GDrive. Add
1676 signal 'removed' on GVolume and 'unmounted' on GMount.
1678 * gdrive.c: (g_drive_base_init):
1680 * gfile.c: (g_file_mount_mountable),
1681 (g_file_mount_enclosing_volume):
1684 * gmount.c: (g_mount_base_init):
1686 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1687 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1688 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1692 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1694 * *.c: Fix up includes in the section docs.
1696 2007-12-17 Alexander Larsson <alexl@redhat.com>
1698 * gnativevolumemonitor.h:
1699 * gunionvolumemonitor.c:
1700 * gunixvolumemonitor.c:
1701 Add is_supported() to GNativeVolumeMonitorClass so
1702 that we can avoid having to create an object to see
1703 if the backend is supported at runtime.
1704 Also add name member and an env var to pick a specific
1705 volume monitor backend.
1709 Add cancellable to _g_mount_get_for_mount_path()
1711 * glocaldirectorymonitor.c:
1712 * glocalfilemonitor.c:
1713 Avoid loading and unloading modules while sorting.
1715 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1718 * gunixmounts.[hc]: Namespace waste reduction, move some
1719 g_get_unix_mount functions to the g_unix_mount namespace.
1722 * gunixvolumemonitor.c:
1724 * glocaldirectorymonitor.c: Update all callers.
1726 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1728 2007-12-17 Alexander Larsson <alexl@redhat.com>
1731 Add doc comments about what GFile operations are
1732 guaranteed to not block.
1734 2007-12-17 Alexander Larsson <alexl@redhat.com>
1737 Add missing #ifdef fixing OSX build.
1738 (#503334, patch from Richard Hult)
1740 2007-12-14 David Zeuthen <davidz@redhat.com>
1744 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1745 (g_mount_eject), (g_mount_eject_finish):
1747 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1748 (get_volume_for_uuid), (get_mount_for_uuid),
1749 (g_union_volume_monitor_class_init),
1750 (get_default_native_type_with_exclude), (get_default_native_type),
1751 (get_native_type), (update_native_type),
1752 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1753 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1754 (g_unix_mount_can_eject), (eject_unmount_cb),
1755 (eject_unmount_read_error), (eject_unmount_do),
1756 (g_unix_mount_unmount), (g_unix_mount_eject),
1757 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1758 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1759 (g_unix_mount_point_guess_can_eject):
1761 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1762 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1763 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1764 (g_unix_volume_mount), (g_unix_volume_eject),
1765 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1766 * gunixvolumemonitor.c: (get_volume_for_uuid),
1767 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1769 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1770 (g_volume_eject), (g_volume_eject_finish):
1772 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1773 (g_volume_monitor_get_mount_for_uuid):
1776 Provide eject() on both GMount and GVolume and utility functions
1777 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1778 ejected. Introduce the concept of UUID's and wire it into GVolume
1779 and GMount and provide API on GVolumeMonitor to find such
1780 instances. Also handle the case where an external
1781 GNativeVolumeMonitor fails to initialize. Lock around the
1782 _g_get_mount_for_mount_path() function such that volume monitor
1783 implementations won't have to do locking themselves.
1785 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1787 * gdesktopappinfo.c:
1793 * gvolume.h: Documentation updates
1795 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1798 * gfile.h: Doc updates
1800 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1803 * gdesktopappinfo.c: Use hash table iterators.
1805 2007-12-14 Alexander Larsson <alexl@redhat.com>
1808 * gfileattribute.[ch]:
1809 * gfileattribute-priv.h:
1810 Move GFileAttributeValue to a private header, as
1814 Make set_attribute take a type + a pointer instead
1815 of a GFileAttributeValue.
1818 Fix up for above changes.
1819 Add g_file_info_get_attribute_data to get
1820 all info in one call, g_file_info_get_attribute_status
1821 to get the status and g_file_info_get_attribute_as_string.
1825 * glocalfileinfo.[ch]:
1829 Make _guess_type static.
1831 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1834 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1835 made mkenums and friends use temporary files to avoid leaving
1836 empty generated files on failure (#503470).
1838 2007-12-14 Alexander Larsson <alexl@redhat.com>
1840 * gmountoperation.h:
1843 2007-12-14 Alexander Larsson <alexl@redhat.com>
1847 * gfileattribute.[ch]:
1850 * glocalfileoutputstream.c:
1851 * gmountoperation.[ch]:
1852 * goutputstream.[ch]:
1853 Clean up all flags enums to not have _FLAGS in them
1854 Make the names of some of the enums better.
1859 2007-12-14 Michael Natterer <mitch@imendio.com>
1861 * gio.symbols: fix g_io_scheduler symbol names.
1863 2007-12-14 Alexander Larsson <alexl@redhat.com>
1869 * gbufferedinputstream.h:
1870 * gbufferedoutputstream.h:
1873 * gdatainputstream.h:
1874 * gdataoutputstream.h:
1875 * gdesktopappinfo.h:
1876 * gdirectorymonitor.h:
1880 * gfileenumerator.h:
1883 * gfileinputstream.h:
1885 * gfilenamecompleter.h:
1886 * gfileoutputstream.h:
1887 * gfilterinputstream.h:
1888 * gfilteroutputstream.h:
1896 * gmemoryinputstream.h:
1897 * gmemoryoutputstream.h:
1899 * gmountoperation.h:
1902 * gsimpleasyncresult.h:
1904 * gunixinputstream.h:
1906 * gunixoutputstream.h:
1910 * inotify/Makefile.am:
1911 Only allow including <gio/gio.h> from apps
1913 2007-12-14 Alexander Larsson <alexl@redhat.com>
1915 * gioscheduler.[ch]:
1916 * gsimpleasyncresult.c:
1917 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
1918 Split out the send_to_mainloop call into two versions instead
1919 of having the block argument.
1921 2007-12-13 Alexander Larsson <alexl@redhat.com>
1923 * gcancellable.[ch]:
1925 * gbufferedinputstream.c:
1926 * gfileenumerator.c:
1927 * gfileinputstream.c:
1928 * gfileoutputstream.c:
1932 g_push/pop_current_cancellable ->
1933 g_cancellable_push/pop_current
1935 2007-12-13 Alexander Larsson <alexl@redhat.com>
1939 Rename g_mount_for_location to g_file_mount_enclosing_volume.
1941 2007-12-13 Alexander Larsson <alexl@redhat.com>
1943 * gmountoperation.h:
1944 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
1946 2007-12-12 Alexander Larsson <alexl@redhat.com>
1949 Fix race condition when freeing proxy in
1950 g_io_job_send_to_mainloop().
1952 2007-12-12 Alexander Larsson <alexl@redhat.com>
1958 Make attribute namespace separator "::" instead of ":".
1959 Use - instead of _ as separator in attribute names.
1961 2007-12-12 Alexander Larsson <alexl@redhat.com>
1963 * gbufferedinputstream.h:
1964 * gbufferedoutputstream.h:
1965 * gdatainputstream.h:
1966 * gdataoutputstream.h:
1967 * gdirectorymonitor.h:
1968 * gfileenumerator.h:
1969 * gfileinputstream.h:
1971 * gfileoutputstream.h:
1972 * gfilterinputstream.h:
1973 * gfilteroutputstream.h:
1975 * glocalfileinputstream.h:
1976 * glocalfileoutputstream.h:
1977 * gmemoryinputstream.h:
1978 * gmemoryoutputstream.h:
1979 * gnativevolumemonitor.h:
1981 * gunixinputstream.h:
1982 * gunixoutputstream.h:
1985 s/parent/parent_instance/ in GObjects
1987 2007-12-12 Alexander Larsson <alexl@redhat.com>
1992 No need for padding for interfaces
1994 2007-12-12 Alexander Larsson <alexl@redhat.com>
1998 * gbufferedinputstream.c:
1999 * gbufferedoutputstream.c:
2002 * gdatainputstream.[ch]:
2003 * gdesktopappinfo.c:
2004 * gdirectorymonitor.c:
2006 * gfileattribute.[ch]:
2009 * gfileinputstream.h:
2010 * gfilemonitor.[ch]:
2011 * gfileoutputstream.[ch]:
2012 * gfilterinputstream.h:
2013 * gfilteroutputstream.h:
2016 * gloadableicon.[ch]:
2017 * gmemoryinputstream.c:
2018 * gmountoperation.c:
2020 Fix up a bunch of details in the docs.
2025 2007-12-11 David Zeuthen <davidz@redhat.com>
2027 Rework how volumes, drives and volume monitoring is
2028 done. Previosly the model was
2030 GDrive <1-1> GVolume
2032 where a GDrive instance represented a mount point and a GVolume
2033 instance represented a mounted file system. This patch changes it
2036 GDrive <1-N> GVolume <1-1> GMount
2038 where GMount now serves the purpose of the old GVolume and the new
2039 GVolume serves the purpose of the old GDrive. In addition the new
2040 GDrive interface is used to represent a collection of GVolume
2041 instances (typically partitions) and also contains utility to query
2042 the state of the physical drive the GDrive object represents (such
2043 as checking for media, polling the drive, ejecting the media etc.).
2045 Also implement mounting and unmounting in the Unix volume monitor
2046 backend. A subquent patch will introduce GDrive support for ejection
2050 * gdrive.c: (g_drive_is_media_check_automatic),
2051 (g_drive_is_media_removable), (g_drive_has_media),
2052 (g_drive_can_poll_for_media), (g_drive_eject),
2053 (g_drive_eject_finish), (g_drive_poll_for_media),
2054 (g_drive_poll_for_media_finish):
2056 * gfile.c: (g_file_find_enclosing_mount):
2059 * glocaldirectorymonitor.c:
2060 (g_local_directory_monitor_constructor), (mounts_changed):
2061 * glocalfile.c: (get_mount_info),
2062 (g_local_file_find_enclosing_mount),
2063 (g_local_file_file_iface_init):
2064 * gnativevolumemonitor.h:
2065 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2066 (get_connected_drives), (g_union_volume_monitor_class_init),
2067 (child_volume_added), (child_volume_removed),
2068 (child_volume_changed), (child_mount_added), (child_mount_removed),
2069 (child_mount_pre_unmount), (child_mount_changed),
2070 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2071 (g_union_volume_monitor_remove_monitor),
2072 (_g_mount_get_for_mount_path):
2073 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2074 (guess_system_internal), (_g_get_unix_mounts),
2075 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2076 (g_unix_mount_free), (g_unix_mount_compare),
2077 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2078 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2079 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2080 (type_to_icon), (g_unix_mount_guess_name),
2081 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2082 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2083 (_resolve_symlink), (_resolve_dev_root):
2085 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2086 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2087 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2088 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2089 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2090 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2091 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2092 (g_unix_volume_volume_iface_init):
2094 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2095 (get_mounts), (get_volumes), (get_connected_drives),
2096 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2097 (mountpoints_changed), (mounts_changed),
2098 (g_unix_volume_monitor_init),
2099 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2100 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2101 * gunixvolumemonitor.h:
2102 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2103 (g_volume_mount), (g_volume_mount_finish):
2105 * gvolumemonitor.c: (g_volume_monitor_class_init),
2106 (g_volume_monitor_get_connected_drives),
2107 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2110 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2112 * gmountoperation.h (GPasswordFlags): Close the gap
2114 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2116 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2118 * gdesktopappinfo.[hc]: Remove _-prefixes
2120 2007-12-10 Tor Lillqvist <tml@novell.com>
2122 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2125 2007-12-10 Alexander Larsson <alexl@redhat.com>
2127 * gfile.c (g_file_set_display_name):
2128 Don't hardcode '/' (#502727)
2130 2007-12-09 Hans Breuer <hans@breuer.org>
2132 * makefile.msc : follow lib naming convention
2133 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2134 for user and group name, tested with ../tests/gio-ls
2136 2007-12-09 A. Walton <awalton@svn.gnome.org>
2138 * gdesktopappinfo.c:
2144 * gfileenumerator.c:
2149 * gmemoryinputstream.c:
2150 * gmemoryoutputstream.c:
2152 * gsimpleasyncresult.c:
2153 More documentation cleanup and filling in missing information, bringing
2154 GIO to 99% symbol coverage.
2156 2007-12-08 Hans Breuer <hans@breuer.org>
2158 [gio compiles and links on win32, not sure how much already works]
2159 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2160 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2161 base on win32 API; prefer g_lstat() over lstat(); instead of
2162 localtime_r() use an all GLib implementation on win32;
2163 get_mount_info() still needs a win32 specifc implementation
2164 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2165 win32_get_file_user_info to get owner/group info without uid/gid
2166 * glocalfileinputstream.c : include <io.h> on win32
2167 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2168 definition, use g_win32_ftruncate() for G_OS_WIN32
2169 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2170 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2171 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2172 * makefile.msc : updated
2174 2007-12-07 Alexander Larsson <alexl@redhat.com>
2176 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2177 Avoid warning spew if error == NULL
2179 2007-12-07 Alexander Larsson <alexl@redhat.com>
2182 Update docs wrt etags
2184 2007-12-06 Alexander Larsson <alexl@redhat.com>
2187 Include sys/types.h for dev_t (#501919)
2189 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2193 Make abicheck and pltcheck pass.
2195 2007-12-05 Alexander Larsson <alexl@redhat.com>
2198 * giomodule-priv.h: Added.
2199 * glocaldirectorymonitor.c:
2200 * glocalfilemonitor.c:
2201 * gunionvolumemonitor.c:
2203 Actually add the declaration of _g_io_modules_ensure_loaded
2205 2007-12-05 Alexander Larsson <alexl@redhat.com>
2207 * gdatainputstream.c:
2212 * glocaldirectorymonitor.c:
2213 * glocalfilemonitor.c:
2214 * gunionvolumemonitor.c:
2216 Make g_io_modules_ensure_loaded a private function and
2217 don't pass in the dirname. This means we can do magic
2218 directory finding in the win32 version.
2219 Export the actual load-modules-in-directory code so that
2220 gvfs can reuse that.
2222 2007-12-05 Alexander Larsson <alexl@redhat.com>
2224 * gbufferedinputstream.c:
2225 * gbufferedoutputstream.c:
2228 * gfileenumerator.[ch]:
2229 * gfileinputstream.c:
2230 * gfileoutputstream.[ch]:
2231 * gfilterinputstream.c:
2232 * gfilteroutputstream.c:
2233 * ginputstream.[ch]:
2235 * glocalfileenumerator.c:
2236 * glocalfileinputstream.c:
2237 * glocalfileoutputstream.c:
2238 * gmemoryinputstream.c:
2239 * gmemoryoutputstream.c:
2240 * goutputstream.[ch]:
2243 * gunixinputstream.c:
2244 * gunixoutputstream.c:
2245 Rename all struct members named:
2246 read, write, close, truncate, or mount
2247 to foo_fn, as these are reserved names
2248 and could be defined as macros in libc.
2251 2007-12-04 Alexander Larsson <alexl@redhat.com>
2254 (g_output_stream_close):
2255 Only call flush if non-null.
2257 2007-11-30 Dan Winship <danw@gnome.org>
2259 * ginputstream.c (g_input_stream_set_pending): Make this take a
2260 GError and return a gboolean, and do the "outstanding operation"
2261 check (and the "stream is already closed" check) itself.
2262 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2264 * goutputstream.c (g_output_stream_set_pending)
2265 (g_output_stream_clear_pending): Likewise
2267 * gbufferedinputstream.c:
2268 * gfileinputstream.c:
2269 * gfileoutputstream.c: Update for that
2271 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2272 Like g_simple_async_report_error_in_idle, but takes a GError
2273 rather than building one.
2275 2007-11-30 Dan Winship <danw@gnome.org>
2277 * goutputstream.c: Don't cheat and unset the "pending" flag around
2278 inner calls. Instead, call the class method directly rather than
2279 the wrapper function that checks "pending"
2281 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2283 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2285 2007-12-03 Hans Breuer <hans@breuer.org>
2287 [start of port to win32/msvc]
2288 * gcancellable.c : HAVE_UNIST_H and _pipe()
2289 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2290 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2291 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2293 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2294 * glocalvfs.c : use HAVE_PWD_H
2295 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2296 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2297 * Makefile.am : added to EXTRA_DIST
2299 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2301 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2304 2007-12-03 Alexander Larsson <alexl@redhat.com>
2307 Handle OSX style xattrs API (#500506)
2309 2007-12-03 Alexander Larsson <alexl@redhat.com>
2313 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2315 2007-12-02 A. Walton <awalton@svn.gnome.org>
2319 Documentation accuracy fixes.
2321 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2323 * gioenumtypes.c.template: Fix typo.
2325 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2327 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2329 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2331 * gdirectorymonitor.c:
2332 * gfilemonitor.c: Add properties
2334 * gbufferedoutputstream.c: Don't mark buffer-size property
2337 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2339 * gbufferedoutputstream.c: Add auto-grow property.
2341 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2343 * *.c: Unify the capitalization of section headings.
2345 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2347 * gmountoperation.c: Add properties
2349 * gdatainputstream.c: Turn byte-order and newline-type into
2352 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2354 * gioenumtypes.[hc].template: Templates for enum registration
2356 * Makefile.am: Generate gioenumtypes.[hc]
2358 * gio.h: Include gioenumtypes.h
2360 * gfile.h: Add some explicit nicks.
2362 * gio.symbols: Add new symbols
2364 * pltcheck.sh: Adjust
2366 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2368 * *.c: Explain etags and link to the explanation
2370 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2372 * *.c: Explain I/O priority.
2374 * *.c: More coding style fixes.
2376 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2378 * gasyncresult.c: Add another paragraph to the intro,
2379 adjust coding style of example.
2381 2007-11-29 A. Walton <awalton@svn.gnome.org>
2384 Fixes unknown meaning in GAppLaunchContext docs.
2386 Clarify asynchronous ops.
2388 Fix entity tag docs.
2391 Provides missing gtk-doc section, fixes API docs slighly.
2392 * gsimpleasyncresult.c:
2393 Fill in missing info in docs.
2394 * gunixinputstream.c:
2395 * gunixoutputstream.c:
2396 Be more expressive in short description.
2398 Remove gtk-doc stubs for non-public API.
2400 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2402 * *.c: Coding style fixups
2404 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2406 * inotify/inotify-helper.c: Don't export the lock from libgio.
2408 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2411 * abicheck.sh: Fix copy-and-paste leftovers
2413 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2415 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2417 2007-11-28 Alexander Larsson <alexl@redhat.com>
2421 Removed unnecessary file
2423 * gdesktopappinfo.[ch]:
2426 * glocaldirectorymonitor.[ch]:
2428 * glocalfileenumerator.[ch]:
2429 * glocalfileinputstream.[ch]:
2430 * glocalfilemonitor.[ch]:
2431 * glocalfileoutputstream.[ch]:
2433 * gnativevolumemonitor.c:
2434 * gpollfilemonitor.[ch]:
2435 * gunionvolumemonitor.[ch]:
2438 * gunixvolumemonitor.[ch]:
2441 * inotify/ginotifydirectorymonitor.[ch]:
2442 * inotify/ginotifyfilemonitor.[ch]:
2443 * inotify/inotify-helper.c:
2444 Append _ to all internal functions
2448 Export symbols needed for modules
2450 2007-11-28 Alexander Larsson <alexl@redhat.com>
2453 * abicheck.sh: Added.
2454 * makegioalias.pl: Added.
2455 * pltcheck.sh: Added.
2456 * gio.symbols: Added.
2459 Initial work on adding symbol handling.
2462 Correct ifdef guard name
2465 * inotify/Makefile.am:
2466 * xdgmime/Makefile.am:
2467 Include toplevel Makefile.decl
2469 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2471 * gcontenttype.c: Move doc comments to the unix section.
2473 * *.[hc]: More trivial doc corrections.
2475 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2477 * gpollfilemonitor.c:
2481 * gdesktopappinfo.c:
2486 * gdatainputstream.c:
2487 * gdatainputstream.h:
2488 * gdataoutputstream.c:
2489 * gdataoutputstream.h:
2490 * gfileinfo.h: Doc cleanups
2492 2007-11-28 Andre Klapper <a9016009@gmx.de>
2494 * gdesktopappinfo.c: Fix a typo.
2496 2007-11-27 Andre Klapper <a9016009@gmx.de>
2498 * glocalfileoutputstream.c: Fix a typo.
2500 2007-11-27 Alexander Larsson <alexl@redhat.com>
2503 Don't include removed headers
2505 2007-11-27 Alexander Larsson <alexl@redhat.com>
2508 * gsocketinputstream.[ch]: Removed.
2509 * gsocketoutputstream.[ch]: Removed.
2510 * gunixinputstream.[ch]: Added.
2511 * gunixoutputstream.[ch]: Added.
2512 Renamed GSocket*Stream to GUnix*Stream and made
2513 it unix-only, since its not really only for sockets
2514 and it only works on unix (but is highly useful there).
2516 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2522 * gbufferedinputstream.c:
2523 * gbufferedinputstream.h:
2524 * gbufferedoutputstream.c:
2525 * gbufferedoutputstream.h:
2529 * gdatainputstream.c:
2530 * gdatainputstream.h:
2531 * gdataoutputstream.c:
2532 * gdataoutputstream.h:
2533 * gdirectorymonitor.c:
2534 * gdirectorymonitor.h:
2541 * gfileenumerator.c:
2542 * gfileenumerator.h:
2547 * gfileinputstream.c:
2548 * gfileinputstream.h:
2551 * gfilenamecompleter.c:
2552 * gfilenamecompleter.h:
2553 * gfileoutputstream.c:
2554 * gfileoutputstream.h:
2555 * gfilterinputstream.c:
2556 * gfilterinputstream.h:
2557 * gfilteroutputstream.c:
2558 * gfilteroutputstream.h:
2571 * glocalfileoutputstream.c:
2572 * gmemoryinputstream.c:
2573 * gmemoryinputstream.h:
2574 * gmemoryoutputstream.c:
2575 * gmemoryoutputstream.h:
2576 * gmountoperation.c:
2577 * gmountoperation.h:
2580 * gpollfilemonitor.c:
2583 * gsimpleasyncresult.c:
2584 * gsimpleasyncresult.h:
2585 * gsocketinputstream.c:
2586 * gsocketinputstream.h:
2587 * gsocketoutputstream.c:
2588 * gsocketoutputstream.h:
2595 * gunixvolumemonitor.c:
2604 Bumps documentation to 93% symbol coverage, touching most
2605 of the public files. Fixes broken function documentation prototypes.
2606 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2607 gtk-doc headers in private files.
2609 2007-11-27 Jürg Billeter <j@bitron.ch>
2611 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2612 (g_buffered_input_stream_read_byte):
2613 * gbufferedinputstream.h:
2614 New functions for efficient access to buffer and simple single byte
2617 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2618 (g_data_input_stream_read_until):
2619 * gdatainputstream.h:
2620 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2621 read_until with multiple stop chars.
2623 2007-11-27 Alexander Larsson <alexl@redhat.com>
2627 * inotify/Makefile.am:
2628 Use the user-specified giomoduledir
2630 2007-11-27 Alexander Larsson <alexl@redhat.com>
2634 Add catch-all gio.h header
2635 Don't install gdummyfile.h
2637 2007-11-26 Alexander Larsson <alexl@redhat.com>
2639 * Makefile.am (gioinclude_HEADERS):
2640 Remove trailing whitespace
2642 2007-11-26 Alexander Larsson <alexl@redhat.com>
2644 Merge gio-standalone into glib
2646 2007-11-25 Christian Kellner <gicmo@gnome.org>
2648 * gio/goutputstream.c:
2649 Fix small mistake in the docs.
2651 2007-11-21 Christian Persch <chpe@gnome.org>
2653 * gio/glocalfile.c: (g_local_file_trash):
2654 Convert filenames to UTF-8 for GError.
2655 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2656 as per xdg base dir spec.
2658 2007-11-21 Christian Persch <chpe@gnome.org>
2660 * gio/gdesktopappinfo.c:
2661 Use that g_key_file_to_data cannot fail.
2663 Use stock defines for the key file group and key names.
2666 2007-11-21 Alexander Larsson <alexl@redhat.com>
2669 (copy_stream_with_progress):
2670 Make sure we do a final progress callback with
2671 the full total size.
2673 2007-11-21 Alexander Larsson <alexl@redhat.com>
2676 Export g_file_copy_attributes
2677 Remove padding as its not needed for interfaces
2679 2007-11-20 Alexander Larsson <alexl@redhat.com>
2684 Add G_IO_ERROR_WOULD_MERGE for
2685 copy/move dir on dir with overwrite.
2687 2007-11-20 Alexander Larsson <alexl@redhat.com>
2690 * gio/glocalfileinfo.c:
2691 Add COPY_NAME (this is an optional
2692 non-modified utf8 version of the name) that
2695 2007-11-20 Alexander Larsson <alexl@redhat.com>
2697 * gio/glocalfileenumerator.c:
2698 Report errors as GIOError, not GFileError
2700 2007-11-16 Alexander Larsson <alexl@redhat.com>
2702 * gio/glocalfileoutputstream.c:
2703 * gio/gwin32appinfo.c:
2704 Fix typos in strings.
2705 Patch from Luca Ferretti <elle.uca@libero.it>
2707 2007-11-15 Alexander Larsson <alexl@redhat.com>
2710 Post release version bump
2712 === gio-standalone 0.1.2 ===
2714 2007-11-15 Alexander Larsson <alexl@redhat.com>
2716 * docs/reference/gio/Makefile.am:
2717 Fix up distcheck by removing weird
2723 2007-11-14 Alexander Larsson <alexl@redhat.com>
2725 * gio/gdesktopappinfo.c:
2726 * gio/glocaldirectorymonitor.c:
2728 * gio/glocalfileinfo.c:
2729 * gio/inotify/inotify-sub.c:
2730 * programs/gio-cat.c:
2731 * programs/gio-copy.c:
2732 * programs/gio-info.c:
2733 * programs/gio-ls.c:
2734 * programs/gio-monitor-dir.c:
2735 * programs/gio-monitor-file.c:
2736 * programs/gio-mount.c:
2737 * programs/gio-move.c:
2738 * programs/gio-rm.c:
2739 * programs/gio-save.c:
2740 * programs/gio-trash.c:
2741 Leak fixes from Kjartan Maraas
2743 2007-11-14 Alexander Larsson <alexl@redhat.com>
2745 * gio/fam/fam-helper.c:
2747 * gio/glocalfileinfo.c:
2751 * gio/inotify/inotify-diag.c:
2752 * gio/inotify/inotify-kernel.c:
2753 Various code cleanups from Kjartan Maraas
2755 2007-11-14 Alexander Larsson <alexl@redhat.com>
2757 * gio/gioscheduler.c:
2759 Set up threadpool so that we cache 2 unused
2760 idle threads for at 15 secs. This means we
2761 will reuse thread-local data (like dbus connections)
2764 2007-11-14 Alexander Larsson <alexl@redhat.com>
2766 * gio/fam/fam-helper.c:
2767 * gio/fam/gfamdirectorymonitor.c:
2768 * gio/fam/gfamfilemonitor.c:
2770 * gio/gcontenttype.c:
2771 * gio/gdatainputstream.c:
2772 * gio/gdataoutputstream.c:
2776 * gio/gfileattribute.h:
2777 * gio/gfileenumerator.c:
2779 * gio/ginputstream.c:
2782 * gio/glocalfileinfo.c:
2783 * gio/goutputstream.c:
2784 * gio/gpollfilemonitor.c:
2785 * gio/gsimpleasyncresult.c:
2786 * gio/gunixmounts.c:
2787 * gio/gunixmounts.h:
2788 * gio/inotify/ginotifydirectorymonitor.c:
2789 * gio/inotify/ginotifyfilemonitor.c:
2790 * gio/inotify/inotify-diag.c:
2791 * gio/inotify/inotify-kernel.c:
2792 * gio/inotify/inotify-path.c:
2794 * gio/test-streams.c:
2795 * programs/gio-info.c:
2796 * programs/gio-monitor-dir.c:
2797 * programs/gio-monitor-file.c:
2798 Various code cleanups from Kjartan Maraas
2800 2007-11-13 Alexander Larsson <alexl@redhat.com>
2803 Handle the uri-scheme calls for dummy files
2805 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2807 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2808 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2809 to avoid clash with the C++ keyword.
2811 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2813 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2814 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2816 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2818 * gio/glocaldirectorymonitor.c:
2819 * gio/glocalfilemonitor.c:
2820 * gio/gunionvolumemonitor.c:
2821 Don't use g_once_init_*() for initializations that could fail and
2822 could leave the initialization variable set to 0 but use GOnce.
2823 This prevents a deadlock on the second call when trying to create
2824 a monitor and no monitor type is available. Thanks to Sven Herzberg
2827 2007-11-11 Sven Herzberg <sven@imendio.com>
2829 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2830 #ifdef (make it work on MacOS X again)
2832 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2834 Fixes Changelog for last two commits (sorry guys).
2836 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2838 * gio/gbufferedinputstream.c:
2839 * gio/gdatainputstream.c:
2841 * gio/gfileoutputstream.c:
2842 * gio/gfilterinputstream.c:
2843 * gio/glocalfileinputstream.c:
2846 More consistency fixes in g*stream.c files.
2847 Significant clean of gfile's documentation, filling in of
2848 asynchronous operations documentation.
2850 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2852 * gio/gasyncresult.c:
2853 * gio/gbufferedinputstream.c:
2854 * gio/gbufferedoutputstream.c:
2855 * gio/gcancellable.c:
2856 * gio/gcontenttype.c:
2857 * gio/gdatainputstream.c:
2858 * gio/gdataoutputstream.c:
2859 * gio/gdesktopappinfo.c:
2862 * gio/gfileattribute.c:
2863 * gio/gio/gfileenumerator.c:
2865 * gio/gfileinputstream.c:
2866 * gio/gfilemonitor.c:
2867 * gio/gfileoutputstream.c:
2868 * gio/ginputstream.c:
2870 * gio/gioscheduler.c:
2871 * gio/gloadableicon.c:
2872 * gio/glocalfileoutputstream.c:
2873 * gio/gmemoryoutputstream.c:
2874 * gio/gmountoperation.c:
2875 * gio/goutputstream.c:
2877 * gio/gsimpleasyncresult.c:
2878 * gio/gunionvolumemonitor.c:
2879 * gio/gunixmounts.c:
2880 * gio/gunixvolume.c:
2884 * gio/gvolumemonitor.c:
2885 Updated documentation stubs, working towards consistency and
2888 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2890 * gio/gmemoryoutputstream.c:
2891 * gio/gmemoryoutputstream.h:
2892 Change g_memory_output_stream_set_free_on_close() to
2893 g_memory_output_stream_set_free_data() as this makes more sense and
2894 is more consistent with GMemoryInputStream.
2896 2007-11-07 Alexander Larsson <alexl@redhat.com>
2903 Change how we find the default vfs so that
2904 we can handle a gvfs failing to init
2906 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
2908 * gio/gbufferedoutputstream.c:
2909 * gio/gdatainputstream.c:
2910 * gio/gdataoutputstream.c:
2911 * gio/gfileinputstream.c:
2912 * gio/gfileoutputstream.c:
2913 * gio/gfilterinputstream.c:
2914 * gio/gfilteroutputstream.c:
2915 * gio/ginputstream.c:
2916 * gio/gmemoryinputstream.c:
2917 * gio/gmemoryoutputstream.c:
2918 * gio/goutputstream.c:
2919 * gio/gsimpleasyncresult.c:
2920 * gio/gsocketinputstream.c:
2921 * gio/gsocketoutputstream.c:
2922 Add guards to the remaining public functions, add a TODO for
2923 an unimplemented function and remove some useless guards.
2925 2007-11-07 Alexander Larsson <alexl@redhat.com>
2928 Autoconf checks for the various types of
2929 getpwuid_r and getgrgid_r
2931 * gio/glocalfileinfo.c:
2932 Use the autoconf checks from above
2934 2007-11-07 Alexander Larsson <alexl@redhat.com>
2937 (g_local_file_query_filesystem_info):
2938 Some fixes for the statvfs case
2940 2007-11-07 Alexander Larsson <alexl@redhat.com>
2943 (g_local_file_query_filesystem_info):
2944 Pick the "best" of statfs / statvfs for the system
2945 if both are availible.
2947 2007-11-07 Alexander Larsson <alexl@redhat.com>
2949 Solaris fixes from Halton.Huo@Sun.COM:
2956 * gio/glocalfileinfo.c:
2957 Fix for solaris definition of getpwuid_r
2959 * gio/test-streams.c:
2960 Use G_GNUC_PRETTY_FUNCTION
2962 2007-11-07 Alexander Larsson <alexl@redhat.com>
2964 * gio/gdesktopappinfo.c:
2965 (update_default_list):
2966 Remove double semicolon.
2967 Patch from Jens Granseuer
2969 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
2971 * docs/reference/gio/gio-sections.txt:
2972 * gio/gbufferedinputstream.c:
2973 * gio/gbufferedinputstream.h:
2974 * gio/gdatainputstream.c:
2975 * gio/gfileenumerator.c:
2976 * gio/gioscheduler.c:
2977 * gio/gunionvolumemonitor.c:
2979 * programs/gio-save.c:
2980 Fix typo: availible -> available. Unfortuntely this breaks API
2981 and ABI as g_buffered_input_stream_get_available() was renamed.
2983 * gio/gunixmounts.c:
2984 * gio/gbufferedinputstream.c:
2985 Add guards for public functions.
2987 2007-11-06 Ross Burton <ross@openedhand.com>
2989 * docs/reference/gio/Makefile.am:
2990 Fix invalid += usage which automake 1.10 doesn't like.
2992 2007-11-06 Alexander Larsson <alexl@redhat.com>
2995 (g_app_launch_context_class_init):
2998 Patch from Ross Burton
3000 2007-11-06 Alexander Larsson <alexl@redhat.com>
3003 Post release version bump
3005 === gio-standalone 0.1.1 ===
3007 2007-11-06 Alexander Larsson <alexl@redhat.com>
3010 Bump version to 0.1.1
3012 * gio/gsimpleasyncresult.c:
3013 (g_simple_async_result_set_from_error):
3014 Remove bogus g_return_if_fail
3016 2007-11-06 Alexander Larsson <alexl@redhat.com>
3019 The name is gio-standalone
3022 Add top src/builddir to includedir
3024 2007-11-06 Alexander Larsson <alexl@redhat.com>
3026 * docs/reference/gio/gio-sections.txt:
3028 * gio/gbufferedinputstream.c:
3029 * gio/gbufferedoutputstream.c:
3030 * gio/gcancellable.c:
3031 * gio/gdatainputstream.h:
3032 * gio/gdataoutputstream.c:
3033 * gio/gdataoutputstream.h:
3034 * gio/gdirectorymonitor.c:
3036 * gio/gfileattribute.c:
3037 * gio/gfileattribute.h:
3038 * gio/gfileenumerator.c:
3039 * gio/gfileenumerator.h:
3042 * gio/gfileinputstream.h:
3043 * gio/gfilemonitor.c:
3044 * gio/gfileoutputstream.h:
3045 * gio/glocalfilemonitor.h:
3046 * gio/glocalfileoutputstream.h:
3047 * gio/gmemoryinputstream.c:
3048 * gio/gmemoryoutputstream.c:
3049 * gio/gmountoperation.c:
3050 * gio/goutputstream.c:
3051 * gio/goutputstream.h:
3053 * gio/gsimpleasyncresult.c:
3054 * gio/gunixmounts.c:
3055 * gio/gunixmounts.h:
3057 * gio/inotify/inotify-helper.c:
3058 Fix gtk-doc warnings
3060 Patch from Ross Burton
3062 2007-11-06 Alexander Larsson <alexl@redhat.com>
3064 * gio/gfilenamecompleter.c:
3065 (g_filename_completer_get_completions):
3068 * gio/gunixvolume.c:
3069 Remove unused function
3071 Patches from Ross Burton
3073 2007-11-06 Alexander Larsson <alexl@redhat.com>
3078 Padding not needed for interfaces
3080 2007-11-06 Alexander Larsson <alexl@redhat.com>
3082 * gio/gfilemonitor.c:
3086 Make giotypes.h an internal file
3089 * gio/gbufferedinputstream.h:
3090 * gio/gbufferedoutputstream.h:
3091 * gio/gcancellable.h:
3092 * gio/gdatainputstream.h:
3093 * gio/gdataoutputstream.h:
3094 * gio/gdirectorymonitor.c:
3095 * gio/gdirectorymonitor.h:
3100 * gio/gfileattribute.h:
3101 * gio/gfileenumerator.h:
3106 * gio/gfilemonitor.c:
3107 * gio/gfilemonitor.h:
3108 * gio/gfilenamecompleter.c:
3109 * gio/gfilenamecompleter.h:
3110 * gio/gfilterinputstream.h:
3111 * gio/gfilteroutputstream.h:
3112 * gio/ginputstream.h:
3113 * gio/gmemoryinputstream.h:
3114 * gio/gmemoryoutputstream.h:
3115 * gio/gmountoperation.c:
3116 * gio/gmountoperation.h:
3117 * gio/gnativevolumemonitor.c:
3118 * gio/goutputstream.h:
3121 * gio/gsimpleasyncresult.c:
3122 * gio/gsimpleasyncresult.h:
3123 * gio/gsocketinputstream.h:
3124 * gio/gsocketoutputstream.h:
3125 * gio/gthemedicon.c:
3126 * gio/gthemedicon.h:
3130 * gio/gvolumemonitor.c:
3131 * gio/gvolumemonitor.h:
3132 Add padding in classes where it seems useful
3133 Don't include giotypes.h from public headers
3134 Move in Class definitions into c file where possible
3139 2007-11-06 Alexander Larsson <alexl@redhat.com>
3141 * docs/reference/gio/gio-docs.xml:
3142 Better structure for API docs
3144 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3147 * gio/gloadableicon.c:
3148 * gio/gsimpleasyncresult.c:
3149 * gio/gthemedicon.c:
3150 Add some more guards to public functions. Only files missing are now
3153 2007-11-06 Alexander Larsson <alexl@redhat.com>
3155 * docs/reference/gio/gio-docs.xml:
3156 Remove old files, add missing ones
3158 2007-11-06 Alexander Larsson <alexl@redhat.com>
3160 * docs/reference/gio/gio-sections.txt:
3163 Hide implementation classes
3165 * gio/gdriveprivate.h:
3166 * gio/gvolumeprivate.h:
3167 Remove non-existing function declarations
3169 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3172 Fix compilation warnings and add guards to the new functions.
3174 * gio/gasyncresult.c:
3176 Add guards to the public functions.
3179 Implement get_path().
3181 2007-11-06 Alexander Larsson <alexl@redhat.com>
3183 * gio/gfilenamecompleter.c:
3184 Make g_filename_completer_get_completions
3185 return char ** instead of GList for
3188 * docs/reference/gio/gio-docs.xml:
3189 * docs/reference/gio/gio-sections.txt:
3191 * gio/gasyncresult.c:
3192 * gio/gbufferedinputstream.c:
3193 * gio/gbufferedoutputstream.c:
3194 * gio/gcancellable.c:
3195 * gio/gcontenttype.c:
3196 * gio/gdatainputstream.c:
3197 * gio/gdataoutputstream.c:
3198 * gio/gdesktopappinfo.c:
3199 * gio/gdirectorymonitor.c:
3203 * gio/gfileattribute.c:
3204 * gio/gfileenumerator.c:
3207 * gio/gfileinputstream.c:
3208 * gio/gfilemonitor.c:
3209 * gio/gfilenamecompleter.c:
3210 * gio/gfilenamecompleter.h:
3211 * gio/gfileoutputstream.c:
3212 * gio/gfilterinputstream.c:
3214 * gio/ginputstream.c:
3216 * gio/gioscheduler.c:
3217 * gio/gloadableicon.c:
3218 * gio/glocaldirectorymonitor.c:
3220 * gio/glocalfileinputstream.c:
3221 * gio/glocalfilemonitor.c:
3222 * gio/glocalfileoutputstream.c:
3224 * gio/gmemoryinputstream.c:
3225 * gio/gmemoryoutputstream.c:
3226 * gio/gmountoperation.c:
3227 * gio/goutputstream.c:
3228 * gio/gpollfilemonitor.c:
3230 * gio/gsimpleasyncresult.c:
3231 * gio/gsocketinputstream.c:
3232 * gio/gsocketoutputstream.c:
3233 * gio/gthemedicon.c:
3234 * gio/gunionvolumemonitor.c:
3236 * gio/gunixmounts.c:
3237 * gio/gunixvolume.c:
3238 * gio/gunixvolumemonitor.c:
3242 * gio/gvolumemonitor.c:
3243 * gio/gwin32appinfo.c:
3244 Add (mostly stub) doc strings to public functions.
3245 Patch from Andrew Walton (awalton@gmail.com)
3247 2007-11-06 Alexander Larsson <alexl@redhat.com>
3249 * gio/gappinfo.[ch]:
3250 Added GAppLaunchContext object and pass that to launch.
3251 This allows simple implementation of both
3252 launch-on-screen and startup notification via a gtk+
3253 subclass of GAppLaunchContext
3255 * gio/gdesktopappinfo.c:
3256 Implement GAppLaunchContext API
3258 * gio/gwin32appinfo.c:
3261 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3263 * gio/gmountoperation.c:
3264 Add some guards to GMountOperation's public functions.
3266 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3270 * gio/gcancellable.c:
3271 * gio/gdirectorymonitor.c:
3273 * gio/gfileenumerator.c:
3274 * gio/gfilemonitor.c:,
3275 * gio/gfilenamecompleter.c:
3278 * gio/gioscheduler.c:
3282 * gio/gvolumemonitor.c:
3283 Add even more guards to various public functions.
3285 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3288 Add guards to the public functions of GAppInfo.
3290 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3292 * gio/gcontenttype.c:
3293 Add some more guards for public functions.
3295 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3297 * gio/fam/fam-module.c:
3298 * gio/fam/gfamdirectorymonitor.c:
3299 * gio/fam/gfamdirectorymonitor.h:
3300 * gio/fam/gfamfilemonitor.c:
3301 * gio/fam/gfamfilemonitor.h:
3302 * gio/inotify/ginotifydirectorymonitor.c:
3303 * gio/inotify/ginotifydirectorymonitor.h:
3304 * gio/inotify/ginotifyfilemonitor.c:
3305 * gio/inotify/ginotifyfilemonitor.h:
3306 Add proper copyright information and remove an unused variable
3307 in the GInotifyFileMonitor constructor.
3309 * gio/gcancellable.c:
3310 Add a guard for a public function and an assertion to prevent
3311 an undefined program state.
3313 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3315 * gio/gfileattribute.c:
3316 Don't run into an assertion if the given attribute value is NULL
3317 in g_file_attribute_value_get_*() but instead return a fallback
3318 value that makes sense in most situations. Passing them a attribute
3319 value with the wrong type will still run into an assertion.
3321 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3323 * gio/gfileattribute.c:
3325 Add even more guards to the public functions. Also fix the refcounting
3326 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3327 let g_file_info_list_attributes() filter the attributes by namespace
3328 instead of simply ignoring the namespace parameter.
3330 2007-11-03 Sven Herzberg <sven@imendio.com>
3332 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3333 (This makes gio work on MacOS X again)
3335 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3338 Build the gio subdirectory before the docs. Otherwise the build will
3341 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3342 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3343 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3344 Add guards to the public functions.
3346 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3348 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3349 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3350 to prevent a compiler warning.
3352 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3353 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3354 return something in the non-void function find_topdir_for().
3356 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3363 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3365 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3366 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3367 * gwin32appinfo.c (g_win32_app_info_launch):
3368 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3369 envp_for_startup_id, g_desktop_app_info_launch,
3370 g_desktop_app_info_launch_uris):
3372 Give an opaque 'startup_id' string instead of 'envp'.
3373 Support empty file lists for launching new windows.
3374 Fix infinite recursion bug when launching URIs.
3376 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3379 Add guard to the new g_file_get_uri_scheme() function.
3381 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3384 Convert a g_return_val_if_fail() to setting the GError instead as
3385 otherwise applications have to verify the parameter before otherwise
3386 and the parameter might come directly from the user.
3388 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3390 * gio/inotify/ginotify*.[ch]:
3391 Add missing copyright information.
3393 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3396 Add guards in the beginning of public functions to check for valid
3397 parameters and fix a bug in copy_stream_with_progress() that could've
3398 caused writing less bytes than reading.
3399 * gio/glocalfileinfo.c:
3400 Check for a NULL parameter and set the GError accordingly then.
3401 * gio/goutputstream.c:
3402 Fix the same bug as in gfile.c that could've caused writing less bytes
3403 than reading in g_output_stream_real_splice().
3405 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3408 Use the correct gvolumeprivate.h naming
3410 2007-11-01 Christian Kellner <gicmo@gnome.org>
3413 Remove leftover "$(daemon_sources)" entry.
3415 2007-11-01 Christian Kellner <gicmo@gnome.org>
3420 Add copyright information to source files.
3422 2007-11-01 Alexander Larsson <alexl@redhat.com>
3426 Add g_file_get_uri_scheme
3428 2007-11-01 Alexander Larsson <alexl@redhat.com>
3431 * gio/gdesktopappinfo.c:
3432 * gio/gwin32appinfo.c:
3433 Add g_app_info_get_default_for_uri_scheme.
3435 2007-11-01 Alexander Larsson <alexl@redhat.com>
3438 Correct filename for gdriveprivate.h
3440 2007-10-31 Alexander Larsson <alexl@redhat.com>
3443 Rename id:value to id:file
3446 * gio/glocalfileinfo.c:
3449 2007-10-31 Alexander Larsson <alexl@redhat.com>
3451 * gio/gunixvolume.c:
3453 Remove g_volume_get_platform_id, as thats not
3454 needed with the simpler union volume monitor
3456 2007-10-31 Alexander Larsson <alexl@redhat.com>
3459 * gio/guniondrive.[ch]: Removed.
3460 * gio/gunionvolume.[ch]: Removed.
3461 Remove GUnionDrive/Volume
3463 * gio/gunionvolumemonitor.c:
3464 Simplify union volume monitor, now we
3465 only have one native volume monitor and
3466 we use the actual volumes/drives from the
3467 child monitors instead of wrapping them
3469 * gio/gnativevolumemonitor.[ch]:
3470 Base class for native volume monitors.
3471 Includes priority and get_volume_for_mountpoint
3474 Add g_file_find_enclosing_volume
3477 Remove volume name fs attribute
3478 Add readonly fs attribute
3481 Implement readonly attribute
3482 remove volume name attribute
3483 Implement find_enclosing volume
3485 * gio/gunixmounts.c:
3486 Add a volume for "/".
3488 * gio/gunixvolume.[ch]:
3489 Set better name for /
3491 * gio/gunixvolumemonitor.[ch]:
3492 Derive from GNativeVolumeMonitor
3493 Implement get_volume_for_mountpoint
3496 GVolume typedef moved to gfile.h
3498 * gio/gvolumeprivate.h:
3499 Add g_volume_get_for_mount_path
3501 2007-10-31 Alexander Larsson <alexl@redhat.com>
3503 * gio/gunixmounts.[ch]:
3504 Add cache info to unix mount listers
3505 Make getmntent use threadsafe
3506 Add is_system_internal attribute for GUnixMount
3508 * gio/gunixvolume.c:
3509 (g_unix_volume_new):
3510 Use is_system_internal instead of own code
3512 * gio/glocaldirectorymonitor.c:
3513 * gio/gunixvolumemonitor.c:
3514 Update to new gunixmounts API
3519 2007-10-30 Alexander Larsson <alexl@redhat.com>
3522 Add volume name fsinfo attribute
3525 Read volume name info
3527 * gio/gunionvolumemonitor.c:
3528 Fix infinite loops when finalizing a union volume monitor
3530 2007-10-30 Alexander Larsson <alexl@redhat.com>
3532 * gio/goutputstream.[ch]:
3533 Add splice() with default implementation
3535 * gio/gsocketoutputstream.c:
3536 (g_socket_output_stream_write):
3537 Return error on cancellation correctly.
3539 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3541 * gio/glocalfile.c (g_local_file_trash):
3542 Do not leak a string.
3544 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3546 * gio/gfile.c (g_file_load_contents):
3547 Unref the stream after closing it.
3549 2007-10-25 Alexander Larsson <alexl@redhat.com>
3551 * gio/gioscheduler.h:
3554 2007-10-25 Alexander Larsson <alexl@redhat.com>
3558 Add g_file_has_uri_scheme and implement for local files
3560 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3562 * gio/gdesktopappinfo.c: do not leak a string.
3564 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3566 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3567 (g_local_directory_monitor_new):
3568 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3569 (g_local_file_monitor_new):
3570 Only look for the monitor type that should be used the first time
3571 and use g_qsort_with_data() instead of our own bubble sort
3574 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3577 * gio/fam/Makefile.am:
3578 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3579 * gio/fam/fam-helper.h:
3580 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3581 * gio/fam/gfamdirectorymonitor.c:
3582 * gio/fam/gfamdirectorymonitor.h:
3583 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3584 * gio/fam/gfamfilemonitor.h:
3585 * gio/glocaldirectorymonitor.c:
3586 * gio/glocaldirectorymonitor.h:
3587 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3588 * gio/glocalfilemonitor.h:
3589 * gio/inotify/Makefile.am:
3590 * gio/inotify/ginotifydirectorymonitor.c:
3591 * gio/inotify/ginotifydirectorymonitor.h:
3592 * gio/inotify/ginotifyfilemonitor.c:
3593 * gio/inotify/ginotifyfilemonitor.h:
3594 Implement the FAM and Inotify monitors as
3595 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3596 their own GIO module. GLocal(Directory|File)Monitor will use the
3597 monitor with the highest rank that is supported on that machine.
3599 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3602 Change GIO module dir to $(libdir)/gio/modules and change
3603 the log domain from GVFS to GIO. Also only export symbols starting
3604 with g_ in the resulting library.
3605 * gio/test-streams.c: (main):
3606 Set log handler for the GIO log domain.
3608 2007-10-22 Alexander Larsson <alexl@redhat.com>
3610 * gio/gfilenamecompleter.[ch]:
3611 Add g_filename_completer_set_dirs_only
3613 2007-10-22 Alexander Larsson <alexl@redhat.com>
3616 * gio/gurifuncs.[ch]:
3617 Add some simple URI helpers
3619 * gio/gfilenamecompleter.[ch]:
3620 Added object for filename (parse name actually) completion
3623 Handle ~ in parse names
3625 2007-10-17 Alexander Larsson <alexl@redhat.com>
3628 * gio/glocalfileinfo.c:
3629 Add and implement id:value attribute
3631 2007-10-17 Alexander Larsson <alexl@redhat.com>
3634 * gio/guniondrive.c:
3636 Add and implement g_drive_has_volumes
3638 2007-10-17 Alexander Larsson <alexl@redhat.com>
3641 * gio/glocalfileinfo.[ch]:
3642 Add unix:is_mountpoint and implement for local files
3644 2007-10-16 Alexander Larsson <alexl@redhat.com>
3646 * gio/gunionvolumemonitor.c:
3647 (g_union_volume_monitor_init):
3648 Fix up the unix type getting so that it works with gcc
3650 2007-10-12 Alexander Larsson <alexl@redhat.com>
3653 * gio/glocalfileinfo.c:
3654 Add thumbnail:failed to file info
3656 2007-10-12 Richard Hult <richard@imendio.com>
3658 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3659 optimizing away the get_type call (happens with some gcc versions,
3660 like the one shipped with OS X 10.4).
3662 2007-10-12 Alexander Larsson <alexl@redhat.com>
3664 * gio/glocalfileinfo.c:
3665 (_g_local_file_info_set_attribute):
3666 Fix build if not HAVE_XATTR
3667 Patch from Milosz Derezynski <internalerror@gmail.com>
3669 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3671 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3672 around for review, otherwise I would have asked you before
3675 2007-10-11 Alexander Larsson <alexl@redhat.com>
3678 Add thumbnail:path attribute
3680 * gio/glocalfileinfo.c:
3681 Implement thumbnail:path for local files
3683 2007-10-11 Alexander Larsson <alexl@redhat.com>
3685 * gio/glocalfileinfo.c:
3686 (_g_local_file_info_get):
3687 Avoid duplicate icon names
3689 2007-10-11 Alexander Larsson <alexl@redhat.com>
3691 * gio/gthemedicon.[ch]:
3692 Change g_themed_icon_get_names return type to const
3694 2007-10-10 Alexander Larsson <alexl@redhat.com>
3696 * gio/glocalfileinfo.c:
3697 Don't reference freed memory
3699 2007-10-10 Alexander Larsson <alexl@redhat.com>
3701 * gio/gfileattribute.c:
3704 * gio/glocalfileinfo.c:
3707 2007-10-10 Alexander Larsson <alexl@redhat.com>
3710 Check for NULL icons
3712 * gio/gfileattribute.c:
3713 Don't dup when getting objects (same as for string attributes)
3715 * gio/gicon.c (g_icon_equal):
3716 Safely handle NULLs in equal
3718 2007-10-10 Alexander Larsson <alexl@redhat.com>
3721 Fix c++ compilation issues
3722 Patch from Milosz Derezynski <internalerror@gmail.com>
3724 2007-10-10 Alexander Larsson <alexl@redhat.com>
3726 * programs/gio-monitor-dir.c:
3727 Don't crash if dir monitor not supported.
3729 2007-10-09 Alexander Larsson <alexl@redhat.com>
3732 Add missing G_END_DECLS
3734 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3736 * gio/gfile.c: (g_file_set_display_name),
3737 (g_file_query_settable_attributes),
3738 (g_file_query_writable_namespaces):
3739 Return NULL not FALSE on errors as the return type is a pointer.
3741 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3743 * gio/glocalfile.c: (g_local_file_monitor_file):
3744 Don't call monitor_file on the default interface vtable (which
3745 is NULL) but simply return NULL. The caller, GFile, will create a
3746 polling monitor if NULL is returned.
3748 2007-10-09 Alexander Larsson <alexl@redhat.com>
3752 * gio-unix-2.0.pc.in:
3753 Add gio-unix-2.0.pc if OS_UNIX
3756 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3758 2007-10-09 Alexander Larsson <alexl@redhat.com>
3760 * gio/gunixmounts.[ch]:
3761 Make unix mount monitoring API sane.
3762 Now its just a object with mounts_changed
3763 and mountpoints_changed signals.
3765 * gio/glocaldirectorymonitor.c:
3766 * gio/gunixvolumemonitor.c:
3767 Use new mount monitor api
3769 2007-10-09 Alexander Larsson <alexl@redhat.com>
3771 * gio/gunixmounts.[ch]:
3772 Move guess type into one call for mounts and one for mountpoints
3775 * gio/gunixvolume.c:
3778 2007-10-09 Alexander Larsson <alexl@redhat.com>
3780 * gio/gunixmounts.[ch]:
3781 Remove _ prefix in preparation to make this semi-public
3782 Hide implementation of structs
3784 * gio/glocaldirectorymonitor.c:
3786 * gio/gunixvolume.c:
3787 * gio/gunixvolumemonitor.c:
3788 Update for above API changes
3790 2007-10-08 Alexander Larsson <alexl@redhat.com>
3793 Better polling fallback. This also handles the case where we have
3794 a monitor_file implementation, but it fails.
3796 2007-10-08 Alexander Larsson <alexl@redhat.com>
3800 * gio/gunixmounts.c:
3801 * programs/gio-monitor-dir.c:
3802 * programs/gio-monitor-file.c:
3803 Added cancellable to file monitoring calls.
3804 These are really sync calls and need this.
3806 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3808 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3809 (g_local_vfs_class_init):
3810 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3811 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3813 2007-10-05 Alexander Larsson <alexl@redhat.com>
3815 * gio/gdirectorymonitorprivate.h:
3816 * gio/gfilemonitorprivate.h:
3817 * gio/gdirectorymonitor.h:
3818 * gio/gfilemonitor.h:
3819 Remove *private.h and move to the public API, so that
3820 we can do implementations outside gio (such as in gvfs)
3822 * gio/gdirectorymonitor.c:
3823 * gio/gfilemonitor.c:
3824 * gio/glocaldirectorymonitor.c:
3825 * gio/gpollfilemonitor.c:
3826 * gio/inotify/inotify-helper.c:
3827 * gio/fam/fam-helper.c:
3828 Update to the new header names
3830 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3832 * gio/gdirectorymonitor.c:
3833 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3836 2007-10-04 Alexander Larsson <alexl@redhat.com>
3838 * gio/glocalfileinfo.c (get_access_rights):
3839 Set CAN_TRASH when we can move the file.
3840 We should really also check for a parent trash dir.
3842 2007-10-04 Alexander Larsson <alexl@redhat.com>
3844 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3845 Add can_trash access attribute
3847 2007-10-04 Alexander Larsson <alexl@redhat.com>
3850 (g_local_file_trash):
3851 Create info file first. This is per-spec and allows
3852 us to actually trash directories.
3854 2007-10-02 Alexander Larsson <alexl@redhat.com>
3856 * gio/gdesktopappinfo.c:
3857 Implement the new mime support code.
3858 Always set app as handling mimetype when being set as default for it
3860 2007-10-01 Alexander Larsson <alexl@redhat.com>
3862 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3863 Fix up check for xattrs:
3865 2007-10-01 Alexander Larsson <alexl@redhat.com>
3868 (g_app_info_set_as_default_for_extension):
3869 (g_app_info_add_supports_type):
3870 (g_app_info_can_remove_supports_type):
3871 (g_app_info_remove_supports_type):
3872 Make these fail nicely if not implemented
3874 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3876 * gio/glocalfileoutputstream.c:
3877 * gio/glocalfileoutputstream.h:
3882 * programs/gio-save.c:
3883 Add a GFileCreateFlags argument to operations that can create
3886 2007-10-01 Alexander Larsson <alexl@redhat.com>
3888 * gio/gappinfo.[ch]:
3889 * gio/gdesktopappinfo.c:
3890 Add more (stubbed out) mime API needed for nautilus
3892 2007-10-01 Alexander Larsson <alexl@redhat.com>
3895 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
3896 Add g_app_info_set_as_default_for_extension.
3898 * gio/gdesktopappinfo.c:
3899 Dummy for g_app_info_set_as_default_for_extension
3900 Support flags in g_app_info_create_from_commandline
3902 * gio/gwin32appinfo.c:
3904 Update for API changes
3906 * gio/gthemedicon.c:
3907 Properly NULL-terminate list of icon names
3909 2007-09-28 Alexander Larsson <alexl@redhat.com>
3911 * gio/gloadableicon.h:
3912 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
3914 2007-09-28 Alexander Larsson <alexl@redhat.com>
3917 Install headers in $includedir/gio-standalone/
3919 * gio-2.0.pc.in: Added.
3920 * gio-standalone.pc.in: Removed.
3923 Renamed pkg-config file to match glib (for future move)
3924 Update to the new include dir
3927 Add more TODO comments
3929 2007-09-28 Alexander Larsson <alexl@redhat.com>
3931 * gio/gdesktopappinfo.[ch]:
3932 Expose new_from_filename
3933 Add getter for is_hidden and handle it better
3935 2007-09-28 Alexander Larsson <alexl@redhat.com>
3937 * gio/gfileinfo.[ch]:
3938 Rename g_file_size_format_for_display to
3939 g_format_file_size_for_display.
3940 Now it doesn't have the g_file prefix, so we
3941 can later move it to glib.
3943 2007-09-28 Alexander Larsson <alexl@redhat.com>
3945 * gio/gappinfo.[ch]:
3946 Add g_app_info_get_id and g_app_info_get_executable.
3947 Make all getters non-reffing
3948 Make g_app_info_launch take GFile arguments.
3949 Add must_support_uris argument to g_app_info_get_default_for_type.
3951 * gio/gwin32appinfo.c:
3952 Update to GAppInfo api changes
3954 * gio/gdesktopappinfo.c:
3955 Update to GAppInfo api changes
3956 Implement supports_xdg_startup_notify
3958 * gio/gfileicon.c (g_file_icon_get_file):
3959 Make getter non-reffing.
3964 2007-09-27 Alexander Larsson <alexl@redhat.com>
3966 * gio/gfileinfo.[ch]:
3967 Add g_file_size_format_for_display helper
3969 2007-09-27 Alexander Larsson <alexl@redhat.com>
3971 * gio/glocalfileinfo.c:
3972 Set UNIX_GID from gid, not from uid
3974 2007-09-27 Alexander Larsson <alexl@redhat.com>
3977 Add g_file_set_attributes_async
3979 2007-09-27 Alexander Larsson <alexl@redhat.com>
3981 * gio/glocalfile.c (g_local_file_set_display_name):
3982 Fix set_display_name to actually rename to the right place.
3983 Use lstat to look for existing files so we don't overwrite
3986 2007-09-26 Alexander Larsson <alexl@redhat.com>
3989 Add g_file_set_display_name_async()
3991 2007-09-26 Alexander Larsson <alexl@redhat.com>
3994 Add load_partial_contents async calls
3997 Make internal function static
3999 2007-09-26 Alexander Larsson <alexl@redhat.com>
4001 * gio/glocalfileinfo.c:
4002 Correctly detect broken symlinks
4004 2007-09-26 Alexander Larsson <alexl@redhat.com>
4006 * gio/gcancellable.c (g_cancellable_cancel):
4007 Allow cancel on NULL cancellable
4009 2007-09-25 Alexander Larsson <alexl@redhat.com>
4011 * gio/gsimpleasyncresult.c:
4012 Don't allocate g_error manually.
4013 Fixes g_slice/g_new mixup crash
4015 2007-09-25 Alexander Larsson <alexl@redhat.com>
4017 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4018 Actually set active_backend.
4019 This means the monitor will be cancelled correctly.
4021 2007-09-25 Alexander Larsson <alexl@redhat.com>
4023 * gio/gdirectorymonitor.c:
4024 Set timeout to NULL when destroying
4026 2007-09-25 Alexander Larsson <alexl@redhat.com>
4029 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4030 that is a better description of the error.
4032 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4034 * gio/gvfs.c: (g_vfs_get_local):
4035 Make the local vfs variable static. The same instance should
4038 2007-09-24 Alexander Larsson <alexl@redhat.com>
4040 * gio/glocalfileinfo.c:
4041 Pass in actual length read into sniffer, not the length
4044 2007-09-21 Alexander Larsson <alexl@redhat.com>
4046 * gio/gfileenumerator.c:
4049 * gio/gfileinputstream.c:
4050 * gio/gfileoutputstream.c:
4051 * gio/ginputstream.c:
4052 * gio/goutputstream.c:
4053 Don't crash if async callbacks are NULL
4055 2007-09-20 Alexander Larsson <alexl@redhat.com>
4058 Add async enumerate_children method and default
4061 2007-09-20 Alexander Larsson <alexl@redhat.com>
4064 Add g_file_contains_file & g_file_get_relative_path, since they
4065 were needed for nautilus.
4066 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4071 Implement new methods
4073 2007-09-17 Alexander Larsson <alexl@redhat.com>
4076 * gio/gfileinputstream.[ch]:
4077 * gio/gfileoutputstream.[ch]:
4079 * gio/glocalfileenumerator.[ch]:
4080 * gio/glocalfileinfo.[ch]:
4081 * gio/glocalfileinputstream.c:
4082 * gio/glocalfileoutputstream.c:
4083 * gio/gpollfilemonitor.c:
4084 * programs/gio-copy.c:
4085 * programs/gio-info.c:
4086 * programs/gio-move.c:
4087 Rename get_file_info to query_info() to make it clearer
4088 that these are not simple getters, but do i/o.
4090 2007-09-17 Alexander Larsson <alexl@redhat.com>
4092 * gio/gdatainputstream.[ch]:
4093 * gio/test-streams.c:
4094 Use _read_XXX instead of _get_XXX for the i/o calls
4097 2007-09-17 Alexander Larsson <alexl@redhat.com>
4100 Added needed stuff to TODO comment
4102 2007-09-17 Alexander Larsson <alexl@redhat.com>
4104 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4105 Don't error out removing the backup copy if it doesn't
4108 2007-09-14 Alexander Larsson <alexl@redhat.com>
4110 * programs/Makefile.am:
4111 * programs/gvfs-*.c:
4113 Renamed apps from gvfs-xxx to gio-xxx.
4115 2007-09-14 Alexander Larsson <alexl@redhat.com>
4118 * gio/gfileoutputstream.[ch]:
4119 * gio/glocalfileoutputstream.c:
4120 * programs/gvfs-save.c:
4121 g_file_output_stream_get_etag doesn't do i/o, so remove
4122 cancellation and error.
4124 2007-09-14 Alexander Larsson <alexl@redhat.com>
4127 Add new_etag output to replace_contents functions
4129 2007-09-14 Alexander Larsson <alexl@redhat.com>
4131 * gio/gfileoutputstream.[ch]:
4132 Add async get_file_info and default implementation
4134 2007-09-14 Alexander Larsson <alexl@redhat.com>
4136 * gio/gfileinputstream.c:
4137 Implement fallback wrapper for async get_file_info
4139 2007-09-14 Alexander Larsson <alexl@redhat.com>
4142 Add etag out argument to load_contents
4147 2007-09-14 Alexander Larsson <alexl@redhat.com>
4149 * gio/gcontenttype.c (looks_like_text):
4150 Whitespace like tab, cr and lf do not make the
4153 2007-09-14 Alexander Larsson <alexl@redhat.com>
4155 * gio/gfileinputstream.[ch]:
4156 Add async get_file_info.
4158 2007-09-13 Alexander Larsson <alexl@redhat.com>
4160 * gio/goutputstream.c (g_output_stream_write_all):
4161 Allow NULL for bytes_written
4163 2007-09-13 Alexander Larsson <alexl@redhat.com>
4165 * gio/gmemoryinputstream.[ch]:
4166 Add accessors for data
4168 2007-09-13 Alexander Larsson <alexl@redhat.com>
4170 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4171 Don't crash if length is NULL