1 2008-06-12 Matthias Clasen <mclasen@redhat.com>
3 * === Released 2.17.1 ===
5 2008-06-11 A. Walton <awalton@gnome.org>
7 * tests/g-file.c (test_g_file_new_null):
10 2008-06-11 Matthias Clasen <mclasen@redhat.com>
12 * pltcheck.sh: We use g_clear_error now.
14 2008-06-11 Matthias Clasen <mclasen@redhat.com>
16 * glocalfile.c (g_local_file_enumerate_children): Revert
19 2008-06-11 Matthias Clasen <mclasen@redhat.com>
21 * gfile.c (g_file_replace_contents): Don't unref before the last use.
23 2008-06-10 Matthias Clasen <mclasen@redhat.com>
25 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
28 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
29 as icon for the desktop directory, also make user-home and
30 user-desktop the preferred icons.
32 2008-06-10 Matthias Clasen <mclasen@redhat.com>
35 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
36 to add a name to the front of the list.
38 2008-06-10 Matthias Clasen <mclasen@redhat.com>
40 Bug 537392 – Additional colon in xattr name
42 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
43 too. Reported by Alessandro Morandi
45 2008-06-10 Matthias Clasen <mclasen@redhat.com>
47 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
50 * glocalfile.c (get_fs_type): Add afs and autofs.
51 Patch by Danny Baumann.
53 2008-06-10 Matthias Clasen <mclasen@redhat.com>
55 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
57 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
58 is no parent. (Owen Taylor, patch by Christian Neumair)
60 2008-06-10 Paolo Borelli <pborelli@katamail.com>
62 * gfile.c (g_file_replace_contents): do not leak the output stream.
64 2008-06-10 Michael Natterer <mitch@imendio.com>
66 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
67 uninitialized memory as array index.
69 2008-06-10 Tor Lillqvist <tml@novell.com>
71 * gcontenttype.c (g_content_type_can_be_executable)
72 (g_content_type_get_icon) [Win32]: Add TODO comments.
74 2008-06-09 Matthias Clasen <mclasen@redhat.com>
76 * xdgmime/Makefile.am: Fix the build
78 2008-06-09 Matthias Clasen <mclasen@redhat.com>
80 * gcontenttype.c (g_content_type_get_icon): Use icons specified
81 in the shared mime database, if available.
83 * xdgmime/*: Sync with upstream. This brings support for
84 glob weights, generic icons, and changes the cache format to
87 2008-05-28 Michael Natterer <mitch@imendio.com>
89 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
90 the global CPPFLAGS now.
92 * tests/data-input-stream.c
93 * tests/data-output-stream.c
97 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
99 2008-05-27 Matthias Clasen <mclasen@redhat.com>
101 * === Released 2.17.0 ===
103 * tests/live-g-file.c: Clean up after the tests, so make distcheck
104 doesn't complain about leftover files.
106 2008-05-27 simon.zheng <simon.zheng@sun.com>
108 * glocalfile.c: (g_local_file_query_filesystem_info):
109 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
111 2008-05-26 Michael Natterer <mitch@imendio.com>
113 * gmemoryoutputstream.h: declare
114 g_memory_output_stream_get_data_size().
116 2008-05-26 Matthias Clasen <mclasen@redhat.com>
118 * tests/*: Make tests work
120 2008-05-26 Matthias Clasen <mclasen@redhat.com>
122 * gio.symbols: Add g_memory_output_stream_get_data_size.
124 2008-05-25 Ross Burton <ross@burtonini.com>
127 Fix typo in error message (#534764).
129 2008-05-25 Ross Burton <ross@burtonini.com>
132 Fix circular dependency loop for gioenumtypes.h (#534759).
134 2008-05-19 Hans Breuer <hans@breuer.org>
136 * Makefile.am : EXTRA_DIST += makefile.msc
138 2008-05-17 Matthias Clasen <mclasen@redhat.com>
141 * gcontenttype.c: (g_content_type_from_mime_type):
142 New function to create a content type from a mime type. (#527175,
145 2008-05-17 Matthias Clasen <mclasen@redhat.com>
147 Bug 532965 – Should not return filesystem::free for certain file systems
149 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
150 free space for ncpfs.
152 2008-05-17 Matthias Clasen <mclasen@redhat.com>
154 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
156 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
157 st_dev might be zero.
159 2008-05-16 Tor Lillqvist <tml@novell.com>
161 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
162 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
164 2008-05-13 Bastien Nocera <hadess@hadess.net>
166 * gfile.c (has_valid_scheme): A URI scheme must start with a
167 letter, even if later more characters are allowed (#532852)
169 2008-05-05 Michael Natterer <mitch@imendio.com>
171 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
172 code from being checked in that breaks the build of applications
173 which use G_DISABLE_SINGLE_INCLUDES.
175 * makegioalias.pl: make the alias file include "glib.h" instead of
178 * gio.symbols: whitespace change to force regeneration of the
179 alias file after above script change.
181 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
183 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
185 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
187 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
189 2008-04-28 David Zeuthen <davidz@redhat.com>
191 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
192 displaying mounts in a subdirectory not accessible to the
195 2008-04-22 Michael Natterer <mitch@imendio.com>
197 * Makefile.am: fix library versioning (it was 0.0.0).
199 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
201 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
202 Default disable all loggings.
203 * fen/fen-kernel.c: (printevent), (port_add_kevent),
204 (port_fetch_event_cb): Fixed two macro nits.
206 2008-04-16 Matthias Clasen <mclasen@redhat.com>
208 * xdgmime/xdgmime.c: Rework the timestamp checking code
209 to protect against duplicate directories in XDG_DATA_DIRS.
210 Fixes fd.o bug 12513, reported by Joe Shaw.
212 2008-04-16 Matthias Clasen <mclasen@redhat.com>
214 Partically revert the last commit after realizing that
215 xdg_mime_media_type_equal doesn't have to init at all.
218 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
220 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
222 2008-04-16 Matthias Clasen <mclasen@redhat.com>
224 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
225 reported by Joe Shaw and Federico Mena Quintero.
227 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
228 (xdg_mime_media_type_equal): Turn into a wrapper around the
231 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
232 functions throughout.
234 2008-04-16 Michael Meeks <michael.meeks@novell.com>
236 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
237 tolerate an empty TryExec= line without failing; nautilus used
238 to create launchers with these in previous versions. Fixes #528433
240 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
242 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
243 after name. Fixes #527132.
245 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
247 * gfile.c: (g_file_replace):
250 2008-04-07 Matthias Clasen <mclasen@redhat.com>
252 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
254 * gfile.c (file_copy_fallback): Fix the argument order. Patch
255 by Christian Kellner.
257 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
259 * gunixmounts.c: (g_unix_mount_guess_should_display):
260 Don't list the user directory as a mount, fix potential issue
261 when other users have a similar naming and don't special case the
262 gvfs mounts there since that's not required (#525866)
264 2008-03-31 Alexander Larsson <alexl@redhat.com>
266 * glocalfile.c (get_parent):
269 2008-03-31 A. Walton <awalton@svn.gnome.org>
271 * gfile.c (g_file_query_file_type):
272 Always return a GFileType enum value (#520715).
274 2008-03-31 Alexander Larsson <alexl@redhat.com>
276 * glocalfileenumerator.c:
277 Read readdir() info in chunks (of 1000) and sort
278 the chunks by inode before stat:ing.
279 This is a 20% performance increase in testing
280 gvfs-ls on /usr/bin with cold cache.
282 2008-03-31 Alexander Larsson <alexl@redhat.com>
284 * gmemoryoutputstream.c:
285 Clarify docs for g_memory_output_stream_get_size.
286 Add g_memory_output_stream_get_data_size.
288 2008-03-30 Matthias Clasen <mclasen@redhat.com>
292 * gfile.h: Add g_file_query_file_type convenience function
293 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
295 2008-03-30 Matthias Clasen <mclasen@redhat.com>
298 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
300 2008-03-28 A. Walton <awalton@svn.gnome.org>
302 * giomodule.c (_g_io_modules_ensure_loaded):
303 Adds GIO_EXTRA_MODULES environment variable support, closing bug
306 2008-03-28 Alexander Larsson <alexl@redhat.com>
309 (copy_stream_with_progress):
312 2008-03-28 Alexander Larsson <alexl@redhat.com>
315 (copy_stream_with_progress):
316 (file_copy_fallback):
317 Fallback to g_file_query_info for source size
318 if g_file_input_stream_query_info fails. (#524579)
320 2008-03-28 Alexander Larsson <alexl@redhat.com>
322 * glocalfile.c (g_local_file_move):
323 Reuse old string instead of adding new one.
325 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
327 * fen/*.[hc]: still copyright issue. I hate copyright.
329 2008-03-27 Alexander Larsson <alexl@redhat.com>
331 * glocalfile.c (g_local_file_move):
332 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
333 file over directory. This is according to the docs and what the move via
334 copy+remove fallback does.
336 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
338 * fen/*.[hc]: Updated copyright.
340 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
342 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
344 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
346 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
347 not emit attribute changed events when optimizing changed events.
348 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
351 2008-03-19 Matthias Clasen <mclasen@redhat.com>
353 * gmountoperation.[hc]: Small documentation additions
355 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
357 * gunixmounts.c: (guess_mount_type):
358 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
360 2008-03-19 Alexander Larsson <alexl@redhat.com>
363 (copy_stream_with_progress):
364 Bump block side for copy to 64k to minimize
365 overhead for low latency links. (#523015)
367 2008-03-16 Tor Lillqvist <tml@novell.com>
369 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
370 depend on gio.def on Windows.
372 2008-03-12 David Zeuthen <davidz@redhat.com>
376 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
378 2008-03-14 Alexander Larsson <alexl@redhat.com>
382 Avoid redudant tests (#521851)
383 Patch from Josselin Mouette
385 2008-03-14 Alexander Larsson <alexl@redhat.com>
388 (g_file_monitor_is_cancelled):
389 Fix C89 issue (#521672)
390 Patch from Jens Granseuer
392 2008-03-14 Alexander Larsson <alexl@redhat.com>
394 * fam/fam-helper.[ch]:
396 Shut down fam (including removing fam GSource) when
397 module is unloaded (#521513)
398 Patch from Joe Marcus Clarke
400 2008-03-14 Alexander Larsson <alexl@redhat.com>
403 (_g_io_modules_ensure_loaded):
406 2008-03-14 Alexander Larsson <alexl@redhat.com>
409 (g_local_file_query_filesystem_info):
410 Use right define name for f_fstypename member check
412 2008-03-14 Alexander Larsson <alexl@redhat.com>
415 * fen/Makefile.am: Added.
416 * fen/fen-data.[ch]: Added.
417 * fen/fen-dump.[ch]: Added.
418 * fen/fen-helper.[ch]: Added.
419 * fen/fen-kernel.[ch]: Added.
420 * fen/fen-missing.[ch]: Added.
421 * fen/fen-node.[ch]: Added.
422 * fen/fen-sub.[ch]: Added.
423 * fen/gfendirectorymonitor.[ch]: Added.
424 * fen/gfenfilemonitor.[ch]: Added.
426 Added Solaris FEN file notification backend.
427 Patch from Lin Ma <Lin.Ma@Sun.COM>
429 2008-03-13 Tor Lillqvist <tml@novell.com>
431 * Makefile.am: Actually use the gio.def file when linking the
432 library on Windows. Produce .lib library for Microsoft's toolchain
433 when possible. Install the .lib and .def file like for the other
436 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
438 * tests/live-g-file.c:
439 Include live-g-file in standard set of tests, making a temporary
440 directory in source structure.
442 Clean target directory before the tests (write mode only)
444 2008-03-12 Tor Lillqvist <tml@novell.com>
446 Bug 517419 - gio win32 directory monitor
447 Implementation by Vlad Grecescu.
450 * win32/gwin32directorymonitor.h
451 * win32/gwin32directorymonitor.c: New files.
453 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
455 * Makefile.am: Add the win32 subdirectory.
457 2008-03-12 Tor Lillqvist <tml@novell.com>
459 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
460 normal struct stat on Unix but struct _stati64 on Windows to have
461 access to 64-bit file size information. Use that instead of struct
462 stat in the functions declared here in this private header.
464 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
465 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
466 warnings about unused functions and variables. Don't set
467 meaningless attributes like inode numbers on Windows.
469 2008-03-12 Benjamin Otte <otte@gnome.org>
472 trim whitespace so gtk-doc groks the function name
474 2008-03-12 Tor Lillqvist <tml@novell.com>
476 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
477 returning FALSE, on Win32.
479 2008-03-11 Alexander Larsson <alexl@redhat.com>
482 * glocalfileinfo.[ch]:
483 Correctly implement can_trash by actually
484 looking for a trash dir, not just assuming
487 2008-03-10 Matthias Clasen <mclasen@redhat.com>
489 * === Released 2.16.1 ===
491 2008-03-11 Alexander Larsson <alexl@redhat.com>
494 Fix crashes in new constructor and properties code
496 2008-03-10 Murray Cumming <murrayc@murrayc.com>
498 * gfile.c: Minor spelling correction in documentation:
499 existance -> existence.
501 2008-03-10 Matthias Clasen <mclasen@redhat.com>
503 * === Released 2.16.0 ===
505 2008-03-10 Matthias Clasen <mclasen@redhat.com>
507 * gio.symbols: Remove g_file_contains_file here, too.
509 2008-03-10 Matthias Clasen <mclasen@redhat.com>
511 * gthemedicon.c: Add properties to make bindings happy. (#517676,
512 Samuel Cormier-Iijima)
514 2008-03-08 Tor Lillqvist <tml@novell.com>
516 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
519 2008-03-07 Alexander Larsson <alexl@redhat.com>
522 (g_local_file_query_filesystem_info):
523 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
524 Patch from Jasper Lievisse Adriaanse
526 2008-03-06 Tor Lillqvist <tml@novell.com>
528 * gfileinfo.h: Correct milliseconds to microseconds in the doc
529 comments for the *_USEC attributes.
531 2008-03-06 Alexander Larsson <alexl@redhat.com>
533 * gfile.c (g_file_query_exists):
534 Add g_return_val_if_fail check (#520700)
536 2008-03-06 Alexander Larsson <alexl@redhat.com>
541 * gunionvolumemonitor.c:
544 * tests/live-g-file.c:
545 * xdgmime/xdgmimecache.c:
546 Fix sparse warnings (#519489)
548 2008-03-05 Alexander Larsson <alexl@redhat.com>
551 Make cancellation threadsafe (i.e.
552 guarantee its only done once, and always
555 * glocaldirectorymonitor.c:
556 Make sure we the monitor lives while the
557 mounts_changed callback is being called (#520484)
559 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
561 * gbufferedinputstream.c: Fix typo in parameter
564 2008-03-04 Alexander Larsson <alexl@redhat.com>
567 Remove deprecated symbols we kept for one release.
569 2008-03-04 Murray Cumming <murrayc@murrayc.com>
572 * goutputstream.c: Tiny documentation corrections.
574 2008-03-03 Alexander Larsson <alexl@redhat.com>
576 * gunionvolumemonitor.c:
578 Fix the adopt_orphan_mount vfunc to take a
579 volume_monitor reference in an ABI compat way.
580 This change is not API compat, but the added
581 arg is not used in the only user of this vfunc, so
582 all we get is a harmless warning in gvfs (#520169)
584 2008-03-01 Benjamin Otte <otte@gnome.org>
587 clarify docs for g_file_delete().
589 2008-02-29 Alexander Larsson <alexl@redhat.com>
593 Make sure empty files get text/plain type (#518720)
595 2008-02-27 Alexander Larsson <alexl@redhat.com>
601 (g_unix_volume_mount):
602 Add missing GMountMountFlags argument
604 2008-02-26 Alexander Larsson <alexl@redhat.com>
607 (g_local_file_delete):
608 Handle filesystems (like ntfs-3g) that return EEXIST instead
609 of ENOTEMPTY (#518816)
611 2008-02-25 Matthias Clasen <mclasen@redhat.com>
613 * === Released 2.15.6 ===
615 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
617 * gfile.c (g_file_find_enclosing_mount):
618 * ginputstream.c (g_input_stream_set_pending):
619 * glocalfile.c (g_local_file_find_enclosing_mount):
620 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
621 * goutputstream.c (g_output_stream_set_pending):
623 Fixup translator comments (#518578).
625 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
627 * gfile.c (g_file_find_enclosing_mount):
629 * glocalfile.c (g_local_file_find_enclosing_mount):
632 Fix a few typos in translator comments and documentation.
634 2008-02-25 Alexander Larsson <alexl@redhat.com>
641 Add translator comments (#518578)
643 2008-02-25 Alexander Larsson <alexl@redhat.com>
646 Reintroduce g_file_contains_file, keep around for one
647 unstable release cycle to avoid crashing to many apps.
648 Make sure to delete after release.
650 2008-02-25 Alexander Larsson <alexl@redhat.com>
653 Remove deprecated g_file_contains_file.
655 2008-02-25 Alexander Larsson <alexl@redhat.com>
658 Emit actual change signals in an idle handler.
659 This avoids reentrance and locking problems in
660 the file notification backends.
662 2008-02-25 Alexander Larsson <alexl@redhat.com>
665 (g_unix_mount_guess_should_display):
666 Remove type guessing, instead just display
667 mounts in /media and in ~/.
669 2008-02-25 Alexander Larsson <alexl@redhat.com>
672 Make new strings reuse old ones.
674 2008-02-25 Alexander Larsson <alexl@redhat.com>
677 Implement trashing and filesystem::readonly for win32 (#517235)
678 Patch from Yevgen Muntyan
680 2008-02-23 Matthias Clasen <mclasen@redhat.com>
682 * gfileinfo.h: Documentation fixes.
684 2008-02-22 Alexander Larsson <alexl@redhat.com>
686 * gcontenttype.c (g_content_type_get_icon):
687 Look at old-style gnome mime icon names too, as many
688 have not moved to the new style.
690 2008-02-21 Matthias Clasen <mclasen@redhat.com>
692 * *.c: Correct the @include in for section docs.
694 2008-02-21 David Zeuthen <davidz@redhat.com>
696 * glocalfileinfo.c: (_g_local_file_info_get):
698 (g_content_type_get_icon): Implement this function by
699 moving bits from glocalfileinfo.c
700 (g_content_type_get_description): Unalias before getting
701 description (#517687)
703 * gfile.c: (g_file_class_init),
704 (g_file_query_filesystem_info_async),
705 (g_file_query_filesystem_info_finish),
706 (query_filesystem_info_data_free),
707 (query_filesystem_info_async_thread),
708 (g_file_real_query_filesystem_info_async),
709 (g_file_real_query_filesystem_info_finish):
710 * gfile.h: Implement async version of
711 g_file_query_filesystem_info()
713 * gfileinfo.h: Add new attributes for filesystem::use-preview
715 * gio.symbols: Update
717 * gthemedicon.c: (g_themed_icon_append_name):
718 * gthemedicon.h: Add new new convenience function.
720 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
721 (get_mounts), (get_volumes), (get_connected_drives),
722 (get_volume_for_uuid), (get_mount_for_uuid),
723 (g_union_volume_monitor_init), (populate_union_monitor),
724 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
725 (g_volume_monitor_adopt_orphan_mount):
727 * gvolumemonitor.h: Use recursive locks so it's safe for volume
728 monitor implementations to call into the main volume monitor. Also
729 separate object initialization and volume monitor initialization
730 such that non-native volume monitors can properly adopt their
733 2008-02-21 Alexander Larsson <alexl@redhat.com>
738 2008-02-21 Alexander Larsson <alexl@redhat.com>
741 Add more documentation about how GFiles work (from #517086)
743 2008-02-21 Alexander Larsson <alexl@redhat.com>
747 Add new g_file_has_prefix that does the same as g_file_contains_file.
748 Deprecate g_file_contains_file and add a macro that converts
749 it to g_file_has_prefix.
750 The reason for this change is that the contains_file() name seems to
751 imply that this does more work than what it does, but its really only
752 a name match (from #517086)
757 Update to match the above change.
759 2008-02-20 Benjamin Otte <otte@gnome.org>
761 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
762 (g_file_eject_mountable):
763 even more cases of not returning in error path
765 2008-02-20 Benjamin Otte <otte@gnome.org>
767 * gfile.c: (g_file_mount_mountable):
768 return from function in error path.
770 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
773 Remove trailing coma in GMountMountFlags struct
775 2008-02-18 Alexander Larsson <alexl@redhat.com>
779 * glocalfileoutputstream.c:
780 Use g_unlink/g_rename instead of unlink/rename;
781 do not pass raw filenames to g_set_error. (#517239)
782 Patch from Yevgen Muntyan.
784 2008-02-18 Alexander Larsson <alexl@redhat.com>
787 * glocalfileoutputstream.c:
788 Open files with O_BINARY on windows. (#517140)
790 2008-02-14 Alexander Larsson <alexl@redhat.com>
792 * glocalfileoutputstream.c:
793 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
795 2008-02-14 Alexander Larsson <alexl@redhat.com>
798 Copy permissions with file on copy (#514084)
799 This is what cp does and makes sure e.g. the
800 exec permissions are kept.
801 Its kinda weird in that it keeps the permission bits
802 the same while the uid and gid are different. However
803 the new uid is the user so its not a security issue,
804 and I've heard no complaints about cp on this issue.
806 2008-02-13 Ryan Lortie <desrt@desrt.ca>
808 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
810 2008-02-13 Alexander Larsson <alexl@redhat.com>
812 * inotify/inotify-path.c:
813 Define IN_ONLYDIR if not in header (#515346)
815 2008-02-12 Alexander Larsson <alexl@redhat.com>
817 * tests/live-g-file.c:
820 2008-02-11 Matthias Clasen <mclasen@redhat.com>
822 * === Released 2.15.5 ===
824 2008-02-11 Matthias Clasen <mclasen@redhat.com>
826 * gio.symbols: Add g_mount_mount_flags_get_type.
828 2008-02-11 Alexander Larsson <alexl@redhat.com>
831 (g_file_info_set_attribute_mask):
832 (g_file_attribute_matcher_matches_id):
833 Correctly handle NULL GAttributeMatcher meaning
834 matches nothing. (Fixes #513492)
836 2008-02-11 Alexander Larsson <alexl@redhat.com>
841 Added GMountMountFlags enum and added a flags
842 argument to all mount calls.
844 This is an API/ABI change for future extensibility,
845 as I think we will need at least an
846 inhibit-autorun flag (the panel needs this).
847 There are no flags defined yet though.
849 2008-02-11 Alexander Larsson <alexl@redhat.com>
852 Added new standard::description attribute.
853 Requested by Vincent, and useful for both
856 2008-02-11 Alexander Larsson <alexl@redhat.com>
861 2008-02-11 Matthias Clasen <mclasen@redhat.com>
863 * *.c: Documentation additions
865 2008-02-10 Matthias Clasen <mclasen@redhat.com>
867 * gappinfo.h: Formatting cleanup
868 * gappinfo.c: Fix up docs.
870 2008-02-09 Matthias Clasen <mclasen@redhat.com>
872 * gunixmounts.c: Consistently use getmntent_r() and fall
873 back to getmntent(). (#515492)
875 2008-02-09 Matthias Clasen <mclasen@redhat.com>
877 * gbufferedinputstream.c:
879 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
881 * tests/data-input-stream.c:
882 * tests/data-output-stream.c: Portability fixes.
884 2008-02-08 Alexander Larsson <alexl@redhat.com>
889 Add g_volume_should_automount.
892 2008-02-07 Tor Lillqvist <tml@novell.com>
894 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
895 Win32, too Unix-specific.
897 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
899 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
900 a local plt if the compiler doesn't support what we want. Bug #514702
902 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
904 reviewed by: <delete if not using a buddy>
907 * gunixinputstream.c:
908 * gunixoutputstream.c:
910 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
913 * tests/live-g-file.c:
914 * tests/live-g-file.txt:
915 New GIO testing module working over real data
917 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
919 * glocalfileoutputstream.c (g_local_file_output_stream_close):
920 Fallback to rename() if link() is not available
921 (when no support on target filesystem)
923 2008-02-06 Michael Natterer <mitch@imendio.com>
925 * gfileinfo.c (g_file_info_get_icon): replace
926 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
928 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
930 * gfile.c (g_file_create):
931 Documentation update of error codes
933 2008-02-06 Alexander Larsson <alexl@redhat.com>
936 Update to use both mimeapps.list and
937 defaults.list as discussed on xdg list.
939 2008-02-06 Benjamin Otte <otte@gnome.org>
942 * gfilenamecompleter.c:
943 Fix some typos in the documentation.
945 2008-02-06 Alexander Larsson <alexl@redhat.com>
947 * glocalfile.c (g_local_file_trash):
948 Don't succeed with trash if newly created
949 trash dir has the wrong owner. (#514696)
951 2008-02-05 Alexander Larsson <alexl@redhat.com>
953 * glocalfile.c (g_local_file_move):
954 Don't spew warnings when destination is not
957 2008-02-03 Hans Breuer <hans@breuer.org>
959 * makefile.msc : update
961 2008-02-01 Michael Natterer <mitch@imendio.com>
963 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
964 return value of xdg_mime_list_mime_parents() to a variable of the
967 2008-02-01 Alexander Larsson <alexl@redhat.com>
969 * gappinfo.c (g_app_info_launch_uris):
970 Actually call the launch_uris method, not
973 2008-02-01 Alexander Larsson <alexl@redhat.com>
975 * gdesktopappinfo.c (g_desktop_app_info_equal):
976 Ensure appinfos with no id but same pointer value
979 2008-02-01 Alexander Larsson <alexl@redhat.com>
981 * gappinfo.c (g_app_info_launch_default_for_uri):
984 2008-02-01 Alexander Larsson <alexl@redhat.com>
988 Add g_app_info_launch_default_for_uri utility
991 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
994 Doc fix for g_app_info_get_default_for_uri_scheme ()
997 2008-01-30 Alexander Larsson <alexl@redhat.com>
1000 Add doc comment about uris vs GFiles to
1003 * gdesktopappinfo.c:
1004 Ensure uris passed to g_app_info_launch_uris()
1005 are not roundtriped through GFile (as that
1006 may be slightly destructive for e.g. mailto: links)
1008 2008-01-30 Alexander Larsson <alexl@redhat.com>
1010 * tests/data-input-stream.c:
1011 * tests/data-output-stream.c:
1012 C89 fixes from Jens Granseuer (#512849)
1014 2008-01-30 Alexander Larsson <alexl@redhat.com>
1017 Fix gamin/fam difference build issue. (#509419)
1019 2008-01-29 Alexander Larsson <alexl@redhat.com>
1022 * gdesktopappinfo.c:
1023 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1025 2008-01-29 Alexander Larsson <alexl@redhat.com>
1027 * gdesktopappinfo.c:
1028 * gdesktopappinfo.h:
1029 giomodule-priv.h include moved to .c file.
1031 2008-01-29 Alexander Larsson <alexl@redhat.com>
1033 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1034 Remove unused prio/name fields.
1036 2008-01-29 Alexander Larsson <alexl@redhat.com>
1038 * gcontenttype.c (looks_like_text):
1039 Don't treat whitespace as control chars.
1041 2008-01-29 Alexander Larsson <alexl@redhat.com>
1043 * gdesktopappinfo.c:
1044 Lazily create the desktop files for appinfos created
1045 by g_app_info_create_from_commandline() when needed
1046 for mime associations. This allows run-time use
1047 of GAppInfo object without creating unnecessary
1050 2008-01-29 Alexander Larsson <alexl@redhat.com>
1053 Added new symbols to gio.symbols
1055 2008-01-29 Alexander Larsson <alexl@redhat.com>
1058 Add g_file_query_default_handler utility to easily look up
1059 the GAppInfo that handles a file.
1061 * gdesktopappinfo.[ch]:
1063 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1066 Remove unused function
1068 2008-01-29 Alexander Larsson <alexl@redhat.com>
1070 * gfileenumerator.c:
1071 Mention need to free returned value in
1072 g_file_enumerator_next_files_finish docs.
1073 Fix leak if g_file_enumerator_next_files_finish()
1076 2008-01-29 Alexander Larsson <alexl@redhat.com>
1079 (_g_unix_content_type_get_parents):
1080 Use list_parents, not get_parents from xdgmime, because
1081 the later doesn't use the cache.
1083 * xdgmime/xdgmimecache.c:
1084 (_xdg_mime_cache_list_mime_parents):
1085 Don't list the same type as parent multiple times.
1087 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1089 * === Released 2.15.4 ===
1091 2008-01-28 Alexander Larsson <alexl@redhat.com>
1094 Register local vfs with prio 0.
1097 Remove old name and prio class members
1099 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1101 * tests/g-file.c: Disable some tests that are failing in
1102 the absence of a http backend.
1104 2008-01-28 Alexander Larsson <alexl@redhat.com>
1108 Add registration hooks for extension points.
1109 Register the gio extension points.
1111 * fam/gfamdirectorymonitor.c:
1112 * fam/gfamfilemonitor.c:
1113 * glocaldirectorymonitor.[ch]:
1114 * glocalfilemonitor.[ch]:
1115 * gnativevolumemonitor.h:
1116 * gunionvolumemonitor.c:
1117 * gunixvolumemonitor.c:
1120 * inotify/ginotifydirectorymonitor.c:
1121 * inotify/ginotifyfilemonitor.c:
1122 Use the extension points registration instead
1123 of g_type_children().
1125 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1128 * gvolume.[hc]: Document new API.
1130 * gfile.c (g_file_copy_async): Fix docs
1132 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1134 * gbufferedinputstream.c:
1136 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1139 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1141 * glocalfile.c: Avoid trivial differences in translatable strings.
1143 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1145 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1146 build with gcc 3.4 (#509419)
1148 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1150 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1151 (#509994, Murray Cumming)
1153 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1155 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1156 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1157 this allows big jobs to be executed in chunks, instead of blocking
1158 the main loop for a long time.
1160 * gsimpleasyncresult.c:
1161 * giofile.c: Adapt callers.
1163 2008-01-25 Alexander Larsson <alexl@redhat.com>
1165 * gdesktopappinfo.c:
1166 Implement changes discussed on xdg list.
1167 Now we can add supported mimetypes by just using defaults.list
1168 We can also remove associations in defaults.list.
1170 2008-01-25 Alexander Larsson <alexl@redhat.com>
1172 * gdesktopappinfo.c:
1173 Don't make local copy of desktop file
1174 for mimetype changes if the file already
1175 supports the new mimetype.
1177 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1181 * gbufferedinputstream.c:
1182 * glocalfile.c: String improvements. (#511966,
1183 Theppitak Karoonboonyanan)
1185 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1187 * gioscheduler.h: Expand docs a bit.
1189 2008-01-24 Alexander Larsson <alexl@redhat.com>
1192 Add g_drive_get_identifier and
1193 g_drive_enumerate_identifiers
1196 Add g_volume_get_identifier and
1197 g_volume_enumerate_identifiers
1203 Implement identifiers for unix backend
1205 2008-01-24 Alexander Larsson <alexl@redhat.com>
1210 Add g_file_copy_async() (#511580)
1211 Based on patch from Carlos Garcia Campos
1213 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1215 * gioscheduler.c: Some documentation additions.
1217 2008-01-22 Alexander Larsson <alexl@redhat.com>
1219 * gdesktopappinfo.c:
1220 (g_desktop_app_info_new):
1221 Don't leak basename.
1223 2008-01-22 Alexander Larsson <alexl@redhat.com>
1225 * gdesktopappinfo.c:
1226 (g_desktop_app_info_new_from_filename):
1229 2008-01-22 Alexander Larsson <alexl@redhat.com>
1231 * glocalfileinfo.c (get_thumbnail_attributes):
1234 2008-01-22 Alexander Larsson <alexl@redhat.com>
1237 (canonicalize_filename):
1238 Canonicalize paths that start with more than
1242 (compare_two_files):
1243 (test_g_file_new_for_path):
1246 2008-01-22 Alexander Larsson <alexl@redhat.com>
1249 Allow UTF-8 in file:// parse names.
1251 * tests/Makefile.am:
1252 * tests/data-input-stream.c:
1253 * tests/data-output-stream.c:
1254 * tests/g-file-info.c:
1256 Added a bunch of tests from Tomas Bzatek
1258 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1260 * === Released 2.15.3 ===
1262 2008-01-21 Alexander Larsson <alexl@redhat.com>
1264 * gfileinputstream.[ch]:
1265 * gfileoutputstream.[ch]:
1267 Remove duplicated GSeekable functions. (#509990)
1268 Just use the g_seekable_xxx() calls instead.
1270 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1273 * gvolumemanager.c: Whitespace cleanups.
1275 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1276 Use the right mode when creating the file.
1278 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1280 * gfileenumerator.c:
1281 * gfileinputstream.c:
1283 * goutputstream.c: Documentation: Fixed minor typos
1284 and added more mentions of specific _finish() functions.
1286 2008-01-21 Alexander Larsson <alexl@redhat.com>
1288 * inotify/Makefile.am:
1289 * inotify/inotify-helper.c:
1290 * inotify/inotify-kernel.c:
1291 * inotify/inotify-path.c:
1292 * inotify/local_inotify.h: Removed.
1293 * inotify/local_inotify_syscalls.h: Removed.
1294 Removed the included copies of the inotify
1295 headers. We now only use the <sys/inotify.h>
1296 header which exists on modern systems.
1297 This fixes problems on ARM and SH5 (#510448)
1298 but is also generally much cleaner and future
1299 safe. For instance, if other OSes add support
1300 for inotify it should "just work".
1302 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1304 * inotify/*.c: Coding style fixes.
1305 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1306 for the 1/4 Hz timer.
1308 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1311 * gfilemonitor.[hc]:
1312 * gmemoryinputstream.c:
1313 * gmemoryoutputstream.c:
1314 * gmountoperation.c:
1315 * gthemedicon.c: Documentation updates
1317 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1319 * gfile.c: documentation: Fixed more minor
1322 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1324 * gmount.c: (g_mount_remount): documentation:
1325 Mention g_mount_remount_finish() instead of
1326 g_mount_unmount_finish().
1328 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1332 * gfile.c: Fixed some minor typos in the
1335 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1337 * gio/gvolumemonitor.c:
1338 (g_volume_monitor_get_connected_drives):
1339 (g_volume_monitor_get_volumes):
1340 (g_volume_monitor_get_mounts): Documentation:
1341 Clarify the ownership of the regurn GLists.
1343 2008-01-17 Alexander Larsson <alexl@redhat.com>
1346 Add the async find_enclosing_mount version
1347 to the header file too.
1349 2008-01-17 Alexander Larsson <alexl@redhat.com>
1352 Add async version of find_enclosing_mount
1353 with default implementation.
1355 2008-01-17 Alexander Larsson <alexl@redhat.com>
1360 Allow calls to implementation of copy and write
1361 even if the type of the file implementations is
1362 different. This can be used to implement native
1363 upload and download calls in a vfs.
1366 (g_local_file_move):
1367 Protect against the case where move is called
1368 with one file not being local.
1370 Make sure we call the progress callback once
1371 in the native move operation so that the caller
1372 knows how many bytes were copied.
1374 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1377 * gdatainputstream.c:
1379 * gfileoutputstream.c:
1384 * gunixmounts.c: Corrected some typos in the documentation:
1385 occured -> occurred.
1386 its -> it's (where appropriate).
1388 2008-01-16 Alexander Larsson <alexl@redhat.com>
1392 Add g_file_query_exists (#508771)
1394 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1399 * gvolume.c: For async functions that have no non-async
1400 version, document that the GAsyncReadyCallback may be NULL.
1403 2008-01-15 Alexander Larsson <alexl@redhat.com>
1405 * gmemoryinputstream.c:
1406 * gmemoryoutputstream.c:
1407 Don't do pointer arithmetic on void * (#508602)
1408 Patch from Kazuki IWAMOTO
1410 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1412 * === Released 2.15.2 ===
1414 2008-01-14 Alexander Larsson <alexl@redhat.com>
1416 * gfile.c (g_file_monitor_file):
1417 Don't set error here, since we fallback to polling monitor.
1419 2008-01-14 Alexander Larsson <alexl@redhat.com>
1422 (g_file_monitor_directory):
1423 (g_file_monitor_file):
1424 Add GError to file monitor calls
1426 * glocaldirectorymonitor.c:
1427 * glocaldirectorymonitor.h:
1429 * glocalfilemonitor.c:
1430 * glocalfilemonitor.h:
1432 Update for above change
1434 2008-01-14 Alexander Larsson <alexl@redhat.com>
1438 Handle root correctly in g_file_get_relative_path (#508719)
1440 2008-01-14 Alexander Larsson <alexl@redhat.com>
1443 Clean up docs and example for GAsyncResult (#508074)
1445 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1447 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1448 and correct some spelling mistakes. Bug #508108.
1450 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1452 * glocalfileinfo.c: Add a comment.
1454 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1456 * gfileinfo.c: GFileInfo description: Mention
1457 how to actually set attributes in a GFile and how to discover
1458 which attributes are settable. Bug #508378.
1460 2008-01-10 A. Walton <awalton@svn.gnome.org>
1462 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1463 (g_app_info_get_default_for_type):
1464 Check for NULL content types.
1466 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1468 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1470 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1472 * gfile.c: *_async() functions: Several small corrections
1473 to the documentation, mostly correcting copy/paste errors
1474 and improving some sentences.
1476 2008-01-09 Dan Winship <danw@gnome.org>
1478 * glocalfile.c (get_unique_filename): x86_64 fix
1480 2008-01-09 Alexander Larsson <alexl@redhat.com>
1485 Add g_unix_mount_guess_should_display and use
1486 for unix volume monitor backend.
1487 This means we more or less show what the
1488 gnome-vfs backend did.
1489 Based on patch from Padraig O'Briain
1491 2008-01-09 Alexander Larsson <alexl@redhat.com>
1495 Add g_themed_icon_new_with_default_fallbacks
1498 Use default fallbacks for icons
1500 2008-01-09 Alexander Larsson <alexl@redhat.com>
1503 * gmountoperation.[ch]:
1504 Change the API a bit so that unhandled methods
1505 get reported via the reply, rather than by
1506 the signal emission return value. This is because
1507 some handlers can't know this immediately without
1508 doing I/O, and this is an async operation that
1511 2008-01-09 Alexander Larsson <alexl@redhat.com>
1514 * fam/gfamdirectorymonitor.c:
1515 * fam/gfamfilemonitor.c:
1516 Fix double free crash (#508224)
1517 Patch from Joe Marcus Clarke
1519 008-01-07 Matthias Clasen <mclasen@redhat.com>
1521 * === Released 2.15.1 ===
1523 2008-01-07 Alexander Larsson <alexl@redhat.com>
1525 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1526 Fix warning (#507835)
1528 2008-01-07 Alexander Larsson <alexl@redhat.com>
1531 Pass --internal to glib-genmarshal
1534 * gmountoperation.c:
1536 Use better types for signal arguments (#507822)
1538 2008-01-07 Alexander Larsson <alexl@redhat.com>
1541 Build test subdir after .
1542 Remove gdirectorymonitor.[ch]
1544 * gdirectorymonitor.[ch]:
1548 Remove GDirectoryMonitor and make
1549 GFileMonitor the baseclass for both file and
1550 directory monitors. Lift the more generic
1551 rate limiting code from GDirectoryMonitor
1555 * fam/gfamdirectorymonitor.[ch]:
1556 * inotify/ginotifydirectorymonitor.[ch]:
1557 * inotify/inotify-helper.c:
1558 * glocaldirectorymonitor.[ch]:
1561 Update for the removed GDirectoryMonitor.
1563 * gmemoryoutputstream.c:
1564 Remove ununsed variable
1566 2008-01-07 Alexander Larsson <alexl@redhat.com>
1568 * gmemoryinputstream.c:
1569 Translate error strings
1572 * gmemoryoutputstream.[ch]:
1573 New implementation that avoids using GByteArray
1574 in implementation and API. (#506377)
1576 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1578 * tests/*: Add a test for memory input streams.
1580 * Makefile.am: Add tests to SUBDIRS.
1582 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1584 * glocalfilemonitor.c:
1585 * glocaldirectorymonitor.c: Mark property nicks and blurbs
1588 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1590 * gdesktopappinfo.c: Fix a docs typo.
1592 * gfileattribute.c: Add information about extended attributes
1593 to the documentation. (#505058)
1595 2008-01-04 Alexander Larsson <alexl@redhat.com>
1598 * gmountoperation.c:
1599 Use the right type (uint) for the ask_password signal.
1601 2008-01-04 Alexander Larsson <alexl@redhat.com>
1606 Add g_app_info_supports_files()
1607 Remove desktop arg from g_app_info_should_show().
1609 * gdesktopappinfo.[ch]:
1610 Implement g_app_info_supports_files() and new should_show()
1611 Add g_desktop_app_info_set_desktop_env() to set the desktop
1612 for should_show(). (This will be set by gtk+ later)
1614 2008-01-04 Alexander Larsson <alexl@redhat.com>
1617 * gmemoryinputstream.[ch]:
1618 Improve API so that you can use multiple chunks
1619 of memory and custom destroy functions. (#506374)
1621 2008-01-03 Alexander Larsson <alexl@redhat.com>
1624 Handle NULL attribute matchers safely, as we return this
1625 for empty attribute matcher strings.
1627 2008-01-03 Alexander Larsson <alexl@redhat.com>
1629 * gunixmounts.c (g_unix_is_mount_path_system_internal):
1630 Add /usr/local to list of internal mountpoints
1632 2008-01-03 Alexander Larsson <alexl@redhat.com>
1635 Check for HAVE_LCHOWN (#505887)
1637 2008-01-03 Alexander Larsson <alexl@redhat.com>
1641 Add define for selinux context attribute.
1642 Fix missing : -> :: namespace separator change
1643 Fix missing _ -> - name change for xattr-sys.
1646 2008-01-03 Alexander Larsson <alexl@redhat.com>
1649 Link to libglib and libgobject directly (#504879)
1650 Patch from Sebastien Bacher
1652 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
1654 * gfile.c: Expanded the g_file_new_for_commandline_arg
1655 description a bit, based on the code and the docs of the
1656 other g_file_new_for_* functions.
1658 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
1660 * gfilemonitor.h: Fixed typo in docs.
1662 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
1664 Updates to GIO documentation. (#506395, Mikael Hermansson)
1666 * gcontenttype.c: Describe memory management for return value of
1667 g_content_types_get_registered(). Missing piece from #505815.
1668 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
1669 GVolume, GDrive, GMounts, which hopefully gives the user less
1670 confusions when using this API. Following explainations from
1671 Alexander Larsson on gtk-devel-list.
1673 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1675 * gfileinfo.c: Expand the long description.
1677 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1680 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
1681 fix builds with --disable-visibility. (#500273, Christian Persch)
1683 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1685 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
1686 in the list of returned app infos.
1688 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1690 * gappinfo.c: Fix a cross-reference
1692 2007-12-30 Matthias Clasen <mclasen@redhat.com>
1694 * gfileinputstream.c:
1695 * gfileoutputstream.c:
1699 * gdesktopappinfo.c:
1701 * gfileinfo.c: Documentation updates.
1703 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1705 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
1708 2007-12-26 Matthias Clasen <mclasen@redhat.com>
1710 * gcontenttype.c (g_content_types_get_registered): Don't return
1711 freed memory (#505815, Mikael Hermansson)
1713 2007-12-25 Paolo Borelli <pborelli@katamail.com>
1715 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
1716 used to detect statbuf->st_blocks. (#505042)
1718 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1720 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
1721 environment handling. (#504829, Cosimo Cecchi)
1723 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1725 * gappinfo.c: Doc improvements
1727 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
1730 2007-12-20 Matthias Clasen <mclasen@redhat.com>
1732 * === Released 2.15.0 ===
1734 2007-12-20 Hans Breuer <hans@breuer.org>
1736 * makefile.msc : don't build gdesktopappinfo.obj, it collides
1737 with symbols gwin32appinfo.obj, added gmount.obj
1738 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
1740 2007-12-20 Alexander Larsson <alexl@redhat.com>
1746 * gfilenamecompleter.c:
1749 * gpollfilemonitor.c:
1750 File attribute renames:
1752 fs:: -> filesystem::
1753 id::fs -> id::filesystem
1755 2007-12-20 Alexander Larsson <alexl@redhat.com>
1764 Add GMountUnmountFlags to all unmount and
1766 Add g_mount_remount() call.
1768 2007-12-20 Alexander Larsson <alexl@redhat.com>
1770 * gvfs.c (get_default_vfs):
1771 Fix unused variable warning
1773 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1775 * pltcheck.sh: Update
1777 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1779 * gunionvolumemonitor.c:
1780 * gunixmount.c: Remove C99 comments
1782 2007-12-19 Matthias Clasen <mclasen@redhat.com>
1784 * gio.symbols: Add some missing symbols
1786 2007-12-19 Alexander Larsson <alexl@redhat.com>
1789 Make g_io_modules_load_all_in_directory not unuse
1790 loaded modules so that users of it can do stuff
1792 Init internal "module" types.
1793 Initialize static prio and name for types so that
1794 we don't have to load modules to get it.
1796 * gnativevolumemonitor.h:
1798 Move is_supported to parent class so that
1799 non-native monitors can avoid being initialized
1800 too. (For instance GDaemonVolumeMonitor if we're
1801 not using GDaemonVfs.)
1803 * glocaldirectorymonitor.[ch]:
1804 * glocalfilemonitor.[ch]:
1805 * gunionvolumemonitor.c:
1806 * gunixvolumemonitor.c:
1808 Find plugins using the static prio+name to
1809 avoid unnecessarily loading the modules.
1811 2007-12-19 Alexander Larsson <alexl@redhat.com>
1816 2007-12-19 Alexander Larsson <alexl@redhat.com>
1818 * gunionvolumemonitor.c:
1819 Store the native type as GType, not class so that
1820 we can unload it. But still avoid unnecessarily
1823 2007-12-19 David Zeuthen <davidz@redhat.com>
1825 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
1826 add signals 'disconnected' and 'eject-button' on GDrive. Add
1827 signal 'removed' on GVolume and 'unmounted' on GMount.
1829 * gdrive.c: (g_drive_base_init):
1831 * gfile.c: (g_file_mount_mountable),
1832 (g_file_mount_enclosing_volume):
1835 * gmount.c: (g_mount_base_init):
1837 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
1838 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
1839 * gvolume.c: (g_volume_base_init), (g_volume_mount):
1843 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1845 * *.c: Fix up includes in the section docs.
1847 2007-12-17 Alexander Larsson <alexl@redhat.com>
1849 * gnativevolumemonitor.h:
1850 * gunionvolumemonitor.c:
1851 * gunixvolumemonitor.c:
1852 Add is_supported() to GNativeVolumeMonitorClass so
1853 that we can avoid having to create an object to see
1854 if the backend is supported at runtime.
1855 Also add name member and an env var to pick a specific
1856 volume monitor backend.
1860 Add cancellable to _g_mount_get_for_mount_path()
1862 * glocaldirectorymonitor.c:
1863 * glocalfilemonitor.c:
1864 Avoid loading and unloading modules while sorting.
1866 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1869 * gunixmounts.[hc]: Namespace waste reduction, move some
1870 g_get_unix_mount functions to the g_unix_mount namespace.
1873 * gunixvolumemonitor.c:
1875 * glocaldirectorymonitor.c: Update all callers.
1877 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
1879 2007-12-17 Alexander Larsson <alexl@redhat.com>
1882 Add doc comments about what GFile operations are
1883 guaranteed to not block.
1885 2007-12-17 Alexander Larsson <alexl@redhat.com>
1888 Add missing #ifdef fixing OSX build.
1889 (#503334, patch from Richard Hult)
1891 2007-12-14 David Zeuthen <davidz@redhat.com>
1895 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
1896 (g_mount_eject), (g_mount_eject_finish):
1898 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
1899 (get_volume_for_uuid), (get_mount_for_uuid),
1900 (g_union_volume_monitor_class_init),
1901 (get_default_native_type_with_exclude), (get_default_native_type),
1902 (get_native_type), (update_native_type),
1903 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
1904 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
1905 (g_unix_mount_can_eject), (eject_unmount_cb),
1906 (eject_unmount_read_error), (eject_unmount_do),
1907 (g_unix_mount_unmount), (g_unix_mount_eject),
1908 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
1909 * gunixmounts.c: (g_unix_mount_guess_can_eject),
1910 (g_unix_mount_point_guess_can_eject):
1912 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
1913 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
1914 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
1915 (g_unix_volume_mount), (g_unix_volume_eject),
1916 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
1917 * gunixvolumemonitor.c: (get_volume_for_uuid),
1918 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
1920 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
1921 (g_volume_eject), (g_volume_eject_finish):
1923 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
1924 (g_volume_monitor_get_mount_for_uuid):
1927 Provide eject() on both GMount and GVolume and utility functions
1928 to guess whether a GUnixMountPoint or GUnixMountEntry should be
1929 ejected. Introduce the concept of UUID's and wire it into GVolume
1930 and GMount and provide API on GVolumeMonitor to find such
1931 instances. Also handle the case where an external
1932 GNativeVolumeMonitor fails to initialize. Lock around the
1933 _g_get_mount_for_mount_path() function such that volume monitor
1934 implementations won't have to do locking themselves.
1936 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1938 * gdesktopappinfo.c:
1944 * gvolume.h: Documentation updates
1946 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1949 * gfile.h: Doc updates
1951 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1954 * gdesktopappinfo.c: Use hash table iterators.
1956 2007-12-14 Alexander Larsson <alexl@redhat.com>
1959 * gfileattribute.[ch]:
1960 * gfileattribute-priv.h:
1961 Move GFileAttributeValue to a private header, as
1965 Make set_attribute take a type + a pointer instead
1966 of a GFileAttributeValue.
1969 Fix up for above changes.
1970 Add g_file_info_get_attribute_data to get
1971 all info in one call, g_file_info_get_attribute_status
1972 to get the status and g_file_info_get_attribute_as_string.
1976 * glocalfileinfo.[ch]:
1980 Make _guess_type static.
1982 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
1985 * inotify/Makefile.am: Fixed build when srcdir != builddir,
1986 made mkenums and friends use temporary files to avoid leaving
1987 empty generated files on failure (#503470).
1989 2007-12-14 Alexander Larsson <alexl@redhat.com>
1991 * gmountoperation.h:
1994 2007-12-14 Alexander Larsson <alexl@redhat.com>
1998 * gfileattribute.[ch]:
2001 * glocalfileoutputstream.c:
2002 * gmountoperation.[ch]:
2003 * goutputstream.[ch]:
2004 Clean up all flags enums to not have _FLAGS in them
2005 Make the names of some of the enums better.
2010 2007-12-14 Michael Natterer <mitch@imendio.com>
2012 * gio.symbols: fix g_io_scheduler symbol names.
2014 2007-12-14 Alexander Larsson <alexl@redhat.com>
2020 * gbufferedinputstream.h:
2021 * gbufferedoutputstream.h:
2024 * gdatainputstream.h:
2025 * gdataoutputstream.h:
2026 * gdesktopappinfo.h:
2027 * gdirectorymonitor.h:
2031 * gfileenumerator.h:
2034 * gfileinputstream.h:
2036 * gfilenamecompleter.h:
2037 * gfileoutputstream.h:
2038 * gfilterinputstream.h:
2039 * gfilteroutputstream.h:
2047 * gmemoryinputstream.h:
2048 * gmemoryoutputstream.h:
2050 * gmountoperation.h:
2053 * gsimpleasyncresult.h:
2055 * gunixinputstream.h:
2057 * gunixoutputstream.h:
2061 * inotify/Makefile.am:
2062 Only allow including <gio/gio.h> from apps
2064 2007-12-14 Alexander Larsson <alexl@redhat.com>
2066 * gioscheduler.[ch]:
2067 * gsimpleasyncresult.c:
2068 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2069 Split out the send_to_mainloop call into two versions instead
2070 of having the block argument.
2072 2007-12-13 Alexander Larsson <alexl@redhat.com>
2074 * gcancellable.[ch]:
2076 * gbufferedinputstream.c:
2077 * gfileenumerator.c:
2078 * gfileinputstream.c:
2079 * gfileoutputstream.c:
2083 g_push/pop_current_cancellable ->
2084 g_cancellable_push/pop_current
2086 2007-12-13 Alexander Larsson <alexl@redhat.com>
2090 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2092 2007-12-13 Alexander Larsson <alexl@redhat.com>
2094 * gmountoperation.h:
2095 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2097 2007-12-12 Alexander Larsson <alexl@redhat.com>
2100 Fix race condition when freeing proxy in
2101 g_io_job_send_to_mainloop().
2103 2007-12-12 Alexander Larsson <alexl@redhat.com>
2109 Make attribute namespace separator "::" instead of ":".
2110 Use - instead of _ as separator in attribute names.
2112 2007-12-12 Alexander Larsson <alexl@redhat.com>
2114 * gbufferedinputstream.h:
2115 * gbufferedoutputstream.h:
2116 * gdatainputstream.h:
2117 * gdataoutputstream.h:
2118 * gdirectorymonitor.h:
2119 * gfileenumerator.h:
2120 * gfileinputstream.h:
2122 * gfileoutputstream.h:
2123 * gfilterinputstream.h:
2124 * gfilteroutputstream.h:
2126 * glocalfileinputstream.h:
2127 * glocalfileoutputstream.h:
2128 * gmemoryinputstream.h:
2129 * gmemoryoutputstream.h:
2130 * gnativevolumemonitor.h:
2132 * gunixinputstream.h:
2133 * gunixoutputstream.h:
2136 s/parent/parent_instance/ in GObjects
2138 2007-12-12 Alexander Larsson <alexl@redhat.com>
2143 No need for padding for interfaces
2145 2007-12-12 Alexander Larsson <alexl@redhat.com>
2149 * gbufferedinputstream.c:
2150 * gbufferedoutputstream.c:
2153 * gdatainputstream.[ch]:
2154 * gdesktopappinfo.c:
2155 * gdirectorymonitor.c:
2157 * gfileattribute.[ch]:
2160 * gfileinputstream.h:
2161 * gfilemonitor.[ch]:
2162 * gfileoutputstream.[ch]:
2163 * gfilterinputstream.h:
2164 * gfilteroutputstream.h:
2167 * gloadableicon.[ch]:
2168 * gmemoryinputstream.c:
2169 * gmountoperation.c:
2171 Fix up a bunch of details in the docs.
2176 2007-12-11 David Zeuthen <davidz@redhat.com>
2178 Rework how volumes, drives and volume monitoring is
2179 done. Previosly the model was
2181 GDrive <1-1> GVolume
2183 where a GDrive instance represented a mount point and a GVolume
2184 instance represented a mounted file system. This patch changes it
2187 GDrive <1-N> GVolume <1-1> GMount
2189 where GMount now serves the purpose of the old GVolume and the new
2190 GVolume serves the purpose of the old GDrive. In addition the new
2191 GDrive interface is used to represent a collection of GVolume
2192 instances (typically partitions) and also contains utility to query
2193 the state of the physical drive the GDrive object represents (such
2194 as checking for media, polling the drive, ejecting the media etc.).
2196 Also implement mounting and unmounting in the Unix volume monitor
2197 backend. A subquent patch will introduce GDrive support for ejection
2201 * gdrive.c: (g_drive_is_media_check_automatic),
2202 (g_drive_is_media_removable), (g_drive_has_media),
2203 (g_drive_can_poll_for_media), (g_drive_eject),
2204 (g_drive_eject_finish), (g_drive_poll_for_media),
2205 (g_drive_poll_for_media_finish):
2207 * gfile.c: (g_file_find_enclosing_mount):
2210 * glocaldirectorymonitor.c:
2211 (g_local_directory_monitor_constructor), (mounts_changed):
2212 * glocalfile.c: (get_mount_info),
2213 (g_local_file_find_enclosing_mount),
2214 (g_local_file_file_iface_init):
2215 * gnativevolumemonitor.h:
2216 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2217 (get_connected_drives), (g_union_volume_monitor_class_init),
2218 (child_volume_added), (child_volume_removed),
2219 (child_volume_changed), (child_mount_added), (child_mount_removed),
2220 (child_mount_pre_unmount), (child_mount_changed),
2221 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2222 (g_union_volume_monitor_remove_monitor),
2223 (_g_mount_get_for_mount_path):
2224 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2225 (guess_system_internal), (_g_get_unix_mounts),
2226 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2227 (g_unix_mount_free), (g_unix_mount_compare),
2228 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2229 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2230 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2231 (type_to_icon), (g_unix_mount_guess_name),
2232 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2233 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2234 (_resolve_symlink), (_resolve_dev_root):
2236 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2237 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2238 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2239 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2240 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2241 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2242 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2243 (g_unix_volume_volume_iface_init):
2245 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2246 (get_mounts), (get_volumes), (get_connected_drives),
2247 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2248 (mountpoints_changed), (mounts_changed),
2249 (g_unix_volume_monitor_init),
2250 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2251 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2252 * gunixvolumemonitor.h:
2253 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2254 (g_volume_mount), (g_volume_mount_finish):
2256 * gvolumemonitor.c: (g_volume_monitor_class_init),
2257 (g_volume_monitor_get_connected_drives),
2258 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2261 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2263 * gmountoperation.h (GPasswordFlags): Close the gap
2265 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2267 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2269 * gdesktopappinfo.[hc]: Remove _-prefixes
2271 2007-12-10 Tor Lillqvist <tml@novell.com>
2273 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2276 2007-12-10 Alexander Larsson <alexl@redhat.com>
2278 * gfile.c (g_file_set_display_name):
2279 Don't hardcode '/' (#502727)
2281 2007-12-09 Hans Breuer <hans@breuer.org>
2283 * makefile.msc : follow lib naming convention
2284 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2285 for user and group name, tested with ../tests/gio-ls
2287 2007-12-09 A. Walton <awalton@svn.gnome.org>
2289 * gdesktopappinfo.c:
2295 * gfileenumerator.c:
2300 * gmemoryinputstream.c:
2301 * gmemoryoutputstream.c:
2303 * gsimpleasyncresult.c:
2304 More documentation cleanup and filling in missing information, bringing
2305 GIO to 99% symbol coverage.
2307 2007-12-08 Hans Breuer <hans@breuer.org>
2309 [gio compiles and links on win32, not sure how much already works]
2310 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2311 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2312 base on win32 API; prefer g_lstat() over lstat(); instead of
2313 localtime_r() use an all GLib implementation on win32;
2314 get_mount_info() still needs a win32 specifc implementation
2315 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2316 win32_get_file_user_info to get owner/group info without uid/gid
2317 * glocalfileinputstream.c : include <io.h> on win32
2318 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2319 definition, use g_win32_ftruncate() for G_OS_WIN32
2320 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2321 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2322 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2323 * makefile.msc : updated
2325 2007-12-07 Alexander Larsson <alexl@redhat.com>
2327 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2328 Avoid warning spew if error == NULL
2330 2007-12-07 Alexander Larsson <alexl@redhat.com>
2333 Update docs wrt etags
2335 2007-12-06 Alexander Larsson <alexl@redhat.com>
2338 Include sys/types.h for dev_t (#501919)
2340 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2344 Make abicheck and pltcheck pass.
2346 2007-12-05 Alexander Larsson <alexl@redhat.com>
2349 * giomodule-priv.h: Added.
2350 * glocaldirectorymonitor.c:
2351 * glocalfilemonitor.c:
2352 * gunionvolumemonitor.c:
2354 Actually add the declaration of _g_io_modules_ensure_loaded
2356 2007-12-05 Alexander Larsson <alexl@redhat.com>
2358 * gdatainputstream.c:
2363 * glocaldirectorymonitor.c:
2364 * glocalfilemonitor.c:
2365 * gunionvolumemonitor.c:
2367 Make g_io_modules_ensure_loaded a private function and
2368 don't pass in the dirname. This means we can do magic
2369 directory finding in the win32 version.
2370 Export the actual load-modules-in-directory code so that
2371 gvfs can reuse that.
2373 2007-12-05 Alexander Larsson <alexl@redhat.com>
2375 * gbufferedinputstream.c:
2376 * gbufferedoutputstream.c:
2379 * gfileenumerator.[ch]:
2380 * gfileinputstream.c:
2381 * gfileoutputstream.[ch]:
2382 * gfilterinputstream.c:
2383 * gfilteroutputstream.c:
2384 * ginputstream.[ch]:
2386 * glocalfileenumerator.c:
2387 * glocalfileinputstream.c:
2388 * glocalfileoutputstream.c:
2389 * gmemoryinputstream.c:
2390 * gmemoryoutputstream.c:
2391 * goutputstream.[ch]:
2394 * gunixinputstream.c:
2395 * gunixoutputstream.c:
2396 Rename all struct members named:
2397 read, write, close, truncate, or mount
2398 to foo_fn, as these are reserved names
2399 and could be defined as macros in libc.
2402 2007-12-04 Alexander Larsson <alexl@redhat.com>
2405 (g_output_stream_close):
2406 Only call flush if non-null.
2408 2007-11-30 Dan Winship <danw@gnome.org>
2410 * ginputstream.c (g_input_stream_set_pending): Make this take a
2411 GError and return a gboolean, and do the "outstanding operation"
2412 check (and the "stream is already closed" check) itself.
2413 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2415 * goutputstream.c (g_output_stream_set_pending)
2416 (g_output_stream_clear_pending): Likewise
2418 * gbufferedinputstream.c:
2419 * gfileinputstream.c:
2420 * gfileoutputstream.c: Update for that
2422 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2423 Like g_simple_async_report_error_in_idle, but takes a GError
2424 rather than building one.
2426 2007-11-30 Dan Winship <danw@gnome.org>
2428 * goutputstream.c: Don't cheat and unset the "pending" flag around
2429 inner calls. Instead, call the class method directly rather than
2430 the wrapper function that checks "pending"
2432 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2434 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2436 2007-12-03 Hans Breuer <hans@breuer.org>
2438 [start of port to win32/msvc]
2439 * gcancellable.c : HAVE_UNIST_H and _pipe()
2440 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2441 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2442 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2444 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2445 * glocalvfs.c : use HAVE_PWD_H
2446 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2447 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2448 * Makefile.am : added to EXTRA_DIST
2450 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2452 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2455 2007-12-03 Alexander Larsson <alexl@redhat.com>
2458 Handle OSX style xattrs API (#500506)
2460 2007-12-03 Alexander Larsson <alexl@redhat.com>
2464 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2466 2007-12-02 A. Walton <awalton@svn.gnome.org>
2470 Documentation accuracy fixes.
2472 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2474 * gioenumtypes.c.template: Fix typo.
2476 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2478 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2480 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2482 * gdirectorymonitor.c:
2483 * gfilemonitor.c: Add properties
2485 * gbufferedoutputstream.c: Don't mark buffer-size property
2488 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2490 * gbufferedoutputstream.c: Add auto-grow property.
2492 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2494 * *.c: Unify the capitalization of section headings.
2496 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2498 * gmountoperation.c: Add properties
2500 * gdatainputstream.c: Turn byte-order and newline-type into
2503 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2505 * gioenumtypes.[hc].template: Templates for enum registration
2507 * Makefile.am: Generate gioenumtypes.[hc]
2509 * gio.h: Include gioenumtypes.h
2511 * gfile.h: Add some explicit nicks.
2513 * gio.symbols: Add new symbols
2515 * pltcheck.sh: Adjust
2517 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2519 * *.c: Explain etags and link to the explanation
2521 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2523 * *.c: Explain I/O priority.
2525 * *.c: More coding style fixes.
2527 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2529 * gasyncresult.c: Add another paragraph to the intro,
2530 adjust coding style of example.
2532 2007-11-29 A. Walton <awalton@svn.gnome.org>
2535 Fixes unknown meaning in GAppLaunchContext docs.
2537 Clarify asynchronous ops.
2539 Fix entity tag docs.
2542 Provides missing gtk-doc section, fixes API docs slighly.
2543 * gsimpleasyncresult.c:
2544 Fill in missing info in docs.
2545 * gunixinputstream.c:
2546 * gunixoutputstream.c:
2547 Be more expressive in short description.
2549 Remove gtk-doc stubs for non-public API.
2551 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2553 * *.c: Coding style fixups
2555 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2557 * inotify/inotify-helper.c: Don't export the lock from libgio.
2559 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2562 * abicheck.sh: Fix copy-and-paste leftovers
2564 2007-11-28 Matthias Clasen <mclasen@redhat.com>
2566 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
2568 2007-11-28 Alexander Larsson <alexl@redhat.com>
2572 Removed unnecessary file
2574 * gdesktopappinfo.[ch]:
2577 * glocaldirectorymonitor.[ch]:
2579 * glocalfileenumerator.[ch]:
2580 * glocalfileinputstream.[ch]:
2581 * glocalfilemonitor.[ch]:
2582 * glocalfileoutputstream.[ch]:
2584 * gnativevolumemonitor.c:
2585 * gpollfilemonitor.[ch]:
2586 * gunionvolumemonitor.[ch]:
2589 * gunixvolumemonitor.[ch]:
2592 * inotify/ginotifydirectorymonitor.[ch]:
2593 * inotify/ginotifyfilemonitor.[ch]:
2594 * inotify/inotify-helper.c:
2595 Append _ to all internal functions
2599 Export symbols needed for modules
2601 2007-11-28 Alexander Larsson <alexl@redhat.com>
2604 * abicheck.sh: Added.
2605 * makegioalias.pl: Added.
2606 * pltcheck.sh: Added.
2607 * gio.symbols: Added.
2610 Initial work on adding symbol handling.
2613 Correct ifdef guard name
2616 * inotify/Makefile.am:
2617 * xdgmime/Makefile.am:
2618 Include toplevel Makefile.decl
2620 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2622 * gcontenttype.c: Move doc comments to the unix section.
2624 * *.[hc]: More trivial doc corrections.
2626 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2628 * gpollfilemonitor.c:
2632 * gdesktopappinfo.c:
2637 * gdatainputstream.c:
2638 * gdatainputstream.h:
2639 * gdataoutputstream.c:
2640 * gdataoutputstream.h:
2641 * gfileinfo.h: Doc cleanups
2643 2007-11-28 Andre Klapper <a9016009@gmx.de>
2645 * gdesktopappinfo.c: Fix a typo.
2647 2007-11-27 Andre Klapper <a9016009@gmx.de>
2649 * glocalfileoutputstream.c: Fix a typo.
2651 2007-11-27 Alexander Larsson <alexl@redhat.com>
2654 Don't include removed headers
2656 2007-11-27 Alexander Larsson <alexl@redhat.com>
2659 * gsocketinputstream.[ch]: Removed.
2660 * gsocketoutputstream.[ch]: Removed.
2661 * gunixinputstream.[ch]: Added.
2662 * gunixoutputstream.[ch]: Added.
2663 Renamed GSocket*Stream to GUnix*Stream and made
2664 it unix-only, since its not really only for sockets
2665 and it only works on unix (but is highly useful there).
2667 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
2673 * gbufferedinputstream.c:
2674 * gbufferedinputstream.h:
2675 * gbufferedoutputstream.c:
2676 * gbufferedoutputstream.h:
2680 * gdatainputstream.c:
2681 * gdatainputstream.h:
2682 * gdataoutputstream.c:
2683 * gdataoutputstream.h:
2684 * gdirectorymonitor.c:
2685 * gdirectorymonitor.h:
2692 * gfileenumerator.c:
2693 * gfileenumerator.h:
2698 * gfileinputstream.c:
2699 * gfileinputstream.h:
2702 * gfilenamecompleter.c:
2703 * gfilenamecompleter.h:
2704 * gfileoutputstream.c:
2705 * gfileoutputstream.h:
2706 * gfilterinputstream.c:
2707 * gfilterinputstream.h:
2708 * gfilteroutputstream.c:
2709 * gfilteroutputstream.h:
2722 * glocalfileoutputstream.c:
2723 * gmemoryinputstream.c:
2724 * gmemoryinputstream.h:
2725 * gmemoryoutputstream.c:
2726 * gmemoryoutputstream.h:
2727 * gmountoperation.c:
2728 * gmountoperation.h:
2731 * gpollfilemonitor.c:
2734 * gsimpleasyncresult.c:
2735 * gsimpleasyncresult.h:
2736 * gsocketinputstream.c:
2737 * gsocketinputstream.h:
2738 * gsocketoutputstream.c:
2739 * gsocketoutputstream.h:
2746 * gunixvolumemonitor.c:
2755 Bumps documentation to 93% symbol coverage, touching most
2756 of the public files. Fixes broken function documentation prototypes.
2757 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
2758 gtk-doc headers in private files.
2760 2007-11-27 Jürg Billeter <j@bitron.ch>
2762 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
2763 (g_buffered_input_stream_read_byte):
2764 * gbufferedinputstream.h:
2765 New functions for efficient access to buffer and simple single byte
2768 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
2769 (g_data_input_stream_read_until):
2770 * gdatainputstream.h:
2771 Use peek_buffer to avoid memcpy in scan_for_newline, implement
2772 read_until with multiple stop chars.
2774 2007-11-27 Alexander Larsson <alexl@redhat.com>
2778 * inotify/Makefile.am:
2779 Use the user-specified giomoduledir
2781 2007-11-27 Alexander Larsson <alexl@redhat.com>
2785 Add catch-all gio.h header
2786 Don't install gdummyfile.h
2788 2007-11-26 Alexander Larsson <alexl@redhat.com>
2790 * Makefile.am (gioinclude_HEADERS):
2791 Remove trailing whitespace
2793 2007-11-26 Alexander Larsson <alexl@redhat.com>
2795 Merge gio-standalone into glib
2797 2007-11-25 Christian Kellner <gicmo@gnome.org>
2799 * gio/goutputstream.c:
2800 Fix small mistake in the docs.
2802 2007-11-21 Christian Persch <chpe@gnome.org>
2804 * gio/glocalfile.c: (g_local_file_trash):
2805 Convert filenames to UTF-8 for GError.
2806 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
2807 as per xdg base dir spec.
2809 2007-11-21 Christian Persch <chpe@gnome.org>
2811 * gio/gdesktopappinfo.c:
2812 Use that g_key_file_to_data cannot fail.
2814 Use stock defines for the key file group and key names.
2817 2007-11-21 Alexander Larsson <alexl@redhat.com>
2820 (copy_stream_with_progress):
2821 Make sure we do a final progress callback with
2822 the full total size.
2824 2007-11-21 Alexander Larsson <alexl@redhat.com>
2827 Export g_file_copy_attributes
2828 Remove padding as its not needed for interfaces
2830 2007-11-20 Alexander Larsson <alexl@redhat.com>
2835 Add G_IO_ERROR_WOULD_MERGE for
2836 copy/move dir on dir with overwrite.
2838 2007-11-20 Alexander Larsson <alexl@redhat.com>
2841 * gio/glocalfileinfo.c:
2842 Add COPY_NAME (this is an optional
2843 non-modified utf8 version of the name) that
2846 2007-11-20 Alexander Larsson <alexl@redhat.com>
2848 * gio/glocalfileenumerator.c:
2849 Report errors as GIOError, not GFileError
2851 2007-11-16 Alexander Larsson <alexl@redhat.com>
2853 * gio/glocalfileoutputstream.c:
2854 * gio/gwin32appinfo.c:
2855 Fix typos in strings.
2856 Patch from Luca Ferretti <elle.uca@libero.it>
2858 2007-11-15 Alexander Larsson <alexl@redhat.com>
2861 Post release version bump
2863 === gio-standalone 0.1.2 ===
2865 2007-11-15 Alexander Larsson <alexl@redhat.com>
2867 * docs/reference/gio/Makefile.am:
2868 Fix up distcheck by removing weird
2874 2007-11-14 Alexander Larsson <alexl@redhat.com>
2876 * gio/gdesktopappinfo.c:
2877 * gio/glocaldirectorymonitor.c:
2879 * gio/glocalfileinfo.c:
2880 * gio/inotify/inotify-sub.c:
2881 * programs/gio-cat.c:
2882 * programs/gio-copy.c:
2883 * programs/gio-info.c:
2884 * programs/gio-ls.c:
2885 * programs/gio-monitor-dir.c:
2886 * programs/gio-monitor-file.c:
2887 * programs/gio-mount.c:
2888 * programs/gio-move.c:
2889 * programs/gio-rm.c:
2890 * programs/gio-save.c:
2891 * programs/gio-trash.c:
2892 Leak fixes from Kjartan Maraas
2894 2007-11-14 Alexander Larsson <alexl@redhat.com>
2896 * gio/fam/fam-helper.c:
2898 * gio/glocalfileinfo.c:
2902 * gio/inotify/inotify-diag.c:
2903 * gio/inotify/inotify-kernel.c:
2904 Various code cleanups from Kjartan Maraas
2906 2007-11-14 Alexander Larsson <alexl@redhat.com>
2908 * gio/gioscheduler.c:
2910 Set up threadpool so that we cache 2 unused
2911 idle threads for at 15 secs. This means we
2912 will reuse thread-local data (like dbus connections)
2915 2007-11-14 Alexander Larsson <alexl@redhat.com>
2917 * gio/fam/fam-helper.c:
2918 * gio/fam/gfamdirectorymonitor.c:
2919 * gio/fam/gfamfilemonitor.c:
2921 * gio/gcontenttype.c:
2922 * gio/gdatainputstream.c:
2923 * gio/gdataoutputstream.c:
2927 * gio/gfileattribute.h:
2928 * gio/gfileenumerator.c:
2930 * gio/ginputstream.c:
2933 * gio/glocalfileinfo.c:
2934 * gio/goutputstream.c:
2935 * gio/gpollfilemonitor.c:
2936 * gio/gsimpleasyncresult.c:
2937 * gio/gunixmounts.c:
2938 * gio/gunixmounts.h:
2939 * gio/inotify/ginotifydirectorymonitor.c:
2940 * gio/inotify/ginotifyfilemonitor.c:
2941 * gio/inotify/inotify-diag.c:
2942 * gio/inotify/inotify-kernel.c:
2943 * gio/inotify/inotify-path.c:
2945 * gio/test-streams.c:
2946 * programs/gio-info.c:
2947 * programs/gio-monitor-dir.c:
2948 * programs/gio-monitor-file.c:
2949 Various code cleanups from Kjartan Maraas
2951 2007-11-13 Alexander Larsson <alexl@redhat.com>
2954 Handle the uri-scheme calls for dummy files
2956 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2958 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
2959 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
2960 to avoid clash with the C++ keyword.
2962 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
2964 * gio/glocalfileinfo.c: Build fix, added missing semicolon
2965 to an ifdef'ed call to getpwuid() in lookup_uid_data().
2967 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
2969 * gio/glocaldirectorymonitor.c:
2970 * gio/glocalfilemonitor.c:
2971 * gio/gunionvolumemonitor.c:
2972 Don't use g_once_init_*() for initializations that could fail and
2973 could leave the initialization variable set to 0 but use GOnce.
2974 This prevents a deadlock on the second call when trying to create
2975 a monitor and no monitor type is available. Thanks to Sven Herzberg
2978 2007-11-11 Sven Herzberg <sven@imendio.com>
2980 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
2981 #ifdef (make it work on MacOS X again)
2983 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
2985 Fixes Changelog for last two commits (sorry guys).
2987 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
2989 * gio/gbufferedinputstream.c:
2990 * gio/gdatainputstream.c:
2992 * gio/gfileoutputstream.c:
2993 * gio/gfilterinputstream.c:
2994 * gio/glocalfileinputstream.c:
2997 More consistency fixes in g*stream.c files.
2998 Significant clean of gfile's documentation, filling in of
2999 asynchronous operations documentation.
3001 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3003 * gio/gasyncresult.c:
3004 * gio/gbufferedinputstream.c:
3005 * gio/gbufferedoutputstream.c:
3006 * gio/gcancellable.c:
3007 * gio/gcontenttype.c:
3008 * gio/gdatainputstream.c:
3009 * gio/gdataoutputstream.c:
3010 * gio/gdesktopappinfo.c:
3013 * gio/gfileattribute.c:
3014 * gio/gio/gfileenumerator.c:
3016 * gio/gfileinputstream.c:
3017 * gio/gfilemonitor.c:
3018 * gio/gfileoutputstream.c:
3019 * gio/ginputstream.c:
3021 * gio/gioscheduler.c:
3022 * gio/gloadableicon.c:
3023 * gio/glocalfileoutputstream.c:
3024 * gio/gmemoryoutputstream.c:
3025 * gio/gmountoperation.c:
3026 * gio/goutputstream.c:
3028 * gio/gsimpleasyncresult.c:
3029 * gio/gunionvolumemonitor.c:
3030 * gio/gunixmounts.c:
3031 * gio/gunixvolume.c:
3035 * gio/gvolumemonitor.c:
3036 Updated documentation stubs, working towards consistency and
3039 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3041 * gio/gmemoryoutputstream.c:
3042 * gio/gmemoryoutputstream.h:
3043 Change g_memory_output_stream_set_free_on_close() to
3044 g_memory_output_stream_set_free_data() as this makes more sense and
3045 is more consistent with GMemoryInputStream.
3047 2007-11-07 Alexander Larsson <alexl@redhat.com>
3054 Change how we find the default vfs so that
3055 we can handle a gvfs failing to init
3057 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3059 * gio/gbufferedoutputstream.c:
3060 * gio/gdatainputstream.c:
3061 * gio/gdataoutputstream.c:
3062 * gio/gfileinputstream.c:
3063 * gio/gfileoutputstream.c:
3064 * gio/gfilterinputstream.c:
3065 * gio/gfilteroutputstream.c:
3066 * gio/ginputstream.c:
3067 * gio/gmemoryinputstream.c:
3068 * gio/gmemoryoutputstream.c:
3069 * gio/goutputstream.c:
3070 * gio/gsimpleasyncresult.c:
3071 * gio/gsocketinputstream.c:
3072 * gio/gsocketoutputstream.c:
3073 Add guards to the remaining public functions, add a TODO for
3074 an unimplemented function and remove some useless guards.
3076 2007-11-07 Alexander Larsson <alexl@redhat.com>
3079 Autoconf checks for the various types of
3080 getpwuid_r and getgrgid_r
3082 * gio/glocalfileinfo.c:
3083 Use the autoconf checks from above
3085 2007-11-07 Alexander Larsson <alexl@redhat.com>
3088 (g_local_file_query_filesystem_info):
3089 Some fixes for the statvfs case
3091 2007-11-07 Alexander Larsson <alexl@redhat.com>
3094 (g_local_file_query_filesystem_info):
3095 Pick the "best" of statfs / statvfs for the system
3096 if both are availible.
3098 2007-11-07 Alexander Larsson <alexl@redhat.com>
3100 Solaris fixes from Halton.Huo@Sun.COM:
3107 * gio/glocalfileinfo.c:
3108 Fix for solaris definition of getpwuid_r
3110 * gio/test-streams.c:
3111 Use G_GNUC_PRETTY_FUNCTION
3113 2007-11-07 Alexander Larsson <alexl@redhat.com>
3115 * gio/gdesktopappinfo.c:
3116 (update_default_list):
3117 Remove double semicolon.
3118 Patch from Jens Granseuer
3120 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3122 * docs/reference/gio/gio-sections.txt:
3123 * gio/gbufferedinputstream.c:
3124 * gio/gbufferedinputstream.h:
3125 * gio/gdatainputstream.c:
3126 * gio/gfileenumerator.c:
3127 * gio/gioscheduler.c:
3128 * gio/gunionvolumemonitor.c:
3130 * programs/gio-save.c:
3131 Fix typo: availible -> available. Unfortuntely this breaks API
3132 and ABI as g_buffered_input_stream_get_available() was renamed.
3134 * gio/gunixmounts.c:
3135 * gio/gbufferedinputstream.c:
3136 Add guards for public functions.
3138 2007-11-06 Ross Burton <ross@openedhand.com>
3140 * docs/reference/gio/Makefile.am:
3141 Fix invalid += usage which automake 1.10 doesn't like.
3143 2007-11-06 Alexander Larsson <alexl@redhat.com>
3146 (g_app_launch_context_class_init):
3149 Patch from Ross Burton
3151 2007-11-06 Alexander Larsson <alexl@redhat.com>
3154 Post release version bump
3156 === gio-standalone 0.1.1 ===
3158 2007-11-06 Alexander Larsson <alexl@redhat.com>
3161 Bump version to 0.1.1
3163 * gio/gsimpleasyncresult.c:
3164 (g_simple_async_result_set_from_error):
3165 Remove bogus g_return_if_fail
3167 2007-11-06 Alexander Larsson <alexl@redhat.com>
3170 The name is gio-standalone
3173 Add top src/builddir to includedir
3175 2007-11-06 Alexander Larsson <alexl@redhat.com>
3177 * docs/reference/gio/gio-sections.txt:
3179 * gio/gbufferedinputstream.c:
3180 * gio/gbufferedoutputstream.c:
3181 * gio/gcancellable.c:
3182 * gio/gdatainputstream.h:
3183 * gio/gdataoutputstream.c:
3184 * gio/gdataoutputstream.h:
3185 * gio/gdirectorymonitor.c:
3187 * gio/gfileattribute.c:
3188 * gio/gfileattribute.h:
3189 * gio/gfileenumerator.c:
3190 * gio/gfileenumerator.h:
3193 * gio/gfileinputstream.h:
3194 * gio/gfilemonitor.c:
3195 * gio/gfileoutputstream.h:
3196 * gio/glocalfilemonitor.h:
3197 * gio/glocalfileoutputstream.h:
3198 * gio/gmemoryinputstream.c:
3199 * gio/gmemoryoutputstream.c:
3200 * gio/gmountoperation.c:
3201 * gio/goutputstream.c:
3202 * gio/goutputstream.h:
3204 * gio/gsimpleasyncresult.c:
3205 * gio/gunixmounts.c:
3206 * gio/gunixmounts.h:
3208 * gio/inotify/inotify-helper.c:
3209 Fix gtk-doc warnings
3211 Patch from Ross Burton
3213 2007-11-06 Alexander Larsson <alexl@redhat.com>
3215 * gio/gfilenamecompleter.c:
3216 (g_filename_completer_get_completions):
3219 * gio/gunixvolume.c:
3220 Remove unused function
3222 Patches from Ross Burton
3224 2007-11-06 Alexander Larsson <alexl@redhat.com>
3229 Padding not needed for interfaces
3231 2007-11-06 Alexander Larsson <alexl@redhat.com>
3233 * gio/gfilemonitor.c:
3237 Make giotypes.h an internal file
3240 * gio/gbufferedinputstream.h:
3241 * gio/gbufferedoutputstream.h:
3242 * gio/gcancellable.h:
3243 * gio/gdatainputstream.h:
3244 * gio/gdataoutputstream.h:
3245 * gio/gdirectorymonitor.c:
3246 * gio/gdirectorymonitor.h:
3251 * gio/gfileattribute.h:
3252 * gio/gfileenumerator.h:
3257 * gio/gfilemonitor.c:
3258 * gio/gfilemonitor.h:
3259 * gio/gfilenamecompleter.c:
3260 * gio/gfilenamecompleter.h:
3261 * gio/gfilterinputstream.h:
3262 * gio/gfilteroutputstream.h:
3263 * gio/ginputstream.h:
3264 * gio/gmemoryinputstream.h:
3265 * gio/gmemoryoutputstream.h:
3266 * gio/gmountoperation.c:
3267 * gio/gmountoperation.h:
3268 * gio/gnativevolumemonitor.c:
3269 * gio/goutputstream.h:
3272 * gio/gsimpleasyncresult.c:
3273 * gio/gsimpleasyncresult.h:
3274 * gio/gsocketinputstream.h:
3275 * gio/gsocketoutputstream.h:
3276 * gio/gthemedicon.c:
3277 * gio/gthemedicon.h:
3281 * gio/gvolumemonitor.c:
3282 * gio/gvolumemonitor.h:
3283 Add padding in classes where it seems useful
3284 Don't include giotypes.h from public headers
3285 Move in Class definitions into c file where possible
3290 2007-11-06 Alexander Larsson <alexl@redhat.com>
3292 * docs/reference/gio/gio-docs.xml:
3293 Better structure for API docs
3295 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3298 * gio/gloadableicon.c:
3299 * gio/gsimpleasyncresult.c:
3300 * gio/gthemedicon.c:
3301 Add some more guards to public functions. Only files missing are now
3304 2007-11-06 Alexander Larsson <alexl@redhat.com>
3306 * docs/reference/gio/gio-docs.xml:
3307 Remove old files, add missing ones
3309 2007-11-06 Alexander Larsson <alexl@redhat.com>
3311 * docs/reference/gio/gio-sections.txt:
3314 Hide implementation classes
3316 * gio/gdriveprivate.h:
3317 * gio/gvolumeprivate.h:
3318 Remove non-existing function declarations
3320 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3323 Fix compilation warnings and add guards to the new functions.
3325 * gio/gasyncresult.c:
3327 Add guards to the public functions.
3330 Implement get_path().
3332 2007-11-06 Alexander Larsson <alexl@redhat.com>
3334 * gio/gfilenamecompleter.c:
3335 Make g_filename_completer_get_completions
3336 return char ** instead of GList for
3339 * docs/reference/gio/gio-docs.xml:
3340 * docs/reference/gio/gio-sections.txt:
3342 * gio/gasyncresult.c:
3343 * gio/gbufferedinputstream.c:
3344 * gio/gbufferedoutputstream.c:
3345 * gio/gcancellable.c:
3346 * gio/gcontenttype.c:
3347 * gio/gdatainputstream.c:
3348 * gio/gdataoutputstream.c:
3349 * gio/gdesktopappinfo.c:
3350 * gio/gdirectorymonitor.c:
3354 * gio/gfileattribute.c:
3355 * gio/gfileenumerator.c:
3358 * gio/gfileinputstream.c:
3359 * gio/gfilemonitor.c:
3360 * gio/gfilenamecompleter.c:
3361 * gio/gfilenamecompleter.h:
3362 * gio/gfileoutputstream.c:
3363 * gio/gfilterinputstream.c:
3365 * gio/ginputstream.c:
3367 * gio/gioscheduler.c:
3368 * gio/gloadableicon.c:
3369 * gio/glocaldirectorymonitor.c:
3371 * gio/glocalfileinputstream.c:
3372 * gio/glocalfilemonitor.c:
3373 * gio/glocalfileoutputstream.c:
3375 * gio/gmemoryinputstream.c:
3376 * gio/gmemoryoutputstream.c:
3377 * gio/gmountoperation.c:
3378 * gio/goutputstream.c:
3379 * gio/gpollfilemonitor.c:
3381 * gio/gsimpleasyncresult.c:
3382 * gio/gsocketinputstream.c:
3383 * gio/gsocketoutputstream.c:
3384 * gio/gthemedicon.c:
3385 * gio/gunionvolumemonitor.c:
3387 * gio/gunixmounts.c:
3388 * gio/gunixvolume.c:
3389 * gio/gunixvolumemonitor.c:
3393 * gio/gvolumemonitor.c:
3394 * gio/gwin32appinfo.c:
3395 Add (mostly stub) doc strings to public functions.
3396 Patch from Andrew Walton (awalton@gmail.com)
3398 2007-11-06 Alexander Larsson <alexl@redhat.com>
3400 * gio/gappinfo.[ch]:
3401 Added GAppLaunchContext object and pass that to launch.
3402 This allows simple implementation of both
3403 launch-on-screen and startup notification via a gtk+
3404 subclass of GAppLaunchContext
3406 * gio/gdesktopappinfo.c:
3407 Implement GAppLaunchContext API
3409 * gio/gwin32appinfo.c:
3412 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3414 * gio/gmountoperation.c:
3415 Add some guards to GMountOperation's public functions.
3417 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3421 * gio/gcancellable.c:
3422 * gio/gdirectorymonitor.c:
3424 * gio/gfileenumerator.c:
3425 * gio/gfilemonitor.c:,
3426 * gio/gfilenamecompleter.c:
3429 * gio/gioscheduler.c:
3433 * gio/gvolumemonitor.c:
3434 Add even more guards to various public functions.
3436 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3439 Add guards to the public functions of GAppInfo.
3441 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3443 * gio/gcontenttype.c:
3444 Add some more guards for public functions.
3446 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3448 * gio/fam/fam-module.c:
3449 * gio/fam/gfamdirectorymonitor.c:
3450 * gio/fam/gfamdirectorymonitor.h:
3451 * gio/fam/gfamfilemonitor.c:
3452 * gio/fam/gfamfilemonitor.h:
3453 * gio/inotify/ginotifydirectorymonitor.c:
3454 * gio/inotify/ginotifydirectorymonitor.h:
3455 * gio/inotify/ginotifyfilemonitor.c:
3456 * gio/inotify/ginotifyfilemonitor.h:
3457 Add proper copyright information and remove an unused variable
3458 in the GInotifyFileMonitor constructor.
3460 * gio/gcancellable.c:
3461 Add a guard for a public function and an assertion to prevent
3462 an undefined program state.
3464 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3466 * gio/gfileattribute.c:
3467 Don't run into an assertion if the given attribute value is NULL
3468 in g_file_attribute_value_get_*() but instead return a fallback
3469 value that makes sense in most situations. Passing them a attribute
3470 value with the wrong type will still run into an assertion.
3472 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3474 * gio/gfileattribute.c:
3476 Add even more guards to the public functions. Also fix the refcounting
3477 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3478 let g_file_info_list_attributes() filter the attributes by namespace
3479 instead of simply ignoring the namespace parameter.
3481 2007-11-03 Sven Herzberg <sven@imendio.com>
3483 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3484 (This makes gio work on MacOS X again)
3486 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3489 Build the gio subdirectory before the docs. Otherwise the build will
3492 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3493 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3494 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3495 Add guards to the public functions.
3497 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3499 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3500 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3501 to prevent a compiler warning.
3503 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3504 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3505 return something in the non-void function find_topdir_for().
3507 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3514 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3516 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3517 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3518 * gwin32appinfo.c (g_win32_app_info_launch):
3519 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3520 envp_for_startup_id, g_desktop_app_info_launch,
3521 g_desktop_app_info_launch_uris):
3523 Give an opaque 'startup_id' string instead of 'envp'.
3524 Support empty file lists for launching new windows.
3525 Fix infinite recursion bug when launching URIs.
3527 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3530 Add guard to the new g_file_get_uri_scheme() function.
3532 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3535 Convert a g_return_val_if_fail() to setting the GError instead as
3536 otherwise applications have to verify the parameter before otherwise
3537 and the parameter might come directly from the user.
3539 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3541 * gio/inotify/ginotify*.[ch]:
3542 Add missing copyright information.
3544 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3547 Add guards in the beginning of public functions to check for valid
3548 parameters and fix a bug in copy_stream_with_progress() that could've
3549 caused writing less bytes than reading.
3550 * gio/glocalfileinfo.c:
3551 Check for a NULL parameter and set the GError accordingly then.
3552 * gio/goutputstream.c:
3553 Fix the same bug as in gfile.c that could've caused writing less bytes
3554 than reading in g_output_stream_real_splice().
3556 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
3559 Use the correct gvolumeprivate.h naming
3561 2007-11-01 Christian Kellner <gicmo@gnome.org>
3564 Remove leftover "$(daemon_sources)" entry.
3566 2007-11-01 Christian Kellner <gicmo@gnome.org>
3571 Add copyright information to source files.
3573 2007-11-01 Alexander Larsson <alexl@redhat.com>
3577 Add g_file_get_uri_scheme
3579 2007-11-01 Alexander Larsson <alexl@redhat.com>
3582 * gio/gdesktopappinfo.c:
3583 * gio/gwin32appinfo.c:
3584 Add g_app_info_get_default_for_uri_scheme.
3586 2007-11-01 Alexander Larsson <alexl@redhat.com>
3589 Correct filename for gdriveprivate.h
3591 2007-10-31 Alexander Larsson <alexl@redhat.com>
3594 Rename id:value to id:file
3597 * gio/glocalfileinfo.c:
3600 2007-10-31 Alexander Larsson <alexl@redhat.com>
3602 * gio/gunixvolume.c:
3604 Remove g_volume_get_platform_id, as thats not
3605 needed with the simpler union volume monitor
3607 2007-10-31 Alexander Larsson <alexl@redhat.com>
3610 * gio/guniondrive.[ch]: Removed.
3611 * gio/gunionvolume.[ch]: Removed.
3612 Remove GUnionDrive/Volume
3614 * gio/gunionvolumemonitor.c:
3615 Simplify union volume monitor, now we
3616 only have one native volume monitor and
3617 we use the actual volumes/drives from the
3618 child monitors instead of wrapping them
3620 * gio/gnativevolumemonitor.[ch]:
3621 Base class for native volume monitors.
3622 Includes priority and get_volume_for_mountpoint
3625 Add g_file_find_enclosing_volume
3628 Remove volume name fs attribute
3629 Add readonly fs attribute
3632 Implement readonly attribute
3633 remove volume name attribute
3634 Implement find_enclosing volume
3636 * gio/gunixmounts.c:
3637 Add a volume for "/".
3639 * gio/gunixvolume.[ch]:
3640 Set better name for /
3642 * gio/gunixvolumemonitor.[ch]:
3643 Derive from GNativeVolumeMonitor
3644 Implement get_volume_for_mountpoint
3647 GVolume typedef moved to gfile.h
3649 * gio/gvolumeprivate.h:
3650 Add g_volume_get_for_mount_path
3652 2007-10-31 Alexander Larsson <alexl@redhat.com>
3654 * gio/gunixmounts.[ch]:
3655 Add cache info to unix mount listers
3656 Make getmntent use threadsafe
3657 Add is_system_internal attribute for GUnixMount
3659 * gio/gunixvolume.c:
3660 (g_unix_volume_new):
3661 Use is_system_internal instead of own code
3663 * gio/glocaldirectorymonitor.c:
3664 * gio/gunixvolumemonitor.c:
3665 Update to new gunixmounts API
3670 2007-10-30 Alexander Larsson <alexl@redhat.com>
3673 Add volume name fsinfo attribute
3676 Read volume name info
3678 * gio/gunionvolumemonitor.c:
3679 Fix infinite loops when finalizing a union volume monitor
3681 2007-10-30 Alexander Larsson <alexl@redhat.com>
3683 * gio/goutputstream.[ch]:
3684 Add splice() with default implementation
3686 * gio/gsocketoutputstream.c:
3687 (g_socket_output_stream_write):
3688 Return error on cancellation correctly.
3690 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3692 * gio/glocalfile.c (g_local_file_trash):
3693 Do not leak a string.
3695 2007-10-26 Paolo Borelli <pborelli@katamail.com>
3697 * gio/gfile.c (g_file_load_contents):
3698 Unref the stream after closing it.
3700 2007-10-25 Alexander Larsson <alexl@redhat.com>
3702 * gio/gioscheduler.h:
3705 2007-10-25 Alexander Larsson <alexl@redhat.com>
3709 Add g_file_has_uri_scheme and implement for local files
3711 2007-10-25 Paolo Borelli <pborelli@katamail.com>
3713 * gio/gdesktopappinfo.c: do not leak a string.
3715 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3717 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
3718 (g_local_directory_monitor_new):
3719 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
3720 (g_local_file_monitor_new):
3721 Only look for the monitor type that should be used the first time
3722 and use g_qsort_with_data() instead of our own bubble sort
3725 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
3728 * gio/fam/Makefile.am:
3729 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
3730 * gio/fam/fam-helper.h:
3731 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
3732 * gio/fam/gfamdirectorymonitor.c:
3733 * gio/fam/gfamdirectorymonitor.h:
3734 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
3735 * gio/fam/gfamfilemonitor.h:
3736 * gio/glocaldirectorymonitor.c:
3737 * gio/glocaldirectorymonitor.h:
3738 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
3739 * gio/glocalfilemonitor.h:
3740 * gio/inotify/Makefile.am:
3741 * gio/inotify/ginotifydirectorymonitor.c:
3742 * gio/inotify/ginotifydirectorymonitor.h:
3743 * gio/inotify/ginotifyfilemonitor.c:
3744 * gio/inotify/ginotifyfilemonitor.h:
3745 Implement the FAM and Inotify monitors as
3746 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
3747 their own GIO module. GLocal(Directory|File)Monitor will use the
3748 monitor with the highest rank that is supported on that machine.
3750 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
3753 Change GIO module dir to $(libdir)/gio/modules and change
3754 the log domain from GVFS to GIO. Also only export symbols starting
3755 with g_ in the resulting library.
3756 * gio/test-streams.c: (main):
3757 Set log handler for the GIO log domain.
3759 2007-10-22 Alexander Larsson <alexl@redhat.com>
3761 * gio/gfilenamecompleter.[ch]:
3762 Add g_filename_completer_set_dirs_only
3764 2007-10-22 Alexander Larsson <alexl@redhat.com>
3767 * gio/gurifuncs.[ch]:
3768 Add some simple URI helpers
3770 * gio/gfilenamecompleter.[ch]:
3771 Added object for filename (parse name actually) completion
3774 Handle ~ in parse names
3776 2007-10-17 Alexander Larsson <alexl@redhat.com>
3779 * gio/glocalfileinfo.c:
3780 Add and implement id:value attribute
3782 2007-10-17 Alexander Larsson <alexl@redhat.com>
3785 * gio/guniondrive.c:
3787 Add and implement g_drive_has_volumes
3789 2007-10-17 Alexander Larsson <alexl@redhat.com>
3792 * gio/glocalfileinfo.[ch]:
3793 Add unix:is_mountpoint and implement for local files
3795 2007-10-16 Alexander Larsson <alexl@redhat.com>
3797 * gio/gunionvolumemonitor.c:
3798 (g_union_volume_monitor_init):
3799 Fix up the unix type getting so that it works with gcc
3801 2007-10-12 Alexander Larsson <alexl@redhat.com>
3804 * gio/glocalfileinfo.c:
3805 Add thumbnail:failed to file info
3807 2007-10-12 Richard Hult <richard@imendio.com>
3809 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
3810 optimizing away the get_type call (happens with some gcc versions,
3811 like the one shipped with OS X 10.4).
3813 2007-10-12 Alexander Larsson <alexl@redhat.com>
3815 * gio/glocalfileinfo.c:
3816 (_g_local_file_info_set_attribute):
3817 Fix build if not HAVE_XATTR
3818 Patch from Milosz Derezynski <internalerror@gmail.com>
3820 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
3822 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
3823 around for review, otherwise I would have asked you before
3826 2007-10-11 Alexander Larsson <alexl@redhat.com>
3829 Add thumbnail:path attribute
3831 * gio/glocalfileinfo.c:
3832 Implement thumbnail:path for local files
3834 2007-10-11 Alexander Larsson <alexl@redhat.com>
3836 * gio/glocalfileinfo.c:
3837 (_g_local_file_info_get):
3838 Avoid duplicate icon names
3840 2007-10-11 Alexander Larsson <alexl@redhat.com>
3842 * gio/gthemedicon.[ch]:
3843 Change g_themed_icon_get_names return type to const
3845 2007-10-10 Alexander Larsson <alexl@redhat.com>
3847 * gio/glocalfileinfo.c:
3848 Don't reference freed memory
3850 2007-10-10 Alexander Larsson <alexl@redhat.com>
3852 * gio/gfileattribute.c:
3855 * gio/glocalfileinfo.c:
3858 2007-10-10 Alexander Larsson <alexl@redhat.com>
3861 Check for NULL icons
3863 * gio/gfileattribute.c:
3864 Don't dup when getting objects (same as for string attributes)
3866 * gio/gicon.c (g_icon_equal):
3867 Safely handle NULLs in equal
3869 2007-10-10 Alexander Larsson <alexl@redhat.com>
3872 Fix c++ compilation issues
3873 Patch from Milosz Derezynski <internalerror@gmail.com>
3875 2007-10-10 Alexander Larsson <alexl@redhat.com>
3877 * programs/gio-monitor-dir.c:
3878 Don't crash if dir monitor not supported.
3880 2007-10-09 Alexander Larsson <alexl@redhat.com>
3883 Add missing G_END_DECLS
3885 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3887 * gio/gfile.c: (g_file_set_display_name),
3888 (g_file_query_settable_attributes),
3889 (g_file_query_writable_namespaces):
3890 Return NULL not FALSE on errors as the return type is a pointer.
3892 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
3894 * gio/glocalfile.c: (g_local_file_monitor_file):
3895 Don't call monitor_file on the default interface vtable (which
3896 is NULL) but simply return NULL. The caller, GFile, will create a
3897 polling monitor if NULL is returned.
3899 2007-10-09 Alexander Larsson <alexl@redhat.com>
3903 * gio-unix-2.0.pc.in:
3904 Add gio-unix-2.0.pc if OS_UNIX
3907 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
3909 2007-10-09 Alexander Larsson <alexl@redhat.com>
3911 * gio/gunixmounts.[ch]:
3912 Make unix mount monitoring API sane.
3913 Now its just a object with mounts_changed
3914 and mountpoints_changed signals.
3916 * gio/glocaldirectorymonitor.c:
3917 * gio/gunixvolumemonitor.c:
3918 Use new mount monitor api
3920 2007-10-09 Alexander Larsson <alexl@redhat.com>
3922 * gio/gunixmounts.[ch]:
3923 Move guess type into one call for mounts and one for mountpoints
3926 * gio/gunixvolume.c:
3929 2007-10-09 Alexander Larsson <alexl@redhat.com>
3931 * gio/gunixmounts.[ch]:
3932 Remove _ prefix in preparation to make this semi-public
3933 Hide implementation of structs
3935 * gio/glocaldirectorymonitor.c:
3937 * gio/gunixvolume.c:
3938 * gio/gunixvolumemonitor.c:
3939 Update for above API changes
3941 2007-10-08 Alexander Larsson <alexl@redhat.com>
3944 Better polling fallback. This also handles the case where we have
3945 a monitor_file implementation, but it fails.
3947 2007-10-08 Alexander Larsson <alexl@redhat.com>
3951 * gio/gunixmounts.c:
3952 * programs/gio-monitor-dir.c:
3953 * programs/gio-monitor-file.c:
3954 Added cancellable to file monitoring calls.
3955 These are really sync calls and need this.
3957 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
3959 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
3960 (g_local_vfs_class_init):
3961 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
3962 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
3964 2007-10-05 Alexander Larsson <alexl@redhat.com>
3966 * gio/gdirectorymonitorprivate.h:
3967 * gio/gfilemonitorprivate.h:
3968 * gio/gdirectorymonitor.h:
3969 * gio/gfilemonitor.h:
3970 Remove *private.h and move to the public API, so that
3971 we can do implementations outside gio (such as in gvfs)
3973 * gio/gdirectorymonitor.c:
3974 * gio/gfilemonitor.c:
3975 * gio/glocaldirectorymonitor.c:
3976 * gio/gpollfilemonitor.c:
3977 * gio/inotify/inotify-helper.c:
3978 * gio/fam/fam-helper.c:
3979 Update to the new header names
3981 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
3983 * gio/gdirectorymonitor.c:
3984 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
3987 2007-10-04 Alexander Larsson <alexl@redhat.com>
3989 * gio/glocalfileinfo.c (get_access_rights):
3990 Set CAN_TRASH when we can move the file.
3991 We should really also check for a parent trash dir.
3993 2007-10-04 Alexander Larsson <alexl@redhat.com>
3995 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
3996 Add can_trash access attribute
3998 2007-10-04 Alexander Larsson <alexl@redhat.com>
4001 (g_local_file_trash):
4002 Create info file first. This is per-spec and allows
4003 us to actually trash directories.
4005 2007-10-02 Alexander Larsson <alexl@redhat.com>
4007 * gio/gdesktopappinfo.c:
4008 Implement the new mime support code.
4009 Always set app as handling mimetype when being set as default for it
4011 2007-10-01 Alexander Larsson <alexl@redhat.com>
4013 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4014 Fix up check for xattrs:
4016 2007-10-01 Alexander Larsson <alexl@redhat.com>
4019 (g_app_info_set_as_default_for_extension):
4020 (g_app_info_add_supports_type):
4021 (g_app_info_can_remove_supports_type):
4022 (g_app_info_remove_supports_type):
4023 Make these fail nicely if not implemented
4025 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4027 * gio/glocalfileoutputstream.c:
4028 * gio/glocalfileoutputstream.h:
4033 * programs/gio-save.c:
4034 Add a GFileCreateFlags argument to operations that can create
4037 2007-10-01 Alexander Larsson <alexl@redhat.com>
4039 * gio/gappinfo.[ch]:
4040 * gio/gdesktopappinfo.c:
4041 Add more (stubbed out) mime API needed for nautilus
4043 2007-10-01 Alexander Larsson <alexl@redhat.com>
4046 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4047 Add g_app_info_set_as_default_for_extension.
4049 * gio/gdesktopappinfo.c:
4050 Dummy for g_app_info_set_as_default_for_extension
4051 Support flags in g_app_info_create_from_commandline
4053 * gio/gwin32appinfo.c:
4055 Update for API changes
4057 * gio/gthemedicon.c:
4058 Properly NULL-terminate list of icon names
4060 2007-09-28 Alexander Larsson <alexl@redhat.com>
4062 * gio/gloadableicon.h:
4063 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4065 2007-09-28 Alexander Larsson <alexl@redhat.com>
4068 Install headers in $includedir/gio-standalone/
4070 * gio-2.0.pc.in: Added.
4071 * gio-standalone.pc.in: Removed.
4074 Renamed pkg-config file to match glib (for future move)
4075 Update to the new include dir
4078 Add more TODO comments
4080 2007-09-28 Alexander Larsson <alexl@redhat.com>
4082 * gio/gdesktopappinfo.[ch]:
4083 Expose new_from_filename
4084 Add getter for is_hidden and handle it better
4086 2007-09-28 Alexander Larsson <alexl@redhat.com>
4088 * gio/gfileinfo.[ch]:
4089 Rename g_file_size_format_for_display to
4090 g_format_file_size_for_display.
4091 Now it doesn't have the g_file prefix, so we
4092 can later move it to glib.
4094 2007-09-28 Alexander Larsson <alexl@redhat.com>
4096 * gio/gappinfo.[ch]:
4097 Add g_app_info_get_id and g_app_info_get_executable.
4098 Make all getters non-reffing
4099 Make g_app_info_launch take GFile arguments.
4100 Add must_support_uris argument to g_app_info_get_default_for_type.
4102 * gio/gwin32appinfo.c:
4103 Update to GAppInfo api changes
4105 * gio/gdesktopappinfo.c:
4106 Update to GAppInfo api changes
4107 Implement supports_xdg_startup_notify
4109 * gio/gfileicon.c (g_file_icon_get_file):
4110 Make getter non-reffing.
4115 2007-09-27 Alexander Larsson <alexl@redhat.com>
4117 * gio/gfileinfo.[ch]:
4118 Add g_file_size_format_for_display helper
4120 2007-09-27 Alexander Larsson <alexl@redhat.com>
4122 * gio/glocalfileinfo.c:
4123 Set UNIX_GID from gid, not from uid
4125 2007-09-27 Alexander Larsson <alexl@redhat.com>
4128 Add g_file_set_attributes_async
4130 2007-09-27 Alexander Larsson <alexl@redhat.com>
4132 * gio/glocalfile.c (g_local_file_set_display_name):
4133 Fix set_display_name to actually rename to the right place.
4134 Use lstat to look for existing files so we don't overwrite
4137 2007-09-26 Alexander Larsson <alexl@redhat.com>
4140 Add g_file_set_display_name_async()
4142 2007-09-26 Alexander Larsson <alexl@redhat.com>
4145 Add load_partial_contents async calls
4148 Make internal function static
4150 2007-09-26 Alexander Larsson <alexl@redhat.com>
4152 * gio/glocalfileinfo.c:
4153 Correctly detect broken symlinks
4155 2007-09-26 Alexander Larsson <alexl@redhat.com>
4157 * gio/gcancellable.c (g_cancellable_cancel):
4158 Allow cancel on NULL cancellable
4160 2007-09-25 Alexander Larsson <alexl@redhat.com>
4162 * gio/gsimpleasyncresult.c:
4163 Don't allocate g_error manually.
4164 Fixes g_slice/g_new mixup crash
4166 2007-09-25 Alexander Larsson <alexl@redhat.com>
4168 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4169 Actually set active_backend.
4170 This means the monitor will be cancelled correctly.
4172 2007-09-25 Alexander Larsson <alexl@redhat.com>
4174 * gio/gdirectorymonitor.c:
4175 Set timeout to NULL when destroying
4177 2007-09-25 Alexander Larsson <alexl@redhat.com>
4180 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4181 that is a better description of the error.
4183 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4185 * gio/gvfs.c: (g_vfs_get_local):
4186 Make the local vfs variable static. The same instance should
4189 2007-09-24 Alexander Larsson <alexl@redhat.com>
4191 * gio/glocalfileinfo.c:
4192 Pass in actual length read into sniffer, not the length
4195 2007-09-21 Alexander Larsson <alexl@redhat.com>
4197 * gio/gfileenumerator.c:
4200 * gio/gfileinputstream.c:
4201 * gio/gfileoutputstream.c:
4202 * gio/ginputstream.c:
4203 * gio/goutputstream.c:
4204 Don't crash if async callbacks are NULL
4206 2007-09-20 Alexander Larsson <alexl@redhat.com>
4209 Add async enumerate_children method and default
4212 2007-09-20 Alexander Larsson <alexl@redhat.com>
4215 Add g_file_contains_file & g_file_get_relative_path, since they
4216 were needed for nautilus.
4217 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4222 Implement new methods
4224 2007-09-17 Alexander Larsson <alexl@redhat.com>
4227 * gio/gfileinputstream.[ch]:
4228 * gio/gfileoutputstream.[ch]:
4230 * gio/glocalfileenumerator.[ch]:
4231 * gio/glocalfileinfo.[ch]:
4232 * gio/glocalfileinputstream.c:
4233 * gio/glocalfileoutputstream.c:
4234 * gio/gpollfilemonitor.c:
4235 * programs/gio-copy.c:
4236 * programs/gio-info.c:
4237 * programs/gio-move.c:
4238 Rename get_file_info to query_info() to make it clearer
4239 that these are not simple getters, but do i/o.
4241 2007-09-17 Alexander Larsson <alexl@redhat.com>
4243 * gio/gdatainputstream.[ch]:
4244 * gio/test-streams.c:
4245 Use _read_XXX instead of _get_XXX for the i/o calls
4248 2007-09-17 Alexander Larsson <alexl@redhat.com>
4251 Added needed stuff to TODO comment
4253 2007-09-17 Alexander Larsson <alexl@redhat.com>
4255 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4256 Don't error out removing the backup copy if it doesn't
4259 2007-09-14 Alexander Larsson <alexl@redhat.com>
4261 * programs/Makefile.am:
4262 * programs/gvfs-*.c:
4264 Renamed apps from gvfs-xxx to gio-xxx.
4266 2007-09-14 Alexander Larsson <alexl@redhat.com>
4269 * gio/gfileoutputstream.[ch]:
4270 * gio/glocalfileoutputstream.c:
4271 * programs/gvfs-save.c:
4272 g_file_output_stream_get_etag doesn't do i/o, so remove
4273 cancellation and error.
4275 2007-09-14 Alexander Larsson <alexl@redhat.com>
4278 Add new_etag output to replace_contents functions
4280 2007-09-14 Alexander Larsson <alexl@redhat.com>
4282 * gio/gfileoutputstream.[ch]:
4283 Add async get_file_info and default implementation
4285 2007-09-14 Alexander Larsson <alexl@redhat.com>
4287 * gio/gfileinputstream.c:
4288 Implement fallback wrapper for async get_file_info
4290 2007-09-14 Alexander Larsson <alexl@redhat.com>
4293 Add etag out argument to load_contents
4298 2007-09-14 Alexander Larsson <alexl@redhat.com>
4300 * gio/gcontenttype.c (looks_like_text):
4301 Whitespace like tab, cr and lf do not make the
4304 2007-09-14 Alexander Larsson <alexl@redhat.com>
4306 * gio/gfileinputstream.[ch]:
4307 Add async get_file_info.
4309 2007-09-13 Alexander Larsson <alexl@redhat.com>
4311 * gio/goutputstream.c (g_output_stream_write_all):
4312 Allow NULL for bytes_written
4314 2007-09-13 Alexander Larsson <alexl@redhat.com>
4316 * gio/gmemoryinputstream.[ch]:
4317 Add accessors for data
4319 2007-09-13 Alexander Larsson <alexl@redhat.com>
4321 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4322 Don't crash if length is NULL