1 2008-06-11 A. Walton <awalton@gnome.org>
3 * tests/g-file.c (test_g_file_new_null):
6 2008-06-11 Matthias Clasen <mclasen@redhat.com>
8 * pltcheck.sh: We use g_clear_error now.
10 2008-06-11 Matthias Clasen <mclasen@redhat.com>
12 * glocalfile.c (g_local_file_enumerate_children): Revert
15 2008-06-11 Matthias Clasen <mclasen@redhat.com>
17 * gfile.c (g_file_replace_contents): Don't unref before the last use.
19 2008-06-10 Matthias Clasen <mclasen@redhat.com>
21 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
24 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
25 as icon for the desktop directory, also make user-home and
26 user-desktop the preferred icons.
28 2008-06-10 Matthias Clasen <mclasen@redhat.com>
31 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
32 to add a name to the front of the list.
34 2008-06-10 Matthias Clasen <mclasen@redhat.com>
36 Bug 537392 – Additional colon in xattr name
38 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
39 too. Reported by Alessandro Morandi
41 2008-06-10 Matthias Clasen <mclasen@redhat.com>
43 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
46 * glocalfile.c (get_fs_type): Add afs and autofs.
47 Patch by Danny Baumann.
49 2008-06-10 Matthias Clasen <mclasen@redhat.com>
51 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
53 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
54 is no parent. (Owen Taylor, patch by Christian Neumair)
56 2008-06-10 Paolo Borelli <pborelli@katamail.com>
58 * gfile.c (g_file_replace_contents): do not leak the output stream.
60 2008-06-10 Michael Natterer <mitch@imendio.com>
62 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
63 uninitialized memory as array index.
65 2008-06-10 Tor Lillqvist <tml@novell.com>
67 * gcontenttype.c (g_content_type_can_be_executable)
68 (g_content_type_get_icon) [Win32]: Add TODO comments.
70 2008-06-09 Matthias Clasen <mclasen@redhat.com>
72 * xdgmime/Makefile.am: Fix the build
74 2008-06-09 Matthias Clasen <mclasen@redhat.com>
76 * gcontenttype.c (g_content_type_get_icon): Use icons specified
77 in the shared mime database, if available.
79 * xdgmime/*: Sync with upstream. This brings support for
80 glob weights, generic icons, and changes the cache format to
83 2008-05-28 Michael Natterer <mitch@imendio.com>
85 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
86 the global CPPFLAGS now.
88 * tests/data-input-stream.c
89 * tests/data-output-stream.c
93 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
95 2008-05-27 Matthias Clasen <mclasen@redhat.com>
97 * === Released 2.17.0 ===
99 * tests/live-g-file.c: Clean up after the tests, so make distcheck
100 doesn't complain about leftover files.
102 2008-05-27 simon.zheng <simon.zheng@sun.com>
104 * glocalfile.c: (g_local_file_query_filesystem_info):
105 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
107 2008-05-26 Michael Natterer <mitch@imendio.com>
109 * gmemoryoutputstream.h: declare
110 g_memory_output_stream_get_data_size().
112 2008-05-26 Matthias Clasen <mclasen@redhat.com>
114 * tests/*: Make tests work
116 2008-05-26 Matthias Clasen <mclasen@redhat.com>
118 * gio.symbols: Add g_memory_output_stream_get_data_size.
120 2008-05-25 Ross Burton <ross@burtonini.com>
123 Fix typo in error message (#534764).
125 2008-05-25 Ross Burton <ross@burtonini.com>
128 Fix circular dependency loop for gioenumtypes.h (#534759).
130 2008-05-19 Hans Breuer <hans@breuer.org>
132 * Makefile.am : EXTRA_DIST += makefile.msc
134 2008-05-17 Matthias Clasen <mclasen@redhat.com>
137 * gcontenttype.c: (g_content_type_from_mime_type):
138 New function to create a content type from a mime type. (#527175,
141 2008-05-17 Matthias Clasen <mclasen@redhat.com>
143 Bug 532965 – Should not return filesystem::free for certain file systems
145 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
146 free space for ncpfs.
148 2008-05-17 Matthias Clasen <mclasen@redhat.com>
150 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
152 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
153 st_dev might be zero.
155 2008-05-16 Tor Lillqvist <tml@novell.com>
157 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
158 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
160 2008-05-13 Bastien Nocera <hadess@hadess.net>
162 * gfile.c (has_valid_scheme): A URI scheme must start with a
163 letter, even if later more characters are allowed (#532852)
165 2008-05-05 Michael Natterer <mitch@imendio.com>
167 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
168 code from being checked in that breaks the build of applications
169 which use G_DISABLE_SINGLE_INCLUDES.
171 * makegioalias.pl: make the alias file include "glib.h" instead of
174 * gio.symbols: whitespace change to force regeneration of the
175 alias file after above script change.
177 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
179 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
181 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
183 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
185 2008-04-28 David Zeuthen <davidz@redhat.com>
187 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
188 displaying mounts in a subdirectory not accessible to the
191 2008-04-22 Michael Natterer <mitch@imendio.com>
193 * Makefile.am: fix library versioning (it was 0.0.0).
195 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
197 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
198 Default disable all loggings.
199 * fen/fen-kernel.c: (printevent), (port_add_kevent),
200 (port_fetch_event_cb): Fixed two macro nits.
202 2008-04-16 Matthias Clasen <mclasen@redhat.com>
204 * xdgmime/xdgmime.c: Rework the timestamp checking code
205 to protect against duplicate directories in XDG_DATA_DIRS.
206 Fixes fd.o bug 12513, reported by Joe Shaw.
208 2008-04-16 Matthias Clasen <mclasen@redhat.com>
210 Partically revert the last commit after realizing that
211 xdg_mime_media_type_equal doesn't have to init at all.
214 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
216 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
218 2008-04-16 Matthias Clasen <mclasen@redhat.com>
220 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
221 reported by Joe Shaw and Federico Mena Quintero.
223 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
224 (xdg_mime_media_type_equal): Turn into a wrapper around the
227 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
228 functions throughout.
230 2008-04-16 Michael Meeks <michael.meeks@novell.com>
232 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
233 tolerate an empty TryExec= line without failing; nautilus used
234 to create launchers with these in previous versions. Fixes #528433
236 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
238 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
239 after name. Fixes #527132.
241 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
243 * gfile.c: (g_file_replace):
246 2008-04-07 Matthias Clasen <mclasen@redhat.com>
248 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
250 * gfile.c (file_copy_fallback): Fix the argument order. Patch
251 by Christian Kellner.
253 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
255 * gunixmounts.c: (g_unix_mount_guess_should_display):
256 Don't list the user directory as a mount, fix potential issue
257 when other users have a similar naming and don't special case the
258 gvfs mounts there since that's not required (#525866)
260 2008-03-31 Alexander Larsson <alexl@redhat.com>
262 * glocalfile.c (get_parent):
265 2008-03-31 A. Walton <awalton@svn.gnome.org>
267 * gfile.c (g_file_query_file_type):
268 Always return a GFileType enum value (#520715).
270 2008-03-31 Alexander Larsson <alexl@redhat.com>
272 * glocalfileenumerator.c:
273 Read readdir() info in chunks (of 1000) and sort
274 the chunks by inode before stat:ing.
275 This is a 20% performance increase in testing
276 gvfs-ls on /usr/bin with cold cache.
278 2008-03-31 Alexander Larsson <alexl@redhat.com>
280 * gmemoryoutputstream.c:
281 Clarify docs for g_memory_output_stream_get_size.
282 Add g_memory_output_stream_get_data_size.
284 2008-03-30 Matthias Clasen <mclasen@redhat.com>
288 * gfile.h: Add g_file_query_file_type convenience function
289 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
291 2008-03-30 Matthias Clasen <mclasen@redhat.com>
294 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
296 2008-03-28 A. Walton <awalton@svn.gnome.org>
298 * giomodule.c (_g_io_modules_ensure_loaded):
299 Adds GIO_EXTRA_MODULES environment variable support, closing bug
302 2008-03-28 Alexander Larsson <alexl@redhat.com>
305 (copy_stream_with_progress):
308 2008-03-28 Alexander Larsson <alexl@redhat.com>
311 (copy_stream_with_progress):
312 (file_copy_fallback):
313 Fallback to g_file_query_info for source size
314 if g_file_input_stream_query_info fails. (#524579)
316 2008-03-28 Alexander Larsson <alexl@redhat.com>
318 * glocalfile.c (g_local_file_move):
319 Reuse old string instead of adding new one.
321 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
323 * fen/*.[hc]: still copyright issue. I hate copyright.
325 2008-03-27 Alexander Larsson <alexl@redhat.com>
327 * glocalfile.c (g_local_file_move):
328 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
329 file over directory. This is according to the docs and what the move via
330 copy+remove fallback does.
332 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
334 * fen/*.[hc]: Updated copyright.
336 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
338 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
340 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
342 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
343 not emit attribute changed events when optimizing changed events.
344 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
347 2008-03-19 Matthias Clasen <mclasen@redhat.com>
349 * gmountoperation.[hc]: Small documentation additions
351 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
353 * gunixmounts.c: (guess_mount_type):
354 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
356 2008-03-19 Alexander Larsson <alexl@redhat.com>
359 (copy_stream_with_progress):
360 Bump block side for copy to 64k to minimize
361 overhead for low latency links. (#523015)
363 2008-03-16 Tor Lillqvist <tml@novell.com>
365 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
366 depend on gio.def on Windows.
368 2008-03-12 David Zeuthen <davidz@redhat.com>
372 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
374 2008-03-14 Alexander Larsson <alexl@redhat.com>
378 Avoid redudant tests (#521851)
379 Patch from Josselin Mouette
381 2008-03-14 Alexander Larsson <alexl@redhat.com>
384 (g_file_monitor_is_cancelled):
385 Fix C89 issue (#521672)
386 Patch from Jens Granseuer
388 2008-03-14 Alexander Larsson <alexl@redhat.com>
390 * fam/fam-helper.[ch]:
392 Shut down fam (including removing fam GSource) when
393 module is unloaded (#521513)
394 Patch from Joe Marcus Clarke
396 2008-03-14 Alexander Larsson <alexl@redhat.com>
399 (_g_io_modules_ensure_loaded):
402 2008-03-14 Alexander Larsson <alexl@redhat.com>
405 (g_local_file_query_filesystem_info):
406 Use right define name for f_fstypename member check
408 2008-03-14 Alexander Larsson <alexl@redhat.com>
411 * fen/Makefile.am: Added.
412 * fen/fen-data.[ch]: Added.
413 * fen/fen-dump.[ch]: Added.
414 * fen/fen-helper.[ch]: Added.
415 * fen/fen-kernel.[ch]: Added.
416 * fen/fen-missing.[ch]: Added.
417 * fen/fen-node.[ch]: Added.
418 * fen/fen-sub.[ch]: Added.
419 * fen/gfendirectorymonitor.[ch]: Added.
420 * fen/gfenfilemonitor.[ch]: Added.
422 Added Solaris FEN file notification backend.
423 Patch from Lin Ma <Lin.Ma@Sun.COM>
425 2008-03-13 Tor Lillqvist <tml@novell.com>
427 * Makefile.am: Actually use the gio.def file when linking the
428 library on Windows. Produce .lib library for Microsoft's toolchain
429 when possible. Install the .lib and .def file like for the other
432 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
434 * tests/live-g-file.c:
435 Include live-g-file in standard set of tests, making a temporary
436 directory in source structure.
438 Clean target directory before the tests (write mode only)
440 2008-03-12 Tor Lillqvist <tml@novell.com>
442 Bug 517419 - gio win32 directory monitor
443 Implementation by Vlad Grecescu.
446 * win32/gwin32directorymonitor.h
447 * win32/gwin32directorymonitor.c: New files.
449 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
451 * Makefile.am: Add the win32 subdirectory.
453 2008-03-12 Tor Lillqvist <tml@novell.com>
455 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
456 normal struct stat on Unix but struct _stati64 on Windows to have
457 access to 64-bit file size information. Use that instead of struct
458 stat in the functions declared here in this private header.
460 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
461 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
462 warnings about unused functions and variables. Don't set
463 meaningless attributes like inode numbers on Windows.
465 2008-03-12 Benjamin Otte <otte@gnome.org>
468 trim whitespace so gtk-doc groks the function name
470 2008-03-12 Tor Lillqvist <tml@novell.com>
472 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
473 returning FALSE, on Win32.
475 2008-03-11 Alexander Larsson <alexl@redhat.com>
478 * glocalfileinfo.[ch]:
479 Correctly implement can_trash by actually
480 looking for a trash dir, not just assuming
483 2008-03-10 Matthias Clasen <mclasen@redhat.com>
485 * === Released 2.16.1 ===
487 2008-03-11 Alexander Larsson <alexl@redhat.com>
490 Fix crashes in new constructor and properties code
492 2008-03-10 Murray Cumming <murrayc@murrayc.com>
494 * gfile.c: Minor spelling correction in documentation:
495 existance -> existence.
497 2008-03-10 Matthias Clasen <mclasen@redhat.com>
499 * === Released 2.16.0 ===
501 2008-03-10 Matthias Clasen <mclasen@redhat.com>
503 * gio.symbols: Remove g_file_contains_file here, too.
505 2008-03-10 Matthias Clasen <mclasen@redhat.com>
507 * gthemedicon.c: Add properties to make bindings happy. (#517676,
508 Samuel Cormier-Iijima)
510 2008-03-08 Tor Lillqvist <tml@novell.com>
512 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
515 2008-03-07 Alexander Larsson <alexl@redhat.com>
518 (g_local_file_query_filesystem_info):
519 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
520 Patch from Jasper Lievisse Adriaanse
522 2008-03-06 Tor Lillqvist <tml@novell.com>
524 * gfileinfo.h: Correct milliseconds to microseconds in the doc
525 comments for the *_USEC attributes.
527 2008-03-06 Alexander Larsson <alexl@redhat.com>
529 * gfile.c (g_file_query_exists):
530 Add g_return_val_if_fail check (#520700)
532 2008-03-06 Alexander Larsson <alexl@redhat.com>
537 * gunionvolumemonitor.c:
540 * tests/live-g-file.c:
541 * xdgmime/xdgmimecache.c:
542 Fix sparse warnings (#519489)
544 2008-03-05 Alexander Larsson <alexl@redhat.com>
547 Make cancellation threadsafe (i.e.
548 guarantee its only done once, and always
551 * glocaldirectorymonitor.c:
552 Make sure we the monitor lives while the
553 mounts_changed callback is being called (#520484)
555 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
557 * gbufferedinputstream.c: Fix typo in parameter
560 2008-03-04 Alexander Larsson <alexl@redhat.com>
563 Remove deprecated symbols we kept for one release.
565 2008-03-04 Murray Cumming <murrayc@murrayc.com>
568 * goutputstream.c: Tiny documentation corrections.
570 2008-03-03 Alexander Larsson <alexl@redhat.com>
572 * gunionvolumemonitor.c:
574 Fix the adopt_orphan_mount vfunc to take a
575 volume_monitor reference in an ABI compat way.
576 This change is not API compat, but the added
577 arg is not used in the only user of this vfunc, so
578 all we get is a harmless warning in gvfs (#520169)
580 2008-03-01 Benjamin Otte <otte@gnome.org>
583 clarify docs for g_file_delete().
585 2008-02-29 Alexander Larsson <alexl@redhat.com>
589 Make sure empty files get text/plain type (#518720)
591 2008-02-27 Alexander Larsson <alexl@redhat.com>
597 (g_unix_volume_mount):
598 Add missing GMountMountFlags argument
600 2008-02-26 Alexander Larsson <alexl@redhat.com>
603 (g_local_file_delete):
604 Handle filesystems (like ntfs-3g) that return EEXIST instead
605 of ENOTEMPTY (#518816)
607 2008-02-25 Matthias Clasen <mclasen@redhat.com>
609 * === Released 2.15.6 ===
611 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
613 * gfile.c (g_file_find_enclosing_mount):
614 * ginputstream.c (g_input_stream_set_pending):
615 * glocalfile.c (g_local_file_find_enclosing_mount):
616 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
617 * goutputstream.c (g_output_stream_set_pending):
619 Fixup translator comments (#518578).
621 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
623 * gfile.c (g_file_find_enclosing_mount):
625 * glocalfile.c (g_local_file_find_enclosing_mount):
628 Fix a few typos in translator comments and documentation.
630 2008-02-25 Alexander Larsson <alexl@redhat.com>
637 Add translator comments (#518578)
639 2008-02-25 Alexander Larsson <alexl@redhat.com>
642 Reintroduce g_file_contains_file, keep around for one
643 unstable release cycle to avoid crashing to many apps.
644 Make sure to delete after release.
646 2008-02-25 Alexander Larsson <alexl@redhat.com>
649 Remove deprecated g_file_contains_file.
651 2008-02-25 Alexander Larsson <alexl@redhat.com>
654 Emit actual change signals in an idle handler.
655 This avoids reentrance and locking problems in
656 the file notification backends.
658 2008-02-25 Alexander Larsson <alexl@redhat.com>
661 (g_unix_mount_guess_should_display):
662 Remove type guessing, instead just display
663 mounts in /media and in ~/.
665 2008-02-25 Alexander Larsson <alexl@redhat.com>
668 Make new strings reuse old ones.
670 2008-02-25 Alexander Larsson <alexl@redhat.com>
673 Implement trashing and filesystem::readonly for win32 (#517235)
674 Patch from Yevgen Muntyan
676 2008-02-23 Matthias Clasen <mclasen@redhat.com>
678 * gfileinfo.h: Documentation fixes.
680 2008-02-22 Alexander Larsson <alexl@redhat.com>
682 * gcontenttype.c (g_content_type_get_icon):
683 Look at old-style gnome mime icon names too, as many
684 have not moved to the new style.
686 2008-02-21 Matthias Clasen <mclasen@redhat.com>
688 * *.c: Correct the @include in for section docs.
690 2008-02-21 David Zeuthen <davidz@redhat.com>
692 * glocalfileinfo.c: (_g_local_file_info_get):
694 (g_content_type_get_icon): Implement this function by
695 moving bits from glocalfileinfo.c
696 (g_content_type_get_description): Unalias before getting
697 description (#517687)
699 * gfile.c: (g_file_class_init),
700 (g_file_query_filesystem_info_async),
701 (g_file_query_filesystem_info_finish),
702 (query_filesystem_info_data_free),
703 (query_filesystem_info_async_thread),
704 (g_file_real_query_filesystem_info_async),
705 (g_file_real_query_filesystem_info_finish):
706 * gfile.h: Implement async version of
707 g_file_query_filesystem_info()
709 * gfileinfo.h: Add new attributes for filesystem::use-preview
711 * gio.symbols: Update
713 * gthemedicon.c: (g_themed_icon_append_name):
714 * gthemedicon.h: Add new new convenience function.
716 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
717 (get_mounts), (get_volumes), (get_connected_drives),
718 (get_volume_for_uuid), (get_mount_for_uuid),
719 (g_union_volume_monitor_init), (populate_union_monitor),
720 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
721 (g_volume_monitor_adopt_orphan_mount):
723 * gvolumemonitor.h: Use recursive locks so it's safe for volume
724 monitor implementations to call into the main volume monitor. Also
725 separate object initialization and volume monitor initialization
726 such that non-native volume monitors can properly adopt their
729 2008-02-21 Alexander Larsson <alexl@redhat.com>
734 2008-02-21 Alexander Larsson <alexl@redhat.com>
737 Add more documentation about how GFiles work (from #517086)
739 2008-02-21 Alexander Larsson <alexl@redhat.com>
743 Add new g_file_has_prefix that does the same as g_file_contains_file.
744 Deprecate g_file_contains_file and add a macro that converts
745 it to g_file_has_prefix.
746 The reason for this change is that the contains_file() name seems to
747 imply that this does more work than what it does, but its really only
748 a name match (from #517086)
753 Update to match the above change.
755 2008-02-20 Benjamin Otte <otte@gnome.org>
757 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
758 (g_file_eject_mountable):
759 even more cases of not returning in error path
761 2008-02-20 Benjamin Otte <otte@gnome.org>
763 * gfile.c: (g_file_mount_mountable):
764 return from function in error path.
766 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
769 Remove trailing coma in GMountMountFlags struct
771 2008-02-18 Alexander Larsson <alexl@redhat.com>
775 * glocalfileoutputstream.c:
776 Use g_unlink/g_rename instead of unlink/rename;
777 do not pass raw filenames to g_set_error. (#517239)
778 Patch from Yevgen Muntyan.
780 2008-02-18 Alexander Larsson <alexl@redhat.com>
783 * glocalfileoutputstream.c:
784 Open files with O_BINARY on windows. (#517140)
786 2008-02-14 Alexander Larsson <alexl@redhat.com>
788 * glocalfileoutputstream.c:
789 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
791 2008-02-14 Alexander Larsson <alexl@redhat.com>
794 Copy permissions with file on copy (#514084)
795 This is what cp does and makes sure e.g. the
796 exec permissions are kept.
797 Its kinda weird in that it keeps the permission bits
798 the same while the uid and gid are different. However
799 the new uid is the user so its not a security issue,
800 and I've heard no complaints about cp on this issue.
802 2008-02-13 Ryan Lortie <desrt@desrt.ca>
804 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
806 2008-02-13 Alexander Larsson <alexl@redhat.com>
808 * inotify/inotify-path.c:
809 Define IN_ONLYDIR if not in header (#515346)
811 2008-02-12 Alexander Larsson <alexl@redhat.com>
813 * tests/live-g-file.c:
816 2008-02-11 Matthias Clasen <mclasen@redhat.com>
818 * === Released 2.15.5 ===
820 2008-02-11 Matthias Clasen <mclasen@redhat.com>
822 * gio.symbols: Add g_mount_mount_flags_get_type.
824 2008-02-11 Alexander Larsson <alexl@redhat.com>
827 (g_file_info_set_attribute_mask):
828 (g_file_attribute_matcher_matches_id):
829 Correctly handle NULL GAttributeMatcher meaning
830 matches nothing. (Fixes #513492)
832 2008-02-11 Alexander Larsson <alexl@redhat.com>
837 Added GMountMountFlags enum and added a flags
838 argument to all mount calls.
840 This is an API/ABI change for future extensibility,
841 as I think we will need at least an
842 inhibit-autorun flag (the panel needs this).
843 There are no flags defined yet though.
845 2008-02-11 Alexander Larsson <alexl@redhat.com>
848 Added new standard::description attribute.
849 Requested by Vincent, and useful for both
852 2008-02-11 Alexander Larsson <alexl@redhat.com>
857 2008-02-11 Matthias Clasen <mclasen@redhat.com>
859 * *.c: Documentation additions
861 2008-02-10 Matthias Clasen <mclasen@redhat.com>
863 * gappinfo.h: Formatting cleanup
864 * gappinfo.c: Fix up docs.
866 2008-02-09 Matthias Clasen <mclasen@redhat.com>
868 * gunixmounts.c: Consistently use getmntent_r() and fall
869 back to getmntent(). (#515492)
871 2008-02-09 Matthias Clasen <mclasen@redhat.com>
873 * gbufferedinputstream.c:
875 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
877 * tests/data-input-stream.c:
878 * tests/data-output-stream.c: Portability fixes.
880 2008-02-08 Alexander Larsson <alexl@redhat.com>
885 Add g_volume_should_automount.
888 2008-02-07 Tor Lillqvist <tml@novell.com>
890 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
891 Win32, too Unix-specific.
893 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
895 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
896 a local plt if the compiler doesn't support what we want. Bug #514702
898 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
900 reviewed by: <delete if not using a buddy>
903 * gunixinputstream.c:
904 * gunixoutputstream.c:
906 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
909 * tests/live-g-file.c:
910 * tests/live-g-file.txt:
911 New GIO testing module working over real data
913 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
915 * glocalfileoutputstream.c (g_local_file_output_stream_close):
916 Fallback to rename() if link() is not available
917 (when no support on target filesystem)
919 2008-02-06 Michael Natterer <mitch@imendio.com>
921 * gfileinfo.c (g_file_info_get_icon): replace
922 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
924 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
926 * gfile.c (g_file_create):
927 Documentation update of error codes
929 2008-02-06 Alexander Larsson <alexl@redhat.com>
932 Update to use both mimeapps.list and
933 defaults.list as discussed on xdg list.
935 2008-02-06 Benjamin Otte <otte@gnome.org>
938 * gfilenamecompleter.c:
939 Fix some typos in the documentation.
941 2008-02-06 Alexander Larsson <alexl@redhat.com>
943 * glocalfile.c (g_local_file_trash):
944 Don't succeed with trash if newly created
945 trash dir has the wrong owner. (#514696)
947 2008-02-05 Alexander Larsson <alexl@redhat.com>
949 * glocalfile.c (g_local_file_move):
950 Don't spew warnings when destination is not
953 2008-02-03 Hans Breuer <hans@breuer.org>
955 * makefile.msc : update
957 2008-02-01 Michael Natterer <mitch@imendio.com>
959 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
960 return value of xdg_mime_list_mime_parents() to a variable of the
963 2008-02-01 Alexander Larsson <alexl@redhat.com>
965 * gappinfo.c (g_app_info_launch_uris):
966 Actually call the launch_uris method, not
969 2008-02-01 Alexander Larsson <alexl@redhat.com>
971 * gdesktopappinfo.c (g_desktop_app_info_equal):
972 Ensure appinfos with no id but same pointer value
975 2008-02-01 Alexander Larsson <alexl@redhat.com>
977 * gappinfo.c (g_app_info_launch_default_for_uri):
980 2008-02-01 Alexander Larsson <alexl@redhat.com>
984 Add g_app_info_launch_default_for_uri utility
987 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
990 Doc fix for g_app_info_get_default_for_uri_scheme ()
993 2008-01-30 Alexander Larsson <alexl@redhat.com>
996 Add doc comment about uris vs GFiles to
1000 Ensure uris passed to g_app_info_launch_uris()
1001 are not roundtriped through GFile (as that
1002 may be slightly destructive for e.g. mailto: links)
1004 2008-01-30 Alexander Larsson <alexl@redhat.com>
1006 * tests/data-input-stream.c:
1007 * tests/data-output-stream.c:
1008 C89 fixes from Jens Granseuer (#512849)
1010 2008-01-30 Alexander Larsson <alexl@redhat.com>
1013 Fix gamin/fam difference build issue. (#509419)
1015 2008-01-29 Alexander Larsson <alexl@redhat.com>
1018 * gdesktopappinfo.c:
1019 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1021 2008-01-29 Alexander Larsson <alexl@redhat.com>
1023 * gdesktopappinfo.c:
1024 * gdesktopappinfo.h:
1025 giomodule-priv.h include moved to .c file.
1027 2008-01-29 Alexander Larsson <alexl@redhat.com>
1029 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1030 Remove unused prio/name fields.
1032 2008-01-29 Alexander Larsson <alexl@redhat.com>
1034 * gcontenttype.c (looks_like_text):
1035 Don't treat whitespace as control chars.
1037 2008-01-29 Alexander Larsson <alexl@redhat.com>
1039 * gdesktopappinfo.c:
1040 Lazily create the desktop files for appinfos created
1041 by g_app_info_create_from_commandline() when needed
1042 for mime associations. This allows run-time use
1043 of GAppInfo object without creating unnecessary
1046 2008-01-29 Alexander Larsson <alexl@redhat.com>
1049 Added new symbols to gio.symbols
1051 2008-01-29 Alexander Larsson <alexl@redhat.com>
1054 Add g_file_query_default_handler utility to easily look up
1055 the GAppInfo that handles a file.
1057 * gdesktopappinfo.[ch]:
1059 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1062 Remove unused function
1064 2008-01-29 Alexander Larsson <alexl@redhat.com>
1066 * gfileenumerator.c:
1067 Mention need to free returned value in
1068 g_file_enumerator_next_files_finish docs.
1069 Fix leak if g_file_enumerator_next_files_finish()
1072 2008-01-29 Alexander Larsson <alexl@redhat.com>
1075 (_g_unix_content_type_get_parents):
1076 Use list_parents, not get_parents from xdgmime, because
1077 the later doesn't use the cache.
1079 * xdgmime/xdgmimecache.c:
1080 (_xdg_mime_cache_list_mime_parents):
1081 Don't list the same type as parent multiple times.
1083 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1085 * === Released 2.15.4 ===
1087 2008-01-28 Alexander Larsson <alexl@redhat.com>
1090 Register local vfs with prio 0.
1093 Remove old name and prio class members
1095 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1097 * tests/g-file.c: Disable some tests that are failing in
1098 the absence of a http backend.
1100 2008-01-28 Alexander Larsson <alexl@redhat.com>
1104 Add registration hooks for extension points.
1105 Register the gio extension points.
1107 * fam/gfamdirectorymonitor.c:
1108 * fam/gfamfilemonitor.c:
1109 * glocaldirectorymonitor.[ch]:
1110 * glocalfilemonitor.[ch]:
1111 * gnativevolumemonitor.h:
1112 * gunionvolumemonitor.c:
1113 * gunixvolumemonitor.c:
1116 * inotify/ginotifydirectorymonitor.c:
1117 * inotify/ginotifyfilemonitor.c:
1118 Use the extension points registration instead
1119 of g_type_children().
1121 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1124 * gvolume.[hc]: Document new API.
1126 * gfile.c (g_file_copy_async): Fix docs
1128 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1130 * gbufferedinputstream.c:
1132 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1135 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1137 * glocalfile.c: Avoid trivial differences in translatable strings.
1139 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1141 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1142 build with gcc 3.4 (#509419)
1144 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1146 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1147 (#509994, Murray Cumming)
1149 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1151 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1152 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1153 this allows big jobs to be executed in chunks, instead of blocking
1154 the main loop for a long time.
1156 * gsimpleasyncresult.c:
1157 * giofile.c: Adapt callers.
1159 2008-01-25 Alexander Larsson <alexl@redhat.com>
1161 * gdesktopappinfo.c:
1162 Implement changes discussed on xdg list.
1163 Now we can add supported mimetypes by just using defaults.list
1164 We can also remove associations in defaults.list.
1166 2008-01-25 Alexander Larsson <alexl@redhat.com>
1168 * gdesktopappinfo.c:
1169 Don't make local copy of desktop file
1170 for mimetype changes if the file already
1171 supports the new mimetype.
1173 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1177 * gbufferedinputstream.c:
1178 * glocalfile.c: String improvements. (#511966,
1179 Theppitak Karoonboonyanan)
1181 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1183 * gioscheduler.h: Expand docs a bit.
1185 2008-01-24 Alexander Larsson <alexl@redhat.com>
1188 Add g_drive_get_identifier and
1189 g_drive_enumerate_identifiers
1192 Add g_volume_get_identifier and
1193 g_volume_enumerate_identifiers
1199 Implement identifiers for unix backend
1201 2008-01-24 Alexander Larsson <alexl@redhat.com>
1206 Add g_file_copy_async() (#511580)
1207 Based on patch from Carlos Garcia Campos
1209 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1211 * gioscheduler.c: Some documentation additions.
1213 2008-01-22 Alexander Larsson <alexl@redhat.com>
1215 * gdesktopappinfo.c:
1216 (g_desktop_app_info_new):
1217 Don't leak basename.
1219 2008-01-22 Alexander Larsson <alexl@redhat.com>
1221 * gdesktopappinfo.c:
1222 (g_desktop_app_info_new_from_filename):
1225 2008-01-22 Alexander Larsson <alexl@redhat.com>
1227 * glocalfileinfo.c (get_thumbnail_attributes):
1230 2008-01-22 Alexander Larsson <alexl@redhat.com>
1233 (canonicalize_filename):
1234 Canonicalize paths that start with more than
1238 (compare_two_files):
1239 (test_g_file_new_for_path):
1242 2008-01-22 Alexander Larsson <alexl@redhat.com>
1245 Allow UTF-8 in file:// parse names.
1247 * tests/Makefile.am:
1248 * tests/data-input-stream.c:
1249 * tests/data-output-stream.c:
1250 * tests/g-file-info.c:
1252 Added a bunch of tests from Tomas Bzatek
1254 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1256 * === Released 2.15.3 ===
1258 2008-01-21 Alexander Larsson <alexl@redhat.com>
1260 * gfileinputstream.[ch]:
1261 * gfileoutputstream.[ch]:
1263 Remove duplicated GSeekable functions. (#509990)
1264 Just use the g_seekable_xxx() calls instead.
1266 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1269 * gvolumemanager.c: Whitespace cleanups.
1271 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1272 Use the right mode when creating the file.
1274 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1276 * gfileenumerator.c:
1277 * gfileinputstream.c:
1279 * goutputstream.c: Documentation: Fixed minor typos
1280 and added more mentions of specific _finish() functions.
1282 2008-01-21 Alexander Larsson <alexl@redhat.com>
1284 * inotify/Makefile.am:
1285 * inotify/inotify-helper.c:
1286 * inotify/inotify-kernel.c:
1287 * inotify/inotify-path.c:
1288 * inotify/local_inotify.h: Removed.
1289 * inotify/local_inotify_syscalls.h: Removed.
1290 Removed the included copies of the inotify
1291 headers. We now only use the <sys/inotify.h>
1292 header which exists on modern systems.
1293 This fixes problems on ARM and SH5 (#510448)
1294 but is also generally much cleaner and future
1295 safe. For instance, if other OSes add support
1296 for inotify it should "just work".
1298 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1300 * inotify/*.c: Coding style fixes.
1301 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1302 for the 1/4 Hz timer.
1304 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1307 * gfilemonitor.[hc]:
1308 * gmemoryinputstream.c:
1309 * gmemoryoutputstream.c:
1310 * gmountoperation.c:
1311 * gthemedicon.c: Documentation updates
1313 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1315 * gfile.c: documentation: Fixed more minor
1318 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1320 * gmount.c: (g_mount_remount): documentation:
1321 Mention g_mount_remount_finish() instead of
1322 g_mount_unmount_finish().
1324 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1328 * gfile.c: Fixed some minor typos in the
1331 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1333 * gio/gvolumemonitor.c:
1334 (g_volume_monitor_get_connected_drives):
1335 (g_volume_monitor_get_volumes):
1336 (g_volume_monitor_get_mounts): Documentation:
1337 Clarify the ownership of the regurn GLists.
1339 2008-01-17 Alexander Larsson <alexl@redhat.com>
1342 Add the async find_enclosing_mount version
1343 to the header file too.
1345 2008-01-17 Alexander Larsson <alexl@redhat.com>
1348 Add async version of find_enclosing_mount
1349 with default implementation.
1351 2008-01-17 Alexander Larsson <alexl@redhat.com>
1356 Allow calls to implementation of copy and write
1357 even if the type of the file implementations is
1358 different. This can be used to implement native
1359 upload and download calls in a vfs.
1362 (g_local_file_move):
1363 Protect against the case where move is called
1364 with one file not being local.
1366 Make sure we call the progress callback once
1367 in the native move operation so that the caller
1368 knows how many bytes were copied.
1370 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1373 * gdatainputstream.c:
1375 * gfileoutputstream.c:
1380 * gunixmounts.c: Corrected some typos in the documentation:
1381 occured -> occurred.
1382 its -> it's (where appropriate).
1384 2008-01-16 Alexander Larsson <alexl@redhat.com>
1388 Add g_file_query_exists (#508771)
1390 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1395 * gvolume.c: For async functions that have no non-async
1396 version, document that the GAsyncReadyCallback may be NULL.
1399 2008-01-15 Alexander Larsson <alexl@redhat.com>
1401 * gmemoryinputstream.c:
1402 * gmemoryoutputstream.c:
1403 Don't do pointer arithmetic on void * (#508602)
1404 Patch from Kazuki IWAMOTO
1406 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1408 * === Released 2.15.2 ===
1410 2008-01-14 Alexander Larsson <alexl@redhat.com>
1412 * gfile.c (g_file_monitor_file):
1413 Don't set error here, since we fallback to polling monitor.
1415 2008-01-14 Alexander Larsson <alexl@redhat.com>
1418 (g_file_monitor_directory):
1419 (g_file_monitor_file):
1420 Add GError to file monitor calls
1422 * glocaldirectorymonitor.c:
1423 * glocaldirectorymonitor.h:
1425 * glocalfilemonitor.c:
1426 * glocalfilemonitor.h:
1428 Update for above change
1430 2008-01-14 Alexander Larsson <alexl@redhat.com>
1434 Handle root correctly in g_file_get_relative_path (#508719)
1436 2008-01-14 Alexander Larsson <alexl@redhat.com>
1439 Clean up docs and example for GAsyncResult (#508074)
1441 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1443 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1444 and correct some spelling mistakes. Bug #508108.
1446 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1448 * glocalfileinfo.c: Add a comment.
1450 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1452 * gfileinfo.c: GFileInfo description: Mention
1453 how to actually set attributes in a GFile and how to discover
1454 which attributes are settable. Bug #508378.
1456 2008-01-10 A. Walton <awalton@svn.gnome.org>
1458 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1459 (g_app_info_get_default_for_type):
1460 Check for NULL content types.
1462 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1464 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1466 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1468 * gfile.c: *_async() functions: Several small corrections
1469 to the documentation, mostly correcting copy/paste errors
1470 and improving some sentences.
1472 2008-01-09 Dan Winship <danw@gnome.org>
1474 * glocalfile.c (get_unique_filename): x86_64 fix
1476 2008-01-09 Alexander Larsson <alexl@redhat.com>
1481 Add g_unix_mount_guess_should_display and use
1482 for unix volume monitor backend.
1483 This means we more or less show what the
1484 gnome-vfs backend did.
1485 Based on patch from Padraig O'Briain
1487 2008-01-09 Alexander Larsson <alexl@redhat.com>
1491 Add g_themed_icon_new_with_default_fallbacks
1494 Use default fallbacks for icons
1496 2008-01-09 Alexander Larsson <alexl@redhat.com>
1499 * gmountoperation.[ch]:
1500 Change the API a bit so that unhandled methods
1501 get reported via the reply, rather than by
1502 the signal emission return value. This is because
1503 some handlers can't know this immediately without
1504 doing I/O, and this is an async operation that
1507 2008-01-09 Alexander Larsson <alexl@redhat.com>
1510 * fam/gfamdirectorymonitor.c:
1511 * fam/gfamfilemonitor.c:
1512 Fix double free crash (#508224)
1513 Patch from Joe Marcus Clarke
1515 008-01-07 Matthias Clasen <mclasen@redhat.com>
1517 * === Released 2.15.1 ===
1519 2008-01-07 Alexander Larsson <alexl@redhat.com>
1521 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1522 Fix warning (#507835)
1524 2008-01-07 Alexander Larsson <alexl@redhat.com>
1527 Pass --internal to glib-genmarshal
1530 * gmountoperation.c:
1532 Use better types for signal arguments (#507822)
1534 2008-01-07 Alexander Larsson <alexl@redhat.com>
1537 Build test subdir after .
1538 Remove gdirectorymonitor.[ch]
1540 * gdirectorymonitor.[ch]:
1544 Remove GDirectoryMonitor and make
1545 GFileMonitor the baseclass for both file and
1546 directory monitors. Lift the more generic
1547 rate limiting code from GDirectoryMonitor
1551 * fam/gfamdirectorymonitor.[ch]:
1552 * inotify/ginotifydirectorymonitor.[ch]:
1553 * inotify/inotify-helper.c:
1554 * glocaldirectorymonitor.[ch]:
1557 Update for the removed GDirectoryMonitor.
1559 * gmemoryoutputstream.c:
1560 Remove ununsed variable
1562 2008-01-07 Alexander Larsson <alexl@redhat.com>
1564 * gmemoryinputstream.c:
1565 Translate error strings
1568 * gmemoryoutputstream.[ch]:
1569 New implementation that avoids using GByteArray
1570 in implementation and API. (#506377)
1572 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1574 * tests/*: Add a test for memory input streams.
1576 * Makefile.am: Add tests to SUBDIRS.
1578 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1580 * glocalfilemonitor.c:
1581 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1584 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1586 * gdesktopappinfo.c: Fix a docs typo.
1588 * gfileattribute.c: Add information about extended attributes
1589 to the documentation. (#505058)
1591 2008-01-04 Alexander Larsson <alexl@redhat.com>
1594 * gmountoperation.c:
1595 Use the right type (uint) for the ask_password signal.
1597 2008-01-04 Alexander Larsson <alexl@redhat.com>
1602 Add g_app_info_supports_files()
1603 Remove desktop arg from g_app_info_should_show().
1605 * gdesktopappinfo.[ch]:
1606 Implement g_app_info_supports_files() and new should_show()
1607 Add g_desktop_app_info_set_desktop_env() to set the desktop
1608 for should_show(). (This will be set by gtk+ later)
1610 2008-01-04 Alexander Larsson <alexl@redhat.com>
1613 * gmemoryinputstream.[ch]:
1614 Improve API so that you can use multiple chunks
1615 of memory and custom destroy functions. (#506374)
1617 2008-01-03 Alexander Larsson <alexl@redhat.com>
1620 Handle NULL attribute matchers safely, as we return this
1621 for empty attribute matcher strings.
1623 2008-01-03 Alexander Larsson <alexl@redhat.com>
1625 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1626 Add /usr/local to list of internal mountpoints
1628 2008-01-03 Alexander Larsson <alexl@redhat.com>
1631 Check for HAVE_LCHOWN (#505887)
1633 2008-01-03 Alexander Larsson <alexl@redhat.com>
1637 Add define for selinux context attribute.
1638 Fix missing : -> :: namespace separator change
1639 Fix missing _ -> - name change for xattr-sys.
1642 2008-01-03 Alexander Larsson <alexl@redhat.com>
1645 Link to libglib and libgobject directly (#504879)
1646 Patch from Sebastien Bacher
1648 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1650 * gfile.c: Expanded the g_file_new_for_commandline_arg
1651 description a bit, based on the code and the docs of the
1652 other g_file_new_for_* functions.
1654 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1656 * gfilemonitor.h: Fixed typo in docs.
1658 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1660 Updates to GIO documentation. (#506395, Mikael Hermansson)
1662 * gcontenttype.c: Describe memory management for return value of
1663 g_content_types_get_registered(). Missing piece from #505815.
1664 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1665 GVolume, GDrive, GMounts, which hopefully gives the user less
1666 confusions when using this API. Following explainations from
1667 Alexander Larsson on gtk-devel-list.
1669 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1671 * gfileinfo.c: Expand the long description.
1673 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1676 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1677 fix builds with --disable-visibility. (#500273, Christian Persch)
1679 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1681 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1682 in the list of returned app infos.
1684 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1686 * gappinfo.c: Fix a cross-reference
1688 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1690 * gfileinputstream.c:
1691 * gfileoutputstream.c:
1695 * gdesktopappinfo.c:
1697 * gfileinfo.c: Documentation updates.
1699 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1701 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1704 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1706 * gcontenttype.c (g_content_types_get_registered): Don't return
1707 freed memory (#505815, Mikael Hermansson)
1709 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1711 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1712 used to detect statbuf->st_blocks. (#505042)
1714 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1716 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1717 environment handling. (#504829, Cosimo Cecchi)
1719 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1721 * gappinfo.c: Doc improvements
1723 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1726 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1728 * === Released 2.15.0 ===
1730 2007-12-20 Hans Breuer <hans@breuer.org>
1732 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1733 with symbols gwin32appinfo.obj, added gmount.obj
1734 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1736 2007-12-20 Alexander Larsson <alexl@redhat.com>
1742 * gfilenamecompleter.c:
1745 * gpollfilemonitor.c:
1746 File attribute renames:
1748 fs:: -> filesystem::
1749 id::fs -> id::filesystem
1751 2007-12-20 Alexander Larsson <alexl@redhat.com>
1760 Add GMountUnmountFlags to all unmount and
1762 Add g_mount_remount() call.
1764 2007-12-20 Alexander Larsson <alexl@redhat.com>
1766 * gvfs.c (get_default_vfs):
1767 Fix unused variable warning
1769 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1771 * pltcheck.sh: Update
1773 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1775 * gunionvolumemonitor.c:
1776 * gunixmount.c: Remove C99 comments
1778 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1780 * gio.symbols: Add some missing symbols
1782 2007-12-19 Alexander Larsson <alexl@redhat.com>
1785 Make g_io_modules_load_all_in_directory not unuse
1786 loaded modules so that users of it can do stuff
1788 Init internal "module" types.
1789 Initialize static prio and name for types so that
1790 we don't have to load modules to get it.
1792 * gnativevolumemonitor.h:
1794 Move is_supported to parent class so that
1795 non-native monitors can avoid being initialized
1796 too. (For instance GDaemonVolumeMonitor if we're
1797 not using GDaemonVfs.)
1799 * glocaldirectorymonitor.[ch]:
1800 * glocalfilemonitor.[ch]:
1801 * gunionvolumemonitor.c:
1802 * gunixvolumemonitor.c:
1804 Find plugins using the static prio+name to
1805 avoid unnecessarily loading the modules.
1807 2007-12-19 Alexander Larsson <alexl@redhat.com>
1812 2007-12-19 Alexander Larsson <alexl@redhat.com>
1814 * gunionvolumemonitor.c:
1815 Store the native type as GType, not class so that
1816 we can unload it. But still avoid unnecessarily
1819 2007-12-19 David Zeuthen <davidz@redhat.com>
1821 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1822 add signals 'disconnected' and 'eject-button' on GDrive. Add
1823 signal 'removed' on GVolume and 'unmounted' on GMount.
1825 * gdrive.c: (g_drive_base_init):
1827 * gfile.c: (g_file_mount_mountable),
1828 (g_file_mount_enclosing_volume):
1831 * gmount.c: (g_mount_base_init):
1833 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1834 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1835 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1839 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1841 * *.c: Fix up includes in the section docs.
1843 2007-12-17 Alexander Larsson <alexl@redhat.com>
1845 * gnativevolumemonitor.h:
1846 * gunionvolumemonitor.c:
1847 * gunixvolumemonitor.c:
1848 Add is_supported() to GNativeVolumeMonitorClass so
1849 that we can avoid having to create an object to see
1850 if the backend is supported at runtime.
1851 Also add name member and an env var to pick a specific
1852 volume monitor backend.
1856 Add cancellable to _g_mount_get_for_mount_path()
1858 * glocaldirectorymonitor.c:
1859 * glocalfilemonitor.c:
1860 Avoid loading and unloading modules while sorting.
1862 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1865 * gunixmounts.[hc]: Namespace waste reduction, move some
1866 g_get_unix_mount functions to the g_unix_mount namespace.
1869 * gunixvolumemonitor.c:
1871 * glocaldirectorymonitor.c: Update all callers.
1873 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1875 2007-12-17 Alexander Larsson <alexl@redhat.com>
1878 Add doc comments about what GFile operations are
1879 guaranteed to not block.
1881 2007-12-17 Alexander Larsson <alexl@redhat.com>
1884 Add missing #ifdef fixing OSX build.
1885 (#503334, patch from Richard Hult)
1887 2007-12-14 David Zeuthen <davidz@redhat.com>
1891 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1892 (g_mount_eject), (g_mount_eject_finish):
1894 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1895 (get_volume_for_uuid), (get_mount_for_uuid),
1896 (g_union_volume_monitor_class_init),
1897 (get_default_native_type_with_exclude), (get_default_native_type),
1898 (get_native_type), (update_native_type),
1899 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1900 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1901 (g_unix_mount_can_eject), (eject_unmount_cb),
1902 (eject_unmount_read_error), (eject_unmount_do),
1903 (g_unix_mount_unmount), (g_unix_mount_eject),
1904 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1905 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1906 (g_unix_mount_point_guess_can_eject):
1908 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1909 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1910 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1911 (g_unix_volume_mount), (g_unix_volume_eject),
1912 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1913 * gunixvolumemonitor.c: (get_volume_for_uuid),
1914 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1916 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1917 (g_volume_eject), (g_volume_eject_finish):
1919 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1920 (g_volume_monitor_get_mount_for_uuid):
1923 Provide eject() on both GMount and GVolume and utility functions
1924 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1925 ejected. Introduce the concept of UUID's and wire it into GVolume
1926 and GMount and provide API on GVolumeMonitor to find such
1927 instances. Also handle the case where an external
1928 GNativeVolumeMonitor fails to initialize. Lock around the
1929 _g_get_mount_for_mount_path() function such that volume monitor
1930 implementations won't have to do locking themselves.
1932 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1934 * gdesktopappinfo.c:
1940 * gvolume.h: Documentation updates
1942 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1945 * gfile.h: Doc updates
1947 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1950 * gdesktopappinfo.c: Use hash table iterators.
1952 2007-12-14 Alexander Larsson <alexl@redhat.com>
1955 * gfileattribute.[ch]:
1956 * gfileattribute-priv.h:
1957 Move GFileAttributeValue to a private header, as
1961 Make set_attribute take a type + a pointer instead
1962 of a GFileAttributeValue.
1965 Fix up for above changes.
1966 Add g_file_info_get_attribute_data to get
1967 all info in one call, g_file_info_get_attribute_status
1968 to get the status and g_file_info_get_attribute_as_string.
1972 * glocalfileinfo.[ch]:
1976 Make _guess_type static.
1978 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1981 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1982 made mkenums and friends use temporary files to avoid leaving
1983 empty generated files on failure (#503470).
1985 2007-12-14 Alexander Larsson <alexl@redhat.com>
1987 * gmountoperation.h:
1990 2007-12-14 Alexander Larsson <alexl@redhat.com>
1994 * gfileattribute.[ch]:
1997 * glocalfileoutputstream.c:
1998 * gmountoperation.[ch]:
1999 * goutputstream.[ch]:
2000 Clean up all flags enums to not have _FLAGS in them
2001 Make the names of some of the enums better.
2006 2007-12-14 Michael Natterer <mitch@imendio.com>
2008 * gio.symbols: fix g_io_scheduler symbol names.
2010 2007-12-14 Alexander Larsson <alexl@redhat.com>
2016 * gbufferedinputstream.h:
2017 * gbufferedoutputstream.h:
2020 * gdatainputstream.h:
2021 * gdataoutputstream.h:
2022 * gdesktopappinfo.h:
2023 * gdirectorymonitor.h:
2027 * gfileenumerator.h:
2030 * gfileinputstream.h:
2032 * gfilenamecompleter.h:
2033 * gfileoutputstream.h:
2034 * gfilterinputstream.h:
2035 * gfilteroutputstream.h:
2043 * gmemoryinputstream.h:
2044 * gmemoryoutputstream.h:
2046 * gmountoperation.h:
2049 * gsimpleasyncresult.h:
2051 * gunixinputstream.h:
2053 * gunixoutputstream.h:
2057 * inotify/Makefile.am:
2058 Only allow including <gio/gio.h> from apps
2060 2007-12-14 Alexander Larsson <alexl@redhat.com>
2062 * gioscheduler.[ch]:
2063 * gsimpleasyncresult.c:
2064 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2065 Split out the send_to_mainloop call into two versions instead
2066 of having the block argument.
2068 2007-12-13 Alexander Larsson <alexl@redhat.com>
2070 * gcancellable.[ch]:
2072 * gbufferedinputstream.c:
2073 * gfileenumerator.c:
2074 * gfileinputstream.c:
2075 * gfileoutputstream.c:
2079 g_push/pop_current_cancellable ->
2080 g_cancellable_push/pop_current
2082 2007-12-13 Alexander Larsson <alexl@redhat.com>
2086 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2088 2007-12-13 Alexander Larsson <alexl@redhat.com>
2090 * gmountoperation.h:
2091 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2093 2007-12-12 Alexander Larsson <alexl@redhat.com>
2096 Fix race condition when freeing proxy in
2097 g_io_job_send_to_mainloop().
2099 2007-12-12 Alexander Larsson <alexl@redhat.com>
2105 Make attribute namespace separator "::" instead of ":".
2106 Use - instead of _ as separator in attribute names.
2108 2007-12-12 Alexander Larsson <alexl@redhat.com>
2110 * gbufferedinputstream.h:
2111 * gbufferedoutputstream.h:
2112 * gdatainputstream.h:
2113 * gdataoutputstream.h:
2114 * gdirectorymonitor.h:
2115 * gfileenumerator.h:
2116 * gfileinputstream.h:
2118 * gfileoutputstream.h:
2119 * gfilterinputstream.h:
2120 * gfilteroutputstream.h:
2122 * glocalfileinputstream.h:
2123 * glocalfileoutputstream.h:
2124 * gmemoryinputstream.h:
2125 * gmemoryoutputstream.h:
2126 * gnativevolumemonitor.h:
2128 * gunixinputstream.h:
2129 * gunixoutputstream.h:
2132 s/parent/parent_instance/ in GObjects
2134 2007-12-12 Alexander Larsson <alexl@redhat.com>
2139 No need for padding for interfaces
2141 2007-12-12 Alexander Larsson <alexl@redhat.com>
2145 * gbufferedinputstream.c:
2146 * gbufferedoutputstream.c:
2149 * gdatainputstream.[ch]:
2150 * gdesktopappinfo.c:
2151 * gdirectorymonitor.c:
2153 * gfileattribute.[ch]:
2156 * gfileinputstream.h:
2157 * gfilemonitor.[ch]:
2158 * gfileoutputstream.[ch]:
2159 * gfilterinputstream.h:
2160 * gfilteroutputstream.h:
2163 * gloadableicon.[ch]:
2164 * gmemoryinputstream.c:
2165 * gmountoperation.c:
2167 Fix up a bunch of details in the docs.
2172 2007-12-11 David Zeuthen <davidz@redhat.com>
2174 Rework how volumes, drives and volume monitoring is
2175 done. Previosly the model was
2177 GDrive <1-1> GVolume
2179 where a GDrive instance represented a mount point and a GVolume
2180 instance represented a mounted file system. This patch changes it
2183 GDrive <1-N> GVolume <1-1> GMount
2185 where GMount now serves the purpose of the old GVolume and the new
2186 GVolume serves the purpose of the old GDrive. In addition the new
2187 GDrive interface is used to represent a collection of GVolume
2188 instances (typically partitions) and also contains utility to query
2189 the state of the physical drive the GDrive object represents (such
2190 as checking for media, polling the drive, ejecting the media etc.).
2192 Also implement mounting and unmounting in the Unix volume monitor
2193 backend. A subquent patch will introduce GDrive support for ejection
2197 * gdrive.c: (g_drive_is_media_check_automatic),
2198 (g_drive_is_media_removable), (g_drive_has_media),
2199 (g_drive_can_poll_for_media), (g_drive_eject),
2200 (g_drive_eject_finish), (g_drive_poll_for_media),
2201 (g_drive_poll_for_media_finish):
2203 * gfile.c: (g_file_find_enclosing_mount):
2206 * glocaldirectorymonitor.c:
2207 (g_local_directory_monitor_constructor), (mounts_changed):
2208 * glocalfile.c: (get_mount_info),
2209 (g_local_file_find_enclosing_mount),
2210 (g_local_file_file_iface_init):
2211 * gnativevolumemonitor.h:
2212 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2213 (get_connected_drives), (g_union_volume_monitor_class_init),
2214 (child_volume_added), (child_volume_removed),
2215 (child_volume_changed), (child_mount_added), (child_mount_removed),
2216 (child_mount_pre_unmount), (child_mount_changed),
2217 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2218 (g_union_volume_monitor_remove_monitor),
2219 (_g_mount_get_for_mount_path):
2220 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2221 (guess_system_internal), (_g_get_unix_mounts),
2222 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2223 (g_unix_mount_free), (g_unix_mount_compare),
2224 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2225 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2226 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2227 (type_to_icon), (g_unix_mount_guess_name),
2228 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2229 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2230 (_resolve_symlink), (_resolve_dev_root):
2232 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2233 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2234 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2235 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2236 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2237 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2238 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2239 (g_unix_volume_volume_iface_init):
2241 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2242 (get_mounts), (get_volumes), (get_connected_drives),
2243 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2244 (mountpoints_changed), (mounts_changed),
2245 (g_unix_volume_monitor_init),
2246 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2247 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2248 * gunixvolumemonitor.h:
2249 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2250 (g_volume_mount), (g_volume_mount_finish):
2252 * gvolumemonitor.c: (g_volume_monitor_class_init),
2253 (g_volume_monitor_get_connected_drives),
2254 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2257 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2259 * gmountoperation.h (GPasswordFlags): Close the gap
2261 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2263 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2265 * gdesktopappinfo.[hc]: Remove _-prefixes
2267 2007-12-10 Tor Lillqvist <tml@novell.com>
2269 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2272 2007-12-10 Alexander Larsson <alexl@redhat.com>
2274 * gfile.c (g_file_set_display_name):
2275 Don't hardcode '/' (#502727)
2277 2007-12-09 Hans Breuer <hans@breuer.org>
2279 * makefile.msc : follow lib naming convention
2280 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2281 for user and group name, tested with ../tests/gio-ls
2283 2007-12-09 A. Walton <awalton@svn.gnome.org>
2285 * gdesktopappinfo.c:
2291 * gfileenumerator.c:
2296 * gmemoryinputstream.c:
2297 * gmemoryoutputstream.c:
2299 * gsimpleasyncresult.c:
2300 More documentation cleanup and filling in missing information, bringing
2301 GIO to 99% symbol coverage.
2303 2007-12-08 Hans Breuer <hans@breuer.org>
2305 [gio compiles and links on win32, not sure how much already works]
2306 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2307 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2308 base on win32 API; prefer g_lstat() over lstat(); instead of
2309 localtime_r() use an all GLib implementation on win32;
2310 get_mount_info() still needs a win32 specifc implementation
2311 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2312 win32_get_file_user_info to get owner/group info without uid/gid
2313 * glocalfileinputstream.c : include <io.h> on win32
2314 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2315 definition, use g_win32_ftruncate() for G_OS_WIN32
2316 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2317 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2318 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2319 * makefile.msc : updated
2321 2007-12-07 Alexander Larsson <alexl@redhat.com>
2323 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2324 Avoid warning spew if error == NULL
2326 2007-12-07 Alexander Larsson <alexl@redhat.com>
2329 Update docs wrt etags
2331 2007-12-06 Alexander Larsson <alexl@redhat.com>
2334 Include sys/types.h for dev_t (#501919)
2336 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2340 Make abicheck and pltcheck pass.
2342 2007-12-05 Alexander Larsson <alexl@redhat.com>
2345 * giomodule-priv.h: Added.
2346 * glocaldirectorymonitor.c:
2347 * glocalfilemonitor.c:
2348 * gunionvolumemonitor.c:
2350 Actually add the declaration of _g_io_modules_ensure_loaded
2352 2007-12-05 Alexander Larsson <alexl@redhat.com>
2354 * gdatainputstream.c:
2359 * glocaldirectorymonitor.c:
2360 * glocalfilemonitor.c:
2361 * gunionvolumemonitor.c:
2363 Make g_io_modules_ensure_loaded a private function and
2364 don't pass in the dirname. This means we can do magic
2365 directory finding in the win32 version.
2366 Export the actual load-modules-in-directory code so that
2367 gvfs can reuse that.
2369 2007-12-05 Alexander Larsson <alexl@redhat.com>
2371 * gbufferedinputstream.c:
2372 * gbufferedoutputstream.c:
2375 * gfileenumerator.[ch]:
2376 * gfileinputstream.c:
2377 * gfileoutputstream.[ch]:
2378 * gfilterinputstream.c:
2379 * gfilteroutputstream.c:
2380 * ginputstream.[ch]:
2382 * glocalfileenumerator.c:
2383 * glocalfileinputstream.c:
2384 * glocalfileoutputstream.c:
2385 * gmemoryinputstream.c:
2386 * gmemoryoutputstream.c:
2387 * goutputstream.[ch]:
2390 * gunixinputstream.c:
2391 * gunixoutputstream.c:
2392 Rename all struct members named:
2393 read, write, close, truncate, or mount
2394 to foo_fn, as these are reserved names
2395 and could be defined as macros in libc.
2398 2007-12-04 Alexander Larsson <alexl@redhat.com>
2401 (g_output_stream_close):
2402 Only call flush if non-null.
2404 2007-11-30 Dan Winship <danw@gnome.org>
2406 * ginputstream.c (g_input_stream_set_pending): Make this take a
2407 GError and return a gboolean, and do the "outstanding operation"
2408 check (and the "stream is already closed" check) itself.
2409 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2411 * goutputstream.c (g_output_stream_set_pending)
2412 (g_output_stream_clear_pending): Likewise
2414 * gbufferedinputstream.c:
2415 * gfileinputstream.c:
2416 * gfileoutputstream.c: Update for that
2418 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2419 Like g_simple_async_report_error_in_idle, but takes a GError
2420 rather than building one.
2422 2007-11-30 Dan Winship <danw@gnome.org>
2424 * goutputstream.c: Don't cheat and unset the "pending" flag around
2425 inner calls. Instead, call the class method directly rather than
2426 the wrapper function that checks "pending"
2428 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2430 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2432 2007-12-03 Hans Breuer <hans@breuer.org>
2434 [start of port to win32/msvc]
2435 * gcancellable.c : HAVE_UNIST_H and _pipe()
2436 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2437 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2438 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2440 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2441 * glocalvfs.c : use HAVE_PWD_H
2442 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2443 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2444 * Makefile.am : added to EXTRA_DIST
2446 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2448 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2451 2007-12-03 Alexander Larsson <alexl@redhat.com>
2454 Handle OSX style xattrs API (#500506)
2456 2007-12-03 Alexander Larsson <alexl@redhat.com>
2460 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2462 2007-12-02 A. Walton <awalton@svn.gnome.org>
2466 Documentation accuracy fixes.
2468 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2470 * gioenumtypes.c.template: Fix typo.
2472 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2474 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2476 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2478 * gdirectorymonitor.c:
2479 * gfilemonitor.c: Add properties
2481 * gbufferedoutputstream.c: Don't mark buffer-size property
2484 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2486 * gbufferedoutputstream.c: Add auto-grow property.
2488 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2490 * *.c: Unify the capitalization of section headings.
2492 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2494 * gmountoperation.c: Add properties
2496 * gdatainputstream.c: Turn byte-order and newline-type into
2499 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2501 * gioenumtypes.[hc].template: Templates for enum registration
2503 * Makefile.am: Generate gioenumtypes.[hc]
2505 * gio.h: Include gioenumtypes.h
2507 * gfile.h: Add some explicit nicks.
2509 * gio.symbols: Add new symbols
2511 * pltcheck.sh: Adjust
2513 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2515 * *.c: Explain etags and link to the explanation
2517 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2519 * *.c: Explain I/O priority.
2521 * *.c: More coding style fixes.
2523 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2525 * gasyncresult.c: Add another paragraph to the intro,
2526 adjust coding style of example.
2528 2007-11-29 A. Walton <awalton@svn.gnome.org>
2531 Fixes unknown meaning in GAppLaunchContext docs.
2533 Clarify asynchronous ops.
2535 Fix entity tag docs.
2538 Provides missing gtk-doc section, fixes API docs slighly.
2539 * gsimpleasyncresult.c:
2540 Fill in missing info in docs.
2541 * gunixinputstream.c:
2542 * gunixoutputstream.c:
2543 Be more expressive in short description.
2545 Remove gtk-doc stubs for non-public API.
2547 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2549 * *.c: Coding style fixups
2551 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2553 * inotify/inotify-helper.c: Don't export the lock from libgio.
2555 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2558 * abicheck.sh: Fix copy-and-paste leftovers
2560 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2562 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2564 2007-11-28 Alexander Larsson <alexl@redhat.com>
2568 Removed unnecessary file
2570 * gdesktopappinfo.[ch]:
2573 * glocaldirectorymonitor.[ch]:
2575 * glocalfileenumerator.[ch]:
2576 * glocalfileinputstream.[ch]:
2577 * glocalfilemonitor.[ch]:
2578 * glocalfileoutputstream.[ch]:
2580 * gnativevolumemonitor.c:
2581 * gpollfilemonitor.[ch]:
2582 * gunionvolumemonitor.[ch]:
2585 * gunixvolumemonitor.[ch]:
2588 * inotify/ginotifydirectorymonitor.[ch]:
2589 * inotify/ginotifyfilemonitor.[ch]:
2590 * inotify/inotify-helper.c:
2591 Append _ to all internal functions
2595 Export symbols needed for modules
2597 2007-11-28 Alexander Larsson <alexl@redhat.com>
2600 * abicheck.sh: Added.
2601 * makegioalias.pl: Added.
2602 * pltcheck.sh: Added.
2603 * gio.symbols: Added.
2606 Initial work on adding symbol handling.
2609 Correct ifdef guard name
2612 * inotify/Makefile.am:
2613 * xdgmime/Makefile.am:
2614 Include toplevel Makefile.decl
2616 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2618 * gcontenttype.c: Move doc comments to the unix section.
2620 * *.[hc]: More trivial doc corrections.
2622 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2624 * gpollfilemonitor.c:
2628 * gdesktopappinfo.c:
2633 * gdatainputstream.c:
2634 * gdatainputstream.h:
2635 * gdataoutputstream.c:
2636 * gdataoutputstream.h:
2637 * gfileinfo.h: Doc cleanups
2639 2007-11-28 Andre Klapper <a9016009@gmx.de>
2641 * gdesktopappinfo.c: Fix a typo.
2643 2007-11-27 Andre Klapper <a9016009@gmx.de>
2645 * glocalfileoutputstream.c: Fix a typo.
2647 2007-11-27 Alexander Larsson <alexl@redhat.com>
2650 Don't include removed headers
2652 2007-11-27 Alexander Larsson <alexl@redhat.com>
2655 * gsocketinputstream.[ch]: Removed.
2656 * gsocketoutputstream.[ch]: Removed.
2657 * gunixinputstream.[ch]: Added.
2658 * gunixoutputstream.[ch]: Added.
2659 Renamed GSocket*Stream to GUnix*Stream and made
2660 it unix-only, since its not really only for sockets
2661 and it only works on unix (but is highly useful there).
2663 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2669 * gbufferedinputstream.c:
2670 * gbufferedinputstream.h:
2671 * gbufferedoutputstream.c:
2672 * gbufferedoutputstream.h:
2676 * gdatainputstream.c:
2677 * gdatainputstream.h:
2678 * gdataoutputstream.c:
2679 * gdataoutputstream.h:
2680 * gdirectorymonitor.c:
2681 * gdirectorymonitor.h:
2688 * gfileenumerator.c:
2689 * gfileenumerator.h:
2694 * gfileinputstream.c:
2695 * gfileinputstream.h:
2698 * gfilenamecompleter.c:
2699 * gfilenamecompleter.h:
2700 * gfileoutputstream.c:
2701 * gfileoutputstream.h:
2702 * gfilterinputstream.c:
2703 * gfilterinputstream.h:
2704 * gfilteroutputstream.c:
2705 * gfilteroutputstream.h:
2718 * glocalfileoutputstream.c:
2719 * gmemoryinputstream.c:
2720 * gmemoryinputstream.h:
2721 * gmemoryoutputstream.c:
2722 * gmemoryoutputstream.h:
2723 * gmountoperation.c:
2724 * gmountoperation.h:
2727 * gpollfilemonitor.c:
2730 * gsimpleasyncresult.c:
2731 * gsimpleasyncresult.h:
2732 * gsocketinputstream.c:
2733 * gsocketinputstream.h:
2734 * gsocketoutputstream.c:
2735 * gsocketoutputstream.h:
2742 * gunixvolumemonitor.c:
2751 Bumps documentation to 93% symbol coverage, touching most
2752 of the public files. Fixes broken function documentation prototypes.
2753 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2754 gtk-doc headers in private files.
2756 2007-11-27 Jürg Billeter <j@bitron.ch>
2758 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2759 (g_buffered_input_stream_read_byte):
2760 * gbufferedinputstream.h:
2761 New functions for efficient access to buffer and simple single byte
2764 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2765 (g_data_input_stream_read_until):
2766 * gdatainputstream.h:
2767 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2768 read_until with multiple stop chars.
2770 2007-11-27 Alexander Larsson <alexl@redhat.com>
2774 * inotify/Makefile.am:
2775 Use the user-specified giomoduledir
2777 2007-11-27 Alexander Larsson <alexl@redhat.com>
2781 Add catch-all gio.h header
2782 Don't install gdummyfile.h
2784 2007-11-26 Alexander Larsson <alexl@redhat.com>
2786 * Makefile.am (gioinclude_HEADERS):
2787 Remove trailing whitespace
2789 2007-11-26 Alexander Larsson <alexl@redhat.com>
2791 Merge gio-standalone into glib
2793 2007-11-25 Christian Kellner <gicmo@gnome.org>
2795 * gio/goutputstream.c:
2796 Fix small mistake in the docs.
2798 2007-11-21 Christian Persch <chpe@gnome.org>
2800 * gio/glocalfile.c: (g_local_file_trash):
2801 Convert filenames to UTF-8 for GError.
2802 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2803 as per xdg base dir spec.
2805 2007-11-21 Christian Persch <chpe@gnome.org>
2807 * gio/gdesktopappinfo.c:
2808 Use that g_key_file_to_data cannot fail.
2810 Use stock defines for the key file group and key names.
2813 2007-11-21 Alexander Larsson <alexl@redhat.com>
2816 (copy_stream_with_progress):
2817 Make sure we do a final progress callback with
2818 the full total size.
2820 2007-11-21 Alexander Larsson <alexl@redhat.com>
2823 Export g_file_copy_attributes
2824 Remove padding as its not needed for interfaces
2826 2007-11-20 Alexander Larsson <alexl@redhat.com>
2831 Add G_IO_ERROR_WOULD_MERGE for
2832 copy/move dir on dir with overwrite.
2834 2007-11-20 Alexander Larsson <alexl@redhat.com>
2837 * gio/glocalfileinfo.c:
2838 Add COPY_NAME (this is an optional
2839 non-modified utf8 version of the name) that
2842 2007-11-20 Alexander Larsson <alexl@redhat.com>
2844 * gio/glocalfileenumerator.c:
2845 Report errors as GIOError, not GFileError
2847 2007-11-16 Alexander Larsson <alexl@redhat.com>
2849 * gio/glocalfileoutputstream.c:
2850 * gio/gwin32appinfo.c:
2851 Fix typos in strings.
2852 Patch from Luca Ferretti <elle.uca@libero.it>
2854 2007-11-15 Alexander Larsson <alexl@redhat.com>
2857 Post release version bump
2859 === gio-standalone 0.1.2 ===
2861 2007-11-15 Alexander Larsson <alexl@redhat.com>
2863 * docs/reference/gio/Makefile.am:
2864 Fix up distcheck by removing weird
2870 2007-11-14 Alexander Larsson <alexl@redhat.com>
2872 * gio/gdesktopappinfo.c:
2873 * gio/glocaldirectorymonitor.c:
2875 * gio/glocalfileinfo.c:
2876 * gio/inotify/inotify-sub.c:
2877 * programs/gio-cat.c:
2878 * programs/gio-copy.c:
2879 * programs/gio-info.c:
2880 * programs/gio-ls.c:
2881 * programs/gio-monitor-dir.c:
2882 * programs/gio-monitor-file.c:
2883 * programs/gio-mount.c:
2884 * programs/gio-move.c:
2885 * programs/gio-rm.c:
2886 * programs/gio-save.c:
2887 * programs/gio-trash.c:
2888 Leak fixes from Kjartan Maraas
2890 2007-11-14 Alexander Larsson <alexl@redhat.com>
2892 * gio/fam/fam-helper.c:
2894 * gio/glocalfileinfo.c:
2898 * gio/inotify/inotify-diag.c:
2899 * gio/inotify/inotify-kernel.c:
2900 Various code cleanups from Kjartan Maraas
2902 2007-11-14 Alexander Larsson <alexl@redhat.com>
2904 * gio/gioscheduler.c:
2906 Set up threadpool so that we cache 2 unused
2907 idle threads for at 15 secs. This means we
2908 will reuse thread-local data (like dbus connections)
2911 2007-11-14 Alexander Larsson <alexl@redhat.com>
2913 * gio/fam/fam-helper.c:
2914 * gio/fam/gfamdirectorymonitor.c:
2915 * gio/fam/gfamfilemonitor.c:
2917 * gio/gcontenttype.c:
2918 * gio/gdatainputstream.c:
2919 * gio/gdataoutputstream.c:
2923 * gio/gfileattribute.h:
2924 * gio/gfileenumerator.c:
2926 * gio/ginputstream.c:
2929 * gio/glocalfileinfo.c:
2930 * gio/goutputstream.c:
2931 * gio/gpollfilemonitor.c:
2932 * gio/gsimpleasyncresult.c:
2933 * gio/gunixmounts.c:
2934 * gio/gunixmounts.h:
2935 * gio/inotify/ginotifydirectorymonitor.c:
2936 * gio/inotify/ginotifyfilemonitor.c:
2937 * gio/inotify/inotify-diag.c:
2938 * gio/inotify/inotify-kernel.c:
2939 * gio/inotify/inotify-path.c:
2941 * gio/test-streams.c:
2942 * programs/gio-info.c:
2943 * programs/gio-monitor-dir.c:
2944 * programs/gio-monitor-file.c:
2945 Various code cleanups from Kjartan Maraas
2947 2007-11-13 Alexander Larsson <alexl@redhat.com>
2950 Handle the uri-scheme calls for dummy files
2952 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2954 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2955 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2956 to avoid clash with the C++ keyword.
2958 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2960 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2961 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2963 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2965 * gio/glocaldirectorymonitor.c:
2966 * gio/glocalfilemonitor.c:
2967 * gio/gunionvolumemonitor.c:
2968 Don't use g_once_init_*() for initializations that could fail and
2969 could leave the initialization variable set to 0 but use GOnce.
2970 This prevents a deadlock on the second call when trying to create
2971 a monitor and no monitor type is available. Thanks to Sven Herzberg
2974 2007-11-11 Sven Herzberg <sven@imendio.com>
2976 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2977 #ifdef (make it work on MacOS X again)
2979 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2981 Fixes Changelog for last two commits (sorry guys).
2983 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2985 * gio/gbufferedinputstream.c:
2986 * gio/gdatainputstream.c:
2988 * gio/gfileoutputstream.c:
2989 * gio/gfilterinputstream.c:
2990 * gio/glocalfileinputstream.c:
2993 More consistency fixes in g*stream.c files.
2994 Significant clean of gfile's documentation, filling in of
2995 asynchronous operations documentation.
2997 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2999 * gio/gasyncresult.c:
3000 * gio/gbufferedinputstream.c:
3001 * gio/gbufferedoutputstream.c:
3002 * gio/gcancellable.c:
3003 * gio/gcontenttype.c:
3004 * gio/gdatainputstream.c:
3005 * gio/gdataoutputstream.c:
3006 * gio/gdesktopappinfo.c:
3009 * gio/gfileattribute.c:
3010 * gio/gio/gfileenumerator.c:
3012 * gio/gfileinputstream.c:
3013 * gio/gfilemonitor.c:
3014 * gio/gfileoutputstream.c:
3015 * gio/ginputstream.c:
3017 * gio/gioscheduler.c:
3018 * gio/gloadableicon.c:
3019 * gio/glocalfileoutputstream.c:
3020 * gio/gmemoryoutputstream.c:
3021 * gio/gmountoperation.c:
3022 * gio/goutputstream.c:
3024 * gio/gsimpleasyncresult.c:
3025 * gio/gunionvolumemonitor.c:
3026 * gio/gunixmounts.c:
3027 * gio/gunixvolume.c:
3031 * gio/gvolumemonitor.c:
3032 Updated documentation stubs, working towards consistency and
3035 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3037 * gio/gmemoryoutputstream.c:
3038 * gio/gmemoryoutputstream.h:
3039 Change g_memory_output_stream_set_free_on_close() to
3040 g_memory_output_stream_set_free_data() as this makes more sense and
3041 is more consistent with GMemoryInputStream.
3043 2007-11-07 Alexander Larsson <alexl@redhat.com>
3050 Change how we find the default vfs so that
3051 we can handle a gvfs failing to init
3053 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3055 * gio/gbufferedoutputstream.c:
3056 * gio/gdatainputstream.c:
3057 * gio/gdataoutputstream.c:
3058 * gio/gfileinputstream.c:
3059 * gio/gfileoutputstream.c:
3060 * gio/gfilterinputstream.c:
3061 * gio/gfilteroutputstream.c:
3062 * gio/ginputstream.c:
3063 * gio/gmemoryinputstream.c:
3064 * gio/gmemoryoutputstream.c:
3065 * gio/goutputstream.c:
3066 * gio/gsimpleasyncresult.c:
3067 * gio/gsocketinputstream.c:
3068 * gio/gsocketoutputstream.c:
3069 Add guards to the remaining public functions, add a TODO for
3070 an unimplemented function and remove some useless guards.
3072 2007-11-07 Alexander Larsson <alexl@redhat.com>
3075 Autoconf checks for the various types of
3076 getpwuid_r and getgrgid_r
3078 * gio/glocalfileinfo.c:
3079 Use the autoconf checks from above
3081 2007-11-07 Alexander Larsson <alexl@redhat.com>
3084 (g_local_file_query_filesystem_info):
3085 Some fixes for the statvfs case
3087 2007-11-07 Alexander Larsson <alexl@redhat.com>
3090 (g_local_file_query_filesystem_info):
3091 Pick the "best" of statfs / statvfs for the system
3092 if both are availible.
3094 2007-11-07 Alexander Larsson <alexl@redhat.com>
3096 Solaris fixes from Halton.Huo@Sun.COM:
3103 * gio/glocalfileinfo.c:
3104 Fix for solaris definition of getpwuid_r
3106 * gio/test-streams.c:
3107 Use G_GNUC_PRETTY_FUNCTION
3109 2007-11-07 Alexander Larsson <alexl@redhat.com>
3111 * gio/gdesktopappinfo.c:
3112 (update_default_list):
3113 Remove double semicolon.
3114 Patch from Jens Granseuer
3116 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3118 * docs/reference/gio/gio-sections.txt:
3119 * gio/gbufferedinputstream.c:
3120 * gio/gbufferedinputstream.h:
3121 * gio/gdatainputstream.c:
3122 * gio/gfileenumerator.c:
3123 * gio/gioscheduler.c:
3124 * gio/gunionvolumemonitor.c:
3126 * programs/gio-save.c:
3127 Fix typo: availible -> available. Unfortuntely this breaks API
3128 and ABI as g_buffered_input_stream_get_available() was renamed.
3130 * gio/gunixmounts.c:
3131 * gio/gbufferedinputstream.c:
3132 Add guards for public functions.
3134 2007-11-06 Ross Burton <ross@openedhand.com>
3136 * docs/reference/gio/Makefile.am:
3137 Fix invalid += usage which automake 1.10 doesn't like.
3139 2007-11-06 Alexander Larsson <alexl@redhat.com>
3142 (g_app_launch_context_class_init):
3145 Patch from Ross Burton
3147 2007-11-06 Alexander Larsson <alexl@redhat.com>
3150 Post release version bump
3152 === gio-standalone 0.1.1 ===
3154 2007-11-06 Alexander Larsson <alexl@redhat.com>
3157 Bump version to 0.1.1
3159 * gio/gsimpleasyncresult.c:
3160 (g_simple_async_result_set_from_error):
3161 Remove bogus g_return_if_fail
3163 2007-11-06 Alexander Larsson <alexl@redhat.com>
3166 The name is gio-standalone
3169 Add top src/builddir to includedir
3171 2007-11-06 Alexander Larsson <alexl@redhat.com>
3173 * docs/reference/gio/gio-sections.txt:
3175 * gio/gbufferedinputstream.c:
3176 * gio/gbufferedoutputstream.c:
3177 * gio/gcancellable.c:
3178 * gio/gdatainputstream.h:
3179 * gio/gdataoutputstream.c:
3180 * gio/gdataoutputstream.h:
3181 * gio/gdirectorymonitor.c:
3183 * gio/gfileattribute.c:
3184 * gio/gfileattribute.h:
3185 * gio/gfileenumerator.c:
3186 * gio/gfileenumerator.h:
3189 * gio/gfileinputstream.h:
3190 * gio/gfilemonitor.c:
3191 * gio/gfileoutputstream.h:
3192 * gio/glocalfilemonitor.h:
3193 * gio/glocalfileoutputstream.h:
3194 * gio/gmemoryinputstream.c:
3195 * gio/gmemoryoutputstream.c:
3196 * gio/gmountoperation.c:
3197 * gio/goutputstream.c:
3198 * gio/goutputstream.h:
3200 * gio/gsimpleasyncresult.c:
3201 * gio/gunixmounts.c:
3202 * gio/gunixmounts.h:
3204 * gio/inotify/inotify-helper.c:
3205 Fix gtk-doc warnings
3207 Patch from Ross Burton
3209 2007-11-06 Alexander Larsson <alexl@redhat.com>
3211 * gio/gfilenamecompleter.c:
3212 (g_filename_completer_get_completions):
3215 * gio/gunixvolume.c:
3216 Remove unused function
3218 Patches from Ross Burton
3220 2007-11-06 Alexander Larsson <alexl@redhat.com>
3225 Padding not needed for interfaces
3227 2007-11-06 Alexander Larsson <alexl@redhat.com>
3229 * gio/gfilemonitor.c:
3233 Make giotypes.h an internal file
3236 * gio/gbufferedinputstream.h:
3237 * gio/gbufferedoutputstream.h:
3238 * gio/gcancellable.h:
3239 * gio/gdatainputstream.h:
3240 * gio/gdataoutputstream.h:
3241 * gio/gdirectorymonitor.c:
3242 * gio/gdirectorymonitor.h:
3247 * gio/gfileattribute.h:
3248 * gio/gfileenumerator.h:
3253 * gio/gfilemonitor.c:
3254 * gio/gfilemonitor.h:
3255 * gio/gfilenamecompleter.c:
3256 * gio/gfilenamecompleter.h:
3257 * gio/gfilterinputstream.h:
3258 * gio/gfilteroutputstream.h:
3259 * gio/ginputstream.h:
3260 * gio/gmemoryinputstream.h:
3261 * gio/gmemoryoutputstream.h:
3262 * gio/gmountoperation.c:
3263 * gio/gmountoperation.h:
3264 * gio/gnativevolumemonitor.c:
3265 * gio/goutputstream.h:
3268 * gio/gsimpleasyncresult.c:
3269 * gio/gsimpleasyncresult.h:
3270 * gio/gsocketinputstream.h:
3271 * gio/gsocketoutputstream.h:
3272 * gio/gthemedicon.c:
3273 * gio/gthemedicon.h:
3277 * gio/gvolumemonitor.c:
3278 * gio/gvolumemonitor.h:
3279 Add padding in classes where it seems useful
3280 Don't include giotypes.h from public headers
3281 Move in Class definitions into c file where possible
3286 2007-11-06 Alexander Larsson <alexl@redhat.com>
3288 * docs/reference/gio/gio-docs.xml:
3289 Better structure for API docs
3291 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3294 * gio/gloadableicon.c:
3295 * gio/gsimpleasyncresult.c:
3296 * gio/gthemedicon.c:
3297 Add some more guards to public functions. Only files missing are now
3300 2007-11-06 Alexander Larsson <alexl@redhat.com>
3302 * docs/reference/gio/gio-docs.xml:
3303 Remove old files, add missing ones
3305 2007-11-06 Alexander Larsson <alexl@redhat.com>
3307 * docs/reference/gio/gio-sections.txt:
3310 Hide implementation classes
3312 * gio/gdriveprivate.h:
3313 * gio/gvolumeprivate.h:
3314 Remove non-existing function declarations
3316 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3319 Fix compilation warnings and add guards to the new functions.
3321 * gio/gasyncresult.c:
3323 Add guards to the public functions.
3326 Implement get_path().
3328 2007-11-06 Alexander Larsson <alexl@redhat.com>
3330 * gio/gfilenamecompleter.c:
3331 Make g_filename_completer_get_completions
3332 return char ** instead of GList for
3335 * docs/reference/gio/gio-docs.xml:
3336 * docs/reference/gio/gio-sections.txt:
3338 * gio/gasyncresult.c:
3339 * gio/gbufferedinputstream.c:
3340 * gio/gbufferedoutputstream.c:
3341 * gio/gcancellable.c:
3342 * gio/gcontenttype.c:
3343 * gio/gdatainputstream.c:
3344 * gio/gdataoutputstream.c:
3345 * gio/gdesktopappinfo.c:
3346 * gio/gdirectorymonitor.c:
3350 * gio/gfileattribute.c:
3351 * gio/gfileenumerator.c:
3354 * gio/gfileinputstream.c:
3355 * gio/gfilemonitor.c:
3356 * gio/gfilenamecompleter.c:
3357 * gio/gfilenamecompleter.h:
3358 * gio/gfileoutputstream.c:
3359 * gio/gfilterinputstream.c:
3361 * gio/ginputstream.c:
3363 * gio/gioscheduler.c:
3364 * gio/gloadableicon.c:
3365 * gio/glocaldirectorymonitor.c:
3367 * gio/glocalfileinputstream.c:
3368 * gio/glocalfilemonitor.c:
3369 * gio/glocalfileoutputstream.c:
3371 * gio/gmemoryinputstream.c:
3372 * gio/gmemoryoutputstream.c:
3373 * gio/gmountoperation.c:
3374 * gio/goutputstream.c:
3375 * gio/gpollfilemonitor.c:
3377 * gio/gsimpleasyncresult.c:
3378 * gio/gsocketinputstream.c:
3379 * gio/gsocketoutputstream.c:
3380 * gio/gthemedicon.c:
3381 * gio/gunionvolumemonitor.c:
3383 * gio/gunixmounts.c:
3384 * gio/gunixvolume.c:
3385 * gio/gunixvolumemonitor.c:
3389 * gio/gvolumemonitor.c:
3390 * gio/gwin32appinfo.c:
3391 Add (mostly stub) doc strings to public functions.
3392 Patch from Andrew Walton (awalton@gmail.com)
3394 2007-11-06 Alexander Larsson <alexl@redhat.com>
3396 * gio/gappinfo.[ch]:
3397 Added GAppLaunchContext object and pass that to launch.
3398 This allows simple implementation of both
3399 launch-on-screen and startup notification via a gtk+
3400 subclass of GAppLaunchContext
3402 * gio/gdesktopappinfo.c:
3403 Implement GAppLaunchContext API
3405 * gio/gwin32appinfo.c:
3408 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3410 * gio/gmountoperation.c:
3411 Add some guards to GMountOperation's public functions.
3413 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3417 * gio/gcancellable.c:
3418 * gio/gdirectorymonitor.c:
3420 * gio/gfileenumerator.c:
3421 * gio/gfilemonitor.c:,
3422 * gio/gfilenamecompleter.c:
3425 * gio/gioscheduler.c:
3429 * gio/gvolumemonitor.c:
3430 Add even more guards to various public functions.
3432 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3435 Add guards to the public functions of GAppInfo.
3437 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3439 * gio/gcontenttype.c:
3440 Add some more guards for public functions.
3442 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3444 * gio/fam/fam-module.c:
3445 * gio/fam/gfamdirectorymonitor.c:
3446 * gio/fam/gfamdirectorymonitor.h:
3447 * gio/fam/gfamfilemonitor.c:
3448 * gio/fam/gfamfilemonitor.h:
3449 * gio/inotify/ginotifydirectorymonitor.c:
3450 * gio/inotify/ginotifydirectorymonitor.h:
3451 * gio/inotify/ginotifyfilemonitor.c:
3452 * gio/inotify/ginotifyfilemonitor.h:
3453 Add proper copyright information and remove an unused variable
3454 in the GInotifyFileMonitor constructor.
3456 * gio/gcancellable.c:
3457 Add a guard for a public function and an assertion to prevent
3458 an undefined program state.
3460 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3462 * gio/gfileattribute.c:
3463 Don't run into an assertion if the given attribute value is NULL
3464 in g_file_attribute_value_get_*() but instead return a fallback
3465 value that makes sense in most situations. Passing them a attribute
3466 value with the wrong type will still run into an assertion.
3468 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3470 * gio/gfileattribute.c:
3472 Add even more guards to the public functions. Also fix the refcounting
3473 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3474 let g_file_info_list_attributes() filter the attributes by namespace
3475 instead of simply ignoring the namespace parameter.
3477 2007-11-03 Sven Herzberg <sven@imendio.com>
3479 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3480 (This makes gio work on MacOS X again)
3482 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3485 Build the gio subdirectory before the docs. Otherwise the build will
3488 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3489 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3490 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3491 Add guards to the public functions.
3493 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3495 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3496 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3497 to prevent a compiler warning.
3499 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3500 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3501 return something in the non-void function find_topdir_for().
3503 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3510 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3512 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3513 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3514 * gwin32appinfo.c (g_win32_app_info_launch):
3515 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3516 envp_for_startup_id, g_desktop_app_info_launch,
3517 g_desktop_app_info_launch_uris):
3519 Give an opaque 'startup_id' string instead of 'envp'.
3520 Support empty file lists for launching new windows.
3521 Fix infinite recursion bug when launching URIs.
3523 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3526 Add guard to the new g_file_get_uri_scheme() function.
3528 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3531 Convert a g_return_val_if_fail() to setting the GError instead as
3532 otherwise applications have to verify the parameter before otherwise
3533 and the parameter might come directly from the user.
3535 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3537 * gio/inotify/ginotify*.[ch]:
3538 Add missing copyright information.
3540 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3543 Add guards in the beginning of public functions to check for valid
3544 parameters and fix a bug in copy_stream_with_progress() that could've
3545 caused writing less bytes than reading.
3546 * gio/glocalfileinfo.c:
3547 Check for a NULL parameter and set the GError accordingly then.
3548 * gio/goutputstream.c:
3549 Fix the same bug as in gfile.c that could've caused writing less bytes
3550 than reading in g_output_stream_real_splice().
3552 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3555 Use the correct gvolumeprivate.h naming
3557 2007-11-01 Christian Kellner <gicmo@gnome.org>
3560 Remove leftover "$(daemon_sources)" entry.
3562 2007-11-01 Christian Kellner <gicmo@gnome.org>
3567 Add copyright information to source files.
3569 2007-11-01 Alexander Larsson <alexl@redhat.com>
3573 Add g_file_get_uri_scheme
3575 2007-11-01 Alexander Larsson <alexl@redhat.com>
3578 * gio/gdesktopappinfo.c:
3579 * gio/gwin32appinfo.c:
3580 Add g_app_info_get_default_for_uri_scheme.
3582 2007-11-01 Alexander Larsson <alexl@redhat.com>
3585 Correct filename for gdriveprivate.h
3587 2007-10-31 Alexander Larsson <alexl@redhat.com>
3590 Rename id:value to id:file
3593 * gio/glocalfileinfo.c:
3596 2007-10-31 Alexander Larsson <alexl@redhat.com>
3598 * gio/gunixvolume.c:
3600 Remove g_volume_get_platform_id, as thats not
3601 needed with the simpler union volume monitor
3603 2007-10-31 Alexander Larsson <alexl@redhat.com>
3606 * gio/guniondrive.[ch]: Removed.
3607 * gio/gunionvolume.[ch]: Removed.
3608 Remove GUnionDrive/Volume
3610 * gio/gunionvolumemonitor.c:
3611 Simplify union volume monitor, now we
3612 only have one native volume monitor and
3613 we use the actual volumes/drives from the
3614 child monitors instead of wrapping them
3616 * gio/gnativevolumemonitor.[ch]:
3617 Base class for native volume monitors.
3618 Includes priority and get_volume_for_mountpoint
3621 Add g_file_find_enclosing_volume
3624 Remove volume name fs attribute
3625 Add readonly fs attribute
3628 Implement readonly attribute
3629 remove volume name attribute
3630 Implement find_enclosing volume
3632 * gio/gunixmounts.c:
3633 Add a volume for "/".
3635 * gio/gunixvolume.[ch]:
3636 Set better name for /
3638 * gio/gunixvolumemonitor.[ch]:
3639 Derive from GNativeVolumeMonitor
3640 Implement get_volume_for_mountpoint
3643 GVolume typedef moved to gfile.h
3645 * gio/gvolumeprivate.h:
3646 Add g_volume_get_for_mount_path
3648 2007-10-31 Alexander Larsson <alexl@redhat.com>
3650 * gio/gunixmounts.[ch]:
3651 Add cache info to unix mount listers
3652 Make getmntent use threadsafe
3653 Add is_system_internal attribute for GUnixMount
3655 * gio/gunixvolume.c:
3656 (g_unix_volume_new):
3657 Use is_system_internal instead of own code
3659 * gio/glocaldirectorymonitor.c:
3660 * gio/gunixvolumemonitor.c:
3661 Update to new gunixmounts API
3666 2007-10-30 Alexander Larsson <alexl@redhat.com>
3669 Add volume name fsinfo attribute
3672 Read volume name info
3674 * gio/gunionvolumemonitor.c:
3675 Fix infinite loops when finalizing a union volume monitor
3677 2007-10-30 Alexander Larsson <alexl@redhat.com>
3679 * gio/goutputstream.[ch]:
3680 Add splice() with default implementation
3682 * gio/gsocketoutputstream.c:
3683 (g_socket_output_stream_write):
3684 Return error on cancellation correctly.
3686 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3688 * gio/glocalfile.c (g_local_file_trash):
3689 Do not leak a string.
3691 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3693 * gio/gfile.c (g_file_load_contents):
3694 Unref the stream after closing it.
3696 2007-10-25 Alexander Larsson <alexl@redhat.com>
3698 * gio/gioscheduler.h:
3701 2007-10-25 Alexander Larsson <alexl@redhat.com>
3705 Add g_file_has_uri_scheme and implement for local files
3707 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3709 * gio/gdesktopappinfo.c: do not leak a string.
3711 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3713 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3714 (g_local_directory_monitor_new):
3715 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3716 (g_local_file_monitor_new):
3717 Only look for the monitor type that should be used the first time
3718 and use g_qsort_with_data() instead of our own bubble sort
3721 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3724 * gio/fam/Makefile.am:
3725 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3726 * gio/fam/fam-helper.h:
3727 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3728 * gio/fam/gfamdirectorymonitor.c:
3729 * gio/fam/gfamdirectorymonitor.h:
3730 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3731 * gio/fam/gfamfilemonitor.h:
3732 * gio/glocaldirectorymonitor.c:
3733 * gio/glocaldirectorymonitor.h:
3734 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3735 * gio/glocalfilemonitor.h:
3736 * gio/inotify/Makefile.am:
3737 * gio/inotify/ginotifydirectorymonitor.c:
3738 * gio/inotify/ginotifydirectorymonitor.h:
3739 * gio/inotify/ginotifyfilemonitor.c:
3740 * gio/inotify/ginotifyfilemonitor.h:
3741 Implement the FAM and Inotify monitors as
3742 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3743 their own GIO module. GLocal(Directory|File)Monitor will use the
3744 monitor with the highest rank that is supported on that machine.
3746 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3749 Change GIO module dir to $(libdir)/gio/modules and change
3750 the log domain from GVFS to GIO. Also only export symbols starting
3751 with g_ in the resulting library.
3752 * gio/test-streams.c: (main):
3753 Set log handler for the GIO log domain.
3755 2007-10-22 Alexander Larsson <alexl@redhat.com>
3757 * gio/gfilenamecompleter.[ch]:
3758 Add g_filename_completer_set_dirs_only
3760 2007-10-22 Alexander Larsson <alexl@redhat.com>
3763 * gio/gurifuncs.[ch]:
3764 Add some simple URI helpers
3766 * gio/gfilenamecompleter.[ch]:
3767 Added object for filename (parse name actually) completion
3770 Handle ~ in parse names
3772 2007-10-17 Alexander Larsson <alexl@redhat.com>
3775 * gio/glocalfileinfo.c:
3776 Add and implement id:value attribute
3778 2007-10-17 Alexander Larsson <alexl@redhat.com>
3781 * gio/guniondrive.c:
3783 Add and implement g_drive_has_volumes
3785 2007-10-17 Alexander Larsson <alexl@redhat.com>
3788 * gio/glocalfileinfo.[ch]:
3789 Add unix:is_mountpoint and implement for local files
3791 2007-10-16 Alexander Larsson <alexl@redhat.com>
3793 * gio/gunionvolumemonitor.c:
3794 (g_union_volume_monitor_init):
3795 Fix up the unix type getting so that it works with gcc
3797 2007-10-12 Alexander Larsson <alexl@redhat.com>
3800 * gio/glocalfileinfo.c:
3801 Add thumbnail:failed to file info
3803 2007-10-12 Richard Hult <richard@imendio.com>
3805 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3806 optimizing away the get_type call (happens with some gcc versions,
3807 like the one shipped with OS X 10.4).
3809 2007-10-12 Alexander Larsson <alexl@redhat.com>
3811 * gio/glocalfileinfo.c:
3812 (_g_local_file_info_set_attribute):
3813 Fix build if not HAVE_XATTR
3814 Patch from Milosz Derezynski <internalerror@gmail.com>
3816 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3818 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3819 around for review, otherwise I would have asked you before
3822 2007-10-11 Alexander Larsson <alexl@redhat.com>
3825 Add thumbnail:path attribute
3827 * gio/glocalfileinfo.c:
3828 Implement thumbnail:path for local files
3830 2007-10-11 Alexander Larsson <alexl@redhat.com>
3832 * gio/glocalfileinfo.c:
3833 (_g_local_file_info_get):
3834 Avoid duplicate icon names
3836 2007-10-11 Alexander Larsson <alexl@redhat.com>
3838 * gio/gthemedicon.[ch]:
3839 Change g_themed_icon_get_names return type to const
3841 2007-10-10 Alexander Larsson <alexl@redhat.com>
3843 * gio/glocalfileinfo.c:
3844 Don't reference freed memory
3846 2007-10-10 Alexander Larsson <alexl@redhat.com>
3848 * gio/gfileattribute.c:
3851 * gio/glocalfileinfo.c:
3854 2007-10-10 Alexander Larsson <alexl@redhat.com>
3857 Check for NULL icons
3859 * gio/gfileattribute.c:
3860 Don't dup when getting objects (same as for string attributes)
3862 * gio/gicon.c (g_icon_equal):
3863 Safely handle NULLs in equal
3865 2007-10-10 Alexander Larsson <alexl@redhat.com>
3868 Fix c++ compilation issues
3869 Patch from Milosz Derezynski <internalerror@gmail.com>
3871 2007-10-10 Alexander Larsson <alexl@redhat.com>
3873 * programs/gio-monitor-dir.c:
3874 Don't crash if dir monitor not supported.
3876 2007-10-09 Alexander Larsson <alexl@redhat.com>
3879 Add missing G_END_DECLS
3881 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3883 * gio/gfile.c: (g_file_set_display_name),
3884 (g_file_query_settable_attributes),
3885 (g_file_query_writable_namespaces):
3886 Return NULL not FALSE on errors as the return type is a pointer.
3888 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3890 * gio/glocalfile.c: (g_local_file_monitor_file):
3891 Don't call monitor_file on the default interface vtable (which
3892 is NULL) but simply return NULL. The caller, GFile, will create a
3893 polling monitor if NULL is returned.
3895 2007-10-09 Alexander Larsson <alexl@redhat.com>
3899 * gio-unix-2.0.pc.in:
3900 Add gio-unix-2.0.pc if OS_UNIX
3903 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3905 2007-10-09 Alexander Larsson <alexl@redhat.com>
3907 * gio/gunixmounts.[ch]:
3908 Make unix mount monitoring API sane.
3909 Now its just a object with mounts_changed
3910 and mountpoints_changed signals.
3912 * gio/glocaldirectorymonitor.c:
3913 * gio/gunixvolumemonitor.c:
3914 Use new mount monitor api
3916 2007-10-09 Alexander Larsson <alexl@redhat.com>
3918 * gio/gunixmounts.[ch]:
3919 Move guess type into one call for mounts and one for mountpoints
3922 * gio/gunixvolume.c:
3925 2007-10-09 Alexander Larsson <alexl@redhat.com>
3927 * gio/gunixmounts.[ch]:
3928 Remove _ prefix in preparation to make this semi-public
3929 Hide implementation of structs
3931 * gio/glocaldirectorymonitor.c:
3933 * gio/gunixvolume.c:
3934 * gio/gunixvolumemonitor.c:
3935 Update for above API changes
3937 2007-10-08 Alexander Larsson <alexl@redhat.com>
3940 Better polling fallback. This also handles the case where we have
3941 a monitor_file implementation, but it fails.
3943 2007-10-08 Alexander Larsson <alexl@redhat.com>
3947 * gio/gunixmounts.c:
3948 * programs/gio-monitor-dir.c:
3949 * programs/gio-monitor-file.c:
3950 Added cancellable to file monitoring calls.
3951 These are really sync calls and need this.
3953 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3955 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3956 (g_local_vfs_class_init):
3957 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3958 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3960 2007-10-05 Alexander Larsson <alexl@redhat.com>
3962 * gio/gdirectorymonitorprivate.h:
3963 * gio/gfilemonitorprivate.h:
3964 * gio/gdirectorymonitor.h:
3965 * gio/gfilemonitor.h:
3966 Remove *private.h and move to the public API, so that
3967 we can do implementations outside gio (such as in gvfs)
3969 * gio/gdirectorymonitor.c:
3970 * gio/gfilemonitor.c:
3971 * gio/glocaldirectorymonitor.c:
3972 * gio/gpollfilemonitor.c:
3973 * gio/inotify/inotify-helper.c:
3974 * gio/fam/fam-helper.c:
3975 Update to the new header names
3977 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3979 * gio/gdirectorymonitor.c:
3980 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3983 2007-10-04 Alexander Larsson <alexl@redhat.com>
3985 * gio/glocalfileinfo.c (get_access_rights):
3986 Set CAN_TRASH when we can move the file.
3987 We should really also check for a parent trash dir.
3989 2007-10-04 Alexander Larsson <alexl@redhat.com>
3991 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3992 Add can_trash access attribute
3994 2007-10-04 Alexander Larsson <alexl@redhat.com>
3997 (g_local_file_trash):
3998 Create info file first. This is per-spec and allows
3999 us to actually trash directories.
4001 2007-10-02 Alexander Larsson <alexl@redhat.com>
4003 * gio/gdesktopappinfo.c:
4004 Implement the new mime support code.
4005 Always set app as handling mimetype when being set as default for it
4007 2007-10-01 Alexander Larsson <alexl@redhat.com>
4009 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4010 Fix up check for xattrs:
4012 2007-10-01 Alexander Larsson <alexl@redhat.com>
4015 (g_app_info_set_as_default_for_extension):
4016 (g_app_info_add_supports_type):
4017 (g_app_info_can_remove_supports_type):
4018 (g_app_info_remove_supports_type):
4019 Make these fail nicely if not implemented
4021 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4023 * gio/glocalfileoutputstream.c:
4024 * gio/glocalfileoutputstream.h:
4029 * programs/gio-save.c:
4030 Add a GFileCreateFlags argument to operations that can create
4033 2007-10-01 Alexander Larsson <alexl@redhat.com>
4035 * gio/gappinfo.[ch]:
4036 * gio/gdesktopappinfo.c:
4037 Add more (stubbed out) mime API needed for nautilus
4039 2007-10-01 Alexander Larsson <alexl@redhat.com>
4042 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4043 Add g_app_info_set_as_default_for_extension.
4045 * gio/gdesktopappinfo.c:
4046 Dummy for g_app_info_set_as_default_for_extension
4047 Support flags in g_app_info_create_from_commandline
4049 * gio/gwin32appinfo.c:
4051 Update for API changes
4053 * gio/gthemedicon.c:
4054 Properly NULL-terminate list of icon names
4056 2007-09-28 Alexander Larsson <alexl@redhat.com>
4058 * gio/gloadableicon.h:
4059 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4061 2007-09-28 Alexander Larsson <alexl@redhat.com>
4064 Install headers in $includedir/gio-standalone/
4066 * gio-2.0.pc.in: Added.
4067 * gio-standalone.pc.in: Removed.
4070 Renamed pkg-config file to match glib (for future move)
4071 Update to the new include dir
4074 Add more TODO comments
4076 2007-09-28 Alexander Larsson <alexl@redhat.com>
4078 * gio/gdesktopappinfo.[ch]:
4079 Expose new_from_filename
4080 Add getter for is_hidden and handle it better
4082 2007-09-28 Alexander Larsson <alexl@redhat.com>
4084 * gio/gfileinfo.[ch]:
4085 Rename g_file_size_format_for_display to
4086 g_format_file_size_for_display.
4087 Now it doesn't have the g_file prefix, so we
4088 can later move it to glib.
4090 2007-09-28 Alexander Larsson <alexl@redhat.com>
4092 * gio/gappinfo.[ch]:
4093 Add g_app_info_get_id and g_app_info_get_executable.
4094 Make all getters non-reffing
4095 Make g_app_info_launch take GFile arguments.
4096 Add must_support_uris argument to g_app_info_get_default_for_type.
4098 * gio/gwin32appinfo.c:
4099 Update to GAppInfo api changes
4101 * gio/gdesktopappinfo.c:
4102 Update to GAppInfo api changes
4103 Implement supports_xdg_startup_notify
4105 * gio/gfileicon.c (g_file_icon_get_file):
4106 Make getter non-reffing.
4111 2007-09-27 Alexander Larsson <alexl@redhat.com>
4113 * gio/gfileinfo.[ch]:
4114 Add g_file_size_format_for_display helper
4116 2007-09-27 Alexander Larsson <alexl@redhat.com>
4118 * gio/glocalfileinfo.c:
4119 Set UNIX_GID from gid, not from uid
4121 2007-09-27 Alexander Larsson <alexl@redhat.com>
4124 Add g_file_set_attributes_async
4126 2007-09-27 Alexander Larsson <alexl@redhat.com>
4128 * gio/glocalfile.c (g_local_file_set_display_name):
4129 Fix set_display_name to actually rename to the right place.
4130 Use lstat to look for existing files so we don't overwrite
4133 2007-09-26 Alexander Larsson <alexl@redhat.com>
4136 Add g_file_set_display_name_async()
4138 2007-09-26 Alexander Larsson <alexl@redhat.com>
4141 Add load_partial_contents async calls
4144 Make internal function static
4146 2007-09-26 Alexander Larsson <alexl@redhat.com>
4148 * gio/glocalfileinfo.c:
4149 Correctly detect broken symlinks
4151 2007-09-26 Alexander Larsson <alexl@redhat.com>
4153 * gio/gcancellable.c (g_cancellable_cancel):
4154 Allow cancel on NULL cancellable
4156 2007-09-25 Alexander Larsson <alexl@redhat.com>
4158 * gio/gsimpleasyncresult.c:
4159 Don't allocate g_error manually.
4160 Fixes g_slice/g_new mixup crash
4162 2007-09-25 Alexander Larsson <alexl@redhat.com>
4164 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4165 Actually set active_backend.
4166 This means the monitor will be cancelled correctly.
4168 2007-09-25 Alexander Larsson <alexl@redhat.com>
4170 * gio/gdirectorymonitor.c:
4171 Set timeout to NULL when destroying
4173 2007-09-25 Alexander Larsson <alexl@redhat.com>
4176 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4177 that is a better description of the error.
4179 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4181 * gio/gvfs.c: (g_vfs_get_local):
4182 Make the local vfs variable static. The same instance should
4185 2007-09-24 Alexander Larsson <alexl@redhat.com>
4187 * gio/glocalfileinfo.c:
4188 Pass in actual length read into sniffer, not the length
4191 2007-09-21 Alexander Larsson <alexl@redhat.com>
4193 * gio/gfileenumerator.c:
4196 * gio/gfileinputstream.c:
4197 * gio/gfileoutputstream.c:
4198 * gio/ginputstream.c:
4199 * gio/goutputstream.c:
4200 Don't crash if async callbacks are NULL
4202 2007-09-20 Alexander Larsson <alexl@redhat.com>
4205 Add async enumerate_children method and default
4208 2007-09-20 Alexander Larsson <alexl@redhat.com>
4211 Add g_file_contains_file & g_file_get_relative_path, since they
4212 were needed for nautilus.
4213 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4218 Implement new methods
4220 2007-09-17 Alexander Larsson <alexl@redhat.com>
4223 * gio/gfileinputstream.[ch]:
4224 * gio/gfileoutputstream.[ch]:
4226 * gio/glocalfileenumerator.[ch]:
4227 * gio/glocalfileinfo.[ch]:
4228 * gio/glocalfileinputstream.c:
4229 * gio/glocalfileoutputstream.c:
4230 * gio/gpollfilemonitor.c:
4231 * programs/gio-copy.c:
4232 * programs/gio-info.c:
4233 * programs/gio-move.c:
4234 Rename get_file_info to query_info() to make it clearer
4235 that these are not simple getters, but do i/o.
4237 2007-09-17 Alexander Larsson <alexl@redhat.com>
4239 * gio/gdatainputstream.[ch]:
4240 * gio/test-streams.c:
4241 Use _read_XXX instead of _get_XXX for the i/o calls
4244 2007-09-17 Alexander Larsson <alexl@redhat.com>
4247 Added needed stuff to TODO comment
4249 2007-09-17 Alexander Larsson <alexl@redhat.com>
4251 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4252 Don't error out removing the backup copy if it doesn't
4255 2007-09-14 Alexander Larsson <alexl@redhat.com>
4257 * programs/Makefile.am:
4258 * programs/gvfs-*.c:
4260 Renamed apps from gvfs-xxx to gio-xxx.
4262 2007-09-14 Alexander Larsson <alexl@redhat.com>
4265 * gio/gfileoutputstream.[ch]:
4266 * gio/glocalfileoutputstream.c:
4267 * programs/gvfs-save.c:
4268 g_file_output_stream_get_etag doesn't do i/o, so remove
4269 cancellation and error.
4271 2007-09-14 Alexander Larsson <alexl@redhat.com>
4274 Add new_etag output to replace_contents functions
4276 2007-09-14 Alexander Larsson <alexl@redhat.com>
4278 * gio/gfileoutputstream.[ch]:
4279 Add async get_file_info and default implementation
4281 2007-09-14 Alexander Larsson <alexl@redhat.com>
4283 * gio/gfileinputstream.c:
4284 Implement fallback wrapper for async get_file_info
4286 2007-09-14 Alexander Larsson <alexl@redhat.com>
4289 Add etag out argument to load_contents
4294 2007-09-14 Alexander Larsson <alexl@redhat.com>
4296 * gio/gcontenttype.c (looks_like_text):
4297 Whitespace like tab, cr and lf do not make the
4300 2007-09-14 Alexander Larsson <alexl@redhat.com>
4302 * gio/gfileinputstream.[ch]:
4303 Add async get_file_info.
4305 2007-09-13 Alexander Larsson <alexl@redhat.com>
4307 * gio/goutputstream.c (g_output_stream_write_all):
4308 Allow NULL for bytes_written
4310 2007-09-13 Alexander Larsson <alexl@redhat.com>
4312 * gio/gmemoryinputstream.[ch]:
4313 Add accessors for data
4315 2007-09-13 Alexander Larsson <alexl@redhat.com>
4317 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4318 Don't crash if length is NULL