1 2008-08-08 Loïc Minier <lool@dooz.org>
3 Bug 535124 – umask 002 not being applied for new directories, new
4 files get the correct umask
6 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
9 2008-08-08 Tor Lillqvist <tml@novell.com>
11 * gwin32mount.c: Remove unused code. Whitespace cleanup.
13 * gwin32volumemonitor.c (get_connected_drives): Put questionable
14 code that didn't actually do anything inside #if 0, and add a
15 comment wondering what the code was supposed to do. This also gets
16 rid of a leftover debugging printout.
18 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
20 * gfileicon.c (g_file_icon_get_property)
21 (g_file_icon_set_property): New functions.
22 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
24 (g_file_icon_new): Use the property (bug #546132).
26 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
28 * gthemedicon.c (g_themed_icon_get_property): Also handle
29 `PROP_USE_DEFAULT_FALLBACKS'.
30 (g_themed_icon_class_init): Make
31 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
33 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
35 Bug 546371 – Improve docs re g_file_monitor
37 * gfilemonitor.c: Mention g_file_monitor() in the docs.
39 2008-08-04 Matthias Clasen <mclasen@redhat.com>
41 * === Released 2.17.6 ===
43 2008-08-04 Matthias Clasen <mclasen@redhat.com>
45 * === Released 2.17.5 ===
47 2008-08-04 Matthias Clasen <mclasen@redhat.com>
49 Bug 546017 – Don't copy attributes when copying a symlink
51 * gfile.c (g_file_copy_attributes): Specify
52 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
53 g_file_set_attributes_from_info. Patch by Christian Kellner
55 2008-08-04 Matthias Clasen <mclasen@redhat.com>
59 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
60 a bit more extensible. Work by Clemens Buss.
62 * gioenums.h: Add GEmblemOrigin.
65 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
67 Bug 546079 – leak in xdgmime
69 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
71 2008-08-03 Tor Lillqvist <tml@novell.com>
73 * win32/gwin32directorymonitor.h
74 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
77 2008-08-03 Tor Lillqvist <tml@novell.com>
79 * win32/gwin32directorymonitor.c
80 (g_win32_directory_monitor_callback): Make prototype match
81 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
82 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
85 (g_win32_directory_monitor_constructor):
86 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
87 names in the GLib API on Windows, so convert to UTF-16 and open
90 2008-08-03 Tor Lillqvist <tml@novell.com>
92 Bug 541036 - Gnumeric crashes when trying to open Desktop or
93 user's folder under Windows
95 * win32/gwin32directorymonitor.c
96 (g_win32_directory_monitor_constructor): Ignore error from
97 CreateFile() when opening directory. Instead of asserting, just
98 store INVALID_HANDLE_VALUE then in
99 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
100 ReadDirectoryChangesW().
101 (g_win32_directory_monitor_cancel): Don't attempt to close
102 directory handle if it is INVALID_HANDLE_VALUE.
104 2008-08-01 Matthias Clasen <mclasen@redhat.com>
106 * gdesktopappinfo.c: Remove debug spew
108 2008-08-01 Hans Breuer <hans@breuer.org>
110 * makefile.msc : add gemblembedicon
112 2008-07-30 Matthias Clasen <mclasen@redhat.com>
114 Bug 545457 – gdmsetup crashed with SIGSEGV in
115 g_unix_mount_guess_should_display()
117 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
118 crash if no mount is found.
120 2008-07-28 Matthias Clasen <mclasen@redhat.com>
122 Bug 545203 – gfile.c: argument is different type.
124 * gfile.c (open_read_async_thread): Pass a GError **
125 to g_file_set_error_literal.
126 Reported by Kazuki Iwamoto
128 2008-07-28 Matthias Clasen <mclasen@redhat.com>
130 Bug 545157 – wrong/no list of "open with" applications for .cc and
133 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
134 Collect all ancestors, not just direct parents. Pointed
135 out by Bastien Nocera
137 2008-07-28 Matthias Clasen <mclasen@redhat.com>
139 * Makefile.am: Install gemblemedicon.h
141 2008-07-28 Matthias Clasen <mclasen@redhat.com>
143 * gemblemedicon.[hc]: Add a GIcon implementation that can
144 add an emblem to another icon.
151 * gfileicon.c: Small documentation additions.
153 2008-07-28 Tor Lillqvist <tml@novell.com>
155 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
158 2008-07-27 Tor Lillqvist <tml@novell.com>
160 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
162 2008-07-24 David Zeuthen <davidz@redhat.com>
166 Also export a g_mount_guess_content_type_sync() function.
168 2008-07-23 Matthias Clasen <mclasen@redhat.com>
170 529694 – SELinux context setting support
172 * gfileinfo.c: Support setting selinux attributes.
173 Patch by Tomas Bzatek
175 2008-07-22 Priit Laes <plaes@plaes.org>
177 Bug 544140 - fam-helper 64-bit issue?
179 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
181 2008-07-21 Matthias Clasen <mclasen@redhat.com>
183 * === Released 2.17.4 ===
185 2008-07-20 Matthias Clasen <mclasen@redhat.com>
187 * gvolumemonitor.[hc]:
192 * gmount.c: Documentation fixes
194 2008-07-19 Matthias Clasen <mclasen@redhat.com>
196 543504 – crash in Epiphany Web Browser: Opening local file
207 * gvolume.c: Register types thread-safely.
208 Patch by Christian Persch
210 2008-07-18 Matthias Clasen <mclasen@redhat.com>
212 * gcontenttype.c: Remove debug spew
214 2008-07-18 Matthias Clasen <mclasen@redhat.com>
216 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
219 * fen/fen-kernel.c: Remove a warning that was causing
220 crashes. Reported by Lin Ma.
222 2008-07-18 Matthias Clasen <mclasen@redhat.com>
224 Bug 543040 – async reading on dummy file will crash on
227 * gfile.c (open_read_async_thread): Cope with read_fn being
228 NULL. Reported by Lin Ma.
230 2008-07-18 Matthias Clasen <mclasen@redhat.com>
233 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
235 2008-07-16 Matthias Clasen <mclasen@redhat.com>
239 * giomodule.c: Rename a chapter id to avoid filename conflict.
241 2008-07-16 Matthias Clasen <mclasen@redhat.com>
243 Bug 540616 – mem leak in filechooser button
245 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
246 the mount entry. Reported by Chrisitan Persch
248 2008-07-16 Matthias Clasen <mclasen@redhat.com>
250 * gfile.c: Small documentation fixes.
252 2008-07-15 Matthias Clasen <mclasen@redhat.com>
254 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
256 2008-07-08 Matthias Clasen <mclasen@redhat.com>
261 * gmount.c: Documentation improvements.
263 2008-07-08 Matthias Clasen <mclasen@redhat.com>
266 * gmount.[hc]: Add g_mount_guess_content_type().
268 2008-07-06 David Zeuthen <davidz@redhat.com>
271 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
272 is needed for easily handling adoption of foreign volumes by
273 out-of-process volume monitors (#541793)
275 2008-07-06 David Zeuthen <davidz@redhat.com>
277 * gvolumemonitor.[ch]:
278 * gunionvolumemonitor.c: Export the eject-button signal on the
279 volume monitor class (#541794).
281 2008-07-06 Matthias Clasen <mclasen@redhat.com>
283 * gappinfo.c: More doc tweaks
285 2008-07-05 Matthias Clasen <mclasen@redhat.com>
287 * gappinfo.c: Clarify some docs
289 2008-07-03 Matthias Clasen <mclasen@redhat.com>
291 * gdesktopappinfo.c: Fix a stupid mistake.
293 2008-07-02 Matthias Clasen <mclasen@redhat.com>
295 * === Released 2.17.3 ===
297 2008-07-02 Matthias Clasen <mclasen@redhat.com>
299 * gfilemonitor.c: Fix the build.
301 2008-07-02 Matthias Clasen <mclasen@redhat.com>
303 Bug 536160 – Add g_file_monitor()
306 * gfile.[hc]: Add g_file_monitor which can return either
307 a file or a directory monitor. Proposed by Behdad Esfahbod
309 2008-07-02 Matthias Clasen <mclasen@redhat.com>
311 536733 – gio build failure on Irix
313 * glocalfile.c: Use a configure check for structfs.f_bavail.
315 2008-07-02 Matthias Clasen <mclasen@redhat.com>
317 Bug 534639 – add g_desktop_app_info_new_from_keyfile
320 * gdesktopappinfo.[hc]: Add a function to create a
321 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
323 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
325 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
327 2008-07-01 Matthias Clasen <mclasen@redhat.com>
329 * gunixmounts.c: Fix a doc typo.
331 2008-07-01 Cody Russell <bratsche@gnome.org>
333 * gio/gcontenttype.c:
334 * gio/gwin32appinfo.c:
335 * gio/gwin32volumemonitor.c:
336 * gio/gwin32mount.c: Fixed some include problems.
338 2008-07-01 Cody Russell <bratsche@gnome.org>
342 Moved all relevant typedefs into these files.
345 Updated wrt added files.
347 Split types into separate file for easier maintainership. (#538564)
349 2008-06-30 Matthias Clasen <mclasen@redhat.com>
351 Bug 540331 – g_file_append_to () documentation: can return NULL
353 * gfile.c (g_file_append_to): Clarify docs.
356 2008-06-30 Matthias Clasen <mclasen@redhat.com>
358 Bug 539090 – g_content_type_from_mime_type() should unalias
360 * gcontentype.c (g_content_type_from_mime_type): Unalias.
361 Patch by Markus Bergman
363 2008-06-30 Matthias Clasen <mclasen@redhat.com>
365 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
368 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
369 on ppc and alpha. Reported by Mart Raudsepp
371 2008-06-29 Matthias Clasen <mclasen@redhat.com>
374 * tests/memory-output-stream.c: Add some tests for
377 2008-06-29 Matthias Clasen <mclasen@redhat.com>
379 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
382 * gmemoryoutputstream.c (array_resize): Handle truncation to
383 zero correctly. Reported by Akira Tagoh
385 2008-06-29 Matthias Clasen <mclasen@redhat.com>
387 * gmemoryoutputstream.c: Trivial doc fixes
389 2008-06-29 Matthias Clasen <mclasen@redhat.com>
391 Bug 540802 – g_list_prepend doesn't concat lists
393 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
394 one list to another. Pointed out by Jan Arne Petersen
396 2008-06-28 Michael Natterer <mitch@imendio.com>
398 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
400 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
402 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
403 to avoid problems with partial icon themes.
405 2008-06-17 Hans Breuer <hans@breuer.org>
407 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
408 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
409 access again on win32, see bug #538127
410 * giomodule.c : ensure GWin32VolumeMonitor is registered
411 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
412 * Makefile.am makefile.msc : updated
414 2008-06-16 Hans Breuer <hans@breuer.org>
416 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
417 and initialization in one step avoids c99ism
419 2008-06-16 Christian Persch <chpe@gnome.org>
422 * gio/gbufferedinputstream.c
424 * gio/gdatainputstream.c
425 * gio/gdesktopappinfo.c
427 * gio/gfileenumerator.c
428 * gio/gfileinputstream.c
429 * gio/gfileoutputstream.c
431 * gio/glocaldirectorymonitor.c
433 * gio/glocalfileenumerator.c
434 * gio/glocalfileinfo.c
435 * gio/glocalfilemonitor.c
436 * gio/glocalfileoutputstream.c
437 * gio/gmemoryinputstream.c
438 * gio/gmemoryoutputstream.c
439 * gio/goutputstream.c
440 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
443 2008-06-16 Tor Lillqvist <tml@novell.com>
445 Bug 538362 - Get Win32 icons back in the file chooser
447 * gcontenttype.c (g_content_type_get_icon): Look up the icon
448 corresponding to a file extension in the Registry. Patch by Hans
450 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
452 2008-06-16 Tor Lillqvist <tml@novell.com>
454 Patches by Hans Breuer:
456 * glocalfile.c (is_xp_or_later): Handle compiling against older
457 SDK headers with missing VerifyVersionInfo(). Conditioned on
458 _MSC_VER, but should probably use some better test.
459 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
460 uninitialised statfs_result variable on Win32.
462 2008-06-16 Michael Natterer <mitch@imendio.com>
464 * *.c: chain up unconditionally in finalize() and dispose(). Also
465 don't dereference these function pointers when calling them since
466 that has no meaning at all.
468 2008-06-16 Ross Burton <ross@burtonini.com>
471 Remove check for dispose implementation as it annoys Emmanuele.
473 2008-06-16 Ross Burton <ross@burtonini.com>
475 Bug 536252 – GFileEnumerator should allow access to the containing
481 Add g_file_enumerator_get_container() and a container writeable
482 construct-only property. Also shuffle around typedefs to make it
485 * glocalfileenumerator.c:
486 * glocalfileenumerator.h:
488 Instead of a string filename take a GFile in the constructor and
489 use it to set the container property.
494 2008-06-16 Matthias Clasen <mclasen@redhat.com>
496 * gfile.c: Make includes more uniform
498 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
500 * tests/live-g-file.c (sample_struct):
501 Use less fancy unicode filenames, so the test doesn't fail
502 on Mac OS X (#531476).
504 2008-06-12 Matthias Clasen <mclasen@redhat.com>
506 * === Released 2.17.2 ===
508 2008-06-12 Matthias Clasen <mclasen@redhat.com>
510 * === Released 2.17.1 ===
512 2008-06-11 A. Walton <awalton@gnome.org>
514 * tests/g-file.c (test_g_file_new_null):
515 Fix broken test case.
517 2008-06-11 Matthias Clasen <mclasen@redhat.com>
519 * pltcheck.sh: We use g_clear_error now.
521 2008-06-11 Matthias Clasen <mclasen@redhat.com>
523 * glocalfile.c (g_local_file_enumerate_children): Revert
524 an unintended change.
526 2008-06-11 Matthias Clasen <mclasen@redhat.com>
528 * gfile.c (g_file_replace_contents): Don't unref before the last use.
530 2008-06-10 Matthias Clasen <mclasen@redhat.com>
532 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
535 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
536 as icon for the desktop directory, also make user-home and
537 user-desktop the preferred icons.
539 2008-06-10 Matthias Clasen <mclasen@redhat.com>
542 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
543 to add a name to the front of the list.
545 2008-06-10 Matthias Clasen <mclasen@redhat.com>
547 Bug 537392 – Additional colon in xattr name
549 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
550 too. Reported by Alessandro Morandi
552 2008-06-10 Matthias Clasen <mclasen@redhat.com>
554 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
557 * glocalfile.c (get_fs_type): Add afs and autofs.
558 Patch by Danny Baumann.
560 2008-06-10 Matthias Clasen <mclasen@redhat.com>
562 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
564 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
565 is no parent. (Owen Taylor, patch by Christian Neumair)
567 2008-06-10 Paolo Borelli <pborelli@katamail.com>
569 * gfile.c (g_file_replace_contents): do not leak the output stream.
571 2008-06-10 Michael Natterer <mitch@imendio.com>
573 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
574 uninitialized memory as array index.
576 2008-06-10 Tor Lillqvist <tml@novell.com>
578 * gcontenttype.c (g_content_type_can_be_executable)
579 (g_content_type_get_icon) [Win32]: Add TODO comments.
581 2008-06-09 Matthias Clasen <mclasen@redhat.com>
583 * xdgmime/Makefile.am: Fix the build
585 2008-06-09 Matthias Clasen <mclasen@redhat.com>
587 * gcontenttype.c (g_content_type_get_icon): Use icons specified
588 in the shared mime database, if available.
590 * xdgmime/*: Sync with upstream. This brings support for
591 glob weights, generic icons, and changes the cache format to
594 2008-05-28 Michael Natterer <mitch@imendio.com>
596 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
597 the global CPPFLAGS now.
599 * tests/data-input-stream.c
600 * tests/data-output-stream.c
601 * tests/g-file-info.c
603 * tests/live-g-file.c
604 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
606 2008-05-27 Matthias Clasen <mclasen@redhat.com>
608 * === Released 2.17.0 ===
610 * tests/live-g-file.c: Clean up after the tests, so make distcheck
611 doesn't complain about leftover files.
613 2008-05-27 simon.zheng <simon.zheng@sun.com>
615 * glocalfile.c: (g_local_file_query_filesystem_info):
616 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
618 2008-05-26 Michael Natterer <mitch@imendio.com>
620 * gmemoryoutputstream.h: declare
621 g_memory_output_stream_get_data_size().
623 2008-05-26 Matthias Clasen <mclasen@redhat.com>
625 * tests/*: Make tests work
627 2008-05-26 Matthias Clasen <mclasen@redhat.com>
629 * gio.symbols: Add g_memory_output_stream_get_data_size.
631 2008-05-25 Ross Burton <ross@burtonini.com>
634 Fix typo in error message (#534764).
636 2008-05-25 Ross Burton <ross@burtonini.com>
639 Fix circular dependency loop for gioenumtypes.h (#534759).
641 2008-05-19 Hans Breuer <hans@breuer.org>
643 * Makefile.am : EXTRA_DIST += makefile.msc
645 2008-05-17 Matthias Clasen <mclasen@redhat.com>
648 * gcontenttype.c: (g_content_type_from_mime_type):
649 New function to create a content type from a mime type. (#527175,
652 2008-05-17 Matthias Clasen <mclasen@redhat.com>
654 Bug 532965 – Should not return filesystem::free for certain file systems
656 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
657 free space for ncpfs.
659 2008-05-17 Matthias Clasen <mclasen@redhat.com>
661 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
663 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
664 st_dev might be zero.
666 2008-05-16 Tor Lillqvist <tml@novell.com>
668 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
669 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
671 2008-05-13 Bastien Nocera <hadess@hadess.net>
673 * gfile.c (has_valid_scheme): A URI scheme must start with a
674 letter, even if later more characters are allowed (#532852)
676 2008-05-05 Michael Natterer <mitch@imendio.com>
678 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
679 code from being checked in that breaks the build of applications
680 which use G_DISABLE_SINGLE_INCLUDES.
682 * makegioalias.pl: make the alias file include "glib.h" instead of
685 * gio.symbols: whitespace change to force regeneration of the
686 alias file after above script change.
688 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
690 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
692 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
694 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
696 2008-04-28 David Zeuthen <davidz@redhat.com>
698 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
699 displaying mounts in a subdirectory not accessible to the
702 2008-04-22 Michael Natterer <mitch@imendio.com>
704 * Makefile.am: fix library versioning (it was 0.0.0).
706 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
708 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
709 Default disable all loggings.
710 * fen/fen-kernel.c: (printevent), (port_add_kevent),
711 (port_fetch_event_cb): Fixed two macro nits.
713 2008-04-16 Matthias Clasen <mclasen@redhat.com>
715 * xdgmime/xdgmime.c: Rework the timestamp checking code
716 to protect against duplicate directories in XDG_DATA_DIRS.
717 Fixes fd.o bug 12513, reported by Joe Shaw.
719 2008-04-16 Matthias Clasen <mclasen@redhat.com>
721 Partically revert the last commit after realizing that
722 xdg_mime_media_type_equal doesn't have to init at all.
725 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
727 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
729 2008-04-16 Matthias Clasen <mclasen@redhat.com>
731 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
732 reported by Joe Shaw and Federico Mena Quintero.
734 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
735 (xdg_mime_media_type_equal): Turn into a wrapper around the
738 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
739 functions throughout.
741 2008-04-16 Michael Meeks <michael.meeks@novell.com>
743 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
744 tolerate an empty TryExec= line without failing; nautilus used
745 to create launchers with these in previous versions. Fixes #528433
747 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
749 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
750 after name. Fixes #527132.
752 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
754 * gfile.c: (g_file_replace):
757 2008-04-07 Matthias Clasen <mclasen@redhat.com>
759 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
761 * gfile.c (file_copy_fallback): Fix the argument order. Patch
762 by Christian Kellner.
764 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
766 * gunixmounts.c: (g_unix_mount_guess_should_display):
767 Don't list the user directory as a mount, fix potential issue
768 when other users have a similar naming and don't special case the
769 gvfs mounts there since that's not required (#525866)
771 2008-03-31 Alexander Larsson <alexl@redhat.com>
773 * glocalfile.c (get_parent):
776 2008-03-31 A. Walton <awalton@svn.gnome.org>
778 * gfile.c (g_file_query_file_type):
779 Always return a GFileType enum value (#520715).
781 2008-03-31 Alexander Larsson <alexl@redhat.com>
783 * glocalfileenumerator.c:
784 Read readdir() info in chunks (of 1000) and sort
785 the chunks by inode before stat:ing.
786 This is a 20% performance increase in testing
787 gvfs-ls on /usr/bin with cold cache.
789 2008-03-31 Alexander Larsson <alexl@redhat.com>
791 * gmemoryoutputstream.c:
792 Clarify docs for g_memory_output_stream_get_size.
793 Add g_memory_output_stream_get_data_size.
795 2008-03-30 Matthias Clasen <mclasen@redhat.com>
799 * gfile.h: Add g_file_query_file_type convenience function
800 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
802 2008-03-30 Matthias Clasen <mclasen@redhat.com>
805 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
807 2008-03-28 A. Walton <awalton@svn.gnome.org>
809 * giomodule.c (_g_io_modules_ensure_loaded):
810 Adds GIO_EXTRA_MODULES environment variable support, closing bug
813 2008-03-28 Alexander Larsson <alexl@redhat.com>
816 (copy_stream_with_progress):
819 2008-03-28 Alexander Larsson <alexl@redhat.com>
822 (copy_stream_with_progress):
823 (file_copy_fallback):
824 Fallback to g_file_query_info for source size
825 if g_file_input_stream_query_info fails. (#524579)
827 2008-03-28 Alexander Larsson <alexl@redhat.com>
829 * glocalfile.c (g_local_file_move):
830 Reuse old string instead of adding new one.
832 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
834 * fen/*.[hc]: still copyright issue. I hate copyright.
836 2008-03-27 Alexander Larsson <alexl@redhat.com>
838 * glocalfile.c (g_local_file_move):
839 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
840 file over directory. This is according to the docs and what the move via
841 copy+remove fallback does.
843 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
845 * fen/*.[hc]: Updated copyright.
847 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
849 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
851 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
853 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
854 not emit attribute changed events when optimizing changed events.
855 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
858 2008-03-19 Matthias Clasen <mclasen@redhat.com>
860 * gmountoperation.[hc]: Small documentation additions
862 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
864 * gunixmounts.c: (guess_mount_type):
865 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
867 2008-03-19 Alexander Larsson <alexl@redhat.com>
870 (copy_stream_with_progress):
871 Bump block side for copy to 64k to minimize
872 overhead for low latency links. (#523015)
874 2008-03-16 Tor Lillqvist <tml@novell.com>
876 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
877 depend on gio.def on Windows.
879 2008-03-12 David Zeuthen <davidz@redhat.com>
883 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
885 2008-03-14 Alexander Larsson <alexl@redhat.com>
889 Avoid redudant tests (#521851)
890 Patch from Josselin Mouette
892 2008-03-14 Alexander Larsson <alexl@redhat.com>
895 (g_file_monitor_is_cancelled):
896 Fix C89 issue (#521672)
897 Patch from Jens Granseuer
899 2008-03-14 Alexander Larsson <alexl@redhat.com>
901 * fam/fam-helper.[ch]:
903 Shut down fam (including removing fam GSource) when
904 module is unloaded (#521513)
905 Patch from Joe Marcus Clarke
907 2008-03-14 Alexander Larsson <alexl@redhat.com>
910 (_g_io_modules_ensure_loaded):
913 2008-03-14 Alexander Larsson <alexl@redhat.com>
916 (g_local_file_query_filesystem_info):
917 Use right define name for f_fstypename member check
919 2008-03-14 Alexander Larsson <alexl@redhat.com>
922 * fen/Makefile.am: Added.
923 * fen/fen-data.[ch]: Added.
924 * fen/fen-dump.[ch]: Added.
925 * fen/fen-helper.[ch]: Added.
926 * fen/fen-kernel.[ch]: Added.
927 * fen/fen-missing.[ch]: Added.
928 * fen/fen-node.[ch]: Added.
929 * fen/fen-sub.[ch]: Added.
930 * fen/gfendirectorymonitor.[ch]: Added.
931 * fen/gfenfilemonitor.[ch]: Added.
933 Added Solaris FEN file notification backend.
934 Patch from Lin Ma <Lin.Ma@Sun.COM>
936 2008-03-13 Tor Lillqvist <tml@novell.com>
938 * Makefile.am: Actually use the gio.def file when linking the
939 library on Windows. Produce .lib library for Microsoft's toolchain
940 when possible. Install the .lib and .def file like for the other
943 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
945 * tests/live-g-file.c:
946 Include live-g-file in standard set of tests, making a temporary
947 directory in source structure.
949 Clean target directory before the tests (write mode only)
951 2008-03-12 Tor Lillqvist <tml@novell.com>
953 Bug 517419 - gio win32 directory monitor
954 Implementation by Vlad Grecescu.
957 * win32/gwin32directorymonitor.h
958 * win32/gwin32directorymonitor.c: New files.
960 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
962 * Makefile.am: Add the win32 subdirectory.
964 2008-03-12 Tor Lillqvist <tml@novell.com>
966 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
967 normal struct stat on Unix but struct _stati64 on Windows to have
968 access to 64-bit file size information. Use that instead of struct
969 stat in the functions declared here in this private header.
971 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
972 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
973 warnings about unused functions and variables. Don't set
974 meaningless attributes like inode numbers on Windows.
976 2008-03-12 Benjamin Otte <otte@gnome.org>
979 trim whitespace so gtk-doc groks the function name
981 2008-03-12 Tor Lillqvist <tml@novell.com>
983 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
984 returning FALSE, on Win32.
986 2008-03-11 Alexander Larsson <alexl@redhat.com>
989 * glocalfileinfo.[ch]:
990 Correctly implement can_trash by actually
991 looking for a trash dir, not just assuming
994 2008-03-10 Matthias Clasen <mclasen@redhat.com>
996 * === Released 2.16.1 ===
998 2008-03-11 Alexander Larsson <alexl@redhat.com>
1001 Fix crashes in new constructor and properties code
1003 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1005 * gfile.c: Minor spelling correction in documentation:
1006 existance -> existence.
1008 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1010 * === Released 2.16.0 ===
1012 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1014 * gio.symbols: Remove g_file_contains_file here, too.
1016 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1018 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1019 Samuel Cormier-Iijima)
1021 2008-03-08 Tor Lillqvist <tml@novell.com>
1023 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1026 2008-03-07 Alexander Larsson <alexl@redhat.com>
1029 (g_local_file_query_filesystem_info):
1030 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1031 Patch from Jasper Lievisse Adriaanse
1033 2008-03-06 Tor Lillqvist <tml@novell.com>
1035 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1036 comments for the *_USEC attributes.
1038 2008-03-06 Alexander Larsson <alexl@redhat.com>
1040 * gfile.c (g_file_query_exists):
1041 Add g_return_val_if_fail check (#520700)
1043 2008-03-06 Alexander Larsson <alexl@redhat.com>
1045 * gdesktopappinfo.c:
1048 * gunionvolumemonitor.c:
1051 * tests/live-g-file.c:
1052 * xdgmime/xdgmimecache.c:
1053 Fix sparse warnings (#519489)
1055 2008-03-05 Alexander Larsson <alexl@redhat.com>
1058 Make cancellation threadsafe (i.e.
1059 guarantee its only done once, and always
1062 * glocaldirectorymonitor.c:
1063 Make sure we the monitor lives while the
1064 mounts_changed callback is being called (#520484)
1066 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1068 * gbufferedinputstream.c: Fix typo in parameter
1071 2008-03-04 Alexander Larsson <alexl@redhat.com>
1074 Remove deprecated symbols we kept for one release.
1076 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1079 * goutputstream.c: Tiny documentation corrections.
1081 2008-03-03 Alexander Larsson <alexl@redhat.com>
1083 * gunionvolumemonitor.c:
1085 Fix the adopt_orphan_mount vfunc to take a
1086 volume_monitor reference in an ABI compat way.
1087 This change is not API compat, but the added
1088 arg is not used in the only user of this vfunc, so
1089 all we get is a harmless warning in gvfs (#520169)
1091 2008-03-01 Benjamin Otte <otte@gnome.org>
1094 clarify docs for g_file_delete().
1096 2008-02-29 Alexander Larsson <alexl@redhat.com>
1100 Make sure empty files get text/plain type (#518720)
1102 2008-02-27 Alexander Larsson <alexl@redhat.com>
1108 (g_unix_volume_mount):
1109 Add missing GMountMountFlags argument
1111 2008-02-26 Alexander Larsson <alexl@redhat.com>
1114 (g_local_file_delete):
1115 Handle filesystems (like ntfs-3g) that return EEXIST instead
1116 of ENOTEMPTY (#518816)
1118 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1120 * === Released 2.15.6 ===
1122 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1124 * gfile.c (g_file_find_enclosing_mount):
1125 * ginputstream.c (g_input_stream_set_pending):
1126 * glocalfile.c (g_local_file_find_enclosing_mount):
1127 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1128 * goutputstream.c (g_output_stream_set_pending):
1130 Fixup translator comments (#518578).
1132 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1134 * gfile.c (g_file_find_enclosing_mount):
1136 * glocalfile.c (g_local_file_find_enclosing_mount):
1139 Fix a few typos in translator comments and documentation.
1141 2008-02-25 Alexander Larsson <alexl@redhat.com>
1148 Add translator comments (#518578)
1150 2008-02-25 Alexander Larsson <alexl@redhat.com>
1153 Reintroduce g_file_contains_file, keep around for one
1154 unstable release cycle to avoid crashing to many apps.
1155 Make sure to delete after release.
1157 2008-02-25 Alexander Larsson <alexl@redhat.com>
1160 Remove deprecated g_file_contains_file.
1162 2008-02-25 Alexander Larsson <alexl@redhat.com>
1165 Emit actual change signals in an idle handler.
1166 This avoids reentrance and locking problems in
1167 the file notification backends.
1169 2008-02-25 Alexander Larsson <alexl@redhat.com>
1172 (g_unix_mount_guess_should_display):
1173 Remove type guessing, instead just display
1174 mounts in /media and in ~/.
1176 2008-02-25 Alexander Larsson <alexl@redhat.com>
1179 Make new strings reuse old ones.
1181 2008-02-25 Alexander Larsson <alexl@redhat.com>
1184 Implement trashing and filesystem::readonly for win32 (#517235)
1185 Patch from Yevgen Muntyan
1187 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1189 * gfileinfo.h: Documentation fixes.
1191 2008-02-22 Alexander Larsson <alexl@redhat.com>
1193 * gcontenttype.c (g_content_type_get_icon):
1194 Look at old-style gnome mime icon names too, as many
1195 have not moved to the new style.
1197 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1199 * *.c: Correct the @include in for section docs.
1201 2008-02-21 David Zeuthen <davidz@redhat.com>
1203 * glocalfileinfo.c: (_g_local_file_info_get):
1205 (g_content_type_get_icon): Implement this function by
1206 moving bits from glocalfileinfo.c
1207 (g_content_type_get_description): Unalias before getting
1208 description (#517687)
1210 * gfile.c: (g_file_class_init),
1211 (g_file_query_filesystem_info_async),
1212 (g_file_query_filesystem_info_finish),
1213 (query_filesystem_info_data_free),
1214 (query_filesystem_info_async_thread),
1215 (g_file_real_query_filesystem_info_async),
1216 (g_file_real_query_filesystem_info_finish):
1217 * gfile.h: Implement async version of
1218 g_file_query_filesystem_info()
1220 * gfileinfo.h: Add new attributes for filesystem::use-preview
1222 * gio.symbols: Update
1224 * gthemedicon.c: (g_themed_icon_append_name):
1225 * gthemedicon.h: Add new new convenience function.
1227 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1228 (get_mounts), (get_volumes), (get_connected_drives),
1229 (get_volume_for_uuid), (get_mount_for_uuid),
1230 (g_union_volume_monitor_init), (populate_union_monitor),
1231 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1232 (g_volume_monitor_adopt_orphan_mount):
1234 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1235 monitor implementations to call into the main volume monitor. Also
1236 separate object initialization and volume monitor initialization
1237 such that non-native volume monitors can properly adopt their
1240 2008-02-21 Alexander Larsson <alexl@redhat.com>
1245 2008-02-21 Alexander Larsson <alexl@redhat.com>
1248 Add more documentation about how GFiles work (from #517086)
1250 2008-02-21 Alexander Larsson <alexl@redhat.com>
1254 Add new g_file_has_prefix that does the same as g_file_contains_file.
1255 Deprecate g_file_contains_file and add a macro that converts
1256 it to g_file_has_prefix.
1257 The reason for this change is that the contains_file() name seems to
1258 imply that this does more work than what it does, but its really only
1259 a name match (from #517086)
1264 Update to match the above change.
1266 2008-02-20 Benjamin Otte <otte@gnome.org>
1268 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1269 (g_file_eject_mountable):
1270 even more cases of not returning in error path
1272 2008-02-20 Benjamin Otte <otte@gnome.org>
1274 * gfile.c: (g_file_mount_mountable):
1275 return from function in error path.
1277 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1280 Remove trailing coma in GMountMountFlags struct
1282 2008-02-18 Alexander Larsson <alexl@redhat.com>
1286 * glocalfileoutputstream.c:
1287 Use g_unlink/g_rename instead of unlink/rename;
1288 do not pass raw filenames to g_set_error. (#517239)
1289 Patch from Yevgen Muntyan.
1291 2008-02-18 Alexander Larsson <alexl@redhat.com>
1294 * glocalfileoutputstream.c:
1295 Open files with O_BINARY on windows. (#517140)
1297 2008-02-14 Alexander Larsson <alexl@redhat.com>
1299 * glocalfileoutputstream.c:
1300 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1302 2008-02-14 Alexander Larsson <alexl@redhat.com>
1305 Copy permissions with file on copy (#514084)
1306 This is what cp does and makes sure e.g. the
1307 exec permissions are kept.
1308 Its kinda weird in that it keeps the permission bits
1309 the same while the uid and gid are different. However
1310 the new uid is the user so its not a security issue,
1311 and I've heard no complaints about cp on this issue.
1313 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1315 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1317 2008-02-13 Alexander Larsson <alexl@redhat.com>
1319 * inotify/inotify-path.c:
1320 Define IN_ONLYDIR if not in header (#515346)
1322 2008-02-12 Alexander Larsson <alexl@redhat.com>
1324 * tests/live-g-file.c:
1327 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1329 * === Released 2.15.5 ===
1331 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1333 * gio.symbols: Add g_mount_mount_flags_get_type.
1335 2008-02-11 Alexander Larsson <alexl@redhat.com>
1338 (g_file_info_set_attribute_mask):
1339 (g_file_attribute_matcher_matches_id):
1340 Correctly handle NULL GAttributeMatcher meaning
1341 matches nothing. (Fixes #513492)
1343 2008-02-11 Alexander Larsson <alexl@redhat.com>
1348 Added GMountMountFlags enum and added a flags
1349 argument to all mount calls.
1351 This is an API/ABI change for future extensibility,
1352 as I think we will need at least an
1353 inhibit-autorun flag (the panel needs this).
1354 There are no flags defined yet though.
1356 2008-02-11 Alexander Larsson <alexl@redhat.com>
1359 Added new standard::description attribute.
1360 Requested by Vincent, and useful for both
1363 2008-02-11 Alexander Larsson <alexl@redhat.com>
1365 * gdesktopappinfo.c:
1368 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1370 * *.c: Documentation additions
1372 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1374 * gappinfo.h: Formatting cleanup
1375 * gappinfo.c: Fix up docs.
1377 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1379 * gunixmounts.c: Consistently use getmntent_r() and fall
1380 back to getmntent(). (#515492)
1382 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1384 * gbufferedinputstream.c:
1386 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1388 * tests/data-input-stream.c:
1389 * tests/data-output-stream.c: Portability fixes.
1391 2008-02-08 Alexander Larsson <alexl@redhat.com>
1396 Add g_volume_should_automount.
1399 2008-02-07 Tor Lillqvist <tml@novell.com>
1401 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1402 Win32, too Unix-specific.
1404 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1406 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1407 a local plt if the compiler doesn't support what we want. Bug #514702
1409 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1411 reviewed by: <delete if not using a buddy>
1414 * gunixinputstream.c:
1415 * gunixoutputstream.c:
1417 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1419 * tests/Makefile.am:
1420 * tests/live-g-file.c:
1421 * tests/live-g-file.txt:
1422 New GIO testing module working over real data
1424 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1426 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1427 Fallback to rename() if link() is not available
1428 (when no support on target filesystem)
1430 2008-02-06 Michael Natterer <mitch@imendio.com>
1432 * gfileinfo.c (g_file_info_get_icon): replace
1433 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1435 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1437 * gfile.c (g_file_create):
1438 Documentation update of error codes
1440 2008-02-06 Alexander Larsson <alexl@redhat.com>
1442 * gdesktopappinfo.c:
1443 Update to use both mimeapps.list and
1444 defaults.list as discussed on xdg list.
1446 2008-02-06 Benjamin Otte <otte@gnome.org>
1449 * gfilenamecompleter.c:
1450 Fix some typos in the documentation.
1452 2008-02-06 Alexander Larsson <alexl@redhat.com>
1454 * glocalfile.c (g_local_file_trash):
1455 Don't succeed with trash if newly created
1456 trash dir has the wrong owner. (#514696)
1458 2008-02-05 Alexander Larsson <alexl@redhat.com>
1460 * glocalfile.c (g_local_file_move):
1461 Don't spew warnings when destination is not
1464 2008-02-03 Hans Breuer <hans@breuer.org>
1466 * makefile.msc : update
1468 2008-02-01 Michael Natterer <mitch@imendio.com>
1470 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1471 return value of xdg_mime_list_mime_parents() to a variable of the
1474 2008-02-01 Alexander Larsson <alexl@redhat.com>
1476 * gappinfo.c (g_app_info_launch_uris):
1477 Actually call the launch_uris method, not
1480 2008-02-01 Alexander Larsson <alexl@redhat.com>
1482 * gdesktopappinfo.c (g_desktop_app_info_equal):
1483 Ensure appinfos with no id but same pointer value
1486 2008-02-01 Alexander Larsson <alexl@redhat.com>
1488 * gappinfo.c (g_app_info_launch_default_for_uri):
1491 2008-02-01 Alexander Larsson <alexl@redhat.com>
1495 Add g_app_info_launch_default_for_uri utility
1498 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1500 * gdesktopappinfo.c:
1501 Doc fix for g_app_info_get_default_for_uri_scheme ()
1504 2008-01-30 Alexander Larsson <alexl@redhat.com>
1507 Add doc comment about uris vs GFiles to
1510 * gdesktopappinfo.c:
1511 Ensure uris passed to g_app_info_launch_uris()
1512 are not roundtriped through GFile (as that
1513 may be slightly destructive for e.g. mailto: links)
1515 2008-01-30 Alexander Larsson <alexl@redhat.com>
1517 * tests/data-input-stream.c:
1518 * tests/data-output-stream.c:
1519 C89 fixes from Jens Granseuer (#512849)
1521 2008-01-30 Alexander Larsson <alexl@redhat.com>
1524 Fix gamin/fam difference build issue. (#509419)
1526 2008-01-29 Alexander Larsson <alexl@redhat.com>
1529 * gdesktopappinfo.c:
1530 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1532 2008-01-29 Alexander Larsson <alexl@redhat.com>
1534 * gdesktopappinfo.c:
1535 * gdesktopappinfo.h:
1536 giomodule-priv.h include moved to .c file.
1538 2008-01-29 Alexander Larsson <alexl@redhat.com>
1540 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1541 Remove unused prio/name fields.
1543 2008-01-29 Alexander Larsson <alexl@redhat.com>
1545 * gcontenttype.c (looks_like_text):
1546 Don't treat whitespace as control chars.
1548 2008-01-29 Alexander Larsson <alexl@redhat.com>
1550 * gdesktopappinfo.c:
1551 Lazily create the desktop files for appinfos created
1552 by g_app_info_create_from_commandline() when needed
1553 for mime associations. This allows run-time use
1554 of GAppInfo object without creating unnecessary
1557 2008-01-29 Alexander Larsson <alexl@redhat.com>
1560 Added new symbols to gio.symbols
1562 2008-01-29 Alexander Larsson <alexl@redhat.com>
1565 Add g_file_query_default_handler utility to easily look up
1566 the GAppInfo that handles a file.
1568 * gdesktopappinfo.[ch]:
1570 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1573 Remove unused function
1575 2008-01-29 Alexander Larsson <alexl@redhat.com>
1577 * gfileenumerator.c:
1578 Mention need to free returned value in
1579 g_file_enumerator_next_files_finish docs.
1580 Fix leak if g_file_enumerator_next_files_finish()
1583 2008-01-29 Alexander Larsson <alexl@redhat.com>
1586 (_g_unix_content_type_get_parents):
1587 Use list_parents, not get_parents from xdgmime, because
1588 the later doesn't use the cache.
1590 * xdgmime/xdgmimecache.c:
1591 (_xdg_mime_cache_list_mime_parents):
1592 Don't list the same type as parent multiple times.
1594 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1596 * === Released 2.15.4 ===
1598 2008-01-28 Alexander Larsson <alexl@redhat.com>
1601 Register local vfs with prio 0.
1604 Remove old name and prio class members
1606 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1608 * tests/g-file.c: Disable some tests that are failing in
1609 the absence of a http backend.
1611 2008-01-28 Alexander Larsson <alexl@redhat.com>
1615 Add registration hooks for extension points.
1616 Register the gio extension points.
1618 * fam/gfamdirectorymonitor.c:
1619 * fam/gfamfilemonitor.c:
1620 * glocaldirectorymonitor.[ch]:
1621 * glocalfilemonitor.[ch]:
1622 * gnativevolumemonitor.h:
1623 * gunionvolumemonitor.c:
1624 * gunixvolumemonitor.c:
1627 * inotify/ginotifydirectorymonitor.c:
1628 * inotify/ginotifyfilemonitor.c:
1629 Use the extension points registration instead
1630 of g_type_children().
1632 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1635 * gvolume.[hc]: Document new API.
1637 * gfile.c (g_file_copy_async): Fix docs
1639 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1641 * gbufferedinputstream.c:
1643 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1646 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1648 * glocalfile.c: Avoid trivial differences in translatable strings.
1650 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1652 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1653 build with gcc 3.4 (#509419)
1655 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1657 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1658 (#509994, Murray Cumming)
1660 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1662 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1663 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1664 this allows big jobs to be executed in chunks, instead of blocking
1665 the main loop for a long time.
1667 * gsimpleasyncresult.c:
1668 * giofile.c: Adapt callers.
1670 2008-01-25 Alexander Larsson <alexl@redhat.com>
1672 * gdesktopappinfo.c:
1673 Implement changes discussed on xdg list.
1674 Now we can add supported mimetypes by just using defaults.list
1675 We can also remove associations in defaults.list.
1677 2008-01-25 Alexander Larsson <alexl@redhat.com>
1679 * gdesktopappinfo.c:
1680 Don't make local copy of desktop file
1681 for mimetype changes if the file already
1682 supports the new mimetype.
1684 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1688 * gbufferedinputstream.c:
1689 * glocalfile.c: String improvements. (#511966,
1690 Theppitak Karoonboonyanan)
1692 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1694 * gioscheduler.h: Expand docs a bit.
1696 2008-01-24 Alexander Larsson <alexl@redhat.com>
1699 Add g_drive_get_identifier and
1700 g_drive_enumerate_identifiers
1703 Add g_volume_get_identifier and
1704 g_volume_enumerate_identifiers
1710 Implement identifiers for unix backend
1712 2008-01-24 Alexander Larsson <alexl@redhat.com>
1717 Add g_file_copy_async() (#511580)
1718 Based on patch from Carlos Garcia Campos
1720 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1722 * gioscheduler.c: Some documentation additions.
1724 2008-01-22 Alexander Larsson <alexl@redhat.com>
1726 * gdesktopappinfo.c:
1727 (g_desktop_app_info_new):
1728 Don't leak basename.
1730 2008-01-22 Alexander Larsson <alexl@redhat.com>
1732 * gdesktopappinfo.c:
1733 (g_desktop_app_info_new_from_filename):
1736 2008-01-22 Alexander Larsson <alexl@redhat.com>
1738 * glocalfileinfo.c (get_thumbnail_attributes):
1741 2008-01-22 Alexander Larsson <alexl@redhat.com>
1744 (canonicalize_filename):
1745 Canonicalize paths that start with more than
1749 (compare_two_files):
1750 (test_g_file_new_for_path):
1753 2008-01-22 Alexander Larsson <alexl@redhat.com>
1756 Allow UTF-8 in file:// parse names.
1758 * tests/Makefile.am:
1759 * tests/data-input-stream.c:
1760 * tests/data-output-stream.c:
1761 * tests/g-file-info.c:
1763 Added a bunch of tests from Tomas Bzatek
1765 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1767 * === Released 2.15.3 ===
1769 2008-01-21 Alexander Larsson <alexl@redhat.com>
1771 * gfileinputstream.[ch]:
1772 * gfileoutputstream.[ch]:
1774 Remove duplicated GSeekable functions. (#509990)
1775 Just use the g_seekable_xxx() calls instead.
1777 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1780 * gvolumemanager.c: Whitespace cleanups.
1782 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1783 Use the right mode when creating the file.
1785 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1787 * gfileenumerator.c:
1788 * gfileinputstream.c:
1790 * goutputstream.c: Documentation: Fixed minor typos
1791 and added more mentions of specific _finish() functions.
1793 2008-01-21 Alexander Larsson <alexl@redhat.com>
1795 * inotify/Makefile.am:
1796 * inotify/inotify-helper.c:
1797 * inotify/inotify-kernel.c:
1798 * inotify/inotify-path.c:
1799 * inotify/local_inotify.h: Removed.
1800 * inotify/local_inotify_syscalls.h: Removed.
1801 Removed the included copies of the inotify
1802 headers. We now only use the <sys/inotify.h>
1803 header which exists on modern systems.
1804 This fixes problems on ARM and SH5 (#510448)
1805 but is also generally much cleaner and future
1806 safe. For instance, if other OSes add support
1807 for inotify it should "just work".
1809 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1811 * inotify/*.c: Coding style fixes.
1812 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1813 for the 1/4 Hz timer.
1815 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1818 * gfilemonitor.[hc]:
1819 * gmemoryinputstream.c:
1820 * gmemoryoutputstream.c:
1821 * gmountoperation.c:
1822 * gthemedicon.c: Documentation updates
1824 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1826 * gfile.c: documentation: Fixed more minor
1829 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1831 * gmount.c: (g_mount_remount): documentation:
1832 Mention g_mount_remount_finish() instead of
1833 g_mount_unmount_finish().
1835 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1839 * gfile.c: Fixed some minor typos in the
1842 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1844 * gio/gvolumemonitor.c:
1845 (g_volume_monitor_get_connected_drives):
1846 (g_volume_monitor_get_volumes):
1847 (g_volume_monitor_get_mounts): Documentation:
1848 Clarify the ownership of the regurn GLists.
1850 2008-01-17 Alexander Larsson <alexl@redhat.com>
1853 Add the async find_enclosing_mount version
1854 to the header file too.
1856 2008-01-17 Alexander Larsson <alexl@redhat.com>
1859 Add async version of find_enclosing_mount
1860 with default implementation.
1862 2008-01-17 Alexander Larsson <alexl@redhat.com>
1867 Allow calls to implementation of copy and write
1868 even if the type of the file implementations is
1869 different. This can be used to implement native
1870 upload and download calls in a vfs.
1873 (g_local_file_move):
1874 Protect against the case where move is called
1875 with one file not being local.
1877 Make sure we call the progress callback once
1878 in the native move operation so that the caller
1879 knows how many bytes were copied.
1881 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1884 * gdatainputstream.c:
1886 * gfileoutputstream.c:
1891 * gunixmounts.c: Corrected some typos in the documentation:
1892 occured -> occurred.
1893 its -> it's (where appropriate).
1895 2008-01-16 Alexander Larsson <alexl@redhat.com>
1899 Add g_file_query_exists (#508771)
1901 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1906 * gvolume.c: For async functions that have no non-async
1907 version, document that the GAsyncReadyCallback may be NULL.
1910 2008-01-15 Alexander Larsson <alexl@redhat.com>
1912 * gmemoryinputstream.c:
1913 * gmemoryoutputstream.c:
1914 Don't do pointer arithmetic on void * (#508602)
1915 Patch from Kazuki IWAMOTO
1917 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1919 * === Released 2.15.2 ===
1921 2008-01-14 Alexander Larsson <alexl@redhat.com>
1923 * gfile.c (g_file_monitor_file):
1924 Don't set error here, since we fallback to polling monitor.
1926 2008-01-14 Alexander Larsson <alexl@redhat.com>
1929 (g_file_monitor_directory):
1930 (g_file_monitor_file):
1931 Add GError to file monitor calls
1933 * glocaldirectorymonitor.c:
1934 * glocaldirectorymonitor.h:
1936 * glocalfilemonitor.c:
1937 * glocalfilemonitor.h:
1939 Update for above change
1941 2008-01-14 Alexander Larsson <alexl@redhat.com>
1945 Handle root correctly in g_file_get_relative_path (#508719)
1947 2008-01-14 Alexander Larsson <alexl@redhat.com>
1950 Clean up docs and example for GAsyncResult (#508074)
1952 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1954 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1955 and correct some spelling mistakes. Bug #508108.
1957 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1959 * glocalfileinfo.c: Add a comment.
1961 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1963 * gfileinfo.c: GFileInfo description: Mention
1964 how to actually set attributes in a GFile and how to discover
1965 which attributes are settable. Bug #508378.
1967 2008-01-10 A. Walton <awalton@svn.gnome.org>
1969 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1970 (g_app_info_get_default_for_type):
1971 Check for NULL content types.
1973 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1975 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1977 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1979 * gfile.c: *_async() functions: Several small corrections
1980 to the documentation, mostly correcting copy/paste errors
1981 and improving some sentences.
1983 2008-01-09 Dan Winship <danw@gnome.org>
1985 * glocalfile.c (get_unique_filename): x86_64 fix
1987 2008-01-09 Alexander Larsson <alexl@redhat.com>
1992 Add g_unix_mount_guess_should_display and use
1993 for unix volume monitor backend.
1994 This means we more or less show what the
1995 gnome-vfs backend did.
1996 Based on patch from Padraig O'Briain
1998 2008-01-09 Alexander Larsson <alexl@redhat.com>
2002 Add g_themed_icon_new_with_default_fallbacks
2005 Use default fallbacks for icons
2007 2008-01-09 Alexander Larsson <alexl@redhat.com>
2010 * gmountoperation.[ch]:
2011 Change the API a bit so that unhandled methods
2012 get reported via the reply, rather than by
2013 the signal emission return value. This is because
2014 some handlers can't know this immediately without
2015 doing I/O, and this is an async operation that
2018 2008-01-09 Alexander Larsson <alexl@redhat.com>
2021 * fam/gfamdirectorymonitor.c:
2022 * fam/gfamfilemonitor.c:
2023 Fix double free crash (#508224)
2024 Patch from Joe Marcus Clarke
2026 008-01-07 Matthias Clasen <mclasen@redhat.com>
2028 * === Released 2.15.1 ===
2030 2008-01-07 Alexander Larsson <alexl@redhat.com>
2032 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2033 Fix warning (#507835)
2035 2008-01-07 Alexander Larsson <alexl@redhat.com>
2038 Pass --internal to glib-genmarshal
2041 * gmountoperation.c:
2043 Use better types for signal arguments (#507822)
2045 2008-01-07 Alexander Larsson <alexl@redhat.com>
2048 Build test subdir after .
2049 Remove gdirectorymonitor.[ch]
2051 * gdirectorymonitor.[ch]:
2055 Remove GDirectoryMonitor and make
2056 GFileMonitor the baseclass for both file and
2057 directory monitors. Lift the more generic
2058 rate limiting code from GDirectoryMonitor
2062 * fam/gfamdirectorymonitor.[ch]:
2063 * inotify/ginotifydirectorymonitor.[ch]:
2064 * inotify/inotify-helper.c:
2065 * glocaldirectorymonitor.[ch]:
2068 Update for the removed GDirectoryMonitor.
2070 * gmemoryoutputstream.c:
2071 Remove ununsed variable
2073 2008-01-07 Alexander Larsson <alexl@redhat.com>
2075 * gmemoryinputstream.c:
2076 Translate error strings
2079 * gmemoryoutputstream.[ch]:
2080 New implementation that avoids using GByteArray
2081 in implementation and API. (#506377)
2083 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2085 * tests/*: Add a test for memory input streams.
2087 * Makefile.am: Add tests to SUBDIRS.
2089 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2091 * glocalfilemonitor.c:
2092 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2095 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2097 * gdesktopappinfo.c: Fix a docs typo.
2099 * gfileattribute.c: Add information about extended attributes
2100 to the documentation. (#505058)
2102 2008-01-04 Alexander Larsson <alexl@redhat.com>
2105 * gmountoperation.c:
2106 Use the right type (uint) for the ask_password signal.
2108 2008-01-04 Alexander Larsson <alexl@redhat.com>
2113 Add g_app_info_supports_files()
2114 Remove desktop arg from g_app_info_should_show().
2116 * gdesktopappinfo.[ch]:
2117 Implement g_app_info_supports_files() and new should_show()
2118 Add g_desktop_app_info_set_desktop_env() to set the desktop
2119 for should_show(). (This will be set by gtk+ later)
2121 2008-01-04 Alexander Larsson <alexl@redhat.com>
2124 * gmemoryinputstream.[ch]:
2125 Improve API so that you can use multiple chunks
2126 of memory and custom destroy functions. (#506374)
2128 2008-01-03 Alexander Larsson <alexl@redhat.com>
2131 Handle NULL attribute matchers safely, as we return this
2132 for empty attribute matcher strings.
2134 2008-01-03 Alexander Larsson <alexl@redhat.com>
2136 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2137 Add /usr/local to list of internal mountpoints
2139 2008-01-03 Alexander Larsson <alexl@redhat.com>
2142 Check for HAVE_LCHOWN (#505887)
2144 2008-01-03 Alexander Larsson <alexl@redhat.com>
2148 Add define for selinux context attribute.
2149 Fix missing : -> :: namespace separator change
2150 Fix missing _ -> - name change for xattr-sys.
2153 2008-01-03 Alexander Larsson <alexl@redhat.com>
2156 Link to libglib and libgobject directly (#504879)
2157 Patch from Sebastien Bacher
2159 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2161 * gfile.c: Expanded the g_file_new_for_commandline_arg
2162 description a bit, based on the code and the docs of the
2163 other g_file_new_for_* functions.
2165 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2167 * gfilemonitor.h: Fixed typo in docs.
2169 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2171 Updates to GIO documentation. (#506395, Mikael Hermansson)
2173 * gcontenttype.c: Describe memory management for return value of
2174 g_content_types_get_registered(). Missing piece from #505815.
2175 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2176 GVolume, GDrive, GMounts, which hopefully gives the user less
2177 confusions when using this API. Following explainations from
2178 Alexander Larsson on gtk-devel-list.
2180 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2182 * gfileinfo.c: Expand the long description.
2184 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2187 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2188 fix builds with --disable-visibility. (#500273, Christian Persch)
2190 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2192 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2193 in the list of returned app infos.
2195 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2197 * gappinfo.c: Fix a cross-reference
2199 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2201 * gfileinputstream.c:
2202 * gfileoutputstream.c:
2206 * gdesktopappinfo.c:
2208 * gfileinfo.c: Documentation updates.
2210 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2212 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2215 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2217 * gcontenttype.c (g_content_types_get_registered): Don't return
2218 freed memory (#505815, Mikael Hermansson)
2220 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2222 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2223 used to detect statbuf->st_blocks. (#505042)
2225 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2227 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2228 environment handling. (#504829, Cosimo Cecchi)
2230 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2232 * gappinfo.c: Doc improvements
2234 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2237 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2239 * === Released 2.15.0 ===
2241 2007-12-20 Hans Breuer <hans@breuer.org>
2243 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2244 with symbols gwin32appinfo.obj, added gmount.obj
2245 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2247 2007-12-20 Alexander Larsson <alexl@redhat.com>
2253 * gfilenamecompleter.c:
2256 * gpollfilemonitor.c:
2257 File attribute renames:
2259 fs:: -> filesystem::
2260 id::fs -> id::filesystem
2262 2007-12-20 Alexander Larsson <alexl@redhat.com>
2271 Add GMountUnmountFlags to all unmount and
2273 Add g_mount_remount() call.
2275 2007-12-20 Alexander Larsson <alexl@redhat.com>
2277 * gvfs.c (get_default_vfs):
2278 Fix unused variable warning
2280 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2282 * pltcheck.sh: Update
2284 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2286 * gunionvolumemonitor.c:
2287 * gunixmount.c: Remove C99 comments
2289 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2291 * gio.symbols: Add some missing symbols
2293 2007-12-19 Alexander Larsson <alexl@redhat.com>
2296 Make g_io_modules_load_all_in_directory not unuse
2297 loaded modules so that users of it can do stuff
2299 Init internal "module" types.
2300 Initialize static prio and name for types so that
2301 we don't have to load modules to get it.
2303 * gnativevolumemonitor.h:
2305 Move is_supported to parent class so that
2306 non-native monitors can avoid being initialized
2307 too. (For instance GDaemonVolumeMonitor if we're
2308 not using GDaemonVfs.)
2310 * glocaldirectorymonitor.[ch]:
2311 * glocalfilemonitor.[ch]:
2312 * gunionvolumemonitor.c:
2313 * gunixvolumemonitor.c:
2315 Find plugins using the static prio+name to
2316 avoid unnecessarily loading the modules.
2318 2007-12-19 Alexander Larsson <alexl@redhat.com>
2323 2007-12-19 Alexander Larsson <alexl@redhat.com>
2325 * gunionvolumemonitor.c:
2326 Store the native type as GType, not class so that
2327 we can unload it. But still avoid unnecessarily
2330 2007-12-19 David Zeuthen <davidz@redhat.com>
2332 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2333 add signals 'disconnected' and 'eject-button' on GDrive. Add
2334 signal 'removed' on GVolume and 'unmounted' on GMount.
2336 * gdrive.c: (g_drive_base_init):
2338 * gfile.c: (g_file_mount_mountable),
2339 (g_file_mount_enclosing_volume):
2342 * gmount.c: (g_mount_base_init):
2344 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2345 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2346 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2350 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2352 * *.c: Fix up includes in the section docs.
2354 2007-12-17 Alexander Larsson <alexl@redhat.com>
2356 * gnativevolumemonitor.h:
2357 * gunionvolumemonitor.c:
2358 * gunixvolumemonitor.c:
2359 Add is_supported() to GNativeVolumeMonitorClass so
2360 that we can avoid having to create an object to see
2361 if the backend is supported at runtime.
2362 Also add name member and an env var to pick a specific
2363 volume monitor backend.
2367 Add cancellable to _g_mount_get_for_mount_path()
2369 * glocaldirectorymonitor.c:
2370 * glocalfilemonitor.c:
2371 Avoid loading and unloading modules while sorting.
2373 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2376 * gunixmounts.[hc]: Namespace waste reduction, move some
2377 g_get_unix_mount functions to the g_unix_mount namespace.
2380 * gunixvolumemonitor.c:
2382 * glocaldirectorymonitor.c: Update all callers.
2384 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2386 2007-12-17 Alexander Larsson <alexl@redhat.com>
2389 Add doc comments about what GFile operations are
2390 guaranteed to not block.
2392 2007-12-17 Alexander Larsson <alexl@redhat.com>
2395 Add missing #ifdef fixing OSX build.
2396 (#503334, patch from Richard Hult)
2398 2007-12-14 David Zeuthen <davidz@redhat.com>
2402 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2403 (g_mount_eject), (g_mount_eject_finish):
2405 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2406 (get_volume_for_uuid), (get_mount_for_uuid),
2407 (g_union_volume_monitor_class_init),
2408 (get_default_native_type_with_exclude), (get_default_native_type),
2409 (get_native_type), (update_native_type),
2410 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2411 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2412 (g_unix_mount_can_eject), (eject_unmount_cb),
2413 (eject_unmount_read_error), (eject_unmount_do),
2414 (g_unix_mount_unmount), (g_unix_mount_eject),
2415 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2416 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2417 (g_unix_mount_point_guess_can_eject):
2419 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2420 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2421 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2422 (g_unix_volume_mount), (g_unix_volume_eject),
2423 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2424 * gunixvolumemonitor.c: (get_volume_for_uuid),
2425 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2427 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2428 (g_volume_eject), (g_volume_eject_finish):
2430 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2431 (g_volume_monitor_get_mount_for_uuid):
2434 Provide eject() on both GMount and GVolume and utility functions
2435 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2436 ejected. Introduce the concept of UUID's and wire it into GVolume
2437 and GMount and provide API on GVolumeMonitor to find such
2438 instances. Also handle the case where an external
2439 GNativeVolumeMonitor fails to initialize. Lock around the
2440 _g_get_mount_for_mount_path() function such that volume monitor
2441 implementations won't have to do locking themselves.
2443 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2445 * gdesktopappinfo.c:
2451 * gvolume.h: Documentation updates
2453 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2456 * gfile.h: Doc updates
2458 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2461 * gdesktopappinfo.c: Use hash table iterators.
2463 2007-12-14 Alexander Larsson <alexl@redhat.com>
2466 * gfileattribute.[ch]:
2467 * gfileattribute-priv.h:
2468 Move GFileAttributeValue to a private header, as
2472 Make set_attribute take a type + a pointer instead
2473 of a GFileAttributeValue.
2476 Fix up for above changes.
2477 Add g_file_info_get_attribute_data to get
2478 all info in one call, g_file_info_get_attribute_status
2479 to get the status and g_file_info_get_attribute_as_string.
2483 * glocalfileinfo.[ch]:
2487 Make _guess_type static.
2489 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2492 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2493 made mkenums and friends use temporary files to avoid leaving
2494 empty generated files on failure (#503470).
2496 2007-12-14 Alexander Larsson <alexl@redhat.com>
2498 * gmountoperation.h:
2501 2007-12-14 Alexander Larsson <alexl@redhat.com>
2505 * gfileattribute.[ch]:
2508 * glocalfileoutputstream.c:
2509 * gmountoperation.[ch]:
2510 * goutputstream.[ch]:
2511 Clean up all flags enums to not have _FLAGS in them
2512 Make the names of some of the enums better.
2517 2007-12-14 Michael Natterer <mitch@imendio.com>
2519 * gio.symbols: fix g_io_scheduler symbol names.
2521 2007-12-14 Alexander Larsson <alexl@redhat.com>
2527 * gbufferedinputstream.h:
2528 * gbufferedoutputstream.h:
2531 * gdatainputstream.h:
2532 * gdataoutputstream.h:
2533 * gdesktopappinfo.h:
2534 * gdirectorymonitor.h:
2538 * gfileenumerator.h:
2541 * gfileinputstream.h:
2543 * gfilenamecompleter.h:
2544 * gfileoutputstream.h:
2545 * gfilterinputstream.h:
2546 * gfilteroutputstream.h:
2554 * gmemoryinputstream.h:
2555 * gmemoryoutputstream.h:
2557 * gmountoperation.h:
2560 * gsimpleasyncresult.h:
2562 * gunixinputstream.h:
2564 * gunixoutputstream.h:
2568 * inotify/Makefile.am:
2569 Only allow including <gio/gio.h> from apps
2571 2007-12-14 Alexander Larsson <alexl@redhat.com>
2573 * gioscheduler.[ch]:
2574 * gsimpleasyncresult.c:
2575 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2576 Split out the send_to_mainloop call into two versions instead
2577 of having the block argument.
2579 2007-12-13 Alexander Larsson <alexl@redhat.com>
2581 * gcancellable.[ch]:
2583 * gbufferedinputstream.c:
2584 * gfileenumerator.c:
2585 * gfileinputstream.c:
2586 * gfileoutputstream.c:
2590 g_push/pop_current_cancellable ->
2591 g_cancellable_push/pop_current
2593 2007-12-13 Alexander Larsson <alexl@redhat.com>
2597 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2599 2007-12-13 Alexander Larsson <alexl@redhat.com>
2601 * gmountoperation.h:
2602 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2604 2007-12-12 Alexander Larsson <alexl@redhat.com>
2607 Fix race condition when freeing proxy in
2608 g_io_job_send_to_mainloop().
2610 2007-12-12 Alexander Larsson <alexl@redhat.com>
2616 Make attribute namespace separator "::" instead of ":".
2617 Use - instead of _ as separator in attribute names.
2619 2007-12-12 Alexander Larsson <alexl@redhat.com>
2621 * gbufferedinputstream.h:
2622 * gbufferedoutputstream.h:
2623 * gdatainputstream.h:
2624 * gdataoutputstream.h:
2625 * gdirectorymonitor.h:
2626 * gfileenumerator.h:
2627 * gfileinputstream.h:
2629 * gfileoutputstream.h:
2630 * gfilterinputstream.h:
2631 * gfilteroutputstream.h:
2633 * glocalfileinputstream.h:
2634 * glocalfileoutputstream.h:
2635 * gmemoryinputstream.h:
2636 * gmemoryoutputstream.h:
2637 * gnativevolumemonitor.h:
2639 * gunixinputstream.h:
2640 * gunixoutputstream.h:
2643 s/parent/parent_instance/ in GObjects
2645 2007-12-12 Alexander Larsson <alexl@redhat.com>
2650 No need for padding for interfaces
2652 2007-12-12 Alexander Larsson <alexl@redhat.com>
2656 * gbufferedinputstream.c:
2657 * gbufferedoutputstream.c:
2660 * gdatainputstream.[ch]:
2661 * gdesktopappinfo.c:
2662 * gdirectorymonitor.c:
2664 * gfileattribute.[ch]:
2667 * gfileinputstream.h:
2668 * gfilemonitor.[ch]:
2669 * gfileoutputstream.[ch]:
2670 * gfilterinputstream.h:
2671 * gfilteroutputstream.h:
2674 * gloadableicon.[ch]:
2675 * gmemoryinputstream.c:
2676 * gmountoperation.c:
2678 Fix up a bunch of details in the docs.
2683 2007-12-11 David Zeuthen <davidz@redhat.com>
2685 Rework how volumes, drives and volume monitoring is
2686 done. Previosly the model was
2688 GDrive <1-1> GVolume
2690 where a GDrive instance represented a mount point and a GVolume
2691 instance represented a mounted file system. This patch changes it
2694 GDrive <1-N> GVolume <1-1> GMount
2696 where GMount now serves the purpose of the old GVolume and the new
2697 GVolume serves the purpose of the old GDrive. In addition the new
2698 GDrive interface is used to represent a collection of GVolume
2699 instances (typically partitions) and also contains utility to query
2700 the state of the physical drive the GDrive object represents (such
2701 as checking for media, polling the drive, ejecting the media etc.).
2703 Also implement mounting and unmounting in the Unix volume monitor
2704 backend. A subquent patch will introduce GDrive support for ejection
2708 * gdrive.c: (g_drive_is_media_check_automatic),
2709 (g_drive_is_media_removable), (g_drive_has_media),
2710 (g_drive_can_poll_for_media), (g_drive_eject),
2711 (g_drive_eject_finish), (g_drive_poll_for_media),
2712 (g_drive_poll_for_media_finish):
2714 * gfile.c: (g_file_find_enclosing_mount):
2717 * glocaldirectorymonitor.c:
2718 (g_local_directory_monitor_constructor), (mounts_changed):
2719 * glocalfile.c: (get_mount_info),
2720 (g_local_file_find_enclosing_mount),
2721 (g_local_file_file_iface_init):
2722 * gnativevolumemonitor.h:
2723 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2724 (get_connected_drives), (g_union_volume_monitor_class_init),
2725 (child_volume_added), (child_volume_removed),
2726 (child_volume_changed), (child_mount_added), (child_mount_removed),
2727 (child_mount_pre_unmount), (child_mount_changed),
2728 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2729 (g_union_volume_monitor_remove_monitor),
2730 (_g_mount_get_for_mount_path):
2731 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2732 (guess_system_internal), (_g_get_unix_mounts),
2733 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2734 (g_unix_mount_free), (g_unix_mount_compare),
2735 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2736 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2737 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2738 (type_to_icon), (g_unix_mount_guess_name),
2739 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2740 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2741 (_resolve_symlink), (_resolve_dev_root):
2743 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2744 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2745 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2746 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2747 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2748 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2749 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2750 (g_unix_volume_volume_iface_init):
2752 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2753 (get_mounts), (get_volumes), (get_connected_drives),
2754 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2755 (mountpoints_changed), (mounts_changed),
2756 (g_unix_volume_monitor_init),
2757 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2758 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2759 * gunixvolumemonitor.h:
2760 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2761 (g_volume_mount), (g_volume_mount_finish):
2763 * gvolumemonitor.c: (g_volume_monitor_class_init),
2764 (g_volume_monitor_get_connected_drives),
2765 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2768 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2770 * gmountoperation.h (GPasswordFlags): Close the gap
2772 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2774 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2776 * gdesktopappinfo.[hc]: Remove _-prefixes
2778 2007-12-10 Tor Lillqvist <tml@novell.com>
2780 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2783 2007-12-10 Alexander Larsson <alexl@redhat.com>
2785 * gfile.c (g_file_set_display_name):
2786 Don't hardcode '/' (#502727)
2788 2007-12-09 Hans Breuer <hans@breuer.org>
2790 * makefile.msc : follow lib naming convention
2791 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2792 for user and group name, tested with ../tests/gio-ls
2794 2007-12-09 A. Walton <awalton@svn.gnome.org>
2796 * gdesktopappinfo.c:
2802 * gfileenumerator.c:
2807 * gmemoryinputstream.c:
2808 * gmemoryoutputstream.c:
2810 * gsimpleasyncresult.c:
2811 More documentation cleanup and filling in missing information, bringing
2812 GIO to 99% symbol coverage.
2814 2007-12-08 Hans Breuer <hans@breuer.org>
2816 [gio compiles and links on win32, not sure how much already works]
2817 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2818 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2819 base on win32 API; prefer g_lstat() over lstat(); instead of
2820 localtime_r() use an all GLib implementation on win32;
2821 get_mount_info() still needs a win32 specifc implementation
2822 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2823 win32_get_file_user_info to get owner/group info without uid/gid
2824 * glocalfileinputstream.c : include <io.h> on win32
2825 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2826 definition, use g_win32_ftruncate() for G_OS_WIN32
2827 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2828 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2829 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2830 * makefile.msc : updated
2832 2007-12-07 Alexander Larsson <alexl@redhat.com>
2834 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2835 Avoid warning spew if error == NULL
2837 2007-12-07 Alexander Larsson <alexl@redhat.com>
2840 Update docs wrt etags
2842 2007-12-06 Alexander Larsson <alexl@redhat.com>
2845 Include sys/types.h for dev_t (#501919)
2847 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2851 Make abicheck and pltcheck pass.
2853 2007-12-05 Alexander Larsson <alexl@redhat.com>
2856 * giomodule-priv.h: Added.
2857 * glocaldirectorymonitor.c:
2858 * glocalfilemonitor.c:
2859 * gunionvolumemonitor.c:
2861 Actually add the declaration of _g_io_modules_ensure_loaded
2863 2007-12-05 Alexander Larsson <alexl@redhat.com>
2865 * gdatainputstream.c:
2870 * glocaldirectorymonitor.c:
2871 * glocalfilemonitor.c:
2872 * gunionvolumemonitor.c:
2874 Make g_io_modules_ensure_loaded a private function and
2875 don't pass in the dirname. This means we can do magic
2876 directory finding in the win32 version.
2877 Export the actual load-modules-in-directory code so that
2878 gvfs can reuse that.
2880 2007-12-05 Alexander Larsson <alexl@redhat.com>
2882 * gbufferedinputstream.c:
2883 * gbufferedoutputstream.c:
2886 * gfileenumerator.[ch]:
2887 * gfileinputstream.c:
2888 * gfileoutputstream.[ch]:
2889 * gfilterinputstream.c:
2890 * gfilteroutputstream.c:
2891 * ginputstream.[ch]:
2893 * glocalfileenumerator.c:
2894 * glocalfileinputstream.c:
2895 * glocalfileoutputstream.c:
2896 * gmemoryinputstream.c:
2897 * gmemoryoutputstream.c:
2898 * goutputstream.[ch]:
2901 * gunixinputstream.c:
2902 * gunixoutputstream.c:
2903 Rename all struct members named:
2904 read, write, close, truncate, or mount
2905 to foo_fn, as these are reserved names
2906 and could be defined as macros in libc.
2909 2007-12-04 Alexander Larsson <alexl@redhat.com>
2912 (g_output_stream_close):
2913 Only call flush if non-null.
2915 2007-11-30 Dan Winship <danw@gnome.org>
2917 * ginputstream.c (g_input_stream_set_pending): Make this take a
2918 GError and return a gboolean, and do the "outstanding operation"
2919 check (and the "stream is already closed" check) itself.
2920 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2922 * goutputstream.c (g_output_stream_set_pending)
2923 (g_output_stream_clear_pending): Likewise
2925 * gbufferedinputstream.c:
2926 * gfileinputstream.c:
2927 * gfileoutputstream.c: Update for that
2929 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2930 Like g_simple_async_report_error_in_idle, but takes a GError
2931 rather than building one.
2933 2007-11-30 Dan Winship <danw@gnome.org>
2935 * goutputstream.c: Don't cheat and unset the "pending" flag around
2936 inner calls. Instead, call the class method directly rather than
2937 the wrapper function that checks "pending"
2939 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2941 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2943 2007-12-03 Hans Breuer <hans@breuer.org>
2945 [start of port to win32/msvc]
2946 * gcancellable.c : HAVE_UNIST_H and _pipe()
2947 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2948 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2949 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2951 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2952 * glocalvfs.c : use HAVE_PWD_H
2953 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2954 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2955 * Makefile.am : added to EXTRA_DIST
2957 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2959 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2962 2007-12-03 Alexander Larsson <alexl@redhat.com>
2965 Handle OSX style xattrs API (#500506)
2967 2007-12-03 Alexander Larsson <alexl@redhat.com>
2971 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2973 2007-12-02 A. Walton <awalton@svn.gnome.org>
2977 Documentation accuracy fixes.
2979 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2981 * gioenumtypes.c.template: Fix typo.
2983 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2985 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2987 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2989 * gdirectorymonitor.c:
2990 * gfilemonitor.c: Add properties
2992 * gbufferedoutputstream.c: Don't mark buffer-size property
2995 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2997 * gbufferedoutputstream.c: Add auto-grow property.
2999 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3001 * *.c: Unify the capitalization of section headings.
3003 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3005 * gmountoperation.c: Add properties
3007 * gdatainputstream.c: Turn byte-order and newline-type into
3010 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3012 * gioenumtypes.[hc].template: Templates for enum registration
3014 * Makefile.am: Generate gioenumtypes.[hc]
3016 * gio.h: Include gioenumtypes.h
3018 * gfile.h: Add some explicit nicks.
3020 * gio.symbols: Add new symbols
3022 * pltcheck.sh: Adjust
3024 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3026 * *.c: Explain etags and link to the explanation
3028 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3030 * *.c: Explain I/O priority.
3032 * *.c: More coding style fixes.
3034 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3036 * gasyncresult.c: Add another paragraph to the intro,
3037 adjust coding style of example.
3039 2007-11-29 A. Walton <awalton@svn.gnome.org>
3042 Fixes unknown meaning in GAppLaunchContext docs.
3044 Clarify asynchronous ops.
3046 Fix entity tag docs.
3049 Provides missing gtk-doc section, fixes API docs slighly.
3050 * gsimpleasyncresult.c:
3051 Fill in missing info in docs.
3052 * gunixinputstream.c:
3053 * gunixoutputstream.c:
3054 Be more expressive in short description.
3056 Remove gtk-doc stubs for non-public API.
3058 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3060 * *.c: Coding style fixups
3062 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3064 * inotify/inotify-helper.c: Don't export the lock from libgio.
3066 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3069 * abicheck.sh: Fix copy-and-paste leftovers
3071 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3073 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3075 2007-11-28 Alexander Larsson <alexl@redhat.com>
3079 Removed unnecessary file
3081 * gdesktopappinfo.[ch]:
3084 * glocaldirectorymonitor.[ch]:
3086 * glocalfileenumerator.[ch]:
3087 * glocalfileinputstream.[ch]:
3088 * glocalfilemonitor.[ch]:
3089 * glocalfileoutputstream.[ch]:
3091 * gnativevolumemonitor.c:
3092 * gpollfilemonitor.[ch]:
3093 * gunionvolumemonitor.[ch]:
3096 * gunixvolumemonitor.[ch]:
3099 * inotify/ginotifydirectorymonitor.[ch]:
3100 * inotify/ginotifyfilemonitor.[ch]:
3101 * inotify/inotify-helper.c:
3102 Append _ to all internal functions
3106 Export symbols needed for modules
3108 2007-11-28 Alexander Larsson <alexl@redhat.com>
3111 * abicheck.sh: Added.
3112 * makegioalias.pl: Added.
3113 * pltcheck.sh: Added.
3114 * gio.symbols: Added.
3117 Initial work on adding symbol handling.
3120 Correct ifdef guard name
3123 * inotify/Makefile.am:
3124 * xdgmime/Makefile.am:
3125 Include toplevel Makefile.decl
3127 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3129 * gcontenttype.c: Move doc comments to the unix section.
3131 * *.[hc]: More trivial doc corrections.
3133 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3135 * gpollfilemonitor.c:
3139 * gdesktopappinfo.c:
3144 * gdatainputstream.c:
3145 * gdatainputstream.h:
3146 * gdataoutputstream.c:
3147 * gdataoutputstream.h:
3148 * gfileinfo.h: Doc cleanups
3150 2007-11-28 Andre Klapper <a9016009@gmx.de>
3152 * gdesktopappinfo.c: Fix a typo.
3154 2007-11-27 Andre Klapper <a9016009@gmx.de>
3156 * glocalfileoutputstream.c: Fix a typo.
3158 2007-11-27 Alexander Larsson <alexl@redhat.com>
3161 Don't include removed headers
3163 2007-11-27 Alexander Larsson <alexl@redhat.com>
3166 * gsocketinputstream.[ch]: Removed.
3167 * gsocketoutputstream.[ch]: Removed.
3168 * gunixinputstream.[ch]: Added.
3169 * gunixoutputstream.[ch]: Added.
3170 Renamed GSocket*Stream to GUnix*Stream and made
3171 it unix-only, since its not really only for sockets
3172 and it only works on unix (but is highly useful there).
3174 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3180 * gbufferedinputstream.c:
3181 * gbufferedinputstream.h:
3182 * gbufferedoutputstream.c:
3183 * gbufferedoutputstream.h:
3187 * gdatainputstream.c:
3188 * gdatainputstream.h:
3189 * gdataoutputstream.c:
3190 * gdataoutputstream.h:
3191 * gdirectorymonitor.c:
3192 * gdirectorymonitor.h:
3199 * gfileenumerator.c:
3200 * gfileenumerator.h:
3205 * gfileinputstream.c:
3206 * gfileinputstream.h:
3209 * gfilenamecompleter.c:
3210 * gfilenamecompleter.h:
3211 * gfileoutputstream.c:
3212 * gfileoutputstream.h:
3213 * gfilterinputstream.c:
3214 * gfilterinputstream.h:
3215 * gfilteroutputstream.c:
3216 * gfilteroutputstream.h:
3229 * glocalfileoutputstream.c:
3230 * gmemoryinputstream.c:
3231 * gmemoryinputstream.h:
3232 * gmemoryoutputstream.c:
3233 * gmemoryoutputstream.h:
3234 * gmountoperation.c:
3235 * gmountoperation.h:
3238 * gpollfilemonitor.c:
3241 * gsimpleasyncresult.c:
3242 * gsimpleasyncresult.h:
3243 * gsocketinputstream.c:
3244 * gsocketinputstream.h:
3245 * gsocketoutputstream.c:
3246 * gsocketoutputstream.h:
3253 * gunixvolumemonitor.c:
3262 Bumps documentation to 93% symbol coverage, touching most
3263 of the public files. Fixes broken function documentation prototypes.
3264 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3265 gtk-doc headers in private files.
3267 2007-11-27 Jürg Billeter <j@bitron.ch>
3269 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3270 (g_buffered_input_stream_read_byte):
3271 * gbufferedinputstream.h:
3272 New functions for efficient access to buffer and simple single byte
3275 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3276 (g_data_input_stream_read_until):
3277 * gdatainputstream.h:
3278 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3279 read_until with multiple stop chars.
3281 2007-11-27 Alexander Larsson <alexl@redhat.com>
3285 * inotify/Makefile.am:
3286 Use the user-specified giomoduledir
3288 2007-11-27 Alexander Larsson <alexl@redhat.com>
3292 Add catch-all gio.h header
3293 Don't install gdummyfile.h
3295 2007-11-26 Alexander Larsson <alexl@redhat.com>
3297 * Makefile.am (gioinclude_HEADERS):
3298 Remove trailing whitespace
3300 2007-11-26 Alexander Larsson <alexl@redhat.com>
3302 Merge gio-standalone into glib
3304 2007-11-25 Christian Kellner <gicmo@gnome.org>
3306 * gio/goutputstream.c:
3307 Fix small mistake in the docs.
3309 2007-11-21 Christian Persch <chpe@gnome.org>
3311 * gio/glocalfile.c: (g_local_file_trash):
3312 Convert filenames to UTF-8 for GError.
3313 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3314 as per xdg base dir spec.
3316 2007-11-21 Christian Persch <chpe@gnome.org>
3318 * gio/gdesktopappinfo.c:
3319 Use that g_key_file_to_data cannot fail.
3321 Use stock defines for the key file group and key names.
3324 2007-11-21 Alexander Larsson <alexl@redhat.com>
3327 (copy_stream_with_progress):
3328 Make sure we do a final progress callback with
3329 the full total size.
3331 2007-11-21 Alexander Larsson <alexl@redhat.com>
3334 Export g_file_copy_attributes
3335 Remove padding as its not needed for interfaces
3337 2007-11-20 Alexander Larsson <alexl@redhat.com>
3342 Add G_IO_ERROR_WOULD_MERGE for
3343 copy/move dir on dir with overwrite.
3345 2007-11-20 Alexander Larsson <alexl@redhat.com>
3348 * gio/glocalfileinfo.c:
3349 Add COPY_NAME (this is an optional
3350 non-modified utf8 version of the name) that
3353 2007-11-20 Alexander Larsson <alexl@redhat.com>
3355 * gio/glocalfileenumerator.c:
3356 Report errors as GIOError, not GFileError
3358 2007-11-16 Alexander Larsson <alexl@redhat.com>
3360 * gio/glocalfileoutputstream.c:
3361 * gio/gwin32appinfo.c:
3362 Fix typos in strings.
3363 Patch from Luca Ferretti <elle.uca@libero.it>
3365 2007-11-15 Alexander Larsson <alexl@redhat.com>
3368 Post release version bump
3370 === gio-standalone 0.1.2 ===
3372 2007-11-15 Alexander Larsson <alexl@redhat.com>
3374 * docs/reference/gio/Makefile.am:
3375 Fix up distcheck by removing weird
3381 2007-11-14 Alexander Larsson <alexl@redhat.com>
3383 * gio/gdesktopappinfo.c:
3384 * gio/glocaldirectorymonitor.c:
3386 * gio/glocalfileinfo.c:
3387 * gio/inotify/inotify-sub.c:
3388 * programs/gio-cat.c:
3389 * programs/gio-copy.c:
3390 * programs/gio-info.c:
3391 * programs/gio-ls.c:
3392 * programs/gio-monitor-dir.c:
3393 * programs/gio-monitor-file.c:
3394 * programs/gio-mount.c:
3395 * programs/gio-move.c:
3396 * programs/gio-rm.c:
3397 * programs/gio-save.c:
3398 * programs/gio-trash.c:
3399 Leak fixes from Kjartan Maraas
3401 2007-11-14 Alexander Larsson <alexl@redhat.com>
3403 * gio/fam/fam-helper.c:
3405 * gio/glocalfileinfo.c:
3409 * gio/inotify/inotify-diag.c:
3410 * gio/inotify/inotify-kernel.c:
3411 Various code cleanups from Kjartan Maraas
3413 2007-11-14 Alexander Larsson <alexl@redhat.com>
3415 * gio/gioscheduler.c:
3417 Set up threadpool so that we cache 2 unused
3418 idle threads for at 15 secs. This means we
3419 will reuse thread-local data (like dbus connections)
3422 2007-11-14 Alexander Larsson <alexl@redhat.com>
3424 * gio/fam/fam-helper.c:
3425 * gio/fam/gfamdirectorymonitor.c:
3426 * gio/fam/gfamfilemonitor.c:
3428 * gio/gcontenttype.c:
3429 * gio/gdatainputstream.c:
3430 * gio/gdataoutputstream.c:
3434 * gio/gfileattribute.h:
3435 * gio/gfileenumerator.c:
3437 * gio/ginputstream.c:
3440 * gio/glocalfileinfo.c:
3441 * gio/goutputstream.c:
3442 * gio/gpollfilemonitor.c:
3443 * gio/gsimpleasyncresult.c:
3444 * gio/gunixmounts.c:
3445 * gio/gunixmounts.h:
3446 * gio/inotify/ginotifydirectorymonitor.c:
3447 * gio/inotify/ginotifyfilemonitor.c:
3448 * gio/inotify/inotify-diag.c:
3449 * gio/inotify/inotify-kernel.c:
3450 * gio/inotify/inotify-path.c:
3452 * gio/test-streams.c:
3453 * programs/gio-info.c:
3454 * programs/gio-monitor-dir.c:
3455 * programs/gio-monitor-file.c:
3456 Various code cleanups from Kjartan Maraas
3458 2007-11-13 Alexander Larsson <alexl@redhat.com>
3461 Handle the uri-scheme calls for dummy files
3463 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3465 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3466 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3467 to avoid clash with the C++ keyword.
3469 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3471 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3472 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3474 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3476 * gio/glocaldirectorymonitor.c:
3477 * gio/glocalfilemonitor.c:
3478 * gio/gunionvolumemonitor.c:
3479 Don't use g_once_init_*() for initializations that could fail and
3480 could leave the initialization variable set to 0 but use GOnce.
3481 This prevents a deadlock on the second call when trying to create
3482 a monitor and no monitor type is available. Thanks to Sven Herzberg
3485 2007-11-11 Sven Herzberg <sven@imendio.com>
3487 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3488 #ifdef (make it work on MacOS X again)
3490 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3492 Fixes Changelog for last two commits (sorry guys).
3494 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3496 * gio/gbufferedinputstream.c:
3497 * gio/gdatainputstream.c:
3499 * gio/gfileoutputstream.c:
3500 * gio/gfilterinputstream.c:
3501 * gio/glocalfileinputstream.c:
3504 More consistency fixes in g*stream.c files.
3505 Significant clean of gfile's documentation, filling in of
3506 asynchronous operations documentation.
3508 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3510 * gio/gasyncresult.c:
3511 * gio/gbufferedinputstream.c:
3512 * gio/gbufferedoutputstream.c:
3513 * gio/gcancellable.c:
3514 * gio/gcontenttype.c:
3515 * gio/gdatainputstream.c:
3516 * gio/gdataoutputstream.c:
3517 * gio/gdesktopappinfo.c:
3520 * gio/gfileattribute.c:
3521 * gio/gio/gfileenumerator.c:
3523 * gio/gfileinputstream.c:
3524 * gio/gfilemonitor.c:
3525 * gio/gfileoutputstream.c:
3526 * gio/ginputstream.c:
3528 * gio/gioscheduler.c:
3529 * gio/gloadableicon.c:
3530 * gio/glocalfileoutputstream.c:
3531 * gio/gmemoryoutputstream.c:
3532 * gio/gmountoperation.c:
3533 * gio/goutputstream.c:
3535 * gio/gsimpleasyncresult.c:
3536 * gio/gunionvolumemonitor.c:
3537 * gio/gunixmounts.c:
3538 * gio/gunixvolume.c:
3542 * gio/gvolumemonitor.c:
3543 Updated documentation stubs, working towards consistency and
3546 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3548 * gio/gmemoryoutputstream.c:
3549 * gio/gmemoryoutputstream.h:
3550 Change g_memory_output_stream_set_free_on_close() to
3551 g_memory_output_stream_set_free_data() as this makes more sense and
3552 is more consistent with GMemoryInputStream.
3554 2007-11-07 Alexander Larsson <alexl@redhat.com>
3561 Change how we find the default vfs so that
3562 we can handle a gvfs failing to init
3564 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3566 * gio/gbufferedoutputstream.c:
3567 * gio/gdatainputstream.c:
3568 * gio/gdataoutputstream.c:
3569 * gio/gfileinputstream.c:
3570 * gio/gfileoutputstream.c:
3571 * gio/gfilterinputstream.c:
3572 * gio/gfilteroutputstream.c:
3573 * gio/ginputstream.c:
3574 * gio/gmemoryinputstream.c:
3575 * gio/gmemoryoutputstream.c:
3576 * gio/goutputstream.c:
3577 * gio/gsimpleasyncresult.c:
3578 * gio/gsocketinputstream.c:
3579 * gio/gsocketoutputstream.c:
3580 Add guards to the remaining public functions, add a TODO for
3581 an unimplemented function and remove some useless guards.
3583 2007-11-07 Alexander Larsson <alexl@redhat.com>
3586 Autoconf checks for the various types of
3587 getpwuid_r and getgrgid_r
3589 * gio/glocalfileinfo.c:
3590 Use the autoconf checks from above
3592 2007-11-07 Alexander Larsson <alexl@redhat.com>
3595 (g_local_file_query_filesystem_info):
3596 Some fixes for the statvfs case
3598 2007-11-07 Alexander Larsson <alexl@redhat.com>
3601 (g_local_file_query_filesystem_info):
3602 Pick the "best" of statfs / statvfs for the system
3603 if both are availible.
3605 2007-11-07 Alexander Larsson <alexl@redhat.com>
3607 Solaris fixes from Halton.Huo@Sun.COM:
3614 * gio/glocalfileinfo.c:
3615 Fix for solaris definition of getpwuid_r
3617 * gio/test-streams.c:
3618 Use G_GNUC_PRETTY_FUNCTION
3620 2007-11-07 Alexander Larsson <alexl@redhat.com>
3622 * gio/gdesktopappinfo.c:
3623 (update_default_list):
3624 Remove double semicolon.
3625 Patch from Jens Granseuer
3627 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3629 * docs/reference/gio/gio-sections.txt:
3630 * gio/gbufferedinputstream.c:
3631 * gio/gbufferedinputstream.h:
3632 * gio/gdatainputstream.c:
3633 * gio/gfileenumerator.c:
3634 * gio/gioscheduler.c:
3635 * gio/gunionvolumemonitor.c:
3637 * programs/gio-save.c:
3638 Fix typo: availible -> available. Unfortuntely this breaks API
3639 and ABI as g_buffered_input_stream_get_available() was renamed.
3641 * gio/gunixmounts.c:
3642 * gio/gbufferedinputstream.c:
3643 Add guards for public functions.
3645 2007-11-06 Ross Burton <ross@openedhand.com>
3647 * docs/reference/gio/Makefile.am:
3648 Fix invalid += usage which automake 1.10 doesn't like.
3650 2007-11-06 Alexander Larsson <alexl@redhat.com>
3653 (g_app_launch_context_class_init):
3656 Patch from Ross Burton
3658 2007-11-06 Alexander Larsson <alexl@redhat.com>
3661 Post release version bump
3663 === gio-standalone 0.1.1 ===
3665 2007-11-06 Alexander Larsson <alexl@redhat.com>
3668 Bump version to 0.1.1
3670 * gio/gsimpleasyncresult.c:
3671 (g_simple_async_result_set_from_error):
3672 Remove bogus g_return_if_fail
3674 2007-11-06 Alexander Larsson <alexl@redhat.com>
3677 The name is gio-standalone
3680 Add top src/builddir to includedir
3682 2007-11-06 Alexander Larsson <alexl@redhat.com>
3684 * docs/reference/gio/gio-sections.txt:
3686 * gio/gbufferedinputstream.c:
3687 * gio/gbufferedoutputstream.c:
3688 * gio/gcancellable.c:
3689 * gio/gdatainputstream.h:
3690 * gio/gdataoutputstream.c:
3691 * gio/gdataoutputstream.h:
3692 * gio/gdirectorymonitor.c:
3694 * gio/gfileattribute.c:
3695 * gio/gfileattribute.h:
3696 * gio/gfileenumerator.c:
3697 * gio/gfileenumerator.h:
3700 * gio/gfileinputstream.h:
3701 * gio/gfilemonitor.c:
3702 * gio/gfileoutputstream.h:
3703 * gio/glocalfilemonitor.h:
3704 * gio/glocalfileoutputstream.h:
3705 * gio/gmemoryinputstream.c:
3706 * gio/gmemoryoutputstream.c:
3707 * gio/gmountoperation.c:
3708 * gio/goutputstream.c:
3709 * gio/goutputstream.h:
3711 * gio/gsimpleasyncresult.c:
3712 * gio/gunixmounts.c:
3713 * gio/gunixmounts.h:
3715 * gio/inotify/inotify-helper.c:
3716 Fix gtk-doc warnings
3718 Patch from Ross Burton
3720 2007-11-06 Alexander Larsson <alexl@redhat.com>
3722 * gio/gfilenamecompleter.c:
3723 (g_filename_completer_get_completions):
3726 * gio/gunixvolume.c:
3727 Remove unused function
3729 Patches from Ross Burton
3731 2007-11-06 Alexander Larsson <alexl@redhat.com>
3736 Padding not needed for interfaces
3738 2007-11-06 Alexander Larsson <alexl@redhat.com>
3740 * gio/gfilemonitor.c:
3744 Make giotypes.h an internal file
3747 * gio/gbufferedinputstream.h:
3748 * gio/gbufferedoutputstream.h:
3749 * gio/gcancellable.h:
3750 * gio/gdatainputstream.h:
3751 * gio/gdataoutputstream.h:
3752 * gio/gdirectorymonitor.c:
3753 * gio/gdirectorymonitor.h:
3758 * gio/gfileattribute.h:
3759 * gio/gfileenumerator.h:
3764 * gio/gfilemonitor.c:
3765 * gio/gfilemonitor.h:
3766 * gio/gfilenamecompleter.c:
3767 * gio/gfilenamecompleter.h:
3768 * gio/gfilterinputstream.h:
3769 * gio/gfilteroutputstream.h:
3770 * gio/ginputstream.h:
3771 * gio/gmemoryinputstream.h:
3772 * gio/gmemoryoutputstream.h:
3773 * gio/gmountoperation.c:
3774 * gio/gmountoperation.h:
3775 * gio/gnativevolumemonitor.c:
3776 * gio/goutputstream.h:
3779 * gio/gsimpleasyncresult.c:
3780 * gio/gsimpleasyncresult.h:
3781 * gio/gsocketinputstream.h:
3782 * gio/gsocketoutputstream.h:
3783 * gio/gthemedicon.c:
3784 * gio/gthemedicon.h:
3788 * gio/gvolumemonitor.c:
3789 * gio/gvolumemonitor.h:
3790 Add padding in classes where it seems useful
3791 Don't include giotypes.h from public headers
3792 Move in Class definitions into c file where possible
3797 2007-11-06 Alexander Larsson <alexl@redhat.com>
3799 * docs/reference/gio/gio-docs.xml:
3800 Better structure for API docs
3802 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3805 * gio/gloadableicon.c:
3806 * gio/gsimpleasyncresult.c:
3807 * gio/gthemedicon.c:
3808 Add some more guards to public functions. Only files missing are now
3811 2007-11-06 Alexander Larsson <alexl@redhat.com>
3813 * docs/reference/gio/gio-docs.xml:
3814 Remove old files, add missing ones
3816 2007-11-06 Alexander Larsson <alexl@redhat.com>
3818 * docs/reference/gio/gio-sections.txt:
3821 Hide implementation classes
3823 * gio/gdriveprivate.h:
3824 * gio/gvolumeprivate.h:
3825 Remove non-existing function declarations
3827 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3830 Fix compilation warnings and add guards to the new functions.
3832 * gio/gasyncresult.c:
3834 Add guards to the public functions.
3837 Implement get_path().
3839 2007-11-06 Alexander Larsson <alexl@redhat.com>
3841 * gio/gfilenamecompleter.c:
3842 Make g_filename_completer_get_completions
3843 return char ** instead of GList for
3846 * docs/reference/gio/gio-docs.xml:
3847 * docs/reference/gio/gio-sections.txt:
3849 * gio/gasyncresult.c:
3850 * gio/gbufferedinputstream.c:
3851 * gio/gbufferedoutputstream.c:
3852 * gio/gcancellable.c:
3853 * gio/gcontenttype.c:
3854 * gio/gdatainputstream.c:
3855 * gio/gdataoutputstream.c:
3856 * gio/gdesktopappinfo.c:
3857 * gio/gdirectorymonitor.c:
3861 * gio/gfileattribute.c:
3862 * gio/gfileenumerator.c:
3865 * gio/gfileinputstream.c:
3866 * gio/gfilemonitor.c:
3867 * gio/gfilenamecompleter.c:
3868 * gio/gfilenamecompleter.h:
3869 * gio/gfileoutputstream.c:
3870 * gio/gfilterinputstream.c:
3872 * gio/ginputstream.c:
3874 * gio/gioscheduler.c:
3875 * gio/gloadableicon.c:
3876 * gio/glocaldirectorymonitor.c:
3878 * gio/glocalfileinputstream.c:
3879 * gio/glocalfilemonitor.c:
3880 * gio/glocalfileoutputstream.c:
3882 * gio/gmemoryinputstream.c:
3883 * gio/gmemoryoutputstream.c:
3884 * gio/gmountoperation.c:
3885 * gio/goutputstream.c:
3886 * gio/gpollfilemonitor.c:
3888 * gio/gsimpleasyncresult.c:
3889 * gio/gsocketinputstream.c:
3890 * gio/gsocketoutputstream.c:
3891 * gio/gthemedicon.c:
3892 * gio/gunionvolumemonitor.c:
3894 * gio/gunixmounts.c:
3895 * gio/gunixvolume.c:
3896 * gio/gunixvolumemonitor.c:
3900 * gio/gvolumemonitor.c:
3901 * gio/gwin32appinfo.c:
3902 Add (mostly stub) doc strings to public functions.
3903 Patch from Andrew Walton (awalton@gmail.com)
3905 2007-11-06 Alexander Larsson <alexl@redhat.com>
3907 * gio/gappinfo.[ch]:
3908 Added GAppLaunchContext object and pass that to launch.
3909 This allows simple implementation of both
3910 launch-on-screen and startup notification via a gtk+
3911 subclass of GAppLaunchContext
3913 * gio/gdesktopappinfo.c:
3914 Implement GAppLaunchContext API
3916 * gio/gwin32appinfo.c:
3919 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3921 * gio/gmountoperation.c:
3922 Add some guards to GMountOperation's public functions.
3924 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3928 * gio/gcancellable.c:
3929 * gio/gdirectorymonitor.c:
3931 * gio/gfileenumerator.c:
3932 * gio/gfilemonitor.c:,
3933 * gio/gfilenamecompleter.c:
3936 * gio/gioscheduler.c:
3940 * gio/gvolumemonitor.c:
3941 Add even more guards to various public functions.
3943 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3946 Add guards to the public functions of GAppInfo.
3948 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3950 * gio/gcontenttype.c:
3951 Add some more guards for public functions.
3953 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3955 * gio/fam/fam-module.c:
3956 * gio/fam/gfamdirectorymonitor.c:
3957 * gio/fam/gfamdirectorymonitor.h:
3958 * gio/fam/gfamfilemonitor.c:
3959 * gio/fam/gfamfilemonitor.h:
3960 * gio/inotify/ginotifydirectorymonitor.c:
3961 * gio/inotify/ginotifydirectorymonitor.h:
3962 * gio/inotify/ginotifyfilemonitor.c:
3963 * gio/inotify/ginotifyfilemonitor.h:
3964 Add proper copyright information and remove an unused variable
3965 in the GInotifyFileMonitor constructor.
3967 * gio/gcancellable.c:
3968 Add a guard for a public function and an assertion to prevent
3969 an undefined program state.
3971 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3973 * gio/gfileattribute.c:
3974 Don't run into an assertion if the given attribute value is NULL
3975 in g_file_attribute_value_get_*() but instead return a fallback
3976 value that makes sense in most situations. Passing them a attribute
3977 value with the wrong type will still run into an assertion.
3979 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3981 * gio/gfileattribute.c:
3983 Add even more guards to the public functions. Also fix the refcounting
3984 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3985 let g_file_info_list_attributes() filter the attributes by namespace
3986 instead of simply ignoring the namespace parameter.
3988 2007-11-03 Sven Herzberg <sven@imendio.com>
3990 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3991 (This makes gio work on MacOS X again)
3993 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3996 Build the gio subdirectory before the docs. Otherwise the build will
3999 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4000 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4001 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4002 Add guards to the public functions.
4004 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4006 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4007 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4008 to prevent a compiler warning.
4010 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4011 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4012 return something in the non-void function find_topdir_for().
4014 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4021 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4023 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4024 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4025 * gwin32appinfo.c (g_win32_app_info_launch):
4026 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4027 envp_for_startup_id, g_desktop_app_info_launch,
4028 g_desktop_app_info_launch_uris):
4030 Give an opaque 'startup_id' string instead of 'envp'.
4031 Support empty file lists for launching new windows.
4032 Fix infinite recursion bug when launching URIs.
4034 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4037 Add guard to the new g_file_get_uri_scheme() function.
4039 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4042 Convert a g_return_val_if_fail() to setting the GError instead as
4043 otherwise applications have to verify the parameter before otherwise
4044 and the parameter might come directly from the user.
4046 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4048 * gio/inotify/ginotify*.[ch]:
4049 Add missing copyright information.
4051 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4054 Add guards in the beginning of public functions to check for valid
4055 parameters and fix a bug in copy_stream_with_progress() that could've
4056 caused writing less bytes than reading.
4057 * gio/glocalfileinfo.c:
4058 Check for a NULL parameter and set the GError accordingly then.
4059 * gio/goutputstream.c:
4060 Fix the same bug as in gfile.c that could've caused writing less bytes
4061 than reading in g_output_stream_real_splice().
4063 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4066 Use the correct gvolumeprivate.h naming
4068 2007-11-01 Christian Kellner <gicmo@gnome.org>
4071 Remove leftover "$(daemon_sources)" entry.
4073 2007-11-01 Christian Kellner <gicmo@gnome.org>
4078 Add copyright information to source files.
4080 2007-11-01 Alexander Larsson <alexl@redhat.com>
4084 Add g_file_get_uri_scheme
4086 2007-11-01 Alexander Larsson <alexl@redhat.com>
4089 * gio/gdesktopappinfo.c:
4090 * gio/gwin32appinfo.c:
4091 Add g_app_info_get_default_for_uri_scheme.
4093 2007-11-01 Alexander Larsson <alexl@redhat.com>
4096 Correct filename for gdriveprivate.h
4098 2007-10-31 Alexander Larsson <alexl@redhat.com>
4101 Rename id:value to id:file
4104 * gio/glocalfileinfo.c:
4107 2007-10-31 Alexander Larsson <alexl@redhat.com>
4109 * gio/gunixvolume.c:
4111 Remove g_volume_get_platform_id, as thats not
4112 needed with the simpler union volume monitor
4114 2007-10-31 Alexander Larsson <alexl@redhat.com>
4117 * gio/guniondrive.[ch]: Removed.
4118 * gio/gunionvolume.[ch]: Removed.
4119 Remove GUnionDrive/Volume
4121 * gio/gunionvolumemonitor.c:
4122 Simplify union volume monitor, now we
4123 only have one native volume monitor and
4124 we use the actual volumes/drives from the
4125 child monitors instead of wrapping them
4127 * gio/gnativevolumemonitor.[ch]:
4128 Base class for native volume monitors.
4129 Includes priority and get_volume_for_mountpoint
4132 Add g_file_find_enclosing_volume
4135 Remove volume name fs attribute
4136 Add readonly fs attribute
4139 Implement readonly attribute
4140 remove volume name attribute
4141 Implement find_enclosing volume
4143 * gio/gunixmounts.c:
4144 Add a volume for "/".
4146 * gio/gunixvolume.[ch]:
4147 Set better name for /
4149 * gio/gunixvolumemonitor.[ch]:
4150 Derive from GNativeVolumeMonitor
4151 Implement get_volume_for_mountpoint
4154 GVolume typedef moved to gfile.h
4156 * gio/gvolumeprivate.h:
4157 Add g_volume_get_for_mount_path
4159 2007-10-31 Alexander Larsson <alexl@redhat.com>
4161 * gio/gunixmounts.[ch]:
4162 Add cache info to unix mount listers
4163 Make getmntent use threadsafe
4164 Add is_system_internal attribute for GUnixMount
4166 * gio/gunixvolume.c:
4167 (g_unix_volume_new):
4168 Use is_system_internal instead of own code
4170 * gio/glocaldirectorymonitor.c:
4171 * gio/gunixvolumemonitor.c:
4172 Update to new gunixmounts API
4177 2007-10-30 Alexander Larsson <alexl@redhat.com>
4180 Add volume name fsinfo attribute
4183 Read volume name info
4185 * gio/gunionvolumemonitor.c:
4186 Fix infinite loops when finalizing a union volume monitor
4188 2007-10-30 Alexander Larsson <alexl@redhat.com>
4190 * gio/goutputstream.[ch]:
4191 Add splice() with default implementation
4193 * gio/gsocketoutputstream.c:
4194 (g_socket_output_stream_write):
4195 Return error on cancellation correctly.
4197 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4199 * gio/glocalfile.c (g_local_file_trash):
4200 Do not leak a string.
4202 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4204 * gio/gfile.c (g_file_load_contents):
4205 Unref the stream after closing it.
4207 2007-10-25 Alexander Larsson <alexl@redhat.com>
4209 * gio/gioscheduler.h:
4212 2007-10-25 Alexander Larsson <alexl@redhat.com>
4216 Add g_file_has_uri_scheme and implement for local files
4218 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4220 * gio/gdesktopappinfo.c: do not leak a string.
4222 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4224 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4225 (g_local_directory_monitor_new):
4226 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4227 (g_local_file_monitor_new):
4228 Only look for the monitor type that should be used the first time
4229 and use g_qsort_with_data() instead of our own bubble sort
4232 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4235 * gio/fam/Makefile.am:
4236 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4237 * gio/fam/fam-helper.h:
4238 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4239 * gio/fam/gfamdirectorymonitor.c:
4240 * gio/fam/gfamdirectorymonitor.h:
4241 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4242 * gio/fam/gfamfilemonitor.h:
4243 * gio/glocaldirectorymonitor.c:
4244 * gio/glocaldirectorymonitor.h:
4245 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4246 * gio/glocalfilemonitor.h:
4247 * gio/inotify/Makefile.am:
4248 * gio/inotify/ginotifydirectorymonitor.c:
4249 * gio/inotify/ginotifydirectorymonitor.h:
4250 * gio/inotify/ginotifyfilemonitor.c:
4251 * gio/inotify/ginotifyfilemonitor.h:
4252 Implement the FAM and Inotify monitors as
4253 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4254 their own GIO module. GLocal(Directory|File)Monitor will use the
4255 monitor with the highest rank that is supported on that machine.
4257 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4260 Change GIO module dir to $(libdir)/gio/modules and change
4261 the log domain from GVFS to GIO. Also only export symbols starting
4262 with g_ in the resulting library.
4263 * gio/test-streams.c: (main):
4264 Set log handler for the GIO log domain.
4266 2007-10-22 Alexander Larsson <alexl@redhat.com>
4268 * gio/gfilenamecompleter.[ch]:
4269 Add g_filename_completer_set_dirs_only
4271 2007-10-22 Alexander Larsson <alexl@redhat.com>
4274 * gio/gurifuncs.[ch]:
4275 Add some simple URI helpers
4277 * gio/gfilenamecompleter.[ch]:
4278 Added object for filename (parse name actually) completion
4281 Handle ~ in parse names
4283 2007-10-17 Alexander Larsson <alexl@redhat.com>
4286 * gio/glocalfileinfo.c:
4287 Add and implement id:value attribute
4289 2007-10-17 Alexander Larsson <alexl@redhat.com>
4292 * gio/guniondrive.c:
4294 Add and implement g_drive_has_volumes
4296 2007-10-17 Alexander Larsson <alexl@redhat.com>
4299 * gio/glocalfileinfo.[ch]:
4300 Add unix:is_mountpoint and implement for local files
4302 2007-10-16 Alexander Larsson <alexl@redhat.com>
4304 * gio/gunionvolumemonitor.c:
4305 (g_union_volume_monitor_init):
4306 Fix up the unix type getting so that it works with gcc
4308 2007-10-12 Alexander Larsson <alexl@redhat.com>
4311 * gio/glocalfileinfo.c:
4312 Add thumbnail:failed to file info
4314 2007-10-12 Richard Hult <richard@imendio.com>
4316 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4317 optimizing away the get_type call (happens with some gcc versions,
4318 like the one shipped with OS X 10.4).
4320 2007-10-12 Alexander Larsson <alexl@redhat.com>
4322 * gio/glocalfileinfo.c:
4323 (_g_local_file_info_set_attribute):
4324 Fix build if not HAVE_XATTR
4325 Patch from Milosz Derezynski <internalerror@gmail.com>
4327 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4329 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4330 around for review, otherwise I would have asked you before
4333 2007-10-11 Alexander Larsson <alexl@redhat.com>
4336 Add thumbnail:path attribute
4338 * gio/glocalfileinfo.c:
4339 Implement thumbnail:path for local files
4341 2007-10-11 Alexander Larsson <alexl@redhat.com>
4343 * gio/glocalfileinfo.c:
4344 (_g_local_file_info_get):
4345 Avoid duplicate icon names
4347 2007-10-11 Alexander Larsson <alexl@redhat.com>
4349 * gio/gthemedicon.[ch]:
4350 Change g_themed_icon_get_names return type to const
4352 2007-10-10 Alexander Larsson <alexl@redhat.com>
4354 * gio/glocalfileinfo.c:
4355 Don't reference freed memory
4357 2007-10-10 Alexander Larsson <alexl@redhat.com>
4359 * gio/gfileattribute.c:
4362 * gio/glocalfileinfo.c:
4365 2007-10-10 Alexander Larsson <alexl@redhat.com>
4368 Check for NULL icons
4370 * gio/gfileattribute.c:
4371 Don't dup when getting objects (same as for string attributes)
4373 * gio/gicon.c (g_icon_equal):
4374 Safely handle NULLs in equal
4376 2007-10-10 Alexander Larsson <alexl@redhat.com>
4379 Fix c++ compilation issues
4380 Patch from Milosz Derezynski <internalerror@gmail.com>
4382 2007-10-10 Alexander Larsson <alexl@redhat.com>
4384 * programs/gio-monitor-dir.c:
4385 Don't crash if dir monitor not supported.
4387 2007-10-09 Alexander Larsson <alexl@redhat.com>
4390 Add missing G_END_DECLS
4392 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4394 * gio/gfile.c: (g_file_set_display_name),
4395 (g_file_query_settable_attributes),
4396 (g_file_query_writable_namespaces):
4397 Return NULL not FALSE on errors as the return type is a pointer.
4399 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4401 * gio/glocalfile.c: (g_local_file_monitor_file):
4402 Don't call monitor_file on the default interface vtable (which
4403 is NULL) but simply return NULL. The caller, GFile, will create a
4404 polling monitor if NULL is returned.
4406 2007-10-09 Alexander Larsson <alexl@redhat.com>
4410 * gio-unix-2.0.pc.in:
4411 Add gio-unix-2.0.pc if OS_UNIX
4414 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4416 2007-10-09 Alexander Larsson <alexl@redhat.com>
4418 * gio/gunixmounts.[ch]:
4419 Make unix mount monitoring API sane.
4420 Now its just a object with mounts_changed
4421 and mountpoints_changed signals.
4423 * gio/glocaldirectorymonitor.c:
4424 * gio/gunixvolumemonitor.c:
4425 Use new mount monitor api
4427 2007-10-09 Alexander Larsson <alexl@redhat.com>
4429 * gio/gunixmounts.[ch]:
4430 Move guess type into one call for mounts and one for mountpoints
4433 * gio/gunixvolume.c:
4436 2007-10-09 Alexander Larsson <alexl@redhat.com>
4438 * gio/gunixmounts.[ch]:
4439 Remove _ prefix in preparation to make this semi-public
4440 Hide implementation of structs
4442 * gio/glocaldirectorymonitor.c:
4444 * gio/gunixvolume.c:
4445 * gio/gunixvolumemonitor.c:
4446 Update for above API changes
4448 2007-10-08 Alexander Larsson <alexl@redhat.com>
4451 Better polling fallback. This also handles the case where we have
4452 a monitor_file implementation, but it fails.
4454 2007-10-08 Alexander Larsson <alexl@redhat.com>
4458 * gio/gunixmounts.c:
4459 * programs/gio-monitor-dir.c:
4460 * programs/gio-monitor-file.c:
4461 Added cancellable to file monitoring calls.
4462 These are really sync calls and need this.
4464 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4466 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4467 (g_local_vfs_class_init):
4468 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4469 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4471 2007-10-05 Alexander Larsson <alexl@redhat.com>
4473 * gio/gdirectorymonitorprivate.h:
4474 * gio/gfilemonitorprivate.h:
4475 * gio/gdirectorymonitor.h:
4476 * gio/gfilemonitor.h:
4477 Remove *private.h and move to the public API, so that
4478 we can do implementations outside gio (such as in gvfs)
4480 * gio/gdirectorymonitor.c:
4481 * gio/gfilemonitor.c:
4482 * gio/glocaldirectorymonitor.c:
4483 * gio/gpollfilemonitor.c:
4484 * gio/inotify/inotify-helper.c:
4485 * gio/fam/fam-helper.c:
4486 Update to the new header names
4488 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4490 * gio/gdirectorymonitor.c:
4491 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4494 2007-10-04 Alexander Larsson <alexl@redhat.com>
4496 * gio/glocalfileinfo.c (get_access_rights):
4497 Set CAN_TRASH when we can move the file.
4498 We should really also check for a parent trash dir.
4500 2007-10-04 Alexander Larsson <alexl@redhat.com>
4502 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4503 Add can_trash access attribute
4505 2007-10-04 Alexander Larsson <alexl@redhat.com>
4508 (g_local_file_trash):
4509 Create info file first. This is per-spec and allows
4510 us to actually trash directories.
4512 2007-10-02 Alexander Larsson <alexl@redhat.com>
4514 * gio/gdesktopappinfo.c:
4515 Implement the new mime support code.
4516 Always set app as handling mimetype when being set as default for it
4518 2007-10-01 Alexander Larsson <alexl@redhat.com>
4520 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4521 Fix up check for xattrs:
4523 2007-10-01 Alexander Larsson <alexl@redhat.com>
4526 (g_app_info_set_as_default_for_extension):
4527 (g_app_info_add_supports_type):
4528 (g_app_info_can_remove_supports_type):
4529 (g_app_info_remove_supports_type):
4530 Make these fail nicely if not implemented
4532 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4534 * gio/glocalfileoutputstream.c:
4535 * gio/glocalfileoutputstream.h:
4540 * programs/gio-save.c:
4541 Add a GFileCreateFlags argument to operations that can create
4544 2007-10-01 Alexander Larsson <alexl@redhat.com>
4546 * gio/gappinfo.[ch]:
4547 * gio/gdesktopappinfo.c:
4548 Add more (stubbed out) mime API needed for nautilus
4550 2007-10-01 Alexander Larsson <alexl@redhat.com>
4553 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4554 Add g_app_info_set_as_default_for_extension.
4556 * gio/gdesktopappinfo.c:
4557 Dummy for g_app_info_set_as_default_for_extension
4558 Support flags in g_app_info_create_from_commandline
4560 * gio/gwin32appinfo.c:
4562 Update for API changes
4564 * gio/gthemedicon.c:
4565 Properly NULL-terminate list of icon names
4567 2007-09-28 Alexander Larsson <alexl@redhat.com>
4569 * gio/gloadableicon.h:
4570 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4572 2007-09-28 Alexander Larsson <alexl@redhat.com>
4575 Install headers in $includedir/gio-standalone/
4577 * gio-2.0.pc.in: Added.
4578 * gio-standalone.pc.in: Removed.
4581 Renamed pkg-config file to match glib (for future move)
4582 Update to the new include dir
4585 Add more TODO comments
4587 2007-09-28 Alexander Larsson <alexl@redhat.com>
4589 * gio/gdesktopappinfo.[ch]:
4590 Expose new_from_filename
4591 Add getter for is_hidden and handle it better
4593 2007-09-28 Alexander Larsson <alexl@redhat.com>
4595 * gio/gfileinfo.[ch]:
4596 Rename g_file_size_format_for_display to
4597 g_format_file_size_for_display.
4598 Now it doesn't have the g_file prefix, so we
4599 can later move it to glib.
4601 2007-09-28 Alexander Larsson <alexl@redhat.com>
4603 * gio/gappinfo.[ch]:
4604 Add g_app_info_get_id and g_app_info_get_executable.
4605 Make all getters non-reffing
4606 Make g_app_info_launch take GFile arguments.
4607 Add must_support_uris argument to g_app_info_get_default_for_type.
4609 * gio/gwin32appinfo.c:
4610 Update to GAppInfo api changes
4612 * gio/gdesktopappinfo.c:
4613 Update to GAppInfo api changes
4614 Implement supports_xdg_startup_notify
4616 * gio/gfileicon.c (g_file_icon_get_file):
4617 Make getter non-reffing.
4622 2007-09-27 Alexander Larsson <alexl@redhat.com>
4624 * gio/gfileinfo.[ch]:
4625 Add g_file_size_format_for_display helper
4627 2007-09-27 Alexander Larsson <alexl@redhat.com>
4629 * gio/glocalfileinfo.c:
4630 Set UNIX_GID from gid, not from uid
4632 2007-09-27 Alexander Larsson <alexl@redhat.com>
4635 Add g_file_set_attributes_async
4637 2007-09-27 Alexander Larsson <alexl@redhat.com>
4639 * gio/glocalfile.c (g_local_file_set_display_name):
4640 Fix set_display_name to actually rename to the right place.
4641 Use lstat to look for existing files so we don't overwrite
4644 2007-09-26 Alexander Larsson <alexl@redhat.com>
4647 Add g_file_set_display_name_async()
4649 2007-09-26 Alexander Larsson <alexl@redhat.com>
4652 Add load_partial_contents async calls
4655 Make internal function static
4657 2007-09-26 Alexander Larsson <alexl@redhat.com>
4659 * gio/glocalfileinfo.c:
4660 Correctly detect broken symlinks
4662 2007-09-26 Alexander Larsson <alexl@redhat.com>
4664 * gio/gcancellable.c (g_cancellable_cancel):
4665 Allow cancel on NULL cancellable
4667 2007-09-25 Alexander Larsson <alexl@redhat.com>
4669 * gio/gsimpleasyncresult.c:
4670 Don't allocate g_error manually.
4671 Fixes g_slice/g_new mixup crash
4673 2007-09-25 Alexander Larsson <alexl@redhat.com>
4675 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4676 Actually set active_backend.
4677 This means the monitor will be cancelled correctly.
4679 2007-09-25 Alexander Larsson <alexl@redhat.com>
4681 * gio/gdirectorymonitor.c:
4682 Set timeout to NULL when destroying
4684 2007-09-25 Alexander Larsson <alexl@redhat.com>
4687 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4688 that is a better description of the error.
4690 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4692 * gio/gvfs.c: (g_vfs_get_local):
4693 Make the local vfs variable static. The same instance should
4696 2007-09-24 Alexander Larsson <alexl@redhat.com>
4698 * gio/glocalfileinfo.c:
4699 Pass in actual length read into sniffer, not the length
4702 2007-09-21 Alexander Larsson <alexl@redhat.com>
4704 * gio/gfileenumerator.c:
4707 * gio/gfileinputstream.c:
4708 * gio/gfileoutputstream.c:
4709 * gio/ginputstream.c:
4710 * gio/goutputstream.c:
4711 Don't crash if async callbacks are NULL
4713 2007-09-20 Alexander Larsson <alexl@redhat.com>
4716 Add async enumerate_children method and default
4719 2007-09-20 Alexander Larsson <alexl@redhat.com>
4722 Add g_file_contains_file & g_file_get_relative_path, since they
4723 were needed for nautilus.
4724 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4729 Implement new methods
4731 2007-09-17 Alexander Larsson <alexl@redhat.com>
4734 * gio/gfileinputstream.[ch]:
4735 * gio/gfileoutputstream.[ch]:
4737 * gio/glocalfileenumerator.[ch]:
4738 * gio/glocalfileinfo.[ch]:
4739 * gio/glocalfileinputstream.c:
4740 * gio/glocalfileoutputstream.c:
4741 * gio/gpollfilemonitor.c:
4742 * programs/gio-copy.c:
4743 * programs/gio-info.c:
4744 * programs/gio-move.c:
4745 Rename get_file_info to query_info() to make it clearer
4746 that these are not simple getters, but do i/o.
4748 2007-09-17 Alexander Larsson <alexl@redhat.com>
4750 * gio/gdatainputstream.[ch]:
4751 * gio/test-streams.c:
4752 Use _read_XXX instead of _get_XXX for the i/o calls
4755 2007-09-17 Alexander Larsson <alexl@redhat.com>
4758 Added needed stuff to TODO comment
4760 2007-09-17 Alexander Larsson <alexl@redhat.com>
4762 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4763 Don't error out removing the backup copy if it doesn't
4766 2007-09-14 Alexander Larsson <alexl@redhat.com>
4768 * programs/Makefile.am:
4769 * programs/gvfs-*.c:
4771 Renamed apps from gvfs-xxx to gio-xxx.
4773 2007-09-14 Alexander Larsson <alexl@redhat.com>
4776 * gio/gfileoutputstream.[ch]:
4777 * gio/glocalfileoutputstream.c:
4778 * programs/gvfs-save.c:
4779 g_file_output_stream_get_etag doesn't do i/o, so remove
4780 cancellation and error.
4782 2007-09-14 Alexander Larsson <alexl@redhat.com>
4785 Add new_etag output to replace_contents functions
4787 2007-09-14 Alexander Larsson <alexl@redhat.com>
4789 * gio/gfileoutputstream.[ch]:
4790 Add async get_file_info and default implementation
4792 2007-09-14 Alexander Larsson <alexl@redhat.com>
4794 * gio/gfileinputstream.c:
4795 Implement fallback wrapper for async get_file_info
4797 2007-09-14 Alexander Larsson <alexl@redhat.com>
4800 Add etag out argument to load_contents
4805 2007-09-14 Alexander Larsson <alexl@redhat.com>
4807 * gio/gcontenttype.c (looks_like_text):
4808 Whitespace like tab, cr and lf do not make the
4811 2007-09-14 Alexander Larsson <alexl@redhat.com>
4813 * gio/gfileinputstream.[ch]:
4814 Add async get_file_info.
4816 2007-09-13 Alexander Larsson <alexl@redhat.com>
4818 * gio/goutputstream.c (g_output_stream_write_all):
4819 Allow NULL for bytes_written
4821 2007-09-13 Alexander Larsson <alexl@redhat.com>
4823 * gio/gmemoryinputstream.[ch]:
4824 Add accessors for data
4826 2007-09-13 Alexander Larsson <alexl@redhat.com>
4828 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4829 Don't crash if length is NULL