1 2008-08-23 Tor Lillqvist <tml@novell.com>
3 Bug 548988 - g_file_replace fails on Windows when the target file
6 * glocalfileoutputstream.c (g_local_file_output_stream_close): On
7 Windows, close the file before renaming it (in case we have been
8 writing to a file with a temporary name).
10 (g_local_file_output_stream_close, handle_overwrite_open): Use
11 GLocalFileStat instead of plain struct stat, for passing to
12 _g_local_file_info_create_etag(). Thus also use _fstati64()
13 instead of plain fstat() on Windows.
15 2008-08-18 Matthias Clasen <mclasen@redhat.com>
17 * === Released 2.17.7 ===
19 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
21 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
24 2008-08-13 Tor Lillqvist <tml@novell.com>
28 * win32/gwinhttpfile.c
29 * win32/gwinhttpfileinputstream.c
30 * win32/gwinhttpfileoutputstream.c: Refactor some common code
31 snippets into helper functions. Check HTTP response status
32 codes. Implement g_winhttp_file_query_info(), looking at
33 Content-Length, Content-Type and Last-Modified.
35 * win32/winhttp.h: Add some symbolic constants that are not
36 publicly documented. Just a handful, so it should be OK to use
37 information from the Windows SDK's headers.
39 2008-08-13 Tor Lillqvist <tml@novell.com>
41 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
44 * win32/gwin32directorymonitor.c
45 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
47 2008-08-13 Matthias Clasen <mclasen@redhat.com>
50 * goutputstream.c: Add intro docs.
52 2008-08-13 Tor Lillqvist <tml@novell.com>
54 * win32/gwinhttpfileoutputstream.c
55 (g_winhttp_file_output_stream_write): Don't write the
56 Content-Length header ourselves, WinHttpSendRequest() takes care
57 of that when the dwTotalLength parameter is non-zero. Increment
58 offset by the number of actual bytes sent, although I wonder if
59 such a scenario is possible where less than requested would be
60 sent and accepted by the server without errors.
62 2008-08-13 Tor Lillqvist <tml@novell.com>
66 * win32/gwinhttpfile.c
67 * win32/gwinhttpfile.h
68 * win32/gwinhttpfileinputstream.c
69 * win32/gwinhttpfileinputstream.h
70 * win32/gwinhttpfileoutputstream.c
71 * win32/gwinhttpfileoutputstream.h: New files implementing
72 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
73 Windows. The implementation uses the WinHttp API. Both reading and
74 writing are supported, i.e. GET and PUT requests. When writing,
75 each write call is done using a separate PUT request with a
76 Content-Range header. Requests for file URIs and plain pathnames
77 are forwarded to GLocalVfs.
79 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
80 WINE. Used as there is no <winhttp.h> bundled with mingw, and
81 requiring people to download the Windows SDK just for this one
82 header is not reasonable.
84 * win32/Makefile.am: Add above files.
86 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
87 the plumbing for the above.
89 2008-08-11 Sven Neumann <sven@gimp.org>
91 * gfilenamecompleter.c
92 * glocaldirectorymonitor.c
94 * gunionvolumemonitor.c
98 * gunixvolumemonitor.c
101 * gwin32volumemonitor.c: use canonical signal names.
103 2008-08-11 Tor Lillqvist <tml@novell.com>
105 * Makefile.am: Put a list of the platform-dependent .la files in
106 the subdirectories in the platform_deps Make variable, and make
107 libgio-2.0.la depend on that, so that it gets relinked if one of
108 the dependent libraries has changed.
110 2008-08-11 Tor Lillqvist <tml@novell.com>
112 * Makefile.am (platform_libadd): Remove -lwininet which had been
113 added by mistake. We will probably eventually be using WinHTTP,
114 not the older WinInet anyway. (Actually I am working on it.)
116 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
118 Bug 547080 – g_file_copy leaks expected errors
120 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
121 before trying the next fallback routine.
123 2008-08-09 Loïc Minier <lool@dooz.org>
125 Bug 535124 – umask 002 not being applied for new directories, new
126 files get the correct umask
128 * gfile.c (g_file_make_directory)
129 (g_file_make_directory_with_parents): Document ownership and
130 permissions of newly created directories as being the default
133 2008-08-08 Loïc Minier <lool@dooz.org>
135 Bug 535124 – umask 002 not being applied for new directories, new
136 files get the correct umask
138 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
141 2008-08-08 Tor Lillqvist <tml@novell.com>
143 * gwin32mount.c: Remove unused code. Whitespace cleanup.
145 * gwin32volumemonitor.c (get_connected_drives): Put questionable
146 code that didn't actually do anything inside #if 0, and add a
147 comment wondering what the code was supposed to do. This also gets
148 rid of a leftover debugging printout.
150 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
152 * gfileicon.c (g_file_icon_get_property)
153 (g_file_icon_set_property): New functions.
154 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
156 (g_file_icon_new): Use the property (bug #546132).
158 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
160 * gthemedicon.c (g_themed_icon_get_property): Also handle
161 `PROP_USE_DEFAULT_FALLBACKS'.
162 (g_themed_icon_class_init): Make
163 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
165 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
167 Bug 546371 – Improve docs re g_file_monitor
169 * gfilemonitor.c: Mention g_file_monitor() in the docs.
171 2008-08-04 Matthias Clasen <mclasen@redhat.com>
173 * === Released 2.17.6 ===
175 2008-08-04 Matthias Clasen <mclasen@redhat.com>
177 * === Released 2.17.5 ===
179 2008-08-04 Matthias Clasen <mclasen@redhat.com>
181 Bug 546017 – Don't copy attributes when copying a symlink
183 * gfile.c (g_file_copy_attributes): Specify
184 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
185 g_file_set_attributes_from_info. Patch by Christian Kellner
187 2008-08-04 Matthias Clasen <mclasen@redhat.com>
189 * gemblemedicon.[hc]:
191 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
192 a bit more extensible. Work by Clemens Buss.
194 * gioenums.h: Add GEmblemOrigin.
197 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
199 Bug 546079 – leak in xdgmime
201 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
203 2008-08-03 Tor Lillqvist <tml@novell.com>
205 * win32/gwin32directorymonitor.h
206 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
209 2008-08-03 Tor Lillqvist <tml@novell.com>
211 * win32/gwin32directorymonitor.c
212 (g_win32_directory_monitor_callback): Make prototype match
213 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
214 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
217 (g_win32_directory_monitor_constructor):
218 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
219 names in the GLib API on Windows, so convert to UTF-16 and open
222 2008-08-03 Tor Lillqvist <tml@novell.com>
224 Bug 541036 - Gnumeric crashes when trying to open Desktop or
225 user's folder under Windows
227 * win32/gwin32directorymonitor.c
228 (g_win32_directory_monitor_constructor): Ignore error from
229 CreateFile() when opening directory. Instead of asserting, just
230 store INVALID_HANDLE_VALUE then in
231 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
232 ReadDirectoryChangesW().
233 (g_win32_directory_monitor_cancel): Don't attempt to close
234 directory handle if it is INVALID_HANDLE_VALUE.
236 2008-08-01 Matthias Clasen <mclasen@redhat.com>
238 * gdesktopappinfo.c: Remove debug spew
240 2008-08-01 Hans Breuer <hans@breuer.org>
242 * makefile.msc : add gemblembedicon
244 2008-07-30 Matthias Clasen <mclasen@redhat.com>
246 Bug 545457 – gdmsetup crashed with SIGSEGV in
247 g_unix_mount_guess_should_display()
249 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
250 crash if no mount is found.
252 2008-07-28 Matthias Clasen <mclasen@redhat.com>
254 Bug 545203 – gfile.c: argument is different type.
256 * gfile.c (open_read_async_thread): Pass a GError **
257 to g_file_set_error_literal.
258 Reported by Kazuki Iwamoto
260 2008-07-28 Matthias Clasen <mclasen@redhat.com>
262 Bug 545157 – wrong/no list of "open with" applications for .cc and
265 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
266 Collect all ancestors, not just direct parents. Pointed
267 out by Bastien Nocera
269 2008-07-28 Matthias Clasen <mclasen@redhat.com>
271 * Makefile.am: Install gemblemedicon.h
273 2008-07-28 Matthias Clasen <mclasen@redhat.com>
275 * gemblemedicon.[hc]: Add a GIcon implementation that can
276 add an emblem to another icon.
283 * gfileicon.c: Small documentation additions.
285 2008-07-28 Tor Lillqvist <tml@novell.com>
287 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
290 2008-07-27 Tor Lillqvist <tml@novell.com>
292 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
294 2008-07-24 David Zeuthen <davidz@redhat.com>
298 Also export a g_mount_guess_content_type_sync() function.
300 2008-07-23 Matthias Clasen <mclasen@redhat.com>
302 529694 – SELinux context setting support
304 * gfileinfo.c: Support setting selinux attributes.
305 Patch by Tomas Bzatek
307 2008-07-22 Priit Laes <plaes@plaes.org>
309 Bug 544140 - fam-helper 64-bit issue?
311 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
313 2008-07-21 Matthias Clasen <mclasen@redhat.com>
315 * === Released 2.17.4 ===
317 2008-07-20 Matthias Clasen <mclasen@redhat.com>
319 * gvolumemonitor.[hc]:
324 * gmount.c: Documentation fixes
326 2008-07-19 Matthias Clasen <mclasen@redhat.com>
328 543504 – crash in Epiphany Web Browser: Opening local file
339 * gvolume.c: Register types thread-safely.
340 Patch by Christian Persch
342 2008-07-18 Matthias Clasen <mclasen@redhat.com>
344 * gcontenttype.c: Remove debug spew
346 2008-07-18 Matthias Clasen <mclasen@redhat.com>
348 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
351 * fen/fen-kernel.c: Remove a warning that was causing
352 crashes. Reported by Lin Ma.
354 2008-07-18 Matthias Clasen <mclasen@redhat.com>
356 Bug 543040 – async reading on dummy file will crash on
359 * gfile.c (open_read_async_thread): Cope with read_fn being
360 NULL. Reported by Lin Ma.
362 2008-07-18 Matthias Clasen <mclasen@redhat.com>
365 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
367 2008-07-16 Matthias Clasen <mclasen@redhat.com>
371 * giomodule.c: Rename a chapter id to avoid filename conflict.
373 2008-07-16 Matthias Clasen <mclasen@redhat.com>
375 Bug 540616 – mem leak in filechooser button
377 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
378 the mount entry. Reported by Chrisitan Persch
380 2008-07-16 Matthias Clasen <mclasen@redhat.com>
382 * gfile.c: Small documentation fixes.
384 2008-07-15 Matthias Clasen <mclasen@redhat.com>
386 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
388 2008-07-08 Matthias Clasen <mclasen@redhat.com>
393 * gmount.c: Documentation improvements.
395 2008-07-08 Matthias Clasen <mclasen@redhat.com>
398 * gmount.[hc]: Add g_mount_guess_content_type().
400 2008-07-06 David Zeuthen <davidz@redhat.com>
403 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
404 is needed for easily handling adoption of foreign volumes by
405 out-of-process volume monitors (#541793)
407 2008-07-06 David Zeuthen <davidz@redhat.com>
409 * gvolumemonitor.[ch]:
410 * gunionvolumemonitor.c: Export the eject-button signal on the
411 volume monitor class (#541794).
413 2008-07-06 Matthias Clasen <mclasen@redhat.com>
415 * gappinfo.c: More doc tweaks
417 2008-07-05 Matthias Clasen <mclasen@redhat.com>
419 * gappinfo.c: Clarify some docs
421 2008-07-03 Matthias Clasen <mclasen@redhat.com>
423 * gdesktopappinfo.c: Fix a stupid mistake.
425 2008-07-02 Matthias Clasen <mclasen@redhat.com>
427 * === Released 2.17.3 ===
429 2008-07-02 Matthias Clasen <mclasen@redhat.com>
431 * gfilemonitor.c: Fix the build.
433 2008-07-02 Matthias Clasen <mclasen@redhat.com>
435 Bug 536160 – Add g_file_monitor()
438 * gfile.[hc]: Add g_file_monitor which can return either
439 a file or a directory monitor. Proposed by Behdad Esfahbod
441 2008-07-02 Matthias Clasen <mclasen@redhat.com>
443 536733 – gio build failure on Irix
445 * glocalfile.c: Use a configure check for structfs.f_bavail.
447 2008-07-02 Matthias Clasen <mclasen@redhat.com>
449 Bug 534639 – add g_desktop_app_info_new_from_keyfile
452 * gdesktopappinfo.[hc]: Add a function to create a
453 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
455 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
457 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
459 2008-07-01 Matthias Clasen <mclasen@redhat.com>
461 * gunixmounts.c: Fix a doc typo.
463 2008-07-01 Cody Russell <bratsche@gnome.org>
465 * gio/gcontenttype.c:
466 * gio/gwin32appinfo.c:
467 * gio/gwin32volumemonitor.c:
468 * gio/gwin32mount.c: Fixed some include problems.
470 2008-07-01 Cody Russell <bratsche@gnome.org>
474 Moved all relevant typedefs into these files.
477 Updated wrt added files.
479 Split types into separate file for easier maintainership. (#538564)
481 2008-06-30 Matthias Clasen <mclasen@redhat.com>
483 Bug 540331 – g_file_append_to () documentation: can return NULL
485 * gfile.c (g_file_append_to): Clarify docs.
488 2008-06-30 Matthias Clasen <mclasen@redhat.com>
490 Bug 539090 – g_content_type_from_mime_type() should unalias
492 * gcontentype.c (g_content_type_from_mime_type): Unalias.
493 Patch by Markus Bergman
495 2008-06-30 Matthias Clasen <mclasen@redhat.com>
497 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
500 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
501 on ppc and alpha. Reported by Mart Raudsepp
503 2008-06-29 Matthias Clasen <mclasen@redhat.com>
506 * tests/memory-output-stream.c: Add some tests for
509 2008-06-29 Matthias Clasen <mclasen@redhat.com>
511 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
514 * gmemoryoutputstream.c (array_resize): Handle truncation to
515 zero correctly. Reported by Akira Tagoh
517 2008-06-29 Matthias Clasen <mclasen@redhat.com>
519 * gmemoryoutputstream.c: Trivial doc fixes
521 2008-06-29 Matthias Clasen <mclasen@redhat.com>
523 Bug 540802 – g_list_prepend doesn't concat lists
525 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
526 one list to another. Pointed out by Jan Arne Petersen
528 2008-06-28 Michael Natterer <mitch@imendio.com>
530 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
532 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
534 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
535 to avoid problems with partial icon themes.
537 2008-06-17 Hans Breuer <hans@breuer.org>
539 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
540 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
541 access again on win32, see bug #538127
542 * giomodule.c : ensure GWin32VolumeMonitor is registered
543 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
544 * Makefile.am makefile.msc : updated
546 2008-06-16 Hans Breuer <hans@breuer.org>
548 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
549 and initialization in one step avoids c99ism
551 2008-06-16 Christian Persch <chpe@gnome.org>
554 * gio/gbufferedinputstream.c
556 * gio/gdatainputstream.c
557 * gio/gdesktopappinfo.c
559 * gio/gfileenumerator.c
560 * gio/gfileinputstream.c
561 * gio/gfileoutputstream.c
563 * gio/glocaldirectorymonitor.c
565 * gio/glocalfileenumerator.c
566 * gio/glocalfileinfo.c
567 * gio/glocalfilemonitor.c
568 * gio/glocalfileoutputstream.c
569 * gio/gmemoryinputstream.c
570 * gio/gmemoryoutputstream.c
571 * gio/goutputstream.c
572 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
575 2008-06-16 Tor Lillqvist <tml@novell.com>
577 Bug 538362 - Get Win32 icons back in the file chooser
579 * gcontenttype.c (g_content_type_get_icon): Look up the icon
580 corresponding to a file extension in the Registry. Patch by Hans
582 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
584 2008-06-16 Tor Lillqvist <tml@novell.com>
586 Patches by Hans Breuer:
588 * glocalfile.c (is_xp_or_later): Handle compiling against older
589 SDK headers with missing VerifyVersionInfo(). Conditioned on
590 _MSC_VER, but should probably use some better test.
591 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
592 uninitialised statfs_result variable on Win32.
594 2008-06-16 Michael Natterer <mitch@imendio.com>
596 * *.c: chain up unconditionally in finalize() and dispose(). Also
597 don't dereference these function pointers when calling them since
598 that has no meaning at all.
600 2008-06-16 Ross Burton <ross@burtonini.com>
603 Remove check for dispose implementation as it annoys Emmanuele.
605 2008-06-16 Ross Burton <ross@burtonini.com>
607 Bug 536252 – GFileEnumerator should allow access to the containing
613 Add g_file_enumerator_get_container() and a container writeable
614 construct-only property. Also shuffle around typedefs to make it
617 * glocalfileenumerator.c:
618 * glocalfileenumerator.h:
620 Instead of a string filename take a GFile in the constructor and
621 use it to set the container property.
626 2008-06-16 Matthias Clasen <mclasen@redhat.com>
628 * gfile.c: Make includes more uniform
630 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
632 * tests/live-g-file.c (sample_struct):
633 Use less fancy unicode filenames, so the test doesn't fail
634 on Mac OS X (#531476).
636 2008-06-12 Matthias Clasen <mclasen@redhat.com>
638 * === Released 2.17.2 ===
640 2008-06-12 Matthias Clasen <mclasen@redhat.com>
642 * === Released 2.17.1 ===
644 2008-06-11 A. Walton <awalton@gnome.org>
646 * tests/g-file.c (test_g_file_new_null):
647 Fix broken test case.
649 2008-06-11 Matthias Clasen <mclasen@redhat.com>
651 * pltcheck.sh: We use g_clear_error now.
653 2008-06-11 Matthias Clasen <mclasen@redhat.com>
655 * glocalfile.c (g_local_file_enumerate_children): Revert
656 an unintended change.
658 2008-06-11 Matthias Clasen <mclasen@redhat.com>
660 * gfile.c (g_file_replace_contents): Don't unref before the last use.
662 2008-06-10 Matthias Clasen <mclasen@redhat.com>
664 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
667 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
668 as icon for the desktop directory, also make user-home and
669 user-desktop the preferred icons.
671 2008-06-10 Matthias Clasen <mclasen@redhat.com>
674 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
675 to add a name to the front of the list.
677 2008-06-10 Matthias Clasen <mclasen@redhat.com>
679 Bug 537392 – Additional colon in xattr name
681 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
682 too. Reported by Alessandro Morandi
684 2008-06-10 Matthias Clasen <mclasen@redhat.com>
686 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
689 * glocalfile.c (get_fs_type): Add afs and autofs.
690 Patch by Danny Baumann.
692 2008-06-10 Matthias Clasen <mclasen@redhat.com>
694 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
696 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
697 is no parent. (Owen Taylor, patch by Christian Neumair)
699 2008-06-10 Paolo Borelli <pborelli@katamail.com>
701 * gfile.c (g_file_replace_contents): do not leak the output stream.
703 2008-06-10 Michael Natterer <mitch@imendio.com>
705 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
706 uninitialized memory as array index.
708 2008-06-10 Tor Lillqvist <tml@novell.com>
710 * gcontenttype.c (g_content_type_can_be_executable)
711 (g_content_type_get_icon) [Win32]: Add TODO comments.
713 2008-06-09 Matthias Clasen <mclasen@redhat.com>
715 * xdgmime/Makefile.am: Fix the build
717 2008-06-09 Matthias Clasen <mclasen@redhat.com>
719 * gcontenttype.c (g_content_type_get_icon): Use icons specified
720 in the shared mime database, if available.
722 * xdgmime/*: Sync with upstream. This brings support for
723 glob weights, generic icons, and changes the cache format to
726 2008-05-28 Michael Natterer <mitch@imendio.com>
728 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
729 the global CPPFLAGS now.
731 * tests/data-input-stream.c
732 * tests/data-output-stream.c
733 * tests/g-file-info.c
735 * tests/live-g-file.c
736 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
738 2008-05-27 Matthias Clasen <mclasen@redhat.com>
740 * === Released 2.17.0 ===
742 * tests/live-g-file.c: Clean up after the tests, so make distcheck
743 doesn't complain about leftover files.
745 2008-05-27 simon.zheng <simon.zheng@sun.com>
747 * glocalfile.c: (g_local_file_query_filesystem_info):
748 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
750 2008-05-26 Michael Natterer <mitch@imendio.com>
752 * gmemoryoutputstream.h: declare
753 g_memory_output_stream_get_data_size().
755 2008-05-26 Matthias Clasen <mclasen@redhat.com>
757 * tests/*: Make tests work
759 2008-05-26 Matthias Clasen <mclasen@redhat.com>
761 * gio.symbols: Add g_memory_output_stream_get_data_size.
763 2008-05-25 Ross Burton <ross@burtonini.com>
766 Fix typo in error message (#534764).
768 2008-05-25 Ross Burton <ross@burtonini.com>
771 Fix circular dependency loop for gioenumtypes.h (#534759).
773 2008-05-19 Hans Breuer <hans@breuer.org>
775 * Makefile.am : EXTRA_DIST += makefile.msc
777 2008-05-17 Matthias Clasen <mclasen@redhat.com>
780 * gcontenttype.c: (g_content_type_from_mime_type):
781 New function to create a content type from a mime type. (#527175,
784 2008-05-17 Matthias Clasen <mclasen@redhat.com>
786 Bug 532965 – Should not return filesystem::free for certain file systems
788 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
789 free space for ncpfs.
791 2008-05-17 Matthias Clasen <mclasen@redhat.com>
793 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
795 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
796 st_dev might be zero.
798 2008-05-16 Tor Lillqvist <tml@novell.com>
800 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
801 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
803 2008-05-13 Bastien Nocera <hadess@hadess.net>
805 * gfile.c (has_valid_scheme): A URI scheme must start with a
806 letter, even if later more characters are allowed (#532852)
808 2008-05-05 Michael Natterer <mitch@imendio.com>
810 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
811 code from being checked in that breaks the build of applications
812 which use G_DISABLE_SINGLE_INCLUDES.
814 * makegioalias.pl: make the alias file include "glib.h" instead of
817 * gio.symbols: whitespace change to force regeneration of the
818 alias file after above script change.
820 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
822 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
824 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
826 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
828 2008-04-28 David Zeuthen <davidz@redhat.com>
830 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
831 displaying mounts in a subdirectory not accessible to the
834 2008-04-22 Michael Natterer <mitch@imendio.com>
836 * Makefile.am: fix library versioning (it was 0.0.0).
838 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
840 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
841 Default disable all loggings.
842 * fen/fen-kernel.c: (printevent), (port_add_kevent),
843 (port_fetch_event_cb): Fixed two macro nits.
845 2008-04-16 Matthias Clasen <mclasen@redhat.com>
847 * xdgmime/xdgmime.c: Rework the timestamp checking code
848 to protect against duplicate directories in XDG_DATA_DIRS.
849 Fixes fd.o bug 12513, reported by Joe Shaw.
851 2008-04-16 Matthias Clasen <mclasen@redhat.com>
853 Partically revert the last commit after realizing that
854 xdg_mime_media_type_equal doesn't have to init at all.
857 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
859 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
861 2008-04-16 Matthias Clasen <mclasen@redhat.com>
863 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
864 reported by Joe Shaw and Federico Mena Quintero.
866 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
867 (xdg_mime_media_type_equal): Turn into a wrapper around the
870 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
871 functions throughout.
873 2008-04-16 Michael Meeks <michael.meeks@novell.com>
875 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
876 tolerate an empty TryExec= line without failing; nautilus used
877 to create launchers with these in previous versions. Fixes #528433
879 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
881 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
882 after name. Fixes #527132.
884 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
886 * gfile.c: (g_file_replace):
889 2008-04-07 Matthias Clasen <mclasen@redhat.com>
891 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
893 * gfile.c (file_copy_fallback): Fix the argument order. Patch
894 by Christian Kellner.
896 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
898 * gunixmounts.c: (g_unix_mount_guess_should_display):
899 Don't list the user directory as a mount, fix potential issue
900 when other users have a similar naming and don't special case the
901 gvfs mounts there since that's not required (#525866)
903 2008-03-31 Alexander Larsson <alexl@redhat.com>
905 * glocalfile.c (get_parent):
908 2008-03-31 A. Walton <awalton@svn.gnome.org>
910 * gfile.c (g_file_query_file_type):
911 Always return a GFileType enum value (#520715).
913 2008-03-31 Alexander Larsson <alexl@redhat.com>
915 * glocalfileenumerator.c:
916 Read readdir() info in chunks (of 1000) and sort
917 the chunks by inode before stat:ing.
918 This is a 20% performance increase in testing
919 gvfs-ls on /usr/bin with cold cache.
921 2008-03-31 Alexander Larsson <alexl@redhat.com>
923 * gmemoryoutputstream.c:
924 Clarify docs for g_memory_output_stream_get_size.
925 Add g_memory_output_stream_get_data_size.
927 2008-03-30 Matthias Clasen <mclasen@redhat.com>
931 * gfile.h: Add g_file_query_file_type convenience function
932 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
934 2008-03-30 Matthias Clasen <mclasen@redhat.com>
937 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
939 2008-03-28 A. Walton <awalton@svn.gnome.org>
941 * giomodule.c (_g_io_modules_ensure_loaded):
942 Adds GIO_EXTRA_MODULES environment variable support, closing bug
945 2008-03-28 Alexander Larsson <alexl@redhat.com>
948 (copy_stream_with_progress):
951 2008-03-28 Alexander Larsson <alexl@redhat.com>
954 (copy_stream_with_progress):
955 (file_copy_fallback):
956 Fallback to g_file_query_info for source size
957 if g_file_input_stream_query_info fails. (#524579)
959 2008-03-28 Alexander Larsson <alexl@redhat.com>
961 * glocalfile.c (g_local_file_move):
962 Reuse old string instead of adding new one.
964 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
966 * fen/*.[hc]: still copyright issue. I hate copyright.
968 2008-03-27 Alexander Larsson <alexl@redhat.com>
970 * glocalfile.c (g_local_file_move):
971 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
972 file over directory. This is according to the docs and what the move via
973 copy+remove fallback does.
975 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
977 * fen/*.[hc]: Updated copyright.
979 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
981 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
983 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
985 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
986 not emit attribute changed events when optimizing changed events.
987 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
990 2008-03-19 Matthias Clasen <mclasen@redhat.com>
992 * gmountoperation.[hc]: Small documentation additions
994 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
996 * gunixmounts.c: (guess_mount_type):
997 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
999 2008-03-19 Alexander Larsson <alexl@redhat.com>
1002 (copy_stream_with_progress):
1003 Bump block side for copy to 64k to minimize
1004 overhead for low latency links. (#523015)
1006 2008-03-16 Tor Lillqvist <tml@novell.com>
1008 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
1009 depend on gio.def on Windows.
1011 2008-03-12 David Zeuthen <davidz@redhat.com>
1015 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1017 2008-03-14 Alexander Larsson <alexl@redhat.com>
1021 Avoid redudant tests (#521851)
1022 Patch from Josselin Mouette
1024 2008-03-14 Alexander Larsson <alexl@redhat.com>
1027 (g_file_monitor_is_cancelled):
1028 Fix C89 issue (#521672)
1029 Patch from Jens Granseuer
1031 2008-03-14 Alexander Larsson <alexl@redhat.com>
1033 * fam/fam-helper.[ch]:
1035 Shut down fam (including removing fam GSource) when
1036 module is unloaded (#521513)
1037 Patch from Joe Marcus Clarke
1039 2008-03-14 Alexander Larsson <alexl@redhat.com>
1042 (_g_io_modules_ensure_loaded):
1045 2008-03-14 Alexander Larsson <alexl@redhat.com>
1048 (g_local_file_query_filesystem_info):
1049 Use right define name for f_fstypename member check
1051 2008-03-14 Alexander Larsson <alexl@redhat.com>
1054 * fen/Makefile.am: Added.
1055 * fen/fen-data.[ch]: Added.
1056 * fen/fen-dump.[ch]: Added.
1057 * fen/fen-helper.[ch]: Added.
1058 * fen/fen-kernel.[ch]: Added.
1059 * fen/fen-missing.[ch]: Added.
1060 * fen/fen-node.[ch]: Added.
1061 * fen/fen-sub.[ch]: Added.
1062 * fen/gfendirectorymonitor.[ch]: Added.
1063 * fen/gfenfilemonitor.[ch]: Added.
1065 Added Solaris FEN file notification backend.
1066 Patch from Lin Ma <Lin.Ma@Sun.COM>
1068 2008-03-13 Tor Lillqvist <tml@novell.com>
1070 * Makefile.am: Actually use the gio.def file when linking the
1071 library on Windows. Produce .lib library for Microsoft's toolchain
1072 when possible. Install the .lib and .def file like for the other
1075 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1077 * tests/live-g-file.c:
1078 Include live-g-file in standard set of tests, making a temporary
1079 directory in source structure.
1081 Clean target directory before the tests (write mode only)
1083 2008-03-12 Tor Lillqvist <tml@novell.com>
1085 Bug 517419 - gio win32 directory monitor
1086 Implementation by Vlad Grecescu.
1089 * win32/gwin32directorymonitor.h
1090 * win32/gwin32directorymonitor.c: New files.
1092 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1094 * Makefile.am: Add the win32 subdirectory.
1096 2008-03-12 Tor Lillqvist <tml@novell.com>
1098 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1099 normal struct stat on Unix but struct _stati64 on Windows to have
1100 access to 64-bit file size information. Use that instead of struct
1101 stat in the functions declared here in this private header.
1103 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1104 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1105 warnings about unused functions and variables. Don't set
1106 meaningless attributes like inode numbers on Windows.
1108 2008-03-12 Benjamin Otte <otte@gnome.org>
1111 trim whitespace so gtk-doc groks the function name
1113 2008-03-12 Tor Lillqvist <tml@novell.com>
1115 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1116 returning FALSE, on Win32.
1118 2008-03-11 Alexander Larsson <alexl@redhat.com>
1121 * glocalfileinfo.[ch]:
1122 Correctly implement can_trash by actually
1123 looking for a trash dir, not just assuming
1126 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1128 * === Released 2.16.1 ===
1130 2008-03-11 Alexander Larsson <alexl@redhat.com>
1133 Fix crashes in new constructor and properties code
1135 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1137 * gfile.c: Minor spelling correction in documentation:
1138 existance -> existence.
1140 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1142 * === Released 2.16.0 ===
1144 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1146 * gio.symbols: Remove g_file_contains_file here, too.
1148 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1150 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1151 Samuel Cormier-Iijima)
1153 2008-03-08 Tor Lillqvist <tml@novell.com>
1155 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1158 2008-03-07 Alexander Larsson <alexl@redhat.com>
1161 (g_local_file_query_filesystem_info):
1162 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1163 Patch from Jasper Lievisse Adriaanse
1165 2008-03-06 Tor Lillqvist <tml@novell.com>
1167 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1168 comments for the *_USEC attributes.
1170 2008-03-06 Alexander Larsson <alexl@redhat.com>
1172 * gfile.c (g_file_query_exists):
1173 Add g_return_val_if_fail check (#520700)
1175 2008-03-06 Alexander Larsson <alexl@redhat.com>
1177 * gdesktopappinfo.c:
1180 * gunionvolumemonitor.c:
1183 * tests/live-g-file.c:
1184 * xdgmime/xdgmimecache.c:
1185 Fix sparse warnings (#519489)
1187 2008-03-05 Alexander Larsson <alexl@redhat.com>
1190 Make cancellation threadsafe (i.e.
1191 guarantee its only done once, and always
1194 * glocaldirectorymonitor.c:
1195 Make sure we the monitor lives while the
1196 mounts_changed callback is being called (#520484)
1198 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1200 * gbufferedinputstream.c: Fix typo in parameter
1203 2008-03-04 Alexander Larsson <alexl@redhat.com>
1206 Remove deprecated symbols we kept for one release.
1208 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1211 * goutputstream.c: Tiny documentation corrections.
1213 2008-03-03 Alexander Larsson <alexl@redhat.com>
1215 * gunionvolumemonitor.c:
1217 Fix the adopt_orphan_mount vfunc to take a
1218 volume_monitor reference in an ABI compat way.
1219 This change is not API compat, but the added
1220 arg is not used in the only user of this vfunc, so
1221 all we get is a harmless warning in gvfs (#520169)
1223 2008-03-01 Benjamin Otte <otte@gnome.org>
1226 clarify docs for g_file_delete().
1228 2008-02-29 Alexander Larsson <alexl@redhat.com>
1232 Make sure empty files get text/plain type (#518720)
1234 2008-02-27 Alexander Larsson <alexl@redhat.com>
1240 (g_unix_volume_mount):
1241 Add missing GMountMountFlags argument
1243 2008-02-26 Alexander Larsson <alexl@redhat.com>
1246 (g_local_file_delete):
1247 Handle filesystems (like ntfs-3g) that return EEXIST instead
1248 of ENOTEMPTY (#518816)
1250 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1252 * === Released 2.15.6 ===
1254 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1256 * gfile.c (g_file_find_enclosing_mount):
1257 * ginputstream.c (g_input_stream_set_pending):
1258 * glocalfile.c (g_local_file_find_enclosing_mount):
1259 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1260 * goutputstream.c (g_output_stream_set_pending):
1262 Fixup translator comments (#518578).
1264 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1266 * gfile.c (g_file_find_enclosing_mount):
1268 * glocalfile.c (g_local_file_find_enclosing_mount):
1271 Fix a few typos in translator comments and documentation.
1273 2008-02-25 Alexander Larsson <alexl@redhat.com>
1280 Add translator comments (#518578)
1282 2008-02-25 Alexander Larsson <alexl@redhat.com>
1285 Reintroduce g_file_contains_file, keep around for one
1286 unstable release cycle to avoid crashing to many apps.
1287 Make sure to delete after release.
1289 2008-02-25 Alexander Larsson <alexl@redhat.com>
1292 Remove deprecated g_file_contains_file.
1294 2008-02-25 Alexander Larsson <alexl@redhat.com>
1297 Emit actual change signals in an idle handler.
1298 This avoids reentrance and locking problems in
1299 the file notification backends.
1301 2008-02-25 Alexander Larsson <alexl@redhat.com>
1304 (g_unix_mount_guess_should_display):
1305 Remove type guessing, instead just display
1306 mounts in /media and in ~/.
1308 2008-02-25 Alexander Larsson <alexl@redhat.com>
1311 Make new strings reuse old ones.
1313 2008-02-25 Alexander Larsson <alexl@redhat.com>
1316 Implement trashing and filesystem::readonly for win32 (#517235)
1317 Patch from Yevgen Muntyan
1319 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1321 * gfileinfo.h: Documentation fixes.
1323 2008-02-22 Alexander Larsson <alexl@redhat.com>
1325 * gcontenttype.c (g_content_type_get_icon):
1326 Look at old-style gnome mime icon names too, as many
1327 have not moved to the new style.
1329 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1331 * *.c: Correct the @include in for section docs.
1333 2008-02-21 David Zeuthen <davidz@redhat.com>
1335 * glocalfileinfo.c: (_g_local_file_info_get):
1337 (g_content_type_get_icon): Implement this function by
1338 moving bits from glocalfileinfo.c
1339 (g_content_type_get_description): Unalias before getting
1340 description (#517687)
1342 * gfile.c: (g_file_class_init),
1343 (g_file_query_filesystem_info_async),
1344 (g_file_query_filesystem_info_finish),
1345 (query_filesystem_info_data_free),
1346 (query_filesystem_info_async_thread),
1347 (g_file_real_query_filesystem_info_async),
1348 (g_file_real_query_filesystem_info_finish):
1349 * gfile.h: Implement async version of
1350 g_file_query_filesystem_info()
1352 * gfileinfo.h: Add new attributes for filesystem::use-preview
1354 * gio.symbols: Update
1356 * gthemedicon.c: (g_themed_icon_append_name):
1357 * gthemedicon.h: Add new new convenience function.
1359 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1360 (get_mounts), (get_volumes), (get_connected_drives),
1361 (get_volume_for_uuid), (get_mount_for_uuid),
1362 (g_union_volume_monitor_init), (populate_union_monitor),
1363 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1364 (g_volume_monitor_adopt_orphan_mount):
1366 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1367 monitor implementations to call into the main volume monitor. Also
1368 separate object initialization and volume monitor initialization
1369 such that non-native volume monitors can properly adopt their
1372 2008-02-21 Alexander Larsson <alexl@redhat.com>
1377 2008-02-21 Alexander Larsson <alexl@redhat.com>
1380 Add more documentation about how GFiles work (from #517086)
1382 2008-02-21 Alexander Larsson <alexl@redhat.com>
1386 Add new g_file_has_prefix that does the same as g_file_contains_file.
1387 Deprecate g_file_contains_file and add a macro that converts
1388 it to g_file_has_prefix.
1389 The reason for this change is that the contains_file() name seems to
1390 imply that this does more work than what it does, but its really only
1391 a name match (from #517086)
1396 Update to match the above change.
1398 2008-02-20 Benjamin Otte <otte@gnome.org>
1400 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1401 (g_file_eject_mountable):
1402 even more cases of not returning in error path
1404 2008-02-20 Benjamin Otte <otte@gnome.org>
1406 * gfile.c: (g_file_mount_mountable):
1407 return from function in error path.
1409 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1412 Remove trailing coma in GMountMountFlags struct
1414 2008-02-18 Alexander Larsson <alexl@redhat.com>
1418 * glocalfileoutputstream.c:
1419 Use g_unlink/g_rename instead of unlink/rename;
1420 do not pass raw filenames to g_set_error. (#517239)
1421 Patch from Yevgen Muntyan.
1423 2008-02-18 Alexander Larsson <alexl@redhat.com>
1426 * glocalfileoutputstream.c:
1427 Open files with O_BINARY on windows. (#517140)
1429 2008-02-14 Alexander Larsson <alexl@redhat.com>
1431 * glocalfileoutputstream.c:
1432 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1434 2008-02-14 Alexander Larsson <alexl@redhat.com>
1437 Copy permissions with file on copy (#514084)
1438 This is what cp does and makes sure e.g. the
1439 exec permissions are kept.
1440 Its kinda weird in that it keeps the permission bits
1441 the same while the uid and gid are different. However
1442 the new uid is the user so its not a security issue,
1443 and I've heard no complaints about cp on this issue.
1445 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1447 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1449 2008-02-13 Alexander Larsson <alexl@redhat.com>
1451 * inotify/inotify-path.c:
1452 Define IN_ONLYDIR if not in header (#515346)
1454 2008-02-12 Alexander Larsson <alexl@redhat.com>
1456 * tests/live-g-file.c:
1459 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1461 * === Released 2.15.5 ===
1463 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1465 * gio.symbols: Add g_mount_mount_flags_get_type.
1467 2008-02-11 Alexander Larsson <alexl@redhat.com>
1470 (g_file_info_set_attribute_mask):
1471 (g_file_attribute_matcher_matches_id):
1472 Correctly handle NULL GAttributeMatcher meaning
1473 matches nothing. (Fixes #513492)
1475 2008-02-11 Alexander Larsson <alexl@redhat.com>
1480 Added GMountMountFlags enum and added a flags
1481 argument to all mount calls.
1483 This is an API/ABI change for future extensibility,
1484 as I think we will need at least an
1485 inhibit-autorun flag (the panel needs this).
1486 There are no flags defined yet though.
1488 2008-02-11 Alexander Larsson <alexl@redhat.com>
1491 Added new standard::description attribute.
1492 Requested by Vincent, and useful for both
1495 2008-02-11 Alexander Larsson <alexl@redhat.com>
1497 * gdesktopappinfo.c:
1500 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1502 * *.c: Documentation additions
1504 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1506 * gappinfo.h: Formatting cleanup
1507 * gappinfo.c: Fix up docs.
1509 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1511 * gunixmounts.c: Consistently use getmntent_r() and fall
1512 back to getmntent(). (#515492)
1514 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1516 * gbufferedinputstream.c:
1518 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1520 * tests/data-input-stream.c:
1521 * tests/data-output-stream.c: Portability fixes.
1523 2008-02-08 Alexander Larsson <alexl@redhat.com>
1528 Add g_volume_should_automount.
1531 2008-02-07 Tor Lillqvist <tml@novell.com>
1533 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1534 Win32, too Unix-specific.
1536 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1538 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1539 a local plt if the compiler doesn't support what we want. Bug #514702
1541 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1543 reviewed by: <delete if not using a buddy>
1546 * gunixinputstream.c:
1547 * gunixoutputstream.c:
1549 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1551 * tests/Makefile.am:
1552 * tests/live-g-file.c:
1553 * tests/live-g-file.txt:
1554 New GIO testing module working over real data
1556 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1558 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1559 Fallback to rename() if link() is not available
1560 (when no support on target filesystem)
1562 2008-02-06 Michael Natterer <mitch@imendio.com>
1564 * gfileinfo.c (g_file_info_get_icon): replace
1565 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1567 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1569 * gfile.c (g_file_create):
1570 Documentation update of error codes
1572 2008-02-06 Alexander Larsson <alexl@redhat.com>
1574 * gdesktopappinfo.c:
1575 Update to use both mimeapps.list and
1576 defaults.list as discussed on xdg list.
1578 2008-02-06 Benjamin Otte <otte@gnome.org>
1581 * gfilenamecompleter.c:
1582 Fix some typos in the documentation.
1584 2008-02-06 Alexander Larsson <alexl@redhat.com>
1586 * glocalfile.c (g_local_file_trash):
1587 Don't succeed with trash if newly created
1588 trash dir has the wrong owner. (#514696)
1590 2008-02-05 Alexander Larsson <alexl@redhat.com>
1592 * glocalfile.c (g_local_file_move):
1593 Don't spew warnings when destination is not
1596 2008-02-03 Hans Breuer <hans@breuer.org>
1598 * makefile.msc : update
1600 2008-02-01 Michael Natterer <mitch@imendio.com>
1602 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1603 return value of xdg_mime_list_mime_parents() to a variable of the
1606 2008-02-01 Alexander Larsson <alexl@redhat.com>
1608 * gappinfo.c (g_app_info_launch_uris):
1609 Actually call the launch_uris method, not
1612 2008-02-01 Alexander Larsson <alexl@redhat.com>
1614 * gdesktopappinfo.c (g_desktop_app_info_equal):
1615 Ensure appinfos with no id but same pointer value
1618 2008-02-01 Alexander Larsson <alexl@redhat.com>
1620 * gappinfo.c (g_app_info_launch_default_for_uri):
1623 2008-02-01 Alexander Larsson <alexl@redhat.com>
1627 Add g_app_info_launch_default_for_uri utility
1630 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1632 * gdesktopappinfo.c:
1633 Doc fix for g_app_info_get_default_for_uri_scheme ()
1636 2008-01-30 Alexander Larsson <alexl@redhat.com>
1639 Add doc comment about uris vs GFiles to
1642 * gdesktopappinfo.c:
1643 Ensure uris passed to g_app_info_launch_uris()
1644 are not roundtriped through GFile (as that
1645 may be slightly destructive for e.g. mailto: links)
1647 2008-01-30 Alexander Larsson <alexl@redhat.com>
1649 * tests/data-input-stream.c:
1650 * tests/data-output-stream.c:
1651 C89 fixes from Jens Granseuer (#512849)
1653 2008-01-30 Alexander Larsson <alexl@redhat.com>
1656 Fix gamin/fam difference build issue. (#509419)
1658 2008-01-29 Alexander Larsson <alexl@redhat.com>
1661 * gdesktopappinfo.c:
1662 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1664 2008-01-29 Alexander Larsson <alexl@redhat.com>
1666 * gdesktopappinfo.c:
1667 * gdesktopappinfo.h:
1668 giomodule-priv.h include moved to .c file.
1670 2008-01-29 Alexander Larsson <alexl@redhat.com>
1672 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1673 Remove unused prio/name fields.
1675 2008-01-29 Alexander Larsson <alexl@redhat.com>
1677 * gcontenttype.c (looks_like_text):
1678 Don't treat whitespace as control chars.
1680 2008-01-29 Alexander Larsson <alexl@redhat.com>
1682 * gdesktopappinfo.c:
1683 Lazily create the desktop files for appinfos created
1684 by g_app_info_create_from_commandline() when needed
1685 for mime associations. This allows run-time use
1686 of GAppInfo object without creating unnecessary
1689 2008-01-29 Alexander Larsson <alexl@redhat.com>
1692 Added new symbols to gio.symbols
1694 2008-01-29 Alexander Larsson <alexl@redhat.com>
1697 Add g_file_query_default_handler utility to easily look up
1698 the GAppInfo that handles a file.
1700 * gdesktopappinfo.[ch]:
1702 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1705 Remove unused function
1707 2008-01-29 Alexander Larsson <alexl@redhat.com>
1709 * gfileenumerator.c:
1710 Mention need to free returned value in
1711 g_file_enumerator_next_files_finish docs.
1712 Fix leak if g_file_enumerator_next_files_finish()
1715 2008-01-29 Alexander Larsson <alexl@redhat.com>
1718 (_g_unix_content_type_get_parents):
1719 Use list_parents, not get_parents from xdgmime, because
1720 the later doesn't use the cache.
1722 * xdgmime/xdgmimecache.c:
1723 (_xdg_mime_cache_list_mime_parents):
1724 Don't list the same type as parent multiple times.
1726 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1728 * === Released 2.15.4 ===
1730 2008-01-28 Alexander Larsson <alexl@redhat.com>
1733 Register local vfs with prio 0.
1736 Remove old name and prio class members
1738 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1740 * tests/g-file.c: Disable some tests that are failing in
1741 the absence of a http backend.
1743 2008-01-28 Alexander Larsson <alexl@redhat.com>
1747 Add registration hooks for extension points.
1748 Register the gio extension points.
1750 * fam/gfamdirectorymonitor.c:
1751 * fam/gfamfilemonitor.c:
1752 * glocaldirectorymonitor.[ch]:
1753 * glocalfilemonitor.[ch]:
1754 * gnativevolumemonitor.h:
1755 * gunionvolumemonitor.c:
1756 * gunixvolumemonitor.c:
1759 * inotify/ginotifydirectorymonitor.c:
1760 * inotify/ginotifyfilemonitor.c:
1761 Use the extension points registration instead
1762 of g_type_children().
1764 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1767 * gvolume.[hc]: Document new API.
1769 * gfile.c (g_file_copy_async): Fix docs
1771 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1773 * gbufferedinputstream.c:
1775 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1778 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1780 * glocalfile.c: Avoid trivial differences in translatable strings.
1782 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1784 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1785 build with gcc 3.4 (#509419)
1787 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1789 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1790 (#509994, Murray Cumming)
1792 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1794 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1795 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1796 this allows big jobs to be executed in chunks, instead of blocking
1797 the main loop for a long time.
1799 * gsimpleasyncresult.c:
1800 * giofile.c: Adapt callers.
1802 2008-01-25 Alexander Larsson <alexl@redhat.com>
1804 * gdesktopappinfo.c:
1805 Implement changes discussed on xdg list.
1806 Now we can add supported mimetypes by just using defaults.list
1807 We can also remove associations in defaults.list.
1809 2008-01-25 Alexander Larsson <alexl@redhat.com>
1811 * gdesktopappinfo.c:
1812 Don't make local copy of desktop file
1813 for mimetype changes if the file already
1814 supports the new mimetype.
1816 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1820 * gbufferedinputstream.c:
1821 * glocalfile.c: String improvements. (#511966,
1822 Theppitak Karoonboonyanan)
1824 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1826 * gioscheduler.h: Expand docs a bit.
1828 2008-01-24 Alexander Larsson <alexl@redhat.com>
1831 Add g_drive_get_identifier and
1832 g_drive_enumerate_identifiers
1835 Add g_volume_get_identifier and
1836 g_volume_enumerate_identifiers
1842 Implement identifiers for unix backend
1844 2008-01-24 Alexander Larsson <alexl@redhat.com>
1849 Add g_file_copy_async() (#511580)
1850 Based on patch from Carlos Garcia Campos
1852 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1854 * gioscheduler.c: Some documentation additions.
1856 2008-01-22 Alexander Larsson <alexl@redhat.com>
1858 * gdesktopappinfo.c:
1859 (g_desktop_app_info_new):
1860 Don't leak basename.
1862 2008-01-22 Alexander Larsson <alexl@redhat.com>
1864 * gdesktopappinfo.c:
1865 (g_desktop_app_info_new_from_filename):
1868 2008-01-22 Alexander Larsson <alexl@redhat.com>
1870 * glocalfileinfo.c (get_thumbnail_attributes):
1873 2008-01-22 Alexander Larsson <alexl@redhat.com>
1876 (canonicalize_filename):
1877 Canonicalize paths that start with more than
1881 (compare_two_files):
1882 (test_g_file_new_for_path):
1885 2008-01-22 Alexander Larsson <alexl@redhat.com>
1888 Allow UTF-8 in file:// parse names.
1890 * tests/Makefile.am:
1891 * tests/data-input-stream.c:
1892 * tests/data-output-stream.c:
1893 * tests/g-file-info.c:
1895 Added a bunch of tests from Tomas Bzatek
1897 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1899 * === Released 2.15.3 ===
1901 2008-01-21 Alexander Larsson <alexl@redhat.com>
1903 * gfileinputstream.[ch]:
1904 * gfileoutputstream.[ch]:
1906 Remove duplicated GSeekable functions. (#509990)
1907 Just use the g_seekable_xxx() calls instead.
1909 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1912 * gvolumemanager.c: Whitespace cleanups.
1914 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1915 Use the right mode when creating the file.
1917 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1919 * gfileenumerator.c:
1920 * gfileinputstream.c:
1922 * goutputstream.c: Documentation: Fixed minor typos
1923 and added more mentions of specific _finish() functions.
1925 2008-01-21 Alexander Larsson <alexl@redhat.com>
1927 * inotify/Makefile.am:
1928 * inotify/inotify-helper.c:
1929 * inotify/inotify-kernel.c:
1930 * inotify/inotify-path.c:
1931 * inotify/local_inotify.h: Removed.
1932 * inotify/local_inotify_syscalls.h: Removed.
1933 Removed the included copies of the inotify
1934 headers. We now only use the <sys/inotify.h>
1935 header which exists on modern systems.
1936 This fixes problems on ARM and SH5 (#510448)
1937 but is also generally much cleaner and future
1938 safe. For instance, if other OSes add support
1939 for inotify it should "just work".
1941 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1943 * inotify/*.c: Coding style fixes.
1944 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1945 for the 1/4 Hz timer.
1947 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1950 * gfilemonitor.[hc]:
1951 * gmemoryinputstream.c:
1952 * gmemoryoutputstream.c:
1953 * gmountoperation.c:
1954 * gthemedicon.c: Documentation updates
1956 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1958 * gfile.c: documentation: Fixed more minor
1961 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1963 * gmount.c: (g_mount_remount): documentation:
1964 Mention g_mount_remount_finish() instead of
1965 g_mount_unmount_finish().
1967 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1971 * gfile.c: Fixed some minor typos in the
1974 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1976 * gio/gvolumemonitor.c:
1977 (g_volume_monitor_get_connected_drives):
1978 (g_volume_monitor_get_volumes):
1979 (g_volume_monitor_get_mounts): Documentation:
1980 Clarify the ownership of the regurn GLists.
1982 2008-01-17 Alexander Larsson <alexl@redhat.com>
1985 Add the async find_enclosing_mount version
1986 to the header file too.
1988 2008-01-17 Alexander Larsson <alexl@redhat.com>
1991 Add async version of find_enclosing_mount
1992 with default implementation.
1994 2008-01-17 Alexander Larsson <alexl@redhat.com>
1999 Allow calls to implementation of copy and write
2000 even if the type of the file implementations is
2001 different. This can be used to implement native
2002 upload and download calls in a vfs.
2005 (g_local_file_move):
2006 Protect against the case where move is called
2007 with one file not being local.
2009 Make sure we call the progress callback once
2010 in the native move operation so that the caller
2011 knows how many bytes were copied.
2013 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2016 * gdatainputstream.c:
2018 * gfileoutputstream.c:
2023 * gunixmounts.c: Corrected some typos in the documentation:
2024 occured -> occurred.
2025 its -> it's (where appropriate).
2027 2008-01-16 Alexander Larsson <alexl@redhat.com>
2031 Add g_file_query_exists (#508771)
2033 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2038 * gvolume.c: For async functions that have no non-async
2039 version, document that the GAsyncReadyCallback may be NULL.
2042 2008-01-15 Alexander Larsson <alexl@redhat.com>
2044 * gmemoryinputstream.c:
2045 * gmemoryoutputstream.c:
2046 Don't do pointer arithmetic on void * (#508602)
2047 Patch from Kazuki IWAMOTO
2049 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2051 * === Released 2.15.2 ===
2053 2008-01-14 Alexander Larsson <alexl@redhat.com>
2055 * gfile.c (g_file_monitor_file):
2056 Don't set error here, since we fallback to polling monitor.
2058 2008-01-14 Alexander Larsson <alexl@redhat.com>
2061 (g_file_monitor_directory):
2062 (g_file_monitor_file):
2063 Add GError to file monitor calls
2065 * glocaldirectorymonitor.c:
2066 * glocaldirectorymonitor.h:
2068 * glocalfilemonitor.c:
2069 * glocalfilemonitor.h:
2071 Update for above change
2073 2008-01-14 Alexander Larsson <alexl@redhat.com>
2077 Handle root correctly in g_file_get_relative_path (#508719)
2079 2008-01-14 Alexander Larsson <alexl@redhat.com>
2082 Clean up docs and example for GAsyncResult (#508074)
2084 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2086 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2087 and correct some spelling mistakes. Bug #508108.
2089 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2091 * glocalfileinfo.c: Add a comment.
2093 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2095 * gfileinfo.c: GFileInfo description: Mention
2096 how to actually set attributes in a GFile and how to discover
2097 which attributes are settable. Bug #508378.
2099 2008-01-10 A. Walton <awalton@svn.gnome.org>
2101 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2102 (g_app_info_get_default_for_type):
2103 Check for NULL content types.
2105 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2107 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2109 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2111 * gfile.c: *_async() functions: Several small corrections
2112 to the documentation, mostly correcting copy/paste errors
2113 and improving some sentences.
2115 2008-01-09 Dan Winship <danw@gnome.org>
2117 * glocalfile.c (get_unique_filename): x86_64 fix
2119 2008-01-09 Alexander Larsson <alexl@redhat.com>
2124 Add g_unix_mount_guess_should_display and use
2125 for unix volume monitor backend.
2126 This means we more or less show what the
2127 gnome-vfs backend did.
2128 Based on patch from Padraig O'Briain
2130 2008-01-09 Alexander Larsson <alexl@redhat.com>
2134 Add g_themed_icon_new_with_default_fallbacks
2137 Use default fallbacks for icons
2139 2008-01-09 Alexander Larsson <alexl@redhat.com>
2142 * gmountoperation.[ch]:
2143 Change the API a bit so that unhandled methods
2144 get reported via the reply, rather than by
2145 the signal emission return value. This is because
2146 some handlers can't know this immediately without
2147 doing I/O, and this is an async operation that
2150 2008-01-09 Alexander Larsson <alexl@redhat.com>
2153 * fam/gfamdirectorymonitor.c:
2154 * fam/gfamfilemonitor.c:
2155 Fix double free crash (#508224)
2156 Patch from Joe Marcus Clarke
2158 008-01-07 Matthias Clasen <mclasen@redhat.com>
2160 * === Released 2.15.1 ===
2162 2008-01-07 Alexander Larsson <alexl@redhat.com>
2164 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2165 Fix warning (#507835)
2167 2008-01-07 Alexander Larsson <alexl@redhat.com>
2170 Pass --internal to glib-genmarshal
2173 * gmountoperation.c:
2175 Use better types for signal arguments (#507822)
2177 2008-01-07 Alexander Larsson <alexl@redhat.com>
2180 Build test subdir after .
2181 Remove gdirectorymonitor.[ch]
2183 * gdirectorymonitor.[ch]:
2187 Remove GDirectoryMonitor and make
2188 GFileMonitor the baseclass for both file and
2189 directory monitors. Lift the more generic
2190 rate limiting code from GDirectoryMonitor
2194 * fam/gfamdirectorymonitor.[ch]:
2195 * inotify/ginotifydirectorymonitor.[ch]:
2196 * inotify/inotify-helper.c:
2197 * glocaldirectorymonitor.[ch]:
2200 Update for the removed GDirectoryMonitor.
2202 * gmemoryoutputstream.c:
2203 Remove ununsed variable
2205 2008-01-07 Alexander Larsson <alexl@redhat.com>
2207 * gmemoryinputstream.c:
2208 Translate error strings
2211 * gmemoryoutputstream.[ch]:
2212 New implementation that avoids using GByteArray
2213 in implementation and API. (#506377)
2215 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2217 * tests/*: Add a test for memory input streams.
2219 * Makefile.am: Add tests to SUBDIRS.
2221 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2223 * glocalfilemonitor.c:
2224 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2227 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2229 * gdesktopappinfo.c: Fix a docs typo.
2231 * gfileattribute.c: Add information about extended attributes
2232 to the documentation. (#505058)
2234 2008-01-04 Alexander Larsson <alexl@redhat.com>
2237 * gmountoperation.c:
2238 Use the right type (uint) for the ask_password signal.
2240 2008-01-04 Alexander Larsson <alexl@redhat.com>
2245 Add g_app_info_supports_files()
2246 Remove desktop arg from g_app_info_should_show().
2248 * gdesktopappinfo.[ch]:
2249 Implement g_app_info_supports_files() and new should_show()
2250 Add g_desktop_app_info_set_desktop_env() to set the desktop
2251 for should_show(). (This will be set by gtk+ later)
2253 2008-01-04 Alexander Larsson <alexl@redhat.com>
2256 * gmemoryinputstream.[ch]:
2257 Improve API so that you can use multiple chunks
2258 of memory and custom destroy functions. (#506374)
2260 2008-01-03 Alexander Larsson <alexl@redhat.com>
2263 Handle NULL attribute matchers safely, as we return this
2264 for empty attribute matcher strings.
2266 2008-01-03 Alexander Larsson <alexl@redhat.com>
2268 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2269 Add /usr/local to list of internal mountpoints
2271 2008-01-03 Alexander Larsson <alexl@redhat.com>
2274 Check for HAVE_LCHOWN (#505887)
2276 2008-01-03 Alexander Larsson <alexl@redhat.com>
2280 Add define for selinux context attribute.
2281 Fix missing : -> :: namespace separator change
2282 Fix missing _ -> - name change for xattr-sys.
2285 2008-01-03 Alexander Larsson <alexl@redhat.com>
2288 Link to libglib and libgobject directly (#504879)
2289 Patch from Sebastien Bacher
2291 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2293 * gfile.c: Expanded the g_file_new_for_commandline_arg
2294 description a bit, based on the code and the docs of the
2295 other g_file_new_for_* functions.
2297 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2299 * gfilemonitor.h: Fixed typo in docs.
2301 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2303 Updates to GIO documentation. (#506395, Mikael Hermansson)
2305 * gcontenttype.c: Describe memory management for return value of
2306 g_content_types_get_registered(). Missing piece from #505815.
2307 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2308 GVolume, GDrive, GMounts, which hopefully gives the user less
2309 confusions when using this API. Following explainations from
2310 Alexander Larsson on gtk-devel-list.
2312 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2314 * gfileinfo.c: Expand the long description.
2316 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2319 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2320 fix builds with --disable-visibility. (#500273, Christian Persch)
2322 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2324 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2325 in the list of returned app infos.
2327 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2329 * gappinfo.c: Fix a cross-reference
2331 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2333 * gfileinputstream.c:
2334 * gfileoutputstream.c:
2338 * gdesktopappinfo.c:
2340 * gfileinfo.c: Documentation updates.
2342 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2344 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2347 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2349 * gcontenttype.c (g_content_types_get_registered): Don't return
2350 freed memory (#505815, Mikael Hermansson)
2352 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2354 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2355 used to detect statbuf->st_blocks. (#505042)
2357 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2359 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2360 environment handling. (#504829, Cosimo Cecchi)
2362 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2364 * gappinfo.c: Doc improvements
2366 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2369 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2371 * === Released 2.15.0 ===
2373 2007-12-20 Hans Breuer <hans@breuer.org>
2375 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2376 with symbols gwin32appinfo.obj, added gmount.obj
2377 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2379 2007-12-20 Alexander Larsson <alexl@redhat.com>
2385 * gfilenamecompleter.c:
2388 * gpollfilemonitor.c:
2389 File attribute renames:
2391 fs:: -> filesystem::
2392 id::fs -> id::filesystem
2394 2007-12-20 Alexander Larsson <alexl@redhat.com>
2403 Add GMountUnmountFlags to all unmount and
2405 Add g_mount_remount() call.
2407 2007-12-20 Alexander Larsson <alexl@redhat.com>
2409 * gvfs.c (get_default_vfs):
2410 Fix unused variable warning
2412 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2414 * pltcheck.sh: Update
2416 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2418 * gunionvolumemonitor.c:
2419 * gunixmount.c: Remove C99 comments
2421 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2423 * gio.symbols: Add some missing symbols
2425 2007-12-19 Alexander Larsson <alexl@redhat.com>
2428 Make g_io_modules_load_all_in_directory not unuse
2429 loaded modules so that users of it can do stuff
2431 Init internal "module" types.
2432 Initialize static prio and name for types so that
2433 we don't have to load modules to get it.
2435 * gnativevolumemonitor.h:
2437 Move is_supported to parent class so that
2438 non-native monitors can avoid being initialized
2439 too. (For instance GDaemonVolumeMonitor if we're
2440 not using GDaemonVfs.)
2442 * glocaldirectorymonitor.[ch]:
2443 * glocalfilemonitor.[ch]:
2444 * gunionvolumemonitor.c:
2445 * gunixvolumemonitor.c:
2447 Find plugins using the static prio+name to
2448 avoid unnecessarily loading the modules.
2450 2007-12-19 Alexander Larsson <alexl@redhat.com>
2455 2007-12-19 Alexander Larsson <alexl@redhat.com>
2457 * gunionvolumemonitor.c:
2458 Store the native type as GType, not class so that
2459 we can unload it. But still avoid unnecessarily
2462 2007-12-19 David Zeuthen <davidz@redhat.com>
2464 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2465 add signals 'disconnected' and 'eject-button' on GDrive. Add
2466 signal 'removed' on GVolume and 'unmounted' on GMount.
2468 * gdrive.c: (g_drive_base_init):
2470 * gfile.c: (g_file_mount_mountable),
2471 (g_file_mount_enclosing_volume):
2474 * gmount.c: (g_mount_base_init):
2476 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2477 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2478 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2482 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2484 * *.c: Fix up includes in the section docs.
2486 2007-12-17 Alexander Larsson <alexl@redhat.com>
2488 * gnativevolumemonitor.h:
2489 * gunionvolumemonitor.c:
2490 * gunixvolumemonitor.c:
2491 Add is_supported() to GNativeVolumeMonitorClass so
2492 that we can avoid having to create an object to see
2493 if the backend is supported at runtime.
2494 Also add name member and an env var to pick a specific
2495 volume monitor backend.
2499 Add cancellable to _g_mount_get_for_mount_path()
2501 * glocaldirectorymonitor.c:
2502 * glocalfilemonitor.c:
2503 Avoid loading and unloading modules while sorting.
2505 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2508 * gunixmounts.[hc]: Namespace waste reduction, move some
2509 g_get_unix_mount functions to the g_unix_mount namespace.
2512 * gunixvolumemonitor.c:
2514 * glocaldirectorymonitor.c: Update all callers.
2516 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2518 2007-12-17 Alexander Larsson <alexl@redhat.com>
2521 Add doc comments about what GFile operations are
2522 guaranteed to not block.
2524 2007-12-17 Alexander Larsson <alexl@redhat.com>
2527 Add missing #ifdef fixing OSX build.
2528 (#503334, patch from Richard Hult)
2530 2007-12-14 David Zeuthen <davidz@redhat.com>
2534 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2535 (g_mount_eject), (g_mount_eject_finish):
2537 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2538 (get_volume_for_uuid), (get_mount_for_uuid),
2539 (g_union_volume_monitor_class_init),
2540 (get_default_native_type_with_exclude), (get_default_native_type),
2541 (get_native_type), (update_native_type),
2542 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2543 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2544 (g_unix_mount_can_eject), (eject_unmount_cb),
2545 (eject_unmount_read_error), (eject_unmount_do),
2546 (g_unix_mount_unmount), (g_unix_mount_eject),
2547 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2548 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2549 (g_unix_mount_point_guess_can_eject):
2551 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2552 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2553 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2554 (g_unix_volume_mount), (g_unix_volume_eject),
2555 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2556 * gunixvolumemonitor.c: (get_volume_for_uuid),
2557 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2559 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2560 (g_volume_eject), (g_volume_eject_finish):
2562 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2563 (g_volume_monitor_get_mount_for_uuid):
2566 Provide eject() on both GMount and GVolume and utility functions
2567 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2568 ejected. Introduce the concept of UUID's and wire it into GVolume
2569 and GMount and provide API on GVolumeMonitor to find such
2570 instances. Also handle the case where an external
2571 GNativeVolumeMonitor fails to initialize. Lock around the
2572 _g_get_mount_for_mount_path() function such that volume monitor
2573 implementations won't have to do locking themselves.
2575 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2577 * gdesktopappinfo.c:
2583 * gvolume.h: Documentation updates
2585 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2588 * gfile.h: Doc updates
2590 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2593 * gdesktopappinfo.c: Use hash table iterators.
2595 2007-12-14 Alexander Larsson <alexl@redhat.com>
2598 * gfileattribute.[ch]:
2599 * gfileattribute-priv.h:
2600 Move GFileAttributeValue to a private header, as
2604 Make set_attribute take a type + a pointer instead
2605 of a GFileAttributeValue.
2608 Fix up for above changes.
2609 Add g_file_info_get_attribute_data to get
2610 all info in one call, g_file_info_get_attribute_status
2611 to get the status and g_file_info_get_attribute_as_string.
2615 * glocalfileinfo.[ch]:
2619 Make _guess_type static.
2621 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2624 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2625 made mkenums and friends use temporary files to avoid leaving
2626 empty generated files on failure (#503470).
2628 2007-12-14 Alexander Larsson <alexl@redhat.com>
2630 * gmountoperation.h:
2633 2007-12-14 Alexander Larsson <alexl@redhat.com>
2637 * gfileattribute.[ch]:
2640 * glocalfileoutputstream.c:
2641 * gmountoperation.[ch]:
2642 * goutputstream.[ch]:
2643 Clean up all flags enums to not have _FLAGS in them
2644 Make the names of some of the enums better.
2649 2007-12-14 Michael Natterer <mitch@imendio.com>
2651 * gio.symbols: fix g_io_scheduler symbol names.
2653 2007-12-14 Alexander Larsson <alexl@redhat.com>
2659 * gbufferedinputstream.h:
2660 * gbufferedoutputstream.h:
2663 * gdatainputstream.h:
2664 * gdataoutputstream.h:
2665 * gdesktopappinfo.h:
2666 * gdirectorymonitor.h:
2670 * gfileenumerator.h:
2673 * gfileinputstream.h:
2675 * gfilenamecompleter.h:
2676 * gfileoutputstream.h:
2677 * gfilterinputstream.h:
2678 * gfilteroutputstream.h:
2686 * gmemoryinputstream.h:
2687 * gmemoryoutputstream.h:
2689 * gmountoperation.h:
2692 * gsimpleasyncresult.h:
2694 * gunixinputstream.h:
2696 * gunixoutputstream.h:
2700 * inotify/Makefile.am:
2701 Only allow including <gio/gio.h> from apps
2703 2007-12-14 Alexander Larsson <alexl@redhat.com>
2705 * gioscheduler.[ch]:
2706 * gsimpleasyncresult.c:
2707 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2708 Split out the send_to_mainloop call into two versions instead
2709 of having the block argument.
2711 2007-12-13 Alexander Larsson <alexl@redhat.com>
2713 * gcancellable.[ch]:
2715 * gbufferedinputstream.c:
2716 * gfileenumerator.c:
2717 * gfileinputstream.c:
2718 * gfileoutputstream.c:
2722 g_push/pop_current_cancellable ->
2723 g_cancellable_push/pop_current
2725 2007-12-13 Alexander Larsson <alexl@redhat.com>
2729 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2731 2007-12-13 Alexander Larsson <alexl@redhat.com>
2733 * gmountoperation.h:
2734 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2736 2007-12-12 Alexander Larsson <alexl@redhat.com>
2739 Fix race condition when freeing proxy in
2740 g_io_job_send_to_mainloop().
2742 2007-12-12 Alexander Larsson <alexl@redhat.com>
2748 Make attribute namespace separator "::" instead of ":".
2749 Use - instead of _ as separator in attribute names.
2751 2007-12-12 Alexander Larsson <alexl@redhat.com>
2753 * gbufferedinputstream.h:
2754 * gbufferedoutputstream.h:
2755 * gdatainputstream.h:
2756 * gdataoutputstream.h:
2757 * gdirectorymonitor.h:
2758 * gfileenumerator.h:
2759 * gfileinputstream.h:
2761 * gfileoutputstream.h:
2762 * gfilterinputstream.h:
2763 * gfilteroutputstream.h:
2765 * glocalfileinputstream.h:
2766 * glocalfileoutputstream.h:
2767 * gmemoryinputstream.h:
2768 * gmemoryoutputstream.h:
2769 * gnativevolumemonitor.h:
2771 * gunixinputstream.h:
2772 * gunixoutputstream.h:
2775 s/parent/parent_instance/ in GObjects
2777 2007-12-12 Alexander Larsson <alexl@redhat.com>
2782 No need for padding for interfaces
2784 2007-12-12 Alexander Larsson <alexl@redhat.com>
2788 * gbufferedinputstream.c:
2789 * gbufferedoutputstream.c:
2792 * gdatainputstream.[ch]:
2793 * gdesktopappinfo.c:
2794 * gdirectorymonitor.c:
2796 * gfileattribute.[ch]:
2799 * gfileinputstream.h:
2800 * gfilemonitor.[ch]:
2801 * gfileoutputstream.[ch]:
2802 * gfilterinputstream.h:
2803 * gfilteroutputstream.h:
2806 * gloadableicon.[ch]:
2807 * gmemoryinputstream.c:
2808 * gmountoperation.c:
2810 Fix up a bunch of details in the docs.
2815 2007-12-11 David Zeuthen <davidz@redhat.com>
2817 Rework how volumes, drives and volume monitoring is
2818 done. Previosly the model was
2820 GDrive <1-1> GVolume
2822 where a GDrive instance represented a mount point and a GVolume
2823 instance represented a mounted file system. This patch changes it
2826 GDrive <1-N> GVolume <1-1> GMount
2828 where GMount now serves the purpose of the old GVolume and the new
2829 GVolume serves the purpose of the old GDrive. In addition the new
2830 GDrive interface is used to represent a collection of GVolume
2831 instances (typically partitions) and also contains utility to query
2832 the state of the physical drive the GDrive object represents (such
2833 as checking for media, polling the drive, ejecting the media etc.).
2835 Also implement mounting and unmounting in the Unix volume monitor
2836 backend. A subquent patch will introduce GDrive support for ejection
2840 * gdrive.c: (g_drive_is_media_check_automatic),
2841 (g_drive_is_media_removable), (g_drive_has_media),
2842 (g_drive_can_poll_for_media), (g_drive_eject),
2843 (g_drive_eject_finish), (g_drive_poll_for_media),
2844 (g_drive_poll_for_media_finish):
2846 * gfile.c: (g_file_find_enclosing_mount):
2849 * glocaldirectorymonitor.c:
2850 (g_local_directory_monitor_constructor), (mounts_changed):
2851 * glocalfile.c: (get_mount_info),
2852 (g_local_file_find_enclosing_mount),
2853 (g_local_file_file_iface_init):
2854 * gnativevolumemonitor.h:
2855 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2856 (get_connected_drives), (g_union_volume_monitor_class_init),
2857 (child_volume_added), (child_volume_removed),
2858 (child_volume_changed), (child_mount_added), (child_mount_removed),
2859 (child_mount_pre_unmount), (child_mount_changed),
2860 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2861 (g_union_volume_monitor_remove_monitor),
2862 (_g_mount_get_for_mount_path):
2863 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2864 (guess_system_internal), (_g_get_unix_mounts),
2865 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2866 (g_unix_mount_free), (g_unix_mount_compare),
2867 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2868 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2869 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2870 (type_to_icon), (g_unix_mount_guess_name),
2871 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2872 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2873 (_resolve_symlink), (_resolve_dev_root):
2875 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2876 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2877 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2878 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2879 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2880 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2881 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2882 (g_unix_volume_volume_iface_init):
2884 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2885 (get_mounts), (get_volumes), (get_connected_drives),
2886 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2887 (mountpoints_changed), (mounts_changed),
2888 (g_unix_volume_monitor_init),
2889 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2890 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2891 * gunixvolumemonitor.h:
2892 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2893 (g_volume_mount), (g_volume_mount_finish):
2895 * gvolumemonitor.c: (g_volume_monitor_class_init),
2896 (g_volume_monitor_get_connected_drives),
2897 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2900 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2902 * gmountoperation.h (GPasswordFlags): Close the gap
2904 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2906 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2908 * gdesktopappinfo.[hc]: Remove _-prefixes
2910 2007-12-10 Tor Lillqvist <tml@novell.com>
2912 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2915 2007-12-10 Alexander Larsson <alexl@redhat.com>
2917 * gfile.c (g_file_set_display_name):
2918 Don't hardcode '/' (#502727)
2920 2007-12-09 Hans Breuer <hans@breuer.org>
2922 * makefile.msc : follow lib naming convention
2923 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2924 for user and group name, tested with ../tests/gio-ls
2926 2007-12-09 A. Walton <awalton@svn.gnome.org>
2928 * gdesktopappinfo.c:
2934 * gfileenumerator.c:
2939 * gmemoryinputstream.c:
2940 * gmemoryoutputstream.c:
2942 * gsimpleasyncresult.c:
2943 More documentation cleanup and filling in missing information, bringing
2944 GIO to 99% symbol coverage.
2946 2007-12-08 Hans Breuer <hans@breuer.org>
2948 [gio compiles and links on win32, not sure how much already works]
2949 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2950 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2951 base on win32 API; prefer g_lstat() over lstat(); instead of
2952 localtime_r() use an all GLib implementation on win32;
2953 get_mount_info() still needs a win32 specifc implementation
2954 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2955 win32_get_file_user_info to get owner/group info without uid/gid
2956 * glocalfileinputstream.c : include <io.h> on win32
2957 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2958 definition, use g_win32_ftruncate() for G_OS_WIN32
2959 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2960 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2961 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2962 * makefile.msc : updated
2964 2007-12-07 Alexander Larsson <alexl@redhat.com>
2966 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2967 Avoid warning spew if error == NULL
2969 2007-12-07 Alexander Larsson <alexl@redhat.com>
2972 Update docs wrt etags
2974 2007-12-06 Alexander Larsson <alexl@redhat.com>
2977 Include sys/types.h for dev_t (#501919)
2979 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2983 Make abicheck and pltcheck pass.
2985 2007-12-05 Alexander Larsson <alexl@redhat.com>
2988 * giomodule-priv.h: Added.
2989 * glocaldirectorymonitor.c:
2990 * glocalfilemonitor.c:
2991 * gunionvolumemonitor.c:
2993 Actually add the declaration of _g_io_modules_ensure_loaded
2995 2007-12-05 Alexander Larsson <alexl@redhat.com>
2997 * gdatainputstream.c:
3002 * glocaldirectorymonitor.c:
3003 * glocalfilemonitor.c:
3004 * gunionvolumemonitor.c:
3006 Make g_io_modules_ensure_loaded a private function and
3007 don't pass in the dirname. This means we can do magic
3008 directory finding in the win32 version.
3009 Export the actual load-modules-in-directory code so that
3010 gvfs can reuse that.
3012 2007-12-05 Alexander Larsson <alexl@redhat.com>
3014 * gbufferedinputstream.c:
3015 * gbufferedoutputstream.c:
3018 * gfileenumerator.[ch]:
3019 * gfileinputstream.c:
3020 * gfileoutputstream.[ch]:
3021 * gfilterinputstream.c:
3022 * gfilteroutputstream.c:
3023 * ginputstream.[ch]:
3025 * glocalfileenumerator.c:
3026 * glocalfileinputstream.c:
3027 * glocalfileoutputstream.c:
3028 * gmemoryinputstream.c:
3029 * gmemoryoutputstream.c:
3030 * goutputstream.[ch]:
3033 * gunixinputstream.c:
3034 * gunixoutputstream.c:
3035 Rename all struct members named:
3036 read, write, close, truncate, or mount
3037 to foo_fn, as these are reserved names
3038 and could be defined as macros in libc.
3041 2007-12-04 Alexander Larsson <alexl@redhat.com>
3044 (g_output_stream_close):
3045 Only call flush if non-null.
3047 2007-11-30 Dan Winship <danw@gnome.org>
3049 * ginputstream.c (g_input_stream_set_pending): Make this take a
3050 GError and return a gboolean, and do the "outstanding operation"
3051 check (and the "stream is already closed" check) itself.
3052 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3054 * goutputstream.c (g_output_stream_set_pending)
3055 (g_output_stream_clear_pending): Likewise
3057 * gbufferedinputstream.c:
3058 * gfileinputstream.c:
3059 * gfileoutputstream.c: Update for that
3061 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3062 Like g_simple_async_report_error_in_idle, but takes a GError
3063 rather than building one.
3065 2007-11-30 Dan Winship <danw@gnome.org>
3067 * goutputstream.c: Don't cheat and unset the "pending" flag around
3068 inner calls. Instead, call the class method directly rather than
3069 the wrapper function that checks "pending"
3071 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3073 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3075 2007-12-03 Hans Breuer <hans@breuer.org>
3077 [start of port to win32/msvc]
3078 * gcancellable.c : HAVE_UNIST_H and _pipe()
3079 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3080 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3081 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3083 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3084 * glocalvfs.c : use HAVE_PWD_H
3085 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3086 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3087 * Makefile.am : added to EXTRA_DIST
3089 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3091 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3094 2007-12-03 Alexander Larsson <alexl@redhat.com>
3097 Handle OSX style xattrs API (#500506)
3099 2007-12-03 Alexander Larsson <alexl@redhat.com>
3103 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3105 2007-12-02 A. Walton <awalton@svn.gnome.org>
3109 Documentation accuracy fixes.
3111 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3113 * gioenumtypes.c.template: Fix typo.
3115 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3117 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3119 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3121 * gdirectorymonitor.c:
3122 * gfilemonitor.c: Add properties
3124 * gbufferedoutputstream.c: Don't mark buffer-size property
3127 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3129 * gbufferedoutputstream.c: Add auto-grow property.
3131 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3133 * *.c: Unify the capitalization of section headings.
3135 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3137 * gmountoperation.c: Add properties
3139 * gdatainputstream.c: Turn byte-order and newline-type into
3142 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3144 * gioenumtypes.[hc].template: Templates for enum registration
3146 * Makefile.am: Generate gioenumtypes.[hc]
3148 * gio.h: Include gioenumtypes.h
3150 * gfile.h: Add some explicit nicks.
3152 * gio.symbols: Add new symbols
3154 * pltcheck.sh: Adjust
3156 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3158 * *.c: Explain etags and link to the explanation
3160 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3162 * *.c: Explain I/O priority.
3164 * *.c: More coding style fixes.
3166 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3168 * gasyncresult.c: Add another paragraph to the intro,
3169 adjust coding style of example.
3171 2007-11-29 A. Walton <awalton@svn.gnome.org>
3174 Fixes unknown meaning in GAppLaunchContext docs.
3176 Clarify asynchronous ops.
3178 Fix entity tag docs.
3181 Provides missing gtk-doc section, fixes API docs slighly.
3182 * gsimpleasyncresult.c:
3183 Fill in missing info in docs.
3184 * gunixinputstream.c:
3185 * gunixoutputstream.c:
3186 Be more expressive in short description.
3188 Remove gtk-doc stubs for non-public API.
3190 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3192 * *.c: Coding style fixups
3194 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3196 * inotify/inotify-helper.c: Don't export the lock from libgio.
3198 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3201 * abicheck.sh: Fix copy-and-paste leftovers
3203 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3205 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3207 2007-11-28 Alexander Larsson <alexl@redhat.com>
3211 Removed unnecessary file
3213 * gdesktopappinfo.[ch]:
3216 * glocaldirectorymonitor.[ch]:
3218 * glocalfileenumerator.[ch]:
3219 * glocalfileinputstream.[ch]:
3220 * glocalfilemonitor.[ch]:
3221 * glocalfileoutputstream.[ch]:
3223 * gnativevolumemonitor.c:
3224 * gpollfilemonitor.[ch]:
3225 * gunionvolumemonitor.[ch]:
3228 * gunixvolumemonitor.[ch]:
3231 * inotify/ginotifydirectorymonitor.[ch]:
3232 * inotify/ginotifyfilemonitor.[ch]:
3233 * inotify/inotify-helper.c:
3234 Append _ to all internal functions
3238 Export symbols needed for modules
3240 2007-11-28 Alexander Larsson <alexl@redhat.com>
3243 * abicheck.sh: Added.
3244 * makegioalias.pl: Added.
3245 * pltcheck.sh: Added.
3246 * gio.symbols: Added.
3249 Initial work on adding symbol handling.
3252 Correct ifdef guard name
3255 * inotify/Makefile.am:
3256 * xdgmime/Makefile.am:
3257 Include toplevel Makefile.decl
3259 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3261 * gcontenttype.c: Move doc comments to the unix section.
3263 * *.[hc]: More trivial doc corrections.
3265 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3267 * gpollfilemonitor.c:
3271 * gdesktopappinfo.c:
3276 * gdatainputstream.c:
3277 * gdatainputstream.h:
3278 * gdataoutputstream.c:
3279 * gdataoutputstream.h:
3280 * gfileinfo.h: Doc cleanups
3282 2007-11-28 Andre Klapper <a9016009@gmx.de>
3284 * gdesktopappinfo.c: Fix a typo.
3286 2007-11-27 Andre Klapper <a9016009@gmx.de>
3288 * glocalfileoutputstream.c: Fix a typo.
3290 2007-11-27 Alexander Larsson <alexl@redhat.com>
3293 Don't include removed headers
3295 2007-11-27 Alexander Larsson <alexl@redhat.com>
3298 * gsocketinputstream.[ch]: Removed.
3299 * gsocketoutputstream.[ch]: Removed.
3300 * gunixinputstream.[ch]: Added.
3301 * gunixoutputstream.[ch]: Added.
3302 Renamed GSocket*Stream to GUnix*Stream and made
3303 it unix-only, since its not really only for sockets
3304 and it only works on unix (but is highly useful there).
3306 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3312 * gbufferedinputstream.c:
3313 * gbufferedinputstream.h:
3314 * gbufferedoutputstream.c:
3315 * gbufferedoutputstream.h:
3319 * gdatainputstream.c:
3320 * gdatainputstream.h:
3321 * gdataoutputstream.c:
3322 * gdataoutputstream.h:
3323 * gdirectorymonitor.c:
3324 * gdirectorymonitor.h:
3331 * gfileenumerator.c:
3332 * gfileenumerator.h:
3337 * gfileinputstream.c:
3338 * gfileinputstream.h:
3341 * gfilenamecompleter.c:
3342 * gfilenamecompleter.h:
3343 * gfileoutputstream.c:
3344 * gfileoutputstream.h:
3345 * gfilterinputstream.c:
3346 * gfilterinputstream.h:
3347 * gfilteroutputstream.c:
3348 * gfilteroutputstream.h:
3361 * glocalfileoutputstream.c:
3362 * gmemoryinputstream.c:
3363 * gmemoryinputstream.h:
3364 * gmemoryoutputstream.c:
3365 * gmemoryoutputstream.h:
3366 * gmountoperation.c:
3367 * gmountoperation.h:
3370 * gpollfilemonitor.c:
3373 * gsimpleasyncresult.c:
3374 * gsimpleasyncresult.h:
3375 * gsocketinputstream.c:
3376 * gsocketinputstream.h:
3377 * gsocketoutputstream.c:
3378 * gsocketoutputstream.h:
3385 * gunixvolumemonitor.c:
3394 Bumps documentation to 93% symbol coverage, touching most
3395 of the public files. Fixes broken function documentation prototypes.
3396 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3397 gtk-doc headers in private files.
3399 2007-11-27 Jürg Billeter <j@bitron.ch>
3401 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3402 (g_buffered_input_stream_read_byte):
3403 * gbufferedinputstream.h:
3404 New functions for efficient access to buffer and simple single byte
3407 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3408 (g_data_input_stream_read_until):
3409 * gdatainputstream.h:
3410 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3411 read_until with multiple stop chars.
3413 2007-11-27 Alexander Larsson <alexl@redhat.com>
3417 * inotify/Makefile.am:
3418 Use the user-specified giomoduledir
3420 2007-11-27 Alexander Larsson <alexl@redhat.com>
3424 Add catch-all gio.h header
3425 Don't install gdummyfile.h
3427 2007-11-26 Alexander Larsson <alexl@redhat.com>
3429 * Makefile.am (gioinclude_HEADERS):
3430 Remove trailing whitespace
3432 2007-11-26 Alexander Larsson <alexl@redhat.com>
3434 Merge gio-standalone into glib
3436 2007-11-25 Christian Kellner <gicmo@gnome.org>
3438 * gio/goutputstream.c:
3439 Fix small mistake in the docs.
3441 2007-11-21 Christian Persch <chpe@gnome.org>
3443 * gio/glocalfile.c: (g_local_file_trash):
3444 Convert filenames to UTF-8 for GError.
3445 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3446 as per xdg base dir spec.
3448 2007-11-21 Christian Persch <chpe@gnome.org>
3450 * gio/gdesktopappinfo.c:
3451 Use that g_key_file_to_data cannot fail.
3453 Use stock defines for the key file group and key names.
3456 2007-11-21 Alexander Larsson <alexl@redhat.com>
3459 (copy_stream_with_progress):
3460 Make sure we do a final progress callback with
3461 the full total size.
3463 2007-11-21 Alexander Larsson <alexl@redhat.com>
3466 Export g_file_copy_attributes
3467 Remove padding as its not needed for interfaces
3469 2007-11-20 Alexander Larsson <alexl@redhat.com>
3474 Add G_IO_ERROR_WOULD_MERGE for
3475 copy/move dir on dir with overwrite.
3477 2007-11-20 Alexander Larsson <alexl@redhat.com>
3480 * gio/glocalfileinfo.c:
3481 Add COPY_NAME (this is an optional
3482 non-modified utf8 version of the name) that
3485 2007-11-20 Alexander Larsson <alexl@redhat.com>
3487 * gio/glocalfileenumerator.c:
3488 Report errors as GIOError, not GFileError
3490 2007-11-16 Alexander Larsson <alexl@redhat.com>
3492 * gio/glocalfileoutputstream.c:
3493 * gio/gwin32appinfo.c:
3494 Fix typos in strings.
3495 Patch from Luca Ferretti <elle.uca@libero.it>
3497 2007-11-15 Alexander Larsson <alexl@redhat.com>
3500 Post release version bump
3502 === gio-standalone 0.1.2 ===
3504 2007-11-15 Alexander Larsson <alexl@redhat.com>
3506 * docs/reference/gio/Makefile.am:
3507 Fix up distcheck by removing weird
3513 2007-11-14 Alexander Larsson <alexl@redhat.com>
3515 * gio/gdesktopappinfo.c:
3516 * gio/glocaldirectorymonitor.c:
3518 * gio/glocalfileinfo.c:
3519 * gio/inotify/inotify-sub.c:
3520 * programs/gio-cat.c:
3521 * programs/gio-copy.c:
3522 * programs/gio-info.c:
3523 * programs/gio-ls.c:
3524 * programs/gio-monitor-dir.c:
3525 * programs/gio-monitor-file.c:
3526 * programs/gio-mount.c:
3527 * programs/gio-move.c:
3528 * programs/gio-rm.c:
3529 * programs/gio-save.c:
3530 * programs/gio-trash.c:
3531 Leak fixes from Kjartan Maraas
3533 2007-11-14 Alexander Larsson <alexl@redhat.com>
3535 * gio/fam/fam-helper.c:
3537 * gio/glocalfileinfo.c:
3541 * gio/inotify/inotify-diag.c:
3542 * gio/inotify/inotify-kernel.c:
3543 Various code cleanups from Kjartan Maraas
3545 2007-11-14 Alexander Larsson <alexl@redhat.com>
3547 * gio/gioscheduler.c:
3549 Set up threadpool so that we cache 2 unused
3550 idle threads for at 15 secs. This means we
3551 will reuse thread-local data (like dbus connections)
3554 2007-11-14 Alexander Larsson <alexl@redhat.com>
3556 * gio/fam/fam-helper.c:
3557 * gio/fam/gfamdirectorymonitor.c:
3558 * gio/fam/gfamfilemonitor.c:
3560 * gio/gcontenttype.c:
3561 * gio/gdatainputstream.c:
3562 * gio/gdataoutputstream.c:
3566 * gio/gfileattribute.h:
3567 * gio/gfileenumerator.c:
3569 * gio/ginputstream.c:
3572 * gio/glocalfileinfo.c:
3573 * gio/goutputstream.c:
3574 * gio/gpollfilemonitor.c:
3575 * gio/gsimpleasyncresult.c:
3576 * gio/gunixmounts.c:
3577 * gio/gunixmounts.h:
3578 * gio/inotify/ginotifydirectorymonitor.c:
3579 * gio/inotify/ginotifyfilemonitor.c:
3580 * gio/inotify/inotify-diag.c:
3581 * gio/inotify/inotify-kernel.c:
3582 * gio/inotify/inotify-path.c:
3584 * gio/test-streams.c:
3585 * programs/gio-info.c:
3586 * programs/gio-monitor-dir.c:
3587 * programs/gio-monitor-file.c:
3588 Various code cleanups from Kjartan Maraas
3590 2007-11-13 Alexander Larsson <alexl@redhat.com>
3593 Handle the uri-scheme calls for dummy files
3595 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3597 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3598 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3599 to avoid clash with the C++ keyword.
3601 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3603 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3604 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3606 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3608 * gio/glocaldirectorymonitor.c:
3609 * gio/glocalfilemonitor.c:
3610 * gio/gunionvolumemonitor.c:
3611 Don't use g_once_init_*() for initializations that could fail and
3612 could leave the initialization variable set to 0 but use GOnce.
3613 This prevents a deadlock on the second call when trying to create
3614 a monitor and no monitor type is available. Thanks to Sven Herzberg
3617 2007-11-11 Sven Herzberg <sven@imendio.com>
3619 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3620 #ifdef (make it work on MacOS X again)
3622 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3624 Fixes Changelog for last two commits (sorry guys).
3626 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3628 * gio/gbufferedinputstream.c:
3629 * gio/gdatainputstream.c:
3631 * gio/gfileoutputstream.c:
3632 * gio/gfilterinputstream.c:
3633 * gio/glocalfileinputstream.c:
3636 More consistency fixes in g*stream.c files.
3637 Significant clean of gfile's documentation, filling in of
3638 asynchronous operations documentation.
3640 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3642 * gio/gasyncresult.c:
3643 * gio/gbufferedinputstream.c:
3644 * gio/gbufferedoutputstream.c:
3645 * gio/gcancellable.c:
3646 * gio/gcontenttype.c:
3647 * gio/gdatainputstream.c:
3648 * gio/gdataoutputstream.c:
3649 * gio/gdesktopappinfo.c:
3652 * gio/gfileattribute.c:
3653 * gio/gio/gfileenumerator.c:
3655 * gio/gfileinputstream.c:
3656 * gio/gfilemonitor.c:
3657 * gio/gfileoutputstream.c:
3658 * gio/ginputstream.c:
3660 * gio/gioscheduler.c:
3661 * gio/gloadableicon.c:
3662 * gio/glocalfileoutputstream.c:
3663 * gio/gmemoryoutputstream.c:
3664 * gio/gmountoperation.c:
3665 * gio/goutputstream.c:
3667 * gio/gsimpleasyncresult.c:
3668 * gio/gunionvolumemonitor.c:
3669 * gio/gunixmounts.c:
3670 * gio/gunixvolume.c:
3674 * gio/gvolumemonitor.c:
3675 Updated documentation stubs, working towards consistency and
3678 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3680 * gio/gmemoryoutputstream.c:
3681 * gio/gmemoryoutputstream.h:
3682 Change g_memory_output_stream_set_free_on_close() to
3683 g_memory_output_stream_set_free_data() as this makes more sense and
3684 is more consistent with GMemoryInputStream.
3686 2007-11-07 Alexander Larsson <alexl@redhat.com>
3693 Change how we find the default vfs so that
3694 we can handle a gvfs failing to init
3696 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3698 * gio/gbufferedoutputstream.c:
3699 * gio/gdatainputstream.c:
3700 * gio/gdataoutputstream.c:
3701 * gio/gfileinputstream.c:
3702 * gio/gfileoutputstream.c:
3703 * gio/gfilterinputstream.c:
3704 * gio/gfilteroutputstream.c:
3705 * gio/ginputstream.c:
3706 * gio/gmemoryinputstream.c:
3707 * gio/gmemoryoutputstream.c:
3708 * gio/goutputstream.c:
3709 * gio/gsimpleasyncresult.c:
3710 * gio/gsocketinputstream.c:
3711 * gio/gsocketoutputstream.c:
3712 Add guards to the remaining public functions, add a TODO for
3713 an unimplemented function and remove some useless guards.
3715 2007-11-07 Alexander Larsson <alexl@redhat.com>
3718 Autoconf checks for the various types of
3719 getpwuid_r and getgrgid_r
3721 * gio/glocalfileinfo.c:
3722 Use the autoconf checks from above
3724 2007-11-07 Alexander Larsson <alexl@redhat.com>
3727 (g_local_file_query_filesystem_info):
3728 Some fixes for the statvfs case
3730 2007-11-07 Alexander Larsson <alexl@redhat.com>
3733 (g_local_file_query_filesystem_info):
3734 Pick the "best" of statfs / statvfs for the system
3735 if both are availible.
3737 2007-11-07 Alexander Larsson <alexl@redhat.com>
3739 Solaris fixes from Halton.Huo@Sun.COM:
3746 * gio/glocalfileinfo.c:
3747 Fix for solaris definition of getpwuid_r
3749 * gio/test-streams.c:
3750 Use G_GNUC_PRETTY_FUNCTION
3752 2007-11-07 Alexander Larsson <alexl@redhat.com>
3754 * gio/gdesktopappinfo.c:
3755 (update_default_list):
3756 Remove double semicolon.
3757 Patch from Jens Granseuer
3759 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3761 * docs/reference/gio/gio-sections.txt:
3762 * gio/gbufferedinputstream.c:
3763 * gio/gbufferedinputstream.h:
3764 * gio/gdatainputstream.c:
3765 * gio/gfileenumerator.c:
3766 * gio/gioscheduler.c:
3767 * gio/gunionvolumemonitor.c:
3769 * programs/gio-save.c:
3770 Fix typo: availible -> available. Unfortuntely this breaks API
3771 and ABI as g_buffered_input_stream_get_available() was renamed.
3773 * gio/gunixmounts.c:
3774 * gio/gbufferedinputstream.c:
3775 Add guards for public functions.
3777 2007-11-06 Ross Burton <ross@openedhand.com>
3779 * docs/reference/gio/Makefile.am:
3780 Fix invalid += usage which automake 1.10 doesn't like.
3782 2007-11-06 Alexander Larsson <alexl@redhat.com>
3785 (g_app_launch_context_class_init):
3788 Patch from Ross Burton
3790 2007-11-06 Alexander Larsson <alexl@redhat.com>
3793 Post release version bump
3795 === gio-standalone 0.1.1 ===
3797 2007-11-06 Alexander Larsson <alexl@redhat.com>
3800 Bump version to 0.1.1
3802 * gio/gsimpleasyncresult.c:
3803 (g_simple_async_result_set_from_error):
3804 Remove bogus g_return_if_fail
3806 2007-11-06 Alexander Larsson <alexl@redhat.com>
3809 The name is gio-standalone
3812 Add top src/builddir to includedir
3814 2007-11-06 Alexander Larsson <alexl@redhat.com>
3816 * docs/reference/gio/gio-sections.txt:
3818 * gio/gbufferedinputstream.c:
3819 * gio/gbufferedoutputstream.c:
3820 * gio/gcancellable.c:
3821 * gio/gdatainputstream.h:
3822 * gio/gdataoutputstream.c:
3823 * gio/gdataoutputstream.h:
3824 * gio/gdirectorymonitor.c:
3826 * gio/gfileattribute.c:
3827 * gio/gfileattribute.h:
3828 * gio/gfileenumerator.c:
3829 * gio/gfileenumerator.h:
3832 * gio/gfileinputstream.h:
3833 * gio/gfilemonitor.c:
3834 * gio/gfileoutputstream.h:
3835 * gio/glocalfilemonitor.h:
3836 * gio/glocalfileoutputstream.h:
3837 * gio/gmemoryinputstream.c:
3838 * gio/gmemoryoutputstream.c:
3839 * gio/gmountoperation.c:
3840 * gio/goutputstream.c:
3841 * gio/goutputstream.h:
3843 * gio/gsimpleasyncresult.c:
3844 * gio/gunixmounts.c:
3845 * gio/gunixmounts.h:
3847 * gio/inotify/inotify-helper.c:
3848 Fix gtk-doc warnings
3850 Patch from Ross Burton
3852 2007-11-06 Alexander Larsson <alexl@redhat.com>
3854 * gio/gfilenamecompleter.c:
3855 (g_filename_completer_get_completions):
3858 * gio/gunixvolume.c:
3859 Remove unused function
3861 Patches from Ross Burton
3863 2007-11-06 Alexander Larsson <alexl@redhat.com>
3868 Padding not needed for interfaces
3870 2007-11-06 Alexander Larsson <alexl@redhat.com>
3872 * gio/gfilemonitor.c:
3876 Make giotypes.h an internal file
3879 * gio/gbufferedinputstream.h:
3880 * gio/gbufferedoutputstream.h:
3881 * gio/gcancellable.h:
3882 * gio/gdatainputstream.h:
3883 * gio/gdataoutputstream.h:
3884 * gio/gdirectorymonitor.c:
3885 * gio/gdirectorymonitor.h:
3890 * gio/gfileattribute.h:
3891 * gio/gfileenumerator.h:
3896 * gio/gfilemonitor.c:
3897 * gio/gfilemonitor.h:
3898 * gio/gfilenamecompleter.c:
3899 * gio/gfilenamecompleter.h:
3900 * gio/gfilterinputstream.h:
3901 * gio/gfilteroutputstream.h:
3902 * gio/ginputstream.h:
3903 * gio/gmemoryinputstream.h:
3904 * gio/gmemoryoutputstream.h:
3905 * gio/gmountoperation.c:
3906 * gio/gmountoperation.h:
3907 * gio/gnativevolumemonitor.c:
3908 * gio/goutputstream.h:
3911 * gio/gsimpleasyncresult.c:
3912 * gio/gsimpleasyncresult.h:
3913 * gio/gsocketinputstream.h:
3914 * gio/gsocketoutputstream.h:
3915 * gio/gthemedicon.c:
3916 * gio/gthemedicon.h:
3920 * gio/gvolumemonitor.c:
3921 * gio/gvolumemonitor.h:
3922 Add padding in classes where it seems useful
3923 Don't include giotypes.h from public headers
3924 Move in Class definitions into c file where possible
3929 2007-11-06 Alexander Larsson <alexl@redhat.com>
3931 * docs/reference/gio/gio-docs.xml:
3932 Better structure for API docs
3934 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3937 * gio/gloadableicon.c:
3938 * gio/gsimpleasyncresult.c:
3939 * gio/gthemedicon.c:
3940 Add some more guards to public functions. Only files missing are now
3943 2007-11-06 Alexander Larsson <alexl@redhat.com>
3945 * docs/reference/gio/gio-docs.xml:
3946 Remove old files, add missing ones
3948 2007-11-06 Alexander Larsson <alexl@redhat.com>
3950 * docs/reference/gio/gio-sections.txt:
3953 Hide implementation classes
3955 * gio/gdriveprivate.h:
3956 * gio/gvolumeprivate.h:
3957 Remove non-existing function declarations
3959 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3962 Fix compilation warnings and add guards to the new functions.
3964 * gio/gasyncresult.c:
3966 Add guards to the public functions.
3969 Implement get_path().
3971 2007-11-06 Alexander Larsson <alexl@redhat.com>
3973 * gio/gfilenamecompleter.c:
3974 Make g_filename_completer_get_completions
3975 return char ** instead of GList for
3978 * docs/reference/gio/gio-docs.xml:
3979 * docs/reference/gio/gio-sections.txt:
3981 * gio/gasyncresult.c:
3982 * gio/gbufferedinputstream.c:
3983 * gio/gbufferedoutputstream.c:
3984 * gio/gcancellable.c:
3985 * gio/gcontenttype.c:
3986 * gio/gdatainputstream.c:
3987 * gio/gdataoutputstream.c:
3988 * gio/gdesktopappinfo.c:
3989 * gio/gdirectorymonitor.c:
3993 * gio/gfileattribute.c:
3994 * gio/gfileenumerator.c:
3997 * gio/gfileinputstream.c:
3998 * gio/gfilemonitor.c:
3999 * gio/gfilenamecompleter.c:
4000 * gio/gfilenamecompleter.h:
4001 * gio/gfileoutputstream.c:
4002 * gio/gfilterinputstream.c:
4004 * gio/ginputstream.c:
4006 * gio/gioscheduler.c:
4007 * gio/gloadableicon.c:
4008 * gio/glocaldirectorymonitor.c:
4010 * gio/glocalfileinputstream.c:
4011 * gio/glocalfilemonitor.c:
4012 * gio/glocalfileoutputstream.c:
4014 * gio/gmemoryinputstream.c:
4015 * gio/gmemoryoutputstream.c:
4016 * gio/gmountoperation.c:
4017 * gio/goutputstream.c:
4018 * gio/gpollfilemonitor.c:
4020 * gio/gsimpleasyncresult.c:
4021 * gio/gsocketinputstream.c:
4022 * gio/gsocketoutputstream.c:
4023 * gio/gthemedicon.c:
4024 * gio/gunionvolumemonitor.c:
4026 * gio/gunixmounts.c:
4027 * gio/gunixvolume.c:
4028 * gio/gunixvolumemonitor.c:
4032 * gio/gvolumemonitor.c:
4033 * gio/gwin32appinfo.c:
4034 Add (mostly stub) doc strings to public functions.
4035 Patch from Andrew Walton (awalton@gmail.com)
4037 2007-11-06 Alexander Larsson <alexl@redhat.com>
4039 * gio/gappinfo.[ch]:
4040 Added GAppLaunchContext object and pass that to launch.
4041 This allows simple implementation of both
4042 launch-on-screen and startup notification via a gtk+
4043 subclass of GAppLaunchContext
4045 * gio/gdesktopappinfo.c:
4046 Implement GAppLaunchContext API
4048 * gio/gwin32appinfo.c:
4051 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4053 * gio/gmountoperation.c:
4054 Add some guards to GMountOperation's public functions.
4056 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4060 * gio/gcancellable.c:
4061 * gio/gdirectorymonitor.c:
4063 * gio/gfileenumerator.c:
4064 * gio/gfilemonitor.c:,
4065 * gio/gfilenamecompleter.c:
4068 * gio/gioscheduler.c:
4072 * gio/gvolumemonitor.c:
4073 Add even more guards to various public functions.
4075 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4078 Add guards to the public functions of GAppInfo.
4080 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4082 * gio/gcontenttype.c:
4083 Add some more guards for public functions.
4085 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4087 * gio/fam/fam-module.c:
4088 * gio/fam/gfamdirectorymonitor.c:
4089 * gio/fam/gfamdirectorymonitor.h:
4090 * gio/fam/gfamfilemonitor.c:
4091 * gio/fam/gfamfilemonitor.h:
4092 * gio/inotify/ginotifydirectorymonitor.c:
4093 * gio/inotify/ginotifydirectorymonitor.h:
4094 * gio/inotify/ginotifyfilemonitor.c:
4095 * gio/inotify/ginotifyfilemonitor.h:
4096 Add proper copyright information and remove an unused variable
4097 in the GInotifyFileMonitor constructor.
4099 * gio/gcancellable.c:
4100 Add a guard for a public function and an assertion to prevent
4101 an undefined program state.
4103 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4105 * gio/gfileattribute.c:
4106 Don't run into an assertion if the given attribute value is NULL
4107 in g_file_attribute_value_get_*() but instead return a fallback
4108 value that makes sense in most situations. Passing them a attribute
4109 value with the wrong type will still run into an assertion.
4111 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4113 * gio/gfileattribute.c:
4115 Add even more guards to the public functions. Also fix the refcounting
4116 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4117 let g_file_info_list_attributes() filter the attributes by namespace
4118 instead of simply ignoring the namespace parameter.
4120 2007-11-03 Sven Herzberg <sven@imendio.com>
4122 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4123 (This makes gio work on MacOS X again)
4125 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4128 Build the gio subdirectory before the docs. Otherwise the build will
4131 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4132 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4133 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4134 Add guards to the public functions.
4136 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4138 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4139 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4140 to prevent a compiler warning.
4142 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4143 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4144 return something in the non-void function find_topdir_for().
4146 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4153 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4155 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4156 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4157 * gwin32appinfo.c (g_win32_app_info_launch):
4158 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4159 envp_for_startup_id, g_desktop_app_info_launch,
4160 g_desktop_app_info_launch_uris):
4162 Give an opaque 'startup_id' string instead of 'envp'.
4163 Support empty file lists for launching new windows.
4164 Fix infinite recursion bug when launching URIs.
4166 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4169 Add guard to the new g_file_get_uri_scheme() function.
4171 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4174 Convert a g_return_val_if_fail() to setting the GError instead as
4175 otherwise applications have to verify the parameter before otherwise
4176 and the parameter might come directly from the user.
4178 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4180 * gio/inotify/ginotify*.[ch]:
4181 Add missing copyright information.
4183 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4186 Add guards in the beginning of public functions to check for valid
4187 parameters and fix a bug in copy_stream_with_progress() that could've
4188 caused writing less bytes than reading.
4189 * gio/glocalfileinfo.c:
4190 Check for a NULL parameter and set the GError accordingly then.
4191 * gio/goutputstream.c:
4192 Fix the same bug as in gfile.c that could've caused writing less bytes
4193 than reading in g_output_stream_real_splice().
4195 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4198 Use the correct gvolumeprivate.h naming
4200 2007-11-01 Christian Kellner <gicmo@gnome.org>
4203 Remove leftover "$(daemon_sources)" entry.
4205 2007-11-01 Christian Kellner <gicmo@gnome.org>
4210 Add copyright information to source files.
4212 2007-11-01 Alexander Larsson <alexl@redhat.com>
4216 Add g_file_get_uri_scheme
4218 2007-11-01 Alexander Larsson <alexl@redhat.com>
4221 * gio/gdesktopappinfo.c:
4222 * gio/gwin32appinfo.c:
4223 Add g_app_info_get_default_for_uri_scheme.
4225 2007-11-01 Alexander Larsson <alexl@redhat.com>
4228 Correct filename for gdriveprivate.h
4230 2007-10-31 Alexander Larsson <alexl@redhat.com>
4233 Rename id:value to id:file
4236 * gio/glocalfileinfo.c:
4239 2007-10-31 Alexander Larsson <alexl@redhat.com>
4241 * gio/gunixvolume.c:
4243 Remove g_volume_get_platform_id, as thats not
4244 needed with the simpler union volume monitor
4246 2007-10-31 Alexander Larsson <alexl@redhat.com>
4249 * gio/guniondrive.[ch]: Removed.
4250 * gio/gunionvolume.[ch]: Removed.
4251 Remove GUnionDrive/Volume
4253 * gio/gunionvolumemonitor.c:
4254 Simplify union volume monitor, now we
4255 only have one native volume monitor and
4256 we use the actual volumes/drives from the
4257 child monitors instead of wrapping them
4259 * gio/gnativevolumemonitor.[ch]:
4260 Base class for native volume monitors.
4261 Includes priority and get_volume_for_mountpoint
4264 Add g_file_find_enclosing_volume
4267 Remove volume name fs attribute
4268 Add readonly fs attribute
4271 Implement readonly attribute
4272 remove volume name attribute
4273 Implement find_enclosing volume
4275 * gio/gunixmounts.c:
4276 Add a volume for "/".
4278 * gio/gunixvolume.[ch]:
4279 Set better name for /
4281 * gio/gunixvolumemonitor.[ch]:
4282 Derive from GNativeVolumeMonitor
4283 Implement get_volume_for_mountpoint
4286 GVolume typedef moved to gfile.h
4288 * gio/gvolumeprivate.h:
4289 Add g_volume_get_for_mount_path
4291 2007-10-31 Alexander Larsson <alexl@redhat.com>
4293 * gio/gunixmounts.[ch]:
4294 Add cache info to unix mount listers
4295 Make getmntent use threadsafe
4296 Add is_system_internal attribute for GUnixMount
4298 * gio/gunixvolume.c:
4299 (g_unix_volume_new):
4300 Use is_system_internal instead of own code
4302 * gio/glocaldirectorymonitor.c:
4303 * gio/gunixvolumemonitor.c:
4304 Update to new gunixmounts API
4309 2007-10-30 Alexander Larsson <alexl@redhat.com>
4312 Add volume name fsinfo attribute
4315 Read volume name info
4317 * gio/gunionvolumemonitor.c:
4318 Fix infinite loops when finalizing a union volume monitor
4320 2007-10-30 Alexander Larsson <alexl@redhat.com>
4322 * gio/goutputstream.[ch]:
4323 Add splice() with default implementation
4325 * gio/gsocketoutputstream.c:
4326 (g_socket_output_stream_write):
4327 Return error on cancellation correctly.
4329 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4331 * gio/glocalfile.c (g_local_file_trash):
4332 Do not leak a string.
4334 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4336 * gio/gfile.c (g_file_load_contents):
4337 Unref the stream after closing it.
4339 2007-10-25 Alexander Larsson <alexl@redhat.com>
4341 * gio/gioscheduler.h:
4344 2007-10-25 Alexander Larsson <alexl@redhat.com>
4348 Add g_file_has_uri_scheme and implement for local files
4350 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4352 * gio/gdesktopappinfo.c: do not leak a string.
4354 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4356 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4357 (g_local_directory_monitor_new):
4358 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4359 (g_local_file_monitor_new):
4360 Only look for the monitor type that should be used the first time
4361 and use g_qsort_with_data() instead of our own bubble sort
4364 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4367 * gio/fam/Makefile.am:
4368 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4369 * gio/fam/fam-helper.h:
4370 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4371 * gio/fam/gfamdirectorymonitor.c:
4372 * gio/fam/gfamdirectorymonitor.h:
4373 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4374 * gio/fam/gfamfilemonitor.h:
4375 * gio/glocaldirectorymonitor.c:
4376 * gio/glocaldirectorymonitor.h:
4377 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4378 * gio/glocalfilemonitor.h:
4379 * gio/inotify/Makefile.am:
4380 * gio/inotify/ginotifydirectorymonitor.c:
4381 * gio/inotify/ginotifydirectorymonitor.h:
4382 * gio/inotify/ginotifyfilemonitor.c:
4383 * gio/inotify/ginotifyfilemonitor.h:
4384 Implement the FAM and Inotify monitors as
4385 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4386 their own GIO module. GLocal(Directory|File)Monitor will use the
4387 monitor with the highest rank that is supported on that machine.
4389 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4392 Change GIO module dir to $(libdir)/gio/modules and change
4393 the log domain from GVFS to GIO. Also only export symbols starting
4394 with g_ in the resulting library.
4395 * gio/test-streams.c: (main):
4396 Set log handler for the GIO log domain.
4398 2007-10-22 Alexander Larsson <alexl@redhat.com>
4400 * gio/gfilenamecompleter.[ch]:
4401 Add g_filename_completer_set_dirs_only
4403 2007-10-22 Alexander Larsson <alexl@redhat.com>
4406 * gio/gurifuncs.[ch]:
4407 Add some simple URI helpers
4409 * gio/gfilenamecompleter.[ch]:
4410 Added object for filename (parse name actually) completion
4413 Handle ~ in parse names
4415 2007-10-17 Alexander Larsson <alexl@redhat.com>
4418 * gio/glocalfileinfo.c:
4419 Add and implement id:value attribute
4421 2007-10-17 Alexander Larsson <alexl@redhat.com>
4424 * gio/guniondrive.c:
4426 Add and implement g_drive_has_volumes
4428 2007-10-17 Alexander Larsson <alexl@redhat.com>
4431 * gio/glocalfileinfo.[ch]:
4432 Add unix:is_mountpoint and implement for local files
4434 2007-10-16 Alexander Larsson <alexl@redhat.com>
4436 * gio/gunionvolumemonitor.c:
4437 (g_union_volume_monitor_init):
4438 Fix up the unix type getting so that it works with gcc
4440 2007-10-12 Alexander Larsson <alexl@redhat.com>
4443 * gio/glocalfileinfo.c:
4444 Add thumbnail:failed to file info
4446 2007-10-12 Richard Hult <richard@imendio.com>
4448 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4449 optimizing away the get_type call (happens with some gcc versions,
4450 like the one shipped with OS X 10.4).
4452 2007-10-12 Alexander Larsson <alexl@redhat.com>
4454 * gio/glocalfileinfo.c:
4455 (_g_local_file_info_set_attribute):
4456 Fix build if not HAVE_XATTR
4457 Patch from Milosz Derezynski <internalerror@gmail.com>
4459 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4461 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4462 around for review, otherwise I would have asked you before
4465 2007-10-11 Alexander Larsson <alexl@redhat.com>
4468 Add thumbnail:path attribute
4470 * gio/glocalfileinfo.c:
4471 Implement thumbnail:path for local files
4473 2007-10-11 Alexander Larsson <alexl@redhat.com>
4475 * gio/glocalfileinfo.c:
4476 (_g_local_file_info_get):
4477 Avoid duplicate icon names
4479 2007-10-11 Alexander Larsson <alexl@redhat.com>
4481 * gio/gthemedicon.[ch]:
4482 Change g_themed_icon_get_names return type to const
4484 2007-10-10 Alexander Larsson <alexl@redhat.com>
4486 * gio/glocalfileinfo.c:
4487 Don't reference freed memory
4489 2007-10-10 Alexander Larsson <alexl@redhat.com>
4491 * gio/gfileattribute.c:
4494 * gio/glocalfileinfo.c:
4497 2007-10-10 Alexander Larsson <alexl@redhat.com>
4500 Check for NULL icons
4502 * gio/gfileattribute.c:
4503 Don't dup when getting objects (same as for string attributes)
4505 * gio/gicon.c (g_icon_equal):
4506 Safely handle NULLs in equal
4508 2007-10-10 Alexander Larsson <alexl@redhat.com>
4511 Fix c++ compilation issues
4512 Patch from Milosz Derezynski <internalerror@gmail.com>
4514 2007-10-10 Alexander Larsson <alexl@redhat.com>
4516 * programs/gio-monitor-dir.c:
4517 Don't crash if dir monitor not supported.
4519 2007-10-09 Alexander Larsson <alexl@redhat.com>
4522 Add missing G_END_DECLS
4524 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4526 * gio/gfile.c: (g_file_set_display_name),
4527 (g_file_query_settable_attributes),
4528 (g_file_query_writable_namespaces):
4529 Return NULL not FALSE on errors as the return type is a pointer.
4531 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4533 * gio/glocalfile.c: (g_local_file_monitor_file):
4534 Don't call monitor_file on the default interface vtable (which
4535 is NULL) but simply return NULL. The caller, GFile, will create a
4536 polling monitor if NULL is returned.
4538 2007-10-09 Alexander Larsson <alexl@redhat.com>
4542 * gio-unix-2.0.pc.in:
4543 Add gio-unix-2.0.pc if OS_UNIX
4546 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4548 2007-10-09 Alexander Larsson <alexl@redhat.com>
4550 * gio/gunixmounts.[ch]:
4551 Make unix mount monitoring API sane.
4552 Now its just a object with mounts_changed
4553 and mountpoints_changed signals.
4555 * gio/glocaldirectorymonitor.c:
4556 * gio/gunixvolumemonitor.c:
4557 Use new mount monitor api
4559 2007-10-09 Alexander Larsson <alexl@redhat.com>
4561 * gio/gunixmounts.[ch]:
4562 Move guess type into one call for mounts and one for mountpoints
4565 * gio/gunixvolume.c:
4568 2007-10-09 Alexander Larsson <alexl@redhat.com>
4570 * gio/gunixmounts.[ch]:
4571 Remove _ prefix in preparation to make this semi-public
4572 Hide implementation of structs
4574 * gio/glocaldirectorymonitor.c:
4576 * gio/gunixvolume.c:
4577 * gio/gunixvolumemonitor.c:
4578 Update for above API changes
4580 2007-10-08 Alexander Larsson <alexl@redhat.com>
4583 Better polling fallback. This also handles the case where we have
4584 a monitor_file implementation, but it fails.
4586 2007-10-08 Alexander Larsson <alexl@redhat.com>
4590 * gio/gunixmounts.c:
4591 * programs/gio-monitor-dir.c:
4592 * programs/gio-monitor-file.c:
4593 Added cancellable to file monitoring calls.
4594 These are really sync calls and need this.
4596 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4598 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4599 (g_local_vfs_class_init):
4600 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4601 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4603 2007-10-05 Alexander Larsson <alexl@redhat.com>
4605 * gio/gdirectorymonitorprivate.h:
4606 * gio/gfilemonitorprivate.h:
4607 * gio/gdirectorymonitor.h:
4608 * gio/gfilemonitor.h:
4609 Remove *private.h and move to the public API, so that
4610 we can do implementations outside gio (such as in gvfs)
4612 * gio/gdirectorymonitor.c:
4613 * gio/gfilemonitor.c:
4614 * gio/glocaldirectorymonitor.c:
4615 * gio/gpollfilemonitor.c:
4616 * gio/inotify/inotify-helper.c:
4617 * gio/fam/fam-helper.c:
4618 Update to the new header names
4620 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4622 * gio/gdirectorymonitor.c:
4623 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4626 2007-10-04 Alexander Larsson <alexl@redhat.com>
4628 * gio/glocalfileinfo.c (get_access_rights):
4629 Set CAN_TRASH when we can move the file.
4630 We should really also check for a parent trash dir.
4632 2007-10-04 Alexander Larsson <alexl@redhat.com>
4634 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4635 Add can_trash access attribute
4637 2007-10-04 Alexander Larsson <alexl@redhat.com>
4640 (g_local_file_trash):
4641 Create info file first. This is per-spec and allows
4642 us to actually trash directories.
4644 2007-10-02 Alexander Larsson <alexl@redhat.com>
4646 * gio/gdesktopappinfo.c:
4647 Implement the new mime support code.
4648 Always set app as handling mimetype when being set as default for it
4650 2007-10-01 Alexander Larsson <alexl@redhat.com>
4652 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4653 Fix up check for xattrs:
4655 2007-10-01 Alexander Larsson <alexl@redhat.com>
4658 (g_app_info_set_as_default_for_extension):
4659 (g_app_info_add_supports_type):
4660 (g_app_info_can_remove_supports_type):
4661 (g_app_info_remove_supports_type):
4662 Make these fail nicely if not implemented
4664 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4666 * gio/glocalfileoutputstream.c:
4667 * gio/glocalfileoutputstream.h:
4672 * programs/gio-save.c:
4673 Add a GFileCreateFlags argument to operations that can create
4676 2007-10-01 Alexander Larsson <alexl@redhat.com>
4678 * gio/gappinfo.[ch]:
4679 * gio/gdesktopappinfo.c:
4680 Add more (stubbed out) mime API needed for nautilus
4682 2007-10-01 Alexander Larsson <alexl@redhat.com>
4685 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4686 Add g_app_info_set_as_default_for_extension.
4688 * gio/gdesktopappinfo.c:
4689 Dummy for g_app_info_set_as_default_for_extension
4690 Support flags in g_app_info_create_from_commandline
4692 * gio/gwin32appinfo.c:
4694 Update for API changes
4696 * gio/gthemedicon.c:
4697 Properly NULL-terminate list of icon names
4699 2007-09-28 Alexander Larsson <alexl@redhat.com>
4701 * gio/gloadableicon.h:
4702 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4704 2007-09-28 Alexander Larsson <alexl@redhat.com>
4707 Install headers in $includedir/gio-standalone/
4709 * gio-2.0.pc.in: Added.
4710 * gio-standalone.pc.in: Removed.
4713 Renamed pkg-config file to match glib (for future move)
4714 Update to the new include dir
4717 Add more TODO comments
4719 2007-09-28 Alexander Larsson <alexl@redhat.com>
4721 * gio/gdesktopappinfo.[ch]:
4722 Expose new_from_filename
4723 Add getter for is_hidden and handle it better
4725 2007-09-28 Alexander Larsson <alexl@redhat.com>
4727 * gio/gfileinfo.[ch]:
4728 Rename g_file_size_format_for_display to
4729 g_format_file_size_for_display.
4730 Now it doesn't have the g_file prefix, so we
4731 can later move it to glib.
4733 2007-09-28 Alexander Larsson <alexl@redhat.com>
4735 * gio/gappinfo.[ch]:
4736 Add g_app_info_get_id and g_app_info_get_executable.
4737 Make all getters non-reffing
4738 Make g_app_info_launch take GFile arguments.
4739 Add must_support_uris argument to g_app_info_get_default_for_type.
4741 * gio/gwin32appinfo.c:
4742 Update to GAppInfo api changes
4744 * gio/gdesktopappinfo.c:
4745 Update to GAppInfo api changes
4746 Implement supports_xdg_startup_notify
4748 * gio/gfileicon.c (g_file_icon_get_file):
4749 Make getter non-reffing.
4754 2007-09-27 Alexander Larsson <alexl@redhat.com>
4756 * gio/gfileinfo.[ch]:
4757 Add g_file_size_format_for_display helper
4759 2007-09-27 Alexander Larsson <alexl@redhat.com>
4761 * gio/glocalfileinfo.c:
4762 Set UNIX_GID from gid, not from uid
4764 2007-09-27 Alexander Larsson <alexl@redhat.com>
4767 Add g_file_set_attributes_async
4769 2007-09-27 Alexander Larsson <alexl@redhat.com>
4771 * gio/glocalfile.c (g_local_file_set_display_name):
4772 Fix set_display_name to actually rename to the right place.
4773 Use lstat to look for existing files so we don't overwrite
4776 2007-09-26 Alexander Larsson <alexl@redhat.com>
4779 Add g_file_set_display_name_async()
4781 2007-09-26 Alexander Larsson <alexl@redhat.com>
4784 Add load_partial_contents async calls
4787 Make internal function static
4789 2007-09-26 Alexander Larsson <alexl@redhat.com>
4791 * gio/glocalfileinfo.c:
4792 Correctly detect broken symlinks
4794 2007-09-26 Alexander Larsson <alexl@redhat.com>
4796 * gio/gcancellable.c (g_cancellable_cancel):
4797 Allow cancel on NULL cancellable
4799 2007-09-25 Alexander Larsson <alexl@redhat.com>
4801 * gio/gsimpleasyncresult.c:
4802 Don't allocate g_error manually.
4803 Fixes g_slice/g_new mixup crash
4805 2007-09-25 Alexander Larsson <alexl@redhat.com>
4807 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4808 Actually set active_backend.
4809 This means the monitor will be cancelled correctly.
4811 2007-09-25 Alexander Larsson <alexl@redhat.com>
4813 * gio/gdirectorymonitor.c:
4814 Set timeout to NULL when destroying
4816 2007-09-25 Alexander Larsson <alexl@redhat.com>
4819 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4820 that is a better description of the error.
4822 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4824 * gio/gvfs.c: (g_vfs_get_local):
4825 Make the local vfs variable static. The same instance should
4828 2007-09-24 Alexander Larsson <alexl@redhat.com>
4830 * gio/glocalfileinfo.c:
4831 Pass in actual length read into sniffer, not the length
4834 2007-09-21 Alexander Larsson <alexl@redhat.com>
4836 * gio/gfileenumerator.c:
4839 * gio/gfileinputstream.c:
4840 * gio/gfileoutputstream.c:
4841 * gio/ginputstream.c:
4842 * gio/goutputstream.c:
4843 Don't crash if async callbacks are NULL
4845 2007-09-20 Alexander Larsson <alexl@redhat.com>
4848 Add async enumerate_children method and default
4851 2007-09-20 Alexander Larsson <alexl@redhat.com>
4854 Add g_file_contains_file & g_file_get_relative_path, since they
4855 were needed for nautilus.
4856 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4861 Implement new methods
4863 2007-09-17 Alexander Larsson <alexl@redhat.com>
4866 * gio/gfileinputstream.[ch]:
4867 * gio/gfileoutputstream.[ch]:
4869 * gio/glocalfileenumerator.[ch]:
4870 * gio/glocalfileinfo.[ch]:
4871 * gio/glocalfileinputstream.c:
4872 * gio/glocalfileoutputstream.c:
4873 * gio/gpollfilemonitor.c:
4874 * programs/gio-copy.c:
4875 * programs/gio-info.c:
4876 * programs/gio-move.c:
4877 Rename get_file_info to query_info() to make it clearer
4878 that these are not simple getters, but do i/o.
4880 2007-09-17 Alexander Larsson <alexl@redhat.com>
4882 * gio/gdatainputstream.[ch]:
4883 * gio/test-streams.c:
4884 Use _read_XXX instead of _get_XXX for the i/o calls
4887 2007-09-17 Alexander Larsson <alexl@redhat.com>
4890 Added needed stuff to TODO comment
4892 2007-09-17 Alexander Larsson <alexl@redhat.com>
4894 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4895 Don't error out removing the backup copy if it doesn't
4898 2007-09-14 Alexander Larsson <alexl@redhat.com>
4900 * programs/Makefile.am:
4901 * programs/gvfs-*.c:
4903 Renamed apps from gvfs-xxx to gio-xxx.
4905 2007-09-14 Alexander Larsson <alexl@redhat.com>
4908 * gio/gfileoutputstream.[ch]:
4909 * gio/glocalfileoutputstream.c:
4910 * programs/gvfs-save.c:
4911 g_file_output_stream_get_etag doesn't do i/o, so remove
4912 cancellation and error.
4914 2007-09-14 Alexander Larsson <alexl@redhat.com>
4917 Add new_etag output to replace_contents functions
4919 2007-09-14 Alexander Larsson <alexl@redhat.com>
4921 * gio/gfileoutputstream.[ch]:
4922 Add async get_file_info and default implementation
4924 2007-09-14 Alexander Larsson <alexl@redhat.com>
4926 * gio/gfileinputstream.c:
4927 Implement fallback wrapper for async get_file_info
4929 2007-09-14 Alexander Larsson <alexl@redhat.com>
4932 Add etag out argument to load_contents
4937 2007-09-14 Alexander Larsson <alexl@redhat.com>
4939 * gio/gcontenttype.c (looks_like_text):
4940 Whitespace like tab, cr and lf do not make the
4943 2007-09-14 Alexander Larsson <alexl@redhat.com>
4945 * gio/gfileinputstream.[ch]:
4946 Add async get_file_info.
4948 2007-09-13 Alexander Larsson <alexl@redhat.com>
4950 * gio/goutputstream.c (g_output_stream_write_all):
4951 Allow NULL for bytes_written
4953 2007-09-13 Alexander Larsson <alexl@redhat.com>
4955 * gio/gmemoryinputstream.[ch]:
4956 Add accessors for data
4958 2007-09-13 Alexander Larsson <alexl@redhat.com>
4960 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4961 Don't crash if length is NULL