1 2008-08-11 Sven Neumann <sven@gimp.org>
4 * glocaldirectorymonitor.c
6 * gunionvolumemonitor.c
10 * gunixvolumemonitor.c
13 * gwin32volumemonitor.c: use canonical signal names.
15 2008-08-11 Tor Lillqvist <tml@novell.com>
17 * Makefile.am: Put a list of the platform-dependent .la files in
18 the subdirectories in the platform_deps Make variable, and make
19 libgio-2.0.la depend on that, so that it gets relinked if one of
20 the dependent libraries has changed.
22 2008-08-11 Tor Lillqvist <tml@novell.com>
24 * Makefile.am (platform_libadd): Remove -lwininet which had been
25 added by mistake. We will probably eventually be using WinHTTP,
26 not the older WinInet anyway. (Actually I am working on it.)
28 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
30 Bug 547080 – g_file_copy leaks expected errors
32 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
33 before trying the next fallback routine.
35 2008-08-09 Loïc Minier <lool@dooz.org>
37 Bug 535124 – umask 002 not being applied for new directories, new
38 files get the correct umask
40 * gfile.c (g_file_make_directory)
41 (g_file_make_directory_with_parents): Document ownership and
42 permissions of newly created directories as being the default
45 2008-08-08 Loïc Minier <lool@dooz.org>
47 Bug 535124 – umask 002 not being applied for new directories, new
48 files get the correct umask
50 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
53 2008-08-08 Tor Lillqvist <tml@novell.com>
55 * gwin32mount.c: Remove unused code. Whitespace cleanup.
57 * gwin32volumemonitor.c (get_connected_drives): Put questionable
58 code that didn't actually do anything inside #if 0, and add a
59 comment wondering what the code was supposed to do. This also gets
60 rid of a leftover debugging printout.
62 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
64 * gfileicon.c (g_file_icon_get_property)
65 (g_file_icon_set_property): New functions.
66 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
68 (g_file_icon_new): Use the property (bug #546132).
70 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
72 * gthemedicon.c (g_themed_icon_get_property): Also handle
73 `PROP_USE_DEFAULT_FALLBACKS'.
74 (g_themed_icon_class_init): Make
75 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
77 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
79 Bug 546371 – Improve docs re g_file_monitor
81 * gfilemonitor.c: Mention g_file_monitor() in the docs.
83 2008-08-04 Matthias Clasen <mclasen@redhat.com>
85 * === Released 2.17.6 ===
87 2008-08-04 Matthias Clasen <mclasen@redhat.com>
89 * === Released 2.17.5 ===
91 2008-08-04 Matthias Clasen <mclasen@redhat.com>
93 Bug 546017 – Don't copy attributes when copying a symlink
95 * gfile.c (g_file_copy_attributes): Specify
96 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
97 g_file_set_attributes_from_info. Patch by Christian Kellner
99 2008-08-04 Matthias Clasen <mclasen@redhat.com>
101 * gemblemedicon.[hc]:
103 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
104 a bit more extensible. Work by Clemens Buss.
106 * gioenums.h: Add GEmblemOrigin.
109 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
111 Bug 546079 – leak in xdgmime
113 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
115 2008-08-03 Tor Lillqvist <tml@novell.com>
117 * win32/gwin32directorymonitor.h
118 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
121 2008-08-03 Tor Lillqvist <tml@novell.com>
123 * win32/gwin32directorymonitor.c
124 (g_win32_directory_monitor_callback): Make prototype match
125 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
126 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
129 (g_win32_directory_monitor_constructor):
130 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
131 names in the GLib API on Windows, so convert to UTF-16 and open
134 2008-08-03 Tor Lillqvist <tml@novell.com>
136 Bug 541036 - Gnumeric crashes when trying to open Desktop or
137 user's folder under Windows
139 * win32/gwin32directorymonitor.c
140 (g_win32_directory_monitor_constructor): Ignore error from
141 CreateFile() when opening directory. Instead of asserting, just
142 store INVALID_HANDLE_VALUE then in
143 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
144 ReadDirectoryChangesW().
145 (g_win32_directory_monitor_cancel): Don't attempt to close
146 directory handle if it is INVALID_HANDLE_VALUE.
148 2008-08-01 Matthias Clasen <mclasen@redhat.com>
150 * gdesktopappinfo.c: Remove debug spew
152 2008-08-01 Hans Breuer <hans@breuer.org>
154 * makefile.msc : add gemblembedicon
156 2008-07-30 Matthias Clasen <mclasen@redhat.com>
158 Bug 545457 – gdmsetup crashed with SIGSEGV in
159 g_unix_mount_guess_should_display()
161 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
162 crash if no mount is found.
164 2008-07-28 Matthias Clasen <mclasen@redhat.com>
166 Bug 545203 – gfile.c: argument is different type.
168 * gfile.c (open_read_async_thread): Pass a GError **
169 to g_file_set_error_literal.
170 Reported by Kazuki Iwamoto
172 2008-07-28 Matthias Clasen <mclasen@redhat.com>
174 Bug 545157 – wrong/no list of "open with" applications for .cc and
177 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
178 Collect all ancestors, not just direct parents. Pointed
179 out by Bastien Nocera
181 2008-07-28 Matthias Clasen <mclasen@redhat.com>
183 * Makefile.am: Install gemblemedicon.h
185 2008-07-28 Matthias Clasen <mclasen@redhat.com>
187 * gemblemedicon.[hc]: Add a GIcon implementation that can
188 add an emblem to another icon.
195 * gfileicon.c: Small documentation additions.
197 2008-07-28 Tor Lillqvist <tml@novell.com>
199 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
202 2008-07-27 Tor Lillqvist <tml@novell.com>
204 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
206 2008-07-24 David Zeuthen <davidz@redhat.com>
210 Also export a g_mount_guess_content_type_sync() function.
212 2008-07-23 Matthias Clasen <mclasen@redhat.com>
214 529694 – SELinux context setting support
216 * gfileinfo.c: Support setting selinux attributes.
217 Patch by Tomas Bzatek
219 2008-07-22 Priit Laes <plaes@plaes.org>
221 Bug 544140 - fam-helper 64-bit issue?
223 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
225 2008-07-21 Matthias Clasen <mclasen@redhat.com>
227 * === Released 2.17.4 ===
229 2008-07-20 Matthias Clasen <mclasen@redhat.com>
231 * gvolumemonitor.[hc]:
236 * gmount.c: Documentation fixes
238 2008-07-19 Matthias Clasen <mclasen@redhat.com>
240 543504 – crash in Epiphany Web Browser: Opening local file
251 * gvolume.c: Register types thread-safely.
252 Patch by Christian Persch
254 2008-07-18 Matthias Clasen <mclasen@redhat.com>
256 * gcontenttype.c: Remove debug spew
258 2008-07-18 Matthias Clasen <mclasen@redhat.com>
260 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
263 * fen/fen-kernel.c: Remove a warning that was causing
264 crashes. Reported by Lin Ma.
266 2008-07-18 Matthias Clasen <mclasen@redhat.com>
268 Bug 543040 – async reading on dummy file will crash on
271 * gfile.c (open_read_async_thread): Cope with read_fn being
272 NULL. Reported by Lin Ma.
274 2008-07-18 Matthias Clasen <mclasen@redhat.com>
277 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
279 2008-07-16 Matthias Clasen <mclasen@redhat.com>
283 * giomodule.c: Rename a chapter id to avoid filename conflict.
285 2008-07-16 Matthias Clasen <mclasen@redhat.com>
287 Bug 540616 – mem leak in filechooser button
289 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
290 the mount entry. Reported by Chrisitan Persch
292 2008-07-16 Matthias Clasen <mclasen@redhat.com>
294 * gfile.c: Small documentation fixes.
296 2008-07-15 Matthias Clasen <mclasen@redhat.com>
298 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
300 2008-07-08 Matthias Clasen <mclasen@redhat.com>
305 * gmount.c: Documentation improvements.
307 2008-07-08 Matthias Clasen <mclasen@redhat.com>
310 * gmount.[hc]: Add g_mount_guess_content_type().
312 2008-07-06 David Zeuthen <davidz@redhat.com>
315 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
316 is needed for easily handling adoption of foreign volumes by
317 out-of-process volume monitors (#541793)
319 2008-07-06 David Zeuthen <davidz@redhat.com>
321 * gvolumemonitor.[ch]:
322 * gunionvolumemonitor.c: Export the eject-button signal on the
323 volume monitor class (#541794).
325 2008-07-06 Matthias Clasen <mclasen@redhat.com>
327 * gappinfo.c: More doc tweaks
329 2008-07-05 Matthias Clasen <mclasen@redhat.com>
331 * gappinfo.c: Clarify some docs
333 2008-07-03 Matthias Clasen <mclasen@redhat.com>
335 * gdesktopappinfo.c: Fix a stupid mistake.
337 2008-07-02 Matthias Clasen <mclasen@redhat.com>
339 * === Released 2.17.3 ===
341 2008-07-02 Matthias Clasen <mclasen@redhat.com>
343 * gfilemonitor.c: Fix the build.
345 2008-07-02 Matthias Clasen <mclasen@redhat.com>
347 Bug 536160 – Add g_file_monitor()
350 * gfile.[hc]: Add g_file_monitor which can return either
351 a file or a directory monitor. Proposed by Behdad Esfahbod
353 2008-07-02 Matthias Clasen <mclasen@redhat.com>
355 536733 – gio build failure on Irix
357 * glocalfile.c: Use a configure check for structfs.f_bavail.
359 2008-07-02 Matthias Clasen <mclasen@redhat.com>
361 Bug 534639 – add g_desktop_app_info_new_from_keyfile
364 * gdesktopappinfo.[hc]: Add a function to create a
365 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
367 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
369 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
371 2008-07-01 Matthias Clasen <mclasen@redhat.com>
373 * gunixmounts.c: Fix a doc typo.
375 2008-07-01 Cody Russell <bratsche@gnome.org>
377 * gio/gcontenttype.c:
378 * gio/gwin32appinfo.c:
379 * gio/gwin32volumemonitor.c:
380 * gio/gwin32mount.c: Fixed some include problems.
382 2008-07-01 Cody Russell <bratsche@gnome.org>
386 Moved all relevant typedefs into these files.
389 Updated wrt added files.
391 Split types into separate file for easier maintainership. (#538564)
393 2008-06-30 Matthias Clasen <mclasen@redhat.com>
395 Bug 540331 – g_file_append_to () documentation: can return NULL
397 * gfile.c (g_file_append_to): Clarify docs.
400 2008-06-30 Matthias Clasen <mclasen@redhat.com>
402 Bug 539090 – g_content_type_from_mime_type() should unalias
404 * gcontentype.c (g_content_type_from_mime_type): Unalias.
405 Patch by Markus Bergman
407 2008-06-30 Matthias Clasen <mclasen@redhat.com>
409 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
412 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
413 on ppc and alpha. Reported by Mart Raudsepp
415 2008-06-29 Matthias Clasen <mclasen@redhat.com>
418 * tests/memory-output-stream.c: Add some tests for
421 2008-06-29 Matthias Clasen <mclasen@redhat.com>
423 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
426 * gmemoryoutputstream.c (array_resize): Handle truncation to
427 zero correctly. Reported by Akira Tagoh
429 2008-06-29 Matthias Clasen <mclasen@redhat.com>
431 * gmemoryoutputstream.c: Trivial doc fixes
433 2008-06-29 Matthias Clasen <mclasen@redhat.com>
435 Bug 540802 – g_list_prepend doesn't concat lists
437 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
438 one list to another. Pointed out by Jan Arne Petersen
440 2008-06-28 Michael Natterer <mitch@imendio.com>
442 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
444 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
446 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
447 to avoid problems with partial icon themes.
449 2008-06-17 Hans Breuer <hans@breuer.org>
451 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
452 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
453 access again on win32, see bug #538127
454 * giomodule.c : ensure GWin32VolumeMonitor is registered
455 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
456 * Makefile.am makefile.msc : updated
458 2008-06-16 Hans Breuer <hans@breuer.org>
460 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
461 and initialization in one step avoids c99ism
463 2008-06-16 Christian Persch <chpe@gnome.org>
466 * gio/gbufferedinputstream.c
468 * gio/gdatainputstream.c
469 * gio/gdesktopappinfo.c
471 * gio/gfileenumerator.c
472 * gio/gfileinputstream.c
473 * gio/gfileoutputstream.c
475 * gio/glocaldirectorymonitor.c
477 * gio/glocalfileenumerator.c
478 * gio/glocalfileinfo.c
479 * gio/glocalfilemonitor.c
480 * gio/glocalfileoutputstream.c
481 * gio/gmemoryinputstream.c
482 * gio/gmemoryoutputstream.c
483 * gio/goutputstream.c
484 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
487 2008-06-16 Tor Lillqvist <tml@novell.com>
489 Bug 538362 - Get Win32 icons back in the file chooser
491 * gcontenttype.c (g_content_type_get_icon): Look up the icon
492 corresponding to a file extension in the Registry. Patch by Hans
494 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
496 2008-06-16 Tor Lillqvist <tml@novell.com>
498 Patches by Hans Breuer:
500 * glocalfile.c (is_xp_or_later): Handle compiling against older
501 SDK headers with missing VerifyVersionInfo(). Conditioned on
502 _MSC_VER, but should probably use some better test.
503 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
504 uninitialised statfs_result variable on Win32.
506 2008-06-16 Michael Natterer <mitch@imendio.com>
508 * *.c: chain up unconditionally in finalize() and dispose(). Also
509 don't dereference these function pointers when calling them since
510 that has no meaning at all.
512 2008-06-16 Ross Burton <ross@burtonini.com>
515 Remove check for dispose implementation as it annoys Emmanuele.
517 2008-06-16 Ross Burton <ross@burtonini.com>
519 Bug 536252 – GFileEnumerator should allow access to the containing
525 Add g_file_enumerator_get_container() and a container writeable
526 construct-only property. Also shuffle around typedefs to make it
529 * glocalfileenumerator.c:
530 * glocalfileenumerator.h:
532 Instead of a string filename take a GFile in the constructor and
533 use it to set the container property.
538 2008-06-16 Matthias Clasen <mclasen@redhat.com>
540 * gfile.c: Make includes more uniform
542 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
544 * tests/live-g-file.c (sample_struct):
545 Use less fancy unicode filenames, so the test doesn't fail
546 on Mac OS X (#531476).
548 2008-06-12 Matthias Clasen <mclasen@redhat.com>
550 * === Released 2.17.2 ===
552 2008-06-12 Matthias Clasen <mclasen@redhat.com>
554 * === Released 2.17.1 ===
556 2008-06-11 A. Walton <awalton@gnome.org>
558 * tests/g-file.c (test_g_file_new_null):
559 Fix broken test case.
561 2008-06-11 Matthias Clasen <mclasen@redhat.com>
563 * pltcheck.sh: We use g_clear_error now.
565 2008-06-11 Matthias Clasen <mclasen@redhat.com>
567 * glocalfile.c (g_local_file_enumerate_children): Revert
568 an unintended change.
570 2008-06-11 Matthias Clasen <mclasen@redhat.com>
572 * gfile.c (g_file_replace_contents): Don't unref before the last use.
574 2008-06-10 Matthias Clasen <mclasen@redhat.com>
576 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
579 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
580 as icon for the desktop directory, also make user-home and
581 user-desktop the preferred icons.
583 2008-06-10 Matthias Clasen <mclasen@redhat.com>
586 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
587 to add a name to the front of the list.
589 2008-06-10 Matthias Clasen <mclasen@redhat.com>
591 Bug 537392 – Additional colon in xattr name
593 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
594 too. Reported by Alessandro Morandi
596 2008-06-10 Matthias Clasen <mclasen@redhat.com>
598 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
601 * glocalfile.c (get_fs_type): Add afs and autofs.
602 Patch by Danny Baumann.
604 2008-06-10 Matthias Clasen <mclasen@redhat.com>
606 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
608 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
609 is no parent. (Owen Taylor, patch by Christian Neumair)
611 2008-06-10 Paolo Borelli <pborelli@katamail.com>
613 * gfile.c (g_file_replace_contents): do not leak the output stream.
615 2008-06-10 Michael Natterer <mitch@imendio.com>
617 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
618 uninitialized memory as array index.
620 2008-06-10 Tor Lillqvist <tml@novell.com>
622 * gcontenttype.c (g_content_type_can_be_executable)
623 (g_content_type_get_icon) [Win32]: Add TODO comments.
625 2008-06-09 Matthias Clasen <mclasen@redhat.com>
627 * xdgmime/Makefile.am: Fix the build
629 2008-06-09 Matthias Clasen <mclasen@redhat.com>
631 * gcontenttype.c (g_content_type_get_icon): Use icons specified
632 in the shared mime database, if available.
634 * xdgmime/*: Sync with upstream. This brings support for
635 glob weights, generic icons, and changes the cache format to
638 2008-05-28 Michael Natterer <mitch@imendio.com>
640 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
641 the global CPPFLAGS now.
643 * tests/data-input-stream.c
644 * tests/data-output-stream.c
645 * tests/g-file-info.c
647 * tests/live-g-file.c
648 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
650 2008-05-27 Matthias Clasen <mclasen@redhat.com>
652 * === Released 2.17.0 ===
654 * tests/live-g-file.c: Clean up after the tests, so make distcheck
655 doesn't complain about leftover files.
657 2008-05-27 simon.zheng <simon.zheng@sun.com>
659 * glocalfile.c: (g_local_file_query_filesystem_info):
660 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
662 2008-05-26 Michael Natterer <mitch@imendio.com>
664 * gmemoryoutputstream.h: declare
665 g_memory_output_stream_get_data_size().
667 2008-05-26 Matthias Clasen <mclasen@redhat.com>
669 * tests/*: Make tests work
671 2008-05-26 Matthias Clasen <mclasen@redhat.com>
673 * gio.symbols: Add g_memory_output_stream_get_data_size.
675 2008-05-25 Ross Burton <ross@burtonini.com>
678 Fix typo in error message (#534764).
680 2008-05-25 Ross Burton <ross@burtonini.com>
683 Fix circular dependency loop for gioenumtypes.h (#534759).
685 2008-05-19 Hans Breuer <hans@breuer.org>
687 * Makefile.am : EXTRA_DIST += makefile.msc
689 2008-05-17 Matthias Clasen <mclasen@redhat.com>
692 * gcontenttype.c: (g_content_type_from_mime_type):
693 New function to create a content type from a mime type. (#527175,
696 2008-05-17 Matthias Clasen <mclasen@redhat.com>
698 Bug 532965 – Should not return filesystem::free for certain file systems
700 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
701 free space for ncpfs.
703 2008-05-17 Matthias Clasen <mclasen@redhat.com>
705 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
707 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
708 st_dev might be zero.
710 2008-05-16 Tor Lillqvist <tml@novell.com>
712 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
713 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
715 2008-05-13 Bastien Nocera <hadess@hadess.net>
717 * gfile.c (has_valid_scheme): A URI scheme must start with a
718 letter, even if later more characters are allowed (#532852)
720 2008-05-05 Michael Natterer <mitch@imendio.com>
722 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
723 code from being checked in that breaks the build of applications
724 which use G_DISABLE_SINGLE_INCLUDES.
726 * makegioalias.pl: make the alias file include "glib.h" instead of
729 * gio.symbols: whitespace change to force regeneration of the
730 alias file after above script change.
732 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
734 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
736 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
738 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
740 2008-04-28 David Zeuthen <davidz@redhat.com>
742 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
743 displaying mounts in a subdirectory not accessible to the
746 2008-04-22 Michael Natterer <mitch@imendio.com>
748 * Makefile.am: fix library versioning (it was 0.0.0).
750 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
752 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
753 Default disable all loggings.
754 * fen/fen-kernel.c: (printevent), (port_add_kevent),
755 (port_fetch_event_cb): Fixed two macro nits.
757 2008-04-16 Matthias Clasen <mclasen@redhat.com>
759 * xdgmime/xdgmime.c: Rework the timestamp checking code
760 to protect against duplicate directories in XDG_DATA_DIRS.
761 Fixes fd.o bug 12513, reported by Joe Shaw.
763 2008-04-16 Matthias Clasen <mclasen@redhat.com>
765 Partically revert the last commit after realizing that
766 xdg_mime_media_type_equal doesn't have to init at all.
769 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
771 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
773 2008-04-16 Matthias Clasen <mclasen@redhat.com>
775 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
776 reported by Joe Shaw and Federico Mena Quintero.
778 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
779 (xdg_mime_media_type_equal): Turn into a wrapper around the
782 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
783 functions throughout.
785 2008-04-16 Michael Meeks <michael.meeks@novell.com>
787 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
788 tolerate an empty TryExec= line without failing; nautilus used
789 to create launchers with these in previous versions. Fixes #528433
791 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
793 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
794 after name. Fixes #527132.
796 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
798 * gfile.c: (g_file_replace):
801 2008-04-07 Matthias Clasen <mclasen@redhat.com>
803 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
805 * gfile.c (file_copy_fallback): Fix the argument order. Patch
806 by Christian Kellner.
808 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
810 * gunixmounts.c: (g_unix_mount_guess_should_display):
811 Don't list the user directory as a mount, fix potential issue
812 when other users have a similar naming and don't special case the
813 gvfs mounts there since that's not required (#525866)
815 2008-03-31 Alexander Larsson <alexl@redhat.com>
817 * glocalfile.c (get_parent):
820 2008-03-31 A. Walton <awalton@svn.gnome.org>
822 * gfile.c (g_file_query_file_type):
823 Always return a GFileType enum value (#520715).
825 2008-03-31 Alexander Larsson <alexl@redhat.com>
827 * glocalfileenumerator.c:
828 Read readdir() info in chunks (of 1000) and sort
829 the chunks by inode before stat:ing.
830 This is a 20% performance increase in testing
831 gvfs-ls on /usr/bin with cold cache.
833 2008-03-31 Alexander Larsson <alexl@redhat.com>
835 * gmemoryoutputstream.c:
836 Clarify docs for g_memory_output_stream_get_size.
837 Add g_memory_output_stream_get_data_size.
839 2008-03-30 Matthias Clasen <mclasen@redhat.com>
843 * gfile.h: Add g_file_query_file_type convenience function
844 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
846 2008-03-30 Matthias Clasen <mclasen@redhat.com>
849 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
851 2008-03-28 A. Walton <awalton@svn.gnome.org>
853 * giomodule.c (_g_io_modules_ensure_loaded):
854 Adds GIO_EXTRA_MODULES environment variable support, closing bug
857 2008-03-28 Alexander Larsson <alexl@redhat.com>
860 (copy_stream_with_progress):
863 2008-03-28 Alexander Larsson <alexl@redhat.com>
866 (copy_stream_with_progress):
867 (file_copy_fallback):
868 Fallback to g_file_query_info for source size
869 if g_file_input_stream_query_info fails. (#524579)
871 2008-03-28 Alexander Larsson <alexl@redhat.com>
873 * glocalfile.c (g_local_file_move):
874 Reuse old string instead of adding new one.
876 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
878 * fen/*.[hc]: still copyright issue. I hate copyright.
880 2008-03-27 Alexander Larsson <alexl@redhat.com>
882 * glocalfile.c (g_local_file_move):
883 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
884 file over directory. This is according to the docs and what the move via
885 copy+remove fallback does.
887 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
889 * fen/*.[hc]: Updated copyright.
891 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
893 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
895 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
897 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
898 not emit attribute changed events when optimizing changed events.
899 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
902 2008-03-19 Matthias Clasen <mclasen@redhat.com>
904 * gmountoperation.[hc]: Small documentation additions
906 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
908 * gunixmounts.c: (guess_mount_type):
909 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
911 2008-03-19 Alexander Larsson <alexl@redhat.com>
914 (copy_stream_with_progress):
915 Bump block side for copy to 64k to minimize
916 overhead for low latency links. (#523015)
918 2008-03-16 Tor Lillqvist <tml@novell.com>
920 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
921 depend on gio.def on Windows.
923 2008-03-12 David Zeuthen <davidz@redhat.com>
927 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
929 2008-03-14 Alexander Larsson <alexl@redhat.com>
933 Avoid redudant tests (#521851)
934 Patch from Josselin Mouette
936 2008-03-14 Alexander Larsson <alexl@redhat.com>
939 (g_file_monitor_is_cancelled):
940 Fix C89 issue (#521672)
941 Patch from Jens Granseuer
943 2008-03-14 Alexander Larsson <alexl@redhat.com>
945 * fam/fam-helper.[ch]:
947 Shut down fam (including removing fam GSource) when
948 module is unloaded (#521513)
949 Patch from Joe Marcus Clarke
951 2008-03-14 Alexander Larsson <alexl@redhat.com>
954 (_g_io_modules_ensure_loaded):
957 2008-03-14 Alexander Larsson <alexl@redhat.com>
960 (g_local_file_query_filesystem_info):
961 Use right define name for f_fstypename member check
963 2008-03-14 Alexander Larsson <alexl@redhat.com>
966 * fen/Makefile.am: Added.
967 * fen/fen-data.[ch]: Added.
968 * fen/fen-dump.[ch]: Added.
969 * fen/fen-helper.[ch]: Added.
970 * fen/fen-kernel.[ch]: Added.
971 * fen/fen-missing.[ch]: Added.
972 * fen/fen-node.[ch]: Added.
973 * fen/fen-sub.[ch]: Added.
974 * fen/gfendirectorymonitor.[ch]: Added.
975 * fen/gfenfilemonitor.[ch]: Added.
977 Added Solaris FEN file notification backend.
978 Patch from Lin Ma <Lin.Ma@Sun.COM>
980 2008-03-13 Tor Lillqvist <tml@novell.com>
982 * Makefile.am: Actually use the gio.def file when linking the
983 library on Windows. Produce .lib library for Microsoft's toolchain
984 when possible. Install the .lib and .def file like for the other
987 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
989 * tests/live-g-file.c:
990 Include live-g-file in standard set of tests, making a temporary
991 directory in source structure.
993 Clean target directory before the tests (write mode only)
995 2008-03-12 Tor Lillqvist <tml@novell.com>
997 Bug 517419 - gio win32 directory monitor
998 Implementation by Vlad Grecescu.
1001 * win32/gwin32directorymonitor.h
1002 * win32/gwin32directorymonitor.c: New files.
1004 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1006 * Makefile.am: Add the win32 subdirectory.
1008 2008-03-12 Tor Lillqvist <tml@novell.com>
1010 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1011 normal struct stat on Unix but struct _stati64 on Windows to have
1012 access to 64-bit file size information. Use that instead of struct
1013 stat in the functions declared here in this private header.
1015 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1016 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1017 warnings about unused functions and variables. Don't set
1018 meaningless attributes like inode numbers on Windows.
1020 2008-03-12 Benjamin Otte <otte@gnome.org>
1023 trim whitespace so gtk-doc groks the function name
1025 2008-03-12 Tor Lillqvist <tml@novell.com>
1027 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1028 returning FALSE, on Win32.
1030 2008-03-11 Alexander Larsson <alexl@redhat.com>
1033 * glocalfileinfo.[ch]:
1034 Correctly implement can_trash by actually
1035 looking for a trash dir, not just assuming
1038 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1040 * === Released 2.16.1 ===
1042 2008-03-11 Alexander Larsson <alexl@redhat.com>
1045 Fix crashes in new constructor and properties code
1047 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1049 * gfile.c: Minor spelling correction in documentation:
1050 existance -> existence.
1052 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1054 * === Released 2.16.0 ===
1056 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1058 * gio.symbols: Remove g_file_contains_file here, too.
1060 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1062 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1063 Samuel Cormier-Iijima)
1065 2008-03-08 Tor Lillqvist <tml@novell.com>
1067 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1070 2008-03-07 Alexander Larsson <alexl@redhat.com>
1073 (g_local_file_query_filesystem_info):
1074 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1075 Patch from Jasper Lievisse Adriaanse
1077 2008-03-06 Tor Lillqvist <tml@novell.com>
1079 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1080 comments for the *_USEC attributes.
1082 2008-03-06 Alexander Larsson <alexl@redhat.com>
1084 * gfile.c (g_file_query_exists):
1085 Add g_return_val_if_fail check (#520700)
1087 2008-03-06 Alexander Larsson <alexl@redhat.com>
1089 * gdesktopappinfo.c:
1092 * gunionvolumemonitor.c:
1095 * tests/live-g-file.c:
1096 * xdgmime/xdgmimecache.c:
1097 Fix sparse warnings (#519489)
1099 2008-03-05 Alexander Larsson <alexl@redhat.com>
1102 Make cancellation threadsafe (i.e.
1103 guarantee its only done once, and always
1106 * glocaldirectorymonitor.c:
1107 Make sure we the monitor lives while the
1108 mounts_changed callback is being called (#520484)
1110 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1112 * gbufferedinputstream.c: Fix typo in parameter
1115 2008-03-04 Alexander Larsson <alexl@redhat.com>
1118 Remove deprecated symbols we kept for one release.
1120 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1123 * goutputstream.c: Tiny documentation corrections.
1125 2008-03-03 Alexander Larsson <alexl@redhat.com>
1127 * gunionvolumemonitor.c:
1129 Fix the adopt_orphan_mount vfunc to take a
1130 volume_monitor reference in an ABI compat way.
1131 This change is not API compat, but the added
1132 arg is not used in the only user of this vfunc, so
1133 all we get is a harmless warning in gvfs (#520169)
1135 2008-03-01 Benjamin Otte <otte@gnome.org>
1138 clarify docs for g_file_delete().
1140 2008-02-29 Alexander Larsson <alexl@redhat.com>
1144 Make sure empty files get text/plain type (#518720)
1146 2008-02-27 Alexander Larsson <alexl@redhat.com>
1152 (g_unix_volume_mount):
1153 Add missing GMountMountFlags argument
1155 2008-02-26 Alexander Larsson <alexl@redhat.com>
1158 (g_local_file_delete):
1159 Handle filesystems (like ntfs-3g) that return EEXIST instead
1160 of ENOTEMPTY (#518816)
1162 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1164 * === Released 2.15.6 ===
1166 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1168 * gfile.c (g_file_find_enclosing_mount):
1169 * ginputstream.c (g_input_stream_set_pending):
1170 * glocalfile.c (g_local_file_find_enclosing_mount):
1171 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1172 * goutputstream.c (g_output_stream_set_pending):
1174 Fixup translator comments (#518578).
1176 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1178 * gfile.c (g_file_find_enclosing_mount):
1180 * glocalfile.c (g_local_file_find_enclosing_mount):
1183 Fix a few typos in translator comments and documentation.
1185 2008-02-25 Alexander Larsson <alexl@redhat.com>
1192 Add translator comments (#518578)
1194 2008-02-25 Alexander Larsson <alexl@redhat.com>
1197 Reintroduce g_file_contains_file, keep around for one
1198 unstable release cycle to avoid crashing to many apps.
1199 Make sure to delete after release.
1201 2008-02-25 Alexander Larsson <alexl@redhat.com>
1204 Remove deprecated g_file_contains_file.
1206 2008-02-25 Alexander Larsson <alexl@redhat.com>
1209 Emit actual change signals in an idle handler.
1210 This avoids reentrance and locking problems in
1211 the file notification backends.
1213 2008-02-25 Alexander Larsson <alexl@redhat.com>
1216 (g_unix_mount_guess_should_display):
1217 Remove type guessing, instead just display
1218 mounts in /media and in ~/.
1220 2008-02-25 Alexander Larsson <alexl@redhat.com>
1223 Make new strings reuse old ones.
1225 2008-02-25 Alexander Larsson <alexl@redhat.com>
1228 Implement trashing and filesystem::readonly for win32 (#517235)
1229 Patch from Yevgen Muntyan
1231 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1233 * gfileinfo.h: Documentation fixes.
1235 2008-02-22 Alexander Larsson <alexl@redhat.com>
1237 * gcontenttype.c (g_content_type_get_icon):
1238 Look at old-style gnome mime icon names too, as many
1239 have not moved to the new style.
1241 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1243 * *.c: Correct the @include in for section docs.
1245 2008-02-21 David Zeuthen <davidz@redhat.com>
1247 * glocalfileinfo.c: (_g_local_file_info_get):
1249 (g_content_type_get_icon): Implement this function by
1250 moving bits from glocalfileinfo.c
1251 (g_content_type_get_description): Unalias before getting
1252 description (#517687)
1254 * gfile.c: (g_file_class_init),
1255 (g_file_query_filesystem_info_async),
1256 (g_file_query_filesystem_info_finish),
1257 (query_filesystem_info_data_free),
1258 (query_filesystem_info_async_thread),
1259 (g_file_real_query_filesystem_info_async),
1260 (g_file_real_query_filesystem_info_finish):
1261 * gfile.h: Implement async version of
1262 g_file_query_filesystem_info()
1264 * gfileinfo.h: Add new attributes for filesystem::use-preview
1266 * gio.symbols: Update
1268 * gthemedicon.c: (g_themed_icon_append_name):
1269 * gthemedicon.h: Add new new convenience function.
1271 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1272 (get_mounts), (get_volumes), (get_connected_drives),
1273 (get_volume_for_uuid), (get_mount_for_uuid),
1274 (g_union_volume_monitor_init), (populate_union_monitor),
1275 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1276 (g_volume_monitor_adopt_orphan_mount):
1278 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1279 monitor implementations to call into the main volume monitor. Also
1280 separate object initialization and volume monitor initialization
1281 such that non-native volume monitors can properly adopt their
1284 2008-02-21 Alexander Larsson <alexl@redhat.com>
1289 2008-02-21 Alexander Larsson <alexl@redhat.com>
1292 Add more documentation about how GFiles work (from #517086)
1294 2008-02-21 Alexander Larsson <alexl@redhat.com>
1298 Add new g_file_has_prefix that does the same as g_file_contains_file.
1299 Deprecate g_file_contains_file and add a macro that converts
1300 it to g_file_has_prefix.
1301 The reason for this change is that the contains_file() name seems to
1302 imply that this does more work than what it does, but its really only
1303 a name match (from #517086)
1308 Update to match the above change.
1310 2008-02-20 Benjamin Otte <otte@gnome.org>
1312 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1313 (g_file_eject_mountable):
1314 even more cases of not returning in error path
1316 2008-02-20 Benjamin Otte <otte@gnome.org>
1318 * gfile.c: (g_file_mount_mountable):
1319 return from function in error path.
1321 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1324 Remove trailing coma in GMountMountFlags struct
1326 2008-02-18 Alexander Larsson <alexl@redhat.com>
1330 * glocalfileoutputstream.c:
1331 Use g_unlink/g_rename instead of unlink/rename;
1332 do not pass raw filenames to g_set_error. (#517239)
1333 Patch from Yevgen Muntyan.
1335 2008-02-18 Alexander Larsson <alexl@redhat.com>
1338 * glocalfileoutputstream.c:
1339 Open files with O_BINARY on windows. (#517140)
1341 2008-02-14 Alexander Larsson <alexl@redhat.com>
1343 * glocalfileoutputstream.c:
1344 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1346 2008-02-14 Alexander Larsson <alexl@redhat.com>
1349 Copy permissions with file on copy (#514084)
1350 This is what cp does and makes sure e.g. the
1351 exec permissions are kept.
1352 Its kinda weird in that it keeps the permission bits
1353 the same while the uid and gid are different. However
1354 the new uid is the user so its not a security issue,
1355 and I've heard no complaints about cp on this issue.
1357 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1359 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1361 2008-02-13 Alexander Larsson <alexl@redhat.com>
1363 * inotify/inotify-path.c:
1364 Define IN_ONLYDIR if not in header (#515346)
1366 2008-02-12 Alexander Larsson <alexl@redhat.com>
1368 * tests/live-g-file.c:
1371 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1373 * === Released 2.15.5 ===
1375 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1377 * gio.symbols: Add g_mount_mount_flags_get_type.
1379 2008-02-11 Alexander Larsson <alexl@redhat.com>
1382 (g_file_info_set_attribute_mask):
1383 (g_file_attribute_matcher_matches_id):
1384 Correctly handle NULL GAttributeMatcher meaning
1385 matches nothing. (Fixes #513492)
1387 2008-02-11 Alexander Larsson <alexl@redhat.com>
1392 Added GMountMountFlags enum and added a flags
1393 argument to all mount calls.
1395 This is an API/ABI change for future extensibility,
1396 as I think we will need at least an
1397 inhibit-autorun flag (the panel needs this).
1398 There are no flags defined yet though.
1400 2008-02-11 Alexander Larsson <alexl@redhat.com>
1403 Added new standard::description attribute.
1404 Requested by Vincent, and useful for both
1407 2008-02-11 Alexander Larsson <alexl@redhat.com>
1409 * gdesktopappinfo.c:
1412 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1414 * *.c: Documentation additions
1416 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1418 * gappinfo.h: Formatting cleanup
1419 * gappinfo.c: Fix up docs.
1421 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1423 * gunixmounts.c: Consistently use getmntent_r() and fall
1424 back to getmntent(). (#515492)
1426 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1428 * gbufferedinputstream.c:
1430 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1432 * tests/data-input-stream.c:
1433 * tests/data-output-stream.c: Portability fixes.
1435 2008-02-08 Alexander Larsson <alexl@redhat.com>
1440 Add g_volume_should_automount.
1443 2008-02-07 Tor Lillqvist <tml@novell.com>
1445 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1446 Win32, too Unix-specific.
1448 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1450 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1451 a local plt if the compiler doesn't support what we want. Bug #514702
1453 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1455 reviewed by: <delete if not using a buddy>
1458 * gunixinputstream.c:
1459 * gunixoutputstream.c:
1461 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1463 * tests/Makefile.am:
1464 * tests/live-g-file.c:
1465 * tests/live-g-file.txt:
1466 New GIO testing module working over real data
1468 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1470 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1471 Fallback to rename() if link() is not available
1472 (when no support on target filesystem)
1474 2008-02-06 Michael Natterer <mitch@imendio.com>
1476 * gfileinfo.c (g_file_info_get_icon): replace
1477 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1479 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1481 * gfile.c (g_file_create):
1482 Documentation update of error codes
1484 2008-02-06 Alexander Larsson <alexl@redhat.com>
1486 * gdesktopappinfo.c:
1487 Update to use both mimeapps.list and
1488 defaults.list as discussed on xdg list.
1490 2008-02-06 Benjamin Otte <otte@gnome.org>
1493 * gfilenamecompleter.c:
1494 Fix some typos in the documentation.
1496 2008-02-06 Alexander Larsson <alexl@redhat.com>
1498 * glocalfile.c (g_local_file_trash):
1499 Don't succeed with trash if newly created
1500 trash dir has the wrong owner. (#514696)
1502 2008-02-05 Alexander Larsson <alexl@redhat.com>
1504 * glocalfile.c (g_local_file_move):
1505 Don't spew warnings when destination is not
1508 2008-02-03 Hans Breuer <hans@breuer.org>
1510 * makefile.msc : update
1512 2008-02-01 Michael Natterer <mitch@imendio.com>
1514 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1515 return value of xdg_mime_list_mime_parents() to a variable of the
1518 2008-02-01 Alexander Larsson <alexl@redhat.com>
1520 * gappinfo.c (g_app_info_launch_uris):
1521 Actually call the launch_uris method, not
1524 2008-02-01 Alexander Larsson <alexl@redhat.com>
1526 * gdesktopappinfo.c (g_desktop_app_info_equal):
1527 Ensure appinfos with no id but same pointer value
1530 2008-02-01 Alexander Larsson <alexl@redhat.com>
1532 * gappinfo.c (g_app_info_launch_default_for_uri):
1535 2008-02-01 Alexander Larsson <alexl@redhat.com>
1539 Add g_app_info_launch_default_for_uri utility
1542 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1544 * gdesktopappinfo.c:
1545 Doc fix for g_app_info_get_default_for_uri_scheme ()
1548 2008-01-30 Alexander Larsson <alexl@redhat.com>
1551 Add doc comment about uris vs GFiles to
1554 * gdesktopappinfo.c:
1555 Ensure uris passed to g_app_info_launch_uris()
1556 are not roundtriped through GFile (as that
1557 may be slightly destructive for e.g. mailto: links)
1559 2008-01-30 Alexander Larsson <alexl@redhat.com>
1561 * tests/data-input-stream.c:
1562 * tests/data-output-stream.c:
1563 C89 fixes from Jens Granseuer (#512849)
1565 2008-01-30 Alexander Larsson <alexl@redhat.com>
1568 Fix gamin/fam difference build issue. (#509419)
1570 2008-01-29 Alexander Larsson <alexl@redhat.com>
1573 * gdesktopappinfo.c:
1574 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1576 2008-01-29 Alexander Larsson <alexl@redhat.com>
1578 * gdesktopappinfo.c:
1579 * gdesktopappinfo.h:
1580 giomodule-priv.h include moved to .c file.
1582 2008-01-29 Alexander Larsson <alexl@redhat.com>
1584 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1585 Remove unused prio/name fields.
1587 2008-01-29 Alexander Larsson <alexl@redhat.com>
1589 * gcontenttype.c (looks_like_text):
1590 Don't treat whitespace as control chars.
1592 2008-01-29 Alexander Larsson <alexl@redhat.com>
1594 * gdesktopappinfo.c:
1595 Lazily create the desktop files for appinfos created
1596 by g_app_info_create_from_commandline() when needed
1597 for mime associations. This allows run-time use
1598 of GAppInfo object without creating unnecessary
1601 2008-01-29 Alexander Larsson <alexl@redhat.com>
1604 Added new symbols to gio.symbols
1606 2008-01-29 Alexander Larsson <alexl@redhat.com>
1609 Add g_file_query_default_handler utility to easily look up
1610 the GAppInfo that handles a file.
1612 * gdesktopappinfo.[ch]:
1614 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1617 Remove unused function
1619 2008-01-29 Alexander Larsson <alexl@redhat.com>
1621 * gfileenumerator.c:
1622 Mention need to free returned value in
1623 g_file_enumerator_next_files_finish docs.
1624 Fix leak if g_file_enumerator_next_files_finish()
1627 2008-01-29 Alexander Larsson <alexl@redhat.com>
1630 (_g_unix_content_type_get_parents):
1631 Use list_parents, not get_parents from xdgmime, because
1632 the later doesn't use the cache.
1634 * xdgmime/xdgmimecache.c:
1635 (_xdg_mime_cache_list_mime_parents):
1636 Don't list the same type as parent multiple times.
1638 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1640 * === Released 2.15.4 ===
1642 2008-01-28 Alexander Larsson <alexl@redhat.com>
1645 Register local vfs with prio 0.
1648 Remove old name and prio class members
1650 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1652 * tests/g-file.c: Disable some tests that are failing in
1653 the absence of a http backend.
1655 2008-01-28 Alexander Larsson <alexl@redhat.com>
1659 Add registration hooks for extension points.
1660 Register the gio extension points.
1662 * fam/gfamdirectorymonitor.c:
1663 * fam/gfamfilemonitor.c:
1664 * glocaldirectorymonitor.[ch]:
1665 * glocalfilemonitor.[ch]:
1666 * gnativevolumemonitor.h:
1667 * gunionvolumemonitor.c:
1668 * gunixvolumemonitor.c:
1671 * inotify/ginotifydirectorymonitor.c:
1672 * inotify/ginotifyfilemonitor.c:
1673 Use the extension points registration instead
1674 of g_type_children().
1676 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1679 * gvolume.[hc]: Document new API.
1681 * gfile.c (g_file_copy_async): Fix docs
1683 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1685 * gbufferedinputstream.c:
1687 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1690 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1692 * glocalfile.c: Avoid trivial differences in translatable strings.
1694 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1696 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1697 build with gcc 3.4 (#509419)
1699 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1701 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1702 (#509994, Murray Cumming)
1704 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1706 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1707 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1708 this allows big jobs to be executed in chunks, instead of blocking
1709 the main loop for a long time.
1711 * gsimpleasyncresult.c:
1712 * giofile.c: Adapt callers.
1714 2008-01-25 Alexander Larsson <alexl@redhat.com>
1716 * gdesktopappinfo.c:
1717 Implement changes discussed on xdg list.
1718 Now we can add supported mimetypes by just using defaults.list
1719 We can also remove associations in defaults.list.
1721 2008-01-25 Alexander Larsson <alexl@redhat.com>
1723 * gdesktopappinfo.c:
1724 Don't make local copy of desktop file
1725 for mimetype changes if the file already
1726 supports the new mimetype.
1728 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1732 * gbufferedinputstream.c:
1733 * glocalfile.c: String improvements. (#511966,
1734 Theppitak Karoonboonyanan)
1736 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1738 * gioscheduler.h: Expand docs a bit.
1740 2008-01-24 Alexander Larsson <alexl@redhat.com>
1743 Add g_drive_get_identifier and
1744 g_drive_enumerate_identifiers
1747 Add g_volume_get_identifier and
1748 g_volume_enumerate_identifiers
1754 Implement identifiers for unix backend
1756 2008-01-24 Alexander Larsson <alexl@redhat.com>
1761 Add g_file_copy_async() (#511580)
1762 Based on patch from Carlos Garcia Campos
1764 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1766 * gioscheduler.c: Some documentation additions.
1768 2008-01-22 Alexander Larsson <alexl@redhat.com>
1770 * gdesktopappinfo.c:
1771 (g_desktop_app_info_new):
1772 Don't leak basename.
1774 2008-01-22 Alexander Larsson <alexl@redhat.com>
1776 * gdesktopappinfo.c:
1777 (g_desktop_app_info_new_from_filename):
1780 2008-01-22 Alexander Larsson <alexl@redhat.com>
1782 * glocalfileinfo.c (get_thumbnail_attributes):
1785 2008-01-22 Alexander Larsson <alexl@redhat.com>
1788 (canonicalize_filename):
1789 Canonicalize paths that start with more than
1793 (compare_two_files):
1794 (test_g_file_new_for_path):
1797 2008-01-22 Alexander Larsson <alexl@redhat.com>
1800 Allow UTF-8 in file:// parse names.
1802 * tests/Makefile.am:
1803 * tests/data-input-stream.c:
1804 * tests/data-output-stream.c:
1805 * tests/g-file-info.c:
1807 Added a bunch of tests from Tomas Bzatek
1809 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1811 * === Released 2.15.3 ===
1813 2008-01-21 Alexander Larsson <alexl@redhat.com>
1815 * gfileinputstream.[ch]:
1816 * gfileoutputstream.[ch]:
1818 Remove duplicated GSeekable functions. (#509990)
1819 Just use the g_seekable_xxx() calls instead.
1821 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1824 * gvolumemanager.c: Whitespace cleanups.
1826 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1827 Use the right mode when creating the file.
1829 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1831 * gfileenumerator.c:
1832 * gfileinputstream.c:
1834 * goutputstream.c: Documentation: Fixed minor typos
1835 and added more mentions of specific _finish() functions.
1837 2008-01-21 Alexander Larsson <alexl@redhat.com>
1839 * inotify/Makefile.am:
1840 * inotify/inotify-helper.c:
1841 * inotify/inotify-kernel.c:
1842 * inotify/inotify-path.c:
1843 * inotify/local_inotify.h: Removed.
1844 * inotify/local_inotify_syscalls.h: Removed.
1845 Removed the included copies of the inotify
1846 headers. We now only use the <sys/inotify.h>
1847 header which exists on modern systems.
1848 This fixes problems on ARM and SH5 (#510448)
1849 but is also generally much cleaner and future
1850 safe. For instance, if other OSes add support
1851 for inotify it should "just work".
1853 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1855 * inotify/*.c: Coding style fixes.
1856 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1857 for the 1/4 Hz timer.
1859 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1862 * gfilemonitor.[hc]:
1863 * gmemoryinputstream.c:
1864 * gmemoryoutputstream.c:
1865 * gmountoperation.c:
1866 * gthemedicon.c: Documentation updates
1868 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1870 * gfile.c: documentation: Fixed more minor
1873 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1875 * gmount.c: (g_mount_remount): documentation:
1876 Mention g_mount_remount_finish() instead of
1877 g_mount_unmount_finish().
1879 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1883 * gfile.c: Fixed some minor typos in the
1886 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1888 * gio/gvolumemonitor.c:
1889 (g_volume_monitor_get_connected_drives):
1890 (g_volume_monitor_get_volumes):
1891 (g_volume_monitor_get_mounts): Documentation:
1892 Clarify the ownership of the regurn GLists.
1894 2008-01-17 Alexander Larsson <alexl@redhat.com>
1897 Add the async find_enclosing_mount version
1898 to the header file too.
1900 2008-01-17 Alexander Larsson <alexl@redhat.com>
1903 Add async version of find_enclosing_mount
1904 with default implementation.
1906 2008-01-17 Alexander Larsson <alexl@redhat.com>
1911 Allow calls to implementation of copy and write
1912 even if the type of the file implementations is
1913 different. This can be used to implement native
1914 upload and download calls in a vfs.
1917 (g_local_file_move):
1918 Protect against the case where move is called
1919 with one file not being local.
1921 Make sure we call the progress callback once
1922 in the native move operation so that the caller
1923 knows how many bytes were copied.
1925 2008-01-16 Murray Cumming <murrayc@murrayc.com>
1928 * gdatainputstream.c:
1930 * gfileoutputstream.c:
1935 * gunixmounts.c: Corrected some typos in the documentation:
1936 occured -> occurred.
1937 its -> it's (where appropriate).
1939 2008-01-16 Alexander Larsson <alexl@redhat.com>
1943 Add g_file_query_exists (#508771)
1945 2008-01-15 Murray Cumming <murrayc@murrayc.com>
1950 * gvolume.c: For async functions that have no non-async
1951 version, document that the GAsyncReadyCallback may be NULL.
1954 2008-01-15 Alexander Larsson <alexl@redhat.com>
1956 * gmemoryinputstream.c:
1957 * gmemoryoutputstream.c:
1958 Don't do pointer arithmetic on void * (#508602)
1959 Patch from Kazuki IWAMOTO
1961 2008-01-14 Matthias Clasen <mclasen@redhat.com>
1963 * === Released 2.15.2 ===
1965 2008-01-14 Alexander Larsson <alexl@redhat.com>
1967 * gfile.c (g_file_monitor_file):
1968 Don't set error here, since we fallback to polling monitor.
1970 2008-01-14 Alexander Larsson <alexl@redhat.com>
1973 (g_file_monitor_directory):
1974 (g_file_monitor_file):
1975 Add GError to file monitor calls
1977 * glocaldirectorymonitor.c:
1978 * glocaldirectorymonitor.h:
1980 * glocalfilemonitor.c:
1981 * glocalfilemonitor.h:
1983 Update for above change
1985 2008-01-14 Alexander Larsson <alexl@redhat.com>
1989 Handle root correctly in g_file_get_relative_path (#508719)
1991 2008-01-14 Alexander Larsson <alexl@redhat.com>
1994 Clean up docs and example for GAsyncResult (#508074)
1996 2008-01-11 Murray Cumming <murrayc@murrayc.com>
1998 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
1999 and correct some spelling mistakes. Bug #508108.
2001 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2003 * glocalfileinfo.c: Add a comment.
2005 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2007 * gfileinfo.c: GFileInfo description: Mention
2008 how to actually set attributes in a GFile and how to discover
2009 which attributes are settable. Bug #508378.
2011 2008-01-10 A. Walton <awalton@svn.gnome.org>
2013 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2014 (g_app_info_get_default_for_type):
2015 Check for NULL content types.
2017 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2019 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2021 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2023 * gfile.c: *_async() functions: Several small corrections
2024 to the documentation, mostly correcting copy/paste errors
2025 and improving some sentences.
2027 2008-01-09 Dan Winship <danw@gnome.org>
2029 * glocalfile.c (get_unique_filename): x86_64 fix
2031 2008-01-09 Alexander Larsson <alexl@redhat.com>
2036 Add g_unix_mount_guess_should_display and use
2037 for unix volume monitor backend.
2038 This means we more or less show what the
2039 gnome-vfs backend did.
2040 Based on patch from Padraig O'Briain
2042 2008-01-09 Alexander Larsson <alexl@redhat.com>
2046 Add g_themed_icon_new_with_default_fallbacks
2049 Use default fallbacks for icons
2051 2008-01-09 Alexander Larsson <alexl@redhat.com>
2054 * gmountoperation.[ch]:
2055 Change the API a bit so that unhandled methods
2056 get reported via the reply, rather than by
2057 the signal emission return value. This is because
2058 some handlers can't know this immediately without
2059 doing I/O, and this is an async operation that
2062 2008-01-09 Alexander Larsson <alexl@redhat.com>
2065 * fam/gfamdirectorymonitor.c:
2066 * fam/gfamfilemonitor.c:
2067 Fix double free crash (#508224)
2068 Patch from Joe Marcus Clarke
2070 008-01-07 Matthias Clasen <mclasen@redhat.com>
2072 * === Released 2.15.1 ===
2074 2008-01-07 Alexander Larsson <alexl@redhat.com>
2076 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2077 Fix warning (#507835)
2079 2008-01-07 Alexander Larsson <alexl@redhat.com>
2082 Pass --internal to glib-genmarshal
2085 * gmountoperation.c:
2087 Use better types for signal arguments (#507822)
2089 2008-01-07 Alexander Larsson <alexl@redhat.com>
2092 Build test subdir after .
2093 Remove gdirectorymonitor.[ch]
2095 * gdirectorymonitor.[ch]:
2099 Remove GDirectoryMonitor and make
2100 GFileMonitor the baseclass for both file and
2101 directory monitors. Lift the more generic
2102 rate limiting code from GDirectoryMonitor
2106 * fam/gfamdirectorymonitor.[ch]:
2107 * inotify/ginotifydirectorymonitor.[ch]:
2108 * inotify/inotify-helper.c:
2109 * glocaldirectorymonitor.[ch]:
2112 Update for the removed GDirectoryMonitor.
2114 * gmemoryoutputstream.c:
2115 Remove ununsed variable
2117 2008-01-07 Alexander Larsson <alexl@redhat.com>
2119 * gmemoryinputstream.c:
2120 Translate error strings
2123 * gmemoryoutputstream.[ch]:
2124 New implementation that avoids using GByteArray
2125 in implementation and API. (#506377)
2127 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2129 * tests/*: Add a test for memory input streams.
2131 * Makefile.am: Add tests to SUBDIRS.
2133 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2135 * glocalfilemonitor.c:
2136 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2139 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2141 * gdesktopappinfo.c: Fix a docs typo.
2143 * gfileattribute.c: Add information about extended attributes
2144 to the documentation. (#505058)
2146 2008-01-04 Alexander Larsson <alexl@redhat.com>
2149 * gmountoperation.c:
2150 Use the right type (uint) for the ask_password signal.
2152 2008-01-04 Alexander Larsson <alexl@redhat.com>
2157 Add g_app_info_supports_files()
2158 Remove desktop arg from g_app_info_should_show().
2160 * gdesktopappinfo.[ch]:
2161 Implement g_app_info_supports_files() and new should_show()
2162 Add g_desktop_app_info_set_desktop_env() to set the desktop
2163 for should_show(). (This will be set by gtk+ later)
2165 2008-01-04 Alexander Larsson <alexl@redhat.com>
2168 * gmemoryinputstream.[ch]:
2169 Improve API so that you can use multiple chunks
2170 of memory and custom destroy functions. (#506374)
2172 2008-01-03 Alexander Larsson <alexl@redhat.com>
2175 Handle NULL attribute matchers safely, as we return this
2176 for empty attribute matcher strings.
2178 2008-01-03 Alexander Larsson <alexl@redhat.com>
2180 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2181 Add /usr/local to list of internal mountpoints
2183 2008-01-03 Alexander Larsson <alexl@redhat.com>
2186 Check for HAVE_LCHOWN (#505887)
2188 2008-01-03 Alexander Larsson <alexl@redhat.com>
2192 Add define for selinux context attribute.
2193 Fix missing : -> :: namespace separator change
2194 Fix missing _ -> - name change for xattr-sys.
2197 2008-01-03 Alexander Larsson <alexl@redhat.com>
2200 Link to libglib and libgobject directly (#504879)
2201 Patch from Sebastien Bacher
2203 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2205 * gfile.c: Expanded the g_file_new_for_commandline_arg
2206 description a bit, based on the code and the docs of the
2207 other g_file_new_for_* functions.
2209 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2211 * gfilemonitor.h: Fixed typo in docs.
2213 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2215 Updates to GIO documentation. (#506395, Mikael Hermansson)
2217 * gcontenttype.c: Describe memory management for return value of
2218 g_content_types_get_registered(). Missing piece from #505815.
2219 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2220 GVolume, GDrive, GMounts, which hopefully gives the user less
2221 confusions when using this API. Following explainations from
2222 Alexander Larsson on gtk-devel-list.
2224 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2226 * gfileinfo.c: Expand the long description.
2228 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2231 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2232 fix builds with --disable-visibility. (#500273, Christian Persch)
2234 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2236 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2237 in the list of returned app infos.
2239 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2241 * gappinfo.c: Fix a cross-reference
2243 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2245 * gfileinputstream.c:
2246 * gfileoutputstream.c:
2250 * gdesktopappinfo.c:
2252 * gfileinfo.c: Documentation updates.
2254 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2256 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2259 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2261 * gcontenttype.c (g_content_types_get_registered): Don't return
2262 freed memory (#505815, Mikael Hermansson)
2264 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2266 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2267 used to detect statbuf->st_blocks. (#505042)
2269 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2271 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2272 environment handling. (#504829, Cosimo Cecchi)
2274 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2276 * gappinfo.c: Doc improvements
2278 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2281 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2283 * === Released 2.15.0 ===
2285 2007-12-20 Hans Breuer <hans@breuer.org>
2287 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2288 with symbols gwin32appinfo.obj, added gmount.obj
2289 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2291 2007-12-20 Alexander Larsson <alexl@redhat.com>
2297 * gfilenamecompleter.c:
2300 * gpollfilemonitor.c:
2301 File attribute renames:
2303 fs:: -> filesystem::
2304 id::fs -> id::filesystem
2306 2007-12-20 Alexander Larsson <alexl@redhat.com>
2315 Add GMountUnmountFlags to all unmount and
2317 Add g_mount_remount() call.
2319 2007-12-20 Alexander Larsson <alexl@redhat.com>
2321 * gvfs.c (get_default_vfs):
2322 Fix unused variable warning
2324 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2326 * pltcheck.sh: Update
2328 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2330 * gunionvolumemonitor.c:
2331 * gunixmount.c: Remove C99 comments
2333 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2335 * gio.symbols: Add some missing symbols
2337 2007-12-19 Alexander Larsson <alexl@redhat.com>
2340 Make g_io_modules_load_all_in_directory not unuse
2341 loaded modules so that users of it can do stuff
2343 Init internal "module" types.
2344 Initialize static prio and name for types so that
2345 we don't have to load modules to get it.
2347 * gnativevolumemonitor.h:
2349 Move is_supported to parent class so that
2350 non-native monitors can avoid being initialized
2351 too. (For instance GDaemonVolumeMonitor if we're
2352 not using GDaemonVfs.)
2354 * glocaldirectorymonitor.[ch]:
2355 * glocalfilemonitor.[ch]:
2356 * gunionvolumemonitor.c:
2357 * gunixvolumemonitor.c:
2359 Find plugins using the static prio+name to
2360 avoid unnecessarily loading the modules.
2362 2007-12-19 Alexander Larsson <alexl@redhat.com>
2367 2007-12-19 Alexander Larsson <alexl@redhat.com>
2369 * gunionvolumemonitor.c:
2370 Store the native type as GType, not class so that
2371 we can unload it. But still avoid unnecessarily
2374 2007-12-19 David Zeuthen <davidz@redhat.com>
2376 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2377 add signals 'disconnected' and 'eject-button' on GDrive. Add
2378 signal 'removed' on GVolume and 'unmounted' on GMount.
2380 * gdrive.c: (g_drive_base_init):
2382 * gfile.c: (g_file_mount_mountable),
2383 (g_file_mount_enclosing_volume):
2386 * gmount.c: (g_mount_base_init):
2388 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2389 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2390 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2394 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2396 * *.c: Fix up includes in the section docs.
2398 2007-12-17 Alexander Larsson <alexl@redhat.com>
2400 * gnativevolumemonitor.h:
2401 * gunionvolumemonitor.c:
2402 * gunixvolumemonitor.c:
2403 Add is_supported() to GNativeVolumeMonitorClass so
2404 that we can avoid having to create an object to see
2405 if the backend is supported at runtime.
2406 Also add name member and an env var to pick a specific
2407 volume monitor backend.
2411 Add cancellable to _g_mount_get_for_mount_path()
2413 * glocaldirectorymonitor.c:
2414 * glocalfilemonitor.c:
2415 Avoid loading and unloading modules while sorting.
2417 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2420 * gunixmounts.[hc]: Namespace waste reduction, move some
2421 g_get_unix_mount functions to the g_unix_mount namespace.
2424 * gunixvolumemonitor.c:
2426 * glocaldirectorymonitor.c: Update all callers.
2428 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2430 2007-12-17 Alexander Larsson <alexl@redhat.com>
2433 Add doc comments about what GFile operations are
2434 guaranteed to not block.
2436 2007-12-17 Alexander Larsson <alexl@redhat.com>
2439 Add missing #ifdef fixing OSX build.
2440 (#503334, patch from Richard Hult)
2442 2007-12-14 David Zeuthen <davidz@redhat.com>
2446 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2447 (g_mount_eject), (g_mount_eject_finish):
2449 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2450 (get_volume_for_uuid), (get_mount_for_uuid),
2451 (g_union_volume_monitor_class_init),
2452 (get_default_native_type_with_exclude), (get_default_native_type),
2453 (get_native_type), (update_native_type),
2454 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2455 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2456 (g_unix_mount_can_eject), (eject_unmount_cb),
2457 (eject_unmount_read_error), (eject_unmount_do),
2458 (g_unix_mount_unmount), (g_unix_mount_eject),
2459 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2460 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2461 (g_unix_mount_point_guess_can_eject):
2463 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2464 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2465 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2466 (g_unix_volume_mount), (g_unix_volume_eject),
2467 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2468 * gunixvolumemonitor.c: (get_volume_for_uuid),
2469 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2471 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2472 (g_volume_eject), (g_volume_eject_finish):
2474 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2475 (g_volume_monitor_get_mount_for_uuid):
2478 Provide eject() on both GMount and GVolume and utility functions
2479 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2480 ejected. Introduce the concept of UUID's and wire it into GVolume
2481 and GMount and provide API on GVolumeMonitor to find such
2482 instances. Also handle the case where an external
2483 GNativeVolumeMonitor fails to initialize. Lock around the
2484 _g_get_mount_for_mount_path() function such that volume monitor
2485 implementations won't have to do locking themselves.
2487 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2489 * gdesktopappinfo.c:
2495 * gvolume.h: Documentation updates
2497 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2500 * gfile.h: Doc updates
2502 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2505 * gdesktopappinfo.c: Use hash table iterators.
2507 2007-12-14 Alexander Larsson <alexl@redhat.com>
2510 * gfileattribute.[ch]:
2511 * gfileattribute-priv.h:
2512 Move GFileAttributeValue to a private header, as
2516 Make set_attribute take a type + a pointer instead
2517 of a GFileAttributeValue.
2520 Fix up for above changes.
2521 Add g_file_info_get_attribute_data to get
2522 all info in one call, g_file_info_get_attribute_status
2523 to get the status and g_file_info_get_attribute_as_string.
2527 * glocalfileinfo.[ch]:
2531 Make _guess_type static.
2533 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2536 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2537 made mkenums and friends use temporary files to avoid leaving
2538 empty generated files on failure (#503470).
2540 2007-12-14 Alexander Larsson <alexl@redhat.com>
2542 * gmountoperation.h:
2545 2007-12-14 Alexander Larsson <alexl@redhat.com>
2549 * gfileattribute.[ch]:
2552 * glocalfileoutputstream.c:
2553 * gmountoperation.[ch]:
2554 * goutputstream.[ch]:
2555 Clean up all flags enums to not have _FLAGS in them
2556 Make the names of some of the enums better.
2561 2007-12-14 Michael Natterer <mitch@imendio.com>
2563 * gio.symbols: fix g_io_scheduler symbol names.
2565 2007-12-14 Alexander Larsson <alexl@redhat.com>
2571 * gbufferedinputstream.h:
2572 * gbufferedoutputstream.h:
2575 * gdatainputstream.h:
2576 * gdataoutputstream.h:
2577 * gdesktopappinfo.h:
2578 * gdirectorymonitor.h:
2582 * gfileenumerator.h:
2585 * gfileinputstream.h:
2587 * gfilenamecompleter.h:
2588 * gfileoutputstream.h:
2589 * gfilterinputstream.h:
2590 * gfilteroutputstream.h:
2598 * gmemoryinputstream.h:
2599 * gmemoryoutputstream.h:
2601 * gmountoperation.h:
2604 * gsimpleasyncresult.h:
2606 * gunixinputstream.h:
2608 * gunixoutputstream.h:
2612 * inotify/Makefile.am:
2613 Only allow including <gio/gio.h> from apps
2615 2007-12-14 Alexander Larsson <alexl@redhat.com>
2617 * gioscheduler.[ch]:
2618 * gsimpleasyncresult.c:
2619 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2620 Split out the send_to_mainloop call into two versions instead
2621 of having the block argument.
2623 2007-12-13 Alexander Larsson <alexl@redhat.com>
2625 * gcancellable.[ch]:
2627 * gbufferedinputstream.c:
2628 * gfileenumerator.c:
2629 * gfileinputstream.c:
2630 * gfileoutputstream.c:
2634 g_push/pop_current_cancellable ->
2635 g_cancellable_push/pop_current
2637 2007-12-13 Alexander Larsson <alexl@redhat.com>
2641 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2643 2007-12-13 Alexander Larsson <alexl@redhat.com>
2645 * gmountoperation.h:
2646 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2648 2007-12-12 Alexander Larsson <alexl@redhat.com>
2651 Fix race condition when freeing proxy in
2652 g_io_job_send_to_mainloop().
2654 2007-12-12 Alexander Larsson <alexl@redhat.com>
2660 Make attribute namespace separator "::" instead of ":".
2661 Use - instead of _ as separator in attribute names.
2663 2007-12-12 Alexander Larsson <alexl@redhat.com>
2665 * gbufferedinputstream.h:
2666 * gbufferedoutputstream.h:
2667 * gdatainputstream.h:
2668 * gdataoutputstream.h:
2669 * gdirectorymonitor.h:
2670 * gfileenumerator.h:
2671 * gfileinputstream.h:
2673 * gfileoutputstream.h:
2674 * gfilterinputstream.h:
2675 * gfilteroutputstream.h:
2677 * glocalfileinputstream.h:
2678 * glocalfileoutputstream.h:
2679 * gmemoryinputstream.h:
2680 * gmemoryoutputstream.h:
2681 * gnativevolumemonitor.h:
2683 * gunixinputstream.h:
2684 * gunixoutputstream.h:
2687 s/parent/parent_instance/ in GObjects
2689 2007-12-12 Alexander Larsson <alexl@redhat.com>
2694 No need for padding for interfaces
2696 2007-12-12 Alexander Larsson <alexl@redhat.com>
2700 * gbufferedinputstream.c:
2701 * gbufferedoutputstream.c:
2704 * gdatainputstream.[ch]:
2705 * gdesktopappinfo.c:
2706 * gdirectorymonitor.c:
2708 * gfileattribute.[ch]:
2711 * gfileinputstream.h:
2712 * gfilemonitor.[ch]:
2713 * gfileoutputstream.[ch]:
2714 * gfilterinputstream.h:
2715 * gfilteroutputstream.h:
2718 * gloadableicon.[ch]:
2719 * gmemoryinputstream.c:
2720 * gmountoperation.c:
2722 Fix up a bunch of details in the docs.
2727 2007-12-11 David Zeuthen <davidz@redhat.com>
2729 Rework how volumes, drives and volume monitoring is
2730 done. Previosly the model was
2732 GDrive <1-1> GVolume
2734 where a GDrive instance represented a mount point and a GVolume
2735 instance represented a mounted file system. This patch changes it
2738 GDrive <1-N> GVolume <1-1> GMount
2740 where GMount now serves the purpose of the old GVolume and the new
2741 GVolume serves the purpose of the old GDrive. In addition the new
2742 GDrive interface is used to represent a collection of GVolume
2743 instances (typically partitions) and also contains utility to query
2744 the state of the physical drive the GDrive object represents (such
2745 as checking for media, polling the drive, ejecting the media etc.).
2747 Also implement mounting and unmounting in the Unix volume monitor
2748 backend. A subquent patch will introduce GDrive support for ejection
2752 * gdrive.c: (g_drive_is_media_check_automatic),
2753 (g_drive_is_media_removable), (g_drive_has_media),
2754 (g_drive_can_poll_for_media), (g_drive_eject),
2755 (g_drive_eject_finish), (g_drive_poll_for_media),
2756 (g_drive_poll_for_media_finish):
2758 * gfile.c: (g_file_find_enclosing_mount):
2761 * glocaldirectorymonitor.c:
2762 (g_local_directory_monitor_constructor), (mounts_changed):
2763 * glocalfile.c: (get_mount_info),
2764 (g_local_file_find_enclosing_mount),
2765 (g_local_file_file_iface_init):
2766 * gnativevolumemonitor.h:
2767 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2768 (get_connected_drives), (g_union_volume_monitor_class_init),
2769 (child_volume_added), (child_volume_removed),
2770 (child_volume_changed), (child_mount_added), (child_mount_removed),
2771 (child_mount_pre_unmount), (child_mount_changed),
2772 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2773 (g_union_volume_monitor_remove_monitor),
2774 (_g_mount_get_for_mount_path):
2775 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2776 (guess_system_internal), (_g_get_unix_mounts),
2777 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2778 (g_unix_mount_free), (g_unix_mount_compare),
2779 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2780 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2781 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2782 (type_to_icon), (g_unix_mount_guess_name),
2783 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2784 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2785 (_resolve_symlink), (_resolve_dev_root):
2787 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2788 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2789 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2790 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2791 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2792 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2793 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2794 (g_unix_volume_volume_iface_init):
2796 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2797 (get_mounts), (get_volumes), (get_connected_drives),
2798 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2799 (mountpoints_changed), (mounts_changed),
2800 (g_unix_volume_monitor_init),
2801 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2802 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2803 * gunixvolumemonitor.h:
2804 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2805 (g_volume_mount), (g_volume_mount_finish):
2807 * gvolumemonitor.c: (g_volume_monitor_class_init),
2808 (g_volume_monitor_get_connected_drives),
2809 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2812 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2814 * gmountoperation.h (GPasswordFlags): Close the gap
2816 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2818 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2820 * gdesktopappinfo.[hc]: Remove _-prefixes
2822 2007-12-10 Tor Lillqvist <tml@novell.com>
2824 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2827 2007-12-10 Alexander Larsson <alexl@redhat.com>
2829 * gfile.c (g_file_set_display_name):
2830 Don't hardcode '/' (#502727)
2832 2007-12-09 Hans Breuer <hans@breuer.org>
2834 * makefile.msc : follow lib naming convention
2835 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2836 for user and group name, tested with ../tests/gio-ls
2838 2007-12-09 A. Walton <awalton@svn.gnome.org>
2840 * gdesktopappinfo.c:
2846 * gfileenumerator.c:
2851 * gmemoryinputstream.c:
2852 * gmemoryoutputstream.c:
2854 * gsimpleasyncresult.c:
2855 More documentation cleanup and filling in missing information, bringing
2856 GIO to 99% symbol coverage.
2858 2007-12-08 Hans Breuer <hans@breuer.org>
2860 [gio compiles and links on win32, not sure how much already works]
2861 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2862 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2863 base on win32 API; prefer g_lstat() over lstat(); instead of
2864 localtime_r() use an all GLib implementation on win32;
2865 get_mount_info() still needs a win32 specifc implementation
2866 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2867 win32_get_file_user_info to get owner/group info without uid/gid
2868 * glocalfileinputstream.c : include <io.h> on win32
2869 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2870 definition, use g_win32_ftruncate() for G_OS_WIN32
2871 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2872 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2873 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2874 * makefile.msc : updated
2876 2007-12-07 Alexander Larsson <alexl@redhat.com>
2878 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2879 Avoid warning spew if error == NULL
2881 2007-12-07 Alexander Larsson <alexl@redhat.com>
2884 Update docs wrt etags
2886 2007-12-06 Alexander Larsson <alexl@redhat.com>
2889 Include sys/types.h for dev_t (#501919)
2891 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2895 Make abicheck and pltcheck pass.
2897 2007-12-05 Alexander Larsson <alexl@redhat.com>
2900 * giomodule-priv.h: Added.
2901 * glocaldirectorymonitor.c:
2902 * glocalfilemonitor.c:
2903 * gunionvolumemonitor.c:
2905 Actually add the declaration of _g_io_modules_ensure_loaded
2907 2007-12-05 Alexander Larsson <alexl@redhat.com>
2909 * gdatainputstream.c:
2914 * glocaldirectorymonitor.c:
2915 * glocalfilemonitor.c:
2916 * gunionvolumemonitor.c:
2918 Make g_io_modules_ensure_loaded a private function and
2919 don't pass in the dirname. This means we can do magic
2920 directory finding in the win32 version.
2921 Export the actual load-modules-in-directory code so that
2922 gvfs can reuse that.
2924 2007-12-05 Alexander Larsson <alexl@redhat.com>
2926 * gbufferedinputstream.c:
2927 * gbufferedoutputstream.c:
2930 * gfileenumerator.[ch]:
2931 * gfileinputstream.c:
2932 * gfileoutputstream.[ch]:
2933 * gfilterinputstream.c:
2934 * gfilteroutputstream.c:
2935 * ginputstream.[ch]:
2937 * glocalfileenumerator.c:
2938 * glocalfileinputstream.c:
2939 * glocalfileoutputstream.c:
2940 * gmemoryinputstream.c:
2941 * gmemoryoutputstream.c:
2942 * goutputstream.[ch]:
2945 * gunixinputstream.c:
2946 * gunixoutputstream.c:
2947 Rename all struct members named:
2948 read, write, close, truncate, or mount
2949 to foo_fn, as these are reserved names
2950 and could be defined as macros in libc.
2953 2007-12-04 Alexander Larsson <alexl@redhat.com>
2956 (g_output_stream_close):
2957 Only call flush if non-null.
2959 2007-11-30 Dan Winship <danw@gnome.org>
2961 * ginputstream.c (g_input_stream_set_pending): Make this take a
2962 GError and return a gboolean, and do the "outstanding operation"
2963 check (and the "stream is already closed" check) itself.
2964 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
2966 * goutputstream.c (g_output_stream_set_pending)
2967 (g_output_stream_clear_pending): Likewise
2969 * gbufferedinputstream.c:
2970 * gfileinputstream.c:
2971 * gfileoutputstream.c: Update for that
2973 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
2974 Like g_simple_async_report_error_in_idle, but takes a GError
2975 rather than building one.
2977 2007-11-30 Dan Winship <danw@gnome.org>
2979 * goutputstream.c: Don't cheat and unset the "pending" flag around
2980 inner calls. Instead, call the class method directly rather than
2981 the wrapper function that checks "pending"
2983 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
2985 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
2987 2007-12-03 Hans Breuer <hans@breuer.org>
2989 [start of port to win32/msvc]
2990 * gcancellable.c : HAVE_UNIST_H and _pipe()
2991 * gcontenttype.c : only include <dirent.h> in the UNIX branch
2992 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
2993 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
2995 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
2996 * glocalvfs.c : use HAVE_PWD_H
2997 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
2998 * makefile.msc : new file (maybe later converted to makefile.msc.in)
2999 * Makefile.am : added to EXTRA_DIST
3001 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3003 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3006 2007-12-03 Alexander Larsson <alexl@redhat.com>
3009 Handle OSX style xattrs API (#500506)
3011 2007-12-03 Alexander Larsson <alexl@redhat.com>
3015 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3017 2007-12-02 A. Walton <awalton@svn.gnome.org>
3021 Documentation accuracy fixes.
3023 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3025 * gioenumtypes.c.template: Fix typo.
3027 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3029 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3031 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3033 * gdirectorymonitor.c:
3034 * gfilemonitor.c: Add properties
3036 * gbufferedoutputstream.c: Don't mark buffer-size property
3039 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3041 * gbufferedoutputstream.c: Add auto-grow property.
3043 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3045 * *.c: Unify the capitalization of section headings.
3047 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3049 * gmountoperation.c: Add properties
3051 * gdatainputstream.c: Turn byte-order and newline-type into
3054 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3056 * gioenumtypes.[hc].template: Templates for enum registration
3058 * Makefile.am: Generate gioenumtypes.[hc]
3060 * gio.h: Include gioenumtypes.h
3062 * gfile.h: Add some explicit nicks.
3064 * gio.symbols: Add new symbols
3066 * pltcheck.sh: Adjust
3068 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3070 * *.c: Explain etags and link to the explanation
3072 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3074 * *.c: Explain I/O priority.
3076 * *.c: More coding style fixes.
3078 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3080 * gasyncresult.c: Add another paragraph to the intro,
3081 adjust coding style of example.
3083 2007-11-29 A. Walton <awalton@svn.gnome.org>
3086 Fixes unknown meaning in GAppLaunchContext docs.
3088 Clarify asynchronous ops.
3090 Fix entity tag docs.
3093 Provides missing gtk-doc section, fixes API docs slighly.
3094 * gsimpleasyncresult.c:
3095 Fill in missing info in docs.
3096 * gunixinputstream.c:
3097 * gunixoutputstream.c:
3098 Be more expressive in short description.
3100 Remove gtk-doc stubs for non-public API.
3102 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3104 * *.c: Coding style fixups
3106 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3108 * inotify/inotify-helper.c: Don't export the lock from libgio.
3110 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3113 * abicheck.sh: Fix copy-and-paste leftovers
3115 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3117 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3119 2007-11-28 Alexander Larsson <alexl@redhat.com>
3123 Removed unnecessary file
3125 * gdesktopappinfo.[ch]:
3128 * glocaldirectorymonitor.[ch]:
3130 * glocalfileenumerator.[ch]:
3131 * glocalfileinputstream.[ch]:
3132 * glocalfilemonitor.[ch]:
3133 * glocalfileoutputstream.[ch]:
3135 * gnativevolumemonitor.c:
3136 * gpollfilemonitor.[ch]:
3137 * gunionvolumemonitor.[ch]:
3140 * gunixvolumemonitor.[ch]:
3143 * inotify/ginotifydirectorymonitor.[ch]:
3144 * inotify/ginotifyfilemonitor.[ch]:
3145 * inotify/inotify-helper.c:
3146 Append _ to all internal functions
3150 Export symbols needed for modules
3152 2007-11-28 Alexander Larsson <alexl@redhat.com>
3155 * abicheck.sh: Added.
3156 * makegioalias.pl: Added.
3157 * pltcheck.sh: Added.
3158 * gio.symbols: Added.
3161 Initial work on adding symbol handling.
3164 Correct ifdef guard name
3167 * inotify/Makefile.am:
3168 * xdgmime/Makefile.am:
3169 Include toplevel Makefile.decl
3171 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3173 * gcontenttype.c: Move doc comments to the unix section.
3175 * *.[hc]: More trivial doc corrections.
3177 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3179 * gpollfilemonitor.c:
3183 * gdesktopappinfo.c:
3188 * gdatainputstream.c:
3189 * gdatainputstream.h:
3190 * gdataoutputstream.c:
3191 * gdataoutputstream.h:
3192 * gfileinfo.h: Doc cleanups
3194 2007-11-28 Andre Klapper <a9016009@gmx.de>
3196 * gdesktopappinfo.c: Fix a typo.
3198 2007-11-27 Andre Klapper <a9016009@gmx.de>
3200 * glocalfileoutputstream.c: Fix a typo.
3202 2007-11-27 Alexander Larsson <alexl@redhat.com>
3205 Don't include removed headers
3207 2007-11-27 Alexander Larsson <alexl@redhat.com>
3210 * gsocketinputstream.[ch]: Removed.
3211 * gsocketoutputstream.[ch]: Removed.
3212 * gunixinputstream.[ch]: Added.
3213 * gunixoutputstream.[ch]: Added.
3214 Renamed GSocket*Stream to GUnix*Stream and made
3215 it unix-only, since its not really only for sockets
3216 and it only works on unix (but is highly useful there).
3218 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3224 * gbufferedinputstream.c:
3225 * gbufferedinputstream.h:
3226 * gbufferedoutputstream.c:
3227 * gbufferedoutputstream.h:
3231 * gdatainputstream.c:
3232 * gdatainputstream.h:
3233 * gdataoutputstream.c:
3234 * gdataoutputstream.h:
3235 * gdirectorymonitor.c:
3236 * gdirectorymonitor.h:
3243 * gfileenumerator.c:
3244 * gfileenumerator.h:
3249 * gfileinputstream.c:
3250 * gfileinputstream.h:
3253 * gfilenamecompleter.c:
3254 * gfilenamecompleter.h:
3255 * gfileoutputstream.c:
3256 * gfileoutputstream.h:
3257 * gfilterinputstream.c:
3258 * gfilterinputstream.h:
3259 * gfilteroutputstream.c:
3260 * gfilteroutputstream.h:
3273 * glocalfileoutputstream.c:
3274 * gmemoryinputstream.c:
3275 * gmemoryinputstream.h:
3276 * gmemoryoutputstream.c:
3277 * gmemoryoutputstream.h:
3278 * gmountoperation.c:
3279 * gmountoperation.h:
3282 * gpollfilemonitor.c:
3285 * gsimpleasyncresult.c:
3286 * gsimpleasyncresult.h:
3287 * gsocketinputstream.c:
3288 * gsocketinputstream.h:
3289 * gsocketoutputstream.c:
3290 * gsocketoutputstream.h:
3297 * gunixvolumemonitor.c:
3306 Bumps documentation to 93% symbol coverage, touching most
3307 of the public files. Fixes broken function documentation prototypes.
3308 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3309 gtk-doc headers in private files.
3311 2007-11-27 Jürg Billeter <j@bitron.ch>
3313 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3314 (g_buffered_input_stream_read_byte):
3315 * gbufferedinputstream.h:
3316 New functions for efficient access to buffer and simple single byte
3319 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3320 (g_data_input_stream_read_until):
3321 * gdatainputstream.h:
3322 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3323 read_until with multiple stop chars.
3325 2007-11-27 Alexander Larsson <alexl@redhat.com>
3329 * inotify/Makefile.am:
3330 Use the user-specified giomoduledir
3332 2007-11-27 Alexander Larsson <alexl@redhat.com>
3336 Add catch-all gio.h header
3337 Don't install gdummyfile.h
3339 2007-11-26 Alexander Larsson <alexl@redhat.com>
3341 * Makefile.am (gioinclude_HEADERS):
3342 Remove trailing whitespace
3344 2007-11-26 Alexander Larsson <alexl@redhat.com>
3346 Merge gio-standalone into glib
3348 2007-11-25 Christian Kellner <gicmo@gnome.org>
3350 * gio/goutputstream.c:
3351 Fix small mistake in the docs.
3353 2007-11-21 Christian Persch <chpe@gnome.org>
3355 * gio/glocalfile.c: (g_local_file_trash):
3356 Convert filenames to UTF-8 for GError.
3357 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3358 as per xdg base dir spec.
3360 2007-11-21 Christian Persch <chpe@gnome.org>
3362 * gio/gdesktopappinfo.c:
3363 Use that g_key_file_to_data cannot fail.
3365 Use stock defines for the key file group and key names.
3368 2007-11-21 Alexander Larsson <alexl@redhat.com>
3371 (copy_stream_with_progress):
3372 Make sure we do a final progress callback with
3373 the full total size.
3375 2007-11-21 Alexander Larsson <alexl@redhat.com>
3378 Export g_file_copy_attributes
3379 Remove padding as its not needed for interfaces
3381 2007-11-20 Alexander Larsson <alexl@redhat.com>
3386 Add G_IO_ERROR_WOULD_MERGE for
3387 copy/move dir on dir with overwrite.
3389 2007-11-20 Alexander Larsson <alexl@redhat.com>
3392 * gio/glocalfileinfo.c:
3393 Add COPY_NAME (this is an optional
3394 non-modified utf8 version of the name) that
3397 2007-11-20 Alexander Larsson <alexl@redhat.com>
3399 * gio/glocalfileenumerator.c:
3400 Report errors as GIOError, not GFileError
3402 2007-11-16 Alexander Larsson <alexl@redhat.com>
3404 * gio/glocalfileoutputstream.c:
3405 * gio/gwin32appinfo.c:
3406 Fix typos in strings.
3407 Patch from Luca Ferretti <elle.uca@libero.it>
3409 2007-11-15 Alexander Larsson <alexl@redhat.com>
3412 Post release version bump
3414 === gio-standalone 0.1.2 ===
3416 2007-11-15 Alexander Larsson <alexl@redhat.com>
3418 * docs/reference/gio/Makefile.am:
3419 Fix up distcheck by removing weird
3425 2007-11-14 Alexander Larsson <alexl@redhat.com>
3427 * gio/gdesktopappinfo.c:
3428 * gio/glocaldirectorymonitor.c:
3430 * gio/glocalfileinfo.c:
3431 * gio/inotify/inotify-sub.c:
3432 * programs/gio-cat.c:
3433 * programs/gio-copy.c:
3434 * programs/gio-info.c:
3435 * programs/gio-ls.c:
3436 * programs/gio-monitor-dir.c:
3437 * programs/gio-monitor-file.c:
3438 * programs/gio-mount.c:
3439 * programs/gio-move.c:
3440 * programs/gio-rm.c:
3441 * programs/gio-save.c:
3442 * programs/gio-trash.c:
3443 Leak fixes from Kjartan Maraas
3445 2007-11-14 Alexander Larsson <alexl@redhat.com>
3447 * gio/fam/fam-helper.c:
3449 * gio/glocalfileinfo.c:
3453 * gio/inotify/inotify-diag.c:
3454 * gio/inotify/inotify-kernel.c:
3455 Various code cleanups from Kjartan Maraas
3457 2007-11-14 Alexander Larsson <alexl@redhat.com>
3459 * gio/gioscheduler.c:
3461 Set up threadpool so that we cache 2 unused
3462 idle threads for at 15 secs. This means we
3463 will reuse thread-local data (like dbus connections)
3466 2007-11-14 Alexander Larsson <alexl@redhat.com>
3468 * gio/fam/fam-helper.c:
3469 * gio/fam/gfamdirectorymonitor.c:
3470 * gio/fam/gfamfilemonitor.c:
3472 * gio/gcontenttype.c:
3473 * gio/gdatainputstream.c:
3474 * gio/gdataoutputstream.c:
3478 * gio/gfileattribute.h:
3479 * gio/gfileenumerator.c:
3481 * gio/ginputstream.c:
3484 * gio/glocalfileinfo.c:
3485 * gio/goutputstream.c:
3486 * gio/gpollfilemonitor.c:
3487 * gio/gsimpleasyncresult.c:
3488 * gio/gunixmounts.c:
3489 * gio/gunixmounts.h:
3490 * gio/inotify/ginotifydirectorymonitor.c:
3491 * gio/inotify/ginotifyfilemonitor.c:
3492 * gio/inotify/inotify-diag.c:
3493 * gio/inotify/inotify-kernel.c:
3494 * gio/inotify/inotify-path.c:
3496 * gio/test-streams.c:
3497 * programs/gio-info.c:
3498 * programs/gio-monitor-dir.c:
3499 * programs/gio-monitor-file.c:
3500 Various code cleanups from Kjartan Maraas
3502 2007-11-13 Alexander Larsson <alexl@redhat.com>
3505 Handle the uri-scheme calls for dummy files
3507 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3509 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3510 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3511 to avoid clash with the C++ keyword.
3513 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3515 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3516 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3518 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3520 * gio/glocaldirectorymonitor.c:
3521 * gio/glocalfilemonitor.c:
3522 * gio/gunionvolumemonitor.c:
3523 Don't use g_once_init_*() for initializations that could fail and
3524 could leave the initialization variable set to 0 but use GOnce.
3525 This prevents a deadlock on the second call when trying to create
3526 a monitor and no monitor type is available. Thanks to Sven Herzberg
3529 2007-11-11 Sven Herzberg <sven@imendio.com>
3531 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3532 #ifdef (make it work on MacOS X again)
3534 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3536 Fixes Changelog for last two commits (sorry guys).
3538 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3540 * gio/gbufferedinputstream.c:
3541 * gio/gdatainputstream.c:
3543 * gio/gfileoutputstream.c:
3544 * gio/gfilterinputstream.c:
3545 * gio/glocalfileinputstream.c:
3548 More consistency fixes in g*stream.c files.
3549 Significant clean of gfile's documentation, filling in of
3550 asynchronous operations documentation.
3552 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3554 * gio/gasyncresult.c:
3555 * gio/gbufferedinputstream.c:
3556 * gio/gbufferedoutputstream.c:
3557 * gio/gcancellable.c:
3558 * gio/gcontenttype.c:
3559 * gio/gdatainputstream.c:
3560 * gio/gdataoutputstream.c:
3561 * gio/gdesktopappinfo.c:
3564 * gio/gfileattribute.c:
3565 * gio/gio/gfileenumerator.c:
3567 * gio/gfileinputstream.c:
3568 * gio/gfilemonitor.c:
3569 * gio/gfileoutputstream.c:
3570 * gio/ginputstream.c:
3572 * gio/gioscheduler.c:
3573 * gio/gloadableicon.c:
3574 * gio/glocalfileoutputstream.c:
3575 * gio/gmemoryoutputstream.c:
3576 * gio/gmountoperation.c:
3577 * gio/goutputstream.c:
3579 * gio/gsimpleasyncresult.c:
3580 * gio/gunionvolumemonitor.c:
3581 * gio/gunixmounts.c:
3582 * gio/gunixvolume.c:
3586 * gio/gvolumemonitor.c:
3587 Updated documentation stubs, working towards consistency and
3590 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3592 * gio/gmemoryoutputstream.c:
3593 * gio/gmemoryoutputstream.h:
3594 Change g_memory_output_stream_set_free_on_close() to
3595 g_memory_output_stream_set_free_data() as this makes more sense and
3596 is more consistent with GMemoryInputStream.
3598 2007-11-07 Alexander Larsson <alexl@redhat.com>
3605 Change how we find the default vfs so that
3606 we can handle a gvfs failing to init
3608 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3610 * gio/gbufferedoutputstream.c:
3611 * gio/gdatainputstream.c:
3612 * gio/gdataoutputstream.c:
3613 * gio/gfileinputstream.c:
3614 * gio/gfileoutputstream.c:
3615 * gio/gfilterinputstream.c:
3616 * gio/gfilteroutputstream.c:
3617 * gio/ginputstream.c:
3618 * gio/gmemoryinputstream.c:
3619 * gio/gmemoryoutputstream.c:
3620 * gio/goutputstream.c:
3621 * gio/gsimpleasyncresult.c:
3622 * gio/gsocketinputstream.c:
3623 * gio/gsocketoutputstream.c:
3624 Add guards to the remaining public functions, add a TODO for
3625 an unimplemented function and remove some useless guards.
3627 2007-11-07 Alexander Larsson <alexl@redhat.com>
3630 Autoconf checks for the various types of
3631 getpwuid_r and getgrgid_r
3633 * gio/glocalfileinfo.c:
3634 Use the autoconf checks from above
3636 2007-11-07 Alexander Larsson <alexl@redhat.com>
3639 (g_local_file_query_filesystem_info):
3640 Some fixes for the statvfs case
3642 2007-11-07 Alexander Larsson <alexl@redhat.com>
3645 (g_local_file_query_filesystem_info):
3646 Pick the "best" of statfs / statvfs for the system
3647 if both are availible.
3649 2007-11-07 Alexander Larsson <alexl@redhat.com>
3651 Solaris fixes from Halton.Huo@Sun.COM:
3658 * gio/glocalfileinfo.c:
3659 Fix for solaris definition of getpwuid_r
3661 * gio/test-streams.c:
3662 Use G_GNUC_PRETTY_FUNCTION
3664 2007-11-07 Alexander Larsson <alexl@redhat.com>
3666 * gio/gdesktopappinfo.c:
3667 (update_default_list):
3668 Remove double semicolon.
3669 Patch from Jens Granseuer
3671 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3673 * docs/reference/gio/gio-sections.txt:
3674 * gio/gbufferedinputstream.c:
3675 * gio/gbufferedinputstream.h:
3676 * gio/gdatainputstream.c:
3677 * gio/gfileenumerator.c:
3678 * gio/gioscheduler.c:
3679 * gio/gunionvolumemonitor.c:
3681 * programs/gio-save.c:
3682 Fix typo: availible -> available. Unfortuntely this breaks API
3683 and ABI as g_buffered_input_stream_get_available() was renamed.
3685 * gio/gunixmounts.c:
3686 * gio/gbufferedinputstream.c:
3687 Add guards for public functions.
3689 2007-11-06 Ross Burton <ross@openedhand.com>
3691 * docs/reference/gio/Makefile.am:
3692 Fix invalid += usage which automake 1.10 doesn't like.
3694 2007-11-06 Alexander Larsson <alexl@redhat.com>
3697 (g_app_launch_context_class_init):
3700 Patch from Ross Burton
3702 2007-11-06 Alexander Larsson <alexl@redhat.com>
3705 Post release version bump
3707 === gio-standalone 0.1.1 ===
3709 2007-11-06 Alexander Larsson <alexl@redhat.com>
3712 Bump version to 0.1.1
3714 * gio/gsimpleasyncresult.c:
3715 (g_simple_async_result_set_from_error):
3716 Remove bogus g_return_if_fail
3718 2007-11-06 Alexander Larsson <alexl@redhat.com>
3721 The name is gio-standalone
3724 Add top src/builddir to includedir
3726 2007-11-06 Alexander Larsson <alexl@redhat.com>
3728 * docs/reference/gio/gio-sections.txt:
3730 * gio/gbufferedinputstream.c:
3731 * gio/gbufferedoutputstream.c:
3732 * gio/gcancellable.c:
3733 * gio/gdatainputstream.h:
3734 * gio/gdataoutputstream.c:
3735 * gio/gdataoutputstream.h:
3736 * gio/gdirectorymonitor.c:
3738 * gio/gfileattribute.c:
3739 * gio/gfileattribute.h:
3740 * gio/gfileenumerator.c:
3741 * gio/gfileenumerator.h:
3744 * gio/gfileinputstream.h:
3745 * gio/gfilemonitor.c:
3746 * gio/gfileoutputstream.h:
3747 * gio/glocalfilemonitor.h:
3748 * gio/glocalfileoutputstream.h:
3749 * gio/gmemoryinputstream.c:
3750 * gio/gmemoryoutputstream.c:
3751 * gio/gmountoperation.c:
3752 * gio/goutputstream.c:
3753 * gio/goutputstream.h:
3755 * gio/gsimpleasyncresult.c:
3756 * gio/gunixmounts.c:
3757 * gio/gunixmounts.h:
3759 * gio/inotify/inotify-helper.c:
3760 Fix gtk-doc warnings
3762 Patch from Ross Burton
3764 2007-11-06 Alexander Larsson <alexl@redhat.com>
3766 * gio/gfilenamecompleter.c:
3767 (g_filename_completer_get_completions):
3770 * gio/gunixvolume.c:
3771 Remove unused function
3773 Patches from Ross Burton
3775 2007-11-06 Alexander Larsson <alexl@redhat.com>
3780 Padding not needed for interfaces
3782 2007-11-06 Alexander Larsson <alexl@redhat.com>
3784 * gio/gfilemonitor.c:
3788 Make giotypes.h an internal file
3791 * gio/gbufferedinputstream.h:
3792 * gio/gbufferedoutputstream.h:
3793 * gio/gcancellable.h:
3794 * gio/gdatainputstream.h:
3795 * gio/gdataoutputstream.h:
3796 * gio/gdirectorymonitor.c:
3797 * gio/gdirectorymonitor.h:
3802 * gio/gfileattribute.h:
3803 * gio/gfileenumerator.h:
3808 * gio/gfilemonitor.c:
3809 * gio/gfilemonitor.h:
3810 * gio/gfilenamecompleter.c:
3811 * gio/gfilenamecompleter.h:
3812 * gio/gfilterinputstream.h:
3813 * gio/gfilteroutputstream.h:
3814 * gio/ginputstream.h:
3815 * gio/gmemoryinputstream.h:
3816 * gio/gmemoryoutputstream.h:
3817 * gio/gmountoperation.c:
3818 * gio/gmountoperation.h:
3819 * gio/gnativevolumemonitor.c:
3820 * gio/goutputstream.h:
3823 * gio/gsimpleasyncresult.c:
3824 * gio/gsimpleasyncresult.h:
3825 * gio/gsocketinputstream.h:
3826 * gio/gsocketoutputstream.h:
3827 * gio/gthemedicon.c:
3828 * gio/gthemedicon.h:
3832 * gio/gvolumemonitor.c:
3833 * gio/gvolumemonitor.h:
3834 Add padding in classes where it seems useful
3835 Don't include giotypes.h from public headers
3836 Move in Class definitions into c file where possible
3841 2007-11-06 Alexander Larsson <alexl@redhat.com>
3843 * docs/reference/gio/gio-docs.xml:
3844 Better structure for API docs
3846 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3849 * gio/gloadableicon.c:
3850 * gio/gsimpleasyncresult.c:
3851 * gio/gthemedicon.c:
3852 Add some more guards to public functions. Only files missing are now
3855 2007-11-06 Alexander Larsson <alexl@redhat.com>
3857 * docs/reference/gio/gio-docs.xml:
3858 Remove old files, add missing ones
3860 2007-11-06 Alexander Larsson <alexl@redhat.com>
3862 * docs/reference/gio/gio-sections.txt:
3865 Hide implementation classes
3867 * gio/gdriveprivate.h:
3868 * gio/gvolumeprivate.h:
3869 Remove non-existing function declarations
3871 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3874 Fix compilation warnings and add guards to the new functions.
3876 * gio/gasyncresult.c:
3878 Add guards to the public functions.
3881 Implement get_path().
3883 2007-11-06 Alexander Larsson <alexl@redhat.com>
3885 * gio/gfilenamecompleter.c:
3886 Make g_filename_completer_get_completions
3887 return char ** instead of GList for
3890 * docs/reference/gio/gio-docs.xml:
3891 * docs/reference/gio/gio-sections.txt:
3893 * gio/gasyncresult.c:
3894 * gio/gbufferedinputstream.c:
3895 * gio/gbufferedoutputstream.c:
3896 * gio/gcancellable.c:
3897 * gio/gcontenttype.c:
3898 * gio/gdatainputstream.c:
3899 * gio/gdataoutputstream.c:
3900 * gio/gdesktopappinfo.c:
3901 * gio/gdirectorymonitor.c:
3905 * gio/gfileattribute.c:
3906 * gio/gfileenumerator.c:
3909 * gio/gfileinputstream.c:
3910 * gio/gfilemonitor.c:
3911 * gio/gfilenamecompleter.c:
3912 * gio/gfilenamecompleter.h:
3913 * gio/gfileoutputstream.c:
3914 * gio/gfilterinputstream.c:
3916 * gio/ginputstream.c:
3918 * gio/gioscheduler.c:
3919 * gio/gloadableicon.c:
3920 * gio/glocaldirectorymonitor.c:
3922 * gio/glocalfileinputstream.c:
3923 * gio/glocalfilemonitor.c:
3924 * gio/glocalfileoutputstream.c:
3926 * gio/gmemoryinputstream.c:
3927 * gio/gmemoryoutputstream.c:
3928 * gio/gmountoperation.c:
3929 * gio/goutputstream.c:
3930 * gio/gpollfilemonitor.c:
3932 * gio/gsimpleasyncresult.c:
3933 * gio/gsocketinputstream.c:
3934 * gio/gsocketoutputstream.c:
3935 * gio/gthemedicon.c:
3936 * gio/gunionvolumemonitor.c:
3938 * gio/gunixmounts.c:
3939 * gio/gunixvolume.c:
3940 * gio/gunixvolumemonitor.c:
3944 * gio/gvolumemonitor.c:
3945 * gio/gwin32appinfo.c:
3946 Add (mostly stub) doc strings to public functions.
3947 Patch from Andrew Walton (awalton@gmail.com)
3949 2007-11-06 Alexander Larsson <alexl@redhat.com>
3951 * gio/gappinfo.[ch]:
3952 Added GAppLaunchContext object and pass that to launch.
3953 This allows simple implementation of both
3954 launch-on-screen and startup notification via a gtk+
3955 subclass of GAppLaunchContext
3957 * gio/gdesktopappinfo.c:
3958 Implement GAppLaunchContext API
3960 * gio/gwin32appinfo.c:
3963 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3965 * gio/gmountoperation.c:
3966 Add some guards to GMountOperation's public functions.
3968 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3972 * gio/gcancellable.c:
3973 * gio/gdirectorymonitor.c:
3975 * gio/gfileenumerator.c:
3976 * gio/gfilemonitor.c:,
3977 * gio/gfilenamecompleter.c:
3980 * gio/gioscheduler.c:
3984 * gio/gvolumemonitor.c:
3985 Add even more guards to various public functions.
3987 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3990 Add guards to the public functions of GAppInfo.
3992 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3994 * gio/gcontenttype.c:
3995 Add some more guards for public functions.
3997 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
3999 * gio/fam/fam-module.c:
4000 * gio/fam/gfamdirectorymonitor.c:
4001 * gio/fam/gfamdirectorymonitor.h:
4002 * gio/fam/gfamfilemonitor.c:
4003 * gio/fam/gfamfilemonitor.h:
4004 * gio/inotify/ginotifydirectorymonitor.c:
4005 * gio/inotify/ginotifydirectorymonitor.h:
4006 * gio/inotify/ginotifyfilemonitor.c:
4007 * gio/inotify/ginotifyfilemonitor.h:
4008 Add proper copyright information and remove an unused variable
4009 in the GInotifyFileMonitor constructor.
4011 * gio/gcancellable.c:
4012 Add a guard for a public function and an assertion to prevent
4013 an undefined program state.
4015 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4017 * gio/gfileattribute.c:
4018 Don't run into an assertion if the given attribute value is NULL
4019 in g_file_attribute_value_get_*() but instead return a fallback
4020 value that makes sense in most situations. Passing them a attribute
4021 value with the wrong type will still run into an assertion.
4023 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4025 * gio/gfileattribute.c:
4027 Add even more guards to the public functions. Also fix the refcounting
4028 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4029 let g_file_info_list_attributes() filter the attributes by namespace
4030 instead of simply ignoring the namespace parameter.
4032 2007-11-03 Sven Herzberg <sven@imendio.com>
4034 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4035 (This makes gio work on MacOS X again)
4037 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4040 Build the gio subdirectory before the docs. Otherwise the build will
4043 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4044 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4045 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4046 Add guards to the public functions.
4048 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4050 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4051 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4052 to prevent a compiler warning.
4054 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4055 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4056 return something in the non-void function find_topdir_for().
4058 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4065 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4067 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4068 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4069 * gwin32appinfo.c (g_win32_app_info_launch):
4070 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4071 envp_for_startup_id, g_desktop_app_info_launch,
4072 g_desktop_app_info_launch_uris):
4074 Give an opaque 'startup_id' string instead of 'envp'.
4075 Support empty file lists for launching new windows.
4076 Fix infinite recursion bug when launching URIs.
4078 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4081 Add guard to the new g_file_get_uri_scheme() function.
4083 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4086 Convert a g_return_val_if_fail() to setting the GError instead as
4087 otherwise applications have to verify the parameter before otherwise
4088 and the parameter might come directly from the user.
4090 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4092 * gio/inotify/ginotify*.[ch]:
4093 Add missing copyright information.
4095 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4098 Add guards in the beginning of public functions to check for valid
4099 parameters and fix a bug in copy_stream_with_progress() that could've
4100 caused writing less bytes than reading.
4101 * gio/glocalfileinfo.c:
4102 Check for a NULL parameter and set the GError accordingly then.
4103 * gio/goutputstream.c:
4104 Fix the same bug as in gfile.c that could've caused writing less bytes
4105 than reading in g_output_stream_real_splice().
4107 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4110 Use the correct gvolumeprivate.h naming
4112 2007-11-01 Christian Kellner <gicmo@gnome.org>
4115 Remove leftover "$(daemon_sources)" entry.
4117 2007-11-01 Christian Kellner <gicmo@gnome.org>
4122 Add copyright information to source files.
4124 2007-11-01 Alexander Larsson <alexl@redhat.com>
4128 Add g_file_get_uri_scheme
4130 2007-11-01 Alexander Larsson <alexl@redhat.com>
4133 * gio/gdesktopappinfo.c:
4134 * gio/gwin32appinfo.c:
4135 Add g_app_info_get_default_for_uri_scheme.
4137 2007-11-01 Alexander Larsson <alexl@redhat.com>
4140 Correct filename for gdriveprivate.h
4142 2007-10-31 Alexander Larsson <alexl@redhat.com>
4145 Rename id:value to id:file
4148 * gio/glocalfileinfo.c:
4151 2007-10-31 Alexander Larsson <alexl@redhat.com>
4153 * gio/gunixvolume.c:
4155 Remove g_volume_get_platform_id, as thats not
4156 needed with the simpler union volume monitor
4158 2007-10-31 Alexander Larsson <alexl@redhat.com>
4161 * gio/guniondrive.[ch]: Removed.
4162 * gio/gunionvolume.[ch]: Removed.
4163 Remove GUnionDrive/Volume
4165 * gio/gunionvolumemonitor.c:
4166 Simplify union volume monitor, now we
4167 only have one native volume monitor and
4168 we use the actual volumes/drives from the
4169 child monitors instead of wrapping them
4171 * gio/gnativevolumemonitor.[ch]:
4172 Base class for native volume monitors.
4173 Includes priority and get_volume_for_mountpoint
4176 Add g_file_find_enclosing_volume
4179 Remove volume name fs attribute
4180 Add readonly fs attribute
4183 Implement readonly attribute
4184 remove volume name attribute
4185 Implement find_enclosing volume
4187 * gio/gunixmounts.c:
4188 Add a volume for "/".
4190 * gio/gunixvolume.[ch]:
4191 Set better name for /
4193 * gio/gunixvolumemonitor.[ch]:
4194 Derive from GNativeVolumeMonitor
4195 Implement get_volume_for_mountpoint
4198 GVolume typedef moved to gfile.h
4200 * gio/gvolumeprivate.h:
4201 Add g_volume_get_for_mount_path
4203 2007-10-31 Alexander Larsson <alexl@redhat.com>
4205 * gio/gunixmounts.[ch]:
4206 Add cache info to unix mount listers
4207 Make getmntent use threadsafe
4208 Add is_system_internal attribute for GUnixMount
4210 * gio/gunixvolume.c:
4211 (g_unix_volume_new):
4212 Use is_system_internal instead of own code
4214 * gio/glocaldirectorymonitor.c:
4215 * gio/gunixvolumemonitor.c:
4216 Update to new gunixmounts API
4221 2007-10-30 Alexander Larsson <alexl@redhat.com>
4224 Add volume name fsinfo attribute
4227 Read volume name info
4229 * gio/gunionvolumemonitor.c:
4230 Fix infinite loops when finalizing a union volume monitor
4232 2007-10-30 Alexander Larsson <alexl@redhat.com>
4234 * gio/goutputstream.[ch]:
4235 Add splice() with default implementation
4237 * gio/gsocketoutputstream.c:
4238 (g_socket_output_stream_write):
4239 Return error on cancellation correctly.
4241 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4243 * gio/glocalfile.c (g_local_file_trash):
4244 Do not leak a string.
4246 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4248 * gio/gfile.c (g_file_load_contents):
4249 Unref the stream after closing it.
4251 2007-10-25 Alexander Larsson <alexl@redhat.com>
4253 * gio/gioscheduler.h:
4256 2007-10-25 Alexander Larsson <alexl@redhat.com>
4260 Add g_file_has_uri_scheme and implement for local files
4262 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4264 * gio/gdesktopappinfo.c: do not leak a string.
4266 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4268 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4269 (g_local_directory_monitor_new):
4270 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4271 (g_local_file_monitor_new):
4272 Only look for the monitor type that should be used the first time
4273 and use g_qsort_with_data() instead of our own bubble sort
4276 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4279 * gio/fam/Makefile.am:
4280 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4281 * gio/fam/fam-helper.h:
4282 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4283 * gio/fam/gfamdirectorymonitor.c:
4284 * gio/fam/gfamdirectorymonitor.h:
4285 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4286 * gio/fam/gfamfilemonitor.h:
4287 * gio/glocaldirectorymonitor.c:
4288 * gio/glocaldirectorymonitor.h:
4289 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4290 * gio/glocalfilemonitor.h:
4291 * gio/inotify/Makefile.am:
4292 * gio/inotify/ginotifydirectorymonitor.c:
4293 * gio/inotify/ginotifydirectorymonitor.h:
4294 * gio/inotify/ginotifyfilemonitor.c:
4295 * gio/inotify/ginotifyfilemonitor.h:
4296 Implement the FAM and Inotify monitors as
4297 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4298 their own GIO module. GLocal(Directory|File)Monitor will use the
4299 monitor with the highest rank that is supported on that machine.
4301 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4304 Change GIO module dir to $(libdir)/gio/modules and change
4305 the log domain from GVFS to GIO. Also only export symbols starting
4306 with g_ in the resulting library.
4307 * gio/test-streams.c: (main):
4308 Set log handler for the GIO log domain.
4310 2007-10-22 Alexander Larsson <alexl@redhat.com>
4312 * gio/gfilenamecompleter.[ch]:
4313 Add g_filename_completer_set_dirs_only
4315 2007-10-22 Alexander Larsson <alexl@redhat.com>
4318 * gio/gurifuncs.[ch]:
4319 Add some simple URI helpers
4321 * gio/gfilenamecompleter.[ch]:
4322 Added object for filename (parse name actually) completion
4325 Handle ~ in parse names
4327 2007-10-17 Alexander Larsson <alexl@redhat.com>
4330 * gio/glocalfileinfo.c:
4331 Add and implement id:value attribute
4333 2007-10-17 Alexander Larsson <alexl@redhat.com>
4336 * gio/guniondrive.c:
4338 Add and implement g_drive_has_volumes
4340 2007-10-17 Alexander Larsson <alexl@redhat.com>
4343 * gio/glocalfileinfo.[ch]:
4344 Add unix:is_mountpoint and implement for local files
4346 2007-10-16 Alexander Larsson <alexl@redhat.com>
4348 * gio/gunionvolumemonitor.c:
4349 (g_union_volume_monitor_init):
4350 Fix up the unix type getting so that it works with gcc
4352 2007-10-12 Alexander Larsson <alexl@redhat.com>
4355 * gio/glocalfileinfo.c:
4356 Add thumbnail:failed to file info
4358 2007-10-12 Richard Hult <richard@imendio.com>
4360 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4361 optimizing away the get_type call (happens with some gcc versions,
4362 like the one shipped with OS X 10.4).
4364 2007-10-12 Alexander Larsson <alexl@redhat.com>
4366 * gio/glocalfileinfo.c:
4367 (_g_local_file_info_set_attribute):
4368 Fix build if not HAVE_XATTR
4369 Patch from Milosz Derezynski <internalerror@gmail.com>
4371 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4373 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4374 around for review, otherwise I would have asked you before
4377 2007-10-11 Alexander Larsson <alexl@redhat.com>
4380 Add thumbnail:path attribute
4382 * gio/glocalfileinfo.c:
4383 Implement thumbnail:path for local files
4385 2007-10-11 Alexander Larsson <alexl@redhat.com>
4387 * gio/glocalfileinfo.c:
4388 (_g_local_file_info_get):
4389 Avoid duplicate icon names
4391 2007-10-11 Alexander Larsson <alexl@redhat.com>
4393 * gio/gthemedicon.[ch]:
4394 Change g_themed_icon_get_names return type to const
4396 2007-10-10 Alexander Larsson <alexl@redhat.com>
4398 * gio/glocalfileinfo.c:
4399 Don't reference freed memory
4401 2007-10-10 Alexander Larsson <alexl@redhat.com>
4403 * gio/gfileattribute.c:
4406 * gio/glocalfileinfo.c:
4409 2007-10-10 Alexander Larsson <alexl@redhat.com>
4412 Check for NULL icons
4414 * gio/gfileattribute.c:
4415 Don't dup when getting objects (same as for string attributes)
4417 * gio/gicon.c (g_icon_equal):
4418 Safely handle NULLs in equal
4420 2007-10-10 Alexander Larsson <alexl@redhat.com>
4423 Fix c++ compilation issues
4424 Patch from Milosz Derezynski <internalerror@gmail.com>
4426 2007-10-10 Alexander Larsson <alexl@redhat.com>
4428 * programs/gio-monitor-dir.c:
4429 Don't crash if dir monitor not supported.
4431 2007-10-09 Alexander Larsson <alexl@redhat.com>
4434 Add missing G_END_DECLS
4436 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4438 * gio/gfile.c: (g_file_set_display_name),
4439 (g_file_query_settable_attributes),
4440 (g_file_query_writable_namespaces):
4441 Return NULL not FALSE on errors as the return type is a pointer.
4443 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4445 * gio/glocalfile.c: (g_local_file_monitor_file):
4446 Don't call monitor_file on the default interface vtable (which
4447 is NULL) but simply return NULL. The caller, GFile, will create a
4448 polling monitor if NULL is returned.
4450 2007-10-09 Alexander Larsson <alexl@redhat.com>
4454 * gio-unix-2.0.pc.in:
4455 Add gio-unix-2.0.pc if OS_UNIX
4458 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4460 2007-10-09 Alexander Larsson <alexl@redhat.com>
4462 * gio/gunixmounts.[ch]:
4463 Make unix mount monitoring API sane.
4464 Now its just a object with mounts_changed
4465 and mountpoints_changed signals.
4467 * gio/glocaldirectorymonitor.c:
4468 * gio/gunixvolumemonitor.c:
4469 Use new mount monitor api
4471 2007-10-09 Alexander Larsson <alexl@redhat.com>
4473 * gio/gunixmounts.[ch]:
4474 Move guess type into one call for mounts and one for mountpoints
4477 * gio/gunixvolume.c:
4480 2007-10-09 Alexander Larsson <alexl@redhat.com>
4482 * gio/gunixmounts.[ch]:
4483 Remove _ prefix in preparation to make this semi-public
4484 Hide implementation of structs
4486 * gio/glocaldirectorymonitor.c:
4488 * gio/gunixvolume.c:
4489 * gio/gunixvolumemonitor.c:
4490 Update for above API changes
4492 2007-10-08 Alexander Larsson <alexl@redhat.com>
4495 Better polling fallback. This also handles the case where we have
4496 a monitor_file implementation, but it fails.
4498 2007-10-08 Alexander Larsson <alexl@redhat.com>
4502 * gio/gunixmounts.c:
4503 * programs/gio-monitor-dir.c:
4504 * programs/gio-monitor-file.c:
4505 Added cancellable to file monitoring calls.
4506 These are really sync calls and need this.
4508 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4510 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4511 (g_local_vfs_class_init):
4512 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4513 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4515 2007-10-05 Alexander Larsson <alexl@redhat.com>
4517 * gio/gdirectorymonitorprivate.h:
4518 * gio/gfilemonitorprivate.h:
4519 * gio/gdirectorymonitor.h:
4520 * gio/gfilemonitor.h:
4521 Remove *private.h and move to the public API, so that
4522 we can do implementations outside gio (such as in gvfs)
4524 * gio/gdirectorymonitor.c:
4525 * gio/gfilemonitor.c:
4526 * gio/glocaldirectorymonitor.c:
4527 * gio/gpollfilemonitor.c:
4528 * gio/inotify/inotify-helper.c:
4529 * gio/fam/fam-helper.c:
4530 Update to the new header names
4532 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4534 * gio/gdirectorymonitor.c:
4535 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4538 2007-10-04 Alexander Larsson <alexl@redhat.com>
4540 * gio/glocalfileinfo.c (get_access_rights):
4541 Set CAN_TRASH when we can move the file.
4542 We should really also check for a parent trash dir.
4544 2007-10-04 Alexander Larsson <alexl@redhat.com>
4546 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4547 Add can_trash access attribute
4549 2007-10-04 Alexander Larsson <alexl@redhat.com>
4552 (g_local_file_trash):
4553 Create info file first. This is per-spec and allows
4554 us to actually trash directories.
4556 2007-10-02 Alexander Larsson <alexl@redhat.com>
4558 * gio/gdesktopappinfo.c:
4559 Implement the new mime support code.
4560 Always set app as handling mimetype when being set as default for it
4562 2007-10-01 Alexander Larsson <alexl@redhat.com>
4564 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4565 Fix up check for xattrs:
4567 2007-10-01 Alexander Larsson <alexl@redhat.com>
4570 (g_app_info_set_as_default_for_extension):
4571 (g_app_info_add_supports_type):
4572 (g_app_info_can_remove_supports_type):
4573 (g_app_info_remove_supports_type):
4574 Make these fail nicely if not implemented
4576 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4578 * gio/glocalfileoutputstream.c:
4579 * gio/glocalfileoutputstream.h:
4584 * programs/gio-save.c:
4585 Add a GFileCreateFlags argument to operations that can create
4588 2007-10-01 Alexander Larsson <alexl@redhat.com>
4590 * gio/gappinfo.[ch]:
4591 * gio/gdesktopappinfo.c:
4592 Add more (stubbed out) mime API needed for nautilus
4594 2007-10-01 Alexander Larsson <alexl@redhat.com>
4597 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4598 Add g_app_info_set_as_default_for_extension.
4600 * gio/gdesktopappinfo.c:
4601 Dummy for g_app_info_set_as_default_for_extension
4602 Support flags in g_app_info_create_from_commandline
4604 * gio/gwin32appinfo.c:
4606 Update for API changes
4608 * gio/gthemedicon.c:
4609 Properly NULL-terminate list of icon names
4611 2007-09-28 Alexander Larsson <alexl@redhat.com>
4613 * gio/gloadableicon.h:
4614 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4616 2007-09-28 Alexander Larsson <alexl@redhat.com>
4619 Install headers in $includedir/gio-standalone/
4621 * gio-2.0.pc.in: Added.
4622 * gio-standalone.pc.in: Removed.
4625 Renamed pkg-config file to match glib (for future move)
4626 Update to the new include dir
4629 Add more TODO comments
4631 2007-09-28 Alexander Larsson <alexl@redhat.com>
4633 * gio/gdesktopappinfo.[ch]:
4634 Expose new_from_filename
4635 Add getter for is_hidden and handle it better
4637 2007-09-28 Alexander Larsson <alexl@redhat.com>
4639 * gio/gfileinfo.[ch]:
4640 Rename g_file_size_format_for_display to
4641 g_format_file_size_for_display.
4642 Now it doesn't have the g_file prefix, so we
4643 can later move it to glib.
4645 2007-09-28 Alexander Larsson <alexl@redhat.com>
4647 * gio/gappinfo.[ch]:
4648 Add g_app_info_get_id and g_app_info_get_executable.
4649 Make all getters non-reffing
4650 Make g_app_info_launch take GFile arguments.
4651 Add must_support_uris argument to g_app_info_get_default_for_type.
4653 * gio/gwin32appinfo.c:
4654 Update to GAppInfo api changes
4656 * gio/gdesktopappinfo.c:
4657 Update to GAppInfo api changes
4658 Implement supports_xdg_startup_notify
4660 * gio/gfileicon.c (g_file_icon_get_file):
4661 Make getter non-reffing.
4666 2007-09-27 Alexander Larsson <alexl@redhat.com>
4668 * gio/gfileinfo.[ch]:
4669 Add g_file_size_format_for_display helper
4671 2007-09-27 Alexander Larsson <alexl@redhat.com>
4673 * gio/glocalfileinfo.c:
4674 Set UNIX_GID from gid, not from uid
4676 2007-09-27 Alexander Larsson <alexl@redhat.com>
4679 Add g_file_set_attributes_async
4681 2007-09-27 Alexander Larsson <alexl@redhat.com>
4683 * gio/glocalfile.c (g_local_file_set_display_name):
4684 Fix set_display_name to actually rename to the right place.
4685 Use lstat to look for existing files so we don't overwrite
4688 2007-09-26 Alexander Larsson <alexl@redhat.com>
4691 Add g_file_set_display_name_async()
4693 2007-09-26 Alexander Larsson <alexl@redhat.com>
4696 Add load_partial_contents async calls
4699 Make internal function static
4701 2007-09-26 Alexander Larsson <alexl@redhat.com>
4703 * gio/glocalfileinfo.c:
4704 Correctly detect broken symlinks
4706 2007-09-26 Alexander Larsson <alexl@redhat.com>
4708 * gio/gcancellable.c (g_cancellable_cancel):
4709 Allow cancel on NULL cancellable
4711 2007-09-25 Alexander Larsson <alexl@redhat.com>
4713 * gio/gsimpleasyncresult.c:
4714 Don't allocate g_error manually.
4715 Fixes g_slice/g_new mixup crash
4717 2007-09-25 Alexander Larsson <alexl@redhat.com>
4719 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4720 Actually set active_backend.
4721 This means the monitor will be cancelled correctly.
4723 2007-09-25 Alexander Larsson <alexl@redhat.com>
4725 * gio/gdirectorymonitor.c:
4726 Set timeout to NULL when destroying
4728 2007-09-25 Alexander Larsson <alexl@redhat.com>
4731 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4732 that is a better description of the error.
4734 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4736 * gio/gvfs.c: (g_vfs_get_local):
4737 Make the local vfs variable static. The same instance should
4740 2007-09-24 Alexander Larsson <alexl@redhat.com>
4742 * gio/glocalfileinfo.c:
4743 Pass in actual length read into sniffer, not the length
4746 2007-09-21 Alexander Larsson <alexl@redhat.com>
4748 * gio/gfileenumerator.c:
4751 * gio/gfileinputstream.c:
4752 * gio/gfileoutputstream.c:
4753 * gio/ginputstream.c:
4754 * gio/goutputstream.c:
4755 Don't crash if async callbacks are NULL
4757 2007-09-20 Alexander Larsson <alexl@redhat.com>
4760 Add async enumerate_children method and default
4763 2007-09-20 Alexander Larsson <alexl@redhat.com>
4766 Add g_file_contains_file & g_file_get_relative_path, since they
4767 were needed for nautilus.
4768 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4773 Implement new methods
4775 2007-09-17 Alexander Larsson <alexl@redhat.com>
4778 * gio/gfileinputstream.[ch]:
4779 * gio/gfileoutputstream.[ch]:
4781 * gio/glocalfileenumerator.[ch]:
4782 * gio/glocalfileinfo.[ch]:
4783 * gio/glocalfileinputstream.c:
4784 * gio/glocalfileoutputstream.c:
4785 * gio/gpollfilemonitor.c:
4786 * programs/gio-copy.c:
4787 * programs/gio-info.c:
4788 * programs/gio-move.c:
4789 Rename get_file_info to query_info() to make it clearer
4790 that these are not simple getters, but do i/o.
4792 2007-09-17 Alexander Larsson <alexl@redhat.com>
4794 * gio/gdatainputstream.[ch]:
4795 * gio/test-streams.c:
4796 Use _read_XXX instead of _get_XXX for the i/o calls
4799 2007-09-17 Alexander Larsson <alexl@redhat.com>
4802 Added needed stuff to TODO comment
4804 2007-09-17 Alexander Larsson <alexl@redhat.com>
4806 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4807 Don't error out removing the backup copy if it doesn't
4810 2007-09-14 Alexander Larsson <alexl@redhat.com>
4812 * programs/Makefile.am:
4813 * programs/gvfs-*.c:
4815 Renamed apps from gvfs-xxx to gio-xxx.
4817 2007-09-14 Alexander Larsson <alexl@redhat.com>
4820 * gio/gfileoutputstream.[ch]:
4821 * gio/glocalfileoutputstream.c:
4822 * programs/gvfs-save.c:
4823 g_file_output_stream_get_etag doesn't do i/o, so remove
4824 cancellation and error.
4826 2007-09-14 Alexander Larsson <alexl@redhat.com>
4829 Add new_etag output to replace_contents functions
4831 2007-09-14 Alexander Larsson <alexl@redhat.com>
4833 * gio/gfileoutputstream.[ch]:
4834 Add async get_file_info and default implementation
4836 2007-09-14 Alexander Larsson <alexl@redhat.com>
4838 * gio/gfileinputstream.c:
4839 Implement fallback wrapper for async get_file_info
4841 2007-09-14 Alexander Larsson <alexl@redhat.com>
4844 Add etag out argument to load_contents
4849 2007-09-14 Alexander Larsson <alexl@redhat.com>
4851 * gio/gcontenttype.c (looks_like_text):
4852 Whitespace like tab, cr and lf do not make the
4855 2007-09-14 Alexander Larsson <alexl@redhat.com>
4857 * gio/gfileinputstream.[ch]:
4858 Add async get_file_info.
4860 2007-09-13 Alexander Larsson <alexl@redhat.com>
4862 * gio/goutputstream.c (g_output_stream_write_all):
4863 Allow NULL for bytes_written
4865 2007-09-13 Alexander Larsson <alexl@redhat.com>
4867 * gio/gmemoryinputstream.[ch]:
4868 Add accessors for data
4870 2007-09-13 Alexander Larsson <alexl@redhat.com>
4872 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4873 Don't crash if length is NULL