1 2008-08-04 Matthias Clasen <mclasen@redhat.com>
3 Bug 546017 – Don't copy attributes when copying a symlink
5 * gfile.c (g_file_copy_attributes): Specify
6 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
7 g_file_set_attributes_from_info. Patch by Christian Kellner
9 2008-08-04 Matthias Clasen <mclasen@redhat.com>
13 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
14 a bit more extensible. Work by Clemens Buss.
16 * gioenums.h: Add GEmblemOrigin.
19 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
21 Bug 546079 – leak in xdgmime
23 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
25 2008-08-03 Tor Lillqvist <tml@novell.com>
27 * win32/gwin32directorymonitor.h
28 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
31 2008-08-03 Tor Lillqvist <tml@novell.com>
33 * win32/gwin32directorymonitor.c
34 (g_win32_directory_monitor_callback): Make prototype match
35 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
36 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
39 (g_win32_directory_monitor_constructor):
40 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
41 names in the GLib API on Windows, so convert to UTF-16 and open
44 2008-08-03 Tor Lillqvist <tml@novell.com>
46 Bug 541036 - Gnumeric crashes when trying to open Desktop or
47 user's folder under Windows
49 * win32/gwin32directorymonitor.c
50 (g_win32_directory_monitor_constructor): Ignore error from
51 CreateFile() when opening directory. Instead of asserting, just
52 store INVALID_HANDLE_VALUE then in
53 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
54 ReadDirectoryChangesW().
55 (g_win32_directory_monitor_cancel): Don't attempt to close
56 directory handle if it is INVALID_HANDLE_VALUE.
58 2008-08-01 Matthias Clasen <mclasen@redhat.com>
60 * gdesktopappinfo.c: Remove debug spew
62 2008-08-01 Hans Breuer <hans@breuer.org>
64 * makefile.msc : add gemblembedicon
66 2008-07-30 Matthias Clasen <mclasen@redhat.com>
68 Bug 545457 – gdmsetup crashed with SIGSEGV in
69 g_unix_mount_guess_should_display()
71 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
72 crash if no mount is found.
74 2008-07-28 Matthias Clasen <mclasen@redhat.com>
76 Bug 545203 – gfile.c: argument is different type.
78 * gfile.c (open_read_async_thread): Pass a GError **
79 to g_file_set_error_literal.
80 Reported by Kazuki Iwamoto
82 2008-07-28 Matthias Clasen <mclasen@redhat.com>
84 Bug 545157 – wrong/no list of "open with" applications for .cc and
87 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
88 Collect all ancestors, not just direct parents. Pointed
91 2008-07-28 Matthias Clasen <mclasen@redhat.com>
93 * Makefile.am: Install gemblemedicon.h
95 2008-07-28 Matthias Clasen <mclasen@redhat.com>
97 * gemblemedicon.[hc]: Add a GIcon implementation that can
98 add an emblem to another icon.
105 * gfileicon.c: Small documentation additions.
107 2008-07-28 Tor Lillqvist <tml@novell.com>
109 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
112 2008-07-27 Tor Lillqvist <tml@novell.com>
114 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
116 2008-07-24 David Zeuthen <davidz@redhat.com>
120 Also export a g_mount_guess_content_type_sync() function.
122 2008-07-23 Matthias Clasen <mclasen@redhat.com>
124 529694 – SELinux context setting support
126 * gfileinfo.c: Support setting selinux attributes.
127 Patch by Tomas Bzatek
129 2008-07-22 Priit Laes <plaes@plaes.org>
131 Bug 544140 - fam-helper 64-bit issue?
133 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
135 2008-07-21 Matthias Clasen <mclasen@redhat.com>
137 * === Released 2.17.4 ===
139 2008-07-20 Matthias Clasen <mclasen@redhat.com>
141 * gvolumemonitor.[hc]:
146 * gmount.c: Documentation fixes
148 2008-07-19 Matthias Clasen <mclasen@redhat.com>
150 543504 – crash in Epiphany Web Browser: Opening local file
161 * gvolume.c: Register types thread-safely.
162 Patch by Christian Persch
164 2008-07-18 Matthias Clasen <mclasen@redhat.com>
166 * gcontenttype.c: Remove debug spew
168 2008-07-18 Matthias Clasen <mclasen@redhat.com>
170 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
173 * fen/fen-kernel.c: Remove a warning that was causing
174 crashes. Reported by Lin Ma.
176 2008-07-18 Matthias Clasen <mclasen@redhat.com>
178 Bug 543040 – async reading on dummy file will crash on
181 * gfile.c (open_read_async_thread): Cope with read_fn being
182 NULL. Reported by Lin Ma.
184 2008-07-18 Matthias Clasen <mclasen@redhat.com>
187 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
189 2008-07-16 Matthias Clasen <mclasen@redhat.com>
193 * giomodule.c: Rename a chapter id to avoid filename conflict.
195 2008-07-16 Matthias Clasen <mclasen@redhat.com>
197 Bug 540616 – mem leak in filechooser button
199 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
200 the mount entry. Reported by Chrisitan Persch
202 2008-07-16 Matthias Clasen <mclasen@redhat.com>
204 * gfile.c: Small documentation fixes.
206 2008-07-15 Matthias Clasen <mclasen@redhat.com>
208 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
210 2008-07-08 Matthias Clasen <mclasen@redhat.com>
215 * gmount.c: Documentation improvements.
217 2008-07-08 Matthias Clasen <mclasen@redhat.com>
220 * gmount.[hc]: Add g_mount_guess_content_type().
222 2008-07-06 David Zeuthen <davidz@redhat.com>
225 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
226 is needed for easily handling adoption of foreign volumes by
227 out-of-process volume monitors (#541793)
229 2008-07-06 David Zeuthen <davidz@redhat.com>
231 * gvolumemonitor.[ch]:
232 * gunionvolumemonitor.c: Export the eject-button signal on the
233 volume monitor class (#541794).
235 2008-07-06 Matthias Clasen <mclasen@redhat.com>
237 * gappinfo.c: More doc tweaks
239 2008-07-05 Matthias Clasen <mclasen@redhat.com>
241 * gappinfo.c: Clarify some docs
243 2008-07-03 Matthias Clasen <mclasen@redhat.com>
245 * gdesktopappinfo.c: Fix a stupid mistake.
247 2008-07-02 Matthias Clasen <mclasen@redhat.com>
249 * === Released 2.17.3 ===
251 2008-07-02 Matthias Clasen <mclasen@redhat.com>
253 * gfilemonitor.c: Fix the build.
255 2008-07-02 Matthias Clasen <mclasen@redhat.com>
257 Bug 536160 – Add g_file_monitor()
260 * gfile.[hc]: Add g_file_monitor which can return either
261 a file or a directory monitor. Proposed by Behdad Esfahbod
263 2008-07-02 Matthias Clasen <mclasen@redhat.com>
265 536733 – gio build failure on Irix
267 * glocalfile.c: Use a configure check for structfs.f_bavail.
269 2008-07-02 Matthias Clasen <mclasen@redhat.com>
271 Bug 534639 – add g_desktop_app_info_new_from_keyfile
274 * gdesktopappinfo.[hc]: Add a function to create a
275 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
277 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
279 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
281 2008-07-01 Matthias Clasen <mclasen@redhat.com>
283 * gunixmounts.c: Fix a doc typo.
285 2008-07-01 Cody Russell <bratsche@gnome.org>
287 * gio/gcontenttype.c:
288 * gio/gwin32appinfo.c:
289 * gio/gwin32volumemonitor.c:
290 * gio/gwin32mount.c: Fixed some include problems.
292 2008-07-01 Cody Russell <bratsche@gnome.org>
296 Moved all relevant typedefs into these files.
299 Updated wrt added files.
301 Split types into separate file for easier maintainership. (#538564)
303 2008-06-30 Matthias Clasen <mclasen@redhat.com>
305 Bug 540331 – g_file_append_to () documentation: can return NULL
307 * gfile.c (g_file_append_to): Clarify docs.
310 2008-06-30 Matthias Clasen <mclasen@redhat.com>
312 Bug 539090 – g_content_type_from_mime_type() should unalias
314 * gcontentype.c (g_content_type_from_mime_type): Unalias.
315 Patch by Markus Bergman
317 2008-06-30 Matthias Clasen <mclasen@redhat.com>
319 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
322 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
323 on ppc and alpha. Reported by Mart Raudsepp
325 2008-06-29 Matthias Clasen <mclasen@redhat.com>
328 * tests/memory-output-stream.c: Add some tests for
331 2008-06-29 Matthias Clasen <mclasen@redhat.com>
333 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
336 * gmemoryoutputstream.c (array_resize): Handle truncation to
337 zero correctly. Reported by Akira Tagoh
339 2008-06-29 Matthias Clasen <mclasen@redhat.com>
341 * gmemoryoutputstream.c: Trivial doc fixes
343 2008-06-29 Matthias Clasen <mclasen@redhat.com>
345 Bug 540802 – g_list_prepend doesn't concat lists
347 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
348 one list to another. Pointed out by Jan Arne Petersen
350 2008-06-28 Michael Natterer <mitch@imendio.com>
352 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
354 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
356 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
357 to avoid problems with partial icon themes.
359 2008-06-17 Hans Breuer <hans@breuer.org>
361 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
362 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
363 access again on win32, see bug #538127
364 * giomodule.c : ensure GWin32VolumeMonitor is registered
365 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
366 * Makefile.am makefile.msc : updated
368 2008-06-16 Hans Breuer <hans@breuer.org>
370 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
371 and initialization in one step avoids c99ism
373 2008-06-16 Christian Persch <chpe@gnome.org>
376 * gio/gbufferedinputstream.c
378 * gio/gdatainputstream.c
379 * gio/gdesktopappinfo.c
381 * gio/gfileenumerator.c
382 * gio/gfileinputstream.c
383 * gio/gfileoutputstream.c
385 * gio/glocaldirectorymonitor.c
387 * gio/glocalfileenumerator.c
388 * gio/glocalfileinfo.c
389 * gio/glocalfilemonitor.c
390 * gio/glocalfileoutputstream.c
391 * gio/gmemoryinputstream.c
392 * gio/gmemoryoutputstream.c
393 * gio/goutputstream.c
394 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
397 2008-06-16 Tor Lillqvist <tml@novell.com>
399 Bug 538362 - Get Win32 icons back in the file chooser
401 * gcontenttype.c (g_content_type_get_icon): Look up the icon
402 corresponding to a file extension in the Registry. Patch by Hans
404 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
406 2008-06-16 Tor Lillqvist <tml@novell.com>
408 Patches by Hans Breuer:
410 * glocalfile.c (is_xp_or_later): Handle compiling against older
411 SDK headers with missing VerifyVersionInfo(). Conditioned on
412 _MSC_VER, but should probably use some better test.
413 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
414 uninitialised statfs_result variable on Win32.
416 2008-06-16 Michael Natterer <mitch@imendio.com>
418 * *.c: chain up unconditionally in finalize() and dispose(). Also
419 don't dereference these function pointers when calling them since
420 that has no meaning at all.
422 2008-06-16 Ross Burton <ross@burtonini.com>
425 Remove check for dispose implementation as it annoys Emmanuele.
427 2008-06-16 Ross Burton <ross@burtonini.com>
429 Bug 536252 – GFileEnumerator should allow access to the containing
435 Add g_file_enumerator_get_container() and a container writeable
436 construct-only property. Also shuffle around typedefs to make it
439 * glocalfileenumerator.c:
440 * glocalfileenumerator.h:
442 Instead of a string filename take a GFile in the constructor and
443 use it to set the container property.
448 2008-06-16 Matthias Clasen <mclasen@redhat.com>
450 * gfile.c: Make includes more uniform
452 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
454 * tests/live-g-file.c (sample_struct):
455 Use less fancy unicode filenames, so the test doesn't fail
456 on Mac OS X (#531476).
458 2008-06-12 Matthias Clasen <mclasen@redhat.com>
460 * === Released 2.17.2 ===
462 2008-06-12 Matthias Clasen <mclasen@redhat.com>
464 * === Released 2.17.1 ===
466 2008-06-11 A. Walton <awalton@gnome.org>
468 * tests/g-file.c (test_g_file_new_null):
469 Fix broken test case.
471 2008-06-11 Matthias Clasen <mclasen@redhat.com>
473 * pltcheck.sh: We use g_clear_error now.
475 2008-06-11 Matthias Clasen <mclasen@redhat.com>
477 * glocalfile.c (g_local_file_enumerate_children): Revert
478 an unintended change.
480 2008-06-11 Matthias Clasen <mclasen@redhat.com>
482 * gfile.c (g_file_replace_contents): Don't unref before the last use.
484 2008-06-10 Matthias Clasen <mclasen@redhat.com>
486 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
489 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
490 as icon for the desktop directory, also make user-home and
491 user-desktop the preferred icons.
493 2008-06-10 Matthias Clasen <mclasen@redhat.com>
496 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
497 to add a name to the front of the list.
499 2008-06-10 Matthias Clasen <mclasen@redhat.com>
501 Bug 537392 – Additional colon in xattr name
503 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
504 too. Reported by Alessandro Morandi
506 2008-06-10 Matthias Clasen <mclasen@redhat.com>
508 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
511 * glocalfile.c (get_fs_type): Add afs and autofs.
512 Patch by Danny Baumann.
514 2008-06-10 Matthias Clasen <mclasen@redhat.com>
516 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
518 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
519 is no parent. (Owen Taylor, patch by Christian Neumair)
521 2008-06-10 Paolo Borelli <pborelli@katamail.com>
523 * gfile.c (g_file_replace_contents): do not leak the output stream.
525 2008-06-10 Michael Natterer <mitch@imendio.com>
527 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
528 uninitialized memory as array index.
530 2008-06-10 Tor Lillqvist <tml@novell.com>
532 * gcontenttype.c (g_content_type_can_be_executable)
533 (g_content_type_get_icon) [Win32]: Add TODO comments.
535 2008-06-09 Matthias Clasen <mclasen@redhat.com>
537 * xdgmime/Makefile.am: Fix the build
539 2008-06-09 Matthias Clasen <mclasen@redhat.com>
541 * gcontenttype.c (g_content_type_get_icon): Use icons specified
542 in the shared mime database, if available.
544 * xdgmime/*: Sync with upstream. This brings support for
545 glob weights, generic icons, and changes the cache format to
548 2008-05-28 Michael Natterer <mitch@imendio.com>
550 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
551 the global CPPFLAGS now.
553 * tests/data-input-stream.c
554 * tests/data-output-stream.c
555 * tests/g-file-info.c
557 * tests/live-g-file.c
558 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
560 2008-05-27 Matthias Clasen <mclasen@redhat.com>
562 * === Released 2.17.0 ===
564 * tests/live-g-file.c: Clean up after the tests, so make distcheck
565 doesn't complain about leftover files.
567 2008-05-27 simon.zheng <simon.zheng@sun.com>
569 * glocalfile.c: (g_local_file_query_filesystem_info):
570 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
572 2008-05-26 Michael Natterer <mitch@imendio.com>
574 * gmemoryoutputstream.h: declare
575 g_memory_output_stream_get_data_size().
577 2008-05-26 Matthias Clasen <mclasen@redhat.com>
579 * tests/*: Make tests work
581 2008-05-26 Matthias Clasen <mclasen@redhat.com>
583 * gio.symbols: Add g_memory_output_stream_get_data_size.
585 2008-05-25 Ross Burton <ross@burtonini.com>
588 Fix typo in error message (#534764).
590 2008-05-25 Ross Burton <ross@burtonini.com>
593 Fix circular dependency loop for gioenumtypes.h (#534759).
595 2008-05-19 Hans Breuer <hans@breuer.org>
597 * Makefile.am : EXTRA_DIST += makefile.msc
599 2008-05-17 Matthias Clasen <mclasen@redhat.com>
602 * gcontenttype.c: (g_content_type_from_mime_type):
603 New function to create a content type from a mime type. (#527175,
606 2008-05-17 Matthias Clasen <mclasen@redhat.com>
608 Bug 532965 – Should not return filesystem::free for certain file systems
610 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
611 free space for ncpfs.
613 2008-05-17 Matthias Clasen <mclasen@redhat.com>
615 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
617 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
618 st_dev might be zero.
620 2008-05-16 Tor Lillqvist <tml@novell.com>
622 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
623 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
625 2008-05-13 Bastien Nocera <hadess@hadess.net>
627 * gfile.c (has_valid_scheme): A URI scheme must start with a
628 letter, even if later more characters are allowed (#532852)
630 2008-05-05 Michael Natterer <mitch@imendio.com>
632 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
633 code from being checked in that breaks the build of applications
634 which use G_DISABLE_SINGLE_INCLUDES.
636 * makegioalias.pl: make the alias file include "glib.h" instead of
639 * gio.symbols: whitespace change to force regeneration of the
640 alias file after above script change.
642 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
644 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
646 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
648 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
650 2008-04-28 David Zeuthen <davidz@redhat.com>
652 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
653 displaying mounts in a subdirectory not accessible to the
656 2008-04-22 Michael Natterer <mitch@imendio.com>
658 * Makefile.am: fix library versioning (it was 0.0.0).
660 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
662 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
663 Default disable all loggings.
664 * fen/fen-kernel.c: (printevent), (port_add_kevent),
665 (port_fetch_event_cb): Fixed two macro nits.
667 2008-04-16 Matthias Clasen <mclasen@redhat.com>
669 * xdgmime/xdgmime.c: Rework the timestamp checking code
670 to protect against duplicate directories in XDG_DATA_DIRS.
671 Fixes fd.o bug 12513, reported by Joe Shaw.
673 2008-04-16 Matthias Clasen <mclasen@redhat.com>
675 Partically revert the last commit after realizing that
676 xdg_mime_media_type_equal doesn't have to init at all.
679 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
681 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
683 2008-04-16 Matthias Clasen <mclasen@redhat.com>
685 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
686 reported by Joe Shaw and Federico Mena Quintero.
688 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
689 (xdg_mime_media_type_equal): Turn into a wrapper around the
692 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
693 functions throughout.
695 2008-04-16 Michael Meeks <michael.meeks@novell.com>
697 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
698 tolerate an empty TryExec= line without failing; nautilus used
699 to create launchers with these in previous versions. Fixes #528433
701 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
703 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
704 after name. Fixes #527132.
706 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
708 * gfile.c: (g_file_replace):
711 2008-04-07 Matthias Clasen <mclasen@redhat.com>
713 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
715 * gfile.c (file_copy_fallback): Fix the argument order. Patch
716 by Christian Kellner.
718 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
720 * gunixmounts.c: (g_unix_mount_guess_should_display):
721 Don't list the user directory as a mount, fix potential issue
722 when other users have a similar naming and don't special case the
723 gvfs mounts there since that's not required (#525866)
725 2008-03-31 Alexander Larsson <alexl@redhat.com>
727 * glocalfile.c (get_parent):
730 2008-03-31 A. Walton <awalton@svn.gnome.org>
732 * gfile.c (g_file_query_file_type):
733 Always return a GFileType enum value (#520715).
735 2008-03-31 Alexander Larsson <alexl@redhat.com>
737 * glocalfileenumerator.c:
738 Read readdir() info in chunks (of 1000) and sort
739 the chunks by inode before stat:ing.
740 This is a 20% performance increase in testing
741 gvfs-ls on /usr/bin with cold cache.
743 2008-03-31 Alexander Larsson <alexl@redhat.com>
745 * gmemoryoutputstream.c:
746 Clarify docs for g_memory_output_stream_get_size.
747 Add g_memory_output_stream_get_data_size.
749 2008-03-30 Matthias Clasen <mclasen@redhat.com>
753 * gfile.h: Add g_file_query_file_type convenience function
754 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
756 2008-03-30 Matthias Clasen <mclasen@redhat.com>
759 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
761 2008-03-28 A. Walton <awalton@svn.gnome.org>
763 * giomodule.c (_g_io_modules_ensure_loaded):
764 Adds GIO_EXTRA_MODULES environment variable support, closing bug
767 2008-03-28 Alexander Larsson <alexl@redhat.com>
770 (copy_stream_with_progress):
773 2008-03-28 Alexander Larsson <alexl@redhat.com>
776 (copy_stream_with_progress):
777 (file_copy_fallback):
778 Fallback to g_file_query_info for source size
779 if g_file_input_stream_query_info fails. (#524579)
781 2008-03-28 Alexander Larsson <alexl@redhat.com>
783 * glocalfile.c (g_local_file_move):
784 Reuse old string instead of adding new one.
786 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
788 * fen/*.[hc]: still copyright issue. I hate copyright.
790 2008-03-27 Alexander Larsson <alexl@redhat.com>
792 * glocalfile.c (g_local_file_move):
793 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
794 file over directory. This is according to the docs and what the move via
795 copy+remove fallback does.
797 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
799 * fen/*.[hc]: Updated copyright.
801 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
803 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
805 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
807 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
808 not emit attribute changed events when optimizing changed events.
809 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
812 2008-03-19 Matthias Clasen <mclasen@redhat.com>
814 * gmountoperation.[hc]: Small documentation additions
816 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
818 * gunixmounts.c: (guess_mount_type):
819 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
821 2008-03-19 Alexander Larsson <alexl@redhat.com>
824 (copy_stream_with_progress):
825 Bump block side for copy to 64k to minimize
826 overhead for low latency links. (#523015)
828 2008-03-16 Tor Lillqvist <tml@novell.com>
830 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
831 depend on gio.def on Windows.
833 2008-03-12 David Zeuthen <davidz@redhat.com>
837 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
839 2008-03-14 Alexander Larsson <alexl@redhat.com>
843 Avoid redudant tests (#521851)
844 Patch from Josselin Mouette
846 2008-03-14 Alexander Larsson <alexl@redhat.com>
849 (g_file_monitor_is_cancelled):
850 Fix C89 issue (#521672)
851 Patch from Jens Granseuer
853 2008-03-14 Alexander Larsson <alexl@redhat.com>
855 * fam/fam-helper.[ch]:
857 Shut down fam (including removing fam GSource) when
858 module is unloaded (#521513)
859 Patch from Joe Marcus Clarke
861 2008-03-14 Alexander Larsson <alexl@redhat.com>
864 (_g_io_modules_ensure_loaded):
867 2008-03-14 Alexander Larsson <alexl@redhat.com>
870 (g_local_file_query_filesystem_info):
871 Use right define name for f_fstypename member check
873 2008-03-14 Alexander Larsson <alexl@redhat.com>
876 * fen/Makefile.am: Added.
877 * fen/fen-data.[ch]: Added.
878 * fen/fen-dump.[ch]: Added.
879 * fen/fen-helper.[ch]: Added.
880 * fen/fen-kernel.[ch]: Added.
881 * fen/fen-missing.[ch]: Added.
882 * fen/fen-node.[ch]: Added.
883 * fen/fen-sub.[ch]: Added.
884 * fen/gfendirectorymonitor.[ch]: Added.
885 * fen/gfenfilemonitor.[ch]: Added.
887 Added Solaris FEN file notification backend.
888 Patch from Lin Ma <Lin.Ma@Sun.COM>
890 2008-03-13 Tor Lillqvist <tml@novell.com>
892 * Makefile.am: Actually use the gio.def file when linking the
893 library on Windows. Produce .lib library for Microsoft's toolchain
894 when possible. Install the .lib and .def file like for the other
897 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
899 * tests/live-g-file.c:
900 Include live-g-file in standard set of tests, making a temporary
901 directory in source structure.
903 Clean target directory before the tests (write mode only)
905 2008-03-12 Tor Lillqvist <tml@novell.com>
907 Bug 517419 - gio win32 directory monitor
908 Implementation by Vlad Grecescu.
911 * win32/gwin32directorymonitor.h
912 * win32/gwin32directorymonitor.c: New files.
914 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
916 * Makefile.am: Add the win32 subdirectory.
918 2008-03-12 Tor Lillqvist <tml@novell.com>
920 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
921 normal struct stat on Unix but struct _stati64 on Windows to have
922 access to 64-bit file size information. Use that instead of struct
923 stat in the functions declared here in this private header.
925 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
926 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
927 warnings about unused functions and variables. Don't set
928 meaningless attributes like inode numbers on Windows.
930 2008-03-12 Benjamin Otte <otte@gnome.org>
933 trim whitespace so gtk-doc groks the function name
935 2008-03-12 Tor Lillqvist <tml@novell.com>
937 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
938 returning FALSE, on Win32.
940 2008-03-11 Alexander Larsson <alexl@redhat.com>
943 * glocalfileinfo.[ch]:
944 Correctly implement can_trash by actually
945 looking for a trash dir, not just assuming
948 2008-03-10 Matthias Clasen <mclasen@redhat.com>
950 * === Released 2.16.1 ===
952 2008-03-11 Alexander Larsson <alexl@redhat.com>
955 Fix crashes in new constructor and properties code
957 2008-03-10 Murray Cumming <murrayc@murrayc.com>
959 * gfile.c: Minor spelling correction in documentation:
960 existance -> existence.
962 2008-03-10 Matthias Clasen <mclasen@redhat.com>
964 * === Released 2.16.0 ===
966 2008-03-10 Matthias Clasen <mclasen@redhat.com>
968 * gio.symbols: Remove g_file_contains_file here, too.
970 2008-03-10 Matthias Clasen <mclasen@redhat.com>
972 * gthemedicon.c: Add properties to make bindings happy. (#517676,
973 Samuel Cormier-Iijima)
975 2008-03-08 Tor Lillqvist <tml@novell.com>
977 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
980 2008-03-07 Alexander Larsson <alexl@redhat.com>
983 (g_local_file_query_filesystem_info):
984 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
985 Patch from Jasper Lievisse Adriaanse
987 2008-03-06 Tor Lillqvist <tml@novell.com>
989 * gfileinfo.h: Correct milliseconds to microseconds in the doc
990 comments for the *_USEC attributes.
992 2008-03-06 Alexander Larsson <alexl@redhat.com>
994 * gfile.c (g_file_query_exists):
995 Add g_return_val_if_fail check (#520700)
997 2008-03-06 Alexander Larsson <alexl@redhat.com>
1002 * gunionvolumemonitor.c:
1005 * tests/live-g-file.c:
1006 * xdgmime/xdgmimecache.c:
1007 Fix sparse warnings (#519489)
1009 2008-03-05 Alexander Larsson <alexl@redhat.com>
1012 Make cancellation threadsafe (i.e.
1013 guarantee its only done once, and always
1016 * glocaldirectorymonitor.c:
1017 Make sure we the monitor lives while the
1018 mounts_changed callback is being called (#520484)
1020 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1022 * gbufferedinputstream.c: Fix typo in parameter
1025 2008-03-04 Alexander Larsson <alexl@redhat.com>
1028 Remove deprecated symbols we kept for one release.
1030 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1033 * goutputstream.c: Tiny documentation corrections.
1035 2008-03-03 Alexander Larsson <alexl@redhat.com>
1037 * gunionvolumemonitor.c:
1039 Fix the adopt_orphan_mount vfunc to take a
1040 volume_monitor reference in an ABI compat way.
1041 This change is not API compat, but the added
1042 arg is not used in the only user of this vfunc, so
1043 all we get is a harmless warning in gvfs (#520169)
1045 2008-03-01 Benjamin Otte <otte@gnome.org>
1048 clarify docs for g_file_delete().
1050 2008-02-29 Alexander Larsson <alexl@redhat.com>
1054 Make sure empty files get text/plain type (#518720)
1056 2008-02-27 Alexander Larsson <alexl@redhat.com>
1062 (g_unix_volume_mount):
1063 Add missing GMountMountFlags argument
1065 2008-02-26 Alexander Larsson <alexl@redhat.com>
1068 (g_local_file_delete):
1069 Handle filesystems (like ntfs-3g) that return EEXIST instead
1070 of ENOTEMPTY (#518816)
1072 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1074 * === Released 2.15.6 ===
1076 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1078 * gfile.c (g_file_find_enclosing_mount):
1079 * ginputstream.c (g_input_stream_set_pending):
1080 * glocalfile.c (g_local_file_find_enclosing_mount):
1081 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1082 * goutputstream.c (g_output_stream_set_pending):
1084 Fixup translator comments (#518578).
1086 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1088 * gfile.c (g_file_find_enclosing_mount):
1090 * glocalfile.c (g_local_file_find_enclosing_mount):
1093 Fix a few typos in translator comments and documentation.
1095 2008-02-25 Alexander Larsson <alexl@redhat.com>
1102 Add translator comments (#518578)
1104 2008-02-25 Alexander Larsson <alexl@redhat.com>
1107 Reintroduce g_file_contains_file, keep around for one
1108 unstable release cycle to avoid crashing to many apps.
1109 Make sure to delete after release.
1111 2008-02-25 Alexander Larsson <alexl@redhat.com>
1114 Remove deprecated g_file_contains_file.
1116 2008-02-25 Alexander Larsson <alexl@redhat.com>
1119 Emit actual change signals in an idle handler.
1120 This avoids reentrance and locking problems in
1121 the file notification backends.
1123 2008-02-25 Alexander Larsson <alexl@redhat.com>
1126 (g_unix_mount_guess_should_display):
1127 Remove type guessing, instead just display
1128 mounts in /media and in ~/.
1130 2008-02-25 Alexander Larsson <alexl@redhat.com>
1133 Make new strings reuse old ones.
1135 2008-02-25 Alexander Larsson <alexl@redhat.com>
1138 Implement trashing and filesystem::readonly for win32 (#517235)
1139 Patch from Yevgen Muntyan
1141 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1143 * gfileinfo.h: Documentation fixes.
1145 2008-02-22 Alexander Larsson <alexl@redhat.com>
1147 * gcontenttype.c (g_content_type_get_icon):
1148 Look at old-style gnome mime icon names too, as many
1149 have not moved to the new style.
1151 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1153 * *.c: Correct the @include in for section docs.
1155 2008-02-21 David Zeuthen <davidz@redhat.com>
1157 * glocalfileinfo.c: (_g_local_file_info_get):
1159 (g_content_type_get_icon): Implement this function by
1160 moving bits from glocalfileinfo.c
1161 (g_content_type_get_description): Unalias before getting
1162 description (#517687)
1164 * gfile.c: (g_file_class_init),
1165 (g_file_query_filesystem_info_async),
1166 (g_file_query_filesystem_info_finish),
1167 (query_filesystem_info_data_free),
1168 (query_filesystem_info_async_thread),
1169 (g_file_real_query_filesystem_info_async),
1170 (g_file_real_query_filesystem_info_finish):
1171 * gfile.h: Implement async version of
1172 g_file_query_filesystem_info()
1174 * gfileinfo.h: Add new attributes for filesystem::use-preview
1176 * gio.symbols: Update
1178 * gthemedicon.c: (g_themed_icon_append_name):
1179 * gthemedicon.h: Add new new convenience function.
1181 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1182 (get_mounts), (get_volumes), (get_connected_drives),
1183 (get_volume_for_uuid), (get_mount_for_uuid),
1184 (g_union_volume_monitor_init), (populate_union_monitor),
1185 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1186 (g_volume_monitor_adopt_orphan_mount):
1188 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1189 monitor implementations to call into the main volume monitor. Also
1190 separate object initialization and volume monitor initialization
1191 such that non-native volume monitors can properly adopt their
1194 2008-02-21 Alexander Larsson <alexl@redhat.com>
1199 2008-02-21 Alexander Larsson <alexl@redhat.com>
1202 Add more documentation about how GFiles work (from #517086)
1204 2008-02-21 Alexander Larsson <alexl@redhat.com>
1208 Add new g_file_has_prefix that does the same as g_file_contains_file.
1209 Deprecate g_file_contains_file and add a macro that converts
1210 it to g_file_has_prefix.
1211 The reason for this change is that the contains_file() name seems to
1212 imply that this does more work than what it does, but its really only
1213 a name match (from #517086)
1218 Update to match the above change.
1220 2008-02-20 Benjamin Otte <otte@gnome.org>
1222 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1223 (g_file_eject_mountable):
1224 even more cases of not returning in error path
1226 2008-02-20 Benjamin Otte <otte@gnome.org>
1228 * gfile.c: (g_file_mount_mountable):
1229 return from function in error path.
1231 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1234 Remove trailing coma in GMountMountFlags struct
1236 2008-02-18 Alexander Larsson <alexl@redhat.com>
1240 * glocalfileoutputstream.c:
1241 Use g_unlink/g_rename instead of unlink/rename;
1242 do not pass raw filenames to g_set_error. (#517239)
1243 Patch from Yevgen Muntyan.
1245 2008-02-18 Alexander Larsson <alexl@redhat.com>
1248 * glocalfileoutputstream.c:
1249 Open files with O_BINARY on windows. (#517140)
1251 2008-02-14 Alexander Larsson <alexl@redhat.com>
1253 * glocalfileoutputstream.c:
1254 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1256 2008-02-14 Alexander Larsson <alexl@redhat.com>
1259 Copy permissions with file on copy (#514084)
1260 This is what cp does and makes sure e.g. the
1261 exec permissions are kept.
1262 Its kinda weird in that it keeps the permission bits
1263 the same while the uid and gid are different. However
1264 the new uid is the user so its not a security issue,
1265 and I've heard no complaints about cp on this issue.
1267 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1269 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1271 2008-02-13 Alexander Larsson <alexl@redhat.com>
1273 * inotify/inotify-path.c:
1274 Define IN_ONLYDIR if not in header (#515346)
1276 2008-02-12 Alexander Larsson <alexl@redhat.com>
1278 * tests/live-g-file.c:
1281 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1283 * === Released 2.15.5 ===
1285 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1287 * gio.symbols: Add g_mount_mount_flags_get_type.
1289 2008-02-11 Alexander Larsson <alexl@redhat.com>
1292 (g_file_info_set_attribute_mask):
1293 (g_file_attribute_matcher_matches_id):
1294 Correctly handle NULL GAttributeMatcher meaning
1295 matches nothing. (Fixes #513492)
1297 2008-02-11 Alexander Larsson <alexl@redhat.com>
1302 Added GMountMountFlags enum and added a flags
1303 argument to all mount calls.
1305 This is an API/ABI change for future extensibility,
1306 as I think we will need at least an
1307 inhibit-autorun flag (the panel needs this).
1308 There are no flags defined yet though.
1310 2008-02-11 Alexander Larsson <alexl@redhat.com>
1313 Added new standard::description attribute.
1314 Requested by Vincent, and useful for both
1317 2008-02-11 Alexander Larsson <alexl@redhat.com>
1319 * gdesktopappinfo.c:
1322 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1324 * *.c: Documentation additions
1326 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1328 * gappinfo.h: Formatting cleanup
1329 * gappinfo.c: Fix up docs.
1331 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1333 * gunixmounts.c: Consistently use getmntent_r() and fall
1334 back to getmntent(). (#515492)
1336 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1338 * gbufferedinputstream.c:
1340 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1342 * tests/data-input-stream.c:
1343 * tests/data-output-stream.c: Portability fixes.
1345 2008-02-08 Alexander Larsson <alexl@redhat.com>
1350 Add g_volume_should_automount.
1353 2008-02-07 Tor Lillqvist <tml@novell.com>
1355 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1356 Win32, too Unix-specific.
1358 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1360 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1361 a local plt if the compiler doesn't support what we want. Bug #514702
1363 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1365 reviewed by: <delete if not using a buddy>
1368 * gunixinputstream.c:
1369 * gunixoutputstream.c:
1371 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1373 * tests/Makefile.am:
1374 * tests/live-g-file.c:
1375 * tests/live-g-file.txt:
1376 New GIO testing module working over real data
1378 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1380 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1381 Fallback to rename() if link() is not available
1382 (when no support on target filesystem)
1384 2008-02-06 Michael Natterer <mitch@imendio.com>
1386 * gfileinfo.c (g_file_info_get_icon): replace
1387 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1389 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1391 * gfile.c (g_file_create):
1392 Documentation update of error codes
1394 2008-02-06 Alexander Larsson <alexl@redhat.com>
1396 * gdesktopappinfo.c:
1397 Update to use both mimeapps.list and
1398 defaults.list as discussed on xdg list.
1400 2008-02-06 Benjamin Otte <otte@gnome.org>
1403 * gfilenamecompleter.c:
1404 Fix some typos in the documentation.
1406 2008-02-06 Alexander Larsson <alexl@redhat.com>
1408 * glocalfile.c (g_local_file_trash):
1409 Don't succeed with trash if newly created
1410 trash dir has the wrong owner. (#514696)
1412 2008-02-05 Alexander Larsson <alexl@redhat.com>
1414 * glocalfile.c (g_local_file_move):
1415 Don't spew warnings when destination is not
1418 2008-02-03 Hans Breuer <hans@breuer.org>
1420 * makefile.msc : update
1422 2008-02-01 Michael Natterer <mitch@imendio.com>
1424 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1425 return value of xdg_mime_list_mime_parents() to a variable of the
1428 2008-02-01 Alexander Larsson <alexl@redhat.com>
1430 * gappinfo.c (g_app_info_launch_uris):
1431 Actually call the launch_uris method, not
1434 2008-02-01 Alexander Larsson <alexl@redhat.com>
1436 * gdesktopappinfo.c (g_desktop_app_info_equal):
1437 Ensure appinfos with no id but same pointer value
1440 2008-02-01 Alexander Larsson <alexl@redhat.com>
1442 * gappinfo.c (g_app_info_launch_default_for_uri):
1445 2008-02-01 Alexander Larsson <alexl@redhat.com>
1449 Add g_app_info_launch_default_for_uri utility
1452 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1454 * gdesktopappinfo.c:
1455 Doc fix for g_app_info_get_default_for_uri_scheme ()
1458 2008-01-30 Alexander Larsson <alexl@redhat.com>
1461 Add doc comment about uris vs GFiles to
1464 * gdesktopappinfo.c:
1465 Ensure uris passed to g_app_info_launch_uris()
1466 are not roundtriped through GFile (as that
1467 may be slightly destructive for e.g. mailto: links)
1469 2008-01-30 Alexander Larsson <alexl@redhat.com>
1471 * tests/data-input-stream.c:
1472 * tests/data-output-stream.c:
1473 C89 fixes from Jens Granseuer (#512849)
1475 2008-01-30 Alexander Larsson <alexl@redhat.com>
1478 Fix gamin/fam difference build issue. (#509419)
1480 2008-01-29 Alexander Larsson <alexl@redhat.com>
1483 * gdesktopappinfo.c:
1484 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1486 2008-01-29 Alexander Larsson <alexl@redhat.com>
1488 * gdesktopappinfo.c:
1489 * gdesktopappinfo.h:
1490 giomodule-priv.h include moved to .c file.
1492 2008-01-29 Alexander Larsson <alexl@redhat.com>
1494 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1495 Remove unused prio/name fields.
1497 2008-01-29 Alexander Larsson <alexl@redhat.com>
1499 * gcontenttype.c (looks_like_text):
1500 Don't treat whitespace as control chars.
1502 2008-01-29 Alexander Larsson <alexl@redhat.com>
1504 * gdesktopappinfo.c:
1505 Lazily create the desktop files for appinfos created
1506 by g_app_info_create_from_commandline() when needed
1507 for mime associations. This allows run-time use
1508 of GAppInfo object without creating unnecessary
1511 2008-01-29 Alexander Larsson <alexl@redhat.com>
1514 Added new symbols to gio.symbols
1516 2008-01-29 Alexander Larsson <alexl@redhat.com>
1519 Add g_file_query_default_handler utility to easily look up
1520 the GAppInfo that handles a file.
1522 * gdesktopappinfo.[ch]:
1524 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1527 Remove unused function
1529 2008-01-29 Alexander Larsson <alexl@redhat.com>
1531 * gfileenumerator.c:
1532 Mention need to free returned value in
1533 g_file_enumerator_next_files_finish docs.
1534 Fix leak if g_file_enumerator_next_files_finish()
1537 2008-01-29 Alexander Larsson <alexl@redhat.com>
1540 (_g_unix_content_type_get_parents):
1541 Use list_parents, not get_parents from xdgmime, because
1542 the later doesn't use the cache.
1544 * xdgmime/xdgmimecache.c:
1545 (_xdg_mime_cache_list_mime_parents):
1546 Don't list the same type as parent multiple times.
1548 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1550 * === Released 2.15.4 ===
1552 2008-01-28 Alexander Larsson <alexl@redhat.com>
1555 Register local vfs with prio 0.
1558 Remove old name and prio class members
1560 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1562 * tests/g-file.c: Disable some tests that are failing in
1563 the absence of a http backend.
1565 2008-01-28 Alexander Larsson <alexl@redhat.com>
1569 Add registration hooks for extension points.
1570 Register the gio extension points.
1572 * fam/gfamdirectorymonitor.c:
1573 * fam/gfamfilemonitor.c:
1574 * glocaldirectorymonitor.[ch]:
1575 * glocalfilemonitor.[ch]:
1576 * gnativevolumemonitor.h:
1577 * gunionvolumemonitor.c:
1578 * gunixvolumemonitor.c:
1581 * inotify/ginotifydirectorymonitor.c:
1582 * inotify/ginotifyfilemonitor.c:
1583 Use the extension points registration instead
1584 of g_type_children().
1586 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1589 * gvolume.[hc]: Document new API.
1591 * gfile.c (g_file_copy_async): Fix docs
1593 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1595 * gbufferedinputstream.c:
1597 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1600 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1602 * glocalfile.c: Avoid trivial differences in translatable strings.
1604 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1606 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1607 build with gcc 3.4 (#509419)
1609 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1611 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1612 (#509994, Murray Cumming)
1614 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1616 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1617 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1618 this allows big jobs to be executed in chunks, instead of blocking
1619 the main loop for a long time.
1621 * gsimpleasyncresult.c:
1622 * giofile.c: Adapt callers.
1624 2008-01-25 Alexander Larsson <alexl@redhat.com>
1626 * gdesktopappinfo.c:
1627 Implement changes discussed on xdg list.
1628 Now we can add supported mimetypes by just using defaults.list
1629 We can also remove associations in defaults.list.
1631 2008-01-25 Alexander Larsson <alexl@redhat.com>
1633 * gdesktopappinfo.c:
1634 Don't make local copy of desktop file
1635 for mimetype changes if the file already
1636 supports the new mimetype.
1638 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1642 * gbufferedinputstream.c:
1643 * glocalfile.c: String improvements. (#511966,
1644 Theppitak Karoonboonyanan)
1646 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1648 * gioscheduler.h: Expand docs a bit.
1650 2008-01-24 Alexander Larsson <alexl@redhat.com>
1653 Add g_drive_get_identifier and
1654 g_drive_enumerate_identifiers
1657 Add g_volume_get_identifier and
1658 g_volume_enumerate_identifiers
1664 Implement identifiers for unix backend
1666 2008-01-24 Alexander Larsson <alexl@redhat.com>
1671 Add g_file_copy_async() (#511580)
1672 Based on patch from Carlos Garcia Campos
1674 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1676 * gioscheduler.c: Some documentation additions.
1678 2008-01-22 Alexander Larsson <alexl@redhat.com>
1680 * gdesktopappinfo.c:
1681 (g_desktop_app_info_new):
1682 Don't leak basename.
1684 2008-01-22 Alexander Larsson <alexl@redhat.com>
1686 * gdesktopappinfo.c:
1687 (g_desktop_app_info_new_from_filename):
1690 2008-01-22 Alexander Larsson <alexl@redhat.com>
1692 * glocalfileinfo.c (get_thumbnail_attributes):
1695 2008-01-22 Alexander Larsson <alexl@redhat.com>
1698 (canonicalize_filename):
1699 Canonicalize paths that start with more than
1703 (compare_two_files):
1704 (test_g_file_new_for_path):
1707 2008-01-22 Alexander Larsson <alexl@redhat.com>
1710 Allow UTF-8 in file:// parse names.
1712 * tests/Makefile.am:
1713 * tests/data-input-stream.c:
1714 * tests/data-output-stream.c:
1715 * tests/g-file-info.c:
1717 Added a bunch of tests from Tomas Bzatek
1719 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1721 * === Released 2.15.3 ===
1723 2008-01-21 Alexander Larsson <alexl@redhat.com>
1725 * gfileinputstream.[ch]:
1726 * gfileoutputstream.[ch]:
1728 Remove duplicated GSeekable functions. (#509990)
1729 Just use the g_seekable_xxx() calls instead.
1731 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1734 * gvolumemanager.c: Whitespace cleanups.
1736 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1737 Use the right mode when creating the file.
1739 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1741 * gfileenumerator.c:
1742 * gfileinputstream.c:
1744 * goutputstream.c: Documentation: Fixed minor typos
1745 and added more mentions of specific _finish() functions.
1747 2008-01-21 Alexander Larsson <alexl@redhat.com>
1749 * inotify/Makefile.am:
1750 * inotify/inotify-helper.c:
1751 * inotify/inotify-kernel.c:
1752 * inotify/inotify-path.c:
1753 * inotify/local_inotify.h: Removed.
1754 * inotify/local_inotify_syscalls.h: Removed.
1755 Removed the included copies of the inotify
1756 headers. We now only use the <sys/inotify.h>
1757 header which exists on modern systems.
1758 This fixes problems on ARM and SH5 (#510448)
1759 but is also generally much cleaner and future
1760 safe. For instance, if other OSes add support
1761 for inotify it should "just work".
1763 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1765 * inotify/*.c: Coding style fixes.
1766 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1767 for the 1/4 Hz timer.
1769 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1772 * gfilemonitor.[hc]:
1773 * gmemoryinputstream.c:
1774 * gmemoryoutputstream.c:
1775 * gmountoperation.c:
1776 * gthemedicon.c: Documentation updates
1778 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1780 * gfile.c: documentation: Fixed more minor
1783 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1785 * gmount.c: (g_mount_remount): documentation:
1786 Mention g_mount_remount_finish() instead of
1787 g_mount_unmount_finish().
1789 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1793 * gfile.c: Fixed some minor typos in the
1796 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1798 * gio/gvolumemonitor.c:
1799 (g_volume_monitor_get_connected_drives):
1800 (g_volume_monitor_get_volumes):
1801 (g_volume_monitor_get_mounts): Documentation:
1802 Clarify the ownership of the regurn GLists.
1804 2008-01-17 Alexander Larsson <alexl@redhat.com>
1807 Add the async find_enclosing_mount version
1808 to the header file too.
1810 2008-01-17 Alexander Larsson <alexl@redhat.com>
1813 Add async version of find_enclosing_mount
1814 with default implementation.
1816 2008-01-17 Alexander Larsson <alexl@redhat.com>
1821 Allow calls to implementation of copy and write
1822 even if the type of the file implementations is
1823 different. This can be used to implement native
1824 upload and download calls in a vfs.
1827 (g_local_file_move):
1828 Protect against the case where move is called
1829 with one file not being local.
1831 Make sure we call the progress callback once
1832 in the native move operation so that the caller
1833 knows how many bytes were copied.
1835 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1838 * gdatainputstream.c:
1840 * gfileoutputstream.c:
1845 * gunixmounts.c: Corrected some typos in the documentation:
1846 occured -> occurred.
1847 its -> it's (where appropriate).
1849 2008-01-16 Alexander Larsson <alexl@redhat.com>
1853 Add g_file_query_exists (#508771)
1855 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1860 * gvolume.c: For async functions that have no non-async
1861 version, document that the GAsyncReadyCallback may be NULL.
1864 2008-01-15 Alexander Larsson <alexl@redhat.com>
1866 * gmemoryinputstream.c:
1867 * gmemoryoutputstream.c:
1868 Don't do pointer arithmetic on void * (#508602)
1869 Patch from Kazuki IWAMOTO
1871 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1873 * === Released 2.15.2 ===
1875 2008-01-14 Alexander Larsson <alexl@redhat.com>
1877 * gfile.c (g_file_monitor_file):
1878 Don't set error here, since we fallback to polling monitor.
1880 2008-01-14 Alexander Larsson <alexl@redhat.com>
1883 (g_file_monitor_directory):
1884 (g_file_monitor_file):
1885 Add GError to file monitor calls
1887 * glocaldirectorymonitor.c:
1888 * glocaldirectorymonitor.h:
1890 * glocalfilemonitor.c:
1891 * glocalfilemonitor.h:
1893 Update for above change
1895 2008-01-14 Alexander Larsson <alexl@redhat.com>
1899 Handle root correctly in g_file_get_relative_path (#508719)
1901 2008-01-14 Alexander Larsson <alexl@redhat.com>
1904 Clean up docs and example for GAsyncResult (#508074)
1906 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1908 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1909 and correct some spelling mistakes. Bug #508108.
1911 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1913 * glocalfileinfo.c: Add a comment.
1915 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1917 * gfileinfo.c: GFileInfo description: Mention
1918 how to actually set attributes in a GFile and how to discover
1919 which attributes are settable. Bug #508378.
1921 2008-01-10 A. Walton <awalton@svn.gnome.org>
1923 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1924 (g_app_info_get_default_for_type):
1925 Check for NULL content types.
1927 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1929 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1931 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1933 * gfile.c: *_async() functions: Several small corrections
1934 to the documentation, mostly correcting copy/paste errors
1935 and improving some sentences.
1937 2008-01-09 Dan Winship <danw@gnome.org>
1939 * glocalfile.c (get_unique_filename): x86_64 fix
1941 2008-01-09 Alexander Larsson <alexl@redhat.com>
1946 Add g_unix_mount_guess_should_display and use
1947 for unix volume monitor backend.
1948 This means we more or less show what the
1949 gnome-vfs backend did.
1950 Based on patch from Padraig O'Briain
1952 2008-01-09 Alexander Larsson <alexl@redhat.com>
1956 Add g_themed_icon_new_with_default_fallbacks
1959 Use default fallbacks for icons
1961 2008-01-09 Alexander Larsson <alexl@redhat.com>
1964 * gmountoperation.[ch]:
1965 Change the API a bit so that unhandled methods
1966 get reported via the reply, rather than by
1967 the signal emission return value. This is because
1968 some handlers can't know this immediately without
1969 doing I/O, and this is an async operation that
1972 2008-01-09 Alexander Larsson <alexl@redhat.com>
1975 * fam/gfamdirectorymonitor.c:
1976 * fam/gfamfilemonitor.c:
1977 Fix double free crash (#508224)
1978 Patch from Joe Marcus Clarke
1980 008-01-07 Matthias Clasen <mclasen@redhat.com>
1982 * === Released 2.15.1 ===
1984 2008-01-07 Alexander Larsson <alexl@redhat.com>
1986 * gunixinputstream.c (g_unix_input_stream_skip_finish):
1987 Fix warning (#507835)
1989 2008-01-07 Alexander Larsson <alexl@redhat.com>
1992 Pass --internal to glib-genmarshal
1995 * gmountoperation.c:
1997 Use better types for signal arguments (#507822)
1999 2008-01-07 Alexander Larsson <alexl@redhat.com>
2002 Build test subdir after .
2003 Remove gdirectorymonitor.[ch]
2005 * gdirectorymonitor.[ch]:
2009 Remove GDirectoryMonitor and make
2010 GFileMonitor the baseclass for both file and
2011 directory monitors. Lift the more generic
2012 rate limiting code from GDirectoryMonitor
2016 * fam/gfamdirectorymonitor.[ch]:
2017 * inotify/ginotifydirectorymonitor.[ch]:
2018 * inotify/inotify-helper.c:
2019 * glocaldirectorymonitor.[ch]:
2022 Update for the removed GDirectoryMonitor.
2024 * gmemoryoutputstream.c:
2025 Remove ununsed variable
2027 2008-01-07 Alexander Larsson <alexl@redhat.com>
2029 * gmemoryinputstream.c:
2030 Translate error strings
2033 * gmemoryoutputstream.[ch]:
2034 New implementation that avoids using GByteArray
2035 in implementation and API. (#506377)
2037 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2039 * tests/*: Add a test for memory input streams.
2041 * Makefile.am: Add tests to SUBDIRS.
2043 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2045 * glocalfilemonitor.c:
2046 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2049 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2051 * gdesktopappinfo.c: Fix a docs typo.
2053 * gfileattribute.c: Add information about extended attributes
2054 to the documentation. (#505058)
2056 2008-01-04 Alexander Larsson <alexl@redhat.com>
2059 * gmountoperation.c:
2060 Use the right type (uint) for the ask_password signal.
2062 2008-01-04 Alexander Larsson <alexl@redhat.com>
2067 Add g_app_info_supports_files()
2068 Remove desktop arg from g_app_info_should_show().
2070 * gdesktopappinfo.[ch]:
2071 Implement g_app_info_supports_files() and new should_show()
2072 Add g_desktop_app_info_set_desktop_env() to set the desktop
2073 for should_show(). (This will be set by gtk+ later)
2075 2008-01-04 Alexander Larsson <alexl@redhat.com>
2078 * gmemoryinputstream.[ch]:
2079 Improve API so that you can use multiple chunks
2080 of memory and custom destroy functions. (#506374)
2082 2008-01-03 Alexander Larsson <alexl@redhat.com>
2085 Handle NULL attribute matchers safely, as we return this
2086 for empty attribute matcher strings.
2088 2008-01-03 Alexander Larsson <alexl@redhat.com>
2090 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2091 Add /usr/local to list of internal mountpoints
2093 2008-01-03 Alexander Larsson <alexl@redhat.com>
2096 Check for HAVE_LCHOWN (#505887)
2098 2008-01-03 Alexander Larsson <alexl@redhat.com>
2102 Add define for selinux context attribute.
2103 Fix missing : -> :: namespace separator change
2104 Fix missing _ -> - name change for xattr-sys.
2107 2008-01-03 Alexander Larsson <alexl@redhat.com>
2110 Link to libglib and libgobject directly (#504879)
2111 Patch from Sebastien Bacher
2113 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2115 * gfile.c: Expanded the g_file_new_for_commandline_arg
2116 description a bit, based on the code and the docs of the
2117 other g_file_new_for_* functions.
2119 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2121 * gfilemonitor.h: Fixed typo in docs.
2123 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2125 Updates to GIO documentation. (#506395, Mikael Hermansson)
2127 * gcontenttype.c: Describe memory management for return value of
2128 g_content_types_get_registered(). Missing piece from #505815.
2129 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2130 GVolume, GDrive, GMounts, which hopefully gives the user less
2131 confusions when using this API. Following explainations from
2132 Alexander Larsson on gtk-devel-list.
2134 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2136 * gfileinfo.c: Expand the long description.
2138 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2141 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2142 fix builds with --disable-visibility. (#500273, Christian Persch)
2144 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2146 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2147 in the list of returned app infos.
2149 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2151 * gappinfo.c: Fix a cross-reference
2153 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2155 * gfileinputstream.c:
2156 * gfileoutputstream.c:
2160 * gdesktopappinfo.c:
2162 * gfileinfo.c: Documentation updates.
2164 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2166 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2169 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2171 * gcontenttype.c (g_content_types_get_registered): Don't return
2172 freed memory (#505815, Mikael Hermansson)
2174 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2176 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2177 used to detect statbuf->st_blocks. (#505042)
2179 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2181 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2182 environment handling. (#504829, Cosimo Cecchi)
2184 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2186 * gappinfo.c: Doc improvements
2188 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2191 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2193 * === Released 2.15.0 ===
2195 2007-12-20 Hans Breuer <hans@breuer.org>
2197 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2198 with symbols gwin32appinfo.obj, added gmount.obj
2199 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2201 2007-12-20 Alexander Larsson <alexl@redhat.com>
2207 * gfilenamecompleter.c:
2210 * gpollfilemonitor.c:
2211 File attribute renames:
2213 fs:: -> filesystem::
2214 id::fs -> id::filesystem
2216 2007-12-20 Alexander Larsson <alexl@redhat.com>
2225 Add GMountUnmountFlags to all unmount and
2227 Add g_mount_remount() call.
2229 2007-12-20 Alexander Larsson <alexl@redhat.com>
2231 * gvfs.c (get_default_vfs):
2232 Fix unused variable warning
2234 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2236 * pltcheck.sh: Update
2238 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2240 * gunionvolumemonitor.c:
2241 * gunixmount.c: Remove C99 comments
2243 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2245 * gio.symbols: Add some missing symbols
2247 2007-12-19 Alexander Larsson <alexl@redhat.com>
2250 Make g_io_modules_load_all_in_directory not unuse
2251 loaded modules so that users of it can do stuff
2253 Init internal "module" types.
2254 Initialize static prio and name for types so that
2255 we don't have to load modules to get it.
2257 * gnativevolumemonitor.h:
2259 Move is_supported to parent class so that
2260 non-native monitors can avoid being initialized
2261 too. (For instance GDaemonVolumeMonitor if we're
2262 not using GDaemonVfs.)
2264 * glocaldirectorymonitor.[ch]:
2265 * glocalfilemonitor.[ch]:
2266 * gunionvolumemonitor.c:
2267 * gunixvolumemonitor.c:
2269 Find plugins using the static prio+name to
2270 avoid unnecessarily loading the modules.
2272 2007-12-19 Alexander Larsson <alexl@redhat.com>
2277 2007-12-19 Alexander Larsson <alexl@redhat.com>
2279 * gunionvolumemonitor.c:
2280 Store the native type as GType, not class so that
2281 we can unload it. But still avoid unnecessarily
2284 2007-12-19 David Zeuthen <davidz@redhat.com>
2286 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2287 add signals 'disconnected' and 'eject-button' on GDrive. Add
2288 signal 'removed' on GVolume and 'unmounted' on GMount.
2290 * gdrive.c: (g_drive_base_init):
2292 * gfile.c: (g_file_mount_mountable),
2293 (g_file_mount_enclosing_volume):
2296 * gmount.c: (g_mount_base_init):
2298 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2299 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2300 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2304 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2306 * *.c: Fix up includes in the section docs.
2308 2007-12-17 Alexander Larsson <alexl@redhat.com>
2310 * gnativevolumemonitor.h:
2311 * gunionvolumemonitor.c:
2312 * gunixvolumemonitor.c:
2313 Add is_supported() to GNativeVolumeMonitorClass so
2314 that we can avoid having to create an object to see
2315 if the backend is supported at runtime.
2316 Also add name member and an env var to pick a specific
2317 volume monitor backend.
2321 Add cancellable to _g_mount_get_for_mount_path()
2323 * glocaldirectorymonitor.c:
2324 * glocalfilemonitor.c:
2325 Avoid loading and unloading modules while sorting.
2327 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2330 * gunixmounts.[hc]: Namespace waste reduction, move some
2331 g_get_unix_mount functions to the g_unix_mount namespace.
2334 * gunixvolumemonitor.c:
2336 * glocaldirectorymonitor.c: Update all callers.
2338 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2340 2007-12-17 Alexander Larsson <alexl@redhat.com>
2343 Add doc comments about what GFile operations are
2344 guaranteed to not block.
2346 2007-12-17 Alexander Larsson <alexl@redhat.com>
2349 Add missing #ifdef fixing OSX build.
2350 (#503334, patch from Richard Hult)
2352 2007-12-14 David Zeuthen <davidz@redhat.com>
2356 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2357 (g_mount_eject), (g_mount_eject_finish):
2359 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2360 (get_volume_for_uuid), (get_mount_for_uuid),
2361 (g_union_volume_monitor_class_init),
2362 (get_default_native_type_with_exclude), (get_default_native_type),
2363 (get_native_type), (update_native_type),
2364 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2365 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2366 (g_unix_mount_can_eject), (eject_unmount_cb),
2367 (eject_unmount_read_error), (eject_unmount_do),
2368 (g_unix_mount_unmount), (g_unix_mount_eject),
2369 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2370 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2371 (g_unix_mount_point_guess_can_eject):
2373 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2374 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2375 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2376 (g_unix_volume_mount), (g_unix_volume_eject),
2377 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2378 * gunixvolumemonitor.c: (get_volume_for_uuid),
2379 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2381 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2382 (g_volume_eject), (g_volume_eject_finish):
2384 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2385 (g_volume_monitor_get_mount_for_uuid):
2388 Provide eject() on both GMount and GVolume and utility functions
2389 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2390 ejected. Introduce the concept of UUID's and wire it into GVolume
2391 and GMount and provide API on GVolumeMonitor to find such
2392 instances. Also handle the case where an external
2393 GNativeVolumeMonitor fails to initialize. Lock around the
2394 _g_get_mount_for_mount_path() function such that volume monitor
2395 implementations won't have to do locking themselves.
2397 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2399 * gdesktopappinfo.c:
2405 * gvolume.h: Documentation updates
2407 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2410 * gfile.h: Doc updates
2412 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2415 * gdesktopappinfo.c: Use hash table iterators.
2417 2007-12-14 Alexander Larsson <alexl@redhat.com>
2420 * gfileattribute.[ch]:
2421 * gfileattribute-priv.h:
2422 Move GFileAttributeValue to a private header, as
2426 Make set_attribute take a type + a pointer instead
2427 of a GFileAttributeValue.
2430 Fix up for above changes.
2431 Add g_file_info_get_attribute_data to get
2432 all info in one call, g_file_info_get_attribute_status
2433 to get the status and g_file_info_get_attribute_as_string.
2437 * glocalfileinfo.[ch]:
2441 Make _guess_type static.
2443 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2446 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2447 made mkenums and friends use temporary files to avoid leaving
2448 empty generated files on failure (#503470).
2450 2007-12-14 Alexander Larsson <alexl@redhat.com>
2452 * gmountoperation.h:
2455 2007-12-14 Alexander Larsson <alexl@redhat.com>
2459 * gfileattribute.[ch]:
2462 * glocalfileoutputstream.c:
2463 * gmountoperation.[ch]:
2464 * goutputstream.[ch]:
2465 Clean up all flags enums to not have _FLAGS in them
2466 Make the names of some of the enums better.
2471 2007-12-14 Michael Natterer <mitch@imendio.com>
2473 * gio.symbols: fix g_io_scheduler symbol names.
2475 2007-12-14 Alexander Larsson <alexl@redhat.com>
2481 * gbufferedinputstream.h:
2482 * gbufferedoutputstream.h:
2485 * gdatainputstream.h:
2486 * gdataoutputstream.h:
2487 * gdesktopappinfo.h:
2488 * gdirectorymonitor.h:
2492 * gfileenumerator.h:
2495 * gfileinputstream.h:
2497 * gfilenamecompleter.h:
2498 * gfileoutputstream.h:
2499 * gfilterinputstream.h:
2500 * gfilteroutputstream.h:
2508 * gmemoryinputstream.h:
2509 * gmemoryoutputstream.h:
2511 * gmountoperation.h:
2514 * gsimpleasyncresult.h:
2516 * gunixinputstream.h:
2518 * gunixoutputstream.h:
2522 * inotify/Makefile.am:
2523 Only allow including <gio/gio.h> from apps
2525 2007-12-14 Alexander Larsson <alexl@redhat.com>
2527 * gioscheduler.[ch]:
2528 * gsimpleasyncresult.c:
2529 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2530 Split out the send_to_mainloop call into two versions instead
2531 of having the block argument.
2533 2007-12-13 Alexander Larsson <alexl@redhat.com>
2535 * gcancellable.[ch]:
2537 * gbufferedinputstream.c:
2538 * gfileenumerator.c:
2539 * gfileinputstream.c:
2540 * gfileoutputstream.c:
2544 g_push/pop_current_cancellable ->
2545 g_cancellable_push/pop_current
2547 2007-12-13 Alexander Larsson <alexl@redhat.com>
2551 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2553 2007-12-13 Alexander Larsson <alexl@redhat.com>
2555 * gmountoperation.h:
2556 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2558 2007-12-12 Alexander Larsson <alexl@redhat.com>
2561 Fix race condition when freeing proxy in
2562 g_io_job_send_to_mainloop().
2564 2007-12-12 Alexander Larsson <alexl@redhat.com>
2570 Make attribute namespace separator "::" instead of ":".
2571 Use - instead of _ as separator in attribute names.
2573 2007-12-12 Alexander Larsson <alexl@redhat.com>
2575 * gbufferedinputstream.h:
2576 * gbufferedoutputstream.h:
2577 * gdatainputstream.h:
2578 * gdataoutputstream.h:
2579 * gdirectorymonitor.h:
2580 * gfileenumerator.h:
2581 * gfileinputstream.h:
2583 * gfileoutputstream.h:
2584 * gfilterinputstream.h:
2585 * gfilteroutputstream.h:
2587 * glocalfileinputstream.h:
2588 * glocalfileoutputstream.h:
2589 * gmemoryinputstream.h:
2590 * gmemoryoutputstream.h:
2591 * gnativevolumemonitor.h:
2593 * gunixinputstream.h:
2594 * gunixoutputstream.h:
2597 s/parent/parent_instance/ in GObjects
2599 2007-12-12 Alexander Larsson <alexl@redhat.com>
2604 No need for padding for interfaces
2606 2007-12-12 Alexander Larsson <alexl@redhat.com>
2610 * gbufferedinputstream.c:
2611 * gbufferedoutputstream.c:
2614 * gdatainputstream.[ch]:
2615 * gdesktopappinfo.c:
2616 * gdirectorymonitor.c:
2618 * gfileattribute.[ch]:
2621 * gfileinputstream.h:
2622 * gfilemonitor.[ch]:
2623 * gfileoutputstream.[ch]:
2624 * gfilterinputstream.h:
2625 * gfilteroutputstream.h:
2628 * gloadableicon.[ch]:
2629 * gmemoryinputstream.c:
2630 * gmountoperation.c:
2632 Fix up a bunch of details in the docs.
2637 2007-12-11 David Zeuthen <davidz@redhat.com>
2639 Rework how volumes, drives and volume monitoring is
2640 done. Previosly the model was
2642 GDrive <1-1> GVolume
2644 where a GDrive instance represented a mount point and a GVolume
2645 instance represented a mounted file system. This patch changes it
2648 GDrive <1-N> GVolume <1-1> GMount
2650 where GMount now serves the purpose of the old GVolume and the new
2651 GVolume serves the purpose of the old GDrive. In addition the new
2652 GDrive interface is used to represent a collection of GVolume
2653 instances (typically partitions) and also contains utility to query
2654 the state of the physical drive the GDrive object represents (such
2655 as checking for media, polling the drive, ejecting the media etc.).
2657 Also implement mounting and unmounting in the Unix volume monitor
2658 backend. A subquent patch will introduce GDrive support for ejection
2662 * gdrive.c: (g_drive_is_media_check_automatic),
2663 (g_drive_is_media_removable), (g_drive_has_media),
2664 (g_drive_can_poll_for_media), (g_drive_eject),
2665 (g_drive_eject_finish), (g_drive_poll_for_media),
2666 (g_drive_poll_for_media_finish):
2668 * gfile.c: (g_file_find_enclosing_mount):
2671 * glocaldirectorymonitor.c:
2672 (g_local_directory_monitor_constructor), (mounts_changed):
2673 * glocalfile.c: (get_mount_info),
2674 (g_local_file_find_enclosing_mount),
2675 (g_local_file_file_iface_init):
2676 * gnativevolumemonitor.h:
2677 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2678 (get_connected_drives), (g_union_volume_monitor_class_init),
2679 (child_volume_added), (child_volume_removed),
2680 (child_volume_changed), (child_mount_added), (child_mount_removed),
2681 (child_mount_pre_unmount), (child_mount_changed),
2682 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2683 (g_union_volume_monitor_remove_monitor),
2684 (_g_mount_get_for_mount_path):
2685 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2686 (guess_system_internal), (_g_get_unix_mounts),
2687 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2688 (g_unix_mount_free), (g_unix_mount_compare),
2689 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2690 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2691 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2692 (type_to_icon), (g_unix_mount_guess_name),
2693 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2694 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2695 (_resolve_symlink), (_resolve_dev_root):
2697 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2698 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2699 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2700 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2701 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2702 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2703 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2704 (g_unix_volume_volume_iface_init):
2706 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2707 (get_mounts), (get_volumes), (get_connected_drives),
2708 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2709 (mountpoints_changed), (mounts_changed),
2710 (g_unix_volume_monitor_init),
2711 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2712 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2713 * gunixvolumemonitor.h:
2714 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2715 (g_volume_mount), (g_volume_mount_finish):
2717 * gvolumemonitor.c: (g_volume_monitor_class_init),
2718 (g_volume_monitor_get_connected_drives),
2719 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2722 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2724 * gmountoperation.h (GPasswordFlags): Close the gap
2726 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2728 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2730 * gdesktopappinfo.[hc]: Remove _-prefixes
2732 2007-12-10 Tor Lillqvist <tml@novell.com>
2734 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2737 2007-12-10 Alexander Larsson <alexl@redhat.com>
2739 * gfile.c (g_file_set_display_name):
2740 Don't hardcode '/' (#502727)
2742 2007-12-09 Hans Breuer <hans@breuer.org>
2744 * makefile.msc : follow lib naming convention
2745 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2746 for user and group name, tested with ../tests/gio-ls
2748 2007-12-09 A. Walton <awalton@svn.gnome.org>
2750 * gdesktopappinfo.c:
2756 * gfileenumerator.c:
2761 * gmemoryinputstream.c:
2762 * gmemoryoutputstream.c:
2764 * gsimpleasyncresult.c:
2765 More documentation cleanup and filling in missing information, bringing
2766 GIO to 99% symbol coverage.
2768 2007-12-08 Hans Breuer <hans@breuer.org>
2770 [gio compiles and links on win32, not sure how much already works]
2771 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2772 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2773 base on win32 API; prefer g_lstat() over lstat(); instead of
2774 localtime_r() use an all GLib implementation on win32;
2775 get_mount_info() still needs a win32 specifc implementation
2776 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2777 win32_get_file_user_info to get owner/group info without uid/gid
2778 * glocalfileinputstream.c : include <io.h> on win32
2779 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2780 definition, use g_win32_ftruncate() for G_OS_WIN32
2781 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2782 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2783 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2784 * makefile.msc : updated
2786 2007-12-07 Alexander Larsson <alexl@redhat.com>
2788 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2789 Avoid warning spew if error == NULL
2791 2007-12-07 Alexander Larsson <alexl@redhat.com>
2794 Update docs wrt etags
2796 2007-12-06 Alexander Larsson <alexl@redhat.com>
2799 Include sys/types.h for dev_t (#501919)
2801 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2805 Make abicheck and pltcheck pass.
2807 2007-12-05 Alexander Larsson <alexl@redhat.com>
2810 * giomodule-priv.h: Added.
2811 * glocaldirectorymonitor.c:
2812 * glocalfilemonitor.c:
2813 * gunionvolumemonitor.c:
2815 Actually add the declaration of _g_io_modules_ensure_loaded
2817 2007-12-05 Alexander Larsson <alexl@redhat.com>
2819 * gdatainputstream.c:
2824 * glocaldirectorymonitor.c:
2825 * glocalfilemonitor.c:
2826 * gunionvolumemonitor.c:
2828 Make g_io_modules_ensure_loaded a private function and
2829 don't pass in the dirname. This means we can do magic
2830 directory finding in the win32 version.
2831 Export the actual load-modules-in-directory code so that
2832 gvfs can reuse that.
2834 2007-12-05 Alexander Larsson <alexl@redhat.com>
2836 * gbufferedinputstream.c:
2837 * gbufferedoutputstream.c:
2840 * gfileenumerator.[ch]:
2841 * gfileinputstream.c:
2842 * gfileoutputstream.[ch]:
2843 * gfilterinputstream.c:
2844 * gfilteroutputstream.c:
2845 * ginputstream.[ch]:
2847 * glocalfileenumerator.c:
2848 * glocalfileinputstream.c:
2849 * glocalfileoutputstream.c:
2850 * gmemoryinputstream.c:
2851 * gmemoryoutputstream.c:
2852 * goutputstream.[ch]:
2855 * gunixinputstream.c:
2856 * gunixoutputstream.c:
2857 Rename all struct members named:
2858 read, write, close, truncate, or mount
2859 to foo_fn, as these are reserved names
2860 and could be defined as macros in libc.
2863 2007-12-04 Alexander Larsson <alexl@redhat.com>
2866 (g_output_stream_close):
2867 Only call flush if non-null.
2869 2007-11-30 Dan Winship <danw@gnome.org>
2871 * ginputstream.c (g_input_stream_set_pending): Make this take a
2872 GError and return a gboolean, and do the "outstanding operation"
2873 check (and the "stream is already closed" check) itself.
2874 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2876 * goutputstream.c (g_output_stream_set_pending)
2877 (g_output_stream_clear_pending): Likewise
2879 * gbufferedinputstream.c:
2880 * gfileinputstream.c:
2881 * gfileoutputstream.c: Update for that
2883 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2884 Like g_simple_async_report_error_in_idle, but takes a GError
2885 rather than building one.
2887 2007-11-30 Dan Winship <danw@gnome.org>
2889 * goutputstream.c: Don't cheat and unset the "pending" flag around
2890 inner calls. Instead, call the class method directly rather than
2891 the wrapper function that checks "pending"
2893 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2895 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2897 2007-12-03 Hans Breuer <hans@breuer.org>
2899 [start of port to win32/msvc]
2900 * gcancellable.c : HAVE_UNIST_H and _pipe()
2901 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2902 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2903 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2905 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2906 * glocalvfs.c : use HAVE_PWD_H
2907 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2908 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2909 * Makefile.am : added to EXTRA_DIST
2911 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2913 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2916 2007-12-03 Alexander Larsson <alexl@redhat.com>
2919 Handle OSX style xattrs API (#500506)
2921 2007-12-03 Alexander Larsson <alexl@redhat.com>
2925 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2927 2007-12-02 A. Walton <awalton@svn.gnome.org>
2931 Documentation accuracy fixes.
2933 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2935 * gioenumtypes.c.template: Fix typo.
2937 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2939 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2941 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2943 * gdirectorymonitor.c:
2944 * gfilemonitor.c: Add properties
2946 * gbufferedoutputstream.c: Don't mark buffer-size property
2949 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2951 * gbufferedoutputstream.c: Add auto-grow property.
2953 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2955 * *.c: Unify the capitalization of section headings.
2957 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2959 * gmountoperation.c: Add properties
2961 * gdatainputstream.c: Turn byte-order and newline-type into
2964 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2966 * gioenumtypes.[hc].template: Templates for enum registration
2968 * Makefile.am: Generate gioenumtypes.[hc]
2970 * gio.h: Include gioenumtypes.h
2972 * gfile.h: Add some explicit nicks.
2974 * gio.symbols: Add new symbols
2976 * pltcheck.sh: Adjust
2978 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2980 * *.c: Explain etags and link to the explanation
2982 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2984 * *.c: Explain I/O priority.
2986 * *.c: More coding style fixes.
2988 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2990 * gasyncresult.c: Add another paragraph to the intro,
2991 adjust coding style of example.
2993 2007-11-29 A. Walton <awalton@svn.gnome.org>
2996 Fixes unknown meaning in GAppLaunchContext docs.
2998 Clarify asynchronous ops.
3000 Fix entity tag docs.
3003 Provides missing gtk-doc section, fixes API docs slighly.
3004 * gsimpleasyncresult.c:
3005 Fill in missing info in docs.
3006 * gunixinputstream.c:
3007 * gunixoutputstream.c:
3008 Be more expressive in short description.
3010 Remove gtk-doc stubs for non-public API.
3012 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3014 * *.c: Coding style fixups
3016 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3018 * inotify/inotify-helper.c: Don't export the lock from libgio.
3020 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3023 * abicheck.sh: Fix copy-and-paste leftovers
3025 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3027 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3029 2007-11-28 Alexander Larsson <alexl@redhat.com>
3033 Removed unnecessary file
3035 * gdesktopappinfo.[ch]:
3038 * glocaldirectorymonitor.[ch]:
3040 * glocalfileenumerator.[ch]:
3041 * glocalfileinputstream.[ch]:
3042 * glocalfilemonitor.[ch]:
3043 * glocalfileoutputstream.[ch]:
3045 * gnativevolumemonitor.c:
3046 * gpollfilemonitor.[ch]:
3047 * gunionvolumemonitor.[ch]:
3050 * gunixvolumemonitor.[ch]:
3053 * inotify/ginotifydirectorymonitor.[ch]:
3054 * inotify/ginotifyfilemonitor.[ch]:
3055 * inotify/inotify-helper.c:
3056 Append _ to all internal functions
3060 Export symbols needed for modules
3062 2007-11-28 Alexander Larsson <alexl@redhat.com>
3065 * abicheck.sh: Added.
3066 * makegioalias.pl: Added.
3067 * pltcheck.sh: Added.
3068 * gio.symbols: Added.
3071 Initial work on adding symbol handling.
3074 Correct ifdef guard name
3077 * inotify/Makefile.am:
3078 * xdgmime/Makefile.am:
3079 Include toplevel Makefile.decl
3081 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3083 * gcontenttype.c: Move doc comments to the unix section.
3085 * *.[hc]: More trivial doc corrections.
3087 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3089 * gpollfilemonitor.c:
3093 * gdesktopappinfo.c:
3098 * gdatainputstream.c:
3099 * gdatainputstream.h:
3100 * gdataoutputstream.c:
3101 * gdataoutputstream.h:
3102 * gfileinfo.h: Doc cleanups
3104 2007-11-28 Andre Klapper <a9016009@gmx.de>
3106 * gdesktopappinfo.c: Fix a typo.
3108 2007-11-27 Andre Klapper <a9016009@gmx.de>
3110 * glocalfileoutputstream.c: Fix a typo.
3112 2007-11-27 Alexander Larsson <alexl@redhat.com>
3115 Don't include removed headers
3117 2007-11-27 Alexander Larsson <alexl@redhat.com>
3120 * gsocketinputstream.[ch]: Removed.
3121 * gsocketoutputstream.[ch]: Removed.
3122 * gunixinputstream.[ch]: Added.
3123 * gunixoutputstream.[ch]: Added.
3124 Renamed GSocket*Stream to GUnix*Stream and made
3125 it unix-only, since its not really only for sockets
3126 and it only works on unix (but is highly useful there).
3128 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3134 * gbufferedinputstream.c:
3135 * gbufferedinputstream.h:
3136 * gbufferedoutputstream.c:
3137 * gbufferedoutputstream.h:
3141 * gdatainputstream.c:
3142 * gdatainputstream.h:
3143 * gdataoutputstream.c:
3144 * gdataoutputstream.h:
3145 * gdirectorymonitor.c:
3146 * gdirectorymonitor.h:
3153 * gfileenumerator.c:
3154 * gfileenumerator.h:
3159 * gfileinputstream.c:
3160 * gfileinputstream.h:
3163 * gfilenamecompleter.c:
3164 * gfilenamecompleter.h:
3165 * gfileoutputstream.c:
3166 * gfileoutputstream.h:
3167 * gfilterinputstream.c:
3168 * gfilterinputstream.h:
3169 * gfilteroutputstream.c:
3170 * gfilteroutputstream.h:
3183 * glocalfileoutputstream.c:
3184 * gmemoryinputstream.c:
3185 * gmemoryinputstream.h:
3186 * gmemoryoutputstream.c:
3187 * gmemoryoutputstream.h:
3188 * gmountoperation.c:
3189 * gmountoperation.h:
3192 * gpollfilemonitor.c:
3195 * gsimpleasyncresult.c:
3196 * gsimpleasyncresult.h:
3197 * gsocketinputstream.c:
3198 * gsocketinputstream.h:
3199 * gsocketoutputstream.c:
3200 * gsocketoutputstream.h:
3207 * gunixvolumemonitor.c:
3216 Bumps documentation to 93% symbol coverage, touching most
3217 of the public files. Fixes broken function documentation prototypes.
3218 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3219 gtk-doc headers in private files.
3221 2007-11-27 Jürg Billeter <j@bitron.ch>
3223 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3224 (g_buffered_input_stream_read_byte):
3225 * gbufferedinputstream.h:
3226 New functions for efficient access to buffer and simple single byte
3229 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3230 (g_data_input_stream_read_until):
3231 * gdatainputstream.h:
3232 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3233 read_until with multiple stop chars.
3235 2007-11-27 Alexander Larsson <alexl@redhat.com>
3239 * inotify/Makefile.am:
3240 Use the user-specified giomoduledir
3242 2007-11-27 Alexander Larsson <alexl@redhat.com>
3246 Add catch-all gio.h header
3247 Don't install gdummyfile.h
3249 2007-11-26 Alexander Larsson <alexl@redhat.com>
3251 * Makefile.am (gioinclude_HEADERS):
3252 Remove trailing whitespace
3254 2007-11-26 Alexander Larsson <alexl@redhat.com>
3256 Merge gio-standalone into glib
3258 2007-11-25 Christian Kellner <gicmo@gnome.org>
3260 * gio/goutputstream.c:
3261 Fix small mistake in the docs.
3263 2007-11-21 Christian Persch <chpe@gnome.org>
3265 * gio/glocalfile.c: (g_local_file_trash):
3266 Convert filenames to UTF-8 for GError.
3267 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3268 as per xdg base dir spec.
3270 2007-11-21 Christian Persch <chpe@gnome.org>
3272 * gio/gdesktopappinfo.c:
3273 Use that g_key_file_to_data cannot fail.
3275 Use stock defines for the key file group and key names.
3278 2007-11-21 Alexander Larsson <alexl@redhat.com>
3281 (copy_stream_with_progress):
3282 Make sure we do a final progress callback with
3283 the full total size.
3285 2007-11-21 Alexander Larsson <alexl@redhat.com>
3288 Export g_file_copy_attributes
3289 Remove padding as its not needed for interfaces
3291 2007-11-20 Alexander Larsson <alexl@redhat.com>
3296 Add G_IO_ERROR_WOULD_MERGE for
3297 copy/move dir on dir with overwrite.
3299 2007-11-20 Alexander Larsson <alexl@redhat.com>
3302 * gio/glocalfileinfo.c:
3303 Add COPY_NAME (this is an optional
3304 non-modified utf8 version of the name) that
3307 2007-11-20 Alexander Larsson <alexl@redhat.com>
3309 * gio/glocalfileenumerator.c:
3310 Report errors as GIOError, not GFileError
3312 2007-11-16 Alexander Larsson <alexl@redhat.com>
3314 * gio/glocalfileoutputstream.c:
3315 * gio/gwin32appinfo.c:
3316 Fix typos in strings.
3317 Patch from Luca Ferretti <elle.uca@libero.it>
3319 2007-11-15 Alexander Larsson <alexl@redhat.com>
3322 Post release version bump
3324 === gio-standalone 0.1.2 ===
3326 2007-11-15 Alexander Larsson <alexl@redhat.com>
3328 * docs/reference/gio/Makefile.am:
3329 Fix up distcheck by removing weird
3335 2007-11-14 Alexander Larsson <alexl@redhat.com>
3337 * gio/gdesktopappinfo.c:
3338 * gio/glocaldirectorymonitor.c:
3340 * gio/glocalfileinfo.c:
3341 * gio/inotify/inotify-sub.c:
3342 * programs/gio-cat.c:
3343 * programs/gio-copy.c:
3344 * programs/gio-info.c:
3345 * programs/gio-ls.c:
3346 * programs/gio-monitor-dir.c:
3347 * programs/gio-monitor-file.c:
3348 * programs/gio-mount.c:
3349 * programs/gio-move.c:
3350 * programs/gio-rm.c:
3351 * programs/gio-save.c:
3352 * programs/gio-trash.c:
3353 Leak fixes from Kjartan Maraas
3355 2007-11-14 Alexander Larsson <alexl@redhat.com>
3357 * gio/fam/fam-helper.c:
3359 * gio/glocalfileinfo.c:
3363 * gio/inotify/inotify-diag.c:
3364 * gio/inotify/inotify-kernel.c:
3365 Various code cleanups from Kjartan Maraas
3367 2007-11-14 Alexander Larsson <alexl@redhat.com>
3369 * gio/gioscheduler.c:
3371 Set up threadpool so that we cache 2 unused
3372 idle threads for at 15 secs. This means we
3373 will reuse thread-local data (like dbus connections)
3376 2007-11-14 Alexander Larsson <alexl@redhat.com>
3378 * gio/fam/fam-helper.c:
3379 * gio/fam/gfamdirectorymonitor.c:
3380 * gio/fam/gfamfilemonitor.c:
3382 * gio/gcontenttype.c:
3383 * gio/gdatainputstream.c:
3384 * gio/gdataoutputstream.c:
3388 * gio/gfileattribute.h:
3389 * gio/gfileenumerator.c:
3391 * gio/ginputstream.c:
3394 * gio/glocalfileinfo.c:
3395 * gio/goutputstream.c:
3396 * gio/gpollfilemonitor.c:
3397 * gio/gsimpleasyncresult.c:
3398 * gio/gunixmounts.c:
3399 * gio/gunixmounts.h:
3400 * gio/inotify/ginotifydirectorymonitor.c:
3401 * gio/inotify/ginotifyfilemonitor.c:
3402 * gio/inotify/inotify-diag.c:
3403 * gio/inotify/inotify-kernel.c:
3404 * gio/inotify/inotify-path.c:
3406 * gio/test-streams.c:
3407 * programs/gio-info.c:
3408 * programs/gio-monitor-dir.c:
3409 * programs/gio-monitor-file.c:
3410 Various code cleanups from Kjartan Maraas
3412 2007-11-13 Alexander Larsson <alexl@redhat.com>
3415 Handle the uri-scheme calls for dummy files
3417 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3419 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3420 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3421 to avoid clash with the C++ keyword.
3423 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3425 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3426 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3428 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3430 * gio/glocaldirectorymonitor.c:
3431 * gio/glocalfilemonitor.c:
3432 * gio/gunionvolumemonitor.c:
3433 Don't use g_once_init_*() for initializations that could fail and
3434 could leave the initialization variable set to 0 but use GOnce.
3435 This prevents a deadlock on the second call when trying to create
3436 a monitor and no monitor type is available. Thanks to Sven Herzberg
3439 2007-11-11 Sven Herzberg <sven@imendio.com>
3441 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3442 #ifdef (make it work on MacOS X again)
3444 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3446 Fixes Changelog for last two commits (sorry guys).
3448 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3450 * gio/gbufferedinputstream.c:
3451 * gio/gdatainputstream.c:
3453 * gio/gfileoutputstream.c:
3454 * gio/gfilterinputstream.c:
3455 * gio/glocalfileinputstream.c:
3458 More consistency fixes in g*stream.c files.
3459 Significant clean of gfile's documentation, filling in of
3460 asynchronous operations documentation.
3462 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3464 * gio/gasyncresult.c:
3465 * gio/gbufferedinputstream.c:
3466 * gio/gbufferedoutputstream.c:
3467 * gio/gcancellable.c:
3468 * gio/gcontenttype.c:
3469 * gio/gdatainputstream.c:
3470 * gio/gdataoutputstream.c:
3471 * gio/gdesktopappinfo.c:
3474 * gio/gfileattribute.c:
3475 * gio/gio/gfileenumerator.c:
3477 * gio/gfileinputstream.c:
3478 * gio/gfilemonitor.c:
3479 * gio/gfileoutputstream.c:
3480 * gio/ginputstream.c:
3482 * gio/gioscheduler.c:
3483 * gio/gloadableicon.c:
3484 * gio/glocalfileoutputstream.c:
3485 * gio/gmemoryoutputstream.c:
3486 * gio/gmountoperation.c:
3487 * gio/goutputstream.c:
3489 * gio/gsimpleasyncresult.c:
3490 * gio/gunionvolumemonitor.c:
3491 * gio/gunixmounts.c:
3492 * gio/gunixvolume.c:
3496 * gio/gvolumemonitor.c:
3497 Updated documentation stubs, working towards consistency and
3500 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3502 * gio/gmemoryoutputstream.c:
3503 * gio/gmemoryoutputstream.h:
3504 Change g_memory_output_stream_set_free_on_close() to
3505 g_memory_output_stream_set_free_data() as this makes more sense and
3506 is more consistent with GMemoryInputStream.
3508 2007-11-07 Alexander Larsson <alexl@redhat.com>
3515 Change how we find the default vfs so that
3516 we can handle a gvfs failing to init
3518 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3520 * gio/gbufferedoutputstream.c:
3521 * gio/gdatainputstream.c:
3522 * gio/gdataoutputstream.c:
3523 * gio/gfileinputstream.c:
3524 * gio/gfileoutputstream.c:
3525 * gio/gfilterinputstream.c:
3526 * gio/gfilteroutputstream.c:
3527 * gio/ginputstream.c:
3528 * gio/gmemoryinputstream.c:
3529 * gio/gmemoryoutputstream.c:
3530 * gio/goutputstream.c:
3531 * gio/gsimpleasyncresult.c:
3532 * gio/gsocketinputstream.c:
3533 * gio/gsocketoutputstream.c:
3534 Add guards to the remaining public functions, add a TODO for
3535 an unimplemented function and remove some useless guards.
3537 2007-11-07 Alexander Larsson <alexl@redhat.com>
3540 Autoconf checks for the various types of
3541 getpwuid_r and getgrgid_r
3543 * gio/glocalfileinfo.c:
3544 Use the autoconf checks from above
3546 2007-11-07 Alexander Larsson <alexl@redhat.com>
3549 (g_local_file_query_filesystem_info):
3550 Some fixes for the statvfs case
3552 2007-11-07 Alexander Larsson <alexl@redhat.com>
3555 (g_local_file_query_filesystem_info):
3556 Pick the "best" of statfs / statvfs for the system
3557 if both are availible.
3559 2007-11-07 Alexander Larsson <alexl@redhat.com>
3561 Solaris fixes from Halton.Huo@Sun.COM:
3568 * gio/glocalfileinfo.c:
3569 Fix for solaris definition of getpwuid_r
3571 * gio/test-streams.c:
3572 Use G_GNUC_PRETTY_FUNCTION
3574 2007-11-07 Alexander Larsson <alexl@redhat.com>
3576 * gio/gdesktopappinfo.c:
3577 (update_default_list):
3578 Remove double semicolon.
3579 Patch from Jens Granseuer
3581 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3583 * docs/reference/gio/gio-sections.txt:
3584 * gio/gbufferedinputstream.c:
3585 * gio/gbufferedinputstream.h:
3586 * gio/gdatainputstream.c:
3587 * gio/gfileenumerator.c:
3588 * gio/gioscheduler.c:
3589 * gio/gunionvolumemonitor.c:
3591 * programs/gio-save.c:
3592 Fix typo: availible -> available. Unfortuntely this breaks API
3593 and ABI as g_buffered_input_stream_get_available() was renamed.
3595 * gio/gunixmounts.c:
3596 * gio/gbufferedinputstream.c:
3597 Add guards for public functions.
3599 2007-11-06 Ross Burton <ross@openedhand.com>
3601 * docs/reference/gio/Makefile.am:
3602 Fix invalid += usage which automake 1.10 doesn't like.
3604 2007-11-06 Alexander Larsson <alexl@redhat.com>
3607 (g_app_launch_context_class_init):
3610 Patch from Ross Burton
3612 2007-11-06 Alexander Larsson <alexl@redhat.com>
3615 Post release version bump
3617 === gio-standalone 0.1.1 ===
3619 2007-11-06 Alexander Larsson <alexl@redhat.com>
3622 Bump version to 0.1.1
3624 * gio/gsimpleasyncresult.c:
3625 (g_simple_async_result_set_from_error):
3626 Remove bogus g_return_if_fail
3628 2007-11-06 Alexander Larsson <alexl@redhat.com>
3631 The name is gio-standalone
3634 Add top src/builddir to includedir
3636 2007-11-06 Alexander Larsson <alexl@redhat.com>
3638 * docs/reference/gio/gio-sections.txt:
3640 * gio/gbufferedinputstream.c:
3641 * gio/gbufferedoutputstream.c:
3642 * gio/gcancellable.c:
3643 * gio/gdatainputstream.h:
3644 * gio/gdataoutputstream.c:
3645 * gio/gdataoutputstream.h:
3646 * gio/gdirectorymonitor.c:
3648 * gio/gfileattribute.c:
3649 * gio/gfileattribute.h:
3650 * gio/gfileenumerator.c:
3651 * gio/gfileenumerator.h:
3654 * gio/gfileinputstream.h:
3655 * gio/gfilemonitor.c:
3656 * gio/gfileoutputstream.h:
3657 * gio/glocalfilemonitor.h:
3658 * gio/glocalfileoutputstream.h:
3659 * gio/gmemoryinputstream.c:
3660 * gio/gmemoryoutputstream.c:
3661 * gio/gmountoperation.c:
3662 * gio/goutputstream.c:
3663 * gio/goutputstream.h:
3665 * gio/gsimpleasyncresult.c:
3666 * gio/gunixmounts.c:
3667 * gio/gunixmounts.h:
3669 * gio/inotify/inotify-helper.c:
3670 Fix gtk-doc warnings
3672 Patch from Ross Burton
3674 2007-11-06 Alexander Larsson <alexl@redhat.com>
3676 * gio/gfilenamecompleter.c:
3677 (g_filename_completer_get_completions):
3680 * gio/gunixvolume.c:
3681 Remove unused function
3683 Patches from Ross Burton
3685 2007-11-06 Alexander Larsson <alexl@redhat.com>
3690 Padding not needed for interfaces
3692 2007-11-06 Alexander Larsson <alexl@redhat.com>
3694 * gio/gfilemonitor.c:
3698 Make giotypes.h an internal file
3701 * gio/gbufferedinputstream.h:
3702 * gio/gbufferedoutputstream.h:
3703 * gio/gcancellable.h:
3704 * gio/gdatainputstream.h:
3705 * gio/gdataoutputstream.h:
3706 * gio/gdirectorymonitor.c:
3707 * gio/gdirectorymonitor.h:
3712 * gio/gfileattribute.h:
3713 * gio/gfileenumerator.h:
3718 * gio/gfilemonitor.c:
3719 * gio/gfilemonitor.h:
3720 * gio/gfilenamecompleter.c:
3721 * gio/gfilenamecompleter.h:
3722 * gio/gfilterinputstream.h:
3723 * gio/gfilteroutputstream.h:
3724 * gio/ginputstream.h:
3725 * gio/gmemoryinputstream.h:
3726 * gio/gmemoryoutputstream.h:
3727 * gio/gmountoperation.c:
3728 * gio/gmountoperation.h:
3729 * gio/gnativevolumemonitor.c:
3730 * gio/goutputstream.h:
3733 * gio/gsimpleasyncresult.c:
3734 * gio/gsimpleasyncresult.h:
3735 * gio/gsocketinputstream.h:
3736 * gio/gsocketoutputstream.h:
3737 * gio/gthemedicon.c:
3738 * gio/gthemedicon.h:
3742 * gio/gvolumemonitor.c:
3743 * gio/gvolumemonitor.h:
3744 Add padding in classes where it seems useful
3745 Don't include giotypes.h from public headers
3746 Move in Class definitions into c file where possible
3751 2007-11-06 Alexander Larsson <alexl@redhat.com>
3753 * docs/reference/gio/gio-docs.xml:
3754 Better structure for API docs
3756 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3759 * gio/gloadableicon.c:
3760 * gio/gsimpleasyncresult.c:
3761 * gio/gthemedicon.c:
3762 Add some more guards to public functions. Only files missing are now
3765 2007-11-06 Alexander Larsson <alexl@redhat.com>
3767 * docs/reference/gio/gio-docs.xml:
3768 Remove old files, add missing ones
3770 2007-11-06 Alexander Larsson <alexl@redhat.com>
3772 * docs/reference/gio/gio-sections.txt:
3775 Hide implementation classes
3777 * gio/gdriveprivate.h:
3778 * gio/gvolumeprivate.h:
3779 Remove non-existing function declarations
3781 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3784 Fix compilation warnings and add guards to the new functions.
3786 * gio/gasyncresult.c:
3788 Add guards to the public functions.
3791 Implement get_path().
3793 2007-11-06 Alexander Larsson <alexl@redhat.com>
3795 * gio/gfilenamecompleter.c:
3796 Make g_filename_completer_get_completions
3797 return char ** instead of GList for
3800 * docs/reference/gio/gio-docs.xml:
3801 * docs/reference/gio/gio-sections.txt:
3803 * gio/gasyncresult.c:
3804 * gio/gbufferedinputstream.c:
3805 * gio/gbufferedoutputstream.c:
3806 * gio/gcancellable.c:
3807 * gio/gcontenttype.c:
3808 * gio/gdatainputstream.c:
3809 * gio/gdataoutputstream.c:
3810 * gio/gdesktopappinfo.c:
3811 * gio/gdirectorymonitor.c:
3815 * gio/gfileattribute.c:
3816 * gio/gfileenumerator.c:
3819 * gio/gfileinputstream.c:
3820 * gio/gfilemonitor.c:
3821 * gio/gfilenamecompleter.c:
3822 * gio/gfilenamecompleter.h:
3823 * gio/gfileoutputstream.c:
3824 * gio/gfilterinputstream.c:
3826 * gio/ginputstream.c:
3828 * gio/gioscheduler.c:
3829 * gio/gloadableicon.c:
3830 * gio/glocaldirectorymonitor.c:
3832 * gio/glocalfileinputstream.c:
3833 * gio/glocalfilemonitor.c:
3834 * gio/glocalfileoutputstream.c:
3836 * gio/gmemoryinputstream.c:
3837 * gio/gmemoryoutputstream.c:
3838 * gio/gmountoperation.c:
3839 * gio/goutputstream.c:
3840 * gio/gpollfilemonitor.c:
3842 * gio/gsimpleasyncresult.c:
3843 * gio/gsocketinputstream.c:
3844 * gio/gsocketoutputstream.c:
3845 * gio/gthemedicon.c:
3846 * gio/gunionvolumemonitor.c:
3848 * gio/gunixmounts.c:
3849 * gio/gunixvolume.c:
3850 * gio/gunixvolumemonitor.c:
3854 * gio/gvolumemonitor.c:
3855 * gio/gwin32appinfo.c:
3856 Add (mostly stub) doc strings to public functions.
3857 Patch from Andrew Walton (awalton@gmail.com)
3859 2007-11-06 Alexander Larsson <alexl@redhat.com>
3861 * gio/gappinfo.[ch]:
3862 Added GAppLaunchContext object and pass that to launch.
3863 This allows simple implementation of both
3864 launch-on-screen and startup notification via a gtk+
3865 subclass of GAppLaunchContext
3867 * gio/gdesktopappinfo.c:
3868 Implement GAppLaunchContext API
3870 * gio/gwin32appinfo.c:
3873 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3875 * gio/gmountoperation.c:
3876 Add some guards to GMountOperation's public functions.
3878 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3882 * gio/gcancellable.c:
3883 * gio/gdirectorymonitor.c:
3885 * gio/gfileenumerator.c:
3886 * gio/gfilemonitor.c:,
3887 * gio/gfilenamecompleter.c:
3890 * gio/gioscheduler.c:
3894 * gio/gvolumemonitor.c:
3895 Add even more guards to various public functions.
3897 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3900 Add guards to the public functions of GAppInfo.
3902 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3904 * gio/gcontenttype.c:
3905 Add some more guards for public functions.
3907 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3909 * gio/fam/fam-module.c:
3910 * gio/fam/gfamdirectorymonitor.c:
3911 * gio/fam/gfamdirectorymonitor.h:
3912 * gio/fam/gfamfilemonitor.c:
3913 * gio/fam/gfamfilemonitor.h:
3914 * gio/inotify/ginotifydirectorymonitor.c:
3915 * gio/inotify/ginotifydirectorymonitor.h:
3916 * gio/inotify/ginotifyfilemonitor.c:
3917 * gio/inotify/ginotifyfilemonitor.h:
3918 Add proper copyright information and remove an unused variable
3919 in the GInotifyFileMonitor constructor.
3921 * gio/gcancellable.c:
3922 Add a guard for a public function and an assertion to prevent
3923 an undefined program state.
3925 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3927 * gio/gfileattribute.c:
3928 Don't run into an assertion if the given attribute value is NULL
3929 in g_file_attribute_value_get_*() but instead return a fallback
3930 value that makes sense in most situations. Passing them a attribute
3931 value with the wrong type will still run into an assertion.
3933 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3935 * gio/gfileattribute.c:
3937 Add even more guards to the public functions. Also fix the refcounting
3938 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3939 let g_file_info_list_attributes() filter the attributes by namespace
3940 instead of simply ignoring the namespace parameter.
3942 2007-11-03 Sven Herzberg <sven@imendio.com>
3944 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3945 (This makes gio work on MacOS X again)
3947 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3950 Build the gio subdirectory before the docs. Otherwise the build will
3953 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3954 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3955 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3956 Add guards to the public functions.
3958 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3960 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3961 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3962 to prevent a compiler warning.
3964 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3965 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3966 return something in the non-void function find_topdir_for().
3968 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
3975 2007-11-01 Ryan Lortie <desrt@desrt.ca>
3977 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
3978 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
3979 * gwin32appinfo.c (g_win32_app_info_launch):
3980 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
3981 envp_for_startup_id, g_desktop_app_info_launch,
3982 g_desktop_app_info_launch_uris):
3984 Give an opaque 'startup_id' string instead of 'envp'.
3985 Support empty file lists for launching new windows.
3986 Fix infinite recursion bug when launching URIs.
3988 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3991 Add guard to the new g_file_get_uri_scheme() function.
3993 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
3996 Convert a g_return_val_if_fail() to setting the GError instead as
3997 otherwise applications have to verify the parameter before otherwise
3998 and the parameter might come directly from the user.
4000 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4002 * gio/inotify/ginotify*.[ch]:
4003 Add missing copyright information.
4005 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4008 Add guards in the beginning of public functions to check for valid
4009 parameters and fix a bug in copy_stream_with_progress() that could've
4010 caused writing less bytes than reading.
4011 * gio/glocalfileinfo.c:
4012 Check for a NULL parameter and set the GError accordingly then.
4013 * gio/goutputstream.c:
4014 Fix the same bug as in gfile.c that could've caused writing less bytes
4015 than reading in g_output_stream_real_splice().
4017 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4020 Use the correct gvolumeprivate.h naming
4022 2007-11-01 Christian Kellner <gicmo@gnome.org>
4025 Remove leftover "$(daemon_sources)" entry.
4027 2007-11-01 Christian Kellner <gicmo@gnome.org>
4032 Add copyright information to source files.
4034 2007-11-01 Alexander Larsson <alexl@redhat.com>
4038 Add g_file_get_uri_scheme
4040 2007-11-01 Alexander Larsson <alexl@redhat.com>
4043 * gio/gdesktopappinfo.c:
4044 * gio/gwin32appinfo.c:
4045 Add g_app_info_get_default_for_uri_scheme.
4047 2007-11-01 Alexander Larsson <alexl@redhat.com>
4050 Correct filename for gdriveprivate.h
4052 2007-10-31 Alexander Larsson <alexl@redhat.com>
4055 Rename id:value to id:file
4058 * gio/glocalfileinfo.c:
4061 2007-10-31 Alexander Larsson <alexl@redhat.com>
4063 * gio/gunixvolume.c:
4065 Remove g_volume_get_platform_id, as thats not
4066 needed with the simpler union volume monitor
4068 2007-10-31 Alexander Larsson <alexl@redhat.com>
4071 * gio/guniondrive.[ch]: Removed.
4072 * gio/gunionvolume.[ch]: Removed.
4073 Remove GUnionDrive/Volume
4075 * gio/gunionvolumemonitor.c:
4076 Simplify union volume monitor, now we
4077 only have one native volume monitor and
4078 we use the actual volumes/drives from the
4079 child monitors instead of wrapping them
4081 * gio/gnativevolumemonitor.[ch]:
4082 Base class for native volume monitors.
4083 Includes priority and get_volume_for_mountpoint
4086 Add g_file_find_enclosing_volume
4089 Remove volume name fs attribute
4090 Add readonly fs attribute
4093 Implement readonly attribute
4094 remove volume name attribute
4095 Implement find_enclosing volume
4097 * gio/gunixmounts.c:
4098 Add a volume for "/".
4100 * gio/gunixvolume.[ch]:
4101 Set better name for /
4103 * gio/gunixvolumemonitor.[ch]:
4104 Derive from GNativeVolumeMonitor
4105 Implement get_volume_for_mountpoint
4108 GVolume typedef moved to gfile.h
4110 * gio/gvolumeprivate.h:
4111 Add g_volume_get_for_mount_path
4113 2007-10-31 Alexander Larsson <alexl@redhat.com>
4115 * gio/gunixmounts.[ch]:
4116 Add cache info to unix mount listers
4117 Make getmntent use threadsafe
4118 Add is_system_internal attribute for GUnixMount
4120 * gio/gunixvolume.c:
4121 (g_unix_volume_new):
4122 Use is_system_internal instead of own code
4124 * gio/glocaldirectorymonitor.c:
4125 * gio/gunixvolumemonitor.c:
4126 Update to new gunixmounts API
4131 2007-10-30 Alexander Larsson <alexl@redhat.com>
4134 Add volume name fsinfo attribute
4137 Read volume name info
4139 * gio/gunionvolumemonitor.c:
4140 Fix infinite loops when finalizing a union volume monitor
4142 2007-10-30 Alexander Larsson <alexl@redhat.com>
4144 * gio/goutputstream.[ch]:
4145 Add splice() with default implementation
4147 * gio/gsocketoutputstream.c:
4148 (g_socket_output_stream_write):
4149 Return error on cancellation correctly.
4151 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4153 * gio/glocalfile.c (g_local_file_trash):
4154 Do not leak a string.
4156 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4158 * gio/gfile.c (g_file_load_contents):
4159 Unref the stream after closing it.
4161 2007-10-25 Alexander Larsson <alexl@redhat.com>
4163 * gio/gioscheduler.h:
4166 2007-10-25 Alexander Larsson <alexl@redhat.com>
4170 Add g_file_has_uri_scheme and implement for local files
4172 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4174 * gio/gdesktopappinfo.c: do not leak a string.
4176 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4178 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4179 (g_local_directory_monitor_new):
4180 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4181 (g_local_file_monitor_new):
4182 Only look for the monitor type that should be used the first time
4183 and use g_qsort_with_data() instead of our own bubble sort
4186 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4189 * gio/fam/Makefile.am:
4190 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4191 * gio/fam/fam-helper.h:
4192 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4193 * gio/fam/gfamdirectorymonitor.c:
4194 * gio/fam/gfamdirectorymonitor.h:
4195 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4196 * gio/fam/gfamfilemonitor.h:
4197 * gio/glocaldirectorymonitor.c:
4198 * gio/glocaldirectorymonitor.h:
4199 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4200 * gio/glocalfilemonitor.h:
4201 * gio/inotify/Makefile.am:
4202 * gio/inotify/ginotifydirectorymonitor.c:
4203 * gio/inotify/ginotifydirectorymonitor.h:
4204 * gio/inotify/ginotifyfilemonitor.c:
4205 * gio/inotify/ginotifyfilemonitor.h:
4206 Implement the FAM and Inotify monitors as
4207 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4208 their own GIO module. GLocal(Directory|File)Monitor will use the
4209 monitor with the highest rank that is supported on that machine.
4211 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4214 Change GIO module dir to $(libdir)/gio/modules and change
4215 the log domain from GVFS to GIO. Also only export symbols starting
4216 with g_ in the resulting library.
4217 * gio/test-streams.c: (main):
4218 Set log handler for the GIO log domain.
4220 2007-10-22 Alexander Larsson <alexl@redhat.com>
4222 * gio/gfilenamecompleter.[ch]:
4223 Add g_filename_completer_set_dirs_only
4225 2007-10-22 Alexander Larsson <alexl@redhat.com>
4228 * gio/gurifuncs.[ch]:
4229 Add some simple URI helpers
4231 * gio/gfilenamecompleter.[ch]:
4232 Added object for filename (parse name actually) completion
4235 Handle ~ in parse names
4237 2007-10-17 Alexander Larsson <alexl@redhat.com>
4240 * gio/glocalfileinfo.c:
4241 Add and implement id:value attribute
4243 2007-10-17 Alexander Larsson <alexl@redhat.com>
4246 * gio/guniondrive.c:
4248 Add and implement g_drive_has_volumes
4250 2007-10-17 Alexander Larsson <alexl@redhat.com>
4253 * gio/glocalfileinfo.[ch]:
4254 Add unix:is_mountpoint and implement for local files
4256 2007-10-16 Alexander Larsson <alexl@redhat.com>
4258 * gio/gunionvolumemonitor.c:
4259 (g_union_volume_monitor_init):
4260 Fix up the unix type getting so that it works with gcc
4262 2007-10-12 Alexander Larsson <alexl@redhat.com>
4265 * gio/glocalfileinfo.c:
4266 Add thumbnail:failed to file info
4268 2007-10-12 Richard Hult <richard@imendio.com>
4270 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4271 optimizing away the get_type call (happens with some gcc versions,
4272 like the one shipped with OS X 10.4).
4274 2007-10-12 Alexander Larsson <alexl@redhat.com>
4276 * gio/glocalfileinfo.c:
4277 (_g_local_file_info_set_attribute):
4278 Fix build if not HAVE_XATTR
4279 Patch from Milosz Derezynski <internalerror@gmail.com>
4281 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4283 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4284 around for review, otherwise I would have asked you before
4287 2007-10-11 Alexander Larsson <alexl@redhat.com>
4290 Add thumbnail:path attribute
4292 * gio/glocalfileinfo.c:
4293 Implement thumbnail:path for local files
4295 2007-10-11 Alexander Larsson <alexl@redhat.com>
4297 * gio/glocalfileinfo.c:
4298 (_g_local_file_info_get):
4299 Avoid duplicate icon names
4301 2007-10-11 Alexander Larsson <alexl@redhat.com>
4303 * gio/gthemedicon.[ch]:
4304 Change g_themed_icon_get_names return type to const
4306 2007-10-10 Alexander Larsson <alexl@redhat.com>
4308 * gio/glocalfileinfo.c:
4309 Don't reference freed memory
4311 2007-10-10 Alexander Larsson <alexl@redhat.com>
4313 * gio/gfileattribute.c:
4316 * gio/glocalfileinfo.c:
4319 2007-10-10 Alexander Larsson <alexl@redhat.com>
4322 Check for NULL icons
4324 * gio/gfileattribute.c:
4325 Don't dup when getting objects (same as for string attributes)
4327 * gio/gicon.c (g_icon_equal):
4328 Safely handle NULLs in equal
4330 2007-10-10 Alexander Larsson <alexl@redhat.com>
4333 Fix c++ compilation issues
4334 Patch from Milosz Derezynski <internalerror@gmail.com>
4336 2007-10-10 Alexander Larsson <alexl@redhat.com>
4338 * programs/gio-monitor-dir.c:
4339 Don't crash if dir monitor not supported.
4341 2007-10-09 Alexander Larsson <alexl@redhat.com>
4344 Add missing G_END_DECLS
4346 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4348 * gio/gfile.c: (g_file_set_display_name),
4349 (g_file_query_settable_attributes),
4350 (g_file_query_writable_namespaces):
4351 Return NULL not FALSE on errors as the return type is a pointer.
4353 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4355 * gio/glocalfile.c: (g_local_file_monitor_file):
4356 Don't call monitor_file on the default interface vtable (which
4357 is NULL) but simply return NULL. The caller, GFile, will create a
4358 polling monitor if NULL is returned.
4360 2007-10-09 Alexander Larsson <alexl@redhat.com>
4364 * gio-unix-2.0.pc.in:
4365 Add gio-unix-2.0.pc if OS_UNIX
4368 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4370 2007-10-09 Alexander Larsson <alexl@redhat.com>
4372 * gio/gunixmounts.[ch]:
4373 Make unix mount monitoring API sane.
4374 Now its just a object with mounts_changed
4375 and mountpoints_changed signals.
4377 * gio/glocaldirectorymonitor.c:
4378 * gio/gunixvolumemonitor.c:
4379 Use new mount monitor api
4381 2007-10-09 Alexander Larsson <alexl@redhat.com>
4383 * gio/gunixmounts.[ch]:
4384 Move guess type into one call for mounts and one for mountpoints
4387 * gio/gunixvolume.c:
4390 2007-10-09 Alexander Larsson <alexl@redhat.com>
4392 * gio/gunixmounts.[ch]:
4393 Remove _ prefix in preparation to make this semi-public
4394 Hide implementation of structs
4396 * gio/glocaldirectorymonitor.c:
4398 * gio/gunixvolume.c:
4399 * gio/gunixvolumemonitor.c:
4400 Update for above API changes
4402 2007-10-08 Alexander Larsson <alexl@redhat.com>
4405 Better polling fallback. This also handles the case where we have
4406 a monitor_file implementation, but it fails.
4408 2007-10-08 Alexander Larsson <alexl@redhat.com>
4412 * gio/gunixmounts.c:
4413 * programs/gio-monitor-dir.c:
4414 * programs/gio-monitor-file.c:
4415 Added cancellable to file monitoring calls.
4416 These are really sync calls and need this.
4418 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4420 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4421 (g_local_vfs_class_init):
4422 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4423 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4425 2007-10-05 Alexander Larsson <alexl@redhat.com>
4427 * gio/gdirectorymonitorprivate.h:
4428 * gio/gfilemonitorprivate.h:
4429 * gio/gdirectorymonitor.h:
4430 * gio/gfilemonitor.h:
4431 Remove *private.h and move to the public API, so that
4432 we can do implementations outside gio (such as in gvfs)
4434 * gio/gdirectorymonitor.c:
4435 * gio/gfilemonitor.c:
4436 * gio/glocaldirectorymonitor.c:
4437 * gio/gpollfilemonitor.c:
4438 * gio/inotify/inotify-helper.c:
4439 * gio/fam/fam-helper.c:
4440 Update to the new header names
4442 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4444 * gio/gdirectorymonitor.c:
4445 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4448 2007-10-04 Alexander Larsson <alexl@redhat.com>
4450 * gio/glocalfileinfo.c (get_access_rights):
4451 Set CAN_TRASH when we can move the file.
4452 We should really also check for a parent trash dir.
4454 2007-10-04 Alexander Larsson <alexl@redhat.com>
4456 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4457 Add can_trash access attribute
4459 2007-10-04 Alexander Larsson <alexl@redhat.com>
4462 (g_local_file_trash):
4463 Create info file first. This is per-spec and allows
4464 us to actually trash directories.
4466 2007-10-02 Alexander Larsson <alexl@redhat.com>
4468 * gio/gdesktopappinfo.c:
4469 Implement the new mime support code.
4470 Always set app as handling mimetype when being set as default for it
4472 2007-10-01 Alexander Larsson <alexl@redhat.com>
4474 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4475 Fix up check for xattrs:
4477 2007-10-01 Alexander Larsson <alexl@redhat.com>
4480 (g_app_info_set_as_default_for_extension):
4481 (g_app_info_add_supports_type):
4482 (g_app_info_can_remove_supports_type):
4483 (g_app_info_remove_supports_type):
4484 Make these fail nicely if not implemented
4486 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4488 * gio/glocalfileoutputstream.c:
4489 * gio/glocalfileoutputstream.h:
4494 * programs/gio-save.c:
4495 Add a GFileCreateFlags argument to operations that can create
4498 2007-10-01 Alexander Larsson <alexl@redhat.com>
4500 * gio/gappinfo.[ch]:
4501 * gio/gdesktopappinfo.c:
4502 Add more (stubbed out) mime API needed for nautilus
4504 2007-10-01 Alexander Larsson <alexl@redhat.com>
4507 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4508 Add g_app_info_set_as_default_for_extension.
4510 * gio/gdesktopappinfo.c:
4511 Dummy for g_app_info_set_as_default_for_extension
4512 Support flags in g_app_info_create_from_commandline
4514 * gio/gwin32appinfo.c:
4516 Update for API changes
4518 * gio/gthemedicon.c:
4519 Properly NULL-terminate list of icon names
4521 2007-09-28 Alexander Larsson <alexl@redhat.com>
4523 * gio/gloadableicon.h:
4524 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4526 2007-09-28 Alexander Larsson <alexl@redhat.com>
4529 Install headers in $includedir/gio-standalone/
4531 * gio-2.0.pc.in: Added.
4532 * gio-standalone.pc.in: Removed.
4535 Renamed pkg-config file to match glib (for future move)
4536 Update to the new include dir
4539 Add more TODO comments
4541 2007-09-28 Alexander Larsson <alexl@redhat.com>
4543 * gio/gdesktopappinfo.[ch]:
4544 Expose new_from_filename
4545 Add getter for is_hidden and handle it better
4547 2007-09-28 Alexander Larsson <alexl@redhat.com>
4549 * gio/gfileinfo.[ch]:
4550 Rename g_file_size_format_for_display to
4551 g_format_file_size_for_display.
4552 Now it doesn't have the g_file prefix, so we
4553 can later move it to glib.
4555 2007-09-28 Alexander Larsson <alexl@redhat.com>
4557 * gio/gappinfo.[ch]:
4558 Add g_app_info_get_id and g_app_info_get_executable.
4559 Make all getters non-reffing
4560 Make g_app_info_launch take GFile arguments.
4561 Add must_support_uris argument to g_app_info_get_default_for_type.
4563 * gio/gwin32appinfo.c:
4564 Update to GAppInfo api changes
4566 * gio/gdesktopappinfo.c:
4567 Update to GAppInfo api changes
4568 Implement supports_xdg_startup_notify
4570 * gio/gfileicon.c (g_file_icon_get_file):
4571 Make getter non-reffing.
4576 2007-09-27 Alexander Larsson <alexl@redhat.com>
4578 * gio/gfileinfo.[ch]:
4579 Add g_file_size_format_for_display helper
4581 2007-09-27 Alexander Larsson <alexl@redhat.com>
4583 * gio/glocalfileinfo.c:
4584 Set UNIX_GID from gid, not from uid
4586 2007-09-27 Alexander Larsson <alexl@redhat.com>
4589 Add g_file_set_attributes_async
4591 2007-09-27 Alexander Larsson <alexl@redhat.com>
4593 * gio/glocalfile.c (g_local_file_set_display_name):
4594 Fix set_display_name to actually rename to the right place.
4595 Use lstat to look for existing files so we don't overwrite
4598 2007-09-26 Alexander Larsson <alexl@redhat.com>
4601 Add g_file_set_display_name_async()
4603 2007-09-26 Alexander Larsson <alexl@redhat.com>
4606 Add load_partial_contents async calls
4609 Make internal function static
4611 2007-09-26 Alexander Larsson <alexl@redhat.com>
4613 * gio/glocalfileinfo.c:
4614 Correctly detect broken symlinks
4616 2007-09-26 Alexander Larsson <alexl@redhat.com>
4618 * gio/gcancellable.c (g_cancellable_cancel):
4619 Allow cancel on NULL cancellable
4621 2007-09-25 Alexander Larsson <alexl@redhat.com>
4623 * gio/gsimpleasyncresult.c:
4624 Don't allocate g_error manually.
4625 Fixes g_slice/g_new mixup crash
4627 2007-09-25 Alexander Larsson <alexl@redhat.com>
4629 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4630 Actually set active_backend.
4631 This means the monitor will be cancelled correctly.
4633 2007-09-25 Alexander Larsson <alexl@redhat.com>
4635 * gio/gdirectorymonitor.c:
4636 Set timeout to NULL when destroying
4638 2007-09-25 Alexander Larsson <alexl@redhat.com>
4641 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4642 that is a better description of the error.
4644 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4646 * gio/gvfs.c: (g_vfs_get_local):
4647 Make the local vfs variable static. The same instance should
4650 2007-09-24 Alexander Larsson <alexl@redhat.com>
4652 * gio/glocalfileinfo.c:
4653 Pass in actual length read into sniffer, not the length
4656 2007-09-21 Alexander Larsson <alexl@redhat.com>
4658 * gio/gfileenumerator.c:
4661 * gio/gfileinputstream.c:
4662 * gio/gfileoutputstream.c:
4663 * gio/ginputstream.c:
4664 * gio/goutputstream.c:
4665 Don't crash if async callbacks are NULL
4667 2007-09-20 Alexander Larsson <alexl@redhat.com>
4670 Add async enumerate_children method and default
4673 2007-09-20 Alexander Larsson <alexl@redhat.com>
4676 Add g_file_contains_file & g_file_get_relative_path, since they
4677 were needed for nautilus.
4678 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4683 Implement new methods
4685 2007-09-17 Alexander Larsson <alexl@redhat.com>
4688 * gio/gfileinputstream.[ch]:
4689 * gio/gfileoutputstream.[ch]:
4691 * gio/glocalfileenumerator.[ch]:
4692 * gio/glocalfileinfo.[ch]:
4693 * gio/glocalfileinputstream.c:
4694 * gio/glocalfileoutputstream.c:
4695 * gio/gpollfilemonitor.c:
4696 * programs/gio-copy.c:
4697 * programs/gio-info.c:
4698 * programs/gio-move.c:
4699 Rename get_file_info to query_info() to make it clearer
4700 that these are not simple getters, but do i/o.
4702 2007-09-17 Alexander Larsson <alexl@redhat.com>
4704 * gio/gdatainputstream.[ch]:
4705 * gio/test-streams.c:
4706 Use _read_XXX instead of _get_XXX for the i/o calls
4709 2007-09-17 Alexander Larsson <alexl@redhat.com>
4712 Added needed stuff to TODO comment
4714 2007-09-17 Alexander Larsson <alexl@redhat.com>
4716 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4717 Don't error out removing the backup copy if it doesn't
4720 2007-09-14 Alexander Larsson <alexl@redhat.com>
4722 * programs/Makefile.am:
4723 * programs/gvfs-*.c:
4725 Renamed apps from gvfs-xxx to gio-xxx.
4727 2007-09-14 Alexander Larsson <alexl@redhat.com>
4730 * gio/gfileoutputstream.[ch]:
4731 * gio/glocalfileoutputstream.c:
4732 * programs/gvfs-save.c:
4733 g_file_output_stream_get_etag doesn't do i/o, so remove
4734 cancellation and error.
4736 2007-09-14 Alexander Larsson <alexl@redhat.com>
4739 Add new_etag output to replace_contents functions
4741 2007-09-14 Alexander Larsson <alexl@redhat.com>
4743 * gio/gfileoutputstream.[ch]:
4744 Add async get_file_info and default implementation
4746 2007-09-14 Alexander Larsson <alexl@redhat.com>
4748 * gio/gfileinputstream.c:
4749 Implement fallback wrapper for async get_file_info
4751 2007-09-14 Alexander Larsson <alexl@redhat.com>
4754 Add etag out argument to load_contents
4759 2007-09-14 Alexander Larsson <alexl@redhat.com>
4761 * gio/gcontenttype.c (looks_like_text):
4762 Whitespace like tab, cr and lf do not make the
4765 2007-09-14 Alexander Larsson <alexl@redhat.com>
4767 * gio/gfileinputstream.[ch]:
4768 Add async get_file_info.
4770 2007-09-13 Alexander Larsson <alexl@redhat.com>
4772 * gio/goutputstream.c (g_output_stream_write_all):
4773 Allow NULL for bytes_written
4775 2007-09-13 Alexander Larsson <alexl@redhat.com>
4777 * gio/gmemoryinputstream.[ch]:
4778 Add accessors for data
4780 2007-09-13 Alexander Larsson <alexl@redhat.com>
4782 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4783 Don't crash if length is NULL