1 2008-08-08 Tor Lillqvist <tml@novell.com>
3 * gwin32mount.c: Remove unused code. Whitespace cleanup.
5 * gwin32volumemonitor.c (get_connected_drives): Put questionable
6 code that didn't actually do anything inside #if 0, and add a
7 comment wondering what the code was supposed to do. This also gets
8 rid of a leftover debugging printout.
10 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
12 * gfileicon.c (g_file_icon_get_property)
13 (g_file_icon_set_property): New functions.
14 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
16 (g_file_icon_new): Use the property (bug #546132).
18 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
20 * gthemedicon.c (g_themed_icon_get_property): Also handle
21 `PROP_USE_DEFAULT_FALLBACKS'.
22 (g_themed_icon_class_init): Make
23 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
25 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
27 Bug 546371 – Improve docs re g_file_monitor
29 * gfilemonitor.c: Mention g_file_monitor() in the docs.
31 2008-08-04 Matthias Clasen <mclasen@redhat.com>
33 * === Released 2.17.6 ===
35 2008-08-04 Matthias Clasen <mclasen@redhat.com>
37 * === Released 2.17.5 ===
39 2008-08-04 Matthias Clasen <mclasen@redhat.com>
41 Bug 546017 – Don't copy attributes when copying a symlink
43 * gfile.c (g_file_copy_attributes): Specify
44 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
45 g_file_set_attributes_from_info. Patch by Christian Kellner
47 2008-08-04 Matthias Clasen <mclasen@redhat.com>
51 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
52 a bit more extensible. Work by Clemens Buss.
54 * gioenums.h: Add GEmblemOrigin.
57 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
59 Bug 546079 – leak in xdgmime
61 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
63 2008-08-03 Tor Lillqvist <tml@novell.com>
65 * win32/gwin32directorymonitor.h
66 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
69 2008-08-03 Tor Lillqvist <tml@novell.com>
71 * win32/gwin32directorymonitor.c
72 (g_win32_directory_monitor_callback): Make prototype match
73 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
74 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
77 (g_win32_directory_monitor_constructor):
78 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
79 names in the GLib API on Windows, so convert to UTF-16 and open
82 2008-08-03 Tor Lillqvist <tml@novell.com>
84 Bug 541036 - Gnumeric crashes when trying to open Desktop or
85 user's folder under Windows
87 * win32/gwin32directorymonitor.c
88 (g_win32_directory_monitor_constructor): Ignore error from
89 CreateFile() when opening directory. Instead of asserting, just
90 store INVALID_HANDLE_VALUE then in
91 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
92 ReadDirectoryChangesW().
93 (g_win32_directory_monitor_cancel): Don't attempt to close
94 directory handle if it is INVALID_HANDLE_VALUE.
96 2008-08-01 Matthias Clasen <mclasen@redhat.com>
98 * gdesktopappinfo.c: Remove debug spew
100 2008-08-01 Hans Breuer <hans@breuer.org>
102 * makefile.msc : add gemblembedicon
104 2008-07-30 Matthias Clasen <mclasen@redhat.com>
106 Bug 545457 – gdmsetup crashed with SIGSEGV in
107 g_unix_mount_guess_should_display()
109 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
110 crash if no mount is found.
112 2008-07-28 Matthias Clasen <mclasen@redhat.com>
114 Bug 545203 – gfile.c: argument is different type.
116 * gfile.c (open_read_async_thread): Pass a GError **
117 to g_file_set_error_literal.
118 Reported by Kazuki Iwamoto
120 2008-07-28 Matthias Clasen <mclasen@redhat.com>
122 Bug 545157 – wrong/no list of "open with" applications for .cc and
125 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
126 Collect all ancestors, not just direct parents. Pointed
127 out by Bastien Nocera
129 2008-07-28 Matthias Clasen <mclasen@redhat.com>
131 * Makefile.am: Install gemblemedicon.h
133 2008-07-28 Matthias Clasen <mclasen@redhat.com>
135 * gemblemedicon.[hc]: Add a GIcon implementation that can
136 add an emblem to another icon.
143 * gfileicon.c: Small documentation additions.
145 2008-07-28 Tor Lillqvist <tml@novell.com>
147 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
150 2008-07-27 Tor Lillqvist <tml@novell.com>
152 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
154 2008-07-24 David Zeuthen <davidz@redhat.com>
158 Also export a g_mount_guess_content_type_sync() function.
160 2008-07-23 Matthias Clasen <mclasen@redhat.com>
162 529694 – SELinux context setting support
164 * gfileinfo.c: Support setting selinux attributes.
165 Patch by Tomas Bzatek
167 2008-07-22 Priit Laes <plaes@plaes.org>
169 Bug 544140 - fam-helper 64-bit issue?
171 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
173 2008-07-21 Matthias Clasen <mclasen@redhat.com>
175 * === Released 2.17.4 ===
177 2008-07-20 Matthias Clasen <mclasen@redhat.com>
179 * gvolumemonitor.[hc]:
184 * gmount.c: Documentation fixes
186 2008-07-19 Matthias Clasen <mclasen@redhat.com>
188 543504 – crash in Epiphany Web Browser: Opening local file
199 * gvolume.c: Register types thread-safely.
200 Patch by Christian Persch
202 2008-07-18 Matthias Clasen <mclasen@redhat.com>
204 * gcontenttype.c: Remove debug spew
206 2008-07-18 Matthias Clasen <mclasen@redhat.com>
208 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
211 * fen/fen-kernel.c: Remove a warning that was causing
212 crashes. Reported by Lin Ma.
214 2008-07-18 Matthias Clasen <mclasen@redhat.com>
216 Bug 543040 – async reading on dummy file will crash on
219 * gfile.c (open_read_async_thread): Cope with read_fn being
220 NULL. Reported by Lin Ma.
222 2008-07-18 Matthias Clasen <mclasen@redhat.com>
225 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
227 2008-07-16 Matthias Clasen <mclasen@redhat.com>
231 * giomodule.c: Rename a chapter id to avoid filename conflict.
233 2008-07-16 Matthias Clasen <mclasen@redhat.com>
235 Bug 540616 – mem leak in filechooser button
237 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
238 the mount entry. Reported by Chrisitan Persch
240 2008-07-16 Matthias Clasen <mclasen@redhat.com>
242 * gfile.c: Small documentation fixes.
244 2008-07-15 Matthias Clasen <mclasen@redhat.com>
246 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
248 2008-07-08 Matthias Clasen <mclasen@redhat.com>
253 * gmount.c: Documentation improvements.
255 2008-07-08 Matthias Clasen <mclasen@redhat.com>
258 * gmount.[hc]: Add g_mount_guess_content_type().
260 2008-07-06 David Zeuthen <davidz@redhat.com>
263 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
264 is needed for easily handling adoption of foreign volumes by
265 out-of-process volume monitors (#541793)
267 2008-07-06 David Zeuthen <davidz@redhat.com>
269 * gvolumemonitor.[ch]:
270 * gunionvolumemonitor.c: Export the eject-button signal on the
271 volume monitor class (#541794).
273 2008-07-06 Matthias Clasen <mclasen@redhat.com>
275 * gappinfo.c: More doc tweaks
277 2008-07-05 Matthias Clasen <mclasen@redhat.com>
279 * gappinfo.c: Clarify some docs
281 2008-07-03 Matthias Clasen <mclasen@redhat.com>
283 * gdesktopappinfo.c: Fix a stupid mistake.
285 2008-07-02 Matthias Clasen <mclasen@redhat.com>
287 * === Released 2.17.3 ===
289 2008-07-02 Matthias Clasen <mclasen@redhat.com>
291 * gfilemonitor.c: Fix the build.
293 2008-07-02 Matthias Clasen <mclasen@redhat.com>
295 Bug 536160 – Add g_file_monitor()
298 * gfile.[hc]: Add g_file_monitor which can return either
299 a file or a directory monitor. Proposed by Behdad Esfahbod
301 2008-07-02 Matthias Clasen <mclasen@redhat.com>
303 536733 – gio build failure on Irix
305 * glocalfile.c: Use a configure check for structfs.f_bavail.
307 2008-07-02 Matthias Clasen <mclasen@redhat.com>
309 Bug 534639 – add g_desktop_app_info_new_from_keyfile
312 * gdesktopappinfo.[hc]: Add a function to create a
313 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
315 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
317 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
319 2008-07-01 Matthias Clasen <mclasen@redhat.com>
321 * gunixmounts.c: Fix a doc typo.
323 2008-07-01 Cody Russell <bratsche@gnome.org>
325 * gio/gcontenttype.c:
326 * gio/gwin32appinfo.c:
327 * gio/gwin32volumemonitor.c:
328 * gio/gwin32mount.c: Fixed some include problems.
330 2008-07-01 Cody Russell <bratsche@gnome.org>
334 Moved all relevant typedefs into these files.
337 Updated wrt added files.
339 Split types into separate file for easier maintainership. (#538564)
341 2008-06-30 Matthias Clasen <mclasen@redhat.com>
343 Bug 540331 – g_file_append_to () documentation: can return NULL
345 * gfile.c (g_file_append_to): Clarify docs.
348 2008-06-30 Matthias Clasen <mclasen@redhat.com>
350 Bug 539090 – g_content_type_from_mime_type() should unalias
352 * gcontentype.c (g_content_type_from_mime_type): Unalias.
353 Patch by Markus Bergman
355 2008-06-30 Matthias Clasen <mclasen@redhat.com>
357 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
360 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
361 on ppc and alpha. Reported by Mart Raudsepp
363 2008-06-29 Matthias Clasen <mclasen@redhat.com>
366 * tests/memory-output-stream.c: Add some tests for
369 2008-06-29 Matthias Clasen <mclasen@redhat.com>
371 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
374 * gmemoryoutputstream.c (array_resize): Handle truncation to
375 zero correctly. Reported by Akira Tagoh
377 2008-06-29 Matthias Clasen <mclasen@redhat.com>
379 * gmemoryoutputstream.c: Trivial doc fixes
381 2008-06-29 Matthias Clasen <mclasen@redhat.com>
383 Bug 540802 – g_list_prepend doesn't concat lists
385 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
386 one list to another. Pointed out by Jan Arne Petersen
388 2008-06-28 Michael Natterer <mitch@imendio.com>
390 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
392 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
394 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
395 to avoid problems with partial icon themes.
397 2008-06-17 Hans Breuer <hans@breuer.org>
399 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
400 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
401 access again on win32, see bug #538127
402 * giomodule.c : ensure GWin32VolumeMonitor is registered
403 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
404 * Makefile.am makefile.msc : updated
406 2008-06-16 Hans Breuer <hans@breuer.org>
408 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
409 and initialization in one step avoids c99ism
411 2008-06-16 Christian Persch <chpe@gnome.org>
414 * gio/gbufferedinputstream.c
416 * gio/gdatainputstream.c
417 * gio/gdesktopappinfo.c
419 * gio/gfileenumerator.c
420 * gio/gfileinputstream.c
421 * gio/gfileoutputstream.c
423 * gio/glocaldirectorymonitor.c
425 * gio/glocalfileenumerator.c
426 * gio/glocalfileinfo.c
427 * gio/glocalfilemonitor.c
428 * gio/glocalfileoutputstream.c
429 * gio/gmemoryinputstream.c
430 * gio/gmemoryoutputstream.c
431 * gio/goutputstream.c
432 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
435 2008-06-16 Tor Lillqvist <tml@novell.com>
437 Bug 538362 - Get Win32 icons back in the file chooser
439 * gcontenttype.c (g_content_type_get_icon): Look up the icon
440 corresponding to a file extension in the Registry. Patch by Hans
442 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
444 2008-06-16 Tor Lillqvist <tml@novell.com>
446 Patches by Hans Breuer:
448 * glocalfile.c (is_xp_or_later): Handle compiling against older
449 SDK headers with missing VerifyVersionInfo(). Conditioned on
450 _MSC_VER, but should probably use some better test.
451 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
452 uninitialised statfs_result variable on Win32.
454 2008-06-16 Michael Natterer <mitch@imendio.com>
456 * *.c: chain up unconditionally in finalize() and dispose(). Also
457 don't dereference these function pointers when calling them since
458 that has no meaning at all.
460 2008-06-16 Ross Burton <ross@burtonini.com>
463 Remove check for dispose implementation as it annoys Emmanuele.
465 2008-06-16 Ross Burton <ross@burtonini.com>
467 Bug 536252 – GFileEnumerator should allow access to the containing
473 Add g_file_enumerator_get_container() and a container writeable
474 construct-only property. Also shuffle around typedefs to make it
477 * glocalfileenumerator.c:
478 * glocalfileenumerator.h:
480 Instead of a string filename take a GFile in the constructor and
481 use it to set the container property.
486 2008-06-16 Matthias Clasen <mclasen@redhat.com>
488 * gfile.c: Make includes more uniform
490 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
492 * tests/live-g-file.c (sample_struct):
493 Use less fancy unicode filenames, so the test doesn't fail
494 on Mac OS X (#531476).
496 2008-06-12 Matthias Clasen <mclasen@redhat.com>
498 * === Released 2.17.2 ===
500 2008-06-12 Matthias Clasen <mclasen@redhat.com>
502 * === Released 2.17.1 ===
504 2008-06-11 A. Walton <awalton@gnome.org>
506 * tests/g-file.c (test_g_file_new_null):
507 Fix broken test case.
509 2008-06-11 Matthias Clasen <mclasen@redhat.com>
511 * pltcheck.sh: We use g_clear_error now.
513 2008-06-11 Matthias Clasen <mclasen@redhat.com>
515 * glocalfile.c (g_local_file_enumerate_children): Revert
516 an unintended change.
518 2008-06-11 Matthias Clasen <mclasen@redhat.com>
520 * gfile.c (g_file_replace_contents): Don't unref before the last use.
522 2008-06-10 Matthias Clasen <mclasen@redhat.com>
524 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
527 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
528 as icon for the desktop directory, also make user-home and
529 user-desktop the preferred icons.
531 2008-06-10 Matthias Clasen <mclasen@redhat.com>
534 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
535 to add a name to the front of the list.
537 2008-06-10 Matthias Clasen <mclasen@redhat.com>
539 Bug 537392 – Additional colon in xattr name
541 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
542 too. Reported by Alessandro Morandi
544 2008-06-10 Matthias Clasen <mclasen@redhat.com>
546 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
549 * glocalfile.c (get_fs_type): Add afs and autofs.
550 Patch by Danny Baumann.
552 2008-06-10 Matthias Clasen <mclasen@redhat.com>
554 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
556 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
557 is no parent. (Owen Taylor, patch by Christian Neumair)
559 2008-06-10 Paolo Borelli <pborelli@katamail.com>
561 * gfile.c (g_file_replace_contents): do not leak the output stream.
563 2008-06-10 Michael Natterer <mitch@imendio.com>
565 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
566 uninitialized memory as array index.
568 2008-06-10 Tor Lillqvist <tml@novell.com>
570 * gcontenttype.c (g_content_type_can_be_executable)
571 (g_content_type_get_icon) [Win32]: Add TODO comments.
573 2008-06-09 Matthias Clasen <mclasen@redhat.com>
575 * xdgmime/Makefile.am: Fix the build
577 2008-06-09 Matthias Clasen <mclasen@redhat.com>
579 * gcontenttype.c (g_content_type_get_icon): Use icons specified
580 in the shared mime database, if available.
582 * xdgmime/*: Sync with upstream. This brings support for
583 glob weights, generic icons, and changes the cache format to
586 2008-05-28 Michael Natterer <mitch@imendio.com>
588 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
589 the global CPPFLAGS now.
591 * tests/data-input-stream.c
592 * tests/data-output-stream.c
593 * tests/g-file-info.c
595 * tests/live-g-file.c
596 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
598 2008-05-27 Matthias Clasen <mclasen@redhat.com>
600 * === Released 2.17.0 ===
602 * tests/live-g-file.c: Clean up after the tests, so make distcheck
603 doesn't complain about leftover files.
605 2008-05-27 simon.zheng <simon.zheng@sun.com>
607 * glocalfile.c: (g_local_file_query_filesystem_info):
608 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
610 2008-05-26 Michael Natterer <mitch@imendio.com>
612 * gmemoryoutputstream.h: declare
613 g_memory_output_stream_get_data_size().
615 2008-05-26 Matthias Clasen <mclasen@redhat.com>
617 * tests/*: Make tests work
619 2008-05-26 Matthias Clasen <mclasen@redhat.com>
621 * gio.symbols: Add g_memory_output_stream_get_data_size.
623 2008-05-25 Ross Burton <ross@burtonini.com>
626 Fix typo in error message (#534764).
628 2008-05-25 Ross Burton <ross@burtonini.com>
631 Fix circular dependency loop for gioenumtypes.h (#534759).
633 2008-05-19 Hans Breuer <hans@breuer.org>
635 * Makefile.am : EXTRA_DIST += makefile.msc
637 2008-05-17 Matthias Clasen <mclasen@redhat.com>
640 * gcontenttype.c: (g_content_type_from_mime_type):
641 New function to create a content type from a mime type. (#527175,
644 2008-05-17 Matthias Clasen <mclasen@redhat.com>
646 Bug 532965 – Should not return filesystem::free for certain file systems
648 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
649 free space for ncpfs.
651 2008-05-17 Matthias Clasen <mclasen@redhat.com>
653 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
655 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
656 st_dev might be zero.
658 2008-05-16 Tor Lillqvist <tml@novell.com>
660 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
661 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
663 2008-05-13 Bastien Nocera <hadess@hadess.net>
665 * gfile.c (has_valid_scheme): A URI scheme must start with a
666 letter, even if later more characters are allowed (#532852)
668 2008-05-05 Michael Natterer <mitch@imendio.com>
670 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
671 code from being checked in that breaks the build of applications
672 which use G_DISABLE_SINGLE_INCLUDES.
674 * makegioalias.pl: make the alias file include "glib.h" instead of
677 * gio.symbols: whitespace change to force regeneration of the
678 alias file after above script change.
680 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
682 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
684 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
686 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
688 2008-04-28 David Zeuthen <davidz@redhat.com>
690 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
691 displaying mounts in a subdirectory not accessible to the
694 2008-04-22 Michael Natterer <mitch@imendio.com>
696 * Makefile.am: fix library versioning (it was 0.0.0).
698 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
700 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
701 Default disable all loggings.
702 * fen/fen-kernel.c: (printevent), (port_add_kevent),
703 (port_fetch_event_cb): Fixed two macro nits.
705 2008-04-16 Matthias Clasen <mclasen@redhat.com>
707 * xdgmime/xdgmime.c: Rework the timestamp checking code
708 to protect against duplicate directories in XDG_DATA_DIRS.
709 Fixes fd.o bug 12513, reported by Joe Shaw.
711 2008-04-16 Matthias Clasen <mclasen@redhat.com>
713 Partically revert the last commit after realizing that
714 xdg_mime_media_type_equal doesn't have to init at all.
717 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
719 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
721 2008-04-16 Matthias Clasen <mclasen@redhat.com>
723 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
724 reported by Joe Shaw and Federico Mena Quintero.
726 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
727 (xdg_mime_media_type_equal): Turn into a wrapper around the
730 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
731 functions throughout.
733 2008-04-16 Michael Meeks <michael.meeks@novell.com>
735 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
736 tolerate an empty TryExec= line without failing; nautilus used
737 to create launchers with these in previous versions. Fixes #528433
739 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
741 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
742 after name. Fixes #527132.
744 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
746 * gfile.c: (g_file_replace):
749 2008-04-07 Matthias Clasen <mclasen@redhat.com>
751 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
753 * gfile.c (file_copy_fallback): Fix the argument order. Patch
754 by Christian Kellner.
756 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
758 * gunixmounts.c: (g_unix_mount_guess_should_display):
759 Don't list the user directory as a mount, fix potential issue
760 when other users have a similar naming and don't special case the
761 gvfs mounts there since that's not required (#525866)
763 2008-03-31 Alexander Larsson <alexl@redhat.com>
765 * glocalfile.c (get_parent):
768 2008-03-31 A. Walton <awalton@svn.gnome.org>
770 * gfile.c (g_file_query_file_type):
771 Always return a GFileType enum value (#520715).
773 2008-03-31 Alexander Larsson <alexl@redhat.com>
775 * glocalfileenumerator.c:
776 Read readdir() info in chunks (of 1000) and sort
777 the chunks by inode before stat:ing.
778 This is a 20% performance increase in testing
779 gvfs-ls on /usr/bin with cold cache.
781 2008-03-31 Alexander Larsson <alexl@redhat.com>
783 * gmemoryoutputstream.c:
784 Clarify docs for g_memory_output_stream_get_size.
785 Add g_memory_output_stream_get_data_size.
787 2008-03-30 Matthias Clasen <mclasen@redhat.com>
791 * gfile.h: Add g_file_query_file_type convenience function
792 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
794 2008-03-30 Matthias Clasen <mclasen@redhat.com>
797 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
799 2008-03-28 A. Walton <awalton@svn.gnome.org>
801 * giomodule.c (_g_io_modules_ensure_loaded):
802 Adds GIO_EXTRA_MODULES environment variable support, closing bug
805 2008-03-28 Alexander Larsson <alexl@redhat.com>
808 (copy_stream_with_progress):
811 2008-03-28 Alexander Larsson <alexl@redhat.com>
814 (copy_stream_with_progress):
815 (file_copy_fallback):
816 Fallback to g_file_query_info for source size
817 if g_file_input_stream_query_info fails. (#524579)
819 2008-03-28 Alexander Larsson <alexl@redhat.com>
821 * glocalfile.c (g_local_file_move):
822 Reuse old string instead of adding new one.
824 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
826 * fen/*.[hc]: still copyright issue. I hate copyright.
828 2008-03-27 Alexander Larsson <alexl@redhat.com>
830 * glocalfile.c (g_local_file_move):
831 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
832 file over directory. This is according to the docs and what the move via
833 copy+remove fallback does.
835 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
837 * fen/*.[hc]: Updated copyright.
839 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
841 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
843 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
845 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
846 not emit attribute changed events when optimizing changed events.
847 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
850 2008-03-19 Matthias Clasen <mclasen@redhat.com>
852 * gmountoperation.[hc]: Small documentation additions
854 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
856 * gunixmounts.c: (guess_mount_type):
857 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
859 2008-03-19 Alexander Larsson <alexl@redhat.com>
862 (copy_stream_with_progress):
863 Bump block side for copy to 64k to minimize
864 overhead for low latency links. (#523015)
866 2008-03-16 Tor Lillqvist <tml@novell.com>
868 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
869 depend on gio.def on Windows.
871 2008-03-12 David Zeuthen <davidz@redhat.com>
875 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
877 2008-03-14 Alexander Larsson <alexl@redhat.com>
881 Avoid redudant tests (#521851)
882 Patch from Josselin Mouette
884 2008-03-14 Alexander Larsson <alexl@redhat.com>
887 (g_file_monitor_is_cancelled):
888 Fix C89 issue (#521672)
889 Patch from Jens Granseuer
891 2008-03-14 Alexander Larsson <alexl@redhat.com>
893 * fam/fam-helper.[ch]:
895 Shut down fam (including removing fam GSource) when
896 module is unloaded (#521513)
897 Patch from Joe Marcus Clarke
899 2008-03-14 Alexander Larsson <alexl@redhat.com>
902 (_g_io_modules_ensure_loaded):
905 2008-03-14 Alexander Larsson <alexl@redhat.com>
908 (g_local_file_query_filesystem_info):
909 Use right define name for f_fstypename member check
911 2008-03-14 Alexander Larsson <alexl@redhat.com>
914 * fen/Makefile.am: Added.
915 * fen/fen-data.[ch]: Added.
916 * fen/fen-dump.[ch]: Added.
917 * fen/fen-helper.[ch]: Added.
918 * fen/fen-kernel.[ch]: Added.
919 * fen/fen-missing.[ch]: Added.
920 * fen/fen-node.[ch]: Added.
921 * fen/fen-sub.[ch]: Added.
922 * fen/gfendirectorymonitor.[ch]: Added.
923 * fen/gfenfilemonitor.[ch]: Added.
925 Added Solaris FEN file notification backend.
926 Patch from Lin Ma <Lin.Ma@Sun.COM>
928 2008-03-13 Tor Lillqvist <tml@novell.com>
930 * Makefile.am: Actually use the gio.def file when linking the
931 library on Windows. Produce .lib library for Microsoft's toolchain
932 when possible. Install the .lib and .def file like for the other
935 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
937 * tests/live-g-file.c:
938 Include live-g-file in standard set of tests, making a temporary
939 directory in source structure.
941 Clean target directory before the tests (write mode only)
943 2008-03-12 Tor Lillqvist <tml@novell.com>
945 Bug 517419 - gio win32 directory monitor
946 Implementation by Vlad Grecescu.
949 * win32/gwin32directorymonitor.h
950 * win32/gwin32directorymonitor.c: New files.
952 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
954 * Makefile.am: Add the win32 subdirectory.
956 2008-03-12 Tor Lillqvist <tml@novell.com>
958 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
959 normal struct stat on Unix but struct _stati64 on Windows to have
960 access to 64-bit file size information. Use that instead of struct
961 stat in the functions declared here in this private header.
963 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
964 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
965 warnings about unused functions and variables. Don't set
966 meaningless attributes like inode numbers on Windows.
968 2008-03-12 Benjamin Otte <otte@gnome.org>
971 trim whitespace so gtk-doc groks the function name
973 2008-03-12 Tor Lillqvist <tml@novell.com>
975 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
976 returning FALSE, on Win32.
978 2008-03-11 Alexander Larsson <alexl@redhat.com>
981 * glocalfileinfo.[ch]:
982 Correctly implement can_trash by actually
983 looking for a trash dir, not just assuming
986 2008-03-10 Matthias Clasen <mclasen@redhat.com>
988 * === Released 2.16.1 ===
990 2008-03-11 Alexander Larsson <alexl@redhat.com>
993 Fix crashes in new constructor and properties code
995 2008-03-10 Murray Cumming <murrayc@murrayc.com>
997 * gfile.c: Minor spelling correction in documentation:
998 existance -> existence.
1000 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1002 * === Released 2.16.0 ===
1004 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1006 * gio.symbols: Remove g_file_contains_file here, too.
1008 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1010 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1011 Samuel Cormier-Iijima)
1013 2008-03-08 Tor Lillqvist <tml@novell.com>
1015 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1018 2008-03-07 Alexander Larsson <alexl@redhat.com>
1021 (g_local_file_query_filesystem_info):
1022 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1023 Patch from Jasper Lievisse Adriaanse
1025 2008-03-06 Tor Lillqvist <tml@novell.com>
1027 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1028 comments for the *_USEC attributes.
1030 2008-03-06 Alexander Larsson <alexl@redhat.com>
1032 * gfile.c (g_file_query_exists):
1033 Add g_return_val_if_fail check (#520700)
1035 2008-03-06 Alexander Larsson <alexl@redhat.com>
1037 * gdesktopappinfo.c:
1040 * gunionvolumemonitor.c:
1043 * tests/live-g-file.c:
1044 * xdgmime/xdgmimecache.c:
1045 Fix sparse warnings (#519489)
1047 2008-03-05 Alexander Larsson <alexl@redhat.com>
1050 Make cancellation threadsafe (i.e.
1051 guarantee its only done once, and always
1054 * glocaldirectorymonitor.c:
1055 Make sure we the monitor lives while the
1056 mounts_changed callback is being called (#520484)
1058 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1060 * gbufferedinputstream.c: Fix typo in parameter
1063 2008-03-04 Alexander Larsson <alexl@redhat.com>
1066 Remove deprecated symbols we kept for one release.
1068 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1071 * goutputstream.c: Tiny documentation corrections.
1073 2008-03-03 Alexander Larsson <alexl@redhat.com>
1075 * gunionvolumemonitor.c:
1077 Fix the adopt_orphan_mount vfunc to take a
1078 volume_monitor reference in an ABI compat way.
1079 This change is not API compat, but the added
1080 arg is not used in the only user of this vfunc, so
1081 all we get is a harmless warning in gvfs (#520169)
1083 2008-03-01 Benjamin Otte <otte@gnome.org>
1086 clarify docs for g_file_delete().
1088 2008-02-29 Alexander Larsson <alexl@redhat.com>
1092 Make sure empty files get text/plain type (#518720)
1094 2008-02-27 Alexander Larsson <alexl@redhat.com>
1100 (g_unix_volume_mount):
1101 Add missing GMountMountFlags argument
1103 2008-02-26 Alexander Larsson <alexl@redhat.com>
1106 (g_local_file_delete):
1107 Handle filesystems (like ntfs-3g) that return EEXIST instead
1108 of ENOTEMPTY (#518816)
1110 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1112 * === Released 2.15.6 ===
1114 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1116 * gfile.c (g_file_find_enclosing_mount):
1117 * ginputstream.c (g_input_stream_set_pending):
1118 * glocalfile.c (g_local_file_find_enclosing_mount):
1119 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1120 * goutputstream.c (g_output_stream_set_pending):
1122 Fixup translator comments (#518578).
1124 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1126 * gfile.c (g_file_find_enclosing_mount):
1128 * glocalfile.c (g_local_file_find_enclosing_mount):
1131 Fix a few typos in translator comments and documentation.
1133 2008-02-25 Alexander Larsson <alexl@redhat.com>
1140 Add translator comments (#518578)
1142 2008-02-25 Alexander Larsson <alexl@redhat.com>
1145 Reintroduce g_file_contains_file, keep around for one
1146 unstable release cycle to avoid crashing to many apps.
1147 Make sure to delete after release.
1149 2008-02-25 Alexander Larsson <alexl@redhat.com>
1152 Remove deprecated g_file_contains_file.
1154 2008-02-25 Alexander Larsson <alexl@redhat.com>
1157 Emit actual change signals in an idle handler.
1158 This avoids reentrance and locking problems in
1159 the file notification backends.
1161 2008-02-25 Alexander Larsson <alexl@redhat.com>
1164 (g_unix_mount_guess_should_display):
1165 Remove type guessing, instead just display
1166 mounts in /media and in ~/.
1168 2008-02-25 Alexander Larsson <alexl@redhat.com>
1171 Make new strings reuse old ones.
1173 2008-02-25 Alexander Larsson <alexl@redhat.com>
1176 Implement trashing and filesystem::readonly for win32 (#517235)
1177 Patch from Yevgen Muntyan
1179 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1181 * gfileinfo.h: Documentation fixes.
1183 2008-02-22 Alexander Larsson <alexl@redhat.com>
1185 * gcontenttype.c (g_content_type_get_icon):
1186 Look at old-style gnome mime icon names too, as many
1187 have not moved to the new style.
1189 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1191 * *.c: Correct the @include in for section docs.
1193 2008-02-21 David Zeuthen <davidz@redhat.com>
1195 * glocalfileinfo.c: (_g_local_file_info_get):
1197 (g_content_type_get_icon): Implement this function by
1198 moving bits from glocalfileinfo.c
1199 (g_content_type_get_description): Unalias before getting
1200 description (#517687)
1202 * gfile.c: (g_file_class_init),
1203 (g_file_query_filesystem_info_async),
1204 (g_file_query_filesystem_info_finish),
1205 (query_filesystem_info_data_free),
1206 (query_filesystem_info_async_thread),
1207 (g_file_real_query_filesystem_info_async),
1208 (g_file_real_query_filesystem_info_finish):
1209 * gfile.h: Implement async version of
1210 g_file_query_filesystem_info()
1212 * gfileinfo.h: Add new attributes for filesystem::use-preview
1214 * gio.symbols: Update
1216 * gthemedicon.c: (g_themed_icon_append_name):
1217 * gthemedicon.h: Add new new convenience function.
1219 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1220 (get_mounts), (get_volumes), (get_connected_drives),
1221 (get_volume_for_uuid), (get_mount_for_uuid),
1222 (g_union_volume_monitor_init), (populate_union_monitor),
1223 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1224 (g_volume_monitor_adopt_orphan_mount):
1226 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1227 monitor implementations to call into the main volume monitor. Also
1228 separate object initialization and volume monitor initialization
1229 such that non-native volume monitors can properly adopt their
1232 2008-02-21 Alexander Larsson <alexl@redhat.com>
1237 2008-02-21 Alexander Larsson <alexl@redhat.com>
1240 Add more documentation about how GFiles work (from #517086)
1242 2008-02-21 Alexander Larsson <alexl@redhat.com>
1246 Add new g_file_has_prefix that does the same as g_file_contains_file.
1247 Deprecate g_file_contains_file and add a macro that converts
1248 it to g_file_has_prefix.
1249 The reason for this change is that the contains_file() name seems to
1250 imply that this does more work than what it does, but its really only
1251 a name match (from #517086)
1256 Update to match the above change.
1258 2008-02-20 Benjamin Otte <otte@gnome.org>
1260 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1261 (g_file_eject_mountable):
1262 even more cases of not returning in error path
1264 2008-02-20 Benjamin Otte <otte@gnome.org>
1266 * gfile.c: (g_file_mount_mountable):
1267 return from function in error path.
1269 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1272 Remove trailing coma in GMountMountFlags struct
1274 2008-02-18 Alexander Larsson <alexl@redhat.com>
1278 * glocalfileoutputstream.c:
1279 Use g_unlink/g_rename instead of unlink/rename;
1280 do not pass raw filenames to g_set_error. (#517239)
1281 Patch from Yevgen Muntyan.
1283 2008-02-18 Alexander Larsson <alexl@redhat.com>
1286 * glocalfileoutputstream.c:
1287 Open files with O_BINARY on windows. (#517140)
1289 2008-02-14 Alexander Larsson <alexl@redhat.com>
1291 * glocalfileoutputstream.c:
1292 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1294 2008-02-14 Alexander Larsson <alexl@redhat.com>
1297 Copy permissions with file on copy (#514084)
1298 This is what cp does and makes sure e.g. the
1299 exec permissions are kept.
1300 Its kinda weird in that it keeps the permission bits
1301 the same while the uid and gid are different. However
1302 the new uid is the user so its not a security issue,
1303 and I've heard no complaints about cp on this issue.
1305 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1307 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1309 2008-02-13 Alexander Larsson <alexl@redhat.com>
1311 * inotify/inotify-path.c:
1312 Define IN_ONLYDIR if not in header (#515346)
1314 2008-02-12 Alexander Larsson <alexl@redhat.com>
1316 * tests/live-g-file.c:
1319 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1321 * === Released 2.15.5 ===
1323 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1325 * gio.symbols: Add g_mount_mount_flags_get_type.
1327 2008-02-11 Alexander Larsson <alexl@redhat.com>
1330 (g_file_info_set_attribute_mask):
1331 (g_file_attribute_matcher_matches_id):
1332 Correctly handle NULL GAttributeMatcher meaning
1333 matches nothing. (Fixes #513492)
1335 2008-02-11 Alexander Larsson <alexl@redhat.com>
1340 Added GMountMountFlags enum and added a flags
1341 argument to all mount calls.
1343 This is an API/ABI change for future extensibility,
1344 as I think we will need at least an
1345 inhibit-autorun flag (the panel needs this).
1346 There are no flags defined yet though.
1348 2008-02-11 Alexander Larsson <alexl@redhat.com>
1351 Added new standard::description attribute.
1352 Requested by Vincent, and useful for both
1355 2008-02-11 Alexander Larsson <alexl@redhat.com>
1357 * gdesktopappinfo.c:
1360 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1362 * *.c: Documentation additions
1364 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1366 * gappinfo.h: Formatting cleanup
1367 * gappinfo.c: Fix up docs.
1369 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1371 * gunixmounts.c: Consistently use getmntent_r() and fall
1372 back to getmntent(). (#515492)
1374 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1376 * gbufferedinputstream.c:
1378 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1380 * tests/data-input-stream.c:
1381 * tests/data-output-stream.c: Portability fixes.
1383 2008-02-08 Alexander Larsson <alexl@redhat.com>
1388 Add g_volume_should_automount.
1391 2008-02-07 Tor Lillqvist <tml@novell.com>
1393 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1394 Win32, too Unix-specific.
1396 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1398 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1399 a local plt if the compiler doesn't support what we want. Bug #514702
1401 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1403 reviewed by: <delete if not using a buddy>
1406 * gunixinputstream.c:
1407 * gunixoutputstream.c:
1409 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1411 * tests/Makefile.am:
1412 * tests/live-g-file.c:
1413 * tests/live-g-file.txt:
1414 New GIO testing module working over real data
1416 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1418 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1419 Fallback to rename() if link() is not available
1420 (when no support on target filesystem)
1422 2008-02-06 Michael Natterer <mitch@imendio.com>
1424 * gfileinfo.c (g_file_info_get_icon): replace
1425 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1427 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1429 * gfile.c (g_file_create):
1430 Documentation update of error codes
1432 2008-02-06 Alexander Larsson <alexl@redhat.com>
1434 * gdesktopappinfo.c:
1435 Update to use both mimeapps.list and
1436 defaults.list as discussed on xdg list.
1438 2008-02-06 Benjamin Otte <otte@gnome.org>
1441 * gfilenamecompleter.c:
1442 Fix some typos in the documentation.
1444 2008-02-06 Alexander Larsson <alexl@redhat.com>
1446 * glocalfile.c (g_local_file_trash):
1447 Don't succeed with trash if newly created
1448 trash dir has the wrong owner. (#514696)
1450 2008-02-05 Alexander Larsson <alexl@redhat.com>
1452 * glocalfile.c (g_local_file_move):
1453 Don't spew warnings when destination is not
1456 2008-02-03 Hans Breuer <hans@breuer.org>
1458 * makefile.msc : update
1460 2008-02-01 Michael Natterer <mitch@imendio.com>
1462 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1463 return value of xdg_mime_list_mime_parents() to a variable of the
1466 2008-02-01 Alexander Larsson <alexl@redhat.com>
1468 * gappinfo.c (g_app_info_launch_uris):
1469 Actually call the launch_uris method, not
1472 2008-02-01 Alexander Larsson <alexl@redhat.com>
1474 * gdesktopappinfo.c (g_desktop_app_info_equal):
1475 Ensure appinfos with no id but same pointer value
1478 2008-02-01 Alexander Larsson <alexl@redhat.com>
1480 * gappinfo.c (g_app_info_launch_default_for_uri):
1483 2008-02-01 Alexander Larsson <alexl@redhat.com>
1487 Add g_app_info_launch_default_for_uri utility
1490 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1492 * gdesktopappinfo.c:
1493 Doc fix for g_app_info_get_default_for_uri_scheme ()
1496 2008-01-30 Alexander Larsson <alexl@redhat.com>
1499 Add doc comment about uris vs GFiles to
1502 * gdesktopappinfo.c:
1503 Ensure uris passed to g_app_info_launch_uris()
1504 are not roundtriped through GFile (as that
1505 may be slightly destructive for e.g. mailto: links)
1507 2008-01-30 Alexander Larsson <alexl@redhat.com>
1509 * tests/data-input-stream.c:
1510 * tests/data-output-stream.c:
1511 C89 fixes from Jens Granseuer (#512849)
1513 2008-01-30 Alexander Larsson <alexl@redhat.com>
1516 Fix gamin/fam difference build issue. (#509419)
1518 2008-01-29 Alexander Larsson <alexl@redhat.com>
1521 * gdesktopappinfo.c:
1522 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1524 2008-01-29 Alexander Larsson <alexl@redhat.com>
1526 * gdesktopappinfo.c:
1527 * gdesktopappinfo.h:
1528 giomodule-priv.h include moved to .c file.
1530 2008-01-29 Alexander Larsson <alexl@redhat.com>
1532 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1533 Remove unused prio/name fields.
1535 2008-01-29 Alexander Larsson <alexl@redhat.com>
1537 * gcontenttype.c (looks_like_text):
1538 Don't treat whitespace as control chars.
1540 2008-01-29 Alexander Larsson <alexl@redhat.com>
1542 * gdesktopappinfo.c:
1543 Lazily create the desktop files for appinfos created
1544 by g_app_info_create_from_commandline() when needed
1545 for mime associations. This allows run-time use
1546 of GAppInfo object without creating unnecessary
1549 2008-01-29 Alexander Larsson <alexl@redhat.com>
1552 Added new symbols to gio.symbols
1554 2008-01-29 Alexander Larsson <alexl@redhat.com>
1557 Add g_file_query_default_handler utility to easily look up
1558 the GAppInfo that handles a file.
1560 * gdesktopappinfo.[ch]:
1562 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1565 Remove unused function
1567 2008-01-29 Alexander Larsson <alexl@redhat.com>
1569 * gfileenumerator.c:
1570 Mention need to free returned value in
1571 g_file_enumerator_next_files_finish docs.
1572 Fix leak if g_file_enumerator_next_files_finish()
1575 2008-01-29 Alexander Larsson <alexl@redhat.com>
1578 (_g_unix_content_type_get_parents):
1579 Use list_parents, not get_parents from xdgmime, because
1580 the later doesn't use the cache.
1582 * xdgmime/xdgmimecache.c:
1583 (_xdg_mime_cache_list_mime_parents):
1584 Don't list the same type as parent multiple times.
1586 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1588 * === Released 2.15.4 ===
1590 2008-01-28 Alexander Larsson <alexl@redhat.com>
1593 Register local vfs with prio 0.
1596 Remove old name and prio class members
1598 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1600 * tests/g-file.c: Disable some tests that are failing in
1601 the absence of a http backend.
1603 2008-01-28 Alexander Larsson <alexl@redhat.com>
1607 Add registration hooks for extension points.
1608 Register the gio extension points.
1610 * fam/gfamdirectorymonitor.c:
1611 * fam/gfamfilemonitor.c:
1612 * glocaldirectorymonitor.[ch]:
1613 * glocalfilemonitor.[ch]:
1614 * gnativevolumemonitor.h:
1615 * gunionvolumemonitor.c:
1616 * gunixvolumemonitor.c:
1619 * inotify/ginotifydirectorymonitor.c:
1620 * inotify/ginotifyfilemonitor.c:
1621 Use the extension points registration instead
1622 of g_type_children().
1624 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1627 * gvolume.[hc]: Document new API.
1629 * gfile.c (g_file_copy_async): Fix docs
1631 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1633 * gbufferedinputstream.c:
1635 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1638 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1640 * glocalfile.c: Avoid trivial differences in translatable strings.
1642 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1644 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1645 build with gcc 3.4 (#509419)
1647 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1649 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1650 (#509994, Murray Cumming)
1652 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1654 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1655 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1656 this allows big jobs to be executed in chunks, instead of blocking
1657 the main loop for a long time.
1659 * gsimpleasyncresult.c:
1660 * giofile.c: Adapt callers.
1662 2008-01-25 Alexander Larsson <alexl@redhat.com>
1664 * gdesktopappinfo.c:
1665 Implement changes discussed on xdg list.
1666 Now we can add supported mimetypes by just using defaults.list
1667 We can also remove associations in defaults.list.
1669 2008-01-25 Alexander Larsson <alexl@redhat.com>
1671 * gdesktopappinfo.c:
1672 Don't make local copy of desktop file
1673 for mimetype changes if the file already
1674 supports the new mimetype.
1676 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1680 * gbufferedinputstream.c:
1681 * glocalfile.c: String improvements. (#511966,
1682 Theppitak Karoonboonyanan)
1684 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1686 * gioscheduler.h: Expand docs a bit.
1688 2008-01-24 Alexander Larsson <alexl@redhat.com>
1691 Add g_drive_get_identifier and
1692 g_drive_enumerate_identifiers
1695 Add g_volume_get_identifier and
1696 g_volume_enumerate_identifiers
1702 Implement identifiers for unix backend
1704 2008-01-24 Alexander Larsson <alexl@redhat.com>
1709 Add g_file_copy_async() (#511580)
1710 Based on patch from Carlos Garcia Campos
1712 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1714 * gioscheduler.c: Some documentation additions.
1716 2008-01-22 Alexander Larsson <alexl@redhat.com>
1718 * gdesktopappinfo.c:
1719 (g_desktop_app_info_new):
1720 Don't leak basename.
1722 2008-01-22 Alexander Larsson <alexl@redhat.com>
1724 * gdesktopappinfo.c:
1725 (g_desktop_app_info_new_from_filename):
1728 2008-01-22 Alexander Larsson <alexl@redhat.com>
1730 * glocalfileinfo.c (get_thumbnail_attributes):
1733 2008-01-22 Alexander Larsson <alexl@redhat.com>
1736 (canonicalize_filename):
1737 Canonicalize paths that start with more than
1741 (compare_two_files):
1742 (test_g_file_new_for_path):
1745 2008-01-22 Alexander Larsson <alexl@redhat.com>
1748 Allow UTF-8 in file:// parse names.
1750 * tests/Makefile.am:
1751 * tests/data-input-stream.c:
1752 * tests/data-output-stream.c:
1753 * tests/g-file-info.c:
1755 Added a bunch of tests from Tomas Bzatek
1757 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1759 * === Released 2.15.3 ===
1761 2008-01-21 Alexander Larsson <alexl@redhat.com>
1763 * gfileinputstream.[ch]:
1764 * gfileoutputstream.[ch]:
1766 Remove duplicated GSeekable functions. (#509990)
1767 Just use the g_seekable_xxx() calls instead.
1769 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1772 * gvolumemanager.c: Whitespace cleanups.
1774 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1775 Use the right mode when creating the file.
1777 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1779 * gfileenumerator.c:
1780 * gfileinputstream.c:
1782 * goutputstream.c: Documentation: Fixed minor typos
1783 and added more mentions of specific _finish() functions.
1785 2008-01-21 Alexander Larsson <alexl@redhat.com>
1787 * inotify/Makefile.am:
1788 * inotify/inotify-helper.c:
1789 * inotify/inotify-kernel.c:
1790 * inotify/inotify-path.c:
1791 * inotify/local_inotify.h: Removed.
1792 * inotify/local_inotify_syscalls.h: Removed.
1793 Removed the included copies of the inotify
1794 headers. We now only use the <sys/inotify.h>
1795 header which exists on modern systems.
1796 This fixes problems on ARM and SH5 (#510448)
1797 but is also generally much cleaner and future
1798 safe. For instance, if other OSes add support
1799 for inotify it should "just work".
1801 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1803 * inotify/*.c: Coding style fixes.
1804 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1805 for the 1/4 Hz timer.
1807 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1810 * gfilemonitor.[hc]:
1811 * gmemoryinputstream.c:
1812 * gmemoryoutputstream.c:
1813 * gmountoperation.c:
1814 * gthemedicon.c: Documentation updates
1816 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1818 * gfile.c: documentation: Fixed more minor
1821 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1823 * gmount.c: (g_mount_remount): documentation:
1824 Mention g_mount_remount_finish() instead of
1825 g_mount_unmount_finish().
1827 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1831 * gfile.c: Fixed some minor typos in the
1834 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1836 * gio/gvolumemonitor.c:
1837 (g_volume_monitor_get_connected_drives):
1838 (g_volume_monitor_get_volumes):
1839 (g_volume_monitor_get_mounts): Documentation:
1840 Clarify the ownership of the regurn GLists.
1842 2008-01-17 Alexander Larsson <alexl@redhat.com>
1845 Add the async find_enclosing_mount version
1846 to the header file too.
1848 2008-01-17 Alexander Larsson <alexl@redhat.com>
1851 Add async version of find_enclosing_mount
1852 with default implementation.
1854 2008-01-17 Alexander Larsson <alexl@redhat.com>
1859 Allow calls to implementation of copy and write
1860 even if the type of the file implementations is
1861 different. This can be used to implement native
1862 upload and download calls in a vfs.
1865 (g_local_file_move):
1866 Protect against the case where move is called
1867 with one file not being local.
1869 Make sure we call the progress callback once
1870 in the native move operation so that the caller
1871 knows how many bytes were copied.
1873 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1876 * gdatainputstream.c:
1878 * gfileoutputstream.c:
1883 * gunixmounts.c: Corrected some typos in the documentation:
1884 occured -> occurred.
1885 its -> it's (where appropriate).
1887 2008-01-16 Alexander Larsson <alexl@redhat.com>
1891 Add g_file_query_exists (#508771)
1893 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1898 * gvolume.c: For async functions that have no non-async
1899 version, document that the GAsyncReadyCallback may be NULL.
1902 2008-01-15 Alexander Larsson <alexl@redhat.com>
1904 * gmemoryinputstream.c:
1905 * gmemoryoutputstream.c:
1906 Don't do pointer arithmetic on void * (#508602)
1907 Patch from Kazuki IWAMOTO
1909 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1911 * === Released 2.15.2 ===
1913 2008-01-14 Alexander Larsson <alexl@redhat.com>
1915 * gfile.c (g_file_monitor_file):
1916 Don't set error here, since we fallback to polling monitor.
1918 2008-01-14 Alexander Larsson <alexl@redhat.com>
1921 (g_file_monitor_directory):
1922 (g_file_monitor_file):
1923 Add GError to file monitor calls
1925 * glocaldirectorymonitor.c:
1926 * glocaldirectorymonitor.h:
1928 * glocalfilemonitor.c:
1929 * glocalfilemonitor.h:
1931 Update for above change
1933 2008-01-14 Alexander Larsson <alexl@redhat.com>
1937 Handle root correctly in g_file_get_relative_path (#508719)
1939 2008-01-14 Alexander Larsson <alexl@redhat.com>
1942 Clean up docs and example for GAsyncResult (#508074)
1944 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1946 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1947 and correct some spelling mistakes. Bug #508108.
1949 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1951 * glocalfileinfo.c: Add a comment.
1953 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1955 * gfileinfo.c: GFileInfo description: Mention
1956 how to actually set attributes in a GFile and how to discover
1957 which attributes are settable. Bug #508378.
1959 2008-01-10 A. Walton <awalton@svn.gnome.org>
1961 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1962 (g_app_info_get_default_for_type):
1963 Check for NULL content types.
1965 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1967 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1969 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1971 * gfile.c: *_async() functions: Several small corrections
1972 to the documentation, mostly correcting copy/paste errors
1973 and improving some sentences.
1975 2008-01-09 Dan Winship <danw@gnome.org>
1977 * glocalfile.c (get_unique_filename): x86_64 fix
1979 2008-01-09 Alexander Larsson <alexl@redhat.com>
1984 Add g_unix_mount_guess_should_display and use
1985 for unix volume monitor backend.
1986 This means we more or less show what the
1987 gnome-vfs backend did.
1988 Based on patch from Padraig O'Briain
1990 2008-01-09 Alexander Larsson <alexl@redhat.com>
1994 Add g_themed_icon_new_with_default_fallbacks
1997 Use default fallbacks for icons
1999 2008-01-09 Alexander Larsson <alexl@redhat.com>
2002 * gmountoperation.[ch]:
2003 Change the API a bit so that unhandled methods
2004 get reported via the reply, rather than by
2005 the signal emission return value. This is because
2006 some handlers can't know this immediately without
2007 doing I/O, and this is an async operation that
2010 2008-01-09 Alexander Larsson <alexl@redhat.com>
2013 * fam/gfamdirectorymonitor.c:
2014 * fam/gfamfilemonitor.c:
2015 Fix double free crash (#508224)
2016 Patch from Joe Marcus Clarke
2018 008-01-07 Matthias Clasen <mclasen@redhat.com>
2020 * === Released 2.15.1 ===
2022 2008-01-07 Alexander Larsson <alexl@redhat.com>
2024 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2025 Fix warning (#507835)
2027 2008-01-07 Alexander Larsson <alexl@redhat.com>
2030 Pass --internal to glib-genmarshal
2033 * gmountoperation.c:
2035 Use better types for signal arguments (#507822)
2037 2008-01-07 Alexander Larsson <alexl@redhat.com>
2040 Build test subdir after .
2041 Remove gdirectorymonitor.[ch]
2043 * gdirectorymonitor.[ch]:
2047 Remove GDirectoryMonitor and make
2048 GFileMonitor the baseclass for both file and
2049 directory monitors. Lift the more generic
2050 rate limiting code from GDirectoryMonitor
2054 * fam/gfamdirectorymonitor.[ch]:
2055 * inotify/ginotifydirectorymonitor.[ch]:
2056 * inotify/inotify-helper.c:
2057 * glocaldirectorymonitor.[ch]:
2060 Update for the removed GDirectoryMonitor.
2062 * gmemoryoutputstream.c:
2063 Remove ununsed variable
2065 2008-01-07 Alexander Larsson <alexl@redhat.com>
2067 * gmemoryinputstream.c:
2068 Translate error strings
2071 * gmemoryoutputstream.[ch]:
2072 New implementation that avoids using GByteArray
2073 in implementation and API. (#506377)
2075 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2077 * tests/*: Add a test for memory input streams.
2079 * Makefile.am: Add tests to SUBDIRS.
2081 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2083 * glocalfilemonitor.c:
2084 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2087 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2089 * gdesktopappinfo.c: Fix a docs typo.
2091 * gfileattribute.c: Add information about extended attributes
2092 to the documentation. (#505058)
2094 2008-01-04 Alexander Larsson <alexl@redhat.com>
2097 * gmountoperation.c:
2098 Use the right type (uint) for the ask_password signal.
2100 2008-01-04 Alexander Larsson <alexl@redhat.com>
2105 Add g_app_info_supports_files()
2106 Remove desktop arg from g_app_info_should_show().
2108 * gdesktopappinfo.[ch]:
2109 Implement g_app_info_supports_files() and new should_show()
2110 Add g_desktop_app_info_set_desktop_env() to set the desktop
2111 for should_show(). (This will be set by gtk+ later)
2113 2008-01-04 Alexander Larsson <alexl@redhat.com>
2116 * gmemoryinputstream.[ch]:
2117 Improve API so that you can use multiple chunks
2118 of memory and custom destroy functions. (#506374)
2120 2008-01-03 Alexander Larsson <alexl@redhat.com>
2123 Handle NULL attribute matchers safely, as we return this
2124 for empty attribute matcher strings.
2126 2008-01-03 Alexander Larsson <alexl@redhat.com>
2128 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2129 Add /usr/local to list of internal mountpoints
2131 2008-01-03 Alexander Larsson <alexl@redhat.com>
2134 Check for HAVE_LCHOWN (#505887)
2136 2008-01-03 Alexander Larsson <alexl@redhat.com>
2140 Add define for selinux context attribute.
2141 Fix missing : -> :: namespace separator change
2142 Fix missing _ -> - name change for xattr-sys.
2145 2008-01-03 Alexander Larsson <alexl@redhat.com>
2148 Link to libglib and libgobject directly (#504879)
2149 Patch from Sebastien Bacher
2151 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2153 * gfile.c: Expanded the g_file_new_for_commandline_arg
2154 description a bit, based on the code and the docs of the
2155 other g_file_new_for_* functions.
2157 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2159 * gfilemonitor.h: Fixed typo in docs.
2161 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2163 Updates to GIO documentation. (#506395, Mikael Hermansson)
2165 * gcontenttype.c: Describe memory management for return value of
2166 g_content_types_get_registered(). Missing piece from #505815.
2167 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2168 GVolume, GDrive, GMounts, which hopefully gives the user less
2169 confusions when using this API. Following explainations from
2170 Alexander Larsson on gtk-devel-list.
2172 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2174 * gfileinfo.c: Expand the long description.
2176 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2179 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2180 fix builds with --disable-visibility. (#500273, Christian Persch)
2182 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2184 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2185 in the list of returned app infos.
2187 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2189 * gappinfo.c: Fix a cross-reference
2191 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2193 * gfileinputstream.c:
2194 * gfileoutputstream.c:
2198 * gdesktopappinfo.c:
2200 * gfileinfo.c: Documentation updates.
2202 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2204 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2207 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2209 * gcontenttype.c (g_content_types_get_registered): Don't return
2210 freed memory (#505815, Mikael Hermansson)
2212 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2214 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2215 used to detect statbuf->st_blocks. (#505042)
2217 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2219 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2220 environment handling. (#504829, Cosimo Cecchi)
2222 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2224 * gappinfo.c: Doc improvements
2226 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2229 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2231 * === Released 2.15.0 ===
2233 2007-12-20 Hans Breuer <hans@breuer.org>
2235 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2236 with symbols gwin32appinfo.obj, added gmount.obj
2237 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2239 2007-12-20 Alexander Larsson <alexl@redhat.com>
2245 * gfilenamecompleter.c:
2248 * gpollfilemonitor.c:
2249 File attribute renames:
2251 fs:: -> filesystem::
2252 id::fs -> id::filesystem
2254 2007-12-20 Alexander Larsson <alexl@redhat.com>
2263 Add GMountUnmountFlags to all unmount and
2265 Add g_mount_remount() call.
2267 2007-12-20 Alexander Larsson <alexl@redhat.com>
2269 * gvfs.c (get_default_vfs):
2270 Fix unused variable warning
2272 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2274 * pltcheck.sh: Update
2276 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2278 * gunionvolumemonitor.c:
2279 * gunixmount.c: Remove C99 comments
2281 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2283 * gio.symbols: Add some missing symbols
2285 2007-12-19 Alexander Larsson <alexl@redhat.com>
2288 Make g_io_modules_load_all_in_directory not unuse
2289 loaded modules so that users of it can do stuff
2291 Init internal "module" types.
2292 Initialize static prio and name for types so that
2293 we don't have to load modules to get it.
2295 * gnativevolumemonitor.h:
2297 Move is_supported to parent class so that
2298 non-native monitors can avoid being initialized
2299 too. (For instance GDaemonVolumeMonitor if we're
2300 not using GDaemonVfs.)
2302 * glocaldirectorymonitor.[ch]:
2303 * glocalfilemonitor.[ch]:
2304 * gunionvolumemonitor.c:
2305 * gunixvolumemonitor.c:
2307 Find plugins using the static prio+name to
2308 avoid unnecessarily loading the modules.
2310 2007-12-19 Alexander Larsson <alexl@redhat.com>
2315 2007-12-19 Alexander Larsson <alexl@redhat.com>
2317 * gunionvolumemonitor.c:
2318 Store the native type as GType, not class so that
2319 we can unload it. But still avoid unnecessarily
2322 2007-12-19 David Zeuthen <davidz@redhat.com>
2324 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2325 add signals 'disconnected' and 'eject-button' on GDrive. Add
2326 signal 'removed' on GVolume and 'unmounted' on GMount.
2328 * gdrive.c: (g_drive_base_init):
2330 * gfile.c: (g_file_mount_mountable),
2331 (g_file_mount_enclosing_volume):
2334 * gmount.c: (g_mount_base_init):
2336 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2337 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2338 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2342 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2344 * *.c: Fix up includes in the section docs.
2346 2007-12-17 Alexander Larsson <alexl@redhat.com>
2348 * gnativevolumemonitor.h:
2349 * gunionvolumemonitor.c:
2350 * gunixvolumemonitor.c:
2351 Add is_supported() to GNativeVolumeMonitorClass so
2352 that we can avoid having to create an object to see
2353 if the backend is supported at runtime.
2354 Also add name member and an env var to pick a specific
2355 volume monitor backend.
2359 Add cancellable to _g_mount_get_for_mount_path()
2361 * glocaldirectorymonitor.c:
2362 * glocalfilemonitor.c:
2363 Avoid loading and unloading modules while sorting.
2365 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2368 * gunixmounts.[hc]: Namespace waste reduction, move some
2369 g_get_unix_mount functions to the g_unix_mount namespace.
2372 * gunixvolumemonitor.c:
2374 * glocaldirectorymonitor.c: Update all callers.
2376 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2378 2007-12-17 Alexander Larsson <alexl@redhat.com>
2381 Add doc comments about what GFile operations are
2382 guaranteed to not block.
2384 2007-12-17 Alexander Larsson <alexl@redhat.com>
2387 Add missing #ifdef fixing OSX build.
2388 (#503334, patch from Richard Hult)
2390 2007-12-14 David Zeuthen <davidz@redhat.com>
2394 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2395 (g_mount_eject), (g_mount_eject_finish):
2397 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2398 (get_volume_for_uuid), (get_mount_for_uuid),
2399 (g_union_volume_monitor_class_init),
2400 (get_default_native_type_with_exclude), (get_default_native_type),
2401 (get_native_type), (update_native_type),
2402 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2403 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2404 (g_unix_mount_can_eject), (eject_unmount_cb),
2405 (eject_unmount_read_error), (eject_unmount_do),
2406 (g_unix_mount_unmount), (g_unix_mount_eject),
2407 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2408 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2409 (g_unix_mount_point_guess_can_eject):
2411 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2412 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2413 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2414 (g_unix_volume_mount), (g_unix_volume_eject),
2415 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2416 * gunixvolumemonitor.c: (get_volume_for_uuid),
2417 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2419 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2420 (g_volume_eject), (g_volume_eject_finish):
2422 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2423 (g_volume_monitor_get_mount_for_uuid):
2426 Provide eject() on both GMount and GVolume and utility functions
2427 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2428 ejected. Introduce the concept of UUID's and wire it into GVolume
2429 and GMount and provide API on GVolumeMonitor to find such
2430 instances. Also handle the case where an external
2431 GNativeVolumeMonitor fails to initialize. Lock around the
2432 _g_get_mount_for_mount_path() function such that volume monitor
2433 implementations won't have to do locking themselves.
2435 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2437 * gdesktopappinfo.c:
2443 * gvolume.h: Documentation updates
2445 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2448 * gfile.h: Doc updates
2450 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2453 * gdesktopappinfo.c: Use hash table iterators.
2455 2007-12-14 Alexander Larsson <alexl@redhat.com>
2458 * gfileattribute.[ch]:
2459 * gfileattribute-priv.h:
2460 Move GFileAttributeValue to a private header, as
2464 Make set_attribute take a type + a pointer instead
2465 of a GFileAttributeValue.
2468 Fix up for above changes.
2469 Add g_file_info_get_attribute_data to get
2470 all info in one call, g_file_info_get_attribute_status
2471 to get the status and g_file_info_get_attribute_as_string.
2475 * glocalfileinfo.[ch]:
2479 Make _guess_type static.
2481 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2484 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2485 made mkenums and friends use temporary files to avoid leaving
2486 empty generated files on failure (#503470).
2488 2007-12-14 Alexander Larsson <alexl@redhat.com>
2490 * gmountoperation.h:
2493 2007-12-14 Alexander Larsson <alexl@redhat.com>
2497 * gfileattribute.[ch]:
2500 * glocalfileoutputstream.c:
2501 * gmountoperation.[ch]:
2502 * goutputstream.[ch]:
2503 Clean up all flags enums to not have _FLAGS in them
2504 Make the names of some of the enums better.
2509 2007-12-14 Michael Natterer <mitch@imendio.com>
2511 * gio.symbols: fix g_io_scheduler symbol names.
2513 2007-12-14 Alexander Larsson <alexl@redhat.com>
2519 * gbufferedinputstream.h:
2520 * gbufferedoutputstream.h:
2523 * gdatainputstream.h:
2524 * gdataoutputstream.h:
2525 * gdesktopappinfo.h:
2526 * gdirectorymonitor.h:
2530 * gfileenumerator.h:
2533 * gfileinputstream.h:
2535 * gfilenamecompleter.h:
2536 * gfileoutputstream.h:
2537 * gfilterinputstream.h:
2538 * gfilteroutputstream.h:
2546 * gmemoryinputstream.h:
2547 * gmemoryoutputstream.h:
2549 * gmountoperation.h:
2552 * gsimpleasyncresult.h:
2554 * gunixinputstream.h:
2556 * gunixoutputstream.h:
2560 * inotify/Makefile.am:
2561 Only allow including <gio/gio.h> from apps
2563 2007-12-14 Alexander Larsson <alexl@redhat.com>
2565 * gioscheduler.[ch]:
2566 * gsimpleasyncresult.c:
2567 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2568 Split out the send_to_mainloop call into two versions instead
2569 of having the block argument.
2571 2007-12-13 Alexander Larsson <alexl@redhat.com>
2573 * gcancellable.[ch]:
2575 * gbufferedinputstream.c:
2576 * gfileenumerator.c:
2577 * gfileinputstream.c:
2578 * gfileoutputstream.c:
2582 g_push/pop_current_cancellable ->
2583 g_cancellable_push/pop_current
2585 2007-12-13 Alexander Larsson <alexl@redhat.com>
2589 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2591 2007-12-13 Alexander Larsson <alexl@redhat.com>
2593 * gmountoperation.h:
2594 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2596 2007-12-12 Alexander Larsson <alexl@redhat.com>
2599 Fix race condition when freeing proxy in
2600 g_io_job_send_to_mainloop().
2602 2007-12-12 Alexander Larsson <alexl@redhat.com>
2608 Make attribute namespace separator "::" instead of ":".
2609 Use - instead of _ as separator in attribute names.
2611 2007-12-12 Alexander Larsson <alexl@redhat.com>
2613 * gbufferedinputstream.h:
2614 * gbufferedoutputstream.h:
2615 * gdatainputstream.h:
2616 * gdataoutputstream.h:
2617 * gdirectorymonitor.h:
2618 * gfileenumerator.h:
2619 * gfileinputstream.h:
2621 * gfileoutputstream.h:
2622 * gfilterinputstream.h:
2623 * gfilteroutputstream.h:
2625 * glocalfileinputstream.h:
2626 * glocalfileoutputstream.h:
2627 * gmemoryinputstream.h:
2628 * gmemoryoutputstream.h:
2629 * gnativevolumemonitor.h:
2631 * gunixinputstream.h:
2632 * gunixoutputstream.h:
2635 s/parent/parent_instance/ in GObjects
2637 2007-12-12 Alexander Larsson <alexl@redhat.com>
2642 No need for padding for interfaces
2644 2007-12-12 Alexander Larsson <alexl@redhat.com>
2648 * gbufferedinputstream.c:
2649 * gbufferedoutputstream.c:
2652 * gdatainputstream.[ch]:
2653 * gdesktopappinfo.c:
2654 * gdirectorymonitor.c:
2656 * gfileattribute.[ch]:
2659 * gfileinputstream.h:
2660 * gfilemonitor.[ch]:
2661 * gfileoutputstream.[ch]:
2662 * gfilterinputstream.h:
2663 * gfilteroutputstream.h:
2666 * gloadableicon.[ch]:
2667 * gmemoryinputstream.c:
2668 * gmountoperation.c:
2670 Fix up a bunch of details in the docs.
2675 2007-12-11 David Zeuthen <davidz@redhat.com>
2677 Rework how volumes, drives and volume monitoring is
2678 done. Previosly the model was
2680 GDrive <1-1> GVolume
2682 where a GDrive instance represented a mount point and a GVolume
2683 instance represented a mounted file system. This patch changes it
2686 GDrive <1-N> GVolume <1-1> GMount
2688 where GMount now serves the purpose of the old GVolume and the new
2689 GVolume serves the purpose of the old GDrive. In addition the new
2690 GDrive interface is used to represent a collection of GVolume
2691 instances (typically partitions) and also contains utility to query
2692 the state of the physical drive the GDrive object represents (such
2693 as checking for media, polling the drive, ejecting the media etc.).
2695 Also implement mounting and unmounting in the Unix volume monitor
2696 backend. A subquent patch will introduce GDrive support for ejection
2700 * gdrive.c: (g_drive_is_media_check_automatic),
2701 (g_drive_is_media_removable), (g_drive_has_media),
2702 (g_drive_can_poll_for_media), (g_drive_eject),
2703 (g_drive_eject_finish), (g_drive_poll_for_media),
2704 (g_drive_poll_for_media_finish):
2706 * gfile.c: (g_file_find_enclosing_mount):
2709 * glocaldirectorymonitor.c:
2710 (g_local_directory_monitor_constructor), (mounts_changed):
2711 * glocalfile.c: (get_mount_info),
2712 (g_local_file_find_enclosing_mount),
2713 (g_local_file_file_iface_init):
2714 * gnativevolumemonitor.h:
2715 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2716 (get_connected_drives), (g_union_volume_monitor_class_init),
2717 (child_volume_added), (child_volume_removed),
2718 (child_volume_changed), (child_mount_added), (child_mount_removed),
2719 (child_mount_pre_unmount), (child_mount_changed),
2720 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2721 (g_union_volume_monitor_remove_monitor),
2722 (_g_mount_get_for_mount_path):
2723 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2724 (guess_system_internal), (_g_get_unix_mounts),
2725 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2726 (g_unix_mount_free), (g_unix_mount_compare),
2727 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2728 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2729 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2730 (type_to_icon), (g_unix_mount_guess_name),
2731 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2732 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2733 (_resolve_symlink), (_resolve_dev_root):
2735 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2736 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2737 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2738 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2739 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2740 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2741 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2742 (g_unix_volume_volume_iface_init):
2744 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2745 (get_mounts), (get_volumes), (get_connected_drives),
2746 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2747 (mountpoints_changed), (mounts_changed),
2748 (g_unix_volume_monitor_init),
2749 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2750 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2751 * gunixvolumemonitor.h:
2752 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2753 (g_volume_mount), (g_volume_mount_finish):
2755 * gvolumemonitor.c: (g_volume_monitor_class_init),
2756 (g_volume_monitor_get_connected_drives),
2757 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2760 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2762 * gmountoperation.h (GPasswordFlags): Close the gap
2764 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2766 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2768 * gdesktopappinfo.[hc]: Remove _-prefixes
2770 2007-12-10 Tor Lillqvist <tml@novell.com>
2772 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2775 2007-12-10 Alexander Larsson <alexl@redhat.com>
2777 * gfile.c (g_file_set_display_name):
2778 Don't hardcode '/' (#502727)
2780 2007-12-09 Hans Breuer <hans@breuer.org>
2782 * makefile.msc : follow lib naming convention
2783 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2784 for user and group name, tested with ../tests/gio-ls
2786 2007-12-09 A. Walton <awalton@svn.gnome.org>
2788 * gdesktopappinfo.c:
2794 * gfileenumerator.c:
2799 * gmemoryinputstream.c:
2800 * gmemoryoutputstream.c:
2802 * gsimpleasyncresult.c:
2803 More documentation cleanup and filling in missing information, bringing
2804 GIO to 99% symbol coverage.
2806 2007-12-08 Hans Breuer <hans@breuer.org>
2808 [gio compiles and links on win32, not sure how much already works]
2809 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2810 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2811 base on win32 API; prefer g_lstat() over lstat(); instead of
2812 localtime_r() use an all GLib implementation on win32;
2813 get_mount_info() still needs a win32 specifc implementation
2814 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2815 win32_get_file_user_info to get owner/group info without uid/gid
2816 * glocalfileinputstream.c : include <io.h> on win32
2817 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2818 definition, use g_win32_ftruncate() for G_OS_WIN32
2819 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2820 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2821 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2822 * makefile.msc : updated
2824 2007-12-07 Alexander Larsson <alexl@redhat.com>
2826 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2827 Avoid warning spew if error == NULL
2829 2007-12-07 Alexander Larsson <alexl@redhat.com>
2832 Update docs wrt etags
2834 2007-12-06 Alexander Larsson <alexl@redhat.com>
2837 Include sys/types.h for dev_t (#501919)
2839 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2843 Make abicheck and pltcheck pass.
2845 2007-12-05 Alexander Larsson <alexl@redhat.com>
2848 * giomodule-priv.h: Added.
2849 * glocaldirectorymonitor.c:
2850 * glocalfilemonitor.c:
2851 * gunionvolumemonitor.c:
2853 Actually add the declaration of _g_io_modules_ensure_loaded
2855 2007-12-05 Alexander Larsson <alexl@redhat.com>
2857 * gdatainputstream.c:
2862 * glocaldirectorymonitor.c:
2863 * glocalfilemonitor.c:
2864 * gunionvolumemonitor.c:
2866 Make g_io_modules_ensure_loaded a private function and
2867 don't pass in the dirname. This means we can do magic
2868 directory finding in the win32 version.
2869 Export the actual load-modules-in-directory code so that
2870 gvfs can reuse that.
2872 2007-12-05 Alexander Larsson <alexl@redhat.com>
2874 * gbufferedinputstream.c:
2875 * gbufferedoutputstream.c:
2878 * gfileenumerator.[ch]:
2879 * gfileinputstream.c:
2880 * gfileoutputstream.[ch]:
2881 * gfilterinputstream.c:
2882 * gfilteroutputstream.c:
2883 * ginputstream.[ch]:
2885 * glocalfileenumerator.c:
2886 * glocalfileinputstream.c:
2887 * glocalfileoutputstream.c:
2888 * gmemoryinputstream.c:
2889 * gmemoryoutputstream.c:
2890 * goutputstream.[ch]:
2893 * gunixinputstream.c:
2894 * gunixoutputstream.c:
2895 Rename all struct members named:
2896 read, write, close, truncate, or mount
2897 to foo_fn, as these are reserved names
2898 and could be defined as macros in libc.
2901 2007-12-04 Alexander Larsson <alexl@redhat.com>
2904 (g_output_stream_close):
2905 Only call flush if non-null.
2907 2007-11-30 Dan Winship <danw@gnome.org>
2909 * ginputstream.c (g_input_stream_set_pending): Make this take a
2910 GError and return a gboolean, and do the "outstanding operation"
2911 check (and the "stream is already closed" check) itself.
2912 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2914 * goutputstream.c (g_output_stream_set_pending)
2915 (g_output_stream_clear_pending): Likewise
2917 * gbufferedinputstream.c:
2918 * gfileinputstream.c:
2919 * gfileoutputstream.c: Update for that
2921 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2922 Like g_simple_async_report_error_in_idle, but takes a GError
2923 rather than building one.
2925 2007-11-30 Dan Winship <danw@gnome.org>
2927 * goutputstream.c: Don't cheat and unset the "pending" flag around
2928 inner calls. Instead, call the class method directly rather than
2929 the wrapper function that checks "pending"
2931 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2933 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2935 2007-12-03 Hans Breuer <hans@breuer.org>
2937 [start of port to win32/msvc]
2938 * gcancellable.c : HAVE_UNIST_H and _pipe()
2939 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2940 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2941 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2943 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2944 * glocalvfs.c : use HAVE_PWD_H
2945 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2946 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2947 * Makefile.am : added to EXTRA_DIST
2949 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2951 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2954 2007-12-03 Alexander Larsson <alexl@redhat.com>
2957 Handle OSX style xattrs API (#500506)
2959 2007-12-03 Alexander Larsson <alexl@redhat.com>
2963 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2965 2007-12-02 A. Walton <awalton@svn.gnome.org>
2969 Documentation accuracy fixes.
2971 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2973 * gioenumtypes.c.template: Fix typo.
2975 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2977 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2979 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2981 * gdirectorymonitor.c:
2982 * gfilemonitor.c: Add properties
2984 * gbufferedoutputstream.c: Don't mark buffer-size property
2987 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2989 * gbufferedoutputstream.c: Add auto-grow property.
2991 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2993 * *.c: Unify the capitalization of section headings.
2995 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2997 * gmountoperation.c: Add properties
2999 * gdatainputstream.c: Turn byte-order and newline-type into
3002 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3004 * gioenumtypes.[hc].template: Templates for enum registration
3006 * Makefile.am: Generate gioenumtypes.[hc]
3008 * gio.h: Include gioenumtypes.h
3010 * gfile.h: Add some explicit nicks.
3012 * gio.symbols: Add new symbols
3014 * pltcheck.sh: Adjust
3016 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3018 * *.c: Explain etags and link to the explanation
3020 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3022 * *.c: Explain I/O priority.
3024 * *.c: More coding style fixes.
3026 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3028 * gasyncresult.c: Add another paragraph to the intro,
3029 adjust coding style of example.
3031 2007-11-29 A. Walton <awalton@svn.gnome.org>
3034 Fixes unknown meaning in GAppLaunchContext docs.
3036 Clarify asynchronous ops.
3038 Fix entity tag docs.
3041 Provides missing gtk-doc section, fixes API docs slighly.
3042 * gsimpleasyncresult.c:
3043 Fill in missing info in docs.
3044 * gunixinputstream.c:
3045 * gunixoutputstream.c:
3046 Be more expressive in short description.
3048 Remove gtk-doc stubs for non-public API.
3050 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3052 * *.c: Coding style fixups
3054 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3056 * inotify/inotify-helper.c: Don't export the lock from libgio.
3058 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3061 * abicheck.sh: Fix copy-and-paste leftovers
3063 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3065 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3067 2007-11-28 Alexander Larsson <alexl@redhat.com>
3071 Removed unnecessary file
3073 * gdesktopappinfo.[ch]:
3076 * glocaldirectorymonitor.[ch]:
3078 * glocalfileenumerator.[ch]:
3079 * glocalfileinputstream.[ch]:
3080 * glocalfilemonitor.[ch]:
3081 * glocalfileoutputstream.[ch]:
3083 * gnativevolumemonitor.c:
3084 * gpollfilemonitor.[ch]:
3085 * gunionvolumemonitor.[ch]:
3088 * gunixvolumemonitor.[ch]:
3091 * inotify/ginotifydirectorymonitor.[ch]:
3092 * inotify/ginotifyfilemonitor.[ch]:
3093 * inotify/inotify-helper.c:
3094 Append _ to all internal functions
3098 Export symbols needed for modules
3100 2007-11-28 Alexander Larsson <alexl@redhat.com>
3103 * abicheck.sh: Added.
3104 * makegioalias.pl: Added.
3105 * pltcheck.sh: Added.
3106 * gio.symbols: Added.
3109 Initial work on adding symbol handling.
3112 Correct ifdef guard name
3115 * inotify/Makefile.am:
3116 * xdgmime/Makefile.am:
3117 Include toplevel Makefile.decl
3119 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3121 * gcontenttype.c: Move doc comments to the unix section.
3123 * *.[hc]: More trivial doc corrections.
3125 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3127 * gpollfilemonitor.c:
3131 * gdesktopappinfo.c:
3136 * gdatainputstream.c:
3137 * gdatainputstream.h:
3138 * gdataoutputstream.c:
3139 * gdataoutputstream.h:
3140 * gfileinfo.h: Doc cleanups
3142 2007-11-28 Andre Klapper <a9016009@gmx.de>
3144 * gdesktopappinfo.c: Fix a typo.
3146 2007-11-27 Andre Klapper <a9016009@gmx.de>
3148 * glocalfileoutputstream.c: Fix a typo.
3150 2007-11-27 Alexander Larsson <alexl@redhat.com>
3153 Don't include removed headers
3155 2007-11-27 Alexander Larsson <alexl@redhat.com>
3158 * gsocketinputstream.[ch]: Removed.
3159 * gsocketoutputstream.[ch]: Removed.
3160 * gunixinputstream.[ch]: Added.
3161 * gunixoutputstream.[ch]: Added.
3162 Renamed GSocket*Stream to GUnix*Stream and made
3163 it unix-only, since its not really only for sockets
3164 and it only works on unix (but is highly useful there).
3166 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3172 * gbufferedinputstream.c:
3173 * gbufferedinputstream.h:
3174 * gbufferedoutputstream.c:
3175 * gbufferedoutputstream.h:
3179 * gdatainputstream.c:
3180 * gdatainputstream.h:
3181 * gdataoutputstream.c:
3182 * gdataoutputstream.h:
3183 * gdirectorymonitor.c:
3184 * gdirectorymonitor.h:
3191 * gfileenumerator.c:
3192 * gfileenumerator.h:
3197 * gfileinputstream.c:
3198 * gfileinputstream.h:
3201 * gfilenamecompleter.c:
3202 * gfilenamecompleter.h:
3203 * gfileoutputstream.c:
3204 * gfileoutputstream.h:
3205 * gfilterinputstream.c:
3206 * gfilterinputstream.h:
3207 * gfilteroutputstream.c:
3208 * gfilteroutputstream.h:
3221 * glocalfileoutputstream.c:
3222 * gmemoryinputstream.c:
3223 * gmemoryinputstream.h:
3224 * gmemoryoutputstream.c:
3225 * gmemoryoutputstream.h:
3226 * gmountoperation.c:
3227 * gmountoperation.h:
3230 * gpollfilemonitor.c:
3233 * gsimpleasyncresult.c:
3234 * gsimpleasyncresult.h:
3235 * gsocketinputstream.c:
3236 * gsocketinputstream.h:
3237 * gsocketoutputstream.c:
3238 * gsocketoutputstream.h:
3245 * gunixvolumemonitor.c:
3254 Bumps documentation to 93% symbol coverage, touching most
3255 of the public files. Fixes broken function documentation prototypes.
3256 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3257 gtk-doc headers in private files.
3259 2007-11-27 Jürg Billeter <j@bitron.ch>
3261 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3262 (g_buffered_input_stream_read_byte):
3263 * gbufferedinputstream.h:
3264 New functions for efficient access to buffer and simple single byte
3267 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3268 (g_data_input_stream_read_until):
3269 * gdatainputstream.h:
3270 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3271 read_until with multiple stop chars.
3273 2007-11-27 Alexander Larsson <alexl@redhat.com>
3277 * inotify/Makefile.am:
3278 Use the user-specified giomoduledir
3280 2007-11-27 Alexander Larsson <alexl@redhat.com>
3284 Add catch-all gio.h header
3285 Don't install gdummyfile.h
3287 2007-11-26 Alexander Larsson <alexl@redhat.com>
3289 * Makefile.am (gioinclude_HEADERS):
3290 Remove trailing whitespace
3292 2007-11-26 Alexander Larsson <alexl@redhat.com>
3294 Merge gio-standalone into glib
3296 2007-11-25 Christian Kellner <gicmo@gnome.org>
3298 * gio/goutputstream.c:
3299 Fix small mistake in the docs.
3301 2007-11-21 Christian Persch <chpe@gnome.org>
3303 * gio/glocalfile.c: (g_local_file_trash):
3304 Convert filenames to UTF-8 for GError.
3305 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3306 as per xdg base dir spec.
3308 2007-11-21 Christian Persch <chpe@gnome.org>
3310 * gio/gdesktopappinfo.c:
3311 Use that g_key_file_to_data cannot fail.
3313 Use stock defines for the key file group and key names.
3316 2007-11-21 Alexander Larsson <alexl@redhat.com>
3319 (copy_stream_with_progress):
3320 Make sure we do a final progress callback with
3321 the full total size.
3323 2007-11-21 Alexander Larsson <alexl@redhat.com>
3326 Export g_file_copy_attributes
3327 Remove padding as its not needed for interfaces
3329 2007-11-20 Alexander Larsson <alexl@redhat.com>
3334 Add G_IO_ERROR_WOULD_MERGE for
3335 copy/move dir on dir with overwrite.
3337 2007-11-20 Alexander Larsson <alexl@redhat.com>
3340 * gio/glocalfileinfo.c:
3341 Add COPY_NAME (this is an optional
3342 non-modified utf8 version of the name) that
3345 2007-11-20 Alexander Larsson <alexl@redhat.com>
3347 * gio/glocalfileenumerator.c:
3348 Report errors as GIOError, not GFileError
3350 2007-11-16 Alexander Larsson <alexl@redhat.com>
3352 * gio/glocalfileoutputstream.c:
3353 * gio/gwin32appinfo.c:
3354 Fix typos in strings.
3355 Patch from Luca Ferretti <elle.uca@libero.it>
3357 2007-11-15 Alexander Larsson <alexl@redhat.com>
3360 Post release version bump
3362 === gio-standalone 0.1.2 ===
3364 2007-11-15 Alexander Larsson <alexl@redhat.com>
3366 * docs/reference/gio/Makefile.am:
3367 Fix up distcheck by removing weird
3373 2007-11-14 Alexander Larsson <alexl@redhat.com>
3375 * gio/gdesktopappinfo.c:
3376 * gio/glocaldirectorymonitor.c:
3378 * gio/glocalfileinfo.c:
3379 * gio/inotify/inotify-sub.c:
3380 * programs/gio-cat.c:
3381 * programs/gio-copy.c:
3382 * programs/gio-info.c:
3383 * programs/gio-ls.c:
3384 * programs/gio-monitor-dir.c:
3385 * programs/gio-monitor-file.c:
3386 * programs/gio-mount.c:
3387 * programs/gio-move.c:
3388 * programs/gio-rm.c:
3389 * programs/gio-save.c:
3390 * programs/gio-trash.c:
3391 Leak fixes from Kjartan Maraas
3393 2007-11-14 Alexander Larsson <alexl@redhat.com>
3395 * gio/fam/fam-helper.c:
3397 * gio/glocalfileinfo.c:
3401 * gio/inotify/inotify-diag.c:
3402 * gio/inotify/inotify-kernel.c:
3403 Various code cleanups from Kjartan Maraas
3405 2007-11-14 Alexander Larsson <alexl@redhat.com>
3407 * gio/gioscheduler.c:
3409 Set up threadpool so that we cache 2 unused
3410 idle threads for at 15 secs. This means we
3411 will reuse thread-local data (like dbus connections)
3414 2007-11-14 Alexander Larsson <alexl@redhat.com>
3416 * gio/fam/fam-helper.c:
3417 * gio/fam/gfamdirectorymonitor.c:
3418 * gio/fam/gfamfilemonitor.c:
3420 * gio/gcontenttype.c:
3421 * gio/gdatainputstream.c:
3422 * gio/gdataoutputstream.c:
3426 * gio/gfileattribute.h:
3427 * gio/gfileenumerator.c:
3429 * gio/ginputstream.c:
3432 * gio/glocalfileinfo.c:
3433 * gio/goutputstream.c:
3434 * gio/gpollfilemonitor.c:
3435 * gio/gsimpleasyncresult.c:
3436 * gio/gunixmounts.c:
3437 * gio/gunixmounts.h:
3438 * gio/inotify/ginotifydirectorymonitor.c:
3439 * gio/inotify/ginotifyfilemonitor.c:
3440 * gio/inotify/inotify-diag.c:
3441 * gio/inotify/inotify-kernel.c:
3442 * gio/inotify/inotify-path.c:
3444 * gio/test-streams.c:
3445 * programs/gio-info.c:
3446 * programs/gio-monitor-dir.c:
3447 * programs/gio-monitor-file.c:
3448 Various code cleanups from Kjartan Maraas
3450 2007-11-13 Alexander Larsson <alexl@redhat.com>
3453 Handle the uri-scheme calls for dummy files
3455 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3457 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3458 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3459 to avoid clash with the C++ keyword.
3461 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3463 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3464 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3466 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3468 * gio/glocaldirectorymonitor.c:
3469 * gio/glocalfilemonitor.c:
3470 * gio/gunionvolumemonitor.c:
3471 Don't use g_once_init_*() for initializations that could fail and
3472 could leave the initialization variable set to 0 but use GOnce.
3473 This prevents a deadlock on the second call when trying to create
3474 a monitor and no monitor type is available. Thanks to Sven Herzberg
3477 2007-11-11 Sven Herzberg <sven@imendio.com>
3479 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3480 #ifdef (make it work on MacOS X again)
3482 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3484 Fixes Changelog for last two commits (sorry guys).
3486 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3488 * gio/gbufferedinputstream.c:
3489 * gio/gdatainputstream.c:
3491 * gio/gfileoutputstream.c:
3492 * gio/gfilterinputstream.c:
3493 * gio/glocalfileinputstream.c:
3496 More consistency fixes in g*stream.c files.
3497 Significant clean of gfile's documentation, filling in of
3498 asynchronous operations documentation.
3500 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3502 * gio/gasyncresult.c:
3503 * gio/gbufferedinputstream.c:
3504 * gio/gbufferedoutputstream.c:
3505 * gio/gcancellable.c:
3506 * gio/gcontenttype.c:
3507 * gio/gdatainputstream.c:
3508 * gio/gdataoutputstream.c:
3509 * gio/gdesktopappinfo.c:
3512 * gio/gfileattribute.c:
3513 * gio/gio/gfileenumerator.c:
3515 * gio/gfileinputstream.c:
3516 * gio/gfilemonitor.c:
3517 * gio/gfileoutputstream.c:
3518 * gio/ginputstream.c:
3520 * gio/gioscheduler.c:
3521 * gio/gloadableicon.c:
3522 * gio/glocalfileoutputstream.c:
3523 * gio/gmemoryoutputstream.c:
3524 * gio/gmountoperation.c:
3525 * gio/goutputstream.c:
3527 * gio/gsimpleasyncresult.c:
3528 * gio/gunionvolumemonitor.c:
3529 * gio/gunixmounts.c:
3530 * gio/gunixvolume.c:
3534 * gio/gvolumemonitor.c:
3535 Updated documentation stubs, working towards consistency and
3538 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3540 * gio/gmemoryoutputstream.c:
3541 * gio/gmemoryoutputstream.h:
3542 Change g_memory_output_stream_set_free_on_close() to
3543 g_memory_output_stream_set_free_data() as this makes more sense and
3544 is more consistent with GMemoryInputStream.
3546 2007-11-07 Alexander Larsson <alexl@redhat.com>
3553 Change how we find the default vfs so that
3554 we can handle a gvfs failing to init
3556 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3558 * gio/gbufferedoutputstream.c:
3559 * gio/gdatainputstream.c:
3560 * gio/gdataoutputstream.c:
3561 * gio/gfileinputstream.c:
3562 * gio/gfileoutputstream.c:
3563 * gio/gfilterinputstream.c:
3564 * gio/gfilteroutputstream.c:
3565 * gio/ginputstream.c:
3566 * gio/gmemoryinputstream.c:
3567 * gio/gmemoryoutputstream.c:
3568 * gio/goutputstream.c:
3569 * gio/gsimpleasyncresult.c:
3570 * gio/gsocketinputstream.c:
3571 * gio/gsocketoutputstream.c:
3572 Add guards to the remaining public functions, add a TODO for
3573 an unimplemented function and remove some useless guards.
3575 2007-11-07 Alexander Larsson <alexl@redhat.com>
3578 Autoconf checks for the various types of
3579 getpwuid_r and getgrgid_r
3581 * gio/glocalfileinfo.c:
3582 Use the autoconf checks from above
3584 2007-11-07 Alexander Larsson <alexl@redhat.com>
3587 (g_local_file_query_filesystem_info):
3588 Some fixes for the statvfs case
3590 2007-11-07 Alexander Larsson <alexl@redhat.com>
3593 (g_local_file_query_filesystem_info):
3594 Pick the "best" of statfs / statvfs for the system
3595 if both are availible.
3597 2007-11-07 Alexander Larsson <alexl@redhat.com>
3599 Solaris fixes from Halton.Huo@Sun.COM:
3606 * gio/glocalfileinfo.c:
3607 Fix for solaris definition of getpwuid_r
3609 * gio/test-streams.c:
3610 Use G_GNUC_PRETTY_FUNCTION
3612 2007-11-07 Alexander Larsson <alexl@redhat.com>
3614 * gio/gdesktopappinfo.c:
3615 (update_default_list):
3616 Remove double semicolon.
3617 Patch from Jens Granseuer
3619 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3621 * docs/reference/gio/gio-sections.txt:
3622 * gio/gbufferedinputstream.c:
3623 * gio/gbufferedinputstream.h:
3624 * gio/gdatainputstream.c:
3625 * gio/gfileenumerator.c:
3626 * gio/gioscheduler.c:
3627 * gio/gunionvolumemonitor.c:
3629 * programs/gio-save.c:
3630 Fix typo: availible -> available. Unfortuntely this breaks API
3631 and ABI as g_buffered_input_stream_get_available() was renamed.
3633 * gio/gunixmounts.c:
3634 * gio/gbufferedinputstream.c:
3635 Add guards for public functions.
3637 2007-11-06 Ross Burton <ross@openedhand.com>
3639 * docs/reference/gio/Makefile.am:
3640 Fix invalid += usage which automake 1.10 doesn't like.
3642 2007-11-06 Alexander Larsson <alexl@redhat.com>
3645 (g_app_launch_context_class_init):
3648 Patch from Ross Burton
3650 2007-11-06 Alexander Larsson <alexl@redhat.com>
3653 Post release version bump
3655 === gio-standalone 0.1.1 ===
3657 2007-11-06 Alexander Larsson <alexl@redhat.com>
3660 Bump version to 0.1.1
3662 * gio/gsimpleasyncresult.c:
3663 (g_simple_async_result_set_from_error):
3664 Remove bogus g_return_if_fail
3666 2007-11-06 Alexander Larsson <alexl@redhat.com>
3669 The name is gio-standalone
3672 Add top src/builddir to includedir
3674 2007-11-06 Alexander Larsson <alexl@redhat.com>
3676 * docs/reference/gio/gio-sections.txt:
3678 * gio/gbufferedinputstream.c:
3679 * gio/gbufferedoutputstream.c:
3680 * gio/gcancellable.c:
3681 * gio/gdatainputstream.h:
3682 * gio/gdataoutputstream.c:
3683 * gio/gdataoutputstream.h:
3684 * gio/gdirectorymonitor.c:
3686 * gio/gfileattribute.c:
3687 * gio/gfileattribute.h:
3688 * gio/gfileenumerator.c:
3689 * gio/gfileenumerator.h:
3692 * gio/gfileinputstream.h:
3693 * gio/gfilemonitor.c:
3694 * gio/gfileoutputstream.h:
3695 * gio/glocalfilemonitor.h:
3696 * gio/glocalfileoutputstream.h:
3697 * gio/gmemoryinputstream.c:
3698 * gio/gmemoryoutputstream.c:
3699 * gio/gmountoperation.c:
3700 * gio/goutputstream.c:
3701 * gio/goutputstream.h:
3703 * gio/gsimpleasyncresult.c:
3704 * gio/gunixmounts.c:
3705 * gio/gunixmounts.h:
3707 * gio/inotify/inotify-helper.c:
3708 Fix gtk-doc warnings
3710 Patch from Ross Burton
3712 2007-11-06 Alexander Larsson <alexl@redhat.com>
3714 * gio/gfilenamecompleter.c:
3715 (g_filename_completer_get_completions):
3718 * gio/gunixvolume.c:
3719 Remove unused function
3721 Patches from Ross Burton
3723 2007-11-06 Alexander Larsson <alexl@redhat.com>
3728 Padding not needed for interfaces
3730 2007-11-06 Alexander Larsson <alexl@redhat.com>
3732 * gio/gfilemonitor.c:
3736 Make giotypes.h an internal file
3739 * gio/gbufferedinputstream.h:
3740 * gio/gbufferedoutputstream.h:
3741 * gio/gcancellable.h:
3742 * gio/gdatainputstream.h:
3743 * gio/gdataoutputstream.h:
3744 * gio/gdirectorymonitor.c:
3745 * gio/gdirectorymonitor.h:
3750 * gio/gfileattribute.h:
3751 * gio/gfileenumerator.h:
3756 * gio/gfilemonitor.c:
3757 * gio/gfilemonitor.h:
3758 * gio/gfilenamecompleter.c:
3759 * gio/gfilenamecompleter.h:
3760 * gio/gfilterinputstream.h:
3761 * gio/gfilteroutputstream.h:
3762 * gio/ginputstream.h:
3763 * gio/gmemoryinputstream.h:
3764 * gio/gmemoryoutputstream.h:
3765 * gio/gmountoperation.c:
3766 * gio/gmountoperation.h:
3767 * gio/gnativevolumemonitor.c:
3768 * gio/goutputstream.h:
3771 * gio/gsimpleasyncresult.c:
3772 * gio/gsimpleasyncresult.h:
3773 * gio/gsocketinputstream.h:
3774 * gio/gsocketoutputstream.h:
3775 * gio/gthemedicon.c:
3776 * gio/gthemedicon.h:
3780 * gio/gvolumemonitor.c:
3781 * gio/gvolumemonitor.h:
3782 Add padding in classes where it seems useful
3783 Don't include giotypes.h from public headers
3784 Move in Class definitions into c file where possible
3789 2007-11-06 Alexander Larsson <alexl@redhat.com>
3791 * docs/reference/gio/gio-docs.xml:
3792 Better structure for API docs
3794 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3797 * gio/gloadableicon.c:
3798 * gio/gsimpleasyncresult.c:
3799 * gio/gthemedicon.c:
3800 Add some more guards to public functions. Only files missing are now
3803 2007-11-06 Alexander Larsson <alexl@redhat.com>
3805 * docs/reference/gio/gio-docs.xml:
3806 Remove old files, add missing ones
3808 2007-11-06 Alexander Larsson <alexl@redhat.com>
3810 * docs/reference/gio/gio-sections.txt:
3813 Hide implementation classes
3815 * gio/gdriveprivate.h:
3816 * gio/gvolumeprivate.h:
3817 Remove non-existing function declarations
3819 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3822 Fix compilation warnings and add guards to the new functions.
3824 * gio/gasyncresult.c:
3826 Add guards to the public functions.
3829 Implement get_path().
3831 2007-11-06 Alexander Larsson <alexl@redhat.com>
3833 * gio/gfilenamecompleter.c:
3834 Make g_filename_completer_get_completions
3835 return char ** instead of GList for
3838 * docs/reference/gio/gio-docs.xml:
3839 * docs/reference/gio/gio-sections.txt:
3841 * gio/gasyncresult.c:
3842 * gio/gbufferedinputstream.c:
3843 * gio/gbufferedoutputstream.c:
3844 * gio/gcancellable.c:
3845 * gio/gcontenttype.c:
3846 * gio/gdatainputstream.c:
3847 * gio/gdataoutputstream.c:
3848 * gio/gdesktopappinfo.c:
3849 * gio/gdirectorymonitor.c:
3853 * gio/gfileattribute.c:
3854 * gio/gfileenumerator.c:
3857 * gio/gfileinputstream.c:
3858 * gio/gfilemonitor.c:
3859 * gio/gfilenamecompleter.c:
3860 * gio/gfilenamecompleter.h:
3861 * gio/gfileoutputstream.c:
3862 * gio/gfilterinputstream.c:
3864 * gio/ginputstream.c:
3866 * gio/gioscheduler.c:
3867 * gio/gloadableicon.c:
3868 * gio/glocaldirectorymonitor.c:
3870 * gio/glocalfileinputstream.c:
3871 * gio/glocalfilemonitor.c:
3872 * gio/glocalfileoutputstream.c:
3874 * gio/gmemoryinputstream.c:
3875 * gio/gmemoryoutputstream.c:
3876 * gio/gmountoperation.c:
3877 * gio/goutputstream.c:
3878 * gio/gpollfilemonitor.c:
3880 * gio/gsimpleasyncresult.c:
3881 * gio/gsocketinputstream.c:
3882 * gio/gsocketoutputstream.c:
3883 * gio/gthemedicon.c:
3884 * gio/gunionvolumemonitor.c:
3886 * gio/gunixmounts.c:
3887 * gio/gunixvolume.c:
3888 * gio/gunixvolumemonitor.c:
3892 * gio/gvolumemonitor.c:
3893 * gio/gwin32appinfo.c:
3894 Add (mostly stub) doc strings to public functions.
3895 Patch from Andrew Walton (awalton@gmail.com)
3897 2007-11-06 Alexander Larsson <alexl@redhat.com>
3899 * gio/gappinfo.[ch]:
3900 Added GAppLaunchContext object and pass that to launch.
3901 This allows simple implementation of both
3902 launch-on-screen and startup notification via a gtk+
3903 subclass of GAppLaunchContext
3905 * gio/gdesktopappinfo.c:
3906 Implement GAppLaunchContext API
3908 * gio/gwin32appinfo.c:
3911 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3913 * gio/gmountoperation.c:
3914 Add some guards to GMountOperation's public functions.
3916 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3920 * gio/gcancellable.c:
3921 * gio/gdirectorymonitor.c:
3923 * gio/gfileenumerator.c:
3924 * gio/gfilemonitor.c:,
3925 * gio/gfilenamecompleter.c:
3928 * gio/gioscheduler.c:
3932 * gio/gvolumemonitor.c:
3933 Add even more guards to various public functions.
3935 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3938 Add guards to the public functions of GAppInfo.
3940 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3942 * gio/gcontenttype.c:
3943 Add some more guards for public functions.
3945 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3947 * gio/fam/fam-module.c:
3948 * gio/fam/gfamdirectorymonitor.c:
3949 * gio/fam/gfamdirectorymonitor.h:
3950 * gio/fam/gfamfilemonitor.c:
3951 * gio/fam/gfamfilemonitor.h:
3952 * gio/inotify/ginotifydirectorymonitor.c:
3953 * gio/inotify/ginotifydirectorymonitor.h:
3954 * gio/inotify/ginotifyfilemonitor.c:
3955 * gio/inotify/ginotifyfilemonitor.h:
3956 Add proper copyright information and remove an unused variable
3957 in the GInotifyFileMonitor constructor.
3959 * gio/gcancellable.c:
3960 Add a guard for a public function and an assertion to prevent
3961 an undefined program state.
3963 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3965 * gio/gfileattribute.c:
3966 Don't run into an assertion if the given attribute value is NULL
3967 in g_file_attribute_value_get_*() but instead return a fallback
3968 value that makes sense in most situations. Passing them a attribute
3969 value with the wrong type will still run into an assertion.
3971 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3973 * gio/gfileattribute.c:
3975 Add even more guards to the public functions. Also fix the refcounting
3976 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3977 let g_file_info_list_attributes() filter the attributes by namespace
3978 instead of simply ignoring the namespace parameter.
3980 2007-11-03 Sven Herzberg <sven@imendio.com>
3982 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
3983 (This makes gio work on MacOS X again)
3985 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3988 Build the gio subdirectory before the docs. Otherwise the build will
3991 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
3992 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
3993 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
3994 Add guards to the public functions.
3996 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3998 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
3999 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4000 to prevent a compiler warning.
4002 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4003 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4004 return something in the non-void function find_topdir_for().
4006 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4013 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4015 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4016 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4017 * gwin32appinfo.c (g_win32_app_info_launch):
4018 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4019 envp_for_startup_id, g_desktop_app_info_launch,
4020 g_desktop_app_info_launch_uris):
4022 Give an opaque 'startup_id' string instead of 'envp'.
4023 Support empty file lists for launching new windows.
4024 Fix infinite recursion bug when launching URIs.
4026 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4029 Add guard to the new g_file_get_uri_scheme() function.
4031 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4034 Convert a g_return_val_if_fail() to setting the GError instead as
4035 otherwise applications have to verify the parameter before otherwise
4036 and the parameter might come directly from the user.
4038 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4040 * gio/inotify/ginotify*.[ch]:
4041 Add missing copyright information.
4043 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4046 Add guards in the beginning of public functions to check for valid
4047 parameters and fix a bug in copy_stream_with_progress() that could've
4048 caused writing less bytes than reading.
4049 * gio/glocalfileinfo.c:
4050 Check for a NULL parameter and set the GError accordingly then.
4051 * gio/goutputstream.c:
4052 Fix the same bug as in gfile.c that could've caused writing less bytes
4053 than reading in g_output_stream_real_splice().
4055 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4058 Use the correct gvolumeprivate.h naming
4060 2007-11-01 Christian Kellner <gicmo@gnome.org>
4063 Remove leftover "$(daemon_sources)" entry.
4065 2007-11-01 Christian Kellner <gicmo@gnome.org>
4070 Add copyright information to source files.
4072 2007-11-01 Alexander Larsson <alexl@redhat.com>
4076 Add g_file_get_uri_scheme
4078 2007-11-01 Alexander Larsson <alexl@redhat.com>
4081 * gio/gdesktopappinfo.c:
4082 * gio/gwin32appinfo.c:
4083 Add g_app_info_get_default_for_uri_scheme.
4085 2007-11-01 Alexander Larsson <alexl@redhat.com>
4088 Correct filename for gdriveprivate.h
4090 2007-10-31 Alexander Larsson <alexl@redhat.com>
4093 Rename id:value to id:file
4096 * gio/glocalfileinfo.c:
4099 2007-10-31 Alexander Larsson <alexl@redhat.com>
4101 * gio/gunixvolume.c:
4103 Remove g_volume_get_platform_id, as thats not
4104 needed with the simpler union volume monitor
4106 2007-10-31 Alexander Larsson <alexl@redhat.com>
4109 * gio/guniondrive.[ch]: Removed.
4110 * gio/gunionvolume.[ch]: Removed.
4111 Remove GUnionDrive/Volume
4113 * gio/gunionvolumemonitor.c:
4114 Simplify union volume monitor, now we
4115 only have one native volume monitor and
4116 we use the actual volumes/drives from the
4117 child monitors instead of wrapping them
4119 * gio/gnativevolumemonitor.[ch]:
4120 Base class for native volume monitors.
4121 Includes priority and get_volume_for_mountpoint
4124 Add g_file_find_enclosing_volume
4127 Remove volume name fs attribute
4128 Add readonly fs attribute
4131 Implement readonly attribute
4132 remove volume name attribute
4133 Implement find_enclosing volume
4135 * gio/gunixmounts.c:
4136 Add a volume for "/".
4138 * gio/gunixvolume.[ch]:
4139 Set better name for /
4141 * gio/gunixvolumemonitor.[ch]:
4142 Derive from GNativeVolumeMonitor
4143 Implement get_volume_for_mountpoint
4146 GVolume typedef moved to gfile.h
4148 * gio/gvolumeprivate.h:
4149 Add g_volume_get_for_mount_path
4151 2007-10-31 Alexander Larsson <alexl@redhat.com>
4153 * gio/gunixmounts.[ch]:
4154 Add cache info to unix mount listers
4155 Make getmntent use threadsafe
4156 Add is_system_internal attribute for GUnixMount
4158 * gio/gunixvolume.c:
4159 (g_unix_volume_new):
4160 Use is_system_internal instead of own code
4162 * gio/glocaldirectorymonitor.c:
4163 * gio/gunixvolumemonitor.c:
4164 Update to new gunixmounts API
4169 2007-10-30 Alexander Larsson <alexl@redhat.com>
4172 Add volume name fsinfo attribute
4175 Read volume name info
4177 * gio/gunionvolumemonitor.c:
4178 Fix infinite loops when finalizing a union volume monitor
4180 2007-10-30 Alexander Larsson <alexl@redhat.com>
4182 * gio/goutputstream.[ch]:
4183 Add splice() with default implementation
4185 * gio/gsocketoutputstream.c:
4186 (g_socket_output_stream_write):
4187 Return error on cancellation correctly.
4189 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4191 * gio/glocalfile.c (g_local_file_trash):
4192 Do not leak a string.
4194 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4196 * gio/gfile.c (g_file_load_contents):
4197 Unref the stream after closing it.
4199 2007-10-25 Alexander Larsson <alexl@redhat.com>
4201 * gio/gioscheduler.h:
4204 2007-10-25 Alexander Larsson <alexl@redhat.com>
4208 Add g_file_has_uri_scheme and implement for local files
4210 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4212 * gio/gdesktopappinfo.c: do not leak a string.
4214 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4216 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4217 (g_local_directory_monitor_new):
4218 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4219 (g_local_file_monitor_new):
4220 Only look for the monitor type that should be used the first time
4221 and use g_qsort_with_data() instead of our own bubble sort
4224 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4227 * gio/fam/Makefile.am:
4228 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4229 * gio/fam/fam-helper.h:
4230 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4231 * gio/fam/gfamdirectorymonitor.c:
4232 * gio/fam/gfamdirectorymonitor.h:
4233 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4234 * gio/fam/gfamfilemonitor.h:
4235 * gio/glocaldirectorymonitor.c:
4236 * gio/glocaldirectorymonitor.h:
4237 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4238 * gio/glocalfilemonitor.h:
4239 * gio/inotify/Makefile.am:
4240 * gio/inotify/ginotifydirectorymonitor.c:
4241 * gio/inotify/ginotifydirectorymonitor.h:
4242 * gio/inotify/ginotifyfilemonitor.c:
4243 * gio/inotify/ginotifyfilemonitor.h:
4244 Implement the FAM and Inotify monitors as
4245 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4246 their own GIO module. GLocal(Directory|File)Monitor will use the
4247 monitor with the highest rank that is supported on that machine.
4249 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4252 Change GIO module dir to $(libdir)/gio/modules and change
4253 the log domain from GVFS to GIO. Also only export symbols starting
4254 with g_ in the resulting library.
4255 * gio/test-streams.c: (main):
4256 Set log handler for the GIO log domain.
4258 2007-10-22 Alexander Larsson <alexl@redhat.com>
4260 * gio/gfilenamecompleter.[ch]:
4261 Add g_filename_completer_set_dirs_only
4263 2007-10-22 Alexander Larsson <alexl@redhat.com>
4266 * gio/gurifuncs.[ch]:
4267 Add some simple URI helpers
4269 * gio/gfilenamecompleter.[ch]:
4270 Added object for filename (parse name actually) completion
4273 Handle ~ in parse names
4275 2007-10-17 Alexander Larsson <alexl@redhat.com>
4278 * gio/glocalfileinfo.c:
4279 Add and implement id:value attribute
4281 2007-10-17 Alexander Larsson <alexl@redhat.com>
4284 * gio/guniondrive.c:
4286 Add and implement g_drive_has_volumes
4288 2007-10-17 Alexander Larsson <alexl@redhat.com>
4291 * gio/glocalfileinfo.[ch]:
4292 Add unix:is_mountpoint and implement for local files
4294 2007-10-16 Alexander Larsson <alexl@redhat.com>
4296 * gio/gunionvolumemonitor.c:
4297 (g_union_volume_monitor_init):
4298 Fix up the unix type getting so that it works with gcc
4300 2007-10-12 Alexander Larsson <alexl@redhat.com>
4303 * gio/glocalfileinfo.c:
4304 Add thumbnail:failed to file info
4306 2007-10-12 Richard Hult <richard@imendio.com>
4308 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4309 optimizing away the get_type call (happens with some gcc versions,
4310 like the one shipped with OS X 10.4).
4312 2007-10-12 Alexander Larsson <alexl@redhat.com>
4314 * gio/glocalfileinfo.c:
4315 (_g_local_file_info_set_attribute):
4316 Fix build if not HAVE_XATTR
4317 Patch from Milosz Derezynski <internalerror@gmail.com>
4319 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4321 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4322 around for review, otherwise I would have asked you before
4325 2007-10-11 Alexander Larsson <alexl@redhat.com>
4328 Add thumbnail:path attribute
4330 * gio/glocalfileinfo.c:
4331 Implement thumbnail:path for local files
4333 2007-10-11 Alexander Larsson <alexl@redhat.com>
4335 * gio/glocalfileinfo.c:
4336 (_g_local_file_info_get):
4337 Avoid duplicate icon names
4339 2007-10-11 Alexander Larsson <alexl@redhat.com>
4341 * gio/gthemedicon.[ch]:
4342 Change g_themed_icon_get_names return type to const
4344 2007-10-10 Alexander Larsson <alexl@redhat.com>
4346 * gio/glocalfileinfo.c:
4347 Don't reference freed memory
4349 2007-10-10 Alexander Larsson <alexl@redhat.com>
4351 * gio/gfileattribute.c:
4354 * gio/glocalfileinfo.c:
4357 2007-10-10 Alexander Larsson <alexl@redhat.com>
4360 Check for NULL icons
4362 * gio/gfileattribute.c:
4363 Don't dup when getting objects (same as for string attributes)
4365 * gio/gicon.c (g_icon_equal):
4366 Safely handle NULLs in equal
4368 2007-10-10 Alexander Larsson <alexl@redhat.com>
4371 Fix c++ compilation issues
4372 Patch from Milosz Derezynski <internalerror@gmail.com>
4374 2007-10-10 Alexander Larsson <alexl@redhat.com>
4376 * programs/gio-monitor-dir.c:
4377 Don't crash if dir monitor not supported.
4379 2007-10-09 Alexander Larsson <alexl@redhat.com>
4382 Add missing G_END_DECLS
4384 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4386 * gio/gfile.c: (g_file_set_display_name),
4387 (g_file_query_settable_attributes),
4388 (g_file_query_writable_namespaces):
4389 Return NULL not FALSE on errors as the return type is a pointer.
4391 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4393 * gio/glocalfile.c: (g_local_file_monitor_file):
4394 Don't call monitor_file on the default interface vtable (which
4395 is NULL) but simply return NULL. The caller, GFile, will create a
4396 polling monitor if NULL is returned.
4398 2007-10-09 Alexander Larsson <alexl@redhat.com>
4402 * gio-unix-2.0.pc.in:
4403 Add gio-unix-2.0.pc if OS_UNIX
4406 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4408 2007-10-09 Alexander Larsson <alexl@redhat.com>
4410 * gio/gunixmounts.[ch]:
4411 Make unix mount monitoring API sane.
4412 Now its just a object with mounts_changed
4413 and mountpoints_changed signals.
4415 * gio/glocaldirectorymonitor.c:
4416 * gio/gunixvolumemonitor.c:
4417 Use new mount monitor api
4419 2007-10-09 Alexander Larsson <alexl@redhat.com>
4421 * gio/gunixmounts.[ch]:
4422 Move guess type into one call for mounts and one for mountpoints
4425 * gio/gunixvolume.c:
4428 2007-10-09 Alexander Larsson <alexl@redhat.com>
4430 * gio/gunixmounts.[ch]:
4431 Remove _ prefix in preparation to make this semi-public
4432 Hide implementation of structs
4434 * gio/glocaldirectorymonitor.c:
4436 * gio/gunixvolume.c:
4437 * gio/gunixvolumemonitor.c:
4438 Update for above API changes
4440 2007-10-08 Alexander Larsson <alexl@redhat.com>
4443 Better polling fallback. This also handles the case where we have
4444 a monitor_file implementation, but it fails.
4446 2007-10-08 Alexander Larsson <alexl@redhat.com>
4450 * gio/gunixmounts.c:
4451 * programs/gio-monitor-dir.c:
4452 * programs/gio-monitor-file.c:
4453 Added cancellable to file monitoring calls.
4454 These are really sync calls and need this.
4456 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4458 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4459 (g_local_vfs_class_init):
4460 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4461 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4463 2007-10-05 Alexander Larsson <alexl@redhat.com>
4465 * gio/gdirectorymonitorprivate.h:
4466 * gio/gfilemonitorprivate.h:
4467 * gio/gdirectorymonitor.h:
4468 * gio/gfilemonitor.h:
4469 Remove *private.h and move to the public API, so that
4470 we can do implementations outside gio (such as in gvfs)
4472 * gio/gdirectorymonitor.c:
4473 * gio/gfilemonitor.c:
4474 * gio/glocaldirectorymonitor.c:
4475 * gio/gpollfilemonitor.c:
4476 * gio/inotify/inotify-helper.c:
4477 * gio/fam/fam-helper.c:
4478 Update to the new header names
4480 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4482 * gio/gdirectorymonitor.c:
4483 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4486 2007-10-04 Alexander Larsson <alexl@redhat.com>
4488 * gio/glocalfileinfo.c (get_access_rights):
4489 Set CAN_TRASH when we can move the file.
4490 We should really also check for a parent trash dir.
4492 2007-10-04 Alexander Larsson <alexl@redhat.com>
4494 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4495 Add can_trash access attribute
4497 2007-10-04 Alexander Larsson <alexl@redhat.com>
4500 (g_local_file_trash):
4501 Create info file first. This is per-spec and allows
4502 us to actually trash directories.
4504 2007-10-02 Alexander Larsson <alexl@redhat.com>
4506 * gio/gdesktopappinfo.c:
4507 Implement the new mime support code.
4508 Always set app as handling mimetype when being set as default for it
4510 2007-10-01 Alexander Larsson <alexl@redhat.com>
4512 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4513 Fix up check for xattrs:
4515 2007-10-01 Alexander Larsson <alexl@redhat.com>
4518 (g_app_info_set_as_default_for_extension):
4519 (g_app_info_add_supports_type):
4520 (g_app_info_can_remove_supports_type):
4521 (g_app_info_remove_supports_type):
4522 Make these fail nicely if not implemented
4524 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4526 * gio/glocalfileoutputstream.c:
4527 * gio/glocalfileoutputstream.h:
4532 * programs/gio-save.c:
4533 Add a GFileCreateFlags argument to operations that can create
4536 2007-10-01 Alexander Larsson <alexl@redhat.com>
4538 * gio/gappinfo.[ch]:
4539 * gio/gdesktopappinfo.c:
4540 Add more (stubbed out) mime API needed for nautilus
4542 2007-10-01 Alexander Larsson <alexl@redhat.com>
4545 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4546 Add g_app_info_set_as_default_for_extension.
4548 * gio/gdesktopappinfo.c:
4549 Dummy for g_app_info_set_as_default_for_extension
4550 Support flags in g_app_info_create_from_commandline
4552 * gio/gwin32appinfo.c:
4554 Update for API changes
4556 * gio/gthemedicon.c:
4557 Properly NULL-terminate list of icon names
4559 2007-09-28 Alexander Larsson <alexl@redhat.com>
4561 * gio/gloadableicon.h:
4562 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4564 2007-09-28 Alexander Larsson <alexl@redhat.com>
4567 Install headers in $includedir/gio-standalone/
4569 * gio-2.0.pc.in: Added.
4570 * gio-standalone.pc.in: Removed.
4573 Renamed pkg-config file to match glib (for future move)
4574 Update to the new include dir
4577 Add more TODO comments
4579 2007-09-28 Alexander Larsson <alexl@redhat.com>
4581 * gio/gdesktopappinfo.[ch]:
4582 Expose new_from_filename
4583 Add getter for is_hidden and handle it better
4585 2007-09-28 Alexander Larsson <alexl@redhat.com>
4587 * gio/gfileinfo.[ch]:
4588 Rename g_file_size_format_for_display to
4589 g_format_file_size_for_display.
4590 Now it doesn't have the g_file prefix, so we
4591 can later move it to glib.
4593 2007-09-28 Alexander Larsson <alexl@redhat.com>
4595 * gio/gappinfo.[ch]:
4596 Add g_app_info_get_id and g_app_info_get_executable.
4597 Make all getters non-reffing
4598 Make g_app_info_launch take GFile arguments.
4599 Add must_support_uris argument to g_app_info_get_default_for_type.
4601 * gio/gwin32appinfo.c:
4602 Update to GAppInfo api changes
4604 * gio/gdesktopappinfo.c:
4605 Update to GAppInfo api changes
4606 Implement supports_xdg_startup_notify
4608 * gio/gfileicon.c (g_file_icon_get_file):
4609 Make getter non-reffing.
4614 2007-09-27 Alexander Larsson <alexl@redhat.com>
4616 * gio/gfileinfo.[ch]:
4617 Add g_file_size_format_for_display helper
4619 2007-09-27 Alexander Larsson <alexl@redhat.com>
4621 * gio/glocalfileinfo.c:
4622 Set UNIX_GID from gid, not from uid
4624 2007-09-27 Alexander Larsson <alexl@redhat.com>
4627 Add g_file_set_attributes_async
4629 2007-09-27 Alexander Larsson <alexl@redhat.com>
4631 * gio/glocalfile.c (g_local_file_set_display_name):
4632 Fix set_display_name to actually rename to the right place.
4633 Use lstat to look for existing files so we don't overwrite
4636 2007-09-26 Alexander Larsson <alexl@redhat.com>
4639 Add g_file_set_display_name_async()
4641 2007-09-26 Alexander Larsson <alexl@redhat.com>
4644 Add load_partial_contents async calls
4647 Make internal function static
4649 2007-09-26 Alexander Larsson <alexl@redhat.com>
4651 * gio/glocalfileinfo.c:
4652 Correctly detect broken symlinks
4654 2007-09-26 Alexander Larsson <alexl@redhat.com>
4656 * gio/gcancellable.c (g_cancellable_cancel):
4657 Allow cancel on NULL cancellable
4659 2007-09-25 Alexander Larsson <alexl@redhat.com>
4661 * gio/gsimpleasyncresult.c:
4662 Don't allocate g_error manually.
4663 Fixes g_slice/g_new mixup crash
4665 2007-09-25 Alexander Larsson <alexl@redhat.com>
4667 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4668 Actually set active_backend.
4669 This means the monitor will be cancelled correctly.
4671 2007-09-25 Alexander Larsson <alexl@redhat.com>
4673 * gio/gdirectorymonitor.c:
4674 Set timeout to NULL when destroying
4676 2007-09-25 Alexander Larsson <alexl@redhat.com>
4679 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4680 that is a better description of the error.
4682 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4684 * gio/gvfs.c: (g_vfs_get_local):
4685 Make the local vfs variable static. The same instance should
4688 2007-09-24 Alexander Larsson <alexl@redhat.com>
4690 * gio/glocalfileinfo.c:
4691 Pass in actual length read into sniffer, not the length
4694 2007-09-21 Alexander Larsson <alexl@redhat.com>
4696 * gio/gfileenumerator.c:
4699 * gio/gfileinputstream.c:
4700 * gio/gfileoutputstream.c:
4701 * gio/ginputstream.c:
4702 * gio/goutputstream.c:
4703 Don't crash if async callbacks are NULL
4705 2007-09-20 Alexander Larsson <alexl@redhat.com>
4708 Add async enumerate_children method and default
4711 2007-09-20 Alexander Larsson <alexl@redhat.com>
4714 Add g_file_contains_file & g_file_get_relative_path, since they
4715 were needed for nautilus.
4716 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4721 Implement new methods
4723 2007-09-17 Alexander Larsson <alexl@redhat.com>
4726 * gio/gfileinputstream.[ch]:
4727 * gio/gfileoutputstream.[ch]:
4729 * gio/glocalfileenumerator.[ch]:
4730 * gio/glocalfileinfo.[ch]:
4731 * gio/glocalfileinputstream.c:
4732 * gio/glocalfileoutputstream.c:
4733 * gio/gpollfilemonitor.c:
4734 * programs/gio-copy.c:
4735 * programs/gio-info.c:
4736 * programs/gio-move.c:
4737 Rename get_file_info to query_info() to make it clearer
4738 that these are not simple getters, but do i/o.
4740 2007-09-17 Alexander Larsson <alexl@redhat.com>
4742 * gio/gdatainputstream.[ch]:
4743 * gio/test-streams.c:
4744 Use _read_XXX instead of _get_XXX for the i/o calls
4747 2007-09-17 Alexander Larsson <alexl@redhat.com>
4750 Added needed stuff to TODO comment
4752 2007-09-17 Alexander Larsson <alexl@redhat.com>
4754 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4755 Don't error out removing the backup copy if it doesn't
4758 2007-09-14 Alexander Larsson <alexl@redhat.com>
4760 * programs/Makefile.am:
4761 * programs/gvfs-*.c:
4763 Renamed apps from gvfs-xxx to gio-xxx.
4765 2007-09-14 Alexander Larsson <alexl@redhat.com>
4768 * gio/gfileoutputstream.[ch]:
4769 * gio/glocalfileoutputstream.c:
4770 * programs/gvfs-save.c:
4771 g_file_output_stream_get_etag doesn't do i/o, so remove
4772 cancellation and error.
4774 2007-09-14 Alexander Larsson <alexl@redhat.com>
4777 Add new_etag output to replace_contents functions
4779 2007-09-14 Alexander Larsson <alexl@redhat.com>
4781 * gio/gfileoutputstream.[ch]:
4782 Add async get_file_info and default implementation
4784 2007-09-14 Alexander Larsson <alexl@redhat.com>
4786 * gio/gfileinputstream.c:
4787 Implement fallback wrapper for async get_file_info
4789 2007-09-14 Alexander Larsson <alexl@redhat.com>
4792 Add etag out argument to load_contents
4797 2007-09-14 Alexander Larsson <alexl@redhat.com>
4799 * gio/gcontenttype.c (looks_like_text):
4800 Whitespace like tab, cr and lf do not make the
4803 2007-09-14 Alexander Larsson <alexl@redhat.com>
4805 * gio/gfileinputstream.[ch]:
4806 Add async get_file_info.
4808 2007-09-13 Alexander Larsson <alexl@redhat.com>
4810 * gio/goutputstream.c (g_output_stream_write_all):
4811 Allow NULL for bytes_written
4813 2007-09-13 Alexander Larsson <alexl@redhat.com>
4815 * gio/gmemoryinputstream.[ch]:
4816 Add accessors for data
4818 2007-09-13 Alexander Larsson <alexl@redhat.com>
4820 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4821 Don't crash if length is NULL