1 2008-08-04 Matthias Clasen <mclasen@redhat.com>
3 * === Released 2.17.5 ===
5 2008-08-04 Matthias Clasen <mclasen@redhat.com>
7 Bug 546017 – Don't copy attributes when copying a symlink
9 * gfile.c (g_file_copy_attributes): Specify
10 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
11 g_file_set_attributes_from_info. Patch by Christian Kellner
13 2008-08-04 Matthias Clasen <mclasen@redhat.com>
17 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
18 a bit more extensible. Work by Clemens Buss.
20 * gioenums.h: Add GEmblemOrigin.
23 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
25 Bug 546079 – leak in xdgmime
27 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
29 2008-08-03 Tor Lillqvist <tml@novell.com>
31 * win32/gwin32directorymonitor.h
32 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
35 2008-08-03 Tor Lillqvist <tml@novell.com>
37 * win32/gwin32directorymonitor.c
38 (g_win32_directory_monitor_callback): Make prototype match
39 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
40 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
43 (g_win32_directory_monitor_constructor):
44 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
45 names in the GLib API on Windows, so convert to UTF-16 and open
48 2008-08-03 Tor Lillqvist <tml@novell.com>
50 Bug 541036 - Gnumeric crashes when trying to open Desktop or
51 user's folder under Windows
53 * win32/gwin32directorymonitor.c
54 (g_win32_directory_monitor_constructor): Ignore error from
55 CreateFile() when opening directory. Instead of asserting, just
56 store INVALID_HANDLE_VALUE then in
57 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
58 ReadDirectoryChangesW().
59 (g_win32_directory_monitor_cancel): Don't attempt to close
60 directory handle if it is INVALID_HANDLE_VALUE.
62 2008-08-01 Matthias Clasen <mclasen@redhat.com>
64 * gdesktopappinfo.c: Remove debug spew
66 2008-08-01 Hans Breuer <hans@breuer.org>
68 * makefile.msc : add gemblembedicon
70 2008-07-30 Matthias Clasen <mclasen@redhat.com>
72 Bug 545457 – gdmsetup crashed with SIGSEGV in
73 g_unix_mount_guess_should_display()
75 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
76 crash if no mount is found.
78 2008-07-28 Matthias Clasen <mclasen@redhat.com>
80 Bug 545203 – gfile.c: argument is different type.
82 * gfile.c (open_read_async_thread): Pass a GError **
83 to g_file_set_error_literal.
84 Reported by Kazuki Iwamoto
86 2008-07-28 Matthias Clasen <mclasen@redhat.com>
88 Bug 545157 – wrong/no list of "open with" applications for .cc and
91 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
92 Collect all ancestors, not just direct parents. Pointed
95 2008-07-28 Matthias Clasen <mclasen@redhat.com>
97 * Makefile.am: Install gemblemedicon.h
99 2008-07-28 Matthias Clasen <mclasen@redhat.com>
101 * gemblemedicon.[hc]: Add a GIcon implementation that can
102 add an emblem to another icon.
109 * gfileicon.c: Small documentation additions.
111 2008-07-28 Tor Lillqvist <tml@novell.com>
113 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
116 2008-07-27 Tor Lillqvist <tml@novell.com>
118 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
120 2008-07-24 David Zeuthen <davidz@redhat.com>
124 Also export a g_mount_guess_content_type_sync() function.
126 2008-07-23 Matthias Clasen <mclasen@redhat.com>
128 529694 – SELinux context setting support
130 * gfileinfo.c: Support setting selinux attributes.
131 Patch by Tomas Bzatek
133 2008-07-22 Priit Laes <plaes@plaes.org>
135 Bug 544140 - fam-helper 64-bit issue?
137 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
139 2008-07-21 Matthias Clasen <mclasen@redhat.com>
141 * === Released 2.17.4 ===
143 2008-07-20 Matthias Clasen <mclasen@redhat.com>
145 * gvolumemonitor.[hc]:
150 * gmount.c: Documentation fixes
152 2008-07-19 Matthias Clasen <mclasen@redhat.com>
154 543504 – crash in Epiphany Web Browser: Opening local file
165 * gvolume.c: Register types thread-safely.
166 Patch by Christian Persch
168 2008-07-18 Matthias Clasen <mclasen@redhat.com>
170 * gcontenttype.c: Remove debug spew
172 2008-07-18 Matthias Clasen <mclasen@redhat.com>
174 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
177 * fen/fen-kernel.c: Remove a warning that was causing
178 crashes. Reported by Lin Ma.
180 2008-07-18 Matthias Clasen <mclasen@redhat.com>
182 Bug 543040 – async reading on dummy file will crash on
185 * gfile.c (open_read_async_thread): Cope with read_fn being
186 NULL. Reported by Lin Ma.
188 2008-07-18 Matthias Clasen <mclasen@redhat.com>
191 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
193 2008-07-16 Matthias Clasen <mclasen@redhat.com>
197 * giomodule.c: Rename a chapter id to avoid filename conflict.
199 2008-07-16 Matthias Clasen <mclasen@redhat.com>
201 Bug 540616 – mem leak in filechooser button
203 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
204 the mount entry. Reported by Chrisitan Persch
206 2008-07-16 Matthias Clasen <mclasen@redhat.com>
208 * gfile.c: Small documentation fixes.
210 2008-07-15 Matthias Clasen <mclasen@redhat.com>
212 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
214 2008-07-08 Matthias Clasen <mclasen@redhat.com>
219 * gmount.c: Documentation improvements.
221 2008-07-08 Matthias Clasen <mclasen@redhat.com>
224 * gmount.[hc]: Add g_mount_guess_content_type().
226 2008-07-06 David Zeuthen <davidz@redhat.com>
229 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
230 is needed for easily handling adoption of foreign volumes by
231 out-of-process volume monitors (#541793)
233 2008-07-06 David Zeuthen <davidz@redhat.com>
235 * gvolumemonitor.[ch]:
236 * gunionvolumemonitor.c: Export the eject-button signal on the
237 volume monitor class (#541794).
239 2008-07-06 Matthias Clasen <mclasen@redhat.com>
241 * gappinfo.c: More doc tweaks
243 2008-07-05 Matthias Clasen <mclasen@redhat.com>
245 * gappinfo.c: Clarify some docs
247 2008-07-03 Matthias Clasen <mclasen@redhat.com>
249 * gdesktopappinfo.c: Fix a stupid mistake.
251 2008-07-02 Matthias Clasen <mclasen@redhat.com>
253 * === Released 2.17.3 ===
255 2008-07-02 Matthias Clasen <mclasen@redhat.com>
257 * gfilemonitor.c: Fix the build.
259 2008-07-02 Matthias Clasen <mclasen@redhat.com>
261 Bug 536160 – Add g_file_monitor()
264 * gfile.[hc]: Add g_file_monitor which can return either
265 a file or a directory monitor. Proposed by Behdad Esfahbod
267 2008-07-02 Matthias Clasen <mclasen@redhat.com>
269 536733 – gio build failure on Irix
271 * glocalfile.c: Use a configure check for structfs.f_bavail.
273 2008-07-02 Matthias Clasen <mclasen@redhat.com>
275 Bug 534639 – add g_desktop_app_info_new_from_keyfile
278 * gdesktopappinfo.[hc]: Add a function to create a
279 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
281 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
283 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
285 2008-07-01 Matthias Clasen <mclasen@redhat.com>
287 * gunixmounts.c: Fix a doc typo.
289 2008-07-01 Cody Russell <bratsche@gnome.org>
291 * gio/gcontenttype.c:
292 * gio/gwin32appinfo.c:
293 * gio/gwin32volumemonitor.c:
294 * gio/gwin32mount.c: Fixed some include problems.
296 2008-07-01 Cody Russell <bratsche@gnome.org>
300 Moved all relevant typedefs into these files.
303 Updated wrt added files.
305 Split types into separate file for easier maintainership. (#538564)
307 2008-06-30 Matthias Clasen <mclasen@redhat.com>
309 Bug 540331 – g_file_append_to () documentation: can return NULL
311 * gfile.c (g_file_append_to): Clarify docs.
314 2008-06-30 Matthias Clasen <mclasen@redhat.com>
316 Bug 539090 – g_content_type_from_mime_type() should unalias
318 * gcontentype.c (g_content_type_from_mime_type): Unalias.
319 Patch by Markus Bergman
321 2008-06-30 Matthias Clasen <mclasen@redhat.com>
323 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
326 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
327 on ppc and alpha. Reported by Mart Raudsepp
329 2008-06-29 Matthias Clasen <mclasen@redhat.com>
332 * tests/memory-output-stream.c: Add some tests for
335 2008-06-29 Matthias Clasen <mclasen@redhat.com>
337 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
340 * gmemoryoutputstream.c (array_resize): Handle truncation to
341 zero correctly. Reported by Akira Tagoh
343 2008-06-29 Matthias Clasen <mclasen@redhat.com>
345 * gmemoryoutputstream.c: Trivial doc fixes
347 2008-06-29 Matthias Clasen <mclasen@redhat.com>
349 Bug 540802 – g_list_prepend doesn't concat lists
351 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
352 one list to another. Pointed out by Jan Arne Petersen
354 2008-06-28 Michael Natterer <mitch@imendio.com>
356 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
358 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
360 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
361 to avoid problems with partial icon themes.
363 2008-06-17 Hans Breuer <hans@breuer.org>
365 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
366 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
367 access again on win32, see bug #538127
368 * giomodule.c : ensure GWin32VolumeMonitor is registered
369 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
370 * Makefile.am makefile.msc : updated
372 2008-06-16 Hans Breuer <hans@breuer.org>
374 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
375 and initialization in one step avoids c99ism
377 2008-06-16 Christian Persch <chpe@gnome.org>
380 * gio/gbufferedinputstream.c
382 * gio/gdatainputstream.c
383 * gio/gdesktopappinfo.c
385 * gio/gfileenumerator.c
386 * gio/gfileinputstream.c
387 * gio/gfileoutputstream.c
389 * gio/glocaldirectorymonitor.c
391 * gio/glocalfileenumerator.c
392 * gio/glocalfileinfo.c
393 * gio/glocalfilemonitor.c
394 * gio/glocalfileoutputstream.c
395 * gio/gmemoryinputstream.c
396 * gio/gmemoryoutputstream.c
397 * gio/goutputstream.c
398 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
401 2008-06-16 Tor Lillqvist <tml@novell.com>
403 Bug 538362 - Get Win32 icons back in the file chooser
405 * gcontenttype.c (g_content_type_get_icon): Look up the icon
406 corresponding to a file extension in the Registry. Patch by Hans
408 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
410 2008-06-16 Tor Lillqvist <tml@novell.com>
412 Patches by Hans Breuer:
414 * glocalfile.c (is_xp_or_later): Handle compiling against older
415 SDK headers with missing VerifyVersionInfo(). Conditioned on
416 _MSC_VER, but should probably use some better test.
417 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
418 uninitialised statfs_result variable on Win32.
420 2008-06-16 Michael Natterer <mitch@imendio.com>
422 * *.c: chain up unconditionally in finalize() and dispose(). Also
423 don't dereference these function pointers when calling them since
424 that has no meaning at all.
426 2008-06-16 Ross Burton <ross@burtonini.com>
429 Remove check for dispose implementation as it annoys Emmanuele.
431 2008-06-16 Ross Burton <ross@burtonini.com>
433 Bug 536252 – GFileEnumerator should allow access to the containing
439 Add g_file_enumerator_get_container() and a container writeable
440 construct-only property. Also shuffle around typedefs to make it
443 * glocalfileenumerator.c:
444 * glocalfileenumerator.h:
446 Instead of a string filename take a GFile in the constructor and
447 use it to set the container property.
452 2008-06-16 Matthias Clasen <mclasen@redhat.com>
454 * gfile.c: Make includes more uniform
456 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
458 * tests/live-g-file.c (sample_struct):
459 Use less fancy unicode filenames, so the test doesn't fail
460 on Mac OS X (#531476).
462 2008-06-12 Matthias Clasen <mclasen@redhat.com>
464 * === Released 2.17.2 ===
466 2008-06-12 Matthias Clasen <mclasen@redhat.com>
468 * === Released 2.17.1 ===
470 2008-06-11 A. Walton <awalton@gnome.org>
472 * tests/g-file.c (test_g_file_new_null):
473 Fix broken test case.
475 2008-06-11 Matthias Clasen <mclasen@redhat.com>
477 * pltcheck.sh: We use g_clear_error now.
479 2008-06-11 Matthias Clasen <mclasen@redhat.com>
481 * glocalfile.c (g_local_file_enumerate_children): Revert
482 an unintended change.
484 2008-06-11 Matthias Clasen <mclasen@redhat.com>
486 * gfile.c (g_file_replace_contents): Don't unref before the last use.
488 2008-06-10 Matthias Clasen <mclasen@redhat.com>
490 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
493 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
494 as icon for the desktop directory, also make user-home and
495 user-desktop the preferred icons.
497 2008-06-10 Matthias Clasen <mclasen@redhat.com>
500 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
501 to add a name to the front of the list.
503 2008-06-10 Matthias Clasen <mclasen@redhat.com>
505 Bug 537392 – Additional colon in xattr name
507 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
508 too. Reported by Alessandro Morandi
510 2008-06-10 Matthias Clasen <mclasen@redhat.com>
512 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
515 * glocalfile.c (get_fs_type): Add afs and autofs.
516 Patch by Danny Baumann.
518 2008-06-10 Matthias Clasen <mclasen@redhat.com>
520 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
522 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
523 is no parent. (Owen Taylor, patch by Christian Neumair)
525 2008-06-10 Paolo Borelli <pborelli@katamail.com>
527 * gfile.c (g_file_replace_contents): do not leak the output stream.
529 2008-06-10 Michael Natterer <mitch@imendio.com>
531 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
532 uninitialized memory as array index.
534 2008-06-10 Tor Lillqvist <tml@novell.com>
536 * gcontenttype.c (g_content_type_can_be_executable)
537 (g_content_type_get_icon) [Win32]: Add TODO comments.
539 2008-06-09 Matthias Clasen <mclasen@redhat.com>
541 * xdgmime/Makefile.am: Fix the build
543 2008-06-09 Matthias Clasen <mclasen@redhat.com>
545 * gcontenttype.c (g_content_type_get_icon): Use icons specified
546 in the shared mime database, if available.
548 * xdgmime/*: Sync with upstream. This brings support for
549 glob weights, generic icons, and changes the cache format to
552 2008-05-28 Michael Natterer <mitch@imendio.com>
554 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
555 the global CPPFLAGS now.
557 * tests/data-input-stream.c
558 * tests/data-output-stream.c
559 * tests/g-file-info.c
561 * tests/live-g-file.c
562 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
564 2008-05-27 Matthias Clasen <mclasen@redhat.com>
566 * === Released 2.17.0 ===
568 * tests/live-g-file.c: Clean up after the tests, so make distcheck
569 doesn't complain about leftover files.
571 2008-05-27 simon.zheng <simon.zheng@sun.com>
573 * glocalfile.c: (g_local_file_query_filesystem_info):
574 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
576 2008-05-26 Michael Natterer <mitch@imendio.com>
578 * gmemoryoutputstream.h: declare
579 g_memory_output_stream_get_data_size().
581 2008-05-26 Matthias Clasen <mclasen@redhat.com>
583 * tests/*: Make tests work
585 2008-05-26 Matthias Clasen <mclasen@redhat.com>
587 * gio.symbols: Add g_memory_output_stream_get_data_size.
589 2008-05-25 Ross Burton <ross@burtonini.com>
592 Fix typo in error message (#534764).
594 2008-05-25 Ross Burton <ross@burtonini.com>
597 Fix circular dependency loop for gioenumtypes.h (#534759).
599 2008-05-19 Hans Breuer <hans@breuer.org>
601 * Makefile.am : EXTRA_DIST += makefile.msc
603 2008-05-17 Matthias Clasen <mclasen@redhat.com>
606 * gcontenttype.c: (g_content_type_from_mime_type):
607 New function to create a content type from a mime type. (#527175,
610 2008-05-17 Matthias Clasen <mclasen@redhat.com>
612 Bug 532965 – Should not return filesystem::free for certain file systems
614 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
615 free space for ncpfs.
617 2008-05-17 Matthias Clasen <mclasen@redhat.com>
619 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
621 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
622 st_dev might be zero.
624 2008-05-16 Tor Lillqvist <tml@novell.com>
626 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
627 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
629 2008-05-13 Bastien Nocera <hadess@hadess.net>
631 * gfile.c (has_valid_scheme): A URI scheme must start with a
632 letter, even if later more characters are allowed (#532852)
634 2008-05-05 Michael Natterer <mitch@imendio.com>
636 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
637 code from being checked in that breaks the build of applications
638 which use G_DISABLE_SINGLE_INCLUDES.
640 * makegioalias.pl: make the alias file include "glib.h" instead of
643 * gio.symbols: whitespace change to force regeneration of the
644 alias file after above script change.
646 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
648 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
650 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
652 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
654 2008-04-28 David Zeuthen <davidz@redhat.com>
656 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
657 displaying mounts in a subdirectory not accessible to the
660 2008-04-22 Michael Natterer <mitch@imendio.com>
662 * Makefile.am: fix library versioning (it was 0.0.0).
664 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
666 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
667 Default disable all loggings.
668 * fen/fen-kernel.c: (printevent), (port_add_kevent),
669 (port_fetch_event_cb): Fixed two macro nits.
671 2008-04-16 Matthias Clasen <mclasen@redhat.com>
673 * xdgmime/xdgmime.c: Rework the timestamp checking code
674 to protect against duplicate directories in XDG_DATA_DIRS.
675 Fixes fd.o bug 12513, reported by Joe Shaw.
677 2008-04-16 Matthias Clasen <mclasen@redhat.com>
679 Partically revert the last commit after realizing that
680 xdg_mime_media_type_equal doesn't have to init at all.
683 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
685 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
687 2008-04-16 Matthias Clasen <mclasen@redhat.com>
689 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
690 reported by Joe Shaw and Federico Mena Quintero.
692 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
693 (xdg_mime_media_type_equal): Turn into a wrapper around the
696 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
697 functions throughout.
699 2008-04-16 Michael Meeks <michael.meeks@novell.com>
701 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
702 tolerate an empty TryExec= line without failing; nautilus used
703 to create launchers with these in previous versions. Fixes #528433
705 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
707 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
708 after name. Fixes #527132.
710 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
712 * gfile.c: (g_file_replace):
715 2008-04-07 Matthias Clasen <mclasen@redhat.com>
717 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
719 * gfile.c (file_copy_fallback): Fix the argument order. Patch
720 by Christian Kellner.
722 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
724 * gunixmounts.c: (g_unix_mount_guess_should_display):
725 Don't list the user directory as a mount, fix potential issue
726 when other users have a similar naming and don't special case the
727 gvfs mounts there since that's not required (#525866)
729 2008-03-31 Alexander Larsson <alexl@redhat.com>
731 * glocalfile.c (get_parent):
734 2008-03-31 A. Walton <awalton@svn.gnome.org>
736 * gfile.c (g_file_query_file_type):
737 Always return a GFileType enum value (#520715).
739 2008-03-31 Alexander Larsson <alexl@redhat.com>
741 * glocalfileenumerator.c:
742 Read readdir() info in chunks (of 1000) and sort
743 the chunks by inode before stat:ing.
744 This is a 20% performance increase in testing
745 gvfs-ls on /usr/bin with cold cache.
747 2008-03-31 Alexander Larsson <alexl@redhat.com>
749 * gmemoryoutputstream.c:
750 Clarify docs for g_memory_output_stream_get_size.
751 Add g_memory_output_stream_get_data_size.
753 2008-03-30 Matthias Clasen <mclasen@redhat.com>
757 * gfile.h: Add g_file_query_file_type convenience function
758 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
760 2008-03-30 Matthias Clasen <mclasen@redhat.com>
763 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
765 2008-03-28 A. Walton <awalton@svn.gnome.org>
767 * giomodule.c (_g_io_modules_ensure_loaded):
768 Adds GIO_EXTRA_MODULES environment variable support, closing bug
771 2008-03-28 Alexander Larsson <alexl@redhat.com>
774 (copy_stream_with_progress):
777 2008-03-28 Alexander Larsson <alexl@redhat.com>
780 (copy_stream_with_progress):
781 (file_copy_fallback):
782 Fallback to g_file_query_info for source size
783 if g_file_input_stream_query_info fails. (#524579)
785 2008-03-28 Alexander Larsson <alexl@redhat.com>
787 * glocalfile.c (g_local_file_move):
788 Reuse old string instead of adding new one.
790 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
792 * fen/*.[hc]: still copyright issue. I hate copyright.
794 2008-03-27 Alexander Larsson <alexl@redhat.com>
796 * glocalfile.c (g_local_file_move):
797 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
798 file over directory. This is according to the docs and what the move via
799 copy+remove fallback does.
801 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
803 * fen/*.[hc]: Updated copyright.
805 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
807 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
809 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
811 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
812 not emit attribute changed events when optimizing changed events.
813 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
816 2008-03-19 Matthias Clasen <mclasen@redhat.com>
818 * gmountoperation.[hc]: Small documentation additions
820 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
822 * gunixmounts.c: (guess_mount_type):
823 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
825 2008-03-19 Alexander Larsson <alexl@redhat.com>
828 (copy_stream_with_progress):
829 Bump block side for copy to 64k to minimize
830 overhead for low latency links. (#523015)
832 2008-03-16 Tor Lillqvist <tml@novell.com>
834 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
835 depend on gio.def on Windows.
837 2008-03-12 David Zeuthen <davidz@redhat.com>
841 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
843 2008-03-14 Alexander Larsson <alexl@redhat.com>
847 Avoid redudant tests (#521851)
848 Patch from Josselin Mouette
850 2008-03-14 Alexander Larsson <alexl@redhat.com>
853 (g_file_monitor_is_cancelled):
854 Fix C89 issue (#521672)
855 Patch from Jens Granseuer
857 2008-03-14 Alexander Larsson <alexl@redhat.com>
859 * fam/fam-helper.[ch]:
861 Shut down fam (including removing fam GSource) when
862 module is unloaded (#521513)
863 Patch from Joe Marcus Clarke
865 2008-03-14 Alexander Larsson <alexl@redhat.com>
868 (_g_io_modules_ensure_loaded):
871 2008-03-14 Alexander Larsson <alexl@redhat.com>
874 (g_local_file_query_filesystem_info):
875 Use right define name for f_fstypename member check
877 2008-03-14 Alexander Larsson <alexl@redhat.com>
880 * fen/Makefile.am: Added.
881 * fen/fen-data.[ch]: Added.
882 * fen/fen-dump.[ch]: Added.
883 * fen/fen-helper.[ch]: Added.
884 * fen/fen-kernel.[ch]: Added.
885 * fen/fen-missing.[ch]: Added.
886 * fen/fen-node.[ch]: Added.
887 * fen/fen-sub.[ch]: Added.
888 * fen/gfendirectorymonitor.[ch]: Added.
889 * fen/gfenfilemonitor.[ch]: Added.
891 Added Solaris FEN file notification backend.
892 Patch from Lin Ma <Lin.Ma@Sun.COM>
894 2008-03-13 Tor Lillqvist <tml@novell.com>
896 * Makefile.am: Actually use the gio.def file when linking the
897 library on Windows. Produce .lib library for Microsoft's toolchain
898 when possible. Install the .lib and .def file like for the other
901 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
903 * tests/live-g-file.c:
904 Include live-g-file in standard set of tests, making a temporary
905 directory in source structure.
907 Clean target directory before the tests (write mode only)
909 2008-03-12 Tor Lillqvist <tml@novell.com>
911 Bug 517419 - gio win32 directory monitor
912 Implementation by Vlad Grecescu.
915 * win32/gwin32directorymonitor.h
916 * win32/gwin32directorymonitor.c: New files.
918 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
920 * Makefile.am: Add the win32 subdirectory.
922 2008-03-12 Tor Lillqvist <tml@novell.com>
924 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
925 normal struct stat on Unix but struct _stati64 on Windows to have
926 access to 64-bit file size information. Use that instead of struct
927 stat in the functions declared here in this private header.
929 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
930 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
931 warnings about unused functions and variables. Don't set
932 meaningless attributes like inode numbers on Windows.
934 2008-03-12 Benjamin Otte <otte@gnome.org>
937 trim whitespace so gtk-doc groks the function name
939 2008-03-12 Tor Lillqvist <tml@novell.com>
941 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
942 returning FALSE, on Win32.
944 2008-03-11 Alexander Larsson <alexl@redhat.com>
947 * glocalfileinfo.[ch]:
948 Correctly implement can_trash by actually
949 looking for a trash dir, not just assuming
952 2008-03-10 Matthias Clasen <mclasen@redhat.com>
954 * === Released 2.16.1 ===
956 2008-03-11 Alexander Larsson <alexl@redhat.com>
959 Fix crashes in new constructor and properties code
961 2008-03-10 Murray Cumming <murrayc@murrayc.com>
963 * gfile.c: Minor spelling correction in documentation:
964 existance -> existence.
966 2008-03-10 Matthias Clasen <mclasen@redhat.com>
968 * === Released 2.16.0 ===
970 2008-03-10 Matthias Clasen <mclasen@redhat.com>
972 * gio.symbols: Remove g_file_contains_file here, too.
974 2008-03-10 Matthias Clasen <mclasen@redhat.com>
976 * gthemedicon.c: Add properties to make bindings happy. (#517676,
977 Samuel Cormier-Iijima)
979 2008-03-08 Tor Lillqvist <tml@novell.com>
981 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
984 2008-03-07 Alexander Larsson <alexl@redhat.com>
987 (g_local_file_query_filesystem_info):
988 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
989 Patch from Jasper Lievisse Adriaanse
991 2008-03-06 Tor Lillqvist <tml@novell.com>
993 * gfileinfo.h: Correct milliseconds to microseconds in the doc
994 comments for the *_USEC attributes.
996 2008-03-06 Alexander Larsson <alexl@redhat.com>
998 * gfile.c (g_file_query_exists):
999 Add g_return_val_if_fail check (#520700)
1001 2008-03-06 Alexander Larsson <alexl@redhat.com>
1003 * gdesktopappinfo.c:
1006 * gunionvolumemonitor.c:
1009 * tests/live-g-file.c:
1010 * xdgmime/xdgmimecache.c:
1011 Fix sparse warnings (#519489)
1013 2008-03-05 Alexander Larsson <alexl@redhat.com>
1016 Make cancellation threadsafe (i.e.
1017 guarantee its only done once, and always
1020 * glocaldirectorymonitor.c:
1021 Make sure we the monitor lives while the
1022 mounts_changed callback is being called (#520484)
1024 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1026 * gbufferedinputstream.c: Fix typo in parameter
1029 2008-03-04 Alexander Larsson <alexl@redhat.com>
1032 Remove deprecated symbols we kept for one release.
1034 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1037 * goutputstream.c: Tiny documentation corrections.
1039 2008-03-03 Alexander Larsson <alexl@redhat.com>
1041 * gunionvolumemonitor.c:
1043 Fix the adopt_orphan_mount vfunc to take a
1044 volume_monitor reference in an ABI compat way.
1045 This change is not API compat, but the added
1046 arg is not used in the only user of this vfunc, so
1047 all we get is a harmless warning in gvfs (#520169)
1049 2008-03-01 Benjamin Otte <otte@gnome.org>
1052 clarify docs for g_file_delete().
1054 2008-02-29 Alexander Larsson <alexl@redhat.com>
1058 Make sure empty files get text/plain type (#518720)
1060 2008-02-27 Alexander Larsson <alexl@redhat.com>
1066 (g_unix_volume_mount):
1067 Add missing GMountMountFlags argument
1069 2008-02-26 Alexander Larsson <alexl@redhat.com>
1072 (g_local_file_delete):
1073 Handle filesystems (like ntfs-3g) that return EEXIST instead
1074 of ENOTEMPTY (#518816)
1076 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1078 * === Released 2.15.6 ===
1080 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1082 * gfile.c (g_file_find_enclosing_mount):
1083 * ginputstream.c (g_input_stream_set_pending):
1084 * glocalfile.c (g_local_file_find_enclosing_mount):
1085 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1086 * goutputstream.c (g_output_stream_set_pending):
1088 Fixup translator comments (#518578).
1090 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1092 * gfile.c (g_file_find_enclosing_mount):
1094 * glocalfile.c (g_local_file_find_enclosing_mount):
1097 Fix a few typos in translator comments and documentation.
1099 2008-02-25 Alexander Larsson <alexl@redhat.com>
1106 Add translator comments (#518578)
1108 2008-02-25 Alexander Larsson <alexl@redhat.com>
1111 Reintroduce g_file_contains_file, keep around for one
1112 unstable release cycle to avoid crashing to many apps.
1113 Make sure to delete after release.
1115 2008-02-25 Alexander Larsson <alexl@redhat.com>
1118 Remove deprecated g_file_contains_file.
1120 2008-02-25 Alexander Larsson <alexl@redhat.com>
1123 Emit actual change signals in an idle handler.
1124 This avoids reentrance and locking problems in
1125 the file notification backends.
1127 2008-02-25 Alexander Larsson <alexl@redhat.com>
1130 (g_unix_mount_guess_should_display):
1131 Remove type guessing, instead just display
1132 mounts in /media and in ~/.
1134 2008-02-25 Alexander Larsson <alexl@redhat.com>
1137 Make new strings reuse old ones.
1139 2008-02-25 Alexander Larsson <alexl@redhat.com>
1142 Implement trashing and filesystem::readonly for win32 (#517235)
1143 Patch from Yevgen Muntyan
1145 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1147 * gfileinfo.h: Documentation fixes.
1149 2008-02-22 Alexander Larsson <alexl@redhat.com>
1151 * gcontenttype.c (g_content_type_get_icon):
1152 Look at old-style gnome mime icon names too, as many
1153 have not moved to the new style.
1155 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1157 * *.c: Correct the @include in for section docs.
1159 2008-02-21 David Zeuthen <davidz@redhat.com>
1161 * glocalfileinfo.c: (_g_local_file_info_get):
1163 (g_content_type_get_icon): Implement this function by
1164 moving bits from glocalfileinfo.c
1165 (g_content_type_get_description): Unalias before getting
1166 description (#517687)
1168 * gfile.c: (g_file_class_init),
1169 (g_file_query_filesystem_info_async),
1170 (g_file_query_filesystem_info_finish),
1171 (query_filesystem_info_data_free),
1172 (query_filesystem_info_async_thread),
1173 (g_file_real_query_filesystem_info_async),
1174 (g_file_real_query_filesystem_info_finish):
1175 * gfile.h: Implement async version of
1176 g_file_query_filesystem_info()
1178 * gfileinfo.h: Add new attributes for filesystem::use-preview
1180 * gio.symbols: Update
1182 * gthemedicon.c: (g_themed_icon_append_name):
1183 * gthemedicon.h: Add new new convenience function.
1185 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1186 (get_mounts), (get_volumes), (get_connected_drives),
1187 (get_volume_for_uuid), (get_mount_for_uuid),
1188 (g_union_volume_monitor_init), (populate_union_monitor),
1189 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1190 (g_volume_monitor_adopt_orphan_mount):
1192 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1193 monitor implementations to call into the main volume monitor. Also
1194 separate object initialization and volume monitor initialization
1195 such that non-native volume monitors can properly adopt their
1198 2008-02-21 Alexander Larsson <alexl@redhat.com>
1203 2008-02-21 Alexander Larsson <alexl@redhat.com>
1206 Add more documentation about how GFiles work (from #517086)
1208 2008-02-21 Alexander Larsson <alexl@redhat.com>
1212 Add new g_file_has_prefix that does the same as g_file_contains_file.
1213 Deprecate g_file_contains_file and add a macro that converts
1214 it to g_file_has_prefix.
1215 The reason for this change is that the contains_file() name seems to
1216 imply that this does more work than what it does, but its really only
1217 a name match (from #517086)
1222 Update to match the above change.
1224 2008-02-20 Benjamin Otte <otte@gnome.org>
1226 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1227 (g_file_eject_mountable):
1228 even more cases of not returning in error path
1230 2008-02-20 Benjamin Otte <otte@gnome.org>
1232 * gfile.c: (g_file_mount_mountable):
1233 return from function in error path.
1235 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1238 Remove trailing coma in GMountMountFlags struct
1240 2008-02-18 Alexander Larsson <alexl@redhat.com>
1244 * glocalfileoutputstream.c:
1245 Use g_unlink/g_rename instead of unlink/rename;
1246 do not pass raw filenames to g_set_error. (#517239)
1247 Patch from Yevgen Muntyan.
1249 2008-02-18 Alexander Larsson <alexl@redhat.com>
1252 * glocalfileoutputstream.c:
1253 Open files with O_BINARY on windows. (#517140)
1255 2008-02-14 Alexander Larsson <alexl@redhat.com>
1257 * glocalfileoutputstream.c:
1258 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1260 2008-02-14 Alexander Larsson <alexl@redhat.com>
1263 Copy permissions with file on copy (#514084)
1264 This is what cp does and makes sure e.g. the
1265 exec permissions are kept.
1266 Its kinda weird in that it keeps the permission bits
1267 the same while the uid and gid are different. However
1268 the new uid is the user so its not a security issue,
1269 and I've heard no complaints about cp on this issue.
1271 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1273 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1275 2008-02-13 Alexander Larsson <alexl@redhat.com>
1277 * inotify/inotify-path.c:
1278 Define IN_ONLYDIR if not in header (#515346)
1280 2008-02-12 Alexander Larsson <alexl@redhat.com>
1282 * tests/live-g-file.c:
1285 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1287 * === Released 2.15.5 ===
1289 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1291 * gio.symbols: Add g_mount_mount_flags_get_type.
1293 2008-02-11 Alexander Larsson <alexl@redhat.com>
1296 (g_file_info_set_attribute_mask):
1297 (g_file_attribute_matcher_matches_id):
1298 Correctly handle NULL GAttributeMatcher meaning
1299 matches nothing. (Fixes #513492)
1301 2008-02-11 Alexander Larsson <alexl@redhat.com>
1306 Added GMountMountFlags enum and added a flags
1307 argument to all mount calls.
1309 This is an API/ABI change for future extensibility,
1310 as I think we will need at least an
1311 inhibit-autorun flag (the panel needs this).
1312 There are no flags defined yet though.
1314 2008-02-11 Alexander Larsson <alexl@redhat.com>
1317 Added new standard::description attribute.
1318 Requested by Vincent, and useful for both
1321 2008-02-11 Alexander Larsson <alexl@redhat.com>
1323 * gdesktopappinfo.c:
1326 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1328 * *.c: Documentation additions
1330 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1332 * gappinfo.h: Formatting cleanup
1333 * gappinfo.c: Fix up docs.
1335 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1337 * gunixmounts.c: Consistently use getmntent_r() and fall
1338 back to getmntent(). (#515492)
1340 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1342 * gbufferedinputstream.c:
1344 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1346 * tests/data-input-stream.c:
1347 * tests/data-output-stream.c: Portability fixes.
1349 2008-02-08 Alexander Larsson <alexl@redhat.com>
1354 Add g_volume_should_automount.
1357 2008-02-07 Tor Lillqvist <tml@novell.com>
1359 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1360 Win32, too Unix-specific.
1362 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1364 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1365 a local plt if the compiler doesn't support what we want. Bug #514702
1367 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1369 reviewed by: <delete if not using a buddy>
1372 * gunixinputstream.c:
1373 * gunixoutputstream.c:
1375 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1377 * tests/Makefile.am:
1378 * tests/live-g-file.c:
1379 * tests/live-g-file.txt:
1380 New GIO testing module working over real data
1382 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1384 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1385 Fallback to rename() if link() is not available
1386 (when no support on target filesystem)
1388 2008-02-06 Michael Natterer <mitch@imendio.com>
1390 * gfileinfo.c (g_file_info_get_icon): replace
1391 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1393 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1395 * gfile.c (g_file_create):
1396 Documentation update of error codes
1398 2008-02-06 Alexander Larsson <alexl@redhat.com>
1400 * gdesktopappinfo.c:
1401 Update to use both mimeapps.list and
1402 defaults.list as discussed on xdg list.
1404 2008-02-06 Benjamin Otte <otte@gnome.org>
1407 * gfilenamecompleter.c:
1408 Fix some typos in the documentation.
1410 2008-02-06 Alexander Larsson <alexl@redhat.com>
1412 * glocalfile.c (g_local_file_trash):
1413 Don't succeed with trash if newly created
1414 trash dir has the wrong owner. (#514696)
1416 2008-02-05 Alexander Larsson <alexl@redhat.com>
1418 * glocalfile.c (g_local_file_move):
1419 Don't spew warnings when destination is not
1422 2008-02-03 Hans Breuer <hans@breuer.org>
1424 * makefile.msc : update
1426 2008-02-01 Michael Natterer <mitch@imendio.com>
1428 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1429 return value of xdg_mime_list_mime_parents() to a variable of the
1432 2008-02-01 Alexander Larsson <alexl@redhat.com>
1434 * gappinfo.c (g_app_info_launch_uris):
1435 Actually call the launch_uris method, not
1438 2008-02-01 Alexander Larsson <alexl@redhat.com>
1440 * gdesktopappinfo.c (g_desktop_app_info_equal):
1441 Ensure appinfos with no id but same pointer value
1444 2008-02-01 Alexander Larsson <alexl@redhat.com>
1446 * gappinfo.c (g_app_info_launch_default_for_uri):
1449 2008-02-01 Alexander Larsson <alexl@redhat.com>
1453 Add g_app_info_launch_default_for_uri utility
1456 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1458 * gdesktopappinfo.c:
1459 Doc fix for g_app_info_get_default_for_uri_scheme ()
1462 2008-01-30 Alexander Larsson <alexl@redhat.com>
1465 Add doc comment about uris vs GFiles to
1468 * gdesktopappinfo.c:
1469 Ensure uris passed to g_app_info_launch_uris()
1470 are not roundtriped through GFile (as that
1471 may be slightly destructive for e.g. mailto: links)
1473 2008-01-30 Alexander Larsson <alexl@redhat.com>
1475 * tests/data-input-stream.c:
1476 * tests/data-output-stream.c:
1477 C89 fixes from Jens Granseuer (#512849)
1479 2008-01-30 Alexander Larsson <alexl@redhat.com>
1482 Fix gamin/fam difference build issue. (#509419)
1484 2008-01-29 Alexander Larsson <alexl@redhat.com>
1487 * gdesktopappinfo.c:
1488 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1490 2008-01-29 Alexander Larsson <alexl@redhat.com>
1492 * gdesktopappinfo.c:
1493 * gdesktopappinfo.h:
1494 giomodule-priv.h include moved to .c file.
1496 2008-01-29 Alexander Larsson <alexl@redhat.com>
1498 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1499 Remove unused prio/name fields.
1501 2008-01-29 Alexander Larsson <alexl@redhat.com>
1503 * gcontenttype.c (looks_like_text):
1504 Don't treat whitespace as control chars.
1506 2008-01-29 Alexander Larsson <alexl@redhat.com>
1508 * gdesktopappinfo.c:
1509 Lazily create the desktop files for appinfos created
1510 by g_app_info_create_from_commandline() when needed
1511 for mime associations. This allows run-time use
1512 of GAppInfo object without creating unnecessary
1515 2008-01-29 Alexander Larsson <alexl@redhat.com>
1518 Added new symbols to gio.symbols
1520 2008-01-29 Alexander Larsson <alexl@redhat.com>
1523 Add g_file_query_default_handler utility to easily look up
1524 the GAppInfo that handles a file.
1526 * gdesktopappinfo.[ch]:
1528 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1531 Remove unused function
1533 2008-01-29 Alexander Larsson <alexl@redhat.com>
1535 * gfileenumerator.c:
1536 Mention need to free returned value in
1537 g_file_enumerator_next_files_finish docs.
1538 Fix leak if g_file_enumerator_next_files_finish()
1541 2008-01-29 Alexander Larsson <alexl@redhat.com>
1544 (_g_unix_content_type_get_parents):
1545 Use list_parents, not get_parents from xdgmime, because
1546 the later doesn't use the cache.
1548 * xdgmime/xdgmimecache.c:
1549 (_xdg_mime_cache_list_mime_parents):
1550 Don't list the same type as parent multiple times.
1552 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1554 * === Released 2.15.4 ===
1556 2008-01-28 Alexander Larsson <alexl@redhat.com>
1559 Register local vfs with prio 0.
1562 Remove old name and prio class members
1564 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1566 * tests/g-file.c: Disable some tests that are failing in
1567 the absence of a http backend.
1569 2008-01-28 Alexander Larsson <alexl@redhat.com>
1573 Add registration hooks for extension points.
1574 Register the gio extension points.
1576 * fam/gfamdirectorymonitor.c:
1577 * fam/gfamfilemonitor.c:
1578 * glocaldirectorymonitor.[ch]:
1579 * glocalfilemonitor.[ch]:
1580 * gnativevolumemonitor.h:
1581 * gunionvolumemonitor.c:
1582 * gunixvolumemonitor.c:
1585 * inotify/ginotifydirectorymonitor.c:
1586 * inotify/ginotifyfilemonitor.c:
1587 Use the extension points registration instead
1588 of g_type_children().
1590 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1593 * gvolume.[hc]: Document new API.
1595 * gfile.c (g_file_copy_async): Fix docs
1597 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1599 * gbufferedinputstream.c:
1601 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1604 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1606 * glocalfile.c: Avoid trivial differences in translatable strings.
1608 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1610 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1611 build with gcc 3.4 (#509419)
1613 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1615 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1616 (#509994, Murray Cumming)
1618 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1620 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1621 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1622 this allows big jobs to be executed in chunks, instead of blocking
1623 the main loop for a long time.
1625 * gsimpleasyncresult.c:
1626 * giofile.c: Adapt callers.
1628 2008-01-25 Alexander Larsson <alexl@redhat.com>
1630 * gdesktopappinfo.c:
1631 Implement changes discussed on xdg list.
1632 Now we can add supported mimetypes by just using defaults.list
1633 We can also remove associations in defaults.list.
1635 2008-01-25 Alexander Larsson <alexl@redhat.com>
1637 * gdesktopappinfo.c:
1638 Don't make local copy of desktop file
1639 for mimetype changes if the file already
1640 supports the new mimetype.
1642 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1646 * gbufferedinputstream.c:
1647 * glocalfile.c: String improvements. (#511966,
1648 Theppitak Karoonboonyanan)
1650 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1652 * gioscheduler.h: Expand docs a bit.
1654 2008-01-24 Alexander Larsson <alexl@redhat.com>
1657 Add g_drive_get_identifier and
1658 g_drive_enumerate_identifiers
1661 Add g_volume_get_identifier and
1662 g_volume_enumerate_identifiers
1668 Implement identifiers for unix backend
1670 2008-01-24 Alexander Larsson <alexl@redhat.com>
1675 Add g_file_copy_async() (#511580)
1676 Based on patch from Carlos Garcia Campos
1678 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1680 * gioscheduler.c: Some documentation additions.
1682 2008-01-22 Alexander Larsson <alexl@redhat.com>
1684 * gdesktopappinfo.c:
1685 (g_desktop_app_info_new):
1686 Don't leak basename.
1688 2008-01-22 Alexander Larsson <alexl@redhat.com>
1690 * gdesktopappinfo.c:
1691 (g_desktop_app_info_new_from_filename):
1694 2008-01-22 Alexander Larsson <alexl@redhat.com>
1696 * glocalfileinfo.c (get_thumbnail_attributes):
1699 2008-01-22 Alexander Larsson <alexl@redhat.com>
1702 (canonicalize_filename):
1703 Canonicalize paths that start with more than
1707 (compare_two_files):
1708 (test_g_file_new_for_path):
1711 2008-01-22 Alexander Larsson <alexl@redhat.com>
1714 Allow UTF-8 in file:// parse names.
1716 * tests/Makefile.am:
1717 * tests/data-input-stream.c:
1718 * tests/data-output-stream.c:
1719 * tests/g-file-info.c:
1721 Added a bunch of tests from Tomas Bzatek
1723 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1725 * === Released 2.15.3 ===
1727 2008-01-21 Alexander Larsson <alexl@redhat.com>
1729 * gfileinputstream.[ch]:
1730 * gfileoutputstream.[ch]:
1732 Remove duplicated GSeekable functions. (#509990)
1733 Just use the g_seekable_xxx() calls instead.
1735 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1738 * gvolumemanager.c: Whitespace cleanups.
1740 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1741 Use the right mode when creating the file.
1743 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1745 * gfileenumerator.c:
1746 * gfileinputstream.c:
1748 * goutputstream.c: Documentation: Fixed minor typos
1749 and added more mentions of specific _finish() functions.
1751 2008-01-21 Alexander Larsson <alexl@redhat.com>
1753 * inotify/Makefile.am:
1754 * inotify/inotify-helper.c:
1755 * inotify/inotify-kernel.c:
1756 * inotify/inotify-path.c:
1757 * inotify/local_inotify.h: Removed.
1758 * inotify/local_inotify_syscalls.h: Removed.
1759 Removed the included copies of the inotify
1760 headers. We now only use the <sys/inotify.h>
1761 header which exists on modern systems.
1762 This fixes problems on ARM and SH5 (#510448)
1763 but is also generally much cleaner and future
1764 safe. For instance, if other OSes add support
1765 for inotify it should "just work".
1767 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1769 * inotify/*.c: Coding style fixes.
1770 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1771 for the 1/4 Hz timer.
1773 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1776 * gfilemonitor.[hc]:
1777 * gmemoryinputstream.c:
1778 * gmemoryoutputstream.c:
1779 * gmountoperation.c:
1780 * gthemedicon.c: Documentation updates
1782 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1784 * gfile.c: documentation: Fixed more minor
1787 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1789 * gmount.c: (g_mount_remount): documentation:
1790 Mention g_mount_remount_finish() instead of
1791 g_mount_unmount_finish().
1793 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1797 * gfile.c: Fixed some minor typos in the
1800 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1802 * gio/gvolumemonitor.c:
1803 (g_volume_monitor_get_connected_drives):
1804 (g_volume_monitor_get_volumes):
1805 (g_volume_monitor_get_mounts): Documentation:
1806 Clarify the ownership of the regurn GLists.
1808 2008-01-17 Alexander Larsson <alexl@redhat.com>
1811 Add the async find_enclosing_mount version
1812 to the header file too.
1814 2008-01-17 Alexander Larsson <alexl@redhat.com>
1817 Add async version of find_enclosing_mount
1818 with default implementation.
1820 2008-01-17 Alexander Larsson <alexl@redhat.com>
1825 Allow calls to implementation of copy and write
1826 even if the type of the file implementations is
1827 different. This can be used to implement native
1828 upload and download calls in a vfs.
1831 (g_local_file_move):
1832 Protect against the case where move is called
1833 with one file not being local.
1835 Make sure we call the progress callback once
1836 in the native move operation so that the caller
1837 knows how many bytes were copied.
1839 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1842 * gdatainputstream.c:
1844 * gfileoutputstream.c:
1849 * gunixmounts.c: Corrected some typos in the documentation:
1850 occured -> occurred.
1851 its -> it's (where appropriate).
1853 2008-01-16 Alexander Larsson <alexl@redhat.com>
1857 Add g_file_query_exists (#508771)
1859 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1864 * gvolume.c: For async functions that have no non-async
1865 version, document that the GAsyncReadyCallback may be NULL.
1868 2008-01-15 Alexander Larsson <alexl@redhat.com>
1870 * gmemoryinputstream.c:
1871 * gmemoryoutputstream.c:
1872 Don't do pointer arithmetic on void * (#508602)
1873 Patch from Kazuki IWAMOTO
1875 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1877 * === Released 2.15.2 ===
1879 2008-01-14 Alexander Larsson <alexl@redhat.com>
1881 * gfile.c (g_file_monitor_file):
1882 Don't set error here, since we fallback to polling monitor.
1884 2008-01-14 Alexander Larsson <alexl@redhat.com>
1887 (g_file_monitor_directory):
1888 (g_file_monitor_file):
1889 Add GError to file monitor calls
1891 * glocaldirectorymonitor.c:
1892 * glocaldirectorymonitor.h:
1894 * glocalfilemonitor.c:
1895 * glocalfilemonitor.h:
1897 Update for above change
1899 2008-01-14 Alexander Larsson <alexl@redhat.com>
1903 Handle root correctly in g_file_get_relative_path (#508719)
1905 2008-01-14 Alexander Larsson <alexl@redhat.com>
1908 Clean up docs and example for GAsyncResult (#508074)
1910 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1912 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1913 and correct some spelling mistakes. Bug #508108.
1915 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1917 * glocalfileinfo.c: Add a comment.
1919 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1921 * gfileinfo.c: GFileInfo description: Mention
1922 how to actually set attributes in a GFile and how to discover
1923 which attributes are settable. Bug #508378.
1925 2008-01-10 A. Walton <awalton@svn.gnome.org>
1927 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1928 (g_app_info_get_default_for_type):
1929 Check for NULL content types.
1931 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1933 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1935 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1937 * gfile.c: *_async() functions: Several small corrections
1938 to the documentation, mostly correcting copy/paste errors
1939 and improving some sentences.
1941 2008-01-09 Dan Winship <danw@gnome.org>
1943 * glocalfile.c (get_unique_filename): x86_64 fix
1945 2008-01-09 Alexander Larsson <alexl@redhat.com>
1950 Add g_unix_mount_guess_should_display and use
1951 for unix volume monitor backend.
1952 This means we more or less show what the
1953 gnome-vfs backend did.
1954 Based on patch from Padraig O'Briain
1956 2008-01-09 Alexander Larsson <alexl@redhat.com>
1960 Add g_themed_icon_new_with_default_fallbacks
1963 Use default fallbacks for icons
1965 2008-01-09 Alexander Larsson <alexl@redhat.com>
1968 * gmountoperation.[ch]:
1969 Change the API a bit so that unhandled methods
1970 get reported via the reply, rather than by
1971 the signal emission return value. This is because
1972 some handlers can't know this immediately without
1973 doing I/O, and this is an async operation that
1976 2008-01-09 Alexander Larsson <alexl@redhat.com>
1979 * fam/gfamdirectorymonitor.c:
1980 * fam/gfamfilemonitor.c:
1981 Fix double free crash (#508224)
1982 Patch from Joe Marcus Clarke
1984 008-01-07 Matthias Clasen <mclasen@redhat.com>
1986 * === Released 2.15.1 ===
1988 2008-01-07 Alexander Larsson <alexl@redhat.com>
1990 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1991 Fix warning (#507835)
1993 2008-01-07 Alexander Larsson <alexl@redhat.com>
1996 Pass --internal to glib-genmarshal
1999 * gmountoperation.c:
2001 Use better types for signal arguments (#507822)
2003 2008-01-07 Alexander Larsson <alexl@redhat.com>
2006 Build test subdir after .
2007 Remove gdirectorymonitor.[ch]
2009 * gdirectorymonitor.[ch]:
2013 Remove GDirectoryMonitor and make
2014 GFileMonitor the baseclass for both file and
2015 directory monitors. Lift the more generic
2016 rate limiting code from GDirectoryMonitor
2020 * fam/gfamdirectorymonitor.[ch]:
2021 * inotify/ginotifydirectorymonitor.[ch]:
2022 * inotify/inotify-helper.c:
2023 * glocaldirectorymonitor.[ch]:
2026 Update for the removed GDirectoryMonitor.
2028 * gmemoryoutputstream.c:
2029 Remove ununsed variable
2031 2008-01-07 Alexander Larsson <alexl@redhat.com>
2033 * gmemoryinputstream.c:
2034 Translate error strings
2037 * gmemoryoutputstream.[ch]:
2038 New implementation that avoids using GByteArray
2039 in implementation and API. (#506377)
2041 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2043 * tests/*: Add a test for memory input streams.
2045 * Makefile.am: Add tests to SUBDIRS.
2047 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2049 * glocalfilemonitor.c:
2050 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2053 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2055 * gdesktopappinfo.c: Fix a docs typo.
2057 * gfileattribute.c: Add information about extended attributes
2058 to the documentation. (#505058)
2060 2008-01-04 Alexander Larsson <alexl@redhat.com>
2063 * gmountoperation.c:
2064 Use the right type (uint) for the ask_password signal.
2066 2008-01-04 Alexander Larsson <alexl@redhat.com>
2071 Add g_app_info_supports_files()
2072 Remove desktop arg from g_app_info_should_show().
2074 * gdesktopappinfo.[ch]:
2075 Implement g_app_info_supports_files() and new should_show()
2076 Add g_desktop_app_info_set_desktop_env() to set the desktop
2077 for should_show(). (This will be set by gtk+ later)
2079 2008-01-04 Alexander Larsson <alexl@redhat.com>
2082 * gmemoryinputstream.[ch]:
2083 Improve API so that you can use multiple chunks
2084 of memory and custom destroy functions. (#506374)
2086 2008-01-03 Alexander Larsson <alexl@redhat.com>
2089 Handle NULL attribute matchers safely, as we return this
2090 for empty attribute matcher strings.
2092 2008-01-03 Alexander Larsson <alexl@redhat.com>
2094 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2095 Add /usr/local to list of internal mountpoints
2097 2008-01-03 Alexander Larsson <alexl@redhat.com>
2100 Check for HAVE_LCHOWN (#505887)
2102 2008-01-03 Alexander Larsson <alexl@redhat.com>
2106 Add define for selinux context attribute.
2107 Fix missing : -> :: namespace separator change
2108 Fix missing _ -> - name change for xattr-sys.
2111 2008-01-03 Alexander Larsson <alexl@redhat.com>
2114 Link to libglib and libgobject directly (#504879)
2115 Patch from Sebastien Bacher
2117 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2119 * gfile.c: Expanded the g_file_new_for_commandline_arg
2120 description a bit, based on the code and the docs of the
2121 other g_file_new_for_* functions.
2123 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2125 * gfilemonitor.h: Fixed typo in docs.
2127 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2129 Updates to GIO documentation. (#506395, Mikael Hermansson)
2131 * gcontenttype.c: Describe memory management for return value of
2132 g_content_types_get_registered(). Missing piece from #505815.
2133 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2134 GVolume, GDrive, GMounts, which hopefully gives the user less
2135 confusions when using this API. Following explainations from
2136 Alexander Larsson on gtk-devel-list.
2138 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2140 * gfileinfo.c: Expand the long description.
2142 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2145 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2146 fix builds with --disable-visibility. (#500273, Christian Persch)
2148 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2150 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2151 in the list of returned app infos.
2153 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2155 * gappinfo.c: Fix a cross-reference
2157 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2159 * gfileinputstream.c:
2160 * gfileoutputstream.c:
2164 * gdesktopappinfo.c:
2166 * gfileinfo.c: Documentation updates.
2168 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2170 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2173 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2175 * gcontenttype.c (g_content_types_get_registered): Don't return
2176 freed memory (#505815, Mikael Hermansson)
2178 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2180 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2181 used to detect statbuf->st_blocks. (#505042)
2183 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2185 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2186 environment handling. (#504829, Cosimo Cecchi)
2188 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2190 * gappinfo.c: Doc improvements
2192 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2195 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2197 * === Released 2.15.0 ===
2199 2007-12-20 Hans Breuer <hans@breuer.org>
2201 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2202 with symbols gwin32appinfo.obj, added gmount.obj
2203 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2205 2007-12-20 Alexander Larsson <alexl@redhat.com>
2211 * gfilenamecompleter.c:
2214 * gpollfilemonitor.c:
2215 File attribute renames:
2217 fs:: -> filesystem::
2218 id::fs -> id::filesystem
2220 2007-12-20 Alexander Larsson <alexl@redhat.com>
2229 Add GMountUnmountFlags to all unmount and
2231 Add g_mount_remount() call.
2233 2007-12-20 Alexander Larsson <alexl@redhat.com>
2235 * gvfs.c (get_default_vfs):
2236 Fix unused variable warning
2238 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2240 * pltcheck.sh: Update
2242 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2244 * gunionvolumemonitor.c:
2245 * gunixmount.c: Remove C99 comments
2247 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2249 * gio.symbols: Add some missing symbols
2251 2007-12-19 Alexander Larsson <alexl@redhat.com>
2254 Make g_io_modules_load_all_in_directory not unuse
2255 loaded modules so that users of it can do stuff
2257 Init internal "module" types.
2258 Initialize static prio and name for types so that
2259 we don't have to load modules to get it.
2261 * gnativevolumemonitor.h:
2263 Move is_supported to parent class so that
2264 non-native monitors can avoid being initialized
2265 too. (For instance GDaemonVolumeMonitor if we're
2266 not using GDaemonVfs.)
2268 * glocaldirectorymonitor.[ch]:
2269 * glocalfilemonitor.[ch]:
2270 * gunionvolumemonitor.c:
2271 * gunixvolumemonitor.c:
2273 Find plugins using the static prio+name to
2274 avoid unnecessarily loading the modules.
2276 2007-12-19 Alexander Larsson <alexl@redhat.com>
2281 2007-12-19 Alexander Larsson <alexl@redhat.com>
2283 * gunionvolumemonitor.c:
2284 Store the native type as GType, not class so that
2285 we can unload it. But still avoid unnecessarily
2288 2007-12-19 David Zeuthen <davidz@redhat.com>
2290 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2291 add signals 'disconnected' and 'eject-button' on GDrive. Add
2292 signal 'removed' on GVolume and 'unmounted' on GMount.
2294 * gdrive.c: (g_drive_base_init):
2296 * gfile.c: (g_file_mount_mountable),
2297 (g_file_mount_enclosing_volume):
2300 * gmount.c: (g_mount_base_init):
2302 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2303 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2304 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2308 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2310 * *.c: Fix up includes in the section docs.
2312 2007-12-17 Alexander Larsson <alexl@redhat.com>
2314 * gnativevolumemonitor.h:
2315 * gunionvolumemonitor.c:
2316 * gunixvolumemonitor.c:
2317 Add is_supported() to GNativeVolumeMonitorClass so
2318 that we can avoid having to create an object to see
2319 if the backend is supported at runtime.
2320 Also add name member and an env var to pick a specific
2321 volume monitor backend.
2325 Add cancellable to _g_mount_get_for_mount_path()
2327 * glocaldirectorymonitor.c:
2328 * glocalfilemonitor.c:
2329 Avoid loading and unloading modules while sorting.
2331 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2334 * gunixmounts.[hc]: Namespace waste reduction, move some
2335 g_get_unix_mount functions to the g_unix_mount namespace.
2338 * gunixvolumemonitor.c:
2340 * glocaldirectorymonitor.c: Update all callers.
2342 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2344 2007-12-17 Alexander Larsson <alexl@redhat.com>
2347 Add doc comments about what GFile operations are
2348 guaranteed to not block.
2350 2007-12-17 Alexander Larsson <alexl@redhat.com>
2353 Add missing #ifdef fixing OSX build.
2354 (#503334, patch from Richard Hult)
2356 2007-12-14 David Zeuthen <davidz@redhat.com>
2360 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2361 (g_mount_eject), (g_mount_eject_finish):
2363 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2364 (get_volume_for_uuid), (get_mount_for_uuid),
2365 (g_union_volume_monitor_class_init),
2366 (get_default_native_type_with_exclude), (get_default_native_type),
2367 (get_native_type), (update_native_type),
2368 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2369 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2370 (g_unix_mount_can_eject), (eject_unmount_cb),
2371 (eject_unmount_read_error), (eject_unmount_do),
2372 (g_unix_mount_unmount), (g_unix_mount_eject),
2373 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2374 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2375 (g_unix_mount_point_guess_can_eject):
2377 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2378 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2379 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2380 (g_unix_volume_mount), (g_unix_volume_eject),
2381 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2382 * gunixvolumemonitor.c: (get_volume_for_uuid),
2383 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2385 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2386 (g_volume_eject), (g_volume_eject_finish):
2388 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2389 (g_volume_monitor_get_mount_for_uuid):
2392 Provide eject() on both GMount and GVolume and utility functions
2393 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2394 ejected. Introduce the concept of UUID's and wire it into GVolume
2395 and GMount and provide API on GVolumeMonitor to find such
2396 instances. Also handle the case where an external
2397 GNativeVolumeMonitor fails to initialize. Lock around the
2398 _g_get_mount_for_mount_path() function such that volume monitor
2399 implementations won't have to do locking themselves.
2401 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2403 * gdesktopappinfo.c:
2409 * gvolume.h: Documentation updates
2411 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2414 * gfile.h: Doc updates
2416 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2419 * gdesktopappinfo.c: Use hash table iterators.
2421 2007-12-14 Alexander Larsson <alexl@redhat.com>
2424 * gfileattribute.[ch]:
2425 * gfileattribute-priv.h:
2426 Move GFileAttributeValue to a private header, as
2430 Make set_attribute take a type + a pointer instead
2431 of a GFileAttributeValue.
2434 Fix up for above changes.
2435 Add g_file_info_get_attribute_data to get
2436 all info in one call, g_file_info_get_attribute_status
2437 to get the status and g_file_info_get_attribute_as_string.
2441 * glocalfileinfo.[ch]:
2445 Make _guess_type static.
2447 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2450 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2451 made mkenums and friends use temporary files to avoid leaving
2452 empty generated files on failure (#503470).
2454 2007-12-14 Alexander Larsson <alexl@redhat.com>
2456 * gmountoperation.h:
2459 2007-12-14 Alexander Larsson <alexl@redhat.com>
2463 * gfileattribute.[ch]:
2466 * glocalfileoutputstream.c:
2467 * gmountoperation.[ch]:
2468 * goutputstream.[ch]:
2469 Clean up all flags enums to not have _FLAGS in them
2470 Make the names of some of the enums better.
2475 2007-12-14 Michael Natterer <mitch@imendio.com>
2477 * gio.symbols: fix g_io_scheduler symbol names.
2479 2007-12-14 Alexander Larsson <alexl@redhat.com>
2485 * gbufferedinputstream.h:
2486 * gbufferedoutputstream.h:
2489 * gdatainputstream.h:
2490 * gdataoutputstream.h:
2491 * gdesktopappinfo.h:
2492 * gdirectorymonitor.h:
2496 * gfileenumerator.h:
2499 * gfileinputstream.h:
2501 * gfilenamecompleter.h:
2502 * gfileoutputstream.h:
2503 * gfilterinputstream.h:
2504 * gfilteroutputstream.h:
2512 * gmemoryinputstream.h:
2513 * gmemoryoutputstream.h:
2515 * gmountoperation.h:
2518 * gsimpleasyncresult.h:
2520 * gunixinputstream.h:
2522 * gunixoutputstream.h:
2526 * inotify/Makefile.am:
2527 Only allow including <gio/gio.h> from apps
2529 2007-12-14 Alexander Larsson <alexl@redhat.com>
2531 * gioscheduler.[ch]:
2532 * gsimpleasyncresult.c:
2533 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2534 Split out the send_to_mainloop call into two versions instead
2535 of having the block argument.
2537 2007-12-13 Alexander Larsson <alexl@redhat.com>
2539 * gcancellable.[ch]:
2541 * gbufferedinputstream.c:
2542 * gfileenumerator.c:
2543 * gfileinputstream.c:
2544 * gfileoutputstream.c:
2548 g_push/pop_current_cancellable ->
2549 g_cancellable_push/pop_current
2551 2007-12-13 Alexander Larsson <alexl@redhat.com>
2555 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2557 2007-12-13 Alexander Larsson <alexl@redhat.com>
2559 * gmountoperation.h:
2560 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2562 2007-12-12 Alexander Larsson <alexl@redhat.com>
2565 Fix race condition when freeing proxy in
2566 g_io_job_send_to_mainloop().
2568 2007-12-12 Alexander Larsson <alexl@redhat.com>
2574 Make attribute namespace separator "::" instead of ":".
2575 Use - instead of _ as separator in attribute names.
2577 2007-12-12 Alexander Larsson <alexl@redhat.com>
2579 * gbufferedinputstream.h:
2580 * gbufferedoutputstream.h:
2581 * gdatainputstream.h:
2582 * gdataoutputstream.h:
2583 * gdirectorymonitor.h:
2584 * gfileenumerator.h:
2585 * gfileinputstream.h:
2587 * gfileoutputstream.h:
2588 * gfilterinputstream.h:
2589 * gfilteroutputstream.h:
2591 * glocalfileinputstream.h:
2592 * glocalfileoutputstream.h:
2593 * gmemoryinputstream.h:
2594 * gmemoryoutputstream.h:
2595 * gnativevolumemonitor.h:
2597 * gunixinputstream.h:
2598 * gunixoutputstream.h:
2601 s/parent/parent_instance/ in GObjects
2603 2007-12-12 Alexander Larsson <alexl@redhat.com>
2608 No need for padding for interfaces
2610 2007-12-12 Alexander Larsson <alexl@redhat.com>
2614 * gbufferedinputstream.c:
2615 * gbufferedoutputstream.c:
2618 * gdatainputstream.[ch]:
2619 * gdesktopappinfo.c:
2620 * gdirectorymonitor.c:
2622 * gfileattribute.[ch]:
2625 * gfileinputstream.h:
2626 * gfilemonitor.[ch]:
2627 * gfileoutputstream.[ch]:
2628 * gfilterinputstream.h:
2629 * gfilteroutputstream.h:
2632 * gloadableicon.[ch]:
2633 * gmemoryinputstream.c:
2634 * gmountoperation.c:
2636 Fix up a bunch of details in the docs.
2641 2007-12-11 David Zeuthen <davidz@redhat.com>
2643 Rework how volumes, drives and volume monitoring is
2644 done. Previosly the model was
2646 GDrive <1-1> GVolume
2648 where a GDrive instance represented a mount point and a GVolume
2649 instance represented a mounted file system. This patch changes it
2652 GDrive <1-N> GVolume <1-1> GMount
2654 where GMount now serves the purpose of the old GVolume and the new
2655 GVolume serves the purpose of the old GDrive. In addition the new
2656 GDrive interface is used to represent a collection of GVolume
2657 instances (typically partitions) and also contains utility to query
2658 the state of the physical drive the GDrive object represents (such
2659 as checking for media, polling the drive, ejecting the media etc.).
2661 Also implement mounting and unmounting in the Unix volume monitor
2662 backend. A subquent patch will introduce GDrive support for ejection
2666 * gdrive.c: (g_drive_is_media_check_automatic),
2667 (g_drive_is_media_removable), (g_drive_has_media),
2668 (g_drive_can_poll_for_media), (g_drive_eject),
2669 (g_drive_eject_finish), (g_drive_poll_for_media),
2670 (g_drive_poll_for_media_finish):
2672 * gfile.c: (g_file_find_enclosing_mount):
2675 * glocaldirectorymonitor.c:
2676 (g_local_directory_monitor_constructor), (mounts_changed):
2677 * glocalfile.c: (get_mount_info),
2678 (g_local_file_find_enclosing_mount),
2679 (g_local_file_file_iface_init):
2680 * gnativevolumemonitor.h:
2681 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2682 (get_connected_drives), (g_union_volume_monitor_class_init),
2683 (child_volume_added), (child_volume_removed),
2684 (child_volume_changed), (child_mount_added), (child_mount_removed),
2685 (child_mount_pre_unmount), (child_mount_changed),
2686 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2687 (g_union_volume_monitor_remove_monitor),
2688 (_g_mount_get_for_mount_path):
2689 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2690 (guess_system_internal), (_g_get_unix_mounts),
2691 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2692 (g_unix_mount_free), (g_unix_mount_compare),
2693 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2694 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2695 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2696 (type_to_icon), (g_unix_mount_guess_name),
2697 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2698 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2699 (_resolve_symlink), (_resolve_dev_root):
2701 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2702 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2703 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2704 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2705 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2706 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2707 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2708 (g_unix_volume_volume_iface_init):
2710 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2711 (get_mounts), (get_volumes), (get_connected_drives),
2712 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2713 (mountpoints_changed), (mounts_changed),
2714 (g_unix_volume_monitor_init),
2715 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2716 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2717 * gunixvolumemonitor.h:
2718 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2719 (g_volume_mount), (g_volume_mount_finish):
2721 * gvolumemonitor.c: (g_volume_monitor_class_init),
2722 (g_volume_monitor_get_connected_drives),
2723 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2726 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2728 * gmountoperation.h (GPasswordFlags): Close the gap
2730 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2732 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2734 * gdesktopappinfo.[hc]: Remove _-prefixes
2736 2007-12-10 Tor Lillqvist <tml@novell.com>
2738 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2741 2007-12-10 Alexander Larsson <alexl@redhat.com>
2743 * gfile.c (g_file_set_display_name):
2744 Don't hardcode '/' (#502727)
2746 2007-12-09 Hans Breuer <hans@breuer.org>
2748 * makefile.msc : follow lib naming convention
2749 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2750 for user and group name, tested with ../tests/gio-ls
2752 2007-12-09 A. Walton <awalton@svn.gnome.org>
2754 * gdesktopappinfo.c:
2760 * gfileenumerator.c:
2765 * gmemoryinputstream.c:
2766 * gmemoryoutputstream.c:
2768 * gsimpleasyncresult.c:
2769 More documentation cleanup and filling in missing information, bringing
2770 GIO to 99% symbol coverage.
2772 2007-12-08 Hans Breuer <hans@breuer.org>
2774 [gio compiles and links on win32, not sure how much already works]
2775 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2776 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2777 base on win32 API; prefer g_lstat() over lstat(); instead of
2778 localtime_r() use an all GLib implementation on win32;
2779 get_mount_info() still needs a win32 specifc implementation
2780 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2781 win32_get_file_user_info to get owner/group info without uid/gid
2782 * glocalfileinputstream.c : include <io.h> on win32
2783 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2784 definition, use g_win32_ftruncate() for G_OS_WIN32
2785 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2786 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2787 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2788 * makefile.msc : updated
2790 2007-12-07 Alexander Larsson <alexl@redhat.com>
2792 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2793 Avoid warning spew if error == NULL
2795 2007-12-07 Alexander Larsson <alexl@redhat.com>
2798 Update docs wrt etags
2800 2007-12-06 Alexander Larsson <alexl@redhat.com>
2803 Include sys/types.h for dev_t (#501919)
2805 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2809 Make abicheck and pltcheck pass.
2811 2007-12-05 Alexander Larsson <alexl@redhat.com>
2814 * giomodule-priv.h: Added.
2815 * glocaldirectorymonitor.c:
2816 * glocalfilemonitor.c:
2817 * gunionvolumemonitor.c:
2819 Actually add the declaration of _g_io_modules_ensure_loaded
2821 2007-12-05 Alexander Larsson <alexl@redhat.com>
2823 * gdatainputstream.c:
2828 * glocaldirectorymonitor.c:
2829 * glocalfilemonitor.c:
2830 * gunionvolumemonitor.c:
2832 Make g_io_modules_ensure_loaded a private function and
2833 don't pass in the dirname. This means we can do magic
2834 directory finding in the win32 version.
2835 Export the actual load-modules-in-directory code so that
2836 gvfs can reuse that.
2838 2007-12-05 Alexander Larsson <alexl@redhat.com>
2840 * gbufferedinputstream.c:
2841 * gbufferedoutputstream.c:
2844 * gfileenumerator.[ch]:
2845 * gfileinputstream.c:
2846 * gfileoutputstream.[ch]:
2847 * gfilterinputstream.c:
2848 * gfilteroutputstream.c:
2849 * ginputstream.[ch]:
2851 * glocalfileenumerator.c:
2852 * glocalfileinputstream.c:
2853 * glocalfileoutputstream.c:
2854 * gmemoryinputstream.c:
2855 * gmemoryoutputstream.c:
2856 * goutputstream.[ch]:
2859 * gunixinputstream.c:
2860 * gunixoutputstream.c:
2861 Rename all struct members named:
2862 read, write, close, truncate, or mount
2863 to foo_fn, as these are reserved names
2864 and could be defined as macros in libc.
2867 2007-12-04 Alexander Larsson <alexl@redhat.com>
2870 (g_output_stream_close):
2871 Only call flush if non-null.
2873 2007-11-30 Dan Winship <danw@gnome.org>
2875 * ginputstream.c (g_input_stream_set_pending): Make this take a
2876 GError and return a gboolean, and do the "outstanding operation"
2877 check (and the "stream is already closed" check) itself.
2878 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2880 * goutputstream.c (g_output_stream_set_pending)
2881 (g_output_stream_clear_pending): Likewise
2883 * gbufferedinputstream.c:
2884 * gfileinputstream.c:
2885 * gfileoutputstream.c: Update for that
2887 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2888 Like g_simple_async_report_error_in_idle, but takes a GError
2889 rather than building one.
2891 2007-11-30 Dan Winship <danw@gnome.org>
2893 * goutputstream.c: Don't cheat and unset the "pending" flag around
2894 inner calls. Instead, call the class method directly rather than
2895 the wrapper function that checks "pending"
2897 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2899 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2901 2007-12-03 Hans Breuer <hans@breuer.org>
2903 [start of port to win32/msvc]
2904 * gcancellable.c : HAVE_UNIST_H and _pipe()
2905 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2906 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2907 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2909 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2910 * glocalvfs.c : use HAVE_PWD_H
2911 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2912 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2913 * Makefile.am : added to EXTRA_DIST
2915 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2917 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2920 2007-12-03 Alexander Larsson <alexl@redhat.com>
2923 Handle OSX style xattrs API (#500506)
2925 2007-12-03 Alexander Larsson <alexl@redhat.com>
2929 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2931 2007-12-02 A. Walton <awalton@svn.gnome.org>
2935 Documentation accuracy fixes.
2937 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2939 * gioenumtypes.c.template: Fix typo.
2941 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2943 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2945 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2947 * gdirectorymonitor.c:
2948 * gfilemonitor.c: Add properties
2950 * gbufferedoutputstream.c: Don't mark buffer-size property
2953 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2955 * gbufferedoutputstream.c: Add auto-grow property.
2957 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2959 * *.c: Unify the capitalization of section headings.
2961 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2963 * gmountoperation.c: Add properties
2965 * gdatainputstream.c: Turn byte-order and newline-type into
2968 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2970 * gioenumtypes.[hc].template: Templates for enum registration
2972 * Makefile.am: Generate gioenumtypes.[hc]
2974 * gio.h: Include gioenumtypes.h
2976 * gfile.h: Add some explicit nicks.
2978 * gio.symbols: Add new symbols
2980 * pltcheck.sh: Adjust
2982 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2984 * *.c: Explain etags and link to the explanation
2986 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2988 * *.c: Explain I/O priority.
2990 * *.c: More coding style fixes.
2992 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2994 * gasyncresult.c: Add another paragraph to the intro,
2995 adjust coding style of example.
2997 2007-11-29 A. Walton <awalton@svn.gnome.org>
3000 Fixes unknown meaning in GAppLaunchContext docs.
3002 Clarify asynchronous ops.
3004 Fix entity tag docs.
3007 Provides missing gtk-doc section, fixes API docs slighly.
3008 * gsimpleasyncresult.c:
3009 Fill in missing info in docs.
3010 * gunixinputstream.c:
3011 * gunixoutputstream.c:
3012 Be more expressive in short description.
3014 Remove gtk-doc stubs for non-public API.
3016 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3018 * *.c: Coding style fixups
3020 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3022 * inotify/inotify-helper.c: Don't export the lock from libgio.
3024 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3027 * abicheck.sh: Fix copy-and-paste leftovers
3029 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3031 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3033 2007-11-28 Alexander Larsson <alexl@redhat.com>
3037 Removed unnecessary file
3039 * gdesktopappinfo.[ch]:
3042 * glocaldirectorymonitor.[ch]:
3044 * glocalfileenumerator.[ch]:
3045 * glocalfileinputstream.[ch]:
3046 * glocalfilemonitor.[ch]:
3047 * glocalfileoutputstream.[ch]:
3049 * gnativevolumemonitor.c:
3050 * gpollfilemonitor.[ch]:
3051 * gunionvolumemonitor.[ch]:
3054 * gunixvolumemonitor.[ch]:
3057 * inotify/ginotifydirectorymonitor.[ch]:
3058 * inotify/ginotifyfilemonitor.[ch]:
3059 * inotify/inotify-helper.c:
3060 Append _ to all internal functions
3064 Export symbols needed for modules
3066 2007-11-28 Alexander Larsson <alexl@redhat.com>
3069 * abicheck.sh: Added.
3070 * makegioalias.pl: Added.
3071 * pltcheck.sh: Added.
3072 * gio.symbols: Added.
3075 Initial work on adding symbol handling.
3078 Correct ifdef guard name
3081 * inotify/Makefile.am:
3082 * xdgmime/Makefile.am:
3083 Include toplevel Makefile.decl
3085 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3087 * gcontenttype.c: Move doc comments to the unix section.
3089 * *.[hc]: More trivial doc corrections.
3091 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3093 * gpollfilemonitor.c:
3097 * gdesktopappinfo.c:
3102 * gdatainputstream.c:
3103 * gdatainputstream.h:
3104 * gdataoutputstream.c:
3105 * gdataoutputstream.h:
3106 * gfileinfo.h: Doc cleanups
3108 2007-11-28 Andre Klapper <a9016009@gmx.de>
3110 * gdesktopappinfo.c: Fix a typo.
3112 2007-11-27 Andre Klapper <a9016009@gmx.de>
3114 * glocalfileoutputstream.c: Fix a typo.
3116 2007-11-27 Alexander Larsson <alexl@redhat.com>
3119 Don't include removed headers
3121 2007-11-27 Alexander Larsson <alexl@redhat.com>
3124 * gsocketinputstream.[ch]: Removed.
3125 * gsocketoutputstream.[ch]: Removed.
3126 * gunixinputstream.[ch]: Added.
3127 * gunixoutputstream.[ch]: Added.
3128 Renamed GSocket*Stream to GUnix*Stream and made
3129 it unix-only, since its not really only for sockets
3130 and it only works on unix (but is highly useful there).
3132 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3138 * gbufferedinputstream.c:
3139 * gbufferedinputstream.h:
3140 * gbufferedoutputstream.c:
3141 * gbufferedoutputstream.h:
3145 * gdatainputstream.c:
3146 * gdatainputstream.h:
3147 * gdataoutputstream.c:
3148 * gdataoutputstream.h:
3149 * gdirectorymonitor.c:
3150 * gdirectorymonitor.h:
3157 * gfileenumerator.c:
3158 * gfileenumerator.h:
3163 * gfileinputstream.c:
3164 * gfileinputstream.h:
3167 * gfilenamecompleter.c:
3168 * gfilenamecompleter.h:
3169 * gfileoutputstream.c:
3170 * gfileoutputstream.h:
3171 * gfilterinputstream.c:
3172 * gfilterinputstream.h:
3173 * gfilteroutputstream.c:
3174 * gfilteroutputstream.h:
3187 * glocalfileoutputstream.c:
3188 * gmemoryinputstream.c:
3189 * gmemoryinputstream.h:
3190 * gmemoryoutputstream.c:
3191 * gmemoryoutputstream.h:
3192 * gmountoperation.c:
3193 * gmountoperation.h:
3196 * gpollfilemonitor.c:
3199 * gsimpleasyncresult.c:
3200 * gsimpleasyncresult.h:
3201 * gsocketinputstream.c:
3202 * gsocketinputstream.h:
3203 * gsocketoutputstream.c:
3204 * gsocketoutputstream.h:
3211 * gunixvolumemonitor.c:
3220 Bumps documentation to 93% symbol coverage, touching most
3221 of the public files. Fixes broken function documentation prototypes.
3222 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3223 gtk-doc headers in private files.
3225 2007-11-27 Jürg Billeter <j@bitron.ch>
3227 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3228 (g_buffered_input_stream_read_byte):
3229 * gbufferedinputstream.h:
3230 New functions for efficient access to buffer and simple single byte
3233 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3234 (g_data_input_stream_read_until):
3235 * gdatainputstream.h:
3236 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3237 read_until with multiple stop chars.
3239 2007-11-27 Alexander Larsson <alexl@redhat.com>
3243 * inotify/Makefile.am:
3244 Use the user-specified giomoduledir
3246 2007-11-27 Alexander Larsson <alexl@redhat.com>
3250 Add catch-all gio.h header
3251 Don't install gdummyfile.h
3253 2007-11-26 Alexander Larsson <alexl@redhat.com>
3255 * Makefile.am (gioinclude_HEADERS):
3256 Remove trailing whitespace
3258 2007-11-26 Alexander Larsson <alexl@redhat.com>
3260 Merge gio-standalone into glib
3262 2007-11-25 Christian Kellner <gicmo@gnome.org>
3264 * gio/goutputstream.c:
3265 Fix small mistake in the docs.
3267 2007-11-21 Christian Persch <chpe@gnome.org>
3269 * gio/glocalfile.c: (g_local_file_trash):
3270 Convert filenames to UTF-8 for GError.
3271 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3272 as per xdg base dir spec.
3274 2007-11-21 Christian Persch <chpe@gnome.org>
3276 * gio/gdesktopappinfo.c:
3277 Use that g_key_file_to_data cannot fail.
3279 Use stock defines for the key file group and key names.
3282 2007-11-21 Alexander Larsson <alexl@redhat.com>
3285 (copy_stream_with_progress):
3286 Make sure we do a final progress callback with
3287 the full total size.
3289 2007-11-21 Alexander Larsson <alexl@redhat.com>
3292 Export g_file_copy_attributes
3293 Remove padding as its not needed for interfaces
3295 2007-11-20 Alexander Larsson <alexl@redhat.com>
3300 Add G_IO_ERROR_WOULD_MERGE for
3301 copy/move dir on dir with overwrite.
3303 2007-11-20 Alexander Larsson <alexl@redhat.com>
3306 * gio/glocalfileinfo.c:
3307 Add COPY_NAME (this is an optional
3308 non-modified utf8 version of the name) that
3311 2007-11-20 Alexander Larsson <alexl@redhat.com>
3313 * gio/glocalfileenumerator.c:
3314 Report errors as GIOError, not GFileError
3316 2007-11-16 Alexander Larsson <alexl@redhat.com>
3318 * gio/glocalfileoutputstream.c:
3319 * gio/gwin32appinfo.c:
3320 Fix typos in strings.
3321 Patch from Luca Ferretti <elle.uca@libero.it>
3323 2007-11-15 Alexander Larsson <alexl@redhat.com>
3326 Post release version bump
3328 === gio-standalone 0.1.2 ===
3330 2007-11-15 Alexander Larsson <alexl@redhat.com>
3332 * docs/reference/gio/Makefile.am:
3333 Fix up distcheck by removing weird
3339 2007-11-14 Alexander Larsson <alexl@redhat.com>
3341 * gio/gdesktopappinfo.c:
3342 * gio/glocaldirectorymonitor.c:
3344 * gio/glocalfileinfo.c:
3345 * gio/inotify/inotify-sub.c:
3346 * programs/gio-cat.c:
3347 * programs/gio-copy.c:
3348 * programs/gio-info.c:
3349 * programs/gio-ls.c:
3350 * programs/gio-monitor-dir.c:
3351 * programs/gio-monitor-file.c:
3352 * programs/gio-mount.c:
3353 * programs/gio-move.c:
3354 * programs/gio-rm.c:
3355 * programs/gio-save.c:
3356 * programs/gio-trash.c:
3357 Leak fixes from Kjartan Maraas
3359 2007-11-14 Alexander Larsson <alexl@redhat.com>
3361 * gio/fam/fam-helper.c:
3363 * gio/glocalfileinfo.c:
3367 * gio/inotify/inotify-diag.c:
3368 * gio/inotify/inotify-kernel.c:
3369 Various code cleanups from Kjartan Maraas
3371 2007-11-14 Alexander Larsson <alexl@redhat.com>
3373 * gio/gioscheduler.c:
3375 Set up threadpool so that we cache 2 unused
3376 idle threads for at 15 secs. This means we
3377 will reuse thread-local data (like dbus connections)
3380 2007-11-14 Alexander Larsson <alexl@redhat.com>
3382 * gio/fam/fam-helper.c:
3383 * gio/fam/gfamdirectorymonitor.c:
3384 * gio/fam/gfamfilemonitor.c:
3386 * gio/gcontenttype.c:
3387 * gio/gdatainputstream.c:
3388 * gio/gdataoutputstream.c:
3392 * gio/gfileattribute.h:
3393 * gio/gfileenumerator.c:
3395 * gio/ginputstream.c:
3398 * gio/glocalfileinfo.c:
3399 * gio/goutputstream.c:
3400 * gio/gpollfilemonitor.c:
3401 * gio/gsimpleasyncresult.c:
3402 * gio/gunixmounts.c:
3403 * gio/gunixmounts.h:
3404 * gio/inotify/ginotifydirectorymonitor.c:
3405 * gio/inotify/ginotifyfilemonitor.c:
3406 * gio/inotify/inotify-diag.c:
3407 * gio/inotify/inotify-kernel.c:
3408 * gio/inotify/inotify-path.c:
3410 * gio/test-streams.c:
3411 * programs/gio-info.c:
3412 * programs/gio-monitor-dir.c:
3413 * programs/gio-monitor-file.c:
3414 Various code cleanups from Kjartan Maraas
3416 2007-11-13 Alexander Larsson <alexl@redhat.com>
3419 Handle the uri-scheme calls for dummy files
3421 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3423 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3424 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3425 to avoid clash with the C++ keyword.
3427 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3429 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3430 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3432 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3434 * gio/glocaldirectorymonitor.c:
3435 * gio/glocalfilemonitor.c:
3436 * gio/gunionvolumemonitor.c:
3437 Don't use g_once_init_*() for initializations that could fail and
3438 could leave the initialization variable set to 0 but use GOnce.
3439 This prevents a deadlock on the second call when trying to create
3440 a monitor and no monitor type is available. Thanks to Sven Herzberg
3443 2007-11-11 Sven Herzberg <sven@imendio.com>
3445 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3446 #ifdef (make it work on MacOS X again)
3448 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3450 Fixes Changelog for last two commits (sorry guys).
3452 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3454 * gio/gbufferedinputstream.c:
3455 * gio/gdatainputstream.c:
3457 * gio/gfileoutputstream.c:
3458 * gio/gfilterinputstream.c:
3459 * gio/glocalfileinputstream.c:
3462 More consistency fixes in g*stream.c files.
3463 Significant clean of gfile's documentation, filling in of
3464 asynchronous operations documentation.
3466 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3468 * gio/gasyncresult.c:
3469 * gio/gbufferedinputstream.c:
3470 * gio/gbufferedoutputstream.c:
3471 * gio/gcancellable.c:
3472 * gio/gcontenttype.c:
3473 * gio/gdatainputstream.c:
3474 * gio/gdataoutputstream.c:
3475 * gio/gdesktopappinfo.c:
3478 * gio/gfileattribute.c:
3479 * gio/gio/gfileenumerator.c:
3481 * gio/gfileinputstream.c:
3482 * gio/gfilemonitor.c:
3483 * gio/gfileoutputstream.c:
3484 * gio/ginputstream.c:
3486 * gio/gioscheduler.c:
3487 * gio/gloadableicon.c:
3488 * gio/glocalfileoutputstream.c:
3489 * gio/gmemoryoutputstream.c:
3490 * gio/gmountoperation.c:
3491 * gio/goutputstream.c:
3493 * gio/gsimpleasyncresult.c:
3494 * gio/gunionvolumemonitor.c:
3495 * gio/gunixmounts.c:
3496 * gio/gunixvolume.c:
3500 * gio/gvolumemonitor.c:
3501 Updated documentation stubs, working towards consistency and
3504 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3506 * gio/gmemoryoutputstream.c:
3507 * gio/gmemoryoutputstream.h:
3508 Change g_memory_output_stream_set_free_on_close() to
3509 g_memory_output_stream_set_free_data() as this makes more sense and
3510 is more consistent with GMemoryInputStream.
3512 2007-11-07 Alexander Larsson <alexl@redhat.com>
3519 Change how we find the default vfs so that
3520 we can handle a gvfs failing to init
3522 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3524 * gio/gbufferedoutputstream.c:
3525 * gio/gdatainputstream.c:
3526 * gio/gdataoutputstream.c:
3527 * gio/gfileinputstream.c:
3528 * gio/gfileoutputstream.c:
3529 * gio/gfilterinputstream.c:
3530 * gio/gfilteroutputstream.c:
3531 * gio/ginputstream.c:
3532 * gio/gmemoryinputstream.c:
3533 * gio/gmemoryoutputstream.c:
3534 * gio/goutputstream.c:
3535 * gio/gsimpleasyncresult.c:
3536 * gio/gsocketinputstream.c:
3537 * gio/gsocketoutputstream.c:
3538 Add guards to the remaining public functions, add a TODO for
3539 an unimplemented function and remove some useless guards.
3541 2007-11-07 Alexander Larsson <alexl@redhat.com>
3544 Autoconf checks for the various types of
3545 getpwuid_r and getgrgid_r
3547 * gio/glocalfileinfo.c:
3548 Use the autoconf checks from above
3550 2007-11-07 Alexander Larsson <alexl@redhat.com>
3553 (g_local_file_query_filesystem_info):
3554 Some fixes for the statvfs case
3556 2007-11-07 Alexander Larsson <alexl@redhat.com>
3559 (g_local_file_query_filesystem_info):
3560 Pick the "best" of statfs / statvfs for the system
3561 if both are availible.
3563 2007-11-07 Alexander Larsson <alexl@redhat.com>
3565 Solaris fixes from Halton.Huo@Sun.COM:
3572 * gio/glocalfileinfo.c:
3573 Fix for solaris definition of getpwuid_r
3575 * gio/test-streams.c:
3576 Use G_GNUC_PRETTY_FUNCTION
3578 2007-11-07 Alexander Larsson <alexl@redhat.com>
3580 * gio/gdesktopappinfo.c:
3581 (update_default_list):
3582 Remove double semicolon.
3583 Patch from Jens Granseuer
3585 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3587 * docs/reference/gio/gio-sections.txt:
3588 * gio/gbufferedinputstream.c:
3589 * gio/gbufferedinputstream.h:
3590 * gio/gdatainputstream.c:
3591 * gio/gfileenumerator.c:
3592 * gio/gioscheduler.c:
3593 * gio/gunionvolumemonitor.c:
3595 * programs/gio-save.c:
3596 Fix typo: availible -> available. Unfortuntely this breaks API
3597 and ABI as g_buffered_input_stream_get_available() was renamed.
3599 * gio/gunixmounts.c:
3600 * gio/gbufferedinputstream.c:
3601 Add guards for public functions.
3603 2007-11-06 Ross Burton <ross@openedhand.com>
3605 * docs/reference/gio/Makefile.am:
3606 Fix invalid += usage which automake 1.10 doesn't like.
3608 2007-11-06 Alexander Larsson <alexl@redhat.com>
3611 (g_app_launch_context_class_init):
3614 Patch from Ross Burton
3616 2007-11-06 Alexander Larsson <alexl@redhat.com>
3619 Post release version bump
3621 === gio-standalone 0.1.1 ===
3623 2007-11-06 Alexander Larsson <alexl@redhat.com>
3626 Bump version to 0.1.1
3628 * gio/gsimpleasyncresult.c:
3629 (g_simple_async_result_set_from_error):
3630 Remove bogus g_return_if_fail
3632 2007-11-06 Alexander Larsson <alexl@redhat.com>
3635 The name is gio-standalone
3638 Add top src/builddir to includedir
3640 2007-11-06 Alexander Larsson <alexl@redhat.com>
3642 * docs/reference/gio/gio-sections.txt:
3644 * gio/gbufferedinputstream.c:
3645 * gio/gbufferedoutputstream.c:
3646 * gio/gcancellable.c:
3647 * gio/gdatainputstream.h:
3648 * gio/gdataoutputstream.c:
3649 * gio/gdataoutputstream.h:
3650 * gio/gdirectorymonitor.c:
3652 * gio/gfileattribute.c:
3653 * gio/gfileattribute.h:
3654 * gio/gfileenumerator.c:
3655 * gio/gfileenumerator.h:
3658 * gio/gfileinputstream.h:
3659 * gio/gfilemonitor.c:
3660 * gio/gfileoutputstream.h:
3661 * gio/glocalfilemonitor.h:
3662 * gio/glocalfileoutputstream.h:
3663 * gio/gmemoryinputstream.c:
3664 * gio/gmemoryoutputstream.c:
3665 * gio/gmountoperation.c:
3666 * gio/goutputstream.c:
3667 * gio/goutputstream.h:
3669 * gio/gsimpleasyncresult.c:
3670 * gio/gunixmounts.c:
3671 * gio/gunixmounts.h:
3673 * gio/inotify/inotify-helper.c:
3674 Fix gtk-doc warnings
3676 Patch from Ross Burton
3678 2007-11-06 Alexander Larsson <alexl@redhat.com>
3680 * gio/gfilenamecompleter.c:
3681 (g_filename_completer_get_completions):
3684 * gio/gunixvolume.c:
3685 Remove unused function
3687 Patches from Ross Burton
3689 2007-11-06 Alexander Larsson <alexl@redhat.com>
3694 Padding not needed for interfaces
3696 2007-11-06 Alexander Larsson <alexl@redhat.com>
3698 * gio/gfilemonitor.c:
3702 Make giotypes.h an internal file
3705 * gio/gbufferedinputstream.h:
3706 * gio/gbufferedoutputstream.h:
3707 * gio/gcancellable.h:
3708 * gio/gdatainputstream.h:
3709 * gio/gdataoutputstream.h:
3710 * gio/gdirectorymonitor.c:
3711 * gio/gdirectorymonitor.h:
3716 * gio/gfileattribute.h:
3717 * gio/gfileenumerator.h:
3722 * gio/gfilemonitor.c:
3723 * gio/gfilemonitor.h:
3724 * gio/gfilenamecompleter.c:
3725 * gio/gfilenamecompleter.h:
3726 * gio/gfilterinputstream.h:
3727 * gio/gfilteroutputstream.h:
3728 * gio/ginputstream.h:
3729 * gio/gmemoryinputstream.h:
3730 * gio/gmemoryoutputstream.h:
3731 * gio/gmountoperation.c:
3732 * gio/gmountoperation.h:
3733 * gio/gnativevolumemonitor.c:
3734 * gio/goutputstream.h:
3737 * gio/gsimpleasyncresult.c:
3738 * gio/gsimpleasyncresult.h:
3739 * gio/gsocketinputstream.h:
3740 * gio/gsocketoutputstream.h:
3741 * gio/gthemedicon.c:
3742 * gio/gthemedicon.h:
3746 * gio/gvolumemonitor.c:
3747 * gio/gvolumemonitor.h:
3748 Add padding in classes where it seems useful
3749 Don't include giotypes.h from public headers
3750 Move in Class definitions into c file where possible
3755 2007-11-06 Alexander Larsson <alexl@redhat.com>
3757 * docs/reference/gio/gio-docs.xml:
3758 Better structure for API docs
3760 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3763 * gio/gloadableicon.c:
3764 * gio/gsimpleasyncresult.c:
3765 * gio/gthemedicon.c:
3766 Add some more guards to public functions. Only files missing are now
3769 2007-11-06 Alexander Larsson <alexl@redhat.com>
3771 * docs/reference/gio/gio-docs.xml:
3772 Remove old files, add missing ones
3774 2007-11-06 Alexander Larsson <alexl@redhat.com>
3776 * docs/reference/gio/gio-sections.txt:
3779 Hide implementation classes
3781 * gio/gdriveprivate.h:
3782 * gio/gvolumeprivate.h:
3783 Remove non-existing function declarations
3785 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3788 Fix compilation warnings and add guards to the new functions.
3790 * gio/gasyncresult.c:
3792 Add guards to the public functions.
3795 Implement get_path().
3797 2007-11-06 Alexander Larsson <alexl@redhat.com>
3799 * gio/gfilenamecompleter.c:
3800 Make g_filename_completer_get_completions
3801 return char ** instead of GList for
3804 * docs/reference/gio/gio-docs.xml:
3805 * docs/reference/gio/gio-sections.txt:
3807 * gio/gasyncresult.c:
3808 * gio/gbufferedinputstream.c:
3809 * gio/gbufferedoutputstream.c:
3810 * gio/gcancellable.c:
3811 * gio/gcontenttype.c:
3812 * gio/gdatainputstream.c:
3813 * gio/gdataoutputstream.c:
3814 * gio/gdesktopappinfo.c:
3815 * gio/gdirectorymonitor.c:
3819 * gio/gfileattribute.c:
3820 * gio/gfileenumerator.c:
3823 * gio/gfileinputstream.c:
3824 * gio/gfilemonitor.c:
3825 * gio/gfilenamecompleter.c:
3826 * gio/gfilenamecompleter.h:
3827 * gio/gfileoutputstream.c:
3828 * gio/gfilterinputstream.c:
3830 * gio/ginputstream.c:
3832 * gio/gioscheduler.c:
3833 * gio/gloadableicon.c:
3834 * gio/glocaldirectorymonitor.c:
3836 * gio/glocalfileinputstream.c:
3837 * gio/glocalfilemonitor.c:
3838 * gio/glocalfileoutputstream.c:
3840 * gio/gmemoryinputstream.c:
3841 * gio/gmemoryoutputstream.c:
3842 * gio/gmountoperation.c:
3843 * gio/goutputstream.c:
3844 * gio/gpollfilemonitor.c:
3846 * gio/gsimpleasyncresult.c:
3847 * gio/gsocketinputstream.c:
3848 * gio/gsocketoutputstream.c:
3849 * gio/gthemedicon.c:
3850 * gio/gunionvolumemonitor.c:
3852 * gio/gunixmounts.c:
3853 * gio/gunixvolume.c:
3854 * gio/gunixvolumemonitor.c:
3858 * gio/gvolumemonitor.c:
3859 * gio/gwin32appinfo.c:
3860 Add (mostly stub) doc strings to public functions.
3861 Patch from Andrew Walton (awalton@gmail.com)
3863 2007-11-06 Alexander Larsson <alexl@redhat.com>
3865 * gio/gappinfo.[ch]:
3866 Added GAppLaunchContext object and pass that to launch.
3867 This allows simple implementation of both
3868 launch-on-screen and startup notification via a gtk+
3869 subclass of GAppLaunchContext
3871 * gio/gdesktopappinfo.c:
3872 Implement GAppLaunchContext API
3874 * gio/gwin32appinfo.c:
3877 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3879 * gio/gmountoperation.c:
3880 Add some guards to GMountOperation's public functions.
3882 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3886 * gio/gcancellable.c:
3887 * gio/gdirectorymonitor.c:
3889 * gio/gfileenumerator.c:
3890 * gio/gfilemonitor.c:,
3891 * gio/gfilenamecompleter.c:
3894 * gio/gioscheduler.c:
3898 * gio/gvolumemonitor.c:
3899 Add even more guards to various public functions.
3901 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3904 Add guards to the public functions of GAppInfo.
3906 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3908 * gio/gcontenttype.c:
3909 Add some more guards for public functions.
3911 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3913 * gio/fam/fam-module.c:
3914 * gio/fam/gfamdirectorymonitor.c:
3915 * gio/fam/gfamdirectorymonitor.h:
3916 * gio/fam/gfamfilemonitor.c:
3917 * gio/fam/gfamfilemonitor.h:
3918 * gio/inotify/ginotifydirectorymonitor.c:
3919 * gio/inotify/ginotifydirectorymonitor.h:
3920 * gio/inotify/ginotifyfilemonitor.c:
3921 * gio/inotify/ginotifyfilemonitor.h:
3922 Add proper copyright information and remove an unused variable
3923 in the GInotifyFileMonitor constructor.
3925 * gio/gcancellable.c:
3926 Add a guard for a public function and an assertion to prevent
3927 an undefined program state.
3929 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3931 * gio/gfileattribute.c:
3932 Don't run into an assertion if the given attribute value is NULL
3933 in g_file_attribute_value_get_*() but instead return a fallback
3934 value that makes sense in most situations. Passing them a attribute
3935 value with the wrong type will still run into an assertion.
3937 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3939 * gio/gfileattribute.c:
3941 Add even more guards to the public functions. Also fix the refcounting
3942 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3943 let g_file_info_list_attributes() filter the attributes by namespace
3944 instead of simply ignoring the namespace parameter.
3946 2007-11-03 Sven Herzberg <sven@imendio.com>
3948 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3949 (This makes gio work on MacOS X again)
3951 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3954 Build the gio subdirectory before the docs. Otherwise the build will
3957 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3958 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3959 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3960 Add guards to the public functions.
3962 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3964 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3965 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3966 to prevent a compiler warning.
3968 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3969 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3970 return something in the non-void function find_topdir_for().
3972 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3979 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3981 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3982 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3983 * gwin32appinfo.c (g_win32_app_info_launch):
3984 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3985 envp_for_startup_id, g_desktop_app_info_launch,
3986 g_desktop_app_info_launch_uris):
3988 Give an opaque 'startup_id' string instead of 'envp'.
3989 Support empty file lists for launching new windows.
3990 Fix infinite recursion bug when launching URIs.
3992 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3995 Add guard to the new g_file_get_uri_scheme() function.
3997 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4000 Convert a g_return_val_if_fail() to setting the GError instead as
4001 otherwise applications have to verify the parameter before otherwise
4002 and the parameter might come directly from the user.
4004 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4006 * gio/inotify/ginotify*.[ch]:
4007 Add missing copyright information.
4009 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4012 Add guards in the beginning of public functions to check for valid
4013 parameters and fix a bug in copy_stream_with_progress() that could've
4014 caused writing less bytes than reading.
4015 * gio/glocalfileinfo.c:
4016 Check for a NULL parameter and set the GError accordingly then.
4017 * gio/goutputstream.c:
4018 Fix the same bug as in gfile.c that could've caused writing less bytes
4019 than reading in g_output_stream_real_splice().
4021 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4024 Use the correct gvolumeprivate.h naming
4026 2007-11-01 Christian Kellner <gicmo@gnome.org>
4029 Remove leftover "$(daemon_sources)" entry.
4031 2007-11-01 Christian Kellner <gicmo@gnome.org>
4036 Add copyright information to source files.
4038 2007-11-01 Alexander Larsson <alexl@redhat.com>
4042 Add g_file_get_uri_scheme
4044 2007-11-01 Alexander Larsson <alexl@redhat.com>
4047 * gio/gdesktopappinfo.c:
4048 * gio/gwin32appinfo.c:
4049 Add g_app_info_get_default_for_uri_scheme.
4051 2007-11-01 Alexander Larsson <alexl@redhat.com>
4054 Correct filename for gdriveprivate.h
4056 2007-10-31 Alexander Larsson <alexl@redhat.com>
4059 Rename id:value to id:file
4062 * gio/glocalfileinfo.c:
4065 2007-10-31 Alexander Larsson <alexl@redhat.com>
4067 * gio/gunixvolume.c:
4069 Remove g_volume_get_platform_id, as thats not
4070 needed with the simpler union volume monitor
4072 2007-10-31 Alexander Larsson <alexl@redhat.com>
4075 * gio/guniondrive.[ch]: Removed.
4076 * gio/gunionvolume.[ch]: Removed.
4077 Remove GUnionDrive/Volume
4079 * gio/gunionvolumemonitor.c:
4080 Simplify union volume monitor, now we
4081 only have one native volume monitor and
4082 we use the actual volumes/drives from the
4083 child monitors instead of wrapping them
4085 * gio/gnativevolumemonitor.[ch]:
4086 Base class for native volume monitors.
4087 Includes priority and get_volume_for_mountpoint
4090 Add g_file_find_enclosing_volume
4093 Remove volume name fs attribute
4094 Add readonly fs attribute
4097 Implement readonly attribute
4098 remove volume name attribute
4099 Implement find_enclosing volume
4101 * gio/gunixmounts.c:
4102 Add a volume for "/".
4104 * gio/gunixvolume.[ch]:
4105 Set better name for /
4107 * gio/gunixvolumemonitor.[ch]:
4108 Derive from GNativeVolumeMonitor
4109 Implement get_volume_for_mountpoint
4112 GVolume typedef moved to gfile.h
4114 * gio/gvolumeprivate.h:
4115 Add g_volume_get_for_mount_path
4117 2007-10-31 Alexander Larsson <alexl@redhat.com>
4119 * gio/gunixmounts.[ch]:
4120 Add cache info to unix mount listers
4121 Make getmntent use threadsafe
4122 Add is_system_internal attribute for GUnixMount
4124 * gio/gunixvolume.c:
4125 (g_unix_volume_new):
4126 Use is_system_internal instead of own code
4128 * gio/glocaldirectorymonitor.c:
4129 * gio/gunixvolumemonitor.c:
4130 Update to new gunixmounts API
4135 2007-10-30 Alexander Larsson <alexl@redhat.com>
4138 Add volume name fsinfo attribute
4141 Read volume name info
4143 * gio/gunionvolumemonitor.c:
4144 Fix infinite loops when finalizing a union volume monitor
4146 2007-10-30 Alexander Larsson <alexl@redhat.com>
4148 * gio/goutputstream.[ch]:
4149 Add splice() with default implementation
4151 * gio/gsocketoutputstream.c:
4152 (g_socket_output_stream_write):
4153 Return error on cancellation correctly.
4155 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4157 * gio/glocalfile.c (g_local_file_trash):
4158 Do not leak a string.
4160 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4162 * gio/gfile.c (g_file_load_contents):
4163 Unref the stream after closing it.
4165 2007-10-25 Alexander Larsson <alexl@redhat.com>
4167 * gio/gioscheduler.h:
4170 2007-10-25 Alexander Larsson <alexl@redhat.com>
4174 Add g_file_has_uri_scheme and implement for local files
4176 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4178 * gio/gdesktopappinfo.c: do not leak a string.
4180 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4182 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4183 (g_local_directory_monitor_new):
4184 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4185 (g_local_file_monitor_new):
4186 Only look for the monitor type that should be used the first time
4187 and use g_qsort_with_data() instead of our own bubble sort
4190 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4193 * gio/fam/Makefile.am:
4194 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4195 * gio/fam/fam-helper.h:
4196 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4197 * gio/fam/gfamdirectorymonitor.c:
4198 * gio/fam/gfamdirectorymonitor.h:
4199 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4200 * gio/fam/gfamfilemonitor.h:
4201 * gio/glocaldirectorymonitor.c:
4202 * gio/glocaldirectorymonitor.h:
4203 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4204 * gio/glocalfilemonitor.h:
4205 * gio/inotify/Makefile.am:
4206 * gio/inotify/ginotifydirectorymonitor.c:
4207 * gio/inotify/ginotifydirectorymonitor.h:
4208 * gio/inotify/ginotifyfilemonitor.c:
4209 * gio/inotify/ginotifyfilemonitor.h:
4210 Implement the FAM and Inotify monitors as
4211 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4212 their own GIO module. GLocal(Directory|File)Monitor will use the
4213 monitor with the highest rank that is supported on that machine.
4215 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4218 Change GIO module dir to $(libdir)/gio/modules and change
4219 the log domain from GVFS to GIO. Also only export symbols starting
4220 with g_ in the resulting library.
4221 * gio/test-streams.c: (main):
4222 Set log handler for the GIO log domain.
4224 2007-10-22 Alexander Larsson <alexl@redhat.com>
4226 * gio/gfilenamecompleter.[ch]:
4227 Add g_filename_completer_set_dirs_only
4229 2007-10-22 Alexander Larsson <alexl@redhat.com>
4232 * gio/gurifuncs.[ch]:
4233 Add some simple URI helpers
4235 * gio/gfilenamecompleter.[ch]:
4236 Added object for filename (parse name actually) completion
4239 Handle ~ in parse names
4241 2007-10-17 Alexander Larsson <alexl@redhat.com>
4244 * gio/glocalfileinfo.c:
4245 Add and implement id:value attribute
4247 2007-10-17 Alexander Larsson <alexl@redhat.com>
4250 * gio/guniondrive.c:
4252 Add and implement g_drive_has_volumes
4254 2007-10-17 Alexander Larsson <alexl@redhat.com>
4257 * gio/glocalfileinfo.[ch]:
4258 Add unix:is_mountpoint and implement for local files
4260 2007-10-16 Alexander Larsson <alexl@redhat.com>
4262 * gio/gunionvolumemonitor.c:
4263 (g_union_volume_monitor_init):
4264 Fix up the unix type getting so that it works with gcc
4266 2007-10-12 Alexander Larsson <alexl@redhat.com>
4269 * gio/glocalfileinfo.c:
4270 Add thumbnail:failed to file info
4272 2007-10-12 Richard Hult <richard@imendio.com>
4274 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4275 optimizing away the get_type call (happens with some gcc versions,
4276 like the one shipped with OS X 10.4).
4278 2007-10-12 Alexander Larsson <alexl@redhat.com>
4280 * gio/glocalfileinfo.c:
4281 (_g_local_file_info_set_attribute):
4282 Fix build if not HAVE_XATTR
4283 Patch from Milosz Derezynski <internalerror@gmail.com>
4285 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4287 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4288 around for review, otherwise I would have asked you before
4291 2007-10-11 Alexander Larsson <alexl@redhat.com>
4294 Add thumbnail:path attribute
4296 * gio/glocalfileinfo.c:
4297 Implement thumbnail:path for local files
4299 2007-10-11 Alexander Larsson <alexl@redhat.com>
4301 * gio/glocalfileinfo.c:
4302 (_g_local_file_info_get):
4303 Avoid duplicate icon names
4305 2007-10-11 Alexander Larsson <alexl@redhat.com>
4307 * gio/gthemedicon.[ch]:
4308 Change g_themed_icon_get_names return type to const
4310 2007-10-10 Alexander Larsson <alexl@redhat.com>
4312 * gio/glocalfileinfo.c:
4313 Don't reference freed memory
4315 2007-10-10 Alexander Larsson <alexl@redhat.com>
4317 * gio/gfileattribute.c:
4320 * gio/glocalfileinfo.c:
4323 2007-10-10 Alexander Larsson <alexl@redhat.com>
4326 Check for NULL icons
4328 * gio/gfileattribute.c:
4329 Don't dup when getting objects (same as for string attributes)
4331 * gio/gicon.c (g_icon_equal):
4332 Safely handle NULLs in equal
4334 2007-10-10 Alexander Larsson <alexl@redhat.com>
4337 Fix c++ compilation issues
4338 Patch from Milosz Derezynski <internalerror@gmail.com>
4340 2007-10-10 Alexander Larsson <alexl@redhat.com>
4342 * programs/gio-monitor-dir.c:
4343 Don't crash if dir monitor not supported.
4345 2007-10-09 Alexander Larsson <alexl@redhat.com>
4348 Add missing G_END_DECLS
4350 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4352 * gio/gfile.c: (g_file_set_display_name),
4353 (g_file_query_settable_attributes),
4354 (g_file_query_writable_namespaces):
4355 Return NULL not FALSE on errors as the return type is a pointer.
4357 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4359 * gio/glocalfile.c: (g_local_file_monitor_file):
4360 Don't call monitor_file on the default interface vtable (which
4361 is NULL) but simply return NULL. The caller, GFile, will create a
4362 polling monitor if NULL is returned.
4364 2007-10-09 Alexander Larsson <alexl@redhat.com>
4368 * gio-unix-2.0.pc.in:
4369 Add gio-unix-2.0.pc if OS_UNIX
4372 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4374 2007-10-09 Alexander Larsson <alexl@redhat.com>
4376 * gio/gunixmounts.[ch]:
4377 Make unix mount monitoring API sane.
4378 Now its just a object with mounts_changed
4379 and mountpoints_changed signals.
4381 * gio/glocaldirectorymonitor.c:
4382 * gio/gunixvolumemonitor.c:
4383 Use new mount monitor api
4385 2007-10-09 Alexander Larsson <alexl@redhat.com>
4387 * gio/gunixmounts.[ch]:
4388 Move guess type into one call for mounts and one for mountpoints
4391 * gio/gunixvolume.c:
4394 2007-10-09 Alexander Larsson <alexl@redhat.com>
4396 * gio/gunixmounts.[ch]:
4397 Remove _ prefix in preparation to make this semi-public
4398 Hide implementation of structs
4400 * gio/glocaldirectorymonitor.c:
4402 * gio/gunixvolume.c:
4403 * gio/gunixvolumemonitor.c:
4404 Update for above API changes
4406 2007-10-08 Alexander Larsson <alexl@redhat.com>
4409 Better polling fallback. This also handles the case where we have
4410 a monitor_file implementation, but it fails.
4412 2007-10-08 Alexander Larsson <alexl@redhat.com>
4416 * gio/gunixmounts.c:
4417 * programs/gio-monitor-dir.c:
4418 * programs/gio-monitor-file.c:
4419 Added cancellable to file monitoring calls.
4420 These are really sync calls and need this.
4422 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4424 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4425 (g_local_vfs_class_init):
4426 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4427 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4429 2007-10-05 Alexander Larsson <alexl@redhat.com>
4431 * gio/gdirectorymonitorprivate.h:
4432 * gio/gfilemonitorprivate.h:
4433 * gio/gdirectorymonitor.h:
4434 * gio/gfilemonitor.h:
4435 Remove *private.h and move to the public API, so that
4436 we can do implementations outside gio (such as in gvfs)
4438 * gio/gdirectorymonitor.c:
4439 * gio/gfilemonitor.c:
4440 * gio/glocaldirectorymonitor.c:
4441 * gio/gpollfilemonitor.c:
4442 * gio/inotify/inotify-helper.c:
4443 * gio/fam/fam-helper.c:
4444 Update to the new header names
4446 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4448 * gio/gdirectorymonitor.c:
4449 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4452 2007-10-04 Alexander Larsson <alexl@redhat.com>
4454 * gio/glocalfileinfo.c (get_access_rights):
4455 Set CAN_TRASH when we can move the file.
4456 We should really also check for a parent trash dir.
4458 2007-10-04 Alexander Larsson <alexl@redhat.com>
4460 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4461 Add can_trash access attribute
4463 2007-10-04 Alexander Larsson <alexl@redhat.com>
4466 (g_local_file_trash):
4467 Create info file first. This is per-spec and allows
4468 us to actually trash directories.
4470 2007-10-02 Alexander Larsson <alexl@redhat.com>
4472 * gio/gdesktopappinfo.c:
4473 Implement the new mime support code.
4474 Always set app as handling mimetype when being set as default for it
4476 2007-10-01 Alexander Larsson <alexl@redhat.com>
4478 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4479 Fix up check for xattrs:
4481 2007-10-01 Alexander Larsson <alexl@redhat.com>
4484 (g_app_info_set_as_default_for_extension):
4485 (g_app_info_add_supports_type):
4486 (g_app_info_can_remove_supports_type):
4487 (g_app_info_remove_supports_type):
4488 Make these fail nicely if not implemented
4490 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4492 * gio/glocalfileoutputstream.c:
4493 * gio/glocalfileoutputstream.h:
4498 * programs/gio-save.c:
4499 Add a GFileCreateFlags argument to operations that can create
4502 2007-10-01 Alexander Larsson <alexl@redhat.com>
4504 * gio/gappinfo.[ch]:
4505 * gio/gdesktopappinfo.c:
4506 Add more (stubbed out) mime API needed for nautilus
4508 2007-10-01 Alexander Larsson <alexl@redhat.com>
4511 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4512 Add g_app_info_set_as_default_for_extension.
4514 * gio/gdesktopappinfo.c:
4515 Dummy for g_app_info_set_as_default_for_extension
4516 Support flags in g_app_info_create_from_commandline
4518 * gio/gwin32appinfo.c:
4520 Update for API changes
4522 * gio/gthemedicon.c:
4523 Properly NULL-terminate list of icon names
4525 2007-09-28 Alexander Larsson <alexl@redhat.com>
4527 * gio/gloadableicon.h:
4528 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4530 2007-09-28 Alexander Larsson <alexl@redhat.com>
4533 Install headers in $includedir/gio-standalone/
4535 * gio-2.0.pc.in: Added.
4536 * gio-standalone.pc.in: Removed.
4539 Renamed pkg-config file to match glib (for future move)
4540 Update to the new include dir
4543 Add more TODO comments
4545 2007-09-28 Alexander Larsson <alexl@redhat.com>
4547 * gio/gdesktopappinfo.[ch]:
4548 Expose new_from_filename
4549 Add getter for is_hidden and handle it better
4551 2007-09-28 Alexander Larsson <alexl@redhat.com>
4553 * gio/gfileinfo.[ch]:
4554 Rename g_file_size_format_for_display to
4555 g_format_file_size_for_display.
4556 Now it doesn't have the g_file prefix, so we
4557 can later move it to glib.
4559 2007-09-28 Alexander Larsson <alexl@redhat.com>
4561 * gio/gappinfo.[ch]:
4562 Add g_app_info_get_id and g_app_info_get_executable.
4563 Make all getters non-reffing
4564 Make g_app_info_launch take GFile arguments.
4565 Add must_support_uris argument to g_app_info_get_default_for_type.
4567 * gio/gwin32appinfo.c:
4568 Update to GAppInfo api changes
4570 * gio/gdesktopappinfo.c:
4571 Update to GAppInfo api changes
4572 Implement supports_xdg_startup_notify
4574 * gio/gfileicon.c (g_file_icon_get_file):
4575 Make getter non-reffing.
4580 2007-09-27 Alexander Larsson <alexl@redhat.com>
4582 * gio/gfileinfo.[ch]:
4583 Add g_file_size_format_for_display helper
4585 2007-09-27 Alexander Larsson <alexl@redhat.com>
4587 * gio/glocalfileinfo.c:
4588 Set UNIX_GID from gid, not from uid
4590 2007-09-27 Alexander Larsson <alexl@redhat.com>
4593 Add g_file_set_attributes_async
4595 2007-09-27 Alexander Larsson <alexl@redhat.com>
4597 * gio/glocalfile.c (g_local_file_set_display_name):
4598 Fix set_display_name to actually rename to the right place.
4599 Use lstat to look for existing files so we don't overwrite
4602 2007-09-26 Alexander Larsson <alexl@redhat.com>
4605 Add g_file_set_display_name_async()
4607 2007-09-26 Alexander Larsson <alexl@redhat.com>
4610 Add load_partial_contents async calls
4613 Make internal function static
4615 2007-09-26 Alexander Larsson <alexl@redhat.com>
4617 * gio/glocalfileinfo.c:
4618 Correctly detect broken symlinks
4620 2007-09-26 Alexander Larsson <alexl@redhat.com>
4622 * gio/gcancellable.c (g_cancellable_cancel):
4623 Allow cancel on NULL cancellable
4625 2007-09-25 Alexander Larsson <alexl@redhat.com>
4627 * gio/gsimpleasyncresult.c:
4628 Don't allocate g_error manually.
4629 Fixes g_slice/g_new mixup crash
4631 2007-09-25 Alexander Larsson <alexl@redhat.com>
4633 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4634 Actually set active_backend.
4635 This means the monitor will be cancelled correctly.
4637 2007-09-25 Alexander Larsson <alexl@redhat.com>
4639 * gio/gdirectorymonitor.c:
4640 Set timeout to NULL when destroying
4642 2007-09-25 Alexander Larsson <alexl@redhat.com>
4645 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4646 that is a better description of the error.
4648 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4650 * gio/gvfs.c: (g_vfs_get_local):
4651 Make the local vfs variable static. The same instance should
4654 2007-09-24 Alexander Larsson <alexl@redhat.com>
4656 * gio/glocalfileinfo.c:
4657 Pass in actual length read into sniffer, not the length
4660 2007-09-21 Alexander Larsson <alexl@redhat.com>
4662 * gio/gfileenumerator.c:
4665 * gio/gfileinputstream.c:
4666 * gio/gfileoutputstream.c:
4667 * gio/ginputstream.c:
4668 * gio/goutputstream.c:
4669 Don't crash if async callbacks are NULL
4671 2007-09-20 Alexander Larsson <alexl@redhat.com>
4674 Add async enumerate_children method and default
4677 2007-09-20 Alexander Larsson <alexl@redhat.com>
4680 Add g_file_contains_file & g_file_get_relative_path, since they
4681 were needed for nautilus.
4682 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4687 Implement new methods
4689 2007-09-17 Alexander Larsson <alexl@redhat.com>
4692 * gio/gfileinputstream.[ch]:
4693 * gio/gfileoutputstream.[ch]:
4695 * gio/glocalfileenumerator.[ch]:
4696 * gio/glocalfileinfo.[ch]:
4697 * gio/glocalfileinputstream.c:
4698 * gio/glocalfileoutputstream.c:
4699 * gio/gpollfilemonitor.c:
4700 * programs/gio-copy.c:
4701 * programs/gio-info.c:
4702 * programs/gio-move.c:
4703 Rename get_file_info to query_info() to make it clearer
4704 that these are not simple getters, but do i/o.
4706 2007-09-17 Alexander Larsson <alexl@redhat.com>
4708 * gio/gdatainputstream.[ch]:
4709 * gio/test-streams.c:
4710 Use _read_XXX instead of _get_XXX for the i/o calls
4713 2007-09-17 Alexander Larsson <alexl@redhat.com>
4716 Added needed stuff to TODO comment
4718 2007-09-17 Alexander Larsson <alexl@redhat.com>
4720 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4721 Don't error out removing the backup copy if it doesn't
4724 2007-09-14 Alexander Larsson <alexl@redhat.com>
4726 * programs/Makefile.am:
4727 * programs/gvfs-*.c:
4729 Renamed apps from gvfs-xxx to gio-xxx.
4731 2007-09-14 Alexander Larsson <alexl@redhat.com>
4734 * gio/gfileoutputstream.[ch]:
4735 * gio/glocalfileoutputstream.c:
4736 * programs/gvfs-save.c:
4737 g_file_output_stream_get_etag doesn't do i/o, so remove
4738 cancellation and error.
4740 2007-09-14 Alexander Larsson <alexl@redhat.com>
4743 Add new_etag output to replace_contents functions
4745 2007-09-14 Alexander Larsson <alexl@redhat.com>
4747 * gio/gfileoutputstream.[ch]:
4748 Add async get_file_info and default implementation
4750 2007-09-14 Alexander Larsson <alexl@redhat.com>
4752 * gio/gfileinputstream.c:
4753 Implement fallback wrapper for async get_file_info
4755 2007-09-14 Alexander Larsson <alexl@redhat.com>
4758 Add etag out argument to load_contents
4763 2007-09-14 Alexander Larsson <alexl@redhat.com>
4765 * gio/gcontenttype.c (looks_like_text):
4766 Whitespace like tab, cr and lf do not make the
4769 2007-09-14 Alexander Larsson <alexl@redhat.com>
4771 * gio/gfileinputstream.[ch]:
4772 Add async get_file_info.
4774 2007-09-13 Alexander Larsson <alexl@redhat.com>
4776 * gio/goutputstream.c (g_output_stream_write_all):
4777 Allow NULL for bytes_written
4779 2007-09-13 Alexander Larsson <alexl@redhat.com>
4781 * gio/gmemoryinputstream.[ch]:
4782 Add accessors for data
4784 2007-09-13 Alexander Larsson <alexl@redhat.com>
4786 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4787 Don't crash if length is NULL