1 2008-08-09 Loïc Minier <lool@dooz.org>
3 Bug 535124 – umask 002 not being applied for new directories, new
4 files get the correct umask
6 * gfile.c (g_file_make_directory)
7 (g_file_make_directory_with_parents): Document ownership and
8 permissions of newly created directories as being the default
11 2008-08-08 Loïc Minier <lool@dooz.org>
13 Bug 535124 – umask 002 not being applied for new directories, new
14 files get the correct umask
16 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
19 2008-08-08 Tor Lillqvist <tml@novell.com>
21 * gwin32mount.c: Remove unused code. Whitespace cleanup.
23 * gwin32volumemonitor.c (get_connected_drives): Put questionable
24 code that didn't actually do anything inside #if 0, and add a
25 comment wondering what the code was supposed to do. This also gets
26 rid of a leftover debugging printout.
28 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
30 * gfileicon.c (g_file_icon_get_property)
31 (g_file_icon_set_property): New functions.
32 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
34 (g_file_icon_new): Use the property (bug #546132).
36 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
38 * gthemedicon.c (g_themed_icon_get_property): Also handle
39 `PROP_USE_DEFAULT_FALLBACKS'.
40 (g_themed_icon_class_init): Make
41 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
43 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
45 Bug 546371 – Improve docs re g_file_monitor
47 * gfilemonitor.c: Mention g_file_monitor() in the docs.
49 2008-08-04 Matthias Clasen <mclasen@redhat.com>
51 * === Released 2.17.6 ===
53 2008-08-04 Matthias Clasen <mclasen@redhat.com>
55 * === Released 2.17.5 ===
57 2008-08-04 Matthias Clasen <mclasen@redhat.com>
59 Bug 546017 – Don't copy attributes when copying a symlink
61 * gfile.c (g_file_copy_attributes): Specify
62 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
63 g_file_set_attributes_from_info. Patch by Christian Kellner
65 2008-08-04 Matthias Clasen <mclasen@redhat.com>
69 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
70 a bit more extensible. Work by Clemens Buss.
72 * gioenums.h: Add GEmblemOrigin.
75 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
77 Bug 546079 – leak in xdgmime
79 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
81 2008-08-03 Tor Lillqvist <tml@novell.com>
83 * win32/gwin32directorymonitor.h
84 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
87 2008-08-03 Tor Lillqvist <tml@novell.com>
89 * win32/gwin32directorymonitor.c
90 (g_win32_directory_monitor_callback): Make prototype match
91 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
92 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
95 (g_win32_directory_monitor_constructor):
96 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
97 names in the GLib API on Windows, so convert to UTF-16 and open
100 2008-08-03 Tor Lillqvist <tml@novell.com>
102 Bug 541036 - Gnumeric crashes when trying to open Desktop or
103 user's folder under Windows
105 * win32/gwin32directorymonitor.c
106 (g_win32_directory_monitor_constructor): Ignore error from
107 CreateFile() when opening directory. Instead of asserting, just
108 store INVALID_HANDLE_VALUE then in
109 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
110 ReadDirectoryChangesW().
111 (g_win32_directory_monitor_cancel): Don't attempt to close
112 directory handle if it is INVALID_HANDLE_VALUE.
114 2008-08-01 Matthias Clasen <mclasen@redhat.com>
116 * gdesktopappinfo.c: Remove debug spew
118 2008-08-01 Hans Breuer <hans@breuer.org>
120 * makefile.msc : add gemblembedicon
122 2008-07-30 Matthias Clasen <mclasen@redhat.com>
124 Bug 545457 – gdmsetup crashed with SIGSEGV in
125 g_unix_mount_guess_should_display()
127 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
128 crash if no mount is found.
130 2008-07-28 Matthias Clasen <mclasen@redhat.com>
132 Bug 545203 – gfile.c: argument is different type.
134 * gfile.c (open_read_async_thread): Pass a GError **
135 to g_file_set_error_literal.
136 Reported by Kazuki Iwamoto
138 2008-07-28 Matthias Clasen <mclasen@redhat.com>
140 Bug 545157 – wrong/no list of "open with" applications for .cc and
143 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
144 Collect all ancestors, not just direct parents. Pointed
145 out by Bastien Nocera
147 2008-07-28 Matthias Clasen <mclasen@redhat.com>
149 * Makefile.am: Install gemblemedicon.h
151 2008-07-28 Matthias Clasen <mclasen@redhat.com>
153 * gemblemedicon.[hc]: Add a GIcon implementation that can
154 add an emblem to another icon.
161 * gfileicon.c: Small documentation additions.
163 2008-07-28 Tor Lillqvist <tml@novell.com>
165 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
168 2008-07-27 Tor Lillqvist <tml@novell.com>
170 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
172 2008-07-24 David Zeuthen <davidz@redhat.com>
176 Also export a g_mount_guess_content_type_sync() function.
178 2008-07-23 Matthias Clasen <mclasen@redhat.com>
180 529694 – SELinux context setting support
182 * gfileinfo.c: Support setting selinux attributes.
183 Patch by Tomas Bzatek
185 2008-07-22 Priit Laes <plaes@plaes.org>
187 Bug 544140 - fam-helper 64-bit issue?
189 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
191 2008-07-21 Matthias Clasen <mclasen@redhat.com>
193 * === Released 2.17.4 ===
195 2008-07-20 Matthias Clasen <mclasen@redhat.com>
197 * gvolumemonitor.[hc]:
202 * gmount.c: Documentation fixes
204 2008-07-19 Matthias Clasen <mclasen@redhat.com>
206 543504 – crash in Epiphany Web Browser: Opening local file
217 * gvolume.c: Register types thread-safely.
218 Patch by Christian Persch
220 2008-07-18 Matthias Clasen <mclasen@redhat.com>
222 * gcontenttype.c: Remove debug spew
224 2008-07-18 Matthias Clasen <mclasen@redhat.com>
226 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
229 * fen/fen-kernel.c: Remove a warning that was causing
230 crashes. Reported by Lin Ma.
232 2008-07-18 Matthias Clasen <mclasen@redhat.com>
234 Bug 543040 – async reading on dummy file will crash on
237 * gfile.c (open_read_async_thread): Cope with read_fn being
238 NULL. Reported by Lin Ma.
240 2008-07-18 Matthias Clasen <mclasen@redhat.com>
243 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
245 2008-07-16 Matthias Clasen <mclasen@redhat.com>
249 * giomodule.c: Rename a chapter id to avoid filename conflict.
251 2008-07-16 Matthias Clasen <mclasen@redhat.com>
253 Bug 540616 – mem leak in filechooser button
255 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
256 the mount entry. Reported by Chrisitan Persch
258 2008-07-16 Matthias Clasen <mclasen@redhat.com>
260 * gfile.c: Small documentation fixes.
262 2008-07-15 Matthias Clasen <mclasen@redhat.com>
264 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
266 2008-07-08 Matthias Clasen <mclasen@redhat.com>
271 * gmount.c: Documentation improvements.
273 2008-07-08 Matthias Clasen <mclasen@redhat.com>
276 * gmount.[hc]: Add g_mount_guess_content_type().
278 2008-07-06 David Zeuthen <davidz@redhat.com>
281 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
282 is needed for easily handling adoption of foreign volumes by
283 out-of-process volume monitors (#541793)
285 2008-07-06 David Zeuthen <davidz@redhat.com>
287 * gvolumemonitor.[ch]:
288 * gunionvolumemonitor.c: Export the eject-button signal on the
289 volume monitor class (#541794).
291 2008-07-06 Matthias Clasen <mclasen@redhat.com>
293 * gappinfo.c: More doc tweaks
295 2008-07-05 Matthias Clasen <mclasen@redhat.com>
297 * gappinfo.c: Clarify some docs
299 2008-07-03 Matthias Clasen <mclasen@redhat.com>
301 * gdesktopappinfo.c: Fix a stupid mistake.
303 2008-07-02 Matthias Clasen <mclasen@redhat.com>
305 * === Released 2.17.3 ===
307 2008-07-02 Matthias Clasen <mclasen@redhat.com>
309 * gfilemonitor.c: Fix the build.
311 2008-07-02 Matthias Clasen <mclasen@redhat.com>
313 Bug 536160 – Add g_file_monitor()
316 * gfile.[hc]: Add g_file_monitor which can return either
317 a file or a directory monitor. Proposed by Behdad Esfahbod
319 2008-07-02 Matthias Clasen <mclasen@redhat.com>
321 536733 – gio build failure on Irix
323 * glocalfile.c: Use a configure check for structfs.f_bavail.
325 2008-07-02 Matthias Clasen <mclasen@redhat.com>
327 Bug 534639 – add g_desktop_app_info_new_from_keyfile
330 * gdesktopappinfo.[hc]: Add a function to create a
331 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
333 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
335 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
337 2008-07-01 Matthias Clasen <mclasen@redhat.com>
339 * gunixmounts.c: Fix a doc typo.
341 2008-07-01 Cody Russell <bratsche@gnome.org>
343 * gio/gcontenttype.c:
344 * gio/gwin32appinfo.c:
345 * gio/gwin32volumemonitor.c:
346 * gio/gwin32mount.c: Fixed some include problems.
348 2008-07-01 Cody Russell <bratsche@gnome.org>
352 Moved all relevant typedefs into these files.
355 Updated wrt added files.
357 Split types into separate file for easier maintainership. (#538564)
359 2008-06-30 Matthias Clasen <mclasen@redhat.com>
361 Bug 540331 – g_file_append_to () documentation: can return NULL
363 * gfile.c (g_file_append_to): Clarify docs.
366 2008-06-30 Matthias Clasen <mclasen@redhat.com>
368 Bug 539090 – g_content_type_from_mime_type() should unalias
370 * gcontentype.c (g_content_type_from_mime_type): Unalias.
371 Patch by Markus Bergman
373 2008-06-30 Matthias Clasen <mclasen@redhat.com>
375 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
378 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
379 on ppc and alpha. Reported by Mart Raudsepp
381 2008-06-29 Matthias Clasen <mclasen@redhat.com>
384 * tests/memory-output-stream.c: Add some tests for
387 2008-06-29 Matthias Clasen <mclasen@redhat.com>
389 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
392 * gmemoryoutputstream.c (array_resize): Handle truncation to
393 zero correctly. Reported by Akira Tagoh
395 2008-06-29 Matthias Clasen <mclasen@redhat.com>
397 * gmemoryoutputstream.c: Trivial doc fixes
399 2008-06-29 Matthias Clasen <mclasen@redhat.com>
401 Bug 540802 – g_list_prepend doesn't concat lists
403 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
404 one list to another. Pointed out by Jan Arne Petersen
406 2008-06-28 Michael Natterer <mitch@imendio.com>
408 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
410 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
412 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
413 to avoid problems with partial icon themes.
415 2008-06-17 Hans Breuer <hans@breuer.org>
417 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
418 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
419 access again on win32, see bug #538127
420 * giomodule.c : ensure GWin32VolumeMonitor is registered
421 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
422 * Makefile.am makefile.msc : updated
424 2008-06-16 Hans Breuer <hans@breuer.org>
426 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
427 and initialization in one step avoids c99ism
429 2008-06-16 Christian Persch <chpe@gnome.org>
432 * gio/gbufferedinputstream.c
434 * gio/gdatainputstream.c
435 * gio/gdesktopappinfo.c
437 * gio/gfileenumerator.c
438 * gio/gfileinputstream.c
439 * gio/gfileoutputstream.c
441 * gio/glocaldirectorymonitor.c
443 * gio/glocalfileenumerator.c
444 * gio/glocalfileinfo.c
445 * gio/glocalfilemonitor.c
446 * gio/glocalfileoutputstream.c
447 * gio/gmemoryinputstream.c
448 * gio/gmemoryoutputstream.c
449 * gio/goutputstream.c
450 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
453 2008-06-16 Tor Lillqvist <tml@novell.com>
455 Bug 538362 - Get Win32 icons back in the file chooser
457 * gcontenttype.c (g_content_type_get_icon): Look up the icon
458 corresponding to a file extension in the Registry. Patch by Hans
460 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
462 2008-06-16 Tor Lillqvist <tml@novell.com>
464 Patches by Hans Breuer:
466 * glocalfile.c (is_xp_or_later): Handle compiling against older
467 SDK headers with missing VerifyVersionInfo(). Conditioned on
468 _MSC_VER, but should probably use some better test.
469 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
470 uninitialised statfs_result variable on Win32.
472 2008-06-16 Michael Natterer <mitch@imendio.com>
474 * *.c: chain up unconditionally in finalize() and dispose(). Also
475 don't dereference these function pointers when calling them since
476 that has no meaning at all.
478 2008-06-16 Ross Burton <ross@burtonini.com>
481 Remove check for dispose implementation as it annoys Emmanuele.
483 2008-06-16 Ross Burton <ross@burtonini.com>
485 Bug 536252 – GFileEnumerator should allow access to the containing
491 Add g_file_enumerator_get_container() and a container writeable
492 construct-only property. Also shuffle around typedefs to make it
495 * glocalfileenumerator.c:
496 * glocalfileenumerator.h:
498 Instead of a string filename take a GFile in the constructor and
499 use it to set the container property.
504 2008-06-16 Matthias Clasen <mclasen@redhat.com>
506 * gfile.c: Make includes more uniform
508 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
510 * tests/live-g-file.c (sample_struct):
511 Use less fancy unicode filenames, so the test doesn't fail
512 on Mac OS X (#531476).
514 2008-06-12 Matthias Clasen <mclasen@redhat.com>
516 * === Released 2.17.2 ===
518 2008-06-12 Matthias Clasen <mclasen@redhat.com>
520 * === Released 2.17.1 ===
522 2008-06-11 A. Walton <awalton@gnome.org>
524 * tests/g-file.c (test_g_file_new_null):
525 Fix broken test case.
527 2008-06-11 Matthias Clasen <mclasen@redhat.com>
529 * pltcheck.sh: We use g_clear_error now.
531 2008-06-11 Matthias Clasen <mclasen@redhat.com>
533 * glocalfile.c (g_local_file_enumerate_children): Revert
534 an unintended change.
536 2008-06-11 Matthias Clasen <mclasen@redhat.com>
538 * gfile.c (g_file_replace_contents): Don't unref before the last use.
540 2008-06-10 Matthias Clasen <mclasen@redhat.com>
542 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
545 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
546 as icon for the desktop directory, also make user-home and
547 user-desktop the preferred icons.
549 2008-06-10 Matthias Clasen <mclasen@redhat.com>
552 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
553 to add a name to the front of the list.
555 2008-06-10 Matthias Clasen <mclasen@redhat.com>
557 Bug 537392 – Additional colon in xattr name
559 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
560 too. Reported by Alessandro Morandi
562 2008-06-10 Matthias Clasen <mclasen@redhat.com>
564 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
567 * glocalfile.c (get_fs_type): Add afs and autofs.
568 Patch by Danny Baumann.
570 2008-06-10 Matthias Clasen <mclasen@redhat.com>
572 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
574 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
575 is no parent. (Owen Taylor, patch by Christian Neumair)
577 2008-06-10 Paolo Borelli <pborelli@katamail.com>
579 * gfile.c (g_file_replace_contents): do not leak the output stream.
581 2008-06-10 Michael Natterer <mitch@imendio.com>
583 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
584 uninitialized memory as array index.
586 2008-06-10 Tor Lillqvist <tml@novell.com>
588 * gcontenttype.c (g_content_type_can_be_executable)
589 (g_content_type_get_icon) [Win32]: Add TODO comments.
591 2008-06-09 Matthias Clasen <mclasen@redhat.com>
593 * xdgmime/Makefile.am: Fix the build
595 2008-06-09 Matthias Clasen <mclasen@redhat.com>
597 * gcontenttype.c (g_content_type_get_icon): Use icons specified
598 in the shared mime database, if available.
600 * xdgmime/*: Sync with upstream. This brings support for
601 glob weights, generic icons, and changes the cache format to
604 2008-05-28 Michael Natterer <mitch@imendio.com>
606 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
607 the global CPPFLAGS now.
609 * tests/data-input-stream.c
610 * tests/data-output-stream.c
611 * tests/g-file-info.c
613 * tests/live-g-file.c
614 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
616 2008-05-27 Matthias Clasen <mclasen@redhat.com>
618 * === Released 2.17.0 ===
620 * tests/live-g-file.c: Clean up after the tests, so make distcheck
621 doesn't complain about leftover files.
623 2008-05-27 simon.zheng <simon.zheng@sun.com>
625 * glocalfile.c: (g_local_file_query_filesystem_info):
626 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
628 2008-05-26 Michael Natterer <mitch@imendio.com>
630 * gmemoryoutputstream.h: declare
631 g_memory_output_stream_get_data_size().
633 2008-05-26 Matthias Clasen <mclasen@redhat.com>
635 * tests/*: Make tests work
637 2008-05-26 Matthias Clasen <mclasen@redhat.com>
639 * gio.symbols: Add g_memory_output_stream_get_data_size.
641 2008-05-25 Ross Burton <ross@burtonini.com>
644 Fix typo in error message (#534764).
646 2008-05-25 Ross Burton <ross@burtonini.com>
649 Fix circular dependency loop for gioenumtypes.h (#534759).
651 2008-05-19 Hans Breuer <hans@breuer.org>
653 * Makefile.am : EXTRA_DIST += makefile.msc
655 2008-05-17 Matthias Clasen <mclasen@redhat.com>
658 * gcontenttype.c: (g_content_type_from_mime_type):
659 New function to create a content type from a mime type. (#527175,
662 2008-05-17 Matthias Clasen <mclasen@redhat.com>
664 Bug 532965 – Should not return filesystem::free for certain file systems
666 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
667 free space for ncpfs.
669 2008-05-17 Matthias Clasen <mclasen@redhat.com>
671 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
673 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
674 st_dev might be zero.
676 2008-05-16 Tor Lillqvist <tml@novell.com>
678 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
679 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
681 2008-05-13 Bastien Nocera <hadess@hadess.net>
683 * gfile.c (has_valid_scheme): A URI scheme must start with a
684 letter, even if later more characters are allowed (#532852)
686 2008-05-05 Michael Natterer <mitch@imendio.com>
688 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
689 code from being checked in that breaks the build of applications
690 which use G_DISABLE_SINGLE_INCLUDES.
692 * makegioalias.pl: make the alias file include "glib.h" instead of
695 * gio.symbols: whitespace change to force regeneration of the
696 alias file after above script change.
698 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
700 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
702 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
704 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
706 2008-04-28 David Zeuthen <davidz@redhat.com>
708 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
709 displaying mounts in a subdirectory not accessible to the
712 2008-04-22 Michael Natterer <mitch@imendio.com>
714 * Makefile.am: fix library versioning (it was 0.0.0).
716 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
718 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
719 Default disable all loggings.
720 * fen/fen-kernel.c: (printevent), (port_add_kevent),
721 (port_fetch_event_cb): Fixed two macro nits.
723 2008-04-16 Matthias Clasen <mclasen@redhat.com>
725 * xdgmime/xdgmime.c: Rework the timestamp checking code
726 to protect against duplicate directories in XDG_DATA_DIRS.
727 Fixes fd.o bug 12513, reported by Joe Shaw.
729 2008-04-16 Matthias Clasen <mclasen@redhat.com>
731 Partically revert the last commit after realizing that
732 xdg_mime_media_type_equal doesn't have to init at all.
735 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
737 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
739 2008-04-16 Matthias Clasen <mclasen@redhat.com>
741 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
742 reported by Joe Shaw and Federico Mena Quintero.
744 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
745 (xdg_mime_media_type_equal): Turn into a wrapper around the
748 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
749 functions throughout.
751 2008-04-16 Michael Meeks <michael.meeks@novell.com>
753 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
754 tolerate an empty TryExec= line without failing; nautilus used
755 to create launchers with these in previous versions. Fixes #528433
757 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
759 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
760 after name. Fixes #527132.
762 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
764 * gfile.c: (g_file_replace):
767 2008-04-07 Matthias Clasen <mclasen@redhat.com>
769 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
771 * gfile.c (file_copy_fallback): Fix the argument order. Patch
772 by Christian Kellner.
774 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
776 * gunixmounts.c: (g_unix_mount_guess_should_display):
777 Don't list the user directory as a mount, fix potential issue
778 when other users have a similar naming and don't special case the
779 gvfs mounts there since that's not required (#525866)
781 2008-03-31 Alexander Larsson <alexl@redhat.com>
783 * glocalfile.c (get_parent):
786 2008-03-31 A. Walton <awalton@svn.gnome.org>
788 * gfile.c (g_file_query_file_type):
789 Always return a GFileType enum value (#520715).
791 2008-03-31 Alexander Larsson <alexl@redhat.com>
793 * glocalfileenumerator.c:
794 Read readdir() info in chunks (of 1000) and sort
795 the chunks by inode before stat:ing.
796 This is a 20% performance increase in testing
797 gvfs-ls on /usr/bin with cold cache.
799 2008-03-31 Alexander Larsson <alexl@redhat.com>
801 * gmemoryoutputstream.c:
802 Clarify docs for g_memory_output_stream_get_size.
803 Add g_memory_output_stream_get_data_size.
805 2008-03-30 Matthias Clasen <mclasen@redhat.com>
809 * gfile.h: Add g_file_query_file_type convenience function
810 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
812 2008-03-30 Matthias Clasen <mclasen@redhat.com>
815 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
817 2008-03-28 A. Walton <awalton@svn.gnome.org>
819 * giomodule.c (_g_io_modules_ensure_loaded):
820 Adds GIO_EXTRA_MODULES environment variable support, closing bug
823 2008-03-28 Alexander Larsson <alexl@redhat.com>
826 (copy_stream_with_progress):
829 2008-03-28 Alexander Larsson <alexl@redhat.com>
832 (copy_stream_with_progress):
833 (file_copy_fallback):
834 Fallback to g_file_query_info for source size
835 if g_file_input_stream_query_info fails. (#524579)
837 2008-03-28 Alexander Larsson <alexl@redhat.com>
839 * glocalfile.c (g_local_file_move):
840 Reuse old string instead of adding new one.
842 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
844 * fen/*.[hc]: still copyright issue. I hate copyright.
846 2008-03-27 Alexander Larsson <alexl@redhat.com>
848 * glocalfile.c (g_local_file_move):
849 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
850 file over directory. This is according to the docs and what the move via
851 copy+remove fallback does.
853 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
855 * fen/*.[hc]: Updated copyright.
857 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
859 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
861 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
863 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
864 not emit attribute changed events when optimizing changed events.
865 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
868 2008-03-19 Matthias Clasen <mclasen@redhat.com>
870 * gmountoperation.[hc]: Small documentation additions
872 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
874 * gunixmounts.c: (guess_mount_type):
875 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
877 2008-03-19 Alexander Larsson <alexl@redhat.com>
880 (copy_stream_with_progress):
881 Bump block side for copy to 64k to minimize
882 overhead for low latency links. (#523015)
884 2008-03-16 Tor Lillqvist <tml@novell.com>
886 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
887 depend on gio.def on Windows.
889 2008-03-12 David Zeuthen <davidz@redhat.com>
893 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
895 2008-03-14 Alexander Larsson <alexl@redhat.com>
899 Avoid redudant tests (#521851)
900 Patch from Josselin Mouette
902 2008-03-14 Alexander Larsson <alexl@redhat.com>
905 (g_file_monitor_is_cancelled):
906 Fix C89 issue (#521672)
907 Patch from Jens Granseuer
909 2008-03-14 Alexander Larsson <alexl@redhat.com>
911 * fam/fam-helper.[ch]:
913 Shut down fam (including removing fam GSource) when
914 module is unloaded (#521513)
915 Patch from Joe Marcus Clarke
917 2008-03-14 Alexander Larsson <alexl@redhat.com>
920 (_g_io_modules_ensure_loaded):
923 2008-03-14 Alexander Larsson <alexl@redhat.com>
926 (g_local_file_query_filesystem_info):
927 Use right define name for f_fstypename member check
929 2008-03-14 Alexander Larsson <alexl@redhat.com>
932 * fen/Makefile.am: Added.
933 * fen/fen-data.[ch]: Added.
934 * fen/fen-dump.[ch]: Added.
935 * fen/fen-helper.[ch]: Added.
936 * fen/fen-kernel.[ch]: Added.
937 * fen/fen-missing.[ch]: Added.
938 * fen/fen-node.[ch]: Added.
939 * fen/fen-sub.[ch]: Added.
940 * fen/gfendirectorymonitor.[ch]: Added.
941 * fen/gfenfilemonitor.[ch]: Added.
943 Added Solaris FEN file notification backend.
944 Patch from Lin Ma <Lin.Ma@Sun.COM>
946 2008-03-13 Tor Lillqvist <tml@novell.com>
948 * Makefile.am: Actually use the gio.def file when linking the
949 library on Windows. Produce .lib library for Microsoft's toolchain
950 when possible. Install the .lib and .def file like for the other
953 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
955 * tests/live-g-file.c:
956 Include live-g-file in standard set of tests, making a temporary
957 directory in source structure.
959 Clean target directory before the tests (write mode only)
961 2008-03-12 Tor Lillqvist <tml@novell.com>
963 Bug 517419 - gio win32 directory monitor
964 Implementation by Vlad Grecescu.
967 * win32/gwin32directorymonitor.h
968 * win32/gwin32directorymonitor.c: New files.
970 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
972 * Makefile.am: Add the win32 subdirectory.
974 2008-03-12 Tor Lillqvist <tml@novell.com>
976 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
977 normal struct stat on Unix but struct _stati64 on Windows to have
978 access to 64-bit file size information. Use that instead of struct
979 stat in the functions declared here in this private header.
981 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
982 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
983 warnings about unused functions and variables. Don't set
984 meaningless attributes like inode numbers on Windows.
986 2008-03-12 Benjamin Otte <otte@gnome.org>
989 trim whitespace so gtk-doc groks the function name
991 2008-03-12 Tor Lillqvist <tml@novell.com>
993 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
994 returning FALSE, on Win32.
996 2008-03-11 Alexander Larsson <alexl@redhat.com>
999 * glocalfileinfo.[ch]:
1000 Correctly implement can_trash by actually
1001 looking for a trash dir, not just assuming
1004 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1006 * === Released 2.16.1 ===
1008 2008-03-11 Alexander Larsson <alexl@redhat.com>
1011 Fix crashes in new constructor and properties code
1013 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1015 * gfile.c: Minor spelling correction in documentation:
1016 existance -> existence.
1018 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1020 * === Released 2.16.0 ===
1022 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1024 * gio.symbols: Remove g_file_contains_file here, too.
1026 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1028 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1029 Samuel Cormier-Iijima)
1031 2008-03-08 Tor Lillqvist <tml@novell.com>
1033 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1036 2008-03-07 Alexander Larsson <alexl@redhat.com>
1039 (g_local_file_query_filesystem_info):
1040 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1041 Patch from Jasper Lievisse Adriaanse
1043 2008-03-06 Tor Lillqvist <tml@novell.com>
1045 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1046 comments for the *_USEC attributes.
1048 2008-03-06 Alexander Larsson <alexl@redhat.com>
1050 * gfile.c (g_file_query_exists):
1051 Add g_return_val_if_fail check (#520700)
1053 2008-03-06 Alexander Larsson <alexl@redhat.com>
1055 * gdesktopappinfo.c:
1058 * gunionvolumemonitor.c:
1061 * tests/live-g-file.c:
1062 * xdgmime/xdgmimecache.c:
1063 Fix sparse warnings (#519489)
1065 2008-03-05 Alexander Larsson <alexl@redhat.com>
1068 Make cancellation threadsafe (i.e.
1069 guarantee its only done once, and always
1072 * glocaldirectorymonitor.c:
1073 Make sure we the monitor lives while the
1074 mounts_changed callback is being called (#520484)
1076 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1078 * gbufferedinputstream.c: Fix typo in parameter
1081 2008-03-04 Alexander Larsson <alexl@redhat.com>
1084 Remove deprecated symbols we kept for one release.
1086 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1089 * goutputstream.c: Tiny documentation corrections.
1091 2008-03-03 Alexander Larsson <alexl@redhat.com>
1093 * gunionvolumemonitor.c:
1095 Fix the adopt_orphan_mount vfunc to take a
1096 volume_monitor reference in an ABI compat way.
1097 This change is not API compat, but the added
1098 arg is not used in the only user of this vfunc, so
1099 all we get is a harmless warning in gvfs (#520169)
1101 2008-03-01 Benjamin Otte <otte@gnome.org>
1104 clarify docs for g_file_delete().
1106 2008-02-29 Alexander Larsson <alexl@redhat.com>
1110 Make sure empty files get text/plain type (#518720)
1112 2008-02-27 Alexander Larsson <alexl@redhat.com>
1118 (g_unix_volume_mount):
1119 Add missing GMountMountFlags argument
1121 2008-02-26 Alexander Larsson <alexl@redhat.com>
1124 (g_local_file_delete):
1125 Handle filesystems (like ntfs-3g) that return EEXIST instead
1126 of ENOTEMPTY (#518816)
1128 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1130 * === Released 2.15.6 ===
1132 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1134 * gfile.c (g_file_find_enclosing_mount):
1135 * ginputstream.c (g_input_stream_set_pending):
1136 * glocalfile.c (g_local_file_find_enclosing_mount):
1137 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1138 * goutputstream.c (g_output_stream_set_pending):
1140 Fixup translator comments (#518578).
1142 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1144 * gfile.c (g_file_find_enclosing_mount):
1146 * glocalfile.c (g_local_file_find_enclosing_mount):
1149 Fix a few typos in translator comments and documentation.
1151 2008-02-25 Alexander Larsson <alexl@redhat.com>
1158 Add translator comments (#518578)
1160 2008-02-25 Alexander Larsson <alexl@redhat.com>
1163 Reintroduce g_file_contains_file, keep around for one
1164 unstable release cycle to avoid crashing to many apps.
1165 Make sure to delete after release.
1167 2008-02-25 Alexander Larsson <alexl@redhat.com>
1170 Remove deprecated g_file_contains_file.
1172 2008-02-25 Alexander Larsson <alexl@redhat.com>
1175 Emit actual change signals in an idle handler.
1176 This avoids reentrance and locking problems in
1177 the file notification backends.
1179 2008-02-25 Alexander Larsson <alexl@redhat.com>
1182 (g_unix_mount_guess_should_display):
1183 Remove type guessing, instead just display
1184 mounts in /media and in ~/.
1186 2008-02-25 Alexander Larsson <alexl@redhat.com>
1189 Make new strings reuse old ones.
1191 2008-02-25 Alexander Larsson <alexl@redhat.com>
1194 Implement trashing and filesystem::readonly for win32 (#517235)
1195 Patch from Yevgen Muntyan
1197 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1199 * gfileinfo.h: Documentation fixes.
1201 2008-02-22 Alexander Larsson <alexl@redhat.com>
1203 * gcontenttype.c (g_content_type_get_icon):
1204 Look at old-style gnome mime icon names too, as many
1205 have not moved to the new style.
1207 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1209 * *.c: Correct the @include in for section docs.
1211 2008-02-21 David Zeuthen <davidz@redhat.com>
1213 * glocalfileinfo.c: (_g_local_file_info_get):
1215 (g_content_type_get_icon): Implement this function by
1216 moving bits from glocalfileinfo.c
1217 (g_content_type_get_description): Unalias before getting
1218 description (#517687)
1220 * gfile.c: (g_file_class_init),
1221 (g_file_query_filesystem_info_async),
1222 (g_file_query_filesystem_info_finish),
1223 (query_filesystem_info_data_free),
1224 (query_filesystem_info_async_thread),
1225 (g_file_real_query_filesystem_info_async),
1226 (g_file_real_query_filesystem_info_finish):
1227 * gfile.h: Implement async version of
1228 g_file_query_filesystem_info()
1230 * gfileinfo.h: Add new attributes for filesystem::use-preview
1232 * gio.symbols: Update
1234 * gthemedicon.c: (g_themed_icon_append_name):
1235 * gthemedicon.h: Add new new convenience function.
1237 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1238 (get_mounts), (get_volumes), (get_connected_drives),
1239 (get_volume_for_uuid), (get_mount_for_uuid),
1240 (g_union_volume_monitor_init), (populate_union_monitor),
1241 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1242 (g_volume_monitor_adopt_orphan_mount):
1244 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1245 monitor implementations to call into the main volume monitor. Also
1246 separate object initialization and volume monitor initialization
1247 such that non-native volume monitors can properly adopt their
1250 2008-02-21 Alexander Larsson <alexl@redhat.com>
1255 2008-02-21 Alexander Larsson <alexl@redhat.com>
1258 Add more documentation about how GFiles work (from #517086)
1260 2008-02-21 Alexander Larsson <alexl@redhat.com>
1264 Add new g_file_has_prefix that does the same as g_file_contains_file.
1265 Deprecate g_file_contains_file and add a macro that converts
1266 it to g_file_has_prefix.
1267 The reason for this change is that the contains_file() name seems to
1268 imply that this does more work than what it does, but its really only
1269 a name match (from #517086)
1274 Update to match the above change.
1276 2008-02-20 Benjamin Otte <otte@gnome.org>
1278 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1279 (g_file_eject_mountable):
1280 even more cases of not returning in error path
1282 2008-02-20 Benjamin Otte <otte@gnome.org>
1284 * gfile.c: (g_file_mount_mountable):
1285 return from function in error path.
1287 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1290 Remove trailing coma in GMountMountFlags struct
1292 2008-02-18 Alexander Larsson <alexl@redhat.com>
1296 * glocalfileoutputstream.c:
1297 Use g_unlink/g_rename instead of unlink/rename;
1298 do not pass raw filenames to g_set_error. (#517239)
1299 Patch from Yevgen Muntyan.
1301 2008-02-18 Alexander Larsson <alexl@redhat.com>
1304 * glocalfileoutputstream.c:
1305 Open files with O_BINARY on windows. (#517140)
1307 2008-02-14 Alexander Larsson <alexl@redhat.com>
1309 * glocalfileoutputstream.c:
1310 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1312 2008-02-14 Alexander Larsson <alexl@redhat.com>
1315 Copy permissions with file on copy (#514084)
1316 This is what cp does and makes sure e.g. the
1317 exec permissions are kept.
1318 Its kinda weird in that it keeps the permission bits
1319 the same while the uid and gid are different. However
1320 the new uid is the user so its not a security issue,
1321 and I've heard no complaints about cp on this issue.
1323 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1325 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1327 2008-02-13 Alexander Larsson <alexl@redhat.com>
1329 * inotify/inotify-path.c:
1330 Define IN_ONLYDIR if not in header (#515346)
1332 2008-02-12 Alexander Larsson <alexl@redhat.com>
1334 * tests/live-g-file.c:
1337 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1339 * === Released 2.15.5 ===
1341 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1343 * gio.symbols: Add g_mount_mount_flags_get_type.
1345 2008-02-11 Alexander Larsson <alexl@redhat.com>
1348 (g_file_info_set_attribute_mask):
1349 (g_file_attribute_matcher_matches_id):
1350 Correctly handle NULL GAttributeMatcher meaning
1351 matches nothing. (Fixes #513492)
1353 2008-02-11 Alexander Larsson <alexl@redhat.com>
1358 Added GMountMountFlags enum and added a flags
1359 argument to all mount calls.
1361 This is an API/ABI change for future extensibility,
1362 as I think we will need at least an
1363 inhibit-autorun flag (the panel needs this).
1364 There are no flags defined yet though.
1366 2008-02-11 Alexander Larsson <alexl@redhat.com>
1369 Added new standard::description attribute.
1370 Requested by Vincent, and useful for both
1373 2008-02-11 Alexander Larsson <alexl@redhat.com>
1375 * gdesktopappinfo.c:
1378 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1380 * *.c: Documentation additions
1382 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1384 * gappinfo.h: Formatting cleanup
1385 * gappinfo.c: Fix up docs.
1387 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1389 * gunixmounts.c: Consistently use getmntent_r() and fall
1390 back to getmntent(). (#515492)
1392 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1394 * gbufferedinputstream.c:
1396 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1398 * tests/data-input-stream.c:
1399 * tests/data-output-stream.c: Portability fixes.
1401 2008-02-08 Alexander Larsson <alexl@redhat.com>
1406 Add g_volume_should_automount.
1409 2008-02-07 Tor Lillqvist <tml@novell.com>
1411 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1412 Win32, too Unix-specific.
1414 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1416 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1417 a local plt if the compiler doesn't support what we want. Bug #514702
1419 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1421 reviewed by: <delete if not using a buddy>
1424 * gunixinputstream.c:
1425 * gunixoutputstream.c:
1427 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1429 * tests/Makefile.am:
1430 * tests/live-g-file.c:
1431 * tests/live-g-file.txt:
1432 New GIO testing module working over real data
1434 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1436 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1437 Fallback to rename() if link() is not available
1438 (when no support on target filesystem)
1440 2008-02-06 Michael Natterer <mitch@imendio.com>
1442 * gfileinfo.c (g_file_info_get_icon): replace
1443 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1445 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1447 * gfile.c (g_file_create):
1448 Documentation update of error codes
1450 2008-02-06 Alexander Larsson <alexl@redhat.com>
1452 * gdesktopappinfo.c:
1453 Update to use both mimeapps.list and
1454 defaults.list as discussed on xdg list.
1456 2008-02-06 Benjamin Otte <otte@gnome.org>
1459 * gfilenamecompleter.c:
1460 Fix some typos in the documentation.
1462 2008-02-06 Alexander Larsson <alexl@redhat.com>
1464 * glocalfile.c (g_local_file_trash):
1465 Don't succeed with trash if newly created
1466 trash dir has the wrong owner. (#514696)
1468 2008-02-05 Alexander Larsson <alexl@redhat.com>
1470 * glocalfile.c (g_local_file_move):
1471 Don't spew warnings when destination is not
1474 2008-02-03 Hans Breuer <hans@breuer.org>
1476 * makefile.msc : update
1478 2008-02-01 Michael Natterer <mitch@imendio.com>
1480 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1481 return value of xdg_mime_list_mime_parents() to a variable of the
1484 2008-02-01 Alexander Larsson <alexl@redhat.com>
1486 * gappinfo.c (g_app_info_launch_uris):
1487 Actually call the launch_uris method, not
1490 2008-02-01 Alexander Larsson <alexl@redhat.com>
1492 * gdesktopappinfo.c (g_desktop_app_info_equal):
1493 Ensure appinfos with no id but same pointer value
1496 2008-02-01 Alexander Larsson <alexl@redhat.com>
1498 * gappinfo.c (g_app_info_launch_default_for_uri):
1501 2008-02-01 Alexander Larsson <alexl@redhat.com>
1505 Add g_app_info_launch_default_for_uri utility
1508 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1510 * gdesktopappinfo.c:
1511 Doc fix for g_app_info_get_default_for_uri_scheme ()
1514 2008-01-30 Alexander Larsson <alexl@redhat.com>
1517 Add doc comment about uris vs GFiles to
1520 * gdesktopappinfo.c:
1521 Ensure uris passed to g_app_info_launch_uris()
1522 are not roundtriped through GFile (as that
1523 may be slightly destructive for e.g. mailto: links)
1525 2008-01-30 Alexander Larsson <alexl@redhat.com>
1527 * tests/data-input-stream.c:
1528 * tests/data-output-stream.c:
1529 C89 fixes from Jens Granseuer (#512849)
1531 2008-01-30 Alexander Larsson <alexl@redhat.com>
1534 Fix gamin/fam difference build issue. (#509419)
1536 2008-01-29 Alexander Larsson <alexl@redhat.com>
1539 * gdesktopappinfo.c:
1540 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1542 2008-01-29 Alexander Larsson <alexl@redhat.com>
1544 * gdesktopappinfo.c:
1545 * gdesktopappinfo.h:
1546 giomodule-priv.h include moved to .c file.
1548 2008-01-29 Alexander Larsson <alexl@redhat.com>
1550 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1551 Remove unused prio/name fields.
1553 2008-01-29 Alexander Larsson <alexl@redhat.com>
1555 * gcontenttype.c (looks_like_text):
1556 Don't treat whitespace as control chars.
1558 2008-01-29 Alexander Larsson <alexl@redhat.com>
1560 * gdesktopappinfo.c:
1561 Lazily create the desktop files for appinfos created
1562 by g_app_info_create_from_commandline() when needed
1563 for mime associations. This allows run-time use
1564 of GAppInfo object without creating unnecessary
1567 2008-01-29 Alexander Larsson <alexl@redhat.com>
1570 Added new symbols to gio.symbols
1572 2008-01-29 Alexander Larsson <alexl@redhat.com>
1575 Add g_file_query_default_handler utility to easily look up
1576 the GAppInfo that handles a file.
1578 * gdesktopappinfo.[ch]:
1580 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1583 Remove unused function
1585 2008-01-29 Alexander Larsson <alexl@redhat.com>
1587 * gfileenumerator.c:
1588 Mention need to free returned value in
1589 g_file_enumerator_next_files_finish docs.
1590 Fix leak if g_file_enumerator_next_files_finish()
1593 2008-01-29 Alexander Larsson <alexl@redhat.com>
1596 (_g_unix_content_type_get_parents):
1597 Use list_parents, not get_parents from xdgmime, because
1598 the later doesn't use the cache.
1600 * xdgmime/xdgmimecache.c:
1601 (_xdg_mime_cache_list_mime_parents):
1602 Don't list the same type as parent multiple times.
1604 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1606 * === Released 2.15.4 ===
1608 2008-01-28 Alexander Larsson <alexl@redhat.com>
1611 Register local vfs with prio 0.
1614 Remove old name and prio class members
1616 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1618 * tests/g-file.c: Disable some tests that are failing in
1619 the absence of a http backend.
1621 2008-01-28 Alexander Larsson <alexl@redhat.com>
1625 Add registration hooks for extension points.
1626 Register the gio extension points.
1628 * fam/gfamdirectorymonitor.c:
1629 * fam/gfamfilemonitor.c:
1630 * glocaldirectorymonitor.[ch]:
1631 * glocalfilemonitor.[ch]:
1632 * gnativevolumemonitor.h:
1633 * gunionvolumemonitor.c:
1634 * gunixvolumemonitor.c:
1637 * inotify/ginotifydirectorymonitor.c:
1638 * inotify/ginotifyfilemonitor.c:
1639 Use the extension points registration instead
1640 of g_type_children().
1642 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1645 * gvolume.[hc]: Document new API.
1647 * gfile.c (g_file_copy_async): Fix docs
1649 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1651 * gbufferedinputstream.c:
1653 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1656 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1658 * glocalfile.c: Avoid trivial differences in translatable strings.
1660 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1662 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1663 build with gcc 3.4 (#509419)
1665 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1667 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1668 (#509994, Murray Cumming)
1670 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1672 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1673 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1674 this allows big jobs to be executed in chunks, instead of blocking
1675 the main loop for a long time.
1677 * gsimpleasyncresult.c:
1678 * giofile.c: Adapt callers.
1680 2008-01-25 Alexander Larsson <alexl@redhat.com>
1682 * gdesktopappinfo.c:
1683 Implement changes discussed on xdg list.
1684 Now we can add supported mimetypes by just using defaults.list
1685 We can also remove associations in defaults.list.
1687 2008-01-25 Alexander Larsson <alexl@redhat.com>
1689 * gdesktopappinfo.c:
1690 Don't make local copy of desktop file
1691 for mimetype changes if the file already
1692 supports the new mimetype.
1694 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1698 * gbufferedinputstream.c:
1699 * glocalfile.c: String improvements. (#511966,
1700 Theppitak Karoonboonyanan)
1702 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1704 * gioscheduler.h: Expand docs a bit.
1706 2008-01-24 Alexander Larsson <alexl@redhat.com>
1709 Add g_drive_get_identifier and
1710 g_drive_enumerate_identifiers
1713 Add g_volume_get_identifier and
1714 g_volume_enumerate_identifiers
1720 Implement identifiers for unix backend
1722 2008-01-24 Alexander Larsson <alexl@redhat.com>
1727 Add g_file_copy_async() (#511580)
1728 Based on patch from Carlos Garcia Campos
1730 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1732 * gioscheduler.c: Some documentation additions.
1734 2008-01-22 Alexander Larsson <alexl@redhat.com>
1736 * gdesktopappinfo.c:
1737 (g_desktop_app_info_new):
1738 Don't leak basename.
1740 2008-01-22 Alexander Larsson <alexl@redhat.com>
1742 * gdesktopappinfo.c:
1743 (g_desktop_app_info_new_from_filename):
1746 2008-01-22 Alexander Larsson <alexl@redhat.com>
1748 * glocalfileinfo.c (get_thumbnail_attributes):
1751 2008-01-22 Alexander Larsson <alexl@redhat.com>
1754 (canonicalize_filename):
1755 Canonicalize paths that start with more than
1759 (compare_two_files):
1760 (test_g_file_new_for_path):
1763 2008-01-22 Alexander Larsson <alexl@redhat.com>
1766 Allow UTF-8 in file:// parse names.
1768 * tests/Makefile.am:
1769 * tests/data-input-stream.c:
1770 * tests/data-output-stream.c:
1771 * tests/g-file-info.c:
1773 Added a bunch of tests from Tomas Bzatek
1775 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1777 * === Released 2.15.3 ===
1779 2008-01-21 Alexander Larsson <alexl@redhat.com>
1781 * gfileinputstream.[ch]:
1782 * gfileoutputstream.[ch]:
1784 Remove duplicated GSeekable functions. (#509990)
1785 Just use the g_seekable_xxx() calls instead.
1787 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1790 * gvolumemanager.c: Whitespace cleanups.
1792 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1793 Use the right mode when creating the file.
1795 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1797 * gfileenumerator.c:
1798 * gfileinputstream.c:
1800 * goutputstream.c: Documentation: Fixed minor typos
1801 and added more mentions of specific _finish() functions.
1803 2008-01-21 Alexander Larsson <alexl@redhat.com>
1805 * inotify/Makefile.am:
1806 * inotify/inotify-helper.c:
1807 * inotify/inotify-kernel.c:
1808 * inotify/inotify-path.c:
1809 * inotify/local_inotify.h: Removed.
1810 * inotify/local_inotify_syscalls.h: Removed.
1811 Removed the included copies of the inotify
1812 headers. We now only use the <sys/inotify.h>
1813 header which exists on modern systems.
1814 This fixes problems on ARM and SH5 (#510448)
1815 but is also generally much cleaner and future
1816 safe. For instance, if other OSes add support
1817 for inotify it should "just work".
1819 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1821 * inotify/*.c: Coding style fixes.
1822 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1823 for the 1/4 Hz timer.
1825 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1828 * gfilemonitor.[hc]:
1829 * gmemoryinputstream.c:
1830 * gmemoryoutputstream.c:
1831 * gmountoperation.c:
1832 * gthemedicon.c: Documentation updates
1834 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1836 * gfile.c: documentation: Fixed more minor
1839 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1841 * gmount.c: (g_mount_remount): documentation:
1842 Mention g_mount_remount_finish() instead of
1843 g_mount_unmount_finish().
1845 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1849 * gfile.c: Fixed some minor typos in the
1852 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1854 * gio/gvolumemonitor.c:
1855 (g_volume_monitor_get_connected_drives):
1856 (g_volume_monitor_get_volumes):
1857 (g_volume_monitor_get_mounts): Documentation:
1858 Clarify the ownership of the regurn GLists.
1860 2008-01-17 Alexander Larsson <alexl@redhat.com>
1863 Add the async find_enclosing_mount version
1864 to the header file too.
1866 2008-01-17 Alexander Larsson <alexl@redhat.com>
1869 Add async version of find_enclosing_mount
1870 with default implementation.
1872 2008-01-17 Alexander Larsson <alexl@redhat.com>
1877 Allow calls to implementation of copy and write
1878 even if the type of the file implementations is
1879 different. This can be used to implement native
1880 upload and download calls in a vfs.
1883 (g_local_file_move):
1884 Protect against the case where move is called
1885 with one file not being local.
1887 Make sure we call the progress callback once
1888 in the native move operation so that the caller
1889 knows how many bytes were copied.
1891 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1894 * gdatainputstream.c:
1896 * gfileoutputstream.c:
1901 * gunixmounts.c: Corrected some typos in the documentation:
1902 occured -> occurred.
1903 its -> it's (where appropriate).
1905 2008-01-16 Alexander Larsson <alexl@redhat.com>
1909 Add g_file_query_exists (#508771)
1911 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1916 * gvolume.c: For async functions that have no non-async
1917 version, document that the GAsyncReadyCallback may be NULL.
1920 2008-01-15 Alexander Larsson <alexl@redhat.com>
1922 * gmemoryinputstream.c:
1923 * gmemoryoutputstream.c:
1924 Don't do pointer arithmetic on void * (#508602)
1925 Patch from Kazuki IWAMOTO
1927 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1929 * === Released 2.15.2 ===
1931 2008-01-14 Alexander Larsson <alexl@redhat.com>
1933 * gfile.c (g_file_monitor_file):
1934 Don't set error here, since we fallback to polling monitor.
1936 2008-01-14 Alexander Larsson <alexl@redhat.com>
1939 (g_file_monitor_directory):
1940 (g_file_monitor_file):
1941 Add GError to file monitor calls
1943 * glocaldirectorymonitor.c:
1944 * glocaldirectorymonitor.h:
1946 * glocalfilemonitor.c:
1947 * glocalfilemonitor.h:
1949 Update for above change
1951 2008-01-14 Alexander Larsson <alexl@redhat.com>
1955 Handle root correctly in g_file_get_relative_path (#508719)
1957 2008-01-14 Alexander Larsson <alexl@redhat.com>
1960 Clean up docs and example for GAsyncResult (#508074)
1962 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1964 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1965 and correct some spelling mistakes. Bug #508108.
1967 2008-01-11 Matthias Clasen <mclasen@redhat.com>
1969 * glocalfileinfo.c: Add a comment.
1971 2008-01-10 Murray Cumming <murrayc@murrayc.com>
1973 * gfileinfo.c: GFileInfo description: Mention
1974 how to actually set attributes in a GFile and how to discover
1975 which attributes are settable. Bug #508378.
1977 2008-01-10 A. Walton <awalton@svn.gnome.org>
1979 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
1980 (g_app_info_get_default_for_type):
1981 Check for NULL content types.
1983 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
1985 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
1987 2008-01-09 Murray Cumming <murrayc@murrayc.com>
1989 * gfile.c: *_async() functions: Several small corrections
1990 to the documentation, mostly correcting copy/paste errors
1991 and improving some sentences.
1993 2008-01-09 Dan Winship <danw@gnome.org>
1995 * glocalfile.c (get_unique_filename): x86_64 fix
1997 2008-01-09 Alexander Larsson <alexl@redhat.com>
2002 Add g_unix_mount_guess_should_display and use
2003 for unix volume monitor backend.
2004 This means we more or less show what the
2005 gnome-vfs backend did.
2006 Based on patch from Padraig O'Briain
2008 2008-01-09 Alexander Larsson <alexl@redhat.com>
2012 Add g_themed_icon_new_with_default_fallbacks
2015 Use default fallbacks for icons
2017 2008-01-09 Alexander Larsson <alexl@redhat.com>
2020 * gmountoperation.[ch]:
2021 Change the API a bit so that unhandled methods
2022 get reported via the reply, rather than by
2023 the signal emission return value. This is because
2024 some handlers can't know this immediately without
2025 doing I/O, and this is an async operation that
2028 2008-01-09 Alexander Larsson <alexl@redhat.com>
2031 * fam/gfamdirectorymonitor.c:
2032 * fam/gfamfilemonitor.c:
2033 Fix double free crash (#508224)
2034 Patch from Joe Marcus Clarke
2036 008-01-07 Matthias Clasen <mclasen@redhat.com>
2038 * === Released 2.15.1 ===
2040 2008-01-07 Alexander Larsson <alexl@redhat.com>
2042 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2043 Fix warning (#507835)
2045 2008-01-07 Alexander Larsson <alexl@redhat.com>
2048 Pass --internal to glib-genmarshal
2051 * gmountoperation.c:
2053 Use better types for signal arguments (#507822)
2055 2008-01-07 Alexander Larsson <alexl@redhat.com>
2058 Build test subdir after .
2059 Remove gdirectorymonitor.[ch]
2061 * gdirectorymonitor.[ch]:
2065 Remove GDirectoryMonitor and make
2066 GFileMonitor the baseclass for both file and
2067 directory monitors. Lift the more generic
2068 rate limiting code from GDirectoryMonitor
2072 * fam/gfamdirectorymonitor.[ch]:
2073 * inotify/ginotifydirectorymonitor.[ch]:
2074 * inotify/inotify-helper.c:
2075 * glocaldirectorymonitor.[ch]:
2078 Update for the removed GDirectoryMonitor.
2080 * gmemoryoutputstream.c:
2081 Remove ununsed variable
2083 2008-01-07 Alexander Larsson <alexl@redhat.com>
2085 * gmemoryinputstream.c:
2086 Translate error strings
2089 * gmemoryoutputstream.[ch]:
2090 New implementation that avoids using GByteArray
2091 in implementation and API. (#506377)
2093 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2095 * tests/*: Add a test for memory input streams.
2097 * Makefile.am: Add tests to SUBDIRS.
2099 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2101 * glocalfilemonitor.c:
2102 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2105 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2107 * gdesktopappinfo.c: Fix a docs typo.
2109 * gfileattribute.c: Add information about extended attributes
2110 to the documentation. (#505058)
2112 2008-01-04 Alexander Larsson <alexl@redhat.com>
2115 * gmountoperation.c:
2116 Use the right type (uint) for the ask_password signal.
2118 2008-01-04 Alexander Larsson <alexl@redhat.com>
2123 Add g_app_info_supports_files()
2124 Remove desktop arg from g_app_info_should_show().
2126 * gdesktopappinfo.[ch]:
2127 Implement g_app_info_supports_files() and new should_show()
2128 Add g_desktop_app_info_set_desktop_env() to set the desktop
2129 for should_show(). (This will be set by gtk+ later)
2131 2008-01-04 Alexander Larsson <alexl@redhat.com>
2134 * gmemoryinputstream.[ch]:
2135 Improve API so that you can use multiple chunks
2136 of memory and custom destroy functions. (#506374)
2138 2008-01-03 Alexander Larsson <alexl@redhat.com>
2141 Handle NULL attribute matchers safely, as we return this
2142 for empty attribute matcher strings.
2144 2008-01-03 Alexander Larsson <alexl@redhat.com>
2146 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2147 Add /usr/local to list of internal mountpoints
2149 2008-01-03 Alexander Larsson <alexl@redhat.com>
2152 Check for HAVE_LCHOWN (#505887)
2154 2008-01-03 Alexander Larsson <alexl@redhat.com>
2158 Add define for selinux context attribute.
2159 Fix missing : -> :: namespace separator change
2160 Fix missing _ -> - name change for xattr-sys.
2163 2008-01-03 Alexander Larsson <alexl@redhat.com>
2166 Link to libglib and libgobject directly (#504879)
2167 Patch from Sebastien Bacher
2169 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2171 * gfile.c: Expanded the g_file_new_for_commandline_arg
2172 description a bit, based on the code and the docs of the
2173 other g_file_new_for_* functions.
2175 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2177 * gfilemonitor.h: Fixed typo in docs.
2179 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2181 Updates to GIO documentation. (#506395, Mikael Hermansson)
2183 * gcontenttype.c: Describe memory management for return value of
2184 g_content_types_get_registered(). Missing piece from #505815.
2185 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2186 GVolume, GDrive, GMounts, which hopefully gives the user less
2187 confusions when using this API. Following explainations from
2188 Alexander Larsson on gtk-devel-list.
2190 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2192 * gfileinfo.c: Expand the long description.
2194 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2197 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2198 fix builds with --disable-visibility. (#500273, Christian Persch)
2200 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2202 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2203 in the list of returned app infos.
2205 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2207 * gappinfo.c: Fix a cross-reference
2209 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2211 * gfileinputstream.c:
2212 * gfileoutputstream.c:
2216 * gdesktopappinfo.c:
2218 * gfileinfo.c: Documentation updates.
2220 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2222 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2225 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2227 * gcontenttype.c (g_content_types_get_registered): Don't return
2228 freed memory (#505815, Mikael Hermansson)
2230 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2232 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2233 used to detect statbuf->st_blocks. (#505042)
2235 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2237 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2238 environment handling. (#504829, Cosimo Cecchi)
2240 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2242 * gappinfo.c: Doc improvements
2244 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2247 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2249 * === Released 2.15.0 ===
2251 2007-12-20 Hans Breuer <hans@breuer.org>
2253 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2254 with symbols gwin32appinfo.obj, added gmount.obj
2255 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2257 2007-12-20 Alexander Larsson <alexl@redhat.com>
2263 * gfilenamecompleter.c:
2266 * gpollfilemonitor.c:
2267 File attribute renames:
2269 fs:: -> filesystem::
2270 id::fs -> id::filesystem
2272 2007-12-20 Alexander Larsson <alexl@redhat.com>
2281 Add GMountUnmountFlags to all unmount and
2283 Add g_mount_remount() call.
2285 2007-12-20 Alexander Larsson <alexl@redhat.com>
2287 * gvfs.c (get_default_vfs):
2288 Fix unused variable warning
2290 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2292 * pltcheck.sh: Update
2294 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2296 * gunionvolumemonitor.c:
2297 * gunixmount.c: Remove C99 comments
2299 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2301 * gio.symbols: Add some missing symbols
2303 2007-12-19 Alexander Larsson <alexl@redhat.com>
2306 Make g_io_modules_load_all_in_directory not unuse
2307 loaded modules so that users of it can do stuff
2309 Init internal "module" types.
2310 Initialize static prio and name for types so that
2311 we don't have to load modules to get it.
2313 * gnativevolumemonitor.h:
2315 Move is_supported to parent class so that
2316 non-native monitors can avoid being initialized
2317 too. (For instance GDaemonVolumeMonitor if we're
2318 not using GDaemonVfs.)
2320 * glocaldirectorymonitor.[ch]:
2321 * glocalfilemonitor.[ch]:
2322 * gunionvolumemonitor.c:
2323 * gunixvolumemonitor.c:
2325 Find plugins using the static prio+name to
2326 avoid unnecessarily loading the modules.
2328 2007-12-19 Alexander Larsson <alexl@redhat.com>
2333 2007-12-19 Alexander Larsson <alexl@redhat.com>
2335 * gunionvolumemonitor.c:
2336 Store the native type as GType, not class so that
2337 we can unload it. But still avoid unnecessarily
2340 2007-12-19 David Zeuthen <davidz@redhat.com>
2342 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2343 add signals 'disconnected' and 'eject-button' on GDrive. Add
2344 signal 'removed' on GVolume and 'unmounted' on GMount.
2346 * gdrive.c: (g_drive_base_init):
2348 * gfile.c: (g_file_mount_mountable),
2349 (g_file_mount_enclosing_volume):
2352 * gmount.c: (g_mount_base_init):
2354 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2355 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2356 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2360 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2362 * *.c: Fix up includes in the section docs.
2364 2007-12-17 Alexander Larsson <alexl@redhat.com>
2366 * gnativevolumemonitor.h:
2367 * gunionvolumemonitor.c:
2368 * gunixvolumemonitor.c:
2369 Add is_supported() to GNativeVolumeMonitorClass so
2370 that we can avoid having to create an object to see
2371 if the backend is supported at runtime.
2372 Also add name member and an env var to pick a specific
2373 volume monitor backend.
2377 Add cancellable to _g_mount_get_for_mount_path()
2379 * glocaldirectorymonitor.c:
2380 * glocalfilemonitor.c:
2381 Avoid loading and unloading modules while sorting.
2383 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2386 * gunixmounts.[hc]: Namespace waste reduction, move some
2387 g_get_unix_mount functions to the g_unix_mount namespace.
2390 * gunixvolumemonitor.c:
2392 * glocaldirectorymonitor.c: Update all callers.
2394 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2396 2007-12-17 Alexander Larsson <alexl@redhat.com>
2399 Add doc comments about what GFile operations are
2400 guaranteed to not block.
2402 2007-12-17 Alexander Larsson <alexl@redhat.com>
2405 Add missing #ifdef fixing OSX build.
2406 (#503334, patch from Richard Hult)
2408 2007-12-14 David Zeuthen <davidz@redhat.com>
2412 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2413 (g_mount_eject), (g_mount_eject_finish):
2415 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2416 (get_volume_for_uuid), (get_mount_for_uuid),
2417 (g_union_volume_monitor_class_init),
2418 (get_default_native_type_with_exclude), (get_default_native_type),
2419 (get_native_type), (update_native_type),
2420 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2421 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2422 (g_unix_mount_can_eject), (eject_unmount_cb),
2423 (eject_unmount_read_error), (eject_unmount_do),
2424 (g_unix_mount_unmount), (g_unix_mount_eject),
2425 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2426 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2427 (g_unix_mount_point_guess_can_eject):
2429 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2430 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2431 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2432 (g_unix_volume_mount), (g_unix_volume_eject),
2433 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2434 * gunixvolumemonitor.c: (get_volume_for_uuid),
2435 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2437 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2438 (g_volume_eject), (g_volume_eject_finish):
2440 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2441 (g_volume_monitor_get_mount_for_uuid):
2444 Provide eject() on both GMount and GVolume and utility functions
2445 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2446 ejected. Introduce the concept of UUID's and wire it into GVolume
2447 and GMount and provide API on GVolumeMonitor to find such
2448 instances. Also handle the case where an external
2449 GNativeVolumeMonitor fails to initialize. Lock around the
2450 _g_get_mount_for_mount_path() function such that volume monitor
2451 implementations won't have to do locking themselves.
2453 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2455 * gdesktopappinfo.c:
2461 * gvolume.h: Documentation updates
2463 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2466 * gfile.h: Doc updates
2468 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2471 * gdesktopappinfo.c: Use hash table iterators.
2473 2007-12-14 Alexander Larsson <alexl@redhat.com>
2476 * gfileattribute.[ch]:
2477 * gfileattribute-priv.h:
2478 Move GFileAttributeValue to a private header, as
2482 Make set_attribute take a type + a pointer instead
2483 of a GFileAttributeValue.
2486 Fix up for above changes.
2487 Add g_file_info_get_attribute_data to get
2488 all info in one call, g_file_info_get_attribute_status
2489 to get the status and g_file_info_get_attribute_as_string.
2493 * glocalfileinfo.[ch]:
2497 Make _guess_type static.
2499 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2502 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2503 made mkenums and friends use temporary files to avoid leaving
2504 empty generated files on failure (#503470).
2506 2007-12-14 Alexander Larsson <alexl@redhat.com>
2508 * gmountoperation.h:
2511 2007-12-14 Alexander Larsson <alexl@redhat.com>
2515 * gfileattribute.[ch]:
2518 * glocalfileoutputstream.c:
2519 * gmountoperation.[ch]:
2520 * goutputstream.[ch]:
2521 Clean up all flags enums to not have _FLAGS in them
2522 Make the names of some of the enums better.
2527 2007-12-14 Michael Natterer <mitch@imendio.com>
2529 * gio.symbols: fix g_io_scheduler symbol names.
2531 2007-12-14 Alexander Larsson <alexl@redhat.com>
2537 * gbufferedinputstream.h:
2538 * gbufferedoutputstream.h:
2541 * gdatainputstream.h:
2542 * gdataoutputstream.h:
2543 * gdesktopappinfo.h:
2544 * gdirectorymonitor.h:
2548 * gfileenumerator.h:
2551 * gfileinputstream.h:
2553 * gfilenamecompleter.h:
2554 * gfileoutputstream.h:
2555 * gfilterinputstream.h:
2556 * gfilteroutputstream.h:
2564 * gmemoryinputstream.h:
2565 * gmemoryoutputstream.h:
2567 * gmountoperation.h:
2570 * gsimpleasyncresult.h:
2572 * gunixinputstream.h:
2574 * gunixoutputstream.h:
2578 * inotify/Makefile.am:
2579 Only allow including <gio/gio.h> from apps
2581 2007-12-14 Alexander Larsson <alexl@redhat.com>
2583 * gioscheduler.[ch]:
2584 * gsimpleasyncresult.c:
2585 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2586 Split out the send_to_mainloop call into two versions instead
2587 of having the block argument.
2589 2007-12-13 Alexander Larsson <alexl@redhat.com>
2591 * gcancellable.[ch]:
2593 * gbufferedinputstream.c:
2594 * gfileenumerator.c:
2595 * gfileinputstream.c:
2596 * gfileoutputstream.c:
2600 g_push/pop_current_cancellable ->
2601 g_cancellable_push/pop_current
2603 2007-12-13 Alexander Larsson <alexl@redhat.com>
2607 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2609 2007-12-13 Alexander Larsson <alexl@redhat.com>
2611 * gmountoperation.h:
2612 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2614 2007-12-12 Alexander Larsson <alexl@redhat.com>
2617 Fix race condition when freeing proxy in
2618 g_io_job_send_to_mainloop().
2620 2007-12-12 Alexander Larsson <alexl@redhat.com>
2626 Make attribute namespace separator "::" instead of ":".
2627 Use - instead of _ as separator in attribute names.
2629 2007-12-12 Alexander Larsson <alexl@redhat.com>
2631 * gbufferedinputstream.h:
2632 * gbufferedoutputstream.h:
2633 * gdatainputstream.h:
2634 * gdataoutputstream.h:
2635 * gdirectorymonitor.h:
2636 * gfileenumerator.h:
2637 * gfileinputstream.h:
2639 * gfileoutputstream.h:
2640 * gfilterinputstream.h:
2641 * gfilteroutputstream.h:
2643 * glocalfileinputstream.h:
2644 * glocalfileoutputstream.h:
2645 * gmemoryinputstream.h:
2646 * gmemoryoutputstream.h:
2647 * gnativevolumemonitor.h:
2649 * gunixinputstream.h:
2650 * gunixoutputstream.h:
2653 s/parent/parent_instance/ in GObjects
2655 2007-12-12 Alexander Larsson <alexl@redhat.com>
2660 No need for padding for interfaces
2662 2007-12-12 Alexander Larsson <alexl@redhat.com>
2666 * gbufferedinputstream.c:
2667 * gbufferedoutputstream.c:
2670 * gdatainputstream.[ch]:
2671 * gdesktopappinfo.c:
2672 * gdirectorymonitor.c:
2674 * gfileattribute.[ch]:
2677 * gfileinputstream.h:
2678 * gfilemonitor.[ch]:
2679 * gfileoutputstream.[ch]:
2680 * gfilterinputstream.h:
2681 * gfilteroutputstream.h:
2684 * gloadableicon.[ch]:
2685 * gmemoryinputstream.c:
2686 * gmountoperation.c:
2688 Fix up a bunch of details in the docs.
2693 2007-12-11 David Zeuthen <davidz@redhat.com>
2695 Rework how volumes, drives and volume monitoring is
2696 done. Previosly the model was
2698 GDrive <1-1> GVolume
2700 where a GDrive instance represented a mount point and a GVolume
2701 instance represented a mounted file system. This patch changes it
2704 GDrive <1-N> GVolume <1-1> GMount
2706 where GMount now serves the purpose of the old GVolume and the new
2707 GVolume serves the purpose of the old GDrive. In addition the new
2708 GDrive interface is used to represent a collection of GVolume
2709 instances (typically partitions) and also contains utility to query
2710 the state of the physical drive the GDrive object represents (such
2711 as checking for media, polling the drive, ejecting the media etc.).
2713 Also implement mounting and unmounting in the Unix volume monitor
2714 backend. A subquent patch will introduce GDrive support for ejection
2718 * gdrive.c: (g_drive_is_media_check_automatic),
2719 (g_drive_is_media_removable), (g_drive_has_media),
2720 (g_drive_can_poll_for_media), (g_drive_eject),
2721 (g_drive_eject_finish), (g_drive_poll_for_media),
2722 (g_drive_poll_for_media_finish):
2724 * gfile.c: (g_file_find_enclosing_mount):
2727 * glocaldirectorymonitor.c:
2728 (g_local_directory_monitor_constructor), (mounts_changed):
2729 * glocalfile.c: (get_mount_info),
2730 (g_local_file_find_enclosing_mount),
2731 (g_local_file_file_iface_init):
2732 * gnativevolumemonitor.h:
2733 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2734 (get_connected_drives), (g_union_volume_monitor_class_init),
2735 (child_volume_added), (child_volume_removed),
2736 (child_volume_changed), (child_mount_added), (child_mount_removed),
2737 (child_mount_pre_unmount), (child_mount_changed),
2738 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2739 (g_union_volume_monitor_remove_monitor),
2740 (_g_mount_get_for_mount_path):
2741 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2742 (guess_system_internal), (_g_get_unix_mounts),
2743 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2744 (g_unix_mount_free), (g_unix_mount_compare),
2745 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2746 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2747 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2748 (type_to_icon), (g_unix_mount_guess_name),
2749 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2750 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2751 (_resolve_symlink), (_resolve_dev_root):
2753 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2754 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2755 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2756 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2757 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2758 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2759 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2760 (g_unix_volume_volume_iface_init):
2762 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2763 (get_mounts), (get_volumes), (get_connected_drives),
2764 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2765 (mountpoints_changed), (mounts_changed),
2766 (g_unix_volume_monitor_init),
2767 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2768 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2769 * gunixvolumemonitor.h:
2770 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2771 (g_volume_mount), (g_volume_mount_finish):
2773 * gvolumemonitor.c: (g_volume_monitor_class_init),
2774 (g_volume_monitor_get_connected_drives),
2775 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2778 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2780 * gmountoperation.h (GPasswordFlags): Close the gap
2782 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2784 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2786 * gdesktopappinfo.[hc]: Remove _-prefixes
2788 2007-12-10 Tor Lillqvist <tml@novell.com>
2790 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2793 2007-12-10 Alexander Larsson <alexl@redhat.com>
2795 * gfile.c (g_file_set_display_name):
2796 Don't hardcode '/' (#502727)
2798 2007-12-09 Hans Breuer <hans@breuer.org>
2800 * makefile.msc : follow lib naming convention
2801 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2802 for user and group name, tested with ../tests/gio-ls
2804 2007-12-09 A. Walton <awalton@svn.gnome.org>
2806 * gdesktopappinfo.c:
2812 * gfileenumerator.c:
2817 * gmemoryinputstream.c:
2818 * gmemoryoutputstream.c:
2820 * gsimpleasyncresult.c:
2821 More documentation cleanup and filling in missing information, bringing
2822 GIO to 99% symbol coverage.
2824 2007-12-08 Hans Breuer <hans@breuer.org>
2826 [gio compiles and links on win32, not sure how much already works]
2827 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2828 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2829 base on win32 API; prefer g_lstat() over lstat(); instead of
2830 localtime_r() use an all GLib implementation on win32;
2831 get_mount_info() still needs a win32 specifc implementation
2832 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2833 win32_get_file_user_info to get owner/group info without uid/gid
2834 * glocalfileinputstream.c : include <io.h> on win32
2835 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2836 definition, use g_win32_ftruncate() for G_OS_WIN32
2837 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2838 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2839 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2840 * makefile.msc : updated
2842 2007-12-07 Alexander Larsson <alexl@redhat.com>
2844 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2845 Avoid warning spew if error == NULL
2847 2007-12-07 Alexander Larsson <alexl@redhat.com>
2850 Update docs wrt etags
2852 2007-12-06 Alexander Larsson <alexl@redhat.com>
2855 Include sys/types.h for dev_t (#501919)
2857 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2861 Make abicheck and pltcheck pass.
2863 2007-12-05 Alexander Larsson <alexl@redhat.com>
2866 * giomodule-priv.h: Added.
2867 * glocaldirectorymonitor.c:
2868 * glocalfilemonitor.c:
2869 * gunionvolumemonitor.c:
2871 Actually add the declaration of _g_io_modules_ensure_loaded
2873 2007-12-05 Alexander Larsson <alexl@redhat.com>
2875 * gdatainputstream.c:
2880 * glocaldirectorymonitor.c:
2881 * glocalfilemonitor.c:
2882 * gunionvolumemonitor.c:
2884 Make g_io_modules_ensure_loaded a private function and
2885 don't pass in the dirname. This means we can do magic
2886 directory finding in the win32 version.
2887 Export the actual load-modules-in-directory code so that
2888 gvfs can reuse that.
2890 2007-12-05 Alexander Larsson <alexl@redhat.com>
2892 * gbufferedinputstream.c:
2893 * gbufferedoutputstream.c:
2896 * gfileenumerator.[ch]:
2897 * gfileinputstream.c:
2898 * gfileoutputstream.[ch]:
2899 * gfilterinputstream.c:
2900 * gfilteroutputstream.c:
2901 * ginputstream.[ch]:
2903 * glocalfileenumerator.c:
2904 * glocalfileinputstream.c:
2905 * glocalfileoutputstream.c:
2906 * gmemoryinputstream.c:
2907 * gmemoryoutputstream.c:
2908 * goutputstream.[ch]:
2911 * gunixinputstream.c:
2912 * gunixoutputstream.c:
2913 Rename all struct members named:
2914 read, write, close, truncate, or mount
2915 to foo_fn, as these are reserved names
2916 and could be defined as macros in libc.
2919 2007-12-04 Alexander Larsson <alexl@redhat.com>
2922 (g_output_stream_close):
2923 Only call flush if non-null.
2925 2007-11-30 Dan Winship <danw@gnome.org>
2927 * ginputstream.c (g_input_stream_set_pending): Make this take a
2928 GError and return a gboolean, and do the "outstanding operation"
2929 check (and the "stream is already closed" check) itself.
2930 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2932 * goutputstream.c (g_output_stream_set_pending)
2933 (g_output_stream_clear_pending): Likewise
2935 * gbufferedinputstream.c:
2936 * gfileinputstream.c:
2937 * gfileoutputstream.c: Update for that
2939 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2940 Like g_simple_async_report_error_in_idle, but takes a GError
2941 rather than building one.
2943 2007-11-30 Dan Winship <danw@gnome.org>
2945 * goutputstream.c: Don't cheat and unset the "pending" flag around
2946 inner calls. Instead, call the class method directly rather than
2947 the wrapper function that checks "pending"
2949 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2951 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2953 2007-12-03 Hans Breuer <hans@breuer.org>
2955 [start of port to win32/msvc]
2956 * gcancellable.c : HAVE_UNIST_H and _pipe()
2957 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2958 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2959 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2961 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2962 * glocalvfs.c : use HAVE_PWD_H
2963 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2964 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2965 * Makefile.am : added to EXTRA_DIST
2967 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2969 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
2972 2007-12-03 Alexander Larsson <alexl@redhat.com>
2975 Handle OSX style xattrs API (#500506)
2977 2007-12-03 Alexander Larsson <alexl@redhat.com>
2981 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
2983 2007-12-02 A. Walton <awalton@svn.gnome.org>
2987 Documentation accuracy fixes.
2989 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
2991 * gioenumtypes.c.template: Fix typo.
2993 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2995 * gioenumtypes.c.template: Make threadsafe get_type() functions.
2997 2007-12-01 Matthias Clasen <mclasen@redhat.com>
2999 * gdirectorymonitor.c:
3000 * gfilemonitor.c: Add properties
3002 * gbufferedoutputstream.c: Don't mark buffer-size property
3005 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3007 * gbufferedoutputstream.c: Add auto-grow property.
3009 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3011 * *.c: Unify the capitalization of section headings.
3013 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3015 * gmountoperation.c: Add properties
3017 * gdatainputstream.c: Turn byte-order and newline-type into
3020 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3022 * gioenumtypes.[hc].template: Templates for enum registration
3024 * Makefile.am: Generate gioenumtypes.[hc]
3026 * gio.h: Include gioenumtypes.h
3028 * gfile.h: Add some explicit nicks.
3030 * gio.symbols: Add new symbols
3032 * pltcheck.sh: Adjust
3034 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3036 * *.c: Explain etags and link to the explanation
3038 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3040 * *.c: Explain I/O priority.
3042 * *.c: More coding style fixes.
3044 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3046 * gasyncresult.c: Add another paragraph to the intro,
3047 adjust coding style of example.
3049 2007-11-29 A. Walton <awalton@svn.gnome.org>
3052 Fixes unknown meaning in GAppLaunchContext docs.
3054 Clarify asynchronous ops.
3056 Fix entity tag docs.
3059 Provides missing gtk-doc section, fixes API docs slighly.
3060 * gsimpleasyncresult.c:
3061 Fill in missing info in docs.
3062 * gunixinputstream.c:
3063 * gunixoutputstream.c:
3064 Be more expressive in short description.
3066 Remove gtk-doc stubs for non-public API.
3068 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3070 * *.c: Coding style fixups
3072 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3074 * inotify/inotify-helper.c: Don't export the lock from libgio.
3076 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3079 * abicheck.sh: Fix copy-and-paste leftovers
3081 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3083 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3085 2007-11-28 Alexander Larsson <alexl@redhat.com>
3089 Removed unnecessary file
3091 * gdesktopappinfo.[ch]:
3094 * glocaldirectorymonitor.[ch]:
3096 * glocalfileenumerator.[ch]:
3097 * glocalfileinputstream.[ch]:
3098 * glocalfilemonitor.[ch]:
3099 * glocalfileoutputstream.[ch]:
3101 * gnativevolumemonitor.c:
3102 * gpollfilemonitor.[ch]:
3103 * gunionvolumemonitor.[ch]:
3106 * gunixvolumemonitor.[ch]:
3109 * inotify/ginotifydirectorymonitor.[ch]:
3110 * inotify/ginotifyfilemonitor.[ch]:
3111 * inotify/inotify-helper.c:
3112 Append _ to all internal functions
3116 Export symbols needed for modules
3118 2007-11-28 Alexander Larsson <alexl@redhat.com>
3121 * abicheck.sh: Added.
3122 * makegioalias.pl: Added.
3123 * pltcheck.sh: Added.
3124 * gio.symbols: Added.
3127 Initial work on adding symbol handling.
3130 Correct ifdef guard name
3133 * inotify/Makefile.am:
3134 * xdgmime/Makefile.am:
3135 Include toplevel Makefile.decl
3137 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3139 * gcontenttype.c: Move doc comments to the unix section.
3141 * *.[hc]: More trivial doc corrections.
3143 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3145 * gpollfilemonitor.c:
3149 * gdesktopappinfo.c:
3154 * gdatainputstream.c:
3155 * gdatainputstream.h:
3156 * gdataoutputstream.c:
3157 * gdataoutputstream.h:
3158 * gfileinfo.h: Doc cleanups
3160 2007-11-28 Andre Klapper <a9016009@gmx.de>
3162 * gdesktopappinfo.c: Fix a typo.
3164 2007-11-27 Andre Klapper <a9016009@gmx.de>
3166 * glocalfileoutputstream.c: Fix a typo.
3168 2007-11-27 Alexander Larsson <alexl@redhat.com>
3171 Don't include removed headers
3173 2007-11-27 Alexander Larsson <alexl@redhat.com>
3176 * gsocketinputstream.[ch]: Removed.
3177 * gsocketoutputstream.[ch]: Removed.
3178 * gunixinputstream.[ch]: Added.
3179 * gunixoutputstream.[ch]: Added.
3180 Renamed GSocket*Stream to GUnix*Stream and made
3181 it unix-only, since its not really only for sockets
3182 and it only works on unix (but is highly useful there).
3184 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3190 * gbufferedinputstream.c:
3191 * gbufferedinputstream.h:
3192 * gbufferedoutputstream.c:
3193 * gbufferedoutputstream.h:
3197 * gdatainputstream.c:
3198 * gdatainputstream.h:
3199 * gdataoutputstream.c:
3200 * gdataoutputstream.h:
3201 * gdirectorymonitor.c:
3202 * gdirectorymonitor.h:
3209 * gfileenumerator.c:
3210 * gfileenumerator.h:
3215 * gfileinputstream.c:
3216 * gfileinputstream.h:
3219 * gfilenamecompleter.c:
3220 * gfilenamecompleter.h:
3221 * gfileoutputstream.c:
3222 * gfileoutputstream.h:
3223 * gfilterinputstream.c:
3224 * gfilterinputstream.h:
3225 * gfilteroutputstream.c:
3226 * gfilteroutputstream.h:
3239 * glocalfileoutputstream.c:
3240 * gmemoryinputstream.c:
3241 * gmemoryinputstream.h:
3242 * gmemoryoutputstream.c:
3243 * gmemoryoutputstream.h:
3244 * gmountoperation.c:
3245 * gmountoperation.h:
3248 * gpollfilemonitor.c:
3251 * gsimpleasyncresult.c:
3252 * gsimpleasyncresult.h:
3253 * gsocketinputstream.c:
3254 * gsocketinputstream.h:
3255 * gsocketoutputstream.c:
3256 * gsocketoutputstream.h:
3263 * gunixvolumemonitor.c:
3272 Bumps documentation to 93% symbol coverage, touching most
3273 of the public files. Fixes broken function documentation prototypes.
3274 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3275 gtk-doc headers in private files.
3277 2007-11-27 Jürg Billeter <j@bitron.ch>
3279 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3280 (g_buffered_input_stream_read_byte):
3281 * gbufferedinputstream.h:
3282 New functions for efficient access to buffer and simple single byte
3285 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3286 (g_data_input_stream_read_until):
3287 * gdatainputstream.h:
3288 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3289 read_until with multiple stop chars.
3291 2007-11-27 Alexander Larsson <alexl@redhat.com>
3295 * inotify/Makefile.am:
3296 Use the user-specified giomoduledir
3298 2007-11-27 Alexander Larsson <alexl@redhat.com>
3302 Add catch-all gio.h header
3303 Don't install gdummyfile.h
3305 2007-11-26 Alexander Larsson <alexl@redhat.com>
3307 * Makefile.am (gioinclude_HEADERS):
3308 Remove trailing whitespace
3310 2007-11-26 Alexander Larsson <alexl@redhat.com>
3312 Merge gio-standalone into glib
3314 2007-11-25 Christian Kellner <gicmo@gnome.org>
3316 * gio/goutputstream.c:
3317 Fix small mistake in the docs.
3319 2007-11-21 Christian Persch <chpe@gnome.org>
3321 * gio/glocalfile.c: (g_local_file_trash):
3322 Convert filenames to UTF-8 for GError.
3323 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3324 as per xdg base dir spec.
3326 2007-11-21 Christian Persch <chpe@gnome.org>
3328 * gio/gdesktopappinfo.c:
3329 Use that g_key_file_to_data cannot fail.
3331 Use stock defines for the key file group and key names.
3334 2007-11-21 Alexander Larsson <alexl@redhat.com>
3337 (copy_stream_with_progress):
3338 Make sure we do a final progress callback with
3339 the full total size.
3341 2007-11-21 Alexander Larsson <alexl@redhat.com>
3344 Export g_file_copy_attributes
3345 Remove padding as its not needed for interfaces
3347 2007-11-20 Alexander Larsson <alexl@redhat.com>
3352 Add G_IO_ERROR_WOULD_MERGE for
3353 copy/move dir on dir with overwrite.
3355 2007-11-20 Alexander Larsson <alexl@redhat.com>
3358 * gio/glocalfileinfo.c:
3359 Add COPY_NAME (this is an optional
3360 non-modified utf8 version of the name) that
3363 2007-11-20 Alexander Larsson <alexl@redhat.com>
3365 * gio/glocalfileenumerator.c:
3366 Report errors as GIOError, not GFileError
3368 2007-11-16 Alexander Larsson <alexl@redhat.com>
3370 * gio/glocalfileoutputstream.c:
3371 * gio/gwin32appinfo.c:
3372 Fix typos in strings.
3373 Patch from Luca Ferretti <elle.uca@libero.it>
3375 2007-11-15 Alexander Larsson <alexl@redhat.com>
3378 Post release version bump
3380 === gio-standalone 0.1.2 ===
3382 2007-11-15 Alexander Larsson <alexl@redhat.com>
3384 * docs/reference/gio/Makefile.am:
3385 Fix up distcheck by removing weird
3391 2007-11-14 Alexander Larsson <alexl@redhat.com>
3393 * gio/gdesktopappinfo.c:
3394 * gio/glocaldirectorymonitor.c:
3396 * gio/glocalfileinfo.c:
3397 * gio/inotify/inotify-sub.c:
3398 * programs/gio-cat.c:
3399 * programs/gio-copy.c:
3400 * programs/gio-info.c:
3401 * programs/gio-ls.c:
3402 * programs/gio-monitor-dir.c:
3403 * programs/gio-monitor-file.c:
3404 * programs/gio-mount.c:
3405 * programs/gio-move.c:
3406 * programs/gio-rm.c:
3407 * programs/gio-save.c:
3408 * programs/gio-trash.c:
3409 Leak fixes from Kjartan Maraas
3411 2007-11-14 Alexander Larsson <alexl@redhat.com>
3413 * gio/fam/fam-helper.c:
3415 * gio/glocalfileinfo.c:
3419 * gio/inotify/inotify-diag.c:
3420 * gio/inotify/inotify-kernel.c:
3421 Various code cleanups from Kjartan Maraas
3423 2007-11-14 Alexander Larsson <alexl@redhat.com>
3425 * gio/gioscheduler.c:
3427 Set up threadpool so that we cache 2 unused
3428 idle threads for at 15 secs. This means we
3429 will reuse thread-local data (like dbus connections)
3432 2007-11-14 Alexander Larsson <alexl@redhat.com>
3434 * gio/fam/fam-helper.c:
3435 * gio/fam/gfamdirectorymonitor.c:
3436 * gio/fam/gfamfilemonitor.c:
3438 * gio/gcontenttype.c:
3439 * gio/gdatainputstream.c:
3440 * gio/gdataoutputstream.c:
3444 * gio/gfileattribute.h:
3445 * gio/gfileenumerator.c:
3447 * gio/ginputstream.c:
3450 * gio/glocalfileinfo.c:
3451 * gio/goutputstream.c:
3452 * gio/gpollfilemonitor.c:
3453 * gio/gsimpleasyncresult.c:
3454 * gio/gunixmounts.c:
3455 * gio/gunixmounts.h:
3456 * gio/inotify/ginotifydirectorymonitor.c:
3457 * gio/inotify/ginotifyfilemonitor.c:
3458 * gio/inotify/inotify-diag.c:
3459 * gio/inotify/inotify-kernel.c:
3460 * gio/inotify/inotify-path.c:
3462 * gio/test-streams.c:
3463 * programs/gio-info.c:
3464 * programs/gio-monitor-dir.c:
3465 * programs/gio-monitor-file.c:
3466 Various code cleanups from Kjartan Maraas
3468 2007-11-13 Alexander Larsson <alexl@redhat.com>
3471 Handle the uri-scheme calls for dummy files
3473 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3475 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3476 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3477 to avoid clash with the C++ keyword.
3479 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3481 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3482 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3484 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3486 * gio/glocaldirectorymonitor.c:
3487 * gio/glocalfilemonitor.c:
3488 * gio/gunionvolumemonitor.c:
3489 Don't use g_once_init_*() for initializations that could fail and
3490 could leave the initialization variable set to 0 but use GOnce.
3491 This prevents a deadlock on the second call when trying to create
3492 a monitor and no monitor type is available. Thanks to Sven Herzberg
3495 2007-11-11 Sven Herzberg <sven@imendio.com>
3497 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3498 #ifdef (make it work on MacOS X again)
3500 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3502 Fixes Changelog for last two commits (sorry guys).
3504 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3506 * gio/gbufferedinputstream.c:
3507 * gio/gdatainputstream.c:
3509 * gio/gfileoutputstream.c:
3510 * gio/gfilterinputstream.c:
3511 * gio/glocalfileinputstream.c:
3514 More consistency fixes in g*stream.c files.
3515 Significant clean of gfile's documentation, filling in of
3516 asynchronous operations documentation.
3518 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3520 * gio/gasyncresult.c:
3521 * gio/gbufferedinputstream.c:
3522 * gio/gbufferedoutputstream.c:
3523 * gio/gcancellable.c:
3524 * gio/gcontenttype.c:
3525 * gio/gdatainputstream.c:
3526 * gio/gdataoutputstream.c:
3527 * gio/gdesktopappinfo.c:
3530 * gio/gfileattribute.c:
3531 * gio/gio/gfileenumerator.c:
3533 * gio/gfileinputstream.c:
3534 * gio/gfilemonitor.c:
3535 * gio/gfileoutputstream.c:
3536 * gio/ginputstream.c:
3538 * gio/gioscheduler.c:
3539 * gio/gloadableicon.c:
3540 * gio/glocalfileoutputstream.c:
3541 * gio/gmemoryoutputstream.c:
3542 * gio/gmountoperation.c:
3543 * gio/goutputstream.c:
3545 * gio/gsimpleasyncresult.c:
3546 * gio/gunionvolumemonitor.c:
3547 * gio/gunixmounts.c:
3548 * gio/gunixvolume.c:
3552 * gio/gvolumemonitor.c:
3553 Updated documentation stubs, working towards consistency and
3556 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3558 * gio/gmemoryoutputstream.c:
3559 * gio/gmemoryoutputstream.h:
3560 Change g_memory_output_stream_set_free_on_close() to
3561 g_memory_output_stream_set_free_data() as this makes more sense and
3562 is more consistent with GMemoryInputStream.
3564 2007-11-07 Alexander Larsson <alexl@redhat.com>
3571 Change how we find the default vfs so that
3572 we can handle a gvfs failing to init
3574 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3576 * gio/gbufferedoutputstream.c:
3577 * gio/gdatainputstream.c:
3578 * gio/gdataoutputstream.c:
3579 * gio/gfileinputstream.c:
3580 * gio/gfileoutputstream.c:
3581 * gio/gfilterinputstream.c:
3582 * gio/gfilteroutputstream.c:
3583 * gio/ginputstream.c:
3584 * gio/gmemoryinputstream.c:
3585 * gio/gmemoryoutputstream.c:
3586 * gio/goutputstream.c:
3587 * gio/gsimpleasyncresult.c:
3588 * gio/gsocketinputstream.c:
3589 * gio/gsocketoutputstream.c:
3590 Add guards to the remaining public functions, add a TODO for
3591 an unimplemented function and remove some useless guards.
3593 2007-11-07 Alexander Larsson <alexl@redhat.com>
3596 Autoconf checks for the various types of
3597 getpwuid_r and getgrgid_r
3599 * gio/glocalfileinfo.c:
3600 Use the autoconf checks from above
3602 2007-11-07 Alexander Larsson <alexl@redhat.com>
3605 (g_local_file_query_filesystem_info):
3606 Some fixes for the statvfs case
3608 2007-11-07 Alexander Larsson <alexl@redhat.com>
3611 (g_local_file_query_filesystem_info):
3612 Pick the "best" of statfs / statvfs for the system
3613 if both are availible.
3615 2007-11-07 Alexander Larsson <alexl@redhat.com>
3617 Solaris fixes from Halton.Huo@Sun.COM:
3624 * gio/glocalfileinfo.c:
3625 Fix for solaris definition of getpwuid_r
3627 * gio/test-streams.c:
3628 Use G_GNUC_PRETTY_FUNCTION
3630 2007-11-07 Alexander Larsson <alexl@redhat.com>
3632 * gio/gdesktopappinfo.c:
3633 (update_default_list):
3634 Remove double semicolon.
3635 Patch from Jens Granseuer
3637 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3639 * docs/reference/gio/gio-sections.txt:
3640 * gio/gbufferedinputstream.c:
3641 * gio/gbufferedinputstream.h:
3642 * gio/gdatainputstream.c:
3643 * gio/gfileenumerator.c:
3644 * gio/gioscheduler.c:
3645 * gio/gunionvolumemonitor.c:
3647 * programs/gio-save.c:
3648 Fix typo: availible -> available. Unfortuntely this breaks API
3649 and ABI as g_buffered_input_stream_get_available() was renamed.
3651 * gio/gunixmounts.c:
3652 * gio/gbufferedinputstream.c:
3653 Add guards for public functions.
3655 2007-11-06 Ross Burton <ross@openedhand.com>
3657 * docs/reference/gio/Makefile.am:
3658 Fix invalid += usage which automake 1.10 doesn't like.
3660 2007-11-06 Alexander Larsson <alexl@redhat.com>
3663 (g_app_launch_context_class_init):
3666 Patch from Ross Burton
3668 2007-11-06 Alexander Larsson <alexl@redhat.com>
3671 Post release version bump
3673 === gio-standalone 0.1.1 ===
3675 2007-11-06 Alexander Larsson <alexl@redhat.com>
3678 Bump version to 0.1.1
3680 * gio/gsimpleasyncresult.c:
3681 (g_simple_async_result_set_from_error):
3682 Remove bogus g_return_if_fail
3684 2007-11-06 Alexander Larsson <alexl@redhat.com>
3687 The name is gio-standalone
3690 Add top src/builddir to includedir
3692 2007-11-06 Alexander Larsson <alexl@redhat.com>
3694 * docs/reference/gio/gio-sections.txt:
3696 * gio/gbufferedinputstream.c:
3697 * gio/gbufferedoutputstream.c:
3698 * gio/gcancellable.c:
3699 * gio/gdatainputstream.h:
3700 * gio/gdataoutputstream.c:
3701 * gio/gdataoutputstream.h:
3702 * gio/gdirectorymonitor.c:
3704 * gio/gfileattribute.c:
3705 * gio/gfileattribute.h:
3706 * gio/gfileenumerator.c:
3707 * gio/gfileenumerator.h:
3710 * gio/gfileinputstream.h:
3711 * gio/gfilemonitor.c:
3712 * gio/gfileoutputstream.h:
3713 * gio/glocalfilemonitor.h:
3714 * gio/glocalfileoutputstream.h:
3715 * gio/gmemoryinputstream.c:
3716 * gio/gmemoryoutputstream.c:
3717 * gio/gmountoperation.c:
3718 * gio/goutputstream.c:
3719 * gio/goutputstream.h:
3721 * gio/gsimpleasyncresult.c:
3722 * gio/gunixmounts.c:
3723 * gio/gunixmounts.h:
3725 * gio/inotify/inotify-helper.c:
3726 Fix gtk-doc warnings
3728 Patch from Ross Burton
3730 2007-11-06 Alexander Larsson <alexl@redhat.com>
3732 * gio/gfilenamecompleter.c:
3733 (g_filename_completer_get_completions):
3736 * gio/gunixvolume.c:
3737 Remove unused function
3739 Patches from Ross Burton
3741 2007-11-06 Alexander Larsson <alexl@redhat.com>
3746 Padding not needed for interfaces
3748 2007-11-06 Alexander Larsson <alexl@redhat.com>
3750 * gio/gfilemonitor.c:
3754 Make giotypes.h an internal file
3757 * gio/gbufferedinputstream.h:
3758 * gio/gbufferedoutputstream.h:
3759 * gio/gcancellable.h:
3760 * gio/gdatainputstream.h:
3761 * gio/gdataoutputstream.h:
3762 * gio/gdirectorymonitor.c:
3763 * gio/gdirectorymonitor.h:
3768 * gio/gfileattribute.h:
3769 * gio/gfileenumerator.h:
3774 * gio/gfilemonitor.c:
3775 * gio/gfilemonitor.h:
3776 * gio/gfilenamecompleter.c:
3777 * gio/gfilenamecompleter.h:
3778 * gio/gfilterinputstream.h:
3779 * gio/gfilteroutputstream.h:
3780 * gio/ginputstream.h:
3781 * gio/gmemoryinputstream.h:
3782 * gio/gmemoryoutputstream.h:
3783 * gio/gmountoperation.c:
3784 * gio/gmountoperation.h:
3785 * gio/gnativevolumemonitor.c:
3786 * gio/goutputstream.h:
3789 * gio/gsimpleasyncresult.c:
3790 * gio/gsimpleasyncresult.h:
3791 * gio/gsocketinputstream.h:
3792 * gio/gsocketoutputstream.h:
3793 * gio/gthemedicon.c:
3794 * gio/gthemedicon.h:
3798 * gio/gvolumemonitor.c:
3799 * gio/gvolumemonitor.h:
3800 Add padding in classes where it seems useful
3801 Don't include giotypes.h from public headers
3802 Move in Class definitions into c file where possible
3807 2007-11-06 Alexander Larsson <alexl@redhat.com>
3809 * docs/reference/gio/gio-docs.xml:
3810 Better structure for API docs
3812 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3815 * gio/gloadableicon.c:
3816 * gio/gsimpleasyncresult.c:
3817 * gio/gthemedicon.c:
3818 Add some more guards to public functions. Only files missing are now
3821 2007-11-06 Alexander Larsson <alexl@redhat.com>
3823 * docs/reference/gio/gio-docs.xml:
3824 Remove old files, add missing ones
3826 2007-11-06 Alexander Larsson <alexl@redhat.com>
3828 * docs/reference/gio/gio-sections.txt:
3831 Hide implementation classes
3833 * gio/gdriveprivate.h:
3834 * gio/gvolumeprivate.h:
3835 Remove non-existing function declarations
3837 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3840 Fix compilation warnings and add guards to the new functions.
3842 * gio/gasyncresult.c:
3844 Add guards to the public functions.
3847 Implement get_path().
3849 2007-11-06 Alexander Larsson <alexl@redhat.com>
3851 * gio/gfilenamecompleter.c:
3852 Make g_filename_completer_get_completions
3853 return char ** instead of GList for
3856 * docs/reference/gio/gio-docs.xml:
3857 * docs/reference/gio/gio-sections.txt:
3859 * gio/gasyncresult.c:
3860 * gio/gbufferedinputstream.c:
3861 * gio/gbufferedoutputstream.c:
3862 * gio/gcancellable.c:
3863 * gio/gcontenttype.c:
3864 * gio/gdatainputstream.c:
3865 * gio/gdataoutputstream.c:
3866 * gio/gdesktopappinfo.c:
3867 * gio/gdirectorymonitor.c:
3871 * gio/gfileattribute.c:
3872 * gio/gfileenumerator.c:
3875 * gio/gfileinputstream.c:
3876 * gio/gfilemonitor.c:
3877 * gio/gfilenamecompleter.c:
3878 * gio/gfilenamecompleter.h:
3879 * gio/gfileoutputstream.c:
3880 * gio/gfilterinputstream.c:
3882 * gio/ginputstream.c:
3884 * gio/gioscheduler.c:
3885 * gio/gloadableicon.c:
3886 * gio/glocaldirectorymonitor.c:
3888 * gio/glocalfileinputstream.c:
3889 * gio/glocalfilemonitor.c:
3890 * gio/glocalfileoutputstream.c:
3892 * gio/gmemoryinputstream.c:
3893 * gio/gmemoryoutputstream.c:
3894 * gio/gmountoperation.c:
3895 * gio/goutputstream.c:
3896 * gio/gpollfilemonitor.c:
3898 * gio/gsimpleasyncresult.c:
3899 * gio/gsocketinputstream.c:
3900 * gio/gsocketoutputstream.c:
3901 * gio/gthemedicon.c:
3902 * gio/gunionvolumemonitor.c:
3904 * gio/gunixmounts.c:
3905 * gio/gunixvolume.c:
3906 * gio/gunixvolumemonitor.c:
3910 * gio/gvolumemonitor.c:
3911 * gio/gwin32appinfo.c:
3912 Add (mostly stub) doc strings to public functions.
3913 Patch from Andrew Walton (awalton@gmail.com)
3915 2007-11-06 Alexander Larsson <alexl@redhat.com>
3917 * gio/gappinfo.[ch]:
3918 Added GAppLaunchContext object and pass that to launch.
3919 This allows simple implementation of both
3920 launch-on-screen and startup notification via a gtk+
3921 subclass of GAppLaunchContext
3923 * gio/gdesktopappinfo.c:
3924 Implement GAppLaunchContext API
3926 * gio/gwin32appinfo.c:
3929 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3931 * gio/gmountoperation.c:
3932 Add some guards to GMountOperation's public functions.
3934 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3938 * gio/gcancellable.c:
3939 * gio/gdirectorymonitor.c:
3941 * gio/gfileenumerator.c:
3942 * gio/gfilemonitor.c:,
3943 * gio/gfilenamecompleter.c:
3946 * gio/gioscheduler.c:
3950 * gio/gvolumemonitor.c:
3951 Add even more guards to various public functions.
3953 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3956 Add guards to the public functions of GAppInfo.
3958 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3960 * gio/gcontenttype.c:
3961 Add some more guards for public functions.
3963 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3965 * gio/fam/fam-module.c:
3966 * gio/fam/gfamdirectorymonitor.c:
3967 * gio/fam/gfamdirectorymonitor.h:
3968 * gio/fam/gfamfilemonitor.c:
3969 * gio/fam/gfamfilemonitor.h:
3970 * gio/inotify/ginotifydirectorymonitor.c:
3971 * gio/inotify/ginotifydirectorymonitor.h:
3972 * gio/inotify/ginotifyfilemonitor.c:
3973 * gio/inotify/ginotifyfilemonitor.h:
3974 Add proper copyright information and remove an unused variable
3975 in the GInotifyFileMonitor constructor.
3977 * gio/gcancellable.c:
3978 Add a guard for a public function and an assertion to prevent
3979 an undefined program state.
3981 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3983 * gio/gfileattribute.c:
3984 Don't run into an assertion if the given attribute value is NULL
3985 in g_file_attribute_value_get_*() but instead return a fallback
3986 value that makes sense in most situations. Passing them a attribute
3987 value with the wrong type will still run into an assertion.
3989 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
3991 * gio/gfileattribute.c:
3993 Add even more guards to the public functions. Also fix the refcounting
3994 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
3995 let g_file_info_list_attributes() filter the attributes by namespace
3996 instead of simply ignoring the namespace parameter.
3998 2007-11-03 Sven Herzberg <sven@imendio.com>
4000 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4001 (This makes gio work on MacOS X again)
4003 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4006 Build the gio subdirectory before the docs. Otherwise the build will
4009 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4010 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4011 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4012 Add guards to the public functions.
4014 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4016 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4017 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4018 to prevent a compiler warning.
4020 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4021 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4022 return something in the non-void function find_topdir_for().
4024 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4031 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4033 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4034 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4035 * gwin32appinfo.c (g_win32_app_info_launch):
4036 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4037 envp_for_startup_id, g_desktop_app_info_launch,
4038 g_desktop_app_info_launch_uris):
4040 Give an opaque 'startup_id' string instead of 'envp'.
4041 Support empty file lists for launching new windows.
4042 Fix infinite recursion bug when launching URIs.
4044 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4047 Add guard to the new g_file_get_uri_scheme() function.
4049 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4052 Convert a g_return_val_if_fail() to setting the GError instead as
4053 otherwise applications have to verify the parameter before otherwise
4054 and the parameter might come directly from the user.
4056 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4058 * gio/inotify/ginotify*.[ch]:
4059 Add missing copyright information.
4061 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4064 Add guards in the beginning of public functions to check for valid
4065 parameters and fix a bug in copy_stream_with_progress() that could've
4066 caused writing less bytes than reading.
4067 * gio/glocalfileinfo.c:
4068 Check for a NULL parameter and set the GError accordingly then.
4069 * gio/goutputstream.c:
4070 Fix the same bug as in gfile.c that could've caused writing less bytes
4071 than reading in g_output_stream_real_splice().
4073 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4076 Use the correct gvolumeprivate.h naming
4078 2007-11-01 Christian Kellner <gicmo@gnome.org>
4081 Remove leftover "$(daemon_sources)" entry.
4083 2007-11-01 Christian Kellner <gicmo@gnome.org>
4088 Add copyright information to source files.
4090 2007-11-01 Alexander Larsson <alexl@redhat.com>
4094 Add g_file_get_uri_scheme
4096 2007-11-01 Alexander Larsson <alexl@redhat.com>
4099 * gio/gdesktopappinfo.c:
4100 * gio/gwin32appinfo.c:
4101 Add g_app_info_get_default_for_uri_scheme.
4103 2007-11-01 Alexander Larsson <alexl@redhat.com>
4106 Correct filename for gdriveprivate.h
4108 2007-10-31 Alexander Larsson <alexl@redhat.com>
4111 Rename id:value to id:file
4114 * gio/glocalfileinfo.c:
4117 2007-10-31 Alexander Larsson <alexl@redhat.com>
4119 * gio/gunixvolume.c:
4121 Remove g_volume_get_platform_id, as thats not
4122 needed with the simpler union volume monitor
4124 2007-10-31 Alexander Larsson <alexl@redhat.com>
4127 * gio/guniondrive.[ch]: Removed.
4128 * gio/gunionvolume.[ch]: Removed.
4129 Remove GUnionDrive/Volume
4131 * gio/gunionvolumemonitor.c:
4132 Simplify union volume monitor, now we
4133 only have one native volume monitor and
4134 we use the actual volumes/drives from the
4135 child monitors instead of wrapping them
4137 * gio/gnativevolumemonitor.[ch]:
4138 Base class for native volume monitors.
4139 Includes priority and get_volume_for_mountpoint
4142 Add g_file_find_enclosing_volume
4145 Remove volume name fs attribute
4146 Add readonly fs attribute
4149 Implement readonly attribute
4150 remove volume name attribute
4151 Implement find_enclosing volume
4153 * gio/gunixmounts.c:
4154 Add a volume for "/".
4156 * gio/gunixvolume.[ch]:
4157 Set better name for /
4159 * gio/gunixvolumemonitor.[ch]:
4160 Derive from GNativeVolumeMonitor
4161 Implement get_volume_for_mountpoint
4164 GVolume typedef moved to gfile.h
4166 * gio/gvolumeprivate.h:
4167 Add g_volume_get_for_mount_path
4169 2007-10-31 Alexander Larsson <alexl@redhat.com>
4171 * gio/gunixmounts.[ch]:
4172 Add cache info to unix mount listers
4173 Make getmntent use threadsafe
4174 Add is_system_internal attribute for GUnixMount
4176 * gio/gunixvolume.c:
4177 (g_unix_volume_new):
4178 Use is_system_internal instead of own code
4180 * gio/glocaldirectorymonitor.c:
4181 * gio/gunixvolumemonitor.c:
4182 Update to new gunixmounts API
4187 2007-10-30 Alexander Larsson <alexl@redhat.com>
4190 Add volume name fsinfo attribute
4193 Read volume name info
4195 * gio/gunionvolumemonitor.c:
4196 Fix infinite loops when finalizing a union volume monitor
4198 2007-10-30 Alexander Larsson <alexl@redhat.com>
4200 * gio/goutputstream.[ch]:
4201 Add splice() with default implementation
4203 * gio/gsocketoutputstream.c:
4204 (g_socket_output_stream_write):
4205 Return error on cancellation correctly.
4207 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4209 * gio/glocalfile.c (g_local_file_trash):
4210 Do not leak a string.
4212 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4214 * gio/gfile.c (g_file_load_contents):
4215 Unref the stream after closing it.
4217 2007-10-25 Alexander Larsson <alexl@redhat.com>
4219 * gio/gioscheduler.h:
4222 2007-10-25 Alexander Larsson <alexl@redhat.com>
4226 Add g_file_has_uri_scheme and implement for local files
4228 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4230 * gio/gdesktopappinfo.c: do not leak a string.
4232 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4234 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4235 (g_local_directory_monitor_new):
4236 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4237 (g_local_file_monitor_new):
4238 Only look for the monitor type that should be used the first time
4239 and use g_qsort_with_data() instead of our own bubble sort
4242 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4245 * gio/fam/Makefile.am:
4246 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4247 * gio/fam/fam-helper.h:
4248 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4249 * gio/fam/gfamdirectorymonitor.c:
4250 * gio/fam/gfamdirectorymonitor.h:
4251 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4252 * gio/fam/gfamfilemonitor.h:
4253 * gio/glocaldirectorymonitor.c:
4254 * gio/glocaldirectorymonitor.h:
4255 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4256 * gio/glocalfilemonitor.h:
4257 * gio/inotify/Makefile.am:
4258 * gio/inotify/ginotifydirectorymonitor.c:
4259 * gio/inotify/ginotifydirectorymonitor.h:
4260 * gio/inotify/ginotifyfilemonitor.c:
4261 * gio/inotify/ginotifyfilemonitor.h:
4262 Implement the FAM and Inotify monitors as
4263 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4264 their own GIO module. GLocal(Directory|File)Monitor will use the
4265 monitor with the highest rank that is supported on that machine.
4267 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4270 Change GIO module dir to $(libdir)/gio/modules and change
4271 the log domain from GVFS to GIO. Also only export symbols starting
4272 with g_ in the resulting library.
4273 * gio/test-streams.c: (main):
4274 Set log handler for the GIO log domain.
4276 2007-10-22 Alexander Larsson <alexl@redhat.com>
4278 * gio/gfilenamecompleter.[ch]:
4279 Add g_filename_completer_set_dirs_only
4281 2007-10-22 Alexander Larsson <alexl@redhat.com>
4284 * gio/gurifuncs.[ch]:
4285 Add some simple URI helpers
4287 * gio/gfilenamecompleter.[ch]:
4288 Added object for filename (parse name actually) completion
4291 Handle ~ in parse names
4293 2007-10-17 Alexander Larsson <alexl@redhat.com>
4296 * gio/glocalfileinfo.c:
4297 Add and implement id:value attribute
4299 2007-10-17 Alexander Larsson <alexl@redhat.com>
4302 * gio/guniondrive.c:
4304 Add and implement g_drive_has_volumes
4306 2007-10-17 Alexander Larsson <alexl@redhat.com>
4309 * gio/glocalfileinfo.[ch]:
4310 Add unix:is_mountpoint and implement for local files
4312 2007-10-16 Alexander Larsson <alexl@redhat.com>
4314 * gio/gunionvolumemonitor.c:
4315 (g_union_volume_monitor_init):
4316 Fix up the unix type getting so that it works with gcc
4318 2007-10-12 Alexander Larsson <alexl@redhat.com>
4321 * gio/glocalfileinfo.c:
4322 Add thumbnail:failed to file info
4324 2007-10-12 Richard Hult <richard@imendio.com>
4326 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4327 optimizing away the get_type call (happens with some gcc versions,
4328 like the one shipped with OS X 10.4).
4330 2007-10-12 Alexander Larsson <alexl@redhat.com>
4332 * gio/glocalfileinfo.c:
4333 (_g_local_file_info_set_attribute):
4334 Fix build if not HAVE_XATTR
4335 Patch from Milosz Derezynski <internalerror@gmail.com>
4337 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4339 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4340 around for review, otherwise I would have asked you before
4343 2007-10-11 Alexander Larsson <alexl@redhat.com>
4346 Add thumbnail:path attribute
4348 * gio/glocalfileinfo.c:
4349 Implement thumbnail:path for local files
4351 2007-10-11 Alexander Larsson <alexl@redhat.com>
4353 * gio/glocalfileinfo.c:
4354 (_g_local_file_info_get):
4355 Avoid duplicate icon names
4357 2007-10-11 Alexander Larsson <alexl@redhat.com>
4359 * gio/gthemedicon.[ch]:
4360 Change g_themed_icon_get_names return type to const
4362 2007-10-10 Alexander Larsson <alexl@redhat.com>
4364 * gio/glocalfileinfo.c:
4365 Don't reference freed memory
4367 2007-10-10 Alexander Larsson <alexl@redhat.com>
4369 * gio/gfileattribute.c:
4372 * gio/glocalfileinfo.c:
4375 2007-10-10 Alexander Larsson <alexl@redhat.com>
4378 Check for NULL icons
4380 * gio/gfileattribute.c:
4381 Don't dup when getting objects (same as for string attributes)
4383 * gio/gicon.c (g_icon_equal):
4384 Safely handle NULLs in equal
4386 2007-10-10 Alexander Larsson <alexl@redhat.com>
4389 Fix c++ compilation issues
4390 Patch from Milosz Derezynski <internalerror@gmail.com>
4392 2007-10-10 Alexander Larsson <alexl@redhat.com>
4394 * programs/gio-monitor-dir.c:
4395 Don't crash if dir monitor not supported.
4397 2007-10-09 Alexander Larsson <alexl@redhat.com>
4400 Add missing G_END_DECLS
4402 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4404 * gio/gfile.c: (g_file_set_display_name),
4405 (g_file_query_settable_attributes),
4406 (g_file_query_writable_namespaces):
4407 Return NULL not FALSE on errors as the return type is a pointer.
4409 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4411 * gio/glocalfile.c: (g_local_file_monitor_file):
4412 Don't call monitor_file on the default interface vtable (which
4413 is NULL) but simply return NULL. The caller, GFile, will create a
4414 polling monitor if NULL is returned.
4416 2007-10-09 Alexander Larsson <alexl@redhat.com>
4420 * gio-unix-2.0.pc.in:
4421 Add gio-unix-2.0.pc if OS_UNIX
4424 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4426 2007-10-09 Alexander Larsson <alexl@redhat.com>
4428 * gio/gunixmounts.[ch]:
4429 Make unix mount monitoring API sane.
4430 Now its just a object with mounts_changed
4431 and mountpoints_changed signals.
4433 * gio/glocaldirectorymonitor.c:
4434 * gio/gunixvolumemonitor.c:
4435 Use new mount monitor api
4437 2007-10-09 Alexander Larsson <alexl@redhat.com>
4439 * gio/gunixmounts.[ch]:
4440 Move guess type into one call for mounts and one for mountpoints
4443 * gio/gunixvolume.c:
4446 2007-10-09 Alexander Larsson <alexl@redhat.com>
4448 * gio/gunixmounts.[ch]:
4449 Remove _ prefix in preparation to make this semi-public
4450 Hide implementation of structs
4452 * gio/glocaldirectorymonitor.c:
4454 * gio/gunixvolume.c:
4455 * gio/gunixvolumemonitor.c:
4456 Update for above API changes
4458 2007-10-08 Alexander Larsson <alexl@redhat.com>
4461 Better polling fallback. This also handles the case where we have
4462 a monitor_file implementation, but it fails.
4464 2007-10-08 Alexander Larsson <alexl@redhat.com>
4468 * gio/gunixmounts.c:
4469 * programs/gio-monitor-dir.c:
4470 * programs/gio-monitor-file.c:
4471 Added cancellable to file monitoring calls.
4472 These are really sync calls and need this.
4474 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4476 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4477 (g_local_vfs_class_init):
4478 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4479 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4481 2007-10-05 Alexander Larsson <alexl@redhat.com>
4483 * gio/gdirectorymonitorprivate.h:
4484 * gio/gfilemonitorprivate.h:
4485 * gio/gdirectorymonitor.h:
4486 * gio/gfilemonitor.h:
4487 Remove *private.h and move to the public API, so that
4488 we can do implementations outside gio (such as in gvfs)
4490 * gio/gdirectorymonitor.c:
4491 * gio/gfilemonitor.c:
4492 * gio/glocaldirectorymonitor.c:
4493 * gio/gpollfilemonitor.c:
4494 * gio/inotify/inotify-helper.c:
4495 * gio/fam/fam-helper.c:
4496 Update to the new header names
4498 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4500 * gio/gdirectorymonitor.c:
4501 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4504 2007-10-04 Alexander Larsson <alexl@redhat.com>
4506 * gio/glocalfileinfo.c (get_access_rights):
4507 Set CAN_TRASH when we can move the file.
4508 We should really also check for a parent trash dir.
4510 2007-10-04 Alexander Larsson <alexl@redhat.com>
4512 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4513 Add can_trash access attribute
4515 2007-10-04 Alexander Larsson <alexl@redhat.com>
4518 (g_local_file_trash):
4519 Create info file first. This is per-spec and allows
4520 us to actually trash directories.
4522 2007-10-02 Alexander Larsson <alexl@redhat.com>
4524 * gio/gdesktopappinfo.c:
4525 Implement the new mime support code.
4526 Always set app as handling mimetype when being set as default for it
4528 2007-10-01 Alexander Larsson <alexl@redhat.com>
4530 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4531 Fix up check for xattrs:
4533 2007-10-01 Alexander Larsson <alexl@redhat.com>
4536 (g_app_info_set_as_default_for_extension):
4537 (g_app_info_add_supports_type):
4538 (g_app_info_can_remove_supports_type):
4539 (g_app_info_remove_supports_type):
4540 Make these fail nicely if not implemented
4542 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4544 * gio/glocalfileoutputstream.c:
4545 * gio/glocalfileoutputstream.h:
4550 * programs/gio-save.c:
4551 Add a GFileCreateFlags argument to operations that can create
4554 2007-10-01 Alexander Larsson <alexl@redhat.com>
4556 * gio/gappinfo.[ch]:
4557 * gio/gdesktopappinfo.c:
4558 Add more (stubbed out) mime API needed for nautilus
4560 2007-10-01 Alexander Larsson <alexl@redhat.com>
4563 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4564 Add g_app_info_set_as_default_for_extension.
4566 * gio/gdesktopappinfo.c:
4567 Dummy for g_app_info_set_as_default_for_extension
4568 Support flags in g_app_info_create_from_commandline
4570 * gio/gwin32appinfo.c:
4572 Update for API changes
4574 * gio/gthemedicon.c:
4575 Properly NULL-terminate list of icon names
4577 2007-09-28 Alexander Larsson <alexl@redhat.com>
4579 * gio/gloadableicon.h:
4580 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4582 2007-09-28 Alexander Larsson <alexl@redhat.com>
4585 Install headers in $includedir/gio-standalone/
4587 * gio-2.0.pc.in: Added.
4588 * gio-standalone.pc.in: Removed.
4591 Renamed pkg-config file to match glib (for future move)
4592 Update to the new include dir
4595 Add more TODO comments
4597 2007-09-28 Alexander Larsson <alexl@redhat.com>
4599 * gio/gdesktopappinfo.[ch]:
4600 Expose new_from_filename
4601 Add getter for is_hidden and handle it better
4603 2007-09-28 Alexander Larsson <alexl@redhat.com>
4605 * gio/gfileinfo.[ch]:
4606 Rename g_file_size_format_for_display to
4607 g_format_file_size_for_display.
4608 Now it doesn't have the g_file prefix, so we
4609 can later move it to glib.
4611 2007-09-28 Alexander Larsson <alexl@redhat.com>
4613 * gio/gappinfo.[ch]:
4614 Add g_app_info_get_id and g_app_info_get_executable.
4615 Make all getters non-reffing
4616 Make g_app_info_launch take GFile arguments.
4617 Add must_support_uris argument to g_app_info_get_default_for_type.
4619 * gio/gwin32appinfo.c:
4620 Update to GAppInfo api changes
4622 * gio/gdesktopappinfo.c:
4623 Update to GAppInfo api changes
4624 Implement supports_xdg_startup_notify
4626 * gio/gfileicon.c (g_file_icon_get_file):
4627 Make getter non-reffing.
4632 2007-09-27 Alexander Larsson <alexl@redhat.com>
4634 * gio/gfileinfo.[ch]:
4635 Add g_file_size_format_for_display helper
4637 2007-09-27 Alexander Larsson <alexl@redhat.com>
4639 * gio/glocalfileinfo.c:
4640 Set UNIX_GID from gid, not from uid
4642 2007-09-27 Alexander Larsson <alexl@redhat.com>
4645 Add g_file_set_attributes_async
4647 2007-09-27 Alexander Larsson <alexl@redhat.com>
4649 * gio/glocalfile.c (g_local_file_set_display_name):
4650 Fix set_display_name to actually rename to the right place.
4651 Use lstat to look for existing files so we don't overwrite
4654 2007-09-26 Alexander Larsson <alexl@redhat.com>
4657 Add g_file_set_display_name_async()
4659 2007-09-26 Alexander Larsson <alexl@redhat.com>
4662 Add load_partial_contents async calls
4665 Make internal function static
4667 2007-09-26 Alexander Larsson <alexl@redhat.com>
4669 * gio/glocalfileinfo.c:
4670 Correctly detect broken symlinks
4672 2007-09-26 Alexander Larsson <alexl@redhat.com>
4674 * gio/gcancellable.c (g_cancellable_cancel):
4675 Allow cancel on NULL cancellable
4677 2007-09-25 Alexander Larsson <alexl@redhat.com>
4679 * gio/gsimpleasyncresult.c:
4680 Don't allocate g_error manually.
4681 Fixes g_slice/g_new mixup crash
4683 2007-09-25 Alexander Larsson <alexl@redhat.com>
4685 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4686 Actually set active_backend.
4687 This means the monitor will be cancelled correctly.
4689 2007-09-25 Alexander Larsson <alexl@redhat.com>
4691 * gio/gdirectorymonitor.c:
4692 Set timeout to NULL when destroying
4694 2007-09-25 Alexander Larsson <alexl@redhat.com>
4697 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4698 that is a better description of the error.
4700 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4702 * gio/gvfs.c: (g_vfs_get_local):
4703 Make the local vfs variable static. The same instance should
4706 2007-09-24 Alexander Larsson <alexl@redhat.com>
4708 * gio/glocalfileinfo.c:
4709 Pass in actual length read into sniffer, not the length
4712 2007-09-21 Alexander Larsson <alexl@redhat.com>
4714 * gio/gfileenumerator.c:
4717 * gio/gfileinputstream.c:
4718 * gio/gfileoutputstream.c:
4719 * gio/ginputstream.c:
4720 * gio/goutputstream.c:
4721 Don't crash if async callbacks are NULL
4723 2007-09-20 Alexander Larsson <alexl@redhat.com>
4726 Add async enumerate_children method and default
4729 2007-09-20 Alexander Larsson <alexl@redhat.com>
4732 Add g_file_contains_file & g_file_get_relative_path, since they
4733 were needed for nautilus.
4734 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4739 Implement new methods
4741 2007-09-17 Alexander Larsson <alexl@redhat.com>
4744 * gio/gfileinputstream.[ch]:
4745 * gio/gfileoutputstream.[ch]:
4747 * gio/glocalfileenumerator.[ch]:
4748 * gio/glocalfileinfo.[ch]:
4749 * gio/glocalfileinputstream.c:
4750 * gio/glocalfileoutputstream.c:
4751 * gio/gpollfilemonitor.c:
4752 * programs/gio-copy.c:
4753 * programs/gio-info.c:
4754 * programs/gio-move.c:
4755 Rename get_file_info to query_info() to make it clearer
4756 that these are not simple getters, but do i/o.
4758 2007-09-17 Alexander Larsson <alexl@redhat.com>
4760 * gio/gdatainputstream.[ch]:
4761 * gio/test-streams.c:
4762 Use _read_XXX instead of _get_XXX for the i/o calls
4765 2007-09-17 Alexander Larsson <alexl@redhat.com>
4768 Added needed stuff to TODO comment
4770 2007-09-17 Alexander Larsson <alexl@redhat.com>
4772 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4773 Don't error out removing the backup copy if it doesn't
4776 2007-09-14 Alexander Larsson <alexl@redhat.com>
4778 * programs/Makefile.am:
4779 * programs/gvfs-*.c:
4781 Renamed apps from gvfs-xxx to gio-xxx.
4783 2007-09-14 Alexander Larsson <alexl@redhat.com>
4786 * gio/gfileoutputstream.[ch]:
4787 * gio/glocalfileoutputstream.c:
4788 * programs/gvfs-save.c:
4789 g_file_output_stream_get_etag doesn't do i/o, so remove
4790 cancellation and error.
4792 2007-09-14 Alexander Larsson <alexl@redhat.com>
4795 Add new_etag output to replace_contents functions
4797 2007-09-14 Alexander Larsson <alexl@redhat.com>
4799 * gio/gfileoutputstream.[ch]:
4800 Add async get_file_info and default implementation
4802 2007-09-14 Alexander Larsson <alexl@redhat.com>
4804 * gio/gfileinputstream.c:
4805 Implement fallback wrapper for async get_file_info
4807 2007-09-14 Alexander Larsson <alexl@redhat.com>
4810 Add etag out argument to load_contents
4815 2007-09-14 Alexander Larsson <alexl@redhat.com>
4817 * gio/gcontenttype.c (looks_like_text):
4818 Whitespace like tab, cr and lf do not make the
4821 2007-09-14 Alexander Larsson <alexl@redhat.com>
4823 * gio/gfileinputstream.[ch]:
4824 Add async get_file_info.
4826 2007-09-13 Alexander Larsson <alexl@redhat.com>
4828 * gio/goutputstream.c (g_output_stream_write_all):
4829 Allow NULL for bytes_written
4831 2007-09-13 Alexander Larsson <alexl@redhat.com>
4833 * gio/gmemoryinputstream.[ch]:
4834 Add accessors for data
4836 2007-09-13 Alexander Larsson <alexl@redhat.com>
4838 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4839 Don't crash if length is NULL