1 2008-08-18 Matthias Clasen <mclasen@redhat.com>
3 * === Released 2.17.7 ===
5 2008-08-15 Padraig O'Briain <padraig.obriain@sun.com>
7 * gunixmounts.c: Add zfs to ignore_fs array in guess_system_internal:
10 2008-08-13 Tor Lillqvist <tml@novell.com>
14 * win32/gwinhttpfile.c
15 * win32/gwinhttpfileinputstream.c
16 * win32/gwinhttpfileoutputstream.c: Refactor some common code
17 snippets into helper functions. Check HTTP response status
18 codes. Implement g_winhttp_file_query_info(), looking at
19 Content-Length, Content-Type and Last-Modified.
21 * win32/winhttp.h: Add some symbolic constants that are not
22 publicly documented. Just a handful, so it should be OK to use
23 information from the Windows SDK's headers.
25 2008-08-13 Tor Lillqvist <tml@novell.com>
27 Bug 546582 - Callbacks from GFileMonitor present a GFile in the
30 * win32/gwin32directorymonitor.c
31 (g_win32_directory_monitor_callback): Patch by Erik van Pienbroek.
33 2008-08-13 Matthias Clasen <mclasen@redhat.com>
36 * goutputstream.c: Add intro docs.
38 2008-08-13 Tor Lillqvist <tml@novell.com>
40 * win32/gwinhttpfileoutputstream.c
41 (g_winhttp_file_output_stream_write): Don't write the
42 Content-Length header ourselves, WinHttpSendRequest() takes care
43 of that when the dwTotalLength parameter is non-zero. Increment
44 offset by the number of actual bytes sent, although I wonder if
45 such a scenario is possible where less than requested would be
46 sent and accepted by the server without errors.
48 2008-08-13 Tor Lillqvist <tml@novell.com>
52 * win32/gwinhttpfile.c
53 * win32/gwinhttpfile.h
54 * win32/gwinhttpfileinputstream.c
55 * win32/gwinhttpfileinputstream.h
56 * win32/gwinhttpfileoutputstream.c
57 * win32/gwinhttpfileoutputstream.h: New files implementing
58 GWinHttpVfs and related classes, a GVfs for HTTP and HTTPS URIs on
59 Windows. The implementation uses the WinHttp API. Both reading and
60 writing are supported, i.e. GET and PUT requests. When writing,
61 each write call is done using a separate PUT request with a
62 Content-Range header. Requests for file URIs and plain pathnames
63 are forwarded to GLocalVfs.
65 * win32/winhttp.h: Reverse engineered <winhttp.h>, borrowed from
66 WINE. Used as there is no <winhttp.h> bundled with mingw, and
67 requiring people to download the Windows SDK just for this one
68 header is not reasonable.
70 * win32/Makefile.am: Add above files.
72 * giomodule.c: Call _g_winhttp_vfs_get_type() on Windows to set up
73 the plumbing for the above.
75 2008-08-11 Sven Neumann <sven@gimp.org>
77 * gfilenamecompleter.c
78 * glocaldirectorymonitor.c
80 * gunionvolumemonitor.c
84 * gunixvolumemonitor.c
87 * gwin32volumemonitor.c: use canonical signal names.
89 2008-08-11 Tor Lillqvist <tml@novell.com>
91 * Makefile.am: Put a list of the platform-dependent .la files in
92 the subdirectories in the platform_deps Make variable, and make
93 libgio-2.0.la depend on that, so that it gets relinked if one of
94 the dependent libraries has changed.
96 2008-08-11 Tor Lillqvist <tml@novell.com>
98 * Makefile.am (platform_libadd): Remove -lwininet which had been
99 added by mistake. We will probably eventually be using WinHTTP,
100 not the older WinInet anyway. (Actually I am working on it.)
102 2008-08-10 Felix Riemann <friemann@svn.gnome.org>
104 Bug 547080 – g_file_copy leaks expected errors
106 * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
107 before trying the next fallback routine.
109 2008-08-09 Loïc Minier <lool@dooz.org>
111 Bug 535124 – umask 002 not being applied for new directories, new
112 files get the correct umask
114 * gfile.c (g_file_make_directory)
115 (g_file_make_directory_with_parents): Document ownership and
116 permissions of newly created directories as being the default
119 2008-08-08 Loïc Minier <lool@dooz.org>
121 Bug 535124 – umask 002 not being applied for new directories, new
122 files get the correct umask
124 * glocalfile.c: (g_local_file_make_directory): Use 0777 instead of
127 2008-08-08 Tor Lillqvist <tml@novell.com>
129 * gwin32mount.c: Remove unused code. Whitespace cleanup.
131 * gwin32volumemonitor.c (get_connected_drives): Put questionable
132 code that didn't actually do anything inside #if 0, and add a
133 comment wondering what the code was supposed to do. This also gets
134 rid of a leftover debugging printout.
136 2008-08-07 Paul Pogonyshev <pogonyshev@gmx.net>
138 * gfileicon.c (g_file_icon_get_property)
139 (g_file_icon_set_property): New functions.
140 (g_file_icon_class_init): Hook them up. Install `GFileIcon:file'
142 (g_file_icon_new): Use the property (bug #546132).
144 2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
146 * gthemedicon.c (g_themed_icon_get_property): Also handle
147 `PROP_USE_DEFAULT_FALLBACKS'.
148 (g_themed_icon_class_init): Make
149 `GThemedIcon:use-default-fallbacks' read-write (bug #546483).
151 2008-08-05 Behdad Esfahbod <behdad@gnome.org>
153 Bug 546371 – Improve docs re g_file_monitor
155 * gfilemonitor.c: Mention g_file_monitor() in the docs.
157 2008-08-04 Matthias Clasen <mclasen@redhat.com>
159 * === Released 2.17.6 ===
161 2008-08-04 Matthias Clasen <mclasen@redhat.com>
163 * === Released 2.17.5 ===
165 2008-08-04 Matthias Clasen <mclasen@redhat.com>
167 Bug 546017 – Don't copy attributes when copying a symlink
169 * gfile.c (g_file_copy_attributes): Specify
170 G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS in the call to
171 g_file_set_attributes_from_info. Patch by Christian Kellner
173 2008-08-04 Matthias Clasen <mclasen@redhat.com>
175 * gemblemedicon.[hc]:
177 * gemblem.[hc]: Add GEmblem to make the emblem mechanism
178 a bit more extensible. Work by Clemens Buss.
180 * gioenums.h: Add GEmblemOrigin.
183 2008-08-03 Carlos Garcia Campos <carlosgc@gnome.org>
185 Bug 546079 – leak in xdgmime
187 * xdgmime/xdgmime.c (xdg_mime_shutdown): Fix memory leak.
189 2008-08-03 Tor Lillqvist <tml@novell.com>
191 * win32/gwin32directorymonitor.h
192 * win32/gwin32directorymonitor.c: Whitespace cleanup to match GLib
195 2008-08-03 Tor Lillqvist <tml@novell.com>
197 * win32/gwin32directorymonitor.c
198 (g_win32_directory_monitor_callback): Make prototype match
199 LPOVERLAPPED_COMPLETION_ROUTINE to avoid warning. Cast
200 LPOVERLAPPED parameter to local GWin32DirectoryMonitorPrivate
203 (g_win32_directory_monitor_constructor):
204 GLocalDirectoryMonitor::dirname is in UTF-8 like all other file
205 names in the GLib API on Windows, so convert to UTF-16 and open
208 2008-08-03 Tor Lillqvist <tml@novell.com>
210 Bug 541036 - Gnumeric crashes when trying to open Desktop or
211 user's folder under Windows
213 * win32/gwin32directorymonitor.c
214 (g_win32_directory_monitor_constructor): Ignore error from
215 CreateFile() when opening directory. Instead of asserting, just
216 store INVALID_HANDLE_VALUE then in
217 GWin32DirectoryMonitorPrivate::hDirectory. Also ignore error from
218 ReadDirectoryChangesW().
219 (g_win32_directory_monitor_cancel): Don't attempt to close
220 directory handle if it is INVALID_HANDLE_VALUE.
222 2008-08-01 Matthias Clasen <mclasen@redhat.com>
224 * gdesktopappinfo.c: Remove debug spew
226 2008-08-01 Hans Breuer <hans@breuer.org>
228 * makefile.msc : add gemblembedicon
230 2008-07-30 Matthias Clasen <mclasen@redhat.com>
232 Bug 545457 – gdmsetup crashed with SIGSEGV in
233 g_unix_mount_guess_should_display()
235 * gunixvolumemonitor.c (get_mount_for_mount_path): Don't
236 crash if no mount is found.
238 2008-07-28 Matthias Clasen <mclasen@redhat.com>
240 Bug 545203 – gfile.c: argument is different type.
242 * gfile.c (open_read_async_thread): Pass a GError **
243 to g_file_set_error_literal.
244 Reported by Kazuki Iwamoto
246 2008-07-28 Matthias Clasen <mclasen@redhat.com>
248 Bug 545157 – wrong/no list of "open with" applications for .cc and
251 * gdesktopappinfo.c (get_all_desktop_entries_for_mime_type):
252 Collect all ancestors, not just direct parents. Pointed
253 out by Bastien Nocera
255 2008-07-28 Matthias Clasen <mclasen@redhat.com>
257 * Makefile.am: Install gemblemedicon.h
259 2008-07-28 Matthias Clasen <mclasen@redhat.com>
261 * gemblemedicon.[hc]: Add a GIcon implementation that can
262 add an emblem to another icon.
269 * gfileicon.c: Small documentation additions.
271 2008-07-28 Tor Lillqvist <tml@novell.com>
273 * gwin32appinfo.c (g_win32_app_info_get_icon): Correct return
276 2008-07-27 Tor Lillqvist <tml@novell.com>
278 * Makefile.am (gio-2.0.lib): Pass appropriate -machine flag to lib.exe.
280 2008-07-24 David Zeuthen <davidz@redhat.com>
284 Also export a g_mount_guess_content_type_sync() function.
286 2008-07-23 Matthias Clasen <mclasen@redhat.com>
288 529694 – SELinux context setting support
290 * gfileinfo.c: Support setting selinux attributes.
291 Patch by Tomas Bzatek
293 2008-07-22 Priit Laes <plaes@plaes.org>
295 Bug 544140 - fam-helper 64-bit issue?
297 * fam/fam-helper.c: Added missing include so compiler doesn't complain.
299 2008-07-21 Matthias Clasen <mclasen@redhat.com>
301 * === Released 2.17.4 ===
303 2008-07-20 Matthias Clasen <mclasen@redhat.com>
305 * gvolumemonitor.[hc]:
310 * gmount.c: Documentation fixes
312 2008-07-19 Matthias Clasen <mclasen@redhat.com>
314 543504 – crash in Epiphany Web Browser: Opening local file
325 * gvolume.c: Register types thread-safely.
326 Patch by Christian Persch
328 2008-07-18 Matthias Clasen <mclasen@redhat.com>
330 * gcontenttype.c: Remove debug spew
332 2008-07-18 Matthias Clasen <mclasen@redhat.com>
334 Bug 543560 – enable gio-FEN back-end warnings on Solaris will crash
337 * fen/fen-kernel.c: Remove a warning that was causing
338 crashes. Reported by Lin Ma.
340 2008-07-18 Matthias Clasen <mclasen@redhat.com>
342 Bug 543040 – async reading on dummy file will crash on
345 * gfile.c (open_read_async_thread): Cope with read_fn being
346 NULL. Reported by Lin Ma.
348 2008-07-18 Matthias Clasen <mclasen@redhat.com>
351 * gcontenttype.[hc]: Add g_content_type_guess_for_tree().
353 2008-07-16 Matthias Clasen <mclasen@redhat.com>
357 * giomodule.c: Rename a chapter id to avoid filename conflict.
359 2008-07-16 Matthias Clasen <mclasen@redhat.com>
361 Bug 540616 – mem leak in filechooser button
363 * gunixvolumemonitor.c (get_mount_for_mount_path): Free
364 the mount entry. Reported by Chrisitan Persch
366 2008-07-16 Matthias Clasen <mclasen@redhat.com>
368 * gfile.c: Small documentation fixes.
370 2008-07-15 Matthias Clasen <mclasen@redhat.com>
372 * gunixmounts.c: Use g_strcmp0 instead of rolling our own.
374 2008-07-08 Matthias Clasen <mclasen@redhat.com>
379 * gmount.c: Documentation improvements.
381 2008-07-08 Matthias Clasen <mclasen@redhat.com>
384 * gmount.[hc]: Add g_mount_guess_content_type().
386 2008-07-06 David Zeuthen <davidz@redhat.com>
389 * gvolume.[ch]: Add new method g_volume_get_activation_root(). This
390 is needed for easily handling adoption of foreign volumes by
391 out-of-process volume monitors (#541793)
393 2008-07-06 David Zeuthen <davidz@redhat.com>
395 * gvolumemonitor.[ch]:
396 * gunionvolumemonitor.c: Export the eject-button signal on the
397 volume monitor class (#541794).
399 2008-07-06 Matthias Clasen <mclasen@redhat.com>
401 * gappinfo.c: More doc tweaks
403 2008-07-05 Matthias Clasen <mclasen@redhat.com>
405 * gappinfo.c: Clarify some docs
407 2008-07-03 Matthias Clasen <mclasen@redhat.com>
409 * gdesktopappinfo.c: Fix a stupid mistake.
411 2008-07-02 Matthias Clasen <mclasen@redhat.com>
413 * === Released 2.17.3 ===
415 2008-07-02 Matthias Clasen <mclasen@redhat.com>
417 * gfilemonitor.c: Fix the build.
419 2008-07-02 Matthias Clasen <mclasen@redhat.com>
421 Bug 536160 – Add g_file_monitor()
424 * gfile.[hc]: Add g_file_monitor which can return either
425 a file or a directory monitor. Proposed by Behdad Esfahbod
427 2008-07-02 Matthias Clasen <mclasen@redhat.com>
429 536733 – gio build failure on Irix
431 * glocalfile.c: Use a configure check for structfs.f_bavail.
433 2008-07-02 Matthias Clasen <mclasen@redhat.com>
435 Bug 534639 – add g_desktop_app_info_new_from_keyfile
438 * gdesktopappinfo.[hc]: Add a function to create a
439 GDesktopAppInfo from a GKeyFile. Proposed by Josselin Mouette.
441 2008-07-02 Wouter Bolsterlee <wbolster@svn.gnome.org>
443 * gappinfo.c: Fix ulink in doc to make gtk-doc happy.
445 2008-07-01 Matthias Clasen <mclasen@redhat.com>
447 * gunixmounts.c: Fix a doc typo.
449 2008-07-01 Cody Russell <bratsche@gnome.org>
451 * gio/gcontenttype.c:
452 * gio/gwin32appinfo.c:
453 * gio/gwin32volumemonitor.c:
454 * gio/gwin32mount.c: Fixed some include problems.
456 2008-07-01 Cody Russell <bratsche@gnome.org>
460 Moved all relevant typedefs into these files.
463 Updated wrt added files.
465 Split types into separate file for easier maintainership. (#538564)
467 2008-06-30 Matthias Clasen <mclasen@redhat.com>
469 Bug 540331 – g_file_append_to () documentation: can return NULL
471 * gfile.c (g_file_append_to): Clarify docs.
474 2008-06-30 Matthias Clasen <mclasen@redhat.com>
476 Bug 539090 – g_content_type_from_mime_type() should unalias
478 * gcontentype.c (g_content_type_from_mime_type): Unalias.
479 Patch by Markus Bergman
481 2008-06-30 Matthias Clasen <mclasen@redhat.com>
483 Bug 538836 – make check failure on PPC and ALPHA: pltcheck.sh on
486 * pltcheck.sh: Allow g_atomic_pointer_get, to fix 'make check'
487 on ppc and alpha. Reported by Mart Raudsepp
489 2008-06-29 Matthias Clasen <mclasen@redhat.com>
492 * tests/memory-output-stream.c: Add some tests for
495 2008-06-29 Matthias Clasen <mclasen@redhat.com>
497 Bug 540423 – unrecoverable error after g_seekable_truncate(seekable,
500 * gmemoryoutputstream.c (array_resize): Handle truncation to
501 zero correctly. Reported by Akira Tagoh
503 2008-06-29 Matthias Clasen <mclasen@redhat.com>
505 * gmemoryoutputstream.c: Trivial doc fixes
507 2008-06-29 Matthias Clasen <mclasen@redhat.com>
509 Bug 540802 – g_list_prepend doesn't concat lists
511 * giomodule.c (_g_io_modules_ensure_loaded): Don't g_list_prepend
512 one list to another. Pointed out by Jan Arne Petersen
514 2008-06-28 Michael Natterer <mitch@imendio.com>
516 * gfileicon.c: remove semicolons from G_IMPLEMENT_INTERFACE().
518 2008-06-18 Matthias Clasen <mclasen@rdhat.com>
520 * glocalfileinfo.c: Don't do fallback for user-home and user-desktop
521 to avoid problems with partial icon themes.
523 2008-06-17 Hans Breuer <hans@breuer.org>
525 * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from
526 gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter
527 access again on win32, see bug #538127
528 * giomodule.c : ensure GWin32VolumeMonitor is registered
529 * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE
530 * Makefile.am makefile.msc : updated
532 2008-06-16 Hans Breuer <hans@breuer.org>
534 * glocalfileenumerator.c(_g_local_file_enumerator_new) : declaration
535 and initialization in one step avoids c99ism
537 2008-06-16 Christian Persch <chpe@gnome.org>
540 * gio/gbufferedinputstream.c
542 * gio/gdatainputstream.c
543 * gio/gdesktopappinfo.c
545 * gio/gfileenumerator.c
546 * gio/gfileinputstream.c
547 * gio/gfileoutputstream.c
549 * gio/glocaldirectorymonitor.c
551 * gio/glocalfileenumerator.c
552 * gio/glocalfileinfo.c
553 * gio/glocalfilemonitor.c
554 * gio/glocalfileoutputstream.c
555 * gio/gmemoryinputstream.c
556 * gio/gmemoryoutputstream.c
557 * gio/goutputstream.c
558 * gio/gwin32appinfo.c: Use g_set_error_literal where appropriate. Patch from
561 2008-06-16 Tor Lillqvist <tml@novell.com>
563 Bug 538362 - Get Win32 icons back in the file chooser
565 * gcontenttype.c (g_content_type_get_icon): Look up the icon
566 corresponding to a file extension in the Registry. Patch by Hans
568 (get_registry_classes_key): Handle also REG_EXPAND_SZ type values.
570 2008-06-16 Tor Lillqvist <tml@novell.com>
572 Patches by Hans Breuer:
574 * glocalfile.c (is_xp_or_later): Handle compiling against older
575 SDK headers with missing VerifyVersionInfo(). Conditioned on
576 _MSC_VER, but should probably use some better test.
577 * glocalfile.c (g_local_file_query_filesystem_info): Don't test
578 uninitialised statfs_result variable on Win32.
580 2008-06-16 Michael Natterer <mitch@imendio.com>
582 * *.c: chain up unconditionally in finalize() and dispose(). Also
583 don't dereference these function pointers when calling them since
584 that has no meaning at all.
586 2008-06-16 Ross Burton <ross@burtonini.com>
589 Remove check for dispose implementation as it annoys Emmanuele.
591 2008-06-16 Ross Burton <ross@burtonini.com>
593 Bug 536252 – GFileEnumerator should allow access to the containing
599 Add g_file_enumerator_get_container() and a container writeable
600 construct-only property. Also shuffle around typedefs to make it
603 * glocalfileenumerator.c:
604 * glocalfileenumerator.h:
606 Instead of a string filename take a GFile in the constructor and
607 use it to set the container property.
612 2008-06-16 Matthias Clasen <mclasen@redhat.com>
614 * gfile.c: Make includes more uniform
616 2008-06-12 Yevgen Muntyan <muntyan@tamu.edu>
618 * tests/live-g-file.c (sample_struct):
619 Use less fancy unicode filenames, so the test doesn't fail
620 on Mac OS X (#531476).
622 2008-06-12 Matthias Clasen <mclasen@redhat.com>
624 * === Released 2.17.2 ===
626 2008-06-12 Matthias Clasen <mclasen@redhat.com>
628 * === Released 2.17.1 ===
630 2008-06-11 A. Walton <awalton@gnome.org>
632 * tests/g-file.c (test_g_file_new_null):
633 Fix broken test case.
635 2008-06-11 Matthias Clasen <mclasen@redhat.com>
637 * pltcheck.sh: We use g_clear_error now.
639 2008-06-11 Matthias Clasen <mclasen@redhat.com>
641 * glocalfile.c (g_local_file_enumerate_children): Revert
642 an unintended change.
644 2008-06-11 Matthias Clasen <mclasen@redhat.com>
646 * gfile.c (g_file_replace_contents): Don't unref before the last use.
648 2008-06-10 Matthias Clasen <mclasen@redhat.com>
650 Bug 537546 – 'desktop' shortcut in file chooser looks like a generic
653 * glocalfileinfo.c (_g_local_file_info_get): Return user-desktop
654 as icon for the desktop directory, also make user-home and
655 user-desktop the preferred icons.
657 2008-06-10 Matthias Clasen <mclasen@redhat.com>
660 * gthemedicon.[hc] (g_themed_icon_prepend_name): New function,
661 to add a name to the front of the list.
663 2008-06-10 Matthias Clasen <mclasen@redhat.com>
665 Bug 537392 – Additional colon in xattr name
667 * glocalfileinfo.c (set_xattr): Skip the second colon of the prefix,
668 too. Reported by Alessandro Morandi
670 2008-06-10 Matthias Clasen <mclasen@redhat.com>
672 Bug 536641 – Filesystem querying in gio does not list AFS and autofs
675 * glocalfile.c (get_fs_type): Add afs and autofs.
676 Patch by Danny Baumann.
678 2008-06-10 Matthias Clasen <mclasen@redhat.com>
680 Bug 528600 – g_dummy_file_get_parent("scheme://example.com/")
682 * gdummyfile.c (g_dummy_file_get_parent): Return NULL if there
683 is no parent. (Owen Taylor, patch by Christian Neumair)
685 2008-06-10 Paolo Borelli <pborelli@katamail.com>
687 * gfile.c (g_file_replace_contents): do not leak the output stream.
689 2008-06-10 Michael Natterer <mitch@imendio.com>
691 * gcontenttype.c (g_content_type_get_icon): fix SEGV by not using
692 uninitialized memory as array index.
694 2008-06-10 Tor Lillqvist <tml@novell.com>
696 * gcontenttype.c (g_content_type_can_be_executable)
697 (g_content_type_get_icon) [Win32]: Add TODO comments.
699 2008-06-09 Matthias Clasen <mclasen@redhat.com>
701 * xdgmime/Makefile.am: Fix the build
703 2008-06-09 Matthias Clasen <mclasen@redhat.com>
705 * gcontenttype.c (g_content_type_get_icon): Use icons specified
706 in the shared mime database, if available.
708 * xdgmime/*: Sync with upstream. This brings support for
709 glob weights, generic icons, and changes the cache format to
712 2008-05-28 Michael Natterer <mitch@imendio.com>
714 * Makefile.am: don't define G_DISABLE_SINGLE_INCLUDES, it's in
715 the global CPPFLAGS now.
717 * tests/data-input-stream.c
718 * tests/data-output-stream.c
719 * tests/g-file-info.c
721 * tests/live-g-file.c
722 * tests/memory-input-stream.c: don't include <glib/gtestutils.h>
724 2008-05-27 Matthias Clasen <mclasen@redhat.com>
726 * === Released 2.17.0 ===
728 * tests/live-g-file.c: Clean up after the tests, so make distcheck
729 doesn't complain about leftover files.
731 2008-05-27 simon.zheng <simon.zheng@sun.com>
733 * glocalfile.c: (g_local_file_query_filesystem_info):
734 Fix #533369. Make G_FILE_ATTRIBUTE_FILESYSTEM_TYPE work on Solaris.
736 2008-05-26 Michael Natterer <mitch@imendio.com>
738 * gmemoryoutputstream.h: declare
739 g_memory_output_stream_get_data_size().
741 2008-05-26 Matthias Clasen <mclasen@redhat.com>
743 * tests/*: Make tests work
745 2008-05-26 Matthias Clasen <mclasen@redhat.com>
747 * gio.symbols: Add g_memory_output_stream_get_data_size.
749 2008-05-25 Ross Burton <ross@burtonini.com>
752 Fix typo in error message (#534764).
754 2008-05-25 Ross Burton <ross@burtonini.com>
757 Fix circular dependency loop for gioenumtypes.h (#534759).
759 2008-05-19 Hans Breuer <hans@breuer.org>
761 * Makefile.am : EXTRA_DIST += makefile.msc
763 2008-05-17 Matthias Clasen <mclasen@redhat.com>
766 * gcontenttype.c: (g_content_type_from_mime_type):
767 New function to create a content type from a mime type. (#527175,
770 2008-05-17 Matthias Clasen <mclasen@redhat.com>
772 Bug 532965 – Should not return filesystem::free for certain file systems
774 * glocalfile.c (g_local_file_query_filesystem_info) Don't return
775 free space for ncpfs.
777 2008-05-17 Matthias Clasen <mclasen@redhat.com>
779 Bug 530196 – _g_local_file_has_trash_dir() doesn't handle st_dev == 0
781 * glocalfile.c (_g_local_file_has_trash_dir): Handle the case that
782 st_dev might be zero.
784 2008-05-16 Tor Lillqvist <tml@novell.com>
786 * win32/gwin32directorymonitor.c: #define _WIN32_WINNT 0x0400 to
787 get declaration of ReadDirectoryChangesW() from Platform SDK headers.
789 2008-05-13 Bastien Nocera <hadess@hadess.net>
791 * gfile.c (has_valid_scheme): A URI scheme must start with a
792 letter, even if later more characters are allowed (#532852)
794 2008-05-05 Michael Natterer <mitch@imendio.com>
796 * Makefile.am. build with G_DISABLE_SINGLE_INCLUDES to prevent
797 code from being checked in that breaks the build of applications
798 which use G_DISABLE_SINGLE_INCLUDES.
800 * makegioalias.pl: make the alias file include "glib.h" instead of
803 * gio.symbols: whitespace change to force regeneration of the
804 alias file after above script change.
806 * gfileinfo.h: remove inlcusion of <glib/gfileutils.h>.
808 * gfilenamecompleter.c: remove inclusion of "gurifuncs.h".
810 * gioerror.h: #include <glib.h> instead of <glib/gerror.h>.
812 * glocalfileinfo.c: remove inclusion of <glib/gchecksum>.
814 2008-04-28 David Zeuthen <davidz@redhat.com>
816 * gunixmounts.c (g_unix_mount_guess_should_display): Avoid
817 displaying mounts in a subdirectory not accessible to the
820 2008-04-22 Michael Natterer <mitch@imendio.com>
822 * Makefile.am: fix library versioning (it was 0.0.0).
824 2008-04-21 Lin Ma <Lin.Ma@Sun.COM>
826 * fen/fen-data.c, fen/fen-helper.c, fen/fen-missing.c, fen/fen-node.c:
827 Default disable all loggings.
828 * fen/fen-kernel.c: (printevent), (port_add_kevent),
829 (port_fetch_event_cb): Fixed two macro nits.
831 2008-04-16 Matthias Clasen <mclasen@redhat.com>
833 * xdgmime/xdgmime.c: Rework the timestamp checking code
834 to protect against duplicate directories in XDG_DATA_DIRS.
835 Fixes fd.o bug 12513, reported by Joe Shaw.
837 2008-04-16 Matthias Clasen <mclasen@redhat.com>
839 Partically revert the last commit after realizing that
840 xdg_mime_media_type_equal doesn't have to init at all.
843 * xdgmime/xdgmime.c: Get rid of _xdg_mime_media_type_equal
845 * xdgmime/xdgmimecache.c: Use xdg_mime_media_type_equal
847 2008-04-16 Matthias Clasen <mclasen@redhat.com>
849 Avoid possible memory corruption in xdgmime, fd.o bug 12512,
850 reported by Joe Shaw and Federico Mena Quintero.
852 * xdgmime/xdgmime.c(_xdg_mime_media_type_equal): Implement.
853 (xdg_mime_media_type_equal): Turn into a wrapper around the
856 * xdgmime/xdgmimecache.c: Use the _-prefixed versions of comparison
857 functions throughout.
859 2008-04-16 Michael Meeks <michael.meeks@novell.com>
861 * gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
862 tolerate an empty TryExec= line without failing; nautilus used
863 to create launchers with these in previous versions. Fixes #528433
865 2008-04-09 Padraig O'Briain <padraig.obriain@sun.com>
867 * gdesktopappinfo.c: In g_app_info_create_from_commandline set comment
868 after name. Fixes #527132.
870 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
872 * gfile.c: (g_file_replace):
875 2008-04-07 Matthias Clasen <mclasen@redhat.com>
877 Bug 526796 – Wrong order of arguments in g_file_copy's fallback
879 * gfile.c (file_copy_fallback): Fix the argument order. Patch
880 by Christian Kellner.
882 2008-04-04 Sebastien Bacher <seb128@ubuntu.com>
884 * gunixmounts.c: (g_unix_mount_guess_should_display):
885 Don't list the user directory as a mount, fix potential issue
886 when other users have a similar naming and don't special case the
887 gvfs mounts there since that's not required (#525866)
889 2008-03-31 Alexander Larsson <alexl@redhat.com>
891 * glocalfile.c (get_parent):
894 2008-03-31 A. Walton <awalton@svn.gnome.org>
896 * gfile.c (g_file_query_file_type):
897 Always return a GFileType enum value (#520715).
899 2008-03-31 Alexander Larsson <alexl@redhat.com>
901 * glocalfileenumerator.c:
902 Read readdir() info in chunks (of 1000) and sort
903 the chunks by inode before stat:ing.
904 This is a 20% performance increase in testing
905 gvfs-ls on /usr/bin with cold cache.
907 2008-03-31 Alexander Larsson <alexl@redhat.com>
909 * gmemoryoutputstream.c:
910 Clarify docs for g_memory_output_stream_get_size.
911 Add g_memory_output_stream_get_data_size.
913 2008-03-30 Matthias Clasen <mclasen@redhat.com>
917 * gfile.h: Add g_file_query_file_type convenience function
918 to query the type of a file. (#520715, Mikkel Kamstrup Erlandsen)
920 2008-03-30 Matthias Clasen <mclasen@redhat.com>
923 * gfile.c: Fix some documentation typos. (#524950, Rob Bradford)
925 2008-03-28 A. Walton <awalton@svn.gnome.org>
927 * giomodule.c (_g_io_modules_ensure_loaded):
928 Adds GIO_EXTRA_MODULES environment variable support, closing bug
931 2008-03-28 Alexander Larsson <alexl@redhat.com>
934 (copy_stream_with_progress):
937 2008-03-28 Alexander Larsson <alexl@redhat.com>
940 (copy_stream_with_progress):
941 (file_copy_fallback):
942 Fallback to g_file_query_info for source size
943 if g_file_input_stream_query_info fails. (#524579)
945 2008-03-28 Alexander Larsson <alexl@redhat.com>
947 * glocalfile.c (g_local_file_move):
948 Reuse old string instead of adding new one.
950 2008-03-28 Lin Ma <Lin.Ma@Sun.COM>
952 * fen/*.[hc]: still copyright issue. I hate copyright.
954 2008-03-27 Alexander Larsson <alexl@redhat.com>
956 * glocalfile.c (g_local_file_move):
957 Return G_IO_ERROR_IS_DIRECTORY, not G_IO_ERROR_WOULD_MERGE when moving
958 file over directory. This is according to the docs and what the move via
959 copy+remove fallback does.
961 2008-03-27 Lin Ma <Lin.Ma@Sun.COM>
963 * fen/*.[hc]: Updated copyright.
965 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
967 * fen/fen-data.c: (fdata_adjust_changed): Removed a bad formatted msg.
969 2008-03-20 Lin Ma <Lin.Ma@Sun.COM>
971 * fen/fen-data.c: (process_events), (fdata_add_event): Fixed FEN does
972 not emit attribute changed events when optimizing changed events.
973 * fen/fen-helper.c, fen/fen-kernel.c: Added ifdef to default disable
976 2008-03-19 Matthias Clasen <mclasen@redhat.com>
978 * gmountoperation.[hc]: Small documentation additions
980 2008-03-19 Sebastien Bacher <seb128@ubuntu.com>
982 * gunixmounts.c: (guess_mount_type):
983 consider nfs4 mounts as G_UNIX_MOUNT_TYPE_NFS (Closes: #523338)
985 2008-03-19 Alexander Larsson <alexl@redhat.com>
988 (copy_stream_with_progress):
989 Bump block side for copy to 64k to minimize
990 overhead for low latency links. (#523015)
992 2008-03-16 Tor Lillqvist <tml@novell.com>
994 * Makefile.am (libgio_2_0_la_DEPENDENCIES): Make libgio-2.0.la
995 depend on gio.def on Windows.
997 2008-03-12 David Zeuthen <davidz@redhat.com>
1001 Add g_unix_mount_monitor_set_rate_limit() function (#521946)
1003 2008-03-14 Alexander Larsson <alexl@redhat.com>
1007 Avoid redudant tests (#521851)
1008 Patch from Josselin Mouette
1010 2008-03-14 Alexander Larsson <alexl@redhat.com>
1013 (g_file_monitor_is_cancelled):
1014 Fix C89 issue (#521672)
1015 Patch from Jens Granseuer
1017 2008-03-14 Alexander Larsson <alexl@redhat.com>
1019 * fam/fam-helper.[ch]:
1021 Shut down fam (including removing fam GSource) when
1022 module is unloaded (#521513)
1023 Patch from Joe Marcus Clarke
1025 2008-03-14 Alexander Larsson <alexl@redhat.com>
1028 (_g_io_modules_ensure_loaded):
1031 2008-03-14 Alexander Larsson <alexl@redhat.com>
1034 (g_local_file_query_filesystem_info):
1035 Use right define name for f_fstypename member check
1037 2008-03-14 Alexander Larsson <alexl@redhat.com>
1040 * fen/Makefile.am: Added.
1041 * fen/fen-data.[ch]: Added.
1042 * fen/fen-dump.[ch]: Added.
1043 * fen/fen-helper.[ch]: Added.
1044 * fen/fen-kernel.[ch]: Added.
1045 * fen/fen-missing.[ch]: Added.
1046 * fen/fen-node.[ch]: Added.
1047 * fen/fen-sub.[ch]: Added.
1048 * fen/gfendirectorymonitor.[ch]: Added.
1049 * fen/gfenfilemonitor.[ch]: Added.
1051 Added Solaris FEN file notification backend.
1052 Patch from Lin Ma <Lin.Ma@Sun.COM>
1054 2008-03-13 Tor Lillqvist <tml@novell.com>
1056 * Makefile.am: Actually use the gio.def file when linking the
1057 library on Windows. Produce .lib library for Microsoft's toolchain
1058 when possible. Install the .lib and .def file like for the other
1061 2008-03-13 Tomas Bzatek <tbzatek@redhat.com>
1063 * tests/live-g-file.c:
1064 Include live-g-file in standard set of tests, making a temporary
1065 directory in source structure.
1067 Clean target directory before the tests (write mode only)
1069 2008-03-12 Tor Lillqvist <tml@novell.com>
1071 Bug 517419 - gio win32 directory monitor
1072 Implementation by Vlad Grecescu.
1075 * win32/gwin32directorymonitor.h
1076 * win32/gwin32directorymonitor.c: New files.
1078 * giomodule.c: Set up the GWin32DirectoryMonitor plumbing.
1080 * Makefile.am: Add the win32 subdirectory.
1082 2008-03-12 Tor Lillqvist <tml@novell.com>
1084 * glocalfileinfo.h: Introduce a macro GLocalFileStat that is the
1085 normal struct stat on Unix but struct _stati64 on Windows to have
1086 access to 64-bit file size information. Use that instead of struct
1087 stat in the functions declared here in this private header.
1089 * glocalfileinfo.c: Corresponding changes. Move some G_OS_WIN32,
1090 S_ISLNK and HAVE_UTIMES ifdefs and add some more to avoid compiler
1091 warnings about unused functions and variables. Don't set
1092 meaningless attributes like inode numbers on Windows.
1094 2008-03-12 Benjamin Otte <otte@gnome.org>
1097 trim whitespace so gtk-doc groks the function name
1099 2008-03-12 Tor Lillqvist <tml@novell.com>
1101 * glocalfile.c (_g_local_file_has_trash_dir): Implement as empty,
1102 returning FALSE, on Win32.
1104 2008-03-11 Alexander Larsson <alexl@redhat.com>
1107 * glocalfileinfo.[ch]:
1108 Correctly implement can_trash by actually
1109 looking for a trash dir, not just assuming
1112 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1114 * === Released 2.16.1 ===
1116 2008-03-11 Alexander Larsson <alexl@redhat.com>
1119 Fix crashes in new constructor and properties code
1121 2008-03-10 Murray Cumming <murrayc@murrayc.com>
1123 * gfile.c: Minor spelling correction in documentation:
1124 existance -> existence.
1126 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1128 * === Released 2.16.0 ===
1130 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1132 * gio.symbols: Remove g_file_contains_file here, too.
1134 2008-03-10 Matthias Clasen <mclasen@redhat.com>
1136 * gthemedicon.c: Add properties to make bindings happy. (#517676,
1137 Samuel Cormier-Iijima)
1139 2008-03-08 Tor Lillqvist <tml@novell.com>
1141 * glocalfile.c: Define FILE_READ_ONLY_VOLUME if it is missing from
1144 2008-03-07 Alexander Larsson <alexl@redhat.com>
1147 (g_local_file_query_filesystem_info):
1148 Use struct statfs.f_fstypename if availible (e.g. on OpenBSD)
1149 Patch from Jasper Lievisse Adriaanse
1151 2008-03-06 Tor Lillqvist <tml@novell.com>
1153 * gfileinfo.h: Correct milliseconds to microseconds in the doc
1154 comments for the *_USEC attributes.
1156 2008-03-06 Alexander Larsson <alexl@redhat.com>
1158 * gfile.c (g_file_query_exists):
1159 Add g_return_val_if_fail check (#520700)
1161 2008-03-06 Alexander Larsson <alexl@redhat.com>
1163 * gdesktopappinfo.c:
1166 * gunionvolumemonitor.c:
1169 * tests/live-g-file.c:
1170 * xdgmime/xdgmimecache.c:
1171 Fix sparse warnings (#519489)
1173 2008-03-05 Alexander Larsson <alexl@redhat.com>
1176 Make cancellation threadsafe (i.e.
1177 guarantee its only done once, and always
1180 * glocaldirectorymonitor.c:
1181 Make sure we the monitor lives while the
1182 mounts_changed callback is being called (#520484)
1184 2008-03-04 Wouter Bolsterlee <wbolster@svn.gnome.org>
1186 * gbufferedinputstream.c: Fix typo in parameter
1189 2008-03-04 Alexander Larsson <alexl@redhat.com>
1192 Remove deprecated symbols we kept for one release.
1194 2008-03-04 Murray Cumming <murrayc@murrayc.com>
1197 * goutputstream.c: Tiny documentation corrections.
1199 2008-03-03 Alexander Larsson <alexl@redhat.com>
1201 * gunionvolumemonitor.c:
1203 Fix the adopt_orphan_mount vfunc to take a
1204 volume_monitor reference in an ABI compat way.
1205 This change is not API compat, but the added
1206 arg is not used in the only user of this vfunc, so
1207 all we get is a harmless warning in gvfs (#520169)
1209 2008-03-01 Benjamin Otte <otte@gnome.org>
1212 clarify docs for g_file_delete().
1214 2008-02-29 Alexander Larsson <alexl@redhat.com>
1218 Make sure empty files get text/plain type (#518720)
1220 2008-02-27 Alexander Larsson <alexl@redhat.com>
1226 (g_unix_volume_mount):
1227 Add missing GMountMountFlags argument
1229 2008-02-26 Alexander Larsson <alexl@redhat.com>
1232 (g_local_file_delete):
1233 Handle filesystems (like ntfs-3g) that return EEXIST instead
1234 of ENOTEMPTY (#518816)
1236 2008-02-25 Matthias Clasen <mclasen@redhat.com>
1238 * === Released 2.15.6 ===
1240 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1242 * gfile.c (g_file_find_enclosing_mount):
1243 * ginputstream.c (g_input_stream_set_pending):
1244 * glocalfile.c (g_local_file_find_enclosing_mount):
1245 * gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
1246 * goutputstream.c (g_output_stream_set_pending):
1248 Fixup translator comments (#518578).
1250 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
1252 * gfile.c (g_file_find_enclosing_mount):
1254 * glocalfile.c (g_local_file_find_enclosing_mount):
1257 Fix a few typos in translator comments and documentation.
1259 2008-02-25 Alexander Larsson <alexl@redhat.com>
1266 Add translator comments (#518578)
1268 2008-02-25 Alexander Larsson <alexl@redhat.com>
1271 Reintroduce g_file_contains_file, keep around for one
1272 unstable release cycle to avoid crashing to many apps.
1273 Make sure to delete after release.
1275 2008-02-25 Alexander Larsson <alexl@redhat.com>
1278 Remove deprecated g_file_contains_file.
1280 2008-02-25 Alexander Larsson <alexl@redhat.com>
1283 Emit actual change signals in an idle handler.
1284 This avoids reentrance and locking problems in
1285 the file notification backends.
1287 2008-02-25 Alexander Larsson <alexl@redhat.com>
1290 (g_unix_mount_guess_should_display):
1291 Remove type guessing, instead just display
1292 mounts in /media and in ~/.
1294 2008-02-25 Alexander Larsson <alexl@redhat.com>
1297 Make new strings reuse old ones.
1299 2008-02-25 Alexander Larsson <alexl@redhat.com>
1302 Implement trashing and filesystem::readonly for win32 (#517235)
1303 Patch from Yevgen Muntyan
1305 2008-02-23 Matthias Clasen <mclasen@redhat.com>
1307 * gfileinfo.h: Documentation fixes.
1309 2008-02-22 Alexander Larsson <alexl@redhat.com>
1311 * gcontenttype.c (g_content_type_get_icon):
1312 Look at old-style gnome mime icon names too, as many
1313 have not moved to the new style.
1315 2008-02-21 Matthias Clasen <mclasen@redhat.com>
1317 * *.c: Correct the @include in for section docs.
1319 2008-02-21 David Zeuthen <davidz@redhat.com>
1321 * glocalfileinfo.c: (_g_local_file_info_get):
1323 (g_content_type_get_icon): Implement this function by
1324 moving bits from glocalfileinfo.c
1325 (g_content_type_get_description): Unalias before getting
1326 description (#517687)
1328 * gfile.c: (g_file_class_init),
1329 (g_file_query_filesystem_info_async),
1330 (g_file_query_filesystem_info_finish),
1331 (query_filesystem_info_data_free),
1332 (query_filesystem_info_async_thread),
1333 (g_file_real_query_filesystem_info_async),
1334 (g_file_real_query_filesystem_info_finish):
1335 * gfile.h: Implement async version of
1336 g_file_query_filesystem_info()
1338 * gfileinfo.h: Add new attributes for filesystem::use-preview
1340 * gio.symbols: Update
1342 * gthemedicon.c: (g_themed_icon_append_name):
1343 * gthemedicon.h: Add new new convenience function.
1345 * gunionvolumemonitor.c: (g_union_volume_monitor_dispose),
1346 (get_mounts), (get_volumes), (get_connected_drives),
1347 (get_volume_for_uuid), (get_mount_for_uuid),
1348 (g_union_volume_monitor_init), (populate_union_monitor),
1349 (g_volume_monitor_get), (_g_mount_get_for_mount_path),
1350 (g_volume_monitor_adopt_orphan_mount):
1352 * gvolumemonitor.h: Use recursive locks so it's safe for volume
1353 monitor implementations to call into the main volume monitor. Also
1354 separate object initialization and volume monitor initialization
1355 such that non-native volume monitors can properly adopt their
1358 2008-02-21 Alexander Larsson <alexl@redhat.com>
1363 2008-02-21 Alexander Larsson <alexl@redhat.com>
1366 Add more documentation about how GFiles work (from #517086)
1368 2008-02-21 Alexander Larsson <alexl@redhat.com>
1372 Add new g_file_has_prefix that does the same as g_file_contains_file.
1373 Deprecate g_file_contains_file and add a macro that converts
1374 it to g_file_has_prefix.
1375 The reason for this change is that the contains_file() name seems to
1376 imply that this does more work than what it does, but its really only
1377 a name match (from #517086)
1382 Update to match the above change.
1384 2008-02-20 Benjamin Otte <otte@gnome.org>
1386 * gfile.c: (g_file_mount_mountable), (g_file_unmount_mountable),
1387 (g_file_eject_mountable):
1388 even more cases of not returning in error path
1390 2008-02-20 Benjamin Otte <otte@gnome.org>
1392 * gfile.c: (g_file_mount_mountable):
1393 return from function in error path.
1395 2008-02-18 Sylvain Pasche <sylvain.pasche@gmail.com>
1398 Remove trailing coma in GMountMountFlags struct
1400 2008-02-18 Alexander Larsson <alexl@redhat.com>
1404 * glocalfileoutputstream.c:
1405 Use g_unlink/g_rename instead of unlink/rename;
1406 do not pass raw filenames to g_set_error. (#517239)
1407 Patch from Yevgen Muntyan.
1409 2008-02-18 Alexander Larsson <alexl@redhat.com>
1412 * glocalfileoutputstream.c:
1413 Open files with O_BINARY on windows. (#517140)
1415 2008-02-14 Alexander Larsson <alexl@redhat.com>
1417 * glocalfileoutputstream.c:
1418 Correctly check for HAVE_FCHMOD and HAVE_FCHOWN
1420 2008-02-14 Alexander Larsson <alexl@redhat.com>
1423 Copy permissions with file on copy (#514084)
1424 This is what cp does and makes sure e.g. the
1425 exec permissions are kept.
1426 Its kinda weird in that it keeps the permission bits
1427 the same while the uid and gid are different. However
1428 the new uid is the user so its not a security issue,
1429 and I've heard no complaints about cp on this issue.
1431 2008-02-13 Ryan Lortie <desrt@desrt.ca>
1433 * gfileinfo.h: add G_FILE_ATTRIBUTE_TRASH_ITEM_COUNT
1435 2008-02-13 Alexander Larsson <alexl@redhat.com>
1437 * inotify/inotify-path.c:
1438 Define IN_ONLYDIR if not in header (#515346)
1440 2008-02-12 Alexander Larsson <alexl@redhat.com>
1442 * tests/live-g-file.c:
1445 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1447 * === Released 2.15.5 ===
1449 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1451 * gio.symbols: Add g_mount_mount_flags_get_type.
1453 2008-02-11 Alexander Larsson <alexl@redhat.com>
1456 (g_file_info_set_attribute_mask):
1457 (g_file_attribute_matcher_matches_id):
1458 Correctly handle NULL GAttributeMatcher meaning
1459 matches nothing. (Fixes #513492)
1461 2008-02-11 Alexander Larsson <alexl@redhat.com>
1466 Added GMountMountFlags enum and added a flags
1467 argument to all mount calls.
1469 This is an API/ABI change for future extensibility,
1470 as I think we will need at least an
1471 inhibit-autorun flag (the panel needs this).
1472 There are no flags defined yet though.
1474 2008-02-11 Alexander Larsson <alexl@redhat.com>
1477 Added new standard::description attribute.
1478 Requested by Vincent, and useful for both
1481 2008-02-11 Alexander Larsson <alexl@redhat.com>
1483 * gdesktopappinfo.c:
1486 2008-02-11 Matthias Clasen <mclasen@redhat.com>
1488 * *.c: Documentation additions
1490 2008-02-10 Matthias Clasen <mclasen@redhat.com>
1492 * gappinfo.h: Formatting cleanup
1493 * gappinfo.c: Fix up docs.
1495 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1497 * gunixmounts.c: Consistently use getmntent_r() and fall
1498 back to getmntent(). (#515492)
1500 2008-02-09 Matthias Clasen <mclasen@redhat.com>
1502 * gbufferedinputstream.c:
1504 * goutputstream.c: Use G_STRFUNC instead of __FUNCTION__.
1506 * tests/data-input-stream.c:
1507 * tests/data-output-stream.c: Portability fixes.
1509 2008-02-08 Alexander Larsson <alexl@redhat.com>
1514 Add g_volume_should_automount.
1517 2008-02-07 Tor Lillqvist <tml@novell.com>
1519 * tests/Makefile.am (TEST_PROGS): live-g-file won't build on
1520 Win32, too Unix-specific.
1522 2008-02-06 Behdad Esfahbod <behdad@gnome.org>
1524 * pltcheck.sh: Skip g_bit_*(). Inline functions may end up with
1525 a local plt if the compiler doesn't support what we want. Bug #514702
1527 2008-02-06 Murray Cumming,,, <murrayc@murrayc.com>
1529 reviewed by: <delete if not using a buddy>
1532 * gunixinputstream.c:
1533 * gunixoutputstream.c:
1535 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1537 * tests/Makefile.am:
1538 * tests/live-g-file.c:
1539 * tests/live-g-file.txt:
1540 New GIO testing module working over real data
1542 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1544 * glocalfileoutputstream.c (g_local_file_output_stream_close):
1545 Fallback to rename() if link() is not available
1546 (when no support on target filesystem)
1548 2008-02-06 Michael Natterer <mitch@imendio.com>
1550 * gfileinfo.c (g_file_info_get_icon): replace
1551 "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
1553 2008-02-06 Tomas Bzatek <tbzatek@redhat.com>
1555 * gfile.c (g_file_create):
1556 Documentation update of error codes
1558 2008-02-06 Alexander Larsson <alexl@redhat.com>
1560 * gdesktopappinfo.c:
1561 Update to use both mimeapps.list and
1562 defaults.list as discussed on xdg list.
1564 2008-02-06 Benjamin Otte <otte@gnome.org>
1567 * gfilenamecompleter.c:
1568 Fix some typos in the documentation.
1570 2008-02-06 Alexander Larsson <alexl@redhat.com>
1572 * glocalfile.c (g_local_file_trash):
1573 Don't succeed with trash if newly created
1574 trash dir has the wrong owner. (#514696)
1576 2008-02-05 Alexander Larsson <alexl@redhat.com>
1578 * glocalfile.c (g_local_file_move):
1579 Don't spew warnings when destination is not
1582 2008-02-03 Hans Breuer <hans@breuer.org>
1584 * makefile.msc : update
1586 2008-02-01 Michael Natterer <mitch@imendio.com>
1588 * gcontenttype.c (_g_unix_content_type_get_parents): assign the
1589 return value of xdg_mime_list_mime_parents() to a variable of the
1592 2008-02-01 Alexander Larsson <alexl@redhat.com>
1594 * gappinfo.c (g_app_info_launch_uris):
1595 Actually call the launch_uris method, not
1598 2008-02-01 Alexander Larsson <alexl@redhat.com>
1600 * gdesktopappinfo.c (g_desktop_app_info_equal):
1601 Ensure appinfos with no id but same pointer value
1604 2008-02-01 Alexander Larsson <alexl@redhat.com>
1606 * gappinfo.c (g_app_info_launch_default_for_uri):
1609 2008-02-01 Alexander Larsson <alexl@redhat.com>
1613 Add g_app_info_launch_default_for_uri utility
1616 2008-02-01 Cosimo Cecchi <cosimoc@svn.gnome.org>
1618 * gdesktopappinfo.c:
1619 Doc fix for g_app_info_get_default_for_uri_scheme ()
1622 2008-01-30 Alexander Larsson <alexl@redhat.com>
1625 Add doc comment about uris vs GFiles to
1628 * gdesktopappinfo.c:
1629 Ensure uris passed to g_app_info_launch_uris()
1630 are not roundtriped through GFile (as that
1631 may be slightly destructive for e.g. mailto: links)
1633 2008-01-30 Alexander Larsson <alexl@redhat.com>
1635 * tests/data-input-stream.c:
1636 * tests/data-output-stream.c:
1637 C89 fixes from Jens Granseuer (#512849)
1639 2008-01-30 Alexander Larsson <alexl@redhat.com>
1642 Fix gamin/fam difference build issue. (#509419)
1644 2008-01-29 Alexander Larsson <alexl@redhat.com>
1647 * gdesktopappinfo.c:
1648 Add G_APP_INFO_CREATE_SUPPORTS_URIS flag
1650 2008-01-29 Alexander Larsson <alexl@redhat.com>
1652 * gdesktopappinfo.c:
1653 * gdesktopappinfo.h:
1654 giomodule-priv.h include moved to .c file.
1656 2008-01-29 Alexander Larsson <alexl@redhat.com>
1658 * gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
1659 Remove unused prio/name fields.
1661 2008-01-29 Alexander Larsson <alexl@redhat.com>
1663 * gcontenttype.c (looks_like_text):
1664 Don't treat whitespace as control chars.
1666 2008-01-29 Alexander Larsson <alexl@redhat.com>
1668 * gdesktopappinfo.c:
1669 Lazily create the desktop files for appinfos created
1670 by g_app_info_create_from_commandline() when needed
1671 for mime associations. This allows run-time use
1672 of GAppInfo object without creating unnecessary
1675 2008-01-29 Alexander Larsson <alexl@redhat.com>
1678 Added new symbols to gio.symbols
1680 2008-01-29 Alexander Larsson <alexl@redhat.com>
1683 Add g_file_query_default_handler utility to easily look up
1684 the GAppInfo that handles a file.
1686 * gdesktopappinfo.[ch]:
1688 Set up an extension point for g_app_info_get_default_for_uri_scheme()
1691 Remove unused function
1693 2008-01-29 Alexander Larsson <alexl@redhat.com>
1695 * gfileenumerator.c:
1696 Mention need to free returned value in
1697 g_file_enumerator_next_files_finish docs.
1698 Fix leak if g_file_enumerator_next_files_finish()
1701 2008-01-29 Alexander Larsson <alexl@redhat.com>
1704 (_g_unix_content_type_get_parents):
1705 Use list_parents, not get_parents from xdgmime, because
1706 the later doesn't use the cache.
1708 * xdgmime/xdgmimecache.c:
1709 (_xdg_mime_cache_list_mime_parents):
1710 Don't list the same type as parent multiple times.
1712 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1714 * === Released 2.15.4 ===
1716 2008-01-28 Alexander Larsson <alexl@redhat.com>
1719 Register local vfs with prio 0.
1722 Remove old name and prio class members
1724 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1726 * tests/g-file.c: Disable some tests that are failing in
1727 the absence of a http backend.
1729 2008-01-28 Alexander Larsson <alexl@redhat.com>
1733 Add registration hooks for extension points.
1734 Register the gio extension points.
1736 * fam/gfamdirectorymonitor.c:
1737 * fam/gfamfilemonitor.c:
1738 * glocaldirectorymonitor.[ch]:
1739 * glocalfilemonitor.[ch]:
1740 * gnativevolumemonitor.h:
1741 * gunionvolumemonitor.c:
1742 * gunixvolumemonitor.c:
1745 * inotify/ginotifydirectorymonitor.c:
1746 * inotify/ginotifyfilemonitor.c:
1747 Use the extension points registration instead
1748 of g_type_children().
1750 2008-01-28 Matthias Clasen <mclasen@redhat.com>
1753 * gvolume.[hc]: Document new API.
1755 * gfile.c (g_file_copy_async): Fix docs
1757 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1759 * gbufferedinputstream.c:
1761 * goutputstream.c: Replace uses of G_GNUC_PRETTY_FUNCTION by
1764 2008-01-27 Matthias Clasen <mclasen@redhat.com>
1766 * glocalfile.c: Avoid trivial differences in translatable strings.
1768 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1770 * fam/fam-helper.c (fam_event_to_file_monitor_event): Make this
1771 build with gcc 3.4 (#509419)
1773 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1775 * gfilemonitor.c: Add references to g_file_monitor_file/directory()
1776 (#509994, Murray Cumming)
1778 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1780 * gioscheduler.h: Make GIOSchedulerJobFunc return boolean
1781 * gioscheduler.c: Keep calling io jobs until they return FALSE;
1782 this allows big jobs to be executed in chunks, instead of blocking
1783 the main loop for a long time.
1785 * gsimpleasyncresult.c:
1786 * giofile.c: Adapt callers.
1788 2008-01-25 Alexander Larsson <alexl@redhat.com>
1790 * gdesktopappinfo.c:
1791 Implement changes discussed on xdg list.
1792 Now we can add supported mimetypes by just using defaults.list
1793 We can also remove associations in defaults.list.
1795 2008-01-25 Alexander Larsson <alexl@redhat.com>
1797 * gdesktopappinfo.c:
1798 Don't make local copy of desktop file
1799 for mimetype changes if the file already
1800 supports the new mimetype.
1802 2008-01-25 Matthias Clasen <mclasen@redhat.com>
1806 * gbufferedinputstream.c:
1807 * glocalfile.c: String improvements. (#511966,
1808 Theppitak Karoonboonyanan)
1810 2008-01-24 Matthias Clasen <mclasen@redhat.com>
1812 * gioscheduler.h: Expand docs a bit.
1814 2008-01-24 Alexander Larsson <alexl@redhat.com>
1817 Add g_drive_get_identifier and
1818 g_drive_enumerate_identifiers
1821 Add g_volume_get_identifier and
1822 g_volume_enumerate_identifiers
1828 Implement identifiers for unix backend
1830 2008-01-24 Alexander Larsson <alexl@redhat.com>
1835 Add g_file_copy_async() (#511580)
1836 Based on patch from Carlos Garcia Campos
1838 2008-01-23 Matthias Clasen <mclasen@redhat.com>
1840 * gioscheduler.c: Some documentation additions.
1842 2008-01-22 Alexander Larsson <alexl@redhat.com>
1844 * gdesktopappinfo.c:
1845 (g_desktop_app_info_new):
1846 Don't leak basename.
1848 2008-01-22 Alexander Larsson <alexl@redhat.com>
1850 * gdesktopappinfo.c:
1851 (g_desktop_app_info_new_from_filename):
1854 2008-01-22 Alexander Larsson <alexl@redhat.com>
1856 * glocalfileinfo.c (get_thumbnail_attributes):
1859 2008-01-22 Alexander Larsson <alexl@redhat.com>
1862 (canonicalize_filename):
1863 Canonicalize paths that start with more than
1867 (compare_two_files):
1868 (test_g_file_new_for_path):
1871 2008-01-22 Alexander Larsson <alexl@redhat.com>
1874 Allow UTF-8 in file:// parse names.
1876 * tests/Makefile.am:
1877 * tests/data-input-stream.c:
1878 * tests/data-output-stream.c:
1879 * tests/g-file-info.c:
1881 Added a bunch of tests from Tomas Bzatek
1883 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1885 * === Released 2.15.3 ===
1887 2008-01-21 Alexander Larsson <alexl@redhat.com>
1889 * gfileinputstream.[ch]:
1890 * gfileoutputstream.[ch]:
1892 Remove duplicated GSeekable functions. (#509990)
1893 Just use the g_seekable_xxx() calls instead.
1895 2008-01-21 Matthias Clasen <mclasen@redhat.com>
1898 * gvolumemanager.c: Whitespace cleanups.
1900 * glocalfileoutputsteam.c (_g_local_file_output_stream_create):
1901 Use the right mode when creating the file.
1903 2008-01-21 Murray Cumming,,, <murrayc@murrayc.com>
1905 * gfileenumerator.c:
1906 * gfileinputstream.c:
1908 * goutputstream.c: Documentation: Fixed minor typos
1909 and added more mentions of specific _finish() functions.
1911 2008-01-21 Alexander Larsson <alexl@redhat.com>
1913 * inotify/Makefile.am:
1914 * inotify/inotify-helper.c:
1915 * inotify/inotify-kernel.c:
1916 * inotify/inotify-path.c:
1917 * inotify/local_inotify.h: Removed.
1918 * inotify/local_inotify_syscalls.h: Removed.
1919 Removed the included copies of the inotify
1920 headers. We now only use the <sys/inotify.h>
1921 header which exists on modern systems.
1922 This fixes problems on ARM and SH5 (#510448)
1923 but is also generally much cleaner and future
1924 safe. For instance, if other OSes add support
1925 for inotify it should "just work".
1927 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1929 * inotify/*.c: Coding style fixes.
1930 * inotify/inotify-missing.c: Use g_timeout_add_seconds
1931 for the 1/4 Hz timer.
1933 2008-01-20 Matthias Clasen <mclasen@redhat.com>
1936 * gfilemonitor.[hc]:
1937 * gmemoryinputstream.c:
1938 * gmemoryoutputstream.c:
1939 * gmountoperation.c:
1940 * gthemedicon.c: Documentation updates
1942 2008-01-20 Murray Cumming <murrayc@murrayc.com>
1944 * gfile.c: documentation: Fixed more minor
1947 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1949 * gmount.c: (g_mount_remount): documentation:
1950 Mention g_mount_remount_finish() instead of
1951 g_mount_unmount_finish().
1953 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1957 * gfile.c: Fixed some minor typos in the
1960 2008-01-18 Murray Cumming <murrayc@murrayc.com>
1962 * gio/gvolumemonitor.c:
1963 (g_volume_monitor_get_connected_drives):
1964 (g_volume_monitor_get_volumes):
1965 (g_volume_monitor_get_mounts): Documentation:
1966 Clarify the ownership of the regurn GLists.
1968 2008-01-17 Alexander Larsson <alexl@redhat.com>
1971 Add the async find_enclosing_mount version
1972 to the header file too.
1974 2008-01-17 Alexander Larsson <alexl@redhat.com>
1977 Add async version of find_enclosing_mount
1978 with default implementation.
1980 2008-01-17 Alexander Larsson <alexl@redhat.com>
1985 Allow calls to implementation of copy and write
1986 even if the type of the file implementations is
1987 different. This can be used to implement native
1988 upload and download calls in a vfs.
1991 (g_local_file_move):
1992 Protect against the case where move is called
1993 with one file not being local.
1995 Make sure we call the progress callback once
1996 in the native move operation so that the caller
1997 knows how many bytes were copied.
1999 2008-01-16 Murray Cumming <murrayc@murrayc.com>
2002 * gdatainputstream.c:
2004 * gfileoutputstream.c:
2009 * gunixmounts.c: Corrected some typos in the documentation:
2010 occured -> occurred.
2011 its -> it's (where appropriate).
2013 2008-01-16 Alexander Larsson <alexl@redhat.com>
2017 Add g_file_query_exists (#508771)
2019 2008-01-15 Murray Cumming <murrayc@murrayc.com>
2024 * gvolume.c: For async functions that have no non-async
2025 version, document that the GAsyncReadyCallback may be NULL.
2028 2008-01-15 Alexander Larsson <alexl@redhat.com>
2030 * gmemoryinputstream.c:
2031 * gmemoryoutputstream.c:
2032 Don't do pointer arithmetic on void * (#508602)
2033 Patch from Kazuki IWAMOTO
2035 2008-01-14 Matthias Clasen <mclasen@redhat.com>
2037 * === Released 2.15.2 ===
2039 2008-01-14 Alexander Larsson <alexl@redhat.com>
2041 * gfile.c (g_file_monitor_file):
2042 Don't set error here, since we fallback to polling monitor.
2044 2008-01-14 Alexander Larsson <alexl@redhat.com>
2047 (g_file_monitor_directory):
2048 (g_file_monitor_file):
2049 Add GError to file monitor calls
2051 * glocaldirectorymonitor.c:
2052 * glocaldirectorymonitor.h:
2054 * glocalfilemonitor.c:
2055 * glocalfilemonitor.h:
2057 Update for above change
2059 2008-01-14 Alexander Larsson <alexl@redhat.com>
2063 Handle root correctly in g_file_get_relative_path (#508719)
2065 2008-01-14 Alexander Larsson <alexl@redhat.com>
2068 Clean up docs and example for GAsyncResult (#508074)
2070 2008-01-11 Murray Cumming <murrayc@murrayc.com>
2072 * gfile.c: Clarify the sentence about GAsyncReadyCallback,
2073 and correct some spelling mistakes. Bug #508108.
2075 2008-01-11 Matthias Clasen <mclasen@redhat.com>
2077 * glocalfileinfo.c: Add a comment.
2079 2008-01-10 Murray Cumming <murrayc@murrayc.com>
2081 * gfileinfo.c: GFileInfo description: Mention
2082 how to actually set attributes in a GFile and how to discover
2083 which attributes are settable. Bug #508378.
2085 2008-01-10 A. Walton <awalton@svn.gnome.org>
2087 * gdesktopappinfo.c: (g_app_info_get_all_for_type),
2088 (g_app_info_get_default_for_type):
2089 Check for NULL content types.
2091 2008-01-10 Frederic Crozat <fcrozat@mandriva.com>
2093 * gunixmounts.c: add rpc_pipefs to systemfs list (#508309).
2095 2008-01-09 Murray Cumming <murrayc@murrayc.com>
2097 * gfile.c: *_async() functions: Several small corrections
2098 to the documentation, mostly correcting copy/paste errors
2099 and improving some sentences.
2101 2008-01-09 Dan Winship <danw@gnome.org>
2103 * glocalfile.c (get_unique_filename): x86_64 fix
2105 2008-01-09 Alexander Larsson <alexl@redhat.com>
2110 Add g_unix_mount_guess_should_display and use
2111 for unix volume monitor backend.
2112 This means we more or less show what the
2113 gnome-vfs backend did.
2114 Based on patch from Padraig O'Briain
2116 2008-01-09 Alexander Larsson <alexl@redhat.com>
2120 Add g_themed_icon_new_with_default_fallbacks
2123 Use default fallbacks for icons
2125 2008-01-09 Alexander Larsson <alexl@redhat.com>
2128 * gmountoperation.[ch]:
2129 Change the API a bit so that unhandled methods
2130 get reported via the reply, rather than by
2131 the signal emission return value. This is because
2132 some handlers can't know this immediately without
2133 doing I/O, and this is an async operation that
2136 2008-01-09 Alexander Larsson <alexl@redhat.com>
2139 * fam/gfamdirectorymonitor.c:
2140 * fam/gfamfilemonitor.c:
2141 Fix double free crash (#508224)
2142 Patch from Joe Marcus Clarke
2144 008-01-07 Matthias Clasen <mclasen@redhat.com>
2146 * === Released 2.15.1 ===
2148 2008-01-07 Alexander Larsson <alexl@redhat.com>
2150 * gunixinputstream.c (g_unix_input_stream_skip_finish):
2151 Fix warning (#507835)
2153 2008-01-07 Alexander Larsson <alexl@redhat.com>
2156 Pass --internal to glib-genmarshal
2159 * gmountoperation.c:
2161 Use better types for signal arguments (#507822)
2163 2008-01-07 Alexander Larsson <alexl@redhat.com>
2166 Build test subdir after .
2167 Remove gdirectorymonitor.[ch]
2169 * gdirectorymonitor.[ch]:
2173 Remove GDirectoryMonitor and make
2174 GFileMonitor the baseclass for both file and
2175 directory monitors. Lift the more generic
2176 rate limiting code from GDirectoryMonitor
2180 * fam/gfamdirectorymonitor.[ch]:
2181 * inotify/ginotifydirectorymonitor.[ch]:
2182 * inotify/inotify-helper.c:
2183 * glocaldirectorymonitor.[ch]:
2186 Update for the removed GDirectoryMonitor.
2188 * gmemoryoutputstream.c:
2189 Remove ununsed variable
2191 2008-01-07 Alexander Larsson <alexl@redhat.com>
2193 * gmemoryinputstream.c:
2194 Translate error strings
2197 * gmemoryoutputstream.[ch]:
2198 New implementation that avoids using GByteArray
2199 in implementation and API. (#506377)
2201 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2203 * tests/*: Add a test for memory input streams.
2205 * Makefile.am: Add tests to SUBDIRS.
2207 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2209 * glocalfilemonitor.c:
2210 * glocaldirectorymonitor.c: Mark property nicks and blurbs
2213 2008-01-06 Matthias Clasen <mclasen@redhat.com>
2215 * gdesktopappinfo.c: Fix a docs typo.
2217 * gfileattribute.c: Add information about extended attributes
2218 to the documentation. (#505058)
2220 2008-01-04 Alexander Larsson <alexl@redhat.com>
2223 * gmountoperation.c:
2224 Use the right type (uint) for the ask_password signal.
2226 2008-01-04 Alexander Larsson <alexl@redhat.com>
2231 Add g_app_info_supports_files()
2232 Remove desktop arg from g_app_info_should_show().
2234 * gdesktopappinfo.[ch]:
2235 Implement g_app_info_supports_files() and new should_show()
2236 Add g_desktop_app_info_set_desktop_env() to set the desktop
2237 for should_show(). (This will be set by gtk+ later)
2239 2008-01-04 Alexander Larsson <alexl@redhat.com>
2242 * gmemoryinputstream.[ch]:
2243 Improve API so that you can use multiple chunks
2244 of memory and custom destroy functions. (#506374)
2246 2008-01-03 Alexander Larsson <alexl@redhat.com>
2249 Handle NULL attribute matchers safely, as we return this
2250 for empty attribute matcher strings.
2252 2008-01-03 Alexander Larsson <alexl@redhat.com>
2254 * gunixmounts.c (g_unix_is_mount_path_system_internal):
2255 Add /usr/local to list of internal mountpoints
2257 2008-01-03 Alexander Larsson <alexl@redhat.com>
2260 Check for HAVE_LCHOWN (#505887)
2262 2008-01-03 Alexander Larsson <alexl@redhat.com>
2266 Add define for selinux context attribute.
2267 Fix missing : -> :: namespace separator change
2268 Fix missing _ -> - name change for xattr-sys.
2271 2008-01-03 Alexander Larsson <alexl@redhat.com>
2274 Link to libglib and libgobject directly (#504879)
2275 Patch from Sebastien Bacher
2277 2008-01-01 Wouter Bolsterlee <wbolster@svn.gnome.org>
2279 * gfile.c: Expanded the g_file_new_for_commandline_arg
2280 description a bit, based on the code and the docs of the
2281 other g_file_new_for_* functions.
2283 2007-12-31 Wouter Bolsterlee <wbolster@svn.gnome.org>
2285 * gfilemonitor.h: Fixed typo in docs.
2287 2007-12-31 Mathias Hasselmann <mathias@openismus.com>
2289 Updates to GIO documentation. (#506395, Mikael Hermansson)
2291 * gcontenttype.c: Describe memory management for return value of
2292 g_content_types_get_registered(). Missing piece from #505815.
2293 * gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
2294 GVolume, GDrive, GMounts, which hopefully gives the user less
2295 confusions when using this API. Following explainations from
2296 Alexander Larsson on gtk-devel-list.
2298 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2300 * gfileinfo.c: Expand the long description.
2302 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2305 * inotify/Makefile.am: Use GLIB_DEBUG_FLAGS. This should
2306 fix builds with --disable-visibility. (#500273, Christian Persch)
2308 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2310 * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
2311 in the list of returned app infos.
2313 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2315 * gappinfo.c: Fix a cross-reference
2317 2007-12-30 Matthias Clasen <mclasen@redhat.com>
2319 * gfileinputstream.c:
2320 * gfileoutputstream.c:
2324 * gdesktopappinfo.c:
2326 * gfileinfo.c: Documentation updates.
2328 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2330 * gdesktopappinfo.c: Include crt_externs.h. (#505730,
2333 2007-12-26 Matthias Clasen <mclasen@redhat.com>
2335 * gcontenttype.c (g_content_types_get_registered): Don't return
2336 freed memory (#505815, Mikael Hermansson)
2338 2007-12-25 Paolo Borelli <pborelli@katamail.com>
2340 * glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
2341 used to detect statbuf->st_blocks. (#505042)
2343 2007-12-24 Matthias Clasen <mclasen@redhat.com>
2345 * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
2346 environment handling. (#504829, Cosimo Cecchi)
2348 2007-12-22 Matthias Clasen <mclasen@redhat.com>
2350 * gappinfo.c: Doc improvements
2352 * gdesktopappinfo.c (g_app_info_get_all): Return app infos,
2355 2007-12-20 Matthias Clasen <mclasen@redhat.com>
2357 * === Released 2.15.0 ===
2359 2007-12-20 Hans Breuer <hans@breuer.org>
2361 * makefile.msc : don't build gdesktopappinfo.obj, it collides
2362 with symbols gwin32appinfo.obj, added gmount.obj
2363 * gio.symbols : mark g_desktop_app_* as G_OS_UNIX
2365 2007-12-20 Alexander Larsson <alexl@redhat.com>
2371 * gfilenamecompleter.c:
2374 * gpollfilemonitor.c:
2375 File attribute renames:
2377 fs:: -> filesystem::
2378 id::fs -> id::filesystem
2380 2007-12-20 Alexander Larsson <alexl@redhat.com>
2389 Add GMountUnmountFlags to all unmount and
2391 Add g_mount_remount() call.
2393 2007-12-20 Alexander Larsson <alexl@redhat.com>
2395 * gvfs.c (get_default_vfs):
2396 Fix unused variable warning
2398 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2400 * pltcheck.sh: Update
2402 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2404 * gunionvolumemonitor.c:
2405 * gunixmount.c: Remove C99 comments
2407 2007-12-19 Matthias Clasen <mclasen@redhat.com>
2409 * gio.symbols: Add some missing symbols
2411 2007-12-19 Alexander Larsson <alexl@redhat.com>
2414 Make g_io_modules_load_all_in_directory not unuse
2415 loaded modules so that users of it can do stuff
2417 Init internal "module" types.
2418 Initialize static prio and name for types so that
2419 we don't have to load modules to get it.
2421 * gnativevolumemonitor.h:
2423 Move is_supported to parent class so that
2424 non-native monitors can avoid being initialized
2425 too. (For instance GDaemonVolumeMonitor if we're
2426 not using GDaemonVfs.)
2428 * glocaldirectorymonitor.[ch]:
2429 * glocalfilemonitor.[ch]:
2430 * gunionvolumemonitor.c:
2431 * gunixvolumemonitor.c:
2433 Find plugins using the static prio+name to
2434 avoid unnecessarily loading the modules.
2436 2007-12-19 Alexander Larsson <alexl@redhat.com>
2441 2007-12-19 Alexander Larsson <alexl@redhat.com>
2443 * gunionvolumemonitor.c:
2444 Store the native type as GType, not class so that
2445 we can unload it. But still avoid unnecessarily
2448 2007-12-19 David Zeuthen <davidz@redhat.com>
2450 Introduce g_volume_monitor_adopt_orphan_mount() function. Also
2451 add signals 'disconnected' and 'eject-button' on GDrive. Add
2452 signal 'removed' on GVolume and 'unmounted' on GMount.
2454 * gdrive.c: (g_drive_base_init):
2456 * gfile.c: (g_file_mount_mountable),
2457 (g_file_mount_enclosing_volume):
2460 * gmount.c: (g_mount_base_init):
2462 * gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
2463 * gunixvolumemonitor.c: (update_volumes), (update_mounts):
2464 * gvolume.c: (g_volume_base_init), (g_volume_mount):
2468 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2470 * *.c: Fix up includes in the section docs.
2472 2007-12-17 Alexander Larsson <alexl@redhat.com>
2474 * gnativevolumemonitor.h:
2475 * gunionvolumemonitor.c:
2476 * gunixvolumemonitor.c:
2477 Add is_supported() to GNativeVolumeMonitorClass so
2478 that we can avoid having to create an object to see
2479 if the backend is supported at runtime.
2480 Also add name member and an env var to pick a specific
2481 volume monitor backend.
2485 Add cancellable to _g_mount_get_for_mount_path()
2487 * glocaldirectorymonitor.c:
2488 * glocalfilemonitor.c:
2489 Avoid loading and unloading modules while sorting.
2491 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2494 * gunixmounts.[hc]: Namespace waste reduction, move some
2495 g_get_unix_mount functions to the g_unix_mount namespace.
2498 * gunixvolumemonitor.c:
2500 * glocaldirectorymonitor.c: Update all callers.
2502 * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path
2504 2007-12-17 Alexander Larsson <alexl@redhat.com>
2507 Add doc comments about what GFile operations are
2508 guaranteed to not block.
2510 2007-12-17 Alexander Larsson <alexl@redhat.com>
2513 Add missing #ifdef fixing OSX build.
2514 (#503334, patch from Richard Hult)
2516 2007-12-14 David Zeuthen <davidz@redhat.com>
2520 * gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
2521 (g_mount_eject), (g_mount_eject_finish):
2523 * gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
2524 (get_volume_for_uuid), (get_mount_for_uuid),
2525 (g_union_volume_monitor_class_init),
2526 (get_default_native_type_with_exclude), (get_default_native_type),
2527 (get_native_type), (update_native_type),
2528 (g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
2529 * gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
2530 (g_unix_mount_can_eject), (eject_unmount_cb),
2531 (eject_unmount_read_error), (eject_unmount_do),
2532 (g_unix_mount_unmount), (g_unix_mount_eject),
2533 (g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
2534 * gunixmounts.c: (g_unix_mount_guess_can_eject),
2535 (g_unix_mount_point_guess_can_eject):
2537 * gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
2538 (g_unix_volume_can_eject), (g_unix_volume_get_drive),
2539 (eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
2540 (g_unix_volume_mount), (g_unix_volume_eject),
2541 (g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
2542 * gunixvolumemonitor.c: (get_volume_for_uuid),
2543 (get_mount_for_uuid), (g_unix_volume_monitor_class_init),
2545 * gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
2546 (g_volume_eject), (g_volume_eject_finish):
2548 * gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
2549 (g_volume_monitor_get_mount_for_uuid):
2552 Provide eject() on both GMount and GVolume and utility functions
2553 to guess whether a GUnixMountPoint or GUnixMountEntry should be
2554 ejected. Introduce the concept of UUID's and wire it into GVolume
2555 and GMount and provide API on GVolumeMonitor to find such
2556 instances. Also handle the case where an external
2557 GNativeVolumeMonitor fails to initialize. Lock around the
2558 _g_get_mount_for_mount_path() function such that volume monitor
2559 implementations won't have to do locking themselves.
2561 2007-12-17 Matthias Clasen <mclasen@redhat.com>
2563 * gdesktopappinfo.c:
2569 * gvolume.h: Documentation updates
2571 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2574 * gfile.h: Doc updates
2576 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2579 * gdesktopappinfo.c: Use hash table iterators.
2581 2007-12-14 Alexander Larsson <alexl@redhat.com>
2584 * gfileattribute.[ch]:
2585 * gfileattribute-priv.h:
2586 Move GFileAttributeValue to a private header, as
2590 Make set_attribute take a type + a pointer instead
2591 of a GFileAttributeValue.
2594 Fix up for above changes.
2595 Add g_file_info_get_attribute_data to get
2596 all info in one call, g_file_info_get_attribute_status
2597 to get the status and g_file_info_get_attribute_as_string.
2601 * glocalfileinfo.[ch]:
2605 Make _guess_type static.
2607 2007-12-14 Yevgen Muntyan <muntyan@tamu.edu>
2610 * inotify/Makefile.am: Fixed build when srcdir != builddir,
2611 made mkenums and friends use temporary files to avoid leaving
2612 empty generated files on failure (#503470).
2614 2007-12-14 Alexander Larsson <alexl@redhat.com>
2616 * gmountoperation.h:
2619 2007-12-14 Alexander Larsson <alexl@redhat.com>
2623 * gfileattribute.[ch]:
2626 * glocalfileoutputstream.c:
2627 * gmountoperation.[ch]:
2628 * goutputstream.[ch]:
2629 Clean up all flags enums to not have _FLAGS in them
2630 Make the names of some of the enums better.
2635 2007-12-14 Michael Natterer <mitch@imendio.com>
2637 * gio.symbols: fix g_io_scheduler symbol names.
2639 2007-12-14 Alexander Larsson <alexl@redhat.com>
2645 * gbufferedinputstream.h:
2646 * gbufferedoutputstream.h:
2649 * gdatainputstream.h:
2650 * gdataoutputstream.h:
2651 * gdesktopappinfo.h:
2652 * gdirectorymonitor.h:
2656 * gfileenumerator.h:
2659 * gfileinputstream.h:
2661 * gfilenamecompleter.h:
2662 * gfileoutputstream.h:
2663 * gfilterinputstream.h:
2664 * gfilteroutputstream.h:
2672 * gmemoryinputstream.h:
2673 * gmemoryoutputstream.h:
2675 * gmountoperation.h:
2678 * gsimpleasyncresult.h:
2680 * gunixinputstream.h:
2682 * gunixoutputstream.h:
2686 * inotify/Makefile.am:
2687 Only allow including <gio/gio.h> from apps
2689 2007-12-14 Alexander Larsson <alexl@redhat.com>
2691 * gioscheduler.[ch]:
2692 * gsimpleasyncresult.c:
2693 Rename gioscheduler calls so they all use the g_io_schedule_ prefix.
2694 Split out the send_to_mainloop call into two versions instead
2695 of having the block argument.
2697 2007-12-13 Alexander Larsson <alexl@redhat.com>
2699 * gcancellable.[ch]:
2701 * gbufferedinputstream.c:
2702 * gfileenumerator.c:
2703 * gfileinputstream.c:
2704 * gfileoutputstream.c:
2708 g_push/pop_current_cancellable ->
2709 g_cancellable_push/pop_current
2711 2007-12-13 Alexander Larsson <alexl@redhat.com>
2715 Rename g_mount_for_location to g_file_mount_enclosing_volume.
2717 2007-12-13 Alexander Larsson <alexl@redhat.com>
2719 * gmountoperation.h:
2720 G_PASSWORD_FLAGS_ANON_SUPPORTED -> G_PASSWORD_FLAGS_ANONYMOUS_SUPPORTED
2722 2007-12-12 Alexander Larsson <alexl@redhat.com>
2725 Fix race condition when freeing proxy in
2726 g_io_job_send_to_mainloop().
2728 2007-12-12 Alexander Larsson <alexl@redhat.com>
2734 Make attribute namespace separator "::" instead of ":".
2735 Use - instead of _ as separator in attribute names.
2737 2007-12-12 Alexander Larsson <alexl@redhat.com>
2739 * gbufferedinputstream.h:
2740 * gbufferedoutputstream.h:
2741 * gdatainputstream.h:
2742 * gdataoutputstream.h:
2743 * gdirectorymonitor.h:
2744 * gfileenumerator.h:
2745 * gfileinputstream.h:
2747 * gfileoutputstream.h:
2748 * gfilterinputstream.h:
2749 * gfilteroutputstream.h:
2751 * glocalfileinputstream.h:
2752 * glocalfileoutputstream.h:
2753 * gmemoryinputstream.h:
2754 * gmemoryoutputstream.h:
2755 * gnativevolumemonitor.h:
2757 * gunixinputstream.h:
2758 * gunixoutputstream.h:
2761 s/parent/parent_instance/ in GObjects
2763 2007-12-12 Alexander Larsson <alexl@redhat.com>
2768 No need for padding for interfaces
2770 2007-12-12 Alexander Larsson <alexl@redhat.com>
2774 * gbufferedinputstream.c:
2775 * gbufferedoutputstream.c:
2778 * gdatainputstream.[ch]:
2779 * gdesktopappinfo.c:
2780 * gdirectorymonitor.c:
2782 * gfileattribute.[ch]:
2785 * gfileinputstream.h:
2786 * gfilemonitor.[ch]:
2787 * gfileoutputstream.[ch]:
2788 * gfilterinputstream.h:
2789 * gfilteroutputstream.h:
2792 * gloadableicon.[ch]:
2793 * gmemoryinputstream.c:
2794 * gmountoperation.c:
2796 Fix up a bunch of details in the docs.
2801 2007-12-11 David Zeuthen <davidz@redhat.com>
2803 Rework how volumes, drives and volume monitoring is
2804 done. Previosly the model was
2806 GDrive <1-1> GVolume
2808 where a GDrive instance represented a mount point and a GVolume
2809 instance represented a mounted file system. This patch changes it
2812 GDrive <1-N> GVolume <1-1> GMount
2814 where GMount now serves the purpose of the old GVolume and the new
2815 GVolume serves the purpose of the old GDrive. In addition the new
2816 GDrive interface is used to represent a collection of GVolume
2817 instances (typically partitions) and also contains utility to query
2818 the state of the physical drive the GDrive object represents (such
2819 as checking for media, polling the drive, ejecting the media etc.).
2821 Also implement mounting and unmounting in the Unix volume monitor
2822 backend. A subquent patch will introduce GDrive support for ejection
2826 * gdrive.c: (g_drive_is_media_check_automatic),
2827 (g_drive_is_media_removable), (g_drive_has_media),
2828 (g_drive_can_poll_for_media), (g_drive_eject),
2829 (g_drive_eject_finish), (g_drive_poll_for_media),
2830 (g_drive_poll_for_media_finish):
2832 * gfile.c: (g_file_find_enclosing_mount):
2835 * glocaldirectorymonitor.c:
2836 (g_local_directory_monitor_constructor), (mounts_changed):
2837 * glocalfile.c: (get_mount_info),
2838 (g_local_file_find_enclosing_mount),
2839 (g_local_file_file_iface_init):
2840 * gnativevolumemonitor.h:
2841 * gunionvolumemonitor.c: (get_mounts), (get_volumes),
2842 (get_connected_drives), (g_union_volume_monitor_class_init),
2843 (child_volume_added), (child_volume_removed),
2844 (child_volume_changed), (child_mount_added), (child_mount_removed),
2845 (child_mount_pre_unmount), (child_mount_changed),
2846 (child_drive_changed), (g_union_volume_monitor_add_monitor),
2847 (g_union_volume_monitor_remove_monitor),
2848 (_g_mount_get_for_mount_path):
2849 * gunixmounts.c: (g_unix_is_mount_path_system_internal),
2850 (guess_system_internal), (_g_get_unix_mounts),
2851 (_g_get_unix_mount_points), (g_get_unix_mount_at),
2852 (g_unix_mount_free), (g_unix_mount_compare),
2853 (g_unix_mount_get_mount_path), (g_unix_mount_get_device_path),
2854 (g_unix_mount_get_fs_type), (g_unix_mount_is_readonly),
2855 (g_unix_mount_is_system_internal), (g_unix_mount_guess_type),
2856 (type_to_icon), (g_unix_mount_guess_name),
2857 (g_unix_mount_guess_icon), (g_unix_mount_point_guess_name),
2858 (g_unix_mount_point_guess_icon), (_canonicalize_filename),
2859 (_resolve_symlink), (_resolve_dev_root):
2861 * gunixvolume.c: (g_unix_volume_finalize), (_g_unix_volume_new),
2862 (_g_unix_volume_disconnected), (_g_unix_volume_set_mount),
2863 (_g_unix_volume_unset_mount), (g_unix_volume_get_icon),
2864 (g_unix_volume_get_name), (g_unix_volume_can_mount),
2865 (g_unix_volume_get_drive), (g_unix_volume_get_mount),
2866 (_g_unix_volume_has_mount_path), (mount_cb), (mount_read_error),
2867 (g_unix_volume_mount), (g_unix_volume_mount_finish),
2868 (g_unix_volume_volume_iface_init):
2870 * gunixvolumemonitor.c: (g_unix_volume_monitor_finalize),
2871 (get_mounts), (get_volumes), (get_connected_drives),
2872 (get_mount_for_mount_path), (g_unix_volume_monitor_class_init),
2873 (mountpoints_changed), (mounts_changed),
2874 (g_unix_volume_monitor_init),
2875 (_g_unix_volume_monitor_lookup_volume_for_mount_path),
2876 (find_mount_by_mountpath), (update_volumes), (update_mounts):
2877 * gunixvolumemonitor.h:
2878 * gvolume.c: (g_volume_get_mount), (g_volume_can_mount),
2879 (g_volume_mount), (g_volume_mount_finish):
2881 * gvolumemonitor.c: (g_volume_monitor_class_init),
2882 (g_volume_monitor_get_connected_drives),
2883 (g_volume_monitor_get_volumes), (g_volume_monitor_get_mounts):
2886 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2888 * gmountoperation.h (GPasswordFlags): Close the gap
2890 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2892 * Makefile.am: Install gdesktopappinfo.h as unix-specific header.
2894 * gdesktopappinfo.[hc]: Remove _-prefixes
2896 2007-12-10 Tor Lillqvist <tml@novell.com>
2898 * glocalfile.c: Add some more G_OS_WIN32 conditionals to silence
2901 2007-12-10 Alexander Larsson <alexl@redhat.com>
2903 * gfile.c (g_file_set_display_name):
2904 Don't hardcode '/' (#502727)
2906 2007-12-09 Hans Breuer <hans@breuer.org>
2908 * makefile.msc : follow lib naming convention
2909 * glocalfileinfo.c(win32_get_file_user_info) : working implementation
2910 for user and group name, tested with ../tests/gio-ls
2912 2007-12-09 A. Walton <awalton@svn.gnome.org>
2914 * gdesktopappinfo.c:
2920 * gfileenumerator.c:
2925 * gmemoryinputstream.c:
2926 * gmemoryoutputstream.c:
2928 * gsimpleasyncresult.c:
2929 More documentation cleanup and filling in missing information, bringing
2930 GIO to 99% symbol coverage.
2932 2007-12-08 Hans Breuer <hans@breuer.org>
2934 [gio compiles and links on win32, not sure how much already works]
2935 * glocaldirectorymonitor.c : ifdefed out inotify emulation for win32
2936 * glocalfile.c : use HAVE_UNISTD_H; implement file system size info
2937 base on win32 API; prefer g_lstat() over lstat(); instead of
2938 localtime_r() use an all GLib implementation on win32;
2939 get_mount_info() still needs a win32 specifc implementation
2940 * glocalfileinfo.c : use HAVE_*_H; start of implementation of
2941 win32_get_file_user_info to get owner/group info without uid/gid
2942 * glocalfileinputstream.c : include <io.h> on win32
2943 * glocalfileoutputstream.c : include <io.h> on win32 and some S_IS*
2944 definition, use g_win32_ftruncate() for G_OS_WIN32
2945 * gwin32appinfo.c : optionalize a bunch on #ifdef AssocQueryString
2946 it is available with mingw/w32api but a mess with the M$ Platform SDKs
2947 see: http://mail.gnome.org/archives/gtk-devel-list/2007-December/msg00014.html
2948 * makefile.msc : updated
2950 2007-12-07 Alexander Larsson <alexl@redhat.com>
2952 * glocalfileenumerator.c (_g_local_file_enumerator_new):
2953 Avoid warning spew if error == NULL
2955 2007-12-07 Alexander Larsson <alexl@redhat.com>
2958 Update docs wrt etags
2960 2007-12-06 Alexander Larsson <alexl@redhat.com>
2963 Include sys/types.h for dev_t (#501919)
2965 2007-12-06 Behdad Esfahbod <behdad@gnome.org>
2969 Make abicheck and pltcheck pass.
2971 2007-12-05 Alexander Larsson <alexl@redhat.com>
2974 * giomodule-priv.h: Added.
2975 * glocaldirectorymonitor.c:
2976 * glocalfilemonitor.c:
2977 * gunionvolumemonitor.c:
2979 Actually add the declaration of _g_io_modules_ensure_loaded
2981 2007-12-05 Alexander Larsson <alexl@redhat.com>
2983 * gdatainputstream.c:
2988 * glocaldirectorymonitor.c:
2989 * glocalfilemonitor.c:
2990 * gunionvolumemonitor.c:
2992 Make g_io_modules_ensure_loaded a private function and
2993 don't pass in the dirname. This means we can do magic
2994 directory finding in the win32 version.
2995 Export the actual load-modules-in-directory code so that
2996 gvfs can reuse that.
2998 2007-12-05 Alexander Larsson <alexl@redhat.com>
3000 * gbufferedinputstream.c:
3001 * gbufferedoutputstream.c:
3004 * gfileenumerator.[ch]:
3005 * gfileinputstream.c:
3006 * gfileoutputstream.[ch]:
3007 * gfilterinputstream.c:
3008 * gfilteroutputstream.c:
3009 * ginputstream.[ch]:
3011 * glocalfileenumerator.c:
3012 * glocalfileinputstream.c:
3013 * glocalfileoutputstream.c:
3014 * gmemoryinputstream.c:
3015 * gmemoryoutputstream.c:
3016 * goutputstream.[ch]:
3019 * gunixinputstream.c:
3020 * gunixoutputstream.c:
3021 Rename all struct members named:
3022 read, write, close, truncate, or mount
3023 to foo_fn, as these are reserved names
3024 and could be defined as macros in libc.
3027 2007-12-04 Alexander Larsson <alexl@redhat.com>
3030 (g_output_stream_close):
3031 Only call flush if non-null.
3033 2007-11-30 Dan Winship <danw@gnome.org>
3035 * ginputstream.c (g_input_stream_set_pending): Make this take a
3036 GError and return a gboolean, and do the "outstanding operation"
3037 check (and the "stream is already closed" check) itself.
3038 (g_input_stream_clear_pending): Formerly set_pending(FALSE).
3040 * goutputstream.c (g_output_stream_set_pending)
3041 (g_output_stream_clear_pending): Likewise
3043 * gbufferedinputstream.c:
3044 * gfileinputstream.c:
3045 * gfileoutputstream.c: Update for that
3047 * gsimpleasyncresult.c (g_simple_async_report_gerror_in_idle):
3048 Like g_simple_async_report_error_in_idle, but takes a GError
3049 rather than building one.
3051 2007-11-30 Dan Winship <danw@gnome.org>
3053 * goutputstream.c: Don't cheat and unset the "pending" flag around
3054 inner calls. Instead, call the class method directly rather than
3055 the wrapper function that checks "pending"
3057 2007-12-03 Behdad Esfahbod <behdad@gnome.org>
3059 * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
3061 2007-12-03 Hans Breuer <hans@breuer.org>
3063 [start of port to win32/msvc]
3064 * gcancellable.c : HAVE_UNIST_H and _pipe()
3065 * gcontenttype.c : only include <dirent.h> in the UNIX branch
3066 * gdatainputstream.c : pointer arithmetic on void* is a gcc extension
3067 * gdummyfile.c glocalfileinputstream.c gsimpleasyncresult.c : use
3069 * glocalfileoutputstream.c : use HAVE_UNIST_H and s/ssize_t/gssize/
3070 * glocalvfs.c : use HAVE_PWD_H
3071 * gio.symbols : ifdef unix specific functions with G_OS_UNIX
3072 * makefile.msc : new file (maybe later converted to makefile.msc.in)
3073 * Makefile.am : added to EXTRA_DIST
3075 2007-12-03 Matthias Clasen <mclasen@redhat.com>
3077 * gfile.c (g_file_copy): Add a cross-reference to g_file_dup().
3080 2007-12-03 Alexander Larsson <alexl@redhat.com>
3083 Handle OSX style xattrs API (#500506)
3085 2007-12-03 Alexander Larsson <alexl@redhat.com>
3089 Add G_FILE_COPY_NO_FALLBACK_FOR_MOVE flag
3091 2007-12-02 A. Walton <awalton@svn.gnome.org>
3095 Documentation accuracy fixes.
3097 2007-12-01 Behdad Esfahbod <behdad@gnome.org>
3099 * gioenumtypes.c.template: Fix typo.
3101 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3103 * gioenumtypes.c.template: Make threadsafe get_type() functions.
3105 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3107 * gdirectorymonitor.c:
3108 * gfilemonitor.c: Add properties
3110 * gbufferedoutputstream.c: Don't mark buffer-size property
3113 2007-12-01 Matthias Clasen <mclasen@redhat.com>
3115 * gbufferedoutputstream.c: Add auto-grow property.
3117 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3119 * *.c: Unify the capitalization of section headings.
3121 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3123 * gmountoperation.c: Add properties
3125 * gdatainputstream.c: Turn byte-order and newline-type into
3128 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3130 * gioenumtypes.[hc].template: Templates for enum registration
3132 * Makefile.am: Generate gioenumtypes.[hc]
3134 * gio.h: Include gioenumtypes.h
3136 * gfile.h: Add some explicit nicks.
3138 * gio.symbols: Add new symbols
3140 * pltcheck.sh: Adjust
3142 2007-11-30 Matthias Clasen <mclasen@redhat.com>
3144 * *.c: Explain etags and link to the explanation
3146 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3148 * *.c: Explain I/O priority.
3150 * *.c: More coding style fixes.
3152 2007-11-29 Matthias Clasen <mclasen@redhat.com>
3154 * gasyncresult.c: Add another paragraph to the intro,
3155 adjust coding style of example.
3157 2007-11-29 A. Walton <awalton@svn.gnome.org>
3160 Fixes unknown meaning in GAppLaunchContext docs.
3162 Clarify asynchronous ops.
3164 Fix entity tag docs.
3167 Provides missing gtk-doc section, fixes API docs slighly.
3168 * gsimpleasyncresult.c:
3169 Fill in missing info in docs.
3170 * gunixinputstream.c:
3171 * gunixoutputstream.c:
3172 Be more expressive in short description.
3174 Remove gtk-doc stubs for non-public API.
3176 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3178 * *.c: Coding style fixups
3180 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3182 * inotify/inotify-helper.c: Don't export the lock from libgio.
3184 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3187 * abicheck.sh: Fix copy-and-paste leftovers
3189 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3191 * gfile.h: Add G_FILE_COPY_FLAGS_NONE for consistency.
3193 2007-11-28 Alexander Larsson <alexl@redhat.com>
3197 Removed unnecessary file
3199 * gdesktopappinfo.[ch]:
3202 * glocaldirectorymonitor.[ch]:
3204 * glocalfileenumerator.[ch]:
3205 * glocalfileinputstream.[ch]:
3206 * glocalfilemonitor.[ch]:
3207 * glocalfileoutputstream.[ch]:
3209 * gnativevolumemonitor.c:
3210 * gpollfilemonitor.[ch]:
3211 * gunionvolumemonitor.[ch]:
3214 * gunixvolumemonitor.[ch]:
3217 * inotify/ginotifydirectorymonitor.[ch]:
3218 * inotify/ginotifyfilemonitor.[ch]:
3219 * inotify/inotify-helper.c:
3220 Append _ to all internal functions
3224 Export symbols needed for modules
3226 2007-11-28 Alexander Larsson <alexl@redhat.com>
3229 * abicheck.sh: Added.
3230 * makegioalias.pl: Added.
3231 * pltcheck.sh: Added.
3232 * gio.symbols: Added.
3235 Initial work on adding symbol handling.
3238 Correct ifdef guard name
3241 * inotify/Makefile.am:
3242 * xdgmime/Makefile.am:
3243 Include toplevel Makefile.decl
3245 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3247 * gcontenttype.c: Move doc comments to the unix section.
3249 * *.[hc]: More trivial doc corrections.
3251 2007-11-27 Matthias Clasen <mclasen@redhat.com>
3253 * gpollfilemonitor.c:
3257 * gdesktopappinfo.c:
3262 * gdatainputstream.c:
3263 * gdatainputstream.h:
3264 * gdataoutputstream.c:
3265 * gdataoutputstream.h:
3266 * gfileinfo.h: Doc cleanups
3268 2007-11-28 Andre Klapper <a9016009@gmx.de>
3270 * gdesktopappinfo.c: Fix a typo.
3272 2007-11-27 Andre Klapper <a9016009@gmx.de>
3274 * glocalfileoutputstream.c: Fix a typo.
3276 2007-11-27 Alexander Larsson <alexl@redhat.com>
3279 Don't include removed headers
3281 2007-11-27 Alexander Larsson <alexl@redhat.com>
3284 * gsocketinputstream.[ch]: Removed.
3285 * gsocketoutputstream.[ch]: Removed.
3286 * gunixinputstream.[ch]: Added.
3287 * gunixoutputstream.[ch]: Added.
3288 Renamed GSocket*Stream to GUnix*Stream and made
3289 it unix-only, since its not really only for sockets
3290 and it only works on unix (but is highly useful there).
3292 2007-11-27 Andrew Walton <awalton@svn.gnome.org>
3298 * gbufferedinputstream.c:
3299 * gbufferedinputstream.h:
3300 * gbufferedoutputstream.c:
3301 * gbufferedoutputstream.h:
3305 * gdatainputstream.c:
3306 * gdatainputstream.h:
3307 * gdataoutputstream.c:
3308 * gdataoutputstream.h:
3309 * gdirectorymonitor.c:
3310 * gdirectorymonitor.h:
3317 * gfileenumerator.c:
3318 * gfileenumerator.h:
3323 * gfileinputstream.c:
3324 * gfileinputstream.h:
3327 * gfilenamecompleter.c:
3328 * gfilenamecompleter.h:
3329 * gfileoutputstream.c:
3330 * gfileoutputstream.h:
3331 * gfilterinputstream.c:
3332 * gfilterinputstream.h:
3333 * gfilteroutputstream.c:
3334 * gfilteroutputstream.h:
3347 * glocalfileoutputstream.c:
3348 * gmemoryinputstream.c:
3349 * gmemoryinputstream.h:
3350 * gmemoryoutputstream.c:
3351 * gmemoryoutputstream.h:
3352 * gmountoperation.c:
3353 * gmountoperation.h:
3356 * gpollfilemonitor.c:
3359 * gsimpleasyncresult.c:
3360 * gsimpleasyncresult.h:
3361 * gsocketinputstream.c:
3362 * gsocketinputstream.h:
3363 * gsocketoutputstream.c:
3364 * gsocketoutputstream.h:
3371 * gunixvolumemonitor.c:
3380 Bumps documentation to 93% symbol coverage, touching most
3381 of the public files. Fixes broken function documentation prototypes.
3382 Fixes GCancellable inaccuracies. Removes unnecessary incomplete
3383 gtk-doc headers in private files.
3385 2007-11-27 Jürg Billeter <j@bitron.ch>
3387 * gbufferedinputstream.c: (g_buffered_input_stream_peek_buffer),
3388 (g_buffered_input_stream_read_byte):
3389 * gbufferedinputstream.h:
3390 New functions for efficient access to buffer and simple single byte
3393 * gdatainputstream.c: (scan_for_newline), (scan_for_chars),
3394 (g_data_input_stream_read_until):
3395 * gdatainputstream.h:
3396 Use peek_buffer to avoid memcpy in scan_for_newline, implement
3397 read_until with multiple stop chars.
3399 2007-11-27 Alexander Larsson <alexl@redhat.com>
3403 * inotify/Makefile.am:
3404 Use the user-specified giomoduledir
3406 2007-11-27 Alexander Larsson <alexl@redhat.com>
3410 Add catch-all gio.h header
3411 Don't install gdummyfile.h
3413 2007-11-26 Alexander Larsson <alexl@redhat.com>
3415 * Makefile.am (gioinclude_HEADERS):
3416 Remove trailing whitespace
3418 2007-11-26 Alexander Larsson <alexl@redhat.com>
3420 Merge gio-standalone into glib
3422 2007-11-25 Christian Kellner <gicmo@gnome.org>
3424 * gio/goutputstream.c:
3425 Fix small mistake in the docs.
3427 2007-11-21 Christian Persch <chpe@gnome.org>
3429 * gio/glocalfile.c: (g_local_file_trash):
3430 Convert filenames to UTF-8 for GError.
3431 Use g_mkdir_with_parent to create the Trash dir, and use mode 0700
3432 as per xdg base dir spec.
3434 2007-11-21 Christian Persch <chpe@gnome.org>
3436 * gio/gdesktopappinfo.c:
3437 Use that g_key_file_to_data cannot fail.
3439 Use stock defines for the key file group and key names.
3442 2007-11-21 Alexander Larsson <alexl@redhat.com>
3445 (copy_stream_with_progress):
3446 Make sure we do a final progress callback with
3447 the full total size.
3449 2007-11-21 Alexander Larsson <alexl@redhat.com>
3452 Export g_file_copy_attributes
3453 Remove padding as its not needed for interfaces
3455 2007-11-20 Alexander Larsson <alexl@redhat.com>
3460 Add G_IO_ERROR_WOULD_MERGE for
3461 copy/move dir on dir with overwrite.
3463 2007-11-20 Alexander Larsson <alexl@redhat.com>
3466 * gio/glocalfileinfo.c:
3467 Add COPY_NAME (this is an optional
3468 non-modified utf8 version of the name) that
3471 2007-11-20 Alexander Larsson <alexl@redhat.com>
3473 * gio/glocalfileenumerator.c:
3474 Report errors as GIOError, not GFileError
3476 2007-11-16 Alexander Larsson <alexl@redhat.com>
3478 * gio/glocalfileoutputstream.c:
3479 * gio/gwin32appinfo.c:
3480 Fix typos in strings.
3481 Patch from Luca Ferretti <elle.uca@libero.it>
3483 2007-11-15 Alexander Larsson <alexl@redhat.com>
3486 Post release version bump
3488 === gio-standalone 0.1.2 ===
3490 2007-11-15 Alexander Larsson <alexl@redhat.com>
3492 * docs/reference/gio/Makefile.am:
3493 Fix up distcheck by removing weird
3499 2007-11-14 Alexander Larsson <alexl@redhat.com>
3501 * gio/gdesktopappinfo.c:
3502 * gio/glocaldirectorymonitor.c:
3504 * gio/glocalfileinfo.c:
3505 * gio/inotify/inotify-sub.c:
3506 * programs/gio-cat.c:
3507 * programs/gio-copy.c:
3508 * programs/gio-info.c:
3509 * programs/gio-ls.c:
3510 * programs/gio-monitor-dir.c:
3511 * programs/gio-monitor-file.c:
3512 * programs/gio-mount.c:
3513 * programs/gio-move.c:
3514 * programs/gio-rm.c:
3515 * programs/gio-save.c:
3516 * programs/gio-trash.c:
3517 Leak fixes from Kjartan Maraas
3519 2007-11-14 Alexander Larsson <alexl@redhat.com>
3521 * gio/fam/fam-helper.c:
3523 * gio/glocalfileinfo.c:
3527 * gio/inotify/inotify-diag.c:
3528 * gio/inotify/inotify-kernel.c:
3529 Various code cleanups from Kjartan Maraas
3531 2007-11-14 Alexander Larsson <alexl@redhat.com>
3533 * gio/gioscheduler.c:
3535 Set up threadpool so that we cache 2 unused
3536 idle threads for at 15 secs. This means we
3537 will reuse thread-local data (like dbus connections)
3540 2007-11-14 Alexander Larsson <alexl@redhat.com>
3542 * gio/fam/fam-helper.c:
3543 * gio/fam/gfamdirectorymonitor.c:
3544 * gio/fam/gfamfilemonitor.c:
3546 * gio/gcontenttype.c:
3547 * gio/gdatainputstream.c:
3548 * gio/gdataoutputstream.c:
3552 * gio/gfileattribute.h:
3553 * gio/gfileenumerator.c:
3555 * gio/ginputstream.c:
3558 * gio/glocalfileinfo.c:
3559 * gio/goutputstream.c:
3560 * gio/gpollfilemonitor.c:
3561 * gio/gsimpleasyncresult.c:
3562 * gio/gunixmounts.c:
3563 * gio/gunixmounts.h:
3564 * gio/inotify/ginotifydirectorymonitor.c:
3565 * gio/inotify/ginotifyfilemonitor.c:
3566 * gio/inotify/inotify-diag.c:
3567 * gio/inotify/inotify-kernel.c:
3568 * gio/inotify/inotify-path.c:
3570 * gio/test-streams.c:
3571 * programs/gio-info.c:
3572 * programs/gio-monitor-dir.c:
3573 * programs/gio-monitor-file.c:
3574 Various code cleanups from Kjartan Maraas
3576 2007-11-13 Alexander Larsson <alexl@redhat.com>
3579 Handle the uri-scheme calls for dummy files
3581 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3583 * gio/gio/gfileinfo.[ch]: Use a different parameter name instead of
3584 'namespace' for in g_file_attribute_matcher_enumerate_namespace()
3585 to avoid clash with the C++ keyword.
3587 2007-11-13 Marko Anastasov <marko@marko.anastasov.name>
3589 * gio/glocalfileinfo.c: Build fix, added missing semicolon
3590 to an ifdef'ed call to getpwuid() in lookup_uid_data().
3592 2007-11-11 Sebastian Dröge <slomo@circular-chaos.org>
3594 * gio/glocaldirectorymonitor.c:
3595 * gio/glocalfilemonitor.c:
3596 * gio/gunionvolumemonitor.c:
3597 Don't use g_once_init_*() for initializations that could fail and
3598 could leave the initialization variable set to 0 but use GOnce.
3599 This prevents a deadlock on the second call when trying to create
3600 a monitor and no monitor type is available. Thanks to Sven Herzberg
3603 2007-11-11 Sven Herzberg <sven@imendio.com>
3605 * gio/glocalfile.c: guard the #include <sys/statfs.h> by the correct
3606 #ifdef (make it work on MacOS X again)
3608 2007-11-09 Andrew Walton <awalton@svn.gnome.org>
3610 Fixes Changelog for last two commits (sorry guys).
3612 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3614 * gio/gbufferedinputstream.c:
3615 * gio/gdatainputstream.c:
3617 * gio/gfileoutputstream.c:
3618 * gio/gfilterinputstream.c:
3619 * gio/glocalfileinputstream.c:
3622 More consistency fixes in g*stream.c files.
3623 Significant clean of gfile's documentation, filling in of
3624 asynchronous operations documentation.
3626 2007-11-07 Andrew Walton <awalton@svn.gnome.org>
3628 * gio/gasyncresult.c:
3629 * gio/gbufferedinputstream.c:
3630 * gio/gbufferedoutputstream.c:
3631 * gio/gcancellable.c:
3632 * gio/gcontenttype.c:
3633 * gio/gdatainputstream.c:
3634 * gio/gdataoutputstream.c:
3635 * gio/gdesktopappinfo.c:
3638 * gio/gfileattribute.c:
3639 * gio/gio/gfileenumerator.c:
3641 * gio/gfileinputstream.c:
3642 * gio/gfilemonitor.c:
3643 * gio/gfileoutputstream.c:
3644 * gio/ginputstream.c:
3646 * gio/gioscheduler.c:
3647 * gio/gloadableicon.c:
3648 * gio/glocalfileoutputstream.c:
3649 * gio/gmemoryoutputstream.c:
3650 * gio/gmountoperation.c:
3651 * gio/goutputstream.c:
3653 * gio/gsimpleasyncresult.c:
3654 * gio/gunionvolumemonitor.c:
3655 * gio/gunixmounts.c:
3656 * gio/gunixvolume.c:
3660 * gio/gvolumemonitor.c:
3661 Updated documentation stubs, working towards consistency and
3664 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3666 * gio/gmemoryoutputstream.c:
3667 * gio/gmemoryoutputstream.h:
3668 Change g_memory_output_stream_set_free_on_close() to
3669 g_memory_output_stream_set_free_data() as this makes more sense and
3670 is more consistent with GMemoryInputStream.
3672 2007-11-07 Alexander Larsson <alexl@redhat.com>
3679 Change how we find the default vfs so that
3680 we can handle a gvfs failing to init
3682 2007-11-07 Sebastian Dröge <slomo@circular-chaos.org>
3684 * gio/gbufferedoutputstream.c:
3685 * gio/gdatainputstream.c:
3686 * gio/gdataoutputstream.c:
3687 * gio/gfileinputstream.c:
3688 * gio/gfileoutputstream.c:
3689 * gio/gfilterinputstream.c:
3690 * gio/gfilteroutputstream.c:
3691 * gio/ginputstream.c:
3692 * gio/gmemoryinputstream.c:
3693 * gio/gmemoryoutputstream.c:
3694 * gio/goutputstream.c:
3695 * gio/gsimpleasyncresult.c:
3696 * gio/gsocketinputstream.c:
3697 * gio/gsocketoutputstream.c:
3698 Add guards to the remaining public functions, add a TODO for
3699 an unimplemented function and remove some useless guards.
3701 2007-11-07 Alexander Larsson <alexl@redhat.com>
3704 Autoconf checks for the various types of
3705 getpwuid_r and getgrgid_r
3707 * gio/glocalfileinfo.c:
3708 Use the autoconf checks from above
3710 2007-11-07 Alexander Larsson <alexl@redhat.com>
3713 (g_local_file_query_filesystem_info):
3714 Some fixes for the statvfs case
3716 2007-11-07 Alexander Larsson <alexl@redhat.com>
3719 (g_local_file_query_filesystem_info):
3720 Pick the "best" of statfs / statvfs for the system
3721 if both are availible.
3723 2007-11-07 Alexander Larsson <alexl@redhat.com>
3725 Solaris fixes from Halton.Huo@Sun.COM:
3732 * gio/glocalfileinfo.c:
3733 Fix for solaris definition of getpwuid_r
3735 * gio/test-streams.c:
3736 Use G_GNUC_PRETTY_FUNCTION
3738 2007-11-07 Alexander Larsson <alexl@redhat.com>
3740 * gio/gdesktopappinfo.c:
3741 (update_default_list):
3742 Remove double semicolon.
3743 Patch from Jens Granseuer
3745 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3747 * docs/reference/gio/gio-sections.txt:
3748 * gio/gbufferedinputstream.c:
3749 * gio/gbufferedinputstream.h:
3750 * gio/gdatainputstream.c:
3751 * gio/gfileenumerator.c:
3752 * gio/gioscheduler.c:
3753 * gio/gunionvolumemonitor.c:
3755 * programs/gio-save.c:
3756 Fix typo: availible -> available. Unfortuntely this breaks API
3757 and ABI as g_buffered_input_stream_get_available() was renamed.
3759 * gio/gunixmounts.c:
3760 * gio/gbufferedinputstream.c:
3761 Add guards for public functions.
3763 2007-11-06 Ross Burton <ross@openedhand.com>
3765 * docs/reference/gio/Makefile.am:
3766 Fix invalid += usage which automake 1.10 doesn't like.
3768 2007-11-06 Alexander Larsson <alexl@redhat.com>
3771 (g_app_launch_context_class_init):
3774 Patch from Ross Burton
3776 2007-11-06 Alexander Larsson <alexl@redhat.com>
3779 Post release version bump
3781 === gio-standalone 0.1.1 ===
3783 2007-11-06 Alexander Larsson <alexl@redhat.com>
3786 Bump version to 0.1.1
3788 * gio/gsimpleasyncresult.c:
3789 (g_simple_async_result_set_from_error):
3790 Remove bogus g_return_if_fail
3792 2007-11-06 Alexander Larsson <alexl@redhat.com>
3795 The name is gio-standalone
3798 Add top src/builddir to includedir
3800 2007-11-06 Alexander Larsson <alexl@redhat.com>
3802 * docs/reference/gio/gio-sections.txt:
3804 * gio/gbufferedinputstream.c:
3805 * gio/gbufferedoutputstream.c:
3806 * gio/gcancellable.c:
3807 * gio/gdatainputstream.h:
3808 * gio/gdataoutputstream.c:
3809 * gio/gdataoutputstream.h:
3810 * gio/gdirectorymonitor.c:
3812 * gio/gfileattribute.c:
3813 * gio/gfileattribute.h:
3814 * gio/gfileenumerator.c:
3815 * gio/gfileenumerator.h:
3818 * gio/gfileinputstream.h:
3819 * gio/gfilemonitor.c:
3820 * gio/gfileoutputstream.h:
3821 * gio/glocalfilemonitor.h:
3822 * gio/glocalfileoutputstream.h:
3823 * gio/gmemoryinputstream.c:
3824 * gio/gmemoryoutputstream.c:
3825 * gio/gmountoperation.c:
3826 * gio/goutputstream.c:
3827 * gio/goutputstream.h:
3829 * gio/gsimpleasyncresult.c:
3830 * gio/gunixmounts.c:
3831 * gio/gunixmounts.h:
3833 * gio/inotify/inotify-helper.c:
3834 Fix gtk-doc warnings
3836 Patch from Ross Burton
3838 2007-11-06 Alexander Larsson <alexl@redhat.com>
3840 * gio/gfilenamecompleter.c:
3841 (g_filename_completer_get_completions):
3844 * gio/gunixvolume.c:
3845 Remove unused function
3847 Patches from Ross Burton
3849 2007-11-06 Alexander Larsson <alexl@redhat.com>
3854 Padding not needed for interfaces
3856 2007-11-06 Alexander Larsson <alexl@redhat.com>
3858 * gio/gfilemonitor.c:
3862 Make giotypes.h an internal file
3865 * gio/gbufferedinputstream.h:
3866 * gio/gbufferedoutputstream.h:
3867 * gio/gcancellable.h:
3868 * gio/gdatainputstream.h:
3869 * gio/gdataoutputstream.h:
3870 * gio/gdirectorymonitor.c:
3871 * gio/gdirectorymonitor.h:
3876 * gio/gfileattribute.h:
3877 * gio/gfileenumerator.h:
3882 * gio/gfilemonitor.c:
3883 * gio/gfilemonitor.h:
3884 * gio/gfilenamecompleter.c:
3885 * gio/gfilenamecompleter.h:
3886 * gio/gfilterinputstream.h:
3887 * gio/gfilteroutputstream.h:
3888 * gio/ginputstream.h:
3889 * gio/gmemoryinputstream.h:
3890 * gio/gmemoryoutputstream.h:
3891 * gio/gmountoperation.c:
3892 * gio/gmountoperation.h:
3893 * gio/gnativevolumemonitor.c:
3894 * gio/goutputstream.h:
3897 * gio/gsimpleasyncresult.c:
3898 * gio/gsimpleasyncresult.h:
3899 * gio/gsocketinputstream.h:
3900 * gio/gsocketoutputstream.h:
3901 * gio/gthemedicon.c:
3902 * gio/gthemedicon.h:
3906 * gio/gvolumemonitor.c:
3907 * gio/gvolumemonitor.h:
3908 Add padding in classes where it seems useful
3909 Don't include giotypes.h from public headers
3910 Move in Class definitions into c file where possible
3915 2007-11-06 Alexander Larsson <alexl@redhat.com>
3917 * docs/reference/gio/gio-docs.xml:
3918 Better structure for API docs
3920 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3923 * gio/gloadableicon.c:
3924 * gio/gsimpleasyncresult.c:
3925 * gio/gthemedicon.c:
3926 Add some more guards to public functions. Only files missing are now
3929 2007-11-06 Alexander Larsson <alexl@redhat.com>
3931 * docs/reference/gio/gio-docs.xml:
3932 Remove old files, add missing ones
3934 2007-11-06 Alexander Larsson <alexl@redhat.com>
3936 * docs/reference/gio/gio-sections.txt:
3939 Hide implementation classes
3941 * gio/gdriveprivate.h:
3942 * gio/gvolumeprivate.h:
3943 Remove non-existing function declarations
3945 2007-11-06 Sebastian Dröge <slomo@circular-chaos.org>
3948 Fix compilation warnings and add guards to the new functions.
3950 * gio/gasyncresult.c:
3952 Add guards to the public functions.
3955 Implement get_path().
3957 2007-11-06 Alexander Larsson <alexl@redhat.com>
3959 * gio/gfilenamecompleter.c:
3960 Make g_filename_completer_get_completions
3961 return char ** instead of GList for
3964 * docs/reference/gio/gio-docs.xml:
3965 * docs/reference/gio/gio-sections.txt:
3967 * gio/gasyncresult.c:
3968 * gio/gbufferedinputstream.c:
3969 * gio/gbufferedoutputstream.c:
3970 * gio/gcancellable.c:
3971 * gio/gcontenttype.c:
3972 * gio/gdatainputstream.c:
3973 * gio/gdataoutputstream.c:
3974 * gio/gdesktopappinfo.c:
3975 * gio/gdirectorymonitor.c:
3979 * gio/gfileattribute.c:
3980 * gio/gfileenumerator.c:
3983 * gio/gfileinputstream.c:
3984 * gio/gfilemonitor.c:
3985 * gio/gfilenamecompleter.c:
3986 * gio/gfilenamecompleter.h:
3987 * gio/gfileoutputstream.c:
3988 * gio/gfilterinputstream.c:
3990 * gio/ginputstream.c:
3992 * gio/gioscheduler.c:
3993 * gio/gloadableicon.c:
3994 * gio/glocaldirectorymonitor.c:
3996 * gio/glocalfileinputstream.c:
3997 * gio/glocalfilemonitor.c:
3998 * gio/glocalfileoutputstream.c:
4000 * gio/gmemoryinputstream.c:
4001 * gio/gmemoryoutputstream.c:
4002 * gio/gmountoperation.c:
4003 * gio/goutputstream.c:
4004 * gio/gpollfilemonitor.c:
4006 * gio/gsimpleasyncresult.c:
4007 * gio/gsocketinputstream.c:
4008 * gio/gsocketoutputstream.c:
4009 * gio/gthemedicon.c:
4010 * gio/gunionvolumemonitor.c:
4012 * gio/gunixmounts.c:
4013 * gio/gunixvolume.c:
4014 * gio/gunixvolumemonitor.c:
4018 * gio/gvolumemonitor.c:
4019 * gio/gwin32appinfo.c:
4020 Add (mostly stub) doc strings to public functions.
4021 Patch from Andrew Walton (awalton@gmail.com)
4023 2007-11-06 Alexander Larsson <alexl@redhat.com>
4025 * gio/gappinfo.[ch]:
4026 Added GAppLaunchContext object and pass that to launch.
4027 This allows simple implementation of both
4028 launch-on-screen and startup notification via a gtk+
4029 subclass of GAppLaunchContext
4031 * gio/gdesktopappinfo.c:
4032 Implement GAppLaunchContext API
4034 * gio/gwin32appinfo.c:
4037 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4039 * gio/gmountoperation.c:
4040 Add some guards to GMountOperation's public functions.
4042 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4046 * gio/gcancellable.c:
4047 * gio/gdirectorymonitor.c:
4049 * gio/gfileenumerator.c:
4050 * gio/gfilemonitor.c:,
4051 * gio/gfilenamecompleter.c:
4054 * gio/gioscheduler.c:
4058 * gio/gvolumemonitor.c:
4059 Add even more guards to various public functions.
4061 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4064 Add guards to the public functions of GAppInfo.
4066 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4068 * gio/gcontenttype.c:
4069 Add some more guards for public functions.
4071 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4073 * gio/fam/fam-module.c:
4074 * gio/fam/gfamdirectorymonitor.c:
4075 * gio/fam/gfamdirectorymonitor.h:
4076 * gio/fam/gfamfilemonitor.c:
4077 * gio/fam/gfamfilemonitor.h:
4078 * gio/inotify/ginotifydirectorymonitor.c:
4079 * gio/inotify/ginotifydirectorymonitor.h:
4080 * gio/inotify/ginotifyfilemonitor.c:
4081 * gio/inotify/ginotifyfilemonitor.h:
4082 Add proper copyright information and remove an unused variable
4083 in the GInotifyFileMonitor constructor.
4085 * gio/gcancellable.c:
4086 Add a guard for a public function and an assertion to prevent
4087 an undefined program state.
4089 2007-11-05 Sebastian Dröge <slomo@circular-chaos.org>
4091 * gio/gfileattribute.c:
4092 Don't run into an assertion if the given attribute value is NULL
4093 in g_file_attribute_value_get_*() but instead return a fallback
4094 value that makes sense in most situations. Passing them a attribute
4095 value with the wrong type will still run into an assertion.
4097 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4099 * gio/gfileattribute.c:
4101 Add even more guards to the public functions. Also fix the refcounting
4102 of GFileAttributeInfoList and GFileAttributeMatcher to be atomic and
4103 let g_file_info_list_attributes() filter the attributes by namespace
4104 instead of simply ignoring the namespace parameter.
4106 2007-11-03 Sven Herzberg <sven@imendio.com>
4108 * gio/gdesktopappinfo.c: don't use environ. Use the glib API for that.
4109 (This makes gio work on MacOS X again)
4111 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4114 Build the gio subdirectory before the docs. Otherwise the build will
4117 * gio/gvfs.c: (g_vfs_get_name), (g_vfs_get_priority),
4118 (g_vfs_get_file_for_path), (g_vfs_get_file_for_uri),
4119 (g_vfs_get_supported_uri_schemes), (g_vfs_parse_name):
4120 Add guards to the public functions.
4122 2007-11-02 Sebastian Dröge <slomo@circular-chaos.org>
4124 * gio/gfileattribute.c: (g_file_attribute_value_as_string):
4125 Cast parameter to g_type_name_from_instance() to a GTypeInstance *
4126 to prevent a compiler warning.
4128 * gio/glocalfile.c: (get_mount_info), (find_topdir_for):
4129 Set the G_FILE_ATTRIBUTE_FS_READONLY as boolean, not as string and
4130 return something in the non-void function find_topdir_for().
4132 2007-11-01 Christian Kellner <gicmo@gnome.org>, Ryan Lortie <desrt@desrt.ca>
4139 2007-11-01 Ryan Lortie <desrt@desrt.ca>
4141 * gappinfo.c (g_app_info_launch, g_app_info_launch_uris):
4142 * gappinfo.h (g_app_info_launch, g_app_info_launch_uris):
4143 * gwin32appinfo.c (g_win32_app_info_launch):
4144 * gdesktopappinfo.c (expand_macro, equal_up_to_equals,
4145 envp_for_startup_id, g_desktop_app_info_launch,
4146 g_desktop_app_info_launch_uris):
4148 Give an opaque 'startup_id' string instead of 'envp'.
4149 Support empty file lists for launching new windows.
4150 Fix infinite recursion bug when launching URIs.
4152 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4155 Add guard to the new g_file_get_uri_scheme() function.
4157 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4160 Convert a g_return_val_if_fail() to setting the GError instead as
4161 otherwise applications have to verify the parameter before otherwise
4162 and the parameter might come directly from the user.
4164 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4166 * gio/inotify/ginotify*.[ch]:
4167 Add missing copyright information.
4169 2007-11-01 Sebastian Dröge <slomo@circular-chaos.org>
4172 Add guards in the beginning of public functions to check for valid
4173 parameters and fix a bug in copy_stream_with_progress() that could've
4174 caused writing less bytes than reading.
4175 * gio/glocalfileinfo.c:
4176 Check for a NULL parameter and set the GError accordingly then.
4177 * gio/goutputstream.c:
4178 Fix the same bug as in gfile.c that could've caused writing less bytes
4179 than reading in g_output_stream_real_splice().
4181 2007-11-01 Sebastien Bacher <seb128@ubuntu.com>
4184 Use the correct gvolumeprivate.h naming
4186 2007-11-01 Christian Kellner <gicmo@gnome.org>
4189 Remove leftover "$(daemon_sources)" entry.
4191 2007-11-01 Christian Kellner <gicmo@gnome.org>
4196 Add copyright information to source files.
4198 2007-11-01 Alexander Larsson <alexl@redhat.com>
4202 Add g_file_get_uri_scheme
4204 2007-11-01 Alexander Larsson <alexl@redhat.com>
4207 * gio/gdesktopappinfo.c:
4208 * gio/gwin32appinfo.c:
4209 Add g_app_info_get_default_for_uri_scheme.
4211 2007-11-01 Alexander Larsson <alexl@redhat.com>
4214 Correct filename for gdriveprivate.h
4216 2007-10-31 Alexander Larsson <alexl@redhat.com>
4219 Rename id:value to id:file
4222 * gio/glocalfileinfo.c:
4225 2007-10-31 Alexander Larsson <alexl@redhat.com>
4227 * gio/gunixvolume.c:
4229 Remove g_volume_get_platform_id, as thats not
4230 needed with the simpler union volume monitor
4232 2007-10-31 Alexander Larsson <alexl@redhat.com>
4235 * gio/guniondrive.[ch]: Removed.
4236 * gio/gunionvolume.[ch]: Removed.
4237 Remove GUnionDrive/Volume
4239 * gio/gunionvolumemonitor.c:
4240 Simplify union volume monitor, now we
4241 only have one native volume monitor and
4242 we use the actual volumes/drives from the
4243 child monitors instead of wrapping them
4245 * gio/gnativevolumemonitor.[ch]:
4246 Base class for native volume monitors.
4247 Includes priority and get_volume_for_mountpoint
4250 Add g_file_find_enclosing_volume
4253 Remove volume name fs attribute
4254 Add readonly fs attribute
4257 Implement readonly attribute
4258 remove volume name attribute
4259 Implement find_enclosing volume
4261 * gio/gunixmounts.c:
4262 Add a volume for "/".
4264 * gio/gunixvolume.[ch]:
4265 Set better name for /
4267 * gio/gunixvolumemonitor.[ch]:
4268 Derive from GNativeVolumeMonitor
4269 Implement get_volume_for_mountpoint
4272 GVolume typedef moved to gfile.h
4274 * gio/gvolumeprivate.h:
4275 Add g_volume_get_for_mount_path
4277 2007-10-31 Alexander Larsson <alexl@redhat.com>
4279 * gio/gunixmounts.[ch]:
4280 Add cache info to unix mount listers
4281 Make getmntent use threadsafe
4282 Add is_system_internal attribute for GUnixMount
4284 * gio/gunixvolume.c:
4285 (g_unix_volume_new):
4286 Use is_system_internal instead of own code
4288 * gio/glocaldirectorymonitor.c:
4289 * gio/gunixvolumemonitor.c:
4290 Update to new gunixmounts API
4295 2007-10-30 Alexander Larsson <alexl@redhat.com>
4298 Add volume name fsinfo attribute
4301 Read volume name info
4303 * gio/gunionvolumemonitor.c:
4304 Fix infinite loops when finalizing a union volume monitor
4306 2007-10-30 Alexander Larsson <alexl@redhat.com>
4308 * gio/goutputstream.[ch]:
4309 Add splice() with default implementation
4311 * gio/gsocketoutputstream.c:
4312 (g_socket_output_stream_write):
4313 Return error on cancellation correctly.
4315 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4317 * gio/glocalfile.c (g_local_file_trash):
4318 Do not leak a string.
4320 2007-10-26 Paolo Borelli <pborelli@katamail.com>
4322 * gio/gfile.c (g_file_load_contents):
4323 Unref the stream after closing it.
4325 2007-10-25 Alexander Larsson <alexl@redhat.com>
4327 * gio/gioscheduler.h:
4330 2007-10-25 Alexander Larsson <alexl@redhat.com>
4334 Add g_file_has_uri_scheme and implement for local files
4336 2007-10-25 Paolo Borelli <pborelli@katamail.com>
4338 * gio/gdesktopappinfo.c: do not leak a string.
4340 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4342 * gio/glocaldirectorymonitor.c: (_compare_monitor_class_by_prio),
4343 (g_local_directory_monitor_new):
4344 * gio/glocalfilemonitor.c: (_compare_monitor_class_by_prio),
4345 (g_local_file_monitor_new):
4346 Only look for the monitor type that should be used the first time
4347 and use g_qsort_with_data() instead of our own bubble sort
4350 2007-10-24 Sebastian Dröge <slomo@circular-chaos.org>
4353 * gio/fam/Makefile.am:
4354 * gio/fam/fam-helper.c: (_fam_sub_startup), (_fam_sub_add):
4355 * gio/fam/fam-helper.h:
4356 * gio/fam/fam-module.c: (g_io_module_load), (g_io_module_unload):
4357 * gio/fam/gfamdirectorymonitor.c:
4358 * gio/fam/gfamdirectorymonitor.h:
4359 * gio/fam/gfamfilemonitor.c: (g_fam_file_monitor_finalize),
4360 * gio/fam/gfamfilemonitor.h:
4361 * gio/glocaldirectorymonitor.c:
4362 * gio/glocaldirectorymonitor.h:
4363 * gio/glocalfilemonitor.c: (g_local_file_monitor_init),
4364 * gio/glocalfilemonitor.h:
4365 * gio/inotify/Makefile.am:
4366 * gio/inotify/ginotifydirectorymonitor.c:
4367 * gio/inotify/ginotifydirectorymonitor.h:
4368 * gio/inotify/ginotifyfilemonitor.c:
4369 * gio/inotify/ginotifyfilemonitor.h:
4370 Implement the FAM and Inotify monitors as
4371 GLocal(Directory|File)Monitor subclasses and put the FAM monitors into
4372 their own GIO module. GLocal(Directory|File)Monitor will use the
4373 monitor with the highest rank that is supported on that machine.
4375 2007-10-23 Sebastian Dröge <slomo@circular-chaos.org>
4378 Change GIO module dir to $(libdir)/gio/modules and change
4379 the log domain from GVFS to GIO. Also only export symbols starting
4380 with g_ in the resulting library.
4381 * gio/test-streams.c: (main):
4382 Set log handler for the GIO log domain.
4384 2007-10-22 Alexander Larsson <alexl@redhat.com>
4386 * gio/gfilenamecompleter.[ch]:
4387 Add g_filename_completer_set_dirs_only
4389 2007-10-22 Alexander Larsson <alexl@redhat.com>
4392 * gio/gurifuncs.[ch]:
4393 Add some simple URI helpers
4395 * gio/gfilenamecompleter.[ch]:
4396 Added object for filename (parse name actually) completion
4399 Handle ~ in parse names
4401 2007-10-17 Alexander Larsson <alexl@redhat.com>
4404 * gio/glocalfileinfo.c:
4405 Add and implement id:value attribute
4407 2007-10-17 Alexander Larsson <alexl@redhat.com>
4410 * gio/guniondrive.c:
4412 Add and implement g_drive_has_volumes
4414 2007-10-17 Alexander Larsson <alexl@redhat.com>
4417 * gio/glocalfileinfo.[ch]:
4418 Add unix:is_mountpoint and implement for local files
4420 2007-10-16 Alexander Larsson <alexl@redhat.com>
4422 * gio/gunionvolumemonitor.c:
4423 (g_union_volume_monitor_init):
4424 Fix up the unix type getting so that it works with gcc
4426 2007-10-12 Alexander Larsson <alexl@redhat.com>
4429 * gio/glocalfileinfo.c:
4430 Add thumbnail:failed to file info
4432 2007-10-12 Richard Hult <richard@imendio.com>
4434 * gio/gvfs.c (get_default_vfs): Make the type volatile to avoid
4435 optimizing away the get_type call (happens with some gcc versions,
4436 like the one shipped with OS X 10.4).
4438 2007-10-12 Alexander Larsson <alexl@redhat.com>
4440 * gio/glocalfileinfo.c:
4441 (_g_local_file_info_set_attribute):
4442 Fix build if not HAVE_XATTR
4443 Patch from Milosz Derezynski <internalerror@gmail.com>
4445 2007-10-11 Sven Herzberg <herzi@gnome-de.org>
4447 * gio/gunixmounts.c: small build fix (sorry, Alex, you haven't been
4448 around for review, otherwise I would have asked you before
4451 2007-10-11 Alexander Larsson <alexl@redhat.com>
4454 Add thumbnail:path attribute
4456 * gio/glocalfileinfo.c:
4457 Implement thumbnail:path for local files
4459 2007-10-11 Alexander Larsson <alexl@redhat.com>
4461 * gio/glocalfileinfo.c:
4462 (_g_local_file_info_get):
4463 Avoid duplicate icon names
4465 2007-10-11 Alexander Larsson <alexl@redhat.com>
4467 * gio/gthemedicon.[ch]:
4468 Change g_themed_icon_get_names return type to const
4470 2007-10-10 Alexander Larsson <alexl@redhat.com>
4472 * gio/glocalfileinfo.c:
4473 Don't reference freed memory
4475 2007-10-10 Alexander Larsson <alexl@redhat.com>
4477 * gio/gfileattribute.c:
4480 * gio/glocalfileinfo.c:
4483 2007-10-10 Alexander Larsson <alexl@redhat.com>
4486 Check for NULL icons
4488 * gio/gfileattribute.c:
4489 Don't dup when getting objects (same as for string attributes)
4491 * gio/gicon.c (g_icon_equal):
4492 Safely handle NULLs in equal
4494 2007-10-10 Alexander Larsson <alexl@redhat.com>
4497 Fix c++ compilation issues
4498 Patch from Milosz Derezynski <internalerror@gmail.com>
4500 2007-10-10 Alexander Larsson <alexl@redhat.com>
4502 * programs/gio-monitor-dir.c:
4503 Don't crash if dir monitor not supported.
4505 2007-10-09 Alexander Larsson <alexl@redhat.com>
4508 Add missing G_END_DECLS
4510 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4512 * gio/gfile.c: (g_file_set_display_name),
4513 (g_file_query_settable_attributes),
4514 (g_file_query_writable_namespaces):
4515 Return NULL not FALSE on errors as the return type is a pointer.
4517 2007-10-09 Sebastian Dröge <slomo@circular-chaos.org>
4519 * gio/glocalfile.c: (g_local_file_monitor_file):
4520 Don't call monitor_file on the default interface vtable (which
4521 is NULL) but simply return NULL. The caller, GFile, will create a
4522 polling monitor if NULL is returned.
4524 2007-10-09 Alexander Larsson <alexl@redhat.com>
4528 * gio-unix-2.0.pc.in:
4529 Add gio-unix-2.0.pc if OS_UNIX
4532 Install gunixmounts.h into gio-unix-2.0 if OS_UNIX
4534 2007-10-09 Alexander Larsson <alexl@redhat.com>
4536 * gio/gunixmounts.[ch]:
4537 Make unix mount monitoring API sane.
4538 Now its just a object with mounts_changed
4539 and mountpoints_changed signals.
4541 * gio/glocaldirectorymonitor.c:
4542 * gio/gunixvolumemonitor.c:
4543 Use new mount monitor api
4545 2007-10-09 Alexander Larsson <alexl@redhat.com>
4547 * gio/gunixmounts.[ch]:
4548 Move guess type into one call for mounts and one for mountpoints
4551 * gio/gunixvolume.c:
4554 2007-10-09 Alexander Larsson <alexl@redhat.com>
4556 * gio/gunixmounts.[ch]:
4557 Remove _ prefix in preparation to make this semi-public
4558 Hide implementation of structs
4560 * gio/glocaldirectorymonitor.c:
4562 * gio/gunixvolume.c:
4563 * gio/gunixvolumemonitor.c:
4564 Update for above API changes
4566 2007-10-08 Alexander Larsson <alexl@redhat.com>
4569 Better polling fallback. This also handles the case where we have
4570 a monitor_file implementation, but it fails.
4572 2007-10-08 Alexander Larsson <alexl@redhat.com>
4576 * gio/gunixmounts.c:
4577 * programs/gio-monitor-dir.c:
4578 * programs/gio-monitor-file.c:
4579 Added cancellable to file monitoring calls.
4580 These are really sync calls and need this.
4582 2007-10-08 Sebastian Dröge <slomo@circular-chaos.org>
4584 * gio/glocalvfs.c: (g_local_vfs_get_supported_uri_schemes),
4585 (g_local_vfs_class_init):
4586 * gio/gvfs.c: (g_vfs_get_supported_uri_schemes):
4587 * gio/gvfs.h: Add functions to get a list of supported URI schemes.
4589 2007-10-05 Alexander Larsson <alexl@redhat.com>
4591 * gio/gdirectorymonitorprivate.h:
4592 * gio/gfilemonitorprivate.h:
4593 * gio/gdirectorymonitor.h:
4594 * gio/gfilemonitor.h:
4595 Remove *private.h and move to the public API, so that
4596 we can do implementations outside gio (such as in gvfs)
4598 * gio/gdirectorymonitor.c:
4599 * gio/gfilemonitor.c:
4600 * gio/glocaldirectorymonitor.c:
4601 * gio/gpollfilemonitor.c:
4602 * gio/inotify/inotify-helper.c:
4603 * gio/fam/fam-helper.c:
4604 Update to the new header names
4606 2007-10-05 Sebastian Dröge <slomo@circular-chaos.org>
4608 * gio/gdirectorymonitor.c:
4609 * gio/gfilemonitor.c: Mark the GFileMonitor and GDirectoryMonitor
4612 2007-10-04 Alexander Larsson <alexl@redhat.com>
4614 * gio/glocalfileinfo.c (get_access_rights):
4615 Set CAN_TRASH when we can move the file.
4616 We should really also check for a parent trash dir.
4618 2007-10-04 Alexander Larsson <alexl@redhat.com>
4620 * gio/gfileinfo.h (G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH):
4621 Add can_trash access attribute
4623 2007-10-04 Alexander Larsson <alexl@redhat.com>
4626 (g_local_file_trash):
4627 Create info file first. This is per-spec and allows
4628 us to actually trash directories.
4630 2007-10-02 Alexander Larsson <alexl@redhat.com>
4632 * gio/gdesktopappinfo.c:
4633 Implement the new mime support code.
4634 Always set app as handling mimetype when being set as default for it
4636 2007-10-01 Alexander Larsson <alexl@redhat.com>
4638 * gio/glocalfileinfo.c (_g_local_file_info_set_attribute):
4639 Fix up check for xattrs:
4641 2007-10-01 Alexander Larsson <alexl@redhat.com>
4644 (g_app_info_set_as_default_for_extension):
4645 (g_app_info_add_supports_type):
4646 (g_app_info_can_remove_supports_type):
4647 (g_app_info_remove_supports_type):
4648 Make these fail nicely if not implemented
4650 2007-10-01 Paolo Borelli <pborelli@katamail.com>
4652 * gio/glocalfileoutputstream.c:
4653 * gio/glocalfileoutputstream.h:
4658 * programs/gio-save.c:
4659 Add a GFileCreateFlags argument to operations that can create
4662 2007-10-01 Alexander Larsson <alexl@redhat.com>
4664 * gio/gappinfo.[ch]:
4665 * gio/gdesktopappinfo.c:
4666 Add more (stubbed out) mime API needed for nautilus
4668 2007-10-01 Alexander Larsson <alexl@redhat.com>
4671 Add GAppInfoCreateFlags flag to g_app_info_create_from_commandline.
4672 Add g_app_info_set_as_default_for_extension.
4674 * gio/gdesktopappinfo.c:
4675 Dummy for g_app_info_set_as_default_for_extension
4676 Support flags in g_app_info_create_from_commandline
4678 * gio/gwin32appinfo.c:
4680 Update for API changes
4682 * gio/gthemedicon.c:
4683 Properly NULL-terminate list of icon names
4685 2007-09-28 Alexander Larsson <alexl@redhat.com>
4687 * gio/gloadableicon.h:
4688 Correct G_TYPE_LOADABLE_ICON, it was pointing to the GIcon type...
4690 2007-09-28 Alexander Larsson <alexl@redhat.com>
4693 Install headers in $includedir/gio-standalone/
4695 * gio-2.0.pc.in: Added.
4696 * gio-standalone.pc.in: Removed.
4699 Renamed pkg-config file to match glib (for future move)
4700 Update to the new include dir
4703 Add more TODO comments
4705 2007-09-28 Alexander Larsson <alexl@redhat.com>
4707 * gio/gdesktopappinfo.[ch]:
4708 Expose new_from_filename
4709 Add getter for is_hidden and handle it better
4711 2007-09-28 Alexander Larsson <alexl@redhat.com>
4713 * gio/gfileinfo.[ch]:
4714 Rename g_file_size_format_for_display to
4715 g_format_file_size_for_display.
4716 Now it doesn't have the g_file prefix, so we
4717 can later move it to glib.
4719 2007-09-28 Alexander Larsson <alexl@redhat.com>
4721 * gio/gappinfo.[ch]:
4722 Add g_app_info_get_id and g_app_info_get_executable.
4723 Make all getters non-reffing
4724 Make g_app_info_launch take GFile arguments.
4725 Add must_support_uris argument to g_app_info_get_default_for_type.
4727 * gio/gwin32appinfo.c:
4728 Update to GAppInfo api changes
4730 * gio/gdesktopappinfo.c:
4731 Update to GAppInfo api changes
4732 Implement supports_xdg_startup_notify
4734 * gio/gfileicon.c (g_file_icon_get_file):
4735 Make getter non-reffing.
4740 2007-09-27 Alexander Larsson <alexl@redhat.com>
4742 * gio/gfileinfo.[ch]:
4743 Add g_file_size_format_for_display helper
4745 2007-09-27 Alexander Larsson <alexl@redhat.com>
4747 * gio/glocalfileinfo.c:
4748 Set UNIX_GID from gid, not from uid
4750 2007-09-27 Alexander Larsson <alexl@redhat.com>
4753 Add g_file_set_attributes_async
4755 2007-09-27 Alexander Larsson <alexl@redhat.com>
4757 * gio/glocalfile.c (g_local_file_set_display_name):
4758 Fix set_display_name to actually rename to the right place.
4759 Use lstat to look for existing files so we don't overwrite
4762 2007-09-26 Alexander Larsson <alexl@redhat.com>
4765 Add g_file_set_display_name_async()
4767 2007-09-26 Alexander Larsson <alexl@redhat.com>
4770 Add load_partial_contents async calls
4773 Make internal function static
4775 2007-09-26 Alexander Larsson <alexl@redhat.com>
4777 * gio/glocalfileinfo.c:
4778 Correctly detect broken symlinks
4780 2007-09-26 Alexander Larsson <alexl@redhat.com>
4782 * gio/gcancellable.c (g_cancellable_cancel):
4783 Allow cancel on NULL cancellable
4785 2007-09-25 Alexander Larsson <alexl@redhat.com>
4787 * gio/gsimpleasyncresult.c:
4788 Don't allocate g_error manually.
4789 Fixes g_slice/g_new mixup crash
4791 2007-09-25 Alexander Larsson <alexl@redhat.com>
4793 * gio/glocaldirectorymonitor.c (g_local_directory_monitor_new):
4794 Actually set active_backend.
4795 This means the monitor will be cancelled correctly.
4797 2007-09-25 Alexander Larsson <alexl@redhat.com>
4799 * gio/gdirectorymonitor.c:
4800 Set timeout to NULL when destroying
4802 2007-09-25 Alexander Larsson <alexl@redhat.com>
4805 Rename G_IO_ERROR_NOT_MOUNTABLE to G_IO_ERROR_NOT_MOUNTABLE_FILE as
4806 that is a better description of the error.
4808 2007-09-25 Sebastian Dröge <slomo@circular-chaos.org>
4810 * gio/gvfs.c: (g_vfs_get_local):
4811 Make the local vfs variable static. The same instance should
4814 2007-09-24 Alexander Larsson <alexl@redhat.com>
4816 * gio/glocalfileinfo.c:
4817 Pass in actual length read into sniffer, not the length
4820 2007-09-21 Alexander Larsson <alexl@redhat.com>
4822 * gio/gfileenumerator.c:
4825 * gio/gfileinputstream.c:
4826 * gio/gfileoutputstream.c:
4827 * gio/ginputstream.c:
4828 * gio/goutputstream.c:
4829 Don't crash if async callbacks are NULL
4831 2007-09-20 Alexander Larsson <alexl@redhat.com>
4834 Add async enumerate_children method and default
4837 2007-09-20 Alexander Larsson <alexl@redhat.com>
4840 Add g_file_contains_file & g_file_get_relative_path, since they
4841 were needed for nautilus.
4842 Renamed g_file_resolve_relative to g_file_resolve_relative_path
4847 Implement new methods
4849 2007-09-17 Alexander Larsson <alexl@redhat.com>
4852 * gio/gfileinputstream.[ch]:
4853 * gio/gfileoutputstream.[ch]:
4855 * gio/glocalfileenumerator.[ch]:
4856 * gio/glocalfileinfo.[ch]:
4857 * gio/glocalfileinputstream.c:
4858 * gio/glocalfileoutputstream.c:
4859 * gio/gpollfilemonitor.c:
4860 * programs/gio-copy.c:
4861 * programs/gio-info.c:
4862 * programs/gio-move.c:
4863 Rename get_file_info to query_info() to make it clearer
4864 that these are not simple getters, but do i/o.
4866 2007-09-17 Alexander Larsson <alexl@redhat.com>
4868 * gio/gdatainputstream.[ch]:
4869 * gio/test-streams.c:
4870 Use _read_XXX instead of _get_XXX for the i/o calls
4873 2007-09-17 Alexander Larsson <alexl@redhat.com>
4876 Added needed stuff to TODO comment
4878 2007-09-17 Alexander Larsson <alexl@redhat.com>
4880 * gio/glocalfileoutputstream.c (g_local_file_output_stream_close):
4881 Don't error out removing the backup copy if it doesn't
4884 2007-09-14 Alexander Larsson <alexl@redhat.com>
4886 * programs/Makefile.am:
4887 * programs/gvfs-*.c:
4889 Renamed apps from gvfs-xxx to gio-xxx.
4891 2007-09-14 Alexander Larsson <alexl@redhat.com>
4894 * gio/gfileoutputstream.[ch]:
4895 * gio/glocalfileoutputstream.c:
4896 * programs/gvfs-save.c:
4897 g_file_output_stream_get_etag doesn't do i/o, so remove
4898 cancellation and error.
4900 2007-09-14 Alexander Larsson <alexl@redhat.com>
4903 Add new_etag output to replace_contents functions
4905 2007-09-14 Alexander Larsson <alexl@redhat.com>
4907 * gio/gfileoutputstream.[ch]:
4908 Add async get_file_info and default implementation
4910 2007-09-14 Alexander Larsson <alexl@redhat.com>
4912 * gio/gfileinputstream.c:
4913 Implement fallback wrapper for async get_file_info
4915 2007-09-14 Alexander Larsson <alexl@redhat.com>
4918 Add etag out argument to load_contents
4923 2007-09-14 Alexander Larsson <alexl@redhat.com>
4925 * gio/gcontenttype.c (looks_like_text):
4926 Whitespace like tab, cr and lf do not make the
4929 2007-09-14 Alexander Larsson <alexl@redhat.com>
4931 * gio/gfileinputstream.[ch]:
4932 Add async get_file_info.
4934 2007-09-13 Alexander Larsson <alexl@redhat.com>
4936 * gio/goutputstream.c (g_output_stream_write_all):
4937 Allow NULL for bytes_written
4939 2007-09-13 Alexander Larsson <alexl@redhat.com>
4941 * gio/gmemoryinputstream.[ch]:
4942 Add accessors for data
4944 2007-09-13 Alexander Larsson <alexl@redhat.com>
4946 * gio/gdatainputstream.c (g_data_input_stream_get_until):
4947 Don't crash if length is NULL