1 2008-06-10 Matthias Clasen <mclasen@redhat.com>
4 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
5 to add a name to the front of the list.
7 2008-06-10 Matthias Clasen <mclasen@redhat.com>
9 Bug 537392 – Additional colon in xattr name
11 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
12 too. Reported by Alessandro Morandi
14 2008-06-10 Matthias Clasen <mclasen@redhat.com>
16 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
19 * glocalfile.c (get_fs_type): Add afs and autofs.
20 Patch by Danny Baumann.
22 2008-06-10 Matthias Clasen <mclasen@redhat.com>
24 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
26 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
27 is no parent. (Owen Taylor, patch by Christian Neumair)
29 2008-06-10 Paolo Borelli <pborelli@katamail.com>
31 * gfile.c (g_file_replace_contents): do not leak the output stream.
33 2008-06-10 Michael Natterer <mitch@imendio.com>
35 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
36 uninitialized memory as array index.
38 2008-06-10 Tor Lillqvist <tml@novell.com>
40 * gcontenttype.c (g_content_type_can_be_executable)
41 (g_content_type_get_icon) [Win32]: Add TODO comments.
43 2008-06-09 Matthias Clasen <mclasen@redhat.com>
45 * xdgmime/Makefile.am: Fix the build
47 2008-06-09 Matthias Clasen <mclasen@redhat.com>
49 * gcontenttype.c (g_content_type_get_icon): Use icons specified
50 in the shared mime database, if available.
52 * xdgmime/*: Sync with upstream. This brings support for
53 glob weights, generic icons, and changes the cache format to
56 2008-05-28 Michael Natterer <mitch@imendio.com>
58 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
59 the global CPPFLAGS now.
61 * tests/data-input-stream.c
62 * tests/data-output-stream.c
66 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
68 2008-05-27 Matthias Clasen <mclasen@redhat.com>
70 * === Released 2.17.0 ===
72 * tests/live-g-file.c: Clean up after the tests, so make distcheck
73 doesn't complain about leftover files.
75 2008-05-27 simon.zheng <simon.zheng@sun.com>
77 * glocalfile.c: (g_local_file_query_filesystem_info):
78 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
80 2008-05-26 Michael Natterer <mitch@imendio.com>
82 * gmemoryoutputstream.h: declare
83 g_memory_output_stream_get_data_size().
85 2008-05-26 Matthias Clasen <mclasen@redhat.com>
87 * tests/*: Make tests work
89 2008-05-26 Matthias Clasen <mclasen@redhat.com>
91 * gio.symbols: Add g_memory_output_stream_get_data_size.
93 2008-05-25 Ross Burton <ross@burtonini.com>
96 Fix typo in error message (#534764).
98 2008-05-25 Ross Burton <ross@burtonini.com>
101 Fix circular dependency loop for gioenumtypes.h (#534759).
103 2008-05-19 Hans Breuer <hans@breuer.org>
105 * Makefile.am : EXTRA_DIST += makefile.msc
107 2008-05-17 Matthias Clasen <mclasen@redhat.com>
110 * gcontenttype.c: (g_content_type_from_mime_type):
111 New function to create a content type from a mime type. (#527175,
114 2008-05-17 Matthias Clasen <mclasen@redhat.com>
116 Bug 532965 – Should not return filesystem::free for certain file systems
118 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
119 free space for ncpfs.
121 2008-05-17 Matthias Clasen <mclasen@redhat.com>
123 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
125 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
126 st_dev might be zero.
128 2008-05-16 Tor Lillqvist <tml@novell.com>
130 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
131 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
133 2008-05-13 Bastien Nocera <hadess@hadess.net>
135 * gfile.c (has_valid_scheme): A URI scheme must start with a
136 letter, even if later more characters are allowed (#532852)
138 2008-05-05 Michael Natterer <mitch@imendio.com>
140 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
141 code from being checked in that breaks the build of applications
142 which use G_DISABLE_SINGLE_INCLUDES.
144 * makegioalias.pl: make the alias file include "glib.h" instead of
147 * gio.symbols: whitespace change to force regeneration of the
148 alias file after above script change.
150 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
152 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
154 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
156 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
158 2008-04-28 David Zeuthen <davidz@redhat.com>
160 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
161 displaying mounts in a subdirectory not accessible to the
164 2008-04-22 Michael Natterer <mitch@imendio.com>
166 * Makefile.am: fix library versioning (it was 0.0.0).
168 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
170 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
171 Default disable all loggings.
172 * fen/fen-kernel.c: (printevent), (port_add_kevent),
173 (port_fetch_event_cb): Fixed two macro nits.
175 2008-04-16 Matthias Clasen <mclasen@redhat.com>
177 * xdgmime/xdgmime.c: Rework the timestamp checking code
178 to protect against duplicate directories in XDG_DATA_DIRS.
179 Fixes fd.o bug 12513, reported by Joe Shaw.
181 2008-04-16 Matthias Clasen <mclasen@redhat.com>
183 Partically revert the last commit after realizing that
184 xdg_mime_media_type_equal doesn't have to init at all.
187 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
189 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
191 2008-04-16 Matthias Clasen <mclasen@redhat.com>
193 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
194 reported by Joe Shaw and Federico Mena Quintero.
196 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
197 (xdg_mime_media_type_equal): Turn into a wrapper around the
200 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
201 functions throughout.
203 2008-04-16 Michael Meeks <michael.meeks@novell.com>
205 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
206 tolerate an empty TryExec= line without failing; nautilus used
207 to create launchers with these in previous versions. Fixes #528433
209 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
211 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
212 after name. Fixes #527132.
214 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
216 * gfile.c: (g_file_replace):
219 2008-04-07 Matthias Clasen <mclasen@redhat.com>
221 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
223 * gfile.c (file_copy_fallback): Fix the argument order. Patch
224 by Christian Kellner.
226 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
228 * gunixmounts.c: (g_unix_mount_guess_should_display):
229 Don't list the user directory as a mount, fix potential issue
230 when other users have a similar naming and don't special case the
231 gvfs mounts there since that's not required (#525866)
233 2008-03-31 Alexander Larsson <alexl@redhat.com>
235 * glocalfile.c (get_parent):
238 2008-03-31 A. Walton <awalton@svn.gnome.org>
240 * gfile.c (g_file_query_file_type):
241 Always return a GFileType enum value (#520715).
243 2008-03-31 Alexander Larsson <alexl@redhat.com>
245 * glocalfileenumerator.c:
246 Read readdir() info in chunks (of 1000) and sort
247 the chunks by inode before stat:ing.
248 This is a 20% performance increase in testing
249 gvfs-ls on /usr/bin with cold cache.
251 2008-03-31 Alexander Larsson <alexl@redhat.com>
253 * gmemoryoutputstream.c:
254 Clarify docs for g_memory_output_stream_get_size.
255 Add g_memory_output_stream_get_data_size.
257 2008-03-30 Matthias Clasen <mclasen@redhat.com>
261 * gfile.h: Add g_file_query_file_type convenience function
262 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
264 2008-03-30 Matthias Clasen <mclasen@redhat.com>
267 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
269 2008-03-28 A. Walton <awalton@svn.gnome.org>
271 * giomodule.c (_g_io_modules_ensure_loaded):
272 Adds GIO_EXTRA_MODULES environment variable support, closing bug
275 2008-03-28 Alexander Larsson <alexl@redhat.com>
278 (copy_stream_with_progress):
281 2008-03-28 Alexander Larsson <alexl@redhat.com>
284 (copy_stream_with_progress):
285 (file_copy_fallback):
286 Fallback to g_file_query_info for source size
287 if g_file_input_stream_query_info fails. (#524579)
289 2008-03-28 Alexander Larsson <alexl@redhat.com>
291 * glocalfile.c (g_local_file_move):
292 Reuse old string instead of adding new one.
294 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
296 * fen/*.[hc]: still copyright issue. I hate copyright.
298 2008-03-27 Alexander Larsson <alexl@redhat.com>
300 * glocalfile.c (g_local_file_move):
301 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
302 file over directory. This is according to the docs and what the move via
303 copy+remove fallback does.
305 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
307 * fen/*.[hc]: Updated copyright.
309 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
311 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
313 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
315 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
316 not emit attribute changed events when optimizing changed events.
317 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
320 2008-03-19 Matthias Clasen <mclasen@redhat.com>
322 * gmountoperation.[hc]: Small documentation additions
324 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
326 * gunixmounts.c: (guess_mount_type):
327 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
329 2008-03-19 Alexander Larsson <alexl@redhat.com>
332 (copy_stream_with_progress):
333 Bump block side for copy to 64k to minimize
334 overhead for low latency links. (#523015)
336 2008-03-16 Tor Lillqvist <tml@novell.com>
338 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
339 depend on gio.def on Windows.
341 2008-03-12 David Zeuthen <davidz@redhat.com>
345 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
347 2008-03-14 Alexander Larsson <alexl@redhat.com>
351 Avoid redudant tests (#521851)
352 Patch from Josselin Mouette
354 2008-03-14 Alexander Larsson <alexl@redhat.com>
357 (g_file_monitor_is_cancelled):
358 Fix C89 issue (#521672)
359 Patch from Jens Granseuer
361 2008-03-14 Alexander Larsson <alexl@redhat.com>
363 * fam/fam-helper.[ch]:
365 Shut down fam (including removing fam GSource) when
366 module is unloaded (#521513)
367 Patch from Joe Marcus Clarke
369 2008-03-14 Alexander Larsson <alexl@redhat.com>
372 (_g_io_modules_ensure_loaded):
375 2008-03-14 Alexander Larsson <alexl@redhat.com>
378 (g_local_file_query_filesystem_info):
379 Use right define name for f_fstypename member check
381 2008-03-14 Alexander Larsson <alexl@redhat.com>
384 * fen/Makefile.am: Added.
385 * fen/fen-data.[ch]: Added.
386 * fen/fen-dump.[ch]: Added.
387 * fen/fen-helper.[ch]: Added.
388 * fen/fen-kernel.[ch]: Added.
389 * fen/fen-missing.[ch]: Added.
390 * fen/fen-node.[ch]: Added.
391 * fen/fen-sub.[ch]: Added.
392 * fen/gfendirectorymonitor.[ch]: Added.
393 * fen/gfenfilemonitor.[ch]: Added.
395 Added Solaris FEN file notification backend.
396 Patch from Lin Ma <Lin.Ma@Sun.COM>
398 2008-03-13 Tor Lillqvist <tml@novell.com>
400 * Makefile.am: Actually use the gio.def file when linking the
401 library on Windows. Produce .lib library for Microsoft's toolchain
402 when possible. Install the .lib and .def file like for the other
405 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
407 * tests/live-g-file.c:
408 Include live-g-file in standard set of tests, making a temporary
409 directory in source structure.
411 Clean target directory before the tests (write mode only)
413 2008-03-12 Tor Lillqvist <tml@novell.com>
415 Bug 517419 - gio win32 directory monitor
416 Implementation by Vlad Grecescu.
419 * win32/gwin32directorymonitor.h
420 * win32/gwin32directorymonitor.c: New files.
422 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
424 * Makefile.am: Add the win32 subdirectory.
426 2008-03-12 Tor Lillqvist <tml@novell.com>
428 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
429 normal struct stat on Unix but struct _stati64 on Windows to have
430 access to 64-bit file size information. Use that instead of struct
431 stat in the functions declared here in this private header.
433 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
434 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
435 warnings about unused functions and variables. Don't set
436 meaningless attributes like inode numbers on Windows.
438 2008-03-12 Benjamin Otte <otte@gnome.org>
441 trim whitespace so gtk-doc groks the function name
443 2008-03-12 Tor Lillqvist <tml@novell.com>
445 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
446 returning FALSE, on Win32.
448 2008-03-11 Alexander Larsson <alexl@redhat.com>
451 * glocalfileinfo.[ch]:
452 Correctly implement can_trash by actually
453 looking for a trash dir, not just assuming
456 2008-03-10 Matthias Clasen <mclasen@redhat.com>
458 * === Released 2.16.1 ===
460 2008-03-11 Alexander Larsson <alexl@redhat.com>
463 Fix crashes in new constructor and properties code
465 2008-03-10 Murray Cumming <murrayc@murrayc.com>
467 * gfile.c: Minor spelling correction in documentation:
468 existance -> existence.
470 2008-03-10 Matthias Clasen <mclasen@redhat.com>
472 * === Released 2.16.0 ===
474 2008-03-10 Matthias Clasen <mclasen@redhat.com>
476 * gio.symbols: Remove g_file_contains_file here, too.
478 2008-03-10 Matthias Clasen <mclasen@redhat.com>
480 * gthemedicon.c: Add properties to make bindings happy. (#517676,
481 Samuel Cormier-Iijima)
483 2008-03-08 Tor Lillqvist <tml@novell.com>
485 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
488 2008-03-07 Alexander Larsson <alexl@redhat.com>
491 (g_local_file_query_filesystem_info):
492 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
493 Patch from Jasper Lievisse Adriaanse
495 2008-03-06 Tor Lillqvist <tml@novell.com>
497 * gfileinfo.h: Correct milliseconds to microseconds in the doc
498 comments for the *_USEC attributes.
500 2008-03-06 Alexander Larsson <alexl@redhat.com>
502 * gfile.c (g_file_query_exists):
503 Add g_return_val_if_fail check (#520700)
505 2008-03-06 Alexander Larsson <alexl@redhat.com>
510 * gunionvolumemonitor.c:
513 * tests/live-g-file.c:
514 * xdgmime/xdgmimecache.c:
515 Fix sparse warnings (#519489)
517 2008-03-05 Alexander Larsson <alexl@redhat.com>
520 Make cancellation threadsafe (i.e.
521 guarantee its only done once, and always
524 * glocaldirectorymonitor.c:
525 Make sure we the monitor lives while the
526 mounts_changed callback is being called (#520484)
528 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
530 * gbufferedinputstream.c: Fix typo in parameter
533 2008-03-04 Alexander Larsson <alexl@redhat.com>
536 Remove deprecated symbols we kept for one release.
538 2008-03-04 Murray Cumming <murrayc@murrayc.com>
541 * goutputstream.c: Tiny documentation corrections.
543 2008-03-03 Alexander Larsson <alexl@redhat.com>
545 * gunionvolumemonitor.c:
547 Fix the adopt_orphan_mount vfunc to take a
548 volume_monitor reference in an ABI compat way.
549 This change is not API compat, but the added
550 arg is not used in the only user of this vfunc, so
551 all we get is a harmless warning in gvfs (#520169)
553 2008-03-01 Benjamin Otte <otte@gnome.org>
556 clarify docs for g_file_delete().
558 2008-02-29 Alexander Larsson <alexl@redhat.com>
562 Make sure empty files get text/plain type (#518720)
564 2008-02-27 Alexander Larsson <alexl@redhat.com>
570 (g_unix_volume_mount):
571 Add missing GMountMountFlags argument
573 2008-02-26 Alexander Larsson <alexl@redhat.com>
576 (g_local_file_delete):
577 Handle filesystems (like ntfs-3g) that return EEXIST instead
578 of ENOTEMPTY (#518816)
580 2008-02-25 Matthias Clasen <mclasen@redhat.com>
582 * === Released 2.15.6 ===
584 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
586 * gfile.c (g_file_find_enclosing_mount):
587 * ginputstream.c (g_input_stream_set_pending):
588 * glocalfile.c (g_local_file_find_enclosing_mount):
589 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
590 * goutputstream.c (g_output_stream_set_pending):
592 Fixup translator comments (#518578).
594 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
596 * gfile.c (g_file_find_enclosing_mount):
598 * glocalfile.c (g_local_file_find_enclosing_mount):
601 Fix a few typos in translator comments and documentation.
603 2008-02-25 Alexander Larsson <alexl@redhat.com>
610 Add translator comments (#518578)
612 2008-02-25 Alexander Larsson <alexl@redhat.com>
615 Reintroduce g_file_contains_file, keep around for one
616 unstable release cycle to avoid crashing to many apps.
617 Make sure to delete after release.
619 2008-02-25 Alexander Larsson <alexl@redhat.com>
622 Remove deprecated g_file_contains_file.
624 2008-02-25 Alexander Larsson <alexl@redhat.com>
627 Emit actual change signals in an idle handler.
628 This avoids reentrance and locking problems in
629 the file notification backends.
631 2008-02-25 Alexander Larsson <alexl@redhat.com>
634 (g_unix_mount_guess_should_display):
635 Remove type guessing, instead just display
636 mounts in /media and in ~/.
638 2008-02-25 Alexander Larsson <alexl@redhat.com>
641 Make new strings reuse old ones.
643 2008-02-25 Alexander Larsson <alexl@redhat.com>
646 Implement trashing and filesystem::readonly for win32 (#517235)
647 Patch from Yevgen Muntyan
649 2008-02-23 Matthias Clasen <mclasen@redhat.com>
651 * gfileinfo.h: Documentation fixes.
653 2008-02-22 Alexander Larsson <alexl@redhat.com>
655 * gcontenttype.c (g_content_type_get_icon):
656 Look at old-style gnome mime icon names too, as many
657 have not moved to the new style.
659 2008-02-21 Matthias Clasen <mclasen@redhat.com>
661 * *.c: Correct the @include in for section docs.
663 2008-02-21 David Zeuthen <davidz@redhat.com>
665 * glocalfileinfo.c: (_g_local_file_info_get):
667 (g_content_type_get_icon): Implement this function by
668 moving bits from glocalfileinfo.c
669 (g_content_type_get_description): Unalias before getting
670 description (#517687)
672 * gfile.c: (g_file_class_init),
673 (g_file_query_filesystem_info_async),
674 (g_file_query_filesystem_info_finish),
675 (query_filesystem_info_data_free),
676 (query_filesystem_info_async_thread),
677 (g_file_real_query_filesystem_info_async),
678 (g_file_real_query_filesystem_info_finish):
679 * gfile.h: Implement async version of
680 g_file_query_filesystem_info()
682 * gfileinfo.h: Add new attributes for filesystem::use-preview
684 * gio.symbols: Update
686 * gthemedicon.c: (g_themed_icon_append_name):
687 * gthemedicon.h: Add new new convenience function.
689 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
690 (get_mounts), (get_volumes), (get_connected_drives),
691 (get_volume_for_uuid), (get_mount_for_uuid),
692 (g_union_volume_monitor_init), (populate_union_monitor),
693 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
694 (g_volume_monitor_adopt_orphan_mount):
696 * gvolumemonitor.h: Use recursive locks so it's safe for volume
697 monitor implementations to call into the main volume monitor. Also
698 separate object initialization and volume monitor initialization
699 such that non-native volume monitors can properly adopt their
702 2008-02-21 Alexander Larsson <alexl@redhat.com>
707 2008-02-21 Alexander Larsson <alexl@redhat.com>
710 Add more documentation about how GFiles work (from #517086)
712 2008-02-21 Alexander Larsson <alexl@redhat.com>
716 Add new g_file_has_prefix that does the same as g_file_contains_file.
717 Deprecate g_file_contains_file and add a macro that converts
718 it to g_file_has_prefix.
719 The reason for this change is that the contains_file() name seems to
720 imply that this does more work than what it does, but its really only
721 a name match (from #517086)
726 Update to match the above change.
728 2008-02-20 Benjamin Otte <otte@gnome.org>
730 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
731 (g_file_eject_mountable):
732 even more cases of not returning in error path
734 2008-02-20 Benjamin Otte <otte@gnome.org>
736 * gfile.c: (g_file_mount_mountable):
737 return from function in error path.
739 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
742 Remove trailing coma in GMountMountFlags struct
744 2008-02-18 Alexander Larsson <alexl@redhat.com>
748 * glocalfileoutputstream.c:
749 Use g_unlink/g_rename instead of unlink/rename;
750 do not pass raw filenames to g_set_error. (#517239)
751 Patch from Yevgen Muntyan.
753 2008-02-18 Alexander Larsson <alexl@redhat.com>
756 * glocalfileoutputstream.c:
757 Open files with O_BINARY on windows. (#517140)
759 2008-02-14 Alexander Larsson <alexl@redhat.com>
761 * glocalfileoutputstream.c:
762 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
764 2008-02-14 Alexander Larsson <alexl@redhat.com>
767 Copy permissions with file on copy (#514084)
768 This is what cp does and makes sure e.g. the
769 exec permissions are kept.
770 Its kinda weird in that it keeps the permission bits
771 the same while the uid and gid are different. However
772 the new uid is the user so its not a security issue,
773 and I've heard no complaints about cp on this issue.
775 2008-02-13 Ryan Lortie <desrt@desrt.ca>
777 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
779 2008-02-13 Alexander Larsson <alexl@redhat.com>
781 * inotify/inotify-path.c:
782 Define IN_ONLYDIR if not in header (#515346)
784 2008-02-12 Alexander Larsson <alexl@redhat.com>
786 * tests/live-g-file.c:
789 2008-02-11 Matthias Clasen <mclasen@redhat.com>
791 * === Released 2.15.5 ===
793 2008-02-11 Matthias Clasen <mclasen@redhat.com>
795 * gio.symbols: Add g_mount_mount_flags_get_type.
797 2008-02-11 Alexander Larsson <alexl@redhat.com>
800 (g_file_info_set_attribute_mask):
801 (g_file_attribute_matcher_matches_id):
802 Correctly handle NULL GAttributeMatcher meaning
803 matches nothing. (Fixes #513492)
805 2008-02-11 Alexander Larsson <alexl@redhat.com>
810 Added GMountMountFlags enum and added a flags
811 argument to all mount calls.
813 This is an API/ABI change for future extensibility,
814 as I think we will need at least an
815 inhibit-autorun flag (the panel needs this).
816 There are no flags defined yet though.
818 2008-02-11 Alexander Larsson <alexl@redhat.com>
821 Added new standard::description attribute.
822 Requested by Vincent, and useful for both
825 2008-02-11 Alexander Larsson <alexl@redhat.com>
830 2008-02-11 Matthias Clasen <mclasen@redhat.com>
832 * *.c: Documentation additions
834 2008-02-10 Matthias Clasen <mclasen@redhat.com>
836 * gappinfo.h: Formatting cleanup
837 * gappinfo.c: Fix up docs.
839 2008-02-09 Matthias Clasen <mclasen@redhat.com>
841 * gunixmounts.c: Consistently use getmntent_r() and fall
842 back to getmntent(). (#515492)
844 2008-02-09 Matthias Clasen <mclasen@redhat.com>
846 * gbufferedinputstream.c:
848 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
850 * tests/data-input-stream.c:
851 * tests/data-output-stream.c: Portability fixes.
853 2008-02-08 Alexander Larsson <alexl@redhat.com>
858 Add g_volume_should_automount.
861 2008-02-07 Tor Lillqvist <tml@novell.com>
863 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
864 Win32, too Unix-specific.
866 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
868 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
869 a local plt if the compiler doesn't support what we want. Bug #514702
871 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
873 reviewed by: <delete if not using a buddy>
876 * gunixinputstream.c:
877 * gunixoutputstream.c:
879 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
882 * tests/live-g-file.c:
883 * tests/live-g-file.txt:
884 New GIO testing module working over real data
886 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
888 * glocalfileoutputstream.c (g_local_file_output_stream_close):
889 Fallback to rename() if link() is not available
890 (when no support on target filesystem)
892 2008-02-06 Michael Natterer <mitch@imendio.com>
894 * gfileinfo.c (g_file_info_get_icon): replace
895 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
897 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
899 * gfile.c (g_file_create):
900 Documentation update of error codes
902 2008-02-06 Alexander Larsson <alexl@redhat.com>
905 Update to use both mimeapps.list and
906 defaults.list as discussed on xdg list.
908 2008-02-06 Benjamin Otte <otte@gnome.org>
911 * gfilenamecompleter.c:
912 Fix some typos in the documentation.
914 2008-02-06 Alexander Larsson <alexl@redhat.com>
916 * glocalfile.c (g_local_file_trash):
917 Don't succeed with trash if newly created
918 trash dir has the wrong owner. (#514696)
920 2008-02-05 Alexander Larsson <alexl@redhat.com>
922 * glocalfile.c (g_local_file_move):
923 Don't spew warnings when destination is not
926 2008-02-03 Hans Breuer <hans@breuer.org>
928 * makefile.msc : update
930 2008-02-01 Michael Natterer <mitch@imendio.com>
932 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
933 return value of xdg_mime_list_mime_parents() to a variable of the
936 2008-02-01 Alexander Larsson <alexl@redhat.com>
938 * gappinfo.c (g_app_info_launch_uris):
939 Actually call the launch_uris method, not
942 2008-02-01 Alexander Larsson <alexl@redhat.com>
944 * gdesktopappinfo.c (g_desktop_app_info_equal):
945 Ensure appinfos with no id but same pointer value
948 2008-02-01 Alexander Larsson <alexl@redhat.com>
950 * gappinfo.c (g_app_info_launch_default_for_uri):
953 2008-02-01 Alexander Larsson <alexl@redhat.com>
957 Add g_app_info_launch_default_for_uri utility
960 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
963 Doc fix for g_app_info_get_default_for_uri_scheme ()
966 2008-01-30 Alexander Larsson <alexl@redhat.com>
969 Add doc comment about uris vs GFiles to
973 Ensure uris passed to g_app_info_launch_uris()
974 are not roundtriped through GFile (as that
975 may be slightly destructive for e.g. mailto: links)
977 2008-01-30 Alexander Larsson <alexl@redhat.com>
979 * tests/data-input-stream.c:
980 * tests/data-output-stream.c:
981 C89 fixes from Jens Granseuer (#512849)
983 2008-01-30 Alexander Larsson <alexl@redhat.com>
986 Fix gamin/fam difference build issue. (#509419)
988 2008-01-29 Alexander Larsson <alexl@redhat.com>
992 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
994 2008-01-29 Alexander Larsson <alexl@redhat.com>
998 giomodule-priv.h include moved to .c file.
1000 2008-01-29 Alexander Larsson <alexl@redhat.com>
1002 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1003 Remove unused prio/name fields.
1005 2008-01-29 Alexander Larsson <alexl@redhat.com>
1007 * gcontenttype.c (looks_like_text):
1008 Don't treat whitespace as control chars.
1010 2008-01-29 Alexander Larsson <alexl@redhat.com>
1012 * gdesktopappinfo.c:
1013 Lazily create the desktop files for appinfos created
1014 by g_app_info_create_from_commandline() when needed
1015 for mime associations. This allows run-time use
1016 of GAppInfo object without creating unnecessary
1019 2008-01-29 Alexander Larsson <alexl@redhat.com>
1022 Added new symbols to gio.symbols
1024 2008-01-29 Alexander Larsson <alexl@redhat.com>
1027 Add g_file_query_default_handler utility to easily look up
1028 the GAppInfo that handles a file.
1030 * gdesktopappinfo.[ch]:
1032 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1035 Remove unused function
1037 2008-01-29 Alexander Larsson <alexl@redhat.com>
1039 * gfileenumerator.c:
1040 Mention need to free returned value in
1041 g_file_enumerator_next_files_finish docs.
1042 Fix leak if g_file_enumerator_next_files_finish()
1045 2008-01-29 Alexander Larsson <alexl@redhat.com>
1048 (_g_unix_content_type_get_parents):
1049 Use list_parents, not get_parents from xdgmime, because
1050 the later doesn't use the cache.
1052 * xdgmime/xdgmimecache.c:
1053 (_xdg_mime_cache_list_mime_parents):
1054 Don't list the same type as parent multiple times.
1056 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1058 * === Released 2.15.4 ===
1060 2008-01-28 Alexander Larsson <alexl@redhat.com>
1063 Register local vfs with prio 0.
1066 Remove old name and prio class members
1068 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1070 * tests/g-file.c: Disable some tests that are failing in
1071 the absence of a http backend.
1073 2008-01-28 Alexander Larsson <alexl@redhat.com>
1077 Add registration hooks for extension points.
1078 Register the gio extension points.
1080 * fam/gfamdirectorymonitor.c:
1081 * fam/gfamfilemonitor.c:
1082 * glocaldirectorymonitor.[ch]:
1083 * glocalfilemonitor.[ch]:
1084 * gnativevolumemonitor.h:
1085 * gunionvolumemonitor.c:
1086 * gunixvolumemonitor.c:
1089 * inotify/ginotifydirectorymonitor.c:
1090 * inotify/ginotifyfilemonitor.c:
1091 Use the extension points registration instead
1092 of g_type_children().
1094 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1097 * gvolume.[hc]: Document new API.
1099 * gfile.c (g_file_copy_async): Fix docs
1101 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1103 * gbufferedinputstream.c:
1105 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1108 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1110 * glocalfile.c: Avoid trivial differences in translatable strings.
1112 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1114 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1115 build with gcc 3.4 (#509419)
1117 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1119 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1120 (#509994, Murray Cumming)
1122 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1124 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1125 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1126 this allows big jobs to be executed in chunks, instead of blocking
1127 the main loop for a long time.
1129 * gsimpleasyncresult.c:
1130 * giofile.c: Adapt callers.
1132 2008-01-25 Alexander Larsson <alexl@redhat.com>
1134 * gdesktopappinfo.c:
1135 Implement changes discussed on xdg list.
1136 Now we can add supported mimetypes by just using defaults.list
1137 We can also remove associations in defaults.list.
1139 2008-01-25 Alexander Larsson <alexl@redhat.com>
1141 * gdesktopappinfo.c:
1142 Don't make local copy of desktop file
1143 for mimetype changes if the file already
1144 supports the new mimetype.
1146 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1150 * gbufferedinputstream.c:
1151 * glocalfile.c: String improvements. (#511966,
1152 Theppitak Karoonboonyanan)
1154 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1156 * gioscheduler.h: Expand docs a bit.
1158 2008-01-24 Alexander Larsson <alexl@redhat.com>
1161 Add g_drive_get_identifier and
1162 g_drive_enumerate_identifiers
1165 Add g_volume_get_identifier and
1166 g_volume_enumerate_identifiers
1172 Implement identifiers for unix backend
1174 2008-01-24 Alexander Larsson <alexl@redhat.com>
1179 Add g_file_copy_async() (#511580)
1180 Based on patch from Carlos Garcia Campos
1182 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1184 * gioscheduler.c: Some documentation additions.
1186 2008-01-22 Alexander Larsson <alexl@redhat.com>
1188 * gdesktopappinfo.c:
1189 (g_desktop_app_info_new):
1190 Don't leak basename.
1192 2008-01-22 Alexander Larsson <alexl@redhat.com>
1194 * gdesktopappinfo.c:
1195 (g_desktop_app_info_new_from_filename):
1198 2008-01-22 Alexander Larsson <alexl@redhat.com>
1200 * glocalfileinfo.c (get_thumbnail_attributes):
1203 2008-01-22 Alexander Larsson <alexl@redhat.com>
1206 (canonicalize_filename):
1207 Canonicalize paths that start with more than
1211 (compare_two_files):
1212 (test_g_file_new_for_path):
1215 2008-01-22 Alexander Larsson <alexl@redhat.com>
1218 Allow UTF-8 in file:// parse names.
1220 * tests/Makefile.am:
1221 * tests/data-input-stream.c:
1222 * tests/data-output-stream.c:
1223 * tests/g-file-info.c:
1225 Added a bunch of tests from Tomas Bzatek
1227 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1229 * === Released 2.15.3 ===
1231 2008-01-21 Alexander Larsson <alexl@redhat.com>
1233 * gfileinputstream.[ch]:
1234 * gfileoutputstream.[ch]:
1236 Remove duplicated GSeekable functions. (#509990)
1237 Just use the g_seekable_xxx() calls instead.
1239 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1242 * gvolumemanager.c: Whitespace cleanups.
1244 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1245 Use the right mode when creating the file.
1247 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1249 * gfileenumerator.c:
1250 * gfileinputstream.c:
1252 * goutputstream.c: Documentation: Fixed minor typos
1253 and added more mentions of specific _finish() functions.
1255 2008-01-21 Alexander Larsson <alexl@redhat.com>
1257 * inotify/Makefile.am:
1258 * inotify/inotify-helper.c:
1259 * inotify/inotify-kernel.c:
1260 * inotify/inotify-path.c:
1261 * inotify/local_inotify.h: Removed.
1262 * inotify/local_inotify_syscalls.h: Removed.
1263 Removed the included copies of the inotify
1264 headers. We now only use the <sys/inotify.h>
1265 header which exists on modern systems.
1266 This fixes problems on ARM and SH5 (#510448)
1267 but is also generally much cleaner and future
1268 safe. For instance, if other OSes add support
1269 for inotify it should "just work".
1271 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1273 * inotify/*.c: Coding style fixes.
1274 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1275 for the 1/4 Hz timer.
1277 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1280 * gfilemonitor.[hc]:
1281 * gmemoryinputstream.c:
1282 * gmemoryoutputstream.c:
1283 * gmountoperation.c:
1284 * gthemedicon.c: Documentation updates
1286 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1288 * gfile.c: documentation: Fixed more minor
1291 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1293 * gmount.c: (g_mount_remount): documentation:
1294 Mention g_mount_remount_finish() instead of
1295 g_mount_unmount_finish().
1297 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1301 * gfile.c: Fixed some minor typos in the
1304 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1306 * gio/gvolumemonitor.c:
1307 (g_volume_monitor_get_connected_drives):
1308 (g_volume_monitor_get_volumes):
1309 (g_volume_monitor_get_mounts): Documentation:
1310 Clarify the ownership of the regurn GLists.
1312 2008-01-17 Alexander Larsson <alexl@redhat.com>
1315 Add the async find_enclosing_mount version
1316 to the header file too.
1318 2008-01-17 Alexander Larsson <alexl@redhat.com>
1321 Add async version of find_enclosing_mount
1322 with default implementation.
1324 2008-01-17 Alexander Larsson <alexl@redhat.com>
1329 Allow calls to implementation of copy and write
1330 even if the type of the file implementations is
1331 different. This can be used to implement native
1332 upload and download calls in a vfs.
1335 (g_local_file_move):
1336 Protect against the case where move is called
1337 with one file not being local.
1339 Make sure we call the progress callback once
1340 in the native move operation so that the caller
1341 knows how many bytes were copied.
1343 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1346 * gdatainputstream.c:
1348 * gfileoutputstream.c:
1353 * gunixmounts.c: Corrected some typos in the documentation:
1354 occured -> occurred.
1355 its -> it's (where appropriate).
1357 2008-01-16 Alexander Larsson <alexl@redhat.com>
1361 Add g_file_query_exists (#508771)
1363 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1368 * gvolume.c: For async functions that have no non-async
1369 version, document that the GAsyncReadyCallback may be NULL.
1372 2008-01-15 Alexander Larsson <alexl@redhat.com>
1374 * gmemoryinputstream.c:
1375 * gmemoryoutputstream.c:
1376 Don't do pointer arithmetic on void * (#508602)
1377 Patch from Kazuki IWAMOTO
1379 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1381 * === Released 2.15.2 ===
1383 2008-01-14 Alexander Larsson <alexl@redhat.com>
1385 * gfile.c (g_file_monitor_file):
1386 Don't set error here, since we fallback to polling monitor.
1388 2008-01-14 Alexander Larsson <alexl@redhat.com>
1391 (g_file_monitor_directory):
1392 (g_file_monitor_file):
1393 Add GError to file monitor calls
1395 * glocaldirectorymonitor.c:
1396 * glocaldirectorymonitor.h:
1398 * glocalfilemonitor.c:
1399 * glocalfilemonitor.h:
1401 Update for above change
1403 2008-01-14 Alexander Larsson <alexl@redhat.com>
1407 Handle root correctly in g_file_get_relative_path (#508719)
1409 2008-01-14 Alexander Larsson <alexl@redhat.com>
1412 Clean up docs and example for GAsyncResult (#508074)
1414 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1416 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1417 and correct some spelling mistakes. Bug #508108.
1419 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1421 * glocalfileinfo.c: Add a comment.
1423 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1425 * gfileinfo.c: GFileInfo description: Mention
1426 how to actually set attributes in a GFile and how to discover
1427 which attributes are settable. Bug #508378.
1429 2008-01-10 A. Walton <awalton@svn.gnome.org>
1431 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1432 (g_app_info_get_default_for_type):
1433 Check for NULL content types.
1435 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1437 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1439 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1441 * gfile.c: *_async() functions: Several small corrections
1442 to the documentation, mostly correcting copy/paste errors
1443 and improving some sentences.
1445 2008-01-09 Dan Winship <danw@gnome.org>
1447 * glocalfile.c (get_unique_filename): x86_64 fix
1449 2008-01-09 Alexander Larsson <alexl@redhat.com>
1454 Add g_unix_mount_guess_should_display and use
1455 for unix volume monitor backend.
1456 This means we more or less show what the
1457 gnome-vfs backend did.
1458 Based on patch from Padraig O'Briain
1460 2008-01-09 Alexander Larsson <alexl@redhat.com>
1464 Add g_themed_icon_new_with_default_fallbacks
1467 Use default fallbacks for icons
1469 2008-01-09 Alexander Larsson <alexl@redhat.com>
1472 * gmountoperation.[ch]:
1473 Change the API a bit so that unhandled methods
1474 get reported via the reply, rather than by
1475 the signal emission return value. This is because
1476 some handlers can't know this immediately without
1477 doing I/O, and this is an async operation that
1480 2008-01-09 Alexander Larsson <alexl@redhat.com>
1483 * fam/gfamdirectorymonitor.c:
1484 * fam/gfamfilemonitor.c:
1485 Fix double free crash (#508224)
1486 Patch from Joe Marcus Clarke
1488 008-01-07 Matthias Clasen <mclasen@redhat.com>
1490 * === Released 2.15.1 ===
1492 2008-01-07 Alexander Larsson <alexl@redhat.com>
1494 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1495 Fix warning (#507835)
1497 2008-01-07 Alexander Larsson <alexl@redhat.com>
1500 Pass --internal to glib-genmarshal
1503 * gmountoperation.c:
1505 Use better types for signal arguments (#507822)
1507 2008-01-07 Alexander Larsson <alexl@redhat.com>
1510 Build test subdir after .
1511 Remove gdirectorymonitor.[ch]
1513 * gdirectorymonitor.[ch]:
1517 Remove GDirectoryMonitor and make
1518 GFileMonitor the baseclass for both file and
1519 directory monitors. Lift the more generic
1520 rate limiting code from GDirectoryMonitor
1524 * fam/gfamdirectorymonitor.[ch]:
1525 * inotify/ginotifydirectorymonitor.[ch]:
1526 * inotify/inotify-helper.c:
1527 * glocaldirectorymonitor.[ch]:
1530 Update for the removed GDirectoryMonitor.
1532 * gmemoryoutputstream.c:
1533 Remove ununsed variable
1535 2008-01-07 Alexander Larsson <alexl@redhat.com>
1537 * gmemoryinputstream.c:
1538 Translate error strings
1541 * gmemoryoutputstream.[ch]:
1542 New implementation that avoids using GByteArray
1543 in implementation and API. (#506377)
1545 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1547 * tests/*: Add a test for memory input streams.
1549 * Makefile.am: Add tests to SUBDIRS.
1551 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1553 * glocalfilemonitor.c:
1554 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1557 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1559 * gdesktopappinfo.c: Fix a docs typo.
1561 * gfileattribute.c: Add information about extended attributes
1562 to the documentation. (#505058)
1564 2008-01-04 Alexander Larsson <alexl@redhat.com>
1567 * gmountoperation.c:
1568 Use the right type (uint) for the ask_password signal.
1570 2008-01-04 Alexander Larsson <alexl@redhat.com>
1575 Add g_app_info_supports_files()
1576 Remove desktop arg from g_app_info_should_show().
1578 * gdesktopappinfo.[ch]:
1579 Implement g_app_info_supports_files() and new should_show()
1580 Add g_desktop_app_info_set_desktop_env() to set the desktop
1581 for should_show(). (This will be set by gtk+ later)
1583 2008-01-04 Alexander Larsson <alexl@redhat.com>
1586 * gmemoryinputstream.[ch]:
1587 Improve API so that you can use multiple chunks
1588 of memory and custom destroy functions. (#506374)
1590 2008-01-03 Alexander Larsson <alexl@redhat.com>
1593 Handle NULL attribute matchers safely, as we return this
1594 for empty attribute matcher strings.
1596 2008-01-03 Alexander Larsson <alexl@redhat.com>
1598 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1599 Add /usr/local to list of internal mountpoints
1601 2008-01-03 Alexander Larsson <alexl@redhat.com>
1604 Check for HAVE_LCHOWN (#505887)
1606 2008-01-03 Alexander Larsson <alexl@redhat.com>
1610 Add define for selinux context attribute.
1611 Fix missing : -> :: namespace separator change
1612 Fix missing _ -> - name change for xattr-sys.
1615 2008-01-03 Alexander Larsson <alexl@redhat.com>
1618 Link to libglib and libgobject directly (#504879)
1619 Patch from Sebastien Bacher
1621 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1623 * gfile.c: Expanded the g_file_new_for_commandline_arg
1624 description a bit, based on the code and the docs of the
1625 other g_file_new_for_* functions.
1627 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1629 * gfilemonitor.h: Fixed typo in docs.
1631 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1633 Updates to GIO documentation. (#506395, Mikael Hermansson)
1635 * gcontenttype.c: Describe memory management for return value of
1636 g_content_types_get_registered(). Missing piece from #505815.
1637 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1638 GVolume, GDrive, GMounts, which hopefully gives the user less
1639 confusions when using this API. Following explainations from
1640 Alexander Larsson on gtk-devel-list.
1642 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1644 * gfileinfo.c: Expand the long description.
1646 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1649 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1650 fix builds with --disable-visibility. (#500273, Christian Persch)
1652 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1654 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1655 in the list of returned app infos.
1657 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1659 * gappinfo.c: Fix a cross-reference
1661 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1663 * gfileinputstream.c:
1664 * gfileoutputstream.c:
1668 * gdesktopappinfo.c:
1670 * gfileinfo.c: Documentation updates.
1672 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1674 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1677 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1679 * gcontenttype.c (g_content_types_get_registered): Don't return
1680 freed memory (#505815, Mikael Hermansson)
1682 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1684 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1685 used to detect statbuf->st_blocks. (#505042)
1687 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1689 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1690 environment handling. (#504829, Cosimo Cecchi)
1692 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1694 * gappinfo.c: Doc improvements
1696 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1699 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1701 * === Released 2.15.0 ===
1703 2007-12-20 Hans Breuer <hans@breuer.org>
1705 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1706 with symbols gwin32appinfo.obj, added gmount.obj
1707 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1709 2007-12-20 Alexander Larsson <alexl@redhat.com>
1715 * gfilenamecompleter.c:
1718 * gpollfilemonitor.c:
1719 File attribute renames:
1721 fs:: -> filesystem::
1722 id::fs -> id::filesystem
1724 2007-12-20 Alexander Larsson <alexl@redhat.com>
1733 Add GMountUnmountFlags to all unmount and
1735 Add g_mount_remount() call.
1737 2007-12-20 Alexander Larsson <alexl@redhat.com>
1739 * gvfs.c (get_default_vfs):
1740 Fix unused variable warning
1742 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1744 * pltcheck.sh: Update
1746 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1748 * gunionvolumemonitor.c:
1749 * gunixmount.c: Remove C99 comments
1751 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1753 * gio.symbols: Add some missing symbols
1755 2007-12-19 Alexander Larsson <alexl@redhat.com>
1758 Make g_io_modules_load_all_in_directory not unuse
1759 loaded modules so that users of it can do stuff
1761 Init internal "module" types.
1762 Initialize static prio and name for types so that
1763 we don't have to load modules to get it.
1765 * gnativevolumemonitor.h:
1767 Move is_supported to parent class so that
1768 non-native monitors can avoid being initialized
1769 too. (For instance GDaemonVolumeMonitor if we're
1770 not using GDaemonVfs.)
1772 * glocaldirectorymonitor.[ch]:
1773 * glocalfilemonitor.[ch]:
1774 * gunionvolumemonitor.c:
1775 * gunixvolumemonitor.c:
1777 Find plugins using the static prio+name to
1778 avoid unnecessarily loading the modules.
1780 2007-12-19 Alexander Larsson <alexl@redhat.com>
1785 2007-12-19 Alexander Larsson <alexl@redhat.com>
1787 * gunionvolumemonitor.c:
1788 Store the native type as GType, not class so that
1789 we can unload it. But still avoid unnecessarily
1792 2007-12-19 David Zeuthen <davidz@redhat.com>
1794 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1795 add signals 'disconnected' and 'eject-button' on GDrive. Add
1796 signal 'removed' on GVolume and 'unmounted' on GMount.
1798 * gdrive.c: (g_drive_base_init):
1800 * gfile.c: (g_file_mount_mountable),
1801 (g_file_mount_enclosing_volume):
1804 * gmount.c: (g_mount_base_init):
1806 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1807 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1808 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1812 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1814 * *.c: Fix up includes in the section docs.
1816 2007-12-17 Alexander Larsson <alexl@redhat.com>
1818 * gnativevolumemonitor.h:
1819 * gunionvolumemonitor.c:
1820 * gunixvolumemonitor.c:
1821 Add is_supported() to GNativeVolumeMonitorClass so
1822 that we can avoid having to create an object to see
1823 if the backend is supported at runtime.
1824 Also add name member and an env var to pick a specific
1825 volume monitor backend.
1829 Add cancellable to _g_mount_get_for_mount_path()
1831 * glocaldirectorymonitor.c:
1832 * glocalfilemonitor.c:
1833 Avoid loading and unloading modules while sorting.
1835 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1838 * gunixmounts.[hc]: Namespace waste reduction, move some
1839 g_get_unix_mount functions to the g_unix_mount namespace.
1842 * gunixvolumemonitor.c:
1844 * glocaldirectorymonitor.c: Update all callers.
1846 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1848 2007-12-17 Alexander Larsson <alexl@redhat.com>
1851 Add doc comments about what GFile operations are
1852 guaranteed to not block.
1854 2007-12-17 Alexander Larsson <alexl@redhat.com>
1857 Add missing #ifdef fixing OSX build.
1858 (#503334, patch from Richard Hult)
1860 2007-12-14 David Zeuthen <davidz@redhat.com>
1864 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1865 (g_mount_eject), (g_mount_eject_finish):
1867 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1868 (get_volume_for_uuid), (get_mount_for_uuid),
1869 (g_union_volume_monitor_class_init),
1870 (get_default_native_type_with_exclude), (get_default_native_type),
1871 (get_native_type), (update_native_type),
1872 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1873 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1874 (g_unix_mount_can_eject), (eject_unmount_cb),
1875 (eject_unmount_read_error), (eject_unmount_do),
1876 (g_unix_mount_unmount), (g_unix_mount_eject),
1877 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1878 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1879 (g_unix_mount_point_guess_can_eject):
1881 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1882 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1883 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1884 (g_unix_volume_mount), (g_unix_volume_eject),
1885 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1886 * gunixvolumemonitor.c: (get_volume_for_uuid),
1887 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1889 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1890 (g_volume_eject), (g_volume_eject_finish):
1892 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1893 (g_volume_monitor_get_mount_for_uuid):
1896 Provide eject() on both GMount and GVolume and utility functions
1897 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1898 ejected. Introduce the concept of UUID's and wire it into GVolume
1899 and GMount and provide API on GVolumeMonitor to find such
1900 instances. Also handle the case where an external
1901 GNativeVolumeMonitor fails to initialize. Lock around the
1902 _g_get_mount_for_mount_path() function such that volume monitor
1903 implementations won't have to do locking themselves.
1905 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1907 * gdesktopappinfo.c:
1913 * gvolume.h: Documentation updates
1915 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1918 * gfile.h: Doc updates
1920 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1923 * gdesktopappinfo.c: Use hash table iterators.
1925 2007-12-14 Alexander Larsson <alexl@redhat.com>
1928 * gfileattribute.[ch]:
1929 * gfileattribute-priv.h:
1930 Move GFileAttributeValue to a private header, as
1934 Make set_attribute take a type + a pointer instead
1935 of a GFileAttributeValue.
1938 Fix up for above changes.
1939 Add g_file_info_get_attribute_data to get
1940 all info in one call, g_file_info_get_attribute_status
1941 to get the status and g_file_info_get_attribute_as_string.
1945 * glocalfileinfo.[ch]:
1949 Make _guess_type static.
1951 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1954 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1955 made mkenums and friends use temporary files to avoid leaving
1956 empty generated files on failure (#503470).
1958 2007-12-14 Alexander Larsson <alexl@redhat.com>
1960 * gmountoperation.h:
1963 2007-12-14 Alexander Larsson <alexl@redhat.com>
1967 * gfileattribute.[ch]:
1970 * glocalfileoutputstream.c:
1971 * gmountoperation.[ch]:
1972 * goutputstream.[ch]:
1973 Clean up all flags enums to not have _FLAGS in them
1974 Make the names of some of the enums better.
1979 2007-12-14 Michael Natterer <mitch@imendio.com>
1981 * gio.symbols: fix g_io_scheduler symbol names.
1983 2007-12-14 Alexander Larsson <alexl@redhat.com>
1989 * gbufferedinputstream.h:
1990 * gbufferedoutputstream.h:
1993 * gdatainputstream.h:
1994 * gdataoutputstream.h:
1995 * gdesktopappinfo.h:
1996 * gdirectorymonitor.h:
2000 * gfileenumerator.h:
2003 * gfileinputstream.h:
2005 * gfilenamecompleter.h:
2006 * gfileoutputstream.h:
2007 * gfilterinputstream.h:
2008 * gfilteroutputstream.h:
2016 * gmemoryinputstream.h:
2017 * gmemoryoutputstream.h:
2019 * gmountoperation.h:
2022 * gsimpleasyncresult.h:
2024 * gunixinputstream.h:
2026 * gunixoutputstream.h:
2030 * inotify/Makefile.am:
2031 Only allow including <gio/gio.h> from apps
2033 2007-12-14 Alexander Larsson <alexl@redhat.com>
2035 * gioscheduler.[ch]:
2036 * gsimpleasyncresult.c:
2037 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2038 Split out the send_to_mainloop call into two versions instead
2039 of having the block argument.
2041 2007-12-13 Alexander Larsson <alexl@redhat.com>
2043 * gcancellable.[ch]:
2045 * gbufferedinputstream.c:
2046 * gfileenumerator.c:
2047 * gfileinputstream.c:
2048 * gfileoutputstream.c:
2052 g_push/pop_current_cancellable ->
2053 g_cancellable_push/pop_current
2055 2007-12-13 Alexander Larsson <alexl@redhat.com>
2059 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2061 2007-12-13 Alexander Larsson <alexl@redhat.com>
2063 * gmountoperation.h:
2064 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2066 2007-12-12 Alexander Larsson <alexl@redhat.com>
2069 Fix race condition when freeing proxy in
2070 g_io_job_send_to_mainloop().
2072 2007-12-12 Alexander Larsson <alexl@redhat.com>
2078 Make attribute namespace separator "::" instead of ":".
2079 Use - instead of _ as separator in attribute names.
2081 2007-12-12 Alexander Larsson <alexl@redhat.com>
2083 * gbufferedinputstream.h:
2084 * gbufferedoutputstream.h:
2085 * gdatainputstream.h:
2086 * gdataoutputstream.h:
2087 * gdirectorymonitor.h:
2088 * gfileenumerator.h:
2089 * gfileinputstream.h:
2091 * gfileoutputstream.h:
2092 * gfilterinputstream.h:
2093 * gfilteroutputstream.h:
2095 * glocalfileinputstream.h:
2096 * glocalfileoutputstream.h:
2097 * gmemoryinputstream.h:
2098 * gmemoryoutputstream.h:
2099 * gnativevolumemonitor.h:
2101 * gunixinputstream.h:
2102 * gunixoutputstream.h:
2105 s/parent/parent_instance/ in GObjects
2107 2007-12-12 Alexander Larsson <alexl@redhat.com>
2112 No need for padding for interfaces
2114 2007-12-12 Alexander Larsson <alexl@redhat.com>
2118 * gbufferedinputstream.c:
2119 * gbufferedoutputstream.c:
2122 * gdatainputstream.[ch]:
2123 * gdesktopappinfo.c:
2124 * gdirectorymonitor.c:
2126 * gfileattribute.[ch]:
2129 * gfileinputstream.h:
2130 * gfilemonitor.[ch]:
2131 * gfileoutputstream.[ch]:
2132 * gfilterinputstream.h:
2133 * gfilteroutputstream.h:
2136 * gloadableicon.[ch]:
2137 * gmemoryinputstream.c:
2138 * gmountoperation.c:
2140 Fix up a bunch of details in the docs.
2145 2007-12-11 David Zeuthen <davidz@redhat.com>
2147 Rework how volumes, drives and volume monitoring is
2148 done. Previosly the model was
2150 GDrive <1-1> GVolume
2152 where a GDrive instance represented a mount point and a GVolume
2153 instance represented a mounted file system. This patch changes it
2156 GDrive <1-N> GVolume <1-1> GMount
2158 where GMount now serves the purpose of the old GVolume and the new
2159 GVolume serves the purpose of the old GDrive. In addition the new
2160 GDrive interface is used to represent a collection of GVolume
2161 instances (typically partitions) and also contains utility to query
2162 the state of the physical drive the GDrive object represents (such
2163 as checking for media, polling the drive, ejecting the media etc.).
2165 Also implement mounting and unmounting in the Unix volume monitor
2166 backend. A subquent patch will introduce GDrive support for ejection
2170 * gdrive.c: (g_drive_is_media_check_automatic),
2171 (g_drive_is_media_removable), (g_drive_has_media),
2172 (g_drive_can_poll_for_media), (g_drive_eject),
2173 (g_drive_eject_finish), (g_drive_poll_for_media),
2174 (g_drive_poll_for_media_finish):
2176 * gfile.c: (g_file_find_enclosing_mount):
2179 * glocaldirectorymonitor.c:
2180 (g_local_directory_monitor_constructor), (mounts_changed):
2181 * glocalfile.c: (get_mount_info),
2182 (g_local_file_find_enclosing_mount),
2183 (g_local_file_file_iface_init):
2184 * gnativevolumemonitor.h:
2185 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2186 (get_connected_drives), (g_union_volume_monitor_class_init),
2187 (child_volume_added), (child_volume_removed),
2188 (child_volume_changed), (child_mount_added), (child_mount_removed),
2189 (child_mount_pre_unmount), (child_mount_changed),
2190 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2191 (g_union_volume_monitor_remove_monitor),
2192 (_g_mount_get_for_mount_path):
2193 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2194 (guess_system_internal), (_g_get_unix_mounts),
2195 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2196 (g_unix_mount_free), (g_unix_mount_compare),
2197 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2198 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2199 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2200 (type_to_icon), (g_unix_mount_guess_name),
2201 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2202 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2203 (_resolve_symlink), (_resolve_dev_root):
2205 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2206 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2207 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2208 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2209 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2210 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2211 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2212 (g_unix_volume_volume_iface_init):
2214 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2215 (get_mounts), (get_volumes), (get_connected_drives),
2216 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2217 (mountpoints_changed), (mounts_changed),
2218 (g_unix_volume_monitor_init),
2219 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2220 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2221 * gunixvolumemonitor.h:
2222 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2223 (g_volume_mount), (g_volume_mount_finish):
2225 * gvolumemonitor.c: (g_volume_monitor_class_init),
2226 (g_volume_monitor_get_connected_drives),
2227 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2230 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2232 * gmountoperation.h (GPasswordFlags): Close the gap
2234 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2236 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2238 * gdesktopappinfo.[hc]: Remove _-prefixes
2240 2007-12-10 Tor Lillqvist <tml@novell.com>
2242 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2245 2007-12-10 Alexander Larsson <alexl@redhat.com>
2247 * gfile.c (g_file_set_display_name):
2248 Don't hardcode '/' (#502727)
2250 2007-12-09 Hans Breuer <hans@breuer.org>
2252 * makefile.msc : follow lib naming convention
2253 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2254 for user and group name, tested with ../tests/gio-ls
2256 2007-12-09 A. Walton <awalton@svn.gnome.org>
2258 * gdesktopappinfo.c:
2264 * gfileenumerator.c:
2269 * gmemoryinputstream.c:
2270 * gmemoryoutputstream.c:
2272 * gsimpleasyncresult.c:
2273 More documentation cleanup and filling in missing information, bringing
2274 GIO to 99% symbol coverage.
2276 2007-12-08 Hans Breuer <hans@breuer.org>
2278 [gio compiles and links on win32, not sure how much already works]
2279 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2280 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2281 base on win32 API; prefer g_lstat() over lstat(); instead of
2282 localtime_r() use an all GLib implementation on win32;
2283 get_mount_info() still needs a win32 specifc implementation
2284 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2285 win32_get_file_user_info to get owner/group info without uid/gid
2286 * glocalfileinputstream.c : include <io.h> on win32
2287 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2288 definition, use g_win32_ftruncate() for G_OS_WIN32
2289 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2290 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2291 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2292 * makefile.msc : updated
2294 2007-12-07 Alexander Larsson <alexl@redhat.com>
2296 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2297 Avoid warning spew if error == NULL
2299 2007-12-07 Alexander Larsson <alexl@redhat.com>
2302 Update docs wrt etags
2304 2007-12-06 Alexander Larsson <alexl@redhat.com>
2307 Include sys/types.h for dev_t (#501919)
2309 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2313 Make abicheck and pltcheck pass.
2315 2007-12-05 Alexander Larsson <alexl@redhat.com>
2318 * giomodule-priv.h: Added.
2319 * glocaldirectorymonitor.c:
2320 * glocalfilemonitor.c:
2321 * gunionvolumemonitor.c:
2323 Actually add the declaration of _g_io_modules_ensure_loaded
2325 2007-12-05 Alexander Larsson <alexl@redhat.com>
2327 * gdatainputstream.c:
2332 * glocaldirectorymonitor.c:
2333 * glocalfilemonitor.c:
2334 * gunionvolumemonitor.c:
2336 Make g_io_modules_ensure_loaded a private function and
2337 don't pass in the dirname. This means we can do magic
2338 directory finding in the win32 version.
2339 Export the actual load-modules-in-directory code so that
2340 gvfs can reuse that.
2342 2007-12-05 Alexander Larsson <alexl@redhat.com>
2344 * gbufferedinputstream.c:
2345 * gbufferedoutputstream.c:
2348 * gfileenumerator.[ch]:
2349 * gfileinputstream.c:
2350 * gfileoutputstream.[ch]:
2351 * gfilterinputstream.c:
2352 * gfilteroutputstream.c:
2353 * ginputstream.[ch]:
2355 * glocalfileenumerator.c:
2356 * glocalfileinputstream.c:
2357 * glocalfileoutputstream.c:
2358 * gmemoryinputstream.c:
2359 * gmemoryoutputstream.c:
2360 * goutputstream.[ch]:
2363 * gunixinputstream.c:
2364 * gunixoutputstream.c:
2365 Rename all struct members named:
2366 read, write, close, truncate, or mount
2367 to foo_fn, as these are reserved names
2368 and could be defined as macros in libc.
2371 2007-12-04 Alexander Larsson <alexl@redhat.com>
2374 (g_output_stream_close):
2375 Only call flush if non-null.
2377 2007-11-30 Dan Winship <danw@gnome.org>
2379 * ginputstream.c (g_input_stream_set_pending): Make this take a
2380 GError and return a gboolean, and do the "outstanding operation"
2381 check (and the "stream is already closed" check) itself.
2382 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2384 * goutputstream.c (g_output_stream_set_pending)
2385 (g_output_stream_clear_pending): Likewise
2387 * gbufferedinputstream.c:
2388 * gfileinputstream.c:
2389 * gfileoutputstream.c: Update for that
2391 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2392 Like g_simple_async_report_error_in_idle, but takes a GError
2393 rather than building one.
2395 2007-11-30 Dan Winship <danw@gnome.org>
2397 * goutputstream.c: Don't cheat and unset the "pending" flag around
2398 inner calls. Instead, call the class method directly rather than
2399 the wrapper function that checks "pending"
2401 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2403 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2405 2007-12-03 Hans Breuer <hans@breuer.org>
2407 [start of port to win32/msvc]
2408 * gcancellable.c : HAVE_UNIST_H and _pipe()
2409 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2410 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2411 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2413 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2414 * glocalvfs.c : use HAVE_PWD_H
2415 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2416 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2417 * Makefile.am : added to EXTRA_DIST
2419 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2421 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2424 2007-12-03 Alexander Larsson <alexl@redhat.com>
2427 Handle OSX style xattrs API (#500506)
2429 2007-12-03 Alexander Larsson <alexl@redhat.com>
2433 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2435 2007-12-02 A. Walton <awalton@svn.gnome.org>
2439 Documentation accuracy fixes.
2441 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2443 * gioenumtypes.c.template: Fix typo.
2445 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2447 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2449 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2451 * gdirectorymonitor.c:
2452 * gfilemonitor.c: Add properties
2454 * gbufferedoutputstream.c: Don't mark buffer-size property
2457 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2459 * gbufferedoutputstream.c: Add auto-grow property.
2461 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2463 * *.c: Unify the capitalization of section headings.
2465 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2467 * gmountoperation.c: Add properties
2469 * gdatainputstream.c: Turn byte-order and newline-type into
2472 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2474 * gioenumtypes.[hc].template: Templates for enum registration
2476 * Makefile.am: Generate gioenumtypes.[hc]
2478 * gio.h: Include gioenumtypes.h
2480 * gfile.h: Add some explicit nicks.
2482 * gio.symbols: Add new symbols
2484 * pltcheck.sh: Adjust
2486 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2488 * *.c: Explain etags and link to the explanation
2490 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2492 * *.c: Explain I/O priority.
2494 * *.c: More coding style fixes.
2496 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2498 * gasyncresult.c: Add another paragraph to the intro,
2499 adjust coding style of example.
2501 2007-11-29 A. Walton <awalton@svn.gnome.org>
2504 Fixes unknown meaning in GAppLaunchContext docs.
2506 Clarify asynchronous ops.
2508 Fix entity tag docs.
2511 Provides missing gtk-doc section, fixes API docs slighly.
2512 * gsimpleasyncresult.c:
2513 Fill in missing info in docs.
2514 * gunixinputstream.c:
2515 * gunixoutputstream.c:
2516 Be more expressive in short description.
2518 Remove gtk-doc stubs for non-public API.
2520 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2522 * *.c: Coding style fixups
2524 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2526 * inotify/inotify-helper.c: Don't export the lock from libgio.
2528 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2531 * abicheck.sh: Fix copy-and-paste leftovers
2533 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2535 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2537 2007-11-28 Alexander Larsson <alexl@redhat.com>
2541 Removed unnecessary file
2543 * gdesktopappinfo.[ch]:
2546 * glocaldirectorymonitor.[ch]:
2548 * glocalfileenumerator.[ch]:
2549 * glocalfileinputstream.[ch]:
2550 * glocalfilemonitor.[ch]:
2551 * glocalfileoutputstream.[ch]:
2553 * gnativevolumemonitor.c:
2554 * gpollfilemonitor.[ch]:
2555 * gunionvolumemonitor.[ch]:
2558 * gunixvolumemonitor.[ch]:
2561 * inotify/ginotifydirectorymonitor.[ch]:
2562 * inotify/ginotifyfilemonitor.[ch]:
2563 * inotify/inotify-helper.c:
2564 Append _ to all internal functions
2568 Export symbols needed for modules
2570 2007-11-28 Alexander Larsson <alexl@redhat.com>
2573 * abicheck.sh: Added.
2574 * makegioalias.pl: Added.
2575 * pltcheck.sh: Added.
2576 * gio.symbols: Added.
2579 Initial work on adding symbol handling.
2582 Correct ifdef guard name
2585 * inotify/Makefile.am:
2586 * xdgmime/Makefile.am:
2587 Include toplevel Makefile.decl
2589 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2591 * gcontenttype.c: Move doc comments to the unix section.
2593 * *.[hc]: More trivial doc corrections.
2595 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2597 * gpollfilemonitor.c:
2601 * gdesktopappinfo.c:
2606 * gdatainputstream.c:
2607 * gdatainputstream.h:
2608 * gdataoutputstream.c:
2609 * gdataoutputstream.h:
2610 * gfileinfo.h: Doc cleanups
2612 2007-11-28 Andre Klapper <a9016009@gmx.de>
2614 * gdesktopappinfo.c: Fix a typo.
2616 2007-11-27 Andre Klapper <a9016009@gmx.de>
2618 * glocalfileoutputstream.c: Fix a typo.
2620 2007-11-27 Alexander Larsson <alexl@redhat.com>
2623 Don't include removed headers
2625 2007-11-27 Alexander Larsson <alexl@redhat.com>
2628 * gsocketinputstream.[ch]: Removed.
2629 * gsocketoutputstream.[ch]: Removed.
2630 * gunixinputstream.[ch]: Added.
2631 * gunixoutputstream.[ch]: Added.
2632 Renamed GSocket*Stream to GUnix*Stream and made
2633 it unix-only, since its not really only for sockets
2634 and it only works on unix (but is highly useful there).
2636 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2642 * gbufferedinputstream.c:
2643 * gbufferedinputstream.h:
2644 * gbufferedoutputstream.c:
2645 * gbufferedoutputstream.h:
2649 * gdatainputstream.c:
2650 * gdatainputstream.h:
2651 * gdataoutputstream.c:
2652 * gdataoutputstream.h:
2653 * gdirectorymonitor.c:
2654 * gdirectorymonitor.h:
2661 * gfileenumerator.c:
2662 * gfileenumerator.h:
2667 * gfileinputstream.c:
2668 * gfileinputstream.h:
2671 * gfilenamecompleter.c:
2672 * gfilenamecompleter.h:
2673 * gfileoutputstream.c:
2674 * gfileoutputstream.h:
2675 * gfilterinputstream.c:
2676 * gfilterinputstream.h:
2677 * gfilteroutputstream.c:
2678 * gfilteroutputstream.h:
2691 * glocalfileoutputstream.c:
2692 * gmemoryinputstream.c:
2693 * gmemoryinputstream.h:
2694 * gmemoryoutputstream.c:
2695 * gmemoryoutputstream.h:
2696 * gmountoperation.c:
2697 * gmountoperation.h:
2700 * gpollfilemonitor.c:
2703 * gsimpleasyncresult.c:
2704 * gsimpleasyncresult.h:
2705 * gsocketinputstream.c:
2706 * gsocketinputstream.h:
2707 * gsocketoutputstream.c:
2708 * gsocketoutputstream.h:
2715 * gunixvolumemonitor.c:
2724 Bumps documentation to 93% symbol coverage, touching most
2725 of the public files. Fixes broken function documentation prototypes.
2726 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2727 gtk-doc headers in private files.
2729 2007-11-27 Jürg Billeter <j@bitron.ch>
2731 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2732 (g_buffered_input_stream_read_byte):
2733 * gbufferedinputstream.h:
2734 New functions for efficient access to buffer and simple single byte
2737 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2738 (g_data_input_stream_read_until):
2739 * gdatainputstream.h:
2740 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2741 read_until with multiple stop chars.
2743 2007-11-27 Alexander Larsson <alexl@redhat.com>
2747 * inotify/Makefile.am:
2748 Use the user-specified giomoduledir
2750 2007-11-27 Alexander Larsson <alexl@redhat.com>
2754 Add catch-all gio.h header
2755 Don't install gdummyfile.h
2757 2007-11-26 Alexander Larsson <alexl@redhat.com>
2759 * Makefile.am (gioinclude_HEADERS):
2760 Remove trailing whitespace
2762 2007-11-26 Alexander Larsson <alexl@redhat.com>
2764 Merge gio-standalone into glib
2766 2007-11-25 Christian Kellner <gicmo@gnome.org>
2768 * gio/goutputstream.c:
2769 Fix small mistake in the docs.
2771 2007-11-21 Christian Persch <chpe@gnome.org>
2773 * gio/glocalfile.c: (g_local_file_trash):
2774 Convert filenames to UTF-8 for GError.
2775 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2776 as per xdg base dir spec.
2778 2007-11-21 Christian Persch <chpe@gnome.org>
2780 * gio/gdesktopappinfo.c:
2781 Use that g_key_file_to_data cannot fail.
2783 Use stock defines for the key file group and key names.
2786 2007-11-21 Alexander Larsson <alexl@redhat.com>
2789 (copy_stream_with_progress):
2790 Make sure we do a final progress callback with
2791 the full total size.
2793 2007-11-21 Alexander Larsson <alexl@redhat.com>
2796 Export g_file_copy_attributes
2797 Remove padding as its not needed for interfaces
2799 2007-11-20 Alexander Larsson <alexl@redhat.com>
2804 Add G_IO_ERROR_WOULD_MERGE for
2805 copy/move dir on dir with overwrite.
2807 2007-11-20 Alexander Larsson <alexl@redhat.com>
2810 * gio/glocalfileinfo.c:
2811 Add COPY_NAME (this is an optional
2812 non-modified utf8 version of the name) that
2815 2007-11-20 Alexander Larsson <alexl@redhat.com>
2817 * gio/glocalfileenumerator.c:
2818 Report errors as GIOError, not GFileError
2820 2007-11-16 Alexander Larsson <alexl@redhat.com>
2822 * gio/glocalfileoutputstream.c:
2823 * gio/gwin32appinfo.c:
2824 Fix typos in strings.
2825 Patch from Luca Ferretti <elle.uca@libero.it>
2827 2007-11-15 Alexander Larsson <alexl@redhat.com>
2830 Post release version bump
2832 === gio-standalone 0.1.2 ===
2834 2007-11-15 Alexander Larsson <alexl@redhat.com>
2836 * docs/reference/gio/Makefile.am:
2837 Fix up distcheck by removing weird
2843 2007-11-14 Alexander Larsson <alexl@redhat.com>
2845 * gio/gdesktopappinfo.c:
2846 * gio/glocaldirectorymonitor.c:
2848 * gio/glocalfileinfo.c:
2849 * gio/inotify/inotify-sub.c:
2850 * programs/gio-cat.c:
2851 * programs/gio-copy.c:
2852 * programs/gio-info.c:
2853 * programs/gio-ls.c:
2854 * programs/gio-monitor-dir.c:
2855 * programs/gio-monitor-file.c:
2856 * programs/gio-mount.c:
2857 * programs/gio-move.c:
2858 * programs/gio-rm.c:
2859 * programs/gio-save.c:
2860 * programs/gio-trash.c:
2861 Leak fixes from Kjartan Maraas
2863 2007-11-14 Alexander Larsson <alexl@redhat.com>
2865 * gio/fam/fam-helper.c:
2867 * gio/glocalfileinfo.c:
2871 * gio/inotify/inotify-diag.c:
2872 * gio/inotify/inotify-kernel.c:
2873 Various code cleanups from Kjartan Maraas
2875 2007-11-14 Alexander Larsson <alexl@redhat.com>
2877 * gio/gioscheduler.c:
2879 Set up threadpool so that we cache 2 unused
2880 idle threads for at 15 secs. This means we
2881 will reuse thread-local data (like dbus connections)
2884 2007-11-14 Alexander Larsson <alexl@redhat.com>
2886 * gio/fam/fam-helper.c:
2887 * gio/fam/gfamdirectorymonitor.c:
2888 * gio/fam/gfamfilemonitor.c:
2890 * gio/gcontenttype.c:
2891 * gio/gdatainputstream.c:
2892 * gio/gdataoutputstream.c:
2896 * gio/gfileattribute.h:
2897 * gio/gfileenumerator.c:
2899 * gio/ginputstream.c:
2902 * gio/glocalfileinfo.c:
2903 * gio/goutputstream.c:
2904 * gio/gpollfilemonitor.c:
2905 * gio/gsimpleasyncresult.c:
2906 * gio/gunixmounts.c:
2907 * gio/gunixmounts.h:
2908 * gio/inotify/ginotifydirectorymonitor.c:
2909 * gio/inotify/ginotifyfilemonitor.c:
2910 * gio/inotify/inotify-diag.c:
2911 * gio/inotify/inotify-kernel.c:
2912 * gio/inotify/inotify-path.c:
2914 * gio/test-streams.c:
2915 * programs/gio-info.c:
2916 * programs/gio-monitor-dir.c:
2917 * programs/gio-monitor-file.c:
2918 Various code cleanups from Kjartan Maraas
2920 2007-11-13 Alexander Larsson <alexl@redhat.com>
2923 Handle the uri-scheme calls for dummy files
2925 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2927 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2928 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2929 to avoid clash with the C++ keyword.
2931 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2933 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2934 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2936 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2938 * gio/glocaldirectorymonitor.c:
2939 * gio/glocalfilemonitor.c:
2940 * gio/gunionvolumemonitor.c:
2941 Don't use g_once_init_*() for initializations that could fail and
2942 could leave the initialization variable set to 0 but use GOnce.
2943 This prevents a deadlock on the second call when trying to create
2944 a monitor and no monitor type is available. Thanks to Sven Herzberg
2947 2007-11-11 Sven Herzberg <sven@imendio.com>
2949 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2950 #ifdef (make it work on MacOS X again)
2952 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2954 Fixes Changelog for last two commits (sorry guys).
2956 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2958 * gio/gbufferedinputstream.c:
2959 * gio/gdatainputstream.c:
2961 * gio/gfileoutputstream.c:
2962 * gio/gfilterinputstream.c:
2963 * gio/glocalfileinputstream.c:
2966 More consistency fixes in g*stream.c files.
2967 Significant clean of gfile's documentation, filling in of
2968 asynchronous operations documentation.
2970 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2972 * gio/gasyncresult.c:
2973 * gio/gbufferedinputstream.c:
2974 * gio/gbufferedoutputstream.c:
2975 * gio/gcancellable.c:
2976 * gio/gcontenttype.c:
2977 * gio/gdatainputstream.c:
2978 * gio/gdataoutputstream.c:
2979 * gio/gdesktopappinfo.c:
2982 * gio/gfileattribute.c:
2983 * gio/gio/gfileenumerator.c:
2985 * gio/gfileinputstream.c:
2986 * gio/gfilemonitor.c:
2987 * gio/gfileoutputstream.c:
2988 * gio/ginputstream.c:
2990 * gio/gioscheduler.c:
2991 * gio/gloadableicon.c:
2992 * gio/glocalfileoutputstream.c:
2993 * gio/gmemoryoutputstream.c:
2994 * gio/gmountoperation.c:
2995 * gio/goutputstream.c:
2997 * gio/gsimpleasyncresult.c:
2998 * gio/gunionvolumemonitor.c:
2999 * gio/gunixmounts.c:
3000 * gio/gunixvolume.c:
3004 * gio/gvolumemonitor.c:
3005 Updated documentation stubs, working towards consistency and
3008 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3010 * gio/gmemoryoutputstream.c:
3011 * gio/gmemoryoutputstream.h:
3012 Change g_memory_output_stream_set_free_on_close() to
3013 g_memory_output_stream_set_free_data() as this makes more sense and
3014 is more consistent with GMemoryInputStream.
3016 2007-11-07 Alexander Larsson <alexl@redhat.com>
3023 Change how we find the default vfs so that
3024 we can handle a gvfs failing to init
3026 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3028 * gio/gbufferedoutputstream.c:
3029 * gio/gdatainputstream.c:
3030 * gio/gdataoutputstream.c:
3031 * gio/gfileinputstream.c:
3032 * gio/gfileoutputstream.c:
3033 * gio/gfilterinputstream.c:
3034 * gio/gfilteroutputstream.c:
3035 * gio/ginputstream.c:
3036 * gio/gmemoryinputstream.c:
3037 * gio/gmemoryoutputstream.c:
3038 * gio/goutputstream.c:
3039 * gio/gsimpleasyncresult.c:
3040 * gio/gsocketinputstream.c:
3041 * gio/gsocketoutputstream.c:
3042 Add guards to the remaining public functions, add a TODO for
3043 an unimplemented function and remove some useless guards.
3045 2007-11-07 Alexander Larsson <alexl@redhat.com>
3048 Autoconf checks for the various types of
3049 getpwuid_r and getgrgid_r
3051 * gio/glocalfileinfo.c:
3052 Use the autoconf checks from above
3054 2007-11-07 Alexander Larsson <alexl@redhat.com>
3057 (g_local_file_query_filesystem_info):
3058 Some fixes for the statvfs case
3060 2007-11-07 Alexander Larsson <alexl@redhat.com>
3063 (g_local_file_query_filesystem_info):
3064 Pick the "best" of statfs / statvfs for the system
3065 if both are availible.
3067 2007-11-07 Alexander Larsson <alexl@redhat.com>
3069 Solaris fixes from Halton.Huo@Sun.COM:
3076 * gio/glocalfileinfo.c:
3077 Fix for solaris definition of getpwuid_r
3079 * gio/test-streams.c:
3080 Use G_GNUC_PRETTY_FUNCTION
3082 2007-11-07 Alexander Larsson <alexl@redhat.com>
3084 * gio/gdesktopappinfo.c:
3085 (update_default_list):
3086 Remove double semicolon.
3087 Patch from Jens Granseuer
3089 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3091 * docs/reference/gio/gio-sections.txt:
3092 * gio/gbufferedinputstream.c:
3093 * gio/gbufferedinputstream.h:
3094 * gio/gdatainputstream.c:
3095 * gio/gfileenumerator.c:
3096 * gio/gioscheduler.c:
3097 * gio/gunionvolumemonitor.c:
3099 * programs/gio-save.c:
3100 Fix typo: availible -> available. Unfortuntely this breaks API
3101 and ABI as g_buffered_input_stream_get_available() was renamed.
3103 * gio/gunixmounts.c:
3104 * gio/gbufferedinputstream.c:
3105 Add guards for public functions.
3107 2007-11-06 Ross Burton <ross@openedhand.com>
3109 * docs/reference/gio/Makefile.am:
3110 Fix invalid += usage which automake 1.10 doesn't like.
3112 2007-11-06 Alexander Larsson <alexl@redhat.com>
3115 (g_app_launch_context_class_init):
3118 Patch from Ross Burton
3120 2007-11-06 Alexander Larsson <alexl@redhat.com>
3123 Post release version bump
3125 === gio-standalone 0.1.1 ===
3127 2007-11-06 Alexander Larsson <alexl@redhat.com>
3130 Bump version to 0.1.1
3132 * gio/gsimpleasyncresult.c:
3133 (g_simple_async_result_set_from_error):
3134 Remove bogus g_return_if_fail
3136 2007-11-06 Alexander Larsson <alexl@redhat.com>
3139 The name is gio-standalone
3142 Add top src/builddir to includedir
3144 2007-11-06 Alexander Larsson <alexl@redhat.com>
3146 * docs/reference/gio/gio-sections.txt:
3148 * gio/gbufferedinputstream.c:
3149 * gio/gbufferedoutputstream.c:
3150 * gio/gcancellable.c:
3151 * gio/gdatainputstream.h:
3152 * gio/gdataoutputstream.c:
3153 * gio/gdataoutputstream.h:
3154 * gio/gdirectorymonitor.c:
3156 * gio/gfileattribute.c:
3157 * gio/gfileattribute.h:
3158 * gio/gfileenumerator.c:
3159 * gio/gfileenumerator.h:
3162 * gio/gfileinputstream.h:
3163 * gio/gfilemonitor.c:
3164 * gio/gfileoutputstream.h:
3165 * gio/glocalfilemonitor.h:
3166 * gio/glocalfileoutputstream.h:
3167 * gio/gmemoryinputstream.c:
3168 * gio/gmemoryoutputstream.c:
3169 * gio/gmountoperation.c:
3170 * gio/goutputstream.c:
3171 * gio/goutputstream.h:
3173 * gio/gsimpleasyncresult.c:
3174 * gio/gunixmounts.c:
3175 * gio/gunixmounts.h:
3177 * gio/inotify/inotify-helper.c:
3178 Fix gtk-doc warnings
3180 Patch from Ross Burton
3182 2007-11-06 Alexander Larsson <alexl@redhat.com>
3184 * gio/gfilenamecompleter.c:
3185 (g_filename_completer_get_completions):
3188 * gio/gunixvolume.c:
3189 Remove unused function
3191 Patches from Ross Burton
3193 2007-11-06 Alexander Larsson <alexl@redhat.com>
3198 Padding not needed for interfaces
3200 2007-11-06 Alexander Larsson <alexl@redhat.com>
3202 * gio/gfilemonitor.c:
3206 Make giotypes.h an internal file
3209 * gio/gbufferedinputstream.h:
3210 * gio/gbufferedoutputstream.h:
3211 * gio/gcancellable.h:
3212 * gio/gdatainputstream.h:
3213 * gio/gdataoutputstream.h:
3214 * gio/gdirectorymonitor.c:
3215 * gio/gdirectorymonitor.h:
3220 * gio/gfileattribute.h:
3221 * gio/gfileenumerator.h:
3226 * gio/gfilemonitor.c:
3227 * gio/gfilemonitor.h:
3228 * gio/gfilenamecompleter.c:
3229 * gio/gfilenamecompleter.h:
3230 * gio/gfilterinputstream.h:
3231 * gio/gfilteroutputstream.h:
3232 * gio/ginputstream.h:
3233 * gio/gmemoryinputstream.h:
3234 * gio/gmemoryoutputstream.h:
3235 * gio/gmountoperation.c:
3236 * gio/gmountoperation.h:
3237 * gio/gnativevolumemonitor.c:
3238 * gio/goutputstream.h:
3241 * gio/gsimpleasyncresult.c:
3242 * gio/gsimpleasyncresult.h:
3243 * gio/gsocketinputstream.h:
3244 * gio/gsocketoutputstream.h:
3245 * gio/gthemedicon.c:
3246 * gio/gthemedicon.h:
3250 * gio/gvolumemonitor.c:
3251 * gio/gvolumemonitor.h:
3252 Add padding in classes where it seems useful
3253 Don't include giotypes.h from public headers
3254 Move in Class definitions into c file where possible
3259 2007-11-06 Alexander Larsson <alexl@redhat.com>
3261 * docs/reference/gio/gio-docs.xml:
3262 Better structure for API docs
3264 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3267 * gio/gloadableicon.c:
3268 * gio/gsimpleasyncresult.c:
3269 * gio/gthemedicon.c:
3270 Add some more guards to public functions. Only files missing are now
3273 2007-11-06 Alexander Larsson <alexl@redhat.com>
3275 * docs/reference/gio/gio-docs.xml:
3276 Remove old files, add missing ones
3278 2007-11-06 Alexander Larsson <alexl@redhat.com>
3280 * docs/reference/gio/gio-sections.txt:
3283 Hide implementation classes
3285 * gio/gdriveprivate.h:
3286 * gio/gvolumeprivate.h:
3287 Remove non-existing function declarations
3289 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3292 Fix compilation warnings and add guards to the new functions.
3294 * gio/gasyncresult.c:
3296 Add guards to the public functions.
3299 Implement get_path().
3301 2007-11-06 Alexander Larsson <alexl@redhat.com>
3303 * gio/gfilenamecompleter.c:
3304 Make g_filename_completer_get_completions
3305 return char ** instead of GList for
3308 * docs/reference/gio/gio-docs.xml:
3309 * docs/reference/gio/gio-sections.txt:
3311 * gio/gasyncresult.c:
3312 * gio/gbufferedinputstream.c:
3313 * gio/gbufferedoutputstream.c:
3314 * gio/gcancellable.c:
3315 * gio/gcontenttype.c:
3316 * gio/gdatainputstream.c:
3317 * gio/gdataoutputstream.c:
3318 * gio/gdesktopappinfo.c:
3319 * gio/gdirectorymonitor.c:
3323 * gio/gfileattribute.c:
3324 * gio/gfileenumerator.c:
3327 * gio/gfileinputstream.c:
3328 * gio/gfilemonitor.c:
3329 * gio/gfilenamecompleter.c:
3330 * gio/gfilenamecompleter.h:
3331 * gio/gfileoutputstream.c:
3332 * gio/gfilterinputstream.c:
3334 * gio/ginputstream.c:
3336 * gio/gioscheduler.c:
3337 * gio/gloadableicon.c:
3338 * gio/glocaldirectorymonitor.c:
3340 * gio/glocalfileinputstream.c:
3341 * gio/glocalfilemonitor.c:
3342 * gio/glocalfileoutputstream.c:
3344 * gio/gmemoryinputstream.c:
3345 * gio/gmemoryoutputstream.c:
3346 * gio/gmountoperation.c:
3347 * gio/goutputstream.c:
3348 * gio/gpollfilemonitor.c:
3350 * gio/gsimpleasyncresult.c:
3351 * gio/gsocketinputstream.c:
3352 * gio/gsocketoutputstream.c:
3353 * gio/gthemedicon.c:
3354 * gio/gunionvolumemonitor.c:
3356 * gio/gunixmounts.c:
3357 * gio/gunixvolume.c:
3358 * gio/gunixvolumemonitor.c:
3362 * gio/gvolumemonitor.c:
3363 * gio/gwin32appinfo.c:
3364 Add (mostly stub) doc strings to public functions.
3365 Patch from Andrew Walton (awalton@gmail.com)
3367 2007-11-06 Alexander Larsson <alexl@redhat.com>
3369 * gio/gappinfo.[ch]:
3370 Added GAppLaunchContext object and pass that to launch.
3371 This allows simple implementation of both
3372 launch-on-screen and startup notification via a gtk+
3373 subclass of GAppLaunchContext
3375 * gio/gdesktopappinfo.c:
3376 Implement GAppLaunchContext API
3378 * gio/gwin32appinfo.c:
3381 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3383 * gio/gmountoperation.c:
3384 Add some guards to GMountOperation's public functions.
3386 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3390 * gio/gcancellable.c:
3391 * gio/gdirectorymonitor.c:
3393 * gio/gfileenumerator.c:
3394 * gio/gfilemonitor.c:,
3395 * gio/gfilenamecompleter.c:
3398 * gio/gioscheduler.c:
3402 * gio/gvolumemonitor.c:
3403 Add even more guards to various public functions.
3405 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3408 Add guards to the public functions of GAppInfo.
3410 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3412 * gio/gcontenttype.c:
3413 Add some more guards for public functions.
3415 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3417 * gio/fam/fam-module.c:
3418 * gio/fam/gfamdirectorymonitor.c:
3419 * gio/fam/gfamdirectorymonitor.h:
3420 * gio/fam/gfamfilemonitor.c:
3421 * gio/fam/gfamfilemonitor.h:
3422 * gio/inotify/ginotifydirectorymonitor.c:
3423 * gio/inotify/ginotifydirectorymonitor.h:
3424 * gio/inotify/ginotifyfilemonitor.c:
3425 * gio/inotify/ginotifyfilemonitor.h:
3426 Add proper copyright information and remove an unused variable
3427 in the GInotifyFileMonitor constructor.
3429 * gio/gcancellable.c:
3430 Add a guard for a public function and an assertion to prevent
3431 an undefined program state.
3433 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3435 * gio/gfileattribute.c:
3436 Don't run into an assertion if the given attribute value is NULL
3437 in g_file_attribute_value_get_*() but instead return a fallback
3438 value that makes sense in most situations. Passing them a attribute
3439 value with the wrong type will still run into an assertion.
3441 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3443 * gio/gfileattribute.c:
3445 Add even more guards to the public functions. Also fix the refcounting
3446 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3447 let g_file_info_list_attributes() filter the attributes by namespace
3448 instead of simply ignoring the namespace parameter.
3450 2007-11-03 Sven Herzberg <sven@imendio.com>
3452 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3453 (This makes gio work on MacOS X again)
3455 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3458 Build the gio subdirectory before the docs. Otherwise the build will
3461 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3462 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3463 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3464 Add guards to the public functions.
3466 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3468 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3469 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3470 to prevent a compiler warning.
3472 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3473 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3474 return something in the non-void function find_topdir_for().
3476 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3483 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3485 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3486 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3487 * gwin32appinfo.c (g_win32_app_info_launch):
3488 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3489 envp_for_startup_id, g_desktop_app_info_launch,
3490 g_desktop_app_info_launch_uris):
3492 Give an opaque 'startup_id' string instead of 'envp'.
3493 Support empty file lists for launching new windows.
3494 Fix infinite recursion bug when launching URIs.
3496 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3499 Add guard to the new g_file_get_uri_scheme() function.
3501 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3504 Convert a g_return_val_if_fail() to setting the GError instead as
3505 otherwise applications have to verify the parameter before otherwise
3506 and the parameter might come directly from the user.
3508 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3510 * gio/inotify/ginotify*.[ch]:
3511 Add missing copyright information.
3513 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3516 Add guards in the beginning of public functions to check for valid
3517 parameters and fix a bug in copy_stream_with_progress() that could've
3518 caused writing less bytes than reading.
3519 * gio/glocalfileinfo.c:
3520 Check for a NULL parameter and set the GError accordingly then.
3521 * gio/goutputstream.c:
3522 Fix the same bug as in gfile.c that could've caused writing less bytes
3523 than reading in g_output_stream_real_splice().
3525 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3528 Use the correct gvolumeprivate.h naming
3530 2007-11-01 Christian Kellner <gicmo@gnome.org>
3533 Remove leftover "$(daemon_sources)" entry.
3535 2007-11-01 Christian Kellner <gicmo@gnome.org>
3540 Add copyright information to source files.
3542 2007-11-01 Alexander Larsson <alexl@redhat.com>
3546 Add g_file_get_uri_scheme
3548 2007-11-01 Alexander Larsson <alexl@redhat.com>
3551 * gio/gdesktopappinfo.c:
3552 * gio/gwin32appinfo.c:
3553 Add g_app_info_get_default_for_uri_scheme.
3555 2007-11-01 Alexander Larsson <alexl@redhat.com>
3558 Correct filename for gdriveprivate.h
3560 2007-10-31 Alexander Larsson <alexl@redhat.com>
3563 Rename id:value to id:file
3566 * gio/glocalfileinfo.c:
3569 2007-10-31 Alexander Larsson <alexl@redhat.com>
3571 * gio/gunixvolume.c:
3573 Remove g_volume_get_platform_id, as thats not
3574 needed with the simpler union volume monitor
3576 2007-10-31 Alexander Larsson <alexl@redhat.com>
3579 * gio/guniondrive.[ch]: Removed.
3580 * gio/gunionvolume.[ch]: Removed.
3581 Remove GUnionDrive/Volume
3583 * gio/gunionvolumemonitor.c:
3584 Simplify union volume monitor, now we
3585 only have one native volume monitor and
3586 we use the actual volumes/drives from the
3587 child monitors instead of wrapping them
3589 * gio/gnativevolumemonitor.[ch]:
3590 Base class for native volume monitors.
3591 Includes priority and get_volume_for_mountpoint
3594 Add g_file_find_enclosing_volume
3597 Remove volume name fs attribute
3598 Add readonly fs attribute
3601 Implement readonly attribute
3602 remove volume name attribute
3603 Implement find_enclosing volume
3605 * gio/gunixmounts.c:
3606 Add a volume for "/".
3608 * gio/gunixvolume.[ch]:
3609 Set better name for /
3611 * gio/gunixvolumemonitor.[ch]:
3612 Derive from GNativeVolumeMonitor
3613 Implement get_volume_for_mountpoint
3616 GVolume typedef moved to gfile.h
3618 * gio/gvolumeprivate.h:
3619 Add g_volume_get_for_mount_path
3621 2007-10-31 Alexander Larsson <alexl@redhat.com>
3623 * gio/gunixmounts.[ch]:
3624 Add cache info to unix mount listers
3625 Make getmntent use threadsafe
3626 Add is_system_internal attribute for GUnixMount
3628 * gio/gunixvolume.c:
3629 (g_unix_volume_new):
3630 Use is_system_internal instead of own code
3632 * gio/glocaldirectorymonitor.c:
3633 * gio/gunixvolumemonitor.c:
3634 Update to new gunixmounts API
3639 2007-10-30 Alexander Larsson <alexl@redhat.com>
3642 Add volume name fsinfo attribute
3645 Read volume name info
3647 * gio/gunionvolumemonitor.c:
3648 Fix infinite loops when finalizing a union volume monitor
3650 2007-10-30 Alexander Larsson <alexl@redhat.com>
3652 * gio/goutputstream.[ch]:
3653 Add splice() with default implementation
3655 * gio/gsocketoutputstream.c:
3656 (g_socket_output_stream_write):
3657 Return error on cancellation correctly.
3659 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3661 * gio/glocalfile.c (g_local_file_trash):
3662 Do not leak a string.
3664 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3666 * gio/gfile.c (g_file_load_contents):
3667 Unref the stream after closing it.
3669 2007-10-25 Alexander Larsson <alexl@redhat.com>
3671 * gio/gioscheduler.h:
3674 2007-10-25 Alexander Larsson <alexl@redhat.com>
3678 Add g_file_has_uri_scheme and implement for local files
3680 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3682 * gio/gdesktopappinfo.c: do not leak a string.
3684 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3686 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3687 (g_local_directory_monitor_new):
3688 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3689 (g_local_file_monitor_new):
3690 Only look for the monitor type that should be used the first time
3691 and use g_qsort_with_data() instead of our own bubble sort
3694 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3697 * gio/fam/Makefile.am:
3698 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3699 * gio/fam/fam-helper.h:
3700 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3701 * gio/fam/gfamdirectorymonitor.c:
3702 * gio/fam/gfamdirectorymonitor.h:
3703 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3704 * gio/fam/gfamfilemonitor.h:
3705 * gio/glocaldirectorymonitor.c:
3706 * gio/glocaldirectorymonitor.h:
3707 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3708 * gio/glocalfilemonitor.h:
3709 * gio/inotify/Makefile.am:
3710 * gio/inotify/ginotifydirectorymonitor.c:
3711 * gio/inotify/ginotifydirectorymonitor.h:
3712 * gio/inotify/ginotifyfilemonitor.c:
3713 * gio/inotify/ginotifyfilemonitor.h:
3714 Implement the FAM and Inotify monitors as
3715 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3716 their own GIO module. GLocal(Directory|File)Monitor will use the
3717 monitor with the highest rank that is supported on that machine.
3719 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3722 Change GIO module dir to $(libdir)/gio/modules and change
3723 the log domain from GVFS to GIO. Also only export symbols starting
3724 with g_ in the resulting library.
3725 * gio/test-streams.c: (main):
3726 Set log handler for the GIO log domain.
3728 2007-10-22 Alexander Larsson <alexl@redhat.com>
3730 * gio/gfilenamecompleter.[ch]:
3731 Add g_filename_completer_set_dirs_only
3733 2007-10-22 Alexander Larsson <alexl@redhat.com>
3736 * gio/gurifuncs.[ch]:
3737 Add some simple URI helpers
3739 * gio/gfilenamecompleter.[ch]:
3740 Added object for filename (parse name actually) completion
3743 Handle ~ in parse names
3745 2007-10-17 Alexander Larsson <alexl@redhat.com>
3748 * gio/glocalfileinfo.c:
3749 Add and implement id:value attribute
3751 2007-10-17 Alexander Larsson <alexl@redhat.com>
3754 * gio/guniondrive.c:
3756 Add and implement g_drive_has_volumes
3758 2007-10-17 Alexander Larsson <alexl@redhat.com>
3761 * gio/glocalfileinfo.[ch]:
3762 Add unix:is_mountpoint and implement for local files
3764 2007-10-16 Alexander Larsson <alexl@redhat.com>
3766 * gio/gunionvolumemonitor.c:
3767 (g_union_volume_monitor_init):
3768 Fix up the unix type getting so that it works with gcc
3770 2007-10-12 Alexander Larsson <alexl@redhat.com>
3773 * gio/glocalfileinfo.c:
3774 Add thumbnail:failed to file info
3776 2007-10-12 Richard Hult <richard@imendio.com>
3778 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3779 optimizing away the get_type call (happens with some gcc versions,
3780 like the one shipped with OS X 10.4).
3782 2007-10-12 Alexander Larsson <alexl@redhat.com>
3784 * gio/glocalfileinfo.c:
3785 (_g_local_file_info_set_attribute):
3786 Fix build if not HAVE_XATTR
3787 Patch from Milosz Derezynski <internalerror@gmail.com>
3789 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3791 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3792 around for review, otherwise I would have asked you before
3795 2007-10-11 Alexander Larsson <alexl@redhat.com>
3798 Add thumbnail:path attribute
3800 * gio/glocalfileinfo.c:
3801 Implement thumbnail:path for local files
3803 2007-10-11 Alexander Larsson <alexl@redhat.com>
3805 * gio/glocalfileinfo.c:
3806 (_g_local_file_info_get):
3807 Avoid duplicate icon names
3809 2007-10-11 Alexander Larsson <alexl@redhat.com>
3811 * gio/gthemedicon.[ch]:
3812 Change g_themed_icon_get_names return type to const
3814 2007-10-10 Alexander Larsson <alexl@redhat.com>
3816 * gio/glocalfileinfo.c:
3817 Don't reference freed memory
3819 2007-10-10 Alexander Larsson <alexl@redhat.com>
3821 * gio/gfileattribute.c:
3824 * gio/glocalfileinfo.c:
3827 2007-10-10 Alexander Larsson <alexl@redhat.com>
3830 Check for NULL icons
3832 * gio/gfileattribute.c:
3833 Don't dup when getting objects (same as for string attributes)
3835 * gio/gicon.c (g_icon_equal):
3836 Safely handle NULLs in equal
3838 2007-10-10 Alexander Larsson <alexl@redhat.com>
3841 Fix c++ compilation issues
3842 Patch from Milosz Derezynski <internalerror@gmail.com>
3844 2007-10-10 Alexander Larsson <alexl@redhat.com>
3846 * programs/gio-monitor-dir.c:
3847 Don't crash if dir monitor not supported.
3849 2007-10-09 Alexander Larsson <alexl@redhat.com>
3852 Add missing G_END_DECLS
3854 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3856 * gio/gfile.c: (g_file_set_display_name),
3857 (g_file_query_settable_attributes),
3858 (g_file_query_writable_namespaces):
3859 Return NULL not FALSE on errors as the return type is a pointer.
3861 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3863 * gio/glocalfile.c: (g_local_file_monitor_file):
3864 Don't call monitor_file on the default interface vtable (which
3865 is NULL) but simply return NULL. The caller, GFile, will create a
3866 polling monitor if NULL is returned.
3868 2007-10-09 Alexander Larsson <alexl@redhat.com>
3872 * gio-unix-2.0.pc.in:
3873 Add gio-unix-2.0.pc if OS_UNIX
3876 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3878 2007-10-09 Alexander Larsson <alexl@redhat.com>
3880 * gio/gunixmounts.[ch]:
3881 Make unix mount monitoring API sane.
3882 Now its just a object with mounts_changed
3883 and mountpoints_changed signals.
3885 * gio/glocaldirectorymonitor.c:
3886 * gio/gunixvolumemonitor.c:
3887 Use new mount monitor api
3889 2007-10-09 Alexander Larsson <alexl@redhat.com>
3891 * gio/gunixmounts.[ch]:
3892 Move guess type into one call for mounts and one for mountpoints
3895 * gio/gunixvolume.c:
3898 2007-10-09 Alexander Larsson <alexl@redhat.com>
3900 * gio/gunixmounts.[ch]:
3901 Remove _ prefix in preparation to make this semi-public
3902 Hide implementation of structs
3904 * gio/glocaldirectorymonitor.c:
3906 * gio/gunixvolume.c:
3907 * gio/gunixvolumemonitor.c:
3908 Update for above API changes
3910 2007-10-08 Alexander Larsson <alexl@redhat.com>
3913 Better polling fallback. This also handles the case where we have
3914 a monitor_file implementation, but it fails.
3916 2007-10-08 Alexander Larsson <alexl@redhat.com>
3920 * gio/gunixmounts.c:
3921 * programs/gio-monitor-dir.c:
3922 * programs/gio-monitor-file.c:
3923 Added cancellable to file monitoring calls.
3924 These are really sync calls and need this.
3926 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3928 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3929 (g_local_vfs_class_init):
3930 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3931 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3933 2007-10-05 Alexander Larsson <alexl@redhat.com>
3935 * gio/gdirectorymonitorprivate.h:
3936 * gio/gfilemonitorprivate.h:
3937 * gio/gdirectorymonitor.h:
3938 * gio/gfilemonitor.h:
3939 Remove *private.h and move to the public API, so that
3940 we can do implementations outside gio (such as in gvfs)
3942 * gio/gdirectorymonitor.c:
3943 * gio/gfilemonitor.c:
3944 * gio/glocaldirectorymonitor.c:
3945 * gio/gpollfilemonitor.c:
3946 * gio/inotify/inotify-helper.c:
3947 * gio/fam/fam-helper.c:
3948 Update to the new header names
3950 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3952 * gio/gdirectorymonitor.c:
3953 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3956 2007-10-04 Alexander Larsson <alexl@redhat.com>
3958 * gio/glocalfileinfo.c (get_access_rights):
3959 Set CAN_TRASH when we can move the file.
3960 We should really also check for a parent trash dir.
3962 2007-10-04 Alexander Larsson <alexl@redhat.com>
3964 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3965 Add can_trash access attribute
3967 2007-10-04 Alexander Larsson <alexl@redhat.com>
3970 (g_local_file_trash):
3971 Create info file first. This is per-spec and allows
3972 us to actually trash directories.
3974 2007-10-02 Alexander Larsson <alexl@redhat.com>
3976 * gio/gdesktopappinfo.c:
3977 Implement the new mime support code.
3978 Always set app as handling mimetype when being set as default for it
3980 2007-10-01 Alexander Larsson <alexl@redhat.com>
3982 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
3983 Fix up check for xattrs:
3985 2007-10-01 Alexander Larsson <alexl@redhat.com>
3988 (g_app_info_set_as_default_for_extension):
3989 (g_app_info_add_supports_type):
3990 (g_app_info_can_remove_supports_type):
3991 (g_app_info_remove_supports_type):
3992 Make these fail nicely if not implemented
3994 2007-10-01 Paolo Borelli <pborelli@katamail.com>
3996 * gio/glocalfileoutputstream.c:
3997 * gio/glocalfileoutputstream.h:
4002 * programs/gio-save.c:
4003 Add a GFileCreateFlags argument to operations that can create
4006 2007-10-01 Alexander Larsson <alexl@redhat.com>
4008 * gio/gappinfo.[ch]:
4009 * gio/gdesktopappinfo.c:
4010 Add more (stubbed out) mime API needed for nautilus
4012 2007-10-01 Alexander Larsson <alexl@redhat.com>
4015 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4016 Add g_app_info_set_as_default_for_extension.
4018 * gio/gdesktopappinfo.c:
4019 Dummy for g_app_info_set_as_default_for_extension
4020 Support flags in g_app_info_create_from_commandline
4022 * gio/gwin32appinfo.c:
4024 Update for API changes
4026 * gio/gthemedicon.c:
4027 Properly NULL-terminate list of icon names
4029 2007-09-28 Alexander Larsson <alexl@redhat.com>
4031 * gio/gloadableicon.h:
4032 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4034 2007-09-28 Alexander Larsson <alexl@redhat.com>
4037 Install headers in $includedir/gio-standalone/
4039 * gio-2.0.pc.in: Added.
4040 * gio-standalone.pc.in: Removed.
4043 Renamed pkg-config file to match glib (for future move)
4044 Update to the new include dir
4047 Add more TODO comments
4049 2007-09-28 Alexander Larsson <alexl@redhat.com>
4051 * gio/gdesktopappinfo.[ch]:
4052 Expose new_from_filename
4053 Add getter for is_hidden and handle it better
4055 2007-09-28 Alexander Larsson <alexl@redhat.com>
4057 * gio/gfileinfo.[ch]:
4058 Rename g_file_size_format_for_display to
4059 g_format_file_size_for_display.
4060 Now it doesn't have the g_file prefix, so we
4061 can later move it to glib.
4063 2007-09-28 Alexander Larsson <alexl@redhat.com>
4065 * gio/gappinfo.[ch]:
4066 Add g_app_info_get_id and g_app_info_get_executable.
4067 Make all getters non-reffing
4068 Make g_app_info_launch take GFile arguments.
4069 Add must_support_uris argument to g_app_info_get_default_for_type.
4071 * gio/gwin32appinfo.c:
4072 Update to GAppInfo api changes
4074 * gio/gdesktopappinfo.c:
4075 Update to GAppInfo api changes
4076 Implement supports_xdg_startup_notify
4078 * gio/gfileicon.c (g_file_icon_get_file):
4079 Make getter non-reffing.
4084 2007-09-27 Alexander Larsson <alexl@redhat.com>
4086 * gio/gfileinfo.[ch]:
4087 Add g_file_size_format_for_display helper
4089 2007-09-27 Alexander Larsson <alexl@redhat.com>
4091 * gio/glocalfileinfo.c:
4092 Set UNIX_GID from gid, not from uid
4094 2007-09-27 Alexander Larsson <alexl@redhat.com>
4097 Add g_file_set_attributes_async
4099 2007-09-27 Alexander Larsson <alexl@redhat.com>
4101 * gio/glocalfile.c (g_local_file_set_display_name):
4102 Fix set_display_name to actually rename to the right place.
4103 Use lstat to look for existing files so we don't overwrite
4106 2007-09-26 Alexander Larsson <alexl@redhat.com>
4109 Add g_file_set_display_name_async()
4111 2007-09-26 Alexander Larsson <alexl@redhat.com>
4114 Add load_partial_contents async calls
4117 Make internal function static
4119 2007-09-26 Alexander Larsson <alexl@redhat.com>
4121 * gio/glocalfileinfo.c:
4122 Correctly detect broken symlinks
4124 2007-09-26 Alexander Larsson <alexl@redhat.com>
4126 * gio/gcancellable.c (g_cancellable_cancel):
4127 Allow cancel on NULL cancellable
4129 2007-09-25 Alexander Larsson <alexl@redhat.com>
4131 * gio/gsimpleasyncresult.c:
4132 Don't allocate g_error manually.
4133 Fixes g_slice/g_new mixup crash
4135 2007-09-25 Alexander Larsson <alexl@redhat.com>
4137 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4138 Actually set active_backend.
4139 This means the monitor will be cancelled correctly.
4141 2007-09-25 Alexander Larsson <alexl@redhat.com>
4143 * gio/gdirectorymonitor.c:
4144 Set timeout to NULL when destroying
4146 2007-09-25 Alexander Larsson <alexl@redhat.com>
4149 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4150 that is a better description of the error.
4152 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4154 * gio/gvfs.c: (g_vfs_get_local):
4155 Make the local vfs variable static. The same instance should
4158 2007-09-24 Alexander Larsson <alexl@redhat.com>
4160 * gio/glocalfileinfo.c:
4161 Pass in actual length read into sniffer, not the length
4164 2007-09-21 Alexander Larsson <alexl@redhat.com>
4166 * gio/gfileenumerator.c:
4169 * gio/gfileinputstream.c:
4170 * gio/gfileoutputstream.c:
4171 * gio/ginputstream.c:
4172 * gio/goutputstream.c:
4173 Don't crash if async callbacks are NULL
4175 2007-09-20 Alexander Larsson <alexl@redhat.com>
4178 Add async enumerate_children method and default
4181 2007-09-20 Alexander Larsson <alexl@redhat.com>
4184 Add g_file_contains_file & g_file_get_relative_path, since they
4185 were needed for nautilus.
4186 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4191 Implement new methods
4193 2007-09-17 Alexander Larsson <alexl@redhat.com>
4196 * gio/gfileinputstream.[ch]:
4197 * gio/gfileoutputstream.[ch]:
4199 * gio/glocalfileenumerator.[ch]:
4200 * gio/glocalfileinfo.[ch]:
4201 * gio/glocalfileinputstream.c:
4202 * gio/glocalfileoutputstream.c:
4203 * gio/gpollfilemonitor.c:
4204 * programs/gio-copy.c:
4205 * programs/gio-info.c:
4206 * programs/gio-move.c:
4207 Rename get_file_info to query_info() to make it clearer
4208 that these are not simple getters, but do i/o.
4210 2007-09-17 Alexander Larsson <alexl@redhat.com>
4212 * gio/gdatainputstream.[ch]:
4213 * gio/test-streams.c:
4214 Use _read_XXX instead of _get_XXX for the i/o calls
4217 2007-09-17 Alexander Larsson <alexl@redhat.com>
4220 Added needed stuff to TODO comment
4222 2007-09-17 Alexander Larsson <alexl@redhat.com>
4224 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4225 Don't error out removing the backup copy if it doesn't
4228 2007-09-14 Alexander Larsson <alexl@redhat.com>
4230 * programs/Makefile.am:
4231 * programs/gvfs-*.c:
4233 Renamed apps from gvfs-xxx to gio-xxx.
4235 2007-09-14 Alexander Larsson <alexl@redhat.com>
4238 * gio/gfileoutputstream.[ch]:
4239 * gio/glocalfileoutputstream.c:
4240 * programs/gvfs-save.c:
4241 g_file_output_stream_get_etag doesn't do i/o, so remove
4242 cancellation and error.
4244 2007-09-14 Alexander Larsson <alexl@redhat.com>
4247 Add new_etag output to replace_contents functions
4249 2007-09-14 Alexander Larsson <alexl@redhat.com>
4251 * gio/gfileoutputstream.[ch]:
4252 Add async get_file_info and default implementation
4254 2007-09-14 Alexander Larsson <alexl@redhat.com>
4256 * gio/gfileinputstream.c:
4257 Implement fallback wrapper for async get_file_info
4259 2007-09-14 Alexander Larsson <alexl@redhat.com>
4262 Add etag out argument to load_contents
4267 2007-09-14 Alexander Larsson <alexl@redhat.com>
4269 * gio/gcontenttype.c (looks_like_text):
4270 Whitespace like tab, cr and lf do not make the
4273 2007-09-14 Alexander Larsson <alexl@redhat.com>
4275 * gio/gfileinputstream.[ch]:
4276 Add async get_file_info.
4278 2007-09-13 Alexander Larsson <alexl@redhat.com>
4280 * gio/goutputstream.c (g_output_stream_write_all):
4281 Allow NULL for bytes_written
4283 2007-09-13 Alexander Larsson <alexl@redhat.com>
4285 * gio/gmemoryinputstream.[ch]:
4286 Add accessors for data
4288 2007-09-13 Alexander Larsson <alexl@redhat.com>
4290 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4291 Don't crash if length is NULL