1 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
3 * gfileicon.c (g_file_icon_get_property)
4 (g_file_icon_set_property): New functions.
5 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
7 (g_file_icon_new): Use the property (bug #546132).
9 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
11 * gthemedicon.c (g_themed_icon_get_property): Also handle
12 `PROP_USE_DEFAULT_FALLBACKS'.
13 (g_themed_icon_class_init): Make
14 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
16 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
18 Bug 546371 – Improve docs re g_file_monitor
20 * gfilemonitor.c: Mention g_file_monitor() in the docs.
22 2008-08-04 Matthias Clasen <mclasen@redhat.com>
24 * === Released 2.17.6 ===
26 2008-08-04 Matthias Clasen <mclasen@redhat.com>
28 * === Released 2.17.5 ===
30 2008-08-04 Matthias Clasen <mclasen@redhat.com>
32 Bug 546017 – Don't copy attributes when copying a symlink
34 * gfile.c (g_file_copy_attributes): Specify
35 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
36 g_file_set_attributes_from_info. Patch by Christian Kellner
38 2008-08-04 Matthias Clasen <mclasen@redhat.com>
42 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
43 a bit more extensible. Work by Clemens Buss.
45 * gioenums.h: Add GEmblemOrigin.
48 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
50 Bug 546079 – leak in xdgmime
52 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
54 2008-08-03 Tor Lillqvist <tml@novell.com>
56 * win32/gwin32directorymonitor.h
57 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
60 2008-08-03 Tor Lillqvist <tml@novell.com>
62 * win32/gwin32directorymonitor.c
63 (g_win32_directory_monitor_callback): Make prototype match
64 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
65 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
68 (g_win32_directory_monitor_constructor):
69 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
70 names in the GLib API on Windows, so convert to UTF-16 and open
73 2008-08-03 Tor Lillqvist <tml@novell.com>
75 Bug 541036 - Gnumeric crashes when trying to open Desktop or
76 user's folder under Windows
78 * win32/gwin32directorymonitor.c
79 (g_win32_directory_monitor_constructor): Ignore error from
80 CreateFile() when opening directory. Instead of asserting, just
81 store INVALID_HANDLE_VALUE then in
82 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
83 ReadDirectoryChangesW().
84 (g_win32_directory_monitor_cancel): Don't attempt to close
85 directory handle if it is INVALID_HANDLE_VALUE.
87 2008-08-01 Matthias Clasen <mclasen@redhat.com>
89 * gdesktopappinfo.c: Remove debug spew
91 2008-08-01 Hans Breuer <hans@breuer.org>
93 * makefile.msc : add gemblembedicon
95 2008-07-30 Matthias Clasen <mclasen@redhat.com>
97 Bug 545457 – gdmsetup crashed with SIGSEGV in
98 g_unix_mount_guess_should_display()
100 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
101 crash if no mount is found.
103 2008-07-28 Matthias Clasen <mclasen@redhat.com>
105 Bug 545203 – gfile.c: argument is different type.
107 * gfile.c (open_read_async_thread): Pass a GError **
108 to g_file_set_error_literal.
109 Reported by Kazuki Iwamoto
111 2008-07-28 Matthias Clasen <mclasen@redhat.com>
113 Bug 545157 – wrong/no list of "open with" applications for .cc and
116 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
117 Collect all ancestors, not just direct parents. Pointed
118 out by Bastien Nocera
120 2008-07-28 Matthias Clasen <mclasen@redhat.com>
122 * Makefile.am: Install gemblemedicon.h
124 2008-07-28 Matthias Clasen <mclasen@redhat.com>
126 * gemblemedicon.[hc]: Add a GIcon implementation that can
127 add an emblem to another icon.
134 * gfileicon.c: Small documentation additions.
136 2008-07-28 Tor Lillqvist <tml@novell.com>
138 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
141 2008-07-27 Tor Lillqvist <tml@novell.com>
143 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
145 2008-07-24 David Zeuthen <davidz@redhat.com>
149 Also export a g_mount_guess_content_type_sync() function.
151 2008-07-23 Matthias Clasen <mclasen@redhat.com>
153 529694 – SELinux context setting support
155 * gfileinfo.c: Support setting selinux attributes.
156 Patch by Tomas Bzatek
158 2008-07-22 Priit Laes <plaes@plaes.org>
160 Bug 544140 - fam-helper 64-bit issue?
162 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
164 2008-07-21 Matthias Clasen <mclasen@redhat.com>
166 * === Released 2.17.4 ===
168 2008-07-20 Matthias Clasen <mclasen@redhat.com>
170 * gvolumemonitor.[hc]:
175 * gmount.c: Documentation fixes
177 2008-07-19 Matthias Clasen <mclasen@redhat.com>
179 543504 – crash in Epiphany Web Browser: Opening local file
190 * gvolume.c: Register types thread-safely.
191 Patch by Christian Persch
193 2008-07-18 Matthias Clasen <mclasen@redhat.com>
195 * gcontenttype.c: Remove debug spew
197 2008-07-18 Matthias Clasen <mclasen@redhat.com>
199 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
202 * fen/fen-kernel.c: Remove a warning that was causing
203 crashes. Reported by Lin Ma.
205 2008-07-18 Matthias Clasen <mclasen@redhat.com>
207 Bug 543040 – async reading on dummy file will crash on
210 * gfile.c (open_read_async_thread): Cope with read_fn being
211 NULL. Reported by Lin Ma.
213 2008-07-18 Matthias Clasen <mclasen@redhat.com>
216 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
218 2008-07-16 Matthias Clasen <mclasen@redhat.com>
222 * giomodule.c: Rename a chapter id to avoid filename conflict.
224 2008-07-16 Matthias Clasen <mclasen@redhat.com>
226 Bug 540616 – mem leak in filechooser button
228 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
229 the mount entry. Reported by Chrisitan Persch
231 2008-07-16 Matthias Clasen <mclasen@redhat.com>
233 * gfile.c: Small documentation fixes.
235 2008-07-15 Matthias Clasen <mclasen@redhat.com>
237 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
239 2008-07-08 Matthias Clasen <mclasen@redhat.com>
244 * gmount.c: Documentation improvements.
246 2008-07-08 Matthias Clasen <mclasen@redhat.com>
249 * gmount.[hc]: Add g_mount_guess_content_type().
251 2008-07-06 David Zeuthen <davidz@redhat.com>
254 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
255 is needed for easily handling adoption of foreign volumes by
256 out-of-process volume monitors (#541793)
258 2008-07-06 David Zeuthen <davidz@redhat.com>
260 * gvolumemonitor.[ch]:
261 * gunionvolumemonitor.c: Export the eject-button signal on the
262 volume monitor class (#541794).
264 2008-07-06 Matthias Clasen <mclasen@redhat.com>
266 * gappinfo.c: More doc tweaks
268 2008-07-05 Matthias Clasen <mclasen@redhat.com>
270 * gappinfo.c: Clarify some docs
272 2008-07-03 Matthias Clasen <mclasen@redhat.com>
274 * gdesktopappinfo.c: Fix a stupid mistake.
276 2008-07-02 Matthias Clasen <mclasen@redhat.com>
278 * === Released 2.17.3 ===
280 2008-07-02 Matthias Clasen <mclasen@redhat.com>
282 * gfilemonitor.c: Fix the build.
284 2008-07-02 Matthias Clasen <mclasen@redhat.com>
286 Bug 536160 – Add g_file_monitor()
289 * gfile.[hc]: Add g_file_monitor which can return either
290 a file or a directory monitor. Proposed by Behdad Esfahbod
292 2008-07-02 Matthias Clasen <mclasen@redhat.com>
294 536733 – gio build failure on Irix
296 * glocalfile.c: Use a configure check for structfs.f_bavail.
298 2008-07-02 Matthias Clasen <mclasen@redhat.com>
300 Bug 534639 – add g_desktop_app_info_new_from_keyfile
303 * gdesktopappinfo.[hc]: Add a function to create a
304 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
306 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
308 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
310 2008-07-01 Matthias Clasen <mclasen@redhat.com>
312 * gunixmounts.c: Fix a doc typo.
314 2008-07-01 Cody Russell <bratsche@gnome.org>
316 * gio/gcontenttype.c:
317 * gio/gwin32appinfo.c:
318 * gio/gwin32volumemonitor.c:
319 * gio/gwin32mount.c: Fixed some include problems.
321 2008-07-01 Cody Russell <bratsche@gnome.org>
325 Moved all relevant typedefs into these files.
328 Updated wrt added files.
330 Split types into separate file for easier maintainership. (#538564)
332 2008-06-30 Matthias Clasen <mclasen@redhat.com>
334 Bug 540331 – g_file_append_to () documentation: can return NULL
336 * gfile.c (g_file_append_to): Clarify docs.
339 2008-06-30 Matthias Clasen <mclasen@redhat.com>
341 Bug 539090 – g_content_type_from_mime_type() should unalias
343 * gcontentype.c (g_content_type_from_mime_type): Unalias.
344 Patch by Markus Bergman
346 2008-06-30 Matthias Clasen <mclasen@redhat.com>
348 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
351 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
352 on ppc and alpha. Reported by Mart Raudsepp
354 2008-06-29 Matthias Clasen <mclasen@redhat.com>
357 * tests/memory-output-stream.c: Add some tests for
360 2008-06-29 Matthias Clasen <mclasen@redhat.com>
362 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
365 * gmemoryoutputstream.c (array_resize): Handle truncation to
366 zero correctly. Reported by Akira Tagoh
368 2008-06-29 Matthias Clasen <mclasen@redhat.com>
370 * gmemoryoutputstream.c: Trivial doc fixes
372 2008-06-29 Matthias Clasen <mclasen@redhat.com>
374 Bug 540802 – g_list_prepend doesn't concat lists
376 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
377 one list to another. Pointed out by Jan Arne Petersen
379 2008-06-28 Michael Natterer <mitch@imendio.com>
381 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
383 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
385 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
386 to avoid problems with partial icon themes.
388 2008-06-17 Hans Breuer <hans@breuer.org>
390 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
391 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
392 access again on win32, see bug #538127
393 * giomodule.c : ensure GWin32VolumeMonitor is registered
394 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
395 * Makefile.am makefile.msc : updated
397 2008-06-16 Hans Breuer <hans@breuer.org>
399 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
400 and initialization in one step avoids c99ism
402 2008-06-16 Christian Persch <chpe@gnome.org>
405 * gio/gbufferedinputstream.c
407 * gio/gdatainputstream.c
408 * gio/gdesktopappinfo.c
410 * gio/gfileenumerator.c
411 * gio/gfileinputstream.c
412 * gio/gfileoutputstream.c
414 * gio/glocaldirectorymonitor.c
416 * gio/glocalfileenumerator.c
417 * gio/glocalfileinfo.c
418 * gio/glocalfilemonitor.c
419 * gio/glocalfileoutputstream.c
420 * gio/gmemoryinputstream.c
421 * gio/gmemoryoutputstream.c
422 * gio/goutputstream.c
423 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
426 2008-06-16 Tor Lillqvist <tml@novell.com>
428 Bug 538362 - Get Win32 icons back in the file chooser
430 * gcontenttype.c (g_content_type_get_icon): Look up the icon
431 corresponding to a file extension in the Registry. Patch by Hans
433 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
435 2008-06-16 Tor Lillqvist <tml@novell.com>
437 Patches by Hans Breuer:
439 * glocalfile.c (is_xp_or_later): Handle compiling against older
440 SDK headers with missing VerifyVersionInfo(). Conditioned on
441 _MSC_VER, but should probably use some better test.
442 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
443 uninitialised statfs_result variable on Win32.
445 2008-06-16 Michael Natterer <mitch@imendio.com>
447 * *.c: chain up unconditionally in finalize() and dispose(). Also
448 don't dereference these function pointers when calling them since
449 that has no meaning at all.
451 2008-06-16 Ross Burton <ross@burtonini.com>
454 Remove check for dispose implementation as it annoys Emmanuele.
456 2008-06-16 Ross Burton <ross@burtonini.com>
458 Bug 536252 – GFileEnumerator should allow access to the containing
464 Add g_file_enumerator_get_container() and a container writeable
465 construct-only property. Also shuffle around typedefs to make it
468 * glocalfileenumerator.c:
469 * glocalfileenumerator.h:
471 Instead of a string filename take a GFile in the constructor and
472 use it to set the container property.
477 2008-06-16 Matthias Clasen <mclasen@redhat.com>
479 * gfile.c: Make includes more uniform
481 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
483 * tests/live-g-file.c (sample_struct):
484 Use less fancy unicode filenames, so the test doesn't fail
485 on Mac OS X (#531476).
487 2008-06-12 Matthias Clasen <mclasen@redhat.com>
489 * === Released 2.17.2 ===
491 2008-06-12 Matthias Clasen <mclasen@redhat.com>
493 * === Released 2.17.1 ===
495 2008-06-11 A. Walton <awalton@gnome.org>
497 * tests/g-file.c (test_g_file_new_null):
498 Fix broken test case.
500 2008-06-11 Matthias Clasen <mclasen@redhat.com>
502 * pltcheck.sh: We use g_clear_error now.
504 2008-06-11 Matthias Clasen <mclasen@redhat.com>
506 * glocalfile.c (g_local_file_enumerate_children): Revert
507 an unintended change.
509 2008-06-11 Matthias Clasen <mclasen@redhat.com>
511 * gfile.c (g_file_replace_contents): Don't unref before the last use.
513 2008-06-10 Matthias Clasen <mclasen@redhat.com>
515 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
518 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
519 as icon for the desktop directory, also make user-home and
520 user-desktop the preferred icons.
522 2008-06-10 Matthias Clasen <mclasen@redhat.com>
525 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
526 to add a name to the front of the list.
528 2008-06-10 Matthias Clasen <mclasen@redhat.com>
530 Bug 537392 – Additional colon in xattr name
532 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
533 too. Reported by Alessandro Morandi
535 2008-06-10 Matthias Clasen <mclasen@redhat.com>
537 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
540 * glocalfile.c (get_fs_type): Add afs and autofs.
541 Patch by Danny Baumann.
543 2008-06-10 Matthias Clasen <mclasen@redhat.com>
545 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
547 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
548 is no parent. (Owen Taylor, patch by Christian Neumair)
550 2008-06-10 Paolo Borelli <pborelli@katamail.com>
552 * gfile.c (g_file_replace_contents): do not leak the output stream.
554 2008-06-10 Michael Natterer <mitch@imendio.com>
556 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
557 uninitialized memory as array index.
559 2008-06-10 Tor Lillqvist <tml@novell.com>
561 * gcontenttype.c (g_content_type_can_be_executable)
562 (g_content_type_get_icon) [Win32]: Add TODO comments.
564 2008-06-09 Matthias Clasen <mclasen@redhat.com>
566 * xdgmime/Makefile.am: Fix the build
568 2008-06-09 Matthias Clasen <mclasen@redhat.com>
570 * gcontenttype.c (g_content_type_get_icon): Use icons specified
571 in the shared mime database, if available.
573 * xdgmime/*: Sync with upstream. This brings support for
574 glob weights, generic icons, and changes the cache format to
577 2008-05-28 Michael Natterer <mitch@imendio.com>
579 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
580 the global CPPFLAGS now.
582 * tests/data-input-stream.c
583 * tests/data-output-stream.c
584 * tests/g-file-info.c
586 * tests/live-g-file.c
587 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
589 2008-05-27 Matthias Clasen <mclasen@redhat.com>
591 * === Released 2.17.0 ===
593 * tests/live-g-file.c: Clean up after the tests, so make distcheck
594 doesn't complain about leftover files.
596 2008-05-27 simon.zheng <simon.zheng@sun.com>
598 * glocalfile.c: (g_local_file_query_filesystem_info):
599 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
601 2008-05-26 Michael Natterer <mitch@imendio.com>
603 * gmemoryoutputstream.h: declare
604 g_memory_output_stream_get_data_size().
606 2008-05-26 Matthias Clasen <mclasen@redhat.com>
608 * tests/*: Make tests work
610 2008-05-26 Matthias Clasen <mclasen@redhat.com>
612 * gio.symbols: Add g_memory_output_stream_get_data_size.
614 2008-05-25 Ross Burton <ross@burtonini.com>
617 Fix typo in error message (#534764).
619 2008-05-25 Ross Burton <ross@burtonini.com>
622 Fix circular dependency loop for gioenumtypes.h (#534759).
624 2008-05-19 Hans Breuer <hans@breuer.org>
626 * Makefile.am : EXTRA_DIST += makefile.msc
628 2008-05-17 Matthias Clasen <mclasen@redhat.com>
631 * gcontenttype.c: (g_content_type_from_mime_type):
632 New function to create a content type from a mime type. (#527175,
635 2008-05-17 Matthias Clasen <mclasen@redhat.com>
637 Bug 532965 – Should not return filesystem::free for certain file systems
639 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
640 free space for ncpfs.
642 2008-05-17 Matthias Clasen <mclasen@redhat.com>
644 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
646 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
647 st_dev might be zero.
649 2008-05-16 Tor Lillqvist <tml@novell.com>
651 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
652 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
654 2008-05-13 Bastien Nocera <hadess@hadess.net>
656 * gfile.c (has_valid_scheme): A URI scheme must start with a
657 letter, even if later more characters are allowed (#532852)
659 2008-05-05 Michael Natterer <mitch@imendio.com>
661 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
662 code from being checked in that breaks the build of applications
663 which use G_DISABLE_SINGLE_INCLUDES.
665 * makegioalias.pl: make the alias file include "glib.h" instead of
668 * gio.symbols: whitespace change to force regeneration of the
669 alias file after above script change.
671 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
673 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
675 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
677 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
679 2008-04-28 David Zeuthen <davidz@redhat.com>
681 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
682 displaying mounts in a subdirectory not accessible to the
685 2008-04-22 Michael Natterer <mitch@imendio.com>
687 * Makefile.am: fix library versioning (it was 0.0.0).
689 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
691 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
692 Default disable all loggings.
693 * fen/fen-kernel.c: (printevent), (port_add_kevent),
694 (port_fetch_event_cb): Fixed two macro nits.
696 2008-04-16 Matthias Clasen <mclasen@redhat.com>
698 * xdgmime/xdgmime.c: Rework the timestamp checking code
699 to protect against duplicate directories in XDG_DATA_DIRS.
700 Fixes fd.o bug 12513, reported by Joe Shaw.
702 2008-04-16 Matthias Clasen <mclasen@redhat.com>
704 Partically revert the last commit after realizing that
705 xdg_mime_media_type_equal doesn't have to init at all.
708 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
710 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
712 2008-04-16 Matthias Clasen <mclasen@redhat.com>
714 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
715 reported by Joe Shaw and Federico Mena Quintero.
717 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
718 (xdg_mime_media_type_equal): Turn into a wrapper around the
721 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
722 functions throughout.
724 2008-04-16 Michael Meeks <michael.meeks@novell.com>
726 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
727 tolerate an empty TryExec= line without failing; nautilus used
728 to create launchers with these in previous versions. Fixes #528433
730 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
732 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
733 after name. Fixes #527132.
735 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
737 * gfile.c: (g_file_replace):
740 2008-04-07 Matthias Clasen <mclasen@redhat.com>
742 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
744 * gfile.c (file_copy_fallback): Fix the argument order. Patch
745 by Christian Kellner.
747 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
749 * gunixmounts.c: (g_unix_mount_guess_should_display):
750 Don't list the user directory as a mount, fix potential issue
751 when other users have a similar naming and don't special case the
752 gvfs mounts there since that's not required (#525866)
754 2008-03-31 Alexander Larsson <alexl@redhat.com>
756 * glocalfile.c (get_parent):
759 2008-03-31 A. Walton <awalton@svn.gnome.org>
761 * gfile.c (g_file_query_file_type):
762 Always return a GFileType enum value (#520715).
764 2008-03-31 Alexander Larsson <alexl@redhat.com>
766 * glocalfileenumerator.c:
767 Read readdir() info in chunks (of 1000) and sort
768 the chunks by inode before stat:ing.
769 This is a 20% performance increase in testing
770 gvfs-ls on /usr/bin with cold cache.
772 2008-03-31 Alexander Larsson <alexl@redhat.com>
774 * gmemoryoutputstream.c:
775 Clarify docs for g_memory_output_stream_get_size.
776 Add g_memory_output_stream_get_data_size.
778 2008-03-30 Matthias Clasen <mclasen@redhat.com>
782 * gfile.h: Add g_file_query_file_type convenience function
783 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
785 2008-03-30 Matthias Clasen <mclasen@redhat.com>
788 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
790 2008-03-28 A. Walton <awalton@svn.gnome.org>
792 * giomodule.c (_g_io_modules_ensure_loaded):
793 Adds GIO_EXTRA_MODULES environment variable support, closing bug
796 2008-03-28 Alexander Larsson <alexl@redhat.com>
799 (copy_stream_with_progress):
802 2008-03-28 Alexander Larsson <alexl@redhat.com>
805 (copy_stream_with_progress):
806 (file_copy_fallback):
807 Fallback to g_file_query_info for source size
808 if g_file_input_stream_query_info fails. (#524579)
810 2008-03-28 Alexander Larsson <alexl@redhat.com>
812 * glocalfile.c (g_local_file_move):
813 Reuse old string instead of adding new one.
815 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
817 * fen/*.[hc]: still copyright issue. I hate copyright.
819 2008-03-27 Alexander Larsson <alexl@redhat.com>
821 * glocalfile.c (g_local_file_move):
822 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
823 file over directory. This is according to the docs and what the move via
824 copy+remove fallback does.
826 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
828 * fen/*.[hc]: Updated copyright.
830 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
832 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
834 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
836 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
837 not emit attribute changed events when optimizing changed events.
838 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
841 2008-03-19 Matthias Clasen <mclasen@redhat.com>
843 * gmountoperation.[hc]: Small documentation additions
845 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
847 * gunixmounts.c: (guess_mount_type):
848 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
850 2008-03-19 Alexander Larsson <alexl@redhat.com>
853 (copy_stream_with_progress):
854 Bump block side for copy to 64k to minimize
855 overhead for low latency links. (#523015)
857 2008-03-16 Tor Lillqvist <tml@novell.com>
859 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
860 depend on gio.def on Windows.
862 2008-03-12 David Zeuthen <davidz@redhat.com>
866 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
868 2008-03-14 Alexander Larsson <alexl@redhat.com>
872 Avoid redudant tests (#521851)
873 Patch from Josselin Mouette
875 2008-03-14 Alexander Larsson <alexl@redhat.com>
878 (g_file_monitor_is_cancelled):
879 Fix C89 issue (#521672)
880 Patch from Jens Granseuer
882 2008-03-14 Alexander Larsson <alexl@redhat.com>
884 * fam/fam-helper.[ch]:
886 Shut down fam (including removing fam GSource) when
887 module is unloaded (#521513)
888 Patch from Joe Marcus Clarke
890 2008-03-14 Alexander Larsson <alexl@redhat.com>
893 (_g_io_modules_ensure_loaded):
896 2008-03-14 Alexander Larsson <alexl@redhat.com>
899 (g_local_file_query_filesystem_info):
900 Use right define name for f_fstypename member check
902 2008-03-14 Alexander Larsson <alexl@redhat.com>
905 * fen/Makefile.am: Added.
906 * fen/fen-data.[ch]: Added.
907 * fen/fen-dump.[ch]: Added.
908 * fen/fen-helper.[ch]: Added.
909 * fen/fen-kernel.[ch]: Added.
910 * fen/fen-missing.[ch]: Added.
911 * fen/fen-node.[ch]: Added.
912 * fen/fen-sub.[ch]: Added.
913 * fen/gfendirectorymonitor.[ch]: Added.
914 * fen/gfenfilemonitor.[ch]: Added.
916 Added Solaris FEN file notification backend.
917 Patch from Lin Ma <Lin.Ma@Sun.COM>
919 2008-03-13 Tor Lillqvist <tml@novell.com>
921 * Makefile.am: Actually use the gio.def file when linking the
922 library on Windows. Produce .lib library for Microsoft's toolchain
923 when possible. Install the .lib and .def file like for the other
926 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
928 * tests/live-g-file.c:
929 Include live-g-file in standard set of tests, making a temporary
930 directory in source structure.
932 Clean target directory before the tests (write mode only)
934 2008-03-12 Tor Lillqvist <tml@novell.com>
936 Bug 517419 - gio win32 directory monitor
937 Implementation by Vlad Grecescu.
940 * win32/gwin32directorymonitor.h
941 * win32/gwin32directorymonitor.c: New files.
943 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
945 * Makefile.am: Add the win32 subdirectory.
947 2008-03-12 Tor Lillqvist <tml@novell.com>
949 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
950 normal struct stat on Unix but struct _stati64 on Windows to have
951 access to 64-bit file size information. Use that instead of struct
952 stat in the functions declared here in this private header.
954 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
955 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
956 warnings about unused functions and variables. Don't set
957 meaningless attributes like inode numbers on Windows.
959 2008-03-12 Benjamin Otte <otte@gnome.org>
962 trim whitespace so gtk-doc groks the function name
964 2008-03-12 Tor Lillqvist <tml@novell.com>
966 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
967 returning FALSE, on Win32.
969 2008-03-11 Alexander Larsson <alexl@redhat.com>
972 * glocalfileinfo.[ch]:
973 Correctly implement can_trash by actually
974 looking for a trash dir, not just assuming
977 2008-03-10 Matthias Clasen <mclasen@redhat.com>
979 * === Released 2.16.1 ===
981 2008-03-11 Alexander Larsson <alexl@redhat.com>
984 Fix crashes in new constructor and properties code
986 2008-03-10 Murray Cumming <murrayc@murrayc.com>
988 * gfile.c: Minor spelling correction in documentation:
989 existance -> existence.
991 2008-03-10 Matthias Clasen <mclasen@redhat.com>
993 * === Released 2.16.0 ===
995 2008-03-10 Matthias Clasen <mclasen@redhat.com>
997 * gio.symbols: Remove g_file_contains_file here, too.
999 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1001 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1002 Samuel Cormier-Iijima)
1004 2008-03-08 Tor Lillqvist <tml@novell.com>
1006 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1009 2008-03-07 Alexander Larsson <alexl@redhat.com>
1012 (g_local_file_query_filesystem_info):
1013 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1014 Patch from Jasper Lievisse Adriaanse
1016 2008-03-06 Tor Lillqvist <tml@novell.com>
1018 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1019 comments for the *_USEC attributes.
1021 2008-03-06 Alexander Larsson <alexl@redhat.com>
1023 * gfile.c (g_file_query_exists):
1024 Add g_return_val_if_fail check (#520700)
1026 2008-03-06 Alexander Larsson <alexl@redhat.com>
1028 * gdesktopappinfo.c:
1031 * gunionvolumemonitor.c:
1034 * tests/live-g-file.c:
1035 * xdgmime/xdgmimecache.c:
1036 Fix sparse warnings (#519489)
1038 2008-03-05 Alexander Larsson <alexl@redhat.com>
1041 Make cancellation threadsafe (i.e.
1042 guarantee its only done once, and always
1045 * glocaldirectorymonitor.c:
1046 Make sure we the monitor lives while the
1047 mounts_changed callback is being called (#520484)
1049 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1051 * gbufferedinputstream.c: Fix typo in parameter
1054 2008-03-04 Alexander Larsson <alexl@redhat.com>
1057 Remove deprecated symbols we kept for one release.
1059 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1062 * goutputstream.c: Tiny documentation corrections.
1064 2008-03-03 Alexander Larsson <alexl@redhat.com>
1066 * gunionvolumemonitor.c:
1068 Fix the adopt_orphan_mount vfunc to take a
1069 volume_monitor reference in an ABI compat way.
1070 This change is not API compat, but the added
1071 arg is not used in the only user of this vfunc, so
1072 all we get is a harmless warning in gvfs (#520169)
1074 2008-03-01 Benjamin Otte <otte@gnome.org>
1077 clarify docs for g_file_delete().
1079 2008-02-29 Alexander Larsson <alexl@redhat.com>
1083 Make sure empty files get text/plain type (#518720)
1085 2008-02-27 Alexander Larsson <alexl@redhat.com>
1091 (g_unix_volume_mount):
1092 Add missing GMountMountFlags argument
1094 2008-02-26 Alexander Larsson <alexl@redhat.com>
1097 (g_local_file_delete):
1098 Handle filesystems (like ntfs-3g) that return EEXIST instead
1099 of ENOTEMPTY (#518816)
1101 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1103 * === Released 2.15.6 ===
1105 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1107 * gfile.c (g_file_find_enclosing_mount):
1108 * ginputstream.c (g_input_stream_set_pending):
1109 * glocalfile.c (g_local_file_find_enclosing_mount):
1110 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1111 * goutputstream.c (g_output_stream_set_pending):
1113 Fixup translator comments (#518578).
1115 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1117 * gfile.c (g_file_find_enclosing_mount):
1119 * glocalfile.c (g_local_file_find_enclosing_mount):
1122 Fix a few typos in translator comments and documentation.
1124 2008-02-25 Alexander Larsson <alexl@redhat.com>
1131 Add translator comments (#518578)
1133 2008-02-25 Alexander Larsson <alexl@redhat.com>
1136 Reintroduce g_file_contains_file, keep around for one
1137 unstable release cycle to avoid crashing to many apps.
1138 Make sure to delete after release.
1140 2008-02-25 Alexander Larsson <alexl@redhat.com>
1143 Remove deprecated g_file_contains_file.
1145 2008-02-25 Alexander Larsson <alexl@redhat.com>
1148 Emit actual change signals in an idle handler.
1149 This avoids reentrance and locking problems in
1150 the file notification backends.
1152 2008-02-25 Alexander Larsson <alexl@redhat.com>
1155 (g_unix_mount_guess_should_display):
1156 Remove type guessing, instead just display
1157 mounts in /media and in ~/.
1159 2008-02-25 Alexander Larsson <alexl@redhat.com>
1162 Make new strings reuse old ones.
1164 2008-02-25 Alexander Larsson <alexl@redhat.com>
1167 Implement trashing and filesystem::readonly for win32 (#517235)
1168 Patch from Yevgen Muntyan
1170 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1172 * gfileinfo.h: Documentation fixes.
1174 2008-02-22 Alexander Larsson <alexl@redhat.com>
1176 * gcontenttype.c (g_content_type_get_icon):
1177 Look at old-style gnome mime icon names too, as many
1178 have not moved to the new style.
1180 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1182 * *.c: Correct the @include in for section docs.
1184 2008-02-21 David Zeuthen <davidz@redhat.com>
1186 * glocalfileinfo.c: (_g_local_file_info_get):
1188 (g_content_type_get_icon): Implement this function by
1189 moving bits from glocalfileinfo.c
1190 (g_content_type_get_description): Unalias before getting
1191 description (#517687)
1193 * gfile.c: (g_file_class_init),
1194 (g_file_query_filesystem_info_async),
1195 (g_file_query_filesystem_info_finish),
1196 (query_filesystem_info_data_free),
1197 (query_filesystem_info_async_thread),
1198 (g_file_real_query_filesystem_info_async),
1199 (g_file_real_query_filesystem_info_finish):
1200 * gfile.h: Implement async version of
1201 g_file_query_filesystem_info()
1203 * gfileinfo.h: Add new attributes for filesystem::use-preview
1205 * gio.symbols: Update
1207 * gthemedicon.c: (g_themed_icon_append_name):
1208 * gthemedicon.h: Add new new convenience function.
1210 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1211 (get_mounts), (get_volumes), (get_connected_drives),
1212 (get_volume_for_uuid), (get_mount_for_uuid),
1213 (g_union_volume_monitor_init), (populate_union_monitor),
1214 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1215 (g_volume_monitor_adopt_orphan_mount):
1217 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1218 monitor implementations to call into the main volume monitor. Also
1219 separate object initialization and volume monitor initialization
1220 such that non-native volume monitors can properly adopt their
1223 2008-02-21 Alexander Larsson <alexl@redhat.com>
1228 2008-02-21 Alexander Larsson <alexl@redhat.com>
1231 Add more documentation about how GFiles work (from #517086)
1233 2008-02-21 Alexander Larsson <alexl@redhat.com>
1237 Add new g_file_has_prefix that does the same as g_file_contains_file.
1238 Deprecate g_file_contains_file and add a macro that converts
1239 it to g_file_has_prefix.
1240 The reason for this change is that the contains_file() name seems to
1241 imply that this does more work than what it does, but its really only
1242 a name match (from #517086)
1247 Update to match the above change.
1249 2008-02-20 Benjamin Otte <otte@gnome.org>
1251 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1252 (g_file_eject_mountable):
1253 even more cases of not returning in error path
1255 2008-02-20 Benjamin Otte <otte@gnome.org>
1257 * gfile.c: (g_file_mount_mountable):
1258 return from function in error path.
1260 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1263 Remove trailing coma in GMountMountFlags struct
1265 2008-02-18 Alexander Larsson <alexl@redhat.com>
1269 * glocalfileoutputstream.c:
1270 Use g_unlink/g_rename instead of unlink/rename;
1271 do not pass raw filenames to g_set_error. (#517239)
1272 Patch from Yevgen Muntyan.
1274 2008-02-18 Alexander Larsson <alexl@redhat.com>
1277 * glocalfileoutputstream.c:
1278 Open files with O_BINARY on windows. (#517140)
1280 2008-02-14 Alexander Larsson <alexl@redhat.com>
1282 * glocalfileoutputstream.c:
1283 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1285 2008-02-14 Alexander Larsson <alexl@redhat.com>
1288 Copy permissions with file on copy (#514084)
1289 This is what cp does and makes sure e.g. the
1290 exec permissions are kept.
1291 Its kinda weird in that it keeps the permission bits
1292 the same while the uid and gid are different. However
1293 the new uid is the user so its not a security issue,
1294 and I've heard no complaints about cp on this issue.
1296 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1298 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1300 2008-02-13 Alexander Larsson <alexl@redhat.com>
1302 * inotify/inotify-path.c:
1303 Define IN_ONLYDIR if not in header (#515346)
1305 2008-02-12 Alexander Larsson <alexl@redhat.com>
1307 * tests/live-g-file.c:
1310 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1312 * === Released 2.15.5 ===
1314 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1316 * gio.symbols: Add g_mount_mount_flags_get_type.
1318 2008-02-11 Alexander Larsson <alexl@redhat.com>
1321 (g_file_info_set_attribute_mask):
1322 (g_file_attribute_matcher_matches_id):
1323 Correctly handle NULL GAttributeMatcher meaning
1324 matches nothing. (Fixes #513492)
1326 2008-02-11 Alexander Larsson <alexl@redhat.com>
1331 Added GMountMountFlags enum and added a flags
1332 argument to all mount calls.
1334 This is an API/ABI change for future extensibility,
1335 as I think we will need at least an
1336 inhibit-autorun flag (the panel needs this).
1337 There are no flags defined yet though.
1339 2008-02-11 Alexander Larsson <alexl@redhat.com>
1342 Added new standard::description attribute.
1343 Requested by Vincent, and useful for both
1346 2008-02-11 Alexander Larsson <alexl@redhat.com>
1348 * gdesktopappinfo.c:
1351 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1353 * *.c: Documentation additions
1355 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1357 * gappinfo.h: Formatting cleanup
1358 * gappinfo.c: Fix up docs.
1360 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1362 * gunixmounts.c: Consistently use getmntent_r() and fall
1363 back to getmntent(). (#515492)
1365 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1367 * gbufferedinputstream.c:
1369 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1371 * tests/data-input-stream.c:
1372 * tests/data-output-stream.c: Portability fixes.
1374 2008-02-08 Alexander Larsson <alexl@redhat.com>
1379 Add g_volume_should_automount.
1382 2008-02-07 Tor Lillqvist <tml@novell.com>
1384 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1385 Win32, too Unix-specific.
1387 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1389 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1390 a local plt if the compiler doesn't support what we want. Bug #514702
1392 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1394 reviewed by: <delete if not using a buddy>
1397 * gunixinputstream.c:
1398 * gunixoutputstream.c:
1400 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1402 * tests/Makefile.am:
1403 * tests/live-g-file.c:
1404 * tests/live-g-file.txt:
1405 New GIO testing module working over real data
1407 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1409 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1410 Fallback to rename() if link() is not available
1411 (when no support on target filesystem)
1413 2008-02-06 Michael Natterer <mitch@imendio.com>
1415 * gfileinfo.c (g_file_info_get_icon): replace
1416 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1418 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1420 * gfile.c (g_file_create):
1421 Documentation update of error codes
1423 2008-02-06 Alexander Larsson <alexl@redhat.com>
1425 * gdesktopappinfo.c:
1426 Update to use both mimeapps.list and
1427 defaults.list as discussed on xdg list.
1429 2008-02-06 Benjamin Otte <otte@gnome.org>
1432 * gfilenamecompleter.c:
1433 Fix some typos in the documentation.
1435 2008-02-06 Alexander Larsson <alexl@redhat.com>
1437 * glocalfile.c (g_local_file_trash):
1438 Don't succeed with trash if newly created
1439 trash dir has the wrong owner. (#514696)
1441 2008-02-05 Alexander Larsson <alexl@redhat.com>
1443 * glocalfile.c (g_local_file_move):
1444 Don't spew warnings when destination is not
1447 2008-02-03 Hans Breuer <hans@breuer.org>
1449 * makefile.msc : update
1451 2008-02-01 Michael Natterer <mitch@imendio.com>
1453 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1454 return value of xdg_mime_list_mime_parents() to a variable of the
1457 2008-02-01 Alexander Larsson <alexl@redhat.com>
1459 * gappinfo.c (g_app_info_launch_uris):
1460 Actually call the launch_uris method, not
1463 2008-02-01 Alexander Larsson <alexl@redhat.com>
1465 * gdesktopappinfo.c (g_desktop_app_info_equal):
1466 Ensure appinfos with no id but same pointer value
1469 2008-02-01 Alexander Larsson <alexl@redhat.com>
1471 * gappinfo.c (g_app_info_launch_default_for_uri):
1474 2008-02-01 Alexander Larsson <alexl@redhat.com>
1478 Add g_app_info_launch_default_for_uri utility
1481 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1483 * gdesktopappinfo.c:
1484 Doc fix for g_app_info_get_default_for_uri_scheme ()
1487 2008-01-30 Alexander Larsson <alexl@redhat.com>
1490 Add doc comment about uris vs GFiles to
1493 * gdesktopappinfo.c:
1494 Ensure uris passed to g_app_info_launch_uris()
1495 are not roundtriped through GFile (as that
1496 may be slightly destructive for e.g. mailto: links)
1498 2008-01-30 Alexander Larsson <alexl@redhat.com>
1500 * tests/data-input-stream.c:
1501 * tests/data-output-stream.c:
1502 C89 fixes from Jens Granseuer (#512849)
1504 2008-01-30 Alexander Larsson <alexl@redhat.com>
1507 Fix gamin/fam difference build issue. (#509419)
1509 2008-01-29 Alexander Larsson <alexl@redhat.com>
1512 * gdesktopappinfo.c:
1513 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1515 2008-01-29 Alexander Larsson <alexl@redhat.com>
1517 * gdesktopappinfo.c:
1518 * gdesktopappinfo.h:
1519 giomodule-priv.h include moved to .c file.
1521 2008-01-29 Alexander Larsson <alexl@redhat.com>
1523 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1524 Remove unused prio/name fields.
1526 2008-01-29 Alexander Larsson <alexl@redhat.com>
1528 * gcontenttype.c (looks_like_text):
1529 Don't treat whitespace as control chars.
1531 2008-01-29 Alexander Larsson <alexl@redhat.com>
1533 * gdesktopappinfo.c:
1534 Lazily create the desktop files for appinfos created
1535 by g_app_info_create_from_commandline() when needed
1536 for mime associations. This allows run-time use
1537 of GAppInfo object without creating unnecessary
1540 2008-01-29 Alexander Larsson <alexl@redhat.com>
1543 Added new symbols to gio.symbols
1545 2008-01-29 Alexander Larsson <alexl@redhat.com>
1548 Add g_file_query_default_handler utility to easily look up
1549 the GAppInfo that handles a file.
1551 * gdesktopappinfo.[ch]:
1553 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1556 Remove unused function
1558 2008-01-29 Alexander Larsson <alexl@redhat.com>
1560 * gfileenumerator.c:
1561 Mention need to free returned value in
1562 g_file_enumerator_next_files_finish docs.
1563 Fix leak if g_file_enumerator_next_files_finish()
1566 2008-01-29 Alexander Larsson <alexl@redhat.com>
1569 (_g_unix_content_type_get_parents):
1570 Use list_parents, not get_parents from xdgmime, because
1571 the later doesn't use the cache.
1573 * xdgmime/xdgmimecache.c:
1574 (_xdg_mime_cache_list_mime_parents):
1575 Don't list the same type as parent multiple times.
1577 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1579 * === Released 2.15.4 ===
1581 2008-01-28 Alexander Larsson <alexl@redhat.com>
1584 Register local vfs with prio 0.
1587 Remove old name and prio class members
1589 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1591 * tests/g-file.c: Disable some tests that are failing in
1592 the absence of a http backend.
1594 2008-01-28 Alexander Larsson <alexl@redhat.com>
1598 Add registration hooks for extension points.
1599 Register the gio extension points.
1601 * fam/gfamdirectorymonitor.c:
1602 * fam/gfamfilemonitor.c:
1603 * glocaldirectorymonitor.[ch]:
1604 * glocalfilemonitor.[ch]:
1605 * gnativevolumemonitor.h:
1606 * gunionvolumemonitor.c:
1607 * gunixvolumemonitor.c:
1610 * inotify/ginotifydirectorymonitor.c:
1611 * inotify/ginotifyfilemonitor.c:
1612 Use the extension points registration instead
1613 of g_type_children().
1615 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1618 * gvolume.[hc]: Document new API.
1620 * gfile.c (g_file_copy_async): Fix docs
1622 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1624 * gbufferedinputstream.c:
1626 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1629 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1631 * glocalfile.c: Avoid trivial differences in translatable strings.
1633 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1635 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1636 build with gcc 3.4 (#509419)
1638 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1640 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1641 (#509994, Murray Cumming)
1643 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1645 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1646 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1647 this allows big jobs to be executed in chunks, instead of blocking
1648 the main loop for a long time.
1650 * gsimpleasyncresult.c:
1651 * giofile.c: Adapt callers.
1653 2008-01-25 Alexander Larsson <alexl@redhat.com>
1655 * gdesktopappinfo.c:
1656 Implement changes discussed on xdg list.
1657 Now we can add supported mimetypes by just using defaults.list
1658 We can also remove associations in defaults.list.
1660 2008-01-25 Alexander Larsson <alexl@redhat.com>
1662 * gdesktopappinfo.c:
1663 Don't make local copy of desktop file
1664 for mimetype changes if the file already
1665 supports the new mimetype.
1667 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1671 * gbufferedinputstream.c:
1672 * glocalfile.c: String improvements. (#511966,
1673 Theppitak Karoonboonyanan)
1675 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1677 * gioscheduler.h: Expand docs a bit.
1679 2008-01-24 Alexander Larsson <alexl@redhat.com>
1682 Add g_drive_get_identifier and
1683 g_drive_enumerate_identifiers
1686 Add g_volume_get_identifier and
1687 g_volume_enumerate_identifiers
1693 Implement identifiers for unix backend
1695 2008-01-24 Alexander Larsson <alexl@redhat.com>
1700 Add g_file_copy_async() (#511580)
1701 Based on patch from Carlos Garcia Campos
1703 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1705 * gioscheduler.c: Some documentation additions.
1707 2008-01-22 Alexander Larsson <alexl@redhat.com>
1709 * gdesktopappinfo.c:
1710 (g_desktop_app_info_new):
1711 Don't leak basename.
1713 2008-01-22 Alexander Larsson <alexl@redhat.com>
1715 * gdesktopappinfo.c:
1716 (g_desktop_app_info_new_from_filename):
1719 2008-01-22 Alexander Larsson <alexl@redhat.com>
1721 * glocalfileinfo.c (get_thumbnail_attributes):
1724 2008-01-22 Alexander Larsson <alexl@redhat.com>
1727 (canonicalize_filename):
1728 Canonicalize paths that start with more than
1732 (compare_two_files):
1733 (test_g_file_new_for_path):
1736 2008-01-22 Alexander Larsson <alexl@redhat.com>
1739 Allow UTF-8 in file:// parse names.
1741 * tests/Makefile.am:
1742 * tests/data-input-stream.c:
1743 * tests/data-output-stream.c:
1744 * tests/g-file-info.c:
1746 Added a bunch of tests from Tomas Bzatek
1748 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1750 * === Released 2.15.3 ===
1752 2008-01-21 Alexander Larsson <alexl@redhat.com>
1754 * gfileinputstream.[ch]:
1755 * gfileoutputstream.[ch]:
1757 Remove duplicated GSeekable functions. (#509990)
1758 Just use the g_seekable_xxx() calls instead.
1760 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1763 * gvolumemanager.c: Whitespace cleanups.
1765 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1766 Use the right mode when creating the file.
1768 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1770 * gfileenumerator.c:
1771 * gfileinputstream.c:
1773 * goutputstream.c: Documentation: Fixed minor typos
1774 and added more mentions of specific _finish() functions.
1776 2008-01-21 Alexander Larsson <alexl@redhat.com>
1778 * inotify/Makefile.am:
1779 * inotify/inotify-helper.c:
1780 * inotify/inotify-kernel.c:
1781 * inotify/inotify-path.c:
1782 * inotify/local_inotify.h: Removed.
1783 * inotify/local_inotify_syscalls.h: Removed.
1784 Removed the included copies of the inotify
1785 headers. We now only use the <sys/inotify.h>
1786 header which exists on modern systems.
1787 This fixes problems on ARM and SH5 (#510448)
1788 but is also generally much cleaner and future
1789 safe. For instance, if other OSes add support
1790 for inotify it should "just work".
1792 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1794 * inotify/*.c: Coding style fixes.
1795 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1796 for the 1/4 Hz timer.
1798 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1801 * gfilemonitor.[hc]:
1802 * gmemoryinputstream.c:
1803 * gmemoryoutputstream.c:
1804 * gmountoperation.c:
1805 * gthemedicon.c: Documentation updates
1807 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1809 * gfile.c: documentation: Fixed more minor
1812 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1814 * gmount.c: (g_mount_remount): documentation:
1815 Mention g_mount_remount_finish() instead of
1816 g_mount_unmount_finish().
1818 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1822 * gfile.c: Fixed some minor typos in the
1825 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1827 * gio/gvolumemonitor.c:
1828 (g_volume_monitor_get_connected_drives):
1829 (g_volume_monitor_get_volumes):
1830 (g_volume_monitor_get_mounts): Documentation:
1831 Clarify the ownership of the regurn GLists.
1833 2008-01-17 Alexander Larsson <alexl@redhat.com>
1836 Add the async find_enclosing_mount version
1837 to the header file too.
1839 2008-01-17 Alexander Larsson <alexl@redhat.com>
1842 Add async version of find_enclosing_mount
1843 with default implementation.
1845 2008-01-17 Alexander Larsson <alexl@redhat.com>
1850 Allow calls to implementation of copy and write
1851 even if the type of the file implementations is
1852 different. This can be used to implement native
1853 upload and download calls in a vfs.
1856 (g_local_file_move):
1857 Protect against the case where move is called
1858 with one file not being local.
1860 Make sure we call the progress callback once
1861 in the native move operation so that the caller
1862 knows how many bytes were copied.
1864 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1867 * gdatainputstream.c:
1869 * gfileoutputstream.c:
1874 * gunixmounts.c: Corrected some typos in the documentation:
1875 occured -> occurred.
1876 its -> it's (where appropriate).
1878 2008-01-16 Alexander Larsson <alexl@redhat.com>
1882 Add g_file_query_exists (#508771)
1884 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1889 * gvolume.c: For async functions that have no non-async
1890 version, document that the GAsyncReadyCallback may be NULL.
1893 2008-01-15 Alexander Larsson <alexl@redhat.com>
1895 * gmemoryinputstream.c:
1896 * gmemoryoutputstream.c:
1897 Don't do pointer arithmetic on void * (#508602)
1898 Patch from Kazuki IWAMOTO
1900 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1902 * === Released 2.15.2 ===
1904 2008-01-14 Alexander Larsson <alexl@redhat.com>
1906 * gfile.c (g_file_monitor_file):
1907 Don't set error here, since we fallback to polling monitor.
1909 2008-01-14 Alexander Larsson <alexl@redhat.com>
1912 (g_file_monitor_directory):
1913 (g_file_monitor_file):
1914 Add GError to file monitor calls
1916 * glocaldirectorymonitor.c:
1917 * glocaldirectorymonitor.h:
1919 * glocalfilemonitor.c:
1920 * glocalfilemonitor.h:
1922 Update for above change
1924 2008-01-14 Alexander Larsson <alexl@redhat.com>
1928 Handle root correctly in g_file_get_relative_path (#508719)
1930 2008-01-14 Alexander Larsson <alexl@redhat.com>
1933 Clean up docs and example for GAsyncResult (#508074)
1935 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1937 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1938 and correct some spelling mistakes. Bug #508108.
1940 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1942 * glocalfileinfo.c: Add a comment.
1944 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1946 * gfileinfo.c: GFileInfo description: Mention
1947 how to actually set attributes in a GFile and how to discover
1948 which attributes are settable. Bug #508378.
1950 2008-01-10 A. Walton <awalton@svn.gnome.org>
1952 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1953 (g_app_info_get_default_for_type):
1954 Check for NULL content types.
1956 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1958 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1960 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1962 * gfile.c: *_async() functions: Several small corrections
1963 to the documentation, mostly correcting copy/paste errors
1964 and improving some sentences.
1966 2008-01-09 Dan Winship <danw@gnome.org>
1968 * glocalfile.c (get_unique_filename): x86_64 fix
1970 2008-01-09 Alexander Larsson <alexl@redhat.com>
1975 Add g_unix_mount_guess_should_display and use
1976 for unix volume monitor backend.
1977 This means we more or less show what the
1978 gnome-vfs backend did.
1979 Based on patch from Padraig O'Briain
1981 2008-01-09 Alexander Larsson <alexl@redhat.com>
1985 Add g_themed_icon_new_with_default_fallbacks
1988 Use default fallbacks for icons
1990 2008-01-09 Alexander Larsson <alexl@redhat.com>
1993 * gmountoperation.[ch]:
1994 Change the API a bit so that unhandled methods
1995 get reported via the reply, rather than by
1996 the signal emission return value. This is because
1997 some handlers can't know this immediately without
1998 doing I/O, and this is an async operation that
2001 2008-01-09 Alexander Larsson <alexl@redhat.com>
2004 * fam/gfamdirectorymonitor.c:
2005 * fam/gfamfilemonitor.c:
2006 Fix double free crash (#508224)
2007 Patch from Joe Marcus Clarke
2009 008-01-07 Matthias Clasen <mclasen@redhat.com>
2011 * === Released 2.15.1 ===
2013 2008-01-07 Alexander Larsson <alexl@redhat.com>
2015 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2016 Fix warning (#507835)
2018 2008-01-07 Alexander Larsson <alexl@redhat.com>
2021 Pass --internal to glib-genmarshal
2024 * gmountoperation.c:
2026 Use better types for signal arguments (#507822)
2028 2008-01-07 Alexander Larsson <alexl@redhat.com>
2031 Build test subdir after .
2032 Remove gdirectorymonitor.[ch]
2034 * gdirectorymonitor.[ch]:
2038 Remove GDirectoryMonitor and make
2039 GFileMonitor the baseclass for both file and
2040 directory monitors. Lift the more generic
2041 rate limiting code from GDirectoryMonitor
2045 * fam/gfamdirectorymonitor.[ch]:
2046 * inotify/ginotifydirectorymonitor.[ch]:
2047 * inotify/inotify-helper.c:
2048 * glocaldirectorymonitor.[ch]:
2051 Update for the removed GDirectoryMonitor.
2053 * gmemoryoutputstream.c:
2054 Remove ununsed variable
2056 2008-01-07 Alexander Larsson <alexl@redhat.com>
2058 * gmemoryinputstream.c:
2059 Translate error strings
2062 * gmemoryoutputstream.[ch]:
2063 New implementation that avoids using GByteArray
2064 in implementation and API. (#506377)
2066 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2068 * tests/*: Add a test for memory input streams.
2070 * Makefile.am: Add tests to SUBDIRS.
2072 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2074 * glocalfilemonitor.c:
2075 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2078 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2080 * gdesktopappinfo.c: Fix a docs typo.
2082 * gfileattribute.c: Add information about extended attributes
2083 to the documentation. (#505058)
2085 2008-01-04 Alexander Larsson <alexl@redhat.com>
2088 * gmountoperation.c:
2089 Use the right type (uint) for the ask_password signal.
2091 2008-01-04 Alexander Larsson <alexl@redhat.com>
2096 Add g_app_info_supports_files()
2097 Remove desktop arg from g_app_info_should_show().
2099 * gdesktopappinfo.[ch]:
2100 Implement g_app_info_supports_files() and new should_show()
2101 Add g_desktop_app_info_set_desktop_env() to set the desktop
2102 for should_show(). (This will be set by gtk+ later)
2104 2008-01-04 Alexander Larsson <alexl@redhat.com>
2107 * gmemoryinputstream.[ch]:
2108 Improve API so that you can use multiple chunks
2109 of memory and custom destroy functions. (#506374)
2111 2008-01-03 Alexander Larsson <alexl@redhat.com>
2114 Handle NULL attribute matchers safely, as we return this
2115 for empty attribute matcher strings.
2117 2008-01-03 Alexander Larsson <alexl@redhat.com>
2119 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2120 Add /usr/local to list of internal mountpoints
2122 2008-01-03 Alexander Larsson <alexl@redhat.com>
2125 Check for HAVE_LCHOWN (#505887)
2127 2008-01-03 Alexander Larsson <alexl@redhat.com>
2131 Add define for selinux context attribute.
2132 Fix missing : -> :: namespace separator change
2133 Fix missing _ -> - name change for xattr-sys.
2136 2008-01-03 Alexander Larsson <alexl@redhat.com>
2139 Link to libglib and libgobject directly (#504879)
2140 Patch from Sebastien Bacher
2142 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2144 * gfile.c: Expanded the g_file_new_for_commandline_arg
2145 description a bit, based on the code and the docs of the
2146 other g_file_new_for_* functions.
2148 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2150 * gfilemonitor.h: Fixed typo in docs.
2152 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2154 Updates to GIO documentation. (#506395, Mikael Hermansson)
2156 * gcontenttype.c: Describe memory management for return value of
2157 g_content_types_get_registered(). Missing piece from #505815.
2158 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2159 GVolume, GDrive, GMounts, which hopefully gives the user less
2160 confusions when using this API. Following explainations from
2161 Alexander Larsson on gtk-devel-list.
2163 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2165 * gfileinfo.c: Expand the long description.
2167 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2170 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2171 fix builds with --disable-visibility. (#500273, Christian Persch)
2173 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2175 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2176 in the list of returned app infos.
2178 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2180 * gappinfo.c: Fix a cross-reference
2182 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2184 * gfileinputstream.c:
2185 * gfileoutputstream.c:
2189 * gdesktopappinfo.c:
2191 * gfileinfo.c: Documentation updates.
2193 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2195 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2198 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2200 * gcontenttype.c (g_content_types_get_registered): Don't return
2201 freed memory (#505815, Mikael Hermansson)
2203 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2205 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2206 used to detect statbuf->st_blocks. (#505042)
2208 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2210 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2211 environment handling. (#504829, Cosimo Cecchi)
2213 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2215 * gappinfo.c: Doc improvements
2217 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2220 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2222 * === Released 2.15.0 ===
2224 2007-12-20 Hans Breuer <hans@breuer.org>
2226 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2227 with symbols gwin32appinfo.obj, added gmount.obj
2228 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2230 2007-12-20 Alexander Larsson <alexl@redhat.com>
2236 * gfilenamecompleter.c:
2239 * gpollfilemonitor.c:
2240 File attribute renames:
2242 fs:: -> filesystem::
2243 id::fs -> id::filesystem
2245 2007-12-20 Alexander Larsson <alexl@redhat.com>
2254 Add GMountUnmountFlags to all unmount and
2256 Add g_mount_remount() call.
2258 2007-12-20 Alexander Larsson <alexl@redhat.com>
2260 * gvfs.c (get_default_vfs):
2261 Fix unused variable warning
2263 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2265 * pltcheck.sh: Update
2267 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2269 * gunionvolumemonitor.c:
2270 * gunixmount.c: Remove C99 comments
2272 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2274 * gio.symbols: Add some missing symbols
2276 2007-12-19 Alexander Larsson <alexl@redhat.com>
2279 Make g_io_modules_load_all_in_directory not unuse
2280 loaded modules so that users of it can do stuff
2282 Init internal "module" types.
2283 Initialize static prio and name for types so that
2284 we don't have to load modules to get it.
2286 * gnativevolumemonitor.h:
2288 Move is_supported to parent class so that
2289 non-native monitors can avoid being initialized
2290 too. (For instance GDaemonVolumeMonitor if we're
2291 not using GDaemonVfs.)
2293 * glocaldirectorymonitor.[ch]:
2294 * glocalfilemonitor.[ch]:
2295 * gunionvolumemonitor.c:
2296 * gunixvolumemonitor.c:
2298 Find plugins using the static prio+name to
2299 avoid unnecessarily loading the modules.
2301 2007-12-19 Alexander Larsson <alexl@redhat.com>
2306 2007-12-19 Alexander Larsson <alexl@redhat.com>
2308 * gunionvolumemonitor.c:
2309 Store the native type as GType, not class so that
2310 we can unload it. But still avoid unnecessarily
2313 2007-12-19 David Zeuthen <davidz@redhat.com>
2315 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2316 add signals 'disconnected' and 'eject-button' on GDrive. Add
2317 signal 'removed' on GVolume and 'unmounted' on GMount.
2319 * gdrive.c: (g_drive_base_init):
2321 * gfile.c: (g_file_mount_mountable),
2322 (g_file_mount_enclosing_volume):
2325 * gmount.c: (g_mount_base_init):
2327 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2328 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2329 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2333 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2335 * *.c: Fix up includes in the section docs.
2337 2007-12-17 Alexander Larsson <alexl@redhat.com>
2339 * gnativevolumemonitor.h:
2340 * gunionvolumemonitor.c:
2341 * gunixvolumemonitor.c:
2342 Add is_supported() to GNativeVolumeMonitorClass so
2343 that we can avoid having to create an object to see
2344 if the backend is supported at runtime.
2345 Also add name member and an env var to pick a specific
2346 volume monitor backend.
2350 Add cancellable to _g_mount_get_for_mount_path()
2352 * glocaldirectorymonitor.c:
2353 * glocalfilemonitor.c:
2354 Avoid loading and unloading modules while sorting.
2356 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2359 * gunixmounts.[hc]: Namespace waste reduction, move some
2360 g_get_unix_mount functions to the g_unix_mount namespace.
2363 * gunixvolumemonitor.c:
2365 * glocaldirectorymonitor.c: Update all callers.
2367 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2369 2007-12-17 Alexander Larsson <alexl@redhat.com>
2372 Add doc comments about what GFile operations are
2373 guaranteed to not block.
2375 2007-12-17 Alexander Larsson <alexl@redhat.com>
2378 Add missing #ifdef fixing OSX build.
2379 (#503334, patch from Richard Hult)
2381 2007-12-14 David Zeuthen <davidz@redhat.com>
2385 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2386 (g_mount_eject), (g_mount_eject_finish):
2388 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2389 (get_volume_for_uuid), (get_mount_for_uuid),
2390 (g_union_volume_monitor_class_init),
2391 (get_default_native_type_with_exclude), (get_default_native_type),
2392 (get_native_type), (update_native_type),
2393 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2394 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2395 (g_unix_mount_can_eject), (eject_unmount_cb),
2396 (eject_unmount_read_error), (eject_unmount_do),
2397 (g_unix_mount_unmount), (g_unix_mount_eject),
2398 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2399 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2400 (g_unix_mount_point_guess_can_eject):
2402 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2403 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2404 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2405 (g_unix_volume_mount), (g_unix_volume_eject),
2406 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2407 * gunixvolumemonitor.c: (get_volume_for_uuid),
2408 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2410 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2411 (g_volume_eject), (g_volume_eject_finish):
2413 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2414 (g_volume_monitor_get_mount_for_uuid):
2417 Provide eject() on both GMount and GVolume and utility functions
2418 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2419 ejected. Introduce the concept of UUID's and wire it into GVolume
2420 and GMount and provide API on GVolumeMonitor to find such
2421 instances. Also handle the case where an external
2422 GNativeVolumeMonitor fails to initialize. Lock around the
2423 _g_get_mount_for_mount_path() function such that volume monitor
2424 implementations won't have to do locking themselves.
2426 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2428 * gdesktopappinfo.c:
2434 * gvolume.h: Documentation updates
2436 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2439 * gfile.h: Doc updates
2441 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2444 * gdesktopappinfo.c: Use hash table iterators.
2446 2007-12-14 Alexander Larsson <alexl@redhat.com>
2449 * gfileattribute.[ch]:
2450 * gfileattribute-priv.h:
2451 Move GFileAttributeValue to a private header, as
2455 Make set_attribute take a type + a pointer instead
2456 of a GFileAttributeValue.
2459 Fix up for above changes.
2460 Add g_file_info_get_attribute_data to get
2461 all info in one call, g_file_info_get_attribute_status
2462 to get the status and g_file_info_get_attribute_as_string.
2466 * glocalfileinfo.[ch]:
2470 Make _guess_type static.
2472 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2475 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2476 made mkenums and friends use temporary files to avoid leaving
2477 empty generated files on failure (#503470).
2479 2007-12-14 Alexander Larsson <alexl@redhat.com>
2481 * gmountoperation.h:
2484 2007-12-14 Alexander Larsson <alexl@redhat.com>
2488 * gfileattribute.[ch]:
2491 * glocalfileoutputstream.c:
2492 * gmountoperation.[ch]:
2493 * goutputstream.[ch]:
2494 Clean up all flags enums to not have _FLAGS in them
2495 Make the names of some of the enums better.
2500 2007-12-14 Michael Natterer <mitch@imendio.com>
2502 * gio.symbols: fix g_io_scheduler symbol names.
2504 2007-12-14 Alexander Larsson <alexl@redhat.com>
2510 * gbufferedinputstream.h:
2511 * gbufferedoutputstream.h:
2514 * gdatainputstream.h:
2515 * gdataoutputstream.h:
2516 * gdesktopappinfo.h:
2517 * gdirectorymonitor.h:
2521 * gfileenumerator.h:
2524 * gfileinputstream.h:
2526 * gfilenamecompleter.h:
2527 * gfileoutputstream.h:
2528 * gfilterinputstream.h:
2529 * gfilteroutputstream.h:
2537 * gmemoryinputstream.h:
2538 * gmemoryoutputstream.h:
2540 * gmountoperation.h:
2543 * gsimpleasyncresult.h:
2545 * gunixinputstream.h:
2547 * gunixoutputstream.h:
2551 * inotify/Makefile.am:
2552 Only allow including <gio/gio.h> from apps
2554 2007-12-14 Alexander Larsson <alexl@redhat.com>
2556 * gioscheduler.[ch]:
2557 * gsimpleasyncresult.c:
2558 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2559 Split out the send_to_mainloop call into two versions instead
2560 of having the block argument.
2562 2007-12-13 Alexander Larsson <alexl@redhat.com>
2564 * gcancellable.[ch]:
2566 * gbufferedinputstream.c:
2567 * gfileenumerator.c:
2568 * gfileinputstream.c:
2569 * gfileoutputstream.c:
2573 g_push/pop_current_cancellable ->
2574 g_cancellable_push/pop_current
2576 2007-12-13 Alexander Larsson <alexl@redhat.com>
2580 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2582 2007-12-13 Alexander Larsson <alexl@redhat.com>
2584 * gmountoperation.h:
2585 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2587 2007-12-12 Alexander Larsson <alexl@redhat.com>
2590 Fix race condition when freeing proxy in
2591 g_io_job_send_to_mainloop().
2593 2007-12-12 Alexander Larsson <alexl@redhat.com>
2599 Make attribute namespace separator "::" instead of ":".
2600 Use - instead of _ as separator in attribute names.
2602 2007-12-12 Alexander Larsson <alexl@redhat.com>
2604 * gbufferedinputstream.h:
2605 * gbufferedoutputstream.h:
2606 * gdatainputstream.h:
2607 * gdataoutputstream.h:
2608 * gdirectorymonitor.h:
2609 * gfileenumerator.h:
2610 * gfileinputstream.h:
2612 * gfileoutputstream.h:
2613 * gfilterinputstream.h:
2614 * gfilteroutputstream.h:
2616 * glocalfileinputstream.h:
2617 * glocalfileoutputstream.h:
2618 * gmemoryinputstream.h:
2619 * gmemoryoutputstream.h:
2620 * gnativevolumemonitor.h:
2622 * gunixinputstream.h:
2623 * gunixoutputstream.h:
2626 s/parent/parent_instance/ in GObjects
2628 2007-12-12 Alexander Larsson <alexl@redhat.com>
2633 No need for padding for interfaces
2635 2007-12-12 Alexander Larsson <alexl@redhat.com>
2639 * gbufferedinputstream.c:
2640 * gbufferedoutputstream.c:
2643 * gdatainputstream.[ch]:
2644 * gdesktopappinfo.c:
2645 * gdirectorymonitor.c:
2647 * gfileattribute.[ch]:
2650 * gfileinputstream.h:
2651 * gfilemonitor.[ch]:
2652 * gfileoutputstream.[ch]:
2653 * gfilterinputstream.h:
2654 * gfilteroutputstream.h:
2657 * gloadableicon.[ch]:
2658 * gmemoryinputstream.c:
2659 * gmountoperation.c:
2661 Fix up a bunch of details in the docs.
2666 2007-12-11 David Zeuthen <davidz@redhat.com>
2668 Rework how volumes, drives and volume monitoring is
2669 done. Previosly the model was
2671 GDrive <1-1> GVolume
2673 where a GDrive instance represented a mount point and a GVolume
2674 instance represented a mounted file system. This patch changes it
2677 GDrive <1-N> GVolume <1-1> GMount
2679 where GMount now serves the purpose of the old GVolume and the new
2680 GVolume serves the purpose of the old GDrive. In addition the new
2681 GDrive interface is used to represent a collection of GVolume
2682 instances (typically partitions) and also contains utility to query
2683 the state of the physical drive the GDrive object represents (such
2684 as checking for media, polling the drive, ejecting the media etc.).
2686 Also implement mounting and unmounting in the Unix volume monitor
2687 backend. A subquent patch will introduce GDrive support for ejection
2691 * gdrive.c: (g_drive_is_media_check_automatic),
2692 (g_drive_is_media_removable), (g_drive_has_media),
2693 (g_drive_can_poll_for_media), (g_drive_eject),
2694 (g_drive_eject_finish), (g_drive_poll_for_media),
2695 (g_drive_poll_for_media_finish):
2697 * gfile.c: (g_file_find_enclosing_mount):
2700 * glocaldirectorymonitor.c:
2701 (g_local_directory_monitor_constructor), (mounts_changed):
2702 * glocalfile.c: (get_mount_info),
2703 (g_local_file_find_enclosing_mount),
2704 (g_local_file_file_iface_init):
2705 * gnativevolumemonitor.h:
2706 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2707 (get_connected_drives), (g_union_volume_monitor_class_init),
2708 (child_volume_added), (child_volume_removed),
2709 (child_volume_changed), (child_mount_added), (child_mount_removed),
2710 (child_mount_pre_unmount), (child_mount_changed),
2711 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2712 (g_union_volume_monitor_remove_monitor),
2713 (_g_mount_get_for_mount_path):
2714 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2715 (guess_system_internal), (_g_get_unix_mounts),
2716 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2717 (g_unix_mount_free), (g_unix_mount_compare),
2718 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2719 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2720 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2721 (type_to_icon), (g_unix_mount_guess_name),
2722 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2723 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2724 (_resolve_symlink), (_resolve_dev_root):
2726 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2727 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2728 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2729 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2730 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2731 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2732 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2733 (g_unix_volume_volume_iface_init):
2735 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2736 (get_mounts), (get_volumes), (get_connected_drives),
2737 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2738 (mountpoints_changed), (mounts_changed),
2739 (g_unix_volume_monitor_init),
2740 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2741 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2742 * gunixvolumemonitor.h:
2743 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2744 (g_volume_mount), (g_volume_mount_finish):
2746 * gvolumemonitor.c: (g_volume_monitor_class_init),
2747 (g_volume_monitor_get_connected_drives),
2748 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2751 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2753 * gmountoperation.h (GPasswordFlags): Close the gap
2755 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2757 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2759 * gdesktopappinfo.[hc]: Remove _-prefixes
2761 2007-12-10 Tor Lillqvist <tml@novell.com>
2763 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2766 2007-12-10 Alexander Larsson <alexl@redhat.com>
2768 * gfile.c (g_file_set_display_name):
2769 Don't hardcode '/' (#502727)
2771 2007-12-09 Hans Breuer <hans@breuer.org>
2773 * makefile.msc : follow lib naming convention
2774 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2775 for user and group name, tested with ../tests/gio-ls
2777 2007-12-09 A. Walton <awalton@svn.gnome.org>
2779 * gdesktopappinfo.c:
2785 * gfileenumerator.c:
2790 * gmemoryinputstream.c:
2791 * gmemoryoutputstream.c:
2793 * gsimpleasyncresult.c:
2794 More documentation cleanup and filling in missing information, bringing
2795 GIO to 99% symbol coverage.
2797 2007-12-08 Hans Breuer <hans@breuer.org>
2799 [gio compiles and links on win32, not sure how much already works]
2800 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2801 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2802 base on win32 API; prefer g_lstat() over lstat(); instead of
2803 localtime_r() use an all GLib implementation on win32;
2804 get_mount_info() still needs a win32 specifc implementation
2805 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2806 win32_get_file_user_info to get owner/group info without uid/gid
2807 * glocalfileinputstream.c : include <io.h> on win32
2808 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2809 definition, use g_win32_ftruncate() for G_OS_WIN32
2810 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2811 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2812 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2813 * makefile.msc : updated
2815 2007-12-07 Alexander Larsson <alexl@redhat.com>
2817 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2818 Avoid warning spew if error == NULL
2820 2007-12-07 Alexander Larsson <alexl@redhat.com>
2823 Update docs wrt etags
2825 2007-12-06 Alexander Larsson <alexl@redhat.com>
2828 Include sys/types.h for dev_t (#501919)
2830 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2834 Make abicheck and pltcheck pass.
2836 2007-12-05 Alexander Larsson <alexl@redhat.com>
2839 * giomodule-priv.h: Added.
2840 * glocaldirectorymonitor.c:
2841 * glocalfilemonitor.c:
2842 * gunionvolumemonitor.c:
2844 Actually add the declaration of _g_io_modules_ensure_loaded
2846 2007-12-05 Alexander Larsson <alexl@redhat.com>
2848 * gdatainputstream.c:
2853 * glocaldirectorymonitor.c:
2854 * glocalfilemonitor.c:
2855 * gunionvolumemonitor.c:
2857 Make g_io_modules_ensure_loaded a private function and
2858 don't pass in the dirname. This means we can do magic
2859 directory finding in the win32 version.
2860 Export the actual load-modules-in-directory code so that
2861 gvfs can reuse that.
2863 2007-12-05 Alexander Larsson <alexl@redhat.com>
2865 * gbufferedinputstream.c:
2866 * gbufferedoutputstream.c:
2869 * gfileenumerator.[ch]:
2870 * gfileinputstream.c:
2871 * gfileoutputstream.[ch]:
2872 * gfilterinputstream.c:
2873 * gfilteroutputstream.c:
2874 * ginputstream.[ch]:
2876 * glocalfileenumerator.c:
2877 * glocalfileinputstream.c:
2878 * glocalfileoutputstream.c:
2879 * gmemoryinputstream.c:
2880 * gmemoryoutputstream.c:
2881 * goutputstream.[ch]:
2884 * gunixinputstream.c:
2885 * gunixoutputstream.c:
2886 Rename all struct members named:
2887 read, write, close, truncate, or mount
2888 to foo_fn, as these are reserved names
2889 and could be defined as macros in libc.
2892 2007-12-04 Alexander Larsson <alexl@redhat.com>
2895 (g_output_stream_close):
2896 Only call flush if non-null.
2898 2007-11-30 Dan Winship <danw@gnome.org>
2900 * ginputstream.c (g_input_stream_set_pending): Make this take a
2901 GError and return a gboolean, and do the "outstanding operation"
2902 check (and the "stream is already closed" check) itself.
2903 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2905 * goutputstream.c (g_output_stream_set_pending)
2906 (g_output_stream_clear_pending): Likewise
2908 * gbufferedinputstream.c:
2909 * gfileinputstream.c:
2910 * gfileoutputstream.c: Update for that
2912 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2913 Like g_simple_async_report_error_in_idle, but takes a GError
2914 rather than building one.
2916 2007-11-30 Dan Winship <danw@gnome.org>
2918 * goutputstream.c: Don't cheat and unset the "pending" flag around
2919 inner calls. Instead, call the class method directly rather than
2920 the wrapper function that checks "pending"
2922 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2924 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2926 2007-12-03 Hans Breuer <hans@breuer.org>
2928 [start of port to win32/msvc]
2929 * gcancellable.c : HAVE_UNIST_H and _pipe()
2930 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2931 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2932 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2934 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2935 * glocalvfs.c : use HAVE_PWD_H
2936 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2937 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2938 * Makefile.am : added to EXTRA_DIST
2940 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2942 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2945 2007-12-03 Alexander Larsson <alexl@redhat.com>
2948 Handle OSX style xattrs API (#500506)
2950 2007-12-03 Alexander Larsson <alexl@redhat.com>
2954 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2956 2007-12-02 A. Walton <awalton@svn.gnome.org>
2960 Documentation accuracy fixes.
2962 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2964 * gioenumtypes.c.template: Fix typo.
2966 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2968 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2970 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2972 * gdirectorymonitor.c:
2973 * gfilemonitor.c: Add properties
2975 * gbufferedoutputstream.c: Don't mark buffer-size property
2978 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2980 * gbufferedoutputstream.c: Add auto-grow property.
2982 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2984 * *.c: Unify the capitalization of section headings.
2986 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2988 * gmountoperation.c: Add properties
2990 * gdatainputstream.c: Turn byte-order and newline-type into
2993 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2995 * gioenumtypes.[hc].template: Templates for enum registration
2997 * Makefile.am: Generate gioenumtypes.[hc]
2999 * gio.h: Include gioenumtypes.h
3001 * gfile.h: Add some explicit nicks.
3003 * gio.symbols: Add new symbols
3005 * pltcheck.sh: Adjust
3007 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3009 * *.c: Explain etags and link to the explanation
3011 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3013 * *.c: Explain I/O priority.
3015 * *.c: More coding style fixes.
3017 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3019 * gasyncresult.c: Add another paragraph to the intro,
3020 adjust coding style of example.
3022 2007-11-29 A. Walton <awalton@svn.gnome.org>
3025 Fixes unknown meaning in GAppLaunchContext docs.
3027 Clarify asynchronous ops.
3029 Fix entity tag docs.
3032 Provides missing gtk-doc section, fixes API docs slighly.
3033 * gsimpleasyncresult.c:
3034 Fill in missing info in docs.
3035 * gunixinputstream.c:
3036 * gunixoutputstream.c:
3037 Be more expressive in short description.
3039 Remove gtk-doc stubs for non-public API.
3041 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3043 * *.c: Coding style fixups
3045 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3047 * inotify/inotify-helper.c: Don't export the lock from libgio.
3049 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3052 * abicheck.sh: Fix copy-and-paste leftovers
3054 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3056 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3058 2007-11-28 Alexander Larsson <alexl@redhat.com>
3062 Removed unnecessary file
3064 * gdesktopappinfo.[ch]:
3067 * glocaldirectorymonitor.[ch]:
3069 * glocalfileenumerator.[ch]:
3070 * glocalfileinputstream.[ch]:
3071 * glocalfilemonitor.[ch]:
3072 * glocalfileoutputstream.[ch]:
3074 * gnativevolumemonitor.c:
3075 * gpollfilemonitor.[ch]:
3076 * gunionvolumemonitor.[ch]:
3079 * gunixvolumemonitor.[ch]:
3082 * inotify/ginotifydirectorymonitor.[ch]:
3083 * inotify/ginotifyfilemonitor.[ch]:
3084 * inotify/inotify-helper.c:
3085 Append _ to all internal functions
3089 Export symbols needed for modules
3091 2007-11-28 Alexander Larsson <alexl@redhat.com>
3094 * abicheck.sh: Added.
3095 * makegioalias.pl: Added.
3096 * pltcheck.sh: Added.
3097 * gio.symbols: Added.
3100 Initial work on adding symbol handling.
3103 Correct ifdef guard name
3106 * inotify/Makefile.am:
3107 * xdgmime/Makefile.am:
3108 Include toplevel Makefile.decl
3110 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3112 * gcontenttype.c: Move doc comments to the unix section.
3114 * *.[hc]: More trivial doc corrections.
3116 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3118 * gpollfilemonitor.c:
3122 * gdesktopappinfo.c:
3127 * gdatainputstream.c:
3128 * gdatainputstream.h:
3129 * gdataoutputstream.c:
3130 * gdataoutputstream.h:
3131 * gfileinfo.h: Doc cleanups
3133 2007-11-28 Andre Klapper <a9016009@gmx.de>
3135 * gdesktopappinfo.c: Fix a typo.
3137 2007-11-27 Andre Klapper <a9016009@gmx.de>
3139 * glocalfileoutputstream.c: Fix a typo.
3141 2007-11-27 Alexander Larsson <alexl@redhat.com>
3144 Don't include removed headers
3146 2007-11-27 Alexander Larsson <alexl@redhat.com>
3149 * gsocketinputstream.[ch]: Removed.
3150 * gsocketoutputstream.[ch]: Removed.
3151 * gunixinputstream.[ch]: Added.
3152 * gunixoutputstream.[ch]: Added.
3153 Renamed GSocket*Stream to GUnix*Stream and made
3154 it unix-only, since its not really only for sockets
3155 and it only works on unix (but is highly useful there).
3157 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3163 * gbufferedinputstream.c:
3164 * gbufferedinputstream.h:
3165 * gbufferedoutputstream.c:
3166 * gbufferedoutputstream.h:
3170 * gdatainputstream.c:
3171 * gdatainputstream.h:
3172 * gdataoutputstream.c:
3173 * gdataoutputstream.h:
3174 * gdirectorymonitor.c:
3175 * gdirectorymonitor.h:
3182 * gfileenumerator.c:
3183 * gfileenumerator.h:
3188 * gfileinputstream.c:
3189 * gfileinputstream.h:
3192 * gfilenamecompleter.c:
3193 * gfilenamecompleter.h:
3194 * gfileoutputstream.c:
3195 * gfileoutputstream.h:
3196 * gfilterinputstream.c:
3197 * gfilterinputstream.h:
3198 * gfilteroutputstream.c:
3199 * gfilteroutputstream.h:
3212 * glocalfileoutputstream.c:
3213 * gmemoryinputstream.c:
3214 * gmemoryinputstream.h:
3215 * gmemoryoutputstream.c:
3216 * gmemoryoutputstream.h:
3217 * gmountoperation.c:
3218 * gmountoperation.h:
3221 * gpollfilemonitor.c:
3224 * gsimpleasyncresult.c:
3225 * gsimpleasyncresult.h:
3226 * gsocketinputstream.c:
3227 * gsocketinputstream.h:
3228 * gsocketoutputstream.c:
3229 * gsocketoutputstream.h:
3236 * gunixvolumemonitor.c:
3245 Bumps documentation to 93% symbol coverage, touching most
3246 of the public files. Fixes broken function documentation prototypes.
3247 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3248 gtk-doc headers in private files.
3250 2007-11-27 Jürg Billeter <j@bitron.ch>
3252 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3253 (g_buffered_input_stream_read_byte):
3254 * gbufferedinputstream.h:
3255 New functions for efficient access to buffer and simple single byte
3258 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3259 (g_data_input_stream_read_until):
3260 * gdatainputstream.h:
3261 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3262 read_until with multiple stop chars.
3264 2007-11-27 Alexander Larsson <alexl@redhat.com>
3268 * inotify/Makefile.am:
3269 Use the user-specified giomoduledir
3271 2007-11-27 Alexander Larsson <alexl@redhat.com>
3275 Add catch-all gio.h header
3276 Don't install gdummyfile.h
3278 2007-11-26 Alexander Larsson <alexl@redhat.com>
3280 * Makefile.am (gioinclude_HEADERS):
3281 Remove trailing whitespace
3283 2007-11-26 Alexander Larsson <alexl@redhat.com>
3285 Merge gio-standalone into glib
3287 2007-11-25 Christian Kellner <gicmo@gnome.org>
3289 * gio/goutputstream.c:
3290 Fix small mistake in the docs.
3292 2007-11-21 Christian Persch <chpe@gnome.org>
3294 * gio/glocalfile.c: (g_local_file_trash):
3295 Convert filenames to UTF-8 for GError.
3296 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3297 as per xdg base dir spec.
3299 2007-11-21 Christian Persch <chpe@gnome.org>
3301 * gio/gdesktopappinfo.c:
3302 Use that g_key_file_to_data cannot fail.
3304 Use stock defines for the key file group and key names.
3307 2007-11-21 Alexander Larsson <alexl@redhat.com>
3310 (copy_stream_with_progress):
3311 Make sure we do a final progress callback with
3312 the full total size.
3314 2007-11-21 Alexander Larsson <alexl@redhat.com>
3317 Export g_file_copy_attributes
3318 Remove padding as its not needed for interfaces
3320 2007-11-20 Alexander Larsson <alexl@redhat.com>
3325 Add G_IO_ERROR_WOULD_MERGE for
3326 copy/move dir on dir with overwrite.
3328 2007-11-20 Alexander Larsson <alexl@redhat.com>
3331 * gio/glocalfileinfo.c:
3332 Add COPY_NAME (this is an optional
3333 non-modified utf8 version of the name) that
3336 2007-11-20 Alexander Larsson <alexl@redhat.com>
3338 * gio/glocalfileenumerator.c:
3339 Report errors as GIOError, not GFileError
3341 2007-11-16 Alexander Larsson <alexl@redhat.com>
3343 * gio/glocalfileoutputstream.c:
3344 * gio/gwin32appinfo.c:
3345 Fix typos in strings.
3346 Patch from Luca Ferretti <elle.uca@libero.it>
3348 2007-11-15 Alexander Larsson <alexl@redhat.com>
3351 Post release version bump
3353 === gio-standalone 0.1.2 ===
3355 2007-11-15 Alexander Larsson <alexl@redhat.com>
3357 * docs/reference/gio/Makefile.am:
3358 Fix up distcheck by removing weird
3364 2007-11-14 Alexander Larsson <alexl@redhat.com>
3366 * gio/gdesktopappinfo.c:
3367 * gio/glocaldirectorymonitor.c:
3369 * gio/glocalfileinfo.c:
3370 * gio/inotify/inotify-sub.c:
3371 * programs/gio-cat.c:
3372 * programs/gio-copy.c:
3373 * programs/gio-info.c:
3374 * programs/gio-ls.c:
3375 * programs/gio-monitor-dir.c:
3376 * programs/gio-monitor-file.c:
3377 * programs/gio-mount.c:
3378 * programs/gio-move.c:
3379 * programs/gio-rm.c:
3380 * programs/gio-save.c:
3381 * programs/gio-trash.c:
3382 Leak fixes from Kjartan Maraas
3384 2007-11-14 Alexander Larsson <alexl@redhat.com>
3386 * gio/fam/fam-helper.c:
3388 * gio/glocalfileinfo.c:
3392 * gio/inotify/inotify-diag.c:
3393 * gio/inotify/inotify-kernel.c:
3394 Various code cleanups from Kjartan Maraas
3396 2007-11-14 Alexander Larsson <alexl@redhat.com>
3398 * gio/gioscheduler.c:
3400 Set up threadpool so that we cache 2 unused
3401 idle threads for at 15 secs. This means we
3402 will reuse thread-local data (like dbus connections)
3405 2007-11-14 Alexander Larsson <alexl@redhat.com>
3407 * gio/fam/fam-helper.c:
3408 * gio/fam/gfamdirectorymonitor.c:
3409 * gio/fam/gfamfilemonitor.c:
3411 * gio/gcontenttype.c:
3412 * gio/gdatainputstream.c:
3413 * gio/gdataoutputstream.c:
3417 * gio/gfileattribute.h:
3418 * gio/gfileenumerator.c:
3420 * gio/ginputstream.c:
3423 * gio/glocalfileinfo.c:
3424 * gio/goutputstream.c:
3425 * gio/gpollfilemonitor.c:
3426 * gio/gsimpleasyncresult.c:
3427 * gio/gunixmounts.c:
3428 * gio/gunixmounts.h:
3429 * gio/inotify/ginotifydirectorymonitor.c:
3430 * gio/inotify/ginotifyfilemonitor.c:
3431 * gio/inotify/inotify-diag.c:
3432 * gio/inotify/inotify-kernel.c:
3433 * gio/inotify/inotify-path.c:
3435 * gio/test-streams.c:
3436 * programs/gio-info.c:
3437 * programs/gio-monitor-dir.c:
3438 * programs/gio-monitor-file.c:
3439 Various code cleanups from Kjartan Maraas
3441 2007-11-13 Alexander Larsson <alexl@redhat.com>
3444 Handle the uri-scheme calls for dummy files
3446 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3448 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3449 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3450 to avoid clash with the C++ keyword.
3452 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3454 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3455 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3457 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3459 * gio/glocaldirectorymonitor.c:
3460 * gio/glocalfilemonitor.c:
3461 * gio/gunionvolumemonitor.c:
3462 Don't use g_once_init_*() for initializations that could fail and
3463 could leave the initialization variable set to 0 but use GOnce.
3464 This prevents a deadlock on the second call when trying to create
3465 a monitor and no monitor type is available. Thanks to Sven Herzberg
3468 2007-11-11 Sven Herzberg <sven@imendio.com>
3470 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3471 #ifdef (make it work on MacOS X again)
3473 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3475 Fixes Changelog for last two commits (sorry guys).
3477 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3479 * gio/gbufferedinputstream.c:
3480 * gio/gdatainputstream.c:
3482 * gio/gfileoutputstream.c:
3483 * gio/gfilterinputstream.c:
3484 * gio/glocalfileinputstream.c:
3487 More consistency fixes in g*stream.c files.
3488 Significant clean of gfile's documentation, filling in of
3489 asynchronous operations documentation.
3491 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3493 * gio/gasyncresult.c:
3494 * gio/gbufferedinputstream.c:
3495 * gio/gbufferedoutputstream.c:
3496 * gio/gcancellable.c:
3497 * gio/gcontenttype.c:
3498 * gio/gdatainputstream.c:
3499 * gio/gdataoutputstream.c:
3500 * gio/gdesktopappinfo.c:
3503 * gio/gfileattribute.c:
3504 * gio/gio/gfileenumerator.c:
3506 * gio/gfileinputstream.c:
3507 * gio/gfilemonitor.c:
3508 * gio/gfileoutputstream.c:
3509 * gio/ginputstream.c:
3511 * gio/gioscheduler.c:
3512 * gio/gloadableicon.c:
3513 * gio/glocalfileoutputstream.c:
3514 * gio/gmemoryoutputstream.c:
3515 * gio/gmountoperation.c:
3516 * gio/goutputstream.c:
3518 * gio/gsimpleasyncresult.c:
3519 * gio/gunionvolumemonitor.c:
3520 * gio/gunixmounts.c:
3521 * gio/gunixvolume.c:
3525 * gio/gvolumemonitor.c:
3526 Updated documentation stubs, working towards consistency and
3529 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3531 * gio/gmemoryoutputstream.c:
3532 * gio/gmemoryoutputstream.h:
3533 Change g_memory_output_stream_set_free_on_close() to
3534 g_memory_output_stream_set_free_data() as this makes more sense and
3535 is more consistent with GMemoryInputStream.
3537 2007-11-07 Alexander Larsson <alexl@redhat.com>
3544 Change how we find the default vfs so that
3545 we can handle a gvfs failing to init
3547 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3549 * gio/gbufferedoutputstream.c:
3550 * gio/gdatainputstream.c:
3551 * gio/gdataoutputstream.c:
3552 * gio/gfileinputstream.c:
3553 * gio/gfileoutputstream.c:
3554 * gio/gfilterinputstream.c:
3555 * gio/gfilteroutputstream.c:
3556 * gio/ginputstream.c:
3557 * gio/gmemoryinputstream.c:
3558 * gio/gmemoryoutputstream.c:
3559 * gio/goutputstream.c:
3560 * gio/gsimpleasyncresult.c:
3561 * gio/gsocketinputstream.c:
3562 * gio/gsocketoutputstream.c:
3563 Add guards to the remaining public functions, add a TODO for
3564 an unimplemented function and remove some useless guards.
3566 2007-11-07 Alexander Larsson <alexl@redhat.com>
3569 Autoconf checks for the various types of
3570 getpwuid_r and getgrgid_r
3572 * gio/glocalfileinfo.c:
3573 Use the autoconf checks from above
3575 2007-11-07 Alexander Larsson <alexl@redhat.com>
3578 (g_local_file_query_filesystem_info):
3579 Some fixes for the statvfs case
3581 2007-11-07 Alexander Larsson <alexl@redhat.com>
3584 (g_local_file_query_filesystem_info):
3585 Pick the "best" of statfs / statvfs for the system
3586 if both are availible.
3588 2007-11-07 Alexander Larsson <alexl@redhat.com>
3590 Solaris fixes from Halton.Huo@Sun.COM:
3597 * gio/glocalfileinfo.c:
3598 Fix for solaris definition of getpwuid_r
3600 * gio/test-streams.c:
3601 Use G_GNUC_PRETTY_FUNCTION
3603 2007-11-07 Alexander Larsson <alexl@redhat.com>
3605 * gio/gdesktopappinfo.c:
3606 (update_default_list):
3607 Remove double semicolon.
3608 Patch from Jens Granseuer
3610 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3612 * docs/reference/gio/gio-sections.txt:
3613 * gio/gbufferedinputstream.c:
3614 * gio/gbufferedinputstream.h:
3615 * gio/gdatainputstream.c:
3616 * gio/gfileenumerator.c:
3617 * gio/gioscheduler.c:
3618 * gio/gunionvolumemonitor.c:
3620 * programs/gio-save.c:
3621 Fix typo: availible -> available. Unfortuntely this breaks API
3622 and ABI as g_buffered_input_stream_get_available() was renamed.
3624 * gio/gunixmounts.c:
3625 * gio/gbufferedinputstream.c:
3626 Add guards for public functions.
3628 2007-11-06 Ross Burton <ross@openedhand.com>
3630 * docs/reference/gio/Makefile.am:
3631 Fix invalid += usage which automake 1.10 doesn't like.
3633 2007-11-06 Alexander Larsson <alexl@redhat.com>
3636 (g_app_launch_context_class_init):
3639 Patch from Ross Burton
3641 2007-11-06 Alexander Larsson <alexl@redhat.com>
3644 Post release version bump
3646 === gio-standalone 0.1.1 ===
3648 2007-11-06 Alexander Larsson <alexl@redhat.com>
3651 Bump version to 0.1.1
3653 * gio/gsimpleasyncresult.c:
3654 (g_simple_async_result_set_from_error):
3655 Remove bogus g_return_if_fail
3657 2007-11-06 Alexander Larsson <alexl@redhat.com>
3660 The name is gio-standalone
3663 Add top src/builddir to includedir
3665 2007-11-06 Alexander Larsson <alexl@redhat.com>
3667 * docs/reference/gio/gio-sections.txt:
3669 * gio/gbufferedinputstream.c:
3670 * gio/gbufferedoutputstream.c:
3671 * gio/gcancellable.c:
3672 * gio/gdatainputstream.h:
3673 * gio/gdataoutputstream.c:
3674 * gio/gdataoutputstream.h:
3675 * gio/gdirectorymonitor.c:
3677 * gio/gfileattribute.c:
3678 * gio/gfileattribute.h:
3679 * gio/gfileenumerator.c:
3680 * gio/gfileenumerator.h:
3683 * gio/gfileinputstream.h:
3684 * gio/gfilemonitor.c:
3685 * gio/gfileoutputstream.h:
3686 * gio/glocalfilemonitor.h:
3687 * gio/glocalfileoutputstream.h:
3688 * gio/gmemoryinputstream.c:
3689 * gio/gmemoryoutputstream.c:
3690 * gio/gmountoperation.c:
3691 * gio/goutputstream.c:
3692 * gio/goutputstream.h:
3694 * gio/gsimpleasyncresult.c:
3695 * gio/gunixmounts.c:
3696 * gio/gunixmounts.h:
3698 * gio/inotify/inotify-helper.c:
3699 Fix gtk-doc warnings
3701 Patch from Ross Burton
3703 2007-11-06 Alexander Larsson <alexl@redhat.com>
3705 * gio/gfilenamecompleter.c:
3706 (g_filename_completer_get_completions):
3709 * gio/gunixvolume.c:
3710 Remove unused function
3712 Patches from Ross Burton
3714 2007-11-06 Alexander Larsson <alexl@redhat.com>
3719 Padding not needed for interfaces
3721 2007-11-06 Alexander Larsson <alexl@redhat.com>
3723 * gio/gfilemonitor.c:
3727 Make giotypes.h an internal file
3730 * gio/gbufferedinputstream.h:
3731 * gio/gbufferedoutputstream.h:
3732 * gio/gcancellable.h:
3733 * gio/gdatainputstream.h:
3734 * gio/gdataoutputstream.h:
3735 * gio/gdirectorymonitor.c:
3736 * gio/gdirectorymonitor.h:
3741 * gio/gfileattribute.h:
3742 * gio/gfileenumerator.h:
3747 * gio/gfilemonitor.c:
3748 * gio/gfilemonitor.h:
3749 * gio/gfilenamecompleter.c:
3750 * gio/gfilenamecompleter.h:
3751 * gio/gfilterinputstream.h:
3752 * gio/gfilteroutputstream.h:
3753 * gio/ginputstream.h:
3754 * gio/gmemoryinputstream.h:
3755 * gio/gmemoryoutputstream.h:
3756 * gio/gmountoperation.c:
3757 * gio/gmountoperation.h:
3758 * gio/gnativevolumemonitor.c:
3759 * gio/goutputstream.h:
3762 * gio/gsimpleasyncresult.c:
3763 * gio/gsimpleasyncresult.h:
3764 * gio/gsocketinputstream.h:
3765 * gio/gsocketoutputstream.h:
3766 * gio/gthemedicon.c:
3767 * gio/gthemedicon.h:
3771 * gio/gvolumemonitor.c:
3772 * gio/gvolumemonitor.h:
3773 Add padding in classes where it seems useful
3774 Don't include giotypes.h from public headers
3775 Move in Class definitions into c file where possible
3780 2007-11-06 Alexander Larsson <alexl@redhat.com>
3782 * docs/reference/gio/gio-docs.xml:
3783 Better structure for API docs
3785 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3788 * gio/gloadableicon.c:
3789 * gio/gsimpleasyncresult.c:
3790 * gio/gthemedicon.c:
3791 Add some more guards to public functions. Only files missing are now
3794 2007-11-06 Alexander Larsson <alexl@redhat.com>
3796 * docs/reference/gio/gio-docs.xml:
3797 Remove old files, add missing ones
3799 2007-11-06 Alexander Larsson <alexl@redhat.com>
3801 * docs/reference/gio/gio-sections.txt:
3804 Hide implementation classes
3806 * gio/gdriveprivate.h:
3807 * gio/gvolumeprivate.h:
3808 Remove non-existing function declarations
3810 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3813 Fix compilation warnings and add guards to the new functions.
3815 * gio/gasyncresult.c:
3817 Add guards to the public functions.
3820 Implement get_path().
3822 2007-11-06 Alexander Larsson <alexl@redhat.com>
3824 * gio/gfilenamecompleter.c:
3825 Make g_filename_completer_get_completions
3826 return char ** instead of GList for
3829 * docs/reference/gio/gio-docs.xml:
3830 * docs/reference/gio/gio-sections.txt:
3832 * gio/gasyncresult.c:
3833 * gio/gbufferedinputstream.c:
3834 * gio/gbufferedoutputstream.c:
3835 * gio/gcancellable.c:
3836 * gio/gcontenttype.c:
3837 * gio/gdatainputstream.c:
3838 * gio/gdataoutputstream.c:
3839 * gio/gdesktopappinfo.c:
3840 * gio/gdirectorymonitor.c:
3844 * gio/gfileattribute.c:
3845 * gio/gfileenumerator.c:
3848 * gio/gfileinputstream.c:
3849 * gio/gfilemonitor.c:
3850 * gio/gfilenamecompleter.c:
3851 * gio/gfilenamecompleter.h:
3852 * gio/gfileoutputstream.c:
3853 * gio/gfilterinputstream.c:
3855 * gio/ginputstream.c:
3857 * gio/gioscheduler.c:
3858 * gio/gloadableicon.c:
3859 * gio/glocaldirectorymonitor.c:
3861 * gio/glocalfileinputstream.c:
3862 * gio/glocalfilemonitor.c:
3863 * gio/glocalfileoutputstream.c:
3865 * gio/gmemoryinputstream.c:
3866 * gio/gmemoryoutputstream.c:
3867 * gio/gmountoperation.c:
3868 * gio/goutputstream.c:
3869 * gio/gpollfilemonitor.c:
3871 * gio/gsimpleasyncresult.c:
3872 * gio/gsocketinputstream.c:
3873 * gio/gsocketoutputstream.c:
3874 * gio/gthemedicon.c:
3875 * gio/gunionvolumemonitor.c:
3877 * gio/gunixmounts.c:
3878 * gio/gunixvolume.c:
3879 * gio/gunixvolumemonitor.c:
3883 * gio/gvolumemonitor.c:
3884 * gio/gwin32appinfo.c:
3885 Add (mostly stub) doc strings to public functions.
3886 Patch from Andrew Walton (awalton@gmail.com)
3888 2007-11-06 Alexander Larsson <alexl@redhat.com>
3890 * gio/gappinfo.[ch]:
3891 Added GAppLaunchContext object and pass that to launch.
3892 This allows simple implementation of both
3893 launch-on-screen and startup notification via a gtk+
3894 subclass of GAppLaunchContext
3896 * gio/gdesktopappinfo.c:
3897 Implement GAppLaunchContext API
3899 * gio/gwin32appinfo.c:
3902 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3904 * gio/gmountoperation.c:
3905 Add some guards to GMountOperation's public functions.
3907 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3911 * gio/gcancellable.c:
3912 * gio/gdirectorymonitor.c:
3914 * gio/gfileenumerator.c:
3915 * gio/gfilemonitor.c:,
3916 * gio/gfilenamecompleter.c:
3919 * gio/gioscheduler.c:
3923 * gio/gvolumemonitor.c:
3924 Add even more guards to various public functions.
3926 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3929 Add guards to the public functions of GAppInfo.
3931 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3933 * gio/gcontenttype.c:
3934 Add some more guards for public functions.
3936 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3938 * gio/fam/fam-module.c:
3939 * gio/fam/gfamdirectorymonitor.c:
3940 * gio/fam/gfamdirectorymonitor.h:
3941 * gio/fam/gfamfilemonitor.c:
3942 * gio/fam/gfamfilemonitor.h:
3943 * gio/inotify/ginotifydirectorymonitor.c:
3944 * gio/inotify/ginotifydirectorymonitor.h:
3945 * gio/inotify/ginotifyfilemonitor.c:
3946 * gio/inotify/ginotifyfilemonitor.h:
3947 Add proper copyright information and remove an unused variable
3948 in the GInotifyFileMonitor constructor.
3950 * gio/gcancellable.c:
3951 Add a guard for a public function and an assertion to prevent
3952 an undefined program state.
3954 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3956 * gio/gfileattribute.c:
3957 Don't run into an assertion if the given attribute value is NULL
3958 in g_file_attribute_value_get_*() but instead return a fallback
3959 value that makes sense in most situations. Passing them a attribute
3960 value with the wrong type will still run into an assertion.
3962 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3964 * gio/gfileattribute.c:
3966 Add even more guards to the public functions. Also fix the refcounting
3967 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3968 let g_file_info_list_attributes() filter the attributes by namespace
3969 instead of simply ignoring the namespace parameter.
3971 2007-11-03 Sven Herzberg <sven@imendio.com>
3973 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3974 (This makes gio work on MacOS X again)
3976 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3979 Build the gio subdirectory before the docs. Otherwise the build will
3982 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3983 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3984 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3985 Add guards to the public functions.
3987 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3989 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3990 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
3991 to prevent a compiler warning.
3993 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
3994 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
3995 return something in the non-void function find_topdir_for().
3997 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4004 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4006 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4007 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4008 * gwin32appinfo.c (g_win32_app_info_launch):
4009 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4010 envp_for_startup_id, g_desktop_app_info_launch,
4011 g_desktop_app_info_launch_uris):
4013 Give an opaque 'startup_id' string instead of 'envp'.
4014 Support empty file lists for launching new windows.
4015 Fix infinite recursion bug when launching URIs.
4017 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4020 Add guard to the new g_file_get_uri_scheme() function.
4022 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4025 Convert a g_return_val_if_fail() to setting the GError instead as
4026 otherwise applications have to verify the parameter before otherwise
4027 and the parameter might come directly from the user.
4029 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4031 * gio/inotify/ginotify*.[ch]:
4032 Add missing copyright information.
4034 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4037 Add guards in the beginning of public functions to check for valid
4038 parameters and fix a bug in copy_stream_with_progress() that could've
4039 caused writing less bytes than reading.
4040 * gio/glocalfileinfo.c:
4041 Check for a NULL parameter and set the GError accordingly then.
4042 * gio/goutputstream.c:
4043 Fix the same bug as in gfile.c that could've caused writing less bytes
4044 than reading in g_output_stream_real_splice().
4046 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4049 Use the correct gvolumeprivate.h naming
4051 2007-11-01 Christian Kellner <gicmo@gnome.org>
4054 Remove leftover "$(daemon_sources)" entry.
4056 2007-11-01 Christian Kellner <gicmo@gnome.org>
4061 Add copyright information to source files.
4063 2007-11-01 Alexander Larsson <alexl@redhat.com>
4067 Add g_file_get_uri_scheme
4069 2007-11-01 Alexander Larsson <alexl@redhat.com>
4072 * gio/gdesktopappinfo.c:
4073 * gio/gwin32appinfo.c:
4074 Add g_app_info_get_default_for_uri_scheme.
4076 2007-11-01 Alexander Larsson <alexl@redhat.com>
4079 Correct filename for gdriveprivate.h
4081 2007-10-31 Alexander Larsson <alexl@redhat.com>
4084 Rename id:value to id:file
4087 * gio/glocalfileinfo.c:
4090 2007-10-31 Alexander Larsson <alexl@redhat.com>
4092 * gio/gunixvolume.c:
4094 Remove g_volume_get_platform_id, as thats not
4095 needed with the simpler union volume monitor
4097 2007-10-31 Alexander Larsson <alexl@redhat.com>
4100 * gio/guniondrive.[ch]: Removed.
4101 * gio/gunionvolume.[ch]: Removed.
4102 Remove GUnionDrive/Volume
4104 * gio/gunionvolumemonitor.c:
4105 Simplify union volume monitor, now we
4106 only have one native volume monitor and
4107 we use the actual volumes/drives from the
4108 child monitors instead of wrapping them
4110 * gio/gnativevolumemonitor.[ch]:
4111 Base class for native volume monitors.
4112 Includes priority and get_volume_for_mountpoint
4115 Add g_file_find_enclosing_volume
4118 Remove volume name fs attribute
4119 Add readonly fs attribute
4122 Implement readonly attribute
4123 remove volume name attribute
4124 Implement find_enclosing volume
4126 * gio/gunixmounts.c:
4127 Add a volume for "/".
4129 * gio/gunixvolume.[ch]:
4130 Set better name for /
4132 * gio/gunixvolumemonitor.[ch]:
4133 Derive from GNativeVolumeMonitor
4134 Implement get_volume_for_mountpoint
4137 GVolume typedef moved to gfile.h
4139 * gio/gvolumeprivate.h:
4140 Add g_volume_get_for_mount_path
4142 2007-10-31 Alexander Larsson <alexl@redhat.com>
4144 * gio/gunixmounts.[ch]:
4145 Add cache info to unix mount listers
4146 Make getmntent use threadsafe
4147 Add is_system_internal attribute for GUnixMount
4149 * gio/gunixvolume.c:
4150 (g_unix_volume_new):
4151 Use is_system_internal instead of own code
4153 * gio/glocaldirectorymonitor.c:
4154 * gio/gunixvolumemonitor.c:
4155 Update to new gunixmounts API
4160 2007-10-30 Alexander Larsson <alexl@redhat.com>
4163 Add volume name fsinfo attribute
4166 Read volume name info
4168 * gio/gunionvolumemonitor.c:
4169 Fix infinite loops when finalizing a union volume monitor
4171 2007-10-30 Alexander Larsson <alexl@redhat.com>
4173 * gio/goutputstream.[ch]:
4174 Add splice() with default implementation
4176 * gio/gsocketoutputstream.c:
4177 (g_socket_output_stream_write):
4178 Return error on cancellation correctly.
4180 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4182 * gio/glocalfile.c (g_local_file_trash):
4183 Do not leak a string.
4185 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4187 * gio/gfile.c (g_file_load_contents):
4188 Unref the stream after closing it.
4190 2007-10-25 Alexander Larsson <alexl@redhat.com>
4192 * gio/gioscheduler.h:
4195 2007-10-25 Alexander Larsson <alexl@redhat.com>
4199 Add g_file_has_uri_scheme and implement for local files
4201 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4203 * gio/gdesktopappinfo.c: do not leak a string.
4205 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4207 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4208 (g_local_directory_monitor_new):
4209 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4210 (g_local_file_monitor_new):
4211 Only look for the monitor type that should be used the first time
4212 and use g_qsort_with_data() instead of our own bubble sort
4215 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4218 * gio/fam/Makefile.am:
4219 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4220 * gio/fam/fam-helper.h:
4221 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4222 * gio/fam/gfamdirectorymonitor.c:
4223 * gio/fam/gfamdirectorymonitor.h:
4224 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4225 * gio/fam/gfamfilemonitor.h:
4226 * gio/glocaldirectorymonitor.c:
4227 * gio/glocaldirectorymonitor.h:
4228 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4229 * gio/glocalfilemonitor.h:
4230 * gio/inotify/Makefile.am:
4231 * gio/inotify/ginotifydirectorymonitor.c:
4232 * gio/inotify/ginotifydirectorymonitor.h:
4233 * gio/inotify/ginotifyfilemonitor.c:
4234 * gio/inotify/ginotifyfilemonitor.h:
4235 Implement the FAM and Inotify monitors as
4236 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4237 their own GIO module. GLocal(Directory|File)Monitor will use the
4238 monitor with the highest rank that is supported on that machine.
4240 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4243 Change GIO module dir to $(libdir)/gio/modules and change
4244 the log domain from GVFS to GIO. Also only export symbols starting
4245 with g_ in the resulting library.
4246 * gio/test-streams.c: (main):
4247 Set log handler for the GIO log domain.
4249 2007-10-22 Alexander Larsson <alexl@redhat.com>
4251 * gio/gfilenamecompleter.[ch]:
4252 Add g_filename_completer_set_dirs_only
4254 2007-10-22 Alexander Larsson <alexl@redhat.com>
4257 * gio/gurifuncs.[ch]:
4258 Add some simple URI helpers
4260 * gio/gfilenamecompleter.[ch]:
4261 Added object for filename (parse name actually) completion
4264 Handle ~ in parse names
4266 2007-10-17 Alexander Larsson <alexl@redhat.com>
4269 * gio/glocalfileinfo.c:
4270 Add and implement id:value attribute
4272 2007-10-17 Alexander Larsson <alexl@redhat.com>
4275 * gio/guniondrive.c:
4277 Add and implement g_drive_has_volumes
4279 2007-10-17 Alexander Larsson <alexl@redhat.com>
4282 * gio/glocalfileinfo.[ch]:
4283 Add unix:is_mountpoint and implement for local files
4285 2007-10-16 Alexander Larsson <alexl@redhat.com>
4287 * gio/gunionvolumemonitor.c:
4288 (g_union_volume_monitor_init):
4289 Fix up the unix type getting so that it works with gcc
4291 2007-10-12 Alexander Larsson <alexl@redhat.com>
4294 * gio/glocalfileinfo.c:
4295 Add thumbnail:failed to file info
4297 2007-10-12 Richard Hult <richard@imendio.com>
4299 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4300 optimizing away the get_type call (happens with some gcc versions,
4301 like the one shipped with OS X 10.4).
4303 2007-10-12 Alexander Larsson <alexl@redhat.com>
4305 * gio/glocalfileinfo.c:
4306 (_g_local_file_info_set_attribute):
4307 Fix build if not HAVE_XATTR
4308 Patch from Milosz Derezynski <internalerror@gmail.com>
4310 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4312 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4313 around for review, otherwise I would have asked you before
4316 2007-10-11 Alexander Larsson <alexl@redhat.com>
4319 Add thumbnail:path attribute
4321 * gio/glocalfileinfo.c:
4322 Implement thumbnail:path for local files
4324 2007-10-11 Alexander Larsson <alexl@redhat.com>
4326 * gio/glocalfileinfo.c:
4327 (_g_local_file_info_get):
4328 Avoid duplicate icon names
4330 2007-10-11 Alexander Larsson <alexl@redhat.com>
4332 * gio/gthemedicon.[ch]:
4333 Change g_themed_icon_get_names return type to const
4335 2007-10-10 Alexander Larsson <alexl@redhat.com>
4337 * gio/glocalfileinfo.c:
4338 Don't reference freed memory
4340 2007-10-10 Alexander Larsson <alexl@redhat.com>
4342 * gio/gfileattribute.c:
4345 * gio/glocalfileinfo.c:
4348 2007-10-10 Alexander Larsson <alexl@redhat.com>
4351 Check for NULL icons
4353 * gio/gfileattribute.c:
4354 Don't dup when getting objects (same as for string attributes)
4356 * gio/gicon.c (g_icon_equal):
4357 Safely handle NULLs in equal
4359 2007-10-10 Alexander Larsson <alexl@redhat.com>
4362 Fix c++ compilation issues
4363 Patch from Milosz Derezynski <internalerror@gmail.com>
4365 2007-10-10 Alexander Larsson <alexl@redhat.com>
4367 * programs/gio-monitor-dir.c:
4368 Don't crash if dir monitor not supported.
4370 2007-10-09 Alexander Larsson <alexl@redhat.com>
4373 Add missing G_END_DECLS
4375 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4377 * gio/gfile.c: (g_file_set_display_name),
4378 (g_file_query_settable_attributes),
4379 (g_file_query_writable_namespaces):
4380 Return NULL not FALSE on errors as the return type is a pointer.
4382 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4384 * gio/glocalfile.c: (g_local_file_monitor_file):
4385 Don't call monitor_file on the default interface vtable (which
4386 is NULL) but simply return NULL. The caller, GFile, will create a
4387 polling monitor if NULL is returned.
4389 2007-10-09 Alexander Larsson <alexl@redhat.com>
4393 * gio-unix-2.0.pc.in:
4394 Add gio-unix-2.0.pc if OS_UNIX
4397 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4399 2007-10-09 Alexander Larsson <alexl@redhat.com>
4401 * gio/gunixmounts.[ch]:
4402 Make unix mount monitoring API sane.
4403 Now its just a object with mounts_changed
4404 and mountpoints_changed signals.
4406 * gio/glocaldirectorymonitor.c:
4407 * gio/gunixvolumemonitor.c:
4408 Use new mount monitor api
4410 2007-10-09 Alexander Larsson <alexl@redhat.com>
4412 * gio/gunixmounts.[ch]:
4413 Move guess type into one call for mounts and one for mountpoints
4416 * gio/gunixvolume.c:
4419 2007-10-09 Alexander Larsson <alexl@redhat.com>
4421 * gio/gunixmounts.[ch]:
4422 Remove _ prefix in preparation to make this semi-public
4423 Hide implementation of structs
4425 * gio/glocaldirectorymonitor.c:
4427 * gio/gunixvolume.c:
4428 * gio/gunixvolumemonitor.c:
4429 Update for above API changes
4431 2007-10-08 Alexander Larsson <alexl@redhat.com>
4434 Better polling fallback. This also handles the case where we have
4435 a monitor_file implementation, but it fails.
4437 2007-10-08 Alexander Larsson <alexl@redhat.com>
4441 * gio/gunixmounts.c:
4442 * programs/gio-monitor-dir.c:
4443 * programs/gio-monitor-file.c:
4444 Added cancellable to file monitoring calls.
4445 These are really sync calls and need this.
4447 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4449 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4450 (g_local_vfs_class_init):
4451 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4452 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4454 2007-10-05 Alexander Larsson <alexl@redhat.com>
4456 * gio/gdirectorymonitorprivate.h:
4457 * gio/gfilemonitorprivate.h:
4458 * gio/gdirectorymonitor.h:
4459 * gio/gfilemonitor.h:
4460 Remove *private.h and move to the public API, so that
4461 we can do implementations outside gio (such as in gvfs)
4463 * gio/gdirectorymonitor.c:
4464 * gio/gfilemonitor.c:
4465 * gio/glocaldirectorymonitor.c:
4466 * gio/gpollfilemonitor.c:
4467 * gio/inotify/inotify-helper.c:
4468 * gio/fam/fam-helper.c:
4469 Update to the new header names
4471 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4473 * gio/gdirectorymonitor.c:
4474 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4477 2007-10-04 Alexander Larsson <alexl@redhat.com>
4479 * gio/glocalfileinfo.c (get_access_rights):
4480 Set CAN_TRASH when we can move the file.
4481 We should really also check for a parent trash dir.
4483 2007-10-04 Alexander Larsson <alexl@redhat.com>
4485 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4486 Add can_trash access attribute
4488 2007-10-04 Alexander Larsson <alexl@redhat.com>
4491 (g_local_file_trash):
4492 Create info file first. This is per-spec and allows
4493 us to actually trash directories.
4495 2007-10-02 Alexander Larsson <alexl@redhat.com>
4497 * gio/gdesktopappinfo.c:
4498 Implement the new mime support code.
4499 Always set app as handling mimetype when being set as default for it
4501 2007-10-01 Alexander Larsson <alexl@redhat.com>
4503 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4504 Fix up check for xattrs:
4506 2007-10-01 Alexander Larsson <alexl@redhat.com>
4509 (g_app_info_set_as_default_for_extension):
4510 (g_app_info_add_supports_type):
4511 (g_app_info_can_remove_supports_type):
4512 (g_app_info_remove_supports_type):
4513 Make these fail nicely if not implemented
4515 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4517 * gio/glocalfileoutputstream.c:
4518 * gio/glocalfileoutputstream.h:
4523 * programs/gio-save.c:
4524 Add a GFileCreateFlags argument to operations that can create
4527 2007-10-01 Alexander Larsson <alexl@redhat.com>
4529 * gio/gappinfo.[ch]:
4530 * gio/gdesktopappinfo.c:
4531 Add more (stubbed out) mime API needed for nautilus
4533 2007-10-01 Alexander Larsson <alexl@redhat.com>
4536 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4537 Add g_app_info_set_as_default_for_extension.
4539 * gio/gdesktopappinfo.c:
4540 Dummy for g_app_info_set_as_default_for_extension
4541 Support flags in g_app_info_create_from_commandline
4543 * gio/gwin32appinfo.c:
4545 Update for API changes
4547 * gio/gthemedicon.c:
4548 Properly NULL-terminate list of icon names
4550 2007-09-28 Alexander Larsson <alexl@redhat.com>
4552 * gio/gloadableicon.h:
4553 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4555 2007-09-28 Alexander Larsson <alexl@redhat.com>
4558 Install headers in $includedir/gio-standalone/
4560 * gio-2.0.pc.in: Added.
4561 * gio-standalone.pc.in: Removed.
4564 Renamed pkg-config file to match glib (for future move)
4565 Update to the new include dir
4568 Add more TODO comments
4570 2007-09-28 Alexander Larsson <alexl@redhat.com>
4572 * gio/gdesktopappinfo.[ch]:
4573 Expose new_from_filename
4574 Add getter for is_hidden and handle it better
4576 2007-09-28 Alexander Larsson <alexl@redhat.com>
4578 * gio/gfileinfo.[ch]:
4579 Rename g_file_size_format_for_display to
4580 g_format_file_size_for_display.
4581 Now it doesn't have the g_file prefix, so we
4582 can later move it to glib.
4584 2007-09-28 Alexander Larsson <alexl@redhat.com>
4586 * gio/gappinfo.[ch]:
4587 Add g_app_info_get_id and g_app_info_get_executable.
4588 Make all getters non-reffing
4589 Make g_app_info_launch take GFile arguments.
4590 Add must_support_uris argument to g_app_info_get_default_for_type.
4592 * gio/gwin32appinfo.c:
4593 Update to GAppInfo api changes
4595 * gio/gdesktopappinfo.c:
4596 Update to GAppInfo api changes
4597 Implement supports_xdg_startup_notify
4599 * gio/gfileicon.c (g_file_icon_get_file):
4600 Make getter non-reffing.
4605 2007-09-27 Alexander Larsson <alexl@redhat.com>
4607 * gio/gfileinfo.[ch]:
4608 Add g_file_size_format_for_display helper
4610 2007-09-27 Alexander Larsson <alexl@redhat.com>
4612 * gio/glocalfileinfo.c:
4613 Set UNIX_GID from gid, not from uid
4615 2007-09-27 Alexander Larsson <alexl@redhat.com>
4618 Add g_file_set_attributes_async
4620 2007-09-27 Alexander Larsson <alexl@redhat.com>
4622 * gio/glocalfile.c (g_local_file_set_display_name):
4623 Fix set_display_name to actually rename to the right place.
4624 Use lstat to look for existing files so we don't overwrite
4627 2007-09-26 Alexander Larsson <alexl@redhat.com>
4630 Add g_file_set_display_name_async()
4632 2007-09-26 Alexander Larsson <alexl@redhat.com>
4635 Add load_partial_contents async calls
4638 Make internal function static
4640 2007-09-26 Alexander Larsson <alexl@redhat.com>
4642 * gio/glocalfileinfo.c:
4643 Correctly detect broken symlinks
4645 2007-09-26 Alexander Larsson <alexl@redhat.com>
4647 * gio/gcancellable.c (g_cancellable_cancel):
4648 Allow cancel on NULL cancellable
4650 2007-09-25 Alexander Larsson <alexl@redhat.com>
4652 * gio/gsimpleasyncresult.c:
4653 Don't allocate g_error manually.
4654 Fixes g_slice/g_new mixup crash
4656 2007-09-25 Alexander Larsson <alexl@redhat.com>
4658 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4659 Actually set active_backend.
4660 This means the monitor will be cancelled correctly.
4662 2007-09-25 Alexander Larsson <alexl@redhat.com>
4664 * gio/gdirectorymonitor.c:
4665 Set timeout to NULL when destroying
4667 2007-09-25 Alexander Larsson <alexl@redhat.com>
4670 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4671 that is a better description of the error.
4673 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4675 * gio/gvfs.c: (g_vfs_get_local):
4676 Make the local vfs variable static. The same instance should
4679 2007-09-24 Alexander Larsson <alexl@redhat.com>
4681 * gio/glocalfileinfo.c:
4682 Pass in actual length read into sniffer, not the length
4685 2007-09-21 Alexander Larsson <alexl@redhat.com>
4687 * gio/gfileenumerator.c:
4690 * gio/gfileinputstream.c:
4691 * gio/gfileoutputstream.c:
4692 * gio/ginputstream.c:
4693 * gio/goutputstream.c:
4694 Don't crash if async callbacks are NULL
4696 2007-09-20 Alexander Larsson <alexl@redhat.com>
4699 Add async enumerate_children method and default
4702 2007-09-20 Alexander Larsson <alexl@redhat.com>
4705 Add g_file_contains_file & g_file_get_relative_path, since they
4706 were needed for nautilus.
4707 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4712 Implement new methods
4714 2007-09-17 Alexander Larsson <alexl@redhat.com>
4717 * gio/gfileinputstream.[ch]:
4718 * gio/gfileoutputstream.[ch]:
4720 * gio/glocalfileenumerator.[ch]:
4721 * gio/glocalfileinfo.[ch]:
4722 * gio/glocalfileinputstream.c:
4723 * gio/glocalfileoutputstream.c:
4724 * gio/gpollfilemonitor.c:
4725 * programs/gio-copy.c:
4726 * programs/gio-info.c:
4727 * programs/gio-move.c:
4728 Rename get_file_info to query_info() to make it clearer
4729 that these are not simple getters, but do i/o.
4731 2007-09-17 Alexander Larsson <alexl@redhat.com>
4733 * gio/gdatainputstream.[ch]:
4734 * gio/test-streams.c:
4735 Use _read_XXX instead of _get_XXX for the i/o calls
4738 2007-09-17 Alexander Larsson <alexl@redhat.com>
4741 Added needed stuff to TODO comment
4743 2007-09-17 Alexander Larsson <alexl@redhat.com>
4745 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4746 Don't error out removing the backup copy if it doesn't
4749 2007-09-14 Alexander Larsson <alexl@redhat.com>
4751 * programs/Makefile.am:
4752 * programs/gvfs-*.c:
4754 Renamed apps from gvfs-xxx to gio-xxx.
4756 2007-09-14 Alexander Larsson <alexl@redhat.com>
4759 * gio/gfileoutputstream.[ch]:
4760 * gio/glocalfileoutputstream.c:
4761 * programs/gvfs-save.c:
4762 g_file_output_stream_get_etag doesn't do i/o, so remove
4763 cancellation and error.
4765 2007-09-14 Alexander Larsson <alexl@redhat.com>
4768 Add new_etag output to replace_contents functions
4770 2007-09-14 Alexander Larsson <alexl@redhat.com>
4772 * gio/gfileoutputstream.[ch]:
4773 Add async get_file_info and default implementation
4775 2007-09-14 Alexander Larsson <alexl@redhat.com>
4777 * gio/gfileinputstream.c:
4778 Implement fallback wrapper for async get_file_info
4780 2007-09-14 Alexander Larsson <alexl@redhat.com>
4783 Add etag out argument to load_contents
4788 2007-09-14 Alexander Larsson <alexl@redhat.com>
4790 * gio/gcontenttype.c (looks_like_text):
4791 Whitespace like tab, cr and lf do not make the
4794 2007-09-14 Alexander Larsson <alexl@redhat.com>
4796 * gio/gfileinputstream.[ch]:
4797 Add async get_file_info.
4799 2007-09-13 Alexander Larsson <alexl@redhat.com>
4801 * gio/goutputstream.c (g_output_stream_write_all):
4802 Allow NULL for bytes_written
4804 2007-09-13 Alexander Larsson <alexl@redhat.com>
4806 * gio/gmemoryinputstream.[ch]:
4807 Add accessors for data
4809 2007-09-13 Alexander Larsson <alexl@redhat.com>
4811 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4812 Don't crash if length is NULL