1 2008-08-08 Tor Lillqvist <tml@novell.com>
3 * gwin32volumemonitor.c (get_connected_drives): Put questionable
4 code that didn't actually do anything inside #if 0, and add a
5 comment wondering what the code was supposed to do. This also gets
6 rid of a leftover debugging printout.
8 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
10 * gfileicon.c (g_file_icon_get_property)
11 (g_file_icon_set_property): New functions.
12 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
14 (g_file_icon_new): Use the property (bug #546132).
16 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
18 * gthemedicon.c (g_themed_icon_get_property): Also handle
19 `PROP_USE_DEFAULT_FALLBACKS'.
20 (g_themed_icon_class_init): Make
21 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
23 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
25 Bug 546371 – Improve docs re g_file_monitor
27 * gfilemonitor.c: Mention g_file_monitor() in the docs.
29 2008-08-04 Matthias Clasen <mclasen@redhat.com>
31 * === Released 2.17.6 ===
33 2008-08-04 Matthias Clasen <mclasen@redhat.com>
35 * === Released 2.17.5 ===
37 2008-08-04 Matthias Clasen <mclasen@redhat.com>
39 Bug 546017 – Don't copy attributes when copying a symlink
41 * gfile.c (g_file_copy_attributes): Specify
42 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
43 g_file_set_attributes_from_info. Patch by Christian Kellner
45 2008-08-04 Matthias Clasen <mclasen@redhat.com>
49 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
50 a bit more extensible. Work by Clemens Buss.
52 * gioenums.h: Add GEmblemOrigin.
55 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
57 Bug 546079 – leak in xdgmime
59 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
61 2008-08-03 Tor Lillqvist <tml@novell.com>
63 * win32/gwin32directorymonitor.h
64 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
67 2008-08-03 Tor Lillqvist <tml@novell.com>
69 * win32/gwin32directorymonitor.c
70 (g_win32_directory_monitor_callback): Make prototype match
71 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
72 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
75 (g_win32_directory_monitor_constructor):
76 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
77 names in the GLib API on Windows, so convert to UTF-16 and open
80 2008-08-03 Tor Lillqvist <tml@novell.com>
82 Bug 541036 - Gnumeric crashes when trying to open Desktop or
83 user's folder under Windows
85 * win32/gwin32directorymonitor.c
86 (g_win32_directory_monitor_constructor): Ignore error from
87 CreateFile() when opening directory. Instead of asserting, just
88 store INVALID_HANDLE_VALUE then in
89 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
90 ReadDirectoryChangesW().
91 (g_win32_directory_monitor_cancel): Don't attempt to close
92 directory handle if it is INVALID_HANDLE_VALUE.
94 2008-08-01 Matthias Clasen <mclasen@redhat.com>
96 * gdesktopappinfo.c: Remove debug spew
98 2008-08-01 Hans Breuer <hans@breuer.org>
100 * makefile.msc : add gemblembedicon
102 2008-07-30 Matthias Clasen <mclasen@redhat.com>
104 Bug 545457 – gdmsetup crashed with SIGSEGV in
105 g_unix_mount_guess_should_display()
107 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
108 crash if no mount is found.
110 2008-07-28 Matthias Clasen <mclasen@redhat.com>
112 Bug 545203 – gfile.c: argument is different type.
114 * gfile.c (open_read_async_thread): Pass a GError **
115 to g_file_set_error_literal.
116 Reported by Kazuki Iwamoto
118 2008-07-28 Matthias Clasen <mclasen@redhat.com>
120 Bug 545157 – wrong/no list of "open with" applications for .cc and
123 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
124 Collect all ancestors, not just direct parents. Pointed
125 out by Bastien Nocera
127 2008-07-28 Matthias Clasen <mclasen@redhat.com>
129 * Makefile.am: Install gemblemedicon.h
131 2008-07-28 Matthias Clasen <mclasen@redhat.com>
133 * gemblemedicon.[hc]: Add a GIcon implementation that can
134 add an emblem to another icon.
141 * gfileicon.c: Small documentation additions.
143 2008-07-28 Tor Lillqvist <tml@novell.com>
145 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
148 2008-07-27 Tor Lillqvist <tml@novell.com>
150 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
152 2008-07-24 David Zeuthen <davidz@redhat.com>
156 Also export a g_mount_guess_content_type_sync() function.
158 2008-07-23 Matthias Clasen <mclasen@redhat.com>
160 529694 – SELinux context setting support
162 * gfileinfo.c: Support setting selinux attributes.
163 Patch by Tomas Bzatek
165 2008-07-22 Priit Laes <plaes@plaes.org>
167 Bug 544140 - fam-helper 64-bit issue?
169 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
171 2008-07-21 Matthias Clasen <mclasen@redhat.com>
173 * === Released 2.17.4 ===
175 2008-07-20 Matthias Clasen <mclasen@redhat.com>
177 * gvolumemonitor.[hc]:
182 * gmount.c: Documentation fixes
184 2008-07-19 Matthias Clasen <mclasen@redhat.com>
186 543504 – crash in Epiphany Web Browser: Opening local file
197 * gvolume.c: Register types thread-safely.
198 Patch by Christian Persch
200 2008-07-18 Matthias Clasen <mclasen@redhat.com>
202 * gcontenttype.c: Remove debug spew
204 2008-07-18 Matthias Clasen <mclasen@redhat.com>
206 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
209 * fen/fen-kernel.c: Remove a warning that was causing
210 crashes. Reported by Lin Ma.
212 2008-07-18 Matthias Clasen <mclasen@redhat.com>
214 Bug 543040 – async reading on dummy file will crash on
217 * gfile.c (open_read_async_thread): Cope with read_fn being
218 NULL. Reported by Lin Ma.
220 2008-07-18 Matthias Clasen <mclasen@redhat.com>
223 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
225 2008-07-16 Matthias Clasen <mclasen@redhat.com>
229 * giomodule.c: Rename a chapter id to avoid filename conflict.
231 2008-07-16 Matthias Clasen <mclasen@redhat.com>
233 Bug 540616 – mem leak in filechooser button
235 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
236 the mount entry. Reported by Chrisitan Persch
238 2008-07-16 Matthias Clasen <mclasen@redhat.com>
240 * gfile.c: Small documentation fixes.
242 2008-07-15 Matthias Clasen <mclasen@redhat.com>
244 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
246 2008-07-08 Matthias Clasen <mclasen@redhat.com>
251 * gmount.c: Documentation improvements.
253 2008-07-08 Matthias Clasen <mclasen@redhat.com>
256 * gmount.[hc]: Add g_mount_guess_content_type().
258 2008-07-06 David Zeuthen <davidz@redhat.com>
261 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
262 is needed for easily handling adoption of foreign volumes by
263 out-of-process volume monitors (#541793)
265 2008-07-06 David Zeuthen <davidz@redhat.com>
267 * gvolumemonitor.[ch]:
268 * gunionvolumemonitor.c: Export the eject-button signal on the
269 volume monitor class (#541794).
271 2008-07-06 Matthias Clasen <mclasen@redhat.com>
273 * gappinfo.c: More doc tweaks
275 2008-07-05 Matthias Clasen <mclasen@redhat.com>
277 * gappinfo.c: Clarify some docs
279 2008-07-03 Matthias Clasen <mclasen@redhat.com>
281 * gdesktopappinfo.c: Fix a stupid mistake.
283 2008-07-02 Matthias Clasen <mclasen@redhat.com>
285 * === Released 2.17.3 ===
287 2008-07-02 Matthias Clasen <mclasen@redhat.com>
289 * gfilemonitor.c: Fix the build.
291 2008-07-02 Matthias Clasen <mclasen@redhat.com>
293 Bug 536160 – Add g_file_monitor()
296 * gfile.[hc]: Add g_file_monitor which can return either
297 a file or a directory monitor. Proposed by Behdad Esfahbod
299 2008-07-02 Matthias Clasen <mclasen@redhat.com>
301 536733 – gio build failure on Irix
303 * glocalfile.c: Use a configure check for structfs.f_bavail.
305 2008-07-02 Matthias Clasen <mclasen@redhat.com>
307 Bug 534639 – add g_desktop_app_info_new_from_keyfile
310 * gdesktopappinfo.[hc]: Add a function to create a
311 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
313 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
315 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
317 2008-07-01 Matthias Clasen <mclasen@redhat.com>
319 * gunixmounts.c: Fix a doc typo.
321 2008-07-01 Cody Russell <bratsche@gnome.org>
323 * gio/gcontenttype.c:
324 * gio/gwin32appinfo.c:
325 * gio/gwin32volumemonitor.c:
326 * gio/gwin32mount.c: Fixed some include problems.
328 2008-07-01 Cody Russell <bratsche@gnome.org>
332 Moved all relevant typedefs into these files.
335 Updated wrt added files.
337 Split types into separate file for easier maintainership. (#538564)
339 2008-06-30 Matthias Clasen <mclasen@redhat.com>
341 Bug 540331 – g_file_append_to () documentation: can return NULL
343 * gfile.c (g_file_append_to): Clarify docs.
346 2008-06-30 Matthias Clasen <mclasen@redhat.com>
348 Bug 539090 – g_content_type_from_mime_type() should unalias
350 * gcontentype.c (g_content_type_from_mime_type): Unalias.
351 Patch by Markus Bergman
353 2008-06-30 Matthias Clasen <mclasen@redhat.com>
355 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
358 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
359 on ppc and alpha. Reported by Mart Raudsepp
361 2008-06-29 Matthias Clasen <mclasen@redhat.com>
364 * tests/memory-output-stream.c: Add some tests for
367 2008-06-29 Matthias Clasen <mclasen@redhat.com>
369 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
372 * gmemoryoutputstream.c (array_resize): Handle truncation to
373 zero correctly. Reported by Akira Tagoh
375 2008-06-29 Matthias Clasen <mclasen@redhat.com>
377 * gmemoryoutputstream.c: Trivial doc fixes
379 2008-06-29 Matthias Clasen <mclasen@redhat.com>
381 Bug 540802 – g_list_prepend doesn't concat lists
383 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
384 one list to another. Pointed out by Jan Arne Petersen
386 2008-06-28 Michael Natterer <mitch@imendio.com>
388 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
390 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
392 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
393 to avoid problems with partial icon themes.
395 2008-06-17 Hans Breuer <hans@breuer.org>
397 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
398 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
399 access again on win32, see bug #538127
400 * giomodule.c : ensure GWin32VolumeMonitor is registered
401 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
402 * Makefile.am makefile.msc : updated
404 2008-06-16 Hans Breuer <hans@breuer.org>
406 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
407 and initialization in one step avoids c99ism
409 2008-06-16 Christian Persch <chpe@gnome.org>
412 * gio/gbufferedinputstream.c
414 * gio/gdatainputstream.c
415 * gio/gdesktopappinfo.c
417 * gio/gfileenumerator.c
418 * gio/gfileinputstream.c
419 * gio/gfileoutputstream.c
421 * gio/glocaldirectorymonitor.c
423 * gio/glocalfileenumerator.c
424 * gio/glocalfileinfo.c
425 * gio/glocalfilemonitor.c
426 * gio/glocalfileoutputstream.c
427 * gio/gmemoryinputstream.c
428 * gio/gmemoryoutputstream.c
429 * gio/goutputstream.c
430 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
433 2008-06-16 Tor Lillqvist <tml@novell.com>
435 Bug 538362 - Get Win32 icons back in the file chooser
437 * gcontenttype.c (g_content_type_get_icon): Look up the icon
438 corresponding to a file extension in the Registry. Patch by Hans
440 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
442 2008-06-16 Tor Lillqvist <tml@novell.com>
444 Patches by Hans Breuer:
446 * glocalfile.c (is_xp_or_later): Handle compiling against older
447 SDK headers with missing VerifyVersionInfo(). Conditioned on
448 _MSC_VER, but should probably use some better test.
449 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
450 uninitialised statfs_result variable on Win32.
452 2008-06-16 Michael Natterer <mitch@imendio.com>
454 * *.c: chain up unconditionally in finalize() and dispose(). Also
455 don't dereference these function pointers when calling them since
456 that has no meaning at all.
458 2008-06-16 Ross Burton <ross@burtonini.com>
461 Remove check for dispose implementation as it annoys Emmanuele.
463 2008-06-16 Ross Burton <ross@burtonini.com>
465 Bug 536252 – GFileEnumerator should allow access to the containing
471 Add g_file_enumerator_get_container() and a container writeable
472 construct-only property. Also shuffle around typedefs to make it
475 * glocalfileenumerator.c:
476 * glocalfileenumerator.h:
478 Instead of a string filename take a GFile in the constructor and
479 use it to set the container property.
484 2008-06-16 Matthias Clasen <mclasen@redhat.com>
486 * gfile.c: Make includes more uniform
488 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
490 * tests/live-g-file.c (sample_struct):
491 Use less fancy unicode filenames, so the test doesn't fail
492 on Mac OS X (#531476).
494 2008-06-12 Matthias Clasen <mclasen@redhat.com>
496 * === Released 2.17.2 ===
498 2008-06-12 Matthias Clasen <mclasen@redhat.com>
500 * === Released 2.17.1 ===
502 2008-06-11 A. Walton <awalton@gnome.org>
504 * tests/g-file.c (test_g_file_new_null):
505 Fix broken test case.
507 2008-06-11 Matthias Clasen <mclasen@redhat.com>
509 * pltcheck.sh: We use g_clear_error now.
511 2008-06-11 Matthias Clasen <mclasen@redhat.com>
513 * glocalfile.c (g_local_file_enumerate_children): Revert
514 an unintended change.
516 2008-06-11 Matthias Clasen <mclasen@redhat.com>
518 * gfile.c (g_file_replace_contents): Don't unref before the last use.
520 2008-06-10 Matthias Clasen <mclasen@redhat.com>
522 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
525 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
526 as icon for the desktop directory, also make user-home and
527 user-desktop the preferred icons.
529 2008-06-10 Matthias Clasen <mclasen@redhat.com>
532 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
533 to add a name to the front of the list.
535 2008-06-10 Matthias Clasen <mclasen@redhat.com>
537 Bug 537392 – Additional colon in xattr name
539 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
540 too. Reported by Alessandro Morandi
542 2008-06-10 Matthias Clasen <mclasen@redhat.com>
544 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
547 * glocalfile.c (get_fs_type): Add afs and autofs.
548 Patch by Danny Baumann.
550 2008-06-10 Matthias Clasen <mclasen@redhat.com>
552 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
554 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
555 is no parent. (Owen Taylor, patch by Christian Neumair)
557 2008-06-10 Paolo Borelli <pborelli@katamail.com>
559 * gfile.c (g_file_replace_contents): do not leak the output stream.
561 2008-06-10 Michael Natterer <mitch@imendio.com>
563 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
564 uninitialized memory as array index.
566 2008-06-10 Tor Lillqvist <tml@novell.com>
568 * gcontenttype.c (g_content_type_can_be_executable)
569 (g_content_type_get_icon) [Win32]: Add TODO comments.
571 2008-06-09 Matthias Clasen <mclasen@redhat.com>
573 * xdgmime/Makefile.am: Fix the build
575 2008-06-09 Matthias Clasen <mclasen@redhat.com>
577 * gcontenttype.c (g_content_type_get_icon): Use icons specified
578 in the shared mime database, if available.
580 * xdgmime/*: Sync with upstream. This brings support for
581 glob weights, generic icons, and changes the cache format to
584 2008-05-28 Michael Natterer <mitch@imendio.com>
586 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
587 the global CPPFLAGS now.
589 * tests/data-input-stream.c
590 * tests/data-output-stream.c
591 * tests/g-file-info.c
593 * tests/live-g-file.c
594 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
596 2008-05-27 Matthias Clasen <mclasen@redhat.com>
598 * === Released 2.17.0 ===
600 * tests/live-g-file.c: Clean up after the tests, so make distcheck
601 doesn't complain about leftover files.
603 2008-05-27 simon.zheng <simon.zheng@sun.com>
605 * glocalfile.c: (g_local_file_query_filesystem_info):
606 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
608 2008-05-26 Michael Natterer <mitch@imendio.com>
610 * gmemoryoutputstream.h: declare
611 g_memory_output_stream_get_data_size().
613 2008-05-26 Matthias Clasen <mclasen@redhat.com>
615 * tests/*: Make tests work
617 2008-05-26 Matthias Clasen <mclasen@redhat.com>
619 * gio.symbols: Add g_memory_output_stream_get_data_size.
621 2008-05-25 Ross Burton <ross@burtonini.com>
624 Fix typo in error message (#534764).
626 2008-05-25 Ross Burton <ross@burtonini.com>
629 Fix circular dependency loop for gioenumtypes.h (#534759).
631 2008-05-19 Hans Breuer <hans@breuer.org>
633 * Makefile.am : EXTRA_DIST += makefile.msc
635 2008-05-17 Matthias Clasen <mclasen@redhat.com>
638 * gcontenttype.c: (g_content_type_from_mime_type):
639 New function to create a content type from a mime type. (#527175,
642 2008-05-17 Matthias Clasen <mclasen@redhat.com>
644 Bug 532965 – Should not return filesystem::free for certain file systems
646 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
647 free space for ncpfs.
649 2008-05-17 Matthias Clasen <mclasen@redhat.com>
651 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
653 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
654 st_dev might be zero.
656 2008-05-16 Tor Lillqvist <tml@novell.com>
658 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
659 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
661 2008-05-13 Bastien Nocera <hadess@hadess.net>
663 * gfile.c (has_valid_scheme): A URI scheme must start with a
664 letter, even if later more characters are allowed (#532852)
666 2008-05-05 Michael Natterer <mitch@imendio.com>
668 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
669 code from being checked in that breaks the build of applications
670 which use G_DISABLE_SINGLE_INCLUDES.
672 * makegioalias.pl: make the alias file include "glib.h" instead of
675 * gio.symbols: whitespace change to force regeneration of the
676 alias file after above script change.
678 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
680 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
682 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
684 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
686 2008-04-28 David Zeuthen <davidz@redhat.com>
688 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
689 displaying mounts in a subdirectory not accessible to the
692 2008-04-22 Michael Natterer <mitch@imendio.com>
694 * Makefile.am: fix library versioning (it was 0.0.0).
696 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
698 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
699 Default disable all loggings.
700 * fen/fen-kernel.c: (printevent), (port_add_kevent),
701 (port_fetch_event_cb): Fixed two macro nits.
703 2008-04-16 Matthias Clasen <mclasen@redhat.com>
705 * xdgmime/xdgmime.c: Rework the timestamp checking code
706 to protect against duplicate directories in XDG_DATA_DIRS.
707 Fixes fd.o bug 12513, reported by Joe Shaw.
709 2008-04-16 Matthias Clasen <mclasen@redhat.com>
711 Partically revert the last commit after realizing that
712 xdg_mime_media_type_equal doesn't have to init at all.
715 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
717 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
719 2008-04-16 Matthias Clasen <mclasen@redhat.com>
721 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
722 reported by Joe Shaw and Federico Mena Quintero.
724 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
725 (xdg_mime_media_type_equal): Turn into a wrapper around the
728 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
729 functions throughout.
731 2008-04-16 Michael Meeks <michael.meeks@novell.com>
733 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
734 tolerate an empty TryExec= line without failing; nautilus used
735 to create launchers with these in previous versions. Fixes #528433
737 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
739 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
740 after name. Fixes #527132.
742 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
744 * gfile.c: (g_file_replace):
747 2008-04-07 Matthias Clasen <mclasen@redhat.com>
749 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
751 * gfile.c (file_copy_fallback): Fix the argument order. Patch
752 by Christian Kellner.
754 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
756 * gunixmounts.c: (g_unix_mount_guess_should_display):
757 Don't list the user directory as a mount, fix potential issue
758 when other users have a similar naming and don't special case the
759 gvfs mounts there since that's not required (#525866)
761 2008-03-31 Alexander Larsson <alexl@redhat.com>
763 * glocalfile.c (get_parent):
766 2008-03-31 A. Walton <awalton@svn.gnome.org>
768 * gfile.c (g_file_query_file_type):
769 Always return a GFileType enum value (#520715).
771 2008-03-31 Alexander Larsson <alexl@redhat.com>
773 * glocalfileenumerator.c:
774 Read readdir() info in chunks (of 1000) and sort
775 the chunks by inode before stat:ing.
776 This is a 20% performance increase in testing
777 gvfs-ls on /usr/bin with cold cache.
779 2008-03-31 Alexander Larsson <alexl@redhat.com>
781 * gmemoryoutputstream.c:
782 Clarify docs for g_memory_output_stream_get_size.
783 Add g_memory_output_stream_get_data_size.
785 2008-03-30 Matthias Clasen <mclasen@redhat.com>
789 * gfile.h: Add g_file_query_file_type convenience function
790 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
792 2008-03-30 Matthias Clasen <mclasen@redhat.com>
795 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
797 2008-03-28 A. Walton <awalton@svn.gnome.org>
799 * giomodule.c (_g_io_modules_ensure_loaded):
800 Adds GIO_EXTRA_MODULES environment variable support, closing bug
803 2008-03-28 Alexander Larsson <alexl@redhat.com>
806 (copy_stream_with_progress):
809 2008-03-28 Alexander Larsson <alexl@redhat.com>
812 (copy_stream_with_progress):
813 (file_copy_fallback):
814 Fallback to g_file_query_info for source size
815 if g_file_input_stream_query_info fails. (#524579)
817 2008-03-28 Alexander Larsson <alexl@redhat.com>
819 * glocalfile.c (g_local_file_move):
820 Reuse old string instead of adding new one.
822 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
824 * fen/*.[hc]: still copyright issue. I hate copyright.
826 2008-03-27 Alexander Larsson <alexl@redhat.com>
828 * glocalfile.c (g_local_file_move):
829 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
830 file over directory. This is according to the docs and what the move via
831 copy+remove fallback does.
833 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
835 * fen/*.[hc]: Updated copyright.
837 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
839 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
841 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
843 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
844 not emit attribute changed events when optimizing changed events.
845 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
848 2008-03-19 Matthias Clasen <mclasen@redhat.com>
850 * gmountoperation.[hc]: Small documentation additions
852 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
854 * gunixmounts.c: (guess_mount_type):
855 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
857 2008-03-19 Alexander Larsson <alexl@redhat.com>
860 (copy_stream_with_progress):
861 Bump block side for copy to 64k to minimize
862 overhead for low latency links. (#523015)
864 2008-03-16 Tor Lillqvist <tml@novell.com>
866 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
867 depend on gio.def on Windows.
869 2008-03-12 David Zeuthen <davidz@redhat.com>
873 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
875 2008-03-14 Alexander Larsson <alexl@redhat.com>
879 Avoid redudant tests (#521851)
880 Patch from Josselin Mouette
882 2008-03-14 Alexander Larsson <alexl@redhat.com>
885 (g_file_monitor_is_cancelled):
886 Fix C89 issue (#521672)
887 Patch from Jens Granseuer
889 2008-03-14 Alexander Larsson <alexl@redhat.com>
891 * fam/fam-helper.[ch]:
893 Shut down fam (including removing fam GSource) when
894 module is unloaded (#521513)
895 Patch from Joe Marcus Clarke
897 2008-03-14 Alexander Larsson <alexl@redhat.com>
900 (_g_io_modules_ensure_loaded):
903 2008-03-14 Alexander Larsson <alexl@redhat.com>
906 (g_local_file_query_filesystem_info):
907 Use right define name for f_fstypename member check
909 2008-03-14 Alexander Larsson <alexl@redhat.com>
912 * fen/Makefile.am: Added.
913 * fen/fen-data.[ch]: Added.
914 * fen/fen-dump.[ch]: Added.
915 * fen/fen-helper.[ch]: Added.
916 * fen/fen-kernel.[ch]: Added.
917 * fen/fen-missing.[ch]: Added.
918 * fen/fen-node.[ch]: Added.
919 * fen/fen-sub.[ch]: Added.
920 * fen/gfendirectorymonitor.[ch]: Added.
921 * fen/gfenfilemonitor.[ch]: Added.
923 Added Solaris FEN file notification backend.
924 Patch from Lin Ma <Lin.Ma@Sun.COM>
926 2008-03-13 Tor Lillqvist <tml@novell.com>
928 * Makefile.am: Actually use the gio.def file when linking the
929 library on Windows. Produce .lib library for Microsoft's toolchain
930 when possible. Install the .lib and .def file like for the other
933 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
935 * tests/live-g-file.c:
936 Include live-g-file in standard set of tests, making a temporary
937 directory in source structure.
939 Clean target directory before the tests (write mode only)
941 2008-03-12 Tor Lillqvist <tml@novell.com>
943 Bug 517419 - gio win32 directory monitor
944 Implementation by Vlad Grecescu.
947 * win32/gwin32directorymonitor.h
948 * win32/gwin32directorymonitor.c: New files.
950 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
952 * Makefile.am: Add the win32 subdirectory.
954 2008-03-12 Tor Lillqvist <tml@novell.com>
956 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
957 normal struct stat on Unix but struct _stati64 on Windows to have
958 access to 64-bit file size information. Use that instead of struct
959 stat in the functions declared here in this private header.
961 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
962 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
963 warnings about unused functions and variables. Don't set
964 meaningless attributes like inode numbers on Windows.
966 2008-03-12 Benjamin Otte <otte@gnome.org>
969 trim whitespace so gtk-doc groks the function name
971 2008-03-12 Tor Lillqvist <tml@novell.com>
973 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
974 returning FALSE, on Win32.
976 2008-03-11 Alexander Larsson <alexl@redhat.com>
979 * glocalfileinfo.[ch]:
980 Correctly implement can_trash by actually
981 looking for a trash dir, not just assuming
984 2008-03-10 Matthias Clasen <mclasen@redhat.com>
986 * === Released 2.16.1 ===
988 2008-03-11 Alexander Larsson <alexl@redhat.com>
991 Fix crashes in new constructor and properties code
993 2008-03-10 Murray Cumming <murrayc@murrayc.com>
995 * gfile.c: Minor spelling correction in documentation:
996 existance -> existence.
998 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1000 * === Released 2.16.0 ===
1002 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1004 * gio.symbols: Remove g_file_contains_file here, too.
1006 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1008 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1009 Samuel Cormier-Iijima)
1011 2008-03-08 Tor Lillqvist <tml@novell.com>
1013 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1016 2008-03-07 Alexander Larsson <alexl@redhat.com>
1019 (g_local_file_query_filesystem_info):
1020 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1021 Patch from Jasper Lievisse Adriaanse
1023 2008-03-06 Tor Lillqvist <tml@novell.com>
1025 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1026 comments for the *_USEC attributes.
1028 2008-03-06 Alexander Larsson <alexl@redhat.com>
1030 * gfile.c (g_file_query_exists):
1031 Add g_return_val_if_fail check (#520700)
1033 2008-03-06 Alexander Larsson <alexl@redhat.com>
1035 * gdesktopappinfo.c:
1038 * gunionvolumemonitor.c:
1041 * tests/live-g-file.c:
1042 * xdgmime/xdgmimecache.c:
1043 Fix sparse warnings (#519489)
1045 2008-03-05 Alexander Larsson <alexl@redhat.com>
1048 Make cancellation threadsafe (i.e.
1049 guarantee its only done once, and always
1052 * glocaldirectorymonitor.c:
1053 Make sure we the monitor lives while the
1054 mounts_changed callback is being called (#520484)
1056 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1058 * gbufferedinputstream.c: Fix typo in parameter
1061 2008-03-04 Alexander Larsson <alexl@redhat.com>
1064 Remove deprecated symbols we kept for one release.
1066 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1069 * goutputstream.c: Tiny documentation corrections.
1071 2008-03-03 Alexander Larsson <alexl@redhat.com>
1073 * gunionvolumemonitor.c:
1075 Fix the adopt_orphan_mount vfunc to take a
1076 volume_monitor reference in an ABI compat way.
1077 This change is not API compat, but the added
1078 arg is not used in the only user of this vfunc, so
1079 all we get is a harmless warning in gvfs (#520169)
1081 2008-03-01 Benjamin Otte <otte@gnome.org>
1084 clarify docs for g_file_delete().
1086 2008-02-29 Alexander Larsson <alexl@redhat.com>
1090 Make sure empty files get text/plain type (#518720)
1092 2008-02-27 Alexander Larsson <alexl@redhat.com>
1098 (g_unix_volume_mount):
1099 Add missing GMountMountFlags argument
1101 2008-02-26 Alexander Larsson <alexl@redhat.com>
1104 (g_local_file_delete):
1105 Handle filesystems (like ntfs-3g) that return EEXIST instead
1106 of ENOTEMPTY (#518816)
1108 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1110 * === Released 2.15.6 ===
1112 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1114 * gfile.c (g_file_find_enclosing_mount):
1115 * ginputstream.c (g_input_stream_set_pending):
1116 * glocalfile.c (g_local_file_find_enclosing_mount):
1117 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1118 * goutputstream.c (g_output_stream_set_pending):
1120 Fixup translator comments (#518578).
1122 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1124 * gfile.c (g_file_find_enclosing_mount):
1126 * glocalfile.c (g_local_file_find_enclosing_mount):
1129 Fix a few typos in translator comments and documentation.
1131 2008-02-25 Alexander Larsson <alexl@redhat.com>
1138 Add translator comments (#518578)
1140 2008-02-25 Alexander Larsson <alexl@redhat.com>
1143 Reintroduce g_file_contains_file, keep around for one
1144 unstable release cycle to avoid crashing to many apps.
1145 Make sure to delete after release.
1147 2008-02-25 Alexander Larsson <alexl@redhat.com>
1150 Remove deprecated g_file_contains_file.
1152 2008-02-25 Alexander Larsson <alexl@redhat.com>
1155 Emit actual change signals in an idle handler.
1156 This avoids reentrance and locking problems in
1157 the file notification backends.
1159 2008-02-25 Alexander Larsson <alexl@redhat.com>
1162 (g_unix_mount_guess_should_display):
1163 Remove type guessing, instead just display
1164 mounts in /media and in ~/.
1166 2008-02-25 Alexander Larsson <alexl@redhat.com>
1169 Make new strings reuse old ones.
1171 2008-02-25 Alexander Larsson <alexl@redhat.com>
1174 Implement trashing and filesystem::readonly for win32 (#517235)
1175 Patch from Yevgen Muntyan
1177 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1179 * gfileinfo.h: Documentation fixes.
1181 2008-02-22 Alexander Larsson <alexl@redhat.com>
1183 * gcontenttype.c (g_content_type_get_icon):
1184 Look at old-style gnome mime icon names too, as many
1185 have not moved to the new style.
1187 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1189 * *.c: Correct the @include in for section docs.
1191 2008-02-21 David Zeuthen <davidz@redhat.com>
1193 * glocalfileinfo.c: (_g_local_file_info_get):
1195 (g_content_type_get_icon): Implement this function by
1196 moving bits from glocalfileinfo.c
1197 (g_content_type_get_description): Unalias before getting
1198 description (#517687)
1200 * gfile.c: (g_file_class_init),
1201 (g_file_query_filesystem_info_async),
1202 (g_file_query_filesystem_info_finish),
1203 (query_filesystem_info_data_free),
1204 (query_filesystem_info_async_thread),
1205 (g_file_real_query_filesystem_info_async),
1206 (g_file_real_query_filesystem_info_finish):
1207 * gfile.h: Implement async version of
1208 g_file_query_filesystem_info()
1210 * gfileinfo.h: Add new attributes for filesystem::use-preview
1212 * gio.symbols: Update
1214 * gthemedicon.c: (g_themed_icon_append_name):
1215 * gthemedicon.h: Add new new convenience function.
1217 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1218 (get_mounts), (get_volumes), (get_connected_drives),
1219 (get_volume_for_uuid), (get_mount_for_uuid),
1220 (g_union_volume_monitor_init), (populate_union_monitor),
1221 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1222 (g_volume_monitor_adopt_orphan_mount):
1224 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1225 monitor implementations to call into the main volume monitor. Also
1226 separate object initialization and volume monitor initialization
1227 such that non-native volume monitors can properly adopt their
1230 2008-02-21 Alexander Larsson <alexl@redhat.com>
1235 2008-02-21 Alexander Larsson <alexl@redhat.com>
1238 Add more documentation about how GFiles work (from #517086)
1240 2008-02-21 Alexander Larsson <alexl@redhat.com>
1244 Add new g_file_has_prefix that does the same as g_file_contains_file.
1245 Deprecate g_file_contains_file and add a macro that converts
1246 it to g_file_has_prefix.
1247 The reason for this change is that the contains_file() name seems to
1248 imply that this does more work than what it does, but its really only
1249 a name match (from #517086)
1254 Update to match the above change.
1256 2008-02-20 Benjamin Otte <otte@gnome.org>
1258 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1259 (g_file_eject_mountable):
1260 even more cases of not returning in error path
1262 2008-02-20 Benjamin Otte <otte@gnome.org>
1264 * gfile.c: (g_file_mount_mountable):
1265 return from function in error path.
1267 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1270 Remove trailing coma in GMountMountFlags struct
1272 2008-02-18 Alexander Larsson <alexl@redhat.com>
1276 * glocalfileoutputstream.c:
1277 Use g_unlink/g_rename instead of unlink/rename;
1278 do not pass raw filenames to g_set_error. (#517239)
1279 Patch from Yevgen Muntyan.
1281 2008-02-18 Alexander Larsson <alexl@redhat.com>
1284 * glocalfileoutputstream.c:
1285 Open files with O_BINARY on windows. (#517140)
1287 2008-02-14 Alexander Larsson <alexl@redhat.com>
1289 * glocalfileoutputstream.c:
1290 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1292 2008-02-14 Alexander Larsson <alexl@redhat.com>
1295 Copy permissions with file on copy (#514084)
1296 This is what cp does and makes sure e.g. the
1297 exec permissions are kept.
1298 Its kinda weird in that it keeps the permission bits
1299 the same while the uid and gid are different. However
1300 the new uid is the user so its not a security issue,
1301 and I've heard no complaints about cp on this issue.
1303 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1305 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1307 2008-02-13 Alexander Larsson <alexl@redhat.com>
1309 * inotify/inotify-path.c:
1310 Define IN_ONLYDIR if not in header (#515346)
1312 2008-02-12 Alexander Larsson <alexl@redhat.com>
1314 * tests/live-g-file.c:
1317 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1319 * === Released 2.15.5 ===
1321 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1323 * gio.symbols: Add g_mount_mount_flags_get_type.
1325 2008-02-11 Alexander Larsson <alexl@redhat.com>
1328 (g_file_info_set_attribute_mask):
1329 (g_file_attribute_matcher_matches_id):
1330 Correctly handle NULL GAttributeMatcher meaning
1331 matches nothing. (Fixes #513492)
1333 2008-02-11 Alexander Larsson <alexl@redhat.com>
1338 Added GMountMountFlags enum and added a flags
1339 argument to all mount calls.
1341 This is an API/ABI change for future extensibility,
1342 as I think we will need at least an
1343 inhibit-autorun flag (the panel needs this).
1344 There are no flags defined yet though.
1346 2008-02-11 Alexander Larsson <alexl@redhat.com>
1349 Added new standard::description attribute.
1350 Requested by Vincent, and useful for both
1353 2008-02-11 Alexander Larsson <alexl@redhat.com>
1355 * gdesktopappinfo.c:
1358 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1360 * *.c: Documentation additions
1362 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1364 * gappinfo.h: Formatting cleanup
1365 * gappinfo.c: Fix up docs.
1367 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1369 * gunixmounts.c: Consistently use getmntent_r() and fall
1370 back to getmntent(). (#515492)
1372 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1374 * gbufferedinputstream.c:
1376 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1378 * tests/data-input-stream.c:
1379 * tests/data-output-stream.c: Portability fixes.
1381 2008-02-08 Alexander Larsson <alexl@redhat.com>
1386 Add g_volume_should_automount.
1389 2008-02-07 Tor Lillqvist <tml@novell.com>
1391 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1392 Win32, too Unix-specific.
1394 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1396 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1397 a local plt if the compiler doesn't support what we want. Bug #514702
1399 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1401 reviewed by: <delete if not using a buddy>
1404 * gunixinputstream.c:
1405 * gunixoutputstream.c:
1407 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1409 * tests/Makefile.am:
1410 * tests/live-g-file.c:
1411 * tests/live-g-file.txt:
1412 New GIO testing module working over real data
1414 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1416 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1417 Fallback to rename() if link() is not available
1418 (when no support on target filesystem)
1420 2008-02-06 Michael Natterer <mitch@imendio.com>
1422 * gfileinfo.c (g_file_info_get_icon): replace
1423 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1425 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1427 * gfile.c (g_file_create):
1428 Documentation update of error codes
1430 2008-02-06 Alexander Larsson <alexl@redhat.com>
1432 * gdesktopappinfo.c:
1433 Update to use both mimeapps.list and
1434 defaults.list as discussed on xdg list.
1436 2008-02-06 Benjamin Otte <otte@gnome.org>
1439 * gfilenamecompleter.c:
1440 Fix some typos in the documentation.
1442 2008-02-06 Alexander Larsson <alexl@redhat.com>
1444 * glocalfile.c (g_local_file_trash):
1445 Don't succeed with trash if newly created
1446 trash dir has the wrong owner. (#514696)
1448 2008-02-05 Alexander Larsson <alexl@redhat.com>
1450 * glocalfile.c (g_local_file_move):
1451 Don't spew warnings when destination is not
1454 2008-02-03 Hans Breuer <hans@breuer.org>
1456 * makefile.msc : update
1458 2008-02-01 Michael Natterer <mitch@imendio.com>
1460 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1461 return value of xdg_mime_list_mime_parents() to a variable of the
1464 2008-02-01 Alexander Larsson <alexl@redhat.com>
1466 * gappinfo.c (g_app_info_launch_uris):
1467 Actually call the launch_uris method, not
1470 2008-02-01 Alexander Larsson <alexl@redhat.com>
1472 * gdesktopappinfo.c (g_desktop_app_info_equal):
1473 Ensure appinfos with no id but same pointer value
1476 2008-02-01 Alexander Larsson <alexl@redhat.com>
1478 * gappinfo.c (g_app_info_launch_default_for_uri):
1481 2008-02-01 Alexander Larsson <alexl@redhat.com>
1485 Add g_app_info_launch_default_for_uri utility
1488 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1490 * gdesktopappinfo.c:
1491 Doc fix for g_app_info_get_default_for_uri_scheme ()
1494 2008-01-30 Alexander Larsson <alexl@redhat.com>
1497 Add doc comment about uris vs GFiles to
1500 * gdesktopappinfo.c:
1501 Ensure uris passed to g_app_info_launch_uris()
1502 are not roundtriped through GFile (as that
1503 may be slightly destructive for e.g. mailto: links)
1505 2008-01-30 Alexander Larsson <alexl@redhat.com>
1507 * tests/data-input-stream.c:
1508 * tests/data-output-stream.c:
1509 C89 fixes from Jens Granseuer (#512849)
1511 2008-01-30 Alexander Larsson <alexl@redhat.com>
1514 Fix gamin/fam difference build issue. (#509419)
1516 2008-01-29 Alexander Larsson <alexl@redhat.com>
1519 * gdesktopappinfo.c:
1520 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1522 2008-01-29 Alexander Larsson <alexl@redhat.com>
1524 * gdesktopappinfo.c:
1525 * gdesktopappinfo.h:
1526 giomodule-priv.h include moved to .c file.
1528 2008-01-29 Alexander Larsson <alexl@redhat.com>
1530 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1531 Remove unused prio/name fields.
1533 2008-01-29 Alexander Larsson <alexl@redhat.com>
1535 * gcontenttype.c (looks_like_text):
1536 Don't treat whitespace as control chars.
1538 2008-01-29 Alexander Larsson <alexl@redhat.com>
1540 * gdesktopappinfo.c:
1541 Lazily create the desktop files for appinfos created
1542 by g_app_info_create_from_commandline() when needed
1543 for mime associations. This allows run-time use
1544 of GAppInfo object without creating unnecessary
1547 2008-01-29 Alexander Larsson <alexl@redhat.com>
1550 Added new symbols to gio.symbols
1552 2008-01-29 Alexander Larsson <alexl@redhat.com>
1555 Add g_file_query_default_handler utility to easily look up
1556 the GAppInfo that handles a file.
1558 * gdesktopappinfo.[ch]:
1560 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1563 Remove unused function
1565 2008-01-29 Alexander Larsson <alexl@redhat.com>
1567 * gfileenumerator.c:
1568 Mention need to free returned value in
1569 g_file_enumerator_next_files_finish docs.
1570 Fix leak if g_file_enumerator_next_files_finish()
1573 2008-01-29 Alexander Larsson <alexl@redhat.com>
1576 (_g_unix_content_type_get_parents):
1577 Use list_parents, not get_parents from xdgmime, because
1578 the later doesn't use the cache.
1580 * xdgmime/xdgmimecache.c:
1581 (_xdg_mime_cache_list_mime_parents):
1582 Don't list the same type as parent multiple times.
1584 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1586 * === Released 2.15.4 ===
1588 2008-01-28 Alexander Larsson <alexl@redhat.com>
1591 Register local vfs with prio 0.
1594 Remove old name and prio class members
1596 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1598 * tests/g-file.c: Disable some tests that are failing in
1599 the absence of a http backend.
1601 2008-01-28 Alexander Larsson <alexl@redhat.com>
1605 Add registration hooks for extension points.
1606 Register the gio extension points.
1608 * fam/gfamdirectorymonitor.c:
1609 * fam/gfamfilemonitor.c:
1610 * glocaldirectorymonitor.[ch]:
1611 * glocalfilemonitor.[ch]:
1612 * gnativevolumemonitor.h:
1613 * gunionvolumemonitor.c:
1614 * gunixvolumemonitor.c:
1617 * inotify/ginotifydirectorymonitor.c:
1618 * inotify/ginotifyfilemonitor.c:
1619 Use the extension points registration instead
1620 of g_type_children().
1622 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1625 * gvolume.[hc]: Document new API.
1627 * gfile.c (g_file_copy_async): Fix docs
1629 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1631 * gbufferedinputstream.c:
1633 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1636 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1638 * glocalfile.c: Avoid trivial differences in translatable strings.
1640 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1642 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1643 build with gcc 3.4 (#509419)
1645 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1647 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1648 (#509994, Murray Cumming)
1650 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1652 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1653 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1654 this allows big jobs to be executed in chunks, instead of blocking
1655 the main loop for a long time.
1657 * gsimpleasyncresult.c:
1658 * giofile.c: Adapt callers.
1660 2008-01-25 Alexander Larsson <alexl@redhat.com>
1662 * gdesktopappinfo.c:
1663 Implement changes discussed on xdg list.
1664 Now we can add supported mimetypes by just using defaults.list
1665 We can also remove associations in defaults.list.
1667 2008-01-25 Alexander Larsson <alexl@redhat.com>
1669 * gdesktopappinfo.c:
1670 Don't make local copy of desktop file
1671 for mimetype changes if the file already
1672 supports the new mimetype.
1674 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1678 * gbufferedinputstream.c:
1679 * glocalfile.c: String improvements. (#511966,
1680 Theppitak Karoonboonyanan)
1682 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1684 * gioscheduler.h: Expand docs a bit.
1686 2008-01-24 Alexander Larsson <alexl@redhat.com>
1689 Add g_drive_get_identifier and
1690 g_drive_enumerate_identifiers
1693 Add g_volume_get_identifier and
1694 g_volume_enumerate_identifiers
1700 Implement identifiers for unix backend
1702 2008-01-24 Alexander Larsson <alexl@redhat.com>
1707 Add g_file_copy_async() (#511580)
1708 Based on patch from Carlos Garcia Campos
1710 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1712 * gioscheduler.c: Some documentation additions.
1714 2008-01-22 Alexander Larsson <alexl@redhat.com>
1716 * gdesktopappinfo.c:
1717 (g_desktop_app_info_new):
1718 Don't leak basename.
1720 2008-01-22 Alexander Larsson <alexl@redhat.com>
1722 * gdesktopappinfo.c:
1723 (g_desktop_app_info_new_from_filename):
1726 2008-01-22 Alexander Larsson <alexl@redhat.com>
1728 * glocalfileinfo.c (get_thumbnail_attributes):
1731 2008-01-22 Alexander Larsson <alexl@redhat.com>
1734 (canonicalize_filename):
1735 Canonicalize paths that start with more than
1739 (compare_two_files):
1740 (test_g_file_new_for_path):
1743 2008-01-22 Alexander Larsson <alexl@redhat.com>
1746 Allow UTF-8 in file:// parse names.
1748 * tests/Makefile.am:
1749 * tests/data-input-stream.c:
1750 * tests/data-output-stream.c:
1751 * tests/g-file-info.c:
1753 Added a bunch of tests from Tomas Bzatek
1755 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1757 * === Released 2.15.3 ===
1759 2008-01-21 Alexander Larsson <alexl@redhat.com>
1761 * gfileinputstream.[ch]:
1762 * gfileoutputstream.[ch]:
1764 Remove duplicated GSeekable functions. (#509990)
1765 Just use the g_seekable_xxx() calls instead.
1767 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1770 * gvolumemanager.c: Whitespace cleanups.
1772 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1773 Use the right mode when creating the file.
1775 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1777 * gfileenumerator.c:
1778 * gfileinputstream.c:
1780 * goutputstream.c: Documentation: Fixed minor typos
1781 and added more mentions of specific _finish() functions.
1783 2008-01-21 Alexander Larsson <alexl@redhat.com>
1785 * inotify/Makefile.am:
1786 * inotify/inotify-helper.c:
1787 * inotify/inotify-kernel.c:
1788 * inotify/inotify-path.c:
1789 * inotify/local_inotify.h: Removed.
1790 * inotify/local_inotify_syscalls.h: Removed.
1791 Removed the included copies of the inotify
1792 headers. We now only use the <sys/inotify.h>
1793 header which exists on modern systems.
1794 This fixes problems on ARM and SH5 (#510448)
1795 but is also generally much cleaner and future
1796 safe. For instance, if other OSes add support
1797 for inotify it should "just work".
1799 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1801 * inotify/*.c: Coding style fixes.
1802 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1803 for the 1/4 Hz timer.
1805 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1808 * gfilemonitor.[hc]:
1809 * gmemoryinputstream.c:
1810 * gmemoryoutputstream.c:
1811 * gmountoperation.c:
1812 * gthemedicon.c: Documentation updates
1814 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1816 * gfile.c: documentation: Fixed more minor
1819 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1821 * gmount.c: (g_mount_remount): documentation:
1822 Mention g_mount_remount_finish() instead of
1823 g_mount_unmount_finish().
1825 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1829 * gfile.c: Fixed some minor typos in the
1832 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1834 * gio/gvolumemonitor.c:
1835 (g_volume_monitor_get_connected_drives):
1836 (g_volume_monitor_get_volumes):
1837 (g_volume_monitor_get_mounts): Documentation:
1838 Clarify the ownership of the regurn GLists.
1840 2008-01-17 Alexander Larsson <alexl@redhat.com>
1843 Add the async find_enclosing_mount version
1844 to the header file too.
1846 2008-01-17 Alexander Larsson <alexl@redhat.com>
1849 Add async version of find_enclosing_mount
1850 with default implementation.
1852 2008-01-17 Alexander Larsson <alexl@redhat.com>
1857 Allow calls to implementation of copy and write
1858 even if the type of the file implementations is
1859 different. This can be used to implement native
1860 upload and download calls in a vfs.
1863 (g_local_file_move):
1864 Protect against the case where move is called
1865 with one file not being local.
1867 Make sure we call the progress callback once
1868 in the native move operation so that the caller
1869 knows how many bytes were copied.
1871 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1874 * gdatainputstream.c:
1876 * gfileoutputstream.c:
1881 * gunixmounts.c: Corrected some typos in the documentation:
1882 occured -> occurred.
1883 its -> it's (where appropriate).
1885 2008-01-16 Alexander Larsson <alexl@redhat.com>
1889 Add g_file_query_exists (#508771)
1891 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1896 * gvolume.c: For async functions that have no non-async
1897 version, document that the GAsyncReadyCallback may be NULL.
1900 2008-01-15 Alexander Larsson <alexl@redhat.com>
1902 * gmemoryinputstream.c:
1903 * gmemoryoutputstream.c:
1904 Don't do pointer arithmetic on void * (#508602)
1905 Patch from Kazuki IWAMOTO
1907 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1909 * === Released 2.15.2 ===
1911 2008-01-14 Alexander Larsson <alexl@redhat.com>
1913 * gfile.c (g_file_monitor_file):
1914 Don't set error here, since we fallback to polling monitor.
1916 2008-01-14 Alexander Larsson <alexl@redhat.com>
1919 (g_file_monitor_directory):
1920 (g_file_monitor_file):
1921 Add GError to file monitor calls
1923 * glocaldirectorymonitor.c:
1924 * glocaldirectorymonitor.h:
1926 * glocalfilemonitor.c:
1927 * glocalfilemonitor.h:
1929 Update for above change
1931 2008-01-14 Alexander Larsson <alexl@redhat.com>
1935 Handle root correctly in g_file_get_relative_path (#508719)
1937 2008-01-14 Alexander Larsson <alexl@redhat.com>
1940 Clean up docs and example for GAsyncResult (#508074)
1942 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1944 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1945 and correct some spelling mistakes. Bug #508108.
1947 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1949 * glocalfileinfo.c: Add a comment.
1951 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1953 * gfileinfo.c: GFileInfo description: Mention
1954 how to actually set attributes in a GFile and how to discover
1955 which attributes are settable. Bug #508378.
1957 2008-01-10 A. Walton <awalton@svn.gnome.org>
1959 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1960 (g_app_info_get_default_for_type):
1961 Check for NULL content types.
1963 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1965 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1967 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1969 * gfile.c: *_async() functions: Several small corrections
1970 to the documentation, mostly correcting copy/paste errors
1971 and improving some sentences.
1973 2008-01-09 Dan Winship <danw@gnome.org>
1975 * glocalfile.c (get_unique_filename): x86_64 fix
1977 2008-01-09 Alexander Larsson <alexl@redhat.com>
1982 Add g_unix_mount_guess_should_display and use
1983 for unix volume monitor backend.
1984 This means we more or less show what the
1985 gnome-vfs backend did.
1986 Based on patch from Padraig O'Briain
1988 2008-01-09 Alexander Larsson <alexl@redhat.com>
1992 Add g_themed_icon_new_with_default_fallbacks
1995 Use default fallbacks for icons
1997 2008-01-09 Alexander Larsson <alexl@redhat.com>
2000 * gmountoperation.[ch]:
2001 Change the API a bit so that unhandled methods
2002 get reported via the reply, rather than by
2003 the signal emission return value. This is because
2004 some handlers can't know this immediately without
2005 doing I/O, and this is an async operation that
2008 2008-01-09 Alexander Larsson <alexl@redhat.com>
2011 * fam/gfamdirectorymonitor.c:
2012 * fam/gfamfilemonitor.c:
2013 Fix double free crash (#508224)
2014 Patch from Joe Marcus Clarke
2016 008-01-07 Matthias Clasen <mclasen@redhat.com>
2018 * === Released 2.15.1 ===
2020 2008-01-07 Alexander Larsson <alexl@redhat.com>
2022 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2023 Fix warning (#507835)
2025 2008-01-07 Alexander Larsson <alexl@redhat.com>
2028 Pass --internal to glib-genmarshal
2031 * gmountoperation.c:
2033 Use better types for signal arguments (#507822)
2035 2008-01-07 Alexander Larsson <alexl@redhat.com>
2038 Build test subdir after .
2039 Remove gdirectorymonitor.[ch]
2041 * gdirectorymonitor.[ch]:
2045 Remove GDirectoryMonitor and make
2046 GFileMonitor the baseclass for both file and
2047 directory monitors. Lift the more generic
2048 rate limiting code from GDirectoryMonitor
2052 * fam/gfamdirectorymonitor.[ch]:
2053 * inotify/ginotifydirectorymonitor.[ch]:
2054 * inotify/inotify-helper.c:
2055 * glocaldirectorymonitor.[ch]:
2058 Update for the removed GDirectoryMonitor.
2060 * gmemoryoutputstream.c:
2061 Remove ununsed variable
2063 2008-01-07 Alexander Larsson <alexl@redhat.com>
2065 * gmemoryinputstream.c:
2066 Translate error strings
2069 * gmemoryoutputstream.[ch]:
2070 New implementation that avoids using GByteArray
2071 in implementation and API. (#506377)
2073 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2075 * tests/*: Add a test for memory input streams.
2077 * Makefile.am: Add tests to SUBDIRS.
2079 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2081 * glocalfilemonitor.c:
2082 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2085 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2087 * gdesktopappinfo.c: Fix a docs typo.
2089 * gfileattribute.c: Add information about extended attributes
2090 to the documentation. (#505058)
2092 2008-01-04 Alexander Larsson <alexl@redhat.com>
2095 * gmountoperation.c:
2096 Use the right type (uint) for the ask_password signal.
2098 2008-01-04 Alexander Larsson <alexl@redhat.com>
2103 Add g_app_info_supports_files()
2104 Remove desktop arg from g_app_info_should_show().
2106 * gdesktopappinfo.[ch]:
2107 Implement g_app_info_supports_files() and new should_show()
2108 Add g_desktop_app_info_set_desktop_env() to set the desktop
2109 for should_show(). (This will be set by gtk+ later)
2111 2008-01-04 Alexander Larsson <alexl@redhat.com>
2114 * gmemoryinputstream.[ch]:
2115 Improve API so that you can use multiple chunks
2116 of memory and custom destroy functions. (#506374)
2118 2008-01-03 Alexander Larsson <alexl@redhat.com>
2121 Handle NULL attribute matchers safely, as we return this
2122 for empty attribute matcher strings.
2124 2008-01-03 Alexander Larsson <alexl@redhat.com>
2126 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2127 Add /usr/local to list of internal mountpoints
2129 2008-01-03 Alexander Larsson <alexl@redhat.com>
2132 Check for HAVE_LCHOWN (#505887)
2134 2008-01-03 Alexander Larsson <alexl@redhat.com>
2138 Add define for selinux context attribute.
2139 Fix missing : -> :: namespace separator change
2140 Fix missing _ -> - name change for xattr-sys.
2143 2008-01-03 Alexander Larsson <alexl@redhat.com>
2146 Link to libglib and libgobject directly (#504879)
2147 Patch from Sebastien Bacher
2149 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2151 * gfile.c: Expanded the g_file_new_for_commandline_arg
2152 description a bit, based on the code and the docs of the
2153 other g_file_new_for_* functions.
2155 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2157 * gfilemonitor.h: Fixed typo in docs.
2159 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2161 Updates to GIO documentation. (#506395, Mikael Hermansson)
2163 * gcontenttype.c: Describe memory management for return value of
2164 g_content_types_get_registered(). Missing piece from #505815.
2165 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2166 GVolume, GDrive, GMounts, which hopefully gives the user less
2167 confusions when using this API. Following explainations from
2168 Alexander Larsson on gtk-devel-list.
2170 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2172 * gfileinfo.c: Expand the long description.
2174 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2177 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2178 fix builds with --disable-visibility. (#500273, Christian Persch)
2180 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2182 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2183 in the list of returned app infos.
2185 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2187 * gappinfo.c: Fix a cross-reference
2189 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2191 * gfileinputstream.c:
2192 * gfileoutputstream.c:
2196 * gdesktopappinfo.c:
2198 * gfileinfo.c: Documentation updates.
2200 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2202 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2205 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2207 * gcontenttype.c (g_content_types_get_registered): Don't return
2208 freed memory (#505815, Mikael Hermansson)
2210 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2212 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2213 used to detect statbuf->st_blocks. (#505042)
2215 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2217 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2218 environment handling. (#504829, Cosimo Cecchi)
2220 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2222 * gappinfo.c: Doc improvements
2224 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2227 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2229 * === Released 2.15.0 ===
2231 2007-12-20 Hans Breuer <hans@breuer.org>
2233 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2234 with symbols gwin32appinfo.obj, added gmount.obj
2235 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2237 2007-12-20 Alexander Larsson <alexl@redhat.com>
2243 * gfilenamecompleter.c:
2246 * gpollfilemonitor.c:
2247 File attribute renames:
2249 fs:: -> filesystem::
2250 id::fs -> id::filesystem
2252 2007-12-20 Alexander Larsson <alexl@redhat.com>
2261 Add GMountUnmountFlags to all unmount and
2263 Add g_mount_remount() call.
2265 2007-12-20 Alexander Larsson <alexl@redhat.com>
2267 * gvfs.c (get_default_vfs):
2268 Fix unused variable warning
2270 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2272 * pltcheck.sh: Update
2274 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2276 * gunionvolumemonitor.c:
2277 * gunixmount.c: Remove C99 comments
2279 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2281 * gio.symbols: Add some missing symbols
2283 2007-12-19 Alexander Larsson <alexl@redhat.com>
2286 Make g_io_modules_load_all_in_directory not unuse
2287 loaded modules so that users of it can do stuff
2289 Init internal "module" types.
2290 Initialize static prio and name for types so that
2291 we don't have to load modules to get it.
2293 * gnativevolumemonitor.h:
2295 Move is_supported to parent class so that
2296 non-native monitors can avoid being initialized
2297 too. (For instance GDaemonVolumeMonitor if we're
2298 not using GDaemonVfs.)
2300 * glocaldirectorymonitor.[ch]:
2301 * glocalfilemonitor.[ch]:
2302 * gunionvolumemonitor.c:
2303 * gunixvolumemonitor.c:
2305 Find plugins using the static prio+name to
2306 avoid unnecessarily loading the modules.
2308 2007-12-19 Alexander Larsson <alexl@redhat.com>
2313 2007-12-19 Alexander Larsson <alexl@redhat.com>
2315 * gunionvolumemonitor.c:
2316 Store the native type as GType, not class so that
2317 we can unload it. But still avoid unnecessarily
2320 2007-12-19 David Zeuthen <davidz@redhat.com>
2322 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2323 add signals 'disconnected' and 'eject-button' on GDrive. Add
2324 signal 'removed' on GVolume and 'unmounted' on GMount.
2326 * gdrive.c: (g_drive_base_init):
2328 * gfile.c: (g_file_mount_mountable),
2329 (g_file_mount_enclosing_volume):
2332 * gmount.c: (g_mount_base_init):
2334 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2335 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2336 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2340 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2342 * *.c: Fix up includes in the section docs.
2344 2007-12-17 Alexander Larsson <alexl@redhat.com>
2346 * gnativevolumemonitor.h:
2347 * gunionvolumemonitor.c:
2348 * gunixvolumemonitor.c:
2349 Add is_supported() to GNativeVolumeMonitorClass so
2350 that we can avoid having to create an object to see
2351 if the backend is supported at runtime.
2352 Also add name member and an env var to pick a specific
2353 volume monitor backend.
2357 Add cancellable to _g_mount_get_for_mount_path()
2359 * glocaldirectorymonitor.c:
2360 * glocalfilemonitor.c:
2361 Avoid loading and unloading modules while sorting.
2363 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2366 * gunixmounts.[hc]: Namespace waste reduction, move some
2367 g_get_unix_mount functions to the g_unix_mount namespace.
2370 * gunixvolumemonitor.c:
2372 * glocaldirectorymonitor.c: Update all callers.
2374 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2376 2007-12-17 Alexander Larsson <alexl@redhat.com>
2379 Add doc comments about what GFile operations are
2380 guaranteed to not block.
2382 2007-12-17 Alexander Larsson <alexl@redhat.com>
2385 Add missing #ifdef fixing OSX build.
2386 (#503334, patch from Richard Hult)
2388 2007-12-14 David Zeuthen <davidz@redhat.com>
2392 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2393 (g_mount_eject), (g_mount_eject_finish):
2395 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2396 (get_volume_for_uuid), (get_mount_for_uuid),
2397 (g_union_volume_monitor_class_init),
2398 (get_default_native_type_with_exclude), (get_default_native_type),
2399 (get_native_type), (update_native_type),
2400 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2401 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2402 (g_unix_mount_can_eject), (eject_unmount_cb),
2403 (eject_unmount_read_error), (eject_unmount_do),
2404 (g_unix_mount_unmount), (g_unix_mount_eject),
2405 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2406 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2407 (g_unix_mount_point_guess_can_eject):
2409 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2410 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2411 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2412 (g_unix_volume_mount), (g_unix_volume_eject),
2413 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2414 * gunixvolumemonitor.c: (get_volume_for_uuid),
2415 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2417 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2418 (g_volume_eject), (g_volume_eject_finish):
2420 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2421 (g_volume_monitor_get_mount_for_uuid):
2424 Provide eject() on both GMount and GVolume and utility functions
2425 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2426 ejected. Introduce the concept of UUID's and wire it into GVolume
2427 and GMount and provide API on GVolumeMonitor to find such
2428 instances. Also handle the case where an external
2429 GNativeVolumeMonitor fails to initialize. Lock around the
2430 _g_get_mount_for_mount_path() function such that volume monitor
2431 implementations won't have to do locking themselves.
2433 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2435 * gdesktopappinfo.c:
2441 * gvolume.h: Documentation updates
2443 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2446 * gfile.h: Doc updates
2448 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2451 * gdesktopappinfo.c: Use hash table iterators.
2453 2007-12-14 Alexander Larsson <alexl@redhat.com>
2456 * gfileattribute.[ch]:
2457 * gfileattribute-priv.h:
2458 Move GFileAttributeValue to a private header, as
2462 Make set_attribute take a type + a pointer instead
2463 of a GFileAttributeValue.
2466 Fix up for above changes.
2467 Add g_file_info_get_attribute_data to get
2468 all info in one call, g_file_info_get_attribute_status
2469 to get the status and g_file_info_get_attribute_as_string.
2473 * glocalfileinfo.[ch]:
2477 Make _guess_type static.
2479 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2482 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2483 made mkenums and friends use temporary files to avoid leaving
2484 empty generated files on failure (#503470).
2486 2007-12-14 Alexander Larsson <alexl@redhat.com>
2488 * gmountoperation.h:
2491 2007-12-14 Alexander Larsson <alexl@redhat.com>
2495 * gfileattribute.[ch]:
2498 * glocalfileoutputstream.c:
2499 * gmountoperation.[ch]:
2500 * goutputstream.[ch]:
2501 Clean up all flags enums to not have _FLAGS in them
2502 Make the names of some of the enums better.
2507 2007-12-14 Michael Natterer <mitch@imendio.com>
2509 * gio.symbols: fix g_io_scheduler symbol names.
2511 2007-12-14 Alexander Larsson <alexl@redhat.com>
2517 * gbufferedinputstream.h:
2518 * gbufferedoutputstream.h:
2521 * gdatainputstream.h:
2522 * gdataoutputstream.h:
2523 * gdesktopappinfo.h:
2524 * gdirectorymonitor.h:
2528 * gfileenumerator.h:
2531 * gfileinputstream.h:
2533 * gfilenamecompleter.h:
2534 * gfileoutputstream.h:
2535 * gfilterinputstream.h:
2536 * gfilteroutputstream.h:
2544 * gmemoryinputstream.h:
2545 * gmemoryoutputstream.h:
2547 * gmountoperation.h:
2550 * gsimpleasyncresult.h:
2552 * gunixinputstream.h:
2554 * gunixoutputstream.h:
2558 * inotify/Makefile.am:
2559 Only allow including <gio/gio.h> from apps
2561 2007-12-14 Alexander Larsson <alexl@redhat.com>
2563 * gioscheduler.[ch]:
2564 * gsimpleasyncresult.c:
2565 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2566 Split out the send_to_mainloop call into two versions instead
2567 of having the block argument.
2569 2007-12-13 Alexander Larsson <alexl@redhat.com>
2571 * gcancellable.[ch]:
2573 * gbufferedinputstream.c:
2574 * gfileenumerator.c:
2575 * gfileinputstream.c:
2576 * gfileoutputstream.c:
2580 g_push/pop_current_cancellable ->
2581 g_cancellable_push/pop_current
2583 2007-12-13 Alexander Larsson <alexl@redhat.com>
2587 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2589 2007-12-13 Alexander Larsson <alexl@redhat.com>
2591 * gmountoperation.h:
2592 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2594 2007-12-12 Alexander Larsson <alexl@redhat.com>
2597 Fix race condition when freeing proxy in
2598 g_io_job_send_to_mainloop().
2600 2007-12-12 Alexander Larsson <alexl@redhat.com>
2606 Make attribute namespace separator "::" instead of ":".
2607 Use - instead of _ as separator in attribute names.
2609 2007-12-12 Alexander Larsson <alexl@redhat.com>
2611 * gbufferedinputstream.h:
2612 * gbufferedoutputstream.h:
2613 * gdatainputstream.h:
2614 * gdataoutputstream.h:
2615 * gdirectorymonitor.h:
2616 * gfileenumerator.h:
2617 * gfileinputstream.h:
2619 * gfileoutputstream.h:
2620 * gfilterinputstream.h:
2621 * gfilteroutputstream.h:
2623 * glocalfileinputstream.h:
2624 * glocalfileoutputstream.h:
2625 * gmemoryinputstream.h:
2626 * gmemoryoutputstream.h:
2627 * gnativevolumemonitor.h:
2629 * gunixinputstream.h:
2630 * gunixoutputstream.h:
2633 s/parent/parent_instance/ in GObjects
2635 2007-12-12 Alexander Larsson <alexl@redhat.com>
2640 No need for padding for interfaces
2642 2007-12-12 Alexander Larsson <alexl@redhat.com>
2646 * gbufferedinputstream.c:
2647 * gbufferedoutputstream.c:
2650 * gdatainputstream.[ch]:
2651 * gdesktopappinfo.c:
2652 * gdirectorymonitor.c:
2654 * gfileattribute.[ch]:
2657 * gfileinputstream.h:
2658 * gfilemonitor.[ch]:
2659 * gfileoutputstream.[ch]:
2660 * gfilterinputstream.h:
2661 * gfilteroutputstream.h:
2664 * gloadableicon.[ch]:
2665 * gmemoryinputstream.c:
2666 * gmountoperation.c:
2668 Fix up a bunch of details in the docs.
2673 2007-12-11 David Zeuthen <davidz@redhat.com>
2675 Rework how volumes, drives and volume monitoring is
2676 done. Previosly the model was
2678 GDrive <1-1> GVolume
2680 where a GDrive instance represented a mount point and a GVolume
2681 instance represented a mounted file system. This patch changes it
2684 GDrive <1-N> GVolume <1-1> GMount
2686 where GMount now serves the purpose of the old GVolume and the new
2687 GVolume serves the purpose of the old GDrive. In addition the new
2688 GDrive interface is used to represent a collection of GVolume
2689 instances (typically partitions) and also contains utility to query
2690 the state of the physical drive the GDrive object represents (such
2691 as checking for media, polling the drive, ejecting the media etc.).
2693 Also implement mounting and unmounting in the Unix volume monitor
2694 backend. A subquent patch will introduce GDrive support for ejection
2698 * gdrive.c: (g_drive_is_media_check_automatic),
2699 (g_drive_is_media_removable), (g_drive_has_media),
2700 (g_drive_can_poll_for_media), (g_drive_eject),
2701 (g_drive_eject_finish), (g_drive_poll_for_media),
2702 (g_drive_poll_for_media_finish):
2704 * gfile.c: (g_file_find_enclosing_mount):
2707 * glocaldirectorymonitor.c:
2708 (g_local_directory_monitor_constructor), (mounts_changed):
2709 * glocalfile.c: (get_mount_info),
2710 (g_local_file_find_enclosing_mount),
2711 (g_local_file_file_iface_init):
2712 * gnativevolumemonitor.h:
2713 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2714 (get_connected_drives), (g_union_volume_monitor_class_init),
2715 (child_volume_added), (child_volume_removed),
2716 (child_volume_changed), (child_mount_added), (child_mount_removed),
2717 (child_mount_pre_unmount), (child_mount_changed),
2718 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2719 (g_union_volume_monitor_remove_monitor),
2720 (_g_mount_get_for_mount_path):
2721 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2722 (guess_system_internal), (_g_get_unix_mounts),
2723 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2724 (g_unix_mount_free), (g_unix_mount_compare),
2725 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2726 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2727 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2728 (type_to_icon), (g_unix_mount_guess_name),
2729 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2730 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2731 (_resolve_symlink), (_resolve_dev_root):
2733 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2734 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2735 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2736 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2737 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2738 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2739 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2740 (g_unix_volume_volume_iface_init):
2742 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2743 (get_mounts), (get_volumes), (get_connected_drives),
2744 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2745 (mountpoints_changed), (mounts_changed),
2746 (g_unix_volume_monitor_init),
2747 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2748 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2749 * gunixvolumemonitor.h:
2750 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2751 (g_volume_mount), (g_volume_mount_finish):
2753 * gvolumemonitor.c: (g_volume_monitor_class_init),
2754 (g_volume_monitor_get_connected_drives),
2755 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2758 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2760 * gmountoperation.h (GPasswordFlags): Close the gap
2762 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2764 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2766 * gdesktopappinfo.[hc]: Remove _-prefixes
2768 2007-12-10 Tor Lillqvist <tml@novell.com>
2770 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2773 2007-12-10 Alexander Larsson <alexl@redhat.com>
2775 * gfile.c (g_file_set_display_name):
2776 Don't hardcode '/' (#502727)
2778 2007-12-09 Hans Breuer <hans@breuer.org>
2780 * makefile.msc : follow lib naming convention
2781 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2782 for user and group name, tested with ../tests/gio-ls
2784 2007-12-09 A. Walton <awalton@svn.gnome.org>
2786 * gdesktopappinfo.c:
2792 * gfileenumerator.c:
2797 * gmemoryinputstream.c:
2798 * gmemoryoutputstream.c:
2800 * gsimpleasyncresult.c:
2801 More documentation cleanup and filling in missing information, bringing
2802 GIO to 99% symbol coverage.
2804 2007-12-08 Hans Breuer <hans@breuer.org>
2806 [gio compiles and links on win32, not sure how much already works]
2807 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2808 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2809 base on win32 API; prefer g_lstat() over lstat(); instead of
2810 localtime_r() use an all GLib implementation on win32;
2811 get_mount_info() still needs a win32 specifc implementation
2812 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2813 win32_get_file_user_info to get owner/group info without uid/gid
2814 * glocalfileinputstream.c : include <io.h> on win32
2815 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2816 definition, use g_win32_ftruncate() for G_OS_WIN32
2817 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2818 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2819 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2820 * makefile.msc : updated
2822 2007-12-07 Alexander Larsson <alexl@redhat.com>
2824 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2825 Avoid warning spew if error == NULL
2827 2007-12-07 Alexander Larsson <alexl@redhat.com>
2830 Update docs wrt etags
2832 2007-12-06 Alexander Larsson <alexl@redhat.com>
2835 Include sys/types.h for dev_t (#501919)
2837 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2841 Make abicheck and pltcheck pass.
2843 2007-12-05 Alexander Larsson <alexl@redhat.com>
2846 * giomodule-priv.h: Added.
2847 * glocaldirectorymonitor.c:
2848 * glocalfilemonitor.c:
2849 * gunionvolumemonitor.c:
2851 Actually add the declaration of _g_io_modules_ensure_loaded
2853 2007-12-05 Alexander Larsson <alexl@redhat.com>
2855 * gdatainputstream.c:
2860 * glocaldirectorymonitor.c:
2861 * glocalfilemonitor.c:
2862 * gunionvolumemonitor.c:
2864 Make g_io_modules_ensure_loaded a private function and
2865 don't pass in the dirname. This means we can do magic
2866 directory finding in the win32 version.
2867 Export the actual load-modules-in-directory code so that
2868 gvfs can reuse that.
2870 2007-12-05 Alexander Larsson <alexl@redhat.com>
2872 * gbufferedinputstream.c:
2873 * gbufferedoutputstream.c:
2876 * gfileenumerator.[ch]:
2877 * gfileinputstream.c:
2878 * gfileoutputstream.[ch]:
2879 * gfilterinputstream.c:
2880 * gfilteroutputstream.c:
2881 * ginputstream.[ch]:
2883 * glocalfileenumerator.c:
2884 * glocalfileinputstream.c:
2885 * glocalfileoutputstream.c:
2886 * gmemoryinputstream.c:
2887 * gmemoryoutputstream.c:
2888 * goutputstream.[ch]:
2891 * gunixinputstream.c:
2892 * gunixoutputstream.c:
2893 Rename all struct members named:
2894 read, write, close, truncate, or mount
2895 to foo_fn, as these are reserved names
2896 and could be defined as macros in libc.
2899 2007-12-04 Alexander Larsson <alexl@redhat.com>
2902 (g_output_stream_close):
2903 Only call flush if non-null.
2905 2007-11-30 Dan Winship <danw@gnome.org>
2907 * ginputstream.c (g_input_stream_set_pending): Make this take a
2908 GError and return a gboolean, and do the "outstanding operation"
2909 check (and the "stream is already closed" check) itself.
2910 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2912 * goutputstream.c (g_output_stream_set_pending)
2913 (g_output_stream_clear_pending): Likewise
2915 * gbufferedinputstream.c:
2916 * gfileinputstream.c:
2917 * gfileoutputstream.c: Update for that
2919 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2920 Like g_simple_async_report_error_in_idle, but takes a GError
2921 rather than building one.
2923 2007-11-30 Dan Winship <danw@gnome.org>
2925 * goutputstream.c: Don't cheat and unset the "pending" flag around
2926 inner calls. Instead, call the class method directly rather than
2927 the wrapper function that checks "pending"
2929 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2931 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2933 2007-12-03 Hans Breuer <hans@breuer.org>
2935 [start of port to win32/msvc]
2936 * gcancellable.c : HAVE_UNIST_H and _pipe()
2937 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2938 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2939 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2941 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2942 * glocalvfs.c : use HAVE_PWD_H
2943 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2944 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2945 * Makefile.am : added to EXTRA_DIST
2947 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2949 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2952 2007-12-03 Alexander Larsson <alexl@redhat.com>
2955 Handle OSX style xattrs API (#500506)
2957 2007-12-03 Alexander Larsson <alexl@redhat.com>
2961 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2963 2007-12-02 A. Walton <awalton@svn.gnome.org>
2967 Documentation accuracy fixes.
2969 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2971 * gioenumtypes.c.template: Fix typo.
2973 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2975 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2977 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2979 * gdirectorymonitor.c:
2980 * gfilemonitor.c: Add properties
2982 * gbufferedoutputstream.c: Don't mark buffer-size property
2985 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2987 * gbufferedoutputstream.c: Add auto-grow property.
2989 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2991 * *.c: Unify the capitalization of section headings.
2993 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2995 * gmountoperation.c: Add properties
2997 * gdatainputstream.c: Turn byte-order and newline-type into
3000 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3002 * gioenumtypes.[hc].template: Templates for enum registration
3004 * Makefile.am: Generate gioenumtypes.[hc]
3006 * gio.h: Include gioenumtypes.h
3008 * gfile.h: Add some explicit nicks.
3010 * gio.symbols: Add new symbols
3012 * pltcheck.sh: Adjust
3014 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3016 * *.c: Explain etags and link to the explanation
3018 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3020 * *.c: Explain I/O priority.
3022 * *.c: More coding style fixes.
3024 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3026 * gasyncresult.c: Add another paragraph to the intro,
3027 adjust coding style of example.
3029 2007-11-29 A. Walton <awalton@svn.gnome.org>
3032 Fixes unknown meaning in GAppLaunchContext docs.
3034 Clarify asynchronous ops.
3036 Fix entity tag docs.
3039 Provides missing gtk-doc section, fixes API docs slighly.
3040 * gsimpleasyncresult.c:
3041 Fill in missing info in docs.
3042 * gunixinputstream.c:
3043 * gunixoutputstream.c:
3044 Be more expressive in short description.
3046 Remove gtk-doc stubs for non-public API.
3048 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3050 * *.c: Coding style fixups
3052 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3054 * inotify/inotify-helper.c: Don't export the lock from libgio.
3056 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3059 * abicheck.sh: Fix copy-and-paste leftovers
3061 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3063 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3065 2007-11-28 Alexander Larsson <alexl@redhat.com>
3069 Removed unnecessary file
3071 * gdesktopappinfo.[ch]:
3074 * glocaldirectorymonitor.[ch]:
3076 * glocalfileenumerator.[ch]:
3077 * glocalfileinputstream.[ch]:
3078 * glocalfilemonitor.[ch]:
3079 * glocalfileoutputstream.[ch]:
3081 * gnativevolumemonitor.c:
3082 * gpollfilemonitor.[ch]:
3083 * gunionvolumemonitor.[ch]:
3086 * gunixvolumemonitor.[ch]:
3089 * inotify/ginotifydirectorymonitor.[ch]:
3090 * inotify/ginotifyfilemonitor.[ch]:
3091 * inotify/inotify-helper.c:
3092 Append _ to all internal functions
3096 Export symbols needed for modules
3098 2007-11-28 Alexander Larsson <alexl@redhat.com>
3101 * abicheck.sh: Added.
3102 * makegioalias.pl: Added.
3103 * pltcheck.sh: Added.
3104 * gio.symbols: Added.
3107 Initial work on adding symbol handling.
3110 Correct ifdef guard name
3113 * inotify/Makefile.am:
3114 * xdgmime/Makefile.am:
3115 Include toplevel Makefile.decl
3117 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3119 * gcontenttype.c: Move doc comments to the unix section.
3121 * *.[hc]: More trivial doc corrections.
3123 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3125 * gpollfilemonitor.c:
3129 * gdesktopappinfo.c:
3134 * gdatainputstream.c:
3135 * gdatainputstream.h:
3136 * gdataoutputstream.c:
3137 * gdataoutputstream.h:
3138 * gfileinfo.h: Doc cleanups
3140 2007-11-28 Andre Klapper <a9016009@gmx.de>
3142 * gdesktopappinfo.c: Fix a typo.
3144 2007-11-27 Andre Klapper <a9016009@gmx.de>
3146 * glocalfileoutputstream.c: Fix a typo.
3148 2007-11-27 Alexander Larsson <alexl@redhat.com>
3151 Don't include removed headers
3153 2007-11-27 Alexander Larsson <alexl@redhat.com>
3156 * gsocketinputstream.[ch]: Removed.
3157 * gsocketoutputstream.[ch]: Removed.
3158 * gunixinputstream.[ch]: Added.
3159 * gunixoutputstream.[ch]: Added.
3160 Renamed GSocket*Stream to GUnix*Stream and made
3161 it unix-only, since its not really only for sockets
3162 and it only works on unix (but is highly useful there).
3164 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3170 * gbufferedinputstream.c:
3171 * gbufferedinputstream.h:
3172 * gbufferedoutputstream.c:
3173 * gbufferedoutputstream.h:
3177 * gdatainputstream.c:
3178 * gdatainputstream.h:
3179 * gdataoutputstream.c:
3180 * gdataoutputstream.h:
3181 * gdirectorymonitor.c:
3182 * gdirectorymonitor.h:
3189 * gfileenumerator.c:
3190 * gfileenumerator.h:
3195 * gfileinputstream.c:
3196 * gfileinputstream.h:
3199 * gfilenamecompleter.c:
3200 * gfilenamecompleter.h:
3201 * gfileoutputstream.c:
3202 * gfileoutputstream.h:
3203 * gfilterinputstream.c:
3204 * gfilterinputstream.h:
3205 * gfilteroutputstream.c:
3206 * gfilteroutputstream.h:
3219 * glocalfileoutputstream.c:
3220 * gmemoryinputstream.c:
3221 * gmemoryinputstream.h:
3222 * gmemoryoutputstream.c:
3223 * gmemoryoutputstream.h:
3224 * gmountoperation.c:
3225 * gmountoperation.h:
3228 * gpollfilemonitor.c:
3231 * gsimpleasyncresult.c:
3232 * gsimpleasyncresult.h:
3233 * gsocketinputstream.c:
3234 * gsocketinputstream.h:
3235 * gsocketoutputstream.c:
3236 * gsocketoutputstream.h:
3243 * gunixvolumemonitor.c:
3252 Bumps documentation to 93% symbol coverage, touching most
3253 of the public files. Fixes broken function documentation prototypes.
3254 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3255 gtk-doc headers in private files.
3257 2007-11-27 Jürg Billeter <j@bitron.ch>
3259 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3260 (g_buffered_input_stream_read_byte):
3261 * gbufferedinputstream.h:
3262 New functions for efficient access to buffer and simple single byte
3265 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3266 (g_data_input_stream_read_until):
3267 * gdatainputstream.h:
3268 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3269 read_until with multiple stop chars.
3271 2007-11-27 Alexander Larsson <alexl@redhat.com>
3275 * inotify/Makefile.am:
3276 Use the user-specified giomoduledir
3278 2007-11-27 Alexander Larsson <alexl@redhat.com>
3282 Add catch-all gio.h header
3283 Don't install gdummyfile.h
3285 2007-11-26 Alexander Larsson <alexl@redhat.com>
3287 * Makefile.am (gioinclude_HEADERS):
3288 Remove trailing whitespace
3290 2007-11-26 Alexander Larsson <alexl@redhat.com>
3292 Merge gio-standalone into glib
3294 2007-11-25 Christian Kellner <gicmo@gnome.org>
3296 * gio/goutputstream.c:
3297 Fix small mistake in the docs.
3299 2007-11-21 Christian Persch <chpe@gnome.org>
3301 * gio/glocalfile.c: (g_local_file_trash):
3302 Convert filenames to UTF-8 for GError.
3303 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3304 as per xdg base dir spec.
3306 2007-11-21 Christian Persch <chpe@gnome.org>
3308 * gio/gdesktopappinfo.c:
3309 Use that g_key_file_to_data cannot fail.
3311 Use stock defines for the key file group and key names.
3314 2007-11-21 Alexander Larsson <alexl@redhat.com>
3317 (copy_stream_with_progress):
3318 Make sure we do a final progress callback with
3319 the full total size.
3321 2007-11-21 Alexander Larsson <alexl@redhat.com>
3324 Export g_file_copy_attributes
3325 Remove padding as its not needed for interfaces
3327 2007-11-20 Alexander Larsson <alexl@redhat.com>
3332 Add G_IO_ERROR_WOULD_MERGE for
3333 copy/move dir on dir with overwrite.
3335 2007-11-20 Alexander Larsson <alexl@redhat.com>
3338 * gio/glocalfileinfo.c:
3339 Add COPY_NAME (this is an optional
3340 non-modified utf8 version of the name) that
3343 2007-11-20 Alexander Larsson <alexl@redhat.com>
3345 * gio/glocalfileenumerator.c:
3346 Report errors as GIOError, not GFileError
3348 2007-11-16 Alexander Larsson <alexl@redhat.com>
3350 * gio/glocalfileoutputstream.c:
3351 * gio/gwin32appinfo.c:
3352 Fix typos in strings.
3353 Patch from Luca Ferretti <elle.uca@libero.it>
3355 2007-11-15 Alexander Larsson <alexl@redhat.com>
3358 Post release version bump
3360 === gio-standalone 0.1.2 ===
3362 2007-11-15 Alexander Larsson <alexl@redhat.com>
3364 * docs/reference/gio/Makefile.am:
3365 Fix up distcheck by removing weird
3371 2007-11-14 Alexander Larsson <alexl@redhat.com>
3373 * gio/gdesktopappinfo.c:
3374 * gio/glocaldirectorymonitor.c:
3376 * gio/glocalfileinfo.c:
3377 * gio/inotify/inotify-sub.c:
3378 * programs/gio-cat.c:
3379 * programs/gio-copy.c:
3380 * programs/gio-info.c:
3381 * programs/gio-ls.c:
3382 * programs/gio-monitor-dir.c:
3383 * programs/gio-monitor-file.c:
3384 * programs/gio-mount.c:
3385 * programs/gio-move.c:
3386 * programs/gio-rm.c:
3387 * programs/gio-save.c:
3388 * programs/gio-trash.c:
3389 Leak fixes from Kjartan Maraas
3391 2007-11-14 Alexander Larsson <alexl@redhat.com>
3393 * gio/fam/fam-helper.c:
3395 * gio/glocalfileinfo.c:
3399 * gio/inotify/inotify-diag.c:
3400 * gio/inotify/inotify-kernel.c:
3401 Various code cleanups from Kjartan Maraas
3403 2007-11-14 Alexander Larsson <alexl@redhat.com>
3405 * gio/gioscheduler.c:
3407 Set up threadpool so that we cache 2 unused
3408 idle threads for at 15 secs. This means we
3409 will reuse thread-local data (like dbus connections)
3412 2007-11-14 Alexander Larsson <alexl@redhat.com>
3414 * gio/fam/fam-helper.c:
3415 * gio/fam/gfamdirectorymonitor.c:
3416 * gio/fam/gfamfilemonitor.c:
3418 * gio/gcontenttype.c:
3419 * gio/gdatainputstream.c:
3420 * gio/gdataoutputstream.c:
3424 * gio/gfileattribute.h:
3425 * gio/gfileenumerator.c:
3427 * gio/ginputstream.c:
3430 * gio/glocalfileinfo.c:
3431 * gio/goutputstream.c:
3432 * gio/gpollfilemonitor.c:
3433 * gio/gsimpleasyncresult.c:
3434 * gio/gunixmounts.c:
3435 * gio/gunixmounts.h:
3436 * gio/inotify/ginotifydirectorymonitor.c:
3437 * gio/inotify/ginotifyfilemonitor.c:
3438 * gio/inotify/inotify-diag.c:
3439 * gio/inotify/inotify-kernel.c:
3440 * gio/inotify/inotify-path.c:
3442 * gio/test-streams.c:
3443 * programs/gio-info.c:
3444 * programs/gio-monitor-dir.c:
3445 * programs/gio-monitor-file.c:
3446 Various code cleanups from Kjartan Maraas
3448 2007-11-13 Alexander Larsson <alexl@redhat.com>
3451 Handle the uri-scheme calls for dummy files
3453 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3455 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3456 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3457 to avoid clash with the C++ keyword.
3459 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3461 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3462 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3464 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3466 * gio/glocaldirectorymonitor.c:
3467 * gio/glocalfilemonitor.c:
3468 * gio/gunionvolumemonitor.c:
3469 Don't use g_once_init_*() for initializations that could fail and
3470 could leave the initialization variable set to 0 but use GOnce.
3471 This prevents a deadlock on the second call when trying to create
3472 a monitor and no monitor type is available. Thanks to Sven Herzberg
3475 2007-11-11 Sven Herzberg <sven@imendio.com>
3477 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3478 #ifdef (make it work on MacOS X again)
3480 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3482 Fixes Changelog for last two commits (sorry guys).
3484 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3486 * gio/gbufferedinputstream.c:
3487 * gio/gdatainputstream.c:
3489 * gio/gfileoutputstream.c:
3490 * gio/gfilterinputstream.c:
3491 * gio/glocalfileinputstream.c:
3494 More consistency fixes in g*stream.c files.
3495 Significant clean of gfile's documentation, filling in of
3496 asynchronous operations documentation.
3498 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3500 * gio/gasyncresult.c:
3501 * gio/gbufferedinputstream.c:
3502 * gio/gbufferedoutputstream.c:
3503 * gio/gcancellable.c:
3504 * gio/gcontenttype.c:
3505 * gio/gdatainputstream.c:
3506 * gio/gdataoutputstream.c:
3507 * gio/gdesktopappinfo.c:
3510 * gio/gfileattribute.c:
3511 * gio/gio/gfileenumerator.c:
3513 * gio/gfileinputstream.c:
3514 * gio/gfilemonitor.c:
3515 * gio/gfileoutputstream.c:
3516 * gio/ginputstream.c:
3518 * gio/gioscheduler.c:
3519 * gio/gloadableicon.c:
3520 * gio/glocalfileoutputstream.c:
3521 * gio/gmemoryoutputstream.c:
3522 * gio/gmountoperation.c:
3523 * gio/goutputstream.c:
3525 * gio/gsimpleasyncresult.c:
3526 * gio/gunionvolumemonitor.c:
3527 * gio/gunixmounts.c:
3528 * gio/gunixvolume.c:
3532 * gio/gvolumemonitor.c:
3533 Updated documentation stubs, working towards consistency and
3536 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3538 * gio/gmemoryoutputstream.c:
3539 * gio/gmemoryoutputstream.h:
3540 Change g_memory_output_stream_set_free_on_close() to
3541 g_memory_output_stream_set_free_data() as this makes more sense and
3542 is more consistent with GMemoryInputStream.
3544 2007-11-07 Alexander Larsson <alexl@redhat.com>
3551 Change how we find the default vfs so that
3552 we can handle a gvfs failing to init
3554 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3556 * gio/gbufferedoutputstream.c:
3557 * gio/gdatainputstream.c:
3558 * gio/gdataoutputstream.c:
3559 * gio/gfileinputstream.c:
3560 * gio/gfileoutputstream.c:
3561 * gio/gfilterinputstream.c:
3562 * gio/gfilteroutputstream.c:
3563 * gio/ginputstream.c:
3564 * gio/gmemoryinputstream.c:
3565 * gio/gmemoryoutputstream.c:
3566 * gio/goutputstream.c:
3567 * gio/gsimpleasyncresult.c:
3568 * gio/gsocketinputstream.c:
3569 * gio/gsocketoutputstream.c:
3570 Add guards to the remaining public functions, add a TODO for
3571 an unimplemented function and remove some useless guards.
3573 2007-11-07 Alexander Larsson <alexl@redhat.com>
3576 Autoconf checks for the various types of
3577 getpwuid_r and getgrgid_r
3579 * gio/glocalfileinfo.c:
3580 Use the autoconf checks from above
3582 2007-11-07 Alexander Larsson <alexl@redhat.com>
3585 (g_local_file_query_filesystem_info):
3586 Some fixes for the statvfs case
3588 2007-11-07 Alexander Larsson <alexl@redhat.com>
3591 (g_local_file_query_filesystem_info):
3592 Pick the "best" of statfs / statvfs for the system
3593 if both are availible.
3595 2007-11-07 Alexander Larsson <alexl@redhat.com>
3597 Solaris fixes from Halton.Huo@Sun.COM:
3604 * gio/glocalfileinfo.c:
3605 Fix for solaris definition of getpwuid_r
3607 * gio/test-streams.c:
3608 Use G_GNUC_PRETTY_FUNCTION
3610 2007-11-07 Alexander Larsson <alexl@redhat.com>
3612 * gio/gdesktopappinfo.c:
3613 (update_default_list):
3614 Remove double semicolon.
3615 Patch from Jens Granseuer
3617 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3619 * docs/reference/gio/gio-sections.txt:
3620 * gio/gbufferedinputstream.c:
3621 * gio/gbufferedinputstream.h:
3622 * gio/gdatainputstream.c:
3623 * gio/gfileenumerator.c:
3624 * gio/gioscheduler.c:
3625 * gio/gunionvolumemonitor.c:
3627 * programs/gio-save.c:
3628 Fix typo: availible -> available. Unfortuntely this breaks API
3629 and ABI as g_buffered_input_stream_get_available() was renamed.
3631 * gio/gunixmounts.c:
3632 * gio/gbufferedinputstream.c:
3633 Add guards for public functions.
3635 2007-11-06 Ross Burton <ross@openedhand.com>
3637 * docs/reference/gio/Makefile.am:
3638 Fix invalid += usage which automake 1.10 doesn't like.
3640 2007-11-06 Alexander Larsson <alexl@redhat.com>
3643 (g_app_launch_context_class_init):
3646 Patch from Ross Burton
3648 2007-11-06 Alexander Larsson <alexl@redhat.com>
3651 Post release version bump
3653 === gio-standalone 0.1.1 ===
3655 2007-11-06 Alexander Larsson <alexl@redhat.com>
3658 Bump version to 0.1.1
3660 * gio/gsimpleasyncresult.c:
3661 (g_simple_async_result_set_from_error):
3662 Remove bogus g_return_if_fail
3664 2007-11-06 Alexander Larsson <alexl@redhat.com>
3667 The name is gio-standalone
3670 Add top src/builddir to includedir
3672 2007-11-06 Alexander Larsson <alexl@redhat.com>
3674 * docs/reference/gio/gio-sections.txt:
3676 * gio/gbufferedinputstream.c:
3677 * gio/gbufferedoutputstream.c:
3678 * gio/gcancellable.c:
3679 * gio/gdatainputstream.h:
3680 * gio/gdataoutputstream.c:
3681 * gio/gdataoutputstream.h:
3682 * gio/gdirectorymonitor.c:
3684 * gio/gfileattribute.c:
3685 * gio/gfileattribute.h:
3686 * gio/gfileenumerator.c:
3687 * gio/gfileenumerator.h:
3690 * gio/gfileinputstream.h:
3691 * gio/gfilemonitor.c:
3692 * gio/gfileoutputstream.h:
3693 * gio/glocalfilemonitor.h:
3694 * gio/glocalfileoutputstream.h:
3695 * gio/gmemoryinputstream.c:
3696 * gio/gmemoryoutputstream.c:
3697 * gio/gmountoperation.c:
3698 * gio/goutputstream.c:
3699 * gio/goutputstream.h:
3701 * gio/gsimpleasyncresult.c:
3702 * gio/gunixmounts.c:
3703 * gio/gunixmounts.h:
3705 * gio/inotify/inotify-helper.c:
3706 Fix gtk-doc warnings
3708 Patch from Ross Burton
3710 2007-11-06 Alexander Larsson <alexl@redhat.com>
3712 * gio/gfilenamecompleter.c:
3713 (g_filename_completer_get_completions):
3716 * gio/gunixvolume.c:
3717 Remove unused function
3719 Patches from Ross Burton
3721 2007-11-06 Alexander Larsson <alexl@redhat.com>
3726 Padding not needed for interfaces
3728 2007-11-06 Alexander Larsson <alexl@redhat.com>
3730 * gio/gfilemonitor.c:
3734 Make giotypes.h an internal file
3737 * gio/gbufferedinputstream.h:
3738 * gio/gbufferedoutputstream.h:
3739 * gio/gcancellable.h:
3740 * gio/gdatainputstream.h:
3741 * gio/gdataoutputstream.h:
3742 * gio/gdirectorymonitor.c:
3743 * gio/gdirectorymonitor.h:
3748 * gio/gfileattribute.h:
3749 * gio/gfileenumerator.h:
3754 * gio/gfilemonitor.c:
3755 * gio/gfilemonitor.h:
3756 * gio/gfilenamecompleter.c:
3757 * gio/gfilenamecompleter.h:
3758 * gio/gfilterinputstream.h:
3759 * gio/gfilteroutputstream.h:
3760 * gio/ginputstream.h:
3761 * gio/gmemoryinputstream.h:
3762 * gio/gmemoryoutputstream.h:
3763 * gio/gmountoperation.c:
3764 * gio/gmountoperation.h:
3765 * gio/gnativevolumemonitor.c:
3766 * gio/goutputstream.h:
3769 * gio/gsimpleasyncresult.c:
3770 * gio/gsimpleasyncresult.h:
3771 * gio/gsocketinputstream.h:
3772 * gio/gsocketoutputstream.h:
3773 * gio/gthemedicon.c:
3774 * gio/gthemedicon.h:
3778 * gio/gvolumemonitor.c:
3779 * gio/gvolumemonitor.h:
3780 Add padding in classes where it seems useful
3781 Don't include giotypes.h from public headers
3782 Move in Class definitions into c file where possible
3787 2007-11-06 Alexander Larsson <alexl@redhat.com>
3789 * docs/reference/gio/gio-docs.xml:
3790 Better structure for API docs
3792 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3795 * gio/gloadableicon.c:
3796 * gio/gsimpleasyncresult.c:
3797 * gio/gthemedicon.c:
3798 Add some more guards to public functions. Only files missing are now
3801 2007-11-06 Alexander Larsson <alexl@redhat.com>
3803 * docs/reference/gio/gio-docs.xml:
3804 Remove old files, add missing ones
3806 2007-11-06 Alexander Larsson <alexl@redhat.com>
3808 * docs/reference/gio/gio-sections.txt:
3811 Hide implementation classes
3813 * gio/gdriveprivate.h:
3814 * gio/gvolumeprivate.h:
3815 Remove non-existing function declarations
3817 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3820 Fix compilation warnings and add guards to the new functions.
3822 * gio/gasyncresult.c:
3824 Add guards to the public functions.
3827 Implement get_path().
3829 2007-11-06 Alexander Larsson <alexl@redhat.com>
3831 * gio/gfilenamecompleter.c:
3832 Make g_filename_completer_get_completions
3833 return char ** instead of GList for
3836 * docs/reference/gio/gio-docs.xml:
3837 * docs/reference/gio/gio-sections.txt:
3839 * gio/gasyncresult.c:
3840 * gio/gbufferedinputstream.c:
3841 * gio/gbufferedoutputstream.c:
3842 * gio/gcancellable.c:
3843 * gio/gcontenttype.c:
3844 * gio/gdatainputstream.c:
3845 * gio/gdataoutputstream.c:
3846 * gio/gdesktopappinfo.c:
3847 * gio/gdirectorymonitor.c:
3851 * gio/gfileattribute.c:
3852 * gio/gfileenumerator.c:
3855 * gio/gfileinputstream.c:
3856 * gio/gfilemonitor.c:
3857 * gio/gfilenamecompleter.c:
3858 * gio/gfilenamecompleter.h:
3859 * gio/gfileoutputstream.c:
3860 * gio/gfilterinputstream.c:
3862 * gio/ginputstream.c:
3864 * gio/gioscheduler.c:
3865 * gio/gloadableicon.c:
3866 * gio/glocaldirectorymonitor.c:
3868 * gio/glocalfileinputstream.c:
3869 * gio/glocalfilemonitor.c:
3870 * gio/glocalfileoutputstream.c:
3872 * gio/gmemoryinputstream.c:
3873 * gio/gmemoryoutputstream.c:
3874 * gio/gmountoperation.c:
3875 * gio/goutputstream.c:
3876 * gio/gpollfilemonitor.c:
3878 * gio/gsimpleasyncresult.c:
3879 * gio/gsocketinputstream.c:
3880 * gio/gsocketoutputstream.c:
3881 * gio/gthemedicon.c:
3882 * gio/gunionvolumemonitor.c:
3884 * gio/gunixmounts.c:
3885 * gio/gunixvolume.c:
3886 * gio/gunixvolumemonitor.c:
3890 * gio/gvolumemonitor.c:
3891 * gio/gwin32appinfo.c:
3892 Add (mostly stub) doc strings to public functions.
3893 Patch from Andrew Walton (awalton@gmail.com)
3895 2007-11-06 Alexander Larsson <alexl@redhat.com>
3897 * gio/gappinfo.[ch]:
3898 Added GAppLaunchContext object and pass that to launch.
3899 This allows simple implementation of both
3900 launch-on-screen and startup notification via a gtk+
3901 subclass of GAppLaunchContext
3903 * gio/gdesktopappinfo.c:
3904 Implement GAppLaunchContext API
3906 * gio/gwin32appinfo.c:
3909 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3911 * gio/gmountoperation.c:
3912 Add some guards to GMountOperation's public functions.
3914 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3918 * gio/gcancellable.c:
3919 * gio/gdirectorymonitor.c:
3921 * gio/gfileenumerator.c:
3922 * gio/gfilemonitor.c:,
3923 * gio/gfilenamecompleter.c:
3926 * gio/gioscheduler.c:
3930 * gio/gvolumemonitor.c:
3931 Add even more guards to various public functions.
3933 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3936 Add guards to the public functions of GAppInfo.
3938 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3940 * gio/gcontenttype.c:
3941 Add some more guards for public functions.
3943 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3945 * gio/fam/fam-module.c:
3946 * gio/fam/gfamdirectorymonitor.c:
3947 * gio/fam/gfamdirectorymonitor.h:
3948 * gio/fam/gfamfilemonitor.c:
3949 * gio/fam/gfamfilemonitor.h:
3950 * gio/inotify/ginotifydirectorymonitor.c:
3951 * gio/inotify/ginotifydirectorymonitor.h:
3952 * gio/inotify/ginotifyfilemonitor.c:
3953 * gio/inotify/ginotifyfilemonitor.h:
3954 Add proper copyright information and remove an unused variable
3955 in the GInotifyFileMonitor constructor.
3957 * gio/gcancellable.c:
3958 Add a guard for a public function and an assertion to prevent
3959 an undefined program state.
3961 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3963 * gio/gfileattribute.c:
3964 Don't run into an assertion if the given attribute value is NULL
3965 in g_file_attribute_value_get_*() but instead return a fallback
3966 value that makes sense in most situations. Passing them a attribute
3967 value with the wrong type will still run into an assertion.
3969 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3971 * gio/gfileattribute.c:
3973 Add even more guards to the public functions. Also fix the refcounting
3974 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3975 let g_file_info_list_attributes() filter the attributes by namespace
3976 instead of simply ignoring the namespace parameter.
3978 2007-11-03 Sven Herzberg <sven@imendio.com>
3980 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3981 (This makes gio work on MacOS X again)
3983 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3986 Build the gio subdirectory before the docs. Otherwise the build will
3989 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3990 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3991 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3992 Add guards to the public functions.
3994 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3996 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3997 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3998 to prevent a compiler warning.
4000 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4001 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4002 return something in the non-void function find_topdir_for().
4004 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4011 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4013 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4014 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4015 * gwin32appinfo.c (g_win32_app_info_launch):
4016 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4017 envp_for_startup_id, g_desktop_app_info_launch,
4018 g_desktop_app_info_launch_uris):
4020 Give an opaque 'startup_id' string instead of 'envp'.
4021 Support empty file lists for launching new windows.
4022 Fix infinite recursion bug when launching URIs.
4024 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4027 Add guard to the new g_file_get_uri_scheme() function.
4029 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4032 Convert a g_return_val_if_fail() to setting the GError instead as
4033 otherwise applications have to verify the parameter before otherwise
4034 and the parameter might come directly from the user.
4036 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4038 * gio/inotify/ginotify*.[ch]:
4039 Add missing copyright information.
4041 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4044 Add guards in the beginning of public functions to check for valid
4045 parameters and fix a bug in copy_stream_with_progress() that could've
4046 caused writing less bytes than reading.
4047 * gio/glocalfileinfo.c:
4048 Check for a NULL parameter and set the GError accordingly then.
4049 * gio/goutputstream.c:
4050 Fix the same bug as in gfile.c that could've caused writing less bytes
4051 than reading in g_output_stream_real_splice().
4053 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4056 Use the correct gvolumeprivate.h naming
4058 2007-11-01 Christian Kellner <gicmo@gnome.org>
4061 Remove leftover "$(daemon_sources)" entry.
4063 2007-11-01 Christian Kellner <gicmo@gnome.org>
4068 Add copyright information to source files.
4070 2007-11-01 Alexander Larsson <alexl@redhat.com>
4074 Add g_file_get_uri_scheme
4076 2007-11-01 Alexander Larsson <alexl@redhat.com>
4079 * gio/gdesktopappinfo.c:
4080 * gio/gwin32appinfo.c:
4081 Add g_app_info_get_default_for_uri_scheme.
4083 2007-11-01 Alexander Larsson <alexl@redhat.com>
4086 Correct filename for gdriveprivate.h
4088 2007-10-31 Alexander Larsson <alexl@redhat.com>
4091 Rename id:value to id:file
4094 * gio/glocalfileinfo.c:
4097 2007-10-31 Alexander Larsson <alexl@redhat.com>
4099 * gio/gunixvolume.c:
4101 Remove g_volume_get_platform_id, as thats not
4102 needed with the simpler union volume monitor
4104 2007-10-31 Alexander Larsson <alexl@redhat.com>
4107 * gio/guniondrive.[ch]: Removed.
4108 * gio/gunionvolume.[ch]: Removed.
4109 Remove GUnionDrive/Volume
4111 * gio/gunionvolumemonitor.c:
4112 Simplify union volume monitor, now we
4113 only have one native volume monitor and
4114 we use the actual volumes/drives from the
4115 child monitors instead of wrapping them
4117 * gio/gnativevolumemonitor.[ch]:
4118 Base class for native volume monitors.
4119 Includes priority and get_volume_for_mountpoint
4122 Add g_file_find_enclosing_volume
4125 Remove volume name fs attribute
4126 Add readonly fs attribute
4129 Implement readonly attribute
4130 remove volume name attribute
4131 Implement find_enclosing volume
4133 * gio/gunixmounts.c:
4134 Add a volume for "/".
4136 * gio/gunixvolume.[ch]:
4137 Set better name for /
4139 * gio/gunixvolumemonitor.[ch]:
4140 Derive from GNativeVolumeMonitor
4141 Implement get_volume_for_mountpoint
4144 GVolume typedef moved to gfile.h
4146 * gio/gvolumeprivate.h:
4147 Add g_volume_get_for_mount_path
4149 2007-10-31 Alexander Larsson <alexl@redhat.com>
4151 * gio/gunixmounts.[ch]:
4152 Add cache info to unix mount listers
4153 Make getmntent use threadsafe
4154 Add is_system_internal attribute for GUnixMount
4156 * gio/gunixvolume.c:
4157 (g_unix_volume_new):
4158 Use is_system_internal instead of own code
4160 * gio/glocaldirectorymonitor.c:
4161 * gio/gunixvolumemonitor.c:
4162 Update to new gunixmounts API
4167 2007-10-30 Alexander Larsson <alexl@redhat.com>
4170 Add volume name fsinfo attribute
4173 Read volume name info
4175 * gio/gunionvolumemonitor.c:
4176 Fix infinite loops when finalizing a union volume monitor
4178 2007-10-30 Alexander Larsson <alexl@redhat.com>
4180 * gio/goutputstream.[ch]:
4181 Add splice() with default implementation
4183 * gio/gsocketoutputstream.c:
4184 (g_socket_output_stream_write):
4185 Return error on cancellation correctly.
4187 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4189 * gio/glocalfile.c (g_local_file_trash):
4190 Do not leak a string.
4192 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4194 * gio/gfile.c (g_file_load_contents):
4195 Unref the stream after closing it.
4197 2007-10-25 Alexander Larsson <alexl@redhat.com>
4199 * gio/gioscheduler.h:
4202 2007-10-25 Alexander Larsson <alexl@redhat.com>
4206 Add g_file_has_uri_scheme and implement for local files
4208 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4210 * gio/gdesktopappinfo.c: do not leak a string.
4212 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4214 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4215 (g_local_directory_monitor_new):
4216 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4217 (g_local_file_monitor_new):
4218 Only look for the monitor type that should be used the first time
4219 and use g_qsort_with_data() instead of our own bubble sort
4222 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4225 * gio/fam/Makefile.am:
4226 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4227 * gio/fam/fam-helper.h:
4228 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4229 * gio/fam/gfamdirectorymonitor.c:
4230 * gio/fam/gfamdirectorymonitor.h:
4231 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4232 * gio/fam/gfamfilemonitor.h:
4233 * gio/glocaldirectorymonitor.c:
4234 * gio/glocaldirectorymonitor.h:
4235 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4236 * gio/glocalfilemonitor.h:
4237 * gio/inotify/Makefile.am:
4238 * gio/inotify/ginotifydirectorymonitor.c:
4239 * gio/inotify/ginotifydirectorymonitor.h:
4240 * gio/inotify/ginotifyfilemonitor.c:
4241 * gio/inotify/ginotifyfilemonitor.h:
4242 Implement the FAM and Inotify monitors as
4243 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4244 their own GIO module. GLocal(Directory|File)Monitor will use the
4245 monitor with the highest rank that is supported on that machine.
4247 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4250 Change GIO module dir to $(libdir)/gio/modules and change
4251 the log domain from GVFS to GIO. Also only export symbols starting
4252 with g_ in the resulting library.
4253 * gio/test-streams.c: (main):
4254 Set log handler for the GIO log domain.
4256 2007-10-22 Alexander Larsson <alexl@redhat.com>
4258 * gio/gfilenamecompleter.[ch]:
4259 Add g_filename_completer_set_dirs_only
4261 2007-10-22 Alexander Larsson <alexl@redhat.com>
4264 * gio/gurifuncs.[ch]:
4265 Add some simple URI helpers
4267 * gio/gfilenamecompleter.[ch]:
4268 Added object for filename (parse name actually) completion
4271 Handle ~ in parse names
4273 2007-10-17 Alexander Larsson <alexl@redhat.com>
4276 * gio/glocalfileinfo.c:
4277 Add and implement id:value attribute
4279 2007-10-17 Alexander Larsson <alexl@redhat.com>
4282 * gio/guniondrive.c:
4284 Add and implement g_drive_has_volumes
4286 2007-10-17 Alexander Larsson <alexl@redhat.com>
4289 * gio/glocalfileinfo.[ch]:
4290 Add unix:is_mountpoint and implement for local files
4292 2007-10-16 Alexander Larsson <alexl@redhat.com>
4294 * gio/gunionvolumemonitor.c:
4295 (g_union_volume_monitor_init):
4296 Fix up the unix type getting so that it works with gcc
4298 2007-10-12 Alexander Larsson <alexl@redhat.com>
4301 * gio/glocalfileinfo.c:
4302 Add thumbnail:failed to file info
4304 2007-10-12 Richard Hult <richard@imendio.com>
4306 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4307 optimizing away the get_type call (happens with some gcc versions,
4308 like the one shipped with OS X 10.4).
4310 2007-10-12 Alexander Larsson <alexl@redhat.com>
4312 * gio/glocalfileinfo.c:
4313 (_g_local_file_info_set_attribute):
4314 Fix build if not HAVE_XATTR
4315 Patch from Milosz Derezynski <internalerror@gmail.com>
4317 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4319 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4320 around for review, otherwise I would have asked you before
4323 2007-10-11 Alexander Larsson <alexl@redhat.com>
4326 Add thumbnail:path attribute
4328 * gio/glocalfileinfo.c:
4329 Implement thumbnail:path for local files
4331 2007-10-11 Alexander Larsson <alexl@redhat.com>
4333 * gio/glocalfileinfo.c:
4334 (_g_local_file_info_get):
4335 Avoid duplicate icon names
4337 2007-10-11 Alexander Larsson <alexl@redhat.com>
4339 * gio/gthemedicon.[ch]:
4340 Change g_themed_icon_get_names return type to const
4342 2007-10-10 Alexander Larsson <alexl@redhat.com>
4344 * gio/glocalfileinfo.c:
4345 Don't reference freed memory
4347 2007-10-10 Alexander Larsson <alexl@redhat.com>
4349 * gio/gfileattribute.c:
4352 * gio/glocalfileinfo.c:
4355 2007-10-10 Alexander Larsson <alexl@redhat.com>
4358 Check for NULL icons
4360 * gio/gfileattribute.c:
4361 Don't dup when getting objects (same as for string attributes)
4363 * gio/gicon.c (g_icon_equal):
4364 Safely handle NULLs in equal
4366 2007-10-10 Alexander Larsson <alexl@redhat.com>
4369 Fix c++ compilation issues
4370 Patch from Milosz Derezynski <internalerror@gmail.com>
4372 2007-10-10 Alexander Larsson <alexl@redhat.com>
4374 * programs/gio-monitor-dir.c:
4375 Don't crash if dir monitor not supported.
4377 2007-10-09 Alexander Larsson <alexl@redhat.com>
4380 Add missing G_END_DECLS
4382 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4384 * gio/gfile.c: (g_file_set_display_name),
4385 (g_file_query_settable_attributes),
4386 (g_file_query_writable_namespaces):
4387 Return NULL not FALSE on errors as the return type is a pointer.
4389 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4391 * gio/glocalfile.c: (g_local_file_monitor_file):
4392 Don't call monitor_file on the default interface vtable (which
4393 is NULL) but simply return NULL. The caller, GFile, will create a
4394 polling monitor if NULL is returned.
4396 2007-10-09 Alexander Larsson <alexl@redhat.com>
4400 * gio-unix-2.0.pc.in:
4401 Add gio-unix-2.0.pc if OS_UNIX
4404 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4406 2007-10-09 Alexander Larsson <alexl@redhat.com>
4408 * gio/gunixmounts.[ch]:
4409 Make unix mount monitoring API sane.
4410 Now its just a object with mounts_changed
4411 and mountpoints_changed signals.
4413 * gio/glocaldirectorymonitor.c:
4414 * gio/gunixvolumemonitor.c:
4415 Use new mount monitor api
4417 2007-10-09 Alexander Larsson <alexl@redhat.com>
4419 * gio/gunixmounts.[ch]:
4420 Move guess type into one call for mounts and one for mountpoints
4423 * gio/gunixvolume.c:
4426 2007-10-09 Alexander Larsson <alexl@redhat.com>
4428 * gio/gunixmounts.[ch]:
4429 Remove _ prefix in preparation to make this semi-public
4430 Hide implementation of structs
4432 * gio/glocaldirectorymonitor.c:
4434 * gio/gunixvolume.c:
4435 * gio/gunixvolumemonitor.c:
4436 Update for above API changes
4438 2007-10-08 Alexander Larsson <alexl@redhat.com>
4441 Better polling fallback. This also handles the case where we have
4442 a monitor_file implementation, but it fails.
4444 2007-10-08 Alexander Larsson <alexl@redhat.com>
4448 * gio/gunixmounts.c:
4449 * programs/gio-monitor-dir.c:
4450 * programs/gio-monitor-file.c:
4451 Added cancellable to file monitoring calls.
4452 These are really sync calls and need this.
4454 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4456 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4457 (g_local_vfs_class_init):
4458 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4459 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4461 2007-10-05 Alexander Larsson <alexl@redhat.com>
4463 * gio/gdirectorymonitorprivate.h:
4464 * gio/gfilemonitorprivate.h:
4465 * gio/gdirectorymonitor.h:
4466 * gio/gfilemonitor.h:
4467 Remove *private.h and move to the public API, so that
4468 we can do implementations outside gio (such as in gvfs)
4470 * gio/gdirectorymonitor.c:
4471 * gio/gfilemonitor.c:
4472 * gio/glocaldirectorymonitor.c:
4473 * gio/gpollfilemonitor.c:
4474 * gio/inotify/inotify-helper.c:
4475 * gio/fam/fam-helper.c:
4476 Update to the new header names
4478 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4480 * gio/gdirectorymonitor.c:
4481 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4484 2007-10-04 Alexander Larsson <alexl@redhat.com>
4486 * gio/glocalfileinfo.c (get_access_rights):
4487 Set CAN_TRASH when we can move the file.
4488 We should really also check for a parent trash dir.
4490 2007-10-04 Alexander Larsson <alexl@redhat.com>
4492 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4493 Add can_trash access attribute
4495 2007-10-04 Alexander Larsson <alexl@redhat.com>
4498 (g_local_file_trash):
4499 Create info file first. This is per-spec and allows
4500 us to actually trash directories.
4502 2007-10-02 Alexander Larsson <alexl@redhat.com>
4504 * gio/gdesktopappinfo.c:
4505 Implement the new mime support code.
4506 Always set app as handling mimetype when being set as default for it
4508 2007-10-01 Alexander Larsson <alexl@redhat.com>
4510 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4511 Fix up check for xattrs:
4513 2007-10-01 Alexander Larsson <alexl@redhat.com>
4516 (g_app_info_set_as_default_for_extension):
4517 (g_app_info_add_supports_type):
4518 (g_app_info_can_remove_supports_type):
4519 (g_app_info_remove_supports_type):
4520 Make these fail nicely if not implemented
4522 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4524 * gio/glocalfileoutputstream.c:
4525 * gio/glocalfileoutputstream.h:
4530 * programs/gio-save.c:
4531 Add a GFileCreateFlags argument to operations that can create
4534 2007-10-01 Alexander Larsson <alexl@redhat.com>
4536 * gio/gappinfo.[ch]:
4537 * gio/gdesktopappinfo.c:
4538 Add more (stubbed out) mime API needed for nautilus
4540 2007-10-01 Alexander Larsson <alexl@redhat.com>
4543 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4544 Add g_app_info_set_as_default_for_extension.
4546 * gio/gdesktopappinfo.c:
4547 Dummy for g_app_info_set_as_default_for_extension
4548 Support flags in g_app_info_create_from_commandline
4550 * gio/gwin32appinfo.c:
4552 Update for API changes
4554 * gio/gthemedicon.c:
4555 Properly NULL-terminate list of icon names
4557 2007-09-28 Alexander Larsson <alexl@redhat.com>
4559 * gio/gloadableicon.h:
4560 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4562 2007-09-28 Alexander Larsson <alexl@redhat.com>
4565 Install headers in $includedir/gio-standalone/
4567 * gio-2.0.pc.in: Added.
4568 * gio-standalone.pc.in: Removed.
4571 Renamed pkg-config file to match glib (for future move)
4572 Update to the new include dir
4575 Add more TODO comments
4577 2007-09-28 Alexander Larsson <alexl@redhat.com>
4579 * gio/gdesktopappinfo.[ch]:
4580 Expose new_from_filename
4581 Add getter for is_hidden and handle it better
4583 2007-09-28 Alexander Larsson <alexl@redhat.com>
4585 * gio/gfileinfo.[ch]:
4586 Rename g_file_size_format_for_display to
4587 g_format_file_size_for_display.
4588 Now it doesn't have the g_file prefix, so we
4589 can later move it to glib.
4591 2007-09-28 Alexander Larsson <alexl@redhat.com>
4593 * gio/gappinfo.[ch]:
4594 Add g_app_info_get_id and g_app_info_get_executable.
4595 Make all getters non-reffing
4596 Make g_app_info_launch take GFile arguments.
4597 Add must_support_uris argument to g_app_info_get_default_for_type.
4599 * gio/gwin32appinfo.c:
4600 Update to GAppInfo api changes
4602 * gio/gdesktopappinfo.c:
4603 Update to GAppInfo api changes
4604 Implement supports_xdg_startup_notify
4606 * gio/gfileicon.c (g_file_icon_get_file):
4607 Make getter non-reffing.
4612 2007-09-27 Alexander Larsson <alexl@redhat.com>
4614 * gio/gfileinfo.[ch]:
4615 Add g_file_size_format_for_display helper
4617 2007-09-27 Alexander Larsson <alexl@redhat.com>
4619 * gio/glocalfileinfo.c:
4620 Set UNIX_GID from gid, not from uid
4622 2007-09-27 Alexander Larsson <alexl@redhat.com>
4625 Add g_file_set_attributes_async
4627 2007-09-27 Alexander Larsson <alexl@redhat.com>
4629 * gio/glocalfile.c (g_local_file_set_display_name):
4630 Fix set_display_name to actually rename to the right place.
4631 Use lstat to look for existing files so we don't overwrite
4634 2007-09-26 Alexander Larsson <alexl@redhat.com>
4637 Add g_file_set_display_name_async()
4639 2007-09-26 Alexander Larsson <alexl@redhat.com>
4642 Add load_partial_contents async calls
4645 Make internal function static
4647 2007-09-26 Alexander Larsson <alexl@redhat.com>
4649 * gio/glocalfileinfo.c:
4650 Correctly detect broken symlinks
4652 2007-09-26 Alexander Larsson <alexl@redhat.com>
4654 * gio/gcancellable.c (g_cancellable_cancel):
4655 Allow cancel on NULL cancellable
4657 2007-09-25 Alexander Larsson <alexl@redhat.com>
4659 * gio/gsimpleasyncresult.c:
4660 Don't allocate g_error manually.
4661 Fixes g_slice/g_new mixup crash
4663 2007-09-25 Alexander Larsson <alexl@redhat.com>
4665 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4666 Actually set active_backend.
4667 This means the monitor will be cancelled correctly.
4669 2007-09-25 Alexander Larsson <alexl@redhat.com>
4671 * gio/gdirectorymonitor.c:
4672 Set timeout to NULL when destroying
4674 2007-09-25 Alexander Larsson <alexl@redhat.com>
4677 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4678 that is a better description of the error.
4680 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4682 * gio/gvfs.c: (g_vfs_get_local):
4683 Make the local vfs variable static. The same instance should
4686 2007-09-24 Alexander Larsson <alexl@redhat.com>
4688 * gio/glocalfileinfo.c:
4689 Pass in actual length read into sniffer, not the length
4692 2007-09-21 Alexander Larsson <alexl@redhat.com>
4694 * gio/gfileenumerator.c:
4697 * gio/gfileinputstream.c:
4698 * gio/gfileoutputstream.c:
4699 * gio/ginputstream.c:
4700 * gio/goutputstream.c:
4701 Don't crash if async callbacks are NULL
4703 2007-09-20 Alexander Larsson <alexl@redhat.com>
4706 Add async enumerate_children method and default
4709 2007-09-20 Alexander Larsson <alexl@redhat.com>
4712 Add g_file_contains_file & g_file_get_relative_path, since they
4713 were needed for nautilus.
4714 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4719 Implement new methods
4721 2007-09-17 Alexander Larsson <alexl@redhat.com>
4724 * gio/gfileinputstream.[ch]:
4725 * gio/gfileoutputstream.[ch]:
4727 * gio/glocalfileenumerator.[ch]:
4728 * gio/glocalfileinfo.[ch]:
4729 * gio/glocalfileinputstream.c:
4730 * gio/glocalfileoutputstream.c:
4731 * gio/gpollfilemonitor.c:
4732 * programs/gio-copy.c:
4733 * programs/gio-info.c:
4734 * programs/gio-move.c:
4735 Rename get_file_info to query_info() to make it clearer
4736 that these are not simple getters, but do i/o.
4738 2007-09-17 Alexander Larsson <alexl@redhat.com>
4740 * gio/gdatainputstream.[ch]:
4741 * gio/test-streams.c:
4742 Use _read_XXX instead of _get_XXX for the i/o calls
4745 2007-09-17 Alexander Larsson <alexl@redhat.com>
4748 Added needed stuff to TODO comment
4750 2007-09-17 Alexander Larsson <alexl@redhat.com>
4752 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4753 Don't error out removing the backup copy if it doesn't
4756 2007-09-14 Alexander Larsson <alexl@redhat.com>
4758 * programs/Makefile.am:
4759 * programs/gvfs-*.c:
4761 Renamed apps from gvfs-xxx to gio-xxx.
4763 2007-09-14 Alexander Larsson <alexl@redhat.com>
4766 * gio/gfileoutputstream.[ch]:
4767 * gio/glocalfileoutputstream.c:
4768 * programs/gvfs-save.c:
4769 g_file_output_stream_get_etag doesn't do i/o, so remove
4770 cancellation and error.
4772 2007-09-14 Alexander Larsson <alexl@redhat.com>
4775 Add new_etag output to replace_contents functions
4777 2007-09-14 Alexander Larsson <alexl@redhat.com>
4779 * gio/gfileoutputstream.[ch]:
4780 Add async get_file_info and default implementation
4782 2007-09-14 Alexander Larsson <alexl@redhat.com>
4784 * gio/gfileinputstream.c:
4785 Implement fallback wrapper for async get_file_info
4787 2007-09-14 Alexander Larsson <alexl@redhat.com>
4790 Add etag out argument to load_contents
4795 2007-09-14 Alexander Larsson <alexl@redhat.com>
4797 * gio/gcontenttype.c (looks_like_text):
4798 Whitespace like tab, cr and lf do not make the
4801 2007-09-14 Alexander Larsson <alexl@redhat.com>
4803 * gio/gfileinputstream.[ch]:
4804 Add async get_file_info.
4806 2007-09-13 Alexander Larsson <alexl@redhat.com>
4808 * gio/goutputstream.c (g_output_stream_write_all):
4809 Allow NULL for bytes_written
4811 2007-09-13 Alexander Larsson <alexl@redhat.com>
4813 * gio/gmemoryinputstream.[ch]:
4814 Add accessors for data
4816 2007-09-13 Alexander Larsson <alexl@redhat.com>
4818 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4819 Don't crash if length is NULL